@realsee/dnalogel 3.49.12 → 3.49.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/dist/index.cjs.js +37 -37
- package/dist/index.js +669 -667
- package/dist/index.umd.js +39 -39
- package/libs/Sculpt/Meshes/Point.js +36 -33
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,12 +2,12 @@ var pE = Object.defineProperty, mE = Object.defineProperties;
|
|
|
2
2
|
var gE = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ch = Object.getOwnPropertySymbols;
|
|
4
4
|
var pv = Object.prototype.hasOwnProperty, mv = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var gf = (e, n, t) => n in e ? pE(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, R = (e, n) => {
|
|
6
6
|
for (var t in n || (n = {}))
|
|
7
|
-
pv.call(n, t) &&
|
|
7
|
+
pv.call(n, t) && gf(e, t, n[t]);
|
|
8
8
|
if (ch)
|
|
9
9
|
for (var t of ch(n))
|
|
10
|
-
mv.call(n, t) &&
|
|
10
|
+
mv.call(n, t) && gf(e, t, n[t]);
|
|
11
11
|
return e;
|
|
12
12
|
}, Me = (e, n) => mE(e, gE(n));
|
|
13
13
|
var Ps = (e, n) => {
|
|
@@ -19,7 +19,7 @@ var Ps = (e, n) => {
|
|
|
19
19
|
n.indexOf(i) < 0 && mv.call(e, i) && (t[i] = e[i]);
|
|
20
20
|
return t;
|
|
21
21
|
};
|
|
22
|
-
var v = (e, n, t) => (
|
|
22
|
+
var v = (e, n, t) => (gf(e, typeof n != "symbol" ? n + "" : n, t), t);
|
|
23
23
|
var ee = (e, n, t) => new Promise((i, r) => {
|
|
24
24
|
var s = (l) => {
|
|
25
25
|
try {
|
|
@@ -38,8 +38,8 @@ var ee = (e, n, t) => new Promise((i, r) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { Camera as vE, Five as Dn, Subscribe as Na } from "@realsee/five";
|
|
40
40
|
import * as C from "three";
|
|
41
|
-
import { Vector3 as Se, Matrix4 as Dl, Object3D as yE, LineSegments as bE, Group as Jo, Raycaster as Fa, MeshBasicMaterial as Yl, CanvasTexture as AE, AnimationMixer as wE, Color as Va, TextureLoader as Z1, Vector2 as Fn, PlaneGeometry as xE, sRGBEncoding as ME, LinearFilter as
|
|
42
|
-
import { CSS3DSprite as LE, CSS3DObject as
|
|
41
|
+
import { Vector3 as Se, Matrix4 as Dl, Object3D as yE, LineSegments as bE, Group as Jo, Raycaster as Fa, MeshBasicMaterial as Yl, CanvasTexture as AE, AnimationMixer as wE, Color as Va, TextureLoader as Z1, Vector2 as Fn, PlaneGeometry as xE, sRGBEncoding as ME, LinearFilter as Sp, Mesh as Ll, CurvePath as EE, LineCurve3 as CE, TubeGeometry as PE, ShaderMaterial as J1, SphereGeometry as _E, DoubleSide as q1, RingGeometry as IE, Quaternion as $m, Euler as gv, VideoTexture as SE, Vector4 as TE, SphereBufferGeometry as DE } from "three";
|
|
42
|
+
import { CSS3DSprite as LE, CSS3DObject as Tp } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
43
|
import Md from "hammerjs";
|
|
44
44
|
import { Line as kE, THREE_Line2 as RE, LineMaterial as OE } from "@realsee/five/line";
|
|
45
45
|
import bu from "animejs";
|
|
@@ -48,7 +48,7 @@ import zE from "earcut";
|
|
|
48
48
|
import { GLTFLoader as BE } from "@realsee/five/gltf-loader";
|
|
49
49
|
function NE() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.49.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.49.13",
|
|
52
52
|
[
|
|
53
53
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
54
54
|
"background-repeat: no-repeat",
|
|
@@ -80,7 +80,7 @@ function hh(e, n, t) {
|
|
|
80
80
|
const i = e.x, r = e.y, s = Math.floor(i / n * 1e4) / 1e4, o = Math.floor(r / t * 1e4) / 1e4;
|
|
81
81
|
return { x: s, y: o };
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function vf(e, n, t) {
|
|
84
84
|
const { x: i, y: r } = e, s = i * n, o = r * t;
|
|
85
85
|
return { x: s, y: o };
|
|
86
86
|
}
|
|
@@ -318,7 +318,7 @@ var Ki = Object.freeze({
|
|
|
318
318
|
return (2 * n - 2 * t + s + o) * l + (-3 * n + 3 * t - 2 * s - o) * a + s * r + n;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
|
-
},
|
|
321
|
+
}, eg = (
|
|
322
322
|
/** @class */
|
|
323
323
|
function() {
|
|
324
324
|
function e() {
|
|
@@ -327,11 +327,11 @@ var Ki = Object.freeze({
|
|
|
327
327
|
return e._nextId++;
|
|
328
328
|
}, e._nextId = 0, e;
|
|
329
329
|
}()
|
|
330
|
-
),
|
|
330
|
+
), Dp = new ew(), Ed = (
|
|
331
331
|
/** @class */
|
|
332
332
|
function() {
|
|
333
333
|
function e(n, t) {
|
|
334
|
-
t === void 0 && (t =
|
|
334
|
+
t === void 0 && (t = Dp), this._object = n, 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 = Ki.Linear.None, this._interpolationFunction = Bs.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = eg.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
335
335
|
}
|
|
336
336
|
return e.prototype.getId = function() {
|
|
337
337
|
return this._id;
|
|
@@ -418,7 +418,7 @@ var Ki = Object.freeze({
|
|
|
418
418
|
this._chainedTweens[n].stop();
|
|
419
419
|
return this;
|
|
420
420
|
}, e.prototype.group = function(n) {
|
|
421
|
-
return n === void 0 && (n =
|
|
421
|
+
return n === void 0 && (n = Dp), this._group = n, this;
|
|
422
422
|
}, e.prototype.delay = function(n) {
|
|
423
423
|
return n === void 0 && (n = 0), this._delayTime = n, this;
|
|
424
424
|
}, e.prototype.repeat = function(n) {
|
|
@@ -495,12 +495,12 @@ var Ki = Object.freeze({
|
|
|
495
495
|
typeof i == "string" ? this._valuesStartRepeat[n] = this._valuesStartRepeat[n] + parseFloat(i) : this._valuesStartRepeat[n] = this._valuesEnd[n], this._valuesEnd[n] = t;
|
|
496
496
|
}, e;
|
|
497
497
|
}()
|
|
498
|
-
), HE = "23.1.1", UE =
|
|
498
|
+
), HE = "23.1.1", UE = eg.nextId, er = Dp, WE = er.getAll.bind(er), QE = er.removeAll.bind(er), YE = er.add.bind(er), tw = er.remove.bind(er), XE = er.update.bind(er), Av = {
|
|
499
499
|
Easing: Ki,
|
|
500
500
|
Group: ew,
|
|
501
501
|
Interpolation: Bs,
|
|
502
502
|
now: Fo,
|
|
503
|
-
Sequence:
|
|
503
|
+
Sequence: eg,
|
|
504
504
|
nextId: UE,
|
|
505
505
|
Tween: Ed,
|
|
506
506
|
VERSION: HE,
|
|
@@ -962,7 +962,7 @@ let $E = class extends qE {
|
|
|
962
962
|
const a = this.canvas[t].getContext("2d");
|
|
963
963
|
if (!a)
|
|
964
964
|
return;
|
|
965
|
-
const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, d =
|
|
965
|
+
const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, d = vf(i.move || {}, this.clientWidth, this.clientHeight);
|
|
966
966
|
let f = [d];
|
|
967
967
|
if (a.strokeStyle = c, a.beginPath(), a.moveTo(d.x, d.y), h && !r) {
|
|
968
968
|
let m = [];
|
|
@@ -973,7 +973,7 @@ let $E = class extends qE {
|
|
|
973
973
|
return a.clearRect(0, 0, p.canvas[u].width, p.canvas[u].height), (b = p.tween) == null ? void 0 : b.stop();
|
|
974
974
|
const y = Math.floor(g);
|
|
975
975
|
if (!m.find((A) => A === y)) {
|
|
976
|
-
if (m.push(y), f.push(
|
|
976
|
+
if (m.push(y), f.push(vf(l[y], p.clientWidth, p.clientHeight)), f.length < 3)
|
|
977
977
|
return;
|
|
978
978
|
const { control: A, end: w } = uh(f);
|
|
979
979
|
if (!A || !w)
|
|
@@ -985,7 +985,7 @@ let $E = class extends qE {
|
|
|
985
985
|
});
|
|
986
986
|
} else {
|
|
987
987
|
for (let m = 0; m < l.length; m++) {
|
|
988
|
-
if (f.push(
|
|
988
|
+
if (f.push(vf(l[m], this.clientWidth, this.clientHeight)), f.length < 3)
|
|
989
989
|
continue;
|
|
990
990
|
const { control: p, end: g } = uh(f);
|
|
991
991
|
!p || !g || a.quadraticCurveTo(p.x, p.y, g.x, g.y);
|
|
@@ -1256,7 +1256,7 @@ function iC(e, n, t = !0) {
|
|
|
1256
1256
|
};
|
|
1257
1257
|
}
|
|
1258
1258
|
const rC = nC;
|
|
1259
|
-
class
|
|
1259
|
+
class Lp extends rC {
|
|
1260
1260
|
constructor() {
|
|
1261
1261
|
super();
|
|
1262
1262
|
v(this, "wrapper");
|
|
@@ -1398,8 +1398,8 @@ function lr(...e) {
|
|
|
1398
1398
|
const n = new Se();
|
|
1399
1399
|
return e.forEach((t) => n.add(t)), n.divideScalar(e.length), n;
|
|
1400
1400
|
}
|
|
1401
|
-
const
|
|
1402
|
-
class
|
|
1401
|
+
const tg = (e) => e ? e.visible === !1 ? !1 : tg(e.parent) : !0;
|
|
1402
|
+
class kp {
|
|
1403
1403
|
constructor(n = 0, t = 0) {
|
|
1404
1404
|
v(this, "min");
|
|
1405
1405
|
v(this, "max");
|
|
@@ -1425,7 +1425,7 @@ let lC = class {
|
|
|
1425
1425
|
v(this, "xInterval");
|
|
1426
1426
|
v(this, "yInterval");
|
|
1427
1427
|
v(this, "isRectangle", !0);
|
|
1428
|
-
this.min = n, this.max = t, this.xInterval = new
|
|
1428
|
+
this.min = n, this.max = t, this.xInterval = new kp(this.min.x, this.max.x), this.yInterval = new kp(this.min.y, this.max.y);
|
|
1429
1429
|
}
|
|
1430
1430
|
/** 是否与矩形是否重叠 */
|
|
1431
1431
|
isOverlapWithRectangle(n) {
|
|
@@ -1468,7 +1468,7 @@ function Ns(e) {
|
|
|
1468
1468
|
function Ii(e) {
|
|
1469
1469
|
return !Ns(e);
|
|
1470
1470
|
}
|
|
1471
|
-
class
|
|
1471
|
+
class ng {
|
|
1472
1472
|
constructor(n, t) {
|
|
1473
1473
|
v(this, "width");
|
|
1474
1474
|
v(this, "height");
|
|
@@ -1696,7 +1696,7 @@ function iw(e) {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
if (document.getElementById(xv))
|
|
1698
1698
|
return;
|
|
1699
|
-
const t = new
|
|
1699
|
+
const t = new Lp();
|
|
1700
1700
|
t.domElementWrapper.id = xv, t.domElementWrapper.style.zIndex = "1", t.appendToElement(n), t.renderEveryFrame(e.scene, e.camera);
|
|
1701
1701
|
}
|
|
1702
1702
|
const vC = `
|
|
@@ -1841,7 +1841,7 @@ Object.assign === void 0 && (Object.assign = function(e) {
|
|
|
1841
1841
|
}
|
|
1842
1842
|
return n;
|
|
1843
1843
|
});
|
|
1844
|
-
const _C = "117", IC = 0, Ev = 1, SC = 2, ow = 1, TC = 2, Cl = 3, Vc = 0, xn = 1, Cd = 2, aw = 1, ts = 0, Ol = 1, Cv = 2, Pv = 3, _v = 4, DC = 5, zo = 100, LC = 101, kC = 102, Iv = 103, Sv = 104, RC = 200, OC = 201, zC = 202, BC = 203, lw = 204, cw = 205, NC = 206, FC = 207, VC = 208, GC = 209, jC = 210, HC = 0, UC = 1, WC = 2,
|
|
1844
|
+
const _C = "117", IC = 0, Ev = 1, SC = 2, ow = 1, TC = 2, Cl = 3, Vc = 0, xn = 1, Cd = 2, aw = 1, ts = 0, Ol = 1, Cv = 2, Pv = 3, _v = 4, DC = 5, zo = 100, LC = 101, kC = 102, Iv = 103, Sv = 104, RC = 200, OC = 201, zC = 202, BC = 203, lw = 204, cw = 205, NC = 206, FC = 207, VC = 208, GC = 209, jC = 210, HC = 0, UC = 1, WC = 2, Rp = 3, QC = 4, YC = 5, XC = 6, ZC = 7, Pd = 0, JC = 1, qC = 2, zl = 0, hw = 1, KC = 2, $C = 3, eP = 4, tP = 5, ig = 300, rg = 301, sg = 302, uw = 303, og = 304, dw = 305, Gc = 306, ag = 307, wu = 1e3, Kn = 1001, xu = 1002, mn = 1003, Op = 1004, zp = 1005, Bn = 1006, fw = 1007, _d = 1008, jc = 1009, nP = 1010, iP = 1011, Mu = 1012, rP = 1013, fu = 1014, qr = 1015, Eu = 1016, sP = 1017, oP = 1018, aP = 1019, Bl = 1020, lP = 1021, Fs = 1022, Ti = 1023, cP = 1024, hP = 1025, uP = Ti, qo = 1026, Xl = 1027, dP = 1028, fP = 1029, pP = 1030, mP = 1031, gP = 1032, vP = 1033, Tv = 33776, Dv = 33777, Lv = 33778, kv = 33779, Rv = 35840, Ov = 35841, zv = 35842, Bv = 35843, yP = 36196, Nv = 37492, Fv = 37496, bP = 37808, AP = 37809, wP = 37810, xP = 37811, MP = 37812, EP = 37813, CP = 37814, PP = 37815, _P = 37816, IP = 37817, SP = 37818, TP = 37819, DP = 37820, LP = 37821, kP = 36492, RP = 37840, OP = 37841, zP = 37842, BP = 37843, NP = 37844, FP = 37845, VP = 37846, GP = 37847, jP = 37848, HP = 37849, UP = 37850, WP = 37851, QP = 37852, YP = 37853, XP = 2200, ZP = 2201, JP = 2202, Cu = 2300, pu = 2301, yf = 2302, sa = 2400, Vo = 2401, Pu = 2402, lg = 2500, pw = 2501, qP = 0, $n = 3e3, Id = 3001, cg = 3007, hg = 3002, KP = 3003, mw = 3004, gw = 3005, vw = 3006, $P = 3200, e2 = 3201, Ga = 0, t2 = 1, bf = 7680, n2 = 519, Sd = 35044, Zl = 35048;
|
|
1845
1845
|
function Or() {
|
|
1846
1846
|
}
|
|
1847
1847
|
Object.assign(Or.prototype, {
|
|
@@ -2311,7 +2311,7 @@ function Wt(e, n, t, i, r, s, o, a, l, c) {
|
|
|
2311
2311
|
Object.defineProperty(this, "id", { value: i2++ }), this.uuid = wt.generateUUID(), this.name = "", this.image = e !== void 0 ? e : Wt.DEFAULT_IMAGE, this.mipmaps = [], this.mapping = n !== void 0 ? n : Wt.DEFAULT_MAPPING, this.wrapS = t !== void 0 ? t : Kn, this.wrapT = i !== void 0 ? i : Kn, this.magFilter = r !== void 0 ? r : Bn, this.minFilter = s !== void 0 ? s : _d, this.anisotropy = l !== void 0 ? l : 1, this.format = o !== void 0 ? o : Ti, this.internalFormat = null, this.type = a !== void 0 ? a : jc, this.offset = new pe(0, 0), this.repeat = new pe(1, 1), this.center = new pe(0, 0), this.rotation = 0, this.matrixAutoUpdate = !0, this.matrix = new Qn(), this.generateMipmaps = !0, this.premultiplyAlpha = !1, this.flipY = !0, this.unpackAlignment = 4, this.encoding = c !== void 0 ? c : $n, this.version = 0, this.onUpdate = null;
|
|
2312
2312
|
}
|
|
2313
2313
|
Wt.DEFAULT_IMAGE = void 0;
|
|
2314
|
-
Wt.DEFAULT_MAPPING =
|
|
2314
|
+
Wt.DEFAULT_MAPPING = ig;
|
|
2315
2315
|
Wt.prototype = Object.assign(Object.create(Or.prototype), {
|
|
2316
2316
|
constructor: Wt,
|
|
2317
2317
|
isTexture: !0,
|
|
@@ -2375,7 +2375,7 @@ Wt.prototype = Object.assign(Object.create(Or.prototype), {
|
|
|
2375
2375
|
this.dispatchEvent({ type: "dispose" });
|
|
2376
2376
|
},
|
|
2377
2377
|
transformUv: function(e) {
|
|
2378
|
-
if (this.mapping !==
|
|
2378
|
+
if (this.mapping !== ig)
|
|
2379
2379
|
return e;
|
|
2380
2380
|
if (e.applyMatrix3(this.matrix), e.x < 0 || e.x > 1)
|
|
2381
2381
|
switch (this.wrapS) {
|
|
@@ -2823,7 +2823,7 @@ Object.assign(Mn.prototype, {
|
|
|
2823
2823
|
_onChangeCallback: function() {
|
|
2824
2824
|
}
|
|
2825
2825
|
});
|
|
2826
|
-
var
|
|
2826
|
+
var Af = new B(), Gv = new Mn();
|
|
2827
2827
|
function B(e, n, t) {
|
|
2828
2828
|
this.x = e || 0, this.y = n || 0, this.z = t || 0;
|
|
2829
2829
|
}
|
|
@@ -3016,10 +3016,10 @@ Object.assign(B.prototype, {
|
|
|
3016
3016
|
return this.copy(e).multiplyScalar(t);
|
|
3017
3017
|
},
|
|
3018
3018
|
projectOnPlane: function(e) {
|
|
3019
|
-
return
|
|
3019
|
+
return Af.copy(this).projectOnVector(e), this.sub(Af);
|
|
3020
3020
|
},
|
|
3021
3021
|
reflect: function(e) {
|
|
3022
|
-
return this.sub(
|
|
3022
|
+
return this.sub(Af.copy(e).multiplyScalar(2 * this.dot(e)));
|
|
3023
3023
|
},
|
|
3024
3024
|
angleTo: function(e) {
|
|
3025
3025
|
var n = Math.sqrt(this.lengthSq() * e.lengthSq());
|
|
@@ -3524,10 +3524,10 @@ Object.assign(ja.prototype, {
|
|
|
3524
3524
|
_onChangeCallback: function() {
|
|
3525
3525
|
}
|
|
3526
3526
|
});
|
|
3527
|
-
function
|
|
3527
|
+
function ug() {
|
|
3528
3528
|
this.mask = 1;
|
|
3529
3529
|
}
|
|
3530
|
-
Object.assign(
|
|
3530
|
+
Object.assign(ug.prototype, {
|
|
3531
3531
|
set: function(e) {
|
|
3532
3532
|
this.mask = 1 << e | 0;
|
|
3533
3533
|
},
|
|
@@ -3588,7 +3588,7 @@ function je() {
|
|
|
3588
3588
|
normalMatrix: {
|
|
3589
3589
|
value: new Qn()
|
|
3590
3590
|
}
|
|
3591
|
-
}), this.matrix = new Mt(), this.matrixWorld = new Mt(), this.matrixAutoUpdate = je.DefaultMatrixAutoUpdate, this.matrixWorldNeedsUpdate = !1, this.layers = new
|
|
3591
|
+
}), this.matrix = new Mt(), this.matrixWorld = new Mt(), this.matrixAutoUpdate = je.DefaultMatrixAutoUpdate, this.matrixWorldNeedsUpdate = !1, this.layers = new ug(), this.visible = !0, this.castShadow = !1, this.receiveShadow = !1, this.frustumCulled = !0, this.renderOrder = 0, this.userData = {};
|
|
3592
3592
|
}
|
|
3593
3593
|
je.DefaultUp = new B(0, 1, 0);
|
|
3594
3594
|
je.DefaultMatrixAutoUpdate = !0;
|
|
@@ -3832,7 +3832,7 @@ var vr = [
|
|
|
3832
3832
|
new B(),
|
|
3833
3833
|
new B(),
|
|
3834
3834
|
new B()
|
|
3835
|
-
], hl = new B(),
|
|
3835
|
+
], hl = new B(), wf = new mi(), go = new B(), vo = new B(), yo = new B(), jr = new B(), Hr = new B(), _s = new B(), ul = new B(), vh = new B(), yh = new B(), Is = new B();
|
|
3836
3836
|
function mi(e, n) {
|
|
3837
3837
|
this.min = e !== void 0 ? e : new B(1 / 0, 1 / 0, 1 / 0), this.max = n !== void 0 ? n : new B(-1 / 0, -1 / 0, -1 / 0);
|
|
3838
3838
|
}
|
|
@@ -3898,7 +3898,7 @@ Object.assign(mi.prototype, {
|
|
|
3898
3898
|
expandByObject: function(e) {
|
|
3899
3899
|
e.updateWorldMatrix(!1, !1);
|
|
3900
3900
|
var n = e.geometry;
|
|
3901
|
-
n !== void 0 && (n.boundingBox === null && n.computeBoundingBox(),
|
|
3901
|
+
n !== void 0 && (n.boundingBox === null && n.computeBoundingBox(), wf.copy(n.boundingBox), wf.applyMatrix4(e.matrixWorld), this.union(wf));
|
|
3902
3902
|
for (var t = e.children, i = 0, r = t.length; i < r; i++)
|
|
3903
3903
|
this.expandByObject(t[i]);
|
|
3904
3904
|
return this;
|
|
@@ -3959,7 +3959,7 @@ Object.assign(mi.prototype, {
|
|
|
3959
3959
|
_s.x,
|
|
3960
3960
|
0
|
|
3961
3961
|
];
|
|
3962
|
-
return !
|
|
3962
|
+
return !xf(n, go, vo, yo, vh) || (n = [1, 0, 0, 0, 1, 0, 0, 0, 1], !xf(n, go, vo, yo, vh)) ? !1 : (yh.crossVectors(jr, Hr), n = [yh.x, yh.y, yh.z], xf(n, go, vo, yo, vh));
|
|
3963
3963
|
},
|
|
3964
3964
|
clampPoint: function(e, n) {
|
|
3965
3965
|
return n === void 0 && (console.warn("THREE.Box3: .clampPoint() target is now required"), n = new B()), n.copy(e).clamp(this.min, this.max);
|
|
@@ -3987,7 +3987,7 @@ Object.assign(mi.prototype, {
|
|
|
3987
3987
|
return e.min.equals(this.min) && e.max.equals(this.max);
|
|
3988
3988
|
}
|
|
3989
3989
|
});
|
|
3990
|
-
function
|
|
3990
|
+
function xf(e, n, t, i, r) {
|
|
3991
3991
|
var s, o;
|
|
3992
3992
|
for (s = 0, o = e.length - 3; s <= o; s += 3) {
|
|
3993
3993
|
Is.fromArray(e, s);
|
|
@@ -4057,7 +4057,7 @@ Object.assign(cr.prototype, {
|
|
|
4057
4057
|
return e.center.equals(this.center) && e.radius === this.radius;
|
|
4058
4058
|
}
|
|
4059
4059
|
});
|
|
4060
|
-
var yr = new B(),
|
|
4060
|
+
var yr = new B(), Mf = new B(), bh = new B(), Ur = new B(), Ef = new B(), Ah = new B(), Cf = new B();
|
|
4061
4061
|
function Ha(e, n) {
|
|
4062
4062
|
this.origin = e !== void 0 ? e : new B(), this.direction = n !== void 0 ? n : new B(0, 0, -1);
|
|
4063
4063
|
}
|
|
@@ -4093,7 +4093,7 @@ Object.assign(Ha.prototype, {
|
|
|
4093
4093
|
return n < 0 ? this.origin.distanceToSquared(e) : (yr.copy(this.direction).multiplyScalar(n).add(this.origin), yr.distanceToSquared(e));
|
|
4094
4094
|
},
|
|
4095
4095
|
distanceSqToSegment: function(e, n, t, i) {
|
|
4096
|
-
|
|
4096
|
+
Mf.copy(e).add(n).multiplyScalar(0.5), bh.copy(n).sub(e).normalize(), Ur.copy(this.origin).sub(Mf);
|
|
4097
4097
|
var r = e.distanceTo(n) * 0.5, s = -this.direction.dot(bh), o = Ur.dot(this.direction), a = -Ur.dot(bh), l = Ur.lengthSq(), c = Math.abs(1 - s * s), h, u, d, f;
|
|
4098
4098
|
if (c > 0)
|
|
4099
4099
|
if (h = s * a - o, u = s * o - a, f = r * c, h >= 0)
|
|
@@ -4109,7 +4109,7 @@ Object.assign(Ha.prototype, {
|
|
|
4109
4109
|
u <= -f ? (h = Math.max(0, -(-s * r + o)), u = h > 0 ? -r : Math.min(Math.max(-r, -a), r), d = -h * h + u * (u + 2 * a) + l) : u <= f ? (h = 0, u = Math.min(Math.max(-r, -a), r), d = u * (u + 2 * a) + l) : (h = Math.max(0, -(s * r + o)), u = h > 0 ? r : Math.min(Math.max(-r, -a), r), d = -h * h + u * (u + 2 * a) + l);
|
|
4110
4110
|
else
|
|
4111
4111
|
u = s > 0 ? -r : r, h = Math.max(0, -(s * u + o)), d = -h * h + u * (u + 2 * a) + l;
|
|
4112
|
-
return t && t.copy(this.direction).multiplyScalar(h).add(this.origin), i && i.copy(bh).multiplyScalar(u).add(
|
|
4112
|
+
return t && t.copy(this.direction).multiplyScalar(h).add(this.origin), i && i.copy(bh).multiplyScalar(u).add(Mf), d;
|
|
4113
4113
|
},
|
|
4114
4114
|
intersectSphere: function(e, n) {
|
|
4115
4115
|
yr.subVectors(e.center, this.origin);
|
|
@@ -4148,8 +4148,8 @@ Object.assign(Ha.prototype, {
|
|
|
4148
4148
|
return this.intersectBox(e, yr) !== null;
|
|
4149
4149
|
},
|
|
4150
4150
|
intersectTriangle: function(e, n, t, i, r) {
|
|
4151
|
-
|
|
4152
|
-
var s = this.direction.dot(
|
|
4151
|
+
Ef.subVectors(n, e), Ah.subVectors(t, e), Cf.crossVectors(Ef, Ah);
|
|
4152
|
+
var s = this.direction.dot(Cf), o;
|
|
4153
4153
|
if (s > 0) {
|
|
4154
4154
|
if (i)
|
|
4155
4155
|
return null;
|
|
@@ -4162,10 +4162,10 @@ Object.assign(Ha.prototype, {
|
|
|
4162
4162
|
var a = o * this.direction.dot(Ah.crossVectors(Ur, Ah));
|
|
4163
4163
|
if (a < 0)
|
|
4164
4164
|
return null;
|
|
4165
|
-
var l = o * this.direction.dot(
|
|
4165
|
+
var l = o * this.direction.dot(Ef.cross(Ur));
|
|
4166
4166
|
if (l < 0 || a + l > s)
|
|
4167
4167
|
return null;
|
|
4168
|
-
var c = -o * Ur.dot(
|
|
4168
|
+
var c = -o * Ur.dot(Cf);
|
|
4169
4169
|
return c < 0 ? null : this.at(c / s, r);
|
|
4170
4170
|
},
|
|
4171
4171
|
applyMatrix4: function(e) {
|
|
@@ -4175,7 +4175,7 @@ Object.assign(Ha.prototype, {
|
|
|
4175
4175
|
return e.origin.equals(this.origin) && e.direction.equals(this.direction);
|
|
4176
4176
|
}
|
|
4177
4177
|
});
|
|
4178
|
-
var
|
|
4178
|
+
var Pf = new B(), d2 = new B(), f2 = new Qn();
|
|
4179
4179
|
function Yi(e, n) {
|
|
4180
4180
|
this.normal = e !== void 0 ? e : new B(1, 0, 0), this.constant = n !== void 0 ? n : 0;
|
|
4181
4181
|
}
|
|
@@ -4191,7 +4191,7 @@ Object.assign(Yi.prototype, {
|
|
|
4191
4191
|
return this.normal.copy(e), this.constant = -n.dot(this.normal), this;
|
|
4192
4192
|
},
|
|
4193
4193
|
setFromCoplanarPoints: function(e, n, t) {
|
|
4194
|
-
var i =
|
|
4194
|
+
var i = Pf.subVectors(t, n).cross(d2.subVectors(e, n)).normalize();
|
|
4195
4195
|
return this.setFromNormalAndCoplanarPoint(i, e), this;
|
|
4196
4196
|
},
|
|
4197
4197
|
clone: function() {
|
|
@@ -4218,7 +4218,7 @@ Object.assign(Yi.prototype, {
|
|
|
4218
4218
|
},
|
|
4219
4219
|
intersectLine: function(e, n) {
|
|
4220
4220
|
n === void 0 && (console.warn("THREE.Plane: .intersectLine() target is now required"), n = new B());
|
|
4221
|
-
var t = e.delta(
|
|
4221
|
+
var t = e.delta(Pf), i = this.normal.dot(t);
|
|
4222
4222
|
if (i === 0)
|
|
4223
4223
|
return this.distanceToPoint(e.start) === 0 ? n.copy(e.start) : void 0;
|
|
4224
4224
|
var r = -(e.start.dot(this.normal) + this.constant) / i;
|
|
@@ -4239,7 +4239,7 @@ Object.assign(Yi.prototype, {
|
|
|
4239
4239
|
return e === void 0 && (console.warn("THREE.Plane: .coplanarPoint() target is now required"), e = new B()), e.copy(this.normal).multiplyScalar(-this.constant);
|
|
4240
4240
|
},
|
|
4241
4241
|
applyMatrix4: function(e, n) {
|
|
4242
|
-
var t = n || f2.getNormalMatrix(e), i = this.coplanarPoint(
|
|
4242
|
+
var t = n || f2.getNormalMatrix(e), i = this.coplanarPoint(Pf).applyMatrix4(e), r = this.normal.applyMatrix3(t).normalize();
|
|
4243
4243
|
return this.constant = -i.dot(r), this;
|
|
4244
4244
|
},
|
|
4245
4245
|
translate: function(e) {
|
|
@@ -4249,7 +4249,7 @@ Object.assign(Yi.prototype, {
|
|
|
4249
4249
|
return e.normal.equals(this.normal) && e.constant === this.constant;
|
|
4250
4250
|
}
|
|
4251
4251
|
});
|
|
4252
|
-
var Ci = new B(), wr = new B(),
|
|
4252
|
+
var Ci = new B(), wr = new B(), _f = new B(), br = new B(), bo = new B(), Ao = new B(), Xv = new B(), If = new B(), Sf = new B(), Tf = new B();
|
|
4253
4253
|
function Ln(e, n, t) {
|
|
4254
4254
|
this.a = e !== void 0 ? e : new B(), this.b = n !== void 0 ? n : new B(), this.c = t !== void 0 ? t : new B();
|
|
4255
4255
|
}
|
|
@@ -4262,8 +4262,8 @@ Object.assign(Ln, {
|
|
|
4262
4262
|
// static/instance method to calculate barycentric coordinates
|
|
4263
4263
|
// based on: http://www.blackpawn.com/texts/pointinpoly/default.html
|
|
4264
4264
|
getBarycoord: function(e, n, t, i, r) {
|
|
4265
|
-
Ci.subVectors(i, n), wr.subVectors(t, n),
|
|
4266
|
-
var s = Ci.dot(Ci), o = Ci.dot(wr), a = Ci.dot(
|
|
4265
|
+
Ci.subVectors(i, n), wr.subVectors(t, n), _f.subVectors(e, n);
|
|
4266
|
+
var s = Ci.dot(Ci), o = Ci.dot(wr), a = Ci.dot(_f), l = wr.dot(wr), c = wr.dot(_f), h = s * l - o * o;
|
|
4267
4267
|
if (r === void 0 && (console.warn("THREE.Triangle: .getBarycoord() target is now required"), r = new B()), h === 0)
|
|
4268
4268
|
return r.set(-2, -1, -1);
|
|
4269
4269
|
var u = 1 / h, d = (l * a - o * c) * u, f = (s * c - o * a) * u;
|
|
@@ -4322,19 +4322,19 @@ Object.assign(Ln.prototype, {
|
|
|
4322
4322
|
closestPointToPoint: function(e, n) {
|
|
4323
4323
|
n === void 0 && (console.warn("THREE.Triangle: .closestPointToPoint() target is now required"), n = new B());
|
|
4324
4324
|
var t = this.a, i = this.b, r = this.c, s, o;
|
|
4325
|
-
bo.subVectors(i, t), Ao.subVectors(r, t),
|
|
4326
|
-
var a = bo.dot(
|
|
4325
|
+
bo.subVectors(i, t), Ao.subVectors(r, t), If.subVectors(e, t);
|
|
4326
|
+
var a = bo.dot(If), l = Ao.dot(If);
|
|
4327
4327
|
if (a <= 0 && l <= 0)
|
|
4328
4328
|
return n.copy(t);
|
|
4329
|
-
|
|
4330
|
-
var c = bo.dot(
|
|
4329
|
+
Sf.subVectors(e, i);
|
|
4330
|
+
var c = bo.dot(Sf), h = Ao.dot(Sf);
|
|
4331
4331
|
if (c >= 0 && h <= c)
|
|
4332
4332
|
return n.copy(i);
|
|
4333
4333
|
var u = a * h - c * l;
|
|
4334
4334
|
if (u <= 0 && a >= 0 && c <= 0)
|
|
4335
4335
|
return s = a / (a - c), n.copy(t).addScaledVector(bo, s);
|
|
4336
|
-
|
|
4337
|
-
var d = bo.dot(
|
|
4336
|
+
Tf.subVectors(e, r);
|
|
4337
|
+
var d = bo.dot(Tf), f = Ao.dot(Tf);
|
|
4338
4338
|
if (f >= 0 && d <= f)
|
|
4339
4339
|
return n.copy(r);
|
|
4340
4340
|
var m = d * l - a * f;
|
|
@@ -4503,13 +4503,13 @@ var yw = {
|
|
|
4503
4503
|
function Qe(e, n, t) {
|
|
4504
4504
|
return n === void 0 && t === void 0 ? this.set(e) : this.setRGB(e, n, t);
|
|
4505
4505
|
}
|
|
4506
|
-
function
|
|
4506
|
+
function Df(e, n, t) {
|
|
4507
4507
|
return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? e + (n - e) * 6 * t : t < 1 / 2 ? n : t < 2 / 3 ? e + (n - e) * 6 * (2 / 3 - t) : e;
|
|
4508
4508
|
}
|
|
4509
|
-
function
|
|
4509
|
+
function Lf(e) {
|
|
4510
4510
|
return e < 0.04045 ? e * 0.0773993808 : Math.pow(e * 0.9478672986 + 0.0521327014, 2.4);
|
|
4511
4511
|
}
|
|
4512
|
-
function
|
|
4512
|
+
function kf(e) {
|
|
4513
4513
|
return e < 31308e-7 ? e * 12.92 : 1.055 * Math.pow(e, 0.41666) - 0.055;
|
|
4514
4514
|
}
|
|
4515
4515
|
Object.assign(Qe.prototype, {
|
|
@@ -4534,7 +4534,7 @@ Object.assign(Qe.prototype, {
|
|
|
4534
4534
|
this.r = this.g = this.b = t;
|
|
4535
4535
|
else {
|
|
4536
4536
|
var i = t <= 0.5 ? t * (1 + n) : t + n - t * n, r = 2 * t - i;
|
|
4537
|
-
this.r =
|
|
4537
|
+
this.r = Df(r, i, e + 1 / 3), this.g = Df(r, i, e), this.b = Df(r, i, e - 1 / 3);
|
|
4538
4538
|
}
|
|
4539
4539
|
return this;
|
|
4540
4540
|
},
|
|
@@ -4595,10 +4595,10 @@ Object.assign(Qe.prototype, {
|
|
|
4595
4595
|
return this.copyLinearToGamma(this, e), this;
|
|
4596
4596
|
},
|
|
4597
4597
|
copySRGBToLinear: function(e) {
|
|
4598
|
-
return this.r =
|
|
4598
|
+
return this.r = Lf(e.r), this.g = Lf(e.g), this.b = Lf(e.b), this;
|
|
4599
4599
|
},
|
|
4600
4600
|
copyLinearToSRGB: function(e) {
|
|
4601
|
-
return this.r =
|
|
4601
|
+
return this.r = kf(e.r), this.g = kf(e.g), this.b = kf(e.b), this;
|
|
4602
4602
|
},
|
|
4603
4603
|
convertSRGBToLinear: function() {
|
|
4604
4604
|
return this.copySRGBToLinear(this), this;
|
|
@@ -4698,7 +4698,7 @@ Object.assign(_u.prototype, {
|
|
|
4698
4698
|
});
|
|
4699
4699
|
var p2 = 0;
|
|
4700
4700
|
function dt() {
|
|
4701
|
-
Object.defineProperty(this, "id", { value: p2++ }), this.uuid = wt.generateUUID(), this.name = "", this.type = "Material", this.fog = !0, this.blending = Ol, this.side = Vc, this.flatShading = !1, this.vertexColors = !1, this.opacity = 1, this.transparent = !1, this.blendSrc = lw, this.blendDst = cw, this.blendEquation = zo, this.blendSrcAlpha = null, this.blendDstAlpha = null, this.blendEquationAlpha = null, this.depthFunc =
|
|
4701
|
+
Object.defineProperty(this, "id", { value: p2++ }), this.uuid = wt.generateUUID(), this.name = "", this.type = "Material", this.fog = !0, this.blending = Ol, this.side = Vc, this.flatShading = !1, this.vertexColors = !1, this.opacity = 1, this.transparent = !1, this.blendSrc = lw, this.blendDst = cw, this.blendEquation = zo, this.blendSrcAlpha = null, this.blendDstAlpha = null, this.blendEquationAlpha = null, this.depthFunc = Rp, this.depthTest = !0, this.depthWrite = !0, this.stencilWriteMask = 255, this.stencilFunc = n2, this.stencilRef = 0, this.stencilFuncMask = 255, this.stencilFail = bf, this.stencilZFail = bf, this.stencilZPass = bf, this.stencilWrite = !1, this.clippingPlanes = null, this.clipIntersection = !1, this.clipShadows = !1, this.shadowSide = null, this.colorWrite = !0, this.precision = null, this.polygonOffset = !1, this.polygonOffsetFactor = 0, this.polygonOffsetUnits = 0, this.dithering = !1, this.alphaTest = 0, this.premultipliedAlpha = !1, this.visible = !0, this.toneMapped = !0, this.userData = {}, this.version = 0;
|
|
4702
4702
|
}
|
|
4703
4703
|
dt.prototype = Object.assign(Object.create(Or.prototype), {
|
|
4704
4704
|
constructor: dt,
|
|
@@ -4914,36 +4914,36 @@ Object.assign(ut.prototype, {
|
|
|
4914
4914
|
};
|
|
4915
4915
|
}
|
|
4916
4916
|
});
|
|
4917
|
-
function zp(e, n, t) {
|
|
4918
|
-
ut.call(this, new Int8Array(e), n, t);
|
|
4919
|
-
}
|
|
4920
|
-
zp.prototype = Object.create(ut.prototype);
|
|
4921
|
-
zp.prototype.constructor = zp;
|
|
4922
4917
|
function Bp(e, n, t) {
|
|
4923
|
-
ut.call(this, new
|
|
4918
|
+
ut.call(this, new Int8Array(e), n, t);
|
|
4924
4919
|
}
|
|
4925
4920
|
Bp.prototype = Object.create(ut.prototype);
|
|
4926
4921
|
Bp.prototype.constructor = Bp;
|
|
4927
4922
|
function Np(e, n, t) {
|
|
4928
|
-
ut.call(this, new
|
|
4923
|
+
ut.call(this, new Uint8Array(e), n, t);
|
|
4929
4924
|
}
|
|
4930
4925
|
Np.prototype = Object.create(ut.prototype);
|
|
4931
4926
|
Np.prototype.constructor = Np;
|
|
4932
4927
|
function Fp(e, n, t) {
|
|
4933
|
-
ut.call(this, new
|
|
4928
|
+
ut.call(this, new Uint8ClampedArray(e), n, t);
|
|
4934
4929
|
}
|
|
4935
4930
|
Fp.prototype = Object.create(ut.prototype);
|
|
4936
4931
|
Fp.prototype.constructor = Fp;
|
|
4932
|
+
function Vp(e, n, t) {
|
|
4933
|
+
ut.call(this, new Int16Array(e), n, t);
|
|
4934
|
+
}
|
|
4935
|
+
Vp.prototype = Object.create(ut.prototype);
|
|
4936
|
+
Vp.prototype.constructor = Vp;
|
|
4937
4937
|
function ql(e, n, t) {
|
|
4938
4938
|
ut.call(this, new Uint16Array(e), n, t);
|
|
4939
4939
|
}
|
|
4940
4940
|
ql.prototype = Object.create(ut.prototype);
|
|
4941
4941
|
ql.prototype.constructor = ql;
|
|
4942
|
-
function
|
|
4942
|
+
function Gp(e, n, t) {
|
|
4943
4943
|
ut.call(this, new Int32Array(e), n, t);
|
|
4944
4944
|
}
|
|
4945
|
-
|
|
4946
|
-
|
|
4945
|
+
Gp.prototype = Object.create(ut.prototype);
|
|
4946
|
+
Gp.prototype.constructor = Gp;
|
|
4947
4947
|
function Kl(e, n, t) {
|
|
4948
4948
|
ut.call(this, new Uint32Array(e), n, t);
|
|
4949
4949
|
}
|
|
@@ -4954,11 +4954,11 @@ function ze(e, n, t) {
|
|
|
4954
4954
|
}
|
|
4955
4955
|
ze.prototype = Object.create(ut.prototype);
|
|
4956
4956
|
ze.prototype.constructor = ze;
|
|
4957
|
-
function
|
|
4957
|
+
function jp(e, n, t) {
|
|
4958
4958
|
ut.call(this, new Float64Array(e), n, t);
|
|
4959
4959
|
}
|
|
4960
|
-
|
|
4961
|
-
|
|
4960
|
+
jp.prototype = Object.create(ut.prototype);
|
|
4961
|
+
jp.prototype.constructor = jp;
|
|
4962
4962
|
function bw() {
|
|
4963
4963
|
this.vertices = [], this.normals = [], this.colors = [], this.uvs = [], this.uvs2 = [], this.groups = [], this.morphTargets = {}, this.skinWeights = [], this.skinIndices = [], this.boundingBox = null, this.boundingSphere = null, this.verticesNeedUpdate = !1, this.normalsNeedUpdate = !1, this.colorsNeedUpdate = !1, this.uvsNeedUpdate = !1, this.groupsNeedUpdate = !1;
|
|
4964
4964
|
}
|
|
@@ -5042,7 +5042,7 @@ function Aw(e) {
|
|
|
5042
5042
|
e[t] > n && (n = e[t]);
|
|
5043
5043
|
return n;
|
|
5044
5044
|
}
|
|
5045
|
-
var m2 = 1, Ui = new Mt(),
|
|
5045
|
+
var m2 = 1, Ui = new Mt(), Rf = new je(), wo = new B(), ii = new mi(), dl = new mi(), fn = new B();
|
|
5046
5046
|
function Xe() {
|
|
5047
5047
|
Object.defineProperty(this, "id", { value: m2 += 2 }), this.uuid = wt.generateUUID(), this.name = "", this.type = "BufferGeometry", this.index = null, this.attributes = {}, this.morphAttributes = {}, this.morphTargetsRelative = !1, this.groups = [], this.boundingBox = null, this.boundingSphere = null, this.drawRange = { start: 0, count: 1 / 0 }, this.userData = {};
|
|
5048
5048
|
}
|
|
@@ -5104,7 +5104,7 @@ Xe.prototype = Object.assign(Object.create(Or.prototype), {
|
|
|
5104
5104
|
return Ui.makeScale(e, n, t), this.applyMatrix4(Ui), this;
|
|
5105
5105
|
},
|
|
5106
5106
|
lookAt: function(e) {
|
|
5107
|
-
return
|
|
5107
|
+
return Rf.lookAt(e), Rf.updateMatrix(), this.applyMatrix4(Rf.matrix), this;
|
|
5108
5108
|
},
|
|
5109
5109
|
center: function() {
|
|
5110
5110
|
return this.computeBoundingBox(), this.boundingBox.getCenter(wo).negate(), this.translate(wo.x, wo.y, wo.z), this;
|
|
@@ -5360,7 +5360,7 @@ Xe.prototype = Object.assign(Object.create(Or.prototype), {
|
|
|
5360
5360
|
this.dispatchEvent({ type: "dispose" });
|
|
5361
5361
|
}
|
|
5362
5362
|
});
|
|
5363
|
-
var Zv = new Mt(), Ss = new Ha(),
|
|
5363
|
+
var Zv = new Mt(), Ss = new Ha(), Of = new cr(), Wr = new B(), Qr = new B(), Yr = new B(), zf = new B(), Bf = new B(), Nf = new B(), xh = new B(), Mh = new B(), Eh = new B(), Go = new pe(), jo = new pe(), Ho = new pe(), Nl = new B(), Ch = new B();
|
|
5364
5364
|
function en(e, n) {
|
|
5365
5365
|
je.call(this), this.type = "Mesh", this.geometry = e !== void 0 ? e : new Xe(), this.material = n !== void 0 ? n : new ki(), this.updateMorphTargets();
|
|
5366
5366
|
}
|
|
@@ -5387,7 +5387,7 @@ en.prototype = Object.assign(Object.create(je.prototype), {
|
|
|
5387
5387
|
},
|
|
5388
5388
|
raycast: function(e, n) {
|
|
5389
5389
|
var t = this.geometry, i = this.material, r = this.matrixWorld;
|
|
5390
|
-
if (i !== void 0 && (t.boundingSphere === null && t.computeBoundingSphere(),
|
|
5390
|
+
if (i !== void 0 && (t.boundingSphere === null && t.computeBoundingSphere(), Of.copy(t.boundingSphere), Of.applyMatrix4(r), e.ray.intersectsSphere(Of) !== !1 && (Zv.getInverse(r), Ss.copy(e.ray).applyMatrix4(Zv), !(t.boundingBox !== null && Ss.intersectsBox(t.boundingBox) === !1)))) {
|
|
5391
5391
|
var s;
|
|
5392
5392
|
if (t.isBufferGeometry) {
|
|
5393
5393
|
var o, a, l, c = t.index, h = t.attributes.position, u = t.morphAttributes.position, d = t.morphTargetsRelative, f = t.attributes.uv, m = t.attributes.uv2, p = t.groups, g = t.drawRange, y, b, A, w, x, M, P, I;
|
|
@@ -5446,7 +5446,7 @@ function Ph(e, n, t, i, r, s, o, a, l, c, h, u) {
|
|
|
5446
5446
|
xh.set(0, 0, 0), Mh.set(0, 0, 0), Eh.set(0, 0, 0);
|
|
5447
5447
|
for (var f = 0, m = s.length; f < m; f++) {
|
|
5448
5448
|
var p = d[f], g = s[f];
|
|
5449
|
-
p !== 0 && (
|
|
5449
|
+
p !== 0 && (zf.fromBufferAttribute(g, c), Bf.fromBufferAttribute(g, h), Nf.fromBufferAttribute(g, u), o ? (xh.addScaledVector(zf, p), Mh.addScaledVector(Bf, p), Eh.addScaledVector(Nf, p)) : (xh.addScaledVector(zf.sub(Wr), p), Mh.addScaledVector(Bf.sub(Qr), p), Eh.addScaledVector(Nf.sub(Yr), p)));
|
|
5450
5450
|
}
|
|
5451
5451
|
Wr.add(xh), Qr.add(Mh), Yr.add(Eh);
|
|
5452
5452
|
}
|
|
@@ -5459,7 +5459,7 @@ function Ph(e, n, t, i, r, s, o, a, l, c, h, u) {
|
|
|
5459
5459
|
}
|
|
5460
5460
|
return y;
|
|
5461
5461
|
}
|
|
5462
|
-
var g2 = 0, Wi = new Mt(),
|
|
5462
|
+
var g2 = 0, Wi = new Mt(), Ff = new je(), _h = new B();
|
|
5463
5463
|
function pt() {
|
|
5464
5464
|
Object.defineProperty(this, "id", { value: g2 += 2 }), this.uuid = wt.generateUUID(), this.name = "", this.type = "Geometry", this.vertices = [], this.colors = [], this.faces = [], this.faceVertexUvs = [[]], this.morphTargets = [], this.morphNormals = [], this.skinWeights = [], this.skinIndices = [], this.lineDistances = [], this.boundingBox = null, this.boundingSphere = null, this.elementsNeedUpdate = !1, this.verticesNeedUpdate = !1, this.uvsNeedUpdate = !1, this.normalsNeedUpdate = !1, this.colorsNeedUpdate = !1, this.lineDistancesNeedUpdate = !1, this.groupsNeedUpdate = !1;
|
|
5465
5465
|
}
|
|
@@ -5495,7 +5495,7 @@ pt.prototype = Object.assign(Object.create(Or.prototype), {
|
|
|
5495
5495
|
return Wi.makeScale(e, n, t), this.applyMatrix4(Wi), this;
|
|
5496
5496
|
},
|
|
5497
5497
|
lookAt: function(e) {
|
|
5498
|
-
return
|
|
5498
|
+
return Ff.lookAt(e), Ff.updateMatrix(), this.applyMatrix4(Ff.matrix), this;
|
|
5499
5499
|
},
|
|
5500
5500
|
fromBufferGeometry: function(e) {
|
|
5501
5501
|
var n = this, t = e.index !== null ? e.index.array : void 0, i = e.attributes;
|
|
@@ -9924,7 +9924,7 @@ function qI(e, n, t, i) {
|
|
|
9924
9924
|
};
|
|
9925
9925
|
}
|
|
9926
9926
|
function as(e, n, t, i, r, s, o, a, l, c) {
|
|
9927
|
-
e = e !== void 0 ? e : [], n = n !== void 0 ? n :
|
|
9927
|
+
e = e !== void 0 ? e : [], n = n !== void 0 ? n : rg, o = o !== void 0 ? o : Fs, Wt.call(this, e, n, t, i, r, s, o, a, l, c), this.flipY = !1;
|
|
9928
9928
|
}
|
|
9929
9929
|
as.prototype = Object.create(Wt.prototype);
|
|
9930
9930
|
as.prototype.constructor = as;
|
|
@@ -10252,14 +10252,14 @@ _w.prototype.setValue = function(e, n, t) {
|
|
|
10252
10252
|
o.setValue(e, n[o.id], t);
|
|
10253
10253
|
}
|
|
10254
10254
|
};
|
|
10255
|
-
var
|
|
10255
|
+
var Vf = /([\w\d_]+)(\])?(\[|\.)?/g;
|
|
10256
10256
|
function t0(e, n) {
|
|
10257
10257
|
e.seq.push(n), e.map[n.id] = n;
|
|
10258
10258
|
}
|
|
10259
10259
|
function LS(e, n, t) {
|
|
10260
10260
|
var i = e.name, r = i.length;
|
|
10261
|
-
for (
|
|
10262
|
-
var s =
|
|
10261
|
+
for (Vf.lastIndex = 0; ; ) {
|
|
10262
|
+
var s = Vf.exec(i), o = Vf.lastIndex, a = s[1], l = s[2] === "]", c = s[3];
|
|
10263
10263
|
if (l && (a = a | 0), c === void 0 || c === "[" && o + 2 === r) {
|
|
10264
10264
|
t0(t, c === void 0 ? new DS(a, e, n) : new Pw(a, e, n));
|
|
10265
10265
|
break;
|
|
@@ -10315,7 +10315,7 @@ function Iw(e) {
|
|
|
10315
10315
|
return ["Linear", "( value )"];
|
|
10316
10316
|
case Id:
|
|
10317
10317
|
return ["sRGB", "( value )"];
|
|
10318
|
-
case
|
|
10318
|
+
case hg:
|
|
10319
10319
|
return ["RGBE", "( value )"];
|
|
10320
10320
|
case mw:
|
|
10321
10321
|
return ["RGBM", "( value, 7.0 )"];
|
|
@@ -10323,7 +10323,7 @@ function Iw(e) {
|
|
|
10323
10323
|
return ["RGBM", "( value, 16.0 )"];
|
|
10324
10324
|
case vw:
|
|
10325
10325
|
return ["RGBD", "( value, 256.0 )"];
|
|
10326
|
-
case
|
|
10326
|
+
case cg:
|
|
10327
10327
|
return ["Gamma", "( value, float( GAMMA_FACTOR ) )"];
|
|
10328
10328
|
case KP:
|
|
10329
10329
|
return ["LogLuv", "( value )"];
|
|
@@ -10406,14 +10406,14 @@ function s0(e, n) {
|
|
|
10406
10406
|
return e.replace(/NUM_CLIPPING_PLANES/g, n.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g, n.numClippingPlanes - n.numClipIntersection);
|
|
10407
10407
|
}
|
|
10408
10408
|
var VS = /^[ \t]*#include +<([\w\d./]+)>/gm;
|
|
10409
|
-
function
|
|
10409
|
+
function Hp(e) {
|
|
10410
10410
|
return e.replace(VS, GS);
|
|
10411
10411
|
}
|
|
10412
10412
|
function GS(e, n) {
|
|
10413
10413
|
var t = _t[n];
|
|
10414
10414
|
if (t === void 0)
|
|
10415
10415
|
throw new Error("Can not resolve #include <" + n + ">");
|
|
10416
|
-
return
|
|
10416
|
+
return Hp(t);
|
|
10417
10417
|
}
|
|
10418
10418
|
var jS = /#pragma unroll_loop[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}/g, HS = /#pragma unroll_loop_start[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}[\s]+?#pragma unroll_loop_end/g;
|
|
10419
10419
|
function o0(e) {
|
|
@@ -10443,16 +10443,16 @@ function QS(e) {
|
|
|
10443
10443
|
var n = "ENVMAP_TYPE_CUBE";
|
|
10444
10444
|
if (e.envMap)
|
|
10445
10445
|
switch (e.envMapMode) {
|
|
10446
|
-
case ig:
|
|
10447
10446
|
case rg:
|
|
10447
|
+
case sg:
|
|
10448
10448
|
n = "ENVMAP_TYPE_CUBE";
|
|
10449
10449
|
break;
|
|
10450
10450
|
case Gc:
|
|
10451
|
-
case
|
|
10451
|
+
case ag:
|
|
10452
10452
|
n = "ENVMAP_TYPE_CUBE_UV";
|
|
10453
10453
|
break;
|
|
10454
10454
|
case uw:
|
|
10455
|
-
case
|
|
10455
|
+
case og:
|
|
10456
10456
|
n = "ENVMAP_TYPE_EQUIREC";
|
|
10457
10457
|
break;
|
|
10458
10458
|
case dw:
|
|
@@ -10465,8 +10465,8 @@ function YS(e) {
|
|
|
10465
10465
|
var n = "ENVMAP_MODE_REFLECTION";
|
|
10466
10466
|
if (e.envMap)
|
|
10467
10467
|
switch (e.envMapMode) {
|
|
10468
|
-
case rg:
|
|
10469
10468
|
case sg:
|
|
10469
|
+
case og:
|
|
10470
10470
|
n = "ENVMAP_MODE_REFRACTION";
|
|
10471
10471
|
break;
|
|
10472
10472
|
}
|
|
@@ -10652,7 +10652,7 @@ function ZS(e, n, t) {
|
|
|
10652
10652
|
`
|
|
10653
10653
|
`
|
|
10654
10654
|
].filter(Pl).join(`
|
|
10655
|
-
`)), s =
|
|
10655
|
+
`)), s = Hp(s), s = r0(s, t), s = s0(s, t), o = Hp(o), o = r0(o, t), o = s0(o, t), s = o0(s), o = o0(o), t.isWebGL2 && !t.isRawShaderMaterial) {
|
|
10656
10656
|
var y = !1, b = /^\s*#version\s+300\s+es\s*\n/;
|
|
10657
10657
|
t.isShaderMaterial && s.match(b) !== null && o.match(b) !== null && (y = !0, s = s.replace(b, ""), o = o.replace(b, "")), p = [
|
|
10658
10658
|
`#version 300 es
|
|
@@ -10861,7 +10861,7 @@ function JS(e, n, t) {
|
|
|
10861
10861
|
envMap: !!I,
|
|
10862
10862
|
envMapMode: I && I.mapping,
|
|
10863
10863
|
envMapEncoding: m(I),
|
|
10864
|
-
envMapCubeUV: !!I && (I.mapping === Gc || I.mapping ===
|
|
10864
|
+
envMapCubeUV: !!I && (I.mapping === Gc || I.mapping === ag),
|
|
10865
10865
|
lightMap: !!p.lightMap,
|
|
10866
10866
|
lightMapEncoding: m(p.lightMap),
|
|
10867
10867
|
aoMap: !!p.aoMap,
|
|
@@ -11477,7 +11477,7 @@ function c3(e, n, t) {
|
|
|
11477
11477
|
case WC:
|
|
11478
11478
|
e.depthFunc(513);
|
|
11479
11479
|
break;
|
|
11480
|
-
case
|
|
11480
|
+
case Rp:
|
|
11481
11481
|
e.depthFunc(515);
|
|
11482
11482
|
break;
|
|
11483
11483
|
case QC:
|
|
@@ -11548,7 +11548,7 @@ function c3(e, n, t) {
|
|
|
11548
11548
|
return Ye;
|
|
11549
11549
|
}
|
|
11550
11550
|
var ye = {};
|
|
11551
|
-
ye[3553] = ve(3553, 3553, 1), ye[34067] = ve(34067, 34069, 6), a.setClear(0, 0, 0, 1), l.setClear(1), c.setClear(0), Be(2929), l.setFunc(
|
|
11551
|
+
ye[3553] = ve(3553, 3553, 1), ye[34067] = ve(34067, 34069, 6), a.setClear(0, 0, 0, 1), l.setClear(1), c.setClear(0), Be(2929), l.setFunc(Rp), N(!1), j(Ev), Be(2884), xe(ts);
|
|
11552
11552
|
function Je() {
|
|
11553
11553
|
for (var $ = 0, We = u.length; $ < We; $++)
|
|
11554
11554
|
u[$] = 0;
|
|
@@ -11798,7 +11798,7 @@ function h3(e, n, t, i, r, s, o) {
|
|
|
11798
11798
|
return j === 6403 && (Ce === 5126 && (me = 33326), Ce === 5131 && (me = 33325), Ce === 5121 && (me = 33321)), j === 6407 && (Ce === 5126 && (me = 34837), Ce === 5131 && (me = 34843), Ce === 5121 && (me = 32849)), j === 6408 && (Ce === 5126 && (me = 34836), Ce === 5131 && (me = 34842), Ce === 5121 && (me = 32856)), (me === 33325 || me === 33326 || me === 34842 || me === 34836) && n.get("EXT_color_buffer_float"), me;
|
|
11799
11799
|
}
|
|
11800
11800
|
function M(N) {
|
|
11801
|
-
return N === mn || N ===
|
|
11801
|
+
return N === mn || N === Op || N === zp ? 9728 : 9729;
|
|
11802
11802
|
}
|
|
11803
11803
|
function P(N) {
|
|
11804
11804
|
var j = N.target;
|
|
@@ -11913,8 +11913,8 @@ function h3(e, n, t, i, r, s, o) {
|
|
|
11913
11913
|
[xu]: 33648
|
|
11914
11914
|
}, ne = {
|
|
11915
11915
|
[mn]: 9728,
|
|
11916
|
-
[
|
|
11917
|
-
[
|
|
11916
|
+
[Op]: 9984,
|
|
11917
|
+
[zp]: 9986,
|
|
11918
11918
|
[Bn]: 9729,
|
|
11919
11919
|
[fw]: 9985,
|
|
11920
11920
|
[_d]: 9987
|
|
@@ -12173,11 +12173,11 @@ function u3(e, n, t) {
|
|
|
12173
12173
|
}
|
|
12174
12174
|
return { convert: r };
|
|
12175
12175
|
}
|
|
12176
|
-
function
|
|
12176
|
+
function Up(e) {
|
|
12177
12177
|
An.call(this), this.cameras = e || [];
|
|
12178
12178
|
}
|
|
12179
|
-
|
|
12180
|
-
constructor:
|
|
12179
|
+
Up.prototype = Object.assign(Object.create(An.prototype), {
|
|
12180
|
+
constructor: Up,
|
|
12181
12181
|
isArrayCamera: !0
|
|
12182
12182
|
});
|
|
12183
12183
|
function ic() {
|
|
@@ -12214,7 +12214,7 @@ function Dw(e, n) {
|
|
|
12214
12214
|
h.layers.enable(1), h.viewport = new Nt();
|
|
12215
12215
|
var u = new An();
|
|
12216
12216
|
u.layers.enable(2), u.viewport = new Nt();
|
|
12217
|
-
var d = [h, u], f = new
|
|
12217
|
+
var d = [h, u], f = new Up();
|
|
12218
12218
|
f.layers.enable(1), f.layers.enable(2);
|
|
12219
12219
|
var m = null, p = null;
|
|
12220
12220
|
this.enabled = !1, this.isPresenting = !1, this.getController = function(D) {
|
|
@@ -12848,13 +12848,13 @@ function Lw(e) {
|
|
|
12848
12848
|
He.setTexture2D(V, 0), oe.unbindTexture();
|
|
12849
12849
|
}, typeof __THREE_DEVTOOLS__ != "undefined" && __THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe", { detail: this }));
|
|
12850
12850
|
}
|
|
12851
|
-
function
|
|
12851
|
+
function Wp(e, n) {
|
|
12852
12852
|
this.name = "", this.color = new Qe(e), this.density = n !== void 0 ? n : 25e-5;
|
|
12853
12853
|
}
|
|
12854
|
-
Object.assign(
|
|
12854
|
+
Object.assign(Wp.prototype, {
|
|
12855
12855
|
isFogExp2: !0,
|
|
12856
12856
|
clone: function() {
|
|
12857
|
-
return new
|
|
12857
|
+
return new Wp(this.color, this.density);
|
|
12858
12858
|
},
|
|
12859
12859
|
toJSON: function() {
|
|
12860
12860
|
return {
|
|
@@ -12864,13 +12864,13 @@ Object.assign(Up.prototype, {
|
|
|
12864
12864
|
};
|
|
12865
12865
|
}
|
|
12866
12866
|
});
|
|
12867
|
-
function
|
|
12867
|
+
function Qp(e, n, t) {
|
|
12868
12868
|
this.name = "", this.color = new Qe(e), this.near = n !== void 0 ? n : 1, this.far = t !== void 0 ? t : 1e3;
|
|
12869
12869
|
}
|
|
12870
|
-
Object.assign(
|
|
12870
|
+
Object.assign(Qp.prototype, {
|
|
12871
12871
|
isFog: !0,
|
|
12872
12872
|
clone: function() {
|
|
12873
|
-
return new
|
|
12873
|
+
return new Qp(this.color, this.near, this.far);
|
|
12874
12874
|
},
|
|
12875
12875
|
toJSON: function() {
|
|
12876
12876
|
return {
|
|
@@ -13000,8 +13000,8 @@ Js.prototype.isSpriteMaterial = !0;
|
|
|
13000
13000
|
Js.prototype.copy = function(e) {
|
|
13001
13001
|
return dt.prototype.copy.call(this, e), this.color.copy(e.color), this.map = e.map, this.alphaMap = e.alphaMap, this.rotation = e.rotation, this.sizeAttenuation = e.sizeAttenuation, this;
|
|
13002
13002
|
};
|
|
13003
|
-
var Co, pl = new B(), Po = new B(), _o = new B(), Io = new pe(), ml = new pe(), kw = new Mt(), Sh = new B(), gl = new B(), Th = new B(), h0 = new pe(),
|
|
13004
|
-
function
|
|
13003
|
+
var Co, pl = new B(), Po = new B(), _o = new B(), Io = new pe(), ml = new pe(), kw = new Mt(), Sh = new B(), gl = new B(), Th = new B(), h0 = new pe(), Gf = new pe(), u0 = new pe();
|
|
13004
|
+
function Yp(e) {
|
|
13005
13005
|
if (je.call(this), this.type = "Sprite", Co === void 0) {
|
|
13006
13006
|
Co = new Xe();
|
|
13007
13007
|
var n = new Float32Array([
|
|
@@ -13030,22 +13030,22 @@ function Qp(e) {
|
|
|
13030
13030
|
}
|
|
13031
13031
|
this.geometry = Co, this.material = e !== void 0 ? e : new Js(), this.center = new pe(0.5, 0.5);
|
|
13032
13032
|
}
|
|
13033
|
-
|
|
13034
|
-
constructor:
|
|
13033
|
+
Yp.prototype = Object.assign(Object.create(je.prototype), {
|
|
13034
|
+
constructor: Yp,
|
|
13035
13035
|
isSprite: !0,
|
|
13036
13036
|
raycast: function(e, n) {
|
|
13037
13037
|
e.camera === null && console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.'), Po.setFromMatrixScale(this.matrixWorld), kw.copy(e.camera.matrixWorld), this.modelViewMatrix.multiplyMatrices(e.camera.matrixWorldInverse, this.matrixWorld), _o.setFromMatrixPosition(this.modelViewMatrix), e.camera.isPerspectiveCamera && this.material.sizeAttenuation === !1 && Po.multiplyScalar(-_o.z);
|
|
13038
13038
|
var t = this.material.rotation, i, r;
|
|
13039
13039
|
t !== 0 && (r = Math.cos(t), i = Math.sin(t));
|
|
13040
13040
|
var s = this.center;
|
|
13041
|
-
Dh(Sh.set(-0.5, -0.5, 0), _o, s, Po, i, r), Dh(gl.set(0.5, -0.5, 0), _o, s, Po, i, r), Dh(Th.set(0.5, 0.5, 0), _o, s, Po, i, r), h0.set(0, 0),
|
|
13041
|
+
Dh(Sh.set(-0.5, -0.5, 0), _o, s, Po, i, r), Dh(gl.set(0.5, -0.5, 0), _o, s, Po, i, r), Dh(Th.set(0.5, 0.5, 0), _o, s, Po, i, r), h0.set(0, 0), Gf.set(1, 0), u0.set(1, 1);
|
|
13042
13042
|
var o = e.ray.intersectTriangle(Sh, gl, Th, !1, pl);
|
|
13043
|
-
if (!(o === null && (Dh(gl.set(-0.5, 0.5, 0), _o, s, Po, i, r),
|
|
13043
|
+
if (!(o === null && (Dh(gl.set(-0.5, 0.5, 0), _o, s, Po, i, r), Gf.set(0, 1), o = e.ray.intersectTriangle(Sh, Th, gl, !1, pl), o === null))) {
|
|
13044
13044
|
var a = e.ray.origin.distanceTo(pl);
|
|
13045
13045
|
a < e.near || a > e.far || n.push({
|
|
13046
13046
|
distance: a,
|
|
13047
13047
|
point: pl.clone(),
|
|
13048
|
-
uv: Ln.getUV(pl, Sh, gl, Th, h0,
|
|
13048
|
+
uv: Ln.getUV(pl, Sh, gl, Th, h0, Gf, u0, new pe()),
|
|
13049
13049
|
face: null,
|
|
13050
13050
|
object: this
|
|
13051
13051
|
});
|
|
@@ -13132,11 +13132,11 @@ Tu.prototype = Object.assign(Object.create(je.prototype), {
|
|
|
13132
13132
|
return n;
|
|
13133
13133
|
}
|
|
13134
13134
|
});
|
|
13135
|
-
function
|
|
13135
|
+
function Xp(e, n) {
|
|
13136
13136
|
e && e.isGeometry && console.error("THREE.SkinnedMesh no longer supports THREE.Geometry. Use THREE.BufferGeometry instead."), en.call(this, e, n), this.type = "SkinnedMesh", this.bindMode = "attached", this.bindMatrix = new Mt(), this.bindMatrixInverse = new Mt();
|
|
13137
13137
|
}
|
|
13138
|
-
|
|
13139
|
-
constructor:
|
|
13138
|
+
Xp.prototype = Object.assign(Object.create(en.prototype), {
|
|
13139
|
+
constructor: Xp,
|
|
13140
13140
|
isSkinnedMesh: !0,
|
|
13141
13141
|
bind: function(e, n) {
|
|
13142
13142
|
this.skeleton = e, n === void 0 && (this.updateMatrixWorld(!0), this.skeleton.calculateInverses(), n = this.matrixWorld), this.bindMatrix.copy(n), this.bindMatrixInverse.getInverse(n);
|
|
@@ -13174,7 +13174,7 @@ Yp.prototype = Object.assign(Object.create(en.prototype), {
|
|
|
13174
13174
|
}()
|
|
13175
13175
|
});
|
|
13176
13176
|
var f0 = new Mt(), f3 = new Mt();
|
|
13177
|
-
function
|
|
13177
|
+
function Zp(e, n) {
|
|
13178
13178
|
if (e = e || [], this.bones = e.slice(0), this.boneMatrices = new Float32Array(this.bones.length * 16), this.frame = -1, n === void 0)
|
|
13179
13179
|
this.calculateInverses();
|
|
13180
13180
|
else if (this.bones.length === n.length)
|
|
@@ -13185,7 +13185,7 @@ function Xp(e, n) {
|
|
|
13185
13185
|
this.boneInverses.push(new Mt());
|
|
13186
13186
|
}
|
|
13187
13187
|
}
|
|
13188
|
-
Object.assign(
|
|
13188
|
+
Object.assign(Zp.prototype, {
|
|
13189
13189
|
calculateInverses: function() {
|
|
13190
13190
|
this.boneInverses = [];
|
|
13191
13191
|
for (var e = 0, n = this.bones.length; e < n; e++) {
|
|
@@ -13208,7 +13208,7 @@ Object.assign(Xp.prototype, {
|
|
|
13208
13208
|
i !== void 0 && (i.needsUpdate = !0);
|
|
13209
13209
|
},
|
|
13210
13210
|
clone: function() {
|
|
13211
|
-
return new
|
|
13211
|
+
return new Zp(this.bones, this.boneInverses);
|
|
13212
13212
|
},
|
|
13213
13213
|
getBoneByName: function(e) {
|
|
13214
13214
|
for (var n = 0, t = this.bones.length; n < t; n++) {
|
|
@@ -13229,11 +13229,11 @@ p0.prototype = Object.assign(Object.create(je.prototype), {
|
|
|
13229
13229
|
isBone: !0
|
|
13230
13230
|
});
|
|
13231
13231
|
var m0 = new Mt(), g0 = new Mt(), kh = [], vl = new en();
|
|
13232
|
-
function
|
|
13232
|
+
function Jp(e, n, t) {
|
|
13233
13233
|
en.call(this, e, n), this.instanceMatrix = new ut(new Float32Array(t * 16), 16), this.count = t, this.frustumCulled = !1;
|
|
13234
13234
|
}
|
|
13235
|
-
|
|
13236
|
-
constructor:
|
|
13235
|
+
Jp.prototype = Object.assign(Object.create(en.prototype), {
|
|
13236
|
+
constructor: Jp,
|
|
13237
13237
|
isInstancedMesh: !0,
|
|
13238
13238
|
getMatrixAt: function(e, n) {
|
|
13239
13239
|
n.fromArray(this.instanceMatrix.array, e * 16);
|
|
@@ -13396,11 +13396,11 @@ gn.prototype = Object.assign(Object.create(vi.prototype), {
|
|
|
13396
13396
|
return this;
|
|
13397
13397
|
}
|
|
13398
13398
|
});
|
|
13399
|
-
function
|
|
13399
|
+
function qp(e, n) {
|
|
13400
13400
|
vi.call(this, e, n), this.type = "LineLoop";
|
|
13401
13401
|
}
|
|
13402
|
-
|
|
13403
|
-
constructor:
|
|
13402
|
+
qp.prototype = Object.assign(Object.create(vi.prototype), {
|
|
13403
|
+
constructor: qp,
|
|
13404
13404
|
isLineLoop: !0
|
|
13405
13405
|
});
|
|
13406
13406
|
function qs(e) {
|
|
@@ -13412,31 +13412,31 @@ qs.prototype.isPointsMaterial = !0;
|
|
|
13412
13412
|
qs.prototype.copy = function(e) {
|
|
13413
13413
|
return dt.prototype.copy.call(this, e), this.color.copy(e.color), this.map = e.map, this.alphaMap = e.alphaMap, this.size = e.size, this.sizeAttenuation = e.sizeAttenuation, this.morphTargets = e.morphTargets, this;
|
|
13414
13414
|
};
|
|
13415
|
-
var A0 = new Mt(),
|
|
13416
|
-
function
|
|
13415
|
+
var A0 = new Mt(), Kp = new Ha(), Nh = new cr(), Fh = new B();
|
|
13416
|
+
function $p(e, n) {
|
|
13417
13417
|
je.call(this), this.type = "Points", this.geometry = e !== void 0 ? e : new Xe(), this.material = n !== void 0 ? n : new qs(), this.updateMorphTargets();
|
|
13418
13418
|
}
|
|
13419
|
-
|
|
13420
|
-
constructor:
|
|
13419
|
+
$p.prototype = Object.assign(Object.create(je.prototype), {
|
|
13420
|
+
constructor: $p,
|
|
13421
13421
|
isPoints: !0,
|
|
13422
13422
|
raycast: function(e, n) {
|
|
13423
13423
|
var t = this.geometry, i = this.matrixWorld, r = e.params.Points.threshold;
|
|
13424
13424
|
if (t.boundingSphere === null && t.computeBoundingSphere(), Nh.copy(t.boundingSphere), Nh.applyMatrix4(i), Nh.radius += r, e.ray.intersectsSphere(Nh) !== !1) {
|
|
13425
|
-
A0.getInverse(i),
|
|
13425
|
+
A0.getInverse(i), Kp.copy(e.ray).applyMatrix4(A0);
|
|
13426
13426
|
var s = r / ((this.scale.x + this.scale.y + this.scale.z) / 3), o = s * s;
|
|
13427
13427
|
if (t.isBufferGeometry) {
|
|
13428
13428
|
var a = t.index, l = t.attributes, c = l.position.array;
|
|
13429
13429
|
if (a !== null)
|
|
13430
13430
|
for (var h = a.array, u = 0, d = h.length; u < d; u++) {
|
|
13431
13431
|
var f = h[u];
|
|
13432
|
-
Fh.fromArray(c, f * 3),
|
|
13432
|
+
Fh.fromArray(c, f * 3), jf(Fh, f, o, i, e, n, this);
|
|
13433
13433
|
}
|
|
13434
13434
|
else
|
|
13435
13435
|
for (var u = 0, m = c.length / 3; u < m; u++)
|
|
13436
|
-
Fh.fromArray(c, u * 3),
|
|
13436
|
+
Fh.fromArray(c, u * 3), jf(Fh, u, o, i, e, n, this);
|
|
13437
13437
|
} else
|
|
13438
13438
|
for (var p = t.vertices, u = 0, m = p.length; u < m; u++)
|
|
13439
|
-
|
|
13439
|
+
jf(p[u], u, o, i, e, n, this);
|
|
13440
13440
|
}
|
|
13441
13441
|
},
|
|
13442
13442
|
updateMorphTargets: function() {
|
|
@@ -13458,11 +13458,11 @@ Kp.prototype = Object.assign(Object.create(je.prototype), {
|
|
|
13458
13458
|
return new this.constructor(this.geometry, this.material).copy(this);
|
|
13459
13459
|
}
|
|
13460
13460
|
});
|
|
13461
|
-
function
|
|
13462
|
-
var a =
|
|
13461
|
+
function jf(e, n, t, i, r, s, o) {
|
|
13462
|
+
var a = Kp.distanceSqToPoint(e);
|
|
13463
13463
|
if (a < t) {
|
|
13464
13464
|
var l = new B();
|
|
13465
|
-
|
|
13465
|
+
Kp.closestPointToPoint(e, l), l.applyMatrix4(i);
|
|
13466
13466
|
var c = r.ray.origin.distanceTo(l);
|
|
13467
13467
|
if (c < r.near || c > r.far)
|
|
13468
13468
|
return;
|
|
@@ -14266,7 +14266,7 @@ function g3(e, n, t, i) {
|
|
|
14266
14266
|
var r = e.prev, s = e, o = e.next;
|
|
14267
14267
|
if (Kt(r, s, o) >= 0)
|
|
14268
14268
|
return !1;
|
|
14269
|
-
for (var a = r.x < s.x ? r.x < o.x ? r.x : o.x : s.x < o.x ? s.x : o.x, l = r.y < s.y ? r.y < o.y ? r.y : o.y : s.y < o.y ? s.y : o.y, c = r.x > s.x ? r.x > o.x ? r.x : o.x : s.x > o.x ? s.x : o.x, h = r.y > s.y ? r.y > o.y ? r.y : o.y : s.y > o.y ? s.y : o.y, u =
|
|
14269
|
+
for (var a = r.x < s.x ? r.x < o.x ? r.x : o.x : s.x < o.x ? s.x : o.x, l = r.y < s.y ? r.y < o.y ? r.y : o.y : s.y < o.y ? s.y : o.y, c = r.x > s.x ? r.x > o.x ? r.x : o.x : s.x > o.x ? s.x : o.x, h = r.y > s.y ? r.y > o.y ? r.y : o.y : s.y > o.y ? s.y : o.y, u = em(a, l, n, t, i), d = em(c, h, n, t, i), f = e.prevZ, m = e.nextZ; f && f.z >= u && m && m.z <= d; ) {
|
|
14270
14270
|
if (f !== e.prev && f !== e.next && Uo(r.x, r.y, s.x, s.y, o.x, o.y, f.x, f.y) && Kt(f.prev, f, f.next) >= 0 || (f = f.prevZ, m !== e.prev && m !== e.next && Uo(r.x, r.y, s.x, s.y, o.x, o.y, m.x, m.y) && Kt(m.prev, m, m.next) >= 0))
|
|
14271
14271
|
return !1;
|
|
14272
14272
|
m = m.nextZ;
|
|
@@ -14356,7 +14356,7 @@ function M3(e, n) {
|
|
|
14356
14356
|
function E3(e, n, t, i) {
|
|
14357
14357
|
var r = e;
|
|
14358
14358
|
do
|
|
14359
|
-
r.z === null && (r.z =
|
|
14359
|
+
r.z === null && (r.z = em(r.x, r.y, n, t, i)), r.prevZ = r.prev, r.nextZ = r.next, r = r.next;
|
|
14360
14360
|
while (r !== e);
|
|
14361
14361
|
r.prevZ.nextZ = null, r.prevZ = null, C3(r);
|
|
14362
14362
|
}
|
|
@@ -14374,7 +14374,7 @@ function C3(e) {
|
|
|
14374
14374
|
} while (o > 1);
|
|
14375
14375
|
return e;
|
|
14376
14376
|
}
|
|
14377
|
-
function
|
|
14377
|
+
function em(e, n, t, i, r) {
|
|
14378
14378
|
return e = 32767 * (e - t) * r, n = 32767 * (n - i) * r, e = (e | e << 8) & 16711935, e = (e | e << 4) & 252645135, e = (e | e << 2) & 858993459, e = (e | e << 1) & 1431655765, n = (n | n << 8) & 16711935, n = (n | n << 4) & 252645135, n = (n | n << 2) & 858993459, n = (n | n << 1) & 1431655765, e | n << 1;
|
|
14379
14379
|
}
|
|
14380
14380
|
function P3(e) {
|
|
@@ -14429,17 +14429,17 @@ function S3(e, n) {
|
|
|
14429
14429
|
return i;
|
|
14430
14430
|
}
|
|
14431
14431
|
function zw(e, n) {
|
|
14432
|
-
var t = new
|
|
14432
|
+
var t = new tm(e.i, e.x, e.y), i = new tm(n.i, n.x, n.y), r = e.next, s = n.prev;
|
|
14433
14433
|
return e.next = n, n.prev = e, t.next = r, r.prev = t, i.next = t, t.prev = i, s.next = i, i.prev = s, i;
|
|
14434
14434
|
}
|
|
14435
14435
|
function x0(e, n, t, i) {
|
|
14436
|
-
var r = new
|
|
14436
|
+
var r = new tm(e, n, t);
|
|
14437
14437
|
return i ? (r.next = i.next, r.prev = i, i.next.prev = r, i.next = r) : (r.prev = r, r.next = r), r;
|
|
14438
14438
|
}
|
|
14439
14439
|
function pc(e) {
|
|
14440
14440
|
e.next.prev = e.prev, e.prev.next = e.next, e.prevZ && (e.prevZ.nextZ = e.nextZ), e.nextZ && (e.nextZ.prevZ = e.prevZ);
|
|
14441
14441
|
}
|
|
14442
|
-
function
|
|
14442
|
+
function tm(e, n, t) {
|
|
14443
14443
|
this.i = e, this.x = n, this.y = t, this.prev = null, this.next = null, this.z = null, this.prevZ = null, this.nextZ = null, this.steiner = !1;
|
|
14444
14444
|
}
|
|
14445
14445
|
function T3(e, n, t, i) {
|
|
@@ -15342,11 +15342,11 @@ Object.assign(pi.prototype, {
|
|
|
15342
15342
|
//( N-1, tN-1, t ), returns this.resultBuffer
|
|
15343
15343
|
afterEnd_: pi.prototype.copySampleValue_
|
|
15344
15344
|
});
|
|
15345
|
-
function
|
|
15345
|
+
function nm(e, n, t, i) {
|
|
15346
15346
|
pi.call(this, e, n, t, i), this._weightPrev = -0, this._offsetPrev = -0, this._weightNext = -0, this._offsetNext = -0;
|
|
15347
15347
|
}
|
|
15348
|
-
|
|
15349
|
-
constructor:
|
|
15348
|
+
nm.prototype = Object.assign(Object.create(pi.prototype), {
|
|
15349
|
+
constructor: nm,
|
|
15350
15350
|
DefaultSettings_: {
|
|
15351
15351
|
endingStart: sa,
|
|
15352
15352
|
endingEnd: sa
|
|
@@ -15395,11 +15395,11 @@ Ju.prototype = Object.assign(Object.create(pi.prototype), {
|
|
|
15395
15395
|
return r;
|
|
15396
15396
|
}
|
|
15397
15397
|
});
|
|
15398
|
-
function
|
|
15398
|
+
function im(e, n, t, i) {
|
|
15399
15399
|
pi.call(this, e, n, t, i);
|
|
15400
15400
|
}
|
|
15401
|
-
|
|
15402
|
-
constructor:
|
|
15401
|
+
im.prototype = Object.assign(Object.create(pi.prototype), {
|
|
15402
|
+
constructor: im,
|
|
15403
15403
|
interpolate_: function(e) {
|
|
15404
15404
|
return this.copySampleValue_(e - 1);
|
|
15405
15405
|
}
|
|
@@ -15436,13 +15436,13 @@ Object.assign(Vn.prototype, {
|
|
|
15436
15436
|
ValueBufferType: Float32Array,
|
|
15437
15437
|
DefaultInterpolation: pu,
|
|
15438
15438
|
InterpolantFactoryMethodDiscrete: function(e) {
|
|
15439
|
-
return new
|
|
15439
|
+
return new im(this.times, this.values, this.getValueSize(), e);
|
|
15440
15440
|
},
|
|
15441
15441
|
InterpolantFactoryMethodLinear: function(e) {
|
|
15442
15442
|
return new Ju(this.times, this.values, this.getValueSize(), e);
|
|
15443
15443
|
},
|
|
15444
15444
|
InterpolantFactoryMethodSmooth: function(e) {
|
|
15445
|
-
return new
|
|
15445
|
+
return new nm(this.times, this.values, this.getValueSize(), e);
|
|
15446
15446
|
},
|
|
15447
15447
|
setInterpolation: function(e) {
|
|
15448
15448
|
var n;
|
|
@@ -15453,7 +15453,7 @@ Object.assign(Vn.prototype, {
|
|
|
15453
15453
|
case pu:
|
|
15454
15454
|
n = this.InterpolantFactoryMethodLinear;
|
|
15455
15455
|
break;
|
|
15456
|
-
case
|
|
15456
|
+
case yf:
|
|
15457
15457
|
n = this.InterpolantFactoryMethodSmooth;
|
|
15458
15458
|
break;
|
|
15459
15459
|
}
|
|
@@ -15475,7 +15475,7 @@ Object.assign(Vn.prototype, {
|
|
|
15475
15475
|
case this.InterpolantFactoryMethodLinear:
|
|
15476
15476
|
return pu;
|
|
15477
15477
|
case this.InterpolantFactoryMethodSmooth:
|
|
15478
|
-
return
|
|
15478
|
+
return yf;
|
|
15479
15479
|
}
|
|
15480
15480
|
},
|
|
15481
15481
|
getValueSize: function() {
|
|
@@ -15540,7 +15540,7 @@ Object.assign(Vn.prototype, {
|
|
|
15540
15540
|
// removes equivalent sequential keys as common in morph target sequences
|
|
15541
15541
|
// (0,0,0,0,1,1,1,0,0,0,0,0,0,0) --> (0,0,1,1,0,0)
|
|
15542
15542
|
optimize: function() {
|
|
15543
|
-
for (var e = qt.arraySlice(this.times), n = qt.arraySlice(this.values), t = this.getValueSize(), i = this.getInterpolation() ===
|
|
15543
|
+
for (var e = qt.arraySlice(this.times), n = qt.arraySlice(this.values), t = this.getValueSize(), i = this.getInterpolation() === yf, r = 1, s = e.length - 1, o = 1; o < s; ++o) {
|
|
15544
15544
|
var a = !1, l = e[o], c = e[o + 1];
|
|
15545
15545
|
if (l !== c && (o !== 1 || l !== l[0]))
|
|
15546
15546
|
if (i)
|
|
@@ -15575,11 +15575,11 @@ Object.assign(Vn.prototype, {
|
|
|
15575
15575
|
return i.createInterpolant = this.createInterpolant, i;
|
|
15576
15576
|
}
|
|
15577
15577
|
});
|
|
15578
|
-
function
|
|
15578
|
+
function rm(e, n, t) {
|
|
15579
15579
|
Vn.call(this, e, n, t);
|
|
15580
15580
|
}
|
|
15581
|
-
|
|
15582
|
-
constructor:
|
|
15581
|
+
rm.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
15582
|
+
constructor: rm,
|
|
15583
15583
|
ValueTypeName: "bool",
|
|
15584
15584
|
ValueBufferType: Array,
|
|
15585
15585
|
DefaultInterpolation: Cu,
|
|
@@ -15589,11 +15589,11 @@ im.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
|
15589
15589
|
// representation of a single value and a custom interpolant that
|
|
15590
15590
|
// computes "firstValue ^ isOdd( index )".
|
|
15591
15591
|
});
|
|
15592
|
-
function
|
|
15592
|
+
function sm(e, n, t, i) {
|
|
15593
15593
|
Vn.call(this, e, n, t, i);
|
|
15594
15594
|
}
|
|
15595
|
-
|
|
15596
|
-
constructor:
|
|
15595
|
+
sm.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
15596
|
+
constructor: sm,
|
|
15597
15597
|
ValueTypeName: "color"
|
|
15598
15598
|
// ValueBufferType is inherited
|
|
15599
15599
|
// DefaultInterpolation is inherited
|
|
@@ -15609,11 +15609,11 @@ bc.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
|
15609
15609
|
// ValueBufferType is inherited
|
|
15610
15610
|
// DefaultInterpolation is inherited
|
|
15611
15611
|
});
|
|
15612
|
-
function
|
|
15612
|
+
function om(e, n, t, i) {
|
|
15613
15613
|
pi.call(this, e, n, t, i);
|
|
15614
15614
|
}
|
|
15615
|
-
|
|
15616
|
-
constructor:
|
|
15615
|
+
om.prototype = Object.assign(Object.create(pi.prototype), {
|
|
15616
|
+
constructor: om,
|
|
15617
15617
|
interpolate_: function(e, n, t, i) {
|
|
15618
15618
|
for (var r = this.resultBuffer, s = this.sampleValues, o = this.valueSize, a = e * o, l = (t - n) / (i - n), c = a + o; a !== c; a += 4)
|
|
15619
15619
|
Mn.slerpFlat(r, 0, s, a - o, s, a, l);
|
|
@@ -15629,16 +15629,16 @@ qu.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
|
15629
15629
|
// ValueBufferType is inherited
|
|
15630
15630
|
DefaultInterpolation: pu,
|
|
15631
15631
|
InterpolantFactoryMethodLinear: function(e) {
|
|
15632
|
-
return new
|
|
15632
|
+
return new om(this.times, this.values, this.getValueSize(), e);
|
|
15633
15633
|
},
|
|
15634
15634
|
InterpolantFactoryMethodSmooth: void 0
|
|
15635
15635
|
// not yet implemented
|
|
15636
15636
|
});
|
|
15637
|
-
function
|
|
15637
|
+
function am(e, n, t, i) {
|
|
15638
15638
|
Vn.call(this, e, n, t, i);
|
|
15639
15639
|
}
|
|
15640
|
-
|
|
15641
|
-
constructor:
|
|
15640
|
+
am.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
15641
|
+
constructor: am,
|
|
15642
15642
|
ValueTypeName: "string",
|
|
15643
15643
|
ValueBufferType: Array,
|
|
15644
15644
|
DefaultInterpolation: Cu,
|
|
@@ -15655,7 +15655,7 @@ Ac.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
|
15655
15655
|
// DefaultInterpolation is inherited
|
|
15656
15656
|
});
|
|
15657
15657
|
function Pi(e, n, t, i) {
|
|
15658
|
-
this.name = e, this.tracks = t, this.duration = n !== void 0 ? n : -1, this.blendMode = i !== void 0 ? i :
|
|
15658
|
+
this.name = e, this.tracks = t, this.duration = n !== void 0 ? n : -1, this.blendMode = i !== void 0 ? i : lg, this.uuid = wt.generateUUID(), this.duration < 0 && this.resetDuration();
|
|
15659
15659
|
}
|
|
15660
15660
|
function k3(e) {
|
|
15661
15661
|
switch (e.toLowerCase()) {
|
|
@@ -15671,14 +15671,14 @@ function k3(e) {
|
|
|
15671
15671
|
case "vector4":
|
|
15672
15672
|
return Ac;
|
|
15673
15673
|
case "color":
|
|
15674
|
-
return
|
|
15674
|
+
return sm;
|
|
15675
15675
|
case "quaternion":
|
|
15676
15676
|
return qu;
|
|
15677
15677
|
case "bool":
|
|
15678
15678
|
case "boolean":
|
|
15679
|
-
return
|
|
15679
|
+
return rm;
|
|
15680
15680
|
case "string":
|
|
15681
|
-
return
|
|
15681
|
+
return am;
|
|
15682
15682
|
}
|
|
15683
15683
|
throw new Error("THREE.KeyframeTrack: Unsupported typeName: " + e);
|
|
15684
15684
|
}
|
|
@@ -16118,11 +16118,11 @@ wc.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
16118
16118
|
return o.addEventListener("load", a, !1), o.addEventListener("error", l, !1), e.substr(0, 5) !== "data:" && this.crossOrigin !== void 0 && (o.crossOrigin = this.crossOrigin), r.manager.itemStart(e), o.src = e, o;
|
|
16119
16119
|
}
|
|
16120
16120
|
});
|
|
16121
|
-
function
|
|
16121
|
+
function lm(e) {
|
|
16122
16122
|
Vt.call(this, e);
|
|
16123
16123
|
}
|
|
16124
|
-
|
|
16125
|
-
constructor:
|
|
16124
|
+
lm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
16125
|
+
constructor: lm,
|
|
16126
16126
|
load: function(e, n, t, i) {
|
|
16127
16127
|
var r = new as(), s = new wc(this.manager);
|
|
16128
16128
|
s.setCrossOrigin(this.crossOrigin), s.setPath(this.path);
|
|
@@ -16137,11 +16137,11 @@ am.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
16137
16137
|
return r;
|
|
16138
16138
|
}
|
|
16139
16139
|
});
|
|
16140
|
-
function
|
|
16140
|
+
function cm(e) {
|
|
16141
16141
|
Vt.call(this, e);
|
|
16142
16142
|
}
|
|
16143
|
-
|
|
16144
|
-
constructor:
|
|
16143
|
+
cm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
16144
|
+
constructor: cm,
|
|
16145
16145
|
load: function(e, n, t, i) {
|
|
16146
16146
|
var r = new Wt(), s = new wc(this.manager);
|
|
16147
16147
|
return s.setCrossOrigin(this.crossOrigin), s.setPath(this.path), s.load(e, function(o) {
|
|
@@ -16302,7 +16302,7 @@ function xc(e, n, t, i, r, s) {
|
|
|
16302
16302
|
xc.prototype = Object.create(yi.prototype);
|
|
16303
16303
|
xc.prototype.constructor = xc;
|
|
16304
16304
|
xc.prototype.isArcCurve = !0;
|
|
16305
|
-
function
|
|
16305
|
+
function dg() {
|
|
16306
16306
|
var e = 0, n = 0, t = 0, i = 0;
|
|
16307
16307
|
function r(s, o, a, l) {
|
|
16308
16308
|
e = s, n = a, t = -3 * s + 3 * o - 2 * a - l, i = 2 * s - 2 * o + a + l;
|
|
@@ -16321,7 +16321,7 @@ function ug() {
|
|
|
16321
16321
|
}
|
|
16322
16322
|
};
|
|
16323
16323
|
}
|
|
16324
|
-
var jh = new B(),
|
|
16324
|
+
var jh = new B(), Hf = new dg(), Uf = new dg(), Wf = new dg();
|
|
16325
16325
|
function ai(e, n, t, i) {
|
|
16326
16326
|
at.call(this), this.type = "CatmullRomCurve3", this.points = e || [], this.closed = n || !1, this.curveType = t || "centripetal", this.tension = i || 0.5;
|
|
16327
16327
|
}
|
|
@@ -16334,13 +16334,13 @@ ai.prototype.getPoint = function(e, n) {
|
|
|
16334
16334
|
var l, c, h, u;
|
|
16335
16335
|
if (this.closed || o > 0 ? l = i[(o - 1) % r] : (jh.subVectors(i[0], i[1]).add(i[0]), l = jh), c = i[o % r], h = i[(o + 1) % r], this.closed || o + 2 < r ? u = i[(o + 2) % r] : (jh.subVectors(i[r - 1], i[r - 2]).add(i[r - 1]), u = jh), this.curveType === "centripetal" || this.curveType === "chordal") {
|
|
16336
16336
|
var d = this.curveType === "chordal" ? 0.5 : 0.25, f = Math.pow(l.distanceToSquared(c), d), m = Math.pow(c.distanceToSquared(h), d), p = Math.pow(h.distanceToSquared(u), d);
|
|
16337
|
-
m < 1e-4 && (m = 1), f < 1e-4 && (f = m), p < 1e-4 && (p = m),
|
|
16337
|
+
m < 1e-4 && (m = 1), f < 1e-4 && (f = m), p < 1e-4 && (p = m), Hf.initNonuniformCatmullRom(l.x, c.x, h.x, u.x, f, m, p), Uf.initNonuniformCatmullRom(l.y, c.y, h.y, u.y, f, m, p), Wf.initNonuniformCatmullRom(l.z, c.z, h.z, u.z, f, m, p);
|
|
16338
16338
|
} else
|
|
16339
|
-
this.curveType === "catmullrom" && (
|
|
16339
|
+
this.curveType === "catmullrom" && (Hf.initCatmullRom(l.x, c.x, h.x, u.x, this.tension), Uf.initCatmullRom(l.y, c.y, h.y, u.y, this.tension), Wf.initCatmullRom(l.z, c.z, h.z, u.z, this.tension));
|
|
16340
16340
|
return t.set(
|
|
16341
|
-
jf.calc(a),
|
|
16342
16341
|
Hf.calc(a),
|
|
16343
|
-
Uf.calc(a)
|
|
16342
|
+
Uf.calc(a),
|
|
16343
|
+
Wf.calc(a)
|
|
16344
16344
|
), t;
|
|
16345
16345
|
};
|
|
16346
16346
|
ai.prototype.copy = function(e) {
|
|
@@ -16584,7 +16584,7 @@ sr.prototype.fromJSON = function(e) {
|
|
|
16584
16584
|
}
|
|
16585
16585
|
return this;
|
|
16586
16586
|
};
|
|
16587
|
-
var
|
|
16587
|
+
var hm = /* @__PURE__ */ Object.freeze({
|
|
16588
16588
|
__proto__: null,
|
|
16589
16589
|
ArcCurve: xc,
|
|
16590
16590
|
CatmullRomCurve3: ai,
|
|
@@ -16682,7 +16682,7 @@ es.prototype = Object.assign(Object.create(at.prototype), {
|
|
|
16682
16682
|
at.prototype.fromJSON.call(this, e), this.autoClose = e.autoClose, this.curves = [];
|
|
16683
16683
|
for (var n = 0, t = e.curves.length; n < t; n++) {
|
|
16684
16684
|
var i = e.curves[n];
|
|
16685
|
-
this.curves.push(new
|
|
16685
|
+
this.curves.push(new hm[i.type]().fromJSON(i));
|
|
16686
16686
|
}
|
|
16687
16687
|
return this;
|
|
16688
16688
|
}
|
|
@@ -16822,11 +16822,11 @@ Jt.prototype = Object.assign(Object.create(je.prototype), {
|
|
|
16822
16822
|
return n.object.color = this.color.getHex(), n.object.intensity = this.intensity, this.groundColor !== void 0 && (n.object.groundColor = this.groundColor.getHex()), this.distance !== void 0 && (n.object.distance = this.distance), this.angle !== void 0 && (n.object.angle = this.angle), this.decay !== void 0 && (n.object.decay = this.decay), this.penumbra !== void 0 && (n.object.penumbra = this.penumbra), this.shadow !== void 0 && (n.object.shadow = this.shadow.toJSON()), n;
|
|
16823
16823
|
}
|
|
16824
16824
|
});
|
|
16825
|
-
function
|
|
16825
|
+
function um(e, n, t) {
|
|
16826
16826
|
Jt.call(this, e, t), this.type = "HemisphereLight", this.castShadow = void 0, this.position.copy(je.DefaultUp), this.updateMatrix(), this.groundColor = new Qe(n);
|
|
16827
16827
|
}
|
|
16828
|
-
|
|
16829
|
-
constructor:
|
|
16828
|
+
um.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
16829
|
+
constructor: um,
|
|
16830
16830
|
isHemisphereLight: !0,
|
|
16831
16831
|
copy: function(e) {
|
|
16832
16832
|
return Jt.prototype.copy.call(this, e), this.groundColor.copy(e.groundColor), this;
|
|
@@ -16885,18 +16885,18 @@ Object.assign(Lr.prototype, {
|
|
|
16885
16885
|
return this.bias !== 0 && (e.bias = this.bias), this.radius !== 1 && (e.radius = this.radius), (this.mapSize.x !== 512 || this.mapSize.y !== 512) && (e.mapSize = this.mapSize.toArray()), e.camera = this.camera.toJSON(!1).object, delete e.camera.matrix, e;
|
|
16886
16886
|
}
|
|
16887
16887
|
});
|
|
16888
|
-
function
|
|
16888
|
+
function dm() {
|
|
16889
16889
|
Lr.call(this, new An(50, 1, 0.5, 500));
|
|
16890
16890
|
}
|
|
16891
|
-
|
|
16892
|
-
constructor:
|
|
16891
|
+
dm.prototype = Object.assign(Object.create(Lr.prototype), {
|
|
16892
|
+
constructor: dm,
|
|
16893
16893
|
isSpotLightShadow: !0,
|
|
16894
16894
|
updateMatrices: function(e) {
|
|
16895
16895
|
var n = this.camera, t = wt.RAD2DEG * 2 * e.angle, i = this.mapSize.width / this.mapSize.height, r = e.distance || n.far;
|
|
16896
16896
|
(t !== n.fov || i !== n.aspect || r !== n.far) && (n.fov = t, n.aspect = i, n.far = r, n.updateProjectionMatrix()), Lr.prototype.updateMatrices.call(this, e);
|
|
16897
16897
|
}
|
|
16898
16898
|
});
|
|
16899
|
-
function
|
|
16899
|
+
function fm(e, n, t, i, r, s) {
|
|
16900
16900
|
Jt.call(this, e, n), this.type = "SpotLight", this.position.copy(je.DefaultUp), this.updateMatrix(), this.target = new je(), Object.defineProperty(this, "power", {
|
|
16901
16901
|
get: function() {
|
|
16902
16902
|
return this.intensity * Math.PI;
|
|
@@ -16904,16 +16904,16 @@ function dm(e, n, t, i, r, s) {
|
|
|
16904
16904
|
set: function(o) {
|
|
16905
16905
|
this.intensity = o / Math.PI;
|
|
16906
16906
|
}
|
|
16907
|
-
}), this.distance = t !== void 0 ? t : 0, this.angle = i !== void 0 ? i : Math.PI / 3, this.penumbra = r !== void 0 ? r : 0, this.decay = s !== void 0 ? s : 1, this.shadow = new
|
|
16907
|
+
}), this.distance = t !== void 0 ? t : 0, this.angle = i !== void 0 ? i : Math.PI / 3, this.penumbra = r !== void 0 ? r : 0, this.decay = s !== void 0 ? s : 1, this.shadow = new dm();
|
|
16908
16908
|
}
|
|
16909
|
-
|
|
16910
|
-
constructor:
|
|
16909
|
+
fm.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
16910
|
+
constructor: fm,
|
|
16911
16911
|
isSpotLight: !0,
|
|
16912
16912
|
copy: function(e) {
|
|
16913
16913
|
return Jt.prototype.copy.call(this, e), this.distance = e.distance, this.angle = e.angle, this.penumbra = e.penumbra, this.decay = e.decay, this.target = e.target.clone(), this.shadow = e.shadow.clone(), this;
|
|
16914
16914
|
}
|
|
16915
16915
|
});
|
|
16916
|
-
function
|
|
16916
|
+
function pm() {
|
|
16917
16917
|
Lr.call(this, new An(90, 1, 0.5, 500)), this._frameExtents = new pe(4, 2), this._viewportCount = 6, this._viewports = [
|
|
16918
16918
|
// These viewports map a cube-map onto a 2D texture with the
|
|
16919
16919
|
// following orientation:
|
|
@@ -16955,8 +16955,8 @@ function fm() {
|
|
|
16955
16955
|
new B(0, 0, -1)
|
|
16956
16956
|
];
|
|
16957
16957
|
}
|
|
16958
|
-
|
|
16959
|
-
constructor:
|
|
16958
|
+
pm.prototype = Object.assign(Object.create(Lr.prototype), {
|
|
16959
|
+
constructor: pm,
|
|
16960
16960
|
isPointLightShadow: !0,
|
|
16961
16961
|
updateMatrices: function(e, n) {
|
|
16962
16962
|
n === void 0 && (n = 0);
|
|
@@ -16964,7 +16964,7 @@ fm.prototype = Object.assign(Object.create(Lr.prototype), {
|
|
|
16964
16964
|
r.setFromMatrixPosition(e.matrixWorld), t.position.copy(r), s.copy(t.position), s.add(this._cubeDirections[n]), t.up.copy(this._cubeUps[n]), t.lookAt(s), t.updateMatrixWorld(), i.makeTranslation(-r.x, -r.y, -r.z), o.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), this._frustum.setFromProjectionMatrix(o);
|
|
16965
16965
|
}
|
|
16966
16966
|
});
|
|
16967
|
-
function
|
|
16967
|
+
function mm(e, n, t, i) {
|
|
16968
16968
|
Jt.call(this, e, n), this.type = "PointLight", Object.defineProperty(this, "power", {
|
|
16969
16969
|
get: function() {
|
|
16970
16970
|
return this.intensity * 4 * Math.PI;
|
|
@@ -16972,10 +16972,10 @@ function pm(e, n, t, i) {
|
|
|
16972
16972
|
set: function(r) {
|
|
16973
16973
|
this.intensity = r / (4 * Math.PI);
|
|
16974
16974
|
}
|
|
16975
|
-
}), this.distance = t !== void 0 ? t : 0, this.decay = i !== void 0 ? i : 1, this.shadow = new
|
|
16975
|
+
}), this.distance = t !== void 0 ? t : 0, this.decay = i !== void 0 ? i : 1, this.shadow = new pm();
|
|
16976
16976
|
}
|
|
16977
|
-
|
|
16978
|
-
constructor:
|
|
16977
|
+
mm.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
16978
|
+
constructor: mm,
|
|
16979
16979
|
isPointLight: !0,
|
|
16980
16980
|
copy: function(e) {
|
|
16981
16981
|
return Jt.prototype.copy.call(this, e), this.distance = e.distance, this.decay = e.decay, this.shadow = e.shadow.clone(), this;
|
|
@@ -17017,38 +17017,38 @@ Mc.prototype = Object.assign(Object.create(_r.prototype), {
|
|
|
17017
17017
|
return n.object.zoom = this.zoom, n.object.left = this.left, n.object.right = this.right, n.object.top = this.top, n.object.bottom = this.bottom, n.object.near = this.near, n.object.far = this.far, this.view !== null && (n.object.view = Object.assign({}, this.view)), n;
|
|
17018
17018
|
}
|
|
17019
17019
|
});
|
|
17020
|
-
function
|
|
17020
|
+
function gm() {
|
|
17021
17021
|
Lr.call(this, new Mc(-5, 5, 5, -5, 0.5, 500));
|
|
17022
17022
|
}
|
|
17023
|
-
|
|
17024
|
-
constructor:
|
|
17023
|
+
gm.prototype = Object.assign(Object.create(Lr.prototype), {
|
|
17024
|
+
constructor: gm,
|
|
17025
17025
|
isDirectionalLightShadow: !0,
|
|
17026
17026
|
updateMatrices: function(e) {
|
|
17027
17027
|
Lr.prototype.updateMatrices.call(this, e);
|
|
17028
17028
|
}
|
|
17029
17029
|
});
|
|
17030
|
-
function
|
|
17031
|
-
Jt.call(this, e, n), this.type = "DirectionalLight", this.position.copy(je.DefaultUp), this.updateMatrix(), this.target = new je(), this.shadow = new
|
|
17030
|
+
function vm(e, n) {
|
|
17031
|
+
Jt.call(this, e, n), this.type = "DirectionalLight", this.position.copy(je.DefaultUp), this.updateMatrix(), this.target = new je(), this.shadow = new gm();
|
|
17032
17032
|
}
|
|
17033
|
-
|
|
17034
|
-
constructor:
|
|
17033
|
+
vm.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
17034
|
+
constructor: vm,
|
|
17035
17035
|
isDirectionalLight: !0,
|
|
17036
17036
|
copy: function(e) {
|
|
17037
17037
|
return Jt.prototype.copy.call(this, e), this.target = e.target.clone(), this.shadow = e.shadow.clone(), this;
|
|
17038
17038
|
}
|
|
17039
17039
|
});
|
|
17040
|
-
function
|
|
17040
|
+
function ym(e, n) {
|
|
17041
17041
|
Jt.call(this, e, n), this.type = "AmbientLight", this.castShadow = void 0;
|
|
17042
17042
|
}
|
|
17043
|
-
|
|
17044
|
-
constructor:
|
|
17043
|
+
ym.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
17044
|
+
constructor: ym,
|
|
17045
17045
|
isAmbientLight: !0
|
|
17046
17046
|
});
|
|
17047
|
-
function
|
|
17047
|
+
function bm(e, n, t, i) {
|
|
17048
17048
|
Jt.call(this, e, n), this.type = "RectAreaLight", this.width = t !== void 0 ? t : 10, this.height = i !== void 0 ? i : 10;
|
|
17049
17049
|
}
|
|
17050
|
-
|
|
17051
|
-
constructor:
|
|
17050
|
+
bm.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
17051
|
+
constructor: bm,
|
|
17052
17052
|
isRectAreaLight: !0,
|
|
17053
17053
|
copy: function(e) {
|
|
17054
17054
|
return Jt.prototype.copy.call(this, e), this.width = e.width, this.height = e.height, this;
|
|
@@ -17058,12 +17058,12 @@ ym.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
|
17058
17058
|
return n.object.width = this.width, n.object.height = this.height, n;
|
|
17059
17059
|
}
|
|
17060
17060
|
});
|
|
17061
|
-
function
|
|
17061
|
+
function fg() {
|
|
17062
17062
|
this.coefficients = [];
|
|
17063
17063
|
for (var e = 0; e < 9; e++)
|
|
17064
17064
|
this.coefficients.push(new B());
|
|
17065
17065
|
}
|
|
17066
|
-
Object.assign(
|
|
17066
|
+
Object.assign(fg.prototype, {
|
|
17067
17067
|
isSphericalHarmonics3: !0,
|
|
17068
17068
|
set: function(e) {
|
|
17069
17069
|
for (var n = 0; n < 9; n++)
|
|
@@ -17133,7 +17133,7 @@ Object.assign(dg.prototype, {
|
|
|
17133
17133
|
return e;
|
|
17134
17134
|
}
|
|
17135
17135
|
});
|
|
17136
|
-
Object.assign(
|
|
17136
|
+
Object.assign(fg, {
|
|
17137
17137
|
// evaluate the basis functions
|
|
17138
17138
|
// shBasis is an Array[ 9 ]
|
|
17139
17139
|
getBasisAt: function(e, n) {
|
|
@@ -17142,7 +17142,7 @@ Object.assign(dg, {
|
|
|
17142
17142
|
}
|
|
17143
17143
|
});
|
|
17144
17144
|
function Di(e, n) {
|
|
17145
|
-
Jt.call(this, void 0, n), this.type = "LightProbe", this.sh = e !== void 0 ? e : new
|
|
17145
|
+
Jt.call(this, void 0, n), this.type = "LightProbe", this.sh = e !== void 0 ? e : new fg();
|
|
17146
17146
|
}
|
|
17147
17147
|
Di.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
17148
17148
|
constructor: Di,
|
|
@@ -17158,11 +17158,11 @@ Di.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
|
17158
17158
|
return n.object.sh = this.sh.toArray(), n;
|
|
17159
17159
|
}
|
|
17160
17160
|
});
|
|
17161
|
-
function
|
|
17161
|
+
function Am(e) {
|
|
17162
17162
|
Vt.call(this, e), this.textures = {};
|
|
17163
17163
|
}
|
|
17164
|
-
|
|
17165
|
-
constructor:
|
|
17164
|
+
Am.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
17165
|
+
constructor: Am,
|
|
17166
17166
|
load: function(e, n, t, i) {
|
|
17167
17167
|
var r = this, s = new tr(r.manager);
|
|
17168
17168
|
s.setPath(r.path), s.load(e, function(o) {
|
|
@@ -17254,11 +17254,11 @@ Ea.prototype = Object.assign(Object.create(Xe.prototype), {
|
|
|
17254
17254
|
return e.instanceCount = this.instanceCount, e.isInstancedBufferGeometry = !0, e;
|
|
17255
17255
|
}
|
|
17256
17256
|
});
|
|
17257
|
-
function
|
|
17257
|
+
function wm(e, n, t, i) {
|
|
17258
17258
|
typeof t == "number" && (i = t, t = !1, console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument.")), ut.call(this, e, n, t), this.meshPerAttribute = i || 1;
|
|
17259
17259
|
}
|
|
17260
|
-
|
|
17261
|
-
constructor:
|
|
17260
|
+
wm.prototype = Object.assign(Object.create(ut.prototype), {
|
|
17261
|
+
constructor: wm,
|
|
17262
17262
|
isInstancedBufferAttribute: !0,
|
|
17263
17263
|
copy: function(e) {
|
|
17264
17264
|
return ut.prototype.copy.call(this, e), this.meshPerAttribute = e.meshPerAttribute, this;
|
|
@@ -17268,11 +17268,11 @@ Am.prototype = Object.assign(Object.create(ut.prototype), {
|
|
|
17268
17268
|
return e.meshPerAttribute = this.meshPerAttribute, e.isInstancedBufferAttribute = !0, e;
|
|
17269
17269
|
}
|
|
17270
17270
|
});
|
|
17271
|
-
function
|
|
17271
|
+
function xm(e) {
|
|
17272
17272
|
Vt.call(this, e);
|
|
17273
17273
|
}
|
|
17274
|
-
|
|
17275
|
-
constructor:
|
|
17274
|
+
xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
17275
|
+
constructor: xm,
|
|
17276
17276
|
load: function(e, n, t, i) {
|
|
17277
17277
|
var r = this, s = new tr(r.manager);
|
|
17278
17278
|
s.setPath(r.path), s.load(e, function(o) {
|
|
@@ -17286,19 +17286,19 @@ wm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17286
17286
|
parse: function(e) {
|
|
17287
17287
|
var n = e.isInstancedBufferGeometry ? new Ea() : new Xe(), t = e.data.index;
|
|
17288
17288
|
if (t !== void 0) {
|
|
17289
|
-
var i = new
|
|
17289
|
+
var i = new Qf[t.type](t.array);
|
|
17290
17290
|
n.setIndex(new ut(i, 1));
|
|
17291
17291
|
}
|
|
17292
17292
|
var r = e.data.attributes;
|
|
17293
17293
|
for (var s in r) {
|
|
17294
|
-
var o = r[s], i = new
|
|
17294
|
+
var o = r[s], i = new Qf[o.type](o.array), a = o.isInstancedBufferAttribute ? wm : ut, l = new a(i, o.itemSize, o.normalized);
|
|
17295
17295
|
o.name !== void 0 && (l.name = o.name), n.setAttribute(s, l);
|
|
17296
17296
|
}
|
|
17297
17297
|
var c = e.data.morphAttributes;
|
|
17298
17298
|
if (c)
|
|
17299
17299
|
for (var s in c) {
|
|
17300
17300
|
for (var h = c[s], u = [], d = 0, f = h.length; d < f; d++) {
|
|
17301
|
-
var o = h[d], i = new
|
|
17301
|
+
var o = h[d], i = new Qf[o.type](o.array), l = new ut(i, o.itemSize, o.normalized);
|
|
17302
17302
|
o.name !== void 0 && (l.name = o.name), u.push(l);
|
|
17303
17303
|
}
|
|
17304
17304
|
n.morphAttributes[s] = u;
|
|
@@ -17319,7 +17319,7 @@ wm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17319
17319
|
return e.name && (n.name = e.name), e.userData && (n.userData = e.userData), n;
|
|
17320
17320
|
}
|
|
17321
17321
|
});
|
|
17322
|
-
var
|
|
17322
|
+
var Qf = {
|
|
17323
17323
|
Int8Array,
|
|
17324
17324
|
Uint8Array,
|
|
17325
17325
|
// Workaround for IE11 pre KB2929437. See #11440
|
|
@@ -17331,11 +17331,11 @@ var Wf = {
|
|
|
17331
17331
|
Float32Array,
|
|
17332
17332
|
Float64Array
|
|
17333
17333
|
};
|
|
17334
|
-
function
|
|
17334
|
+
function Mm(e) {
|
|
17335
17335
|
Vt.call(this, e);
|
|
17336
17336
|
}
|
|
17337
|
-
|
|
17338
|
-
constructor:
|
|
17337
|
+
Mm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
17338
|
+
constructor: Mm,
|
|
17339
17339
|
load: function(e, n, t, i) {
|
|
17340
17340
|
var r = this, s = this.path === "" ? Vw.extractUrlBase(e) : this.path;
|
|
17341
17341
|
this.resourcePath = this.resourcePath || s;
|
|
@@ -17374,7 +17374,7 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17374
17374
|
parseGeometries: function(e, n) {
|
|
17375
17375
|
var t = {};
|
|
17376
17376
|
if (e !== void 0)
|
|
17377
|
-
for (var i = new
|
|
17377
|
+
for (var i = new xm(), r = 0, s = e.length; r < s; r++) {
|
|
17378
17378
|
var o, a = e[r];
|
|
17379
17379
|
switch (a.type) {
|
|
17380
17380
|
case "PlaneGeometry":
|
|
@@ -17492,7 +17492,7 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17492
17492
|
case "TubeGeometry":
|
|
17493
17493
|
case "TubeBufferGeometry":
|
|
17494
17494
|
o = new Un[a.type](
|
|
17495
|
-
new
|
|
17495
|
+
new hm[a.path.type]().fromJSON(a.path),
|
|
17496
17496
|
a.tubularSegments,
|
|
17497
17497
|
a.radius,
|
|
17498
17498
|
a.radialSegments,
|
|
@@ -17535,7 +17535,7 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17535
17535
|
u.push(h);
|
|
17536
17536
|
}
|
|
17537
17537
|
var d = a.options.extrudePath;
|
|
17538
|
-
d !== void 0 && (a.options.extrudePath = new
|
|
17538
|
+
d !== void 0 && (a.options.extrudePath = new hm[d.type]().fromJSON(d)), o = new Un[a.type](
|
|
17539
17539
|
u,
|
|
17540
17540
|
a.options
|
|
17541
17541
|
);
|
|
@@ -17558,7 +17558,7 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17558
17558
|
parseMaterials: function(e, n) {
|
|
17559
17559
|
var t = {}, i = {};
|
|
17560
17560
|
if (e !== void 0) {
|
|
17561
|
-
var r = new
|
|
17561
|
+
var r = new Am();
|
|
17562
17562
|
r.setTextures(n);
|
|
17563
17563
|
for (var s = 0, o = e.length; s < o; s++) {
|
|
17564
17564
|
var a = e[s];
|
|
@@ -17642,7 +17642,7 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17642
17642
|
}
|
|
17643
17643
|
switch (e.type) {
|
|
17644
17644
|
case "Scene":
|
|
17645
|
-
i = new Jl(), e.background !== void 0 && Number.isInteger(e.background) && (i.background = new Qe(e.background)), e.fog !== void 0 && (e.fog.type === "Fog" ? i.fog = new
|
|
17645
|
+
i = new Jl(), e.background !== void 0 && Number.isInteger(e.background) && (i.background = new Qe(e.background)), e.fog !== void 0 && (e.fog.type === "Fog" ? i.fog = new Qp(e.fog.color, e.fog.near, e.fog.far) : e.fog.type === "FogExp2" && (i.fog = new Wp(e.fog.color, e.fog.density)));
|
|
17646
17646
|
break;
|
|
17647
17647
|
case "PerspectiveCamera":
|
|
17648
17648
|
i = new An(e.fov, e.aspect, e.near, e.far), e.focus !== void 0 && (i.focus = e.focus), e.zoom !== void 0 && (i.zoom = e.zoom), e.filmGauge !== void 0 && (i.filmGauge = e.filmGauge), e.filmOffset !== void 0 && (i.filmOffset = e.filmOffset), e.view !== void 0 && (i.view = Object.assign({}, e.view));
|
|
@@ -17651,22 +17651,22 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17651
17651
|
i = new Mc(e.left, e.right, e.top, e.bottom, e.near, e.far), e.zoom !== void 0 && (i.zoom = e.zoom), e.view !== void 0 && (i.view = Object.assign({}, e.view));
|
|
17652
17652
|
break;
|
|
17653
17653
|
case "AmbientLight":
|
|
17654
|
-
i = new
|
|
17654
|
+
i = new ym(e.color, e.intensity);
|
|
17655
17655
|
break;
|
|
17656
17656
|
case "DirectionalLight":
|
|
17657
|
-
i = new
|
|
17657
|
+
i = new vm(e.color, e.intensity);
|
|
17658
17658
|
break;
|
|
17659
17659
|
case "PointLight":
|
|
17660
|
-
i = new
|
|
17660
|
+
i = new mm(e.color, e.intensity, e.distance, e.decay);
|
|
17661
17661
|
break;
|
|
17662
17662
|
case "RectAreaLight":
|
|
17663
|
-
i = new
|
|
17663
|
+
i = new bm(e.color, e.intensity, e.width, e.height);
|
|
17664
17664
|
break;
|
|
17665
17665
|
case "SpotLight":
|
|
17666
|
-
i = new
|
|
17666
|
+
i = new fm(e.color, e.intensity, e.distance, e.angle, e.penumbra, e.decay);
|
|
17667
17667
|
break;
|
|
17668
17668
|
case "HemisphereLight":
|
|
17669
|
-
i = new
|
|
17669
|
+
i = new um(e.color, e.groundColor, e.intensity);
|
|
17670
17670
|
break;
|
|
17671
17671
|
case "LightProbe":
|
|
17672
17672
|
i = new Di().fromJSON(e);
|
|
@@ -17679,7 +17679,7 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17679
17679
|
break;
|
|
17680
17680
|
case "InstancedMesh":
|
|
17681
17681
|
var o = r(e.geometry), a = s(e.material), l = e.count, c = e.instanceMatrix;
|
|
17682
|
-
i = new
|
|
17682
|
+
i = new Jp(o, a, l), i.instanceMatrix = new ut(new Float32Array(c.array), 16);
|
|
17683
17683
|
break;
|
|
17684
17684
|
case "LOD":
|
|
17685
17685
|
i = new Tu();
|
|
@@ -17688,17 +17688,17 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17688
17688
|
i = new vi(r(e.geometry), s(e.material), e.mode);
|
|
17689
17689
|
break;
|
|
17690
17690
|
case "LineLoop":
|
|
17691
|
-
i = new
|
|
17691
|
+
i = new qp(r(e.geometry), s(e.material));
|
|
17692
17692
|
break;
|
|
17693
17693
|
case "LineSegments":
|
|
17694
17694
|
i = new gn(r(e.geometry), s(e.material));
|
|
17695
17695
|
break;
|
|
17696
17696
|
case "PointCloud":
|
|
17697
17697
|
case "Points":
|
|
17698
|
-
i = new
|
|
17698
|
+
i = new $p(r(e.geometry), s(e.material));
|
|
17699
17699
|
break;
|
|
17700
17700
|
case "Sprite":
|
|
17701
|
-
i = new
|
|
17701
|
+
i = new Yp(s(e.material));
|
|
17702
17702
|
break;
|
|
17703
17703
|
case "Group":
|
|
17704
17704
|
i = new ic();
|
|
@@ -17720,22 +17720,22 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17720
17720
|
}
|
|
17721
17721
|
});
|
|
17722
17722
|
var H3 = {
|
|
17723
|
-
UVMapping:
|
|
17724
|
-
CubeReflectionMapping:
|
|
17725
|
-
CubeRefractionMapping:
|
|
17723
|
+
UVMapping: ig,
|
|
17724
|
+
CubeReflectionMapping: rg,
|
|
17725
|
+
CubeRefractionMapping: sg,
|
|
17726
17726
|
EquirectangularReflectionMapping: uw,
|
|
17727
|
-
EquirectangularRefractionMapping:
|
|
17727
|
+
EquirectangularRefractionMapping: og,
|
|
17728
17728
|
SphericalReflectionMapping: dw,
|
|
17729
17729
|
CubeUVReflectionMapping: Gc,
|
|
17730
|
-
CubeUVRefractionMapping:
|
|
17730
|
+
CubeUVRefractionMapping: ag
|
|
17731
17731
|
}, S0 = {
|
|
17732
17732
|
RepeatWrapping: wu,
|
|
17733
17733
|
ClampToEdgeWrapping: Kn,
|
|
17734
17734
|
MirroredRepeatWrapping: xu
|
|
17735
17735
|
}, T0 = {
|
|
17736
17736
|
NearestFilter: mn,
|
|
17737
|
-
NearestMipmapNearestFilter:
|
|
17738
|
-
NearestMipmapLinearFilter:
|
|
17737
|
+
NearestMipmapNearestFilter: Op,
|
|
17738
|
+
NearestMipmapLinearFilter: zp,
|
|
17739
17739
|
LinearFilter: Bn,
|
|
17740
17740
|
LinearMipmapNearestFilter: fw,
|
|
17741
17741
|
LinearMipmapLinearFilter: _d
|
|
@@ -17936,11 +17936,11 @@ var Hh, Hw = {
|
|
|
17936
17936
|
Hh = e;
|
|
17937
17937
|
}
|
|
17938
17938
|
};
|
|
17939
|
-
function
|
|
17939
|
+
function Em(e) {
|
|
17940
17940
|
Vt.call(this, e);
|
|
17941
17941
|
}
|
|
17942
|
-
|
|
17943
|
-
constructor:
|
|
17942
|
+
Em.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
17943
|
+
constructor: Em,
|
|
17944
17944
|
load: function(e, n, t, i) {
|
|
17945
17945
|
var r = this, s = new tr(r.manager);
|
|
17946
17946
|
s.setResponseType("arraybuffer"), s.setPath(r.path), s.load(e, function(o) {
|
|
@@ -18357,7 +18357,7 @@ Object.assign(Qw.prototype, {
|
|
|
18357
18357
|
}
|
|
18358
18358
|
}
|
|
18359
18359
|
});
|
|
18360
|
-
var
|
|
18360
|
+
var pg = "\\[\\]\\.:\\/", Z3 = new RegExp("[" + pg + "]", "g"), mg = "[^" + pg + "]", J3 = "[^" + pg.replace("\\.", "") + "]", q3 = /((?:WC+[\/:])*)/.source.replace("WC", mg), K3 = /(WCOD+)?/.source.replace("WCOD", J3), $3 = /(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC", mg), eT = /\.(WC+)(?:\[(.+)\])?/.source.replace("WC", mg), tT = new RegExp(
|
|
18361
18361
|
"^" + q3 + K3 + $3 + eT + "$"
|
|
18362
18362
|
), nT = ["material", "materials", "bones"];
|
|
18363
18363
|
function Yw(e, n, t) {
|
|
@@ -18860,7 +18860,7 @@ Object.assign(Xw.prototype, {
|
|
|
18860
18860
|
for (var h = 0, u = l.length; h !== u; ++h)
|
|
18861
18861
|
l[h].evaluate(o), c[h].accumulateAdditive(a);
|
|
18862
18862
|
break;
|
|
18863
|
-
case
|
|
18863
|
+
case lg:
|
|
18864
18864
|
default:
|
|
18865
18865
|
for (var h = 0, u = l.length; h !== u; ++h)
|
|
18866
18866
|
l[h].evaluate(o), c[h].accumulate(i, a);
|
|
@@ -19113,7 +19113,7 @@ G0.prototype = Object.assign(Object.create(Or.prototype), {
|
|
|
19113
19113
|
// previously unknown clip/root combination is specified)
|
|
19114
19114
|
clipAction: function(e, n, t) {
|
|
19115
19115
|
var i = n || this._root, r = i.uuid, s = typeof e == "string" ? Pi.findByName(i, e) : e, o = s !== null ? s.uuid : e, a = this._actionsByClip[o], l = null;
|
|
19116
|
-
if (t === void 0 && (s !== null ? t = s.blendMode : t =
|
|
19116
|
+
if (t === void 0 && (s !== null ? t = s.blendMode : t = lg), a !== void 0) {
|
|
19117
19117
|
var c = a.actionByRoot[r];
|
|
19118
19118
|
if (c !== void 0 && c.blendMode === t)
|
|
19119
19119
|
return c;
|
|
@@ -19190,11 +19190,11 @@ G0.prototype = Object.assign(Object.create(Or.prototype), {
|
|
|
19190
19190
|
t !== null && (this._deactivateAction(t), this._removeInactiveAction(t));
|
|
19191
19191
|
}
|
|
19192
19192
|
});
|
|
19193
|
-
function
|
|
19193
|
+
function Cm(e) {
|
|
19194
19194
|
typeof e == "string" && (console.warn("THREE.Uniform: Type parameter is no longer needed."), e = arguments[1]), this.value = e;
|
|
19195
19195
|
}
|
|
19196
|
-
|
|
19197
|
-
return new
|
|
19196
|
+
Cm.prototype.clone = function() {
|
|
19197
|
+
return new Cm(this.value.clone === void 0 ? this.value : this.value.clone());
|
|
19198
19198
|
};
|
|
19199
19199
|
function Ku(e, n, t) {
|
|
19200
19200
|
ls.call(this, e, n), this.meshPerAttribute = t || 1;
|
|
@@ -19207,7 +19207,7 @@ Ku.prototype = Object.assign(Object.create(ls.prototype), {
|
|
|
19207
19207
|
}
|
|
19208
19208
|
});
|
|
19209
19209
|
function Zw(e, n, t, i) {
|
|
19210
|
-
this.ray = new Ha(e, n), this.near = t || 0, this.far = i || 1 / 0, this.camera = null, this.layers = new
|
|
19210
|
+
this.ray = new Ha(e, n), this.near = t || 0, this.far = i || 1 / 0, this.camera = null, this.layers = new ug(), this.params = {
|
|
19211
19211
|
Mesh: {},
|
|
19212
19212
|
Line: { threshold: 1 },
|
|
19213
19213
|
LOD: {},
|
|
@@ -19224,10 +19224,10 @@ function Zw(e, n, t, i) {
|
|
|
19224
19224
|
function j0(e, n) {
|
|
19225
19225
|
return e.distance - n.distance;
|
|
19226
19226
|
}
|
|
19227
|
-
function
|
|
19227
|
+
function Pm(e, n, t, i) {
|
|
19228
19228
|
if (e.layers.test(n.layers) && e.raycast(n, t), i === !0)
|
|
19229
19229
|
for (var r = e.children, s = 0, o = r.length; s < o; s++)
|
|
19230
|
-
|
|
19230
|
+
Pm(r[s], n, t, !0);
|
|
19231
19231
|
}
|
|
19232
19232
|
Object.assign(Zw.prototype, {
|
|
19233
19233
|
set: function(e, n) {
|
|
@@ -19238,14 +19238,14 @@ Object.assign(Zw.prototype, {
|
|
|
19238
19238
|
},
|
|
19239
19239
|
intersectObject: function(e, n, t) {
|
|
19240
19240
|
var i = t || [];
|
|
19241
|
-
return
|
|
19241
|
+
return Pm(e, this, i, n), i.sort(j0), i;
|
|
19242
19242
|
},
|
|
19243
19243
|
intersectObjects: function(e, n, t) {
|
|
19244
19244
|
var i = t || [];
|
|
19245
19245
|
if (Array.isArray(e) === !1)
|
|
19246
19246
|
return console.warn("THREE.Raycaster.intersectObjects: objects is not an Array."), i;
|
|
19247
19247
|
for (var r = 0, s = e.length; r < s; r++)
|
|
19248
|
-
|
|
19248
|
+
Pm(e[r], this, i, n);
|
|
19249
19249
|
return i.sort(j0), i;
|
|
19250
19250
|
}
|
|
19251
19251
|
});
|
|
@@ -19485,7 +19485,7 @@ Cc.prototype.update = function() {
|
|
|
19485
19485
|
var e = this.light.distance ? this.light.distance : 1e3, n = e * Math.tan(this.light.angle);
|
|
19486
19486
|
this.cone.scale.set(n, n, e), W0.setFromMatrixPosition(this.light.target.matrixWorld), this.cone.lookAt(W0), this.color !== void 0 ? this.cone.material.color.set(this.color) : this.cone.material.color.copy(this.light.color);
|
|
19487
19487
|
};
|
|
19488
|
-
var Xr = new B(), Wh = new Mt(),
|
|
19488
|
+
var Xr = new B(), Wh = new Mt(), Yf = new Mt();
|
|
19489
19489
|
function Kw(e) {
|
|
19490
19490
|
var n = [];
|
|
19491
19491
|
e && e.isBone && n.push(e);
|
|
@@ -19507,10 +19507,10 @@ Ca.prototype.constructor = Ca;
|
|
|
19507
19507
|
Ca.prototype.isSkeletonHelper = !0;
|
|
19508
19508
|
Ca.prototype.updateMatrixWorld = function(e) {
|
|
19509
19509
|
var n = this.bones, t = this.geometry, i = t.getAttribute("position");
|
|
19510
|
-
|
|
19510
|
+
Yf.getInverse(this.root.matrixWorld);
|
|
19511
19511
|
for (var r = 0, s = 0; r < n.length; r++) {
|
|
19512
19512
|
var o = n[r];
|
|
19513
|
-
o.parent && o.parent.isBone && (Wh.multiplyMatrices(
|
|
19513
|
+
o.parent && o.parent.isBone && (Wh.multiplyMatrices(Yf, o.matrixWorld), Xr.setFromMatrixPosition(Wh), i.setXYZ(s, Xr.x, Xr.y, Xr.z), Wh.multiplyMatrices(Yf, o.parent.matrixWorld), Xr.setFromMatrixPosition(Wh), i.setXYZ(s + 1, Xr.x, Xr.y, Xr.z), s += 2);
|
|
19514
19514
|
}
|
|
19515
19515
|
t.getAttribute("position").needsUpdate = !0, je.prototype.updateMatrixWorld.call(this, e);
|
|
19516
19516
|
};
|
|
@@ -19555,7 +19555,7 @@ _c.prototype.update = function() {
|
|
|
19555
19555
|
}
|
|
19556
19556
|
e.lookAt(oT.setFromMatrixPosition(this.light.matrixWorld).negate());
|
|
19557
19557
|
};
|
|
19558
|
-
function
|
|
19558
|
+
function _m(e, n, t, i) {
|
|
19559
19559
|
e = e || 10, n = n || 10, t = new Qe(t !== void 0 ? t : 4473924), i = new Qe(i !== void 0 ? i : 8947848);
|
|
19560
19560
|
for (var r = n / 2, s = e / n, o = e / 2, a = [], l = [], c = 0, h = 0, u = -o; c <= n; c++, u += s) {
|
|
19561
19561
|
a.push(-o, 0, u, o, 0, u), a.push(u, 0, -o, u, 0, o);
|
|
@@ -19567,8 +19567,8 @@ function Pm(e, n, t, i) {
|
|
|
19567
19567
|
var m = new un({ vertexColors: !0, toneMapped: !1 });
|
|
19568
19568
|
gn.call(this, f, m), this.type = "GridHelper";
|
|
19569
19569
|
}
|
|
19570
|
-
|
|
19571
|
-
constructor:
|
|
19570
|
+
_m.prototype = Object.assign(Object.create(gn.prototype), {
|
|
19571
|
+
constructor: _m,
|
|
19572
19572
|
copy: function(e) {
|
|
19573
19573
|
return gn.prototype.copy.call(this, e), this.geometry.copy(e.geometry), this.material.copy(e.material), this;
|
|
19574
19574
|
},
|
|
@@ -19576,7 +19576,7 @@ Pm.prototype = Object.assign(Object.create(gn.prototype), {
|
|
|
19576
19576
|
return new this.constructor().copy(this);
|
|
19577
19577
|
}
|
|
19578
19578
|
});
|
|
19579
|
-
function
|
|
19579
|
+
function Im(e, n, t, i, r, s) {
|
|
19580
19580
|
e = e || 10, n = n || 16, t = t || 8, i = i || 64, r = new Qe(r !== void 0 ? r : 4473924), s = new Qe(s !== void 0 ? s : 8947848);
|
|
19581
19581
|
var o = [], a = [], l, c, h, u, d, f, m;
|
|
19582
19582
|
for (u = 0; u <= n; u++)
|
|
@@ -19589,8 +19589,8 @@ function _m(e, n, t, i, r, s) {
|
|
|
19589
19589
|
var g = new un({ vertexColors: !0, toneMapped: !1 });
|
|
19590
19590
|
gn.call(this, p, g), this.type = "PolarGridHelper";
|
|
19591
19591
|
}
|
|
19592
|
-
|
|
19593
|
-
|
|
19592
|
+
Im.prototype = Object.create(gn.prototype);
|
|
19593
|
+
Im.prototype.constructor = Im;
|
|
19594
19594
|
var X0 = new B(), Qh = new B(), Z0 = new B();
|
|
19595
19595
|
function Ic(e, n, t) {
|
|
19596
19596
|
je.call(this), this.light = e, this.light.updateMatrixWorld(), this.matrix = e.matrixWorld, this.matrixAutoUpdate = !1, this.color = t, n === void 0 && (n = 1);
|
|
@@ -19695,9 +19695,9 @@ nd.prototype.updateMatrixWorld = function(e) {
|
|
|
19695
19695
|
var n = -this.plane.constant;
|
|
19696
19696
|
Math.abs(n) < 1e-8 && (n = 1e-8), this.scale.set(0.5 * this.size, 0.5 * this.size, n), this.children[0].material.side = n < 0 ? xn : Vc, this.lookAt(this.plane.normal), je.prototype.updateMatrixWorld.call(this, e);
|
|
19697
19697
|
};
|
|
19698
|
-
var J0 = new B(), Zh,
|
|
19698
|
+
var J0 = new B(), Zh, Xf;
|
|
19699
19699
|
function ds(e, n, t, i, r, s) {
|
|
19700
|
-
je.call(this), this.type = "ArrowHelper", e === void 0 && (e = new B(0, 0, 1)), n === void 0 && (n = new B(0, 0, 0)), t === void 0 && (t = 1), i === void 0 && (i = 16776960), r === void 0 && (r = 0.2 * t), s === void 0 && (s = 0.2 * r), Zh === void 0 && (Zh = new Xe(), Zh.setAttribute("position", new ze([0, 0, 0, 0, 1, 0], 3)),
|
|
19700
|
+
je.call(this), this.type = "ArrowHelper", e === void 0 && (e = new B(0, 0, 1)), n === void 0 && (n = new B(0, 0, 0)), t === void 0 && (t = 1), i === void 0 && (i = 16776960), r === void 0 && (r = 0.2 * t), s === void 0 && (s = 0.2 * r), Zh === void 0 && (Zh = new Xe(), Zh.setAttribute("position", new ze([0, 0, 0, 0, 1, 0], 3)), Xf = new hs(0, 0.5, 1, 5, 1), Xf.translate(0, -0.5, 0)), this.position.copy(n), this.line = new vi(Zh, new un({ color: i, toneMapped: !1 })), this.line.matrixAutoUpdate = !1, this.add(this.line), this.cone = new en(Xf, new ki({ color: i, toneMapped: !1 })), this.cone.matrixAutoUpdate = !1, this.add(this.cone), this.setDirection(e), this.setLength(t, r, s);
|
|
19701
19701
|
}
|
|
19702
19702
|
ds.prototype = Object.create(je.prototype);
|
|
19703
19703
|
ds.prototype.constructor = ds;
|
|
@@ -19724,7 +19724,7 @@ ds.prototype.copy = function(e) {
|
|
|
19724
19724
|
ds.prototype.clone = function() {
|
|
19725
19725
|
return new this.constructor().copy(this);
|
|
19726
19726
|
};
|
|
19727
|
-
function
|
|
19727
|
+
function Sm(e) {
|
|
19728
19728
|
e = e || 1;
|
|
19729
19729
|
var n = [
|
|
19730
19730
|
0,
|
|
@@ -19769,17 +19769,17 @@ function Im(e) {
|
|
|
19769
19769
|
var r = new un({ vertexColors: !0, toneMapped: !1 });
|
|
19770
19770
|
gn.call(this, i, r), this.type = "AxesHelper";
|
|
19771
19771
|
}
|
|
19772
|
-
|
|
19773
|
-
|
|
19772
|
+
Sm.prototype = Object.create(gn.prototype);
|
|
19773
|
+
Sm.prototype.constructor = Sm;
|
|
19774
19774
|
var Ko = 4, rs = 8, Qi = Math.pow(2, rs), $w = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], ex = rs - Ko + 1 + $w.length, Bo = 20, Zi = {
|
|
19775
19775
|
[$n]: 0,
|
|
19776
19776
|
[Id]: 1,
|
|
19777
|
-
[
|
|
19777
|
+
[hg]: 2,
|
|
19778
19778
|
[mw]: 3,
|
|
19779
19779
|
[gw]: 4,
|
|
19780
19780
|
[vw]: 5,
|
|
19781
|
-
[
|
|
19782
|
-
},
|
|
19781
|
+
[cg]: 6
|
|
19782
|
+
}, Zf = new Mc(), { _lodPlanes: yl, _sizeLods: q0, _sigmas: Jh } = lT(), Jf = null, zs = (1 + Math.sqrt(5)) / 2, So = 1 / zs, K0 = [
|
|
19783
19783
|
new B(1, 1, 1),
|
|
19784
19784
|
new B(-1, 1, 1),
|
|
19785
19785
|
new B(1, 1, -1),
|
|
@@ -19804,7 +19804,7 @@ $0.prototype = {
|
|
|
19804
19804
|
* is placed at the origin).
|
|
19805
19805
|
*/
|
|
19806
19806
|
fromScene: function(e, n = 0, t = 0.1, i = 100) {
|
|
19807
|
-
|
|
19807
|
+
Jf = this._renderer.getRenderTarget();
|
|
19808
19808
|
var r = this._allocateTargets();
|
|
19809
19809
|
return this._sceneToCubeUV(e, t, i, r), n > 0 && this._blur(r, 0, 0, n), this._applyPMREM(r), this._cleanup(r), r;
|
|
19810
19810
|
},
|
|
@@ -19822,7 +19822,7 @@ $0.prototype = {
|
|
|
19822
19822
|
* as this matches best with the 256 x 256 cubemap output.
|
|
19823
19823
|
*/
|
|
19824
19824
|
fromCubemap: function(e) {
|
|
19825
|
-
|
|
19825
|
+
Jf = this._renderer.getRenderTarget();
|
|
19826
19826
|
var n = this._allocateTargets(e);
|
|
19827
19827
|
return this._textureToCubeUV(e, n), this._applyPMREM(n), this._cleanup(n), n;
|
|
19828
19828
|
},
|
|
@@ -19852,7 +19852,7 @@ $0.prototype = {
|
|
|
19852
19852
|
},
|
|
19853
19853
|
// private interface
|
|
19854
19854
|
_cleanup: function(e) {
|
|
19855
|
-
this._pingPongRenderTarget.dispose(), this._renderer.setRenderTarget(
|
|
19855
|
+
this._pingPongRenderTarget.dispose(), this._renderer.setRenderTarget(Jf), e.scissorTest = !1, e.setSize(e.width, e.height);
|
|
19856
19856
|
},
|
|
19857
19857
|
_allocateTargets: function(e) {
|
|
19858
19858
|
var n = {
|
|
@@ -19861,7 +19861,7 @@ $0.prototype = {
|
|
|
19861
19861
|
generateMipmaps: !1,
|
|
19862
19862
|
type: jc,
|
|
19863
19863
|
format: uP,
|
|
19864
|
-
encoding: aT(e) ? e.encoding :
|
|
19864
|
+
encoding: aT(e) ? e.encoding : hg,
|
|
19865
19865
|
depthBuffer: !1,
|
|
19866
19866
|
stencilBuffer: !1
|
|
19867
19867
|
}, t = ey(n);
|
|
@@ -19869,7 +19869,7 @@ $0.prototype = {
|
|
|
19869
19869
|
},
|
|
19870
19870
|
_compileMaterial: function(e) {
|
|
19871
19871
|
var n = new en(yl[0], e);
|
|
19872
|
-
this._renderer.compile(n,
|
|
19872
|
+
this._renderer.compile(n, Zf);
|
|
19873
19873
|
},
|
|
19874
19874
|
_sceneToCubeUV: function(e, n, t, i) {
|
|
19875
19875
|
var r = 90, s = 1, o = new An(r, s, n, t), a = [1, -1, 1, 1, 1, 1], l = [1, 1, 1, -1, -1, -1], c = this._renderer, h = c.outputEncoding, u = c.toneMapping, d = c.toneMappingExposure, f = c.getClearColor(), m = c.getClearAlpha();
|
|
@@ -19884,7 +19884,7 @@ $0.prototype = {
|
|
|
19884
19884
|
}
|
|
19885
19885
|
for (var A = 0; A < 6; A++) {
|
|
19886
19886
|
var w = A % 3;
|
|
19887
|
-
w == 0 ? (o.up.set(0, a[A], 0), o.lookAt(l[A], 0, 0)) : w == 1 ? (o.up.set(0, 0, a[A]), o.lookAt(0, l[A], 0)) : (o.up.set(0, a[A], 0), o.lookAt(0, 0, l[A])),
|
|
19887
|
+
w == 0 ? (o.up.set(0, a[A], 0), o.lookAt(l[A], 0, 0)) : w == 1 ? (o.up.set(0, 0, a[A]), o.lookAt(0, l[A], 0)) : (o.up.set(0, a[A], 0), o.lookAt(0, 0, l[A])), qf(
|
|
19888
19888
|
i,
|
|
19889
19889
|
w * Qi,
|
|
19890
19890
|
A > 2 ? Qi : 0,
|
|
@@ -19898,7 +19898,7 @@ $0.prototype = {
|
|
|
19898
19898
|
var t = this._renderer;
|
|
19899
19899
|
e.isCubeTexture ? this._cubemapShader == null && (this._cubemapShader = ny()) : this._equirectShader == null && (this._equirectShader = ty());
|
|
19900
19900
|
var i = e.isCubeTexture ? this._cubemapShader : this._equirectShader, r = new en(yl[0], i), s = i.uniforms;
|
|
19901
|
-
s.envMap.value = e, e.isCubeTexture || s.texelSize.value.set(1 / e.image.width, 1 / e.image.height), s.inputEncoding.value = Zi[e.encoding], s.outputEncoding.value = Zi[n.texture.encoding],
|
|
19901
|
+
s.envMap.value = e, e.isCubeTexture || s.texelSize.value.set(1 / e.image.width, 1 / e.image.height), s.inputEncoding.value = Zi[e.encoding], s.outputEncoding.value = Zi[n.texture.encoding], qf(n, 0, 0, 3 * Qi, 2 * Qi), t.setRenderTarget(n), t.render(r, Zf);
|
|
19902
19902
|
},
|
|
19903
19903
|
_applyPMREM: function(e) {
|
|
19904
19904
|
var n = this._renderer, t = n.autoClear;
|
|
@@ -19951,11 +19951,11 @@ $0.prototype = {
|
|
|
19951
19951
|
g[b] = g[b] / y;
|
|
19952
19952
|
u.envMap.value = e.texture, u.samples.value = p, u.weights.value = g, u.latitudinal.value = s === "latitudinal", o && (u.poleAxis.value = o), u.dTheta.value = f, u.mipInt.value = rs - t, u.inputEncoding.value = Zi[e.texture.encoding], u.outputEncoding.value = Zi[e.texture.encoding];
|
|
19953
19953
|
var w = q0[i], x = 3 * Math.max(0, Qi - 2 * w), M = (i === 0 ? 0 : 2 * Qi) + 2 * w * (i > rs - Ko ? i - rs + Ko : 0);
|
|
19954
|
-
|
|
19954
|
+
qf(n, x, M, 3 * w, 2 * w), a.setRenderTarget(n), a.render(h, Zf);
|
|
19955
19955
|
}
|
|
19956
19956
|
};
|
|
19957
19957
|
function aT(e) {
|
|
19958
|
-
return e === void 0 || e.type !== jc ? !1 : e.encoding === $n || e.encoding === Id || e.encoding ===
|
|
19958
|
+
return e === void 0 || e.type !== jc ? !1 : e.encoding === $n || e.encoding === Id || e.encoding === cg;
|
|
19959
19959
|
}
|
|
19960
19960
|
function lT() {
|
|
19961
19961
|
for (var e = [], n = [], t = [], i = rs, r = 0; r < ex; r++) {
|
|
@@ -19997,7 +19997,7 @@ function ey(e) {
|
|
|
19997
19997
|
var n = new fi(3 * Qi, 3 * Qi, e);
|
|
19998
19998
|
return n.texture.mapping = Gc, n.texture.name = "PMREM.cubeUv", n.scissorTest = !0, n;
|
|
19999
19999
|
}
|
|
20000
|
-
function
|
|
20000
|
+
function qf(e, n, t, i, r) {
|
|
20001
20001
|
e.viewport.set(n, t, i, r), e.scissor.set(n, t, i, r);
|
|
20002
20002
|
}
|
|
20003
20003
|
function cT(e) {
|
|
@@ -20014,7 +20014,7 @@ function cT(e) {
|
|
|
20014
20014
|
inputEncoding: { value: Zi[$n] },
|
|
20015
20015
|
outputEncoding: { value: Zi[$n] }
|
|
20016
20016
|
},
|
|
20017
|
-
vertexShader:
|
|
20017
|
+
vertexShader: gg(),
|
|
20018
20018
|
fragmentShader: `
|
|
20019
20019
|
precision mediump float;
|
|
20020
20020
|
precision mediump int;
|
|
@@ -20027,7 +20027,7 @@ uniform float dTheta;
|
|
|
20027
20027
|
uniform float mipInt;
|
|
20028
20028
|
uniform vec3 poleAxis;
|
|
20029
20029
|
|
|
20030
|
-
${
|
|
20030
|
+
${vg()}
|
|
20031
20031
|
|
|
20032
20032
|
#define ENVMAP_TYPE_CUBE_UV
|
|
20033
20033
|
#include <cube_uv_reflection_fragment>
|
|
@@ -20072,7 +20072,7 @@ function ty() {
|
|
|
20072
20072
|
inputEncoding: { value: Zi[$n] },
|
|
20073
20073
|
outputEncoding: { value: Zi[$n] }
|
|
20074
20074
|
},
|
|
20075
|
-
vertexShader:
|
|
20075
|
+
vertexShader: gg(),
|
|
20076
20076
|
fragmentShader: `
|
|
20077
20077
|
precision mediump float;
|
|
20078
20078
|
precision mediump int;
|
|
@@ -20080,7 +20080,7 @@ varying vec3 vOutputDirection;
|
|
|
20080
20080
|
uniform sampler2D envMap;
|
|
20081
20081
|
uniform vec2 texelSize;
|
|
20082
20082
|
|
|
20083
|
-
${
|
|
20083
|
+
${vg()}
|
|
20084
20084
|
|
|
20085
20085
|
#include <common>
|
|
20086
20086
|
|
|
@@ -20116,14 +20116,14 @@ function ny() {
|
|
|
20116
20116
|
inputEncoding: { value: Zi[$n] },
|
|
20117
20117
|
outputEncoding: { value: Zi[$n] }
|
|
20118
20118
|
},
|
|
20119
|
-
vertexShader:
|
|
20119
|
+
vertexShader: gg(),
|
|
20120
20120
|
fragmentShader: `
|
|
20121
20121
|
precision mediump float;
|
|
20122
20122
|
precision mediump int;
|
|
20123
20123
|
varying vec3 vOutputDirection;
|
|
20124
20124
|
uniform samplerCube envMap;
|
|
20125
20125
|
|
|
20126
|
-
${
|
|
20126
|
+
${vg()}
|
|
20127
20127
|
|
|
20128
20128
|
void main() {
|
|
20129
20129
|
gl_FragColor = vec4(0.0);
|
|
@@ -20137,7 +20137,7 @@ void main() {
|
|
|
20137
20137
|
});
|
|
20138
20138
|
return e.type = "CubemapToCubeUV", e;
|
|
20139
20139
|
}
|
|
20140
|
-
function
|
|
20140
|
+
function gg() {
|
|
20141
20141
|
return `
|
|
20142
20142
|
precision mediump float;
|
|
20143
20143
|
precision mediump int;
|
|
@@ -20175,7 +20175,7 @@ void main() {
|
|
|
20175
20175
|
}
|
|
20176
20176
|
`;
|
|
20177
20177
|
}
|
|
20178
|
-
function
|
|
20178
|
+
function vg() {
|
|
20179
20179
|
return `
|
|
20180
20180
|
uniform int inputEncoding;
|
|
20181
20181
|
uniform int outputEncoding;
|
|
@@ -20268,7 +20268,7 @@ Object.assign(tx.prototype, {
|
|
|
20268
20268
|
console.error("THREE.Spline: .reparametrizeByArcLength() has been removed.");
|
|
20269
20269
|
}
|
|
20270
20270
|
});
|
|
20271
|
-
|
|
20271
|
+
_m.prototype.setColors = function() {
|
|
20272
20272
|
console.error("THREE.GridHelper: setColors() has been deprecated, pass them in the constructor instead.");
|
|
20273
20273
|
};
|
|
20274
20274
|
Ca.prototype.update = function() {
|
|
@@ -20287,7 +20287,7 @@ Vt.Handlers = {
|
|
|
20287
20287
|
console.error("THREE.Loader: Handlers.get() has been removed. Use LoadingManager.getHandler() instead.");
|
|
20288
20288
|
}
|
|
20289
20289
|
};
|
|
20290
|
-
Object.assign(
|
|
20290
|
+
Object.assign(Mm.prototype, {
|
|
20291
20291
|
setTexturePath: function(e) {
|
|
20292
20292
|
return console.warn("THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath()."), this.setResourcePath(e);
|
|
20293
20293
|
}
|
|
@@ -20587,7 +20587,7 @@ Object.defineProperties(Tu.prototype, {
|
|
|
20587
20587
|
}
|
|
20588
20588
|
}
|
|
20589
20589
|
});
|
|
20590
|
-
Object.defineProperty(
|
|
20590
|
+
Object.defineProperty(Zp.prototype, "useVertexTexture", {
|
|
20591
20591
|
get: function() {
|
|
20592
20592
|
console.warn("THREE.Skeleton: useVertexTexture has been removed.");
|
|
20593
20593
|
},
|
|
@@ -20595,7 +20595,7 @@ Object.defineProperty(Xp.prototype, "useVertexTexture", {
|
|
|
20595
20595
|
console.warn("THREE.Skeleton: useVertexTexture has been removed.");
|
|
20596
20596
|
}
|
|
20597
20597
|
});
|
|
20598
|
-
|
|
20598
|
+
Xp.prototype.initBones = function() {
|
|
20599
20599
|
console.error("THREE.SkinnedMesh: initBones() has been removed.");
|
|
20600
20600
|
};
|
|
20601
20601
|
Object.defineProperty(at.prototype, "__arcLengthDivisions", {
|
|
@@ -20789,7 +20789,7 @@ Object.assign(Ir.prototype, {
|
|
|
20789
20789
|
console.error("THREE.ExtrudeBufferGeometry: .addShape() has been removed.");
|
|
20790
20790
|
}
|
|
20791
20791
|
});
|
|
20792
|
-
Object.defineProperties(
|
|
20792
|
+
Object.defineProperties(Cm.prototype, {
|
|
20793
20793
|
dynamic: {
|
|
20794
20794
|
set: function() {
|
|
20795
20795
|
console.warn("THREE.Uniform: .dynamic has been removed. Use object.onBeforeRender() instead.");
|
|
@@ -21101,7 +21101,7 @@ Object.defineProperties(Ec.prototype, {
|
|
|
21101
21101
|
load: {
|
|
21102
21102
|
value: function(e) {
|
|
21103
21103
|
console.warn("THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.");
|
|
21104
|
-
var n = this, t = new
|
|
21104
|
+
var n = this, t = new Em();
|
|
21105
21105
|
return t.load(e, function(i) {
|
|
21106
21106
|
n.setBuffer(i);
|
|
21107
21107
|
}), this;
|
|
@@ -21122,14 +21122,14 @@ $l.prototype.updateCubeMap = function(e, n) {
|
|
|
21122
21122
|
Ys.crossOrigin = void 0;
|
|
21123
21123
|
Ys.loadTexture = function(e, n, t, i) {
|
|
21124
21124
|
console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");
|
|
21125
|
-
var r = new
|
|
21125
|
+
var r = new cm();
|
|
21126
21126
|
r.setCrossOrigin(this.crossOrigin);
|
|
21127
21127
|
var s = r.load(e, t, void 0, i);
|
|
21128
21128
|
return n && (s.mapping = n), s;
|
|
21129
21129
|
};
|
|
21130
21130
|
Ys.loadTextureCube = function(e, n, t, i) {
|
|
21131
21131
|
console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");
|
|
21132
|
-
var r = new
|
|
21132
|
+
var r = new lm();
|
|
21133
21133
|
r.setCrossOrigin(this.crossOrigin);
|
|
21134
21134
|
var s = r.load(e, t, void 0, i);
|
|
21135
21135
|
return n && (s.mapping = n), s;
|
|
@@ -21263,7 +21263,7 @@ class ti extends yE {
|
|
|
21263
21263
|
return t !== null && t.remove(this), this;
|
|
21264
21264
|
}
|
|
21265
21265
|
}
|
|
21266
|
-
function
|
|
21266
|
+
function Kf(e, n, t) {
|
|
21267
21267
|
const { x: i, y: r, z: s } = n.clone().project(e);
|
|
21268
21268
|
return s > 1 ? void 0 : {
|
|
21269
21269
|
leftPx: (i + 1) / 2 * t.x,
|
|
@@ -21286,7 +21286,7 @@ const Sc = (e, n) => {
|
|
|
21286
21286
|
return e;
|
|
21287
21287
|
const t = new C.Vector3(), i = new C.Quaternion(), r = new C.Vector3();
|
|
21288
21288
|
return n.decompose(t, i, r), e.clone().multiply(r).applyQuaternion(i).add(t);
|
|
21289
|
-
},
|
|
21289
|
+
}, $f = /* @__PURE__ */ new Map();
|
|
21290
21290
|
class hT extends nx {
|
|
21291
21291
|
constructor(t) {
|
|
21292
21292
|
super(t);
|
|
@@ -21295,10 +21295,10 @@ class hT extends nx {
|
|
|
21295
21295
|
get fromType() {
|
|
21296
21296
|
var r, s;
|
|
21297
21297
|
const t = this.workCode;
|
|
21298
|
-
if (
|
|
21299
|
-
return
|
|
21298
|
+
if ($f.has(t))
|
|
21299
|
+
return $f.get(t);
|
|
21300
21300
|
const i = (s = (r = JSON.parse(this.work.raw.works[0])) == null ? void 0 : r.from_type) != null ? s : "vr";
|
|
21301
|
-
return
|
|
21301
|
+
return $f.set(t, i), i;
|
|
21302
21302
|
}
|
|
21303
21303
|
/**
|
|
21304
21304
|
* @description 设置插件当前的 workCode
|
|
@@ -21480,7 +21480,7 @@ class Gs {
|
|
|
21480
21480
|
this.container.style.left = "-100%", this.container.style.top = "-100%";
|
|
21481
21481
|
return;
|
|
21482
21482
|
}
|
|
21483
|
-
const n = this.five.renderer.getSize(uT), t =
|
|
21483
|
+
const n = this.five.renderer.getSize(uT), t = Kf(this.five.camera, this.transformedPosition, n);
|
|
21484
21484
|
if (!t) {
|
|
21485
21485
|
this.container.style.left = "-100%", this.container.style.top = "-100%";
|
|
21486
21486
|
return;
|
|
@@ -21493,7 +21493,7 @@ class Gs {
|
|
|
21493
21493
|
})(), r = (() => {
|
|
21494
21494
|
if (this.positionsForRotate === void 0 || this.positionsForRotate.length !== 2)
|
|
21495
21495
|
return 0;
|
|
21496
|
-
const [s, o] = this.positionsForRotate, a =
|
|
21496
|
+
const [s, o] = this.positionsForRotate, a = Kf(this.five.camera, s, n), l = Kf(this.five.camera, o, n);
|
|
21497
21497
|
if (!a || !l)
|
|
21498
21498
|
return 0;
|
|
21499
21499
|
const c = a.leftPx > l.leftPx ? l : a, h = a.leftPx > l.leftPx ? a : l, u = h.leftPx - c.leftPx, d = h.topPx - c.topPx;
|
|
@@ -21512,7 +21512,7 @@ class Gs {
|
|
|
21512
21512
|
function dT(e, n, t) {
|
|
21513
21513
|
return new Gs(e, n, t);
|
|
21514
21514
|
}
|
|
21515
|
-
function
|
|
21515
|
+
function kd(e) {
|
|
21516
21516
|
ry(e), e.traverse((n) => ry(n));
|
|
21517
21517
|
}
|
|
21518
21518
|
function ry(e) {
|
|
@@ -21617,7 +21617,7 @@ class Oi extends ti {
|
|
|
21617
21617
|
resolution: r.resolution
|
|
21618
21618
|
});
|
|
21619
21619
|
this.line = new oy(i, r), this.backLine = new oy(i, s), this.line.renderOrder = 1, this.backLine.renderOrder = 0, this.line.name = "lineFrontMaterial", this.backLine.name = "lineBackMaterial", t && this.setStyle(t), t != null && t.points && this.setPoints(t.points), this.addEventListener("removed", () => {
|
|
21620
|
-
|
|
21620
|
+
kd(this);
|
|
21621
21621
|
});
|
|
21622
21622
|
}
|
|
21623
21623
|
get style() {
|
|
@@ -21894,7 +21894,7 @@ class ix {
|
|
|
21894
21894
|
v(this, "abortUpdateMagnifier", () => {
|
|
21895
21895
|
});
|
|
21896
21896
|
var r, s, o, a, l;
|
|
21897
|
-
this.five = n, this.magnifier = (t == null ? void 0 : t.magnifier) !== void 0 ? t.magnifier : new
|
|
21897
|
+
this.five = n, this.magnifier = (t == null ? void 0 : t.magnifier) !== void 0 ? t.magnifier : new ng(n, (r = t == null ? void 0 : t.magnifierParams) != null ? r : { dragEnabled: !0 });
|
|
21898
21898
|
let i;
|
|
21899
21899
|
(t == null ? void 0 : t.pointHelper) === "default" || (t == null ? void 0 : t.pointHelper) === void 0 ? i = new rw(n) : (t == null ? void 0 : t.pointHelper) === "highlight" ? i = new xT(n) : i = t.pointHelper, this.pointHelper = i, this.group.name = "five-point-selector", this.five.scene.add(this.group), (l = this.magnifier) == null || l.appendTo((a = (o = t.container) != null ? o : (s = n.getElement()) == null ? void 0 : s.parentElement) != null ? a : document.body);
|
|
21900
21900
|
}
|
|
@@ -21930,16 +21930,16 @@ class sx extends bE {
|
|
|
21930
21930
|
super(n, t);
|
|
21931
21931
|
}
|
|
21932
21932
|
}
|
|
21933
|
-
const
|
|
21933
|
+
const ep = new C.Vector3();
|
|
21934
21934
|
class MT extends C.Sphere {
|
|
21935
21935
|
expandByPoint(n) {
|
|
21936
21936
|
if (this.isEmpty())
|
|
21937
21937
|
return this.center.copy(n), this.radius = 0, this;
|
|
21938
|
-
|
|
21939
|
-
const t =
|
|
21938
|
+
ep.subVectors(n, this.center);
|
|
21939
|
+
const t = ep.lengthSq();
|
|
21940
21940
|
if (t > this.radius * this.radius) {
|
|
21941
21941
|
const i = Math.sqrt(t), r = (i - this.radius) * 0.5;
|
|
21942
|
-
this.center.addScaledVector(
|
|
21942
|
+
this.center.addScaledVector(ep, r / i), this.radius += r;
|
|
21943
21943
|
}
|
|
21944
21944
|
return this;
|
|
21945
21945
|
}
|
|
@@ -21985,12 +21985,12 @@ function ox(e) {
|
|
|
21985
21985
|
return bg(e, "sphere");
|
|
21986
21986
|
}
|
|
21987
21987
|
function CT(e) {
|
|
21988
|
-
return
|
|
21988
|
+
return Rd(e, "box3");
|
|
21989
21989
|
}
|
|
21990
21990
|
function ax(e) {
|
|
21991
|
-
return
|
|
21991
|
+
return Rd(e, "sphere");
|
|
21992
21992
|
}
|
|
21993
|
-
function
|
|
21993
|
+
function Rd(e, n) {
|
|
21994
21994
|
const t = n === "box3" ? new C.Box3() : new MT(), i = new C.Vector3();
|
|
21995
21995
|
if (e.updateWorldMatrix(!1, !1), e.traverse((r) => {
|
|
21996
21996
|
var o;
|
|
@@ -22012,7 +22012,7 @@ function kd(e, n) {
|
|
|
22012
22012
|
return t;
|
|
22013
22013
|
}
|
|
22014
22014
|
function bg(e, n) {
|
|
22015
|
-
const t =
|
|
22015
|
+
const t = Rd(e, n);
|
|
22016
22016
|
return t && t.applyMatrix4(PT(e.matrixWorld.clone())), t;
|
|
22017
22017
|
}
|
|
22018
22018
|
const PT = (e) => {
|
|
@@ -22050,7 +22050,7 @@ function ay(e) {
|
|
|
22050
22050
|
i && (t instanceof HTMLElement && (t.style.opacity = i.opacity === void 0 ? "" : i.opacity, t.style.display = i.visible.display, t.style.visibility = i.visible.visibility), t.isObject3D && (t.visible = i.visible, t.material && (t.material instanceof C.ShaderMaterial ? (t.material.uniforms.opacity && (t.material.uniforms.opacity.value = i.opacity), t.material.transparent = i.transparent) : (t.material.opacity = i.opacity, t.material.transparent = i.transparent))), _i.delete(t));
|
|
22051
22051
|
});
|
|
22052
22052
|
}
|
|
22053
|
-
function
|
|
22053
|
+
function Od(e, n) {
|
|
22054
22054
|
var a;
|
|
22055
22055
|
const t = (a = n == null ? void 0 : n.traverseTHREEObject) != null ? a : !0;
|
|
22056
22056
|
let i = zr(e);
|
|
@@ -22094,7 +22094,7 @@ function Rd(e, n) {
|
|
|
22094
22094
|
}), s;
|
|
22095
22095
|
}
|
|
22096
22096
|
function lx(e, n) {
|
|
22097
|
-
return
|
|
22097
|
+
return Od(e, R({
|
|
22098
22098
|
update: (t) => {
|
|
22099
22099
|
var i;
|
|
22100
22100
|
t.animatables.forEach((r) => {
|
|
@@ -22107,9 +22107,9 @@ function lx(e, n) {
|
|
|
22107
22107
|
}
|
|
22108
22108
|
}, n));
|
|
22109
22109
|
}
|
|
22110
|
-
const
|
|
22110
|
+
const tp = Math.PI * 2;
|
|
22111
22111
|
function IT(e) {
|
|
22112
|
-
return (e %
|
|
22112
|
+
return (e % tp + tp) % tp;
|
|
22113
22113
|
}
|
|
22114
22114
|
function Uc(e) {
|
|
22115
22115
|
return {
|
|
@@ -22267,7 +22267,7 @@ function kT() {
|
|
|
22267
22267
|
function rd(e) {
|
|
22268
22268
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
22269
22269
|
}
|
|
22270
|
-
function
|
|
22270
|
+
function zd(e, n) {
|
|
22271
22271
|
return e === n ? !0 : typeof e != typeof n ? !1 : !!(Number.isNaN(e) && Number.isNaN(n));
|
|
22272
22272
|
}
|
|
22273
22273
|
function RT(e, n) {
|
|
@@ -22276,7 +22276,7 @@ function RT(e, n) {
|
|
|
22276
22276
|
return !1;
|
|
22277
22277
|
for (let r = 0, s = t.length; r < s; r++) {
|
|
22278
22278
|
const o = t[r];
|
|
22279
|
-
if (!
|
|
22279
|
+
if (!zd(e[o], n[o]))
|
|
22280
22280
|
return !1;
|
|
22281
22281
|
}
|
|
22282
22282
|
return !0;
|
|
@@ -22285,15 +22285,15 @@ function OT(e, n) {
|
|
|
22285
22285
|
if (e.length !== n.length)
|
|
22286
22286
|
return !1;
|
|
22287
22287
|
for (let t = 0, i = e.length; t < i; t++)
|
|
22288
|
-
if (!
|
|
22288
|
+
if (!zd(e[t], n[t]))
|
|
22289
22289
|
return !1;
|
|
22290
22290
|
return !0;
|
|
22291
22291
|
}
|
|
22292
22292
|
function zT(e, n) {
|
|
22293
|
-
return
|
|
22293
|
+
return zd(e, n) ? !0 : rd(e) && rd(n) ? RT(e, n) : Array.isArray(e) && Array.isArray(n) ? OT(e, n) : !1;
|
|
22294
22294
|
}
|
|
22295
22295
|
function wg(e, n) {
|
|
22296
|
-
return
|
|
22296
|
+
return zd(e, n) ? !0 : rd(e) && rd(n) ? NT(e, n) : Array.isArray(e) && Array.isArray(n) ? BT(e, n) : !1;
|
|
22297
22297
|
}
|
|
22298
22298
|
function BT(e, n) {
|
|
22299
22299
|
if (e.length !== n.length)
|
|
@@ -22320,9 +22320,9 @@ function Nn(e, n, t = { deep: !1 }) {
|
|
|
22320
22320
|
const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22321
22321
|
__proto__: null,
|
|
22322
22322
|
BetterTween: Pa,
|
|
22323
|
-
Interval:
|
|
22323
|
+
Interval: kp,
|
|
22324
22324
|
LineSegments: sx,
|
|
22325
|
-
Magnifier:
|
|
22325
|
+
Magnifier: ng,
|
|
22326
22326
|
Object3D: rx,
|
|
22327
22327
|
PointHelper: rw,
|
|
22328
22328
|
PointSelectorHelper: ix,
|
|
@@ -22330,7 +22330,7 @@ const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
22330
22330
|
absoluteUrl: Ag,
|
|
22331
22331
|
animeMap: _l,
|
|
22332
22332
|
awaitNextFrame: LT,
|
|
22333
|
-
blink:
|
|
22333
|
+
blink: Od,
|
|
22334
22334
|
bounding: bg,
|
|
22335
22335
|
boundingBox: Wa,
|
|
22336
22336
|
boundingSphere: ox,
|
|
@@ -22356,11 +22356,11 @@ const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
22356
22356
|
requestAnimationFrameInterval: Qa,
|
|
22357
22357
|
tweenProgress: Dc,
|
|
22358
22358
|
uuid: wn,
|
|
22359
|
-
worldBounding:
|
|
22359
|
+
worldBounding: Rd,
|
|
22360
22360
|
worldBoundingBox: CT,
|
|
22361
22361
|
worldBoundingSphere: ax
|
|
22362
22362
|
}, Symbol.toStringTag, { value: "Module" })), ux = 1, ly = `CSS3DObjectPlus@${ux}`, FT = 216e-5, VT = 3e-3;
|
|
22363
|
-
class dx extends
|
|
22363
|
+
class dx extends Tp {
|
|
22364
22364
|
constructor(t) {
|
|
22365
22365
|
var x, M, P, I, T;
|
|
22366
22366
|
if (kr(t.cornerPoints) && kr(t.width))
|
|
@@ -22401,7 +22401,7 @@ class dx extends Sp {
|
|
|
22401
22401
|
v(this, "opacityMesh");
|
|
22402
22402
|
v(this, "selfVisible", !0);
|
|
22403
22403
|
v(this, "setVisible", (t) => {
|
|
22404
|
-
this.selfVisible = t, this.visible =
|
|
22404
|
+
this.selfVisible = t, this.visible = tg(this.parent) && this.selfVisible, this.opacityMesh && (this.opacityMesh.visible = this.visible);
|
|
22405
22405
|
});
|
|
22406
22406
|
v(this, "updateVisible", () => {
|
|
22407
22407
|
this.setVisible(this.selfVisible);
|
|
@@ -22547,15 +22547,15 @@ class UT extends fx {
|
|
|
22547
22547
|
}), super.add(...t), this;
|
|
22548
22548
|
}
|
|
22549
22549
|
}
|
|
22550
|
-
const WT = 3,
|
|
22550
|
+
const WT = 3, Tm = "CSS3DRenderer", Il = `${Tm}@${WT}`, To = () => {
|
|
22551
22551
|
console.error(`${Il} is disposed`);
|
|
22552
22552
|
}, pn = {
|
|
22553
22553
|
css3DObjects: [],
|
|
22554
22554
|
frontModeStore: {
|
|
22555
|
-
css3DRenderer: new
|
|
22555
|
+
css3DRenderer: new Lp()
|
|
22556
22556
|
},
|
|
22557
22557
|
behindModeStore: {
|
|
22558
|
-
css3DRenderer: new
|
|
22558
|
+
css3DRenderer: new Lp()
|
|
22559
22559
|
}
|
|
22560
22560
|
};
|
|
22561
22561
|
function cy(e) {
|
|
@@ -22671,7 +22671,7 @@ class Lc {
|
|
|
22671
22671
|
});
|
|
22672
22672
|
v(this, "createObject", (n, t) => {
|
|
22673
22673
|
const i = new dx(Me(R({ cornerPoints: n }, t), { style: t.wrapperStyle }));
|
|
22674
|
-
return i.element.classList.add(`${
|
|
22674
|
+
return i.element.classList.add(`${Tm}__container`), i.element.id = `${Tm}__container--${i.uuid}`, i;
|
|
22675
22675
|
});
|
|
22676
22676
|
n && this.setScene(n);
|
|
22677
22677
|
}
|
|
@@ -22803,9 +22803,9 @@ class Lc {
|
|
|
22803
22803
|
handleDisable() {
|
|
22804
22804
|
var n, t, i;
|
|
22805
22805
|
this.store.frontModeGroup.children.forEach((r) => {
|
|
22806
|
-
r instanceof
|
|
22806
|
+
r instanceof Tp && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
22807
22807
|
}), (n = this.store.behindModeGroup) == null || n.children.forEach((r) => {
|
|
22808
|
-
r instanceof
|
|
22808
|
+
r instanceof Tp && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
22809
22809
|
}), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((i = this.getBehindCSS3DScene()) == null || i.remove(this.store.behindModeGroup));
|
|
22810
22810
|
}
|
|
22811
22811
|
handleDispose() {
|
|
@@ -22823,14 +22823,14 @@ Si.style.height = "100%";
|
|
|
22823
22823
|
Si.style.pointerEvents = "none";
|
|
22824
22824
|
function px(e) {
|
|
22825
22825
|
var i, r, s, o, a;
|
|
22826
|
-
const n = (a = (r =
|
|
22826
|
+
const n = (a = (r = np(e.getElement())) != null ? r : np((i = e.getElement()) == null ? void 0 : i.parentElement)) != null ? a : np((o = (s = e.getElement()) == null ? void 0 : s.parentElement) == null ? void 0 : o.parentElement), t = n == null ? void 0 : n.parentElement;
|
|
22827
22827
|
if (t)
|
|
22828
22828
|
return t.contains(Si) || n.parentElement.insertBefore(Si, n), Si;
|
|
22829
22829
|
console.error(
|
|
22830
22830
|
"Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
|
|
22831
22831
|
);
|
|
22832
22832
|
}
|
|
22833
|
-
function
|
|
22833
|
+
function np(e) {
|
|
22834
22834
|
var a;
|
|
22835
22835
|
if (!e)
|
|
22836
22836
|
return;
|
|
@@ -22972,8 +22972,8 @@ let ZT = class extends Lc {
|
|
|
22972
22972
|
}), this.created3DElementResults = [];
|
|
22973
22973
|
}
|
|
22974
22974
|
};
|
|
22975
|
-
const
|
|
22976
|
-
function
|
|
22975
|
+
const Bd = (e) => new ZT(e);
|
|
22976
|
+
function ip(e, n, t = new Se(1, 1, 1), i = !1) {
|
|
22977
22977
|
const r = new sw(e, n);
|
|
22978
22978
|
return r.setMaterial({ dashed: i, color: t, linewidth: 1 }), r.remove(r.points), r;
|
|
22979
22979
|
}
|
|
@@ -22994,17 +22994,17 @@ const N6 = (e) => {
|
|
|
22994
22994
|
const r = (h, u = 2, d = 0.1) => {
|
|
22995
22995
|
const f = u / 2, p = c(h, d), g = new Jo();
|
|
22996
22996
|
g.add(
|
|
22997
|
-
|
|
22997
|
+
ip(
|
|
22998
22998
|
new Se(p.x + f, p.y, p.z),
|
|
22999
22999
|
new Se(p.x - f, p.y, p.z),
|
|
23000
23000
|
new Se(1, 0, 0)
|
|
23001
23001
|
),
|
|
23002
|
-
|
|
23002
|
+
ip(
|
|
23003
23003
|
new Se(p.x, p.y + f, p.z),
|
|
23004
23004
|
new Se(p.x, p.y - f, p.z),
|
|
23005
23005
|
new Se(0, 1, 0)
|
|
23006
23006
|
),
|
|
23007
|
-
|
|
23007
|
+
ip(
|
|
23008
23008
|
new Se(p.x, p.y, p.z + f),
|
|
23009
23009
|
new Se(p.x, p.y, p.z - f),
|
|
23010
23010
|
new Se(0, 0, 1)
|
|
@@ -23319,7 +23319,7 @@ function Mx(e) {
|
|
|
23319
23319
|
function Ai(e) {
|
|
23320
23320
|
vs().$$.on_destroy.push(e);
|
|
23321
23321
|
}
|
|
23322
|
-
function
|
|
23322
|
+
function Nd() {
|
|
23323
23323
|
const e = vs();
|
|
23324
23324
|
return (n, t, { cancelable: i = !1 } = {}) => {
|
|
23325
23325
|
const r = e.$$.callbacks[n];
|
|
@@ -23332,7 +23332,7 @@ function Bd() {
|
|
|
23332
23332
|
return !0;
|
|
23333
23333
|
};
|
|
23334
23334
|
}
|
|
23335
|
-
function
|
|
23335
|
+
function Dm(e, n) {
|
|
23336
23336
|
return vs().$$.context.set(e, n), n;
|
|
23337
23337
|
}
|
|
23338
23338
|
function fs(e) {
|
|
@@ -23344,10 +23344,10 @@ function Ka(e, n) {
|
|
|
23344
23344
|
}
|
|
23345
23345
|
const No = [], Qt = [];
|
|
23346
23346
|
let ta = [];
|
|
23347
|
-
const
|
|
23348
|
-
let
|
|
23347
|
+
const Lm = [], Ex = /* @__PURE__ */ Promise.resolve();
|
|
23348
|
+
let km = !1;
|
|
23349
23349
|
function Cx() {
|
|
23350
|
-
|
|
23350
|
+
km || (km = !0, Ex.then(Ig));
|
|
23351
23351
|
}
|
|
23352
23352
|
function fy() {
|
|
23353
23353
|
return Cx(), Ex;
|
|
@@ -23356,9 +23356,9 @@ function sn(e) {
|
|
|
23356
23356
|
ta.push(e);
|
|
23357
23357
|
}
|
|
23358
23358
|
function _g(e) {
|
|
23359
|
-
|
|
23359
|
+
Lm.push(e);
|
|
23360
23360
|
}
|
|
23361
|
-
const
|
|
23361
|
+
const rp = /* @__PURE__ */ new Set();
|
|
23362
23362
|
let Do = 0;
|
|
23363
23363
|
function Ig() {
|
|
23364
23364
|
if (Do !== 0)
|
|
@@ -23377,13 +23377,13 @@ function Ig() {
|
|
|
23377
23377
|
Qt.pop()();
|
|
23378
23378
|
for (let n = 0; n < ta.length; n += 1) {
|
|
23379
23379
|
const t = ta[n];
|
|
23380
|
-
|
|
23380
|
+
rp.has(t) || (rp.add(t), t());
|
|
23381
23381
|
}
|
|
23382
23382
|
ta.length = 0;
|
|
23383
23383
|
} while (No.length);
|
|
23384
|
-
for (;
|
|
23385
|
-
|
|
23386
|
-
|
|
23384
|
+
for (; Lm.length; )
|
|
23385
|
+
Lm.pop()();
|
|
23386
|
+
km = !1, rp.clear(), Pr(e);
|
|
23387
23387
|
}
|
|
23388
23388
|
function sD(e) {
|
|
23389
23389
|
if (e.fragment !== null) {
|
|
@@ -23853,7 +23853,7 @@ var Ix = function() {
|
|
|
23853
23853
|
}, n;
|
|
23854
23854
|
}()
|
|
23855
23855
|
);
|
|
23856
|
-
}(),
|
|
23856
|
+
}(), Rm = typeof window != "undefined" && typeof document != "undefined" && window.document === document, ud = function() {
|
|
23857
23857
|
return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
|
|
23858
23858
|
}(), pD = function() {
|
|
23859
23859
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(ud) : function(e) {
|
|
@@ -23904,14 +23904,14 @@ var vD = 20, yD = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
23904
23904
|
return t.broadcastActive();
|
|
23905
23905
|
}), n.length > 0;
|
|
23906
23906
|
}, e.prototype.connect_ = function() {
|
|
23907
|
-
!
|
|
23907
|
+
!Rm || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), bD ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
23908
23908
|
attributes: !0,
|
|
23909
23909
|
childList: !0,
|
|
23910
23910
|
characterData: !0,
|
|
23911
23911
|
subtree: !0
|
|
23912
23912
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
23913
23913
|
}, e.prototype.disconnect_ = function() {
|
|
23914
|
-
!
|
|
23914
|
+
!Rm || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
23915
23915
|
}, e.prototype.onTransitionEnd_ = function(n) {
|
|
23916
23916
|
var t = n.propertyName, i = t === void 0 ? "" : t, r = yD.some(function(s) {
|
|
23917
23917
|
return !!~i.indexOf(s);
|
|
@@ -23935,7 +23935,7 @@ var vD = 20, yD = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
23935
23935
|
}, Sa = function(e) {
|
|
23936
23936
|
var n = e && e.ownerDocument && e.ownerDocument.defaultView;
|
|
23937
23937
|
return n || ud;
|
|
23938
|
-
}, Tx =
|
|
23938
|
+
}, Tx = Fd(0, 0, 0, 0);
|
|
23939
23939
|
function dd(e) {
|
|
23940
23940
|
return parseFloat(e) || 0;
|
|
23941
23941
|
}
|
|
@@ -23956,7 +23956,7 @@ function wD(e) {
|
|
|
23956
23956
|
}
|
|
23957
23957
|
function xD(e) {
|
|
23958
23958
|
var n = e.getBBox();
|
|
23959
|
-
return
|
|
23959
|
+
return Fd(0, 0, n.width, n.height);
|
|
23960
23960
|
}
|
|
23961
23961
|
function MD(e) {
|
|
23962
23962
|
var n = e.clientWidth, t = e.clientHeight;
|
|
@@ -23967,7 +23967,7 @@ function MD(e) {
|
|
|
23967
23967
|
var c = Math.round(a + s) - n, h = Math.round(l + o) - t;
|
|
23968
23968
|
Math.abs(c) !== 1 && (a -= c), Math.abs(h) !== 1 && (l -= h);
|
|
23969
23969
|
}
|
|
23970
|
-
return
|
|
23970
|
+
return Fd(r.left, r.top, a, l);
|
|
23971
23971
|
}
|
|
23972
23972
|
var ED = function() {
|
|
23973
23973
|
return typeof SVGGraphicsElement != "undefined" ? function(e) {
|
|
@@ -23980,7 +23980,7 @@ function CD(e) {
|
|
|
23980
23980
|
return e === Sa(e).document.documentElement;
|
|
23981
23981
|
}
|
|
23982
23982
|
function PD(e) {
|
|
23983
|
-
return
|
|
23983
|
+
return Rm ? ED(e) ? xD(e) : MD(e) : Tx;
|
|
23984
23984
|
}
|
|
23985
23985
|
function _D(e) {
|
|
23986
23986
|
var n = e.x, t = e.y, i = e.width, r = e.height, s = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, o = Object.create(s.prototype);
|
|
@@ -23995,14 +23995,14 @@ function _D(e) {
|
|
|
23995
23995
|
left: n
|
|
23996
23996
|
}), o;
|
|
23997
23997
|
}
|
|
23998
|
-
function
|
|
23998
|
+
function Fd(e, n, t, i) {
|
|
23999
23999
|
return { x: e, y: n, width: t, height: i };
|
|
24000
24000
|
}
|
|
24001
24001
|
var ID = (
|
|
24002
24002
|
/** @class */
|
|
24003
24003
|
function() {
|
|
24004
24004
|
function e(n) {
|
|
24005
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ =
|
|
24005
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Fd(0, 0, 0, 0), this.target = n;
|
|
24006
24006
|
}
|
|
24007
24007
|
return e.prototype.isActive = function() {
|
|
24008
24008
|
var n = PD(this.target);
|
|
@@ -25709,7 +25709,7 @@ class gL extends ke {
|
|
|
25709
25709
|
);
|
|
25710
25710
|
}
|
|
25711
25711
|
}
|
|
25712
|
-
function
|
|
25712
|
+
function Vd(e, n = {}) {
|
|
25713
25713
|
let t = "";
|
|
25714
25714
|
const { needZ: i, needA: r } = n;
|
|
25715
25715
|
return (i ? e.slice().concat(e[0]) : e.slice()).forEach((o, a) => {
|
|
@@ -25773,7 +25773,7 @@ function wL(e, n, t) {
|
|
|
25773
25773
|
"path" in s && t(1, r = s.path);
|
|
25774
25774
|
}, e.$$.update = () => {
|
|
25775
25775
|
e.$$.dirty & /*path*/
|
|
25776
|
-
2 && t(0, i =
|
|
25776
|
+
2 && t(0, i = Vd(r, { needZ: !0 }));
|
|
25777
25777
|
}, [i, r];
|
|
25778
25778
|
}
|
|
25779
25779
|
class xL extends ke {
|
|
@@ -25836,15 +25836,15 @@ function ML(e) {
|
|
|
25836
25836
|
}
|
|
25837
25837
|
};
|
|
25838
25838
|
}
|
|
25839
|
-
const
|
|
25839
|
+
const sp = 6;
|
|
25840
25840
|
function EL(e, n, t) {
|
|
25841
25841
|
let i, { path: r } = n;
|
|
25842
|
-
const s =
|
|
25842
|
+
const s = sp * 2, o = `M0 ${sp} h ${s} M${sp} 0 v ${s}`;
|
|
25843
25843
|
return e.$$set = (a) => {
|
|
25844
25844
|
"path" in a && t(3, r = a.path);
|
|
25845
25845
|
}, e.$$.update = () => {
|
|
25846
25846
|
e.$$.dirty & /*path*/
|
|
25847
|
-
8 && t(0, i =
|
|
25847
|
+
8 && t(0, i = Vd(r, { needZ: !0 }));
|
|
25848
25848
|
}, [i, s, o, r];
|
|
25849
25849
|
}
|
|
25850
25850
|
class CL extends ke {
|
|
@@ -25910,7 +25910,7 @@ function _L(e, n, t) {
|
|
|
25910
25910
|
"path" in s && t(1, r = s.path);
|
|
25911
25911
|
}, e.$$.update = () => {
|
|
25912
25912
|
e.$$.dirty & /*path*/
|
|
25913
|
-
2 && t(0, i =
|
|
25913
|
+
2 && t(0, i = Vd(r, { needZ: !0 }));
|
|
25914
25914
|
}, [i, r];
|
|
25915
25915
|
}
|
|
25916
25916
|
class IL extends ke {
|
|
@@ -26187,7 +26187,7 @@ function NL(e, n, t) {
|
|
|
26187
26187
|
function u() {
|
|
26188
26188
|
c == null || c.set(void 0);
|
|
26189
26189
|
}
|
|
26190
|
-
const { bounding: d } = a, f =
|
|
26190
|
+
const { bounding: d } = a, f = Vd(s.path, {
|
|
26191
26191
|
needZ: !0,
|
|
26192
26192
|
format: (m) => Ox(m, d)
|
|
26193
26193
|
});
|
|
@@ -27802,7 +27802,7 @@ let ws = class {
|
|
|
27802
27802
|
/**
|
|
27803
27803
|
* @realsee/dnalogel 版本号
|
|
27804
27804
|
*/
|
|
27805
|
-
v(this, "VERSION", "3.49.
|
|
27805
|
+
v(this, "VERSION", "3.49.13");
|
|
27806
27806
|
v(this, "NAME");
|
|
27807
27807
|
v(this, "five");
|
|
27808
27808
|
v(this, "workUtil");
|
|
@@ -29888,7 +29888,7 @@ const $6 = (e, n) => new Jk(e, n), eG = [
|
|
|
29888
29888
|
{ roomType: "100900000013", description: "衣" },
|
|
29889
29889
|
{ roomType: "100900000015", description: "商铺" },
|
|
29890
29890
|
{ roomType: "100900000016", description: "写字楼" }
|
|
29891
|
-
],
|
|
29891
|
+
], op = (e, n, t) => {
|
|
29892
29892
|
const i = new C.Matrix4(), r = new C.Euler(e, n, t, "YXZ");
|
|
29893
29893
|
return i.makeRotationFromEuler(r), i;
|
|
29894
29894
|
}, qk = (e, {
|
|
@@ -29898,7 +29898,7 @@ const $6 = (e, n) => new Jk(e, n), eG = [
|
|
|
29898
29898
|
}) => {
|
|
29899
29899
|
if (n && e.scale.set(n, n, n), t) {
|
|
29900
29900
|
const [r, s, o] = t;
|
|
29901
|
-
r && e.applyMatrix4(
|
|
29901
|
+
r && e.applyMatrix4(op(r, 0, 0)), s && e.applyMatrix4(op(0, s, 0)), o && e.applyMatrix4(op(0, 0, o));
|
|
29902
29902
|
}
|
|
29903
29903
|
return i && e.position.set(i.x, i.y, i.z), e;
|
|
29904
29904
|
};
|
|
@@ -30052,13 +30052,13 @@ function Ky(e) {
|
|
|
30052
30052
|
function $y(e) {
|
|
30053
30053
|
return e % gu;
|
|
30054
30054
|
}
|
|
30055
|
-
function
|
|
30055
|
+
function ap(e, n, t) {
|
|
30056
30056
|
return e + (n - e) * t;
|
|
30057
30057
|
}
|
|
30058
|
-
const
|
|
30058
|
+
const Om = (e, n, t) => {
|
|
30059
30059
|
const i = Math.PI, r = i * 2;
|
|
30060
30060
|
let s = Ky(e), o = Ky(n);
|
|
30061
|
-
return t === Cr.Anticlockwise && s < o && (s += r), t === Cr.Clockwise && o < s && (o += r), t === Cr.Loop && o - s > i ?
|
|
30061
|
+
return t === Cr.Anticlockwise && s < o && (s += r), t === Cr.Clockwise && o < s && (o += r), t === Cr.Loop && o - s > i ? Om(s, o, Cr.Anticlockwise) : t === Cr.Loop && s - o > i ? Om(s, o, Cr.Clockwise) : { from: s, to: o };
|
|
30062
30062
|
}, sG = (e) => {
|
|
30063
30063
|
const n = {}, t = (l, c, ...h) => ee(void 0, [l, c, ...h], function* (s, o, a = { preload: !0 }) {
|
|
30064
30064
|
return n.interruptCallback && n.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), s.mode && s.mode !== e.currentMode && (yield e.changeMode(s.mode)), a.preload && s.panoIndex !== void 0 && s.panoIndex !== e.panoIndex && (yield e.preloadPano(s.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), s.panoIndex === void 0 && s.fov === void 0 && s.latitude === void 0 && s.longitude === void 0 ? !0 : yield new Promise((u, d) => {
|
|
@@ -30072,7 +30072,7 @@ const Rm = (e, n, t) => {
|
|
|
30072
30072
|
}, s)) : d(new Error("unexpected error"));
|
|
30073
30073
|
});
|
|
30074
30074
|
}), i = (s) => {
|
|
30075
|
-
const o = e.state, a = $y(o.latitude), l = $y(s.latitude), { from: c, to: h } =
|
|
30075
|
+
const o = e.state, a = $y(o.latitude), l = $y(s.latitude), { from: c, to: h } = Om(
|
|
30076
30076
|
o.longitude,
|
|
30077
30077
|
s.longitude,
|
|
30078
30078
|
s.rotation || Cr.Loop
|
|
@@ -30101,7 +30101,7 @@ const Rm = (e, n, t) => {
|
|
|
30101
30101
|
return yield new Promise((f) => {
|
|
30102
30102
|
const m = ({ progress: A }) => {
|
|
30103
30103
|
const w = {};
|
|
30104
|
-
w.longitude =
|
|
30104
|
+
w.longitude = ap(u.longitude, d.longitude, A), w.latitude = ap(u.latitude, d.latitude, A), w.fov = ap(u.fov, d.fov, A), e.setState(w, !0);
|
|
30105
30105
|
}, p = () => {
|
|
30106
30106
|
f(!0);
|
|
30107
30107
|
}, g = () => {
|
|
@@ -31220,7 +31220,7 @@ class x5 extends Br {
|
|
|
31220
31220
|
new C.Vector3(0.7, 0, 0.7),
|
|
31221
31221
|
new C.Vector3(-0.7, 0, 0.7)
|
|
31222
31222
|
];
|
|
31223
|
-
return
|
|
31223
|
+
return Bd(this.five).create3DDomContainer(t);
|
|
31224
31224
|
}
|
|
31225
31225
|
}
|
|
31226
31226
|
const cG = (e, n) => new x5(e, n), M5 = 1, E5 = 3, C5 = new Va(16777215), P5 = new Va(6522623), _5 = new Va(16777215), I5 = new Va(6522623), S5 = 6, T5 = 8, D5 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", Wx = new Z1().load(D5), L5 = {
|
|
@@ -31457,7 +31457,7 @@ let ka = class Yx {
|
|
|
31457
31457
|
}
|
|
31458
31458
|
};
|
|
31459
31459
|
const nu = (e) => e.preventDefault();
|
|
31460
|
-
let
|
|
31460
|
+
let Gd = class {
|
|
31461
31461
|
constructor(n) {
|
|
31462
31462
|
v(this, "model");
|
|
31463
31463
|
v(this, "five");
|
|
@@ -31643,7 +31643,7 @@ function N5(e) {
|
|
|
31643
31643
|
const n = Qc([e[0].clone(), e[1].clone(), e[2].clone()]), t = new C.Quaternion().setFromUnitVectors(new C.Vector3(0, 1, 0), n), r = e.map((o) => o.clone().applyQuaternion(t)).flatMap((o) => [o.x, o.z]);
|
|
31644
31644
|
return zE(r);
|
|
31645
31645
|
}
|
|
31646
|
-
function
|
|
31646
|
+
function zm(e, n) {
|
|
31647
31647
|
const t = Array.isArray(n) ? n : [n];
|
|
31648
31648
|
for (let i = 0; i < t.length; i++) {
|
|
31649
31649
|
const r = e.start, s = e.end, o = t[i].start, a = t[i].end;
|
|
@@ -31698,7 +31698,7 @@ function Zx(e, n) {
|
|
|
31698
31698
|
return { start: t[c - 1], end: t[c] };
|
|
31699
31699
|
}).filter(Boolean);
|
|
31700
31700
|
for (let l = 0; l < a.length; l++)
|
|
31701
|
-
if (
|
|
31701
|
+
if (zm(a[l], a.slice(l)))
|
|
31702
31702
|
return;
|
|
31703
31703
|
}
|
|
31704
31704
|
const i = t.flatMap((a) => [a.x, a.y, a.z]), r = new C.Float32BufferAttribute(i, 3), s = N5(t), o = new C.BufferGeometry();
|
|
@@ -31799,7 +31799,7 @@ class Y5 extends Qx {
|
|
|
31799
31799
|
this.contentDom.innerText = `${kr(s) ? t : t.toFixed(s)}${r}`;
|
|
31800
31800
|
}
|
|
31801
31801
|
}
|
|
31802
|
-
class
|
|
31802
|
+
class Bm {
|
|
31803
31803
|
constructor(n, t) {
|
|
31804
31804
|
v(this, "id", wn());
|
|
31805
31805
|
v(this, "selected", !1);
|
|
@@ -32238,7 +32238,7 @@ function $5(e, n) {
|
|
|
32238
32238
|
return e.x === n.x && e.y === n.y;
|
|
32239
32239
|
}
|
|
32240
32240
|
const cb = () => !1;
|
|
32241
|
-
class Kr extends
|
|
32241
|
+
class Kr extends Gd {
|
|
32242
32242
|
constructor(t) {
|
|
32243
32243
|
super(t);
|
|
32244
32244
|
v(this, "type", "edit");
|
|
@@ -32392,7 +32392,7 @@ class Kr extends Vd {
|
|
|
32392
32392
|
this.perpendicularDashed.setPoints(h, u), this.perpendicularDashed.show();
|
|
32393
32393
|
} else
|
|
32394
32394
|
this.perpendicularDashed.hide();
|
|
32395
|
-
const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a =
|
|
32395
|
+
const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = zm({ start: t, end: i }, o), l = zm({ start: i, end: this.area.points[0] }, o);
|
|
32396
32396
|
if (a || l)
|
|
32397
32397
|
this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
|
|
32398
32398
|
else {
|
|
@@ -32470,7 +32470,7 @@ class Kr extends Vd {
|
|
|
32470
32470
|
}).appendTo(this.container), this.pointSelector = new eM(this.five, Me(R({}, this.pointSelectorConfig), {
|
|
32471
32471
|
mode: this.editParams.pointSelectorMode,
|
|
32472
32472
|
helper: R({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
|
|
32473
|
-
})), this.pointSelector.enable(), this.polyline = new Ra({ model: this.model }), this.area = new
|
|
32473
|
+
})), this.pointSelector.enable(), this.polyline = new Ra({ model: this.model }), this.area = new Bm(void 0, {
|
|
32474
32474
|
five: this.five,
|
|
32475
32475
|
model: this.model,
|
|
32476
32476
|
meshContainer: this.group,
|
|
@@ -32495,7 +32495,7 @@ class Kr extends Vd {
|
|
|
32495
32495
|
this.onSelect();
|
|
32496
32496
|
}
|
|
32497
32497
|
complete() {
|
|
32498
|
-
this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new
|
|
32498
|
+
this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new Bm(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((t) => {
|
|
32499
32499
|
t.hook.on("selected", this.chooseLine), t.distanceItem.setCanSelect(!0);
|
|
32500
32500
|
}), this.polyline = new Ra({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
|
|
32501
32501
|
}
|
|
@@ -32517,7 +32517,7 @@ class Kr extends Vd {
|
|
|
32517
32517
|
this.unHighlightLines(this.model.getAllLines()), !t.selected && (t.selected = !0, this.group.add(t.lightMesh), t.distanceItem.highlight(), this.five.needsRender = !0);
|
|
32518
32518
|
}
|
|
32519
32519
|
}
|
|
32520
|
-
class hb extends
|
|
32520
|
+
class hb extends Gd {
|
|
32521
32521
|
constructor(t) {
|
|
32522
32522
|
super(t);
|
|
32523
32523
|
v(this, "type", "view");
|
|
@@ -32599,7 +32599,7 @@ function ub(e) {
|
|
|
32599
32599
|
return { point: o, ndcPoint: a };
|
|
32600
32600
|
}
|
|
32601
32601
|
const db = () => !1;
|
|
32602
|
-
class fb extends
|
|
32602
|
+
class fb extends Gd {
|
|
32603
32603
|
constructor(t) {
|
|
32604
32604
|
super(t);
|
|
32605
32605
|
v(this, "type", "watch");
|
|
@@ -32725,7 +32725,7 @@ class fb extends Vd {
|
|
|
32725
32725
|
this.deleteDom = new Vg(this.five, {
|
|
32726
32726
|
i18n: this.config.i18n,
|
|
32727
32727
|
onClick: () => {
|
|
32728
|
-
this.choose === "line" ? this.deleteLine() : this.choose instanceof
|
|
32728
|
+
this.choose === "line" ? this.deleteLine() : this.choose instanceof Bm && this.deleteArea(this.choose);
|
|
32729
32729
|
},
|
|
32730
32730
|
cancel: this.cancelDeleteClickCallback
|
|
32731
32731
|
}).appendTo(this.container), this.model.getAllLines().forEach((r) => {
|
|
@@ -32875,7 +32875,7 @@ function nM(e) {
|
|
|
32875
32875
|
let i = 10349931;
|
|
32876
32876
|
t && e.ballColor >= 0 && (i = e.ballColor);
|
|
32877
32877
|
const r = new Jo(), s = new xE(0.3, 0.3), o = n ? i4 : r4, a = new Z1().load(o);
|
|
32878
|
-
a.encoding = ME, a.minFilter =
|
|
32878
|
+
a.encoding = ME, a.minFilter = Sp;
|
|
32879
32879
|
const l = new Yl({
|
|
32880
32880
|
map: a,
|
|
32881
32881
|
transparent: !0,
|
|
@@ -33009,7 +33009,7 @@ class a4 {
|
|
|
33009
33009
|
return this.mouseGroup;
|
|
33010
33010
|
}
|
|
33011
33011
|
}
|
|
33012
|
-
class wl extends
|
|
33012
|
+
class wl extends Gd {
|
|
33013
33013
|
constructor(t) {
|
|
33014
33014
|
super(t);
|
|
33015
33015
|
v(this, "state", "watching");
|
|
@@ -34754,18 +34754,18 @@ function gd(e) {
|
|
|
34754
34754
|
return e === null ? "null" : typeof e == "undefined" ? "undefined" : typeof e == "object" ? Array.isArray(e) ? "array" : "object" : typeof e;
|
|
34755
34755
|
}
|
|
34756
34756
|
function cM(e) {
|
|
34757
|
-
return gd(e) === "object" ?
|
|
34757
|
+
return gd(e) === "object" ? Fm(e) : gd(e) === "array" ? Nm(e) : e;
|
|
34758
34758
|
}
|
|
34759
|
-
function
|
|
34759
|
+
function Nm(e) {
|
|
34760
34760
|
return e.map(cM);
|
|
34761
34761
|
}
|
|
34762
|
-
function
|
|
34762
|
+
function Fm(e) {
|
|
34763
34763
|
const n = {};
|
|
34764
34764
|
for (const t in e)
|
|
34765
34765
|
e.hasOwnProperty(t) && (n[t] = cM(e[t]));
|
|
34766
34766
|
return n;
|
|
34767
34767
|
}
|
|
34768
|
-
function
|
|
34768
|
+
function jd(e, n = [], t = {}) {
|
|
34769
34769
|
const i = {
|
|
34770
34770
|
arrayBehaviour: t.arrayBehaviour || "replace"
|
|
34771
34771
|
// Can be "merge" or "replace".
|
|
@@ -34777,15 +34777,15 @@ function Gd(e, n = [], t = {}) {
|
|
|
34777
34777
|
if (d === "object")
|
|
34778
34778
|
if (f !== "undefined") {
|
|
34779
34779
|
const m = f === "object" ? s[h] : {};
|
|
34780
|
-
s[h] =
|
|
34780
|
+
s[h] = jd({}, [m, Fm(u)], i);
|
|
34781
34781
|
} else
|
|
34782
|
-
s[h] =
|
|
34782
|
+
s[h] = Fm(u);
|
|
34783
34783
|
else if (d === "array")
|
|
34784
34784
|
if (f === "array") {
|
|
34785
|
-
const m =
|
|
34785
|
+
const m = Nm(u);
|
|
34786
34786
|
s[h] = i.arrayBehaviour === "merge" ? s[h].concat(m) : m;
|
|
34787
34787
|
} else
|
|
34788
|
-
s[h] =
|
|
34788
|
+
s[h] = Nm(u);
|
|
34789
34789
|
else
|
|
34790
34790
|
s[h] = u;
|
|
34791
34791
|
}
|
|
@@ -34793,13 +34793,13 @@ function Gd(e, n = [], t = {}) {
|
|
|
34793
34793
|
return s;
|
|
34794
34794
|
}
|
|
34795
34795
|
Q4.exports = function(n, ...t) {
|
|
34796
|
-
return
|
|
34796
|
+
return jd(n, t);
|
|
34797
34797
|
};
|
|
34798
34798
|
jt.noMutate = function(...n) {
|
|
34799
|
-
return
|
|
34799
|
+
return jd({}, n);
|
|
34800
34800
|
};
|
|
34801
34801
|
jt.withOptions = function(n, t, i) {
|
|
34802
|
-
return
|
|
34802
|
+
return jd(n, t, i);
|
|
34803
34803
|
};
|
|
34804
34804
|
function Y4(e) {
|
|
34805
34805
|
Ue(e, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
|
|
@@ -35057,7 +35057,7 @@ class tR extends ws {
|
|
|
35057
35057
|
v(this, "changeMeasureType", (t) => {
|
|
35058
35058
|
this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
|
|
35059
35059
|
});
|
|
35060
|
-
this.five = t, this.hook = this.hooks, this.params = i, this.config = Da(i, ["openParams", "magnifierParams"]), this.model = new tM(this.config), this.isMobile = (a = (o = i == null ? void 0 : i.openParams) == null ? void 0 : o.isMobile) != null ? a : !1, this.magnifier = new
|
|
35060
|
+
this.five = t, this.hook = this.hooks, this.params = i, this.config = Da(i, ["openParams", "magnifierParams"]), this.model = new tM(this.config), this.isMobile = (a = (o = i == null ? void 0 : i.openParams) == null ? void 0 : o.isMobile) != null ? a : !1, this.magnifier = new ng(
|
|
35061
35061
|
t,
|
|
35062
35062
|
(u = (h = i.magnifierParams) != null ? h : (c = (l = i.pointSelectorConfig) == null ? void 0 : l.helper) == null ? void 0 : c.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }
|
|
35063
35063
|
), this.allowMeasureType = Array.from(new Set((f = (d = i.editParams) == null ? void 0 : d.allowMeasureType) != null ? f : ["line"])), this.currentMeasureType = (m = this.allowMeasureType[0]) != null ? m : "line", this.group = new Jo(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.visibility = "hidden", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
|
|
@@ -35662,10 +35662,10 @@ class pR {
|
|
|
35662
35662
|
}
|
|
35663
35663
|
}
|
|
35664
35664
|
}
|
|
35665
|
-
const
|
|
35665
|
+
const lp = 1e-3, Nb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", mG = (e, n) => {
|
|
35666
35666
|
var te, ne, de, ve, ye, Je, be, ae;
|
|
35667
35667
|
let t = n == null ? void 0 : n.container, i = 1.4;
|
|
35668
|
-
const r = (te = n == null ? void 0 : n.wait) != null ? te : 200, s = (ne = n == null ? void 0 : n.maxNumberOnScreen) != null ? ne : 3, o = (de = n == null ? void 0 : n.minRad) != null ? de : Math.PI / 4, a = (ve = n == null ? void 0 : n.nearTolerance) != null ? ve : 100, l = (ye = n == null ? void 0 : n.upsideHeight) != null ? ye : 1.6, c = (Je = n == null ? void 0 : n.minDistance) != null ? Je : 1.2, h = (be = n == null ? void 0 : n.maxDistance) != null ? be : 3.5, u =
|
|
35668
|
+
const r = (te = n == null ? void 0 : n.wait) != null ? te : 200, s = (ne = n == null ? void 0 : n.maxNumberOnScreen) != null ? ne : 3, o = (de = n == null ? void 0 : n.minRad) != null ? de : Math.PI / 4, a = (ve = n == null ? void 0 : n.nearTolerance) != null ? ve : 100, l = (ye = n == null ? void 0 : n.upsideHeight) != null ? ye : 1.6, c = (Je = n == null ? void 0 : n.minDistance) != null ? Je : 1.2, h = (be = n == null ? void 0 : n.maxDistance) != null ? be : 3.5, u = Bd(e), d = document.createElement("div");
|
|
35669
35669
|
d.classList.add("PanoSpatialTagPlugin"), Object.assign(d.style, hR);
|
|
35670
35670
|
const f = new Na();
|
|
35671
35671
|
let m = new Image();
|
|
@@ -35800,11 +35800,11 @@ const ap = 1e-3, Nb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
35800
35800
|
j.distance + Nb
|
|
35801
35801
|
), [qe] = p.intersectObjects ? me.intersectObjects(p.intersectObjects, !0) : e.model.loaded ? e.model.intersectRaycaster(me) : me.intersectObjects(e.model.children, !0);
|
|
35802
35802
|
if (qe && j.distance - qe.distance < Nb) {
|
|
35803
|
-
const { position: Ae, normal: he, id: st, replacement: et } = j, lt = new C.Plane().setFromNormalAndCoplanarPoint(he, Ae), Re = Ae.clone().sub(oe.position).cross(new C.Vector3(0, 1, 0)).setLength(
|
|
35803
|
+
const { position: Ae, normal: he, id: st, replacement: et } = j, lt = new C.Plane().setFromNormalAndCoplanarPoint(he, Ae), Re = Ae.clone().sub(oe.position).cross(new C.Vector3(0, 1, 0)).setLength(lp), tt = [
|
|
35804
35804
|
Ae.clone(),
|
|
35805
35805
|
Ae.clone().add(Re),
|
|
35806
|
-
Ae.clone().add(new C.Vector3(0,
|
|
35807
|
-
Ae.clone().add(new C.Vector3(0,
|
|
35806
|
+
Ae.clone().add(new C.Vector3(0, lp, 0)).add(Re),
|
|
35807
|
+
Ae.clone().add(new C.Vector3(0, lp, 0))
|
|
35808
35808
|
].map((We) => lt.projectPoint(We, new C.Vector3())), { container: Ze, dispose: Ke } = u.create3DDomContainer(tt) || {}, $ = new cR({
|
|
35809
35809
|
target: Ze,
|
|
35810
35810
|
props: {
|
|
@@ -35886,12 +35886,12 @@ const ap = 1e-3, Nb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
35886
35886
|
dispose: K
|
|
35887
35887
|
};
|
|
35888
35888
|
};
|
|
35889
|
-
var Wo = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MIDLLE = "middle", e.LARGE = "large", e.EXTRA_LARGE = "x-large", e))(Wo || {}),
|
|
35889
|
+
var Wo = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MIDLLE = "middle", e.LARGE = "large", e.EXTRA_LARGE = "x-large", e))(Wo || {}), Vm = {}, gR = {
|
|
35890
35890
|
get exports() {
|
|
35891
|
-
return
|
|
35891
|
+
return Vm;
|
|
35892
35892
|
},
|
|
35893
35893
|
set exports(e) {
|
|
35894
|
-
|
|
35894
|
+
Vm = e;
|
|
35895
35895
|
}
|
|
35896
35896
|
};
|
|
35897
35897
|
/*!
|
|
@@ -35929,7 +35929,7 @@ var Wo = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MIDLLE = "middle", e.LARG
|
|
|
35929
35929
|
e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
|
|
35930
35930
|
})();
|
|
35931
35931
|
})(gR);
|
|
35932
|
-
const qn =
|
|
35932
|
+
const qn = Vm;
|
|
35933
35933
|
function vR(e) {
|
|
35934
35934
|
Ue(e, "svelte-1wufped", ".item-label-item.svelte-1wufped{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1wufped{opacity:1;animation:svelte-1wufped-fadeIn 0.3s ease-in}.item-label-item__text-wrap.svelte-1wufped::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1wufped{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#ffeac0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1wufped{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1wufped{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1wufped-fadeIn{from{opacity:0}to{opacity:1}}");
|
|
35935
35935
|
}
|
|
@@ -36350,7 +36350,7 @@ function _R(e) {
|
|
|
36350
36350
|
n.push(i);
|
|
36351
36351
|
}), n;
|
|
36352
36352
|
}
|
|
36353
|
-
const IR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4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U4y1LtGkjIfmIlMnJ+K/MojfzIrl8B3kpU1osxJSYtTAL8wKf4EYJQFk+JeQMlvE3UcLRmTkkUANm1ZOZmE24dqGU5gOfCyZkyGWQT+IykW8zmSz0IpiLNN8t5iTmdTkgGTrInI7JcfULaH10Qnh/4IMVjAxNk6jxwajuUb8lqOZRT3S/lx06RY1g8C4akfiEJAOZdFKzsq/nNjIssdufjbhQAEAUodOGDWp4m8S0oHEhb+YexGkD4EBUpdVMrfl/E/RhNJnsjF/ls0r980YRQDlAqBylIqylcCzf4lHecB5veigSfmYoBycaxN2SHgT8e7pWKZwCzqzZpigUr9DlRuoIxXn8pIZJgHtkwpa8togHIiw587LeNx9mc2ZwIK5DOlXJaMFqhWwoMp/Ax+1W+ToOXTHGKNrDMLLo38LmKsQKmbdSrWil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", SR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///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pST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", AG = (e, { videoElement: n }) => {
|
|
36353
|
+
const IR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/n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DlAqBylIqylcCzf4lHecB5veigSfmYoBycaxN2SHgT8e7pWKZwCzqzZpigUr9DlRuoIxXn8pIZJgHtkwpa8togHIiw587LeNx9mc2ZwIK5DOlXJaMFqhWwoMp/Ax+1W+ToOXTHGKNrDMLLo38LmKsQKmbdSrWil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", SR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwk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6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", AG = (e, { videoElement: n }) => {
|
|
36354
36354
|
const t = {
|
|
36355
36355
|
videoMeshes: [],
|
|
36356
36356
|
videoTextureEnabled: !1,
|
|
@@ -36358,7 +36358,7 @@ const IR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
36358
36358
|
rectPoints: [],
|
|
36359
36359
|
enabled: !1,
|
|
36360
36360
|
videoElement: n
|
|
36361
|
-
}, i =
|
|
36361
|
+
}, i = Bd(e), r = /* @__PURE__ */ new Map(), s = (y) => {
|
|
36362
36362
|
t.videoTexture && (t.videoTexture.image.muted = y);
|
|
36363
36363
|
}, o = () => t.videoTexture ? t.videoTexture.image.muted : !0, a = () => {
|
|
36364
36364
|
if (t.enabled || !t.videoTexture)
|
|
@@ -37387,7 +37387,7 @@ class nO extends QR {
|
|
|
37387
37387
|
if (o !== null && s !== null) {
|
|
37388
37388
|
const l = {};
|
|
37389
37389
|
if (a > 0) {
|
|
37390
|
-
const h = new Se(0, 0, -1), u = o.clone(), d = new
|
|
37390
|
+
const h = new Se(0, 0, -1), u = o.clone(), d = new $m();
|
|
37391
37391
|
d.setFromUnitVectors(h, u);
|
|
37392
37392
|
const f = new gv();
|
|
37393
37393
|
f.setFromQuaternion(d, "YXZ"), l.longitude = f.y;
|
|
@@ -37475,7 +37475,7 @@ const EG = (e) => new nO(e);
|
|
|
37475
37475
|
function dM(e, n) {
|
|
37476
37476
|
console.warn(`🚫 ==> [${e}]: ${n}`);
|
|
37477
37477
|
}
|
|
37478
|
-
var
|
|
37478
|
+
var Hd = {}, iO = rO;
|
|
37479
37479
|
function rO(e, n, t) {
|
|
37480
37480
|
return e[0] = n[0] + t[0], e[1] = n[1] + t[1], e;
|
|
37481
37481
|
}
|
|
@@ -37496,27 +37496,27 @@ var uO = dO;
|
|
|
37496
37496
|
function dO(e, n) {
|
|
37497
37497
|
return e[0] * n[0] + e[1] * n[1];
|
|
37498
37498
|
}
|
|
37499
|
-
var fO = iO,
|
|
37500
|
-
|
|
37501
|
-
return fO(n, i, r), fM(n, n),
|
|
37499
|
+
var fO = iO, jm = sO, fM = aO, pO = cO, mO = uO, Xb = [0, 0];
|
|
37500
|
+
Hd.computeMiter = function(n, t, i, r, s) {
|
|
37501
|
+
return fO(n, i, r), fM(n, n), jm(t, -n[1], n[0]), jm(Xb, -i[1], i[0]), s / mO(t, Xb);
|
|
37502
37502
|
};
|
|
37503
|
-
|
|
37504
|
-
return
|
|
37503
|
+
Hd.normal = function(n, t) {
|
|
37504
|
+
return jm(n, -t[1], t[0]), n;
|
|
37505
37505
|
};
|
|
37506
|
-
|
|
37506
|
+
Hd.direction = function(n, t, i) {
|
|
37507
37507
|
return pO(n, t, i), fM(n, n), n;
|
|
37508
37508
|
};
|
|
37509
|
-
var Ar =
|
|
37509
|
+
var Ar = Hd, Os = [0, 0], iu = [0, 0], Zb = [0, 0], xl = [0, 0], gO = function(e, n) {
|
|
37510
37510
|
var t = null, i = [];
|
|
37511
37511
|
n && (e = e.slice(), e.push(e[0]));
|
|
37512
37512
|
for (var r = e.length, s = 1; s < r; s++) {
|
|
37513
37513
|
var o = e[s - 1], a = e[s], l = s < e.length - 1 ? e[s + 1] : null;
|
|
37514
|
-
if (Ar.direction(Os, a, o), t || (t = [0, 0], Ar.normal(t, Os)), s === 1 &&
|
|
37515
|
-
Ar.normal(t, Os),
|
|
37514
|
+
if (Ar.direction(Os, a, o), t || (t = [0, 0], Ar.normal(t, Os)), s === 1 && cp(i, t, 1), !l)
|
|
37515
|
+
Ar.normal(t, Os), cp(i, t, 1);
|
|
37516
37516
|
else {
|
|
37517
37517
|
Ar.direction(iu, l, a);
|
|
37518
37518
|
var c = Ar.computeMiter(Zb, xl, Os, iu, 1);
|
|
37519
|
-
|
|
37519
|
+
cp(i, xl, c);
|
|
37520
37520
|
}
|
|
37521
37521
|
}
|
|
37522
37522
|
if (e.length > 2 && n) {
|
|
@@ -37527,7 +37527,7 @@ var Ar = jd, Os = [0, 0], iu = [0, 0], Zb = [0, 0], xl = [0, 0], gO = function(e
|
|
|
37527
37527
|
}
|
|
37528
37528
|
return i;
|
|
37529
37529
|
};
|
|
37530
|
-
function
|
|
37530
|
+
function cp(e, n, t) {
|
|
37531
37531
|
e.push([[n[0], n[1]], t]);
|
|
37532
37532
|
}
|
|
37533
37533
|
function pM(e, n) {
|
|
@@ -37737,7 +37737,7 @@ function IO(e) {
|
|
|
37737
37737
|
function SO(e) {
|
|
37738
37738
|
return e.stickType === "Plane" && e.contentType === "MediaPlane";
|
|
37739
37739
|
}
|
|
37740
|
-
function
|
|
37740
|
+
function Hm(e) {
|
|
37741
37741
|
const n = (() => {
|
|
37742
37742
|
if ($i(e) && e.matrix) {
|
|
37743
37743
|
const t = new Dl().fromArray(e.matrix);
|
|
@@ -37748,7 +37748,7 @@ function jm(e) {
|
|
|
37748
37748
|
return tC(n);
|
|
37749
37749
|
}
|
|
37750
37750
|
function Jb(e) {
|
|
37751
|
-
const n =
|
|
37751
|
+
const n = Hm(e);
|
|
37752
37752
|
return lr(...Array.isArray(n) ? n : [n]);
|
|
37753
37753
|
}
|
|
37754
37754
|
function ru(e, n) {
|
|
@@ -39890,7 +39890,7 @@ function Lz(e) {
|
|
|
39890
39890
|
};
|
|
39891
39891
|
}
|
|
39892
39892
|
function kz(e, n, t) {
|
|
39893
|
-
const i =
|
|
39893
|
+
const i = Nd();
|
|
39894
39894
|
let { pagesCount: r = 1 } = n, { currentPageIndex: s = 0 } = n;
|
|
39895
39895
|
function o(l) {
|
|
39896
39896
|
i("pageChange", l);
|
|
@@ -40056,7 +40056,7 @@ function Xg(e) {
|
|
|
40056
40056
|
};
|
|
40057
40057
|
}
|
|
40058
40058
|
const Qz = 110, Yz = 9, Xz = 111, Zz = 20;
|
|
40059
|
-
function
|
|
40059
|
+
function hp(e) {
|
|
40060
40060
|
if ("TouchEvent" in window && e instanceof TouchEvent) {
|
|
40061
40061
|
const n = e.touches[0];
|
|
40062
40062
|
return {
|
|
@@ -40077,13 +40077,13 @@ function Jz(e, { thresholdProvider: n }) {
|
|
|
40077
40077
|
}
|
|
40078
40078
|
function c(d) {
|
|
40079
40079
|
o = Date.now(), s = 0, a = !0;
|
|
40080
|
-
const f =
|
|
40080
|
+
const f = hp(d);
|
|
40081
40081
|
i = f.x, r = f.y, t("swipeStart", { x: i, y: r }), Wz(window, h), Uz(window, u);
|
|
40082
40082
|
}
|
|
40083
40083
|
function h(d) {
|
|
40084
40084
|
if (!a)
|
|
40085
40085
|
return;
|
|
40086
|
-
const f =
|
|
40086
|
+
const f = hp(d), m = f.x - i, p = f.y - r;
|
|
40087
40087
|
i = f.x, r = f.y, t("swipeMove", { x: i, y: r, dx: m, dy: p }), m !== 0 && Math.sign(m) !== Math.sign(s) && (s = 0), s += m, Math.abs(s) > n() && (t("swipeThresholdReached", { direction: s > 0 ? Ba : gs }), mA(window, u), gA(window, h));
|
|
40088
40088
|
}
|
|
40089
40089
|
function u(d) {
|
|
@@ -40091,7 +40091,7 @@ function Jz(e, { thresholdProvider: n }) {
|
|
|
40091
40091
|
t("swipeFailed");
|
|
40092
40092
|
return;
|
|
40093
40093
|
}
|
|
40094
|
-
const f =
|
|
40094
|
+
const f = hp(d);
|
|
40095
40095
|
t("swipeEnd", { x: f.x, y: f.y });
|
|
40096
40096
|
}
|
|
40097
40097
|
return jz(e, c), {
|
|
@@ -40269,7 +40269,7 @@ function dB({
|
|
|
40269
40269
|
t - 1
|
|
40270
40270
|
);
|
|
40271
40271
|
}
|
|
40272
|
-
function
|
|
40272
|
+
function up({
|
|
40273
40273
|
infinite: e,
|
|
40274
40274
|
pageIndex: n,
|
|
40275
40275
|
clonesCountHead: t,
|
|
@@ -40368,7 +40368,7 @@ const Hl = (e, n, t) => {
|
|
|
40368
40368
|
if (t === void 0)
|
|
40369
40369
|
throw new Error(`Required arg "${n}" was not provided`);
|
|
40370
40370
|
return t;
|
|
40371
|
-
},
|
|
40371
|
+
}, Um = (e) => (n) => {
|
|
40372
40372
|
e[n] && e[n]();
|
|
40373
40373
|
};
|
|
40374
40374
|
var yB = "Expected a function", xM = "__lodash_hash_undefined__", MM = 1 / 0, bB = "[object Function]", AB = "[object GeneratorFunction]", wB = "[object Symbol]", xB = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, MB = /^\w*$/, EB = /^\./, CB = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, PB = /[\\^$.*+?()[\]{}|]/g, _B = /\\(\\)?/g, IB = /^\[object .+?Constructor\]$/, SB = typeof di == "object" && di && di.Object === Object && di, TB = typeof self == "object" && self && self.Object === Object && self, Zg = SB || TB || Function("return this")();
|
|
@@ -40384,8 +40384,8 @@ function LB(e) {
|
|
|
40384
40384
|
}
|
|
40385
40385
|
return n;
|
|
40386
40386
|
}
|
|
40387
|
-
var kB = Array.prototype, RB = Function.prototype, EM = Object.prototype,
|
|
40388
|
-
var e = /[^.]+$/.exec(
|
|
40387
|
+
var kB = Array.prototype, RB = Function.prototype, EM = Object.prototype, dp = Zg["__core-js_shared__"], bA = function() {
|
|
40388
|
+
var e = /[^.]+$/.exec(dp && dp.keys && dp.keys.IE_PROTO || "");
|
|
40389
40389
|
return e ? "Symbol(src)_1." + e : "";
|
|
40390
40390
|
}(), CM = RB.toString, Jg = EM.hasOwnProperty, PM = EM.toString, OB = RegExp(
|
|
40391
40391
|
"^" + CM.call(Jg).replace(PB, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
@@ -40435,21 +40435,21 @@ function HB() {
|
|
|
40435
40435
|
this.__data__ = [];
|
|
40436
40436
|
}
|
|
40437
40437
|
function UB(e) {
|
|
40438
|
-
var n = this.__data__, t =
|
|
40438
|
+
var n = this.__data__, t = Ud(n, e);
|
|
40439
40439
|
if (t < 0)
|
|
40440
40440
|
return !1;
|
|
40441
40441
|
var i = n.length - 1;
|
|
40442
40442
|
return t == i ? n.pop() : zB.call(n, t, 1), !0;
|
|
40443
40443
|
}
|
|
40444
40444
|
function WB(e) {
|
|
40445
|
-
var n = this.__data__, t =
|
|
40445
|
+
var n = this.__data__, t = Ud(n, e);
|
|
40446
40446
|
return t < 0 ? void 0 : n[t][1];
|
|
40447
40447
|
}
|
|
40448
40448
|
function QB(e) {
|
|
40449
|
-
return
|
|
40449
|
+
return Ud(this.__data__, e) > -1;
|
|
40450
40450
|
}
|
|
40451
40451
|
function YB(e, n) {
|
|
40452
|
-
var t = this.__data__, i =
|
|
40452
|
+
var t = this.__data__, i = Ud(t, e);
|
|
40453
40453
|
return i < 0 ? t.push([e, n]) : t[i][1] = n, this;
|
|
40454
40454
|
}
|
|
40455
40455
|
el.prototype.clear = HB;
|
|
@@ -40472,23 +40472,23 @@ function XB() {
|
|
|
40472
40472
|
};
|
|
40473
40473
|
}
|
|
40474
40474
|
function ZB(e) {
|
|
40475
|
-
return
|
|
40475
|
+
return Wd(this, e).delete(e);
|
|
40476
40476
|
}
|
|
40477
40477
|
function JB(e) {
|
|
40478
|
-
return
|
|
40478
|
+
return Wd(this, e).get(e);
|
|
40479
40479
|
}
|
|
40480
40480
|
function qB(e) {
|
|
40481
|
-
return
|
|
40481
|
+
return Wd(this, e).has(e);
|
|
40482
40482
|
}
|
|
40483
40483
|
function KB(e, n) {
|
|
40484
|
-
return
|
|
40484
|
+
return Wd(this, e).set(e, n), this;
|
|
40485
40485
|
}
|
|
40486
40486
|
oo.prototype.clear = XB;
|
|
40487
40487
|
oo.prototype.delete = ZB;
|
|
40488
40488
|
oo.prototype.get = JB;
|
|
40489
40489
|
oo.prototype.has = qB;
|
|
40490
40490
|
oo.prototype.set = KB;
|
|
40491
|
-
function
|
|
40491
|
+
function Ud(e, n) {
|
|
40492
40492
|
for (var t = e.length; t--; )
|
|
40493
40493
|
if (c9(e[t][0], n))
|
|
40494
40494
|
return t;
|
|
@@ -40517,7 +40517,7 @@ function t9(e) {
|
|
|
40517
40517
|
function n9(e) {
|
|
40518
40518
|
return IM(e) ? e : o9(e);
|
|
40519
40519
|
}
|
|
40520
|
-
function
|
|
40520
|
+
function Wd(e, n) {
|
|
40521
40521
|
var t = e.__data__;
|
|
40522
40522
|
return r9(n) ? t[typeof n == "string" ? "string" : "hash"] : t.map;
|
|
40523
40523
|
}
|
|
@@ -40771,13 +40771,13 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40771
40771
|
function tl(E) {
|
|
40772
40772
|
return this.__data__.delete(E);
|
|
40773
40773
|
}
|
|
40774
|
-
function
|
|
40774
|
+
function Yd(E) {
|
|
40775
40775
|
return this.__data__.get(E);
|
|
40776
40776
|
}
|
|
40777
|
-
function
|
|
40777
|
+
function Xd(E) {
|
|
40778
40778
|
return this.__data__.has(E);
|
|
40779
40779
|
}
|
|
40780
|
-
function
|
|
40780
|
+
function Zd(E, L) {
|
|
40781
40781
|
var J = this.__data__;
|
|
40782
40782
|
if (J instanceof it) {
|
|
40783
40783
|
var le = J.__data__;
|
|
@@ -40787,11 +40787,11 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40787
40787
|
}
|
|
40788
40788
|
return J.set(E, L), this;
|
|
40789
40789
|
}
|
|
40790
|
-
ln.prototype.clear = xs, ln.prototype.delete = tl, ln.prototype.get =
|
|
40790
|
+
ln.prototype.clear = xs, ln.prototype.delete = tl, ln.prototype.get = Yd, ln.prototype.has = Xd, ln.prototype.set = Zd;
|
|
40791
40791
|
function ao(E, L) {
|
|
40792
40792
|
var J = sl(E) || ho(E) ? Te(E.length, String) : [], le = J.length, bt = !!le;
|
|
40793
40793
|
for (var rt in E)
|
|
40794
|
-
(L || st.call(E, rt)) && !(bt && (rt == "length" ||
|
|
40794
|
+
(L || st.call(E, rt)) && !(bt && (rt == "length" || hf(rt, le))) && J.push(rt);
|
|
40795
40795
|
return J;
|
|
40796
40796
|
}
|
|
40797
40797
|
function Kc(E, L, J) {
|
|
@@ -40815,8 +40815,8 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40815
40815
|
return E;
|
|
40816
40816
|
var dn = sl(E);
|
|
40817
40817
|
if (dn) {
|
|
40818
|
-
if (Lt =
|
|
40819
|
-
return
|
|
40818
|
+
if (Lt = lf(E), !L)
|
|
40819
|
+
return sf(E, Lt);
|
|
40820
40820
|
} else {
|
|
40821
40821
|
var zt = pr(E), Rn = zt == h || zt == u;
|
|
40822
40822
|
if (rh(E))
|
|
@@ -40825,11 +40825,11 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40825
40825
|
if (mt(E))
|
|
40826
40826
|
return rt ? E : {};
|
|
40827
40827
|
if (Lt = ji(Rn ? {} : E), !L)
|
|
40828
|
-
return
|
|
40828
|
+
return of(E, Gi(Lt, E));
|
|
40829
40829
|
} else {
|
|
40830
40830
|
if (!ne[zt])
|
|
40831
40831
|
return rt ? E : {};
|
|
40832
|
-
Lt =
|
|
40832
|
+
Lt = cf(E, zt, nl, L);
|
|
40833
40833
|
}
|
|
40834
40834
|
}
|
|
40835
40835
|
St || (St = new ln());
|
|
@@ -40837,28 +40837,28 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40837
40837
|
if (Zn)
|
|
40838
40838
|
return Zn;
|
|
40839
40839
|
if (St.set(E, Lt), !dn)
|
|
40840
|
-
var bn = J ?
|
|
40840
|
+
var bn = J ? af(E) : al(E);
|
|
40841
40841
|
return Be(bn || E, function(On, In) {
|
|
40842
40842
|
bn && (In = On, On = E[In]), Kc(Lt, In, nl(On, L, J, le, In, E, St));
|
|
40843
40843
|
}), Lt;
|
|
40844
40844
|
}
|
|
40845
|
-
function
|
|
40845
|
+
function Jd(E) {
|
|
40846
40846
|
return Hi(E) ? $(E) : {};
|
|
40847
40847
|
}
|
|
40848
|
-
function
|
|
40848
|
+
function qd(E, L, J) {
|
|
40849
40849
|
var le = L(E);
|
|
40850
40850
|
return sl(E) ? le : oe(le, J(E));
|
|
40851
40851
|
}
|
|
40852
|
-
function
|
|
40852
|
+
function Kd(E) {
|
|
40853
40853
|
return et.call(E);
|
|
40854
40854
|
}
|
|
40855
|
-
function
|
|
40856
|
-
if (!Hi(E) ||
|
|
40855
|
+
function $d(E) {
|
|
40856
|
+
if (!Hi(E) || df(E))
|
|
40857
40857
|
return !1;
|
|
40858
40858
|
var L = ol(E) || mt(E) ? lt : K;
|
|
40859
40859
|
return L.test(Hn(E));
|
|
40860
40860
|
}
|
|
40861
|
-
function
|
|
40861
|
+
function ef(E) {
|
|
40862
40862
|
if (!th(E))
|
|
40863
40863
|
return Pt(E);
|
|
40864
40864
|
var L = [];
|
|
@@ -40888,18 +40888,18 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40888
40888
|
var L = new E.constructor(E.source, q.exec(E));
|
|
40889
40889
|
return L.lastIndex = E.lastIndex, L;
|
|
40890
40890
|
}
|
|
40891
|
-
function
|
|
40891
|
+
function tf(E, L, J) {
|
|
40892
40892
|
var le = L ? J(N(E), !0) : N(E);
|
|
40893
40893
|
return fe(le, we, new E.constructor());
|
|
40894
40894
|
}
|
|
40895
|
-
function
|
|
40895
|
+
function nf(E) {
|
|
40896
40896
|
return ie ? Object(ie.call(E)) : {};
|
|
40897
40897
|
}
|
|
40898
|
-
function
|
|
40898
|
+
function rf(E, L) {
|
|
40899
40899
|
var J = L ? il(E.buffer) : E.buffer;
|
|
40900
40900
|
return new E.constructor(J, E.byteOffset, E.length);
|
|
40901
40901
|
}
|
|
40902
|
-
function
|
|
40902
|
+
function sf(E, L) {
|
|
40903
40903
|
var J = -1, le = E.length;
|
|
40904
40904
|
for (L || (L = Array(le)); ++J < le; )
|
|
40905
40905
|
L[J] = E[J];
|
|
@@ -40913,21 +40913,21 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40913
40913
|
}
|
|
40914
40914
|
return J;
|
|
40915
40915
|
}
|
|
40916
|
-
function
|
|
40916
|
+
function of(E, L) {
|
|
40917
40917
|
return rl(E, fr(E), L);
|
|
40918
40918
|
}
|
|
40919
|
-
function
|
|
40920
|
-
return
|
|
40919
|
+
function af(E) {
|
|
40920
|
+
return qd(E, al, fr);
|
|
40921
40921
|
}
|
|
40922
40922
|
function Es(E, L) {
|
|
40923
40923
|
var J = E.__data__;
|
|
40924
|
-
return
|
|
40924
|
+
return uf(L) ? J[typeof L == "string" ? "string" : "hash"] : J.map;
|
|
40925
40925
|
}
|
|
40926
40926
|
function wi(E, L) {
|
|
40927
40927
|
var J = He(E, L);
|
|
40928
|
-
return
|
|
40928
|
+
return $d(J) ? J : void 0;
|
|
40929
40929
|
}
|
|
40930
|
-
var fr = yt ? Ne(yt, Object) :
|
|
40930
|
+
var fr = yt ? Ne(yt, Object) : pf, pr = Kd;
|
|
40931
40931
|
(Ot && pr(new Ot(new ArrayBuffer(1))) != M || Ht && pr(new Ht()) != d || Xt && pr(Xt.resolve()) != p || kt && pr(new kt()) != y || on && pr(new on()) != w) && (pr = function(E) {
|
|
40932
40932
|
var L = et.call(E), J = L == m ? E.constructor : void 0, le = J ? Hn(J) : void 0;
|
|
40933
40933
|
if (le)
|
|
@@ -40945,14 +40945,14 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40945
40945
|
}
|
|
40946
40946
|
return L;
|
|
40947
40947
|
});
|
|
40948
|
-
function
|
|
40948
|
+
function lf(E) {
|
|
40949
40949
|
var L = E.length, J = E.constructor(L);
|
|
40950
40950
|
return L && typeof E[0] == "string" && st.call(E, "index") && (J.index = E.index, J.input = E.input), J;
|
|
40951
40951
|
}
|
|
40952
40952
|
function ji(E) {
|
|
40953
|
-
return typeof E.constructor == "function" && !th(E) ?
|
|
40953
|
+
return typeof E.constructor == "function" && !th(E) ? Jd(Ke(E)) : {};
|
|
40954
40954
|
}
|
|
40955
|
-
function
|
|
40955
|
+
function cf(E, L, J, le) {
|
|
40956
40956
|
var bt = E.constructor;
|
|
40957
40957
|
switch (L) {
|
|
40958
40958
|
case x:
|
|
@@ -40971,7 +40971,7 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40971
40971
|
case O:
|
|
40972
40972
|
case G:
|
|
40973
40973
|
case S:
|
|
40974
|
-
return
|
|
40974
|
+
return rf(E, le);
|
|
40975
40975
|
case d:
|
|
40976
40976
|
return $c(E, le, J);
|
|
40977
40977
|
case f:
|
|
@@ -40980,19 +40980,19 @@ var ou = f9, vd = {}, p9 = {
|
|
|
40980
40980
|
case g:
|
|
40981
40981
|
return eh(E);
|
|
40982
40982
|
case y:
|
|
40983
|
-
return
|
|
40983
|
+
return tf(E, le, J);
|
|
40984
40984
|
case A:
|
|
40985
|
-
return
|
|
40985
|
+
return nf(E);
|
|
40986
40986
|
}
|
|
40987
40987
|
}
|
|
40988
|
-
function
|
|
40988
|
+
function hf(E, L) {
|
|
40989
40989
|
return L = L == null ? r : L, !!L && (typeof E == "number" || te.test(E)) && E > -1 && E % 1 == 0 && E < L;
|
|
40990
40990
|
}
|
|
40991
|
-
function
|
|
40991
|
+
function uf(E) {
|
|
40992
40992
|
var L = typeof E;
|
|
40993
40993
|
return L == "string" || L == "number" || L == "symbol" || L == "boolean" ? E !== "__proto__" : E === null;
|
|
40994
40994
|
}
|
|
40995
|
-
function
|
|
40995
|
+
function df(E) {
|
|
40996
40996
|
return !!Ae && Ae in E;
|
|
40997
40997
|
}
|
|
40998
40998
|
function th(E) {
|
|
@@ -41019,16 +41019,16 @@ var ou = f9, vd = {}, p9 = {
|
|
|
41019
41019
|
return E === L || E !== E && L !== L;
|
|
41020
41020
|
}
|
|
41021
41021
|
function ho(E) {
|
|
41022
|
-
return
|
|
41022
|
+
return ff(E) && st.call(E, "callee") && (!We.call(E, "callee") || et.call(E) == s);
|
|
41023
41023
|
}
|
|
41024
41024
|
var sl = Array.isArray;
|
|
41025
41025
|
function uo(E) {
|
|
41026
41026
|
return E != null && sh(E.length) && !ol(E);
|
|
41027
41027
|
}
|
|
41028
|
-
function
|
|
41028
|
+
function ff(E) {
|
|
41029
41029
|
return oh(E) && uo(E);
|
|
41030
41030
|
}
|
|
41031
|
-
var rh = Ye ||
|
|
41031
|
+
var rh = Ye || mf;
|
|
41032
41032
|
function ol(E) {
|
|
41033
41033
|
var L = Hi(E) ? et.call(E) : "";
|
|
41034
41034
|
return L == h || L == u;
|
|
@@ -41044,12 +41044,12 @@ var ou = f9, vd = {}, p9 = {
|
|
|
41044
41044
|
return !!E && typeof E == "object";
|
|
41045
41045
|
}
|
|
41046
41046
|
function al(E) {
|
|
41047
|
-
return uo(E) ? ao(E) :
|
|
41047
|
+
return uo(E) ? ao(E) : ef(E);
|
|
41048
41048
|
}
|
|
41049
|
-
function
|
|
41049
|
+
function pf() {
|
|
41050
41050
|
return [];
|
|
41051
41051
|
}
|
|
41052
|
-
function
|
|
41052
|
+
function mf() {
|
|
41053
41053
|
return !1;
|
|
41054
41054
|
}
|
|
41055
41055
|
e.exports = nh;
|
|
@@ -41207,17 +41207,17 @@ var yd = {}, g9 = {
|
|
|
41207
41207
|
var L = wi(this, E).delete(E);
|
|
41208
41208
|
return this.size -= L ? 1 : 0, L;
|
|
41209
41209
|
}
|
|
41210
|
-
function
|
|
41210
|
+
function Yd(E) {
|
|
41211
41211
|
return wi(this, E).get(E);
|
|
41212
41212
|
}
|
|
41213
|
-
function
|
|
41213
|
+
function Xd(E) {
|
|
41214
41214
|
return wi(this, E).has(E);
|
|
41215
41215
|
}
|
|
41216
|
-
function
|
|
41216
|
+
function Zd(E, L) {
|
|
41217
41217
|
var J = wi(this, E), le = J.size;
|
|
41218
41218
|
return J.set(E, L), this.size += J.size == le ? 0 : 1, this;
|
|
41219
41219
|
}
|
|
41220
|
-
ln.prototype.clear = xs, ln.prototype.delete = tl, ln.prototype.get =
|
|
41220
|
+
ln.prototype.clear = xs, ln.prototype.delete = tl, ln.prototype.get = Yd, ln.prototype.has = Xd, ln.prototype.set = Zd;
|
|
41221
41221
|
function ao(E) {
|
|
41222
41222
|
var L = -1, J = E == null ? 0 : E.length;
|
|
41223
41223
|
for (this.__data__ = new ln(); ++L < J; )
|
|
@@ -41237,17 +41237,17 @@ var yd = {}, g9 = {
|
|
|
41237
41237
|
function nl() {
|
|
41238
41238
|
this.__data__ = new Dt(), this.size = 0;
|
|
41239
41239
|
}
|
|
41240
|
-
function
|
|
41240
|
+
function Jd(E) {
|
|
41241
41241
|
var L = this.__data__, J = L.delete(E);
|
|
41242
41242
|
return this.size = L.size, J;
|
|
41243
41243
|
}
|
|
41244
|
-
function
|
|
41244
|
+
function qd(E) {
|
|
41245
41245
|
return this.__data__.get(E);
|
|
41246
41246
|
}
|
|
41247
|
-
function
|
|
41247
|
+
function Kd(E) {
|
|
41248
41248
|
return this.__data__.has(E);
|
|
41249
41249
|
}
|
|
41250
|
-
function
|
|
41250
|
+
function $d(E, L) {
|
|
41251
41251
|
var J = this.__data__;
|
|
41252
41252
|
if (J instanceof Dt) {
|
|
41253
41253
|
var le = J.__data__;
|
|
@@ -41257,15 +41257,15 @@ var yd = {}, g9 = {
|
|
|
41257
41257
|
}
|
|
41258
41258
|
return J.set(E, L), this.size = J.size, this;
|
|
41259
41259
|
}
|
|
41260
|
-
Gi.prototype.clear = nl, Gi.prototype.delete =
|
|
41261
|
-
function
|
|
41260
|
+
Gi.prototype.clear = nl, Gi.prototype.delete = Jd, Gi.prototype.get = qd, Gi.prototype.has = Kd, Gi.prototype.set = $d;
|
|
41261
|
+
function ef(E, L) {
|
|
41262
41262
|
var J = ho(E), le = !J && ih(E), bt = !J && !le && uo(E), rt = !J && !le && !bt && oh(E), St = J || le || bt || rt, Lt = St ? j(E.length, String) : [], dn = Lt.length;
|
|
41263
41263
|
for (var zt in E)
|
|
41264
41264
|
(L || Ke.call(E, zt)) && !(St && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
41265
41265
|
(zt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
41266
41266
|
bt && (zt == "offset" || zt == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
41267
41267
|
rt && (zt == "buffer" || zt == "byteLength" || zt == "byteOffset") || // Skip index properties.
|
|
41268
|
-
|
|
41268
|
+
cf(zt, dn))) && Lt.push(zt);
|
|
41269
41269
|
return Lt;
|
|
41270
41270
|
}
|
|
41271
41271
|
function co(E, L) {
|
|
@@ -41285,9 +41285,9 @@ var yd = {}, g9 = {
|
|
|
41285
41285
|
return Hi(E) && Ms(E) == a;
|
|
41286
41286
|
}
|
|
41287
41287
|
function eh(E, L, J, le, bt) {
|
|
41288
|
-
return E === L ? !0 : E == null || L == null || !Hi(E) && !Hi(L) ? E !== E && L !== L :
|
|
41288
|
+
return E === L ? !0 : E == null || L == null || !Hi(E) && !Hi(L) ? E !== E && L !== L : tf(E, L, J, le, eh, bt);
|
|
41289
41289
|
}
|
|
41290
|
-
function
|
|
41290
|
+
function tf(E, L, J, le, bt, rt) {
|
|
41291
41291
|
var St = ho(E), Lt = ho(L), dn = St ? l : ji(E), zt = Lt ? l : ji(L);
|
|
41292
41292
|
dn = dn == a ? b : dn, zt = zt == a ? b : zt;
|
|
41293
41293
|
var Rn = dn == b, Zn = zt == b, bn = dn == zt;
|
|
@@ -41297,7 +41297,7 @@ var yd = {}, g9 = {
|
|
|
41297
41297
|
St = !0, Rn = !1;
|
|
41298
41298
|
}
|
|
41299
41299
|
if (bn && !Rn)
|
|
41300
|
-
return rt || (rt = new Gi()), St || oh(E) ? rl(E, L, J, le, bt, rt) :
|
|
41300
|
+
return rt || (rt = new Gi()), St || oh(E) ? rl(E, L, J, le, bt, rt) : of(E, L, dn, J, le, bt, rt);
|
|
41301
41301
|
if (!(J & r)) {
|
|
41302
41302
|
var On = Rn && Ke.call(E, "__wrapped__"), In = Zn && Ke.call(L, "__wrapped__");
|
|
41303
41303
|
if (On || In) {
|
|
@@ -41305,19 +41305,19 @@ var yd = {}, g9 = {
|
|
|
41305
41305
|
return rt || (rt = new Gi()), bt(Fr, mr, J, le, rt);
|
|
41306
41306
|
}
|
|
41307
41307
|
}
|
|
41308
|
-
return bn ? (rt || (rt = new Gi()),
|
|
41308
|
+
return bn ? (rt || (rt = new Gi()), af(E, L, J, le, bt, rt)) : !1;
|
|
41309
41309
|
}
|
|
41310
|
-
function
|
|
41311
|
-
if (!sh(E) ||
|
|
41310
|
+
function nf(E) {
|
|
41311
|
+
if (!sh(E) || uf(E))
|
|
41312
41312
|
return !1;
|
|
41313
41313
|
var L = rh(E) ? $e : ye;
|
|
41314
41314
|
return L.test(Hn(E));
|
|
41315
41315
|
}
|
|
41316
|
-
function
|
|
41316
|
+
function rf(E) {
|
|
41317
41317
|
return Hi(E) && ol(E.length) && !!be[Ms(E)];
|
|
41318
41318
|
}
|
|
41319
|
-
function
|
|
41320
|
-
if (!
|
|
41319
|
+
function sf(E) {
|
|
41320
|
+
if (!df(E))
|
|
41321
41321
|
return an(E);
|
|
41322
41322
|
var L = [];
|
|
41323
41323
|
for (var J in Object(E))
|
|
@@ -41357,7 +41357,7 @@ var yd = {}, g9 = {
|
|
|
41357
41357
|
}
|
|
41358
41358
|
return rt.delete(E), rt.delete(L), Zn;
|
|
41359
41359
|
}
|
|
41360
|
-
function
|
|
41360
|
+
function of(E, L, J, le, bt, rt, St) {
|
|
41361
41361
|
switch (J) {
|
|
41362
41362
|
case k:
|
|
41363
41363
|
if (E.byteLength != L.byteLength || E.byteOffset != L.byteOffset)
|
|
@@ -41392,7 +41392,7 @@ var yd = {}, g9 = {
|
|
|
41392
41392
|
}
|
|
41393
41393
|
return !1;
|
|
41394
41394
|
}
|
|
41395
|
-
function
|
|
41395
|
+
function af(E, L, J, le, bt, rt) {
|
|
41396
41396
|
var St = J & r, Lt = Es(E), dn = Lt.length, zt = Es(L), Rn = zt.length;
|
|
41397
41397
|
if (dn != Rn && !St)
|
|
41398
41398
|
return !1;
|
|
@@ -41424,15 +41424,15 @@ var yd = {}, g9 = {
|
|
|
41424
41424
|
return rt.delete(E), rt.delete(L), In;
|
|
41425
41425
|
}
|
|
41426
41426
|
function Es(E) {
|
|
41427
|
-
return il(E, al,
|
|
41427
|
+
return il(E, al, lf);
|
|
41428
41428
|
}
|
|
41429
41429
|
function wi(E, L) {
|
|
41430
41430
|
var J = E.__data__;
|
|
41431
|
-
return
|
|
41431
|
+
return hf(L) ? J[typeof L == "string" ? "string" : "hash"] : J.map;
|
|
41432
41432
|
}
|
|
41433
41433
|
function fr(E, L) {
|
|
41434
41434
|
var J = qe(E, L);
|
|
41435
|
-
return
|
|
41435
|
+
return nf(J) ? J : void 0;
|
|
41436
41436
|
}
|
|
41437
41437
|
function pr(E) {
|
|
41438
41438
|
var L = Ke.call(E, Xt), J = E[Xt];
|
|
@@ -41444,11 +41444,11 @@ var yd = {}, g9 = {
|
|
|
41444
41444
|
var bt = We.call(E);
|
|
41445
41445
|
return le && (L ? E[Xt] = J : delete E[Xt]), bt;
|
|
41446
41446
|
}
|
|
41447
|
-
var
|
|
41447
|
+
var lf = kt ? function(E) {
|
|
41448
41448
|
return E == null ? [] : (E = Object(E), xe(kt(E), function(L) {
|
|
41449
41449
|
return Ot.call(E, L);
|
|
41450
41450
|
}));
|
|
41451
|
-
} :
|
|
41451
|
+
} : pf, ji = Ms;
|
|
41452
41452
|
(_n && ji(new _n(new ArrayBuffer(1))) != k || ci && ji(new ci()) != p || Fi && ji(Fi.resolve()) != A || Vi && ji(new Vi()) != M || V && ji(new V()) != z) && (ji = function(E) {
|
|
41453
41453
|
var L = Ms(E), J = L == b ? E.constructor : void 0, le = J ? Hn(J) : "";
|
|
41454
41454
|
if (le)
|
|
@@ -41466,17 +41466,17 @@ var yd = {}, g9 = {
|
|
|
41466
41466
|
}
|
|
41467
41467
|
return L;
|
|
41468
41468
|
});
|
|
41469
|
-
function
|
|
41469
|
+
function cf(E, L) {
|
|
41470
41470
|
return L = L == null ? o : L, !!L && (typeof E == "number" || Je.test(E)) && E > -1 && E % 1 == 0 && E < L;
|
|
41471
41471
|
}
|
|
41472
|
-
function
|
|
41472
|
+
function hf(E) {
|
|
41473
41473
|
var L = typeof E;
|
|
41474
41474
|
return L == "string" || L == "number" || L == "symbol" || L == "boolean" ? E !== "__proto__" : E === null;
|
|
41475
41475
|
}
|
|
41476
|
-
function
|
|
41476
|
+
function uf(E) {
|
|
41477
41477
|
return !!$ && $ in E;
|
|
41478
41478
|
}
|
|
41479
|
-
function
|
|
41479
|
+
function df(E) {
|
|
41480
41480
|
var L = E && E.constructor, J = typeof L == "function" && L.prototype || Re;
|
|
41481
41481
|
return E === J;
|
|
41482
41482
|
}
|
|
@@ -41507,8 +41507,8 @@ var yd = {}, g9 = {
|
|
|
41507
41507
|
function sl(E) {
|
|
41508
41508
|
return E != null && ol(E.length) && !rh(E);
|
|
41509
41509
|
}
|
|
41510
|
-
var uo = on ||
|
|
41511
|
-
function
|
|
41510
|
+
var uo = on || mf;
|
|
41511
|
+
function ff(E, L) {
|
|
41512
41512
|
return eh(E, L);
|
|
41513
41513
|
}
|
|
41514
41514
|
function rh(E) {
|
|
@@ -41527,17 +41527,17 @@ var yd = {}, g9 = {
|
|
|
41527
41527
|
function Hi(E) {
|
|
41528
41528
|
return E != null && typeof E == "object";
|
|
41529
41529
|
}
|
|
41530
|
-
var oh = mt ? Ce(mt) :
|
|
41530
|
+
var oh = mt ? Ce(mt) : rf;
|
|
41531
41531
|
function al(E) {
|
|
41532
|
-
return sl(E) ?
|
|
41532
|
+
return sl(E) ? ef(E) : sf(E);
|
|
41533
41533
|
}
|
|
41534
|
-
function
|
|
41534
|
+
function pf() {
|
|
41535
41535
|
return [];
|
|
41536
41536
|
}
|
|
41537
|
-
function
|
|
41537
|
+
function mf() {
|
|
41538
41538
|
return !1;
|
|
41539
41539
|
}
|
|
41540
|
-
e.exports =
|
|
41540
|
+
e.exports = ff;
|
|
41541
41541
|
})(g9, yd);
|
|
41542
41542
|
const v9 = yd, y9 = (e, n) => v9(e, n), b9 = (e) => Object.keys(e || {}), A9 = (e, n) => {
|
|
41543
41543
|
const t = {};
|
|
@@ -41806,7 +41806,7 @@ function S9(e) {
|
|
|
41806
41806
|
},
|
|
41807
41807
|
methods: {
|
|
41808
41808
|
_prev({ data: o }) {
|
|
41809
|
-
o.currentParticleIndex =
|
|
41809
|
+
o.currentParticleIndex = up({
|
|
41810
41810
|
infinite: o.infinite,
|
|
41811
41811
|
pageIndex: o.currentPageIndex - 1,
|
|
41812
41812
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -41817,7 +41817,7 @@ function S9(e) {
|
|
|
41817
41817
|
});
|
|
41818
41818
|
},
|
|
41819
41819
|
_next({ data: o }) {
|
|
41820
|
-
o.currentParticleIndex =
|
|
41820
|
+
o.currentParticleIndex = up({
|
|
41821
41821
|
infinite: o.infinite,
|
|
41822
41822
|
pageIndex: o.currentPageIndex + 1,
|
|
41823
41823
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -41844,7 +41844,7 @@ function S9(e) {
|
|
|
41844
41844
|
return;
|
|
41845
41845
|
}
|
|
41846
41846
|
if (o.autoplay) {
|
|
41847
|
-
const c = () =>
|
|
41847
|
+
const c = () => Um({
|
|
41848
41848
|
[gs]: () => ee(this, null, function* () {
|
|
41849
41849
|
return a.showNextPage();
|
|
41850
41850
|
}),
|
|
@@ -41896,7 +41896,7 @@ function S9(e) {
|
|
|
41896
41896
|
});
|
|
41897
41897
|
},
|
|
41898
41898
|
_getParticleIndexByPageIndex({ data: o }, a) {
|
|
41899
|
-
return
|
|
41899
|
+
return up({
|
|
41900
41900
|
infinite: o.infinite,
|
|
41901
41901
|
pageIndex: a,
|
|
41902
41902
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -42483,7 +42483,7 @@ function N9(e) {
|
|
|
42483
42483
|
function F9(e, n, t) {
|
|
42484
42484
|
let { $$slots: i = {}, $$scope: r } = n, s = [], o, a, l = 0, c = 0, h = 1;
|
|
42485
42485
|
const [{ data: u, progressManager: d }, f, m] = S9((xe, Ne) => {
|
|
42486
|
-
|
|
42486
|
+
Um({
|
|
42487
42487
|
currentPageIndex: () => t(5, o = Ne),
|
|
42488
42488
|
progressValue: () => t(7, a = Ne),
|
|
42489
42489
|
offset: () => t(8, l = Ne),
|
|
@@ -42491,7 +42491,7 @@ function F9(e, n, t) {
|
|
|
42491
42491
|
pagesCount: () => t(10, h = Ne),
|
|
42492
42492
|
loaded: () => t(6, s = Ne)
|
|
42493
42493
|
})(xe);
|
|
42494
|
-
}), p =
|
|
42494
|
+
}), p = Nd();
|
|
42495
42495
|
let { timingFunction: g = "ease-in-out" } = n, { arrows: y = !0 } = n, { infinite: b = !0 } = n, { initialPageIndex: A = 0 } = n, { duration: w = 500 } = n, { autoplay: x = !1 } = n, { autoplayDuration: M = 3e3 } = n, { autoplayDirection: P = gs } = n, { pauseOnFocus: I = !1 } = n, { autoplayProgressVisible: T = !1 } = n, { dots: z = !0 } = n, { swiping: D = !0 } = n, { particlesToShow: k = 1 } = n, { particlesToScroll: O = 1 } = n;
|
|
42496
42496
|
function G(xe, Ne) {
|
|
42497
42497
|
return ee(this, null, function* () {
|
|
@@ -42549,7 +42549,7 @@ function F9(e, n, t) {
|
|
|
42549
42549
|
}
|
|
42550
42550
|
function Je(xe) {
|
|
42551
42551
|
return ee(this, null, function* () {
|
|
42552
|
-
D && (yield
|
|
42552
|
+
D && (yield Um({
|
|
42553
42553
|
[gs]: f.showNextPage,
|
|
42554
42554
|
[Ba]: f.showPrevPage
|
|
42555
42555
|
})(xe.detail.direction));
|
|
@@ -43030,7 +43030,7 @@ function Y9(e, n, t) {
|
|
|
43030
43030
|
s.videoInstance = k, t(0, s);
|
|
43031
43031
|
});
|
|
43032
43032
|
}
|
|
43033
|
-
const z = () => l === "withText" ? Hg : l === "withoutText" ?
|
|
43033
|
+
const z = () => l === "withText" ? Hg : l === "withoutText" ? Gm : l, D = (k) => {
|
|
43034
43034
|
h && i && (t(10, i.muted = !1, i), i.play());
|
|
43035
43035
|
};
|
|
43036
43036
|
return e.$$set = (k) => {
|
|
@@ -44348,7 +44348,7 @@ function hN(e) {
|
|
|
44348
44348
|
}
|
|
44349
44349
|
function uN(e, n, t) {
|
|
44350
44350
|
let { $$slots: i = {}, $$scope: r } = n, { url: s } = n, { enable: o = !0 } = n, { style: a = "" } = n, { hooksInfo: l } = n;
|
|
44351
|
-
const c =
|
|
44351
|
+
const c = Nd(), h = fs("hooks"), u = fs("mediaStore");
|
|
44352
44352
|
let d, f = !0;
|
|
44353
44353
|
function m() {
|
|
44354
44354
|
t(
|
|
@@ -45440,7 +45440,7 @@ let RN = class extends ke {
|
|
|
45440
45440
|
super(), Le(this, n, kN, LN, De, { tag: 0 }, DN);
|
|
45441
45441
|
}
|
|
45442
45442
|
};
|
|
45443
|
-
const
|
|
45443
|
+
const fp = /* @__PURE__ */ new Map();
|
|
45444
45444
|
function RM(e) {
|
|
45445
45445
|
return ee(this, null, function* () {
|
|
45446
45446
|
return new Promise((n, t) => {
|
|
@@ -45456,10 +45456,10 @@ function RM(e) {
|
|
|
45456
45456
|
function ON(e) {
|
|
45457
45457
|
return ee(this, null, function* () {
|
|
45458
45458
|
const { url: n, ratio: t = 3 } = e, i = (() => {
|
|
45459
|
-
if (
|
|
45460
|
-
return
|
|
45459
|
+
if (fp.has(n))
|
|
45460
|
+
return fp.get(n);
|
|
45461
45461
|
const o = RM(n);
|
|
45462
|
-
return
|
|
45462
|
+
return fp.set(n, o), o;
|
|
45463
45463
|
})(), { width: r, height: s } = yield i;
|
|
45464
45464
|
return Me(R({}, e), {
|
|
45465
45465
|
width: r / t,
|
|
@@ -45880,7 +45880,7 @@ function Yo(e) {
|
|
|
45880
45880
|
}
|
|
45881
45881
|
function YN(e, n, t) {
|
|
45882
45882
|
let i, r, s, o, a, l, c, h, u, { width: d = null } = n, { icon: f = null } = n, { shadow: m = !1 } = n;
|
|
45883
|
-
const p =
|
|
45883
|
+
const p = Nd();
|
|
45884
45884
|
function g(A) {
|
|
45885
45885
|
return ee(this, null, function* () {
|
|
45886
45886
|
const w = yield zN(A);
|
|
@@ -46274,7 +46274,7 @@ function c8(e) {
|
|
|
46274
46274
|
const [n, t, i, r] = e, s = n.distanceTo(t), o = t.distanceTo(i), a = i.distanceTo(r), l = r.distanceTo(n), c = n.distanceTo(i), h = t.distanceTo(r);
|
|
46275
46275
|
return s === a && o === l && c === h;
|
|
46276
46276
|
}
|
|
46277
|
-
class
|
|
46277
|
+
class pp extends C.Mesh {
|
|
46278
46278
|
/**
|
|
46279
46279
|
* @description 生成一个四边形的Mesh
|
|
46280
46280
|
* @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
|
|
@@ -46490,7 +46490,7 @@ class FM extends BM {
|
|
|
46490
46490
|
v(this, "buttonMesh");
|
|
46491
46491
|
v(this, "videoTextureMap");
|
|
46492
46492
|
v(this, "ImageTextureMap");
|
|
46493
|
-
this.cornerPoints = i, this.src = t, this.buttonSrc = (() => a === "withText" ? Hg : a === "withoutText" ?
|
|
46493
|
+
this.cornerPoints = i, this.src = t, this.buttonSrc = (() => a === "withText" ? Hg : a === "withoutText" ? Gm : typeof a == "string" ? a : Gm)(), this.videoCoverSrc = s, this.objectFit = o, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(lr(...i)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
|
|
46494
46494
|
l ? this.addButtonMesh() : this.play(!0);
|
|
46495
46495
|
}), this.addEventListener("removed", () => {
|
|
46496
46496
|
this.remove(...this.children);
|
|
@@ -46537,7 +46537,7 @@ class FM extends BM {
|
|
|
46537
46537
|
return this.coverMesh;
|
|
46538
46538
|
if (!this.videoCoverSrc)
|
|
46539
46539
|
return;
|
|
46540
|
-
const { texture: i, transparent: r } = yield this.getImageTexture(this.videoCoverSrc), s = new C.MeshBasicMaterial({ transparent: !1, map: i }), o = Tl(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new
|
|
46540
|
+
const { texture: i, transparent: r } = yield this.getImageTexture(this.videoCoverSrc), s = new C.MeshBasicMaterial({ transparent: !1, map: i }), o = Tl(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new pp(o, s);
|
|
46541
46541
|
return a.position.copy(new Se(0, 0, 0)), a.name = "videoCoverMesh", a;
|
|
46542
46542
|
}))();
|
|
46543
46543
|
return t && (this.children.includes(this.coverMesh) || (this.add(t), this.coverMesh = t)), t;
|
|
@@ -46557,7 +46557,7 @@ class FM extends BM {
|
|
|
46557
46557
|
"videoLoaded",
|
|
46558
46558
|
() => l(Tl(this.objectFit, this.cornerPoints, r.image.videoWidth / r.image.videoHeight))
|
|
46559
46559
|
);
|
|
46560
|
-
}), a = new
|
|
46560
|
+
}), a = new pp(o, s);
|
|
46561
46561
|
return a.name = "videoMesh", a.position.copy(new Se(0, 0, 0)), a;
|
|
46562
46562
|
}))();
|
|
46563
46563
|
if (!t)
|
|
@@ -46586,7 +46586,7 @@ class FM extends BM {
|
|
|
46586
46586
|
var f, m, p, g;
|
|
46587
46587
|
if (this.buttonMesh)
|
|
46588
46588
|
return this.buttonMesh;
|
|
46589
|
-
const i = (m = (f = this.videoMesh) == null ? void 0 : f.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, r = (g = (p = this.coverMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, r, s) / s * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = Tl("contain", this.cornerPoints, l.image.width / l.image.height), u = new
|
|
46589
|
+
const i = (m = (f = this.videoMesh) == null ? void 0 : f.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, r = (g = (p = this.coverMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, r, s) / s * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = Tl("contain", this.cornerPoints, l.image.width / l.image.height), u = new pp(h, new f8(l));
|
|
46590
46590
|
u.position.copy(new Se(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
|
|
46591
46591
|
u,
|
|
46592
46592
|
"click",
|
|
@@ -46641,7 +46641,7 @@ const p8 = {
|
|
|
46641
46641
|
renderType: "Dom"
|
|
46642
46642
|
};
|
|
46643
46643
|
var m8 = /* @__PURE__ */ ((e) => (e.PointTag = "PointTag", e.PlaneTag = "PlaneTag", e))(m8 || {}), g8 = /* @__PURE__ */ ((e) => (e.Audio = "Audio", e.Text = "Text", e.ImageText = "ImageText", e.Image = "Image", e.Video = "Video", e.Link = "Link", e.Sticker = "Sticker", e.VRLink = "VRLink", e.PanoLink = "PanoLink", e.Marketing = "Marketing", e.MediaPlane = "MediaPlane", e.MediaModel = "MediaModel", e.Model = "Model", e.Panorama = "Panorama", e.Custom = "Custom", e.Unknown = "Unknown", e))(g8 || {}), v8 = /* @__PURE__ */ ((e) => (e.Two = "2D", e.Three = "3D", e))(v8 || {});
|
|
46644
|
-
function
|
|
46644
|
+
function mp(e, n, t) {
|
|
46645
46645
|
var f, m, p, g, y;
|
|
46646
46646
|
const i = (f = t == null ? void 0 : t.useCache) != null ? f : !0;
|
|
46647
46647
|
if (!e)
|
|
@@ -46778,7 +46778,7 @@ class ev {
|
|
|
46778
46778
|
t.stickType = i;
|
|
46779
46779
|
const r = JSON.parse(JSON.stringify(t.data)), s = (l = t.initialConfig) != null ? l : t.config ? JSON.parse(JSON.stringify(t.config)) : {};
|
|
46780
46780
|
t.initialConfig = s;
|
|
46781
|
-
const o =
|
|
46781
|
+
const o = mp(t, n.config), a = this.getConfig(t);
|
|
46782
46782
|
t.config = a, this.id = (c = t.id) != null ? c : wn(), this.enabled = (h = t.enabled) != null ? h : !0, this.contentType = t.contentType, this.data = (u = a.initialData) != null && u.important ? jt(t.data, r, a.initialData) : jt(t.data, a.initialData, r), this.state = R({
|
|
46783
46783
|
visible: void 0,
|
|
46784
46784
|
unfolded: !this.can("fold")
|
|
@@ -46805,12 +46805,12 @@ class ev {
|
|
|
46805
46805
|
return this.plugin.workUtil;
|
|
46806
46806
|
}
|
|
46807
46807
|
get centerPosition() {
|
|
46808
|
-
const n =
|
|
46808
|
+
const n = Hm(this);
|
|
46809
46809
|
return lr(...Array.isArray(n) ? n : [n]);
|
|
46810
46810
|
}
|
|
46811
46811
|
get currentConfig() {
|
|
46812
46812
|
var r, s;
|
|
46813
|
-
const n =
|
|
46813
|
+
const n = mp(this, this.plugin.config, { useCache: !0 }), t = this.five.getCurrentState().mode, i = (r = n.configWithFiveMode) == null ? void 0 : r[t];
|
|
46814
46814
|
return (s = i != null ? i : n) != null ? s : {};
|
|
46815
46815
|
}
|
|
46816
46816
|
get currentVisible() {
|
|
@@ -46882,7 +46882,7 @@ class ev {
|
|
|
46882
46882
|
console.warn("tagDom is empty");
|
|
46883
46883
|
return;
|
|
46884
46884
|
}
|
|
46885
|
-
yield (r ?
|
|
46885
|
+
yield (r ? Od : lx)(s, R({
|
|
46886
46886
|
begin: () => {
|
|
46887
46887
|
r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
46888
46888
|
},
|
|
@@ -46971,7 +46971,7 @@ class ev {
|
|
|
46971
46971
|
}
|
|
46972
46972
|
getConfig(n, t) {
|
|
46973
46973
|
var o, a, l;
|
|
46974
|
-
const i =
|
|
46974
|
+
const i = mp(n != null ? n : this, this.plugin.config, { useCache: t == null ? void 0 : t.useCache }), r = (o = t == null ? void 0 : t.fiveMode) != null ? o : this.five.getCurrentState().mode, s = (a = i.configWithFiveMode) == null ? void 0 : a[r];
|
|
46975
46975
|
return (l = s != null ? s : i) != null ? l : {};
|
|
46976
46976
|
}
|
|
46977
46977
|
getDistance(n, t = 3) {
|
|
@@ -47149,7 +47149,7 @@ class ev {
|
|
|
47149
47149
|
(() => {
|
|
47150
47150
|
var f;
|
|
47151
47151
|
const d = (f = t.checkPoints) != null ? f : "center";
|
|
47152
|
-
return d === "center" ? Jb(this) : d === "corner" ?
|
|
47152
|
+
return d === "center" ? Jb(this) : d === "corner" ? Hm(this) : Array.isArray(d) ? d : [];
|
|
47153
47153
|
})()
|
|
47154
47154
|
);
|
|
47155
47155
|
let o = 0, a = 0;
|
|
@@ -47927,7 +47927,7 @@ function T8(e) {
|
|
|
47927
47927
|
}
|
|
47928
47928
|
function D8(e, n, t) {
|
|
47929
47929
|
let i, r, s, o, a, l, { tag: c } = n, { hooks: h } = n, { rendererMap: u = /* @__PURE__ */ new Map() } = n, { contentTypeMap: d = /* @__PURE__ */ new Map() } = n, { state: f } = n, { mediaStore: m } = n, { temporaryState: p } = n;
|
|
47930
|
-
|
|
47930
|
+
Dm("hooks", h), Dm("mediaStore", m);
|
|
47931
47931
|
let g, y;
|
|
47932
47932
|
function b(I) {
|
|
47933
47933
|
I ? h.emit("exposure", { id: o, type: "start" }) : h.emit("exposure", { id: o, type: "end" });
|
|
@@ -48095,23 +48095,23 @@ const L8 = {
|
|
|
48095
48095
|
};
|
|
48096
48096
|
class d1 extends C.Raycaster {
|
|
48097
48097
|
intersectObject(n, t = !0, i = []) {
|
|
48098
|
-
return
|
|
48098
|
+
return Wm(n, this, i, t), i.sort(f1), i;
|
|
48099
48099
|
}
|
|
48100
48100
|
intersectObjects(n, t = !0, i = []) {
|
|
48101
48101
|
for (let r = 0, s = n.length; r < s; r++)
|
|
48102
|
-
|
|
48102
|
+
Wm(n[r], this, i, t);
|
|
48103
48103
|
return i.sort(f1), i;
|
|
48104
48104
|
}
|
|
48105
48105
|
}
|
|
48106
48106
|
function f1(e, n) {
|
|
48107
48107
|
return e.distance - n.distance;
|
|
48108
48108
|
}
|
|
48109
|
-
function
|
|
48109
|
+
function Wm(e, n, t, i) {
|
|
48110
48110
|
let r = !0;
|
|
48111
48111
|
if (e.layers.test(n.layers) && e.raycast(n, t) === !1 && (r = !1), r === !0 && i === !0) {
|
|
48112
48112
|
const s = e.children;
|
|
48113
48113
|
for (let o = 0, a = s.length; o < a; o++)
|
|
48114
|
-
|
|
48114
|
+
Wm(s[o], n, t, !0);
|
|
48115
48115
|
}
|
|
48116
48116
|
}
|
|
48117
48117
|
function tv(e, n, t, i) {
|
|
@@ -48242,7 +48242,7 @@ class nv {
|
|
|
48242
48242
|
const y = g[`${t}Handler`];
|
|
48243
48243
|
if (y)
|
|
48244
48244
|
for (const [b, A] of y) {
|
|
48245
|
-
if (A != null && A.noEmitWhenNotInScene && u.type !== "Scene" || ((f = this.config) != null && f.noEmitWhenHide || A != null && A.noEmitWhenHide) && !
|
|
48245
|
+
if (A != null && A.noEmitWhenNotInScene && u.type !== "Scene" || ((f = this.config) != null && f.noEmitWhenHide || A != null && A.noEmitWhenHide) && !tg(p))
|
|
48246
48246
|
continue;
|
|
48247
48247
|
if (t === "hover") {
|
|
48248
48248
|
if (p._hovered)
|
|
@@ -48402,7 +48402,7 @@ class k8 extends ws {
|
|
|
48402
48402
|
get css3DRenderPlugin() {
|
|
48403
48403
|
var t, i, r;
|
|
48404
48404
|
if (!this._css3DRenderPlugin) {
|
|
48405
|
-
const s =
|
|
48405
|
+
const s = Bd(this.five);
|
|
48406
48406
|
this._css3DRenderPlugin = s, (t = s.frontModeCSS3DRenderer) != null && t.domElementWrapper && (s.frontModeCSS3DRenderer.domElementWrapper.style.zIndex = (r = (i = this.params.containerZIndex) == null ? void 0 : i.toString()) != null ? r : "");
|
|
48407
48407
|
}
|
|
48408
48408
|
return this._css3DRenderPlugin;
|
|
@@ -48516,7 +48516,7 @@ class R8 extends k8 {
|
|
|
48516
48516
|
if (r.tag3DContentSvelte) {
|
|
48517
48517
|
const { svelteApp: u, css3DInstance: d, initialNormal: f, currentNormal: m } = r.tag3DContentSvelte;
|
|
48518
48518
|
if ((o = d == null ? void 0 : d.css3DObject) == null || o.setVisible((this.state.visible && ((s = r.state) == null ? void 0 : s.visible)) !== !1), u.$set({ tag: r, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !f.equals(m)) {
|
|
48519
|
-
const p = new
|
|
48519
|
+
const p = new $m().setFromUnitVectors(f, m);
|
|
48520
48520
|
d.css3DObject.setRotationFromQuaternion(p);
|
|
48521
48521
|
}
|
|
48522
48522
|
return;
|
|
@@ -49538,7 +49538,7 @@ function eF(e) {
|
|
|
49538
49538
|
}
|
|
49539
49539
|
function tF(e, n, t) {
|
|
49540
49540
|
let { tags: i = [] } = n, { hooks: r } = n, { mediaStore: s } = n, { rendererMap: o } = n, { contentTypeMap: a } = n, { state: l } = n, { temporaryState: c } = n, { zIndex: h = void 0 } = n;
|
|
49541
|
-
return
|
|
49541
|
+
return Dm("hooks", r), e.$$set = (u) => {
|
|
49542
49542
|
"tags" in u && t(0, i = u.tags), "hooks" in u && t(7, r = u.hooks), "mediaStore" in u && t(1, s = u.mediaStore), "rendererMap" in u && t(2, o = u.rendererMap), "contentTypeMap" in u && t(3, a = u.contentTypeMap), "state" in u && t(4, l = u.state), "temporaryState" in u && t(5, c = u.temporaryState), "zIndex" in u && t(6, h = u.zIndex);
|
|
49543
49543
|
}, [
|
|
49544
49544
|
i,
|
|
@@ -49574,7 +49574,7 @@ class nF extends ke {
|
|
|
49574
49574
|
}
|
|
49575
49575
|
}
|
|
49576
49576
|
const jM = "Dnalogel-PanoTagPlugin", TG = (e) => `${jM}--${e}`;
|
|
49577
|
-
class
|
|
49577
|
+
class Qm extends R8 {
|
|
49578
49578
|
constructor(t, i) {
|
|
49579
49579
|
super(t);
|
|
49580
49580
|
/** state */
|
|
@@ -49983,7 +49983,7 @@ class Wm extends R8 {
|
|
|
49983
49983
|
};
|
|
49984
49984
|
}
|
|
49985
49985
|
}
|
|
49986
|
-
const DG = (e, n) => new
|
|
49986
|
+
const DG = (e, n) => new Qm(e, n);
|
|
49987
49987
|
function iF(e) {
|
|
49988
49988
|
Ue(e, "svelte-4qjwer", ".guide-line__tag.svelte-4qjwer.svelte-4qjwer{position:relative}.text-with-distance.svelte-4qjwer.svelte-4qjwer{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-4qjwer .border.svelte-4qjwer{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-4qjwer.svelte-4qjwer{display:flex;gap:0.1875rem}.distance.svelte-4qjwer.svelte-4qjwer{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-4qjwer.svelte-4qjwer{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-4qjwer.svelte-4qjwer{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-4qjwer.svelte-4qjwer{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-4qjwer.svelte-4qjwer{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-4qjwer.svelte-4qjwer{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-slice:6 25 6 18 fill;color:#fff}");
|
|
49989
49989
|
}
|
|
@@ -50306,7 +50306,7 @@ const lF = (
|
|
|
50306
50306
|
}
|
|
50307
50307
|
`
|
|
50308
50308
|
);
|
|
50309
|
-
class
|
|
50309
|
+
class Ym {
|
|
50310
50310
|
constructor(n, t) {
|
|
50311
50311
|
v(this, "name", "");
|
|
50312
50312
|
v(this, "startTagContainer");
|
|
@@ -50604,7 +50604,7 @@ class Qm {
|
|
|
50604
50604
|
var n, t, i, r, s, o;
|
|
50605
50605
|
if (this.disposed)
|
|
50606
50606
|
return this.logError("disposed");
|
|
50607
|
-
|
|
50607
|
+
Od([this.group, (i = (t = (n = this.startTagContainer) == null ? void 0 : n.plugin) == null ? void 0 : t.tags[0]) == null ? void 0 : i.dom, (o = (s = (r = this.endTagContainer) == null ? void 0 : r.plugin) == null ? void 0 : s.tags[0]) == null ? void 0 : o.dom], {
|
|
50608
50608
|
loop: 6,
|
|
50609
50609
|
updateRender: () => {
|
|
50610
50610
|
this.five.needsRender = !0;
|
|
@@ -50639,7 +50639,7 @@ class Qm {
|
|
|
50639
50639
|
const i = this.curvePath;
|
|
50640
50640
|
if (!(t != null && t.data))
|
|
50641
50641
|
return;
|
|
50642
|
-
const r = n === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new
|
|
50642
|
+
const r = n === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new Qm(this.five, { containerZIndex: 1 }) }, this.startTagContainer))() : (c = this.endTagContainer) != null ? c : (() => (this.endTagContainer = { tag: null, plugin: new Qm(this.five, { containerZIndex: 1 }) }, this.endTagContainer))(), o = jt({}, {
|
|
50643
50643
|
contentType: "Custom",
|
|
50644
50644
|
stickType: "2DPoint",
|
|
50645
50645
|
config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
|
|
@@ -50697,8 +50697,8 @@ function hF(e) {
|
|
|
50697
50697
|
}
|
|
50698
50698
|
const LG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50699
50699
|
__proto__: null,
|
|
50700
|
-
GuideLineModeItem:
|
|
50701
|
-
}, Symbol.toStringTag, { value: "Module" })), HM = "CruisePlugin",
|
|
50700
|
+
GuideLineModeItem: Ym
|
|
50701
|
+
}, Symbol.toStringTag, { value: "Module" })), HM = "CruisePlugin", gp = `${HM}`;
|
|
50702
50702
|
class UM extends ws {
|
|
50703
50703
|
constructor(t, i) {
|
|
50704
50704
|
super(t, i);
|
|
@@ -50719,13 +50719,13 @@ class UM extends ws {
|
|
|
50719
50719
|
});
|
|
50720
50720
|
v(this, "GuideLine");
|
|
50721
50721
|
v(this, "disposedErrorLog", () => {
|
|
50722
|
-
console.error(`${
|
|
50722
|
+
console.error(`${gp} is disposed`);
|
|
50723
50723
|
});
|
|
50724
50724
|
v(this, "disableWarnLog", () => {
|
|
50725
|
-
console.warn(`${
|
|
50725
|
+
console.warn(`${gp} is disabled`);
|
|
50726
50726
|
});
|
|
50727
50727
|
v(this, "disableErrorLog", () => {
|
|
50728
|
-
console.error(`${
|
|
50728
|
+
console.error(`${gp} is disabled`);
|
|
50729
50729
|
});
|
|
50730
50730
|
this.config = i, Object.assign(window, { [`__${HM}_DEBUG__`]: this });
|
|
50731
50731
|
}
|
|
@@ -50873,7 +50873,7 @@ class UM extends ws {
|
|
|
50873
50873
|
i != null && i.warnLog && this.disableWarnLog();
|
|
50874
50874
|
}
|
|
50875
50875
|
}
|
|
50876
|
-
function
|
|
50876
|
+
function vp(e, n, t) {
|
|
50877
50877
|
var l, c, h;
|
|
50878
50878
|
const i = new C.Vector3().fromArray([(l = t.x) != null ? l : 0, (c = t.y) != null ? c : 0, (h = t.z) != null ? h : 0]), r = e.getPointAt(n).clone().add(i), s = e.getTangentAt(n), { longitude: o, latitude: a } = Uc(s);
|
|
50879
50879
|
return { offset: r.clone(), longitude: o, latitude: a, distance: 0 };
|
|
@@ -50891,7 +50891,7 @@ let WM = class extends UM {
|
|
|
50891
50891
|
this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: i });
|
|
50892
50892
|
});
|
|
50893
50893
|
v(this, "moveToStart", () => {
|
|
50894
|
-
this.five.setState(Me(R({},
|
|
50894
|
+
this.five.setState(Me(R({}, vp(this.curve, 0, this.curveOffset)), { mode: "Model" }));
|
|
50895
50895
|
});
|
|
50896
50896
|
v(this, "playFromStart", () => {
|
|
50897
50897
|
this.clearPauseData(), this.setState({ playing: !0 });
|
|
@@ -50960,7 +50960,7 @@ let WM = class extends UM {
|
|
|
50960
50960
|
const r = this.getPauseData();
|
|
50961
50961
|
let s = (l = r == null ? void 0 : r.playedProgress) != null ? l : 0;
|
|
50962
50962
|
(s < 0 || s >= 1) && (s = 0);
|
|
50963
|
-
const o =
|
|
50963
|
+
const o = vp(this.curve, s, this.curveOffset);
|
|
50964
50964
|
if (this.hooks.emit("progressChange", s), this.five.setState(Me(R({}, o), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
50965
50965
|
const c = this.addInterruptListener(() => {
|
|
50966
50966
|
this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
|
|
@@ -50973,7 +50973,7 @@ let WM = class extends UM {
|
|
|
50973
50973
|
else if (this.state.playing === !1)
|
|
50974
50974
|
this.five.off("renderFrame", a);
|
|
50975
50975
|
else if (c >= 0) {
|
|
50976
|
-
const h =
|
|
50976
|
+
const h = vp(this.curve, c, this.curveOffset);
|
|
50977
50977
|
this.hooks.emit("progressChange", c), this.five.setState(h, !0);
|
|
50978
50978
|
}
|
|
50979
50979
|
};
|
|
@@ -51426,7 +51426,7 @@ class QM {
|
|
|
51426
51426
|
v(this, "plugin");
|
|
51427
51427
|
v(this, "five");
|
|
51428
51428
|
v(this, "logError", (n) => dM("GuideLineItem: ", n));
|
|
51429
|
-
this.id = n.id, this.five = n.five, this.plugin = n.plugin, this.panoramaItem = new
|
|
51429
|
+
this.id = n.id, this.five = n.five, this.plugin = n.plugin, this.panoramaItem = new Ym(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new Ym(this.five, { mode: "model", plugin: this.plugin, parent: this });
|
|
51430
51430
|
}
|
|
51431
51431
|
get visible() {
|
|
51432
51432
|
return this._visible;
|
|
@@ -51512,11 +51512,11 @@ function gF(e, n) {
|
|
|
51512
51512
|
const RG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
51513
51513
|
__proto__: null,
|
|
51514
51514
|
GuideLineItem: QM
|
|
51515
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
51515
|
+
}, Symbol.toStringTag, { value: "Module" })), Xm = "GuideLinePlugin", x1 = `${Xm}`;
|
|
51516
51516
|
let vF = class extends Br {
|
|
51517
51517
|
constructor(t, i) {
|
|
51518
51518
|
super(t, i);
|
|
51519
|
-
v(this, "name",
|
|
51519
|
+
v(this, "name", Xm);
|
|
51520
51520
|
v(this, "cruisePlugin");
|
|
51521
51521
|
/** GuideLineItem 索引 */
|
|
51522
51522
|
v(this, "itemMap", /* @__PURE__ */ new Map());
|
|
@@ -51532,7 +51532,7 @@ let vF = class extends Br {
|
|
|
51532
51532
|
v(this, "disposedErrorLog", () => {
|
|
51533
51533
|
console.error(`${x1} is disposed`);
|
|
51534
51534
|
});
|
|
51535
|
-
this._config = i != null ? i : {}, this.cruisePlugin = new iv(t), Object.assign(window, { [`__${
|
|
51535
|
+
this._config = i != null ? i : {}, this.cruisePlugin = new iv(t), Object.assign(window, { [`__${Xm}_DEBUG__`]: this });
|
|
51536
51536
|
}
|
|
51537
51537
|
get config() {
|
|
51538
51538
|
return this._config;
|
|
@@ -51752,7 +51752,7 @@ function CF(e, n) {
|
|
|
51752
51752
|
y: -(e.y - r) / i * 2 + 1
|
|
51753
51753
|
});
|
|
51754
51754
|
}
|
|
51755
|
-
function
|
|
51755
|
+
function Qd(e, n, t) {
|
|
51756
51756
|
if (!n || !t || !e)
|
|
51757
51757
|
return;
|
|
51758
51758
|
const i = CF(n, t);
|
|
@@ -51764,7 +51764,7 @@ function Wd(e, n, t) {
|
|
|
51764
51764
|
function PF(e, n) {
|
|
51765
51765
|
return !(Math.abs(e.x - n.x) > 1e-5 || Math.abs(e.y - n.y) > 1e-5 || Math.abs(e.z - n.z) > 1e-5);
|
|
51766
51766
|
}
|
|
51767
|
-
class
|
|
51767
|
+
class yp extends EF {
|
|
51768
51768
|
constructor(t) {
|
|
51769
51769
|
var h;
|
|
51770
51770
|
super(t.direction);
|
|
@@ -51794,20 +51794,20 @@ class vp extends EF {
|
|
|
51794
51794
|
this.line.geometry.translate(0, this.lineHeight / 2, 0), this.direction === "x" ? (this.line.geometry.rotateX(Math.PI / 2), this.line.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.line.geometry.rotateX(Math.PI / 2);
|
|
51795
51795
|
}
|
|
51796
51796
|
}
|
|
51797
|
-
const
|
|
51797
|
+
const bp = {
|
|
51798
51798
|
X: 15618642,
|
|
51799
51799
|
Y: 4765519,
|
|
51800
51800
|
Z: 4227839
|
|
51801
51801
|
};
|
|
51802
51802
|
class ia {
|
|
51803
51803
|
static get X() {
|
|
51804
|
-
return new C.Color(
|
|
51804
|
+
return new C.Color(bp.X).convertSRGBToLinear().clone();
|
|
51805
51805
|
}
|
|
51806
51806
|
static get Y() {
|
|
51807
|
-
return new C.Color(
|
|
51807
|
+
return new C.Color(bp.Y).convertSRGBToLinear().clone();
|
|
51808
51808
|
}
|
|
51809
51809
|
static get Z() {
|
|
51810
|
-
return new C.Color(
|
|
51810
|
+
return new C.Color(bp.Z).convertSRGBToLinear().clone();
|
|
51811
51811
|
}
|
|
51812
51812
|
}
|
|
51813
51813
|
function rv(e, n) {
|
|
@@ -51820,7 +51820,7 @@ class _F extends bF {
|
|
|
51820
51820
|
v(this, "xArrow");
|
|
51821
51821
|
v(this, "yArrow");
|
|
51822
51822
|
v(this, "zArrow");
|
|
51823
|
-
i.xArrowEnable !== !1 && (this.xArrow = new
|
|
51823
|
+
i.xArrowEnable !== !1 && (this.xArrow = new yp({ direction: "x", color: ia.X })), i.yArrowEnable !== !1 && (this.yArrow = new yp({ direction: "y", color: ia.Y })), i.zArrowEnable !== !1 && (this.zArrow = new yp({ direction: "z", color: ia.Z })), this.add(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean));
|
|
51824
51824
|
}
|
|
51825
51825
|
show() {
|
|
51826
51826
|
super.show(), this.xArrow && (this.xArrow.visible = !0), this.yArrow && (this.yArrow.visible = !0), this.zArrow && (this.zArrow.visible = !0);
|
|
@@ -51880,7 +51880,7 @@ class TF extends wF {
|
|
|
51880
51880
|
v(this, "children", []);
|
|
51881
51881
|
v(this, "angleTips");
|
|
51882
51882
|
v(this, "container");
|
|
51883
|
-
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new
|
|
51883
|
+
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new Ap({ direction: "x", color: ia.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new Ap({ direction: "y", color: ia.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new Ap({ direction: "z", color: ia.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = SF({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
|
|
51884
51884
|
}
|
|
51885
51885
|
hide() {
|
|
51886
51886
|
this.children.forEach((t) => t.hide());
|
|
@@ -51901,7 +51901,7 @@ class TF extends wF {
|
|
|
51901
51901
|
this.removeFromParent(), (i = (t = this.angleTips) == null ? void 0 : t.element) == null || i.remove();
|
|
51902
51902
|
}
|
|
51903
51903
|
}
|
|
51904
|
-
class
|
|
51904
|
+
class Ap extends C.Group {
|
|
51905
51905
|
constructor(t) {
|
|
51906
51906
|
super();
|
|
51907
51907
|
v(this, "direction");
|
|
@@ -52694,7 +52694,7 @@ class NF extends Zc {
|
|
|
52694
52694
|
v(this, "dragging", (t) => {
|
|
52695
52695
|
if (!this.isDragging || !this.startInfo)
|
|
52696
52696
|
return;
|
|
52697
|
-
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s =
|
|
52697
|
+
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Qd(this.camera, { x: i, y: r }, this.container);
|
|
52698
52698
|
return s ? (this.move(s), !1) : this.dragEnd();
|
|
52699
52699
|
});
|
|
52700
52700
|
v(this, "dragEnd", () => {
|
|
@@ -52925,10 +52925,10 @@ class UF {
|
|
|
52925
52925
|
t != null && t.warnLog && jF();
|
|
52926
52926
|
}
|
|
52927
52927
|
}
|
|
52928
|
-
function
|
|
52928
|
+
function wp(e) {
|
|
52929
52929
|
return e * Math.PI / 180;
|
|
52930
52930
|
}
|
|
52931
|
-
const
|
|
52931
|
+
const xp = new C.Quaternion();
|
|
52932
52932
|
class WF extends Zc {
|
|
52933
52933
|
constructor(...t) {
|
|
52934
52934
|
var c, h, u;
|
|
@@ -52947,7 +52947,7 @@ class WF extends Zc {
|
|
|
52947
52947
|
return this.helperObject3D.position.clone();
|
|
52948
52948
|
}
|
|
52949
52949
|
setRotateAngle(t) {
|
|
52950
|
-
const { x: i = 0, y: r = 0, z: s = 0 } = t, o = new C.Euler(
|
|
52950
|
+
const { x: i = 0, y: r = 0, z: s = 0 } = t, o = new C.Euler(wp(i), wp(r), wp(s)), a = new C.Quaternion().setFromEuler(o);
|
|
52951
52951
|
if (this.hooks.emit("wantToRotate", a))
|
|
52952
52952
|
return;
|
|
52953
52953
|
const { originObject3D: c, rotateCenter: h } = this;
|
|
@@ -52982,12 +52982,12 @@ class WF extends Zc {
|
|
|
52982
52982
|
if (r === "z")
|
|
52983
52983
|
return new C.Vector3(0, 0, 1).applyQuaternion(l);
|
|
52984
52984
|
})(), h = new C.Plane().setFromNormalAndCoplanarPoint(c, s), d = h.projectPoint(s.clone(), new C.Vector3()).clone().sub(this.rotateCenter), f = d.angleTo(o.baseAxes.clone().applyQuaternion(l));
|
|
52985
|
-
this.setAngleHelperStart(r, f), this.setAngleHelperLength(r, 0), this.startInfo = { direction: r, startVector: d, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() },
|
|
52985
|
+
this.setAngleHelperStart(r, f), this.setAngleHelperLength(r, 0), this.startInfo = { direction: r, startVector: d, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() }, xp.copy(l), this.helperObject3D.showDraggingHelper([r]), this.hooks.emit("rotateStart"), this.isDragging = !0;
|
|
52986
52986
|
}
|
|
52987
52987
|
dragging(t) {
|
|
52988
52988
|
if (!this.isDragging)
|
|
52989
52989
|
return;
|
|
52990
|
-
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s =
|
|
52990
|
+
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Qd(this.camera, { x: i, y: r }, this.container);
|
|
52991
52991
|
return s ? (this.rotate(s), !1) : this.dragEnd();
|
|
52992
52992
|
}
|
|
52993
52993
|
rotate(t) {
|
|
@@ -53013,10 +53013,10 @@ class WF extends Zc {
|
|
|
53013
53013
|
const b = new C.Vector3().subVectors(l.position, h).applyQuaternion(f).add(h);
|
|
53014
53014
|
l.position.copy(b);
|
|
53015
53015
|
}
|
|
53016
|
-
l.applyQuaternion(f),
|
|
53016
|
+
l.applyQuaternion(f), xp.premultiply(f), this.internalHooks.emit("applyObjectRotate", { quaternion: f, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = d;
|
|
53017
53017
|
}
|
|
53018
53018
|
dragEnd() {
|
|
53019
|
-
this.isDragging && (this.internalHooks.emit("setObjectRotate",
|
|
53019
|
+
this.isDragging && (this.internalHooks.emit("setObjectRotate", xp, this.rotateCenter), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("rotateEnd"));
|
|
53020
53020
|
}
|
|
53021
53021
|
getAngleHelper(t) {
|
|
53022
53022
|
var i, r, s;
|
|
@@ -53105,7 +53105,7 @@ class QF extends Zc {
|
|
|
53105
53105
|
dragging(t) {
|
|
53106
53106
|
if (!this.isDragging)
|
|
53107
53107
|
return;
|
|
53108
|
-
const i =
|
|
53108
|
+
const i = Qd(this.camera, t, this.container);
|
|
53109
53109
|
if (!i)
|
|
53110
53110
|
return this.dragEnd();
|
|
53111
53111
|
this.scale(i);
|
|
@@ -53241,7 +53241,7 @@ class qF extends Zc {
|
|
|
53241
53241
|
v(this, "dragging", (t) => {
|
|
53242
53242
|
if (!this.isDragging || !this.startInfo)
|
|
53243
53243
|
return;
|
|
53244
|
-
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s =
|
|
53244
|
+
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Qd(this.camera, { x: i, y: r }, this.container);
|
|
53245
53245
|
return s ? (this.scale(s), !1) : this.dragEnd();
|
|
53246
53246
|
});
|
|
53247
53247
|
v(this, "scale", (t) => {
|
|
@@ -53279,7 +53279,7 @@ class qF extends Zc {
|
|
|
53279
53279
|
this.hooks.emit("wantToScale", o) || (this.originObject3D.scale.copy(o), this.internalHooks.emit("setObjectScale", o), this.hooks.emit("scale", o), this.render());
|
|
53280
53280
|
}
|
|
53281
53281
|
}
|
|
53282
|
-
const
|
|
53282
|
+
const Zm = "Object3DHelperPlugin", ov = Zm, KF = () => {
|
|
53283
53283
|
console.error(`${ov} is disposed`);
|
|
53284
53284
|
}, $F = () => {
|
|
53285
53285
|
console.warn(`${ov} is disabled`);
|
|
@@ -53289,7 +53289,7 @@ const Xm = "Object3DHelperPlugin", ov = Xm, KF = () => {
|
|
|
53289
53289
|
class ZM extends ws {
|
|
53290
53290
|
constructor(t) {
|
|
53291
53291
|
super(t);
|
|
53292
|
-
v(this, "name",
|
|
53292
|
+
v(this, "name", Zm);
|
|
53293
53293
|
v(this, "state", {
|
|
53294
53294
|
visible: !0,
|
|
53295
53295
|
enabled: !0,
|
|
@@ -53298,7 +53298,7 @@ class ZM extends ws {
|
|
|
53298
53298
|
v(this, "objectHelperMap", /* @__PURE__ */ new Map());
|
|
53299
53299
|
v(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
|
|
53300
53300
|
v(this, "css3DRender");
|
|
53301
|
-
this.five = t, this.css3DRender = new Lc(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${
|
|
53301
|
+
this.five = t, this.css3DRender = new Lc(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${Zm.toUpperCase()}_DEBUG__`]: this });
|
|
53302
53302
|
}
|
|
53303
53303
|
/**
|
|
53304
53304
|
* @description Show guide line
|
|
@@ -53552,7 +53552,7 @@ class E1 {
|
|
|
53552
53552
|
if (!n)
|
|
53553
53553
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
53554
53554
|
this.observer = n;
|
|
53555
|
-
const { x: t, y: i, z: r, w: s } = n.quaternion, o = new
|
|
53555
|
+
const { x: t, y: i, z: r, w: s } = n.quaternion, o = new $m(t, i, r, s), a = n.position;
|
|
53556
53556
|
this.videoMesh.position.fromArray([a.x, a.y, a.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new Se(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(o);
|
|
53557
53557
|
});
|
|
53558
53558
|
/** 兼容视频播放 */
|
|
@@ -53658,7 +53658,7 @@ class E1 {
|
|
|
53658
53658
|
const i = document.createElement("video");
|
|
53659
53659
|
i.crossOrigin = "anonymous", i.autoplay = !1, i.muted = !0, i.loop = !0, i.playsInline = !0, this.video = i;
|
|
53660
53660
|
const r = new SE(this.video);
|
|
53661
|
-
r.minFilter =
|
|
53661
|
+
r.minFilter = Sp, r.magFilter = Sp;
|
|
53662
53662
|
const s = new J1({
|
|
53663
53663
|
vertexShader: tV,
|
|
53664
53664
|
fragmentShader: nV,
|
|
@@ -53963,7 +53963,7 @@ function cV(e, n) {
|
|
|
53963
53963
|
function hV(e, n) {
|
|
53964
53964
|
return e * e * n;
|
|
53965
53965
|
}
|
|
53966
|
-
function
|
|
53966
|
+
function Mp(e, n, t, i) {
|
|
53967
53967
|
return lV(e, n) + cV(e, t) + hV(e, i);
|
|
53968
53968
|
}
|
|
53969
53969
|
function uV(e, n) {
|
|
@@ -53980,31 +53980,31 @@ function fV(e, n) {
|
|
|
53980
53980
|
function pV(e, n) {
|
|
53981
53981
|
return e * e * e * n;
|
|
53982
53982
|
}
|
|
53983
|
-
function
|
|
53983
|
+
function Ep(e, n, t, i, r) {
|
|
53984
53984
|
return uV(e, n) + dV(e, t) + fV(e, i) + pV(e, r);
|
|
53985
53985
|
}
|
|
53986
|
-
function
|
|
53986
|
+
function Jm(e, n) {
|
|
53987
53987
|
const t = n.length - 1;
|
|
53988
53988
|
if (t < 1)
|
|
53989
53989
|
throw new Error("length of points must greater than 2");
|
|
53990
53990
|
if (t === 2)
|
|
53991
53991
|
return new C.Vector3(
|
|
53992
|
-
|
|
53993
|
-
|
|
53994
|
-
|
|
53992
|
+
Mp(e, n[0].x, n[1].x, n[2].x),
|
|
53993
|
+
Mp(e, n[0].y, n[1].y, n[2].y),
|
|
53994
|
+
Mp(e, n[0].z, n[1].z, n[2].z)
|
|
53995
53995
|
);
|
|
53996
53996
|
if (t === 3)
|
|
53997
53997
|
return new C.Vector3(
|
|
53998
|
-
|
|
53999
|
-
|
|
54000
|
-
|
|
53998
|
+
Ep(e, n[0].x, n[1].x, n[2].x, n[3].x),
|
|
53999
|
+
Ep(e, n[0].y, n[1].y, n[2].y, n[3].y),
|
|
54000
|
+
Ep(e, n[0].z, n[1].z, n[2].z, n[3].z)
|
|
54001
54001
|
);
|
|
54002
54002
|
if (t === 1) {
|
|
54003
54003
|
const [r, s] = n;
|
|
54004
54004
|
return r.clone().add(s.clone().sub(r).multiplyScalar(e));
|
|
54005
54005
|
}
|
|
54006
54006
|
const i = [];
|
|
54007
|
-
return n.reduce((r, s) => (i.push(
|
|
54007
|
+
return n.reduce((r, s) => (i.push(Jm(e, [r, s])), s)), Jm(e, i);
|
|
54008
54008
|
}
|
|
54009
54009
|
class mV extends C.Curve {
|
|
54010
54010
|
constructor(t = []) {
|
|
@@ -54014,7 +54014,7 @@ class mV extends C.Curve {
|
|
|
54014
54014
|
this.type = "CustomBezierCurve3", this.controlPoints = t;
|
|
54015
54015
|
}
|
|
54016
54016
|
getPoint(t, i = new C.Vector3()) {
|
|
54017
|
-
const r = i, s =
|
|
54017
|
+
const r = i, s = Jm(t, this.controlPoints);
|
|
54018
54018
|
return r.copy(s), r;
|
|
54019
54019
|
}
|
|
54020
54020
|
copy(t) {
|
|
@@ -54855,10 +54855,10 @@ class PV {
|
|
|
54855
54855
|
});
|
|
54856
54856
|
var l, c, h, u;
|
|
54857
54857
|
const i = t.object_data, r = i.bottom_y, s = i.height, o = new C.Color((l = i.color) != null ? l : "#FFFFFF"), a = (c = i.opacity) != null ? c : 0.4;
|
|
54858
|
-
this.data = t, this.id = t.id, this.name = (h = t.name) != null ? h : "", this.plugin = n, this.height = s, this.bottomY = r, this.opacity = a, this.shape = new C.Shape().fromJSON(i.shape), this.floorIndex = t.floor_index, this.makerObject = new C.Mesh(_1(this.shape, s), _V(o, a)),
|
|
54858
|
+
this.data = t, this.id = t.id, this.name = (h = t.name) != null ? h : "", this.plugin = n, this.height = s, this.bottomY = r, this.opacity = a, this.shape = new C.Shape().fromJSON(i.shape), this.floorIndex = t.floor_index, this.makerObject = new C.Mesh(_1(this.shape, s), _V(o, a)), Cp(this.makerObject, r), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new sx(
|
|
54859
54859
|
new C.EdgesGeometry(this.makerObject.geometry),
|
|
54860
54860
|
new C.LineBasicMaterial({ color: o, transparent: !0 })
|
|
54861
|
-
),
|
|
54861
|
+
), Cp(this.outline, r), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(s), this.modelGroup = new CV(this), this.modelGroup.visible = (u = i.visible) != null ? u : !0;
|
|
54862
54862
|
}
|
|
54863
54863
|
/** 挂载标注 */
|
|
54864
54864
|
mount() {
|
|
@@ -54906,7 +54906,7 @@ class PV {
|
|
|
54906
54906
|
throw new Error("高度必须大于 0");
|
|
54907
54907
|
this.height = n, this.makerObject.geometry = _1(this.shape, n), this.outline.geometry = new C.EdgesGeometry(this.makerObject.geometry);
|
|
54908
54908
|
const t = this.shape.extractPoints(10).shape.slice(0, -1), i = r5(t), r = new C.Vector3(i.x, i.y, n);
|
|
54909
|
-
|
|
54909
|
+
Cp(r, this.bottomY), this.tagPosition.copy(r), this.updateTag(), this.plugin.five.needsRender = !0;
|
|
54910
54910
|
}
|
|
54911
54911
|
/** 更改标注标签的显示层级
|
|
54912
54912
|
* @description 为什么需要这个方法
|
|
@@ -54934,7 +54934,7 @@ function _V(e, n) {
|
|
|
54934
54934
|
transparent: !0
|
|
54935
54935
|
});
|
|
54936
54936
|
}
|
|
54937
|
-
function
|
|
54937
|
+
function Cp(e, n) {
|
|
54938
54938
|
const t = new C.Matrix4(), i = new C.Matrix4().makeRotationX(Math.PI / 2), r = new C.Matrix4().makeTranslation(0, 0, -n), s = new C.Matrix4().makeScale(1, 1, -1);
|
|
54939
54939
|
t.multiply(i), t.multiply(r), t.multiply(s), e.applyMatrix4(t);
|
|
54940
54940
|
}
|
|
@@ -55558,7 +55558,9 @@ class Bc extends ti {
|
|
|
55558
55558
|
depthTest: !1,
|
|
55559
55559
|
opacity: 0.5
|
|
55560
55560
|
})), c = new C.Points(s, a), h = new C.Points(s, l);
|
|
55561
|
-
this.fontMesh = c, this.backgroundMesh = h, c.name = "FontMesh", h.name = "BackgroundMesh", c.renderOrder = 10, h.renderOrder = 0, this.add(c, h), t != null && t.point && this.position.copy(Ft(t.point)), t && this.setStyle(t)
|
|
55561
|
+
this.fontMesh = c, this.backgroundMesh = h, c.name = "FontMesh", h.name = "BackgroundMesh", c.renderOrder = 10, h.renderOrder = 0, this.add(c, h), t != null && t.point && this.position.copy(Ft(t.point)), t && this.setStyle(t), this.addEventListener("removed", () => {
|
|
55562
|
+
kd(this);
|
|
55563
|
+
});
|
|
55562
55564
|
}
|
|
55563
55565
|
get color() {
|
|
55564
55566
|
return this.fontMesh.material.color;
|
|
@@ -55593,7 +55595,7 @@ class Bc extends ti {
|
|
|
55593
55595
|
t ? (i(t), this.dom.setPosition(this.position.clone())) : i(null);
|
|
55594
55596
|
}
|
|
55595
55597
|
}
|
|
55596
|
-
class
|
|
55598
|
+
class qm extends Oi {
|
|
55597
55599
|
constructor(t) {
|
|
55598
55600
|
super();
|
|
55599
55601
|
v(this, "name", "LineWithDotsMesh");
|
|
@@ -55652,7 +55654,7 @@ class eE extends ti {
|
|
|
55652
55654
|
v(this, "paramsStyle");
|
|
55653
55655
|
const o = t, { withDots: i, points: r } = o, s = Ps(o, ["withDots", "points"]);
|
|
55654
55656
|
this.withDots = i != null ? i : !0, r && this.setPoints(r), s && this.setStyle(s), this.addEventListener("removed", () => {
|
|
55655
|
-
|
|
55657
|
+
kd(this);
|
|
55656
55658
|
});
|
|
55657
55659
|
}
|
|
55658
55660
|
get style() {
|
|
@@ -55703,7 +55705,7 @@ class eE extends ti {
|
|
|
55703
55705
|
if (o !== 0 && a === void 0)
|
|
55704
55706
|
return;
|
|
55705
55707
|
const l = (c = this.lines[o]) != null ? c : (() => {
|
|
55706
|
-
const h = new
|
|
55708
|
+
const h = new qm(Me(R({}, this.style), {
|
|
55707
55709
|
pointVisibility: this.withDots ? { startPoint: o === 0, endPoint: !0 } : !1
|
|
55708
55710
|
}));
|
|
55709
55711
|
return this.lines[o] = h, this.add(h), h;
|
|
@@ -55733,8 +55735,8 @@ class Ul extends eE {
|
|
|
55733
55735
|
v(this, "name", "PolylineWithDotsMesh");
|
|
55734
55736
|
}
|
|
55735
55737
|
}
|
|
55736
|
-
const
|
|
55737
|
-
function
|
|
55738
|
+
const Pp = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
|
|
55739
|
+
function _p(e, n, t, i) {
|
|
55738
55740
|
e.addEventListener ? e.addEventListener(n, t, i) : e.attachEvent && e.attachEvent("on".concat(n), t);
|
|
55739
55741
|
}
|
|
55740
55742
|
function El(e, n, t, i) {
|
|
@@ -55806,9 +55808,9 @@ const Nc = {
|
|
|
55806
55808
|
".": 190,
|
|
55807
55809
|
"/": 191,
|
|
55808
55810
|
"`": 192,
|
|
55809
|
-
"-":
|
|
55810
|
-
"=":
|
|
55811
|
-
";":
|
|
55811
|
+
"-": Pp ? 173 : 189,
|
|
55812
|
+
"=": Pp ? 61 : 187,
|
|
55813
|
+
";": Pp ? 59 : 186,
|
|
55812
55814
|
"'": 222,
|
|
55813
55815
|
"[": 219,
|
|
55814
55816
|
"]": 221,
|
|
@@ -55829,7 +55831,7 @@ const Nc = {
|
|
|
55829
55831
|
"⌘": 91,
|
|
55830
55832
|
cmd: 91,
|
|
55831
55833
|
command: 91
|
|
55832
|
-
},
|
|
55834
|
+
}, Km = {
|
|
55833
55835
|
16: "shiftKey",
|
|
55834
55836
|
18: "altKey",
|
|
55835
55837
|
17: "ctrlKey",
|
|
@@ -55972,7 +55974,7 @@ function T1(e, n) {
|
|
|
55972
55974
|
if (!ri.filter.call(this, e))
|
|
55973
55975
|
return;
|
|
55974
55976
|
if ((i === 93 || i === 224) && (i = 91), Yt.indexOf(i) === -1 && i !== 229 && Yt.push(i), ["ctrlKey", "altKey", "shiftKey", "metaKey"].forEach((a) => {
|
|
55975
|
-
const l =
|
|
55977
|
+
const l = Km[a];
|
|
55976
55978
|
e[a] && Yt.indexOf(l) === -1 ? Yt.push(l) : !e[a] && Yt.indexOf(l) > -1 ? Yt.splice(Yt.indexOf(l), 1) : a === "metaKey" && e[a] && Yt.length === 3 && (e.ctrlKey || e.shiftKey || e.altKey || (Yt = Yt.slice(Yt.indexOf(l))));
|
|
55977
55979
|
}), i in Tn) {
|
|
55978
55980
|
Tn[i] = !0;
|
|
@@ -55982,7 +55984,7 @@ function T1(e, n) {
|
|
|
55982
55984
|
return;
|
|
55983
55985
|
}
|
|
55984
55986
|
for (const a in Tn)
|
|
55985
|
-
Object.prototype.hasOwnProperty.call(Tn, a) && (Tn[a] = e[
|
|
55987
|
+
Object.prototype.hasOwnProperty.call(Tn, a) && (Tn[a] = e[Km[a]]);
|
|
55986
55988
|
e.getModifierState && !(e.altKey && !e.ctrlKey) && e.getModifierState("AltGraph") && (Yt.indexOf(17) === -1 && Yt.push(17), Yt.indexOf(18) === -1 && Yt.push(18), Tn[17] = !0, Tn[18] = !0);
|
|
55987
55989
|
const r = Fc();
|
|
55988
55990
|
if (t)
|
|
@@ -56030,7 +56032,7 @@ function ri(e, n, t) {
|
|
|
56030
56032
|
keydownListener: f,
|
|
56031
56033
|
keyupListenr: m,
|
|
56032
56034
|
capture: u
|
|
56033
|
-
}),
|
|
56035
|
+
}), _p(o, "keydown", f, u), _p(o, "keyup", m, u);
|
|
56034
56036
|
}
|
|
56035
56037
|
if (!Wl) {
|
|
56036
56038
|
const f = () => {
|
|
@@ -56039,7 +56041,7 @@ function ri(e, n, t) {
|
|
|
56039
56041
|
Wl = {
|
|
56040
56042
|
listener: f,
|
|
56041
56043
|
capture: u
|
|
56042
|
-
},
|
|
56044
|
+
}, _p(window, "focus", f, u);
|
|
56043
56045
|
}
|
|
56044
56046
|
}
|
|
56045
56047
|
}
|
|
@@ -56081,7 +56083,7 @@ function av(e) {
|
|
|
56081
56083
|
El(window, "focus", r, s), Wl = null;
|
|
56082
56084
|
}
|
|
56083
56085
|
}
|
|
56084
|
-
const
|
|
56086
|
+
const Ip = {
|
|
56085
56087
|
getPressedKeyString: FV,
|
|
56086
56088
|
setScope: rE,
|
|
56087
56089
|
getScope: Fc,
|
|
@@ -56094,10 +56096,10 @@ const _p = {
|
|
|
56094
56096
|
unbind: sE,
|
|
56095
56097
|
keyMap: Nc,
|
|
56096
56098
|
modifier: ar,
|
|
56097
|
-
modifierMap:
|
|
56099
|
+
modifierMap: Km
|
|
56098
56100
|
};
|
|
56099
|
-
for (const e in
|
|
56100
|
-
Object.prototype.hasOwnProperty.call(
|
|
56101
|
+
for (const e in Ip)
|
|
56102
|
+
Object.prototype.hasOwnProperty.call(Ip, e) && (ri[e] = Ip[e]);
|
|
56101
56103
|
if (typeof window != "undefined") {
|
|
56102
56104
|
const e = window.hotkeys;
|
|
56103
56105
|
ri.noConflict = (n) => (n && window.hotkeys === ri && (window.hotkeys = e), ri), window.hotkeys = ri;
|
|
@@ -56121,7 +56123,7 @@ class Nr extends ti {
|
|
|
56121
56123
|
v(this, "on", (t, i, r) => hn.modules.fiveDomEvents.addEventListener(this, t, i, r));
|
|
56122
56124
|
v(this, "off", (...t) => hn.modules.fiveDomEvents.removeEventListener(this, ...t));
|
|
56123
56125
|
t != null && t.id && (this.uuid = t.id), this.config = R({ canEdit: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), t != null && t.style && (t.style.occlusionVisibility = this.config.occlusionVisibility, t.style.occlusionMode = this.config.occlusionMode), this.addEventListener("removed", () => {
|
|
56124
|
-
|
|
56126
|
+
kd(this);
|
|
56125
56127
|
}), ri("esc", () => {
|
|
56126
56128
|
this.stopCreating();
|
|
56127
56129
|
}), this.config.canEdit && (ri("backspace, delete", () => {
|
|
@@ -57598,7 +57600,7 @@ class Q1 extends Nr {
|
|
|
57598
57600
|
v(this, "type", "Line");
|
|
57599
57601
|
v(this, "lineMesh");
|
|
57600
57602
|
v(this, "creatingObject");
|
|
57601
|
-
t && (this.lineMesh = new
|
|
57603
|
+
t && (this.lineMesh = new qm(R(R({}, t.style), t)), this.add(this.lineMesh)), this.editor = new QV(this);
|
|
57602
57604
|
}
|
|
57603
57605
|
get data() {
|
|
57604
57606
|
return Me(R({}, this.baseData), {
|
|
@@ -57637,7 +57639,7 @@ class Q1 extends Nr {
|
|
|
57637
57639
|
create(t) {
|
|
57638
57640
|
return ee(this, null, function* () {
|
|
57639
57641
|
this.removeChildren();
|
|
57640
|
-
const i = new
|
|
57642
|
+
const i = new qm(t);
|
|
57641
57643
|
this.lineMesh = i, this.add(this.lineMesh), this.creatingObject = h6(i, this.pointSelector, t), yield this.creatingObject.finished, this.editor.enable();
|
|
57642
57644
|
});
|
|
57643
57645
|
}
|
|
@@ -58199,7 +58201,7 @@ NE();
|
|
|
58199
58201
|
export {
|
|
58200
58202
|
QG as AreaMakerPlugin,
|
|
58201
58203
|
Lc as CSS3DRender,
|
|
58202
|
-
|
|
58204
|
+
Bd as CSS3DRenderPlugin,
|
|
58203
58205
|
i5 as CameraMovementEffect,
|
|
58204
58206
|
sG as CameraMovementPlugin,
|
|
58205
58207
|
g8 as ContentType,
|
|
@@ -58217,7 +58219,7 @@ export {
|
|
|
58217
58219
|
YM as GuideLinePlugin,
|
|
58218
58220
|
Qo as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
58219
58221
|
xG as ItemLabelPlugin,
|
|
58220
|
-
|
|
58222
|
+
ng as Magnifier,
|
|
58221
58223
|
Z6 as MapviewFloorplanPlugin,
|
|
58222
58224
|
iG as ModelChassisCompassPlugin,
|
|
58223
58225
|
rG as ModelEntryDoorGuidePlugin,
|
|
@@ -58247,7 +58249,7 @@ export {
|
|
|
58247
58249
|
lG as PanoRulerProPlugin,
|
|
58248
58250
|
mG as PanoSpatialTagPlugin,
|
|
58249
58251
|
DG as PanoTagPlugin,
|
|
58250
|
-
|
|
58252
|
+
Qm as PanoTagPluginController,
|
|
58251
58253
|
jG as PanoVideoPlugin,
|
|
58252
58254
|
GG as PanoVideoPluginType,
|
|
58253
58255
|
UG as PipelinePlugin,
|