@vcmap/ui 6.0.11 → 6.0.13

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,9 +1,9 @@
1
1
  var Kd = Object.defineProperty;
2
2
  var Qd = (i, t, e) => t in i ? Kd(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var h = (i, t, e) => Qd(i, typeof t != "symbol" ? t + "" : t, e);
4
- import { ol$proj$getTransform as $e, ol$proj$get as ef, ol$proj$equivalent as tf, ol$proj$proj4$register as th, ol$sphere$getDistance as bc, ol$geom$Circle as bt, ol$geom$GeometryCollection as Yi, ol$style$Style as K, ol$style$Fill as et, ol$style$Stroke as Be, ol$style$Text as on, ol$style$Icon as ni, ol$style$Circle as Vi, ol$style$RegularShape as Us, ol$has$DEVICE_PIXEL_RATIO as sf, ol$style$Image as Pc, ol$Feature as ue, ol$extent$containsCoordinate as Qn, ol$Map as rf, ol$interaction$defaults as nf, ol$Observable$unByKey as le, ol$View as ul, ol$easing$inAndOut as af, ol$extent$containsXY as Lc, ol$extent$boundingExtent as Ir, ol$layer$Vector as Ic, ol$geom$SimpleGeometry as of, ol$geom$Point as Ve, ol$geom$LineString as xt, ol$geom$Polygon as ht, ol$geom$MultiPoint as dl, ol$geom$MultiLineString as Fa, ol$geom$MultiPolygon as ks, ol$sphere$offset as Vn, ol$geom$Polygon$fromCircle as Tc, ol$geom$Polygon$circular as lf, ol$colorlike$asColorLike as hf, ol$ImageState as Pn, Feature as Fe, ol$extent$getBottomLeft as fl, ol$extent$getBottomRight as Ac, ol$extent$getTopRight as Dc, ol$extent$getTopLeft as Ga, ol$proj$transform as as, ol$source$Vector as Tr, ol$tilegrid$createXYZ as Nc, ol$TileState as Rc, ol$proj$Projection as cf, ol$tilegrid$TileGrid as Fc, ol$source$TileImage as uf, ol$layer$Tile as Ws, ol$extent$buffer as Gc, ol$extent$getCenter as cs, ol$geom$Polygon$fromExtent as kc, ol$proj$transformExtent as ih, ol$format$GeoJSON as zc, ol$extent$getWidth as ko, ol$source$TileWMS as df, ol$source$ImageWMS as ff, ol$format$GML2 as zo, ol$format$WFS as Ho, ol$format$GML3 as Bo, ol$extent$createEmpty as zs, ol$structs$LRUCache as gf, ol$extent$createOrUpdateFromCoordinate as mf, ol$render$canvas$Immediate as pf, ol$geom$flat$transform$transform2D as yf, ol$extent$intersects as Hc, ol$geom$SimpleGeometry$transformGeom2D as _f, ol$transform$scale as vf, ol$transform$create as Sf, ol$transform$compose as wf, ol$extent$extend as Ar, ol$source$OSM as Cf, ol$layer$Image as Bc, ol$source$ImageStatic as Mf, ol$source$TileDebug as xf, ol$source$XYZ as Ef, ol$source$VectorTile as Of, ol$layer$VectorTile as bf, ol$tilegrid$WMTS as Pf, ol$source$WMTS as Lf, ol$format$MVT as If, ol$coordinate$equals as Tf, ol$interaction$DragPan as Af, ol$extent$isEmpty as Vo, ol$geom$LinearRing as Df } from "./ol-27d44222.js";
5
- import { Cartesian3 as _, Math as b, Cartographic as ee, Cesium3DTileStyle as ea, Cesium3DTileColorBlendMode as jn, Color as U, TrustedServers as fi, VerticalOrigin as Lt, Cesium3DTileFeature as Xi, Cesium3DTilePointFeature as Zi, Entity as Ji, Material as At, Cartesian2 as H, Matrix3 as Q, Quaternion as ta, Primitive as St, GeometryInstance as Ze, FrustumGeometry as Nf, ColorGeometryInstanceAttribute as Dr, PerInstanceColorAppearance as Hs, FrustumOutlineGeometry as Rf, destroyObject as Ff, EasingFunction as Gf, ConditionsExpression as kf, Expression as zf, HeightReference as Y, ClassificationType as os, NearFarScalar as wr, SplitDirection as we, sampleTerrainMostDetailed as Ys, PolygonOutlineGeometry as Hf, GroundPolylineGeometry as gl, PolylineGeometry as ls, PolygonHierarchy as jo, PolygonGeometry as Bf, CircleOutlineGeometry as Vf, CircleGeometry as jf, HeadingPitchRoll as us, Matrix4 as G, Transforms as ji, Model as ml, MaterialAppearance as ia, ModelAnimationLoop as $f, CylinderOutlineGeometry as qf, CylinderGeometry as Vc, EllipsoidOutlineGeometry as Uf, EllipsoidGeometry as jc, SphereOutlineGeometry as Wf, SphereGeometry as Yf, BoxOutlineGeometry as Xf, BoxGeometry as pl, LabelStyle as eo, HorizontalOrigin as to, WallGeometry as Zf, WallOutlineGeometry as Jf, ArcType as sa, CatmullRomSpline as $c, ClassificationPrimitive as ka, SceneTransforms as Kf, ShadowMode as za, GroundPrimitive as qc, PolylineMaterialAppearance as ra, GroundPolylinePrimitive as Uc, PrimitiveCollection as $t, BillboardCollection as Qf, LabelCollection as eg, Billboard as Wc, Resource as tg, CesiumTerrainProvider as sh, Cartesian4 as rh, sampleTerrain as ig, Ellipsoid as $o, Clock as sg, DataSourceClock as rg, JulianDate as Yc, KeyboardEventModifier as io, ScreenSpaceEventType as Ni, CesiumWidget as ng, DataSourceDisplay as nh, DataSourceCollection as ah, RequestScheduler as ag, ScreenSpaceEventHandler as og, Ray as Xc, Camera as Zc, ImageryLayer as vs, CustomDataSource as Jc, BoundingSphere as Kc, Intersect as $n, BillboardVisualizer as lg, LabelVisualizer as hg, PointVisualizer as cg, WebMercatorTilingScheme as yl, GeographicTilingScheme as Qc, Rectangle as Et, Cesium3DTileset as na, Composite3DTileContent as ug, ConstantProperty as eu, HeadingPitchRange as dg, BoundingSphereState as oh, OpenStreetMapImageryProvider as fg, SingleTileImageryProvider as gg, TileMapServiceImageryProvider as mg, Event as qo, WebMapServiceImageryProvider as pg, WebMapTileServiceImageryProvider as yg, TileBoundingRegion as _g, QuadtreeTileProvider as vg, QuadtreeTileLoadState as Ln, Visibility as sr, EntityCollection as Sg, CzmlDataSource as wg, QuadtreePrimitive as Cg, Plane as oe, ClippingPlaneCollection as Nr, ClippingPlane as Rr, Globe as Mg, LinearSpline as xg, QuaternionSpline as Eg, IntersectionTests as Og, Matrix2 as lh, CoplanarPolygonGeometry as bg } from "./cesium-5a0d7ac6.js";
6
- const Ss = Symbol("isMatcher"), Pg = Symbol("Integer"), Lg = Symbol("NonEmptyString"), _l = /* @__PURE__ */ new Map();
4
+ import { ol$proj$getTransform as $e, ol$proj$get as ef, ol$proj$equivalent as tf, ol$proj$proj4$register as th, ol$sphere$getDistance as bc, ol$geom$Circle as bt, ol$geom$GeometryCollection as Yi, ol$style$Style as K, ol$style$Fill as et, ol$style$Stroke as Be, ol$style$Text as on, ol$style$Icon as ni, ol$style$Circle as Vi, ol$style$RegularShape as Us, ol$has$DEVICE_PIXEL_RATIO as sf, ol$style$Image as Pc, ol$Feature as ue, ol$extent$containsCoordinate as Qn, ol$Map as rf, ol$interaction$defaults as nf, ol$Observable$unByKey as le, ol$View as dl, ol$easing$inAndOut as af, ol$extent$containsXY as Lc, ol$extent$boundingExtent as Ir, ol$layer$Vector as Ic, ol$geom$SimpleGeometry as of, ol$geom$Point as Ve, ol$geom$LineString as xt, ol$geom$Polygon as ht, ol$geom$MultiPoint as fl, ol$geom$MultiLineString as Ga, ol$geom$MultiPolygon as ks, ol$sphere$offset as Vn, ol$geom$Polygon$fromCircle as Tc, ol$geom$Polygon$circular as lf, ol$colorlike$asColorLike as hf, ol$ImageState as Pn, Feature as Fe, ol$extent$getBottomLeft as gl, ol$extent$getBottomRight as Ac, ol$extent$getTopRight as Dc, ol$extent$getTopLeft as ka, ol$proj$transform as as, ol$source$Vector as Tr, ol$tilegrid$createXYZ as Nc, ol$TileState as Rc, ol$proj$Projection as cf, ol$tilegrid$TileGrid as Fc, ol$source$TileImage as uf, ol$layer$Tile as Ws, ol$extent$buffer as Gc, ol$extent$getCenter as cs, ol$geom$Polygon$fromExtent as kc, ol$proj$transformExtent as ih, ol$format$GeoJSON as zc, ol$extent$getWidth as zo, ol$source$TileWMS as df, ol$source$ImageWMS as ff, ol$format$GML2 as Ho, ol$format$WFS as Bo, ol$format$GML3 as Vo, ol$extent$createEmpty as zs, ol$structs$LRUCache as gf, ol$extent$createOrUpdateFromCoordinate as mf, ol$render$canvas$Immediate as pf, ol$geom$flat$transform$transform2D as yf, ol$extent$intersects as Hc, ol$geom$SimpleGeometry$transformGeom2D as _f, ol$transform$scale as vf, ol$transform$create as Sf, ol$transform$compose as wf, ol$extent$extend as Ar, ol$source$OSM as Cf, ol$layer$Image as Bc, ol$source$ImageStatic as Mf, ol$source$TileDebug as xf, ol$source$XYZ as Ef, ol$source$VectorTile as Of, ol$layer$VectorTile as bf, ol$tilegrid$WMTS as Pf, ol$source$WMTS as Lf, ol$format$MVT as If, ol$coordinate$equals as Tf, ol$interaction$DragPan as Af, ol$extent$isEmpty as jo, ol$geom$LinearRing as Df } from "./ol-fce836a3.js";
5
+ import { Cartesian3 as _, Math as b, Cartographic as ee, Cesium3DTileStyle as ea, Cesium3DTileColorBlendMode as jn, Color as U, TrustedServers as fi, VerticalOrigin as Lt, Cesium3DTileFeature as Xi, Cesium3DTilePointFeature as Zi, Entity as Ji, Material as At, Cartesian2 as H, Matrix3 as Q, Quaternion as ta, Primitive as St, GeometryInstance as Ze, FrustumGeometry as Nf, ColorGeometryInstanceAttribute as Dr, PerInstanceColorAppearance as Hs, FrustumOutlineGeometry as Rf, destroyObject as Ff, EasingFunction as Gf, ConditionsExpression as kf, Expression as zf, HeightReference as Y, ClassificationType as os, NearFarScalar as wr, SplitDirection as we, sampleTerrainMostDetailed as Ys, PolygonOutlineGeometry as Hf, GroundPolylineGeometry as ml, PolylineGeometry as ls, PolygonHierarchy as $o, PolygonGeometry as Bf, CircleOutlineGeometry as Vf, CircleGeometry as jf, HeadingPitchRoll as us, Matrix4 as G, Transforms as ji, Model as pl, MaterialAppearance as ia, ModelAnimationLoop as $f, CylinderOutlineGeometry as qf, CylinderGeometry as Vc, EllipsoidOutlineGeometry as Uf, EllipsoidGeometry as jc, SphereOutlineGeometry as Wf, SphereGeometry as Yf, BoxOutlineGeometry as Xf, BoxGeometry as yl, LabelStyle as to, HorizontalOrigin as io, WallGeometry as Zf, WallOutlineGeometry as Jf, ArcType as sa, CatmullRomSpline as $c, ClassificationPrimitive as za, SceneTransforms as Kf, ShadowMode as Ha, GroundPrimitive as qc, PolylineMaterialAppearance as ra, GroundPolylinePrimitive as Uc, PrimitiveCollection as $t, BillboardCollection as Qf, LabelCollection as eg, Billboard as Wc, Resource as tg, CesiumTerrainProvider as sh, Cartesian4 as rh, sampleTerrain as ig, Ellipsoid as qo, Clock as sg, DataSourceClock as rg, JulianDate as Yc, KeyboardEventModifier as so, ScreenSpaceEventType as Ni, CesiumWidget as ng, DataSourceDisplay as nh, DataSourceCollection as ah, RequestScheduler as ag, ScreenSpaceEventHandler as og, Ray as Xc, Camera as Zc, ImageryLayer as vs, CustomDataSource as Jc, BoundingSphere as Kc, Intersect as $n, BillboardVisualizer as lg, LabelVisualizer as hg, PointVisualizer as cg, WebMercatorTilingScheme as _l, GeographicTilingScheme as Qc, Rectangle as Et, Cesium3DTileset as na, Composite3DTileContent as ug, ConstantProperty as eu, HeadingPitchRange as dg, BoundingSphereState as oh, OpenStreetMapImageryProvider as fg, SingleTileImageryProvider as gg, TileMapServiceImageryProvider as mg, Event as Uo, WebMapServiceImageryProvider as pg, WebMapTileServiceImageryProvider as yg, TileBoundingRegion as _g, QuadtreeTileProvider as vg, QuadtreeTileLoadState as Ln, Visibility as sr, EntityCollection as Sg, CzmlDataSource as wg, QuadtreePrimitive as Cg, Plane as oe, ClippingPlaneCollection as Nr, ClippingPlane as Rr, Globe as Mg, LinearSpline as xg, QuaternionSpline as Eg, IntersectionTests as Og, Matrix2 as lh, CoplanarPolygonGeometry as bg } from "./cesium-200a1e8a.js";
6
+ const Ss = Symbol("isMatcher"), Pg = Symbol("Integer"), Lg = Symbol("NonEmptyString"), vl = /* @__PURE__ */ new Map();
7
7
  [
8
8
  [String, "string"],
9
9
  [Number, "number"],
@@ -12,7 +12,7 @@ const Ss = Symbol("isMatcher"), Pg = Symbol("Integer"), Lg = Symbol("NonEmptyStr
12
12
  [void 0, "undefined"],
13
13
  [Symbol, "symbol"]
14
14
  ].forEach(([i, t]) => {
15
- _l.set(i, t);
15
+ vl.set(i, t);
16
16
  });
17
17
  function Ig(i) {
18
18
  return i == null ? void 0 : i[Ss];
@@ -59,14 +59,14 @@ function Ag(i, t, e) {
59
59
  }
60
60
  return null;
61
61
  }
62
- function Uo(i, t, e, s) {
62
+ function Wo(i, t, e, s) {
63
63
  const r = s ? `${s}.` : "";
64
64
  if (!Fr(i))
65
65
  return `Expected ${Ye(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 Fr(t[l]) ? a = Uo(c, t[l], e, r + l) : a = e(c, t[l]), a;
69
+ return Fr(t[l]) ? a = Wo(c, t[l], e, r + l) : a = e(c, t[l]), a;
70
70
  });
71
71
  return o ? `${String(a)} in object.${r}${o}` : !1;
72
72
  }
@@ -77,13 +77,13 @@ function Dg(i, t) {
77
77
  return Number.isInteger(i) ? !1 : `expected ${Ye(i)} to be an integer number`;
78
78
  if (t === Lg)
79
79
  return typeof i == "string" && i.length > 0 ? !1 : `expected ${Ye(i)} to be a non-empty string`;
80
- const e = _l.get(t);
80
+ const e = vl.get(t);
81
81
  return e ? typeof i === e ? !1 : `expected ${Ye(i)} to be a ${String(e)}` : null;
82
82
  }
83
- function Ha(i) {
83
+ function Ba(i) {
84
84
  if (i === null)
85
85
  return "null";
86
- const t = _l.get(i);
86
+ const t = vl.get(i);
87
87
  if (t)
88
88
  return t;
89
89
  const e = i == null ? void 0 : i.className;
@@ -98,7 +98,7 @@ function Ha(i) {
98
98
  if (Fr(i)) {
99
99
  const n = {};
100
100
  Object.keys(i).forEach((a) => {
101
- n[a] = Ha(i[a]);
101
+ n[a] = Ba(i[a]);
102
102
  });
103
103
  try {
104
104
  s = `Object of ${JSON.stringify(n)}`;
@@ -127,11 +127,11 @@ function Xs(i, t) {
127
127
  if (Array.isArray(r))
128
128
  return Ag(s, r, e);
129
129
  if (r === Object)
130
- return Uo(s, {}, e);
130
+ return Wo(s, {}, e);
131
131
  if (r instanceof Function)
132
- return s instanceof r ? !1 : `Expected ${Ye(s, !0)} to be of Type ${Ha(r)}`;
132
+ return s instanceof r ? !1 : `Expected ${Ye(s, !0)} to be of Type ${Ba(r)}`;
133
133
  if (typeof r == "object") {
134
- const o = Uo(s, r, e);
134
+ const o = Wo(s, r, e);
135
135
  return o || !1;
136
136
  }
137
137
  throw new Error(`Cannot handle pattern ${String(r)}`);
@@ -166,7 +166,7 @@ function tu(i) {
166
166
  return t[Ss] = !0, t;
167
167
  }
168
168
  function je(...i) {
169
- const t = (e) => i.every((r) => Xs(e, r)) ? `Expected ${Ye(e)} to be a ${i.map((r) => Ha(r)).join(" or ")}` : !1;
169
+ const t = (e) => i.every((r) => Xs(e, r)) ? `Expected ${Ye(e)} to be a ${i.map((r) => Ba(r)).join(" or ")}` : !1;
170
170
  return t[Ss] = !0, t;
171
171
  }
172
172
  function Fg(i) {
@@ -178,7 +178,7 @@ function Fg(i) {
178
178
  return t[Ss] = !0, t;
179
179
  }
180
180
  function hh(i) {
181
- const t = (e) => Fr(e) ? Object.values(e).every((r) => ws(r, i)) ? !1 : `Not all values of ${Ye(e)} are of type ${Ha(i)}` : `Expected ${Ye(e)} to be a plain Object`;
181
+ const t = (e) => Fr(e) ? Object.values(e).every((r) => ws(r, i)) ? !1 : `Not all values of ${Ye(e)} are of type ${Ba(i)}` : `Expected ${Ye(e)} to be a plain Object`;
182
182
  return t[Ss] = !0, t;
183
183
  }
184
184
  function aa(i) {
@@ -189,7 +189,7 @@ function aa(i) {
189
189
  function Gg(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 ds = 1, fs = 2, Fs = 3, kg = 4, Wo = 5, ch = 6378137, zg = 6356752314e-3, uh = 0.0066943799901413165, Cr = 484813681109536e-20, O = Math.PI / 2, Hg = 0.16666666666666666, Bg = 0.04722222222222222, Vg = 0.022156084656084655, T = 1e-10, Ue = 0.017453292519943295, ii = 57.29577951308232, se = Math.PI / 4, Gr = Math.PI * 2, xe = 3.14159265359, Pt = {};
192
+ var ds = 1, fs = 2, Fs = 3, kg = 4, Yo = 5, ch = 6378137, zg = 6356752314e-3, uh = 0.0066943799901413165, Cr = 484813681109536e-20, O = Math.PI / 2, Hg = 0.16666666666666666, Bg = 0.04722222222222222, Vg = 0.022156084656084655, T = 1e-10, Ue = 0.017453292519943295, ii = 57.29577951308232, se = Math.PI / 4, Gr = Math.PI * 2, xe = 3.14159265359, Pt = {};
193
193
  Pt.greenwich = 0;
194
194
  Pt.lisbon = -9.131906111111;
195
195
  Pt.paris = 2.337229166667;
@@ -215,7 +215,7 @@ function $i(i, t) {
215
215
  if (n = e[r], a = n.toLowerCase().replace(dh, ""), a === s)
216
216
  return i[n];
217
217
  }
218
- function Yo(i) {
218
+ function Xo(i) {
219
219
  var t = {}, e = i.split("+").map(function(o) {
220
220
  return o.trim();
221
221
  }).filter(function(o) {
@@ -324,7 +324,7 @@ function Yo(i) {
324
324
  r = e[s], s in a ? (n = a[s], typeof n == "function" ? n(r) : t[n] = r) : t[s] = r;
325
325
  return typeof t.datumCode == "string" && t.datumCode !== "WGS84" && (t.datumCode = t.datumCode.toLowerCase()), t;
326
326
  }
327
- var kr = 1, iu = 2, su = 3, oa = 4, ru = 5, vl = -1, $g = /\s/, qg = /[A-Za-z]/, Ug = /[A-Za-z84_]/, Ba = /[,\]]/, nu = /[\d\.E\-\+]/;
327
+ var kr = 1, iu = 2, su = 3, oa = 4, ru = 5, Sl = -1, $g = /\s/, qg = /[A-Za-z]/, Ug = /[A-Za-z84_]/, Va = /[,\]]/, nu = /[\d\.E\-\+]/;
328
328
  function Ti(i) {
329
329
  if (typeof i != "string")
330
330
  throw new Error("not a string");
@@ -349,7 +349,7 @@ Ti.prototype.readCharicter = function() {
349
349
  return this.afterquote(i);
350
350
  case su:
351
351
  return this.number(i);
352
- case vl:
352
+ case Sl:
353
353
  return;
354
354
  }
355
355
  };
@@ -358,7 +358,7 @@ Ti.prototype.afterquote = function(i) {
358
358
  this.word += '"', this.state = oa;
359
359
  return;
360
360
  }
361
- if (Ba.test(i)) {
361
+ if (Va.test(i)) {
362
362
  this.word = this.word.trim(), this.afterItem(i);
363
363
  return;
364
364
  }
@@ -370,7 +370,7 @@ Ti.prototype.afterItem = function(i) {
370
370
  return;
371
371
  }
372
372
  if (i === "]") {
373
- this.level--, this.word !== null && (this.currentObject.push(this.word), this.word = null), this.state = kr, this.currentObject = this.stack.pop(), this.currentObject || (this.state = vl);
373
+ this.level--, this.word !== null && (this.currentObject.push(this.word), this.word = null), this.state = kr, this.currentObject = this.stack.pop(), this.currentObject || (this.state = Sl);
374
374
  return;
375
375
  }
376
376
  };
@@ -379,7 +379,7 @@ Ti.prototype.number = function(i) {
379
379
  this.word += i;
380
380
  return;
381
381
  }
382
- if (Ba.test(i)) {
382
+ if (Va.test(i)) {
383
383
  this.word = parseFloat(this.word), this.afterItem(i);
384
384
  return;
385
385
  }
@@ -402,7 +402,7 @@ Ti.prototype.keyword = function(i) {
402
402
  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 = kr;
403
403
  return;
404
404
  }
405
- if (Ba.test(i)) {
405
+ if (Va.test(i)) {
406
406
  this.afterItem(i);
407
407
  return;
408
408
  }
@@ -421,7 +421,7 @@ Ti.prototype.neutral = function(i) {
421
421
  this.word = i, this.state = su;
422
422
  return;
423
423
  }
424
- if (Ba.test(i)) {
424
+ if (Va.test(i)) {
425
425
  this.afterItem(i);
426
426
  return;
427
427
  }
@@ -430,7 +430,7 @@ Ti.prototype.neutral = function(i) {
430
430
  Ti.prototype.output = function() {
431
431
  for (; this.place < this.text.length; )
432
432
  this.readCharicter();
433
- if (this.state === vl)
433
+ if (this.state === Sl)
434
434
  return this.root;
435
435
  throw new Error('unable to parse string "' + this.text + '". State is ' + this.state);
436
436
  };
@@ -594,7 +594,7 @@ function nt(i) {
594
594
  var t = this;
595
595
  if (arguments.length === 2) {
596
596
  var e = arguments[1];
597
- typeof e == "string" ? e.charAt(0) === "+" ? nt[i] = Yo(arguments[1]) : nt[i] = au(arguments[1]) : nt[i] = e;
597
+ typeof e == "string" ? e.charAt(0) === "+" ? nt[i] = Xo(arguments[1]) : nt[i] = au(arguments[1]) : nt[i] = e;
598
598
  } else if (arguments.length === 1) {
599
599
  if (Array.isArray(i))
600
600
  return i.map(function(s) {
@@ -645,10 +645,10 @@ function nm(i) {
645
645
  if (im(t))
646
646
  return nt["EPSG:3857"];
647
647
  var e = sm(t);
648
- return e ? Yo(e) : t;
648
+ return e ? Xo(e) : t;
649
649
  }
650
650
  if (rm(i))
651
- return Yo(i);
651
+ return Xo(i);
652
652
  } else
653
653
  return i;
654
654
  }
@@ -1089,7 +1089,7 @@ Ge.rnb72 = {
1089
1089
  };
1090
1090
  function wm(i, t, e, s, r, n, a) {
1091
1091
  var o = {};
1092
- return i === void 0 || i === "none" ? o.datum_type = Wo : o.datum_type = kg, t && (o.datum_params = t.map(parseFloat), (o.datum_params[0] !== 0 || o.datum_params[1] !== 0 || o.datum_params[2] !== 0) && (o.datum_type = ds), o.datum_params.length > 3 && (o.datum_params[3] !== 0 || o.datum_params[4] !== 0 || o.datum_params[5] !== 0 || o.datum_params[6] !== 0) && (o.datum_type = fs, o.datum_params[3] *= Cr, o.datum_params[4] *= Cr, o.datum_params[5] *= Cr, o.datum_params[6] = o.datum_params[6] / 1e6 + 1)), a && (o.datum_type = Fs, o.grids = a), o.a = e, o.b = s, o.es = r, o.ep2 = n, o;
1092
+ return i === void 0 || i === "none" ? o.datum_type = Yo : o.datum_type = kg, t && (o.datum_params = t.map(parseFloat), (o.datum_params[0] !== 0 || o.datum_params[1] !== 0 || o.datum_params[2] !== 0) && (o.datum_type = ds), o.datum_params.length > 3 && (o.datum_params[3] !== 0 || o.datum_params[4] !== 0 || o.datum_params[5] !== 0 || o.datum_params[6] !== 0) && (o.datum_type = fs, o.datum_params[3] *= Cr, o.datum_params[4] *= Cr, o.datum_params[5] *= Cr, o.datum_params[6] = o.datum_params[6] / 1e6 + 1)), a && (o.datum_type = Fs, o.grids = a), o.a = e, o.b = s, o.es = r, o.ep2 = n, o;
1093
1093
  }
1094
1094
  var lu = {};
1095
1095
  function Cm(i, t) {
@@ -1125,14 +1125,14 @@ function Om(i, t) {
1125
1125
  nFields: i.getInt32(8, t),
1126
1126
  nSubgridFields: i.getInt32(24, t),
1127
1127
  nSubgrids: i.getInt32(40, t),
1128
- shiftType: Xo(i, 56, 64).trim(),
1128
+ shiftType: Zo(i, 56, 64).trim(),
1129
1129
  fromSemiMajorAxis: i.getFloat64(120, t),
1130
1130
  fromSemiMinorAxis: i.getFloat64(136, t),
1131
1131
  toSemiMajorAxis: i.getFloat64(152, t),
1132
1132
  toSemiMinorAxis: i.getFloat64(168, t)
1133
1133
  };
1134
1134
  }
1135
- function Xo(i, t, e) {
1135
+ function Zo(i, t, e) {
1136
1136
  return String.fromCharCode.apply(null, new Uint8Array(i.buffer.slice(t, e)));
1137
1137
  }
1138
1138
  function bm(i, t, e) {
@@ -1159,8 +1159,8 @@ function Pm(i) {
1159
1159
  }
1160
1160
  function Lm(i, t, e) {
1161
1161
  return {
1162
- name: Xo(i, t + 8, t + 16).trim(),
1163
- parent: Xo(i, t + 24, t + 24 + 8).trim(),
1162
+ name: Zo(i, t + 8, t + 16).trim(),
1163
+ parent: Zo(i, t + 24, t + 24 + 8).trim(),
1164
1164
  lowerLatitude: i.getFloat64(t + 72, e),
1165
1165
  upperLatitude: i.getFloat64(t + 88, e),
1166
1166
  lowerLongitude: i.getFloat64(t + 104, e),
@@ -1295,7 +1295,7 @@ function In(i) {
1295
1295
  return i === ds || i === fs;
1296
1296
  }
1297
1297
  function Nm(i, t, e) {
1298
- if (Tm(i, t) || i.datum_type === Wo || t.datum_type === Wo)
1298
+ if (Tm(i, t) || i.datum_type === Yo || t.datum_type === Yo)
1299
1299
  return e;
1300
1300
  var s = i.a, r = i.es;
1301
1301
  if (i.datum_type === Fs) {
@@ -1465,7 +1465,7 @@ function ha(i, t, e, s) {
1465
1465
  })), s && t.axis !== "enu" ? _h(t, !0, e) : (e && !n && delete e.z, e);
1466
1466
  }
1467
1467
  var Sh = si("WGS84");
1468
- function so(i, t, e, s) {
1468
+ function ro(i, t, e, s) {
1469
1469
  var r, n, a;
1470
1470
  return Array.isArray(e) ? (r = ha(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.slice(3)) : [r.x, r.y, e[2]].concat(e.slice(3)) : [r.x, r.y].concat(e.slice(2)) : [r.x, r.y]) : (n = ha(i, t, e, s), a = Object.keys(e), a.length === 2 || a.forEach(function(o) {
1471
1471
  if (typeof i.name < "u" && i.name === "geocent" || typeof t.name < "u" && t.name === "geocent") {
@@ -1482,12 +1482,12 @@ function wh(i) {
1482
1482
  function Re(i, t, e) {
1483
1483
  i = wh(i);
1484
1484
  var s = !1, r;
1485
- return typeof t > "u" ? (t = i, i = Sh, s = !0) : (typeof t.x < "u" || Array.isArray(t)) && (e = t, t = i, i = Sh, s = !0), t = wh(t), e ? so(i, t, e) : (r = {
1485
+ return typeof t > "u" ? (t = i, i = Sh, s = !0) : (typeof t.x < "u" || Array.isArray(t)) && (e = t, t = i, i = Sh, s = !0), t = wh(t), e ? ro(i, t, e) : (r = {
1486
1486
  forward: function(n, a) {
1487
- return so(i, t, n, a);
1487
+ return ro(i, t, n, a);
1488
1488
  },
1489
1489
  inverse: function(n, a) {
1490
- return so(t, i, n, a);
1490
+ return ro(t, i, n, a);
1491
1491
  }
1492
1492
  }, s && (r.oProj = t), r);
1493
1493
  }
@@ -1504,22 +1504,22 @@ function gu(i, t) {
1504
1504
  }), t);
1505
1505
  }
1506
1506
  function zm(i) {
1507
- var t = Sl(yu(i.toUpperCase()));
1507
+ var t = wl(yu(i.toUpperCase()));
1508
1508
  return t.lat && t.lon ? [t.lon, t.lat, t.lon, t.lat] : [t.left, t.bottom, t.right, t.top];
1509
1509
  }
1510
1510
  function mu(i) {
1511
- var t = Sl(yu(i.toUpperCase()));
1511
+ var t = wl(yu(i.toUpperCase()));
1512
1512
  return t.lat && t.lon ? [t.lon, t.lat] : [(t.left + t.right) / 2, (t.top + t.bottom) / 2];
1513
1513
  }
1514
- function ro(i) {
1514
+ function no(i) {
1515
1515
  return i * (Math.PI / 180);
1516
1516
  }
1517
1517
  function Mh(i) {
1518
1518
  return 180 * (i / Math.PI);
1519
1519
  }
1520
1520
  function Hm(i) {
1521
- var t = i.lat, e = i.lon, s = 6378137, r = 669438e-8, n = 0.9996, a, o, l, c, d, u, f, g = ro(t), m = ro(e), p, y;
1522
- y = Math.floor((e + 180) / 6) + 1, e === 180 && (y = 60), t >= 56 && t < 64 && e >= 3 && e < 12 && (y = 32), t >= 72 && t < 84 && (e >= 0 && e < 9 ? y = 31 : e >= 9 && e < 21 ? y = 33 : e >= 21 && e < 33 ? y = 35 : e >= 33 && e < 42 && (y = 37)), a = (y - 1) * 6 - 180 + 3, p = ro(a), o = r / (1 - r), l = s / Math.sqrt(1 - r * Math.sin(g) * Math.sin(g)), c = Math.tan(g) * Math.tan(g), d = o * Math.cos(g) * Math.cos(g), u = Math.cos(g) * (m - p), f = s * ((1 - r / 4 - 3 * r * r / 64 - 5 * r * r * r / 256) * g - (3 * r / 8 + 3 * r * r / 32 + 45 * r * r * r / 1024) * Math.sin(2 * g) + (15 * r * r / 256 + 45 * r * r * r / 1024) * Math.sin(4 * g) - 35 * r * r * r / 3072 * Math.sin(6 * g));
1521
+ var t = i.lat, e = i.lon, s = 6378137, r = 669438e-8, n = 0.9996, a, o, l, c, d, u, f, g = no(t), m = no(e), p, y;
1522
+ y = Math.floor((e + 180) / 6) + 1, e === 180 && (y = 60), t >= 56 && t < 64 && e >= 3 && e < 12 && (y = 32), t >= 72 && t < 84 && (e >= 0 && e < 9 ? y = 31 : e >= 9 && e < 21 ? y = 33 : e >= 21 && e < 33 ? y = 35 : e >= 33 && e < 42 && (y = 37)), a = (y - 1) * 6 - 180 + 3, p = no(a), o = r / (1 - r), l = s / Math.sqrt(1 - r * Math.sin(g) * Math.sin(g)), c = Math.tan(g) * Math.tan(g), d = o * Math.cos(g) * Math.cos(g), u = Math.cos(g) * (m - p), f = s * ((1 - r / 4 - 3 * r * r / 64 - 5 * r * r * r / 256) * g - (3 * r / 8 + 3 * r * r / 32 + 45 * r * r * r / 1024) * Math.sin(2 * g) + (15 * r * r / 256 + 45 * r * r * r / 1024) * Math.sin(4 * g) - 35 * r * r * r / 3072 * Math.sin(6 * g));
1523
1523
  var v = n * l * (u + (1 - c + d) * u * u * u / 6 + (5 - 18 * c + c * c + 72 * d - 58 * o) * u * u * u * u * u / 120) + 5e5, w = n * (f + l * Math.tan(g) * (u * u / 2 + (5 - c + 9 * d + 4 * d * d) * u * u * u * u / 24 + (61 - 58 * c + c * c + 600 * d - 330 * o) * u * u * u * u * u * u / 720));
1524
1524
  return t < 0 && (w += 1e7), {
1525
1525
  northing: Math.round(w),
@@ -1528,7 +1528,7 @@ function Hm(i) {
1528
1528
  zoneLetter: Bm(t)
1529
1529
  };
1530
1530
  }
1531
- function Sl(i) {
1531
+ function wl(i) {
1532
1532
  var t = i.northing, e = i.easting, s = i.zoneLetter, r = i.zoneNumber;
1533
1533
  if (r < 0 || r > 60)
1534
1534
  return null;
@@ -1540,7 +1540,7 @@ function Sl(i) {
1540
1540
  I = y + Mh(I);
1541
1541
  var R;
1542
1542
  if (i.accuracy) {
1543
- var D = Sl({
1543
+ var D = wl({
1544
1544
  northing: i.northing + i.accuracy,
1545
1545
  easting: i.easting + i.accuracy,
1546
1546
  zoneLetter: i.zoneLetter,
@@ -1728,7 +1728,7 @@ Bs.prototype.toMGRS = function(i) {
1728
1728
  return gu([this.x, this.y], i);
1729
1729
  };
1730
1730
  var Ym = 1, Xm = 0.25, xh = 0.046875, Eh = 0.01953125, Oh = 0.01068115234375, Zm = 0.75, Jm = 0.46875, Km = 0.013020833333333334, Qm = 0.007120768229166667, ep = 0.3645833333333333, tp = 0.005696614583333333, ip = 0.3076171875;
1731
- function wl(i) {
1731
+ function Cl(i) {
1732
1732
  var t = [];
1733
1733
  t[0] = Ym - i * (Xm + i * (xh + i * (Eh + i * Oh))), t[1] = i * (Zm - i * (xh + i * (Eh + i * Oh)));
1734
1734
  var e = i * i;
@@ -1738,7 +1738,7 @@ function Zs(i, t, e, s) {
1738
1738
  return e *= t, t *= t, s[0] * i - e * (s[1] + t * (s[2] + t * (s[3] + t * s[4])));
1739
1739
  }
1740
1740
  var sp = 20;
1741
- function Cl(i, t, e) {
1741
+ function Ml(i, t, e) {
1742
1742
  for (var s = 1 / (1 - t), r = i, n = sp; n; --n) {
1743
1743
  var a = Math.sin(r), o = 1 - t * a * a;
1744
1744
  if (o = (Zs(r, a, Math.cos(r), e) - i) * (o * Math.sqrt(o)) * s, r -= o, Math.abs(o) < T)
@@ -1747,7 +1747,7 @@ function Cl(i, t, e) {
1747
1747
  return r;
1748
1748
  }
1749
1749
  function rp() {
1750
- 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.es && (this.en = wl(this.es), this.ml0 = Zs(this.lat0, Math.sin(this.lat0), Math.cos(this.lat0), this.en));
1750
+ 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.es && (this.en = Cl(this.es), this.ml0 = Zs(this.lat0, Math.sin(this.lat0), Math.cos(this.lat0), this.en));
1751
1751
  }
1752
1752
  function np(i) {
1753
1753
  var t = i.x, e = i.y, s = A(t - this.long0), r, n, a, o = Math.sin(e), l = Math.cos(e);
@@ -1773,7 +1773,7 @@ function np(i) {
1773
1773
  function ap(i) {
1774
1774
  var t, e, s, r, n = (i.x - this.x0) * (1 / this.a), a = (i.y - this.y0) * (1 / this.a);
1775
1775
  if (this.es)
1776
- if (t = this.ml0 + a / this.k0, e = Cl(t, this.es, this.en), Math.abs(e) < O) {
1776
+ if (t = this.ml0 + a / this.k0, e = Ml(t, this.es, this.en), Math.abs(e) < O) {
1777
1777
  var u = Math.sin(e), f = Math.cos(e), g = Math.abs(f) > T ? Math.tan(e) : 0, m = this.ep2 * Math.pow(f, 2), p = Math.pow(m, 2), y = Math.pow(g, 2), v = Math.pow(y, 2);
1778
1778
  t = 1 - this.es * Math.pow(u, 2);
1779
1779
  var w = n * Math.sqrt(t) / this.k0, C = Math.pow(w, 2);
@@ -1810,7 +1810,7 @@ function hp(i) {
1810
1810
  var t = Math.abs(i);
1811
1811
  return t = lp(t * (1 + t / (pt(1, t) + 1))), i < 0 ? -t : t;
1812
1812
  }
1813
- function Ml(i, t) {
1813
+ function xl(i, t) {
1814
1814
  for (var e = 2 * Math.cos(2 * t), s = i.length - 1, r = i[s], n = 0, a; --s >= 0; )
1815
1815
  a = -n + e * r + i[s], n = r, r = a;
1816
1816
  return t + a * Math.sin(2 * t);
@@ -1835,12 +1835,12 @@ function dp() {
1835
1835
  this.approx && (Un.init.apply(this), this.forward = Un.forward, this.inverse = Un.inverse), this.x0 = this.x0 !== void 0 ? this.x0 : 0, this.y0 = this.y0 !== void 0 ? this.y0 : 0, this.long0 = this.long0 !== void 0 ? this.long0 : 0, this.lat0 = this.lat0 !== void 0 ? this.lat0 : 0, this.cgb = [], this.cbg = [], this.utg = [], this.gtu = [];
1836
1836
  var i = this.es / (1 + Math.sqrt(1 - this.es)), t = i / (2 - i), e = t;
1837
1837
  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);
1838
- var s = Ml(this.cbg, this.lat0);
1838
+ var s = xl(this.cbg, this.lat0);
1839
1839
  this.Zb = -this.Qn * (s + cp(this.gtu, 2 * s));
1840
1840
  }
1841
1841
  function fp(i) {
1842
1842
  var t = A(i.x - this.long0), e = i.y;
1843
- e = Ml(this.cbg, e);
1843
+ e = xl(this.cbg, e);
1844
1844
  var s = Math.sin(e), r = Math.cos(e), n = Math.sin(t), a = Math.cos(t);
1845
1845
  e = Math.atan2(s, a * r), t = Math.atan2(n * r, pt(s, r * a)), t = hp(Math.tan(t));
1846
1846
  var o = vu(this.gtu, 2 * e, 2 * t);
@@ -1856,7 +1856,7 @@ function gp(i) {
1856
1856
  var n = vu(this.utg, 2 * e, 2 * t);
1857
1857
  e = e + n[0], t = t + n[1], t = Math.atan(_u(t));
1858
1858
  var a = Math.sin(e), o = Math.cos(e), l = Math.sin(t), c = Math.cos(t);
1859
- e = Math.atan2(a * c, pt(l, c * o)), t = Math.atan2(l, c * o), s = A(t + this.long0), r = Ml(this.cgb, e);
1859
+ e = Math.atan2(a * c, pt(l, c * o)), t = Math.atan2(l, c * o), s = A(t + this.long0), r = xl(this.cgb, e);
1860
1860
  } else
1861
1861
  s = 1 / 0, r = 1 / 0;
1862
1862
  return i.x = s, i.y = r, i;
@@ -1890,36 +1890,36 @@ const Sp = {
1890
1890
  names: vp,
1891
1891
  dependsOn: yp
1892
1892
  };
1893
- function xl(i, t) {
1893
+ function El(i, t) {
1894
1894
  return Math.pow((1 - i) / (1 + i), t);
1895
1895
  }
1896
1896
  var wp = 20;
1897
1897
  function Cp() {
1898
1898
  var i = Math.sin(this.lat0), t = Math.cos(this.lat0);
1899
- t *= t, this.rc = Math.sqrt(1 - this.es) / (1 - this.es * i * i), this.C = Math.sqrt(1 + this.es * t * t / (1 - this.es)), this.phic0 = Math.asin(i / this.C), this.ratexp = 0.5 * this.C * this.e, this.K = Math.tan(0.5 * this.phic0 + se) / (Math.pow(Math.tan(0.5 * this.lat0 + se), this.C) * xl(this.e * i, this.ratexp));
1899
+ t *= t, this.rc = Math.sqrt(1 - this.es) / (1 - this.es * i * i), this.C = Math.sqrt(1 + this.es * t * t / (1 - this.es)), this.phic0 = Math.asin(i / this.C), this.ratexp = 0.5 * this.C * this.e, this.K = Math.tan(0.5 * this.phic0 + se) / (Math.pow(Math.tan(0.5 * this.lat0 + se), this.C) * El(this.e * i, this.ratexp));
1900
1900
  }
1901
1901
  function Mp(i) {
1902
1902
  var t = i.x, e = i.y;
1903
- return i.y = 2 * Math.atan(this.K * Math.pow(Math.tan(0.5 * e + se), this.C) * xl(this.e * Math.sin(e), this.ratexp)) - O, i.x = this.C * t, i;
1903
+ return i.y = 2 * Math.atan(this.K * Math.pow(Math.tan(0.5 * e + se), this.C) * El(this.e * Math.sin(e), this.ratexp)) - O, i.x = this.C * t, i;
1904
1904
  }
1905
1905
  function xp(i) {
1906
- for (var t = 1e-14, e = i.x / this.C, s = i.y, r = Math.pow(Math.tan(0.5 * s + se) / this.K, 1 / this.C), n = wp; n > 0 && (s = 2 * Math.atan(r * xl(this.e * Math.sin(i.y), -0.5 * this.e)) - O, !(Math.abs(s - i.y) < t)); --n)
1906
+ for (var t = 1e-14, e = i.x / this.C, s = i.y, r = Math.pow(Math.tan(0.5 * s + se) / this.K, 1 / this.C), n = wp; n > 0 && (s = 2 * Math.atan(r * El(this.e * Math.sin(i.y), -0.5 * this.e)) - O, !(Math.abs(s - i.y) < t)); --n)
1907
1907
  i.y = s;
1908
1908
  return n ? (i.x = e, i.y = s, i) : null;
1909
1909
  }
1910
1910
  var Ep = ["gauss"];
1911
- const El = {
1911
+ const Ol = {
1912
1912
  init: Cp,
1913
1913
  forward: Mp,
1914
1914
  inverse: xp,
1915
1915
  names: Ep
1916
1916
  };
1917
1917
  function Op() {
1918
- El.init.apply(this), this.rc && (this.sinc0 = Math.sin(this.phic0), this.cosc0 = Math.cos(this.phic0), this.R2 = 2 * this.rc, this.title || (this.title = "Oblique Stereographic Alternative"));
1918
+ Ol.init.apply(this), this.rc && (this.sinc0 = Math.sin(this.phic0), this.cosc0 = Math.cos(this.phic0), this.R2 = 2 * this.rc, this.title || (this.title = "Oblique Stereographic Alternative"));
1919
1919
  }
1920
1920
  function bp(i) {
1921
1921
  var t, e, s, r;
1922
- return i.x = A(i.x - this.long0), El.forward.apply(this, [i]), t = Math.sin(i.y), e = Math.cos(i.y), s = Math.cos(i.x), r = this.k0 * this.R2 / (1 + this.sinc0 * t + this.cosc0 * e * s), i.x = r * e * Math.sin(i.x), i.y = r * (this.cosc0 * t - this.sinc0 * e * s), i.x = this.a * i.x + this.x0, i.y = this.a * i.y + this.y0, i;
1922
+ return i.x = A(i.x - this.long0), Ol.forward.apply(this, [i]), t = Math.sin(i.y), e = Math.cos(i.y), s = Math.cos(i.x), r = this.k0 * this.R2 / (1 + this.sinc0 * t + this.cosc0 * e * s), i.x = r * e * Math.sin(i.x), i.y = r * (this.cosc0 * t - this.sinc0 * e * s), i.x = this.a * i.x + this.x0, i.y = this.a * i.y + this.y0, i;
1923
1923
  }
1924
1924
  function Pp(i) {
1925
1925
  var t, e, s, r, n;
@@ -1928,7 +1928,7 @@ function Pp(i) {
1928
1928
  t = Math.sin(a), e = Math.cos(a), r = Math.asin(e * this.sinc0 + i.y * t * this.cosc0 / n), s = Math.atan2(i.x * t, n * this.cosc0 * e - i.y * this.sinc0 * t);
1929
1929
  } else
1930
1930
  r = this.phic0, s = 0;
1931
- return i.x = s, i.y = r, El.inverse.apply(this, [i]), i.x = A(i.x + this.long0), i;
1931
+ return i.x = s, i.y = r, Ol.inverse.apply(this, [i]), i.x = A(i.x + this.long0), i;
1932
1932
  }
1933
1933
  var Lp = ["Stereographic_North_Pole", "Oblique_Stereographic", "sterea", "Oblique Stereographic Alternative", "Double_Stereographic"];
1934
1934
  const Ip = {
@@ -2517,7 +2517,7 @@ const l_ = {
2517
2517
  };
2518
2518
  var h_ = 20;
2519
2519
  function c_() {
2520
- this.sphere ? (this.n = 1, this.m = 0, this.es = 0, this.C_y = Math.sqrt((this.m + 1) / this.n), this.C_x = this.C_y / (this.m + 1)) : this.en = wl(this.es);
2520
+ this.sphere ? (this.n = 1, this.m = 0, this.es = 0, this.C_y = Math.sqrt((this.m + 1) / this.n), this.C_x = this.C_y / (this.m + 1)) : this.en = Cl(this.es);
2521
2521
  }
2522
2522
  function u_(i) {
2523
2523
  var t, e, s = i.x, r = i.y;
@@ -2539,7 +2539,7 @@ function u_(i) {
2539
2539
  }
2540
2540
  function d_(i) {
2541
2541
  var t, e, s, r;
2542
- return i.x -= this.x0, s = i.x / this.a, i.y -= this.y0, t = i.y / this.a, this.sphere ? (t /= this.C_y, s = s / (this.C_x * (this.m + Math.cos(t))), this.m ? t = qi((this.m * t + Math.sin(t)) / this.n) : this.n !== 1 && (t = qi(Math.sin(t) / this.n)), s = A(s + this.long0), t = Ki(t)) : (t = Cl(i.y / this.a, this.es, this.en), r = Math.abs(t), r < O ? (r = Math.sin(t), e = this.long0 + i.x * Math.sqrt(1 - this.es * r * r) / (this.a * Math.cos(t)), s = A(e)) : r - T < O && (s = this.long0)), i.x = s, i.y = t, i;
2542
+ return i.x -= this.x0, s = i.x / this.a, i.y -= this.y0, t = i.y / this.a, this.sphere ? (t /= this.C_y, s = s / (this.C_x * (this.m + Math.cos(t))), this.m ? t = qi((this.m * t + Math.sin(t)) / this.n) : this.n !== 1 && (t = qi(Math.sin(t) / this.n)), s = A(s + this.long0), t = Ki(t)) : (t = Ml(i.y / this.a, this.es, this.en), r = Math.abs(t), r < O ? (r = Math.sin(t), e = this.long0 + i.x * Math.sqrt(1 - this.es * r * r) / (this.a * Math.cos(t)), s = A(e)) : r - T < O && (s = this.long0)), i.x = s, i.y = t, i;
2543
2543
  }
2544
2544
  var f_ = ["Sinusoidal", "sinu"];
2545
2545
  const g_ = {
@@ -2726,7 +2726,7 @@ const $_ = {
2726
2726
  inverse: V_,
2727
2727
  names: j_
2728
2728
  };
2729
- var Zo = [
2729
+ var Jo = [
2730
2730
  [1, 22199e-21, -715515e-10, 31103e-10],
2731
2731
  [0.9986, -482243e-9, -24897e-9, -13309e-10],
2732
2732
  [0.9954, -83103e-8, -448605e-10, -986701e-12],
@@ -2786,7 +2786,7 @@ function X_(i) {
2786
2786
  var t = A(i.x - this.long0), e = Math.abs(i.y), s = Math.floor(e * Cu);
2787
2787
  s < 0 ? s = 0 : s >= Rs && (s = Rs - 1), e = ii * (e - q_ * s);
2788
2788
  var r = {
2789
- x: ua(Zo[s], e) * t,
2789
+ x: ua(Jo[s], e) * t,
2790
2790
  y: ua(fr[s], e)
2791
2791
  };
2792
2792
  return i.y < 0 && (r.y = -r.y), r.x = r.x * this.a * Su + this.x0, r.y = r.y * this.a * wu + this.y0, r;
@@ -2797,7 +2797,7 @@ function Z_(i) {
2797
2797
  y: Math.abs(i.y - this.y0) / (this.a * wu)
2798
2798
  };
2799
2799
  if (t.y >= 1)
2800
- t.x /= Zo[Rs][0], t.y = i.y < 0 ? -O : O;
2800
+ t.x /= Jo[Rs][0], t.y = i.y < 0 ? -O : O;
2801
2801
  else {
2802
2802
  var e = Math.floor(t.y * Rs);
2803
2803
  for (e < 0 ? e = 0 : e >= Rs && (e = Rs - 1); ; )
@@ -2810,7 +2810,7 @@ function Z_(i) {
2810
2810
  var s = fr[e], r = 5 * (t.y - s[0]) / (fr[e + 1][0] - s[0]);
2811
2811
  r = W_(function(n) {
2812
2812
  return (ua(s, n) - t.y) / U_(s, n);
2813
- }, r, T, 100), t.x /= ua(Zo[e], r), t.y = (5 * e + r) * Ue, i.y < 0 && (t.y = -t.y);
2813
+ }, r, T, 100), t.x /= ua(Jo[e], r), t.y = (5 * e + r) * Ue, i.y < 0 && (t.y = -t.y);
2814
2814
  }
2815
2815
  return t.x = A(t.x + this.long0), t;
2816
2816
  }
@@ -3010,7 +3010,7 @@ function v0() {
3010
3010
  var i;
3011
3011
  if (this.phi1 = this.lat1, Math.abs(this.phi1) < Hr)
3012
3012
  throw new Error();
3013
- this.es ? (this.en = wl(this.es), this.m1 = Zs(
3013
+ this.es ? (this.en = Cl(this.es), this.m1 = Zs(
3014
3014
  this.phi1,
3015
3015
  this.am1 = Math.sin(this.phi1),
3016
3016
  i = Math.cos(this.phi1),
@@ -3024,7 +3024,7 @@ function S0(i) {
3024
3024
  function w0(i) {
3025
3025
  i.x = (i.x - (this.x0 || 0)) / this.a, i.y = (i.y - (this.y0 || 0)) / this.a;
3026
3026
  var t, e, s, r;
3027
- if (e = pt(i.x, i.y = this.am1 - i.y), r = Cl(this.am1 + this.m1 - e, this.es, this.en), (t = Math.abs(r)) < O)
3027
+ if (e = pt(i.x, i.y = this.am1 - i.y), r = Ml(this.am1 + this.m1 - e, this.es, this.en), (t = Math.abs(r)) < O)
3028
3028
  t = Math.sin(r), s = e * Math.atan2(i.x, i.y) * Math.sqrt(1 - this.es * t * t) / Math.cos(r);
3029
3029
  else if (Math.abs(t - O) <= Hr)
3030
3030
  s = 0;
@@ -3062,39 +3062,41 @@ Re.transform = ha;
3062
3062
  Re.mgrs = km;
3063
3063
  Re.version = "__VERSION__";
3064
3064
  O0(Re);
3065
- const fa = $e("EPSG:4326", "EPSG:3857"), Ol = $e("EPSG:3857", "EPSG:4326");
3066
- let bl = {
3065
+ const fa = $e("EPSG:4326", "EPSG:3857"), bl = $e("EPSG:3857", "EPSG:4326");
3066
+ let Pl = {
3067
3067
  epsg: "EPSG:4326"
3068
3068
  };
3069
- function Pl(i, t = "EPSG:") {
3069
+ function ga(i, t = "EPSG:") {
3070
3070
  if (i) {
3071
- const e = new RegExp(`^(?:${t})?(\\d+)`, "i"), s = `${i}`.match(e);
3071
+ const e = new RegExp(`^(?:${t})?:?(\\d+)`, "i"), s = `${i}`.match(e);
3072
3072
  if (s && s[1])
3073
- return t ? `${t}${s[1]}` : s[1];
3073
+ return t ? t.endsWith(":") ? `${t}${s[1]}` : `${t}:${s[1]}` : s[1];
3074
3074
  }
3075
3075
  return "";
3076
3076
  }
3077
3077
  function Mu(i) {
3078
3078
  let t = null;
3079
- if (i.epsg)
3080
- try {
3081
- t = Re(Pl(i.epsg));
3082
- } catch {
3083
- t = null;
3084
- }
3085
- if (i.proj4)
3079
+ const e = ga(i.epsg, i.prefix);
3080
+ if (e) {
3086
3081
  try {
3087
- t = Re(i.proj4);
3082
+ t = Re(ga(e));
3088
3083
  } catch {
3089
3084
  t = null;
3090
3085
  }
3086
+ if (i.proj4)
3087
+ try {
3088
+ t = Re(i.proj4);
3089
+ } catch {
3090
+ t = null;
3091
+ }
3092
+ }
3091
3093
  return t != null;
3092
3094
  }
3093
3095
  function xu(i) {
3094
3096
  const t = {
3095
3097
  prefix: i.prefix
3096
3098
  };
3097
- return i.epsg && (t.epsg = Pl(i.epsg, i.prefix), t.epsg && (i.proj4 && (t.proj4 = i.proj4, Re.defs(t.epsg, i.proj4), th(Re)), i.alias && Array.isArray(i.alias) && (t.alias = i.alias, t.alias.forEach((e) => {
3099
+ return i.epsg && (t.epsg = ga(i.epsg, i.prefix), t.epsg && (i.proj4 && (t.proj4 = i.proj4, Re.defs(t.epsg, i.proj4), th(Re)), i.alias && Array.isArray(i.alias) && (t.alias = i.alias, t.alias.forEach((e) => {
3098
3100
  Re.defs(e, Re.defs(t.epsg)), th(Re);
3099
3101
  })))), t;
3100
3102
  }
@@ -3104,7 +3106,7 @@ function b0(i) {
3104
3106
  proj4: ie(String)
3105
3107
  }), !Mu(i))
3106
3108
  throw new Error("Cannot set invalid projection options as default options");
3107
- bl = xu(i);
3109
+ Pl = xu(i);
3108
3110
  }
3109
3111
  class z {
3110
3112
  constructor(t = { epsg: "" }) {
@@ -3113,7 +3115,7 @@ class z {
3113
3115
  h(this, "_alias");
3114
3116
  h(this, "_prefix");
3115
3117
  const e = xu(t);
3116
- this._proj4 = e.proj4, this._epsg = String(e.epsg), this.proj || (this._epsg = z.parseEPSGCode(bl.epsg)), this._alias = e.alias, this._prefix = e.prefix;
3118
+ this._proj4 = e.proj4, this._epsg = String(e.epsg), this.proj || (this._epsg = z.parseEPSGCode(Pl.epsg)), this._alias = e.alias, this._prefix = e.prefix;
3117
3119
  }
3118
3120
  static get className() {
3119
3121
  return "Projection";
@@ -3167,7 +3169,7 @@ class z {
3167
3169
  * @param inPlace - whether to transform in place
3168
3170
  */
3169
3171
  static mercatorToWgs84(t, e) {
3170
- return Ol(t, e ? t : void 0, t.length);
3172
+ return bl(t, e ? t : void 0, t.length);
3171
3173
  }
3172
3174
  /**
3173
3175
  * Fast transform from WGS84 to Web-Mercator
@@ -3190,11 +3192,11 @@ class z {
3190
3192
  * parseEPSGCode('asdasd', 'EPSG:') ==> ''
3191
3193
  */
3192
3194
  static parseEPSGCode(t, e = "EPSG:") {
3193
- return Pl(t, e);
3195
+ return ga(t, e);
3194
3196
  }
3195
3197
  }
3196
3198
  function P0() {
3197
- return new z(bl);
3199
+ return new z(Pl);
3198
3200
  }
3199
3201
  const de = new z({ epsg: 4326 }), W = new z({ epsg: 3857 });
3200
3202
  function P1(i, t, e) {
@@ -3253,7 +3255,7 @@ function I1(i) {
3253
3255
  const t = ee.fromCartesian(i), e = ss(t);
3254
3256
  return z.wgs84ToMercator(e);
3255
3257
  }
3256
- function Va(i, t) {
3258
+ function ja(i, t) {
3257
3259
  const e = i.length, s = new Array(e);
3258
3260
  for (let r = 0; r < e; r++)
3259
3261
  s[r] = i[r] + (t[r] - i[r]) / 2;
@@ -3267,22 +3269,22 @@ function L0(i, t) {
3267
3269
  let a;
3268
3270
  return i[2] > t[2] ? a = b.toDegrees(Math.acos(_.dot(r, n))) - 90 : a = b.toDegrees(Math.acos(_.dot(r, n))), a;
3269
3271
  }
3270
- function no(i, t) {
3272
+ function ao(i, t) {
3271
3273
  return i[0] * t[1] - i[1] * t[0];
3272
3274
  }
3273
3275
  function I0(i, t) {
3274
3276
  const e = [i[1][0] - i[0][0], i[1][1] - i[0][1]], s = [t[1][0] - t[0][0], t[1][1] - t[0][1]];
3275
- if (b.equalsEpsilon(no(e, s), 0, b.EPSILON8))
3277
+ if (b.equalsEpsilon(ao(e, s), 0, b.EPSILON8))
3276
3278
  return;
3277
- const r = [t[0][0] - i[0][0], t[0][1] - i[0][1]], n = no(s, r) / no(s, e);
3279
+ const r = [t[0][0] - i[0][0], t[0][1] - i[0][1]], n = ao(s, r) / ao(s, e);
3278
3280
  return [i[0][0] + n * e[0], i[0][1] + n * e[1]];
3279
3281
  }
3280
3282
  function T0(i, t) {
3281
3283
  return bc(z.mercatorToWgs84(i), z.mercatorToWgs84(t));
3282
3284
  }
3283
- let ao = new _(), oo = new _();
3285
+ let oo = new _(), lo = new _();
3284
3286
  function A0(i, t) {
3285
- return ao = wt(i, ao), oo = wt(t, oo), _.distance(ao, oo);
3287
+ return oo = wt(i, oo), lo = wt(t, lo), _.distance(oo, lo);
3286
3288
  }
3287
3289
  bt.prototype.getCoordinates = function() {
3288
3290
  return [this.getCenter(), this.getLastCoordinate()];
@@ -3390,14 +3392,14 @@ function k(i, t) {
3390
3392
  }
3391
3393
  return t;
3392
3394
  }
3393
- function ga(i, t, e, s) {
3395
+ function ma(i, t, e, s) {
3394
3396
  const r = k(i, t);
3395
3397
  return r < e ? e : r > s ? s : r;
3396
3398
  }
3397
3399
  function ce(i, t) {
3398
3400
  return i == null ? !!t : typeof i == "boolean" ? i : i === 1 ? !0 : i === 0 ? !1 : typeof i == "string" && (i.toLowerCase() === "true" || i.toLowerCase() === "1") ? !0 : typeof i == "string" && (i.toLowerCase() === "false" || i.toLowerCase() === "0") ? !1 : !!t;
3399
3401
  }
3400
- function ja(i, t, e) {
3402
+ function $a(i, t, e) {
3401
3403
  if (i != null) {
3402
3404
  const s = Object.values(t).find((r) => r == i);
3403
3405
  if (s != null)
@@ -3417,8 +3419,8 @@ function G0(i, t, e) {
3417
3419
  return typeof i == "string" && t.includes(i) ? i : e;
3418
3420
  }
3419
3421
  var qe = [];
3420
- for (var lo = 0; lo < 256; ++lo)
3421
- qe.push((lo + 256).toString(16).slice(1));
3422
+ for (var ho = 0; ho < 256; ++ho)
3423
+ qe.push((ho + 256).toString(16).slice(1));
3422
3424
  function k0(i, t = 0) {
3423
3425
  return (qe[i[t + 0]] + qe[i[t + 1]] + qe[i[t + 2]] + qe[i[t + 3]] + "-" + qe[i[t + 4]] + qe[i[t + 5]] + "-" + qe[i[t + 6]] + qe[i[t + 7]] + "-" + qe[i[t + 8]] + qe[i[t + 9]] + "-" + qe[i[t + 10]] + qe[i[t + 11]] + qe[i[t + 12]] + qe[i[t + 13]] + qe[i[t + 14]] + qe[i[t + 15]]).toLowerCase();
3424
3426
  }
@@ -3535,17 +3537,17 @@ class Lu {
3535
3537
  this.className && (r = `[${this.className}] ${r}`), console[gn.get(e)](r, ...s), e & Ee.ERROR && (console.group(), console.trace(), console.groupEnd());
3536
3538
  }
3537
3539
  }
3538
- const Jo = /* @__PURE__ */ new Map();
3539
- let ho;
3540
+ const Ko = /* @__PURE__ */ new Map();
3541
+ let co;
3540
3542
  function V0() {
3541
- return ho || (ho = new Lu()), ho;
3543
+ return co || (co = new Lu()), co;
3542
3544
  }
3543
3545
  function j0(i) {
3544
3546
  const t = new Lu(i);
3545
- return Jo.set(i, t), t;
3547
+ return Ko.set(i, t), t;
3546
3548
  }
3547
3549
  function he(i) {
3548
- return i ? Jo.has(i) ? Jo.get(i) : j0(i) : V0();
3550
+ return i ? Ko.has(i) ? Ko.get(i) : j0(i) : V0();
3549
3551
  }
3550
3552
  const Je = Symbol("moduleId");
3551
3553
  var xc;
@@ -3804,7 +3806,7 @@ class li extends Ut {
3804
3806
  // eslint-disable-next-line class-methods-use-this
3805
3807
  h(this, "_style", () => {
3806
3808
  });
3807
- this.colorBlendMode = ja(e.colorBlendMode, jn, jn.HIGHLIGHT);
3809
+ this.colorBlendMode = $a(e.colorBlendMode, jn, jn.HIGHLIGHT);
3808
3810
  }
3809
3811
  static get className() {
3810
3812
  return "StyleItem";
@@ -3871,10 +3873,10 @@ function gi(i) {
3871
3873
  function Il() {
3872
3874
  return he("StyleHelpers");
3873
3875
  }
3874
- var ma;
3876
+ var pa;
3875
3877
  (function(i) {
3876
3878
  i[i.NWSE = 1] = "NWSE", i[i.SWNE = 2] = "SWNE", i[i.DIAGONALCROSS = 3] = "DIAGONALCROSS", i[i.NS = 4] = "NS", i[i.WE = 5] = "WE", i[i.CROSS = 6] = "CROSS";
3877
- })(ma || (ma = {}));
3879
+ })(pa || (pa = {}));
3878
3880
  function q0(i, t) {
3879
3881
  let e = i.substring(1);
3880
3882
  return e.length === 3 && (e = e.replace(/([\w\d])/g, "$1$1")), [
@@ -4031,7 +4033,7 @@ function D1(i, t, e, s) {
4031
4033
  a[u] = o, a[u + 1] = l, a[u + 2] = c;
4032
4034
  i.putImageData(n, r[0], r[1]);
4033
4035
  }
4034
- function pa(i) {
4036
+ function ya(i) {
4035
4037
  let t = i.getColor();
4036
4038
  try {
4037
4039
  t = We(t).slice();
@@ -4064,7 +4066,7 @@ function Br(i) {
4064
4066
  function Au(i) {
4065
4067
  return {
4066
4068
  font: i.getFont(),
4067
- fill: i.getFill() ? pa(i.getFill()) : void 0,
4069
+ fill: i.getFill() ? ya(i.getFill()) : void 0,
4068
4070
  stroke: i.getStroke() ? Br(i.getStroke()) : void 0,
4069
4071
  textBaseline: i.getTextBaseline(),
4070
4072
  offsetY: i.getOffsetY(),
@@ -4096,12 +4098,12 @@ function Nu(i) {
4096
4098
  const t = {
4097
4099
  scale: i.getScale()
4098
4100
  };
4099
- return i.getFill() && (t.fill = pa(i.getFill())), i.getRadius() != null && (t.radius = i.getRadius()), i.getStroke() && (t.stroke = Br(i.getStroke())), t;
4101
+ return i.getFill() && (t.fill = ya(i.getFill())), i.getRadius() != null && (t.radius = i.getRadius()), i.getStroke() && (t.stroke = Br(i.getStroke())), t;
4100
4102
  } else if (i instanceof Us) {
4101
4103
  const t = {
4102
4104
  scale: i.getScale()
4103
4105
  };
4104
- return i.getFill() && (t.fill = pa(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 = Br(i.getStroke())), t;
4106
+ return i.getFill() && (t.fill = ya(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 = Br(i.getStroke())), t;
4105
4107
  }
4106
4108
  throw new Error("no Subclass of ImageStyle found");
4107
4109
  }
@@ -4144,7 +4146,7 @@ function N1(i) {
4144
4146
  }
4145
4147
  function R1(i) {
4146
4148
  return {
4147
- fill: i.getFill() ? pa(i.getFill()) : void 0,
4149
+ fill: i.getFill() ? ya(i.getFill()) : void 0,
4148
4150
  stroke: i.getStroke() ? Br(i.getStroke()) : void 0,
4149
4151
  image: i.getImage() ? Nu(i.getImage()) : void 0,
4150
4152
  text: i.getText() ? Au(i.getText()) : void 0
@@ -4164,7 +4166,7 @@ function F1(i) {
4164
4166
  }
4165
4167
  return i.getFill() && (t.color = Ih(We(i.getFill().getColor()))), t;
4166
4168
  }
4167
- const Z0 = new K({}), G1 = [0, 0, 0, 0], Xn = [255, 255, 255, 1], ya = [0, 0, 0, 1];
4169
+ const Z0 = new K({}), G1 = [0, 0, 0, 0], Xn = [255, 255, 255, 1], _a = [0, 0, 0, 1];
4168
4170
  function Ru() {
4169
4171
  return {
4170
4172
  image: {
@@ -4172,7 +4174,7 @@ function Ru() {
4172
4174
  color: [255, 255, 255, 0.4]
4173
4175
  },
4174
4176
  stroke: {
4175
- color: ya,
4177
+ color: _a,
4176
4178
  width: 1
4177
4179
  },
4178
4180
  radius: 5
@@ -4197,11 +4199,11 @@ const J0 = {
4197
4199
  olcs_color: mt(Xn),
4198
4200
  olcs_scale: "1.0",
4199
4201
  olcs_outlineWidth: "0.0",
4200
- olcs_outlineColor: mt(ya),
4202
+ olcs_outlineColor: mt(_a),
4201
4203
  olcs_pointSize: "8.0",
4202
4204
  olcs_image: String(null),
4203
4205
  olcs_font: `'${(Ec = Ru().text) == null ? void 0 : Ec.font}'`,
4204
- olcs_fontColor: mt(ya),
4206
+ olcs_fontColor: mt(_a),
4205
4207
  olcs_fontOutlineWidth: "1.0",
4206
4208
  olcs_fontOutlineColor: mt(Xn),
4207
4209
  olcs_labelText: String(null),
@@ -4254,10 +4256,10 @@ class pn extends et {
4254
4256
  return e.setColor(this.getColor()), e;
4255
4257
  }
4256
4258
  }
4257
- var _a;
4259
+ var va;
4258
4260
  (function(i) {
4259
4261
  i[i.POLYGON = 1] = "POLYGON", i[i.POLYLINE = 2] = "POLYLINE", i[i.POINT = 3] = "POINT";
4260
- })(_a || (_a = {}));
4262
+ })(va || (va = {}));
4261
4263
  const yt = Symbol("VcsVectorStyleItem");
4262
4264
  class ge extends li {
4263
4265
  constructor(e) {
@@ -4301,7 +4303,7 @@ class ge extends li {
4301
4303
  }, r = (o) => {
4302
4304
  s(o), o.width || (this.getLogger().error("missing width for stroke, setting to 1.5"), o.width = 1.5);
4303
4305
  };
4304
- e.fill && (s(e.fill), e.fill.pattern && (r(e.fill.pattern), e.fill.pattern.type && Object.values(ma).includes(e.fill.pattern.type) || (this.getLogger().error(`Cannot find pattern ${e.fill.pattern.type}`), e.fill.pattern.type = ma.NWSE))), e.stroke && r(e.stroke), e.image && (e.image.icon ? e.image = e.image.icon : e.image.circle && (e.image = e.image.circle), e.image.src || e.image.radius || (this.getLogger().error("missing source or label in style, setting default circle"), e.image = {
4306
+ e.fill && (s(e.fill), e.fill.pattern && (r(e.fill.pattern), e.fill.pattern.type && Object.values(pa).includes(e.fill.pattern.type) || (this.getLogger().error(`Cannot find pattern ${e.fill.pattern.type}`), e.fill.pattern.type = pa.NWSE))), e.stroke && r(e.stroke), e.image && (e.image.icon ? e.image = e.image.icon : e.image.circle && (e.image = e.image.circle), e.image.src || e.image.radius || (this.getLogger().error("missing source or label in style, setting default circle"), e.image = {
4305
4307
  fill: {
4306
4308
  color: "rgba(255,255,255,0.4)"
4307
4309
  },
@@ -4391,10 +4393,10 @@ class ge extends li {
4391
4393
  updateCesiumStyleColor(e) {
4392
4394
  const s = zt("olcs_color", !0);
4393
4395
  this.stroke && this.stroke.getColor() && s.splice(1, 0, [
4394
- `\${olcs_geometryType}===${_a.POLYLINE}`,
4396
+ `\${olcs_geometryType}===${va.POLYLINE}`,
4395
4397
  mt(this.stroke.getColor())
4396
4398
  ]), this._image instanceof Vi && this._image.getFill() && s.splice(1, 0, [
4397
- `\${olcs_geometryType}===${_a.POINT}`,
4399
+ `\${olcs_geometryType}===${va.POINT}`,
4398
4400
  mt(this._image.getFill().getColor())
4399
4401
  ]), this.fillColor && s.splice(-1, 1, ["true", mt(this.fillColor)]), this.cesiumStyle.color = { conditions: s }, e || this._styleChanged();
4400
4402
  }
@@ -4545,7 +4547,7 @@ function yn(i) {
4545
4547
  function Vr(i) {
4546
4548
  (i instanceof Xi || i instanceof Zi) && yn(i) || i instanceof Ji ? i.show = !1 : i instanceof ue && i.changed();
4547
4549
  }
4548
- function va(i) {
4550
+ function Sa(i) {
4549
4551
  Reflect.has(i, Mi) || ((i instanceof Xi || i instanceof Zi) && yn(i) ? i[Mi] = i.color.clone() : i instanceof ue && (i[Mi] = i.getStyle()));
4550
4552
  }
4551
4553
  function Gu(i) {
@@ -4561,7 +4563,7 @@ function jr(i) {
4561
4563
  }
4562
4564
  }
4563
4565
  function Al(i) {
4564
- delete i[Mi], va(i), i[Ct] || i[Mt] ? Vr(i) : i[Ie] && jr(i);
4566
+ delete i[Mi], Sa(i), i[Ct] || i[Mt] ? Vr(i) : i[Ie] && jr(i);
4565
4567
  }
4566
4568
  function tv(i) {
4567
4569
  delete i[Ie], Gu(i);
@@ -4583,7 +4585,7 @@ function iv(i, t) {
4583
4585
  const r = Object.keys(i.hiddenObjects);
4584
4586
  return r.length > 0 && e({ action: fe.HIDE, ids: r }), i.changed.addEventListener(e);
4585
4587
  }
4586
- class $a {
4588
+ class qa {
4587
4589
  constructor() {
4588
4590
  h(this, "hiddenObjects", {});
4589
4591
  h(this, "highlightedObjects", {});
@@ -4645,7 +4647,7 @@ class $a {
4645
4647
  return this.highlightedObjects[t] && this.highlightedObjects[t].features.has(e);
4646
4648
  }
4647
4649
  addHighlightFeature(t, e) {
4648
- this.highlightedObjects[t] && (va(e), this.highlightedObjects[t].features.add(e), e[Ie] = this.highlightedObjects[t].style, jr(e));
4650
+ this.highlightedObjects[t] && (Sa(e), this.highlightedObjects[t].features.add(e), e[Ie] = this.highlightedObjects[t].style, jr(e));
4649
4651
  }
4650
4652
  /**
4651
4653
  * hides a number of objects
@@ -4685,7 +4687,7 @@ class $a {
4685
4687
  return this.hiddenObjects[t] && this.hiddenObjects[t].has(e);
4686
4688
  }
4687
4689
  addHiddenFeature(t, e) {
4688
- this.hiddenObjects[t] && (va(e), this.hiddenObjects[t].add(e), e[Ct] = !0, Vr(e));
4690
+ this.hiddenObjects[t] && (Sa(e), this.hiddenObjects[t].add(e), e[Ct] = !0, Vr(e));
4689
4691
  }
4690
4692
  /**
4691
4693
  * Clears all caches and removes cesium events.
@@ -4869,7 +4871,13 @@ class be {
4869
4871
  constructor(t = {}) {
4870
4872
  h(this, "projection");
4871
4873
  h(this, "extent");
4872
- this.projection = new z(t.projection), this.extent = t.coordinates || this.projection.proj.getExtent();
4874
+ var e;
4875
+ this.projection = new z(t.projection), this.extent = t.coordinates || ((e = this.projection.proj) == null ? void 0 : e.getExtent()) || [
4876
+ -1 / 0,
4877
+ -1 / 0,
4878
+ 1 / 0,
4879
+ 1 / 0
4880
+ ];
4873
4881
  }
4874
4882
  static get className() {
4875
4883
  return "Extent";
@@ -4915,7 +4923,7 @@ class be {
4915
4923
  function Hu(i, t, e) {
4916
4924
  return i != null && t != null && Math.abs(i - t) <= e;
4917
4925
  }
4918
- function co(i, t, e) {
4926
+ function uo(i, t, e) {
4919
4927
  const s = i - t - Math.trunc((i - t) / 360) * 360;
4920
4928
  return Math.abs(s) <= e;
4921
4929
  }
@@ -5072,7 +5080,7 @@ class It extends Ut {
5072
5080
  * compares the provided Viewpoint with this viewpoint componentwise
5073
5081
  */
5074
5082
  equals(e, s = 0) {
5075
- return e === this || e !== null && Hu(e.distance, this.distance, s) && co(e.heading, this.heading, s) && co(e.pitch, this.pitch, s) && co(e.roll, this.roll, s) && (Dh(e.cameraPosition, this.cameraPosition, s) || Dh(e.groundPosition, this.groundPosition, s));
5083
+ return e === this || e !== null && Hu(e.distance, this.distance, s) && uo(e.heading, this.heading, s) && uo(e.pitch, this.pitch, s) && uo(e.roll, this.roll, s) && (Dh(e.cameraPosition, this.cameraPosition, s) || Dh(e.groundPosition, this.groundPosition, s));
5076
5084
  }
5077
5085
  }
5078
5086
  function uv() {
@@ -5232,19 +5240,19 @@ class jt {
5232
5240
  this._array = [], this.added.destroy(), this.removed.destroy();
5233
5241
  }
5234
5242
  }
5235
- function uo() {
5243
+ function fo() {
5236
5244
  return he("OverrideCollection");
5237
5245
  }
5238
- const Ko = Symbol("OverrideCollection");
5246
+ const Qo = Symbol("OverrideCollection");
5239
5247
  function yv(i) {
5240
5248
  return i.toJSON ? i.toJSON() : structuredClone(i);
5241
5249
  }
5242
5250
  function _i(i, t, e, s, r, n) {
5243
5251
  S(i, jt);
5244
5252
  const a = i;
5245
- if (a[Ko])
5253
+ if (a[Qo])
5246
5254
  throw new Error("Cannot transform collection, collection already is an OverrideCollection");
5247
- a[Ko] = !0;
5255
+ a[Qo] = !0;
5248
5256
  const o = s || ((u) => u), l = e || yv, c = n || ((u, f, g) => g);
5249
5257
  a.shadowMap = /* @__PURE__ */ new Map(), a.replace = function(f) {
5250
5258
  const g = f[a.uniqueKey], m = a.getByKey(g);
@@ -5267,7 +5275,7 @@ function _i(i, t, e, s, r, n) {
5267
5275
  }, a.parseItems = async function(f, g) {
5268
5276
  Array.isArray(f) && (await Promise.all(f.map(async (p) => {
5269
5277
  const y = await o(p);
5270
- return !y || r && !(y instanceof r) ? (uo().warning(`Could not load item ${// eslint-disable-next-line @typescript-eslint/ban-ts-comment
5278
+ return !y || r && !(y instanceof r) ? (fo().warning(`Could not load item ${// eslint-disable-next-line @typescript-eslint/ban-ts-comment
5271
5279
  // @ts-ignore
5272
5280
  String(p[a.uniqueKey])} of type ${String(p.type)}`), null) : (y[Je] = g, y);
5273
5281
  }))).filter((p) => p).forEach((p) => {
@@ -5285,7 +5293,7 @@ function _i(i, t, e, s, r, n) {
5285
5293
  if (m) {
5286
5294
  const p = await o(m);
5287
5295
  if (!p) {
5288
- uo().error("failed to deserialize item");
5296
+ fo().error("failed to deserialize item");
5289
5297
  return;
5290
5298
  }
5291
5299
  p[Je] = m[Je];
@@ -5312,7 +5320,7 @@ function _i(i, t, e, s, r, n) {
5312
5320
  try {
5313
5321
  g.destroy();
5314
5322
  } catch {
5315
- uo().error(`Failed to destroy item ${g[a.uniqueKey]}`);
5323
+ fo().error(`Failed to destroy item ${g[a.uniqueKey]}`);
5316
5324
  }
5317
5325
  });
5318
5326
  }, a.replaced = new L(), a.serializeModule = function(f) {
@@ -5335,12 +5343,12 @@ function _i(i, t, e, s, r, n) {
5335
5343
  d(), a.shadowMap.clear(), a.replaced.destroy();
5336
5344
  }, a;
5337
5345
  }
5338
- var Qo;
5346
+ var el;
5339
5347
  (function(i) {
5340
5348
  i[i.INACTIVE = 1] = "INACTIVE", i[i.ACTIVE = 2] = "ACTIVE", i[i.LOADING = 4] = "LOADING";
5341
- })(Qo || (Qo = {}));
5342
- const ve = Qo;
5343
- class el {
5349
+ })(el || (el = {}));
5350
+ const ve = el;
5351
+ class tl {
5344
5352
  constructor() {
5345
5353
  h(this, "hiddenObjects", {});
5346
5354
  h(this, "_hiddenObjectFeatures", {});
@@ -5380,7 +5388,7 @@ class el {
5380
5388
  });
5381
5389
  }
5382
5390
  addFeature(t, e) {
5383
- this._hiddenObjectFeatures[t] || (this._hiddenObjectFeatures[t] = /* @__PURE__ */ new Set()), va(e), this._hiddenObjectFeatures[t].add(e), e[Mt] = !0, Vr(e);
5391
+ this._hiddenObjectFeatures[t] || (this._hiddenObjectFeatures[t] = /* @__PURE__ */ new Set()), Sa(e), this._hiddenObjectFeatures[t].add(e), e[Mt] = !0, Vr(e);
5384
5392
  }
5385
5393
  hasFeature(t, e) {
5386
5394
  return this._hiddenObjectFeatures[t] ? this._hiddenObjectFeatures[t].has(e) : !1;
@@ -5511,7 +5519,7 @@ class st extends Ut {
5511
5519
  return this._globalHider;
5512
5520
  }
5513
5521
  setGlobalHider(e) {
5514
- S(e, ie(el)), e && this.active && e.hideObjects(this.hiddenObjectIds), this._globalHider = e;
5522
+ S(e, ie(tl)), e && this.active && e.hideObjects(this.hiddenObjectIds), this._globalHider = e;
5515
5523
  }
5516
5524
  /**
5517
5525
  * Indicates, that this layer is part of an exclusiveGroup
@@ -5968,7 +5976,7 @@ const xi = "2.1", mr = {
5968
5976
  cesium3DTile: os.CESIUM_3D_TILE,
5969
5977
  terrain: os.TERRAIN
5970
5978
  };
5971
- function fo(i, t) {
5979
+ function go(i, t) {
5972
5980
  if (Array.isArray(i)) {
5973
5981
  const e = i.map((s) => k(s)).filter((s) => s != null);
5974
5982
  if (e.length === 4)
@@ -5976,7 +5984,7 @@ function fo(i, t) {
5976
5984
  }
5977
5985
  return t;
5978
5986
  }
5979
- function go(i, t) {
5987
+ function mo(i, t) {
5980
5988
  if (Array.isArray(i)) {
5981
5989
  const e = i.map((s) => k(s)).filter((s) => s != null);
5982
5990
  if (e.length === 3)
@@ -6046,7 +6054,7 @@ class Gt {
6046
6054
  */
6047
6055
  h(this, "propertyChanged");
6048
6056
  const e = Gt.getDefaultOptions();
6049
- this._altitudeMode = Ri(t.altitudeMode, mr, Y.CLAMP_TO_GROUND), this._allowPicking = ce(t.allowPicking, e.allowPicking), this._classificationType = Ri(t.classificationType, pr), this._scaleByDistance = fo(t.scaleByDistance, void 0), this._eyeOffset = go(t.eyeOffset, void 0), this._heightAboveGround = k(t.heightAboveGround, e.heightAboveGround), this._skirt = k(t.skirt, e.skirt), this._groundLevel = k(t.groundLevel, e.groundLevel), this._extrudedHeight = k(t.extrudedHeight, e.extrudedHeight), this._storeysAboveGround = ne(t.storeysAboveGround, e.storeysAboveGround), this._storeysBelowGround = ne(t.storeysBelowGround, e.storeysBelowGround), this._storeyHeightsAboveGround = Os(t.storeyHeightsAboveGround, e.storeyHeightsAboveGround), this._storeyHeightsBelowGround = Os(t.storeyHeightsBelowGround, e.storeyHeightsBelowGround), this._modelUrl = t.modelUrl ?? e.modelUrl, this._modelScaleX = k(t.modelScaleX, e.modelScaleX), this._modelScaleY = k(t.modelScaleY, e.modelScaleY), this._modelScaleZ = k(t.modelScaleZ, e.modelScaleZ), this._modelHeading = k(t.modelHeading, e.modelHeading), this._modelPitch = k(t.modelPitch, e.modelPitch), this._modelRoll = k(t.modelRoll, e.modelRoll), this._baseUrl = t.baseUrl ?? e.baseUrl, this._modelOptions = t.modelOptions || e.modelOptions, this._modelAutoScale = ce(t.modelAutoScale, e.modelAutoScale), this._primitiveOptions = t.primitiveOptions || e.primitiveOptions, this.propertyChanged = new L();
6057
+ this._altitudeMode = Ri(t.altitudeMode, mr, Y.CLAMP_TO_GROUND), this._allowPicking = ce(t.allowPicking, e.allowPicking), this._classificationType = Ri(t.classificationType, pr), this._scaleByDistance = go(t.scaleByDistance, void 0), this._eyeOffset = mo(t.eyeOffset, void 0), this._heightAboveGround = k(t.heightAboveGround, e.heightAboveGround), this._skirt = k(t.skirt, e.skirt), this._groundLevel = k(t.groundLevel, e.groundLevel), this._extrudedHeight = k(t.extrudedHeight, e.extrudedHeight), this._storeysAboveGround = ne(t.storeysAboveGround, e.storeysAboveGround), this._storeysBelowGround = ne(t.storeysBelowGround, e.storeysBelowGround), this._storeyHeightsAboveGround = Os(t.storeyHeightsAboveGround, e.storeyHeightsAboveGround), this._storeyHeightsBelowGround = Os(t.storeyHeightsBelowGround, e.storeyHeightsBelowGround), this._modelUrl = t.modelUrl ?? e.modelUrl, this._modelScaleX = k(t.modelScaleX, e.modelScaleX), this._modelScaleY = k(t.modelScaleY, e.modelScaleY), this._modelScaleZ = k(t.modelScaleZ, e.modelScaleZ), this._modelHeading = k(t.modelHeading, e.modelHeading), this._modelPitch = k(t.modelPitch, e.modelPitch), this._modelRoll = k(t.modelRoll, e.modelRoll), this._baseUrl = t.baseUrl ?? e.baseUrl, this._modelOptions = t.modelOptions || e.modelOptions, this._modelAutoScale = ce(t.modelAutoScale, e.modelAutoScale), this._primitiveOptions = t.primitiveOptions || e.primitiveOptions, this.propertyChanged = new L();
6050
6058
  }
6051
6059
  /**
6052
6060
  * Returns the default options for VectorProperties
@@ -6114,7 +6122,7 @@ class Gt {
6114
6122
  wr.equals(t, this._scaleByDistance) || (S(t, ie(wr)), this._scaleByDistance = t, this.propertyChanged.raiseEvent(["scaleByDistance"]));
6115
6123
  }
6116
6124
  getScaleByDistance(t) {
6117
- return fo(t.get("olcs_scaleByDistance"), this.scaleByDistance);
6125
+ return go(t.get("olcs_scaleByDistance"), this.scaleByDistance);
6118
6126
  }
6119
6127
  get eyeOffset() {
6120
6128
  return this._eyeOffset;
@@ -6129,7 +6137,7 @@ class Gt {
6129
6137
  if (s)
6130
6138
  return vv().deprecate("zCoordinateEyeOffset", "use eyeOffset and provide [0,0,value]"), new _(0, 0, k(s, 0));
6131
6139
  }
6132
- return go(e, this.eyeOffset);
6140
+ return mo(e, this.eyeOffset);
6133
6141
  }
6134
6142
  get heightAboveGround() {
6135
6143
  return this._heightAboveGround;
@@ -6393,11 +6401,11 @@ class Gt {
6393
6401
  this._classificationType !== n && (this._classificationType = n, s.push("classificationType"));
6394
6402
  }
6395
6403
  if ("scaleByDistance" in t) {
6396
- const r = fo(t.scaleByDistance, void 0);
6404
+ const r = go(t.scaleByDistance, void 0);
6397
6405
  wr.equals(r, this._scaleByDistance) || (this._scaleByDistance = r, s.push("scaleByDistance"));
6398
6406
  }
6399
6407
  if ("eyeOffset" in t) {
6400
- const r = go(t.eyeOffset, void 0);
6408
+ const r = mo(t.eyeOffset, void 0);
6401
6409
  _.equals(r, this._eyeOffset) || (this._eyeOffset = r, s.push("eyeOffset"));
6402
6410
  }
6403
6411
  if ("heightAboveGround" in t) {
@@ -6595,7 +6603,7 @@ function Vu(i, t) {
6595
6603
  function Sv(i, t = { version: xi }) {
6596
6604
  return i instanceof ge ? t.style = Vu(i.toJSON(), t.embeddedIcons) : i instanceof tt && (t.style = i.toJSON()), t;
6597
6605
  }
6598
- function Sa(i, t) {
6606
+ function wa(i, t) {
6599
6607
  if (ws(i, je(li, { type: String }))) {
6600
6608
  if (i instanceof li)
6601
6609
  return i;
@@ -6633,7 +6641,7 @@ class Li extends st {
6633
6641
  */
6634
6642
  h(this, "featureVisibility");
6635
6643
  const s = Li.getDefaultOptions();
6636
- this._style = this.getStyleOrDefaultStyle(e.style), this._defaultStyle = this._style, this.balloonHeightOffset = ne(e.balloonHeightOffset, s.balloonHeightOffset), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT), this.featureVisibility = e.featureVisibility || new $a();
6644
+ this._style = this.getStyleOrDefaultStyle(e.style), this._defaultStyle = this._style, this.balloonHeightOffset = ne(e.balloonHeightOffset, s.balloonHeightOffset), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT), this.featureVisibility = e.featureVisibility || new qa();
6637
6645
  }
