vue-geojson-view-ts 1.3.21 → 1.3.22

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.
@@ -405,13 +405,13 @@ function Md() {
405
405
  _process: function(w) {
406
406
  var E, C = this._data, P = C.words, D = C.sigBytes, O = this.blockSize, R = O * 4, z = D / R;
407
407
  w ? z = i.ceil(z) : z = i.max((z | 0) - this._minBufferSize, 0);
408
- var j = z * O, U = i.min(j * 4, D);
408
+ var j = z * O, N = i.min(j * 4, D);
409
409
  if (j) {
410
410
  for (var X = 0; X < j; X += O)
411
411
  this._doProcessBlock(P, X);
412
- E = P.splice(0, j), C.sigBytes -= U;
412
+ E = P.splice(0, j), C.sigBytes -= N;
413
413
  }
414
- return new p.init(E, U);
414
+ return new p.init(E, N);
415
415
  },
416
416
  /**
417
417
  * Creates a copy of this object.
@@ -790,7 +790,7 @@ function Sd() {
790
790
  var z = window.requestAnimationFrame || D("RequestAnimationFrame") || R, j = window.cancelAnimationFrame || D("CancelAnimationFrame") || D("CancelRequestAnimationFrame") || function(o) {
791
791
  window.clearTimeout(o);
792
792
  };
793
- function U(o, l, u) {
793
+ function N(o, l, u) {
794
794
  if (u && z === R)
795
795
  o.call(l);
796
796
  else
@@ -799,7 +799,7 @@ function Sd() {
799
799
  function X(o) {
800
800
  o && j.call(window, o);
801
801
  }
802
- var $ = {
802
+ var J = {
803
803
  __proto__: null,
804
804
  extend: n,
805
805
  create: s,
@@ -822,12 +822,12 @@ function Sd() {
822
822
  emptyImageUrl: P,
823
823
  requestFn: z,
824
824
  cancelFn: j,
825
- requestAnimFrame: U,
825
+ requestAnimFrame: N,
826
826
  cancelAnimFrame: X
827
827
  };
828
- function ot() {
828
+ function rt() {
829
829
  }
830
- ot.extend = function(o) {
830
+ rt.extend = function(o) {
831
831
  var l = function() {
832
832
  A(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
833
833
  }, u = l.__super__ = this.prototype, g = s(u);
@@ -841,12 +841,12 @@ function Sd() {
841
841
  g._initHooks[x].call(this);
842
842
  }
843
843
  }, l;
844
- }, ot.include = function(o) {
844
+ }, rt.include = function(o) {
845
845
  var l = this.prototype.options;
846
846
  return n(this.prototype, o), o.options && (this.prototype.options = l, this.mergeOptions(o.options)), this;
847
- }, ot.mergeOptions = function(o) {
847
+ }, rt.mergeOptions = function(o) {
848
848
  return n(this.prototype.options, o), this;
849
- }, ot.addInitHook = function(o) {
849
+ }, rt.addInitHook = function(o) {
850
850
  var l = Array.prototype.slice.call(arguments, 1), u = typeof o == "function" ? o : function() {
851
851
  this[o].apply(this, l);
852
852
  };
@@ -1023,7 +1023,7 @@ function Sd() {
1023
1023
  }
1024
1024
  };
1025
1025
  Y.addEventListener = Y.on, Y.removeEventListener = Y.clearAllEventListeners = Y.off, Y.addOneTimeEventListener = Y.once, Y.fireEvent = Y.fire, Y.hasEventListeners = Y.listens;
1026
- var H = ot.extend(Y);
1026
+ var H = rt.extend(Y);
1027
1027
  function B(o, l, u) {
1028
1028
  this.x = u ? Math.round(o) : o, this.y = u ? Math.round(l) : l;
1029
1029
  }
@@ -1140,12 +1140,12 @@ function Sd() {
1140
1140
  function Z(o, l, u) {
1141
1141
  return o instanceof B ? o : E(o) ? new B(o[0], o[1]) : o == null ? o : typeof o == "object" && "x" in o && "y" in o ? new B(o.x, o.y) : new B(o, l, u);
1142
1142
  }
1143
- function it(o, l) {
1143
+ function nt(o, l) {
1144
1144
  if (o)
1145
1145
  for (var u = l ? [o, l] : o, g = 0, _ = u.length; g < _; g++)
1146
1146
  this.extend(u[g]);
1147
1147
  }
1148
- it.prototype = {
1148
+ nt.prototype = {
1149
1149
  // @method extend(point: Point): this
1150
1150
  // Extends the bounds to contain the given point.
1151
1151
  // @alternative
@@ -1202,7 +1202,7 @@ function Sd() {
1202
1202
  // Returns `true` if the rectangle contains the given point.
1203
1203
  contains: function(o) {
1204
1204
  var l, u;
1205
- return typeof o[0] == "number" || o instanceof B ? o = Z(o) : o = F(o), o instanceof it ? (l = o.min, u = o.max) : l = u = o, l.x >= this.min.x && u.x <= this.max.x && l.y >= this.min.y && u.y <= this.max.y;
1205
+ return typeof o[0] == "number" || o instanceof B ? o = Z(o) : o = F(o), o instanceof nt ? (l = o.min, u = o.max) : l = u = o, l.x >= this.min.x && u.x <= this.max.x && l.y >= this.min.y && u.y <= this.max.y;
1206
1206
  },
1207
1207
  // @method intersects(otherBounds: Bounds): Boolean
1208
1208
  // Returns `true` if the rectangle intersects the given bounds. Two bounds
@@ -1243,14 +1243,14 @@ function Sd() {
1243
1243
  }
1244
1244
  };
1245
1245
  function F(o, l) {
1246
- return !o || o instanceof it ? o : new it(o, l);
1246
+ return !o || o instanceof nt ? o : new nt(o, l);
1247
1247
  }
1248
- function dt(o, l) {
1248
+ function ct(o, l) {
1249
1249
  if (o)
1250
1250
  for (var u = l ? [o, l] : o, g = 0, _ = u.length; g < _; g++)
1251
1251
  this.extend(u[g]);
1252
1252
  }
1253
- dt.prototype = {
1253
+ ct.prototype = {
1254
1254
  // @method extend(latlng: LatLng): this
1255
1255
  // Extend the bounds to contain the given point
1256
1256
  // @alternative
@@ -1258,14 +1258,14 @@ function Sd() {
1258
1258
  // Extend the bounds to contain the given bounds
1259
1259
  extend: function(o) {
1260
1260
  var l = this._southWest, u = this._northEast, g, _;
1261
- if (o instanceof tt)
1261
+ if (o instanceof q)
1262
1262
  g = o, _ = o;
1263
- else if (o instanceof dt) {
1263
+ else if (o instanceof ct) {
1264
1264
  if (g = o._southWest, _ = o._northEast, !g || !_)
1265
1265
  return this;
1266
1266
  } else
1267
- return o ? this.extend(lt(o) || Q(o)) : this;
1268
- return !l && !u ? (this._southWest = new tt(g.lat, g.lng), this._northEast = new tt(_.lat, _.lng)) : (l.lat = Math.min(g.lat, l.lat), l.lng = Math.min(g.lng, l.lng), u.lat = Math.max(_.lat, u.lat), u.lng = Math.max(_.lng, u.lng)), this;
1267
+ return o ? this.extend(at(o) || Q(o)) : this;
1268
+ return !l && !u ? (this._southWest = new q(g.lat, g.lng), this._northEast = new q(_.lat, _.lng)) : (l.lat = Math.min(g.lat, l.lat), l.lng = Math.min(g.lng, l.lng), u.lat = Math.max(_.lat, u.lat), u.lng = Math.max(_.lng, u.lng)), this;
1269
1269
  },
1270
1270
  // @method pad(bufferRatio: Number): LatLngBounds
1271
1271
  // Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.
@@ -1273,15 +1273,15 @@ function Sd() {
1273
1273
  // Negative values will retract the bounds.
1274
1274
  pad: function(o) {
1275
1275
  var l = this._southWest, u = this._northEast, g = Math.abs(l.lat - u.lat) * o, _ = Math.abs(l.lng - u.lng) * o;
1276
- return new dt(
1277
- new tt(l.lat - g, l.lng - _),
1278
- new tt(u.lat + g, u.lng + _)
1276
+ return new ct(
1277
+ new q(l.lat - g, l.lng - _),
1278
+ new q(u.lat + g, u.lng + _)
1279
1279
  );
1280
1280
  },
1281
1281
  // @method getCenter(): LatLng
1282
1282
  // Returns the center point of the bounds.
1283
1283
  getCenter: function() {
1284
- return new tt(
1284
+ return new q(
1285
1285
  (this._southWest.lat + this._northEast.lat) / 2,
1286
1286
  (this._southWest.lng + this._northEast.lng) / 2
1287
1287
  );
@@ -1299,12 +1299,12 @@ function Sd() {
1299
1299
  // @method getNorthWest(): LatLng
1300
1300
  // Returns the north-west point of the bounds.
1301
1301
  getNorthWest: function() {
1302
- return new tt(this.getNorth(), this.getWest());
1302
+ return new q(this.getNorth(), this.getWest());
1303
1303
  },
1304
1304
  // @method getSouthEast(): LatLng
1305
1305
  // Returns the south-east point of the bounds.
1306
1306
  getSouthEast: function() {
1307
- return new tt(this.getSouth(), this.getEast());
1307
+ return new q(this.getSouth(), this.getEast());
1308
1308
  },
1309
1309
  // @method getWest(): Number
1310
1310
  // Returns the west longitude of the bounds
@@ -1332,9 +1332,9 @@ function Sd() {
1332
1332
  // @method contains (latlng: LatLng): Boolean
1333
1333
  // Returns `true` if the rectangle contains the given point.
1334
1334
  contains: function(o) {
1335
- typeof o[0] == "number" || o instanceof tt || "lat" in o ? o = lt(o) : o = Q(o);
1335
+ typeof o[0] == "number" || o instanceof q || "lat" in o ? o = at(o) : o = Q(o);
1336
1336
  var l = this._southWest, u = this._northEast, g, _;
1337
- return o instanceof dt ? (g = o.getSouthWest(), _ = o.getNorthEast()) : g = _ = o, g.lat >= l.lat && _.lat <= u.lat && g.lng >= l.lng && _.lng <= u.lng;
1337
+ return o instanceof ct ? (g = o.getSouthWest(), _ = o.getNorthEast()) : g = _ = o, g.lat >= l.lat && _.lat <= u.lat && g.lng >= l.lng && _.lng <= u.lng;
1338
1338
  },
1339
1339
  // @method intersects(otherBounds: LatLngBounds): Boolean
1340
1340
  // Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.
@@ -1367,20 +1367,20 @@ function Sd() {
1367
1367
  }
1368
1368
  };
1369
1369
  function Q(o, l) {
1370
- return o instanceof dt ? o : new dt(o, l);
1370
+ return o instanceof ct ? o : new ct(o, l);
1371
1371
  }
1372
- function tt(o, l, u) {
1372
+ function q(o, l, u) {
1373
1373
  if (isNaN(o) || isNaN(l))
1374
1374
  throw new Error("Invalid LatLng object: (" + o + ", " + l + ")");
1375
1375
  this.lat = +o, this.lng = +l, u !== void 0 && (this.alt = +u);
1376
1376
  }
1377
- tt.prototype = {
1377
+ q.prototype = {
1378
1378
  // @method equals(otherLatLng: LatLng, maxMargin?: Number): Boolean
1379
1379
  // Returns `true` if the given `LatLng` point is at the same position (within a small margin of error). The margin of error can be overridden by setting `maxMargin` to a small number.
1380
1380
  equals: function(o, l) {
1381
1381
  if (!o)
1382
1382
  return !1;
1383
- o = lt(o);
1383
+ o = at(o);
1384
1384
  var u = Math.max(
1385
1385
  Math.abs(this.lat - o.lat),
1386
1386
  Math.abs(this.lng - o.lng)
@@ -1395,7 +1395,7 @@ function Sd() {
1395
1395
  // @method distanceTo(otherLatLng: LatLng): Number
1396
1396
  // Returns the distance (in meters) to the given `LatLng` calculated using the [Spherical Law of Cosines](https://en.wikipedia.org/wiki/Spherical_law_of_cosines).
1397
1397
  distanceTo: function(o) {
1398
- return Ht.distance(this, lt(o));
1398
+ return Ht.distance(this, at(o));
1399
1399
  },
1400
1400
  // @method wrap(): LatLng
1401
1401
  // Returns a new `LatLng` object with the longitude wrapped so it's always between -180 and +180 degrees.
@@ -1412,11 +1412,11 @@ function Sd() {
1412
1412
  );
1413
1413
  },
1414
1414
  clone: function() {
1415
- return new tt(this.lat, this.lng, this.alt);
1415
+ return new q(this.lat, this.lng, this.alt);
1416
1416
  }
1417
1417
  };
1418
- function lt(o, l, u) {
1419
- return o instanceof tt ? o : E(o) && typeof o[0] != "object" ? o.length === 3 ? new tt(o[0], o[1], o[2]) : o.length === 2 ? new tt(o[0], o[1]) : null : o == null ? o : typeof o == "object" && "lat" in o ? new tt(o.lat, "lng" in o ? o.lng : o.lon, o.alt) : l === void 0 ? null : new tt(o, l, u);
1418
+ function at(o, l, u) {
1419
+ return o instanceof q ? o : E(o) && typeof o[0] != "object" ? o.length === 3 ? new q(o[0], o[1], o[2]) : o.length === 2 ? new q(o[0], o[1]) : null : o == null ? o : typeof o == "object" && "lat" in o ? new q(o.lat, "lng" in o ? o.lng : o.lon, o.alt) : l === void 0 ? null : new q(o, l, u);
1420
1420
  }
1421
1421
  var Dt = {
1422
1422
  // @method latLngToPoint(latlng: LatLng, zoom: Number): Point
@@ -1463,7 +1463,7 @@ function Sd() {
1463
1463
  if (this.infinite)
1464
1464
  return null;
1465
1465
  var l = this.projection.bounds, u = this.scale(o), g = this.transformation.transform(l.min, u), _ = this.transformation.transform(l.max, u);
1466
- return new it(g, _);
1466
+ return new nt(g, _);
1467
1467
  },
1468
1468
  // @method distance(latlng1: LatLng, latlng2: LatLng): Number
1469
1469
  // Returns the distance between two geographical coordinates.
@@ -1487,7 +1487,7 @@ function Sd() {
1487
1487
  // CRS's `wrapLat` and `wrapLng` properties, if they are outside the CRS's bounds.
1488
1488
  wrapLatLng: function(o) {
1489
1489
  var l = this.wrapLng ? f(o.lng, this.wrapLng, !0) : o.lng, u = this.wrapLat ? f(o.lat, this.wrapLat, !0) : o.lat, g = o.alt;
1490
- return new tt(u, l, g);
1490
+ return new q(u, l, g);
1491
1491
  },
1492
1492
  // @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds
1493
1493
  // Returns a `LatLngBounds` with the same size as the given one, ensuring
@@ -1497,8 +1497,8 @@ function Sd() {
1497
1497
  var l = o.getCenter(), u = this.wrapLatLng(l), g = l.lat - u.lat, _ = l.lng - u.lng;
1498
1498
  if (g === 0 && _ === 0)
1499
1499
  return o;
1500
- var x = o.getSouthWest(), T = o.getNorthEast(), I = new tt(x.lat - g, x.lng - _), S = new tt(T.lat - g, T.lng - _);
1501
- return new dt(I, S);
1500
+ var x = o.getSouthWest(), T = o.getNorthEast(), I = new q(x.lat - g, x.lng - _), S = new q(T.lat - g, T.lng - _);
1501
+ return new ct(I, S);
1502
1502
  }
1503
1503
  }, Ht = n({}, Dt, {
1504
1504
  wrapLng: [-180, 180],
@@ -1523,14 +1523,14 @@ function Sd() {
1523
1523
  },
1524
1524
  unproject: function(o) {
1525
1525
  var l = 180 / Math.PI;
1526
- return new tt(
1526
+ return new q(
1527
1527
  (2 * Math.atan(Math.exp(o.y / this.R)) - Math.PI / 2) * l,
1528
1528
  o.x * l / this.R
1529
1529
  );
1530
1530
  },
1531
1531
  bounds: function() {
1532
1532
  var o = Ce * Math.PI;
1533
- return new it([-o, -o], [o, o]);
1533
+ return new nt([-o, -o], [o, o]);
1534
1534
  }()
1535
1535
  };
1536
1536
  function Ti(o, l, u, g) {
@@ -1582,7 +1582,7 @@ function Sd() {
1582
1582
  for (g = 0, x = o.length; g < x; g++) {
1583
1583
  for (I = o[g], _ = 0, T = I.length; _ < T; _++)
1584
1584
  S = I[_], u += (_ ? "L" : "M") + S.x + " " + S.y;
1585
- u += l ? q.svg ? "z" : "x" : "";
1585
+ u += l ? $.svg ? "z" : "x" : "";
1586
1586
  }
1587
1587
  return u || "M0 0";
1588
1588
  }
@@ -1616,7 +1616,7 @@ function Sd() {
1616
1616
  function zt(o) {
1617
1617
  return navigator.userAgent.toLowerCase().indexOf(o) >= 0;
1618
1618
  }
1619
- var q = {
1619
+ var $ = {
1620
1620
  ie: ni,
1621
1621
  ielt9: Mn,
1622
1622
  edge: ri,
@@ -1652,7 +1652,7 @@ function Sd() {
1652
1652
  inlineSvg: Pn,
1653
1653
  mac: $t,
1654
1654
  linux: ue
1655
- }, Jh = q.msPointer ? "MSPointerDown" : "pointerdown", $h = q.msPointer ? "MSPointerMove" : "pointermove", tc = q.msPointer ? "MSPointerUp" : "pointerup", ec = q.msPointer ? "MSPointerCancel" : "pointercancel", Ea = {
1655
+ }, Jh = $.msPointer ? "MSPointerDown" : "pointerdown", $h = $.msPointer ? "MSPointerMove" : "pointermove", tc = $.msPointer ? "MSPointerUp" : "pointerup", ec = $.msPointer ? "MSPointerCancel" : "pointercancel", Ea = {
1656
1656
  touchstart: Jh,
1657
1657
  touchmove: $h,
1658
1658
  touchend: tc,
@@ -1812,10 +1812,10 @@ function Sd() {
1812
1812
  }
1813
1813
  function on(o, l, u) {
1814
1814
  var g = l || new B(0, 0);
1815
- o.style[Ca] = (q.ie3d ? "translate(" + g.x + "px," + g.y + "px)" : "translate3d(" + g.x + "px," + g.y + "px,0)") + (u ? " scale(" + u + ")" : "");
1815
+ o.style[Ca] = ($.ie3d ? "translate(" + g.x + "px," + g.y + "px)" : "translate3d(" + g.x + "px," + g.y + "px,0)") + (u ? " scale(" + u + ")" : "");
1816
1816
  }
1817
1817
  function Bt(o, l) {
1818
- o._leaflet_pos = l, q.any3d ? on(o, l) : (o.style.left = l.x + "px", o.style.top = l.y + "px");
1818
+ o._leaflet_pos = l, $.any3d ? on(o, l) : (o.style.left = l.x + "px", o.style.top = l.y + "px");
1819
1819
  }
1820
1820
  function an(o) {
1821
1821
  return o._leaflet_pos || new B(0, 0);
@@ -1823,7 +1823,7 @@ function Sd() {
1823
1823
  var Lr, br, Ta;
1824
1824
  if ("onselectstart" in document)
1825
1825
  Lr = function() {
1826
- ct(window, "selectstart", Jt);
1826
+ ut(window, "selectstart", Jt);
1827
1827
  }, br = function() {
1828
1828
  Mt(window, "selectstart", Jt);
1829
1829
  };
@@ -1841,7 +1841,7 @@ function Sd() {
1841
1841
  };
1842
1842
  }
1843
1843
  function Ma() {
1844
- ct(window, "dragstart", Jt);
1844
+ ut(window, "dragstart", Jt);
1845
1845
  }
1846
1846
  function Pa() {
1847
1847
  Mt(window, "dragstart", Jt);
@@ -1850,7 +1850,7 @@ function Sd() {
1850
1850
  function Ia(o) {
1851
1851
  for (; o.tabIndex === -1; )
1852
1852
  o = o.parentNode;
1853
- o.style && (Is(), Ds = o, Da = o.style.outlineStyle, o.style.outlineStyle = "none", ct(window, "keydown", Is));
1853
+ o.style && (Is(), Ds = o, Da = o.style.outlineStyle, o.style.outlineStyle = "none", ut(window, "keydown", Is));
1854
1854
  }
1855
1855
  function Is() {
1856
1856
  Ds && (Ds.style.outlineStyle = Da, Ds = void 0, Da = void 0, Mt(window, "keydown", Is));
@@ -1904,7 +1904,7 @@ function Sd() {
1904
1904
  getSizedParentNode: ac,
1905
1905
  getScale: Sa
1906
1906
  };
1907
- function ct(o, l, u, g) {
1907
+ function ut(o, l, u, g) {
1908
1908
  if (l && typeof l == "object")
1909
1909
  for (var _ in l)
1910
1910
  ka(o, _, l[_], u);
@@ -1949,7 +1949,7 @@ function Sd() {
1949
1949
  var x = function(I) {
1950
1950
  return u.call(g || o, I || window.event);
1951
1951
  }, T = x;
1952
- !q.touchNative && q.pointer && l.indexOf("touch") === 0 ? x = Gg(o, l, x) : q.touch && l === "dblclick" ? x = Kg(o, x) : "addEventListener" in o ? l === "touchstart" || l === "touchmove" || l === "wheel" || l === "mousewheel" ? o.addEventListener(Ra[l] || l, x, q.passiveEvents ? { passive: !1 } : !1) : l === "mouseenter" || l === "mouseleave" ? (x = function(I) {
1952
+ !$.touchNative && $.pointer && l.indexOf("touch") === 0 ? x = Gg(o, l, x) : $.touch && l === "dblclick" ? x = Kg(o, x) : "addEventListener" in o ? l === "touchstart" || l === "touchmove" || l === "wheel" || l === "mousewheel" ? o.addEventListener(Ra[l] || l, x, $.passiveEvents ? { passive: !1 } : !1) : l === "mouseenter" || l === "mouseleave" ? (x = function(I) {
1953
1953
  I = I || window.event, za(o, I) && T(I);
1954
1954
  }, o.addEventListener(Ra[l], x, !1)) : o.addEventListener(l, T, !1) : o.attachEvent("on" + l, x), o[Ye] = o[Ye] || {}, o[Ye][_] = x;
1955
1955
  }
@@ -1958,7 +1958,7 @@ function Sd() {
1958
1958
  var x = o[Ye] && o[Ye][_];
1959
1959
  if (!x)
1960
1960
  return this;
1961
- !q.touchNative && q.pointer && l.indexOf("touch") === 0 ? Ug(o, l, x) : q.touch && l === "dblclick" ? Vg(o, x) : "removeEventListener" in o ? o.removeEventListener(Ra[l] || l, x, !1) : o.detachEvent("on" + l, x), o[Ye][_] = null;
1961
+ !$.touchNative && $.pointer && l.indexOf("touch") === 0 ? Ug(o, l, x) : $.touch && l === "dblclick" ? Vg(o, x) : "removeEventListener" in o ? o.removeEventListener(Ra[l] || l, x, !1) : o.detachEvent("on" + l, x), o[Ye][_] = null;
1962
1962
  }
1963
1963
  function ln(o) {
1964
1964
  return o.stopPropagation ? o.stopPropagation() : o.originalEvent ? o.originalEvent._stopped = !0 : o.cancelBubble = !0, this;
@@ -1967,7 +1967,7 @@ function Sd() {
1967
1967
  return ka(o, "wheel", ln), this;
1968
1968
  }
1969
1969
  function Mr(o) {
1970
- return ct(o, "mousedown touchstart dblclick contextmenu", ln), o._leaflet_disable_click = !0, this;
1970
+ return ut(o, "mousedown touchstart dblclick contextmenu", ln), o._leaflet_disable_click = !0, this;
1971
1971
  }
1972
1972
  function Jt(o) {
1973
1973
  return o.preventDefault ? o.preventDefault() : o.returnValue = !1, this;
@@ -1993,9 +1993,9 @@ function Sd() {
1993
1993
  (o.clientY - g.top) / u.y - l.clientTop
1994
1994
  );
1995
1995
  }
1996
- var Jg = q.linux && q.chrome ? window.devicePixelRatio : q.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
1996
+ var Jg = $.linux && $.chrome ? window.devicePixelRatio : $.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
1997
1997
  function uc(o) {
1998
- return q.edge ? o.wheelDeltaY / 2 : (
1998
+ return $.edge ? o.wheelDeltaY / 2 : (
1999
1999
  // Don't trust window-geometry-based delta
2000
2000
  o.deltaY && o.deltaMode === 0 ? -o.deltaY / Jg : (
2001
2001
  // Pixels
@@ -2035,7 +2035,7 @@ function Sd() {
2035
2035
  }
2036
2036
  var $g = {
2037
2037
  __proto__: null,
2038
- on: ct,
2038
+ on: ut,
2039
2039
  off: Mt,
2040
2040
  stopPropagation: ln,
2041
2041
  disableScrollPropagation: Fa,
@@ -2046,7 +2046,7 @@ function Sd() {
2046
2046
  getMousePosition: cc,
2047
2047
  getWheelDelta: uc,
2048
2048
  isExternalTarget: za,
2049
- addListener: ct,
2049
+ addListener: ut,
2050
2050
  removeListener: Mt
2051
2051
  }, dc = H.extend({
2052
2052
  // @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
@@ -2063,7 +2063,7 @@ function Sd() {
2063
2063
  this._inProgress && (this._step(!0), this._complete());
2064
2064
  },
2065
2065
  _animate: function() {
2066
- this._animId = U(this._animate, this), this._step();
2066
+ this._animId = N(this._animate, this), this._step();
2067
2067
  },
2068
2068
  _step: function(o) {
2069
2069
  var l = +/* @__PURE__ */ new Date() - this._startTime, u = this._duration * 1e3;
@@ -2157,14 +2157,14 @@ function Sd() {
2157
2157
  trackResize: !0
2158
2158
  },
2159
2159
  initialize: function(o, l) {
2160
- l = A(this, l), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(o), this._initLayout(), this._onResize = a(this._onResize, this), this._initEvents(), l.maxBounds && this.setMaxBounds(l.maxBounds), l.zoom !== void 0 && (this._zoom = this._limitZoom(l.zoom)), l.center && l.zoom !== void 0 && this.setView(lt(l.center), l.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = Er && q.any3d && !q.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), ct(this._proxy, sc, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
2160
+ l = A(this, l), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(o), this._initLayout(), this._onResize = a(this._onResize, this), this._initEvents(), l.maxBounds && this.setMaxBounds(l.maxBounds), l.zoom !== void 0 && (this._zoom = this._limitZoom(l.zoom)), l.center && l.zoom !== void 0 && this.setView(at(l.center), l.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = Er && $.any3d && !$.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), ut(this._proxy, sc, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
2161
2161
  },
2162
2162
  // @section Methods for modifying map state
2163
2163
  // @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
2164
2164
  // Sets the view of the map (geographical center and zoom) with the given
2165
2165
  // animation options.
2166
2166
  setView: function(o, l, u) {
2167
- if (l = l === void 0 ? this._zoom : this._limitZoom(l), o = this._limitCenter(lt(o), l, this.options.maxBounds), u = u || {}, this._stop(), this._loaded && !u.reset && u !== !0) {
2167
+ if (l = l === void 0 ? this._zoom : this._limitZoom(l), o = this._limitCenter(at(o), l, this.options.maxBounds), u = u || {}, this._stop(), this._loaded && !u.reset && u !== !0) {
2168
2168
  u.animate !== void 0 && (u.zoom = n({ animate: u.animate }, u.zoom), u.pan = n({ animate: u.animate, duration: u.duration }, u.pan));
2169
2169
  var g = this._zoom !== l ? this._tryAnimatedZoom && this._tryAnimatedZoom(o, l, u.zoom) : this._tryAnimatedPan(o, u.pan);
2170
2170
  if (g)
@@ -2180,12 +2180,12 @@ function Sd() {
2180
2180
  // @method zoomIn(delta?: Number, options?: Zoom options): this
2181
2181
  // Increases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).
2182
2182
  zoomIn: function(o, l) {
2183
- return o = o || (q.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom + o, l);
2183
+ return o = o || ($.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom + o, l);
2184
2184
  },
2185
2185
  // @method zoomOut(delta?: Number, options?: Zoom options): this
2186
2186
  // Decreases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).
2187
2187
  zoomOut: function(o, l) {
2188
- return o = o || (q.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom - o, l);
2188
+ return o = o || ($.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom - o, l);
2189
2189
  },
2190
2190
  // @method setZoomAround(latlng: LatLng, zoom: Number, options: Zoom options): this
2191
2191
  // Zooms the map while keeping a specified geographical point on the map
@@ -2253,14 +2253,14 @@ function Sd() {
2253
2253
  // Sets the view of the map (geographical center and zoom) performing a smooth
2254
2254
  // pan-zoom animation.
2255
2255
  flyTo: function(o, l, u) {
2256
- if (u = u || {}, u.animate === !1 || !q.any3d)
2256
+ if (u = u || {}, u.animate === !1 || !$.any3d)
2257
2257
  return this.setView(o, l, u);
2258
2258
  this._stop();
2259
2259
  var g = this.project(this.getCenter()), _ = this.project(o), x = this.getSize(), T = this._zoom;
2260
- o = lt(o), l = l === void 0 ? T : l;
2261
- var I = Math.max(x.x, x.y), S = I * this.getZoomScale(T, l), N = _.distanceTo(g) || 1, K = 1.42, rt = K * K;
2260
+ o = at(o), l = l === void 0 ? T : l;
2261
+ var I = Math.max(x.x, x.y), S = I * this.getZoomScale(T, l), G = _.distanceTo(g) || 1, K = 1.42, st = K * K;
2262
2262
  function mt(Nt) {
2263
- var Hs = Nt ? -1 : 1, Up = Nt ? S : I, jp = S * S - I * I + Hs * rt * rt * N * N, Hp = 2 * Up * rt * N, Ka = jp / Hp, Zc = Math.sqrt(Ka * Ka + 1) - Ka, Wp = Zc < 1e-9 ? -18 : Math.log(Zc);
2263
+ var Hs = Nt ? -1 : 1, Up = Nt ? S : I, jp = S * S - I * I + Hs * st * st * G * G, Hp = 2 * Up * st * G, Ka = jp / Hp, Zc = Math.sqrt(Ka * Ka + 1) - Ka, Wp = Zc < 1e-9 ? -18 : Math.log(Zc);
2264
2264
  return Wp;
2265
2265
  }
2266
2266
  function le(Nt) {
@@ -2277,7 +2277,7 @@ function Sd() {
2277
2277
  return I * (Yt(de) / Yt(de + K * Nt));
2278
2278
  }
2279
2279
  function zp(Nt) {
2280
- return I * (Yt(de) * Me(de + K * Nt) - le(de)) / rt;
2280
+ return I * (Yt(de) * Me(de + K * Nt) - le(de)) / st;
2281
2281
  }
2282
2282
  function Bp(Nt) {
2283
2283
  return 1 - Math.pow(1 - Nt, 1.5);
@@ -2285,8 +2285,8 @@ function Sd() {
2285
2285
  var Np = Date.now(), Wc = (mt(1) - de) / K, Gp = u.duration ? 1e3 * u.duration : 1e3 * Wc * 0.8;
2286
2286
  function Yc() {
2287
2287
  var Nt = (Date.now() - Np) / Gp, Hs = Bp(Nt) * Wc;
2288
- Nt <= 1 ? (this._flyToFrame = U(Yc, this), this._move(
2289
- this.unproject(g.add(_.subtract(g).multiplyBy(zp(Hs) / N)), T),
2288
+ Nt <= 1 ? (this._flyToFrame = N(Yc, this), this._move(
2289
+ this.unproject(g.add(_.subtract(g).multiplyBy(zp(Hs) / G)), T),
2290
2290
  this.getScaleZoom(I / Nn(Hs), T),
2291
2291
  { flyTo: !0 }
2292
2292
  )) : this._move(o, l)._moveEnd(!0);
@@ -2334,8 +2334,8 @@ function Sd() {
2334
2334
  var u = Z(l.paddingTopLeft || l.padding || [0, 0]), g = Z(l.paddingBottomRight || l.padding || [0, 0]), _ = this.project(this.getCenter()), x = this.project(o), T = this.getPixelBounds(), I = F([T.min.add(u), T.max.subtract(g)]), S = I.getSize();
2335
2335
  if (!I.contains(x)) {
2336
2336
  this._enforcingBounds = !0;
2337
- var N = x.subtract(I.getCenter()), K = I.extend(x).getSize().subtract(S);
2338
- _.x += N.x < 0 ? -K.x : K.x, _.y += N.y < 0 ? -K.y : K.y, this.panTo(this.unproject(_), l), this._enforcingBounds = !1;
2337
+ var G = x.subtract(I.getCenter()), K = I.extend(x).getSize().subtract(S);
2338
+ _.x += G.x < 0 ? -K.x : K.x, _.y += G.y < 0 ? -K.y : K.y, this.panTo(this.unproject(_), l), this._enforcingBounds = !1;
2339
2339
  }
2340
2340
  return this;
2341
2341
  },
@@ -2415,7 +2415,7 @@ function Sd() {
2415
2415
  },
2416
2416
  _handleGeolocationResponse: function(o) {
2417
2417
  if (this._container._leaflet_id) {
2418
- var l = o.coords.latitude, u = o.coords.longitude, g = new tt(l, u), _ = g.toBounds(o.coords.accuracy * 2), x = this._locateOptions;
2418
+ var l = o.coords.latitude, u = o.coords.longitude, g = new q(l, u), _ = g.toBounds(o.coords.accuracy * 2), x = this._locateOptions;
2419
2419
  if (x.setView) {
2420
2420
  var T = this.getBoundsZoom(_);
2421
2421
  this.setView(g, x.maxZoom ? Math.min(T, x.maxZoom) : T);
@@ -2482,7 +2482,7 @@ function Sd() {
2482
2482
  // Returns the geographical bounds visible in the current map view
2483
2483
  getBounds: function() {
2484
2484
  var o = this.getPixelBounds(), l = this.unproject(o.getBottomLeft()), u = this.unproject(o.getTopRight());
2485
- return new dt(l, u);
2485
+ return new ct(l, u);
2486
2486
  },
2487
2487
  // @method getMinZoom(): Number
2488
2488
  // Returns the minimum zoom level of the map (if set in the `minZoom` option of the map or of any layers), or `0` by default.
@@ -2501,7 +2501,7 @@ function Sd() {
2501
2501
  // the given bounds in its entirety.
2502
2502
  getBoundsZoom: function(o, l, u) {
2503
2503
  o = Q(o), u = Z(u || [0, 0]);
2504
- var g = this.getZoom() || 0, _ = this.getMinZoom(), x = this.getMaxZoom(), T = o.getNorthWest(), I = o.getSouthEast(), S = this.getSize().subtract(u), N = F(this.project(I, g), this.project(T, g)).getSize(), K = q.any3d ? this.options.zoomSnap : 1, rt = S.x / N.x, mt = S.y / N.y, le = l ? Math.max(rt, mt) : Math.min(rt, mt);
2504
+ var g = this.getZoom() || 0, _ = this.getMinZoom(), x = this.getMaxZoom(), T = o.getNorthWest(), I = o.getSouthEast(), S = this.getSize().subtract(u), G = F(this.project(I, g), this.project(T, g)).getSize(), K = $.any3d ? this.options.zoomSnap : 1, st = S.x / G.x, mt = S.y / G.y, le = l ? Math.max(st, mt) : Math.min(st, mt);
2505
2505
  return g = this.getScaleZoom(le, g), K && (g = Math.round(g / (K / 100)) * (K / 100), g = l ? Math.ceil(g / K) * K : Math.floor(g / K) * K), Math.max(_, Math.min(x, g));
2506
2506
  },
2507
2507
  // @method getSize(): Point
@@ -2517,7 +2517,7 @@ function Sd() {
2517
2517
  // coordinates (sometimes useful in layer and overlay implementations).
2518
2518
  getPixelBounds: function(o, l) {
2519
2519
  var u = this._getTopLeftPoint(o, l);
2520
- return new it(u, u.add(this.getSize()));
2520
+ return new nt(u, u.add(this.getSize()));
2521
2521
  },
2522
2522
  // TODO: Check semantics - isn't the pixel origin the 0,0 coord relative to
2523
2523
  // the map pane? "left point of the map layer" can be confusing, specially
@@ -2575,7 +2575,7 @@ function Sd() {
2575
2575
  // `Transformation`. The result is pixel coordinate relative to
2576
2576
  // the CRS origin.
2577
2577
  project: function(o, l) {
2578
- return l = l === void 0 ? this._zoom : l, this.options.crs.latLngToPoint(lt(o), l);
2578
+ return l = l === void 0 ? this._zoom : l, this.options.crs.latLngToPoint(at(o), l);
2579
2579
  },
2580
2580
  // @method unproject(point: Point, zoom: Number): LatLng
2581
2581
  // Inverse of [`project`](#map-project).
@@ -2593,7 +2593,7 @@ function Sd() {
2593
2593
  // Given a geographical coordinate, returns the corresponding pixel coordinate
2594
2594
  // relative to the [origin pixel](#map-getpixelorigin).
2595
2595
  latLngToLayerPoint: function(o) {
2596
- var l = this.project(lt(o))._round();
2596
+ var l = this.project(at(o))._round();
2597
2597
  return l._subtract(this.getPixelOrigin());
2598
2598
  },
2599
2599
  // @method wrapLatLng(latlng: LatLng): LatLng
@@ -2603,7 +2603,7 @@ function Sd() {
2603
2603
  // By default this means longitude is wrapped around the dateline so its
2604
2604
  // value is between -180 and +180 degrees.
2605
2605
  wrapLatLng: function(o) {
2606
- return this.options.crs.wrapLatLng(lt(o));
2606
+ return this.options.crs.wrapLatLng(at(o));
2607
2607
  },
2608
2608
  // @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds
2609
2609
  // Returns a `LatLngBounds` with the same size as the given one, ensuring that
@@ -2618,7 +2618,7 @@ function Sd() {
2618
2618
  // Returns the distance between two geographical coordinates according to
2619
2619
  // the map's CRS. By default this measures distance in meters.
2620
2620
  distance: function(o, l) {
2621
- return this.options.crs.distance(lt(o), lt(l));
2621
+ return this.options.crs.distance(at(o), at(l));
2622
2622
  },
2623
2623
  // @method containerPointToLayerPoint(point: Point): Point
2624
2624
  // Given a pixel coordinate relative to the map container, returns the corresponding
@@ -2643,7 +2643,7 @@ function Sd() {
2643
2643
  // Given a geographical coordinate, returns the corresponding pixel coordinate
2644
2644
  // relative to the map container.
2645
2645
  latLngToContainerPoint: function(o) {
2646
- return this.layerPointToContainerPoint(this.latLngToLayerPoint(lt(o)));
2646
+ return this.layerPointToContainerPoint(this.latLngToLayerPoint(at(o)));
2647
2647
  },
2648
2648
  // @method mouseEventToContainerPoint(ev: MouseEvent): Point
2649
2649
  // Given a MouseEvent object, returns the pixel coordinate relative to the
@@ -2671,11 +2671,11 @@ function Sd() {
2671
2671
  throw new Error("Map container is already initialized.");
2672
2672
  } else
2673
2673
  throw new Error("Map container not found.");
2674
- ct(l, "scroll", this._onScroll, this), this._containerId = c(l);
2674
+ ut(l, "scroll", this._onScroll, this), this._containerId = c(l);
2675
2675
  },
2676
2676
  _initLayout: function() {
2677
2677
  var o = this._container;
2678
- this._fadeAnimated = this.options.fadeAnimation && q.any3d, ft(o, "leaflet-container" + (q.touch ? " leaflet-touch" : "") + (q.retina ? " leaflet-retina" : "") + (q.ielt9 ? " leaflet-oldie" : "") + (q.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
2678
+ this._fadeAnimated = this.options.fadeAnimation && $.any3d, ft(o, "leaflet-container" + ($.touch ? " leaflet-touch" : "") + ($.retina ? " leaflet-retina" : "") + ($.ielt9 ? " leaflet-oldie" : "") + ($.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
2679
2679
  var l = Cr(o, "position");
2680
2680
  l !== "absolute" && l !== "relative" && l !== "fixed" && l !== "sticky" && (o.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
2681
2681
  },
@@ -2723,11 +2723,11 @@ function Sd() {
2723
2723
  // @section Interaction events
2724
2724
  _initEvents: function(o) {
2725
2725
  this._targets = {}, this._targets[c(this._container)] = this;
2726
- var l = o ? Mt : ct;
2727
- l(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && l(window, "resize", this._onResize, this), q.any3d && this.options.transform3DLimit && (o ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2726
+ var l = o ? Mt : ut;
2727
+ l(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && l(window, "resize", this._onResize, this), $.any3d && this.options.transform3DLimit && (o ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2728
2728
  },
2729
2729
  _onResize: function() {
2730
- X(this._resizeRequest), this._resizeRequest = U(
2730
+ X(this._resizeRequest), this._resizeRequest = N(
2731
2731
  function() {
2732
2732
  this.invalidateSize({ debounceMoveend: !0 });
2733
2733
  },
@@ -2785,8 +2785,8 @@ function Sd() {
2785
2785
  originalEvent: o
2786
2786
  };
2787
2787
  if (o.type !== "keypress" && o.type !== "keydown" && o.type !== "keyup") {
2788
- var N = I.getLatLng && (!I._radius || I._radius <= 10);
2789
- S.containerPoint = N ? this.latLngToContainerPoint(I.getLatLng()) : this.mouseEventToContainerPoint(o), S.layerPoint = this.containerPointToLayerPoint(S.containerPoint), S.latlng = N ? I.getLatLng() : this.layerPointToLatLng(S.layerPoint);
2788
+ var G = I.getLatLng && (!I._radius || I._radius <= 10);
2789
+ S.containerPoint = G ? this.latLngToContainerPoint(I.getLatLng()) : this.mouseEventToContainerPoint(o), S.layerPoint = this.containerPointToLayerPoint(S.containerPoint), S.latlng = G ? I.getLatLng() : this.layerPointToLatLng(S.layerPoint);
2790
2790
  }
2791
2791
  for (T = 0; T < _.length; T++)
2792
2792
  if (_[T].fire(l, S, !0), S.originalEvent._stopped || _[T].options.bubblingMouseEvents === !1 && C(this._mouseEvents, l) !== -1)
@@ -2849,14 +2849,14 @@ function Sd() {
2849
2849
  _limitCenter: function(o, l, u) {
2850
2850
  if (!u)
2851
2851
  return o;
2852
- var g = this.project(o, l), _ = this.getSize().divideBy(2), x = new it(g.subtract(_), g.add(_)), T = this._getBoundsOffset(x, u, l);
2852
+ var g = this.project(o, l), _ = this.getSize().divideBy(2), x = new nt(g.subtract(_), g.add(_)), T = this._getBoundsOffset(x, u, l);
2853
2853
  return Math.abs(T.x) <= 1 && Math.abs(T.y) <= 1 ? o : this.unproject(g.add(T), l);
2854
2854
  },
2855
2855
  // adjust offset for view to get inside bounds
2856
2856
  _limitOffset: function(o, l) {
2857
2857
  if (!l)
2858
2858
  return o;
2859
- var u = this.getPixelBounds(), g = new it(u.min.add(o), u.max.add(o));
2859
+ var u = this.getPixelBounds(), g = new nt(u.min.add(o), u.max.add(o));
2860
2860
  return o.add(this._getBoundsOffset(g, l));
2861
2861
  },
2862
2862
  // returns offset needed for pxBounds to get inside maxBounds at a specified zoom
@@ -2871,7 +2871,7 @@ function Sd() {
2871
2871
  return o + l > 0 ? Math.round(o - l) / 2 : Math.max(0, Math.ceil(o)) - Math.max(0, Math.floor(l));
2872
2872
  },
2873
2873
  _limitZoom: function(o) {
2874
- var l = this.getMinZoom(), u = this.getMaxZoom(), g = q.any3d ? this.options.zoomSnap : 1;
2874
+ var l = this.getMinZoom(), u = this.getMaxZoom(), g = $.any3d ? this.options.zoomSnap : 1;
2875
2875
  return g && (o = Math.round(o / g) * g), Math.max(l, Math.min(u, o));
2876
2876
  },
2877
2877
  _onPanTransitionStep: function() {
@@ -2910,7 +2910,7 @@ function Sd() {
2910
2910
  if (u = u || {}, !this._zoomAnimated || u.animate === !1 || this._nothingToAnimate() || Math.abs(l - this._zoom) > this.options.zoomAnimationThreshold)
2911
2911
  return !1;
2912
2912
  var g = this.getZoomScale(l), _ = this._getCenterOffset(o)._divideBy(1 - 1 / g);
2913
- return u.animate !== !0 && !this.getSize().contains(_) ? !1 : (U(function() {
2913
+ return u.animate !== !0 && !this.getSize().contains(_) ? !1 : (N(function() {
2914
2914
  this._moveStart(!0, u.noMoveStart || !1)._animateZoom(o, l, !0);
2915
2915
  }, this), !0);
2916
2916
  },
@@ -2928,7 +2928,7 @@ function Sd() {
2928
2928
  function tp(o, l) {
2929
2929
  return new vt(o, l);
2930
2930
  }
2931
- var ke = ot.extend({
2931
+ var ke = rt.extend({
2932
2932
  // @section
2933
2933
  // @aka Control Options
2934
2934
  options: {
@@ -3085,12 +3085,12 @@ function Sd() {
3085
3085
  var o = "leaflet-control-layers", l = this._container = At("div", o), u = this.options.collapsed;
3086
3086
  l.setAttribute("aria-haspopup", !0), Mr(l), Fa(l);
3087
3087
  var g = this._section = At("section", o + "-list");
3088
- u && (this._map.on("click", this.collapse, this), ct(l, {
3088
+ u && (this._map.on("click", this.collapse, this), ut(l, {
3089
3089
  mouseenter: this._expandSafely,
3090
3090
  mouseleave: this.collapse
3091
3091
  }, this));
3092
3092
  var _ = this._layersLink = At("a", o + "-toggle", l);
3093
- _.href = "#", _.title = "Layers", _.setAttribute("role", "button"), ct(_, {
3093
+ _.href = "#", _.title = "Layers", _.setAttribute("role", "button"), ut(_, {
3094
3094
  keydown: function(x) {
3095
3095
  x.keyCode === 13 && this._expandSafely();
3096
3096
  },
@@ -3135,7 +3135,7 @@ function Sd() {
3135
3135
  },
3136
3136
  _addItem: function(o) {
3137
3137
  var l = document.createElement("label"), u = this._map.hasLayer(o.layer), g;
3138
- o.overlay ? (g = document.createElement("input"), g.type = "checkbox", g.className = "leaflet-control-layers-selector", g.defaultChecked = u) : g = this._createRadioElement("leaflet-base-layers_" + c(this), u), this._layerControlInputs.push(g), g.layerId = c(o.layer), ct(g, "click", this._onInputClick, this);
3138
+ o.overlay ? (g = document.createElement("input"), g.type = "checkbox", g.className = "leaflet-control-layers-selector", g.defaultChecked = u) : g = this._createRadioElement("leaflet-base-layers_" + c(this), u), this._layerControlInputs.push(g), g.layerId = c(o.layer), ut(g, "click", this._onInputClick, this);
3139
3139
  var _ = document.createElement("span");
3140
3140
  _.innerHTML = " " + o.name;
3141
3141
  var x = document.createElement("span");
@@ -3165,7 +3165,7 @@ function Sd() {
3165
3165
  },
3166
3166
  _expandSafely: function() {
3167
3167
  var o = this._section;
3168
- this._preventClick = !0, ct(o, "click", Jt), this.expand();
3168
+ this._preventClick = !0, ut(o, "click", Jt), this.expand();
3169
3169
  var l = this;
3170
3170
  setTimeout(function() {
3171
3171
  Mt(o, "click", Jt), l._preventClick = !1;
@@ -3224,7 +3224,7 @@ function Sd() {
3224
3224
  },
3225
3225
  _createButton: function(o, l, u, g, _) {
3226
3226
  var x = At("a", u, g);
3227
- return x.innerHTML = o, x.href = "#", x.title = l, x.setAttribute("role", "button"), x.setAttribute("aria-label", l), Mr(x), ct(x, "click", hn), ct(x, "click", _, this), ct(x, "click", this._refocusOnMap, this), x;
3227
+ return x.innerHTML = o, x.href = "#", x.title = l, x.setAttribute("role", "button"), x.setAttribute("aria-label", l), Mr(x), ut(x, "click", hn), ut(x, "click", _, this), ut(x, "click", this._refocusOnMap, this), x;
3228
3228
  },
3229
3229
  _updateDisabled: function() {
3230
3230
  var o = this._map, l = "leaflet-disabled";
@@ -3299,7 +3299,7 @@ function Sd() {
3299
3299
  position: "bottomright",
3300
3300
  // @option prefix: String|false = 'Leaflet'
3301
3301
  // The HTML text shown before the attributions. Pass `false` to disable.
3302
- prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (q.inlineSvg ? rp + " " : "") + "Leaflet</a>"
3302
+ prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + ($.inlineSvg ? rp + " " : "") + "Leaflet</a>"
3303
3303
  },
3304
3304
  initialize: function(o) {
3305
3305
  A(this, o), this._attributions = {};
@@ -3352,7 +3352,7 @@ function Sd() {
3352
3352
  return new Na(o);
3353
3353
  };
3354
3354
  ke.Layers = fc, ke.Zoom = Ba, ke.Scale = gc, ke.Attribution = Na, Pr.layers = ep, Pr.zoom = ip, Pr.scale = np, Pr.attribution = sp;
3355
- var Ze = ot.extend({
3355
+ var Ze = rt.extend({
3356
3356
  initialize: function(o) {
3357
3357
  this._map = o;
3358
3358
  },
@@ -3381,7 +3381,7 @@ function Sd() {
3381
3381
  Ze.addTo = function(o, l) {
3382
3382
  return o.addHandler(l, this), this;
3383
3383
  };
3384
- var op = { Events: Y }, pc = q.touch ? "touchstart mousedown" : "mousedown", Fi = H.extend({
3384
+ var op = { Events: Y }, pc = $.touch ? "touchstart mousedown" : "mousedown", Fi = H.extend({
3385
3385
  options: {
3386
3386
  // @section
3387
3387
  // @aka Draggable options
@@ -3398,7 +3398,7 @@ function Sd() {
3398
3398
  // @method enable()
3399
3399
  // Enables the dragging ability
3400
3400
  enable: function() {
3401
- this._enabled || (ct(this._dragStartTarget, pc, this._onDown, this), this._enabled = !0);
3401
+ this._enabled || (ut(this._dragStartTarget, pc, this._onDown, this), this._enabled = !0);
3402
3402
  },
3403
3403
  // @method disable()
3404
3404
  // Disables the dragging ability
@@ -3416,7 +3416,7 @@ function Sd() {
3416
3416
  var l = o.touches ? o.touches[0] : o, u = ac(this._element);
3417
3417
  this._startPoint = new B(l.clientX, l.clientY), this._startPos = an(this._element), this._parentScale = Sa(u);
3418
3418
  var g = o.type === "mousedown";
3419
- ct(document, g ? "mousemove" : "touchmove", this._onMove, this), ct(document, g ? "mouseup" : "touchend touchcancel", this._onUp, this);
3419
+ ut(document, g ? "mousemove" : "touchmove", this._onMove, this), ut(document, g ? "mouseup" : "touchend touchcancel", this._onUp, this);
3420
3420
  }
3421
3421
  }
3422
3422
  },
@@ -3447,40 +3447,40 @@ function Sd() {
3447
3447
  }
3448
3448
  });
3449
3449
  function mc(o, l, u) {
3450
- var g, _ = [1, 4, 2, 8], x, T, I, S, N, K, rt, mt;
3450
+ var g, _ = [1, 4, 2, 8], x, T, I, S, G, K, st, mt;
3451
3451
  for (x = 0, K = o.length; x < K; x++)
3452
3452
  o[x]._code = cn(o[x], l);
3453
3453
  for (I = 0; I < 4; I++) {
3454
- for (rt = _[I], g = [], x = 0, K = o.length, T = K - 1; x < K; T = x++)
3455
- S = o[x], N = o[T], S._code & rt ? N._code & rt || (mt = Ss(N, S, rt, l, u), mt._code = cn(mt, l), g.push(mt)) : (N._code & rt && (mt = Ss(N, S, rt, l, u), mt._code = cn(mt, l), g.push(mt)), g.push(S));
3454
+ for (st = _[I], g = [], x = 0, K = o.length, T = K - 1; x < K; T = x++)
3455
+ S = o[x], G = o[T], S._code & st ? G._code & st || (mt = Ss(G, S, st, l, u), mt._code = cn(mt, l), g.push(mt)) : (G._code & st && (mt = Ss(G, S, st, l, u), mt._code = cn(mt, l), g.push(mt)), g.push(S));
3456
3456
  o = g;
3457
3457
  }
3458
3458
  return o;
3459
3459
  }
3460
3460
  function _c(o, l) {
3461
- var u, g, _, x, T, I, S, N, K;
3461
+ var u, g, _, x, T, I, S, G, K;
3462
3462
  if (!o || o.length === 0)
3463
3463
  throw new Error("latlngs not passed");
3464
3464
  Te(o) || (console.warn("latlngs are not flat! Only the first ring will be used"), o = o[0]);
3465
- var rt = lt([0, 0]), mt = Q(o), le = mt.getNorthWest().distanceTo(mt.getSouthWest()) * mt.getNorthEast().distanceTo(mt.getNorthWest());
3466
- le < 1700 && (rt = Ga(o));
3465
+ var st = at([0, 0]), mt = Q(o), le = mt.getNorthWest().distanceTo(mt.getSouthWest()) * mt.getNorthEast().distanceTo(mt.getNorthWest());
3466
+ le < 1700 && (st = Ga(o));
3467
3467
  var Yt = o.length, Me = [];
3468
3468
  for (u = 0; u < Yt; u++) {
3469
- var de = lt(o[u]);
3470
- Me.push(l.project(lt([de.lat - rt.lat, de.lng - rt.lng])));
3469
+ var de = at(o[u]);
3470
+ Me.push(l.project(at([de.lat - st.lat, de.lng - st.lng])));
3471
3471
  }
3472
- for (I = S = N = 0, u = 0, g = Yt - 1; u < Yt; g = u++)
3473
- _ = Me[u], x = Me[g], T = _.y * x.x - x.y * _.x, S += (_.x + x.x) * T, N += (_.y + x.y) * T, I += T * 3;
3474
- I === 0 ? K = Me[0] : K = [S / I, N / I];
3472
+ for (I = S = G = 0, u = 0, g = Yt - 1; u < Yt; g = u++)
3473
+ _ = Me[u], x = Me[g], T = _.y * x.x - x.y * _.x, S += (_.x + x.x) * T, G += (_.y + x.y) * T, I += T * 3;
3474
+ I === 0 ? K = Me[0] : K = [S / I, G / I];
3475
3475
  var Nn = l.unproject(Z(K));
3476
- return lt([Nn.lat + rt.lat, Nn.lng + rt.lng]);
3476
+ return at([Nn.lat + st.lat, Nn.lng + st.lng]);
3477
3477
  }
3478
3478
  function Ga(o) {
3479
3479
  for (var l = 0, u = 0, g = 0, _ = 0; _ < o.length; _++) {
3480
- var x = lt(o[_]);
3480
+ var x = at(o[_]);
3481
3481
  l += x.lat, u += x.lng, g++;
3482
3482
  }
3483
- return lt([l / g, u / g]);
3483
+ return at([l / g, u / g]);
3484
3484
  }
3485
3485
  var ap = {
3486
3486
  __proto__: null,
@@ -3521,18 +3521,18 @@ function Sd() {
3521
3521
  }
3522
3522
  var xc;
3523
3523
  function Ac(o, l, u, g, _) {
3524
- var x = g ? xc : cn(o, u), T = cn(l, u), I, S, N;
3524
+ var x = g ? xc : cn(o, u), T = cn(l, u), I, S, G;
3525
3525
  for (xc = T; ; ) {
3526
3526
  if (!(x | T))
3527
3527
  return [o, l];
3528
3528
  if (x & T)
3529
3529
  return !1;
3530
- I = x || T, S = Ss(o, l, I, u, _), N = cn(S, u), I === x ? (o = S, x = N) : (l = S, T = N);
3530
+ I = x || T, S = Ss(o, l, I, u, _), G = cn(S, u), I === x ? (o = S, x = G) : (l = S, T = G);
3531
3531
  }
3532
3532
  }
3533
3533
  function Ss(o, l, u, g, _) {
3534
- var x = l.x - o.x, T = l.y - o.y, I = g.min, S = g.max, N, K;
3535
- return u & 8 ? (N = o.x + x * (S.y - o.y) / T, K = S.y) : u & 4 ? (N = o.x + x * (I.y - o.y) / T, K = I.y) : u & 2 ? (N = S.x, K = o.y + T * (S.x - o.x) / x) : u & 1 && (N = I.x, K = o.y + T * (I.x - o.x) / x), new B(N, K, _);
3534
+ var x = l.x - o.x, T = l.y - o.y, I = g.min, S = g.max, G, K;
3535
+ return u & 8 ? (G = o.x + x * (S.y - o.y) / T, K = S.y) : u & 4 ? (G = o.x + x * (I.y - o.y) / T, K = I.y) : u & 2 ? (G = S.x, K = o.y + T * (S.x - o.x) / x) : u & 1 && (G = I.x, K = o.y + T * (I.x - o.x) / x), new B(G, K, _);
3536
3536
  }
3537
3537
  function cn(o, l) {
3538
3538
  var u = 0;
@@ -3543,8 +3543,8 @@ function Sd() {
3543
3543
  return u * u + g * g;
3544
3544
  }
3545
3545
  function Dr(o, l, u, g) {
3546
- var _ = l.x, x = l.y, T = u.x - _, I = u.y - x, S = T * T + I * I, N;
3547
- return S > 0 && (N = ((o.x - _) * T + (o.y - x) * I) / S, N > 1 ? (_ = u.x, x = u.y) : N > 0 && (_ += T * N, x += I * N)), T = o.x - _, I = o.y - x, g ? T * T + I * I : new B(_, x);
3546
+ var _ = l.x, x = l.y, T = u.x - _, I = u.y - x, S = T * T + I * I, G;
3547
+ return S > 0 && (G = ((o.x - _) * T + (o.y - x) * I) / S, G > 1 ? (_ = u.x, x = u.y) : G > 0 && (_ += T * G, x += I * G)), T = o.x - _, I = o.y - x, g ? T * T + I * I : new B(_, x);
3548
3548
  }
3549
3549
  function Te(o) {
3550
3550
  return !E(o[0]) || typeof o[0][0] != "object" && typeof o[0][0] < "u";
@@ -3553,32 +3553,32 @@ function Sd() {
3553
3553
  return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Te(o);
3554
3554
  }
3555
3555
  function Ec(o, l) {
3556
- var u, g, _, x, T, I, S, N;
3556
+ var u, g, _, x, T, I, S, G;
3557
3557
  if (!o || o.length === 0)
3558
3558
  throw new Error("latlngs not passed");
3559
3559
  Te(o) || (console.warn("latlngs are not flat! Only the first ring will be used"), o = o[0]);
3560
- var K = lt([0, 0]), rt = Q(o), mt = rt.getNorthWest().distanceTo(rt.getSouthWest()) * rt.getNorthEast().distanceTo(rt.getNorthWest());
3560
+ var K = at([0, 0]), st = Q(o), mt = st.getNorthWest().distanceTo(st.getSouthWest()) * st.getNorthEast().distanceTo(st.getNorthWest());
3561
3561
  mt < 1700 && (K = Ga(o));
3562
3562
  var le = o.length, Yt = [];
3563
3563
  for (u = 0; u < le; u++) {
3564
- var Me = lt(o[u]);
3565
- Yt.push(l.project(lt([Me.lat - K.lat, Me.lng - K.lng])));
3564
+ var Me = at(o[u]);
3565
+ Yt.push(l.project(at([Me.lat - K.lat, Me.lng - K.lng])));
3566
3566
  }
3567
3567
  for (u = 0, g = 0; u < le - 1; u++)
3568
3568
  g += Yt[u].distanceTo(Yt[u + 1]) / 2;
3569
3569
  if (g === 0)
3570
- N = Yt[0];
3570
+ G = Yt[0];
3571
3571
  else
3572
3572
  for (u = 0, x = 0; u < le - 1; u++)
3573
3573
  if (T = Yt[u], I = Yt[u + 1], _ = T.distanceTo(I), x += _, x > g) {
3574
- S = (x - g) / _, N = [
3574
+ S = (x - g) / _, G = [
3575
3575
  I.x - S * (I.x - T.x),
3576
3576
  I.y - S * (I.y - T.y)
3577
3577
  ];
3578
3578
  break;
3579
3579
  }
3580
- var de = l.unproject(Z(N));
3581
- return lt([de.lat + K.lat, de.lng + K.lng]);
3580
+ var de = l.unproject(Z(G));
3581
+ return at([de.lat + K.lat, de.lng + K.lng]);
3582
3582
  }
3583
3583
  var dp = {
3584
3584
  __proto__: null,
@@ -3597,21 +3597,21 @@ function Sd() {
3597
3597
  return new B(o.lng, o.lat);
3598
3598
  },
3599
3599
  unproject: function(o) {
3600
- return new tt(o.y, o.x);
3600
+ return new q(o.y, o.x);
3601
3601
  },
3602
- bounds: new it([-180, -90], [180, 90])
3602
+ bounds: new nt([-180, -90], [180, 90])
3603
3603
  }, Ha = {
3604
3604
  R: 6378137,
3605
3605
  R_MINOR: 6356752314245179e-9,
3606
- bounds: new it([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
3606
+ bounds: new nt([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
3607
3607
  project: function(o) {
3608
3608
  var l = Math.PI / 180, u = this.R, g = o.lat * l, _ = this.R_MINOR / u, x = Math.sqrt(1 - _ * _), T = x * Math.sin(g), I = Math.tan(Math.PI / 4 - g / 2) / Math.pow((1 - T) / (1 + T), x / 2);
3609
3609
  return g = -u * Math.log(Math.max(I, 1e-10)), new B(o.lng * l * u, g);
3610
3610
  },
3611
3611
  unproject: function(o) {
3612
- for (var l = 180 / Math.PI, u = this.R, g = this.R_MINOR / u, _ = Math.sqrt(1 - g * g), x = Math.exp(-o.y / u), T = Math.PI / 2 - 2 * Math.atan(x), I = 0, S = 0.1, N; I < 15 && Math.abs(S) > 1e-7; I++)
3613
- N = _ * Math.sin(T), N = Math.pow((1 - N) / (1 + N), _ / 2), S = Math.PI / 2 - 2 * Math.atan(x * N) - T, T += S;
3614
- return new tt(T * l, o.x * l / u);
3612
+ for (var l = 180 / Math.PI, u = this.R, g = this.R_MINOR / u, _ = Math.sqrt(1 - g * g), x = Math.exp(-o.y / u), T = Math.PI / 2 - 2 * Math.atan(x), I = 0, S = 0.1, G; I < 15 && Math.abs(S) > 1e-7; I++)
3613
+ G = _ * Math.sin(T), G = Math.pow((1 - G) / (1 + G), _ / 2), S = Math.PI / 2 - 2 * Math.atan(x * G) - T, T += S;
3614
+ return new q(T * l, o.x * l / u);
3615
3615
  }
3616
3616
  }, fp = {
3617
3617
  __proto__: null,
@@ -3875,7 +3875,7 @@ function Sd() {
3875
3875
  // @method getBounds(): LatLngBounds
3876
3876
  // Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).
3877
3877
  getBounds: function() {
3878
- var o = new dt();
3878
+ var o = new ct();
3879
3879
  for (var l in this._layers) {
3880
3880
  var u = this._layers[l];
3881
3881
  o.extend(u.getBounds ? u.getBounds() : u.getLatLng());
@@ -3884,7 +3884,7 @@ function Sd() {
3884
3884
  }
3885
3885
  }), _p = function(o, l) {
3886
3886
  return new oi(o, l);
3887
- }, On = ot.extend({
3887
+ }, On = rt.extend({
3888
3888
  /* @section
3889
3889
  * @aka Icon options
3890
3890
  *
@@ -3967,7 +3967,7 @@ function Sd() {
3967
3967
  return l = l || document.createElement("img"), l.src = o, l;
3968
3968
  },
3969
3969
  _getIconUrl: function(o) {
3970
- return q.retina && this.options[o + "RetinaUrl"] || this.options[o + "Url"];
3970
+ return $.retina && this.options[o + "RetinaUrl"] || this.options[o + "Url"];
3971
3971
  }
3972
3972
  });
3973
3973
  function yp(o) {
@@ -4031,18 +4031,18 @@ function Sd() {
4031
4031
  T.max._subtract(I).subtract(_)
4032
4032
  );
4033
4033
  if (!S.contains(x)) {
4034
- var N = Z(
4034
+ var G = Z(
4035
4035
  (Math.max(S.max.x, x.x) - S.max.x) / (T.max.x - S.max.x) - (Math.min(S.min.x, x.x) - S.min.x) / (T.min.x - S.min.x),
4036
4036
  (Math.max(S.max.y, x.y) - S.max.y) / (T.max.y - S.max.y) - (Math.min(S.min.y, x.y) - S.min.y) / (T.min.y - S.min.y)
4037
4037
  ).multiplyBy(g);
4038
- u.panBy(N, { animate: !1 }), this._draggable._newPos._add(N), this._draggable._startPos._add(N), Bt(l._icon, this._draggable._newPos), this._onDrag(o), this._panRequest = U(this._adjustPan.bind(this, o));
4038
+ u.panBy(G, { animate: !1 }), this._draggable._newPos._add(G), this._draggable._startPos._add(G), Bt(l._icon, this._draggable._newPos), this._onDrag(o), this._panRequest = N(this._adjustPan.bind(this, o));
4039
4039
  }
4040
4040
  },
4041
4041
  _onDragStart: function() {
4042
4042
  this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");
4043
4043
  },
4044
4044
  _onPreDrag: function(o) {
4045
- this._marker.options.autoPan && (X(this._panRequest), this._panRequest = U(this._adjustPan.bind(this, o)));
4045
+ this._marker.options.autoPan && (X(this._panRequest), this._panRequest = N(this._adjustPan.bind(this, o)));
4046
4046
  },
4047
4047
  _onDrag: function(o) {
4048
4048
  var l = this._marker, u = l._shadow, g = an(l._icon), _ = l._map.layerPointToLatLng(g);
@@ -4120,7 +4120,7 @@ function Sd() {
4120
4120
  * In addition to [shared layer methods](#Layer) like `addTo()` and `remove()` and [popup methods](#Popup) like bindPopup() you can also use the following methods:
4121
4121
  */
4122
4122
  initialize: function(o, l) {
4123
- A(this, l), this._latlng = lt(o);
4123
+ A(this, l), this._latlng = at(o);
4124
4124
  },
4125
4125
  onAdd: function(o) {
4126
4126
  this._zoomAnimated = this._zoomAnimated && o.options.markerZoomAnimation, this._zoomAnimated && o.on("zoomanim", this._animateZoom, this), this._initIcon(), this.update();
@@ -4143,7 +4143,7 @@ function Sd() {
4143
4143
  // Changes the marker position to the given point.
4144
4144
  setLatLng: function(o) {
4145
4145
  var l = this._latlng;
4146
- return this._latlng = lt(o), this.update(), this.fire("move", { oldLatLng: l, latlng: this._latlng });
4146
+ return this._latlng = at(o), this.update(), this.fire("move", { oldLatLng: l, latlng: this._latlng });
4147
4147
  },
4148
4148
  // @method setZIndexOffset(offset: Number): this
4149
4149
  // Changes the [zIndex offset](#marker-zindexoffset) of the marker.
@@ -4175,7 +4175,7 @@ function Sd() {
4175
4175
  u !== this._icon && (this._icon && this._removeIcon(), g = !0, o.title && (u.title = o.title), u.tagName === "IMG" && (u.alt = o.alt || "")), ft(u, l), o.keyboard && (u.tabIndex = "0", u.setAttribute("role", "button")), this._icon = u, o.riseOnHover && this.on({
4176
4176
  mouseover: this._bringToFront,
4177
4177
  mouseout: this._resetZIndex
4178
- }), this.options.autoPanOnFocus && ct(u, "focus", this._panOnFocus, this);
4178
+ }), this.options.autoPanOnFocus && ut(u, "focus", this._panOnFocus, this);
4179
4179
  var _ = o.icon.createShadow(this._shadow), x = !1;
4180
4180
  _ !== this._shadow && (this._removeShadow(), x = !0), _ && (ft(_, l), _.alt = ""), this._shadow = _, o.opacity < 1 && this._updateOpacity(), g && this.getPane().appendChild(this._icon), this._initInteraction(), _ && x && this.getPane(o.shadowPane).appendChild(this._shadow);
4181
4181
  },
@@ -4335,13 +4335,13 @@ function Sd() {
4335
4335
  radius: 10
4336
4336
  },
4337
4337
  initialize: function(o, l) {
4338
- A(this, l), this._latlng = lt(o), this._radius = this.options.radius;
4338
+ A(this, l), this._latlng = at(o), this._radius = this.options.radius;
4339
4339
  },
4340
4340
  // @method setLatLng(latLng: LatLng): this
4341
4341
  // Sets the position of a circle marker to a new location.
4342
4342
  setLatLng: function(o) {
4343
4343
  var l = this._latlng;
4344
- return this._latlng = lt(o), this.redraw(), this.fire("move", { oldLatLng: l, latlng: this._latlng });
4344
+ return this._latlng = at(o), this.redraw(), this.fire("move", { oldLatLng: l, latlng: this._latlng });
4345
4345
  },
4346
4346
  // @method getLatLng(): LatLng
4347
4347
  // Returns the current geographical position of the circle marker
@@ -4367,7 +4367,7 @@ function Sd() {
4367
4367
  },
4368
4368
  _updateBounds: function() {
4369
4369
  var o = this._radius, l = this._radiusY || o, u = this._clickTolerance(), g = [o + u, l + u];
4370
- this._pxBounds = new it(this._point.subtract(g), this._point.add(g));
4370
+ this._pxBounds = new nt(this._point.subtract(g), this._point.add(g));
4371
4371
  },
4372
4372
  _update: function() {
4373
4373
  this._map && this._updatePath();
@@ -4388,7 +4388,7 @@ function Sd() {
4388
4388
  }
4389
4389
  var Wa = ks.extend({
4390
4390
  initialize: function(o, l, u) {
4391
- if (typeof l == "number" && (l = n({}, u, { radius: l })), A(this, l), this._latlng = lt(o), isNaN(this.options.radius))
4391
+ if (typeof l == "number" && (l = n({}, u, { radius: l })), A(this, l), this._latlng = at(o), isNaN(this.options.radius))
4392
4392
  throw new Error("Circle radius cannot be NaN");
4393
4393
  this._mRadius = this.options.radius;
4394
4394
  },
@@ -4406,7 +4406,7 @@ function Sd() {
4406
4406
  // Returns the `LatLngBounds` of the path.
4407
4407
  getBounds: function() {
4408
4408
  var o = [this._radius, this._radiusY || this._radius];
4409
- return new dt(
4409
+ return new ct(
4410
4410
  this._map.layerPointToLatLng(this._point.subtract(o)),
4411
4411
  this._map.layerPointToLatLng(this._point.add(o))
4412
4412
  );
@@ -4415,11 +4415,11 @@ function Sd() {
4415
4415
  _project: function() {
4416
4416
  var o = this._latlng.lng, l = this._latlng.lat, u = this._map, g = u.options.crs;
4417
4417
  if (g.distance === Ht.distance) {
4418
- var _ = Math.PI / 180, x = this._mRadius / Ht.R / _, T = u.project([l + x, o]), I = u.project([l - x, o]), S = T.add(I).divideBy(2), N = u.unproject(S).lat, K = Math.acos((Math.cos(x * _) - Math.sin(l * _) * Math.sin(N * _)) / (Math.cos(l * _) * Math.cos(N * _))) / _;
4419
- (isNaN(K) || K === 0) && (K = x / Math.cos(Math.PI / 180 * l)), this._point = S.subtract(u.getPixelOrigin()), this._radius = isNaN(K) ? 0 : S.x - u.project([N, o - K]).x, this._radiusY = S.y - T.y;
4418
+ var _ = Math.PI / 180, x = this._mRadius / Ht.R / _, T = u.project([l + x, o]), I = u.project([l - x, o]), S = T.add(I).divideBy(2), G = u.unproject(S).lat, K = Math.acos((Math.cos(x * _) - Math.sin(l * _) * Math.sin(G * _)) / (Math.cos(l * _) * Math.cos(G * _))) / _;
4419
+ (isNaN(K) || K === 0) && (K = x / Math.cos(Math.PI / 180 * l)), this._point = S.subtract(u.getPixelOrigin()), this._radius = isNaN(K) ? 0 : S.x - u.project([G, o - K]).x, this._radiusY = S.y - T.y;
4420
4420
  } else {
4421
- var rt = g.unproject(g.project(this._latlng).subtract([this._mRadius, 0]));
4422
- this._point = u.latLngToLayerPoint(this._latlng), this._radius = this._point.x - u.latLngToLayerPoint(rt).x;
4421
+ var st = g.unproject(g.project(this._latlng).subtract([this._mRadius, 0]));
4422
+ this._point = u.latLngToLayerPoint(this._latlng), this._radius = this._point.x - u.latLngToLayerPoint(st).x;
4423
4423
  }
4424
4424
  this._updateBounds();
4425
4425
  }
@@ -4461,10 +4461,10 @@ function Sd() {
4461
4461
  // Returns the point closest to `p` on the Polyline.
4462
4462
  closestLayerPoint: function(o) {
4463
4463
  for (var l = 1 / 0, u = null, g = Dr, _, x, T = 0, I = this._parts.length; T < I; T++)
4464
- for (var S = this._parts[T], N = 1, K = S.length; N < K; N++) {
4465
- _ = S[N - 1], x = S[N];
4466
- var rt = g(o, _, x, !0);
4467
- rt < l && (l = rt, u = g(o, _, x));
4464
+ for (var S = this._parts[T], G = 1, K = S.length; G < K; G++) {
4465
+ _ = S[G - 1], x = S[G];
4466
+ var st = g(o, _, x, !0);
4467
+ st < l && (l = st, u = g(o, _, x));
4468
4468
  }
4469
4469
  return u && (u.distance = Math.sqrt(l)), u;
4470
4470
  },
@@ -4485,10 +4485,10 @@ function Sd() {
4485
4485
  // the polyline in case of a multi-polyline, but can be overridden by passing
4486
4486
  // a specific ring as a LatLng array (that you can earlier access with [`getLatLngs`](#polyline-getlatlngs)).
4487
4487
  addLatLng: function(o, l) {
4488
- return l = l || this._defaultShape(), o = lt(o), l.push(o), this._bounds.extend(o), this.redraw();
4488
+ return l = l || this._defaultShape(), o = at(o), l.push(o), this._bounds.extend(o), this.redraw();
4489
4489
  },
4490
4490
  _setLatLngs: function(o) {
4491
- this._bounds = new dt(), this._latlngs = this._convertLatLngs(o);
4491
+ this._bounds = new ct(), this._latlngs = this._convertLatLngs(o);
4492
4492
  },
4493
4493
  _defaultShape: function() {
4494
4494
  return Te(this._latlngs) ? this._latlngs : this._latlngs[0];
@@ -4496,23 +4496,23 @@ function Sd() {
4496
4496
  // recursively convert latlngs input into actual LatLng instances; calculate bounds along the way
4497
4497
  _convertLatLngs: function(o) {
4498
4498
  for (var l = [], u = Te(o), g = 0, _ = o.length; g < _; g++)
4499
- u ? (l[g] = lt(o[g]), this._bounds.extend(l[g])) : l[g] = this._convertLatLngs(o[g]);
4499
+ u ? (l[g] = at(o[g]), this._bounds.extend(l[g])) : l[g] = this._convertLatLngs(o[g]);
4500
4500
  return l;
4501
4501
  },
4502
4502
  _project: function() {
4503
- var o = new it();
4503
+ var o = new nt();
4504
4504
  this._rings = [], this._projectLatlngs(this._latlngs, this._rings, o), this._bounds.isValid() && o.isValid() && (this._rawPxBounds = o, this._updateBounds());
4505
4505
  },
4506
4506
  _updateBounds: function() {
4507
4507
  var o = this._clickTolerance(), l = new B(o, o);
4508
- this._rawPxBounds && (this._pxBounds = new it([
4508
+ this._rawPxBounds && (this._pxBounds = new nt([
4509
4509
  this._rawPxBounds.min.subtract(l),
4510
4510
  this._rawPxBounds.max.add(l)
4511
4511
  ]));
4512
4512
  },
4513
4513
  // recursively turns latlngs into a set of rings with projected coordinates
4514
4514
  _projectLatlngs: function(o, l, u) {
4515
- var g = o[0] instanceof tt, _ = o.length, x, T;
4515
+ var g = o[0] instanceof q, _ = o.length, x, T;
4516
4516
  if (g) {
4517
4517
  for (T = [], x = 0; x < _; x++)
4518
4518
  T[x] = this._map.latLngToLayerPoint(o[x]), u.extend(T[x]);
@@ -4578,7 +4578,7 @@ function Sd() {
4578
4578
  },
4579
4579
  _convertLatLngs: function(o) {
4580
4580
  var l = ai.prototype._convertLatLngs.call(this, o), u = l.length;
4581
- return u >= 2 && l[0] instanceof tt && l[0].equals(l[u - 1]) && l.pop(), l;
4581
+ return u >= 2 && l[0] instanceof q && l[0].equals(l[u - 1]) && l.pop(), l;
4582
4582
  },
4583
4583
  _setLatLngs: function(o) {
4584
4584
  ai.prototype._setLatLngs.call(this, o), Te(this._latlngs) && (this._latlngs = [this._latlngs]);
@@ -4588,7 +4588,7 @@ function Sd() {
4588
4588
  },
4589
4589
  _clipPoints: function() {
4590
4590
  var o = this._renderer._bounds, l = this.options.weight, u = new B(l, l);
4591
- if (o = new it(o.min.subtract(u), o.max.add(u)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(o))) {
4591
+ if (o = new nt(o.min.subtract(u), o.max.add(u)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(o))) {
4592
4592
  if (this.options.noClip) {
4593
4593
  this._parts = this._rings;
4594
4594
  return;
@@ -4602,11 +4602,11 @@ function Sd() {
4602
4602
  },
4603
4603
  // Needed by the `Canvas` renderer for interactivity
4604
4604
  _containsPoint: function(o) {
4605
- var l = !1, u, g, _, x, T, I, S, N;
4605
+ var l = !1, u, g, _, x, T, I, S, G;
4606
4606
  if (!this._pxBounds || !this._pxBounds.contains(o))
4607
4607
  return !1;
4608
4608
  for (x = 0, S = this._parts.length; x < S; x++)
4609
- for (u = this._parts[x], T = 0, N = u.length, I = N - 1; T < N; I = T++)
4609
+ for (u = this._parts[x], T = 0, G = u.length, I = G - 1; T < G; I = T++)
4610
4610
  g = u[T], _ = u[I], g.y > o.y != _.y > o.y && o.x < (_.x - g.x) * (o.y - g.y) / (_.y - g.y) + g.x && (l = !l);
4611
4611
  return l || ai.prototype._containsPoint.call(this, o, !0);
4612
4612
  }
@@ -4700,15 +4700,15 @@ function Sd() {
4700
4700
  }
4701
4701
  });
4702
4702
  function Os(o, l) {
4703
- var u = o.type === "Feature" ? o.geometry : o, g = u ? u.coordinates : null, _ = [], x = l && l.pointToLayer, T = l && l.coordsToLatLng || Ya, I, S, N, K;
4703
+ var u = o.type === "Feature" ? o.geometry : o, g = u ? u.coordinates : null, _ = [], x = l && l.pointToLayer, T = l && l.coordsToLatLng || Ya, I, S, G, K;
4704
4704
  if (!g && !u)
4705
4705
  return null;
4706
4706
  switch (u.type) {
4707
4707
  case "Point":
4708
4708
  return I = T(g), bc(x, o, I, l);
4709
4709
  case "MultiPoint":
4710
- for (N = 0, K = g.length; N < K; N++)
4711
- I = T(g[N]), _.push(bc(x, o, I, l));
4710
+ for (G = 0, K = g.length; G < K; G++)
4711
+ I = T(g[G]), _.push(bc(x, o, I, l));
4712
4712
  return new oi(_);
4713
4713
  case "LineString":
4714
4714
  case "MultiLineString":
@@ -4717,18 +4717,18 @@ function Sd() {
4717
4717
  case "MultiPolygon":
4718
4718
  return S = Fs(g, u.type === "Polygon" ? 1 : 2, T), new Fn(S, l);
4719
4719
  case "GeometryCollection":
4720
- for (N = 0, K = u.geometries.length; N < K; N++) {
4721
- var rt = Os({
4722
- geometry: u.geometries[N],
4720
+ for (G = 0, K = u.geometries.length; G < K; G++) {
4721
+ var st = Os({
4722
+ geometry: u.geometries[G],
4723
4723
  type: "Feature",
4724
4724
  properties: o.properties
4725
4725
  }, l);
4726
- rt && _.push(rt);
4726
+ st && _.push(st);
4727
4727
  }
4728
4728
  return new oi(_);
4729
4729
  case "FeatureCollection":
4730
- for (N = 0, K = u.features.length; N < K; N++) {
4731
- var mt = Os(u.features[N], l);
4730
+ for (G = 0, K = u.features.length; G < K; G++) {
4731
+ var mt = Os(u.features[G], l);
4732
4732
  mt && _.push(mt);
4733
4733
  }
4734
4734
  return new oi(_);
@@ -4740,7 +4740,7 @@ function Sd() {
4740
4740
  return o ? o(l, u) : new Rs(u, g && g.markersInheritOptions && g);
4741
4741
  }
4742
4742
  function Ya(o) {
4743
- return new tt(o[1], o[0], o[2]);
4743
+ return new q(o[1], o[0], o[2]);
4744
4744
  }
4745
4745
  function Fs(o, l, u) {
4746
4746
  for (var g = [], _ = 0, x = o.length, T; _ < x; _++)
@@ -4748,7 +4748,7 @@ function Sd() {
4748
4748
  return g;
4749
4749
  }
4750
4750
  function Za(o, l) {
4751
- return o = lt(o), o.alt !== void 0 ? [m(o.lng, l), m(o.lat, l), m(o.alt, l)] : [m(o.lng, l), m(o.lat, l)];
4751
+ return o = at(o), o.alt !== void 0 ? [m(o.lng, l), m(o.lat, l), m(o.alt, l)] : [m(o.lng, l), m(o.lat, l)];
4752
4752
  }
4753
4753
  function zs(o, l, u, g) {
4754
4754
  for (var _ = [], x = 0, T = o.length; x < T; x++)
@@ -4930,7 +4930,7 @@ function Sd() {
4930
4930
  on(this._image, u, l);
4931
4931
  },
4932
4932
  _reset: function() {
4933
- var o = this._image, l = new it(
4933
+ var o = this._image, l = new nt(
4934
4934
  this._map.latLngToLayerPoint(this._bounds.getNorthWest()),
4935
4935
  this._map.latLngToLayerPoint(this._bounds.getSouthEast())
4936
4936
  ), u = l.getSize();
@@ -5031,7 +5031,7 @@ function Sd() {
5031
5031
  content: ""
5032
5032
  },
5033
5033
  initialize: function(o, l) {
5034
- o && (o instanceof tt || E(o)) ? (this._latlng = lt(o), A(this, l)) : (A(this, o), this._source = l), this.options.content && (this._content = this.options.content);
5034
+ o && (o instanceof q || E(o)) ? (this._latlng = at(o), A(this, l)) : (A(this, o), this._source = l), this.options.content && (this._content = this.options.content);
5035
5035
  },
5036
5036
  // @method openOn(map: Map): this
5037
5037
  // Adds the overlay to the map.
@@ -5068,7 +5068,7 @@ function Sd() {
5068
5068
  // @method setLatLng(latlng: LatLng): this
5069
5069
  // Sets the geographical point where the overlay will open.
5070
5070
  setLatLng: function(o) {
5071
- return this._latlng = lt(o), this._map && (this._updatePosition(), this._adjustPan()), this;
5071
+ return this._latlng = at(o), this._map && (this._updatePosition(), this._adjustPan()), this;
5072
5072
  },
5073
5073
  // @method getContent: String|HTMLElement
5074
5074
  // Returns the content of the overlay.
@@ -5258,9 +5258,9 @@ function Sd() {
5258
5258
  "div",
5259
5259
  o + " " + (this.options.className || "") + " leaflet-zoom-animated"
5260
5260
  ), u = this._wrapper = At("div", o + "-content-wrapper", l);
5261
- if (this._contentNode = At("div", o + "-content", u), Mr(l), Fa(this._contentNode), ct(l, "contextmenu", ln), this._tipContainer = At("div", o + "-tip-container", l), this._tip = At("div", o + "-tip", this._tipContainer), this.options.closeButton) {
5261
+ if (this._contentNode = At("div", o + "-content", u), Mr(l), Fa(this._contentNode), ut(l, "contextmenu", ln), this._tipContainer = At("div", o + "-tip-container", l), this._tip = At("div", o + "-tip", this._tipContainer), this.options.closeButton) {
5262
5262
  var g = this._closeButton = At("a", o + "-close-button", l);
5263
- g.setAttribute("role", "button"), g.setAttribute("aria-label", "Close popup"), g.href = "#close", g.innerHTML = '<span aria-hidden="true">&#215;</span>', ct(g, "click", function(_) {
5263
+ g.setAttribute("role", "button"), g.setAttribute("aria-label", "Close popup"), g.href = "#close", g.innerHTML = '<span aria-hidden="true">&#215;</span>', ut(g, "click", function(_) {
5264
5264
  Jt(_), this.close();
5265
5265
  }, this);
5266
5266
  }
@@ -5285,8 +5285,8 @@ function Sd() {
5285
5285
  }
5286
5286
  var o = this._map, l = parseInt(Cr(this._container, "marginBottom"), 10) || 0, u = this._container.offsetHeight + l, g = this._containerWidth, _ = new B(this._containerLeft, -u - this._containerBottom);
5287
5287
  _._add(an(this._container));
5288
- var x = o.layerPointToContainerPoint(_), T = Z(this.options.autoPanPadding), I = Z(this.options.autoPanPaddingTopLeft || T), S = Z(this.options.autoPanPaddingBottomRight || T), N = o.getSize(), K = 0, rt = 0;
5289
- x.x + g + S.x > N.x && (K = x.x + g - N.x + S.x), x.x - K - I.x < 0 && (K = x.x - I.x), x.y + u + S.y > N.y && (rt = x.y + u - N.y + S.y), x.y - rt - I.y < 0 && (rt = x.y - I.y), (K || rt) && (this.options.keepInView && (this._autopanning = !0), o.fire("autopanstart").panBy([K, rt]));
5288
+ var x = o.layerPointToContainerPoint(_), T = Z(this.options.autoPanPadding), I = Z(this.options.autoPanPaddingTopLeft || T), S = Z(this.options.autoPanPaddingBottomRight || T), G = o.getSize(), K = 0, st = 0;
5289
+ x.x + g + S.x > G.x && (K = x.x + g - G.x + S.x), x.x - K - I.x < 0 && (K = x.x - I.x), x.y + u + S.y > G.y && (st = x.y + u - G.y + S.y), x.y - st - I.y < 0 && (st = x.y - I.y), (K || st) && (this.options.keepInView && (this._autopanning = !0), o.fire("autopanstart").panBy([K, st]));
5290
5290
  }
5291
5291
  },
5292
5292
  _getAnchor: function() {
@@ -5427,8 +5427,8 @@ function Sd() {
5427
5427
  _adjustPan: function() {
5428
5428
  },
5429
5429
  _setPosition: function(o) {
5430
- var l, u, g = this._map, _ = this._container, x = g.latLngToContainerPoint(g.getCenter()), T = g.layerPointToContainerPoint(o), I = this.options.direction, S = _.offsetWidth, N = _.offsetHeight, K = Z(this.options.offset), rt = this._getAnchor();
5431
- I === "top" ? (l = S / 2, u = N) : I === "bottom" ? (l = S / 2, u = 0) : I === "center" ? (l = S / 2, u = N / 2) : I === "right" ? (l = 0, u = N / 2) : I === "left" ? (l = S, u = N / 2) : T.x < x.x ? (I = "right", l = 0, u = N / 2) : (I = "left", l = S + (K.x + rt.x) * 2, u = N / 2), o = o.subtract(Z(l, u, !0)).add(K).add(rt), kt(_, "leaflet-tooltip-right"), kt(_, "leaflet-tooltip-left"), kt(_, "leaflet-tooltip-top"), kt(_, "leaflet-tooltip-bottom"), ft(_, "leaflet-tooltip-" + I), Bt(_, o);
5430
+ var l, u, g = this._map, _ = this._container, x = g.latLngToContainerPoint(g.getCenter()), T = g.layerPointToContainerPoint(o), I = this.options.direction, S = _.offsetWidth, G = _.offsetHeight, K = Z(this.options.offset), st = this._getAnchor();
5431
+ I === "top" ? (l = S / 2, u = G) : I === "bottom" ? (l = S / 2, u = 0) : I === "center" ? (l = S / 2, u = G / 2) : I === "right" ? (l = 0, u = G / 2) : I === "left" ? (l = S, u = G / 2) : T.x < x.x ? (I = "right", l = 0, u = G / 2) : (I = "left", l = S + (K.x + st.x) * 2, u = G / 2), o = o.subtract(Z(l, u, !0)).add(K).add(st), kt(_, "leaflet-tooltip-right"), kt(_, "leaflet-tooltip-left"), kt(_, "leaflet-tooltip-top"), kt(_, "leaflet-tooltip-bottom"), ft(_, "leaflet-tooltip-" + I), Bt(_, o);
5432
5432
  },
5433
5433
  _updatePosition: function() {
5434
5434
  var o = this._map.latLngToLayerPoint(this._latlng);
@@ -5519,9 +5519,9 @@ function Sd() {
5519
5519
  },
5520
5520
  _addFocusListenersOnLayer: function(o) {
5521
5521
  var l = typeof o.getElement == "function" && o.getElement();
5522
- l && (ct(l, "focus", function() {
5522
+ l && (ut(l, "focus", function() {
5523
5523
  this._tooltip._source = o, this.openTooltip();
5524
- }, this), ct(l, "blur", this.closeTooltip, this));
5524
+ }, this), ut(l, "blur", this.closeTooltip, this));
5525
5525
  },
5526
5526
  _setAriaDescribedByOnLayer: function(o) {
5527
5527
  var l = typeof o.getElement == "function" && o.getElement();
@@ -5593,7 +5593,7 @@ function Sd() {
5593
5593
  // `true` by default on mobile browsers, in order to avoid too many requests and keep smooth navigation.
5594
5594
  // `false` otherwise in order to display new tiles _during_ panning, since it is easy to pan outside the
5595
5595
  // [`keepBuffer`](#gridlayer-keepbuffer) option in desktop browsers.
5596
- updateWhenIdle: q.mobile,
5596
+ updateWhenIdle: $.mobile,
5597
5597
  // @option updateWhenZooming: Boolean = true
5598
5598
  // By default, a smooth zoom animation (during a [touch zoom](#map-touchzoom) or a [`flyTo()`](#map-flyto)) will update grid layers every integer zoom level. Setting this option to `false` will update the grid layer only when the smooth animation ends.
5599
5599
  updateWhenZooming: !0,
@@ -5725,7 +5725,7 @@ function Sd() {
5725
5725
  isFinite(u) && (this.options.zIndex = u + o(-1, 1), this._updateZIndex());
5726
5726
  },
5727
5727
  _updateOpacity: function() {
5728
- if (this._map && !q.ielt9) {
5728
+ if (this._map && !$.ielt9) {
5729
5729
  be(this._container, this.options.opacity);
5730
5730
  var o = +/* @__PURE__ */ new Date(), l = !1, u = !1;
5731
5731
  for (var g in this._tiles) {
@@ -5735,7 +5735,7 @@ function Sd() {
5735
5735
  be(_.el, x), x < 1 ? l = !0 : (_.active ? u = !0 : this._onOpaqueTile(_), _.active = !0);
5736
5736
  }
5737
5737
  }
5738
- u && !this._noPrune && this._pruneTiles(), l && (X(this._fadeFrame), this._fadeFrame = U(this._updateOpacity, this));
5738
+ u && !this._noPrune && this._pruneTiles(), l && (X(this._fadeFrame), this._fadeFrame = N(this._updateOpacity, this));
5739
5739
  }
5740
5740
  },
5741
5741
  _onOpaqueTile: p,
@@ -5788,8 +5788,8 @@ function Sd() {
5788
5788
  _retainParent: function(o, l, u, g) {
5789
5789
  var _ = Math.floor(o / 2), x = Math.floor(l / 2), T = u - 1, I = new B(+_, +x);
5790
5790
  I.z = +T;
5791
- var S = this._tileCoordsToKey(I), N = this._tiles[S];
5792
- return N && N.active ? (N.retain = !0, !0) : (N && N.loaded && (N.retain = !0), T > g ? this._retainParent(_, x, T, g) : !1);
5791
+ var S = this._tileCoordsToKey(I), G = this._tiles[S];
5792
+ return G && G.active ? (G.retain = !0, !0) : (G && G.loaded && (G.retain = !0), T > g ? this._retainParent(_, x, T, g) : !1);
5793
5793
  },
5794
5794
  _retainChildren: function(o, l, u, g) {
5795
5795
  for (var _ = 2 * o; _ < 2 * o + 2; _++)
@@ -5828,7 +5828,7 @@ function Sd() {
5828
5828
  },
5829
5829
  _setZoomTransform: function(o, l, u) {
5830
5830
  var g = this._map.getZoomScale(u, o.zoom), _ = o.origin.multiplyBy(g).subtract(this._map._getNewPixelOrigin(l, u)).round();
5831
- q.any3d ? on(o.el, _, g) : Bt(o.el, _);
5831
+ $.any3d ? on(o.el, _, g) : Bt(o.el, _);
5832
5832
  },
5833
5833
  _resetGrid: function() {
5834
5834
  var o = this._map, l = o.options.crs, u = this._tileSize = this.getTileSize(), g = this._tileZoom, _ = this._map.getPixelWorldBounds(this._tileZoom);
@@ -5845,7 +5845,7 @@ function Sd() {
5845
5845
  },
5846
5846
  _getTiledPixelBounds: function(o) {
5847
5847
  var l = this._map, u = l._animatingZoom ? Math.max(l._animateToZoom, l.getZoom()) : l.getZoom(), g = l.getZoomScale(u, this._tileZoom), _ = l.project(o, this._tileZoom).floor(), x = l.getSize().divideBy(g * 2);
5848
- return new it(_.subtract(x), _.add(x));
5848
+ return new nt(_.subtract(x), _.add(x));
5849
5849
  },
5850
5850
  // Private method to load tiles in the grid's active zoom level according to map bounds
5851
5851
  _update: function(o) {
@@ -5853,23 +5853,23 @@ function Sd() {
5853
5853
  if (l) {
5854
5854
  var u = this._clampZoom(l.getZoom());
5855
5855
  if (o === void 0 && (o = l.getCenter()), this._tileZoom !== void 0) {
5856
- var g = this._getTiledPixelBounds(o), _ = this._pxBoundsToTileRange(g), x = _.getCenter(), T = [], I = this.options.keepBuffer, S = new it(
5856
+ var g = this._getTiledPixelBounds(o), _ = this._pxBoundsToTileRange(g), x = _.getCenter(), T = [], I = this.options.keepBuffer, S = new nt(
5857
5857
  _.getBottomLeft().subtract([I, -I]),
5858
5858
  _.getTopRight().add([I, -I])
5859
5859
  );
5860
5860
  if (!(isFinite(_.min.x) && isFinite(_.min.y) && isFinite(_.max.x) && isFinite(_.max.y)))
5861
5861
  throw new Error("Attempted to load an infinite number of tiles");
5862
- for (var N in this._tiles) {
5863
- var K = this._tiles[N].coords;
5864
- (K.z !== this._tileZoom || !S.contains(new B(K.x, K.y))) && (this._tiles[N].current = !1);
5862
+ for (var G in this._tiles) {
5863
+ var K = this._tiles[G].coords;
5864
+ (K.z !== this._tileZoom || !S.contains(new B(K.x, K.y))) && (this._tiles[G].current = !1);
5865
5865
  }
5866
5866
  if (Math.abs(u - this._tileZoom) > 1) {
5867
5867
  this._setView(o, u);
5868
5868
  return;
5869
5869
  }
5870
- for (var rt = _.min.y; rt <= _.max.y; rt++)
5870
+ for (var st = _.min.y; st <= _.max.y; st++)
5871
5871
  for (var mt = _.min.x; mt <= _.max.x; mt++) {
5872
- var le = new B(mt, rt);
5872
+ var le = new B(mt, st);
5873
5873
  if (le.z = this._tileZoom, !!this._isValidTile(le)) {
5874
5874
  var Yt = this._tiles[this._tileCoordsToKey(le)];
5875
5875
  Yt ? Yt.current = !0 : T.push(le);
@@ -5908,7 +5908,7 @@ function Sd() {
5908
5908
  },
5909
5909
  // converts tile coordinates to its geographical bounds
5910
5910
  _tileCoordsToBounds: function(o) {
5911
- var l = this._tileCoordsToNwSe(o), u = new dt(l[0], l[1]);
5911
+ var l = this._tileCoordsToNwSe(o), u = new ct(l[0], l[1]);
5912
5912
  return this.options.noWrap || (u = this._map.wrapLatLngBounds(u)), u;
5913
5913
  },
5914
5914
  // converts tile coordinates to key for the tile cache
@@ -5930,11 +5930,11 @@ function Sd() {
5930
5930
  _initTile: function(o) {
5931
5931
  ft(o, "leaflet-tile");
5932
5932
  var l = this.getTileSize();
5933
- o.style.width = l.x + "px", o.style.height = l.y + "px", o.onselectstart = p, o.onmousemove = p, q.ielt9 && this.options.opacity < 1 && be(o, this.options.opacity);
5933
+ o.style.width = l.x + "px", o.style.height = l.y + "px", o.onselectstart = p, o.onmousemove = p, $.ielt9 && this.options.opacity < 1 && be(o, this.options.opacity);
5934
5934
  },
5935
5935
  _addTile: function(o, l) {
5936
5936
  var u = this._getTilePos(o), g = this._tileCoordsToKey(o), _ = this.createTile(this._wrapCoords(o), a(this._tileReady, this, o));
5937
- this._initTile(_), this.createTile.length < 2 && U(a(this._tileReady, this, o, null, _)), Bt(_, u), this._tiles[g] = {
5937
+ this._initTile(_), this.createTile.length < 2 && N(a(this._tileReady, this, o, null, _)), Bt(_, u), this._tiles[g] = {
5938
5938
  el: _,
5939
5939
  coords: o,
5940
5940
  current: !0
@@ -5950,10 +5950,10 @@ function Sd() {
5950
5950
  coords: o
5951
5951
  });
5952
5952
  var g = this._tileCoordsToKey(o);
5953
- u = this._tiles[g], u && (u.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (be(u.el, 0), X(this._fadeFrame), this._fadeFrame = U(this._updateOpacity, this)) : (u.active = !0, this._pruneTiles()), l || (ft(u.el, "leaflet-tile-loaded"), this.fire("tileload", {
5953
+ u = this._tiles[g], u && (u.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (be(u.el, 0), X(this._fadeFrame), this._fadeFrame = N(this._updateOpacity, this)) : (u.active = !0, this._pruneTiles()), l || (ft(u.el, "leaflet-tile-loaded"), this.fire("tileload", {
5954
5954
  tile: u.el,
5955
5955
  coords: o
5956
- })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), q.ielt9 || !this._map._fadeAnimated ? U(this._pruneTiles, this) : setTimeout(a(this._pruneTiles, this), 250)));
5956
+ })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), $.ielt9 || !this._map._fadeAnimated ? N(this._pruneTiles, this) : setTimeout(a(this._pruneTiles, this), 250)));
5957
5957
  },
5958
5958
  _getTilePos: function(o) {
5959
5959
  return o.scaleBy(this.getTileSize()).subtract(this._level.origin);
@@ -5967,7 +5967,7 @@ function Sd() {
5967
5967
  },
5968
5968
  _pxBoundsToTileRange: function(o) {
5969
5969
  var l = this.getTileSize();
5970
- return new it(
5970
+ return new nt(
5971
5971
  o.min.unscaleBy(l).floor(),
5972
5972
  o.max.unscaleBy(l).ceil().subtract([1, 1])
5973
5973
  );
@@ -6024,7 +6024,7 @@ function Sd() {
6024
6024
  referrerPolicy: !1
6025
6025
  },
6026
6026
  initialize: function(o, l) {
6027
- this._url = o, l = A(this, l), l.detectRetina && q.retina && l.maxZoom > 0 ? (l.tileSize = Math.floor(l.tileSize / 2), l.zoomReverse ? (l.zoomOffset--, l.minZoom = Math.min(l.maxZoom, l.minZoom + 1)) : (l.zoomOffset++, l.maxZoom = Math.max(l.minZoom, l.maxZoom - 1)), l.minZoom = Math.max(0, l.minZoom)) : l.zoomReverse ? l.minZoom = Math.min(l.maxZoom, l.minZoom) : l.maxZoom = Math.max(l.minZoom, l.maxZoom), typeof l.subdomains == "string" && (l.subdomains = l.subdomains.split("")), this.on("tileunload", this._onTileRemove);
6027
+ this._url = o, l = A(this, l), l.detectRetina && $.retina && l.maxZoom > 0 ? (l.tileSize = Math.floor(l.tileSize / 2), l.zoomReverse ? (l.zoomOffset--, l.minZoom = Math.min(l.maxZoom, l.minZoom + 1)) : (l.zoomOffset++, l.maxZoom = Math.max(l.minZoom, l.maxZoom - 1)), l.minZoom = Math.max(0, l.minZoom)) : l.zoomReverse ? l.minZoom = Math.min(l.maxZoom, l.minZoom) : l.maxZoom = Math.max(l.minZoom, l.maxZoom), typeof l.subdomains == "string" && (l.subdomains = l.subdomains.split("")), this.on("tileunload", this._onTileRemove);
6028
6028
  },
6029
6029
  // @method setUrl(url: String, noRedraw?: Boolean): this
6030
6030
  // Updates the layer's URL template and redraws it (unless `noRedraw` is set to `true`).
@@ -6039,7 +6039,7 @@ function Sd() {
6039
6039
  // callback is called when the tile has been loaded.
6040
6040
  createTile: function(o, l) {
6041
6041
  var u = document.createElement("img");
6042
- return ct(u, "load", a(this._tileOnLoad, this, l, u)), ct(u, "error", a(this._tileOnError, this, l, u)), (this.options.crossOrigin || this.options.crossOrigin === "") && (u.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), typeof this.options.referrerPolicy == "string" && (u.referrerPolicy = this.options.referrerPolicy), u.alt = "", u.src = this.getTileUrl(o), u;
6042
+ return ut(u, "load", a(this._tileOnLoad, this, l, u)), ut(u, "error", a(this._tileOnError, this, l, u)), (this.options.crossOrigin || this.options.crossOrigin === "") && (u.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), typeof this.options.referrerPolicy == "string" && (u.referrerPolicy = this.options.referrerPolicy), u.alt = "", u.src = this.getTileUrl(o), u;
6043
6043
  },
6044
6044
  // @section Extension methods
6045
6045
  // @uninheritable
@@ -6049,7 +6049,7 @@ function Sd() {
6049
6049
  // Classes extending `TileLayer` can override this function to provide custom tile URL naming schemes.
6050
6050
  getTileUrl: function(o) {
6051
6051
  var l = {
6052
- r: q.retina ? "@2x" : "",
6052
+ r: $.retina ? "@2x" : "",
6053
6053
  s: this._getSubdomain(o),
6054
6054
  x: o.x,
6055
6055
  y: o.y,
@@ -6062,7 +6062,7 @@ function Sd() {
6062
6062
  return w(this._url, n(l, this.options));
6063
6063
  },
6064
6064
  _tileOnLoad: function(o, l) {
6065
- q.ielt9 ? setTimeout(a(o, this, null, l), 0) : o(null, l);
6065
+ $.ielt9 ? setTimeout(a(o, this, null, l), 0) : o(null, l);
6066
6066
  },
6067
6067
  _tileOnError: function(o, l, u) {
6068
6068
  var g = this.options.errorTileUrl;
@@ -6145,7 +6145,7 @@ function Sd() {
6145
6145
  for (var g in l)
6146
6146
  g in this.options || (u[g] = l[g]);
6147
6147
  l = A(this, l);
6148
- var _ = l.detectRetina && q.retina ? 2 : 1, x = this.getTileSize();
6148
+ var _ = l.detectRetina && $.retina ? 2 : 1, x = this.getTileSize();
6149
6149
  u.width = x.x * _, u.height = x.y * _, this.wmsParams = u;
6150
6150
  },
6151
6151
  onAdd: function(o) {
@@ -6202,7 +6202,7 @@ function Sd() {
6202
6202
  },
6203
6203
  _updateTransform: function(o, l) {
6204
6204
  var u = this._map.getZoomScale(l, this._zoom), g = this._map.getSize().multiplyBy(0.5 + this.options.padding), _ = this._map.project(this._center, l), x = g.multiplyBy(-u).add(_).subtract(this._map._getNewPixelOrigin(o, l));
6205
- q.any3d ? on(this._container, x, u) : Bt(this._container, x);
6205
+ $.any3d ? on(this._container, x, u) : Bt(this._container, x);
6206
6206
  },
6207
6207
  _reset: function() {
6208
6208
  this._update(), this._updateTransform(this._center, this._zoom);
@@ -6219,7 +6219,7 @@ function Sd() {
6219
6219
  },
6220
6220
  _update: function() {
6221
6221
  var o = this.options.padding, l = this._map.getSize(), u = this._map.containerPointToLayerPoint(l.multiplyBy(-o)).round();
6222
- this._bounds = new it(u, u.add(l.multiplyBy(1 + o * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
6222
+ this._bounds = new nt(u, u.add(l.multiplyBy(1 + o * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
6223
6223
  }
6224
6224
  }), Rc = hi.extend({
6225
6225
  // @section
@@ -6241,7 +6241,7 @@ function Sd() {
6241
6241
  },
6242
6242
  _initContainer: function() {
6243
6243
  var o = this._container = document.createElement("canvas");
6244
- ct(o, "mousemove", this._onMouseMove, this), ct(o, "click dblclick mousedown mouseup contextmenu", this._onClick, this), ct(o, "mouseout", this._handleMouseOut, this), o._leaflet_disable_events = !0, this._ctx = o.getContext("2d");
6244
+ ut(o, "mousemove", this._onMouseMove, this), ut(o, "click dblclick mousedown mouseup contextmenu", this._onClick, this), ut(o, "mouseout", this._handleMouseOut, this), o._leaflet_disable_events = !0, this._ctx = o.getContext("2d");
6245
6245
  },
6246
6246
  _destroyContainer: function() {
6247
6247
  X(this._redrawRequest), delete this._ctx, It(this._container), Mt(this._container), delete this._container;
@@ -6258,8 +6258,8 @@ function Sd() {
6258
6258
  _update: function() {
6259
6259
  if (!(this._map._animatingZoom && this._bounds)) {
6260
6260
  hi.prototype._update.call(this);
6261
- var o = this._bounds, l = this._container, u = o.getSize(), g = q.retina ? 2 : 1;
6262
- Bt(l, o.min), l.width = g * u.x, l.height = g * u.y, l.style.width = u.x + "px", l.style.height = u.y + "px", q.retina && this._ctx.scale(2, 2), this._ctx.translate(-o.min.x, -o.min.y), this.fire("update");
6261
+ var o = this._bounds, l = this._container, u = o.getSize(), g = $.retina ? 2 : 1;
6262
+ Bt(l, o.min), l.width = g * u.x, l.height = g * u.y, l.style.width = u.x + "px", l.style.height = u.y + "px", $.retina && this._ctx.scale(2, 2), this._ctx.translate(-o.min.x, -o.min.y), this.fire("update");
6263
6263
  }
6264
6264
  },
6265
6265
  _reset: function() {
@@ -6300,12 +6300,12 @@ function Sd() {
6300
6300
  o.options._dashArray = o.options.dashArray;
6301
6301
  },
6302
6302
  _requestRedraw: function(o) {
6303
- this._map && (this._extendRedrawBounds(o), this._redrawRequest = this._redrawRequest || U(this._redraw, this));
6303
+ this._map && (this._extendRedrawBounds(o), this._redrawRequest = this._redrawRequest || N(this._redraw, this));
6304
6304
  },
6305
6305
  _extendRedrawBounds: function(o) {
6306
6306
  if (o._pxBounds) {
6307
6307
  var l = (o.options.weight || 0) + 1;
6308
- this._redrawBounds = this._redrawBounds || new it(), this._redrawBounds.extend(o._pxBounds.min.subtract([l, l])), this._redrawBounds.extend(o._pxBounds.max.add([l, l]));
6308
+ this._redrawBounds = this._redrawBounds || new nt(), this._redrawBounds.extend(o._pxBounds.min.subtract([l, l])), this._redrawBounds.extend(o._pxBounds.max.add([l, l]));
6309
6309
  }
6310
6310
  },
6311
6311
  _redraw: function() {
@@ -6406,7 +6406,7 @@ function Sd() {
6406
6406
  }
6407
6407
  });
6408
6408
  function kc(o) {
6409
- return q.canvas ? new Rc(o) : null;
6409
+ return $.canvas ? new Rc(o) : null;
6410
6410
  }
6411
6411
  var Rr = function() {
6412
6412
  try {
@@ -6454,7 +6454,7 @@ function Sd() {
6454
6454
  _bringToBack: function(o) {
6455
6455
  Rn(o._container);
6456
6456
  }
6457
- }, js = q.vml ? Rr : Pi, kr = hi.extend({
6457
+ }, js = $.vml ? Rr : Pi, kr = hi.extend({
6458
6458
  _initContainer: function() {
6459
6459
  this._container = js("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = js("g"), this._container.appendChild(this._rootGroup);
6460
6460
  },
@@ -6504,9 +6504,9 @@ function Sd() {
6504
6504
  Rn(o._path);
6505
6505
  }
6506
6506
  });
6507
- q.vml && kr.include(Rp);
6507
+ $.vml && kr.include(Rp);
6508
6508
  function Oc(o) {
6509
- return q.svg || q.vml ? new kr(o) : null;
6509
+ return $.svg || $.vml ? new kr(o) : null;
6510
6510
  }
6511
6511
  vt.include({
6512
6512
  // @namespace Map; @method getRenderer(layer: Path): Renderer
@@ -6559,7 +6559,7 @@ function Sd() {
6559
6559
  this._map = o, this._container = o._container, this._pane = o._panes.overlayPane, this._resetStateTimeout = 0, o.on("unload", this._destroy, this);
6560
6560
  },
6561
6561
  addHooks: function() {
6562
- ct(this._container, "mousedown", this._onMouseDown, this);
6562
+ ut(this._container, "mousedown", this._onMouseDown, this);
6563
6563
  },
6564
6564
  removeHooks: function() {
6565
6565
  Mt(this._container, "mousedown", this._onMouseDown, this);
@@ -6579,7 +6579,7 @@ function Sd() {
6579
6579
  _onMouseDown: function(o) {
6580
6580
  if (!o.shiftKey || o.which !== 1 && o.button !== 1)
6581
6581
  return !1;
6582
- this._clearDeferredResetState(), this._resetState(), Lr(), Ma(), this._startPoint = this._map.mouseEventToContainerPoint(o), ct(document, {
6582
+ this._clearDeferredResetState(), this._resetState(), Lr(), Ma(), this._startPoint = this._map.mouseEventToContainerPoint(o), ut(document, {
6583
6583
  contextmenu: hn,
6584
6584
  mousemove: this._onMouseMove,
6585
6585
  mouseup: this._onMouseUp,
@@ -6588,7 +6588,7 @@ function Sd() {
6588
6588
  },
6589
6589
  _onMouseMove: function(o) {
6590
6590
  this._moved || (this._moved = !0, this._box = At("div", "leaflet-zoom-box", this._container), ft(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(o);
6591
- var l = new it(this._point, this._startPoint), u = l.getSize();
6591
+ var l = new nt(this._point, this._startPoint), u = l.getSize();
6592
6592
  Bt(this._box, l.min), this._box.style.width = u.x + "px", this._box.style.height = u.y + "px";
6593
6593
  },
6594
6594
  _finish: function() {
@@ -6602,7 +6602,7 @@ function Sd() {
6602
6602
  _onMouseUp: function(o) {
6603
6603
  if (!(o.which !== 1 && o.button !== 1) && (this._finish(), !!this._moved)) {
6604
6604
  this._clearDeferredResetState(), this._resetStateTimeout = setTimeout(a(this._resetState, this), 0);
6605
- var l = new dt(
6605
+ var l = new ct(
6606
6606
  this._map.containerPointToLatLng(this._startPoint),
6607
6607
  this._map.containerPointToLatLng(this._point)
6608
6608
  );
@@ -6735,10 +6735,10 @@ function Sd() {
6735
6735
  l.fire("moveend");
6736
6736
  else {
6737
6737
  this._prunePositions(+/* @__PURE__ */ new Date());
6738
- var _ = this._lastPos.subtract(this._positions[0]), x = (this._lastTime - this._times[0]) / 1e3, T = u.easeLinearity, I = _.multiplyBy(T / x), S = I.distanceTo([0, 0]), N = Math.min(u.inertiaMaxSpeed, S), K = I.multiplyBy(N / S), rt = N / (u.inertiaDeceleration * T), mt = K.multiplyBy(-rt / 2).round();
6739
- !mt.x && !mt.y ? l.fire("moveend") : (mt = l._limitOffset(mt, l.options.maxBounds), U(function() {
6738
+ var _ = this._lastPos.subtract(this._positions[0]), x = (this._lastTime - this._times[0]) / 1e3, T = u.easeLinearity, I = _.multiplyBy(T / x), S = I.distanceTo([0, 0]), G = Math.min(u.inertiaMaxSpeed, S), K = I.multiplyBy(G / S), st = G / (u.inertiaDeceleration * T), mt = K.multiplyBy(-st / 2).round();
6739
+ !mt.x && !mt.y ? l.fire("moveend") : (mt = l._limitOffset(mt, l.options.maxBounds), N(function() {
6740
6740
  l.panBy(mt, {
6741
- duration: rt,
6741
+ duration: st,
6742
6742
  easeLinearity: T,
6743
6743
  noMoveStart: !0,
6744
6744
  animate: !0
@@ -6770,7 +6770,7 @@ function Sd() {
6770
6770
  },
6771
6771
  addHooks: function() {
6772
6772
  var o = this._map._container;
6773
- o.tabIndex <= 0 && (o.tabIndex = "0"), ct(o, {
6773
+ o.tabIndex <= 0 && (o.tabIndex = "0"), ut(o, {
6774
6774
  focus: this._onFocus,
6775
6775
  blur: this._onBlur,
6776
6776
  mousedown: this._onMouseDown
@@ -6820,7 +6820,7 @@ function Sd() {
6820
6820
  l[u.zoomOut[g]] = -o;
6821
6821
  },
6822
6822
  _addHooks: function() {
6823
- ct(document, "keydown", this._onKeyDown, this);
6823
+ ut(document, "keydown", this._onKeyDown, this);
6824
6824
  },
6825
6825
  _removeHooks: function() {
6826
6826
  Mt(document, "keydown", this._onKeyDown, this);
@@ -6863,7 +6863,7 @@ function Sd() {
6863
6863
  });
6864
6864
  var Uc = Ze.extend({
6865
6865
  addHooks: function() {
6866
- ct(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
6866
+ ut(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
6867
6867
  },
6868
6868
  removeHooks: function() {
6869
6869
  Mt(this._map._container, "wheel", this._onWheelScroll, this);
@@ -6887,7 +6887,7 @@ function Sd() {
6887
6887
  // @section Touch interaction options
6888
6888
  // @option tapHold: Boolean
6889
6889
  // Enables simulation of `contextmenu` event, default is `true` for mobile Safari.
6890
- tapHold: q.touchNative && q.safari && q.mobile,
6890
+ tapHold: $.touchNative && $.safari && $.mobile,
6891
6891
  // @option tapTolerance: Number = 15
6892
6892
  // The max number of pixels a user can shift his finger during touch
6893
6893
  // for it to be considered a valid tap.
@@ -6895,7 +6895,7 @@ function Sd() {
6895
6895
  });
6896
6896
  var jc = Ze.extend({
6897
6897
  addHooks: function() {
6898
- ct(this._map._container, "touchstart", this._onDown, this);
6898
+ ut(this._map._container, "touchstart", this._onDown, this);
6899
6899
  },
6900
6900
  removeHooks: function() {
6901
6901
  Mt(this._map._container, "touchstart", this._onDown, this);
@@ -6904,8 +6904,8 @@ function Sd() {
6904
6904
  if (clearTimeout(this._holdTimeout), o.touches.length === 1) {
6905
6905
  var l = o.touches[0];
6906
6906
  this._startPos = this._newPos = new B(l.clientX, l.clientY), this._holdTimeout = setTimeout(a(function() {
6907
- this._cancel(), this._isTapValid() && (ct(document, "touchend", Jt), ct(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", l));
6908
- }, this), Op), ct(document, "touchend touchcancel contextmenu", this._cancel, this), ct(document, "touchmove", this._onMove, this);
6907
+ this._cancel(), this._isTapValid() && (ut(document, "touchend", Jt), ut(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", l));
6908
+ }, this), Op), ut(document, "touchend touchcancel contextmenu", this._cancel, this), ut(document, "touchmove", this._onMove, this);
6909
6909
  }
6910
6910
  },
6911
6911
  _cancelClickPrevent: function o() {
@@ -6944,7 +6944,7 @@ function Sd() {
6944
6944
  // passed `'center'`, it will zoom to the center of the view regardless of
6945
6945
  // where the touch events (fingers) were. Enabled for touch-capable web
6946
6946
  // browsers.
6947
- touchZoom: q.touch,
6947
+ touchZoom: $.touch,
6948
6948
  // @option bounceAtZoomLimits: Boolean = true
6949
6949
  // Set it to false if you don't want the map to zoom beyond min/max zoom
6950
6950
  // and then bounce back when pinch-zooming.
@@ -6952,7 +6952,7 @@ function Sd() {
6952
6952
  });
6953
6953
  var Hc = Ze.extend({
6954
6954
  addHooks: function() {
6955
- ft(this._map._container, "leaflet-touch-zoom"), ct(this._map._container, "touchstart", this._onTouchStart, this);
6955
+ ft(this._map._container, "leaflet-touch-zoom"), ut(this._map._container, "touchstart", this._onTouchStart, this);
6956
6956
  },
6957
6957
  removeHooks: function() {
6958
6958
  kt(this._map._container, "leaflet-touch-zoom"), Mt(this._map._container, "touchstart", this._onTouchStart, this);
@@ -6961,7 +6961,7 @@ function Sd() {
6961
6961
  var l = this._map;
6962
6962
  if (!(!o.touches || o.touches.length !== 2 || l._animatingZoom || this._zooming)) {
6963
6963
  var u = l.mouseEventToContainerPoint(o.touches[0]), g = l.mouseEventToContainerPoint(o.touches[1]);
6964
- this._centerPoint = l.getSize()._divideBy(2), this._startLatLng = l.containerPointToLatLng(this._centerPoint), l.options.touchZoom !== "center" && (this._pinchStartLatLng = l.containerPointToLatLng(u.add(g)._divideBy(2))), this._startDist = u.distanceTo(g), this._startZoom = l.getZoom(), this._moved = !1, this._zooming = !0, l._stop(), ct(document, "touchmove", this._onTouchMove, this), ct(document, "touchend touchcancel", this._onTouchEnd, this), Jt(o);
6964
+ this._centerPoint = l.getSize()._divideBy(2), this._startLatLng = l.containerPointToLatLng(this._centerPoint), l.options.touchZoom !== "center" && (this._pinchStartLatLng = l.containerPointToLatLng(u.add(g)._divideBy(2))), this._startDist = u.distanceTo(g), this._startZoom = l.getZoom(), this._moved = !1, this._zooming = !0, l._stop(), ut(document, "touchmove", this._onTouchMove, this), ut(document, "touchend touchcancel", this._onTouchEnd, this), Jt(o);
6965
6965
  }
6966
6966
  },
6967
6967
  _onTouchMove: function(o) {
@@ -6978,7 +6978,7 @@ function Sd() {
6978
6978
  }
6979
6979
  this._moved || (l._moveStart(!0, !1), this._moved = !0), X(this._animRequest);
6980
6980
  var T = a(l._move, l, this._center, this._zoom, { pinch: !0, round: !1 }, void 0);
6981
- this._animRequest = U(T, this, !0), Jt(o);
6981
+ this._animRequest = N(T, this, !0), Jt(o);
6982
6982
  }
6983
6983
  },
6984
6984
  _onTouchEnd: function() {
@@ -6989,7 +6989,7 @@ function Sd() {
6989
6989
  this._zooming = !1, X(this._animRequest), Mt(document, "touchmove", this._onTouchMove, this), Mt(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
6990
6990
  }
6991
6991
  });
6992
- vt.addInitHook("addHandler", "touchZoom", Hc), vt.BoxZoom = zc, vt.DoubleClickZoom = Bc, vt.Drag = Nc, vt.Keyboard = Gc, vt.ScrollWheelZoom = Uc, vt.TapHold = jc, vt.TouchZoom = Hc, e.Bounds = it, e.Browser = q, e.CRS = Dt, e.Canvas = Rc, e.Circle = Wa, e.CircleMarker = ks, e.Class = ot, e.Control = ke, e.DivIcon = Dc, e.DivOverlay = Xe, e.DomEvent = $g, e.DomUtil = qg, e.Draggable = Fi, e.Evented = H, e.FeatureGroup = oi, e.GeoJSON = li, e.GridLayer = Sr, e.Handler = Ze, e.Icon = On, e.ImageOverlay = Ns, e.LatLng = tt, e.LatLngBounds = dt, e.Layer = Oe, e.LayerGroup = kn, e.LineUtil = dp, e.Map = vt, e.Marker = Rs, e.Mixin = op, e.Path = zi, e.Point = B, e.PolyUtil = ap, e.Polygon = Fn, e.Polyline = ai, e.Popup = Gs, e.PosAnimation = dc, e.Projection = fp, e.Rectangle = Fc, e.Renderer = hi, e.SVG = kr, e.SVGOverlay = Pc, e.TileLayer = Bn, e.Tooltip = Us, e.Transformation = Ti, e.Util = $, e.VideoOverlay = Mc, e.bind = a, e.bounds = F, e.canvas = kc, e.circle = Ap, e.circleMarker = xp, e.control = Pr, e.divIcon = Dp, e.extend = n, e.featureGroup = _p, e.geoJSON = Tc, e.geoJson = Cp, e.gridLayer = Ip, e.icon = yp, e.imageOverlay = Lp, e.latLng = lt, e.latLngBounds = Q, e.layerGroup = mp, e.map = tp, e.marker = vp, e.point = Z, e.polygon = Ep, e.polyline = wp, e.popup = Mp, e.rectangle = kp, e.setOptions = A, e.stamp = c, e.svg = Oc, e.svgOverlay = Tp, e.tileLayer = Ic, e.tooltip = Pp, e.transformation = Le, e.version = i, e.videoOverlay = bp;
6992
+ vt.addInitHook("addHandler", "touchZoom", Hc), vt.BoxZoom = zc, vt.DoubleClickZoom = Bc, vt.Drag = Nc, vt.Keyboard = Gc, vt.ScrollWheelZoom = Uc, vt.TapHold = jc, vt.TouchZoom = Hc, e.Bounds = nt, e.Browser = $, e.CRS = Dt, e.Canvas = Rc, e.Circle = Wa, e.CircleMarker = ks, e.Class = rt, e.Control = ke, e.DivIcon = Dc, e.DivOverlay = Xe, e.DomEvent = $g, e.DomUtil = qg, e.Draggable = Fi, e.Evented = H, e.FeatureGroup = oi, e.GeoJSON = li, e.GridLayer = Sr, e.Handler = Ze, e.Icon = On, e.ImageOverlay = Ns, e.LatLng = q, e.LatLngBounds = ct, e.Layer = Oe, e.LayerGroup = kn, e.LineUtil = dp, e.Map = vt, e.Marker = Rs, e.Mixin = op, e.Path = zi, e.Point = B, e.PolyUtil = ap, e.Polygon = Fn, e.Polyline = ai, e.Popup = Gs, e.PosAnimation = dc, e.Projection = fp, e.Rectangle = Fc, e.Renderer = hi, e.SVG = kr, e.SVGOverlay = Pc, e.TileLayer = Bn, e.Tooltip = Us, e.Transformation = Ti, e.Util = J, e.VideoOverlay = Mc, e.bind = a, e.bounds = F, e.canvas = kc, e.circle = Ap, e.circleMarker = xp, e.control = Pr, e.divIcon = Dp, e.extend = n, e.featureGroup = _p, e.geoJSON = Tc, e.geoJson = Cp, e.gridLayer = Ip, e.icon = yp, e.imageOverlay = Lp, e.latLng = at, e.latLngBounds = Q, e.layerGroup = mp, e.map = tp, e.marker = vp, e.point = Z, e.polygon = Ep, e.polyline = wp, e.popup = Mp, e.rectangle = kp, e.setOptions = A, e.stamp = c, e.svg = Oc, e.svgOverlay = Tp, e.tileLayer = Ic, e.tooltip = Pp, e.transformation = Le, e.version = i, e.videoOverlay = bp;
6993
6993
  var Fp = window.L;
6994
6994
  e.noConflict = function() {
6995
6995
  return window.L = Fp, this;
@@ -10155,7 +10155,11 @@ const my = Uo({
10155
10155
  isSatelite: { type: Boolean, required: !1 },
10156
10156
  getCoodMarker: { type: Function, required: !1 },
10157
10157
  getGeoJSON: { type: Function, required: !1 },
10158
- loadPolygon: { type: Boolean, required: !1 }
10158
+ loadPolygon: { type: Boolean, required: !1 },
10159
+ markerCircleSize: { type: Number, required: !1, default: 14 },
10160
+ // px
10161
+ markerSvgSize: { type: Number, required: !1, default: 10 }
10162
+ // px
10159
10163
  },
10160
10164
  data() {
10161
10165
  return {
@@ -10329,7 +10333,7 @@ const my = Uo({
10329
10333
  edit: n
10330
10334
  });
10331
10335
  t.addControl(s), t.on("draw:created", (w) => {
10332
- var P, D, O, R, z, j, U, X, $, ot, W, Y, H, B, et;
10336
+ var P, D, O, R, z, j, N, X, J, rt, W, Y, H, B, et;
10333
10337
  const E = w.layer;
10334
10338
  i.addLayer(E);
10335
10339
  let C = E.toGeoJSON();
@@ -10345,8 +10349,8 @@ const my = Uo({
10345
10349
  style: {
10346
10350
  color: ((O = (D = (P = this.configurationMap) == null ? void 0 : P.createFigures) == null ? void 0 : D.multipoint) == null ? void 0 : O.color) || "green",
10347
10351
  fillColor: ((j = (z = (R = this.configurationMap) == null ? void 0 : R.createFigures) == null ? void 0 : z.multipoint) == null ? void 0 : j.fillColor) || "green",
10348
- fillOpacity: (($ = (X = (U = this.configurationMap) == null ? void 0 : U.createFigures) == null ? void 0 : X.multipoint) == null ? void 0 : $.fillOpacity) || 0.8,
10349
- radius: ((Y = (W = (ot = this.configurationMap) == null ? void 0 : ot.createFigures) == null ? void 0 : W.multipoint) == null ? void 0 : Y.radius) || 6,
10352
+ fillOpacity: ((J = (X = (N = this.configurationMap) == null ? void 0 : N.createFigures) == null ? void 0 : X.multipoint) == null ? void 0 : J.fillOpacity) || 0.8,
10353
+ radius: ((Y = (W = (rt = this.configurationMap) == null ? void 0 : rt.createFigures) == null ? void 0 : W.multipoint) == null ? void 0 : Y.radius) || 6,
10350
10354
  weight: ((et = (B = (H = this.configurationMap) == null ? void 0 : H.createFigures) == null ? void 0 : B.multipoint) == null ? void 0 : et.weight) || 2
10351
10355
  }
10352
10356
  }
@@ -10420,8 +10424,8 @@ const my = Uo({
10420
10424
  pointToLayer: this.getPointToLayer.bind(this),
10421
10425
  onEachFeature: function(z, j) {
10422
10426
  if (i.addLayer(j), z.geometry.type === "Polygon" || z.geometry.type === "MultiPolygon") {
10423
- var U = O.getPolygonTooltipContent(z);
10424
- j.bindPopup(U, {
10427
+ var N = O.getPolygonTooltipContent(z);
10428
+ j.bindPopup(N, {
10425
10429
  maxHeight: 360,
10426
10430
  maxWidth: 320,
10427
10431
  className: "limit-popup"
@@ -10432,19 +10436,22 @@ const my = Uo({
10432
10436
  if (R.geometry.type === "LineString" && Array.isArray(R.geometry.coordinates)) {
10433
10437
  const z = R.geometry.coordinates, j = R.properties && Array.isArray(R.properties.coordProperties) ? R.properties.coordProperties : [];
10434
10438
  if (Array.isArray(j) && j.length)
10435
- for (let U = 0; U < z.length; U++) {
10436
- let X = '<div style="display:flex;align-items:center;justify-content:center;width:14px;height:14px;">', $ = "";
10437
- if (U < z.length - 1 && j[U] && j[U + 1] && j[U].fecha && j[U + 1].fecha && new Date(j[U + 1].fecha) > new Date(j[U].fecha)) {
10438
- const W = (Q) => Q * Math.PI / 180, Y = (Q) => Q * 180 / Math.PI, H = W(z[U][1]), B = W(z[U + 1][1]), et = W(z[U + 1][0] - z[U][0]), Z = Math.sin(et) * Math.cos(B), it = Math.cos(H) * Math.sin(B) - Math.sin(H) * Math.cos(B) * Math.cos(et);
10439
- let F = Math.atan2(Z, it);
10440
- F = Y(F), $ = `<svg width="10" height="10" viewBox="0 0 22 22" style="display:block;transform:rotate(${(F + 360) % 360}deg);"><polygon points="11,3 15,17 11,14 7,17" fill="#fff" stroke="#fff" stroke-width="1.5"/></svg>`;
10439
+ for (let N = 0; N < z.length; N++) {
10440
+ const X = this.markerCircleSize || 14, J = this.markerSvgSize || 10;
10441
+ let rt = `<div style="display:flex;align-items:center;justify-content:center;width:${X}px;height:${X}px;">`, W = "";
10442
+ if (N < z.length - 1 && j[N] && j[N + 1] && j[N].fecha && j[N + 1].fecha && new Date(j[N + 1].fecha) > new Date(j[N].fecha)) {
10443
+ const H = (at) => at * Math.PI / 180, B = (at) => at * 180 / Math.PI, et = H(z[N][1]), Z = H(z[N + 1][1]), nt = H(z[N + 1][0] - z[N][0]), F = Math.sin(nt) * Math.cos(Z), ct = Math.cos(et) * Math.sin(Z) - Math.sin(et) * Math.cos(Z) * Math.cos(nt);
10444
+ let Q = Math.atan2(F, ct);
10445
+ Q = B(Q);
10446
+ const q = (Q + 360) % 360;
10447
+ W = `<svg width="${J}" height="${J}" viewBox="0 0 22 22" style="display:block;transform:rotate(${q}deg);"><polygon points="11,3 15,17 11,14 7,17" fill="#fff" stroke="#fff"/></svg>`;
10441
10448
  }
10442
- X += `<div style="background:#2196F3;border-radius:50%;border:1px solid #fff;box-shadow:0 0 2px #000;padding:1px;width:8px;height:8px;display:flex;align-items:center;justify-content:center;">${$}</div>`, X += "</div>", V.marker([z[U][1], z[U][0]], {
10449
+ rt += `<div style="background:#2196F3;border-radius:50%;border:1px solid #fff;box-shadow:0 0 2px #000;padding:1px;width:${X - 6}px;height:${X - 6}px;display:flex;align-items:center;justify-content:center;">${W}</div>`, rt += "</div>", V.marker([z[N][1], z[N][0]], {
10443
10450
  icon: V.divIcon({
10444
10451
  className: "",
10445
- html: X,
10446
- iconSize: [14, 14],
10447
- iconAnchor: [7, 7]
10452
+ html: rt,
10453
+ iconSize: [X, X],
10454
+ iconAnchor: [X / 2, X / 2]
10448
10455
  }),
10449
10456
  zIndexOffset: -100
10450
10457
  }).addTo(i);
@@ -10479,18 +10486,21 @@ const my = Uo({
10479
10486
  const R = D.geometry.coordinates, z = D.properties && Array.isArray(D.properties.coordProperties) ? D.properties.coordProperties : [];
10480
10487
  if (Array.isArray(z) && z.length)
10481
10488
  for (let j = 0; j < R.length; j++) {
10482
- let U = '<div style="display:flex;align-items:center;justify-content:center;width:14px;height:14px;">', X = "";
10489
+ const N = this.markerCircleSize || 14, X = this.markerSvgSize || 10;
10490
+ let J = `<div style="display:flex;align-items:center;justify-content:center;width:${N}px;height:${N}px;">`, rt = "";
10483
10491
  if (j < R.length - 1 && z[j] && z[j + 1] && z[j].fecha && z[j + 1].fecha && new Date(z[j + 1].fecha) > new Date(z[j].fecha)) {
10484
- const ot = (dt) => dt * Math.PI / 180, W = (dt) => dt * 180 / Math.PI, Y = ot(R[j][1]), H = ot(R[j + 1][1]), B = ot(R[j + 1][0] - R[j][0]), et = Math.sin(B) * Math.cos(H), Z = Math.cos(Y) * Math.sin(H) - Math.sin(Y) * Math.cos(H) * Math.cos(B);
10485
- let it = Math.atan2(et, Z);
10486
- it = W(it), X = `<svg width="10" height="10" viewBox="0 0 22 22" style="display:block;transform:rotate(${(it + 360) % 360}deg);"><polygon points="11,3 15,17 11,14 7,17" fill="#fff" stroke="#fff" stroke-width="1.5"/></svg>`;
10492
+ const Y = (q) => q * Math.PI / 180, H = (q) => q * 180 / Math.PI, B = Y(R[j][1]), et = Y(R[j + 1][1]), Z = Y(R[j + 1][0] - R[j][0]), nt = Math.sin(Z) * Math.cos(et), F = Math.cos(B) * Math.sin(et) - Math.sin(B) * Math.cos(et) * Math.cos(Z);
10493
+ let ct = Math.atan2(nt, F);
10494
+ ct = H(ct);
10495
+ const Q = (ct + 360) % 360;
10496
+ rt = `<svg width="${X}" height="${X}" viewBox="0 0 22 22" style="display:block;transform:rotate(${Q}deg);"><polygon points="11,3 15,17 11,14 7,17" fill="#fff" stroke="#fff"/></svg>`;
10487
10497
  }
10488
- U += `<div style="background:#2196F3;border-radius:50%;border:1px solid #fff;box-shadow:0 0 2px #000;padding:1.5px;width:8px;height:8px;display:flex;align-items:center;justify-content:center;">${X}</div>`, U += "</div>", V.marker([R[j][1], R[j][0]], {
10498
+ J += `<div style="background:#2196F3;border-radius:50%;border:1px solid #fff;box-shadow:0 0 2px #000;padding:1.5px;width:${N - 6}px;height:${N - 6}px;display:flex;align-items:center;justify-content:center;">${rt}</div>`, J += "</div>", V.marker([R[j][1], R[j][0]], {
10489
10499
  icon: V.divIcon({
10490
10500
  className: "",
10491
- html: U,
10492
- iconSize: [14, 14],
10493
- iconAnchor: [7, 7]
10501
+ html: J,
10502
+ iconSize: [N, N],
10503
+ iconAnchor: [N / 2, N / 2]
10494
10504
  })
10495
10505
  }).addTo(i);
10496
10506
  }
@@ -10500,54 +10510,54 @@ const my = Uo({
10500
10510
  const C = () => {
10501
10511
  if (E.clearLayers(), !w.length)
10502
10512
  return;
10503
- const D = (U, X) => t.project([U, X], t.getZoom()), O = Math.max(30, 80 - t.getZoom() * 2), R = w.slice(), z = new Array(R.length).fill(!1), j = [];
10504
- for (let U = 0; U < R.length; U++) {
10505
- if (z[U])
10513
+ const D = (N, X) => t.project([N, X], t.getZoom()), O = Math.max(30, 80 - t.getZoom() * 2), R = w.slice(), z = new Array(R.length).fill(!1), j = [];
10514
+ for (let N = 0; N < R.length; N++) {
10515
+ if (z[N])
10506
10516
  continue;
10507
- const X = R[U], $ = D(X.lat, X.lng), ot = [X];
10508
- z[U] = !0;
10509
- for (let W = U + 1; W < R.length; W++) {
10517
+ const X = R[N], J = D(X.lat, X.lng), rt = [X];
10518
+ z[N] = !0;
10519
+ for (let W = N + 1; W < R.length; W++) {
10510
10520
  if (z[W])
10511
10521
  continue;
10512
10522
  const Y = R[W], H = D(Y.lat, Y.lng);
10513
10523
  Math.sqrt(
10514
- Math.pow($.x - H.x, 2) + Math.pow($.y - H.y, 2)
10515
- ) < O && (ot.push(Y), z[W] = !0);
10524
+ Math.pow(J.x - H.x, 2) + Math.pow(J.y - H.y, 2)
10525
+ ) < O && (rt.push(Y), z[W] = !0);
10516
10526
  }
10517
- j.push(ot);
10527
+ j.push(rt);
10518
10528
  }
10519
- j.forEach((U) => {
10520
- const X = U.reduce((W, Y) => W + Y.lat, 0) / U.length, $ = U.reduce((W, Y) => W + Y.lng, 0) / U.length, ot = (W) => {
10521
- const Y = W == null ? void 0 : W.tipo, H = 50, B = 50, et = 16, Z = 41, it = [
10529
+ j.forEach((N) => {
10530
+ const X = N.reduce((W, Y) => W + Y.lat, 0) / N.length, J = N.reduce((W, Y) => W + Y.lng, 0) / N.length, rt = (W) => {
10531
+ const Y = W == null ? void 0 : W.tipo, H = 50, B = 50, et = 16, Z = 41, nt = [
10522
10532
  Math.round(H / 2 - et),
10523
10533
  Math.round(B / 2 - Z)
10524
10534
  ], F = V.icon({
10525
10535
  iconUrl: Qa,
10526
10536
  iconSize: [H, B],
10527
10537
  iconAnchor: [et, Z],
10528
- popupAnchor: it
10529
- }), dt = V.icon({
10538
+ popupAnchor: nt
10539
+ }), ct = V.icon({
10530
10540
  iconUrl: qa,
10531
10541
  iconSize: [H, B],
10532
10542
  iconAnchor: [et, Z],
10533
- popupAnchor: it
10543
+ popupAnchor: nt
10534
10544
  }), Q = V.icon({
10535
10545
  iconUrl: Ja,
10536
10546
  iconSize: [H, B],
10537
10547
  iconAnchor: [et, Z],
10538
- popupAnchor: it
10548
+ popupAnchor: nt
10539
10549
  });
10540
- return Y === 0 ? F : Y === 1 ? dt : Q;
10550
+ return Y === 0 ? F : Y === 1 ? ct : Q;
10541
10551
  };
10542
- if (U.length === 1) {
10543
- const W = U[0], Y = ot(W.properties || {}), H = V.marker([X, $], { icon: Y, zIndexOffset: 1e3 }), B = W.feature || {}, et = s.getPopupContent(B);
10552
+ if (N.length === 1) {
10553
+ const W = N[0], Y = rt(W.properties || {}), H = V.marker([X, J], { icon: Y, zIndexOffset: 1e3 }), B = W.feature || {}, et = s.getPopupContent(B);
10544
10554
  H.bindPopup(et, {
10545
10555
  maxHeight: 360,
10546
10556
  maxWidth: 320,
10547
10557
  className: "limit-popup"
10548
10558
  }), E.addLayer(H);
10549
10559
  } else {
10550
- const W = U[0], H = `<div style="position:relative;display:inline-block;"><img src="${ot(W.properties || {}).options.iconUrl}" style="width:50px;height:50px;object-fit:cover;"/><div style="position:absolute;right:-2px;top:-2px;background:#2196F3;color:#fff;font-size:11px;font-weight:bold;border-radius:50%;padding:0;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;z-index:3;border:1.5px solid #fff;">${U.length}</div></div>`, B = V.marker([X, $], {
10560
+ const W = N[0], H = `<div style="position:relative;display:inline-block;"><img src="${rt(W.properties || {}).options.iconUrl}" style="width:50px;height:50px;object-fit:cover;"/><div style="position:absolute;right:-2px;top:-2px;background:#2196F3;color:#fff;font-size:11px;font-weight:bold;border-radius:50%;padding:0;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;z-index:3;border:1.5px solid #fff;">${N.length}</div></div>`, B = V.marker([X, J], {
10551
10561
  icon: V.divIcon({
10552
10562
  className: "",
10553
10563
  html: H,
@@ -10557,9 +10567,9 @@ const my = Uo({
10557
10567
  }),
10558
10568
  zIndexOffset: 1e3
10559
10569
  }), et = [];
10560
- U.forEach((it) => {
10561
- const F = it.feature || {}, dt = s.getPopupContent(F) || "";
10562
- et.push(`<div style="padding:6px 0;">${dt}</div>`);
10570
+ N.forEach((nt) => {
10571
+ const F = nt.feature || {}, ct = s.getPopupContent(F) || "";
10572
+ et.push(`<div style="padding:6px 0;">${ct}</div>`);
10563
10573
  });
10564
10574
  const Z = et.join(
10565
10575
  '<hr style="border:none;border-top:1px solid #ddd;margin:6px 0;"/>'
@@ -10601,7 +10611,7 @@ const my = Uo({
10601
10611
  edit: n
10602
10612
  });
10603
10613
  t.addControl(h), t.on("draw:created", (w) => {
10604
- var P, D, O, R, z, j, U, X, $, ot, W, Y, H, B, et;
10614
+ var P, D, O, R, z, j, N, X, J, rt, W, Y, H, B, et;
10605
10615
  const E = w.layer;
10606
10616
  i.addLayer(E);
10607
10617
  let C = E.toGeoJSON();
@@ -10617,8 +10627,8 @@ const my = Uo({
10617
10627
  style: {
10618
10628
  color: ((O = (D = (P = this.configurationMap) == null ? void 0 : P.createFigures) == null ? void 0 : D.multipoint) == null ? void 0 : O.color) || "green",
10619
10629
  fillColor: ((j = (z = (R = this.configurationMap) == null ? void 0 : R.createFigures) == null ? void 0 : z.multipoint) == null ? void 0 : j.fillColor) || "green",
10620
- fillOpacity: (($ = (X = (U = this.configurationMap) == null ? void 0 : U.createFigures) == null ? void 0 : X.multipoint) == null ? void 0 : $.fillOpacity) || 0.8,
10621
- radius: ((Y = (W = (ot = this.configurationMap) == null ? void 0 : ot.createFigures) == null ? void 0 : W.multipoint) == null ? void 0 : Y.radius) || 6,
10630
+ fillOpacity: ((J = (X = (N = this.configurationMap) == null ? void 0 : N.createFigures) == null ? void 0 : X.multipoint) == null ? void 0 : J.fillOpacity) || 0.8,
10631
+ radius: ((Y = (W = (rt = this.configurationMap) == null ? void 0 : rt.createFigures) == null ? void 0 : W.multipoint) == null ? void 0 : Y.radius) || 6,
10622
10632
  weight: ((et = (B = (H = this.configurationMap) == null ? void 0 : H.createFigures) == null ? void 0 : B.multipoint) == null ? void 0 : et.weight) || 2
10623
10633
  }
10624
10634
  }
@@ -11141,7 +11151,7 @@ class Ly extends $o {
11141
11151
  n !== -1 && (this.pendingRemovals_ && t in this.pendingRemovals_ ? (i[n] = hr, ++this.pendingRemovals_[t]) : (i.splice(n, 1), i.length === 0 && delete this.listeners_[t]));
11142
11152
  }
11143
11153
  }
11144
- const ea = Ly, ut = {
11154
+ const ea = Ly, dt = {
11145
11155
  /**
11146
11156
  * Generic change event. Triggered when the revision counter is increased.
11147
11157
  * @event module:ol/events/Event~BaseEvent#change
@@ -11202,7 +11212,7 @@ class ia extends ea {
11202
11212
  * @api
11203
11213
  */
11204
11214
  changed() {
11205
- ++this.revision_, this.dispatchEvent(ut.CHANGE);
11215
+ ++this.revision_, this.dispatchEvent(dt.CHANGE);
11206
11216
  }
11207
11217
  /**
11208
11218
  * Get the version number for this object. Each time the object is modified,
@@ -11289,7 +11299,7 @@ function by(r) {
11289
11299
  );
11290
11300
  }
11291
11301
  const of = ia;
11292
- function at() {
11302
+ function lt() {
11293
11303
  throw new Error("Unimplemented abstract method.");
11294
11304
  }
11295
11305
  let Ty = 0;
@@ -12424,7 +12434,7 @@ class xv extends Ge {
12424
12434
  * @return {!Geometry} Clone.
12425
12435
  */
12426
12436
  clone() {
12427
- return at();
12437
+ return lt();
12428
12438
  }
12429
12439
  /**
12430
12440
  * @abstract
@@ -12435,7 +12445,7 @@ class xv extends Ge {
12435
12445
  * @return {number} Minimum squared distance.
12436
12446
  */
12437
12447
  closestPointXY(t, e, i, n) {
12438
- return at();
12448
+ return lt();
12439
12449
  }
12440
12450
  /**
12441
12451
  * @param {number} x X.
@@ -12474,7 +12484,7 @@ class xv extends Ge {
12474
12484
  * @return {import("../extent.js").Extent} extent Extent.
12475
12485
  */
12476
12486
  computeExtent(t) {
12477
- return at();
12487
+ return lt();
12478
12488
  }
12479
12489
  /**
12480
12490
  * Get the extent of the geometry.
@@ -12498,7 +12508,7 @@ class xv extends Ge {
12498
12508
  * @api
12499
12509
  */
12500
12510
  rotate(t, e) {
12501
- at();
12511
+ lt();
12502
12512
  }
12503
12513
  /**
12504
12514
  * Scale the geometry (with an optional origin). This modifies the geometry
@@ -12511,7 +12521,7 @@ class xv extends Ge {
12511
12521
  * @api
12512
12522
  */
12513
12523
  scale(t, e, i) {
12514
- at();
12524
+ lt();
12515
12525
  }
12516
12526
  /**
12517
12527
  * Create a simplified version of this geometry. For linestrings, this uses
@@ -12534,7 +12544,7 @@ class xv extends Ge {
12534
12544
  * @return {Geometry} Simplified geometry.
12535
12545
  */
12536
12546
  getSimplifiedGeometry(t) {
12537
- return at();
12547
+ return lt();
12538
12548
  }
12539
12549
  /**
12540
12550
  * Get the type of this geometry.
@@ -12542,7 +12552,7 @@ class xv extends Ge {
12542
12552
  * @return {Type} Geometry type.
12543
12553
  */
12544
12554
  getType() {
12545
- return at();
12555
+ return lt();
12546
12556
  }
12547
12557
  /**
12548
12558
  * Apply a transform function to the coordinates of the geometry.
@@ -12554,7 +12564,7 @@ class xv extends Ge {
12554
12564
  * Called with a flat array of geometry coordinates.
12555
12565
  */
12556
12566
  applyTransform(t) {
12557
- at();
12567
+ lt();
12558
12568
  }
12559
12569
  /**
12560
12570
  * Test if the geometry and the passed extent intersect.
@@ -12563,7 +12573,7 @@ class xv extends Ge {
12563
12573
  * @return {boolean} `true` if the geometry and the extent intersect.
12564
12574
  */
12565
12575
  intersectsExtent(t) {
12566
- return at();
12576
+ return lt();
12567
12577
  }
12568
12578
  /**
12569
12579
  * Translate the geometry. This modifies the geometry coordinates in place. If
@@ -12574,7 +12584,7 @@ class xv extends Ge {
12574
12584
  * @api
12575
12585
  */
12576
12586
  translate(t, e) {
12577
- at();
12587
+ lt();
12578
12588
  }
12579
12589
  /**
12580
12590
  * Transform each coordinate of the geometry from one coordinate reference
@@ -12643,7 +12653,7 @@ class bn extends Df {
12643
12653
  * @return {Array<*> | null} Coordinates.
12644
12654
  */
12645
12655
  getCoordinates() {
12646
- return at();
12656
+ return lt();
12647
12657
  }
12648
12658
  /**
12649
12659
  * Return the first coordinate of the geometry.
@@ -12715,7 +12725,7 @@ class bn extends Df {
12715
12725
  * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
12716
12726
  */
12717
12727
  setCoordinates(t, e) {
12718
- at();
12728
+ lt();
12719
12729
  }
12720
12730
  /**
12721
12731
  * @param {import("./Geometry.js").GeometryLayout|undefined} layout Layout.
@@ -15839,7 +15849,7 @@ class Xv extends Ge {
15839
15849
  * @return {Array<import("./Layer.js").default>} Array of layers.
15840
15850
  */
15841
15851
  getLayersArray(t) {
15842
- return at();
15852
+ return lt();
15843
15853
  }
15844
15854
  /**
15845
15855
  * @abstract
@@ -15848,7 +15858,7 @@ class Xv extends Ge {
15848
15858
  * @return {Array<import("./Layer.js").State>} List of layer states.
15849
15859
  */
15850
15860
  getLayerStatesArray(t) {
15851
- return at();
15861
+ return lt();
15852
15862
  }
15853
15863
  /**
15854
15864
  * Return the {@link module:ol/extent~Extent extent} of the layer or `undefined` if it
@@ -15932,7 +15942,7 @@ class Xv extends Ge {
15932
15942
  * @return {import("../source/Source.js").State} Source state.
15933
15943
  */
15934
15944
  getSourceState() {
15935
- return at();
15945
+ return lt();
15936
15946
  }
15937
15947
  /**
15938
15948
  * Return the value of this layer's `visible` property. To find out whether the layer
@@ -16159,7 +16169,7 @@ class Kv extends Wf {
16159
16169
  const t = this.getSource();
16160
16170
  t && (this.sourceChangeKey_ = pt(
16161
16171
  t,
16162
- ut.CHANGE,
16172
+ dt.CHANGE,
16163
16173
  this.handleSourceChange_,
16164
16174
  this
16165
16175
  ), t.getState() === "ready" && (this.sourceReady_ = !0, setTimeout(() => {
@@ -16279,7 +16289,7 @@ class Kv extends Wf {
16279
16289
  ), n.push(s);
16280
16290
  },
16281
16291
  this
16282
- ), this.mapRenderKey_ = pt(this, ut.CHANGE, t.render, t), this.changed());
16292
+ ), this.mapRenderKey_ = pt(this, dt.CHANGE, t.render, t), this.changed());
16283
16293
  }
16284
16294
  /**
16285
16295
  * Set the layer source.
@@ -16341,7 +16351,7 @@ class Vv extends $o {
16341
16351
  * @param {import("../Map.js").FrameState} frameState Frame state.
16342
16352
  */
16343
16353
  dispatchRenderEvent(t, e) {
16344
- at();
16354
+ lt();
16345
16355
  }
16346
16356
  /**
16347
16357
  * @param {import("../Map.js").FrameState} frameState FrameState.
@@ -16396,7 +16406,7 @@ class Vv extends $o {
16396
16406
  if (O.hasRenderer() && Mh(D, f) && h.call(c, O)) {
16397
16407
  const R = O.getRenderer(), z = O.getSource();
16398
16408
  if (R && z) {
16399
- const j = z.getWrapX() ? y : t, U = p.bind(
16409
+ const j = z.getWrapX() ? y : t, N = p.bind(
16400
16410
  null,
16401
16411
  D.managed
16402
16412
  );
@@ -16404,7 +16414,7 @@ class Vv extends $o {
16404
16414
  w,
16405
16415
  e,
16406
16416
  i,
16407
- U,
16417
+ N,
16408
16418
  M
16409
16419
  );
16410
16420
  }
@@ -16454,7 +16464,7 @@ class Vv extends $o {
16454
16464
  * @param {?import("../Map.js").FrameState} frameState Frame state.
16455
16465
  */
16456
16466
  renderFrame(t) {
16457
- at();
16467
+ lt();
16458
16468
  }
16459
16469
  /**
16460
16470
  * @param {import("../Map.js").FrameState} frameState Frame state.
@@ -16840,7 +16850,7 @@ class Ph extends Wf {
16840
16850
  this.handleLayerChange_,
16841
16851
  this
16842
16852
  ),
16843
- pt(t, ut.CHANGE, this.handleLayerChange_, this)
16853
+ pt(t, dt.CHANGE, this.handleLayerChange_, this)
16844
16854
  ];
16845
16855
  t instanceof Ph && e.push(
16846
16856
  pt(t, "addlayer", this.handleLayerGroupAdd_, this),
@@ -17031,13 +17041,13 @@ const Hi = d0, Rt = {
17031
17041
  * @event module:ol/MapBrowserEvent~MapBrowserEvent#click
17032
17042
  * @api
17033
17043
  */
17034
- CLICK: ut.CLICK,
17044
+ CLICK: dt.CLICK,
17035
17045
  /**
17036
17046
  * A true double click, with no dragging.
17037
17047
  * @event module:ol/MapBrowserEvent~MapBrowserEvent#dblclick
17038
17048
  * @api
17039
17049
  */
17040
- DBLCLICK: ut.DBLCLICK,
17050
+ DBLCLICK: dt.DBLCLICK,
17041
17051
  /**
17042
17052
  * Triggered when a pointer is dragged.
17043
17053
  * @event module:ol/MapBrowserEvent~MapBrowserEvent#pointerdrag
@@ -17087,7 +17097,7 @@ class f0 extends ea {
17087
17097
  this.relayMoveEvent_,
17088
17098
  this
17089
17099
  ), this.boundHandleTouchMove_ = this.handleTouchMove_.bind(this), this.element_.addEventListener(
17090
- ut.TOUCHMOVE,
17100
+ dt.TOUCHMOVE,
17091
17101
  this.boundHandleTouchMove_,
17092
17102
  Lf ? { passive: !1 } : !1
17093
17103
  );
@@ -17283,7 +17293,7 @@ class f0 extends ea {
17283
17293
  */
17284
17294
  disposeInternal() {
17285
17295
  this.relayedListenerKey_ && (bt(this.relayedListenerKey_), this.relayedListenerKey_ = null), this.element_.removeEventListener(
17286
- ut.TOUCHMOVE,
17296
+ dt.TOUCHMOVE,
17287
17297
  this.boundHandleTouchMove_
17288
17298
  ), this.pointerdownListenerKey_ && (bt(this.pointerdownListenerKey_), this.pointerdownListenerKey_ = null), this.dragListenerKeys_.forEach(bt), this.dragListenerKeys_.length = 0, this.element_ = null, super.disposeInternal();
17289
17299
  }
@@ -17467,7 +17477,7 @@ class p0 {
17467
17477
  e.length = n, i.length = n, this.heapify_();
17468
17478
  }
17469
17479
  }
17470
- const m0 = p0, nt = {
17480
+ const m0 = p0, it = {
17471
17481
  IDLE: 0,
17472
17482
  LOADING: 1,
17473
17483
  LOADED: 2,
@@ -17510,7 +17520,7 @@ class _0 extends m0 {
17510
17520
  */
17511
17521
  enqueue(t) {
17512
17522
  const e = super.enqueue(t);
17513
- return e && t[0].addEventListener(ut.CHANGE, this.boundHandleTileChange_), e;
17523
+ return e && t[0].addEventListener(dt.CHANGE, this.boundHandleTileChange_), e;
17514
17524
  }
17515
17525
  /**
17516
17526
  * @return {number} Number of tiles loading.
@@ -17527,8 +17537,8 @@ class _0 extends m0 {
17527
17537
  /** @type {import("./Tile.js").default} */
17528
17538
  t.target
17529
17539
  ), i = e.getState();
17530
- if (i === nt.LOADED || i === nt.ERROR || i === nt.EMPTY) {
17531
- i !== nt.ERROR && e.removeEventListener(ut.CHANGE, this.boundHandleTileChange_);
17540
+ if (i === it.LOADED || i === it.ERROR || i === it.EMPTY) {
17541
+ i !== it.ERROR && e.removeEventListener(dt.CHANGE, this.boundHandleTileChange_);
17532
17542
  const n = e.getKey();
17533
17543
  n in this.tilesLoadingKeys_ && (delete this.tilesLoadingKeys_[n], --this.tilesLoading_), this.tileChangeCallback_();
17534
17544
  }
@@ -17541,7 +17551,7 @@ class _0 extends m0 {
17541
17551
  let i = 0, n, s, a;
17542
17552
  for (; this.tilesLoading_ < t && i < e && this.getCount() > 0; )
17543
17553
  s = /** @type {import("./Tile.js").default} */
17544
- this.dequeue()[0], a = s.getKey(), n = s.getState(), n === nt.IDLE && !(a in this.tilesLoadingKeys_) && (this.tilesLoadingKeys_[a] = !0, ++this.tilesLoading_, ++i, s.load());
17554
+ this.dequeue()[0], a = s.getKey(), n = s.getState(), n === it.IDLE && !(a in this.tilesLoadingKeys_) && (this.tilesLoadingKeys_[a] = !0, ++this.tilesLoading_, ++i, s.load());
17545
17555
  }
17546
17556
  }
17547
17557
  const y0 = _0;
@@ -17627,7 +17637,7 @@ class A0 extends _a {
17627
17637
  typeof h == "string" ? (this.label_ = document.createElement("span"), this.label_.textContent = h, this.label_.className = n) : this.label_ = h;
17628
17638
  const c = this.collapsible_ && !this.collapsed_ ? this.collapseLabel_ : this.label_;
17629
17639
  this.toggleButton_ = document.createElement("button"), this.toggleButton_.setAttribute("type", "button"), this.toggleButton_.setAttribute("aria-expanded", String(!this.collapsed_)), this.toggleButton_.title = i, this.toggleButton_.appendChild(c), this.toggleButton_.addEventListener(
17630
- ut.CLICK,
17640
+ dt.CLICK,
17631
17641
  this.handleClick_.bind(this),
17632
17642
  !1
17633
17643
  );
@@ -17741,7 +17751,7 @@ class w0 extends _a {
17741
17751
  this.label_ = null, typeof i == "string" ? (this.label_ = document.createElement("span"), this.label_.className = n, this.label_.textContent = i) : (this.label_ = i, this.label_.classList.add(n));
17742
17752
  const s = t.tipLabel ? t.tipLabel : "Reset rotation", a = document.createElement("button");
17743
17753
  a.className = e + "-reset", a.setAttribute("type", "button"), a.title = s, a.appendChild(this.label_), a.addEventListener(
17744
- ut.CLICK,
17754
+ dt.CLICK,
17745
17755
  this.handleClick_.bind(this),
17746
17756
  !1
17747
17757
  );
@@ -17804,7 +17814,7 @@ class C0 extends _a {
17804
17814
  f.className = n, f.setAttribute("type", "button"), f.title = c, f.appendChild(
17805
17815
  typeof a == "string" ? document.createTextNode(a) : a
17806
17816
  ), f.addEventListener(
17807
- ut.CLICK,
17817
+ dt.CLICK,
17808
17818
  this.handleClick_.bind(this, i),
17809
17819
  !1
17810
17820
  );
@@ -17812,7 +17822,7 @@ class C0 extends _a {
17812
17822
  p.className = s, p.setAttribute("type", "button"), p.title = d, p.appendChild(
17813
17823
  typeof h == "string" ? document.createTextNode(h) : h
17814
17824
  ), p.addEventListener(
17815
- ut.CLICK,
17825
+ dt.CLICK,
17816
17826
  this.handleClick_.bind(this, -i),
17817
17827
  !1
17818
17828
  );
@@ -18485,7 +18495,7 @@ class X0 extends ms {
18485
18495
  */
18486
18496
  handleEvent(t) {
18487
18497
  let e = !1;
18488
- if (t.type == ut.KEYDOWN) {
18498
+ if (t.type == dt.KEYDOWN) {
18489
18499
  const i = (
18490
18500
  /** @type {KeyboardEvent} */
18491
18501
  t.originalEvent
@@ -18520,7 +18530,7 @@ class V0 extends ms {
18520
18530
  */
18521
18531
  handleEvent(t) {
18522
18532
  let e = !1;
18523
- if (t.type == ut.KEYDOWN || t.type == ut.KEYPRESS) {
18533
+ if (t.type == dt.KEYDOWN || t.type == dt.KEYPRESS) {
18524
18534
  const i = (
18525
18535
  /** @type {KeyboardEvent} */
18526
18536
  t.originalEvent
@@ -18622,7 +18632,7 @@ class $0 extends ms {
18622
18632
  * @return {boolean} `false` to stop event propagation.
18623
18633
  */
18624
18634
  handleEvent(t) {
18625
- if (!this.condition_(t) || t.type !== ut.WHEEL)
18635
+ if (!this.condition_(t) || t.type !== dt.WHEEL)
18626
18636
  return !0;
18627
18637
  const i = t.map, n = (
18628
18638
  /** @type {WheelEvent} */
@@ -18630,7 +18640,7 @@ class $0 extends ms {
18630
18640
  );
18631
18641
  n.preventDefault(), this.useAnchor_ && (this.lastAnchor_ = t.coordinate);
18632
18642
  let s;
18633
- if (t.type == ut.WHEEL && (s = n.deltaY, hv && n.deltaMode === WheelEvent.DOM_DELTA_PIXEL && (s /= Ef), n.deltaMode === WheelEvent.DOM_DELTA_LINE && (s *= 40)), s === 0)
18643
+ if (t.type == dt.WHEEL && (s = n.deltaY, hv && n.deltaMode === WheelEvent.DOM_DELTA_PIXEL && (s /= Ef), n.deltaMode === WheelEvent.DOM_DELTA_LINE && (s *= 40)), s === 0)
18634
18644
  return !1;
18635
18645
  this.lastDelta_ = s;
18636
18646
  const a = Date.now();
@@ -19382,7 +19392,7 @@ class ax extends Ge {
19382
19392
  /** @type {PointerEvent} */
19383
19393
  t.originalEvent
19384
19394
  ), i = e.type;
19385
- if (i === Gl.POINTERDOWN || i === ut.WHEEL || i === ut.KEYDOWN) {
19395
+ if (i === Gl.POINTERDOWN || i === dt.WHEEL || i === dt.KEYDOWN) {
19386
19396
  const n = this.getOwnerDocument(), s = this.viewport_.getRootNode ? this.viewport_.getRootNode() : n, a = (
19387
19397
  /** @type {Node} */
19388
19398
  e.target
@@ -19452,10 +19462,10 @@ class ax extends Ge {
19452
19462
  for (let i = 0, n = this.targetChangeHandlerKeys_.length; i < n; ++i)
19453
19463
  bt(this.targetChangeHandlerKeys_[i]);
19454
19464
  this.targetChangeHandlerKeys_ = null, this.viewport_.removeEventListener(
19455
- ut.CONTEXTMENU,
19465
+ dt.CONTEXTMENU,
19456
19466
  this.boundHandleBrowserEvent_
19457
19467
  ), this.viewport_.removeEventListener(
19458
- ut.WHEEL,
19468
+ dt.WHEEL,
19459
19469
  this.boundHandleBrowserEvent_
19460
19470
  ), this.mapBrowserEventHandler_.dispose(), this.mapBrowserEventHandler_ = null, Mo(this.viewport_);
19461
19471
  }
@@ -19478,11 +19488,11 @@ class ax extends Ge {
19478
19488
  this.handleMapBrowserEvent.bind(this)
19479
19489
  );
19480
19490
  this.viewport_.addEventListener(
19481
- ut.CONTEXTMENU,
19491
+ dt.CONTEXTMENU,
19482
19492
  this.boundHandleBrowserEvent_,
19483
19493
  !1
19484
19494
  ), this.viewport_.addEventListener(
19485
- ut.WHEEL,
19495
+ dt.WHEEL,
19486
19496
  this.boundHandleBrowserEvent_,
19487
19497
  Lf ? { passive: !1 } : !1
19488
19498
  );
@@ -19490,13 +19500,13 @@ class ax extends Ge {
19490
19500
  this.targetChangeHandlerKeys_ = [
19491
19501
  pt(
19492
19502
  i,
19493
- ut.KEYDOWN,
19503
+ dt.KEYDOWN,
19494
19504
  this.handleBrowserEvent,
19495
19505
  this
19496
19506
  ),
19497
19507
  pt(
19498
19508
  i,
19499
- ut.KEYPRESS,
19509
+ dt.KEYPRESS,
19500
19510
  this.handleBrowserEvent,
19501
19511
  this
19502
19512
  )
@@ -19531,7 +19541,7 @@ class ax extends Ge {
19531
19541
  this
19532
19542
  ), this.viewChangeListenerKey_ = pt(
19533
19543
  t,
19534
- ut.CHANGE,
19544
+ dt.CHANGE,
19535
19545
  this.handleViewPropertyChanged_,
19536
19546
  this
19537
19547
  ), t.resolveConstraints(0)), this.render();
@@ -19544,7 +19554,7 @@ class ax extends Ge {
19544
19554
  const t = this.getLayerGroup();
19545
19555
  t && (this.handleLayerAdd_(new Wi("addlayer", t)), this.layerGroupPropertyListenerKeys_ = [
19546
19556
  pt(t, lr.PROPERTYCHANGE, this.render, this),
19547
- pt(t, ut.CHANGE, this.render, this),
19557
+ pt(t, dt.CHANGE, this.render, this),
19548
19558
  pt(t, "addlayer", this.handleLayerAdd_, this),
19549
19559
  pt(t, "removelayer", this.handleLayerRemove_, this)
19550
19560
  ]), this.render();
@@ -20188,7 +20198,7 @@ class Sh {
20188
20198
  * @return {Array<number>} Anchor.
20189
20199
  */
20190
20200
  getAnchor() {
20191
- return at();
20201
+ return lt();
20192
20202
  }
20193
20203
  /**
20194
20204
  * Get the image element for the symbolizer.
@@ -20197,14 +20207,14 @@ class Sh {
20197
20207
  * @return {import('../DataTile.js').ImageLike} Image element.
20198
20208
  */
20199
20209
  getImage(t) {
20200
- return at();
20210
+ return lt();
20201
20211
  }
20202
20212
  /**
20203
20213
  * @abstract
20204
20214
  * @return {import('../DataTile.js').ImageLike} Image element.
20205
20215
  */
20206
20216
  getHitDetectionImage() {
20207
- return at();
20217
+ return lt();
20208
20218
  }
20209
20219
  /**
20210
20220
  * Get the image pixel ratio.
@@ -20219,14 +20229,14 @@ class Sh {
20219
20229
  * @return {import("../ImageState.js").default} Image state.
20220
20230
  */
20221
20231
  getImageState() {
20222
- return at();
20232
+ return lt();
20223
20233
  }
20224
20234
  /**
20225
20235
  * @abstract
20226
20236
  * @return {import("../size.js").Size} Image size.
20227
20237
  */
20228
20238
  getImageSize() {
20229
- return at();
20239
+ return lt();
20230
20240
  }
20231
20241
  /**
20232
20242
  * Get the origin of the symbolizer.
@@ -20234,7 +20244,7 @@ class Sh {
20234
20244
  * @return {Array<number>} Origin.
20235
20245
  */
20236
20246
  getOrigin() {
20237
- return at();
20247
+ return lt();
20238
20248
  }
20239
20249
  /**
20240
20250
  * Get the size of the symbolizer (in pixels).
@@ -20242,7 +20252,7 @@ class Sh {
20242
20252
  * @return {import("../size.js").Size} Size.
20243
20253
  */
20244
20254
  getSize() {
20245
- return at();
20255
+ return lt();
20246
20256
  }
20247
20257
  /**
20248
20258
  * Set the displacement.
@@ -20294,21 +20304,21 @@ class Sh {
20294
20304
  * @param {function(import("../events/Event.js").default): void} listener Listener function.
20295
20305
  */
20296
20306
  listenImageChange(t) {
20297
- at();
20307
+ lt();
20298
20308
  }
20299
20309
  /**
20300
20310
  * Load not yet loaded URI.
20301
20311
  * @abstract
20302
20312
  */
20303
20313
  load() {
20304
- at();
20314
+ lt();
20305
20315
  }
20306
20316
  /**
20307
20317
  * @abstract
20308
20318
  * @param {function(import("../events/Event.js").default): void} listener Listener function.
20309
20319
  */
20310
20320
  unlistenImageChange(t) {
20311
- at();
20321
+ lt();
20312
20322
  }
20313
20323
  }
20314
20324
  const sg = Sh;
@@ -21080,7 +21090,7 @@ function vx(r, t, e) {
21080
21090
  );
21081
21091
  let n = !0, s = !1, a = !1;
21082
21092
  const h = [
21083
- xo(i, ut.LOAD, function() {
21093
+ xo(i, dt.LOAD, function() {
21084
21094
  a = !0, s || t();
21085
21095
  })
21086
21096
  ];
@@ -21088,7 +21098,7 @@ function vx(r, t, e) {
21088
21098
  n && t();
21089
21099
  }).catch(function(c) {
21090
21100
  n && (a ? t() : e());
21091
- })) : h.push(xo(i, ut.ERROR, e)), function() {
21101
+ })) : h.push(xo(i, dt.ERROR, e)), function() {
21092
21102
  n = !1, h.forEach(bt);
21093
21103
  };
21094
21104
  }
@@ -21152,7 +21162,7 @@ class wx extends ea {
21152
21162
  * @private
21153
21163
  */
21154
21164
  dispatchChangeEvent_() {
21155
- this.dispatchEvent(ut.CHANGE);
21165
+ this.dispatchEvent(dt.CHANGE);
21156
21166
  }
21157
21167
  /**
21158
21168
  * @private
@@ -21503,7 +21513,7 @@ class zh extends sg {
21503
21513
  * @param {function(import("../events/Event.js").default): void} listener Listener function.
21504
21514
  */
21505
21515
  listenImageChange(t) {
21506
- this.iconImage_.addEventListener(ut.CHANGE, t);
21516
+ this.iconImage_.addEventListener(dt.CHANGE, t);
21507
21517
  }
21508
21518
  /**
21509
21519
  * Load not yet loaded URI.
@@ -21519,7 +21529,7 @@ class zh extends sg {
21519
21529
  * @param {function(import("../events/Event.js").default): void} listener Listener function.
21520
21530
  */
21521
21531
  unlistenImageChange(t) {
21522
- this.iconImage_.removeEventListener(ut.CHANGE, t);
21532
+ this.iconImage_.removeEventListener(dt.CHANGE, t);
21523
21533
  }
21524
21534
  }
21525
21535
  const Bh = zh, Cx = "#333";
@@ -21891,9 +21901,9 @@ class Nh {
21891
21901
  }
21892
21902
  const lg = Nh;
21893
21903
  let _r = 0;
21894
- const yr = 0, Ot = 1 << _r++, J = 1 << _r++, Be = 1 << _r++, ie = 1 << _r++, en = 1 << _r++, fe = Math.pow(2, _r) - 1, hg = {
21904
+ const yr = 0, Ot = 1 << _r++, tt = 1 << _r++, Be = 1 << _r++, ie = 1 << _r++, en = 1 << _r++, fe = Math.pow(2, _r) - 1, hg = {
21895
21905
  [Ot]: "boolean",
21896
- [J]: "number",
21906
+ [tt]: "number",
21897
21907
  [Be]: "string",
21898
21908
  [ie]: "color",
21899
21909
  [en]: "number[]"
@@ -21947,7 +21957,7 @@ function Mx(r) {
21947
21957
  case "color":
21948
21958
  return ie;
21949
21959
  case "number":
21950
- return J;
21960
+ return tt;
21951
21961
  case "boolean":
21952
21962
  return Ot;
21953
21963
  case "number[]":
@@ -21961,7 +21971,7 @@ function Lt(r, t, e) {
21961
21971
  case "boolean":
21962
21972
  return new Xi(Ot, r);
21963
21973
  case "number":
21964
- return new Xi(J, r);
21974
+ return new Xi(tt, r);
21965
21975
  case "string": {
21966
21976
  let n = Be;
21967
21977
  return Yv(r) && (n |= ie), xa(n & e, yr) || (n &= e), new Xi(n, r);
@@ -21979,7 +21989,7 @@ function Lt(r, t, e) {
21979
21989
  let i = en;
21980
21990
  return (r.length === 3 || r.length === 4) && (i |= ie), e && (i &= e), new Xi(i, r);
21981
21991
  }
21982
- const G = {
21992
+ const U = {
21983
21993
  Get: "get",
21984
21994
  Var: "var",
21985
21995
  Concat: "concat",
@@ -22024,7 +22034,7 @@ const G = {
22024
22034
  Band: "band",
22025
22035
  Palette: "palette"
22026
22036
  }, Px = {
22027
- [G.Get]: ht(
22037
+ [U.Get]: ht(
22028
22038
  ([r, t]) => t !== void 0 ? Mx(
22029
22039
  /** @type {string} */
22030
22040
  /** @type {LiteralExpression} */
@@ -22033,154 +22043,154 @@ const G = {
22033
22043
  _t(1, 2),
22034
22044
  Dx
22035
22045
  ),
22036
- [G.Var]: ht(
22046
+ [U.Var]: ht(
22037
22047
  ([r]) => r.type,
22038
22048
  _t(1, 1),
22039
22049
  Ix
22040
22050
  ),
22041
- [G.Id]: ht(J | Be, Nr, Sx),
22042
- [G.Concat]: ht(
22051
+ [U.Id]: ht(tt | Be, Nr, Sx),
22052
+ [U.Concat]: ht(
22043
22053
  Be,
22044
22054
  _t(2, 1 / 0),
22045
22055
  Et(fe)
22046
22056
  ),
22047
- [G.GeometryType]: ht(Be, Nr),
22048
- [G.Resolution]: ht(J, Nr),
22049
- [G.Zoom]: ht(J, Nr),
22050
- [G.Time]: ht(J, Nr),
22051
- [G.Any]: ht(
22057
+ [U.GeometryType]: ht(Be, Nr),
22058
+ [U.Resolution]: ht(tt, Nr),
22059
+ [U.Zoom]: ht(tt, Nr),
22060
+ [U.Time]: ht(tt, Nr),
22061
+ [U.Any]: ht(
22052
22062
  Ot,
22053
22063
  _t(2, 1 / 0),
22054
22064
  Et(Ot)
22055
22065
  ),
22056
- [G.All]: ht(
22066
+ [U.All]: ht(
22057
22067
  Ot,
22058
22068
  _t(2, 1 / 0),
22059
22069
  Et(Ot)
22060
22070
  ),
22061
- [G.Not]: ht(
22071
+ [U.Not]: ht(
22062
22072
  Ot,
22063
22073
  _t(1, 1),
22064
22074
  Et(Ot)
22065
22075
  ),
22066
- [G.Equal]: ht(
22076
+ [U.Equal]: ht(
22067
22077
  Ot,
22068
22078
  _t(2, 2),
22069
22079
  Et(fe),
22070
22080
  fn
22071
22081
  ),
22072
- [G.NotEqual]: ht(
22082
+ [U.NotEqual]: ht(
22073
22083
  Ot,
22074
22084
  _t(2, 2),
22075
22085
  Et(fe),
22076
22086
  fn
22077
22087
  ),
22078
- [G.GreaterThan]: ht(
22088
+ [U.GreaterThan]: ht(
22079
22089
  Ot,
22080
22090
  _t(2, 2),
22081
22091
  Et(fe),
22082
22092
  fn
22083
22093
  ),
22084
- [G.GreaterThanOrEqualTo]: ht(
22094
+ [U.GreaterThanOrEqualTo]: ht(
22085
22095
  Ot,
22086
22096
  _t(2, 2),
22087
22097
  Et(fe),
22088
22098
  fn
22089
22099
  ),
22090
- [G.LessThan]: ht(
22100
+ [U.LessThan]: ht(
22091
22101
  Ot,
22092
22102
  _t(2, 2),
22093
22103
  Et(fe),
22094
22104
  fn
22095
22105
  ),
22096
- [G.LessThanOrEqualTo]: ht(
22106
+ [U.LessThanOrEqualTo]: ht(
22097
22107
  Ot,
22098
22108
  _t(2, 2),
22099
22109
  Et(fe),
22100
22110
  fn
22101
22111
  ),
22102
- [G.Multiply]: ht(
22112
+ [U.Multiply]: ht(
22103
22113
  (r) => {
22104
- let t = J | ie;
22114
+ let t = tt | ie;
22105
22115
  for (let e = 0; e < r.length; e++)
22106
22116
  t &= r[e].type;
22107
22117
  return t;
22108
22118
  },
22109
22119
  _t(2, 1 / 0),
22110
- Et(J | ie),
22120
+ Et(tt | ie),
22111
22121
  fn
22112
22122
  ),
22113
- [G.Divide]: ht(
22114
- J,
22123
+ [U.Divide]: ht(
22124
+ tt,
22115
22125
  _t(2, 2),
22116
- Et(J)
22126
+ Et(tt)
22117
22127
  ),
22118
- [G.Add]: ht(
22119
- J,
22128
+ [U.Add]: ht(
22129
+ tt,
22120
22130
  _t(2, 1 / 0),
22121
- Et(J)
22131
+ Et(tt)
22122
22132
  ),
22123
- [G.Subtract]: ht(
22124
- J,
22133
+ [U.Subtract]: ht(
22134
+ tt,
22125
22135
  _t(2, 2),
22126
- Et(J)
22136
+ Et(tt)
22127
22137
  ),
22128
- [G.Clamp]: ht(
22129
- J,
22138
+ [U.Clamp]: ht(
22139
+ tt,
22130
22140
  _t(3, 3),
22131
- Et(J)
22141
+ Et(tt)
22132
22142
  ),
22133
- [G.Mod]: ht(
22134
- J,
22143
+ [U.Mod]: ht(
22144
+ tt,
22135
22145
  _t(2, 2),
22136
- Et(J)
22146
+ Et(tt)
22137
22147
  ),
22138
- [G.Pow]: ht(
22139
- J,
22148
+ [U.Pow]: ht(
22149
+ tt,
22140
22150
  _t(2, 2),
22141
- Et(J)
22151
+ Et(tt)
22142
22152
  ),
22143
- [G.Abs]: ht(
22144
- J,
22153
+ [U.Abs]: ht(
22154
+ tt,
22145
22155
  _t(1, 1),
22146
- Et(J)
22156
+ Et(tt)
22147
22157
  ),
22148
- [G.Floor]: ht(
22149
- J,
22158
+ [U.Floor]: ht(
22159
+ tt,
22150
22160
  _t(1, 1),
22151
- Et(J)
22161
+ Et(tt)
22152
22162
  ),
22153
- [G.Ceil]: ht(
22154
- J,
22163
+ [U.Ceil]: ht(
22164
+ tt,
22155
22165
  _t(1, 1),
22156
- Et(J)
22166
+ Et(tt)
22157
22167
  ),
22158
- [G.Round]: ht(
22159
- J,
22168
+ [U.Round]: ht(
22169
+ tt,
22160
22170
  _t(1, 1),
22161
- Et(J)
22171
+ Et(tt)
22162
22172
  ),
22163
- [G.Sin]: ht(
22164
- J,
22173
+ [U.Sin]: ht(
22174
+ tt,
22165
22175
  _t(1, 1),
22166
- Et(J)
22176
+ Et(tt)
22167
22177
  ),
22168
- [G.Cos]: ht(
22169
- J,
22178
+ [U.Cos]: ht(
22179
+ tt,
22170
22180
  _t(1, 1),
22171
- Et(J)
22181
+ Et(tt)
22172
22182
  ),
22173
- [G.Atan]: ht(
22174
- J,
22183
+ [U.Atan]: ht(
22184
+ tt,
22175
22185
  _t(1, 2),
22176
- Et(J)
22186
+ Et(tt)
22177
22187
  ),
22178
- [G.Sqrt]: ht(
22179
- J,
22188
+ [U.Sqrt]: ht(
22189
+ tt,
22180
22190
  _t(1, 1),
22181
- Et(J)
22191
+ Et(tt)
22182
22192
  ),
22183
- [G.Match]: ht(
22193
+ [U.Match]: ht(
22184
22194
  (r) => {
22185
22195
  let t = fe;
22186
22196
  for (let e = 2; e < r.length; e += 2)
@@ -22191,14 +22201,14 @@ const G = {
22191
22201
  Yu,
22192
22202
  kx
22193
22203
  ),
22194
- [G.Between]: ht(
22204
+ [U.Between]: ht(
22195
22205
  Ot,
22196
22206
  _t(3, 3),
22197
- Et(J)
22207
+ Et(tt)
22198
22208
  ),
22199
- [G.Interpolate]: ht(
22209
+ [U.Interpolate]: ht(
22200
22210
  (r) => {
22201
- let t = ie | J;
22211
+ let t = ie | tt;
22202
22212
  for (let e = 3; e < r.length; e += 2)
22203
22213
  t &= r[e].type;
22204
22214
  return t;
@@ -22207,7 +22217,7 @@ const G = {
22207
22217
  Yu,
22208
22218
  Ox
22209
22219
  ),
22210
- [G.Case]: ht(
22220
+ [U.Case]: ht(
22211
22221
  (r) => {
22212
22222
  let t = fe;
22213
22223
  for (let e = 1; e < r.length; e += 2)
@@ -22218,33 +22228,33 @@ const G = {
22218
22228
  Rx,
22219
22229
  Fx
22220
22230
  ),
22221
- [G.In]: ht(Ot, _t(2, 2), zx),
22222
- [G.Number]: ht(
22223
- J,
22231
+ [U.In]: ht(Ot, _t(2, 2), zx),
22232
+ [U.Number]: ht(
22233
+ tt,
22224
22234
  _t(1, 1 / 0),
22225
22235
  Et(fe)
22226
22236
  ),
22227
- [G.String]: ht(
22237
+ [U.String]: ht(
22228
22238
  Be,
22229
22239
  _t(1, 1 / 0),
22230
22240
  Et(fe)
22231
22241
  ),
22232
- [G.Array]: ht(
22242
+ [U.Array]: ht(
22233
22243
  (r) => r.length === 3 || r.length === 4 ? en | ie : en,
22234
22244
  _t(1, 1 / 0),
22235
- Et(J)
22245
+ Et(tt)
22236
22246
  ),
22237
- [G.Color]: ht(
22247
+ [U.Color]: ht(
22238
22248
  ie,
22239
22249
  _t(3, 4),
22240
- Et(J)
22250
+ Et(tt)
22241
22251
  ),
22242
- [G.Band]: ht(
22243
- J,
22252
+ [U.Band]: ht(
22253
+ tt,
22244
22254
  _t(1, 3),
22245
- Et(J)
22255
+ Et(tt)
22246
22256
  ),
22247
- [G.Palette]: ht(ie, _t(2, 2), Bx)
22257
+ [U.Palette]: ht(ie, _t(2, 2), Bx)
22248
22258
  };
22249
22259
  function Dx(r, t) {
22250
22260
  const e = Lt(r[1], t);
@@ -22361,7 +22371,7 @@ function kx(r, t, e, i) {
22361
22371
  const m = Lt(r[p + 2], t), y = Lt(r[p + 3], t);
22362
22372
  a &= m.type, c &= y.type, d[p] = m, d[p + 1] = y;
22363
22373
  }
22364
- const f = Be | J | Ot;
22374
+ const f = Be | tt | Ot;
22365
22375
  if (!ei(f, a))
22366
22376
  throw new Error(
22367
22377
  `Expected an input of type ${re(
@@ -22404,24 +22414,24 @@ function Ox(r, t, e, i) {
22404
22414
  );
22405
22415
  s = Lt(s, t);
22406
22416
  let a = Lt(r[2], t);
22407
- if (!ei(J, a.type))
22417
+ if (!ei(tt, a.type))
22408
22418
  throw new Error(
22409
22419
  `Expected an input of type number for the interpolate operation, got ${re(a.type)} instead`
22410
22420
  );
22411
- a = Lt(r[2], t, J);
22421
+ a = Lt(r[2], t, tt);
22412
22422
  const h = new Array(r.length - 3);
22413
22423
  for (let c = 0; c < h.length; c += 2) {
22414
22424
  let d = Lt(r[c + 3], t);
22415
- if (!ei(J, d.type))
22425
+ if (!ei(tt, d.type))
22416
22426
  throw new Error(
22417
22427
  `Expected all stop input values in the interpolate operation to be of type number, got ${re(d.type)} at position ${c + 2} instead`
22418
22428
  );
22419
22429
  let f = Lt(r[c + 4], t);
22420
- if (!ei(J | ie, f.type))
22430
+ if (!ei(tt | ie, f.type))
22421
22431
  throw new Error(
22422
22432
  `Expected all stop output values in the interpolate operation to be a number or color, got ${re(f.type)} at position ${c + 3} instead`
22423
22433
  );
22424
- d = Lt(r[c + 3], t, J), f = Lt(r[c + 4], t, J | ie), h[c] = d, h[c + 1] = f;
22434
+ d = Lt(r[c + 3], t, tt), f = Lt(r[c + 4], t, tt | ie), h[c] = d, h[c + 1] = f;
22425
22435
  }
22426
22436
  return [s, a, ...h];
22427
22437
  }
@@ -22469,7 +22479,7 @@ function zx(r, t) {
22469
22479
  );
22470
22480
  e = e[1];
22471
22481
  }
22472
- let i = Be | J;
22482
+ let i = Be | tt;
22473
22483
  const n = new Array(e.length);
22474
22484
  for (let a = 0; a < n.length; a++) {
22475
22485
  const h = Lt(e[a], t);
@@ -22482,8 +22492,8 @@ function zx(r, t) {
22482
22492
  return [Lt(r[1], t, i), ...n];
22483
22493
  }
22484
22494
  function Bx(r, t) {
22485
- const e = Lt(r[1], t, J);
22486
- if (e.type !== J)
22495
+ const e = Lt(r[1], t, tt);
22496
+ if (e.type !== tt)
22487
22497
  throw new Error(
22488
22498
  `The first argument of palette must be an number, got ${re(
22489
22499
  e.type
@@ -22574,50 +22584,50 @@ function Ei(r, t) {
22574
22584
  }
22575
22585
  const e = r.operator;
22576
22586
  switch (e) {
22577
- case G.Number:
22578
- case G.String:
22587
+ case U.Number:
22588
+ case U.String:
22579
22589
  return Gx(r);
22580
- case G.Get:
22581
- case G.Var:
22590
+ case U.Get:
22591
+ case U.Var:
22582
22592
  return Ux(r);
22583
- case G.Id:
22593
+ case U.Id:
22584
22594
  return (i) => i.featureId;
22585
- case G.Concat: {
22595
+ case U.Concat: {
22586
22596
  const i = r.args.map((n) => Ei(n));
22587
22597
  return (n) => "".concat(...i.map((s) => s(n).toString()));
22588
22598
  }
22589
- case G.Resolution:
22599
+ case U.Resolution:
22590
22600
  return (i) => i.resolution;
22591
- case G.Any:
22592
- case G.All:
22593
- case G.Not:
22601
+ case U.Any:
22602
+ case U.All:
22603
+ case U.Not:
22594
22604
  return Hx(r);
22595
- case G.Equal:
22596
- case G.NotEqual:
22597
- case G.LessThan:
22598
- case G.LessThanOrEqualTo:
22599
- case G.GreaterThan:
22600
- case G.GreaterThanOrEqualTo:
22605
+ case U.Equal:
22606
+ case U.NotEqual:
22607
+ case U.LessThan:
22608
+ case U.LessThanOrEqualTo:
22609
+ case U.GreaterThan:
22610
+ case U.GreaterThanOrEqualTo:
22601
22611
  return jx(r);
22602
- case G.Multiply:
22603
- case G.Divide:
22604
- case G.Add:
22605
- case G.Subtract:
22606
- case G.Clamp:
22607
- case G.Mod:
22608
- case G.Pow:
22609
- case G.Abs:
22610
- case G.Floor:
22611
- case G.Ceil:
22612
- case G.Round:
22613
- case G.Sin:
22614
- case G.Cos:
22615
- case G.Atan:
22616
- case G.Sqrt:
22612
+ case U.Multiply:
22613
+ case U.Divide:
22614
+ case U.Add:
22615
+ case U.Subtract:
22616
+ case U.Clamp:
22617
+ case U.Mod:
22618
+ case U.Pow:
22619
+ case U.Abs:
22620
+ case U.Floor:
22621
+ case U.Ceil:
22622
+ case U.Round:
22623
+ case U.Sin:
22624
+ case U.Cos:
22625
+ case U.Atan:
22626
+ case U.Sqrt:
22617
22627
  return Wx(r);
22618
- case G.Match:
22628
+ case U.Match:
22619
22629
  return Yx(r);
22620
- case G.Interpolate:
22630
+ case U.Interpolate:
22621
22631
  return Zx(r);
22622
22632
  default:
22623
22633
  throw new Error(`Unsupported operator ${e}`);
@@ -22628,8 +22638,8 @@ function Gx(r, t) {
22628
22638
  for (let s = 0; s < i; ++s)
22629
22639
  n[s] = Ei(r.args[s]);
22630
22640
  switch (e) {
22631
- case G.Number:
22632
- case G.String:
22641
+ case U.Number:
22642
+ case U.String:
22633
22643
  return (s) => {
22634
22644
  for (let a = 0; a < i; ++a) {
22635
22645
  const h = n[a](s);
@@ -22649,9 +22659,9 @@ function Ux(r, t) {
22649
22659
  r.args[0].value
22650
22660
  );
22651
22661
  switch (r.operator) {
22652
- case G.Get:
22662
+ case U.Get:
22653
22663
  return (n) => n.properties[i];
22654
- case G.Var:
22664
+ case U.Var:
22655
22665
  return (n) => n.variables[i];
22656
22666
  default:
22657
22667
  throw new Error(`Unsupported accessor operator ${r.operator}`);
@@ -22660,17 +22670,17 @@ function Ux(r, t) {
22660
22670
  function jx(r, t) {
22661
22671
  const e = r.operator, i = Ei(r.args[0]), n = Ei(r.args[1]);
22662
22672
  switch (e) {
22663
- case G.Equal:
22673
+ case U.Equal:
22664
22674
  return (s) => i(s) === n(s);
22665
- case G.NotEqual:
22675
+ case U.NotEqual:
22666
22676
  return (s) => i(s) !== n(s);
22667
- case G.LessThan:
22677
+ case U.LessThan:
22668
22678
  return (s) => i(s) < n(s);
22669
- case G.LessThanOrEqualTo:
22679
+ case U.LessThanOrEqualTo:
22670
22680
  return (s) => i(s) <= n(s);
22671
- case G.GreaterThan:
22681
+ case U.GreaterThan:
22672
22682
  return (s) => i(s) > n(s);
22673
- case G.GreaterThanOrEqualTo:
22683
+ case U.GreaterThanOrEqualTo:
22674
22684
  return (s) => i(s) >= n(s);
22675
22685
  default:
22676
22686
  throw new Error(`Unsupported comparison operator ${e}`);
@@ -22681,21 +22691,21 @@ function Hx(r, t) {
22681
22691
  for (let s = 0; s < i; ++s)
22682
22692
  n[s] = Ei(r.args[s]);
22683
22693
  switch (e) {
22684
- case G.Any:
22694
+ case U.Any:
22685
22695
  return (s) => {
22686
22696
  for (let a = 0; a < i; ++a)
22687
22697
  if (n[a](s))
22688
22698
  return !0;
22689
22699
  return !1;
22690
22700
  };
22691
- case G.All:
22701
+ case U.All:
22692
22702
  return (s) => {
22693
22703
  for (let a = 0; a < i; ++a)
22694
22704
  if (!n[a](s))
22695
22705
  return !1;
22696
22706
  return !0;
22697
22707
  };
22698
- case G.Not:
22708
+ case U.Not:
22699
22709
  return (s) => !n[0](s);
22700
22710
  default:
22701
22711
  throw new Error(`Unsupported logical operator ${e}`);
@@ -22706,25 +22716,25 @@ function Wx(r, t) {
22706
22716
  for (let s = 0; s < i; ++s)
22707
22717
  n[s] = Ei(r.args[s]);
22708
22718
  switch (e) {
22709
- case G.Multiply:
22719
+ case U.Multiply:
22710
22720
  return (s) => {
22711
22721
  let a = 1;
22712
22722
  for (let h = 0; h < i; ++h)
22713
22723
  a *= n[h](s);
22714
22724
  return a;
22715
22725
  };
22716
- case G.Divide:
22726
+ case U.Divide:
22717
22727
  return (s) => n[0](s) / n[1](s);
22718
- case G.Add:
22728
+ case U.Add:
22719
22729
  return (s) => {
22720
22730
  let a = 0;
22721
22731
  for (let h = 0; h < i; ++h)
22722
22732
  a += n[h](s);
22723
22733
  return a;
22724
22734
  };
22725
- case G.Subtract:
22735
+ case U.Subtract:
22726
22736
  return (s) => n[0](s) - n[1](s);
22727
- case G.Clamp:
22737
+ case U.Clamp:
22728
22738
  return (s) => {
22729
22739
  const a = n[0](s), h = n[1](s);
22730
22740
  if (a < h)
@@ -22732,25 +22742,25 @@ function Wx(r, t) {
22732
22742
  const c = n[2](s);
22733
22743
  return a > c ? c : a;
22734
22744
  };
22735
- case G.Mod:
22745
+ case U.Mod:
22736
22746
  return (s) => n[0](s) % n[1](s);
22737
- case G.Pow:
22747
+ case U.Pow:
22738
22748
  return (s) => Math.pow(n[0](s), n[1](s));
22739
- case G.Abs:
22749
+ case U.Abs:
22740
22750
  return (s) => Math.abs(n[0](s));
22741
- case G.Floor:
22751
+ case U.Floor:
22742
22752
  return (s) => Math.floor(n[0](s));
22743
- case G.Ceil:
22753
+ case U.Ceil:
22744
22754
  return (s) => Math.ceil(n[0](s));
22745
- case G.Round:
22755
+ case U.Round:
22746
22756
  return (s) => Math.round(n[0](s));
22747
- case G.Sin:
22757
+ case U.Sin:
22748
22758
  return (s) => Math.sin(n[0](s));
22749
- case G.Cos:
22759
+ case U.Cos:
22750
22760
  return (s) => Math.cos(n[0](s));
22751
- case G.Atan:
22761
+ case U.Atan:
22752
22762
  return i === 2 ? (s) => Math.atan2(n[0](s), n[1](s)) : (s) => Math.atan(n[0](s));
22753
- case G.Sqrt:
22763
+ case U.Sqrt:
22754
22764
  return (s) => Math.sqrt(n[0](s));
22755
22765
  default:
22756
22766
  throw new Error(`Unsupported numeric operator ${e}`);
@@ -23168,7 +23178,7 @@ function eA(r, t) {
23168
23178
  function _e(r, t, e) {
23169
23179
  if (!(t in r))
23170
23180
  return;
23171
- const i = nn(r[t], J, e);
23181
+ const i = nn(r[t], tt, e);
23172
23182
  return function(n) {
23173
23183
  return pg(i(n), t);
23174
23184
  };
@@ -23228,7 +23238,7 @@ function Aa(r, t, e) {
23228
23238
  return null;
23229
23239
  const i = nn(
23230
23240
  r[t],
23231
- en | J,
23241
+ en | tt,
23232
23242
  e
23233
23243
  );
23234
23244
  return function(n) {
@@ -23655,7 +23665,7 @@ class _A extends of {
23655
23665
  * an array of features.
23656
23666
  */
23657
23667
  getFeatures(t) {
23658
- return at();
23668
+ return lt();
23659
23669
  }
23660
23670
  /**
23661
23671
  * @param {import("../pixel.js").Pixel} pixel Pixel.
@@ -23671,7 +23681,7 @@ class _A extends of {
23671
23681
  * @return {boolean} Layer is ready to be rendered.
23672
23682
  */
23673
23683
  prepareFrame(t) {
23674
- return at();
23684
+ return lt();
23675
23685
  }
23676
23686
  /**
23677
23687
  * Render the layer.
@@ -23681,7 +23691,7 @@ class _A extends of {
23681
23691
  * @return {HTMLElement|null} The rendered element.
23682
23692
  */
23683
23693
  renderFrame(t, e) {
23684
- return at();
23694
+ return lt();
23685
23695
  }
23686
23696
  /**
23687
23697
  * @param {Object<number, Object<string, import("../Tile.js").default>>} tiles Lookup of loaded tiles by zoom level.
@@ -23759,7 +23769,7 @@ class _A extends of {
23759
23769
  */
23760
23770
  loadImage(t) {
23761
23771
  let e = t.getState();
23762
- return e != Pt.LOADED && e != Pt.ERROR && t.addEventListener(ut.CHANGE, this.boundHandleImageChange_), e == Pt.IDLE && (t.load(), e = t.getState()), e == Pt.LOADED;
23772
+ return e != Pt.LOADED && e != Pt.ERROR && t.addEventListener(dt.CHANGE, this.boundHandleImageChange_), e == Pt.IDLE && (t.load(), e = t.getState()), e == Pt.LOADED;
23763
23773
  }
23764
23774
  /**
23765
23775
  * @protected
@@ -25091,13 +25101,13 @@ class BA extends ea {
25091
25101
  * @protected
25092
25102
  */
25093
25103
  changed() {
25094
- this.dispatchEvent(ut.CHANGE);
25104
+ this.dispatchEvent(dt.CHANGE);
25095
25105
  }
25096
25106
  /**
25097
25107
  * Called by the tile cache when the tile is removed from the cache due to expiry
25098
25108
  */
25099
25109
  release() {
25100
- this.state === nt.ERROR && this.setState(nt.EMPTY);
25110
+ this.state === it.ERROR && this.setState(it.EMPTY);
25101
25111
  }
25102
25112
  /**
25103
25113
  * @return {string} Key.
@@ -25116,7 +25126,7 @@ class BA extends ea {
25116
25126
  if (!t)
25117
25127
  return this;
25118
25128
  do {
25119
- if (t.getState() == nt.LOADED)
25129
+ if (t.getState() == it.LOADED)
25120
25130
  return this.transition_ = 0, t;
25121
25131
  t = t.interimTile;
25122
25132
  } while (t);
@@ -25132,11 +25142,11 @@ class BA extends ea {
25132
25142
  return;
25133
25143
  let e = this;
25134
25144
  do {
25135
- if (t.getState() == nt.LOADED) {
25145
+ if (t.getState() == it.LOADED) {
25136
25146
  t.interimTile = null;
25137
25147
  break;
25138
25148
  }
25139
- t.getState() == nt.LOADING ? e = t : t.getState() == nt.IDLE ? e.interimTile = t.interimTile : e = t, t = e.interimTile;
25149
+ t.getState() == it.LOADING ? e = t : t.getState() == it.IDLE ? e.interimTile = t.interimTile : e = t, t = e.interimTile;
25140
25150
  } while (t);
25141
25151
  }
25142
25152
  /**
@@ -25162,7 +25172,7 @@ class BA extends ea {
25162
25172
  * @api
25163
25173
  */
25164
25174
  setState(t) {
25165
- if (this.state !== nt.ERROR && this.state > t)
25175
+ if (this.state !== it.ERROR && this.state > t)
25166
25176
  throw new Error("Tile load sequence violation");
25167
25177
  this.state = t, this.changed();
25168
25178
  }
@@ -25174,7 +25184,7 @@ class BA extends ea {
25174
25184
  * @api
25175
25185
  */
25176
25186
  load() {
25177
- at();
25187
+ lt();
25178
25188
  }
25179
25189
  /**
25180
25190
  * Get the alpha value for rendering.
@@ -25502,7 +25512,7 @@ function WA(r, t, e, i, n, s, a, h, c, d, f, p, m) {
25502
25512
  ), p || (b.imageSmoothingEnabled = !1);
25503
25513
  const C = e / i;
25504
25514
  c.forEach(function(P, D, O) {
25505
- const R = P.extent[0] - A[0], z = -(P.extent[3] - A[3]), j = Tt(P.extent), U = we(P.extent);
25515
+ const R = P.extent[0] - A[0], z = -(P.extent[3] - A[3]), j = Tt(P.extent), N = we(P.extent);
25506
25516
  P.image.width > 0 && P.image.height > 0 && b.drawImage(
25507
25517
  P.image,
25508
25518
  d,
@@ -25512,72 +25522,72 @@ function WA(r, t, e, i, n, s, a, h, c, d, f, p, m) {
25512
25522
  R * C,
25513
25523
  z * C,
25514
25524
  j * C,
25515
- U * C
25525
+ N * C
25516
25526
  );
25517
25527
  });
25518
25528
  }
25519
25529
  const M = Ln(a);
25520
25530
  return h.getTriangles().forEach(function(w, E, C) {
25521
25531
  const P = w.source, D = w.target;
25522
- let O = P[0][0], R = P[0][1], z = P[1][0], j = P[1][1], U = P[2][0], X = P[2][1];
25523
- const $ = v((D[0][0] - M[0]) / s), ot = v(
25532
+ let O = P[0][0], R = P[0][1], z = P[1][0], j = P[1][1], N = P[2][0], X = P[2][1];
25533
+ const J = v((D[0][0] - M[0]) / s), rt = v(
25524
25534
  -(D[0][1] - M[1]) / s
25525
25535
  ), W = v((D[1][0] - M[0]) / s), Y = v(
25526
25536
  -(D[1][1] - M[1]) / s
25527
25537
  ), H = v((D[2][0] - M[0]) / s), B = v(
25528
25538
  -(D[2][1] - M[1]) / s
25529
25539
  ), et = O, Z = R;
25530
- O = 0, R = 0, z -= et, j -= Z, U -= et, X -= Z;
25531
- const it = [
25532
- [z, j, 0, 0, W - $],
25533
- [U, X, 0, 0, H - $],
25534
- [0, 0, z, j, Y - ot],
25535
- [0, 0, U, X, B - ot]
25536
- ], F = Zy(it);
25540
+ O = 0, R = 0, z -= et, j -= Z, N -= et, X -= Z;
25541
+ const nt = [
25542
+ [z, j, 0, 0, W - J],
25543
+ [N, X, 0, 0, H - J],
25544
+ [0, 0, z, j, Y - rt],
25545
+ [0, 0, N, X, B - rt]
25546
+ ], F = Zy(nt);
25537
25547
  if (!F)
25538
25548
  return;
25539
25549
  if (y.save(), y.beginPath(), jA() || !p) {
25540
25550
  y.moveTo(W, Y);
25541
- const Q = 4, tt = $ - W, lt = ot - Y;
25551
+ const Q = 4, q = J - W, at = rt - Y;
25542
25552
  for (let Dt = 0; Dt < Q; Dt++)
25543
25553
  y.lineTo(
25544
- W + v((Dt + 1) * tt / Q),
25545
- Y + v(Dt * lt / (Q - 1))
25554
+ W + v((Dt + 1) * q / Q),
25555
+ Y + v(Dt * at / (Q - 1))
25546
25556
  ), Dt != Q - 1 && y.lineTo(
25547
- W + v((Dt + 1) * tt / Q),
25548
- Y + v((Dt + 1) * lt / (Q - 1))
25557
+ W + v((Dt + 1) * q / Q),
25558
+ Y + v((Dt + 1) * at / (Q - 1))
25549
25559
  );
25550
25560
  y.lineTo(H, B);
25551
25561
  } else
25552
- y.moveTo(W, Y), y.lineTo($, ot), y.lineTo(H, B);
25562
+ y.moveTo(W, Y), y.lineTo(J, rt), y.lineTo(H, B);
25553
25563
  y.clip(), y.transform(
25554
25564
  F[0],
25555
25565
  F[2],
25556
25566
  F[1],
25557
25567
  F[3],
25558
- $,
25559
- ot
25568
+ J,
25569
+ rt
25560
25570
  ), y.translate(
25561
25571
  A[0] - et,
25562
25572
  A[3] - Z
25563
25573
  );
25564
- let dt;
25574
+ let ct;
25565
25575
  if (b)
25566
- dt = b.canvas, y.scale(
25576
+ ct = b.canvas, y.scale(
25567
25577
  i / e,
25568
25578
  -i / e
25569
25579
  );
25570
25580
  else {
25571
- const Q = c[0], tt = Q.extent;
25572
- dt = Q.image, y.scale(
25573
- Tt(tt) / dt.width,
25574
- -we(tt) / dt.height
25581
+ const Q = c[0], q = Q.extent;
25582
+ ct = Q.image, y.scale(
25583
+ Tt(q) / ct.width,
25584
+ -we(q) / ct.height
25575
25585
  );
25576
25586
  }
25577
- y.drawImage(dt, 0, 0), y.restore();
25587
+ y.drawImage(ct, 0, 0), y.restore();
25578
25588
  }), b && (pa(b), or.push(b.canvas)), f && (y.save(), y.globalCompositeOperation = "source-over", y.strokeStyle = "black", y.lineWidth = 1, h.getTriangles().forEach(function(w, E, C) {
25579
- const P = w.target, D = (P[0][0] - M[0]) / s, O = -(P[0][1] - M[1]) / s, R = (P[1][0] - M[0]) / s, z = -(P[1][1] - M[1]) / s, j = (P[2][0] - M[0]) / s, U = -(P[2][1] - M[1]) / s;
25580
- y.beginPath(), y.moveTo(R, z), y.lineTo(D, O), y.lineTo(j, U), y.closePath(), y.stroke();
25589
+ const P = w.target, D = (P[0][0] - M[0]) / s, O = -(P[0][1] - M[1]) / s, R = (P[1][0] - M[0]) / s, z = -(P[1][1] - M[1]) / s, j = (P[2][0] - M[0]) / s, N = -(P[2][1] - M[1]) / s;
25590
+ y.beginPath(), y.moveTo(R, z), y.lineTo(D, O), y.lineTo(j, N), y.closePath(), y.stroke();
25581
25591
  }), y.restore()), y.canvas;
25582
25592
  }
25583
25593
  class YA extends xg {
@@ -25597,14 +25607,14 @@ class YA extends xg {
25597
25607
  * @param {import("../Tile.js").Options} [options] Tile options.
25598
25608
  */
25599
25609
  constructor(t, e, i, n, s, a, h, c, d, f, p, m) {
25600
- super(s, nt.IDLE, m), this.renderEdges_ = p !== void 0 ? p : !1, this.pixelRatio_ = h, this.gutter_ = c, this.canvas_ = null, this.sourceTileGrid_ = e, this.targetTileGrid_ = n, this.wrappedTileCoord_ = a || s, this.sourceTiles_ = [], this.sourcesListenerKeys_ = null, this.sourceZ_ = 0;
25610
+ super(s, it.IDLE, m), this.renderEdges_ = p !== void 0 ? p : !1, this.pixelRatio_ = h, this.gutter_ = c, this.canvas_ = null, this.sourceTileGrid_ = e, this.targetTileGrid_ = n, this.wrappedTileCoord_ = a || s, this.sourceTiles_ = [], this.sourcesListenerKeys_ = null, this.sourceZ_ = 0;
25601
25611
  const y = n.getTileCoordExtent(
25602
25612
  this.wrappedTileCoord_
25603
25613
  ), v = this.targetTileGrid_.getExtent();
25604
25614
  let A = this.sourceTileGrid_.getExtent();
25605
25615
  const b = v ? Wr(y, v) : y;
25606
25616
  if (Il(b) === 0) {
25607
- this.state = nt.EMPTY;
25617
+ this.state = it.EMPTY;
25608
25618
  return;
25609
25619
  }
25610
25620
  const M = t.getExtent();
@@ -25618,7 +25628,7 @@ class YA extends xg {
25618
25628
  w
25619
25629
  );
25620
25630
  if (!isFinite(E) || E <= 0) {
25621
- this.state = nt.EMPTY;
25631
+ this.state = it.EMPTY;
25622
25632
  return;
25623
25633
  }
25624
25634
  const C = f !== void 0 ? f : zA;
@@ -25630,7 +25640,7 @@ class YA extends xg {
25630
25640
  E * C,
25631
25641
  w
25632
25642
  ), this.triangulation_.getTriangles().length === 0) {
25633
- this.state = nt.EMPTY;
25643
+ this.state = it.EMPTY;
25634
25644
  return;
25635
25645
  }
25636
25646
  this.sourceZ_ = e.getZForResolution(E);
@@ -25644,7 +25654,7 @@ class YA extends xg {
25644
25654
  A[1],
25645
25655
  A[3]
25646
25656
  )) : P = Wr(P, A)), !Il(P))
25647
- this.state = nt.EMPTY;
25657
+ this.state = it.EMPTY;
25648
25658
  else {
25649
25659
  const D = e.getTileRangeForExtentAndZ(
25650
25660
  P,
@@ -25655,7 +25665,7 @@ class YA extends xg {
25655
25665
  const z = d(this.sourceZ_, O, R, h);
25656
25666
  z && this.sourceTiles_.push(z);
25657
25667
  }
25658
- this.sourceTiles_.length === 0 && (this.state = nt.EMPTY);
25668
+ this.sourceTiles_.length === 0 && (this.state = it.EMPTY);
25659
25669
  }
25660
25670
  }
25661
25671
  /**
@@ -25671,12 +25681,12 @@ class YA extends xg {
25671
25681
  reproject_() {
25672
25682
  const t = [];
25673
25683
  if (this.sourceTiles_.forEach((e) => {
25674
- e && e.getState() == nt.LOADED && t.push({
25684
+ e && e.getState() == it.LOADED && t.push({
25675
25685
  extent: this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),
25676
25686
  image: e.getImage()
25677
25687
  });
25678
25688
  }), this.sourceTiles_.length = 0, t.length === 0)
25679
- this.state = nt.ERROR;
25689
+ this.state = it.ERROR;
25680
25690
  else {
25681
25691
  const e = this.wrappedTileCoord_[0], i = this.targetTileGrid_.getTileSize(e), n = typeof i == "number" ? i : i[0], s = typeof i == "number" ? i : i[1], a = this.targetTileGrid_.getResolution(e), h = this.sourceTileGrid_.getResolution(
25682
25692
  this.sourceZ_
@@ -25696,7 +25706,7 @@ class YA extends xg {
25696
25706
  this.gutter_,
25697
25707
  this.renderEdges_,
25698
25708
  this.interpolate
25699
- ), this.state = nt.LOADED;
25709
+ ), this.state = it.LOADED;
25700
25710
  }
25701
25711
  this.changed();
25702
25712
  }
@@ -25704,26 +25714,26 @@ class YA extends xg {
25704
25714
  * Load not yet loaded URI.
25705
25715
  */
25706
25716
  load() {
25707
- if (this.state == nt.IDLE) {
25708
- this.state = nt.LOADING, this.changed();
25717
+ if (this.state == it.IDLE) {
25718
+ this.state = it.LOADING, this.changed();
25709
25719
  let t = 0;
25710
25720
  this.sourcesListenerKeys_ = [], this.sourceTiles_.forEach((e) => {
25711
25721
  const i = e.getState();
25712
- if (i == nt.IDLE || i == nt.LOADING) {
25722
+ if (i == it.IDLE || i == it.LOADING) {
25713
25723
  t++;
25714
25724
  const n = pt(
25715
25725
  e,
25716
- ut.CHANGE,
25726
+ dt.CHANGE,
25717
25727
  function(s) {
25718
25728
  const a = e.getState();
25719
- (a == nt.LOADED || a == nt.ERROR || a == nt.EMPTY) && (bt(n), t--, t === 0 && (this.unlistenSources_(), this.reproject_()));
25729
+ (a == it.LOADED || a == it.ERROR || a == it.EMPTY) && (bt(n), t--, t === 0 && (this.unlistenSources_(), this.reproject_()));
25720
25730
  },
25721
25731
  this
25722
25732
  );
25723
25733
  this.sourcesListenerKeys_.push(n);
25724
25734
  }
25725
25735
  }), t === 0 ? setTimeout(this.reproject_.bind(this), 0) : this.sourceTiles_.forEach(function(e, i, n) {
25726
- e.getState() == nt.IDLE && e.load();
25736
+ e.getState() == it.IDLE && e.load();
25727
25737
  });
25728
25738
  }
25729
25739
  }
@@ -25766,7 +25776,7 @@ class ZA extends xg {
25766
25776
  * @param {HTMLCanvasElement|HTMLImageElement} element Element.
25767
25777
  */
25768
25778
  setImage(t) {
25769
- this.image_ = t, this.state = nt.LOADED, this.unlistenImage_(), this.changed();
25779
+ this.image_ = t, this.state = it.LOADED, this.unlistenImage_(), this.changed();
25770
25780
  }
25771
25781
  /**
25772
25782
  * Tracks loading or read errors.
@@ -25774,7 +25784,7 @@ class ZA extends xg {
25774
25784
  * @private
25775
25785
  */
25776
25786
  handleImageError_() {
25777
- this.state = nt.ERROR, this.unlistenImage_(), this.image_ = XA(), this.changed();
25787
+ this.state = it.ERROR, this.unlistenImage_(), this.image_ = XA(), this.changed();
25778
25788
  }
25779
25789
  /**
25780
25790
  * Tracks successful image load.
@@ -25786,7 +25796,7 @@ class ZA extends xg {
25786
25796
  /** @type {HTMLImageElement} */
25787
25797
  this.image_
25788
25798
  );
25789
- t.naturalWidth && t.naturalHeight ? this.state = nt.LOADED : this.state = nt.EMPTY, this.unlistenImage_(), this.changed();
25799
+ t.naturalWidth && t.naturalHeight ? this.state = it.LOADED : this.state = it.EMPTY, this.unlistenImage_(), this.changed();
25790
25800
  }
25791
25801
  /**
25792
25802
  * Load the image or retry if loading previously failed.
@@ -25826,7 +25836,7 @@ class ZA extends xg {
25826
25836
  * @api
25827
25837
  */
25828
25838
  load() {
25829
- this.state == nt.ERROR && (this.state = nt.IDLE, this.image_ = new Image(), this.crossOrigin_ !== null && (this.image_.crossOrigin = this.crossOrigin_)), this.state == nt.IDLE && (this.state = nt.LOADING, this.changed(), this.tileLoadFunction_(this, this.src_), this.unlisten_ = vx(
25839
+ this.state == it.ERROR && (this.state = it.IDLE, this.image_ = new Image(), this.crossOrigin_ !== null && (this.image_.crossOrigin = this.crossOrigin_)), this.state == it.IDLE && (this.state = it.LOADING, this.changed(), this.tileLoadFunction_(this, this.src_), this.unlisten_ = vx(
25830
25840
  this.image_,
25831
25841
  this.handleImageLoad_.bind(this),
25832
25842
  this.handleImageError_.bind(this)
@@ -27640,7 +27650,7 @@ class pw extends bg {
27640
27650
  for (let f = i.minX; f <= i.maxX; ++f)
27641
27651
  for (let p = i.minY; p <= i.maxY; ++p)
27642
27652
  c = wa(e, f, p), d = !1, s.containsKey(c) && (h = /** @type {!import("../Tile.js").default} */
27643
- s.get(c), d = h.getState() === nt.LOADED, d && (d = n(h) !== !1)), d || (a = !1);
27653
+ s.get(c), d = h.getState() === it.LOADED, d && (d = n(h) !== !1)), d || (a = !1);
27644
27654
  return a;
27645
27655
  }
27646
27656
  /**
@@ -27690,7 +27700,7 @@ class pw extends bg {
27690
27700
  * @return {!import("../Tile.js").default} Tile.
27691
27701
  */
27692
27702
  getTile(t, e, i, n, s) {
27693
- return at();
27703
+ return lt();
27694
27704
  }
27695
27705
  /**
27696
27706
  * Return the tile grid of the tile source.
@@ -27913,7 +27923,7 @@ class Zh extends _w {
27913
27923
  t.target
27914
27924
  ), i = gt(e), n = e.getState();
27915
27925
  let s;
27916
- n == nt.LOADING ? (this.tileLoadingKeys_[i] = !0, s = yl.TILELOADSTART) : i in this.tileLoadingKeys_ && (delete this.tileLoadingKeys_[i], s = n == nt.ERROR ? yl.TILELOADERROR : n == nt.LOADED ? yl.TILELOADEND : void 0), s != null && this.dispatchEvent(new mw(s, e));
27926
+ n == it.LOADING ? (this.tileLoadingKeys_[i] = !0, s = yl.TILELOADSTART) : i in this.tileLoadingKeys_ && (delete this.tileLoadingKeys_[i], s = n == it.ERROR ? yl.TILELOADERROR : n == it.LOADED ? yl.TILELOADEND : void 0), s != null && this.dispatchEvent(new mw(s, e));
27917
27927
  }
27918
27928
  /**
27919
27929
  * Set the tile load function of the source.
@@ -28090,13 +28100,13 @@ class Ew extends ww {
28090
28100
  s
28091
28101
  ), d = c ? this.tileUrlFunction(c, n, s) : void 0, f = new this.tileClass(
28092
28102
  h,
28093
- d !== void 0 ? nt.IDLE : nt.EMPTY,
28103
+ d !== void 0 ? it.IDLE : it.EMPTY,
28094
28104
  d !== void 0 ? d : "",
28095
28105
  this.crossOrigin,
28096
28106
  this.tileLoadFunction,
28097
28107
  this.tileOptions
28098
28108
  );
28099
- return f.key = a, f.addEventListener(ut.CHANGE, this.handleTileChange.bind(this)), f;
28109
+ return f.key = a, f.addEventListener(dt.CHANGE, this.handleTileChange.bind(this)), f;
28100
28110
  }
28101
28111
  /**
28102
28112
  * @param {number} z Tile coordinate z.
@@ -28158,7 +28168,7 @@ class Ew extends ww {
28158
28168
  a = this.createTile_(t, e, i, n, s, c), this.tileCache.set(h, a);
28159
28169
  else if (a = this.tileCache.get(h), a.key != c) {
28160
28170
  const d = a;
28161
- a = this.createTile_(t, e, i, n, s, c), d.getState() == nt.IDLE ? a.interimTile = d.interimTile : a.interimTile = d, a.refreshInterimChain(), this.tileCache.replace(h, a);
28171
+ a = this.createTile_(t, e, i, n, s, c), d.getState() == it.IDLE ? a.interimTile = d.interimTile : a.interimTile = d, a.refreshInterimChain(), this.tileCache.replace(h, a);
28162
28172
  }
28163
28173
  return a;
28164
28174
  }
@@ -28504,7 +28514,7 @@ class Ow extends Dg {
28504
28514
  */
28505
28515
  isDrawableTile(t) {
28506
28516
  const e = this.getLayer(), i = t.getState(), n = e.getUseInterimTilesOnError();
28507
- return i == nt.LOADED || i == nt.EMPTY || i == nt.ERROR && !n;
28517
+ return i == it.LOADED || i == it.EMPTY || i == it.ERROR && !n;
28508
28518
  }
28509
28519
  /**
28510
28520
  * @param {number} z Tile coordinate z.
@@ -28516,7 +28526,7 @@ class Ow extends Dg {
28516
28526
  getTile(t, e, i, n) {
28517
28527
  const s = n.pixelRatio, a = n.viewState.projection, h = this.getLayer();
28518
28528
  let d = h.getSource().getTile(t, e, i, s, a);
28519
- return d.getState() == nt.ERROR && h.getUseInterimTilesOnError() && h.getPreload() > 0 && (this.newTiles_ = !0), this.isDrawableTile(d) || (d = d.getInterimTile()), d;
28529
+ return d.getState() == it.ERROR && h.getUseInterimTilesOnError() && h.getPreload() > 0 && (this.newTiles_ = !0), this.isDrawableTile(d) || (d = d.getInterimTile()), d;
28520
28530
  }
28521
28531
  /**
28522
28532
  * @param {import("../../pixel.js").Pixel} pixel Pixel.
@@ -28541,9 +28551,9 @@ class Ow extends Dg {
28541
28551
  a,
28542
28552
  h
28543
28553
  );
28544
- if (!(v instanceof Ag || v instanceof Wl) || v instanceof Wl && v.getState() === nt.EMPTY)
28554
+ if (!(v instanceof Ag || v instanceof Wl) || v instanceof Wl && v.getState() === it.EMPTY)
28545
28555
  return null;
28546
- if (v.getState() !== nt.LOADED)
28556
+ if (v.getState() !== it.LOADED)
28547
28557
  continue;
28548
28558
  const A = f.getOrigin(m), b = Ae(f.getTileSize(m)), M = f.getResolution(m), w = Math.floor(
28549
28559
  p * ((n[0] - A[0]) / M - y[1] * b[0])
@@ -28594,43 +28604,43 @@ class Ow extends Dg {
28594
28604
  h[1] + O
28595
28605
  ], z = y.getTileRangeForExtentAndZ(b, v), j = {};
28596
28606
  j[v] = {};
28597
- const U = this.createLoadedTileFinder(
28607
+ const N = this.createLoadedTileFinder(
28598
28608
  p,
28599
28609
  s,
28600
28610
  j
28601
- ), X = this.tmpExtent, $ = this.tmpTileRange_;
28611
+ ), X = this.tmpExtent, J = this.tmpTileRange_;
28602
28612
  this.newTiles_ = !1;
28603
- const ot = c ? Rl(
28613
+ const rt = c ? Rl(
28604
28614
  n.center,
28605
28615
  M,
28606
28616
  c,
28607
28617
  t.size
28608
28618
  ) : void 0;
28609
- for (let dt = z.minX; dt <= z.maxX; ++dt)
28619
+ for (let ct = z.minX; ct <= z.maxX; ++ct)
28610
28620
  for (let Q = z.minY; Q <= z.maxY; ++Q) {
28611
- if (c && !y.tileCoordIntersectsViewport([v, dt, Q], ot))
28621
+ if (c && !y.tileCoordIntersectsViewport([v, ct, Q], rt))
28612
28622
  continue;
28613
- const tt = this.getTile(v, dt, Q, t);
28614
- if (this.isDrawableTile(tt)) {
28623
+ const q = this.getTile(v, ct, Q, t);
28624
+ if (this.isDrawableTile(q)) {
28615
28625
  const Ht = gt(this);
28616
- if (tt.getState() == nt.LOADED) {
28617
- j[v][tt.tileCoord.toString()] = tt;
28618
- let Ce = tt.inTransition(Ht);
28619
- Ce && i.opacity !== 1 && (tt.endTransition(Ht), Ce = !1), !this.newTiles_ && (Ce || !this.renderedTiles.includes(tt)) && (this.newTiles_ = !0);
28626
+ if (q.getState() == it.LOADED) {
28627
+ j[v][q.tileCoord.toString()] = q;
28628
+ let Ce = q.inTransition(Ht);
28629
+ Ce && i.opacity !== 1 && (q.endTransition(Ht), Ce = !1), !this.newTiles_ && (Ce || !this.renderedTiles.includes(q)) && (this.newTiles_ = !0);
28620
28630
  }
28621
- if (tt.getAlpha(Ht, t.time) === 1)
28631
+ if (q.getAlpha(Ht, t.time) === 1)
28622
28632
  continue;
28623
28633
  }
28624
- const lt = y.getTileCoordChildTileRange(
28625
- tt.tileCoord,
28626
- $,
28634
+ const at = y.getTileCoordChildTileRange(
28635
+ q.tileCoord,
28636
+ J,
28627
28637
  X
28628
28638
  );
28629
28639
  let Dt = !1;
28630
- lt && (Dt = U(v + 1, lt)), Dt || y.forEachTileCoordParentTileRange(
28631
- tt.tileCoord,
28632
- U,
28633
- $,
28640
+ at && (Dt = N(v + 1, at)), Dt || y.forEachTileCoordParentTileRange(
28641
+ q.tileCoord,
28642
+ N,
28643
+ J,
28634
28644
  X
28635
28645
  );
28636
28646
  }
@@ -28660,14 +28670,14 @@ class Ow extends Dg {
28660
28670
  ), B.width != E || B.height != C ? (B.width = E, B.height = C) : this.containerReused || H.clearRect(0, 0, E, C), P && this.clipUnrotated(H, t, P), p.getInterpolate() || (H.imageSmoothingEnabled = !1), this.preRender(H, t), this.renderedTiles.length = 0;
28661
28671
  let et = Object.keys(j).map(Number);
28662
28672
  et.sort(Qi);
28663
- let Z, it, F;
28664
- i.opacity === 1 && (!this.containerReused || p.getOpaque(t.viewState.projection)) ? et = et.reverse() : (Z = [], it = []);
28665
- for (let dt = et.length - 1; dt >= 0; --dt) {
28666
- const Q = et[dt], tt = p.getTilePixelSize(
28673
+ let Z, nt, F;
28674
+ i.opacity === 1 && (!this.containerReused || p.getOpaque(t.viewState.projection)) ? et = et.reverse() : (Z = [], nt = []);
28675
+ for (let ct = et.length - 1; ct >= 0; --ct) {
28676
+ const Q = et[ct], q = p.getTilePixelSize(
28667
28677
  Q,
28668
28678
  d,
28669
28679
  s
28670
- ), Dt = y.getResolution(Q) / A, Ht = tt[0] * Dt * W, Ce = tt[1] * Dt * W, Ue = y.getTileCoordForCoordAndZ(
28680
+ ), Dt = y.getResolution(Q) / A, Ht = q[0] * Dt * W, Ce = q[1] * Dt * W, Ue = y.getTileCoordForCoordAndZ(
28671
28681
  Ln(R),
28672
28682
  Q
28673
28683
  ), Ti = y.getTileCoordExtent(Ue), Le = Gt(this.tempTransform, [
@@ -28684,14 +28694,14 @@ class Ow extends Dg {
28684
28694
  if (Z) {
28685
28695
  F = [Qt, oe, Qt + ye, oe, Qt + ye, oe + Ie, Qt, oe + Ie];
28686
28696
  for (let Ii = 0, sn = Z.length; Ii < sn; ++Ii)
28687
- if (v !== Q && Q < it[Ii]) {
28697
+ if (v !== Q && Q < nt[Ii]) {
28688
28698
  const Wt = Z[Ii];
28689
28699
  me(
28690
28700
  [Qt, oe, Qt + ye, oe + Ie],
28691
28701
  [Wt[0], Wt[3], Wt[4], Wt[7]]
28692
28702
  ) && (Se || (H.save(), Se = !0), H.beginPath(), H.moveTo(F[0], F[1]), H.lineTo(F[2], F[3]), H.lineTo(F[4], F[5]), H.lineTo(F[6], F[7]), H.moveTo(Wt[6], Wt[7]), H.lineTo(Wt[4], Wt[5]), H.lineTo(Wt[2], Wt[3]), H.lineTo(Wt[0], Wt[1]), H.clip());
28693
28703
  }
28694
- Z.push(F), it.push(Q);
28704
+ Z.push(F), nt.push(Q);
28695
28705
  } else
28696
28706
  H.clearRect(Qt, oe, ye, Ie);
28697
28707
  this.drawTileImage(
@@ -28821,7 +28831,7 @@ class Ow extends Dg {
28821
28831
  for (D = y; D <= h; ++D)
28822
28832
  for (w = i.getTileRangeForExtentAndZ(a, D, w), E = i.getResolution(D), C = w.minX; C <= w.maxX; ++C)
28823
28833
  for (P = w.minY; P <= w.maxY; ++P)
28824
- v && !i.tileCoordIntersectsViewport([D, C, P], A) || (h - D <= c ? (++b, M = e.getTile(D, C, P, n, s), M.getState() == nt.IDLE && (p[M.getKey()] = !0, m.isKeyQueued(M.getKey()) || m.enqueue([
28834
+ v && !i.tileCoordIntersectsViewport([D, C, P], A) || (h - D <= c ? (++b, M = e.getTile(D, C, P, n, s), M.getState() == it.IDLE && (p[M.getKey()] = !0, m.isKeyQueued(M.getKey()) || m.enqueue([
28825
28835
  M,
28826
28836
  f,
28827
28837
  i.getTileCoordCenter(M.tileCoord),
@@ -29096,7 +29106,7 @@ class Xh extends Ge {
29096
29106
  const t = this.getGeometry();
29097
29107
  t && (this.geometryChangeKey_ = pt(
29098
29108
  t,
29099
- ut.CHANGE,
29109
+ dt.CHANGE,
29100
29110
  this.handleGeometryChange_,
29101
29111
  this
29102
29112
  )), this.changed();
@@ -29182,7 +29192,7 @@ class Oo extends Df {
29182
29192
  if (this.geometries_)
29183
29193
  for (let t = 0, e = this.geometries_.length; t < e; ++t)
29184
29194
  this.changeEventsKeys_.push(
29185
- pt(this.geometries_[t], ut.CHANGE, this.changed, this)
29195
+ pt(this.geometries_[t], dt.CHANGE, this.changed, this)
29186
29196
  );
29187
29197
  }
29188
29198
  /**
@@ -30866,7 +30876,7 @@ class Kw extends bg {
30866
30876
  */
30867
30877
  setupChangeEvents_(t, e) {
30868
30878
  e instanceof mi || (this.featureChangeKeys_[t] = [
30869
- pt(e, ut.CHANGE, this.handleFeatureChange_, this),
30879
+ pt(e, dt.CHANGE, this.handleFeatureChange_, this),
30870
30880
  pt(
30871
30881
  e,
30872
30882
  lr.PROPERTYCHANGE,
@@ -31462,7 +31472,7 @@ class Vw {
31462
31472
  * @return {Type} The format type.
31463
31473
  */
31464
31474
  getType() {
31465
- return at();
31475
+ return lt();
31466
31476
  }
31467
31477
  /**
31468
31478
  * Read a single feature from a source.
@@ -31473,7 +31483,7 @@ class Vw {
31473
31483
  * @return {import("../Feature.js").FeatureLike|Array<import("../render/Feature.js").default>} Feature.
31474
31484
  */
31475
31485
  readFeature(t, e) {
31476
- return at();
31486
+ return lt();
31477
31487
  }
31478
31488
  /**
31479
31489
  * Read all features from a source.
@@ -31484,7 +31494,7 @@ class Vw {
31484
31494
  * @return {Array<import("../Feature.js").FeatureLike>} Features.
31485
31495
  */
31486
31496
  readFeatures(t, e) {
31487
- return at();
31497
+ return lt();
31488
31498
  }
31489
31499
  /**
31490
31500
  * Read a single geometry from a source.
@@ -31495,7 +31505,7 @@ class Vw {
31495
31505
  * @return {import("../geom/Geometry.js").default} Geometry.
31496
31506
  */
31497
31507
  readGeometry(t, e) {
31498
- return at();
31508
+ return lt();
31499
31509
  }
31500
31510
  /**
31501
31511
  * Read the projection from a source.
@@ -31505,7 +31515,7 @@ class Vw {
31505
31515
  * @return {import("../proj/Projection.js").default|undefined} Projection.
31506
31516
  */
31507
31517
  readProjection(t) {
31508
- return at();
31518
+ return lt();
31509
31519
  }
31510
31520
  /**
31511
31521
  * Encode a feature in this format.
@@ -31516,7 +31526,7 @@ class Vw {
31516
31526
  * @return {string|ArrayBuffer} Result.
31517
31527
  */
31518
31528
  writeFeature(t, e) {
31519
- return at();
31529
+ return lt();
31520
31530
  }
31521
31531
  /**
31522
31532
  * Encode an array of features in this format.
@@ -31527,7 +31537,7 @@ class Vw {
31527
31537
  * @return {string|ArrayBuffer} Result.
31528
31538
  */
31529
31539
  writeFeatures(t, e) {
31530
- return at();
31540
+ return lt();
31531
31541
  }
31532
31542
  /**
31533
31543
  * Write a single geometry in this format.
@@ -31538,7 +31548,7 @@ class Vw {
31538
31548
  * @return {string|ArrayBuffer} Result.
31539
31549
  */
31540
31550
  writeGeometry(t, e) {
31541
- return at();
31551
+ return lt();
31542
31552
  }
31543
31553
  }
31544
31554
  function Vh(r, t, e) {
@@ -31665,7 +31675,7 @@ class Jw extends Vw {
31665
31675
  * @return {import("../Feature.js").default|import("../render/Feature.js").default|Array<import("../render/Feature.js").default>} Feature.
31666
31676
  */
31667
31677
  readFeatureFromObject(t, e) {
31668
- return at();
31678
+ return lt();
31669
31679
  }
31670
31680
  /**
31671
31681
  * @abstract
@@ -31675,7 +31685,7 @@ class Jw extends Vw {
31675
31685
  * @return {Array<import("../Feature.js").default|import("../render/Feature.js").default>} Features.
31676
31686
  */
31677
31687
  readFeaturesFromObject(t, e) {
31678
- return at();
31688
+ return lt();
31679
31689
  }
31680
31690
  /**
31681
31691
  * Read a geometry.
@@ -31699,7 +31709,7 @@ class Jw extends Vw {
31699
31709
  * @return {import("../geom/Geometry.js").default} Geometry.
31700
31710
  */
31701
31711
  readGeometryFromObject(t, e) {
31702
- return at();
31712
+ return lt();
31703
31713
  }
31704
31714
  /**
31705
31715
  * Read the projection.
@@ -31718,7 +31728,7 @@ class Jw extends Vw {
31718
31728
  * @return {import("../proj/Projection.js").default} Projection.
31719
31729
  */
31720
31730
  readProjectionFromObject(t) {
31721
- return at();
31731
+ return lt();
31722
31732
  }
31723
31733
  /**
31724
31734
  * Encode a feature as string.
@@ -31738,7 +31748,7 @@ class Jw extends Vw {
31738
31748
  * @return {Object} Object.
31739
31749
  */
31740
31750
  writeFeatureObject(t, e) {
31741
- return at();
31751
+ return lt();
31742
31752
  }
31743
31753
  /**
31744
31754
  * Encode an array of features as string.
@@ -31758,7 +31768,7 @@ class Jw extends Vw {
31758
31768
  * @return {Object} Object.
31759
31769
  */
31760
31770
  writeFeaturesObject(t, e) {
31761
- return at();
31771
+ return lt();
31762
31772
  }
31763
31773
  /**
31764
31774
  * Encode a geometry as string.
@@ -31778,7 +31788,7 @@ class Jw extends Vw {
31778
31788
  * @return {Object} Object.
31779
31789
  */
31780
31790
  writeGeometryObject(t, e) {
31781
- return at();
31791
+ return lt();
31782
31792
  }
31783
31793
  }
31784
31794
  function oo(r) {
@@ -32202,7 +32212,7 @@ const ao = tE, vs = {
32202
32212
  SET_FILL_STYLE: 10,
32203
32213
  SET_STROKE_STYLE: 11,
32204
32214
  STROKE: 12
32205
- }, lo = [vs.FILL], Ki = [vs.STROKE], xn = [vs.BEGIN_PATH], fd = [vs.CLOSE_PATH], st = vs;
32215
+ }, lo = [vs.FILL], Ki = [vs.STROKE], xn = [vs.BEGIN_PATH], fd = [vs.CLOSE_PATH], ot = vs;
32206
32216
  class mE {
32207
32217
  /**
32208
32218
  * Render a geometry with a custom renderer.
@@ -32417,14 +32427,14 @@ class _E extends Fg {
32417
32427
  ), p.push(b);
32418
32428
  }
32419
32429
  this.instructions.push([
32420
- st.CUSTOM,
32430
+ ot.CUSTOM,
32421
32431
  h,
32422
32432
  p,
32423
32433
  t,
32424
32434
  i,
32425
32435
  Fl
32426
32436
  ]), this.hitDetectionInstructions.push([
32427
- st.CUSTOM,
32437
+ ot.CUSTOM,
32428
32438
  h,
32429
32439
  p,
32430
32440
  t,
@@ -32445,14 +32455,14 @@ class _E extends Fg {
32445
32455
  a,
32446
32456
  f
32447
32457
  ), this.instructions.push([
32448
- st.CUSTOM,
32458
+ ot.CUSTOM,
32449
32459
  h,
32450
32460
  f,
32451
32461
  t,
32452
32462
  i,
32453
32463
  ts
32454
32464
  ]), this.hitDetectionInstructions.push([
32455
- st.CUSTOM,
32465
+ ot.CUSTOM,
32456
32466
  h,
32457
32467
  f,
32458
32468
  t,
@@ -32470,14 +32480,14 @@ class _E extends Fg {
32470
32480
  !1,
32471
32481
  !1
32472
32482
  ), this.instructions.push([
32473
- st.CUSTOM,
32483
+ ot.CUSTOM,
32474
32484
  h,
32475
32485
  d,
32476
32486
  t,
32477
32487
  i,
32478
32488
  Zi
32479
32489
  ]), this.hitDetectionInstructions.push([
32480
- st.CUSTOM,
32490
+ ot.CUSTOM,
32481
32491
  h,
32482
32492
  d,
32483
32493
  t,
@@ -32487,14 +32497,14 @@ class _E extends Fg {
32487
32497
  break;
32488
32498
  case "MultiPoint":
32489
32499
  c = t.getFlatCoordinates(), d = this.appendFlatPointCoordinates(c, a), d > h && (this.instructions.push([
32490
- st.CUSTOM,
32500
+ ot.CUSTOM,
32491
32501
  h,
32492
32502
  d,
32493
32503
  t,
32494
32504
  i,
32495
32505
  Zi
32496
32506
  ]), this.hitDetectionInstructions.push([
32497
- st.CUSTOM,
32507
+ ot.CUSTOM,
32498
32508
  h,
32499
32509
  d,
32500
32510
  t,
@@ -32504,13 +32514,13 @@ class _E extends Fg {
32504
32514
  break;
32505
32515
  case "Point":
32506
32516
  c = t.getFlatCoordinates(), this.coordinates.push(c[0], c[1]), d = this.coordinates.length, this.instructions.push([
32507
- st.CUSTOM,
32517
+ ot.CUSTOM,
32508
32518
  h,
32509
32519
  d,
32510
32520
  t,
32511
32521
  i
32512
32522
  ]), this.hitDetectionInstructions.push([
32513
- st.CUSTOM,
32523
+ ot.CUSTOM,
32514
32524
  h,
32515
32525
  d,
32516
32526
  t,
@@ -32527,12 +32537,12 @@ class _E extends Fg {
32527
32537
  */
32528
32538
  beginGeometry(t, e) {
32529
32539
  this.beginGeometryInstruction1_ = [
32530
- st.BEGIN_GEOMETRY,
32540
+ ot.BEGIN_GEOMETRY,
32531
32541
  e,
32532
32542
  0,
32533
32543
  t
32534
32544
  ], this.instructions.push(this.beginGeometryInstruction1_), this.beginGeometryInstruction2_ = [
32535
- st.BEGIN_GEOMETRY,
32545
+ ot.BEGIN_GEOMETRY,
32536
32546
  e,
32537
32547
  0,
32538
32548
  t
@@ -32559,7 +32569,7 @@ class _E extends Fg {
32559
32569
  let n, s, a = -1;
32560
32570
  for (e = 0; e < i; ++e)
32561
32571
  n = t[e], s = /** @type {import("./Instruction.js").default} */
32562
- n[0], s == st.END_GEOMETRY ? a = e : s == st.BEGIN_GEOMETRY && (n[2] = e, Ey(this.hitDetectionInstructions, a, e), a = -1);
32572
+ n[0], s == ot.END_GEOMETRY ? a = e : s == ot.BEGIN_GEOMETRY && (n[2] = e, Ey(this.hitDetectionInstructions, a, e), a = -1);
32563
32573
  }
32564
32574
  /**
32565
32575
  * @param {import("../../style/Fill.js").default} fillStyle Fill style.
@@ -32599,7 +32609,7 @@ class _E extends Fg {
32599
32609
  * @return {Array<*>} Fill instruction.
32600
32610
  */
32601
32611
  createFill(t) {
32602
- const e = t.fillStyle, i = [st.SET_FILL_STYLE, e];
32612
+ const e = t.fillStyle, i = [ot.SET_FILL_STYLE, e];
32603
32613
  return typeof e != "string" && i.push(!0), i;
32604
32614
  }
32605
32615
  /**
@@ -32614,7 +32624,7 @@ class _E extends Fg {
32614
32624
  */
32615
32625
  createStroke(t) {
32616
32626
  return [
32617
- st.SET_STROKE_STYLE,
32627
+ ot.SET_STROKE_STYLE,
32618
32628
  t.strokeStyle,
32619
32629
  t.lineWidth * this.pixelRatio,
32620
32630
  t.lineCap,
@@ -32645,7 +32655,7 @@ class _E extends Fg {
32645
32655
  */
32646
32656
  endGeometry(t) {
32647
32657
  this.beginGeometryInstruction1_[2] = this.instructions.length, this.beginGeometryInstruction1_ = null, this.beginGeometryInstruction2_[2] = this.hitDetectionInstructions.length, this.beginGeometryInstruction2_ = null;
32648
- const e = [st.END_GEOMETRY, t];
32658
+ const e = [ot.END_GEOMETRY, t];
32649
32659
  this.instructions.push(e), this.hitDetectionInstructions.push(e);
32650
32660
  }
32651
32661
  /**
@@ -32684,7 +32694,7 @@ class yE extends xs {
32684
32694
  this.beginGeometry(t, e);
32685
32695
  const i = t.getFlatCoordinates(), n = t.getStride(), s = this.coordinates.length, a = this.appendFlatPointCoordinates(i, n);
32686
32696
  this.instructions.push([
32687
- st.DRAW_IMAGE,
32697
+ ot.DRAW_IMAGE,
32688
32698
  s,
32689
32699
  a,
32690
32700
  this.image_,
@@ -32705,7 +32715,7 @@ class yE extends xs {
32705
32715
  this.declutterMode_,
32706
32716
  this.declutterImageWithText_
32707
32717
  ]), this.hitDetectionInstructions.push([
32708
- st.DRAW_IMAGE,
32718
+ ot.DRAW_IMAGE,
32709
32719
  s,
32710
32720
  a,
32711
32721
  this.hitDetectionImage_,
@@ -32734,7 +32744,7 @@ class yE extends xs {
32734
32744
  this.beginGeometry(t, e);
32735
32745
  const i = t.getFlatCoordinates(), n = t.getStride(), s = this.coordinates.length, a = this.appendFlatPointCoordinates(i, n);
32736
32746
  this.instructions.push([
32737
- st.DRAW_IMAGE,
32747
+ ot.DRAW_IMAGE,
32738
32748
  s,
32739
32749
  a,
32740
32750
  this.image_,
@@ -32755,7 +32765,7 @@ class yE extends xs {
32755
32765
  this.declutterMode_,
32756
32766
  this.declutterImageWithText_
32757
32767
  ]), this.hitDetectionInstructions.push([
32758
- st.DRAW_IMAGE,
32768
+ ot.DRAW_IMAGE,
32759
32769
  s,
32760
32770
  a,
32761
32771
  this.hitDetectionImage_,
@@ -32817,7 +32827,7 @@ class xE extends xs {
32817
32827
  !1,
32818
32828
  !1
32819
32829
  ), h = [
32820
- st.MOVE_TO_LINE_TO,
32830
+ ot.MOVE_TO_LINE_TO,
32821
32831
  s,
32822
32832
  a
32823
32833
  ];
@@ -32833,7 +32843,7 @@ class xE extends xs {
32833
32843
  return;
32834
32844
  this.updateStrokeStyle(i, this.applyStroke), this.beginGeometry(t, e), this.hitDetectionInstructions.push(
32835
32845
  [
32836
- st.SET_STROKE_STYLE,
32846
+ ot.SET_STROKE_STYLE,
32837
32847
  i.strokeStyle,
32838
32848
  i.lineWidth,
32839
32849
  i.lineCap,
@@ -32862,7 +32872,7 @@ class xE extends xs {
32862
32872
  return;
32863
32873
  this.updateStrokeStyle(i, this.applyStroke), this.beginGeometry(t, e), this.hitDetectionInstructions.push(
32864
32874
  [
32865
- st.SET_STROKE_STYLE,
32875
+ ot.SET_STROKE_STYLE,
32866
32876
  i.strokeStyle,
32867
32877
  i.lineWidth,
32868
32878
  i.lineCap,
@@ -32930,7 +32940,7 @@ class wE extends xs {
32930
32940
  !0,
32931
32941
  !h
32932
32942
  ), y = [
32933
- st.MOVE_TO_LINE_TO,
32943
+ ot.MOVE_TO_LINE_TO,
32934
32944
  p,
32935
32945
  m
32936
32946
  ];
@@ -32947,10 +32957,10 @@ class wE extends xs {
32947
32957
  if (n === void 0 && s === void 0)
32948
32958
  return;
32949
32959
  this.setFillStrokeStyles_(), this.beginGeometry(t, e), i.fillStyle !== void 0 && this.hitDetectionInstructions.push([
32950
- st.SET_FILL_STYLE,
32960
+ ot.SET_FILL_STYLE,
32951
32961
  pe
32952
32962
  ]), i.strokeStyle !== void 0 && this.hitDetectionInstructions.push([
32953
- st.SET_STROKE_STYLE,
32963
+ ot.SET_STROKE_STYLE,
32954
32964
  i.strokeStyle,
32955
32965
  i.lineWidth,
32956
32966
  i.lineCap,
@@ -32968,7 +32978,7 @@ class wE extends xs {
32968
32978
  !1,
32969
32979
  !1
32970
32980
  );
32971
- const d = [st.CIRCLE, c];
32981
+ const d = [ot.CIRCLE, c];
32972
32982
  this.instructions.push(xn, d), this.hitDetectionInstructions.push(xn, d), i.fillStyle !== void 0 && (this.instructions.push(lo), this.hitDetectionInstructions.push(lo)), i.strokeStyle !== void 0 && (this.instructions.push(Ki), this.hitDetectionInstructions.push(Ki)), this.endGeometry(e);
32973
32983
  }
32974
32984
  /**
@@ -32980,10 +32990,10 @@ class wE extends xs {
32980
32990
  if (n === void 0 && s === void 0)
32981
32991
  return;
32982
32992
  this.setFillStrokeStyles_(), this.beginGeometry(t, e), i.fillStyle !== void 0 && this.hitDetectionInstructions.push([
32983
- st.SET_FILL_STYLE,
32993
+ ot.SET_FILL_STYLE,
32984
32994
  pe
32985
32995
  ]), i.strokeStyle !== void 0 && this.hitDetectionInstructions.push([
32986
- st.SET_STROKE_STYLE,
32996
+ ot.SET_STROKE_STYLE,
32987
32997
  i.strokeStyle,
32988
32998
  i.lineWidth,
32989
32999
  i.lineCap,
@@ -33010,10 +33020,10 @@ class wE extends xs {
33010
33020
  if (n === void 0 && s === void 0)
33011
33021
  return;
33012
33022
  this.setFillStrokeStyles_(), this.beginGeometry(t, e), i.fillStyle !== void 0 && this.hitDetectionInstructions.push([
33013
- st.SET_FILL_STYLE,
33023
+ ot.SET_FILL_STYLE,
33014
33024
  pe
33015
33025
  ]), i.strokeStyle !== void 0 && this.hitDetectionInstructions.push([
33016
- st.SET_STROKE_STYLE,
33026
+ ot.SET_STROKE_STYLE,
33017
33027
  i.strokeStyle,
33018
33028
  i.lineWidth,
33019
33029
  i.lineCap,
@@ -33237,7 +33247,7 @@ class LE extends xs {
33237
33247
  }
33238
33248
  const v = this.pixelRatio;
33239
33249
  this.instructions.push([
33240
- st.DRAW_IMAGE,
33250
+ ot.DRAW_IMAGE,
33241
33251
  h,
33242
33252
  m,
33243
33253
  null,
@@ -33268,7 +33278,7 @@ class LE extends xs {
33268
33278
  ]);
33269
33279
  const A = 1 / v, b = this.state.fillStyle;
33270
33280
  s.backgroundFill && (this.state.fillStyle = pe, this.hitDetectionInstructions.push(this.createFill(this.state))), this.hitDetectionInstructions.push([
33271
- st.DRAW_IMAGE,
33281
+ ot.DRAW_IMAGE,
33272
33282
  h,
33273
33283
  m,
33274
33284
  null,
@@ -33334,7 +33344,7 @@ class LE extends xs {
33334
33344
  this.saveTextStates_();
33335
33345
  const c = this.pixelRatio, d = Go[n.textBaseline], f = this.textOffsetY_ * c, p = this.text_, m = i ? i.lineWidth * Math.abs(n.scale[0]) / 2 : 0;
33336
33346
  this.instructions.push([
33337
- st.DRAW_CHARS,
33347
+ ot.DRAW_CHARS,
33338
33348
  t,
33339
33349
  e,
33340
33350
  d,
@@ -33349,7 +33359,7 @@ class LE extends xs {
33349
33359
  a,
33350
33360
  1
33351
33361
  ]), this.hitDetectionInstructions.push([
33352
- st.DRAW_CHARS,
33362
+ ot.DRAW_CHARS,
33353
33363
  t,
33354
33364
  e,
33355
33365
  d,
@@ -33471,25 +33481,25 @@ function ME(r, t, e, i, n, s, a, h, c, d, f, p) {
33471
33481
  w();
33472
33482
  E = b === 0 ? 0 : (R - M) / b;
33473
33483
  const z = xe(v, m, E), j = xe(A, y, E);
33474
- let U;
33484
+ let N;
33475
33485
  if (p) {
33476
33486
  const Y = [C, P, z, j];
33477
- Pf(Y, 0, 4, 2, p, Y, Y), U = Y[0] > Y[2];
33487
+ Pf(Y, 0, 4, 2, p, Y, Y), N = Y[0] > Y[2];
33478
33488
  } else
33479
- U = C > z;
33480
- const X = Math.PI, $ = [], ot = D + i === t;
33489
+ N = C > z;
33490
+ const X = Math.PI, J = [], rt = D + i === t;
33481
33491
  t = D, b = 0, M = O, m = r[t], y = r[t + 1];
33482
33492
  let W;
33483
- if (ot) {
33484
- w(), W = Math.atan2(y - A, m - v), U && (W += W > 0 ? -X : X);
33493
+ if (rt) {
33494
+ w(), W = Math.atan2(y - A, m - v), N && (W += W > 0 ? -X : X);
33485
33495
  const Y = (z + C) / 2, H = (j + P) / 2;
33486
- return $[0] = [Y, H, (R - s) / 2, W, n], $;
33496
+ return J[0] = [Y, H, (R - s) / 2, W, n], J;
33487
33497
  }
33488
33498
  n = n.replace(/\n/g, " ");
33489
33499
  for (let Y = 0, H = n.length; Y < H; ) {
33490
33500
  w();
33491
33501
  let B = Math.atan2(y - A, m - v);
33492
- if (U && (B += B > 0 ? -X : X), W !== void 0) {
33502
+ if (N && (B += B > 0 ? -X : X), W !== void 0) {
33493
33503
  let Q = B - W;
33494
33504
  if (Q += Q > X ? -2 * X : Q < -X ? 2 * X : 0, Math.abs(Q) > a)
33495
33505
  return null;
@@ -33498,19 +33508,19 @@ function ME(r, t, e, i, n, s, a, h, c, d, f, p) {
33498
33508
  const et = Y;
33499
33509
  let Z = 0;
33500
33510
  for (; Y < H; ++Y) {
33501
- const Q = U ? H - Y - 1 : Y, tt = h * c(d, n[Q], f);
33502
- if (t + i < e && M + b < s + Z + tt / 2)
33511
+ const Q = N ? H - Y - 1 : Y, q = h * c(d, n[Q], f);
33512
+ if (t + i < e && M + b < s + Z + q / 2)
33503
33513
  break;
33504
- Z += tt;
33514
+ Z += q;
33505
33515
  }
33506
33516
  if (Y === et)
33507
33517
  continue;
33508
- const it = U ? n.substring(H - et, H - Y) : n.substring(et, Y);
33518
+ const nt = N ? n.substring(H - et, H - Y) : n.substring(et, Y);
33509
33519
  E = b === 0 ? 0 : (s + Z / 2 - M) / b;
33510
- const F = xe(v, m, E), dt = xe(A, y, E);
33511
- $.push([F, dt, Z / 2, B, it]), s += Z;
33520
+ const F = xe(v, m, E), ct = xe(A, y, E);
33521
+ J.push([F, ct, Z / 2, B, nt]), s += Z;
33512
33522
  }
33513
- return $;
33523
+ return J;
33514
33524
  }
33515
33525
  const Vn = Ee(), Ui = [], ci = [], ui = [], ji = [];
33516
33526
  function md(r) {
@@ -33567,25 +33577,25 @@ class DE {
33567
33577
  (f[0] != 1 || f[1] != 1) && P.push("scale", f), n && (P.push("strokeStyle", a.strokeStyle), P.push("lineWidth", y), P.push("lineCap", a.lineCap), P.push("lineJoin", a.lineJoin), P.push("miterLimit", a.miterLimit), P.push("setLineDash", [a.lineDash]), P.push("lineDashOffset", a.lineDashOffset)), i && P.push("fillStyle", h.fillStyle), P.push("textBaseline", "middle"), P.push("textAlign", "center");
33568
33578
  const z = 0.5 - m;
33569
33579
  let j = m * C + z * y;
33570
- const U = [], X = [];
33571
- let $ = 0, ot = 0, W = 0, Y = 0, H;
33580
+ const N = [], X = [];
33581
+ let J = 0, rt = 0, W = 0, Y = 0, H;
33572
33582
  for (let B = 0, et = v.length; B < et; B += 2) {
33573
33583
  const Z = v[B];
33574
33584
  if (Z === `
33575
33585
  `) {
33576
- ot += $, $ = 0, j = m * C + z * y, ++Y;
33586
+ rt += J, J = 0, j = m * C + z * y, ++Y;
33577
33587
  continue;
33578
33588
  }
33579
- const it = v[B + 1] || c.font;
33580
- it !== H && (n && U.push("font", it), i && X.push("font", it), H = it), $ = Math.max($, w[W]);
33589
+ const nt = v[B + 1] || c.font;
33590
+ nt !== H && (n && N.push("font", nt), i && X.push("font", nt), H = nt), J = Math.max(J, w[W]);
33581
33591
  const F = [
33582
33592
  Z,
33583
33593
  j + z * M[W] + m * (M[W] - E[Y]),
33584
- 0.5 * (y + $) + ot
33594
+ 0.5 * (y + J) + rt
33585
33595
  ];
33586
- j += M[W], n && U.push("strokeText", F), i && X.push("fillText", F), ++W;
33596
+ j += M[W], n && N.push("strokeText", F), i && X.push("fillText", F), ++W;
33587
33597
  }
33588
- return Array.prototype.push.apply(P, U), Array.prototype.push.apply(P, X), this.labels_[s] = R, R;
33598
+ return Array.prototype.push.apply(P, N), Array.prototype.push.apply(P, X), this.labels_[s] = R, R;
33589
33599
  }
33590
33600
  /**
33591
33601
  * @param {CanvasRenderingContext2D} context Context.
@@ -33779,53 +33789,53 @@ class DE {
33779
33789
  ), gv(this.renderedTransform_, i));
33780
33790
  let f = 0;
33781
33791
  const p = n.length;
33782
- let m = 0, y, v, A, b, M, w, E, C, P, D, O, R, z = 0, j = 0, U = null, X = null;
33783
- const $ = this.coordinateCache_, ot = this.viewRotation_, W = Math.round(Math.atan2(-i[1], i[0]) * 1e12) / 1e12, Y = (
33792
+ let m = 0, y, v, A, b, M, w, E, C, P, D, O, R, z = 0, j = 0, N = null, X = null;
33793
+ const J = this.coordinateCache_, rt = this.viewRotation_, W = Math.round(Math.atan2(-i[1], i[0]) * 1e12) / 1e12, Y = (
33784
33794
  /** @type {import("../../render.js").State} */
33785
33795
  {
33786
33796
  context: t,
33787
33797
  pixelRatio: this.pixelRatio,
33788
33798
  resolution: this.resolution,
33789
- rotation: ot
33799
+ rotation: rt
33790
33800
  }
33791
33801
  ), H = this.instructions != n || this.overlaps ? 0 : 200;
33792
- let B, et, Z, it;
33802
+ let B, et, Z, nt;
33793
33803
  for (; f < p; ) {
33794
33804
  const F = n[f];
33795
33805
  switch (
33796
33806
  /** @type {import("./Instruction.js").default} */
33797
33807
  F[0]
33798
33808
  ) {
33799
- case st.BEGIN_GEOMETRY:
33809
+ case ot.BEGIN_GEOMETRY:
33800
33810
  B = /** @type {import("../../Feature.js").FeatureLike} */
33801
- F[1], it = F[3], B.getGeometry() ? h !== void 0 && !me(h, it.getExtent()) ? f = /** @type {number} */
33811
+ F[1], nt = F[3], B.getGeometry() ? h !== void 0 && !me(h, nt.getExtent()) ? f = /** @type {number} */
33802
33812
  F[2] + 1 : ++f : f = /** @type {number} */
33803
33813
  F[2];
33804
33814
  break;
33805
- case st.BEGIN_PATH:
33815
+ case ot.BEGIN_PATH:
33806
33816
  z > H && (this.fill_(t), z = 0), j > H && (t.stroke(), j = 0), !z && !j && (t.beginPath(), b = NaN, M = NaN), ++f;
33807
33817
  break;
33808
- case st.CIRCLE:
33818
+ case ot.CIRCLE:
33809
33819
  m = /** @type {number} */
33810
33820
  F[1];
33811
- const Q = d[m], tt = d[m + 1], lt = d[m + 2], Dt = d[m + 3], Ht = lt - Q, Ce = Dt - tt, Ue = Math.sqrt(Ht * Ht + Ce * Ce);
33812
- t.moveTo(Q + Ue, tt), t.arc(Q, tt, Ue, 0, 2 * Math.PI, !0), ++f;
33821
+ const Q = d[m], q = d[m + 1], at = d[m + 2], Dt = d[m + 3], Ht = at - Q, Ce = Dt - q, Ue = Math.sqrt(Ht * Ht + Ce * Ce);
33822
+ t.moveTo(Q + Ue, q), t.arc(Q, q, Ue, 0, 2 * Math.PI, !0), ++f;
33813
33823
  break;
33814
- case st.CLOSE_PATH:
33824
+ case ot.CLOSE_PATH:
33815
33825
  t.closePath(), ++f;
33816
33826
  break;
33817
- case st.CUSTOM:
33827
+ case ot.CUSTOM:
33818
33828
  m = /** @type {number} */
33819
33829
  F[1], y = F[2];
33820
33830
  const Ti = (
33821
33831
  /** @type {import("../../geom/SimpleGeometry.js").default} */
33822
33832
  F[3]
33823
33833
  ), Le = F[4], Mi = F.length == 6 ? F[5] : void 0;
33824
- Y.geometry = Ti, Y.feature = B, f in $ || ($[f] = []);
33825
- const je = $[f];
33834
+ Y.geometry = Ti, Y.feature = B, f in J || (J[f] = []);
33835
+ const je = J[f];
33826
33836
  Mi ? Mi(d, m, y, 2, je) : (je[0] = d[m], je[1] = d[m + 1], je.length = 2), Le(je, Y), ++f;
33827
33837
  break;
33828
- case st.DRAW_IMAGE:
33838
+ case ot.DRAW_IMAGE:
33829
33839
  m = /** @type {number} */
33830
33840
  F[1], y = /** @type {number} */
33831
33841
  F[2], C = /** @type {HTMLCanvasElement|HTMLVideoElement|HTMLImageElement} */
@@ -33899,7 +33909,7 @@ class DE {
33899
33909
  F.length > 17 ? (He = /** @type {Array<number>} */
33900
33910
  F[16], We = /** @type {boolean} */
33901
33911
  F[17], Se = /** @type {boolean} */
33902
- F[18]) : (He = vn, We = !1, Se = !1), Mn && W ? ri += ot : !Mn && !W && (ri -= ot);
33912
+ F[18]) : (He = vn, We = !1, Se = !1), Mn && W ? ri += rt : !Mn && !W && (ri -= rt);
33903
33913
  let Ii = 0;
33904
33914
  for (; m < y; m += 2) {
33905
33915
  if (Ie && Ie[Ii++] < Qt / this.pixelRatio)
@@ -33929,7 +33939,7 @@ class DE {
33929
33939
  De,
33930
33940
  We ? (
33931
33941
  /** @type {Array<*>} */
33932
- U
33942
+ N
33933
33943
  ) : null,
33934
33944
  Se ? (
33935
33945
  /** @type {Array<*>} */
@@ -33962,7 +33972,7 @@ class DE {
33962
33972
  }
33963
33973
  ++f;
33964
33974
  break;
33965
- case st.DRAW_CHARS:
33975
+ case ot.DRAW_CHARS:
33966
33976
  const sn = (
33967
33977
  /** @type {number} */
33968
33978
  F[1]
@@ -34099,44 +34109,44 @@ class DE {
34099
34109
  ]);
34100
34110
  }
34101
34111
  c && c.load(Re.map(md));
34102
- for (let zt = 0, q = Re.length; zt < q; ++zt)
34112
+ for (let zt = 0, $ = Re.length; zt < $; ++zt)
34103
34113
  this.replayImageOrLabel_.apply(this, Re[zt]);
34104
34114
  }
34105
34115
  }
34106
34116
  ++f;
34107
34117
  break;
34108
- case st.END_GEOMETRY:
34118
+ case ot.END_GEOMETRY:
34109
34119
  if (a !== void 0) {
34110
34120
  B = /** @type {import("../../Feature.js").FeatureLike} */
34111
34121
  F[1];
34112
- const ae = a(B, it);
34122
+ const ae = a(B, nt);
34113
34123
  if (ae)
34114
34124
  return ae;
34115
34125
  }
34116
34126
  ++f;
34117
34127
  break;
34118
- case st.FILL:
34128
+ case ot.FILL:
34119
34129
  H ? z++ : this.fill_(t), ++f;
34120
34130
  break;
34121
- case st.MOVE_TO_LINE_TO:
34131
+ case ot.MOVE_TO_LINE_TO:
34122
34132
  for (m = /** @type {number} */
34123
34133
  F[1], y = /** @type {number} */
34124
34134
  F[2], et = d[m], Z = d[m + 1], w = et + 0.5 | 0, E = Z + 0.5 | 0, (w !== b || E !== M) && (t.moveTo(et, Z), b = w, M = E), m += 2; m < y; m += 2)
34125
34135
  et = d[m], Z = d[m + 1], w = et + 0.5 | 0, E = Z + 0.5 | 0, (m == y - 2 || w !== b || E !== M) && (t.lineTo(et, Z), b = w, M = E);
34126
34136
  ++f;
34127
34137
  break;
34128
- case st.SET_FILL_STYLE:
34129
- U = F, this.alignFill_ = F[2], z && (this.fill_(t), z = 0, j && (t.stroke(), j = 0)), t.fillStyle = /** @type {import("../../colorlike.js").ColorLike} */
34138
+ case ot.SET_FILL_STYLE:
34139
+ N = F, this.alignFill_ = F[2], z && (this.fill_(t), z = 0, j && (t.stroke(), j = 0)), t.fillStyle = /** @type {import("../../colorlike.js").ColorLike} */
34130
34140
  F[1], ++f;
34131
34141
  break;
34132
- case st.SET_STROKE_STYLE:
34142
+ case ot.SET_STROKE_STYLE:
34133
34143
  X = F, j && (t.stroke(), j = 0), this.setStrokeStyle_(
34134
34144
  t,
34135
34145
  /** @type {Array<*>} */
34136
34146
  F
34137
34147
  ), ++f;
34138
34148
  break;
34139
- case st.STROKE:
34149
+ case ot.STROKE:
34140
34150
  H ? j++ : t.stroke(), ++f;
34141
34151
  break;
34142
34152
  default:
@@ -34295,9 +34305,9 @@ class SE {
34295
34305
  for (let R = 0, z = m.length; R < z; R++)
34296
34306
  if (O[m[R]] > 0) {
34297
34307
  if (!a || y !== "Image" && y !== "Text" || a.includes(P)) {
34298
- const j = (m[R] - 3) / 4, U = n - j % h, X = n - (j / h | 0), $ = s(P, D, U * U + X * X);
34299
- if ($)
34300
- return $;
34308
+ const j = (m[R] - 3) / 4, N = n - j % h, X = n - (j / h | 0), J = s(P, D, N * N + X * X);
34309
+ if (J)
34310
+ return J;
34301
34311
  }
34302
34312
  f.clearRect(0, 0, h, h);
34303
34313
  break;
@@ -34984,13 +34994,13 @@ function FE(r, t, e, i, n, s, a) {
34984
34994
  const R = E[D], z = R.getGeometryFunction()(M);
34985
34995
  if (!z || !me(n, z.getExtent()))
34986
34996
  continue;
34987
- const j = R.clone(), U = j.getFill();
34988
- U && U.setColor(P);
34997
+ const j = R.clone(), N = j.getFill();
34998
+ N && N.setColor(P);
34989
34999
  const X = j.getStroke();
34990
35000
  X && (X.setColor(P), X.setLineDash(null)), j.setText(void 0);
34991
- const $ = R.getImage();
34992
- if ($) {
34993
- const H = $.getImageSize();
35001
+ const J = R.getImage();
35002
+ if (J) {
35003
+ const H = J.getImageSize();
34994
35004
  if (!H)
34995
35005
  continue;
34996
35006
  const B = se(
@@ -35002,21 +35012,21 @@ function FE(r, t, e, i, n, s, a) {
35002
35012
  B.fillStyle = P, B.fillRect(0, 0, et.width, et.height), j.setImage(
35003
35013
  new Bh({
35004
35014
  img: et,
35005
- anchor: $.getAnchor(),
35015
+ anchor: J.getAnchor(),
35006
35016
  anchorXUnits: "pixels",
35007
35017
  anchorYUnits: "pixels",
35008
- offset: $.getOrigin(),
35018
+ offset: J.getOrigin(),
35009
35019
  opacity: 1,
35010
- size: $.getSize(),
35011
- scale: $.getScale(),
35012
- rotation: $.getRotation(),
35013
- rotateWithView: $.getRotateWithView()
35020
+ size: J.getSize(),
35021
+ scale: J.getScale(),
35022
+ rotation: J.getRotation(),
35023
+ rotateWithView: J.getRotateWithView()
35014
35024
  })
35015
35025
  );
35016
35026
  }
35017
- const ot = j.getZIndex() || 0;
35018
- let W = v[ot];
35019
- W || (W = {}, v[ot] = W, W.Polygon = [], W.Circle = [], W.LineString = [], W.Point = []);
35027
+ const rt = j.getZIndex() || 0;
35028
+ let W = v[rt];
35029
+ W || (W = {}, v[rt] = W, W.Polygon = [], W.Circle = [], W.LineString = [], W.Point = []);
35020
35030
  const Y = z.getType();
35021
35031
  if (Y === "GeometryCollection") {
35022
35032
  const H = (
@@ -35584,17 +35594,17 @@ class QE extends Dg {
35584
35594
  z = z && !B;
35585
35595
  }
35586
35596
  }
35587
- ), U = xf(M), X = i.getFeaturesInExtent(U);
35597
+ ), N = xf(M), X = i.getFeaturesInExtent(N);
35588
35598
  A && X.sort(A);
35589
35599
  for (let W = 0, Y = X.length; W < Y; ++W)
35590
35600
  j(X[W]);
35591
35601
  this.renderedFeatures_ = X, this.ready = z;
35592
- const $ = P.finish(), ot = new yd(
35602
+ const J = P.finish(), rt = new yd(
35593
35603
  M,
35594
35604
  p,
35595
35605
  m,
35596
35606
  i.getOverlaps(),
35597
- $,
35607
+ J,
35598
35608
  e.getRenderBuffer()
35599
35609
  );
35600
35610
  return D && (this.declutterExecutorGroup = new yd(
@@ -35604,7 +35614,7 @@ class QE extends Dg {
35604
35614
  i.getOverlaps(),
35605
35615
  D.finish(),
35606
35616
  e.getRenderBuffer()
35607
- )), this.renderedResolution_ = p, this.renderedRevision_ = y, this.renderedRenderOrder_ = A, this.renderedExtent_ = w, this.wrappedRenderedExtent_ = M, this.renderedCenter_ = b, this.renderedProjection_ = f, this.replayGroup_ = ot, this.hitDetectionImageData_ = null, this.replayGroupChanged = !0, !0;
35617
+ )), this.renderedResolution_ = p, this.renderedRevision_ = y, this.renderedRenderOrder_ = A, this.renderedExtent_ = w, this.wrappedRenderedExtent_ = M, this.renderedCenter_ = b, this.renderedProjection_ = f, this.replayGroup_ = rt, this.hitDetectionImageData_ = null, this.replayGroupChanged = !0, !0;
35608
35618
  }
35609
35619
  /**
35610
35620
  * @param {import("../../Feature.js").default} feature Feature.
@@ -35970,7 +35980,7 @@ class eC extends _a {
35970
35980
  this.labelActiveNode_ = typeof i == "string" ? document.createTextNode(i) : i;
35971
35981
  const n = t.tipLabel ? t.tipLabel : "Toggle full-screen";
35972
35982
  this.button_ = document.createElement("button"), this.button_.title = n, this.button_.setAttribute("type", "button"), this.button_.appendChild(this.labelNode_), this.button_.addEventListener(
35973
- ut.CLICK,
35983
+ dt.CLICK,
35974
35984
  this.handleClick_.bind(this),
35975
35985
  !1
35976
35986
  ), this.setClassName_(this.button_, this.isInFullscreen_), this.element.className = `${this.cssClassName_} ${ps} ${ga}`, this.element.appendChild(this.button_);