@vcmap/ui 5.1.4 → 5.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/config/base.config.json +0 -2
  2. package/config/dev.config.json +4 -0
  3. package/config/www.config.json +0 -2
  4. package/dist/assets/cesium.js +1 -1
  5. package/dist/assets/{core.8b769f.js → core.a3bdf3.js} +556 -527
  6. package/dist/assets/core.js +1 -1
  7. package/dist/assets/index-dccddacb.js +1 -0
  8. package/dist/assets/ol.js +1 -1
  9. package/dist/assets/{ui.576b59.css → ui.f5e8c3.css} +2 -2
  10. package/dist/assets/{ui.576b59.js → ui.f5e8c3.js} +3783 -3647
  11. package/dist/assets/ui.js +1 -1
  12. package/dist/assets/vue.js +2 -2
  13. package/dist/assets/{vuetify.515b3c.js → vuetify.4aa1eb.js} +1 -1
  14. package/dist/assets/vuetify.js +2 -2
  15. package/dist/index.html +6 -2
  16. package/index.d.ts +1 -1
  17. package/index.html +5 -1
  18. package/index.js +1 -0
  19. package/package.json +2 -2
  20. package/src/actions/listActions.d.ts +57 -2
  21. package/src/actions/listActions.js +111 -1
  22. package/src/application/VcsApp.vue +20 -4
  23. package/src/application/VcsApp.vue.d.ts +8 -2
  24. package/src/application/VcsNavbar.vue +1 -1
  25. package/src/application/VcsTextPageFooter.vue +47 -30
  26. package/src/application/VcsTextPageFooter.vue.d.ts +5 -3
  27. package/src/components/form-inputs-controls/VcsTextArea.vue +11 -3
  28. package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +2 -0
  29. package/src/components/viewpoint/VcsViewpointComponent.vue +27 -5
  30. package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +9 -0
  31. package/src/components/viewpoint/VcsViewpointEditor.vue +10 -1
  32. package/src/components/viewpoint/VcsViewpointEditor.vue.d.ts +11 -1
  33. package/src/contentTree/LayerTree.vue +22 -3
  34. package/src/i18n/de.d.ts +6 -1
  35. package/src/i18n/de.js +6 -1
  36. package/src/i18n/en.d.ts +6 -1
  37. package/src/i18n/en.js +6 -1
  38. package/src/siteConfig.d.ts +5 -0
  39. package/src/siteConfig.js +93 -0
  40. package/src/uiConfig.d.ts +16 -6
  41. package/src/uiConfig.js +5 -3
  42. package/src/vcsUiApp.d.ts +1 -0
  43. package/src/vcsUiApp.js +4 -0
  44. package/dist/assets/index-97b02a80.js +0 -1
  45. /package/dist/assets/{cesium.88a354.js → cesium.a6cb0f.js} +0 -0
  46. /package/dist/assets/{ol.98520e.js → ol.6a61cd.js} +0 -0
  47. /package/dist/assets/{vue.e13c02.js → vue.7cc217.js} +0 -0
  48. /package/dist/assets/{vuetify.515b3c.css → vuetify.4aa1eb.css} +0 -0
@@ -1,9 +1,9 @@
1
1
  var Au = Object.defineProperty;
