@vcmap/ui 5.1.0-rc.2 → 5.1.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  var Iu = Object.defineProperty;
2
2
  var Lu = (i, t, e) => t in i ? Iu(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var h = (i, t, e) => (Lu(i, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { ol$proj$getTransform as Ae, ol$proj$get as Tu, ol$proj$equivalent as Nu, ol$proj$proj4$register as Vo, ol$geom$Circle as Ot, ol$geom$GeometryCollection as Pr, ol$style$Style as Q, ol$style$Fill as ht, ol$style$Stroke as He, ol$style$Text as ao, ol$style$Icon as Si, ol$style$Circle as wi, ol$style$RegularShape as Ir, ol$has$DEVICE_PIXEL_RATIO as Du, ol$style$Image as _h, ol$Feature as se, ol$extent$containsCoordinate as Da, ol$Map as Au, ol$interaction$defaults as Fu, ol$Observable$unByKey as ne, ol$View as oo, ol$easing$inAndOut as Ru, ol$extent$containsXY as vh, ol$extent$boundingExtent as Qs, ol$layer$Vector as Sh, ol$extent$getBottomLeft as lo, ol$geom$SimpleGeometry as Gu, ol$geom$Point as Nt, ol$geom$LineString as Vt, ol$geom$Polygon as qt, ol$geom$MultiPoint as wh, ol$geom$MultiLineString as Mh, ol$geom$MultiPolygon as qn, ol$sphere$offset as nn, ol$geom$Polygon$fromCircle as Ch, ol$geom$Polygon$circular as ku, Feature as $t, ol$ImageState as Ur, ol$extent$getBottomRight as xh, ol$extent$getTopRight as Oh, ol$extent$getTopLeft as Wn, ol$proj$transform as Ri, ol$source$Vector as er, ol$tilegrid$createXYZ as bh, ol$TileState as Eh, ol$proj$Projection as zu, ol$tilegrid$TileGrid as Ph, ol$source$TileImage as Hu, ol$layer$Tile as Ms, ol$extent$buffer as Ih, ol$extent$getCenter as tr, ol$geom$Polygon$fromExtent as ju, ol$proj$transformExtent as $o, ol$sphere$getDistance as Vu, ol$format$GeoJSON as Lh, ol$extent$getWidth as Aa, ol$source$TileWMS as $u, ol$source$ImageWMS as Bu, ol$format$GML2 as Fa, ol$format$WFS as Ra, ol$format$GML3 as Ga, ol$extent$createEmpty as ps, ol$structs$LRUCache as Uu, ol$extent$createOrUpdateFromCoordinate as qu, ol$render$canvas$Immediate as Wu, ol$geom$flat$transform$transform2D as Xu, ol$extent$intersects as Yu, ol$geom$SimpleGeometry$transformGeom2D as Zu, ol$transform$scale as Ju, ol$transform$create as Ku, ol$transform$compose as Qu, ol$extent$extend as ir, ol$source$OSM as ed, ol$layer$Image as Th, ol$source$ImageStatic as td, ol$source$TileDebug as id, ol$source$XYZ as sd, ol$source$VectorTile as rd, ol$layer$VectorTile as nd, ol$tilegrid$WMTS as ad, ol$source$WMTS as od, ol$format$MVT as ld, ol$coordinate$equals as hd, ol$interaction$DragPan as cd, ol$extent$isEmpty as ka, ol$geom$LinearRing as ud } from "./ol.0cd250.js";
5
- import { Math as L, Cartesian3 as v, Cartographic as te, Cesium3DTileStyle as pn, Cesium3DTileColorBlendMode as an, Color as U, TrustedServers as Wt, VerticalOrigin as gt, Cesium3DTileFeature as Ui, Cesium3DTilePointFeature as qi, Entity as Wi, Material as Dt, Cartesian2 as k, Matrix3 as W, Quaternion as yn, Primitive as pt, GeometryInstance as ct, FrustumGeometry as dd, ColorGeometryInstanceAttribute as sr, PerInstanceColorAppearance as ys, FrustumOutlineGeometry as fd, destroyObject as gd, EasingFunction as md, ConditionsExpression as pd, Expression as yd, HeightReference as Ie, ClassificationType as ds, NearFarScalar as Ws, SplitDirection as we, SceneTransforms as _d, MaterialAppearance as _n, ShadowMode as Lr, ClassificationPrimitive as Nh, GroundPrimitive as Bo, PolylineMaterialAppearance as za, GroundPolylinePrimitive as Uo, PolygonGeometry as vd, PolygonOutlineGeometry as Sd, GroundPolylineGeometry as ho, PolylineGeometry as Gi, PolygonHierarchy as Ha, CircleGeometry as wd, CircleOutlineGeometry as Md, HeadingPitchRoll as Mi, Matrix4 as F, Transforms as Ci, Model as co, sampleTerrainMostDetailed as Xn, ModelAnimationLoop as Cd, CylinderOutlineGeometry as xd, CylinderGeometry as Dh, EllipsoidOutlineGeometry as Od, EllipsoidGeometry as Ah, SphereOutlineGeometry as bd, SphereGeometry as Ed, BoxOutlineGeometry as Pd, BoxGeometry as Fh, WallGeometry as Id, WallOutlineGeometry as Ld, LabelStyle as la, HorizontalOrigin as ha, CatmullRomSpline as Rh, ArcType as vn, PrimitiveCollection as xi, BillboardCollection as Td, LabelCollection as Nd, Resource as Dd, CesiumTerrainProvider as qo, Cartesian4 as Wo, sampleTerrain as Ad, Ellipsoid as ja, Clock as Fd, DataSourceClock as Rd, JulianDate as Gh, KeyboardEventModifier as ca, ScreenSpaceEventType as fi, CesiumWidget as Gd, DataSourceDisplay as Xo, DataSourceCollection as Yo, RequestScheduler as kd, ScreenSpaceEventHandler as zd, Ray as kh, Camera as zh, ImageryLayer as Xi, CustomDataSource as Hh, BoundingSphere as jh, Intersect as Hd, BillboardVisualizer as jd, LabelVisualizer as Vd, PointVisualizer as $d, WebMercatorTilingScheme as uo, GeographicTilingScheme as Vh, Rectangle as yt, Cesium3DTileset as Sn, Composite3DTileContent as Bd, HeadingPitchRange as Ud, BoundingSphereState as Zo, OpenStreetMapImageryProvider as qd, SingleTileImageryProvider as Wd, TileMapServiceImageryProvider as Xd, Event as Jo, WebMapServiceImageryProvider as Yd, WebMapTileServiceImageryProvider as Zd, EntityCollection as Jd, CzmlDataSource as Kd, Plane as ee, ClippingPlaneCollection as rr, ClippingPlane as nr, ConstantProperty as Qd, Globe as ef, LinearSpline as tf, QuaternionSpline as sf, CoplanarPolygonGeometry as rf, IntersectionTests as nf } from "./cesium.b97c3b.js";
4
+ import { ol$proj$getTransform as Ae, ol$proj$get as Tu, ol$proj$equivalent as Nu, ol$proj$proj4$register as Vo, ol$geom$Circle as Ot, ol$geom$GeometryCollection as Ir, ol$style$Style as Q, ol$style$Fill as ht, ol$style$Stroke as He, ol$style$Text as ao, ol$style$Icon as Si, ol$style$Circle as wi, ol$style$RegularShape as Lr, ol$has$DEVICE_PIXEL_RATIO as Du, ol$style$Image as _h, ol$Feature as se, ol$extent$containsCoordinate as Da, ol$Map as Au, ol$interaction$defaults as Fu, ol$Observable$unByKey as ne, ol$View as oo, ol$easing$inAndOut as Ru, ol$extent$containsXY as vh, ol$extent$boundingExtent as Qs, ol$layer$Vector as Sh, ol$extent$getBottomLeft as lo, ol$geom$SimpleGeometry as Gu, ol$geom$Point as Nt, ol$geom$LineString as $t, ol$geom$Polygon as Dt, ol$geom$MultiPoint as wh, ol$geom$MultiLineString as Mh, ol$geom$MultiPolygon as er, ol$sphere$offset as an, ol$geom$Polygon$fromCircle as Ch, ol$geom$Polygon$circular as ku, Feature as Bt, ol$ImageState as qr, ol$extent$getBottomRight as xh, ol$extent$getTopRight as Oh, ol$extent$getTopLeft as Wn, ol$proj$transform as Ri, ol$source$Vector as tr, ol$tilegrid$createXYZ as bh, ol$TileState as Eh, ol$proj$Projection as zu, ol$tilegrid$TileGrid as Ph, ol$source$TileImage as Hu, ol$layer$Tile as Ms, ol$extent$buffer as Ih, ol$extent$getCenter as ir, ol$geom$Polygon$fromExtent as ju, ol$proj$transformExtent as $o, ol$sphere$getDistance as Vu, ol$format$GeoJSON as Lh, ol$extent$getWidth as Aa, ol$source$TileWMS as $u, ol$source$ImageWMS as Bu, ol$format$GML2 as Fa, ol$format$WFS as Ra, ol$format$GML3 as Ga, ol$extent$createEmpty as ps, ol$structs$LRUCache as Uu, ol$extent$createOrUpdateFromCoordinate as qu, ol$render$canvas$Immediate as Wu, ol$geom$flat$transform$transform2D as Xu, ol$extent$intersects as Yu, ol$geom$SimpleGeometry$transformGeom2D as Zu, ol$transform$scale as Ju, ol$transform$create as Ku, ol$transform$compose as Qu, ol$extent$extend as sr, ol$source$OSM as ed, ol$layer$Image as Th, ol$source$ImageStatic as td, ol$source$TileDebug as id, ol$source$XYZ as sd, ol$source$VectorTile as rd, ol$layer$VectorTile as nd, ol$tilegrid$WMTS as ad, ol$source$WMTS as od, ol$format$MVT as ld, ol$coordinate$equals as hd, ol$interaction$DragPan as cd, ol$extent$isEmpty as ka, ol$geom$LinearRing as ud } from "./ol.d99267.js";
5
+ import { Math as L, Cartesian3 as v, Cartographic as te, Cesium3DTileStyle as yn, Cesium3DTileColorBlendMode as on, Color as U, TrustedServers as Wt, VerticalOrigin as gt, Cesium3DTileFeature as Ui, Cesium3DTilePointFeature as qi, Entity as Wi, Material as At, Cartesian2 as k, Matrix3 as W, Quaternion as _n, Primitive as pt, GeometryInstance as ct, FrustumGeometry as dd, ColorGeometryInstanceAttribute as rr, PerInstanceColorAppearance as ys, FrustumOutlineGeometry as fd, destroyObject as gd, EasingFunction as md, ConditionsExpression as pd, Expression as yd, HeightReference as Ie, ClassificationType as ds, NearFarScalar as Ws, SplitDirection as we, SceneTransforms as _d, MaterialAppearance as vn, ShadowMode as Tr, ClassificationPrimitive as Nh, GroundPrimitive as Bo, PolylineMaterialAppearance as za, GroundPolylinePrimitive as Uo, PolygonGeometry as vd, PolygonOutlineGeometry as Sd, GroundPolylineGeometry as ho, PolylineGeometry as Gi, PolygonHierarchy as Ha, CircleGeometry as wd, CircleOutlineGeometry as Md, HeadingPitchRoll as Mi, Matrix4 as F, Transforms as Ci, Model as co, sampleTerrainMostDetailed as Xn, ModelAnimationLoop as Cd, CylinderOutlineGeometry as xd, CylinderGeometry as Dh, EllipsoidOutlineGeometry as Od, EllipsoidGeometry as Ah, SphereOutlineGeometry as bd, SphereGeometry as Ed, BoxOutlineGeometry as Pd, BoxGeometry as Fh, WallGeometry as Id, WallOutlineGeometry as Ld, LabelStyle as la, HorizontalOrigin as ha, CatmullRomSpline as Rh, ArcType as Sn, PrimitiveCollection as xi, BillboardCollection as Td, LabelCollection as Nd, Resource as Dd, CesiumTerrainProvider as qo, Cartesian4 as Wo, sampleTerrain as Ad, Ellipsoid as ja, Clock as Fd, DataSourceClock as Rd, JulianDate as Gh, KeyboardEventModifier as ca, ScreenSpaceEventType as fi, CesiumWidget as Gd, DataSourceDisplay as Xo, DataSourceCollection as Yo, RequestScheduler as kd, ScreenSpaceEventHandler as zd, Ray as kh, Camera as zh, ImageryLayer as Xi, CustomDataSource as Hh, BoundingSphere as jh, Intersect as Hd, BillboardVisualizer as jd, LabelVisualizer as Vd, PointVisualizer as $d, WebMercatorTilingScheme as uo, GeographicTilingScheme as Vh, Rectangle as yt, Cesium3DTileset as wn, Composite3DTileContent as Bd, HeadingPitchRange as Ud, BoundingSphereState as Zo, OpenStreetMapImageryProvider as qd, SingleTileImageryProvider as Wd, TileMapServiceImageryProvider as Xd, Event as Jo, WebMapServiceImageryProvider as Yd, WebMapTileServiceImageryProvider as Zd, EntityCollection as Jd, CzmlDataSource as Kd, Plane as ee, ClippingPlaneCollection as nr, ClippingPlane as ar, ConstantProperty as Qd, Globe as ef, LinearSpline as tf, QuaternionSpline as sf, CoplanarPolygonGeometry as rf, IntersectionTests as nf } from "./cesium.271bcd.js";
6
6
  const Yi = Symbol("isMatcher"), af = Symbol("Integer"), of = Symbol("NonEmptyString"), fo = /* @__PURE__ */ new Map();
7
7
  [
8
8
  [String, "string"],
@@ -17,7 +17,7 @@ const Yi = Symbol("isMatcher"), af = Symbol("Integer"), of = Symbol("NonEmptyStr
17
17
  function lf(i) {
18
18
  return i == null ? void 0 : i[Yi];
19
19
  }
20
- function ar(i) {
20
+ function or(i) {
21
21
  if (!i || String(i) !== "[object Object]")
22
22
  return !1;
23
23
  const t = Object.getPrototypeOf(i);
@@ -61,12 +61,12 @@ function cf(i, t, e) {
61
61
  }
62
62
  function Va(i, t, e, s) {
63
63
  const r = s ? `${s}.` : "";
64
- if (!ar(i))
64
+ if (!or(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 ar(t[l]) ? a = Va(c, t[l], e, r + l) : a = e(c, t[l]), a;
69
+ return or(t[l]) ? a = Va(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
  }
@@ -95,7 +95,7 @@ function Yn(i) {
95
95
  const n = i == null ? void 0 : i.name;
96
96
  return n || r[1].substring(0, 20);
97
97
  }
98
- if (ar(i)) {
98
+ if (or(i)) {
99
99
  const n = {};
100
100
  Object.keys(i).forEach((a) => {
101
101
  n[a] = Yn(i[a]);
@@ -110,7 +110,7 @@ function Yn(i) {
110
110
  }
111
111
  function df(i, t) {
112
112
  let e = !1;
113
- return ar(i) ? Object.keys(i).find((n) => (t[n] || (e = `Found additional key ${n}`), e)) ? `${String(e)} in ${je(i)}` : !1 : `Expected ${je(i)} to be a plain Object`;
113
+ return or(i) ? Object.keys(i).find((n) => (t[n] || (e = `Found additional key ${n}`), e)) ? `${String(e)} in ${je(i)}` : !1 : `Expected ${je(i)} to be a plain Object`;
114
114
  }
115
115
  function Cs(i, t) {
116
116
  const e = (s, r) => {
@@ -138,7 +138,7 @@ function Cs(i, t) {
138
138
  };
139
139
  return e(i, t);
140
140
  }
141
- function Tr(i, t) {
141
+ function Nr(i, t) {
142
142
  return !Cs(i, t);
143
143
  }
144
144
  let ff = Error;
@@ -178,10 +178,10 @@ function gf(i) {
178
178
  return t[Yi] = !0, t;
179
179
  }
180
180
  function Ko(i) {
181
- const t = (e) => ar(e) ? Object.values(e).every((r) => Tr(r, i)) ? !1 : `Not all values of ${je(e)} are of type ${Yn(i)}` : `Expected ${je(e)} to be a plain Object`;
181
+ const t = (e) => or(e) ? Object.values(e).every((r) => Nr(r, i)) ? !1 : `Not all values of ${je(e)} are of type ${Yn(i)}` : `Expected ${je(e)} to be a plain Object`;
182
182
  return t[Yi] = !0, t;
183
183
  }
184
- function wn(i) {
184
+ function Mn(i) {
185
185
  S(i, Object);
186
186
  const t = Object.values(i), e = (s) => t.includes(s) ? !1 : `expected ${je(s)} to be of enum: ${t.join(", ")}`;
187
187
  return e[Yi] = !0, e;
@@ -189,7 +189,7 @@ function wn(i) {
189
189
  function mf(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 zi = 1, Hi = 2, fs = 3, pf = 4, $a = 5, Qo = 6378137, yf = 6356752314e-3, el = 0.0066943799901413165, Xs = 484813681109536e-20, x = Math.PI / 2, _f = 0.16666666666666666, vf = 0.04722222222222222, Sf = 0.022156084656084655, I = 1e-10, ke = 0.017453292519943295, zt = 57.29577951308232, Z = Math.PI / 4, or = Math.PI * 2, Se = 3.14159265359, ft = {};
192
+ var zi = 1, Hi = 2, fs = 3, pf = 4, $a = 5, Qo = 6378137, yf = 6356752314e-3, el = 0.0066943799901413165, Xs = 484813681109536e-20, x = Math.PI / 2, _f = 0.16666666666666666, vf = 0.04722222222222222, Sf = 0.022156084656084655, I = 1e-10, ke = 0.017453292519943295, Ht = 57.29577951308232, Z = Math.PI / 4, lr = Math.PI * 2, Se = 3.14159265359, ft = {};
193
193
  ft.greenwich = 0;
194
194
  ft.lisbon = -9.131906111111;
195
195
  ft.paris = 2.337229166667;
@@ -321,26 +321,26 @@ function Ba(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 lr = 1, Bh = 2, Uh = 3, Mn = 4, qh = 5, go = -1, Mf = /\s/, Cf = /[A-Za-z]/, xf = /[A-Za-z84_]/, Zn = /[,\]]/, Wh = /[\d\.E\-\+]/;
324
+ var hr = 1, Bh = 2, Uh = 3, Cn = 4, qh = 5, go = -1, Mf = /\s/, Cf = /[A-Za-z]/, xf = /[A-Za-z84_]/, Zn = /[,\]]/, Wh = /[\d\.E\-\+]/;
325
325
  function ci(i) {
326
326
  if (typeof i != "string")
327
327
  throw new Error("not a string");
328
- this.text = i.trim(), this.level = 0, this.place = 0, this.root = null, this.stack = [], this.currentObject = null, this.state = lr;
328
+ this.text = i.trim(), this.level = 0, this.place = 0, this.root = null, this.stack = [], this.currentObject = null, this.state = hr;
329
329
  }
330
330
  ci.prototype.readCharicter = function() {
331
331
  var i = this.text[this.place++];
332
- if (this.state !== Mn)
332
+ if (this.state !== Cn)
333
333
  for (; Mf.test(i); ) {
334
334
  if (this.place >= this.text.length)
335
335
  return;
336
336
  i = this.text[this.place++];
337
337
  }
338
338
  switch (this.state) {
339
- case lr:
339
+ case hr:
340
340
  return this.neutral(i);
341
341
  case Bh:
342
342
  return this.keyword(i);
343
- case Mn:
343
+ case Cn:
344
344
  return this.quoted(i);
345
345
  case qh:
346
346
  return this.afterquote(i);
@@ -352,7 +352,7 @@ ci.prototype.readCharicter = function() {
352
352
  };
353
353
  ci.prototype.afterquote = function(i) {
354
354
  if (i === '"') {
355
- this.word += '"', this.state = Mn;
355
+ this.word += '"', this.state = Cn;
356
356
  return;
357
357
  }
358
358
  if (Zn.test(i)) {
@@ -363,11 +363,11 @@ ci.prototype.afterquote = function(i) {
363
363
  };
364
364
  ci.prototype.afterItem = function(i) {
365
365
  if (i === ",") {
366
- this.word !== null && this.currentObject.push(this.word), this.word = null, this.state = lr;
366
+ this.word !== null && this.currentObject.push(this.word), this.word = null, this.state = hr;
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 = lr, this.currentObject = this.stack.pop(), this.currentObject || (this.state = go);
370
+ this.level--, this.word !== null && (this.currentObject.push(this.word), this.word = null), this.state = hr, this.currentObject = this.stack.pop(), this.currentObject || (this.state = go);
371
371
  return;
372
372
  }
373
373
  };
@@ -396,7 +396,7 @@ ci.prototype.keyword = function(i) {
396
396
  }
397
397
  if (i === "[") {
398
398
  var t = [];
399
- t.push(this.word), this.level++, this.root === null ? this.root = t : this.currentObject.push(t), this.stack.push(this.currentObject), this.currentObject = t, this.state = lr;
399
+ t.push(this.word), this.level++, this.root === null ? this.root = t : this.currentObject.push(t), this.stack.push(this.currentObject), this.currentObject = t, this.state = hr;
400
400
  return;
401
401
  }
402
402
  if (Zn.test(i)) {
@@ -411,7 +411,7 @@ ci.prototype.neutral = function(i) {
411
411
  return;
412
412
  }
413
413
  if (i === '"') {
414
- this.word = "", this.state = Mn;
414
+ this.word = "", this.state = Cn;
415
415
  return;
416
416
  }
417
417
  if (Wh.test(i)) {
@@ -522,7 +522,7 @@ function Ef(i, t) {
522
522
  var e = t[0], s = t[1];
523
523
  !(e in i) && s in i && (i[e] = i[s], t.length === 3 && (i[e] = t[2](i[e])));
524
524
  }
525
- function Rt(i) {
525
+ function Gt(i) {
526
526
  return i * bf;
527
527
  }
528
528
  function Pf(i) {
@@ -564,22 +564,22 @@ function Pf(i) {
564
564
  ["k0", "scale_factor"],
565
565
  ["latitude_of_center", "Latitude_Of_Center"],
566
566
  ["latitude_of_center", "Latitude_of_center"],
567
- ["lat0", "latitude_of_center", Rt],
567
+ ["lat0", "latitude_of_center", Gt],
568
568
  ["longitude_of_center", "Longitude_Of_Center"],
569
569
  ["longitude_of_center", "Longitude_of_center"],
570
- ["longc", "longitude_of_center", Rt],
570
+ ["longc", "longitude_of_center", Gt],
571
571
  ["x0", "false_easting", a],
572
572
  ["y0", "false_northing", a],
573
- ["long0", "central_meridian", Rt],
574
- ["lat0", "latitude_of_origin", Rt],
575
- ["lat0", "standard_parallel_1", Rt],
576
- ["lat1", "standard_parallel_1", Rt],
577
- ["lat2", "standard_parallel_2", Rt],
573
+ ["long0", "central_meridian", Gt],
574
+ ["lat0", "latitude_of_origin", Gt],
575
+ ["lat0", "standard_parallel_1", Gt],
576
+ ["lat1", "standard_parallel_1", Gt],
577
+ ["lat2", "standard_parallel_2", Gt],
578
578
  ["azimuth", "Azimuth"],
579
- ["alpha", "azimuth", Rt],
579
+ ["alpha", "azimuth", Gt],
580
580
  ["srsCode", "name"]
581
581
  ];
582
- l.forEach(o), !i.long0 && i.longc && (i.projName === "Albers_Conic_Equal_Area" || i.projName === "Lambert_Azimuthal_Equal_Area") && (i.long0 = i.longc), !i.lat_ts && i.lat1 && (i.projName === "Stereographic_South_Pole" || i.projName === "Polar Stereographic (variant B)") ? (i.lat0 = Rt(i.lat1 > 0 ? 90 : -90), i.lat_ts = i.lat1) : !i.lat_ts && i.lat0 && i.projName === "Polar_Stereographic" && (i.lat_ts = i.lat0, i.lat0 = Rt(i.lat0 > 0 ? 90 : -90));
582
+ l.forEach(o), !i.long0 && i.longc && (i.projName === "Albers_Conic_Equal_Area" || i.projName === "Lambert_Azimuthal_Equal_Area") && (i.long0 = i.longc), !i.lat_ts && i.lat1 && (i.projName === "Stereographic_South_Pole" || i.projName === "Polar Stereographic (variant B)") ? (i.lat0 = Gt(i.lat1 > 0 ? 90 : -90), i.lat_ts = i.lat1) : !i.lat_ts && i.lat0 && i.projName === "Polar_Stereographic" && (i.lat_ts = i.lat0, i.lat0 = Gt(i.lat0 > 0 ? 90 : -90));
583
583
  }
584
584
  function Xh(i) {
585
585
  var t = Of(i), e = t.shift(), s = t.shift();
@@ -659,21 +659,21 @@ function sl(i, t) {
659
659
  e = t[s], e !== void 0 && (i[s] = e);
660
660
  return i;
661
661
  }
662
- function Bt(i, t, e) {
662
+ function Ut(i, t, e) {
663
663
  var s = i * t;
664
664
  return e / Math.sqrt(1 - s * s);
665
665
  }
666
- function Nr(i) {
666
+ function Dr(i) {
667
667
  return i < 0 ? -1 : 1;
668
668
  }
669
669
  function T(i) {
670
- return Math.abs(i) <= Se ? i : i - Nr(i) * or;
670
+ return Math.abs(i) <= Se ? i : i - Dr(i) * lr;
671
671
  }
672
672
  function Lt(i, t, e) {
673
673
  var s = i * e, r = 0.5 * i;
674
674
  return s = Math.pow((1 - s) / (1 + s), r), Math.tan(0.5 * (x - t)) / s;
675
675
  }
676
- function hr(i, t) {
676
+ function cr(i, t) {
677
677
  for (var e = 0.5 * i, s, r, n = x - 2 * Math.atan(t), a = 0; a <= 15; a++)
678
678
  if (s = i * Math.sin(n), r = x - 2 * Math.atan(t * Math.pow((1 - s) / (1 + s), e)) - n, n += r, Math.abs(r) <= 1e-10)
679
679
  return n;
@@ -681,11 +681,11 @@ function hr(i, t) {
681
681
  }
682
682
  function kf() {
683
683
  var i = this.b / this.a;
684
- this.es = 1 - i * i, "x0" in this || (this.x0 = 0), "y0" in this || (this.y0 = 0), this.e = Math.sqrt(this.es), this.lat_ts ? this.sphere ? this.k0 = Math.cos(this.lat_ts) : this.k0 = Bt(this.e, Math.sin(this.lat_ts), Math.cos(this.lat_ts)) : this.k0 || (this.k ? this.k0 = this.k : this.k0 = 1);
684
+ this.es = 1 - i * i, "x0" in this || (this.x0 = 0), "y0" in this || (this.y0 = 0), this.e = Math.sqrt(this.es), this.lat_ts ? this.sphere ? this.k0 = Math.cos(this.lat_ts) : this.k0 = Ut(this.e, Math.sin(this.lat_ts), Math.cos(this.lat_ts)) : this.k0 || (this.k ? this.k0 = this.k : this.k0 = 1);
685
685
  }
686
686
  function zf(i) {
687
687
  var t = i.x, e = i.y;
688
- if (e * zt > 90 && e * zt < -90 && t * zt > 180 && t * zt < -180)
688
+ if (e * Ht > 90 && e * Ht < -90 && t * Ht > 180 && t * Ht < -180)
689
689
  return null;
690
690
  var s, r;
691
691
  if (Math.abs(Math.abs(e) - x) <= I)
@@ -704,7 +704,7 @@ function Hf(i) {
704
704
  r = x - 2 * Math.atan(Math.exp(-e / (this.a * this.k0)));
705
705
  else {
706
706
  var n = Math.exp(-e / (this.a * this.k0));
707
- if (r = hr(this.e, n), r === -9999)
707
+ if (r = cr(this.e, n), r === -9999)
708
708
  return null;
709
709
  }
710
710
  return s = T(this.long0 + t / (this.a * this.k0)), i.x = s, i.y = r, i;
@@ -728,19 +728,19 @@ const Uf = {
728
728
  inverse: rl,
729
729
  names: Bf
730
730
  };
731
- var qf = [Vf, Uf], on = {}, Cn = [];
731
+ var qf = [Vf, Uf], ln = {}, xn = [];
732
732
  function Yh(i, t) {
733
- var e = Cn.length;
734
- return i.names ? (Cn[e] = i, i.names.forEach(function(s) {
735
- on[s.toLowerCase()] = e;
733
+ var e = xn.length;
734
+ return i.names ? (xn[e] = i, i.names.forEach(function(s) {
735
+ ln[s.toLowerCase()] = e;
736
736
  }), this) : (console.log(t), !0);
737
737
  }
738
738
  function Wf(i) {
739
739
  if (!i)
740
740
  return !1;
741
741
  var t = i.toLowerCase();
742
- if (typeof on[t] < "u" && Cn[on[t]])
743
- return Cn[on[t]];
742
+ if (typeof ln[t] < "u" && xn[ln[t]])
743
+ return xn[ln[t]];
744
744
  }
745
745
  function Xf() {
746
746
  qf.forEach(Yh);
@@ -1177,9 +1177,9 @@ function lg(i, t, e, s) {
1177
1177
  }
1178
1178
  return a;
1179
1179
  }
1180
- function jt(i, t) {
1181
- if (!(this instanceof jt))
1182
- return new jt(i);
1180
+ function Vt(i, t) {
1181
+ if (!(this instanceof Vt))
1182
+ return new Vt(i);
1183
1183
  t = t || function(c) {
1184
1184
  if (c)
1185
1185
  throw c;
@@ -1189,7 +1189,7 @@ function jt(i, t) {
1189
1189
  t(i);
1190
1190
  return;
1191
1191
  }
1192
- var s = jt.projections.get(e.projName);
1192
+ var s = Vt.projections.get(e.projName);
1193
1193
  if (!s) {
1194
1194
  t(i);
1195
1195
  return;
@@ -1210,8 +1210,8 @@ function jt(i, t) {
1210
1210
  );
1211
1211
  sl(this, e), sl(this, s), this.a = n.a, this.b = n.b, this.rf = n.rf, this.sphere = n.sphere, this.es = a.es, this.e = a.e, this.ep2 = a.ep2, this.datum = l, this.init(), t(null, this);
1212
1212
  }
1213
- jt.projections = Yf;
1214
- jt.projections.start();
1213
+ Vt.projections = Yf;
1214
+ Vt.projections.start();
1215
1215
  function hg(i, t) {
1216
1216
  return i.datum_type !== t.datum_type || i.a !== t.a || Math.abs(i.es - t.es) > 5e-11 ? !1 : i.datum_type === zi ? i.datum_params[0] === t.datum_params[0] && i.datum_params[1] === t.datum_params[1] && i.datum_params[2] === t.datum_params[2] : i.datum_type === Hi ? i.datum_params[0] === t.datum_params[0] && i.datum_params[1] === t.datum_params[1] && i.datum_params[2] === t.datum_params[2] && i.datum_params[3] === t.datum_params[3] && i.datum_params[4] === t.datum_params[4] && i.datum_params[5] === t.datum_params[5] && i.datum_params[6] === t.datum_params[6] : !0;
1217
1217
  }
@@ -1286,7 +1286,7 @@ function ug(i, t, e) {
1286
1286
  };
1287
1287
  }
1288
1288
  }
1289
- function qr(i) {
1289
+ function Wr(i) {
1290
1290
  return i === zi || i === Hi;
1291
1291
  }
1292
1292
  function dg(i, t, e) {
@@ -1300,9 +1300,9 @@ function dg(i, t, e) {
1300
1300
  s = Qo, r = el;
1301
1301
  }
1302
1302
  var a = t.a, o = t.b, l = t.es;
1303
- if (t.datum_type === fs && (a = Qo, o = yf, l = el), r === l && s === a && !qr(i.datum_type) && !qr(t.datum_type))
1303
+ if (t.datum_type === fs && (a = Qo, o = yf, l = el), r === l && s === a && !Wr(i.datum_type) && !Wr(t.datum_type))
1304
1304
  return e;
1305
- if (e = Jh(e, r, s), qr(i.datum_type) && (e = cg(e, i.datum_type, i.datum_params)), qr(t.datum_type) && (e = ug(e, t.datum_type, t.datum_params)), e = Kh(e, l, a, o), t.datum_type === fs) {
1305
+ if (e = Jh(e, r, s), Wr(i.datum_type) && (e = cg(e, i.datum_type, i.datum_params)), Wr(t.datum_type) && (e = ug(e, t.datum_type, t.datum_params)), e = Kh(e, l, a, o), t.datum_type === fs) {
1306
1306
  var c = nl(t, !0, e);
1307
1307
  if (c !== 0)
1308
1308
  return;
@@ -1327,7 +1327,7 @@ function nl(i, t, e) {
1327
1327
  if (!(u > s.y || d > s.x || g < s.y || f < s.x) && (r = fg(s, t, l), !isNaN(r.x)))
1328
1328
  break;
1329
1329
  }
1330
- return isNaN(r.x) ? (console.log("Failed to find a grid shift table for location '" + -s.x * zt + " " + s.y * zt + " tried: '" + n + "'"), -1) : (e.x = -r.x, e.y = r.y, 0);
1330
+ return isNaN(r.x) ? (console.log("Failed to find a grid shift table for location '" + -s.x * Ht + " " + s.y * Ht + " tried: '" + n + "'"), -1) : (e.x = -r.x, e.y = r.y, 0);
1331
1331
  }
1332
1332
  function fg(i, t, e) {
1333
1333
  var s = { x: Number.NaN, y: Number.NaN };
@@ -1419,7 +1419,7 @@ function ll(i) {
1419
1419
  function mg(i, t) {
1420
1420
  return (i.datum.datum_type === zi || i.datum.datum_type === Hi || i.datum.datum_type === fs) && t.datumCode !== "WGS84" || (t.datum.datum_type === zi || t.datum.datum_type === Hi || t.datum.datum_type === fs) && i.datumCode !== "WGS84";
1421
1421
  }
1422
- function xn(i, t, e, s) {
1422
+ function On(i, t, e, s) {
1423
1423
  var r;
1424
1424
  Array.isArray(e) ? e = Qh(e) : e = {
1425
1425
  x: e.x,
@@ -1428,7 +1428,7 @@ function xn(i, t, e, s) {
1428
1428
  m: e.m
1429
1429
  };
1430
1430
  var n = e.z !== void 0;
1431
- if (gg(e), i.datum && t.datum && mg(i, t) && (r = new jt("WGS84"), e = xn(i, r, e, s), i = r), s && i.axis !== "enu" && (e = ol(i, !1, e)), i.projName === "longlat")
1431
+ if (gg(e), i.datum && t.datum && mg(i, t) && (r = new Vt("WGS84"), e = On(i, r, e, s), i = r), s && i.axis !== "enu" && (e = ol(i, !1, e)), i.projName === "longlat")
1432
1432
  e = {
1433
1433
  x: e.x * ke,
1434
1434
  y: e.y * ke,
@@ -1446,8 +1446,8 @@ function xn(i, t, e, s) {
1446
1446
  y: e.y,
1447
1447
  z: e.z || 0
1448
1448
  }), t.projName === "longlat" ? e = {
1449
- x: e.x * zt,
1450
- y: e.y * zt,
1449
+ x: e.x * Ht,
1450
+ y: e.y * Ht,
1451
1451
  z: e.z || 0
1452
1452
  } : (e = t.forward(e), t.to_meter && (e = {
1453
1453
  x: e.x / t.to_meter,
@@ -1455,10 +1455,10 @@ function xn(i, t, e, s) {
1455
1455
  z: e.z || 0
1456
1456
  })), s && t.axis !== "enu" ? ol(t, !0, e) : (n || delete e.z, e);
1457
1457
  }
1458
- var hl = jt("WGS84");
1458
+ var hl = Vt("WGS84");
1459
1459
  function ua(i, t, e, s) {
1460
1460
  var r, n, a;
1461
- return Array.isArray(e) ? (r = xn(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 = xn(i, t, e, s), a = Object.keys(e), a.length === 2 || a.forEach(function(o) {
1461
+ return Array.isArray(e) ? (r = On(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 = On(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") {
1463
1463
  if (o === "x" || o === "y" || o === "z")
1464
1464
  return;
@@ -1468,7 +1468,7 @@ function ua(i, t, e, s) {
1468
1468
  }), n);
1469
1469
  }
1470
1470
  function cl(i) {
1471
- return i instanceof jt ? i : i.oProj ? i.oProj : jt(i);
1471
+ return i instanceof Vt ? i : i.oProj ? i.oProj : Vt(i);
1472
1472
  }
1473
1473
  function Pe(i, t, e) {
1474
1474
  i = cl(i);
@@ -1770,7 +1770,7 @@ function kg(i) {
1770
1770
  var w = n * Math.sqrt(t) / this.k0, C = Math.pow(w, 2);
1771
1771
  t = t * g, s = e - t * C / (1 - this.es) * 0.5 * (1 - C / 12 * (5 + 3 * y - 9 * m * y + m - 4 * p - C / 30 * (61 + 90 * y - 252 * m * y + 45 * _ + 46 * m - C / 56 * (1385 + 3633 * y + 4095 * _ + 1574 * _ * y)))), r = T(this.long0 + w * (1 - C / 6 * (1 + 2 * y + m - C / 20 * (5 + 28 * y + 24 * _ + 8 * m * y + 6 * m - C / 42 * (61 + 662 * y + 1320 * _ + 720 * _ * y)))) / f);
1772
1772
  } else
1773
- s = x * Nr(a), r = 0;
1773
+ s = x * Dr(a), r = 0;
1774
1774
  else {
1775
1775
  var o = Math.exp(n / this.k0), l = 0.5 * (o - 1 / o), c = this.lat0 + a / this.k0, d = Math.cos(c);
1776
1776
  t = Math.sqrt((1 - Math.pow(d, 2)) / (1 + Math.pow(l, 2))), s = Math.asin(t), a < 0 && (s = -s), l === 0 && d === 0 ? r = 0 : r = T(Math.atan2(l, d) + this.long0);
@@ -1778,7 +1778,7 @@ function kg(i) {
1778
1778
  return i.x = r, i.y = s, i;
1779
1779
  }
1780
1780
  var zg = ["Fast_Transverse_Mercator", "Fast Transverse Mercator"];
1781
- const ln = {
1781
+ const hn = {
1782
1782
  init: Rg,
1783
1783
  forward: Gg,
1784
1784
  inverse: kg,
@@ -1823,7 +1823,7 @@ function hc(i, t, e) {
1823
1823
  function Bg() {
1824
1824
  if (!this.approx && (isNaN(this.es) || this.es <= 0))
1825
1825
  throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');
1826
- this.approx && (ln.init.apply(this), this.forward = ln.forward, this.inverse = ln.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 = [];
1826
+ this.approx && (hn.init.apply(this), this.forward = hn.forward, this.inverse = hn.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
1829
  var s = po(this.cbg, this.lat0);
@@ -1853,7 +1853,7 @@ function qg(i) {
1853
1853
  return i.x = s, i.y = r, i;
1854
1854
  }
1855
1855
  var Wg = ["Extended_Transverse_Mercator", "Extended Transverse Mercator", "etmerc", "Transverse_Mercator", "Transverse Mercator", "tmerc"];
1856
- const hn = {
1856
+ const cn = {
1857
1857
  init: Bg,
1858
1858
  forward: Ug,
1859
1859
  inverse: qg,
@@ -1873,7 +1873,7 @@ function Zg() {
1873
1873
  var i = Xg(this.zone, this.long0);
1874
1874
  if (i === void 0)
1875
1875
  throw new Error("unknown utm zone");
1876
- this.lat0 = 0, this.long0 = (6 * Math.abs(i) - 183) * ke, this.x0 = 5e5, this.y0 = this.utmSouth ? 1e7 : 0, this.k0 = 0.9996, hn.init.apply(this), this.forward = hn.forward, this.inverse = hn.inverse;
1876
+ this.lat0 = 0, this.long0 = (6 * Math.abs(i) - 183) * ke, this.x0 = 5e5, this.y0 = this.utmSouth ? 1e7 : 0, this.k0 = 0.9996, cn.init.apply(this), this.forward = cn.forward, this.inverse = cn.inverse;
1877
1877
  }
1878
1878
  var Jg = ["Universal Transverse Mercator System", "utm"];
1879
1879
  const Kg = {
@@ -1932,7 +1932,7 @@ function hm(i, t, e) {
1932
1932
  return t *= e, Math.tan(0.5 * (x + i)) * Math.pow((1 - t) / (1 + t), 0.5 * e);
1933
1933
  }
1934
1934
  function cm() {
1935
- this.coslat0 = Math.cos(this.lat0), this.sinlat0 = Math.sin(this.lat0), this.sphere ? this.k0 === 1 && !isNaN(this.lat_ts) && Math.abs(this.coslat0) <= I && (this.k0 = 0.5 * (1 + Nr(this.lat0) * Math.sin(this.lat_ts))) : (Math.abs(this.coslat0) <= I && (this.lat0 > 0 ? this.con = 1 : this.con = -1), this.cons = Math.sqrt(Math.pow(1 + this.e, 1 + this.e) * Math.pow(1 - this.e, 1 - this.e)), this.k0 === 1 && !isNaN(this.lat_ts) && Math.abs(this.coslat0) <= I && (this.k0 = 0.5 * this.cons * Bt(this.e, Math.sin(this.lat_ts), Math.cos(this.lat_ts)) / Lt(this.e, this.con * this.lat_ts, this.con * Math.sin(this.lat_ts))), this.ms1 = Bt(this.e, this.sinlat0, this.coslat0), this.X0 = 2 * Math.atan(this.ssfn_(this.lat0, this.sinlat0, this.e)) - x, this.cosX0 = Math.cos(this.X0), this.sinX0 = Math.sin(this.X0));
1935
+ this.coslat0 = Math.cos(this.lat0), this.sinlat0 = Math.sin(this.lat0), this.sphere ? this.k0 === 1 && !isNaN(this.lat_ts) && Math.abs(this.coslat0) <= I && (this.k0 = 0.5 * (1 + Dr(this.lat0) * Math.sin(this.lat_ts))) : (Math.abs(this.coslat0) <= I && (this.lat0 > 0 ? this.con = 1 : this.con = -1), this.cons = Math.sqrt(Math.pow(1 + this.e, 1 + this.e) * Math.pow(1 - this.e, 1 - this.e)), this.k0 === 1 && !isNaN(this.lat_ts) && Math.abs(this.coslat0) <= I && (this.k0 = 0.5 * this.cons * Ut(this.e, Math.sin(this.lat_ts), Math.cos(this.lat_ts)) / Lt(this.e, this.con * this.lat_ts, this.con * Math.sin(this.lat_ts))), this.ms1 = Ut(this.e, this.sinlat0, this.coslat0), this.X0 = 2 * Math.atan(this.ssfn_(this.lat0, this.sinlat0, this.e)) - x, this.cosX0 = Math.cos(this.X0), this.sinX0 = Math.sin(this.X0));
1936
1936
  }
1937
1937
  function um(i) {
1938
1938
  var t = i.x, e = i.y, s = Math.sin(e), r = Math.cos(e), n, a, o, l, c, d, u = T(t - this.long0);
@@ -1947,9 +1947,9 @@ function dm(i) {
1947
1947
  } else if (Math.abs(this.coslat0) <= I) {
1948
1948
  if (a <= I)
1949
1949
  return e = this.lat0, t = this.long0, i.x = t, i.y = e, i;
1950
- i.x *= this.con, i.y *= this.con, s = a * this.cons / (2 * this.a * this.k0), e = this.con * hr(this.e, s), t = this.con * T(this.con * this.long0 + Math.atan2(i.x, -1 * i.y));
1950
+ i.x *= this.con, i.y *= this.con, s = a * this.cons / (2 * this.a * this.k0), e = this.con * cr(this.e, s), t = this.con * T(this.con * this.long0 + Math.atan2(i.x, -1 * i.y));
1951
1951
  } else
1952
- r = 2 * Math.atan(a * this.cosX0 / (2 * this.a * this.k0 * this.ms1)), t = this.long0, a <= I ? n = this.X0 : (n = Math.asin(Math.cos(r) * this.sinX0 + i.y * Math.sin(r) * this.cosX0 / a), t = T(this.long0 + Math.atan2(i.x * Math.sin(r), a * this.cosX0 * Math.cos(r) - i.y * this.sinX0 * Math.sin(r)))), e = -1 * hr(this.e, Math.tan(0.5 * (x + n)));
1952
+ r = 2 * Math.atan(a * this.cosX0 / (2 * this.a * this.k0 * this.ms1)), t = this.long0, a <= I ? n = this.X0 : (n = Math.asin(Math.cos(r) * this.sinX0 + i.y * Math.sin(r) * this.cosX0 / a), t = T(this.long0 + Math.atan2(i.x * Math.sin(r), a * this.cosX0 * Math.cos(r) - i.y * this.sinX0 * Math.sin(r)))), e = -1 * cr(this.e, Math.tan(0.5 * (x + n)));
1953
1953
  return i.x = t, i.y = e, i;
1954
1954
  }
1955
1955
  var fm = ["stere", "Stereographic_South_Pole", "Polar Stereographic (variant B)"];
@@ -2003,7 +2003,7 @@ function wm() {
2003
2003
  else if (g = this.long1, p = this.lat1, m = this.long2, y = this.lat2, Math.abs(p - y) <= ts || (i = Math.abs(p)) <= ts || Math.abs(i - x) <= ts || Math.abs(Math.abs(this.lat0) - x) <= ts || Math.abs(Math.abs(y) - x) <= ts)
2004
2004
  throw new Error();
2005
2005
  var M = 1 - this.es;
2006
- t = Math.sqrt(M), Math.abs(this.lat0) > I ? (o = Math.sin(this.lat0), e = Math.cos(this.lat0), i = 1 - this.es * o * o, this.B = e * e, this.B = Math.sqrt(1 + this.es * this.B * this.B / M), this.A = this.B * this.k0 * t / i, s = this.B * t / (e * Math.sqrt(i)), r = s * s - 1, r <= 0 ? r = 0 : (r = Math.sqrt(r), this.lat0 < 0 && (r = -r)), this.E = r += s, this.E *= Math.pow(Lt(this.e, this.lat0, o), this.B)) : (this.B = 1 / t, this.A = this.k0, this.E = s = r = 1), w || C ? (w ? (u = Math.asin(Math.sin(_) / s), C || (d = _)) : (u = d, _ = Math.asin(s * Math.sin(u))), this.lam0 = f - Math.asin(0.5 * (r - 1 / r) * Math.tan(u)) / this.B) : (n = Math.pow(Lt(this.e, p, Math.sin(p)), this.B), a = Math.pow(Lt(this.e, y, Math.sin(y)), this.B), r = this.E / n, l = (a - n) / (a + n), c = this.E * this.E, c = (c - a * n) / (c + a * n), i = g - m, i < -Math.pi ? m -= or : i > Math.pi && (m += or), this.lam0 = T(0.5 * (g + m) - Math.atan(c * Math.tan(0.5 * this.B * (g - m)) / l) / this.B), u = Math.atan(2 * Math.sin(this.B * T(g - this.lam0)) / (r - 1 / r)), d = _ = Math.asin(s * Math.sin(u))), this.singam = Math.sin(u), this.cosgam = Math.cos(u), this.sinrot = Math.sin(d), this.cosrot = Math.cos(d), this.rB = 1 / this.B, this.ArB = this.A * this.rB, this.BrA = 1 / this.ArB, this.A * this.B, this.no_off ? this.u_0 = 0 : (this.u_0 = Math.abs(this.ArB * Math.atan(Math.sqrt(s * s - 1) / Math.cos(_))), this.lat0 < 0 && (this.u_0 = -this.u_0)), r = 0.5 * u, this.v_pole_n = this.ArB * Math.log(Math.tan(Z - r)), this.v_pole_s = this.ArB * Math.log(Math.tan(Z + r));
2006
+ t = Math.sqrt(M), Math.abs(this.lat0) > I ? (o = Math.sin(this.lat0), e = Math.cos(this.lat0), i = 1 - this.es * o * o, this.B = e * e, this.B = Math.sqrt(1 + this.es * this.B * this.B / M), this.A = this.B * this.k0 * t / i, s = this.B * t / (e * Math.sqrt(i)), r = s * s - 1, r <= 0 ? r = 0 : (r = Math.sqrt(r), this.lat0 < 0 && (r = -r)), this.E = r += s, this.E *= Math.pow(Lt(this.e, this.lat0, o), this.B)) : (this.B = 1 / t, this.A = this.k0, this.E = s = r = 1), w || C ? (w ? (u = Math.asin(Math.sin(_) / s), C || (d = _)) : (u = d, _ = Math.asin(s * Math.sin(u))), this.lam0 = f - Math.asin(0.5 * (r - 1 / r) * Math.tan(u)) / this.B) : (n = Math.pow(Lt(this.e, p, Math.sin(p)), this.B), a = Math.pow(Lt(this.e, y, Math.sin(y)), this.B), r = this.E / n, l = (a - n) / (a + n), c = this.E * this.E, c = (c - a * n) / (c + a * n), i = g - m, i < -Math.pi ? m -= lr : i > Math.pi && (m += lr), this.lam0 = T(0.5 * (g + m) - Math.atan(c * Math.tan(0.5 * this.B * (g - m)) / l) / this.B), u = Math.atan(2 * Math.sin(this.B * T(g - this.lam0)) / (r - 1 / r)), d = _ = Math.asin(s * Math.sin(u))), this.singam = Math.sin(u), this.cosgam = Math.cos(u), this.sinrot = Math.sin(d), this.cosrot = Math.cos(d), this.rB = 1 / this.B, this.ArB = this.A * this.rB, this.BrA = 1 / this.ArB, this.A * this.B, this.no_off ? this.u_0 = 0 : (this.u_0 = Math.abs(this.ArB * Math.atan(Math.sqrt(s * s - 1) / Math.cos(_))), this.lat0 < 0 && (this.u_0 = -this.u_0)), r = 0.5 * u, this.v_pole_n = this.ArB * Math.log(Math.tan(Z - r)), this.v_pole_s = this.ArB * Math.log(Math.tan(Z + r));
2007
2007
  }
2008
2008
  function Mm(i) {
2009
2009
  var t = {}, e, s, r, n, a, o, l, c;
@@ -2020,7 +2020,7 @@ function Cm(i) {
2020
2020
  if (i.x = (i.x - this.x0) * (1 / this.a), i.y = (i.y - this.y0) * (1 / this.a), this.no_rot ? (e = i.y, t = i.x) : (e = i.x * this.cosrot - i.y * this.sinrot, t = i.y * this.cosrot + i.x * this.sinrot + this.u_0), s = Math.exp(-this.BrA * e), r = 0.5 * (s - 1 / s), n = 0.5 * (s + 1 / s), a = Math.sin(this.BrA * t), o = (a * this.cosgam + r * this.singam) / n, Math.abs(Math.abs(o) - 1) < I)
2021
2021
  l.x = 0, l.y = o < 0 ? -x : x;
2022
2022
  else {
2023
- if (l.y = this.E / Math.sqrt((1 + o) / (1 - o)), l.y = hr(this.e, Math.pow(l.y, 1 / this.B)), l.y === 1 / 0)
2023
+ if (l.y = this.E / Math.sqrt((1 + o) / (1 - o)), l.y = cr(this.e, Math.pow(l.y, 1 / this.B)), l.y === 1 / 0)
2024
2024
  throw new Error();
2025
2025
  l.x = -this.rB * Math.atan2(r * this.cosgam - a * this.singam, Math.cos(this.BrA * t));
2026
2026
  }
@@ -2037,13 +2037,13 @@ function bm() {
2037
2037
  if (this.lat2 || (this.lat2 = this.lat1), this.k0 || (this.k0 = 1), this.x0 = this.x0 || 0, this.y0 = this.y0 || 0, !(Math.abs(this.lat1 + this.lat2) < I)) {
2038
2038
  var i = this.b / this.a;
2039
2039
  this.e = Math.sqrt(1 - i * i);
2040
- var t = Math.sin(this.lat1), e = Math.cos(this.lat1), s = Bt(this.e, t, e), r = Lt(this.e, this.lat1, t), n = Math.sin(this.lat2), a = Math.cos(this.lat2), o = Bt(this.e, n, a), l = Lt(this.e, this.lat2, n), c = Lt(this.e, this.lat0, Math.sin(this.lat0));
2040
+ var t = Math.sin(this.lat1), e = Math.cos(this.lat1), s = Ut(this.e, t, e), r = Lt(this.e, this.lat1, t), n = Math.sin(this.lat2), a = Math.cos(this.lat2), o = Ut(this.e, n, a), l = Lt(this.e, this.lat2, n), c = Lt(this.e, this.lat0, Math.sin(this.lat0));
2041
2041
  Math.abs(this.lat1 - this.lat2) > I ? this.ns = Math.log(s / o) / Math.log(r / l) : this.ns = t, isNaN(this.ns) && (this.ns = t), this.f0 = s / (this.ns * Math.pow(r, this.ns)), this.rh = this.a * this.f0 * Math.pow(c, this.ns), this.title || (this.title = "Lambert Conformal Conic");
2042
2042
  }
2043
2043
  }
2044
2044
  function Em(i) {
2045
2045
  var t = i.x, e = i.y;
2046
- Math.abs(2 * Math.abs(e) - Math.PI) <= I && (e = Nr(e) * (x - 2 * I));
2046
+ Math.abs(2 * Math.abs(e) - Math.PI) <= I && (e = Dr(e) * (x - 2 * I));
2047
2047
  var s = Math.abs(Math.abs(e) - x), r, n;
2048
2048
  if (s > I)
2049
2049
  r = Lt(this.e, e, Math.sin(e)), n = this.a * this.f0 * Math.pow(r, this.ns);
@@ -2060,7 +2060,7 @@ function Pm(i) {
2060
2060
  this.ns > 0 ? (t = Math.sqrt(a * a + o * o), e = 1) : (t = -Math.sqrt(a * a + o * o), e = -1);
2061
2061
  var l = 0;
2062
2062
  if (t !== 0 && (l = Math.atan2(e * a, e * o)), t !== 0 || this.ns > 0) {
2063
- if (e = 1 / this.ns, s = Math.pow(t / (this.a * this.f0), e), r = hr(this.e, s), r === -9999)
2063
+ if (e = 1 / this.ns, s = Math.pow(t / (this.a * this.f0), e), r = cr(this.e, s), r === -9999)
2064
2064
  return null;
2065
2065
  } else
2066
2066
  r = -x;
@@ -2107,16 +2107,16 @@ const Fm = {
2107
2107
  function tt(i, t, e, s, r) {
2108
2108
  return i * r - t * Math.sin(2 * r) + e * Math.sin(4 * r) - s * Math.sin(6 * r);
2109
2109
  }
2110
- function Dr(i) {
2110
+ function Ar(i) {
2111
2111
  return 1 - 0.25 * i * (1 + i / 16 * (3 + 1.25 * i));
2112
2112
  }
2113
- function Ar(i) {
2113
+ function Fr(i) {
2114
2114
  return 0.375 * i * (1 + 0.25 * i * (1 + 0.46875 * i));
2115
2115
  }
2116
- function Fr(i) {
2116
+ function Rr(i) {
2117
2117
  return 0.05859375 * i * i * (1 + 0.75 * i);
2118
2118
  }
2119
- function Rr(i) {
2119
+ function Gr(i) {
2120
2120
  return i * i * i * (35 / 3072);
2121
2121
  }
2122
2122
  function vs(i, t, e) {
@@ -2124,9 +2124,9 @@ function vs(i, t, e) {
2124
2124
  return i / Math.sqrt(1 - s * s);
2125
2125
  }
2126
2126
  function xs(i) {
2127
- return Math.abs(i) < x ? i : i - Nr(i) * Math.PI;
2127
+ return Math.abs(i) < x ? i : i - Dr(i) * Math.PI;
2128
2128
  }
2129
- function On(i, t, e, s, r) {
2129
+ function bn(i, t, e, s, r) {
2130
2130
  var n, a;
2131
2131
  n = i / t;
2132
2132
  for (var o = 0; o < 15; o++)
@@ -2135,7 +2135,7 @@ function On(i, t, e, s, r) {
2135
2135
  return NaN;
2136
2136
  }
2137
2137
  function Rm() {
2138
- this.sphere || (this.e0 = Dr(this.es), this.e1 = Ar(this.es), this.e2 = Fr(this.es), this.e3 = Rr(this.es), this.ml0 = this.a * tt(this.e0, this.e1, this.e2, this.e3, this.lat0));
2138
+ this.sphere || (this.e0 = Ar(this.es), this.e1 = Fr(this.es), this.e2 = Rr(this.es), this.e3 = Gr(this.es), this.ml0 = this.a * tt(this.e0, this.e1, this.e2, this.e3, this.lat0));
2139
2139
  }
2140
2140
  function Gm(i) {
2141
2141
  var t, e, s = i.x, r = i.y;
@@ -2154,7 +2154,7 @@ function km(i) {
2154
2154
  var n = e + this.lat0;
2155
2155
  s = Math.asin(Math.sin(n) * Math.cos(t)), r = Math.atan2(Math.tan(t), Math.cos(n));
2156
2156
  } else {
2157
- var a = this.ml0 / this.a + e, o = On(a, this.e0, this.e1, this.e2, this.e3);
2157
+ var a = this.ml0 / this.a + e, o = bn(a, this.e0, this.e1, this.e2, this.e3);
2158
2158
  if (Math.abs(Math.abs(o) - x) <= I)
2159
2159
  return i.x = this.long0, i.y = x, e < 0 && (i.y *= -1), i;
2160
2160
  var l = vs(this.a, this.e, Math.sin(o)), c = l * l * l / this.a / this.a * (1 - this.es), d = Math.pow(Math.tan(o), 2), u = t * this.a / l, f = u * u;
@@ -2297,7 +2297,7 @@ function bi(i) {
2297
2297
  return Math.abs(i) > 1 && (i = i > 1 ? 1 : -1), Math.asin(i);
2298
2298
  }
2299
2299
  function rp() {
2300
- Math.abs(this.lat1 + this.lat2) < I || (this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e3 = Math.sqrt(this.es), this.sin_po = Math.sin(this.lat1), this.cos_po = Math.cos(this.lat1), this.t1 = this.sin_po, this.con = this.sin_po, this.ms1 = Bt(this.e3, this.sin_po, this.cos_po), this.qs1 = yi(this.e3, this.sin_po), this.sin_po = Math.sin(this.lat2), this.cos_po = Math.cos(this.lat2), this.t2 = this.sin_po, this.ms2 = Bt(this.e3, this.sin_po, this.cos_po), this.qs2 = yi(this.e3, this.sin_po), this.sin_po = Math.sin(this.lat0), this.cos_po = Math.cos(this.lat0), this.t3 = this.sin_po, this.qs0 = yi(this.e3, this.sin_po), Math.abs(this.lat1 - this.lat2) > I ? this.ns0 = (this.ms1 * this.ms1 - this.ms2 * this.ms2) / (this.qs2 - this.qs1) : this.ns0 = this.con, this.c = this.ms1 * this.ms1 + this.ns0 * this.qs1, this.rh = this.a * Math.sqrt(this.c - this.ns0 * this.qs0) / this.ns0);
2300
+ Math.abs(this.lat1 + this.lat2) < I || (this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e3 = Math.sqrt(this.es), this.sin_po = Math.sin(this.lat1), this.cos_po = Math.cos(this.lat1), this.t1 = this.sin_po, this.con = this.sin_po, this.ms1 = Ut(this.e3, this.sin_po, this.cos_po), this.qs1 = yi(this.e3, this.sin_po), this.sin_po = Math.sin(this.lat2), this.cos_po = Math.cos(this.lat2), this.t2 = this.sin_po, this.ms2 = Ut(this.e3, this.sin_po, this.cos_po), this.qs2 = yi(this.e3, this.sin_po), this.sin_po = Math.sin(this.lat0), this.cos_po = Math.cos(this.lat0), this.t3 = this.sin_po, this.qs0 = yi(this.e3, this.sin_po), Math.abs(this.lat1 - this.lat2) > I ? this.ns0 = (this.ms1 * this.ms1 - this.ms2 * this.ms2) / (this.qs2 - this.qs1) : this.ns0 = this.con, this.c = this.ms1 * this.ms1 + this.ns0 * this.qs1, this.rh = this.a * Math.sqrt(this.c - this.ns0 * this.qs0) / this.ns0);
2301
2301
  }
2302
2302
  function np(i) {
2303
2303
  var t = i.x, e = i.y;
@@ -2354,7 +2354,7 @@ function mp(i, t) {
2354
2354
  return NaN;
2355
2355
  }
2356
2356
  function pp() {
2357
- this.sphere || (this.k0 = Bt(this.e, Math.sin(this.lat_ts), Math.cos(this.lat_ts)));
2357
+ this.sphere || (this.k0 = Ut(this.e, Math.sin(this.lat_ts), Math.cos(this.lat_ts)));
2358
2358
  }
2359
2359
  function yp(i) {
2360
2360
  var t = i.x, e = i.y, s, r, n = T(t - this.long0);
@@ -2398,7 +2398,7 @@ const Op = {
2398
2398
  };
2399
2399
  var pl = 20;
2400
2400
  function bp() {
2401
- this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e = Math.sqrt(this.es), this.e0 = Dr(this.es), this.e1 = Ar(this.es), this.e2 = Fr(this.es), this.e3 = Rr(this.es), this.ml0 = this.a * tt(this.e0, this.e1, this.e2, this.e3, this.lat0);
2401
+ this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e = Math.sqrt(this.es), this.e0 = Ar(this.es), this.e1 = Fr(this.es), this.e2 = Rr(this.es), this.e3 = Gr(this.es), this.ml0 = this.a * tt(this.e0, this.e1, this.e2, this.e3, this.lat0);
2402
2402
  }
2403
2403
  function Ep(i) {
2404
2404
  var t = i.x, e = i.y, s, r, n, a = T(t - this.long0);
@@ -2567,7 +2567,7 @@ const Jp = {
2567
2567
  names: Zp
2568
2568
  };
2569
2569
  function Kp() {
2570
- Math.abs(this.lat1 + this.lat2) < I || (this.lat2 = this.lat2 || this.lat1, this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e = Math.sqrt(this.es), this.e0 = Dr(this.es), this.e1 = Ar(this.es), this.e2 = Fr(this.es), this.e3 = Rr(this.es), this.sinphi = Math.sin(this.lat1), this.cosphi = Math.cos(this.lat1), this.ms1 = Bt(this.e, this.sinphi, this.cosphi), this.ml1 = tt(this.e0, this.e1, this.e2, this.e3, this.lat1), Math.abs(this.lat1 - this.lat2) < I ? this.ns = this.sinphi : (this.sinphi = Math.sin(this.lat2), this.cosphi = Math.cos(this.lat2), this.ms2 = Bt(this.e, this.sinphi, this.cosphi), this.ml2 = tt(this.e0, this.e1, this.e2, this.e3, this.lat2), this.ns = (this.ms1 - this.ms2) / (this.ml2 - this.ml1)), this.g = this.ml1 + this.ms1 / this.ns, this.ml0 = tt(this.e0, this.e1, this.e2, this.e3, this.lat0), this.rh = this.a * (this.g - this.ml0));
2570
+ Math.abs(this.lat1 + this.lat2) < I || (this.lat2 = this.lat2 || this.lat1, this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e = Math.sqrt(this.es), this.e0 = Ar(this.es), this.e1 = Fr(this.es), this.e2 = Rr(this.es), this.e3 = Gr(this.es), this.sinphi = Math.sin(this.lat1), this.cosphi = Math.cos(this.lat1), this.ms1 = Ut(this.e, this.sinphi, this.cosphi), this.ml1 = tt(this.e0, this.e1, this.e2, this.e3, this.lat1), Math.abs(this.lat1 - this.lat2) < I ? this.ns = this.sinphi : (this.sinphi = Math.sin(this.lat2), this.cosphi = Math.cos(this.lat2), this.ms2 = Ut(this.e, this.sinphi, this.cosphi), this.ml2 = tt(this.e0, this.e1, this.e2, this.e3, this.lat2), this.ns = (this.ms1 - this.ms2) / (this.ml2 - this.ml1)), this.g = this.ml1 + this.ms1 / this.ns, this.ml0 = tt(this.e0, this.e1, this.e2, this.e3, this.lat0), this.rh = this.a * (this.g - this.ml0));
2571
2571
  }
2572
2572
  function Qp(i) {
2573
2573
  var t = i.x, e = i.y, s;
@@ -2588,7 +2588,7 @@ function ey(i) {
2588
2588
  if (e !== 0 && (n = Math.atan2(t * i.x, t * i.y)), this.sphere)
2589
2589
  return r = T(this.long0 + n / this.ns), s = xs(this.g - e / this.a), i.x = r, i.y = s, i;
2590
2590
  var a = this.g - e / this.a;
2591
- return s = On(a, this.e0, this.e1, this.e2, this.e3), r = T(this.long0 + n / this.ns), i.x = r, i.y = s, i;
2591
+ return s = bn(a, this.e0, this.e1, this.e2, this.e3), r = T(this.long0 + n / this.ns), i.x = r, i.y = s, i;
2592
2592
  }
2593
2593
  var ty = ["Equidistant_Conic", "eqdc"];
2594
2594
  const iy = {
@@ -2626,12 +2626,12 @@ function ly() {
2626
2626
  }
2627
2627
  function hy(i) {
2628
2628
  var t = i.x, e = i.y, s = Math.sin(i.y), r = Math.cos(i.y), n = T(t - this.long0), a, o, l, c, d, u, f, g, m, p, y, _, w, C, M, O, N, D, H, q, he, ue, A;
2629
- return this.sphere ? Math.abs(this.sin_p12 - 1) <= I ? (i.x = this.x0 + this.a * (x - e) * Math.sin(n), i.y = this.y0 - this.a * (x - e) * Math.cos(n), i) : Math.abs(this.sin_p12 + 1) <= I ? (i.x = this.x0 + this.a * (x + e) * Math.sin(n), i.y = this.y0 + this.a * (x + e) * Math.cos(n), i) : (D = this.sin_p12 * s + this.cos_p12 * r * Math.cos(n), O = Math.acos(D), N = O ? O / Math.sin(O) : 1, i.x = this.x0 + this.a * N * r * Math.sin(n), i.y = this.y0 + this.a * N * (this.cos_p12 * s - this.sin_p12 * r * Math.cos(n)), i) : (a = Dr(this.es), o = Ar(this.es), l = Fr(this.es), c = Rr(this.es), Math.abs(this.sin_p12 - 1) <= I ? (d = this.a * tt(a, o, l, c, x), u = this.a * tt(a, o, l, c, e), i.x = this.x0 + (d - u) * Math.sin(n), i.y = this.y0 - (d - u) * Math.cos(n), i) : Math.abs(this.sin_p12 + 1) <= I ? (d = this.a * tt(a, o, l, c, x), u = this.a * tt(a, o, l, c, e), i.x = this.x0 + (d + u) * Math.sin(n), i.y = this.y0 + (d + u) * Math.cos(n), i) : (f = s / r, g = vs(this.a, this.e, this.sin_p12), m = vs(this.a, this.e, s), p = Math.atan((1 - this.es) * f + this.es * g * this.sin_p12 / (m * r)), y = Math.atan2(Math.sin(n), this.cos_p12 * Math.tan(p) - this.sin_p12 * Math.cos(n)), y === 0 ? H = Math.asin(this.cos_p12 * Math.sin(p) - this.sin_p12 * Math.cos(p)) : Math.abs(Math.abs(y) - Math.PI) <= I ? H = -Math.asin(this.cos_p12 * Math.sin(p) - this.sin_p12 * Math.cos(p)) : H = Math.asin(Math.sin(n) * Math.cos(p) / Math.sin(y)), _ = this.e * this.sin_p12 / Math.sqrt(1 - this.es), w = this.e * this.cos_p12 * Math.cos(y) / Math.sqrt(1 - this.es), C = _ * w, M = w * w, q = H * H, he = q * H, ue = he * H, A = ue * H, O = g * H * (1 - q * M * (1 - M) / 6 + he / 8 * C * (1 - 2 * M) + ue / 120 * (M * (4 - 7 * M) - 3 * _ * _ * (1 - 7 * M)) - A / 48 * C), i.x = this.x0 + O * Math.sin(y), i.y = this.y0 + O * Math.cos(y), i));
2629
+ return this.sphere ? Math.abs(this.sin_p12 - 1) <= I ? (i.x = this.x0 + this.a * (x - e) * Math.sin(n), i.y = this.y0 - this.a * (x - e) * Math.cos(n), i) : Math.abs(this.sin_p12 + 1) <= I ? (i.x = this.x0 + this.a * (x + e) * Math.sin(n), i.y = this.y0 + this.a * (x + e) * Math.cos(n), i) : (D = this.sin_p12 * s + this.cos_p12 * r * Math.cos(n), O = Math.acos(D), N = O ? O / Math.sin(O) : 1, i.x = this.x0 + this.a * N * r * Math.sin(n), i.y = this.y0 + this.a * N * (this.cos_p12 * s - this.sin_p12 * r * Math.cos(n)), i) : (a = Ar(this.es), o = Fr(this.es), l = Rr(this.es), c = Gr(this.es), Math.abs(this.sin_p12 - 1) <= I ? (d = this.a * tt(a, o, l, c, x), u = this.a * tt(a, o, l, c, e), i.x = this.x0 + (d - u) * Math.sin(n), i.y = this.y0 - (d - u) * Math.cos(n), i) : Math.abs(this.sin_p12 + 1) <= I ? (d = this.a * tt(a, o, l, c, x), u = this.a * tt(a, o, l, c, e), i.x = this.x0 + (d + u) * Math.sin(n), i.y = this.y0 + (d + u) * Math.cos(n), i) : (f = s / r, g = vs(this.a, this.e, this.sin_p12), m = vs(this.a, this.e, s), p = Math.atan((1 - this.es) * f + this.es * g * this.sin_p12 / (m * r)), y = Math.atan2(Math.sin(n), this.cos_p12 * Math.tan(p) - this.sin_p12 * Math.cos(n)), y === 0 ? H = Math.asin(this.cos_p12 * Math.sin(p) - this.sin_p12 * Math.cos(p)) : Math.abs(Math.abs(y) - Math.PI) <= I ? H = -Math.asin(this.cos_p12 * Math.sin(p) - this.sin_p12 * Math.cos(p)) : H = Math.asin(Math.sin(n) * Math.cos(p) / Math.sin(y)), _ = this.e * this.sin_p12 / Math.sqrt(1 - this.es), w = this.e * this.cos_p12 * Math.cos(y) / Math.sqrt(1 - this.es), C = _ * w, M = w * w, q = H * H, he = q * H, ue = he * H, A = ue * H, O = g * H * (1 - q * M * (1 - M) / 6 + he / 8 * C * (1 - 2 * M) + ue / 120 * (M * (4 - 7 * M) - 3 * _ * _ * (1 - 7 * M)) - A / 48 * C), i.x = this.x0 + O * Math.sin(y), i.y = this.y0 + O * Math.cos(y), i));
2630
2630
  }
2631
2631
  function cy(i) {
2632
2632
  i.x -= this.x0, i.y -= this.y0;
2633
2633
  var t, e, s, r, n, a, o, l, c, d, u, f, g, m, p, y, _, w, C, M, O, N, D, H;
2634
- return this.sphere ? (t = Math.sqrt(i.x * i.x + i.y * i.y), t > 2 * x * this.a ? void 0 : (e = t / this.a, s = Math.sin(e), r = Math.cos(e), n = this.long0, Math.abs(t) <= I ? a = this.lat0 : (a = bi(r * this.sin_p12 + i.y * s * this.cos_p12 / t), o = Math.abs(this.lat0) - x, Math.abs(o) <= I ? this.lat0 >= 0 ? n = T(this.long0 + Math.atan2(i.x, -i.y)) : n = T(this.long0 - Math.atan2(-i.x, i.y)) : n = T(this.long0 + Math.atan2(i.x * s, t * this.cos_p12 * r - i.y * this.sin_p12 * s))), i.x = n, i.y = a, i)) : (l = Dr(this.es), c = Ar(this.es), d = Fr(this.es), u = Rr(this.es), Math.abs(this.sin_p12 - 1) <= I ? (f = this.a * tt(l, c, d, u, x), t = Math.sqrt(i.x * i.x + i.y * i.y), g = f - t, a = On(g / this.a, l, c, d, u), n = T(this.long0 + Math.atan2(i.x, -1 * i.y)), i.x = n, i.y = a, i) : Math.abs(this.sin_p12 + 1) <= I ? (f = this.a * tt(l, c, d, u, x), t = Math.sqrt(i.x * i.x + i.y * i.y), g = t - f, a = On(g / this.a, l, c, d, u), n = T(this.long0 + Math.atan2(i.x, i.y)), i.x = n, i.y = a, i) : (t = Math.sqrt(i.x * i.x + i.y * i.y), y = Math.atan2(i.x, i.y), m = vs(this.a, this.e, this.sin_p12), _ = Math.cos(y), w = this.e * this.cos_p12 * _, C = -w * w / (1 - this.es), M = 3 * this.es * (1 - C) * this.sin_p12 * this.cos_p12 * _ / (1 - this.es), O = t / m, N = O - C * (1 + C) * Math.pow(O, 3) / 6 - M * (1 + 3 * C) * Math.pow(O, 4) / 24, D = 1 - C * N * N / 2 - O * N * N * N / 6, p = Math.asin(this.sin_p12 * Math.cos(N) + this.cos_p12 * Math.sin(N) * _), n = T(this.long0 + Math.asin(Math.sin(y) * Math.sin(N) / Math.cos(p))), H = Math.sin(p), a = Math.atan2((H - this.es * D * this.sin_p12) * Math.tan(p), H * (1 - this.es)), i.x = n, i.y = a, i));
2634
+ return this.sphere ? (t = Math.sqrt(i.x * i.x + i.y * i.y), t > 2 * x * this.a ? void 0 : (e = t / this.a, s = Math.sin(e), r = Math.cos(e), n = this.long0, Math.abs(t) <= I ? a = this.lat0 : (a = bi(r * this.sin_p12 + i.y * s * this.cos_p12 / t), o = Math.abs(this.lat0) - x, Math.abs(o) <= I ? this.lat0 >= 0 ? n = T(this.long0 + Math.atan2(i.x, -i.y)) : n = T(this.long0 - Math.atan2(-i.x, i.y)) : n = T(this.long0 + Math.atan2(i.x * s, t * this.cos_p12 * r - i.y * this.sin_p12 * s))), i.x = n, i.y = a, i)) : (l = Ar(this.es), c = Fr(this.es), d = Rr(this.es), u = Gr(this.es), Math.abs(this.sin_p12 - 1) <= I ? (f = this.a * tt(l, c, d, u, x), t = Math.sqrt(i.x * i.x + i.y * i.y), g = f - t, a = bn(g / this.a, l, c, d, u), n = T(this.long0 + Math.atan2(i.x, -1 * i.y)), i.x = n, i.y = a, i) : Math.abs(this.sin_p12 + 1) <= I ? (f = this.a * tt(l, c, d, u, x), t = Math.sqrt(i.x * i.x + i.y * i.y), g = t - f, a = bn(g / this.a, l, c, d, u), n = T(this.long0 + Math.atan2(i.x, i.y)), i.x = n, i.y = a, i) : (t = Math.sqrt(i.x * i.x + i.y * i.y), y = Math.atan2(i.x, i.y), m = vs(this.a, this.e, this.sin_p12), _ = Math.cos(y), w = this.e * this.cos_p12 * _, C = -w * w / (1 - this.es), M = 3 * this.es * (1 - C) * this.sin_p12 * this.cos_p12 * _ / (1 - this.es), O = t / m, N = O - C * (1 + C) * Math.pow(O, 3) / 6 - M * (1 + 3 * C) * Math.pow(O, 4) / 24, D = 1 - C * N * N / 2 - O * N * N * N / 6, p = Math.asin(this.sin_p12 * Math.cos(N) + this.cos_p12 * Math.sin(N) * _), n = T(this.long0 + Math.asin(Math.sin(y) * Math.sin(N) / Math.cos(p))), H = Math.sin(p), a = Math.atan2((H - this.es * D * this.sin_p12) * Math.tan(p), H * (1 - this.es)), i.x = n, i.y = a, i));
2635
2635
  }
2636
2636
  var uy = ["Azimuthal_Equidistant", "aeqd"];
2637
2637
  const dy = {
@@ -2682,7 +2682,7 @@ function vy(i) {
2682
2682
  n = x + e, s >= Z && s <= x + Z ? (l.value = J.AREA_0, r = -s + x) : s < Z && s >= -Z ? (l.value = J.AREA_1, r = -s) : s < -Z && s >= -(x + Z) ? (l.value = J.AREA_2, r = -s - x) : (l.value = J.AREA_3, r = s > 0 ? -s + Se : -s - Se);
2683
2683
  else {
2684
2684
  var c, d, u, f, g, m, p;
2685
- this.face === ge.RIGHT ? s = gs(s, +x) : this.face === ge.BACK ? s = gs(s, +Se) : this.face === ge.LEFT && (s = gs(s, -x)), f = Math.sin(e), g = Math.cos(e), m = Math.sin(s), p = Math.cos(s), c = g * p, d = g * m, u = f, this.face === ge.FRONT ? (n = Math.acos(c), r = Wr(n, u, d, l)) : this.face === ge.RIGHT ? (n = Math.acos(d), r = Wr(n, u, -c, l)) : this.face === ge.BACK ? (n = Math.acos(-c), r = Wr(n, u, -d, l)) : this.face === ge.LEFT ? (n = Math.acos(-d), r = Wr(n, u, c, l)) : (n = r = 0, l.value = J.AREA_0);
2685
+ this.face === ge.RIGHT ? s = gs(s, +x) : this.face === ge.BACK ? s = gs(s, +Se) : this.face === ge.LEFT && (s = gs(s, -x)), f = Math.sin(e), g = Math.cos(e), m = Math.sin(s), p = Math.cos(s), c = g * p, d = g * m, u = f, this.face === ge.FRONT ? (n = Math.acos(c), r = Xr(n, u, d, l)) : this.face === ge.RIGHT ? (n = Math.acos(d), r = Xr(n, u, -c, l)) : this.face === ge.BACK ? (n = Math.acos(-c), r = Xr(n, u, -d, l)) : this.face === ge.LEFT ? (n = Math.acos(-d), r = Xr(n, u, c, l)) : (n = r = 0, l.value = J.AREA_0);
2686
2686
  }
2687
2687
  return o = Math.atan(12 / Se * (r + Math.acos(Math.sin(r) * Math.cos(Z)) - x)), a = Math.sqrt((1 - Math.cos(n)) / (Math.cos(o) * Math.cos(o)) / (1 - Math.cos(Math.atan(1 / Math.cos(r))))), l.value === J.AREA_1 ? o += x : l.value === J.AREA_2 ? o += Se : l.value === J.AREA_3 && (o += 1.5 * Se), t.x = a * Math.cos(o), t.y = a * Math.sin(o), t.x = t.x * this.a + this.x0, t.y = t.y * this.a + this.y0, i.x = t.x, i.y = t.y, i;
2688
2688
  }
@@ -2702,13 +2702,13 @@ function Sy(i) {
2702
2702
  }
2703
2703
  return t.lam += this.long0, i.x = t.lam, i.y = t.phi, i;
2704
2704
  }
2705
- function Wr(i, t, e, s) {
2705
+ function Xr(i, t, e, s) {
2706
2706
  var r;
2707
2707
  return i < I ? (s.value = J.AREA_0, r = 0) : (r = Math.atan2(t, e), Math.abs(r) <= Z ? s.value = J.AREA_0 : r > Z && r <= x + Z ? (s.value = J.AREA_1, r -= x) : r > x + Z || r <= -(x + Z) ? (s.value = J.AREA_2, r = r >= 0 ? r - Se : r + Se) : (s.value = J.AREA_3, r += x)), r;
2708
2708
  }
2709
2709
  function gs(i, t) {
2710
2710
  var e = i + t;
2711
- return e < -Se ? e += or : e > +Se && (e -= or), e;
2711
+ return e < -Se ? e += lr : e > +Se && (e -= lr), e;
2712
2712
  }
2713
2713
  var wy = ["Quadrilateralized Spherical Cube", "Quadrilateralized_Spherical_Cube", "qsc"];
2714
2714
  const My = {
@@ -2757,7 +2757,7 @@ var qa = [
2757
2757
  [0.9394, 840947e-8, -192841e-9, -42106e-10],
2758
2758
  [0.9761, 616527e-8, -256e-6, -42106e-10],
2759
2759
  [1, 328947e-8, -319159e-9, -42106e-10]
2760
- ], cc = 0.8487, uc = 1.3523, dc = zt / 5, Cy = 1 / dc, hs = 18, bn = function(i, t) {
2760
+ ], cc = 0.8487, uc = 1.3523, dc = Ht / 5, Cy = 1 / dc, hs = 18, En = function(i, t) {
2761
2761
  return i[0] + t * (i[1] + t * (i[2] + t * i[3]));
2762
2762
  }, xy = function(i, t) {
2763
2763
  return i[1] + t * (2 * i[2] + t * 3 * i[3]);
@@ -2775,10 +2775,10 @@ function by() {
2775
2775
  }
2776
2776
  function Ey(i) {
2777
2777
  var t = T(i.x - this.long0), e = Math.abs(i.y), s = Math.floor(e * dc);
2778
- s < 0 ? s = 0 : s >= hs && (s = hs - 1), e = zt * (e - Cy * s);
2778
+ s < 0 ? s = 0 : s >= hs && (s = hs - 1), e = Ht * (e - Cy * s);
2779
2779
  var r = {
2780
- x: bn(qa[s], e) * t,
2781
- y: bn(Hs[s], e)
2780
+ x: En(qa[s], e) * t,
2781
+ y: En(Hs[s], e)
2782
2782
  };
2783
2783
  return i.y < 0 && (r.y = -r.y), r.x = r.x * this.a * cc + this.x0, r.y = r.y * this.a * uc + this.y0, r;
2784
2784
  }
@@ -2800,8 +2800,8 @@ function Py(i) {
2800
2800
  break;
2801
2801
  var s = Hs[e], r = 5 * (t.y - s[0]) / (Hs[e + 1][0] - s[0]);
2802
2802
  r = Oy(function(n) {
2803
- return (bn(s, n) - t.y) / xy(s, n);
2804
- }, r, I, 100), t.x /= bn(qa[e], r), t.y = (5 * e + r) * ke, i.y < 0 && (t.y = -t.y);
2803
+ return (En(s, n) - t.y) / xy(s, n);
2804
+ }, r, I, 100), t.x /= En(qa[e], r), t.y = (5 * e + r) * ke, i.y < 0 && (t.y = -t.y);
2805
2805
  }
2806
2806
  return t.x = T(t.x + this.long0), t;
2807
2807
  }
@@ -2976,20 +2976,20 @@ const Uy = {
2976
2976
  names: By
2977
2977
  };
2978
2978
  function qy(i) {
2979
- i.Proj.projections.add(ln), i.Proj.projections.add(hn), i.Proj.projections.add(Kg), i.Proj.projections.add(lm), i.Proj.projections.add(gm), i.Proj.projections.add(vm), i.Proj.projections.add(Om), i.Proj.projections.add(Lm), i.Proj.projections.add(Fm), i.Proj.projections.add(Hm), i.Proj.projections.add(sp), i.Proj.projections.add(hp), i.Proj.projections.add(gp), i.Proj.projections.add(Sp), i.Proj.projections.add(Op), i.Proj.projections.add(Lp), i.Proj.projections.add(Fp), i.Proj.projections.add(Hp), i.Proj.projections.add(qp), i.Proj.projections.add(Jp), i.Proj.projections.add(iy), i.Proj.projections.add(oy), i.Proj.projections.add(dy), i.Proj.projections.add(yy), i.Proj.projections.add(My), i.Proj.projections.add(Ly), i.Proj.projections.add(Fy), i.Proj.projections.add(Hy), i.Proj.projections.add(Uy);
2979
+ i.Proj.projections.add(hn), i.Proj.projections.add(cn), i.Proj.projections.add(Kg), i.Proj.projections.add(lm), i.Proj.projections.add(gm), i.Proj.projections.add(vm), i.Proj.projections.add(Om), i.Proj.projections.add(Lm), i.Proj.projections.add(Fm), i.Proj.projections.add(Hm), i.Proj.projections.add(sp), i.Proj.projections.add(hp), i.Proj.projections.add(gp), i.Proj.projections.add(Sp), i.Proj.projections.add(Op), i.Proj.projections.add(Lp), i.Proj.projections.add(Fp), i.Proj.projections.add(Hp), i.Proj.projections.add(qp), i.Proj.projections.add(Jp), i.Proj.projections.add(iy), i.Proj.projections.add(oy), i.Proj.projections.add(dy), i.Proj.projections.add(yy), i.Proj.projections.add(My), i.Proj.projections.add(Ly), i.Proj.projections.add(Fy), i.Proj.projections.add(Hy), i.Proj.projections.add(Uy);
2980
2980
  }
2981
2981
  Pe.defaultDatum = "WGS84";
2982
- Pe.Proj = jt;
2982
+ Pe.Proj = Vt;
2983
2983
  Pe.WGS84 = new Pe.Proj("WGS84");
2984
2984
  Pe.Point = _s;
2985
2985
  Pe.toPoint = Qh;
2986
2986
  Pe.defs = Je;
2987
2987
  Pe.nadgrid = eg;
2988
- Pe.transform = xn;
2988
+ Pe.transform = On;
2989
2989
  Pe.mgrs = pg;
2990
2990
  Pe.version = "__VERSION__";
2991
2991
  qy(Pe);
2992
- const En = Ae("EPSG:4326", "EPSG:3857"), vo = Ae("EPSG:3857", "EPSG:4326");
2992
+ const Pn = Ae("EPSG:4326", "EPSG:3857"), vo = Ae("EPSG:3857", "EPSG:4326");
2993
2993
  let So = {
2994
2994
  epsg: "EPSG:4326"
2995
2995
  };
@@ -3101,7 +3101,7 @@ class G {
3101
3101
  * @param inPlace - whether to transform in place
3102
3102
  */
3103
3103
  static wgs84ToMercator(t, e) {
3104
- return En(t, e ? t : void 0, t.length);
3104
+ return Pn(t, e ? t : void 0, t.length);
3105
3105
  }
3106
3106
  /**
3107
3107
  * validates projection options, combination of epsg code and proj4
@@ -3148,7 +3148,7 @@ function Yy(i, t) {
3148
3148
  const e = v.fromElements(i[0], i[1], i[2]), s = v.fromElements(t[0], t[1], t[2]);
3149
3149
  return v.distance(e, s);
3150
3150
  }
3151
- function cn(i, t) {
3151
+ function un(i, t) {
3152
3152
  return (i % t + t) % t;
3153
3153
  }
3154
3154
  function Ni(i) {
@@ -3189,13 +3189,13 @@ Ot.prototype.setCoordinates = function(t, e) {
3189
3189
  const s = e || this.getLayout(), r = /XYM?/.test(s) ? _t : Yy;
3190
3190
  this.setCenterAndRadius(t[0], r(t[0], t[1]), e);
3191
3191
  };
3192
- Pr.prototype.getCoordinates = function() {
3192
+ Ir.prototype.getCoordinates = function() {
3193
3193
  return this.getGeometries().map((t) => t.getCoordinates());
3194
3194
  };
3195
- Pr.prototype.setCoordinates = function(t, e) {
3195
+ Ir.prototype.setCoordinates = function(t, e) {
3196
3196
  S(t, Array), S(t.length, this.getGeometries().length), this.setGeometries(this.getGeometries().map((s, r) => (s.setCoordinates(t[r], e), s)));
3197
3197
  };
3198
- Pr.prototype.getLayout = function() {
3198
+ Ir.prototype.getLayout = function() {
3199
3199
  const t = this.getGeometries()[0];
3200
3200
  return t ? t.getLayout() : "XYZ";
3201
3201
  };
@@ -3255,7 +3255,7 @@ function R(i, t) {
3255
3255
  }
3256
3256
  return t;
3257
3257
  }
3258
- function Pn(i, t, e, s) {
3258
+ function In(i, t, e, s) {
3259
3259
  const r = R(i, t);
3260
3260
  return r < e ? e : r > s ? s : r;
3261
3261
  }
@@ -3278,12 +3278,12 @@ function gi(i, t, e) {
3278
3278
  }
3279
3279
  return e;
3280
3280
  }
3281
- let Xr;
3281
+ let Yr;
3282
3282
  const Qy = new Uint8Array(16);
3283
3283
  function e_() {
3284
- if (!Xr && (Xr = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Xr))
3284
+ if (!Yr && (Yr = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Yr))
3285
3285
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
3286
- return Xr(Qy);
3286
+ return Yr(Qy);
3287
3287
  }
3288
3288
  const Ge = [];
3289
3289
  for (let i = 0; i < 256; ++i)
@@ -3326,11 +3326,11 @@ Kt.DEBUG = Me.DEBUG;
3326
3326
  const Ds = {
3327
3327
  useTimestamp: !1,
3328
3328
  logLevel: Me.INFO
3329
- }, Gr = /* @__PURE__ */ new Map();
3330
- Gr.set(Me.ERROR, "error");
3331
- Gr.set(Me.WARN, "warn");
3332
- Gr.set(Me.INFO, "info");
3333
- Gr.set(Me.DEBUG, "log");
3329
+ }, kr = /* @__PURE__ */ new Map();
3330
+ kr.set(Me.ERROR, "error");
3331
+ kr.set(Me.WARN, "warn");
3332
+ kr.set(Me.INFO, "info");
3333
+ kr.set(Me.DEBUG, "log");
3334
3334
  class yc {
3335
3335
  /**
3336
3336
  * @param {string=} className
@@ -3400,7 +3400,7 @@ class yc {
3400
3400
  */
3401
3401
  _log(t, e, s) {
3402
3402
  let r = t;
3403
- this.className && (r = `[${this.className}] ${r}`), console[Gr.get(e)](r, ...s), e & Me.ERROR && (console.group(), console.trace(), console.groupEnd());
3403
+ this.className && (r = `[${this.className}] ${r}`), console[kr.get(e)](r, ...s), e & Me.ERROR && (console.group(), console.trace(), console.groupEnd());
3404
3404
  }
3405
3405
  }
3406
3406
  const Xa = /* @__PURE__ */ new Map();
@@ -3417,7 +3417,7 @@ function Ce(i) {
3417
3417
  }
3418
3418
  const Ze = Symbol("moduleId");
3419
3419
  var iw;
3420
- class Ft {
3420
+ class Rt {
3421
3421
  constructor(t) {
3422
3422
  /**
3423
3423
  * unique Name
@@ -3639,9 +3639,9 @@ class Li {
3639
3639
  return S(t, { type: String }), this.create(t.type, t, ...e);
3640
3640
  }
3641
3641
  }
3642
- const Ne = new Li(), Os = new Li(), Mo = new Li(), bs = new Li(), kr = new Li(), _c = new Li();
3642
+ const Ne = new Li(), Os = new Li(), Mo = new Li(), bs = new Li(), zr = new Li(), _c = new Li();
3643
3643
  function ti(i, t, ...e) {
3644
- if (!Tr(i, Ve(Li, Yt)))
3644
+ if (!Nr(i, Ve(Li, Yt)))
3645
3645
  return js().error(`ObjectCreation failed: no class registry provided for ${String(t.type)}`), null;
3646
3646
  if (!(t != null && t.type))
3647
3647
  return js().warning("ObjectCreation failed: could not find type in options"), null;
@@ -3653,7 +3653,7 @@ function ti(i, t, ...e) {
3653
3653
  }
3654
3654
  return s || (js().warning("ObjectCreation failed: could not create new Object"), null);
3655
3655
  }
3656
- class Ut extends Ft {
3656
+ class qt extends Rt {
3657
3657
  /**
3658
3658
  * @param options
3659
3659
  */
@@ -3663,7 +3663,7 @@ class Ut extends Ft {
3663
3663
  /**
3664
3664
  * The 3D representation of this style
3665
3665
  */
3666
- h(this, "cesiumStyle", new pn({ show: !0 }));
3666
+ h(this, "cesiumStyle", new yn({ show: !0 }));
3667
3667
  /**
3668
3668
  * Fired on style updates
3669
3669
  */
@@ -3672,7 +3672,7 @@ class Ut extends Ft {
3672
3672
  // eslint-disable-next-line class-methods-use-this
3673
3673
  h(this, "_style", () => {
3674
3674
  });
3675
- this.colorBlendMode = Kn(e.colorBlendMode, an, an.HIGHLIGHT);
3675
+ this.colorBlendMode = Kn(e.colorBlendMode, on, on.HIGHLIGHT);
3676
3676
  }
3677
3677
  static get className() {
3678
3678
  return "StyleItem";
@@ -3695,7 +3695,7 @@ class Ut extends Ft {
3695
3695
  }
3696
3696
  toJSON() {
3697
3697
  const e = super.toJSON();
3698
- return this.colorBlendMode !== an.HIGHLIGHT && (e.colorBlendMode = this.colorBlendMode), e;
3698
+ return this.colorBlendMode !== on.HIGHLIGHT && (e.colorBlendMode = this.colorBlendMode), e;
3699
3699
  }
3700
3700
  /**
3701
3701
  * Clones this style. Does not pass the name property.
@@ -3728,10 +3728,10 @@ class Ut extends Ft {
3728
3728
  this.styleChanged.raiseEvent();
3729
3729
  }
3730
3730
  destroy() {
3731
- this.cesiumStyle = new pn(), this.styleChanged.destroy(), super.destroy();
3731
+ this.cesiumStyle = new yn(), this.styleChanged.destroy(), super.destroy();
3732
3732
  }
3733
3733
  }
3734
- kr.registerClass(Ut.className, Ut);
3734
+ zr.registerClass(qt.className, qt);
3735
3735
  function Xt(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;
@@ -3899,7 +3899,7 @@ function fw(i, t, e, s) {
3899
3899
  a[u] = o, a[u + 1] = l, a[u + 2] = c;
3900
3900
  i.putImageData(n, r[0], r[1]);
3901
3901
  }
3902
- function In(i) {
3902
+ function Ln(i) {
3903
3903
  let t = i.getColor();
3904
3904
  try {
3905
3905
  t = ze(t).slice();
@@ -3914,7 +3914,7 @@ function vc(i) {
3914
3914
  function xo(i) {
3915
3915
  return new He(i);
3916
3916
  }
3917
- function cr(i) {
3917
+ function ur(i) {
3918
3918
  let t = i.getColor();
3919
3919
  if (t)
3920
3920
  try {
@@ -3932,8 +3932,8 @@ function cr(i) {
3932
3932
  function Sc(i) {
3933
3933
  return {
3934
3934
  font: i.getFont(),
3935
- fill: i.getFill() ? In(i.getFill()) : void 0,
3936
- stroke: i.getStroke() ? cr(i.getStroke()) : void 0,
3935
+ fill: i.getFill() ? Ln(i.getFill()) : void 0,
3936
+ stroke: i.getStroke() ? ur(i.getStroke()) : void 0,
3937
3937
  textBaseline: i.getTextBaseline(),
3938
3938
  offsetY: i.getOffsetY(),
3939
3939
  offsetX: i.getOffsetX(),
@@ -3964,19 +3964,19 @@ function Mc(i) {
3964
3964
  const t = {
3965
3965
  scale: i.getScale()
3966
3966
  };
3967
- return i.getFill() && (t.fill = In(i.getFill())), i.getRadius() != null && (t.radius = i.getRadius()), i.getStroke() && (t.stroke = cr(i.getStroke())), t;
3968
- } else if (i instanceof Ir) {
3967
+ return i.getFill() && (t.fill = Ln(i.getFill())), i.getRadius() != null && (t.radius = i.getRadius()), i.getStroke() && (t.stroke = ur(i.getStroke())), t;
3968
+ } else if (i instanceof Lr) {
3969
3969
  const t = {
3970
3970
  scale: i.getScale()
3971
3971
  };
3972
- return i.getFill() && (t.fill = In(i.getFill())), i.getPoints() && (t.points = i.getPoints()), i.getAngle() && (t.angle = i.getAngle()), i.getRotation() && (t.rotation = i.getRotation()), i.getRadius() != null && (t.radius = i.getRadius()), i.getRadius2() != null && (t.radius2 = i.getRadius2()), i.getStroke() && (t.stroke = cr(i.getStroke())), t;
3972
+ return i.getFill() && (t.fill = Ln(i.getFill())), i.getPoints() && (t.points = i.getPoints()), i.getAngle() && (t.angle = i.getAngle()), i.getRotation() && (t.rotation = i.getRotation()), i.getRadius() != null && (t.radius = i.getRadius()), i.getRadius2() != null && (t.radius2 = i.getRadius2()), i.getStroke() && (t.stroke = ur(i.getStroke())), t;
3973
3973
  }
3974
3974
  throw new Error("no Subclass of ImageStyle found");
3975
3975
  }
3976
3976
  function c_(i) {
3977
3977
  if (i.radius) {
3978
3978
  const t = i.fill ? vc(i.fill) : void 0, e = i.stroke ? xo(i.stroke) : void 0;
3979
- return i.points ? new Ir({
3979
+ return i.points ? new Lr({
3980
3980
  fill: t,
3981
3981
  stroke: e,
3982
3982
  points: i.points,
@@ -4012,8 +4012,8 @@ function gw(i) {
4012
4012
  }
4013
4013
  function mw(i) {
4014
4014
  return {
4015
- fill: i.getFill() ? In(i.getFill()) : void 0,
4016
- stroke: i.getStroke() ? cr(i.getStroke()) : void 0,
4015
+ fill: i.getFill() ? Ln(i.getFill()) : void 0,
4016
+ stroke: i.getStroke() ? ur(i.getStroke()) : void 0,
4017
4017
  image: i.getImage() ? Mc(i.getImage()) : void 0,
4018
4018
  text: i.getText() ? Sc(i.getText()) : void 0
4019
4019
  };
@@ -4032,7 +4032,7 @@ function pw(i) {
4032
4032
  }
4033
4033
  return i.getFill() && (t.color = _l(ze(i.getFill().getColor()))), t;
4034
4034
  }
4035
- const yw = new Q({}), _w = [0, 0, 0, 0], un = [255, 255, 255, 1], Ya = [0, 0, 0, 1];
4035
+ const yw = new Q({}), _w = [0, 0, 0, 0], dn = [255, 255, 255, 1], Ya = [0, 0, 0, 1];
4036
4036
  function Cc() {
4037
4037
  return {
4038
4038
  image: {
@@ -4062,7 +4062,7 @@ function Cc() {
4062
4062
  }
4063
4063
  var yh;
4064
4064
  const u_ = {
4065
- olcs_color: at(un),
4065
+ olcs_color: at(dn),
4066
4066
  olcs_scale: "1.0",
4067
4067
  olcs_outlineWidth: "0.0",
4068
4068
  olcs_outlineColor: at(Ya),
@@ -4071,9 +4071,9 @@ const u_ = {
4071
4071
  olcs_font: `'${(yh = Cc().text) == null ? void 0 : yh.font}'`,
4072
4072
  olcs_fontColor: at(Ya),
4073
4073
  olcs_fontOutlineWidth: "1.0",
4074
- olcs_fontOutlineColor: at(un),
4074
+ olcs_fontOutlineColor: at(dn),
4075
4075
  olcs_labelText: String(null),
4076
- olcs_anchorLineColor: at(un)
4076
+ olcs_anchorLineColor: at(dn)
4077
4077
  };
4078
4078
  function pe(i, t) {
4079
4079
  const e = `Boolean(\${${i}})===true`, s = t ? `color(\${${i}})` : `\${${i}}`;
@@ -4087,7 +4087,7 @@ const vw = (
4087
4087
  "${attributes} !== undefined && ${attributes} !== null && ${attributes.olcs_extrudedHeight} !== undefined && ${attributes.olcs_extrudedHeight}!==null"
4088
4088
  );
4089
4089
  function xc(i) {
4090
- return i.fill && !(i.fill instanceof ht) && (i.fill = new ht(i.fill)), i.stroke && !(i.stroke instanceof He) && (i.stroke = new He(i.stroke)), i.points ? new Ir(i) : new wi(i);
4090
+ return i.fill && !(i.fill instanceof ht) && (i.fill = new ht(i.fill)), i.stroke && !(i.stroke instanceof He) && (i.stroke = new He(i.stroke)), i.points ? new Lr(i) : new wi(i);
4091
4091
  }
4092
4092
  class d_ {
4093
4093
  constructor() {
@@ -4118,7 +4118,7 @@ var Zs;
4118
4118
  i[i.POLYGON = 1] = "POLYGON", i[i.POLYLINE = 2] = "POLYLINE", i[i.POINT = 3] = "POINT";
4119
4119
  })(Zs = Zs || (Zs = {}));
4120
4120
  const ot = Symbol("VcsVectorStyleItem");
4121
- class oe extends Ut {
4121
+ class oe extends qt {
4122
4122
  constructor(e) {
4123
4123
  super(e);
4124
4124
  h(this, "exclude");
@@ -4275,7 +4275,7 @@ class oe extends Ut {
4275
4275
  r.splice(1, 1, ["true", `${d}`]), c -= d;
4276
4276
  }
4277
4277
  a.splice(1, 1, ["true", `${c}`]);
4278
- } else if (this._image instanceof Ir) {
4278
+ } else if (this._image instanceof Lr) {
4279
4279
  const l = this._image.getImage(1).toDataURL();
4280
4280
  o.splice(1, 1, ["true", `"${l}"`]);
4281
4281
  } else
@@ -4353,7 +4353,7 @@ class oe extends Ut {
4353
4353
  const e = super.toJSON();
4354
4354
  this._fillOptions ? (e.fill = {
4355
4355
  color: ze(this._fillOptions.color).slice()
4356
- }, this._fillOptions.pattern && (e.fill.pattern = { ...this._fillOptions.pattern })) : this.exclude.fill && (e.fill = !1), this._stroke ? e.stroke = cr(this._stroke) : this.exclude.stroke && (e.stroke = !1), this._text && (e.text = Sc(this._text)), this._label && (e.label = this._label);
4356
+ }, this._fillOptions.pattern && (e.fill.pattern = { ...this._fillOptions.pattern })) : this.exclude.fill && (e.fill = !1), this._stroke ? e.stroke = ur(this._stroke) : this.exclude.stroke && (e.stroke = !1), this._text && (e.text = Sc(this._text)), this._label && (e.label = this._label);
4357
4357
  const s = this._image ? Mc(this._image) : void 0;
4358
4358
  return s ? e.image = s : this.exclude.image && (e.image = !1), e;
4359
4359
  }
@@ -4380,7 +4380,7 @@ class oe extends Ut {
4380
4380
  }
4381
4381
  }
4382
4382
  const ji = new oe(Cc());
4383
- kr.registerClass(oe.className, oe);
4383
+ zr.registerClass(oe.className, oe);
4384
4384
  function g_(i) {
4385
4385
  var e;
4386
4386
  const t = i.toBytes();
@@ -4397,35 +4397,35 @@ var ie;
4397
4397
  (function(i) {
4398
4398
  i[i.HIGHLIGHT = 1] = "HIGHLIGHT", i[i.UNHIGHLIGHT = 2] = "UNHIGHLIGHT", i[i.HIDE = 3] = "HIDE", i[i.SHOW = 4] = "SHOW";
4399
4399
  })(ie = ie || (ie = {}));
4400
- function zr(i) {
4400
+ function Hr(i) {
4401
4401
  return i && i.content && !i.content.isDestroyed() && !i.content.batchTable.isDestroyed();
4402
4402
  }
4403
- function ur(i) {
4404
- (i instanceof Ui || i instanceof qi) && zr(i) || i instanceof Wi ? i.show = !1 : i instanceof se && i.changed();
4403
+ function dr(i) {
4404
+ (i instanceof Ui || i instanceof qi) && Hr(i) || i instanceof Wi ? i.show = !1 : i instanceof se && i.changed();
4405
4405
  }
4406
- function Ln(i) {
4407
- Reflect.has(i, si) || ((i instanceof Ui || i instanceof qi) && zr(i) ? i[si] = i.color.clone() : i instanceof se && (i[si] = i.getStyle()));
4406
+ function Tn(i) {
4407
+ Reflect.has(i, si) || ((i instanceof Ui || i instanceof qi) && Hr(i) ? i[si] = i.color.clone() : i instanceof se && (i[si] = i.getStyle()));
4408
4408
  }
4409
4409
  function Oc(i) {
4410
4410
  if (!(i[dt] || i[ut] || i[De])) {
4411
4411
  const t = i[si];
4412
- t && (i instanceof Ui || i instanceof qi) && zr(i) ? i.color = t : i instanceof se && i.changed(), delete i[si];
4412
+ t && (i instanceof Ui || i instanceof qi) && Hr(i) ? i.color = t : i instanceof se && i.changed(), delete i[si];
4413
4413
  }
4414
4414
  }
4415
- function dr(i) {
4415
+ function fr(i) {
4416
4416
  if (!(i[dt] || i[ut])) {
4417
4417
  const t = i[De];
4418
- (i instanceof Ui || i instanceof qi) && zr(i) && t ? i.color = t.cesiumFillColor : i instanceof se && i.changed();
4418
+ (i instanceof Ui || i instanceof qi) && Hr(i) && t ? i.color = t.cesiumFillColor : i instanceof se && i.changed();
4419
4419
  }
4420
4420
  }
4421
4421
  function Oo(i) {
4422
- delete i[si], Ln(i), i[ut] || i[dt] ? ur(i) : i[De] && dr(i);
4422
+ delete i[si], Tn(i), i[ut] || i[dt] ? dr(i) : i[De] && fr(i);
4423
4423
  }
4424
4424
  function m_(i) {
4425
4425
  delete i[De], Oc(i);
4426
4426
  }
4427
4427
  function bc(i, t) {
4428
- delete i[t], i[ut] || i[dt] || (((i instanceof Ui || i instanceof qi) && zr(i) || i instanceof Wi) && (i.show = !0), i[De] ? dr(i) : Oc(i));
4428
+ delete i[t], i[ut] || i[dt] || (((i instanceof Ui || i instanceof qi) && Hr(i) || i instanceof Wi) && (i.show = !0), i[De] ? fr(i) : Oc(i));
4429
4429
  }
4430
4430
  function p_(i, t) {
4431
4431
  function e({ action: n, ids: a }) {
@@ -4461,7 +4461,7 @@ class bo {
4461
4461
  Object.entries(t).forEach(([s, r]) => {
4462
4462
  let n;
4463
4463
  r instanceof U ? n = g_(r) : r instanceof Q ? (n = new oe({}), r.getText() && r.getText().getText() && !Array.isArray(r.getText().getText()) && (n.label = String(r.getText().getText())), n.style = r) : n = r, this.highlightedObjects[s] ? this.highlightedObjects[s].style !== n && (this.highlightedObjects[s].style = n, this.highlightedObjects[s].features.forEach((a, o) => {
4464
- o[De] = n, dr(o);
4464
+ o[De] = n, fr(o);
4465
4465
  })) : (this.highlightedObjects[s] = {
4466
4466
  style: n,
4467
4467
  features: /* @__PURE__ */ new Set()
@@ -4496,7 +4496,7 @@ class bo {
4496
4496
  return this.highlightedObjects[t] && this.highlightedObjects[t].features.has(e);
4497
4497
  }
4498
4498
  addHighlightFeature(t, e) {
4499
- this.highlightedObjects[t] && (Ln(e), this.highlightedObjects[t].features.add(e), e[De] = this.highlightedObjects[t].style, dr(e));
4499
+ this.highlightedObjects[t] && (Tn(e), this.highlightedObjects[t].features.add(e), e[De] = this.highlightedObjects[t].style, fr(e));
4500
4500
  }
4501
4501
  /**
4502
4502
  * hides a number of objects
@@ -4536,7 +4536,7 @@ class bo {
4536
4536
  return this.hiddenObjects[t] && this.hiddenObjects[t].has(e);
4537
4537
  }
4538
4538
  addHiddenFeature(t, e) {
4539
- this.hiddenObjects[t] && (Ln(e), this.hiddenObjects[t].add(e), e[ut] = !0, ur(e));
4539
+ this.hiddenObjects[t] && (Tn(e), this.hiddenObjects[t].add(e), e[ut] = !0, dr(e));
4540
4540
  }
4541
4541
  /**
4542
4542
  * Clears all caches and removes cesium events.
@@ -4576,11 +4576,11 @@ const __ = se.prototype.getStyle;
4576
4576
  se.prototype.getStyle = function() {
4577
4577
  return this[ut] || this[dt] ? new Q({}) : this[De] ? this[De].style : __.bind(this)();
4578
4578
  };
4579
- Dt._materialCache.addMaterial("Wallpaper", {
4579
+ At._materialCache.addMaterial("Wallpaper", {
4580
4580
  fabric: {
4581
4581
  type: "Wallpaper",
4582
4582
  uniforms: {
4583
- image: Dt.DefaultImageId,
4583
+ image: At.DefaultImageId,
4584
4584
  anchor: new k(0, 0)
4585
4585
  },
4586
4586
  components: {
@@ -4605,7 +4605,7 @@ Wi.prototype.getProperty = function(t) {
4605
4605
  Wi.prototype.getPropertyInherited = function(t) {
4606
4606
  return this.getProperty(t);
4607
4607
  };
4608
- const v_ = new v(), S_ = new W(), w_ = new yn(), M_ = new U(), C_ = [1, 1e5];
4608
+ const v_ = new v(), S_ = new W(), w_ = new _n(), M_ = new U(), C_ = [1, 1e5];
4609
4609
  class x_ {
4610
4610
  constructor(t) {
4611
4611
  h(this, "_outlinePrimitives", []);
@@ -4630,7 +4630,7 @@ class x_ {
4630
4630
  g = v.negate(g, v_);
4631
4631
  const m = S_;
4632
4632
  W.setColumn(m, 0, g, m), W.setColumn(m, 1, f, m), W.setColumn(m, 2, u, m);
4633
- const p = yn.fromRotationMatrix(m, w_);
4633
+ const p = _n.fromRotationMatrix(m, w_);
4634
4634
  e.length = 1, s.length = 1, l.near = c[0], l.far = c[1], e[0] = new pt({
4635
4635
  allowPicking: this.allowPicking,
4636
4636
  geometryInstances: new ct({
@@ -4643,7 +4643,7 @@ class x_ {
4643
4643
  _drawNearPlane: !0
4644
4644
  }),
4645
4645
  attributes: {
4646
- color: sr.fromColor(U.fromAlpha(this._color, 0.1, M_))
4646
+ color: rr.fromColor(U.fromAlpha(this._color, 0.1, M_))
4647
4647
  },
4648
4648
  id: this.id,
4649
4649
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -4667,7 +4667,7 @@ class x_ {
4667
4667
  _drawNearPlane: !0
4668
4668
  }),
4669
4669
  attributes: {
4670
- color: sr.fromColor(this._color)
4670
+ color: rr.fromColor(this._color)
4671
4671
  },
4672
4672
  id: this.id,
4673
4673
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -4752,7 +4752,7 @@ function ga(i, t, e) {
4752
4752
  function wl(i, t, e) {
4753
4753
  return i != null && t != null && i.every((s, r) => Ec(s, t[r], e));
4754
4754
  }
4755
- class mt extends Ft {
4755
+ class mt extends Rt {
4756
4756
  /**
4757
4757
  * @param options
4758
4758
  */
@@ -5192,7 +5192,7 @@ class Ka {
5192
5192
  });
5193
5193
  }
5194
5194
  addFeature(t, e) {
5195
- this._hiddenObjectFeatures[t] || (this._hiddenObjectFeatures[t] = /* @__PURE__ */ new Set()), Ln(e), this._hiddenObjectFeatures[t].add(e), e[dt] = !0, ur(e);
5195
+ this._hiddenObjectFeatures[t] || (this._hiddenObjectFeatures[t] = /* @__PURE__ */ new Set()), Tn(e), this._hiddenObjectFeatures[t].add(e), e[dt] = !0, dr(e);
5196
5196
  }
5197
5197
  hasFeature(t, e) {
5198
5198
  return this._hiddenObjectFeatures[t] ? this._hiddenObjectFeatures[t].has(e) : !1;
@@ -5203,7 +5203,7 @@ class Ka {
5203
5203
  }), this._hiddenObjectFeatures = {}, this.changed.destroy();
5204
5204
  }
5205
5205
  }
5206
- class Ye extends Ft {
5206
+ class Ye extends Rt {
5207
5207
  constructor(e) {
5208
5208
  super(e);
5209
5209
  h(this, "extent");
@@ -5252,7 +5252,7 @@ class Ye extends Ft {
5252
5252
  */
5253
5253
  h(this, "datasourceId");
5254
5254
  const s = Ye.getDefaultOptions();
5255
- this.extent = e.extent ? new xe(e.extent) : null, this.activeOnStartup = ce(e.activeOnStartup, s.activeOnStartup), this._allowPicking = ce(e.allowPicking, s.allowPicking), this._state = me.INACTIVE, this._loadingPromise = null, this._initialized = !1, this.mapNames = e.mapNames ?? s.mapNames, this._supportedMaps = [], this._url = e.url, this._zIndex = ae(e.zIndex, 0), this.zIndexChanged = new E(), this._hiddenObjectIds = Array.isArray(e.hiddenObjectIds) ? e.hiddenObjectIds : s.hiddenObjectIds, this._globalHider = void 0, this._exclusiveGroups = Array.isArray(e.exclusiveGroups) ? e.exclusiveGroups.slice() : s.exclusiveGroups, this.exclusiveGroupsChanged = new E(), this.copyright = e.copyright || s.copyright, this._implementations = /* @__PURE__ */ new Map(), this._activeMaps = /* @__PURE__ */ new Set(), this.stateChanged = new E(), this.featureProvider = void 0, this._locale = "en", this.datasourceId = e.datasourceId || s.datasourceId, this._headers = structuredClone(e.headers);
5255
+ this.extent = e.extent ? new xe(e.extent) : null, this.activeOnStartup = ce(e.activeOnStartup, s.activeOnStartup), this._allowPicking = ce(e.allowPicking, s.allowPicking), this._state = me.INACTIVE, this._loadingPromise = null, this._initialized = !1, this.mapNames = e.mapNames ?? s.mapNames, this._supportedMaps = [], this._url = e.url, this._zIndex = ae(e.zIndex, s.zIndex), this.zIndexChanged = new E(), this._hiddenObjectIds = Array.isArray(e.hiddenObjectIds) ? e.hiddenObjectIds : s.hiddenObjectIds, this._globalHider = void 0, this._exclusiveGroups = Array.isArray(e.exclusiveGroups) ? e.exclusiveGroups.slice() : s.exclusiveGroups, this.exclusiveGroupsChanged = new E(), this.copyright = e.copyright || s.copyright, this._implementations = /* @__PURE__ */ new Map(), this._activeMaps = /* @__PURE__ */ new Set(), this.stateChanged = new E(), this.featureProvider = void 0, this._locale = "en", this.datasourceId = e.datasourceId || s.datasourceId, this._headers = structuredClone(e.headers);
5256
5256
  }
5257
5257
  static get className() {
5258
5258
  return "Layer";
@@ -5269,7 +5269,8 @@ class Ye extends Ft {
5269
5269
  hiddenObjectIds: [],
5270
5270
  copyright: void 0,
5271
5271
  datasourceId: void 0,
5272
- headers: void 0
5272
+ headers: void 0,
5273
+ zIndex: 0
5273
5274
  };
5274
5275
  }
5275
5276
  /**
@@ -5517,7 +5518,7 @@ class Ye extends Ft {
5517
5518
  }
5518
5519
  toJSON() {
5519
5520
  const e = super.toJSON(), s = Ye.getDefaultOptions();
5520
- return this.activeOnStartup !== s.activeOnStartup && (e.activeOnStartup = this.activeOnStartup), this.allowPicking !== s.allowPicking && (e.allowPicking = this.allowPicking), this.mapNames.length > 0 && (e.mapNames = this.mapNames.slice()), this.hiddenObjectIds.length > 0 && (e.hiddenObjectIds = this.hiddenObjectIds.slice()), this._url && (e.url = this._url), this.extent && this.extent.isValid() && (e.extent = this.extent.toJSON()), this._exclusiveGroups.length > 0 && (e.exclusiveGroups = this._exclusiveGroups.slice()), this.copyright !== s.copyright && (e.copyright = { ...this.copyright }), this.datasourceId !== s.datasourceId && (e.datasourceId = this.datasourceId), nt(this._headers, s.headers) || (e.headers = structuredClone(this._headers)), e;
5521
+ return this.activeOnStartup !== s.activeOnStartup && (e.activeOnStartup = this.activeOnStartup), this.allowPicking !== s.allowPicking && (e.allowPicking = this.allowPicking), this.mapNames.length > 0 && (e.mapNames = this.mapNames.slice()), this.hiddenObjectIds.length > 0 && (e.hiddenObjectIds = this.hiddenObjectIds.slice()), this._url && (e.url = this._url), this.extent && this.extent.isValid() && (e.extent = this.extent.toJSON()), this._exclusiveGroups.length > 0 && (e.exclusiveGroups = this._exclusiveGroups.slice()), this.copyright !== s.copyright && (e.copyright = { ...this.copyright }), this.datasourceId !== s.datasourceId && (e.datasourceId = this.datasourceId), nt(this._headers, s.headers) || (e.headers = structuredClone(this._headers)), this._zIndex !== s.zIndex && (e.zIndex = this._zIndex), e;
5521
5522
  }
5522
5523
  /**
5523
5524
  * disposes of this layer, removes instances from the current maps and the framework
@@ -5529,9 +5530,9 @@ class Ye extends Ft {
5529
5530
  }
5530
5531
  }
5531
5532
  Ne.registerClass(Ye.className, Ye);
5532
- const oi = Symbol("alreadyTransformedToMercator"), Xe = Symbol("alreadyTransformedToImage"), xt = Symbol("obliqueGeometry"), Qn = Symbol("doNotTransform"), Tn = Symbol("OriginalFeature"), Js = Symbol("ActuallyIsCircle"), it = Symbol("createSync"), Ti = new U(), T_ = new ao({
5533
+ const oi = Symbol("alreadyTransformedToMercator"), Xe = Symbol("alreadyTransformedToImage"), xt = Symbol("obliqueGeometry"), Qn = Symbol("doNotTransform"), Nn = Symbol("OriginalFeature"), Js = Symbol("ActuallyIsCircle"), it = Symbol("createSync"), Ti = new U(), T_ = new ao({
5533
5534
  font: "30px sans-serif",
5534
- fill: new ht({ color: un }),
5535
+ fill: new ht({ color: dn }),
5535
5536
  textAlign: "left",
5536
5537
  offsetY: -15
5537
5538
  });
@@ -5540,7 +5541,7 @@ function Cl(i, t, e) {
5540
5541
  let s;
5541
5542
  (r = e[t]) != null && r.conditions ? s = new pd(e[t], e.defines) : s = new yd(e[t], e.defines), i[t] = s;
5542
5543
  }
5543
- class Be extends Ut {
5544
+ class Be extends qt {
5544
5545
  /**
5545
5546
  * @param options
5546
5547
  */
@@ -5549,7 +5550,7 @@ class Be extends Ut {
5549
5550
  h(this, "_styleOptions");
5550
5551
  h(this, "_circleCache", /* @__PURE__ */ new Map());
5551
5552
  const s = e.declarativeStyle || {};
5552
- s.show = s.show != null ? s.show : !0, this.cesiumStyle = new pn(s), this._style = this._styleFunction.bind(this), s.strokeColor && Cl(this.cesiumStyle, "strokeColor", s), s.strokeWidth && Cl(this.cesiumStyle, "strokeWidth", s), this._styleOptions = s, this._circleCache = /* @__PURE__ */ new Map();
5553
+ s.show = s.show != null ? s.show : !0, this.cesiumStyle = new yn(s), this._style = this._styleFunction.bind(this), s.strokeColor && Cl(this.cesiumStyle, "strokeColor", s), s.strokeWidth && Cl(this.cesiumStyle, "strokeWidth", s), this._styleOptions = s, this._circleCache = /* @__PURE__ */ new Map();
5553
5554
  }
5554
5555
  static get className() {
5555
5556
  return "DeclarativeStyleItem";
@@ -5559,7 +5560,7 @@ class Be extends Ut {
5559
5560
  }
5560
5561
  toJSON() {
5561
5562
  const e = super.toJSON();
5562
- return e.declarativeStyle = Object.fromEntries(Object.entries(this.cesiumStyle.style).filter(([, s]) => s != null).map(([s, r]) => Tr(r, Boolean) ? [s, String(r)] : [s, r])), e;
5563
+ return e.declarativeStyle = Object.fromEntries(Object.entries(this.cesiumStyle.style).filter(([, s]) => s != null).map(([s, r]) => Nr(r, Boolean) ? [s, String(r)] : [s, r])), e;
5563
5564
  }
5564
5565
  clone(e) {
5565
5566
  if (e)
@@ -5568,11 +5569,11 @@ class Be extends Ut {
5568
5569
  return delete s.name, new Be(s);
5569
5570
  }
5570
5571
  assign(e) {
5571
- return super.assign(e), this._styleOptions = e.cesiumStyle.style, this.cesiumStyle = new pn(this._styleOptions), this;
5572
+ return super.assign(e), this._styleOptions = e.cesiumStyle.style, this.cesiumStyle = new yn(this._styleOptions), this;
5572
5573
  }
5573
5574
  _styleFunction(e) {
5574
5575
  var n;
5575
- const s = e[Tn] || e;
5576
+ const s = e[Nn] || e;
5576
5577
  if (!this.cesiumStyle.show.evaluate(s))
5577
5578
  return;
5578
5579
  const r = (n = s.getGeometry()) == null ? void 0 : n.getType();
@@ -5746,7 +5747,7 @@ class Be extends Ut {
5746
5747
  this._circleCache.clear(), super.destroy();
5747
5748
  }
5748
5749
  }
5749
- kr.registerClass(Be.className, Be);
5750
+ zr.registerClass(Be.className, Be);
5750
5751
  const N_ = new Be({
5751
5752
  declarativeStyle: {
5752
5753
  show: !0,
@@ -5865,15 +5866,15 @@ function As(i) {
5865
5866
  return t;
5866
5867
  throw new Error(`Unknown altitude mode ${i}`);
5867
5868
  }
5868
- function Yr(i) {
5869
+ function Zr(i) {
5869
5870
  for (const [t, e] of Object.entries($s))
5870
5871
  if (e === i)
5871
5872
  return t;
5872
5873
  }
5873
- function Zr(i) {
5874
+ function Jr(i) {
5874
5875
  return i ? Ws.pack(i, []) : void 0;
5875
5876
  }
5876
- function Jr(i) {
5877
+ function Kr(i) {
5877
5878
  return i ? v.pack(i, []) : void 0;
5878
5879
  }
5879
5880
  class It {
@@ -5948,7 +5949,7 @@ class It {
5948
5949
  return this._altitudeMode;
5949
5950
  }
5950
5951
  set altitudeMode(t) {
5951
- t !== this._altitudeMode && (S(t, wn(Ie)), this._altitudeMode = t, this.propertyChanged.raiseEvent(["altitudeMode"]));
5952
+ t !== this._altitudeMode && (S(t, Mn(Ie)), this._altitudeMode = t, this.propertyChanged.raiseEvent(["altitudeMode"]));
5952
5953
  }
5953
5954
  getAltitudeMode(t) {
5954
5955
  return gi(t.get("olcs_altitudeMode"), Vs, this._altitudeMode);
@@ -5967,7 +5968,7 @@ class It {
5967
5968
  return this._classificationType;
5968
5969
  }
5969
5970
  set classificationType(t) {
5970
- t !== this._classificationType && (S(t, K(wn(ds))), this._classificationType = t, this.propertyChanged.raiseEvent(["classificationType"]));
5971
+ t !== this._classificationType && (S(t, K(Mn(ds))), this._classificationType = t, this.propertyChanged.raiseEvent(["classificationType"]));
5971
5972
  }
5972
5973
  getClassificationType(t) {
5973
5974
  return gi(t.get("olcs_classificationType"), $s, this.classificationType);
@@ -6312,9 +6313,9 @@ class It {
6312
6313
  return {
6313
6314
  altitudeMode: As(this.altitudeMode),
6314
6315
  allowPicking: this.allowPicking,
6315
- classificationType: Yr(this.classificationType),
6316
- scaleByDistance: Zr(this.scaleByDistance),
6317
- eyeOffset: Jr(this.eyeOffset),
6316
+ classificationType: Zr(this.classificationType),
6317
+ scaleByDistance: Jr(this.scaleByDistance),
6318
+ eyeOffset: Kr(this.eyeOffset),
6318
6319
  heightAboveGround: this.heightAboveGround,
6319
6320
  skirt: this.skirt,
6320
6321
  groundLevel: this.groundLevel,
@@ -6350,10 +6351,10 @@ class It {
6350
6351
  const n = t.map((A) => this.getAllowPicking(A));
6351
6352
  s(n) && (e.allowPicking = n[0]);
6352
6353
  const a = t.map((A) => this.getClassificationType(A));
6353
- s(a) && (e.classificationType = Yr(a[0]));
6354
- const o = t.map((A) => Zr(this.getScaleByDistance(A)));
6354
+ s(a) && (e.classificationType = Zr(a[0]));
6355
+ const o = t.map((A) => Jr(this.getScaleByDistance(A)));
6355
6356
  s(o) && (e.scaleByDistance = o[0]);
6356
- const l = t.map((A) => Jr(this.getEyeOffset(A)));
6357
+ const l = t.map((A) => Kr(this.getEyeOffset(A)));
6357
6358
  s(l) && (e.eyeOffset = l[0]);
6358
6359
  const c = t.map((A) => this.getHeightAboveGround(A));
6359
6360
  s(c) && (e.heightAboveGround = c[0]);
@@ -6418,7 +6419,7 @@ class It {
6418
6419
  // XXX ugly design, this does NOT return a VcsMeta (missing version) but is missued to get config objects too often to change
6419
6420
  getVcsMeta(t) {
6420
6421
  const e = t || It.getDefaultOptions(), s = {};
6421
- return As(this.altitudeMode) !== e.altitudeMode && (s.altitudeMode = As(this.altitudeMode)), this.allowPicking !== e.allowPicking && (s.allowPicking = this.allowPicking), Yr(this.classificationType) !== e.classificationType && (s.classificationType = Yr(this.classificationType)), nt(Zr(this.scaleByDistance), e.scaleByDistance) || (s.scaleByDistance = Zr(this.scaleByDistance)), nt(Jr(this.eyeOffset), e.eyeOffset) || (s.eyeOffset = Jr(this.eyeOffset)), this.heightAboveGround !== e.heightAboveGround && (s.heightAboveGround = this.heightAboveGround), this.skirt !== e.skirt && (s.skirt = this.skirt), this.groundLevel !== e.groundLevel && (s.groundLevel = this.groundLevel), this.extrudedHeight !== e.extrudedHeight && (s.extrudedHeight = this.extrudedHeight), this.storeysAboveGround !== e.storeysAboveGround && (s.storeysAboveGround = this.storeysAboveGround), this.storeysBelowGround !== e.storeysBelowGround && (s.storeysBelowGround = this.storeysBelowGround), nt(this.storeyHeightsAboveGround, e.storeyHeightsAboveGround) || (s.storeyHeightsAboveGround = this.storeyHeightsAboveGround), nt(this.storeyHeightsBelowGround, e.storeyHeightsBelowGround) || (s.storeyHeightsBelowGround = this.storeyHeightsBelowGround), this.modelUrl !== e.modelUrl && (s.modelUrl = this.modelUrl), this.modelScaleX !== e.modelScaleX && (s.modelScaleX = this.modelScaleX), this.modelScaleY !== e.modelScaleY && (s.modelScaleY = this.modelScaleY), this.modelScaleZ !== e.modelScaleZ && (s.modelScaleZ = this.modelScaleZ), this.modelHeading !== e.modelHeading && (s.modelHeading = this.modelHeading), this.modelPitch !== e.modelPitch && (s.modelPitch = this.modelPitch), this.modelRoll !== e.modelRoll && (s.modelRoll = this.modelRoll), this.baseUrl !== e.baseUrl && (s.baseUrl = this.baseUrl), s;
6422
+ return As(this.altitudeMode) !== e.altitudeMode && (s.altitudeMode = As(this.altitudeMode)), this.allowPicking !== e.allowPicking && (s.allowPicking = this.allowPicking), Zr(this.classificationType) !== e.classificationType && (s.classificationType = Zr(this.classificationType)), nt(Jr(this.scaleByDistance), e.scaleByDistance) || (s.scaleByDistance = Jr(this.scaleByDistance)), nt(Kr(this.eyeOffset), e.eyeOffset) || (s.eyeOffset = Kr(this.eyeOffset)), this.heightAboveGround !== e.heightAboveGround && (s.heightAboveGround = this.heightAboveGround), this.skirt !== e.skirt && (s.skirt = this.skirt), this.groundLevel !== e.groundLevel && (s.groundLevel = this.groundLevel), this.extrudedHeight !== e.extrudedHeight && (s.extrudedHeight = this.extrudedHeight), this.storeysAboveGround !== e.storeysAboveGround && (s.storeysAboveGround = this.storeysAboveGround), this.storeysBelowGround !== e.storeysBelowGround && (s.storeysBelowGround = this.storeysBelowGround), nt(this.storeyHeightsAboveGround, e.storeyHeightsAboveGround) || (s.storeyHeightsAboveGround = this.storeyHeightsAboveGround), nt(this.storeyHeightsBelowGround, e.storeyHeightsBelowGround) || (s.storeyHeightsBelowGround = this.storeyHeightsBelowGround), this.modelUrl !== e.modelUrl && (s.modelUrl = this.modelUrl), this.modelScaleX !== e.modelScaleX && (s.modelScaleX = this.modelScaleX), this.modelScaleY !== e.modelScaleY && (s.modelScaleY = this.modelScaleY), this.modelScaleZ !== e.modelScaleZ && (s.modelScaleZ = this.modelScaleZ), this.modelHeading !== e.modelHeading && (s.modelHeading = this.modelHeading), this.modelPitch !== e.modelPitch && (s.modelPitch = this.modelPitch), this.modelRoll !== e.modelRoll && (s.modelRoll = this.modelRoll), this.baseUrl !== e.baseUrl && (s.baseUrl = this.baseUrl), s;
6422
6423
  }
6423
6424
  /**
6424
6425
  * destroys the vectorProperties and removes all listeners
@@ -6442,12 +6443,12 @@ function Pc(i, t) {
6442
6443
  function A_(i, t = { version: ri }) {
6443
6444
  return i instanceof oe ? t.style = Pc(i.toJSON(), t.embeddedIcons) : i instanceof Be && (t.style = i.toJSON()), t;
6444
6445
  }
6445
- function Nn(i, t) {
6446
- if (Tr(i, Ve(Ut, { type: String }))) {
6447
- if (i instanceof Ut)
6446
+ function Dn(i, t) {
6447
+ if (Nr(i, Ve(qt, { type: String }))) {
6448
+ if (i instanceof qt)
6448
6449
  return i;
6449
6450
  {
6450
- const e = kr.createFromTypeOptions(i);
6451
+ const e = zr.createFromTypeOptions(i);
6451
6452
  if (e)
6452
6453
  return e instanceof oe && t instanceof oe ? t.assign(e) : e;
6453
6454
  }
@@ -6530,13 +6531,13 @@ class li extends Ye {
6530
6531
  }
6531
6532
  // eslint-disable-next-line class-methods-use-this
6532
6533
  getStyleOrDefaultStyle(e, s) {
6533
- return Nn(e, s);
6534
+ return Dn(e, s);
6534
6535
  }
6535
6536
  /**
6536
6537
  * Sets the style based on a styleName on a layer
6537
6538
  */
6538
6539
  setStyle(e, s) {
6539
- S(e, Ve(Q, Ut, Function)), e instanceof Ut ? this._style = e : (this._style = new oe({}), this._style.style = e), this.getImplementations().forEach((r) => {
6540
+ S(e, Ve(Q, qt, Function)), e instanceof qt ? this._style = e : (this._style = new oe({}), this._style.style = e), this.getImplementations().forEach((r) => {
6540
6541
  r.updateStyle(this._style, s);
6541
6542
  }), this.styleChanged.raiseEvent(this._style);
6542
6543
  }
@@ -6886,7 +6887,7 @@ var Qa;
6886
6887
  i[i.INACTIVE = 1] = "INACTIVE", i[i.ACTIVE = 2] = "ACTIVE", i[i.LOADING = 4] = "LOADING";
6887
6888
  })(Qa || (Qa = {}));
6888
6889
  const bt = Qa, X = Symbol("vcsLayerName");
6889
- class Pi extends Ft {
6890
+ class Pi extends Rt {
6890
6891
  /**
6891
6892
  * @param options
6892
6893
  */
@@ -7189,7 +7190,7 @@ function xl(i, t, e) {
7189
7190
  }
7190
7191
  }
7191
7192
  }
7192
- class fr extends Pi {
7193
+ class gr extends Pi {
7193
7194
  constructor() {
7194
7195
  super(...arguments);
7195
7196
  h(this, "_olMap", null);
@@ -7300,8 +7301,8 @@ class fr extends Pi {
7300
7301
  this._olMap && this._olMap.setTarget(), ne(this._olListeners), super.destroy();
7301
7302
  }
7302
7303
  }
7303
- bs.registerClass(fr.className, fr);
7304
- class Oe extends fr {
7304
+ bs.registerClass(gr.className, gr);
7305
+ class Oe extends gr {
7305
7306
  /**
7306
7307
  * @param options
7307
7308
  */
@@ -7390,7 +7391,7 @@ class Oe extends fr {
7390
7391
  }
7391
7392
  }
7392
7393
  bs.registerClass(Oe.className, Oe);
7393
- class Zi extends Ft {
7394
+ class Zi extends Rt {
7394
7395
  constructor(e, s) {
7395
7396
  super(s);
7396
7397
  h(this, "_map");
@@ -7591,23 +7592,23 @@ function z_(i, t, e) {
7591
7592
  }, r = t.getColor();
7592
7593
  if (r instanceof CanvasPattern) {
7593
7594
  const n = document.createElement("canvas"), a = n.getContext("2d");
7594
- a.fillStyle = r, a.fillRect(0, 0, 300, 300), s.material = Dt.fromType("Wallpaper", {
7595
+ a.fillStyle = r, a.fillRect(0, 0, 300, 300), s.material = At.fromType("Wallpaper", {
7595
7596
  image: n,
7596
7597
  anchor: _d.wgs84ToDrawingBufferCoordinates(i, v.fromDegreesArray(lo(e.getGeometry().getExtent()))[0])
7597
7598
  });
7598
7599
  } else {
7599
7600
  const n = ii(r, [0, 0, 0, 1]);
7600
- s.material = Dt.fromType("Color", {
7601
+ s.material = At.fromType("Color", {
7601
7602
  color: n
7602
7603
  }), s.translucent = n.alpha !== 1;
7603
7604
  }
7604
- return new _n(s);
7605
+ return new vn(s);
7605
7606
  }
7606
7607
  function H_(i, t, e, s) {
7607
7608
  const r = t.map((o) => new ct({
7608
7609
  geometry: o,
7609
7610
  attributes: {
7610
- color: sr.fromColor(e)
7611
+ color: rr.fromColor(e)
7611
7612
  }
7612
7613
  })), n = new ys({
7613
7614
  flat: !1,
@@ -7622,14 +7623,14 @@ function H_(i, t, e, s) {
7622
7623
  ...i,
7623
7624
  geometryInstances: r,
7624
7625
  appearance: n,
7625
- shadows: Lr.ENABLED,
7626
+ shadows: Tr.ENABLED,
7626
7627
  classificationType: s
7627
7628
  };
7628
7629
  return new Nh(a);
7629
7630
  }
7630
7631
  function j_(i, t, e, s, r, n, a) {
7631
7632
  const o = t.getClassificationType(s), l = {
7632
- shadows: Lr.ENABLED,
7633
+ shadows: Tr.ENABLED,
7633
7634
  allowPicking: e,
7634
7635
  asynchronous: !s[it]
7635
7636
  };
@@ -7658,7 +7659,7 @@ function V_(i, t, e, s, r, n) {
7658
7659
  const a = ii(n.getStroke().getColor(), [0, 0, 0, 1]), o = r.map((u) => new ct({
7659
7660
  geometry: u,
7660
7661
  attributes: {
7661
- color: sr.fromColor(a)
7662
+ color: rr.fromColor(a)
7662
7663
  }
7663
7664
  })), l = new ys({
7664
7665
  flat: !0,
@@ -7672,7 +7673,7 @@ function V_(i, t, e, s, r, n) {
7672
7673
  }), c = {
7673
7674
  geometryInstances: o,
7674
7675
  appearance: l,
7675
- shadows: Lr.ENABLED,
7676
+ shadows: Tr.ENABLED,
7676
7677
  allowPicking: e,
7677
7678
  asynchronous: !s[it]
7678
7679
  };
@@ -7683,13 +7684,13 @@ function Lc(i, t, e, s, r, n, a) {
7683
7684
  geometry: m
7684
7685
  })), c = ii(n.getStroke().getColor(), [0, 0, 0, 1]);
7685
7686
  let d;
7686
- n.getStroke().getLineDash() ? d = Dt.fromType("Stripe", {
7687
+ n.getStroke().getLineDash() ? d = At.fromType("Stripe", {
7687
7688
  horizontal: !1,
7688
7689
  repeat: 500,
7689
7690
  evenColor: c,
7690
7691
  oddColor: new U(0, 0, 0, 0)
7691
7692
  // transparent
7692
- }) : d = Dt.fromType("Color", { color: c });
7693
+ }) : d = At.fromType("Color", { color: c });
7693
7694
  const u = new za({
7694
7695
  renderState: {
7695
7696
  depthTest: {
@@ -7702,7 +7703,7 @@ function Lc(i, t, e, s, r, n, a) {
7702
7703
  }), f = {
7703
7704
  geometryInstances: l,
7704
7705
  appearance: u,
7705
- shadows: Lr.ENABLED,
7706
+ shadows: Tr.ENABLED,
7706
7707
  allowPicking: e,
7707
7708
  asynchronous: !s[it]
7708
7709
  };
@@ -7836,14 +7837,14 @@ function Es(i, t) {
7836
7837
  return Po(i);
7837
7838
  const e = t;
7838
7839
  let s = null;
7839
- return i instanceof Nt ? s = [e] : i instanceof Vt ? s = e : i instanceof qt ? s = e.reduce((r, n) => r.concat(n)) : i instanceof wh ? s = e : i instanceof Mh ? s = e.reduce((r, n) => r.concat(n)) : i instanceof qn ? s = e.reduce((r, n) => r.concat(n)).reduce((r, n) => r.concat(n)) : i instanceof Ot ? s = e : i instanceof Pr && (s = i.getGeometries().map((r, n) => Es(r, e == null ? void 0 : e[n])).reduce((r, n) => r.concat(n))), s;
7840
+ return i instanceof Nt ? s = [e] : i instanceof $t ? s = e : i instanceof Dt ? s = e.reduce((r, n) => r.concat(n)) : i instanceof wh ? s = e : i instanceof Mh ? s = e.reduce((r, n) => r.concat(n)) : i instanceof er ? s = e.reduce((r, n) => r.concat(n)).reduce((r, n) => r.concat(n)) : i instanceof Ot ? s = e : i instanceof Ir && (s = i.getGeometries().map((r, n) => Es(r, e == null ? void 0 : e[n])).reduce((r, n) => r.concat(n))), s;
7840
7841
  }
7841
7842
  function Nc(i, t) {
7842
- const e = nn(G.mercatorToWgs84(i), t, Math.PI / 2), s = G.wgs84ToMercator(e), r = i[0] - s[0], n = i[1] - s[1], a = r * r, o = n * n, l = Math.sqrt(a + o);
7843
+ const e = an(G.mercatorToWgs84(i), t, Math.PI / 2), s = G.wgs84ToMercator(e), r = i[0] - s[0], n = i[1] - s[1], a = r * r, o = n * n, l = Math.sqrt(a + o);
7843
7844
  return new Ot(i, l, "XYZ");
7844
7845
  }
7845
7846
  function Dc(i) {
7846
- return i instanceof Ot ? Ch(i) : (i instanceof qt && i.unset("_vcsGeomType"), i);
7847
+ return i instanceof Ot ? Ch(i) : (i instanceof Dt && i.unset("_vcsGeomType"), i);
7847
7848
  }
7848
7849
  function eo(i) {
7849
7850
  const [t, e] = i[i.length - 1];
@@ -7854,12 +7855,12 @@ function Pl(i) {
7854
7855
  i[0][0] === t && i[0][1] === e && i.pop();
7855
7856
  }
7856
7857
  function Ac(i) {
7857
- if (i instanceof qt) {
7858
+ if (i instanceof Dt) {
7858
7859
  const t = i.getCoordinates();
7859
7860
  t.forEach((e) => {
7860
7861
  Pl(e);
7861
7862
  }), i.setCoordinates(t);
7862
- } else if (i instanceof qn) {
7863
+ } else if (i instanceof er) {
7863
7864
  const t = i.getCoordinates();
7864
7865
  t.forEach((e) => {
7865
7866
  e.forEach((s) => {
@@ -8247,7 +8248,7 @@ function va(i, t, e) {
8247
8248
  return Di(i, Mt.CYLINDER) ? s = e ? new xd(i.geometryOptions) : new Dh(i.geometryOptions) : Di(i, Mt.ELLIPSOID) && (Array.isArray((r = i.geometryOptions) == null ? void 0 : r.radii) && (i.geometryOptions.radii = v.fromArray(i.geometryOptions.radii)), Array.isArray((n = i.geometryOptions) == null ? void 0 : n.innerRadii) && (i.geometryOptions.innerRadii = v.fromArray(i.geometryOptions.innerRadii)), s = e ? new Od(i.geometryOptions) : new Ah(i.geometryOptions)), Di(i, Mt.SPHERE) && (s = e ? new bd(i.geometryOptions) : new Ed(i.geometryOptions)), Di(i, Mt.BOX) && (Array.isArray(i.geometryOptions.minimum) && (i.geometryOptions.minimum = v.fromArray(i.geometryOptions.minimum)), Array.isArray(i.geometryOptions.maximum) && (i.geometryOptions.maximum = v.fromArray(i.geometryOptions.maximum)), s = e ? new Pd(i.geometryOptions) : new Fh(i.geometryOptions)), s ? new ct({
8248
8249
  geometry: s,
8249
8250
  attributes: {
8250
- color: sr.fromColor(t)
8251
+ color: rr.fromColor(t)
8251
8252
  }
8252
8253
  }) : null;
8253
8254
  }
@@ -8257,7 +8258,7 @@ async function to(i, t, e, s, r, n) {
8257
8258
  return null;
8258
8259
  const o = t.getImage();
8259
8260
  let l, c;
8260
- if (o instanceof Ir ? (l = o.getFill(), c = o.getStroke()) : o && (l = t.getFill(), c = t.getStroke()), !l && !c)
8261
+ if (o instanceof Lr ? (l = o.getFill(), c = o.getStroke()) : o && (l = t.getFill(), c = t.getStroke()), !l && !c)
8261
8262
  return null;
8262
8263
  let d;
8263
8264
  l && (d = ii(l.getColor(), [255, 255, 255, 0.4]));
@@ -8274,9 +8275,9 @@ async function to(i, t, e, s, r, n) {
8274
8275
  let D;
8275
8276
  if (a.primitiveOptions.depthFailColor) {
8276
8277
  const ue = ii(a.primitiveOptions.depthFailColor, [255, 255, 255, 0.4]);
8277
- D = new _n({
8278
+ D = new vn({
8278
8279
  translucent: ue.alpha < 1,
8279
- material: Dt.fromType("Color", {
8280
+ material: At.fromType("Color", {
8280
8281
  color: ue
8281
8282
  })
8282
8283
  });
@@ -8333,7 +8334,7 @@ async function $c(i, t, e, s, r, n, a) {
8333
8334
  return;
8334
8335
  const c = t.getOlcsStyle(), d = s.getAllowPicking(i);
8335
8336
  await Promise.all(o.map(async (f) => {
8336
- const g = new $t({
8337
+ const g = new Bt({
8337
8338
  ...i.getProperties(),
8338
8339
  olcs_primitiveOptions: t.primitiveOptions,
8339
8340
  olcs_modelHeading: f.heading,
@@ -8427,9 +8428,9 @@ function f0(i, t, e, s) {
8427
8428
  if (r) {
8428
8429
  const n = new U(1, 1, 1, r.getOpacity());
8429
8430
  let a = null;
8430
- r instanceof Si && (r.load(), r.getImageState() === Ur.LOADING && (a = new Promise((l, c) => {
8431
+ r instanceof Si && (r.load(), r.getImageState() === qr.LOADING && (a = new Promise((l, c) => {
8431
8432
  const d = () => {
8432
- r.getImageState() === Ur.LOADED || r.getImageState() === Ur.EMPTY ? (l(r.getImage(1)), r.unlistenImageChange(d)) : r.getImageState() === Ur.ERROR && (c(), r.unlistenImageChange(d));
8433
+ r.getImageState() === qr.LOADED || r.getImageState() === qr.EMPTY ? (l(r.getImage(1)), r.unlistenImageChange(d)) : r.getImageState() === qr.ERROR && (c(), r.unlistenImageChange(d));
8433
8434
  };
8434
8435
  r.listenImageChange(d);
8435
8436
  }))), a || (a = r.getImage(1));
@@ -8587,7 +8588,7 @@ function S0(i, t, e, s, r, n) {
8587
8588
  const u = new Array(r), f = n / s;
8588
8589
  c += f, d -= f * 2;
8589
8590
  for (let g = 0; g <= r; ++g) {
8590
- const m = c + cn(g, r + 1) * d / r;
8591
+ const m = c + un(g, r + 1) * d / r;
8591
8592
  u[g] = [
8592
8593
  e[0] + s * Math.cos(m),
8593
8594
  e[1] + s * Math.sin(m),
@@ -8630,7 +8631,7 @@ function io(i, t, e, s) {
8630
8631
  };
8631
8632
  if (n.push(t.on("change:geometry", () => {
8632
8633
  io(i, t, e, s);
8633
- })), r instanceof Vt) {
8634
+ })), r instanceof $t) {
8634
8635
  n.push(r.on("change", () => {
8635
8636
  io(i, t, e, s);
8636
8637
  }));
@@ -8647,7 +8648,7 @@ function io(i, t, e, s) {
8647
8648
  }
8648
8649
  const { center: m, radius: p } = g, y = S0(o, l, m, p, e, u), _ = w0(o, l, d, e, i, u);
8649
8650
  t[Qt] = {
8650
- geometry: new Vt(y),
8651
+ geometry: new $t(y),
8651
8652
  coordinates: _,
8652
8653
  destroy: a
8653
8654
  };
@@ -8718,7 +8719,7 @@ function M0(i, t, e, s, r) {
8718
8719
  return { positions: i.map((a) => {
8719
8720
  const o = G.mercatorToWgs84(a);
8720
8721
  return !s && r ? o[2] = r : o[2] != null && (o[2] += e), v.fromDegrees(o[0], o[1], o[2]);
8721
- }), arcType: vn.NONE };
8722
+ }), arcType: Sn.NONE };
8722
8723
  }
8723
8724
  function C0(i, t) {
8724
8725
  return i;
@@ -8742,18 +8743,18 @@ async function O0(i, t, e, s, r, n) {
8742
8743
  }
8743
8744
  async function Jc(i, t, e, s, r, n) {
8744
8745
  var a;
8745
- t instanceof Nt ? await Dl(i, e, [t], s, r, n) : t instanceof qt ? Il(i, e, [t], s, r, n) : t instanceof Vt ? e instanceof To && ((a = i[Qt]) != null && a.coordinates) ? await O0(i, e, [t], s, r, n) : await Nl(i, e, [t], s, r, n) : t instanceof Ot ? o0(i, e, [t], s, r, n) : t instanceof wh ? await Dl(i, e, t.getPoints(), s, r, n) : t instanceof qn ? Il(i, e, t.getPolygons(), s, r, n) : t instanceof Mh ? await Nl(i, e, t.getLineStrings(), s, r, n) : t instanceof Pr && await Promise.all(t.getGeometries().map(async (o) => {
8746
+ t instanceof Nt ? await Dl(i, e, [t], s, r, n) : t instanceof Dt ? Il(i, e, [t], s, r, n) : t instanceof $t ? e instanceof To && ((a = i[Qt]) != null && a.coordinates) ? await O0(i, e, [t], s, r, n) : await Nl(i, e, [t], s, r, n) : t instanceof Ot ? o0(i, e, [t], s, r, n) : t instanceof wh ? await Dl(i, e, t.getPoints(), s, r, n) : t instanceof er ? Il(i, e, t.getPolygons(), s, r, n) : t instanceof Mh ? await Nl(i, e, t.getLineStrings(), s, r, n) : t instanceof Ir && await Promise.all(t.getGeometries().map(async (o) => {
8746
8747
  await Jc(i, o, e, s, r, n);
8747
8748
  }));
8748
8749
  }
8749
- function Dn(i, t, e = 1) {
8750
+ function An(i, t, e = 1) {
8750
8751
  const s = [];
8751
- return typeof i == "function" ? s.push(...Dn(i(t, e), t, e)) : Array.isArray(i) ? i.forEach((r) => {
8752
- s.push(...Dn(r, t, e));
8752
+ return typeof i == "function" ? s.push(...An(i(t, e), t, e)) : Array.isArray(i) ? i.forEach((r) => {
8753
+ s.push(...An(r, t, e));
8753
8754
  }) : i instanceof Q && s.push(i), s;
8754
8755
  }
8755
8756
  async function b0(i, t, e, s, r) {
8756
- const n = Dn(i.getStyle() || t, i, 0);
8757
+ const n = An(i.getStyle() || t, i, 0);
8757
8758
  await Promise.all(n.map(async (a) => {
8758
8759
  const o = a.getGeometryFunction()(i);
8759
8760
  o && await Jc(i, o, a, e, r, s);
@@ -9049,7 +9050,7 @@ function hi(i, t) {
9049
9050
  }) : i;
9050
9051
  }
9051
9052
  const Qi = {};
9052
- async function gr(i, t, e) {
9053
+ async function mr(i, t, e) {
9053
9054
  if (!Qi[i])
9054
9055
  return Qi[i] = await qo.fromUrl(hi(i, e), t), Qi[i];
9055
9056
  let s = Qi[i];
@@ -9222,7 +9223,7 @@ function Qc(i) {
9222
9223
  return console.log("The configured terrain on the oblique layer could not be queried, position might be inaccurate"), { coords: l, estimate: !0 };
9223
9224
  }).catch(() => ({ coords: e, estimate: !0 }));
9224
9225
  }
9225
- async function mr(i, t, e = {}) {
9226
+ async function pr(i, t, e = {}) {
9226
9227
  const s = Ri(i.transformImage2RealWorld(t, i.averageHeight), i.meta.projection.proj, re.proj), r = e.terrainErrorThreshold || 1, n = e.terrainErrorCountThreshold || 3;
9227
9228
  let a = { coords: s, estimate: !0 };
9228
9229
  return !e.dontUseTerrain && i.meta.terrainProvider && (a = await Qc({
@@ -9277,7 +9278,7 @@ async function G0(i, t, e) {
9277
9278
  }), t.setCoordinates(r), t;
9278
9279
  }
9279
9280
  function k0(i, t, e) {
9280
- const s = i.getCoordinates(), n = Es(i, s).map((a) => mr(e, a).then((o) => {
9281
+ const s = i.getCoordinates(), n = Es(i, s).map((a) => pr(e, a).then((o) => {
9281
9282
  a[0] = o.coords[0], a[1] = o.coords[1], a[2] = o.coords[2];
9282
9283
  }));
9283
9284
  return Promise.all(n).then(() => (t.setCoordinates(s), t));
@@ -9321,7 +9322,7 @@ class z0 extends Zi {
9321
9322
  class tu extends z0 {
9322
9323
  constructor(e, s) {
9323
9324
  super(e, s);
9324
- h(this, "obliqueSource", new er({}));
9325
+ h(this, "obliqueSource", new tr({}));
9325
9326
  h(this, "_featureListeners", {});
9326
9327
  h(this, "_sourceListener", []);
9327
9328
  /**
@@ -9397,7 +9398,7 @@ class tu extends z0 {
9397
9398
  if (this.obliqueSource.getFeatureById(s) || this._updatingOblique[s])
9398
9399
  return Promise.resolve();
9399
9400
  const n = new se({});
9400
- n.setId(s), n[Tn] = e, Hl(e, n), n.setStyle(e.getStyle()), this._setFeatureListeners(e, n), await this._convertToOblique(e, n), this.source.hasFeature(e) && this.obliqueSource.addFeature(n);
9401
+ n.setId(s), n[Nn] = e, Hl(e, n), n.setStyle(e.getStyle()), this._setFeatureListeners(e, n), await this._convertToOblique(e, n), this.source.hasFeature(e) && this.obliqueSource.addFeature(n);
9401
9402
  }
9402
9403
  return Promise.resolve();
9403
9404
  }
@@ -9458,7 +9459,7 @@ class tu extends z0 {
9458
9459
  Object.values(this._featureListeners).forEach((e) => {
9459
9460
  ne(Object.values(e));
9460
9461
  }), this._featureListeners = {}, this._updatingOblique = {}, this._updatingMercator = {}, this.obliqueSource.getFeatures().forEach((e) => {
9461
- const s = e[Tn];
9462
+ const s = e[Nn];
9462
9463
  if (s) {
9463
9464
  delete s[xt];
9464
9465
  const r = s.getGeometry();
@@ -9612,7 +9613,7 @@ class Do {
9612
9613
  }
9613
9614
  }
9614
9615
  sw = No;
9615
- class dn {
9616
+ class fn {
9616
9617
  constructor(t) {
9617
9618
  /**
9618
9619
  * The name of the camera associated with these meta data
@@ -9710,17 +9711,17 @@ function j0(i, t, e, s, r) {
9710
9711
  headers: r
9711
9712
  };
9712
9713
  return i.generalImageInfo.cameraParameter && (Array.isArray(i.generalImageInfo.cameraParameter) ? i.generalImageInfo.cameraParameter.forEach((u) => {
9713
- c.push(new dn({
9714
+ c.push(new fn({
9714
9715
  ...d,
9715
9716
  ...u
9716
9717
  }));
9717
9718
  }) : typeof i.generalImageInfo.cameraParameter == "object" && Object.entries(i.generalImageInfo.cameraParameter).forEach(([u, f]) => {
9718
- c.push(new dn({
9719
+ c.push(new fn({
9719
9720
  name: u,
9720
9721
  ...d,
9721
9722
  ...f
9722
9723
  }));
9723
- })), c.length === 0 && c.push(new dn({
9724
+ })), c.length === 0 && c.push(new fn({
9724
9725
  name: "default",
9725
9726
  ...d
9726
9727
  })), c;
@@ -9806,7 +9807,7 @@ async function Ao(i, t) {
9806
9807
  const s = await (await sa(i, t)).blob();
9807
9808
  return URL.createObjectURL(s);
9808
9809
  }
9809
- function At(i, t) {
9810
+ function Ft(i, t) {
9810
9811
  const e = {};
9811
9812
  return t && (e.headers = t), Wt.contains(i) && (e.credentials = "include"), e;
9812
9813
  }
@@ -9814,7 +9815,7 @@ var fe;
9814
9815
  (function(i) {
9815
9816
  i[i.PENDING = 1] = "PENDING", i[i.LOADING = 2] = "LOADING", i[i.READY = 3] = "READY";
9816
9817
  })(fe = fe || (fe = {}));
9817
- function fn(i) {
9818
+ function gn(i) {
9818
9819
  return i.some((t) => t === fe.PENDING) ? fe.PENDING : i.some((t) => t === fe.LOADING) ? fe.LOADING : fe.READY;
9819
9820
  }
9820
9821
  class $l {
@@ -9861,7 +9862,7 @@ class $l {
9861
9862
  async load() {
9862
9863
  if (!this._loadingPromise) {
9863
9864
  this._state = fe.LOADING;
9864
- const t = At(this.url, this._headers);
9865
+ const t = Ft(this.url, this._headers);
9865
9866
  this._loadingPromise = Ii(this.url, t).then((e) => this._initialize(e)).catch((e) => Promise.reject(e));
9866
9867
  }
9867
9868
  return this._loadingPromise;
@@ -9891,7 +9892,7 @@ class $l {
9891
9892
  requestVertexNormals: this._terrainProviderOptions.requestVertexNormals,
9892
9893
  requestWaterMask: this._terrainProviderOptions.requestWaterMask
9893
9894
  };
9894
- this._terrainProvider = await gr(this._terrainProviderOptions.url, s, this._terrainProviderOptions.headers);
9895
+ this._terrainProvider = await mr(this._terrainProviderOptions.url, s, this._terrainProviderOptions.headers);
9895
9896
  }
9896
9897
  this._parseMetaData(t), this._state = fe.READY;
9897
9898
  }
@@ -9946,7 +9947,7 @@ class $l {
9946
9947
  if (this._state !== fe.READY || this._tiles.size === 0)
9947
9948
  return this._state;
9948
9949
  const s = this._getTileCoordinatesForExtent(t).map((r) => this._tiles.get(r)).filter((r) => r);
9949
- return fn(s);
9950
+ return gn(s);
9950
9951
  }
9951
9952
  _loadTile(t) {
9952
9953
  if (this._loadingPromises.has(t))
@@ -9954,7 +9955,7 @@ class $l {
9954
9955
  if (this._tiles.get(t) !== fe.PENDING)
9955
9956
  return Promise.resolve();
9956
9957
  this._tiles.set(t, fe.LOADING);
9957
- const e = At(this.url, this._headers), s = Ii(`${this.baseUrl}/${t}.json`, e).then((r) => {
9958
+ const e = Ft(this.url, this._headers), s = Ii(`${this.baseUrl}/${t}.json`, e).then((r) => {
9958
9959
  const n = Vl(r, this._imageMetas);
9959
9960
  n.length > 0 && (this._images = this._images.concat(n), this.imagesLoaded.raiseEvent({
9960
9961
  images: n,
@@ -9992,7 +9993,7 @@ class $l {
9992
9993
  }
9993
9994
  function ra(i) {
9994
9995
  return function(e, s) {
9995
- const r = e.getImage(), n = At(s, i);
9996
+ const r = e.getImage(), n = Ft(s, i);
9996
9997
  Ao(s, n).then((a) => {
9997
9998
  r.src = a, r.onload = () => {
9998
9999
  URL.revokeObjectURL(a);
@@ -10207,7 +10208,7 @@ class q0 {
10207
10208
  }
10208
10209
  async _changeImage(t, e) {
10209
10210
  this._loadingImage = t;
10210
- const { coords: s } = await mr(this._currentImage, e);
10211
+ const { coords: s } = await pr(this._currentImage, e);
10211
10212
  this._loadingImage === t && await this.setImage(t, s);
10212
10213
  }
10213
10214
  /**
@@ -10270,7 +10271,7 @@ class q0 {
10270
10271
  */
10271
10272
  async getView() {
10272
10273
  if (this._currentView && this._currentImage) {
10273
- const t = this._currentView.view.getCenter(), { coords: e } = await mr(this._currentImage, t);
10274
+ const t = this._currentView.view.getCenter(), { coords: e } = await pr(this._currentImage, t);
10274
10275
  return {
10275
10276
  center: e,
10276
10277
  direction: this._currentImage.viewDirection,
@@ -10324,13 +10325,13 @@ class so {
10324
10325
  search(t) {
10325
10326
  let e = this.data;
10326
10327
  const s = [];
10327
- if (!Qr(t, e))
10328
+ if (!en(t, e))
10328
10329
  return s;
10329
10330
  const r = this.toBBox, n = [];
10330
10331
  for (; e; ) {
10331
10332
  for (let a = 0; a < e.children.length; a++) {
10332
10333
  const o = e.children[a], l = e.leaf ? r(o) : o;
10333
- Qr(t, l) && (e.leaf ? s.push(o) : Oa(t, l) ? this._all(o, s) : n.push(o));
10334
+ en(t, l) && (e.leaf ? s.push(o) : Oa(t, l) ? this._all(o, s) : n.push(o));
10334
10335
  }
10335
10336
  e = n.pop();
10336
10337
  }
@@ -10338,13 +10339,13 @@ class so {
10338
10339
  }
10339
10340
  collides(t) {
10340
10341
  let e = this.data;
10341
- if (!Qr(t, e))
10342
+ if (!en(t, e))
10342
10343
  return !1;
10343
10344
  const s = [];
10344
10345
  for (; e; ) {
10345
10346
  for (let r = 0; r < e.children.length; r++) {
10346
10347
  const n = e.children[r], a = e.leaf ? this.toBBox(n) : n;
10347
- if (Qr(t, a)) {
10348
+ if (en(t, a)) {
10348
10349
  if (e.leaf || Oa(t, a))
10349
10350
  return !0;
10350
10351
  s.push(n);
@@ -10481,14 +10482,14 @@ class so {
10481
10482
  _allDistMargin(t, e, s, r) {
10482
10483
  t.children.sort(r);
10483
10484
  const n = this.toBBox, a = Us(t, 0, e, n), o = Us(t, s - e, s, n);
10484
- let l = Kr(a) + Kr(o);
10485
+ let l = Qr(a) + Qr(o);
10485
10486
  for (let c = e; c < s - e; c++) {
10486
10487
  const d = t.children[c];
10487
- qs(a, t.leaf ? n(d) : d), l += Kr(a);
10488
+ qs(a, t.leaf ? n(d) : d), l += Qr(a);
10488
10489
  }
10489
10490
  for (let c = s - e - 1; c >= e; c--) {
10490
10491
  const d = t.children[c];
10491
- qs(o, t.leaf ? n(d) : d), l += Kr(o);
10492
+ qs(o, t.leaf ? n(d) : d), l += Qr(o);
10492
10493
  }
10493
10494
  return l;
10494
10495
  }
@@ -10532,7 +10533,7 @@ function J0(i, t) {
10532
10533
  function xa(i) {
10533
10534
  return (i.maxX - i.minX) * (i.maxY - i.minY);
10534
10535
  }
10535
- function Kr(i) {
10536
+ function Qr(i) {
10536
10537
  return i.maxX - i.minX + (i.maxY - i.minY);
10537
10538
  }
10538
10539
  function K0(i, t) {
@@ -10545,7 +10546,7 @@ function Q0(i, t) {
10545
10546
  function Oa(i, t) {
10546
10547
  return i.minX <= t.minX && i.minY <= t.minY && t.maxX <= i.maxX && t.maxY <= i.maxY;
10547
10548
  }
10548
- function Qr(i, t) {
10549
+ function en(i, t) {
10549
10550
  return t.minX <= i.maxX && t.minY <= i.maxY && t.maxX >= i.minX && t.maxY >= i.minY;
10550
10551
  }
10551
10552
  function ss(i) {
@@ -10644,7 +10645,7 @@ function Xl(i) {
10644
10645
  return i.map((t) => {
10645
10646
  const e = Ae(t.meta.projection.proj, B.proj), s = new se({
10646
10647
  // error in TransformFunction type definition, remove undefined after openlayer fixed the type
10647
- geometry: new qt([
10648
+ geometry: new Dt([
10648
10649
  t.groundCoordinates.map((r) => e(r.slice(0, 2), void 0, void 0))
10649
10650
  ]),
10650
10651
  viewDirection: t.viewDirection
@@ -10662,7 +10663,7 @@ function Yl(i) {
10662
10663
  return a.setId(e), a;
10663
10664
  });
10664
10665
  }
10665
- class Vi extends Ft {
10666
+ class Vi extends Rt {
10666
10667
  /**
10667
10668
  * @param options
10668
10669
  */
@@ -10751,11 +10752,11 @@ class Vi extends Ft {
10751
10752
  return [...this._images.values()];
10752
10753
  }
10753
10754
  _createTileFeatureSource() {
10754
- const e = Yl(this.getTiles()), s = new er();
10755
+ const e = Yl(this.getTiles()), s = new tr();
10755
10756
  return s.addFeatures(e), s;
10756
10757
  }
10757
10758
  _createImageFeatureSource() {
10758
- const e = Xl([...this._images.values()]), s = new er();
10759
+ const e = Xl([...this._images.values()]), s = new tr();
10759
10760
  return s.addFeatures(e), s;
10760
10761
  }
10761
10762
  async _loadDataSet(e) {
@@ -10818,7 +10819,7 @@ class Vi extends Ft {
10818
10819
  const e = {};
10819
10820
  return this._dataSets.forEach((s) => {
10820
10821
  Object.entries(s.getTiles()).forEach(([r, n]) => {
10821
- e[r] ? e[r] = fn([n, e[r]]) : e[r] = n;
10822
+ e[r] ? e[r] = gn([n, e[r]]) : e[r] = n;
10822
10823
  });
10823
10824
  }), e;
10824
10825
  }
@@ -10840,7 +10841,7 @@ class Vi extends Ft {
10840
10841
  */
10841
10842
  getDataStateForCoordinate(e) {
10842
10843
  const s = this._dataSets.map((r) => r.getDataStateForCoordinate(e));
10843
- return fn(s);
10844
+ return gn(s);
10844
10845
  }
10845
10846
  /**
10846
10847
  * Returns the state of the data for a given location an all underlying data sources
@@ -10848,7 +10849,7 @@ class Vi extends Ft {
10848
10849
  */
10849
10850
  getDataStateForExtent(e) {
10850
10851
  const s = this._dataSets.map((r) => r.getDataStateForExtent(e));
10851
- return fn(s);
10852
+ return gn(s);
10852
10853
  }
10853
10854
  /**
10854
10855
  * Loads data for a given mercator Coordinate
@@ -10925,7 +10926,7 @@ class Vi extends Ft {
10925
10926
  if (n) {
10926
10927
  const a = Ae(e.meta.projection.proj, B.proj), o = e.groundCoordinates.map((f) => a(f.slice(0, 2), void 0, void 0)), l = Qs(o);
10927
10928
  await this.loadDataForExtent(Ih(l, 200));
10928
- const c = tr(l), u = Wl(n, c[0], c[1], 20).find((f) => {
10929
+ const c = ir(l), u = Wl(n, c[0], c[1], 20).find((f) => {
10929
10930
  if (f.name !== e.name) {
10930
10931
  let g = Math.atan2(f.minY - c[1], f.minX - c[0]);
10931
10932
  g <= 0 && (g += Math.PI * 2);
@@ -10954,7 +10955,7 @@ class Vi extends Ft {
10954
10955
  return this.viewOptions.maxZoom !== s.maxZoom && (e.maxZoom = this.viewOptions.maxZoom), this.viewOptions.minZoom !== s.minZoom && (e.minZoom = this.viewOptions.minZoom), this.viewOptions.scaleFactor !== s.scaleFactor && (e.scaleFactor = this.viewOptions.scaleFactor), this.viewOptions.hideLevels !== s.hideLevels && (e.hideLevels = this.viewOptions.hideLevels), this.datasourceId !== s.datasourceId && (e.datasourceId = this.datasourceId), this.dataSets.length > 0 && (e.dataSets = this.dataSets.map((r) => r.toJSON())), e;
10955
10956
  }
10956
10957
  }
10957
- const nv = new dn({
10958
+ const nv = new fn({
10958
10959
  name: "defaultObliqueMeta",
10959
10960
  size: [512, 512],
10960
10961
  tileSize: [512, 512],
@@ -11000,7 +11001,7 @@ function Kl(i) {
11000
11001
  const t = i.groundPosition ?? i.cameraPosition ?? [0, 0, 0];
11001
11002
  return Ri(t, re.proj, B.proj);
11002
11003
  }
11003
- class Te extends fr {
11004
+ class Te extends gr {
11004
11005
  constructor(e) {
11005
11006
  super(e);
11006
11007
  h(this, "_loadingCollection");
@@ -11152,7 +11153,7 @@ class Te extends fr {
11152
11153
  const s = this.olMap.getView().getCenter();
11153
11154
  if (!s)
11154
11155
  return null;
11155
- const r = { dataProjection: re }, { coords: n } = await mr(e, s, r);
11156
+ const r = { dataProjection: re }, { coords: n } = await pr(e, s, r);
11156
11157
  return this._computeViewpointInternal(n);
11157
11158
  }
11158
11159
  getViewpointSync() {
@@ -11205,7 +11206,7 @@ var ms;
11205
11206
  (function(i) {
11206
11207
  i.HEIGHT = "height", i.DISTANCE = "distance";
11207
11208
  })(ms = ms || (ms = {}));
11208
- class pr {
11209
+ class yr {
11209
11210
  constructor(t) {
11210
11211
  /**
11211
11212
  * The mode to use. When using DISTANCE mode, be sure to have a terrainProvider set.
@@ -11230,7 +11231,7 @@ class pr {
11230
11231
  */
11231
11232
  h(this, "_terrainHeight", null);
11232
11233
  h(this, "_updatingTerrainHeight", !1);
11233
- const e = pr.getDefaultOptions();
11234
+ const e = yr.getDefaultOptions();
11234
11235
  this.mode = Kn(t.mode, ms, e.mode), this._terrainUrl = t.terrainUrl || e.terrainUrl, this.limit = R(t.limit, e.limit), this.level = t.level === null ? null : ae(t.level, e.level), this.terrainRequestHeaders = t.terrainRequestHeaders;
11235
11236
  }
11236
11237
  static get className() {
@@ -11255,11 +11256,11 @@ class pr {
11255
11256
  S(t, K(String)), this._terrainUrl !== t && (this._terrainUrl = t);
11256
11257
  }
11257
11258
  async _limitWithLevel(t) {
11258
- const e = await gr(this.terrainUrl, {}, this.terrainRequestHeaders);
11259
+ const e = await mr(this.terrainUrl, {}, this.terrainRequestHeaders);
11259
11260
  return this.level && D0(e, this.level, t) ? Ad(e, this.level, [t]) : this._limitMostDetailed(t);
11260
11261
  }
11261
11262
  async _limitMostDetailed(t) {
11262
- const e = await gr(this.terrainUrl, {}, this.terrainRequestHeaders);
11263
+ const e = await mr(this.terrainUrl, {}, this.terrainRequestHeaders);
11263
11264
  return Xn(e, [t]);
11264
11265
  }
11265
11266
  async _updateTerrainHeight(t) {
@@ -11286,11 +11287,11 @@ class pr {
11286
11287
  return e;
11287
11288
  }
11288
11289
  toJSON() {
11289
- const t = {}, e = pr.getDefaultOptions();
11290
+ const t = {}, e = yr.getDefaultOptions();
11290
11291
  return this.terrainUrl && (t.terrainUrl = this.terrainUrl), this.limit !== e.limit && (t.limit = this.limit), this.mode !== e.mode && (t.mode = this.mode), this.level !== e.level && (t.level = this.level), nt(this.terrainRequestHeaders, e.terrainRequestHeaders) || (t.terrainRequestHeaders = this.terrainRequestHeaders), t;
11291
11292
  }
11292
11293
  }
11293
- function An(i, t, e) {
11294
+ function Fn(i, t, e) {
11294
11295
  const s = e.indexOfKey(t[X]);
11295
11296
  if (s > -1 && !i.contains(t)) {
11296
11297
  const r = i.length;
@@ -11329,10 +11330,10 @@ async function au(i, t, e) {
11329
11330
  }
11330
11331
  function lv(i, t, e) {
11331
11332
  const { destroyPrimitives: s } = i;
11332
- i.destroyPrimitives = !1, i.remove(t), An(i, t, e), i.destroyPrimitives = s;
11333
+ i.destroyPrimitives = !1, i.remove(t), Fn(i, t, e), i.destroyPrimitives = s;
11333
11334
  }
11334
11335
  function hv(i, t, e) {
11335
- i.remove(t, !1), An(i, t, e);
11336
+ i.remove(t, !1), Fn(i, t, e);
11336
11337
  }
11337
11338
  function cv(i, t, e) {
11338
11339
  au(i, t, e);
@@ -11435,7 +11436,7 @@ class z extends Pi {
11435
11436
  return this._cameraLimiter;
11436
11437
  }
11437
11438
  set cameraLimiter(e) {
11438
- S(e, K(pr)), this._cameraLimiter !== e && (this._cameraLimiter = e, this._cameraLimiter && !this._preUpdateListener && this._cesiumWidget ? this._setupPreUpdateListener() : !this._cameraLimiter && this._preUpdateListener && (this._preUpdateListener(), this._preUpdateListener = null));
11439
+ S(e, K(yr)), this._cameraLimiter !== e && (this._cameraLimiter = e, this._cameraLimiter && !this._preUpdateListener && this._cesiumWidget ? this._setupPreUpdateListener() : !this._cameraLimiter && this._preUpdateListener && (this._preUpdateListener(), this._preUpdateListener = null));
11439
11440
  }
11440
11441
  _setupPreUpdateListener() {
11441
11442
  this._cesiumWidget && (this._preUpdateListener = this._cesiumWidget.scene.preUpdate.addEventListener(() => {
@@ -11534,7 +11535,7 @@ class z extends Pi {
11534
11535
  // @ts-ignore // error in Cesium, recheck on next cesium update
11535
11536
  baseLayer: !1,
11536
11537
  shadows: !1,
11537
- terrainShadows: Lr.ENABLED,
11538
+ terrainShadows: Tr.ENABLED,
11538
11539
  contextOptions: {
11539
11540
  webgl: {
11540
11541
  failIfMajorPerformanceCaveat: !1,
@@ -11561,7 +11562,7 @@ class z extends Pi {
11561
11562
  const n = s[r];
11562
11563
  n.style.display = "none";
11563
11564
  }
11564
- this._cameraLimiterOptions && !this._cameraLimiter && (this._cameraLimiter = new pr(this._cameraLimiterOptions)), this._cameraLimiter && this._setupPreUpdateListener(), this.screenSpaceEventHandler = new zd(this._cesiumWidget.scene.canvas), this._setupInteractions(), this.initialized = !0, this.defaultTerrainProvider = this._cesiumWidget.scene.terrainProvider, this._terrainProvider = this.defaultTerrainProvider, this._listeners.push(this._cesiumWidget.scene.terrainProviderChanged.addEventListener(this._terrainProviderChanged.bind(this))), this._listeners.push(this._cesiumWidget.scene.postRender.addEventListener((r, n) => {
11565
+ this._cameraLimiterOptions && !this._cameraLimiter && (this._cameraLimiter = new yr(this._cameraLimiterOptions)), this._cameraLimiter && this._setupPreUpdateListener(), this.screenSpaceEventHandler = new zd(this._cesiumWidget.scene.canvas), this._setupInteractions(), this.initialized = !0, this.defaultTerrainProvider = this._cesiumWidget.scene.terrainProvider, this._terrainProvider = this.defaultTerrainProvider, this._listeners.push(this._cesiumWidget.scene.terrainProviderChanged.addEventListener(this._terrainProviderChanged.bind(this))), this._listeners.push(this._cesiumWidget.scene.postRender.addEventListener((r, n) => {
11565
11566
  this.postRender.raiseEvent({
11566
11567
  map: this,
11567
11568
  originalEvent: { scene: r, time: n }
@@ -11799,7 +11800,7 @@ class z extends Pi {
11799
11800
  addPrimitiveCollection(e) {
11800
11801
  if (!this._cesiumWidget)
11801
11802
  throw new Error("Cannot add primitive to uninitialized map");
11802
- this.validateVisualization(e) && (this.addVisualization(e), An(this._cesiumWidget.scene.primitives, e, this.layerCollection));
11803
+ this.validateVisualization(e) && (this.addVisualization(e), Fn(this._cesiumWidget.scene.primitives, e, this.layerCollection));
11803
11804
  }
11804
11805
  /**
11805
11806
  * Internal API to unregister the visualization for a layers implementation
@@ -11816,7 +11817,7 @@ class z extends Pi {
11816
11817
  addImageryLayer(e) {
11817
11818
  if (!this._cesiumWidget)
11818
11819
  throw new Error("Cannot add primitive to uninitialized map");
11819
- this.validateVisualization(e) && (this.addVisualization(e), An(this._cesiumWidget.scene.imageryLayers, e, this.layerCollection));
11820
+ this.validateVisualization(e) && (this.addVisualization(e), Fn(this._cesiumWidget.scene.imageryLayers, e, this.layerCollection));
11820
11821
  }
11821
11822
  /**
11822
11823
  * Internal API used to unregister visualizations from layer implementations
@@ -11918,7 +11919,7 @@ class st extends li {
11918
11919
  Te.className,
11919
11920
  Oe.className
11920
11921
  ]);
11921
- h(this, "source", new er({}));
11922
+ h(this, "source", new tr({}));
11922
11923
  h(this, "projection");
11923
11924
  h(this, "maxResolution");
11924
11925
  h(this, "minResolution");
@@ -11943,7 +11944,7 @@ class st extends li {
11943
11944
  ...e.vectorProperties
11944
11945
  });
11945
11946
  let r;
11946
- e.style instanceof Ut ? r = e.style.toJSON() : r = e.style, this._initialStyle = r;
11947
+ e.style instanceof qt ? r = e.style.toJSON() : r = e.style, this._initialStyle = r;
11947
11948
  }
11948
11949
  static get className() {
11949
11950
  return "VectorLayer";
@@ -12348,7 +12349,7 @@ function _i(i, t = {}) {
12348
12349
  return { features: [gv(e, n)] };
12349
12350
  return { features: [] };
12350
12351
  }
12351
- function yr(i, t = {}, e = []) {
12352
+ function _r(i, t = {}, e = []) {
12352
12353
  let s = i.getGeometry();
12353
12354
  if (!s)
12354
12355
  throw new Error("Cannot write geometry less feature to geojson");
@@ -12356,18 +12357,18 @@ function yr(i, t = {}, e = []) {
12356
12357
  if (s instanceof Ot) {
12357
12358
  const l = s.getCoordinates();
12358
12359
  r = Vu(G.mercatorToWgs84(l[0], !0), G.mercatorToWgs84(l[1], !0)), s = new Nt(s.getCenter());
12359
- } else if (s instanceof qt) {
12360
+ } else if (s instanceof Dt) {
12360
12361
  const l = s.getCoordinates();
12361
12362
  l.forEach((c) => {
12362
12363
  eo(c);
12363
- }), s.setCoordinates(l);
12364
- } else if (s instanceof qn) {
12364
+ }), s = new Dt(l, s.getLayout());
12365
+ } else if (s instanceof er) {
12365
12366
  const l = s.getCoordinates();
12366
12367
  l.forEach((c) => {
12367
12368
  c.forEach((d) => {
12368
12369
  eo(d);
12369
12370
  });
12370
- }), s.setCoordinates(l);
12371
+ }), s = new er(l, s.getLayout());
12371
12372
  }
12372
12373
  const n = Ro().writeGeometryObject(s, {
12373
12374
  featureProjection: uv,
@@ -12388,7 +12389,7 @@ function Cw(i, t = {}) {
12388
12389
  e.version = ri;
12389
12390
  const r = {
12390
12391
  type: "FeatureCollection",
12391
- features: i.features.map((n) => yr(n, t, e.embeddedIcons)),
12392
+ features: i.features.map((n) => _r(n, t, e.embeddedIcons)),
12392
12393
  vcsMeta: e
12393
12394
  };
12394
12395
  return t.asObject ? r : JSON.stringify(r, void 0, t.prettyPrint ? 2 : void 0);
@@ -12433,8 +12434,8 @@ class th {
12433
12434
  }
12434
12435
  }
12435
12436
  function yv(i, t) {
12436
- if (t.style && i.setStyle(Nn(t.style, i.defaultStyle)), t.highlightStyle) {
12437
- const e = Nn(t.highlightStyle, i.highlightStyle);
12437
+ if (t.style && i.setStyle(Dn(t.style, i.defaultStyle)), t.highlightStyle) {
12438
+ const e = Dn(t.highlightStyle, i.highlightStyle);
12438
12439
  i.setHighlightStyle(e);
12439
12440
  }
12440
12441
  t.vectorProperties && i.vectorProperties.setValues(t.vectorProperties), t.zIndex != null && (i.zIndex = t.zIndex);
@@ -12443,7 +12444,7 @@ function Ea(i, t, e, s) {
12443
12444
  if (s == null ? t !== e : s !== t)
12444
12445
  throw new Error(`Cannot merge options, values of ${i} do not match`);
12445
12446
  }
12446
- class vi extends Ft {
12447
+ class vi extends Rt {
12447
12448
  constructor(e) {
12448
12449
  super(e);
12449
12450
  h(this, "title");
@@ -12503,7 +12504,7 @@ class vi extends Ft {
12503
12504
  this._layer.removeFeaturesById([s]);
12504
12505
  const r = e[this._featureProperty];
12505
12506
  let n;
12506
- if (r instanceof $t)
12507
+ if (r instanceof Bt)
12507
12508
  n = r;
12508
12509
  else if (typeof r == "object") {
12509
12510
  const { features: a } = _i(r);
@@ -12576,7 +12577,7 @@ class vi extends Ft {
12576
12577
  const s = JSON.parse(JSON.stringify(e));
12577
12578
  if (this._featureProperty && this._layer) {
12578
12579
  const r = this._layer.getFeatureById(e[this._keyProperty]);
12579
- r && (s[this._featureProperty] = yr(r));
12580
+ r && (s[this._featureProperty] = _r(r));
12580
12581
  }
12581
12582
  return s;
12582
12583
  }
@@ -12663,7 +12664,7 @@ class _v extends Ei {
12663
12664
  }
12664
12665
  }
12665
12666
  const vv = Symbol("isProvidedFeature");
12666
- class Ss extends Ft {
12667
+ class Ss extends Rt {
12667
12668
  constructor(e, s) {
12668
12669
  super(s);
12669
12670
  /**
@@ -12687,7 +12688,7 @@ class Ss extends Ft {
12687
12688
  */
12688
12689
  h(this, "mapTypes");
12689
12690
  const r = Ss.getDefaultOptions();
12690
- this.layerName = e, this.style = s.style ? Nn(s.style, ji.clone()) : void 0, this.showGeometry = ce(s.showGeometry, r.showGeometry), this.vectorProperties = s.vectorProperties instanceof It ? s.vectorProperties : new It({
12691
+ this.layerName = e, this.style = s.style ? Dn(s.style, ji.clone()) : void 0, this.showGeometry = ce(s.showGeometry, r.showGeometry), this.vectorProperties = s.vectorProperties instanceof It ? s.vectorProperties : new It({
12691
12692
  ...r.vectorProperties,
12692
12693
  ...s.vectorProperties
12693
12694
  }), this.mapTypes = Array.isArray(s.mapTypes) ? s.mapTypes : r.mapTypes;
@@ -12805,8 +12806,7 @@ class vt extends Ye {
12805
12806
  * @param options
12806
12807
  */
12807
12808
  constructor(e) {
12808
- e.url = e.url || "";
12809
- super(e);
12809
+ super({ url: "", ...e });
12810
12810
  h(this, "extent");
12811
12811
  /**
12812
12812
  * The {@link TilingScheme} of this layer
@@ -12824,7 +12824,7 @@ class vt extends Ye {
12824
12824
  const s = vt.getDefaultOptions();
12825
12825
  this.extent = e.extent ? new xe(e.extent) : new xe(), this.tilingSchema = Kn(e.tilingSchema, Ue, s.tilingSchema), this.maxLevel = ae(e.maxLevel, s.maxLevel), this._minLevel = ae(e.minLevel, s.minLevel);
12826
12826
  const r = lu(e);
12827
- this.minLevel = Sv(this.extent, r, this.maxLevel, this._minLevel), this._opacity = Pn(e.opacity, s.opacity, 0, 1), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT);
12827
+ this.minLevel = Sv(this.extent, r, this.maxLevel, this._minLevel), this._opacity = In(e.opacity, s.opacity, 0, 1), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT);
12828
12828
  }
12829
12829
  static get className() {
12830
12830
  return "RasterLayer";
@@ -12857,7 +12857,7 @@ class vt extends Ye {
12857
12857
  return this._opacity;
12858
12858
  }
12859
12859
  set opacity(e) {
12860
- const s = Pn(e, this._opacity, 0, 1);
12860
+ const s = In(e, this._opacity, 0, 1);
12861
12861
  this._opacity !== s && (this._opacity = s, this.getImplementations().forEach((r) => {
12862
12862
  r.updateOpacity(s);
12863
12863
  }));
@@ -12913,7 +12913,7 @@ function wv(i) {
12913
12913
  projection: hu(i.tilingSchema, i.version)
12914
12914
  };
12915
12915
  return Wt.contains(i.url) ? t.crossOrigin = "use-credentials" : Xt(i.url) || (t.crossOrigin = "anonymous"), i.headers && (t.imageLoadFunction = function(s, r) {
12916
- const n = s.getImage(), a = At(r, i.headers);
12916
+ const n = s.getImage(), a = Ft(r, i.headers);
12917
12917
  Ao(r, a).then((o) => {
12918
12918
  n.src = o, n.onload = () => {
12919
12919
  URL.revokeObjectURL(o);
@@ -13021,7 +13021,7 @@ class $i extends Ss {
13021
13021
  n && (a = Ae(B.proj, n)(e.slice(), void 0, void 0));
13022
13022
  const o = 111194.87428468118, l = this.wmsSource.getFeatureInfoUrl(a, s / o, n, { INFO_FORMAT: this.featureInfoResponseType });
13023
13023
  if (l) {
13024
- const c = At(l, r);
13024
+ const c = Ft(l, r);
13025
13025
  let d;
13026
13026
  try {
13027
13027
  d = await Ii(l, c);
@@ -13138,7 +13138,7 @@ class ko extends le {
13138
13138
  if (r) {
13139
13139
  const n = e.type & (P.MOVE ^ P.DRAGEVENTS), a = e.position.slice(0, 2);
13140
13140
  if (Number.isFinite(a[0]) && Number.isFinite(a[1]))
13141
- return mr(r, a, {
13141
+ return pr(r, a, {
13142
13142
  dontUseTerrain: !!n,
13143
13143
  dataProjection: B
13144
13144
  }).then((o) => (e.obliqueParameters = { pixel: a, estimate: o.estimate }, e.position = o.coords, e));
@@ -13251,7 +13251,7 @@ class Ov extends le {
13251
13251
  }
13252
13252
  _obliqueHandler(e) {
13253
13253
  let s = null, r = null;
13254
- return e.map.olMap.forEachFeatureAtPixel([e.windowPosition.x, e.windowPosition.y], (n, a) => (n && (s = n[Tn] || n), r = a, !0), { hitTolerance: this.hitTolerance }), s && r && (e.feature = s, e.feature.get("features") && (e.feature[X] = r[X]), e.exactPosition = !0), Promise.resolve(e);
13254
+ return e.map.olMap.forEachFeatureAtPixel([e.windowPosition.x, e.windowPosition.y], (n, a) => (n && (s = n[Nn] || n), r = a, !0), { hitTolerance: this.hitTolerance }), s && r && (e.feature = s, e.feature.get("features") && (e.feature[X] = r[X]), e.exactPosition = !0), Promise.resolve(e);
13255
13255
  }
13256
13256
  _cesiumHandler(e) {
13257
13257
  const s = e.map, r = s.getScene();
@@ -13459,7 +13459,7 @@ class Pv {
13459
13459
  this.removeExclusive(), this.exclusiveAdded.destroy(), this.exclusiveRemoved.destroy(), this._interactionChain.destroy(), this._positionInteraction.destroy(), this._featureInteraction.destroy(), this._eventQueue = [], window.removeEventListener("keydown", this._boundKeyListener), window.removeEventListener("keyup", this._boundKeyListener);
13460
13460
  }
13461
13461
  }
13462
- const pi = Symbol("cesiumTilesetLastUpdated"), en = Symbol("updateFeatureOverride");
13462
+ const pi = Symbol("cesiumTilesetLastUpdated"), tn = Symbol("updateFeatureOverride");
13463
13463
  function uu(i) {
13464
13464
  if (!i)
13465
13465
  return ps();
@@ -13508,7 +13508,7 @@ class Fi extends Zi {
13508
13508
  }
13509
13509
  async initialize() {
13510
13510
  if (!this._initializedPromise) {
13511
- this._initializedPromise = Sn.fromUrl(hi(this.url, this.headers), {
13511
+ this._initializedPromise = wn.fromUrl(hi(this.url, this.headers), {
13512
13512
  ...this.tilesetOptions,
13513
13513
  show: !1
13514
13514
  // show is handled by activate
@@ -13517,7 +13517,7 @@ class Fi extends Zi {
13517
13517
  this.cesium3DTileset = await this._initializedPromise;
13518
13518
  } catch (e) {
13519
13519
  if (this.url && !/\.json$/.test(this.url))
13520
- this.url = `${this.url.replace(/\/$/, "")}/tileset.json`, this._initializedPromise = Sn.fromUrl(hi(this.url, this.headers), {
13520
+ this.url = `${this.url.replace(/\/$/, "")}/tileset.json`, this._initializedPromise = wn.fromUrl(hi(this.url, this.headers), {
13521
13521
  ...this.tilesetOptions,
13522
13522
  show: !1
13523
13523
  // show is handled by activate
@@ -13532,7 +13532,7 @@ class Fi extends Zi {
13532
13532
  this.tilesetProperties && this.tilesetProperties.forEach(({ key: e, value: s }) => {
13533
13533
  this.cesium3DTileset[e] = s;
13534
13534
  }), this.cesium3DTileset[X] = this.name, this.cesium3DTileset.tileVisible.addEventListener(this.applyStyle.bind(this)), this.cesium3DTileset.tileUnload.addEventListener((e) => {
13535
- delete e[pi], delete e.content[pi], delete e.content[en];
13535
+ delete e[pi], delete e.content[pi], delete e.content[tn];
13536
13536
  }), this._originalOrigin = v.clone(this.cesium3DTileset.boundingSphere.center), this.modelMatrix ? this.cesium3DTileset.modelMatrix = this.modelMatrix : this.offset && this._calculateOffset(), this.map.addPrimitiveCollection(this.cesium3DTileset), await super.initialize(), this.splitDirection && (this.cesium3DTileset.splitDirection = this.splitDirection), this.updateStyle(this.style);
13537
13537
  }
13538
13538
  await this._initializedPromise;
@@ -13567,7 +13567,7 @@ class Fi extends Zi {
13567
13567
  this.style = e, this.initialized && this.cesium3DTileset && (this.cesium3DTileset.style = this.style.cesiumStyle, this._onStyleChangeRemover && this._onStyleChangeRemover(), this._onStyleChangeRemover = this.style.styleChanged.addEventListener(() => {
13568
13568
  var r;
13569
13569
  (r = this.cesium3DTileset) == null || r.makeStyleDirty(), this._styleLastUpdated = Date.now();
13570
- }), this._styleLastUpdated = Date.now(), this.cesium3DTileset.colorBlendMode !== this.style.colorBlendMode && (this.style.colorBlendMode !== an.HIGHLIGHT ? this.cesium3DTileset.extras && // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access,no-underscore-dangle
13570
+ }), this._styleLastUpdated = Date.now(), this.cesium3DTileset.colorBlendMode !== this.style.colorBlendMode && (this.style.colorBlendMode !== on.HIGHLIGHT ? this.cesium3DTileset.extras && // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access,no-underscore-dangle
13571
13571
  this.cesium3DTileset.extras._3DTILESDIFFUSE && (this.cesium3DTileset.colorBlendMode = this.style.colorBlendMode) : this.cesium3DTileset.colorBlendMode = this.style.colorBlendMode));
13572
13572
  }
13573
13573
  updateSplitDirection(e) {
@@ -13584,7 +13584,7 @@ class Fi extends Zi {
13584
13584
  styleContent(e) {
13585
13585
  var s, r, n, a, o;
13586
13586
  if (!e[pi] || e[pi] < this.featureVisibility.lastUpdated || e[pi] < (((s = this.globalHider) == null ? void 0 : s.lastUpdated) ?? 0) || e[pi] < this._styleLastUpdated) {
13587
- delete e[en];
13587
+ delete e[tn];
13588
13588
  const l = e.featuresLength, c = {
13589
13589
  hideLocal: [],
13590
13590
  hideGlobal: [],
@@ -13599,18 +13599,18 @@ class Fi extends Zi {
13599
13599
  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[si] && Oo(u);
13600
13600
  }
13601
13601
  }
13602
- (c.hideLocal.length > 0 || c.hideGlobal.length > 0 || c.highlight.length > 0) && (e[en] = () => {
13602
+ (c.hideLocal.length > 0 || c.hideGlobal.length > 0 || c.highlight.length > 0) && (e[tn] = () => {
13603
13603
  c.hideGlobal.forEach(([d, u]) => {
13604
13604
  var f;
13605
- (f = this.globalHider) != null && f.hasFeature(d, u) && ur(u);
13605
+ (f = this.globalHider) != null && f.hasFeature(d, u) && dr(u);
13606
13606
  }), c.hideLocal.forEach(([d, u]) => {
13607
- this.featureVisibility.hasHiddenFeature(d, u) && ur(u);
13607
+ this.featureVisibility.hasHiddenFeature(d, u) && dr(u);
13608
13608
  }), c.highlight.forEach(([d, u]) => {
13609
- this.featureVisibility.hasHighlightFeature(d, u) && dr(u);
13609
+ this.featureVisibility.hasHighlightFeature(d, u) && fr(u);
13610
13610
  });
13611
13611
  }), e[pi] = Date.now();
13612
13612
  } else
13613
- (o = e[en]) == null || o.call(e);
13613
+ (o = e[tn]) == null || o.call(e);
13614
13614
  }
13615
13615
  destroy() {
13616
13616
  if (this.cesium3DTileset) {
@@ -13835,7 +13835,7 @@ class Dv extends Zi {
13835
13835
  return "TerrainCesiumImpl";
13836
13836
  }
13837
13837
  async initialize() {
13838
- return this.initialized || (this.terrainProvider = await gr(this.url, {
13838
+ return this.initialized || (this.terrainProvider = await mr(this.url, {
13839
13839
  requestVertexNormals: this.requestVertexNormals,
13840
13840
  requestWaterMask: this.requestWaterMask
13841
13841
  }, this.headers), this.terrainProvider[X] = this.name), super.initialize();
@@ -13880,9 +13880,9 @@ class Av extends Is {
13880
13880
  return new Xi(s, r);
13881
13881
  }
13882
13882
  }
13883
- const Fn = new Array(25);
13884
- for (let i = 0; i < Fn.length; i++)
13885
- Fn[i] = 200375083427892e-7 * 2 / 256 / 2 ** (i + 1);
13883
+ const Rn = new Array(25);
13884
+ for (let i = 0; i < Rn.length; i++)
13885
+ Rn[i] = 200375083427892e-7 * 2 / 256 / 2 ** (i + 1);
13886
13886
  function zo(i) {
13887
13887
  const t = yt.southwest(i), e = yt.northeast(i), s = [
13888
13888
  L.toDegrees(t.longitude),
@@ -13890,10 +13890,10 @@ function zo(i) {
13890
13890
  ], r = [
13891
13891
  L.toDegrees(e.longitude),
13892
13892
  L.toDegrees(e.latitude)
13893
- ], n = En(s), a = En(r);
13893
+ ], n = Pn(s), a = Pn(r);
13894
13894
  return [...n, ...a];
13895
13895
  }
13896
- class St extends Ft {
13896
+ class St extends Rt {
13897
13897
  constructor(e) {
13898
13898
  var n;
13899
13899
  super(e);
@@ -14030,7 +14030,7 @@ class St extends Ft {
14030
14030
  getBaseLevelForResolution(e, s) {
14031
14031
  const r = e / Math.cos(s);
14032
14032
  let n = 0;
14033
- for (let o = 0; o < Fn.length && (n = o, !(r >= Fn[o])); o++)
14033
+ for (let o = 0; o < Rn.length && (n = o, !(r >= Rn[o])); o++)
14034
14034
  ;
14035
14035
  const a = this.getBaseLevel(n);
14036
14036
  return a === void 0 ? this.baseLevels[this.baseLevels.length - 1] : a;
@@ -14277,7 +14277,7 @@ function Rv(i, t, e, s) {
14277
14277
  function Gv(i, t, e, s) {
14278
14278
  const r = document.createElement("canvas");
14279
14279
  r.width = s[0], r.height = s[0];
14280
- const n = En([
14280
+ const n = Pn([
14281
14281
  L.toDegrees(e.longitude),
14282
14282
  L.toDegrees(e.latitude)
14283
14283
  ]), a = Rv(t, n, r.getContext("2d"), s);
@@ -14498,7 +14498,7 @@ class jv extends Is {
14498
14498
  return Promise.resolve(new Xi(a, o));
14499
14499
  }
14500
14500
  }
14501
- function Rn() {
14501
+ function Gn() {
14502
14502
  const i = navigator.userAgent || navigator.vendor || window.opera;
14503
14503
  return /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(i) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(i.substring(0, 4));
14504
14504
  }
@@ -14518,7 +14518,7 @@ class Bi extends li {
14518
14518
  this.highlightStyle = null, e.highlightStyle && (this.highlightStyle = e.highlightStyle instanceof oe ? e.highlightStyle : new oe(e.highlightStyle)), this.screenSpaceError = ae(e.screenSpaceError, s.screenSpaceError), this.screenSpaceErrorMobile = ae(e.screenSpaceErrorMobile, s.screenSpaceErrorMobile);
14519
14519
  const r = e.tilesetOptions || s.tilesetOptions;
14520
14520
  this.tilesetOptions = {
14521
- maximumScreenSpaceError: Rn() ? this.screenSpaceErrorMobile : this.screenSpaceError,
14521
+ maximumScreenSpaceError: Gn() ? this.screenSpaceErrorMobile : this.screenSpaceError,
14522
14522
  ...r
14523
14523
  }, this._modelMatrix = void 0, this._offset = e.offset || s.offset;
14524
14524
  }
@@ -14612,7 +14612,7 @@ class Bi extends li {
14612
14612
  toJSON() {
14613
14613
  const e = super.toJSON(), s = Bi.getDefaultOptions();
14614
14614
  this.highlightStyle && (e.highlightStyle = this.highlightStyle.toJSON()), this.screenSpaceError !== s.screenSpaceError && (e.screenSpaceError = this.screenSpaceError), this.screenSpaceErrorMobile !== s.screenSpaceErrorMobile && (e.screenSpaceErrorMobile = this.screenSpaceErrorMobile);
14615
- const r = { ...this.tilesetOptions }, n = Rn() ? this.screenSpaceErrorMobile : this.screenSpaceError;
14615
+ const r = { ...this.tilesetOptions }, n = Gn() ? this.screenSpaceErrorMobile : this.screenSpaceError;
14616
14616
  return r.maximumScreenSpaceError === n && delete r.maximumScreenSpaceError, Object.keys(r).length > 0 && (e.tilesetOptions = r), Array.isArray(this.offset) && (e.offset = this.offset.slice()), e;
14617
14617
  }
14618
14618
  /**
@@ -14623,7 +14623,7 @@ class Bi extends li {
14623
14623
  }
14624
14624
  }
14625
14625
  Ne.registerClass(Bi.className, Bi);
14626
- class Gn extends Ye {
14626
+ class kn extends Ye {
14627
14627
  constructor() {
14628
14628
  super(...arguments);
14629
14629
  /**
@@ -14713,8 +14713,8 @@ class Gn extends Ye {
14713
14713
  }), this._featureVisibilityListeners = [], this.featureVisibility.destroy(), super.destroy();
14714
14714
  }
14715
14715
  }
14716
- Ne.registerClass(Gn.className, Gn);
14717
- class kn extends Gn {
14716
+ Ne.registerClass(kn.className, kn);
14717
+ class zn extends kn {
14718
14718
  /**
14719
14719
  * @param options
14720
14720
  */
@@ -14736,7 +14736,7 @@ class kn extends Gn {
14736
14736
  }));
14737
14737
  h(this, "_initializedPromise");
14738
14738
  this.entities = this.dataSource.entities;
14739
- const s = kn.getDefaultOptions();
14739
+ const s = zn.getDefaultOptions();
14740
14740
  this.sourceUri = e.sourceUri || s.sourceUri;
14741
14741
  }
14742
14742
  static get className() {
@@ -14744,7 +14744,7 @@ class kn extends Gn {
14744
14744
  }
14745
14745
  static getDefaultOptions() {
14746
14746
  return {
14747
- ...Gn.getDefaultOptions(),
14747
+ ...kn.getDefaultOptions(),
14748
14748
  sourceUri: void 0
14749
14749
  };
14750
14750
  }
@@ -14779,11 +14779,11 @@ class kn extends Gn {
14779
14779
  super.destroy(), this._dataSource && (this._dataSource._entityCluster.destroy(), this._dataSource._entityCluster = null, this._dataSource._entityCollection = null, this._dataSource._changed = null, this._dataSource._error = null, this._dataSource._loading = null), this._dataSource = null;
14780
14780
  }
14781
14781
  }
14782
- Ne.registerClass(kn.className, kn);
14782
+ Ne.registerClass(zn.className, zn);
14783
14783
  function Vv(i, t, e) {
14784
14784
  const s = [];
14785
14785
  return i.forEach((r) => {
14786
- const n = yr(r, {
14786
+ const n = _r(r, {
14787
14787
  writeStyle: !0
14788
14788
  });
14789
14789
  s.push({
@@ -14795,7 +14795,7 @@ function Vv(i, t, e) {
14795
14795
  }
14796
14796
  });
14797
14797
  }), t.forEach((r) => {
14798
- const n = yr(r, {
14798
+ const n = _r(r, {
14799
14799
  writeStyle: !0
14800
14800
  });
14801
14801
  n._id = r.getId(), s.push({
@@ -14816,7 +14816,7 @@ function Vv(i, t, e) {
14816
14816
  });
14817
14817
  }), s;
14818
14818
  }
14819
- class $v extends Ft {
14819
+ class $v extends Rt {
14820
14820
  constructor(e) {
14821
14821
  super({});
14822
14822
  h(this, "_layer");
@@ -14966,10 +14966,10 @@ class $v extends Ft {
14966
14966
  this.unTrack(), this._layer = void 0, this.changed.destroy(), super.destroy();
14967
14967
  }
14968
14968
  }
14969
- const _r = Symbol("isTiledFeature");
14970
- class vr extends st {
14969
+ const vr = Symbol("isTiledFeature");
14970
+ class Sr extends st {
14971
14971
  constructor(e) {
14972
- const s = vr.getDefaultOptions();
14972
+ const s = Sr.getDefaultOptions();
14973
14973
  super({
14974
14974
  projection: s.projection,
14975
14975
  ...e
@@ -15001,7 +15001,7 @@ class vr extends st {
15001
15001
  h(this, "_setEditing", null);
15002
15002
  h(this, "_twoDimLoaded", null);
15003
15003
  h(this, "_twoDimStyleChanged", null);
15004
- h(this, "_twoDimStaticSource", new er());
15004
+ h(this, "_twoDimStaticSource", new tr());
15005
15005
  this._supportedMaps = [
15006
15006
  z.className,
15007
15007
  Oe.className,
@@ -15068,7 +15068,7 @@ class vr extends st {
15068
15068
  dynamicStyle: !0
15069
15069
  }), n = this.style instanceof Be;
15070
15070
  r.forEach((a) => {
15071
- a[X] = this.name, a[_r] = !0, n && a[ot] && a.setStyle(), this._setEditing && this._setEditing.featureType != null && (a[this._setEditing.symbol] = this._setEditing.featureType);
15071
+ a[X] = this.name, a[vr] = !0, n && a[ot] && a.setStyle(), this._setEditing && this._setEditing.featureType != null && (a[this._setEditing.symbol] = this._setEditing.featureType);
15072
15072
  }), this._twoDimStaticSource.addFeatures(r);
15073
15073
  })()), this._twoDimLoaded;
15074
15074
  }
@@ -15084,12 +15084,12 @@ class vr extends st {
15084
15084
  return e instanceof z && this.staticRepresentation && this.staticRepresentation.threeDim ? s.push(new Fi(e, {
15085
15085
  url: this.staticRepresentation.threeDim,
15086
15086
  tilesetOptions: {
15087
- maximumScreenSpaceError: Rn() ? this.screenSpaceErrorMobile : this.screenSpaceError,
15087
+ maximumScreenSpaceError: Gn() ? this.screenSpaceErrorMobile : this.screenSpaceError,
15088
15088
  url: this.staticRepresentation.threeDim
15089
15089
  },
15090
15090
  tilesetProperties: [
15091
15091
  {
15092
- key: _r,
15092
+ key: vr,
15093
15093
  value: !0
15094
15094
  }
15095
15095
  ],
@@ -15148,10 +15148,10 @@ class vr extends st {
15148
15148
  const n = this.getImplementations().find((a) => a instanceof Fi && a.cesium3DTileset);
15149
15149
  if (n != null && n.cesium3DTileset) {
15150
15150
  const a = uu(n.cesium3DTileset);
15151
- ir(s, a);
15151
+ sr(s, a);
15152
15152
  }
15153
15153
  }
15154
- this.staticRepresentation.twoDim && this._twoDimLoaded && ir(s, this._twoDimStaticSource.getExtent());
15154
+ this.staticRepresentation.twoDim && this._twoDimLoaded && sr(s, this._twoDimStaticSource.getExtent());
15155
15155
  const r = new xe({
15156
15156
  projection: B.toJSON(),
15157
15157
  coordinates: s
@@ -15162,7 +15162,7 @@ class vr extends st {
15162
15162
  * set the maximum screen space error of this layer
15163
15163
  */
15164
15164
  setMaximumScreenSpaceError(e) {
15165
- Rn() ? this.screenSpaceErrorMobile = e : this.screenSpaceError = e, this.getImplementations().forEach((s) => {
15165
+ Gn() ? this.screenSpaceErrorMobile = e : this.screenSpaceError = e, this.getImplementations().forEach((s) => {
15166
15166
  s instanceof Fi && s.cesium3DTileset && (s.cesium3DTileset.maximumScreenSpaceError = e);
15167
15167
  });
15168
15168
  }
@@ -15202,7 +15202,7 @@ class vr extends st {
15202
15202
  }
15203
15203
  }
15204
15204
  toJSON() {
15205
- const e = super.toJSON(), s = vr.getDefaultOptions();
15205
+ const e = super.toJSON(), s = Sr.getDefaultOptions();
15206
15206
  delete e.projection;
15207
15207
  const r = this.vectorProperties.getVcsMeta({
15208
15208
  ...It.getDefaultOptions(),
@@ -15216,13 +15216,15 @@ class vr extends st {
15216
15216
  }), this._featureVisibilitySyncListeners = [], this._staticFeatureVisibility.destroy(), this.changeTracker.destroy(), this._removeVectorPropertiesChangeHandler && this._removeVectorPropertiesChangeHandler(), super.destroy();
15217
15217
  }
15218
15218
  }
15219
- Ne.registerClass(vr.className, vr);
15219
+ Ne.registerClass(Sr.className, Sr);
15220
15220
  const Pa = Symbol("featureFromOptions");
15221
- class Sr extends st {
15221
+ class wr extends st {
15222
15222
  constructor(e) {
15223
- const s = Sr.getDefaultOptions();
15224
- e.projection = e.projection || s.projection;
15225
- super(e);
15223
+ const s = wr.getDefaultOptions();
15224
+ super({
15225
+ projection: s.projection,
15226
+ ...e
15227
+ });
15226
15228
  h(this, "_dataFetchedPromise", null);
15227
15229
  h(this, "_featuresToLoad");
15228
15230
  this._featuresToLoad = e.features || s.features;
@@ -15259,7 +15261,7 @@ class Sr extends st {
15259
15261
  }), this.getFeatures().forEach((e) => {
15260
15262
  e[Pa] = !0;
15261
15263
  }), this._featuresToLoad = void 0), this.url) {
15262
- const e = At(this.url, this.headers);
15264
+ const e = Ft(this.url, this.headers);
15263
15265
  this._dataFetchedPromise = Ii(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)));
15264
15266
  } else
15265
15267
  this._dataFetchedPromise = Promise.resolve();
@@ -15276,12 +15278,12 @@ class Sr extends st {
15276
15278
  }
15277
15279
  }
15278
15280
  toJSON() {
15279
- const e = super.toJSON(), s = Sr.getDefaultOptions(), r = new G(s.projection);
15281
+ const e = super.toJSON(), s = wr.getDefaultOptions(), r = new G(s.projection);
15280
15282
  if (this.projection.equals(r) ? delete e.projection : e.projection = this.projection.toJSON(), Array.isArray(this._featuresToLoad))
15281
15283
  e.features = this._featuresToLoad.slice();
15282
15284
  else {
15283
15285
  const n = this.getFeatures().filter((a) => a[Pa]);
15284
- n.length > 0 && (e.features = n.map((a) => yr(a, { writeStyle: !0, writeId: !0 })));
15286
+ n.length > 0 && (e.features = n.map((a) => _r(a, { writeStyle: !0, writeId: !0 })));
15285
15287
  }
15286
15288
  return e;
15287
15289
  }
@@ -15289,8 +15291,8 @@ class Sr extends st {
15289
15291
  super.destroy(), this._featuresToLoad = [];
15290
15292
  }
15291
15293
  }
15292
- Ne.registerClass(Sr.className, Sr);
15293
- class Hr extends ea {
15294
+ Ne.registerClass(wr.className, wr);
15295
+ class jr extends ea {
15294
15296
  constructor(e, s) {
15295
15297
  super(e, s);
15296
15298
  h(this, "minLevel");
@@ -15307,7 +15309,7 @@ class Hr extends ea {
15307
15309
  this.opacity = e, this.initialized && this.olLayer.setOpacity(this.opacity);
15308
15310
  }
15309
15311
  }
15310
- class Bv extends Hr {
15312
+ class Bv extends jr {
15311
15313
  static get className() {
15312
15314
  return "OpenStreetMapOpenlayersImpl";
15313
15315
  }
@@ -15320,7 +15322,7 @@ class Bv extends Hr {
15320
15322
  });
15321
15323
  }
15322
15324
  }
15323
- class wr extends Ye {
15325
+ class Mr extends Ye {
15324
15326
  constructor(e) {
15325
15327
  super(e);
15326
15328
  h(this, "_splitDirection");
@@ -15334,8 +15336,8 @@ class wr extends Ye {
15334
15336
  */
15335
15337
  h(this, "maxLevel");
15336
15338
  h(this, "_supportedMaps", [z.className, Oe.className]);
15337
- const s = wr.getDefaultOptions();
15338
- this._splitDirection = we.NONE, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT), this._opacity = Pn(e.opacity, s.opacity, 0, 1), this.maxLevel = ae(e.maxLevel, s.maxLevel);
15339
+ const s = Mr.getDefaultOptions();
15340
+ this._splitDirection = we.NONE, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT), this._opacity = In(e.opacity, s.opacity, 0, 1), this.maxLevel = ae(e.maxLevel, s.maxLevel);
15339
15341
  }
15340
15342
  static get className() {
15341
15343
  return "OpenStreetMapLayer";
@@ -15363,7 +15365,7 @@ class wr extends Ye {
15363
15365
  return this._opacity;
15364
15366
  }
15365
15367
  set opacity(e) {
15366
- const s = Pn(e, this._opacity, 0, 1);
15368
+ const s = In(e, this._opacity, 0, 1);
15367
15369
  this._opacity !== s && (this._opacity = s, this.getImplementations().forEach((r) => {
15368
15370
  r.updateOpacity(s);
15369
15371
  }));
@@ -15386,15 +15388,15 @@ class wr extends Ye {
15386
15388
  ] : [];
15387
15389
  }
15388
15390
  toJSON() {
15389
- const e = super.toJSON(), s = wr.getDefaultOptions();
15391
+ const e = super.toJSON(), s = Mr.getDefaultOptions();
15390
15392
  return this._splitDirection !== we.NONE && (e.splitDirection = this._splitDirection === we.RIGHT ? "right" : "left"), this.opacity !== s.opacity && (e.opacity = this.opacity), this.maxLevel !== s.maxLevel && (e.maxLevel = this.maxLevel), this._splitDirection !== we.NONE && (e.splitDirection = this._splitDirection === we.RIGHT ? "right" : "left"), e;
15391
15393
  }
15392
15394
  destroy() {
15393
15395
  this.splitDirectionChanged.destroy(), super.destroy();
15394
15396
  }
15395
15397
  }
15396
- Ne.registerClass(wr.className, wr);
15397
- class Uv extends Hr {
15398
+ Ne.registerClass(Mr.className, Mr);
15399
+ class Uv extends jr {
15398
15400
  constructor(e, s) {
15399
15401
  super(e, s);
15400
15402
  h(this, "credit");
@@ -15414,7 +15416,7 @@ class Uv extends Hr {
15414
15416
  imageExtent: this.extent.getCoordinatesInProjection(re)
15415
15417
  };
15416
15418
  return Wt.contains(e.url) ? e.crossOrigin = "use-credentials" : Xt(this.url) || (e.crossOrigin = "anonymous"), this.headers && (e.imageLoadFunction = (s, r) => {
15417
- const n = At(r, this.headers);
15419
+ const n = Ft(r, this.headers);
15418
15420
  Ao(r, n).then((a) => {
15419
15421
  const o = s.getImage();
15420
15422
  o.src = a, o.onload = () => {
@@ -15446,7 +15448,7 @@ class Ow extends ea {
15446
15448
  updateTiles(t) {
15447
15449
  }
15448
15450
  }
15449
- class qv extends Hr {
15451
+ class qv extends jr {
15450
15452
  /**
15451
15453
  * @param map
15452
15454
  * @param options
@@ -15553,7 +15555,7 @@ class Wv extends ea {
15553
15555
  this.source && (this.source.clear(), this.source = null), this.tileProvider = null, super.destroy();
15554
15556
  }
15555
15557
  }
15556
- class Xv extends Hr {
15558
+ class Xv extends jr {
15557
15559
  constructor(e, s) {
15558
15560
  super(e, s);
15559
15561
  h(this, "parameters");
@@ -15594,7 +15596,7 @@ class Xv extends Hr {
15594
15596
  });
15595
15597
  }
15596
15598
  }
15597
- class Yv extends Hr {
15599
+ class Yv extends jr {
15598
15600
  constructor(e, s) {
15599
15601
  super(e, s);
15600
15602
  h(this, "layer");
@@ -15645,7 +15647,7 @@ class Yv extends Hr {
15645
15647
  }
15646
15648
  }
15647
15649
  const Zv = new Be({});
15648
- class Mr extends Bi {
15650
+ class Cr extends Bi {
15649
15651
  constructor(e) {
15650
15652
  super(e);
15651
15653
  /**
@@ -15654,7 +15656,7 @@ class Mr extends Bi {
15654
15656
  h(this, "defaultPointSize");
15655
15657
  h(this, "_pointSize");
15656
15658
  h(this, "_supportedMaps", [z.className]);
15657
- const s = Mr.getDefaultOptions();
15659
+ const s = Cr.getDefaultOptions();
15658
15660
  this.defaultPointSize = e.pointSize != null ? e.pointSize : s.pointSize, this._pointSize = this.defaultPointSize;
15659
15661
  }
15660
15662
  static get className() {
@@ -15696,16 +15698,16 @@ class Mr extends Bi {
15696
15698
  e instanceof oe ? this.getLogger().warning("trying to apply vector style to point cloud layer.") : super.setStyle(e, s);
15697
15699
  }
15698
15700
  toJSON() {
15699
- const e = super.toJSON(), s = Mr.getDefaultOptions();
15701
+ const e = super.toJSON(), s = Cr.getDefaultOptions();
15700
15702
  return this.defaultPointSize !== s.pointSize && (e.pointSize = this.defaultPointSize), e;
15701
15703
  }
15702
15704
  }
15703
- Ne.registerClass(Mr.className, Mr);
15704
- class zn extends vt {
15705
+ Ne.registerClass(Cr.className, Cr);
15706
+ class Hn extends vt {
15705
15707
  constructor(e) {
15706
15708
  super(e);
15707
15709
  h(this, "credit");
15708
- const s = zn.getDefaultOptions();
15710
+ const s = Hn.getDefaultOptions();
15709
15711
  this.credit = e.credit || s.credit, this.extent.isValid() || (this.getLogger().warning(`layer ${this.name} was constructed with an invalid extent, defaulting to global extent`), this.extent = new xe({
15710
15712
  projection: re.toJSON(),
15711
15713
  coordinates: [-180, -90, 180, 90]
@@ -15745,14 +15747,14 @@ class zn extends vt {
15745
15747
  return delete e.tilingSchema, this.credit && (e.credit = this.credit), e;
15746
15748
  }
15747
15749
  }
15748
- Ne.registerClass(zn.className, zn);
15749
- class Cr extends Ye {
15750
+ Ne.registerClass(Hn.className, Hn);
15751
+ class xr extends Ye {
15750
15752
  constructor(e) {
15751
15753
  super(e);
15752
15754
  h(this, "_supportedMaps", [z.className]);
15753
15755
  h(this, "requestVertexNormals");
15754
15756
  h(this, "requestWaterMask");
15755
- const s = Cr.getDefaultOptions();
15757
+ const s = xr.getDefaultOptions();
15756
15758
  this.requestVertexNormals = ce(e.requestVertexNormals, s.requestVertexNormals), this.requestWaterMask = ce(e.requestWaterMask, s.requestWaterMask);
15757
15759
  }
15758
15760
  static get className() {
@@ -15780,18 +15782,18 @@ class Cr extends Ye {
15780
15782
  * @param coords - the height is added to the coordinates in place
15781
15783
  */
15782
15784
  async getHeightForWGS84Coordinates(e) {
15783
- const s = await gr(this.url, {
15785
+ const s = await mr(this.url, {
15784
15786
  requestVertexNormals: this.requestVertexNormals,
15785
15787
  requestWaterMask: this.requestWaterMask
15786
15788
  }, this.headers);
15787
15789
  return Ps(s, e, void 0, e);
15788
15790
  }
15789
15791
  toJSON() {
15790
- const e = super.toJSON(), s = Cr.getDefaultOptions();
15792
+ const e = super.toJSON(), s = xr.getDefaultOptions();
15791
15793
  return this.requestVertexNormals !== s.requestVertexNormals && (e.requestVertexNormals = this.requestVertexNormals), this.requestWaterMask !== s.requestWaterMask && (e.requestWaterMask = this.requestWaterMask), e;
15792
15794
  }
15793
15795
  }
15794
- Ne.registerClass(Cr.className, Cr);
15796
+ Ne.registerClass(xr.className, xr);
15795
15797
  function Jv(i, t) {
15796
15798
  return new Promise((e) => {
15797
15799
  var n;
@@ -15831,9 +15833,9 @@ function du(i, t, e, s, r, n = "en") {
15831
15833
  }
15832
15834
  return a = a.replace(/\{x\}/, String(t)).replace(/\{y\}/, String(e)).replace(/\{z\}/, String(s)).replace(/\{locale\}/, n), a;
15833
15835
  }
15834
- class Hn extends St {
15836
+ class jn extends St {
15835
15837
  constructor(e) {
15836
- const s = Hn.getDefaultOptions();
15838
+ const s = jn.getDefaultOptions();
15837
15839
  super(e);
15838
15840
  h(this, "url");
15839
15841
  this.url = e.url || s.url;
@@ -15857,7 +15859,7 @@ class Hn extends St {
15857
15859
  this.locale !== e && (super.locale = e, this.url.includes("{locale}") && this.clearCache());
15858
15860
  }
15859
15861
  async loader(e, s, r, n) {
15860
- const a = this.tilingScheme.tileXYToRectangle(e, s, r), o = du(this.url, e, s, r, a, this.locale), l = At(this.url, n), c = await Ii(o, l), { features: d } = _i(c, { dynamicStyle: !0 });
15862
+ const a = this.tilingScheme.tileXYToRectangle(e, s, r), o = du(this.url, e, s, r, a, this.locale), l = Ft(this.url, n), c = await Ii(o, l), { features: d } = _i(c, { dynamicStyle: !0 });
15861
15863
  return d;
15862
15864
  }
15863
15865
  toJSON() {
@@ -15865,10 +15867,10 @@ class Hn extends St {
15865
15867
  return this.url && (e.url = this.url), e;
15866
15868
  }
15867
15869
  }
15868
- Os.registerClass(Hn.className, Hn);
15869
- class jn extends St {
15870
+ Os.registerClass(jn.className, jn);
15871
+ class Vn extends St {
15870
15872
  constructor(e) {
15871
- const s = jn.getDefaultOptions();
15873
+ const s = Vn.getDefaultOptions();
15872
15874
  super(e);
15873
15875
  h(this, "url");
15874
15876
  h(this, "idProperty");
@@ -15895,7 +15897,7 @@ class jn extends St {
15895
15897
  this.locale !== e && (super.locale = e, this.url.includes("{locale}") && this.clearCache());
15896
15898
  }
15897
15899
  async loader(e, s, r, n) {
15898
- const a = this.tilingScheme.tileXYToRectangle(e, s, r), o = du(this.url, e, s, r, a, this.locale), l = zo(a), c = tr(l), d = At(this.url, n), u = await $0(o, d), f = this._MVTFormat.readFeatures(u), g = (l[2] - l[0]) / 4096, m = -((l[3] - l[1]) / 4096);
15900
+ const a = this.tilingScheme.tileXYToRectangle(e, s, r), o = du(this.url, e, s, r, a, this.locale), l = zo(a), c = ir(l), d = Ft(this.url, n), u = await $0(o, d), f = this._MVTFormat.readFeatures(u), g = (l[2] - l[0]) / 4096, m = -((l[3] - l[1]) / 4096);
15899
15901
  return f.forEach((p) => {
15900
15902
  const y = this.idProperty ? p.get(this.idProperty) : null;
15901
15903
  y != null && p.setId(String(y));
@@ -15909,12 +15911,11 @@ class jn extends St {
15909
15911
  return this.url && (e.url = this.url), this.idProperty && (e.idProperty = this.idProperty), e;
15910
15912
  }
15911
15913
  }
15912
- Os.registerClass(jn.className, jn);
15913
- class Vn extends St {
15914
+ Os.registerClass(Vn.className, Vn);
15915
+ class $n extends St {
15914
15916
  constructor(e) {
15915
- const s = Vn.getDefaultOptions();
15916
- e.baseLevels = s.baseLevels;
15917
- super(e);
15917
+ const s = $n.getDefaultOptions();
15918
+ super({ ...e, baseLevels: s.baseLevels });
15918
15919
  h(this, "url");
15919
15920
  this.url = e.url || s.url;
15920
15921
  }
@@ -15930,7 +15931,7 @@ class Vn extends St {
15930
15931
  }
15931
15932
  // eslint-disable-next-line no-unused-vars
15932
15933
  async loader(e, s, r, n) {
15933
- const a = At(this.url, n), o = await Ii(this.url, a), { features: l } = _i(o, { dynamicStyle: !0 });
15934
+ const a = Ft(this.url, n), o = await Ii(this.url, a), { features: l } = _i(o, { dynamicStyle: !0 });
15934
15935
  return l;
15935
15936
  }
15936
15937
  toJSON() {
@@ -15938,12 +15939,11 @@ class Vn extends St {
15938
15939
  return delete e.baseLevels, this.url && (e.url = this.url), e;
15939
15940
  }
15940
15941
  }
15941
- Os.registerClass(Vn.className, Vn);
15942
- class xr extends vt {
15942
+ Os.registerClass($n.className, $n);
15943
+ class Or extends vt {
15943
15944
  constructor(e) {
15944
- const s = xr.getDefaultOptions();
15945
- e.tilingSchema = e.tilingSchema || s.tilingSchema;
15946
- super(e);
15945
+ const s = Or.getDefaultOptions();
15946
+ super({ tilingSchema: s.tilingSchema, ...e });
15947
15947
  h(this, "format");
15948
15948
  h(this, "tileSize");
15949
15949
  this._supportedMaps = [Oe.className, z.className], this.format = e.format || s.format, this.tileSize = Array.isArray(e.tileSize) ? e.tileSize.slice() : s.tileSize;
@@ -15971,16 +15971,16 @@ class xr extends vt {
15971
15971
  }
15972
15972
  toJSON() {
15973
15973
  var r;
15974
- const e = super.toJSON(), s = xr.getDefaultOptions();
15974
+ const e = super.toJSON(), s = Or.getDefaultOptions();
15975
15975
  return this.tilingSchema !== s.tilingSchema ? e.tilingSchema = this.tilingSchema : delete e.tilingSchema, this.format !== s.format && (e.format = this.format), (this.tileSize[0] !== ((r = s == null ? void 0 : s.tileSize) == null ? void 0 : r[0]) || this.tileSize[1] !== s.tileSize[1]) && (e.tileSize = this.tileSize.slice()), e;
15976
15976
  }
15977
15977
  }
15978
- Ne.registerClass(xr.className, xr);
15978
+ Ne.registerClass(Or.className, Or);
15979
15979
  function sh(i, t, e) {
15980
15980
  const s = e.getId();
15981
15981
  i.hiddenObjects[s] ? e[ut] = !0 : e[ut] && delete e[ut], i.highlightedObjects[s] ? e[De] = i.highlightedObjects[s].style : e[De] && delete e[De], t != null && t.hiddenObjects[s] ? e[dt] = !0 : e[dt] && delete e[dt];
15982
15982
  }
15983
- class Or extends li {
15983
+ class br extends li {
15984
15984
  /**
15985
15985
  * @param options
15986
15986
  */
@@ -16007,7 +16007,7 @@ class Or extends li {
16007
16007
  */
16008
16008
  h(this, "_styleZIndex", 0);
16009
16009
  this._supportedMaps = [z.className, Oe.className];
16010
- const s = Or.getDefaultOptions();
16010
+ const s = br.getDefaultOptions();
16011
16011
  this.highlightStyle = void 0, e.highlightStyle && (this.highlightStyle = e.highlightStyle instanceof oe ? e.highlightStyle : new oe(e.highlightStyle)), this.vectorProperties = new It({
16012
16012
  allowPicking: this.allowPicking,
16013
16013
  ...e.vectorProperties
@@ -16107,7 +16107,7 @@ class Or extends li {
16107
16107
  */
16108
16108
  _featureStyle(e, s) {
16109
16109
  let r;
16110
- return e[ut] || e[dt] ? [] : (e[De] ? { style: r } = e[De] : this.style instanceof Be ? { style: r } = this.style : r = e.getStyle() || this.style.style, Dn(r, e, s));
16110
+ return e[ut] || e[dt] ? [] : (e[De] ? { style: r } = e[De] : this.style instanceof Be ? { style: r } = this.style : r = e.getStyle() || this.style.style, An(r, e, s));
16111
16111
  }
16112
16112
  getImplementationOptions() {
16113
16113
  return {
@@ -16145,21 +16145,21 @@ class Or extends li {
16145
16145
  }), super.destroy(), this._tileLoadEventListener(), this.featureProvider && this.featureProvider.destroy(), this.tileProvider && this.tileProvider.destroy(), this._vectorPropertiesChangedListener(), this.vectorProperties && this.vectorProperties.destroy();
16146
16146
  }
16147
16147
  toJSON() {
16148
- const e = super.toJSON(), s = Or.getDefaultOptions();
16148
+ const e = super.toJSON(), s = br.getDefaultOptions();
16149
16149
  this._maxLevel !== s.maxLevel && (e.maxLevel = this._maxLevel), this._minLevel !== s.minLevel && (e.minLevel = this._minLevel);
16150
16150
  const r = this.vectorProperties.getVcsMeta();
16151
16151
  return Object.keys(r).length > 0 && (e.vectorProperties = r), this.tileProvider && (e.tileProvider = this.tileProvider.toJSON()), e;
16152
16152
  }
16153
16153
  }
16154
- Ne.registerClass(Or.className, Or);
16154
+ Ne.registerClass(br.className, br);
16155
16155
  class rh extends st {
16156
16156
  constructor(e) {
16157
16157
  var r;
16158
16158
  const s = new G(e.projection).toJSON();
16159
16159
  s.alias = [
16160
16160
  `http://www.opengis.net/gml/srs/epsg.xml#${(r = s.epsg.match(/\d+/)) == null ? void 0 : r[0]}`
16161
- ], e.projection = s;
16162
- super(e);
16161
+ ];
16162
+ super({ ...e, projection: s });
16163
16163
  h(this, "featureType");
16164
16164
  h(this, "featureNS");
16165
16165
  h(this, "featurePrefix");
@@ -16209,7 +16209,7 @@ class rh extends st {
16209
16209
  featureTypes: this.featureType,
16210
16210
  srsName: this.projection.epsg,
16211
16211
  ...this.getFeaturesOptions
16212
- }), s = new XMLSerializer().serializeToString(e), r = At(this.url, this.headers);
16212
+ }), s = new XMLSerializer().serializeToString(e), r = Ft(this.url, this.headers);
16213
16213
  return r.method = "POST", r.body = s, r.headers = {
16214
16214
  ...r.headers,
16215
16215
  "Content-Type": "application/text+xml"
@@ -16227,7 +16227,7 @@ class rh extends st {
16227
16227
  }
16228
16228
  }
16229
16229
  Ne.registerClass(rh.className, rh);
16230
- class br extends vt {
16230
+ class Er extends vt {
16231
16231
  /**
16232
16232
  * @param options
16233
16233
  */
@@ -16239,7 +16239,7 @@ class br extends vt {
16239
16239
  h(this, "highResolution");
16240
16240
  h(this, "singleImage2d");
16241
16241
  h(this, "_featureInfoOptions");
16242
- const s = br.getDefaultOptions();
16242
+ const s = Er.getDefaultOptions();
16243
16243
  if (this.version = e.version || s.version, this.parameters = {}, e.parameters) {
16244
16244
  let r = {};
16245
16245
  typeof e.parameters == "string" ? r = Object.fromEntries(new URLSearchParams(e.parameters)) : e.parameters instanceof Object && (r = e.parameters), Object.keys(r).forEach((n) => {
@@ -16317,7 +16317,7 @@ class br extends vt {
16317
16317
  }
16318
16318
  toJSON() {
16319
16319
  var n, a, o;
16320
- const e = super.toJSON(), s = br.getDefaultOptions();
16320
+ const e = super.toJSON(), s = Er.getDefaultOptions();
16321
16321
  this.parameters.LAYERS && (e.layers = this.parameters.LAYERS), this.version !== s.version && (e.version = this.version);
16322
16322
  const r = { ...this.parameters };
16323
16323
  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 $i) {
@@ -16331,7 +16331,7 @@ class br extends vt {
16331
16331
  return e;
16332
16332
  }
16333
16333
  }
16334
- Ne.registerClass(br.className, br);
16334
+ Ne.registerClass(Er.className, Er);
16335
16335
  function Kv(i, t, e) {
16336
16336
  if (i.length > 0) {
16337
16337
  if (i.length === t + 1)
@@ -16340,11 +16340,10 @@ function Kv(i, t, e) {
16340
16340
  }
16341
16341
  return new Array(t + 1).fill(void 0).map((s, r) => `${e}${r}`);
16342
16342
  }
16343
- class Er extends vt {
16343
+ class Pr extends vt {
16344
16344
  constructor(e) {
16345
- const s = Er.getDefaultOptions();
16346
- e.tilingSchema = e.tilingSchema || s.tilingSchema;
16347
- super(e);
16345
+ const s = Pr.getDefaultOptions();
16346
+ super({ tilingSchema: s.tilingSchema, ...e });
16348
16347
  h(this, "numberOfLevelZeroTilesX");
16349
16348
  h(this, "numberOfLevelZeroTilesY");
16350
16349
  h(this, "layer");
@@ -16395,16 +16394,16 @@ class Er extends vt {
16395
16394
  }
16396
16395
  toJSON() {
16397
16396
  var r;
16398
- const e = super.toJSON(), s = Er.getDefaultOptions();
16397
+ const e = super.toJSON(), s = Pr.getDefaultOptions();
16399
16398
  return this.tilingSchema !== s.tilingSchema ? e.tilingSchema = this.tilingSchema : delete e.tilingSchema, this.numberOfLevelZeroTilesX !== s.numberOfLevelZeroTilesX && (e.numberOfLevelZeroTilesX = this.numberOfLevelZeroTilesX), this.numberOfLevelZeroTilesY !== s.numberOfLevelZeroTilesY && (e.numberOfLevelZeroTilesY = this.numberOfLevelZeroTilesY), this.layer !== s.layer && (e.layer = this.layer), this.wmtsStyle !== s.wmtsStyle && (e.wmtsStyle = this.wmtsStyle), this.format !== s.format && (e.format = this.format), this.tileMatrixPrefix !== s.tileMatrixPrefix && (e.tileMatrixPrefix = this.tileMatrixPrefix), this.tileMatrixSetID !== s.tileMatrixSetID && (e.tileMatrixSetID = this.tileMatrixSetID), Object.keys(this.openlayersOptions).length > 0 && (e.openlayersOptions = { ...this.openlayersOptions }), this.matrixIds.length > 0 && (e.matrixIds = this.matrixIds.slice()), (this.tileSize[0] !== ((r = s == null ? void 0 : s.tileSize) == null ? void 0 : r[0]) || this.tileSize[1] !== s.tileSize[1]) && (e.tileSize = this.tileSize.slice()), e;
16400
16399
  }
16401
16400
  }
16402
- Ne.registerClass(Er.className, Er);
16401
+ Ne.registerClass(Pr.className, Pr);
16403
16402
  function Ia() {
16404
16403
  return Ce("ClippingObject");
16405
16404
  }
16406
- const tn = Symbol("ClippingObjectGlobe");
16407
- class sn {
16405
+ const sn = Symbol("ClippingObjectGlobe");
16406
+ class rn {
16408
16407
  constructor(t = {}) {
16409
16408
  h(this, "id", $e());
16410
16409
  /**
@@ -16477,7 +16476,7 @@ class sn {
16477
16476
  if (e instanceof z) {
16478
16477
  if (this.layerNames.includes(t.name))
16479
16478
  if (t.active) {
16480
- const s = e.getVisualizationsForLayer(t), r = s ? [...s].filter((n) => n instanceof Sn) : [];
16479
+ const s = e.getVisualizationsForLayer(t), r = s ? [...s].filter((n) => n instanceof wn) : [];
16481
16480
  if (r.length > 0)
16482
16481
  r.forEach((n) => {
16483
16482
  this.layerNames.includes(t.name) && t.active && (this.targets.set(t.name, n), this.targetsUpdated.raiseEvent());
@@ -16517,7 +16516,7 @@ class sn {
16517
16516
  if (t instanceof z) {
16518
16517
  const { globe: e } = t.getScene();
16519
16518
  let s = !1;
16520
- this._terrain && !this.targets.has(tn) ? (this.targets.set(tn, e), s = !0) : !this._terrain && this.targets.has(tn) && (this.targets.delete(tn), s = !0), s && this.targetsUpdated.raiseEvent(), this._cachedFeatureStoreLayers.size > 0 && (this._cachedFeatureStoreLayers.forEach((r) => {
16519
+ this._terrain && !this.targets.has(sn) ? (this.targets.set(sn, e), s = !0) : !this._terrain && this.targets.has(sn) && (this.targets.delete(sn), s = !0), s && this.targetsUpdated.raiseEvent(), this._cachedFeatureStoreLayers.size > 0 && (this._cachedFeatureStoreLayers.forEach((r) => {
16521
16520
  this.handleLayerChanged(r);
16522
16521
  }), this._cachedFeatureStoreLayers.clear());
16523
16522
  }
@@ -16572,7 +16571,7 @@ function nh(i, t) {
16572
16571
  const e = v.subtract(i, t, new v());
16573
16572
  v.normalize(e, e);
16574
16573
  const s = ee.fromPointNormal(i, e);
16575
- return nr.fromPlane(s);
16574
+ return ar.fromPlane(s);
16576
16575
  }
16577
16576
  function Qv(i) {
16578
16577
  const t = [], e = i.map((s) => Ct(s));
@@ -16580,7 +16579,7 @@ function Qv(i) {
16580
16579
  const r = s + 1, n = new v();
16581
16580
  v.cross(e[r], e[s], n), v.normalize(n, n);
16582
16581
  const a = new ee(n, 0);
16583
- Number.isNaN(a.distance) || t.push(nr.fromPlane(a));
16582
+ Number.isNaN(a.distance) || t.push(ar.fromPlane(a));
16584
16583
  }
16585
16584
  return t;
16586
16585
  }
@@ -16599,7 +16598,7 @@ function eS(i) {
16599
16598
  const a = v.add(n, s, new v()), o = new v();
16600
16599
  v.cross(n, a, o), v.normalize(o, o);
16601
16600
  const l = new ee(o, 0);
16602
- t.push(nr.fromPlane(l));
16601
+ t.push(ar.fromPlane(l));
16603
16602
  }
16604
16603
  return r(e[0]), v.negate(s, s), r(e[1]), t;
16605
16604
  }
@@ -16619,25 +16618,25 @@ function Pw(i, t = {}, e = void 0) {
16619
16618
  a.normal = o.normal, a.distance = o.distance;
16620
16619
  }), t.reverse && s.forEach((a) => {
16621
16620
  v.negate(a.normal, a.normal), a.distance *= -1;
16622
- }), new rr({
16621
+ }), new nr({
16623
16622
  planes: s,
16624
16623
  unionClippingRegions: t.reverse
16625
16624
  });
16626
16625
  }
16627
16626
  function Ks(i, t, e, s) {
16628
- S(i, rr), S(t, rr), t.length > 0 && t.removeAll();
16627
+ S(i, nr), S(t, nr), t.length > 0 && t.removeAll();
16629
16628
  for (let r = 0; r < i.length; r++) {
16630
16629
  const n = i.get(r);
16631
16630
  if (e && s) {
16632
16631
  const a = ee.getPointDistance(n, s), o = ee.transform(n, e);
16633
- o.distance = a, t.add(nr.fromPlane(o));
16632
+ o.distance = a, t.add(ar.fromPlane(o));
16634
16633
  } else
16635
- t.add(nr.clone(n));
16634
+ t.add(ar.clone(n));
16636
16635
  }
16637
16636
  return t.modelMatrix = i.modelMatrix.clone(), t.unionClippingRegions = i.unionClippingRegions, t.edgeColor = i.edgeColor.clone(), t.edgeWidth = i.edgeWidth, t;
16638
16637
  }
16639
16638
  function na(i) {
16640
- i instanceof Wi ? i.model && (i.model.clippingPlanes ? i.model.clippingPlanes.getValue().removeAll() : i.model.clippingPlanes = new Qd(new rr())) : i.clippingPlanes ? i.clippingPlanes.removeAll() : i.clippingPlanes = new rr();
16639
+ i instanceof Wi ? i.model && (i.model.clippingPlanes ? i.model.clippingPlanes.getValue().removeAll() : i.model.clippingPlanes = new Qd(new nr())) : i.clippingPlanes ? i.clippingPlanes.removeAll() : i.clippingPlanes = new nr();
16641
16640
  }
16642
16641
  function tS(i, t, e) {
16643
16642
  if (na(i), e)
@@ -16663,22 +16662,22 @@ function sS(i, t, e) {
16663
16662
  }
16664
16663
  }
16665
16664
  function oh(i, t, e) {
16666
- i instanceof Sn ? tS(i, t, e) : i instanceof ef ? iS(i, t) : sS(i, t, e);
16665
+ i instanceof wn ? tS(i, t, e) : i instanceof ef ? iS(i, t) : sS(i, t, e);
16667
16666
  }
16668
16667
  function Iw(i, t, e = !1, s = 25) {
16669
16668
  S(i, [Number]), S(e, Boolean), S(s, Number);
16670
16669
  let r;
16671
16670
  if (e) {
16672
- const a = nn(i, -s, t.heading), o = nn(i, s, t.heading);
16673
- r = new Vt([
16671
+ const a = an(i, -s, t.heading), o = an(i, s, t.heading);
16672
+ r = new $t([
16674
16673
  [a[0], a[1], i[2]],
16675
16674
  [o[0], o[1], i[2]]
16676
16675
  ], "XYZ");
16677
16676
  } else {
16678
- r = new qt([[]], "XYZ");
16677
+ r = new Dt([[]], "XYZ");
16679
16678
  let a = 2 * Math.PI - Math.PI / 4;
16680
16679
  const o = [...new Array(4)].map(() => {
16681
- const l = nn(i, s, a);
16680
+ const l = an(i, s, a);
16682
16681
  return a -= Math.PI / 2, [l[0], l[1], i[2]];
16683
16682
  });
16684
16683
  r.setCoordinates([o]);
@@ -16747,7 +16746,7 @@ class rS {
16747
16746
  * to test.
16748
16747
  */
16749
16748
  addClippingObject(t) {
16750
- if (S(t, sn), this.hasClippingObject(t))
16749
+ if (S(t, rn), this.hasClippingObject(t))
16751
16750
  throw new Error("ClippingObject already managed, remove it first");
16752
16751
  t.setLayerCollection(this._layerCollection), this._defaultClippingObjects.add(t), this._activeMap instanceof z && t.handleMapChanged(this._activeMap), this._listenersMap.set(t, [
16753
16752
  t.targetsUpdated.addEventListener(this._update.bind(this)),
@@ -16758,7 +16757,7 @@ class rS {
16758
16757
  * Remove a default [ClippingObject] instance from the manager.
16759
16758
  */
16760
16759
  removeClippingObject(t) {
16761
- S(t, sn), this._defaultClippingObjects.has(t) && (this._defaultClippingObjects.delete(t), this._listenersMap.get(t).forEach((e) => {
16760
+ S(t, rn), this._defaultClippingObjects.has(t) && (this._defaultClippingObjects.delete(t), this._listenersMap.get(t).forEach((e) => {
16762
16761
  e();
16763
16762
  }), this._listenersMap.delete(t), this._update());
16764
16763
  }
@@ -16766,7 +16765,7 @@ class rS {
16766
16765
  * Test if a is part of managers context
16767
16766
  */
16768
16767
  hasClippingObject(t) {
16769
- return S(t, sn), this._defaultClippingObjects.has(t) || !!(this._exclusiveClippingObjects && this._exclusiveClippingObjects.includes(t));
16768
+ return S(t, rn), this._defaultClippingObjects.has(t) || !!(this._exclusiveClippingObjects && this._exclusiveClippingObjects.includes(t));
16770
16769
  }
16771
16770
  /**
16772
16771
  * Sets an Array of [ClippingObjects] to be added to the managers context. Exclusive objects
@@ -16777,7 +16776,7 @@ class rS {
16777
16776
  * @throws ClippingObjects is already managed
16778
16777
  */
16779
16778
  setExclusiveClippingObjects(t, e) {
16780
- if (S(t, [sn]), S(e, Function), t.find((s) => this._defaultClippingObjects.has(s)))
16779
+ if (S(t, [rn]), S(e, Function), t.find((s) => this._defaultClippingObjects.has(s)))
16781
16780
  throw new Error("Some ClippingObjects are already managed, remove them first");
16782
16781
  this._clearExclusiveClippingObjects(), this._exclusiveRemovedCb = e, this._exclusiveClippingObjects = t, this._exclusiveClippingObjects.forEach((s) => {
16783
16782
  s.setLayerCollection(this._layerCollection), this._activeMap instanceof z && s.handleMapChanged(this._activeMap), this._listenersMap.set(s, [
@@ -16900,7 +16899,7 @@ class nS extends le {
16900
16899
  this._geometry && this._geometry.setCoordinates(this._coordinates);
16901
16900
  }
16902
16901
  pipe(e) {
16903
- return e.type & P.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & P.CLICK && (this._geometry ? (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new Vt([e.positionOrPixel], "XYZ"), e.map instanceof Te ? this._geometry[Xe] = !0 : this._geometry[oi] = !0, this.created.raiseEvent(this._geometry), this._coordinates = [e.positionOrPixel.slice()], this._lastCoordinate = this._coordinates[0].slice(), this._coordinates.push(this._lastCoordinate))), e.type & P.DBLCLICK && this.finish(), Promise.resolve(e);
16902
+ return e.type & P.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & P.CLICK && (this._geometry ? (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new $t([e.positionOrPixel], "XYZ"), e.map instanceof Te ? this._geometry[Xe] = !0 : this._geometry[oi] = !0, this.created.raiseEvent(this._geometry), this._coordinates = [e.positionOrPixel.slice()], this._lastCoordinate = this._coordinates[0].slice(), this._coordinates.push(this._lastCoordinate))), e.type & P.DBLCLICK && this.finish(), Promise.resolve(e);
16904
16903
  }
16905
16904
  /**
16906
16905
  * Finish the current creation. Calls finish and sets the interaction to be inactive
@@ -16975,7 +16974,7 @@ class oS extends le {
16975
16974
  }
16976
16975
  }
16977
16976
  pipe(e) {
16978
- return e.type & P.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & P.CLICK && (this._geometry ? this.finish() : (this._geometry = new qt([[e.positionOrPixel.slice()]], "XYZ"), this._geometry.set("_vcsGeomType", et.BBox), e.map instanceof Te ? this._geometry[Xe] = !0 : this._geometry[oi] = !0, this.created.raiseEvent(this._geometry), this._origin = e.positionOrPixel.slice(), this._lastCoordinate = this._origin.slice())), e.type & P.DBLCLICK && this.finish(), Promise.resolve(e);
16977
+ return e.type & P.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & P.CLICK && (this._geometry ? this.finish() : (this._geometry = new Dt([[e.positionOrPixel.slice()]], "XYZ"), this._geometry.set("_vcsGeomType", et.BBox), e.map instanceof Te ? this._geometry[Xe] = !0 : this._geometry[oi] = !0, this.created.raiseEvent(this._geometry), this._origin = e.positionOrPixel.slice(), this._lastCoordinate = this._origin.slice())), e.type & P.DBLCLICK && this.finish(), Promise.resolve(e);
16979
16978
  }
16980
16979
  /**
16981
16980
  * Finish the current creation. Calls finish and sets the interaction to be inactive
@@ -17032,7 +17031,7 @@ class hS extends le {
17032
17031
  this._geometry && this._geometry.setCoordinates([this._coordinates]);
17033
17032
  }
17034
17033
  pipe(e) {
17035
- return e.type & P.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & P.CLICK && (this._geometry ? this._validityPlaceHolder ? (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.splice(2, 1, this._lastCoordinate), this._validityPlaceHolder = null) : (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new qt([[e.positionOrPixel.slice()]], "XYZ"), e.map instanceof Te ? this._geometry[Xe] = !0 : this._geometry[oi] = !0, this.created.raiseEvent(this._geometry), this._coordinates = [e.positionOrPixel.slice()], this._lastCoordinate = [...e.positionOrPixel], this._validityPlaceHolder = e.positionOrPixel.slice(), this._coordinates.push(this._lastCoordinate), this._coordinates.push(this._validityPlaceHolder))), e.type & P.DBLCLICK && this.finish(), Promise.resolve(e);
17034
+ return e.type & P.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & P.CLICK && (this._geometry ? this._validityPlaceHolder ? (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.splice(2, 1, this._lastCoordinate), this._validityPlaceHolder = null) : (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new Dt([[e.positionOrPixel.slice()]], "XYZ"), e.map instanceof Te ? this._geometry[Xe] = !0 : this._geometry[oi] = !0, this.created.raiseEvent(this._geometry), this._coordinates = [e.positionOrPixel.slice()], this._lastCoordinate = [...e.positionOrPixel], this._validityPlaceHolder = e.positionOrPixel.slice(), this._coordinates.push(this._lastCoordinate), this._coordinates.push(this._validityPlaceHolder))), e.type & P.DBLCLICK && this.finish(), Promise.resolve(e);
17036
17035
  }
17037
17036
  /**
17038
17037
  * Finish the current creation. Calls finish and sets the interaction to be inactive
@@ -17284,13 +17283,13 @@ function Tw(i) {
17284
17283
  function gu(i) {
17285
17284
  const { loop: t, anchors: e } = i, s = [...e], r = t ? e.size + 1 : e.size, n = new Array(r), a = new Array(r), o = new Array(r);
17286
17285
  if (s.forEach((d, u) => {
17287
- if (n[u] = v.fromDegrees(d.coordinate[0], d.coordinate[1], d.coordinate[2]), a[u] = yn.fromHeadingPitchRoll(Mi.fromDegrees(d.heading, d.pitch, d.roll)), u > 0) {
17286
+ if (n[u] = v.fromDegrees(d.coordinate[0], d.coordinate[1], d.coordinate[2]), a[u] = _n.fromHeadingPitchRoll(Mi.fromDegrees(d.heading, d.pitch, d.roll)), u > 0) {
17288
17287
  let f = s[u - 1].duration;
17289
17288
  f || (f = v.distance(n[u - 1], n[u]) / 300 || 1), o[u] = o[u - 1] + f;
17290
17289
  } else
17291
17290
  o[u] = 0;
17292
17291
  }), t) {
17293
- n[r - 1] = v.fromDegrees(s[0].coordinate[0], s[0].coordinate[1], s[0].coordinate[2]), a[r - 1] = yn.fromHeadingPitchRoll(Mi.fromDegrees(s[0].heading, s[0].pitch, s[0].roll));
17292
+ n[r - 1] = v.fromDegrees(s[0].coordinate[0], s[0].coordinate[1], s[0].coordinate[2]), a[r - 1] = _n.fromHeadingPitchRoll(Mi.fromDegrees(s[0].heading, s[0].pitch, s[0].roll));
17294
17293
  let d = s[r - 2].duration;
17295
17294
  d || (d = v.distance(n[r - 2], n[r - 1]) / 300 || 1), o[r - 1] = o[r - 2] + d;
17296
17295
  }
@@ -17350,7 +17349,7 @@ const pu = {
17350
17349
  title: K(String)
17351
17350
  };
17352
17351
  function gS(i) {
17353
- return Tr(i, pu) && i.coordinate.length === 3;
17352
+ return Nr(i, pu) && i.coordinate.length === 3;
17354
17353
  }
17355
17354
  function yu(i) {
17356
17355
  S(i, pu);
@@ -17452,7 +17451,7 @@ function mS(i) {
17452
17451
  properties: t
17453
17452
  };
17454
17453
  }
17455
- class ws extends Ft {
17454
+ class ws extends Rt {
17456
17455
  constructor(e) {
17457
17456
  super(e);
17458
17457
  h(this, "anchors");
@@ -17732,7 +17731,7 @@ class yS extends Tt {
17732
17731
  function Gs() {
17733
17732
  return Ce("init");
17734
17733
  }
17735
- const $n = /* @__PURE__ */ new Map(), _S = "_defaultDynamicModule";
17734
+ const Bn = /* @__PURE__ */ new Map(), _S = "_defaultDynamicModule";
17736
17735
  class _u {
17737
17736
  /**
17738
17737
  * @param options
@@ -17773,7 +17772,7 @@ class _u {
17773
17772
  h(this, "_featureProviderClassRegistry");
17774
17773
  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 th({ _id: _S }), this._dynamicModule = this._defaultDynamicModule;
17775
17774
  const e = () => this._dynamicModule._id;
17776
- this._dynamicModuleIdChanged = new E(), this._locale = uS(), this._localeChanged = new E(), this._mapClassRegistry = new Yt(bs), this._maps = Jt(new Ho(), e, void 0, b_.bind(null, this), Pi), this._layerClassRegistry = new Yt(Ne), this._layers = Jt(this._maps.layerCollection, e, I_.bind(null, this), P_.bind(null, this), Ye, L_), this._layers.locale = this.locale, this._obliqueCollections = Jt(new Tt(), e, void 0, (s) => new Vi(s), Vi), this._viewpoints = Jt(new Tt(), e, void 0, E_, mt), this._styleClassRegistry = new Yt(kr), this._styles = Jt(new Tt(), e, void 0, (s) => ti(this._styleClassRegistry, s), Ut), this._modules = new Ei("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = dS(e, this._layers.globalHider), this._flights = Jt(new yS(this), e, void 0, (s) => new ws(s)), this._categoryClassRegistry = new Yt(_c), this._categories = new _v(this), this._destroyed = new E(), this._moduleMutationPromise = Promise.resolve(), this._categoryItemClassRegistry = new Yt(new Li()), this._tileProviderClassRegistry = new Yt(Os), this._featureProviderClassRegistry = new Yt(Mo), $n.set(this._id, this);
17775
+ this._dynamicModuleIdChanged = new E(), this._locale = uS(), this._localeChanged = new E(), this._mapClassRegistry = new Yt(bs), this._maps = Jt(new Ho(), e, void 0, b_.bind(null, this), Pi), this._layerClassRegistry = new Yt(Ne), this._layers = Jt(this._maps.layerCollection, e, I_.bind(null, this), P_.bind(null, this), Ye, L_), this._layers.locale = this.locale, this._obliqueCollections = Jt(new Tt(), e, void 0, (s) => new Vi(s), Vi), this._viewpoints = Jt(new Tt(), e, void 0, E_, mt), this._styleClassRegistry = new Yt(zr), this._styles = Jt(new Tt(), e, void 0, (s) => ti(this._styleClassRegistry, s), qt), this._modules = new Ei("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = dS(e, this._layers.globalHider), this._flights = Jt(new yS(this), e, void 0, (s) => new ws(s)), this._categoryClassRegistry = new Yt(_c), this._categories = new _v(this), this._destroyed = new E(), this._moduleMutationPromise = Promise.resolve(), this._categoryItemClassRegistry = new Yt(new Li()), this._tileProviderClassRegistry = new Yt(Os), this._featureProviderClassRegistry = new Yt(Mo), Bn.set(this._id, this);
17777
17776
  }
17778
17777
  get id() {
17779
17778
  return this._id;
@@ -17944,21 +17943,21 @@ class _u {
17944
17943
  get() {
17945
17944
  throw new Error("VcsApp was destroyed");
17946
17945
  }
17947
- }), $n.delete(this._id), Zt(this._maps), Zt(this._layers), Zt(this._obliqueCollections), Zt(this._viewpoints), Zt(this._styles), Zt(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();
17946
+ }), Bn.delete(this._id), Zt(this._maps), Zt(this._layers), Zt(this._obliqueCollections), Zt(this._viewpoints), Zt(this._styles), Zt(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();
17948
17947
  }
17949
17948
  }
17950
17949
  function Fw(i) {
17951
- return $n.get(i);
17950
+ return Bn.get(i);
17952
17951
  }
17953
17952
  window.vcs = window.vcs || {};
17954
- window.vcs.apps = $n;
17953
+ window.vcs.apps = Bn;
17955
17954
  function vu(i) {
17956
17955
  if (!i)
17957
17956
  return !1;
17958
17957
  const t = i.getType();
17959
17958
  return t === "LineString" ? Lo(i) : t === "Polygon" ? Gc(i) : t === "Point" ? Zc(i) : t === "Circle" ? Hc(i) : !1;
17960
17959
  }
17961
- const jr = Symbol("Vertex"), Rw = Symbol("VertexIndex"), Le = Symbol("Handler"), ai = Symbol("MouseOver"), vS = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19">
17960
+ const Vr = Symbol("Vertex"), Rw = Symbol("VertexIndex"), Le = Symbol("Handler"), ai = Symbol("MouseOver"), vS = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19">
17962
17961
  <g id="pen">
17963
17962
  <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)"/>
17964
17963
  <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)"/>
@@ -17988,7 +17987,7 @@ class SS extends le {
17988
17987
  }
17989
17988
  pipe(e) {
17990
17989
  var s;
17991
- return e.feature && e.feature[jr] ? this._currentVertex = e.feature : this._currentVertex = null, !this.cursorStyle && ((s = e.map) != null && s.target) && (this.cursorStyle = e.map.target.style), this._evaluate(e.key), Promise.resolve(e);
17990
+ return e.feature && e.feature[Vr] ? this._currentVertex = e.feature : this._currentVertex = null, !this.cursorStyle && ((s = e.map) != null && s.target) && (this.cursorStyle = e.map.target.style), this._evaluate(e.key), Promise.resolve(e);
17992
17991
  }
17993
17992
  modifierChanged(e) {
17994
17993
  this._evaluate(e);
@@ -18027,7 +18026,7 @@ function wS(i) {
18027
18026
  return t;
18028
18027
  }
18029
18028
  function Gw(i, t, e) {
18030
- S(i, _u), S(t, st), S(e, wn(et));
18029
+ S(i, _u), S(t, st), S(e, Mn(et));
18031
18030
  const { interactionChain: s, removed: r, destroy: n } = aa(i.maps.eventHandler), a = new E(), o = new E(), l = new E();
18032
18031
  let c = !1, d = null, u = null, f = !1, g = [];
18033
18032
  const m = () => {
@@ -18037,7 +18036,7 @@ function Gw(i, t, e) {
18037
18036
  }, p = () => {
18038
18037
  m(), d = wS(e), g = [
18039
18038
  d.created.addEventListener((O) => {
18040
- f && (i.maps.activeMap.switchEnabled = !1), u = new $t({ geometry: O }), u[it] = !0, t.addFeatures([u]), a.raiseEvent(u);
18039
+ f && (i.maps.activeMap.switchEnabled = !1), u = new Bt({ geometry: O }), u[it] = !0, t.addFeatures([u]), a.raiseEvent(u);
18041
18040
  }),
18042
18041
  d.finished.addEventListener((O) => {
18043
18042
  f && (i.maps.activeMap.switchEnabled = !0), u && (delete u[it], (!O || u.getGeometry() !== O || !vu(O)) && (t.removeFeaturesById([
@@ -18087,27 +18086,27 @@ var ye;
18087
18086
  i.TRANSLATE = "translate", i.ROTATE = "rotate", i.SCALE = "scale", i.EXTRUDE = "extrude";
18088
18087
  })(ye = ye || (ye = {}));
18089
18088
  const oa = U.GRAY.withAlpha(0.5);
18090
- function Bn(i) {
18089
+ function Un(i) {
18091
18090
  return i === b.X || i === b.Y || i === b.Z;
18092
18091
  }
18093
- function Un(i) {
18092
+ function qn(i) {
18094
18093
  return i === b.XY || i === b.XZ || i === b.YZ;
18095
18094
  }
18096
- function gn(i) {
18095
+ function mn(i) {
18097
18096
  if (i[Le]) {
18098
- const t = new $t();
18097
+ const t = new Bt();
18099
18098
  t[Le] = i[Le], i.olFeature = t;
18100
18099
  }
18101
18100
  }
18102
- function mn(i) {
18101
+ function pn(i) {
18103
18102
  return {
18104
18103
  appearance: new za({
18105
- material: Dt.fromType("Color", {
18104
+ material: At.fromType("Color", {
18106
18105
  color: i
18107
18106
  })
18108
18107
  }),
18109
18108
  depthFailAppearance: new za({
18110
- material: Dt.fromType("Color", {
18109
+ material: At.fromType("Color", {
18111
18110
  color: U.divideByScalar(i, 1.5, new U()).withAlpha(0.2)
18112
18111
  })
18113
18112
  })
@@ -18115,15 +18114,15 @@ function mn(i) {
18115
18114
  }
18116
18115
  function jo(i) {
18117
18116
  return {
18118
- appearance: new _n({
18117
+ appearance: new vn({
18119
18118
  flat: !0,
18120
- material: Dt.fromType("Color", {
18119
+ material: At.fromType("Color", {
18121
18120
  color: i
18122
18121
  })
18123
18122
  }),
18124
- depthFailAppearance: new _n({
18123
+ depthFailAppearance: new vn({
18125
18124
  flat: !0,
18126
- material: Dt.fromType("Color", {
18125
+ material: At.fromType("Color", {
18127
18126
  color: U.divideByScalar(i, 1.5, new U()).withAlpha(0.2)
18128
18127
  })
18129
18128
  })
@@ -18155,7 +18154,7 @@ function La(i, t, e = !1) {
18155
18154
  get() {
18156
18155
  return a;
18157
18156
  }
18158
- }), e || (n[Le] = i), gn(n), n;
18157
+ }), e || (n[Le] = i), mn(n), n;
18159
18158
  }
18160
18159
  function MS(i) {
18161
18160
  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);
@@ -18175,11 +18174,11 @@ function CS(i, t) {
18175
18174
  geometry: new Gi({
18176
18175
  positions: v.fromDegreesArrayHeights(uh(s, b.X).flat()),
18177
18176
  width: 1,
18178
- arcType: vn.RHUMB
18177
+ arcType: Sn.RHUMB
18179
18178
  })
18180
18179
  })
18181
18180
  ],
18182
- ...mn(U.RED.withAlpha(0.5))
18181
+ ...pn(U.RED.withAlpha(0.5))
18183
18182
  })), (i === b.Y || i === b.XY || i === b.YZ) && e.push(new pt({
18184
18183
  asynchronous: !1,
18185
18184
  geometryInstances: [
@@ -18187,11 +18186,11 @@ function CS(i, t) {
18187
18186
  geometry: new Gi({
18188
18187
  positions: v.fromDegreesArrayHeights(uh(s, b.Y).flat()),
18189
18188
  width: 1,
18190
- arcType: vn.RHUMB
18189
+ arcType: Sn.RHUMB
18191
18190
  })
18192
18191
  })
18193
18192
  ],
18194
- ...mn(U.GREEN.withAlpha(0.5))
18193
+ ...pn(U.GREEN.withAlpha(0.5))
18195
18194
  })), (i === b.Z || i === b.XZ || i === b.YZ) && e.push(new pt({
18196
18195
  asynchronous: !1,
18197
18196
  geometryInstances: [
@@ -18212,7 +18211,7 @@ function CS(i, t) {
18212
18211
  })
18213
18212
  })
18214
18213
  ],
18215
- ...mn(U.BLUE.withAlpha(0.5))
18214
+ ...pn(U.BLUE.withAlpha(0.5))
18216
18215
  }));
18217
18216
  const r = new xi();
18218
18217
  return e.forEach((n) => {
@@ -18268,11 +18267,11 @@ function rs(i, t, e, s = !1) {
18268
18267
  r
18269
18268
  ],
18270
18269
  width: 5,
18271
- arcType: vn.NONE
18270
+ arcType: Sn.NONE
18272
18271
  })
18273
18272
  })
18274
18273
  ],
18275
- ...mn(n),
18274
+ ...pn(n),
18276
18275
  modelMatrix: t
18277
18276
  }),
18278
18277
  OS(o, n, t, a, !s)
@@ -18317,9 +18316,9 @@ function ns(i, t, e = !1) {
18317
18316
  function bS(i) {
18318
18317
  let t;
18319
18318
  return (e, s, r) => {
18320
- t && (i.remove(t), t = void 0), e !== b.NONE && (t = new xi(), Bn(e) ? rs(e, s, r, !0).forEach((n) => {
18319
+ t && (i.remove(t), t = void 0), e !== b.NONE && (t = new xi(), Un(e) ? rs(e, s, r, !0).forEach((n) => {
18321
18320
  t.add(n);
18322
- }) : Un(e) && t.add(ns(e, s, !0)), i.add(t));
18321
+ }) : qn(e) && t.add(ns(e, s, !0)), i.add(t));
18323
18322
  };
18324
18323
  }
18325
18324
  function ES(i, t) {
@@ -18331,11 +18330,11 @@ function ES(i, t) {
18331
18330
  ns(b.XY, s)
18332
18331
  ];
18333
18332
  t === ye.TRANSLATE && (r.push(...rs(b.Z, s, t), ns(b.XZ, s), ns(b.YZ, s)), g.push(...r)), g.forEach((m) => {
18334
- gn(m), e.add(m);
18333
+ mn(m), e.add(m);
18335
18334
  });
18336
18335
  } else
18337
18336
  t === ye.ROTATE ? (e.add(La(b.X, s, !0)), e.add(La(b.Y, s, !0)), e.add(La(b.Z, s))) : t === ye.EXTRUDE && rs(b.Z, s, t).forEach((g) => {
18338
- gn(g), e.add(g);
18337
+ mn(g), e.add(g);
18339
18338
  });
18340
18339
  const n = i.getScene();
18341
18340
  let a = [0, 0, 0], o = 1;
@@ -18373,7 +18372,7 @@ function ES(i, t) {
18373
18372
  g !== f && (f = g, r.forEach((m) => {
18374
18373
  e.remove(m);
18375
18374
  }), r.splice(0), t === ye.TRANSLATE && r.push(...rs(b.Z, s, t, g), ns(b.XZ, s, g), ns(b.YZ, s, g)), r.forEach((m) => {
18376
- gn(m), e.add(m);
18375
+ mn(m), e.add(m);
18377
18376
  }));
18378
18377
  },
18379
18378
  setCenter(g) {
@@ -18404,8 +18403,8 @@ function PS(i, t) {
18404
18403
  if (e && (i.removeFeaturesById(e), e = void 0), r !== b.NONE) {
18405
18404
  const a = [];
18406
18405
  if (r === b.X || r === b.XY) {
18407
- const o = new $t({
18408
- geometry: new Vt(dh(n, b.X, s))
18406
+ const o = new Bt({
18407
+ geometry: new $t(dh(n, b.X, s))
18409
18408
  });
18410
18409
  o.setStyle(new Q({
18411
18410
  stroke: new He({
@@ -18415,8 +18414,8 @@ function PS(i, t) {
18415
18414
  })), a.push(o);
18416
18415
  }
18417
18416
  if (r === b.Y || r === b.XY) {
18418
- const o = new $t({
18419
- geometry: new Vt(dh(n, b.Y, s))
18417
+ const o = new Bt({
18418
+ geometry: new $t(dh(n, b.Y, s))
18420
18419
  });
18421
18420
  o.setStyle(new Q({
18422
18421
  stroke: new He({
@@ -18444,12 +18443,12 @@ function no(i, t, e) {
18444
18443
  let a;
18445
18444
  t === ye.TRANSLATE ? a = '<svg height="13" width="13" xmlns="http://www.w3.org/2000/svg"><polygon points="0,13 13,13 6,0" style="fill:white;" /></svg>' : a = '<svg height="13" width="13" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 13,0 13,13 0,13" style="fill:white" /></svg>', a = `data:image/svg+xml,${encodeURIComponent(a)}`;
18446
18445
  const o = [
18447
- new $t({
18446
+ new Bt({
18448
18447
  geometry: new Nt(r[1].slice()),
18449
18448
  axis: i
18450
18449
  }),
18451
- new $t({
18452
- geometry: new Vt(r),
18450
+ new Bt({
18451
+ geometry: new $t(r),
18453
18452
  axis: i
18454
18453
  })
18455
18454
  ];
@@ -18463,8 +18462,8 @@ function no(i, t, e) {
18463
18462
  })), o[1].setStyle(new Q({ stroke: new He({ color: s, width: 4 }) })), o;
18464
18463
  }
18465
18464
  function Su(i) {
18466
- const t = new $t({
18467
- geometry: new qt([
18465
+ const t = new Bt({
18466
+ geometry: new Dt([
18468
18467
  [
18469
18468
  [0.2, 0.2, 0],
18470
18469
  [0.2, 0.4, 0],
@@ -18483,7 +18482,7 @@ function IS(i) {
18483
18482
  return (s, r, n, a) => {
18484
18483
  if (t && (i.removeFeaturesById(t), t = void 0), s !== b.NONE) {
18485
18484
  let o = [];
18486
- Bn(s) ? o = no(s, r, e) : Un(s) && (o = [Su(e)]), o.forEach((l) => {
18485
+ Un(s) ? o = no(s, r, e) : qn(s) && (o = [Su(e)]), o.forEach((l) => {
18487
18486
  l.getGeometry().applyTransform((c, d) => {
18488
18487
  const u = c.length;
18489
18488
  for (let f = 0; f < u; f += 3)
@@ -18501,7 +18500,7 @@ function LS(i, t, e) {
18501
18500
  ...no(b.Y, e),
18502
18501
  Su()
18503
18502
  ] : e === ye.ROTATE && (n = [
18504
- new $t({
18503
+ new Bt({
18505
18504
  geometry: new Ot([0, 0, 0], 0.5),
18506
18505
  axis: b.Z
18507
18506
  })
@@ -18577,9 +18576,9 @@ function NS(i) {
18577
18576
  const t = ps();
18578
18577
  return i.forEach((e) => {
18579
18578
  const s = e[xt] ?? e.getGeometry();
18580
- ir(t, s.getExtent());
18579
+ sr(t, s.getExtent());
18581
18580
  }), {
18582
- center: [...tr(t), 0],
18581
+ center: [...ir(t), 0],
18583
18582
  someClamped: !1,
18584
18583
  someNoTerrain: !1
18585
18584
  };
@@ -18599,7 +18598,7 @@ function DS(i, t, e, s) {
18599
18598
  } else
18600
18599
  r.show = !1;
18601
18600
  };
18602
- return i instanceof z ? (r = ES(i, s), a = TS.bind(null, t), o = i) : i instanceof fr && (r = LS(i, e, s), a = NS), {
18601
+ return i instanceof z ? (r = ES(i, s), a = TS.bind(null, t), o = i) : i instanceof gr && (r = LS(i, e, s), a = NS), {
18603
18602
  get showing() {
18604
18603
  return r.show;
18605
18604
  },
@@ -18653,7 +18652,7 @@ class wu extends le {
18653
18652
  this.setActive();
18654
18653
  }
18655
18654
  pipe(e) {
18656
- return this.reset(), e.feature && (e.feature[jr] || e.feature[Le]) && (e.map.className === "CesiumMap" ? this._clear = FS(e.map) : this._clear = AS(e.map)), Promise.resolve(e);
18655
+ return this.reset(), e.feature && (e.feature[Vr] || e.feature[Le]) && (e.map.className === "CesiumMap" ? this._clear = FS(e.map) : this._clear = AS(e.map)), Promise.resolve(e);
18657
18656
  }
18658
18657
  reset() {
18659
18658
  this._clear(), this._clear = () => {
@@ -18674,12 +18673,12 @@ function Ls(i) {
18674
18673
  const e = new se({
18675
18674
  geometry: t
18676
18675
  });
18677
- return e[jr] = !0, e[Qn] = !0, e[it] = !0, e;
18676
+ return e[Vr] = !0, e[Qn] = !0, e[it] = !0, e;
18678
18677
  }
18679
- let ve = new k(), Gt = new k(), Ta = new k(), Qe = new v(), be = new v(), Na = new v();
18678
+ let ve = new k(), kt = new k(), Ta = new k(), Qe = new v(), be = new v(), Na = new v();
18680
18679
  function fh(i, t, e) {
18681
- ve = k.fromElements(t[0] - i[0], t[1] - i[1], ve), ve.equals(k.ZERO) && (ve = k.fromElements(1, 1, ve)), ve = k.normalize(ve, ve), Gt = k.fromElements(e[0] - i[0], e[1] - i[1], Gt);
18682
- const s = k.dot(ve, Gt);
18680
+ ve = k.fromElements(t[0] - i[0], t[1] - i[1], ve), ve.equals(k.ZERO) && (ve = k.fromElements(1, 1, ve)), ve = k.normalize(ve, ve), kt = k.fromElements(e[0] - i[0], e[1] - i[1], kt);
18681
+ const s = k.dot(ve, kt);
18683
18682
  return ve = k.multiplyByScalar(ve, s, ve), [
18684
18683
  ve.x + i[0],
18685
18684
  ve.y + i[1],
@@ -18692,9 +18691,9 @@ function RS(i, t, e, s) {
18692
18691
  return r < v.magnitude(be) || r < v.magnitude(Na) ? !1 : (Qe = v.normalize(Qe, Qe), be = v.normalize(be, be), Qe.equalsEpsilon(be, s || L.EPSILON5));
18693
18692
  }
18694
18693
  function GS(i, t, e, s) {
18695
- ve = k.fromElements(t[0] - i[0], t[1] - i[1], ve), Gt = k.fromElements(e[0] - i[0], e[1] - i[1], Gt), Ta = k.fromElements(e[0] - t[0], e[1] - t[1], Ta);
18694
+ ve = k.fromElements(t[0] - i[0], t[1] - i[1], ve), kt = k.fromElements(e[0] - i[0], e[1] - i[1], kt), Ta = k.fromElements(e[0] - t[0], e[1] - t[1], Ta);
18696
18695
  const r = k.magnitude(ve);
18697
- return r < k.magnitude(Gt) || r < k.magnitude(Ta) ? !1 : (ve = k.normalize(ve, ve), Gt = k.normalize(Gt, Gt), ve.equalsEpsilon(Gt, s || L.EPSILON5));
18696
+ return r < k.magnitude(kt) || r < k.magnitude(Ta) ? !1 : (ve = k.normalize(ve, ve), kt = k.normalize(kt, kt), ve.equalsEpsilon(kt, s || L.EPSILON5));
18698
18697
  }
18699
18698
  function Cu(i, t) {
18700
18699
  return Qe = Ct(i, Qe), be = t.globe.ellipsoid.geodeticSurfaceNormal(Qe, be), be = v.cross(t.camera.rightWC, be, be), be = v.normalize(be, be), ee.fromPointNormal(Qe, be);
@@ -18702,7 +18701,7 @@ function Cu(i, t) {
18702
18701
  function kw(i, t) {
18703
18702
  return Qe = Ct(i, Qe), be = t.globe.ellipsoid.geodeticSurfaceNormal(Qe, be), ee.fromPointNormal(Qe, be);
18704
18703
  }
18705
- function kt(i, t, e) {
18704
+ function zt(i, t, e) {
18706
18705
  const s = t.getPickRay(e, new kh()), r = nf.rayPlane(s, i);
18707
18706
  return r ? te.fromCartesian(r) : te.ZERO;
18708
18707
  }
@@ -18753,7 +18752,7 @@ class HS extends le {
18753
18752
  this.translated.raiseEvent(this._getTranslateEvent(e.positionOrPixel, e.windowPosition)), e.type === P.DRAGEND && (this._getTranslateEvent = null, this._transformationHandler.showAxis = b.NONE);
18754
18753
  else if (e.type === P.DRAGSTART && ((s = e == null ? void 0 : e.feature) != null && s[Le])) {
18755
18754
  const r = e.feature[Le];
18756
- r !== b.NONE && (this._transformationHandler.showAxis = r, e.map instanceof z ? Bn(r) ? this._getTranslateEvent = this._dragAlongAxis3D(r, e) : Un(r) && (this._getTranslateEvent = this._dragAlongPlane3D(r, e)) : Bn(r) ? this._getTranslateEvent = this._dragAlongAxis2D(r, e) : Un(r) && (this._getTranslateEvent = this._dragAlongPlane2D(r, e)));
18755
+ r !== b.NONE && (this._transformationHandler.showAxis = r, e.map instanceof z ? Un(r) ? this._getTranslateEvent = this._dragAlongAxis3D(r, e) : qn(r) && (this._getTranslateEvent = this._dragAlongPlane3D(r, e)) : Un(r) ? this._getTranslateEvent = this._dragAlongAxis2D(r, e) : qn(r) && (this._getTranslateEvent = this._dragAlongPlane2D(r, e)));
18757
18756
  }
18758
18757
  return Promise.resolve(e);
18759
18758
  }
@@ -18763,17 +18762,17 @@ class HS extends le {
18763
18762
  const n = Ct(this._transformationHandler.center);
18764
18763
  let a = ee.clone(ee.ORIGIN_XY_PLANE);
18765
18764
  a = ee.transform(a, Ci.eastNorthUpToFixedFrame(n), a);
18766
- let o = kt(a, r.camera, s.windowPosition), l = G.wgs84ToMercator(Ni(o));
18765
+ let o = zt(a, r.camera, s.windowPosition), l = G.wgs84ToMercator(Ni(o));
18767
18766
  return (c, d) => {
18768
- o = kt(a, r.camera, d);
18767
+ o = zt(a, r.camera, d);
18769
18768
  const u = G.wgs84ToMercator(Ni(o)), f = e === b.X ? [u[0] - l[0], 0, 0] : [0, u[1] - l[1], 0];
18770
18769
  return l = u, f;
18771
18770
  };
18772
18771
  } else {
18773
18772
  const n = Cu(this._transformationHandler.center.slice(), r);
18774
- let a = kt(n, r.camera, s.windowPosition).height;
18773
+ let a = zt(n, r.camera, s.windowPosition).height;
18775
18774
  return (o, l) => {
18776
- const c = kt(n, r.camera, l).height, d = [0, 0, c - a];
18775
+ const c = zt(n, r.camera, l).height, d = [0, 0, c - a];
18777
18776
  return a = c, d;
18778
18777
  };
18779
18778
  }
@@ -18782,9 +18781,9 @@ class HS extends le {
18782
18781
  const r = s.map.getScene(), n = Ct(this._transformationHandler.center);
18783
18782
  let a;
18784
18783
  e === b.YZ ? a = ee.clone(ee.ORIGIN_YZ_PLANE) : e === b.XZ ? a = ee.clone(ee.ORIGIN_ZX_PLANE) : a = ee.clone(ee.ORIGIN_XY_PLANE), a = ee.transform(a, Ci.eastNorthUpToFixedFrame(n), a);
18785
- let o = kt(a, r.camera, s.windowPosition), l = G.wgs84ToMercator(Ni(o));
18784
+ let o = zt(a, r.camera, s.windowPosition), l = G.wgs84ToMercator(Ni(o));
18786
18785
  return (c, d) => {
18787
- o = kt(a, r.camera, d);
18786
+ o = zt(a, r.camera, d);
18788
18787
  const u = G.wgs84ToMercator(Ni(o)), f = [
18789
18788
  u[0] - l[0],
18790
18789
  u[1] - l[1],
@@ -18852,7 +18851,7 @@ class VS extends le {
18852
18851
  const r = s.map.getScene(), n = Ct(this._transformationHandler.center);
18853
18852
  let a;
18854
18853
  return e === b.X ? a = ee.clone(ee.ORIGIN_YZ_PLANE) : e === b.Y ? a = ee.clone(ee.ORIGIN_ZX_PLANE) : a = ee.clone(ee.ORIGIN_XY_PLANE), a = ee.transform(a, Ci.eastNorthUpToFixedFrame(n), a), gh((o, l) => {
18855
- const c = kt(a, r.camera, l), d = G.wgs84ToMercator(Ni(c)), u = this._transformationHandler.center;
18854
+ const c = zt(a, r.camera, l), d = G.wgs84ToMercator(Ni(c)), u = this._transformationHandler.center;
18856
18855
  return d[0] = u[0] - d[0], d[1] = u[1] - d[1], d[2] = u[2] - d[2], e === b.Z ? k.fromArray(d) : e === b.X ? new k(d[1], d[2]) : new k(d[0], d[2]);
18857
18856
  }, s, e);
18858
18857
  }
@@ -18907,7 +18906,7 @@ class $S extends le {
18907
18906
  const r = s.map.getScene(), n = Ct(this._transformationHandler.center);
18908
18907
  let a = ee.clone(ee.ORIGIN_XY_PLANE);
18909
18908
  return a = ee.transform(a, Ci.eastNorthUpToFixedFrame(n), a), mh((o, l) => {
18910
- const c = kt(a, r.camera, l);
18909
+ const c = zt(a, r.camera, l);
18911
18910
  return G.wgs84ToMercator(Ni(c));
18912
18911
  }, s, this._transformationHandler, e);
18913
18912
  }
@@ -18939,9 +18938,9 @@ class BS extends le {
18939
18938
  const n = e.map.getScene();
18940
18939
  this._transformationHandler.showAxis = r;
18941
18940
  const a = Cu(this._transformationHandler.center.slice(), n);
18942
- let o = kt(a, n.camera, e.windowPosition).height;
18941
+ let o = zt(a, n.camera, e.windowPosition).height;
18943
18942
  this._getExtrudeEvent = (l, c) => {
18944
- const d = kt(a, n.camera, c).height, u = d - o;
18943
+ const d = zt(a, n.camera, c).height, u = d - o;
18945
18944
  return o = d, u;
18946
18945
  };
18947
18946
  }
@@ -19026,11 +19025,11 @@ function jw(i, t, e, s = ye.TRANSLATE) {
19026
19025
  const w = ($, Y, de) => {
19027
19026
  var Re;
19028
19027
  (Re = _ == null ? void 0 : _.translate) == null || Re.call(_, $, Y, de), n.forEach((Ts) => {
19029
- (Ts[xt] ?? Ts.getGeometry()).applyTransform(($r, Br) => {
19030
- const Pu = $r.length;
19028
+ (Ts[xt] ?? Ts.getGeometry()).applyTransform((Br, Ur) => {
19029
+ const Pu = Br.length;
19031
19030
  for (let di = 0; di < Pu; di += 3)
19032
- Br[di] = $r[di] + $, Br[di + 1] = $r[di + 1] + Y, Br[di + 2] = $r[di + 2] + de;
19033
- return Br;
19031
+ Ur[di] = Br[di] + $, Ur[di + 1] = Br[di + 1] + Y, Ur[di + 2] = Br[di + 2] + de;
19032
+ return Ur;
19034
19033
  });
19035
19034
  });
19036
19035
  }, C = ($) => {
@@ -19038,8 +19037,8 @@ function jw(i, t, e, s = ye.TRANSLATE) {
19038
19037
  if (!Y) {
19039
19038
  const de = ps();
19040
19039
  n.forEach((Re) => {
19041
- ir(de, Re.getGeometry().getExtent());
19042
- }), ka(de) || (Y = tr(de));
19040
+ sr(de, Re.getGeometry().getExtent());
19041
+ }), ka(de) || (Y = ir(de));
19043
19042
  }
19044
19043
  n.forEach((de) => {
19045
19044
  (de[xt] ?? de.getGeometry()).rotate($, Y);
@@ -19049,8 +19048,8 @@ function jw(i, t, e, s = ye.TRANSLATE) {
19049
19048
  if (!de) {
19050
19049
  const Re = ps();
19051
19050
  n.forEach((Ts) => {
19052
- ir(Re, Ts.getGeometry().getExtent());
19053
- }), ka(Re) || (de = tr(Re));
19051
+ sr(Re, Ts.getGeometry().getExtent());
19052
+ }), ka(Re) || (de = ir(Re));
19054
19053
  }
19055
19054
  n.forEach((Re) => {
19056
19055
  (Re[xt] ?? Re.getGeometry()).scale($, Y, de);
@@ -19125,7 +19124,7 @@ function jw(i, t, e, s = ye.TRANSLATE) {
19125
19124
  }
19126
19125
  };
19127
19126
  }
19128
- class Vr extends le {
19127
+ class $r extends le {
19129
19128
  constructor() {
19130
19129
  super(P.DRAGEVENTS);
19131
19130
  h(this, "vertexChanged", new E());
@@ -19133,7 +19132,7 @@ class Vr extends le {
19133
19132
  this.setActive();
19134
19133
  }
19135
19134
  pipe(e) {
19136
- return this._vertex ? (this._vertex.getGeometry().setCoordinates(e.positionOrPixel), this.vertexChanged.raiseEvent(this._vertex), e.type & P.DRAGEND && (this._vertex.unset("olcs_allowPicking"), this._vertex = null), e.stopPropagation = !0) : e.type & P.DRAGSTART && e.feature && e.feature[jr] && (this._vertex = e.feature, this._vertex.set("olcs_allowPicking", !1), e.stopPropagation = !0), Promise.resolve(e);
19135
+ return this._vertex ? (this._vertex.getGeometry().setCoordinates(e.positionOrPixel), this.vertexChanged.raiseEvent(this._vertex), e.type & P.DRAGEND && (this._vertex.unset("olcs_allowPicking"), this._vertex = null), e.stopPropagation = !0) : e.type & P.DRAGSTART && e.feature && e.feature[Vr] && (this._vertex = e.feature, this._vertex.set("olcs_allowPicking", !1), e.stopPropagation = !0), Promise.resolve(e);
19137
19136
  }
19138
19137
  destroy() {
19139
19138
  this.vertexChanged.destroy(), super.destroy();
@@ -19146,7 +19145,7 @@ class xu extends le {
19146
19145
  this.setActive();
19147
19146
  }
19148
19147
  pipe(e) {
19149
- return e.feature && e.feature[jr] && this.vertexRemoved.raiseEvent(e.feature), Promise.resolve(e);
19148
+ return e.feature && e.feature[Vr] && this.vertexRemoved.raiseEvent(e.feature), Promise.resolve(e);
19150
19149
  }
19151
19150
  destroy() {
19152
19151
  this.vertexRemoved.destroy(), super.destroy();
@@ -19191,7 +19190,7 @@ function XS(i, t) {
19191
19190
  t.addFeatures(s);
19192
19191
  const r = () => {
19193
19192
  e.setCoordinates(s.map((c) => c.getGeometry().getCoordinates()));
19194
- }, n = new Vr();
19193
+ }, n = new $r();
19195
19194
  n.vertexChanged.addEventListener(r);
19196
19195
  const a = new Ou(i, e);
19197
19196
  a.vertexInserted.addEventListener(({ vertex: c, index: d }) => {
@@ -19218,7 +19217,7 @@ function XS(i, t) {
19218
19217
  function YS(i, t) {
19219
19218
  const e = i[xt] ?? i.getGeometry(), s = e.getCoordinates().map(Ls);
19220
19219
  t.addFeatures(s);
19221
- const r = new Vr();
19220
+ const r = new $r();
19222
19221
  let n = !1;
19223
19222
  r.vertexChanged.addEventListener((l) => {
19224
19223
  if (n = !0, s.indexOf(l) === 1) {
@@ -19246,9 +19245,9 @@ function ZS(i, t) {
19246
19245
  const e = i[xt] ?? i.getGeometry(), s = e.getCoordinates()[0].map(Ls);
19247
19246
  t.addFeatures(s);
19248
19247
  let r = !1;
19249
- const n = new Vr();
19248
+ const n = new $r();
19250
19249
  n.vertexChanged.addEventListener((l) => {
19251
- const c = s.indexOf(l), d = cn(c + 2, 4), u = cn(c + 1, 4), f = cn(c - 1, 4), g = s[d].getGeometry().getCoordinates(), m = l.getGeometry().getCoordinates();
19250
+ const c = s.indexOf(l), d = un(c + 2, 4), u = un(c + 1, 4), f = un(c - 1, 4), g = s[d].getGeometry().getCoordinates(), m = l.getGeometry().getCoordinates();
19252
19251
  let p = !1;
19253
19252
  g[0] === m[0] && (m[0] += 1e-8, p = !0), g[1] === m[1] && (m[1] += 1e-8, p = !0), p && l.getGeometry().setCoordinates(m);
19254
19253
  const y = (_) => {
@@ -19279,7 +19278,7 @@ function JS(i, t) {
19279
19278
  s.setCoordinates(d), e.setCoordinates([
19280
19279
  r.map((u) => u.getGeometry().getCoordinates())
19281
19280
  ]);
19282
- }, a = new Vr();
19281
+ }, a = new $r();
19283
19282
  a.vertexChanged.addEventListener(n);
19284
19283
  const o = new Ou(i, s);
19285
19284
  o.vertexInserted.addEventListener(({ vertex: d, index: u }) => {
@@ -19306,7 +19305,7 @@ function JS(i, t) {
19306
19305
  function KS(i, t, e) {
19307
19306
  const s = i[xt] ?? i.getGeometry(), r = Ls(s.getCoordinates()), n = [i.getId()];
19308
19307
  e.featureVisibility.hideObjects(n), r[it] = !0, t.addFeatures([r]);
19309
- const a = new Vr();
19308
+ const a = new $r();
19310
19309
  let o = !1;
19311
19310
  a.vertexChanged.addEventListener(() => {
19312
19311
  o = !0, i.getGeometry().setCoordinates(r.getGeometry().getCoordinates()), o = !1;
@@ -19386,7 +19385,7 @@ class bu extends le {
19386
19385
  async setSelected(e) {
19387
19386
  this._selectedFeatures.clear();
19388
19387
  const s = Array.isArray(e) ? e : [e];
19389
- (await Promise.all(s.map((n) => n[_r] ? this._layer.switchStaticFeatureToDynamic(n.getId()) : n))).forEach((n) => {
19388
+ (await Promise.all(s.map((n) => n[vr] ? this._layer.switchStaticFeatureToDynamic(n.getId()) : n))).forEach((n) => {
19390
19389
  this._selectedFeatures.set(n.getId(), n);
19391
19390
  }), this.featuresChanged.raiseEvent(this.selected);
19392
19391
  }
@@ -19396,7 +19395,7 @@ class bu extends le {
19396
19395
  this._selectedFeatures.delete(s);
19397
19396
  else {
19398
19397
  let r = e;
19399
- e[_r] && (r = await this._layer.switchStaticFeatureToDynamic(s)), this._selectedFeatures.set(s, r);
19398
+ e[vr] && (r = await this._layer.switchStaticFeatureToDynamic(s)), this._selectedFeatures.set(s, r);
19400
19399
  }
19401
19400
  this.featuresChanged.raiseEvent(this.selected);
19402
19401
  }
@@ -19433,7 +19432,7 @@ class Eu extends le {
19433
19432
  */
19434
19433
  async setSelected(e) {
19435
19434
  let s = Array.isArray(e) ? e[0] : e;
19436
- e[_r] && (s = await this._layer.switchStaticFeatureToDynamic(s.getId())), this._selectedFeature = s, this.featureChanged.raiseEvent(this._selectedFeature);
19435
+ e[vr] && (s = await this._layer.switchStaticFeatureToDynamic(s.getId())), this._selectedFeature = s, this.featureChanged.raiseEvent(this._selectedFeature);
19437
19436
  }
19438
19437
  /**
19439
19438
  * Checks if a feature with a spicific id is selected.
@@ -19452,17 +19451,17 @@ class Eu extends le {
19452
19451
  this._selectedFeature = null, this.featureChanged.destroy(), super.destroy();
19453
19452
  }
19454
19453
  }
19455
- var Ht;
19454
+ var jt;
19456
19455
  (function(i) {
19457
19456
  i.SINGLE = "single", i.MULTI = "multi";
19458
- })(Ht = Ht || (Ht = {}));
19457
+ })(jt = jt || (jt = {}));
19459
19458
  class QS extends le {
19460
19459
  constructor(e, s) {
19461
19460
  let r, n;
19462
19461
  if (s instanceof Eu)
19463
- r = j.NONE, n = Ht.SINGLE;
19462
+ r = j.NONE, n = jt.SINGLE;
19464
19463
  else if (s instanceof bu)
19465
- r = j.NONE | j.CTRL, n = Ht.MULTI;
19464
+ r = j.NONE | j.CTRL, n = jt.MULTI;
19466
19465
  else
19467
19466
  throw new Error("This interaction is not supported");
19468
19467
  super(P.MOVE, r);
@@ -19496,7 +19495,7 @@ class QS extends le {
19496
19495
  var s;
19497
19496
  if (this.cursorStyle)
19498
19497
  if (this._currentFeature) {
19499
- const r = this.selectionMode === Ht.MULTI && e & j.CTRL, n = this._selectFeatureInteraction.hasFeatureId(this._currentFeature.getId());
19498
+ const r = this.selectionMode === jt.MULTI && e & j.CTRL, n = this._selectFeatureInteraction.hasFeatureId(this._currentFeature.getId());
19500
19499
  r ? this.cursorStyle.cursor = n ? lt.removeFromSelection : lt.addToSelection : this.cursorStyle.cursor = lt.select, this.cursorStyle[ai] = this.id;
19501
19500
  } else
19502
19501
  ((s = this.cursorStyle) == null ? void 0 : s[ai]) === this.id && (this.cursorStyle.cursor = lt.auto, delete this.cursorStyle[ai]);
@@ -19544,7 +19543,7 @@ function tw() {
19544
19543
  })
19545
19544
  });
19546
19545
  }
19547
- function $w(i, t, e, s = Ht.MULTI, r = tw()) {
19546
+ function $w(i, t, e, s = jt.MULTI, r = tw()) {
19548
19547
  const n = new E(), a = new E(), o = new E();
19549
19548
  let l = null, c = null, d, u = null;
19550
19549
  const { interactionChain: f, removed: g, destroy: m } = aa(i.maps.eventHandler, e), p = ew(t, r);
@@ -19557,12 +19556,12 @@ function $w(i, t, e, s = Ht.MULTI, r = tw()) {
19557
19556
  function w(D) {
19558
19557
  if (D === d)
19559
19558
  return;
19560
- if (_(), D === Ht.SINGLE)
19559
+ if (_(), D === jt.SINGLE)
19561
19560
  l = new Eu(t), y.push(l.featureChanged.addEventListener((q) => {
19562
19561
  const he = q ? [q] : [];
19563
19562
  p.update(he), o.raiseEvent(he), u && (u.switchEnabled = !q);
19564
19563
  }));
19565
- else if (D === Ht.MULTI)
19564
+ else if (D === jt.MULTI)
19566
19565
  l = new bu(t), y.push(l.featuresChanged.addEventListener((q) => {
19567
19566
  p.update(q), o.raiseEvent(q), u && (u.switchEnabled = q.length === 0);
19568
19567
  }));
@@ -19603,7 +19602,7 @@ function $w(i, t, e, s = Ht.MULTI, r = tw()) {
19603
19602
  return d;
19604
19603
  },
19605
19604
  setMode(D) {
19606
- S(D, wn(Ht)), w(D), a.raiseEvent(d);
19605
+ S(D, Mn(jt)), w(D), a.raiseEvent(d);
19607
19606
  },
19608
19607
  modeChanged: a,
19609
19608
  featuresChanged: o,
@@ -19612,10 +19611,10 @@ function $w(i, t, e, s = Ht.MULTI, r = tw()) {
19612
19611
  }
19613
19612
  };
19614
19613
  }
19615
- const rn = Symbol("flightVisualization");
19614
+ const nn = Symbol("flightVisualization");
19616
19615
  async function Bw(i, t) {
19617
- if (S(i, ws), i[rn])
19618
- return i[rn];
19616
+ if (S(i, ws), i[nn])
19617
+ return i[nn];
19619
19618
  await i.initialize();
19620
19619
  let e = ps();
19621
19620
  const s = new xi();
@@ -19660,7 +19659,7 @@ async function Bw(i, t) {
19660
19659
  }
19661
19660
  if (i.isValid()) {
19662
19661
  const m = mu(i), p = new se({
19663
- geometry: new Vt(m, "XYZ")
19662
+ geometry: new $t(m, "XYZ")
19664
19663
  });
19665
19664
  p.setId("flightPathGeom"), f.push(p);
19666
19665
  }
@@ -19677,7 +19676,7 @@ async function Bw(i, t) {
19677
19676
  ], c = new E(), d = () => {
19678
19677
  r.deactivate(), t.layers.remove(r), r.destroy(), n && n.primitives.contains(s) && n.primitives.remove(s), l.forEach((f) => {
19679
19678
  f();
19680
- }), c.raiseEvent(), c.destroy(), delete i[rn];
19679
+ }), c.raiseEvent(), c.destroy(), delete i[nn];
19681
19680
  };
19682
19681
  l.push(t.flights.removed.addEventListener((f) => {
19683
19682
  f === i && d();
@@ -19709,7 +19708,7 @@ async function Bw(i, t) {
19709
19708
  f && await ((g = t.maps.activeMap) == null ? void 0 : g.gotoViewpoint(f));
19710
19709
  }
19711
19710
  };
19712
- return i[rn] = u, u;
19711
+ return i[nn] = u, u;
19713
19712
  }
19714
19713
  export {
19715
19714
  Ss as AbstractFeatureProvider,
@@ -19719,8 +19718,8 @@ export {
19719
19718
  Ke as ArrowEnd,
19720
19719
  ia as ArrowStyle,
19721
19720
  b as AxisAndPlanes,
19722
- fr as BaseOLMap,
19723
- pr as CameraLimiter,
19721
+ gr as BaseOLMap,
19722
+ yr as CameraLimiter,
19724
19723
  ms as CameraLimiterMode,
19725
19724
  vi as Category,
19726
19725
  _v as CategoryCollection,
@@ -19729,7 +19728,7 @@ export {
19729
19728
  Bi as CesiumTilesetLayer,
19730
19729
  Li as ClassRegistry,
19731
19730
  $s as ClassificationTypeCesium,
19732
- sn as ClippingObject,
19731
+ rn as ClippingObject,
19733
19732
  rS as ClippingObjectManager,
19734
19733
  xw as ClusterContext,
19735
19734
  Tt as Collection,
@@ -19739,9 +19738,9 @@ export {
19739
19738
  nS as CreateLineStringInteraction,
19740
19739
  lS as CreatePointInteraction,
19741
19740
  hS as CreatePolygonInteraction,
19742
- kn as CzmlLayer,
19741
+ zn as CzmlLayer,
19743
19742
  Lv as DataSourceCesiumImpl,
19744
- Gn as DataSourceLayer,
19743
+ kn as DataSourceLayer,
19745
19744
  fe as DataState,
19746
19745
  Be as DeclarativeStyleItem,
19747
19746
  av as DefaultObliqueCollection,
@@ -19757,13 +19756,13 @@ export {
19757
19756
  Ov as FeatureAtPixelInteraction,
19758
19757
  li as FeatureLayer,
19759
19758
  bv as FeatureProviderInteraction,
19760
- vr as FeatureStoreLayer,
19759
+ Sr as FeatureStoreLayer,
19761
19760
  $v as FeatureStoreLayerChanges,
19762
19761
  bo as FeatureVisibility,
19763
19762
  ie as FeatureVisibilityAction,
19764
19763
  yS as FlightCollection,
19765
19764
  ws as FlightInstance,
19766
- Sr as GeoJSONLayer,
19765
+ wr as GeoJSONLayer,
19767
19766
  et as GeometryType,
19768
19767
  Ka as GlobalHider,
19769
19768
  Ei as IndexedCollection,
@@ -19775,7 +19774,7 @@ export {
19775
19774
  z0 as LayerObliqueImpl,
19776
19775
  ea as LayerOpenlayersImpl,
19777
19776
  me as LayerState,
19778
- jn as MVTTileProvider,
19777
+ Vn as MVTTileProvider,
19779
19778
  Ho as MapCollection,
19780
19779
  wu as MapInteractionController,
19781
19780
  bt as MapState,
@@ -19783,42 +19782,42 @@ export {
19783
19782
  Vi as ObliqueCollection,
19784
19783
  $l as ObliqueDataSet,
19785
19784
  Do as ObliqueImage,
19786
- dn as ObliqueImageMeta,
19785
+ fn as ObliqueImageMeta,
19787
19786
  Te as ObliqueMap,
19788
19787
  q0 as ObliqueProvider,
19789
19788
  U0 as ObliqueView,
19790
19789
  _e as ObliqueViewDirection,
19791
19790
  Zs as OlcsGeometryType,
19792
19791
  Tv as OpenStreetMapCesiumImpl,
19793
- wr as OpenStreetMapLayer,
19792
+ Mr as OpenStreetMapLayer,
19794
19793
  Bv as OpenStreetMapOpenlayersImpl,
19795
19794
  Oe as OpenlayersMap,
19796
19795
  Yt as OverrideClassRegistry,
19797
19796
  Ys as PatternType,
19798
- Mr as PointCloudLayer,
19797
+ Cr as PointCloudLayer,
19799
19798
  We as PointerEventType,
19800
19799
  Ee as PointerKeyType,
19801
19800
  Mt as PrimitiveOptionsType,
19802
19801
  G as Projection,
19803
19802
  vt as RasterLayer,
19804
19803
  Is as RasterLayerCesiumImpl,
19805
- Hr as RasterLayerOpenlayersImpl,
19804
+ jr as RasterLayerOpenlayersImpl,
19806
19805
  xu as RemoveVertexInteraction,
19807
19806
  VS as RotateInteraction,
19808
19807
  $S as ScaleInteraction,
19809
19808
  QS as SelectFeatureMouseOverInteraction,
19810
19809
  bu as SelectMultiFeatureInteraction,
19811
19810
  Eu as SelectSingleFeatureInteraction,
19812
- Ht as SelectionMode,
19811
+ jt as SelectionMode,
19813
19812
  ki as SessionType,
19814
19813
  Nv as SingleImageCesiumImpl,
19815
- zn as SingleImageLayer,
19814
+ Hn as SingleImageLayer,
19816
19815
  Uv as SingleImageOpenlayersImpl,
19817
- Vn as StaticGeoJSONTileProvider,
19818
- Ut as StyleItem,
19819
- xr as TMSLayer,
19816
+ $n as StaticGeoJSONTileProvider,
19817
+ qt as StyleItem,
19818
+ Or as TMSLayer,
19820
19819
  Dv as TerrainCesiumImpl,
19821
- Cr as TerrainLayer,
19820
+ xr as TerrainLayer,
19822
19821
  Ow as TileDebugOpenlayersImpl,
19823
19822
  St as TileProvider,
19824
19823
  ro as TileProviderFeatureProvider,
@@ -19827,14 +19826,14 @@ export {
19827
19826
  qv as TmsOpenlayersImpl,
19828
19827
  ye as TransformationMode,
19829
19828
  HS as TranslateInteraction,
19830
- Vr as TranslateVertexInteraction,
19831
- Hn as URLTemplateTileProvider,
19829
+ $r as TranslateVertexInteraction,
19830
+ jn as URLTemplateTileProvider,
19832
19831
  _u as VcsApp,
19833
19832
  x_ as VcsCameraPrimitive,
19834
19833
  E as VcsEvent,
19835
19834
  Pi as VcsMap,
19836
19835
  th as VcsModule,
19837
- Ft as VcsObject,
19836
+ Rt as VcsObject,
19838
19837
  N0 as VectorCesiumImpl,
19839
19838
  T0 as VectorContext,
19840
19839
  st as VectorLayer,
@@ -19844,13 +19843,13 @@ export {
19844
19843
  zv as VectorRasterTileCesiumImpl,
19845
19844
  oe as VectorStyleItem,
19846
19845
  kv as VectorTileImageryProvider,
19847
- Or as VectorTileLayer,
19846
+ br as VectorTileLayer,
19848
19847
  Wv as VectorTileOpenlayersImpl,
19849
19848
  mt as Viewpoint,
19850
19849
  rh as WFSLayer,
19851
19850
  $i as WMSFeatureProvider,
19852
- br as WMSLayer,
19853
- Er as WMTSLayer,
19851
+ Er as WMSLayer,
19852
+ Pr as WMTSLayer,
19854
19853
  Hv as WmsCesiumImpl,
19855
19854
  Xv as WmsOpenlayersImpl,
19856
19855
  jv as WmtsCesiumImpl,
@@ -19927,7 +19926,7 @@ export {
19927
19926
  Tw as exportFlightAsGeoJson,
19928
19927
  Nw as exportFlightPathAsGeoJson,
19929
19928
  Qt as featureArcStruct,
19930
- zr as featureExists,
19929
+ Hr as featureExists,
19931
19930
  Pa as featureFromOptions,
19932
19931
  Mo as featureProviderClassRegistry,
19933
19932
  Et as featureStoreStateSymbol,
@@ -19938,12 +19937,12 @@ export {
19938
19937
  f0 as getBillboardOptions,
19939
19938
  Gv as getCanvasFromFeatures,
19940
19939
  m0 as getCartesian3AndWGS84FromCoordinates,
19941
- Jr as getCartesian3Options,
19940
+ Kr as getCartesian3Options,
19942
19941
  Wa as getCartesianBearing,
19943
19942
  Zy as getCartesianPitch,
19944
- kt as getCartographicFromPlane,
19943
+ zt as getCartographicFromPlane,
19945
19944
  ii as getCesiumColor,
19946
- Yr as getClassificationTypeOptions,
19945
+ Zr as getClassificationTypeOptions,
19947
19946
  Lw as getClippingOptions,
19948
19947
  fh as getClosestPointOn2DLine,
19949
19948
  pw as getCssStyleFromTextStyle,
@@ -19955,7 +19954,7 @@ export {
19955
19954
  dv as getEPSGCodeFromGeojson,
19956
19955
  uu as getExtentFromTileset,
19957
19956
  vc as getFillFromOptions,
19958
- In as getFillOptions,
19957
+ Ln as getFillOptions,
19959
19958
  Es as getFlatCoordinatesFromGeometry,
19960
19959
  Po as getFlatCoordinatesFromSimpleGeometry,
19961
19960
  mu as getFlightPathCoordinatesFromInstance,
@@ -19972,24 +19971,24 @@ export {
19972
19971
  mc as getMidPoint,
19973
19972
  $_ as getMinHeightOrGroundLevel,
19974
19973
  Ll as getModelOptions,
19975
- Zr as getNearFarValueOptions,
19974
+ Jr as getNearFarValueOptions,
19976
19975
  ti as getObjectFromClassRegistry,
19977
19976
  zl as getPolygonizedGeometry,
19978
19977
  to as getPrimitiveOptions,
19979
19978
  eu as getResolutionOptions,
19980
19979
  xc as getShapeFromOptions,
19981
19980
  gu as getSplineAndTimesForInstance,
19982
- fn as getStateFromStatesArray,
19981
+ gn as getStateFromStatesArray,
19983
19982
  Ol as getStoreyHeights,
19984
19983
  El as getStoreyOptions,
19985
19984
  at as getStringColor,
19986
19985
  xo as getStrokeFromOptions,
19987
- cr as getStrokeOptions,
19986
+ ur as getStrokeOptions,
19988
19987
  gw as getStyleFromOptions,
19989
19988
  mw as getStyleOptions,
19990
- Nn as getStyleOrDefaultStyle,
19991
- Dn as getStylesArray,
19992
- gr as getTerrainProviderForUrl,
19989
+ Dn as getStyleOrDefaultStyle,
19990
+ An as getStylesArray,
19991
+ mr as getTerrainProviderForUrl,
19993
19992
  wc as getTextFromOptions,
19994
19993
  Sc as getTextOptions,
19995
19994
  ra as getTileLoadFunction,
@@ -20011,14 +20010,14 @@ export {
20011
20010
  De as highlighted,
20012
20011
  k0 as imageGeometryToMercatorGeometry,
20013
20012
  hw as initialBearingBetweenCoords,
20014
- Bn as is1DAxis,
20015
- Un as is2DAxis,
20016
- Rn as isMobile,
20013
+ Un as is1DAxis,
20014
+ qn as is2DAxis,
20015
+ Gn as isMobile,
20017
20016
  Za as isOverrideCollection,
20018
20017
  vv as isProvidedFeature,
20019
20018
  Xt as isSameOrigin,
20020
20019
  D0 as isTerrainTileAvailable,
20021
- _r as isTiledFeature,
20020
+ vr as isTiledFeature,
20022
20021
  Ne as layerClassRegistry,
20023
20022
  Nl as lineStringToCesium,
20024
20023
  Jt as makeOverrideCollection,
@@ -20027,17 +20026,17 @@ export {
20027
20026
  R_ as maxZIndex,
20028
20027
  G0 as mercatorGeometryToImageGeometry,
20029
20028
  B as mercatorProjection,
20030
- Fn as mercatorResolutionsToLevel,
20029
+ Rn as mercatorResolutionsToLevel,
20031
20030
  Ct as mercatorToCartesian,
20032
20031
  vo as mercatorToWgs84Transformer,
20033
20032
  Ze as moduleIdSymbol,
20034
- cn as modulo,
20033
+ un as modulo,
20035
20034
  ai as mouseOverSymbol,
20036
20035
  xt as obliqueGeometry,
20037
20036
  Kc as obliqueViewDirectionNames,
20038
20037
  o_ as olColorToCesiumColor,
20039
20038
  _l as olColorToHex,
20040
- Tn as originalFeatureSymbol,
20039
+ Nn as originalFeatureSymbol,
20041
20040
  si as originalStyle,
20042
20041
  pa as parseCartesian3,
20043
20042
  ze as parseColor,
@@ -20077,14 +20076,14 @@ export {
20077
20076
  jw as startEditFeaturesSession,
20078
20077
  Vw as startEditGeometrySession,
20079
20078
  $w as startSelectFeaturesSession,
20080
- kr as styleClassRegistry,
20079
+ zr as styleClassRegistry,
20081
20080
  p_ as synchronizeFeatureVisibility,
20082
20081
  Eo as synchronizeFeatureVisibilityWithSource,
20083
20082
  Os as tileProviderClassRegistry,
20084
20083
  bw as tiledLayerLoaded,
20085
20084
  Rv as toContext,
20086
20085
  A0 as transformCWIFC,
20087
- mr as transformFromImage,
20086
+ pr as transformFromImage,
20088
20087
  ww as transformToImage,
20089
20088
  G_ as updateFeatureVisibility,
20090
20089
  k_ as updateGlobalHider,
@@ -20099,12 +20098,12 @@ export {
20099
20098
  ri as vcsMetaVersion,
20100
20099
  ot as vectorStyleSymbol,
20101
20100
  Rw as vertexIndex,
20102
- jr as vertexSymbol,
20101
+ Vr as vertexSymbol,
20103
20102
  pv as volatileModuleId,
20104
20103
  re as wgs84Projection,
20105
- En as wgs84ToMercatorTransformer,
20106
- un as whiteColor,
20104
+ Pn as wgs84ToMercatorTransformer,
20105
+ dn as whiteColor,
20107
20106
  Cw as writeGeoJSON,
20108
- yr as writeGeoJSONFeature,
20107
+ _r as writeGeoJSONFeature,
20109
20108
  A_ as writeStyle
20110
20109
  };