@terra.gl/core 0.0.1-alpha.7 → 0.0.1-alpha.9
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.d.ts +66 -53
- package/dist/index.js +140 -139
- package/dist/index.umd.cjs +12 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@ var dv = Object.defineProperty;
|
|
|
2
2
|
var fv = (a, t, e) => t in a ? dv(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
|
|
3
3
|
var M = (a, t, e) => fv(a, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import * as It from "three";
|
|
5
|
-
import { REVISION as Ph, TrianglesDrawMode as pv, TriangleFanDrawMode as ka, TriangleStripDrawMode as Ch, Mesh as ut, Vector3 as J, Color as Le, FrontSide as $s, Plane as Eh, Matrix4 as Me, Vector4 as an, PerspectiveCamera as
|
|
6
|
-
const $v = "0.0.1-alpha.
|
|
5
|
+
import { REVISION as Ph, TrianglesDrawMode as pv, TriangleFanDrawMode as ka, TriangleStripDrawMode as Ch, Mesh as ut, Vector3 as J, Color as Le, FrontSide as $s, Plane as Eh, Matrix4 as Me, Vector4 as an, PerspectiveCamera as Ti, WebGLRenderTarget as mv, UniformsUtils as Ns, UniformsLib as Bs, ShaderMaterial as nl, MOUSE as Qn, TOUCH as qn, Spherical as Nu, Quaternion as tn, OrthographicCamera as Wr, Vector2 as Ie, Ray as gv, Loader as il, LoaderUtils as Ni, FileLoader as ni, MeshPhysicalMaterial as vn, SpotLight as Vh, PointLight as za, DirectionalLight as js, InstancedMesh as rl, InstancedBufferAttribute as Da, Object3D as rn, TextureLoader as eo, ImageBitmapLoader as yv, BufferAttribute as Yt, InterleavedBuffer as vv, InterleavedBufferAttribute as bi, LinearMipmapLinearFilter as sl, NearestMipmapLinearFilter as wv, LinearMipmapNearestFilter as xv, NearestMipmapNearestFilter as bv, LinearFilter as Js, NearestFilter as Ah, RepeatWrapping as Cn, MirroredRepeatWrapping as _v, ClampToEdgeWrapping as Oa, PointsMaterial as to, Material as ba, LineBasicMaterial as Xh, MeshStandardMaterial as Er, DoubleSide as ol, MeshBasicMaterial as mn, PropertyBinding as Pr, BufferGeometry as nn, SkinnedMesh as Fh, LineSegments as Tv, Line as kh, LineLoop as Lv, Points as Vr, Group as sn, MathUtils as ct, Skeleton as zh, AnimationClip as Dh, Bone as Ka, InterpolateDiscrete as Sv, InterpolateLinear as Oh, Texture as Qi, VectorKeyframeTrack as Ya, NumberKeyframeTrack as Ua, QuaternionKeyframeTrack as Ha, Interpolant as Mv, Box3 as Mi, Sphere as al, Curve as Gv, MeshPhongMaterial as _a, MeshLambertMaterial as Kh, EquirectangularReflectionMapping as Zv, AmbientLight as Yh, Float32BufferAttribute as $n, Uint16BufferAttribute as Wv, Matrix3 as Iv, Euler as Sr, DataTextureLoader as Rv, HalfFloatType as Ps, FloatType as Us, DataUtils as Cs, InstancedBufferGeometry as Uh, InstancedInterleavedBuffer as Na, WireframeGeometry as Pv, Line3 as Cv, EventDispatcher as Hh, Clock as ll, Scene as Ev, FogExp2 as Bu, CubeTextureLoader as Vv, WebGLRenderer as Av, PCFSoftShadowMap as Xv, ACESFilmicToneMapping as Fv, CameraHelper as kv, PlaneGeometry as Bi, Frustum as zv, Raycaster as cl, CanvasTexture as Ar, SpriteMaterial as Xr, Sprite as Gi, DynamicDrawUsage as ju, NormalBlending as Dv, BackSide as Ov, Shape as Kv, ShapeGeometry as Yv, CylinderGeometry as Uv, AdditiveBlending as Hv, AnimationMixer as Nv, LoopRepeat as Bv, LoopOnce as jv, LoadingManager as Jv, Box2 as Qv, ImageLoader as Nh, SRGBColorSpace as qv } from "three";
|
|
6
|
+
const $v = "0.0.1-alpha.8", Ta = {
|
|
7
7
|
name: "criska"
|
|
8
8
|
};
|
|
9
9
|
var Ir = function() {
|
|
@@ -337,7 +337,7 @@ try {
|
|
|
337
337
|
class pw extends ut {
|
|
338
338
|
constructor(t, e = {}) {
|
|
339
339
|
super(t), this.isWater = !0;
|
|
340
|
-
const n = this, i = e.textureWidth !== void 0 ? e.textureWidth : 512, s = e.textureHeight !== void 0 ? e.textureHeight : 512, l = e.clipBias !== void 0 ? e.clipBias : 0, c = e.alpha !== void 0 ? e.alpha : 1, u = e.time !== void 0 ? e.time : 0, d = e.waterNormals !== void 0 ? e.waterNormals : null, p = e.sunDirection !== void 0 ? e.sunDirection : new J(0.70707, 0.70707, 0), f = new Le(e.sunColor !== void 0 ? e.sunColor : 16777215), g = new Le(e.waterColor !== void 0 ? e.waterColor : 8355711), y = e.eye !== void 0 ? e.eye : new J(0, 0, 0), w = e.distortionScale !== void 0 ? e.distortionScale : 20, S = e.side !== void 0 ? e.side : $s, b = e.fog !== void 0 ? e.fog : !1, L = new Eh(), T = new J(), Z = new J(), E = new J(), z = new Me(), X = new J(0, 0, -1), k = new an(), P = new J(), D = new J(), I = new an(), A = new Me(), U = new
|
|
340
|
+
const n = this, i = e.textureWidth !== void 0 ? e.textureWidth : 512, s = e.textureHeight !== void 0 ? e.textureHeight : 512, l = e.clipBias !== void 0 ? e.clipBias : 0, c = e.alpha !== void 0 ? e.alpha : 1, u = e.time !== void 0 ? e.time : 0, d = e.waterNormals !== void 0 ? e.waterNormals : null, p = e.sunDirection !== void 0 ? e.sunDirection : new J(0.70707, 0.70707, 0), f = new Le(e.sunColor !== void 0 ? e.sunColor : 16777215), g = new Le(e.waterColor !== void 0 ? e.waterColor : 8355711), y = e.eye !== void 0 ? e.eye : new J(0, 0, 0), w = e.distortionScale !== void 0 ? e.distortionScale : 20, S = e.side !== void 0 ? e.side : $s, b = e.fog !== void 0 ? e.fog : !1, L = new Eh(), T = new J(), Z = new J(), E = new J(), z = new Me(), X = new J(0, 0, -1), k = new an(), P = new J(), D = new J(), I = new an(), A = new Me(), U = new Ti(), j = new mv(i, s), B = {
|
|
341
341
|
uniforms: Ns.merge([
|
|
342
342
|
Bs.fog,
|
|
343
343
|
Bs.lights,
|
|
@@ -572,28 +572,28 @@ class _w extends vw {
|
|
|
572
572
|
isFinite(Nt) && isFinite(Bt) && (Nt < -Math.PI ? Nt += Ht : Nt > Math.PI && (Nt -= Ht), Bt < -Math.PI ? Bt += Ht : Bt > Math.PI && (Bt -= Ht), Nt <= Bt ? p.theta = Math.max(Nt, Math.min(Bt, p.theta)) : p.theta = p.theta > (Nt + Bt) / 2 ? Math.max(Nt, p.theta) : Math.min(Bt, p.theta)), p.phi = Math.max(n.minPolarAngle, Math.min(n.maxPolarAngle, p.phi)), p.makeSafe(), n.enableDamping === !0 ? n.target.addScaledVector(y, n.dampingFactor) : n.target.add(y), n.zoomToCursor && D || n.object.isOrthographicCamera ? p.radius = ye(p.radius) : p.radius = ye(p.radius * g), V.setFromSpherical(p), V.applyQuaternion(Se), Kr.copy(n.target).add(V), n.object.matrixAutoUpdate || n.object.updateMatrix(), n.object.lookAt(n.target), n.enableDamping === !0 ? (f.theta *= 1 - n.dampingFactor, f.phi *= 1 - n.dampingFactor, y.multiplyScalar(1 - n.dampingFactor)) : (f.set(0, 0, 0), y.set(0, 0, 0));
|
|
573
573
|
let Fn = !1;
|
|
574
574
|
if (n.zoomToCursor && D) {
|
|
575
|
-
let
|
|
576
|
-
if (n.object instanceof
|
|
577
|
-
const
|
|
578
|
-
|
|
579
|
-
const Ii =
|
|
575
|
+
let li = null;
|
|
576
|
+
if (n.object instanceof Ti && n.object.isPerspectiveCamera) {
|
|
577
|
+
const ci = V.length();
|
|
578
|
+
li = ye(ci * g);
|
|
579
|
+
const Ii = ci - li;
|
|
580
580
|
n.object.position.addScaledVector(k, Ii), n.object.updateMatrixWorld();
|
|
581
581
|
} else if (n.object.isOrthographicCamera) {
|
|
582
|
-
const
|
|
583
|
-
|
|
582
|
+
const ci = new J(P.x, P.y, 0);
|
|
583
|
+
ci.unproject(n.object), n.object.zoom = Math.max(n.minZoom, Math.min(n.maxZoom, n.object.zoom / g)), n.object.updateProjectionMatrix(), Fn = !0;
|
|
584
584
|
const Ii = new J(P.x, P.y, 0);
|
|
585
|
-
Ii.unproject(n.object), n.object.position.sub(Ii).add(
|
|
585
|
+
Ii.unproject(n.object), n.object.position.sub(Ii).add(ci), n.object.updateMatrixWorld(), li = V.length();
|
|
586
586
|
} else
|
|
587
587
|
console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."), n.zoomToCursor = !1;
|
|
588
|
-
|
|
588
|
+
li !== null && (n.screenSpacePanning ? n.target.set(0, 0, -1).transformDirection(n.object.matrix).multiplyScalar(li).add(n.object.position) : (Es.origin.copy(n.object.position), Es.direction.set(0, 0, -1).transformDirection(n.object.matrix), Math.abs(n.object.up.dot(Es.direction)) < bw ? t.lookAt(n.target) : (Qu.setFromNormalAndCoplanarPoint(n.object.up, n.target), Es.intersectPlane(Qu, n.target))));
|
|
589
589
|
} else n.object instanceof Wr && n.object.isOrthographicCamera && (Fn = g !== 1, Fn && (n.object.zoom = Math.max(n.minZoom, Math.min(n.maxZoom, n.object.zoom / g)), n.object.updateProjectionMatrix()));
|
|
590
590
|
return g = 1, D = !1, Fn || Ye.distanceToSquared(n.object.position) > d || 8 * (1 - Ct.dot(n.object.quaternion)) > d ? (n.dispatchEvent(i), Ye.copy(n.object.position), Ct.copy(n.object.quaternion), Fn = !1, !0) : !1;
|
|
591
591
|
};
|
|
592
592
|
})(), this.connect = (V) => {
|
|
593
|
-
n.domElement = V, n.domElement.style.touchAction = "none", n.domElement.addEventListener("contextmenu", Zi), n.domElement.addEventListener("pointerdown", Vn), n.domElement.addEventListener("pointercancel",
|
|
593
|
+
n.domElement = V, n.domElement.style.touchAction = "none", n.domElement.addEventListener("contextmenu", Zi), n.domElement.addEventListener("pointerdown", Vn), n.domElement.addEventListener("pointercancel", si), n.domElement.addEventListener("wheel", Xn);
|
|
594
594
|
}, this.dispose = () => {
|
|
595
595
|
var V, Q, ce, Se, Ye, Ct;
|
|
596
|
-
n.domElement && (n.domElement.style.touchAction = "auto"), (V = n.domElement) == null || V.removeEventListener("contextmenu", Zi), (Q = n.domElement) == null || Q.removeEventListener("pointerdown", Vn), (ce = n.domElement) == null || ce.removeEventListener("pointercancel",
|
|
596
|
+
n.domElement && (n.domElement.style.touchAction = "auto"), (V = n.domElement) == null || V.removeEventListener("contextmenu", Zi), (Q = n.domElement) == null || Q.removeEventListener("pointerdown", Vn), (ce = n.domElement) == null || ce.removeEventListener("pointercancel", si), (Se = n.domElement) == null || Se.removeEventListener("wheel", Xn), (Ye = n.domElement) == null || Ye.ownerDocument.removeEventListener("pointermove", An), (Ct = n.domElement) == null || Ct.ownerDocument.removeEventListener("pointerup", si), n._domElementKeyEvents !== null && n._domElementKeyEvents.removeEventListener("keydown", ln);
|
|
597
597
|
};
|
|
598
598
|
const n = this, i = { type: "change" }, s = { type: "start" }, l = { type: "end" }, c = {
|
|
599
599
|
NONE: -1,
|
|
@@ -637,7 +637,7 @@ class _w extends vw {
|
|
|
637
637
|
const V = new J();
|
|
638
638
|
return function(ce, Se) {
|
|
639
639
|
const Ye = n.domElement;
|
|
640
|
-
if (Ye && n.object instanceof
|
|
640
|
+
if (Ye && n.object instanceof Ti && n.object.isPerspectiveCamera) {
|
|
641
641
|
const Ct = n.object.position;
|
|
642
642
|
V.copy(Ct).sub(n.target);
|
|
643
643
|
let Ht = V.length();
|
|
@@ -652,7 +652,7 @@ class _w extends vw {
|
|
|
652
652
|
};
|
|
653
653
|
})();
|
|
654
654
|
function ee(V) {
|
|
655
|
-
n.object instanceof
|
|
655
|
+
n.object instanceof Ti && n.object.isPerspectiveCamera || n.object instanceof Wr && n.object.isOrthographicCamera ? g = V : (console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."), n.enableZoom = !1);
|
|
656
656
|
}
|
|
657
657
|
function pe(V) {
|
|
658
658
|
ee(g / V);
|
|
@@ -741,7 +741,7 @@ class _w extends vw {
|
|
|
741
741
|
if (I.length == 1)
|
|
742
742
|
S.set(V.pageX, V.pageY);
|
|
743
743
|
else {
|
|
744
|
-
const ce =
|
|
744
|
+
const ce = ai(V), Se = 0.5 * (V.pageX + ce.x), Ye = 0.5 * (V.pageY + ce.y);
|
|
745
745
|
S.set(Se, Ye);
|
|
746
746
|
}
|
|
747
747
|
b.subVectors(S, w).multiplyScalar(n.rotateSpeed);
|
|
@@ -752,16 +752,16 @@ class _w extends vw {
|
|
|
752
752
|
if (I.length == 1)
|
|
753
753
|
T.set(V.pageX, V.pageY);
|
|
754
754
|
else {
|
|
755
|
-
const Q =
|
|
755
|
+
const Q = ai(V), ce = 0.5 * (V.pageX + Q.x), Se = 0.5 * (V.pageY + Q.y);
|
|
756
756
|
T.set(ce, Se);
|
|
757
757
|
}
|
|
758
758
|
Z.subVectors(T, L).multiplyScalar(n.panSpeed), ie(Z.x, Z.y), L.copy(T);
|
|
759
759
|
}
|
|
760
760
|
function Or(V) {
|
|
761
|
-
const Q =
|
|
761
|
+
const Q = ai(V), ce = V.pageX - Q.x, Se = V.pageY - Q.y, Ye = Math.sqrt(ce * ce + Se * Se);
|
|
762
762
|
z.set(0, Ye), X.set(0, Math.pow(z.y / E.y, n.zoomSpeed)), pe(X.y), E.copy(z);
|
|
763
763
|
}
|
|
764
|
-
function
|
|
764
|
+
function ri(V) {
|
|
765
765
|
n.enableZoom && Or(V), n.enablePan && $i(V);
|
|
766
766
|
}
|
|
767
767
|
function Tt(V) {
|
|
@@ -769,16 +769,16 @@ class _w extends vw {
|
|
|
769
769
|
}
|
|
770
770
|
function Vn(V) {
|
|
771
771
|
var Q, ce;
|
|
772
|
-
n.enabled !== !1 && (I.length === 0 && ((Q = n.domElement) == null || Q.ownerDocument.addEventListener("pointermove", An), (ce = n.domElement) == null || ce.ownerDocument.addEventListener("pointerup",
|
|
772
|
+
n.enabled !== !1 && (I.length === 0 && ((Q = n.domElement) == null || Q.ownerDocument.addEventListener("pointermove", An), (ce = n.domElement) == null || ce.ownerDocument.addEventListener("pointerup", si)), nr(V), V.pointerType === "touch" ? er(V) : oi(V));
|
|
773
773
|
}
|
|
774
774
|
function An(V) {
|
|
775
775
|
n.enabled !== !1 && (V.pointerType === "touch" ? tr(V) : ao(V));
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function si(V) {
|
|
778
778
|
var Q, ce, Se;
|
|
779
|
-
ir(V), I.length === 0 && ((Q = n.domElement) == null || Q.releasePointerCapture(V.pointerId), (ce = n.domElement) == null || ce.ownerDocument.removeEventListener("pointermove", An), (Se = n.domElement) == null || Se.ownerDocument.removeEventListener("pointerup",
|
|
779
|
+
ir(V), I.length === 0 && ((Q = n.domElement) == null || Q.releasePointerCapture(V.pointerId), (ce = n.domElement) == null || ce.ownerDocument.removeEventListener("pointermove", An), (Se = n.domElement) == null || Se.ownerDocument.removeEventListener("pointerup", si)), n.dispatchEvent(l), u = c.NONE;
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function oi(V) {
|
|
782
782
|
let Q;
|
|
783
783
|
switch (V.button) {
|
|
784
784
|
case 0:
|
|
@@ -906,7 +906,7 @@ class _w extends vw {
|
|
|
906
906
|
case c.TOUCH_DOLLY_PAN:
|
|
907
907
|
if (n.enableZoom === !1 && n.enablePan === !1)
|
|
908
908
|
return;
|
|
909
|
-
|
|
909
|
+
ri(V), n.update();
|
|
910
910
|
break;
|
|
911
911
|
case c.TOUCH_DOLLY_ROTATE:
|
|
912
912
|
if (n.enableZoom === !1 && n.enableRotate === !1)
|
|
@@ -935,7 +935,7 @@ class _w extends vw {
|
|
|
935
935
|
let Q = A[V.pointerId];
|
|
936
936
|
Q === void 0 && (Q = new Ie(), A[V.pointerId] = Q), Q.set(V.pageX, V.pageY);
|
|
937
937
|
}
|
|
938
|
-
function
|
|
938
|
+
function ai(V) {
|
|
939
939
|
const Q = V.pointerId === I[0].pointerId ? I[1] : I[0];
|
|
940
940
|
return A[Q.pointerId];
|
|
941
941
|
}
|
|
@@ -965,7 +965,7 @@ function qi(a) {
|
|
|
965
965
|
return t;
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
|
-
const
|
|
968
|
+
const _i = "srgb", Pn = "srgb-linear", $u = 3001, Lw = 3e3;
|
|
969
969
|
class Sw extends il {
|
|
970
970
|
constructor(t) {
|
|
971
971
|
super(t), this.dracoLoader = null, this.ktx2Loader = null, this.meshoptDecoder = null, this.pluginCallbacks = [], this.register(function(e) {
|
|
@@ -1224,7 +1224,7 @@ class Zw {
|
|
|
1224
1224
|
const l = s.baseColorFactor;
|
|
1225
1225
|
t.color.setRGB(l[0], l[1], l[2], Pn), t.opacity = l[3];
|
|
1226
1226
|
}
|
|
1227
|
-
s.baseColorTexture !== void 0 && i.push(n.assignTexture(t, "map", s.baseColorTexture,
|
|
1227
|
+
s.baseColorTexture !== void 0 && i.push(n.assignTexture(t, "map", s.baseColorTexture, _i));
|
|
1228
1228
|
}
|
|
1229
1229
|
return Promise.all(i);
|
|
1230
1230
|
}
|
|
@@ -1314,7 +1314,7 @@ class Cw {
|
|
|
1314
1314
|
const c = l.sheenColorFactor;
|
|
1315
1315
|
e.sheenColor.setRGB(c[0], c[1], c[2], Pn);
|
|
1316
1316
|
}
|
|
1317
|
-
return l.sheenRoughnessFactor !== void 0 && (e.sheenRoughness = l.sheenRoughnessFactor), l.sheenColorTexture !== void 0 && s.push(n.assignTexture(e, "sheenColorMap", l.sheenColorTexture,
|
|
1317
|
+
return l.sheenRoughnessFactor !== void 0 && (e.sheenRoughness = l.sheenRoughnessFactor), l.sheenColorTexture !== void 0 && s.push(n.assignTexture(e, "sheenColorMap", l.sheenColorTexture, _i)), l.sheenRoughnessTexture !== void 0 && s.push(n.assignTexture(e, "sheenRoughnessMap", l.sheenRoughnessTexture)), Promise.all(s);
|
|
1318
1318
|
}
|
|
1319
1319
|
}
|
|
1320
1320
|
class Ew {
|
|
@@ -1388,7 +1388,7 @@ class Xw {
|
|
|
1388
1388
|
e.specularIntensity = l.specularFactor !== void 0 ? l.specularFactor : 1, l.specularTexture !== void 0 && s.push(n.assignTexture(e, "specularIntensityMap", l.specularTexture));
|
|
1389
1389
|
const c = l.specularColorFactor || [1, 1, 1];
|
|
1390
1390
|
return e.specularColor = new Le().setRGB(c[0], c[1], c[2], Pn), l.specularColorTexture !== void 0 && s.push(
|
|
1391
|
-
n.assignTexture(e, "specularColorMap", l.specularColorTexture,
|
|
1391
|
+
n.assignTexture(e, "specularColorMap", l.specularColorTexture, _i)
|
|
1392
1392
|
), Promise.all(s);
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
@@ -1760,7 +1760,7 @@ function qw(a) {
|
|
|
1760
1760
|
side: $s
|
|
1761
1761
|
})), a.DefaultMaterial;
|
|
1762
1762
|
}
|
|
1763
|
-
function
|
|
1763
|
+
function wi(a, t, e) {
|
|
1764
1764
|
for (const n in e.extensions)
|
|
1765
1765
|
a[n] === void 0 && (t.userData.gltfExtensions = t.userData.gltfExtensions || {}, t.userData.gltfExtensions[n] = e.extensions[n]);
|
|
1766
1766
|
}
|
|
@@ -1884,7 +1884,7 @@ class rx {
|
|
|
1884
1884
|
parser: n,
|
|
1885
1885
|
userData: {}
|
|
1886
1886
|
};
|
|
1887
|
-
return
|
|
1887
|
+
return wi(s, c, i), In(c, i), Promise.all(
|
|
1888
1888
|
n._invokeAll(function(u) {
|
|
1889
1889
|
return u.afterRoot && u.afterRoot(c);
|
|
1890
1890
|
})
|
|
@@ -2086,7 +2086,7 @@ class rx {
|
|
|
2086
2086
|
if (y && y !== f) {
|
|
2087
2087
|
const L = Math.floor(g / y), T = "InterleavedBuffer:" + i.bufferView + ":" + i.componentType + ":" + L + ":" + i.count;
|
|
2088
2088
|
let Z = e.cache.get(T);
|
|
2089
|
-
Z || (S = new d(c, L * y, i.count * y / p), Z = new vv(S, y / p), e.cache.add(T, Z)), b = new
|
|
2089
|
+
Z || (S = new d(c, L * y, i.count * y / p), Z = new vv(S, y / p), e.cache.add(T, Z)), b = new bi(
|
|
2090
2090
|
Z,
|
|
2091
2091
|
u,
|
|
2092
2092
|
g % y / p,
|
|
@@ -2189,7 +2189,7 @@ class rx {
|
|
|
2189
2189
|
l = s.extensions[be.KHR_TEXTURE_TRANSFORM].extendTexture(l, c), s.associations.set(l, u);
|
|
2190
2190
|
}
|
|
2191
2191
|
}
|
|
2192
|
-
return i !== void 0 && (typeof i == "number" && (i = i === $u ?
|
|
2192
|
+
return i !== void 0 && (typeof i == "number" && (i = i === $u ? _i : Pn), "colorSpace" in l ? l.colorSpace = i : l.encoding = i === _i ? $u : Lw), t[e] = l, l;
|
|
2193
2193
|
});
|
|
2194
2194
|
}
|
|
2195
2195
|
/**
|
|
@@ -2242,7 +2242,7 @@ class rx {
|
|
|
2242
2242
|
const g = f.baseColorFactor;
|
|
2243
2243
|
c.color.setRGB(g[0], g[1], g[2], Pn), c.opacity = g[3];
|
|
2244
2244
|
}
|
|
2245
|
-
f.baseColorTexture !== void 0 && d.push(e.assignTexture(c, "map", f.baseColorTexture,
|
|
2245
|
+
f.baseColorTexture !== void 0 && d.push(e.assignTexture(c, "map", f.baseColorTexture, _i)), c.metalness = f.metallicFactor !== void 0 ? f.metallicFactor : 1, c.roughness = f.roughnessFactor !== void 0 ? f.roughnessFactor : 1, f.metallicRoughnessTexture !== void 0 && (d.push(e.assignTexture(c, "metalnessMap", f.metallicRoughnessTexture)), d.push(e.assignTexture(c, "roughnessMap", f.metallicRoughnessTexture))), l = this._invokeOne(function(g) {
|
|
2246
2246
|
return g.getMaterialType && g.getMaterialType(t);
|
|
2247
2247
|
}), d.push(
|
|
2248
2248
|
Promise.all(
|
|
@@ -2267,9 +2267,9 @@ class rx {
|
|
|
2267
2267
|
Pn
|
|
2268
2268
|
);
|
|
2269
2269
|
}
|
|
2270
|
-
return s.emissiveTexture !== void 0 && l !== mn && d.push(e.assignTexture(c, "emissiveMap", s.emissiveTexture,
|
|
2270
|
+
return s.emissiveTexture !== void 0 && l !== mn && d.push(e.assignTexture(c, "emissiveMap", s.emissiveTexture, _i)), Promise.all(d).then(function() {
|
|
2271
2271
|
const f = new l(c);
|
|
2272
|
-
return s.name && (f.name = s.name), In(f, s), e.associations.set(f, { materials: t }), s.extensions &&
|
|
2272
|
+
return s.name && (f.name = s.name), In(f, s), e.associations.set(f, { materials: t }), s.extensions && wi(i, f, s), f;
|
|
2273
2273
|
});
|
|
2274
2274
|
}
|
|
2275
2275
|
/** When Object3D instances are targeted by animation, they need unique names. */
|
|
@@ -2333,7 +2333,7 @@ class rx {
|
|
|
2333
2333
|
L = new Vr(S, T);
|
|
2334
2334
|
else
|
|
2335
2335
|
throw new Error("THREE.GLTFLoader: Primitive mode unsupported: " + b.mode);
|
|
2336
|
-
Object.keys(L.geometry.morphAttributes).length > 0 && ex(L, s), L.name = e.createUniqueName(s.name || "mesh_" + t), In(L, s), b.extensions &&
|
|
2336
|
+
Object.keys(L.geometry.morphAttributes).length > 0 && ex(L, s), L.name = e.createUniqueName(s.name || "mesh_" + t), In(L, s), b.extensions && wi(i, L, b), e.assignFinalMaterial(L), f.push(L);
|
|
2337
2337
|
}
|
|
2338
2338
|
for (let y = 0, w = f.length; y < w; y++)
|
|
2339
2339
|
e.associations.set(f[y], {
|
|
@@ -2341,9 +2341,9 @@ class rx {
|
|
|
2341
2341
|
primitives: y
|
|
2342
2342
|
});
|
|
2343
2343
|
if (f.length === 1)
|
|
2344
|
-
return s.extensions &&
|
|
2344
|
+
return s.extensions && wi(i, f[0], s), f[0];
|
|
2345
2345
|
const g = new sn();
|
|
2346
|
-
s.extensions &&
|
|
2346
|
+
s.extensions && wi(i, g, s), e.associations.set(g, { meshes: t });
|
|
2347
2347
|
for (let y = 0, w = f.length; y < w; y++)
|
|
2348
2348
|
g.add(f[y]);
|
|
2349
2349
|
return g;
|
|
@@ -2361,7 +2361,7 @@ class rx {
|
|
|
2361
2361
|
console.warn("THREE.GLTFLoader: Missing camera parameters.");
|
|
2362
2362
|
return;
|
|
2363
2363
|
}
|
|
2364
|
-
return n.type === "perspective" ? e = new
|
|
2364
|
+
return n.type === "perspective" ? e = new Ti(
|
|
2365
2365
|
ct.radToDeg(i.yfov),
|
|
2366
2366
|
i.aspectRatio || 1,
|
|
2367
2367
|
i.znear || 1,
|
|
@@ -2476,7 +2476,7 @@ class rx {
|
|
|
2476
2476
|
if (s.isBone === !0 ? p = new Ka() : d.length > 1 ? p = new sn() : d.length === 1 ? p = d[0] : p = new rn(), p !== d[0])
|
|
2477
2477
|
for (let f = 0, g = d.length; f < g; f++)
|
|
2478
2478
|
p.add(d[f]);
|
|
2479
|
-
if (s.name && (p.userData.name = s.name, p.name = l), In(p, s), s.extensions &&
|
|
2479
|
+
if (s.name && (p.userData.name = s.name, p.name = l), In(p, s), s.extensions && wi(n, p, s), s.matrix !== void 0) {
|
|
2480
2480
|
const f = new Me();
|
|
2481
2481
|
f.fromArray(s.matrix), p.applyMatrix4(f);
|
|
2482
2482
|
} else
|
|
@@ -2491,7 +2491,7 @@ class rx {
|
|
|
2491
2491
|
*/
|
|
2492
2492
|
loadScene(t) {
|
|
2493
2493
|
const e = this.extensions, n = this.json.scenes[t], i = this, s = new sn();
|
|
2494
|
-
n.name && (s.name = i.createUniqueName(n.name)), In(s, n), n.extensions &&
|
|
2494
|
+
n.name && (s.name = i.createUniqueName(n.name)), In(s, n), n.extensions && wi(e, s, n);
|
|
2495
2495
|
const l = n.nodes || [], c = [];
|
|
2496
2496
|
for (let u = 0, d = l.length; u < d; u++)
|
|
2497
2497
|
c.push(i.getDependency("node", l[u]));
|
|
@@ -3181,7 +3181,7 @@ class px {
|
|
|
3181
3181
|
const f = n.FocalLength ? n.FocalLength.value : null;
|
|
3182
3182
|
switch (i) {
|
|
3183
3183
|
case 0:
|
|
3184
|
-
e = new
|
|
3184
|
+
e = new Ti(p, d, s, l), f !== null && e.setFocalLength(f);
|
|
3185
3185
|
break;
|
|
3186
3186
|
case 1:
|
|
3187
3187
|
e = new Wr(
|
|
@@ -4674,13 +4674,13 @@ class ad extends Uh {
|
|
|
4674
4674
|
let e;
|
|
4675
4675
|
t instanceof Float32Array ? e = t : Array.isArray(t) && (e = new Float32Array(t));
|
|
4676
4676
|
const n = new Na(e, 6, 1);
|
|
4677
|
-
return this.setAttribute("instanceStart", new
|
|
4677
|
+
return this.setAttribute("instanceStart", new bi(n, 3, 0)), this.setAttribute("instanceEnd", new bi(n, 3, 3)), this.computeBoundingBox(), this.computeBoundingSphere(), this;
|
|
4678
4678
|
}
|
|
4679
4679
|
setColors(t, e = 3) {
|
|
4680
4680
|
let n;
|
|
4681
4681
|
t instanceof Float32Array ? n = t : Array.isArray(t) && (n = new Float32Array(t));
|
|
4682
4682
|
const i = new Na(n, e * 2, 1);
|
|
4683
|
-
return this.setAttribute("instanceColorStart", new
|
|
4683
|
+
return this.setAttribute("instanceColorStart", new bi(i, e, 0)), this.setAttribute("instanceColorEnd", new bi(i, e, e)), this;
|
|
4684
4684
|
}
|
|
4685
4685
|
fromWireframeGeometry(t) {
|
|
4686
4686
|
return this.setPositions(t.attributes.position.array), this;
|
|
@@ -5290,16 +5290,16 @@ class kr extends nl {
|
|
|
5290
5290
|
}
|
|
5291
5291
|
}
|
|
5292
5292
|
const Pa = /* @__PURE__ */ new an(), ch = /* @__PURE__ */ new J(), uh = /* @__PURE__ */ new J(), tt = /* @__PURE__ */ new an(), nt = /* @__PURE__ */ new an(), dn = /* @__PURE__ */ new an(), Ca = /* @__PURE__ */ new J(), Ea = /* @__PURE__ */ new Me(), rt = /* @__PURE__ */ new Cv(), hh = /* @__PURE__ */ new J(), Xs = /* @__PURE__ */ new Mi(), Fs = /* @__PURE__ */ new al(), fn = /* @__PURE__ */ new an();
|
|
5293
|
-
let pn,
|
|
5293
|
+
let pn, Li;
|
|
5294
5294
|
function dh(a, t, e) {
|
|
5295
|
-
return fn.set(0, 0, -t, 1).applyMatrix4(a.projectionMatrix), fn.multiplyScalar(1 / fn.w), fn.x =
|
|
5295
|
+
return fn.set(0, 0, -t, 1).applyMatrix4(a.projectionMatrix), fn.multiplyScalar(1 / fn.w), fn.x = Li / e.width, fn.y = Li / e.height, fn.applyMatrix4(a.projectionMatrixInverse), fn.multiplyScalar(1 / fn.w), Math.abs(Math.max(fn.x, fn.y));
|
|
5296
5296
|
}
|
|
5297
5297
|
function Zx(a, t) {
|
|
5298
5298
|
const e = a.matrixWorld, n = a.geometry, i = n.attributes.instanceStart, s = n.attributes.instanceEnd, l = Math.min(n.instanceCount, i.count);
|
|
5299
5299
|
for (let c = 0, u = l; c < u; c++) {
|
|
5300
5300
|
rt.start.fromBufferAttribute(i, c), rt.end.fromBufferAttribute(s, c), rt.applyMatrix4(e);
|
|
5301
5301
|
const d = new J(), p = new J();
|
|
5302
|
-
pn.distanceSqToSegment(rt.start, rt.end, p, d), p.distanceTo(d) <
|
|
5302
|
+
pn.distanceSqToSegment(rt.start, rt.end, p, d), p.distanceTo(d) < Li * 0.5 && t.push({
|
|
5303
5303
|
point: p,
|
|
5304
5304
|
pointOnLine: d,
|
|
5305
5305
|
distance: pn.origin.distanceTo(p),
|
|
@@ -5327,7 +5327,7 @@ function Wx(a, t, e) {
|
|
|
5327
5327
|
tt.applyMatrix4(n), nt.applyMatrix4(n), tt.multiplyScalar(1 / tt.w), nt.multiplyScalar(1 / nt.w), tt.x *= s.x / 2, tt.y *= s.y / 2, nt.x *= s.x / 2, nt.y *= s.y / 2, rt.start.copy(tt), rt.start.z = 0, rt.end.copy(nt), rt.end.z = 0;
|
|
5328
5328
|
const S = rt.closestPointToPointParameter(Ca, !0);
|
|
5329
5329
|
rt.at(S, hh);
|
|
5330
|
-
const b = ct.lerp(tt.z, nt.z, S), L = b >= -1 && b <= 1, T = Ca.distanceTo(hh) <
|
|
5330
|
+
const b = ct.lerp(tt.z, nt.z, S), L = b >= -1 && b <= 1, T = Ca.distanceTo(hh) < Li * 0.5;
|
|
5331
5331
|
if (L && T) {
|
|
5332
5332
|
rt.start.fromBufferAttribute(u, g), rt.end.fromBufferAttribute(d, g), rt.start.applyMatrix4(l), rt.end.applyMatrix4(l);
|
|
5333
5333
|
const Z = new J(), E = new J();
|
|
@@ -5354,7 +5354,7 @@ class Ix extends ut {
|
|
|
5354
5354
|
for (let l = 0, c = 0, u = e.count; l < u; l++, c += 2)
|
|
5355
5355
|
ch.fromBufferAttribute(e, l), uh.fromBufferAttribute(n, l), i[c] = c === 0 ? 0 : i[c - 1], i[c + 1] = i[c] + ch.distanceTo(uh);
|
|
5356
5356
|
const s = new Na(i, 2, 1);
|
|
5357
|
-
return t.setAttribute("instanceDistanceStart", new
|
|
5357
|
+
return t.setAttribute("instanceDistanceStart", new bi(s, 1, 0)), t.setAttribute("instanceDistanceEnd", new bi(s, 1, 1)), this;
|
|
5358
5358
|
}
|
|
5359
5359
|
raycast(t, e) {
|
|
5360
5360
|
const n = this.material.worldUnits, i = t.camera;
|
|
@@ -5364,10 +5364,10 @@ class Ix extends ut {
|
|
|
5364
5364
|
const s = t.params.Line2 !== void 0 && t.params.Line2.threshold || 0;
|
|
5365
5365
|
pn = t.ray;
|
|
5366
5366
|
const l = this.matrixWorld, c = this.geometry, u = this.material;
|
|
5367
|
-
|
|
5367
|
+
Li = u.linewidth + s, c.boundingSphere === null && c.computeBoundingSphere(), Fs.copy(c.boundingSphere).applyMatrix4(l);
|
|
5368
5368
|
let d;
|
|
5369
5369
|
if (n)
|
|
5370
|
-
d =
|
|
5370
|
+
d = Li * 0.5;
|
|
5371
5371
|
else {
|
|
5372
5372
|
const f = Math.max(i.near, Fs.distanceToPoint(pn.origin));
|
|
5373
5373
|
d = dh(i, f, u.resolution);
|
|
@@ -5377,7 +5377,7 @@ class Ix extends ut {
|
|
|
5377
5377
|
c.boundingBox === null && c.computeBoundingBox(), Xs.copy(c.boundingBox).applyMatrix4(l);
|
|
5378
5378
|
let p;
|
|
5379
5379
|
if (n)
|
|
5380
|
-
p =
|
|
5380
|
+
p = Li * 0.5;
|
|
5381
5381
|
else {
|
|
5382
5382
|
const f = Math.max(i.near, Xs.distanceToPoint(pn.origin));
|
|
5383
5383
|
p = dh(i, f, u.resolution);
|
|
@@ -5980,7 +5980,7 @@ class Ex extends Hh {
|
|
|
5980
5980
|
* @returns 相机对象
|
|
5981
5981
|
*/
|
|
5982
5982
|
_createCamera() {
|
|
5983
|
-
return new
|
|
5983
|
+
return new Ti(45, this.getAspect(), 0.1, this._sceneSize * 2);
|
|
5984
5984
|
}
|
|
5985
5985
|
/**
|
|
5986
5986
|
* 创建地图控制器
|
|
@@ -6203,7 +6203,7 @@ function kx(a, t, e, n) {
|
|
|
6203
6203
|
}
|
|
6204
6204
|
return i;
|
|
6205
6205
|
}
|
|
6206
|
-
const zx = 10, Dx = new Uh(), Ox = new J(), Kx = new Me(), Yx = new Mi(new J(-0.5, -0.5, 0), new J(0.5, 0.5, 1)), ph = new zv(),
|
|
6206
|
+
const zx = 10, Dx = new Uh(), Ox = new J(), Kx = new Me(), Yx = new Mi(new J(-0.5, -0.5, 0), new J(0.5, 0.5, 1)), ph = new zv(), xi = class xi extends ut {
|
|
6207
6207
|
/**
|
|
6208
6208
|
* Constructor for the Tile class.
|
|
6209
6209
|
* @param x - Tile X-coordinate, default: 0.
|
|
@@ -6262,7 +6262,7 @@ const zx = 10, Dx = new Uh(), Ox = new J(), Kx = new Me(), Yx = new Mi(new J(-0.
|
|
|
6262
6262
|
* Number of download threads.
|
|
6263
6263
|
*/
|
|
6264
6264
|
static get downloadThreads() {
|
|
6265
|
-
return
|
|
6265
|
+
return xi._downloadThreads;
|
|
6266
6266
|
}
|
|
6267
6267
|
get isDummy() {
|
|
6268
6268
|
return this._isDummy;
|
|
@@ -6358,7 +6358,7 @@ const zx = 10, Dx = new Uh(), Ox = new J(), Kx = new Me(), Yx = new Mi(new J(-0.
|
|
|
6358
6358
|
* @returns this
|
|
6359
6359
|
*/
|
|
6360
6360
|
LOD(e) {
|
|
6361
|
-
if (
|
|
6361
|
+
if (xi.downloadThreads > zx)
|
|
6362
6362
|
return { action: Gr.none };
|
|
6363
6363
|
let n = [];
|
|
6364
6364
|
const { loader: i, minLevel: s, maxLevel: l, LODThreshold: c } = e, u = Fx(this, s, l, c);
|
|
@@ -6382,7 +6382,7 @@ const zx = 10, Dx = new Uh(), Ox = new J(), Kx = new Me(), Yx = new Mi(new J(-0.
|
|
|
6382
6382
|
* @returns this
|
|
6383
6383
|
*/
|
|
6384
6384
|
async _load(e) {
|
|
6385
|
-
|
|
6385
|
+
xi._downloadThreads++;
|
|
6386
6386
|
const { x: n, y: i, z: s } = this;
|
|
6387
6387
|
if (this._dataOnlyMode)
|
|
6388
6388
|
try {
|
|
@@ -6409,7 +6409,7 @@ const zx = 10, Dx = new Uh(), Ox = new J(), Kx = new Me(), Yx = new Mi(new J(-0.
|
|
|
6409
6409
|
});
|
|
6410
6410
|
this.material = l.materials, this.geometry = l.geometry, this.maxZ = this.geometry.boundingBox?.max.z || 0, this._loaded = !0;
|
|
6411
6411
|
}
|
|
6412
|
-
return
|
|
6412
|
+
return xi._downloadThreads--, this;
|
|
6413
6413
|
}
|
|
6414
6414
|
/** New tile init */
|
|
6415
6415
|
_init() {
|
|
@@ -6480,8 +6480,8 @@ const zx = 10, Dx = new Uh(), Ox = new J(), Kx = new Me(), Yx = new Mi(new J(-0.
|
|
|
6480
6480
|
return e && this.isTile && !this.isDummy && (this.dispatchEvent({ type: "unload" }), n?.unload?.(this)), this.children.forEach((i) => i._unLoad(!0, n)), this.clear(), this;
|
|
6481
6481
|
}
|
|
6482
6482
|
};
|
|
6483
|
-
M(
|
|
6484
|
-
let Rn =
|
|
6483
|
+
M(xi, "_downloadThreads", 0);
|
|
6484
|
+
let Rn = xi;
|
|
6485
6485
|
class ud {
|
|
6486
6486
|
/**
|
|
6487
6487
|
* 构造函数
|
|
@@ -8611,7 +8611,7 @@ function wb(a, t, e) {
|
|
|
8611
8611
|
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, mb(n);
|
|
8612
8612
|
}
|
|
8613
8613
|
var wd = /* @__PURE__ */ ((a) => (a.POINT = "point", a.LINE_VERTEX = "line_vertex", a.POLYGON_CENTER = "polygon_center", a.LABEL = "label", a.ICON = "icon", a.CLUSTER = "cluster", a))(wd || {}), gn = /* @__PURE__ */ ((a) => (a.NO_COLLISION = "no_collision", a.PRIORITY_LOST = "priority_lost", a.OUT_OF_VIEWPORT = "out_of_viewport", a.ZOOM_FILTERED = "zoom_filtered", a.MANUAL_HIDDEN = "manual_hidden", a.GROUP_COLLISION = "group_collision", a))(gn || {});
|
|
8614
|
-
class
|
|
8614
|
+
class ii extends ml(
|
|
8615
8615
|
ro(
|
|
8616
8616
|
so(rn)
|
|
8617
8617
|
)
|
|
@@ -9087,7 +9087,7 @@ class Si extends oo {
|
|
|
9087
9087
|
addFeature(e) {
|
|
9088
9088
|
const n = Array.isArray(e) ? e : [e];
|
|
9089
9089
|
for (const i of n)
|
|
9090
|
-
if (!(!i || !(i instanceof
|
|
9090
|
+
if (!(!i || !(i instanceof ii)) && !i.getLayer()) {
|
|
9091
9091
|
if (!this.validateFeature(i)) {
|
|
9092
9092
|
console.error(`Feature ${i.id} does not match the layer's type requirements`);
|
|
9093
9093
|
continue;
|
|
@@ -9134,7 +9134,7 @@ class Si extends oo {
|
|
|
9134
9134
|
if (!Array.isArray(e))
|
|
9135
9135
|
return this.removeFeature([e]);
|
|
9136
9136
|
for (let n = e.length - 1; n >= 0; n--)
|
|
9137
|
-
e[n] instanceof
|
|
9137
|
+
e[n] instanceof ii || (e[n] = this.removeFeature(e[n])), !(!e[n] || this !== e[n].getLayer()) && e[n]._remove();
|
|
9138
9138
|
return this;
|
|
9139
9139
|
}
|
|
9140
9140
|
/**
|
|
@@ -10149,7 +10149,7 @@ class Db {
|
|
|
10149
10149
|
const t = [];
|
|
10150
10150
|
return this._layers.forEach((e) => {
|
|
10151
10151
|
const n = e.getFeatures().filter(
|
|
10152
|
-
(i) => i.collidable && i instanceof
|
|
10152
|
+
(i) => i.collidable && i instanceof ii
|
|
10153
10153
|
);
|
|
10154
10154
|
if (t.length + n.length > this._config.maxFeaturesPerFrame) {
|
|
10155
10155
|
console.warn(`达到每帧最大要素处理限制: ${this._config.maxFeaturesPerFrame}`);
|
|
@@ -10224,7 +10224,7 @@ Qs.exports;
|
|
|
10224
10224
|
["partial", z],
|
|
10225
10225
|
["partialRight", X],
|
|
10226
10226
|
["rearg", P]
|
|
10227
|
-
], Ue = "[object Arguments]", je = "[object Array]", Je = "[object AsyncFunction]", Qe = "[object Boolean]", ht = "[object Date]", yt = "[object DOMException]", He = "[object Error]", xn = "[object Function]", En = "[object GeneratorFunction]", Ae = "[object Map]", Ut = "[object Number]", Rt = "[object Null]", Pt = "[object Object]", $i = "[object Promise]", Or = "[object Proxy]",
|
|
10227
|
+
], Ue = "[object Arguments]", je = "[object Array]", Je = "[object AsyncFunction]", Qe = "[object Boolean]", ht = "[object Date]", yt = "[object DOMException]", He = "[object Error]", xn = "[object Function]", En = "[object GeneratorFunction]", Ae = "[object Map]", Ut = "[object Number]", Rt = "[object Null]", Pt = "[object Object]", $i = "[object Promise]", Or = "[object Proxy]", ri = "[object RegExp]", Tt = "[object Set]", Vn = "[object String]", An = "[object Symbol]", si = "[object Undefined]", oi = "[object WeakMap]", ao = "[object WeakSet]", Xn = "[object ArrayBuffer]", ln = "[object DataView]", er = "[object Float32Array]", tr = "[object Float64Array]", Zi = "[object Int8Array]", nr = "[object Int16Array]", ir = "[object Int32Array]", Wi = "[object Uint8Array]", ai = "[object Uint8ClampedArray]", V = "[object Uint16Array]", Q = "[object Uint32Array]", ce = /\b__p \+= '';/g, Se = /\b(__p \+=) '' \+/g, Ye = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Ct = /&(?:amp|lt|gt|quot|#39);/g, Ht = /[&<>"']/g, xl = RegExp(Ct.source), Kr = RegExp(Ht.source), Nt = /<%-([\s\S]+?)%>/g, Bt = /<%([\s\S]+?)%>/g, Fn = /<%=([\s\S]+?)%>/g, li = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ci = /^\w*$/, Ii = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, lo = /[\\^$.*+?()[\]{}|]/g, Od = RegExp(lo.source), co = /^\s+/, Kd = /\s/, Yd = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Ud = /\{\n\/\* \[wrapped with (.+)\] \*/, Hd = /,? & /, Nd = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Bd = /[()=,{}\[\]\/\s]/, jd = /\\(\\)?/g, Jd = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, bl = /\w*$/, Qd = /^[-+]0x[0-9a-f]+$/i, qd = /^0b[01]+$/i, $d = /^\[object .+?Constructor\]$/, ef = /^0o[0-7]+$/i, tf = /^(?:0|[1-9]\d*)$/, nf = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Yr = /($^)/, rf = /['\n\r\u2028\u2029\\]/g, Ur = "\\ud800-\\udfff", sf = "\\u0300-\\u036f", of = "\\ufe20-\\ufe2f", af = "\\u20d0-\\u20ff", _l = sf + of + af, Tl = "\\u2700-\\u27bf", Ll = "a-z\\xdf-\\xf6\\xf8-\\xff", lf = "\\xac\\xb1\\xd7\\xf7", cf = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", uf = "\\u2000-\\u206f", hf = " \\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", Sl = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ml = "\\ufe0e\\ufe0f", Gl = lf + cf + uf + hf, uo = "['’]", df = "[" + Ur + "]", Zl = "[" + Gl + "]", Hr = "[" + _l + "]", Wl = "\\d+", ff = "[" + Tl + "]", Il = "[" + Ll + "]", Rl = "[^" + Ur + Gl + Wl + Tl + Ll + Sl + "]", ho = "\\ud83c[\\udffb-\\udfff]", pf = "(?:" + Hr + "|" + ho + ")", Pl = "[^" + Ur + "]", fo = "(?:\\ud83c[\\udde6-\\uddff]){2}", po = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ri = "[" + Sl + "]", Cl = "\\u200d", El = "(?:" + Il + "|" + Rl + ")", mf = "(?:" + Ri + "|" + Rl + ")", Vl = "(?:" + uo + "(?:d|ll|m|re|s|t|ve))?", Al = "(?:" + uo + "(?:D|LL|M|RE|S|T|VE))?", Xl = pf + "?", Fl = "[" + Ml + "]?", gf = "(?:" + Cl + "(?:" + [Pl, fo, po].join("|") + ")" + Fl + Xl + ")*", yf = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", vf = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", kl = Fl + Xl + gf, wf = "(?:" + [ff, fo, po].join("|") + ")" + kl, xf = "(?:" + [Pl + Hr + "?", Hr, fo, po, df].join("|") + ")", bf = RegExp(uo, "g"), _f = RegExp(Hr, "g"), mo = RegExp(ho + "(?=" + ho + ")|" + xf + kl, "g"), Tf = RegExp([
|
|
10228
10228
|
Ri + "?" + Il + "+" + Vl + "(?=" + [Zl, Ri, "$"].join("|") + ")",
|
|
10229
10229
|
mf + "+" + Al + "(?=" + [Zl, Ri + El, "$"].join("|") + ")",
|
|
10230
10230
|
Ri + "?" + El + "+" + Vl,
|
|
@@ -10265,9 +10265,9 @@ Qs.exports;
|
|
|
10265
10265
|
"parseInt",
|
|
10266
10266
|
"setTimeout"
|
|
10267
10267
|
], Gf = -1, Ce = {};
|
|
10268
|
-
Ce[er] = Ce[tr] = Ce[Zi] = Ce[nr] = Ce[ir] = Ce[Wi] = Ce[
|
|
10268
|
+
Ce[er] = Ce[tr] = Ce[Zi] = Ce[nr] = Ce[ir] = Ce[Wi] = Ce[ai] = Ce[V] = Ce[Q] = !0, Ce[Ue] = Ce[je] = Ce[Xn] = Ce[Qe] = Ce[ln] = Ce[ht] = Ce[He] = Ce[xn] = Ce[Ae] = Ce[Ut] = Ce[Pt] = Ce[ri] = Ce[Tt] = Ce[Vn] = Ce[oi] = !1;
|
|
10269
10269
|
var Pe = {};
|
|
10270
|
-
Pe[Ue] = Pe[je] = Pe[Xn] = Pe[ln] = Pe[Qe] = Pe[ht] = Pe[er] = Pe[tr] = Pe[Zi] = Pe[nr] = Pe[ir] = Pe[Ae] = Pe[Ut] = Pe[Pt] = Pe[
|
|
10270
|
+
Pe[Ue] = Pe[je] = Pe[Xn] = Pe[ln] = Pe[Qe] = Pe[ht] = Pe[er] = Pe[tr] = Pe[Zi] = Pe[nr] = Pe[ir] = Pe[Ae] = Pe[Ut] = Pe[Pt] = Pe[ri] = Pe[Tt] = Pe[Vn] = Pe[An] = Pe[Wi] = Pe[ai] = Pe[V] = Pe[Q] = !0, Pe[He] = Pe[xn] = Pe[oi] = !1;
|
|
10271
10271
|
var Zf = {
|
|
10272
10272
|
// Latin-1 Supplement block.
|
|
10273
10273
|
À: "A",
|
|
@@ -10480,9 +10480,9 @@ Qs.exports;
|
|
|
10480
10480
|
"\r": "r",
|
|
10481
10481
|
"\u2028": "u2028",
|
|
10482
10482
|
"\u2029": "u2029"
|
|
10483
|
-
}, Pf = parseFloat, Cf = parseInt, zl = typeof Tr == "object" && Tr && Tr.Object === Object && Tr, Ef = typeof self == "object" && self && self.Object === Object && self, $e = zl || Ef || Function("return this")(), go = t && !t.nodeType && t,
|
|
10483
|
+
}, Pf = parseFloat, Cf = parseInt, zl = typeof Tr == "object" && Tr && Tr.Object === Object && Tr, Ef = typeof self == "object" && self && self.Object === Object && self, $e = zl || Ef || Function("return this")(), go = t && !t.nodeType && t, ui = go && !0 && a && !a.nodeType && a, Dl = ui && ui.exports === go, yo = Dl && zl.process, Et = function() {
|
|
10484
10484
|
try {
|
|
10485
|
-
var R =
|
|
10485
|
+
var R = ui && ui.require && ui.require("util").types;
|
|
10486
10486
|
return R || yo && yo.binding && yo.binding("util");
|
|
10487
10487
|
} catch {
|
|
10488
10488
|
}
|
|
@@ -10763,13 +10763,13 @@ Qs.exports;
|
|
|
10763
10763
|
return r ? "Symbol(src)_1." + r : "";
|
|
10764
10764
|
}(), $r = Ai.toString, lp = qr.call(Re), cp = $e._, up = Go(
|
|
10765
10765
|
"^" + qr.call(We).replace(lo, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
10766
|
-
), es = Dl ? O.Buffer : e, On = O.Symbol, ts = O.Uint8Array, sc = es ? es.allocUnsafe : e, ns = nc(Re.getPrototypeOf, Re), oc = Re.create, ac = Ai.propertyIsEnumerable, is = Jr.splice, lc = On ? On.isConcatSpreadable : e, sr = On ? On.iterator : e,
|
|
10766
|
+
), es = Dl ? O.Buffer : e, On = O.Symbol, ts = O.Uint8Array, sc = es ? es.allocUnsafe : e, ns = nc(Re.getPrototypeOf, Re), oc = Re.create, ac = Ai.propertyIsEnumerable, is = Jr.splice, lc = On ? On.isConcatSpreadable : e, sr = On ? On.iterator : e, hi = On ? On.toStringTag : e, rs = function() {
|
|
10767
10767
|
try {
|
|
10768
|
-
var r =
|
|
10768
|
+
var r = gi(Re, "defineProperty");
|
|
10769
10769
|
return r({}, "", {}), r;
|
|
10770
10770
|
} catch {
|
|
10771
10771
|
}
|
|
10772
|
-
}(), hp = O.clearTimeout !== $e.clearTimeout && O.clearTimeout, dp = te && te.now !== $e.Date.now && te.now, fp = O.setTimeout !== $e.setTimeout && O.setTimeout, ss = Ne.ceil, os = Ne.floor, Zo = Re.getOwnPropertySymbols, pp = es ? es.isBuffer : e, cc = O.isFinite, mp = Jr.join, gp = nc(Re.keys, Re), Be = Ne.max, st = Ne.min, yp = te.now, vp = O.parseInt, uc = Ne.random, wp = Jr.reverse, Wo =
|
|
10772
|
+
}(), hp = O.clearTimeout !== $e.clearTimeout && O.clearTimeout, dp = te && te.now !== $e.Date.now && te.now, fp = O.setTimeout !== $e.setTimeout && O.setTimeout, ss = Ne.ceil, os = Ne.floor, Zo = Re.getOwnPropertySymbols, pp = es ? es.isBuffer : e, cc = O.isFinite, mp = Jr.join, gp = nc(Re.keys, Re), Be = Ne.max, st = Ne.min, yp = te.now, vp = O.parseInt, uc = Ne.random, wp = Jr.reverse, Wo = gi(O, "DataView"), or = gi(O, "Map"), Io = gi(O, "Promise"), Xi = gi(O, "Set"), ar = gi(O, "WeakMap"), lr = gi(Re, "create"), as = ar && new ar(), Fi = {}, xp = yi(Wo), bp = yi(or), _p = yi(Io), Tp = yi(Xi), Lp = yi(ar), ls = On ? On.prototype : e, cr = ls ? ls.valueOf : e, hc = ls ? ls.toString : e;
|
|
10773
10773
|
function x(r) {
|
|
10774
10774
|
if (ke(r) && !de(r) && !(r instanceof _e)) {
|
|
10775
10775
|
if (r instanceof Xt)
|
|
@@ -10880,7 +10880,7 @@ Qs.exports;
|
|
|
10880
10880
|
return ae;
|
|
10881
10881
|
}
|
|
10882
10882
|
_e.prototype = ki(cs.prototype), _e.prototype.constructor = _e;
|
|
10883
|
-
function
|
|
10883
|
+
function di(r) {
|
|
10884
10884
|
var o = -1, h = r == null ? 0 : r.length;
|
|
10885
10885
|
for (this.clear(); ++o < h; ) {
|
|
10886
10886
|
var m = r[o];
|
|
@@ -10910,7 +10910,7 @@ Qs.exports;
|
|
|
10910
10910
|
var h = this.__data__;
|
|
10911
10911
|
return this.size += this.has(r) ? 0 : 1, h[r] = lr && o === e ? u : o, this;
|
|
10912
10912
|
}
|
|
10913
|
-
|
|
10913
|
+
di.prototype.clear = Zp, di.prototype.delete = Wp, di.prototype.get = Ip, di.prototype.has = Rp, di.prototype.set = Pp;
|
|
10914
10914
|
function bn(r) {
|
|
10915
10915
|
var o = -1, h = r == null ? 0 : r.length;
|
|
10916
10916
|
for (this.clear(); ++o < h; ) {
|
|
@@ -10949,9 +10949,9 @@ Qs.exports;
|
|
|
10949
10949
|
}
|
|
10950
10950
|
function Fp() {
|
|
10951
10951
|
this.size = 0, this.__data__ = {
|
|
10952
|
-
hash: new
|
|
10952
|
+
hash: new di(),
|
|
10953
10953
|
map: new (or || bn)(),
|
|
10954
|
-
string: new
|
|
10954
|
+
string: new di()
|
|
10955
10955
|
};
|
|
10956
10956
|
}
|
|
10957
10957
|
function kp(r) {
|
|
@@ -10969,7 +10969,7 @@ Qs.exports;
|
|
|
10969
10969
|
return h.set(r, o), this.size += h.size == m ? 0 : 1, this;
|
|
10970
10970
|
}
|
|
10971
10971
|
_n.prototype.clear = Fp, _n.prototype.delete = kp, _n.prototype.get = zp, _n.prototype.has = Dp, _n.prototype.set = Op;
|
|
10972
|
-
function
|
|
10972
|
+
function fi(r) {
|
|
10973
10973
|
var o = -1, h = r == null ? 0 : r.length;
|
|
10974
10974
|
for (this.__data__ = new _n(); ++o < h; )
|
|
10975
10975
|
this.add(r[o]);
|
|
@@ -10980,7 +10980,7 @@ Qs.exports;
|
|
|
10980
10980
|
function Yp(r) {
|
|
10981
10981
|
return this.__data__.has(r);
|
|
10982
10982
|
}
|
|
10983
|
-
|
|
10983
|
+
fi.prototype.add = fi.prototype.push = Kp, fi.prototype.has = Yp;
|
|
10984
10984
|
function Jt(r) {
|
|
10985
10985
|
var o = this.__data__ = new bn(r);
|
|
10986
10986
|
this.size = o.size;
|
|
@@ -11010,7 +11010,7 @@ Qs.exports;
|
|
|
11010
11010
|
}
|
|
11011
11011
|
Jt.prototype.clear = Up, Jt.prototype.delete = Hp, Jt.prototype.get = Np, Jt.prototype.has = Bp, Jt.prototype.set = jp;
|
|
11012
11012
|
function dc(r, o) {
|
|
11013
|
-
var h = de(r), m = !h &&
|
|
11013
|
+
var h = de(r), m = !h && vi(r), v = !h && !m && Nn(r), _ = !h && !m && !v && Ki(r), G = h || m || v || _, W = G ? Lo(r.length, sp) : [], C = W.length;
|
|
11014
11014
|
for (var K in r)
|
|
11015
11015
|
(o || We.call(r, K)) && !(G && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
11016
11016
|
(K == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -11024,7 +11024,7 @@ Qs.exports;
|
|
|
11024
11024
|
return o ? r[Do(0, o - 1)] : e;
|
|
11025
11025
|
}
|
|
11026
11026
|
function Jp(r, o) {
|
|
11027
|
-
return Ts(vt(r),
|
|
11027
|
+
return Ts(vt(r), pi(o, 0, r.length));
|
|
11028
11028
|
}
|
|
11029
11029
|
function Qp(r) {
|
|
11030
11030
|
return Ts(vt(r));
|
|
@@ -11066,7 +11066,7 @@ Qs.exports;
|
|
|
11066
11066
|
v[h] = _ ? e : da(r, o[h]);
|
|
11067
11067
|
return v;
|
|
11068
11068
|
}
|
|
11069
|
-
function
|
|
11069
|
+
function pi(r, o, h) {
|
|
11070
11070
|
return r === r && (h !== e && (r = r <= h ? r : h), o !== e && (r = r >= o ? r : o)), r;
|
|
11071
11071
|
}
|
|
11072
11072
|
function Ft(r, o, h, m, v, _) {
|
|
@@ -11134,7 +11134,7 @@ Qs.exports;
|
|
|
11134
11134
|
var v = -1, _ = Nr, G = !0, W = r.length, C = [], K = o.length;
|
|
11135
11135
|
if (!W)
|
|
11136
11136
|
return C;
|
|
11137
|
-
h && (o = Ve(o, St(h))), m ? (_ = vo, G = !1) : o.length >= i && (_ = rr, G = !1, o = new
|
|
11137
|
+
h && (o = Ve(o, St(h))), m ? (_ = vo, G = !1) : o.length >= i && (_ = rr, G = !1, o = new fi(o));
|
|
11138
11138
|
e:
|
|
11139
11139
|
for (; ++v < W; ) {
|
|
11140
11140
|
var Y = r[v], H = h == null ? Y : h(Y);
|
|
@@ -11194,7 +11194,7 @@ Qs.exports;
|
|
|
11194
11194
|
return Gn(r[h]);
|
|
11195
11195
|
});
|
|
11196
11196
|
}
|
|
11197
|
-
function
|
|
11197
|
+
function mi(r, o) {
|
|
11198
11198
|
o = Un(o, r);
|
|
11199
11199
|
for (var h = 0, m = o.length; r != null && h < m; )
|
|
11200
11200
|
r = r[hn(o[h++])];
|
|
@@ -11205,7 +11205,7 @@ Qs.exports;
|
|
|
11205
11205
|
return de(r) ? m : zn(m, h(r));
|
|
11206
11206
|
}
|
|
11207
11207
|
function dt(r) {
|
|
11208
|
-
return r == null ? r === e ?
|
|
11208
|
+
return r == null ? r === e ? si : Rt : hi && hi in Re(r) ? Fm(r) : Qm(r);
|
|
11209
11209
|
}
|
|
11210
11210
|
function Vo(r, o) {
|
|
11211
11211
|
return r > o;
|
|
@@ -11222,7 +11222,7 @@ Qs.exports;
|
|
|
11222
11222
|
function Ao(r, o, h) {
|
|
11223
11223
|
for (var m = h ? vo : Nr, v = r[0].length, _ = r.length, G = _, W = F(_), C = 1 / 0, K = []; G--; ) {
|
|
11224
11224
|
var Y = r[G];
|
|
11225
|
-
G && o && (Y = Ve(Y, St(o))), C = st(Y.length, C), W[G] = !h && (o || v >= 120 && Y.length >= 120) ? new
|
|
11225
|
+
G && o && (Y = Ve(Y, St(o))), C = st(Y.length, C), W[G] = !h && (o || v >= 120 && Y.length >= 120) ? new fi(G && Y) : e;
|
|
11226
11226
|
}
|
|
11227
11227
|
Y = r[0];
|
|
11228
11228
|
var H = -1, $ = W[0];
|
|
@@ -11314,10 +11314,10 @@ Qs.exports;
|
|
|
11314
11314
|
if (!Xe(r) || Hm(r))
|
|
11315
11315
|
return !1;
|
|
11316
11316
|
var o = Gn(r) ? up : $d;
|
|
11317
|
-
return o.test(
|
|
11317
|
+
return o.test(yi(r));
|
|
11318
11318
|
}
|
|
11319
11319
|
function hm(r) {
|
|
11320
|
-
return ke(r) && dt(r) ==
|
|
11320
|
+
return ke(r) && dt(r) == ri;
|
|
11321
11321
|
}
|
|
11322
11322
|
function dm(r) {
|
|
11323
11323
|
return ke(r) && ot(r) == Tt;
|
|
@@ -11384,7 +11384,7 @@ Qs.exports;
|
|
|
11384
11384
|
var Y = _ ? _(W, C, h + "", r, o, G) : e, H = Y === e;
|
|
11385
11385
|
if (H) {
|
|
11386
11386
|
var $ = de(C), ne = !$ && Nn(C), ae = !$ && !ne && Ki(C);
|
|
11387
|
-
Y = C, $ || ne || ae ? de(W) ? Y = W : ze(W) ? Y = vt(W) : ne ? (H = !1, Y = Fc(C, !0)) : ae ? (H = !1, Y = kc(C, !0)) : Y = [] : vr(C) ||
|
|
11387
|
+
Y = C, $ || ne || ae ? de(W) ? Y = W : ze(W) ? Y = vt(W) : ne ? (H = !1, Y = Fc(C, !0)) : ae ? (H = !1, Y = kc(C, !0)) : Y = [] : vr(C) || vi(C) ? (Y = W, vi(W) ? Y = Vu(W) : (!Xe(W) || Gn(W)) && (Y = iu(C))) : H = !1;
|
|
11388
11388
|
}
|
|
11389
11389
|
H && (G.set(C, Y), v(Y, C, m, _, G), G.delete(C)), Ro(r, h, Y);
|
|
11390
11390
|
}
|
|
@@ -11396,7 +11396,7 @@ Qs.exports;
|
|
|
11396
11396
|
function Zc(r, o, h) {
|
|
11397
11397
|
o.length ? o = Ve(o, function(_) {
|
|
11398
11398
|
return de(_) ? function(G) {
|
|
11399
|
-
return
|
|
11399
|
+
return mi(G, _.length === 1 ? _[0] : _);
|
|
11400
11400
|
} : _;
|
|
11401
11401
|
}) : o = [bt];
|
|
11402
11402
|
var m = -1;
|
|
@@ -11418,14 +11418,14 @@ Qs.exports;
|
|
|
11418
11418
|
}
|
|
11419
11419
|
function Wc(r, o, h) {
|
|
11420
11420
|
for (var m = -1, v = o.length, _ = {}; ++m < v; ) {
|
|
11421
|
-
var G = o[m], W =
|
|
11421
|
+
var G = o[m], W = mi(r, G);
|
|
11422
11422
|
h(W, G) && pr(_, Un(G, r), W);
|
|
11423
11423
|
}
|
|
11424
11424
|
return _;
|
|
11425
11425
|
}
|
|
11426
11426
|
function ym(r) {
|
|
11427
11427
|
return function(o) {
|
|
11428
|
-
return
|
|
11428
|
+
return mi(o, r);
|
|
11429
11429
|
};
|
|
11430
11430
|
}
|
|
11431
11431
|
function zo(r, o, h, m) {
|
|
@@ -11470,7 +11470,7 @@ Qs.exports;
|
|
|
11470
11470
|
}
|
|
11471
11471
|
function xm(r, o) {
|
|
11472
11472
|
var h = Yi(r);
|
|
11473
|
-
return Ts(h,
|
|
11473
|
+
return Ts(h, pi(o, 0, h.length));
|
|
11474
11474
|
}
|
|
11475
11475
|
function pr(r, o, h, m) {
|
|
11476
11476
|
if (!Xe(r))
|
|
@@ -11570,7 +11570,7 @@ Qs.exports;
|
|
|
11570
11570
|
var K = o ? null : Em(r);
|
|
11571
11571
|
if (K)
|
|
11572
11572
|
return jr(K);
|
|
11573
|
-
G = !1, v = rr, C = new
|
|
11573
|
+
G = !1, v = rr, C = new fi();
|
|
11574
11574
|
} else
|
|
11575
11575
|
C = o ? [] : W;
|
|
11576
11576
|
e:
|
|
@@ -11589,7 +11589,7 @@ Qs.exports;
|
|
|
11589
11589
|
return o = Un(o, r), r = au(r, o), r == null || delete r[hn(zt(o))];
|
|
11590
11590
|
}
|
|
11591
11591
|
function Ec(r, o, h, m) {
|
|
11592
|
-
return pr(r, o, h(
|
|
11592
|
+
return pr(r, o, h(mi(r, o)), m);
|
|
11593
11593
|
}
|
|
11594
11594
|
function ms(r, o, h, m) {
|
|
11595
11595
|
for (var v = r.length, _ = m ? v : -1; (m ? _-- : ++_ < v) && o(r[_], _, r); )
|
|
@@ -12028,7 +12028,7 @@ Qs.exports;
|
|
|
12028
12028
|
var K = _.get(r), Y = _.get(o);
|
|
12029
12029
|
if (K && Y)
|
|
12030
12030
|
return K == o && Y == r;
|
|
12031
|
-
var H = -1, $ = !0, ne = h & S ? new
|
|
12031
|
+
var H = -1, $ = !0, ne = h & S ? new fi() : e;
|
|
12032
12032
|
for (_.set(r, o), _.set(o, r); ++H < W; ) {
|
|
12033
12033
|
var ae = r[H], me = o[H];
|
|
12034
12034
|
if (m)
|
|
@@ -12068,7 +12068,7 @@ Qs.exports;
|
|
|
12068
12068
|
return Qt(+r, +o);
|
|
12069
12069
|
case He:
|
|
12070
12070
|
return r.name == o.name && r.message == o.message;
|
|
12071
|
-
case
|
|
12071
|
+
case ri:
|
|
12072
12072
|
case Vn:
|
|
12073
12073
|
return r == o + "";
|
|
12074
12074
|
case Ae:
|
|
@@ -12159,19 +12159,19 @@ Qs.exports;
|
|
|
12159
12159
|
}
|
|
12160
12160
|
return o;
|
|
12161
12161
|
}
|
|
12162
|
-
function
|
|
12162
|
+
function gi(r, o) {
|
|
12163
12163
|
var h = Bf(r, o);
|
|
12164
12164
|
return _c(h) ? h : e;
|
|
12165
12165
|
}
|
|
12166
12166
|
function Fm(r) {
|
|
12167
|
-
var o = We.call(r,
|
|
12167
|
+
var o = We.call(r, hi), h = r[hi];
|
|
12168
12168
|
try {
|
|
12169
|
-
r[
|
|
12169
|
+
r[hi] = e;
|
|
12170
12170
|
var m = !0;
|
|
12171
12171
|
} catch {
|
|
12172
12172
|
}
|
|
12173
12173
|
var v = $r.call(r);
|
|
12174
|
-
return m && (o ? r[
|
|
12174
|
+
return m && (o ? r[hi] = h : delete r[hi]), v;
|
|
12175
12175
|
}
|
|
12176
12176
|
var ta = Zo ? function(r) {
|
|
12177
12177
|
return r == null ? [] : (r = Re(r), kn(Zo(r), function(o) {
|
|
@@ -12182,8 +12182,8 @@ Qs.exports;
|
|
|
12182
12182
|
zn(o, ta(r)), r = ns(r);
|
|
12183
12183
|
return o;
|
|
12184
12184
|
} : wa, ot = dt;
|
|
12185
|
-
(Wo && ot(new Wo(new ArrayBuffer(1))) != ln || or && ot(new or()) != Ae || Io && ot(Io.resolve()) != $i || Xi && ot(new Xi()) != Tt || ar && ot(new ar()) !=
|
|
12186
|
-
var o = dt(r), h = o == Pt ? r.constructor : e, m = h ?
|
|
12185
|
+
(Wo && ot(new Wo(new ArrayBuffer(1))) != ln || or && ot(new or()) != Ae || Io && ot(Io.resolve()) != $i || Xi && ot(new Xi()) != Tt || ar && ot(new ar()) != oi) && (ot = function(r) {
|
|
12186
|
+
var o = dt(r), h = o == Pt ? r.constructor : e, m = h ? yi(h) : "";
|
|
12187
12187
|
if (m)
|
|
12188
12188
|
switch (m) {
|
|
12189
12189
|
case xp:
|
|
@@ -12195,7 +12195,7 @@ Qs.exports;
|
|
|
12195
12195
|
case Tp:
|
|
12196
12196
|
return Tt;
|
|
12197
12197
|
case Lp:
|
|
12198
|
-
return
|
|
12198
|
+
return oi;
|
|
12199
12199
|
}
|
|
12200
12200
|
return o;
|
|
12201
12201
|
});
|
|
@@ -12231,7 +12231,7 @@ Qs.exports;
|
|
|
12231
12231
|
break;
|
|
12232
12232
|
r = r[G];
|
|
12233
12233
|
}
|
|
12234
|
-
return _ || ++m != v ? _ : (v = r == null ? 0 : r.length, !!v && Ws(v) && Mn(G, v) && (de(r) ||
|
|
12234
|
+
return _ || ++m != v ? _ : (v = r == null ? 0 : r.length, !!v && Ws(v) && Mn(G, v) && (de(r) || vi(r)));
|
|
12235
12235
|
}
|
|
12236
12236
|
function Dm(r) {
|
|
12237
12237
|
var o = r.length, h = new r.constructor(o);
|
|
@@ -12256,7 +12256,7 @@ Qs.exports;
|
|
|
12256
12256
|
case nr:
|
|
12257
12257
|
case ir:
|
|
12258
12258
|
case Wi:
|
|
12259
|
-
case
|
|
12259
|
+
case ai:
|
|
12260
12260
|
case V:
|
|
12261
12261
|
case Q:
|
|
12262
12262
|
return kc(r, h);
|
|
@@ -12265,7 +12265,7 @@ Qs.exports;
|
|
|
12265
12265
|
case Ut:
|
|
12266
12266
|
case Vn:
|
|
12267
12267
|
return new m(r);
|
|
12268
|
-
case
|
|
12268
|
+
case ri:
|
|
12269
12269
|
return Mm(r);
|
|
12270
12270
|
case Tt:
|
|
12271
12271
|
return new m();
|
|
@@ -12283,7 +12283,7 @@ Qs.exports;
|
|
|
12283
12283
|
`);
|
|
12284
12284
|
}
|
|
12285
12285
|
function Ym(r) {
|
|
12286
|
-
return de(r) ||
|
|
12286
|
+
return de(r) || vi(r) || !!(lc && r && r[lc]);
|
|
12287
12287
|
}
|
|
12288
12288
|
function Mn(r, o) {
|
|
12289
12289
|
var h = typeof r;
|
|
@@ -12299,7 +12299,7 @@ Qs.exports;
|
|
|
12299
12299
|
if (de(r))
|
|
12300
12300
|
return !1;
|
|
12301
12301
|
var h = typeof r;
|
|
12302
|
-
return h == "number" || h == "symbol" || h == "boolean" || r == null || Gt(r) ? !0 :
|
|
12302
|
+
return h == "number" || h == "symbol" || h == "boolean" || r == null || Gt(r) ? !0 : ci.test(r) || !li.test(r) || o != null && r in Re(o);
|
|
12303
12303
|
}
|
|
12304
12304
|
function Um(r) {
|
|
12305
12305
|
var o = typeof r;
|
|
@@ -12369,7 +12369,7 @@ Qs.exports;
|
|
|
12369
12369
|
};
|
|
12370
12370
|
}
|
|
12371
12371
|
function au(r, o) {
|
|
12372
|
-
return o.length < 2 ? r :
|
|
12372
|
+
return o.length < 2 ? r : mi(r, kt(o, 0, -1));
|
|
12373
12373
|
}
|
|
12374
12374
|
function qm(r, o) {
|
|
12375
12375
|
for (var h = r.length, m = st(o.length, h), v = vt(r); m--; ) {
|
|
@@ -12421,7 +12421,7 @@ Qs.exports;
|
|
|
12421
12421
|
var o = r + "";
|
|
12422
12422
|
return o == "0" && 1 / r == -re ? "-0" : o;
|
|
12423
12423
|
}
|
|
12424
|
-
function
|
|
12424
|
+
function yi(r) {
|
|
12425
12425
|
if (r != null) {
|
|
12426
12426
|
try {
|
|
12427
12427
|
return qr.call(r);
|
|
@@ -13083,7 +13083,7 @@ Qs.exports;
|
|
|
13083
13083
|
}
|
|
13084
13084
|
var Qg = xs(Vo), qg = xs(function(r, o) {
|
|
13085
13085
|
return r >= o;
|
|
13086
|
-
}),
|
|
13086
|
+
}), vi = bc(/* @__PURE__ */ function() {
|
|
13087
13087
|
return arguments;
|
|
13088
13088
|
}()) ? bc : function(r) {
|
|
13089
13089
|
return ke(r) && We.call(r, "callee") && !ac.call(r, "callee");
|
|
@@ -13104,7 +13104,7 @@ Qs.exports;
|
|
|
13104
13104
|
function iy(r) {
|
|
13105
13105
|
if (r == null)
|
|
13106
13106
|
return !0;
|
|
13107
|
-
if (wt(r) && (de(r) || typeof r == "string" || typeof r.splice == "function" || Nn(r) || Ki(r) ||
|
|
13107
|
+
if (wt(r) && (de(r) || typeof r == "string" || typeof r.splice == "function" || Nn(r) || Ki(r) || vi(r)))
|
|
13108
13108
|
return !r.length;
|
|
13109
13109
|
var o = ot(r);
|
|
13110
13110
|
if (o == Ae || o == Tt)
|
|
@@ -13201,7 +13201,7 @@ Qs.exports;
|
|
|
13201
13201
|
return r === e;
|
|
13202
13202
|
}
|
|
13203
13203
|
function my(r) {
|
|
13204
|
-
return ke(r) && ot(r) ==
|
|
13204
|
+
return ke(r) && ot(r) == oi;
|
|
13205
13205
|
}
|
|
13206
13206
|
function gy(r) {
|
|
13207
13207
|
return ke(r) && dt(r) == ao;
|
|
@@ -13233,7 +13233,7 @@ Qs.exports;
|
|
|
13233
13233
|
return o === o ? h ? o - h : o : 0;
|
|
13234
13234
|
}
|
|
13235
13235
|
function Eu(r) {
|
|
13236
|
-
return r ?
|
|
13236
|
+
return r ? pi(fe(r), 0, ve) : 0;
|
|
13237
13237
|
}
|
|
13238
13238
|
function Dt(r) {
|
|
13239
13239
|
if (typeof r == "number")
|
|
@@ -13254,7 +13254,7 @@ Qs.exports;
|
|
|
13254
13254
|
return un(r, xt(r));
|
|
13255
13255
|
}
|
|
13256
13256
|
function wy(r) {
|
|
13257
|
-
return r ?
|
|
13257
|
+
return r ? pi(fe(r), -ie, ie) : r === 0 ? r : 0;
|
|
13258
13258
|
}
|
|
13259
13259
|
function Ze(r) {
|
|
13260
13260
|
return r == null ? "" : Mt(r);
|
|
@@ -13314,7 +13314,7 @@ Qs.exports;
|
|
|
13314
13314
|
return r == null ? [] : ds(r, xt(r));
|
|
13315
13315
|
}
|
|
13316
13316
|
function da(r, o, h) {
|
|
13317
|
-
var m = r == null ? e :
|
|
13317
|
+
var m = r == null ? e : mi(r, o);
|
|
13318
13318
|
return m === e ? h : m;
|
|
13319
13319
|
}
|
|
13320
13320
|
function Ey(r, o) {
|
|
@@ -13420,7 +13420,7 @@ Qs.exports;
|
|
|
13420
13420
|
return r == null ? [] : So(r, xt(r));
|
|
13421
13421
|
}
|
|
13422
13422
|
function qy(r, o, h) {
|
|
13423
|
-
return h === e && (h = o, o = e), h !== e && (h = Dt(h), h = h === h ? h : 0), o !== e && (o = Dt(o), o = o === o ? o : 0),
|
|
13423
|
+
return h === e && (h = o, o = e), h !== e && (h = Dt(h), h = h === h ? h : 0), o !== e && (o = Dt(o), o = o === o ? o : 0), pi(Dt(r), o, h);
|
|
13424
13424
|
}
|
|
13425
13425
|
function $y(r, o, h) {
|
|
13426
13426
|
return o = Zn(o), h === e ? (h = o, o = 0) : h = Zn(h), r = Dt(r), sm(r, o, h);
|
|
@@ -13448,7 +13448,7 @@ Qs.exports;
|
|
|
13448
13448
|
function n1(r, o, h) {
|
|
13449
13449
|
r = Ze(r), o = Mt(o);
|
|
13450
13450
|
var m = r.length;
|
|
13451
|
-
h = h === e ? m :
|
|
13451
|
+
h = h === e ? m : pi(fe(h), 0, m);
|
|
13452
13452
|
var v = h;
|
|
13453
13453
|
return h -= o.length, h >= 0 && r.slice(h, v) == o;
|
|
13454
13454
|
}
|
|
@@ -13501,7 +13501,7 @@ Qs.exports;
|
|
|
13501
13501
|
return r + (h ? " " : "") + pa(o);
|
|
13502
13502
|
});
|
|
13503
13503
|
function y1(r, o, h) {
|
|
13504
|
-
return r = Ze(r), h = h == null ? 0 :
|
|
13504
|
+
return r = Ze(r), h = h == null ? 0 : pi(fe(h), 0, r.length), o = Mt(o), r.slice(h, h + o.length) == o;
|
|
13505
13505
|
}
|
|
13506
13506
|
function v1(r, o, h) {
|
|
13507
13507
|
var m = x.templateSettings;
|
|
@@ -13705,7 +13705,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
13705
13705
|
}
|
|
13706
13706
|
function O1(r) {
|
|
13707
13707
|
return function(o) {
|
|
13708
|
-
return r == null ? e :
|
|
13708
|
+
return r == null ? e : mi(r, o);
|
|
13709
13709
|
};
|
|
13710
13710
|
}
|
|
13711
13711
|
var K1 = jc(), Y1 = jc(!0);
|
|
@@ -13774,7 +13774,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
13774
13774
|
function hv(r, o) {
|
|
13775
13775
|
return r && r.length ? To(r, oe(o, 2)) : 0;
|
|
13776
13776
|
}
|
|
13777
|
-
return x.after = Cg, x.ary = _u, x.assign = xy, x.assignIn = Au, x.assignInWith = Rs, x.assignWith = by, x.at = _y, x.before = Tu, x.bind = la, x.bindAll = G1, x.bindKey = Lu, x.castArray = Ug, x.chain = wu, x.chunk = e0, x.compact = t0, x.concat = n0, x.cond = Z1, x.conforms = W1, x.constant = ma, x.countBy = ug, x.create = Ty, x.curry = Su, x.curryRight = Mu, x.debounce = Gu, x.defaults = Ly, x.defaultsDeep = Sy, x.defer = Eg, x.delay = Vg, x.difference = i0, x.differenceBy = r0, x.differenceWith = s0, x.drop = o0, x.dropRight = a0, x.dropRightWhile = l0, x.dropWhile = c0, x.fill = u0, x.filter = dg, x.flatMap = mg, x.flatMapDeep = gg, x.flatMapDepth = yg, x.flatten = mu, x.flattenDeep = h0, x.flattenDepth = d0, x.flip = Ag, x.flow = R1, x.flowRight = P1, x.fromPairs = f0, x.functions = Py, x.functionsIn = Cy, x.groupBy = vg, x.initial = m0, x.intersection = g0, x.intersectionBy = y0, x.intersectionWith = v0, x.invert = Vy, x.invertBy = Ay, x.invokeMap = xg, x.iteratee = ga, x.keyBy = bg, x.keys = qe, x.keysIn = xt, x.map = Ss, x.mapKeys = Fy, x.mapValues = ky, x.matches = C1, x.matchesProperty = E1, x.memoize = Gs, x.merge = zy, x.mergeWith = Xu, x.method = V1, x.methodOf = A1, x.mixin = ya, x.negate = Zs, x.nthArg = F1, x.omit = Dy, x.omitBy = Oy, x.once = Xg, x.orderBy = _g, x.over = k1, x.overArgs = Fg, x.overEvery = z1, x.overSome = D1, x.partial = ca, x.partialRight = Zu, x.partition = Tg, x.pick = Ky, x.pickBy = Fu, x.property = Uu, x.propertyOf = O1, x.pull = _0, x.pullAll = yu, x.pullAllBy = T0, x.pullAllWith = L0, x.pullAt = S0, x.range = K1, x.rangeRight = Y1, x.rearg = kg, x.reject = Mg, x.remove = M0, x.rest = zg, x.reverse = oa, x.sampleSize = Zg, x.set = Uy, x.setWith = Hy, x.shuffle = Wg, x.slice = G0, x.sortBy = Pg, x.sortedUniq = E0, x.sortedUniqBy = V0, x.split = m1, x.spread = Dg, x.tail = A0, x.take = X0, x.takeRight = F0, x.takeRightWhile = k0, x.takeWhile = z0, x.tap = tg, x.throttle = Og, x.thru = Ls, x.toArray = Cu, x.toPairs = ku, x.toPairsIn = zu, x.toPath = j1, x.toPlainObject = Vu, x.transform = Ny, x.unary = Kg, x.union = D0, x.unionBy = O0, x.unionWith = K0, x.uniq = Y0, x.uniqBy = U0, x.uniqWith = H0, x.unset = By, x.unzip = aa, x.unzipWith = vu, x.update = jy, x.updateWith = Jy, x.values = Yi, x.valuesIn = Qy, x.without = N0, x.words = Ku, x.wrap = Yg, x.xor = B0, x.xorBy = j0, x.xorWith = J0, x.zip = Q0, x.zipObject = q0, x.zipObjectDeep = $0, x.zipWith = eg, x.entries = ku, x.entriesIn = zu, x.extend = Au, x.extendWith = Rs, ya(x, x), x.add = Q1, x.attempt = Yu, x.camelCase = t1, x.capitalize = Du, x.ceil = q1, x.clamp = qy, x.clone = Hg, x.cloneDeep = Bg, x.cloneDeepWith = jg, x.cloneWith = Ng, x.conformsTo = Jg, x.deburr = Ou, x.defaultTo = I1, x.divide = $1, x.endsWith = n1, x.eq = Qt, x.escape = i1, x.escapeRegExp = r1, x.every = hg, x.find = fg, x.findIndex = fu, x.findKey = My, x.findLast = pg, x.findLastIndex = pu, x.findLastKey = Gy, x.floor = ev, x.forEach = xu, x.forEachRight = bu, x.forIn = Zy, x.forInRight = Wy, x.forOwn = Iy, x.forOwnRight = Ry, x.get = da, x.gt = Qg, x.gte = qg, x.has = Ey, x.hasIn = fa, x.head = gu, x.identity = bt, x.includes = wg, x.indexOf = p0, x.inRange = $y, x.invoke = Xy, x.isArguments =
|
|
13777
|
+
return x.after = Cg, x.ary = _u, x.assign = xy, x.assignIn = Au, x.assignInWith = Rs, x.assignWith = by, x.at = _y, x.before = Tu, x.bind = la, x.bindAll = G1, x.bindKey = Lu, x.castArray = Ug, x.chain = wu, x.chunk = e0, x.compact = t0, x.concat = n0, x.cond = Z1, x.conforms = W1, x.constant = ma, x.countBy = ug, x.create = Ty, x.curry = Su, x.curryRight = Mu, x.debounce = Gu, x.defaults = Ly, x.defaultsDeep = Sy, x.defer = Eg, x.delay = Vg, x.difference = i0, x.differenceBy = r0, x.differenceWith = s0, x.drop = o0, x.dropRight = a0, x.dropRightWhile = l0, x.dropWhile = c0, x.fill = u0, x.filter = dg, x.flatMap = mg, x.flatMapDeep = gg, x.flatMapDepth = yg, x.flatten = mu, x.flattenDeep = h0, x.flattenDepth = d0, x.flip = Ag, x.flow = R1, x.flowRight = P1, x.fromPairs = f0, x.functions = Py, x.functionsIn = Cy, x.groupBy = vg, x.initial = m0, x.intersection = g0, x.intersectionBy = y0, x.intersectionWith = v0, x.invert = Vy, x.invertBy = Ay, x.invokeMap = xg, x.iteratee = ga, x.keyBy = bg, x.keys = qe, x.keysIn = xt, x.map = Ss, x.mapKeys = Fy, x.mapValues = ky, x.matches = C1, x.matchesProperty = E1, x.memoize = Gs, x.merge = zy, x.mergeWith = Xu, x.method = V1, x.methodOf = A1, x.mixin = ya, x.negate = Zs, x.nthArg = F1, x.omit = Dy, x.omitBy = Oy, x.once = Xg, x.orderBy = _g, x.over = k1, x.overArgs = Fg, x.overEvery = z1, x.overSome = D1, x.partial = ca, x.partialRight = Zu, x.partition = Tg, x.pick = Ky, x.pickBy = Fu, x.property = Uu, x.propertyOf = O1, x.pull = _0, x.pullAll = yu, x.pullAllBy = T0, x.pullAllWith = L0, x.pullAt = S0, x.range = K1, x.rangeRight = Y1, x.rearg = kg, x.reject = Mg, x.remove = M0, x.rest = zg, x.reverse = oa, x.sampleSize = Zg, x.set = Uy, x.setWith = Hy, x.shuffle = Wg, x.slice = G0, x.sortBy = Pg, x.sortedUniq = E0, x.sortedUniqBy = V0, x.split = m1, x.spread = Dg, x.tail = A0, x.take = X0, x.takeRight = F0, x.takeRightWhile = k0, x.takeWhile = z0, x.tap = tg, x.throttle = Og, x.thru = Ls, x.toArray = Cu, x.toPairs = ku, x.toPairsIn = zu, x.toPath = j1, x.toPlainObject = Vu, x.transform = Ny, x.unary = Kg, x.union = D0, x.unionBy = O0, x.unionWith = K0, x.uniq = Y0, x.uniqBy = U0, x.uniqWith = H0, x.unset = By, x.unzip = aa, x.unzipWith = vu, x.update = jy, x.updateWith = Jy, x.values = Yi, x.valuesIn = Qy, x.without = N0, x.words = Ku, x.wrap = Yg, x.xor = B0, x.xorBy = j0, x.xorWith = J0, x.zip = Q0, x.zipObject = q0, x.zipObjectDeep = $0, x.zipWith = eg, x.entries = ku, x.entriesIn = zu, x.extend = Au, x.extendWith = Rs, ya(x, x), x.add = Q1, x.attempt = Yu, x.camelCase = t1, x.capitalize = Du, x.ceil = q1, x.clamp = qy, x.clone = Hg, x.cloneDeep = Bg, x.cloneDeepWith = jg, x.cloneWith = Ng, x.conformsTo = Jg, x.deburr = Ou, x.defaultTo = I1, x.divide = $1, x.endsWith = n1, x.eq = Qt, x.escape = i1, x.escapeRegExp = r1, x.every = hg, x.find = fg, x.findIndex = fu, x.findKey = My, x.findLast = pg, x.findLastIndex = pu, x.findLastKey = Gy, x.floor = ev, x.forEach = xu, x.forEachRight = bu, x.forIn = Zy, x.forInRight = Wy, x.forOwn = Iy, x.forOwnRight = Ry, x.get = da, x.gt = Qg, x.gte = qg, x.has = Ey, x.hasIn = fa, x.head = gu, x.identity = bt, x.includes = wg, x.indexOf = p0, x.inRange = $y, x.invoke = Xy, x.isArguments = vi, x.isArray = de, x.isArrayBuffer = $g, x.isArrayLike = wt, x.isArrayLikeObject = ze, x.isBoolean = ey, x.isBuffer = Nn, x.isDate = ty, x.isElement = ny, x.isEmpty = iy, x.isEqual = ry, x.isEqualWith = sy, x.isError = ua, x.isFinite = oy, x.isFunction = Gn, x.isInteger = Wu, x.isLength = Ws, x.isMap = Iu, x.isMatch = ay, x.isMatchWith = ly, x.isNaN = cy, x.isNative = uy, x.isNil = dy, x.isNull = hy, x.isNumber = Ru, x.isObject = Xe, x.isObjectLike = ke, x.isPlainObject = vr, x.isRegExp = ha, x.isSafeInteger = fy, x.isSet = Pu, x.isString = Is, x.isSymbol = Gt, x.isTypedArray = Ki, x.isUndefined = py, x.isWeakMap = my, x.isWeakSet = gy, x.join = w0, x.kebabCase = s1, x.last = zt, x.lastIndexOf = x0, x.lowerCase = o1, x.lowerFirst = a1, x.lt = yy, x.lte = vy, x.max = tv, x.maxBy = nv, x.mean = iv, x.meanBy = rv, x.min = sv, x.minBy = ov, x.stubArray = wa, x.stubFalse = xa, x.stubObject = U1, x.stubString = H1, x.stubTrue = N1, x.multiply = av, x.nth = b0, x.noConflict = X1, x.noop = va, x.now = Ms, x.pad = l1, x.padEnd = c1, x.padStart = u1, x.parseInt = h1, x.random = e1, x.reduce = Lg, x.reduceRight = Sg, x.repeat = d1, x.replace = f1, x.result = Yy, x.round = lv, x.runInContext = R, x.sample = Gg, x.size = Ig, x.snakeCase = p1, x.some = Rg, x.sortedIndex = Z0, x.sortedIndexBy = W0, x.sortedIndexOf = I0, x.sortedLastIndex = R0, x.sortedLastIndexBy = P0, x.sortedLastIndexOf = C0, x.startCase = g1, x.startsWith = y1, x.subtract = cv, x.sum = uv, x.sumBy = hv, x.template = v1, x.times = B1, x.toFinite = Zn, x.toInteger = fe, x.toLength = Eu, x.toLower = w1, x.toNumber = Dt, x.toSafeInteger = wy, x.toString = Ze, x.toUpper = x1, x.trim = b1, x.trimEnd = _1, x.trimStart = T1, x.truncate = L1, x.unescape = S1, x.uniqueId = J1, x.upperCase = M1, x.upperFirst = pa, x.each = xu, x.eachRight = bu, x.first = gu, ya(x, function() {
|
|
13778
13778
|
var r = {};
|
|
13779
13779
|
return cn(x, function(o, h) {
|
|
13780
13780
|
We.call(x.prototype, h) || (r[h] = o);
|
|
@@ -13870,11 +13870,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
13870
13870
|
func: e
|
|
13871
13871
|
}], _e.prototype.clone = Sp, _e.prototype.reverse = Mp, _e.prototype.value = Gp, x.prototype.at = ng, x.prototype.chain = ig, x.prototype.commit = rg, x.prototype.next = sg, x.prototype.plant = ag, x.prototype.reverse = lg, x.prototype.toJSON = x.prototype.valueOf = x.prototype.value = cg, x.prototype.first = x.prototype.head, sr && (x.prototype[sr] = og), x;
|
|
13872
13872
|
}, Vi = rp();
|
|
13873
|
-
|
|
13873
|
+
ui ? ((ui.exports = Vi)._ = Vi, go._ = Vi) : $e._ = Vi;
|
|
13874
13874
|
}).call(Tr);
|
|
13875
13875
|
})(Qs, Qs.exports);
|
|
13876
13876
|
var Ob = Qs.exports;
|
|
13877
|
-
let zr = class extends
|
|
13877
|
+
let zr = class extends ii {
|
|
13878
13878
|
/**
|
|
13879
13879
|
* 创建点要素实例
|
|
13880
13880
|
* @param options 点要素配置
|
|
@@ -14053,7 +14053,7 @@ class Td extends zr {
|
|
|
14053
14053
|
}
|
|
14054
14054
|
}
|
|
14055
14055
|
Td.mergeOptions(Kb);
|
|
14056
|
-
class Ld extends
|
|
14056
|
+
class Ld extends ii {
|
|
14057
14057
|
/**
|
|
14058
14058
|
* 创建线要素实例
|
|
14059
14059
|
* @param options 线要素配置
|
|
@@ -14168,7 +14168,7 @@ class Sd extends Ld {
|
|
|
14168
14168
|
}
|
|
14169
14169
|
}
|
|
14170
14170
|
Sd.mergeOptions(Yb);
|
|
14171
|
-
class Ub extends
|
|
14171
|
+
class Ub extends ii {
|
|
14172
14172
|
/**
|
|
14173
14173
|
* 创建表面要素实例
|
|
14174
14174
|
* @param options 表面配置
|
|
@@ -15349,7 +15349,7 @@ class s_ extends Si {
|
|
|
15349
15349
|
* OverlayLayer 抽象方法实现
|
|
15350
15350
|
*/
|
|
15351
15351
|
validateFeature(e) {
|
|
15352
|
-
return e instanceof
|
|
15352
|
+
return e instanceof ii;
|
|
15353
15353
|
}
|
|
15354
15354
|
/**
|
|
15355
15355
|
* Three.js 渲染循环更新方法
|
|
@@ -16225,7 +16225,7 @@ function w_(a, t) {
|
|
|
16225
16225
|
}
|
|
16226
16226
|
const x_ = `{
|
|
16227
16227
|
"name": "@terra.gl/core",
|
|
16228
|
-
"version": "0.0.1-alpha.
|
|
16228
|
+
"version": "0.0.1-alpha.8",
|
|
16229
16229
|
"type": "module",
|
|
16230
16230
|
"files": [
|
|
16231
16231
|
"dist"
|
|
@@ -19309,16 +19309,16 @@ let Dr = class zd extends ml(
|
|
|
19309
19309
|
_findFeaturesAt(e) {
|
|
19310
19310
|
const n = this, i = n.getRenderer(), s = n.getCamera(), l = i.domElement.getBoundingClientRect(), c = e.x / l.width * 2 - 1, u = -(e.y / l.height) * 2 + 1, d = new cl();
|
|
19311
19311
|
d.setFromCamera(new Ie(c, u), s);
|
|
19312
|
-
const p = n.getLayers().filter((
|
|
19313
|
-
return
|
|
19314
|
-
let
|
|
19315
|
-
return
|
|
19316
|
-
|
|
19317
|
-
|
|
19318
|
-
|
|
19319
|
-
|
|
19320
|
-
|
|
19321
|
-
|
|
19312
|
+
const p = n.getLayers().filter((y) => !y?.isSceneLayer), f = d.intersectObjects(p, !0);
|
|
19313
|
+
return f.find((y) => {
|
|
19314
|
+
let w = y.object.parent;
|
|
19315
|
+
return w?.parent?._type === "Model" && (w = w.parent), !(w instanceof ii);
|
|
19316
|
+
}) ? [] : f.sort((y, w) => y.distance - w.distance).map((y) => {
|
|
19317
|
+
let w = y.object.parent;
|
|
19318
|
+
return w?.parent?._type === "Model" && (w = w.parent), {
|
|
19319
|
+
feature: w,
|
|
19320
|
+
distance: y.distance,
|
|
19321
|
+
object: y.object
|
|
19322
19322
|
};
|
|
19323
19323
|
});
|
|
19324
19324
|
}
|
|
@@ -20040,6 +20040,7 @@ export {
|
|
|
20040
20040
|
BT as PolygonLayer,
|
|
20041
20041
|
GT as ProjectFactory,
|
|
20042
20042
|
RT as PromiseWorker,
|
|
20043
|
+
on as Style,
|
|
20043
20044
|
kT as TDTQMSource,
|
|
20044
20045
|
FT as TDTSource,
|
|
20045
20046
|
r_ as TPoints,
|