6638
6646
  static get className() {
6639
6647
  return "FeatureLayer";
@@ -6683,7 +6691,7 @@ class Li extends st {
6683
6691
  }
6684
6692
  // eslint-disable-next-line class-methods-use-this
6685
6693
  getStyleOrDefaultStyle(e, s) {
6686
- return Sa(e, s);
6694
+ return wa(e, s);
6687
6695
  }
6688
6696
  /**
6689
6697
  * Sets the style based on a styleName on a layer
@@ -6904,7 +6912,7 @@ class Ei extends Ui {
6904
6912
  * aware layers.
6905
6913
  */
6906
6914
  h(this, "_locale");
6907
- this._layerEventListeners = {}, this._zIndexSymbol = Symbol("zIndex"), this.stateChanged = new L(), this.exclusiveManager = new wv(), this._globalHider = new el(), this._locale = "en";
6915
+ this._layerEventListeners = {}, this._zIndexSymbol = Symbol("zIndex"), this.stateChanged = new L(), this.exclusiveManager = new wv(), this._globalHider = new tl(), this._locale = "en";
6908
6916
  }
6909
6917
  /**
6910
6918
  * Creates a LayerCollection from an iterable of layers, such as an Array.
@@ -6936,7 +6944,7 @@ class Ei extends Ui {
6936
6944
  * @param globalHider
6937
6945
  */
