ow-eengine-power 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1583,8 +1583,8 @@ V.getRotation = function(e, t) {
1583
1583
  };
1584
1584
  V.multiply = function(e, t, n) {
1585
1585
  _.typeOf.object("left", e), _.typeOf.object("right", t), _.typeOf.object("result", n);
1586
- const i = e[0], s = e[1], a = e[2], r = e[3], f = e[4], c = e[5], h = e[6], d = e[7], p = e[8], m = e[9], T = e[10], y = e[11], w = e[12], A = e[13], E = e[14], b = e[15], D = t[0], O = t[1], B = t[2], z = t[3], F = t[4], N = t[5], U = t[6], M = t[7], j = t[8], Y = t[9], o = t[10], x = t[11], P = t[12], L = t[13], H = t[14], X = t[15], J = i * D + f * O + p * B + w * z, K = s * D + c * O + m * B + A * z, ce = a * D + h * O + T * B + E * z, le = r * D + d * O + y * B + b * z, Ce = i * F + f * N + p * U + w * M, xe = s * F + c * N + m * U + A * M, Ae = a * F + h * N + T * U + E * M, Le = r * F + d * N + y * U + b * M, Ye = i * j + f * Y + p * o + w * x, it = s * j + c * Y + m * o + A * x, ut = a * j + h * Y + T * o + E * x, Ne = r * j + d * Y + y * o + b * x, yt = i * P + f * L + p * H + w * X, Et = s * P + c * L + m * H + A * X, Ct = a * P + h * L + T * H + E * X, on = r * P + d * L + y * H + b * X;
1587
- return n[0] = J, n[1] = K, n[2] = ce, n[3] = le, n[4] = Ce, n[5] = xe, n[6] = Ae, n[7] = Le, n[8] = Ye, n[9] = it, n[10] = ut, n[11] = Ne, n[12] = yt, n[13] = Et, n[14] = Ct, n[15] = on, n;
1586
+ const i = e[0], s = e[1], a = e[2], r = e[3], f = e[4], c = e[5], h = e[6], d = e[7], p = e[8], m = e[9], T = e[10], y = e[11], w = e[12], A = e[13], E = e[14], b = e[15], D = t[0], O = t[1], B = t[2], z = t[3], F = t[4], N = t[5], U = t[6], M = t[7], j = t[8], Y = t[9], o = t[10], x = t[11], P = t[12], L = t[13], H = t[14], X = t[15], J = i * D + f * O + p * B + w * z, K = s * D + c * O + m * B + A * z, ce = a * D + h * O + T * B + E * z, le = r * D + d * O + y * B + b * z, Ce = i * F + f * N + p * U + w * M, xe = s * F + c * N + m * U + A * M, Ae = a * F + h * N + T * U + E * M, Le = r * F + d * N + y * U + b * M, Ye = i * j + f * Y + p * o + w * x, st = s * j + c * Y + m * o + A * x, ut = a * j + h * Y + T * o + E * x, Ne = r * j + d * Y + y * o + b * x, yt = i * P + f * L + p * H + w * X, Et = s * P + c * L + m * H + A * X, Ct = a * P + h * L + T * H + E * X, on = r * P + d * L + y * H + b * X;
1587
+ return n[0] = J, n[1] = K, n[2] = ce, n[3] = le, n[4] = Ce, n[5] = xe, n[6] = Ae, n[7] = Le, n[8] = Ye, n[9] = st, n[10] = ut, n[11] = Ne, n[12] = yt, n[13] = Et, n[14] = Ct, n[15] = on, n;
1588
1588
  };