2
2
  var Fu = (i, t, e) => t in i ? Au(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var h = (i, t, e) => (Fu(i, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { ol$proj$getTransform as Ae, ol$proj$get as Ru, ol$proj$equivalent as Gu, ol$proj$proj4$register as Uo, ol$geom$Circle as Ot, ol$geom$GeometryCollection as Tr, ol$style$Style as ee, ol$style$Fill as it, ol$style$Stroke as He, ol$style$Text as lo, ol$style$Icon as Si, ol$style$Circle as wi, ol$style$RegularShape as Nr, ol$has$DEVICE_PIXEL_RATIO as ku, ol$style$Image as Ch, ol$Feature as ae, ol$extent$containsCoordinate as Fa, ol$Map as zu, ol$interaction$defaults as Hu, ol$Observable$unByKey as re, ol$View as ho, ol$easing$inAndOut as ju, ol$extent$containsXY as xh, ol$extent$boundingExtent as ir, ol$layer$Vector as Oh, ol$extent$getBottomLeft as co, ol$geom$SimpleGeometry as Vu, ol$geom$Point as Nt, ol$geom$LineString as Ut, ol$geom$Polygon as Dt, ol$geom$MultiPoint as bh, ol$geom$MultiLineString as Eh, ol$geom$MultiPolygon as sr, ol$sphere$offset as ln, ol$geom$Polygon$fromCircle as Ph, ol$geom$Polygon$circular as $u, ol$colorlike$asColorLike as Bu, Feature as At, ol$ImageState as Xr, ol$extent$getBottomRight as Ih, ol$extent$getTopRight as Lh, ol$extent$getTopLeft as Yn, ol$proj$transform as Ri, ol$source$Vector as rr, ol$tilegrid$createXYZ as Th, ol$TileState as Nh, ol$proj$Projection as Uu, ol$tilegrid$TileGrid as Dh, ol$source$TileImage as qu, ol$layer$Tile as Cs, ol$extent$buffer as Ah, ol$extent$getCenter as nr, ol$geom$Polygon$fromExtent as Wu, ol$proj$transformExtent as qo, ol$sphere$getDistance as Xu, ol$format$GeoJSON as Fh, ol$extent$getWidth as Ra, ol$source$TileWMS as Yu, ol$source$ImageWMS as Zu, ol$format$GML2 as Ga, ol$format$WFS as ka, ol$format$GML3 as za, ol$extent$createEmpty as ps, ol$structs$LRUCache as Ku, ol$extent$createOrUpdateFromCoordinate as Ju, ol$render$canvas$Immediate as Qu, ol$geom$flat$transform$transform2D as ed, ol$extent$intersects as td, ol$geom$SimpleGeometry$transformGeom2D as id, ol$transform$scale as sd, ol$transform$create as rd, ol$transform$compose as nd, ol$extent$extend as ar, ol$source$OSM as ad, ol$layer$Image as Rh, ol$source$ImageStatic as od, ol$source$TileDebug as ld, ol$source$XYZ as hd, ol$source$VectorTile as cd, ol$layer$VectorTile as ud, ol$tilegrid$WMTS as dd, ol$source$WMTS as fd, ol$format$MVT as gd, ol$coordinate$equals as md, ol$interaction$DragPan as pd, ol$extent$isEmpty as Ha, ol$geom$LinearRing as yd } from "./ol.98520e.js";
5
- import { Math as N, Cartesian3 as _, Cartographic as ie, Cesium3DTileStyle as vn, Cesium3DTileColorBlendMode as hn, Color as q, TrustedServers as Xt, VerticalOrigin as gt, Cesium3DTileFeature as Ui, Cesium3DTilePointFeature as qi, Entity as Wi, Material as Ft, Cartesian2 as z, Matrix3 as X, Quaternion as Sn, Primitive as pt, GeometryInstance as ct, FrustumGeometry as _d, ColorGeometryInstanceAttribute as or, PerInstanceColorAppearance as ys, FrustumOutlineGeometry as vd, destroyObject as Sd, EasingFunction as wd, ConditionsExpression as Md, Expression as Cd, HeightReference as Le, ClassificationType as ds, NearFarScalar as Zs, SplitDirection as Me, SceneTransforms as xd, MaterialAppearance as wn, ShadowMode as Dr, ClassificationPrimitive as Gh, GroundPrimitive as Wo, PolylineMaterialAppearance as ja, GroundPolylinePrimitive as Xo, PolygonGeometry as Od, PolygonOutlineGeometry as bd, GroundPolylineGeometry as uo, PolylineGeometry as Gi, PolygonHierarchy as Va, CircleGeometry as Ed, CircleOutlineGeometry as Pd, HeadingPitchRoll as zi, Matrix4 as F, Transforms as Mi, Model as fo, sampleTerrainMostDetailed as Zn, ModelAnimationLoop as Id, CylinderOutlineGeometry as Ld, CylinderGeometry as kh, EllipsoidOutlineGeometry as Td, EllipsoidGeometry as zh, SphereOutlineGeometry as Nd, SphereGeometry as Dd, BoxOutlineGeometry as Ad, BoxGeometry as Hh, WallGeometry as Fd, WallOutlineGeometry as Rd, LabelStyle as ca, HorizontalOrigin as ua, CatmullRomSpline as jh, ArcType as Mn, PrimitiveCollection as Ci, BillboardCollection as Gd, LabelCollection as kd, Resource as zd, CesiumTerrainProvider as Yo, Cartesian4 as Zo, sampleTerrain as Hd, Ellipsoid as $a, Clock as jd, DataSourceClock as Vd, JulianDate as Vh, KeyboardEventModifier as da, ScreenSpaceEventType as fi, CesiumWidget as $d, DataSourceDisplay as Ko, DataSourceCollection as Jo, RequestScheduler as Bd, ScreenSpaceEventHandler as Ud, Ray as $h, Camera as Bh, ImageryLayer as Xi, CustomDataSource as Uh, BoundingSphere as qh, Intersect as qd, BillboardVisualizer as Wd, LabelVisualizer as Xd, PointVisualizer as Yd, WebMercatorTilingScheme as go, GeographicTilingScheme as Wh, Rectangle as yt, Cesium3DTileset as Cn, Composite3DTileContent as Zd, HeadingPitchRange as Kd, BoundingSphereState as Qo, OpenStreetMapImageryProvider as Jd, SingleTileImageryProvider as Qd, TileMapServiceImageryProvider as ef, Event as el, WebMapServiceImageryProvider as tf, WebMapTileServiceImageryProvider as sf, EntityCollection as rf, CzmlDataSource as nf, Plane as te, ClippingPlaneCollection as lr, ClippingPlane as hr, ConstantProperty as af, Globe as of, LinearSpline as lf, QuaternionSpline as hf, CoplanarPolygonGeometry as cf, IntersectionTests as uf } from "./cesium.88a354.js";
6
- const Yi = Symbol("isMatcher"), df = Symbol("Integer"), ff = Symbol("NonEmptyString"), mo = /* @__PURE__ */ new Map();
4
+ import { ol$proj$getTransform as Ae, ol$proj$get as Ru, ol$proj$equivalent as Gu, ol$proj$proj4$register as Uo, ol$geom$Circle as Ot, ol$geom$GeometryCollection as Tr, ol$style$Style as ee, ol$style$Fill as it, ol$style$Stroke as He, ol$style$Text as ho, ol$style$Icon as Si, ol$style$Circle as wi, ol$style$RegularShape as Nr, ol$has$DEVICE_PIXEL_RATIO as ku, ol$style$Image as Ch, ol$Feature as ae, ol$extent$containsCoordinate as Ra, ol$Map as zu, ol$interaction$defaults as Hu, ol$Observable$unByKey as re, ol$View as co, ol$easing$inAndOut as ju, ol$extent$containsXY as xh, ol$extent$boundingExtent as ir, ol$layer$Vector as Oh, ol$extent$getBottomLeft as uo, ol$geom$SimpleGeometry as Vu, ol$geom$Point as Nt, ol$geom$LineString as Ut, ol$geom$Polygon as Dt, ol$geom$MultiPoint as bh, ol$geom$MultiLineString as Eh, ol$geom$MultiPolygon as sr, ol$sphere$offset as ln, ol$geom$Polygon$fromCircle as Ph, ol$geom$Polygon$circular as $u, ol$colorlike$asColorLike as Bu, Feature as At, ol$ImageState as Xr, ol$extent$getBottomRight as Ih, ol$extent$getTopRight as Lh, ol$extent$getTopLeft as Yn, ol$proj$transform as Ri, ol$source$Vector as rr, ol$tilegrid$createXYZ as Th, ol$TileState as Nh, ol$proj$Projection as Uu, ol$tilegrid$TileGrid as Dh, ol$source$TileImage as qu, ol$layer$Tile as Cs, ol$extent$buffer as Ah, ol$extent$getCenter as nr, ol$geom$Polygon$fromExtent as Wu, ol$proj$transformExtent as qo, ol$sphere$getDistance as Xu, ol$format$GeoJSON as Fh, ol$extent$getWidth as Ga, ol$source$TileWMS as Yu, ol$source$ImageWMS as Zu, ol$format$GML2 as ka, ol$format$WFS as za, ol$format$GML3 as Ha, ol$extent$createEmpty as ps, ol$structs$LRUCache as Ku, ol$extent$createOrUpdateFromCoordinate as Ju, ol$render$canvas$Immediate as Qu, ol$geom$flat$transform$transform2D as ed, ol$extent$intersects as td, ol$geom$SimpleGeometry$transformGeom2D as id, ol$transform$scale as sd, ol$transform$create as rd, ol$transform$compose as nd, ol$extent$extend as ar, ol$source$OSM as ad, ol$layer$Image as Rh, ol$source$ImageStatic as od, ol$source$TileDebug as ld, ol$source$XYZ as hd, ol$source$VectorTile as cd, ol$layer$VectorTile as ud, ol$tilegrid$WMTS as dd, ol$source$WMTS as fd, ol$format$MVT as gd, ol$coordinate$equals as md, ol$interaction$DragPan as pd, ol$extent$isEmpty as ja, ol$geom$LinearRing as yd } from "./ol.6a61cd.js";
5
+ import { Math as N, Cartesian3 as _, Cartographic as ie, Cesium3DTileStyle as vn, Cesium3DTileColorBlendMode as hn, Color as q, TrustedServers as Xt, VerticalOrigin as gt, Cesium3DTileFeature as Ui, Cesium3DTilePointFeature as qi, Entity as Wi, Material as Ft, Cartesian2 as z, Matrix3 as X, Quaternion as Sn, Primitive as pt, GeometryInstance as ct, FrustumGeometry as _d, ColorGeometryInstanceAttribute as or, PerInstanceColorAppearance as ys, FrustumOutlineGeometry as vd, destroyObject as Sd, EasingFunction as wd, ConditionsExpression as Md, Expression as Cd, HeightReference as Le, ClassificationType as ds, NearFarScalar as Zs, SplitDirection as Me, SceneTransforms as xd, MaterialAppearance as wn, ShadowMode as Dr, ClassificationPrimitive as Gh, GroundPrimitive as Wo, PolylineMaterialAppearance as Va, GroundPolylinePrimitive as Xo, PolygonGeometry as Od, PolygonOutlineGeometry as bd, GroundPolylineGeometry as fo, PolylineGeometry as Gi, PolygonHierarchy as $a, CircleGeometry as Ed, CircleOutlineGeometry as Pd, HeadingPitchRoll as zi, Matrix4 as F, Transforms as Mi, Model as go, sampleTerrainMostDetailed as Zn, ModelAnimationLoop as Id, CylinderOutlineGeometry as Ld, CylinderGeometry as kh, EllipsoidOutlineGeometry as Td, EllipsoidGeometry as zh, SphereOutlineGeometry as Nd, SphereGeometry as Dd, BoxOutlineGeometry as Ad, BoxGeometry as Hh, WallGeometry as Fd, WallOutlineGeometry as Rd, LabelStyle as ua, HorizontalOrigin as da, CatmullRomSpline as jh, ArcType as Mn, PrimitiveCollection as Ci, BillboardCollection as Gd, LabelCollection as kd, Resource as zd, CesiumTerrainProvider as Yo, Cartesian4 as Zo, sampleTerrain as Hd, Ellipsoid as Ba, Clock as jd, DataSourceClock as Vd, JulianDate as Vh, KeyboardEventModifier as fa, ScreenSpaceEventType as fi, CesiumWidget as $d, DataSourceDisplay as Ko, DataSourceCollection as Jo, RequestScheduler as Bd, ScreenSpaceEventHandler as Ud, Ray as $h, Camera as Bh, ImageryLayer as Xi, CustomDataSource as Uh, BoundingSphere as qh, Intersect as qd, BillboardVisualizer as Wd, LabelVisualizer as Xd, PointVisualizer as Yd, WebMercatorTilingScheme as mo, GeographicTilingScheme as Wh, Rectangle as yt, Cesium3DTileset as Cn, Composite3DTileContent as Zd, HeadingPitchRange as Kd, BoundingSphereState as Qo, OpenStreetMapImageryProvider as Jd, SingleTileImageryProvider as Qd, TileMapServiceImageryProvider as ef, Event as el, WebMapServiceImageryProvider as tf, WebMapTileServiceImageryProvider as sf, EntityCollection as rf, CzmlDataSource as nf, Plane as te, ClippingPlaneCollection as lr, ClippingPlane as hr, ConstantProperty as af, Globe as of, LinearSpline as lf, QuaternionSpline as hf, CoplanarPolygonGeometry as cf, IntersectionTests as uf } from "./cesium.a6cb0f.js";
6
+ const Yi = Symbol("isMatcher"), df = Symbol("Integer"), ff = Symbol("NonEmptyString"), po = /* @__PURE__ */ new Map();
7
7
  [
8
8
  [String, "string"],
9
9
  [Number, "number"],
@@ -12,7 +12,7 @@ const Yi = Symbol("isMatcher"), df = Symbol("Integer"), ff = Symbol("NonEmptyStr
12
12
  [void 0, "undefined"],
13
13
  [Symbol, "symbol"]
14
14
  ].forEach(([i, t]) => {
15
- mo.set(i, t);
15
+ po.set(i, t);
16
16
  });
17
17
  function gf(i) {
18
18
  return i == null ? void 0 : i[Yi];
@@ -59,14 +59,14 @@ function pf(i, t, e) {
59
59
  }
60
60
  return null;
61
61
  }
62
- function Ba(i, t, e, s) {
62
+ function Ua(i, t, e, s) {
63
63
  const r = s ? `${s}.` : "";
64
64
  if (!cr(i))
65
65
  return `Expected ${je(i)} to be a plain Object`;
66
66
  let a = !1;
67
67
  const o = Object.keys(t).find((l) => {
68
68
  const c = i[l];
69
- return cr(t[l]) ? a = Ba(c, t[l], e, r + l) : a = e(c, t[l]), a;
69
+ return cr(t[l]) ? a = Ua(c, t[l], e, r + l) : a = e(c, t[l]), a;
70
70
  });
71
71
  return o ? `${String(a)} in object.${r}${o}` : !1;
72
72
  }
@@ -77,13 +77,13 @@ function yf(i, t) {
77
77
  return Number.isInteger(i) ? !1 : `expected ${je(i)} to be an integer number`;
78
78
  if (t === ff)
79
79
  return typeof i == "string" && i.length > 0 ? !1 : `expected ${je(i)} to be a non-empty string`;
80
- const e = mo.get(t);
80
+ const e = po.get(t);
81
81
  return e ? typeof i === e ? !1 : `expected ${je(i)} to be a ${String(e)}` : null;
82
82
  }
83
83
  function Kn(i) {
84
84
  if (i === null)
85
85
  return "null";
86
- const t = mo.get(i);
86
+ const t = po.get(i);
87
87
  if (t)
88
88
  return t;
89
89
  const e = i == null ? void 0 : i.className;
@@ -127,11 +127,11 @@ function xs(i, t) {
127
127
  if (Array.isArray(r))
128
128
  return pf(s, r, e);
129
129
  if (r === Object)
130
- return Ba(s, {}, e);
130
+ return Ua(s, {}, e);
131
131
  if (r instanceof Function)
132
132
  return s instanceof r ? !1 : `Expected ${je(s, !0)} to be of Type ${Kn(r)}`;
133
133
  if (typeof r == "object") {
134
- const o = Ba(s, r, e);
134
+ const o = Ua(s, r, e);
135
135
  return o || !1;
136
136
  }
137
137
  throw new Error(`Cannot handle pattern ${String(r)}`);
@@ -189,7 +189,7 @@ function xn(i) {
189
189
  function wf(i) {
190
190
  i("EPSG:4326", "+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"), i("EPSG:4269", "+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"), i("EPSG:3857", "+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"), i.WGS84 = i["EPSG:4326"], i["EPSG:3785"] = i["EPSG:3857"], i.GOOGLE = i["EPSG:3857"], i["EPSG:900913"] = i["EPSG:3857"], i["EPSG:102113"] = i["EPSG:3857"];
191
191
  }
192
- var Hi = 1, ji = 2, fs = 3, Mf = 4, Ua = 5, il = 6378137, Cf = 6356752314e-3, sl = 0.0066943799901413165, Ks = 484813681109536e-20, x = Math.PI / 2, xf = 0.16666666666666666, Of = 0.04722222222222222, bf = 0.022156084656084655, T = 1e-10, ke = 0.017453292519943295, Vt = 57.29577951308232, K = Math.PI / 4, ur = Math.PI * 2, we = 3.14159265359, ft = {};
192
+ var Hi = 1, ji = 2, fs = 3, Mf = 4, qa = 5, il = 6378137, Cf = 6356752314e-3, sl = 0.0066943799901413165, Ks = 484813681109536e-20, x = Math.PI / 2, xf = 0.16666666666666666, Of = 0.04722222222222222, bf = 0.022156084656084655, T = 1e-10, ke = 0.017453292519943295, Vt = 57.29577951308232, K = Math.PI / 4, ur = Math.PI * 2, we = 3.14159265359, ft = {};
193
193
  ft.greenwich = 0;
194
194
  ft.lisbon = -9.131906111111;
195
195
  ft.paris = 2.337229166667;
@@ -215,7 +215,7 @@ function xi(i, t) {
215
215
  if (n = e[r], a = n.toLowerCase().replace(rl, ""), a === s)
216
216
  return i[n];
217
217
  }
218
- function qa(i) {
218
+ function Wa(i) {
219
219
  var t = {}, e = i.split("+").map(function(o) {
220
220
  return o.trim();
221
221
  }).filter(function(o) {
@@ -321,7 +321,7 @@ function qa(i) {
321
321
  r = e[s], s in a ? (n = a[s], typeof n == "function" ? n(r) : t[n] = r) : t[s] = r;
322
322
  return typeof t.datumCode == "string" && t.datumCode !== "WGS84" && (t.datumCode = t.datumCode.toLowerCase()), t;
323
323
  }
324
- var dr = 1, Yh = 2, Zh = 3, On = 4, Kh = 5, po = -1, Pf = /\s/, If = /[A-Za-z]/, Lf = /[A-Za-z84_]/, Jn = /[,\]]/, Jh = /[\d\.E\-\+]/;
324
+ var dr = 1, Yh = 2, Zh = 3, On = 4, Kh = 5, yo = -1, Pf = /\s/, If = /[A-Za-z]/, Lf = /[A-Za-z84_]/, Jn = /[,\]]/, Jh = /[\d\.E\-\+]/;
325
325
  function ui(i) {
326
326
  if (typeof i != "string")
327
327
  throw new Error("not a string");
@@ -346,7 +346,7 @@ ui.prototype.readCharicter = function() {
346
346
  return this.afterquote(i);
347
347
  case Zh:
348
348
  return this.number(i);
349
- case po:
349
+ case yo:
350
350
  return;
351
351
  }
352
352
  };
@@ -367,7 +367,7 @@ ui.prototype.afterItem = function(i) {
367
367
  return;
368
368
  }
369
369
  if (i === "]") {
370
- this.level--, this.word !== null && (this.currentObject.push(this.word), this.word = null), this.state = dr, this.currentObject = this.stack.pop(), this.currentObject || (this.state = po);
370
+ this.level--, this.word !== null && (this.currentObject.push(this.word), this.word = null), this.state = dr, this.currentObject = this.stack.pop(), this.currentObject || (this.state = yo);
371
371
  return;
372
372
  }
373
373
  };
@@ -427,7 +427,7 @@ ui.prototype.neutral = function(i) {
427
427
  ui.prototype.output = function() {
428
428
  for (; this.place < this.text.length; )
429
429
  this.readCharicter();
430
- if (this.state === po)
430
+ if (this.state === yo)
431
431
  return this.root;
432
432
  throw new Error('unable to parse string "' + this.text + '". State is ' + this.state);
433
433
  };
@@ -591,7 +591,7 @@ function Ke(i) {
591
591
  var t = this;
592
592
  if (arguments.length === 2) {
593
593
  var e = arguments[1];
594
- typeof e == "string" ? e.charAt(0) === "+" ? Ke[i] = qa(arguments[1]) : Ke[i] = Qh(arguments[1]) : Ke[i] = e;
594
+ typeof e == "string" ? e.charAt(0) === "+" ? Ke[i] = Wa(arguments[1]) : Ke[i] = Qh(arguments[1]) : Ke[i] = e;
595
595
  } else if (arguments.length === 1) {
596
596
  if (Array.isArray(i))
597
597
  return i.map(function(s) {
@@ -643,10 +643,10 @@ function $f(i) {
643
643
  if (Hf(t))
644
644
  return Ke["EPSG:3857"];
645
645
  var e = jf(t);
646
- return e ? qa(e) : t;
646
+ return e ? Wa(e) : t;
647
647
  }
648
648
  if (Vf(i))
649
- return qa(i);
649
+ return Wa(i);
650
650
  } else
651
651
  return i;
652
652
  }
@@ -1082,7 +1082,7 @@ Fe.rnb72 = {
1082
1082
  };
1083
1083
  function ng(i, t, e, s, r, n, a) {
1084
1084
  var o = {};
1085
- return i === void 0 || i === "none" ? o.datum_type = Ua : o.datum_type = Mf, t && (o.datum_params = t.map(parseFloat), (o.datum_params[0] !== 0 || o.datum_params[1] !== 0 || o.datum_params[2] !== 0) && (o.datum_type = Hi), o.datum_params.length > 3 && (o.datum_params[3] !== 0 || o.datum_params[4] !== 0 || o.datum_params[5] !== 0 || o.datum_params[6] !== 0) && (o.datum_type = ji, o.datum_params[3] *= Ks, o.datum_params[4] *= Ks, o.datum_params[5] *= Ks, o.datum_params[6] = o.datum_params[6] / 1e6 + 1)), a && (o.datum_type = fs, o.grids = a), o.a = e, o.b = s, o.es = r, o.ep2 = n, o;
1085
+ return i === void 0 || i === "none" ? o.datum_type = qa : o.datum_type = Mf, t && (o.datum_params = t.map(parseFloat), (o.datum_params[0] !== 0 || o.datum_params[1] !== 0 || o.datum_params[2] !== 0) && (o.datum_type = Hi), o.datum_params.length > 3 && (o.datum_params[3] !== 0 || o.datum_params[4] !== 0 || o.datum_params[5] !== 0 || o.datum_params[6] !== 0) && (o.datum_type = ji, o.datum_params[3] *= Ks, o.datum_params[4] *= Ks, o.datum_params[5] *= Ks, o.datum_params[6] = o.datum_params[6] / 1e6 + 1)), a && (o.datum_type = fs, o.grids = a), o.a = e, o.b = s, o.es = r, o.ep2 = n, o;
1086
1086
  }
1087
1087
  var tc = {};
1088
1088
  function ag(i, t) {
@@ -1120,14 +1120,14 @@ function cg(i, t) {
1120
1120
  nFields: i.getInt32(8, t),
1121
1121
  nSubgridFields: i.getInt32(24, t),
1122
1122
  nSubgrids: i.getInt32(40, t),
1123
- shiftType: Wa(i, 56, 56 + 8).trim(),
1123
+ shiftType: Xa(i, 56, 56 + 8).trim(),
1124
1124
  fromSemiMajorAxis: i.getFloat64(120, t),
1125
1125
  fromSemiMinorAxis: i.getFloat64(136, t),
1126
1126
  toSemiMajorAxis: i.getFloat64(152, t),
1127
1127
  toSemiMinorAxis: i.getFloat64(168, t)
1128
1128
  };
1129
1129
  }
1130
- function Wa(i, t, e) {
1130
+ function Xa(i, t, e) {
1131
1131
  return String.fromCharCode.apply(null, new Uint8Array(i.buffer.slice(t, e)));
1132
1132
  }
1133
1133
  function ug(i, t, e) {
@@ -1154,8 +1154,8 @@ function dg(i) {
1154
1154
  }
1155
1155
  function fg(i, t, e) {
1156
1156
  return {
1157
- name: Wa(i, t + 8, t + 16).trim(),
1158
- parent: Wa(i, t + 24, t + 24 + 8).trim(),
1157
+ name: Xa(i, t + 8, t + 16).trim(),
1158
+ parent: Xa(i, t + 24, t + 24 + 8).trim(),
1159
1159
  lowerLatitude: i.getFloat64(t + 72, e),
1160
1160
  upperLatitude: i.getFloat64(t + 88, e),
1161
1161
  lowerLongitude: i.getFloat64(t + 104, e),
@@ -1290,7 +1290,7 @@ function Yr(i) {
1290
1290
  return i === Hi || i === ji;
1291
1291
  }
1292
1292
  function _g(i, t, e) {
1293
- if (mg(i, t) || i.datum_type === Ua || t.datum_type === Ua)
1293
+ if (mg(i, t) || i.datum_type === qa || t.datum_type === qa)
1294
1294
  return e;
1295
1295
  var s = i.a, r = i.es;
1296
1296
  if (i.datum_type === fs) {
@@ -1456,7 +1456,7 @@ function En(i, t, e, s) {
1456
1456
  })), s && t.axis !== "enu" ? cl(t, !0, e) : (n || delete e.z, e);
1457
1457
  }
1458
1458
  var dl = Bt("WGS84");
1459
- function fa(i, t, e, s) {
1459
+ function ga(i, t, e, s) {
1460
1460
  var r, n, a;
1461
1461
  return Array.isArray(e) ? (r = En(i, t, e, s) || { x: NaN, y: NaN }, e.length > 2 ? typeof i.name < "u" && i.name === "geocent" || typeof t.name < "u" && t.name === "geocent" ? typeof r.z == "number" ? [r.x, r.y, r.z].concat(e.splice(3)) : [r.x, r.y, e[2]].concat(e.splice(3)) : [r.x, r.y].concat(e.splice(2)) : [r.x, r.y]) : (n = En(i, t, e, s), a = Object.keys(e), a.length === 2 || a.forEach(function(o) {
1462
1462
  if (typeof i.name < "u" && i.name === "geocent" || typeof t.name < "u" && t.name === "geocent") {
@@ -1473,12 +1473,12 @@ function fl(i) {
1473
1473
  function Ie(i, t, e) {
1474
1474
  i = fl(i);
1475
1475
  var s = !1, r;
1476
- return typeof t > "u" ? (t = i, i = dl, s = !0) : (typeof t.x < "u" || Array.isArray(t)) && (e = t, t = i, i = dl, s = !0), t = fl(t), e ? fa(i, t, e) : (r = {
1476
+ return typeof t > "u" ? (t = i, i = dl, s = !0) : (typeof t.x < "u" || Array.isArray(t)) && (e = t, t = i, i = dl, s = !0), t = fl(t), e ? ga(i, t, e) : (r = {
1477
1477
  forward: function(n, a) {
1478
- return fa(i, t, n, a);
1478
+ return ga(i, t, n, a);
1479
1479
  },
1480
1480
  inverse: function(n, a) {
1481
- return fa(t, i, n, a);
1481
+ return ga(t, i, n, a);
1482
1482
  }
1483
1483
  }, s && (r.oProj = t), r);
1484
1484
  }
@@ -1495,22 +1495,22 @@ function oc(i, t) {
1495
1495
  }), t);
1496
1496
  }
1497
1497
  function Cg(i) {
1498
- var t = yo(cc(i.toUpperCase()));
1498
+ var t = _o(cc(i.toUpperCase()));
1499
1499
  return t.lat && t.lon ? [t.lon, t.lat, t.lon, t.lat] : [t.left, t.bottom, t.right, t.top];
1500
1500
  }
1501
1501
  function lc(i) {
1502
- var t = yo(cc(i.toUpperCase()));
1502
+ var t = _o(cc(i.toUpperCase()));
1503
1503
  return t.lat && t.lon ? [t.lon, t.lat] : [(t.left + t.right) / 2, (t.top + t.bottom) / 2];
1504
1504
  }
1505
- function ga(i) {
1505
+ function ma(i) {
1506
1506
  return i * (Math.PI / 180);
1507
1507
  }
1508
1508
  function ml(i) {
1509
1509
  return 180 * (i / Math.PI);
1510
1510
  }
1511
1511
  function xg(i) {
1512
- var t = i.lat, e = i.lon, s = 6378137, r = 669438e-8, n = 0.9996, a, o, l, c, d, u, f, g = ga(t), m = ga(e), p, y;
1513
- y = Math.floor((e + 180) / 6) + 1, e === 180 && (y = 60), t >= 56 && t < 64 && e >= 3 && e < 12 && (y = 32), t >= 72 && t < 84 && (e >= 0 && e < 9 ? y = 31 : e >= 9 && e < 21 ? y = 33 : e >= 21 && e < 33 ? y = 35 : e >= 33 && e < 42 && (y = 37)), a = (y - 1) * 6 - 180 + 3, p = ga(a), o = r / (1 - r), l = s / Math.sqrt(1 - r * Math.sin(g) * Math.sin(g)), c = Math.tan(g) * Math.tan(g), d = o * Math.cos(g) * Math.cos(g), u = Math.cos(g) * (m - p), f = s * ((1 - r / 4 - 3 * r * r / 64 - 5 * r * r * r / 256) * g - (3 * r / 8 + 3 * r * r / 32 + 45 * r * r * r / 1024) * Math.sin(2 * g) + (15 * r * r / 256 + 45 * r * r * r / 1024) * Math.sin(4 * g) - 35 * r * r * r / 3072 * Math.sin(6 * g));
1512
+ var t = i.lat, e = i.lon, s = 6378137, r = 669438e-8, n = 0.9996, a, o, l, c, d, u, f, g = ma(t), m = ma(e), p, y;
1513
+ y = Math.floor((e + 180) / 6) + 1, e === 180 && (y = 60), t >= 56 && t < 64 && e >= 3 && e < 12 && (y = 32), t >= 72 && t < 84 && (e >= 0 && e < 9 ? y = 31 : e >= 9 && e < 21 ? y = 33 : e >= 21 && e < 33 ? y = 35 : e >= 33 && e < 42 && (y = 37)), a = (y - 1) * 6 - 180 + 3, p = ma(a), o = r / (1 - r), l = s / Math.sqrt(1 - r * Math.sin(g) * Math.sin(g)), c = Math.tan(g) * Math.tan(g), d = o * Math.cos(g) * Math.cos(g), u = Math.cos(g) * (m - p), f = s * ((1 - r / 4 - 3 * r * r / 64 - 5 * r * r * r / 256) * g - (3 * r / 8 + 3 * r * r / 32 + 45 * r * r * r / 1024) * Math.sin(2 * g) + (15 * r * r / 256 + 45 * r * r * r / 1024) * Math.sin(4 * g) - 35 * r * r * r / 3072 * Math.sin(6 * g));
1514
1514
  var v = n * l * (u + (1 - c + d) * u * u * u / 6 + (5 - 18 * c + c * c + 72 * d - 58 * o) * u * u * u * u * u / 120) + 5e5, w = n * (f + l * Math.tan(g) * (u * u / 2 + (5 - c + 9 * d + 4 * d * d) * u * u * u * u / 24 + (61 - 58 * c + c * c + 600 * d - 330 * o) * u * u * u * u * u * u / 720));
1515
1515
  return t < 0 && (w += 1e7), {
1516
1516
  northing: Math.round(w),
@@ -1519,7 +1519,7 @@ function xg(i) {
1519
1519
  zoneLetter: Og(t)
1520
1520
  };
1521
1521
  }
1522
- function yo(i) {
1522
+ function _o(i) {
1523
1523
  var t = i.northing, e = i.easting, s = i.zoneLetter, r = i.zoneNumber;
1524
1524
  if (r < 0 || r > 60)
1525
1525
  return null;
@@ -1531,7 +1531,7 @@ function yo(i) {
1531
1531
  P = y + ml(P);
1532
1532
  var L;
1533
1533
  if (i.accuracy) {
1534
- var G = yo({
1534
+ var G = _o({
1535
1535
  northing: i.northing + i.accuracy,
1536
1536
  easting: i.easting + i.accuracy,
1537
1537
  zoneLetter: i.zoneLetter,
@@ -1801,7 +1801,7 @@ function Wg(i) {
1801
1801
  var t = Math.abs(i);
1802
1802
  return t = qg(t * (1 + t / (Pt(1, t) + 1))), i < 0 ? -t : t;
1803
1803
  }
1804
- function _o(i, t) {
1804
+ function vo(i, t) {
1805
1805
  for (var e = 2 * Math.cos(2 * t), s = i.length - 1, r = i[s], n = 0, a; --s >= 0; )
1806
1806
  a = -n + e * r + i[s], n = r, r = a;
1807
1807
  return t + a * Math.sin(2 * t);
@@ -1826,12 +1826,12 @@ function Zg() {
1826
1826
  this.approx && (un.init.apply(this), this.forward = un.forward, this.inverse = un.inverse), this.x0 = this.x0 !== void 0 ? this.x0 : 0, this.y0 = this.y0 !== void 0 ? this.y0 : 0, this.long0 = this.long0 !== void 0 ? this.long0 : 0, this.lat0 = this.lat0 !== void 0 ? this.lat0 : 0, this.cgb = [], this.cbg = [], this.utg = [], this.gtu = [];
1827
1827
  var i = this.es / (1 + Math.sqrt(1 - this.es)), t = i / (2 - i), e = t;
1828
1828
  this.cgb[0] = t * (2 + t * (-2 / 3 + t * (-2 + t * (116 / 45 + t * (26 / 45 + t * (-2854 / 675)))))), this.cbg[0] = t * (-2 + t * (2 / 3 + t * (4 / 3 + t * (-82 / 45 + t * (32 / 45 + t * (4642 / 4725)))))), e = e * t, this.cgb[1] = e * (7 / 3 + t * (-8 / 5 + t * (-227 / 45 + t * (2704 / 315 + t * (2323 / 945))))), this.cbg[1] = e * (5 / 3 + t * (-16 / 15 + t * (-13 / 9 + t * (904 / 315 + t * (-1522 / 945))))), e = e * t, this.cgb[2] = e * (56 / 15 + t * (-136 / 35 + t * (-1262 / 105 + t * (73814 / 2835)))), this.cbg[2] = e * (-26 / 15 + t * (34 / 21 + t * (8 / 5 + t * (-12686 / 2835)))), e = e * t, this.cgb[3] = e * (4279 / 630 + t * (-332 / 35 + t * (-399572 / 14175))), this.cbg[3] = e * (1237 / 630 + t * (-12 / 5 + t * (-24832 / 14175))), e = e * t, this.cgb[4] = e * (4174 / 315 + t * (-144838 / 6237)), this.cbg[4] = e * (-734 / 315 + t * (109598 / 31185)), e = e * t, this.cgb[5] = e * (601676 / 22275), this.cbg[5] = e * (444337 / 155925), e = Math.pow(t, 2), this.Qn = this.k0 / (1 + t) * (1 + e * (1 / 4 + e * (1 / 64 + e / 256))), this.utg[0] = t * (-0.5 + t * (2 / 3 + t * (-37 / 96 + t * (1 / 360 + t * (81 / 512 + t * (-96199 / 604800)))))), this.gtu[0] = t * (0.5 + t * (-2 / 3 + t * (5 / 16 + t * (41 / 180 + t * (-127 / 288 + t * (7891 / 37800)))))), this.utg[1] = e * (-1 / 48 + t * (-1 / 15 + t * (437 / 1440 + t * (-46 / 105 + t * (1118711 / 3870720))))), this.gtu[1] = e * (13 / 48 + t * (-3 / 5 + t * (557 / 1440 + t * (281 / 630 + t * (-1983433 / 1935360))))), e = e * t, this.utg[2] = e * (-17 / 480 + t * (37 / 840 + t * (209 / 4480 + t * (-5569 / 90720)))), this.gtu[2] = e * (61 / 240 + t * (-103 / 140 + t * (15061 / 26880 + t * (167603 / 181440)))), e = e * t, this.utg[3] = e * (-4397 / 161280 + t * (11 / 504 + t * (830251 / 7257600))), this.gtu[3] = e * (49561 / 161280 + t * (-179 / 168 + t * (6601661 / 7257600))), e = e * t, this.utg[4] = e * (-4583 / 161280 + t * (108847 / 3991680)), this.gtu[4] = e * (34729 / 80640 + t * (-3418889 / 1995840)), e = e * t, this.utg[5] = e * (-20648693 / 638668800), this.gtu[5] = e * (212378941 / 319334400);
1829
- var s = _o(this.cbg, this.lat0);
1829
+ var s = vo(this.cbg, this.lat0);
1830
1830
  this.Zb = -this.Qn * (s + Xg(this.gtu, 2 * s));
1831
1831
  }
1832
1832
  function Kg(i) {
1833
1833
  var t = D(i.x - this.long0), e = i.y;
1834
- e = _o(this.cbg, e);
1834
+ e = vo(this.cbg, e);
1835
1835
  var s = Math.sin(e), r = Math.cos(e), n = Math.sin(t), a = Math.cos(t);
1836
1836
  e = Math.atan2(s, a * r), t = Math.atan2(n * r, Pt(s, r * a)), t = Wg(Math.tan(t));
1837
1837
  var o = gc(this.gtu, 2 * e, 2 * t);
@@ -1847,7 +1847,7 @@ function Jg(i) {
1847
1847
  var n = gc(this.utg, 2 * e, 2 * t);
1848
1848
  e = e + n[0], t = t + n[1], t = Math.atan(fc(t));
1849
1849
  var a = Math.sin(e), o = Math.cos(e), l = Math.sin(t), c = Math.cos(t);
1850
- e = Math.atan2(a * c, Pt(l, c * o)), t = Math.atan2(l, c * o), s = D(t + this.long0), r = _o(this.cgb, e);
1850
+ e = Math.atan2(a * c, Pt(l, c * o)), t = Math.atan2(l, c * o), s = D(t + this.long0), r = vo(this.cgb, e);
1851
1851
  } else
1852
1852
  s = 1 / 0, r = 1 / 0;
1853
1853
  return i.x = s, i.y = r, i;
@@ -1881,36 +1881,36 @@ const rm = {
1881
1881
  names: sm,
1882
1882
  dependsOn: tm
1883
1883
  };
1884
- function vo(i, t) {
1884
+ function So(i, t) {
1885
1885
  return Math.pow((1 - i) / (1 + i), t);
1886
1886
  }
1887
1887
  var nm = 20;
1888
1888
  function am() {
1889
1889
  var i = Math.sin(this.lat0), t = Math.cos(this.lat0);
1890
- t *= t, this.rc = Math.sqrt(1 - this.es) / (1 - this.es * i * i), this.C = Math.sqrt(1 + this.es * t * t / (1 - this.es)), this.phic0 = Math.asin(i / this.C), this.ratexp = 0.5 * this.C * this.e, this.K = Math.tan(0.5 * this.phic0 + K) / (Math.pow(Math.tan(0.5 * this.lat0 + K), this.C) * vo(this.e * i, this.ratexp));
1890
+ t *= t, this.rc = Math.sqrt(1 - this.es) / (1 - this.es * i * i), this.C = Math.sqrt(1 + this.es * t * t / (1 - this.es)), this.phic0 = Math.asin(i / this.C), this.ratexp = 0.5 * this.C * this.e, this.K = Math.tan(0.5 * this.phic0 + K) / (Math.pow(Math.tan(0.5 * this.lat0 + K), this.C) * So(this.e * i, this.ratexp));
1891
1891
  }
1892
1892
  function om(i) {
1893
1893
  var t = i.x, e = i.y;
1894
- return i.y = 2 * Math.atan(this.K * Math.pow(Math.tan(0.5 * e + K), this.C) * vo(this.e * Math.sin(e), this.ratexp)) - x, i.x = this.C * t, i;
1894
+ return i.y = 2 * Math.atan(this.K * Math.pow(Math.tan(0.5 * e + K), this.C) * So(this.e * Math.sin(e), this.ratexp)) - x, i.x = this.C * t, i;
1895
1895
  }
1896
1896
  function lm(i) {
1897
- for (var t = 1e-14, e = i.x / this.C, s = i.y, r = Math.pow(Math.tan(0.5 * s + K) / this.K, 1 / this.C), n = nm; n > 0 && (s = 2 * Math.atan(r * vo(this.e * Math.sin(i.y), -0.5 * this.e)) - x, !(Math.abs(s - i.y) < t)); --n)
1897
+ for (var t = 1e-14, e = i.x / this.C, s = i.y, r = Math.pow(Math.tan(0.5 * s + K) / this.K, 1 / this.C), n = nm; n > 0 && (s = 2 * Math.atan(r * So(this.e * Math.sin(i.y), -0.5 * this.e)) - x, !(Math.abs(s - i.y) < t)); --n)
1898
1898
  i.y = s;
1899
1899
  return n ? (i.x = e, i.y = s, i) : null;
1900
1900
  }
1901
1901
  var hm = ["gauss"];
1902
- const So = {
1902
+ const wo = {
1903
1903
  init: am,
1904
1904
  forward: om,
1905
1905
  inverse: lm,
1906
1906
  names: hm
1907
1907
  };
1908
1908
  function cm() {
1909
- So.init.apply(this), this.rc && (this.sinc0 = Math.sin(this.phic0), this.cosc0 = Math.cos(this.phic0), this.R2 = 2 * this.rc, this.title || (this.title = "Oblique Stereographic Alternative"));
1909
+ wo.init.apply(this), this.rc && (this.sinc0 = Math.sin(this.phic0), this.cosc0 = Math.cos(this.phic0), this.R2 = 2 * this.rc, this.title || (this.title = "Oblique Stereographic Alternative"));
1910
1910
  }
1911
1911
  function um(i) {
1912
1912
  var t, e, s, r;
1913
- return i.x = D(i.x - this.long0), So.forward.apply(this, [i]), t = Math.sin(i.y), e = Math.cos(i.y), s = Math.cos(i.x), r = this.k0 * this.R2 / (1 + this.sinc0 * t + this.cosc0 * e * s), i.x = r * e * Math.sin(i.x), i.y = r * (this.cosc0 * t - this.sinc0 * e * s), i.x = this.a * i.x + this.x0, i.y = this.a * i.y + this.y0, i;
1913
+ return i.x = D(i.x - this.long0), wo.forward.apply(this, [i]), t = Math.sin(i.y), e = Math.cos(i.y), s = Math.cos(i.x), r = this.k0 * this.R2 / (1 + this.sinc0 * t + this.cosc0 * e * s), i.x = r * e * Math.sin(i.x), i.y = r * (this.cosc0 * t - this.sinc0 * e * s), i.x = this.a * i.x + this.x0, i.y = this.a * i.y + this.y0, i;
1914
1914
  }
1915
1915
  function dm(i) {
1916
1916
  var t, e, s, r, n;
@@ -1919,7 +1919,7 @@ function dm(i) {
1919
1919
  t = Math.sin(a), e = Math.cos(a), r = Math.asin(e * this.sinc0 + i.y * t * this.cosc0 / n), s = Math.atan2(i.x * t, n * this.cosc0 * e - i.y * this.sinc0 * t);
1920
1920
  } else
1921
1921
  r = this.phic0, s = 0;
1922
- return i.x = s, i.y = r, So.inverse.apply(this, [i]), i.x = D(i.x + this.long0), i;
1922
+ return i.x = s, i.y = r, wo.inverse.apply(this, [i]), i.x = D(i.x + this.long0), i;
1923
1923
  }
1924
1924
  var fm = ["Stereographic_North_Pole", "Oblique_Stereographic", "Polar_Stereographic", "sterea", "Oblique Stereographic Alternative", "Double_Stereographic"];
1925
1925
  const gm = {
@@ -2717,7 +2717,7 @@ const Py = {
2717
2717
  inverse: by,
2718
2718
  names: Ey
2719
2719
  };
2720
- var Xa = [
2720
+ var Ya = [
2721
2721
  [1, 22199e-21, -715515e-10, 31103e-10],
2722
2722
  [0.9986, -482243e-9, -24897e-9, -13309e-10],
2723
2723
  [0.9954, -83103e-8, -448605e-10, -986701e-12],
@@ -2777,7 +2777,7 @@ function Dy(i) {
2777
2777
  var t = D(i.x - this.long0), e = Math.abs(i.y), s = Math.floor(e * yc);
2778
2778
  s < 0 ? s = 0 : s >= hs && (s = hs - 1), e = Vt * (e - Iy * s);
2779
2779
  var r = {
2780
- x: In(Xa[s], e) * t,
2780
+ x: In(Ya[s], e) * t,
2781
2781
  y: In($s[s], e)
2782
2782
  };
2783
2783
  return i.y < 0 && (r.y = -r.y), r.x = r.x * this.a * mc + this.x0, r.y = r.y * this.a * pc + this.y0, r;
@@ -2788,7 +2788,7 @@ function Ay(i) {
2788
2788
  y: Math.abs(i.y - this.y0) / (this.a * pc)
2789
2789
  };
2790
2790
  if (t.y >= 1)
2791
- t.x /= Xa[hs][0], t.y = i.y < 0 ? -x : x;
2791
+ t.x /= Ya[hs][0], t.y = i.y < 0 ? -x : x;
2792
2792
  else {
2793
2793
  var e = Math.floor(t.y * hs);
2794
2794
  for (e < 0 ? e = 0 : e >= hs && (e = hs - 1); ; )
@@ -2801,7 +2801,7 @@ function Ay(i) {
2801
2801
  var s = $s[e], r = 5 * (t.y - s[0]) / ($s[e + 1][0] - s[0]);
2802
2802
  r = Ty(function(n) {
2803
2803
  return (In(s, n) - t.y) / Ly(s, n);
2804
- }, r, T, 100), t.x /= In(Xa[e], r), t.y = (5 * e + r) * ke, i.y < 0 && (t.y = -t.y);
2804
+ }, r, T, 100), t.x /= In(Ya[e], r), t.y = (5 * e + r) * ke, i.y < 0 && (t.y = -t.y);
2805
2805
  }
2806
2806
  return t.x = D(t.x + this.long0), t;
2807
2807
  }
@@ -2989,11 +2989,11 @@ Ie.transform = En;
2989
2989
  Ie.mgrs = Mg;
2990
2990
  Ie.version = "__VERSION__";
2991
2991
  Jy(Ie);
2992
- const Ln = Ae("EPSG:4326", "EPSG:3857"), wo = Ae("EPSG:3857", "EPSG:4326");
2993
- let Mo = {
2992
+ const Ln = Ae("EPSG:4326", "EPSG:3857"), Mo = Ae("EPSG:3857", "EPSG:4326");
2993
+ let Co = {
2994
2994
  epsg: "EPSG:4326"
2995
2995
  };
2996
- function Co(i, t = "EPSG:") {
2996
+ function xo(i, t = "EPSG:") {
2997
2997
  if (i) {
2998
2998
  const e = new RegExp(`^(?:${t})?(\\d+)`, "i"), s = `${i}`.match(e);
2999
2999
  if (s && s[1])
@@ -3005,7 +3005,7 @@ function _c(i) {
3005
3005
  let t = null;
3006
3006
  if (i.epsg)
3007
3007
  try {
3008
- t = Ie(Co(i.epsg));
3008
+ t = Ie(xo(i.epsg));
3009
3009
  } catch {
3010
3010
  t = null;
3011
3011
  }
@@ -3021,7 +3021,7 @@ function vc(i) {
3021
3021
  const t = {
3022
3022
  prefix: i.prefix
3023
3023
  };
3024
- return i.epsg && (t.epsg = Co(i.epsg, i.prefix), t.epsg && (i.proj4 && (t.proj4 = i.proj4, Ie.defs(t.epsg, i.proj4), Uo(Ie)), i.alias && Array.isArray(i.alias) && (t.alias = i.alias, t.alias.forEach((e) => {
3024
+ return i.epsg && (t.epsg = xo(i.epsg, i.prefix), t.epsg && (i.proj4 && (t.proj4 = i.proj4, Ie.defs(t.epsg, i.proj4), Uo(Ie)), i.alias && Array.isArray(i.alias) && (t.alias = i.alias, t.alias.forEach((e) => {
3025
3025
  Ie.defs(e, Ie.defs(t.epsg)), Uo(Ie);
3026
3026
  })))), t;
3027
3027
  }
@@ -3031,7 +3031,7 @@ function Qy(i) {
3031
3031
  proj4: Q(String)
3032
3032
  }), !_c(i))
3033
3033
  throw new Error("Cannot set invalid projection options as default options");
3034
- Mo = vc(i);
3034
+ Co = vc(i);
3035
3035
  }
3036
3036
  class k {
3037
3037
  constructor(t = { epsg: "" }) {
@@ -3040,7 +3040,7 @@ class k {
3040
3040
  h(this, "_alias");
3041
3041
  h(this, "_prefix");
3042
3042
  const e = vc(t);
3043
- this._proj4 = e.proj4, this._epsg = String(e.epsg), this.proj || (this._epsg = k.parseEPSGCode(Mo.epsg)), this._alias = e.alias, this._prefix = e.prefix;
3043
+ this._proj4 = e.proj4, this._epsg = String(e.epsg), this.proj || (this._epsg = k.parseEPSGCode(Co.epsg)), this._alias = e.alias, this._prefix = e.prefix;
3044
3044
  }
3045
3045
  static get className() {
3046
3046
  return "Projection";
@@ -3094,7 +3094,7 @@ class k {
3094
3094
  * @param inPlace - whether to transform in place
3095
3095
  */
3096
3096
  static mercatorToWgs84(t, e) {
3097
- return wo(t, e ? t : void 0, t.length);
3097
+ return Mo(t, e ? t : void 0, t.length);
3098
3098
  }
3099
3099
  /**
3100
3100
  * Fast transform from WGS84 to Web-Mercator
@@ -3117,26 +3117,26 @@ class k {
3117
3117
  * parseEPSGCode('asdasd', 'EPSG:') ==> ''
3118
3118
  */
3119
3119
  static parseEPSGCode(t, e = "EPSG:") {
3120
- return Co(t, e);
3120
+ return xo(t, e);
3121
3121
  }
3122
3122
  }
3123
3123
  function e_() {
3124
- return new k(Mo);
3124
+ return new k(Co);
3125
3125
  }
3126
3126
  const oe = new k({ epsg: 4326 }), U = new k({ epsg: 3857 });
3127
- function mw(i, t, e) {
3127
+ function pw(i, t, e) {
3128
3128
  const r = N.toRadians(e), n = N.toRadians(i[1]), a = N.toRadians(i[0]), o = Math.asin(Math.sin(n) * Math.cos(t / 6371e3) + Math.cos(n) * Math.sin(t / 6371e3) * Math.cos(r)), l = a + Math.atan2(Math.sin(r) * Math.sin(t / 6371e3) * Math.cos(n), Math.cos(t / 6371e3) - Math.sin(n) * Math.sin(o));
3129
3129
  return [
3130
3130
  parseFloat(N.toDegrees(l).toFixed(5)),
3131
3131
  parseFloat(N.toDegrees(o).toFixed(5))
3132
3132
  ];
3133
3133
  }
3134
- function pw(i, t) {
3134
+ function yw(i, t) {
3135
3135
  const e = N.toRadians(i[0]), s = N.toRadians(i[1]), r = N.toRadians(t[0]), n = N.toRadians(t[1]), a = Math.sin(r - e) * Math.cos(n), o = Math.cos(s) * Math.sin(n) - Math.sin(s) * Math.cos(n) * Math.cos(r - e);
3136
3136
  let l = N.toDegrees(Math.atan2(a, o));
3137
3137
  return l = (l + 360) % 360, l;
3138
3138
  }
3139
- function Ya(i, t) {
3139
+ function Za(i, t) {
3140
3140
  let e = Math.atan2(t[0] - i[0], t[1] - i[1]);
3141
3141
  return e = e < 0 ? e + N.TWO_PI : e, e;
3142
3142
  }
@@ -3162,7 +3162,7 @@ function Ct(i, t) {
3162
3162
  const e = k.mercatorToWgs84(i);
3163
3163
  return _.fromDegrees(e[0], e[1], e[2], void 0, t ?? new _());
3164
3164
  }
3165
- function yw(i) {
3165
+ function _w(i) {
3166
3166
  const t = ie.fromCartesian(i), e = Ni(t);
3167
3167
  return k.wgs84ToMercator(e);
3168
3168
  }
@@ -3403,20 +3403,20 @@ class Mc {
3403
3403
  this.className && (r = `[${this.className}] ${r}`), console[zr.get(e)](r, ...s), e & Ce.ERROR && (console.group(), console.trace(), console.groupEnd());
3404
3404
  }
3405
3405
  }
3406
- const Za = /* @__PURE__ */ new Map();
3407
- let ma;
3406
+ const Ka = /* @__PURE__ */ new Map();
3407
+ let pa;
3408
3408
  function h_() {
3409
- return ma || (ma = new Mc()), ma;
3409
+ return pa || (pa = new Mc()), pa;
3410
3410
  }
3411
3411
  function c_(i) {
3412
3412
  const t = new Mc(i);
3413
- return Za.set(i, t), t;
3413
+ return Ka.set(i, t), t;
3414
3414
  }
3415
3415
  function ue(i) {
3416
- return i ? Za.has(i) ? Za.get(i) : c_(i) : h_();
3416
+ return i ? Ka.has(i) ? Ka.get(i) : c_(i) : h_();
3417
3417
  }
3418
3418
  const Ze = Symbol("moduleId");
3419
- var hw;
3419
+ var cw;
3420
3420
  class Gt {
3421
3421
  constructor(t) {
3422
3422
  /**
@@ -3425,7 +3425,7 @@ class Gt {
3425
3425
  h(this, "name");
3426
3426
  h(this, "properties");
3427
3427
  h(this, "isDestroyed");
3428
- h(this, hw);
3428
+ h(this, cw);
3429
3429
  this.name = t.name || $e(), this.properties = t.properties || {}, this.isDestroyed = !1;
3430
3430
  }
3431
3431
  static get className() {
@@ -3448,7 +3448,7 @@ class Gt {
3448
3448
  this.isDestroyed = !0, this.properties = {};
3449
3449
  }
3450
3450
  }
3451
- hw = Ze;
3451
+ cw = Ze;
3452
3452
  class I {
3453
3453
  constructor() {
3454
3454
  h(this, "_listeners", /* @__PURE__ */ new Set());
@@ -3639,7 +3639,7 @@ class Li {
3639
3639
  return S(t, { type: String }), this.create(t.type, t, ...e);
3640
3640
  }
3641
3641
  }
3642
- const De = new Li(), Es = new Li(), xo = new Li(), Ps = new Li(), Hr = new Li(), Cc = new Li();
3642
+ const De = new Li(), Es = new Li(), Oo = new Li(), Ps = new Li(), Hr = new Li(), Cc = new Li();
3643
3643
  function ii(i, t, ...e) {
3644
3644
  if (!Os(i, Ve(Li, Zt)))
3645
3645
  return Bs().error(`ObjectCreation failed: no class registry provided for ${String(t.type)}`), null;
@@ -3736,7 +3736,7 @@ function Yt(i) {
3736
3736
  const { location: t } = window, e = new URL(i, `${t.protocol}//${t.host}${t.pathname}`);
3737
3737
  return e.host ? e.protocol === t.protocol && e.host === t.host : !0;
3738
3738
  }
3739
- function Oo() {
3739
+ function bo() {
3740
3740
  return ue("StyleHelpers");
3741
3741
  }
3742
3742
  var Js;
@@ -3825,10 +3825,10 @@ function wl(i) {
3825
3825
  }
3826
3826
  return i.slice(0, 3).reduce((e, s) => `${e}${t(s)}`, "#");
3827
3827
  }
3828
- function _w(i) {
3828
+ function vw(i) {
3829
3829
  return /^#[0-9a-f]{6}$/.test(i);
3830
3830
  }
3831
- function vw(i) {
3831
+ function Sw(i) {
3832
3832
  if (typeof i != "string")
3833
3833
  return i;
3834
3834
  let t = null, e = null, s = "normal", r = "normal", n = "normal", a = "normal";
@@ -3893,7 +3893,7 @@ function m_(i) {
3893
3893
  e ? e = `${e} ${s[1]}` : e = s[1];
3894
3894
  }), e || "";
3895
3895
  }
3896
- function Sw(i, t, e, s) {
3896
+ function ww(i, t, e, s) {
3897
3897
  const r = s || [0, 0], n = i.getImageData(r[0], r[1], e[0], e[1]), { data: a } = n, [o, l, c] = t, d = a.length;
3898
3898
  for (let u = 0; u < d; u += 4)
3899
3899
  a[u] = o, a[u + 1] = l, a[u + 2] = c;
@@ -3904,14 +3904,14 @@ function Nn(i) {
3904
3904
  try {
3905
3905
  t = ze(t).slice();
3906
3906
  } catch (e) {
3907
- Oo().warning(e.message);
3907
+ bo().warning(e.message);
3908
3908
  }
3909
3909
  return { color: t };
3910
3910
  }
3911
3911
  function xc(i) {
3912
3912
  return new it(i);
3913
3913
  }
3914
- function bo(i) {
3914
+ function Eo(i) {
3915
3915
  return new He(i);
3916
3916
  }
3917
3917
  function gr(i) {
@@ -3920,7 +3920,7 @@ function gr(i) {
3920
3920
  try {
3921
3921
  t = ze(t).slice();
3922
3922
  } catch (r) {
3923
- Oo().warning(r.message);
3923
+ bo().warning(r.message);
3924
3924
  }
3925
3925
  const e = {
3926
3926
  color: t
@@ -3942,7 +3942,7 @@ function Oc(i) {
3942
3942
  }
3943
3943
  function bc(i) {
3944
3944
  const t = { ...i };
3945
- return t.fill && !(t.fill instanceof it) && (t.fill = new it(t.fill)), t.stroke && !(t.stroke instanceof He) && (t.stroke = new He(t.stroke)), t.font && typeof t.font != "string" && (t.font = m_(t.font)), new lo(t);
3945
+ return t.fill && !(t.fill instanceof it) && (t.fill = new it(t.fill)), t.stroke && !(t.stroke instanceof He) && (t.stroke = new He(t.stroke)), t.font && typeof t.font != "string" && (t.font = m_(t.font)), new ho(t);
3946
3946
  }
3947
3947
  function Ec(i) {
3948
3948
  if (i instanceof Si) {
@@ -3953,7 +3953,7 @@ function Ec(i) {
3953
3953
  const e = i.getColor() ? ze(i.getColor()) : void 0;
3954
3954
  e && (t.color = e);
3955
3955
  } catch (e) {
3956
- Oo().warning(e.message);
3956
+ bo().warning(e.message);
3957
3957
  }
3958
3958
  if (i.getSrc() && (t.src = i.getSrc()), i.getOpacity() != null && (t.opacity = i.getOpacity()), i.getAnchor() && i.getSize()) {
3959
3959
  const e = i.getAnchor()[0] / i.getSize()[0], s = i.getAnchor()[1] / i.getSize()[1];
@@ -3975,7 +3975,7 @@ function Ec(i) {
3975
3975
  }
3976
3976
  function p_(i) {
3977
3977
  if (i.radius) {
3978
- const t = i.fill ? xc(i.fill) : void 0, e = i.stroke ? bo(i.stroke) : void 0;
3978
+ const t = i.fill ? xc(i.fill) : void 0, e = i.stroke ? Eo(i.stroke) : void 0;
3979
3979
  return i.points ? new Nr({
3980
3980
  fill: t,
3981
3981
  stroke: e,
@@ -4002,15 +4002,15 @@ function p_(i) {
4002
4002
  return i.src && (Xt.contains(i.src) ? t.crossOrigin = "use-credentials" : Yt(i.src) || (t.crossOrigin = "anonymous")), new Si(t);
4003
4003
  }
4004
4004
  }
4005
- function ww(i) {
4005
+ function Mw(i) {
4006
4006
  return new ee({
4007
- stroke: i.stroke ? bo(i.stroke) : void 0,
4007
+ stroke: i.stroke ? Eo(i.stroke) : void 0,
4008
4008
  fill: i.fill ? xc(i.fill) : void 0,
4009
4009
  image: i.image ? p_(i.image) : void 0,
4010
4010
  text: i.text ? bc(i.text) : void 0
4011
4011
  });
4012
4012
  }
4013
- function Mw(i) {
4013
+ function Cw(i) {
4014
4014
  return {
4015
4015
  fill: i.getFill() ? Nn(i.getFill()) : void 0,
4016
4016
  stroke: i.getStroke() ? gr(i.getStroke()) : void 0,
@@ -4018,7 +4018,7 @@ function Mw(i) {
4018
4018
  text: i.getText() ? Oc(i.getText()) : void 0
4019
4019
  };
4020
4020
  }
4021
- function Cw(i) {
4021
+ function xw(i) {
4022
4022
  const t = {
4023
4023
  font: i.getFont(),
4024
4024
  textShadow: void 0,
@@ -4032,7 +4032,7 @@ function Cw(i) {
4032
4032
  }
4033
4033
  return i.getFill() && (t.color = wl(ze(i.getFill().getColor()))), t;
4034
4034
  }
4035
- const y_ = new ee({}), xw = [0, 0, 0, 0], gn = [255, 255, 255, 1], Ka = [0, 0, 0, 1];
4035
+ const y_ = new ee({}), Ow = [0, 0, 0, 0], gn = [255, 255, 255, 1], Ja = [0, 0, 0, 1];
4036
4036
  function Pc() {
4037
4037
  return {
4038
4038
  image: {
@@ -4040,7 +4040,7 @@ function Pc() {
4040
4040
  color: [255, 255, 255, 0.4]
4041
4041
  },
4042
4042
  stroke: {
4043
- color: Ka,
4043
+ color: Ja,
4044
4044
  width: 1
4045
4045
  },
4046
4046
  radius: 5
@@ -4065,11 +4065,11 @@ const __ = {
4065
4065
  olcs_color: ot(gn),
4066
4066
  olcs_scale: "1.0",
4067
4067
  olcs_outlineWidth: "0.0",
4068
- olcs_outlineColor: ot(Ka),
4068
+ olcs_outlineColor: ot(Ja),
4069
4069
  olcs_pointSize: "8.0",
4070
4070
  olcs_image: String(null),
4071
4071
  olcs_font: `'${(Mh = Pc().text) == null ? void 0 : Mh.font}'`,
4072
- olcs_fontColor: ot(Ka),
4072
+ olcs_fontColor: ot(Ja),
4073
4073
  olcs_fontOutlineWidth: "1.0",
4074
4074
  olcs_fontOutlineColor: ot(gn),
4075
4075
  olcs_labelText: String(null),
@@ -4082,7 +4082,7 @@ function ye(i, t) {
4082
4082
  ["true", __[i]]
4083
4083
  ];
4084
4084
  }
4085
- const Ow = (
4085
+ const bw = (
4086
4086
  // eslint-disable-next-line no-template-curly-in-string
4087
4087
  "${attributes} !== undefined && ${attributes} !== null && ${attributes.olcs_extrudedHeight} !== undefined && ${attributes.olcs_extrudedHeight}!==null"
4088
4088
  );
@@ -4142,7 +4142,7 @@ class he extends Wt {
4142
4142
  fill: e.fill === !1,
4143
4143
  stroke: e.stroke === !1,
4144
4144
  image: e.image === !1
4145
- }, this._fillOptions = null, this._fill = void 0, this._stroke = e.stroke ? bo(e.stroke) : void 0, this._text = void 0, e.text && (this._text = bc(e.text)), this._label = e.label, this.label = this._label, this._cesiumColor = new q(), this._image = void 0, e.image)
4145
+ }, this._fillOptions = null, this._fill = void 0, this._stroke = e.stroke ? Eo(e.stroke) : void 0, this._text = void 0, e.text && (this._text = bc(e.text)), this._label = e.label, this.label = this._label, this._cesiumColor = new q(), this._image = void 0, e.image)
4146
4146
  if (e.image.radius)
4147
4147
  this._image = Ic({ ...e.image });
4148
4148
  else {
@@ -4228,7 +4228,7 @@ class he extends Wt {
4228
4228
  }
4229
4229
  set text(e) {
4230
4230
  var s, r;
4231
- this._style instanceof ee ? (S(e, Q(lo)), this._text = e, (r = (s = this._text) == null ? void 0 : s.setText) == null || r.call(s, this._label), this._style.setText(this._text)) : this.getLogger().info("trying to set text on a style function");
4231
+ this._style instanceof ee ? (S(e, Q(ho)), this._text = e, (r = (s = this._text) == null ? void 0 : s.setText) == null || r.call(s, this._label), this._style.setText(this._text)) : this.getLogger().info("trying to set text on a style function");
4232
4232
  }
4233
4233
  get image() {
4234
4234
  return this._image;
@@ -4427,7 +4427,7 @@ function pr(i) {
4427
4427
  (i instanceof Ui || i instanceof qi) && Vr(i) && t ? i.color = t.cesiumFillColor : i instanceof ae && i.changed();
4428
4428
  }
4429
4429
  }
4430
- function Eo(i) {
4430
+ function Po(i) {
4431
4431
  delete i[ri], Dn(i), i[ut] || i[dt] ? mr(i) : i[be] && pr(i);
4432
4432
  }
4433
4433
  function M_(i) {
@@ -4451,7 +4451,7 @@ function C_(i, t) {
4451
4451
  const r = Object.keys(i.hiddenObjects);
4452
4452
  return r.length > 0 && e({ action: ne.HIDE, ids: r }), i.changed.addEventListener(e);
4453
4453
  }
4454
- class Po {
4454
+ class ta {
4455
4455
  constructor() {
4456
4456
  h(this, "hiddenObjects", {});
4457
4457
  h(this, "highlightedObjects", {});
@@ -4752,7 +4752,7 @@ class xe {
4752
4752
  function Nc(i, t, e) {
4753
4753
  return i != null && t != null && Math.abs(i - t) <= e;
4754
4754
  }
4755
- function pa(i, t, e) {
4755
+ function ya(i, t, e) {
4756
4756
  const s = i - t - Math.trunc((i - t) / 360) * 360;
4757
4757
  return Math.abs(s) <= e;
4758
4758
  }
@@ -4902,14 +4902,14 @@ class mt extends Gt {
4902
4902
  * Checks if this Viewpoint is Valid
4903
4903
  */
4904
4904
  isValid() {
4905
- const e = this.cameraPosition && Array.isArray(this.cameraPosition) && this.cameraPosition.length === 3 && this.cameraPosition.every((r) => Number.isFinite(r)) && Fa(xe.WGS_84_EXTENT, this.cameraPosition);
4906
- return !(!(this.groundPosition && Array.isArray(this.groundPosition) && this.groundPosition.length > 1 && this.groundPosition.length < 4 && this.groundPosition.every((r) => Number.isFinite(r)) && Fa(xe.WGS_84_EXTENT, this.groundPosition)) && !e || !e && !Number.isFinite(this.distance) || !Number.isFinite(this.heading) || !Number.isFinite(this.pitch) || !Number.isFinite(this.roll));
4905
+ const e = this.cameraPosition && Array.isArray(this.cameraPosition) && this.cameraPosition.length === 3 && this.cameraPosition.every((r) => Number.isFinite(r)) && Ra(xe.WGS_84_EXTENT, this.cameraPosition);
4906
+ return !(!(this.groundPosition && Array.isArray(this.groundPosition) && this.groundPosition.length > 1 && this.groundPosition.length < 4 && this.groundPosition.every((r) => Number.isFinite(r)) && Ra(xe.WGS_84_EXTENT, this.groundPosition)) && !e || !e && !Number.isFinite(this.distance) || !Number.isFinite(this.heading) || !Number.isFinite(this.pitch) || !Number.isFinite(this.roll));
4907
4907
  }
4908
4908
  /**
4909
4909
  * compares the provided Viewpoint with this viewpoint componentwise
4910
4910
  */
4911
4911
  equals(e, s = 0) {
4912
- return e === this || e !== null && Nc(e.distance, this.distance, s) && pa(e.heading, this.heading, s) && pa(e.pitch, this.pitch, s) && pa(e.roll, this.roll, s) && (xl(e.cameraPosition, this.cameraPosition, s) || xl(e.groundPosition, this.groundPosition, s));
4912
+ return e === this || e !== null && Nc(e.distance, this.distance, s) && ya(e.heading, this.heading, s) && ya(e.pitch, this.pitch, s) && ya(e.roll, this.roll, s) && (xl(e.cameraPosition, this.cameraPosition, s) || xl(e.groundPosition, this.groundPosition, s));
4913
4913
  }
4914
4914
  }
4915
4915
  function N_() {
@@ -5069,13 +5069,13 @@ class Tt {
5069
5069
  function Ol() {
5070
5070
  return ue("OverrideCollection");
5071
5071
  }
5072
- const Ja = Symbol("OverrideCollection");
5072
+ const Qa = Symbol("OverrideCollection");
5073
5073
  function Jt(i, t, e, s, r, n) {
5074
5074
  S(i, Tt);
5075
5075
  const a = i;
5076
- if (a[Ja])
5076
+ if (a[Qa])
5077
5077
  throw new Error("Cannot transform collection, collection already is an OverrideCollection");
5078
- a[Ja] = !0;
5078
+ a[Qa] = !0;
5079
5079
  const o = s || ((u) => u), l = e || ((u) => u.toJSON ? u.toJSON() : structuredClone(u)), c = n || ((u, f, g) => g);
5080
5080
  a.shadowMap = /* @__PURE__ */ new Map(), a.replace = function(f) {
5081
5081
  const g = f[a.uniqueKey], m = a.getByKey(g);
@@ -5154,12 +5154,12 @@ function Jt(i, t, e, s, r, n) {
5154
5154
  d(), a.shadowMap.clear(), a.replaced.destroy();
5155
5155
  }, a;
5156
5156
  }
5157
- var Qa;
5157
+ var eo;
5158
5158
  (function(i) {
5159
5159
  i[i.INACTIVE = 1] = "INACTIVE", i[i.ACTIVE = 2] = "ACTIVE", i[i.LOADING = 4] = "LOADING";
5160
- })(Qa || (Qa = {}));
5161
- const pe = Qa;
5162
- class eo {
5160
+ })(eo || (eo = {}));
5161
+ const pe = eo;
5162
+ class to {
5163
5163
  constructor() {
5164
5164
  h(this, "hiddenObjects", {});
5165
5165
  h(this, "_hiddenObjectFeatures", {});
@@ -5325,7 +5325,7 @@ class Ye extends Gt {
5325
5325
  return this._globalHider;
5326
5326
  }
5327
5327
  setGlobalHider(e) {
5328
- S(e, Q(eo)), e && this.active && e.hideObjects(this.hiddenObjectIds), this._globalHider = e;
5328
+ S(e, Q(to)), e && this.active && e.hideObjects(this.hiddenObjectIds), this._globalHider = e;
5329
5329
  }
5330
5330
  /**
5331
5331
  * Indicates, that this layer is part of an exclusiveGroup
@@ -5537,7 +5537,7 @@ class Ye extends Gt {
5537
5537
  }
5538
5538
  }
5539
5539
  De.registerClass(Ye.className, Ye);
5540
- const li = Symbol("alreadyTransformedToMercator"), Xe = Symbol("alreadyTransformedToImage"), xt = Symbol("obliqueGeometry"), ta = Symbol("doNotTransform"), An = Symbol("OriginalFeature"), er = Symbol("ActuallyIsCircle"), st = Symbol("createSync"), Ti = new q(), k_ = new lo({
5540
+ const li = Symbol("alreadyTransformedToMercator"), Xe = Symbol("alreadyTransformedToImage"), xt = Symbol("obliqueGeometry"), ia = Symbol("doNotTransform"), An = Symbol("OriginalFeature"), er = Symbol("ActuallyIsCircle"), st = Symbol("createSync"), Ti = new q(), k_ = new ho({
5541
5541
  font: "30px sans-serif",
5542
5542
  fill: new it({ color: gn }),
5543
5543
  textAlign: "left",
@@ -5841,7 +5841,7 @@ const ni = "2.1", Us = {
5841
5841
  cesium3DTile: ds.CESIUM_3D_TILE,
5842
5842
  terrain: ds.TERRAIN
5843
5843
  };
5844
- function ya(i, t) {
5844
+ function _a(i, t) {
5845
5845
  if (Array.isArray(i)) {
5846
5846
  const e = i.map((s) => R(s)).filter((s) => s != null);
5847
5847
  if (e.length === 4)
@@ -5849,7 +5849,7 @@ function ya(i, t) {
5849
5849
  }
5850
5850
  return t;
5851
5851
  }
5852
- function _a(i, t) {
5852
+ function va(i, t) {
5853
5853
  if (Array.isArray(i)) {
5854
5854
  const e = i.map((s) => R(s)).filter((s) => s != null);
5855
5855
  if (e.length === 3)
@@ -5919,7 +5919,7 @@ class It {
5919
5919
  */
5920
5920
  h(this, "propertyChanged");
5921
5921
  const e = It.getDefaultOptions();
5922
- this._altitudeMode = gi(t.altitudeMode, Us, Le.CLAMP_TO_GROUND), this._allowPicking = de(t.allowPicking, e.allowPicking), this._classificationType = gi(t.classificationType, qs), this._scaleByDistance = ya(t.scaleByDistance, void 0), this._eyeOffset = _a(t.eyeOffset, void 0), this._heightAboveGround = R(t.heightAboveGround, e.heightAboveGround), this._skirt = R(t.skirt, e.skirt), this._groundLevel = R(t.groundLevel, e.groundLevel), this._extrudedHeight = R(t.extrudedHeight, e.extrudedHeight), this._storeysAboveGround = le(t.storeysAboveGround, e.storeysAboveGround), this._storeysBelowGround = le(t.storeysBelowGround, e.storeysBelowGround), this._storeyHeightsAboveGround = Ji(t.storeyHeightsAboveGround, e.storeyHeightsAboveGround), this._storeyHeightsBelowGround = Ji(t.storeyHeightsBelowGround, e.storeyHeightsBelowGround), this._modelUrl = t.modelUrl ?? e.modelUrl, this._modelScaleX = R(t.modelScaleX, e.modelScaleX), this._modelScaleY = R(t.modelScaleY, e.modelScaleY), this._modelScaleZ = R(t.modelScaleZ, e.modelScaleZ), this._modelHeading = R(t.modelHeading, e.modelHeading), this._modelPitch = R(t.modelPitch, e.modelPitch), this._modelRoll = R(t.modelRoll, e.modelRoll), this._baseUrl = t.baseUrl ?? e.baseUrl, this._modelOptions = t.modelOptions || e.modelOptions, this._modelAutoScale = de(t.modelAutoScale, e.modelAutoScale), this._primitiveOptions = t.primitiveOptions || e.primitiveOptions, this.propertyChanged = new I();
5922
+ this._altitudeMode = gi(t.altitudeMode, Us, Le.CLAMP_TO_GROUND), this._allowPicking = de(t.allowPicking, e.allowPicking), this._classificationType = gi(t.classificationType, qs), this._scaleByDistance = _a(t.scaleByDistance, void 0), this._eyeOffset = va(t.eyeOffset, void 0), this._heightAboveGround = R(t.heightAboveGround, e.heightAboveGround), this._skirt = R(t.skirt, e.skirt), this._groundLevel = R(t.groundLevel, e.groundLevel), this._extrudedHeight = R(t.extrudedHeight, e.extrudedHeight), this._storeysAboveGround = le(t.storeysAboveGround, e.storeysAboveGround), this._storeysBelowGround = le(t.storeysBelowGround, e.storeysBelowGround), this._storeyHeightsAboveGround = Ji(t.storeyHeightsAboveGround, e.storeyHeightsAboveGround), this._storeyHeightsBelowGround = Ji(t.storeyHeightsBelowGround, e.storeyHeightsBelowGround), this._modelUrl = t.modelUrl ?? e.modelUrl, this._modelScaleX = R(t.modelScaleX, e.modelScaleX), this._modelScaleY = R(t.modelScaleY, e.modelScaleY), this._modelScaleZ = R(t.modelScaleZ, e.modelScaleZ), this._modelHeading = R(t.modelHeading, e.modelHeading), this._modelPitch = R(t.modelPitch, e.modelPitch), this._modelRoll = R(t.modelRoll, e.modelRoll), this._baseUrl = t.baseUrl ?? e.baseUrl, this._modelOptions = t.modelOptions || e.modelOptions, this._modelAutoScale = de(t.modelAutoScale, e.modelAutoScale), this._primitiveOptions = t.primitiveOptions || e.primitiveOptions, this.propertyChanged = new I();
5923
5923
  }
5924
5924
  /**
5925
5925
  * Returns the default options for VectorProperties
@@ -5987,7 +5987,7 @@ class It {
5987
5987
  Zs.equals(t, this._scaleByDistance) || (S(t, Q(Zs)), this._scaleByDistance = t, this.propertyChanged.raiseEvent(["scaleByDistance"]));
5988
5988
  }
5989
5989
  getScaleByDistance(t) {
5990
- return ya(t.get("olcs_scaleByDistance"), this.scaleByDistance);
5990
+ return _a(t.get("olcs_scaleByDistance"), this.scaleByDistance);
5991
5991
  }
5992
5992
  get eyeOffset() {
5993
5993
  return this._eyeOffset;
@@ -6002,7 +6002,7 @@ class It {
6002
6002
  if (s)
6003
6003
  return H_().deprecate("zCoordinateEyeOffset", "use eyeOffset and provide [0,0,value]"), new _(0, 0, R(s, 0));
6004
6004
  }
6005
- return _a(e, this.eyeOffset);
6005
+ return va(e, this.eyeOffset);
6006
6006
  }
6007
6007
  get heightAboveGround() {
6008
6008
  return this._heightAboveGround;
@@ -6251,11 +6251,11 @@ class It {
6251
6251
  this._classificationType !== n && (this._classificationType = n, s.push("classificationType"));
6252
6252
  }
6253
6253
  if ("scaleByDistance" in t) {
6254
- const r = ya(t.scaleByDistance, void 0);
6254
+ const r = _a(t.scaleByDistance, void 0);
6255
6255
  Zs.equals(r, this._scaleByDistance) || (this._scaleByDistance = r, s.push("scaleByDistance"));
6256
6256
  }
6257
6257
  if ("eyeOffset" in t) {
6258
- const r = _a(t.eyeOffset, void 0);
6258
+ const r = va(t.eyeOffset, void 0);
6259
6259
  _.equals(r, this._eyeOffset) || (this._eyeOffset = r, s.push("eyeOffset"));
6260
6260
  }
6261
6261
  if ("heightAboveGround" in t) {
@@ -6488,7 +6488,7 @@ class hi extends Ye {
6488
6488
  */
6489
6489
  h(this, "featureVisibility");
6490
6490
  const s = hi.getDefaultOptions();
6491
- this._style = this.getStyleOrDefaultStyle(e.style), this._defaultStyle = this._style, this.balloonHeightOffset = le(e.balloonHeightOffset, s.balloonHeightOffset), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? Me.LEFT : Me.RIGHT), this.featureVisibility = e.featureVisibility || new Po();
6491
+ this._style = this.getStyleOrDefaultStyle(e.style), this._defaultStyle = this._style, this.balloonHeightOffset = le(e.balloonHeightOffset, s.balloonHeightOffset), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? Me.LEFT : Me.RIGHT), this.featureVisibility = e.featureVisibility || new ta();
6492
6492
  }
6493
6493
  static get className() {
6494
6494
  return "FeatureLayer";
@@ -6759,7 +6759,7 @@ class ai extends bi {
6759
6759
  * aware layers.
6760
6760
  */
6761
6761
  h(this, "_locale");
6762
- this._layerEventListeners = {}, this._zIndexSymbol = Symbol("zIndex"), this.stateChanged = new I(), this.exclusiveManager = new V_(), this._globalHider = new eo(), this._locale = "en";
6762
+ this._layerEventListeners = {}, this._zIndexSymbol = Symbol("zIndex"), this.stateChanged = new I(), this.exclusiveManager = new V_(), this._globalHider = new to(), this._locale = "en";
6763
6763
  }
6764
6764
  /**
6765
6765
  * Creates a LayerCollection from an iterable of layers, such as an Array.
@@ -6791,7 +6791,7 @@ class ai extends bi {
6791
6791
  * @param globalHider
6792
6792
  */
6793
6793
  set globalHider(e) {
6794
- S(e, eo), this._globalHider = e, this._array.forEach((s) => {
6794
+ S(e, to), this._globalHider = e, this._array.forEach((s) => {
6795
6795
  s.setGlobalHider(this._globalHider);
6796
6796
  });
6797
6797
  }
@@ -6889,11 +6889,11 @@ class ai extends bi {
6889
6889
  }), this._layerEventListeners = {}, this.exclusiveManager.destroy(), this._globalHider.destroy(), super.destroy();
6890
6890
  }
6891
6891
  }
6892
- var to;
6892
+ var io;
6893
6893
  (function(i) {
6894
6894
  i[i.INACTIVE = 1] = "INACTIVE", i[i.ACTIVE = 2] = "ACTIVE", i[i.LOADING = 4] = "LOADING";
6895
- })(to || (to = {}));
6896
- const bt = to, Y = Symbol("vcsLayerName");
6895
+ })(io || (io = {}));
6896
+ const bt = io, Y = Symbol("vcsLayerName");
6897
6897
  class Ei extends Gt {
6898
6898
  /**
6899
6899
  * @param options
@@ -7329,7 +7329,7 @@ class Oe extends yr {
7329
7329
  };
7330
7330
  }
7331
7331
  async initialize() {
7332
- this.initialized || (await super.initialize(), this.olMap.setView(new ho({
7332
+ this.initialized || (await super.initialize(), this.olMap.setView(new co({
7333
7333
  center: [1.2309226203948376e6, 6350766117974091e-9],
7334
7334
  zoom: 13
7335
7335
  })), this.initialized = !0);
@@ -7455,7 +7455,7 @@ class Zi extends Gt {
7455
7455
  this._initialized = !1, this._state = pe.INACTIVE, this._map = void 0, super.destroy();
7456
7456
  }
7457
7457
  }
7458
- class ia extends Zi {
7458
+ class sa extends Zi {
7459
7459
  constructor(e, s) {
7460
7460
  super(e, s);
7461
7461
  h(this, "olLayer", null);
@@ -7543,7 +7543,7 @@ function Io(i, t, e) {
7543
7543
  }
7544
7544
  ];
7545
7545
  }
7546
- class Ac extends ia {
7546
+ class Ac extends sa {
7547
7547
  constructor(e, s) {
7548
7548
  super(e, s);
7549
7549
  h(this, "source");
@@ -7601,7 +7601,7 @@ function q_(i, t, e) {
7601
7601
  const n = document.createElement("canvas"), a = n.getContext("2d");
7602
7602
  a.fillStyle = r, a.fillRect(0, 0, 300, 300), s.material = Ft.fromType("Wallpaper", {
7603
7603
  image: n,
7604
- anchor: xd.wgs84ToDrawingBufferCoordinates(i, _.fromDegreesArray(co(e.getGeometry().getExtent()))[0])
7604
+ anchor: xd.wgs84ToDrawingBufferCoordinates(i, _.fromDegreesArray(uo(e.getGeometry().getExtent()))[0])
7605
7605
  });
7606
7606
  } else {
7607
7607
  const n = si(r, [0, 0, 0, 1]);
@@ -7698,7 +7698,7 @@ function Fc(i, t, e, s, r, n, a) {
7698
7698
  oddColor: new q(0, 0, 0, 0)
7699
7699
  // transparent
7700
7700
  }) : d = Ft.fromType("Color", { color: c });
7701
- const u = new ja({
7701
+ const u = new Va({
7702
7702
  renderState: {
7703
7703
  depthTest: {
7704
7704
  enabled: !0
@@ -7793,7 +7793,7 @@ function Ll(i, t, e, s) {
7793
7793
  }
7794
7794
  return s ? (s.push(...o), s) : o;
7795
7795
  }
7796
- function sa(i, t, e, s, r, n, a) {
7796
+ function ra(i, t, e, s, r, n, a) {
7797
7797
  if (!e.length)
7798
7798
  return;
7799
7799
  const o = [], l = [], c = [], d = Rc(i, s, n.getCoordinates(e)), u = !!t.getFill(), f = !!t.getStroke();
@@ -7853,7 +7853,7 @@ function Gc(i, t) {
7853
7853
  function kc(i) {
7854
7854
  return i instanceof Ot ? Ph(i) : (i instanceof Dt && i.unset("_vcsGeomType"), i);
7855
7855
  }
7856
- function io(i) {
7856
+ function so(i) {
7857
7857
  const [t, e] = i[i.length - 1];
7858
7858
  i[0][0] === t && i[0][1] === e || i.push(i[0].slice());
7859
7859
  }
@@ -7923,7 +7923,7 @@ function jc(i, t) {
7923
7923
  }), s;
7924
7924
  }
7925
7925
  function i0(i, t) {
7926
- return jc(i, t).map((e) => new uo(e));
7926
+ return jc(i, t).map((e) => new fo(e));
7927
7927
  }
7928
7928
  function s0(i, t) {
7929
7929
  return jc(i, t).map((e) => new Gi(e));
@@ -7936,10 +7936,10 @@ function r0(i, t, e, s) {
7936
7936
  const u = k.mercatorToWgs84(d);
7937
7937
  return !e && s ? u[2] = s : u[2] != null && (u[2] += t), _.fromDegrees(u[0], u[1], u[2]);
7938
7938
  });
7939
- _.equals(c[0], c[c.length - 1]) || c.push(c[0]), o === 0 ? r = c : n.push(new Va(c));
7939
+ _.equals(c[0], c[c.length - 1]) || c.push(c[0]), o === 0 ? r = c : n.push(new $a(c));
7940
7940
  }
7941
7941
  return {
7942
- polygonHierarchy: new Va(r, n)
7942
+ polygonHierarchy: new $a(r, n)
7943
7943
  };
7944
7944
  }
7945
7945
  function n0(i) {
@@ -7948,9 +7948,9 @@ function n0(i) {
7948
7948
  t.push(...Lo(e));
7949
7949
  }), t;
7950
7950
  }
7951
- let va = null;
7951
+ let Sa = null;
7952
7952
  function a0() {
7953
- return va || (va = {
7953
+ return Sa || (Sa = {
7954
7954
  getCoordinates: n0,
7955
7955
  getGeometryOptions: r0,
7956
7956
  createSolidGeometries: Hc,
@@ -7958,7 +7958,7 @@ function a0() {
7958
7958
  createFillGeometries: t0,
7959
7959
  createGroundLineGeometries: i0,
7960
7960
  createLineGeometries: s0
7961
- }), va;
7961
+ }), Sa;
7962
7962
  }
7963
7963
  function Vc(i) {
7964
7964
  if (i.getType() !== "Polygon")
@@ -7976,7 +7976,7 @@ function Nl(i, t, e, s, r, n) {
7976
7976
  if (!t.getFill() && !t.getStroke())
7977
7977
  return;
7978
7978
  const a = a0(), o = e.filter((l) => Vc(l));
7979
- sa(i, t, o, s, r, a, n);
7979
+ ra(i, t, o, s, r, a, n);
7980
7980
  }
7981
7981
  function $c(i, t, e, s) {
7982
7982
  return [
@@ -8013,7 +8013,7 @@ function Bc(i, t) {
8013
8013
  }
8014
8014
  function h0(i, t) {
8015
8015
  const e = Bc(i, t);
8016
- return [new uo(e)];
8016
+ return [new fo(e)];
8017
8017
  }
8018
8018
  function c0(i, t) {
8019
8019
  const e = Bc(i, t);
@@ -8033,9 +8033,9 @@ function u0(i, t, e, s) {
8033
8033
  function d0(i) {
8034
8034
  return i.map((t) => t.getCenter());
8035
8035
  }
8036
- let Sa = null;
8036
+ let wa = null;
8037
8037
  function f0() {
8038
- return Sa || (Sa = {
8038
+ return wa || (wa = {
8039
8039
  getCoordinates: d0,
8040
8040
  getGeometryOptions: u0,
8041
8041
  createSolidGeometries: $c,
@@ -8043,7 +8043,7 @@ function f0() {
8043
8043
  createFillGeometries: l0,
8044
8044
  createGroundLineGeometries: h0,
8045
8045
  createLineGeometries: c0
8046
- }), Sa;
8046
+ }), wa;
8047
8047
  }
8048
8048
  function Uc(i) {
8049
8049
  if (i.getType() !== "Circle")
@@ -8055,7 +8055,7 @@ function g0(i, t, e, s, r, n) {
8055
8055
  if (!t.getFill() && !t.getStroke())
8056
8056
  return;
8057
8057
  const a = f0(), o = e.filter((l) => Uc(l));
8058
- sa(i, t, o, s, r, a, n);
8058
+ ra(i, t, o, s, r, a, n);
8059
8059
  }
8060
8060
  var Je;
8061
8061
  (function(i) {
@@ -8104,7 +8104,7 @@ function p0() {
8104
8104
  offset: [0, 0, -4.3]
8105
8105
  };
8106
8106
  }
8107
- class ra extends ee {
8107
+ class na extends ee {
8108
8108
  constructor(e = {}) {
8109
8109
  const s = e.color ?? "#000000", r = {
8110
8110
  stroke: new He({
@@ -8150,7 +8150,7 @@ class ra extends ee {
8150
8150
  _render(e, s) {
8151
8151
  if (s.geometry.getType() === "LineString" && e.length > 1 && this.width) {
8152
8152
  const r = s.context;
8153
- this.end !== Je.NONE && ((this.end === Je.START || this.end === Je.BOTH) && this._drawArrow(r, e[0], Ya(e[1], e[0]), s.pixelRatio), (this.end === Je.END || this.end === Je.BOTH) && this._drawArrow(r, e.at(-1), Ya(e.at(-2), e.at(-1)), s.pixelRatio)), r.save(), r.lineJoin = "round", r.lineWidth = this.width, r.strokeStyle = ot(this.color), r.beginPath(), r.moveTo(e[0][0], e[0][1]);
8153
+ this.end !== Je.NONE && ((this.end === Je.START || this.end === Je.BOTH) && this._drawArrow(r, e[0], Za(e[1], e[0]), s.pixelRatio), (this.end === Je.END || this.end === Je.BOTH) && this._drawArrow(r, e.at(-1), Za(e.at(-2), e.at(-1)), s.pixelRatio)), r.save(), r.lineJoin = "round", r.lineWidth = this.width, r.strokeStyle = ot(this.color), r.beginPath(), r.moveTo(e[0][0], e[0][1]);
8154
8154
  for (let n = 0; n < e.length; n++)
8155
8155
  r.lineTo(e[n][0], e[n][1]);
8156
8156
  r.stroke(), r.restore();
@@ -8176,7 +8176,7 @@ class ra extends ee {
8176
8176
  };
8177
8177
  }
8178
8178
  clone() {
8179
- return new ra(this._getCloneOptions());
8179
+ return new na(this._getCloneOptions());
8180
8180
  }
8181
8181
  }
8182
8182
  function y0(i, t, e, s) {
@@ -8229,7 +8229,7 @@ async function Dl(i, t, e, s, r, n) {
8229
8229
  }
8230
8230
  return {
8231
8231
  primitives: await Promise.all(e.map(async (g, m) => {
8232
- const p = F.multiply(Mi.headingPitchRollToFixedFrame(g, l), F.fromScale(o), new F()), y = s.getModelOptions(i), v = s.getAltitudeMode(i), w = await fo.fromGltfAsync({
8232
+ const p = F.multiply(Mi.headingPitchRollToFixedFrame(g, l), F.fromScale(o), new F()), y = s.getModelOptions(i), v = s.getAltitudeMode(i), w = await go.fromGltfAsync({
8233
8233
  asynchronous: !i[st],
8234
8234
  url: a.url,
8235
8235
  modelMatrix: p,
@@ -8255,7 +8255,7 @@ async function Dl(i, t, e, s, r, n) {
8255
8255
  options: a
8256
8256
  };
8257
8257
  }
8258
- function wa(i, t, e) {
8258
+ function Ma(i, t, e) {
8259
8259
  var r, n;
8260
8260
  let s;
8261
8261
  return Di(i, Mt.CYLINDER) ? s = e ? new Ld(i.geometryOptions) : new kh(i.geometryOptions) : Di(i, Mt.ELLIPSOID) && (Array.isArray((r = i.geometryOptions) == null ? void 0 : r.radii) && (i.geometryOptions.radii = _.fromArray(i.geometryOptions.radii)), Array.isArray((n = i.geometryOptions) == null ? void 0 : n.innerRadii) && (i.geometryOptions.innerRadii = _.fromArray(i.geometryOptions.innerRadii)), s = e ? new Td(i.geometryOptions) : new zh(i.geometryOptions)), Di(i, Mt.SPHERE) && (s = e ? new Nd(i.geometryOptions) : new Dd(i.geometryOptions)), Di(i, Mt.BOX) && (Array.isArray(i.geometryOptions.minimum) && (i.geometryOptions.minimum = _.fromArray(i.geometryOptions.minimum)), Array.isArray(i.geometryOptions.maximum) && (i.geometryOptions.maximum = _.fromArray(i.geometryOptions.maximum)), s = e ? new Ad(i.geometryOptions) : new Hh(i.geometryOptions)), s ? new ct({
@@ -8265,7 +8265,7 @@ function wa(i, t, e) {
8265
8265
  }
8266
8266
  }) : null;
8267
8267
  }
8268
- async function so(i, t, e, s, r, n) {
8268
+ async function ro(i, t, e, s, r, n) {
8269
8269
  const a = r.getPrimitive(i);
8270
8270
  if (!a)
8271
8271
  return null;
@@ -8312,16 +8312,16 @@ async function so(i, t, e, s, r, n) {
8312
8312
  }, W = [];
8313
8313
  if (d)
8314
8314
  W.push(G(d.alpha < 1 || !!L, [
8315
- wa(a.primitiveOptions, d)
8315
+ Ma(a.primitiveOptions, d)
8316
8316
  ], L));
8317
8317
  else if (L) {
8318
8318
  const B = q.TRANSPARENT;
8319
8319
  W.push(G(!0, [
8320
- wa(a.primitiveOptions, B)
8320
+ Ma(a.primitiveOptions, B)
8321
8321
  ], L));
8322
8322
  }
8323
8323
  return u && W.push(G(u.alpha < 1 || !!L, [
8324
- wa(a.primitiveOptions, u, !0)
8324
+ Ma(a.primitiveOptions, u, !0)
8325
8325
  ])), Promise.all(W);
8326
8326
  }))).flatMap((v) => v),
8327
8327
  options: a
@@ -8332,7 +8332,7 @@ function Al(i, t, e) {
8332
8332
  return s += 90, {
8333
8333
  location: t,
8334
8334
  pitch: s,
8335
- heading: N.toDegrees(Ya(i, t) + N.PI_OVER_TWO)
8335
+ heading: N.toDegrees(Za(i, t) + N.PI_OVER_TWO)
8336
8336
  };
8337
8337
  }
8338
8338
  async function Xc(i, t, e, s, r, n, a) {
@@ -8354,7 +8354,7 @@ async function Xc(i, t, e, s, r, n, a) {
8354
8354
  olcs_modelPitch: f.pitch,
8355
8355
  geometry: new Nt(f.location),
8356
8356
  olcs_modelAutoScale: !0
8357
- }), m = k.mercatorToWgs84(f.location), p = _.fromDegrees(m[0], m[1], m[2]), y = await so(g, c, [m], [p], s, r);
8357
+ }), m = k.mercatorToWgs84(f.location), p = _.fromDegrees(m[0], m[1], m[2]), y = await ro(g, c, [m], [p], s, r);
8358
8358
  y != null && y.primitives && a.addScaledPrimitives(y.primitives, i, d);
8359
8359
  }));
8360
8360
  }
@@ -8382,7 +8382,7 @@ function Kc(i, t, e) {
8382
8382
  function Jc(i, t) {
8383
8383
  const e = R(t.getStroke().getWidth(), 1);
8384
8384
  return [
8385
- new uo({
8385
+ new fo({
8386
8386
  ...i,
8387
8387
  width: e
8388
8388
  })
@@ -8409,9 +8409,9 @@ function eu(i) {
8409
8409
  t.push(...Lo(e));
8410
8410
  }), t;
8411
8411
  }
8412
- let Ma = null;
8412
+ let Ca = null;
8413
8413
  function _0() {
8414
- return Ma || (Ma = {
8414
+ return Ca || (Ca = {
8415
8415
  getCoordinates: eu,
8416
8416
  getGeometryOptions: Qc,
8417
8417
  createSolidGeometries: Yc,
@@ -8419,7 +8419,7 @@ function _0() {
8419
8419
  createFillGeometries: Kc,
8420
8420
  createGroundLineGeometries: Jc,
8421
8421
  createLineGeometries: To
8422
- }), Ma;
8422
+ }), Ca;
8423
8423
  }
8424
8424
  function No(i) {
8425
8425
  if (i.getType() !== "LineString")
@@ -8431,7 +8431,7 @@ async function Fl(i, t, e, s, r, n) {
8431
8431
  if (!t.getFill() && !t.getStroke())
8432
8432
  return;
8433
8433
  const a = _0(), o = e.filter((l) => No(l));
8434
- sa(i, t, o, s, r, a, n), t instanceof ra && await Xc(i, t, o, s, r, a, n);
8434
+ ra(i, t, o, s, r, a, n), t instanceof na && await Xc(i, t, o, s, r, a, n);
8435
8435
  }
8436
8436
  function v0(i) {
8437
8437
  return i.map((t) => t.getCoordinates());
@@ -8472,18 +8472,18 @@ function w0(i, t, e, s) {
8472
8472
  c && (a.font = c);
8473
8473
  const d = r.getFill(), u = r.getStroke();
8474
8474
  let f;
8475
- d && (a.fillColor = si(d.getColor(), [0, 0, 0, 1]), f = ca.FILL), u && (a.outlineWidth = R(u.getWidth(), 1), a.outlineColor = si(u.getColor(), [0, 0, 0, 1]), f = ca.OUTLINE), d && u && (f = ca.FILL_AND_OUTLINE), a.style = f;
8475
+ d && (a.fillColor = si(d.getColor(), [0, 0, 0, 1]), f = ua.FILL), u && (a.outlineWidth = R(u.getWidth(), 1), a.outlineColor = si(u.getColor(), [0, 0, 0, 1]), f = ua.OUTLINE), d && u && (f = ua.FILL_AND_OUTLINE), a.style = f;
8476
8476
  let g;
8477
8477
  switch (r.getTextAlign()) {
8478
8478
  case "left":
8479
- g = ua.LEFT;
8479
+ g = da.LEFT;
8480
8480
  break;
8481
8481
  case "right":
8482
- g = ua.RIGHT;
8482
+ g = da.RIGHT;
8483
8483
  break;
8484
8484
  case "center":
8485
8485
  default:
8486
- g = ua.CENTER;
8486
+ g = da.CENTER;
8487
8487
  }
8488
8488
  a.horizontalOrigin = g;
8489
8489
  let m;
@@ -8546,7 +8546,7 @@ async function Rl(i, t, e, s, r, n) {
8546
8546
  let { heightReference: c } = l;
8547
8547
  const d = s.getAllowPicking(i), { positions: u, wgs84Positions: f } = M0(o, l);
8548
8548
  let g = null;
8549
- if (i.get("olcs_modelUrl") ? g = await Dl(i, f, u, s, r, t) : i.get("olcs_primitiveOptions") ? g = await so(i, t, f, u, s, r) : g = await Dl(i, f, u, s, r, t) ?? await so(i, t, f, u, s, r), l.extruded && t.getStroke()) {
8549
+ if (i.get("olcs_modelUrl") ? g = await Dl(i, f, u, s, r, t) : i.get("olcs_primitiveOptions") ? g = await ro(i, t, f, u, s, r) : g = await Dl(i, f, u, s, r, t) ?? await ro(i, t, f, u, s, r), l.extruded && t.getStroke()) {
8550
8550
  const m = C0(f, l, u, t);
8551
8551
  if (m.length) {
8552
8552
  c = Le.NONE;
@@ -8635,16 +8635,16 @@ function P0(i, t, e, s, r, n) {
8635
8635
  ];
8636
8636
  return m;
8637
8637
  }
8638
- function ro(i, t, e, s) {
8638
+ function no(i, t, e, s) {
8639
8639
  t[ei] && t[ei].destroy();
8640
8640
  const r = t.getGeometry(), n = [], a = () => {
8641
8641
  re(n);
8642
8642
  };
8643
8643
  if (n.push(t.on("change:geometry", () => {
8644
- ro(i, t, e, s);
8644
+ no(i, t, e, s);
8645
8645
  })), r instanceof Ut) {
8646
8646
  n.push(r.on("change", () => {
8647
- ro(i, t, e, s);
8647
+ no(i, t, e, s);
8648
8648
  }));
8649
8649
  const o = r.getFirstCoordinate(), l = r.getLastCoordinate(), c = _t(o, l), d = c * i;
8650
8650
  let u = s;
@@ -8669,7 +8669,7 @@ function ro(i, t, e, s) {
8669
8669
  destroy: a
8670
8670
  };
8671
8671
  }
8672
- class Do extends ra {
8672
+ class Do extends na {
8673
8673
  /**
8674
8674
  * @param [options=]
8675
8675
  */
@@ -8716,7 +8716,7 @@ class Do extends ra {
8716
8716
  }
8717
8717
  _getFeatureArcGeometry(e) {
8718
8718
  var s;
8719
- return (!e[ei] || e[Gl] !== this._revisionId) && (ro(this._arcFactor, e, this._numberOfSegments, this._offset), e[Gl] = this._revisionId), (s = e[ei]) == null ? void 0 : s.geometry;
8719
+ return (!e[ei] || e[Gl] !== this._revisionId) && (no(this._arcFactor, e, this._numberOfSegments, this._offset), e[Gl] = this._revisionId), (s = e[ei]) == null ? void 0 : s.geometry;
8720
8720
  }
8721
8721
  _getCloneOptions() {
8722
8722
  const e = super._getCloneOptions();
@@ -8750,7 +8750,7 @@ async function N0(i, t, e, s, r, n) {
8750
8750
  if (!t.getFill() && !t.getStroke())
8751
8751
  return;
8752
8752
  const a = s.getAltitudeMode(i), o = T0(i[ei].coordinates, a), l = e.filter((c) => No(c));
8753
- sa(i, t, l, s, r, o, n), await Xc(i, t, l, s, r, o, n);
8753
+ ra(i, t, l, s, r, o, n), await Xc(i, t, l, s, r, o, n);
8754
8754
  }
8755
8755
  async function iu(i, t, e, s, r, n) {
8756
8756
  var a;
@@ -8786,7 +8786,7 @@ function us(i, t, e, s, r, n) {
8786
8786
  if (i.length) {
8787
8787
  const a = i.map((o) => {
8788
8788
  const l = s.add(o);
8789
- return e && A0(t, l), n && l instanceof fo && (l.splitDirection = n), l;
8789
+ return e && A0(t, l), n && l instanceof go && (l.splitDirection = n), l;
8790
8790
  });
8791
8791
  r.has(t) ? r.get(t).push(...a) : r.set(t, a);
8792
8792
  }
@@ -8794,7 +8794,7 @@ function us(i, t, e, s, r, n) {
8794
8794
  function kl(i, t) {
8795
8795
  for (let e = 0; e < t.length; e++) {
8796
8796
  const s = t.get(e);
8797
- s instanceof fo && (s.splitDirection = i);
8797
+ s instanceof go && (s.splitDirection = i);
8798
8798
  }
8799
8799
  }
8800
8800
  const zl = Symbol("Scale"), F0 = new _();
@@ -9050,7 +9050,7 @@ const su = {
9050
9050
  west: ve.WEST,
9051
9051
  nadir: ve.NADIR
9052
9052
  };
9053
- function bw(i) {
9053
+ function Ew(i) {
9054
9054
  const t = Object.entries(su).find(([, e]) => e === i);
9055
9055
  return t == null ? void 0 : t[0];
9056
9056
  }
@@ -9080,11 +9080,11 @@ function H0(i, t, e) {
9080
9080
  const s = i.tilingScheme.positionToTileXY(e, t, new z());
9081
9081
  return !!i.getTileDataAvailable(s.x, s.y, t);
9082
9082
  }
9083
- let Ca = new z(), xa = new z();
9083
+ let xa = new z(), Oa = new z();
9084
9084
  function Hl(i, t = !1) {
9085
9085
  const e = i.slice(), s = ir(e);
9086
9086
  let n = [
9087
- co(s),
9087
+ uo(s),
9088
9088
  Ih(s),
9089
9089
  Lh(s),
9090
9090
  Yn(s)
@@ -9098,7 +9098,7 @@ function Hl(i, t = !1) {
9098
9098
  return t === ve.EAST ? n = [n[3], n[0], n[1], n[2]] : t === ve.SOUTH ? n = [n[2], n[3], n[0], n[1]] : t === ve.WEST && (n = [n[1], n[2], n[3], n[0]]), n;
9099
9099
  }
9100
9100
  function ks(i, t) {
9101
- return Ca = z.fromElements(i[0], i[1], Ca), xa = z.fromElements(t[0], t[1], xa), z.angleBetween(Ca, xa);
9101
+ return xa = z.fromElements(i[0], i[1], xa), Oa = z.fromElements(t[0], t[1], Oa), z.angleBetween(xa, Oa);
9102
9102
  }
9103
9103
  function jl(i, t) {
9104
9104
  const [[e, s], [r, n]] = i, [[a, o], [l, c]] = t;
@@ -9203,7 +9203,7 @@ function j0(i, t, e, s, r) {
9203
9203
  return !(ks(O, M) == null || (c = jl([a[u[0].cornerPoint], p], [a[u[1].cornerPoint], C]), c.x == null || c.y == null));
9204
9204
  }), c;
9205
9205
  }
9206
- function Ew(i, t, e = {}) {
9206
+ function Pw(i, t, e = {}) {
9207
9207
  let s;
9208
9208
  e.dataProjection && e.dataProjection === i.meta.projection ? s = t : s = e.dataProjection ? Ri(t, e.dataProjection.proj, i.meta.projection.proj) : Ri(t, U.proj, i.meta.projection.proj);
9209
9209
  function r() {
@@ -9247,7 +9247,7 @@ async function vr(i, t, e = {}) {
9247
9247
  terrainErrorCountThreshold: n
9248
9248
  })), a.coords = e.dataProjection ? Ri(a.coords, oe.proj, e.dataProjection.proj) : Ri(a.coords, oe.proj, U.proj), a;
9249
9249
  }
9250
- function Pw(i) {
9250
+ function Iw(i) {
9251
9251
  return ue("hasSameOrigin").deprecate("hasSameOrigin", "isSameOrigin"), Yt(i);
9252
9252
  }
9253
9253
  function V0(i) {
@@ -9404,7 +9404,7 @@ class au extends q0 {
9404
9404
  async addFeature(e) {
9405
9405
  if (this.active || (this.fetchedFeaturesForImageName = null), this.active && this.currentExtent) {
9406
9406
  const s = e.getId(), r = e.getGeometry();
9407
- if (e[ta])
9407
+ if (e[ia])
9408
9408
  return r && !this.obliqueSource.getFeatureById(s) && this.obliqueSource.addFeature(e), Promise.resolve();
9409
9409
  if (this.obliqueSource.getFeatureById(s) || this._updatingOblique[s])
9410
9410
  return Promise.resolve();
@@ -9511,7 +9511,7 @@ class au extends q0 {
9511
9511
  }
9512
9512
  }
9513
9513
  const Ao = Symbol("isDefaultImage");
9514
- var cw;
9514
+ var uw;
9515
9515
  class Fo {
9516
9516
  constructor(t) {
9517
9517
  /**
@@ -9554,7 +9554,7 @@ class Fo {
9554
9554
  * The calculated average height of an image
9555
9555
  */
9556
9556
  h(this, "_averageHeight");
9557
- h(this, cw);
9557
+ h(this, uw);
9558
9558
  this.name = t.name, this.meta = t.meta, this.viewDirection = t.viewDirection, this.viewDirectionAngle = t.viewDirectionAngle, this.groundCoordinates = t.groundCoordinates, this.centerPointOnGround = t.centerPointOnGround, this.pToRealworld = t.pToRealworld || null, this.pToImage = t.pToImage || null, this.projectionCenter = t.projectionCenter || null, this._averageHeight = null;
9559
9559
  }
9560
9560
  /**
@@ -9623,7 +9623,7 @@ class Fo {
9623
9623
  return Promise.resolve();
9624
9624
  }
9625
9625
  }
9626
- cw = Ao;
9626
+ uw = Ao;
9627
9627
  class mn {
9628
9628
  constructor(t) {
9629
9629
  /**
@@ -9802,20 +9802,20 @@ function Y0(i, t) {
9802
9802
  return new Fo(p);
9803
9803
  });
9804
9804
  }
9805
- async function na(i, t) {
9805
+ async function aa(i, t) {
9806
9806
  const e = await fetch(i, t);
9807
9807
  if (!e.ok)
9808
9808
  throw new Error(`Failed fetching url ${i} with status: ${e.status}`);
9809
9809
  return e;
9810
9810
  }
9811
9811
  async function Pi(i, t) {
9812
- return (await na(i, t)).json();
9812
+ return (await aa(i, t)).json();
9813
9813
  }
9814
9814
  async function Z0(i, t) {
9815
- return (await na(i, t)).arrayBuffer();
9815
+ return (await aa(i, t)).arrayBuffer();
9816
9816
  }
9817
9817
  async function Ro(i, t) {
9818
- const s = await (await na(i, t)).blob();
9818
+ const s = await (await aa(i, t)).blob();
9819
9819
  return URL.createObjectURL(s);
9820
9820
  }
9821
9821
  function Rt(i, t) {
@@ -10002,7 +10002,7 @@ class ql {
10002
10002
  return this.projection && (t.projection = this.projection.toJSON()), this._terrainProviderOptions && (t.terrainProvider = { ...this._terrainProviderOptions }), this._headers && (t.headers = this._headers), t;
10003
10003
  }
10004
10004
  }
10005
- function aa(i) {
10005
+ function oa(i) {
10006
10006
  return function(e, s) {
10007
10007
  const r = e.getImage(), n = Rt(s, i);
10008
10008
  Ro(s, n).then((a) => {
@@ -10014,15 +10014,15 @@ function aa(i) {
10014
10014
  });
10015
10015
  };
10016
10016
  }
10017
- let Oa = "";
10017
+ let ba = "";
10018
10018
  function K0() {
10019
- if (!Oa) {
10019
+ if (!ba) {
10020
10020
  const i = document.createElement("canvas");
10021
10021
  i.height = 512, i.width = 512;
10022
10022
  const t = i.getContext("2d");
10023
- t.fillStyle = "#409D76", t.fillRect(0, 0, 512, 512), t.font = "bold 46px Monospace, Courier New", t.fillStyle = "#424242", t.textAlign = "center", t.fillText("No Image", 256, 256), Oa = i.toDataURL("png");
10023
+ t.fillStyle = "#409D76", t.fillRect(0, 0, 512, 512), t.font = "bold 46px Monospace, Courier New", t.fillStyle = "#424242", t.textAlign = "center", t.fillText("No Image", 256, 256), ba = i.toDataURL("png");
10024
10024
  }
10025
- return Oa;
10025
+ return ba;
10026
10026
  }
10027
10027
  class J0 {
10028
10028
  constructor(t, e) {
@@ -10047,7 +10047,7 @@ class J0 {
10047
10047
  units: "pixels",
10048
10048
  extent: r
10049
10049
  }), a = this.maxZoom > 0 ? this.maxZoom : this.tileResolution.length + 4, o = Math.log(2) / Math.log(this.scaleFactor);
10050
- this._view = new ho({
10050
+ this._view = new co({
10051
10051
  projection: n,
10052
10052
  center: [this.size[0] / 2, this.size[1] / 2],
10053
10053
  constrainOnlyCenter: !0,
@@ -10066,7 +10066,7 @@ class J0 {
10066
10066
  tileSize: this.tileSize
10067
10067
  })
10068
10068
  };
10069
- Xt.contains(this.url) ? l.crossOrigin = "use-credentials" : Yt(this.url) || (l.crossOrigin = "anonymous"), this._headers && (l.tileLoadFunction = aa(this._headers)), this._tileImageSource = new qu(l), this._layer = new Cs({
10069
+ Xt.contains(this.url) ? l.crossOrigin = "use-credentials" : Yt(this.url) || (l.crossOrigin = "anonymous"), this._headers && (l.tileLoadFunction = oa(this._headers)), this._tileImageSource = new qu(l), this._layer = new Cs({
10070
10070
  source: this.tileImageSource,
10071
10071
  extent: r
10072
10072
  });
@@ -10250,7 +10250,7 @@ class Q0 {
10250
10250
  this._currentView && (t && t === this._currentView || (t && this._olMap.removeLayer(t.layer), this._olMap.getView() && this._olMap.getView().getResolution() && this._currentView.view.setResolution(this._olMap.getView().getResolution()), this._olMap.setView(this._currentView.view), this._olMap.getLayers().insertAt(0, this._currentView.layer)));
10251
10251
  }
10252
10252
  _removeCurrentView() {
10253
- this._currentView && (this._olMap.getView() === this._currentView.view && this._olMap.setView(new ho()), this._olMap.removeLayer(this._currentView.layer));
10253
+ this._currentView && (this._olMap.getView() === this._currentView.view && this._olMap.setView(new co()), this._olMap.removeLayer(this._currentView.layer));
10254
10254
  }
10255
10255
  /**
10256
10256
  * Sets a new image based on a ground coordinate and a direction.
@@ -10326,7 +10326,7 @@ function zs(i, t, e) {
10326
10326
  function tv(i, t) {
10327
10327
  return i < t ? -1 : i > t ? 1 : 0;
10328
10328
  }
10329
- class no {
10329
+ class ao {
10330
10330
  constructor(t = 9) {
10331
10331
  this._maxEntries = Math.max(4, t), this._minEntries = Math.max(2, Math.ceil(this._maxEntries * 0.4)), this.clear();
10332
10332
  }
@@ -10342,7 +10342,7 @@ class no {
10342
10342
  for (; e; ) {
10343
10343
  for (let a = 0; a < e.children.length; a++) {
10344
10344
  const o = e.children[a], l = e.leaf ? r(o) : o;
10345
- sn(t, l) && (e.leaf ? s.push(o) : Ea(t, l) ? this._all(o, s) : n.push(o));
10345
+ sn(t, l) && (e.leaf ? s.push(o) : Pa(t, l) ? this._all(o, s) : n.push(o));
10346
10346
  }
10347
10347
  e = n.pop();
10348
10348
  }
@@ -10357,7 +10357,7 @@ class no {
10357
10357
  for (let r = 0; r < e.children.length; r++) {
10358
10358
  const n = e.children[r], a = e.leaf ? this.toBBox(n) : n;
10359
10359
  if (sn(t, a)) {
10360
- if (e.leaf || Ea(t, a))
10360
+ if (e.leaf || Pa(t, a))
10361
10361
  return !0;
10362
10362
  s.push(n);
10363
10363
  }
@@ -10406,7 +10406,7 @@ class no {
10406
10406
  if (d !== -1)
10407
10407
  return s.children.splice(d, 1), n.push(s), this._condense(n), this;
10408
10408
  }
10409
- !c && !s.leaf && Ea(s, r) ? (n.push(s), a.push(o), o = 0, l = s, s = s.children[0]) : l ? (o++, s = l.children[o], c = !1) : s = null;
10409
+ !c && !s.leaf && Pa(s, r) ? (n.push(s), a.push(o), o = 0, l = s, s = s.children[0]) : l ? (o++, s = l.children[o], c = !1) : s = null;
10410
10410
  }
10411
10411
  return this;
10412
10412
  }
@@ -10453,7 +10453,7 @@ class no {
10453
10453
  for (; r.push(e), !(e.leaf || r.length - 1 === s); ) {
10454
10454
  let n = 1 / 0, a = 1 / 0, o;
10455
10455
  for (let l = 0; l < e.children.length; l++) {
10456
- const c = e.children[l], d = ba(c), u = nv(t, c) - d;
10456
+ const c = e.children[l], d = Ea(c), u = nv(t, c) - d;
10457
10457
  u < a ? (a = u, n = d < n ? d : n, o = c) : u === a && d < n && (n = d, o = c);
10458
10458
  }
10459
10459
  e = o || e.children[0];
@@ -10479,7 +10479,7 @@ class no {
10479
10479
  _chooseSplitIndex(t, e, s) {
10480
10480
  let r, n = 1 / 0, a = 1 / 0;
10481
10481
  for (let o = e; o <= s - e; o++) {
10482
- const l = Xs(t, 0, o, this.toBBox), c = Xs(t, o, s, this.toBBox), d = av(l, c), u = ba(l) + ba(c);
10482
+ const l = Xs(t, 0, o, this.toBBox), c = Xs(t, o, s, this.toBBox), d = av(l, c), u = Ea(l) + Ea(c);
10483
10483
  d < n ? (n = d, r = o, a = u < a ? u : a) : d === n && u < a && (a = u, r = o);
10484
10484
  }
10485
10485
  return r || s - e;
@@ -10541,7 +10541,7 @@ function sv(i, t) {
10541
10541
  function rv(i, t) {
10542
10542
  return i.minY - t.minY;
10543
10543
  }
10544
- function ba(i) {
10544
+ function Ea(i) {
10545
10545
  return (i.maxX - i.minX) * (i.maxY - i.minY);
10546
10546
  }
10547
10547
  function tn(i) {
@@ -10554,7 +10554,7 @@ function av(i, t) {
10554
10554
  const e = Math.max(i.minX, t.minX), s = Math.max(i.minY, t.minY), r = Math.min(i.maxX, t.maxX), n = Math.min(i.maxY, t.maxY);
10555
10555
  return Math.max(0, r - e) * Math.max(0, n - s);
10556
10556
  }
10557
- function Ea(i, t) {
10557
+ function Pa(i, t) {
10558
10558
  return i.minX <= t.minX && i.minY <= t.minY && t.maxX <= i.maxX && t.maxY <= i.maxY;
10559
10559
  }
10560
10560
  function sn(i, t) {
@@ -10815,7 +10815,7 @@ class $i extends Gt {
10815
10815
  name: n.name
10816
10816
  });
10817
10817
  }), r.forEach((n, a) => {
10818
- this._directionTrees.get(a) || this._directionTrees.set(a, new no()), this._directionTrees.get(a).load(n);
10818
+ this._directionTrees.get(a) || this._directionTrees.set(a, new ao()), this._directionTrees.get(a).load(n);
10819
10819
  }), this._imageFeatureSource) {
10820
10820
  const n = Kl(e);
10821
10821
  this._imageFeatureSource.addFeatures(n);
@@ -10920,7 +10920,7 @@ class $i extends Gt {
10920
10920
  const n = Ae(U.proj, r.meta.projection.proj), a = e.slice(0, 2);
10921
10921
  n(a, a, void 0);
10922
10922
  const o = ir(r.groundCoordinates);
10923
- return Fa(o, a);
10923
+ return Ra(o, a);
10924
10924
  }
10925
10925
  return !1;
10926
10926
  }
@@ -11291,10 +11291,10 @@ class Sr {
11291
11291
  if (this.mode === ms.DISTANCE && this.terrainUrl) {
11292
11292
  if (e = this._updateTerrainHeight(s), this._terrainHeight && s.height - this._terrainHeight < this.limit) {
11293
11293
  const r = this._terrainHeight + this.limit;
11294
- ie.toCartesian(new ie(s.longitude, s.latitude, r), $a.WGS84, t.position);
11294
+ ie.toCartesian(new ie(s.longitude, s.latitude, r), Ba.WGS84, t.position);
11295
11295
  }
11296
11296
  } else
11297
- s.height < this.limit && ie.toCartesian(new ie(s.longitude, s.latitude, this.limit), $a.WGS84, t.position);
11297
+ s.height < this.limit && ie.toCartesian(new ie(s.longitude, s.latitude, this.limit), Ba.WGS84, t.position);
11298
11298
  return e;
11299
11299
  }
11300
11300
  toJSON() {
@@ -11474,15 +11474,15 @@ class H extends Ei {
11474
11474
  throw new Error("Cannot setup interactions on uninitailized map");
11475
11475
  const e = [
11476
11476
  {
11477
- csModifier: da.ALT,
11477
+ csModifier: fa.ALT,
11478
11478
  vcsModifier: j.ALT
11479
11479
  },
11480
11480
  {
11481
- csModifier: da.CTRL,
11481
+ csModifier: fa.CTRL,
11482
11482
  vcsModifier: j.CTRL
11483
11483
  },
11484
11484
  {
11485
- csModifier: da.SHIFT,
11485
+ csModifier: fa.SHIFT,
11486
11486
  vcsModifier: j.SHIFT
11487
11487
  },
11488
11488
  { csModifier: void 0, vcsModifier: j.NONE }
@@ -11610,7 +11610,7 @@ class H extends Ei {
11610
11610
  const a = new $h(e.position, e.direction), o = this._cesiumWidget.scene.globe.pick(a, this._cesiumWidget.scene);
11611
11611
  if (o) {
11612
11612
  n = _.distance(o, s);
11613
- const d = $a.WGS84.cartesianToCartographic(o);
11613
+ const d = Ba.WGS84.cartesianToCartographic(o);
11614
11614
  r = [
11615
11615
  N.toDegrees(d.longitude),
11616
11616
  N.toDegrees(d.latitude),
@@ -12031,7 +12031,7 @@ class rt extends hi {
12031
12031
  this.getFeatures().forEach((n) => {
12032
12032
  if (n[lt]) {
12033
12033
  let a;
12034
- r ? (a = !0, n.setStyle(void 0)) : n.getStyle() !== n[lt].style && (a = !0, n.setStyle(n[lt].style)), a && Reflect.has(n, ri) && Eo(n);
12034
+ r ? (a = !0, n.setStyle(void 0)) : n.getStyle() !== n[lt].style && (a = !0, n.setStyle(n[lt].style)), a && Reflect.has(n, ri) && Po(n);
12035
12035
  }
12036
12036
  });
12037
12037
  }
@@ -12063,7 +12063,10 @@ class rt extends hi {
12063
12063
  /**
12064
12064
  * add features to the vector layer and return an array with their ids.
12065
12065
  * The geometry will be mutated and transformed to EPSG 3857 mercator coordinate system
12066
+ * features will be added an id, if they do not already have one.
12066
12067
  *
12068
+ * returns the ids of the added features. if a feature has an id and the same id is alread in the
12069
+ * layer, it will not be added.
12067
12070
  * @todo mechanism to enforce XYZ coordinate layout for internal usage
12068
12071
  */
12069
12072
  addFeatures(e) {
@@ -12080,7 +12083,7 @@ class rt extends hi {
12080
12083
  }
12081
12084
  return n[Y] = this.name, s && n[lt] && n.setStyle(), n;
12082
12085
  }).filter((n) => n);
12083
- return this.source.addFeatures(r), e.map((n) => n.getId());
12086
+ return this.source.addFeatures(r), r.map((n) => n.getId());
12084
12087
  }
12085
12088
  /**
12086
12089
  * removes features from the vector layer
@@ -12238,9 +12241,9 @@ class ti {
12238
12241
  }
12239
12242
  }
12240
12243
  const _v = "EPSG:3857";
12241
- let Pa;
12244
+ let Ia;
12242
12245
  function ko() {
12243
- return Pa || (Pa = new Fh()), Pa;
12246
+ return Ia || (Ia = new Fh()), Ia;
12244
12247
  }
12245
12248
  function vv(i) {
12246
12249
  const { crs: t } = i;
@@ -12371,13 +12374,13 @@ function wr(i, t = {}, e = []) {
12371
12374
  } else if (s instanceof Dt) {
12372
12375
  const l = s.getCoordinates();
12373
12376
  l.forEach((c) => {
12374
- io(c);
12377
+ so(c);
12375
12378
  }), s = new Dt(l, s.getLayout());
12376
12379
  } else if (s instanceof sr) {
12377
12380
  const l = s.getCoordinates();
12378
12381
  l.forEach((c) => {
12379
12382
  c.forEach((d) => {
12380
- io(d);
12383
+ so(d);
12381
12384
  });
12382
12385
  }), s = new sr(l, s.getLayout());
12383
12386
  }
@@ -12395,7 +12398,7 @@ function wr(i, t = {}, e = []) {
12395
12398
  version: ni
12396
12399
  }, t.writeStyle && i[lt] && (o.vcsMeta.style = Dc(i[lt].getOptionsForFeature(i), e)), o;
12397
12400
  }
12398
- function Iw(i, t = {}) {
12401
+ function Lw(i, t = {}) {
12399
12402
  const e = i.vcsMeta || { version: ni };
12400
12403
  e.version = ni;
12401
12404
  const r = {
@@ -12451,7 +12454,7 @@ function xv(i, t) {
12451
12454
  }
12452
12455
  t.vectorProperties && i.vectorProperties.setValues(t.vectorProperties), t.zIndex != null && (i.zIndex = t.zIndex);
12453
12456
  }
12454
- function Ia(i, t, e, s) {
12457
+ function La(i, t, e, s) {
12455
12458
  if (s == null ? t !== e : s !== t)
12456
12459
  throw new Error(`Cannot merge options, values of ${i} do not match`);
12457
12460
  }
@@ -12548,7 +12551,7 @@ class vi extends Gt {
12548
12551
  */
12549
12552
  mergeOptions(e) {
12550
12553
  const s = vi.getDefaultConfig();
12551
- Ia("classRegistryName", this._classRegistryName, s.classRegistryName, e.classRegistryName), Ia("featureProperty", this._featureProperty, s.featureProperty, e.featureProperty), Ia("keyProperty", this._keyProperty, s.keyProperty, e.keyProperty), this.title = e.title || this.title, e.layerOptions && this._layer && xv(this._layer, e.layerOptions);
12554
+ La("classRegistryName", this._classRegistryName, s.classRegistryName, e.classRegistryName), La("featureProperty", this._featureProperty, s.featureProperty, e.featureProperty), La("keyProperty", this._keyProperty, s.keyProperty, e.keyProperty), this.title = e.title || this.title, e.layerOptions && this._layer && xv(this._layer, e.layerOptions);
12552
12555
  }
12553
12556
  /**
12554
12557
  * When setting the category, it MUST use the same uniqueKey as the previous collection (default is "name").
@@ -12562,7 +12565,7 @@ class vi extends Gt {
12562
12565
  throw new Error("The collections key property does not match the categories key property");
12563
12566
  this._collectionListeners.forEach((s) => {
12564
12567
  s();
12565
- }), this._collection && Kt(this._collection), this._layer && this._layer.removeAllFeatures(), this._collection = e[Ja] ? e : Jt(e, this._getDynamicModuleId.bind(this), this._serializeItem.bind(this), this._deserializeItem.bind(this)), [...this.collection].forEach((s) => {
12568
+ }), this._collection && Kt(this._collection), this._layer && this._layer.removeAllFeatures(), this._collection = e[Qa] ? e : Jt(e, this._getDynamicModuleId.bind(this), this._serializeItem.bind(this), this._deserializeItem.bind(this)), [...this.collection].forEach((s) => {
12566
12569
  this._itemAdded(s);
12567
12570
  }), this._collectionListeners = [
12568
12571
  this._collection.added.addEventListener(this._itemAdded.bind(this)),
@@ -12760,7 +12763,7 @@ class Ss extends Gt {
12760
12763
  this.style = void 0, this.vectorProperties.destroy(), super.destroy();
12761
12764
  }
12762
12765
  }
12763
- class ao extends Ss {
12766
+ class oo extends Ss {
12764
12767
  /**
12765
12768
  * @param layerName
12766
12769
  * @param options
@@ -12781,14 +12784,14 @@ class ao extends Ss {
12781
12784
  this.tileProvider.destroy(), super.destroy();
12782
12785
  }
12783
12786
  }
12784
- xo.registerClass(ao.className, ao);
12787
+ Oo.registerClass(oo.className, oo);
12785
12788
  var Ue;
12786
12789
  (function(i) {
12787
12790
  i.GEOGRAPHIC = "geographic", i.MERCATOR = "mercator";
12788
12791
  })(Ue = Ue || (Ue = {}));
12789
12792
  function fu(i) {
12790
12793
  const t = {};
12791
- return i.numberOfLevelZeroTilesX && i.numberOfLevelZeroTilesX > 1 && (t.numberOfLevelZeroTilesX = i.numberOfLevelZeroTilesX), i.numberOfLevelZeroTilesY && i.numberOfLevelZeroTilesY > 1 && (t.numberOfLevelZeroTilesY = i.numberOfLevelZeroTilesY), i.tilingSchema === Ue.MERCATOR ? new go(t) : new Wh(t);
12794
+ return i.numberOfLevelZeroTilesX && i.numberOfLevelZeroTilesX > 1 && (t.numberOfLevelZeroTilesX = i.numberOfLevelZeroTilesX), i.numberOfLevelZeroTilesY && i.numberOfLevelZeroTilesY > 1 && (t.numberOfLevelZeroTilesY = i.numberOfLevelZeroTilesY), i.tilingSchema === Ue.MERCATOR ? new mo(t) : new Wh(t);
12792
12795
  }
12793
12796
  function Ev(i, t, e, s = 0) {
12794
12797
  if (!i.isValid())
@@ -12796,7 +12799,7 @@ function Ev(i, t, e, s = 0) {
12796
12799
  const r = i.getCoordinatesInProjection(oe);
12797
12800
  r[1] < -85 && (r[1] = -85), r[3] > 85 && (r[3] = 85);
12798
12801
  const a = [
12799
- co(r),
12802
+ uo(r),
12800
12803
  Ih(r),
12801
12804
  Lh(r),
12802
12805
  Yn(r)
@@ -12899,7 +12902,7 @@ function gu(i, t) {
12899
12902
  return i === "geographic" ? t === "1.3.0" ? "CRS:84" : "EPSG:4326" : "EPSG:3857";
12900
12903
  }
12901
12904
  function mu(i) {
12902
- const t = i.tilingSchema === "geographic" ? oe : U, e = t.proj.getExtent(), s = Ra(e), r = i.tilingSchema === Ue.GEOGRAPHIC ? s / (i.tileSize[0] * 2) : s / i.tileSize[0], n = i.maxLevel + 1, a = [];
12905
+ const t = i.tilingSchema === "geographic" ? oe : U, e = t.proj.getExtent(), s = Ga(e), r = i.tilingSchema === Ue.GEOGRAPHIC ? s / (i.tileSize[0] * 2) : s / i.tileSize[0], n = i.maxLevel + 1, a = [];
12903
12906
  for (let c = 0; c < n; ++c)
12904
12907
  a.push(r / 2 ** c);
12905
12908
  const o = {
@@ -12915,7 +12918,7 @@ function mu(i) {
12915
12918
  params: i.parameters,
12916
12919
  projection: gu(i.tilingSchema, i.version)
12917
12920
  };
12918
- return Xt.contains(i.url) ? l.crossOrigin = "use-credentials" : Yt(i.url) || (l.crossOrigin = "anonymous"), i.headers && (l.tileLoadFunction = aa(i.headers)), new Yu(l);
12921
+ return Xt.contains(i.url) ? l.crossOrigin = "use-credentials" : Yt(i.url) || (l.crossOrigin = "anonymous"), i.headers && (l.tileLoadFunction = oa(i.headers)), new Yu(l);
12919
12922
  }
12920
12923
  function Pv(i) {
12921
12924
  const t = {
@@ -12935,9 +12938,9 @@ function Pv(i) {
12935
12938
  }), new Zu(t);
12936
12939
  }
12937
12940
  const Iv = {
12938
- GML: za,
12939
- GML2: Ga,
12940
- GML3: za
12941
+ GML: Ha,
12942
+ GML2: ka,
12943
+ GML3: Ha
12941
12944
  }, Lv = [
12942
12945
  "application/geojson",
12943
12946
  "application/json",
@@ -12946,10 +12949,10 @@ const Iv = {
12946
12949
  ];
12947
12950
  function Tv(i, t = {}) {
12948
12951
  if (i === "text/xml") {
12949
- const e = t.gmlFormat ? new Iv[t.gmlFormat]() : new Ga();
12950
- return new ka({ ...t, gmlFormat: e });
12952
+ const e = t.gmlFormat ? new Iv[t.gmlFormat]() : new ka();
12953
+ return new za({ ...t, gmlFormat: e });
12951
12954
  }
12952
- return Lv.includes(i) ? new Fh(t) : i === "application/vnd.ogc.gml" ? new Ga(t) : i === "application/vnd.ogc.gml/3.1.1" || i === "text/xml; subtype=gml/3.1.1" ? new za(t) : null;
12955
+ return Lv.includes(i) ? new Fh(t) : i === "application/vnd.ogc.gml" ? new ka(t) : i === "application/vnd.ogc.gml/3.1.1" || i === "text/xml; subtype=gml/3.1.1" ? new Ha(t) : null;
12953
12956
  }
12954
12957
  class Bi extends Ss {
12955
12958
  constructor(e, s) {
@@ -13052,7 +13055,7 @@ class Bi extends Ss {
13052
13055
  this._wmsSource = void 0, this.featureFormat = null, this.projection = void 0, this._formatOptions = void 0, super.destroy();
13053
13056
  }
13054
13057
  }
13055
- xo.registerClass(Bi.className, Bi);
13058
+ Oo.registerClass(Bi.className, Bi);
13056
13059
  class ce {
13057
13060
  /**
13058
13061
  * @param [defaultActive=EventType.NONE] - A bitmask representing the default to listen to
@@ -13607,7 +13610,7 @@ class Fi extends Zi {
13607
13610
  let f = u.getProperty("id");
13608
13611
  f || (f = `${e.url}${d}`);
13609
13612
  let g = !0;
13610
- this.featureVisibility.highlightedObjects[f] && !this.featureVisibility.hasHighlightFeature(f, u) && (this.featureVisibility.addHighlightFeature(f, u), c.highlight.push([f, u]), g = !1), this.featureVisibility.hiddenObjects[f] && !this.featureVisibility.hasHiddenFeature(f, u) && (this.featureVisibility.addHiddenFeature(f, u), c.hideLocal.push([f, u])), (r = this.globalHider) != null && r.hiddenObjects[f] && !((n = this.globalHider) != null && n.hasFeature(f, u)) && ((a = this.globalHider) == null || a.addFeature(f, u), c.hideGlobal.push([f, u])), g && this._styleLastUpdated > (e[pi] ?? 0) && u[ri] && Eo(u);
13613
+ this.featureVisibility.highlightedObjects[f] && !this.featureVisibility.hasHighlightFeature(f, u) && (this.featureVisibility.addHighlightFeature(f, u), c.highlight.push([f, u]), g = !1), this.featureVisibility.hiddenObjects[f] && !this.featureVisibility.hasHiddenFeature(f, u) && (this.featureVisibility.addHiddenFeature(f, u), c.hideLocal.push([f, u])), (r = this.globalHider) != null && r.hiddenObjects[f] && !((n = this.globalHider) != null && n.hasFeature(f, u)) && ((a = this.globalHider) == null || a.addFeature(f, u), c.hideGlobal.push([f, u])), g && this._styleLastUpdated > (e[pi] ?? 0) && u[ri] && Po(u);
13611
13614
  }
13612
13615
  }
13613
13616
  (c.hideLocal.length > 0 || c.hideGlobal.length > 0 || c.highlight.length > 0) && (e[rn] = () => {
@@ -13635,7 +13638,7 @@ class Fi extends Zi {
13635
13638
  this._onStyleChangeRemover && this._onStyleChangeRemover(), super.destroy();
13636
13639
  }
13637
13640
  }
13638
- class Lw {
13641
+ class Tw {
13639
13642
  constructor(t) {
13640
13643
  h(this, "entities");
13641
13644
  h(this, "featureToBillboardMap", /* @__PURE__ */ new Map());
@@ -13911,7 +13914,7 @@ class St extends Gt {
13911
13914
  /**
13912
13915
  * Cesium Webmercator TilingScheme
13913
13916
  */
13914
- h(this, "tilingScheme", new go());
13917
+ h(this, "tilingScheme", new mo());
13915
13918
  /**
13916
13919
  * sorted baseLevels, maximumLevel first example: [18,17,16]
13917
13920
  */
@@ -13999,7 +14002,7 @@ class St extends Gt {
13999
14002
  a.forEach((l) => {
14000
14003
  l.getId() || l.setId($e());
14001
14004
  });
14002
- const o = new no(a.length);
14005
+ const o = new ao(a.length);
14003
14006
  return o.load(a.map((l) => {
14004
14007
  const c = l.getGeometry();
14005
14008
  if (c) {
@@ -14016,7 +14019,7 @@ class St extends Gt {
14016
14019
  }).filter((l) => l)), this.tileLoadedEvent.raiseEvent({ tileId: r, rtree: o }), this._trackFeatures(a, r), this.rtreeCache.set(r, o), o;
14017
14020
  }).catch(() => {
14018
14021
  this.getLogger().warning(`Could not load Tile ${r}`);
14019
- const a = new no();
14022
+ const a = new ao();
14020
14023
  return this.rtreeCache.set(r, a), a;
14021
14024
  });
14022
14025
  this.cache.get(s).set(r, n), this.cache.get(s).canExpireCache() && await Promise.all([
@@ -14077,7 +14080,7 @@ class St extends Gt {
14077
14080
  async getFeaturesByCoordinate(e, s, r) {
14078
14081
  const n = Ju(e);
14079
14082
  Ah(n, s, n);
14080
- const a = wo(e), o = ie.fromDegrees(a[0], a[1]), l = this.getBaseLevelForResolution(s, o.latitude), c = await this._getRtreeForBaseTile(l, o, r);
14083
+ const a = Mo(e), o = ie.fromDegrees(a[0], a[1]), l = this.getBaseLevelForResolution(s, o.latitude), c = await this._getRtreeForBaseTile(l, o, r);
14081
14084
  return c ? c.search({
14082
14085
  minX: n[0],
14083
14086
  minY: n[1],
@@ -14461,7 +14464,7 @@ class Wv extends Ts {
14461
14464
  const a = this.extent.getCoordinatesInProjection(oe);
14462
14465
  a && (s.rectangle = yt.fromDegrees(a[0], a[1], a[2], a[3]));
14463
14466
  }
14464
- this.tilingSchema === "mercator" && (s.tilingScheme = new go());
14467
+ this.tilingSchema === "mercator" && (s.tilingScheme = new mo());
14465
14468
  const r = new tf(s), n = {
14466
14469
  alpha: this.opacity,
14467
14470
  splitDirection: this.splitDirection
@@ -14645,7 +14648,7 @@ class Hn extends Ye {
14645
14648
  /**
14646
14649
  * The feature visibility of this layer. NOTE: Entities cannot be highlighted at this moment.
14647
14650
  */
14648
- h(this, "featureVisibility", new Po());
14651
+ h(this, "featureVisibility", new ta());
14649
14652
  h(this, "_supportedMaps", [H.className]);
14650
14653
  h(this, "_featureVisibilityListeners", []);
14651
14654
  }
@@ -14977,6 +14980,29 @@ class Zv extends Gt {
14977
14980
  this.unTrack(), this._layer = void 0, this.changed.destroy(), super.destroy();
14978
14981
  }
14979
14982
  }
14983
+ class Kv extends ta {
14984
+ constructor(e) {
14985
+ super();
14986
+ h(this, "_changeTracker");
14987
+ this._changeTracker = e;
14988
+ }
14989
+ highlight(e) {
14990
+ const s = this._changeTracker.active;
14991
+ s && this._changeTracker.pauseTracking("changefeature"), super.highlight(e), s && this._changeTracker.track();
14992
+ }
14993
+ unHighlight(e) {
14994
+ const s = this._changeTracker.active;
14995
+ s && this._changeTracker.pauseTracking("changefeature"), super.unHighlight(e), s && this._changeTracker.track();
14996
+ }
14997
+ hideObjects(e) {
14998
+ const s = this._changeTracker.active;
14999
+ s && this._changeTracker.pauseTracking("changefeature"), super.hideObjects(e), s && this._changeTracker.track();
15000
+ }
15001
+ showObjects(e) {
15002
+ const s = this._changeTracker.active;
15003
+ s && this._changeTracker.pauseTracking("changefeature"), super.showObjects(e), s && this._changeTracker.track();
15004
+ }
15005
+ }
14980
15006
  const Mr = Symbol("isTiledFeature");
14981
15007
  class ws extends rt {
14982
15008
  constructor(e) {
@@ -14996,6 +15022,7 @@ class ws extends rt {
14996
15022
  h(this, "vcsMeta");
14997
15023
  h(this, "screenSpaceErrorMobile");
14998
15024
  h(this, "screenSpaceError");
15025
+ h(this, "featureVisibility");
14999
15026
  h(this, "_removeVectorPropertiesChangeHandler");
15000
15027
  /**
15001
15028
  * Synchronize featureVisibilities, while maintaining static features hidden.
@@ -15008,7 +15035,7 @@ class ws extends rt {
15008
15035
  h(this, "injectedFetchDynamicFeatureFunc", () => {
15009
15036
  throw new Error("Missing get dynamic feature");
15010
15037
  });
15011
- h(this, "_staticFeatureVisibility", new Po());
15038
+ h(this, "_staticFeatureVisibility", new ta());
15012
15039
  h(this, "_setEditing", null);
15013
15040
  h(this, "_twoDimLoaded", null);
15014
15041
  h(this, "_twoDimStyleChanged", null);
@@ -15021,7 +15048,7 @@ class ws extends rt {
15021
15048
  const { vcsMeta: r } = s;
15022
15049
  if (e.vcsMeta && Object.assign(r, e.vcsMeta), this.vcsMeta = r, this.setVcsMeta(this.vcsMeta), this.screenSpaceErrorMobile = this.vcsMeta.screenSpaceError, this.screenSpaceError = this.vcsMeta.screenSpaceError, this._removeVectorPropertiesChangeHandler = this.vectorProperties.propertyChanged.addEventListener(() => {
15023
15050
  this.changeTracker.changed.raiseEvent();
15024
- }), this.injectedFetchDynamicFeatureFunc = e.injectedFetchDynamicFeatureFunc ?? this.injectedFetchDynamicFeatureFunc, this._featureVisibilitySyncListeners = [
15051
+ }), this.injectedFetchDynamicFeatureFunc = e.injectedFetchDynamicFeatureFunc ?? this.injectedFetchDynamicFeatureFunc, this.featureVisibility = e.featureVisibility ?? new Kv(this.changeTracker), this._featureVisibilitySyncListeners = [
15025
15052
  C_(this.featureVisibility, this._staticFeatureVisibility),
15026
15053
  this._staticFeatureVisibility.changed.addEventListener(({ action: n }) => {
15027
15054
  n === ne.SHOW && this._staticFeatureVisibility.hideObjects([
@@ -15050,6 +15077,7 @@ class ws extends rt {
15050
15077
  featureType: "simple",
15051
15078
  features: [],
15052
15079
  ...rt.getDefaultOptions(),
15080
+ featureVisibility: void 0,
15053
15081
  projection: U.toJSON(),
15054
15082
  staticRepresentation: {},
15055
15083
  hiddenStaticFeatureIds: [],
@@ -15136,7 +15164,7 @@ class ws extends rt {
15136
15164
  this._twoDimStaticSource.getFeatures().forEach((a) => {
15137
15165
  if (a[lt]) {
15138
15166
  let o;
15139
- n ? (o = !0, a.setStyle(void 0)) : a.getStyle() !== a[lt].style && (o = !0, a.setStyle(a[lt].style)), o && Reflect.has(a, ri) && Eo(a);
15167
+ n ? (o = !0, a.setStyle(void 0)) : a.getStyle() !== a[lt].style && (o = !0, a.setStyle(a[lt].style)), o && Reflect.has(a, ri) && Po(a);
15140
15168
  }
15141
15169
  }), r && (this.changeTracker.track(), this.changeTracker.changed.raiseEvent());
15142
15170
  }
@@ -15228,7 +15256,7 @@ class ws extends rt {
15228
15256
  }
15229
15257
  }
15230
15258
  De.registerClass(ws.className, ws);
15231
- const La = Symbol("featureFromOptions");
15259
+ const Ta = Symbol("featureFromOptions");
15232
15260
  class Cr extends rt {
15233
15261
  constructor(e) {
15234
15262
  const s = Cr.getDefaultOptions();
@@ -15255,7 +15283,7 @@ class Cr extends rt {
15255
15283
  }
15256
15284
  async reload() {
15257
15285
  if (this._dataFetchedPromise) {
15258
- const e = this.getFeatures().filter((s) => s[La]);
15286
+ const e = this.getFeatures().filter((s) => s[Ta]);
15259
15287
  this.removeAllFeatures(), this.source.addFeatures(e), this._dataFetchedPromise = null, await this.fetchData();
15260
15288
  }
15261
15289
  return super.reload();
@@ -15270,7 +15298,7 @@ class Cr extends rt {
15270
15298
  type: "FeatureCollection",
15271
15299
  features: this._featuresToLoad
15272
15300
  }), this.getFeatures().forEach((e) => {
15273
- e[La] = !0;
15301
+ e[Ta] = !0;
15274
15302
  }), this._featuresToLoad = void 0), this.url) {
15275
15303
  const e = Rt(this.url, this.headers);
15276
15304
  this._dataFetchedPromise = Pi(this.url, e).then((s) => this._parseGeojsonData(s)).catch((s) => (this.getLogger().warning(`Could not send request for loading layer content (${String(s)})`), Promise.reject(s)));
@@ -15293,7 +15321,7 @@ class Cr extends rt {
15293
15321
  if (this.projection.equals(r) ? delete e.projection : e.projection = this.projection.toJSON(), Array.isArray(this._featuresToLoad))
15294
15322
  e.features = this._featuresToLoad.slice();
15295
15323
  else {
15296
- const n = this.getFeatures().filter((a) => a[La]);
15324
+ const n = this.getFeatures().filter((a) => a[Ta]);
15297
15325
  n.length > 0 && (e.features = n.map((a) => wr(a, { writeStyle: !0, writeId: !0 })));
15298
15326
  }
15299
15327
  return e;
@@ -15303,7 +15331,7 @@ class Cr extends rt {
15303
15331
  }
15304
15332
  }
15305
15333
  De.registerClass(Cr.className, Cr);
15306
- class $r extends ia {
15334
+ class $r extends sa {
15307
15335
  constructor(e, s) {
15308
15336
  super(e, s);
15309
15337
  h(this, "minLevel");
@@ -15320,7 +15348,7 @@ class $r extends ia {
15320
15348
  this.opacity = e, this.initialized && this.olLayer.setOpacity(this.opacity);
15321
15349
  }
15322
15350
  }
15323
- class Kv extends $r {
15351
+ class Jv extends $r {
15324
15352
  static get className() {
15325
15353
  return "OpenStreetMapOpenlayersImpl";
15326
15354
  }
@@ -15393,7 +15421,7 @@ class xr extends Ye {
15393
15421
  }
15394
15422
  createImplementationsForMap(e) {
15395
15423
  return e instanceof Oe ? [
15396
- new Kv(e, this.getImplementationOptions())
15424
+ new Jv(e, this.getImplementationOptions())
15397
15425
  ] : e instanceof H ? [
15398
15426
  new kv(e, this.getImplementationOptions())
15399
15427
  ] : [];
@@ -15407,7 +15435,7 @@ class xr extends Ye {
15407
15435
  }
15408
15436
  }
15409
15437
  De.registerClass(xr.className, xr);
15410
- class Jv extends $r {
15438
+ class Qv extends $r {
15411
15439
  constructor(e, s) {
15412
15440
  super(e, s);
15413
15441
  h(this, "credit");
@@ -15442,7 +15470,7 @@ class Jv extends $r {
15442
15470
  });
15443
15471
  }
15444
15472
  }
15445
- class Tw extends ia {
15473
+ class Nw extends sa {
15446
15474
  static get className() {
15447
15475
  return "TileDebugOpenlayersImpl";
15448
15476
  }
@@ -15459,7 +15487,7 @@ class Tw extends ia {
15459
15487
  updateTiles(t) {
15460
15488
  }
15461
15489
  }
15462
- class Qv extends $r {
15490
+ class eS extends $r {
15463
15491
  /**
15464
15492
  * @param map
15465
15493
  * @param options
@@ -15484,7 +15512,7 @@ class Qv extends $r {
15484
15512
  maxZoom: this.maxLevel,
15485
15513
  wrapX: !1
15486
15514
  };
15487
- Xt.contains(this.url) ? e.crossOrigin = "use-credentials" : Yt(this.url) || (e.crossOrigin = "anonymous"), this.tilingSchema === Ue.GEOGRAPHIC && (e.projection = "EPSG:4326"), this.headers && (e.tileLoadFunction = aa(this.headers));
15515
+ Xt.contains(this.url) ? e.crossOrigin = "use-credentials" : Yt(this.url) || (e.crossOrigin = "anonymous"), this.tilingSchema === Ue.GEOGRAPHIC && (e.projection = "EPSG:4326"), this.headers && (e.tileLoadFunction = oa(this.headers));
15488
15516
  const s = {
15489
15517
  source: new hd(e),
15490
15518
  opacity: this.opacity
@@ -15492,7 +15520,7 @@ class Qv extends $r {
15492
15520
  return this.extent && this.extent.isValid() && (s.extent = this.extent.getCoordinatesInProjection(U)), new Cs(s);
15493
15521
  }
15494
15522
  }
15495
- class eS extends ia {
15523
+ class tS extends sa {
15496
15524
  constructor(e, s) {
15497
15525
  super(e, s);
15498
15526
  h(this, "tileProvider");
@@ -15566,7 +15594,7 @@ class eS extends ia {
15566
15594
  this.source && (this.source.clear(), this.source = null), this.tileProvider = null, super.destroy();
15567
15595
  }
15568
15596
  }
15569
- class tS extends $r {
15597
+ class iS extends $r {
15570
15598
  constructor(e, s) {
15571
15599
  super(e, s);
15572
15600
  h(this, "parameters");
@@ -15607,7 +15635,7 @@ class tS extends $r {
15607
15635
  });
15608
15636
  }
15609
15637
  }
15610
- class iS extends $r {
15638
+ class sS extends $r {
15611
15639
  constructor(e, s) {
15612
15640
  super(e, s);
15613
15641
  h(this, "layer");
@@ -15626,8 +15654,8 @@ class iS extends $r {
15626
15654
  }
15627
15655
  getOLLayer() {
15628
15656
  const e = this.tilingSchema === Ue.GEOGRAPHIC ? oe : U, s = e.proj.getExtent();
15629
- let r = Ra(s) / this.tileSize[0];
15630
- this.numberOfLevelZeroTilesX > 1 && (r /= this.numberOfLevelZeroTilesX), this.tilingSchema === Ue.GEOGRAPHIC && (r = Ra(s) / (this.tileSize[0] * 2));
15657
+ let r = Ga(s) / this.tileSize[0];
15658
+ this.numberOfLevelZeroTilesX > 1 && (r /= this.numberOfLevelZeroTilesX), this.tilingSchema === Ue.GEOGRAPHIC && (r = Ga(s) / (this.tileSize[0] * 2));
15631
15659
  const n = this.maxLevel + 1, a = new Array(n).fill(void 0).map((f, g) => r / 2 ** g), o = this.extent.getCoordinatesInProjection(e), l = {
15632
15660
  origin: Yn(s),
15633
15661
  extent: o,
@@ -15651,13 +15679,13 @@ class iS extends $r {
15651
15679
  matrixSet: this.tileMatrixSetID,
15652
15680
  url: this.url
15653
15681
  };
15654
- return Xt.contains(this.url) ? u.crossOrigin = "use-credentials" : Yt(this.url) || (u.crossOrigin = "anonymous"), this.tilingSchema === Ue.GEOGRAPHIC && (u.projection = "EPSG:4326"), this.headers && (u.tileLoadFunction = aa(this.headers)), Object.assign(u, this.openlayersOptions), new Cs({
15682
+ return Xt.contains(this.url) ? u.crossOrigin = "use-credentials" : Yt(this.url) || (u.crossOrigin = "anonymous"), this.tilingSchema === Ue.GEOGRAPHIC && (u.projection = "EPSG:4326"), this.headers && (u.tileLoadFunction = oa(this.headers)), Object.assign(u, this.openlayersOptions), new Cs({
15655
15683
  opacity: this.opacity,
15656
15684
  source: new fd(u)
15657
15685
  });
15658
15686
  }
15659
15687
  }
15660
- const sS = new Be({});
15688
+ const rS = new Be({});
15661
15689
  class Or extends Ii {
15662
15690
  constructor(e) {
15663
15691
  super(e);
@@ -15680,7 +15708,7 @@ class Or extends Ii {
15680
15708
  };
15681
15709
  }
15682
15710
  getStyleOrDefaultStyle(e, s) {
15683
- return super.getStyleOrDefaultStyle(e, s || sS);
15711
+ return super.getStyleOrDefaultStyle(e, s || rS);
15684
15712
  }
15685
15713
  get pointSize() {
15686
15714
  return this._pointSize;
@@ -15741,7 +15769,7 @@ class Vn extends vt {
15741
15769
  }
15742
15770
  createImplementationsForMap(e) {
15743
15771
  return e instanceof H ? [new zv(e, this.getImplementationOptions())] : e instanceof Oe ? [
15744
- new Jv(e, this.getImplementationOptions())
15772
+ new Qv(e, this.getImplementationOptions())
15745
15773
  ] : [];
15746
15774
  }
15747
15775
  /**
@@ -15805,7 +15833,7 @@ class br extends Ye {
15805
15833
  }
15806
15834
  }
15807
15835
  De.registerClass(br.className, br);
15808
- function rS(i, t) {
15836
+ function nS(i, t) {
15809
15837
  return new Promise((e) => {
15810
15838
  var n;
15811
15839
  let s;
@@ -15818,14 +15846,14 @@ function rS(i, t) {
15818
15846
  }, t));
15819
15847
  });
15820
15848
  }
15821
- async function Nw(i, t) {
15849
+ async function Dw(i, t) {
15822
15850
  const e = i.getImplementations().filter((s) => s instanceof Fi);
15823
15851
  !i.active || e.every((s) => {
15824
15852
  var r;
15825
15853
  return (r = s.cesium3DTileset) == null ? void 0 : r.tilesLoaded;
15826
- }) || await Promise.all(e.map((s) => rS(s, t)));
15854
+ }) || await Promise.all(e.map((s) => nS(s, t)));
15827
15855
  }
15828
- function Dw(i, t) {
15856
+ function Aw(i, t) {
15829
15857
  return i.tilesLoaded ? Promise.resolve() : new Promise((e) => {
15830
15858
  let s;
15831
15859
  const r = i.tileLoadProgressEvent.addEventListener((n) => {
@@ -15978,7 +16006,7 @@ class Er extends vt {
15978
16006
  };
15979
16007
  }
15980
16008
  createImplementationsForMap(e) {
15981
- return e instanceof Oe ? [new Qv(e, this.getImplementationOptions())] : e instanceof H ? [new jv(e, this.getImplementationOptions())] : [];
16009
+ return e instanceof Oe ? [new eS(e, this.getImplementationOptions())] : e instanceof H ? [new jv(e, this.getImplementationOptions())] : [];
15982
16010
  }
15983
16011
  toJSON() {
15984
16012
  var r;
@@ -16051,7 +16079,7 @@ class Pr extends hi {
16051
16079
  async initialize() {
16052
16080
  this.initialized || (this._tileLoadEventListener = this.tileProvider.tileLoadedEvent.addEventListener((e) => this._handleTileLoaded(e)), this._vectorPropertiesChangedListener = this.vectorProperties.propertyChanged.addEventListener(() => {
16053
16081
  this.reload();
16054
- }), this.featureProvider = new ao(this.name, {
16082
+ }), this.featureProvider = new oo(this.name, {
16055
16083
  // XXX this overwrites
16056
16084
  style: this.style,
16057
16085
  tileProvider: this.tileProvider,
@@ -16134,7 +16162,7 @@ class Pr extends hi {
16134
16162
  return e instanceof H ? [
16135
16163
  new qv(e, this.getImplementationOptions())
16136
16164
  ] : e instanceof Oe ? [
16137
- new eS(e, this.getImplementationOptions())
16165
+ new tS(e, this.getImplementationOptions())
16138
16166
  ] : [];
16139
16167
  }
16140
16168
  getStyleOrDefaultStyle(e, s) {
@@ -16178,7 +16206,7 @@ class oh extends rt {
16178
16206
  h(this, "getFeaturesOptions");
16179
16207
  h(this, "wfsFormat");
16180
16208
  h(this, "_dataFetchedPromise");
16181
- this.featureType = Array.isArray(e.featureType) ? e.featureType : [e.featureType], this.featureNS = e.featureNS, this.featurePrefix = e.featurePrefix, this.getFeaturesOptions = e.getFeatureOptions || {}, this.version = e.version, this.wfsFormat = new ka({
16209
+ this.featureType = Array.isArray(e.featureType) ? e.featureType : [e.featureType], this.featureNS = e.featureNS, this.featurePrefix = e.featurePrefix, this.getFeaturesOptions = e.getFeatureOptions || {}, this.version = e.version, this.wfsFormat = new za({
16182
16210
  featureNS: this.featureNS,
16183
16211
  featureType: this.featureType,
16184
16212
  version: this.version
@@ -16201,7 +16229,7 @@ class oh extends rt {
16201
16229
  return this.initialized || await this.fetchData(), super.initialize();
16202
16230
  }
16203
16231
  async reload() {
16204
- return this.wfsFormat = new ka({
16232
+ return this.wfsFormat = new za({
16205
16233
  featureNS: this.featureNS,
16206
16234
  featureType: this.featureType,
16207
16235
  version: this.version
@@ -16224,7 +16252,7 @@ class oh extends rt {
16224
16252
  return r.method = "POST", r.body = s, r.headers = {
16225
16253
  ...r.headers,
16226
16254
  "Content-Type": "application/text+xml"
16227
- }, this._dataFetchedPromise = na(this.url, r).then((n) => n.text()).then((n) => this._parseWFSData(n)).catch((n) => (this.getLogger().info(`Could not send request for loading layer content (${String(n)})`), Promise.reject(n))), this._dataFetchedPromise;
16255
+ }, this._dataFetchedPromise = aa(this.url, r).then((n) => n.text()).then((n) => this._parseWFSData(n)).catch((n) => (this.getLogger().info(`Could not send request for loading layer content (${String(n)})`), Promise.reject(n))), this._dataFetchedPromise;
16228
16256
  }
16229
16257
  return this.getLogger().warning("Could not load WFSLayer layer, no url is set"), Promise.reject(new Error("missing url in WFSLayer layer"));
16230
16258
  }
@@ -16257,7 +16285,7 @@ class Ir extends vt {
16257
16285
  this.parameters[n.toUpperCase()] = r[n];
16258
16286
  });
16259
16287
  }
16260
- this.parameters.TRANSPARENT == null && (this.parameters.TRANSPARENT = !1), this.version && (this.parameters.VERSION = this.version), this.parameters.LAYERS = e.layers || s.layers, this.tileSize = e.tileSize || s.tileSize, this.highResolution = de(e.highResolution, s.highResolution), this._featureInfoOptions = e.featureInfo || s.featureInfo, this._supportedMaps = [H.className, Oe.className], this.singleImage2d = de(e.singleImage2d, !1);
16288
+ this.parameters.TRANSPARENT == null && (this.parameters.TRANSPARENT = !1), this.version && (this.parameters.VERSION = this.version), this.parameters.LAYERS = e.layers || s.layers, this.tileSize = e.tileSize || s.tileSize, this.highResolution = de(e.highResolution, s.highResolution), this._featureInfoOptions = e.featureInfo || s.featureInfo, this._supportedMaps = [H.className, Oe.className], this.singleImage2d = de(e.singleImage2d, s.singleImage2d);
16261
16289
  }
16262
16290
  static get className() {
16263
16291
  return "WMSLayer";
@@ -16270,7 +16298,8 @@ class Ir extends vt {
16270
16298
  featureInfo: void 0,
16271
16299
  tileSize: [256, 256],
16272
16300
  highResolution: !1,
16273
- layers: ""
16301
+ layers: "",
16302
+ singleImage2d: !1
16274
16303
  };
16275
16304
  }
16276
16305
  initialize() {
@@ -16309,7 +16338,7 @@ class Ir extends vt {
16309
16338
  };
16310
16339
  }
16311
16340
  createImplementationsForMap(e) {
16312
- return e instanceof H ? [new Wv(e, this.getImplementationOptions())] : e instanceof Oe ? [new tS(e, this.getImplementationOptions())] : [];
16341
+ return e instanceof H ? [new Wv(e, this.getImplementationOptions())] : e instanceof Oe ? [new iS(e, this.getImplementationOptions())] : [];
16313
16342
  }
16314
16343
  /**
16315
16344
  * Sets the layers to request from the WmsLayer
@@ -16331,7 +16360,7 @@ class Ir extends vt {
16331
16360
  const e = super.toJSON(), s = Ir.getDefaultOptions();
16332
16361
  this.parameters.LAYERS && (e.layers = this.parameters.LAYERS), this.version !== s.version && (e.version = this.version);
16333
16362
  const r = { ...this.parameters };
16334
- if (delete r.VERSION, delete r.LAYERS, r.TRANSPARENT === !1 && delete r.TRANSPARENT, Object.keys(r).length > 0 && (e.parameters = r), this.version !== s.version && (e.version = this.version), this.highResolution !== s.highResolution && (e.highResolution = this.highResolution), (this.tileSize[0] !== ((n = s == null ? void 0 : s.tileSize) == null ? void 0 : n[0]) || this.tileSize[1] !== s.tileSize[1]) && (e.tileSize = this.tileSize.slice()), this.featureProvider && this.featureProvider instanceof Bi) {
16363
+ if (delete r.VERSION, delete r.LAYERS, r.TRANSPARENT === !1 && delete r.TRANSPARENT, Object.keys(r).length > 0 && (e.parameters = r), this.version !== s.version && (e.version = this.version), this.highResolution !== s.highResolution && (e.highResolution = this.highResolution), (this.tileSize[0] !== ((n = s == null ? void 0 : s.tileSize) == null ? void 0 : n[0]) || this.tileSize[1] !== s.tileSize[1]) && (e.tileSize = this.tileSize.slice()), this.singleImage2d !== s.singleImage2d && (e.singleImage2d = this.singleImage2d), this.featureProvider && this.featureProvider instanceof Bi) {
16335
16364
  const l = this.featureProvider.toJSON();
16336
16365
  (this.tileSize[0] === ((a = l == null ? void 0 : l.tileSize) == null ? void 0 : a[0]) || this.tileSize[1] === ((o = l == null ? void 0 : l.tileSize) == null ? void 0 : o[1])) && delete l.tileSize, Object.entries(this.parameters).every(([c, d]) => {
16337
16366
  var u;
@@ -16343,7 +16372,7 @@ class Ir extends vt {
16343
16372
  }
16344
16373
  }
16345
16374
  De.registerClass(Ir.className, Ir);
16346
- function nS(i, t, e) {
16375
+ function aS(i, t, e) {
16347
16376
  if (i.length > 0) {
16348
16377
  if (i.length === t + 1)
16349
16378
  return i;
@@ -16396,12 +16425,12 @@ class Lr extends vt {
16396
16425
  tileSize: this.tileSize,
16397
16426
  numberOfLevelZeroTilesX: this.numberOfLevelZeroTilesX,
16398
16427
  numberOfLevelZeroTilesY: this.numberOfLevelZeroTilesY,
16399
- matrixIds: nS(this.matrixIds, this.maxLevel, this.tileMatrixPrefix),
16428
+ matrixIds: aS(this.matrixIds, this.maxLevel, this.tileMatrixPrefix),
16400
16429
  openlayersOptions: this.openlayersOptions
16401
16430
  };
16402
16431
  }
16403
16432
  createImplementationsForMap(e) {
16404
- return e instanceof Oe ? [new iS(e, this.getImplementationOptions())] : e instanceof H ? [new Xv(e, this.getImplementationOptions())] : [];
16433
+ return e instanceof Oe ? [new sS(e, this.getImplementationOptions())] : e instanceof H ? [new Xv(e, this.getImplementationOptions())] : [];
16405
16434
  }
16406
16435
  toJSON() {
16407
16436
  var r;
@@ -16410,7 +16439,7 @@ class Lr extends vt {
16410
16439
  }
16411
16440
  }
16412
16441
  De.registerClass(Lr.className, Lr);
16413
- function Ta() {
16442
+ function Na() {
16414
16443
  return ue("ClippingObject");
16415
16444
  }
16416
16445
  const nn = Symbol("ClippingObjectGlobe");
@@ -16494,7 +16523,7 @@ class an {
16494
16523
  });
16495
16524
  else {
16496
16525
  const n = this.layerNames.indexOf(t.name);
16497
- Ta().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(n, 1);
16526
+ Na().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(n, 1);
16498
16527
  }
16499
16528
  } else
16500
16529
  this.targets.has(t.name) && (this.targets.delete(t.name), this.targetsUpdated.raiseEvent());
@@ -16503,7 +16532,7 @@ class an {
16503
16532
  const r = e.getVisualizationsForLayer(t), n = r ? [...r][0] : null;
16504
16533
  if (!n) {
16505
16534
  const a = this.layerNames.indexOf(t.name);
16506
- Ta().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(a, 1);
16535
+ Na().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(a, 1);
16507
16536
  return;
16508
16537
  }
16509
16538
  this.entities.filter((a) => a.layerName === t.name).forEach((a) => {
@@ -16514,7 +16543,7 @@ class an {
16514
16543
  this.targets.set(o, l), s = !0;
16515
16544
  else {
16516
16545
  const c = this.entities.indexOf(a);
16517
- Ta().warning(`could not find entity with id ${a.entityId} in layer ${a.layerName}`), this.entities.splice(c, 1);
16546
+ Na().warning(`could not find entity with id ${a.entityId} in layer ${a.layerName}`), this.entities.splice(c, 1);
16518
16547
  }
16519
16548
  } else
16520
16549
  this.targets.has(o) && (this.targets.delete(o), s = !0);
@@ -16584,7 +16613,7 @@ function lh(i, t) {
16584
16613
  const s = te.fromPointNormal(i, e);
16585
16614
  return hr.fromPlane(s);
16586
16615
  }
16587
- function aS(i) {
16616
+ function oS(i) {
16588
16617
  const t = [], e = i.map((s) => Ct(s));
16589
16618
  for (let s = 0; s < e.length - 1; s++) {
16590
16619
  const r = s + 1, n = new _();
@@ -16602,7 +16631,7 @@ function hh(i, t, e = {}) {
16602
16631
  const [l, c] = k.mercatorToWgs84(t[0]), d = _.fromDegrees(l, c, n), u = _.fromDegrees(l, c, a);
16603
16632
  return e.createBottomPlane && s.push(lh(d, u)), o && e.createTopPlane && s.push(lh(u, d)), s;
16604
16633
  }
16605
- function oS(i) {
16634
+ function lS(i) {
16606
16635
  const t = [], e = i.map((n) => Ct(n)), s = new _();
16607
16636
  _.cross(e[0], e[1], s), _.normalize(s, s);
16608
16637
  function r(n) {
@@ -16613,7 +16642,7 @@ function oS(i) {
16613
16642
  }
16614
16643
  return r(e[0]), _.negate(s, s), r(e[1]), t;
16615
16644
  }
16616
- function Aw(i, t = {}, e = void 0) {
16645
+ function Fw(i, t = {}, e = void 0) {
16617
16646
  S(i, ae), S(t, Object), S(e, Xh(F));
16618
16647
  const s = [], r = i.getGeometry(), n = r.getType();
16619
16648
  if (n === "Point")
@@ -16622,7 +16651,7 @@ function Aw(i, t = {}, e = void 0) {
16622
16651
  const a = Is(r);
16623
16652
  if (a.length < 2 || a[0][0] === a[1][0] && a[0][1] === a[1][1])
16624
16653
  return null;
16625
- n === "Polygon" ? (io(a), Q_(a)) : n === "LineString" && a.length === 2 && t.createEndingPlanes && s.push(...oS(a)), t.createVerticalPlanes && s.push(...aS(a)), i.get("olcs_altitudeMode") === "absolute" && (t.createBottomPlane || t.createTopPlane) && s.push(...hh(i, a, t));
16654
+ n === "Polygon" ? (so(a), Q_(a)) : n === "LineString" && a.length === 2 && t.createEndingPlanes && s.push(...lS(a)), t.createVerticalPlanes && s.push(...oS(a)), i.get("olcs_altitudeMode") === "absolute" && (t.createBottomPlane || t.createTopPlane) && s.push(...hh(i, a, t));
16626
16655
  }
16627
16656
  return e && s.forEach((a) => {
16628
16657
  const o = te.transform(a, e);
@@ -16646,11 +16675,11 @@ function tr(i, t, e, s) {
16646
16675
  }
16647
16676
  return t.modelMatrix = i.modelMatrix.clone(), t.unionClippingRegions = i.unionClippingRegions, t.edgeColor = i.edgeColor.clone(), t.edgeWidth = i.edgeWidth, t;
16648
16677
  }
16649
- function oa(i) {
16678
+ function la(i) {
16650
16679
  i instanceof Wi ? i.model && (i.model.clippingPlanes ? i.model.clippingPlanes.getValue().removeAll() : i.model.clippingPlanes = new af(new lr())) : i.clippingPlanes ? i.clippingPlanes.removeAll() : i.clippingPlanes = new lr();
16651
16680
  }
16652
- function lS(i, t, e) {
16653
- if (oa(i), e)
16681
+ function hS(i, t, e) {
16682
+ if (la(i), e)
16654
16683
  tr(t, i.clippingPlanes);
16655
16684
  else if (!t.modelMatrix.equals(F.IDENTITY))
16656
16685
  tr(t, i.clippingPlanes), i.clippingPlanes.modelMatrix = F.multiply(F.inverse(i.clippingPlanesOriginMatrix, i.clippingPlanes.modelMatrix), t.modelMatrix, i.clippingPlanes.modelMatrix);
@@ -16659,12 +16688,12 @@ function lS(i, t, e) {
16659
16688
  tr(t, i.clippingPlanes, r, i.boundingSphere.center);
16660
16689
  }
16661
16690
  }
16662
- function hS(i, t) {
16663
- oa(i), tr(t, i.clippingPlanes);
16691
+ function cS(i, t) {
16692
+ la(i), tr(t, i.clippingPlanes);
16664
16693
  }
16665
- function cS(i, t, e) {
16694
+ function uS(i, t, e) {
16666
16695
  if (i.model) {
16667
- oa(i);
16696
+ la(i);
16668
16697
  const s = i.model.clippingPlanes.getValue();
16669
16698
  if (tr(t, s), !e) {
16670
16699
  const r = i.computeModelMatrix(Vh.now());
@@ -16673,9 +16702,9 @@ function cS(i, t, e) {
16673
16702
  }
16674
16703
  }
16675
16704
  function ch(i, t, e) {
16676
- i instanceof Cn ? lS(i, t, e) : i instanceof of ? hS(i, t) : cS(i, t, e);
16705
+ i instanceof Cn ? hS(i, t, e) : i instanceof of ? cS(i, t) : uS(i, t, e);
16677
16706
  }
16678
- function Fw(i, t, e = !1, s = 25) {
16707
+ function Rw(i, t, e = !1, s = 25) {
16679
16708
  S(i, [Number]), S(e, Boolean), S(s, Number);
16680
16709
  let r;
16681
16710
  if (e) {
@@ -16696,7 +16725,7 @@ function Fw(i, t, e = !1, s = 25) {
16696
16725
  const n = new ae({ geometry: r });
16697
16726
  return n.set("olcs_altitudeMode", "absolute"), e && n.set("olcs_extrudedHeight", s * 2), r.transform(oe.proj, U.proj), n;
16698
16727
  }
16699
- function Rw(i, t = !1) {
16728
+ function Gw(i, t = !1) {
16700
16729
  return S(i, Q(ae)), S(t, Boolean), (i ? i.getGeometry().getType() === "LineString" : !1) ? {
16701
16730
  createBottomPlane: !t,
16702
16731
  createTopPlane: !t,
@@ -16707,7 +16736,7 @@ function Rw(i, t = !1) {
16707
16736
  createBottomPlane: !0
16708
16737
  };
16709
16738
  }
16710
- class uS {
16739
+ class dS {
16711
16740
  constructor(t) {
16712
16741
  h(this, "_defaultClippingObjects", /* @__PURE__ */ new Set());
16713
16742
  h(this, "_exclusiveClippingObjects", null);
@@ -16822,7 +16851,7 @@ class uS {
16822
16851
  });
16823
16852
  };
16824
16853
  this._targetsMap.clear(), this._defaultClippingObjects.forEach(e), this._exclusiveClippingObjects && this._exclusiveClippingObjects.forEach(e), t.forEach((s) => {
16825
- oa(s);
16854
+ la(s);
16826
16855
  }), this._targetsMap.forEach((s, r) => {
16827
16856
  s.clippingPlaneCollection && ch(r, s.clippingPlaneCollection, s.local);
16828
16857
  });
@@ -16876,7 +16905,7 @@ function _u(i) {
16876
16905
  });
16877
16906
  return zo(t), i.add(t), t.activate(), t;
16878
16907
  }
16879
- function la(i, t) {
16908
+ function ha(i, t) {
16880
16909
  const e = new Ki(), s = new I(), r = i.addExclusiveInteraction(e, () => {
16881
16910
  s.raiseEvent();
16882
16911
  }, void 0, t), n = i.featureInteraction.active;
@@ -16903,7 +16932,7 @@ function vu(i) {
16903
16932
  }
16904
16933
  };
16905
16934
  }
16906
- class dS extends ce {
16935
+ class fS extends ce {
16907
16936
  constructor() {
16908
16937
  super(E.CLICKMOVE | E.DBLCLICK);
16909
16938
  h(this, "_geometry", null);
@@ -16933,7 +16962,7 @@ class dS extends ce {
16933
16962
  this._geometry = null, this._coordinates = [], this.finished.destroy(), this.created.destroy(), super.destroy();
16934
16963
  }
16935
16964
  }
16936
- class fS extends ce {
16965
+ class gS extends ce {
16937
16966
  constructor() {
16938
16967
  super(E.CLICKMOVE | E.DBLCLICK);
16939
16968
  h(this, "_geometry", null);
@@ -16963,7 +16992,7 @@ class fS extends ce {
16963
16992
  }
16964
16993
  }
16965
16994
  const uh = 1e-6;
16966
- class gS extends ce {
16995
+ class mS extends ce {
16967
16996
  constructor() {
16968
16997
  super(E.CLICKMOVE | E.DBLCLICK);
16969
16998
  h(this, "_geometry", null);
@@ -17008,7 +17037,7 @@ class gS extends ce {
17008
17037
  this._geometry = null, this.finished.destroy(), this.created.destroy(), super.destroy();
17009
17038
  }
17010
17039
  }
17011
- class mS extends ce {
17040
+ class pS extends ce {
17012
17041
  constructor() {
17013
17042
  super(E.CLICK);
17014
17043
  h(this, "_geometry", null);
@@ -17029,7 +17058,7 @@ class mS extends ce {
17029
17058
  this.finished.destroy(), this.created.destroy(), super.destroy();
17030
17059
  }
17031
17060
  }
17032
- class pS extends ce {
17061
+ class yS extends ce {
17033
17062
  constructor() {
17034
17063
  super(E.CLICKMOVE | E.DBLCLICK);
17035
17064
  h(this, "_geometry", null);
@@ -17065,7 +17094,7 @@ class pS extends ce {
17065
17094
  this._geometry = null, this._coordinates = [], this.finished.destroy(), this.created.destroy(), super.destroy();
17066
17095
  }
17067
17096
  }
17068
- async function yS(i, t) {
17097
+ async function _S(i, t) {
17069
17098
  const e = i.getViewpointSync();
17070
17099
  if (!e)
17071
17100
  return;
@@ -17117,7 +17146,7 @@ class Vo extends Tt {
17117
17146
  // eslint-disable-next-line class-methods-use-this
17118
17147
  h(this, "_postRenderListener", () => {
17119
17148
  });
17120
- this.clippingObjectManager = new uS(this._layerCollection);
17149
+ this.clippingObjectManager = new dS(this._layerCollection);
17121
17150
  }
17122
17151
  /**
17123
17152
  * Creates a MapCollection from an iterable of maps, such as an Array.
@@ -17233,7 +17262,7 @@ class Vo extends Tt {
17233
17262
  const s = this.getByKey(e);
17234
17263
  if (!s)
17235
17264
  return ue("MapCollection").warning(`could not find map with name ${e}`), Promise.resolve();
17236
- this._activeMap && this._activeMap.className === "CesiumMap" && s.className === "OpenlayersMap" && await yS(this._activeMap, s);
17265
+ this._activeMap && this._activeMap.className === "CesiumMap" && s.className === "OpenlayersMap" && await _S(this._activeMap, s);
17237
17266
  try {
17238
17267
  await s.initialize();
17239
17268
  } catch (n) {
@@ -17278,10 +17307,10 @@ class Vo extends Tt {
17278
17307
  }), this._mapPointerListeners = [], this._target = null;
17279
17308
  }
17280
17309
  }
17281
- function _S() {
17310
+ function vS() {
17282
17311
  return navigator.language ? navigator.language.substring(0, 2) : "en";
17283
17312
  }
17284
- function vS(i, t) {
17313
+ function SS(i, t) {
17285
17314
  const e = Jt(new Tt("id"), i);
17286
17315
  return e.added.addEventListener(({ id: s }) => {
17287
17316
  t.hideObjects([s]);
@@ -17291,7 +17320,7 @@ function vS(i, t) {
17291
17320
  t.showObjects([s]);
17292
17321
  }), e;
17293
17322
  }
17294
- function Gw(i) {
17323
+ function kw(i) {
17295
17324
  const t = i.toJSON();
17296
17325
  return t.loop != null && t.loop, t.interpolation != null && t.interpolation, t.multiplier != null && t.multiplier, {
17297
17326
  type: "FeatureCollection",
@@ -17342,7 +17371,7 @@ function wu(i) {
17342
17371
  }
17343
17372
  return t;
17344
17373
  }
17345
- function kw(i) {
17374
+ function zw(i) {
17346
17375
  return {
17347
17376
  type: "FeatureCollection",
17348
17377
  features: [
@@ -17357,7 +17386,7 @@ function kw(i) {
17357
17386
  ]
17358
17387
  };
17359
17388
  }
17360
- function SS(i) {
17389
+ function wS(i) {
17361
17390
  const t = i.vcsMeta && i.vcsMeta.flightOptions ? i.vcsMeta.flightOptions : {};
17362
17391
  return t.anchors = i.features, t;
17363
17392
  }
@@ -17370,7 +17399,7 @@ const Mu = {
17370
17399
  duration: Number,
17371
17400
  title: Q(String)
17372
17401
  };
17373
- function wS(i) {
17402
+ function MS(i) {
17374
17403
  return Os(i, Mu) && i.coordinate.length === 3;
17375
17404
  }
17376
17405
  function Cu(i) {
@@ -17425,7 +17454,7 @@ function Cu(i) {
17425
17454
  }
17426
17455
  };
17427
17456
  }
17428
- function zw(i) {
17457
+ function Hw(i) {
17429
17458
  if (i.cameraPosition)
17430
17459
  return Cu({
17431
17460
  ...i,
@@ -17440,10 +17469,10 @@ function dh(i) {
17440
17469
  name: i.id ? String(i.id) : $e(),
17441
17470
  coordinate: i.geometry.coordinates
17442
17471
  };
17443
- if (wS(t))
17472
+ if (MS(t))
17444
17473
  return Cu(t);
17445
17474
  }
17446
- function Hw(i) {
17475
+ function jw(i) {
17447
17476
  return new mt({
17448
17477
  name: i.name,
17449
17478
  cameraPosition: i.coordinate.slice(),
@@ -17456,7 +17485,7 @@ function Hw(i) {
17456
17485
  }
17457
17486
  });
17458
17487
  }
17459
- function MS(i) {
17488
+ function CS(i) {
17460
17489
  const t = {
17461
17490
  heading: i.heading,
17462
17491
  pitch: i.pitch,
@@ -17532,7 +17561,7 @@ class Ms extends Gt {
17532
17561
  initialize() {
17533
17562
  if (!this._readyPromise) {
17534
17563
  this._url ? this._readyPromise = Pi(this._url).then((e) => {
17535
- const s = SS(e);
17564
+ const s = wS(e);
17536
17565
  (s.anchors ?? []).map(dh).filter((r) => !!r).forEach((r) => this.anchors.add(r)), this._multiplier = s.multiplier ?? this._multiplier, this._loop = s.loop ?? this._loop, this._interpolation = s.interpolation ?? this._interpolation;
17537
17566
  }) : this._readyPromise = Promise.resolve();
17538
17567
  for (const e of this.anchors)
@@ -17568,7 +17597,7 @@ class Ms extends Gt {
17568
17597
  if (this._url)
17569
17598
  return e.url = this._url, e;
17570
17599
  const s = Ms.getDefaultOptions();
17571
- return this._multiplier !== s.multiplier && (e.multiplier = this._multiplier), this._loop !== s.loop && (e.loop = this._loop), this._interpolation !== s.interpolation && (e.interpolation = this._interpolation), this.anchors.size > 0 && (e.anchors = [...this.anchors].map(MS)), e;
17600
+ return this._multiplier !== s.multiplier && (e.multiplier = this._multiplier), this._loop !== s.loop && (e.loop = this._loop), this._interpolation !== s.interpolation && (e.interpolation = this._interpolation), this.anchors.size > 0 && (e.anchors = [...this.anchors].map(CS)), e;
17572
17601
  }
17573
17602
  destroy() {
17574
17603
  this.anchorsChanged.destroy(), Kt(this.anchors), this._anchorListeners.clear(), super.destroy();
@@ -17582,7 +17611,7 @@ function fh() {
17582
17611
  times: []
17583
17612
  };
17584
17613
  }
17585
- async function CS(i, t) {
17614
+ async function xS(i, t) {
17586
17615
  S(i, Ms), S(t, xu);
17587
17616
  let e = t.maps.activeMap instanceof H ? t.maps.activeMap : t.maps.getByType(H.className)[0];
17588
17617
  if (!e)
@@ -17728,7 +17757,7 @@ async function CS(i, t) {
17728
17757
  destroy: O
17729
17758
  };
17730
17759
  }
17731
- class xS extends Tt {
17760
+ class OS extends Tt {
17732
17761
  constructor(e) {
17733
17762
  super();
17734
17763
  h(this, "_app");
@@ -17751,7 +17780,7 @@ class xS extends Tt {
17751
17780
  */
17752
17781
  async setPlayerForFlight(e) {
17753
17782
  var s;
17754
- return ((s = this._player) == null ? void 0 : s.flightInstanceName) === e.name ? this._player : (this._player && (this._playerDestroyedListener(), this._player.stop(), this._player.destroy()), this._player = await CS(e, this._app), this.playerChanged.raiseEvent(this._player), this._playerDestroyedListener = this._player.destroyed.addEventListener(() => {
17783
+ return ((s = this._player) == null ? void 0 : s.flightInstanceName) === e.name ? this._player : (this._player && (this._playerDestroyedListener(), this._player.stop(), this._player.destroy()), this._player = await xS(e, this._app), this.playerChanged.raiseEvent(this._player), this._playerDestroyedListener = this._player.destroyed.addEventListener(() => {
17755
17784
  this._player = void 0, this.playerChanged.raiseEvent(void 0);
17756
17785
  }), this._player);
17757
17786
  }
@@ -17762,7 +17791,7 @@ class xS extends Tt {
17762
17791
  function Hs() {
17763
17792
  return ue("init");
17764
17793
  }
17765
- const qn = /* @__PURE__ */ new Map(), OS = "_defaultDynamicModule";
17794
+ const qn = /* @__PURE__ */ new Map(), bS = "_defaultDynamicModule";
17766
17795
  class xu {
17767
17796
  /**
17768
17797
  * @param options
@@ -17801,9 +17830,9 @@ class xu {
17801
17830
  h(this, "_categoryItemClassRegistry");
17802
17831
  h(this, "_tileProviderClassRegistry");
17803
17832
  h(this, "_featureProviderClassRegistry");
17804
- this._id = (t == null ? void 0 : t._id) || $e(), this.name = t.name ?? this._id, this.description = t.description, this.properties = t.properties, this._defaultDynamicModule = new rh({ _id: OS }), this._dynamicModule = this._defaultDynamicModule;
17833
+ this._id = (t == null ? void 0 : t._id) || $e(), this.name = t.name ?? this._id, this.description = t.description, this.properties = t.properties, this._defaultDynamicModule = new rh({ _id: bS }), this._dynamicModule = this._defaultDynamicModule;
17805
17834
  const e = () => this._dynamicModule._id;
17806
- this._dynamicModuleIdChanged = new I(), this._locale = _S(), this._localeChanged = new I(), this._mapClassRegistry = new Zt(Ps), this._maps = Jt(new Vo(), e, void 0, D_.bind(null, this), Ei), this._layerClassRegistry = new Zt(De), this._layers = Jt(this._maps.layerCollection, e, R_.bind(null, this), F_.bind(null, this), Ye, G_), this._layers.locale = this.locale, this._obliqueCollections = Jt(new Tt(), e, void 0, (s) => new $i(s), $i), this._viewpoints = Jt(new Tt(), e, void 0, A_, mt), this._styleClassRegistry = new Zt(Hr), this._styles = Jt(new Tt(), e, void 0, (s) => ii(this._styleClassRegistry, s), Wt), this._modules = new bi("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = vS(e, this._layers.globalHider), this._flights = Jt(new xS(this), e, void 0, (s) => new Ms(s)), this._categoryClassRegistry = new Zt(Cc), this._categories = new Ov(this), this._destroyed = new I(), this._moduleMutationPromise = Promise.resolve(), this._categoryItemClassRegistry = new Zt(new Li()), this._tileProviderClassRegistry = new Zt(Es), this._featureProviderClassRegistry = new Zt(xo), qn.set(this._id, this);
17835
+ this._dynamicModuleIdChanged = new I(), this._locale = vS(), this._localeChanged = new I(), this._mapClassRegistry = new Zt(Ps), this._maps = Jt(new Vo(), e, void 0, D_.bind(null, this), Ei), this._layerClassRegistry = new Zt(De), this._layers = Jt(this._maps.layerCollection, e, R_.bind(null, this), F_.bind(null, this), Ye, G_), this._layers.locale = this.locale, this._obliqueCollections = Jt(new Tt(), e, void 0, (s) => new $i(s), $i), this._viewpoints = Jt(new Tt(), e, void 0, A_, mt), this._styleClassRegistry = new Zt(Hr), this._styles = Jt(new Tt(), e, void 0, (s) => ii(this._styleClassRegistry, s), Wt), this._modules = new bi("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = SS(e, this._layers.globalHider), this._flights = Jt(new OS(this), e, void 0, (s) => new Ms(s)), this._categoryClassRegistry = new Zt(Cc), this._categories = new Ov(this), this._destroyed = new I(), this._moduleMutationPromise = Promise.resolve(), this._categoryItemClassRegistry = new Zt(new Li()), this._tileProviderClassRegistry = new Zt(Es), this._featureProviderClassRegistry = new Zt(Oo), qn.set(this._id, this);
17807
17836
  }
17808
17837
  get id() {
17809
17838
  return this._id;
@@ -17977,7 +18006,7 @@ class xu {
17977
18006
  }), qn.delete(this._id), Kt(this._maps), Kt(this._layers), Kt(this._obliqueCollections), Kt(this._viewpoints), Kt(this._styles), Kt(this._categories), this._modules.destroy(), this._hiddenObjects.destroy(), this._mapClassRegistry.destroy(), this._layerClassRegistry.destroy(), this._styleClassRegistry.destroy(), this._categoryClassRegistry.destroy(), this._categoryItemClassRegistry.destroy(), this._tileProviderClassRegistry.destroy(), this._featureProviderClassRegistry.destroy(), this.destroyed.raiseEvent(), this.destroyed.destroy(), this.localeChanged.destroy(), this.dynamicModuleIdChanged.destroy();
17978
18007
  }
17979
18008
  }
17980
- function jw(i) {
18009
+ function Vw(i) {
17981
18010
  return qn.get(i);
17982
18011
  }
17983
18012
  window.vcs = window.vcs || {};
@@ -17988,7 +18017,7 @@ function Ou(i) {
17988
18017
  const t = i.getType();
17989
18018
  return t === "LineString" ? No(i) : t === "Polygon" ? Vc(i) : t === "Point" ? tu(i) : t === "Circle" ? Uc(i) : !1;
17990
18019
  }
17991
- const Br = Symbol("Vertex"), Vw = Symbol("VertexIndex"), Te = Symbol("Handler"), oi = Symbol("MouseOver"), bS = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19">
18020
+ const Br = Symbol("Vertex"), $w = Symbol("VertexIndex"), Te = Symbol("Handler"), oi = Symbol("MouseOver"), ES = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19">
17992
18021
  <g id="pen">
17993
18022
  <path d=" M 14.744 18.702 L 12.814 16.772 L 16.773 12.814 L 18.703 14.744 C 19.099 15.159 19.099 15.812 18.703 16.228 L 16.228 18.702 C 15.813 19.097 15.16 19.097 14.744 18.702 Z M 3.959 0.002 L 15.635 11.679 L 11.678 15.637 L 0 3.962 L 0 0.002 L 3.959 0.002 Z " fill="rgb(0,0,0)"/>
17994
18023
  <path d=" M 0.75 0.846 L 3.641 0.846 L 14.532 11.768 L 11.641 14.659 L 0.75 3.581 L 0.75 0.846 Z " fill="rgb(255,255,255)"/>
@@ -18002,14 +18031,14 @@ const Br = Symbol("Vertex"), Vw = Symbol("VertexIndex"), Te = Symbol("Handler"),
18002
18031
  rotate: "crosshair",
18003
18032
  translate: "move",
18004
18033
  select: "pointer",
18005
- edit: `url("data:image/svg+xml;charset=utf-8,${encodeURIComponent(bS)}"), pointer`,
18034
+ edit: `url("data:image/svg+xml;charset=utf-8,${encodeURIComponent(ES)}"), pointer`,
18006
18035
  translateVertex: "move",
18007
18036
  removeVertex: "no-drop",
18008
18037
  insertVertex: "cell",
18009
18038
  addToSelection: "cell",
18010
18039
  removeFromSelection: "not-allowed"
18011
18040
  };
18012
- class ES extends ce {
18041
+ class PS extends ce {
18013
18042
  constructor() {
18014
18043
  super(E.MOVE, j.NONE | j.SHIFT);
18015
18044
  h(this, "_currentVertex", null);
@@ -18040,25 +18069,25 @@ class ES extends ce {
18040
18069
  this.reset(), super.destroy();
18041
18070
  }
18042
18071
  }
18043
- function PS(i) {
18072
+ function IS(i) {
18044
18073
  let t;
18045
18074
  if (i === et.Polygon)
18046
- t = new pS();
18075
+ t = new yS();
18047
18076
  else if (i === et.Point)
18048
- t = new mS();
18077
+ t = new pS();
18049
18078
  else if (i === et.LineString)
18050
- t = new dS();
18079
+ t = new fS();
18051
18080
  else if (i === et.BBox)
18052
- t = new gS();
18081
+ t = new mS();
18053
18082
  else if (i === et.Circle)
18054
- t = new fS();
18083
+ t = new gS();
18055
18084
  else
18056
18085
  throw new Error(`Unexpected geometry tpye ${i}`);
18057
18086
  return t;
18058
18087
  }
18059
- function $w(i, t, e, s) {
18088
+ function Bw(i, t, e, s) {
18060
18089
  S(i, xu), S(t, rt), S(e, xn(et));
18061
- const { interactionChain: r, removed: n, destroy: a } = la(i.maps.eventHandler), o = new I(), l = new I(), c = new I();
18090
+ const { interactionChain: r, removed: n, destroy: a } = ha(i.maps.eventHandler), o = new I(), l = new I(), c = new I();
18062
18091
  let d = !1, u = null, f = null, g = !1, m = s;
18063
18092
  const p = vu(i), y = () => {
18064
18093
  const B = f ?? new At({ olcs_altitudeMode: m }), A = t.vectorProperties.getAltitudeMode(B);
@@ -18074,7 +18103,7 @@ function $w(i, t, e, s) {
18074
18103
  B();
18075
18104
  }), C = [];
18076
18105
  }, M = () => {
18077
- O(), u = PS(e), C = [
18106
+ O(), u = IS(e), C = [
18078
18107
  u.created.addEventListener((B) => {
18079
18108
  g && (i.maps.activeMap.switchEnabled = !1), f = new At({ geometry: B }), f[st] = !0, m && f.set("olcs_altitudeMode", m);
18080
18109
  const A = f.on("propertychange", (kt) => {
@@ -18137,7 +18166,7 @@ var _e;
18137
18166
  (function(i) {
18138
18167
  i.TRANSLATE = "translate", i.ROTATE = "rotate", i.SCALE = "scale", i.EXTRUDE = "extrude";
18139
18168
  })(_e = _e || (_e = {}));
18140
- const ha = q.GRAY.withAlpha(0.5);
18169
+ const ca = q.GRAY.withAlpha(0.5);
18141
18170
  function Wn(i) {
18142
18171
  return i === b.X || i === b.Y || i === b.Z;
18143
18172
  }
@@ -18152,12 +18181,12 @@ function yn(i) {
18152
18181
  }
18153
18182
  function _n(i) {
18154
18183
  return {
18155
- appearance: new ja({
18184
+ appearance: new Va({
18156
18185
  material: Ft.fromType("Color", {
18157
18186
  color: i
18158
18187
  })
18159
18188
  }),
18160
- depthFailAppearance: new ja({
18189
+ depthFailAppearance: new Va({
18161
18190
  material: Ft.fromType("Color", {
18162
18191
  color: q.divideByScalar(i, 1.5, new q()).withAlpha(0.2)
18163
18192
  })
@@ -18180,9 +18209,9 @@ function $o(i) {
18180
18209
  })
18181
18210
  };
18182
18211
  }
18183
- function Na(i, t, e = !1) {
18212
+ function Da(i, t, e = !1) {
18184
18213
  let s, r;
18185
- i === b.Z ? (s = q.BLUE, r = X.IDENTITY.clone()) : i === b.X ? (s = q.RED, r = X.multiply(X.fromRotationY(Math.PI / 2), X.fromRotationX(Math.PI / 2), new X())) : (s = q.GREEN, r = X.fromRotationY(Math.PI / 2)), s = e ? ha : s;
18214
+ i === b.Z ? (s = q.BLUE, r = X.IDENTITY.clone()) : i === b.X ? (s = q.RED, r = X.multiply(X.fromRotationY(Math.PI / 2), X.fromRotationX(Math.PI / 2), new X())) : (s = q.GREEN, r = X.fromRotationY(Math.PI / 2)), s = e ? ca : s;
18186
18215
  const n = new pt({
18187
18216
  allowPicking: !e,
18188
18217
  asynchronous: !1,
@@ -18208,16 +18237,16 @@ function Na(i, t, e = !1) {
18208
18237
  }
18209
18238
  }), e || (n[Te] = i), yn(n), n;
18210
18239
  }
18211
- function IS(i) {
18240
+ function LS(i) {
18212
18241
  i[0] > 180 ? i[0] -= 360 : i[0] < -180 && (i[0] += 360), i[1] > 90 ? (i[1] = 90 - (i[1] - 90), i[0] < 180 ? i[0] += 180 : i[1] -= 180) : i[1] < -90 && (i[1] = -90 + (i[1] + 90), i[0] < 180 ? i[0] += 180 : i[1] -= 180);
18213
18242
  }
18214
18243
  function gh(i, t) {
18215
18244
  return [-15, -5, 0, 5, 15].map((s) => {
18216
18245
  const r = i.slice();
18217
- return t === b.X ? r[0] += s : r[1] += s, IS(r), r;
18246
+ return t === b.X ? r[0] += s : r[1] += s, LS(r), r;
18218
18247
  });
18219
18248
  }
18220
- function LS(i, t) {
18249
+ function TS(i, t) {
18221
18250
  const e = [], s = k.mercatorToWgs84(t);
18222
18251
  (i === b.X || i === b.XY || i === b.XZ) && e.push(new pt({
18223
18252
  asynchronous: !1,
@@ -18270,13 +18299,13 @@ function LS(i, t) {
18270
18299
  r.add(n);
18271
18300
  }), r;
18272
18301
  }
18273
- function TS(i) {
18302
+ function NS(i) {
18274
18303
  let t;
18275
18304
  return (e, s) => {
18276
- t && (i.remove(t), t = void 0), e !== b.NONE && (t = LS(e, s), i.add(t));
18305
+ t && (i.remove(t), t = void 0), e !== b.NONE && (t = TS(e, s), i.add(t));
18277
18306
  };
18278
18307
  }
18279
- function NS(i, t, e, s, r) {
18308
+ function DS(i, t, e, s, r) {
18280
18309
  const n = new pt({
18281
18310
  allowPicking: r,
18282
18311
  asynchronous: !1,
@@ -18299,7 +18328,7 @@ function NS(i, t, e, s, r) {
18299
18328
  }
18300
18329
  function rs(i, t, e, s = !1) {
18301
18330
  let r, n, a;
18302
- i === b.X ? (r = new _(1, N.EPSILON8, 0), n = q.RED, a = F.fromRotationTranslation(X.fromRotationY(Math.PI / 2), new _(1, 0, 0))) : i === b.Y ? (r = new _(N.EPSILON8, 1, 0), n = q.GREEN, a = F.fromRotationTranslation(X.multiply(X.fromRotationY(Math.PI / 2), X.fromRotationX(-(Math.PI / 2)), new X()), new _(0, 1, 0))) : (r = new _(N.EPSILON8, N.EPSILON8, 1), n = q.BLUE, a = F.fromRotationTranslation(X.IDENTITY.clone(), new _(0, 0, 1))), n = s ? ha : n;
18331
+ i === b.X ? (r = new _(1, N.EPSILON8, 0), n = q.RED, a = F.fromRotationTranslation(X.fromRotationY(Math.PI / 2), new _(1, 0, 0))) : i === b.Y ? (r = new _(N.EPSILON8, 1, 0), n = q.GREEN, a = F.fromRotationTranslation(X.multiply(X.fromRotationY(Math.PI / 2), X.fromRotationX(-(Math.PI / 2)), new X()), new _(0, 1, 0))) : (r = new _(N.EPSILON8, N.EPSILON8, 1), n = q.BLUE, a = F.fromRotationTranslation(X.IDENTITY.clone(), new _(0, 0, 1))), n = s ? ca : n;
18303
18332
  const o = e === _e.SCALE ? new Hh({
18304
18333
  minimum: new _(-0.1, -0.1, -0.1),
18305
18334
  maximum: new _(0.1, 0.1, 0.1)
@@ -18326,7 +18355,7 @@ function rs(i, t, e, s = !1) {
18326
18355
  ..._n(n),
18327
18356
  modelMatrix: t
18328
18357
  }),
18329
- NS(o, n, t, a, !s)
18358
+ DS(o, n, t, a, !s)
18330
18359
  ];
18331
18360
  return s || l.forEach((c) => {
18332
18361
  c[Te] = i;
@@ -18349,14 +18378,14 @@ function ns(i, t, e = !1) {
18349
18378
  new _(1e-7, 0.4, 0.2),
18350
18379
  new _(1e-7, 0.4, 0.4),
18351
18380
  new _(1e-7, 0.2, 0.4)
18352
- ], r = q.RED), r = e ? ha : r;
18381
+ ], r = q.RED), r = e ? ca : r;
18353
18382
  const n = new pt({
18354
18383
  allowPicking: !e,
18355
18384
  asynchronous: !1,
18356
18385
  geometryInstances: [
18357
18386
  new ct({
18358
18387
  geometry: new cf({
18359
- polygonHierarchy: new Va(s)
18388
+ polygonHierarchy: new $a(s)
18360
18389
  })
18361
18390
  })
18362
18391
  ],
@@ -18365,7 +18394,7 @@ function ns(i, t, e = !1) {
18365
18394
  });
18366
18395
  return e || (n[Te] = i), n;
18367
18396
  }
18368
- function DS(i) {
18397
+ function AS(i) {
18369
18398
  let t;
18370
18399
  return (e, s, r) => {
18371
18400
  t && (i.remove(t), t = void 0), e !== b.NONE && (t = new Ci(), Wn(e) ? rs(e, s, r, !0).forEach((n) => {
@@ -18373,7 +18402,7 @@ function DS(i) {
18373
18402
  }) : Xn(e) && t.add(ns(e, s, !0)), i.add(t));
18374
18403
  };
18375
18404
  }
18376
- function AS(i, t) {
18405
+ function FS(i, t) {
18377
18406
  const e = new Ci(), s = F.fromTranslation(_.fromDegrees(0, 0, 0)), r = [];
18378
18407
  if (t === _e.TRANSLATE || t === _e.SCALE) {
18379
18408
  const g = [
@@ -18385,7 +18414,7 @@ function AS(i, t) {
18385
18414
  yn(m), e.add(m);
18386
18415
  });
18387
18416
  } else
18388
- t === _e.ROTATE ? (e.add(Na(b.X, s, !0)), e.add(Na(b.Y, s, !0)), e.add(Na(b.Z, s))) : t === _e.EXTRUDE && rs(b.Z, s, t).forEach((g) => {
18417
+ t === _e.ROTATE ? (e.add(Da(b.X, s, !0)), e.add(Da(b.Y, s, !0)), e.add(Da(b.Z, s))) : t === _e.EXTRUDE && rs(b.Z, s, t).forEach((g) => {
18389
18418
  yn(g), e.add(g);
18390
18419
  });
18391
18420
  const n = i.getScene();
@@ -18402,7 +18431,7 @@ function AS(i, t) {
18402
18431
  }
18403
18432
  });
18404
18433
  let c = b.NONE;
18405
- const d = TS(e), u = DS(e);
18434
+ const d = NS(e), u = AS(e);
18406
18435
  let f = !1;
18407
18436
  return {
18408
18437
  get show() {
@@ -18448,7 +18477,7 @@ function mh(i, t, e) {
18448
18477
  [i[0], e[3], i[2]]
18449
18478
  ];
18450
18479
  }
18451
- function FS(i, t) {
18480
+ function RS(i, t) {
18452
18481
  let e;
18453
18482
  const s = t ?? U.proj.getExtent();
18454
18483
  return (r, n) => {
@@ -18478,12 +18507,12 @@ function FS(i, t) {
18478
18507
  }
18479
18508
  a.forEach((o) => {
18480
18509
  const l = o.getGeometry();
18481
- l[Xe] = !0, o[ta] = !0;
18510
+ l[Xe] = !0, o[ia] = !0;
18482
18511
  }), e = i.addFeatures(a);
18483
18512
  }
18484
18513
  };
18485
18514
  }
18486
- function oo(i, t, e) {
18515
+ function lo(i, t, e) {
18487
18516
  let s, r, n = 0;
18488
18517
  i === b.X ? (s = q.RED.toCssColorString(), r = [
18489
18518
  [0, 0, 0],
@@ -18528,13 +18557,13 @@ function bu(i) {
18528
18557
  }), e = i ?? q.BLUE.toCssColorString();
18529
18558
  return t.setStyle(new ee({ fill: new it({ color: e }) })), t;
18530
18559
  }
18531
- function RS(i) {
18560
+ function GS(i) {
18532
18561
  let t;
18533
- const e = ha.toCssColorString();
18562
+ const e = ca.toCssColorString();
18534
18563
  return (s, r, n, a) => {
18535
18564
  if (t && (i.removeFeaturesById(t), t = void 0), s !== b.NONE) {
18536
18565
  let o = [];
18537
- Wn(s) ? o = oo(s, r, e) : Xn(s) && (o = [bu(e)]), o.forEach((l) => {
18566
+ Wn(s) ? o = lo(s, r, e) : Xn(s) && (o = [bu(e)]), o.forEach((l) => {
18538
18567
  l.getGeometry().applyTransform((c, d) => {
18539
18568
  const u = c.length;
18540
18569
  for (let f = 0; f < u; f += 3)
@@ -18545,11 +18574,11 @@ function RS(i) {
18545
18574
  }
18546
18575
  };
18547
18576
  }
18548
- function GS(i, t, e) {
18577
+ function kS(i, t, e) {
18549
18578
  let s = [0, 0, 0], r = 1, n = [];
18550
18579
  e === _e.TRANSLATE || e === _e.SCALE ? n = [
18551
- ...oo(b.X, e),
18552
- ...oo(b.Y, e),
18580
+ ...lo(b.X, e),
18581
+ ...lo(b.Y, e),
18553
18582
  bu()
18554
18583
  ] : e === _e.ROTATE && (n = [
18555
18584
  new At({
@@ -18560,7 +18589,7 @@ function GS(i, t, e) {
18560
18589
  stroke: new He({ color: q.BLUE.toCssColorString(), width: 2 })
18561
18590
  }))), n.forEach((u) => {
18562
18591
  const f = u.getGeometry();
18563
- f[Xe] = !0, u[ta] = !0, u[Te] = u.get("axis");
18592
+ f[Xe] = !0, u[ia] = !0, u[Te] = u.get("axis");
18564
18593
  });
18565
18594
  const a = i.olMap.on("postrender", () => {
18566
18595
  if (!(s[0] === 0 && s[1] === 0 && s[2] === 0)) {
@@ -18576,7 +18605,7 @@ function GS(i, t, e) {
18576
18605
  }
18577
18606
  });
18578
18607
  let o = b.NONE;
18579
- const l = FS(t), c = RS(t);
18608
+ const l = RS(t), c = GS(t);
18580
18609
  let d = !1;
18581
18610
  return {
18582
18611
  get show() {
@@ -18608,7 +18637,7 @@ function GS(i, t, e) {
18608
18637
  }
18609
18638
  };
18610
18639
  }
18611
- function kS(i, t) {
18640
+ function zS(i, t) {
18612
18641
  const e = new ti();
18613
18642
  let s = !1, r = !1;
18614
18643
  const n = i.vectorProperties.altitudeMode === Le.CLAMP_TO_GROUND;
@@ -18624,7 +18653,7 @@ function kS(i, t) {
18624
18653
  someNoTerrain: r
18625
18654
  };
18626
18655
  }
18627
- function zS(i) {
18656
+ function HS(i) {
18628
18657
  const t = ps();
18629
18658
  return i.forEach((e) => {
18630
18659
  const s = e[xt] ?? e.getGeometry();
@@ -18635,7 +18664,7 @@ function zS(i) {
18635
18664
  someNoTerrain: !1
18636
18665
  };
18637
18666
  }
18638
- function HS(i, t, e, s) {
18667
+ function jS(i, t, e, s) {
18639
18668
  let r, n = [0, 0, 0], a, o = null, l = () => {
18640
18669
  };
18641
18670
  const c = async (d) => {
@@ -18650,7 +18679,7 @@ function HS(i, t, e, s) {
18650
18679
  } else
18651
18680
  r.show = !1;
18652
18681
  };
18653
- return i instanceof H ? (r = AS(i, s), a = kS.bind(null, t), o = i) : i instanceof yr && (r = GS(i, e, s), a = zS), {
18682
+ return i instanceof H ? (r = FS(i, s), a = zS.bind(null, t), o = i) : i instanceof yr && (r = kS(i, e, s), a = HS), {
18654
18683
  get showing() {
18655
18684
  return r.show;
18656
18685
  },
@@ -18673,14 +18702,14 @@ function HS(i, t, e, s) {
18673
18702
  }
18674
18703
  };
18675
18704
  }
18676
- function jS(i) {
18705
+ function VS(i) {
18677
18706
  const t = i.olMap.getInteractions().getArray().find((e) => e instanceof pd);
18678
18707
  return t ? (t.setActive(!1), () => {
18679
18708
  t.setActive(!0);
18680
18709
  }) : () => {
18681
18710
  };
18682
18711
  }
18683
- function VS(i) {
18712
+ function $S(i) {
18684
18713
  function t(r) {
18685
18714
  return Array.isArray(r) ? r.slice() : typeof r == "object" ? { ...r } : r;
18686
18715
  }
@@ -18704,7 +18733,7 @@ class Eu extends ce {
18704
18733
  this.setActive();
18705
18734
  }
18706
18735
  pipe(e) {
18707
- return this.reset(), e.feature && (e.feature[Br] || e.feature[Te]) && (e.map.className === "CesiumMap" ? this._clear = VS(e.map) : this._clear = jS(e.map)), Promise.resolve(e);
18736
+ return this.reset(), e.feature && (e.feature[Br] || e.feature[Te]) && (e.map.className === "CesiumMap" ? this._clear = $S(e.map) : this._clear = VS(e.map)), Promise.resolve(e);
18708
18737
  }
18709
18738
  reset() {
18710
18739
  this._clear(), this._clear = () => {
@@ -18737,9 +18766,9 @@ function Ds(i, t) {
18737
18766
  geometry: e,
18738
18767
  ...t
18739
18768
  });
18740
- return s[Br] = !0, s[ta] = !0, s[st] = !0, s;
18769
+ return s[Br] = !0, s[ia] = !0, s[st] = !0, s;
18741
18770
  }
18742
- let Se = new z(), Ht = new z(), Da = new z(), Qe = new _(), Ee = new _(), Aa = new _();
18771
+ let Se = new z(), Ht = new z(), Aa = new z(), Qe = new _(), Ee = new _(), Fa = new _();
18743
18772
  function yh(i, t, e) {
18744
18773
  Se = z.fromElements(t[0] - i[0], t[1] - i[1], Se), Se.equals(z.ZERO) && (Se = z.fromElements(1, 1, Se)), Se = z.normalize(Se, Se), Ht = z.fromElements(e[0] - i[0], e[1] - i[1], Ht);
18745
18774
  const s = z.dot(Se, Ht);
@@ -18749,33 +18778,33 @@ function yh(i, t, e) {
18749
18778
  e[2]
18750
18779
  ];
18751
18780
  }
18752
- function $S(i, t, e, s) {
18753
- Qe = _.fromElements(t[0] - i[0], t[1] - i[1], t[2] - i[2], Qe), Ee = _.fromElements(e[0] - i[0], e[1] - i[1], e[2] - i[2], Ee), Aa = _.fromElements(e[0] - t[0], e[1] - t[1], e[2] - e[2], Aa);
18781
+ function BS(i, t, e, s) {
18782
+ Qe = _.fromElements(t[0] - i[0], t[1] - i[1], t[2] - i[2], Qe), Ee = _.fromElements(e[0] - i[0], e[1] - i[1], e[2] - i[2], Ee), Fa = _.fromElements(e[0] - t[0], e[1] - t[1], e[2] - e[2], Fa);
18754
18783
  const r = _.magnitude(Qe);
18755
- return r < _.magnitude(Ee) || r < _.magnitude(Aa) ? !1 : (Qe = _.normalize(Qe, Qe), Ee = _.normalize(Ee, Ee), Qe.equalsEpsilon(Ee, s || N.EPSILON5));
18784
+ return r < _.magnitude(Ee) || r < _.magnitude(Fa) ? !1 : (Qe = _.normalize(Qe, Qe), Ee = _.normalize(Ee, Ee), Qe.equalsEpsilon(Ee, s || N.EPSILON5));
18756
18785
  }
18757
- function BS(i, t, e, s) {
18758
- Se = z.fromElements(t[0] - i[0], t[1] - i[1], Se), Ht = z.fromElements(e[0] - i[0], e[1] - i[1], Ht), Da = z.fromElements(e[0] - t[0], e[1] - t[1], Da);
18786
+ function US(i, t, e, s) {
18787
+ Se = z.fromElements(t[0] - i[0], t[1] - i[1], Se), Ht = z.fromElements(e[0] - i[0], e[1] - i[1], Ht), Aa = z.fromElements(e[0] - t[0], e[1] - t[1], Aa);
18759
18788
  const r = z.magnitude(Se);
18760
- return r < z.magnitude(Ht) || r < z.magnitude(Da) ? !1 : (Se = z.normalize(Se, Se), Ht = z.normalize(Ht, Ht), Se.equalsEpsilon(Ht, s || N.EPSILON5));
18789
+ return r < z.magnitude(Ht) || r < z.magnitude(Aa) ? !1 : (Se = z.normalize(Se, Se), Ht = z.normalize(Ht, Ht), Se.equalsEpsilon(Ht, s || N.EPSILON5));
18761
18790
  }
18762
18791
  function Pu(i, t) {
18763
18792
  return Qe = Ct(i, Qe), Ee = t.globe.ellipsoid.geodeticSurfaceNormal(Qe, Ee), Ee = _.cross(t.camera.rightWC, Ee, Ee), Ee = _.normalize(Ee, Ee), te.fromPointNormal(Qe, Ee);
18764
18793
  }
18765
- function Bw(i, t) {
18794
+ function Uw(i, t) {
18766
18795
  return Qe = Ct(i, Qe), Ee = t.globe.ellipsoid.geodeticSurfaceNormal(Qe, Ee), te.fromPointNormal(Qe, Ee);
18767
18796
  }
18768
18797
  function jt(i, t, e) {
18769
18798
  const s = t.getPickRay(e, new $h()), r = uf.rayPlane(s, i);
18770
18799
  return r ? ie.fromCartesian(r) : ie.ZERO;
18771
18800
  }
18772
- async function Uw(i, t) {
18801
+ async function qw(i, t) {
18773
18802
  if (t instanceof H) {
18774
18803
  const e = i.getCoordinates(), s = Is(i, e);
18775
18804
  await t.getHeightFromTerrain(s), i.setCoordinates(e);
18776
18805
  }
18777
18806
  }
18778
- async function US(i, t) {
18807
+ async function qS(i, t) {
18779
18808
  if (t instanceof H) {
18780
18809
  const e = i.getCoordinates(), s = Is(i, e);
18781
18810
  await t.getHeightFromTerrain(s);
@@ -18787,18 +18816,18 @@ async function US(i, t) {
18787
18816
  }), i.setCoordinates(e);
18788
18817
  }
18789
18818
  }
18790
- async function qS(i, t, e) {
18819
+ async function WS(i, t, e) {
18791
18820
  const s = t.vectorProperties.altitudeMode === Le.CLAMP_TO_GROUND, r = i.get("olcs_altitudeMode");
18792
18821
  if (r === "clampToGround" || !r && s) {
18793
18822
  i.set("olcs_altitudeMode", "absolute", !0);
18794
18823
  const n = i.getGeometry();
18795
- n && await US(n, e);
18824
+ n && await qS(n, e);
18796
18825
  }
18797
18826
  }
18798
- function qw(i) {
18827
+ function Ww(i) {
18799
18828
  i.set("olcs_altitudeMode", "clampToGround");
18800
18829
  }
18801
- class WS extends ce {
18830
+ class XS extends ce {
18802
18831
  constructor(e) {
18803
18832
  super(E.DRAGEVENTS);
18804
18833
  h(this, "_transformationHandler");
@@ -18880,17 +18909,17 @@ class WS extends ce {
18880
18909
  this._transformationHandler = null, this.translated.destroy();
18881
18910
  }
18882
18911
  }
18883
- function XS(i, t, e) {
18912
+ function YS(i, t, e) {
18884
18913
  return i.x * t.y - i.y * t.x > 0 ? e : e * -1;
18885
18914
  }
18886
18915
  function _h(i, t, e) {
18887
18916
  let s = i(t.positionOrPixel, t.windowPosition);
18888
18917
  return (r, n) => {
18889
- const a = i(r, n), o = XS(s, a, z.angleBetween(s, a));
18918
+ const a = i(r, n), o = YS(s, a, z.angleBetween(s, a));
18890
18919
  return s = a, { angle: o, axis: e };
18891
18920
  };
18892
18921
  }
18893
- class YS extends ce {
18922
+ class ZS extends ce {
18894
18923
  constructor(e) {
18895
18924
  super(E.DRAGEVENTS);
18896
18925
  h(this, "_transformationHandler");
@@ -18944,7 +18973,7 @@ function vh(i, t, e, s) {
18944
18973
  return y !== n && (n = y, w *= -1), v !== a && (a = v, C *= -1), c = f, s === b.X ? [w, 1, 1] : s === b.Y ? [1, C, 1] : [w, C, 1];
18945
18974
  };
18946
18975
  }
18947
- class ZS extends ce {
18976
+ class KS extends ce {
18948
18977
  constructor(e) {
18949
18978
  super(E.DRAGEVENTS);
18950
18979
  h(this, "_transformationHandler");
@@ -18981,7 +19010,7 @@ class ZS extends ce {
18981
19010
  this._transformationHandler = null, this.scaled.destroy();
18982
19011
  }
18983
19012
  }
18984
- class KS extends ce {
19013
+ class JS extends ce {
18985
19014
  constructor(e) {
18986
19015
  super(E.DRAGEVENTS);
18987
19016
  h(this, "_transformationHandler");
@@ -19015,7 +19044,7 @@ class KS extends ce {
19015
19044
  this._transformationHandler = null, this.extruded.destroy();
19016
19045
  }
19017
19046
  }
19018
- class JS extends ce {
19047
+ class QS extends ce {
19019
19048
  /**
19020
19049
  * @param selectedFeatures Reference to the selected features.
19021
19050
  */
@@ -19035,7 +19064,7 @@ class JS extends ce {
19035
19064
  return Promise.resolve(e);
19036
19065
  }
19037
19066
  }
19038
- class QS extends ce {
19067
+ class ew extends ce {
19039
19068
  constructor() {
19040
19069
  super(E.MOVE, j.NONE);
19041
19070
  h(this, "_currentHandler", null);
@@ -19063,7 +19092,7 @@ class QS extends ce {
19063
19092
  this.reset(), super.destroy();
19064
19093
  }
19065
19094
  }
19066
- function ew(i, t, e) {
19095
+ function tw(i, t, e) {
19067
19096
  const s = i.getId();
19068
19097
  t.has(s) || t.set(s, i.get("olcs_allowPicking")), e !== j.CTRL && i.set("olcs_allowPicking", !1);
19069
19098
  }
@@ -19071,7 +19100,7 @@ function Sh(i, t) {
19071
19100
  const e = t.get(i.getId());
19072
19101
  e != null ? i.set("olcs_allowPicking", e) : i.unset("olcs_allowPicking");
19073
19102
  }
19074
- function Ww(i, t, e, s = _e.TRANSLATE) {
19103
+ function Xw(i, t, e, s = _e.TRANSLATE) {
19075
19104
  const r = new I(), n = [], a = /* @__PURE__ */ new Map();
19076
19105
  let o;
19077
19106
  const l = i.maps.eventHandler.modifierChanged.addEventListener(($) => {
@@ -19080,8 +19109,8 @@ function Ww(i, t, e, s = _e.TRANSLATE) {
19080
19109
  n.forEach((fe) => {
19081
19110
  fe.set("olcs_allowPicking", Z);
19082
19111
  });
19083
- }), c = _u(i.layers), { interactionChain: d, removed: u, destroy: f } = la(i.maps.eventHandler, e), g = new QS();
19084
- d.addInteraction(g), d.addInteraction(new JS(n));
19112
+ }), c = _u(i.layers), { interactionChain: d, removed: u, destroy: f } = ha(i.maps.eventHandler, e), g = new ew();
19113
+ d.addInteraction(g), d.addInteraction(new QS(n));
19085
19114
  const m = new Eu();
19086
19115
  d.addInteraction(m);
19087
19116
  let p = s, y = () => {
@@ -19102,7 +19131,7 @@ function Ww(i, t, e, s = _e.TRANSLATE) {
19102
19131
  const fe = ps();
19103
19132
  n.forEach((Re) => {
19104
19133
  ar(fe, Re.getGeometry().getExtent());
19105
- }), Ha(fe) || (Z = nr(fe));
19134
+ }), ja(fe) || (Z = nr(fe));
19106
19135
  }
19107
19136
  n.forEach((fe) => {
19108
19137
  (fe[xt] ?? fe.getGeometry()).rotate($, Z);
@@ -19113,32 +19142,32 @@ function Ww(i, t, e, s = _e.TRANSLATE) {
19113
19142
  const Re = ps();
19114
19143
  n.forEach((As) => {
19115
19144
  ar(Re, As.getGeometry().getExtent());
19116
- }), Ha(Re) || (fe = nr(Re));
19145
+ }), ja(Re) || (fe = nr(Re));
19117
19146
  }
19118
19147
  n.forEach((Re) => {
19119
19148
  (Re[xt] ?? Re.getGeometry()).scale($, Z, fe);
19120
19149
  });
19121
19150
  }, M = () => {
19122
- y(), v = HS(i.maps.activeMap, t, c, p), v.setFeatures(n);
19151
+ y(), v = jS(i.maps.activeMap, t, c, p), v.setFeatures(n);
19123
19152
  let $;
19124
19153
  if (p === _e.TRANSLATE)
19125
- $ = new WS(v), $.translated.addEventListener(([Z, fe, Re]) => {
19154
+ $ = new XS(v), $.translated.addEventListener(([Z, fe, Re]) => {
19126
19155
  w(Z, fe, Re);
19127
19156
  });
19128
19157
  else if (p === _e.EXTRUDE)
19129
- $ = new KS(v), $.extruded.addEventListener((Z) => {
19158
+ $ = new JS(v), $.extruded.addEventListener((Z) => {
19130
19159
  n.forEach((fe) => {
19131
- qS(fe, t, i.maps.activeMap);
19160
+ WS(fe, t, i.maps.activeMap);
19132
19161
  let Re = fe.get("olcs_extrudedHeight") ?? 0;
19133
19162
  Re += Z, fe.set("olcs_extrudedHeight", Re);
19134
19163
  });
19135
19164
  });
19136
19165
  else if (p === _e.ROTATE)
19137
- $ = new YS(v), $.rotated.addEventListener(({ angle: Z }) => {
19166
+ $ = new ZS(v), $.rotated.addEventListener(({ angle: Z }) => {
19138
19167
  C(Z);
19139
19168
  });
19140
19169
  else if (p === _e.SCALE)
19141
- $ = new ZS(v), $.scaled.addEventListener(([Z, fe]) => {
19170
+ $ = new KS(v), $.scaled.addEventListener(([Z, fe]) => {
19142
19171
  O(Z, fe);
19143
19172
  });
19144
19173
  else
@@ -19181,7 +19210,7 @@ function Ww(i, t, e, s = _e.TRANSLATE) {
19181
19210
  translate: w,
19182
19211
  scale: O,
19183
19212
  setFeatures($) {
19184
- n.forEach((Z) => Sh(Z, a)), n.length = 0, n.push(...$), n.forEach((Z) => ew(Z, a, o)), A(), v == null || v.setFeatures($);
19213
+ n.forEach((Z) => Sh(Z, a)), n.length = 0, n.push(...$), n.forEach((Z) => tw(Z, a, o)), A(), v == null || v.setFeatures($);
19185
19214
  },
19186
19215
  get features() {
19187
19216
  return n;
@@ -19235,7 +19264,7 @@ class Lu extends ce {
19235
19264
  if (this._isLinearRing && s.push(s[0]), _t(n, r) < e.map.getCurrentResolution(r) * 5) {
19236
19265
  const o = s.length - 1;
19237
19266
  let l = 0;
19238
- for (l; l < o && !(this._feature.get("olcs_altitudeMode") === "clampToGround" ? BS(s[l], s[l + 1], n) : $S(s[l], s[l + 1], n)); l++)
19267
+ for (l; l < o && !(this._feature.get("olcs_altitudeMode") === "clampToGround" ? US(s[l], s[l + 1], n) : BS(s[l], s[l + 1], n)); l++)
19239
19268
  ;
19240
19269
  let c = l + 1;
19241
19270
  this._isLinearRing && c === s.length && (c = 0), this.vertexInserted.raiseEvent({
@@ -19253,7 +19282,7 @@ class Lu extends ce {
19253
19282
  function wh(i, t, e) {
19254
19283
  i[t] = e;
19255
19284
  }
19256
- function tw(i, t) {
19285
+ function iw(i, t) {
19257
19286
  const e = i[xt] ?? i.getGeometry(), s = Ns(i), r = e.getCoordinates().map((d) => Ds(d, s));
19258
19287
  t.addFeatures(r);
19259
19288
  const n = () => {
@@ -19282,7 +19311,7 @@ function tw(i, t) {
19282
19311
  }
19283
19312
  };
19284
19313
  }
19285
- function iw(i, t) {
19314
+ function sw(i, t) {
19286
19315
  const e = i[xt] ?? i.getGeometry(), s = Ns(i), r = e.getCoordinates().map((c) => Ds(c, s));
19287
19316
  t.addFeatures(r);
19288
19317
  const n = new Ur(i);
@@ -19309,7 +19338,7 @@ function iw(i, t) {
19309
19338
  }
19310
19339
  };
19311
19340
  }
19312
- function sw(i, t) {
19341
+ function rw(i, t) {
19313
19342
  const e = i[xt] ?? i.getGeometry(), s = Ns(i), r = e.getCoordinates()[0].map((c) => Ds(c, s));
19314
19343
  t.addFeatures(r);
19315
19344
  let n = !1;
@@ -19338,7 +19367,7 @@ function sw(i, t) {
19338
19367
  }
19339
19368
  };
19340
19369
  }
19341
- function rw(i, t) {
19370
+ function nw(i, t) {
19342
19371
  const e = i[xt] ?? i.getGeometry(), s = e.getLinearRing(0), r = Ns(i), n = s.getCoordinates().map((u) => Ds(u, r));
19343
19372
  t.addFeatures(n);
19344
19373
  const a = () => {
@@ -19370,7 +19399,7 @@ function rw(i, t) {
19370
19399
  }
19371
19400
  };
19372
19401
  }
19373
- function nw(i, t, e) {
19402
+ function aw(i, t, e) {
19374
19403
  const s = i[xt] ?? i.getGeometry(), r = Ns(i), n = Ds(s.getCoordinates(), r), a = [i.getId()];
19375
19404
  e.featureVisibility.hideObjects(a), n[st] = !0, t.addFeatures([n]);
19376
19405
  const o = new Ur(i);
@@ -19388,10 +19417,10 @@ function nw(i, t, e) {
19388
19417
  }
19389
19418
  };
19390
19419
  }
19391
- function Xw(i, t, e) {
19392
- const { interactionChain: s, removed: r, destroy: n } = la(i.maps.eventHandler, e), a = _u(i.layers), o = new Eu();
19420
+ function Yw(i, t, e) {
19421
+ const { interactionChain: s, removed: r, destroy: n } = ha(i.maps.eventHandler, e), a = _u(i.layers), o = new Eu();
19393
19422
  s.addInteraction(o);
19394
- const l = new ES();
19423
+ const l = new PS();
19395
19424
  s.addInteraction(l);
19396
19425
  const c = new I();
19397
19426
  let d = null, u = null;
@@ -19416,7 +19445,7 @@ function Xw(i, t, e) {
19416
19445
  Bo.includes(G) && v(M);
19417
19446
  }), u = M, u[st] = !0;
19418
19447
  const P = M[xt] ?? M.getGeometry(), L = P.getType();
19419
- a.vectorProperties.altitudeMode = t.vectorProperties.getAltitudeMode(M), L === et.Polygon ? P.get("_vcsGeomType") === et.BBox ? d = sw(M, a) : P.getLinearRingCount() === 1 && (d = rw(M, a)) : L === et.LineString ? d = tw(M, a) : L === et.Point ? d = nw(M, a, t) : L === et.Circle && (d = iw(M, a)), d ? (s.addInteraction(d.interactionChain), g()) : (ue("EditGeometrySession").warning(`Geometry of type ${L} is currently not supported`), u[st] = !1, u = null);
19448
+ a.vectorProperties.altitudeMode = t.vectorProperties.getAltitudeMode(M), L === et.Polygon ? P.get("_vcsGeomType") === et.BBox ? d = rw(M, a) : P.getLinearRingCount() === 1 && (d = nw(M, a)) : L === et.LineString ? d = iw(M, a) : L === et.Point ? d = aw(M, a, t) : L === et.Circle && (d = sw(M, a)), d ? (s.addInteraction(d.interactionChain), g()) : (ue("EditGeometrySession").warning(`Geometry of type ${L} is currently not supported`), u[st] = !1, u = null);
19420
19449
  }
19421
19450
  }
19422
19451
  const w = () => {
@@ -19534,7 +19563,7 @@ var $t;
19534
19563
  (function(i) {
19535
19564
  i.SINGLE = "single", i.MULTI = "multi";
19536
19565
  })($t = $t || ($t = {}));
19537
- class aw extends ce {
19566
+ class ow extends ce {
19538
19567
  constructor(e, s) {
19539
19568
  let r, n;
19540
19569
  if (s instanceof Nu)
@@ -19583,7 +19612,7 @@ class aw extends ce {
19583
19612
  this.reset(), super.destroy();
19584
19613
  }
19585
19614
  }
19586
- function ow(i, t) {
19615
+ function lw(i, t) {
19587
19616
  const e = /* @__PURE__ */ new Map(), s = (r) => {
19588
19617
  const n = new Set(r.map((l) => (l[st] = !0, l.getId()))), a = [];
19589
19618
  n.forEach((l) => {
@@ -19610,7 +19639,7 @@ function ow(i, t) {
19610
19639
  }
19611
19640
  };
19612
19641
  }
19613
- function lw() {
19642
+ function hw() {
19614
19643
  const i = new jr({ color: "rgba(76,175,80,0.2)" }), t = new He({ color: "#4CAF50", width: 2 });
19615
19644
  return new ee({
19616
19645
  fill: i,
@@ -19622,10 +19651,10 @@ function lw() {
19622
19651
  })
19623
19652
  });
19624
19653
  }
19625
- function Yw(i, t, e, s = $t.MULTI, r = lw()) {
19654
+ function Zw(i, t, e, s = $t.MULTI, r = hw()) {
19626
19655
  const n = new I(), a = new I(), o = new I();
19627
19656
  let l = null, c = null, d, u = null;
19628
- const { interactionChain: f, removed: g, destroy: m } = la(i.maps.eventHandler, e), p = ow(t, r);
19657
+ const { interactionChain: f, removed: g, destroy: m } = ha(i.maps.eventHandler, e), p = lw(t, r);
19629
19658
  let y = [];
19630
19659
  function v() {
19631
19660
  l && (l && (f.removeInteraction(l), l.destroy(), l = null), c && (f.removeInteraction(c), c.destroy(), c = null)), y.forEach((L) => {
@@ -19647,7 +19676,7 @@ function Yw(i, t, e, s = $t.MULTI, r = lw()) {
19647
19676
  else
19648
19677
  throw new Error(`Unknown selection mode ${String(L)}`);
19649
19678
  const { highlightedFeatures: G } = p;
19650
- G && l.setSelected(G), d = L, f.addInteraction(l), c = new aw(t.name, l), f.addInteraction(c);
19679
+ G && l.setSelected(G), d = L, f.addInteraction(l), c = new ow(t.name, l), f.addInteraction(c);
19651
19680
  }
19652
19681
  w(s);
19653
19682
  let C = () => {
@@ -19691,7 +19720,7 @@ function Yw(i, t, e, s = $t.MULTI, r = lw()) {
19691
19720
  };
19692
19721
  }
19693
19722
  const on = Symbol("flightVisualization");
19694
- async function Zw(i, t) {
19723
+ async function Kw(i, t) {
19695
19724
  if (S(i, Ms), i[on])
19696
19725
  return i[on];
19697
19726
  await i.initialize();
@@ -19744,7 +19773,7 @@ async function Zw(i, t) {
19744
19773
  }
19745
19774
  r.addFeatures(f);
19746
19775
  const g = r.getSource().getExtent();
19747
- e = wo(g, g, 2);
19776
+ e = Mo(g, g, 2);
19748
19777
  };
19749
19778
  o();
19750
19779
  const l = [
@@ -19781,7 +19810,7 @@ async function Zw(i, t) {
19781
19810
  destroy: d,
19782
19811
  async zoomToExtent() {
19783
19812
  var g;
19784
- if (!i.isValid() || Ha(e))
19813
+ if (!i.isValid() || ja(e))
19785
19814
  return;
19786
19815
  const f = mt.createViewpointFromExtent(e);
19787
19816
  f && await ((g = t.maps.activeMap) == null ? void 0 : g.gotoViewpoint(f));
@@ -19795,7 +19824,7 @@ export {
19795
19824
  Us as AltitudeModeCesium,
19796
19825
  Do as ArcStyle,
19797
19826
  Je as ArrowEnd,
19798
- ra as ArrowStyle,
19827
+ na as ArrowStyle,
19799
19828
  b as AxisAndPlanes,
19800
19829
  yr as BaseOLMap,
19801
19830
  Sr as CameraLimiter,
@@ -19808,42 +19837,42 @@ export {
19808
19837
  Li as ClassRegistry,
19809
19838
  qs as ClassificationTypeCesium,
19810
19839
  an as ClippingObject,
19811
- uS as ClippingObjectManager,
19812
- Lw as ClusterContext,
19840
+ dS as ClippingObjectManager,
19841
+ Tw as ClusterContext,
19813
19842
  Tt as Collection,
19814
19843
  Ho as CoordinateAtPixel,
19815
- gS as CreateBBoxInteraction,
19816
- fS as CreateCircleInteraction,
19817
- dS as CreateLineStringInteraction,
19818
- mS as CreatePointInteraction,
19819
- pS as CreatePolygonInteraction,
19844
+ mS as CreateBBoxInteraction,
19845
+ gS as CreateCircleInteraction,
19846
+ fS as CreateLineStringInteraction,
19847
+ pS as CreatePointInteraction,
19848
+ yS as CreatePolygonInteraction,
19820
19849
  jn as CzmlLayer,
19821
19850
  Gv as DataSourceCesiumImpl,
19822
19851
  Hn as DataSourceLayer,
19823
19852
  ge as DataState,
19824
19853
  Be as DeclarativeStyleItem,
19825
19854
  fv as DefaultObliqueCollection,
19826
- QS as EditFeaturesMouseOverInteraction,
19827
- ES as EditGeometryMouseOverInteraction,
19828
- JS as EnsureHandlerSelectionInteraction,
19855
+ ew as EditFeaturesMouseOverInteraction,
19856
+ PS as EditGeometryMouseOverInteraction,
19857
+ QS as EnsureHandlerSelectionInteraction,
19829
19858
  Fv as EventHandler,
19830
19859
  E as EventType,
19831
19860
  V_ as ExclusiveManager,
19832
19861
  xe as Extent,
19833
19862
  ti as Extent3D,
19834
- KS as ExtrudeInteraction,
19863
+ JS as ExtrudeInteraction,
19835
19864
  Nv as FeatureAtPixelInteraction,
19836
19865
  hi as FeatureLayer,
19837
19866
  Dv as FeatureProviderInteraction,
19838
19867
  ws as FeatureStoreLayer,
19839
19868
  Zv as FeatureStoreLayerChanges,
19840
- Po as FeatureVisibility,
19869
+ ta as FeatureVisibility,
19841
19870
  ne as FeatureVisibilityAction,
19842
- xS as FlightCollection,
19871
+ OS as FlightCollection,
19843
19872
  Ms as FlightInstance,
19844
19873
  Cr as GeoJSONLayer,
19845
19874
  et as GeometryType,
19846
- eo as GlobalHider,
19875
+ to as GlobalHider,
19847
19876
  bi as IndexedCollection,
19848
19877
  Lu as InsertVertexInteraction,
19849
19878
  Ki as InteractionChain,
@@ -19851,7 +19880,7 @@ export {
19851
19880
  ai as LayerCollection,
19852
19881
  Zi as LayerImplementation,
19853
19882
  q0 as LayerObliqueImpl,
19854
- ia as LayerOpenlayersImpl,
19883
+ sa as LayerOpenlayersImpl,
19855
19884
  pe as LayerState,
19856
19885
  Bn as MVTTileProvider,
19857
19886
  Vo as MapCollection,
@@ -19870,7 +19899,7 @@ export {
19870
19899
  Qs as OlcsGeometryType,
19871
19900
  kv as OpenStreetMapCesiumImpl,
19872
19901
  xr as OpenStreetMapLayer,
19873
- Kv as OpenStreetMapOpenlayersImpl,
19902
+ Jv as OpenStreetMapOpenlayersImpl,
19874
19903
  Oe as OpenlayersMap,
19875
19904
  Zt as OverrideClassRegistry,
19876
19905
  Js as PatternType,
@@ -19883,29 +19912,29 @@ export {
19883
19912
  Ts as RasterLayerCesiumImpl,
19884
19913
  $r as RasterLayerOpenlayersImpl,
19885
19914
  Iu as RemoveVertexInteraction,
19886
- YS as RotateInteraction,
19887
- ZS as ScaleInteraction,
19888
- aw as SelectFeatureMouseOverInteraction,
19915
+ ZS as RotateInteraction,
19916
+ KS as ScaleInteraction,
19917
+ ow as SelectFeatureMouseOverInteraction,
19889
19918
  Tu as SelectMultiFeatureInteraction,
19890
19919
  Nu as SelectSingleFeatureInteraction,
19891
19920
  $t as SelectionMode,
19892
19921
  ki as SessionType,
19893
19922
  zv as SingleImageCesiumImpl,
19894
19923
  Vn as SingleImageLayer,
19895
- Jv as SingleImageOpenlayersImpl,
19924
+ Qv as SingleImageOpenlayersImpl,
19896
19925
  Un as StaticGeoJSONTileProvider,
19897
19926
  Wt as StyleItem,
19898
19927
  Er as TMSLayer,
19899
19928
  Hv as TerrainCesiumImpl,
19900
19929
  br as TerrainLayer,
19901
- Tw as TileDebugOpenlayersImpl,
19930
+ Nw as TileDebugOpenlayersImpl,
19902
19931
  St as TileProvider,
19903
- ao as TileProviderFeatureProvider,
19932
+ oo as TileProviderFeatureProvider,
19904
19933
  Ue as TilingScheme,
19905
19934
  jv as TmsCesiumImpl,
19906
- Qv as TmsOpenlayersImpl,
19935
+ eS as TmsOpenlayersImpl,
19907
19936
  _e as TransformationMode,
19908
- WS as TranslateInteraction,
19937
+ XS as TranslateInteraction,
19909
19938
  Ur as TranslateVertexInteraction,
19910
19939
  $n as URLTemplateTileProvider,
19911
19940
  xu as VcsApp,
@@ -19924,33 +19953,33 @@ export {
19924
19953
  he as VectorStyleItem,
19925
19954
  Uv as VectorTileImageryProvider,
19926
19955
  Pr as VectorTileLayer,
19927
- eS as VectorTileOpenlayersImpl,
19956
+ tS as VectorTileOpenlayersImpl,
19928
19957
  mt as Viewpoint,
19929
19958
  oh as WFSLayer,
19930
19959
  Bi as WMSFeatureProvider,
19931
19960
  Ir as WMSLayer,
19932
19961
  Lr as WMTSLayer,
19933
19962
  Wv as WmsCesiumImpl,
19934
- tS as WmsOpenlayersImpl,
19963
+ iS as WmsOpenlayersImpl,
19935
19964
  Xv as WmtsCesiumImpl,
19936
- iS as WmtsOpenlayersImpl,
19965
+ sS as WmtsOpenlayersImpl,
19937
19966
  er as actuallyIsCircle,
19938
19967
  Xc as addArrowsToContext,
19939
19968
  us as addPrimitiveToContext,
19940
- sa as addPrimitivesToContext,
19969
+ ra as addPrimitivesToContext,
19941
19970
  Xe as alreadyTransformedToImage,
19942
19971
  li as alreadyTransformedToMercator,
19943
19972
  dh as anchorFromGeojsonFeature,
19944
- zw as anchorFromViewpoint,
19945
- MS as anchorToGeojsonFeature,
19946
- Hw as anchorToViewpoint,
19947
- pa as angleEqualsEpsilon,
19973
+ Hw as anchorFromViewpoint,
19974
+ CS as anchorToGeojsonFeature,
19975
+ jw as anchorToViewpoint,
19976
+ ya as angleEqualsEpsilon,
19948
19977
  N0 as arcToCesium,
19949
- Ka as blackColor,
19978
+ Ja as blackColor,
19950
19979
  Ev as calculateMinLevel,
19951
19980
  _t as cartesian2DDistance,
19952
19981
  t_ as cartesian3DDistance,
19953
- yw as cartesianToMercator,
19982
+ _w as cartesianToMercator,
19954
19983
  Ni as cartographicToWgs84,
19955
19984
  Cc as categoryClassRegistry,
19956
19985
  mi as cesiumColorToColor,
@@ -19958,57 +19987,57 @@ export {
19958
19987
  jl as checkLineIntersection,
19959
19988
  Gc as circleFromCenterRadius,
19960
19989
  g0 as circleToCesium,
19961
- qw as clampFeature,
19962
- oa as clearClippingPlanes,
19963
- Sw as colorInCanvas,
19990
+ Ww as clampFeature,
19991
+ la as clearClippingPlanes,
19992
+ ww as colorInCanvas,
19964
19993
  m_ as combineFont,
19965
19994
  D0 as convert,
19966
19995
  kc as convertGeometryToPolygon,
19967
- mw as coordinateAtDistance,
19996
+ pw as coordinateAtDistance,
19968
19997
  xl as coordinateEqualsEpsilon,
19969
19998
  tr as copyClippingPlanesToCollection,
19970
- GS as create2DHandlers,
19971
- AS as create3DHandlers,
19999
+ kS as create2DHandlers,
20000
+ FS as create3DHandlers,
19972
20001
  Pu as createCameraVerticalPlane,
19973
20002
  W_ as createClassificationPrimitive,
19974
- Fw as createClippingFeature,
19975
- Aw as createClippingPlaneCollection,
19976
- CS as createFlightPlayer,
19977
- Zw as createFlightVisualization,
19978
- vS as createHiddenObjectsCollection,
19979
- Bw as createHorizontalPlane,
20003
+ Rw as createClippingFeature,
20004
+ Fw as createClippingPlaneCollection,
20005
+ xS as createFlightPlayer,
20006
+ Kw as createFlightVisualization,
20007
+ SS as createHiddenObjectsCollection,
20008
+ Uw as createHorizontalPlane,
19980
20009
  Fc as createLinePrimitive,
19981
20010
  Y_ as createOutlinePrimitive,
19982
20011
  g_ as createPattern,
19983
20012
  X_ as createPrimitive,
19984
20013
  st as createSync,
19985
- HS as createTransformationHandler,
20014
+ jS as createTransformationHandler,
19986
20015
  Ds as createVertex,
19987
20016
  ht as cursorMap,
19988
20017
  z_ as defaultDeclarativeStyle,
19989
- OS as defaultDynamicModuleId,
19990
- Ow as defaultExtrudedHeightCondition,
19991
- sS as defaultPointCloudStyle,
20018
+ bS as defaultDynamicModuleId,
20019
+ bw as defaultExtrudedHeightCondition,
20020
+ rS as defaultPointCloudStyle,
19992
20021
  Vi as defaultVectorStyle,
19993
20022
  F_ as deserializeLayer,
19994
20023
  D_ as deserializeMap,
19995
20024
  A_ as deserializeViewpoint,
19996
20025
  Kt as destroyCollection,
19997
- _S as detectBrowserLocale,
19998
- ta as doNotTransform,
19999
- Uw as drapeGeometryOnTerrain,
20026
+ vS as detectBrowserLocale,
20027
+ ia as doNotTransform,
20028
+ qw as drapeGeometryOnTerrain,
20000
20029
  Dc as embedIconsInStyle,
20001
- xw as emptyColor,
20030
+ Ow as emptyColor,
20002
20031
  y_ as emptyStyle,
20003
- io as enforceEndingVertex,
20032
+ so as enforceEndingVertex,
20004
20033
  Q_ as enforceRightHand,
20005
- qS as ensureFeatureAbsolute,
20006
- Gw as exportFlightAsGeoJson,
20007
- kw as exportFlightPathAsGeoJson,
20034
+ WS as ensureFeatureAbsolute,
20035
+ kw as exportFlightAsGeoJson,
20036
+ zw as exportFlightPathAsGeoJson,
20008
20037
  ei as featureArcStruct,
20009
20038
  Vr as featureExists,
20010
- La as featureFromOptions,
20011
- xo as featureProviderClassRegistry,
20039
+ Ta as featureFromOptions,
20040
+ Oo as featureProviderClassRegistry,
20012
20041
  Et as featureStoreStateSymbol,
20013
20042
  w_ as fromCesiumColor,
20014
20043
  is as fvLastUpdated,
@@ -20018,19 +20047,19 @@ export {
20018
20047
  Bv as getCanvasFromFeatures,
20019
20048
  M0 as getCartesian3AndWGS84FromCoordinates,
20020
20049
  en as getCartesian3Options,
20021
- Ya as getCartesianBearing,
20050
+ Za as getCartesianBearing,
20022
20051
  i_ as getCartesianPitch,
20023
20052
  jt as getCartographicFromPlane,
20024
20053
  si as getCesiumColor,
20025
20054
  Jr as getClassificationTypeOptions,
20026
- Rw as getClippingOptions,
20055
+ Gw as getClippingOptions,
20027
20056
  yh as getClosestPointOn2DLine,
20028
- Cw as getCssStyleFromTextStyle,
20057
+ xw as getCssStyleFromTextStyle,
20029
20058
  ye as getDefaultCondition,
20030
- lw as getDefaultHighlightStyle,
20059
+ hw as getDefaultHighlightStyle,
20031
20060
  e_ as getDefaultProjection,
20032
20061
  Pc as getDefaultVectorStyleItemOptions,
20033
- bw as getDirectionName,
20062
+ Ew as getDirectionName,
20034
20063
  vv as getEPSGCodeFromGeojson,
20035
20064
  pu as getExtentFromTileset,
20036
20065
  xc as getFillFromOptions,
@@ -20054,7 +20083,7 @@ export {
20054
20083
  Qr as getNearFarValueOptions,
20055
20084
  ii as getObjectFromClassRegistry,
20056
20085
  Vl as getPolygonizedGeometry,
20057
- so as getPrimitiveOptions,
20086
+ ro as getPrimitiveOptions,
20058
20087
  nu as getResolutionOptions,
20059
20088
  Ic as getShapeFromOptions,
20060
20089
  Su as getSplineAndTimesForInstance,
@@ -20062,38 +20091,38 @@ export {
20062
20091
  Pl as getStoreyHeights,
20063
20092
  Ll as getStoreyOptions,
20064
20093
  ot as getStringColor,
20065
- bo as getStrokeFromOptions,
20094
+ Eo as getStrokeFromOptions,
20066
20095
  gr as getStrokeOptions,
20067
- ww as getStyleFromOptions,
20068
- Mw as getStyleOptions,
20096
+ Mw as getStyleFromOptions,
20097
+ Cw as getStyleOptions,
20069
20098
  Fn as getStyleOrDefaultStyle,
20070
20099
  Rn as getStylesArray,
20071
20100
  _r as getTerrainProviderForUrl,
20072
20101
  bc as getTextFromOptions,
20073
20102
  Oc as getTextOptions,
20074
- aa as getTileLoadFunction,
20103
+ oa as getTileLoadFunction,
20075
20104
  fu as getTilingScheme,
20076
20105
  yu as getURL,
20077
- jw as getVcsAppById,
20106
+ Vw as getVcsAppById,
20078
20107
  ou as getVersionFromImageJson,
20079
20108
  eh as getViewDirectionFromViewpoint,
20080
20109
  mu as getWMSSource,
20081
20110
  $0 as getZoom,
20082
20111
  dt as globalHidden,
20083
20112
  Ws as globalHiderLastUpdated,
20084
- Dw as globeLoaded,
20085
- ha as greyedOutColor,
20113
+ Aw as globeLoaded,
20114
+ ca as greyedOutColor,
20086
20115
  Te as handlerSymbol,
20087
- Pw as hasSameOrigin,
20116
+ Iw as hasSameOrigin,
20088
20117
  d_ as hexToOlColor,
20089
20118
  ut as hidden,
20090
20119
  be as highlighted,
20091
20120
  U0 as imageGeometryToMercatorGeometry,
20092
- pw as initialBearingBetweenCoords,
20121
+ yw as initialBearingBetweenCoords,
20093
20122
  Wn as is1DAxis,
20094
20123
  Xn as is2DAxis,
20095
20124
  zn as isMobile,
20096
- Ja as isOverrideCollection,
20125
+ Qa as isOverrideCollection,
20097
20126
  bv as isProvidedFeature,
20098
20127
  Yt as isSameOrigin,
20099
20128
  H0 as isTerrainTileAvailable,
@@ -20108,7 +20137,7 @@ export {
20108
20137
  U as mercatorProjection,
20109
20138
  kn as mercatorResolutionsToLevel,
20110
20139
  Ct as mercatorToCartesian,
20111
- wo as mercatorToWgs84Transformer,
20140
+ Mo as mercatorToWgs84Transformer,
20112
20141
  Ze as moduleIdSymbol,
20113
20142
  fn as modulo,
20114
20143
  oi as mouseOverSymbol,
@@ -20118,19 +20147,19 @@ export {
20118
20147
  wl as olColorToHex,
20119
20148
  An as originalFeatureSymbol,
20120
20149
  ri as originalStyle,
20121
- _a as parseCartesian3,
20150
+ va as parseCartesian3,
20122
20151
  ze as parseColor,
20123
- SS as parseFlightOptionsFromGeoJson,
20124
- vw as parseFont,
20152
+ wS as parseFlightOptionsFromGeoJson,
20153
+ Sw as parseFont,
20125
20154
  _i as parseGeoJSON,
20126
20155
  Ul as parseImageData,
20127
20156
  X0 as parseImageMeta,
20128
20157
  Y0 as parseLegacyImageData,
20129
- ya as parseNearFarScalar,
20158
+ _a as parseNearFarScalar,
20130
20159
  Ji as parseStoreyHeights,
20131
- US as placeGeometryOnTerrain,
20132
- BS as pointOnLine2D,
20133
- $S as pointOnLine3D,
20160
+ qS as placeGeometryOnTerrain,
20161
+ US as pointOnLine2D,
20162
+ BS as pointOnLine3D,
20134
20163
  Rl as pointToCesium,
20135
20164
  Nl as polygonToCesium,
20136
20165
  Nc as propertyEqualsEpsilon,
@@ -20141,7 +20170,7 @@ export {
20141
20170
  cs as removeFeatureFromMap,
20142
20171
  Z0 as requestArrayBuffer,
20143
20172
  Pi as requestJson,
20144
- na as requestUrl,
20173
+ aa as requestUrl,
20145
20174
  R_ as serializeLayer,
20146
20175
  ch as setClippingPlanes,
20147
20176
  Qy as setDefaultProjectionOptions,
@@ -20152,24 +20181,24 @@ export {
20152
20181
  _u as setupScratchLayer,
20153
20182
  S_ as shapeCategory,
20154
20183
  Hl as sortRealWordEdgeCoordinates,
20155
- $w as startCreateFeatureSession,
20156
- Ww as startEditFeaturesSession,
20157
- Xw as startEditGeometrySession,
20158
- Yw as startSelectFeaturesSession,
20184
+ Bw as startCreateFeatureSession,
20185
+ Xw as startEditFeaturesSession,
20186
+ Yw as startEditGeometrySession,
20187
+ Zw as startSelectFeaturesSession,
20159
20188
  Hr as styleClassRegistry,
20160
20189
  C_ as synchronizeFeatureVisibility,
20161
20190
  Io as synchronizeFeatureVisibilityWithSource,
20162
20191
  Es as tileProviderClassRegistry,
20163
- Nw as tiledLayerLoaded,
20192
+ Dw as tiledLayerLoaded,
20164
20193
  $v as toContext,
20165
20194
  j0 as transformCWIFC,
20166
20195
  vr as transformFromImage,
20167
- Ew as transformToImage,
20196
+ Pw as transformToImage,
20168
20197
  B_ as updateFeatureVisibility,
20169
20198
  U_ as updateGlobalHider,
20170
20199
  Sv as updateLegacyFeature,
20171
20200
  Uc as validateCircle,
20172
- _w as validateHexColor,
20201
+ vw as validateHexColor,
20173
20202
  No as validateLineString,
20174
20203
  tu as validatePoint,
20175
20204
  Vc as validatePolygon,
@@ -20177,13 +20206,13 @@ export {
20177
20206
  Y as vcsLayerName,
20178
20207
  ni as vcsMetaVersion,
20179
20208
  lt as vectorStyleSymbol,
20180
- Vw as vertexIndex,
20209
+ $w as vertexIndex,
20181
20210
  Br as vertexSymbol,
20182
20211
  Cv as volatileModuleId,
20183
20212
  oe as wgs84Projection,
20184
20213
  Ln as wgs84ToMercatorTransformer,
20185
20214
  gn as whiteColor,
20186
- Iw as writeGeoJSON,
20215
+ Lw as writeGeoJSON,
20187
20216
  wr as writeGeoJSONFeature,
20188
20217
  j_ as writeStyle
20189
20218
  };