6938
6946
  set globalHider(e) {
6939
- S(e, el), this._globalHider = e, this._array.forEach((s) => {
6947
+ S(e, tl), this._globalHider = e, this._array.forEach((s) => {
6940
6948
  s.setGlobalHider(this._globalHider);
6941
6949
  });
6942
6950
  }
@@ -7034,11 +7042,11 @@ class Ei extends Ui {
7034
7042
  }), this._layerEventListeners = {}, this.exclusiveManager.destroy(), this._globalHider.destroy(), super.destroy();
7035
7043
  }
7036
7044
  }
7037
- var tl;
7045
+ var il;
7038
7046
  (function(i) {
7039
7047
  i[i.INACTIVE = 1] = "INACTIVE", i[i.ACTIVE = 2] = "ACTIVE", i[i.LOADING = 4] = "LOADING";
7040
- })(tl || (tl = {}));
7041
- const Ht = tl, J = Symbol("vcsLayerName");
7048
+ })(il || (il = {}));
7049
+ const Ht = il, J = Symbol("vcsLayerName");
7042
7050
  function Rh() {
7043
7051
  return he("vcMap");
7044
7052
  }
@@ -7509,7 +7517,7 @@ class Pe extends qr {
7509
7517
  };
7510
7518
  }
7511
7519
  async initialize() {
7512
- this.initialized || (await super.initialize(), this.olMap.setView(new ul({
7520
+ this.initialized || (await super.initialize(), this.olMap.setView(new dl({
7513
7521
  center: [1.2309226203948376e6, 6350766117974091e-9],
7514
7522
  zoom: 13
7515
7523
  })), this.initialized = !0);
@@ -7636,7 +7644,7 @@ class es extends Ut {
7636
7644
  this._initialized = !1, this._state = ve.INACTIVE, this._map = void 0, super.destroy();
7637
7645
  }
7638
7646
  }
7639
- class qa extends es {
7647
+ class Ua extends es {
7640
7648
  constructor(e, s) {
7641
7649
  super(e, s);
7642
7650
  h(this, "olLayer", null);
@@ -7724,7 +7732,7 @@ function Dl(i, t, e) {
7724
7732
  }
7725
7733
  ];
7726
7734
  }
7727
- class ju extends qa {
7735
+ class ju extends Ua {
7728
7736
  constructor(e, s) {
7729
7737
  super(e, s);
7730
7738
  h(this, "source");
@@ -7788,7 +7796,7 @@ function Wt(i, t) {
7788
7796
  return Ev(i);
7789
7797
  const e = t;
7790
7798
  let s = null;
7791
- return i instanceof Ve ? s = [e] : i instanceof xt ? s = e : i instanceof ht ? s = e.reduce((r, n) => r.concat(n)) : i instanceof dl ? s = e : i instanceof Fa ? s = e.reduce((r, n) => r.concat(n)) : i instanceof ks ? s = e.reduce((r, n) => r.concat(n)).reduce((r, n) => r.concat(n)) : i instanceof bt ? s = e : i instanceof Yi && (s = i.getGeometries().map((r, n) => Wt(r, e == null ? void 0 : e[n])).reduce((r, n) => r.concat(n))), s;
7799
+ return i instanceof Ve ? s = [e] : i instanceof xt ? s = e : i instanceof ht ? s = e.reduce((r, n) => r.concat(n)) : i instanceof fl ? s = e : i instanceof Ga ? s = e.reduce((r, n) => r.concat(n)) : i instanceof ks ? s = e.reduce((r, n) => r.concat(n)).reduce((r, n) => r.concat(n)) : i instanceof bt ? s = e : i instanceof Yi && (s = i.getGeometries().map((r, n) => Wt(r, e == null ? void 0 : e[n])).reduce((r, n) => r.concat(n))), s;
7792
7800
  }
7793
7801
  function $u(i, t) {
7794
7802
  const e = Vn(z.mercatorToWgs84(i), t, Math.PI / 2), s = z.wgs84ToMercator(e), r = i[0] - s[0], n = i[1] - s[1], a = r * r, o = n * n, l = Math.sqrt(a + o);
@@ -7797,7 +7805,7 @@ function $u(i, t) {
7797
7805
  function qu(i) {
7798
7806
  return i instanceof bt ? Tc(i) : (i instanceof ht && i.unset("_vcsGeomType"), i);
7799
7807
  }
7800
- function il(i) {
7808
+ function sl(i) {
7801
7809
  const [t, e] = i[i.length - 1];
7802
7810
  i[0][0] === t && i[0][1] === e || i.push(i[0].slice());
7803
7811
  }
@@ -7907,7 +7915,7 @@ async function B1(i, t, e) {
7907
7915
  m[2] = a + f;
7908
7916
  };
7909
7917
  u.forEach(g), l.setCoordinates(d, "XYZ");
7910
- })), r instanceof dl ? r.setCoordinates(o.map((l) => l.getCoordinates())) : r instanceof ks ? r.setCoordinates(o.map((l) => l.getCoordinates())) : r instanceof Fa ? r.setCoordinates(o.map((l) => l.getCoordinates())) : r instanceof Yi && r.setGeometries(o);
7918
+ })), r instanceof fl ? r.setCoordinates(o.map((l) => l.getCoordinates())) : r instanceof ks ? r.setCoordinates(o.map((l) => l.getCoordinates())) : r instanceof Ga ? r.setCoordinates(o.map((l) => l.getCoordinates())) : r instanceof Yi && r.setGeometries(o);
7911
7919
  }
7912
7920
  return s.set("olcs_altitudeMode", "absolute"), s.unset("olcs_groundLevel"), s.unset("olcs_heightAboveGround"), s;
7913
7921
  }
@@ -8064,7 +8072,7 @@ function Xu(i) {
8064
8072
  return !e && t && (r[2] = t), r;
8065
8073
  };
8066
8074
  }
8067
- function Ua(i) {
8075
+ function Wa(i) {
8068
8076
  const t = Xu(i);
8069
8077
  return (e) => {
8070
8078
  const s = t(e);
@@ -8128,7 +8136,7 @@ function Ju(i, t) {
8128
8136
  function Gv(i, t, e) {
8129
8137
  return Ju(i, e).map((s) => ({
8130
8138
  type: "groundLine",
8131
- geometry: new gl(s),
8139
+ geometry: new ml(s),
8132
8140
  heightInfo: t
8133
8141
  }));
8134
8142
  }
@@ -8141,13 +8149,13 @@ function kv(i, t, e) {
8141
8149
  }
8142
8150
  function zv(i, t) {
8143
8151
  let e;
8144
- const s = [], r = i.getLinearRings(), n = Ua(t);
8152
+ const s = [], r = i.getLinearRings(), n = Wa(t);
8145
8153
  for (let a = 0; a < r.length; a++) {
8146
8154
  const l = r[a].getCoordinates().map(n);
8147
- _.equals(l[0], l[l.length - 1]) || l.push(l[0]), a === 0 ? e = l : s.push(new jo(l));
8155
+ _.equals(l[0], l[l.length - 1]) || l.push(l[0]), a === 0 ? e = l : s.push(new $o(l));
8148
8156
  }
8149
8157
  return {
8150
- polygonHierarchy: new jo(e, s)
8158
+ polygonHierarchy: new $o(e, s)
8151
8159
  };
8152
8160
  }
8153
8161
  function Ku(i) {
@@ -8162,9 +8170,9 @@ function Ku(i) {
8162
8170
  const n = s * 3 * i.getLinearRingCount();
8163
8171
  return t && t.length >= n && i.getLinearRingCount() ? t.every((a) => Number.isFinite(a)) : !1;
8164
8172
  }
8165
- let mo;
8173
+ let po;
8166
8174
  function Hv() {
8167
- return mo || (mo = {
8175
+ return po || (po = {
8168
8176
  type: "polygon",
8169
8177
  getGeometryOptions: zv,
8170
8178
  createSolidGeometries: Nv,
@@ -8173,7 +8181,7 @@ function Hv() {
8173
8181
  createGroundLineGeometries: Gv,
8174
8182
  createLineGeometries: kv,
8175
8183
  validateGeometry: Ku
8176
- }), mo;
8184
+ }), po;
8177
8185
  }
8178
8186
  function Qu(i, t, e, s) {
8179
8187
  const r = {
@@ -8243,7 +8251,7 @@ function $v(i, t, e) {
8243
8251
  return [
8244
8252
  {
8245
8253
  type: "groundLine",
8246
- geometry: new gl(s),
8254
+ geometry: new ml(s),
8247
8255
  heightInfo: t
8248
8256
  }
8249
8257
  ];
@@ -8261,7 +8269,7 @@ function qv(i, t, e) {
8261
8269
  function Uv(i, t) {
8262
8270
  const e = i.getCenter(), s = e.slice();
8263
8271
  s[0] += i.getRadius();
8264
- const r = Ua(t), n = r(e), a = r(s);
8272
+ const r = Wa(t), n = r(e), a = r(s);
8265
8273
  return {
8266
8274
  radius: _.distance(n, a),
8267
8275
  center: n
@@ -8273,9 +8281,9 @@ function td(i) {
8273
8281
  const t = i.getFlatCoordinates(), e = i.getStride();
8274
8282
  return t && t.length >= e + 1 && t[e] !== t[0] ? t.every((s) => Number.isFinite(s)) : !1;
8275
8283
  }
8276
- let po;
8284
+ let yo;
8277
8285
  function Wv() {
8278
- return po || (po = {
8286
+ return yo || (yo = {
8279
8287
  type: "circle",
8280
8288
  getGeometryOptions: Uv,
8281
8289
  createSolidGeometries: Bv,
@@ -8284,7 +8292,7 @@ function Wv() {
8284
8292
  createGroundLineGeometries: $v,
8285
8293
  createLineGeometries: qv,
8286
8294
  validateGeometry: td
8287
- }), po;
8295
+ }), yo;
8288
8296
  }
8289
8297
  var gt;
8290
8298
  (function(i) {
@@ -8333,7 +8341,7 @@ function Xv() {
8333
8341
  offset: [0, 0, -4.3]
8334
8342
  };
8335
8343
  }
8336
- class Wa extends K {
8344
+ class Ya extends K {
8337
8345
  constructor(e = {}) {
8338
8346
  const s = e.color ?? "#000000", r = {
8339
8347
  stroke: new Be({
@@ -8349,7 +8357,7 @@ class Wa extends K {
8349
8357
  super(r);
8350
8358
  h(this, "primitiveOptions");
8351
8359
  h(this, "end");
8352
- this.primitiveOptions = n, this.end = ja(e.end, gt, gt.END), this.setRenderer(this._render.bind(this));
8360
+ this.primitiveOptions = n, this.end = $a(e.end, gt, gt.END), this.setRenderer(this._render.bind(this));
8353
8361
  }
8354
8362
  /**
8355
8363
  * Same as getStroke().getWidth() / getStroke().setWidth()
@@ -8410,7 +8418,7 @@ class Wa extends K {
8410
8418
  };
8411
8419
  }
8412
8420
  clone() {
8413
- return new Wa(this._getCloneOptions());
8421
+ return new Ya(this._getCloneOptions());
8414
8422
  }
8415
8423
  }
8416
8424
  function Zv(i, t, e, s) {
@@ -8445,7 +8453,7 @@ function sd(i, t, e, s, r, n, a) {
8445
8453
  const o = bu(n), l = (f) => {
8446
8454
  f.height += n[2], ee.toCartesian(f, void 0, Bh);
8447
8455
  let g = t;
8448
- const m = i[rl];
8456
+ const m = i[nl];
8449
8457
  m != null && (g = new _(m, m, m));
8450
8458
  const p = G.fromScale(g);
8451
8459
  a && G.setTranslation(p, _.multiplyComponents(a, g, new _()), p);
@@ -8471,7 +8479,7 @@ async function Jv(i, t, e, s, r, n, a) {
8471
8479
  const v = u.getColor();
8472
8480
  v && (f = U.fromCssColorString(hf(v)));
8473
8481
  }
8474
- const g = G.multiply(ji.headingPitchRollToFixedFrame(t, c), G.fromScale(l), new G()), m = s.getModelOptions(i), p = await ml.fromGltfAsync({
8482
+ const g = G.multiply(ji.headingPitchRollToFixedFrame(t, c), G.fromScale(l), new G()), m = s.getModelOptions(i), p = await pl.fromGltfAsync({
8475
8483
  asynchronous: !i[pe],
8476
8484
  url: o.url,
8477
8485
  modelMatrix: g,
@@ -8496,10 +8504,10 @@ async function Jv(i, t, e, s, r, n, a) {
8496
8504
  autoScale: o.autoScale
8497
8505
  };
8498
8506
  }
8499
- function yo(i, t, e) {
8507
+ function _o(i, t, e) {
8500
8508
  var r, n;
8501
8509
  let s;
8502
- return rs(i, Tt.CYLINDER) ? s = e ? new qf(i.geometryOptions) : new Vc(i.geometryOptions) : rs(i, Tt.ELLIPSOID) && (Array.isArray((r = i.geometryOptions) == null ? void 0 : r.radii) && (i.geometryOptions.radii = _.fromArray(i.geometryOptions.radii)), Array.isArray((n = i.geometryOptions) == null ? void 0 : n.innerRadii) && (i.geometryOptions.innerRadii = _.fromArray(i.geometryOptions.innerRadii)), s = e ? new Uf(i.geometryOptions) : new jc(i.geometryOptions)), rs(i, Tt.SPHERE) && (s = e ? new Wf(i.geometryOptions) : new Yf(i.geometryOptions)), rs(i, Tt.BOX) && (Array.isArray(i.geometryOptions.minimum) && (i.geometryOptions.minimum = _.fromArray(i.geometryOptions.minimum)), Array.isArray(i.geometryOptions.maximum) && (i.geometryOptions.maximum = _.fromArray(i.geometryOptions.maximum)), s = e ? new Xf(i.geometryOptions) : new pl(i.geometryOptions)), s ? new Ze({
8510
+ return rs(i, Tt.CYLINDER) ? s = e ? new qf(i.geometryOptions) : new Vc(i.geometryOptions) : rs(i, Tt.ELLIPSOID) && (Array.isArray((r = i.geometryOptions) == null ? void 0 : r.radii) && (i.geometryOptions.radii = _.fromArray(i.geometryOptions.radii)), Array.isArray((n = i.geometryOptions) == null ? void 0 : n.innerRadii) && (i.geometryOptions.innerRadii = _.fromArray(i.geometryOptions.innerRadii)), s = e ? new Uf(i.geometryOptions) : new jc(i.geometryOptions)), rs(i, Tt.SPHERE) && (s = e ? new Wf(i.geometryOptions) : new Yf(i.geometryOptions)), rs(i, Tt.BOX) && (Array.isArray(i.geometryOptions.minimum) && (i.geometryOptions.minimum = _.fromArray(i.geometryOptions.minimum)), Array.isArray(i.geometryOptions.maximum) && (i.geometryOptions.maximum = _.fromArray(i.geometryOptions.maximum)), s = e ? new Xf(i.geometryOptions) : new yl(i.geometryOptions)), s ? new Ze({
8503
8511
  geometry: s,
8504
8512
  attributes: {
8505
8513
  color: Dr.fromColor(t)
@@ -8549,13 +8557,13 @@ function rd(i, t, e, s, r, n, a) {
8549
8557
  return o.autoScale && (v ? Zv(j, w, g, v) : _.ONE.equals(g) || id(j, g)), ui(a.heightReference) && a.groundLevel == null && sd(j, g, m, a.heightReference, n, s, v), j;
8550
8558
  }, I = [];
8551
8559
  if (u)
8552
- I.push(E(u.alpha < 1 || !!x, [yo(o.primitiveOptions, u)], x));
8560
+ I.push(E(u.alpha < 1 || !!x, [_o(o.primitiveOptions, u)], x));
8553
8561
  else if (x) {
8554
8562
  const D = U.TRANSPARENT;
8555
- I.push(E(!0, [yo(o.primitiveOptions, D)], x));
8563
+ I.push(E(!0, [_o(o.primitiveOptions, D)], x));
8556
8564
  }
8557
8565
  return f && I.push(E(f.alpha < 1 || !!x, [
8558
- yo(o.primitiveOptions, f, !0)
8566
+ _o(o.primitiveOptions, f, !0)
8559
8567
  ])), I.map((D) => ({
8560
8568
  type: "primitive",
8561
8569
  item: D,
@@ -8607,18 +8615,18 @@ function eS(i, t, e, s) {
8607
8615
  d.getColor(),
8608
8616
  // XXX PatternDescriptor
8609
8617
  [0, 0, 0, 1]
8610
- ), f = eo.FILL), u && (a.outlineWidth = k(u.getWidth(), 1), a.outlineColor = ri(u.getColor(), [0, 0, 0, 1]), f = eo.OUTLINE), d && u && (f = eo.FILL_AND_OUTLINE), a.style = f;
8618
+ ), f = to.FILL), u && (a.outlineWidth = k(u.getWidth(), 1), a.outlineColor = ri(u.getColor(), [0, 0, 0, 1]), f = to.OUTLINE), d && u && (f = to.FILL_AND_OUTLINE), a.style = f;
8611
8619
  let g;
8612
8620
  switch (r.getTextAlign()) {
8613
8621
  case "left":
8614
- g = to.LEFT;
8622
+ g = io.LEFT;
8615
8623
  break;
8616
8624
  case "right":
8617
- g = to.RIGHT;
8625
+ g = io.RIGHT;
8618
8626
  break;
8619
8627
  case "center":
8620
8628
  default:
8621
- g = to.CENTER;
8629
+ g = io.CENTER;
8622
8630
  }
8623
8631
  a.horizontalOrigin = g;
8624
8632
  let m;
@@ -8738,7 +8746,7 @@ function hd(i, t, e) {
8738
8746
  return [
8739
8747
  {
8740
8748
  type: "groundLine",
8741
- geometry: new gl({
8749
+ geometry: new ml({
8742
8750
  ...i,
8743
8751
  width: s
8744
8752
  }),
@@ -8760,7 +8768,7 @@ function Fl(i, t, e) {
8760
8768
  ];
8761
8769
  }
8762
8770
  function cd(i, t) {
8763
- const e = i.getCoordinates(), s = Ua(t);
8771
+ const e = i.getCoordinates(), s = Wa(t);
8764
8772
  return { positions: e.map(s) };
8765
8773
  }
8766
8774
  function Gl(i) {
@@ -8769,9 +8777,9 @@ function Gl(i) {
8769
8777
  const t = i.getFlatCoordinates(), e = i.getStride() * 2;
8770
8778
  return t && t.length >= e ? t.every((s) => Number.isFinite(s)) : !1;
8771
8779
  }
8772
- let _o;
8780
+ let vo;
8773
8781
  function jh() {
8774
- return _o || (_o = {
8782
+ return vo || (vo = {
8775
8783
  type: "lineString",
8776
8784
  getGeometryOptions: cd,
8777
8785
  createSolidGeometries: od,
@@ -8782,10 +8790,10 @@ function jh() {
8782
8790
  createGroundLineGeometries: hd,
8783
8791
  createLineGeometries: Fl,
8784
8792
  validateGeometry: Gl
8785
- }), _o;
8793
+ }), vo;
8786
8794
  }
8787
8795
  function rS(i, t, e) {
8788
- const s = Ua(e);
8796
+ const s = Wa(e);
8789
8797
  return { positions: i.map(s), arcType: sa.NONE };
8790
8798
  }
8791
8799
  function nS(i, t) {
@@ -8818,7 +8826,7 @@ function oS(i, t, e) {
8818
8826
  let r = H.normalize(s, new H());
8819
8827
  const { x: n, y: a } = r;
8820
8828
  r = new H(a, -n), H.multiplyByScalar(r, e, r);
8821
- const o = Va(i, t);
8829
+ const o = ja(i, t);
8822
8830
  return H.add(r, new H(o[0], o[1]), r), [r.x, r.y];
8823
8831
  }
8824
8832
  function lS(i, t, e) {
@@ -8842,7 +8850,7 @@ function hS(i, t, e, s, r, n) {
8842
8850
  return u;
8843
8851
  }
8844
8852
  function cS(i, t, e, s, r, n) {
8845
- const a = Va(i, t);
8853
+ const a = ja(i, t);
8846
8854
  a[2] = a[2] ?? 0, a[2] += e / 2;
8847
8855
  const o = Pi(i, t), l = new _(i[0], i[1], i[2] ?? 0), c = new _(a[0], a[1], a[2] ?? 0), d = new _(t[0], t[1], t[2] ?? 0);
8848
8856
  let u;
@@ -8868,16 +8876,16 @@ function cS(i, t, e, s, r, n) {
8868
8876
  ];
8869
8877
  return m;
8870
8878
  }
8871
- function sl(i, t, e, s) {
8879
+ function rl(i, t, e, s) {
8872
8880
  t[ti] && t[ti].destroy();
8873
8881
  const r = t.getGeometry(), n = [], a = () => {
8874
8882
  le(n);
8875
8883
  };
8876
8884
  if (n.push(t.on("change:geometry", () => {
8877
- sl(i, t, e, s);
8885
+ rl(i, t, e, s);
8878
8886
  })), r instanceof xt) {
8879
8887
  n.push(r.on("change", () => {
8880
- sl(i, t, e, s);
8888
+ rl(i, t, e, s);
8881
8889
  }));
8882
8890
  const o = r.getFirstCoordinate(), l = r.getLastCoordinate(), c = Pi(o, l), d = c * i;
8883
8891
  let u = s;
@@ -8902,7 +8910,7 @@ function sl(i, t, e, s) {
8902
8910
  destroy: a
8903
8911
  };
8904
8912
  }
8905
- class ud extends Wa {
8913
+ class ud extends Ya {
8906
8914
  /**
8907
8915
  * @param [options=]
8908
8916
  */
@@ -8949,7 +8957,7 @@ class ud extends Wa {
8949
8957
  }
8950
8958
  _getFeatureArcGeometry(e) {
8951
8959
  var s;
8952
- return (!e[ti] || e[$h] !== this._revisionId) && (sl(this._arcFactor, e, this._numberOfSegments, this._offset), e[$h] = this._revisionId), (s = e[ti]) == null ? void 0 : s.geometry;
8960
+ return (!e[ti] || e[$h] !== this._revisionId) && (rl(this._arcFactor, e, this._numberOfSegments, this._offset), e[$h] = this._revisionId), (s = e[ti]) == null ? void 0 : s.geometry;
8953
8961
  }
8954
8962
  _getCloneOptions() {
8955
8963
  const e = super._getCloneOptions();
@@ -8979,7 +8987,7 @@ function dS(i, t) {
8979
8987
  function fS(i, t, e, s) {
8980
8988
  const r = t.destroy.bind(t), n = fn(e);
8981
8989
  let a;
8982
- t instanceof ka ? a = dS(t, ee.toCartesian(n)) : a = uS(t, ee.toCartesian(n));
8990
+ t instanceof za ? a = dS(t, ee.toCartesian(n)) : a = uS(t, ee.toCartesian(n));
8983
8991
  const o = i.updateHeight(n, a, s), l = i.getHeight(n, s);
8984
8992
  if (l) {
8985
8993
  const c = n.clone();
@@ -9002,7 +9010,7 @@ function dd(i, t, e) {
9002
9010
  const n = document.createElement("canvas"), a = n.getContext("2d");
9003
9011
  a.fillStyle = r, a.fillRect(0, 0, 300, 300), s.material = At.fromType("Wallpaper", {
9004
9012
  image: n,
9005
- anchor: Kf.worldToDrawingBufferCoordinates(i, _.fromDegreesArray(fl(e.getGeometry().getExtent()))[0])
9013
+ anchor: Kf.worldToDrawingBufferCoordinates(i, _.fromDegreesArray(gl(e.getGeometry().getExtent()))[0])
9006
9014
  });
9007
9015
  } else {
9008
9016
  const n = ri(r, [0, 0, 0, 1]);
@@ -9037,7 +9045,7 @@ function gS(i, t, e, s) {
9037
9045
  });
9038
9046
  return {
9039
9047
  type: "primitive",
9040
- item: new ka({
9048
+ item: new za({
9041
9049
  allowPicking: n,
9042
9050
  asynchronous: !i[pe],
9043
9051
  classificationType: r,
@@ -9053,7 +9061,7 @@ function mS(i, t, e, s, r) {
9053
9061
  return {
9054
9062
  type: "primitive",
9055
9063
  item: new St({
9056
- shadows: za.ENABLED,
9064
+ shadows: Ha.ENABLED,
9057
9065
  allowPicking: n,
9058
9066
  asynchronous: !i[pe],
9059
9067
  geometryInstances: a,
@@ -9097,7 +9105,7 @@ function yS(i, t, e, s) {
9097
9105
  item: new St({
9098
9106
  geometryInstances: a,
9099
9107
  appearance: o,
9100
- shadows: za.ENABLED,
9108
+ shadows: Ha.ENABLED,
9101
9109
  allowPicking: r,
9102
9110
  asynchronous: !i[pe]
9103
9111
  })
@@ -9131,7 +9139,7 @@ function _S(i, t, e, s) {
9131
9139
  item: new St({
9132
9140
  geometryInstances: n,
9133
9141
  appearance: l,
9134
- shadows: za.ENABLED,
9142
+ shadows: Ha.ENABLED,
9135
9143
  allowPicking: r,
9136
9144
  asynchronous: !i[pe]
9137
9145
  })
@@ -9192,20 +9200,20 @@ function SS(i, t, e, s) {
9192
9200
  }
9193
9201
  return a;
9194
9202
  }
9195
- function wa(i, t, e = 1) {
9203
+ function Ca(i, t, e = 1) {
9196
9204
  const s = [];
9197
- return typeof i == "function" ? s.push(...wa(i(t, e), t, e)) : Array.isArray(i) ? i.forEach((r) => {
9198
- s.push(...wa(r, t, e));
9205
+ return typeof i == "function" ? s.push(...Ca(i(t, e), t, e)) : Array.isArray(i) ? i.forEach((r) => {
9206
+ s.push(...Ca(r, t, e));
9199
9207
  }) : i instanceof K && s.push(i), s;
9200
9208
  }
9201
9209
  function kl(i) {
9202
9210
  if (i instanceof Ve || i instanceof ht || i instanceof xt || i instanceof bt)
9203
9211
  return [i];
9204
- if (i instanceof dl)
9212
+ if (i instanceof fl)
9205
9213
  return i.getPoints();
9206
9214
  if (i instanceof ks)
9207
9215
  return i.getPolygons();
9208
- if (i instanceof Fa)
9216
+ if (i instanceof Ga)
9209
9217
  return i.getLineStrings();
9210
9218
  if (i instanceof Yi)
9211
9219
  return i.getGeometriesArray().map(kl).flat();
@@ -9217,7 +9225,7 @@ async function wS(i, t, e, s, r) {
9217
9225
  if (t instanceof Ve)
9218
9226
  return !e.getImage() && !((d = e.getText()) != null && d.getText()) || !nd(t) ? [] : await iS(i, t, e, s, r, n);
9219
9227
  let a, o;
9220
- if (t instanceof ht ? a = Hv() : t instanceof xt ? e instanceof Wa ? ((u = i[ti]) != null && u.coordinates ? a = nS((f = i[ti]) == null ? void 0 : f.coordinates, n.heightReference) : a = jh(), o = e) : a = jh() : a = Wv(), !e.getFill() && !e.getStroke() || !a.validateGeometry(t))
9228
+ if (t instanceof ht ? a = Hv() : t instanceof xt ? e instanceof Ya ? ((u = i[ti]) != null && u.coordinates ? a = nS((f = i[ti]) == null ? void 0 : f.coordinates, n.heightReference) : a = jh(), o = e) : a = jh() : a = Wv(), !e.getFill() && !e.getStroke() || !a.validateGeometry(t))
9221
9229
  return [];
9222
9230
  const l = SS(e, t, a, n);
9223
9231
  let c = [];
@@ -9239,7 +9247,7 @@ function CS(i, t, e) {
9239
9247
  e.has(s) || e.set(s, []), e.get(s).push(i);
9240
9248
  }
9241
9249
  function MS(i, t, e, s) {
9242
- const r = [], n = gd(), a = e.getClassificationType(t), o = ka.isSupported(s), l = qc.isSupported(s), c = Uc.isSupported(s);
9250
+ const r = [], n = gd(), a = e.getClassificationType(t), o = za.isSupported(s), l = qc.isSupported(s), c = Uc.isSupported(s);
9243
9251
  return i.forEach((d) => {
9244
9252
  if (d.type === "primitive" || d.type === "billboard" || d.type === "label")
9245
9253
  r.push(d);
@@ -9252,7 +9260,7 @@ function MS(i, t, e, s) {
9252
9260
  }), { batches: n, convertedItems: r };
9253
9261
  }
9254
9262
  function xS(i, t, e, s) {
9255
- const r = gd(), n = e.getClassificationType(t), a = ka.isSupported(s);
9263
+ const r = gd(), n = e.getClassificationType(t), a = za.isSupported(s);
9256
9264
  return i.forEach((o) => {
9257
9265
  o.type === "solid" || o.type === "fill" ? n != null ? a && r.classificationPrimitive.push(o) : r.solidPrimitive.push(o) : o.type === "outline" ? r.outlinePrimitive.push(o) : o.type === "line" && r.linePrimitive.push(o);
9258
9266
  }), r;
@@ -9267,7 +9275,7 @@ function md(i, t, e, s, r) {
9267
9275
  }), n;
9268
9276
  }
9269
9277
  async function pd(i, t, e, s) {
9270
- const n = wa(i.getStyle() || t, i, 0).map((a) => {
9278
+ const n = Ca(i.getStyle() || t, i, 0).map((a) => {
9271
9279
  const o = a.getGeometryFunction()(i);
9272
9280
  return o ? {
9273
9281
  style: a,
@@ -9296,13 +9304,13 @@ function Uh(i, t, e, s) {
9296
9304
  let r = s[i];
9297
9305
  return r != null && r > e.length && (r = void 0), e.add(t, r);
9298
9306
  }
9299
- function vo(i, t) {
9307
+ function So(i, t) {
9300
9308
  for (let e = 0; e < t.length; e++) {
9301
9309
  const s = t.get(e);
9302
- (s instanceof ml || s instanceof Wc) && (s.splitDirection = i);
9310
+ (s instanceof pl || s instanceof Wc) && (s.splitDirection = i);
9303
9311
  }
9304
9312
  }
9305
- const rl = Symbol("Scale"), ES = new _();
9313
+ const nl = Symbol("Scale"), ES = new _();
9306
9314
  function OS(i, t, e) {
9307
9315
  let s = new It({});
9308
9316
  return i.getScene().postRender.addEventListener(() => {
@@ -9315,7 +9323,7 @@ function OS(i, t, e) {
9315
9323
  const o = t.get(a);
9316
9324
  if (!o.isDestroyed()) {
9317
9325
  const { modelMatrix: l } = o, c = G.getTranslation(l, ES), d = i.getCurrentResolutionFromCartesian(c);
9318
- o[rl] !== d && (o.modelMatrix = G.setScale(l, new _(d, d, d), o.modelMatrix), o[rl] = d);
9326
+ o[nl] !== d && (o.modelMatrix = G.setScale(l, new _(d, d, d), o.modelMatrix), o[nl] = d);
9319
9327
  }
9320
9328
  }
9321
9329
  e.value = !1, s = n;
@@ -9358,7 +9366,7 @@ class zl {
9358
9366
  this.billboards.remove(o);
9359
9367
  })) : a.type === "label" && (o = this.labels.add(a.item), o && (l = () => {
9360
9368
  this.labels.remove(o);
9361
- })), o && (e && yd(t, o), this.splitDirection && (o instanceof ml || o instanceof Wc) && (o.splitDirection = this.splitDirection)), l;
9369
+ })), o && (e && yd(t, o), this.splitDirection && (o instanceof pl || o instanceof Wc) && (o.splitDirection = this.splitDirection)), l;
9362
9370
  }).filter((a) => a != null);
9363
9371
  this._featureItems.set(t, n);
9364
9372
  }
@@ -9389,7 +9397,7 @@ class zl {
9389
9397
  (e = this._convertingFeatures.get(t)) == null || e(!1), this._convertingFeatures.delete(t), (s = this._featureItems.get(t)) == null || s.forEach((r) => r()), this._featureItems.delete(t);
9390
9398
  }
9391
9399
  updateSplitDirection(t) {
9392
- this.splitDirection = t, vo(t, this.primitives), vo(t, this.scaledPrimitives), vo(t, this.billboards);
9400
+ this.splitDirection = t, So(t, this.primitives), So(t, this.scaledPrimitives), So(t, this.billboards);
9393
9401
  }
9394
9402
  clear() {
9395
9403
  this.primitives.removeAll(), this._scaledDirty.value = this.scaledPrimitives.length > 0, this.scaledPrimitives.removeAll(), this.billboards.removeAll(), this.labels.removeAll(), this._featureItems.clear(), this._convertingFeatures.forEach((t) => {
@@ -9554,14 +9562,14 @@ function PS(i, t, e) {
9554
9562
  const s = i.tilingScheme.positionToTileXY(e, t, new H());
9555
9563
  return !!i.getTileDataAvailable(s.x, s.y, t);
9556
9564
  }
9557
- let So = new H(), wo = new H();
9565
+ let wo = new H(), Co = new H();
9558
9566
  function Wh(i, t = !1) {
9559
9567
  const e = i.slice(), s = Ir(e);
9560
9568
  let n = [
9561
- fl(s),
9569
+ gl(s),
9562
9570
  Ac(s),
9563
9571
  Dc(s),
9564
- Ga(s)
9572
+ ka(s)
9565
9573
  ].map((a) => {
9566
9574
  let o = 0, l = 1 / 0;
9567
9575
  return e.forEach((c, d) => {
@@ -9572,7 +9580,7 @@ function Wh(i, t = !1) {
9572
9580
  return t === Oe.EAST ? n = [n[3], n[0], n[1], n[2]] : t === Oe.SOUTH ? n = [n[2], n[3], n[0], n[1]] : t === Oe.WEST && (n = [n[1], n[2], n[3], n[0]]), n;
9573
9581
  }
9574
9582
  function or(i, t) {
9575
- return So = H.fromElements(i[0], i[1], So), wo = H.fromElements(t[0], t[1], wo), H.angleBetween(So, wo);
9583
+ return wo = H.fromElements(i[0], i[1], wo), Co = H.fromElements(t[0], t[1], Co), H.angleBetween(wo, Co);
9576
9584
  }
9577
9585
  function Yh(i, t) {
9578
9586
  const [[e, s], [r, n]] = i, [[a, o], [l, c]] = t;
@@ -10475,7 +10483,7 @@ class Qh {
10475
10483
  return this.projection && (t.projection = this.projection.toJSON()), this._terrainProviderOptions && (t.terrainProvider = { ...this._terrainProviderOptions }), this._headers && (t.headers = this._headers), t;
10476
10484
  }
10477
10485
  }
10478
- function Ya(i) {
10486
+ function Xa(i) {
10479
10487
  return function(e, s) {
10480
10488
  const r = e.getImage(), n = qt(s, i);
10481
10489
  Vl(s, n).then((a) => {
@@ -10487,15 +10495,15 @@ function Ya(i) {
10487
10495
  });
10488
10496
  };
10489
10497
  }
10490
- let Co = "";
10498
+ let Mo = "";
10491
10499
  function zS() {
10492
- if (!Co) {
10500
+ if (!Mo) {
10493
10501
  const i = document.createElement("canvas");
10494
10502
  i.height = 512, i.width = 512;
10495
10503
  const t = i.getContext("2d");
10496
- t.fillStyle = "#409D76", t.fillRect(0, 0, 512, 512), t.font = "bold 46px Monospace, Courier New", t.fillStyle = "#424242", t.textAlign = "center", t.fillText("No Image", 256, 256), Co = i.toDataURL("png");
10504
+ t.fillStyle = "#409D76", t.fillRect(0, 0, 512, 512), t.font = "bold 46px Monospace, Courier New", t.fillStyle = "#424242", t.textAlign = "center", t.fillText("No Image", 256, 256), Mo = i.toDataURL("png");
10497
10505
  }
10498
- return Co;
10506
+ return Mo;
10499
10507
  }
10500
10508
  class HS {
10501
10509
  constructor(t, e) {
@@ -10520,7 +10528,7 @@ class HS {
10520
10528
  units: "pixels",
10521
10529
  extent: r
10522
10530
  }), a = this.maxZoom > 0 ? this.maxZoom : this.tileResolution.length + 4, o = Math.log(2) / Math.log(this.scaleFactor);
10523
- this._view = new ul({
10531
+ this._view = new dl({
10524
10532
  projection: n,
10525
10533
  center: [this.size[0] / 2, this.size[1] / 2],
10526
10534
  constrainOnlyCenter: !0,
@@ -10539,7 +10547,7 @@ class HS {
10539
10547
  tileSize: this.tileSize
10540
10548
  })
10541
10549
  };
10542
- fi.contains(this.url) ? l.crossOrigin = "use-credentials" : gi(this.url) || (l.crossOrigin = "anonymous"), this._headers && (l.tileLoadFunction = Ya(this._headers)), this._tileImageSource = new uf(l), this._layer = new Ws({
10550
+ fi.contains(this.url) ? l.crossOrigin = "use-credentials" : gi(this.url) || (l.crossOrigin = "anonymous"), this._headers && (l.tileLoadFunction = Xa(this._headers)), this._tileImageSource = new uf(l), this._layer = new Ws({
10543
10551
  source: this.tileImageSource,
10544
10552
  extent: r
10545
10553
  });
@@ -10722,7 +10730,7 @@ class BS {
10722
10730
  this._currentView && (t && t === this._currentView || (t && this._olMap.removeLayer(t.layer), this._olMap.getView() && this._olMap.getView().getResolution() && this._currentView.view.setResolution(this._olMap.getView().getResolution()), this._olMap.setView(this._currentView.view), this._olMap.getLayers().insertAt(0, this._currentView.layer)));
10723
10731
  }
10724
10732
  _removeCurrentView() {
10725
- this._currentView && (this._olMap.getView() === this._currentView.view && this._olMap.setView(new ul()), this._olMap.removeLayer(this._currentView.layer));
10733
+ this._currentView && (this._olMap.getView() === this._currentView.view && this._olMap.setView(new dl()), this._olMap.removeLayer(this._currentView.layer));
10726
10734
  }
10727
10735
  /**
10728
10736
  * Sets a new image based on a ground coordinate and a direction.
@@ -10794,7 +10802,7 @@ function lr(i, t, e) {
10794
10802
  function VS(i, t) {
10795
10803
  return i < t ? -1 : i > t ? 1 : 0;
10796
10804
  }
10797
- class nl {
10805
+ class al {
10798
10806
  constructor(t = 9) {
10799
10807
  this._maxEntries = Math.max(4, t), this._minEntries = Math.max(2, Math.ceil(this._maxEntries * 0.4)), this.clear();
10800
10808
  }
@@ -10809,7 +10817,7 @@ class nl {
10809
10817
  for (; e; ) {
10810
10818
  for (let a = 0; a < e.children.length; a++) {
10811
10819
  const o = e.children[a], l = e.leaf ? r(o) : o;
10812
- Gn(t, l) && (e.leaf ? s.push(o) : xo(t, l) ? this._all(o, s) : n.push(o));
10820
+ Gn(t, l) && (e.leaf ? s.push(o) : Eo(t, l) ? this._all(o, s) : n.push(o));
10813
10821
  }
10814
10822
  e = n.pop();
10815
10823
  }
@@ -10823,7 +10831,7 @@ class nl {
10823
10831
  for (let r = 0; r < e.children.length; r++) {
10824
10832
  const n = e.children[r], a = e.leaf ? this.toBBox(n) : n;
10825
10833
  if (Gn(t, a)) {
10826
- if (e.leaf || xo(t, a)) return !0;
10834
+ if (e.leaf || Eo(t, a)) return !0;
10827
10835
  s.push(n);
10828
10836
  }
10829
10837
  }
@@ -10869,7 +10877,7 @@ class nl {
10869
10877
  if (d !== -1)
10870
10878
  return s.children.splice(d, 1), n.push(s), this._condense(n), this;
10871
10879
  }
10872
- !c && !s.leaf && xo(s, r) ? (n.push(s), a.push(o), o = 0, l = s, s = s.children[0]) : l ? (o++, s = l.children[o], c = !1) : s = null;
10880
+ !c && !s.leaf && Eo(s, r) ? (n.push(s), a.push(o), o = 0, l = s, s = s.children[0]) : l ? (o++, s = l.children[o], c = !1) : s = null;
10873
10881
  }
10874
10882
  return this;
10875
10883
  }
@@ -10916,7 +10924,7 @@ class nl {
10916
10924
  for (; r.push(e), !(e.leaf || r.length - 1 === s); ) {
10917
10925
  let n = 1 / 0, a = 1 / 0, o;
10918
10926
  for (let l = 0; l < e.children.length; l++) {
10919
- const c = e.children[l], d = Mo(c), u = US(t, c) - d;
10927
+ const c = e.children[l], d = xo(c), u = US(t, c) - d;
10920
10928
  u < a ? (a = u, n = d < n ? d : n, o = c) : u === a && d < n && (n = d, o = c);
10921
10929
  }
10922
10930
  e = o || e.children[0];
@@ -10942,7 +10950,7 @@ class nl {
10942
10950
  _chooseSplitIndex(t, e, s) {
10943
10951
  let r, n = 1 / 0, a = 1 / 0;
10944
10952
  for (let o = e; o <= s - e; o++) {
10945
- const l = _r(t, 0, o, this.toBBox), c = _r(t, o, s, this.toBBox), d = WS(l, c), u = Mo(l) + Mo(c);
10953
+ const l = _r(t, 0, o, this.toBBox), c = _r(t, o, s, this.toBBox), d = WS(l, c), u = xo(l) + xo(c);
10946
10954
  d < n ? (n = d, r = o, a = u < a ? u : a) : d === n && u < a && (a = u, r = o);
10947
10955
  }
10948
10956
  return r || s - e;
@@ -11002,7 +11010,7 @@ function $S(i, t) {
11002
11010
  function qS(i, t) {
11003
11011
  return i.minY - t.minY;
11004
11012
  }
11005
- function Mo(i) {
11013
+ function xo(i) {
11006
11014
  return (i.maxX - i.minX) * (i.maxY - i.minY);
11007
11015
  }
11008
11016
  function Fn(i) {
@@ -11015,7 +11023,7 @@ function WS(i, t) {
11015
11023
  const e = Math.max(i.minX, t.minX), s = Math.max(i.minY, t.minY), r = Math.min(i.maxX, t.maxX), n = Math.min(i.maxY, t.maxY);
11016
11024
  return Math.max(0, r - e) * Math.max(0, n - s);
11017
11025
  }
11018
- function xo(i, t) {
11026
+ function Eo(i, t) {
11019
11027
  return i.minX <= t.minX && i.minY <= t.minY && t.maxX <= i.maxX && t.maxY <= i.maxY;
11020
11028
  }
11021
11029
  function Gn(i, t) {
@@ -11277,7 +11285,7 @@ class ps extends Ut {
11277
11285
  name: n.name
11278
11286
  });
11279
11287
  }), r.forEach((n, a) => {
11280
- this._directionTrees.get(a) || this._directionTrees.set(a, new nl()), this._directionTrees.get(a).load(n);
11288
+ this._directionTrees.get(a) || this._directionTrees.set(a, new al()), this._directionTrees.get(a).load(n);
11281
11289
  }), this._imageFeatureSource) {
11282
11290
  const n = rc(e);
11283
11291
  this._imageFeatureSource.addFeatures(n);
@@ -11465,12 +11473,12 @@ const ew = {
11465
11473
  [Oe.WEST]: 270,
11466
11474
  [Oe.NADIR]: 0
11467
11475
  }, ac = new QS();
11468
- function Eo(i) {
11476
+ function Oo(i) {
11469
11477
  const { heading: t } = i;
11470
11478
  let e = Oe.NORTH;
11471
11479
  return t >= 45 && t < 135 ? e = Oe.EAST : t >= 135 && t < 225 ? e = Oe.SOUTH : t >= 225 && t < 315 && (e = Oe.WEST), e;
11472
11480
  }
11473
- function Oo(i) {
11481
+ function bo(i) {
11474
11482
  const t = i.groundPosition ?? i.cameraPosition ?? [0, 0, 0];
11475
11483
  return as(t, de.proj, W.proj);
11476
11484
  }
@@ -11562,7 +11570,7 @@ class Ae extends qr {
11562
11570
  }
11563
11571
  async canShowViewpoint(e) {
11564
11572
  if (await this.initialize(), this.collection) {
11565
- const s = Eo(e), r = Oo(e);
11573
+ const s = Oo(e), r = bo(e);
11566
11574
  return this.collection.hasImageAtCoordinate(r, s);
11567
11575
  }
11568
11576
  return !1;
@@ -11609,7 +11617,7 @@ class Ae extends qr {
11609
11617
  const r = s || await this.getViewpoint();
11610
11618
  if (this._loadingCollection === e) {
11611
11619
  if (s && this.maintainViewpointOnCollectionChange && this.collection) {
11612
- const a = Eo(s), o = Oo(s);
11620
+ const a = Oo(s), o = bo(s);
11613
11621
  if (!await e.hasImageAtCoordinate(o, a)) {
11614
11622
  this.failedToSetCollection.raiseEvent(e);
11615
11623
  return;
@@ -11665,7 +11673,7 @@ class Ae extends qr {
11665
11673
  async gotoViewpoint(e) {
11666
11674
  if (this.movementApiCallsDisabled || !this.olMap || !this._obliqueProvider || !e.isValid())
11667
11675
  return;
11668
- const s = Eo(e), r = Oo(e), { distance: n } = e;
11676
+ const s = Oo(e), r = bo(e), { distance: n } = e;
11669
11677
  if (await this._obliqueProvider.setView(r, s), this._obliqueProvider.currentImage) {
11670
11678
  const a = TS(this.olMap, this._obliqueProvider.currentImage, n);
11671
11679
  this.olMap.getView().setZoom(a);
@@ -11717,7 +11725,7 @@ class Yr {
11717
11725
  h(this, "_terrainHeight", null);
11718
11726
  h(this, "_updatingTerrainHeight", !1);
11719
11727
  const e = Yr.getDefaultOptions();
11720
- this.mode = ja(t.mode, Pr, e.mode), this._terrainUrl = t.terrainUrl || e.terrainUrl, this.limit = k(t.limit, e.limit), this.level = t.level === null ? null : ne(t.level, e.level), this.terrainRequestHeaders = t.terrainRequestHeaders;
11728
+ this.mode = $a(t.mode, Pr, e.mode), this._terrainUrl = t.terrainUrl || e.terrainUrl, this.limit = k(t.limit, e.limit), this.level = t.level === null ? null : ne(t.level, e.level), this.terrainRequestHeaders = t.terrainRequestHeaders;
11721
11729
  }
11722
11730
  static get className() {
11723
11731
  return "CameraLimiter";
@@ -11765,9 +11773,9 @@ class Yr {
11765
11773
  if (this.mode === Pr.DISTANCE && this.terrainUrl) {
11766
11774
  if (e = this._updateTerrainHeight(s), this._terrainHeight && s.height - this._terrainHeight < this.limit) {
11767
11775
  const r = this._terrainHeight + this.limit;
11768
- ee.toCartesian(new ee(s.longitude, s.latitude, r), $o.WGS84, t.position);
11776
+ ee.toCartesian(new ee(s.longitude, s.latitude, r), qo.WGS84, t.position);
11769
11777
  }
11770
- } else s.height < this.limit && ee.toCartesian(new ee(s.longitude, s.latitude, this.limit), $o.WGS84, t.position);
11778
+ } else s.height < this.limit && ee.toCartesian(new ee(s.longitude, s.latitude, this.limit), qo.WGS84, t.position);
11771
11779
  return e;
11772
11780
  }
11773
11781
  toJSON() {
@@ -11775,7 +11783,7 @@ class Yr {
11775
11783
  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), Ke(this.terrainRequestHeaders, e.terrainRequestHeaders) || (t.terrainRequestHeaders = this.terrainRequestHeaders), t;
11776
11784
  }
11777
11785
  }
11778
- function Ca(i, t, e) {
11786
+ function Ma(i, t, e) {
11779
11787
  const s = e.indexOfKey(t[J]);
11780
11788
  if (s > -1 && !i.contains(t)) {
11781
11789
  const r = i.length;
@@ -11814,10 +11822,10 @@ async function Ed(i, t, e) {
11814
11822
  }
11815
11823
  function tw(i, t, e) {
11816
11824
  const { destroyPrimitives: s } = i;
11817
- i.destroyPrimitives = !1, i.remove(t), Ca(i, t, e), i.destroyPrimitives = s;
11825
+ i.destroyPrimitives = !1, i.remove(t), Ma(i, t, e), i.destroyPrimitives = s;
11818
11826
  }
11819
11827
  function iw(i, t, e) {
11820
- i.remove(t, !1), Ca(i, t, e);
11828
+ i.remove(t, !1), Ma(i, t, e);
11821
11829
  }
11822
11830
  function sw(i, t, e) {
11823
11831
  Ed(i, t, e);
@@ -11952,15 +11960,15 @@ class B extends ci {
11952
11960
  throw new Error("Cannot setup interactions on uninitailized map");
11953
11961
  const e = [
11954
11962
  {
11955
- csModifier: io.ALT,
11963
+ csModifier: so.ALT,
11956
11964
  vcsModifier: F.ALT
11957
11965
  },
11958
11966
  {
11959
- csModifier: io.CTRL,
11967
+ csModifier: so.CTRL,
11960
11968
  vcsModifier: F.CTRL
11961
11969
  },
11962
11970
  {
11963
- csModifier: io.SHIFT,
11971
+ csModifier: so.SHIFT,
11964
11972
  vcsModifier: F.SHIFT
11965
11973
  },
11966
11974
  { csModifier: void 0, vcsModifier: F.NONE }
@@ -12033,7 +12041,7 @@ class B extends ci {
12033
12041
  // @ts-ignore // error in Cesium, recheck on next cesium update
12034
12042
  baseLayer: !1,
12035
12043
  shadows: !1,
12036
- terrainShadows: za.ENABLED,
12044
+ terrainShadows: Ha.ENABLED,
12037
12045
  contextOptions: s
12038
12046
  }), this._cesiumWidget.scene.globe.tileCacheSize = this.tileCacheSize, this._cesiumWidget.scene.globe.baseColor = this.globeColor, this.dataSourceDisplay = new nh({
12039
12047
  scene: this._cesiumWidget.scene,
@@ -12092,7 +12100,7 @@ class B extends ci {
12092
12100
  const a = new Xc(e.position, e.direction), o = this._cesiumWidget.scene.globe.pick(a, this._cesiumWidget.scene);
12093
12101
  if (o) {
12094
12102
  n = _.distance(o, s);
12095
- const d = $o.WGS84.cartesianToCartographic(o);
12103
+ const d = qo.WGS84.cartesianToCartographic(o);
12096
12104
  r = [
12097
12105
  b.toDegrees(d.longitude),
12098
12106
  b.toDegrees(d.latitude),
@@ -12293,7 +12301,7 @@ class B extends ci {
12293
12301
  addPrimitiveCollection(e) {
12294
12302
  if (!this._cesiumWidget)
12295
12303
  throw new Error("Cannot add primitive to uninitialized map");
12296
- this.validateVisualization(e) && (this.addVisualization(e), Ca(this._cesiumWidget.scene.primitives, e, this.layerCollection));
12304
+ this.validateVisualization(e) && (this.addVisualization(e), Ma(this._cesiumWidget.scene.primitives, e, this.layerCollection));
12297
12305
  }
12298
12306
  /**
12299
12307
  * Internal API to unregister the visualization for a layers implementation
@@ -12310,7 +12318,7 @@ class B extends ci {
12310
12318
  addImageryLayer(e) {
12311
12319
  if (!this._cesiumWidget)
12312
12320
  throw new Error("Cannot add primitive to uninitialized map");
12313
- this.validateVisualization(e) && (this.addVisualization(e), Ca(this._cesiumWidget.scene.imageryLayers, e, this.layerCollection));
12321
+ this.validateVisualization(e) && (this.addVisualization(e), Ma(this._cesiumWidget.scene.imageryLayers, e, this.layerCollection));
12314
12322
  }
12315
12323
  /**
12316
12324
  * Internal API used to unregister visualizations from layer implementations
@@ -12726,9 +12734,9 @@ class wi {
12726
12734
  }
12727
12735
  }
12728
12736
  const rw = "EPSG:3857";
12729
- let bo;
12737
+ let Po;
12730
12738
  function jl() {
12731
- return bo || (bo = new zc()), bo;
12739
+ return Po || (Po = new zc()), Po;
12732
12740
  }
12733
12741
  function nw(i) {
12734
12742
  const { crs: t } = i;
@@ -12859,13 +12867,13 @@ function Xr(i, t = {}, e = []) {
12859
12867
  } else if (s instanceof ht) {
12860
12868
  const l = s.getCoordinates();
12861
12869
  l.forEach((c) => {
12862
- il(c);
12870
+ sl(c);
12863
12871
  }), s = new ht(l, s.getLayout());
12864
12872
  } else if (s instanceof ks) {
12865
12873
  const l = s.getCoordinates();
12866
12874
  l.forEach((c) => {
12867
12875
  c.forEach((d) => {
12868
- il(d);
12876
+ sl(d);
12869
12877
  });
12870
12878
  }), s = new ks(l, s.getLayout());
12871
12879
  }
@@ -12897,7 +12905,7 @@ const hw = Xe();
12897
12905
  function $l(i) {
12898
12906
  i[Je] = hw;
12899
12907
  }
12900
- class al {
12908
+ class ol {
12901
12909
  /**
12902
12910
  * @param config
12903
12911
  */
@@ -12933,13 +12941,13 @@ class al {
12933
12941
  }
12934
12942
  }
12935
12943
  function cw(i, t) {
12936
- if (t.style && i.setStyle(Sa(t.style, i.defaultStyle)), t.highlightStyle) {
12937
- const e = Sa(t.highlightStyle, i.highlightStyle);
12944
+ if (t.style && i.setStyle(wa(t.style, i.defaultStyle)), t.highlightStyle) {
12945
+ const e = wa(t.highlightStyle, i.highlightStyle);
12938
12946
  i.setHighlightStyle(e);
12939
12947
  }
12940
12948
  t.vectorProperties && i.vectorProperties.setValues(t.vectorProperties), t.zIndex != null && (i.zIndex = t.zIndex);
12941
12949
  }
12942
- function Po(i, t, e, s) {
12950
+ function Lo(i, t, e, s) {
12943
12951
  if (s == null ? t !== e : s !== t)
12944
12952
  throw new Error(`Cannot merge options, values of ${i} do not match`);
12945
12953
  }
@@ -13036,7 +13044,7 @@ class Bi extends Ut {
13036
13044
  */
13037
13045
  mergeOptions(e) {
13038
13046
  const s = Bi.getDefaultConfig();
13039
- Po("classRegistryName", this._classRegistryName, s.classRegistryName, e.classRegistryName), Po("featureProperty", this._featureProperty, s.featureProperty, e.featureProperty), Po("keyProperty", this._keyProperty, s.keyProperty, e.keyProperty), this.title = e.title || this.title, e.layerOptions && this._layer && cw(this._layer, e.layerOptions);
13047
+ Lo("classRegistryName", this._classRegistryName, s.classRegistryName, e.classRegistryName), Lo("featureProperty", this._featureProperty, s.featureProperty, e.featureProperty), Lo("keyProperty", this._keyProperty, s.keyProperty, e.keyProperty), this.title = e.title || this.title, e.layerOptions && this._layer && cw(this._layer, e.layerOptions);
13040
13048
  }
13041
13049
  /**
13042
13050
  * When setting the category, it MUST use the same uniqueKey as the previous collection (default is "name").
@@ -13050,7 +13058,7 @@ class Bi extends Ut {
13050
13058
  throw new Error("The collections key property does not match the categories key property");
13051
13059
  this._collectionListeners.forEach((s) => {
13052
13060
  s();
13053
- }), this._collection && yi(this._collection), this._layer && this._layer.removeAllFeatures(), this._collection = e[Ko] ? e : _i(e, this._getDynamicModuleId.bind(this), this._serializeItem.bind(this), this._deserializeItem.bind(this)), [...this.collection].forEach((s) => {
13061
+ }), this._collection && yi(this._collection), this._layer && this._layer.removeAllFeatures(), this._collection = e[Qo] ? e : _i(e, this._getDynamicModuleId.bind(this), this._serializeItem.bind(this), this._deserializeItem.bind(this)), [...this.collection].forEach((s) => {
13054
13062
  this._itemAdded(s);
13055
13063
  }), this._collectionListeners = [
13056
13064
  this._collection.added.addEventListener(this._itemAdded.bind(this)),
@@ -13187,7 +13195,7 @@ class js extends Ut {
13187
13195
  */
13188
13196
  h(this, "mapTypes");
13189
13197
  const r = js.getDefaultOptions();
13190
- this.layerName = e, this.style = s.style ? Sa(s.style, gs.clone()) : void 0, this.showGeometry = ce(s.showGeometry, r.showGeometry), this.vectorProperties = s.vectorProperties instanceof Gt ? s.vectorProperties : new Gt({
13198
+ this.layerName = e, this.style = s.style ? wa(s.style, gs.clone()) : void 0, this.showGeometry = ce(s.showGeometry, r.showGeometry), this.vectorProperties = s.vectorProperties instanceof Gt ? s.vectorProperties : new Gt({
13191
13199
  ...r.vectorProperties,
13192
13200
  ...s.vectorProperties
13193
13201
  }), this.mapTypes = Array.isArray(s.mapTypes) ? s.mapTypes : r.mapTypes;
@@ -13248,7 +13256,7 @@ class js extends Ut {
13248
13256
  this.style = void 0, this.vectorProperties.destroy(), super.destroy();
13249
13257
  }
13250
13258
  }
13251
- class ol extends js {
13259
+ class ll extends js {
13252
13260
  /**
13253
13261
  * @param layerName
13254
13262
  * @param options
@@ -13269,14 +13277,14 @@ class ol extends js {
13269
13277
  this.tileProvider.destroy(), super.destroy();
13270
13278
  }
13271
13279
  }
13272
- Ll.registerClass(ol.className, ol);
13280
+ Ll.registerClass(ll.className, ll);
13273
13281
  var it;
13274
13282
  (function(i) {
13275
13283
  i.GEOGRAPHIC = "geographic", i.MERCATOR = "mercator";
13276
13284
  })(it || (it = {}));
13277
13285
  function bd(i) {
13278
13286
  const t = {};
13279
- return i.numberOfLevelZeroTilesX && i.numberOfLevelZeroTilesX > 1 && (t.numberOfLevelZeroTilesX = i.numberOfLevelZeroTilesX), i.numberOfLevelZeroTilesY && i.numberOfLevelZeroTilesY > 1 && (t.numberOfLevelZeroTilesY = i.numberOfLevelZeroTilesY), i.tilingSchema === it.MERCATOR ? new yl(t) : new Qc(t);
13287
+ return i.numberOfLevelZeroTilesX && i.numberOfLevelZeroTilesX > 1 && (t.numberOfLevelZeroTilesX = i.numberOfLevelZeroTilesX), i.numberOfLevelZeroTilesY && i.numberOfLevelZeroTilesY > 1 && (t.numberOfLevelZeroTilesY = i.numberOfLevelZeroTilesY), i.tilingSchema === it.MERCATOR ? new _l(t) : new Qc(t);
13280
13288
  }
13281
13289
  function fw(i, t, e, s = 0) {
13282
13290
  if (!i.isValid())
@@ -13284,10 +13292,10 @@ function fw(i, t, e, s = 0) {
13284
13292
  const r = i.getCoordinatesInProjection(de);
13285
13293
  r[1] < -85 && (r[1] = -85), r[3] > 85 && (r[3] = 85);
13286
13294
  const a = [
13287
- fl(r),
13295
+ gl(r),
13288
13296
  Ac(r),
13289
13297
  Dc(r),
13290
- Ga(r)
13298
+ ka(r)
13291
13299
  ].map((l) => ee.fromDegrees(l[0], l[1]));
13292
13300
  let o = s;
13293
13301
  for (; o < e; ) {
@@ -13346,9 +13354,9 @@ class Dt extends st {
13346
13354
  */
13347
13355
  h(this, "splitDirectionChanged", new L());
13348
13356
  const s = Dt.getDefaultOptions();
13349
- this.extent = e.extent ? new be(e.extent) : new be(), this.tilingSchema = ja(e.tilingSchema, it, s.tilingSchema), this.maxLevel = ne(e.maxLevel, s.maxLevel), this._minLevel = ne(e.minLevel, s.minLevel);
13357
+ this.extent = e.extent ? new be(e.extent) : new be(), this.tilingSchema = $a(e.tilingSchema, it, s.tilingSchema), this.maxLevel = ne(e.maxLevel, s.maxLevel), this._minLevel = ne(e.minLevel, s.minLevel);
13350
13358
  const r = bd(e);
13351
- this.minLevel = fw(this.extent, r, this.maxLevel, this._minLevel), this.minRenderingLevel = ne(e.minRenderingLevel, s.minRenderingLevel), this.maxRenderingLevel = ne(e.maxRenderingLevel, s.maxRenderingLevel), this._opacity = ga(e.opacity, s.opacity, 0, 1), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT), this.imageryLayerOptions = structuredClone(e.imageryLayerOptions);
13359
+ this.minLevel = fw(this.extent, r, this.maxLevel, this._minLevel), this.minRenderingLevel = ne(e.minRenderingLevel, s.minRenderingLevel), this.maxRenderingLevel = ne(e.maxRenderingLevel, s.maxRenderingLevel), this._opacity = ma(e.opacity, s.opacity, 0, 1), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT), this.imageryLayerOptions = structuredClone(e.imageryLayerOptions);
13352
13360
  }
13353
13361
  static get className() {
13354
13362
  return "RasterLayer";
@@ -13384,7 +13392,7 @@ class Dt extends st {
13384
13392
  return this._opacity;
13385
13393
  }
13386
13394
  set opacity(e) {
13387
- const s = ga(e, this._opacity, 0, 1);
13395
+ const s = ma(e, this._opacity, 0, 1);
13388
13396
  this._opacity !== s && (this._opacity = s, this.getImplementations().forEach((r) => {
13389
13397
  r.updateOpacity(s);
13390
13398
  }));
@@ -13418,11 +13426,11 @@ function Pd(i, t) {
13418
13426
  return i === "geographic" ? t === "1.3.0" ? "CRS:84" : "EPSG:4326" : "EPSG:3857";
13419
13427
  }
13420
13428
  function Ld(i) {
13421
- const t = i.tilingSchema === "geographic" ? de : W, e = t.proj.getExtent(), s = ko(e), r = i.tilingSchema === it.GEOGRAPHIC ? s / (i.tileSize[0] * 2) : s / i.tileSize[0], n = i.maxLevel + 1, a = [];
13429
+ const t = i.tilingSchema === "geographic" ? de : W, e = t.proj.getExtent(), s = zo(e), r = i.tilingSchema === it.GEOGRAPHIC ? s / (i.tileSize[0] * 2) : s / i.tileSize[0], n = i.maxLevel + 1, a = [];
13422
13430
  for (let c = 0; c < n; ++c)
13423
13431
  a.push(r / 2 ** c);
13424
13432
  const o = {
13425
- origin: Ga(e),
13433
+ origin: ka(e),
13426
13434
  resolutions: a,
13427
13435
  tileSize: i.tileSize,
13428
13436
  minZoom: i.minLevel
@@ -13434,7 +13442,7 @@ function Ld(i) {
13434
13442
  params: i.parameters,
13435
13443
  projection: Pd(i.tilingSchema, i.version)
13436
13444
  };
13437
- return fi.contains(i.url) ? l.crossOrigin = "use-credentials" : gi(i.url) || (l.crossOrigin = "anonymous"), i.headers && (l.tileLoadFunction = Ya(i.headers)), new df(l);
13445
+ return fi.contains(i.url) ? l.crossOrigin = "use-credentials" : gi(i.url) || (l.crossOrigin = "anonymous"), i.headers && (l.tileLoadFunction = Xa(i.headers)), new df(l);
13438
13446
  }
13439
13447
  function gw(i) {
13440
13448
  const t = {
@@ -13454,9 +13462,9 @@ function gw(i) {
13454
13462
  }), new ff(t);
13455
13463
  }
13456
13464
  const mw = {
13457
- GML: Bo,
13458
- GML2: zo,
13459
- GML3: Bo
13465
+ GML: Vo,
13466
+ GML2: Ho,
13467
+ GML3: Vo
13460
13468
  }, pw = [
13461
13469
  "application/geojson",
13462
13470
  "application/json",
@@ -13465,10 +13473,10 @@ const mw = {
13465
13473
  ];
13466
13474
  function yw(i, t = {}) {
13467
13475
  if (i === "text/xml") {
13468
- const e = t.gmlFormat ? new mw[t.gmlFormat]() : new zo();
13469
- return new Ho({ ...t, gmlFormat: e });
13476
+ const e = t.gmlFormat ? new mw[t.gmlFormat]() : new Ho();
13477
+ return new Bo({ ...t, gmlFormat: e });
13470
13478
  }
13471
- return pw.includes(i) ? new zc(t) : i === "application/vnd.ogc.gml" ? new zo(t) : i === "application/vnd.ogc.gml/3.1.1" || i === "text/xml; subtype=gml/3.1.1" ? new Bo(t) : null;
13479
+ return pw.includes(i) ? new zc(t) : i === "application/vnd.ogc.gml" ? new Ho(t) : i === "application/vnd.ogc.gml/3.1.1" || i === "text/xml; subtype=gml/3.1.1" ? new Vo(t) : null;
13472
13480
  }
13473
13481
  class ys extends js {
13474
13482
  constructor(e, s) {
@@ -14416,9 +14424,9 @@ class bw extends er {
14416
14424
  return new vs(s, r);
14417
14425
  }
14418
14426
  }
14419
- const Ma = new Array(25);
14420
- for (let i = 0; i < Ma.length; i++)
14421
- Ma[i] = 200375083427892e-7 * 2 / 256 / 2 ** (i + 1);
14427
+ const xa = new Array(25);
14428
+ for (let i = 0; i < xa.length; i++)
14429
+ xa[i] = 200375083427892e-7 * 2 / 256 / 2 ** (i + 1);
14422
14430
  function Ul(i) {
14423
14431
  const t = Et.southwest(i), e = Et.northeast(i), s = [
14424
14432
  b.toDegrees(t.longitude),
@@ -14436,7 +14444,7 @@ class ut extends Ut {
14436
14444
  /**
14437
14445
  * Cesium Webmercator TilingScheme
14438
14446
  */
14439
- h(this, "tilingScheme", new yl());
14447
+ h(this, "tilingScheme", new _l());
14440
14448
  /**
14441
14449
  * sorted baseLevels, maximumLevel first example: [18,17,16]
14442
14450
  */
@@ -14530,7 +14538,7 @@ class ut extends Ut {
14530
14538
  const c = this.idProperty ? l.get(this.idProperty) : null;
14531
14539
  c != null && l.setId(String(c)), l.getId() || l.setId(Xe());
14532
14540
  });
14533
- const o = new nl(a.length);
14541
+ const o = new al(a.length);
14534
14542
  return o.load(a.map((l) => {
14535
14543
  const c = l.getGeometry();
14536
14544
  if (c) {
@@ -14547,7 +14555,7 @@ class ut extends Ut {
14547
14555
  }).filter((l) => l)), this.tileLoadedEvent.raiseEvent({ tileId: r, rtree: o }), this._trackFeatures(a, r), this.rtreeCache.set(r, o), o;
14548
14556
  }).catch(() => {
14549
14557
  this.getLogger().warning(`Could not load Tile ${r}`);
14550
- const a = new nl();
14558
+ const a = new al();
14551
14559
  return this.rtreeCache.set(r, a), a;
14552
14560
  });
14553
14561
  this.cache.get(s).set(r, n), this.cache.get(s).canExpireCache() && await Promise.all([
@@ -14572,7 +14580,7 @@ class ut extends Ut {
14572
14580
  getBaseLevelForResolution(e, s) {
14573
14581
  const r = e / Math.cos(s);
14574
14582
  let n = 0;
14575
- for (let o = 0; o < Ma.length && (n = o, !(r >= Ma[o])); o++)
14583
+ for (let o = 0; o < xa.length && (n = o, !(r >= xa[o])); o++)
14576
14584
  ;
14577
14585
  const a = this.getBaseLevel(n);
14578
14586
  return a === void 0 ? this.baseLevels[this.baseLevels.length - 1] : a;
@@ -14608,7 +14616,7 @@ class ut extends Ut {
14608
14616
  async getFeaturesByCoordinate(e, s, r) {
14609
14617
  const n = mf(e);
14610
14618
  Gc(n, s, n);
14611
- const a = Ol(e), o = ee.fromDegrees(a[0], a[1]), l = this.getBaseLevelForResolution(s, o.latitude), c = await this._getRtreeForBaseTile(l, o, r);
14619
+ const a = bl(e), o = ee.fromDegrees(a[0], a[1]), l = this.getBaseLevelForResolution(s, o.latitude), c = await this._getRtreeForBaseTile(l, o, r);
14612
14620
  return c ? c.search({
14613
14621
  minX: n[0],
14614
14622
  minY: n[1],
@@ -14834,13 +14842,13 @@ class Tw {
14834
14842
  h(this, "tileProvider");
14835
14843
  h(this, "_tilingScheme");
14836
14844
  h(this, "_tileSize");
14837
- h(this, "_errorEvent", new qo());
14845
+ h(this, "_errorEvent", new Uo());
14838
14846
  h(this, "headers");
14839
14847
  h(this, "emptyCanvas");
14840
14848
  h(this, "minLevel", 0);
14841
14849
  h(this, "maxLevel", 26);
14842
14850
  h(this, "_reload");
14843
- this.tileProvider = t.tileProvider, this._tilingScheme = this.tileProvider.tilingScheme, this._tileSize = t.tileSize, this._errorEvent = new qo(), this.emptyCanvas = document.createElement("canvas"), this.emptyCanvas.width = this.tileWidth, this.emptyCanvas.height = this.tileHeight, this.headers = t.headers;
14851
+ this.tileProvider = t.tileProvider, this._tilingScheme = this.tileProvider.tilingScheme, this._tileSize = t.tileSize, this._errorEvent = new Uo(), this.emptyCanvas = document.createElement("canvas"), this.emptyCanvas.width = this.tileWidth, this.emptyCanvas.height = this.tileHeight, this.headers = t.headers;
14844
14852
  }
14845
14853
  // eslint-disable-next-line class-methods-use-this
14846
14854
  get _ready() {
@@ -14992,7 +15000,7 @@ class Dw extends er {
14992
15000
  const a = this.extent.getCoordinatesInProjection(de);
14993
15001
  a && (s.rectangle = Et.fromDegrees(a[0], a[1], a[2], a[3]));
14994
15002
  }
14995
- this.tilingSchema === "mercator" && (s.tilingScheme = new yl());
15003
+ this.tilingSchema === "mercator" && (s.tilingScheme = new _l());
14996
15004
  const r = new pg(s), n = this.getCesiumLayerOptions();
14997
15005
  return Promise.resolve(new vs(r, n));
14998
15006
  }
@@ -15180,7 +15188,7 @@ function Rw(i, t) {
15180
15188
  const e = Wl(i, t), s = z.wgs84ToMercator([e[0], e[1]]), r = z.wgs84ToMercator([e[2], e[3]]);
15181
15189
  return [s[0], s[1], r[0], r[1]];
15182
15190
  }
15183
- function Xa(i, t) {
15191
+ function Za(i, t) {
15184
15192
  var s;
15185
15193
  const e = ((s = t.getScene()) == null ? void 0 : s.getHeight(Et.center(i.rectangle), Y.CLAMP_TO_GROUND)) ?? 0;
15186
15194
  return new _g({
@@ -15206,7 +15214,7 @@ function Fw(i, t, e) {
15206
15214
  dataRange: [i, r > i ? r : i]
15207
15215
  };
15208
15216
  }
15209
- function ll(i) {
15217
+ function hl(i) {
15210
15218
  return `${i.level}/${i.x}/${i.y}`;
15211
15219
  }
15212
15220
  class Gw {
@@ -15215,7 +15223,7 @@ class Gw {
15215
15223
  h(this, "type", _s.CHILD);
15216
15224
  h(this, "tileBoundingRegion");
15217
15225
  h(this, "_tile");
15218
- this.tileBoundingRegion = Xa(t, e), this.state = He.READY, this._tile = t;
15226
+ this.tileBoundingRegion = Za(t, e), this.state = He.READY, this._tile = t;
15219
15227
  }
15220
15228
  get show() {
15221
15229
  var t, e;
@@ -15225,9 +15233,9 @@ class Gw {
15225
15233
  set show(t) {
15226
15234
  }
15227
15235
  }
15228
- let Lo;
15236
+ let Io;
15229
15237
  function kw() {
15230
- return Lo || (Lo = new Gt({})), Lo;
15238
+ return Io || (Io = new Gt({})), Io;
15231
15239
  }
15232
15240
  class zw {
15233
15241
  constructor(t, e) {
@@ -15242,7 +15250,7 @@ class zw {
15242
15250
  h(this, "_tileProvider");
15243
15251
  h(this, "_style");
15244
15252
  h(this, "_layerPrimitiveCollection");
15245
- this._tile = t, this._map = e.map, this._tileProvider = e.tileProvider, this._style = e.style, this._layerPrimitiveCollection = e.primitiveCollection, this._vectorContext = new zl(this._map, this._rootCollection, we.NONE), this._rootCollection[J] = e.name, this._rootCollection.show = !1, this._layerPrimitiveCollection.add(this._rootCollection), this.tileBoundingRegion = Xa(t, this._map), this._load().catch(() => {
15253
+ this._tile = t, this._map = e.map, this._tileProvider = e.tileProvider, this._style = e.style, this._layerPrimitiveCollection = e.primitiveCollection, this._vectorContext = new zl(this._map, this._rootCollection, we.NONE), this._rootCollection[J] = e.name, this._rootCollection.show = !1, this._layerPrimitiveCollection.add(this._rootCollection), this.tileBoundingRegion = Za(t, this._map), this._load().catch(() => {
15246
15254
  this.state = He.FAILED;
15247
15255
  });
15248
15256
  }
@@ -15272,7 +15280,7 @@ class zw {
15272
15280
  this._rootCollection.show = t;
15273
15281
  }
15274
15282
  freeResources() {
15275
- he("VcsDebugTile").log(`freeing resources: ${ll(this._tile)}`), this.destroy();
15283
+ he("VcsDebugTile").log(`freeing resources: ${hl(this._tile)}`), this.destroy();
15276
15284
  }
15277
15285
  destroy() {
15278
15286
  this._vectorContext.destroy(), this._layerPrimitiveCollection.remove(this._rootCollection), this._tile.data = void 0;
@@ -15283,7 +15291,7 @@ class Hw {
15283
15291
  h(this, "state", He.LOADING);
15284
15292
  h(this, "type", _s.NO_DATA);
15285
15293
  h(this, "tileBoundingRegion");
15286
- this.tileBoundingRegion = Xa(t, e), this.state = He.READY;
15294
+ this.tileBoundingRegion = Za(t, e), this.state = He.READY;
15287
15295
  }
15288
15296
  // eslint-disable-next-line class-methods-use-this
15289
15297
  get show() {
@@ -15308,7 +15316,7 @@ class Bw {
15308
15316
  h(this, "_vectorProperties");
15309
15317
  h(this, "_layerPrimitiveCollection");
15310
15318
  h(this, "_isDestroyed");
15311
- this._tile = t, this._map = e.map, this._tileProvider = e.tileProvider, this._style = e.style, this._vectorProperties = e.vectorProperties, this._layerPrimitiveCollection = e.primitiveCollection, this._vectorContext = new zl(e.map, this._rootCollection, e.splitDirection), this._rootCollection[J] = e.name, this._rootCollection.show = !1, e.primitiveCollection.add(this._rootCollection), this.tileBoundingRegion = Xa(t, e.map), this._load().catch(() => {
15319
+ this._tile = t, this._map = e.map, this._tileProvider = e.tileProvider, this._style = e.style, this._vectorProperties = e.vectorProperties, this._layerPrimitiveCollection = e.primitiveCollection, this._vectorContext = new zl(e.map, this._rootCollection, e.splitDirection), this._rootCollection[J] = e.name, this._rootCollection.show = !1, e.primitiveCollection.add(this._rootCollection), this.tileBoundingRegion = Za(t, e.map), this._load().catch(() => {
15312
15320
  this.state = He.FAILED;
15313
15321
  }), this._isDestroyed = !1;
15314
15322
  }
@@ -15348,7 +15356,7 @@ class jw {
15348
15356
  constructor(t, e, s) {
15349
15357
  h(this, "quadtree");
15350
15358
  h(this, "tilingScheme");
15351
- h(this, "errorEvent", new qo());
15359
+ h(this, "errorEvent", new Uo());
15352
15360
  h(this, "_destroyed", !1);
15353
15361
  h(this, "_levelZeroMaximumError");
15354
15362
  h(this, "_tileOptions");
@@ -15401,7 +15409,7 @@ class jw {
15401
15409
  endUpdate(t) {
15402
15410
  var e;
15403
15411
  (e = this.quadtree) == null || e.forEachLoadedTile((s) => {
15404
- s.data && (s.data.show = this._showingTiles.has(ll(s)));
15412
+ s.data && (s.data.show = this._showingTiles.has(hl(s)));
15405
15413
  }), this._showingTiles.clear();
15406
15414
  }
15407
15415
  getLevelMaximumGeometricError(t) {
@@ -15441,7 +15449,7 @@ class jw {
15441
15449
  let e = t;
15442
15450
  for (; ((s = e == null ? void 0 : e.data) == null ? void 0 : s.type) === _s.CHILD; )
15443
15451
  e = e.parent;
15444
- e != null && e.data && this._showingTiles.add(ll(e));
15452
+ e != null && e.data && this._showingTiles.add(hl(e));
15445
15453
  }
15446
15454
  computeDistanceToTile(t, e) {
15447
15455
  var s;
@@ -15469,7 +15477,7 @@ class jw {
15469
15477
  this._destroyed = !0, this._showingTiles.clear();
15470
15478
  }
15471
15479
  }
15472
- class xa extends st {
15480
+ class Ea extends st {
15473
15481
  constructor() {
15474
15482
  super(...arguments);
15475
15483
  /**
@@ -15480,7 +15488,7 @@ class xa extends st {
15480
15488
  /**
15481
15489
  * The feature visibility of this layer. NOTE: Entities cannot be highlighted at this moment.
15482
15490
  */
15483
- h(this, "featureVisibility", new $a());
15491
+ h(this, "featureVisibility", new qa());
15484
15492
  h(this, "_supportedMaps", [B.className]);
15485
15493
  h(this, "_featureVisibilityListeners", []);
15486
15494
  }
@@ -15559,8 +15567,8 @@ class xa extends st {
15559
15567
  }), this._featureVisibilityListeners = [], this.featureVisibility.destroy(), super.destroy();
15560
15568
  }
15561
15569
  }
15562
- ke.registerClass(xa.className, xa);
15563
- class Ea extends xa {
15570
+ ke.registerClass(Ea.className, Ea);
15571
+ class Oa extends Ea {
15564
15572
  /**
15565
15573
  * @param options
15566
15574
  */
@@ -15582,7 +15590,7 @@ class Ea extends xa {
15582
15590
  }));
15583
15591
  h(this, "_initializedPromise");
15584
15592
  this.entities = this.dataSource.entities;
15585
- const s = Ea.getDefaultOptions();
15593
+ const s = Oa.getDefaultOptions();
15586
15594
  this.sourceUri = e.sourceUri || s.sourceUri;
15587
15595
  }
15588
15596
  static get className() {
@@ -15590,7 +15598,7 @@ class Ea extends xa {
15590
15598
  }
15591
15599
  static getDefaultOptions() {
15592
15600
  return {
15593
- ...xa.getDefaultOptions(),
15601
+ ...Ea.getDefaultOptions(),
15594
15602
  sourceUri: void 0
15595
15603
  };
15596
15604
  }
@@ -15625,7 +15633,7 @@ class Ea extends xa {
15625
15633
  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;
15626
15634
  }
15627
15635
  }
15628
- ke.registerClass(Ea.className, Ea);
15636
+ ke.registerClass(Oa.className, Oa);
15629
15637
  function $w(i, t, e) {
15630
15638
  const s = [];
15631
15639
  return i.forEach((r) => {
@@ -15812,7 +15820,7 @@ class qw extends Ut {
15812
15820
  this.unTrack(), this._layer = void 0, this.changed.destroy(), super.destroy();
15813
15821
  }
15814
15822
  }
15815
- class Uw extends $a {
15823
+ class Uw extends qa {
15816
15824
  constructor(e) {
15817
15825
  super();
15818
15826
  h(this, "_changeTracker");
@@ -15867,7 +15875,7 @@ class Wi extends ct {
15867
15875
  h(this, "injectedFetchDynamicFeatureFunc", () => {
15868
15876
  throw new Error("Missing get dynamic feature");
15869
15877
  });
15870
- h(this, "_staticFeatureVisibility", new $a());
15878
+ h(this, "_staticFeatureVisibility", new qa());
15871
15879
  h(this, "_setEditing", null);
15872
15880
  h(this, "_twoDimLoaded", null);
15873
15881
  h(this, "_twoDimStyleChanged", null);
@@ -16088,7 +16096,7 @@ class Wi extends ct {
16088
16096
  }
16089
16097
  }
16090
16098
  ke.registerClass(Wi.className, Wi);
16091
- const Io = Symbol("featureFromOptions");
16099
+ const To = Symbol("featureFromOptions");
16092
16100
  class Jr extends ct {
16093
16101
  constructor(e) {
16094
16102
  const s = Jr.getDefaultOptions();
@@ -16115,7 +16123,7 @@ class Jr extends ct {
16115
16123
  }
16116
16124
  async reload() {
16117
16125
  if (this._dataFetchedPromise) {
16118
- const e = this.getFeatures().filter((s) => s[Io]);
16126
+ const e = this.getFeatures().filter((s) => s[To]);
16119
16127
  this.removeAllFeatures(), this.source.addFeatures(e), this._dataFetchedPromise = null, await this.fetchData();
16120
16128
  }
16121
16129
  return super.reload();
@@ -16130,7 +16138,7 @@ class Jr extends ct {
16130
16138
  type: "FeatureCollection",
16131
16139
  features: this._featuresToLoad
16132
16140
  }), this.getFeatures().forEach((e) => {
16133
- e[Io] = !0;
16141
+ e[To] = !0;
16134
16142
  }), this._featuresToLoad = void 0), this.url) {
16135
16143
  const e = qt(this.url, this.headers);
16136
16144
  this._dataFetchedPromise = ms(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)));
@@ -16153,7 +16161,7 @@ class Jr extends ct {
16153
16161
  if (this.projection.equals(r) ? delete e.projection : e.projection = this.projection.toJSON(), Array.isArray(this._featuresToLoad))
16154
16162
  e.features = this._featuresToLoad.slice();
16155
16163
  else {
16156
- const n = this.getFeatures().filter((a) => a[Io]);
16164
+ const n = this.getFeatures().filter((a) => a[To]);
16157
16165
  n.length > 0 && (e.features = n.map((a) => Xr(a, { writeStyle: !0, writeId: !0 })));
16158
16166
  }
16159
16167
  return e;
@@ -16163,7 +16171,7 @@ class Jr extends ct {
16163
16171
  }
16164
16172
  }
16165
16173
  ke.registerClass(Jr.className, Jr);
16166
- class Sn extends qa {
16174
+ class Sn extends Ua {
16167
16175
  constructor(e, s) {
16168
16176
  super(e, s);
16169
16177
  h(this, "minLevel");
@@ -16229,7 +16237,7 @@ class Kr extends st {
16229
16237
  h(this, "imageryLayerOptions");
16230
16238
  h(this, "_supportedMaps", [B.className, Pe.className]);
16231
16239
  const s = Kr.getDefaultOptions();
16232
- this._splitDirection = we.NONE, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT), this._opacity = ga(e.opacity, s.opacity, 0, 1), this.maxLevel = ne(e.maxLevel, s.maxLevel), this.minRenderingLevel = ne(e.minRenderingLevel, s.minRenderingLevel), this.maxRenderingLevel = ne(e.maxRenderingLevel, s.maxRenderingLevel), this.imageryLayerOptions = structuredClone(e.imageryLayerOptions);
16240
+ this._splitDirection = we.NONE, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? we.LEFT : we.RIGHT), this._opacity = ma(e.opacity, s.opacity, 0, 1), this.maxLevel = ne(e.maxLevel, s.maxLevel), this.minRenderingLevel = ne(e.minRenderingLevel, s.minRenderingLevel), this.maxRenderingLevel = ne(e.maxRenderingLevel, s.maxRenderingLevel), this.imageryLayerOptions = structuredClone(e.imageryLayerOptions);
16233
16241
  }
16234
16242
  static get className() {
16235
16243
  return "OpenStreetMapLayer";
@@ -16259,7 +16267,7 @@ class Kr extends st {
16259
16267
  return this._opacity;
16260
16268
  }
16261
16269
  set opacity(e) {
16262
- const s = ga(e, this._opacity, 0, 1);
16270
+ const s = ma(e, this._opacity, 0, 1);
16263
16271
  this._opacity !== s && (this._opacity = s, this.getImplementations().forEach((r) => {
16264
16272
  r.updateOpacity(s);
16265
16273
  }));
@@ -16330,7 +16338,7 @@ class Yw extends Sn {
16330
16338
  });
16331
16339
  }
16332
16340
  }
16333
- class W1 extends qa {
16341
+ class W1 extends Ua {
16334
16342
  static get className() {
16335
16343
  return "TileDebugOpenlayersImpl";
16336
16344
  }
@@ -16372,7 +16380,7 @@ class Xw extends Sn {
16372
16380
  maxZoom: this.maxLevel,
16373
16381
  wrapX: !1
16374
16382
  };
16375
- fi.contains(this.url) ? e.crossOrigin = "use-credentials" : gi(this.url) || (e.crossOrigin = "anonymous"), this.tilingSchema === it.GEOGRAPHIC && (e.projection = "EPSG:4326"), this.headers && (e.tileLoadFunction = Ya(this.headers));
16383
+ fi.contains(this.url) ? e.crossOrigin = "use-credentials" : gi(this.url) || (e.crossOrigin = "anonymous"), this.tilingSchema === it.GEOGRAPHIC && (e.projection = "EPSG:4326"), this.headers && (e.tileLoadFunction = Xa(this.headers));
16376
16384
  const s = {
16377
16385
  source: new Ef(e),
16378
16386
  opacity: this.opacity,
@@ -16382,7 +16390,7 @@ class Xw extends Sn {
16382
16390
  return this.extent && this.extent.isValid() && (s.extent = this.extent.getCoordinatesInProjection(W)), new Ws(s);
16383
16391
  }
16384
16392
  }
16385
- class Zw extends qa {
16393
+ class Zw extends Ua {
16386
16394
  constructor(e, s) {
16387
16395
  super(e, s);
16388
16396
  h(this, "tileProvider");
@@ -16507,10 +16515,10 @@ class Kw extends Sn {
16507
16515
  }
16508
16516
  getOLLayer() {
16509
16517
  const e = this.tilingSchema === it.GEOGRAPHIC ? de : W, s = e.proj.getExtent();
16510
- let r = ko(s) / this.tileSize[0];
16511
- this.numberOfLevelZeroTilesX > 1 && (r /= this.numberOfLevelZeroTilesX), this.tilingSchema === it.GEOGRAPHIC && (r = ko(s) / (this.tileSize[0] * 2));
16518
+ let r = zo(s) / this.tileSize[0];
16519
+ this.numberOfLevelZeroTilesX > 1 && (r /= this.numberOfLevelZeroTilesX), this.tilingSchema === it.GEOGRAPHIC && (r = zo(s) / (this.tileSize[0] * 2));
16512
16520
  const n = this.maxLevel + 1, a = new Array(n).fill(void 0).map((f, g) => r / 2 ** g), o = this.extent.getCoordinatesInProjection(e), l = {
16513
- origin: Ga(s),
16521
+ origin: ka(s),
16514
16522
  extent: o,
16515
16523
  resolutions: a,
16516
16524
  matrixIds: this.matrixIds,
@@ -16532,7 +16540,7 @@ class Kw extends Sn {
16532
16540
  matrixSet: this.tileMatrixSetID,
16533
16541
  url: this.url
16534
16542
  };
16535
- return fi.contains(this.url) ? u.crossOrigin = "use-credentials" : gi(this.url) || (u.crossOrigin = "anonymous"), this.tilingSchema === it.GEOGRAPHIC && (u.projection = "EPSG:4326"), this.headers && (u.tileLoadFunction = Ya(this.headers)), Object.assign(u, this.openlayersOptions), new Ws({
16543
+ return fi.contains(this.url) ? u.crossOrigin = "use-credentials" : gi(this.url) || (u.crossOrigin = "anonymous"), this.tilingSchema === it.GEOGRAPHIC && (u.projection = "EPSG:4326"), this.headers && (u.tileLoadFunction = Xa(this.headers)), Object.assign(u, this.openlayersOptions), new Ws({
16536
16544
  opacity: this.opacity,
16537
16545
  minZoom: this.minRenderingLevel,
16538
16546
  maxZoom: this.maxRenderingLevel,
@@ -16596,11 +16604,11 @@ class Qr extends di {
16596
16604
  }
16597
16605
  }
16598
16606
  ke.registerClass(Qr.className, Qr);
16599
- class Oa extends Dt {
16607
+ class ba extends Dt {
16600
16608
  constructor(e) {
16601
16609
  super(e);
16602
16610
  h(this, "credit");
16603
- const s = Oa.getDefaultOptions();
16611
+ const s = ba.getDefaultOptions();
16604
16612
  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 be({
16605
16613
  projection: de.toJSON(),
16606
16614
  coordinates: [-180, -90, 180, 90]
@@ -16640,7 +16648,7 @@ class Oa extends Dt {
16640
16648
  return delete e.tilingSchema, this.credit && (e.credit = this.credit), e;
16641
16649
  }
16642
16650
  }
16643
- ke.registerClass(Oa.className, Oa);
16651
+ ke.registerClass(ba.className, ba);
16644
16652
  class en extends st {
16645
16653
  constructor(e) {
16646
16654
  super(e);
@@ -16726,9 +16734,9 @@ function Td(i, t, e, s, r, n = "en") {
16726
16734
  }
16727
16735
  return a = a.replace(/\{x\}/, String(t)).replace(/\{y\}/, String(e)).replace(/\{z\}/, String(s)).replace(/\{locale\}/, n), a;
16728
16736
  }
16729
- class ba extends ut {
16737
+ class Pa extends ut {
16730
16738
  constructor(e) {
16731
- const s = ba.getDefaultOptions();
16739
+ const s = Pa.getDefaultOptions();
16732
16740
  super(e);
16733
16741
  h(this, "url");
16734
16742
  this.url = e.url || s.url;
@@ -16760,10 +16768,10 @@ class ba extends ut {
16760
16768
  return this.url && (e.url = this.url), e;
16761
16769
  }
16762
16770
  }
16763
- Js.registerClass(ba.className, ba);
16764
- class Pa extends ut {
16771
+ Js.registerClass(Pa.className, Pa);
16772
+ class La extends ut {
16765
16773
  constructor(e) {
16766
- const s = Pa.getDefaultOptions();
16774
+ const s = La.getDefaultOptions();
16767
16775
  super(e);
16768
16776
  h(this, "url");
16769
16777
  h(this, "_MVTFormat", new If({ featureClass: ue }));
@@ -16800,10 +16808,10 @@ class Pa extends ut {
16800
16808
  return this.url && (e.url = this.url), e;
16801
16809
  }
16802
16810
  }
16803
- Js.registerClass(Pa.className, Pa);
16804
- class La extends ut {
16811
+ Js.registerClass(La.className, La);
16812
+ class Ia extends ut {
16805
16813
  constructor(e) {
16806
- const s = La.getDefaultOptions();
16814
+ const s = Ia.getDefaultOptions();
16807
16815
  super({ ...e, baseLevels: s.baseLevels });
16808
16816
  h(this, "url");
16809
16817
  this.url = e.url || s.url;
@@ -16828,7 +16836,7 @@ class La extends ut {
16828
16836
  return delete e.baseLevels, this.url && (e.url = this.url), e;
16829
16837
  }
16830
16838
  }
16831
- Js.registerClass(La.className, La);
16839
+ Js.registerClass(Ia.className, Ia);
16832
16840
  class Ad extends ut {
16833
16841
  constructor(e) {
16834
16842
  const s = Ad.getDefaultOptions();
@@ -17003,7 +17011,7 @@ class sn extends Li {
17003
17011
  async initialize() {
17004
17012
  this.initialized || (this._tileLoadEventListener = this.tileProvider.tileLoadedEvent.addEventListener((e) => this._handleTileLoaded(e)), this._vectorPropertiesChangedListener = this.vectorProperties.propertyChanged.addEventListener(() => {
17005
17013
  this.reload();
17006
- }), this._renderer === "image" && (this.featureProvider = new ol(this.name, {
17014
+ }), this._renderer === "image" && (this.featureProvider = new ll(this.name, {
17007
17015
  // XXX this overwrites
17008
17016
  style: this.style,
17009
17017
  tileProvider: this.tileProvider,
@@ -17073,7 +17081,7 @@ class sn extends Li {
17073
17081
  */
17074
17082
  _featureStyle(e, s) {
17075
17083
  let r;
17076
- return e[Ct] || e[Mt] ? [] : (e[Ie] ? { style: r } = e[Ie] : this.style instanceof tt ? { style: r } = this.style : r = e.getStyle() || this.style.style, wa(r, e, s));
17084
+ return e[Ct] || e[Mt] ? [] : (e[Ie] ? { style: r } = e[Ie] : this.style instanceof tt ? { style: r } = this.style : r = e.getStyle() || this.style.style, Ca(r, e, s));
17077
17085
  }
17078
17086
  getImplementationOptions() {
17079
17087
  return {
@@ -17121,7 +17129,7 @@ class sn extends Li {
17121
17129
  }
17122
17130
  }
17123
17131
  ke.registerClass(sn.className, sn);
17124
- class Ia extends ct {
17132
+ class Ta extends ct {
17125
17133
  constructor(e) {
17126
17134
  var r;
17127
17135
  const s = new z(e.projection).toJSON();
@@ -17136,7 +17144,7 @@ class Ia extends ct {
17136
17144
  h(this, "getFeaturesOptions");
17137
17145
  h(this, "wfsFormat");
17138
17146
  h(this, "_dataFetchedPromise");
17139
- this.featureType = Array.isArray(e.featureType) ? e.featureType : [e.featureType], this.featureNS = e.featureNS, this.featurePrefix = e.featurePrefix, this.getFeaturesOptions = e.getFeatureOptions || {}, this.version = e.version, this.wfsFormat = new Ho({
17147
+ this.featureType = Array.isArray(e.featureType) ? e.featureType : [e.featureType], this.featureNS = e.featureNS, this.featurePrefix = e.featurePrefix, this.getFeaturesOptions = e.getFeatureOptions || {}, this.version = e.version, this.wfsFormat = new Bo({
17140
17148
  featureNS: this.featureNS,
17141
17149
  featureType: this.featureType,
17142
17150
  version: this.version
@@ -17159,7 +17167,7 @@ class Ia extends ct {
17159
17167
  return this.initialized || await this.fetchData(), super.initialize();
17160
17168
  }
17161
17169
  async reload() {
17162
- return this.wfsFormat = new Ho({
17170
+ return this.wfsFormat = new Bo({
17163
17171
  featureNS: this.featureNS,
17164
17172
  featureType: this.featureType,
17165
17173
  version: this.version
@@ -17191,11 +17199,11 @@ class Ia extends ct {
17191
17199
  this.addFeatures(s);
17192
17200
  }
17193
17201
  toJSON() {
17194
- const e = super.toJSON(), s = Ia.getDefaultOptions();
17202
+ const e = super.toJSON(), s = Ta.getDefaultOptions();
17195
17203
  return e.featureType = this.featureType.slice(), e.featureNS = this.featureNS, e.featurePrefix = this.featurePrefix, Object.keys(this.getFeaturesOptions).length > 0 && (e.getFeatureOptions = this.getFeaturesOptions), this.version !== s.version && (e.version = this.version), e;
17196
17204
  }
17197
17205
  }
17198
- ke.registerClass(Ia.className, Ia);
17206
+ ke.registerClass(Ta.className, Ta);
17199
17207
  class rn extends Dt {
17200
17208
  /**
17201
17209
  * @param options
@@ -17368,7 +17376,7 @@ class nn extends Dt {
17368
17376
  }
17369
17377
  }
17370
17378
  ke.registerClass(nn.className, nn);
17371
- function To() {
17379
+ function Ao() {
17372
17380
  return he("ClippingObject");
17373
17381
  }
17374
17382
  const zn = Symbol("ClippingObjectGlobe");
@@ -17452,7 +17460,7 @@ class Hn {
17452
17460
  });
17453
17461
  else {
17454
17462
  const n = this.layerNames.indexOf(t.name);
17455
- To().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(n, 1);
17463
+ Ao().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(n, 1);
17456
17464
  }
17457
17465
  } else this.targets.has(t.name) && (this.targets.delete(t.name), this.targetsUpdated.raiseEvent());
17458
17466
  else if (this.entities.find((s) => s.layerName === t.name)) {
@@ -17460,7 +17468,7 @@ class Hn {
17460
17468
  const r = e.getVisualizationsForLayer(t), n = r ? [...r][0] : null;
17461
17469
  if (!n) {
17462
17470
  const a = this.layerNames.indexOf(t.name);
17463
- To().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(a, 1);
17471
+ Ao().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(a, 1);
17464
17472
  return;
17465
17473
  }
17466
17474
  this.entities.filter((a) => a.layerName === t.name).forEach((a) => {
@@ -17471,7 +17479,7 @@ class Hn {
17471
17479
  this.targets.set(o, l), s = !0;
17472
17480
  else {
17473
17481
  const c = this.entities.indexOf(a);
17474
- To().warning(`could not find entity with id ${a.entityId} in layer ${a.layerName}`), this.entities.splice(c, 1);
17482
+ Ao().warning(`could not find entity with id ${a.entityId} in layer ${a.layerName}`), this.entities.splice(c, 1);
17475
17483
  }
17476
17484
  } else this.targets.has(o) && (this.targets.delete(o), s = !0);
17477
17485
  }), s && this.targetsUpdated.raiseEvent();
@@ -17579,7 +17587,7 @@ function Z1(i, t = {}, e = void 0) {
17579
17587
  const a = Wt(r);
17580
17588
  if (a.length < 2 || a[0][0] === a[1][0] && a[0][1] === a[1][1])
17581
17589
  return null;
17582
- n === "Polygon" ? (il(a), bv(a)) : n === "LineString" && a.length === 2 && t.createEndingPlanes && s.push(...rC(a)), t.createVerticalPlanes && s.push(...sC(a)), i.get("olcs_altitudeMode") === "absolute" && (t.createBottomPlane || t.createTopPlane) && s.push(...dc(i, a, t));
17590
+ n === "Polygon" ? (sl(a), bv(a)) : n === "LineString" && a.length === 2 && t.createEndingPlanes && s.push(...rC(a)), t.createVerticalPlanes && s.push(...sC(a)), i.get("olcs_altitudeMode") === "absolute" && (t.createBottomPlane || t.createTopPlane) && s.push(...dc(i, a, t));
17583
17591
  }
17584
17592
  return e && s.forEach((a) => {
17585
17593
  const o = oe.transform(a, e);
@@ -17603,11 +17611,11 @@ function Lr(i, t, e, s) {
17603
17611
  }
17604
17612
  return t.modelMatrix = i.modelMatrix.clone(), t.unionClippingRegions = i.unionClippingRegions, t.edgeColor = i.edgeColor.clone(), t.edgeWidth = i.edgeWidth, t;
17605
17613
  }
17606
- function Za(i) {
17614
+ function Ja(i) {
17607
17615
  i.isDestroyed && i.isDestroyed() || (i instanceof Ji ? i.model && (i.model.clippingPlanes ? i.model.clippingPlanes.getValue().removeAll() : i.model.clippingPlanes = new eu(new Nr())) : i.clippingPlanes ? i.clippingPlanes.removeAll() : i.clippingPlanes = new Nr());
17608
17616
  }
17609
17617
  function nC(i, t, e) {
17610
- if (Za(i), e)
17618
+ if (Ja(i), e)
17611
17619
  Lr(t, i.clippingPlanes);
17612
17620
  else if (!t.modelMatrix.equals(G.IDENTITY))
17613
17621
  Lr(t, i.clippingPlanes), i.clippingPlanes.modelMatrix = G.multiply(G.inverse(i.clippingPlanesOriginMatrix, i.clippingPlanes.modelMatrix), t.modelMatrix, i.clippingPlanes.modelMatrix);
@@ -17617,11 +17625,11 @@ function nC(i, t, e) {
17617
17625
  }
17618
17626
  }
17619
17627
  function aC(i, t) {
17620
- Za(i), Lr(t, i.clippingPlanes);
17628
+ Ja(i), Lr(t, i.clippingPlanes);
17621
17629
  }
17622
17630
  function oC(i, t, e) {
17623
17631
  if (i.model) {
17624
- Za(i);
17632
+ Ja(i);
17625
17633
  const s = i.model.clippingPlanes.getValue();
17626
17634
  if (Lr(t, s), !e) {
17627
17635
  const r = i.computeModelMatrix(Yc.now());
@@ -17779,7 +17787,7 @@ class lC {
17779
17787
  });
17780
17788
  };
17781
17789
  this._targetsMap.clear(), this._defaultClippingObjects.forEach(e), this._exclusiveClippingObjects && this._exclusiveClippingObjects.forEach(e), t.forEach((s) => {
17782
- Za(s);
17790
+ Ja(s);
17783
17791
  }), this._targetsMap.forEach((s, r) => {
17784
17792
  s.clippingPlaneCollection && fc(r, s.clippingPlaneCollection, s.local);
17785
17793
  });
@@ -17801,7 +17809,7 @@ var Jt;
17801
17809
  (function(i) {
17802
17810
  i.LOW = "low", i.MEDIUM = "medium", i.HIGH = "high";
17803
17811
  })(Jt || (Jt = {}));
17804
- class Ta {
17812
+ class Aa {
17805
17813
  constructor(t) {
17806
17814
  h(this, "_app");
17807
17815
  h(this, "_layerSettingsCache");
@@ -17812,7 +17820,7 @@ class Ta {
17812
17820
  * An event raised when the current quality level has been changed
17813
17821
  */
17814
17822
  h(this, "qualityLevelChanged", new L());
17815
- this._app = t, this._layerSettingsCache = [], this._viewModelSettings = Ta.getDefaultOptions(), this._currentQualityLevel = void 0, this._listeners = [
17823
+ this._app = t, this._layerSettingsCache = [], this._viewModelSettings = Aa.getDefaultOptions(), this._currentQualityLevel = void 0, this._listeners = [
17816
17824
  this._app.maps.mapActivated.addEventListener(() => {
17817
17825
  this._app.maps.activeMap instanceof B && !this.currentQualityLevel && (hs() ? this.setLevel(this._viewModelSettings.startingMobileQualityLevel) : this.setLevel(this._viewModelSettings.startingQualityLevel));
17818
17826
  }),
@@ -17894,7 +17902,7 @@ class Ta {
17894
17902
  const s = Object.fromEntries(Object.entries(t).filter(([, n]) => n != null).map(([n, a]) => n === Jt.LOW || n === Jt.MEDIUM || n === Jt.HIGH ? [
17895
17903
  n,
17896
17904
  Object.fromEntries(Object.entries(a).filter(([o, l]) => o === "msaa" ? [1, 2, 4, 8].includes(l) : l != null))
17897
- ] : [n, a])), r = Ta.getDefaultOptions();
17905
+ ] : [n, a])), r = Aa.getDefaultOptions();
17898
17906
  this._viewModelSettings = {
17899
17907
  ...r,
17900
17908
  ...s,
@@ -17981,7 +17989,7 @@ function Xl(i) {
17981
17989
  });
17982
17990
  return $l(t), i.add(t), t.activate(), t;
17983
17991
  }
17984
- function Ja(i, t) {
17992
+ function Ka(i, t) {
17985
17993
  const e = new Cs(), s = new L(), r = i.addExclusiveInteraction(e, () => {
17986
17994
  s.raiseEvent();
17987
17995
  }, void 0, t), n = i.featureInteraction.active;
@@ -18122,7 +18130,7 @@ class dC extends ae {
18122
18130
  this.finished.destroy(), this.created.destroy(), super.destroy();
18123
18131
  }
18124
18132
  }
18125
- const Aa = Symbol("validityPlaceholder");
18133
+ const Da = Symbol("validityPlaceholder");
18126
18134
  class fC extends ae {
18127
18135
  constructor() {
18128
18136
  super(P.CLICKMOVE | P.DBLCLICK, F.NONE | F.CTRL);
@@ -18147,7 +18155,7 @@ class fC extends ae {
18147
18155
  this._geometry && this._geometry.setCoordinates([this._coordinates]);
18148
18156
  }
18149
18157
  pipe(e) {
18150
- 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._geometry[Aa] = !1) : (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new ht([[e.positionOrPixel.slice()]]), e.map instanceof Ae ? this._geometry[ze] = !0 : this._geometry[hi] = !0, this._geometry[Aa] = !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);
18158
+ 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._geometry[Da] = !1) : (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new ht([[e.positionOrPixel.slice()]]), e.map instanceof Ae ? this._geometry[ze] = !0 : this._geometry[hi] = !0, this._geometry[Da] = !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);
18151
18159
  }
18152
18160
  /**
18153
18161
  * Finish the current creation. Calls finish and sets the interaction to be inactive
@@ -18908,7 +18916,7 @@ class CC extends jt {
18908
18916
  function hr() {
18909
18917
  return he("init");
18910
18918
  }
18911
- const Da = /* @__PURE__ */ new Map(), MC = "_defaultDynamicModule";
18919
+ const Na = /* @__PURE__ */ new Map(), MC = "_defaultDynamicModule";
18912
18920
  class kd {
18913
18921
  /**
18914
18922
  * @param options
@@ -18948,9 +18956,9 @@ class kd {
18948
18956
  h(this, "_categoryItemClassRegistry");
18949
18957
  h(this, "_tileProviderClassRegistry");
18950
18958
  h(this, "_featureProviderClassRegistry");
18951
- this._id = (t == null ? void 0 : t._id) || Xe(), this.name = t.name ?? this._id, this.description = t.description, this.properties = t.properties, this._defaultDynamicModule = new al({ _id: MC }), this._dynamicModule = this._defaultDynamicModule;
18959
+ this._id = (t == null ? void 0 : t._id) || Xe(), this.name = t.name ?? this._id, this.description = t.description, this.properties = t.properties, this._defaultDynamicModule = new ol({ _id: MC }), this._dynamicModule = this._defaultDynamicModule;
18952
18960
  const e = () => this._dynamicModule._id;
18953
- this._dynamicModuleIdChanged = new L(), this._locale = mC(), this._localeChanged = new L(), this._mapClassRegistry = new pi(Ks), this._maps = _i(new Zl(), e, void 0, dv.bind(null, this), ci), this._layerClassRegistry = new pi(ke), this._layers = _i(this._maps.layerCollection, e, mv.bind(null, this), gv.bind(null, this), st, pv), this._layers.locale = this.locale, this._obliqueCollections = _i(new jt(), e, void 0, (s) => new ps(s), ps), this._viewpoints = _i(new jt(), e, void 0, fv, It), this._styleClassRegistry = new pi(mn), this._styles = _i(new jt(), e, void 0, (s) => ei(this._styleClassRegistry, s), li), this._modules = new Ui("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = pC(e, this._layers.globalHider), this._flights = _i(new CC(this), e, void 0, (s) => new qs(s)), this._categoryClassRegistry = new pi(Iu), this._categories = new uw(this), this._displayQuality = new Ta(this), this._destroyed = new L(), this._moduleMutationChain = { running: !1, items: [] }, this._categoryItemClassRegistry = new pi(new Qi()), this._tileProviderClassRegistry = new pi(Js), this._featureProviderClassRegistry = new pi(Ll), Da.set(this._id, this);
18961
+ this._dynamicModuleIdChanged = new L(), this._locale = mC(), this._localeChanged = new L(), this._mapClassRegistry = new pi(Ks), this._maps = _i(new Zl(), e, void 0, dv.bind(null, this), ci), this._layerClassRegistry = new pi(ke), this._layers = _i(this._maps.layerCollection, e, mv.bind(null, this), gv.bind(null, this), st, pv), this._layers.locale = this.locale, this._obliqueCollections = _i(new jt(), e, void 0, (s) => new ps(s), ps), this._viewpoints = _i(new jt(), e, void 0, fv, It), this._styleClassRegistry = new pi(mn), this._styles = _i(new jt(), e, void 0, (s) => ei(this._styleClassRegistry, s), li), this._modules = new Ui("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = pC(e, this._layers.globalHider), this._flights = _i(new CC(this), e, void 0, (s) => new qs(s)), this._categoryClassRegistry = new pi(Iu), this._categories = new uw(this), this._displayQuality = new Aa(this), this._destroyed = new L(), this._moduleMutationChain = { running: !1, items: [] }, this._categoryItemClassRegistry = new pi(new Qi()), this._tileProviderClassRegistry = new pi(Js), this._featureProviderClassRegistry = new pi(Ll), Na.set(this._id, this);
18954
18962
  }
18955
18963
  get id() {
18956
18964
  return this._id;
@@ -19069,7 +19077,7 @@ class kd {
19069
19077
  * @param module
19070
19078
  */
19071
19079
  async addModule(t) {
19072
- S(t, al);
19080
+ S(t, ol);
19073
19081
  const e = async () => {
19074
19082
  try {
19075
19083
  if (this._modules.hasKey(t._id)) {
@@ -19161,15 +19169,15 @@ class kd {
19161
19169
  get() {
19162
19170
  throw new Error("VcsApp was destroyed");
19163
19171
  }
19164
- }), Da.delete(this._id), yi(this._maps), yi(this._layers), yi(this._obliqueCollections), yi(this._viewpoints), yi(this._styles), yi(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._displayQuality.destroy(), this.destroyed.raiseEvent(), this.destroyed.destroy(), this.localeChanged.destroy(), this.dynamicModuleIdChanged.destroy();
19172
+ }), Na.delete(this._id), yi(this._maps), yi(this._layers), yi(this._obliqueCollections), yi(this._viewpoints), yi(this._styles), yi(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._displayQuality.destroy(), this.destroyed.raiseEvent(), this.destroyed.destroy(), this.localeChanged.destroy(), this.dynamicModuleIdChanged.destroy();
19165
19173
  }
19166
19174
  }
19167
19175
  function sM(i) {
19168
- return Da.get(i);
19176
+ return Na.get(i);
19169
19177
  }
19170
19178
  window.vcs = window.vcs || {};
19171
- window.vcs.apps = Da;
19172
- window.vcs.createModuleFromConfig = (i) => new al(i);
19179
+ window.vcs.apps = Na;
19180
+ window.vcs.createModuleFromConfig = (i) => new ol(i);
19173
19181
  function zd(i) {
19174
19182
  if (!i)
19175
19183
  return !1;
@@ -19233,7 +19241,7 @@ function Mn(i) {
19233
19241
  layout: t ? "XY" : "XYZ"
19234
19242
  };
19235
19243
  }
19236
- let Me = new H(), Kt = new H(), Ao = new H(), ot = new _(), De = new _(), Do = new _();
19244
+ let Me = new H(), Kt = new H(), Do = new H(), ot = new _(), De = new _(), No = new _();
19237
19245
  function an(i, t, e) {
19238
19246
  Me = H.fromElements(t[0] - i[0], t[1] - i[1], Me), Me.equals(H.ZERO) && (Me = H.fromElements(1, 1, Me)), Me = H.normalize(Me, Me), Kt = H.fromElements(e[0] - i[0], e[1] - i[1], Kt);
19239
19247
  const s = H.dot(Me, Kt);
@@ -19244,14 +19252,14 @@ function an(i, t, e) {
19244
19252
  ];
19245
19253
  }
19246
19254
  function xC(i, t, e, s) {
19247
- ot = _.fromElements(t[0] - i[0], t[1] - i[1], t[2] - i[2], ot), De = _.fromElements(e[0] - i[0], e[1] - i[1], e[2] - i[2], De), Do = _.fromElements(e[0] - t[0], e[1] - t[1], e[2] - e[2], Do);
19255
+ ot = _.fromElements(t[0] - i[0], t[1] - i[1], t[2] - i[2], ot), De = _.fromElements(e[0] - i[0], e[1] - i[1], e[2] - i[2], De), No = _.fromElements(e[0] - t[0], e[1] - t[1], e[2] - e[2], No);
19248
19256
  const r = _.magnitude(ot);
19249
- return r < _.magnitude(De) || r < _.magnitude(Do) ? !1 : (ot = _.normalize(ot, ot), De = _.normalize(De, De), ot.equalsEpsilon(De, s || b.EPSILON5));
19257
+ return r < _.magnitude(De) || r < _.magnitude(No) ? !1 : (ot = _.normalize(ot, ot), De = _.normalize(De, De), ot.equalsEpsilon(De, s || b.EPSILON5));
19250
19258
  }
19251
19259
  function EC(i, t, e, s) {
19252
- Me = H.fromElements(t[0] - i[0], t[1] - i[1], Me), Kt = H.fromElements(e[0] - i[0], e[1] - i[1], Kt), Ao = H.fromElements(e[0] - t[0], e[1] - t[1], Ao);
19260
+ Me = H.fromElements(t[0] - i[0], t[1] - i[1], Me), Kt = H.fromElements(e[0] - i[0], e[1] - i[1], Kt), Do = H.fromElements(e[0] - t[0], e[1] - t[1], Do);
19253
19261
  const r = H.magnitude(Me);
19254
- return r < H.magnitude(Kt) || r < H.magnitude(Ao) ? !1 : (Me = H.normalize(Me, Me), Kt = H.normalize(Kt, Kt), Me.equalsEpsilon(Kt, s || b.EPSILON5));
19262
+ return r < H.magnitude(Kt) || r < H.magnitude(Do) ? !1 : (Me = H.normalize(Me, Me), Kt = H.normalize(Kt, Kt), Me.equalsEpsilon(Kt, s || b.EPSILON5));
19255
19263
  }
19256
19264
  function Bd(i, t) {
19257
19265
  return ot = wt(i, ot), De = t.globe.ellipsoid.geodeticSurfaceNormal(ot, De), De = _.cross(t.camera.rightWC, De, De), De = _.normalize(De, De), oe.fromPointNormal(ot, De);
@@ -19338,33 +19346,33 @@ class bC extends ae {
19338
19346
  this.reset(), super.destroy();
19339
19347
  }
19340
19348
  }
19341
- const Ka = ["orthogonal", "parallel", "vertex", "edge"];
19342
- let No = new H(), Xt = new H();
19349
+ const Qa = ["orthogonal", "parallel", "vertex", "edge"];
19350
+ let Ro = new H(), Xt = new H();
19343
19351
  const PC = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABkCAYAAAA2VDb+AAACmElEQVR4Xu2a3zHFQBjFz60AFeDNGypABcaTVzqgAlSADuiACuiADtCBDpgzk525Yyb5cpNNzibOvt652f1+3/n+bbIA8IP6tWj4bRY/0UADsAIcArUEnANmkemCGHcSdBJ0EnQSrCPgKuAqMHMCngU8DHka9DjsVtitsFtht8JuhWsIeBaYeScMt8Juhd0KuxV2K+xWuJ7ANoDPOZfCqAzSdgJ4AvAK4HluMNoA+GszYdxXQCbPowuAZDRBXE49RPoASCAeANxMFUQOAAnEXaWISYVFTgA0nInyBMD3VCjkBpCqBiG8TwHCEACS3ecAmB+KXhGAfQCHAM4A7HawhOXyosP/RvtLBGD5RoggrgEcrHi6opWwCoBkdxcQxULoAiCBoLRvW6qBVeGoxMTYBwBtpxrYEa61AFEkhL4AaPdWBaFNkuRgxQmzmJUDAI1Zr5qgNhDYNjOZFrFyAVgFAkOB5bWIe4acAFI4sAOMcgLzBrtF+coNgAbtVeEQQWBV4OwgXUMAoEGM8avAsiIS4lAAaDsN3AwgMBdIh6YhAbBHeAkAyGeFIQHQdia74wYI8jAYGgAT4lugAlYDgpKsoQG0yQWP1bg9WwBRRWBjtCGxHhjl+wDOCh+BgQQguUccIwRoO0td05wga4rGAhBVA75g4bX66GssAFEekPUDEQCOrjnWDoDThgd9qW6QIwA5jC/6GQYQfCVWtPdyHM4KsAKavxPMobKin8EQKOaGVkFq+d2fYn/5ngYgd4H4AFaA2AHy7a0AuQvEB7ACxA6Qb28FyF0gPoAVIHaAfHsrQO4C8QGsALED5NtbAXIXiA9gBYgdIN/eCpC7QHwAK0DsAPn2VoDcBeIDWAFiB8i3twLkLhAf4N8r4Bch+4Nf5+N6mQAAAABJRU5ErkJggg==";
19344
- let Ro;
19352
+ let Fo;
19345
19353
  function LC() {
19346
- return Ro || (Ro = new K({
19354
+ return Fo || (Fo = new K({
19347
19355
  image: new ni({
19348
19356
  src: PC,
19349
19357
  scale: 0.25,
19350
19358
  anchor: [0.5, 1]
19351
19359
  })
19352
- })), Ro;
19360
+ })), Fo;
19353
19361
  }
19354
19362
  const IC = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAd1JREFUeJzt00EKwkAQRcFEPGyOpKfVE/iyiDIzWLVv+DS8bQMAAAAAAAAAAAAAAAAAAAAAAAAAAID/so8esIDj4v3jKys+m33f0gRy7nXx/tc/nn3f0m6jB8DMBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBDuowcs4Dl6wInZ9wEAAAAAAAAAAAAAAAAAAAAAAAAAAAALeQNcNQZTV+qErgAAAABJRU5ErkJggg==";
19355
- let Fo;
19363
+ let Go;
19356
19364
  function TC() {
19357
- return Fo || (Fo = new K({
19365
+ return Go || (Go = new K({
19358
19366
  image: new ni({
19359
19367
  src: IC,
19360
19368
  scale: 0.1,
19361
19369
  anchor: [0.5, 1]
19362
19370
  })
19363
- })), Fo;
19371
+ })), Go;
19364
19372
  }
19365
- let Go;
19373
+ let ko;
19366
19374
  function AC() {
19367
- return Go || (Go = new K({
19375
+ return ko || (ko = new K({
19368
19376
  image: new Us({
19369
19377
  radius: 6,
19370
19378
  points: 4,
@@ -19372,17 +19380,17 @@ function AC() {
19372
19380
  color: [255, 255, 255, 0.4]
19373
19381
  }),
19374
19382
  stroke: new Be({
19375
- color: ya,
19383
+ color: _a,
19376
19384
  width: 1
19377
19385
  })
19378
19386
  })
19379
- })), Go;
19387
+ })), ko;
19380
19388
  }
19381
19389
  const Ft = b.toRadians(5);
19382
19390
  function DC(i, t, e) {
19383
- No = H.fromElements(t[0] - i[0], t[1] - i[1], No);
19391
+ Ro = H.fromElements(t[0] - i[0], t[1] - i[1], Ro);
19384
19392
  const s = lh.fromArray([0, 1, -1, 0]);
19385
- Xt = lh.multiplyByVector(s, No, Xt), Xt = H.normalize(Xt, Xt), Xt = H.multiplyByScalar(Xt, 1e-4, Xt);
19393
+ Xt = lh.multiplyByVector(s, Ro, Xt), Xt = H.normalize(Xt, Xt), Xt = H.multiplyByScalar(Xt, 1e-4, Xt);
19386
19394
  const r = [
19387
19395
  Xt.x + t[0],
19388
19396
  Xt.y + t[1],
@@ -19472,7 +19480,7 @@ function eh(i, t, e) {
19472
19480
  geometry: new Ve(t[r.otherVertexIndex])
19473
19481
  }), n.setStyle(LC);
19474
19482
  else if ((r == null ? void 0 : r.type) === "parallel" && r.parallelIndex > -1) {
19475
- const { parallelIndex: a } = r, o = a !== t.length - 1 ? a + 1 : 0, l = Va(t[a], t[o]);
19483
+ const { parallelIndex: a } = r, o = a !== t.length - 1 ? a + 1 : 0, l = ja(t[a], t[o]);
19476
19484
  n = new Fe({
19477
19485
  geometry: new Ve(l)
19478
19486
  }), n.setStyle(TC());
@@ -19539,7 +19547,7 @@ function kC(i) {
19539
19547
  return [];
19540
19548
  }
19541
19549
  class zC extends ae {
19542
- constructor(e, s = [...Ka]) {
19550
+ constructor(e, s = [...Qa]) {
19543
19551
  super(P.CLICKMOVE | P.DBLCLICK, F.NONE | F.CTRL);
19544
19552
  h(this, "_coordinates", []);
19545
19553
  h(this, "_bearings", []);
@@ -19570,7 +19578,7 @@ class zC extends ae {
19570
19578
  (n = this._geometryLister) == null || n.call(this), this._snappingGeometry = void 0;
19571
19579
  let s;
19572
19580
  e instanceof ht ? (this._isPolygon = !0, s = () => {
19573
- e[Aa] || this._setCoordinates(e.getCoordinates()[0]);
19581
+ e[Da] || this._setCoordinates(e.getCoordinates()[0]);
19574
19582
  }) : (this._isPolygon = !1, s = () => {
19575
19583
  this._setCoordinates(e.getCoordinates());
19576
19584
  }), s();
@@ -19660,7 +19668,7 @@ function HC(i, t) {
19660
19668
  return [];
19661
19669
  const l = t === 0 ? n : o - n;
19662
19670
  let c;
19663
- r && !i[Aa] ? o === 0 ? c = s - n : o + n === s ? c = 0 : c = o + n : o > 0 && o + n < s && (c = o + n);
19671
+ r && !i[Da] ? o === 0 ? c = s - n : o + n === s ? c = 0 : c = o + n : o > 0 && o + n < s && (c = o + n);
19664
19672
  const d = vt(a) ? (f) => [e[f], e[f + 1]] : (f) => [e[f], e[f + 1], e[f + 2]], u = [
19665
19673
  [d(o), d(l)]
19666
19674
  ];
@@ -19671,7 +19679,7 @@ function HC(i, t) {
19671
19679
  }
19672
19680
  function BC(i, t, e) {
19673
19681
  const s = i.map((r) => {
19674
- const n = Va(r[0], r[1]), a = new Fe({
19682
+ const n = ja(r[0], r[1]), a = new Fe({
19675
19683
  geometry: new Ve(n)
19676
19684
  }), o = e ? A0(r[0], r[1]) : T0(r[0], r[1]);
19677
19685
  return a.setStyle(new K({
@@ -19756,8 +19764,8 @@ function jC(i) {
19756
19764
  function oM(i, t, e, s, r) {
19757
19765
  var Z, Ce;
19758
19766
  S(i, kd), S(t, ct), S(e, aa(Le));
19759
- let n = ((Z = r == null ? void 0 : r.snapTo) == null ? void 0 : Z.slice()) ?? Ka.slice();
19760
- const a = !(r != null && r.hideSegmentLength), { interactionChain: o, removed: l, destroy: c } = Ja(i.maps.eventHandler), d = Xl(i.layers), u = new L(), f = new L(), g = new L();
19767
+ let n = ((Z = r == null ? void 0 : r.snapTo) == null ? void 0 : Z.slice()) ?? Qa.slice();
19768
+ const a = !(r != null && r.hideSegmentLength), { interactionChain: o, removed: l, destroy: c } = Ka(i.maps.eventHandler), d = Xl(i.layers), u = new L(), f = new L(), g = new L();
19761
19769
  let m = !1, p = null, y = null, v = null, w = null, C = null, x = ((Ce = r == null ? void 0 : r.initialSnapToLayers) == null ? void 0 : Ce.slice()) ?? [
19762
19770
  t
19763
19771
  ], E = !1, I = s;
@@ -19851,10 +19859,10 @@ var me;
19851
19859
  i.TRANSLATE = "translate", i.ROTATE = "rotate", i.SCALE = "scale", i.EXTRUDE = "extrude";
19852
19860
  })(me || (me = {}));
19853
19861
  const En = U.GRAY.withAlpha(0.5);
19854
- function Na(i) {
19862
+ function Ra(i) {
19855
19863
  return i === M.X || i === M.Y || i === M.Z;
19856
19864
  }
19857
- function Ra(i) {
19865
+ function Fa(i) {
19858
19866
  return i === M.XY || i === M.XZ || i === M.YZ;
19859
19867
  }
19860
19868
  function $C(i) {
@@ -19880,7 +19888,7 @@ function Kn(i) {
19880
19888
  })
19881
19889
  };
19882
19890
  }
19883
- function Qa(i) {
19891
+ function eo(i) {
19884
19892
  return {
19885
19893
  appearance: new ia({
19886
19894
  flat: !0,
@@ -19912,7 +19920,7 @@ function cr(i, t, e = !1) {
19912
19920
  })
19913
19921
  })
19914
19922
  ],
19915
- ...Qa(s)
19923
+ ...eo(s)
19916
19924
  });
19917
19925
  let a = G.multiplyByMatrix3(t, r, new G());
19918
19926
  return Object.defineProperty(n, "modelMatrix", {
@@ -20001,7 +20009,7 @@ function YC(i, t, e, s, r) {
20001
20009
  geometry: i
20002
20010
  })
20003
20011
  ],
20004
- ...Qa(t)
20012
+ ...eo(t)
20005
20013
  });
20006
20014
  let a = G.multiply(e, s, new G());
20007
20015
  return Object.defineProperty(n, "modelMatrix", {
@@ -20016,7 +20024,7 @@ function YC(i, t, e, s, r) {
20016
20024
  function Zt(i, t, e, s = !1) {
20017
20025
  let r, n, a;
20018
20026
  i === M.X ? (r = new _(1, b.EPSILON8, 0), n = U.RED, a = G.fromRotationTranslation(Q.fromRotationY(Math.PI / 2), new _(1, 0, 0))) : i === M.Y ? (r = new _(b.EPSILON8, 1, 0), n = U.GREEN, a = G.fromRotationTranslation(Q.multiply(Q.fromRotationY(Math.PI / 2), Q.fromRotationX(-(Math.PI / 2)), new Q()), new _(0, 1, 0))) : (r = new _(b.EPSILON8, b.EPSILON8, 1), n = U.BLUE, a = G.fromRotationTranslation(Q.IDENTITY.clone(), new _(0, 0, 1))), n = s ? En : n;
20019
- const o = e === me.SCALE ? new pl({
20027
+ const o = e === me.SCALE ? new yl({
20020
20028
  minimum: new _(-0.1, -0.1, -0.1),
20021
20029
  maximum: new _(0.1, 0.1, 0.1)
20022
20030
  }) : new Vc({
@@ -20072,28 +20080,28 @@ function is(i, t, e = !1) {
20072
20080
  geometryInstances: [
20073
20081
  new Ze({
20074
20082
  geometry: new bg({
20075
- polygonHierarchy: new jo(s)
20083
+ polygonHierarchy: new $o(s)
20076
20084
  })
20077
20085
  })
20078
20086
  ],
20079
- ...Qa(r),
20087
+ ...eo(r),
20080
20088
  modelMatrix: t
20081
20089
  });
20082
20090
  return e || (n[Te] = i), n;
20083
20091
  }
20084
- function hl(i, t = !1) {
20092
+ function cl(i, t = !1) {
20085
20093
  const e = t ? En : U.GAINSBORO, s = new St({
20086
20094
  allowPicking: !t,
20087
20095
  asynchronous: !1,
20088
20096
  geometryInstances: [
20089
20097
  new Ze({
20090
- geometry: new pl({
20098
+ geometry: new yl({
20091
20099
  minimum: new _(0.2, 0.2, 0.2),
20092
20100
  maximum: new _(0.4, 0.4, 0.4)
20093
20101
  })
20094
20102
  })
20095
20103
  ],
20096
- ...Qa(e),
20104
+ ...eo(e),
20097
20105
  modelMatrix: i
20098
20106
  });
20099
20107
  return t || (s[Te] = M.XYZ), s;
@@ -20101,9 +20109,9 @@ function hl(i, t = !1) {
20101
20109
  function XC(i) {
20102
20110
  let t;
20103
20111
  return (e, s, r) => {
20104
- t && (i.remove(t), t = void 0), e !== M.NONE && (t = new $t(), Na(e) ? Zt(e, s, r, !0).forEach((n) => {
20112
+ t && (i.remove(t), t = void 0), e !== M.NONE && (t = new $t(), Ra(e) ? Zt(e, s, r, !0).forEach((n) => {
20105
20113
  t.add(n);
20106
- }) : Ra(e) ? t.add(is(e, s, !0)) : $C(e) && t.add(hl(s, !0)), i.add(t));
20114
+ }) : Fa(e) ? t.add(is(e, s, !0)) : $C(e) && t.add(cl(s, !0)), i.add(t));
20107
20115
  };
20108
20116
  }
20109
20117
  function ZC(i, t) {
@@ -20126,7 +20134,7 @@ function ZC(i, t) {
20126
20134
  ...Zt(M.X, s, t),
20127
20135
  ...Zt(M.Y, s, t)
20128
20136
  ];
20129
- r.push(...Zt(M.Z, s, t), hl(s)), g.push(...r), g.forEach((m) => {
20137
+ r.push(...Zt(M.Z, s, t), cl(s)), g.push(...r), g.forEach((m) => {
20130
20138
  Sr(m), e.add(m);
20131
20139
  });
20132
20140
  } else t === me.EXTRUDE && Zt(M.Z, s, t).forEach((g) => {
@@ -20167,7 +20175,7 @@ function ZC(i, t) {
20167
20175
  set greyOutZ(g) {
20168
20176
  g !== f && (f = g, r.forEach((m) => {
20169
20177
  e.remove(m);
20170
- }), r.splice(0), t === me.TRANSLATE ? r.push(...Zt(M.Z, s, t, g), is(M.XZ, s, g), is(M.YZ, s, g)) : t === me.ROTATE ? g || r.push(cr(M.X, s, g), cr(M.Y, s, g)) : t === me.SCALE && (g ? r.push(is(M.XY, s)) : r.push(...Zt(M.Z, s, t, g), hl(s))), r.forEach((m) => {
20178
+ }), r.splice(0), t === me.TRANSLATE ? r.push(...Zt(M.Z, s, t, g), is(M.XZ, s, g), is(M.YZ, s, g)) : t === me.ROTATE ? g || r.push(cr(M.X, s, g), cr(M.Y, s, g)) : t === me.SCALE && (g ? r.push(is(M.XY, s)) : r.push(...Zt(M.Z, s, t, g), cl(s))), r.forEach((m) => {
20171
20179
  Sr(m), e.add(m);
20172
20180
  }));
20173
20181
  },
@@ -20227,7 +20235,7 @@ function JC(i, t) {
20227
20235
  }
20228
20236
  };
20229
20237
  }
20230
- function cl(i, t, e) {
20238
+ function ul(i, t, e) {
20231
20239
  let s, r, n = 0;
20232
20240
  i === M.X ? (s = U.RED.toCssColorString(), r = [
20233
20241
  [0, 0],
@@ -20278,7 +20286,7 @@ function KC(i) {
20278
20286
  return (s, r, n, a) => {
20279
20287
  if (t && (i.removeFeaturesById(t), t = void 0), s !== M.NONE) {
20280
20288
  let o = [];
20281
- Na(s) ? o = cl(s, r, e) : Ra(s) && (o = [$d(e)]), o.forEach((l) => {
20289
+ Ra(s) ? o = ul(s, r, e) : Fa(s) && (o = [$d(e)]), o.forEach((l) => {
20282
20290
  l.getGeometry().applyTransform((c, d, u = 2) => {
20283
20291
  const f = c.length;
20284
20292
  for (let g = 0; g < f; g += u)
@@ -20292,8 +20300,8 @@ function KC(i) {
20292
20300
  function QC(i, t, e) {
20293
20301
  let s = [0, 0], r = 1, n = [];
20294
20302
  e === me.TRANSLATE || e === me.SCALE ? n = [
20295
- ...cl(M.X, e),
20296
- ...cl(M.Y, e),
20303
+ ...ul(M.X, e),
20304
+ ...ul(M.Y, e),
20297
20305
  $d()
20298
20306
  ] : e === me.ROTATE && (n = [
20299
20307
  new Fe({
@@ -20477,7 +20485,7 @@ class n1 extends ae {
20477
20485
  this.translated.raiseEvent(this._getTranslateEvent(e.positionOrPixel, e.windowPosition)), e.type === P.DRAGEND && (this._getTranslateEvent = null, this._transformationHandler.showAxis = M.NONE);
20478
20486
  else if (e.type === P.DRAGSTART && ((s = e == null ? void 0 : e.feature) != null && s[Te])) {
20479
20487
  const r = e.feature[Te];
20480
- r !== M.NONE && (this._transformationHandler.showAxis = r, e.map instanceof B ? Na(r) ? this._getTranslateEvent = this._dragAlongAxis3D(r, e) : Ra(r) && (this._getTranslateEvent = this._dragAlongPlane3D(r, e)) : Na(r) ? this._getTranslateEvent = this._dragAlongAxis2D(r, e) : Ra(r) && (this._getTranslateEvent = this._dragAlongPlane2D(r, e)));
20488
+ r !== M.NONE && (this._transformationHandler.showAxis = r, e.map instanceof B ? Ra(r) ? this._getTranslateEvent = this._dragAlongAxis3D(r, e) : Fa(r) && (this._getTranslateEvent = this._dragAlongPlane3D(r, e)) : Ra(r) ? this._getTranslateEvent = this._dragAlongAxis2D(r, e) : Fa(r) && (this._getTranslateEvent = this._dragAlongPlane2D(r, e)));
20481
20489
  }
20482
20490
  return Promise.resolve(e);
20483
20491
  }
@@ -20783,7 +20791,7 @@ function lM(i, t, e, s = me.TRANSLATE) {
20783
20791
  Z.set("olcs_allowPicking", V);
20784
20792
  });
20785
20793
  });
20786
- const d = Xl(i.layers), { interactionChain: u, removed: f, destroy: g } = Ja(i.maps.eventHandler, e), { exclusiveInteractionId: m } = i.maps.eventHandler, p = i.maps.eventHandler.addExclusiveInteraction(c, () => f.raiseEvent(), 0, m), y = new u1();
20794
+ const d = Xl(i.layers), { interactionChain: u, removed: f, destroy: g } = Ka(i.maps.eventHandler, e), { exclusiveInteractionId: m } = i.maps.eventHandler, p = i.maps.eventHandler.addExclusiveInteraction(c, () => f.raiseEvent(), 0, m), y = new u1();
20787
20795
  u.addInteraction(y), u.addInteraction(new c1(n));
20788
20796
  const v = new qd();
20789
20797
  u.addInteraction(v);
@@ -20818,7 +20826,7 @@ function lM(i, t, e, s = me.TRANSLATE) {
20818
20826
  const _e = zs();
20819
20827
  n.forEach((dt) => {
20820
20828
  Ar(_e, dt.getGeometry().getExtent());
20821
- }), Vo(_e) || ($ = cs(_e));
20829
+ }), jo(_e) || ($ = cs(_e));
20822
20830
  }
20823
20831
  n.forEach((_e) => {
20824
20832
  (_e[kt] ?? _e.getGeometry()).rotate(V, $);
@@ -20837,7 +20845,7 @@ function lM(i, t, e, s = me.TRANSLATE) {
20837
20845
  const dt = zs();
20838
20846
  n.forEach((mi) => {
20839
20847
  Ar(dt, mi.getGeometry().getExtent());
20840
- }), Vo(dt) || (_e = cs(dt));
20848
+ }), jo(dt) || (_e = cs(dt));
20841
20849
  }
20842
20850
  n.forEach((dt) => {
20843
20851
  (dt[kt] ?? dt.getGeometry()).scale(V, Z, _e);
@@ -20994,7 +21002,7 @@ function p1(i, t) {
20994
21002
  return [];
20995
21003
  }
20996
21004
  class Yd extends ae {
20997
- constructor(e, s, r = [...Ka]) {
21005
+ constructor(e, s, r = [...Qa]) {
20998
21006
  super(P.DRAGEVENTS, F.NONE | F.CTRL);
20999
21007
  h(this, "_coordinates", []);
21000
21008
  h(this, "_bearings", []);
@@ -21026,7 +21034,7 @@ class Yd extends ae {
21026
21034
  ];
21027
21035
  s.push(s[0]), this._snappingGeometry = new xt(s);
21028
21036
  } else
21029
- this._snappingGeometry = new Fa([
21037
+ this._snappingGeometry = new Ga([
21030
21038
  this._coordinates.slice(0, e),
21031
21039
  this._coordinates.slice(e + 1)
21032
21040
  ]);
@@ -21241,12 +21249,12 @@ function w1(i, t, e) {
21241
21249
  }
21242
21250
  function hM(i, t, e, s = {}) {
21243
21251
  var X, te;
21244
- const { interactionChain: r, removed: n, destroy: a } = Ja(i.maps.eventHandler, e), o = Xl(i.layers), l = new qd();
21252
+ const { interactionChain: r, removed: n, destroy: a } = Ka(i.maps.eventHandler, e), o = Xl(i.layers), l = new qd();
21245
21253
  r.addInteraction(l);
21246
21254
  const c = new bC(s.denyRemoval);
21247
21255
  r.addInteraction(c);
21248
21256
  const d = new L();
21249
- let u = null, f = null, g = null, m = ((X = s == null ? void 0 : s.initialSnapToLayers) == null ? void 0 : X.slice()) ?? [t], p = ((te = s == null ? void 0 : s.snapTo) == null ? void 0 : te.slice()) ?? [...Ka];
21257
+ let u = null, f = null, g = null, m = ((X = s == null ? void 0 : s.initialSnapToLayers) == null ? void 0 : X.slice()) ?? [t], p = ((te = s == null ? void 0 : s.snapTo) == null ? void 0 : te.slice()) ?? [...Qa];
21250
21258
  const y = Dd(i), v = () => {
21251
21259
  o.vectorProperties.altitudeMode = f ? t.vectorProperties.getAltitudeMode(f) : t.vectorProperties.altitudeMode;
21252
21260
  };
@@ -21482,7 +21490,7 @@ function x1() {
21482
21490
  function cM(i, t, e, s = Ci.MULTI, r = x1()) {
21483
21491
  const n = new L(), a = new L(), o = new L();
21484
21492
  let l = null, c = null, d, u = null;
21485
- const { interactionChain: f, removed: g, destroy: m } = Ja(i.maps.eventHandler, e), p = M1(t, r);
21493
+ const { interactionChain: f, removed: g, destroy: m } = Ka(i.maps.eventHandler, e), p = M1(t, r);
21486
21494
  let y = [];
21487
21495
  function v() {
21488
21496
  l && (l && (f.removeInteraction(l), l.destroy(), l = null), c && (f.removeInteraction(c), c.destroy(), c = null)), y.forEach((R) => {
@@ -21601,7 +21609,7 @@ async function uM(i, t) {
21601
21609
  }
21602
21610
  r.addFeatures(f);
21603
21611
  const g = r.getSource().getExtent();
21604
- e = Ol(g, g, 2);
21612
+ e = bl(g, g, 2);
21605
21613
  };
21606
21614
  o();
21607
21615
  const l = [
@@ -21638,7 +21646,7 @@ async function uM(i, t) {
21638
21646
  destroy: d,
21639
21647
  async zoomToExtent() {
21640
21648
  var g;
21641
- if (!i.isValid() || Vo(e))
21649
+ if (!i.isValid() || jo(e))
21642
21650
  return;
21643
21651
  const f = It.createViewpointFromExtent(e);
21644
21652
  f && await ((g = t.maps.activeMap) == null ? void 0 : g.gotoViewpoint(f));
@@ -21652,7 +21660,7 @@ export {
21652
21660
  mr as AltitudeModeCesium,
21653
21661
  ud as ArcStyle,
21654
21662
  gt as ArrowEnd,
21655
- Wa as ArrowStyle,
21663
+ Ya as ArrowStyle,
21656
21664
  M as AxisAndPlanes,
21657
21665
  qr as BaseOLMap,
21658
21666
  Yr as CameraLimiter,
@@ -21675,13 +21683,13 @@ export {
21675
21683
  dC as CreatePointInteraction,
21676
21684
  fC as CreatePolygonInteraction,
21677
21685
  zC as CreationSnapping,
21678
- Ea as CzmlLayer,
21686
+ Oa as CzmlLayer,
21679
21687
  Mw as DataSourceCesiumImpl,
21680
- xa as DataSourceLayer,
21688
+ Ea as DataSourceLayer,
21681
21689
  Se as DataState,
21682
21690
  tt as DeclarativeStyleItem,
21683
21691
  QS as DefaultObliqueCollection,
21684
- Ta as DisplayQuality,
21692
+ Aa as DisplayQuality,
21685
21693
  Jt as DisplayQualityLevel,
21686
21694
  u1 as EditFeaturesMouseOverInteraction,
21687
21695
  bC as EditGeometryMouseOverInteraction,
@@ -21697,13 +21705,13 @@ export {
21697
21705
  vw as FeatureProviderInteraction,
21698
21706
  Wi as FeatureStoreLayer,
21699
21707
  qw as FeatureStoreLayerChanges,
21700
- $a as FeatureVisibility,
21708
+ qa as FeatureVisibility,
21701
21709
  fe as FeatureVisibilityAction,
21702
21710
  CC as FlightCollection,
21703
21711
  qs as FlightInstance,
21704
21712
  Jr as GeoJSONLayer,
21705
21713
  Le as GeometryType,
21706
- el as GlobalHider,
21714
+ tl as GlobalHider,
21707
21715
  Ui as IndexedCollection,
21708
21716
  Wd as InsertVertexInteraction,
21709
21717
  Cs as InteractionChain,
@@ -21711,10 +21719,10 @@ export {
21711
21719
  Ei as LayerCollection,
21712
21720
  es as LayerImplementation,
21713
21721
  NS as LayerObliqueImpl,
21714
- qa as LayerOpenlayersImpl,
21722
+ Ua as LayerOpenlayersImpl,
21715
21723
  jd as LayerSnapping,
21716
21724
  ve as LayerState,
21717
- Pa as MVTTileProvider,
21725
+ La as MVTTileProvider,
21718
21726
  Zl as MapCollection,
21719
21727
  qd as MapInteractionController,
21720
21728
  Ht as MapState,
@@ -21728,13 +21736,13 @@ export {
21728
21736
  BS as ObliqueProvider,
21729
21737
  HS as ObliqueView,
21730
21738
  Oe as ObliqueViewDirection,
21731
- _a as OlcsGeometryType,
21739
+ va as OlcsGeometryType,
21732
21740
  xw as OpenStreetMapCesiumImpl,
21733
21741
  Kr as OpenStreetMapLayer,
21734
21742
  Ww as OpenStreetMapOpenlayersImpl,
21735
21743
  Pe as OpenlayersMap,
21736
21744
  pi as OverrideClassRegistry,
21737
- ma as PatternType,
21745
+ pa as PatternType,
21738
21746
  Qr as PointCloudLayer,
21739
21747
  at as PointerEventType,
21740
21748
  Ne as PointerKeyType,
@@ -21753,17 +21761,17 @@ export {
21753
21761
  Ci as SelectionMode,
21754
21762
  $s as SessionType,
21755
21763
  Ew as SingleImageCesiumImpl,
21756
- Oa as SingleImageLayer,
21764
+ ba as SingleImageLayer,
21757
21765
  Yw as SingleImageOpenlayersImpl,
21758
21766
  Ad as StaticFeatureTileProvider,
21759
- La as StaticGeoJSONTileProvider,
21767
+ Ia as StaticGeoJSONTileProvider,
21760
21768
  li as StyleItem,
21761
21769
  tn as TMSLayer,
21762
21770
  Ow as TerrainCesiumImpl,
21763
21771
  en as TerrainLayer,
21764
21772
  W1 as TileDebugOpenlayersImpl,
21765
21773
  ut as TileProvider,
21766
- ol as TileProviderFeatureProvider,
21774
+ ll as TileProviderFeatureProvider,
21767
21775
  it as TilingScheme,
21768
21776
  bw as TmsCesiumImpl,
21769
21777
  Xw as TmsOpenlayersImpl,
@@ -21771,14 +21779,14 @@ export {
21771
21779
  n1 as TranslateInteraction,
21772
21780
  On as TranslateVertexInteraction,
21773
21781
  Yd as TranslationSnapping,
21774
- ba as URLTemplateTileProvider,
21782
+ Pa as URLTemplateTileProvider,
21775
21783
  kd as VcsApp,
21776
21784
  cv as VcsCameraPrimitive,
21777
21785
  Gw as VcsChildTile,
21778
21786
  zw as VcsDebugTile,
21779
21787
  L as VcsEvent,
21780
21788
  ci as VcsMap,
21781
- al as VcsModule,
21789
+ ol as VcsModule,
21782
21790
  Hw as VcsNoDataTile,
21783
21791
  Ut as VcsObject,
21784
21792
  jw as VcsQuadtreeTileProvider,
@@ -21797,7 +21805,7 @@ export {
21797
21805
  sn as VectorTileLayer,
21798
21806
  Zw as VectorTileOpenlayersImpl,
21799
21807
  It as Viewpoint,
21800
- Ia as WFSLayer,
21808
+ Ta as WFSLayer,
21801
21809
  ys as WMSFeatureProvider,
21802
21810
  rn as WMSLayer,
21803
21811
  nn as WMTSLayer,
@@ -21813,8 +21821,8 @@ export {
21813
21821
  tM as anchorFromViewpoint,
21814
21822
  vC as anchorToGeojsonFeature,
21815
21823
  iM as anchorToViewpoint,
21816
- co as angleEqualsEpsilon,
21817
- ya as blackColor,
21824
+ uo as angleEqualsEpsilon,
21825
+ _a as blackColor,
21818
21826
  fw as calculateMinLevel,
21819
21827
  Pi as cartesian2DDistance,
21820
21828
  oi as cartesian2DDistanceSquared,
@@ -21827,7 +21835,7 @@ export {
21827
21835
  Gi as cesiumTilesetLastUpdated,
21828
21836
  Yh as checkLineIntersection,
21829
21837
  $u as circleFromCenterRadius,
21830
- Za as clearClippingPlanes,
21838
+ Ja as clearClippingPlanes,
21831
21839
  D1 as colorInCanvas,
21832
21840
  Y0 as combineFont,
21833
21841
  pd as convert,
@@ -21872,13 +21880,13 @@ export {
21872
21880
  Vu as embedIconsInStyle,
21873
21881
  G1 as emptyColor,
21874
21882
  Z0 as emptyStyle,
21875
- il as enforceEndingVertex,
21883
+ sl as enforceEndingVertex,
21876
21884
  bv as enforceRightHand,
21877
21885
  Q1 as exportFlightAsGeoJson,
21878
21886
  eM as exportFlightPathAsGeoJson,
21879
21887
  ti as featureArcStruct,
21880
21888
  yn as featureExists,
21881
- Io as featureFromOptions,
21889
+ To as featureFromOptions,
21882
21890
  Ll as featureProviderClassRegistry,
21883
21891
  Bt as featureStoreStateSymbol,
21884
21892
  Pv as from2Dto3DLayout,
@@ -21914,7 +21922,7 @@ export {
21914
21922
  Id as getExtentFromTileset,
21915
21923
  Tv as getExtrusionHeightInfo,
21916
21924
  Tu as getFillFromOptions,
21917
- pa as getFillOptions,
21925
+ ya as getFillOptions,
21918
21926
  Wt as getFlatCoordinateReferences,
21919
21927
  Ev as getFlatCoordinatesFromSimpleGeometry,
21920
21928
  Rd as getFlightPathCoordinatesFromInstance,
@@ -21929,7 +21937,7 @@ export {
21929
21937
  jh as getLineStringGeometryFactory,
21930
21938
  IS as getLongestSide,
21931
21939
  dd as getMaterialAppearance,
21932
- Va as getMidPoint,
21940
+ ja as getMidPoint,
21933
21941
  Yu as getMinHeight,
21934
21942
  Jv as getModelOptions,
21935
21943
  Kv as getModelOrPointPrimitiveOptions,
@@ -21952,20 +21960,20 @@ export {
21952
21960
  Br as getStrokeOptions,
21953
21961
  N1 as getStyleFromOptions,
21954
21962
  R1 as getStyleOptions,
21955
- Sa as getStyleOrDefaultStyle,
21956
- wa as getStylesArray,
21963
+ wa as getStyleOrDefaultStyle,
21964
+ Ca as getStylesArray,
21957
21965
  Ur as getTerrainProviderForUrl,
21958
21966
  Du as getTextFromOptions,
21959
21967
  Au as getTextOptions,
21960
- ll as getTileHash,
21961
- Ya as getTileLoadFunction,
21968
+ hl as getTileHash,
21969
+ Xa as getTileLoadFunction,
21962
21970
  Rw as getTileWebMercatorExtent,
21963
21971
  Wl as getTileWgs84Extent,
21964
21972
  bd as getTilingScheme,
21965
21973
  Td as getURL,
21966
21974
  sM as getVcsAppById,
21967
21975
  Cd as getVersionFromImageJson,
21968
- Eo as getViewDirectionFromViewpoint,
21976
+ Oo as getViewDirectionFromViewpoint,
21969
21977
  Ld as getWMSSource,
21970
21978
  ad as getWgs84CoordinatesForPoint,
21971
21979
  TS as getZoom,
@@ -21980,13 +21988,13 @@ export {
21980
21988
  Ie as highlighted,
21981
21989
  DS as imageGeometryToMercatorGeometry,
21982
21990
  L1 as initialBearingBetweenCoords,
21983
- Na as is1DAxis,
21984
- Ra as is2DAxis,
21991
+ Ra as is1DAxis,
21992
+ Fa as is2DAxis,
21985
21993
  vt as is2DLayout,
21986
21994
  Nl as isAbsoluteHeightReference,
21987
21995
  Ot as isClampedHeightReference,
21988
21996
  hs as isMobile,
21989
- Ko as isOverrideCollection,
21997
+ Qo as isOverrideCollection,
21990
21998
  dw as isProvidedFeature,
21991
21999
  ui as isRelativeHeightReference,
21992
22000
  gi as isSameOrigin,
@@ -22000,10 +22008,10 @@ export {
22000
22008
  Cv as maxZIndex,
22001
22009
  AS as mercatorGeometryToImageGeometry,
22002
22010
  W as mercatorProjection,
22003
- Ma as mercatorResolutionsToLevel,
22011
+ xa as mercatorResolutionsToLevel,
22004
22012
  wt as mercatorToCartesian,
22005
- Ua as mercatorToCartesianTransformerForHeightInfo,
22006
- Ol as mercatorToWgs84Transformer,
22013
+ Wa as mercatorToCartesianTransformerForHeightInfo,
22014
+ bl as mercatorToWgs84Transformer,
22007
22015
  Xu as mercatorToWgs84TransformerForHeightInfo,
22008
22016
  Je as moduleIdSymbol,
22009
22017
  Yn as modulo,
@@ -22014,7 +22022,7 @@ export {
22014
22022
  Ih as olColorToHex,
22015
22023
  $r as originalFeatureSymbol,
22016
22024
  Mi as originalStyle,
22017
- go as parseCartesian3,
22025
+ mo as parseCartesian3,
22018
22026
  We as parseColor,
22019
22027
  yC as parseFlightOptionsFromGeoJson,
22020
22028
  A1 as parseFont,
@@ -22022,7 +22030,7 @@ export {
22022
22030
  Kh as parseImageData,
22023
22031
  FS as parseImageMeta,
22024
22032
  GS as parseLegacyImageData,
22025
- fo as parseNearFarScalar,
22033
+ go as parseNearFarScalar,
22026
22034
  Os as parseStoreyHeights,
22027
22035
  H1 as placeGeometryOnSurface,
22028
22036
  aM as placeGeometryOnTerrain,
@@ -22041,12 +22049,12 @@ export {
22041
22049
  Zh as setNewGeometry,
22042
22050
  yd as setReferenceForPicking,
22043
22051
  eh as setSnappingFeatures,
22044
- vo as setSplitDirectionOnPrimitives,
22052
+ So as setSplitDirectionOnPrimitives,
22045
22053
  fS as setupClampedPrimitive,
22046
22054
  OS as setupScalingPrimitiveCollection,
22047
22055
  Xl as setupScratchLayer,
22048
22056
  Q0 as shapeCategory,
22049
- Ka as snapTypes,
22057
+ Qa as snapTypes,
22050
22058
  Wh as sortRealWordEdgeCoordinates,
22051
22059
  T0 as spherical2Distance,
22052
22060
  oM as startCreateFeatureSession,
@@ -22071,7 +22079,7 @@ export {
22071
22079
  nd as validatePoint,
22072
22080
  Ku as validatePolygon,
22073
22081
  Hh as validateStoreys,
22074
- Aa as validityPlaceholder,
22082
+ Da as validityPlaceholder,
22075
22083
  J as vcsLayerName,
22076
22084
  xi as vcsMetaVersion,
22077
22085
  yt as vectorStyleSymbol,