@terra.gl/core 0.0.1-alpha.69 → 0.0.1-alpha.70

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.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as yt from "three";
2
- import { REVISION as pf, TrianglesDrawMode as ib, TriangleFanDrawMode as ec, TriangleStripDrawMode as mf, Mesh as Ze, Vector3 as O, Color as he, FrontSide as ua, Plane as gf, Matrix4 as Le, Vector4 as Mi, PerspectiveCamera as lr, WebGLRenderTarget as Dr, UniformsUtils as dr, UniformsLib as aa, ShaderMaterial as At, MOUSE as wn, TOUCH as bn, Spherical as ad, Quaternion as bi, OrthographicCamera as cr, Vector2 as ce, Ray as nb, PlaneGeometry as Ti, HalfFloatType as nr, AdditiveBlending as yc, MeshBasicMaterial as xi, RGBAFormat as yf, LinearFilter as Gn, NoBlending as rb, Clock as da, Loader as _c, LoaderUtils as Xr, FileLoader as Wn, MeshPhysicalMaterial as Oi, SpotLight as _f, PointLight as tc, DirectionalLight as la, InstancedMesh as vc, InstancedBufferAttribute as ic, Object3D as Si, TextureLoader as zs, ImageBitmapLoader as sb, BufferAttribute as Mt, InterleavedBuffer as ob, InterleavedBufferAttribute as rr, LinearMipmapLinearFilter as Os, NearestMipmapLinearFilter as ab, LinearMipmapNearestFilter as lb, NearestMipmapNearestFilter as cb, NearestFilter as vf, RepeatWrapping as Li, MirroredRepeatWrapping as hb, ClampToEdgeWrapping as nc, PointsMaterial as fa, Material as Gl, LineBasicMaterial as wc, MeshStandardMaterial as Ds, DoubleSide as Yr, PropertyBinding as As, BufferGeometry as Bt, SkinnedMesh as wf, LineSegments as ub, Line as bc, LineLoop as db, Points as Br, Group as ci, MathUtils as wt, Skeleton as bf, AnimationClip as xf, Bone as rc, InterpolateDiscrete as fb, InterpolateLinear as Tf, Texture as Ur, VectorKeyframeTrack as sc, NumberKeyframeTrack as oc, QuaternionKeyframeTrack as ac, Interpolant as pb, Box3 as mr, Sphere as xc, Curve as mb, MeshPhongMaterial as Rs, MeshLambertMaterial as Sf, EquirectangularReflectionMapping as gb, AmbientLight as Mf, Float32BufferAttribute as xn, Uint16BufferAttribute as yb, Matrix3 as _b, Euler as Ls, DataTextureLoader as vb, FloatType as ra, DataUtils as Ao, InstancedBufferGeometry as Lf, InstancedInterleavedBuffer as lc, WireframeGeometry as wb, Line3 as bb, EventDispatcher as Pf, Scene as Cf, FogExp2 as ld, CubeTextureLoader as xb, WebGLRenderer as Tb, PCFSoftShadowMap as Sb, ACESFilmicToneMapping as Mb, SRGBColorSpace as Kr, CameraHelper as Lb, CubicBezierCurve3 as Pb, Frustum as Cb, Raycaster as Fs, CanvasTexture as gr, SpriteMaterial as Zn, Sprite as Vi, DynamicDrawUsage as cd, NormalBlending as Gf, CurvePath as Wf, LineCurve3 as kr, QuadraticBezierCurve3 as Zf, TubeGeometry as Gb, BackSide as Wb, Shape as Zb, ShapeGeometry as Rb, CylinderGeometry as Ib, AnimationMixer as Eb, LoopRepeat as Ab, LoopOnce as Fb, LoadingManager as Vb, Box2 as zb, ImageLoader as Rf } from "three";
3
- const Ob = "0.0.1-alpha.69", Wl = {
2
+ import { REVISION as pf, TrianglesDrawMode as ib, TriangleFanDrawMode as ec, TriangleStripDrawMode as mf, Mesh as Ze, Vector3 as O, Color as he, FrontSide as ua, Plane as gf, Matrix4 as Le, Vector4 as Mi, PerspectiveCamera as cr, WebGLRenderTarget as Dr, UniformsUtils as dr, UniformsLib as aa, ShaderMaterial as At, MOUSE as wn, TOUCH as bn, Spherical as ad, Quaternion as bi, OrthographicCamera as hr, Vector2 as ce, Ray as nb, PlaneGeometry as Ti, HalfFloatType as rr, AdditiveBlending as yc, MeshBasicMaterial as xi, RGBAFormat as yf, LinearFilter as Wn, NoBlending as rb, Clock as da, Loader as _c, LoaderUtils as Xr, FileLoader as Zn, MeshPhysicalMaterial as Oi, SpotLight as _f, PointLight as tc, DirectionalLight as la, InstancedMesh as vc, InstancedBufferAttribute as ic, Object3D as Si, TextureLoader as zs, ImageBitmapLoader as sb, BufferAttribute as Mt, InterleavedBuffer as ob, InterleavedBufferAttribute as sr, LinearMipmapLinearFilter as Os, NearestMipmapLinearFilter as ab, LinearMipmapNearestFilter as lb, NearestMipmapNearestFilter as cb, NearestFilter as vf, RepeatWrapping as Li, MirroredRepeatWrapping as hb, ClampToEdgeWrapping as nc, PointsMaterial as fa, Material as Gl, LineBasicMaterial as wc, MeshStandardMaterial as Ds, DoubleSide as Yr, PropertyBinding as As, BufferGeometry as Bt, SkinnedMesh as wf, LineSegments as ub, Line as bc, LineLoop as db, Points as Br, Group as ci, MathUtils as wt, Skeleton as bf, AnimationClip as xf, Bone as rc, InterpolateDiscrete as fb, InterpolateLinear as Tf, Texture as Ur, VectorKeyframeTrack as sc, NumberKeyframeTrack as oc, QuaternionKeyframeTrack as ac, Interpolant as pb, Box3 as mr, Sphere as xc, Curve as mb, MeshPhongMaterial as Rs, MeshLambertMaterial as Sf, EquirectangularReflectionMapping as gb, AmbientLight as Mf, Float32BufferAttribute as xn, Uint16BufferAttribute as yb, Matrix3 as _b, Euler as Ls, DataTextureLoader as vb, FloatType as ra, DataUtils as Ao, InstancedBufferGeometry as Lf, InstancedInterleavedBuffer as lc, WireframeGeometry as wb, Line3 as bb, EventDispatcher as Pf, Scene as Cf, FogExp2 as ld, CubeTextureLoader as xb, WebGLRenderer as Tb, PCFSoftShadowMap as Sb, ACESFilmicToneMapping as Mb, SRGBColorSpace as Kr, CameraHelper as Lb, CubicBezierCurve3 as Pb, Frustum as Cb, Raycaster as Fs, CanvasTexture as gr, SpriteMaterial as Rn, Sprite as Vi, DynamicDrawUsage as cd, NormalBlending as Gf, CurvePath as Wf, LineCurve3 as kr, QuadraticBezierCurve3 as Zf, TubeGeometry as Gb, BackSide as Wb, Shape as Zb, ShapeGeometry as Rb, CylinderGeometry as Ib, AnimationMixer as Eb, LoopRepeat as Ab, LoopOnce as Fb, LoadingManager as Vb, Box2 as zb, ImageLoader as Rf } from "three";
3
+ const Ob = "0.0.1-alpha.70", Wl = {
4
4
  name: "Criska"
5
5
  };
6
6
  var Is = function() {
@@ -334,7 +334,7 @@ try {
334
334
  class e1 extends Ze {
335
335
  constructor(e, t = {}) {
336
336
  super(e), this.isWater = !0;
337
- const i = this, n = t.textureWidth !== void 0 ? t.textureWidth : 512, s = t.textureHeight !== void 0 ? t.textureHeight : 512, a = t.clipBias !== void 0 ? t.clipBias : 0, c = t.alpha !== void 0 ? t.alpha : 1, h = t.time !== void 0 ? t.time : 0, d = t.waterNormals !== void 0 ? t.waterNormals : null, p = t.sunDirection !== void 0 ? t.sunDirection : new O(0.70707, 0.70707, 0), f = new he(t.sunColor !== void 0 ? t.sunColor : 16777215), m = new he(t.waterColor !== void 0 ? t.waterColor : 8355711), y = t.eye !== void 0 ? t.eye : new O(0, 0, 0), v = t.distortionScale !== void 0 ? t.distortionScale : 20, w = t.side !== void 0 ? t.side : ua, b = t.fog !== void 0 ? t.fog : !1, S = new gf(), x = new O(), L = new O(), G = new O(), V = new Le(), F = new O(0, 0, -1), z = new Mi(), R = new O(), X = new O(), Z = new Mi(), C = new Le(), k = new lr(), Y = new Dr(n, s), K = {
337
+ const i = this, n = t.textureWidth !== void 0 ? t.textureWidth : 512, s = t.textureHeight !== void 0 ? t.textureHeight : 512, a = t.clipBias !== void 0 ? t.clipBias : 0, c = t.alpha !== void 0 ? t.alpha : 1, h = t.time !== void 0 ? t.time : 0, d = t.waterNormals !== void 0 ? t.waterNormals : null, p = t.sunDirection !== void 0 ? t.sunDirection : new O(0.70707, 0.70707, 0), f = new he(t.sunColor !== void 0 ? t.sunColor : 16777215), m = new he(t.waterColor !== void 0 ? t.waterColor : 8355711), y = t.eye !== void 0 ? t.eye : new O(0, 0, 0), v = t.distortionScale !== void 0 ? t.distortionScale : 20, w = t.side !== void 0 ? t.side : ua, b = t.fog !== void 0 ? t.fog : !1, S = new gf(), x = new O(), L = new O(), G = new O(), V = new Le(), F = new O(0, 0, -1), z = new Mi(), R = new O(), X = new O(), Z = new Mi(), C = new Le(), k = new cr(), Y = new Dr(n, s), K = {
338
338
  uniforms: dr.merge([
339
339
  aa.fog,
340
340
  aa.lights,
@@ -569,28 +569,28 @@ class l1 extends r1 {
569
569
  isFinite(ui) && isFinite(di) && (ui < -Math.PI ? ui += hi : ui > Math.PI && (ui -= hi), di < -Math.PI ? di += hi : di > Math.PI && (di -= hi), ui <= di ? p.theta = Math.max(ui, Math.min(di, p.theta)) : p.theta = p.theta > (ui + di) / 2 ? Math.max(ui, p.theta) : Math.min(di, p.theta)), p.phi = Math.max(i.minPolarAngle, Math.min(i.maxPolarAngle, p.phi)), p.makeSafe(), i.enableDamping === !0 ? i.target.addScaledVector(y, i.dampingFactor) : i.target.add(y), i.zoomToCursor && X || i.object.isOrthographicCamera ? p.radius = Me(p.radius) : p.radius = Me(p.radius * m), A.setFromSpherical(p), A.applyQuaternion(Se), Ks.copy(i.target).add(A), i.object.matrixAutoUpdate || i.object.updateMatrix(), i.object.lookAt(i.target), i.enableDamping === !0 ? (f.theta *= 1 - i.dampingFactor, f.phi *= 1 - i.dampingFactor, y.multiplyScalar(1 - i.dampingFactor)) : (f.set(0, 0, 0), y.set(0, 0, 0));
570
570
  let rn = !1;
571
571
  if (i.zoomToCursor && X) {
572
- let Dn = null;
573
- if (i.object instanceof lr && i.object.isPerspectiveCamera) {
574
- const Xn = A.length();
575
- Dn = Me(Xn * m);
576
- const br = Xn - Dn;
572
+ let Xn = null;
573
+ if (i.object instanceof cr && i.object.isPerspectiveCamera) {
574
+ const kn = A.length();
575
+ Xn = Me(kn * m);
576
+ const br = kn - Xn;
577
577
  i.object.position.addScaledVector(z, br), i.object.updateMatrixWorld();
578
578
  } else if (i.object.isOrthographicCamera) {
579
- const Xn = new O(R.x, R.y, 0);
580
- Xn.unproject(i.object), i.object.zoom = Math.max(i.minZoom, Math.min(i.maxZoom, i.object.zoom / m)), i.object.updateProjectionMatrix(), rn = !0;
579
+ const kn = new O(R.x, R.y, 0);
580
+ kn.unproject(i.object), i.object.zoom = Math.max(i.minZoom, Math.min(i.maxZoom, i.object.zoom / m)), i.object.updateProjectionMatrix(), rn = !0;
581
581
  const br = new O(R.x, R.y, 0);
582
- br.unproject(i.object), i.object.position.sub(br).add(Xn), i.object.updateMatrixWorld(), Dn = A.length();
582
+ br.unproject(i.object), i.object.position.sub(br).add(kn), i.object.updateMatrixWorld(), Xn = A.length();
583
583
  } else
584
584
  console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."), i.zoomToCursor = !1;
585
- Dn !== null && (i.screenSpacePanning ? i.target.set(0, 0, -1).transformDirection(i.object.matrix).multiplyScalar(Dn).add(i.object.position) : (Fo.origin.copy(i.object.position), Fo.direction.set(0, 0, -1).transformDirection(i.object.matrix), Math.abs(i.object.up.dot(Fo.direction)) < a1 ? e.lookAt(i.target) : (ud.setFromNormalAndCoplanarPoint(i.object.up, i.target), Fo.intersectPlane(ud, i.target))));
586
- } else i.object instanceof cr && i.object.isOrthographicCamera && (rn = m !== 1, rn && (i.object.zoom = Math.max(i.minZoom, Math.min(i.maxZoom, i.object.zoom / m)), i.object.updateProjectionMatrix()));
585
+ Xn !== null && (i.screenSpacePanning ? i.target.set(0, 0, -1).transformDirection(i.object.matrix).multiplyScalar(Xn).add(i.object.position) : (Fo.origin.copy(i.object.position), Fo.direction.set(0, 0, -1).transformDirection(i.object.matrix), Math.abs(i.object.up.dot(Fo.direction)) < a1 ? e.lookAt(i.target) : (ud.setFromNormalAndCoplanarPoint(i.object.up, i.target), Fo.intersectPlane(ud, i.target))));
586
+ } else i.object instanceof hr && i.object.isOrthographicCamera && (rn = m !== 1, rn && (i.object.zoom = Math.max(i.minZoom, Math.min(i.maxZoom, i.object.zoom / m)), i.object.updateProjectionMatrix()));
587
587
  return m = 1, X = !1, rn || Ye.distanceToSquared(i.object.position) > d || 8 * (1 - Qt.dot(i.object.quaternion)) > d ? (i.dispatchEvent(n), Ye.copy(i.object.position), Qt.copy(i.object.quaternion), rn = !1, !0) : !1;
588
588
  };
589
589
  })(), this.connect = (A) => {
590
- i.domElement = A, i.domElement.style.touchAction = "none", i.domElement.addEventListener("contextmenu", vr), i.domElement.addEventListener("pointerdown", en), i.domElement.addEventListener("pointercancel", Vn), i.domElement.addEventListener("wheel", nn);
590
+ i.domElement = A, i.domElement.style.touchAction = "none", i.domElement.addEventListener("contextmenu", vr), i.domElement.addEventListener("pointerdown", en), i.domElement.addEventListener("pointercancel", zn), i.domElement.addEventListener("wheel", nn);
591
591
  }, this.dispose = () => {
592
592
  var A, Q, le, Se, Ye, Qt;
593
- i.domElement && (i.domElement.style.touchAction = "auto"), (A = i.domElement) == null || A.removeEventListener("contextmenu", vr), (Q = i.domElement) == null || Q.removeEventListener("pointerdown", en), (le = i.domElement) == null || le.removeEventListener("pointercancel", Vn), (Se = i.domElement) == null || Se.removeEventListener("wheel", nn), (Ye = i.domElement) == null || Ye.ownerDocument.removeEventListener("pointermove", tn), (Qt = i.domElement) == null || Qt.ownerDocument.removeEventListener("pointerup", Vn), i._domElementKeyEvents !== null && i._domElementKeyEvents.removeEventListener("keydown", Pi);
593
+ i.domElement && (i.domElement.style.touchAction = "auto"), (A = i.domElement) == null || A.removeEventListener("contextmenu", vr), (Q = i.domElement) == null || Q.removeEventListener("pointerdown", en), (le = i.domElement) == null || le.removeEventListener("pointercancel", zn), (Se = i.domElement) == null || Se.removeEventListener("wheel", nn), (Ye = i.domElement) == null || Ye.ownerDocument.removeEventListener("pointermove", tn), (Qt = i.domElement) == null || Qt.ownerDocument.removeEventListener("pointerup", zn), i._domElementKeyEvents !== null && i._domElementKeyEvents.removeEventListener("keydown", Pi);
594
594
  };
595
595
  const i = this, n = { type: "change" }, s = { type: "start" }, a = { type: "end" }, c = {
596
596
  NONE: -1,
@@ -634,12 +634,12 @@ class l1 extends r1 {
634
634
  const A = new O();
635
635
  return function(le, Se) {
636
636
  const Ye = i.domElement;
637
- if (Ye && i.object instanceof lr && i.object.isPerspectiveCamera) {
637
+ if (Ye && i.object instanceof cr && i.object.isPerspectiveCamera) {
638
638
  const Qt = i.object.position;
639
639
  A.copy(Qt).sub(i.target);
640
640
  let hi = A.length();
641
641
  hi *= Math.tan(i.object.fov / 2 * Math.PI / 180), j(2 * le * hi / Ye.clientHeight, i.object.matrix), ne(2 * Se * hi / Ye.clientHeight, i.object.matrix);
642
- } else Ye && i.object instanceof cr && i.object.isOrthographicCamera ? (j(
642
+ } else Ye && i.object instanceof hr && i.object.isOrthographicCamera ? (j(
643
643
  le * (i.object.right - i.object.left) / i.object.zoom / Ye.clientWidth,
644
644
  i.object.matrix
645
645
  ), ne(
@@ -649,7 +649,7 @@ class l1 extends r1 {
649
649
  };
650
650
  })();
651
651
  function ae(A) {
652
- i.object instanceof lr && i.object.isPerspectiveCamera || i.object instanceof cr && i.object.isOrthographicCamera ? m = A : (console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."), i.enableZoom = !1);
652
+ i.object instanceof cr && i.object.isPerspectiveCamera || i.object instanceof hr && i.object.isOrthographicCamera ? m = A : (console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."), i.enableZoom = !1);
653
653
  }
654
654
  function fe(A) {
655
655
  ae(m / A);
@@ -738,44 +738,44 @@ class l1 extends r1 {
738
738
  if (Z.length == 1)
739
739
  w.set(A.pageX, A.pageY);
740
740
  else {
741
- const le = On(A), Se = 0.5 * (A.pageX + le.x), Ye = 0.5 * (A.pageY + le.y);
741
+ const le = Dn(A), Se = 0.5 * (A.pageX + le.x), Ye = 0.5 * (A.pageY + le.y);
742
742
  w.set(Se, Ye);
743
743
  }
744
744
  b.subVectors(w, v).multiplyScalar(i.rotateSpeed);
745
745
  const Q = i.domElement;
746
746
  Q && (K(2 * Math.PI * b.x / Q.clientHeight), J(2 * Math.PI * b.y / Q.clientHeight)), v.copy(w);
747
747
  }
748
- function An(A) {
748
+ function Fn(A) {
749
749
  if (Z.length == 1)
750
750
  x.set(A.pageX, A.pageY);
751
751
  else {
752
- const Q = On(A), le = 0.5 * (A.pageX + Q.x), Se = 0.5 * (A.pageY + Q.y);
752
+ const Q = Dn(A), le = 0.5 * (A.pageX + Q.x), Se = 0.5 * (A.pageY + Q.y);
753
753
  x.set(le, Se);
754
754
  }
755
755
  L.subVectors(x, S).multiplyScalar(i.panSpeed), te(L.x, L.y), S.copy(x);
756
756
  }
757
757
  function _r(A) {
758
- const Q = On(A), le = A.pageX - Q.x, Se = A.pageY - Q.y, Ye = Math.sqrt(le * le + Se * Se);
758
+ const Q = Dn(A), le = A.pageX - Q.x, Se = A.pageY - Q.y, Ye = Math.sqrt(le * le + Se * Se);
759
759
  V.set(0, Ye), F.set(0, Math.pow(V.y / G.y, i.zoomSpeed)), fe(F.y), G.copy(V);
760
760
  }
761
- function Fn(A) {
762
- i.enableZoom && _r(A), i.enablePan && An(A);
761
+ function Vn(A) {
762
+ i.enableZoom && _r(A), i.enablePan && Fn(A);
763
763
  }
764
764
  function Vt(A) {
765
765
  i.enableZoom && _r(A), i.enableRotate && Ct(A);
766
766
  }
767
767
  function en(A) {
768
768
  var Q, le;
769
- i.enabled !== !1 && (Z.length === 0 && ((Q = i.domElement) == null || Q.ownerDocument.addEventListener("pointermove", tn), (le = i.domElement) == null || le.ownerDocument.addEventListener("pointerup", Vn)), $r(A), A.pointerType === "touch" ? Jr(A) : zn(A));
769
+ i.enabled !== !1 && (Z.length === 0 && ((Q = i.domElement) == null || Q.ownerDocument.addEventListener("pointermove", tn), (le = i.domElement) == null || le.ownerDocument.addEventListener("pointerup", zn)), $r(A), A.pointerType === "touch" ? Jr(A) : On(A));
770
770
  }
771
771
  function tn(A) {
772
772
  i.enabled !== !1 && (A.pointerType === "touch" ? Qr(A) : ga(A));
773
773
  }
774
- function Vn(A) {
774
+ function zn(A) {
775
775
  var Q, le, Se;
776
- qr(A), Z.length === 0 && ((Q = i.domElement) == null || Q.releasePointerCapture(A.pointerId), (le = i.domElement) == null || le.ownerDocument.removeEventListener("pointermove", tn), (Se = i.domElement) == null || Se.ownerDocument.removeEventListener("pointerup", Vn)), i.dispatchEvent(a), h = c.NONE;
776
+ qr(A), Z.length === 0 && ((Q = i.domElement) == null || Q.releasePointerCapture(A.pointerId), (le = i.domElement) == null || le.ownerDocument.removeEventListener("pointermove", tn), (Se = i.domElement) == null || Se.ownerDocument.removeEventListener("pointerup", zn)), i.dispatchEvent(a), h = c.NONE;
777
777
  }
778
- function zn(A) {
778
+ function On(A) {
779
779
  let Q;
780
780
  switch (A.button) {
781
781
  case 0:
@@ -898,12 +898,12 @@ class l1 extends r1 {
898
898
  case c.TOUCH_PAN:
899
899
  if (i.enablePan === !1)
900
900
  return;
901
- An(A), i.update();
901
+ Fn(A), i.update();
902
902
  break;
903
903
  case c.TOUCH_DOLLY_PAN:
904
904
  if (i.enableZoom === !1 && i.enablePan === !1)
905
905
  return;
906
- Fn(A), i.update();
906
+ Vn(A), i.update();
907
907
  break;
908
908
  case c.TOUCH_DOLLY_ROTATE:
909
909
  if (i.enableZoom === !1 && i.enableRotate === !1)
@@ -932,7 +932,7 @@ class l1 extends r1 {
932
932
  let Q = C[A.pointerId];
933
933
  Q === void 0 && (Q = new ce(), C[A.pointerId] = Q), Q.set(A.pageX, A.pageY);
934
934
  }
935
- function On(A) {
935
+ function Dn(A) {
936
936
  const Q = A.pointerId === Z[0].pointerId ? Z[1] : Z[0];
937
937
  return C[Q.pointerId];
938
938
  }
@@ -950,10 +950,10 @@ class c1 extends l1 {
950
950
  super(e, t), this.screenSpacePanning = !1, this.mouseButtons.LEFT = wn.PAN, this.mouseButtons.RIGHT = wn.ROTATE, this.touches.ONE = bn.PAN, this.touches.TWO = bn.DOLLY_ROTATE;
951
951
  }
952
952
  }
953
- var h1 = Object.defineProperty, u1 = (r, e, t) => e in r ? h1(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, sr = (r, e, t) => (u1(r, typeof e != "symbol" ? e + "" : e, t), t);
953
+ var h1 = Object.defineProperty, u1 = (r, e, t) => e in r ? h1(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, or = (r, e, t) => (u1(r, typeof e != "symbol" ? e + "" : e, t), t);
954
954
  class ks {
955
955
  constructor() {
956
- sr(this, "enabled", !0), sr(this, "needsSwap", !0), sr(this, "clear", !1), sr(this, "renderToScreen", !1);
956
+ or(this, "enabled", !0), or(this, "needsSwap", !0), or(this, "clear", !1), or(this, "renderToScreen", !1);
957
957
  }
958
958
  setSize(e, t) {
959
959
  }
@@ -965,7 +965,7 @@ class ks {
965
965
  }
966
966
  class Of {
967
967
  constructor(e) {
968
- sr(this, "camera", new cr(-1, 1, 1, -1, 0, 1)), sr(this, "geometry", new Ti(2, 2)), sr(this, "mesh"), this.mesh = new Ze(this.geometry, e);
968
+ or(this, "camera", new hr(-1, 1, 1, -1, 0, 1)), or(this, "geometry", new Ti(2, 2)), or(this, "mesh"), this.mesh = new Ze(this.geometry, e);
969
969
  }
970
970
  get material() {
971
971
  return this.mesh.material;
@@ -1089,11 +1089,11 @@ const y1 = /* @__PURE__ */ (() => {
1089
1089
  constructor(t, i, n, s) {
1090
1090
  super(), this.strength = i !== void 0 ? i : 1, this.radius = n, this.threshold = s, this.resolution = t !== void 0 ? new ce(t.x, t.y) : new ce(256, 256), this.clearColor = new he(0, 0, 0), this.renderTargetsHorizontal = [], this.renderTargetsVertical = [], this.nMips = 5;
1091
1091
  let a = Math.round(this.resolution.x / 2), c = Math.round(this.resolution.y / 2);
1092
- this.renderTargetBright = new Dr(a, c, { type: nr }), this.renderTargetBright.texture.name = "UnrealBloomPass.bright", this.renderTargetBright.texture.generateMipmaps = !1;
1092
+ this.renderTargetBright = new Dr(a, c, { type: rr }), this.renderTargetBright.texture.name = "UnrealBloomPass.bright", this.renderTargetBright.texture.generateMipmaps = !1;
1093
1093
  for (let m = 0; m < this.nMips; m++) {
1094
- const y = new Dr(a, c, { type: nr });
1094
+ const y = new Dr(a, c, { type: rr });
1095
1095
  y.texture.name = "UnrealBloomPass.h" + m, y.texture.generateMipmaps = !1, this.renderTargetsHorizontal.push(y);
1096
- const v = new Dr(a, c, { type: nr });
1096
+ const v = new Dr(a, c, { type: rr });
1097
1097
  v.texture.name = "UnrealBloomPass.v" + m, v.texture.generateMipmaps = !1, this.renderTargetsVertical.push(v), a = Math.round(a / 2), c = Math.round(c / 2);
1098
1098
  }
1099
1099
  const h = p1;
@@ -1270,8 +1270,8 @@ class T1 {
1270
1270
  constructor(e, t) {
1271
1271
  if (oi(this, "renderer"), oi(this, "_pixelRatio"), oi(this, "_width"), oi(this, "_height"), oi(this, "renderTarget1"), oi(this, "renderTarget2"), oi(this, "writeBuffer"), oi(this, "readBuffer"), oi(this, "renderToScreen"), oi(this, "passes", []), oi(this, "copyPass"), oi(this, "clock"), this.renderer = e, t === void 0) {
1272
1272
  const i = {
1273
- minFilter: Gn,
1274
- magFilter: Gn,
1273
+ minFilter: Wn,
1274
+ magFilter: Wn,
1275
1275
  format: yf
1276
1276
  }, n = e.getSize(new ce());
1277
1277
  this._pixelRatio = e.getPixelRatio(), this._width = n.width, this._height = n.height, t = new Dr(
@@ -1344,10 +1344,10 @@ class T1 {
1344
1344
  this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.copyPass.dispose();
1345
1345
  }
1346
1346
  }
1347
- var S1 = Object.defineProperty, M1 = (r, e, t) => e in r ? S1(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Qn = (r, e, t) => (M1(r, typeof e != "symbol" ? e + "" : e, t), t);
1347
+ var S1 = Object.defineProperty, M1 = (r, e, t) => e in r ? S1(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, $n = (r, e, t) => (M1(r, typeof e != "symbol" ? e + "" : e, t), t);
1348
1348
  class L1 extends ks {
1349
1349
  constructor(e, t, i, n, s = 0) {
1350
- super(), Qn(this, "scene"), Qn(this, "camera"), Qn(this, "overrideMaterial"), Qn(this, "clearColor"), Qn(this, "clearAlpha"), Qn(this, "clearDepth", !1), Qn(this, "_oldClearColor", new he()), this.scene = e, this.camera = t, this.overrideMaterial = i, this.clearColor = n, this.clearAlpha = s, this.clear = !0, this.needsSwap = !1;
1350
+ super(), $n(this, "scene"), $n(this, "camera"), $n(this, "overrideMaterial"), $n(this, "clearColor"), $n(this, "clearAlpha"), $n(this, "clearDepth", !1), $n(this, "_oldClearColor", new he()), this.scene = e, this.camera = t, this.overrideMaterial = i, this.clearColor = n, this.clearAlpha = s, this.clear = !0, this.needsSwap = !1;
1351
1351
  }
1352
1352
  render(e, t, i) {
1353
1353
  let n = e.autoClear;
@@ -1368,7 +1368,7 @@ function Nr(r) {
1368
1368
  return e;
1369
1369
  }
1370
1370
  }
1371
- const or = "srgb", qi = "srgb-linear", gd = 3001, P1 = 3e3;
1371
+ const ar = "srgb", qi = "srgb-linear", gd = 3001, P1 = 3e3;
1372
1372
  class C1 extends _c {
1373
1373
  constructor(e) {
1374
1374
  super(e), this.dracoLoader = null, this.ktx2Loader = null, this.meshoptDecoder = null, this.pluginCallbacks = [], this.register(function(t) {
@@ -1420,7 +1420,7 @@ class C1 extends _c {
1420
1420
  this.manager.itemStart(e);
1421
1421
  const c = function(d) {
1422
1422
  n ? n(d) : console.error(d), s.manager.itemError(e), s.manager.itemEnd(e);
1423
- }, h = new Wn(this.manager);
1423
+ }, h = new Zn(this.manager);
1424
1424
  h.setPath(this.path), h.setResponseType("arraybuffer"), h.setRequestHeader(this.requestHeader), h.setWithCredentials(this.withCredentials), h.load(
1425
1425
  e,
1426
1426
  function(d) {
@@ -1627,7 +1627,7 @@ class Z1 {
1627
1627
  const a = s.baseColorFactor;
1628
1628
  e.color.setRGB(a[0], a[1], a[2], qi), e.opacity = a[3];
1629
1629
  }
1630
- s.baseColorTexture !== void 0 && n.push(i.assignTexture(e, "map", s.baseColorTexture, or));
1630
+ s.baseColorTexture !== void 0 && n.push(i.assignTexture(e, "map", s.baseColorTexture, ar));
1631
1631
  }
1632
1632
  return Promise.all(n);
1633
1633
  }
@@ -1717,7 +1717,7 @@ class F1 {
1717
1717
  const c = a.sheenColorFactor;
1718
1718
  t.sheenColor.setRGB(c[0], c[1], c[2], qi);
1719
1719
  }
1720
- return a.sheenRoughnessFactor !== void 0 && (t.sheenRoughness = a.sheenRoughnessFactor), a.sheenColorTexture !== void 0 && s.push(i.assignTexture(t, "sheenColorMap", a.sheenColorTexture, or)), a.sheenRoughnessTexture !== void 0 && s.push(i.assignTexture(t, "sheenRoughnessMap", a.sheenRoughnessTexture)), Promise.all(s);
1720
+ return a.sheenRoughnessFactor !== void 0 && (t.sheenRoughness = a.sheenRoughnessFactor), a.sheenColorTexture !== void 0 && s.push(i.assignTexture(t, "sheenColorMap", a.sheenColorTexture, ar)), a.sheenRoughnessTexture !== void 0 && s.push(i.assignTexture(t, "sheenRoughnessMap", a.sheenRoughnessTexture)), Promise.all(s);
1721
1721
  }
1722
1722
  }
1723
1723
  class V1 {
@@ -1791,7 +1791,7 @@ class D1 {
1791
1791
  t.specularIntensity = a.specularFactor !== void 0 ? a.specularFactor : 1, a.specularTexture !== void 0 && s.push(i.assignTexture(t, "specularIntensityMap", a.specularTexture));
1792
1792
  const c = a.specularColorFactor || [1, 1, 1];
1793
1793
  return t.specularColor = new he().setRGB(c[0], c[1], c[2], qi), a.specularColorTexture !== void 0 && s.push(
1794
- i.assignTexture(t, "specularColorMap", a.specularColorTexture, or)
1794
+ i.assignTexture(t, "specularColorMap", a.specularColorTexture, ar)
1795
1795
  ), Promise.all(s);
1796
1796
  }
1797
1797
  }
@@ -2100,7 +2100,7 @@ const ai = {
2100
2100
  5126: Float32Array
2101
2101
  }, _d = {
2102
2102
  9728: vf,
2103
- 9729: Gn,
2103
+ 9729: Wn,
2104
2104
  9984: cb,
2105
2105
  9985: lb,
2106
2106
  9986: ab,
@@ -2163,7 +2163,7 @@ function tx(r) {
2163
2163
  side: ua
2164
2164
  })), r.DefaultMaterial;
2165
2165
  }
2166
- function $n(r, e, t) {
2166
+ function qn(r, e, t) {
2167
2167
  for (const i in t.extensions)
2168
2168
  r[i] === void 0 && (e.userData.gltfExtensions = e.userData.gltfExtensions || {}, e.userData.gltfExtensions[i] = t.extensions[i]);
2169
2169
  }
@@ -2255,7 +2255,7 @@ class ax {
2255
2255
  constructor(e = {}, t = {}) {
2256
2256
  this.json = e, this.extensions = {}, this.plugins = {}, this.options = t, this.cache = new G1(), this.associations = /* @__PURE__ */ new Map(), this.primitiveCache = {}, this.nodeCache = {}, this.meshCache = { refs: {}, uses: {} }, this.cameraCache = { refs: {}, uses: {} }, this.lightCache = { refs: {}, uses: {} }, this.sourceCache = {}, this.textureCache = {}, this.nodeNamesUsed = {};
2257
2257
  let i = !1, n = !1, s = -1;
2258
- typeof navigator < "u" && typeof navigator.userAgent < "u" && (i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent) === !0, n = navigator.userAgent.indexOf("Firefox") > -1, s = n ? navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1] : -1), typeof createImageBitmap > "u" || i || n && s < 98 ? this.textureLoader = new zs(this.options.manager) : this.textureLoader = new sb(this.options.manager), this.textureLoader.setCrossOrigin(this.options.crossOrigin), this.textureLoader.setRequestHeader(this.options.requestHeader), this.fileLoader = new Wn(this.options.manager), this.fileLoader.setResponseType("arraybuffer"), this.options.crossOrigin === "use-credentials" && this.fileLoader.setWithCredentials(!0);
2258
+ typeof navigator < "u" && typeof navigator.userAgent < "u" && (i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent) === !0, n = navigator.userAgent.indexOf("Firefox") > -1, s = n ? navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1] : -1), typeof createImageBitmap > "u" || i || n && s < 98 ? this.textureLoader = new zs(this.options.manager) : this.textureLoader = new sb(this.options.manager), this.textureLoader.setCrossOrigin(this.options.crossOrigin), this.textureLoader.setRequestHeader(this.options.requestHeader), this.fileLoader = new Zn(this.options.manager), this.fileLoader.setResponseType("arraybuffer"), this.options.crossOrigin === "use-credentials" && this.fileLoader.setWithCredentials(!0);
2259
2259
  }
2260
2260
  setExtensions(e) {
2261
2261
  this.extensions = e;
@@ -2287,7 +2287,7 @@ class ax {
2287
2287
  parser: i,
2288
2288
  userData: {}
2289
2289
  };
2290
- return $n(s, c, n), Ji(c, n), Promise.all(
2290
+ return qn(s, c, n), Ji(c, n), Promise.all(
2291
2291
  i._invokeAll(function(h) {
2292
2292
  return h.afterRoot && h.afterRoot(c);
2293
2293
  })
@@ -2489,7 +2489,7 @@ class ax {
2489
2489
  if (y && y !== f) {
2490
2490
  const S = Math.floor(m / y), x = "InterleavedBuffer:" + n.bufferView + ":" + n.componentType + ":" + S + ":" + n.count;
2491
2491
  let L = t.cache.get(x);
2492
- L || (w = new d(c, S * y, n.count * y / p), L = new ob(w, y / p), t.cache.add(x, L)), b = new rr(
2492
+ L || (w = new d(c, S * y, n.count * y / p), L = new ob(w, y / p), t.cache.add(x, L)), b = new sr(
2493
2493
  L,
2494
2494
  h,
2495
2495
  m % y / p,
@@ -2538,7 +2538,7 @@ class ax {
2538
2538
  const d = this.loadImageSource(t, i).then(function(p) {
2539
2539
  p.flipY = !1, p.name = a.name || c.name || "", p.name === "" && typeof c.uri == "string" && c.uri.startsWith("data:image/") === !1 && (p.name = c.uri);
2540
2540
  const m = (s.samplers || {})[a.sampler] || {};
2541
- return p.magFilter = _d[m.magFilter] || Gn, p.minFilter = _d[m.minFilter] || Os, p.wrapS = vd[m.wrapS] || Li, p.wrapT = vd[m.wrapT] || Li, n.associations.set(p, { textures: e }), p;
2541
+ return p.magFilter = _d[m.magFilter] || Wn, p.minFilter = _d[m.minFilter] || Os, p.wrapS = vd[m.wrapS] || Li, p.wrapT = vd[m.wrapT] || Li, n.associations.set(p, { textures: e }), p;
2542
2542
  }).catch(function() {
2543
2543
  return null;
2544
2544
  });
@@ -2592,7 +2592,7 @@ class ax {
2592
2592
  a = s.extensions[be.KHR_TEXTURE_TRANSFORM].extendTexture(a, c), s.associations.set(a, h);
2593
2593
  }
2594
2594
  }
2595
- return n !== void 0 && (typeof n == "number" && (n = n === gd ? or : qi), "colorSpace" in a ? a.colorSpace = n : a.encoding = n === or ? gd : P1), e[t] = a, a;
2595
+ return n !== void 0 && (typeof n == "number" && (n = n === gd ? ar : qi), "colorSpace" in a ? a.colorSpace = n : a.encoding = n === ar ? gd : P1), e[t] = a, a;
2596
2596
  });
2597
2597
  }
2598
2598
  /**
@@ -2645,7 +2645,7 @@ class ax {
2645
2645
  const m = f.baseColorFactor;
2646
2646
  c.color.setRGB(m[0], m[1], m[2], qi), c.opacity = m[3];
2647
2647
  }
2648
- f.baseColorTexture !== void 0 && d.push(t.assignTexture(c, "map", f.baseColorTexture, or)), c.metalness = f.metallicFactor !== void 0 ? f.metallicFactor : 1, c.roughness = f.roughnessFactor !== void 0 ? f.roughnessFactor : 1, f.metallicRoughnessTexture !== void 0 && (d.push(t.assignTexture(c, "metalnessMap", f.metallicRoughnessTexture)), d.push(t.assignTexture(c, "roughnessMap", f.metallicRoughnessTexture))), a = this._invokeOne(function(m) {
2648
+ f.baseColorTexture !== void 0 && d.push(t.assignTexture(c, "map", f.baseColorTexture, ar)), c.metalness = f.metallicFactor !== void 0 ? f.metallicFactor : 1, c.roughness = f.roughnessFactor !== void 0 ? f.roughnessFactor : 1, f.metallicRoughnessTexture !== void 0 && (d.push(t.assignTexture(c, "metalnessMap", f.metallicRoughnessTexture)), d.push(t.assignTexture(c, "roughnessMap", f.metallicRoughnessTexture))), a = this._invokeOne(function(m) {
2649
2649
  return m.getMaterialType && m.getMaterialType(e);
2650
2650
  }), d.push(
2651
2651
  Promise.all(
@@ -2670,9 +2670,9 @@ class ax {
2670
2670
  qi
2671
2671
  );
2672
2672
  }
2673
- return s.emissiveTexture !== void 0 && a !== xi && d.push(t.assignTexture(c, "emissiveMap", s.emissiveTexture, or)), Promise.all(d).then(function() {
2673
+ return s.emissiveTexture !== void 0 && a !== xi && d.push(t.assignTexture(c, "emissiveMap", s.emissiveTexture, ar)), Promise.all(d).then(function() {
2674
2674
  const f = new a(c);
2675
- return s.name && (f.name = s.name), Ji(f, s), t.associations.set(f, { materials: e }), s.extensions && $n(n, f, s), f;
2675
+ return s.name && (f.name = s.name), Ji(f, s), t.associations.set(f, { materials: e }), s.extensions && qn(n, f, s), f;
2676
2676
  });
2677
2677
  }
2678
2678
  /** When Object3D instances are targeted by animation, they need unique names. */
@@ -2736,7 +2736,7 @@ class ax {
2736
2736
  S = new Br(w, x);
2737
2737
  else
2738
2738
  throw new Error("THREE.GLTFLoader: Primitive mode unsupported: " + b.mode);
2739
- Object.keys(S.geometry.morphAttributes).length > 0 && nx(S, s), S.name = t.createUniqueName(s.name || "mesh_" + e), Ji(S, s), b.extensions && $n(n, S, b), t.assignFinalMaterial(S), f.push(S);
2739
+ Object.keys(S.geometry.morphAttributes).length > 0 && nx(S, s), S.name = t.createUniqueName(s.name || "mesh_" + e), Ji(S, s), b.extensions && qn(n, S, b), t.assignFinalMaterial(S), f.push(S);
2740
2740
  }
2741
2741
  for (let y = 0, v = f.length; y < v; y++)
2742
2742
  t.associations.set(f[y], {
@@ -2744,9 +2744,9 @@ class ax {
2744
2744
  primitives: y
2745
2745
  });
2746
2746
  if (f.length === 1)
2747
- return s.extensions && $n(n, f[0], s), f[0];
2747
+ return s.extensions && qn(n, f[0], s), f[0];
2748
2748
  const m = new ci();
2749
- s.extensions && $n(n, m, s), t.associations.set(m, { meshes: e });
2749
+ s.extensions && qn(n, m, s), t.associations.set(m, { meshes: e });
2750
2750
  for (let y = 0, v = f.length; y < v; y++)
2751
2751
  m.add(f[y]);
2752
2752
  return m;
@@ -2764,12 +2764,12 @@ class ax {
2764
2764
  console.warn("THREE.GLTFLoader: Missing camera parameters.");
2765
2765
  return;
2766
2766
  }
2767
- return i.type === "perspective" ? t = new lr(
2767
+ return i.type === "perspective" ? t = new cr(
2768
2768
  wt.radToDeg(n.yfov),
2769
2769
  n.aspectRatio || 1,
2770
2770
  n.znear || 1,
2771
2771
  n.zfar || 2e6
2772
- ) : i.type === "orthographic" && (t = new cr(-n.xmag, n.xmag, n.ymag, -n.ymag, n.znear, n.zfar)), i.name && (t.name = this.createUniqueName(i.name)), Ji(t, i), Promise.resolve(t);
2772
+ ) : i.type === "orthographic" && (t = new hr(-n.xmag, n.xmag, n.ymag, -n.ymag, n.znear, n.zfar)), i.name && (t.name = this.createUniqueName(i.name)), Ji(t, i), Promise.resolve(t);
2773
2773
  }
2774
2774
  /**
2775
2775
  * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#skins
@@ -2879,7 +2879,7 @@ class ax {
2879
2879
  if (s.isBone === !0 ? p = new rc() : d.length > 1 ? p = new ci() : d.length === 1 ? p = d[0] : p = new Si(), p !== d[0])
2880
2880
  for (let f = 0, m = d.length; f < m; f++)
2881
2881
  p.add(d[f]);
2882
- if (s.name && (p.userData.name = s.name, p.name = a), Ji(p, s), s.extensions && $n(i, p, s), s.matrix !== void 0) {
2882
+ if (s.name && (p.userData.name = s.name, p.name = a), Ji(p, s), s.extensions && qn(i, p, s), s.matrix !== void 0) {
2883
2883
  const f = new Le();
2884
2884
  f.fromArray(s.matrix), p.applyMatrix4(f);
2885
2885
  } else
@@ -2894,7 +2894,7 @@ class ax {
2894
2894
  */
2895
2895
  loadScene(e) {
2896
2896
  const t = this.extensions, i = this.json.scenes[e], n = this, s = new ci();
2897
- i.name && (s.name = n.createUniqueName(i.name)), Ji(s, i), i.extensions && $n(t, s, i);
2897
+ i.name && (s.name = n.createUniqueName(i.name)), Ji(s, i), i.extensions && qn(t, s, i);
2898
2898
  const a = i.nodes || [], c = [];
2899
2899
  for (let h = 0, d = a.length; h < d; h++)
2900
2900
  c.push(n.getDependency("node", a[h]));
@@ -3184,7 +3184,7 @@ class gx extends _c {
3184
3184
  super(e);
3185
3185
  }
3186
3186
  load(e, t, i, n) {
3187
- const s = this, a = s.path === "" ? Xr.extractUrlBase(e) : s.path, c = new Wn(this.manager);
3187
+ const s = this, a = s.path === "" ? Xr.extractUrlBase(e) : s.path, c = new Zn(this.manager);
3188
3188
  c.setPath(s.path), c.setResponseType("arraybuffer"), c.setRequestHeader(s.requestHeader), c.setWithCredentials(s.withCredentials), c.load(
3189
3189
  e,
3190
3190
  function(h) {
@@ -3584,10 +3584,10 @@ class yx {
3584
3584
  const f = i.FocalLength ? i.FocalLength.value : null;
3585
3585
  switch (n) {
3586
3586
  case 0:
3587
- t = new lr(p, d, s, a), f !== null && t.setFocalLength(f);
3587
+ t = new cr(p, d, s, a), f !== null && t.setFocalLength(f);
3588
3588
  break;
3589
3589
  case 1:
3590
- t = new cr(
3590
+ t = new hr(
3591
3591
  -c / 2,
3592
3592
  c / 2,
3593
3593
  h / 2,
@@ -4683,7 +4683,7 @@ function Sd(r, e, t) {
4683
4683
  }
4684
4684
  class Cx extends vb {
4685
4685
  constructor(e) {
4686
- super(e), this.type = nr;
4686
+ super(e), this.type = rr;
4687
4687
  }
4688
4688
  // adapted from http://www.graphics.cornell.edu/~bjw/rgbe.html
4689
4689
  parse(e) {
@@ -4784,12 +4784,12 @@ class Cx extends vb {
4784
4784
  v(G, Z * 4, R, Z * 4);
4785
4785
  V = R, F = ra;
4786
4786
  break;
4787
- case nr:
4787
+ case rr:
4788
4788
  z = G.length / 4;
4789
4789
  const X = new Uint16Array(z * 4);
4790
4790
  for (let Z = 0; Z < z; Z++)
4791
4791
  w(G, Z * 4, X, Z * 4);
4792
- V = X, F = nr;
4792
+ V = X, F = rr;
4793
4793
  break;
4794
4794
  default:
4795
4795
  throw new Error("THREE.RGBELoader: Unsupported type: " + this.type);
@@ -4811,8 +4811,8 @@ class Cx extends vb {
4811
4811
  function s(a, c) {
4812
4812
  switch (a.type) {
4813
4813
  case ra:
4814
- case nr:
4815
- "colorSpace" in a ? a.colorSpace = "srgb-linear" : a.encoding = 3e3, a.minFilter = Gn, a.magFilter = Gn, a.generateMipmaps = !1, a.flipY = !0;
4814
+ case rr:
4815
+ "colorSpace" in a ? a.colorSpace = "srgb-linear" : a.encoding = 3e3, a.minFilter = Wn, a.magFilter = Wn, a.generateMipmaps = !1, a.flipY = !0;
4816
4816
  break;
4817
4817
  }
4818
4818
  t && t(a, c);
@@ -4845,7 +4845,7 @@ class Gx extends _c {
4845
4845
  return this.workerLimit = e, this;
4846
4846
  }
4847
4847
  load(e, t, i, n) {
4848
- const s = new Wn(this.manager);
4848
+ const s = new Zn(this.manager);
4849
4849
  s.setPath(this.path), s.setResponseType("arraybuffer"), s.setRequestHeader(this.requestHeader), s.setWithCredentials(this.withCredentials), s.load(
4850
4850
  e,
4851
4851
  (a) => {
@@ -4905,7 +4905,7 @@ class Gx extends _c {
4905
4905
  return t;
4906
4906
  }
4907
4907
  _loadLibrary(e, t) {
4908
- const i = new Wn(this.manager);
4908
+ const i = new Zn(this.manager);
4909
4909
  return i.setPath(this.decoderPath), i.setResponseType(t), i.setWithCredentials(this.withCredentials), new Promise((n, s) => {
4910
4910
  i.load(e, n, void 0, s);
4911
4911
  });
@@ -5077,13 +5077,13 @@ class Yf extends Lf {
5077
5077
  let t;
5078
5078
  e instanceof Float32Array ? t = e : Array.isArray(e) && (t = new Float32Array(e));
5079
5079
  const i = new lc(t, 6, 1);
5080
- return this.setAttribute("instanceStart", new rr(i, 3, 0)), this.setAttribute("instanceEnd", new rr(i, 3, 3)), this.computeBoundingBox(), this.computeBoundingSphere(), this;
5080
+ return this.setAttribute("instanceStart", new sr(i, 3, 0)), this.setAttribute("instanceEnd", new sr(i, 3, 3)), this.computeBoundingBox(), this.computeBoundingSphere(), this;
5081
5081
  }
5082
5082
  setColors(e, t = 3) {
5083
5083
  let i;
5084
5084
  e instanceof Float32Array ? i = e : Array.isArray(e) && (i = new Float32Array(e));
5085
5085
  const n = new lc(i, t * 2, 1);
5086
- return this.setAttribute("instanceColorStart", new rr(n, t, 0)), this.setAttribute("instanceColorEnd", new rr(n, t, t)), this;
5086
+ return this.setAttribute("instanceColorStart", new sr(n, t, 0)), this.setAttribute("instanceColorEnd", new sr(n, t, t)), this;
5087
5087
  }
5088
5088
  fromWireframeGeometry(e) {
5089
5089
  return this.setPositions(e.attributes.position.array), this;
@@ -5124,7 +5124,7 @@ class Yf extends Lf {
5124
5124
  return console.warn("THREE.LineSegmentsGeometry: applyMatrix() has been renamed to applyMatrix4()."), this.applyMatrix4(e);
5125
5125
  }
5126
5126
  }
5127
- class hr extends Yf {
5127
+ class Mn extends Yf {
5128
5128
  constructor() {
5129
5129
  super(), this.isLineGeometry = !0, this.type = "LineGeometry";
5130
5130
  }
@@ -5757,7 +5757,7 @@ class Ix extends Ze {
5757
5757
  for (let a = 0, c = 0, h = t.count; a < h; a++, c += 2)
5758
5758
  Ld.fromBufferAttribute(t, a), Pd.fromBufferAttribute(i, a), n[c] = c === 0 ? 0 : n[c - 1], n[c + 1] = n[c] + Ld.distanceTo(Pd);
5759
5759
  const s = new lc(n, 2, 1);
5760
- return e.setAttribute("instanceDistanceStart", new rr(s, 1, 0)), e.setAttribute("instanceDistanceEnd", new rr(s, 1, 1)), this;
5760
+ return e.setAttribute("instanceDistanceStart", new sr(s, 1, 0)), e.setAttribute("instanceDistanceEnd", new sr(s, 1, 1)), this;
5761
5761
  }
5762
5762
  raycast(e, t) {
5763
5763
  const i = this.material.worldUnits, n = e.camera;
@@ -5793,11 +5793,11 @@ class Ix extends Ze {
5793
5793
  }
5794
5794
  }
5795
5795
  class pr extends Ix {
5796
- constructor(e = new hr(), t = new fr({ color: Math.random() * 16777215 })) {
5796
+ constructor(e = new Mn(), t = new fr({ color: Math.random() * 16777215 })) {
5797
5797
  super(e, t), this.isLine2 = !0, this.type = "Line2";
5798
5798
  }
5799
5799
  }
5800
- var Pn = Object.freeze({
5800
+ var Cn = Object.freeze({
5801
5801
  Linear: Object.freeze({
5802
5802
  None: function(r) {
5803
5803
  return r;
@@ -5916,13 +5916,13 @@ var Pn = Object.freeze({
5916
5916
  }),
5917
5917
  Bounce: Object.freeze({
5918
5918
  In: function(r) {
5919
- return 1 - Pn.Bounce.Out(1 - r);
5919
+ return 1 - Cn.Bounce.Out(1 - r);
5920
5920
  },
5921
5921
  Out: function(r) {
5922
5922
  return r < 1 / 2.75 ? 7.5625 * r * r : r < 2 / 2.75 ? 7.5625 * (r -= 1.5 / 2.75) * r + 0.75 : r < 2.5 / 2.75 ? 7.5625 * (r -= 2.25 / 2.75) * r + 0.9375 : 7.5625 * (r -= 2.625 / 2.75) * r + 0.984375;
5923
5923
  },
5924
5924
  InOut: function(r) {
5925
- return r < 0.5 ? Pn.Bounce.In(r * 2) * 0.5 : Pn.Bounce.Out(r * 2 - 1) * 0.5 + 0.5;
5925
+ return r < 0.5 ? Cn.Bounce.In(r * 2) * 0.5 : Cn.Bounce.Out(r * 2 - 1) * 0.5 + 0.5;
5926
5926
  }
5927
5927
  }),
5928
5928
  generatePow: function(r) {
@@ -5996,7 +5996,7 @@ var Pn = Object.freeze({
5996
5996
  /** @class */
5997
5997
  function() {
5998
5998
  function r(e, t) {
5999
- t === void 0 && (t = mc), this._object = e, this._group = t, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Pn.Linear.None, this._interpolationFunction = pc.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = Bf.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
5999
+ t === void 0 && (t = mc), this._object = e, this._group = t, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Cn.Linear.None, this._interpolationFunction = pc.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = Bf.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
6000
6000
  }
6001
6001
  return r.prototype.getId = function() {
6002
6002
  return this._id;
@@ -6093,7 +6093,7 @@ var Pn = Object.freeze({
6093
6093
  }, r.prototype.yoyo = function(e) {
6094
6094
  return e === void 0 && (e = !1), this._yoyo = e, this;
6095
6095
  }, r.prototype.easing = function(e) {
6096
- return e === void 0 && (e = Pn.Linear.None), this._easingFunction = e, this;
6096
+ return e === void 0 && (e = Cn.Linear.None), this._easingFunction = e, this;
6097
6097
  }, r.prototype.interpolation = function(e) {
6098
6098
  return e === void 0 && (e = pc.Linear), this._interpolationFunction = e, this;
6099
6099
  }, r.prototype.chain = function() {
@@ -6299,7 +6299,7 @@ function Jf(r = /* @__PURE__ */ new Date()) {
6299
6299
  var Dx = Object.defineProperty, Xx = (r, e, t) => e in r ? Dx(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Ul = (r, e, t) => Xx(r, typeof e != "symbol" ? e + "" : e, t);
6300
6300
  class kx {
6301
6301
  }
6302
- class ma extends En(
6302
+ class ma extends An(
6303
6303
  yr(kx)
6304
6304
  ) {
6305
6305
  constructor(e) {
@@ -6436,18 +6436,18 @@ if (!Rd) {
6436
6436
  };
6437
6437
  }
6438
6438
  const Hx = Cs;
6439
- var Ux = Object.defineProperty, Kx = (r, e, t) => e in r ? Ux(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Mn = (r, e, t) => Kx(r, typeof e != "symbol" ? e + "" : e, t);
6440
- function En(r) {
6439
+ var Ux = Object.defineProperty, Kx = (r, e, t) => e in r ? Ux(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Ln = (r, e, t) => Kx(r, typeof e != "symbol" ? e + "" : e, t);
6440
+ function An(r) {
6441
6441
  return class extends r {
6442
6442
  constructor(...e) {
6443
- super(...e), Mn(this, "eventClass", new Zd()), Mn(this, "on", this.eventClass.on.bind(this.eventClass)), Mn(this, "trigger", this.eventClass.trigger.bind(this.eventClass)), Mn(this, "off", this.eventClass.off.bind(this.eventClass)), this.eventClass = new Zd();
6443
+ super(...e), Ln(this, "eventClass", new Zd()), Ln(this, "on", this.eventClass.on.bind(this.eventClass)), Ln(this, "trigger", this.eventClass.trigger.bind(this.eventClass)), Ln(this, "off", this.eventClass.off.bind(this.eventClass)), this.eventClass = new Zd();
6444
6444
  }
6445
6445
  };
6446
6446
  }
6447
6447
  function yr(r) {
6448
6448
  return class extends r {
6449
6449
  constructor(...e) {
6450
- super(...e), Mn(this, "options"), Mn(this, "_isUpdatingOptions"), Mn(this, "_initHooksCalled"), Mn(this, "_initHooks");
6450
+ super(...e), Ln(this, "options"), Ln(this, "_isUpdatingOptions"), Ln(this, "_initHooksCalled"), Ln(this, "_initHooks");
6451
6451
  const t = Object.getPrototypeOf(this).options || {}, i = Hl({}, t, e[0] || {});
6452
6452
  this.setOptions(i), this.callInitHooks(), this._isUpdatingOptions = !1;
6453
6453
  }
@@ -6909,7 +6909,7 @@ class qx {
6909
6909
  constructor(e, t, i = {}) {
6910
6910
  Fe(this, "scene"), Fe(this, "camera"), Fe(this, "mesh"), Fe(this, "rainMaterial"), Fe(this, "snowMaterial"), Fe(this, "fogMaterial"), Fe(this, "lightningSystem"), Fe(this, "_type", null), Fe(this, "_activeMaterial", null), this.scene = new Cf(), this.scene.autoClear = !1;
6911
6911
  const n = e / 2, s = t / 2;
6912
- this.camera = new cr(-n, n, s, -s, 0.1, 10), this.camera.position.z = 5;
6912
+ this.camera = new hr(-n, n, s, -s, 0.1, 10), this.camera.position.z = 5;
6913
6913
  const a = new Ti(e, t);
6914
6914
  this.mesh = new Ze(a), this.mesh.position.z = 1, this.scene.add(this.mesh), this.rainMaterial = new At({
6915
6915
  vertexShader: sa,
@@ -7030,7 +7030,7 @@ class qx {
7030
7030
  }
7031
7031
  }
7032
7032
  var eT = Object.defineProperty, tT = (r, e, t) => e in r ? eT(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Ae = (r, e, t) => tT(r, typeof e != "symbol" ? e + "" : e, t);
7033
- const iT = En(yr(Pf));
7033
+ const iT = An(yr(Pf));
7034
7034
  class nT extends iT {
7035
7035
  /**
7036
7036
  * 构造函数
@@ -7217,7 +7217,7 @@ class nT extends iT {
7217
7217
  * @returns Camera object 相机对象
7218
7218
  */
7219
7219
  _createCamera() {
7220
- return new lr(45, this.getAspect(), 0.1, this._sceneSize * 2);
7220
+ return new cr(45, this.getAspect(), 0.1, this._sceneSize * 2);
7221
7221
  }
7222
7222
  /**
7223
7223
  * Create map controls
@@ -7361,7 +7361,7 @@ class nT extends iT {
7361
7361
  if (this.controls.target.copy(e), i) {
7362
7362
  const s = this.camera.position;
7363
7363
  new ko(s).to({ y: 2e7, z: 0 }, 500).chain(
7364
- new ko(s).to(t, 2e3).easing(Pn.Quintic.Out).onComplete((a) => n && n(a))
7364
+ new ko(s).to(t, 2e3).easing(Cn.Quintic.Out).onComplete((a) => n && n(a))
7365
7365
  ).start();
7366
7366
  } else
7367
7367
  this.camera.position.copy(t);
@@ -7422,7 +7422,7 @@ class nT extends iT {
7422
7422
  z: v.z
7423
7423
  },
7424
7424
  a
7425
- ).easing(Pn.Quadratic.InOut).onUpdate(() => {
7425
+ ).easing(Cn.Quadratic.InOut).onUpdate(() => {
7426
7426
  const L = S.getPoint(x.t), G = new O(x.x, x.y, x.z);
7427
7427
  t.position.copy(L), t.lookAt(G), t.updateProjectionMatrix(), i.target.copy(G), i.update();
7428
7428
  });
@@ -7445,7 +7445,7 @@ class nT extends iT {
7445
7445
  pz: w.z
7446
7446
  },
7447
7447
  a
7448
- ).easing(Pn.Quadratic.InOut).onUpdate(() => {
7448
+ ).easing(Cn.Quadratic.InOut).onUpdate(() => {
7449
7449
  const S = new O(b.tx, b.ty, b.tz), x = new O(b.px, b.py, b.pz);
7450
7450
  t.position.copy(x), t.lookAt(S), i.target.copy(S), i.update();
7451
7451
  });
@@ -7690,7 +7690,7 @@ function aT(r, e, t, i) {
7690
7690
  function lT(r, e, t, i) {
7691
7691
  const n = [], s = i + 1, a = e * 2, c = 0, h = 0.25;
7692
7692
  {
7693
- const d = t * 2, p = new O(0.5, 0.5, 1), f = new ar(a, d, s), m = new ar(a + 1, d, s), y = new ar(a, d + 1, s), v = new ar(a + 1, d + 1, s);
7693
+ const d = t * 2, p = new O(0.5, 0.5, 1), f = new lr(a, d, s), m = new lr(a + 1, d, s), y = new lr(a, d + 1, s), v = new lr(a + 1, d + 1, s);
7694
7694
  f.position.set(-h, h, c), f.scale.copy(p), m.position.set(h, h, c), m.scale.copy(p), y.position.set(-h, -h, c), y.scale.copy(p), v.position.set(h, -h, c), v.scale.copy(p), n.push(f, m, y, v);
7695
7695
  }
7696
7696
  return n;
@@ -7963,7 +7963,7 @@ const uT = 10, dT = new Lf(), fT = new O(), pT = new Le(), mT = new mr(new O(-0.
7963
7963
  }
7964
7964
  };
7965
7965
  ht(Qf, "_downloadThreads", 0);
7966
- let ar = Qf;
7966
+ let lr = Qf;
7967
7967
  var gT = Object.defineProperty, yT = (r, e, t) => e in r ? gT(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, _T = (r, e, t) => yT(r, e + "", t);
7968
7968
  class $f {
7969
7969
  /**
@@ -8167,7 +8167,7 @@ const UP = {
8167
8167
  function ep(r, e) {
8168
8168
  const t = r.getLayers().find((n) => n.isBaseLayer === !0)?._rootTile, i = e.intersectObjects([t]);
8169
8169
  for (const n of i)
8170
- if (n.object instanceof ar) {
8170
+ if (n.object instanceof lr) {
8171
8171
  const s = r.worldToLocal(n.point.clone()), a = r.map2geo(s);
8172
8172
  return Object.assign(n, {
8173
8173
  location: a
@@ -8191,7 +8191,7 @@ function MT(r, e = 128) {
8191
8191
  return i.imageSmoothingEnabled = !1, i.fillStyle = "#000022", i.strokeStyle = "DarkGoldenrod", i.lineWidth = 5, i.moveTo(n, 3), i.lineTo(n, e), i.stroke(), i.closePath(), i.lineWidth = 2, i.beginPath(), i.roundRect(2, 2, e - 4, s - 8, 10), i.closePath(), i.fill(), i.stroke(), i.font = "24px Arial", i.fillStyle = "Goldenrod", i.strokeStyle = "black", i.textAlign = "center", i.textBaseline = "top", i.strokeText(r, n, 20), i.fillText(r, n, 20), t;
8192
8192
  }
8193
8193
  function KP(r, e = 128) {
8194
- const t = new gr(MT(r, e)), i = new Zn({
8194
+ const t = new gr(MT(r, e)), i = new Rn({
8195
8195
  map: t,
8196
8196
  sizeAttenuation: !1
8197
8197
  }), n = new Vi(i);
@@ -8422,7 +8422,7 @@ class Mc extends Ze {
8422
8422
  * 获取当前正在下载的瓦片数量
8423
8423
  */
8424
8424
  get downloading() {
8425
- return ar.downloadThreads;
8425
+ return lr.downloadThreads;
8426
8426
  }
8427
8427
  /**
8428
8428
  * Add layer
@@ -8543,7 +8543,7 @@ function Lc(r) {
8543
8543
  }
8544
8544
  };
8545
8545
  }
8546
- var ZT = Object.defineProperty, RT = (r, e, t) => e in r ? ZT(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, qn = (r, e, t) => RT(r, typeof e != "symbol" ? e + "" : e, t);
8546
+ var ZT = Object.defineProperty, RT = (r, e, t) => e in r ? ZT(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, er = (r, e, t) => RT(r, typeof e != "symbol" ? e + "" : e, t);
8547
8547
  const IT = {
8548
8548
  attribution: "",
8549
8549
  visible: !0,
@@ -8553,7 +8553,7 @@ const IT = {
8553
8553
  altitude: 0
8554
8554
  // Default altitude is 0 默认高度为0
8555
8555
  };
8556
- class Hs extends Lc(En(
8556
+ class Hs extends Lc(An(
8557
8557
  yr(ci)
8558
8558
  )) {
8559
8559
  /**
@@ -8564,7 +8564,7 @@ class Hs extends Lc(En(
8564
8564
  * @throws Throws error if id is not provided. 如果未提供id会抛出错误
8565
8565
  */
8566
8566
  constructor(e, t) {
8567
- super(), qn(this, "_id"), qn(this, "opacity", 1), qn(this, "_animationCallbacks", /* @__PURE__ */ new Set()), qn(this, "isSceneLayer", !1), qn(this, "_altitude", 0), qn(this, "depthOffset"), qn(this, "_regionOverlays", []), Sc(e, "id", "Layer ID must be specified 图层ID必须指定"), t && (this.setOptions(t), this.opacity = t.opacity || 1, this.isSceneLayer = t.isSceneLayer ?? !1, t.altitude !== void 0 && this.setAltitude(t.altitude)), this._id = e, typeof this.animate == "function" && this._registerAnimate();
8567
+ super(), er(this, "_id"), er(this, "opacity", 1), er(this, "_animationCallbacks", /* @__PURE__ */ new Set()), er(this, "isSceneLayer", !1), er(this, "_altitude", 0), er(this, "depthOffset"), er(this, "_regionOverlays", []), Sc(e, "id", "Layer ID must be specified 图层ID必须指定"), t && (this.setOptions(t), this.opacity = t.opacity || 1, this.isSceneLayer = t.isSceneLayer ?? !1, t.altitude !== void 0 && this.setAltitude(t.altitude)), this._id = e, typeof this.animate == "function" && this._registerAnimate();
8568
8568
  }
8569
8569
  /**
8570
8570
  * Get layer ID.
@@ -9121,7 +9121,7 @@ class Pc {
9121
9121
  this.workers.forEach((e) => e.terminate()), this.workersResolve.length = 0, this.workers.length = 0, this.queue.length = 0, this.workerStatus = 0;
9122
9122
  }
9123
9123
  }
9124
- function ir(r, e) {
9124
+ function nr(r, e) {
9125
9125
  const t = new Bt();
9126
9126
  t.setAttribute("position", new Mt(new Float32Array([0, 0, 0]), 3));
9127
9127
  const i = r.sizeAttenuation ?? !0, n = i ? r.size * 2e-3 : r.size, s = new fa({
@@ -9147,11 +9147,11 @@ function ir(r, e) {
9147
9147
  async function rp(r, e) {
9148
9148
  let t = null;
9149
9149
  try {
9150
- t = await jt._loadTexture(r.url), t.magFilter = Gn, t.minFilter = Os, t.colorSpace = Kr, t.generateMipmaps = !0, t.premultiplyAlpha = !1, t.needsUpdate = !0;
9150
+ t = await jt._loadTexture(r.url), t.magFilter = Wn, t.minFilter = Os, t.colorSpace = Kr, t.generateMipmaps = !0, t.premultiplyAlpha = !1, t.needsUpdate = !0;
9151
9151
  } catch (d) {
9152
9152
  console.error("IconPoint texture load failed:", r.url, d);
9153
9153
  }
9154
- const i = new Zn({
9154
+ const i = new Rn({
9155
9155
  // 如果纹理加载失败,map 为 null,使用纯色占位
9156
9156
  map: t ?? null,
9157
9157
  color: r.color || 16777215,
@@ -9181,7 +9181,7 @@ async function rp(r, e) {
9181
9181
  function Cc(r, e) {
9182
9182
  let t;
9183
9183
  e instanceof Float32Array ? t = Array.from(e) : Array.isArray(e) && typeof e[0] == "number" ? t = e : t = e.flatMap((a) => [a.x, a.y, a.z]);
9184
- const i = new hr();
9184
+ const i = new Mn();
9185
9185
  i.setPositions(t);
9186
9186
  const n = new fr({
9187
9187
  color: new he(r.color ?? 16777215).getHex(),
@@ -9772,7 +9772,7 @@ async function NT(r, e) {
9772
9772
  ), h.fill(), h.globalAlpha = 1, h.strokeStyle = i.bubbleBorderColor, h.lineWidth = i.bubbleBorderWidth, h.stroke())), h.textAlign = "center", h.textBaseline = "middle", i.strokeWidth > 0 && (h.strokeStyle = i.strokeColor, h.lineWidth = i.strokeWidth, h.lineJoin = "round", h.strokeText(i.text, c.width / 2, c.height / 2)), h.fillStyle = i.textColor, h.fillText(i.text, c.width / 2, c.height / 2), h.shadowColor = "transparent";
9773
9773
  const b = new gr(c);
9774
9774
  b.magFilter = vf, b.minFilter = Os, b.anisotropy = 16;
9775
- const S = new Zn({
9775
+ const S = new Rn({
9776
9776
  map: b,
9777
9777
  transparent: r.transparent ?? !0,
9778
9778
  depthTest: r.depthTest ?? !0,
@@ -9833,7 +9833,7 @@ async function YT(r, e, t) {
9833
9833
  n.bubblePointerHeight,
9834
9834
  n.bubblePointerWidth
9835
9835
  ), h.fill(), h.globalAlpha = 1, h.strokeStyle = n.bubbleBorderColor, h.lineWidth = n.bubbleBorderWidth, h.stroke())), h.textAlign = "center", h.textBaseline = "middle", n.strokeWidth > 0 && (h.strokeStyle = n.strokeColor, h.lineWidth = n.strokeWidth, h.lineJoin = "round", h.strokeText(n.text, c.width / 2, c.height / 2)), h.fillStyle = n.textColor, h.fillText(n.text, c.width / 2, c.height / 2), h.shadowColor = "transparent";
9836
- const b = new gr(c), S = new Zn({
9836
+ const b = new gr(c), S = new Rn({
9837
9837
  map: b,
9838
9838
  transparent: r.transparent ?? !0,
9839
9839
  depthTest: r.depthTest ?? !0,
@@ -9893,8 +9893,8 @@ async function BT(r, e) {
9893
9893
  console.error("Label icon load failed:", r.url);
9894
9894
  }
9895
9895
  const { canvas: s, width: a, height: c, center: h } = await jT(i, n), d = new Ur(s);
9896
- d.generateMipmaps = !0, d.minFilter = Os, d.magFilter = Gn, d.colorSpace = Kr, d.premultiplyAlpha = !1, d.needsUpdate = !0;
9897
- const p = new Zn({
9896
+ d.generateMipmaps = !0, d.minFilter = Os, d.magFilter = Wn, d.colorSpace = Kr, d.premultiplyAlpha = !1, d.needsUpdate = !0;
9897
+ const p = new Rn({
9898
9898
  map: d,
9899
9899
  transparent: i.transparent ?? !0,
9900
9900
  depthTest: i.depthTest ?? !0,
@@ -9937,8 +9937,8 @@ async function jT(r, e) {
9937
9937
  x ? (fe = Math.min(0, j), ye = Math.min(0, te), pe = Math.max(L, ne), Me = Math.max(G, ae)) : (fe = j, ye = te, pe = ne, Me = ae);
9938
9938
  const it = Math.ceil(pe - fe), nt = Math.ceil(Me - ye), { canvas: ft, ctx: qe } = JT(it, nt, m), je = -fe, Je = -ye;
9939
9939
  if (x && e && L > 0 && G > 0) {
9940
- const Ge = L * f, st = G * f, pt = (L - Ge) / 2, Ct = (G - st) / 2, An = je + pt, _r = Je + Ct;
9941
- qe.drawImage(e, An, _r, Ge, st);
9940
+ const Ge = L * f, st = G * f, pt = (L - Ge) / 2, Ct = (G - st) / 2, Fn = je + pt, _r = Je + Ct;
9941
+ qe.drawImage(e, Fn, _r, Ge, st);
9942
9942
  }
9943
9943
  const rt = je + K, De = Je + J;
9944
9944
  y && c && c !== "transparent" && qT(
@@ -10057,7 +10057,7 @@ async function iS(r, e, t) {
10057
10057
  };
10058
10058
  }
10059
10059
  var nS = Object.defineProperty, rS = (r, e, t) => e in r ? nS(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, hp = (r, e, t) => rS(r, typeof e != "symbol" ? e + "" : e, t);
10060
- const Wc = class tr {
10060
+ const Wc = class ir {
10061
10061
  /**
10062
10062
  * 构造函数
10063
10063
  * @param config 样式配置
@@ -10139,7 +10139,7 @@ const Wc = class tr {
10139
10139
  let i;
10140
10140
  if (e instanceof Br)
10141
10141
  i = e;
10142
- else if (i = ir(t, e.position), i.position.copy(e.position), i.rotation.copy(e.rotation), i.scale.copy(e.scale), e.parent) {
10142
+ else if (i = nr(t, e.position), i.position.copy(e.position), i.rotation.copy(e.rotation), i.scale.copy(e.scale), e.parent) {
10143
10143
  let a = e.parent;
10144
10144
  a._threeGeometry = i, a._updateGeometry();
10145
10145
  }
@@ -10295,12 +10295,12 @@ const Wc = class tr {
10295
10295
  * @returns 纹理对象
10296
10296
  */
10297
10297
  static async _loadTexture(e) {
10298
- if (tr._textureCache.has(e))
10299
- return tr._textureCache.get(e);
10298
+ if (ir._textureCache.has(e))
10299
+ return ir._textureCache.get(e);
10300
10300
  const t = await new Promise((i, n) => {
10301
- tr._textureLoader.load(e, i, void 0, n);
10301
+ ir._textureLoader.load(e, i, void 0, n);
10302
10302
  });
10303
- return t.needsUpdate = !0, tr._textureCache.set(e, t), t;
10303
+ return t.needsUpdate = !0, ir._textureCache.set(e, t), t;
10304
10304
  }
10305
10305
  /**
10306
10306
  * 创建样式实例
@@ -10308,7 +10308,7 @@ const Wc = class tr {
10308
10308
  * @returns 样式实例
10309
10309
  */
10310
10310
  static create(e) {
10311
- return e instanceof tr ? e : new tr(e);
10311
+ return e instanceof ir ? e : new ir(e);
10312
10312
  }
10313
10313
  };
10314
10314
  hp(Wc, "_textureCache", /* @__PURE__ */ new Map());
@@ -10400,7 +10400,7 @@ class dS extends ma {
10400
10400
  }
10401
10401
  var fS = Object.defineProperty, pS = (r, e, t) => e in r ? fS(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Ut = (r, e, t) => pS(r, typeof e != "symbol" ? e + "" : e, t);
10402
10402
  class Lt extends Lc(
10403
- En(
10403
+ An(
10404
10404
  yr(Si)
10405
10405
  )
10406
10406
  ) {
@@ -11020,7 +11020,7 @@ class Lt extends Lc(
11020
11020
  }
11021
11021
  }
11022
11022
  var mS = Object.defineProperty, gS = (r, e, t) => e in r ? mS(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Xd = (r, e, t) => gS(r, typeof e != "symbol" ? e + "" : e, t);
11023
- class Rn extends Hs {
11023
+ class In extends Hs {
11024
11024
  // _collisionDetector: CollisionDetector<T>; // Changed to protected for subclass access 改为protected以便子类访问
11025
11025
  constructor(e, t) {
11026
11026
  super(e, t), Xd(this, "_feaList"), Xd(this, "_collision", !1), this._feaList = [], t?.collision && (this._collision = !0);
@@ -11785,17 +11785,17 @@ class US {
11785
11785
  });
11786
11786
  }
11787
11787
  }
11788
- var KS = Object.defineProperty, NS = (r, e, t) => e in r ? KS(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, er = (r, e, t) => NS(r, typeof e != "symbol" ? e + "" : e, t);
11788
+ var KS = Object.defineProperty, NS = (r, e, t) => e in r ? KS(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, tr = (r, e, t) => NS(r, typeof e != "symbol" ? e + "" : e, t);
11789
11789
  class YS {
11790
11790
  constructor() {
11791
- er(this, "frameStats", /* @__PURE__ */ new Map()), er(this, "summaryStats", {
11791
+ tr(this, "frameStats", /* @__PURE__ */ new Map()), tr(this, "summaryStats", {
11792
11792
  totalFrames: 0,
11793
11793
  averageFrameTime: 0,
11794
11794
  averageFPS: 0,
11795
11795
  minFrameTime: 1 / 0,
11796
11796
  maxFrameTime: 0,
11797
11797
  totalFeaturesProcessed: 0
11798
- }), er(this, "sampleWindowSize", 60), er(this, "currentFrameId", 0), er(this, "lastReportTime", 0), er(this, "reportInterval", 5e3), er(this, "performanceThresholds", {
11798
+ }), tr(this, "sampleWindowSize", 60), tr(this, "currentFrameId", 0), tr(this, "lastReportTime", 0), tr(this, "reportInterval", 5e3), tr(this, "performanceThresholds", {
11799
11799
  criticalFrameTime: 33,
11800
11800
  // < 30fps is critical 30fps以下为严重
11801
11801
  warningFrameTime: 16,
@@ -12317,7 +12317,7 @@ ha.exports;
12317
12317
  ["partial", V],
12318
12318
  ["partialRight", F],
12319
12319
  ["rearg", R]
12320
- ], nt = "[object Arguments]", ft = "[object Array]", qe = "[object AsyncFunction]", je = "[object Boolean]", Je = "[object Date]", rt = "[object DOMException]", De = "[object Error]", Ft = "[object Function]", Jt = "[object GeneratorFunction]", Ge = "[object Map]", st = "[object Number]", pt = "[object Null]", Ct = "[object Object]", An = "[object Promise]", _r = "[object Proxy]", Fn = "[object RegExp]", Vt = "[object Set]", en = "[object String]", tn = "[object Symbol]", Vn = "[object Undefined]", zn = "[object WeakMap]", ga = "[object WeakSet]", nn = "[object ArrayBuffer]", Pi = "[object DataView]", Jr = "[object Float32Array]", Qr = "[object Float64Array]", vr = "[object Int8Array]", $r = "[object Int16Array]", qr = "[object Int32Array]", wr = "[object Uint8Array]", On = "[object Uint8ClampedArray]", A = "[object Uint16Array]", Q = "[object Uint32Array]", le = /\b__p \+= '';/g, Se = /\b(__p \+=) '' \+/g, Ye = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Qt = /&(?:amp|lt|gt|quot|#39);/g, hi = /[&<>"']/g, Ec = RegExp(Qt.source), Ks = RegExp(hi.source), ui = /<%-([\s\S]+?)%>/g, di = /<%([\s\S]+?)%>/g, rn = /<%=([\s\S]+?)%>/g, Dn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Xn = /^\w*$/, br = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ya = /[\\^$.*+?()[\]{}|]/g, Ip = RegExp(ya.source), _a = /^\s+/, Ep = /\s/, Ap = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Fp = /\{\n\/\* \[wrapped with (.+)\] \*/, Vp = /,? & /, zp = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Op = /[()=,{}\[\]\/\s]/, Dp = /\\(\\)?/g, Xp = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ac = /\w*$/, kp = /^[-+]0x[0-9a-f]+$/i, Hp = /^0b[01]+$/i, Up = /^\[object .+?Constructor\]$/, Kp = /^0o[0-7]+$/i, Np = /^(?:0|[1-9]\d*)$/, Yp = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ns = /($^)/, Bp = /['\n\r\u2028\u2029\\]/g, Ys = "\\ud800-\\udfff", jp = "\\u0300-\\u036f", Jp = "\\ufe20-\\ufe2f", Qp = "\\u20d0-\\u20ff", Fc = jp + Jp + Qp, Vc = "\\u2700-\\u27bf", zc = "a-z\\xdf-\\xf6\\xf8-\\xff", $p = "\\xac\\xb1\\xd7\\xf7", qp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", em = "\\u2000-\\u206f", tm = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Oc = "A-Z\\xc0-\\xd6\\xd8-\\xde", Dc = "\\ufe0e\\ufe0f", Xc = $p + qp + em + tm, va = "['’]", im = "[" + Ys + "]", kc = "[" + Xc + "]", Bs = "[" + Fc + "]", Hc = "\\d+", nm = "[" + Vc + "]", Uc = "[" + zc + "]", Kc = "[^" + Ys + Xc + Hc + Vc + zc + Oc + "]", wa = "\\ud83c[\\udffb-\\udfff]", rm = "(?:" + Bs + "|" + wa + ")", Nc = "[^" + Ys + "]", ba = "(?:\\ud83c[\\udde6-\\uddff]){2}", xa = "[\\ud800-\\udbff][\\udc00-\\udfff]", xr = "[" + Oc + "]", Yc = "\\u200d", Bc = "(?:" + Uc + "|" + Kc + ")", sm = "(?:" + xr + "|" + Kc + ")", jc = "(?:" + va + "(?:d|ll|m|re|s|t|ve))?", Jc = "(?:" + va + "(?:D|LL|M|RE|S|T|VE))?", Qc = rm + "?", $c = "[" + Dc + "]?", om = "(?:" + Yc + "(?:" + [Nc, ba, xa].join("|") + ")" + $c + Qc + ")*", am = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", lm = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", qc = $c + Qc + om, cm = "(?:" + [nm, ba, xa].join("|") + ")" + qc, hm = "(?:" + [Nc + Bs + "?", Bs, ba, xa, im].join("|") + ")", um = RegExp(va, "g"), dm = RegExp(Bs, "g"), Ta = RegExp(wa + "(?=" + wa + ")|" + hm + qc, "g"), fm = RegExp([
12320
+ ], nt = "[object Arguments]", ft = "[object Array]", qe = "[object AsyncFunction]", je = "[object Boolean]", Je = "[object Date]", rt = "[object DOMException]", De = "[object Error]", Ft = "[object Function]", Jt = "[object GeneratorFunction]", Ge = "[object Map]", st = "[object Number]", pt = "[object Null]", Ct = "[object Object]", Fn = "[object Promise]", _r = "[object Proxy]", Vn = "[object RegExp]", Vt = "[object Set]", en = "[object String]", tn = "[object Symbol]", zn = "[object Undefined]", On = "[object WeakMap]", ga = "[object WeakSet]", nn = "[object ArrayBuffer]", Pi = "[object DataView]", Jr = "[object Float32Array]", Qr = "[object Float64Array]", vr = "[object Int8Array]", $r = "[object Int16Array]", qr = "[object Int32Array]", wr = "[object Uint8Array]", Dn = "[object Uint8ClampedArray]", A = "[object Uint16Array]", Q = "[object Uint32Array]", le = /\b__p \+= '';/g, Se = /\b(__p \+=) '' \+/g, Ye = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Qt = /&(?:amp|lt|gt|quot|#39);/g, hi = /[&<>"']/g, Ec = RegExp(Qt.source), Ks = RegExp(hi.source), ui = /<%-([\s\S]+?)%>/g, di = /<%([\s\S]+?)%>/g, rn = /<%=([\s\S]+?)%>/g, Xn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, kn = /^\w*$/, br = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ya = /[\\^$.*+?()[\]{}|]/g, Ip = RegExp(ya.source), _a = /^\s+/, Ep = /\s/, Ap = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Fp = /\{\n\/\* \[wrapped with (.+)\] \*/, Vp = /,? & /, zp = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Op = /[()=,{}\[\]\/\s]/, Dp = /\\(\\)?/g, Xp = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ac = /\w*$/, kp = /^[-+]0x[0-9a-f]+$/i, Hp = /^0b[01]+$/i, Up = /^\[object .+?Constructor\]$/, Kp = /^0o[0-7]+$/i, Np = /^(?:0|[1-9]\d*)$/, Yp = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ns = /($^)/, Bp = /['\n\r\u2028\u2029\\]/g, Ys = "\\ud800-\\udfff", jp = "\\u0300-\\u036f", Jp = "\\ufe20-\\ufe2f", Qp = "\\u20d0-\\u20ff", Fc = jp + Jp + Qp, Vc = "\\u2700-\\u27bf", zc = "a-z\\xdf-\\xf6\\xf8-\\xff", $p = "\\xac\\xb1\\xd7\\xf7", qp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", em = "\\u2000-\\u206f", tm = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Oc = "A-Z\\xc0-\\xd6\\xd8-\\xde", Dc = "\\ufe0e\\ufe0f", Xc = $p + qp + em + tm, va = "['’]", im = "[" + Ys + "]", kc = "[" + Xc + "]", Bs = "[" + Fc + "]", Hc = "\\d+", nm = "[" + Vc + "]", Uc = "[" + zc + "]", Kc = "[^" + Ys + Xc + Hc + Vc + zc + Oc + "]", wa = "\\ud83c[\\udffb-\\udfff]", rm = "(?:" + Bs + "|" + wa + ")", Nc = "[^" + Ys + "]", ba = "(?:\\ud83c[\\udde6-\\uddff]){2}", xa = "[\\ud800-\\udbff][\\udc00-\\udfff]", xr = "[" + Oc + "]", Yc = "\\u200d", Bc = "(?:" + Uc + "|" + Kc + ")", sm = "(?:" + xr + "|" + Kc + ")", jc = "(?:" + va + "(?:d|ll|m|re|s|t|ve))?", Jc = "(?:" + va + "(?:D|LL|M|RE|S|T|VE))?", Qc = rm + "?", $c = "[" + Dc + "]?", om = "(?:" + Yc + "(?:" + [Nc, ba, xa].join("|") + ")" + $c + Qc + ")*", am = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", lm = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", qc = $c + Qc + om, cm = "(?:" + [nm, ba, xa].join("|") + ")" + qc, hm = "(?:" + [Nc + Bs + "?", Bs, ba, xa, im].join("|") + ")", um = RegExp(va, "g"), dm = RegExp(Bs, "g"), Ta = RegExp(wa + "(?=" + wa + ")|" + hm + qc, "g"), fm = RegExp([
12321
12321
  xr + "?" + Uc + "+" + jc + "(?=" + [kc, xr, "$"].join("|") + ")",
12322
12322
  sm + "+" + Jc + "(?=" + [kc, xr + Bc, "$"].join("|") + ")",
12323
12323
  xr + "?" + Bc + "+" + jc,
@@ -12358,9 +12358,9 @@ ha.exports;
12358
12358
  "parseInt",
12359
12359
  "setTimeout"
12360
12360
  ], ym = -1, Ee = {};
12361
- Ee[Jr] = Ee[Qr] = Ee[vr] = Ee[$r] = Ee[qr] = Ee[wr] = Ee[On] = Ee[A] = Ee[Q] = !0, Ee[nt] = Ee[ft] = Ee[nn] = Ee[je] = Ee[Pi] = Ee[Je] = Ee[De] = Ee[Ft] = Ee[Ge] = Ee[st] = Ee[Ct] = Ee[Fn] = Ee[Vt] = Ee[en] = Ee[zn] = !1;
12361
+ Ee[Jr] = Ee[Qr] = Ee[vr] = Ee[$r] = Ee[qr] = Ee[wr] = Ee[Dn] = Ee[A] = Ee[Q] = !0, Ee[nt] = Ee[ft] = Ee[nn] = Ee[je] = Ee[Pi] = Ee[Je] = Ee[De] = Ee[Ft] = Ee[Ge] = Ee[st] = Ee[Ct] = Ee[Vn] = Ee[Vt] = Ee[en] = Ee[On] = !1;
12362
12362
  var Ie = {};
12363
- Ie[nt] = Ie[ft] = Ie[nn] = Ie[Pi] = Ie[je] = Ie[Je] = Ie[Jr] = Ie[Qr] = Ie[vr] = Ie[$r] = Ie[qr] = Ie[Ge] = Ie[st] = Ie[Ct] = Ie[Fn] = Ie[Vt] = Ie[en] = Ie[tn] = Ie[wr] = Ie[On] = Ie[A] = Ie[Q] = !0, Ie[De] = Ie[Ft] = Ie[zn] = !1;
12363
+ Ie[nt] = Ie[ft] = Ie[nn] = Ie[Pi] = Ie[je] = Ie[Je] = Ie[Jr] = Ie[Qr] = Ie[vr] = Ie[$r] = Ie[qr] = Ie[Ge] = Ie[st] = Ie[Ct] = Ie[Vn] = Ie[Vt] = Ie[en] = Ie[tn] = Ie[wr] = Ie[Dn] = Ie[A] = Ie[Q] = !0, Ie[De] = Ie[Ft] = Ie[On] = !1;
12364
12364
  var _m = {
12365
12365
  // Latin-1 Supplement block.
12366
12366
  À: "A",
@@ -12573,9 +12573,9 @@ ha.exports;
12573
12573
  "\r": "r",
12574
12574
  "\u2028": "u2028",
12575
12575
  "\u2029": "u2029"
12576
- }, xm = parseFloat, Tm = parseInt, eh = typeof ws == "object" && ws && ws.Object === Object && ws, Sm = typeof self == "object" && self && self.Object === Object && self, ot = eh || Sm || Function("return this")(), Sa = e && !e.nodeType && e, kn = Sa && !0 && r && !r.nodeType && r, th = kn && kn.exports === Sa, Ma = th && eh.process, $t = function() {
12576
+ }, xm = parseFloat, Tm = parseInt, eh = typeof ws == "object" && ws && ws.Object === Object && ws, Sm = typeof self == "object" && self && self.Object === Object && self, ot = eh || Sm || Function("return this")(), Sa = e && !e.nodeType && e, Hn = Sa && !0 && r && !r.nodeType && r, th = Hn && Hn.exports === Sa, Ma = th && eh.process, $t = function() {
12577
12577
  try {
12578
- var I = kn && kn.require && kn.require("util").types;
12578
+ var I = Hn && Hn.require && Hn.require("util").types;
12579
12579
  return I || Ma && Ma.binding && Ma.binding("util");
12580
12580
  } catch {
12581
12581
  }
@@ -12856,13 +12856,13 @@ ha.exports;
12856
12856
  return o ? "Symbol(src)_1." + o : "";
12857
12857
  }(), to = Pr.toString, $m = eo.call(Re), qm = ot._, eg = Aa(
12858
12858
  "^" + eo.call(We).replace(ya, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
12859
- ), io = th ? H.Buffer : t, ln = H.Symbol, no = H.Uint8Array, vh = io ? io.allocUnsafe : t, ro = gh(Re.getPrototypeOf, Re), wh = Re.create, bh = Pr.propertyIsEnumerable, so = $s.splice, xh = ln ? ln.isConcatSpreadable : t, ts = ln ? ln.iterator : t, Hn = ln ? ln.toStringTag : t, oo = function() {
12859
+ ), io = th ? H.Buffer : t, ln = H.Symbol, no = H.Uint8Array, vh = io ? io.allocUnsafe : t, ro = gh(Re.getPrototypeOf, Re), wh = Re.create, bh = Pr.propertyIsEnumerable, so = $s.splice, xh = ln ? ln.isConcatSpreadable : t, ts = ln ? ln.iterator : t, Un = ln ? ln.toStringTag : t, oo = function() {
12860
12860
  try {
12861
- var o = Bn(Re, "defineProperty");
12861
+ var o = jn(Re, "defineProperty");
12862
12862
  return o({}, "", {}), o;
12863
12863
  } catch {
12864
12864
  }
12865
- }(), tg = H.clearTimeout !== ot.clearTimeout && H.clearTimeout, ig = q && q.now !== ot.Date.now && q.now, ng = H.setTimeout !== ot.setTimeout && H.setTimeout, ao = Qe.ceil, lo = Qe.floor, Fa = Re.getOwnPropertySymbols, rg = io ? io.isBuffer : t, Th = H.isFinite, sg = $s.join, og = gh(Re.keys, Re), $e = Qe.max, mt = Qe.min, ag = q.now, lg = H.parseInt, Sh = Qe.random, cg = $s.reverse, Va = Bn(H, "DataView"), is = Bn(H, "Map"), za = Bn(H, "Promise"), Cr = Bn(H, "Set"), ns = Bn(H, "WeakMap"), rs = Bn(Re, "create"), co = ns && new ns(), Gr = {}, hg = jn(Va), ug = jn(is), dg = jn(za), fg = jn(Cr), pg = jn(ns), ho = ln ? ln.prototype : t, ss = ho ? ho.valueOf : t, Mh = ho ? ho.toString : t;
12865
+ }(), tg = H.clearTimeout !== ot.clearTimeout && H.clearTimeout, ig = q && q.now !== ot.Date.now && q.now, ng = H.setTimeout !== ot.setTimeout && H.setTimeout, ao = Qe.ceil, lo = Qe.floor, Fa = Re.getOwnPropertySymbols, rg = io ? io.isBuffer : t, Th = H.isFinite, sg = $s.join, og = gh(Re.keys, Re), $e = Qe.max, mt = Qe.min, ag = q.now, lg = H.parseInt, Sh = Qe.random, cg = $s.reverse, Va = jn(H, "DataView"), is = jn(H, "Map"), za = jn(H, "Promise"), Cr = jn(H, "Set"), ns = jn(H, "WeakMap"), rs = jn(Re, "create"), co = ns && new ns(), Gr = {}, hg = Jn(Va), ug = Jn(is), dg = Jn(za), fg = Jn(Cr), pg = Jn(ns), ho = ln ? ln.prototype : t, ss = ho ? ho.valueOf : t, Mh = ho ? ho.toString : t;
12866
12866
  function T(o) {
12867
12867
  if (Xe(o) && !de(o) && !(o instanceof xe)) {
12868
12868
  if (o instanceof ti)
@@ -12973,7 +12973,7 @@ ha.exports;
12973
12973
  return se;
12974
12974
  }
12975
12975
  xe.prototype = Wr(uo.prototype), xe.prototype.constructor = xe;
12976
- function Un(o) {
12976
+ function Kn(o) {
12977
12977
  var l = -1, u = o == null ? 0 : o.length;
12978
12978
  for (this.clear(); ++l < u; ) {
12979
12979
  var g = o[l];
@@ -13003,7 +13003,7 @@ ha.exports;
13003
13003
  var u = this.__data__;
13004
13004
  return this.size += this.has(o) ? 0 : 1, u[o] = rs && l === t ? h : l, this;
13005
13005
  }
13006
- Un.prototype.clear = _g, Un.prototype.delete = vg, Un.prototype.get = wg, Un.prototype.has = bg, Un.prototype.set = xg;
13006
+ Kn.prototype.clear = _g, Kn.prototype.delete = vg, Kn.prototype.get = wg, Kn.prototype.has = bg, Kn.prototype.set = xg;
13007
13007
  function Xi(o) {
13008
13008
  var l = -1, u = o == null ? 0 : o.length;
13009
13009
  for (this.clear(); ++l < u; ) {
@@ -13042,9 +13042,9 @@ ha.exports;
13042
13042
  }
13043
13043
  function Cg() {
13044
13044
  this.size = 0, this.__data__ = {
13045
- hash: new Un(),
13045
+ hash: new Kn(),
13046
13046
  map: new (is || Xi)(),
13047
- string: new Un()
13047
+ string: new Kn()
13048
13048
  };
13049
13049
  }
13050
13050
  function Gg(o) {
@@ -13062,7 +13062,7 @@ ha.exports;
13062
13062
  return u.set(o, l), this.size += u.size == g ? 0 : 1, this;
13063
13063
  }
13064
13064
  ki.prototype.clear = Cg, ki.prototype.delete = Gg, ki.prototype.get = Wg, ki.prototype.has = Zg, ki.prototype.set = Rg;
13065
- function Kn(o) {
13065
+ function Nn(o) {
13066
13066
  var l = -1, u = o == null ? 0 : o.length;
13067
13067
  for (this.__data__ = new ki(); ++l < u; )
13068
13068
  this.add(o[l]);
@@ -13073,7 +13073,7 @@ ha.exports;
13073
13073
  function Eg(o) {
13074
13074
  return this.__data__.has(o);
13075
13075
  }
13076
- Kn.prototype.add = Kn.prototype.push = Ig, Kn.prototype.has = Eg;
13076
+ Nn.prototype.add = Nn.prototype.push = Ig, Nn.prototype.has = Eg;
13077
13077
  function pi(o) {
13078
13078
  var l = this.__data__ = new Xi(o);
13079
13079
  this.size = l.size;
@@ -13103,7 +13103,7 @@ ha.exports;
13103
13103
  }
13104
13104
  pi.prototype.clear = Ag, pi.prototype.delete = Fg, pi.prototype.get = Vg, pi.prototype.has = zg, pi.prototype.set = Og;
13105
13105
  function Lh(o, l) {
13106
- var u = de(o), g = !u && Jn(o), _ = !u && !g && fn(o), M = !u && !g && !_ && Er(o), P = u || g || _ || M, W = P ? Ra(o.length, jm) : [], E = W.length;
13106
+ var u = de(o), g = !u && Qn(o), _ = !u && !g && fn(o), M = !u && !g && !_ && Er(o), P = u || g || _ || M, W = P ? Ra(o.length, jm) : [], E = W.length;
13107
13107
  for (var U in o)
13108
13108
  (l || We.call(o, U)) && !(P && // Safari 9 has enumerable `arguments.length` in strict mode.
13109
13109
  (U == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -13117,7 +13117,7 @@ ha.exports;
13117
13117
  return l ? o[ja(0, l - 1)] : t;
13118
13118
  }
13119
13119
  function Dg(o, l) {
13120
- return Lo(Gt(o), Nn(l, 0, o.length));
13120
+ return Lo(Gt(o), Yn(l, 0, o.length));
13121
13121
  }
13122
13122
  function Xg(o) {
13123
13123
  return Lo(Gt(o));
@@ -13159,7 +13159,7 @@ ha.exports;
13159
13159
  _[u] = M ? t : wl(o, l[u]);
13160
13160
  return _;
13161
13161
  }
13162
- function Nn(o, l, u) {
13162
+ function Yn(o, l, u) {
13163
13163
  return o === o && (u !== t && (o = o <= u ? o : u), l !== t && (o = o >= l ? o : l)), o;
13164
13164
  }
13165
13165
  function ii(o, l, u, g, _, M) {
@@ -13227,7 +13227,7 @@ ha.exports;
13227
13227
  var _ = -1, M = js, P = !0, W = o.length, E = [], U = l.length;
13228
13228
  if (!W)
13229
13229
  return E;
13230
- u && (l = ze(l, Ot(u))), g ? (M = La, P = !1) : l.length >= n && (M = es, P = !1, l = new Kn(l));
13230
+ u && (l = ze(l, Ot(u))), g ? (M = La, P = !1) : l.length >= n && (M = es, P = !1, l = new Nn(l));
13231
13231
  e:
13232
13232
  for (; ++_ < W; ) {
13233
13233
  var N = o[_], B = u == null ? N : u(N);
@@ -13287,7 +13287,7 @@ ha.exports;
13287
13287
  return Yi(o[u]);
13288
13288
  });
13289
13289
  }
13290
- function Yn(o, l) {
13290
+ function Bn(o, l) {
13291
13291
  l = un(l, o);
13292
13292
  for (var u = 0, g = l.length; o != null && u < g; )
13293
13293
  o = o[Wi(l[u++])];
@@ -13298,7 +13298,7 @@ ha.exports;
13298
13298
  return de(o) ? g : on(g, u(o));
13299
13299
  }
13300
13300
  function bt(o) {
13301
- return o == null ? o === t ? Vn : pt : Hn && Hn in Re(o) ? C0(o) : X0(o);
13301
+ return o == null ? o === t ? zn : pt : Un && Un in Re(o) ? C0(o) : X0(o);
13302
13302
  }
13303
13303
  function Ha(o, l) {
13304
13304
  return o > l;
@@ -13315,7 +13315,7 @@ ha.exports;
13315
13315
  function Ua(o, l, u) {
13316
13316
  for (var g = u ? La : js, _ = o[0].length, M = o.length, P = M, W = D(M), E = 1 / 0, U = []; P--; ) {
13317
13317
  var N = o[P];
13318
- P && l && (N = ze(N, Ot(l))), E = mt(N.length, E), W[P] = !u && (l || _ >= 120 && N.length >= 120) ? new Kn(P && N) : t;
13318
+ P && l && (N = ze(N, Ot(l))), E = mt(N.length, E), W[P] = !u && (l || _ >= 120 && N.length >= 120) ? new Nn(P && N) : t;
13319
13319
  }
13320
13320
  N = o[0];
13321
13321
  var B = -1, $ = W[0];
@@ -13407,10 +13407,10 @@ ha.exports;
13407
13407
  if (!Oe(o) || F0(o))
13408
13408
  return !1;
13409
13409
  var l = Yi(o) ? eg : Up;
13410
- return l.test(jn(o));
13410
+ return l.test(Jn(o));
13411
13411
  }
13412
13412
  function t0(o) {
13413
- return Xe(o) && bt(o) == Fn;
13413
+ return Xe(o) && bt(o) == Vn;
13414
13414
  }
13415
13415
  function i0(o) {
13416
13416
  return Xe(o) && gt(o) == Vt;
@@ -13477,7 +13477,7 @@ ha.exports;
13477
13477
  var N = M ? M(W, E, u + "", o, l, P) : t, B = N === t;
13478
13478
  if (B) {
13479
13479
  var $ = de(E), ee = !$ && fn(E), se = !$ && !ee && Er(E);
13480
- N = E, $ || ee || se ? de(W) ? N = W : He(W) ? N = Gt(W) : ee ? (B = !1, N = $h(E, !0)) : se ? (B = !1, N = qh(E, !0)) : N = [] : ps(E) || Jn(E) ? (N = W, Jn(W) ? N = ju(W) : (!Oe(W) || Yi(W)) && (N = yu(E))) : B = !1;
13480
+ N = E, $ || ee || se ? de(W) ? N = W : He(W) ? N = Gt(W) : ee ? (B = !1, N = $h(E, !0)) : se ? (B = !1, N = qh(E, !0)) : N = [] : ps(E) || Qn(E) ? (N = W, Qn(W) ? N = ju(W) : (!Oe(W) || Yi(W)) && (N = yu(E))) : B = !1;
13481
13481
  }
13482
13482
  B && (P.set(E, N), _(N, E, g, M, P), P.delete(E)), Oa(o, u, N);
13483
13483
  }
@@ -13489,7 +13489,7 @@ ha.exports;
13489
13489
  function kh(o, l, u) {
13490
13490
  l.length ? l = ze(l, function(M) {
13491
13491
  return de(M) ? function(P) {
13492
- return Yn(P, M.length === 1 ? M[0] : M);
13492
+ return Bn(P, M.length === 1 ? M[0] : M);
13493
13493
  } : M;
13494
13494
  }) : l = [Rt];
13495
13495
  var g = -1;
@@ -13511,14 +13511,14 @@ ha.exports;
13511
13511
  }
13512
13512
  function Hh(o, l, u) {
13513
13513
  for (var g = -1, _ = l.length, M = {}; ++g < _; ) {
13514
- var P = l[g], W = Yn(o, P);
13514
+ var P = l[g], W = Bn(o, P);
13515
13515
  u(W, P) && hs(M, un(P, o), W);
13516
13516
  }
13517
13517
  return M;
13518
13518
  }
13519
13519
  function a0(o) {
13520
13520
  return function(l) {
13521
- return Yn(l, o);
13521
+ return Bn(l, o);
13522
13522
  };
13523
13523
  }
13524
13524
  function Ba(o, l, u, g) {
@@ -13563,7 +13563,7 @@ ha.exports;
13563
13563
  }
13564
13564
  function h0(o, l) {
13565
13565
  var u = Ar(o);
13566
- return Lo(u, Nn(l, 0, u.length));
13566
+ return Lo(u, Yn(l, 0, u.length));
13567
13567
  }
13568
13568
  function hs(o, l, u, g) {
13569
13569
  if (!Oe(o))
@@ -13663,7 +13663,7 @@ ha.exports;
13663
13663
  var U = l ? null : S0(o);
13664
13664
  if (U)
13665
13665
  return Qs(U);
13666
- P = !1, _ = es, E = new Kn();
13666
+ P = !1, _ = es, E = new Nn();
13667
13667
  } else
13668
13668
  E = l ? [] : W;
13669
13669
  e:
@@ -13682,7 +13682,7 @@ ha.exports;
13682
13682
  return l = un(l, o), o = bu(o, l), o == null || delete o[Wi(ri(l))];
13683
13683
  }
13684
13684
  function Bh(o, l, u, g) {
13685
- return hs(o, l, u(Yn(o, l)), g);
13685
+ return hs(o, l, u(Bn(o, l)), g);
13686
13686
  }
13687
13687
  function _o(o, l, u, g) {
13688
13688
  for (var _ = o.length, M = g ? _ : -1; (g ? M-- : ++M < _) && l(o[M], M, o); )
@@ -14121,7 +14121,7 @@ ha.exports;
14121
14121
  var U = M.get(o), N = M.get(l);
14122
14122
  if (U && N)
14123
14123
  return U == l && N == o;
14124
- var B = -1, $ = !0, ee = u & w ? new Kn() : t;
14124
+ var B = -1, $ = !0, ee = u & w ? new Nn() : t;
14125
14125
  for (M.set(o, l), M.set(l, o); ++B < W; ) {
14126
14126
  var se = o[B], ge = l[B];
14127
14127
  if (g)
@@ -14161,7 +14161,7 @@ ha.exports;
14161
14161
  return mi(+o, +l);
14162
14162
  case De:
14163
14163
  return o.name == l.name && o.message == l.message;
14164
- case Fn:
14164
+ case Vn:
14165
14165
  case en:
14166
14166
  return o == l + "";
14167
14167
  case Ge:
@@ -14252,19 +14252,19 @@ ha.exports;
14252
14252
  }
14253
14253
  return l;
14254
14254
  }
14255
- function Bn(o, l) {
14255
+ function jn(o, l) {
14256
14256
  var u = zm(o, l);
14257
14257
  return Fh(u) ? u : t;
14258
14258
  }
14259
14259
  function C0(o) {
14260
- var l = We.call(o, Hn), u = o[Hn];
14260
+ var l = We.call(o, Un), u = o[Un];
14261
14261
  try {
14262
- o[Hn] = t;
14262
+ o[Un] = t;
14263
14263
  var g = !0;
14264
14264
  } catch {
14265
14265
  }
14266
14266
  var _ = to.call(o);
14267
- return g && (l ? o[Hn] = u : delete o[Hn]), _;
14267
+ return g && (l ? o[Un] = u : delete o[Un]), _;
14268
14268
  }
14269
14269
  var cl = Fa ? function(o) {
14270
14270
  return o == null ? [] : (o = Re(o), sn(Fa(o), function(l) {
@@ -14275,8 +14275,8 @@ ha.exports;
14275
14275
  on(l, cl(o)), o = ro(o);
14276
14276
  return l;
14277
14277
  } : Pl, gt = bt;
14278
- (Va && gt(new Va(new ArrayBuffer(1))) != Pi || is && gt(new is()) != Ge || za && gt(za.resolve()) != An || Cr && gt(new Cr()) != Vt || ns && gt(new ns()) != zn) && (gt = function(o) {
14279
- var l = bt(o), u = l == Ct ? o.constructor : t, g = u ? jn(u) : "";
14278
+ (Va && gt(new Va(new ArrayBuffer(1))) != Pi || is && gt(new is()) != Ge || za && gt(za.resolve()) != Fn || Cr && gt(new Cr()) != Vt || ns && gt(new ns()) != On) && (gt = function(o) {
14279
+ var l = bt(o), u = l == Ct ? o.constructor : t, g = u ? Jn(u) : "";
14280
14280
  if (g)
14281
14281
  switch (g) {
14282
14282
  case hg:
@@ -14284,11 +14284,11 @@ ha.exports;
14284
14284
  case ug:
14285
14285
  return Ge;
14286
14286
  case dg:
14287
- return An;
14287
+ return Fn;
14288
14288
  case fg:
14289
14289
  return Vt;
14290
14290
  case pg:
14291
- return zn;
14291
+ return On;
14292
14292
  }
14293
14293
  return l;
14294
14294
  });
@@ -14324,7 +14324,7 @@ ha.exports;
14324
14324
  break;
14325
14325
  o = o[P];
14326
14326
  }
14327
- return M || ++g != _ ? M : (_ = o == null ? 0 : o.length, !!_ && Ro(_) && Ni(P, _) && (de(o) || Jn(o)));
14327
+ return M || ++g != _ ? M : (_ = o == null ? 0 : o.length, !!_ && Ro(_) && Ni(P, _) && (de(o) || Qn(o)));
14328
14328
  }
14329
14329
  function Z0(o) {
14330
14330
  var l = o.length, u = new o.constructor(l);
@@ -14349,7 +14349,7 @@ ha.exports;
14349
14349
  case $r:
14350
14350
  case qr:
14351
14351
  case wr:
14352
- case On:
14352
+ case Dn:
14353
14353
  case A:
14354
14354
  case Q:
14355
14355
  return qh(o, u);
@@ -14358,7 +14358,7 @@ ha.exports;
14358
14358
  case st:
14359
14359
  case en:
14360
14360
  return new g(o);
14361
- case Fn:
14361
+ case Vn:
14362
14362
  return g0(o);
14363
14363
  case Vt:
14364
14364
  return new g();
@@ -14376,7 +14376,7 @@ ha.exports;
14376
14376
  `);
14377
14377
  }
14378
14378
  function E0(o) {
14379
- return de(o) || Jn(o) || !!(xh && o && o[xh]);
14379
+ return de(o) || Qn(o) || !!(xh && o && o[xh]);
14380
14380
  }
14381
14381
  function Ni(o, l) {
14382
14382
  var u = typeof o;
@@ -14392,7 +14392,7 @@ ha.exports;
14392
14392
  if (de(o))
14393
14393
  return !1;
14394
14394
  var u = typeof o;
14395
- return u == "number" || u == "symbol" || u == "boolean" || o == null || Xt(o) ? !0 : Xn.test(o) || !Dn.test(o) || l != null && o in Re(l);
14395
+ return u == "number" || u == "symbol" || u == "boolean" || o == null || Xt(o) ? !0 : kn.test(o) || !Xn.test(o) || l != null && o in Re(l);
14396
14396
  }
14397
14397
  function A0(o) {
14398
14398
  var l = typeof o;
@@ -14462,7 +14462,7 @@ ha.exports;
14462
14462
  };
14463
14463
  }
14464
14464
  function bu(o, l) {
14465
- return l.length < 2 ? o : Yn(o, ni(l, 0, -1));
14465
+ return l.length < 2 ? o : Bn(o, ni(l, 0, -1));
14466
14466
  }
14467
14467
  function k0(o, l) {
14468
14468
  for (var u = o.length, g = mt(l.length, u), _ = Gt(o); g--; ) {
@@ -14514,7 +14514,7 @@ ha.exports;
14514
14514
  var l = o + "";
14515
14515
  return l == "0" && 1 / o == -ne ? "-0" : l;
14516
14516
  }
14517
- function jn(o) {
14517
+ function Jn(o) {
14518
14518
  if (o != null) {
14519
14519
  try {
14520
14520
  return eo.call(o);
@@ -15176,7 +15176,7 @@ ha.exports;
15176
15176
  }
15177
15177
  var X_ = To(Ha), k_ = To(function(o, l) {
15178
15178
  return o >= l;
15179
- }), Jn = Ah(/* @__PURE__ */ function() {
15179
+ }), Qn = Ah(/* @__PURE__ */ function() {
15180
15180
  return arguments;
15181
15181
  }()) ? Ah : function(o) {
15182
15182
  return Xe(o) && We.call(o, "callee") && !bh.call(o, "callee");
@@ -15197,7 +15197,7 @@ ha.exports;
15197
15197
  function Y_(o) {
15198
15198
  if (o == null)
15199
15199
  return !0;
15200
- if (Wt(o) && (de(o) || typeof o == "string" || typeof o.splice == "function" || fn(o) || Er(o) || Jn(o)))
15200
+ if (Wt(o) && (de(o) || typeof o == "string" || typeof o.splice == "function" || fn(o) || Er(o) || Qn(o)))
15201
15201
  return !o.length;
15202
15202
  var l = gt(o);
15203
15203
  if (l == Ge || l == Vt)
@@ -15294,7 +15294,7 @@ ha.exports;
15294
15294
  return o === t;
15295
15295
  }
15296
15296
  function sv(o) {
15297
- return Xe(o) && gt(o) == zn;
15297
+ return Xe(o) && gt(o) == On;
15298
15298
  }
15299
15299
  function ov(o) {
15300
15300
  return Xe(o) && bt(o) == ga;
@@ -15326,7 +15326,7 @@ ha.exports;
15326
15326
  return l === l ? u ? l - u : l : 0;
15327
15327
  }
15328
15328
  function Bu(o) {
15329
- return o ? Nn(me(o), 0, ye) : 0;
15329
+ return o ? Yn(me(o), 0, ye) : 0;
15330
15330
  }
15331
15331
  function si(o) {
15332
15332
  if (typeof o == "number")
@@ -15347,7 +15347,7 @@ ha.exports;
15347
15347
  return Gi(o, Zt(o));
15348
15348
  }
15349
15349
  function cv(o) {
15350
- return o ? Nn(me(o), -te, te) : o === 0 ? o : 0;
15350
+ return o ? Yn(me(o), -te, te) : o === 0 ? o : 0;
15351
15351
  }
15352
15352
  function Ce(o) {
15353
15353
  return o == null ? "" : Dt(o);
@@ -15407,7 +15407,7 @@ ha.exports;
15407
15407
  return o == null ? [] : mo(o, Zt(o));
15408
15408
  }
15409
15409
  function wl(o, l, u) {
15410
- var g = o == null ? t : Yn(o, l);
15410
+ var g = o == null ? t : Bn(o, l);
15411
15411
  return g === t ? u : g;
15412
15412
  }
15413
15413
  function Sv(o, l) {
@@ -15513,7 +15513,7 @@ ha.exports;
15513
15513
  return o == null ? [] : Ia(o, Zt(o));
15514
15514
  }
15515
15515
  function kv(o, l, u) {
15516
- return u === t && (u = l, l = t), u !== t && (u = si(u), u = u === u ? u : 0), l !== t && (l = si(l), l = l === l ? l : 0), Nn(si(o), l, u);
15516
+ return u === t && (u = l, l = t), u !== t && (u = si(u), u = u === u ? u : 0), l !== t && (l = si(l), l = l === l ? l : 0), Yn(si(o), l, u);
15517
15517
  }
15518
15518
  function Hv(o, l, u) {
15519
15519
  return l = Bi(l), u === t ? (u = l, l = 0) : u = Bi(u), o = si(o), jg(o, l, u);
@@ -15541,7 +15541,7 @@ ha.exports;
15541
15541
  function Nv(o, l, u) {
15542
15542
  o = Ce(o), l = Dt(l);
15543
15543
  var g = o.length;
15544
- u = u === t ? g : Nn(me(u), 0, g);
15544
+ u = u === t ? g : Yn(me(u), 0, g);
15545
15545
  var _ = u;
15546
15546
  return u -= l.length, u >= 0 && o.slice(u, _) == l;
15547
15547
  }
@@ -15594,7 +15594,7 @@ ha.exports;
15594
15594
  return o + (u ? " " : "") + xl(l);
15595
15595
  });
15596
15596
  function aw(o, l, u) {
15597
- return o = Ce(o), u = u == null ? 0 : Nn(me(u), 0, o.length), l = Dt(l), o.slice(u, u + l.length) == l;
15597
+ return o = Ce(o), u = u == null ? 0 : Yn(me(u), 0, o.length), l = Dt(l), o.slice(u, u + l.length) == l;
15598
15598
  }
15599
15599
  function lw(o, l, u) {
15600
15600
  var g = T.templateSettings;
@@ -15798,7 +15798,7 @@ function print() { __p += __j.call(arguments, '') }
15798
15798
  }
15799
15799
  function Rw(o) {
15800
15800
  return function(l) {
15801
- return o == null ? t : Yn(o, l);
15801
+ return o == null ? t : Bn(o, l);
15802
15802
  };
15803
15803
  }
15804
15804
  var Iw = cu(), Ew = cu(!0);
@@ -15867,7 +15867,7 @@ function print() { __p += __j.call(arguments, '') }
15867
15867
  function tb(o, l) {
15868
15868
  return o && o.length ? Za(o, re(l, 2)) : 0;
15869
15869
  }
15870
- return T.after = T_, T.ary = Fu, T.assign = hv, T.assignIn = Ju, T.assignInWith = Eo, T.assignWith = uv, T.at = dv, T.before = Vu, T.bind = gl, T.bindAll = yw, T.bindKey = zu, T.castArray = A_, T.chain = Iu, T.chunk = U0, T.compact = K0, T.concat = N0, T.cond = _w, T.conforms = vw, T.constant = Tl, T.countBy = e_, T.create = fv, T.curry = Ou, T.curryRight = Du, T.debounce = Xu, T.defaults = pv, T.defaultsDeep = mv, T.defer = S_, T.delay = M_, T.difference = Y0, T.differenceBy = B0, T.differenceWith = j0, T.drop = J0, T.dropRight = Q0, T.dropRightWhile = $0, T.dropWhile = q0, T.fill = ey, T.filter = i_, T.flatMap = s_, T.flatMapDeep = o_, T.flatMapDepth = a_, T.flatten = Gu, T.flattenDeep = ty, T.flattenDepth = iy, T.flip = L_, T.flow = bw, T.flowRight = xw, T.fromPairs = ny, T.functions = xv, T.functionsIn = Tv, T.groupBy = l_, T.initial = sy, T.intersection = oy, T.intersectionBy = ay, T.intersectionWith = ly, T.invert = Mv, T.invertBy = Lv, T.invokeMap = h_, T.iteratee = Sl, T.keyBy = u_, T.keys = et, T.keysIn = Zt, T.map = Co, T.mapKeys = Cv, T.mapValues = Gv, T.matches = Tw, T.matchesProperty = Sw, T.memoize = Wo, T.merge = Wv, T.mergeWith = Qu, T.method = Mw, T.methodOf = Lw, T.mixin = Ml, T.negate = Zo, T.nthArg = Cw, T.omit = Zv, T.omitBy = Rv, T.once = P_, T.orderBy = d_, T.over = Gw, T.overArgs = C_, T.overEvery = Ww, T.overSome = Zw, T.partial = yl, T.partialRight = ku, T.partition = f_, T.pick = Iv, T.pickBy = $u, T.property = sd, T.propertyOf = Rw, T.pull = dy, T.pullAll = Zu, T.pullAllBy = fy, T.pullAllWith = py, T.pullAt = my, T.range = Iw, T.rangeRight = Ew, T.rearg = G_, T.reject = g_, T.remove = gy, T.rest = W_, T.reverse = pl, T.sampleSize = __, T.set = Av, T.setWith = Fv, T.shuffle = v_, T.slice = yy, T.sortBy = x_, T.sortedUniq = Sy, T.sortedUniqBy = My, T.split = sw, T.spread = Z_, T.tail = Ly, T.take = Py, T.takeRight = Cy, T.takeRightWhile = Gy, T.takeWhile = Wy, T.tap = Ky, T.throttle = R_, T.thru = Po, T.toArray = Yu, T.toPairs = qu, T.toPairsIn = ed, T.toPath = Ow, T.toPlainObject = ju, T.transform = Vv, T.unary = I_, T.union = Zy, T.unionBy = Ry, T.unionWith = Iy, T.uniq = Ey, T.uniqBy = Ay, T.uniqWith = Fy, T.unset = zv, T.unzip = ml, T.unzipWith = Ru, T.update = Ov, T.updateWith = Dv, T.values = Ar, T.valuesIn = Xv, T.without = Vy, T.words = nd, T.wrap = E_, T.xor = zy, T.xorBy = Oy, T.xorWith = Dy, T.zip = Xy, T.zipObject = ky, T.zipObjectDeep = Hy, T.zipWith = Uy, T.entries = qu, T.entriesIn = ed, T.extend = Ju, T.extendWith = Eo, Ml(T, T), T.add = Xw, T.attempt = rd, T.camelCase = Kv, T.capitalize = td, T.ceil = kw, T.clamp = kv, T.clone = F_, T.cloneDeep = z_, T.cloneDeepWith = O_, T.cloneWith = V_, T.conformsTo = D_, T.deburr = id, T.defaultTo = ww, T.divide = Hw, T.endsWith = Nv, T.eq = mi, T.escape = Yv, T.escapeRegExp = Bv, T.every = t_, T.find = n_, T.findIndex = Pu, T.findKey = gv, T.findLast = r_, T.findLastIndex = Cu, T.findLastKey = yv, T.floor = Uw, T.forEach = Eu, T.forEachRight = Au, T.forIn = _v, T.forInRight = vv, T.forOwn = wv, T.forOwnRight = bv, T.get = wl, T.gt = X_, T.gte = k_, T.has = Sv, T.hasIn = bl, T.head = Wu, T.identity = Rt, T.includes = c_, T.indexOf = ry, T.inRange = Hv, T.invoke = Pv, T.isArguments = Jn, T.isArray = de, T.isArrayBuffer = H_, T.isArrayLike = Wt, T.isArrayLikeObject = He, T.isBoolean = U_, T.isBuffer = fn, T.isDate = K_, T.isElement = N_, T.isEmpty = Y_, T.isEqual = B_, T.isEqualWith = j_, T.isError = _l, T.isFinite = J_, T.isFunction = Yi, T.isInteger = Hu, T.isLength = Ro, T.isMap = Uu, T.isMatch = Q_, T.isMatchWith = $_, T.isNaN = q_, T.isNative = ev, T.isNil = iv, T.isNull = tv, T.isNumber = Ku, T.isObject = Oe, T.isObjectLike = Xe, T.isPlainObject = ps, T.isRegExp = vl, T.isSafeInteger = nv, T.isSet = Nu, T.isString = Io, T.isSymbol = Xt, T.isTypedArray = Er, T.isUndefined = rv, T.isWeakMap = sv, T.isWeakSet = ov, T.join = cy, T.kebabCase = jv, T.last = ri, T.lastIndexOf = hy, T.lowerCase = Jv, T.lowerFirst = Qv, T.lt = av, T.lte = lv, T.max = Kw, T.maxBy = Nw, T.mean = Yw, T.meanBy = Bw, T.min = jw, T.minBy = Jw, T.stubArray = Pl, T.stubFalse = Cl, T.stubObject = Aw, T.stubString = Fw, T.stubTrue = Vw, T.multiply = Qw, T.nth = uy, T.noConflict = Pw, T.noop = Ll, T.now = Go, T.pad = $v, T.padEnd = qv, T.padStart = ew, T.parseInt = tw, T.random = Uv, T.reduce = p_, T.reduceRight = m_, T.repeat = iw, T.replace = nw, T.result = Ev, T.round = $w, T.runInContext = I, T.sample = y_, T.size = w_, T.snakeCase = rw, T.some = b_, T.sortedIndex = _y, T.sortedIndexBy = vy, T.sortedIndexOf = wy, T.sortedLastIndex = by, T.sortedLastIndexBy = xy, T.sortedLastIndexOf = Ty, T.startCase = ow, T.startsWith = aw, T.subtract = qw, T.sum = eb, T.sumBy = tb, T.template = lw, T.times = zw, T.toFinite = Bi, T.toInteger = me, T.toLength = Bu, T.toLower = cw, T.toNumber = si, T.toSafeInteger = cv, T.toString = Ce, T.toUpper = hw, T.trim = uw, T.trimEnd = dw, T.trimStart = fw, T.truncate = pw, T.unescape = mw, T.uniqueId = Dw, T.upperCase = gw, T.upperFirst = xl, T.each = Eu, T.eachRight = Au, T.first = Wu, Ml(T, function() {
15870
+ return T.after = T_, T.ary = Fu, T.assign = hv, T.assignIn = Ju, T.assignInWith = Eo, T.assignWith = uv, T.at = dv, T.before = Vu, T.bind = gl, T.bindAll = yw, T.bindKey = zu, T.castArray = A_, T.chain = Iu, T.chunk = U0, T.compact = K0, T.concat = N0, T.cond = _w, T.conforms = vw, T.constant = Tl, T.countBy = e_, T.create = fv, T.curry = Ou, T.curryRight = Du, T.debounce = Xu, T.defaults = pv, T.defaultsDeep = mv, T.defer = S_, T.delay = M_, T.difference = Y0, T.differenceBy = B0, T.differenceWith = j0, T.drop = J0, T.dropRight = Q0, T.dropRightWhile = $0, T.dropWhile = q0, T.fill = ey, T.filter = i_, T.flatMap = s_, T.flatMapDeep = o_, T.flatMapDepth = a_, T.flatten = Gu, T.flattenDeep = ty, T.flattenDepth = iy, T.flip = L_, T.flow = bw, T.flowRight = xw, T.fromPairs = ny, T.functions = xv, T.functionsIn = Tv, T.groupBy = l_, T.initial = sy, T.intersection = oy, T.intersectionBy = ay, T.intersectionWith = ly, T.invert = Mv, T.invertBy = Lv, T.invokeMap = h_, T.iteratee = Sl, T.keyBy = u_, T.keys = et, T.keysIn = Zt, T.map = Co, T.mapKeys = Cv, T.mapValues = Gv, T.matches = Tw, T.matchesProperty = Sw, T.memoize = Wo, T.merge = Wv, T.mergeWith = Qu, T.method = Mw, T.methodOf = Lw, T.mixin = Ml, T.negate = Zo, T.nthArg = Cw, T.omit = Zv, T.omitBy = Rv, T.once = P_, T.orderBy = d_, T.over = Gw, T.overArgs = C_, T.overEvery = Ww, T.overSome = Zw, T.partial = yl, T.partialRight = ku, T.partition = f_, T.pick = Iv, T.pickBy = $u, T.property = sd, T.propertyOf = Rw, T.pull = dy, T.pullAll = Zu, T.pullAllBy = fy, T.pullAllWith = py, T.pullAt = my, T.range = Iw, T.rangeRight = Ew, T.rearg = G_, T.reject = g_, T.remove = gy, T.rest = W_, T.reverse = pl, T.sampleSize = __, T.set = Av, T.setWith = Fv, T.shuffle = v_, T.slice = yy, T.sortBy = x_, T.sortedUniq = Sy, T.sortedUniqBy = My, T.split = sw, T.spread = Z_, T.tail = Ly, T.take = Py, T.takeRight = Cy, T.takeRightWhile = Gy, T.takeWhile = Wy, T.tap = Ky, T.throttle = R_, T.thru = Po, T.toArray = Yu, T.toPairs = qu, T.toPairsIn = ed, T.toPath = Ow, T.toPlainObject = ju, T.transform = Vv, T.unary = I_, T.union = Zy, T.unionBy = Ry, T.unionWith = Iy, T.uniq = Ey, T.uniqBy = Ay, T.uniqWith = Fy, T.unset = zv, T.unzip = ml, T.unzipWith = Ru, T.update = Ov, T.updateWith = Dv, T.values = Ar, T.valuesIn = Xv, T.without = Vy, T.words = nd, T.wrap = E_, T.xor = zy, T.xorBy = Oy, T.xorWith = Dy, T.zip = Xy, T.zipObject = ky, T.zipObjectDeep = Hy, T.zipWith = Uy, T.entries = qu, T.entriesIn = ed, T.extend = Ju, T.extendWith = Eo, Ml(T, T), T.add = Xw, T.attempt = rd, T.camelCase = Kv, T.capitalize = td, T.ceil = kw, T.clamp = kv, T.clone = F_, T.cloneDeep = z_, T.cloneDeepWith = O_, T.cloneWith = V_, T.conformsTo = D_, T.deburr = id, T.defaultTo = ww, T.divide = Hw, T.endsWith = Nv, T.eq = mi, T.escape = Yv, T.escapeRegExp = Bv, T.every = t_, T.find = n_, T.findIndex = Pu, T.findKey = gv, T.findLast = r_, T.findLastIndex = Cu, T.findLastKey = yv, T.floor = Uw, T.forEach = Eu, T.forEachRight = Au, T.forIn = _v, T.forInRight = vv, T.forOwn = wv, T.forOwnRight = bv, T.get = wl, T.gt = X_, T.gte = k_, T.has = Sv, T.hasIn = bl, T.head = Wu, T.identity = Rt, T.includes = c_, T.indexOf = ry, T.inRange = Hv, T.invoke = Pv, T.isArguments = Qn, T.isArray = de, T.isArrayBuffer = H_, T.isArrayLike = Wt, T.isArrayLikeObject = He, T.isBoolean = U_, T.isBuffer = fn, T.isDate = K_, T.isElement = N_, T.isEmpty = Y_, T.isEqual = B_, T.isEqualWith = j_, T.isError = _l, T.isFinite = J_, T.isFunction = Yi, T.isInteger = Hu, T.isLength = Ro, T.isMap = Uu, T.isMatch = Q_, T.isMatchWith = $_, T.isNaN = q_, T.isNative = ev, T.isNil = iv, T.isNull = tv, T.isNumber = Ku, T.isObject = Oe, T.isObjectLike = Xe, T.isPlainObject = ps, T.isRegExp = vl, T.isSafeInteger = nv, T.isSet = Nu, T.isString = Io, T.isSymbol = Xt, T.isTypedArray = Er, T.isUndefined = rv, T.isWeakMap = sv, T.isWeakSet = ov, T.join = cy, T.kebabCase = jv, T.last = ri, T.lastIndexOf = hy, T.lowerCase = Jv, T.lowerFirst = Qv, T.lt = av, T.lte = lv, T.max = Kw, T.maxBy = Nw, T.mean = Yw, T.meanBy = Bw, T.min = jw, T.minBy = Jw, T.stubArray = Pl, T.stubFalse = Cl, T.stubObject = Aw, T.stubString = Fw, T.stubTrue = Vw, T.multiply = Qw, T.nth = uy, T.noConflict = Pw, T.noop = Ll, T.now = Go, T.pad = $v, T.padEnd = qv, T.padStart = ew, T.parseInt = tw, T.random = Uv, T.reduce = p_, T.reduceRight = m_, T.repeat = iw, T.replace = nw, T.result = Ev, T.round = $w, T.runInContext = I, T.sample = y_, T.size = w_, T.snakeCase = rw, T.some = b_, T.sortedIndex = _y, T.sortedIndexBy = vy, T.sortedIndexOf = wy, T.sortedLastIndex = by, T.sortedLastIndexBy = xy, T.sortedLastIndexOf = Ty, T.startCase = ow, T.startsWith = aw, T.subtract = qw, T.sum = eb, T.sumBy = tb, T.template = lw, T.times = zw, T.toFinite = Bi, T.toInteger = me, T.toLength = Bu, T.toLower = cw, T.toNumber = si, T.toSafeInteger = cv, T.toString = Ce, T.toUpper = hw, T.trim = uw, T.trimEnd = dw, T.trimStart = fw, T.truncate = pw, T.unescape = mw, T.uniqueId = Dw, T.upperCase = gw, T.upperFirst = xl, T.each = Eu, T.eachRight = Au, T.first = Wu, Ml(T, function() {
15871
15871
  var o = {};
15872
15872
  return Ci(T, function(l, u) {
15873
15873
  We.call(T.prototype, u) || (o[u] = l);
@@ -15963,7 +15963,7 @@ function print() { __p += __j.call(arguments, '') }
15963
15963
  func: t
15964
15964
  }], xe.prototype.clone = mg, xe.prototype.reverse = gg, xe.prototype.value = yg, T.prototype.at = Ny, T.prototype.chain = Yy, T.prototype.commit = By, T.prototype.next = jy, T.prototype.plant = Qy, T.prototype.reverse = $y, T.prototype.toJSON = T.prototype.valueOf = T.prototype.value = qy, T.prototype.first = T.prototype.head, ts && (T.prototype[ts] = Jy), T;
15965
15965
  }, Lr = Bm();
15966
- kn ? ((kn.exports = Lr)._ = Lr, Sa._ = Lr) : ot._ = Lr;
15966
+ Hn ? ((Hn.exports = Lr)._ = Lr, Sa._ = Lr) : ot._ = Lr;
15967
15967
  }).call(ws);
15968
15968
  })(ha, ha.exports);
15969
15969
  var eM = ha.exports, tM = Object.defineProperty, iM = (r, e, t) => e in r ? tM(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, nM = (r, e, t) => iM(r, e + "", t);
@@ -16050,7 +16050,7 @@ var rM = Object.defineProperty, sM = (r, e, t) => e in r ? rM(r, e, { enumerable
16050
16050
  const aM = {
16051
16051
  // 默认配置项
16052
16052
  };
16053
- class In extends vi {
16053
+ class En extends vi {
16054
16054
  /**
16055
16055
  * Create a marker feature instance.
16056
16056
  * 创建标记点要素实例
@@ -16105,7 +16105,7 @@ class In extends vi {
16105
16105
  async _createObject(e) {
16106
16106
  switch (e.config.type) {
16107
16107
  case "basic-point":
16108
- return ir(e.config, new O(0, 0, 0));
16108
+ return nr(e.config, new O(0, 0, 0));
16109
16109
  case "icon-point":
16110
16110
  return rp(e.config, this._position);
16111
16111
  case "icon-label-point":
@@ -16201,7 +16201,7 @@ class In extends vi {
16201
16201
  }
16202
16202
  }
16203
16203
  }
16204
- In.mergeOptions(aM);
16204
+ En.mergeOptions(aM);
16205
16205
  var lM = Object.defineProperty, cM = (r, e, t) => e in r ? lM(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Nd = (r, e, t) => cM(r, typeof e != "symbol" ? e + "" : e, t);
16206
16206
  class mp extends Lt {
16207
16207
  /**
@@ -16261,7 +16261,7 @@ class mp extends Lt {
16261
16261
  * 创建带有默认材质的线几何体,子类可扩展或重写此方法
16262
16262
  */
16263
16263
  _createThreeGeometry() {
16264
- const e = new hr(), t = new fr({
16264
+ const e = new Mn(), t = new fr({
16265
16265
  color: 8947848,
16266
16266
  linewidth: 0.1,
16267
16267
  dashed: !1,
@@ -16483,7 +16483,7 @@ class gM extends Lt {
16483
16483
  * 创建带有默认材质的线几何体,子类可扩展或重写此方法
16484
16484
  */
16485
16485
  _createThreeGeometry() {
16486
- const e = new hr(), t = new fr({
16486
+ const e = new Mn(), t = new fr({
16487
16487
  color: 8947848,
16488
16488
  linewidth: 0.1,
16489
16489
  dashed: !1,
@@ -17594,7 +17594,7 @@ class KM extends vi {
17594
17594
  }
17595
17595
  KM.mergeOptions(UM);
17596
17596
  var NM = Object.defineProperty, YM = (r, e, t) => e in r ? NM(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, yn = (r, e, t) => YM(r, typeof e != "symbol" ? e + "" : e, t);
17597
- class xs extends En(Object) {
17597
+ class xs extends An(Object) {
17598
17598
  /**
17599
17599
  * Create edit handle instance
17600
17600
  * 创建编辑手柄实例
@@ -17625,7 +17625,7 @@ class xs extends En(Object) {
17625
17625
  i.clearRect(0, 0, t.width, t.height), i.beginPath(), i.arc(n, n, s, 0, 2 * Math.PI), i.fillStyle = "#000000", i.fill(), i.beginPath(), i.arc(n, n, s - 2, 0, 2 * Math.PI), i.fillStyle = this.options.color, i.fill();
17626
17626
  const a = new gr(t);
17627
17627
  a.needsUpdate = !0;
17628
- const c = new Zn({
17628
+ const c = new Rn({
17629
17629
  map: a,
17630
17630
  opacity: this.options.opacity,
17631
17631
  transparent: !0,
@@ -18597,7 +18597,7 @@ function _n(r) {
18597
18597
  return Number(r);
18598
18598
  }
18599
18599
  var QM = Object.defineProperty, $M = (r, e, t) => e in r ? QM(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Kt = (r, e, t) => $M(r, typeof e != "symbol" ? e + "" : e, t);
18600
- class jo extends Rn {
18600
+ class jo extends In {
18601
18601
  constructor(e, t) {
18602
18602
  super(e, t), Kt(this, "TILE_SIZE"), Kt(this, "EXTENT"), Kt(this, "style"), Kt(this, "interactive", !1), Kt(this, "_tileFeatureMap", /* @__PURE__ */ new Map()), Kt(this, "_activeFeatureFilter"), Kt(this, "_layerStyleMapCache", null), Kt(this, "_lastBuiltStyleMap", null), Kt(this, "_addedFeatureIds", /* @__PURE__ */ new Set()), Kt(this, "_styleInstanceCache", /* @__PURE__ */ new Map()), Kt(this, "_totalProcessTime", 0), Kt(this, "_processCount", 0), Kt(this, "_totalFeatureCount", 0), this.TILE_SIZE = t.tileSize ?? 256, this.EXTENT = t.extent ?? 4096, this.style = t.style || [], this._onMapUpdate = this._onMapUpdate.bind(this);
18603
18603
  }
@@ -18773,7 +18773,7 @@ class jo extends Rn {
18773
18773
  };
18774
18774
  switch (t) {
18775
18775
  case "Point":
18776
- return new In(a);
18776
+ return new En(a);
18777
18777
  case "LineString":
18778
18778
  return new Yt(a);
18779
18779
  default:
@@ -18913,7 +18913,7 @@ class gp extends Hs {
18913
18913
  * @param options Layer configuration options. 图层配置选项。
18914
18914
  */
18915
18915
  constructor(e, t) {
18916
- super(e, t), this.layerId = e, It(this, "isTileLayer", !0), It(this, "layerType", "base"), It(this, "isBaseLayer", !1), It(this, "_enabled", !0), It(this, "_visible", !0), It(this, "_rootTile"), It(this, "_loader"), It(this, "_LODThreshold", 1), It(this, "isSceneLayer", !1), It(this, "opacity", 1), It(this, "source"), It(this, "projection"), It(this, "minLevel", 2), It(this, "maxLevel", 19), this.source = t.source, this.projection = t.projection, this.minLevel = t.minLevel ?? 2, this.maxLevel = t.maxLevel ?? 19, this._LODThreshold = t.LODThreshold ?? 1, this.opacity = t.opacity ?? 1, this.name = `Layer-${e}`, this._loader = this.createLoader(), this._rootTile = new ar(), this._rootTile.matrixAutoUpdate = !0, this._rootTile.scale.set(this.projection.mapWidth, this.projection.mapHeight, 1), this.add(this._rootTile), this._rootTile.updateMatrix(), this.layerId = e, this.name === "Layer-label-layer" && this.position.set(0, 0, 1);
18916
+ super(e, t), this.layerId = e, It(this, "isTileLayer", !0), It(this, "layerType", "base"), It(this, "isBaseLayer", !1), It(this, "_enabled", !0), It(this, "_visible", !0), It(this, "_rootTile"), It(this, "_loader"), It(this, "_LODThreshold", 1), It(this, "isSceneLayer", !1), It(this, "opacity", 1), It(this, "source"), It(this, "projection"), It(this, "minLevel", 2), It(this, "maxLevel", 19), this.source = t.source, this.projection = t.projection, this.minLevel = t.minLevel ?? 2, this.maxLevel = t.maxLevel ?? 19, this._LODThreshold = t.LODThreshold ?? 1, this.opacity = t.opacity ?? 1, this.name = `Layer-${e}`, this._loader = this.createLoader(), this._rootTile = new lr(), this._rootTile.matrixAutoUpdate = !0, this._rootTile.scale.set(this.projection.mapWidth, this.projection.mapHeight, 1), this.add(this._rootTile), this._rootTile.updateMatrix(), this.layerId = e, this.name === "Layer-label-layer" && this.position.set(0, 0, 1);
18917
18917
  }
18918
18918
  /**
18919
18919
  * Get LOD threshold.
@@ -19785,7 +19785,7 @@ function A2(r, e) {
19785
19785
  }
19786
19786
  const F2 = `{
19787
19787
  "name": "@terra.gl/core",
19788
- "version": "0.0.1-alpha.69",
19788
+ "version": "0.0.1-alpha.70",
19789
19789
  "type": "module",
19790
19790
  "files": [
19791
19791
  "dist"
@@ -21030,7 +21030,7 @@ class tL extends bp {
21030
21030
  super(), $o(this, "info", {
21031
21031
  version: "0.10.0",
21032
21032
  description: "Tile LERC terrain loader. It can load ArcGis-lerc format terrain data."
21033
- }), $o(this, "dataType", "lerc"), $o(this, "fileLoader", new Wn(Ne.manager)), $o(this, "_workerPool", new Pc(0)), this.fileLoader.setResponseType("arraybuffer"), this._workerPool.setWorkerCreator(() => new k2());
21033
+ }), $o(this, "dataType", "lerc"), $o(this, "fileLoader", new Zn(Ne.manager)), $o(this, "_workerPool", new Pc(0)), this.fileLoader.setResponseType("arraybuffer"), this._workerPool.setWorkerCreator(() => new k2());
21034
21034
  }
21035
21035
  /**
21036
21036
  * 异步加载并解析数据,返回BufferGeometry对象
@@ -21100,17 +21100,17 @@ function lL(r, e, t) {
21100
21100
  return s.imageSmoothingEnabled = !1, s.drawImage(r, i.sx, i.sy, i.sw, i.sh, 0, 0, t, t), s.getImageData(0, 0, t, t);
21101
21101
  }
21102
21102
  Mp(new aL());
21103
- function Ln(r, e) {
21103
+ function Pn(r, e) {
21104
21104
  this.x = r, this.y = e;
21105
21105
  }
21106
- Ln.prototype = {
21106
+ Pn.prototype = {
21107
21107
  /**
21108
21108
  * Clone this point, returning a new point that can be modified
21109
21109
  * without affecting the old one.
21110
21110
  * @return {Point} the clone
21111
21111
  */
21112
21112
  clone() {
21113
- return new Ln(this.x, this.y);
21113
+ return new Pn(this.x, this.y);
21114
21114
  },
21115
21115
  /**
21116
21116
  * Add this point's x & y coordinates to another point,
@@ -21346,18 +21346,18 @@ Ln.prototype = {
21346
21346
  _round() {
21347
21347
  return this.x = Math.round(this.x), this.y = Math.round(this.y), this;
21348
21348
  },
21349
- constructor: Ln
21349
+ constructor: Pn
21350
21350
  };
21351
- Ln.convert = function(r) {
21352
- if (r instanceof Ln)
21351
+ Pn.convert = function(r) {
21352
+ if (r instanceof Pn)
21353
21353
  return (
21354
21354
  /** @type {Point} */
21355
21355
  r
21356
21356
  );
21357
21357
  if (Array.isArray(r))
21358
- return new Ln(+r[0], +r[1]);
21358
+ return new Pn(+r[0], +r[1]);
21359
21359
  if (r.x !== void 0 && r.y !== void 0)
21360
- return new Ln(+r.x, +r.y);
21360
+ return new Pn(+r.x, +r.y);
21361
21361
  throw new Error("Expected [x, y] or {x, y} point format");
21362
21362
  };
21363
21363
  class Cp {
@@ -21382,7 +21382,7 @@ class Cp {
21382
21382
  s = d & 7, a = d >> 3;
21383
21383
  }
21384
21384
  if (a--, s === 1 || s === 2)
21385
- c += e.readSVarint(), h += e.readSVarint(), s === 1 && (n && i.push(n), n = []), n && n.push(new Ln(c, h));
21385
+ c += e.readSVarint(), h += e.readSVarint(), s === 1 && (n && i.push(n), n = []), n && n.push(new Pn(c, h));
21386
21386
  else if (s === 7)
21387
21387
  n && n.push(n[0].clone());
21388
21388
  else
@@ -21999,7 +21999,7 @@ function EL(r, e, t) {
21999
21999
  var AL = Object.defineProperty, FL = (r, e, t) => e in r ? AL(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Ql = (r, e, t) => FL(r, typeof e != "symbol" ? e + "" : e, t);
22000
22000
  class VL extends Tp {
22001
22001
  constructor() {
22002
- super(), Ql(this, "dataType", "mvt"), Ql(this, "_loader", new Wn(Ne.manager)), Ql(this, "_render", new P2()), this._loader.setResponseType("arraybuffer");
22002
+ super(), Ql(this, "dataType", "mvt"), Ql(this, "_loader", new Zn(Ne.manager)), Ql(this, "_render", new P2()), this._loader.setResponseType("arraybuffer");
22003
22003
  }
22004
22004
  async doLoad(e, t) {
22005
22005
  const i = await this._loader.loadAsync(e), n = new gL(new vL(i)), s = this.drawTile(n, t.source.style, t.z);
@@ -22223,7 +22223,7 @@ class HL {
22223
22223
  ia(this, "info", {
22224
22224
  version: "1.0.0",
22225
22225
  description: "Vector Tile loader for Mapbox Vector Tile format. It can load and parse MVT data."
22226
- }), ia(this, "dataType", "VectorTile"), ia(this, "fileLoader", new Wn(Ne.manager)), ia(this, "_workerPool", new Pc(0)), this.fileLoader.setResponseType("arraybuffer"), this._workerPool.setWorkerCreator(() => new OL());
22226
+ }), ia(this, "dataType", "VectorTile"), ia(this, "fileLoader", new Zn(Ne.manager)), ia(this, "_workerPool", new Pc(0)), this.fileLoader.setResponseType("arraybuffer"), this._workerPool.setWorkerCreator(() => new OL());
22227
22227
  }
22228
22228
  /**
22229
22229
  * 加载瓦片数据
@@ -22682,7 +22682,7 @@ class BL {
22682
22682
  }
22683
22683
  const jL = {};
22684
22684
  let jr = class Wp extends Lc(
22685
- En(
22685
+ An(
22686
22686
  yr(BL)
22687
22687
  )
22688
22688
  ) {
@@ -22998,14 +22998,14 @@ let jr = class Wp extends Lc(
22998
22998
  return this.tilemap.removeLayer(t), !0;
22999
22999
  }
23000
23000
  const n = this._layerContainer.getLayerById(t);
23001
- return n ? (this._layerContainer.remove(n), n instanceof Rn && n?._collision, !0) : (console.warn(`⚠️ Layer does not exist 图层不存在: ${t}`), !1);
23001
+ return n ? (this._layerContainer.remove(n), n instanceof In && n?._collision, !0) : (console.warn(`⚠️ Layer does not exist 图层不存在: ${t}`), !1);
23002
23002
  }
23003
23003
  /**
23004
23004
  * Add regular layer (Add to scene only).
23005
23005
  * 添加普通图层(只添加到场景)
23006
23006
  */
23007
23007
  addRegularLayer(e) {
23008
- this._layerContainer.add(e), e._bindMap(this), e instanceof Rn && e?._collision && (this.collisionEngine.registerLayer(e), e.setCollisionEngine(this.collisionEngine));
23008
+ this._layerContainer.add(e), e._bindMap(this), e instanceof In && e?._collision && (this.collisionEngine.registerLayer(e), e.setCollisionEngine(this.collisionEngine));
23009
23009
  }
23010
23010
  // addTileLayer(layer: ITileLayer) {
23011
23011
  // this.tileLayerManager.addLayer(layer);
@@ -23544,7 +23544,7 @@ let nP = class {
23544
23544
  constructor(...e) {
23545
23545
  }
23546
23546
  };
23547
- const Zp = class Or extends En(
23547
+ const Zp = class Or extends An(
23548
23548
  yr(nP)
23549
23549
  ) {
23550
23550
  /**
@@ -23953,7 +23953,7 @@ class lP {
23953
23953
  constructor(...e) {
23954
23954
  }
23955
23955
  }
23956
- class cP extends En(
23956
+ class cP extends An(
23957
23957
  yr(lP)
23958
23958
  ) {
23959
23959
  /**
@@ -24029,7 +24029,7 @@ class cP extends En(
24029
24029
  }
24030
24030
  }
24031
24031
  var hP = Object.defineProperty, uP = (r, e, t) => e in r ? hP(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Ss = (r, e, t) => uP(r, typeof e != "symbol" ? e + "" : e, t);
24032
- class dP extends Rn {
24032
+ class dP extends In {
24033
24033
  constructor(e) {
24034
24034
  super(e, { altitude: 1 });
24035
24035
  }
@@ -24190,13 +24190,13 @@ class Us extends cP {
24190
24190
  const fP = {
24191
24191
  actions: ["click", "mousemove"],
24192
24192
  create(r, e) {
24193
- const t = e.drawTool, i = t._getOrCreateDraftLayer(), n = Cn(
24193
+ const t = e.drawTool, i = t._getOrCreateDraftLayer(), n = Gn(
24194
24194
  t.options.geometryStyle,
24195
24195
  { type: "basic-point", size: 10, color: "#00ffff" }
24196
24196
  ), s = {
24197
24197
  type: "Point",
24198
24198
  coordinates: r
24199
- }, a = new In({
24199
+ }, a = new En({
24200
24200
  geometry: s,
24201
24201
  style: n
24202
24202
  });
@@ -24219,11 +24219,11 @@ const fP = {
24219
24219
  const t = r.tool;
24220
24220
  if (!e.length) return null;
24221
24221
  r.draftMarker && (r.draftMarker._remove(), r.draftMarker = null);
24222
- const i = Cn(
24222
+ const i = Gn(
24223
24223
  t.options.geometryStyle,
24224
24224
  { type: "basic-point", size: 10, color: "#00ffff" }
24225
24225
  ), n = e[e.length - 1];
24226
- return new In({
24226
+ return new En({
24227
24227
  geometry: {
24228
24228
  type: "Point",
24229
24229
  coordinates: n
@@ -24235,10 +24235,10 @@ const fP = {
24235
24235
  }, pP = {
24236
24236
  actions: ["click", "mousemove", "dblclick"],
24237
24237
  create(r, e) {
24238
- const t = e.drawTool, i = t._getOrCreateDraftLayer(), n = Cn(
24238
+ const t = e.drawTool, i = t._getOrCreateDraftLayer(), n = Gn(
24239
24239
  t.options.geometryStyle,
24240
24240
  { type: "basic-line", color: "#ff0000", width: 2 }
24241
- ), s = t.options.vertexStyle === null ? void 0 : Cn(
24241
+ ), s = t.options.vertexStyle === null ? void 0 : Gn(
24242
24242
  t.options.vertexStyle,
24243
24243
  { type: "basic-point", size: 8, color: "#00ffff" }
24244
24244
  ), a = {
@@ -24254,7 +24254,7 @@ const fP = {
24254
24254
  const d = {
24255
24255
  type: "Point",
24256
24256
  coordinates: r
24257
- }, p = new In({
24257
+ }, p = new En({
24258
24258
  geometry: d,
24259
24259
  style: s
24260
24260
  });
@@ -24286,7 +24286,7 @@ const fP = {
24286
24286
  const c = {
24287
24287
  type: "Point",
24288
24288
  coordinates: r[r.length - 1]
24289
- }, h = new In({
24289
+ }, h = new En({
24290
24290
  geometry: c,
24291
24291
  style: e.vertexStyle
24292
24292
  });
@@ -24301,7 +24301,7 @@ const fP = {
24301
24301
  s?._remove();
24302
24302
  r.draftAnchors = [];
24303
24303
  }
24304
- const i = Cn(
24304
+ const i = Gn(
24305
24305
  t.options.geometryStyle,
24306
24306
  { type: "basic-line", color: "#ff0000", width: 2 }
24307
24307
  );
@@ -24316,10 +24316,10 @@ const fP = {
24316
24316
  }, mP = {
24317
24317
  actions: ["click", "mousemove", "dblclick"],
24318
24318
  create(r, e) {
24319
- const t = e.drawTool, i = t._getOrCreateDraftLayer(), n = Cn(
24319
+ const t = e.drawTool, i = t._getOrCreateDraftLayer(), n = Gn(
24320
24320
  t.options.geometryStyle,
24321
24321
  { type: "basic-polygon", color: "#00ff00", opacity: 0.5 }
24322
- ), s = t.options.vertexStyle === null ? void 0 : Cn(
24322
+ ), s = t.options.vertexStyle === null ? void 0 : Gn(
24323
24323
  t.options.vertexStyle,
24324
24324
  { type: "basic-point", size: 8, color: "#00ffff" }
24325
24325
  ), a = [];
@@ -24327,7 +24327,7 @@ const fP = {
24327
24327
  const c = {
24328
24328
  type: "Point",
24329
24329
  coordinates: r
24330
- }, h = new In({
24330
+ }, h = new En({
24331
24331
  geometry: c,
24332
24332
  style: s
24333
24333
  });
@@ -24352,7 +24352,7 @@ const fP = {
24352
24352
  const p = {
24353
24353
  type: "Point",
24354
24354
  coordinates: r[r.length - 1]
24355
- }, f = new In({
24355
+ }, f = new En({
24356
24356
  geometry: p,
24357
24357
  style: e.vertexStyle
24358
24358
  });
@@ -24398,7 +24398,7 @@ const fP = {
24398
24398
  h?._remove();
24399
24399
  r.draftAnchors = [];
24400
24400
  }
24401
- const i = Cn(
24401
+ const i = Gn(
24402
24402
  t.options.geometryStyle,
24403
24403
  { type: "basic-polygon", color: "#00ff00", opacity: 0.5 }
24404
24404
  ), n = e.slice(), s = n[0], a = n[n.length - 1];
@@ -24414,7 +24414,7 @@ const fP = {
24414
24414
  Us.registerMode("point", fP);
24415
24415
  Us.registerMode("line", pP);
24416
24416
  Us.registerMode("polygon", mP);
24417
- function Cn(r, e) {
24417
+ function Gn(r, e) {
24418
24418
  return jt.create(r || e);
24419
24419
  }
24420
24420
  var gP = Object.defineProperty, yP = (r, e, t) => e in r ? gP(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, wi = (r, e, t) => yP(r, typeof e != "symbol" ? e + "" : e, t);
@@ -24538,7 +24538,7 @@ class cC extends Di {
24538
24538
  super(e), Ms(this, "dataType", "VectorTile"), Ms(this, "attribution", "ArcGIS"), Ms(this, "minLevel", 1), Ms(this, "maxLevel", 21), Ms(this, "url", "https://api.maptiler.com/tiles/v3/{z}/{x}/{y}.pbf?key=uKYsZQZpm72WlbSgH9B7"), Object.assign(this, e);
24539
24539
  }
24540
24540
  }
24541
- class hC extends Rn {
24541
+ class hC extends In {
24542
24542
  /**
24543
24543
  * Constructor.
24544
24544
  * 构造函数
@@ -24567,7 +24567,7 @@ class hC extends Rn {
24567
24567
  return e._baseType === "Line";
24568
24568
  }
24569
24569
  }
24570
- class uC extends Rn {
24570
+ class uC extends In {
24571
24571
  /**
24572
24572
  * Constructor.
24573
24573
  * 构造函数
@@ -24592,7 +24592,7 @@ class uC extends Rn {
24592
24592
  return e._baseType === "Point";
24593
24593
  }
24594
24594
  }
24595
- class dC extends Rn {
24595
+ class dC extends In {
24596
24596
  /**
24597
24597
  * Constructor.
24598
24598
  * 构造函数
@@ -24621,7 +24621,7 @@ class dC extends Rn {
24621
24621
  }
24622
24622
  }
24623
24623
  var CP = Object.defineProperty, GP = (r, e, t) => e in r ? CP(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, WP = (r, e, t) => GP(r, e + "", t);
24624
- class fC extends Rn {
24624
+ class fC extends In {
24625
24625
  /**
24626
24626
  * Constructor.
24627
24627
  * 构造函数
@@ -24824,14 +24824,20 @@ class pC extends Hs {
24824
24824
  * 开始或恢复播放
24825
24825
  */
24826
24826
  play() {
24827
- this._points.length < 2 || (this._state === "idle" && this._currentTime >= this._totalDuration && (this._currentTime = 0), this._state = "playing");
24827
+ if (!(this._points.length < 2) && (this._state === "idle" && this._currentTime >= this._totalDuration && (this._currentTime = 0), this._state = "playing", this._cameraMode !== "none")) {
24828
+ const e = this.getMap()?.viewer;
24829
+ e && (e.controls.enabled = !1);
24830
+ }
24828
24831
  }
24829
24832
  /**
24830
24833
  * Pause playback.
24831
24834
  * 暂停播放
24832
24835
  */
24833
24836
  pause() {
24834
- this._state === "playing" && (this._state = "paused");
24837
+ if (this._state === "playing" && (this._state = "paused", this._cameraMode !== "none")) {
24838
+ const e = this.getMap()?.viewer;
24839
+ e && (e.controls.enabled = this._prevControlsEnabled);
24840
+ }
24835
24841
  }
24836
24842
  /**
24837
24843
  * Stop playback and reset to start.
@@ -24972,7 +24978,7 @@ class pC extends Hs {
24972
24978
  } catch (t) {
24973
24979
  console.error("TrajectoryLayer: _buildControlPoints failed:", t);
24974
24980
  }
24975
- this._buildTimeLabels();
24981
+ this._buildTimeLabels(), this._updateTrailLine();
24976
24982
  }
24977
24983
  }
24978
24984
  /**
@@ -24987,14 +24993,14 @@ class pC extends Hs {
24987
24993
  });
24988
24994
  }
24989
24995
  /**
24990
- * Build the full trail line (static).
24991
- * 构建完整轨迹线(静态)
24996
+ * Build the trail line (dynamic — remaining path from current to end).
24997
+ * 构建轨迹线(动态 — 从当前位置到终点的剩余路径)
24992
24998
  */
24993
24999
  _buildTrailLine() {
24994
25000
  if (this._worldPoints.length < 2) return;
24995
- const e = this._options.trailStyle || {}, t = this._worldPoints.flatMap((a) => [a.x, a.y, a.z]), i = new hr();
24996
- i.setPositions(t);
24997
- const n = new fr({
25001
+ const e = this._options.trailStyle || {}, t = new Mn();
25002
+ t.setPositions([0, 0, 0, 0, 0, 0]);
25003
+ const i = new fr({
24998
25004
  color: new he(e.color ?? "#4a90d9").getHex(),
24999
25005
  linewidth: e.width ?? 2,
25000
25006
  transparent: !0,
@@ -25002,15 +25008,15 @@ class pC extends Hs {
25002
25008
  resolution: new ce(window.innerWidth, window.innerHeight),
25003
25009
  depthTest: !0,
25004
25010
  depthWrite: !0
25005
- }), s = () => n.resolution.set(window.innerWidth, window.innerHeight);
25006
- window.addEventListener("resize", s), n.__resizeHandler = s, this._trailLine = new pr(i, n), this._trailLine.computeLineDistances(), this._trailLine.position.copy(this.map.prjcenter), this.add(this._trailLine);
25011
+ }), n = () => i.resolution.set(window.innerWidth, window.innerHeight);
25012
+ window.addEventListener("resize", n), i.__resizeHandler = n, this._trailLine = new pr(t, i), this._trailLine.computeLineDistances(), this._trailLine.position.copy(this.map.prjcenter), this.add(this._trailLine);
25007
25013
  }
25008
25014
  /**
25009
25015
  * Build the active (traveled) trail line (dynamic).
25010
25016
  * 构建已走轨迹线(动态)
25011
25017
  */
25012
25018
  _buildActiveLine() {
25013
- const e = this._options.activeTrailStyle || {}, t = new hr();
25019
+ const e = this._options.activeTrailStyle || {}, t = new Mn();
25014
25020
  t.setPositions([0, 0, 0, 0, 0, 0]);
25015
25021
  const i = new fr({
25016
25022
  color: new he(e.color ?? "#ff4444").getHex(),
@@ -25039,7 +25045,7 @@ class pC extends Hs {
25039
25045
  );
25040
25046
  });
25041
25047
  i.colorSpace = Kr, i.needsUpdate = !0;
25042
- const n = e.size ?? 32, s = new Zn({
25048
+ const n = e.size ?? 32, s = new Rn({
25043
25049
  map: i,
25044
25050
  transparent: !0,
25045
25051
  sizeAttenuation: !1
@@ -25053,7 +25059,7 @@ class pC extends Hs {
25053
25059
  spriteScale: `(${a.scale.x}, ${a.scale.y}, ${a.scale.z})`
25054
25060
  });
25055
25061
  } else
25056
- this._marker = ir({
25062
+ this._marker = nr({
25057
25063
  color: e.color ?? "#ff0000",
25058
25064
  size: e.size ?? 16,
25059
25065
  sizeAttenuation: !1
@@ -25090,20 +25096,20 @@ class pC extends Hs {
25090
25096
  const d = e.anchor ?? [0.5, 0.5];
25091
25097
  c.center.set(d[0], d[1]), a = c;
25092
25098
  } else
25093
- console.warn("TrajectoryLayer: icon texture failed, fallback to basic point:", e.url), a = ir({
25099
+ console.warn("TrajectoryLayer: icon texture failed, fallback to basic point:", e.url), a = nr({
25094
25100
  type: "basic-point",
25095
25101
  color: e.color ?? "#00ff00",
25096
25102
  size: e.size ?? 12,
25097
25103
  sizeAttenuation: !1
25098
25104
  }, s);
25099
25105
  } catch (c) {
25100
- console.warn("TrajectoryLayer: _createIconPoint error, fallback to basic point:", c), a = ir({
25106
+ console.warn("TrajectoryLayer: _createIconPoint error, fallback to basic point:", c), a = nr({
25101
25107
  color: e.color ?? "#00ff00",
25102
25108
  size: e.size ?? 12,
25103
25109
  sizeAttenuation: !1
25104
25110
  }, s);
25105
25111
  }
25106
- else t === "gif" && e.url ? a = await this._createGifControlPoint(e.url, s, e.size ?? 32) : a = ir({
25112
+ else t === "gif" && e.url ? a = await this._createGifControlPoint(e.url, s, e.size ?? 32) : a = nr({
25107
25113
  color: e.color ?? "#00ff00",
25108
25114
  size: e.size ?? 12,
25109
25115
  sizeAttenuation: !1
@@ -25125,7 +25131,7 @@ class pC extends Hs {
25125
25131
  c.drawImage(s, 0, 0);
25126
25132
  const h = new gr(a);
25127
25133
  h.colorSpace = Kr, h.needsUpdate = !0;
25128
- const d = new Zn({
25134
+ const d = new Rn({
25129
25135
  map: h,
25130
25136
  transparent: !0,
25131
25137
  sizeAttenuation: !0
@@ -25140,7 +25146,7 @@ class pC extends Hs {
25140
25146
  loaded: !0
25141
25147
  }), n(p);
25142
25148
  }, s.onerror = () => {
25143
- const a = ir({
25149
+ const a = nr({
25144
25150
  color: "#ff0000",
25145
25151
  size: 12,
25146
25152
  sizeAttenuation: !0
@@ -25195,7 +25201,7 @@ class pC extends Hs {
25195
25201
  * 更新所有视觉元素以匹配当前时间
25196
25202
  */
25197
25203
  _updateVisuals() {
25198
- this._updateMarkerPosition(), this._updateActiveLine();
25204
+ this._updateMarkerPosition(), this._updateActiveLine(), this._updateTrailLine();
25199
25205
  }
25200
25206
  /**
25201
25207
  * Update marker position via interpolation.
@@ -25219,10 +25225,28 @@ class pC extends Hs {
25219
25225
  }
25220
25226
  const i = this._interpolatePosition(this._currentTime), n = t.length > 0 ? t[t.length - 3] : NaN, s = t.length > 0 ? t[t.length - 2] : NaN, a = t.length > 0 ? t[t.length - 1] : NaN;
25221
25227
  if ((i.x !== n || i.y !== s || i.z !== a) && t.push(i.x, i.y, i.z), t.length >= 6) {
25222
- const c = this._activeLine.geometry, h = new hr();
25228
+ const c = this._activeLine.geometry, h = new Mn();
25223
25229
  h.setPositions(t), this._activeLine.geometry = h, c.dispose(), this._activeLine.visible = !0;
25224
25230
  }
25225
25231
  }
25232
+ /**
25233
+ * Update the trail line (remaining path from current to end).
25234
+ * 更新轨迹线(从当前位置到终点的剩余路径)
25235
+ */
25236
+ _updateTrailLine() {
25237
+ if (!this._trailLine || this._worldPoints.length < 2) return;
25238
+ const e = this._interpolatePosition(this._currentTime), t = this._timestamps[0] + this._currentTime, i = [e.x, e.y, e.z];
25239
+ for (let n = 0; n < this._timestamps.length; n++) {
25240
+ if (this._timestamps[n] <= t) continue;
25241
+ const s = this._worldPoints[n];
25242
+ i.push(s.x, s.y, s.z);
25243
+ }
25244
+ if (i.length >= 6) {
25245
+ this._trailLine.visible = !0;
25246
+ const n = this._trailLine.geometry, s = new Mn();
25247
+ s.setPositions(i), this._trailLine.geometry = s, n.dispose(), this._trailLine.visible = !0;
25248
+ }
25249
+ }
25226
25250
  /**
25227
25251
  * Interpolate position at a given time offset.
25228
25252
  * 在给定时间偏移处插值位置
@@ -25460,7 +25484,7 @@ export {
25460
25484
  jr as Map,
25461
25485
  aC as MapBoxSource,
25462
25486
  cP as MapTool,
25463
- In as Marker,
25487
+ En as Marker,
25464
25488
  T2 as Martini,
25465
25489
  ZM as Model,
25466
25490
  SM as MultiLineString,
@@ -25473,7 +25497,7 @@ export {
25473
25497
  nC as TDTQMSource,
25474
25498
  iC as TDTSource,
25475
25499
  KM as TPoints,
25476
- ar as Tile,
25500
+ lr as Tile,
25477
25501
  JP as TileCanvasLoader,
25478
25502
  Vs as TileGeometry,
25479
25503
  bp as TileGeometryLoader,