1589
1589
  V.add = function(e, t, n) {
1590
1590
  return _.typeOf.object("left", e), _.typeOf.object("right", t), _.typeOf.object("result", n), n[0] = e[0] + t[0], n[1] = e[1] + t[1], n[2] = e[2] + t[2], n[3] = e[3] + t[3], n[4] = e[4] + t[4], n[5] = e[5] + t[5], n[6] = e[6] + t[6], n[7] = e[7] + t[7], n[8] = e[8] + t[8], n[9] = e[9] + t[9], n[10] = e[10] + t[10], n[11] = e[11] + t[11], n[12] = e[12] + t[12], n[13] = e[13] + t[13], n[14] = e[14] + t[14], n[15] = e[15] + t[15], n;
@@ -1666,7 +1666,7 @@ V.inverse = function(e, t) {
1666
1666
  let b = m * E, D = T * A, O = p * E, B = T * w, z = p * A, F = m * w, N = d * E, U = T * y, M = d * A, j = m * y, Y = d * w, o = p * y;
1667
1667
  const x = b * f + B * c + z * h - (D * f + O * c + F * h), P = D * r + N * c + j * h - (b * r + U * c + M * h), L = O * r + U * f + Y * h - (B * r + N * f + o * h), H = F * r + M * f + o * c - (z * r + j * f + Y * c), X = D * i + O * s + F * a - (b * i + B * s + z * a), J = b * n + U * s + M * a - (D * n + N * s + j * a), K = B * n + N * i + o * a - (O * n + U * i + Y * a), ce = z * n + j * i + Y * s - (F * n + M * i + o * s);
1668
1668
  b = s * h, D = a * c, O = i * h, B = a * f, z = i * c, F = s * f, N = n * h, U = a * r, M = n * c, j = s * r, Y = n * f, o = i * r;
1669
- const le = b * w + B * A + z * E - (D * w + O * A + F * E), Ce = D * y + N * A + j * E - (b * y + U * A + M * E), xe = O * y + U * w + Y * E - (B * y + N * w + o * E), Ae = F * y + M * w + o * A - (z * y + j * w + Y * A), Le = O * m + F * T + D * p - (z * T + b * p + B * m), Ye = M * T + b * d + U * m - (N * m + j * T + D * d), it = N * p + o * T + B * d - (Y * T + O * d + U * p), ut = Y * m + z * d + j * p - (M * p + o * m + F * d);
1669
+ const le = b * w + B * A + z * E - (D * w + O * A + F * E), Ce = D * y + N * A + j * E - (b * y + U * A + M * E), xe = O * y + U * w + Y * E - (B * y + N * w + o * E), Ae = F * y + M * w + o * A - (z * y + j * w + Y * A), Le = O * m + F * T + D * p - (z * T + b * p + B * m), Ye = M * T + b * d + U * m - (N * m + j * T + D * d), st = N * p + o * T + B * d - (Y * T + O * d + U * p), ut = Y * m + z * d + j * p - (M * p + o * m + F * d);
1670
1670
  let Ne = n * x + i * P + s * L + a * H;
1671
1671
  if (Math.abs(Ne) < S.EPSILON21) {
1672
1672
  if (G.equalsEpsilon(
@@ -1682,7 +1682,7 @@ V.inverse = function(e, t) {
1682
1682
  "matrix is not invertible because its determinate is zero."
1683
1683
  );
1684
1684
  }
1685
- return Ne = 1 / Ne, t[0] = x * Ne, t[1] = P * Ne, t[2] = L * Ne, t[3] = H * Ne, t[4] = X * Ne, t[5] = J * Ne, t[6] = K * Ne, t[7] = ce * Ne, t[8] = le * Ne, t[9] = Ce * Ne, t[10] = xe * Ne, t[11] = Ae * Ne, t[12] = Le * Ne, t[13] = Ye * Ne, t[14] = it * Ne, t[15] = ut * Ne, t;
1685
+ return Ne = 1 / Ne, t[0] = x * Ne, t[1] = P * Ne, t[2] = L * Ne, t[3] = H * Ne, t[4] = X * Ne, t[5] = J * Ne, t[6] = K * Ne, t[7] = ce * Ne, t[8] = le * Ne, t[9] = Ce * Ne, t[10] = xe * Ne, t[11] = Ae * Ne, t[12] = Le * Ne, t[13] = Ye * Ne, t[14] = st * Ne, t[15] = ut * Ne, t;
1686
1686
  };
1687
1687
  V.inverseTransformation = function(e, t) {
1688
1688
  _.typeOf.object("matrix", e), _.typeOf.object("result", t);
@@ -4071,7 +4071,7 @@ function hi() {
4071
4071
  function p_() {
4072
4072
  return !0;
4073
4073
  }
4074
- function rt(e, t) {
4074
+ function at(e, t) {
4075
4075
  t = g(
4076
4076
  t,
4077
4077
  "This object was destroyed, i.e., destroy() was called."
@@ -4327,7 +4327,7 @@ Bt.prototype.isDestroyed = function() {
4327
4327
  return !1;
4328
4328
  };
4329
4329
  Bt.prototype.destroy = function() {
4330
- return this._gl.deleteBuffer(this._buffer), rt(this);
4330
+ return this._gl.deleteBuffer(this._buffer), at(this);
4331
4331
  };
4332
4332
  let Bi;
4333
4333
  const pt = {
@@ -5563,10 +5563,10 @@ pe.prototype.surfaceArea = function(e) {
5563
5563
  });
5564
5564
  });
5565
5565
  };
5566
- function kn(e) {
5566
+ function Vn(e) {
5567
5567
  this._ellipsoid = g(e, pe.default), this._semimajorAxis = this._ellipsoid.maximumRadius, this._oneOverSemimajorAxis = 1 / this._semimajorAxis;
5568
5568
  }
5569
- Object.defineProperties(kn.prototype, {
5569
+ Object.defineProperties(Vn.prototype, {
5570
5570
  /**
5571
5571
  * Gets the {@link Ellipsoid}.
5572
5572
  *
@@ -5581,11 +5581,11 @@ Object.defineProperties(kn.prototype, {
5581
5581
  }
5582
5582
  }
5583
5583
  });
5584
- kn.prototype.project = function(e, t) {
5584
+ Vn.prototype.project = function(e, t) {
5585
5585
  const n = this._semimajorAxis, i = e.longitude * n, s = e.latitude * n, a = e.height;
5586
5586
  return l(t) ? (t.x = i, t.y = s, t.z = a, t) : new u(i, s, a);
5587
5587
  };
5588
- kn.prototype.unproject = function(e, t) {
5588
+ Vn.prototype.unproject = function(e, t) {
5589
5589
  if (!l(e))
5590
5590
  throw new C("cartesian is required");
5591
5591
  const n = this._oneOverSemimajorAxis, i = e.x * n, s = e.y * n, a = e.z;
@@ -5728,7 +5728,7 @@ const H_ = {
5728
5728
  * @constant
5729
5729
  */
5730
5730
  MODIFIED_JULIAN_DATE_DIFFERENCE: 24000005e-1
5731
- }, ct = Object.freeze(H_), j_ = {
5731
+ }, ht = Object.freeze(H_), j_ = {
5732
5732
  /**
5733
5733
  * Represents the coordinated Universal Time (UTC) time standard.
5734
5734
  *
@@ -5802,21 +5802,21 @@ function Lf(e, t) {
5802
5802
  );
5803
5803
  }
5804
5804
  function Hi(e, t, n) {
5805
- const i = t / ct.SECONDS_PER_DAY | 0;
5806
- return e += i, t -= ct.SECONDS_PER_DAY * i, t < 0 && (e--, t += ct.SECONDS_PER_DAY), n.dayNumber = e, n.secondsOfDay = t, n;
5805
+ const i = t / ht.SECONDS_PER_DAY | 0;
5806
+ return e += i, t -= ht.SECONDS_PER_DAY * i, t < 0 && (e--, t += ht.SECONDS_PER_DAY), n.dayNumber = e, n.secondsOfDay = t, n;
5807
5807
  }
5808
5808
  function Fh(e, t, n, i, s, a, r) {
5809
5809
  const f = (t - 14) / 12 | 0, c = e + 4800 + f;
5810
5810
  let h = (1461 * c / 4 | 0) + (367 * (t - 2 - 12 * f) / 12 | 0) - (3 * ((c + 100) / 100 | 0) / 4 | 0) + n - 32075;
5811
5811
  i = i - 12, i < 0 && (i += 24);
5812
- const d = a + (i * ct.SECONDS_PER_HOUR + s * ct.SECONDS_PER_MINUTE + r * ct.SECONDS_PER_MILLISECOND);
5812
+ const d = a + (i * ht.SECONDS_PER_HOUR + s * ht.SECONDS_PER_MINUTE + r * ht.SECONDS_PER_MILLISECOND);
5813
5813
  return d >= 43200 && (h -= 1), [h, d];
5814
5814
  }
5815
5815
  const Y_ = /^(\d{4})$/, X_ = /^(\d{4})-(\d{2})$/, $_ = /^(\d{4})-?(\d{3})$/, Z_ = /^(\d{4})-?W(\d{2})-?(\d{1})?$/, K_ = /^(\d{4})-?(\d{2})-?(\d{2})$/, Mh = /([Z+\-])?(\d{2})?:?(\d{2})?$/, Q_ = /^(\d{2})(\.\d+)?/.source + Mh.source, J_ = /^(\d{2}):?(\d{2})(\.\d+)?/.source + Mh.source, e1 = /^(\d{2}):?(\d{2}):?(\d{2})(\.\d+)?/.source + Mh.source, vn = "Invalid ISO 8601 date.";
5816
5816
  function ee(e, t, n) {
5817
5817
  this.dayNumber = void 0, this.secondsOfDay = void 0, e = g(e, 0), t = g(t, 0), n = g(n, Be.UTC);
5818
5818
  const i = e | 0;
5819
- t = t + (e - i) * ct.SECONDS_PER_DAY, Hi(i, t, this), n === Be.UTC && Pa(this);
5819
+ t = t + (e - i) * ht.SECONDS_PER_DAY, Hi(i, t, this), n === Be.UTC && Pa(this);
5820
5820
  }
5821
5821
  ee.fromGregorianDate = function(e, t) {
5822
5822
  if (!(e instanceof zh))
@@ -5959,11 +5959,11 @@ ee.toGregorianDate = function(e, t) {
5959
5959
  const h = 80 * r / 2447 | 0, d = r - (2447 * h / 80 | 0) | 0;
5960
5960
  r = h / 11 | 0;
5961
5961
  const p = h + 2 - 12 * r | 0, m = 100 * (f - 49) + c + r | 0;
5962
- let T = a / ct.SECONDS_PER_HOUR | 0, y = a - T * ct.SECONDS_PER_HOUR;
5963
- const w = y / ct.SECONDS_PER_MINUTE | 0;
5964
- y = y - w * ct.SECONDS_PER_MINUTE;
5962
+ let T = a / ht.SECONDS_PER_HOUR | 0, y = a - T * ht.SECONDS_PER_HOUR;
5963
+ const w = y / ht.SECONDS_PER_MINUTE | 0;
5964
+ y = y - w * ht.SECONDS_PER_MINUTE;
5965
5965
  let A = y | 0;
5966
- const E = (y - A) / ct.SECONDS_PER_MILLISECOND;
5966
+ const E = (y - A) / ht.SECONDS_PER_MILLISECOND;
5967
5967
  return T += 12, T > 23 && (T -= 24), n && (A += 1), l(t) ? (t.year = m, t.month = p, t.day = d, t.hour = T, t.minute = w, t.second = A, t.millisecond = E, t.isLeapSecond = n, t) : new zh(
5968
5968
  m,
5969
5969
  p,
@@ -6027,21 +6027,21 @@ ee.equalsEpsilon = function(e, t, n) {
6027
6027
  ee.totalDays = function(e) {
6028
6028
  if (!l(e))
6029
6029
  throw new C("julianDate is required.");
6030
- return e.dayNumber + e.secondsOfDay / ct.SECONDS_PER_DAY;
6030
+ return e.dayNumber + e.secondsOfDay / ht.SECONDS_PER_DAY;
6031
6031
  };
6032
6032
  ee.secondsDifference = function(e, t) {
6033
6033
  if (!l(e))
6034
6034
  throw new C("left is required.");
6035
6035
  if (!l(t))
6036
6036
  throw new C("right is required.");
6037
- return (e.dayNumber - t.dayNumber) * ct.SECONDS_PER_DAY + (e.secondsOfDay - t.secondsOfDay);
6037
+ return (e.dayNumber - t.dayNumber) * ht.SECONDS_PER_DAY + (e.secondsOfDay - t.secondsOfDay);
6038
6038
  };
6039
6039
  ee.daysDifference = function(e, t) {
6040
6040
  if (!l(e))
6041
6041
  throw new C("left is required.");
6042
6042
  if (!l(t))
6043
6043
  throw new C("right is required.");
6044
- const n = e.dayNumber - t.dayNumber, i = (e.secondsOfDay - t.secondsOfDay) / ct.SECONDS_PER_DAY;
6044
+ const n = e.dayNumber - t.dayNumber, i = (e.secondsOfDay - t.secondsOfDay) / ht.SECONDS_PER_DAY;
6045
6045
  return n + i;
6046
6046
  };
6047
6047
  ee.computeTaiMinusUtc = function(e) {
@@ -6074,7 +6074,7 @@ ee.addMinutes = function(e, t, n) {
6074
6074
  throw new C("minutes is required.");
6075
6075
  if (!l(n))
6076
6076
  throw new C("result is required.");
6077
- const i = e.secondsOfDay + t * ct.SECONDS_PER_MINUTE;
6077
+ const i = e.secondsOfDay + t * ht.SECONDS_PER_MINUTE;
6078
6078
  return Hi(e.dayNumber, i, n);
6079
6079
  };
6080
6080
  ee.addHours = function(e, t, n) {
@@ -6084,7 +6084,7 @@ ee.addHours = function(e, t, n) {
6084
6084
  throw new C("hours is required.");
6085
6085
  if (!l(n))
6086
6086
  throw new C("result is required.");
6087
- const i = e.secondsOfDay + t * ct.SECONDS_PER_HOUR;
6087
+ const i = e.secondsOfDay + t * ht.SECONDS_PER_HOUR;
6088
6088
  return Hi(e.dayNumber, i, n);
6089
6089
  };
6090
6090
  ee.addDays = function(e, t, n) {
@@ -6231,9 +6231,9 @@ function t1() {
6231
6231
  return B(Ce + (O + 1) * K / (K + p));
6232
6232
  }
6233
6233
  function L(K) {
6234
- var ce = [], le = K.length, Ce, xe = 0, Ae = y, Le = T, Ye, it, ut, Ne, yt, Et, Ct, on, rn;
6235
- for (Ye = K.lastIndexOf(w), Ye < 0 && (Ye = 0), it = 0; it < Ye; ++it)
6236
- K.charCodeAt(it) >= 128 && N("not-basic"), ce.push(K.charCodeAt(it));
6234
+ var ce = [], le = K.length, Ce, xe = 0, Ae = y, Le = T, Ye, st, ut, Ne, yt, Et, Ct, on, rn;
6235
+ for (Ye = K.lastIndexOf(w), Ye < 0 && (Ye = 0), st = 0; st < Ye; ++st)
6236
+ K.charCodeAt(st) >= 128 && N("not-basic"), ce.push(K.charCodeAt(st));
6237
6237
  for (ut = Ye > 0 ? Ye + 1 : 0; ut < le; ) {
6238
6238
  for (Ne = xe, yt = 1, Et = c; ut >= le && N("invalid-input"), Ct = o(K.charCodeAt(ut++)), (Ct >= c || Ct > B((f - xe) / yt)) && N("overflow"), xe += Ct * yt, on = Et <= Le ? h : Et >= Le + d ? d : Et - Le, !(Ct < on); Et += c)
6239
6239
  rn = c - on, yt > B(f / rn) && N("overflow"), yt *= rn;
@@ -6242,7 +6242,7 @@ function t1() {
6242
6242
  return Y(ce);
6243
6243
  }
6244
6244
  function H(K) {
6245
- var ce, le, Ce, xe, Ae, Le, Ye, it, ut, Ne, yt, Et = [], Ct, on, rn, On;
6245
+ var ce, le, Ce, xe, Ae, Le, Ye, st, ut, Ne, yt, Et = [], Ct, on, rn, On;
6246
6246
  for (K = j(K), Ct = K.length, ce = y, le = 0, Ae = T, Le = 0; Le < Ct; ++Le)
6247
6247
  yt = K[Le], yt < 128 && Et.push(z(yt));
6248
6248
  for (Ce = xe = Et.length, xe && Et.push(w); Ce < Ct; ) {
@@ -6250,11 +6250,11 @@ function t1() {
6250
6250
  yt = K[Le], yt >= ce && yt < Ye && (Ye = yt);
6251
6251
  for (on = Ce + 1, Ye - ce > B((f - le) / on) && N("overflow"), le += (Ye - ce) * on, ce = Ye, Le = 0; Le < Ct; ++Le)
6252
6252
  if (yt = K[Le], yt < ce && ++le > f && N("overflow"), yt == ce) {
6253
- for (it = le, ut = c; Ne = ut <= Ae ? h : ut >= Ae + d ? d : ut - Ae, !(it < Ne); ut += c)
6254
- On = it - Ne, rn = c - Ne, Et.push(
6253
+ for (st = le, ut = c; Ne = ut <= Ae ? h : ut >= Ae + d ? d : ut - Ae, !(st < Ne); ut += c)
6254
+ On = st - Ne, rn = c - Ne, Et.push(
6255
6255
  z(x(Ne + On % rn, 0))
6256
- ), it = B(On / rn);
6257
- Et.push(z(x(it, 0))), Ae = P(le, on, Ce == xe), le = 0, ++Ce;
6256
+ ), st = B(On / rn);
6257
+ Et.push(z(x(st, 0))), Ae = P(le, on, Ce == xe), le = 0, ++Ce;
6258
6258
  }
6259
6259
  ++le, ++ce;
6260
6260
  }
@@ -7020,8 +7020,8 @@ function i1() {
7020
7020
  var Ye = J.exec(Ae);
7021
7021
  if (!Ye)
7022
7022
  break;
7023
- var it = Ye.index + Ye[0].length;
7024
- Le = Math.max(Le, it);
7023
+ var st = Ye.index + Ye[0].length;
7024
+ Le = Math.max(Le, st);
7025
7025
  }
7026
7026
  if (Le > -1 ? Ae = Ae.slice(0, Le) + Ae.slice(Le).replace(X, "") : Ae = Ae.replace(X, ""), !(Ae.length <= ce[0].length) && !(P.ignore && P.ignore.test(Ae))) {
7027
7027
  xe = le + Ae.length;
@@ -7569,11 +7569,11 @@ const c1 = /^blob:/i;
7569
7569
  function Id(e) {
7570
7570
  return _.typeOf.string("uri", e), c1.test(e);
7571
7571
  }
7572
- let Hn;
7572
+ let jn;
7573
7573
  function ih(e) {
7574
- l(Hn) || (Hn = document.createElement("a")), Hn.href = window.location.href;
7575
- const t = Hn.host, n = Hn.protocol;
7576
- return Hn.href = e, Hn.href = Hn.href, n !== Hn.protocol || t !== Hn.host;
7574
+ l(jn) || (jn = document.createElement("a")), jn.href = window.location.href;
7575
+ const t = jn.host, n = jn.protocol;
7576
+ return jn.href = e, jn.href = jn.href, n !== jn.protocol || t !== jn.host;
7577
7577
  }
7578
7578
  const h1 = /^data:/i;
7579
7579
  function Dd(e) {
@@ -7910,7 +7910,7 @@ const $t = new us({
7910
7910
  });
7911
7911
  $t.maximumLength = Ns;
7912
7912
  $t.reserve(Ns);
7913
- const Xn = [];
7913
+ const $n = [];
7914
7914
  let xi = {};
7915
7915
  const y1 = typeof document < "u" ? new bi(document.location.href) : new bi(), Ba = new Fe();
7916
7916
  function tt() {
@@ -7991,7 +7991,7 @@ function w1(e) {
7991
7991
  }
7992
7992
  function Wd(e) {
7993
7993
  const t = vd(e);
7994
- return e.state = Tt.ACTIVE, Xn.push(e), ++ke.numberOfActiveRequests, ++ke.numberOfActiveRequestsEver, ++xi[e.serverKey], e.requestFunction().then(C1(e)).catch(w1(e)), t;
7994
+ return e.state = Tt.ACTIVE, $n.push(e), ++ke.numberOfActiveRequests, ++ke.numberOfActiveRequestsEver, ++xi[e.serverKey], e.requestFunction().then(C1(e)).catch(w1(e)), t;
7995
7995
  }
7996
7996
  function as(e) {
7997
7997
  const t = e.state === Tt.ACTIVE;
@@ -8003,21 +8003,21 @@ function as(e) {
8003
8003
  }
8004
8004
  tt.update = function() {
8005
8005
  let e, t, n = 0;
8006
- const i = Xn.length;
8006
+ const i = $n.length;
8007
8007
  for (e = 0; e < i; ++e) {
8008
- if (t = Xn[e], t.cancelled && as(t), t.state !== Tt.ACTIVE) {
8008
+ if (t = $n[e], t.cancelled && as(t), t.state !== Tt.ACTIVE) {
8009
8009
  ++n;
8010
8010
  continue;
8011
8011
  }
8012
- n > 0 && (Xn[e - n] = t);
8012
+ n > 0 && ($n[e - n] = t);
8013
8013
  }
8014
- Xn.length -= n;
8014
+ $n.length -= n;
8015
8015
  const s = $t.internalArray, a = $t.length;
8016
8016
  for (e = 0; e < a; ++e)
8017
8017
  Od(s[e]);
8018
8018
  $t.resort();
8019
8019
  const r = Math.max(
8020
- tt.maximumRequests - Xn.length,
8020
+ tt.maximumRequests - $n.length,
8021
8021
  0
8022
8022
  );
8023
8023
  let f = 0;
@@ -8050,7 +8050,7 @@ tt.request = function(e) {
8050
8050
  return;
8051
8051
  if (!tt.throttleRequests || !e.throttle)
8052
8052
  return Wd(e);
8053
- if (Xn.length >= tt.maximumRequests)
8053
+ if ($n.length >= tt.maximumRequests)
8054
8054
  return;
8055
8055
  Od(e);
8056
8056
  const t = $t.insert(e);
@@ -8077,10 +8077,10 @@ tt.clearForSpecs = function() {
8077
8077
  const t = $t.pop();
8078
8078
  as(t);
8079
8079
  }
8080
- const e = Xn.length;
8080
+ const e = $n.length;
8081
8081
  for (let t = 0; t < e; ++t)
8082
- as(Xn[t]);
8083
- Xn.length = 0, xi = {}, ke.numberOfAttemptedRequests = 0, ke.numberOfActiveRequests = 0, ke.numberOfCancelledRequests = 0, ke.numberOfCancelledActiveRequests = 0, ke.numberOfFailedRequests = 0, ke.numberOfActiveRequestsEver = 0, ke.lastNumberOfActiveRequests = 0;
8082
+ as($n[t]);
8083
+ $n.length = 0, xi = {}, ke.numberOfAttemptedRequests = 0, ke.numberOfActiveRequests = 0, ke.numberOfCancelledRequests = 0, ke.numberOfCancelledActiveRequests = 0, ke.numberOfFailedRequests = 0, ke.numberOfActiveRequestsEver = 0, ke.lastNumberOfActiveRequests = 0;
8084
8084
  };
8085
8085
  tt.numberOfActiveRequestsByServer = function(e) {
8086
8086
  return xi[e];
@@ -8141,9 +8141,9 @@ const Pd = function() {
8141
8141
  function ae(e) {
8142
8142
  e = g(e, g.EMPTY_OBJECT), typeof e == "string" && (e = {
8143
8143
  url: e
8144
- }), _.typeOf.string("options.url", e.url), this._url = void 0, this._templateValues = Jn(e.templateValues, {}), this._queryParameters = Jn(e.queryParameters, {}), this.headers = Jn(e.headers, {}), this.request = g(e.request, new Ta()), this.proxy = e.proxy, this.retryCallback = e.retryCallback, this.retryAttempts = g(e.retryAttempts, 0), this._retryCount = 0, g(e.parseUrl, !0) ? this.parseUrl(e.url, !0, !0) : this._url = e.url, this._credits = e.credits;
8144
+ }), _.typeOf.string("options.url", e.url), this._url = void 0, this._templateValues = ei(e.templateValues, {}), this._queryParameters = ei(e.queryParameters, {}), this.headers = ei(e.headers, {}), this.request = g(e.request, new Ta()), this.proxy = e.proxy, this.retryCallback = e.retryCallback, this.retryAttempts = g(e.retryAttempts, 0), this._retryCount = 0, g(e.parseUrl, !0) ? this.parseUrl(e.url, !0, !0) : this._url = e.url, this._credits = e.credits;
8145
8145
  }
8146
- function Jn(e, t) {
8146
+ function ei(e, t) {
8147
8147
  return l(e) ? hn(e) : t;
8148
8148
  }
8149
8149
  ae.createIfNeeded = function(e) {
@@ -8635,7 +8635,7 @@ function I1(e, t) {
8635
8635
  }
8636
8636
  }
8637
8637
  ae.prototype.fetch = function(e) {
8638
- return e = Jn(e, {}), e.method = "GET", this._makeRequest(e);
8638
+ return e = ei(e, {}), e.method = "GET", this._makeRequest(e);
8639
8639
  };
8640
8640
  ae.fetch = function(e) {
8641
8641
  return new ae(e).fetch({
@@ -8645,7 +8645,7 @@ ae.fetch = function(e) {
8645
8645
  });
8646
8646
  };
8647
8647
  ae.prototype.delete = function(e) {
8648
- return e = Jn(e, {}), e.method = "DELETE", this._makeRequest(e);
8648
+ return e = ei(e, {}), e.method = "DELETE", this._makeRequest(e);
8649
8649
  };
8650
8650
  ae.delete = function(e) {
8651
8651
  return new ae(e).delete({
@@ -8656,7 +8656,7 @@ ae.delete = function(e) {
8656
8656
  });
8657
8657
  };
8658
8658
  ae.prototype.head = function(e) {
8659
- return e = Jn(e, {}), e.method = "HEAD", this._makeRequest(e);
8659
+ return e = ei(e, {}), e.method = "HEAD", this._makeRequest(e);
8660
8660
  };
8661
8661
  ae.head = function(e) {
8662
8662
  return new ae(e).head({
@@ -8666,7 +8666,7 @@ ae.head = function(e) {
8666
8666
  });
8667
8667
  };
8668
8668
  ae.prototype.options = function(e) {
8669
- return e = Jn(e, {}), e.method = "OPTIONS", this._makeRequest(e);
8669
+ return e = ei(e, {}), e.method = "OPTIONS", this._makeRequest(e);
8670
8670
  };
8671
8671
  ae.options = function(e) {
8672
8672
  return new ae(e).options({
@@ -8676,7 +8676,7 @@ ae.options = function(e) {
8676
8676
  });
8677
8677
  };
8678
8678
  ae.prototype.post = function(e, t) {
8679
- return _.defined("data", e), t = Jn(t, {}), t.method = "POST", t.data = e, this._makeRequest(t);
8679
+ return _.defined("data", e), t = ei(t, {}), t.method = "POST", t.data = e, this._makeRequest(t);
8680
8680
  };
8681
8681
  ae.post = function(e) {
8682
8682
  return new ae(e).post(e.data, {
@@ -8686,7 +8686,7 @@ ae.post = function(e) {
8686
8686
  });
8687
8687
  };
8688
8688
  ae.prototype.put = function(e, t) {
8689
- return _.defined("data", e), t = Jn(t, {}), t.method = "PUT", t.data = e, this._makeRequest(t);
8689
+ return _.defined("data", e), t = ei(t, {}), t.method = "PUT", t.data = e, this._makeRequest(t);
8690
8690
  };
8691
8691
  ae.put = function(e) {
8692
8692
  return new ae(e).put(e.data, {
@@ -8696,7 +8696,7 @@ ae.put = function(e) {
8696
8696
  });
8697
8697
  };
8698
8698
  ae.prototype.patch = function(e, t) {
8699
- return _.defined("data", e), t = Jn(t, {}), t.method = "PATCH", t.data = e, this._makeRequest(t);
8699
+ return _.defined("data", e), t = ei(t, {}), t.method = "PATCH", t.data = e, this._makeRequest(t);
8700
8700
  };
8701
8701
  ae.patch = function(e) {
8702
8702
  return new ae(e).patch(e.data, {
@@ -8950,7 +8950,7 @@ function Vf(e, t) {
8950
8950
  let p;
8951
8951
  const m = e._addNewLeapSeconds;
8952
8952
  for (let T = 0, y = h.length; T < y; T += e._columnCount) {
8953
- const w = h[T + n], A = h[T + c], E = w + ct.MODIFIED_JULIAN_DATE_DIFFERENCE, b = new ee(E, A, Be.TAI);
8953
+ const w = h[T + n], A = h[T + c], E = w + ht.MODIFIED_JULIAN_DATE_DIFFERENCE, b = new ee(E, A, Be.TAI);
8954
8954
  if (d.push(b), m) {
8955
8955
  if (A !== p && l(p)) {
8956
8956
  const D = ee.leapSeconds, O = nr(
@@ -9696,8 +9696,8 @@ we.computeTemeToPseudoFixedMatrix = function(e, t) {
9696
9696
  const n = vr.dayNumber, i = vr.secondsOfDay;
9697
9697
  let s;
9698
9698
  const a = n - 2451545;
9699
- i >= 43200 ? s = (a + 0.5) / ct.DAYS_PER_JULIAN_CENTURY : s = (a - 0.5) / ct.DAYS_PER_JULIAN_CENTURY;
9700
- const f = ($1 + s * (Z1 + s * (K1 + s * Q1))) * tg % S.TWO_PI, c = eg + J1 * (n - 24515455e-1), h = (i + ct.SECONDS_PER_DAY * 0.5) % ct.SECONDS_PER_DAY, d = f + c * h, p = Math.cos(d), m = Math.sin(d);
9699
+ i >= 43200 ? s = (a + 0.5) / ht.DAYS_PER_JULIAN_CENTURY : s = (a - 0.5) / ht.DAYS_PER_JULIAN_CENTURY;
9700
+ const f = ($1 + s * (Z1 + s * (K1 + s * Q1))) * tg % S.TWO_PI, c = eg + J1 * (n - 24515455e-1), h = (i + ht.SECONDS_PER_DAY * 0.5) % ht.SECONDS_PER_DAY, d = f + c * h, p = Math.cos(d), m = Math.sin(d);
9701
9701
  return l(t) ? (t[0] = p, t[1] = -m, t[2] = 0, t[3] = m, t[4] = p, t[5] = 0, t[6] = 0, t[7] = 0, t[8] = 1, t) : new G(
9702
9702
  p,
9703
9703
  m,
@@ -9768,11 +9768,11 @@ we.computeFixedToIcrfMatrix = function(e, t) {
9768
9768
  return;
9769
9769
  const r = a.x + n.xPoleOffset, f = a.y + n.yPoleOffset, c = 1 / (1 + Math.sqrt(1 - r * r - f * f)), h = ic;
9770
9770
  h[0] = 1 - c * r * r, h[3] = -c * r * f, h[6] = r, h[1] = -c * r * f, h[4] = 1 - c * f * f, h[7] = f, h[2] = -r, h[5] = -f, h[8] = 1 - c * (r * r + f * f);
9771
- const d = G.fromRotationZ(-a.s, sc), p = G.multiply(h, d, ic), m = e.dayNumber, T = e.secondsOfDay - ee.computeTaiMinusUtc(e) + n.ut1MinusUtc, y = m - 2451545, w = T / ct.SECONDS_PER_DAY;
9771
+ const d = G.fromRotationZ(-a.s, sc), p = G.multiply(h, d, ic), m = e.dayNumber, T = e.secondsOfDay - ee.computeTaiMinusUtc(e) + n.ut1MinusUtc, y = m - 2451545, w = T / ht.SECONDS_PER_DAY;
9772
9772
  let A = 0.779057273264 + w + 0.00273781191135448 * (y + w);
9773
9773
  A = A % 1 * S.TWO_PI;
9774
9774
  const E = G.fromRotationZ(A, sc), b = G.multiply(p, E, ic), D = Math.cos(n.xPoleWander), O = Math.cos(n.yPoleWander), B = Math.sin(n.xPoleWander), z = Math.sin(n.yPoleWander);
9775
- let F = i - ng + s / ct.SECONDS_PER_DAY;
9775
+ let F = i - ng + s / ht.SECONDS_PER_DAY;
9776
9776
  F /= 36525;
9777
9777
  const N = -47e-6 * F * S.RADIANS_PER_DEGREE / 3600, U = Math.cos(N), M = Math.sin(N), j = sc;
9778
9778
  return j[0] = D * U, j[1] = D * M, j[2] = B, j[3] = -O * M + z * B * U, j[4] = O * U + z * B * M, j[5] = -z * D, j[6] = -z * M - O * B * U, j[7] = z * U - O * B * M, j[8] = O * D, G.multiply(b, j, t);
@@ -10175,7 +10175,7 @@ be.fromPoints = function(e, t) {
10175
10175
  }
10176
10176
  return t.x = i, t.y = s, t.width = a - i, t.height = r - s, t;
10177
10177
  };
10178
- const Qf = new kn(), Ag = new se(), Eg = new se();
10178
+ const Qf = new Vn(), Ag = new se(), Eg = new se();
10179
10179
  be.fromRectangle = function(e, t, n) {
10180
10180
  if (l(n) || (n = new be()), !l(e))
10181
10181
  return n.x = 0, n.y = 0, n.width = 0, n.height = 0, n;
@@ -10287,7 +10287,7 @@ Mt.isTriangles = function(e) {
10287
10287
  Mt.validate = function(e) {
10288
10288
  return e === Mt.POINTS || e === Mt.LINES || e === Mt.LINE_LOOP || e === Mt.LINE_STRIP || e === Mt.TRIANGLES || e === Mt.TRIANGLE_STRIP || e === Mt.TRIANGLE_FAN;
10289
10289
  };
10290
- const Ze = Object.freeze(Mt), at = {
10290
+ const Ze = Object.freeze(Mt), ct = {
10291
10291
  CULL: 1,
10292
10292
  OCCLUDE: 2,
10293
10293
  EXECUTE_IN_CLOSEST_FRUSTUM: 4,
@@ -10370,10 +10370,10 @@ Object.defineProperties(et.prototype, {
10370
10370
  */
10371
10371
  cull: {
10372
10372
  get: function() {
10373
- return Gt(this, at.CULL);
10373
+ return Gt(this, ct.CULL);
10374
10374
  },
10375
10375
  set: function(e) {
10376
- Gt(this, at.CULL) !== e && (Ni(this, at.CULL, e), this.dirty = !0);
10376
+ Gt(this, ct.CULL) !== e && (Ni(this, ct.CULL, e), this.dirty = !0);
10377
10377
  }
10378
10378
  },
10379
10379
  /**
@@ -10386,10 +10386,10 @@ Object.defineProperties(et.prototype, {
10386
10386
  */
10387
10387
  occlude: {
10388
10388
  get: function() {
10389
- return Gt(this, at.OCCLUDE);
10389
+ return Gt(this, ct.OCCLUDE);
10390
10390
  },
10391
10391
  set: function(e) {
10392
- Gt(this, at.OCCLUDE) !== e && (Ni(this, at.OCCLUDE, e), this.dirty = !0);
10392
+ Gt(this, ct.OCCLUDE) !== e && (Ni(this, ct.OCCLUDE, e), this.dirty = !0);
10393
10393
  }
10394
10394
  },
10395
10395
  /**
@@ -10509,10 +10509,10 @@ Object.defineProperties(et.prototype, {
10509
10509
  */
10510
10510
  castShadows: {
10511
10511
  get: function() {
10512
- return Gt(this, at.CAST_SHADOWS);
10512
+ return Gt(this, ct.CAST_SHADOWS);
10513
10513
  },
10514
10514
  set: function(e) {
10515
- Gt(this, at.CAST_SHADOWS) !== e && (Ni(this, at.CAST_SHADOWS, e), this.dirty = !0);
10515
+ Gt(this, ct.CAST_SHADOWS) !== e && (Ni(this, ct.CAST_SHADOWS, e), this.dirty = !0);
10516
10516
  }
10517
10517
  },
10518
10518
  /**
@@ -10524,10 +10524,10 @@ Object.defineProperties(et.prototype, {
10524
10524
  */
10525
10525
  receiveShadows: {
10526
10526
  get: function() {
10527
- return Gt(this, at.RECEIVE_SHADOWS);
10527
+ return Gt(this, ct.RECEIVE_SHADOWS);
10528
10528
  },
10529
10529
  set: function(e) {
10530
- Gt(this, at.RECEIVE_SHADOWS) !== e && (Ni(this, at.RECEIVE_SHADOWS, e), this.dirty = !0);
10530
+ Gt(this, ct.RECEIVE_SHADOWS) !== e && (Ni(this, ct.RECEIVE_SHADOWS, e), this.dirty = !0);
10531
10531
  }
10532
10532
  },
10533
10533
  /**
@@ -10601,10 +10601,10 @@ Object.defineProperties(et.prototype, {
10601
10601
  */
10602
10602
  executeInClosestFrustum: {
10603
10603
  get: function() {
10604
- return Gt(this, at.EXECUTE_IN_CLOSEST_FRUSTUM);
10604
+ return Gt(this, ct.EXECUTE_IN_CLOSEST_FRUSTUM);
10605
10605
  },
10606
10606
  set: function(e) {
10607
- Gt(this, at.EXECUTE_IN_CLOSEST_FRUSTUM) !== e && (Ni(this, at.EXECUTE_IN_CLOSEST_FRUSTUM, e), this.dirty = !0);
10607
+ Gt(this, ct.EXECUTE_IN_CLOSEST_FRUSTUM) !== e && (Ni(this, ct.EXECUTE_IN_CLOSEST_FRUSTUM, e), this.dirty = !0);
10608
10608
  }
10609
10609
  },
10610
10610
  /**
@@ -10641,10 +10641,10 @@ Object.defineProperties(et.prototype, {
10641
10641
  */
10642
10642
  debugShowBoundingVolume: {
10643
10643
  get: function() {
10644
- return Gt(this, at.DEBUG_SHOW_BOUNDING_VOLUME);
10644
+ return Gt(this, ct.DEBUG_SHOW_BOUNDING_VOLUME);
10645
10645
  },
10646
10646
  set: function(e) {
10647
- Gt(this, at.DEBUG_SHOW_BOUNDING_VOLUME) !== e && (Ni(this, at.DEBUG_SHOW_BOUNDING_VOLUME, e), this.dirty = !0);
10647
+ Gt(this, ct.DEBUG_SHOW_BOUNDING_VOLUME) !== e && (Ni(this, ct.DEBUG_SHOW_BOUNDING_VOLUME, e), this.dirty = !0);
10648
10648
  }
10649
10649
  },
10650
10650
  /**
@@ -10716,10 +10716,10 @@ Object.defineProperties(et.prototype, {
10716
10716
  */
10717
10717
  pickOnly: {
10718
10718
  get: function() {
10719
- return Gt(this, at.PICK_ONLY);
10719
+ return Gt(this, ct.PICK_ONLY);
10720
10720
  },
10721
10721
  set: function(e) {
10722
- Gt(this, at.PICK_ONLY) !== e && (Ni(this, at.PICK_ONLY, e), this.dirty = !0);
10722
+ Gt(this, ct.PICK_ONLY) !== e && (Ni(this, ct.PICK_ONLY, e), this.dirty = !0);
10723
10723
  }
10724
10724
  },
10725
10725
  /**
@@ -10731,10 +10731,10 @@ Object.defineProperties(et.prototype, {
10731
10731
  */
10732
10732
  depthForTranslucentClassification: {
10733
10733
  get: function() {
10734
- return Gt(this, at.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION);
10734
+ return Gt(this, ct.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION);
10735
10735
  },
10736
10736
  set: function(e) {
10737
- Gt(this, at.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION) !== e && (Ni(this, at.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION, e), this.dirty = !0);
10737
+ Gt(this, ct.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION) !== e && (Ni(this, ct.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION, e), this.dirty = !0);
10738
10738
  }
10739
10739
  }
10740
10740
  });
@@ -11386,7 +11386,7 @@ function Pr(e, t, n) {
11386
11386
  n._getRenderbuffer()
11387
11387
  );
11388
11388
  }
11389
- function Vn(e) {
11389
+ function Gn(e) {
11390
11390
  e = g(e, g.EMPTY_OBJECT);
11391
11391
  const t = e.context;
11392
11392
  _.defined("options.context", t);
@@ -11481,7 +11481,7 @@ function Vn(e) {
11481
11481
  }
11482
11482
  this._unBind();
11483
11483
  }
11484
- Object.defineProperties(Vn.prototype, {
11484
+ Object.defineProperties(Gn.prototype, {
11485
11485
  /**
11486
11486
  * The status of the framebuffer. If the status is not WebGLConstants.FRAMEBUFFER_COMPLETE,
11487
11487
  * a {@link DeveloperError} will be thrown when attempting to render to the framebuffer.
@@ -11538,43 +11538,43 @@ Object.defineProperties(Vn.prototype, {
11538
11538
  }
11539
11539
  }
11540
11540
  });
11541
- Vn.prototype._bind = function() {
11541
+ Gn.prototype._bind = function() {
11542
11542
  const e = this._gl;
11543
11543
  e.bindFramebuffer(e.FRAMEBUFFER, this._framebuffer);
11544
11544
  };
11545
- Vn.prototype._unBind = function() {
11545
+ Gn.prototype._unBind = function() {
11546
11546
  const e = this._gl;
11547
11547
  e.bindFramebuffer(e.FRAMEBUFFER, null);
11548
11548
  };
11549
- Vn.prototype.bindDraw = function() {
11549
+ Gn.prototype.bindDraw = function() {
11550
11550
  const e = this._gl;
11551
11551
  e.bindFramebuffer(e.DRAW_FRAMEBUFFER, this._framebuffer);
11552
11552
  };
11553
- Vn.prototype.bindRead = function() {
11553
+ Gn.prototype.bindRead = function() {
11554
11554
  const e = this._gl;
11555
11555
  e.bindFramebuffer(e.READ_FRAMEBUFFER, this._framebuffer);
11556
11556
  };
11557
- Vn.prototype._getActiveColorAttachments = function() {
11557
+ Gn.prototype._getActiveColorAttachments = function() {
11558
11558
  return this._activeColorAttachments;
11559
11559
  };
11560
- Vn.prototype.getColorTexture = function(e) {
11560
+ Gn.prototype.getColorTexture = function(e) {
11561
11561
  if (!l(e) || e < 0 || e >= this._colorTextures.length)
11562
11562
  throw new C(
11563
11563
  "index is required, must be greater than or equal to zero and must be less than the number of color attachments."
11564
11564
  );
11565
11565
  return this._colorTextures[e];
11566
11566
  };
11567
- Vn.prototype.getColorRenderbuffer = function(e) {
11567
+ Gn.prototype.getColorRenderbuffer = function(e) {
11568
11568
  if (!l(e) || e < 0 || e >= this._colorRenderbuffers.length)
11569
11569
  throw new C(
11570
11570
  "index is required, must be greater than or equal to zero and must be less than the number of color attachments."
11571
11571
  );
11572
11572
  return this._colorRenderbuffers[e];
11573
11573
  };
11574
- Vn.prototype.isDestroyed = function() {
11574
+ Gn.prototype.isDestroyed = function() {
11575
11575
  return !1;
11576
11576
  };
11577
- Vn.prototype.destroy = function() {
11577
+ Gn.prototype.destroy = function() {
11578
11578
  if (this.destroyAttachments) {
11579
11579
  const e = this._colorTextures;
11580
11580
  for (let n = 0; n < e.length; ++n) {
@@ -11588,7 +11588,7 @@ Vn.prototype.destroy = function() {
11588
11588
  }
11589
11589
  this._depthTexture = this._depthTexture && this._depthTexture.destroy(), this._depthRenderbuffer = this._depthRenderbuffer && this._depthRenderbuffer.destroy(), this._stencilRenderbuffer = this._stencilRenderbuffer && this._stencilRenderbuffer.destroy(), this._depthStencilTexture = this._depthStencilTexture && this._depthStencilTexture.destroy(), this._depthStencilRenderbuffer = this._depthStencilRenderbuffer && this._depthStencilRenderbuffer.destroy();
11590
11590
  }
11591
- return this._gl.deleteFramebuffer(this._framebuffer), rt(this);
11591
+ return this._gl.deleteFramebuffer(this._framebuffer), at(this);
11592
11592
  };
11593
11593
  const ta = {
11594
11594
  /**
@@ -11829,31 +11829,31 @@ function je(e) {
11829
11829
  }
11830
11830
  this.id = 0, this._applyFunctions = [];
11831
11831
  }
11832
- let Sg = 0, $n = {};
11832
+ let Sg = 0, Zn = {};
11833
11833
  je.fromCache = function(e) {
11834
11834
  const t = JSON.stringify(e);
11835
- let n = $n[t];
11835
+ let n = Zn[t];
11836
11836
  if (l(n))
11837
11837
  return ++n.referenceCount, n.state;
11838
11838
  let i = new je(e);
11839
11839
  const s = JSON.stringify(i);
11840
- return n = $n[s], l(n) || (i.id = Sg++, i = Gd(i), n = {
11840
+ return n = Zn[s], l(n) || (i.id = Sg++, i = Gd(i), n = {
11841
11841
  referenceCount: 0,
11842
11842
  state: i
11843
- }, $n[s] = n), ++n.referenceCount, $n[t] = {
11843
+ }, Zn[s] = n), ++n.referenceCount, Zn[t] = {
11844
11844
  referenceCount: 1,
11845
11845
  state: n.state
11846
11846
  }, n.state;
11847
11847
  };
11848
11848
  je.removeFromCache = function(e) {
11849
- const t = new je(e), n = JSON.stringify(t), i = $n[n], s = JSON.stringify(e), a = $n[s];
11850
- l(a) && (--a.referenceCount, a.referenceCount === 0 && (delete $n[s], l(i) && --i.referenceCount)), l(i) && i.referenceCount === 0 && delete $n[n];
11849
+ const t = new je(e), n = JSON.stringify(t), i = Zn[n], s = JSON.stringify(e), a = Zn[s];
11850
+ l(a) && (--a.referenceCount, a.referenceCount === 0 && (delete Zn[s], l(i) && --i.referenceCount)), l(i) && i.referenceCount === 0 && delete Zn[n];
11851
11851
  };
11852
11852
  je.getCache = function() {
11853
- return $n;
11853
+ return Zn;
11854
11854
  };
11855
11855
  je.clearCache = function() {
11856
- $n = {};
11856
+ Zn = {};
11857
11857
  };
11858
11858
  function ds(e, t, n) {
11859
11859
  n ? e.enable(t) : e.disable(t);
@@ -12599,7 +12599,7 @@ xp.prototype.set = function() {
12599
12599
  i && this._gl.uniformMatrix4fv(this._location, !1, n);
12600
12600
  };
12601
12601
  let Mg = 0;
12602
- function ht(e) {
12602
+ function ft(e) {
12603
12603
  let t = e.vertexShaderText, n = e.fragmentShaderText;
12604
12604
  typeof spector < "u" && (t = t.replace(/^#line/gm, "//#line"), n = n.replace(/^#line/gm, "//#line"));
12605
12605
  const i = Ug(
@@ -12608,13 +12608,13 @@ function ht(e) {
12608
12608
  );
12609
12609
  this._gl = e.gl, this._logShaderCompilation = e.logShaderCompilation, this._debugShaders = e.debugShaders, this._attributeLocations = e.attributeLocations, this._program = void 0, this._numberOfVertexAttributes = void 0, this._vertexAttributes = void 0, this._uniformsByName = void 0, this._uniforms = void 0, this._automaticUniforms = void 0, this._manualUniforms = void 0, this._duplicateUniformNames = i.duplicateUniformNames, this._cachedShader = void 0, this.maximumTextureUnitIndex = void 0, this._vertexShaderSource = e.vertexShaderSource, this._vertexShaderText = e.vertexShaderText, this._fragmentShaderSource = e.fragmentShaderSource, this._fragmentShaderText = i.fragmentShaderText, this.id = Mg++;
12610
12610
  }
12611
- ht.fromCache = function(e) {
12611
+ ft.fromCache = function(e) {
12612
12612
  return e = g(e, g.EMPTY_OBJECT), _.defined("options.context", e.context), e.context.shaderCache.getShaderProgram(e);
12613
12613
  };
12614
- ht.replaceCache = function(e) {
12614
+ ft.replaceCache = function(e) {
12615
12615
  return e = g(e, g.EMPTY_OBJECT), _.defined("options.context", e.context), e.context.shaderCache.replaceShaderProgram(e);
12616
12616
  };
12617
- Object.defineProperties(ht.prototype, {
12617
+ Object.defineProperties(ft.prototype, {
12618
12618
  /**
12619
12619
  * GLSL source for the shader program's vertex shader.
12620
12620
  * @memberof ShaderProgram.prototype
@@ -12684,7 +12684,7 @@ function Ug(e, t) {
12684
12684
  duplicateUniformNames: n
12685
12685
  };
12686
12686
  }
12687
- const jn = "[Cesium WebGL] ";
12687
+ const Yn = "[Cesium WebGL] ";
12688
12688
  function kg(e, t) {
12689
12689
  const n = t._vertexShaderText, i = t._fragmentShaderText, s = e.createShader(e.VERTEX_SHADER);
12690
12690
  e.shaderSource(s, n), e.compileShader(s);
@@ -12703,22 +12703,22 @@ function kg(e, t) {
12703
12703
  e.linkProgram(r);
12704
12704
  let c;
12705
12705
  if (e.getProgramParameter(r, e.LINK_STATUS))
12706
- return t._logShaderCompilation && (c = e.getShaderInfoLog(s), l(c) && c.length > 0 && console.log(`${jn}Vertex shader compile log: ${c}`), c = e.getShaderInfoLog(a), l(c) && c.length > 0 && console.log(`${jn}Fragment shader compile log: ${c}`), c = e.getProgramInfoLog(r), l(c) && c.length > 0 && console.log(`${jn}Shader program link log: ${c}`)), e.deleteShader(s), e.deleteShader(a), r;
12706
+ return t._logShaderCompilation && (c = e.getShaderInfoLog(s), l(c) && c.length > 0 && console.log(`${Yn}Vertex shader compile log: ${c}`), c = e.getShaderInfoLog(a), l(c) && c.length > 0 && console.log(`${Yn}Fragment shader compile log: ${c}`), c = e.getProgramInfoLog(r), l(c) && c.length > 0 && console.log(`${Yn}Shader program link log: ${c}`)), e.deleteShader(s), e.deleteShader(a), r;
12707
12707
  let h;
12708
12708
  const d = t._debugShaders;
12709
- throw e.getShaderParameter(a, e.COMPILE_STATUS) ? e.getShaderParameter(s, e.COMPILE_STATUS) ? (c = e.getProgramInfoLog(r), console.error(`${jn}Shader program link log: ${c}`), p(s, "vertex"), p(a, "fragment"), h = `Program failed to link. Link log: ${c}`) : (c = e.getShaderInfoLog(s), console.error(`${jn}Vertex shader compile log: ${c}`), console.error(`${jn} Vertex shader source:
12710
- ${n}`), h = `Vertex shader failed to compile. Compile log: ${c}`) : (c = e.getShaderInfoLog(a), console.error(`${jn}Fragment shader compile log: ${c}`), console.error(`${jn} Fragment shader source:
12709
+ throw e.getShaderParameter(a, e.COMPILE_STATUS) ? e.getShaderParameter(s, e.COMPILE_STATUS) ? (c = e.getProgramInfoLog(r), console.error(`${Yn}Shader program link log: ${c}`), p(s, "vertex"), p(a, "fragment"), h = `Program failed to link. Link log: ${c}`) : (c = e.getShaderInfoLog(s), console.error(`${Yn}Vertex shader compile log: ${c}`), console.error(`${Yn} Vertex shader source:
12710
+ ${n}`), h = `Vertex shader failed to compile. Compile log: ${c}`) : (c = e.getShaderInfoLog(a), console.error(`${Yn}Fragment shader compile log: ${c}`), console.error(`${Yn} Fragment shader source:
12711
12711
  ${i}`), h = `Fragment shader failed to compile. Compile log: ${c}`), e.deleteShader(s), e.deleteShader(a), e.deleteProgram(r), new gt(h);
12712
12712
  function p(m, T) {
12713
12713
  if (!l(d))
12714
12714
  return;
12715
12715
  const y = d.getTranslatedShaderSource(m);
12716
12716
  if (y === "") {
12717
- console.error(`${jn}${T} shader translation failed.`);
12717
+ console.error(`${Yn}${T} shader translation failed.`);
12718
12718
  return;
12719
12719
  }
12720
12720
  console.error(
12721
- `${jn}Translated ${T} shaderSource:
12721
+ `${Yn}Translated ${T} shaderSource:
12722
12722
  ${y}`
12723
12723
  );
12724
12724
  }
@@ -12838,10 +12838,10 @@ function Sp(e) {
12838
12838
  }
12839
12839
  });
12840
12840
  }
12841
- ht.prototype._bind = function() {
12841
+ ft.prototype._bind = function() {
12842
12842
  na(this), this._gl.useProgram(this._program);
12843
12843
  };
12844
- ht.prototype._setUniforms = function(e, t, n) {
12844
+ ft.prototype._setUniforms = function(e, t, n) {
12845
12845
  let i, s;
12846
12846
  if (l(e)) {
12847
12847
  const f = this._manualUniforms;
@@ -12870,14 +12870,14 @@ ht.prototype._setUniforms = function(e, t, n) {
12870
12870
  );
12871
12871
  }
12872
12872
  };
12873
- ht.prototype.isDestroyed = function() {
12873
+ ft.prototype.isDestroyed = function() {
12874
12874
  return !1;
12875
12875
  };
12876
- ht.prototype.destroy = function() {
12876
+ ft.prototype.destroy = function() {
12877
12877
  this._cachedShader.cache.releaseShaderProgram(this);
12878
12878
  };
12879
- ht.prototype.finalDestroy = function() {
12880
- return this._gl.deleteProgram(this._program), rt(this);
12879
+ ft.prototype.finalDestroy = function() {
12880
+ return this._gl.deleteProgram(this._program), at(this);
12881
12881
  };
12882
12882
  const _e = {
12883
12883
  /**
@@ -13429,7 +13429,7 @@ St.prototype.isDestroyed = function() {
13429
13429
  return !1;
13430
13430
  };
13431
13431
  St.prototype.destroy = function() {
13432
- return l(this._worker) && this._worker.terminate(), rt(this);
13432
+ return l(this._worker) && this._worker.terminate(), at(this);
13433
13433
  };
13434
13434
  St.taskCompletedEvent = lh;
13435
13435
  St._defaultWorkerModulePrefix = "Workers/";
@@ -14082,7 +14082,7 @@ It.prototype.isDestroyed = function() {
14082
14082
  return !1;
14083
14083
  };
14084
14084
  It.prototype.destroy = function() {
14085
- return this._context._gl.deleteTexture(this._texture), this._positiveX = rt(this._positiveX), this._negativeX = rt(this._negativeX), this._positiveY = rt(this._positiveY), this._negativeY = rt(this._negativeY), this._positiveZ = rt(this._positiveZ), this._negativeZ = rt(this._negativeZ), rt(this);
14085
+ return this._context._gl.deleteTexture(this._texture), this._positiveX = at(this._positiveX), this._negativeX = at(this._negativeX), this._positiveY = at(this._positiveY), this._negativeY = at(this._negativeY), this._positiveZ = at(this._positiveZ), this._negativeZ = at(this._negativeZ), at(this);
14086
14086
  };
14087
14087
  const hT = `/**
14088
14088
  * A built-in GLSL floating-point constant for converting radians to degrees.
@@ -18740,7 +18740,7 @@ Nt.prototype.isDestroyed = function() {
18740
18740
  return !1;
18741
18741
  };
18742
18742
  Nt.prototype.destroy = function() {
18743
- return this._context._gl.deleteTexture(this._texture), rt(this);
18743
+ return this._context._gl.deleteTexture(this._texture), at(this);
18744
18744
  };
18745
18745
  function Qe() {
18746
18746
  this.high = u.clone(u.ZERO), this.low = u.clone(u.ZERO);
@@ -18916,7 +18916,7 @@ Dn.prototype.computeVisibilityWithPlaneMask = function(e, t) {
18916
18916
  Dn.MASK_OUTSIDE = 4294967295;
18917
18917
  Dn.MASK_INSIDE = 0;
18918
18918
  Dn.MASK_INDETERMINATE = 2147483647;
18919
- function Nn(e) {
18919
+ function Fn(e) {
18920
18920
  e = g(e, g.EMPTY_OBJECT), this.left = e.left, this._left = void 0, this.right = e.right, this._right = void 0, this.top = e.top, this._top = void 0, this.bottom = e.bottom, this._bottom = void 0, this.near = g(e.near, 1), this._near = this.near, this.far = g(e.far, 5e8), this._far = this.far, this._cullingVolume = new Dn(), this._orthographicMatrix = new V();
18921
18921
  }
18922
18922
  function Up(e) {
@@ -18944,7 +18944,7 @@ function Up(e) {
18944
18944
  );
18945
18945
  }
18946
18946
  }
18947
- Object.defineProperties(Nn.prototype, {
18947
+ Object.defineProperties(Fn.prototype, {
18948
18948
  /**
18949
18949
  * Gets the orthographic projection matrix computed from the view frustum.
18950
18950
  * @memberof OrthographicOffCenterFrustum.prototype
@@ -18958,7 +18958,7 @@ Object.defineProperties(Nn.prototype, {
18958
18958
  }
18959
18959
  });
18960
18960
  const ew = new u(), tw = new u(), nw = new u(), hc = new u();
18961
- Nn.prototype.computeCullingVolume = function(e, t, n) {
18961
+ Fn.prototype.computeCullingVolume = function(e, t, n) {
18962
18962
  if (!l(e))
18963
18963
  throw new C("position is required.");
18964
18964
  if (!l(t))
@@ -18974,7 +18974,7 @@ Nn.prototype.computeCullingVolume = function(e, t, n) {
18974
18974
  let T = i[0];
18975
18975
  return l(T) || (T = i[0] = new Z()), T.x = d.x, T.y = d.y, T.z = d.z, T.w = -u.dot(d, m), u.multiplyByScalar(d, r, m), u.add(p, m, m), T = i[1], l(T) || (T = i[1] = new Z()), T.x = -d.x, T.y = -d.y, T.z = -d.z, T.w = -u.dot(u.negate(d, hc), m), u.multiplyByScalar(n, a, m), u.add(p, m, m), T = i[2], l(T) || (T = i[2] = new Z()), T.x = n.x, T.y = n.y, T.z = n.z, T.w = -u.dot(n, m), u.multiplyByScalar(n, s, m), u.add(p, m, m), T = i[3], l(T) || (T = i[3] = new Z()), T.x = -n.x, T.y = -n.y, T.z = -n.z, T.w = -u.dot(u.negate(n, hc), m), T = i[4], l(T) || (T = i[4] = new Z()), T.x = t.x, T.y = t.y, T.z = t.z, T.w = -u.dot(t, p), u.multiplyByScalar(t, h, m), u.add(e, m, m), T = i[5], l(T) || (T = i[5] = new Z()), T.x = -t.x, T.y = -t.y, T.z = -t.z, T.w = -u.dot(u.negate(t, hc), m), this._cullingVolume;
18976
18976
  };
18977
- Nn.prototype.getPixelDimensions = function(e, t, n, i, s) {
18977
+ Fn.prototype.getPixelDimensions = function(e, t, n, i, s) {
18978
18978
  if (Up(this), !l(e) || !l(t))
18979
18979
  throw new C(
18980
18980
  "Both drawingBufferWidth and drawingBufferHeight are required."
@@ -18994,14 +18994,14 @@ Nn.prototype.getPixelDimensions = function(e, t, n, i, s) {
18994
18994
  const a = this.right - this.left, r = this.top - this.bottom, f = i * a / e, c = i * r / t;
18995
18995
  return s.x = f, s.y = c, s;
18996
18996
  };
18997
- Nn.prototype.clone = function(e) {
18998
- return l(e) || (e = new Nn()), e.left = this.left, e.right = this.right, e.top = this.top, e.bottom = this.bottom, e.near = this.near, e.far = this.far, e._left = void 0, e._right = void 0, e._top = void 0, e._bottom = void 0, e._near = void 0, e._far = void 0, e;
18997
+ Fn.prototype.clone = function(e) {
18998
+ return l(e) || (e = new Fn()), e.left = this.left, e.right = this.right, e.top = this.top, e.bottom = this.bottom, e.near = this.near, e.far = this.far, e._left = void 0, e._right = void 0, e._top = void 0, e._bottom = void 0, e._near = void 0, e._far = void 0, e;
18999
18999
  };
19000
- Nn.prototype.equals = function(e) {
19001
- return l(e) && e instanceof Nn && this.right === e.right && this.left === e.left && this.top === e.top && this.bottom === e.bottom && this.near === e.near && this.far === e.far;
19000
+ Fn.prototype.equals = function(e) {
19001
+ return l(e) && e instanceof Fn && this.right === e.right && this.left === e.left && this.top === e.top && this.bottom === e.bottom && this.near === e.near && this.far === e.far;
19002
19002
  };
19003
- Nn.prototype.equalsEpsilon = function(e, t, n) {
19004
- return e === this || l(e) && e instanceof Nn && S.equalsEpsilon(
19003
+ Fn.prototype.equalsEpsilon = function(e, t, n) {
19004
+ return e === this || l(e) && e instanceof Fn && S.equalsEpsilon(
19005
19005
  this.right,
19006
19006
  e.right,
19007
19007
  t,
@@ -19034,7 +19034,7 @@ Nn.prototype.equalsEpsilon = function(e, t, n) {
19034
19034
  );
19035
19035
  };
19036
19036
  function un(e) {
19037
- e = g(e, g.EMPTY_OBJECT), this._offCenterFrustum = new Nn(), this.width = e.width, this._width = void 0, this.aspectRatio = e.aspectRatio, this._aspectRatio = void 0, this.near = g(e.near, 1), this._near = this.near, this.far = g(e.far, 5e8), this._far = this.far;
19037
+ e = g(e, g.EMPTY_OBJECT), this._offCenterFrustum = new Fn(), this.width = e.width, this._width = void 0, this.aspectRatio = e.aspectRatio, this._aspectRatio = void 0, this.near = g(e.near, 1), this._near = this.near, this.far = g(e.far, 5e8), this._far = this.far;
19038
19038
  }
19039
19039
  un.packedLength = 4;
19040
19040
  un.pack = function(e, t, n) {
@@ -19502,7 +19502,7 @@ ii.prototype.destroy = function() {
19502
19502
  l(i) && !i.isDestroyed() && i.vertexArrayDestroyable && i.destroy();
19503
19503
  }
19504
19504
  const t = this._indexBuffer;
19505
- return l(t) && !t.isDestroyed() && t.vertexArrayDestroyable && t.destroy(), l(this._vao) && this._context.glDeleteVertexArray(this._vao), rt(this);
19505
+ return l(t) && !t.isDestroyed() && t.vertexArrayDestroyable && t.destroy(), l(this._vao) && this._context.glDeleteVertexArray(this._vao), at(this);
19506
19506
  };
19507
19507
  function vt(e, t, n, i) {
19508
19508
  if (_.defined("context", e), !t || t.length === 0)
@@ -19787,7 +19787,7 @@ vt.prototype.destroy = function() {
19787
19787
  const i = e[t];
19788
19788
  i.vertexBuffer = i.vertexBuffer && i.vertexBuffer.destroy();
19789
19789
  }
19790
- return jh(this), rt(this);
19790
+ return jh(this), at(this);
19791
19791
  };
19792
19792
  function si(e) {
19793
19793
  this._value = void 0, this._hasClone = !1, this._hasEquals = !1, this._definitionChanged = new Fe(), this.setValue(e);
@@ -20136,10 +20136,10 @@ Bo.prototype.merge = function(e) {
20136
20136
  e.splitDirection
20137
20137
  );
20138
20138
  };
20139
- function Zn() {
20139
+ function Kn() {
20140
20140
  this._array = [], this._hash = {};
20141
20141
  }
20142
- Object.defineProperties(Zn.prototype, {
20142
+ Object.defineProperties(Kn.prototype, {
20143
20143
  /**
20144
20144
  * Gets the number of items in the collection.
20145
20145
  * @memberof AssociativeArray.prototype
@@ -20165,23 +20165,23 @@ Object.defineProperties(Zn.prototype, {
20165
20165
  }
20166
20166
  }
20167
20167
  });
20168
- Zn.prototype.contains = function(e) {
20168
+ Kn.prototype.contains = function(e) {
20169
20169
  if (typeof e != "string" && typeof e != "number")
20170
20170
  throw new C("key is required to be a string or number.");
20171
20171
  return l(this._hash[e]);
20172
20172
  };
20173
- Zn.prototype.set = function(e, t) {
20173
+ Kn.prototype.set = function(e, t) {
20174
20174
  if (typeof e != "string" && typeof e != "number")
20175
20175
  throw new C("key is required to be a string or number.");
20176
20176
  const n = this._hash[e];
20177
20177
  t !== n && (this.remove(e), this._hash[e] = t, this._array.push(t));
20178
20178
  };
20179
- Zn.prototype.get = function(e) {
20179
+ Kn.prototype.get = function(e) {
20180
20180
  if (typeof e != "string" && typeof e != "number")
20181
20181
  throw new C("key is required to be a string or number.");
20182
20182
  return this._hash[e];
20183
20183
  };
20184
- Zn.prototype.remove = function(e) {
20184
+ Kn.prototype.remove = function(e) {
20185
20185
  if (l(e) && typeof e != "string" && typeof e != "number")
20186
20186
  throw new C("key is required to be a string or number.");
20187
20187
  const t = this._hash[e], n = l(t);
@@ -20191,14 +20191,14 @@ Zn.prototype.remove = function(e) {
20191
20191
  }
20192
20192
  return n;
20193
20193
  };
20194
- Zn.prototype.removeAll = function() {
20194
+ Kn.prototype.removeAll = function() {
20195
20195
  const e = this._array;
20196
20196
  e.length > 0 && (this._hash = {}, e.length = 0);
20197
20197
  };
20198
- function ft(e, t) {
20198
+ function it(e, t) {
20199
20199
  e = g(e, 0), this._near = e, t = g(t, Number.MAX_VALUE), this._far = t;
20200
20200
  }
20201
- Object.defineProperties(ft.prototype, {
20201
+ Object.defineProperties(it.prototype, {
20202
20202
  /**
20203
20203
  * The smallest distance in the interval where the object is visible.
20204
20204
  * @memberof DistanceDisplayCondition.prototype
@@ -20228,31 +20228,31 @@ Object.defineProperties(ft.prototype, {
20228
20228
  }
20229
20229
  }
20230
20230
  });
20231
- ft.packedLength = 2;
20232
- ft.pack = function(e, t, n) {
20231
+ it.packedLength = 2;
20232
+ it.pack = function(e, t, n) {
20233
20233
  if (!l(e))
20234
20234
  throw new C("value is required");
20235
20235
  if (!l(t))
20236
20236
  throw new C("array is required");
20237
20237
  return n = g(n, 0), t[n++] = e.near, t[n] = e.far, t;
20238
20238
  };
20239
- ft.unpack = function(e, t, n) {
20239
+ it.unpack = function(e, t, n) {
20240
20240
  if (!l(e))
20241
20241
  throw new C("array is required");
20242
- return t = g(t, 0), l(n) || (n = new ft()), n.near = e[t++], n.far = e[t], n;
20242
+ return t = g(t, 0), l(n) || (n = new it()), n.near = e[t++], n.far = e[t], n;
20243
20243
  };
20244
- ft.equals = function(e, t) {
20244
+ it.equals = function(e, t) {
20245
20245
  return e === t || l(e) && l(t) && e.near === t.near && e.far === t.far;
20246
20246
  };
20247
- ft.clone = function(e, t) {
20247
+ it.clone = function(e, t) {
20248
20248
  if (l(e))
20249
- return l(t) || (t = new ft()), t.near = e.near, t.far = e.far, t;
20249
+ return l(t) || (t = new it()), t.near = e.near, t.far = e.far, t;
20250
20250
  };
20251
- ft.prototype.clone = function(e) {
20252
- return ft.clone(this, e);
20251
+ it.prototype.clone = function(e) {
20252
+ return it.clone(this, e);
20253
20253
  };
20254
- ft.prototype.equals = function(e) {
20255
- return ft.equals(this, e);
20254
+ it.prototype.equals = function(e) {
20255
+ return it.equals(this, e);
20256
20256
  };
20257
20257
  function Ie(e, t, n, i) {
20258
20258
  this.near = g(e, 0), this.nearValue = g(t, 0), this.far = g(n, 1), this.farValue = g(i, 0);
@@ -20331,7 +20331,7 @@ const cs = {
20331
20331
  * @constant
20332
20332
  */
20333
20333
  RELATIVE_TO_3D_TILE: 6
20334
- }, ei = Object.freeze(cs);
20334
+ }, zn = Object.freeze(cs);
20335
20335
  function La(e) {
20336
20336
  return e === cs.CLAMP_TO_GROUND || e === cs.CLAMP_TO_3D_TILE || e === cs.CLAMP_TO_TERRAIN;
20337
20337
  }
@@ -20360,7 +20360,7 @@ const pw = {
20360
20360
  * @constant
20361
20361
  */
20362
20362
  RIGHT: -1
20363
- }, Fn = Object.freeze(pw), mw = {
20363
+ }, Mn = Object.freeze(pw), mw = {
20364
20364
  /**
20365
20365
  * The origin is at the vertical center between <code>BASELINE</code> and <code>TOP</code>.
20366
20366
  *
@@ -20389,7 +20389,7 @@ const pw = {
20389
20389
  * @constant
20390
20390
  */
20391
20391
  TOP: -1
20392
- }, ot = Object.freeze(mw);
20392
+ }, rt = Object.freeze(mw);
20393
20393
  function ve() {
20394
20394
  C.throwInstantiationError();
20395
20395
  }
@@ -20529,7 +20529,7 @@ te.fromPoints = function(e, t) {
20529
20529
  }
20530
20530
  return D < F ? (u.clone(E, t.center), t.radius = D) : (u.clone(z, t.center), t.radius = F), t;
20531
20531
  };
20532
- const al = new kn(), Tw = new u(), yw = new u(), fc = new se(), lc = new se();
20532
+ const al = new Vn(), Tw = new u(), yw = new u(), fc = new se(), lc = new se();
20533
20533
  te.fromRectangle2D = function(e, t, n) {
20534
20534
  return te.fromRectangleWithHeights2D(
20535
20535
  e,
@@ -20808,7 +20808,7 @@ te.computePlaneDistances = function(e, t, n, i) {
20808
20808
  const cl = new u(), Pw = new u(), Bw = new u(), Rw = new u(), Lw = new u(), zw = new se(), Gp = new Array(8);
20809
20809
  for (let e = 0; e < 8; ++e)
20810
20810
  Gp[e] = new u();
20811
- const hl = new kn();
20811
+ const hl = new Vn();
20812
20812
  te.projectTo2D = function(e, t, n) {
20813
20813
  _.typeOf.object("sphere", e), hl._ellipsoid = pe.default, t = g(t, hl);
20814
20814
  const i = t.ellipsoid;
@@ -22241,7 +22241,7 @@ ne.prototype.destroy = function() {
22241
22241
  const t = this.materials;
22242
22242
  for (const n in t)
22243
22243
  t.hasOwnProperty(n) && t[n].destroy();
22244
- return rt(this);
22244
+ return at(this);
22245
22245
  };
22246
22246
  function cA(e, t) {
22247
22247
  e = g(e, g.EMPTY_OBJECT), t._strict = g(e.strict, !1), t._count = g(e.count, 0), t._template = hn(
@@ -23202,7 +23202,7 @@ Gs.prototype.equals = function(e) {
23202
23202
  ve.equals(this._color, e._color);
23203
23203
  };
23204
23204
  function ji(e) {
23205
- e = g(e, g.EMPTY_OBJECT), this._ellipsoid = g(e.ellipsoid, pe.default), this._rectangle = g(e.rectangle, de.MAX_VALUE), this._projection = new kn(this._ellipsoid), this._numberOfLevelZeroTilesX = g(
23205
+ e = g(e, g.EMPTY_OBJECT), this._ellipsoid = g(e.ellipsoid, pe.default), this._rectangle = g(e.rectangle, de.MAX_VALUE), this._projection = new Vn(this._ellipsoid), this._numberOfLevelZeroTilesX = g(
23206
23206
  e.numberOfLevelZeroTilesX,
23207
23207
  2
23208
23208
  ), this._numberOfLevelZeroTilesY = g(
@@ -23465,8 +23465,8 @@ Qt.prototype.intersectPlane = function(e) {
23465
23465
  Qt.prototype.equals = function(e) {
23466
23466
  return Qt.equals(this, e);
23467
23467
  };
23468
- const zn = {};
23469
- zn.computeDiscriminant = function(e, t, n) {
23468
+ const Nn = {};
23469
+ Nn.computeDiscriminant = function(e, t, n) {
23470
23470
  if (typeof e != "number")
23471
23471
  throw new C("a is a required number.");
23472
23472
  if (typeof t != "number")
@@ -23479,7 +23479,7 @@ function gl(e, t, n) {
23479
23479
  const i = e + t;
23480
23480
  return S.sign(e) !== S.sign(t) && Math.abs(i / Math.max(Math.abs(e), Math.abs(t))) < n ? 0 : i;
23481
23481
  }
23482
- zn.computeRealRoots = function(e, t, n) {
23482
+ Nn.computeRealRoots = function(e, t, n) {
23483
23483
  if (typeof e != "number")
23484
23484
  throw new C("a is a required number.");
23485
23485
  if (typeof t != "number")
@@ -23534,8 +23534,8 @@ function pc(e, t, n, i) {
23534
23534
  d * h >= c * p ? (ce = s, le = m, Ce = -2 * a * m + s * T) : (ce = f, le = y, Ce = -f * T + 2 * r * y);
23535
23535
  const Ae = -(Ce < 0 ? -1 : 1) * Math.abs(ce) * Math.sqrt(-w);
23536
23536
  E = -Ce + Ae;
23537
- const Le = E / 2, Ye = Le < 0 ? -Math.pow(-Le, 1 / 3) : Math.pow(Le, 1 / 3), it = E === Ae ? -Ye : -le / Ye;
23538
- return A = le <= 0 ? Ye + it : -Ce / (Ye * Ye + it * it + le), d * h >= c * p ? [(A - a) / s] : [-f / (A + r)];
23537
+ const Le = E / 2, Ye = Le < 0 ? -Math.pow(-Le, 1 / 3) : Math.pow(Le, 1 / 3), st = E === Ae ? -Ye : -le / Ye;
23538
+ return A = le <= 0 ? Ye + st : -Ce / (Ye * Ye + st * st + le), d * h >= c * p ? [(A - a) / s] : [-f / (A + r)];
23539
23539
  }
23540
23540
  const b = m, D = -2 * a * m + s * T, O = y, B = -f * T + 2 * r * y, z = Math.sqrt(w), F = Math.sqrt(3) / 2;
23541
23541
  let N = Math.abs(Math.atan2(s * z, -D) / 3);
@@ -23559,7 +23559,7 @@ or.computeRealRoots = function(e, t, n, i) {
23559
23559
  throw new C("d is a required number.");
23560
23560
  let s, a;
23561
23561
  if (e === 0)
23562
- return zn.computeRealRoots(t, n, i);
23562
+ return Nn.computeRealRoots(t, n, i);
23563
23563
  if (t === 0) {
23564
23564
  if (n === 0) {
23565
23565
  if (i === 0)
@@ -23568,13 +23568,13 @@ or.computeRealRoots = function(e, t, n, i) {
23568
23568
  const r = a < 0 ? -Math.pow(-a, 1 / 3) : Math.pow(a, 1 / 3);
23569
23569
  return [r, r, r];
23570
23570
  } else if (i === 0)
23571
- return s = zn.computeRealRoots(e, 0, n), s.Length === 0 ? [0] : [s[0], 0, s[1]];
23571
+ return s = Nn.computeRealRoots(e, 0, n), s.Length === 0 ? [0] : [s[0], 0, s[1]];
23572
23572
  return pc(e, 0, n, i);
23573
23573
  } else {
23574
23574
  if (n === 0)
23575
23575
  return i === 0 ? (a = -t / e, a < 0 ? [a, 0, 0] : [0, 0, a]) : pc(e, t, 0, i);
23576
23576
  if (i === 0)
23577
- return s = zn.computeRealRoots(e, t, n), s.length === 0 ? [0] : s[1] <= 0 ? [s[0], s[1], 0] : s[0] >= 0 ? [0, s[0], s[1]] : [s[0], 0, s[1]];
23577
+ return s = Nn.computeRealRoots(e, t, n), s.length === 0 ? [0] : s[1] <= 0 ? [s[0], s[1], 0] : s[0] >= 0 ? [0, s[0], s[1]] : [s[0], 0, s[1]];
23578
23578
  }
23579
23579
  return pc(e, t, n, i);
23580
23580
  };
@@ -23603,7 +23603,7 @@ function Wn(e, t, n, i) {
23603
23603
  if (c.length > 0) {
23604
23604
  const h = -e / 4, d = c[c.length - 1];
23605
23605
  if (Math.abs(d) < S.EPSILON14) {
23606
- const p = zn.computeRealRoots(1, a, f);
23606
+ const p = Nn.computeRealRoots(1, a, f);
23607
23607
  if (p.length === 2) {
23608
23608
  const m = p[0], T = p[1];
23609
23609
  let y;
@@ -23619,7 +23619,7 @@ function Wn(e, t, n, i) {
23619
23619
  }
23620
23620
  return [];
23621
23621
  } else if (d > 0) {
23622
- const p = Math.sqrt(d), m = (a + d - r / p) / 2, T = (a + d + r / p) / 2, y = zn.computeRealRoots(1, p, m), w = zn.computeRealRoots(1, -p, T);
23622
+ const p = Math.sqrt(d), m = (a + d - r / p) / 2, T = (a + d + r / p) / 2, y = Nn.computeRealRoots(1, p, m), w = Nn.computeRealRoots(1, -p, T);
23623
23623
  return y.length !== 0 ? (y[0] += h, y[1] += h, w.length !== 0 ? (w[0] += h, w[1] += h, y[1] <= w[0] ? [y[0], y[1], w[0], w[1]] : w[1] <= y[0] ? [w[0], w[1], y[0], y[1]] : y[0] >= w[0] && y[1] <= w[1] ? [w[0], y[0], y[1], w[1]] : w[0] >= y[0] && w[1] <= y[1] ? [y[0], w[0], w[1], y[1]] : y[0] > w[0] && y[0] < w[1] ? [w[0], y[0], w[1], y[1]] : [y[0], w[0], y[1], w[1]]) : y) : w.length !== 0 ? (w[0] += h, w[1] += h, w) : [];
23624
23624
  }
23625
23625
  }
@@ -23641,7 +23641,7 @@ function ro(e, t, n, i) {
23641
23641
  y === 0 && O === 0 ? (z = 0, F = 0) : S.sign(y) === S.sign(O) ? (z = y + O, F = p / z) : (F = y - O, z = p / F);
23642
23642
  let N, U;
23643
23643
  w === 0 && B === 0 ? (N = 0, U = 0) : S.sign(w) === S.sign(B) ? (N = w + B, U = i / N) : (U = w - B, N = i / U);
23644
- const M = zn.computeRealRoots(1, z, N), j = zn.computeRealRoots(1, F, U);
23644
+ const M = Nn.computeRealRoots(1, z, N), j = Nn.computeRealRoots(1, F, U);
23645
23645
  if (M.length !== 0)
23646
23646
  return j.length !== 0 ? M[1] <= j[0] ? [M[0], M[1], j[0], j[1]] : j[1] <= M[0] ? [j[0], j[1], M[0], M[1]] : M[0] >= j[0] && M[1] <= j[1] ? [j[0], M[0], M[1], j[1]] : j[0] >= M[0] && j[1] <= M[1] ? [M[0], j[0], j[1], M[1]] : M[0] > j[0] && M[0] < j[1] ? [j[0], M[0], j[1], M[1]] : [M[0], j[0], M[1], j[1]] : M;
23647
23647
  if (j.length !== 0)
@@ -23881,7 +23881,7 @@ Me.quadraticVectorExpression = function(e, t, n, i, s) {
23881
23881
  let m;
23882
23882
  const T = [];
23883
23883
  if (p === 0 && d === 0) {
23884
- if (m = zn.computeRealRoots(f, c, h), m.length === 0)
23884
+ if (m = Nn.computeRealRoots(f, c, h), m.length === 0)
23885
23885
  return T;
23886
23886
  const N = m[0], U = Math.sqrt(Math.max(1 - N * N, 0));
23887
23887
  if (T.push(new u(i, s * N, s * -U)), T.push(new u(i, s * N, s * U)), m.length === 2) {
@@ -25148,7 +25148,7 @@ vi.prototype.isDestroyed = function() {
25148
25148
  return !1;
25149
25149
  };
25150
25150
  vi.prototype.destroy = function() {
25151
- return this._texture = this._texture && this._texture.destroy(), rt(this);
25151
+ return this._texture = this._texture && this._texture.destroy(), at(this);
25152
25152
  };
25153
25153
  const Ve = {
25154
25154
  /**
@@ -25839,7 +25839,7 @@ $e.projectTo2D = function(e, t, n, i, s) {
25839
25839
  "The attribute componentDatatype must be ComponentDatatype.DOUBLE."
25840
25840
  );
25841
25841
  const a = e.attributes[t];
25842
- s = l(s) ? s : new kn();
25842
+ s = l(s) ? s : new Vn();
25843
25843
  const r = s.ellipsoid, f = a.values, c = new Float64Array(f.length);
25844
25844
  let h = 0;
25845
25845
  for (let d = 0; d < f.length; d += 3) {
@@ -26564,7 +26564,7 @@ function wE(e, t, n, i, s, a, r) {
26564
26564
  h[s] = c[e] * i.x + c[t] * i.y + c[n] * i.z;
26565
26565
  }
26566
26566
  }
26567
- function Yn(e, t, n, i, s, a) {
26567
+ function Xn(e, t, n, i, s, a) {
26568
26568
  const r = e.position.values.length / 3;
26569
26569
  if (s !== -1) {
26570
26570
  const f = i[s], c = n[f];
@@ -26601,7 +26601,7 @@ function ql(e) {
26601
26601
  const x = o.positions, P = o.indices, L = P.length;
26602
26602
  for (let H = 0; H < L; ++H) {
26603
26603
  const X = P[H], J = x[X];
26604
- J.y < 0 ? (w = y.attributes, A = y.indices, E = O) : (w = T.attributes, A = T.indices, E = B), b = Yn(
26604
+ J.y < 0 ? (w = y.attributes, A = y.indices, E = O) : (w = T.attributes, A = T.indices, E = B), b = Xn(
26605
26605
  w,
26606
26606
  A,
26607
26607
  E,
@@ -26628,7 +26628,7 @@ function ql(e) {
26628
26628
  );
26629
26629
  }
26630
26630
  } else
26631
- l(o) && (M = o.positions[0], j = o.positions[1], Y = o.positions[2]), M.y < 0 ? (w = y.attributes, A = y.indices, E = O) : (w = T.attributes, A = T.indices, E = B), b = Yn(
26631
+ l(o) && (M = o.positions[0], j = o.positions[1], Y = o.positions[2]), M.y < 0 ? (w = y.attributes, A = y.indices, E = O) : (w = T.attributes, A = T.indices, E = B), b = Xn(
26632
26632
  w,
26633
26633
  A,
26634
26634
  E,
@@ -26652,7 +26652,7 @@ function ql(e) {
26652
26652
  m,
26653
26653
  n,
26654
26654
  b
26655
- ), b = Yn(
26655
+ ), b = Xn(
26656
26656
  w,
26657
26657
  A,
26658
26658
  E,
@@ -26676,7 +26676,7 @@ function ql(e) {
26676
26676
  m,
26677
26677
  n,
26678
26678
  b
26679
- ), b = Yn(
26679
+ ), b = Xn(
26680
26680
  w,
26681
26681
  A,
26682
26682
  E,
@@ -26742,7 +26742,7 @@ function Hl(e) {
26742
26742
  N,
26743
26743
  bE
26744
26744
  );
26745
- A = Yn(
26745
+ A = Xn(
26746
26746
  E,
26747
26747
  b,
26748
26748
  D,
@@ -26757,7 +26757,7 @@ function Hl(e) {
26757
26757
  A,
26758
26758
  E,
26759
26759
  s
26760
- ), A = Yn(
26760
+ ), A = Xn(
26761
26761
  E,
26762
26762
  b,
26763
26763
  D,
@@ -26772,7 +26772,7 @@ function Hl(e) {
26772
26772
  A,
26773
26773
  E,
26774
26774
  s
26775
- ), u.negate(N, N), u.add(F, N, U), A = Yn(
26775
+ ), u.negate(N, N), u.add(F, N, U), A = Xn(
26776
26776
  O,
26777
26777
  B,
26778
26778
  z,
@@ -26787,7 +26787,7 @@ function Hl(e) {
26787
26787
  A,
26788
26788
  O,
26789
26789
  s
26790
- ), A = Yn(
26790
+ ), A = Xn(
26791
26791
  O,
26792
26792
  B,
26793
26793
  z,
@@ -26805,7 +26805,7 @@ function Hl(e) {
26805
26805
  );
26806
26806
  } else {
26807
26807
  let N, U, M;
26808
- y.y < 0 ? (N = f.attributes, U = f.indices, M = d) : (N = r.attributes, U = r.indices, M = p), A = Yn(
26808
+ y.y < 0 ? (N = f.attributes, U = f.indices, M = d) : (N = r.attributes, U = r.indices, M = p), A = Xn(
26809
26809
  N,
26810
26810
  U,
26811
26811
  M,
@@ -26820,7 +26820,7 @@ function Hl(e) {
26820
26820
  A,
26821
26821
  N,
26822
26822
  s
26823
- ), A = Yn(
26823
+ ), A = Xn(
26824
26824
  N,
26825
26825
  U,
26826
26826
  M,
@@ -27218,8 +27218,8 @@ function RE(e, t) {
27218
27218
  n
27219
27219
  ), n;
27220
27220
  }
27221
- const Mn = {};
27222
- Mn.combineGeometry = function(e) {
27221
+ const Un = {};
27222
+ Un.combineGeometry = function(e) {
27223
27223
  let t, n;
27224
27224
  const i = e.instances, s = i.length;
27225
27225
  let a, r, f = !1;
@@ -27280,7 +27280,7 @@ function NE(e) {
27280
27280
  }
27281
27281
  return t;
27282
27282
  }
27283
- Mn.packCreateGeometryResults = function(e, t) {
27283
+ Un.packCreateGeometryResults = function(e, t) {
27284
27284
  const n = new Float64Array(NE(e)), i = [], s = {}, a = e.length;
27285
27285
  let r = 0;
27286
27286
  n[r++] = a;
@@ -27309,7 +27309,7 @@ Mn.packCreateGeometryResults = function(e, t) {
27309
27309
  packedData: n
27310
27310
  };
27311
27311
  };
27312
- Mn.unpackCreateGeometryResults = function(e) {
27312
+ Un.unpackCreateGeometryResults = function(e) {
27313
27313
  const t = e.stringTable, n = e.packedData;
27314
27314
  let i;
27315
27315
  const s = new Array(n[0]);
@@ -27397,7 +27397,7 @@ function ME(e) {
27397
27397
  }
27398
27398
  return n;
27399
27399
  }
27400
- Mn.packCombineGeometryParameters = function(e, t) {
27400
+ Un.packCombineGeometryParameters = function(e, t) {
27401
27401
  const n = e.createGeometryResults, i = n.length;
27402
27402
  for (let s = 0; s < i; s++)
27403
27403
  t.push(n[s].packedData.buffer);
@@ -27408,7 +27408,7 @@ Mn.packCombineGeometryParameters = function(e, t) {
27408
27408
  t
27409
27409
  ),
27410
27410
  ellipsoid: e.ellipsoid,
27411
- isGeographic: e.projection instanceof kn,
27411
+ isGeographic: e.projection instanceof Vn,
27412
27412
  elementIndexUintSupported: e.elementIndexUintSupported,
27413
27413
  scene3DOnly: e.scene3DOnly,
27414
27414
  vertexCacheOptimize: e.vertexCacheOptimize,
@@ -27417,11 +27417,11 @@ Mn.packCombineGeometryParameters = function(e, t) {
27417
27417
  createPickOffsets: e.createPickOffsets
27418
27418
  };
27419
27419
  };
27420
- Mn.unpackCombineGeometryParameters = function(e) {
27420
+ Un.unpackCombineGeometryParameters = function(e) {
27421
27421
  const t = ME(e.packedInstances), n = e.createGeometryResults, i = n.length;
27422
27422
  let s = 0;
27423
27423
  for (let f = 0; f < i; f++) {
27424
- const c = Mn.unpackCreateGeometryResults(
27424
+ const c = Un.unpackCreateGeometryResults(
27425
27425
  n[f]
27426
27426
  ), h = c.length;
27427
27427
  for (let d = 0; d < h; d++) {
@@ -27429,7 +27429,7 @@ Mn.unpackCombineGeometryParameters = function(e) {
27429
27429
  m.geometry = p, ++s;
27430
27430
  }
27431
27431
  }
27432
- const a = pe.clone(e.ellipsoid), r = e.isGeographic ? new kn(a) : new nn(a);
27432
+ const a = pe.clone(e.ellipsoid), r = e.isGeographic ? new Vn(a) : new nn(a);
27433
27433
  return {
27434
27434
  instances: t,
27435
27435
  ellipsoid: a,
@@ -27459,7 +27459,7 @@ function Zl(e) {
27459
27459
  e[i++] === 1 && (t[n] = te.unpack(e, i)), ++n, i += te.packedLength;
27460
27460
  return t;
27461
27461
  }
27462
- Mn.packCombineGeometryResults = function(e, t) {
27462
+ Un.packCombineGeometryResults = function(e, t) {
27463
27463
  l(e.geometries) && zE(e.geometries, t);
27464
27464
  const n = $l(e.boundingSpheres), i = $l(
27465
27465
  e.boundingSpheresCV
@@ -27477,7 +27477,7 @@ Mn.packCombineGeometryResults = function(e, t) {
27477
27477
  boundingSpheresCV: i
27478
27478
  };
27479
27479
  };
27480
- Mn.unpackCombineGeometryResults = function(e) {
27480
+ Un.unpackCombineGeometryResults = function(e) {
27481
27481
  return {
27482
27482
  geometries: e.geometries,
27483
27483
  attributeLocations: e.attributeLocations,
@@ -28124,7 +28124,7 @@ function JE(e, t) {
28124
28124
  const f = [];
28125
28125
  n = Array.isArray(e.geometryInstances) ? e.geometryInstances : [e.geometryInstances];
28126
28126
  const c = t.scene3DOnly, h = t.mapProjection, d = QE.scheduleTask(
28127
- Mn.packCombineGeometryParameters(
28127
+ Un.packCombineGeometryParameters(
28128
28128
  {
28129
28129
  createGeometryResults: e._createGeometryResults,
28130
28130
  instances: n,
@@ -28142,7 +28142,7 @@ function JE(e, t) {
28142
28142
  f
28143
28143
  );
28144
28144
  e._createGeometryResults = void 0, e._state = bt.COMBINING, Promise.resolve(d).then(function(p) {
28145
- const m = Mn.unpackCombineGeometryResults(p);
28145
+ const m = Un.unpackCombineGeometryResults(p);
28146
28146
  e._geometries = m.geometries, e._attributeLocations = m.attributeLocations, e.modelMatrix = V.clone(
28147
28147
  m.modelMatrix,
28148
28148
  e.modelMatrix
@@ -28162,7 +28162,7 @@ function eb(e, t) {
28162
28162
  l(m.attributes) && l(m.primitiveType) ? T = jE(m) : T = m.constructor.createGeometry(m), s[c++] = YE(r, T), a.push(r.id);
28163
28163
  }
28164
28164
  s.length = c;
28165
- const h = t.scene3DOnly, d = t.mapProjection, p = Mn.combineGeometry({
28165
+ const h = t.scene3DOnly, d = t.mapProjection, p = Un.combineGeometry({
28166
28166
  instances: s,
28167
28167
  ellipsoid: d.ellipsoid,
28168
28168
  projection: d,
@@ -28360,7 +28360,7 @@ function rb(e, t, n) {
28360
28360
  t.scene3DOnly
28361
28361
  ), a = Kl(a), a = Pe._updateColorAttribute(e, a, !1), a = Jl(e, a), a = Pe._modifyShaderPosition(e, a, t.scene3DOnly);
28362
28362
  let r = n.getFragmentShaderSource();
28363
- r = Ql(r), e._sp = ht.replaceCache({
28363
+ r = Ql(r), e._sp = ft.replaceCache({
28364
28364
  context: i,
28365
28365
  shaderProgram: e._sp,
28366
28366
  vertexShaderSource: a,
@@ -28372,7 +28372,7 @@ function rb(e, t, n) {
28372
28372
  e,
28373
28373
  a,
28374
28374
  t.scene3DOnly
28375
- ), a = Kl(a), a = Pe._updateColorAttribute(e, a, !0), a = Jl(e, a), a = Pe._modifyShaderPosition(e, a, t.scene3DOnly), a = $E(a), r = e._depthFailAppearance.getFragmentShaderSource(), r = Ql(r), r = ZE(r), e._spDepthFail = ht.replaceCache({
28375
+ ), a = Kl(a), a = Pe._updateColorAttribute(e, a, !0), a = Jl(e, a), a = Pe._modifyShaderPosition(e, a, t.scene3DOnly), a = $E(a), r = e._depthFailAppearance.getFragmentShaderSource(), r = Ql(r), r = ZE(r), e._spDepthFail = ft.replaceCache({
28376
28376
  context: i,
28377
28377
  shaderProgram: e._spDepthFail,
28378
28378
  vertexShaderSource: a,
@@ -28676,7 +28676,7 @@ Pe.prototype.destroy = function() {
28676
28676
  const i = this._pickIds;
28677
28677
  for (e = i.length, t = 0; t < e; ++t)
28678
28678
  i[t].destroy();
28679
- return this._pickIds = void 0, this._batchTable = this._batchTable && this._batchTable.destroy(), this._instanceIds = void 0, this._perInstanceAttributeCache = void 0, this._attributeLocations = void 0, rt(this);
28679
+ return this._pickIds = void 0, this._batchTable = this._batchTable && this._batchTable.destroy(), this._instanceIds = void 0, this._perInstanceAttributeCache = void 0, this._attributeLocations = void 0, at(this);
28680
28680
  };
28681
28681
  function So(e, t, n, i) {
28682
28682
  e._error = i, e._state = n, t.afterRender.push(function() {
@@ -29688,7 +29688,7 @@ function Rb(e, t) {
29688
29688
  a,
29689
29689
  e.appearance
29690
29690
  );
29691
- if (e._spStencil = ht.replaceCache({
29691
+ if (e._spStencil = ft.replaceCache({
29692
29692
  context: n,
29693
29693
  shaderProgram: e._spStencil,
29694
29694
  vertexShaderSource: c,
@@ -29703,7 +29703,7 @@ function Rb(e, t) {
29703
29703
  !1,
29704
29704
  t.mapProjection
29705
29705
  );
29706
- if (e._spPick = ht.replaceCache({
29706
+ if (e._spPick = ft.replaceCache({
29707
29707
  context: n,
29708
29708
  shaderProgram: e._spPick,
29709
29709
  vertexShaderSource: A,
@@ -29734,7 +29734,7 @@ function Rb(e, t) {
29734
29734
  e._spPick2D = E;
29735
29735
  }
29736
29736
  } else
29737
- e._spPick = ht.fromCache({
29737
+ e._spPick = ft.fromCache({
29738
29738
  context: n,
29739
29739
  vertexShaderSource: c,
29740
29740
  fragmentShaderSource: h,
@@ -29743,7 +29743,7 @@ function Rb(e, t) {
29743
29743
  s = Pe._appendShowToShader(i, s), c = new Ee({
29744
29744
  defines: [f],
29745
29745
  sources: [s]
29746
- }), e._sp = ht.replaceCache({
29746
+ }), e._sp = ft.replaceCache({
29747
29747
  context: n,
29748
29748
  shaderProgram: e._sp,
29749
29749
  vertexShaderSource: c,
@@ -29756,7 +29756,7 @@ function Rb(e, t) {
29756
29756
  !1,
29757
29757
  t.mapProjection
29758
29758
  );
29759
- if (e._spColor = ht.replaceCache({
29759
+ if (e._spColor = ft.replaceCache({
29760
29760
  context: n,
29761
29761
  shaderProgram: e._spColor,
29762
29762
  vertexShaderSource: T,
@@ -30058,7 +30058,7 @@ Yi.prototype.isDestroyed = function() {
30058
30058
  return !1;
30059
30059
  };
30060
30060
  Yi.prototype.destroy = function() {
30061
- return this._primitive = this._primitive && this._primitive.destroy(), this._sp = this._sp && this._sp.destroy(), this._spPick = this._spPick && this._spPick.destroy(), this._spColor = this._spColor && this._spColor.destroy(), this._spPick2D = void 0, this._spColor2D = void 0, rt(this);
30061
+ return this._primitive = this._primitive && this._primitive.destroy(), this._sp = this._sp && this._sp.destroy(), this._spPick = this._spPick && this._spPick.destroy(), this._spColor = this._spColor && this._spColor.destroy(), this._spPick2D = void 0, this._spColor2D = void 0, at(this);
30062
30062
  };
30063
30063
  const Mb = {
30064
30064
  u_globeMinimumAltitude: function() {
@@ -30495,7 +30495,7 @@ ln.prototype.isDestroyed = function() {
30495
30495
  return !1;
30496
30496
  };
30497
30497
  ln.prototype.destroy = function() {
30498
- return this._primitive = this._primitive && this._primitive.destroy(), rt(this);
30498
+ return this._primitive = this._primitive && this._primitive.destroy(), at(this);
30499
30499
  };
30500
30500
  ln._supportsMaterials = function(e) {
30501
30501
  return e.depthTexture;
@@ -30525,7 +30525,7 @@ const Xb = {
30525
30525
  * @constant
30526
30526
  */
30527
30527
  RHUMB: 2
30528
- }, Kn = Object.freeze(Xb), gu = S.EPSILON10;
30528
+ }, Qn = Object.freeze(Xb), gu = S.EPSILON10;
30529
30529
  function $b(e, t, n, i) {
30530
30530
  if (_.defined("equalsEpsilon", t), !l(e))
30531
30531
  return;
@@ -30970,17 +30970,17 @@ ai.prototype.findIntersectionWithLatitude = function(e, t) {
30970
30970
  const a = js(n, s.latitude), r = js(n, e), f = Math.tan(i) * (r - a), c = S.negativePiToPi(s.longitude + f);
30971
30971
  return l(t) ? (t.longitude = c, t.latitude = e, t.height = 0, t) : new se(c, e, 0);
30972
30972
  };
30973
- const hf = [kn, nn], sx = hf.length, Sm = Math.cos(S.toRadians(30)), Tu = Math.cos(S.toRadians(150)), Im = 0, Dm = 1e3;
30973
+ const hf = [Vn, nn], sx = hf.length, Sm = Math.cos(S.toRadians(30)), Tu = Math.cos(S.toRadians(150)), Im = 0, Dm = 1e3;
30974
30974
  function qi(e) {
30975
30975
  e = g(e, g.EMPTY_OBJECT);
30976
30976
  const t = e.positions;
30977
30977
  if (!l(t) || t.length < 2)
30978
30978
  throw new C("At least two positions are required.");
30979
- if (l(e.arcType) && e.arcType !== Kn.GEODESIC && e.arcType !== Kn.RHUMB)
30979
+ if (l(e.arcType) && e.arcType !== Qn.GEODESIC && e.arcType !== Qn.RHUMB)
30980
30980
  throw new C(
30981
30981
  "Valid options for arcType are ArcType.GEODESIC and ArcType.RHUMB."
30982
30982
  );
30983
- this.width = g(e.width, 1), this._positions = t, this.granularity = g(e.granularity, 9999), this.loop = g(e.loop, !1), this.arcType = g(e.arcType, Kn.GEODESIC), this._ellipsoid = pe.default, this._projectionIndex = 0, this._workerName = "createGroundPolylineGeometry", this._scene3DOnly = !1;
30983
+ this.width = g(e.width, 1), this._positions = t, this.granularity = g(e.granularity, 9999), this.loop = g(e.loop, !1), this.arcType = g(e.arcType, Qn.GEODESIC), this._ellipsoid = pe.default, this._projectionIndex = 0, this._workerName = "createGroundPolylineGeometry", this._scene3DOnly = !1;
30984
30984
  }
30985
30985
  Object.defineProperties(qi.prototype, {
30986
30986
  /**
@@ -31015,7 +31015,7 @@ function Pc(e, t, n, i, s, a, r, f, c, h, d) {
31015
31015
  if (s === 0)
31016
31016
  return;
31017
31017
  let p;
31018
- a === Kn.GEODESIC ? p = new rr(e, t, r) : a === Kn.RHUMB && (p = new ai(e, t, r));
31018
+ a === Qn.GEODESIC ? p = new rr(e, t, r) : a === Qn.RHUMB && (p = new ai(e, t, r));
31019
31019
  const m = p.surfaceDistance;
31020
31020
  if (m < s)
31021
31021
  return;
@@ -31123,7 +31123,7 @@ qi.createGeometry = function(e) {
31123
31123
  y,
31124
31124
  Da,
31125
31125
  qr
31126
- ), l(b) && !u.equalsEpsilon(b, T, S.EPSILON7) && !u.equalsEpsilon(b, y, S.EPSILON7) && (e.arcType === Kn.GEODESIC ? B.push(u.clone(b)) : e.arcType === Kn.RHUMB && (O = i.cartesianToCartographic(
31126
+ ), l(b) && !u.equalsEpsilon(b, T, S.EPSILON7) && !u.equalsEpsilon(b, y, S.EPSILON7) && (e.arcType === Qn.GEODESIC ? B.push(u.clone(b)) : e.arcType === Qn.RHUMB && (O = i.cartesianToCartographic(
31127
31127
  b,
31128
31128
  Hr
31129
31129
  ).longitude, w = i.cartesianToCartographic(T, Hr), A = i.cartesianToCartographic(y, Au), E.setEndPoints(w, A), D = E.findIntersectionWithLongitude(
@@ -31138,7 +31138,7 @@ qi.createGeometry = function(e) {
31138
31138
  y,
31139
31139
  Da,
31140
31140
  qr
31141
- ), l(b) && !u.equalsEpsilon(b, T, S.EPSILON7) && !u.equalsEpsilon(b, y, S.EPSILON7) && (e.arcType === Kn.GEODESIC ? B.push(u.clone(b)) : e.arcType === Kn.RHUMB && (O = i.cartesianToCartographic(
31141
+ ), l(b) && !u.equalsEpsilon(b, T, S.EPSILON7) && !u.equalsEpsilon(b, y, S.EPSILON7) && (e.arcType === Qn.GEODESIC ? B.push(u.clone(b)) : e.arcType === Qn.RHUMB && (O = i.cartesianToCartographic(
31142
31142
  b,
31143
31143
  Hr
31144
31144
  ).longitude, w = i.cartesianToCartographic(T, Hr), A = i.cartesianToCartographic(y, Au), E.setEndPoints(w, A), D = E.findIntersectionWithLongitude(
@@ -31481,7 +31481,7 @@ function Hx(e, t, n, i, s, a, r) {
31481
31481
  Ae
31482
31482
  ));
31483
31483
  }
31484
- let Le = 0, Ye = 0, it = 0;
31484
+ let Le = 0, Ye = 0, st = 0;
31485
31485
  for (f = 0; f < d; f++) {
31486
31486
  const Ct = u.clone(Ce, vu), on = u.clone(xe, Ou);
31487
31487
  let rn = u.clone(
@@ -31600,7 +31600,7 @@ function Hx(e, t, n, i, s, a, r) {
31600
31600
  U0,
31601
31601
  h
31602
31602
  ), Fa = Ef.minimumTerrainHeight, Ma = Ef.maximumTerrainHeight;
31603
- it += Math.abs(Fa), it += Math.abs(Ma), Du(
31603
+ st += Math.abs(Fa), st += Math.abs(Ma), Du(
31604
31604
  Ct,
31605
31605
  on,
31606
31606
  Fa,
@@ -31662,7 +31662,7 @@ function Hx(e, t, n, i, s, a, r) {
31662
31662
  Ne[1]
31663
31663
  );
31664
31664
  const yt = te.fromBoundingSpheres(Ne);
31665
- yt.radius += it / (d * 2);
31665
+ yt.radius += st / (d * 2);
31666
31666
  const Et = {
31667
31667
  position: new zt({
31668
31668
  componentDatatype: he.DOUBLE,
@@ -32831,7 +32831,7 @@ function tS(e, t, n) {
32831
32831
  defines: m,
32832
32832
  sources: [p, c]
32833
32833
  });
32834
- e._sp = ht.replaceCache({
32834
+ e._sp = ft.replaceCache({
32835
32835
  context: i,
32836
32836
  shaderProgram: s._sp,
32837
32837
  vertexShaderSource: T,
@@ -33075,7 +33075,7 @@ Di.prototype.isDestroyed = function() {
33075
33075
  return !1;
33076
33076
  };
33077
33077
  Di.prototype.destroy = function() {
33078
- return this._primitive = this._primitive && this._primitive.destroy(), this._sp = this._sp && this._sp.destroy(), this._sp2D = void 0, this._spMorph = void 0, rt(this);
33078
+ return this._primitive = this._primitive && this._primitive.destroy(), this._sp = this._sp && this._sp.destroy(), this._sp2D = void 0, this._spMorph = void 0, at(this);
33079
33079
  };
33080
33080
  const sS = new q(1, 1), oS = !1, rS = I.WHITE;
33081
33081
  function Ys(e) {
@@ -36262,14 +36262,14 @@ dn.prototype.computeModelMatrixForHeightReference = function(e, t, n, i, s) {
36262
36262
  const a = ve.getValueOrDefault(
36263
36263
  t,
36264
36264
  e,
36265
- ei.NONE
36265
+ zn.NONE
36266
36266
  );
36267
36267
  let r = ve.getValueOrUndefined(
36268
36268
  this._position,
36269
36269
  e,
36270
36270
  zm
36271
36271
  );
36272
- if (a === ei.NONE || !l(r) || u.equalsEpsilon(r, u.ZERO, S.EPSILON8))
36272
+ if (a === zn.NONE || !l(r) || u.equalsEpsilon(r, u.ZERO, S.EPSILON8))
36273
36273
  return this.computeModelMatrix(e, s);
36274
36274
  const f = i.cartesianToCartographic(r, ES);
36275
36275
  La(a) ? f.height = n : f.height += n, r = i.cartographicToCartesian(f, r);
@@ -36397,7 +36397,7 @@ xt.worldWithEyeOffsetToWindowCoordinates = function(e, t, n, i) {
36397
36397
  }
36398
36398
  }
36399
36399
  if (s.mode !== ye.SCENE2D || h) {
36400
- if (qt = lo(a, n, c, qt), qt.z < 0 && !(c.frustum instanceof un) && !(c.frustum instanceof Nn))
36400
+ if (qt = lo(a, n, c, qt), qt.z < 0 && !(c.frustum instanceof un) && !(c.frustum instanceof Fn))
36401
36401
  return;
36402
36402
  i = xt.clipToGLWindowCoordinates(
36403
36403
  f,
@@ -37163,7 +37163,7 @@ function me(e, t) {
37163
37163
  throw new C(
37164
37164
  "distanceDisplayCondition.far must be greater than distanceDisplayCondition.near."
37165
37165
  );
37166
- a = ft.clone(
37166
+ a = it.clone(
37167
37167
  a
37168
37168
  );
37169
37169
  }
@@ -37175,13 +37175,13 @@ function me(e, t) {
37175
37175
  g(e.eyeOffset, u.ZERO)
37176
37176
  ), this._heightReference = g(
37177
37177
  e.heightReference,
37178
- ei.NONE
37178
+ zn.NONE
37179
37179
  ), this._verticalOrigin = g(
37180
37180
  e.verticalOrigin,
37181
- ot.CENTER
37181
+ rt.CENTER
37182
37182
  ), this._horizontalOrigin = g(
37183
37183
  e.horizontalOrigin,
37184
- Fn.CENTER
37184
+ Mn.CENTER
37185
37185
  ), this._scale = g(e.scale, 1), this._color = I.clone(g(e.color, I.WHITE)), this._rotation = g(e.rotation, 0), this._alignedAxis = u.clone(
37186
37186
  g(e.alignedAxis, u.ZERO)
37187
37187
  ), this._width = e.width, this._height = e.height, this._scaleByDistance = s, this._translucencyByDistance = n, this._pixelOffsetScaleByDistance = i, this._sizeInMeters = g(e.sizeInMeters, !1), this._distanceDisplayCondition = a, this._disableDepthTestDistance = e.disableDepthTestDistance, this._id = e.id, this._collection = g(e.collection, t), this._pickId = void 0, this._pickPrimitive = g(e._pickPrimitive, this), this._billboardCollection = t, this._dirty = !1, this._index = -1, this._batchIndex = void 0, this._imageIndex = -1, this._imageIndexPromise = void 0, this._imageId = void 0, this._image = void 0, this._imageSubRegion = void 0, this._imageWidth = void 0, this._imageHeight = void 0, this._labelDimensions = void 0, this._labelHorizontalOrigin = void 0, this._labelTranslate = void 0;
@@ -37618,12 +37618,12 @@ Object.defineProperties(me.prototype, {
37618
37618
  return this._distanceDisplayCondition;
37619
37619
  },
37620
37620
  set: function(e) {
37621
- if (!ft.equals(e, this._distanceDisplayCondition)) {
37621
+ if (!it.equals(e, this._distanceDisplayCondition)) {
37622
37622
  if (l(e) && (_.typeOf.object("value", e), e.far <= e.near))
37623
37623
  throw new C(
37624
37624
  "far distance must be greater than near distance."
37625
37625
  );
37626
- this._distanceDisplayCondition = ft.clone(
37626
+ this._distanceDisplayCondition = it.clone(
37627
37627
  e,
37628
37628
  this._distanceDisplayCondition
37629
37629
  ), Je(this, qS);
@@ -37817,14 +37817,14 @@ const ua = new se();
37817
37817
  me._updateClamping = function(e, t) {
37818
37818
  const n = e._scene;
37819
37819
  if (!l(n)) {
37820
- if (t._heightReference !== ei.NONE)
37820
+ if (t._heightReference !== zn.NONE)
37821
37821
  throw new C(
37822
37822
  "Height reference is not supported without a scene."
37823
37823
  );
37824
37824
  return;
37825
37825
  }
37826
37826
  const i = g(n.ellipsoid, pe.default), s = n.frameState.mode, a = s !== t._mode;
37827
- if (t._mode = s, (t._heightReference === ei.NONE || a) && l(t._removeCallbackFunc) && (t._removeCallbackFunc(), t._removeCallbackFunc = void 0, t._clampedPosition = void 0), t._heightReference === ei.NONE || !l(t._position))
37827
+ if (t._mode = s, (t._heightReference === zn.NONE || a) && l(t._removeCallbackFunc) && (t._removeCallbackFunc(), t._removeCallbackFunc = void 0, t._clampedPosition = void 0), t._heightReference === zn.NONE || !l(t._position))
37828
37828
  return;
37829
37829
  l(t._removeCallbackFunc) && t._removeCallbackFunc();
37830
37830
  const r = i.cartesianToCartographic(t._position);
@@ -37950,9 +37950,9 @@ me.getScreenSpaceBoundingBox = function(e, t, n) {
37950
37950
  const a = e.scale;
37951
37951
  i *= a, s *= a;
37952
37952
  let r = t.x;
37953
- e.horizontalOrigin === Fn.RIGHT ? r -= i : e.horizontalOrigin === Fn.CENTER && (r -= i * 0.5);
37953
+ e.horizontalOrigin === Mn.RIGHT ? r -= i : e.horizontalOrigin === Mn.CENTER && (r -= i * 0.5);
37954
37954
  let f = t.y;
37955
- return e.verticalOrigin === ot.BOTTOM || e.verticalOrigin === ot.BASELINE ? f -= s : e.verticalOrigin === ot.CENTER && (f -= s * 0.5), l(n) || (n = new be()), n.x = r, n.y = f, n.width = i, n.height = s, n;
37955
+ return e.verticalOrigin === rt.BOTTOM || e.verticalOrigin === rt.BASELINE ? f -= s : e.verticalOrigin === rt.CENTER && (f -= s * 0.5), l(n) || (n = new be()), n.x = r, n.y = f, n.width = i, n.height = s, n;
37956
37956
  };
37957
37957
  me.prototype.equals = function(e) {
37958
37958
  return this === e || l(e) && this._id === e._id && u.equals(this._position, e._position) && this._imageId === e._imageId && this._show === e._show && this._scale === e._scale && this._verticalOrigin === e._verticalOrigin && this._horizontalOrigin === e._horizontalOrigin && this._heightReference === e._heightReference && be.equals(this._imageSubRegion, e._imageSubRegion) && I.equals(this._color, e._color) && q.equals(this._pixelOffset, e._pixelOffset) && q.equals(this._translate, e._translate) && u.equals(this._eyeOffset, e._eyeOffset) && Ie.equals(this._scaleByDistance, e._scaleByDistance) && Ie.equals(
@@ -37961,7 +37961,7 @@ me.prototype.equals = function(e) {
37961
37961
  ) && Ie.equals(
37962
37962
  this._pixelOffsetScaleByDistance,
37963
37963
  e._pixelOffsetScaleByDistance
37964
- ) && ft.equals(
37964
+ ) && it.equals(
37965
37965
  this._distanceDisplayCondition,
37966
37966
  e._distanceDisplayCondition
37967
37967
  ) && this._disableDepthTestDistance === e._disableDepthTestDistance && this._splitDirection === e._splitDirection;
@@ -38131,7 +38131,7 @@ function ZS(e, t) {
38131
38131
  width: c,
38132
38132
  height: h,
38133
38133
  pixelFormat: e._pixelFormat
38134
- }), E = new Vn({
38134
+ }), E = new Gn({
38135
38135
  context: n,
38136
38136
  colorTextures: [e._texture],
38137
38137
  destroyAttachments: !1
@@ -38257,7 +38257,7 @@ ci.prototype.isDestroyed = function() {
38257
38257
  return !1;
38258
38258
  };
38259
38259
  ci.prototype.destroy = function() {
38260
- return this._texture = this._texture && this._texture.destroy(), rt(this);
38260
+ return this._texture = this._texture && this._texture.destroy(), at(this);
38261
38261
  };
38262
38262
  const KS = me.SHOW_INDEX, Io = me.POSITION_INDEX, Vm = me.PIXEL_OFFSET_INDEX, Gm = me.EYE_OFFSET_INDEX, QS = me.HORIZONTAL_ORIGIN_INDEX, JS = me.VERTICAL_ORIGIN_INDEX, eI = me.SCALE_INDEX, uo = me.IMAGE_INDEX_INDEX, qm = me.COLOR_INDEX, tI = me.ROTATION_INDEX, nI = me.ALIGNED_AXIS_INDEX, Hm = me.SCALE_BY_DISTANCE_INDEX, jm = me.TRANSLUCENCY_BY_DISTANCE_INDEX, Ym = me.PIXEL_OFFSET_SCALE_BY_DISTANCE_INDEX, Xm = me.DISTANCE_DISPLAY_CONDITION, iI = me.DISABLE_DEPTH_DISTANCE, sI = me.TEXTURE_COORDINATE_BOUNDS, $m = me.SDF_INDEX, Zm = me.SPLIT_DIRECTION_INDEX, lf = me.NUMBER_OF_PROPERTIES;
38263
38263
  let qe;
@@ -38617,7 +38617,7 @@ function s0(e, t, n, i, s) {
38617
38617
  );
38618
38618
  const T = s.horizontalOrigin;
38619
38619
  let y = s._verticalOrigin, w = s.show && s.clusterShow;
38620
- s.color.alpha === 0 && (w = !1), y === ot.BASELINE && (y = ot.BOTTOM), e._allHorizontalCenter = e._allHorizontalCenter && T === Fn.CENTER, e._allVerticalCenter = e._allVerticalCenter && y === ot.CENTER;
38620
+ s.color.alpha === 0 && (w = !1), y === rt.BASELINE && (y = rt.BOTTOM), e._allHorizontalCenter = e._allHorizontalCenter && T === Mn.CENTER, e._allVerticalCenter = e._allVerticalCenter && y === rt.CENTER;
38621
38621
  let A = 0, E = 0, b = 0, D = 0;
38622
38622
  const O = s._imageIndex;
38623
38623
  if (O !== -1) {
@@ -38734,7 +38734,7 @@ function Sh(e, t, n, i, s) {
38734
38734
  let a;
38735
38735
  const r = i[qe.eyeOffset], f = s.eyeOffset;
38736
38736
  let c = f.z;
38737
- if (s._heightReference !== ei.NONE && (c *= 1.005), e._maxEyeOffset = Math.max(
38737
+ if (s._heightReference !== zn.NONE && (c *= 1.005), e._maxEyeOffset = Math.max(
38738
38738
  e._maxEyeOffset,
38739
38739
  Math.abs(f.x),
38740
38740
  Math.abs(f.y),
@@ -39119,7 +39119,7 @@ sn.prototype.update = function(e) {
39119
39119
  this._blendOption === mt.OPAQUE_AND_TRANSLUCENT && (O = new Ee({
39120
39120
  defines: ["OPAQUE", U],
39121
39121
  sources: [b]
39122
- }), this._shaderClampToGround && (z ? O.defines.push("VERTEX_DEPTH_CHECK") : O.defines.push("FRAGMENT_DEPTH_CHECK")), this._sdf && (O.defines.push("SDF"), O.defines.push(`SDF_EDGE ${N}`)), this._sp = ht.replaceCache({
39122
+ }), this._shaderClampToGround && (z ? O.defines.push("VERTEX_DEPTH_CHECK") : O.defines.push("FRAGMENT_DEPTH_CHECK")), this._sdf && (O.defines.push("SDF"), O.defines.push(`SDF_EDGE ${N}`)), this._sp = ft.replaceCache({
39123
39123
  context: i,
39124
39124
  shaderProgram: this._sp,
39125
39125
  vertexShaderSource: D,
@@ -39128,7 +39128,7 @@ sn.prototype.update = function(e) {
39128
39128
  }), O = new Ee({
39129
39129
  defines: ["TRANSLUCENT", U],
39130
39130
  sources: [b]
39131
- }), this._shaderClampToGround && (z ? O.defines.push("VERTEX_DEPTH_CHECK") : O.defines.push("FRAGMENT_DEPTH_CHECK")), this._sdf && (O.defines.push("SDF"), O.defines.push(`SDF_EDGE ${N}`)), this._spTranslucent = ht.replaceCache({
39131
+ }), this._shaderClampToGround && (z ? O.defines.push("VERTEX_DEPTH_CHECK") : O.defines.push("FRAGMENT_DEPTH_CHECK")), this._sdf && (O.defines.push("SDF"), O.defines.push(`SDF_EDGE ${N}`)), this._spTranslucent = ft.replaceCache({
39132
39132
  context: i,
39133
39133
  shaderProgram: this._spTranslucent,
39134
39134
  vertexShaderSource: D,
@@ -39137,7 +39137,7 @@ sn.prototype.update = function(e) {
39137
39137
  })), this._blendOption === mt.OPAQUE && (O = new Ee({
39138
39138
  defines: [U],
39139
39139
  sources: [b]
39140
- }), this._shaderClampToGround && (z ? O.defines.push("VERTEX_DEPTH_CHECK") : O.defines.push("FRAGMENT_DEPTH_CHECK")), this._sdf && (O.defines.push("SDF"), O.defines.push(`SDF_EDGE ${N}`)), this._sp = ht.replaceCache({
39140
+ }), this._shaderClampToGround && (z ? O.defines.push("VERTEX_DEPTH_CHECK") : O.defines.push("FRAGMENT_DEPTH_CHECK")), this._sdf && (O.defines.push("SDF"), O.defines.push(`SDF_EDGE ${N}`)), this._sp = ft.replaceCache({
39141
39141
  context: i,
39142
39142
  shaderProgram: this._sp,
39143
39143
  vertexShaderSource: D,
@@ -39146,7 +39146,7 @@ sn.prototype.update = function(e) {
39146
39146
  })), this._blendOption === mt.TRANSLUCENT && (O = new Ee({
39147
39147
  defines: [U],
39148
39148
  sources: [b]
39149
- }), this._shaderClampToGround && (z ? O.defines.push("VERTEX_DEPTH_CHECK") : O.defines.push("FRAGMENT_DEPTH_CHECK")), this._sdf && (O.defines.push("SDF"), O.defines.push(`SDF_EDGE ${N}`)), this._spTranslucent = ht.replaceCache({
39149
+ }), this._shaderClampToGround && (z ? O.defines.push("VERTEX_DEPTH_CHECK") : O.defines.push("FRAGMENT_DEPTH_CHECK")), this._sdf && (O.defines.push("SDF"), O.defines.push(`SDF_EDGE ${N}`)), this._spTranslucent = ft.replaceCache({
39150
39150
  context: i,
39151
39151
  shaderProgram: this._spTranslucent,
39152
39152
  vertexShaderSource: D,
@@ -39175,7 +39175,7 @@ sn.prototype.isDestroyed = function() {
39175
39175
  return !1;
39176
39176
  };
39177
39177
  sn.prototype.destroy = function() {
39178
- return l(this._removeCallbackFunc) && (this._removeCallbackFunc(), this._removeCallbackFunc = void 0), this._textureAtlas = this._destroyTextureAtlas && this._textureAtlas && this._textureAtlas.destroy(), this._sp = this._sp && this._sp.destroy(), this._spTranslucent = this._spTranslucent && this._spTranslucent.destroy(), this._vaf = this._vaf && this._vaf.destroy(), Km(this._billboards), rt(this);
39178
+ return l(this._removeCallbackFunc) && (this._removeCallbackFunc(), this._removeCallbackFunc = void 0), this._textureAtlas = this._destroyTextureAtlas && this._textureAtlas && this._textureAtlas.destroy(), this._sp = this._sp && this._sp.destroy(), this._spTranslucent = this._spTranslucent && this._spTranslucent.destroy(), this._vaf = this._vaf && this._vaf.destroy(), Km(this._billboards), at(this);
39179
39179
  };
39180
39180
  function wI(e, t, n, i, s) {
39181
39181
  const a = e.measureText(t);
@@ -39320,7 +39320,7 @@ const xI = /* @__PURE__ */ Oa(EI), SI = {
39320
39320
  * @constant
39321
39321
  */
39322
39322
  FILL_AND_OUTLINE: 2
39323
- }, Qn = Object.freeze(SI), Qu = {};
39323
+ }, Jn = Object.freeze(SI), Qu = {};
39324
39324
  let Ju = 0;
39325
39325
  const II = 256, DI = new I(0.165, 0.165, 0.165, 0.8), OI = new q(7, 5), wt = Object.freeze({
39326
39326
  LTR: 0,
@@ -39353,7 +39353,7 @@ function u0(e) {
39353
39353
  }
39354
39354
  e._fontFamily = t.family, e._fontSize = t.size, e._fontStyle = t.style, e._fontWeight = t.weight, e._lineHeight = t.lineHeight;
39355
39355
  }
39356
- function Un(e, t) {
39356
+ function kn(e, t) {
39357
39357
  if (e = g(e, g.EMPTY_OBJECT), l(e.disableDepthTestDistance) && e.disableDepthTestDistance < 0)
39358
39358
  throw new C(
39359
39359
  "disableDepthTestDistance must be greater than 0.0."
@@ -39387,7 +39387,7 @@ function Un(e, t) {
39387
39387
  throw new C(
39388
39388
  "distanceDisplayCondition.far must be greater than distanceDisplayCondition.near."
39389
39389
  );
39390
- a = ft.clone(
39390
+ a = it.clone(
39391
39391
  a
39392
39392
  );
39393
39393
  }
@@ -39397,12 +39397,12 @@ function Un(e, t) {
39397
39397
  g(e.backgroundColor, DI)
39398
39398
  ), this._backgroundPadding = q.clone(
39399
39399
  g(e.backgroundPadding, OI)
39400
- ), this._style = g(e.style, Qn.FILL), this._verticalOrigin = g(
39400
+ ), this._style = g(e.style, Jn.FILL), this._verticalOrigin = g(
39401
39401
  e.verticalOrigin,
39402
- ot.BASELINE
39402
+ rt.BASELINE
39403
39403
  ), this._horizontalOrigin = g(
39404
39404
  e.horizontalOrigin,
39405
- Fn.LEFT
39405
+ Mn.LEFT
39406
39406
  ), this._pixelOffset = q.clone(
39407
39407
  g(e.pixelOffset, q.ZERO)
39408
39408
  ), this._eyeOffset = u.clone(
@@ -39411,10 +39411,10 @@ function Un(e, t) {
39411
39411
  g(e.position, u.ZERO)
39412
39412
  ), this._scale = g(e.scale, 1), this._id = e.id, this._translucencyByDistance = n, this._pixelOffsetScaleByDistance = i, this._scaleByDistance = s, this._heightReference = g(
39413
39413
  e.heightReference,
39414
- ei.NONE
39414
+ zn.NONE
39415
39415
  ), this._distanceDisplayCondition = a, this._disableDepthTestDistance = e.disableDepthTestDistance, this._labelCollection = t, this._glyphs = [], this._backgroundBillboard = void 0, this._batchIndex = void 0, this._rebindAllGlyphs = !0, this._repositionAllGlyphs = !0, this._actualClampedPosition = void 0, this._removeCallbackFunc = void 0, this._mode = void 0, this._clusterShow = !0, this.text = g(e.text, ""), this._relativeSize = 1, u0(this), this._updateClamping();
39416
39416
  }
39417
- Object.defineProperties(Un.prototype, {
39417
+ Object.defineProperties(kn.prototype, {
39418
39418
  /**
39419
39419
  * Determines if this label will be shown. Use this to hide or show a label, instead
39420
39420
  * of removing it and re-adding it to the collection.
@@ -39506,7 +39506,7 @@ Object.defineProperties(Un.prototype, {
39506
39506
  if (this._text !== e) {
39507
39507
  this._text = e;
39508
39508
  const t = e.replace(/\u00ad/g, "");
39509
- this._renderedText = Un.enableRightToLeftDetection ? LI(t) : t, is(this);
39509
+ this._renderedText = kn.enableRightToLeftDetection ? LI(t) : t, is(this);
39510
39510
  }
39511
39511
  }
39512
39512
  },
@@ -39991,8 +39991,8 @@ Object.defineProperties(Un.prototype, {
39991
39991
  set: function(e) {
39992
39992
  if (l(e) && e.far <= e.near)
39993
39993
  throw new C("far must be greater than near");
39994
- if (!ft.equals(e, this._distanceDisplayCondition)) {
39995
- this._distanceDisplayCondition = ft.clone(
39994
+ if (!it.equals(e, this._distanceDisplayCondition)) {
39995
+ this._distanceDisplayCondition = it.clone(
39996
39996
  e,
39997
39997
  this._distanceDisplayCondition
39998
39998
  );
@@ -40113,10 +40113,10 @@ Object.defineProperties(Un.prototype, {
40113
40113
  }
40114
40114
  }
40115
40115
  });
40116
- Un.prototype._updateClamping = function() {
40116
+ kn.prototype._updateClamping = function() {
40117
40117
  me._updateClamping(this._labelCollection, this);
40118
40118
  };
40119
- Un.prototype.computeScreenSpacePosition = function(e, t) {
40119
+ kn.prototype.computeScreenSpacePosition = function(e, t) {
40120
40120
  if (!l(e))
40121
40121
  throw new C("scene is required.");
40122
40122
  l(t) || (t = new q());
@@ -40130,11 +40130,11 @@ Un.prototype.computeScreenSpacePosition = function(e, t) {
40130
40130
  t
40131
40131
  );
40132
40132
  };
40133
- Un.getScreenSpaceBoundingBox = function(e, t, n) {
40133
+ kn.getScreenSpaceBoundingBox = function(e, t, n) {
40134
40134
  let i = 0, s = 0, a = 0, r = 0;
40135
40135
  const f = e.totalScale, c = e._backgroundBillboard;
40136
40136
  if (l(c))
40137
- i = t.x + c._translate.x, s = t.y - c._translate.y, a = c.width * f, r = c.height * f, e.verticalOrigin === ot.BOTTOM || e.verticalOrigin === ot.BASELINE ? s -= r : e.verticalOrigin === ot.CENTER && (s -= r * 0.5);
40137
+ i = t.x + c._translate.x, s = t.y - c._translate.y, a = c.width * f, r = c.height * f, e.verticalOrigin === rt.BOTTOM || e.verticalOrigin === rt.BASELINE ? s -= r : e.verticalOrigin === rt.CENTER && (s -= r * 0.5);
40138
40138
  else {
40139
40139
  i = Number.POSITIVE_INFINITY, s = Number.POSITIVE_INFINITY;
40140
40140
  let h = 0, d = 0;
@@ -40146,28 +40146,28 @@ Un.getScreenSpaceBoundingBox = function(e, t, n) {
40146
40146
  const A = t.x + w._translate.x;
40147
40147
  let E = t.y - w._translate.y;
40148
40148
  const b = y.dimensions.width * f, D = y.dimensions.height * f;
40149
- e.verticalOrigin === ot.BOTTOM || e.verticalOrigin === ot.BASELINE ? E -= D : e.verticalOrigin === ot.CENTER && (E -= D * 0.5), e._verticalOrigin === ot.TOP ? E += _n.PADDING * f : (e._verticalOrigin === ot.BOTTOM || e._verticalOrigin === ot.BASELINE) && (E -= _n.PADDING * f), i = Math.min(i, A), s = Math.min(s, E), h = Math.max(h, A + b), d = Math.max(d, E + D);
40149
+ e.verticalOrigin === rt.BOTTOM || e.verticalOrigin === rt.BASELINE ? E -= D : e.verticalOrigin === rt.CENTER && (E -= D * 0.5), e._verticalOrigin === rt.TOP ? E += _n.PADDING * f : (e._verticalOrigin === rt.BOTTOM || e._verticalOrigin === rt.BASELINE) && (E -= _n.PADDING * f), i = Math.min(i, A), s = Math.min(s, E), h = Math.max(h, A + b), d = Math.max(d, E + D);
40150
40150
  }
40151
40151
  a = h - i, r = d - s;
40152
40152
  }
40153
40153
  return l(n) || (n = new be()), n.x = i, n.y = s, n.width = a, n.height = r, n;
40154
40154
  };
40155
- Un.prototype.equals = function(e) {
40155
+ kn.prototype.equals = function(e) {
40156
40156
  return this === e || l(e) && this._show === e._show && this._scale === e._scale && this._outlineWidth === e._outlineWidth && this._showBackground === e._showBackground && this._style === e._style && this._verticalOrigin === e._verticalOrigin && this._horizontalOrigin === e._horizontalOrigin && this._heightReference === e._heightReference && this._renderedText === e._renderedText && this._font === e._font && u.equals(this._position, e._position) && I.equals(this._fillColor, e._fillColor) && I.equals(this._outlineColor, e._outlineColor) && I.equals(this._backgroundColor, e._backgroundColor) && q.equals(this._backgroundPadding, e._backgroundPadding) && q.equals(this._pixelOffset, e._pixelOffset) && u.equals(this._eyeOffset, e._eyeOffset) && Ie.equals(
40157
40157
  this._translucencyByDistance,
40158
40158
  e._translucencyByDistance
40159
40159
  ) && Ie.equals(
40160
40160
  this._pixelOffsetScaleByDistance,
40161
40161
  e._pixelOffsetScaleByDistance
40162
- ) && Ie.equals(this._scaleByDistance, e._scaleByDistance) && ft.equals(
40162
+ ) && Ie.equals(this._scaleByDistance, e._scaleByDistance) && it.equals(
40163
40163
  this._distanceDisplayCondition,
40164
40164
  e._distanceDisplayCondition
40165
40165
  ) && this._disableDepthTestDistance === e._disableDepthTestDistance && this._id === e._id;
40166
40166
  };
40167
- Un.prototype.isDestroyed = function() {
40167
+ kn.prototype.isDestroyed = function() {
40168
40168
  return !1;
40169
40169
  };
40170
- Un.enableRightToLeftDetection = !1;
40170
+ kn.enableRightToLeftDetection = !1;
40171
40171
  function vI(e, t) {
40172
40172
  const n = /[a-zA-Z0-9]/, i = /[()[\]{}<>]/, s = [];
40173
40173
  let a = "", r = wt.LTR, f = "";
@@ -41689,7 +41689,7 @@ function VI(e) {
41689
41689
  }
41690
41690
  const Sn = {};
41691
41691
  function GI(e, t, n, i, s, a, r) {
41692
- return Sn.font = t, Sn.fillColor = n, Sn.strokeColor = i, Sn.strokeWidth = s, Sn.padding = _n.PADDING, r === ot.CENTER ? Sn.textBaseline = "middle" : r === ot.TOP ? Sn.textBaseline = "top" : Sn.textBaseline = "bottom", Sn.fill = a === Qn.FILL || a === Qn.FILL_AND_OUTLINE, Sn.stroke = a === Qn.OUTLINE || a === Qn.FILL_AND_OUTLINE, Sn.backgroundColor = I.BLACK, AI(e, Sn);
41692
+ return Sn.font = t, Sn.fillColor = n, Sn.strokeColor = i, Sn.strokeWidth = s, Sn.padding = _n.PADDING, r === rt.CENTER ? Sn.textBaseline = "middle" : r === rt.TOP ? Sn.textBaseline = "top" : Sn.textBaseline = "bottom", Sn.fill = a === Jn.FILL || a === Jn.FILL_AND_OUTLINE, Sn.stroke = a === Jn.OUTLINE || a === Jn.FILL_AND_OUTLINE, Sn.backgroundColor = I.BLACK, AI(e, Sn);
41693
41693
  }
41694
41694
  function Dh(e, t) {
41695
41695
  t.textureInfo = void 0, t.dimensions = void 0;
@@ -41715,7 +41715,7 @@ function jI(e, t) {
41715
41715
  collection: e,
41716
41716
  image: p0,
41717
41717
  imageSubRegion: kI
41718
- }), t._backgroundBillboard = p), p.color = t._backgroundColor, p.show = t._show, p.position = t._position, p.eyeOffset = t._eyeOffset, p.pixelOffset = t._pixelOffset, p.horizontalOrigin = Fn.LEFT, p.verticalOrigin = t._verticalOrigin, p.heightReference = t._heightReference, p.scale = t.totalScale, p.pickPrimitive = t, p.id = t._id, p.translucencyByDistance = t._translucencyByDistance, p.pixelOffsetScaleByDistance = t._pixelOffsetScaleByDistance, p.scaleByDistance = t._scaleByDistance, p.distanceDisplayCondition = t._distanceDisplayCondition, p.disableDepthTestDistance = t._disableDepthTestDistance, p.clusterShow = t.clusterShow) : l(p) && (m.remove(p), t._backgroundBillboard = p = void 0);
41718
+ }), t._backgroundBillboard = p), p.color = t._backgroundColor, p.show = t._show, p.position = t._position, p.eyeOffset = t._eyeOffset, p.pixelOffset = t._pixelOffset, p.horizontalOrigin = Mn.LEFT, p.verticalOrigin = t._verticalOrigin, p.heightReference = t._heightReference, p.scale = t.totalScale, p.pickPrimitive = t, p.id = t._id, p.translucencyByDistance = t._translucencyByDistance, p.pixelOffsetScaleByDistance = t._pixelOffsetScaleByDistance, p.scaleByDistance = t._scaleByDistance, p.distanceDisplayCondition = t._distanceDisplayCondition, p.disableDepthTestDistance = t._disableDepthTestDistance, p.clusterShow = t.clusterShow) : l(p) && (m.remove(p), t._backgroundBillboard = p = void 0);
41719
41719
  const T = e._glyphTextureCache;
41720
41720
  for (h = 0; h < s; ++h) {
41721
41721
  const y = i[h], w = t._verticalOrigin, A = JSON.stringify([
@@ -41733,7 +41733,7 @@ function jI(e, t) {
41733
41733
  I.WHITE,
41734
41734
  I.WHITE,
41735
41735
  0,
41736
- Qn.FILL,
41736
+ Jn.FILL,
41737
41737
  w
41738
41738
  );
41739
41739
  if (E = new MI(
@@ -41763,15 +41763,15 @@ function jI(e, t) {
41763
41763
  const D = e._spareBillboards;
41764
41764
  l(b) || (D.length > 0 ? b = D.pop() : (b = e._billboardCollection.add({
41765
41765
  collection: e
41766
- }), b._labelDimensions = new q(), b._labelTranslate = new q()), f.billboard = b), b.show = t._show, b.position = t._position, b.eyeOffset = t._eyeOffset, b.pixelOffset = t._pixelOffset, b.horizontalOrigin = Fn.LEFT, b.verticalOrigin = t._verticalOrigin, b.heightReference = t._heightReference, b.scale = t.totalScale, b.pickPrimitive = t, b.id = t._id, b.image = A, b.translucencyByDistance = t._translucencyByDistance, b.pixelOffsetScaleByDistance = t._pixelOffsetScaleByDistance, b.scaleByDistance = t._scaleByDistance, b.distanceDisplayCondition = t._distanceDisplayCondition, b.disableDepthTestDistance = t._disableDepthTestDistance, b._batchIndex = t._batchIndex, b.outlineColor = t.outlineColor, t.style === Qn.FILL_AND_OUTLINE ? (b.color = t._fillColor, b.outlineWidth = t.outlineWidth) : t.style === Qn.FILL ? (b.color = t._fillColor, b.outlineWidth = 0) : t.style === Qn.OUTLINE && (b.color = I.TRANSPARENT, b.outlineWidth = t.outlineWidth);
41766
+ }), b._labelDimensions = new q(), b._labelTranslate = new q()), f.billboard = b), b.show = t._show, b.position = t._position, b.eyeOffset = t._eyeOffset, b.pixelOffset = t._pixelOffset, b.horizontalOrigin = Mn.LEFT, b.verticalOrigin = t._verticalOrigin, b.heightReference = t._heightReference, b.scale = t.totalScale, b.pickPrimitive = t, b.id = t._id, b.image = A, b.translucencyByDistance = t._translucencyByDistance, b.pixelOffsetScaleByDistance = t._pixelOffsetScaleByDistance, b.scaleByDistance = t._scaleByDistance, b.distanceDisplayCondition = t._distanceDisplayCondition, b.disableDepthTestDistance = t._disableDepthTestDistance, b._batchIndex = t._batchIndex, b.outlineColor = t.outlineColor, t.style === Jn.FILL_AND_OUTLINE ? (b.color = t._fillColor, b.outlineWidth = t.outlineWidth) : t.style === Jn.FILL ? (b.color = t._fillColor, b.outlineWidth = 0) : t.style === Jn.OUTLINE && (b.color = I.TRANSPARENT, b.outlineWidth = t.outlineWidth);
41767
41767
  }
41768
41768
  }
41769
41769
  t._repositionAllGlyphs = !0;
41770
41770
  }
41771
41771
  function td(e, t, n) {
41772
- return t === Fn.CENTER ? -e / 2 : t === Fn.RIGHT ? -(e + n.x) : n.x;
41772
+ return t === Mn.CENTER ? -e / 2 : t === Mn.RIGHT ? -(e + n.x) : n.x;
41773
41773
  }
41774
- const st = new q(), YI = new q();
41774
+ const ot = new q(), YI = new q();
41775
41775
  function XI(e) {
41776
41776
  const t = e._glyphs, n = e._renderedText;
41777
41777
  let i, s, a = 0, r = 0;
@@ -41793,7 +41793,7 @@ function XI(e) {
41793
41793
  );
41794
41794
  const z = (l(e._lineHeight) ? e._lineHeight : UI * e._fontSize) / e._relativeSize, F = z * (d - 1);
41795
41795
  let N = r, U = w + F;
41796
- l(T) && (N += y.x * 2, U += y.y * 2, T._labelHorizontalOrigin = E), st.x = B * A, st.y = 0;
41796
+ l(T) && (N += y.x * 2, U += y.y * 2, T._labelHorizontalOrigin = E), ot.x = B * A, ot.y = 0;
41797
41797
  let M = !0, j = 0;
41798
41798
  for (p = 0; p < m; ++p)
41799
41799
  if (n.charAt(p) === `
@@ -41802,21 +41802,21 @@ function XI(e) {
41802
41802
  O,
41803
41803
  E,
41804
41804
  y
41805
- ), st.x = B * A, M = !0;
41806
- else if (i = t[p], s = i.dimensions, b === ot.TOP ? (st.y = s.height - h - y.y, st.y += _n.PADDING) : b === ot.CENTER ? st.y = (F + s.height - h) / 2 : b === ot.BASELINE ? (st.y = F, st.y -= _n.PADDING) : (st.y = F + c + y.y, st.y -= _n.PADDING), st.y = (st.y - s.descent - j) * A, M && (st.x -= _n.PADDING * A, M = !1), l(i.billboard) && (i.billboard._setTranslate(st), i.billboard._labelDimensions.x = N, i.billboard._labelDimensions.y = U, i.billboard._labelHorizontalOrigin = E), p < m - 1) {
41805
+ ), ot.x = B * A, M = !0;
41806
+ else if (i = t[p], s = i.dimensions, b === rt.TOP ? (ot.y = s.height - h - y.y, ot.y += _n.PADDING) : b === rt.CENTER ? ot.y = (F + s.height - h) / 2 : b === rt.BASELINE ? (ot.y = F, ot.y -= _n.PADDING) : (ot.y = F + c + y.y, ot.y -= _n.PADDING), ot.y = (ot.y - s.descent - j) * A, M && (ot.x -= _n.PADDING * A, M = !1), l(i.billboard) && (i.billboard._setTranslate(ot), i.billboard._labelDimensions.x = N, i.billboard._labelDimensions.y = U, i.billboard._labelHorizontalOrigin = E), p < m - 1) {
41807
41807
  const Y = t[p + 1];
41808
- st.x += (s.width - s.minx + Y.dimensions.minx) * A;
41808
+ ot.x += (s.width - s.minx + Y.dimensions.minx) * A;
41809
41809
  }
41810
41810
  if (l(T) && n.split(`
41811
- `).join("").length > 0 && (E === Fn.CENTER ? B = -r / 2 - y.x : E === Fn.RIGHT ? B = -(r + y.x * 2) : B = 0, st.x = B * A, b === ot.TOP ? st.y = w - h - c : b === ot.CENTER ? st.y = (w - h) / 2 - c : b === ot.BASELINE ? st.y = -y.y - c : st.y = 0, st.y = st.y * A, T.width = N, T.height = U, T._setTranslate(st), T._labelTranslate = q.clone(
41812
- st,
41811
+ `).join("").length > 0 && (E === Mn.CENTER ? B = -r / 2 - y.x : E === Mn.RIGHT ? B = -(r + y.x * 2) : B = 0, ot.x = B * A, b === rt.TOP ? ot.y = w - h - c : b === rt.CENTER ? ot.y = (w - h) / 2 - c : b === rt.BASELINE ? ot.y = -y.y - c : ot.y = 0, ot.y = ot.y * A, T.width = N, T.height = U, T._setTranslate(ot), T._labelTranslate = q.clone(
41812
+ ot,
41813
41813
  T._labelTranslate
41814
41814
  )), La(e.heightReference))
41815
41815
  for (p = 0; p < m; ++p) {
41816
41816
  i = t[p];
41817
41817
  const Y = i.billboard;
41818
41818
  l(Y) && (Y._labelTranslate = q.clone(
41819
- st,
41819
+ ot,
41820
41820
  Y._labelTranslate
41821
41821
  ));
41822
41822
  }
@@ -41827,9 +41827,9 @@ function m0(e, t) {
41827
41827
  Dh(e, n[i]);
41828
41828
  l(t._backgroundBillboard) && (e._backgroundBillboardCollection.remove(
41829
41829
  t._backgroundBillboard
41830
- ), t._backgroundBillboard = void 0), t._labelCollection = void 0, l(t._removeCallbackFunc) && t._removeCallbackFunc(), rt(t);
41830
+ ), t._backgroundBillboard = void 0), t._labelCollection = void 0, l(t._removeCallbackFunc) && t._removeCallbackFunc(), at(t);
41831
41831
  }
41832
- function Gn(e) {
41832
+ function qn(e) {
41833
41833
  e = g(e, g.EMPTY_OBJECT), this._scene = e.scene, this._batchTable = e.batchTable, this._textureAtlas = void 0, this._backgroundTextureAtlas = void 0, this._backgroundBillboardCollection = new sn({
41834
41834
  scene: this._scene
41835
41835
  }), this._backgroundBillboardCollection.destroyTextureAtlas = !1, this._billboardCollection = new sn({
@@ -41845,7 +41845,7 @@ function Gn(e) {
41845
41845
  mt.OPAQUE_AND_TRANSLUCENT
41846
41846
  );
41847
41847
  }
41848
- Object.defineProperties(Gn.prototype, {
41848
+ Object.defineProperties(qn.prototype, {
41849
41849
  /**
41850
41850
  * Returns the number of labels in this collection. This is commonly used with
41851
41851
  * {@link LabelCollection#get} to iterate over all the labels
@@ -41859,11 +41859,11 @@ Object.defineProperties(Gn.prototype, {
41859
41859
  }
41860
41860
  }
41861
41861
  });
41862
- Gn.prototype.add = function(e) {
41863
- const t = new Un(e, this);
41862
+ qn.prototype.add = function(e) {
41863
+ const t = new kn(e, this);
41864
41864
  return this._labels.push(t), this._labelsToUpdate.push(t), t;
41865
41865
  };
41866
- Gn.prototype.remove = function(e) {
41866
+ qn.prototype.remove = function(e) {
41867
41867
  if (l(e) && e._labelCollection === this) {
41868
41868
  const t = this._labels.indexOf(e);
41869
41869
  if (t !== -1)
@@ -41871,21 +41871,21 @@ Gn.prototype.remove = function(e) {
41871
41871
  }
41872
41872
  return !1;
41873
41873
  };
41874
- Gn.prototype.removeAll = function() {
41874
+ qn.prototype.removeAll = function() {
41875
41875
  const e = this._labels;
41876
41876
  for (let t = 0, n = e.length; t < n; ++t)
41877
41877
  m0(this, e[t]);
41878
41878
  e.length = 0;
41879
41879
  };
41880
- Gn.prototype.contains = function(e) {
41880
+ qn.prototype.contains = function(e) {
41881
41881
  return l(e) && e._labelCollection === this;
41882
41882
  };
41883
- Gn.prototype.get = function(e) {
41883
+ qn.prototype.get = function(e) {
41884
41884
  if (!l(e))
41885
41885
  throw new C("index is required.");
41886
41886
  return this._labels[e];
41887
41887
  };
41888
- Gn.prototype.update = function(e) {
41888
+ qn.prototype.update = function(e) {
41889
41889
  if (!this.show)
41890
41890
  return;
41891
41891
  const t = this._billboardCollection, n = this._backgroundBillboardCollection;
@@ -41910,11 +41910,11 @@ Gn.prototype.update = function(e) {
41910
41910
  const a = n.length > 0 ? mt.TRANSLUCENT : this.blendOption;
41911
41911
  t.blendOption = a, n.blendOption = a, t._highlightColor = this._highlightColor, n._highlightColor = this._highlightColor, this._labelsToUpdate.length = 0, n.update(e), t.update(e);
41912
41912
  };
41913
- Gn.prototype.isDestroyed = function() {
41913
+ qn.prototype.isDestroyed = function() {
41914
41914
  return !1;
41915
41915
  };
41916
- Gn.prototype.destroy = function() {
41917
- return this.removeAll(), this._billboardCollection = this._billboardCollection.destroy(), this._textureAtlas = this._textureAtlas && this._textureAtlas.destroy(), this._backgroundBillboardCollection = this._backgroundBillboardCollection.destroy(), this._backgroundTextureAtlas = this._backgroundTextureAtlas && this._backgroundTextureAtlas.destroy(), rt(this);
41916
+ qn.prototype.destroy = function() {
41917
+ return this.removeAll(), this._billboardCollection = this._billboardCollection.destroy(), this._textureAtlas = this._textureAtlas && this._textureAtlas.destroy(), this._backgroundBillboardCollection = this._backgroundBillboardCollection.destroy(), this._backgroundTextureAtlas = this._backgroundTextureAtlas && this._backgroundTextureAtlas.destroy(), at(this);
41918
41918
  };
41919
41919
  const nd = {
41920
41920
  id: void 0
@@ -41943,7 +41943,7 @@ function ar(e) {
41943
41943
  }
41944
41944
  }
41945
41945
  function Jt(e) {
41946
- this._owner = e, this._entities = new Zn(), this._addedEntities = new Zn(), this._removedEntities = new Zn(), this._changedEntities = new Zn(), this._suspendCount = 0, this._collectionChanged = new Fe(), this._id = hi(), this._show = !0, this._firing = !1, this._refire = !1;
41946
+ this._owner = e, this._entities = new Kn(), this._addedEntities = new Kn(), this._removedEntities = new Kn(), this._changedEntities = new Kn(), this._suspendCount = 0, this._collectionChanged = new Fe(), this._id = hi(), this._show = !0, this._firing = !1, this._refire = !1;
41947
41947
  }
41948
41948
  Jt.prototype.suspendEvents = function() {
41949
41949
  this._suspendCount++;
@@ -42431,7 +42431,7 @@ function Re(e, t) {
42431
42431
  throw new C(
42432
42432
  "distanceDisplayCondition.far must be greater than distanceDisplayCondition.near."
42433
42433
  );
42434
- s = ft.clone(
42434
+ s = it.clone(
42435
42435
  s
42436
42436
  );
42437
42437
  }
@@ -42650,7 +42650,7 @@ Object.defineProperties(Re.prototype, {
42650
42650
  set: function(e) {
42651
42651
  if (l(e) && e.far <= e.near)
42652
42652
  throw new C("far must be greater than near");
42653
- ft.equals(this._distanceDisplayCondition, e) || (this._distanceDisplayCondition = ft.clone(
42653
+ it.equals(this._distanceDisplayCondition, e) || (this._distanceDisplayCondition = it.clone(
42654
42654
  e,
42655
42655
  this._distanceDisplayCondition
42656
42656
  ), pn(this, rD));
@@ -42789,7 +42789,7 @@ Re.prototype.equals = function(e) {
42789
42789
  return this === e || l(e) && this._id === e._id && u.equals(this._position, e._position) && I.equals(this._color, e._color) && this._pixelSize === e._pixelSize && this._outlineWidth === e._outlineWidth && this._show === e._show && I.equals(this._outlineColor, e._outlineColor) && Ie.equals(this._scaleByDistance, e._scaleByDistance) && Ie.equals(
42790
42790
  this._translucencyByDistance,
42791
42791
  e._translucencyByDistance
42792
- ) && ft.equals(
42792
+ ) && it.equals(
42793
42793
  this._distanceDisplayCondition,
42794
42794
  e._distanceDisplayCondition
42795
42795
  ) && this._disableDepthTestDistance === e._disableDepthTestDistance && this._splitDirection === e._splitDirection;
@@ -43396,7 +43396,7 @@ Cn.prototype.update = function(e) {
43396
43396
  }), this._shaderScaleByDistance && y.defines.push("EYE_DISTANCE_SCALING"), this._shaderTranslucencyByDistance && y.defines.push("EYE_DISTANCE_TRANSLUCENCY"), this._shaderDistanceDisplayCondition && y.defines.push("DISTANCE_DISPLAY_CONDITION"), this._shaderDisableDepthDistance && y.defines.push("DISABLE_DEPTH_DISTANCE"), this._blendOption === mt.OPAQUE_AND_TRANSLUCENT && (w = new Ee({
43397
43397
  defines: ["OPAQUE"],
43398
43398
  sources: [$r]
43399
- }), this._sp = ht.replaceCache({
43399
+ }), this._sp = ft.replaceCache({
43400
43400
  context: c,
43401
43401
  shaderProgram: this._sp,
43402
43402
  vertexShaderSource: y,
@@ -43405,7 +43405,7 @@ Cn.prototype.update = function(e) {
43405
43405
  }), w = new Ee({
43406
43406
  defines: ["TRANSLUCENT"],
43407
43407
  sources: [$r]
43408
- }), this._spTranslucent = ht.replaceCache({
43408
+ }), this._spTranslucent = ft.replaceCache({
43409
43409
  context: c,
43410
43410
  shaderProgram: this._spTranslucent,
43411
43411
  vertexShaderSource: y,
@@ -43413,7 +43413,7 @@ Cn.prototype.update = function(e) {
43413
43413
  attributeLocations: Xt
43414
43414
  })), this._blendOption === mt.OPAQUE && (w = new Ee({
43415
43415
  sources: [$r]
43416
- }), this._sp = ht.replaceCache({
43416
+ }), this._sp = ft.replaceCache({
43417
43417
  context: c,
43418
43418
  shaderProgram: this._sp,
43419
43419
  vertexShaderSource: y,
@@ -43421,7 +43421,7 @@ Cn.prototype.update = function(e) {
43421
43421
  attributeLocations: Xt
43422
43422
  })), this._blendOption === mt.TRANSLUCENT && (w = new Ee({
43423
43423
  sources: [$r]
43424
- }), this._spTranslucent = ht.replaceCache({
43424
+ }), this._spTranslucent = ft.replaceCache({
43425
43425
  context: c,
43426
43426
  shaderProgram: this._spTranslucent,
43427
43427
  vertexShaderSource: y,
@@ -43446,7 +43446,7 @@ Cn.prototype.isDestroyed = function() {
43446
43446
  return !1;
43447
43447
  };
43448
43448
  Cn.prototype.destroy = function() {
43449
- return this._sp = this._sp && this._sp.destroy(), this._spTranslucent = this._spTranslucent && this._spTranslucent.destroy(), this._spPick = this._spPick && this._spPick.destroy(), this._vaf = this._vaf && this._vaf.destroy(), O0(this._pointPrimitives), rt(this);
43449
+ return this._sp = this._sp && this._sp.destroy(), this._spTranslucent = this._spTranslucent && this._spTranslucent.destroy(), this._spPick = this._spPick && this._spPick.destroy(), this._vaf = this._vaf && this._vaf.destroy(), O0(this._pointPrimitives), at(this);
43450
43450
  };
43451
43451
  const rd = [
43452
43452
  Int8Array,
@@ -43592,7 +43592,7 @@ function ad(e, t, n, i) {
43592
43592
  const s = e - n, a = t - i;
43593
43593
  return s * s + a * a;
43594
43594
  }
43595
- function qn(e) {
43595
+ function Hn(e) {
43596
43596
  e = g(e, g.EMPTY_OBJECT), this._enabled = g(e.enabled, !1), this._pixelRange = g(e.pixelRange, 80), this._minimumClusterSize = g(e.minimumClusterSize, 2), this._clusterBillboards = g(e.clusterBillboards, !0), this._clusterLabels = g(e.clusterLabels, !0), this._clusterPoints = g(e.clusterPoints, !0), this._labelCollection = void 0, this._billboardCollection = void 0, this._pointCollection = void 0, this._clusterBillboardCollection = void 0, this._clusterLabelCollection = void 0, this._clusterPointCollection = void 0, this._collectionIndicesByEntity = {}, this._unusedLabelIndices = [], this._unusedBillboardIndices = [], this._unusedPointIndices = [], this._previousClusters = [], this._previousHeight = void 0, this._enabledDirty = !1, this._clusterDirty = !1, this._cluster = void 0, this._removeEventListener = void 0, this._clusterEvent = new Fe(), this.show = g(e.show, !0);
43597
43597
  }
43598
43598
  function cd(e, t) {
@@ -43600,8 +43600,8 @@ function cd(e, t) {
43600
43600
  }
43601
43601
  const wD = new be();
43602
43602
  function hd(e, t, n, i, s) {
43603
- if (l(e._labelCollection) && i._clusterLabels ? s = Un.getScreenSpaceBoundingBox(e, t, s) : l(e._billboardCollection) && i._clusterBillboards ? s = me.getScreenSpaceBoundingBox(e, t, s) : l(e._pointPrimitiveCollection) && i._clusterPoints && (s = Re.getScreenSpaceBoundingBox(e, t, s)), cd(s, n), i._clusterLabels && !l(e._labelCollection) && l(e.id) && z0(i, e.id.id) && l(e.id._label)) {
43604
- const a = i._collectionIndicesByEntity[e.id.id].labelIndex, r = i._labelCollection.get(a), f = Un.getScreenSpaceBoundingBox(
43603
+ if (l(e._labelCollection) && i._clusterLabels ? s = kn.getScreenSpaceBoundingBox(e, t, s) : l(e._billboardCollection) && i._clusterBillboards ? s = me.getScreenSpaceBoundingBox(e, t, s) : l(e._pointPrimitiveCollection) && i._clusterPoints && (s = Re.getScreenSpaceBoundingBox(e, t, s)), cd(s, n), i._clusterLabels && !l(e._labelCollection) && l(e.id) && z0(i, e.id.id) && l(e.id._label)) {
43604
+ const a = i._collectionIndicesByEntity[e.id.id].labelIndex, r = i._labelCollection.get(a), f = kn.getScreenSpaceBoundingBox(
43605
43605
  r,
43606
43606
  t,
43607
43607
  wD
@@ -43656,7 +43656,7 @@ function SD(e) {
43656
43656
  if (!l(i) && !l(s) && !l(a) || !e._clusterBillboards && !e._clusterLabels && !e._clusterPoints)
43657
43657
  return;
43658
43658
  let r = e._clusterLabelCollection, f = e._clusterBillboardCollection, c = e._clusterPointCollection;
43659
- l(r) ? r.removeAll() : r = e._clusterLabelCollection = new Gn({
43659
+ l(r) ? r.removeAll() : r = e._clusterLabelCollection = new qn({
43660
43660
  scene: n
43661
43661
  }), l(f) ? f.removeAll() : f = e._clusterBillboardCollection = new sn({
43662
43662
  scene: n
@@ -43772,12 +43772,12 @@ function SD(e) {
43772
43772
  r.length === 0 && (r.destroy(), e._clusterLabelCollection = void 0), f.length === 0 && (f.destroy(), e._clusterBillboardCollection = void 0), c.length === 0 && (c.destroy(), e._clusterPointCollection = void 0), e._previousClusters = m, e._previousHeight = y;
43773
43773
  };
43774
43774
  }
43775
- qn.prototype._initialize = function(e) {
43775
+ Hn.prototype._initialize = function(e) {
43776
43776
  this._scene = e;
43777
43777
  const t = SD(this);
43778
43778
  this._cluster = t, this._removeEventListener = e.camera.changed.addEventListener(t);
43779
43779
  };
43780
- Object.defineProperties(qn.prototype, {
43780
+ Object.defineProperties(Hn.prototype, {
43781
43781
  /**
43782
43782
  * Gets or sets whether clustering is enabled.
43783
43783
  * @memberof EntityCluster.prototype
@@ -43894,13 +43894,13 @@ function Tf(e, t) {
43894
43894
  const n = e._collectionIndicesByEntity[t];
43895
43895
  !l(n.billboardIndex) && !l(n.labelIndex) && !l(n.pointIndex) && delete e._collectionIndicesByEntity[t];
43896
43896
  }
43897
- qn.prototype.getLabel = gf(
43897
+ Hn.prototype.getLabel = gf(
43898
43898
  "_labelCollection",
43899
- Gn,
43899
+ qn,
43900
43900
  "_unusedLabelIndices",
43901
43901
  "labelIndex"
43902
43902
  );
43903
- qn.prototype.removeLabel = function(e) {
43903
+ Hn.prototype.removeLabel = function(e) {
43904
43904
  const t = this._collectionIndicesByEntity && this._collectionIndicesByEntity[e.id];
43905
43905
  if (!l(this._labelCollection) || !l(t) || !l(t.labelIndex))
43906
43906
  return;
@@ -43909,13 +43909,13 @@ qn.prototype.removeLabel = function(e) {
43909
43909
  const i = this._labelCollection.get(n);
43910
43910
  i.show = !1, i.text = "", i.id = void 0, this._unusedLabelIndices.push(n), this._clusterDirty = !0;
43911
43911
  };
43912
- qn.prototype.getBillboard = gf(
43912
+ Hn.prototype.getBillboard = gf(
43913
43913
  "_billboardCollection",
43914
43914
  sn,
43915
43915
  "_unusedBillboardIndices",
43916
43916
  "billboardIndex"
43917
43917
  );
43918
- qn.prototype.removeBillboard = function(e) {
43918
+ Hn.prototype.removeBillboard = function(e) {
43919
43919
  const t = this._collectionIndicesByEntity && this._collectionIndicesByEntity[e.id];
43920
43920
  if (!l(this._billboardCollection) || !l(t) || !l(t.billboardIndex))
43921
43921
  return;
@@ -43924,13 +43924,13 @@ qn.prototype.removeBillboard = function(e) {
43924
43924
  const i = this._billboardCollection.get(n);
43925
43925
  i.id = void 0, i.show = !1, i.image = void 0, this._unusedBillboardIndices.push(n), this._clusterDirty = !0;
43926
43926
  };
43927
- qn.prototype.getPoint = gf(
43927
+ Hn.prototype.getPoint = gf(
43928
43928
  "_pointCollection",
43929
43929
  Cn,
43930
43930
  "_unusedPointIndices",
43931
43931
  "pointIndex"
43932
43932
  );
43933
- qn.prototype.removePoint = function(e) {
43933
+ Hn.prototype.removePoint = function(e) {
43934
43934
  const t = this._collectionIndicesByEntity && this._collectionIndicesByEntity[e.id];
43935
43935
  if (!l(this._pointCollection) || !l(t) || !l(t.pointIndex))
43936
43936
  return;
@@ -43949,17 +43949,17 @@ function Kc(e) {
43949
43949
  function ID(e) {
43950
43950
  e.enabled || (l(e._clusterLabelCollection) && e._clusterLabelCollection.destroy(), l(e._clusterBillboardCollection) && e._clusterBillboardCollection.destroy(), l(e._clusterPointCollection) && e._clusterPointCollection.destroy(), e._clusterLabelCollection = void 0, e._clusterBillboardCollection = void 0, e._clusterPointCollection = void 0, Kc(e._labelCollection), Kc(e._billboardCollection), Kc(e._pointCollection));
43951
43951
  }
43952
- qn.prototype.update = function(e) {
43952
+ Hn.prototype.update = function(e) {
43953
43953
  if (!this.show)
43954
43954
  return;
43955
43955
  let t;
43956
43956
  l(this._labelCollection) && this._labelCollection.length > 0 && this._labelCollection.get(0)._glyphs.length === 0 && (t = e.commandList, e.commandList = [], this._labelCollection.update(e), e.commandList = t), l(this._billboardCollection) && this._billboardCollection.length > 0 && !l(this._billboardCollection.get(0).width) && (t = e.commandList, e.commandList = [], this._billboardCollection.update(e), e.commandList = t), this._enabledDirty && (this._enabledDirty = !1, ID(this), this._clusterDirty = !0), this._clusterDirty && (this._clusterDirty = !1, this._cluster()), l(this._clusterLabelCollection) && this._clusterLabelCollection.update(e), l(this._clusterBillboardCollection) && this._clusterBillboardCollection.update(e), l(this._clusterPointCollection) && this._clusterPointCollection.update(e), l(this._labelCollection) && this._labelCollection.update(e), l(this._billboardCollection) && this._billboardCollection.update(e), l(this._pointCollection) && this._pointCollection.update(e);
43957
43957
  };
43958
- qn.prototype.destroy = function() {
43958
+ Hn.prototype.destroy = function() {
43959
43959
  this._labelCollection = this._labelCollection && this._labelCollection.destroy(), this._billboardCollection = this._billboardCollection && this._billboardCollection.destroy(), this._pointCollection = this._pointCollection && this._pointCollection.destroy(), this._clusterLabelCollection = this._clusterLabelCollection && this._clusterLabelCollection.destroy(), this._clusterBillboardCollection = this._clusterBillboardCollection && this._clusterBillboardCollection.destroy(), this._clusterPointCollection = this._clusterPointCollection && this._clusterPointCollection.destroy(), l(this._removeEventListener) && (this._removeEventListener(), this._removeEventListener = void 0), this._labelCollection = void 0, this._billboardCollection = void 0, this._pointCollection = void 0, this._clusterBillboardCollection = void 0, this._clusterLabelCollection = void 0, this._clusterPointCollection = void 0, this._collectionIndicesByEntity = void 0, this._unusedLabelIndices = [], this._unusedBillboardIndices = [], this._unusedPointIndices = [], this._previousClusters = [], this._previousHeight = void 0, this._enabledDirty = !1, this._pixelRangeDirty = !1, this._minimumClusterSizeDirty = !1;
43960
43960
  };
43961
43961
  function tr(e) {
43962
- this._name = e, this._clock = void 0, this._changed = new Fe(), this._error = new Fe(), this._isLoading = !1, this._loading = new Fe(), this._entityCollection = new Jt(this), this._entityCluster = new qn();
43962
+ this._name = e, this._clock = void 0, this._changed = new Fe(), this._error = new Fe(), this._isLoading = !1, this._loading = new Fe(), this._entityCollection = new Jt(this), this._entityCluster = new Hn();
43963
43963
  }
43964
43964
  Object.defineProperties(tr.prototype, {
43965
43965
  /**
@@ -44094,7 +44094,7 @@ function v(e, t, n = 10, i = "#ba1919") {
44094
44094
  // 线低于地形时用于绘制折线的材质
44095
44095
  // depthFailMaterial: Cesium.Color.WHITE,
44096
44096
  // 折线段必须遵循的线型
44097
- arcType: Kn.NONE,
44097
+ arcType: Qn.NONE,
44098
44098
  shadows: Ia.DISABLED
44099
44099
  // 折线是投射还是接收光源的阴影
44100
44100
  // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(
@@ -44126,37 +44126,34 @@ function vs(e, t, n, i, s = new He(
44126
44126
  show: !0,
44127
44127
  uri: i,
44128
44128
  scale: a,
44129
- heightReference: ei.NONE
44129
+ heightReference: zn.NONE
44130
44130
  }
44131
44131
  };
44132
44132
  }
44133
- function Kr(e, t, n, i = {}) {
44134
- const {
44135
- pointColor: s = I.YELLOW,
44136
- pointSize: a = 12,
44137
- labelColor: r = I.WHITE,
44138
- fontSize: f = 16,
44139
- pixelOffset: c = [0, -20],
44140
- heightReference: h = ei.NONE
44141
- } = i;
44142
- return e.entities.add({
44143
- position: t,
44144
- point: {
44145
- color: s,
44146
- pixelSize: a,
44147
- heightReference: h
44148
- },
44133
+ function Kr(e, t) {
44134
+ return {
44135
+ name: t,
44136
+ position: e,
44149
44137
  label: {
44150
- text: n,
44151
- font: `${f}px sans-serif`,
44152
- fillColor: r,
44153
- pixelOffset: new q(...c),
44154
- style: Qn.FILL_AND_OUTLINE,
44138
+ text: t,
44139
+ font: "18px sans-serif",
44140
+ fillColor: I.GOLD,
44141
+ pixelOffset: new q(0, -20),
44142
+ style: Jn.FILL_AND_OUTLINE,
44155
44143
  outlineWidth: 2,
44156
44144
  outlineColor: I.BLACK,
44157
- heightReference: h
44145
+ heightReference: zn.NONE,
44146
+ distanceDisplayCondition: new it(0, 1e4)
44147
+ // 显示距离范围
44148
+ },
44149
+ point: {
44150
+ color: I.RED,
44151
+ pixelSize: 12,
44152
+ heightReference: zn.NONE,
44153
+ distanceDisplayCondition: new it(0, 1e4)
44154
+ // 显示距离范围
44158
44155
  }
44159
- });
44156
+ };
44160
44157
  }
44161
44158
  function Q(e, t, n, i, s) {
44162
44159
  n || (n = new He());
@@ -45460,6 +45457,7 @@ class MD {
45460
45457
  return;
45461
45458
  const { TowerNodes: t, connections: n } = vD(this.TowerFZS.towerFZinfo);
45462
45459
  this.TowerNodes = t, this.connections = n, this.displacementData = WD(this.TowerFZS.towerDisFile);
45460
+ debugger;
45463
45461
  }
45464
45462
  //单塔仿真加载
45465
45463
  loadFZTower() {
@@ -45469,29 +45467,9 @@ class MD {
45469
45467
  const n = u.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
45470
45468
  this.connections.forEach((i) => {
45471
45469
  const s = this.TowerNodes.find((h) => h.id === i.from), a = this.TowerNodes.find((h) => h.id === i.to), r = [], f = new u(s == null ? void 0 : s.x, s == null ? void 0 : s.y, s == null ? void 0 : s.z);
45472
- r.push(Q(n, f, t)), this.entityCollection2.add(Kr(
45473
- this.viewer,
45474
- r[0],
45475
- (s == null ? void 0 : s.id) + "",
45476
- {
45477
- pointColor: I.RED,
45478
- labelColor: I.GOLD,
45479
- fontSize: 18,
45480
- pixelOffset: [0, -30]
45481
- }
45482
- ));
45470
+ r.push(Q(n, f, t)), this.entityCollection2.add(Kr(r[0], (s == null ? void 0 : s.id) + ""));
45483
45471
  const c = new u(a == null ? void 0 : a.x, a == null ? void 0 : a.y, a == null ? void 0 : a.z);
45484
- r.push(Q(n, c, t)), this.entityCollection2.add(Kr(
45485
- this.viewer,
45486
- r[1],
45487
- (a == null ? void 0 : a.id) + "",
45488
- {
45489
- pointColor: I.RED,
45490
- labelColor: I.GOLD,
45491
- fontSize: 18,
45492
- pixelOffset: [0, -30]
45493
- }
45494
- )), this.entityCollection2.add(v(r, i.from + "" + i.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
45472
+ r.push(Q(n, c, t)), this.entityCollection2.add(Kr(r[1], (a == null ? void 0 : a.id) + "")), this.entityCollection2.add(v(r, i.from + "" + i.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
45495
45473
  });
45496
45474
  }
45497
45475
  /**
@@ -45502,6 +45480,7 @@ class MD {
45502
45480
  if (this.Keym !== "OW_JPS_EEngin_001")
45503
45481
  return;
45504
45482
  const i = ld(this.displacementData)[t];
45483
+ debugger;
45505
45484
  if (!i) {
45506
45485
  console.warn(`未找到时间步 ${t} 的位移数据`);
45507
45486
  return;
@@ -45521,6 +45500,7 @@ class MD {
45521
45500
  console.warn(`找不到连接 ${r.from}->${r.to} 的节点`);
45522
45501
  return;
45523
45502
  }
45503
+ debugger;
45524
45504
  const h = i.find((E) => E.nodeId === r.from), d = i.find((E) => E.nodeId === r.to);
45525
45505
  if (!h || !d) {
45526
45506
  console.warn(`找不到连接 ${r.from}->${r.to} 的位移数据`);
@@ -45535,29 +45515,9 @@ class MD {
45535
45515
  c.y - d.y,
45536
45516
  c.z - d.z
45537
45517
  ), T = Q(a, p, s);
45538
- this.entityCollection2.add(Kr(
45539
- this.viewer,
45540
- T,
45541
- r.from + "",
45542
- {
45543
- pointColor: I.RED,
45544
- labelColor: I.GOLD,
45545
- fontSize: 18,
45546
- pixelOffset: [0, -30]
45547
- }
45548
- ));
45518
+ this.entityCollection2.add(Kr(T, r.from + ""));
45549
45519
  const y = Q(a, m, s);
45550
- this.entityCollection2.add(Kr(
45551
- this.viewer,
45552
- y,
45553
- r.to + "",
45554
- {
45555
- pointColor: I.RED,
45556
- labelColor: I.GOLD,
45557
- fontSize: 18,
45558
- pixelOffset: [0, -30]
45559
- }
45560
- ));
45520
+ this.entityCollection2.add(Kr(y, r.to + ""));
45561
45521
  const w = [T, y], A = `${r.from}_${r.to}`;
45562
45522
  this.entityCollection2.add(
45563
45523
  v(