@realsee/dnalogel 3.49.8 → 3.49.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/dist/index.cjs.js +36 -36
- package/dist/index.js +730 -722
- package/dist/index.umd.js +46 -46
- package/dist/shared-utils/tag.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +1 -1
- package/libs/AreaMakerPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +20 -19
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +16 -15
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +8 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +8 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +12 -11
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +10 -9
- package/libs/PanoVideoPlugin/Controller.js +3 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +3 -2
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +9 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +19 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +2 -0
- package/libs/shared-utils/tag.js +20 -11
- 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 lh = Object.getOwnPropertySymbols;
|
|
4
4
|
var fv = Object.prototype.hasOwnProperty, pv = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var mf = (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
|
-
fv.call(n, t) &&
|
|
7
|
+
fv.call(n, t) && mf(e, t, n[t]);
|
|
8
8
|
if (lh)
|
|
9
9
|
for (var t of lh(n))
|
|
10
|
-
pv.call(n, t) &&
|
|
10
|
+
pv.call(n, t) && mf(e, t, n[t]);
|
|
11
11
|
return e;
|
|
12
12
|
}, Me = (e, n) => mE(e, gE(n));
|
|
13
13
|
var ho = (e, n) => {
|
|
@@ -19,7 +19,7 @@ var ho = (e, n) => {
|
|
|
19
19
|
n.indexOf(i) < 0 && pv.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) => (mf(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,9 +38,9 @@ var ee = (e, n, t) => new Promise((i, r) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { Camera as vE, Five as Dn, Subscribe as Ba } from "@realsee/five";
|
|
40
40
|
import * as C from "three";
|
|
41
|
-
import { Vector3 as Se, Matrix4 as Tl, Object3D as yE, LineSegments as bE, Group as Zo, Raycaster as Na, MeshBasicMaterial as Ql, CanvasTexture as AE, AnimationMixer as wE, Color as Fa, TextureLoader as X1, Vector2 as Fn, PlaneGeometry as xE, sRGBEncoding as ME, LinearFilter as
|
|
42
|
-
import { CSS3DSprite as LE, CSS3DObject as
|
|
43
|
-
import
|
|
41
|
+
import { Vector3 as Se, Matrix4 as Tl, Object3D as yE, LineSegments as bE, Group as Zo, Raycaster as Na, MeshBasicMaterial as Ql, CanvasTexture as AE, AnimationMixer as wE, Color as Fa, TextureLoader as X1, Vector2 as Fn, PlaneGeometry as xE, sRGBEncoding as ME, LinearFilter as Ip, Mesh as Dl, CurvePath as EE, LineCurve3 as CE, TubeGeometry as PE, ShaderMaterial as Z1, SphereGeometry as _E, DoubleSide as J1, RingGeometry as IE, Quaternion as Km, Euler as mv, VideoTexture as SE, Vector4 as TE, SphereBufferGeometry as DE } from "three";
|
|
42
|
+
import { CSS3DSprite as LE, CSS3DObject as Sp } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
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 yu from "animejs";
|
|
46
46
|
import { FBXLoader as q1 } from "three/examples/jsm/loaders/FBXLoader";
|
|
@@ -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.9",
|
|
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 ch(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 gf(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
|
}
|
|
@@ -327,11 +327,11 @@ var Ki = Object.freeze({
|
|
|
327
327
|
return e._nextId++;
|
|
328
328
|
}, e._nextId = 0, e;
|
|
329
329
|
}()
|
|
330
|
-
),
|
|
330
|
+
), Tp = new $1(), Ed = (
|
|
331
331
|
/** @class */
|
|
332
332
|
function() {
|
|
333
333
|
function e(n, t) {
|
|
334
|
-
t === void 0 && (t =
|
|
334
|
+
t === void 0 && (t = Tp), 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 = zs.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = $m.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 = Tp), 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,14 +495,14 @@ 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 = $m.nextId, er =
|
|
498
|
+
), HE = "23.1.1", UE = $m.nextId, er = Tp, WE = er.getAll.bind(er), QE = er.removeAll.bind(er), YE = er.add.bind(er), ew = er.remove.bind(er), XE = er.update.bind(er), bv = {
|
|
499
499
|
Easing: Ki,
|
|
500
500
|
Group: $1,
|
|
501
501
|
Interpolation: zs,
|
|
502
502
|
now: No,
|
|
503
503
|
Sequence: $m,
|
|
504
504
|
nextId: UE,
|
|
505
|
-
Tween:
|
|
505
|
+
Tween: Ed,
|
|
506
506
|
VERSION: HE,
|
|
507
507
|
getAll: WE,
|
|
508
508
|
removeAll: QE,
|
|
@@ -511,7 +511,7 @@ var Ki = Object.freeze({
|
|
|
511
511
|
update: XE
|
|
512
512
|
};
|
|
513
513
|
function ZE(e, n, t, i = Ki.Linear.None) {
|
|
514
|
-
const r = new
|
|
514
|
+
const r = new Ed(e).to(n, t).easing(i).start();
|
|
515
515
|
function s(o) {
|
|
516
516
|
r.update(o) && requestAnimationFrame(s);
|
|
517
517
|
}
|
|
@@ -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 = gf(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(gf(l[y], p.clientWidth, p.clientHeight)), f.length < 3)
|
|
977
977
|
return;
|
|
978
978
|
const { control: A, end: w } = hh(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(gf(l[m], this.clientWidth, this.clientHeight)), f.length < 3)
|
|
989
989
|
continue;
|
|
990
990
|
const { control: p, end: g } = hh(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 Dp extends rC {
|
|
1260
1260
|
constructor() {
|
|
1261
1261
|
super();
|
|
1262
1262
|
v(this, "wrapper");
|
|
@@ -1399,7 +1399,7 @@ function lr(...e) {
|
|
|
1399
1399
|
return e.forEach((t) => n.add(t)), n.divideScalar(e.length), n;
|
|
1400
1400
|
}
|
|
1401
1401
|
const eg = (e) => e ? e.visible === !1 ? !1 : eg(e.parent) : !0;
|
|
1402
|
-
class
|
|
1402
|
+
class Lp {
|
|
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 Lp(this.min.x, this.max.x), this.yInterval = new Lp(this.min.y, this.max.y);
|
|
1429
1429
|
}
|
|
1430
1430
|
/** 是否与矩形是否重叠 */
|
|
1431
1431
|
isOverlapWithRectangle(n) {
|
|
@@ -1514,7 +1514,7 @@ class tg {
|
|
|
1514
1514
|
const i = this.canvas.getContext("2d");
|
|
1515
1515
|
if (!i)
|
|
1516
1516
|
throw new Error("CANNOT CREATE CONTEXT2D");
|
|
1517
|
-
this.context = i, this.config.dragEnabled && (this.hammer = new
|
|
1517
|
+
this.context = i, this.config.dragEnabled && (this.hammer = new Md(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panstart", this.onPanstart), this.hammer.on("panend", this.onPanend)), this.initStyle();
|
|
1518
1518
|
}
|
|
1519
1519
|
enable() {
|
|
1520
1520
|
if (!this.state.enabled)
|
|
@@ -1696,7 +1696,7 @@ function nw(e) {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
if (document.getElementById(wv))
|
|
1698
1698
|
return;
|
|
1699
|
-
const t = new
|
|
1699
|
+
const t = new Dp();
|
|
1700
1700
|
t.domElementWrapper.id = wv, 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, Mv = 1, SC = 2, sw = 1, TC = 2, El = 3, Fc = 0, xn = 1,
|
|
1844
|
+
const _C = "117", IC = 0, Mv = 1, SC = 2, sw = 1, TC = 2, El = 3, Fc = 0, xn = 1, Cd = 2, ow = 1, ts = 0, Rl = 1, Ev = 2, Cv = 3, Pv = 4, DC = 5, Oo = 100, LC = 101, kC = 102, _v = 103, Iv = 104, RC = 200, OC = 201, zC = 202, BC = 203, aw = 204, lw = 205, NC = 206, FC = 207, VC = 208, GC = 209, jC = 210, HC = 0, UC = 1, WC = 2, kp = 3, QC = 4, YC = 5, XC = 6, ZC = 7, Pd = 0, JC = 1, qC = 2, Ol = 0, cw = 1, KC = 2, $C = 3, eP = 4, tP = 5, ng = 300, ig = 301, rg = 302, hw = 303, sg = 304, uw = 305, Vc = 306, og = 307, Au = 1e3, Kn = 1001, wu = 1002, mn = 1003, Rp = 1004, Op = 1005, Bn = 1006, dw = 1007, _d = 1008, Gc = 1009, nP = 1010, iP = 1011, xu = 1012, rP = 1013, du = 1014, qr = 1015, Mu = 1016, sP = 1017, oP = 1018, aP = 1019, zl = 1020, lP = 1021, Ns = 1022, Ti = 1023, cP = 1024, hP = 1025, uP = Ti, Jo = 1026, Yl = 1027, dP = 1028, fP = 1029, pP = 1030, mP = 1031, gP = 1032, vP = 1033, Sv = 33776, Tv = 33777, Dv = 33778, Lv = 33779, kv = 35840, Rv = 35841, Ov = 35842, zv = 35843, yP = 36196, Bv = 37492, Nv = 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, Eu = 2300, fu = 2301, vf = 2302, ra = 2400, Fo = 2401, Cu = 2402, ag = 2500, fw = 2501, qP = 0, $n = 3e3, Id = 3001, lg = 3007, cg = 3002, KP = 3003, pw = 3004, mw = 3005, gw = 3006, $P = 3200, e2 = 3201, Va = 0, t2 = 1, yf = 7680, n2 = 519, Sd = 35044, Xl = 35048;
|
|
1845
1845
|
function Or() {
|
|
1846
1846
|
}
|
|
1847
1847
|
Object.assign(Or.prototype, {
|
|
@@ -2308,7 +2308,7 @@ var uo, Ws = {
|
|
|
2308
2308
|
}
|
|
2309
2309
|
}, i2 = 0;
|
|
2310
2310
|
function Wt(e, n, t, i, r, s, o, a, l, c) {
|
|
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 :
|
|
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 : Gc, 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
2314
|
Wt.DEFAULT_MAPPING = ng;
|
|
@@ -2823,7 +2823,7 @@ Object.assign(Mn.prototype, {
|
|
|
2823
2823
|
_onChangeCallback: function() {
|
|
2824
2824
|
}
|
|
2825
2825
|
});
|
|
2826
|
-
var
|
|
2826
|
+
var bf = new B(), Vv = 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 bf.copy(this).projectOnVector(e), this.sub(bf);
|
|
3020
3020
|
},
|
|
3021
3021
|
reflect: function(e) {
|
|
3022
|
-
return this.sub(
|
|
3022
|
+
return this.sub(bf.copy(e).multiplyScalar(2 * this.dot(e)));
|
|
3023
3023
|
},
|
|
3024
3024
|
angleTo: function(e) {
|
|
3025
3025
|
var n = Math.sqrt(this.lengthSq() * e.lengthSq());
|
|
@@ -3832,7 +3832,7 @@ var vr = [
|
|
|
3832
3832
|
new B(),
|
|
3833
3833
|
new B(),
|
|
3834
3834
|
new B()
|
|
3835
|
-
], cl = new B(),
|
|
3835
|
+
], cl = new B(), Af = new mi(), mo = new B(), go = new B(), vo = new B(), jr = new B(), Hr = new B(), Ps = new B(), hl = new B(), gh = new B(), vh = new B(), _s = 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(), Af.copy(n.boundingBox), Af.applyMatrix4(e.matrixWorld), this.union(Af));
|
|
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
|
Ps.x,
|
|
3960
3960
|
0
|
|
3961
3961
|
];
|
|
3962
|
-
return !
|
|
3962
|
+
return !wf(n, mo, go, vo, gh) || (n = [1, 0, 0, 0, 1, 0, 0, 0, 1], !wf(n, mo, go, vo, gh)) ? !1 : (vh.crossVectors(jr, Hr), n = [vh.x, vh.y, vh.z], wf(n, mo, go, vo, gh));
|
|
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 wf(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
|
_s.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(), xf = new B(), yh = new B(), Ur = new B(), Mf = new B(), bh = new B(), Ef = new B();
|
|
4061
4061
|
function ja(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(ja.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
|
+
xf.copy(e).add(n).multiplyScalar(0.5), yh.copy(n).sub(e).normalize(), Ur.copy(this.origin).sub(xf);
|
|
4097
4097
|
var r = e.distanceTo(n) * 0.5, s = -this.direction.dot(yh), o = Ur.dot(this.direction), a = -Ur.dot(yh), 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(ja.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(yh).multiplyScalar(u).add(
|
|
4112
|
+
return t && t.copy(this.direction).multiplyScalar(h).add(this.origin), i && i.copy(yh).multiplyScalar(u).add(xf), d;
|
|
4113
4113
|
},
|
|
4114
4114
|
intersectSphere: function(e, n) {
|
|
4115
4115
|
yr.subVectors(e.center, this.origin);
|
|
@@ -4148,8 +4148,8 @@ Object.assign(ja.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
|
+
Mf.subVectors(n, e), bh.subVectors(t, e), Ef.crossVectors(Mf, bh);
|
|
4152
|
+
var s = this.direction.dot(Ef), o;
|
|
4153
4153
|
if (s > 0) {
|
|
4154
4154
|
if (i)
|
|
4155
4155
|
return null;
|
|
@@ -4162,10 +4162,10 @@ Object.assign(ja.prototype, {
|
|
|
4162
4162
|
var a = o * this.direction.dot(bh.crossVectors(Ur, bh));
|
|
4163
4163
|
if (a < 0)
|
|
4164
4164
|
return null;
|
|
4165
|
-
var l = o * this.direction.dot(
|
|
4165
|
+
var l = o * this.direction.dot(Mf.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(Ef);
|
|
4169
4169
|
return c < 0 ? null : this.at(c / s, r);
|
|
4170
4170
|
},
|
|
4171
4171
|
applyMatrix4: function(e) {
|
|
@@ -4175,7 +4175,7 @@ Object.assign(ja.prototype, {
|
|
|
4175
4175
|
return e.origin.equals(this.origin) && e.direction.equals(this.direction);
|
|
4176
4176
|
}
|
|
4177
4177
|
});
|
|
4178
|
-
var
|
|
4178
|
+
var Cf = 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 = Cf.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(Cf), 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(Cf).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(), Pf = new B(), br = new B(), yo = new B(), bo = new B(), Yv = new B(), _f = new B(), If = new B(), Sf = 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), Pf.subVectors(e, n);
|
|
4266
|
+
var s = Ci.dot(Ci), o = Ci.dot(wr), a = Ci.dot(Pf), l = wr.dot(wr), c = wr.dot(Pf), 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
|
-
yo.subVectors(i, t), bo.subVectors(r, t),
|
|
4326
|
-
var a = yo.dot(
|
|
4325
|
+
yo.subVectors(i, t), bo.subVectors(r, t), _f.subVectors(e, t);
|
|
4326
|
+
var a = yo.dot(_f), l = bo.dot(_f);
|
|
4327
4327
|
if (a <= 0 && l <= 0)
|
|
4328
4328
|
return n.copy(t);
|
|
4329
|
-
|
|
4330
|
-
var c = yo.dot(
|
|
4329
|
+
If.subVectors(e, i);
|
|
4330
|
+
var c = yo.dot(If), h = bo.dot(If);
|
|
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(yo, s);
|
|
4336
|
-
|
|
4337
|
-
var d = yo.dot(
|
|
4336
|
+
Sf.subVectors(e, r);
|
|
4337
|
+
var d = yo.dot(Sf), f = bo.dot(Sf);
|
|
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 vw = {
|
|
|
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 Tf(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 Df(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 Lf(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 = Tf(r, i, e + 1 / 3), this.g = Tf(r, i, e), this.b = Tf(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 = Df(e.r), this.g = Df(e.g), this.b = Df(e.b), this;
|
|
4599
4599
|
},
|
|
4600
4600
|
copyLinearToSRGB: function(e) {
|
|
4601
|
-
return this.r =
|
|
4601
|
+
return this.r = Lf(e.r), this.g = Lf(e.g), this.b = Lf(e.b), this;
|
|
4602
4602
|
},
|
|
4603
4603
|
convertSRGBToLinear: function() {
|
|
4604
4604
|
return this.copySRGBToLinear(this), this;
|
|
@@ -4698,7 +4698,7 @@ Object.assign(Pu.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 = Rl, this.side = Fc, this.flatShading = !1, this.vertexColors = !1, this.opacity = 1, this.transparent = !1, this.blendSrc = aw, this.blendDst = lw, this.blendEquation = Oo, 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 = Rl, this.side = Fc, this.flatShading = !1, this.vertexColors = !1, this.opacity = 1, this.transparent = !1, this.blendSrc = aw, this.blendDst = lw, this.blendEquation = Oo, this.blendSrcAlpha = null, this.blendDstAlpha = null, this.blendEquationAlpha = null, this.depthFunc = kp, this.depthTest = !0, this.depthWrite = !0, this.stencilWriteMask = 255, this.stencilFunc = n2, this.stencilRef = 0, this.stencilFuncMask = 255, this.stencilFail = yf, this.stencilZFail = yf, this.stencilZPass = yf, 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,
|
|
@@ -4777,7 +4777,7 @@ Object.defineProperty(dt.prototype, "needsUpdate", {
|
|
|
4777
4777
|
}
|
|
4778
4778
|
});
|
|
4779
4779
|
function ki(e) {
|
|
4780
|
-
dt.call(this), this.type = "MeshBasicMaterial", this.color = new Qe(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine =
|
|
4780
|
+
dt.call(this), this.type = "MeshBasicMaterial", this.color = new Qe(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine = Pd, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.skinning = !1, this.morphTargets = !1, this.setValues(e);
|
|
4781
4781
|
}
|
|
4782
4782
|
ki.prototype = Object.create(dt.prototype);
|
|
4783
4783
|
ki.prototype.constructor = ki;
|
|
@@ -4789,7 +4789,7 @@ var Gt = new B();
|
|
|
4789
4789
|
function ut(e, n, t) {
|
|
4790
4790
|
if (Array.isArray(e))
|
|
4791
4791
|
throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");
|
|
4792
|
-
this.name = "", this.array = e, this.itemSize = n, this.count = e !== void 0 ? e.length / n : 0, this.normalized = t === !0, this.usage =
|
|
4792
|
+
this.name = "", this.array = e, this.itemSize = n, this.count = e !== void 0 ? e.length / n : 0, this.normalized = t === !0, this.usage = Sd, this.updateRange = { offset: 0, count: -1 }, this.version = 0;
|
|
4793
4793
|
}
|
|
4794
4794
|
Object.defineProperty(ut.prototype, "needsUpdate", {
|
|
4795
4795
|
set: function(e) {
|
|
@@ -4914,36 +4914,36 @@ Object.assign(ut.prototype, {
|
|
|
4914
4914
|
};
|
|
4915
4915
|
}
|
|
4916
4916
|
});
|
|
4917
|
-
function Op(e, n, t) {
|
|
4918
|
-
ut.call(this, new Int8Array(e), n, t);
|
|
4919
|
-
}
|
|
4920
|
-
Op.prototype = Object.create(ut.prototype);
|
|
4921
|
-
Op.prototype.constructor = Op;
|
|
4922
4917
|
function zp(e, n, t) {
|
|
4923
|
-
ut.call(this, new
|
|
4918
|
+
ut.call(this, new Int8Array(e), n, t);
|
|
4924
4919
|
}
|
|
4925
4920
|
zp.prototype = Object.create(ut.prototype);
|
|
4926
4921
|
zp.prototype.constructor = zp;
|
|
4927
4922
|
function Bp(e, n, t) {
|
|
4928
|
-
ut.call(this, new
|
|
4923
|
+
ut.call(this, new Uint8Array(e), n, t);
|
|
4929
4924
|
}
|
|
4930
4925
|
Bp.prototype = Object.create(ut.prototype);
|
|
4931
4926
|
Bp.prototype.constructor = Bp;
|
|
4932
4927
|
function Np(e, n, t) {
|
|
4933
|
-
ut.call(this, new
|
|
4928
|
+
ut.call(this, new Uint8ClampedArray(e), n, t);
|
|
4934
4929
|
}
|
|
4935
4930
|
Np.prototype = Object.create(ut.prototype);
|
|
4936
4931
|
Np.prototype.constructor = Np;
|
|
4932
|
+
function Fp(e, n, t) {
|
|
4933
|
+
ut.call(this, new Int16Array(e), n, t);
|
|
4934
|
+
}
|
|
4935
|
+
Fp.prototype = Object.create(ut.prototype);
|
|
4936
|
+
Fp.prototype.constructor = Fp;
|
|
4937
4937
|
function Jl(e, n, t) {
|
|
4938
4938
|
ut.call(this, new Uint16Array(e), n, t);
|
|
4939
4939
|
}
|
|
4940
4940
|
Jl.prototype = Object.create(ut.prototype);
|
|
4941
4941
|
Jl.prototype.constructor = Jl;
|
|
4942
|
-
function
|
|
4942
|
+
function Vp(e, n, t) {
|
|
4943
4943
|
ut.call(this, new Int32Array(e), n, t);
|
|
4944
4944
|
}
|
|
4945
|
-
|
|
4946
|
-
|
|
4945
|
+
Vp.prototype = Object.create(ut.prototype);
|
|
4946
|
+
Vp.prototype.constructor = Vp;
|
|
4947
4947
|
function ql(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 Gp(e, n, t) {
|
|
4958
4958
|
ut.call(this, new Float64Array(e), n, t);
|
|
4959
4959
|
}
|
|
4960
|
-
|
|
4961
|
-
|
|
4960
|
+
Gp.prototype = Object.create(ut.prototype);
|
|
4961
|
+
Gp.prototype.constructor = Gp;
|
|
4962
4962
|
function yw() {
|
|
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 bw(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(), kf = new je(), Ao = new B(), ii = new mi(), ul = 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 kf.lookAt(e), kf.updateMatrix(), this.applyMatrix4(kf.matrix), this;
|
|
5108
5108
|
},
|
|
5109
5109
|
center: function() {
|
|
5110
5110
|
return this.computeBoundingBox(), this.boundingBox.getCenter(Ao).negate(), this.translate(Ao.x, Ao.y, Ao.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 Xv = new Mt(), Is = new ja(),
|
|
5363
|
+
var Xv = new Mt(), Is = new ja(), Rf = new cr(), Wr = new B(), Qr = new B(), Yr = new B(), Of = new B(), zf = new B(), Bf = new B(), wh = new B(), xh = new B(), Mh = new B(), Vo = new pe(), Go = new pe(), jo = new pe(), Bl = new B(), Eh = 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(), Rf.copy(t.boundingSphere), Rf.applyMatrix4(r), e.ray.intersectsSphere(Rf) !== !1 && (Xv.getInverse(r), Is.copy(e.ray).applyMatrix4(Xv), !(t.boundingBox !== null && Is.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;
|
|
@@ -5429,7 +5429,7 @@ en.prototype = Object.assign(Object.create(je.prototype), {
|
|
|
5429
5429
|
});
|
|
5430
5430
|
function Aw(e, n, t, i, r, s, o, a) {
|
|
5431
5431
|
var l;
|
|
5432
|
-
if (n.side === xn ? l = i.intersectTriangle(o, s, r, !0, a) : l = i.intersectTriangle(r, s, o, n.side !==
|
|
5432
|
+
if (n.side === xn ? l = i.intersectTriangle(o, s, r, !0, a) : l = i.intersectTriangle(r, s, o, n.side !== Cd, a), l === null)
|
|
5433
5433
|
return null;
|
|
5434
5434
|
Eh.copy(a), Eh.applyMatrix4(e.matrixWorld);
|
|
5435
5435
|
var c = t.ray.origin.distanceTo(Eh);
|
|
@@ -5446,7 +5446,7 @@ function Ch(e, n, t, i, r, s, o, a, l, c, h, u) {
|
|
|
5446
5446
|
wh.set(0, 0, 0), xh.set(0, 0, 0), Mh.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 && (Of.fromBufferAttribute(g, c), zf.fromBufferAttribute(g, h), Bf.fromBufferAttribute(g, u), o ? (wh.addScaledVector(Of, p), xh.addScaledVector(zf, p), Mh.addScaledVector(Bf, p)) : (wh.addScaledVector(Of.sub(Wr), p), xh.addScaledVector(zf.sub(Qr), p), Mh.addScaledVector(Bf.sub(Yr), p)));
|
|
5450
5450
|
}
|
|
5451
5451
|
Wr.add(wh), Qr.add(xh), Yr.add(Mh);
|
|
5452
5452
|
}
|
|
@@ -5459,7 +5459,7 @@ function Ch(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(), Nf = new je(), Ph = 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 Nf.lookAt(e), Nf.updateMatrix(), this.applyMatrix4(Nf.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;
|
|
@@ -5855,10 +5855,10 @@ class v2 extends pt {
|
|
|
5855
5855
|
widthSegments: r,
|
|
5856
5856
|
heightSegments: s,
|
|
5857
5857
|
depthSegments: o
|
|
5858
|
-
}, this.fromBufferGeometry(new
|
|
5858
|
+
}, this.fromBufferGeometry(new Td(n, t, i, r, s, o)), this.mergeVertices();
|
|
5859
5859
|
}
|
|
5860
5860
|
}
|
|
5861
|
-
class
|
|
5861
|
+
class Td extends Xe {
|
|
5862
5862
|
constructor(n, t, i, r, s, o) {
|
|
5863
5863
|
super(), this.type = "BoxBufferGeometry", this.parameters = {
|
|
5864
5864
|
width: n,
|
|
@@ -6177,7 +6177,7 @@ $l.prototype.fromEquirectangularTexture = function(e, n) {
|
|
|
6177
6177
|
blending: ts
|
|
6178
6178
|
});
|
|
6179
6179
|
r.uniforms.tEquirect.value = n;
|
|
6180
|
-
var s = new en(new
|
|
6180
|
+
var s = new en(new Td(5, 5, 5), r);
|
|
6181
6181
|
t.add(s);
|
|
6182
6182
|
var o = new Kl(1, 10, this);
|
|
6183
6183
|
return o.update(e, t), s.geometry.dispose(), s.material.dispose(), this;
|
|
@@ -9551,7 +9551,7 @@ function GI(e, n, t, i) {
|
|
|
9551
9551
|
var y = m.background, b = e.xr, A = b.getSession && b.getSession();
|
|
9552
9552
|
if (A && A.environmentBlendMode === "additive" && (y = null), y === null ? d(r, s) : y && y.isColor && (d(y, 1), g = !0), (e.autoClear || g) && e.clear(e.autoClearColor, e.autoClearDepth, e.autoClearStencil), y && (y.isCubeTexture || y.isWebGLCubeRenderTarget || y.mapping === Vc)) {
|
|
9553
9553
|
a === void 0 && (a = new en(
|
|
9554
|
-
new
|
|
9554
|
+
new Td(1, 1, 1),
|
|
9555
9555
|
new ei({
|
|
9556
9556
|
type: "BackgroundCubeMaterial",
|
|
9557
9557
|
uniforms: sa(Mr.cube.uniforms),
|
|
@@ -10252,14 +10252,14 @@ Pw.prototype.setValue = function(e, n, t) {
|
|
|
10252
10252
|
o.setValue(e, n[o.id], t);
|
|
10253
10253
|
}
|
|
10254
10254
|
};
|
|
10255
|
-
var
|
|
10255
|
+
var Ff = /([\w\d_]+)(\])?(\[|\.)?/g;
|
|
10256
10256
|
function e0(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 (Ff.lastIndex = 0; ; ) {
|
|
10262
|
+
var s = Ff.exec(i), o = Ff.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
|
e0(t, c === void 0 ? new DS(a, e, n) : new Cw(a, e, n));
|
|
10265
10265
|
break;
|
|
@@ -10313,7 +10313,7 @@ function _w(e) {
|
|
|
10313
10313
|
switch (e) {
|
|
10314
10314
|
case $n:
|
|
10315
10315
|
return ["Linear", "( value )"];
|
|
10316
|
-
case
|
|
10316
|
+
case Id:
|
|
10317
10317
|
return ["sRGB", "( value )"];
|
|
10318
10318
|
case cg:
|
|
10319
10319
|
return ["RGBE", "( value )"];
|
|
@@ -10406,14 +10406,14 @@ function r0(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 jp(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 jp(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 s0(e) {
|
|
@@ -10476,7 +10476,7 @@ function XS(e) {
|
|
|
10476
10476
|
var n = "ENVMAP_BLENDING_NONE";
|
|
10477
10477
|
if (e.envMap)
|
|
10478
10478
|
switch (e.combine) {
|
|
10479
|
-
case
|
|
10479
|
+
case Pd:
|
|
10480
10480
|
n = "ENVMAP_BLENDING_MULTIPLY";
|
|
10481
10481
|
break;
|
|
10482
10482
|
case JC:
|
|
@@ -10652,7 +10652,7 @@ function ZS(e, n, t) {
|
|
|
10652
10652
|
`
|
|
10653
10653
|
`
|
|
10654
10654
|
].filter(Cl).join(`
|
|
10655
|
-
`)), s =
|
|
10655
|
+
`)), s = jp(s), s = i0(s, t), s = r0(s, t), o = jp(o), o = i0(o, t), o = r0(o, t), s = s0(s), o = s0(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
|
|
@@ -10916,7 +10916,7 @@ function JS(e, n, t) {
|
|
|
10916
10916
|
physicallyCorrectLights: e.physicallyCorrectLights,
|
|
10917
10917
|
premultipliedAlpha: p.premultipliedAlpha,
|
|
10918
10918
|
alphaTest: p.alphaTest,
|
|
10919
|
-
doubleSided: p.side ===
|
|
10919
|
+
doubleSided: p.side === Cd,
|
|
10920
10920
|
flipSided: p.side === xn,
|
|
10921
10921
|
depthPacking: p.depthPacking !== void 0 ? p.depthPacking : !1,
|
|
10922
10922
|
index0AttributeName: p.index0AttributeName,
|
|
@@ -11316,7 +11316,7 @@ void main() {
|
|
|
11316
11316
|
gl_Position = vec4( position, 1.0 );
|
|
11317
11317
|
}`;
|
|
11318
11318
|
function Sw(e, n, t) {
|
|
11319
|
-
var i = new jc(), r = new pe(), s = new pe(), o = new Nt(), a = [], l = [], c = {}, h = { 0: xn, 1: Fc, 2:
|
|
11319
|
+
var i = new jc(), r = new pe(), s = new pe(), o = new Nt(), a = [], l = [], c = {}, h = { 0: xn, 1: Fc, 2: Cd }, u = new ei({
|
|
11320
11320
|
defines: {
|
|
11321
11321
|
SAMPLE_RATE: 2 / 8,
|
|
11322
11322
|
HALF_SAMPLE_RATE: 1 / 8
|
|
@@ -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 kp:
|
|
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(kp), N(!1), j(Mv), Be(2884), xe(ts);
|
|
11552
11552
|
function Je() {
|
|
11553
11553
|
for (var $ = 0, We = u.length; $ < We; $++)
|
|
11554
11554
|
u[$] = 0;
|
|
@@ -11652,7 +11652,7 @@ function c3(e, n, t) {
|
|
|
11652
11652
|
Ye = Ye || We, Pt = Pt || $e, Ot = Ot || yt, (We !== b || Ye !== x) && (e.blendEquationSeparate(Te[We], Te[Ye]), b = We, x = Ye), ($e !== A || yt !== w || Pt !== M || Ot !== P) && (e.blendFuncSeparate(mt[$e], mt[yt], mt[Pt], mt[Ot]), A = $e, w = yt, M = Pt, P = Ot), y = $, I = null;
|
|
11653
11653
|
}
|
|
11654
11654
|
function Ne($, We) {
|
|
11655
|
-
$.side ===
|
|
11655
|
+
$.side === Cd ? oe(2884) : Be(2884);
|
|
11656
11656
|
var $e = $.side === xn;
|
|
11657
11657
|
We && ($e = !$e), N($e), $.blending === Rl && $.transparent === !1 ? xe(ts) : xe($.blending, $.blendEquation, $.blendSrc, $.blendDst, $.blendEquationAlpha, $.blendSrcAlpha, $.blendDstAlpha, $.premultipliedAlpha), l.setFunc($.depthFunc), l.setTest($.depthTest), l.setMask($.depthWrite), a.setMask($.colorWrite);
|
|
11658
11658
|
var yt = $.stencilWrite;
|
|
@@ -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 === Rp || N === Op ? 9728 : 9729;
|
|
11802
11802
|
}
|
|
11803
11803
|
function P(N) {
|
|
11804
11804
|
var j = N.target;
|
|
@@ -11913,11 +11913,11 @@ function h3(e, n, t, i, r, s, o) {
|
|
|
11913
11913
|
[wu]: 33648
|
|
11914
11914
|
}, ne = {
|
|
11915
11915
|
[mn]: 9728,
|
|
11916
|
-
[
|
|
11917
|
-
[
|
|
11916
|
+
[Rp]: 9984,
|
|
11917
|
+
[Op]: 9986,
|
|
11918
11918
|
[Bn]: 9729,
|
|
11919
11919
|
[dw]: 9985,
|
|
11920
|
-
[
|
|
11920
|
+
[_d]: 9987
|
|
11921
11921
|
};
|
|
11922
11922
|
function de(N, j, Ce) {
|
|
11923
11923
|
Ce ? (e.texParameteri(N, 10242, te[j.wrapS]), e.texParameteri(N, 10243, te[j.wrapT]), (N === 32879 || N === 35866) && e.texParameteri(N, 32882, te[j.wrapR]), e.texParameteri(N, 10240, ne[j.magFilter]), e.texParameteri(N, 10241, ne[j.minFilter])) : (e.texParameteri(N, 10242, 33071), e.texParameteri(N, 10243, 33071), (N === 32879 || N === 35866) && e.texParameteri(N, 32882, 33071), (j.wrapS !== Kn || j.wrapT !== Kn) && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."), e.texParameteri(N, 10240, M(j.magFilter)), e.texParameteri(N, 10241, M(j.minFilter)), j.minFilter !== mn && j.minFilter !== Bn && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter."));
|
|
@@ -12173,11 +12173,11 @@ function u3(e, n, t) {
|
|
|
12173
12173
|
}
|
|
12174
12174
|
return { convert: r };
|
|
12175
12175
|
}
|
|
12176
|
-
function
|
|
12176
|
+
function Hp(e) {
|
|
12177
12177
|
An.call(this), this.cameras = e || [];
|
|
12178
12178
|
}
|
|
12179
|
-
|
|
12180
|
-
constructor:
|
|
12179
|
+
Hp.prototype = Object.assign(Object.create(An.prototype), {
|
|
12180
|
+
constructor: Hp,
|
|
12181
12181
|
isArrayCamera: !0
|
|
12182
12182
|
});
|
|
12183
12183
|
function nc() {
|
|
@@ -12214,7 +12214,7 @@ function Tw(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 Hp();
|
|
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 Dw(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 Up(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(Up.prototype, {
|
|
12855
12855
|
isFogExp2: !0,
|
|
12856
12856
|
clone: function() {
|
|
12857
|
-
return new
|
|
12857
|
+
return new Up(this.color, this.density);
|
|
12858
12858
|
},
|
|
12859
12859
|
toJSON: function() {
|
|
12860
12860
|
return {
|
|
@@ -12864,13 +12864,13 @@ Object.assign(Hp.prototype, {
|
|
|
12864
12864
|
};
|
|
12865
12865
|
}
|
|
12866
12866
|
});
|
|
12867
|
-
function
|
|
12867
|
+
function Wp(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(Wp.prototype, {
|
|
12871
12871
|
isFog: !0,
|
|
12872
12872
|
clone: function() {
|
|
12873
|
-
return new
|
|
12873
|
+
return new Wp(this.color, this.near, this.far);
|
|
12874
12874
|
},
|
|
12875
12875
|
toJSON: function() {
|
|
12876
12876
|
return {
|
|
@@ -12882,7 +12882,7 @@ Object.assign(Up.prototype, {
|
|
|
12882
12882
|
}
|
|
12883
12883
|
});
|
|
12884
12884
|
function ls(e, n) {
|
|
12885
|
-
this.array = e, this.stride = n, this.count = e !== void 0 ? e.length / n : 0, this.usage =
|
|
12885
|
+
this.array = e, this.stride = n, this.count = e !== void 0 ? e.length / n : 0, this.usage = Sd, this.updateRange = { offset: 0, count: -1 }, this.version = 0;
|
|
12886
12886
|
}
|
|
12887
12887
|
Object.defineProperty(ls.prototype, "needsUpdate", {
|
|
12888
12888
|
set: function(e) {
|
|
@@ -13000,8 +13000,8 @@ Xs.prototype.isSpriteMaterial = !0;
|
|
|
13000
13000
|
Xs.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 Eo, fl = new B(), Co = new B(), Po = new B(), _o = new pe(), pl = new pe(), Lw = new Mt(), Ih = new B(), ml = new B(), Sh = new B(), c0 = new pe(),
|
|
13004
|
-
function
|
|
13003
|
+
var Eo, fl = new B(), Co = new B(), Po = new B(), _o = new pe(), pl = new pe(), Lw = new Mt(), Ih = new B(), ml = new B(), Sh = new B(), c0 = new pe(), Vf = new pe(), h0 = new pe();
|
|
13004
|
+
function Qp(e) {
|
|
13005
13005
|
if (je.call(this), this.type = "Sprite", Eo === void 0) {
|
|
13006
13006
|
Eo = new Xe();
|
|
13007
13007
|
var n = new Float32Array([
|
|
@@ -13030,22 +13030,22 @@ function Wp(e) {
|
|
|
13030
13030
|
}
|
|
13031
13031
|
this.geometry = Eo, this.material = e !== void 0 ? e : new Xs(), this.center = new pe(0.5, 0.5);
|
|
13032
13032
|
}
|
|
13033
|
-
|
|
13034
|
-
constructor:
|
|
13033
|
+
Qp.prototype = Object.assign(Object.create(je.prototype), {
|
|
13034
|
+
constructor: Qp,
|
|
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.'), Co.setFromMatrixScale(this.matrixWorld), Lw.copy(e.camera.matrixWorld), this.modelViewMatrix.multiplyMatrices(e.camera.matrixWorldInverse, this.matrixWorld), Po.setFromMatrixPosition(this.modelViewMatrix), e.camera.isPerspectiveCamera && this.material.sizeAttenuation === !1 && Co.multiplyScalar(-Po.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
|
-
Th(Ih.set(-0.5, -0.5, 0), Po, s, Co, i, r), Th(ml.set(0.5, -0.5, 0), Po, s, Co, i, r), Th(Sh.set(0.5, 0.5, 0), Po, s, Co, i, r), c0.set(0, 0),
|
|
13041
|
+
Th(Ih.set(-0.5, -0.5, 0), Po, s, Co, i, r), Th(ml.set(0.5, -0.5, 0), Po, s, Co, i, r), Th(Sh.set(0.5, 0.5, 0), Po, s, Co, i, r), c0.set(0, 0), Vf.set(1, 0), h0.set(1, 1);
|
|
13042
13042
|
var o = e.ray.intersectTriangle(Ih, ml, Sh, !1, fl);
|
|
13043
|
-
if (!(o === null && (Th(ml.set(-0.5, 0.5, 0), Po, s, Co, i, r),
|
|
13043
|
+
if (!(o === null && (Th(ml.set(-0.5, 0.5, 0), Po, s, Co, i, r), Vf.set(0, 1), o = e.ray.intersectTriangle(Ih, Sh, ml, !1, fl), o === null))) {
|
|
13044
13044
|
var a = e.ray.origin.distanceTo(fl);
|
|
13045
13045
|
a < e.near || a > e.far || n.push({
|
|
13046
13046
|
distance: a,
|
|
13047
13047
|
point: fl.clone(),
|
|
13048
|
-
uv: Ln.getUV(fl, Ih, ml, Sh, c0,
|
|
13048
|
+
uv: Ln.getUV(fl, Ih, ml, Sh, c0, Vf, h0, new pe()),
|
|
13049
13049
|
face: null,
|
|
13050
13050
|
object: this
|
|
13051
13051
|
});
|
|
@@ -13132,11 +13132,11 @@ Su.prototype = Object.assign(Object.create(je.prototype), {
|
|
|
13132
13132
|
return n;
|
|
13133
13133
|
}
|
|
13134
13134
|
});
|
|
13135
|
-
function
|
|
13135
|
+
function Yp(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
|
+
Yp.prototype = Object.assign(Object.create(en.prototype), {
|
|
13139
|
+
constructor: Yp,
|
|
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 @@ Qp.prototype = Object.assign(Object.create(en.prototype), {
|
|
|
13174
13174
|
}()
|
|
13175
13175
|
});
|
|
13176
13176
|
var d0 = new Mt(), f3 = new Mt();
|
|
13177
|
-
function
|
|
13177
|
+
function Xp(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 Yp(e, n) {
|
|
|
13185
13185
|
this.boneInverses.push(new Mt());
|
|
13186
13186
|
}
|
|
13187
13187
|
}
|
|
13188
|
-
Object.assign(
|
|
13188
|
+
Object.assign(Xp.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(Yp.prototype, {
|
|
|
13208
13208
|
i !== void 0 && (i.needsUpdate = !0);
|
|
13209
13209
|
},
|
|
13210
13210
|
clone: function() {
|
|
13211
|
-
return new
|
|
13211
|
+
return new Xp(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 @@ f0.prototype = Object.assign(Object.create(je.prototype), {
|
|
|
13229
13229
|
isBone: !0
|
|
13230
13230
|
});
|
|
13231
13231
|
var p0 = new Mt(), m0 = new Mt(), Lh = [], gl = new en();
|
|
13232
|
-
function
|
|
13232
|
+
function Zp(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
|
+
Zp.prototype = Object.assign(Object.create(en.prototype), {
|
|
13236
|
+
constructor: Zp,
|
|
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 Jp(e, n) {
|
|
13400
13400
|
vi.call(this, e, n), this.type = "LineLoop";
|
|
13401
13401
|
}
|
|
13402
|
-
|
|
13403
|
-
constructor:
|
|
13402
|
+
Jp.prototype = Object.assign(Object.create(vi.prototype), {
|
|
13403
|
+
constructor: Jp,
|
|
13404
13404
|
isLineLoop: !0
|
|
13405
13405
|
});
|
|
13406
13406
|
function Zs(e) {
|
|
@@ -13412,31 +13412,31 @@ Zs.prototype.isPointsMaterial = !0;
|
|
|
13412
13412
|
Zs.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 b0 = new Mt(),
|
|
13416
|
-
function
|
|
13415
|
+
var b0 = new Mt(), qp = new ja(), Bh = new cr(), Nh = new B();
|
|
13416
|
+
function Kp(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 Zs(), this.updateMorphTargets();
|
|
13418
13418
|
}
|
|
13419
|
-
|
|
13420
|
-
constructor:
|
|
13419
|
+
Kp.prototype = Object.assign(Object.create(je.prototype), {
|
|
13420
|
+
constructor: Kp,
|
|
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(), Bh.copy(t.boundingSphere), Bh.applyMatrix4(i), Bh.radius += r, e.ray.intersectsSphere(Bh) !== !1) {
|
|
13425
|
-
b0.getInverse(i),
|
|
13425
|
+
b0.getInverse(i), qp.copy(e.ray).applyMatrix4(b0);
|
|
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
|
-
Nh.fromArray(c, f * 3),
|
|
13432
|
+
Nh.fromArray(c, f * 3), Gf(Nh, 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
|
-
Nh.fromArray(c, u * 3),
|
|
13436
|
+
Nh.fromArray(c, u * 3), Gf(Nh, 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
|
+
Gf(p[u], u, o, i, e, n, this);
|
|
13440
13440
|
}
|
|
13441
13441
|
},
|
|
13442
13442
|
updateMorphTargets: function() {
|
|
@@ -13458,11 +13458,11 @@ qp.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 Gf(e, n, t, i, r, s, o) {
|
|
13462
|
+
var a = qp.distanceSqToPoint(e);
|
|
13463
13463
|
if (a < t) {
|
|
13464
13464
|
var l = new B();
|
|
13465
|
-
|
|
13465
|
+
qp.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;
|
|
@@ -14219,7 +14219,7 @@ function kw(e, n, t, i, r) {
|
|
|
14219
14219
|
else
|
|
14220
14220
|
for (s = t - i; s >= n; s -= i)
|
|
14221
14221
|
o = w0(s, e[s], e[s + 1], o);
|
|
14222
|
-
return o &&
|
|
14222
|
+
return o && Dd(o, o.next) && (fc(o), o = o.next), o;
|
|
14223
14223
|
}
|
|
14224
14224
|
function cs(e, n) {
|
|
14225
14225
|
if (!e)
|
|
@@ -14227,7 +14227,7 @@ function cs(e, n) {
|
|
|
14227
14227
|
n || (n = e);
|
|
14228
14228
|
var t = e, i;
|
|
14229
14229
|
do
|
|
14230
|
-
if (i = !1, !t.steiner && (
|
|
14230
|
+
if (i = !1, !t.steiner && (Dd(t, t.next) || Kt(t.prev, t, t.next) === 0)) {
|
|
14231
14231
|
if (fc(t), t = n = t.prev, t === t.next)
|
|
14232
14232
|
break;
|
|
14233
14233
|
i = !0;
|
|
@@ -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 = $p(a, l, n, t, i), d = $p(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 && Ho(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 && Ho(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;
|
|
@@ -14287,7 +14287,7 @@ function v3(e, n, t) {
|
|
|
14287
14287
|
var i = e;
|
|
14288
14288
|
do {
|
|
14289
14289
|
var r = i.prev, s = i.next.next;
|
|
14290
|
-
!
|
|
14290
|
+
!Dd(r, s) && Rw(r, i, i.next, s) && dc(r, s) && dc(s, r) && (n.push(r.i / t), n.push(i.i / t), n.push(s.i / t), fc(i), fc(i.next), i = e = s), i = i.next;
|
|
14291
14291
|
} while (i !== e);
|
|
14292
14292
|
return cs(i);
|
|
14293
14293
|
}
|
|
@@ -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 = $p(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 $p(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) {
|
|
@@ -14391,12 +14391,12 @@ function _3(e, n) {
|
|
|
14391
14391
|
return e.next.i !== n.i && e.prev.i !== n.i && !I3(e, n) && // dones't intersect other edges
|
|
14392
14392
|
(dc(e, n) && dc(n, e) && S3(e, n) && // locally visible
|
|
14393
14393
|
(Kt(e.prev, e, n.prev) || Kt(e, n.prev, n)) || // does not create opposite-facing sectors
|
|
14394
|
-
|
|
14394
|
+
Dd(e, n) && Kt(e.prev, e, e.next) > 0 && Kt(n.prev, n, n.next) > 0);
|
|
14395
14395
|
}
|
|
14396
14396
|
function Kt(e, n, t) {
|
|
14397
14397
|
return (n.y - e.y) * (t.x - n.x) - (n.x - e.x) * (t.y - n.y);
|
|
14398
14398
|
}
|
|
14399
|
-
function
|
|
14399
|
+
function Dd(e, n) {
|
|
14400
14400
|
return e.x === n.x && e.y === n.y;
|
|
14401
14401
|
}
|
|
14402
14402
|
function Rw(e, n, t, i) {
|
|
@@ -14429,17 +14429,17 @@ function S3(e, n) {
|
|
|
14429
14429
|
return i;
|
|
14430
14430
|
}
|
|
14431
14431
|
function Ow(e, n) {
|
|
14432
|
-
var t = new
|
|
14432
|
+
var t = new em(e.i, e.x, e.y), i = new em(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 w0(e, n, t, i) {
|
|
14436
|
-
var r = new
|
|
14436
|
+
var r = new em(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 fc(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 em(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) {
|
|
@@ -15025,7 +15025,7 @@ var Un = /* @__PURE__ */ Object.freeze({
|
|
|
15025
15025
|
CircleGeometry: Xu,
|
|
15026
15026
|
CircleBufferGeometry: vc,
|
|
15027
15027
|
BoxGeometry: v2,
|
|
15028
|
-
BoxBufferGeometry:
|
|
15028
|
+
BoxBufferGeometry: Td
|
|
15029
15029
|
});
|
|
15030
15030
|
function ma(e) {
|
|
15031
15031
|
dt.call(this), this.type = "ShadowMaterial", this.color = new Qe(0), this.transparent = !0, this.setValues(e);
|
|
@@ -15067,7 +15067,7 @@ ga.prototype.copy = function(e) {
|
|
|
15067
15067
|
}, this.clearcoat = e.clearcoat, this.clearcoatMap = e.clearcoatMap, this.clearcoatRoughness = e.clearcoatRoughness, this.clearcoatRoughnessMap = e.clearcoatRoughnessMap, this.clearcoatNormalMap = e.clearcoatNormalMap, this.clearcoatNormalScale.copy(e.clearcoatNormalScale), this.reflectivity = e.reflectivity, e.sheen ? this.sheen = (this.sheen || new Qe()).copy(e.sheen) : this.sheen = null, this.transparency = e.transparency, this;
|
|
15068
15068
|
};
|
|
15069
15069
|
function Js(e) {
|
|
15070
|
-
dt.call(this), this.type = "MeshPhongMaterial", this.color = new Qe(16777215), this.specular = new Qe(1118481), this.shininess = 30, this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new Qe(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.bumpMap = null, this.bumpScale = 1, this.normalMap = null, this.normalMapType = Va, this.normalScale = new pe(1, 1), this.displacementMap = null, this.displacementScale = 1, this.displacementBias = 0, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine =
|
|
15070
|
+
dt.call(this), this.type = "MeshPhongMaterial", this.color = new Qe(16777215), this.specular = new Qe(1118481), this.shininess = 30, this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new Qe(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.bumpMap = null, this.bumpScale = 1, this.normalMap = null, this.normalMapType = Va, this.normalScale = new pe(1, 1), this.displacementMap = null, this.displacementScale = 1, this.displacementBias = 0, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine = Pd, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.skinning = !1, this.morphTargets = !1, this.morphNormals = !1, this.setValues(e);
|
|
15071
15071
|
}
|
|
15072
15072
|
Js.prototype = Object.create(dt.prototype);
|
|
15073
15073
|
Js.prototype.constructor = Js;
|
|
@@ -15094,7 +15094,7 @@ ya.prototype.copy = function(e) {
|
|
|
15094
15094
|
return dt.prototype.copy.call(this, e), this.bumpMap = e.bumpMap, this.bumpScale = e.bumpScale, this.normalMap = e.normalMap, this.normalMapType = e.normalMapType, this.normalScale.copy(e.normalScale), this.displacementMap = e.displacementMap, this.displacementScale = e.displacementScale, this.displacementBias = e.displacementBias, this.wireframe = e.wireframe, this.wireframeLinewidth = e.wireframeLinewidth, this.skinning = e.skinning, this.morphTargets = e.morphTargets, this.morphNormals = e.morphNormals, this;
|
|
15095
15095
|
};
|
|
15096
15096
|
function ba(e) {
|
|
15097
|
-
dt.call(this), this.type = "MeshLambertMaterial", this.color = new Qe(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new Qe(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine =
|
|
15097
|
+
dt.call(this), this.type = "MeshLambertMaterial", this.color = new Qe(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new Qe(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine = Pd, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.skinning = !1, this.morphTargets = !1, this.morphNormals = !1, this.setValues(e);
|
|
15098
15098
|
}
|
|
15099
15099
|
ba.prototype = Object.create(dt.prototype);
|
|
15100
15100
|
ba.prototype.constructor = ba;
|
|
@@ -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 tm(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
|
+
tm.prototype = Object.assign(Object.create(pi.prototype), {
|
|
15349
|
+
constructor: tm,
|
|
15350
15350
|
DefaultSettings_: {
|
|
15351
15351
|
endingStart: ra,
|
|
15352
15352
|
endingEnd: ra
|
|
@@ -15395,11 +15395,11 @@ Zu.prototype = Object.assign(Object.create(pi.prototype), {
|
|
|
15395
15395
|
return r;
|
|
15396
15396
|
}
|
|
15397
15397
|
});
|
|
15398
|
-
function
|
|
15398
|
+
function nm(e, n, t, i) {
|
|
15399
15399
|
pi.call(this, e, n, t, i);
|
|
15400
15400
|
}
|
|
15401
|
-
|
|
15402
|
-
constructor:
|
|
15401
|
+
nm.prototype = Object.assign(Object.create(pi.prototype), {
|
|
15402
|
+
constructor: nm,
|
|
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: fu,
|
|
15438
15438
|
InterpolantFactoryMethodDiscrete: function(e) {
|
|
15439
|
-
return new
|
|
15439
|
+
return new nm(this.times, this.values, this.getValueSize(), e);
|
|
15440
15440
|
},
|
|
15441
15441
|
InterpolantFactoryMethodLinear: function(e) {
|
|
15442
15442
|
return new Zu(this.times, this.values, this.getValueSize(), e);
|
|
15443
15443
|
},
|
|
15444
15444
|
InterpolantFactoryMethodSmooth: function(e) {
|
|
15445
|
-
return new
|
|
15445
|
+
return new tm(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 fu:
|
|
15454
15454
|
n = this.InterpolantFactoryMethodLinear;
|
|
15455
15455
|
break;
|
|
15456
|
-
case
|
|
15456
|
+
case vf:
|
|
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 fu;
|
|
15477
15477
|
case this.InterpolantFactoryMethodSmooth:
|
|
15478
|
-
return
|
|
15478
|
+
return vf;
|
|
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() === vf, 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 im(e, n, t) {
|
|
15579
15579
|
Vn.call(this, e, n, t);
|
|
15580
15580
|
}
|
|
15581
|
-
|
|
15582
|
-
constructor:
|
|
15581
|
+
im.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
15582
|
+
constructor: im,
|
|
15583
15583
|
ValueTypeName: "bool",
|
|
15584
15584
|
ValueBufferType: Array,
|
|
15585
15585
|
DefaultInterpolation: Eu,
|
|
@@ -15589,11 +15589,11 @@ nm.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 rm(e, n, t, i) {
|
|
15593
15593
|
Vn.call(this, e, n, t, i);
|
|
15594
15594
|
}
|
|
15595
|
-
|
|
15596
|
-
constructor:
|
|
15595
|
+
rm.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
15596
|
+
constructor: rm,
|
|
15597
15597
|
ValueTypeName: "color"
|
|
15598
15598
|
// ValueBufferType is inherited
|
|
15599
15599
|
// DefaultInterpolation is inherited
|
|
@@ -15609,11 +15609,11 @@ yc.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
|
15609
15609
|
// ValueBufferType is inherited
|
|
15610
15610
|
// DefaultInterpolation is inherited
|
|
15611
15611
|
});
|
|
15612
|
-
function
|
|
15612
|
+
function sm(e, n, t, i) {
|
|
15613
15613
|
pi.call(this, e, n, t, i);
|
|
15614
15614
|
}
|
|
15615
|
-
|
|
15616
|
-
constructor:
|
|
15615
|
+
sm.prototype = Object.assign(Object.create(pi.prototype), {
|
|
15616
|
+
constructor: sm,
|
|
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 @@ Ju.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
|
15629
15629
|
// ValueBufferType is inherited
|
|
15630
15630
|
DefaultInterpolation: fu,
|
|
15631
15631
|
InterpolantFactoryMethodLinear: function(e) {
|
|
15632
|
-
return new
|
|
15632
|
+
return new sm(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 om(e, n, t, i) {
|
|
15638
15638
|
Vn.call(this, e, n, t, i);
|
|
15639
15639
|
}
|
|
15640
|
-
|
|
15641
|
-
constructor:
|
|
15640
|
+
om.prototype = Object.assign(Object.create(Vn.prototype), {
|
|
15641
|
+
constructor: om,
|
|
15642
15642
|
ValueTypeName: "string",
|
|
15643
15643
|
ValueBufferType: Array,
|
|
15644
15644
|
DefaultInterpolation: Eu,
|
|
@@ -15671,14 +15671,14 @@ function k3(e) {
|
|
|
15671
15671
|
case "vector4":
|
|
15672
15672
|
return bc;
|
|
15673
15673
|
case "color":
|
|
15674
|
-
return
|
|
15674
|
+
return rm;
|
|
15675
15675
|
case "quaternion":
|
|
15676
15676
|
return Ju;
|
|
15677
15677
|
case "bool":
|
|
15678
15678
|
case "boolean":
|
|
15679
|
-
return
|
|
15679
|
+
return im;
|
|
15680
15680
|
case "string":
|
|
15681
|
-
return
|
|
15681
|
+
return om;
|
|
15682
15682
|
}
|
|
15683
15683
|
throw new Error("THREE.KeyframeTrack: Unsupported typeName: " + e);
|
|
15684
15684
|
}
|
|
@@ -16092,7 +16092,7 @@ P0.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
16092
16092
|
var r = this, s = new oa(), o = new tr(this.manager);
|
|
16093
16093
|
return o.setResponseType("arraybuffer"), o.setPath(this.path), o.load(e, function(a) {
|
|
16094
16094
|
var l = r.parse(a);
|
|
16095
|
-
l && (l.image !== void 0 ? s.image = l.image : l.data !== void 0 && (s.image.width = l.width, s.image.height = l.height, s.image.data = l.data), s.wrapS = l.wrapS !== void 0 ? l.wrapS : Kn, s.wrapT = l.wrapT !== void 0 ? l.wrapT : Kn, s.magFilter = l.magFilter !== void 0 ? l.magFilter : Bn, s.minFilter = l.minFilter !== void 0 ? l.minFilter : Bn, s.anisotropy = l.anisotropy !== void 0 ? l.anisotropy : 1, l.format !== void 0 && (s.format = l.format), l.type !== void 0 && (s.type = l.type), l.mipmaps !== void 0 && (s.mipmaps = l.mipmaps, s.minFilter =
|
|
16095
|
+
l && (l.image !== void 0 ? s.image = l.image : l.data !== void 0 && (s.image.width = l.width, s.image.height = l.height, s.image.data = l.data), s.wrapS = l.wrapS !== void 0 ? l.wrapS : Kn, s.wrapT = l.wrapT !== void 0 ? l.wrapT : Kn, s.magFilter = l.magFilter !== void 0 ? l.magFilter : Bn, s.minFilter = l.minFilter !== void 0 ? l.minFilter : Bn, s.anisotropy = l.anisotropy !== void 0 ? l.anisotropy : 1, l.format !== void 0 && (s.format = l.format), l.type !== void 0 && (s.type = l.type), l.mipmaps !== void 0 && (s.mipmaps = l.mipmaps, s.minFilter = _d), l.mipmapCount === 1 && (s.minFilter = Bn), s.needsUpdate = !0, n && n(s, l));
|
|
16096
16096
|
}, t, i), s;
|
|
16097
16097
|
}
|
|
16098
16098
|
});
|
|
@@ -16118,11 +16118,11 @@ Ac.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 am(e) {
|
|
16122
16122
|
Vt.call(this, e);
|
|
16123
16123
|
}
|
|
16124
|
-
|
|
16125
|
-
constructor:
|
|
16124
|
+
am.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
16125
|
+
constructor: am,
|
|
16126
16126
|
load: function(e, n, t, i) {
|
|
16127
16127
|
var r = new as(), s = new Ac(this.manager);
|
|
16128
16128
|
s.setCrossOrigin(this.crossOrigin), s.setPath(this.path);
|
|
@@ -16137,11 +16137,11 @@ om.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
16137
16137
|
return r;
|
|
16138
16138
|
}
|
|
16139
16139
|
});
|
|
16140
|
-
function
|
|
16140
|
+
function lm(e) {
|
|
16141
16141
|
Vt.call(this, e);
|
|
16142
16142
|
}
|
|
16143
|
-
|
|
16144
|
-
constructor:
|
|
16143
|
+
lm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
16144
|
+
constructor: lm,
|
|
16145
16145
|
load: function(e, n, t, i) {
|
|
16146
16146
|
var r = new Wt(), s = new Ac(this.manager);
|
|
16147
16147
|
return s.setCrossOrigin(this.crossOrigin), s.setPath(this.path), s.load(e, function(o) {
|
|
@@ -16321,7 +16321,7 @@ function ug() {
|
|
|
16321
16321
|
}
|
|
16322
16322
|
};
|
|
16323
16323
|
}
|
|
16324
|
-
var Gh = new B(),
|
|
16324
|
+
var Gh = new B(), jf = new ug(), Hf = new ug(), Uf = new ug();
|
|
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] : (Gh.subVectors(i[0], i[1]).add(i[0]), l = Gh), c = i[o % r], h = i[(o + 1) % r], this.closed || o + 2 < r ? u = i[(o + 2) % r] : (Gh.subVectors(i[r - 1], i[r - 2]).add(i[r - 1]), u = Gh), 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), jf.initNonuniformCatmullRom(l.x, c.x, h.x, u.x, f, m, p), Hf.initNonuniformCatmullRom(l.y, c.y, h.y, u.y, f, m, p), Uf.initNonuniformCatmullRom(l.z, c.z, h.z, u.z, f, m, p);
|
|
16338
16338
|
} else
|
|
16339
|
-
this.curveType === "catmullrom" && (
|
|
16339
|
+
this.curveType === "catmullrom" && (jf.initCatmullRom(l.x, c.x, h.x, u.x, this.tension), Hf.initCatmullRom(l.y, c.y, h.y, u.y, this.tension), Uf.initCatmullRom(l.z, c.z, h.z, u.z, this.tension));
|
|
16340
16340
|
return t.set(
|
|
16341
|
-
Gf.calc(a),
|
|
16342
16341
|
jf.calc(a),
|
|
16343
|
-
Hf.calc(a)
|
|
16342
|
+
Hf.calc(a),
|
|
16343
|
+
Uf.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 cm = /* @__PURE__ */ Object.freeze({
|
|
16588
16588
|
__proto__: null,
|
|
16589
16589
|
ArcCurve: wc,
|
|
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 cm[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 hm(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
|
+
hm.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
16829
|
+
constructor: hm,
|
|
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 um() {
|
|
16889
16889
|
Lr.call(this, new An(50, 1, 0.5, 500));
|
|
16890
16890
|
}
|
|
16891
|
-
|
|
16892
|
-
constructor:
|
|
16891
|
+
um.prototype = Object.assign(Object.create(Lr.prototype), {
|
|
16892
|
+
constructor: um,
|
|
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 dm(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 um(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 um();
|
|
16908
16908
|
}
|
|
16909
|
-
|
|
16910
|
-
constructor:
|
|
16909
|
+
dm.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
16910
|
+
constructor: dm,
|
|
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 fm() {
|
|
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 dm() {
|
|
|
16955
16955
|
new B(0, 0, -1)
|
|
16956
16956
|
];
|
|
16957
16957
|
}
|
|
16958
|
-
|
|
16959
|
-
constructor:
|
|
16958
|
+
fm.prototype = Object.assign(Object.create(Lr.prototype), {
|
|
16959
|
+
constructor: fm,
|
|
16960
16960
|
isPointLightShadow: !0,
|
|
16961
16961
|
updateMatrices: function(e, n) {
|
|
16962
16962
|
n === void 0 && (n = 0);
|
|
@@ -16964,7 +16964,7 @@ dm.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 pm(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 fm(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 fm();
|
|
16976
16976
|
}
|
|
16977
|
-
|
|
16978
|
-
constructor:
|
|
16977
|
+
pm.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
16978
|
+
constructor: pm,
|
|
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 @@ xc.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 mm() {
|
|
17021
17021
|
Lr.call(this, new xc(-5, 5, 5, -5, 0.5, 500));
|
|
17022
17022
|
}
|
|
17023
|
-
|
|
17024
|
-
constructor:
|
|
17023
|
+
mm.prototype = Object.assign(Object.create(Lr.prototype), {
|
|
17024
|
+
constructor: mm,
|
|
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 gm(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 mm();
|
|
17032
17032
|
}
|
|
17033
|
-
|
|
17034
|
-
constructor:
|
|
17033
|
+
gm.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
17034
|
+
constructor: gm,
|
|
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 vm(e, n) {
|
|
17041
17041
|
Jt.call(this, e, n), this.type = "AmbientLight", this.castShadow = void 0;
|
|
17042
17042
|
}
|
|
17043
|
-
|
|
17044
|
-
constructor:
|
|
17043
|
+
vm.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
17044
|
+
constructor: vm,
|
|
17045
17045
|
isAmbientLight: !0
|
|
17046
17046
|
});
|
|
17047
|
-
function
|
|
17047
|
+
function ym(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
|
+
ym.prototype = Object.assign(Object.create(Jt.prototype), {
|
|
17051
|
+
constructor: ym,
|
|
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;
|
|
@@ -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 bm(e) {
|
|
17162
17162
|
Vt.call(this, e), this.textures = {};
|
|
17163
17163
|
}
|
|
17164
|
-
|
|
17165
|
-
constructor:
|
|
17164
|
+
bm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
17165
|
+
constructor: bm,
|
|
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 @@ Ma.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 Am(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
|
+
Am.prototype = Object.assign(Object.create(ut.prototype), {
|
|
17261
|
+
constructor: Am,
|
|
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 @@ bm.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 wm(e) {
|
|
17272
17272
|
Vt.call(this, e);
|
|
17273
17273
|
}
|
|
17274
|
-
|
|
17275
|
-
constructor:
|
|
17274
|
+
wm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
17275
|
+
constructor: wm,
|
|
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 @@ Am.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17286
17286
|
parse: function(e) {
|
|
17287
17287
|
var n = e.isInstancedBufferGeometry ? new Ma() : new Xe(), t = e.data.index;
|
|
17288
17288
|
if (t !== void 0) {
|
|
17289
|
-
var i = new
|
|
17289
|
+
var i = new Wf[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 Wf[o.type](o.array), a = o.isInstancedBufferAttribute ? Am : 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 Wf[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 @@ Am.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 Wf = {
|
|
17323
17323
|
Int8Array,
|
|
17324
17324
|
Uint8Array,
|
|
17325
17325
|
// Workaround for IE11 pre KB2929437. See #11440
|
|
@@ -17331,11 +17331,11 @@ var Uf = {
|
|
|
17331
17331
|
Float32Array,
|
|
17332
17332
|
Float64Array
|
|
17333
17333
|
};
|
|
17334
|
-
function
|
|
17334
|
+
function xm(e) {
|
|
17335
17335
|
Vt.call(this, e);
|
|
17336
17336
|
}
|
|
17337
|
-
|
|
17338
|
-
constructor:
|
|
17337
|
+
xm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
17338
|
+
constructor: xm,
|
|
17339
17339
|
load: function(e, n, t, i) {
|
|
17340
17340
|
var r = this, s = this.path === "" ? Fw.extractUrlBase(e) : this.path;
|
|
17341
17341
|
this.resourcePath = this.resourcePath || s;
|
|
@@ -17374,7 +17374,7 @@ wm.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 wm(), 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 @@ wm.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 cm[a.path.type]().fromJSON(a.path),
|
|
17496
17496
|
a.tubularSegments,
|
|
17497
17497
|
a.radius,
|
|
17498
17498
|
a.radialSegments,
|
|
@@ -17535,7 +17535,7 @@ wm.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 cm[d.type]().fromJSON(d)), o = new Un[a.type](
|
|
17539
17539
|
u,
|
|
17540
17540
|
a.options
|
|
17541
17541
|
);
|
|
@@ -17558,7 +17558,7 @@ wm.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 bm();
|
|
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 @@ wm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17642
17642
|
}
|
|
17643
17643
|
switch (e.type) {
|
|
17644
17644
|
case "Scene":
|
|
17645
|
-
i = new Zl(), 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 Zl(), 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 Wp(e.fog.color, e.fog.near, e.fog.far) : e.fog.type === "FogExp2" && (i.fog = new Up(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 @@ wm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
|
17651
17651
|
i = new xc(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 vm(e.color, e.intensity);
|
|
17655
17655
|
break;
|
|
17656
17656
|
case "DirectionalLight":
|
|
17657
|
-
i = new
|
|
17657
|
+
i = new gm(e.color, e.intensity);
|
|
17658
17658
|
break;
|
|
17659
17659
|
case "PointLight":
|
|
17660
|
-
i = new
|
|
17660
|
+
i = new pm(e.color, e.intensity, e.distance, e.decay);
|
|
17661
17661
|
break;
|
|
17662
17662
|
case "RectAreaLight":
|
|
17663
|
-
i = new
|
|
17663
|
+
i = new ym(e.color, e.intensity, e.width, e.height);
|
|
17664
17664
|
break;
|
|
17665
17665
|
case "SpotLight":
|
|
17666
|
-
i = new
|
|
17666
|
+
i = new dm(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 hm(e.color, e.groundColor, e.intensity);
|
|
17670
17670
|
break;
|
|
17671
17671
|
case "LightProbe":
|
|
17672
17672
|
i = new Di().fromJSON(e);
|
|
@@ -17679,7 +17679,7 @@ wm.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 Zp(o, a, l), i.instanceMatrix = new ut(new Float32Array(c.array), 16);
|
|
17683
17683
|
break;
|
|
17684
17684
|
case "LOD":
|
|
17685
17685
|
i = new Su();
|
|
@@ -17688,17 +17688,17 @@ wm.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 Jp(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 Kp(r(e.geometry), s(e.material));
|
|
17699
17699
|
break;
|
|
17700
17700
|
case "Sprite":
|
|
17701
|
-
i = new
|
|
17701
|
+
i = new Qp(s(e.material));
|
|
17702
17702
|
break;
|
|
17703
17703
|
case "Group":
|
|
17704
17704
|
i = new nc();
|
|
@@ -17734,11 +17734,11 @@ var H3 = {
|
|
|
17734
17734
|
MirroredRepeatWrapping: wu
|
|
17735
17735
|
}, S0 = {
|
|
17736
17736
|
NearestFilter: mn,
|
|
17737
|
-
NearestMipmapNearestFilter:
|
|
17738
|
-
NearestMipmapLinearFilter:
|
|
17737
|
+
NearestMipmapNearestFilter: Rp,
|
|
17738
|
+
NearestMipmapLinearFilter: Op,
|
|
17739
17739
|
LinearFilter: Bn,
|
|
17740
17740
|
LinearMipmapNearestFilter: dw,
|
|
17741
|
-
LinearMipmapLinearFilter:
|
|
17741
|
+
LinearMipmapLinearFilter: _d
|
|
17742
17742
|
};
|
|
17743
17743
|
function T0(e) {
|
|
17744
17744
|
typeof createImageBitmap == "undefined" && console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."), typeof fetch == "undefined" && console.warn("THREE.ImageBitmapLoader: fetch() not supported."), Vt.call(this, e), this.options = void 0;
|
|
@@ -17936,11 +17936,11 @@ var jh, jw = {
|
|
|
17936
17936
|
jh = e;
|
|
17937
17937
|
}
|
|
17938
17938
|
};
|
|
17939
|
-
function
|
|
17939
|
+
function Mm(e) {
|
|
17940
17940
|
Vt.call(this, e);
|
|
17941
17941
|
}
|
|
17942
|
-
|
|
17943
|
-
constructor:
|
|
17942
|
+
Mm.prototype = Object.assign(Object.create(Vt.prototype), {
|
|
17943
|
+
constructor: Mm,
|
|
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) {
|
|
@@ -19190,11 +19190,11 @@ V0.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 Em(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
|
+
Em.prototype.clone = function() {
|
|
19197
|
+
return new Em(this.value.clone === void 0 ? this.value : this.value.clone());
|
|
19198
19198
|
};
|
|
19199
19199
|
function qu(e, n, t) {
|
|
19200
19200
|
ls.call(this, e, n), this.meshPerAttribute = t || 1;
|
|
@@ -19224,10 +19224,10 @@ function Xw(e, n, t, i) {
|
|
|
19224
19224
|
function G0(e, n) {
|
|
19225
19225
|
return e.distance - n.distance;
|
|
19226
19226
|
}
|
|
19227
|
-
function
|
|
19227
|
+
function Cm(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
|
+
Cm(r[s], n, t, !0);
|
|
19231
19231
|
}
|
|
19232
19232
|
Object.assign(Xw.prototype, {
|
|
19233
19233
|
set: function(e, n) {
|
|
@@ -19238,14 +19238,14 @@ Object.assign(Xw.prototype, {
|
|
|
19238
19238
|
},
|
|
19239
19239
|
intersectObject: function(e, n, t) {
|
|
19240
19240
|
var i = t || [];
|
|
19241
|
-
return
|
|
19241
|
+
return Cm(e, this, i, n), i.sort(G0), 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
|
+
Cm(e[r], this, i, n);
|
|
19249
19249
|
return i.sort(G0), i;
|
|
19250
19250
|
}
|
|
19251
19251
|
});
|
|
@@ -19485,7 +19485,7 @@ Ec.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), U0.setFromMatrixPosition(this.light.target.matrixWorld), this.cone.lookAt(U0), 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(), Uh = new Mt(),
|
|
19488
|
+
var Xr = new B(), Uh = new Mt(), Qf = new Mt();
|
|
19489
19489
|
function qw(e) {
|
|
19490
19490
|
var n = [];
|
|
19491
19491
|
e && e.isBone && n.push(e);
|
|
@@ -19507,10 +19507,10 @@ Ea.prototype.constructor = Ea;
|
|
|
19507
19507
|
Ea.prototype.isSkeletonHelper = !0;
|
|
19508
19508
|
Ea.prototype.updateMatrixWorld = function(e) {
|
|
19509
19509
|
var n = this.bones, t = this.geometry, i = t.getAttribute("position");
|
|
19510
|
-
|
|
19510
|
+
Qf.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 && (Uh.multiplyMatrices(
|
|
19513
|
+
o.parent && o.parent.isBone && (Uh.multiplyMatrices(Qf, o.matrixWorld), Xr.setFromMatrixPosition(Uh), i.setXYZ(s, Xr.x, Xr.y, Xr.z), Uh.multiplyMatrices(Qf, o.parent.matrixWorld), Xr.setFromMatrixPosition(Uh), 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 @@ Pc.prototype.update = function() {
|
|
|
19555
19555
|
}
|
|
19556
19556
|
e.lookAt(oT.setFromMatrixPosition(this.light.matrixWorld).negate());
|
|
19557
19557
|
};
|
|
19558
|
-
function
|
|
19558
|
+
function Pm(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 Cm(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
|
+
Pm.prototype = Object.assign(Object.create(gn.prototype), {
|
|
19571
|
+
constructor: Pm,
|
|
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 @@ Cm.prototype = Object.assign(Object.create(gn.prototype), {
|
|
|
19576
19576
|
return new this.constructor().copy(this);
|
|
19577
19577
|
}
|
|
19578
19578
|
});
|
|
19579
|
-
function
|
|
19579
|
+
function _m(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 Pm(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
|
+
_m.prototype = Object.create(gn.prototype);
|
|
19593
|
+
_m.prototype.constructor = _m;
|
|
19594
19594
|
var Y0 = new B(), Wh = new B(), X0 = new B();
|
|
19595
19595
|
function _c(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 @@ td.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 : Fc, this.lookAt(this.plane.normal), je.prototype.updateMatrixWorld.call(this, e);
|
|
19697
19697
|
};
|
|
19698
|
-
var Z0 = new B(), Xh,
|
|
19698
|
+
var Z0 = new B(), Xh, Yf;
|
|
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), Xh === void 0 && (Xh = new Xe(), Xh.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), Xh === void 0 && (Xh = new Xe(), Xh.setAttribute("position", new ze([0, 0, 0, 0, 1, 0], 3)), Yf = new hs(0, 0.5, 1, 5, 1), Yf.translate(0, -0.5, 0)), this.position.copy(n), this.line = new vi(Xh, new un({ color: i, toneMapped: !1 })), this.line.matrixAutoUpdate = !1, this.add(this.line), this.cone = new en(Yf, 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 Im(e) {
|
|
19728
19728
|
e = e || 1;
|
|
19729
19729
|
var n = [
|
|
19730
19730
|
0,
|
|
@@ -19769,17 +19769,17 @@ function _m(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
|
+
Im.prototype = Object.create(gn.prototype);
|
|
19773
|
+
Im.prototype.constructor = Im;
|
|
19774
19774
|
var qo = 4, rs = 8, Qi = Math.pow(2, rs), Kw = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], $w = rs - qo + 1 + Kw.length, zo = 20, Zi = {
|
|
19775
19775
|
[$n]: 0,
|
|
19776
|
-
[
|
|
19776
|
+
[Id]: 1,
|
|
19777
19777
|
[cg]: 2,
|
|
19778
19778
|
[pw]: 3,
|
|
19779
19779
|
[mw]: 4,
|
|
19780
19780
|
[gw]: 5,
|
|
19781
19781
|
[lg]: 6
|
|
19782
|
-
},
|
|
19782
|
+
}, Xf = new xc(), { _lodPlanes: vl, _sizeLods: J0, _sigmas: Zh } = lT(), Zf = null, Os = (1 + Math.sqrt(5)) / 2, Io = 1 / Os, q0 = [
|
|
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 @@ K0.prototype = {
|
|
|
19804
19804
|
* is placed at the origin).
|
|
19805
19805
|
*/
|
|
19806
19806
|
fromScene: function(e, n = 0, t = 0.1, i = 100) {
|
|
19807
|
-
|
|
19807
|
+
Zf = 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 @@ K0.prototype = {
|
|
|
19822
19822
|
* as this matches best with the 256 x 256 cubemap output.
|
|
19823
19823
|
*/
|
|
19824
19824
|
fromCubemap: function(e) {
|
|
19825
|
-
|
|
19825
|
+
Zf = 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 @@ K0.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(Zf), e.scissorTest = !1, e.setSize(e.width, e.height);
|
|
19856
19856
|
},
|
|
19857
19857
|
_allocateTargets: function(e) {
|
|
19858
19858
|
var n = {
|
|
@@ -19869,7 +19869,7 @@ K0.prototype = {
|
|
|
19869
19869
|
},
|
|
19870
19870
|
_compileMaterial: function(e) {
|
|
19871
19871
|
var n = new en(vl[0], e);
|
|
19872
|
-
this._renderer.compile(n,
|
|
19872
|
+
this._renderer.compile(n, Xf);
|
|
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 @@ K0.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])), Jf(
|
|
19888
19888
|
i,
|
|
19889
19889
|
w * Qi,
|
|
19890
19890
|
A > 2 ? Qi : 0,
|
|
@@ -19898,7 +19898,7 @@ K0.prototype = {
|
|
|
19898
19898
|
var t = this._renderer;
|
|
19899
19899
|
e.isCubeTexture ? this._cubemapShader == null && (this._cubemapShader = ty()) : this._equirectShader == null && (this._equirectShader = ey());
|
|
19900
19900
|
var i = e.isCubeTexture ? this._cubemapShader : this._equirectShader, r = new en(vl[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], Jf(n, 0, 0, 3 * Qi, 2 * Qi), t.setRenderTarget(n), t.render(r, Xf);
|
|
19902
19902
|
},
|
|
19903
19903
|
_applyPMREM: function(e) {
|
|
19904
19904
|
var n = this._renderer, t = n.autoClear;
|
|
@@ -19951,11 +19951,11 @@ K0.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 = J0[i], x = 3 * Math.max(0, Qi - 2 * w), M = (i === 0 ? 0 : 2 * Qi) + 2 * w * (i > rs - qo ? i - rs + qo : 0);
|
|
19954
|
-
|
|
19954
|
+
Jf(n, x, M, 3 * w, 2 * w), a.setRenderTarget(n), a.render(h, Xf);
|
|
19955
19955
|
}
|
|
19956
19956
|
};
|
|
19957
19957
|
function aT(e) {
|
|
19958
|
-
return e === void 0 || e.type !== Gc ? !1 : e.encoding === $n || e.encoding ===
|
|
19958
|
+
return e === void 0 || e.type !== Gc ? !1 : e.encoding === $n || e.encoding === Id || e.encoding === lg;
|
|
19959
19959
|
}
|
|
19960
19960
|
function lT() {
|
|
19961
19961
|
for (var e = [], n = [], t = [], i = rs, r = 0; r < $w; r++) {
|
|
@@ -19997,7 +19997,7 @@ function $0(e) {
|
|
|
19997
19997
|
var n = new fi(3 * Qi, 3 * Qi, e);
|
|
19998
19998
|
return n.texture.mapping = Vc, n.texture.name = "PMREM.cubeUv", n.scissorTest = !0, n;
|
|
19999
19999
|
}
|
|
20000
|
-
function
|
|
20000
|
+
function Jf(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) {
|
|
@@ -20268,7 +20268,7 @@ Object.assign(ex.prototype, {
|
|
|
20268
20268
|
console.error("THREE.Spline: .reparametrizeByArcLength() has been removed.");
|
|
20269
20269
|
}
|
|
20270
20270
|
});
|
|
20271
|
-
|
|
20271
|
+
Pm.prototype.setColors = function() {
|
|
20272
20272
|
console.error("THREE.GridHelper: setColors() has been deprecated, pass them in the constructor instead.");
|
|
20273
20273
|
};
|
|
20274
20274
|
Ea.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(xm.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(Su.prototype, {
|
|
|
20587
20587
|
}
|
|
20588
20588
|
}
|
|
20589
20589
|
});
|
|
20590
|
-
Object.defineProperty(
|
|
20590
|
+
Object.defineProperty(Xp.prototype, "useVertexTexture", {
|
|
20591
20591
|
get: function() {
|
|
20592
20592
|
console.warn("THREE.Skeleton: useVertexTexture has been removed.");
|
|
20593
20593
|
},
|
|
@@ -20595,7 +20595,7 @@ Object.defineProperty(Yp.prototype, "useVertexTexture", {
|
|
|
20595
20595
|
console.warn("THREE.Skeleton: useVertexTexture has been removed.");
|
|
20596
20596
|
}
|
|
20597
20597
|
});
|
|
20598
|
-
|
|
20598
|
+
Yp.prototype.initBones = function() {
|
|
20599
20599
|
console.error("THREE.SkinnedMesh: initBones() has been removed.");
|
|
20600
20600
|
};
|
|
20601
20601
|
Object.defineProperty(at.prototype, "__arcLengthDivisions", {
|
|
@@ -20693,7 +20693,7 @@ Object.defineProperties(ut.prototype, {
|
|
|
20693
20693
|
});
|
|
20694
20694
|
Object.assign(ut.prototype, {
|
|
20695
20695
|
setDynamic: function(e) {
|
|
20696
|
-
return console.warn("THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead."), this.setUsage(e === !0 ? Xl :
|
|
20696
|
+
return console.warn("THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead."), this.setUsage(e === !0 ? Xl : Sd), this;
|
|
20697
20697
|
},
|
|
20698
20698
|
copyIndicesArray: function() {
|
|
20699
20699
|
console.error("THREE.BufferAttribute: .copyIndicesArray() has been removed.");
|
|
@@ -20772,7 +20772,7 @@ Object.defineProperties(ls.prototype, {
|
|
|
20772
20772
|
});
|
|
20773
20773
|
Object.assign(ls.prototype, {
|
|
20774
20774
|
setDynamic: function(e) {
|
|
20775
|
-
return console.warn("THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead."), this.setUsage(e === !0 ? Xl :
|
|
20775
|
+
return console.warn("THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead."), this.setUsage(e === !0 ? Xl : Sd), this;
|
|
20776
20776
|
},
|
|
20777
20777
|
setArray: function() {
|
|
20778
20778
|
console.error("THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers");
|
|
@@ -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(Em.prototype, {
|
|
20793
20793
|
dynamic: {
|
|
20794
20794
|
set: function() {
|
|
20795
20795
|
console.warn("THREE.Uniform: .dynamic has been removed. Use object.onBeforeRender() instead.");
|
|
@@ -20985,7 +20985,7 @@ Object.defineProperties(Dw.prototype, {
|
|
|
20985
20985
|
return console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."), !1;
|
|
20986
20986
|
},
|
|
20987
20987
|
set: function(e) {
|
|
20988
|
-
console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."), this.outputEncoding = e === !0 ?
|
|
20988
|
+
console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."), this.outputEncoding = e === !0 ? Id : $n;
|
|
20989
20989
|
}
|
|
20990
20990
|
}
|
|
20991
20991
|
});
|
|
@@ -21101,7 +21101,7 @@ Object.defineProperties(Mc.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 Mm();
|
|
21105
21105
|
return t.load(e, function(i) {
|
|
21106
21106
|
n.setBuffer(i);
|
|
21107
21107
|
}), this;
|
|
@@ -21122,14 +21122,14 @@ Kl.prototype.updateCubeMap = function(e, n) {
|
|
|
21122
21122
|
Ws.crossOrigin = void 0;
|
|
21123
21123
|
Ws.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 lm();
|
|
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
|
Ws.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 am();
|
|
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 qf(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 Ic = (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
|
+
}, Kf = /* @__PURE__ */ new Map();
|
|
21290
21290
|
class hT extends tx {
|
|
21291
21291
|
constructor(t) {
|
|
21292
21292
|
super(t);
|
|
@@ -21295,10 +21295,10 @@ class hT extends tx {
|
|
|
21295
21295
|
get fromType() {
|
|
21296
21296
|
var r, s;
|
|
21297
21297
|
const t = this.workCode;
|
|
21298
|
-
if (
|
|
21299
|
-
return
|
|
21298
|
+
if (Kf.has(t))
|
|
21299
|
+
return Kf.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 Kf.set(t, i), i;
|
|
21302
21302
|
}
|
|
21303
21303
|
/**
|
|
21304
21304
|
* @description 设置插件当前的 workCode
|
|
@@ -21355,7 +21355,7 @@ class hT extends tx {
|
|
|
21355
21355
|
return (i = this.observers) == null ? void 0 : i[t];
|
|
21356
21356
|
}
|
|
21357
21357
|
}
|
|
21358
|
-
class
|
|
21358
|
+
class Ld extends tx {
|
|
21359
21359
|
constructor(t) {
|
|
21360
21360
|
super(t);
|
|
21361
21361
|
v(this, "workUtil", new hT(this.five));
|
|
@@ -21379,6 +21379,20 @@ class Dd extends tx {
|
|
|
21379
21379
|
}
|
|
21380
21380
|
const ss = new C.Raycaster();
|
|
21381
21381
|
ss.params.Points.threshold = 0.02;
|
|
21382
|
+
function nd(e, n) {
|
|
21383
|
+
if (!n || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
21384
|
+
return {
|
|
21385
|
+
observe: () => window.addEventListener("resize", e),
|
|
21386
|
+
unobserve: () => window.removeEventListener("resize", e)
|
|
21387
|
+
};
|
|
21388
|
+
{
|
|
21389
|
+
const t = new ResizeObserver(e);
|
|
21390
|
+
return {
|
|
21391
|
+
observe: () => t.observe(n),
|
|
21392
|
+
unobserve: () => t.unobserve(n)
|
|
21393
|
+
};
|
|
21394
|
+
}
|
|
21395
|
+
}
|
|
21382
21396
|
const ny = "LightTagContainer_shgjakdhwakjdhsja", uT = new C.Vector2();
|
|
21383
21397
|
class Sc {
|
|
21384
21398
|
constructor(n, t, i) {
|
|
@@ -21404,6 +21418,7 @@ class Sc {
|
|
|
21404
21418
|
v(this, "disposer");
|
|
21405
21419
|
v(this, "config");
|
|
21406
21420
|
v(this, "fiveUtil");
|
|
21421
|
+
v(this, "disposers", []);
|
|
21407
21422
|
v(this, "onCameraUpdate", () => {
|
|
21408
21423
|
this.visible !== !1 && this.updateScreenPosition();
|
|
21409
21424
|
});
|
|
@@ -21417,10 +21432,10 @@ class Sc {
|
|
|
21417
21432
|
}
|
|
21418
21433
|
});
|
|
21419
21434
|
var r, s, o;
|
|
21420
|
-
this.five = n, this.fiveUtil = (r = n.__fiveUtil__) != null ? r : n.__fiveUtil__ = new
|
|
21435
|
+
this.five = n, this.fiveUtil = (r = n.__fiveUtil__) != null ? r : n.__fiveUtil__ = new Ld(n), this.originPosition = t ? Ft(t).clone() : void 0, this.transformedPosition = (s = this.originPosition) == null ? void 0 : s.clone(), this.positionsForRotate = (o = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : o.map((a) => Ft(a).clone()), this.container = (() => {
|
|
21421
21436
|
const a = document.createElement("div");
|
|
21422
21437
|
return a.style.width = "0", a.style.height = "0", a.style.position = "absolute", a.style.transition = "opacity 0.2s linear", a;
|
|
21423
|
-
})(), this.config = i != null ? i : {}, this.enable(), this.show();
|
|
21438
|
+
})(), this.config = i != null ? i : {}, this.enable(), this.show(), this.addResizeListener();
|
|
21424
21439
|
}
|
|
21425
21440
|
show() {
|
|
21426
21441
|
this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.onCameraUpdate();
|
|
@@ -21451,7 +21466,7 @@ class Sc {
|
|
|
21451
21466
|
this.enabled && (this.enabled = !1, this.tagWrapper.removeChild(this.container), (n = this.disposer) == null || n.call(this));
|
|
21452
21467
|
}
|
|
21453
21468
|
destroy() {
|
|
21454
|
-
this.disable(), this.container.remove();
|
|
21469
|
+
this.disable(), this.container.remove(), this.disposers.forEach((n) => n());
|
|
21455
21470
|
}
|
|
21456
21471
|
setTransformMatrix(n) {
|
|
21457
21472
|
var t;
|
|
@@ -21465,7 +21480,7 @@ class Sc {
|
|
|
21465
21480
|
this.container.style.left = "-100%", this.container.style.top = "-100%";
|
|
21466
21481
|
return;
|
|
21467
21482
|
}
|
|
21468
|
-
const n = this.five.renderer.getSize(uT), t =
|
|
21483
|
+
const n = this.five.renderer.getSize(uT), t = qf(this.five.camera, this.transformedPosition, n);
|
|
21469
21484
|
if (!t) {
|
|
21470
21485
|
this.container.style.left = "-100%", this.container.style.top = "-100%";
|
|
21471
21486
|
return;
|
|
@@ -21478,7 +21493,7 @@ class Sc {
|
|
|
21478
21493
|
})(), r = (() => {
|
|
21479
21494
|
if (this.positionsForRotate === void 0 || this.positionsForRotate.length !== 2)
|
|
21480
21495
|
return 0;
|
|
21481
|
-
const [s, o] = this.positionsForRotate, a =
|
|
21496
|
+
const [s, o] = this.positionsForRotate, a = qf(this.five.camera, s, n), l = qf(this.five.camera, o, n);
|
|
21482
21497
|
if (!a || !l)
|
|
21483
21498
|
return 0;
|
|
21484
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;
|
|
@@ -21486,6 +21501,13 @@ class Sc {
|
|
|
21486
21501
|
})();
|
|
21487
21502
|
this.container.style.left = t.leftPx + "px", this.container.style.top = t.topPx + "px", this.container.style.transformOrigin = "center", this.container.style.transform = `scale(${i})`, r && (this.container.style.transform += ` rotate(${r}deg)`);
|
|
21488
21503
|
}
|
|
21504
|
+
addResizeListener() {
|
|
21505
|
+
const n = this.five.getElement();
|
|
21506
|
+
if (n) {
|
|
21507
|
+
const { observe: t, unobserve: i } = nd(this.onCameraUpdate, n);
|
|
21508
|
+
t(), this.disposers.push(i);
|
|
21509
|
+
}
|
|
21510
|
+
}
|
|
21489
21511
|
}
|
|
21490
21512
|
function dT(e, n, t) {
|
|
21491
21513
|
return new Sc(e, n, t);
|
|
@@ -21530,7 +21552,7 @@ function nx(e) {
|
|
|
21530
21552
|
function zr(e) {
|
|
21531
21553
|
return arguments.length === 0 ? [] : Array.isArray(e) ? e : [e];
|
|
21532
21554
|
}
|
|
21533
|
-
function
|
|
21555
|
+
function id(e, n) {
|
|
21534
21556
|
const i = zr(n).map((r) => e.localToWorld(r.clone()));
|
|
21535
21557
|
return Array.isArray(n) ? i : i[0];
|
|
21536
21558
|
}
|
|
@@ -21634,7 +21656,7 @@ class Oi extends ti {
|
|
|
21634
21656
|
updateMatrixWorld(t) {
|
|
21635
21657
|
var i;
|
|
21636
21658
|
if (super.updateMatrixWorld(t), this.points) {
|
|
21637
|
-
const r = (i =
|
|
21659
|
+
const r = (i = id(this, this.points)) == null ? void 0 : i.map((s) => s.toArray().join(",")).join(",");
|
|
21638
21660
|
r !== this.lastRenderLengthItem && (this.updateLengthItems(), this.lastRenderLengthItem = r);
|
|
21639
21661
|
}
|
|
21640
21662
|
}
|
|
@@ -21677,7 +21699,7 @@ class Oi extends ti {
|
|
|
21677
21699
|
const i = this.points.map((r, s) => {
|
|
21678
21700
|
if (s !== 0)
|
|
21679
21701
|
return [this.points[s - 1], r];
|
|
21680
|
-
}).filter(At).map((r) =>
|
|
21702
|
+
}).filter(At).map((r) => id(this, r));
|
|
21681
21703
|
i.forEach(([r, s], o) => {
|
|
21682
21704
|
var c;
|
|
21683
21705
|
const a = lr(r, s);
|
|
@@ -21896,16 +21918,16 @@ class sx extends bE {
|
|
|
21896
21918
|
super(n, t);
|
|
21897
21919
|
}
|
|
21898
21920
|
}
|
|
21899
|
-
const
|
|
21921
|
+
const $f = new C.Vector3();
|
|
21900
21922
|
class MT extends C.Sphere {
|
|
21901
21923
|
expandByPoint(n) {
|
|
21902
21924
|
if (this.isEmpty())
|
|
21903
21925
|
return this.center.copy(n), this.radius = 0, this;
|
|
21904
|
-
|
|
21905
|
-
const t =
|
|
21926
|
+
$f.subVectors(n, this.center);
|
|
21927
|
+
const t = $f.lengthSq();
|
|
21906
21928
|
if (t > this.radius * this.radius) {
|
|
21907
21929
|
const i = Math.sqrt(t), r = (i - this.radius) * 0.5;
|
|
21908
|
-
this.center.addScaledVector(
|
|
21930
|
+
this.center.addScaledVector($f, r / i), this.radius += r;
|
|
21909
21931
|
}
|
|
21910
21932
|
return this;
|
|
21911
21933
|
}
|
|
@@ -21951,12 +21973,12 @@ function ox(e) {
|
|
|
21951
21973
|
return yg(e, "sphere");
|
|
21952
21974
|
}
|
|
21953
21975
|
function CT(e) {
|
|
21954
|
-
return
|
|
21976
|
+
return kd(e, "box3");
|
|
21955
21977
|
}
|
|
21956
21978
|
function ax(e) {
|
|
21957
|
-
return
|
|
21979
|
+
return kd(e, "sphere");
|
|
21958
21980
|
}
|
|
21959
|
-
function
|
|
21981
|
+
function kd(e, n) {
|
|
21960
21982
|
const t = n === "box3" ? new C.Box3() : new MT(), i = new C.Vector3();
|
|
21961
21983
|
if (e.updateWorldMatrix(!1, !1), e.traverse((r) => {
|
|
21962
21984
|
var o;
|
|
@@ -21978,7 +22000,7 @@ function Ld(e, n) {
|
|
|
21978
22000
|
return t;
|
|
21979
22001
|
}
|
|
21980
22002
|
function yg(e, n) {
|
|
21981
|
-
const t =
|
|
22003
|
+
const t = kd(e, n);
|
|
21982
22004
|
return t && t.applyMatrix4(PT(e.matrixWorld.clone())), t;
|
|
21983
22005
|
}
|
|
21984
22006
|
const PT = (e) => {
|
|
@@ -22016,7 +22038,7 @@ function oy(e) {
|
|
|
22016
22038
|
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));
|
|
22017
22039
|
});
|
|
22018
22040
|
}
|
|
22019
|
-
function
|
|
22041
|
+
function Rd(e, n) {
|
|
22020
22042
|
var a;
|
|
22021
22043
|
const t = (a = n == null ? void 0 : n.traverseTHREEObject) != null ? a : !0;
|
|
22022
22044
|
let i = zr(e);
|
|
@@ -22060,7 +22082,7 @@ function kd(e, n) {
|
|
|
22060
22082
|
}), s;
|
|
22061
22083
|
}
|
|
22062
22084
|
function lx(e, n) {
|
|
22063
|
-
return
|
|
22085
|
+
return Rd(e, R({
|
|
22064
22086
|
update: (t) => {
|
|
22065
22087
|
var i;
|
|
22066
22088
|
t.animatables.forEach((r) => {
|
|
@@ -22073,9 +22095,9 @@ function lx(e, n) {
|
|
|
22073
22095
|
}
|
|
22074
22096
|
}, n));
|
|
22075
22097
|
}
|
|
22076
|
-
const
|
|
22098
|
+
const ep = Math.PI * 2;
|
|
22077
22099
|
function IT(e) {
|
|
22078
|
-
return (e %
|
|
22100
|
+
return (e % ep + ep) % ep;
|
|
22079
22101
|
}
|
|
22080
22102
|
function Hc(e) {
|
|
22081
22103
|
return {
|
|
@@ -22097,7 +22119,7 @@ function ST(e, n, t) {
|
|
|
22097
22119
|
const i = ax(n);
|
|
22098
22120
|
if (!i)
|
|
22099
22121
|
return;
|
|
22100
|
-
const r = new
|
|
22122
|
+
const r = new Ld(e), s = (b = t == null ? void 0 : t.scale) != null ? b : 1.4, o = i.center, a = e.camera.position.clone().sub(o).setY(0).normalize(), l = e.state.mode === "Mapview" ? e.state.fov : 60, h = Math.max(1.5, i.radius * s), u = h * (1 / Math.tan(C.MathUtils.degToRad(l / 2)));
|
|
22101
22123
|
let d = 0;
|
|
22102
22124
|
const f = [], m = (x) => {
|
|
22103
22125
|
const M = C.MathUtils.degToRad(x);
|
|
@@ -22136,7 +22158,7 @@ function cx(e, n, t) {
|
|
|
22136
22158
|
var p, g;
|
|
22137
22159
|
if (!n)
|
|
22138
22160
|
return;
|
|
22139
|
-
const i = (p = t == null ? void 0 : t.distance) != null ? p : 3, r = new
|
|
22161
|
+
const i = (p = t == null ? void 0 : t.distance) != null ? p : 3, r = new Ld(e), s = e.camera.position.clone().sub(n).setY(0).normalize(), o = e.state.mode === "Mapview" ? e.state.fov : 60, a = i, l = a * Math.cos(C.MathUtils.degToRad(o / 2)), c = a * Math.sin(C.MathUtils.degToRad(o / 2));
|
|
22140
22162
|
let h = 0;
|
|
22141
22163
|
const u = [], d = (y) => {
|
|
22142
22164
|
const b = C.MathUtils.degToRad(y);
|
|
@@ -22177,7 +22199,7 @@ function hx(e) {
|
|
|
22177
22199
|
function bg(e, n) {
|
|
22178
22200
|
return hx(n) ? n : `${e}${n}`;
|
|
22179
22201
|
}
|
|
22180
|
-
class Ca extends
|
|
22202
|
+
class Ca extends Ed {
|
|
22181
22203
|
constructor() {
|
|
22182
22204
|
super(...arguments);
|
|
22183
22205
|
v(this, "disposeMethods", []);
|
|
@@ -22230,10 +22252,10 @@ function kT() {
|
|
|
22230
22252
|
});
|
|
22231
22253
|
});
|
|
22232
22254
|
}
|
|
22233
|
-
function
|
|
22255
|
+
function rd(e) {
|
|
22234
22256
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
22235
22257
|
}
|
|
22236
|
-
function
|
|
22258
|
+
function Od(e, n) {
|
|
22237
22259
|
return e === n ? !0 : typeof e != typeof n ? !1 : !!(Number.isNaN(e) && Number.isNaN(n));
|
|
22238
22260
|
}
|
|
22239
22261
|
function RT(e, n) {
|
|
@@ -22242,7 +22264,7 @@ function RT(e, n) {
|
|
|
22242
22264
|
return !1;
|
|
22243
22265
|
for (let r = 0, s = t.length; r < s; r++) {
|
|
22244
22266
|
const o = t[r];
|
|
22245
|
-
if (!
|
|
22267
|
+
if (!Od(e[o], n[o]))
|
|
22246
22268
|
return !1;
|
|
22247
22269
|
}
|
|
22248
22270
|
return !0;
|
|
@@ -22251,15 +22273,15 @@ function OT(e, n) {
|
|
|
22251
22273
|
if (e.length !== n.length)
|
|
22252
22274
|
return !1;
|
|
22253
22275
|
for (let t = 0, i = e.length; t < i; t++)
|
|
22254
|
-
if (!
|
|
22276
|
+
if (!Od(e[t], n[t]))
|
|
22255
22277
|
return !1;
|
|
22256
22278
|
return !0;
|
|
22257
22279
|
}
|
|
22258
22280
|
function zT(e, n) {
|
|
22259
|
-
return
|
|
22281
|
+
return Od(e, n) ? !0 : rd(e) && rd(n) ? RT(e, n) : Array.isArray(e) && Array.isArray(n) ? OT(e, n) : !1;
|
|
22260
22282
|
}
|
|
22261
22283
|
function Ag(e, n) {
|
|
22262
|
-
return
|
|
22284
|
+
return Od(e, n) ? !0 : rd(e) && rd(n) ? NT(e, n) : Array.isArray(e) && Array.isArray(n) ? BT(e, n) : !1;
|
|
22263
22285
|
}
|
|
22264
22286
|
function BT(e, n) {
|
|
22265
22287
|
if (e.length !== n.length)
|
|
@@ -22286,7 +22308,7 @@ function Nn(e, n, t = { deep: !1 }) {
|
|
|
22286
22308
|
const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22287
22309
|
__proto__: null,
|
|
22288
22310
|
BetterTween: Ca,
|
|
22289
|
-
Interval:
|
|
22311
|
+
Interval: Lp,
|
|
22290
22312
|
LineSegments: sx,
|
|
22291
22313
|
Magnifier: tg,
|
|
22292
22314
|
Object3D: rx,
|
|
@@ -22296,7 +22318,7 @@ const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
22296
22318
|
absoluteUrl: bg,
|
|
22297
22319
|
animeMap: Pl,
|
|
22298
22320
|
awaitNextFrame: LT,
|
|
22299
|
-
blink:
|
|
22321
|
+
blink: Rd,
|
|
22300
22322
|
bounding: yg,
|
|
22301
22323
|
boundingBox: Ua,
|
|
22302
22324
|
boundingSphere: ox,
|
|
@@ -22322,11 +22344,11 @@ const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
22322
22344
|
requestAnimationFrameInterval: Wa,
|
|
22323
22345
|
tweenProgress: Tc,
|
|
22324
22346
|
uuid: wn,
|
|
22325
|
-
worldBounding:
|
|
22347
|
+
worldBounding: kd,
|
|
22326
22348
|
worldBoundingBox: CT,
|
|
22327
22349
|
worldBoundingSphere: ax
|
|
22328
22350
|
}, Symbol.toStringTag, { value: "Module" })), ux = 1, ay = `CSS3DObjectPlus@${ux}`, FT = 216e-5, VT = 3e-3;
|
|
22329
|
-
class dx extends
|
|
22351
|
+
class dx extends Sp {
|
|
22330
22352
|
constructor(t) {
|
|
22331
22353
|
var x, M, P, I, T;
|
|
22332
22354
|
if (kr(t.cornerPoints) && kr(t.width))
|
|
@@ -22513,15 +22535,15 @@ class UT extends fx {
|
|
|
22513
22535
|
}), super.add(...t), this;
|
|
22514
22536
|
}
|
|
22515
22537
|
}
|
|
22516
|
-
const WT = 3,
|
|
22538
|
+
const WT = 3, Sm = "CSS3DRenderer", _l = `${Sm}@${WT}`, So = () => {
|
|
22517
22539
|
console.error(`${_l} is disposed`);
|
|
22518
22540
|
}, pn = {
|
|
22519
22541
|
css3DObjects: [],
|
|
22520
22542
|
frontModeStore: {
|
|
22521
|
-
css3DRenderer: new
|
|
22543
|
+
css3DRenderer: new Dp()
|
|
22522
22544
|
},
|
|
22523
22545
|
behindModeStore: {
|
|
22524
|
-
css3DRenderer: new
|
|
22546
|
+
css3DRenderer: new Dp()
|
|
22525
22547
|
}
|
|
22526
22548
|
};
|
|
22527
22549
|
function ly(e) {
|
|
@@ -22637,7 +22659,7 @@ class Dc {
|
|
|
22637
22659
|
});
|
|
22638
22660
|
v(this, "createObject", (n, t) => {
|
|
22639
22661
|
const i = new dx(Me(R({ cornerPoints: n }, t), { style: t.wrapperStyle }));
|
|
22640
|
-
return i.element.classList.add(`${
|
|
22662
|
+
return i.element.classList.add(`${Sm}__container`), i.element.id = `${Sm}__container--${i.uuid}`, i;
|
|
22641
22663
|
});
|
|
22642
22664
|
n && this.setScene(n);
|
|
22643
22665
|
}
|
|
@@ -22769,9 +22791,9 @@ class Dc {
|
|
|
22769
22791
|
handleDisable() {
|
|
22770
22792
|
var n, t, i;
|
|
22771
22793
|
this.store.frontModeGroup.children.forEach((r) => {
|
|
22772
|
-
r instanceof
|
|
22794
|
+
r instanceof Sp && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
22773
22795
|
}), (n = this.store.behindModeGroup) == null || n.children.forEach((r) => {
|
|
22774
|
-
r instanceof
|
|
22796
|
+
r instanceof Sp && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
22775
22797
|
}), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((i = this.getBehindCSS3DScene()) == null || i.remove(this.store.behindModeGroup));
|
|
22776
22798
|
}
|
|
22777
22799
|
handleDispose() {
|
|
@@ -22789,14 +22811,14 @@ Si.style.height = "100%";
|
|
|
22789
22811
|
Si.style.pointerEvents = "none";
|
|
22790
22812
|
function px(e) {
|
|
22791
22813
|
var i, r, s, o, a;
|
|
22792
|
-
const n = (a = (r =
|
|
22814
|
+
const n = (a = (r = tp(e.getElement())) != null ? r : tp((i = e.getElement()) == null ? void 0 : i.parentElement)) != null ? a : tp((o = (s = e.getElement()) == null ? void 0 : s.parentElement) == null ? void 0 : o.parentElement), t = n == null ? void 0 : n.parentElement;
|
|
22793
22815
|
if (t)
|
|
22794
22816
|
return t.contains(Si) || n.parentElement.insertBefore(Si, n), Si;
|
|
22795
22817
|
console.error(
|
|
22796
22818
|
"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"
|
|
22797
22819
|
);
|
|
22798
22820
|
}
|
|
22799
|
-
function
|
|
22821
|
+
function tp(e) {
|
|
22800
22822
|
var a;
|
|
22801
22823
|
if (!e)
|
|
22802
22824
|
return;
|
|
@@ -22938,8 +22960,8 @@ let ZT = class extends Dc {
|
|
|
22938
22960
|
}), this.created3DElementResults = [];
|
|
22939
22961
|
}
|
|
22940
22962
|
};
|
|
22941
|
-
const
|
|
22942
|
-
function
|
|
22963
|
+
const zd = (e) => new ZT(e);
|
|
22964
|
+
function np(e, n, t = new Se(1, 1, 1), i = !1) {
|
|
22943
22965
|
const r = new rw(e, n);
|
|
22944
22966
|
return r.setMaterial({ dashed: i, color: t, linewidth: 1 }), r.remove(r.points), r;
|
|
22945
22967
|
}
|
|
@@ -22960,17 +22982,17 @@ const N6 = (e) => {
|
|
|
22960
22982
|
const r = (h, u = 2, d = 0.1) => {
|
|
22961
22983
|
const f = u / 2, p = c(h, d), g = new Zo();
|
|
22962
22984
|
g.add(
|
|
22963
|
-
|
|
22985
|
+
np(
|
|
22964
22986
|
new Se(p.x + f, p.y, p.z),
|
|
22965
22987
|
new Se(p.x - f, p.y, p.z),
|
|
22966
22988
|
new Se(1, 0, 0)
|
|
22967
22989
|
),
|
|
22968
|
-
|
|
22990
|
+
np(
|
|
22969
22991
|
new Se(p.x, p.y + f, p.z),
|
|
22970
22992
|
new Se(p.x, p.y - f, p.z),
|
|
22971
22993
|
new Se(0, 1, 0)
|
|
22972
22994
|
),
|
|
22973
|
-
|
|
22995
|
+
np(
|
|
22974
22996
|
new Se(p.x, p.y, p.z + f),
|
|
22975
22997
|
new Se(p.x, p.y, p.z - f),
|
|
22976
22998
|
new Se(0, 0, 1)
|
|
@@ -23198,7 +23220,7 @@ function wx(e, n, { bubbles: t = !1, cancelable: i = !1 } = {}) {
|
|
|
23198
23220
|
const r = document.createEvent("CustomEvent");
|
|
23199
23221
|
return r.initCustomEvent(e, t, i, n), r;
|
|
23200
23222
|
}
|
|
23201
|
-
class
|
|
23223
|
+
class sd {
|
|
23202
23224
|
constructor(n = !1) {
|
|
23203
23225
|
this.is_svg = !1, this.is_svg = n, this.e = this.n = null;
|
|
23204
23226
|
}
|
|
@@ -23222,8 +23244,8 @@ class rd {
|
|
|
23222
23244
|
this.n.forEach(Y);
|
|
23223
23245
|
}
|
|
23224
23246
|
}
|
|
23225
|
-
const
|
|
23226
|
-
let
|
|
23247
|
+
const od = /* @__PURE__ */ new Map();
|
|
23248
|
+
let ad = 0;
|
|
23227
23249
|
function nD(e) {
|
|
23228
23250
|
let n = 5381, t = e.length;
|
|
23229
23251
|
for (; t--; )
|
|
@@ -23232,9 +23254,9 @@ function nD(e) {
|
|
|
23232
23254
|
}
|
|
23233
23255
|
function iD(e, n) {
|
|
23234
23256
|
const t = { stylesheet: KT(n), rules: {} };
|
|
23235
|
-
return
|
|
23257
|
+
return od.set(e, t), t;
|
|
23236
23258
|
}
|
|
23237
|
-
function
|
|
23259
|
+
function ld(e, n, t, i, r, s, o, a = 0) {
|
|
23238
23260
|
const l = 16.666 / i;
|
|
23239
23261
|
let c = `{
|
|
23240
23262
|
`;
|
|
@@ -23244,24 +23266,24 @@ function ad(e, n, t, i, r, s, o, a = 0) {
|
|
|
23244
23266
|
`;
|
|
23245
23267
|
}
|
|
23246
23268
|
const h = c + `100% {${o(t, 1 - t)}}
|
|
23247
|
-
}`, u = `__svelte_${nD(h)}_${a}`, d = Eg(e), { stylesheet: f, rules: m } =
|
|
23269
|
+
}`, u = `__svelte_${nD(h)}_${a}`, d = Eg(e), { stylesheet: f, rules: m } = od.get(d) || iD(d, e);
|
|
23248
23270
|
m[u] || (m[u] = !0, f.insertRule(`@keyframes ${u} ${h}`, f.cssRules.length));
|
|
23249
23271
|
const p = e.style.animation || "";
|
|
23250
|
-
return e.style.animation = `${p ? `${p}, ` : ""}${u} ${i}ms linear ${r}ms 1 both`,
|
|
23272
|
+
return e.style.animation = `${p ? `${p}, ` : ""}${u} ${i}ms linear ${r}ms 1 both`, ad += 1, u;
|
|
23251
23273
|
}
|
|
23252
|
-
function
|
|
23274
|
+
function cd(e, n) {
|
|
23253
23275
|
const t = (e.style.animation || "").split(", "), i = t.filter(
|
|
23254
23276
|
n ? (s) => s.indexOf(n) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
23255
23277
|
// remove all Svelte animations
|
|
23256
23278
|
), r = t.length - i.length;
|
|
23257
|
-
r && (e.style.animation = i.join(", "),
|
|
23279
|
+
r && (e.style.animation = i.join(", "), ad -= r, ad || rD());
|
|
23258
23280
|
}
|
|
23259
23281
|
function rD() {
|
|
23260
23282
|
xg(() => {
|
|
23261
|
-
|
|
23283
|
+
ad || (od.forEach((e) => {
|
|
23262
23284
|
const { ownerNode: n } = e.stylesheet;
|
|
23263
23285
|
n && Y(n);
|
|
23264
|
-
}),
|
|
23286
|
+
}), od.clear());
|
|
23265
23287
|
});
|
|
23266
23288
|
}
|
|
23267
23289
|
let Lc;
|
|
@@ -23285,7 +23307,7 @@ function Mx(e) {
|
|
|
23285
23307
|
function Ai(e) {
|
|
23286
23308
|
vs().$$.on_destroy.push(e);
|
|
23287
23309
|
}
|
|
23288
|
-
function
|
|
23310
|
+
function Bd() {
|
|
23289
23311
|
const e = vs();
|
|
23290
23312
|
return (n, t, { cancelable: i = !1 } = {}) => {
|
|
23291
23313
|
const r = e.$$.callbacks[n];
|
|
@@ -23298,7 +23320,7 @@ function zd() {
|
|
|
23298
23320
|
return !0;
|
|
23299
23321
|
};
|
|
23300
23322
|
}
|
|
23301
|
-
function
|
|
23323
|
+
function Tm(e, n) {
|
|
23302
23324
|
return vs().$$.context.set(e, n), n;
|
|
23303
23325
|
}
|
|
23304
23326
|
function fs(e) {
|
|
@@ -23310,10 +23332,10 @@ function qa(e, n) {
|
|
|
23310
23332
|
}
|
|
23311
23333
|
const Bo = [], Qt = [];
|
|
23312
23334
|
let ea = [];
|
|
23313
|
-
const
|
|
23314
|
-
let
|
|
23335
|
+
const Dm = [], Ex = /* @__PURE__ */ Promise.resolve();
|
|
23336
|
+
let Lm = !1;
|
|
23315
23337
|
function Cx() {
|
|
23316
|
-
|
|
23338
|
+
Lm || (Lm = !0, Ex.then(_g));
|
|
23317
23339
|
}
|
|
23318
23340
|
function dy() {
|
|
23319
23341
|
return Cx(), Ex;
|
|
@@ -23322,9 +23344,9 @@ function sn(e) {
|
|
|
23322
23344
|
ea.push(e);
|
|
23323
23345
|
}
|
|
23324
23346
|
function Pg(e) {
|
|
23325
|
-
|
|
23347
|
+
Dm.push(e);
|
|
23326
23348
|
}
|
|
23327
|
-
const
|
|
23349
|
+
const ip = /* @__PURE__ */ new Set();
|
|
23328
23350
|
let To = 0;
|
|
23329
23351
|
function _g() {
|
|
23330
23352
|
if (To !== 0)
|
|
@@ -23343,13 +23365,13 @@ function _g() {
|
|
|
23343
23365
|
Qt.pop()();
|
|
23344
23366
|
for (let n = 0; n < ea.length; n += 1) {
|
|
23345
23367
|
const t = ea[n];
|
|
23346
|
-
|
|
23368
|
+
ip.has(t) || (ip.add(t), t());
|
|
23347
23369
|
}
|
|
23348
23370
|
ea.length = 0;
|
|
23349
23371
|
} while (Bo.length);
|
|
23350
|
-
for (;
|
|
23351
|
-
|
|
23352
|
-
|
|
23372
|
+
for (; Dm.length; )
|
|
23373
|
+
Dm.pop()();
|
|
23374
|
+
Lm = !1, ip.clear(), Pr(e);
|
|
23353
23375
|
}
|
|
23354
23376
|
function sD(e) {
|
|
23355
23377
|
if (e.fragment !== null) {
|
|
@@ -23402,11 +23424,11 @@ function ys(e, n, t) {
|
|
|
23402
23424
|
const i = { direction: "in" };
|
|
23403
23425
|
let r = n(e, t, i), s = !1, o, a, l = 0;
|
|
23404
23426
|
function c() {
|
|
23405
|
-
o &&
|
|
23427
|
+
o && cd(e, o);
|
|
23406
23428
|
}
|
|
23407
23429
|
function h() {
|
|
23408
23430
|
const { delay: d = 0, duration: f = 300, easing: m = Rr, tick: p = ue, css: g } = r || Sg;
|
|
23409
|
-
g && (o =
|
|
23431
|
+
g && (o = ld(e, 0, 1, f, d, m, g, l++)), p(0, 1);
|
|
23410
23432
|
const y = wg() + d, b = y + f;
|
|
23411
23433
|
a && a.abort(), s = !0, sn(() => Vs(e, !0, "start")), a = Mg((A) => {
|
|
23412
23434
|
if (s) {
|
|
@@ -23423,7 +23445,7 @@ function ys(e, n, t) {
|
|
|
23423
23445
|
let u = !1;
|
|
23424
23446
|
return {
|
|
23425
23447
|
start() {
|
|
23426
|
-
u || (u = !0,
|
|
23448
|
+
u || (u = !0, cd(e), hr(r) ? (r = r(i), Ig().then(h)) : h());
|
|
23427
23449
|
},
|
|
23428
23450
|
invalidate() {
|
|
23429
23451
|
u = !1;
|
|
@@ -23440,7 +23462,7 @@ function Ka(e, n, t) {
|
|
|
23440
23462
|
a.r += 1;
|
|
23441
23463
|
function l() {
|
|
23442
23464
|
const { delay: c = 0, duration: h = 300, easing: u = Rr, tick: d = ue, css: f } = r || Sg;
|
|
23443
|
-
f && (o =
|
|
23465
|
+
f && (o = ld(e, 1, 0, h, c, u, f));
|
|
23444
23466
|
const m = wg() + c, p = m + h;
|
|
23445
23467
|
sn(() => Vs(e, !1, "start")), Mg((g) => {
|
|
23446
23468
|
if (s) {
|
|
@@ -23458,7 +23480,7 @@ function Ka(e, n, t) {
|
|
|
23458
23480
|
r = r(i), l();
|
|
23459
23481
|
}) : l(), {
|
|
23460
23482
|
end(c) {
|
|
23461
|
-
c && r.tick && r.tick(1, 0), s && (o &&
|
|
23483
|
+
c && r.tick && r.tick(1, 0), s && (o && cd(e, o), s = !1);
|
|
23462
23484
|
}
|
|
23463
23485
|
};
|
|
23464
23486
|
}
|
|
@@ -23466,7 +23488,7 @@ function or(e, n, t, i) {
|
|
|
23466
23488
|
const r = { direction: "both" };
|
|
23467
23489
|
let s = n(e, t, r), o = i ? 0 : 1, a = null, l = null, c = null;
|
|
23468
23490
|
function h() {
|
|
23469
|
-
c &&
|
|
23491
|
+
c && cd(e, c);
|
|
23470
23492
|
}
|
|
23471
23493
|
function u(f, m) {
|
|
23472
23494
|
const p = f.b - o;
|
|
@@ -23485,8 +23507,8 @@ function or(e, n, t, i) {
|
|
|
23485
23507
|
start: wg() + m,
|
|
23486
23508
|
b: f
|
|
23487
23509
|
};
|
|
23488
|
-
f || (A.group = Ji, Ji.r += 1), a || l ? l = A : (b && (h(), c =
|
|
23489
|
-
if (l && w > l.start && (a = u(l, p), l = null, Vs(e, a.b, "start"), b && (h(), c =
|
|
23510
|
+
f || (A.group = Ji, Ji.r += 1), a || l ? l = A : (b && (h(), c = ld(e, o, f, p, m, g, b)), f && y(0, 1), a = u(A, p), sn(() => Vs(e, f, "start")), Mg((w) => {
|
|
23511
|
+
if (l && w > l.start && (a = u(l, p), l = null, Vs(e, a.b, "start"), b && (h(), c = ld(e, o, a.b, a.duration, 0, g, s.css))), a) {
|
|
23490
23512
|
if (w >= a.end)
|
|
23491
23513
|
y(o = a.b, 1 - o), Vs(e, a.b, "end"), l || (a.b ? h() : --a.group.r || vn(a.group.c)), a = null;
|
|
23492
23514
|
else if (w >= a.start) {
|
|
@@ -23508,7 +23530,7 @@ function or(e, n, t, i) {
|
|
|
23508
23530
|
}
|
|
23509
23531
|
};
|
|
23510
23532
|
}
|
|
23511
|
-
function
|
|
23533
|
+
function hd(e, n) {
|
|
23512
23534
|
const t = n.token = {};
|
|
23513
23535
|
function i(r, s, o, a) {
|
|
23514
23536
|
if (n.token !== t)
|
|
@@ -23819,10 +23841,10 @@ var Ix = function() {
|
|
|
23819
23841
|
}, n;
|
|
23820
23842
|
}()
|
|
23821
23843
|
);
|
|
23822
|
-
}(),
|
|
23844
|
+
}(), km = typeof window != "undefined" && typeof document != "undefined" && window.document === document, ud = function() {
|
|
23823
23845
|
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")();
|
|
23824
23846
|
}(), pD = function() {
|
|
23825
|
-
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(
|
|
23847
|
+
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(ud) : function(e) {
|
|
23826
23848
|
return setTimeout(function() {
|
|
23827
23849
|
return e(Date.now());
|
|
23828
23850
|
}, 1e3 / 60);
|
|
@@ -23870,14 +23892,14 @@ var vD = 20, yD = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
23870
23892
|
return t.broadcastActive();
|
|
23871
23893
|
}), n.length > 0;
|
|
23872
23894
|
}, e.prototype.connect_ = function() {
|
|
23873
|
-
!
|
|
23895
|
+
!km || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), bD ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
23874
23896
|
attributes: !0,
|
|
23875
23897
|
childList: !0,
|
|
23876
23898
|
characterData: !0,
|
|
23877
23899
|
subtree: !0
|
|
23878
23900
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
23879
23901
|
}, e.prototype.disconnect_ = function() {
|
|
23880
|
-
!
|
|
23902
|
+
!km || !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);
|
|
23881
23903
|
}, e.prototype.onTransitionEnd_ = function(n) {
|
|
23882
23904
|
var t = n.propertyName, i = t === void 0 ? "" : t, r = yD.some(function(s) {
|
|
23883
23905
|
return !!~i.indexOf(s);
|
|
@@ -23900,9 +23922,9 @@ var vD = 20, yD = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
23900
23922
|
return e;
|
|
23901
23923
|
}, Ia = function(e) {
|
|
23902
23924
|
var n = e && e.ownerDocument && e.ownerDocument.defaultView;
|
|
23903
|
-
return n ||
|
|
23904
|
-
}, Tx =
|
|
23905
|
-
function
|
|
23925
|
+
return n || ud;
|
|
23926
|
+
}, Tx = Nd(0, 0, 0, 0);
|
|
23927
|
+
function dd(e) {
|
|
23906
23928
|
return parseFloat(e) || 0;
|
|
23907
23929
|
}
|
|
23908
23930
|
function fy(e) {
|
|
@@ -23910,30 +23932,30 @@ function fy(e) {
|
|
|
23910
23932
|
n[t - 1] = arguments[t];
|
|
23911
23933
|
return n.reduce(function(i, r) {
|
|
23912
23934
|
var s = e["border-" + r + "-width"];
|
|
23913
|
-
return i +
|
|
23935
|
+
return i + dd(s);
|
|
23914
23936
|
}, 0);
|
|
23915
23937
|
}
|
|
23916
23938
|
function wD(e) {
|
|
23917
23939
|
for (var n = ["top", "right", "bottom", "left"], t = {}, i = 0, r = n; i < r.length; i++) {
|
|
23918
23940
|
var s = r[i], o = e["padding-" + s];
|
|
23919
|
-
t[s] =
|
|
23941
|
+
t[s] = dd(o);
|
|
23920
23942
|
}
|
|
23921
23943
|
return t;
|
|
23922
23944
|
}
|
|
23923
23945
|
function xD(e) {
|
|
23924
23946
|
var n = e.getBBox();
|
|
23925
|
-
return
|
|
23947
|
+
return Nd(0, 0, n.width, n.height);
|
|
23926
23948
|
}
|
|
23927
23949
|
function MD(e) {
|
|
23928
23950
|
var n = e.clientWidth, t = e.clientHeight;
|
|
23929
23951
|
if (!n && !t)
|
|
23930
23952
|
return Tx;
|
|
23931
|
-
var i = Ia(e).getComputedStyle(e), r = wD(i), s = r.left + r.right, o = r.top + r.bottom, a =
|
|
23953
|
+
var i = Ia(e).getComputedStyle(e), r = wD(i), s = r.left + r.right, o = r.top + r.bottom, a = dd(i.width), l = dd(i.height);
|
|
23932
23954
|
if (i.boxSizing === "border-box" && (Math.round(a + s) !== n && (a -= fy(i, "left", "right") + s), Math.round(l + o) !== t && (l -= fy(i, "top", "bottom") + o)), !CD(e)) {
|
|
23933
23955
|
var c = Math.round(a + s) - n, h = Math.round(l + o) - t;
|
|
23934
23956
|
Math.abs(c) !== 1 && (a -= c), Math.abs(h) !== 1 && (l -= h);
|
|
23935
23957
|
}
|
|
23936
|
-
return
|
|
23958
|
+
return Nd(r.left, r.top, a, l);
|
|
23937
23959
|
}
|
|
23938
23960
|
var ED = function() {
|
|
23939
23961
|
return typeof SVGGraphicsElement != "undefined" ? function(e) {
|
|
@@ -23946,7 +23968,7 @@ function CD(e) {
|
|
|
23946
23968
|
return e === Ia(e).document.documentElement;
|
|
23947
23969
|
}
|
|
23948
23970
|
function PD(e) {
|
|
23949
|
-
return
|
|
23971
|
+
return km ? ED(e) ? xD(e) : MD(e) : Tx;
|
|
23950
23972
|
}
|
|
23951
23973
|
function _D(e) {
|
|
23952
23974
|
var n = e.x, t = e.y, i = e.width, r = e.height, s = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, o = Object.create(s.prototype);
|
|
@@ -23961,14 +23983,14 @@ function _D(e) {
|
|
|
23961
23983
|
left: n
|
|
23962
23984
|
}), o;
|
|
23963
23985
|
}
|
|
23964
|
-
function
|
|
23986
|
+
function Nd(e, n, t, i) {
|
|
23965
23987
|
return { x: e, y: n, width: t, height: i };
|
|
23966
23988
|
}
|
|
23967
23989
|
var ID = (
|
|
23968
23990
|
/** @class */
|
|
23969
23991
|
function() {
|
|
23970
23992
|
function e(n) {
|
|
23971
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ =
|
|
23993
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Nd(0, 0, 0, 0), this.target = n;
|
|
23972
23994
|
}
|
|
23973
23995
|
return e.prototype.isActive = function() {
|
|
23974
23996
|
var n = PD(this.target);
|
|
@@ -24058,7 +24080,7 @@ var ID = (
|
|
|
24058
24080
|
};
|
|
24059
24081
|
});
|
|
24060
24082
|
var DD = function() {
|
|
24061
|
-
return typeof
|
|
24083
|
+
return typeof ud.ResizeObserver != "undefined" ? ud.ResizeObserver : Lx;
|
|
24062
24084
|
}();
|
|
24063
24085
|
function As(e) {
|
|
24064
24086
|
new DD((t, i) => {
|
|
@@ -24377,7 +24399,7 @@ function gy(e, { delay: n = 0, duration: t = 400, easing: i = kx, x: r = 0, y: s
|
|
|
24377
24399
|
opacity: ${l - h * g}`
|
|
24378
24400
|
};
|
|
24379
24401
|
}
|
|
24380
|
-
function
|
|
24402
|
+
function fd(e, { delay: n = 0, speed: t, duration: i, easing: r = Sa } = {}) {
|
|
24381
24403
|
let s = e.getTotalLength();
|
|
24382
24404
|
const o = getComputedStyle(e);
|
|
24383
24405
|
return o.strokeLinecap !== "butt" && (s += parseInt(o.strokeWidth)), i === void 0 ? t === void 0 ? i = 800 : i = s / t : typeof i == "function" && (i = i(s)), {
|
|
@@ -24460,7 +24482,7 @@ function UD(e) {
|
|
|
24460
24482
|
let n, t, i, r;
|
|
24461
24483
|
return {
|
|
24462
24484
|
c() {
|
|
24463
|
-
n = H("div"), t = new
|
|
24485
|
+
n = H("div"), t = new sd(!1), i = ge(), r = new sd(!1), t.a = i, r.a = null, _(n, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
24464
24486
|
},
|
|
24465
24487
|
m(s, o) {
|
|
24466
24488
|
Z(s, n, o), t.m(
|
|
@@ -24633,7 +24655,7 @@ function $D(e) {
|
|
|
24633
24655
|
), i;
|
|
24634
24656
|
return {
|
|
24635
24657
|
c() {
|
|
24636
|
-
n = new
|
|
24658
|
+
n = new sd(!1), i = ft(), n.a = i;
|
|
24637
24659
|
},
|
|
24638
24660
|
m(r, s) {
|
|
24639
24661
|
n.m(t, r, s), Z(r, i, s);
|
|
@@ -25675,7 +25697,7 @@ class gL extends ke {
|
|
|
25675
25697
|
);
|
|
25676
25698
|
}
|
|
25677
25699
|
}
|
|
25678
|
-
function
|
|
25700
|
+
function Fd(e, n = {}) {
|
|
25679
25701
|
let t = "";
|
|
25680
25702
|
const { needZ: i, needA: r } = n;
|
|
25681
25703
|
return (i ? e.slice().concat(e[0]) : e.slice()).forEach((o, a) => {
|
|
@@ -25739,7 +25761,7 @@ function wL(e, n, t) {
|
|
|
25739
25761
|
"path" in s && t(1, r = s.path);
|
|
25740
25762
|
}, e.$$.update = () => {
|
|
25741
25763
|
e.$$.dirty & /*path*/
|
|
25742
|
-
2 && t(0, i =
|
|
25764
|
+
2 && t(0, i = Fd(r, { needZ: !0 }));
|
|
25743
25765
|
}, [i, r];
|
|
25744
25766
|
}
|
|
25745
25767
|
class xL extends ke {
|
|
@@ -25802,15 +25824,15 @@ function ML(e) {
|
|
|
25802
25824
|
}
|
|
25803
25825
|
};
|
|
25804
25826
|
}
|
|
25805
|
-
const
|
|
25827
|
+
const rp = 6;
|
|
25806
25828
|
function EL(e, n, t) {
|
|
25807
25829
|
let i, { path: r } = n;
|
|
25808
|
-
const s =
|
|
25830
|
+
const s = rp * 2, o = `M0 ${rp} h ${s} M${rp} 0 v ${s}`;
|
|
25809
25831
|
return e.$$set = (a) => {
|
|
25810
25832
|
"path" in a && t(3, r = a.path);
|
|
25811
25833
|
}, e.$$.update = () => {
|
|
25812
25834
|
e.$$.dirty & /*path*/
|
|
25813
|
-
8 && t(0, i =
|
|
25835
|
+
8 && t(0, i = Fd(r, { needZ: !0 }));
|
|
25814
25836
|
}, [i, s, o, r];
|
|
25815
25837
|
}
|
|
25816
25838
|
class CL extends ke {
|
|
@@ -25876,7 +25898,7 @@ function _L(e, n, t) {
|
|
|
25876
25898
|
"path" in s && t(1, r = s.path);
|
|
25877
25899
|
}, e.$$.update = () => {
|
|
25878
25900
|
e.$$.dirty & /*path*/
|
|
25879
|
-
2 && t(0, i =
|
|
25901
|
+
2 && t(0, i = Fd(r, { needZ: !0 }));
|
|
25880
25902
|
}, [i, r];
|
|
25881
25903
|
}
|
|
25882
25904
|
class IL extends ke {
|
|
@@ -26153,7 +26175,7 @@ function NL(e, n, t) {
|
|
|
26153
26175
|
function u() {
|
|
26154
26176
|
c == null || c.set(void 0);
|
|
26155
26177
|
}
|
|
26156
|
-
const { bounding: d } = a, f =
|
|
26178
|
+
const { bounding: d } = a, f = Fd(s.path, {
|
|
26157
26179
|
needZ: !0,
|
|
26158
26180
|
format: (m) => Ox(m, d)
|
|
26159
26181
|
});
|
|
@@ -27768,7 +27790,7 @@ let ws = class {
|
|
|
27768
27790
|
/**
|
|
27769
27791
|
* @realsee/dnalogel 版本号
|
|
27770
27792
|
*/
|
|
27771
|
-
v(this, "VERSION", "3.49.
|
|
27793
|
+
v(this, "VERSION", "3.49.9");
|
|
27772
27794
|
v(this, "NAME");
|
|
27773
27795
|
v(this, "five");
|
|
27774
27796
|
v(this, "workUtil");
|
|
@@ -27787,7 +27809,7 @@ let ws = class {
|
|
|
27787
27809
|
return this.workUtil.workCode;
|
|
27788
27810
|
}
|
|
27789
27811
|
updateFive(n) {
|
|
27790
|
-
this.five = n, this.fiveUtil = new
|
|
27812
|
+
this.five = n, this.fiveUtil = new Ld(n), this.workUtil = this.fiveUtil.workUtil;
|
|
27791
27813
|
}
|
|
27792
27814
|
/**
|
|
27793
27815
|
* 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
|
|
@@ -29854,7 +29876,7 @@ const $6 = (e, n) => new Jk(e, n), eG = [
|
|
|
29854
29876
|
{ roomType: "100900000013", description: "衣" },
|
|
29855
29877
|
{ roomType: "100900000015", description: "商铺" },
|
|
29856
29878
|
{ roomType: "100900000016", description: "写字楼" }
|
|
29857
|
-
],
|
|
29879
|
+
], sp = (e, n, t) => {
|
|
29858
29880
|
const i = new C.Matrix4(), r = new C.Euler(e, n, t, "YXZ");
|
|
29859
29881
|
return i.makeRotationFromEuler(r), i;
|
|
29860
29882
|
}, qk = (e, {
|
|
@@ -29864,7 +29886,7 @@ const $6 = (e, n) => new Jk(e, n), eG = [
|
|
|
29864
29886
|
}) => {
|
|
29865
29887
|
if (n && e.scale.set(n, n, n), t) {
|
|
29866
29888
|
const [r, s, o] = t;
|
|
29867
|
-
r && e.applyMatrix4(
|
|
29889
|
+
r && e.applyMatrix4(sp(r, 0, 0)), s && e.applyMatrix4(sp(0, s, 0)), o && e.applyMatrix4(sp(0, 0, o));
|
|
29868
29890
|
}
|
|
29869
29891
|
return i && e.position.set(i.x, i.y, i.z), e;
|
|
29870
29892
|
};
|
|
@@ -29989,7 +30011,7 @@ const $k = ({ x: e, y: n, z: t }) => new Se(e, n, t), rG = (e, n) => {
|
|
|
29989
30011
|
return { load: l, enable: (b) => (t.enabled || (t.enabled = !0, d(e.currentMode), e.on("modeChange", d), h(b)), !0), disable: () => (t.enabled && (t.enabled = !1, u(), e.off("modeChange", d)), !0) };
|
|
29990
30012
|
}, e5 = Ki;
|
|
29991
30013
|
function t5(e, n, t, i = e5.Linear.None) {
|
|
29992
|
-
const r = new
|
|
30014
|
+
const r = new Ed(e).to(n, t).easing(i);
|
|
29993
30015
|
Uc(() => r.start(0));
|
|
29994
30016
|
const s = Wa((a) => {
|
|
29995
30017
|
r.update(a) === !1 && s();
|
|
@@ -30018,13 +30040,13 @@ function qy(e) {
|
|
|
30018
30040
|
function Ky(e) {
|
|
30019
30041
|
return e % mu;
|
|
30020
30042
|
}
|
|
30021
|
-
function
|
|
30043
|
+
function op(e, n, t) {
|
|
30022
30044
|
return e + (n - e) * t;
|
|
30023
30045
|
}
|
|
30024
|
-
const
|
|
30046
|
+
const Rm = (e, n, t) => {
|
|
30025
30047
|
const i = Math.PI, r = i * 2;
|
|
30026
30048
|
let s = qy(e), o = qy(n);
|
|
30027
|
-
return t === Cr.Anticlockwise && s < o && (s += r), t === Cr.Clockwise && o < s && (o += r), t === Cr.Loop && o - s > i ?
|
|
30049
|
+
return t === Cr.Anticlockwise && s < o && (s += r), t === Cr.Clockwise && o < s && (o += r), t === Cr.Loop && o - s > i ? Rm(s, o, Cr.Anticlockwise) : t === Cr.Loop && s - o > i ? Rm(s, o, Cr.Clockwise) : { from: s, to: o };
|
|
30028
30050
|
}, sG = (e) => {
|
|
30029
30051
|
const n = {}, t = (l, c, ...h) => ee(void 0, [l, c, ...h], function* (s, o, a = { preload: !0 }) {
|
|
30030
30052
|
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) => {
|
|
@@ -30038,7 +30060,7 @@ const km = (e, n, t) => {
|
|
|
30038
30060
|
}, s)) : d(new Error("unexpected error"));
|
|
30039
30061
|
});
|
|
30040
30062
|
}), i = (s) => {
|
|
30041
|
-
const o = e.state, a = Ky(o.latitude), l = Ky(s.latitude), { from: c, to: h } =
|
|
30063
|
+
const o = e.state, a = Ky(o.latitude), l = Ky(s.latitude), { from: c, to: h } = Rm(
|
|
30042
30064
|
o.longitude,
|
|
30043
30065
|
s.longitude,
|
|
30044
30066
|
s.rotation || Cr.Loop
|
|
@@ -30067,7 +30089,7 @@ const km = (e, n, t) => {
|
|
|
30067
30089
|
return yield new Promise((f) => {
|
|
30068
30090
|
const m = ({ progress: A }) => {
|
|
30069
30091
|
const w = {};
|
|
30070
|
-
w.longitude =
|
|
30092
|
+
w.longitude = op(u.longitude, d.longitude, A), w.latitude = op(u.latitude, d.latitude, A), w.fov = op(u.fov, d.fov, A), e.setState(w, !0);
|
|
30071
30093
|
}, p = () => {
|
|
30072
30094
|
f(!0);
|
|
30073
30095
|
}, g = () => {
|
|
@@ -30088,11 +30110,11 @@ function $y(e, n) {
|
|
|
30088
30110
|
function Gx(e, n) {
|
|
30089
30111
|
return Math.abs(e) === 1 / 0 && Math.abs(n) === 1 / 0 ? !0 : Math.abs(e - n) < 1e-3;
|
|
30090
30112
|
}
|
|
30091
|
-
function
|
|
30113
|
+
function pd(e, n) {
|
|
30092
30114
|
return (n.y - e.y) / (n.x - e.x);
|
|
30093
30115
|
}
|
|
30094
30116
|
function jx(e, n, t) {
|
|
30095
|
-
const i =
|
|
30117
|
+
const i = pd(e[1], e[0]), r = pd(n[1], n[0]);
|
|
30096
30118
|
if (isNaN(i) || isNaN(r) || Gx(i, r))
|
|
30097
30119
|
return !1;
|
|
30098
30120
|
if (Kh(e[0], n))
|
|
@@ -30114,7 +30136,7 @@ function jx(e, n, t) {
|
|
|
30114
30136
|
return { x: a, y: l };
|
|
30115
30137
|
}
|
|
30116
30138
|
function Kh(e, n) {
|
|
30117
|
-
return $y(e, n[0]) || $y(e, n[1]) ? !0 : (n[0].x - e.x) * (e.x - n[1].x) >= 0 && (n[0].y - e.y) * (e.y - n[1].y) >= 0 && Gx(
|
|
30139
|
+
return $y(e, n[0]) || $y(e, n[1]) ? !0 : (n[0].x - e.x) * (e.x - n[1].x) >= 0 && (n[0].y - e.y) * (e.y - n[1].y) >= 0 && Gx(pd(n[0], e), pd(e, n[1]));
|
|
30118
30140
|
}
|
|
30119
30141
|
function r5(e) {
|
|
30120
30142
|
let n = 1 / 0, t = -1 / 0, i = 1 / 0, r = -1 / 0;
|
|
@@ -31186,7 +31208,7 @@ class x5 extends Br {
|
|
|
31186
31208
|
new C.Vector3(0.7, 0, 0.7),
|
|
31187
31209
|
new C.Vector3(-0.7, 0, 0.7)
|
|
31188
31210
|
];
|
|
31189
|
-
return
|
|
31211
|
+
return zd(this.five).create3DDomContainer(t);
|
|
31190
31212
|
}
|
|
31191
31213
|
}
|
|
31192
31214
|
const cG = (e, n) => new x5(e, n), M5 = 1, E5 = 3, C5 = new Fa(16777215), P5 = new Fa(6522623), _5 = new Fa(16777215), I5 = new Fa(6522623), S5 = 6, T5 = 8, D5 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", Wx = new X1().load(D5), L5 = {
|
|
@@ -31423,7 +31445,7 @@ let La = class Yx {
|
|
|
31423
31445
|
}
|
|
31424
31446
|
};
|
|
31425
31447
|
const tu = (e) => e.preventDefault();
|
|
31426
|
-
let
|
|
31448
|
+
let Vd = class {
|
|
31427
31449
|
constructor(n) {
|
|
31428
31450
|
v(this, "model");
|
|
31429
31451
|
v(this, "five");
|
|
@@ -31609,7 +31631,7 @@ function N5(e) {
|
|
|
31609
31631
|
const n = Wc([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]);
|
|
31610
31632
|
return zE(r);
|
|
31611
31633
|
}
|
|
31612
|
-
function
|
|
31634
|
+
function Om(e, n) {
|
|
31613
31635
|
const t = Array.isArray(n) ? n : [n];
|
|
31614
31636
|
for (let i = 0; i < t.length; i++) {
|
|
31615
31637
|
const r = e.start, s = e.end, o = t[i].start, a = t[i].end;
|
|
@@ -31664,7 +31686,7 @@ function Zx(e, n) {
|
|
|
31664
31686
|
return { start: t[c - 1], end: t[c] };
|
|
31665
31687
|
}).filter(Boolean);
|
|
31666
31688
|
for (let l = 0; l < a.length; l++)
|
|
31667
|
-
if (
|
|
31689
|
+
if (Om(a[l], a.slice(l)))
|
|
31668
31690
|
return;
|
|
31669
31691
|
}
|
|
31670
31692
|
const i = t.flatMap((a) => [a.x, a.y, a.z]), r = new C.Float32BufferAttribute(i, 3), s = N5(t), o = new C.BufferGeometry();
|
|
@@ -31765,7 +31787,7 @@ class Y5 extends Qx {
|
|
|
31765
31787
|
this.contentDom.innerText = `${kr(s) ? t : t.toFixed(s)}${r}`;
|
|
31766
31788
|
}
|
|
31767
31789
|
}
|
|
31768
|
-
class
|
|
31790
|
+
class zm {
|
|
31769
31791
|
constructor(n, t) {
|
|
31770
31792
|
v(this, "id", wn());
|
|
31771
31793
|
v(this, "selected", !1);
|
|
@@ -32099,7 +32121,7 @@ class eM extends En {
|
|
|
32099
32121
|
const t = this.five.getElement();
|
|
32100
32122
|
if (!t)
|
|
32101
32123
|
throw new Error("five element not found");
|
|
32102
|
-
this.hammer || (this.hammer = new
|
|
32124
|
+
this.hammer || (this.hammer = new Md(t)), this.mode === "cursor" ? (this.five.on("wantsMoveToPano", Ro), this.five.on("wantsChangeMode", Ro), this.five.on("wantsTapGesture", Ro), t.addEventListener("mousemove", this.updateByMousePosition), kc || t.addEventListener("wheel", this.onMouseWheel), t.addEventListener("mouseenter", this.onEnter), t.addEventListener("mouseout", this.onLeave), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.hammer.on("tap", this.onTap), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panoArrived", this.renderScreenCenter), this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, this.emit("enable");
|
|
32103
32125
|
}
|
|
32104
32126
|
disable() {
|
|
32105
32127
|
if (!this.enabled)
|
|
@@ -32207,7 +32229,7 @@ function $5(e, n) {
|
|
|
32207
32229
|
return e.x === n.x && e.y === n.y;
|
|
32208
32230
|
}
|
|
32209
32231
|
const lb = () => !1;
|
|
32210
|
-
class Kr extends
|
|
32232
|
+
class Kr extends Vd {
|
|
32211
32233
|
constructor(t) {
|
|
32212
32234
|
super(t);
|
|
32213
32235
|
v(this, "type", "edit");
|
|
@@ -32361,7 +32383,7 @@ class Kr extends Fd {
|
|
|
32361
32383
|
this.perpendicularDashed.setPoints(h, u), this.perpendicularDashed.show();
|
|
32362
32384
|
} else
|
|
32363
32385
|
this.perpendicularDashed.hide();
|
|
32364
|
-
const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a =
|
|
32386
|
+
const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = Om({ start: t, end: i }, o), l = Om({ start: i, end: this.area.points[0] }, o);
|
|
32365
32387
|
if (a || l)
|
|
32366
32388
|
this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
|
|
32367
32389
|
else {
|
|
@@ -32439,7 +32461,7 @@ class Kr extends Fd {
|
|
|
32439
32461
|
}).appendTo(this.container), this.pointSelector = new eM(this.five, Me(R({}, this.pointSelectorConfig), {
|
|
32440
32462
|
mode: this.editParams.pointSelectorMode,
|
|
32441
32463
|
helper: R({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
|
|
32442
|
-
})), this.pointSelector.enable(), this.polyline = new ka({ model: this.model }), this.area = new
|
|
32464
|
+
})), this.pointSelector.enable(), this.polyline = new ka({ model: this.model }), this.area = new zm(void 0, {
|
|
32443
32465
|
five: this.five,
|
|
32444
32466
|
model: this.model,
|
|
32445
32467
|
meshContainer: this.group,
|
|
@@ -32464,7 +32486,7 @@ class Kr extends Fd {
|
|
|
32464
32486
|
this.onSelect();
|
|
32465
32487
|
}
|
|
32466
32488
|
complete() {
|
|
32467
|
-
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
|
|
32489
|
+
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 zm(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) => {
|
|
32468
32490
|
t.hook.on("selected", this.chooseLine), t.distanceItem.setCanSelect(!0);
|
|
32469
32491
|
}), this.polyline = new ka({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
|
|
32470
32492
|
}
|
|
@@ -32486,7 +32508,7 @@ class Kr extends Fd {
|
|
|
32486
32508
|
this.unHighlightLines(this.model.getAllLines()), !t.selected && (t.selected = !0, this.group.add(t.lightMesh), t.distanceItem.highlight(), this.five.needsRender = !0);
|
|
32487
32509
|
}
|
|
32488
32510
|
}
|
|
32489
|
-
class cb extends
|
|
32511
|
+
class cb extends Vd {
|
|
32490
32512
|
constructor(t) {
|
|
32491
32513
|
super(t);
|
|
32492
32514
|
v(this, "type", "view");
|
|
@@ -32539,7 +32561,7 @@ class cb extends Fd {
|
|
|
32539
32561
|
});
|
|
32540
32562
|
const i = this.five.getElement();
|
|
32541
32563
|
if (i) {
|
|
32542
|
-
const r = new
|
|
32564
|
+
const r = new Md(i);
|
|
32543
32565
|
this.hammer = r;
|
|
32544
32566
|
}
|
|
32545
32567
|
this.onFiveModeChange(this.five.getCurrentState().mode), this.onFivePanoWillArrive(this.five.getCurrentState().panoIndex), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.updateDistanceUI(), this.five.needsRender = !0, this.model.hook.on("polylineAdded", this.polylineAdded), this.model.hook.on("polylineRemoved", this.polylineRemoved), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoWillArrive", this.onFivePanoWillArrive);
|
|
@@ -32568,7 +32590,7 @@ function hb(e) {
|
|
|
32568
32590
|
return { point: o, ndcPoint: a };
|
|
32569
32591
|
}
|
|
32570
32592
|
const ub = () => !1;
|
|
32571
|
-
class db extends
|
|
32593
|
+
class db extends Vd {
|
|
32572
32594
|
constructor(t) {
|
|
32573
32595
|
super(t);
|
|
32574
32596
|
v(this, "type", "watch");
|
|
@@ -32694,7 +32716,7 @@ class db extends Fd {
|
|
|
32694
32716
|
this.deleteDom = new Fg(this.five, {
|
|
32695
32717
|
i18n: this.config.i18n,
|
|
32696
32718
|
onClick: () => {
|
|
32697
|
-
this.choose === "line" ? this.deleteLine() : this.choose instanceof
|
|
32719
|
+
this.choose === "line" ? this.deleteLine() : this.choose instanceof zm && this.deleteArea(this.choose);
|
|
32698
32720
|
},
|
|
32699
32721
|
cancel: this.cancelDeleteClickCallback
|
|
32700
32722
|
}).appendTo(this.container), this.model.getAllLines().forEach((r) => {
|
|
@@ -32707,7 +32729,7 @@ class db extends Fd {
|
|
|
32707
32729
|
const i = this.five.getElement();
|
|
32708
32730
|
if (i) {
|
|
32709
32731
|
this.fiveElement = i;
|
|
32710
|
-
const r = new
|
|
32732
|
+
const r = new Md(i);
|
|
32711
32733
|
this.hammer = r, r.on("pan", this.onPan), r.on("panstart", this.onPanStart), r.on("panend", this.onPanEnd);
|
|
32712
32734
|
}
|
|
32713
32735
|
this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode", ub), this.model.hook.on("polylineRemoved", this.polylineRemoved);
|
|
@@ -32844,7 +32866,7 @@ function nM(e) {
|
|
|
32844
32866
|
let i = 10349931;
|
|
32845
32867
|
t && e.ballColor >= 0 && (i = e.ballColor);
|
|
32846
32868
|
const r = new Zo(), s = new xE(0.3, 0.3), o = n ? i4 : r4, a = new X1().load(o);
|
|
32847
|
-
a.encoding = ME, a.minFilter =
|
|
32869
|
+
a.encoding = ME, a.minFilter = Ip;
|
|
32848
32870
|
const l = new Ql({
|
|
32849
32871
|
map: a,
|
|
32850
32872
|
transparent: !0,
|
|
@@ -32978,7 +33000,7 @@ class a4 {
|
|
|
32978
33000
|
return this.mouseGroup;
|
|
32979
33001
|
}
|
|
32980
33002
|
}
|
|
32981
|
-
class Al extends
|
|
33003
|
+
class Al extends Vd {
|
|
32982
33004
|
constructor(t) {
|
|
32983
33005
|
super(t);
|
|
32984
33006
|
v(this, "state", "watching");
|
|
@@ -33091,7 +33113,7 @@ class Al extends Fd {
|
|
|
33091
33113
|
this.clearHighlightLines(), this.highlightedLines = t, this.deleteDom.setLines(t).updatePosition().show(), t.forEach((i) => this.highlightLine(i));
|
|
33092
33114
|
}
|
|
33093
33115
|
}
|
|
33094
|
-
const
|
|
33116
|
+
const md = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTUuMyUiIHk9Ii01LjMlIiB3aWR0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R2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iOCIgaW49IlNvdXJjZUdyYXBoaWMiLz48L2ZpbHRlcj48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0idXJsKCNwcmVmaXhfX2EpIiBzdHJva2Utd2lkdGg9Ii40IiBmaWxsPSJ1cmwoI3ByZWZpeF9fYikiIG9wYWNpdHk9Ii43IiBjeD0iMzYiIGN5PSIzNiIgcj0iMjguMjQ0Ii8+PGVsbGlwc2UgZmlsbD0iIzdDOTBEQSIgb3BhY2l0eT0iLjU5NiIgZmlsdGVyPSJ1cmwoI3ByZWZpeF9fYykiIGN4PSIzNiIgY3k9IjM2IiByeD0iMTguOTYzIiByeT0iNy4xMTEiLz48cGF0aCBkPSJNMzYgMEMxNi4xMTggMCAwIDE2LjExOCAwIDM2czE2LjExOCAzNiAzNiAzNiAzNi0xNi4xMTggMzYtMzZTNTUuODgyIDAgMzYgMHptMCA0LjQ0NGMxNy40MjggMCAzMS41NTYgMTQuMTI4IDMxLjU1NiAzMS41NTZTNTMuNDI4IDY3LjU1NiAzNiA2Ny41NTYgNC40NDQgNTMuNDI4IDQuNDQ0IDM2IDE4LjU3MiA0LjQ0NCAzNiA0LjQ0NHoiIGZpbGw9InVybCgjcHJlZml4X19kKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==", l4 = `
|
|
33095
33117
|
<svg class="fpm__exit-icon width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
33096
33118
|
<defs>
|
|
33097
33119
|
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="86.3016741%" id="radialGradient-1">
|
|
@@ -33150,7 +33172,7 @@ const pd = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
|
|
|
33150
33172
|
opacity: 1;
|
|
33151
33173
|
}
|
|
33152
33174
|
.fpm__main__start {
|
|
33153
|
-
background-image: url(${
|
|
33175
|
+
background-image: url(${md});
|
|
33154
33176
|
}
|
|
33155
33177
|
.fpm__main__end {
|
|
33156
33178
|
background-image: url(${Gg});
|
|
@@ -33265,7 +33287,7 @@ const pd = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
|
|
|
33265
33287
|
opacity: 1;
|
|
33266
33288
|
}
|
|
33267
33289
|
.fpm__main__start {
|
|
33268
|
-
background-image: url(${
|
|
33290
|
+
background-image: url(${md});
|
|
33269
33291
|
}
|
|
33270
33292
|
.fpm__main__end {
|
|
33271
33293
|
background-image: url(${Gg});
|
|
@@ -34278,7 +34300,7 @@ function F4(e, n, t) {
|
|
|
34278
34300
|
"text" in a && t(0, r = a.text), "onClick" in a && t(1, s = a.onClick), "color" in a && t(3, o = a.color);
|
|
34279
34301
|
}, e.$$.update = () => {
|
|
34280
34302
|
e.$$.dirty & /*color*/
|
|
34281
|
-
8 && t(2, i = (() => o === "white" ?
|
|
34303
|
+
8 && t(2, i = (() => o === "white" ? md : o === "blue" ? Gg : md)());
|
|
34282
34304
|
}, [r, s, i, o];
|
|
34283
34305
|
}
|
|
34284
34306
|
class V4 extends ke {
|
|
@@ -34719,22 +34741,22 @@ var di = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
34719
34741
|
jt = e;
|
|
34720
34742
|
}
|
|
34721
34743
|
};
|
|
34722
|
-
function
|
|
34744
|
+
function gd(e) {
|
|
34723
34745
|
return e === null ? "null" : typeof e == "undefined" ? "undefined" : typeof e == "object" ? Array.isArray(e) ? "array" : "object" : typeof e;
|
|
34724
34746
|
}
|
|
34725
34747
|
function cM(e) {
|
|
34726
|
-
return
|
|
34748
|
+
return gd(e) === "object" ? Nm(e) : gd(e) === "array" ? Bm(e) : e;
|
|
34727
34749
|
}
|
|
34728
|
-
function
|
|
34750
|
+
function Bm(e) {
|
|
34729
34751
|
return e.map(cM);
|
|
34730
34752
|
}
|
|
34731
|
-
function
|
|
34753
|
+
function Nm(e) {
|
|
34732
34754
|
const n = {};
|
|
34733
34755
|
for (const t in e)
|
|
34734
34756
|
e.hasOwnProperty(t) && (n[t] = cM(e[t]));
|
|
34735
34757
|
return n;
|
|
34736
34758
|
}
|
|
34737
|
-
function
|
|
34759
|
+
function Gd(e, n = [], t = {}) {
|
|
34738
34760
|
const i = {
|
|
34739
34761
|
arrayBehaviour: t.arrayBehaviour || "replace"
|
|
34740
34762
|
// Can be "merge" or "replace".
|
|
@@ -34742,19 +34764,19 @@ function Vd(e, n = [], t = {}) {
|
|
|
34742
34764
|
for (let o = 0; o < r.length; o++) {
|
|
34743
34765
|
const a = r[o], l = Object.keys(a);
|
|
34744
34766
|
for (let c = 0; c < l.length; c++) {
|
|
34745
|
-
const h = l[c], u = a[h], d =
|
|
34767
|
+
const h = l[c], u = a[h], d = gd(u), f = gd(s[h]);
|
|
34746
34768
|
if (d === "object")
|
|
34747
34769
|
if (f !== "undefined") {
|
|
34748
34770
|
const m = f === "object" ? s[h] : {};
|
|
34749
|
-
s[h] =
|
|
34771
|
+
s[h] = Gd({}, [m, Nm(u)], i);
|
|
34750
34772
|
} else
|
|
34751
|
-
s[h] =
|
|
34773
|
+
s[h] = Nm(u);
|
|
34752
34774
|
else if (d === "array")
|
|
34753
34775
|
if (f === "array") {
|
|
34754
|
-
const m =
|
|
34776
|
+
const m = Bm(u);
|
|
34755
34777
|
s[h] = i.arrayBehaviour === "merge" ? s[h].concat(m) : m;
|
|
34756
34778
|
} else
|
|
34757
|
-
s[h] =
|
|
34779
|
+
s[h] = Bm(u);
|
|
34758
34780
|
else
|
|
34759
34781
|
s[h] = u;
|
|
34760
34782
|
}
|
|
@@ -34762,13 +34784,13 @@ function Vd(e, n = [], t = {}) {
|
|
|
34762
34784
|
return s;
|
|
34763
34785
|
}
|
|
34764
34786
|
Q4.exports = function(n, ...t) {
|
|
34765
|
-
return
|
|
34787
|
+
return Gd(n, t);
|
|
34766
34788
|
};
|
|
34767
34789
|
jt.noMutate = function(...n) {
|
|
34768
|
-
return
|
|
34790
|
+
return Gd({}, n);
|
|
34769
34791
|
};
|
|
34770
34792
|
jt.withOptions = function(n, t, i) {
|
|
34771
|
-
return
|
|
34793
|
+
return Gd(n, t, i);
|
|
34772
34794
|
};
|
|
34773
34795
|
function Y4(e) {
|
|
34774
34796
|
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}");
|
|
@@ -35631,10 +35653,10 @@ class pR {
|
|
|
35631
35653
|
}
|
|
35632
35654
|
}
|
|
35633
35655
|
}
|
|
35634
|
-
const
|
|
35656
|
+
const ap = 1e-3, Bb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", mG = (e, n) => {
|
|
35635
35657
|
var te, ne, de, ve, ye, Je, be, ae;
|
|
35636
35658
|
let t = n == null ? void 0 : n.container, i = 1.4;
|
|
35637
|
-
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 =
|
|
35659
|
+
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 = zd(e), d = document.createElement("div");
|
|
35638
35660
|
d.classList.add("PanoSpatialTagPlugin"), Object.assign(d.style, hR);
|
|
35639
35661
|
const f = new Ba();
|
|
35640
35662
|
let m = new Image();
|
|
@@ -35769,11 +35791,11 @@ const op = 1e-3, Bb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
35769
35791
|
j.distance + Bb
|
|
35770
35792
|
), [qe] = p.intersectObjects ? me.intersectObjects(p.intersectObjects, !0) : e.model.loaded ? e.model.intersectRaycaster(me) : me.intersectObjects(e.model.children, !0);
|
|
35771
35793
|
if (qe && j.distance - qe.distance < Bb) {
|
|
35772
|
-
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(
|
|
35794
|
+
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(ap), tt = [
|
|
35773
35795
|
Ae.clone(),
|
|
35774
35796
|
Ae.clone().add(Re),
|
|
35775
|
-
Ae.clone().add(new C.Vector3(0,
|
|
35776
|
-
Ae.clone().add(new C.Vector3(0,
|
|
35797
|
+
Ae.clone().add(new C.Vector3(0, ap, 0)).add(Re),
|
|
35798
|
+
Ae.clone().add(new C.Vector3(0, ap, 0))
|
|
35777
35799
|
].map((We) => lt.projectPoint(We, new C.Vector3())), { container: Ze, dispose: Ke } = u.create3DDomContainer(tt) || {}, $ = new cR({
|
|
35778
35800
|
target: Ze,
|
|
35779
35801
|
props: {
|
|
@@ -35855,12 +35877,12 @@ const op = 1e-3, Bb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
35855
35877
|
dispose: K
|
|
35856
35878
|
};
|
|
35857
35879
|
};
|
|
35858
|
-
var Uo = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MIDLLE = "middle", e.LARGE = "large", e.EXTRA_LARGE = "x-large", e))(Uo || {}),
|
|
35880
|
+
var Uo = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MIDLLE = "middle", e.LARGE = "large", e.EXTRA_LARGE = "x-large", e))(Uo || {}), Fm = {}, gR = {
|
|
35859
35881
|
get exports() {
|
|
35860
|
-
return
|
|
35882
|
+
return Fm;
|
|
35861
35883
|
},
|
|
35862
35884
|
set exports(e) {
|
|
35863
|
-
|
|
35885
|
+
Fm = e;
|
|
35864
35886
|
}
|
|
35865
35887
|
};
|
|
35866
35888
|
/*!
|
|
@@ -35898,7 +35920,7 @@ var Uo = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MIDLLE = "middle", e.LARG
|
|
|
35898
35920
|
e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
|
|
35899
35921
|
})();
|
|
35900
35922
|
})(gR);
|
|
35901
|
-
const qn =
|
|
35923
|
+
const qn = Fm;
|
|
35902
35924
|
function vR(e) {
|
|
35903
35925
|
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}}");
|
|
35904
35926
|
}
|
|
@@ -36319,7 +36341,7 @@ function _R(e) {
|
|
|
36319
36341
|
n.push(i);
|
|
36320
36342
|
}), n;
|
|
36321
36343
|
}
|
|
36322
|
-
const IR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxy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AxNk6jxwajuUb8lqOZRT3S/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///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZj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LwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", AG = (e, { videoElement: n }) => {
|
|
36344
|
+
const IR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/nYmMkBq+TqBs7LNgTlZH6EnWlPmORdk+pHQipUNfTxtg7p3NIXWRMvXfoqusmXsNhpC6crIS1Zf9C6yAOdlxpK5BW18CiT7A/G93gE+P0FY/RoO+RWqS62YhB2r4YhlixArECsQKxArECvzjCnwAOr0wF44ggHAAAA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82UJaS40YTuJv/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+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIR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
const t = {
|
|
36324
36346
|
videoMeshes: [],
|
|
36325
36347
|
videoTextureEnabled: !1,
|
|
@@ -36327,7 +36349,7 @@ const IR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
36327
36349
|
rectPoints: [],
|
|
36328
36350
|
enabled: !1,
|
|
36329
36351
|
videoElement: n
|
|
36330
|
-
}, i =
|
|
36352
|
+
}, i = zd(e), r = /* @__PURE__ */ new Map(), s = (y) => {
|
|
36331
36353
|
t.videoTexture && (t.videoTexture.image.muted = y);
|
|
36332
36354
|
}, o = () => t.videoTexture ? t.videoTexture.image.muted : !0, a = () => {
|
|
36333
36355
|
if (t.enabled || !t.videoTexture)
|
|
@@ -37444,7 +37466,7 @@ const EG = (e) => new nO(e);
|
|
|
37444
37466
|
function dM(e, n) {
|
|
37445
37467
|
console.warn(`🚫 ==> [${e}]: ${n}`);
|
|
37446
37468
|
}
|
|
37447
|
-
var
|
|
37469
|
+
var jd = {}, iO = rO;
|
|
37448
37470
|
function rO(e, n, t) {
|
|
37449
37471
|
return e[0] = n[0] + t[0], e[1] = n[1] + t[1], e;
|
|
37450
37472
|
}
|
|
@@ -37465,27 +37487,27 @@ var uO = dO;
|
|
|
37465
37487
|
function dO(e, n) {
|
|
37466
37488
|
return e[0] * n[0] + e[1] * n[1];
|
|
37467
37489
|
}
|
|
37468
|
-
var fO = iO,
|
|
37469
|
-
|
|
37470
|
-
return fO(n, i, r), fM(n, n),
|
|
37490
|
+
var fO = iO, Gm = sO, fM = aO, pO = cO, mO = uO, Yb = [0, 0];
|
|
37491
|
+
jd.computeMiter = function(n, t, i, r, s) {
|
|
37492
|
+
return fO(n, i, r), fM(n, n), Gm(t, -n[1], n[0]), Gm(Yb, -i[1], i[0]), s / mO(t, Yb);
|
|
37471
37493
|
};
|
|
37472
|
-
|
|
37473
|
-
return
|
|
37494
|
+
jd.normal = function(n, t) {
|
|
37495
|
+
return Gm(n, -t[1], t[0]), n;
|
|
37474
37496
|
};
|
|
37475
|
-
|
|
37497
|
+
jd.direction = function(n, t, i) {
|
|
37476
37498
|
return pO(n, t, i), fM(n, n), n;
|
|
37477
37499
|
};
|
|
37478
|
-
var Ar =
|
|
37500
|
+
var Ar = jd, Rs = [0, 0], nu = [0, 0], Xb = [0, 0], wl = [0, 0], gO = function(e, n) {
|
|
37479
37501
|
var t = null, i = [];
|
|
37480
37502
|
n && (e = e.slice(), e.push(e[0]));
|
|
37481
37503
|
for (var r = e.length, s = 1; s < r; s++) {
|
|
37482
37504
|
var o = e[s - 1], a = e[s], l = s < e.length - 1 ? e[s + 1] : null;
|
|
37483
|
-
if (Ar.direction(Rs, a, o), t || (t = [0, 0], Ar.normal(t, Rs)), s === 1 &&
|
|
37484
|
-
Ar.normal(t, Rs),
|
|
37505
|
+
if (Ar.direction(Rs, a, o), t || (t = [0, 0], Ar.normal(t, Rs)), s === 1 && lp(i, t, 1), !l)
|
|
37506
|
+
Ar.normal(t, Rs), lp(i, t, 1);
|
|
37485
37507
|
else {
|
|
37486
37508
|
Ar.direction(nu, l, a);
|
|
37487
37509
|
var c = Ar.computeMiter(Xb, wl, Rs, nu, 1);
|
|
37488
|
-
|
|
37510
|
+
lp(i, wl, c);
|
|
37489
37511
|
}
|
|
37490
37512
|
}
|
|
37491
37513
|
if (e.length > 2 && n) {
|
|
@@ -37496,7 +37518,7 @@ var Ar = Gd, Rs = [0, 0], nu = [0, 0], Xb = [0, 0], wl = [0, 0], gO = function(e
|
|
|
37496
37518
|
}
|
|
37497
37519
|
return i;
|
|
37498
37520
|
};
|
|
37499
|
-
function
|
|
37521
|
+
function lp(e, n, t) {
|
|
37500
37522
|
e.push([[n[0], n[1]], t]);
|
|
37501
37523
|
}
|
|
37502
37524
|
function pM(e, n) {
|
|
@@ -37706,7 +37728,7 @@ function IO(e) {
|
|
|
37706
37728
|
function SO(e) {
|
|
37707
37729
|
return e.stickType === "Plane" && e.contentType === "MediaPlane";
|
|
37708
37730
|
}
|
|
37709
|
-
function
|
|
37731
|
+
function jm(e) {
|
|
37710
37732
|
const n = (() => {
|
|
37711
37733
|
if ($i(e) && e.matrix) {
|
|
37712
37734
|
const t = new Tl().fromArray(e.matrix);
|
|
@@ -37717,7 +37739,7 @@ function Gm(e) {
|
|
|
37717
37739
|
return tC(n);
|
|
37718
37740
|
}
|
|
37719
37741
|
function Zb(e) {
|
|
37720
|
-
const n =
|
|
37742
|
+
const n = jm(e);
|
|
37721
37743
|
return lr(...Array.isArray(n) ? n : [n]);
|
|
37722
37744
|
}
|
|
37723
37745
|
function iu(e, n) {
|
|
@@ -37837,20 +37859,6 @@ class gM extends (() => typeof Audio == "undefined" ? class {
|
|
|
37837
37859
|
function zO(e) {
|
|
37838
37860
|
e && (e.inited || (e.src && (e.inited = !0, e.removeDocumentEventListener()), e.src === Oa && e.play()));
|
|
37839
37861
|
}
|
|
37840
|
-
function jm(e, n) {
|
|
37841
|
-
if (!n || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
37842
|
-
return {
|
|
37843
|
-
observe: () => window.addEventListener("resize", e),
|
|
37844
|
-
unobserve: () => window.removeEventListener("resize", e)
|
|
37845
|
-
};
|
|
37846
|
-
{
|
|
37847
|
-
const t = new ResizeObserver(e);
|
|
37848
|
-
return {
|
|
37849
|
-
observe: () => t.observe(n),
|
|
37850
|
-
unobserve: () => t.unobserve(n)
|
|
37851
|
-
};
|
|
37852
|
-
}
|
|
37853
|
-
}
|
|
37854
37862
|
function BO(e) {
|
|
37855
37863
|
Ue(e, "svelte-xuejcm", ".line.svelte-xuejcm{position:absolute;pointer-events:none}.line.vertical.svelte-xuejcm{transform:rotate(-90deg) translate3d(0.03125rem, 0, 0.625rem);transform-origin:0 0}.line.horizontal.svelte-xuejcm{transform:translate3d(0, -0.03125rem, 0.625rem)}.straight-line.svelte-xuejcm{display:block;width:100%;height:100%;overflow:visible}");
|
|
37856
37864
|
}
|
|
@@ -37993,7 +38001,7 @@ function Kb(e) {
|
|
|
37993
38001
|
},
|
|
37994
38002
|
i(o) {
|
|
37995
38003
|
s || (o && sn(() => {
|
|
37996
|
-
s && (r && r.end(1), i = ys(n,
|
|
38004
|
+
s && (r && r.end(1), i = ys(n, fd, {
|
|
37997
38005
|
duration: (
|
|
37998
38006
|
/*duration*/
|
|
37999
38007
|
e[2]
|
|
@@ -38007,7 +38015,7 @@ function Kb(e) {
|
|
|
38007
38015
|
}), s = !0);
|
|
38008
38016
|
},
|
|
38009
38017
|
o(o) {
|
|
38010
|
-
i && i.invalidate(), o && (r = Ka(n,
|
|
38018
|
+
i && i.invalidate(), o && (r = Ka(n, fd, {
|
|
38011
38019
|
duration: (
|
|
38012
38020
|
/*duration*/
|
|
38013
38021
|
e[2]
|
|
@@ -39621,7 +39629,7 @@ function hA(e) {
|
|
|
39621
39629
|
},
|
|
39622
39630
|
i(s) {
|
|
39623
39631
|
r || (s && sn(() => {
|
|
39624
|
-
r && (i && i.end(1), t = ys(n,
|
|
39632
|
+
r && (i && i.end(1), t = ys(n, fd, {
|
|
39625
39633
|
duration: (
|
|
39626
39634
|
/*duration*/
|
|
39627
39635
|
e[1]
|
|
@@ -39635,7 +39643,7 @@ function hA(e) {
|
|
|
39635
39643
|
}), r = !0);
|
|
39636
39644
|
},
|
|
39637
39645
|
o(s) {
|
|
39638
|
-
t && t.invalidate(), s && (i = Ka(n,
|
|
39646
|
+
t && t.invalidate(), s && (i = Ka(n, fd, {
|
|
39639
39647
|
duration: (
|
|
39640
39648
|
/*duration*/
|
|
39641
39649
|
e[1]
|
|
@@ -39873,7 +39881,7 @@ function Lz(e) {
|
|
|
39873
39881
|
};
|
|
39874
39882
|
}
|
|
39875
39883
|
function kz(e, n, t) {
|
|
39876
|
-
const i =
|
|
39884
|
+
const i = Bd();
|
|
39877
39885
|
let { pagesCount: r = 1 } = n, { currentPageIndex: s = 0 } = n;
|
|
39878
39886
|
function o(l) {
|
|
39879
39887
|
i("pageChange", l);
|
|
@@ -40039,7 +40047,7 @@ function Yg(e) {
|
|
|
40039
40047
|
};
|
|
40040
40048
|
}
|
|
40041
40049
|
const Qz = 110, Yz = 9, Xz = 111, Zz = 20;
|
|
40042
|
-
function
|
|
40050
|
+
function cp(e) {
|
|
40043
40051
|
if ("TouchEvent" in window && e instanceof TouchEvent) {
|
|
40044
40052
|
const n = e.touches[0];
|
|
40045
40053
|
return {
|
|
@@ -40060,13 +40068,13 @@ function Jz(e, { thresholdProvider: n }) {
|
|
|
40060
40068
|
}
|
|
40061
40069
|
function c(d) {
|
|
40062
40070
|
o = Date.now(), s = 0, a = !0;
|
|
40063
|
-
const f =
|
|
40071
|
+
const f = cp(d);
|
|
40064
40072
|
i = f.x, r = f.y, t("swipeStart", { x: i, y: r }), Wz(window, h), Uz(window, u);
|
|
40065
40073
|
}
|
|
40066
40074
|
function h(d) {
|
|
40067
40075
|
if (!a)
|
|
40068
40076
|
return;
|
|
40069
|
-
const f =
|
|
40077
|
+
const f = cp(d), m = f.x - i, p = f.y - r;
|
|
40070
40078
|
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 ? za : gs }), pA(window, u), mA(window, h));
|
|
40071
40079
|
}
|
|
40072
40080
|
function u(d) {
|
|
@@ -40074,7 +40082,7 @@ function Jz(e, { thresholdProvider: n }) {
|
|
|
40074
40082
|
t("swipeFailed");
|
|
40075
40083
|
return;
|
|
40076
40084
|
}
|
|
40077
|
-
const f =
|
|
40085
|
+
const f = cp(d);
|
|
40078
40086
|
t("swipeEnd", { x: f.x, y: f.y });
|
|
40079
40087
|
}
|
|
40080
40088
|
return jz(e, c), {
|
|
@@ -40252,7 +40260,7 @@ function dB({
|
|
|
40252
40260
|
t - 1
|
|
40253
40261
|
);
|
|
40254
40262
|
}
|
|
40255
|
-
function
|
|
40263
|
+
function hp({
|
|
40256
40264
|
infinite: e,
|
|
40257
40265
|
pageIndex: n,
|
|
40258
40266
|
clonesCountHead: t,
|
|
@@ -40367,8 +40375,8 @@ function LB(e) {
|
|
|
40367
40375
|
}
|
|
40368
40376
|
return n;
|
|
40369
40377
|
}
|
|
40370
|
-
var kB = Array.prototype, RB = Function.prototype, EM = Object.prototype,
|
|
40371
|
-
var e = /[^.]+$/.exec(
|
|
40378
|
+
var kB = Array.prototype, RB = Function.prototype, EM = Object.prototype, up = Xg["__core-js_shared__"], yA = function() {
|
|
40379
|
+
var e = /[^.]+$/.exec(up && up.keys && up.keys.IE_PROTO || "");
|
|
40372
40380
|
return e ? "Symbol(src)_1." + e : "";
|
|
40373
40381
|
}(), CM = RB.toString, Zg = EM.hasOwnProperty, PM = EM.toString, OB = RegExp(
|
|
40374
40382
|
"^" + CM.call(Zg).replace(PB, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
@@ -40418,21 +40426,21 @@ function HB() {
|
|
|
40418
40426
|
this.__data__ = [];
|
|
40419
40427
|
}
|
|
40420
40428
|
function UB(e) {
|
|
40421
|
-
var n = this.__data__, t =
|
|
40429
|
+
var n = this.__data__, t = Hd(n, e);
|
|
40422
40430
|
if (t < 0)
|
|
40423
40431
|
return !1;
|
|
40424
40432
|
var i = n.length - 1;
|
|
40425
40433
|
return t == i ? n.pop() : zB.call(n, t, 1), !0;
|
|
40426
40434
|
}
|
|
40427
40435
|
function WB(e) {
|
|
40428
|
-
var n = this.__data__, t =
|
|
40436
|
+
var n = this.__data__, t = Hd(n, e);
|
|
40429
40437
|
return t < 0 ? void 0 : n[t][1];
|
|
40430
40438
|
}
|
|
40431
40439
|
function QB(e) {
|
|
40432
|
-
return
|
|
40440
|
+
return Hd(this.__data__, e) > -1;
|
|
40433
40441
|
}
|
|
40434
40442
|
function YB(e, n) {
|
|
40435
|
-
var t = this.__data__, i =
|
|
40443
|
+
var t = this.__data__, i = Hd(t, e);
|
|
40436
40444
|
return i < 0 ? t.push([e, n]) : t[i][1] = n, this;
|
|
40437
40445
|
}
|
|
40438
40446
|
$a.prototype.clear = HB;
|
|
@@ -40455,23 +40463,23 @@ function XB() {
|
|
|
40455
40463
|
};
|
|
40456
40464
|
}
|
|
40457
40465
|
function ZB(e) {
|
|
40458
|
-
return
|
|
40466
|
+
return Ud(this, e).delete(e);
|
|
40459
40467
|
}
|
|
40460
40468
|
function JB(e) {
|
|
40461
|
-
return
|
|
40469
|
+
return Ud(this, e).get(e);
|
|
40462
40470
|
}
|
|
40463
40471
|
function qB(e) {
|
|
40464
|
-
return
|
|
40472
|
+
return Ud(this, e).has(e);
|
|
40465
40473
|
}
|
|
40466
40474
|
function KB(e, n) {
|
|
40467
|
-
return
|
|
40475
|
+
return Ud(this, e).set(e, n), this;
|
|
40468
40476
|
}
|
|
40469
40477
|
ro.prototype.clear = XB;
|
|
40470
40478
|
ro.prototype.delete = ZB;
|
|
40471
40479
|
ro.prototype.get = JB;
|
|
40472
40480
|
ro.prototype.has = qB;
|
|
40473
40481
|
ro.prototype.set = KB;
|
|
40474
|
-
function
|
|
40482
|
+
function Hd(e, n) {
|
|
40475
40483
|
for (var t = e.length; t--; )
|
|
40476
40484
|
if (c9(e[t][0], n))
|
|
40477
40485
|
return t;
|
|
@@ -40500,7 +40508,7 @@ function t9(e) {
|
|
|
40500
40508
|
function n9(e) {
|
|
40501
40509
|
return IM(e) ? e : o9(e);
|
|
40502
40510
|
}
|
|
40503
|
-
function
|
|
40511
|
+
function Ud(e, n) {
|
|
40504
40512
|
var t = e.__data__;
|
|
40505
40513
|
return r9(n) ? t[typeof n == "string" ? "string" : "hash"] : t.map;
|
|
40506
40514
|
}
|
|
@@ -40585,12 +40593,12 @@ function f9(e, n, t) {
|
|
|
40585
40593
|
var i = e == null ? void 0 : $B(e, n);
|
|
40586
40594
|
return i === void 0 ? t : i;
|
|
40587
40595
|
}
|
|
40588
|
-
var su = f9,
|
|
40596
|
+
var su = f9, vd = {}, p9 = {
|
|
40589
40597
|
get exports() {
|
|
40590
|
-
return
|
|
40598
|
+
return vd;
|
|
40591
40599
|
},
|
|
40592
40600
|
set exports(e) {
|
|
40593
|
-
|
|
40601
|
+
vd = e;
|
|
40594
40602
|
}
|
|
40595
40603
|
};
|
|
40596
40604
|
(function(e, n) {
|
|
@@ -40754,13 +40762,13 @@ var su = f9, gd = {}, p9 = {
|
|
|
40754
40762
|
function el(E) {
|
|
40755
40763
|
return this.__data__.delete(E);
|
|
40756
40764
|
}
|
|
40757
|
-
function
|
|
40765
|
+
function Qd(E) {
|
|
40758
40766
|
return this.__data__.get(E);
|
|
40759
40767
|
}
|
|
40760
|
-
function
|
|
40768
|
+
function Yd(E) {
|
|
40761
40769
|
return this.__data__.has(E);
|
|
40762
40770
|
}
|
|
40763
|
-
function
|
|
40771
|
+
function Xd(E, L) {
|
|
40764
40772
|
var J = this.__data__;
|
|
40765
40773
|
if (J instanceof it) {
|
|
40766
40774
|
var le = J.__data__;
|
|
@@ -40770,11 +40778,11 @@ var su = f9, gd = {}, p9 = {
|
|
|
40770
40778
|
}
|
|
40771
40779
|
return J.set(E, L), this;
|
|
40772
40780
|
}
|
|
40773
|
-
ln.prototype.clear = xs, ln.prototype.delete = el, ln.prototype.get =
|
|
40781
|
+
ln.prototype.clear = xs, ln.prototype.delete = el, ln.prototype.get = Qd, ln.prototype.has = Yd, ln.prototype.set = Xd;
|
|
40774
40782
|
function so(E, L) {
|
|
40775
40783
|
var J = rl(E) || lo(E) ? Te(E.length, String) : [], le = J.length, bt = !!le;
|
|
40776
40784
|
for (var rt in E)
|
|
40777
|
-
(L || st.call(E, rt)) && !(bt && (rt == "length" ||
|
|
40785
|
+
(L || st.call(E, rt)) && !(bt && (rt == "length" || cf(rt, le))) && J.push(rt);
|
|
40778
40786
|
return J;
|
|
40779
40787
|
}
|
|
40780
40788
|
function qc(E, L, J) {
|
|
@@ -40798,8 +40806,8 @@ var su = f9, gd = {}, p9 = {
|
|
|
40798
40806
|
return E;
|
|
40799
40807
|
var dn = rl(E);
|
|
40800
40808
|
if (dn) {
|
|
40801
|
-
if (Lt =
|
|
40802
|
-
return
|
|
40809
|
+
if (Lt = af(E), !L)
|
|
40810
|
+
return rf(E, Lt);
|
|
40803
40811
|
} else {
|
|
40804
40812
|
var zt = pr(E), Rn = zt == h || zt == u;
|
|
40805
40813
|
if (ih(E))
|
|
@@ -40808,11 +40816,11 @@ var su = f9, gd = {}, p9 = {
|
|
|
40808
40816
|
if (mt(E))
|
|
40809
40817
|
return rt ? E : {};
|
|
40810
40818
|
if (Lt = ji(Rn ? {} : E), !L)
|
|
40811
|
-
return
|
|
40819
|
+
return sf(E, Gi(Lt, E));
|
|
40812
40820
|
} else {
|
|
40813
40821
|
if (!ne[zt])
|
|
40814
40822
|
return rt ? E : {};
|
|
40815
|
-
Lt =
|
|
40823
|
+
Lt = lf(E, zt, tl, L);
|
|
40816
40824
|
}
|
|
40817
40825
|
}
|
|
40818
40826
|
St || (St = new ln());
|
|
@@ -40820,28 +40828,28 @@ var su = f9, gd = {}, p9 = {
|
|
|
40820
40828
|
if (Zn)
|
|
40821
40829
|
return Zn;
|
|
40822
40830
|
if (St.set(E, Lt), !dn)
|
|
40823
|
-
var bn = J ?
|
|
40831
|
+
var bn = J ? of(E) : ol(E);
|
|
40824
40832
|
return Be(bn || E, function(On, In) {
|
|
40825
40833
|
bn && (In = On, On = E[In]), qc(Lt, In, tl(On, L, J, le, In, E, St));
|
|
40826
40834
|
}), Lt;
|
|
40827
40835
|
}
|
|
40828
|
-
function
|
|
40836
|
+
function Zd(E) {
|
|
40829
40837
|
return Hi(E) ? $(E) : {};
|
|
40830
40838
|
}
|
|
40831
|
-
function
|
|
40839
|
+
function Jd(E, L, J) {
|
|
40832
40840
|
var le = L(E);
|
|
40833
40841
|
return rl(E) ? le : oe(le, J(E));
|
|
40834
40842
|
}
|
|
40835
|
-
function
|
|
40843
|
+
function qd(E) {
|
|
40836
40844
|
return et.call(E);
|
|
40837
40845
|
}
|
|
40838
|
-
function
|
|
40839
|
-
if (!Hi(E) ||
|
|
40846
|
+
function Kd(E) {
|
|
40847
|
+
if (!Hi(E) || uf(E))
|
|
40840
40848
|
return !1;
|
|
40841
40849
|
var L = sl(E) || mt(E) ? lt : K;
|
|
40842
40850
|
return L.test(Hn(E));
|
|
40843
40851
|
}
|
|
40844
|
-
function
|
|
40852
|
+
function $d(E) {
|
|
40845
40853
|
if (!eh(E))
|
|
40846
40854
|
return Pt(E);
|
|
40847
40855
|
var L = [];
|
|
@@ -40871,18 +40879,18 @@ var su = f9, gd = {}, p9 = {
|
|
|
40871
40879
|
var L = new E.constructor(E.source, q.exec(E));
|
|
40872
40880
|
return L.lastIndex = E.lastIndex, L;
|
|
40873
40881
|
}
|
|
40874
|
-
function
|
|
40882
|
+
function ef(E, L, J) {
|
|
40875
40883
|
var le = L ? J(N(E), !0) : N(E);
|
|
40876
40884
|
return fe(le, we, new E.constructor());
|
|
40877
40885
|
}
|
|
40878
|
-
function
|
|
40886
|
+
function tf(E) {
|
|
40879
40887
|
return ie ? Object(ie.call(E)) : {};
|
|
40880
40888
|
}
|
|
40881
|
-
function
|
|
40889
|
+
function nf(E, L) {
|
|
40882
40890
|
var J = L ? nl(E.buffer) : E.buffer;
|
|
40883
40891
|
return new E.constructor(J, E.byteOffset, E.length);
|
|
40884
40892
|
}
|
|
40885
|
-
function
|
|
40893
|
+
function rf(E, L) {
|
|
40886
40894
|
var J = -1, le = E.length;
|
|
40887
40895
|
for (L || (L = Array(le)); ++J < le; )
|
|
40888
40896
|
L[J] = E[J];
|
|
@@ -40896,21 +40904,21 @@ var su = f9, gd = {}, p9 = {
|
|
|
40896
40904
|
}
|
|
40897
40905
|
return J;
|
|
40898
40906
|
}
|
|
40899
|
-
function
|
|
40907
|
+
function sf(E, L) {
|
|
40900
40908
|
return il(E, fr(E), L);
|
|
40901
40909
|
}
|
|
40902
|
-
function
|
|
40903
|
-
return
|
|
40910
|
+
function of(E) {
|
|
40911
|
+
return Jd(E, ol, fr);
|
|
40904
40912
|
}
|
|
40905
40913
|
function Es(E, L) {
|
|
40906
40914
|
var J = E.__data__;
|
|
40907
|
-
return
|
|
40915
|
+
return hf(L) ? J[typeof L == "string" ? "string" : "hash"] : J.map;
|
|
40908
40916
|
}
|
|
40909
40917
|
function wi(E, L) {
|
|
40910
40918
|
var J = He(E, L);
|
|
40911
|
-
return
|
|
40919
|
+
return Kd(J) ? J : void 0;
|
|
40912
40920
|
}
|
|
40913
|
-
var fr = yt ? Ne(yt, Object) :
|
|
40921
|
+
var fr = yt ? Ne(yt, Object) : ff, pr = qd;
|
|
40914
40922
|
(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) {
|
|
40915
40923
|
var L = et.call(E), J = L == m ? E.constructor : void 0, le = J ? Hn(J) : void 0;
|
|
40916
40924
|
if (le)
|
|
@@ -40928,14 +40936,14 @@ var su = f9, gd = {}, p9 = {
|
|
|
40928
40936
|
}
|
|
40929
40937
|
return L;
|
|
40930
40938
|
});
|
|
40931
|
-
function
|
|
40939
|
+
function af(E) {
|
|
40932
40940
|
var L = E.length, J = E.constructor(L);
|
|
40933
40941
|
return L && typeof E[0] == "string" && st.call(E, "index") && (J.index = E.index, J.input = E.input), J;
|
|
40934
40942
|
}
|
|
40935
40943
|
function ji(E) {
|
|
40936
|
-
return typeof E.constructor == "function" && !eh(E) ?
|
|
40944
|
+
return typeof E.constructor == "function" && !eh(E) ? Zd(Ke(E)) : {};
|
|
40937
40945
|
}
|
|
40938
|
-
function
|
|
40946
|
+
function lf(E, L, J, le) {
|
|
40939
40947
|
var bt = E.constructor;
|
|
40940
40948
|
switch (L) {
|
|
40941
40949
|
case x:
|
|
@@ -40954,7 +40962,7 @@ var su = f9, gd = {}, p9 = {
|
|
|
40954
40962
|
case O:
|
|
40955
40963
|
case G:
|
|
40956
40964
|
case S:
|
|
40957
|
-
return
|
|
40965
|
+
return nf(E, le);
|
|
40958
40966
|
case d:
|
|
40959
40967
|
return Kc(E, le, J);
|
|
40960
40968
|
case f:
|
|
@@ -40963,19 +40971,19 @@ var su = f9, gd = {}, p9 = {
|
|
|
40963
40971
|
case g:
|
|
40964
40972
|
return $c(E);
|
|
40965
40973
|
case y:
|
|
40966
|
-
return
|
|
40974
|
+
return ef(E, le, J);
|
|
40967
40975
|
case A:
|
|
40968
|
-
return
|
|
40976
|
+
return tf(E);
|
|
40969
40977
|
}
|
|
40970
40978
|
}
|
|
40971
|
-
function
|
|
40979
|
+
function cf(E, L) {
|
|
40972
40980
|
return L = L == null ? r : L, !!L && (typeof E == "number" || te.test(E)) && E > -1 && E % 1 == 0 && E < L;
|
|
40973
40981
|
}
|
|
40974
|
-
function
|
|
40982
|
+
function hf(E) {
|
|
40975
40983
|
var L = typeof E;
|
|
40976
40984
|
return L == "string" || L == "number" || L == "symbol" || L == "boolean" ? E !== "__proto__" : E === null;
|
|
40977
40985
|
}
|
|
40978
|
-
function
|
|
40986
|
+
function uf(E) {
|
|
40979
40987
|
return !!Ae && Ae in E;
|
|
40980
40988
|
}
|
|
40981
40989
|
function eh(E) {
|
|
@@ -41002,16 +41010,16 @@ var su = f9, gd = {}, p9 = {
|
|
|
41002
41010
|
return E === L || E !== E && L !== L;
|
|
41003
41011
|
}
|
|
41004
41012
|
function lo(E) {
|
|
41005
|
-
return
|
|
41013
|
+
return df(E) && st.call(E, "callee") && (!We.call(E, "callee") || et.call(E) == s);
|
|
41006
41014
|
}
|
|
41007
41015
|
var rl = Array.isArray;
|
|
41008
41016
|
function co(E) {
|
|
41009
41017
|
return E != null && rh(E.length) && !sl(E);
|
|
41010
41018
|
}
|
|
41011
|
-
function
|
|
41019
|
+
function df(E) {
|
|
41012
41020
|
return sh(E) && co(E);
|
|
41013
41021
|
}
|
|
41014
|
-
var ih = Ye ||
|
|
41022
|
+
var ih = Ye || pf;
|
|
41015
41023
|
function sl(E) {
|
|
41016
41024
|
var L = Hi(E) ? et.call(E) : "";
|
|
41017
41025
|
return L == h || L == u;
|
|
@@ -41027,23 +41035,23 @@ var su = f9, gd = {}, p9 = {
|
|
|
41027
41035
|
return !!E && typeof E == "object";
|
|
41028
41036
|
}
|
|
41029
41037
|
function ol(E) {
|
|
41030
|
-
return co(E) ? so(E) :
|
|
41038
|
+
return co(E) ? so(E) : $d(E);
|
|
41031
41039
|
}
|
|
41032
|
-
function
|
|
41040
|
+
function ff() {
|
|
41033
41041
|
return [];
|
|
41034
41042
|
}
|
|
41035
|
-
function
|
|
41043
|
+
function pf() {
|
|
41036
41044
|
return !1;
|
|
41037
41045
|
}
|
|
41038
41046
|
e.exports = th;
|
|
41039
|
-
})(p9,
|
|
41040
|
-
const m9 =
|
|
41041
|
-
var
|
|
41047
|
+
})(p9, vd);
|
|
41048
|
+
const m9 = vd;
|
|
41049
|
+
var yd = {}, g9 = {
|
|
41042
41050
|
get exports() {
|
|
41043
|
-
return
|
|
41051
|
+
return yd;
|
|
41044
41052
|
},
|
|
41045
41053
|
set exports(e) {
|
|
41046
|
-
|
|
41054
|
+
yd = e;
|
|
41047
41055
|
}
|
|
41048
41056
|
};
|
|
41049
41057
|
(function(e, n) {
|
|
@@ -41190,17 +41198,17 @@ var vd = {}, g9 = {
|
|
|
41190
41198
|
var L = wi(this, E).delete(E);
|
|
41191
41199
|
return this.size -= L ? 1 : 0, L;
|
|
41192
41200
|
}
|
|
41193
|
-
function
|
|
41201
|
+
function Qd(E) {
|
|
41194
41202
|
return wi(this, E).get(E);
|
|
41195
41203
|
}
|
|
41196
|
-
function
|
|
41204
|
+
function Yd(E) {
|
|
41197
41205
|
return wi(this, E).has(E);
|
|
41198
41206
|
}
|
|
41199
|
-
function
|
|
41207
|
+
function Xd(E, L) {
|
|
41200
41208
|
var J = wi(this, E), le = J.size;
|
|
41201
41209
|
return J.set(E, L), this.size += J.size == le ? 0 : 1, this;
|
|
41202
41210
|
}
|
|
41203
|
-
ln.prototype.clear = xs, ln.prototype.delete = el, ln.prototype.get =
|
|
41211
|
+
ln.prototype.clear = xs, ln.prototype.delete = el, ln.prototype.get = Qd, ln.prototype.has = Yd, ln.prototype.set = Xd;
|
|
41204
41212
|
function so(E) {
|
|
41205
41213
|
var L = -1, J = E == null ? 0 : E.length;
|
|
41206
41214
|
for (this.__data__ = new ln(); ++L < J; )
|
|
@@ -41220,17 +41228,17 @@ var vd = {}, g9 = {
|
|
|
41220
41228
|
function tl() {
|
|
41221
41229
|
this.__data__ = new Dt(), this.size = 0;
|
|
41222
41230
|
}
|
|
41223
|
-
function
|
|
41231
|
+
function Zd(E) {
|
|
41224
41232
|
var L = this.__data__, J = L.delete(E);
|
|
41225
41233
|
return this.size = L.size, J;
|
|
41226
41234
|
}
|
|
41227
|
-
function
|
|
41235
|
+
function Jd(E) {
|
|
41228
41236
|
return this.__data__.get(E);
|
|
41229
41237
|
}
|
|
41230
|
-
function
|
|
41238
|
+
function qd(E) {
|
|
41231
41239
|
return this.__data__.has(E);
|
|
41232
41240
|
}
|
|
41233
|
-
function
|
|
41241
|
+
function Kd(E, L) {
|
|
41234
41242
|
var J = this.__data__;
|
|
41235
41243
|
if (J instanceof Dt) {
|
|
41236
41244
|
var le = J.__data__;
|
|
@@ -41240,15 +41248,15 @@ var vd = {}, g9 = {
|
|
|
41240
41248
|
}
|
|
41241
41249
|
return J.set(E, L), this.size = J.size, this;
|
|
41242
41250
|
}
|
|
41243
|
-
Gi.prototype.clear = tl, Gi.prototype.delete =
|
|
41244
|
-
function
|
|
41251
|
+
Gi.prototype.clear = tl, Gi.prototype.delete = Zd, Gi.prototype.get = Jd, Gi.prototype.has = qd, Gi.prototype.set = Kd;
|
|
41252
|
+
function $d(E, L) {
|
|
41245
41253
|
var J = lo(E), le = !J && nh(E), bt = !J && !le && co(E), rt = !J && !le && !bt && sh(E), St = J || le || bt || rt, Lt = St ? j(E.length, String) : [], dn = Lt.length;
|
|
41246
41254
|
for (var zt in E)
|
|
41247
41255
|
(L || Ke.call(E, zt)) && !(St && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
41248
41256
|
(zt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
41249
41257
|
bt && (zt == "offset" || zt == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
41250
41258
|
rt && (zt == "buffer" || zt == "byteLength" || zt == "byteOffset") || // Skip index properties.
|
|
41251
|
-
|
|
41259
|
+
lf(zt, dn))) && Lt.push(zt);
|
|
41252
41260
|
return Lt;
|
|
41253
41261
|
}
|
|
41254
41262
|
function ao(E, L) {
|
|
@@ -41268,9 +41276,9 @@ var vd = {}, g9 = {
|
|
|
41268
41276
|
return Hi(E) && Ms(E) == a;
|
|
41269
41277
|
}
|
|
41270
41278
|
function $c(E, L, J, le, bt) {
|
|
41271
|
-
return E === L ? !0 : E == null || L == null || !Hi(E) && !Hi(L) ? E !== E && L !== L :
|
|
41279
|
+
return E === L ? !0 : E == null || L == null || !Hi(E) && !Hi(L) ? E !== E && L !== L : ef(E, L, J, le, $c, bt);
|
|
41272
41280
|
}
|
|
41273
|
-
function
|
|
41281
|
+
function ef(E, L, J, le, bt, rt) {
|
|
41274
41282
|
var St = lo(E), Lt = lo(L), dn = St ? l : ji(E), zt = Lt ? l : ji(L);
|
|
41275
41283
|
dn = dn == a ? b : dn, zt = zt == a ? b : zt;
|
|
41276
41284
|
var Rn = dn == b, Zn = zt == b, bn = dn == zt;
|
|
@@ -41280,7 +41288,7 @@ var vd = {}, g9 = {
|
|
|
41280
41288
|
St = !0, Rn = !1;
|
|
41281
41289
|
}
|
|
41282
41290
|
if (bn && !Rn)
|
|
41283
|
-
return rt || (rt = new Gi()), St || sh(E) ? il(E, L, J, le, bt, rt) :
|
|
41291
|
+
return rt || (rt = new Gi()), St || sh(E) ? il(E, L, J, le, bt, rt) : sf(E, L, dn, J, le, bt, rt);
|
|
41284
41292
|
if (!(J & r)) {
|
|
41285
41293
|
var On = Rn && Ke.call(E, "__wrapped__"), In = Zn && Ke.call(L, "__wrapped__");
|
|
41286
41294
|
if (On || In) {
|
|
@@ -41288,19 +41296,19 @@ var vd = {}, g9 = {
|
|
|
41288
41296
|
return rt || (rt = new Gi()), bt(Fr, mr, J, le, rt);
|
|
41289
41297
|
}
|
|
41290
41298
|
}
|
|
41291
|
-
return bn ? (rt || (rt = new Gi()),
|
|
41299
|
+
return bn ? (rt || (rt = new Gi()), of(E, L, J, le, bt, rt)) : !1;
|
|
41292
41300
|
}
|
|
41293
|
-
function
|
|
41294
|
-
if (!rh(E) ||
|
|
41301
|
+
function tf(E) {
|
|
41302
|
+
if (!rh(E) || hf(E))
|
|
41295
41303
|
return !1;
|
|
41296
41304
|
var L = ih(E) ? $e : ye;
|
|
41297
41305
|
return L.test(Hn(E));
|
|
41298
41306
|
}
|
|
41299
|
-
function
|
|
41307
|
+
function nf(E) {
|
|
41300
41308
|
return Hi(E) && sl(E.length) && !!be[Ms(E)];
|
|
41301
41309
|
}
|
|
41302
|
-
function
|
|
41303
|
-
if (!
|
|
41310
|
+
function rf(E) {
|
|
41311
|
+
if (!uf(E))
|
|
41304
41312
|
return an(E);
|
|
41305
41313
|
var L = [];
|
|
41306
41314
|
for (var J in Object(E))
|
|
@@ -41340,7 +41348,7 @@ var vd = {}, g9 = {
|
|
|
41340
41348
|
}
|
|
41341
41349
|
return rt.delete(E), rt.delete(L), Zn;
|
|
41342
41350
|
}
|
|
41343
|
-
function
|
|
41351
|
+
function sf(E, L, J, le, bt, rt, St) {
|
|
41344
41352
|
switch (J) {
|
|
41345
41353
|
case k:
|
|
41346
41354
|
if (E.byteLength != L.byteLength || E.byteOffset != L.byteOffset)
|
|
@@ -41375,7 +41383,7 @@ var vd = {}, g9 = {
|
|
|
41375
41383
|
}
|
|
41376
41384
|
return !1;
|
|
41377
41385
|
}
|
|
41378
|
-
function
|
|
41386
|
+
function of(E, L, J, le, bt, rt) {
|
|
41379
41387
|
var St = J & r, Lt = Es(E), dn = Lt.length, zt = Es(L), Rn = zt.length;
|
|
41380
41388
|
if (dn != Rn && !St)
|
|
41381
41389
|
return !1;
|
|
@@ -41407,15 +41415,15 @@ var vd = {}, g9 = {
|
|
|
41407
41415
|
return rt.delete(E), rt.delete(L), In;
|
|
41408
41416
|
}
|
|
41409
41417
|
function Es(E) {
|
|
41410
|
-
return nl(E, ol,
|
|
41418
|
+
return nl(E, ol, af);
|
|
41411
41419
|
}
|
|
41412
41420
|
function wi(E, L) {
|
|
41413
41421
|
var J = E.__data__;
|
|
41414
|
-
return
|
|
41422
|
+
return cf(L) ? J[typeof L == "string" ? "string" : "hash"] : J.map;
|
|
41415
41423
|
}
|
|
41416
41424
|
function fr(E, L) {
|
|
41417
41425
|
var J = qe(E, L);
|
|
41418
|
-
return
|
|
41426
|
+
return tf(J) ? J : void 0;
|
|
41419
41427
|
}
|
|
41420
41428
|
function pr(E) {
|
|
41421
41429
|
var L = Ke.call(E, Xt), J = E[Xt];
|
|
@@ -41427,11 +41435,11 @@ var vd = {}, g9 = {
|
|
|
41427
41435
|
var bt = We.call(E);
|
|
41428
41436
|
return le && (L ? E[Xt] = J : delete E[Xt]), bt;
|
|
41429
41437
|
}
|
|
41430
|
-
var
|
|
41438
|
+
var af = kt ? function(E) {
|
|
41431
41439
|
return E == null ? [] : (E = Object(E), xe(kt(E), function(L) {
|
|
41432
41440
|
return Ot.call(E, L);
|
|
41433
41441
|
}));
|
|
41434
|
-
} :
|
|
41442
|
+
} : ff, ji = Ms;
|
|
41435
41443
|
(_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) {
|
|
41436
41444
|
var L = Ms(E), J = L == b ? E.constructor : void 0, le = J ? Hn(J) : "";
|
|
41437
41445
|
if (le)
|
|
@@ -41449,17 +41457,17 @@ var vd = {}, g9 = {
|
|
|
41449
41457
|
}
|
|
41450
41458
|
return L;
|
|
41451
41459
|
});
|
|
41452
|
-
function
|
|
41460
|
+
function lf(E, L) {
|
|
41453
41461
|
return L = L == null ? o : L, !!L && (typeof E == "number" || Je.test(E)) && E > -1 && E % 1 == 0 && E < L;
|
|
41454
41462
|
}
|
|
41455
|
-
function
|
|
41463
|
+
function cf(E) {
|
|
41456
41464
|
var L = typeof E;
|
|
41457
41465
|
return L == "string" || L == "number" || L == "symbol" || L == "boolean" ? E !== "__proto__" : E === null;
|
|
41458
41466
|
}
|
|
41459
|
-
function
|
|
41467
|
+
function hf(E) {
|
|
41460
41468
|
return !!$ && $ in E;
|
|
41461
41469
|
}
|
|
41462
|
-
function
|
|
41470
|
+
function uf(E) {
|
|
41463
41471
|
var L = E && E.constructor, J = typeof L == "function" && L.prototype || Re;
|
|
41464
41472
|
return E === J;
|
|
41465
41473
|
}
|
|
@@ -41490,8 +41498,8 @@ var vd = {}, g9 = {
|
|
|
41490
41498
|
function rl(E) {
|
|
41491
41499
|
return E != null && sl(E.length) && !ih(E);
|
|
41492
41500
|
}
|
|
41493
|
-
var co = on ||
|
|
41494
|
-
function
|
|
41501
|
+
var co = on || pf;
|
|
41502
|
+
function df(E, L) {
|
|
41495
41503
|
return $c(E, L);
|
|
41496
41504
|
}
|
|
41497
41505
|
function ih(E) {
|
|
@@ -41510,19 +41518,19 @@ var vd = {}, g9 = {
|
|
|
41510
41518
|
function Hi(E) {
|
|
41511
41519
|
return E != null && typeof E == "object";
|
|
41512
41520
|
}
|
|
41513
|
-
var sh = mt ? Ce(mt) :
|
|
41521
|
+
var sh = mt ? Ce(mt) : nf;
|
|
41514
41522
|
function ol(E) {
|
|
41515
|
-
return rl(E) ?
|
|
41523
|
+
return rl(E) ? $d(E) : rf(E);
|
|
41516
41524
|
}
|
|
41517
|
-
function
|
|
41525
|
+
function ff() {
|
|
41518
41526
|
return [];
|
|
41519
41527
|
}
|
|
41520
|
-
function
|
|
41528
|
+
function pf() {
|
|
41521
41529
|
return !1;
|
|
41522
41530
|
}
|
|
41523
|
-
e.exports =
|
|
41524
|
-
})(g9,
|
|
41525
|
-
const v9 =
|
|
41531
|
+
e.exports = df;
|
|
41532
|
+
})(g9, yd);
|
|
41533
|
+
const v9 = yd, y9 = (e, n) => v9(e, n), b9 = (e) => Object.keys(e || {}), A9 = (e, n) => {
|
|
41526
41534
|
const t = {};
|
|
41527
41535
|
return e.forEach((i) => {
|
|
41528
41536
|
t[i] = n[i];
|
|
@@ -41789,7 +41797,7 @@ function S9(e) {
|
|
|
41789
41797
|
},
|
|
41790
41798
|
methods: {
|
|
41791
41799
|
_prev({ data: o }) {
|
|
41792
|
-
o.currentParticleIndex =
|
|
41800
|
+
o.currentParticleIndex = hp({
|
|
41793
41801
|
infinite: o.infinite,
|
|
41794
41802
|
pageIndex: o.currentPageIndex - 1,
|
|
41795
41803
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -41800,7 +41808,7 @@ function S9(e) {
|
|
|
41800
41808
|
});
|
|
41801
41809
|
},
|
|
41802
41810
|
_next({ data: o }) {
|
|
41803
|
-
o.currentParticleIndex =
|
|
41811
|
+
o.currentParticleIndex = hp({
|
|
41804
41812
|
infinite: o.infinite,
|
|
41805
41813
|
pageIndex: o.currentPageIndex + 1,
|
|
41806
41814
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -41879,7 +41887,7 @@ function S9(e) {
|
|
|
41879
41887
|
});
|
|
41880
41888
|
},
|
|
41881
41889
|
_getParticleIndexByPageIndex({ data: o }, a) {
|
|
41882
|
-
return
|
|
41890
|
+
return hp({
|
|
41883
41891
|
infinite: o.infinite,
|
|
41884
41892
|
pageIndex: a,
|
|
41885
41893
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -42474,7 +42482,7 @@ function F9(e, n, t) {
|
|
|
42474
42482
|
pagesCount: () => t(10, h = Ne),
|
|
42475
42483
|
loaded: () => t(6, s = Ne)
|
|
42476
42484
|
})(xe);
|
|
42477
|
-
}), p =
|
|
42485
|
+
}), p = Bd();
|
|
42478
42486
|
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;
|
|
42479
42487
|
function G(xe, Ne) {
|
|
42480
42488
|
return ee(this, null, function* () {
|
|
@@ -43013,7 +43021,7 @@ function Y9(e, n, t) {
|
|
|
43013
43021
|
s.videoInstance = k, t(0, s);
|
|
43014
43022
|
});
|
|
43015
43023
|
}
|
|
43016
|
-
const z = () => l === "withText" ? jg : l === "withoutText" ?
|
|
43024
|
+
const z = () => l === "withText" ? jg : l === "withoutText" ? Vm : l, D = (k) => {
|
|
43017
43025
|
h && i && (t(10, i.muted = !1, i), i.play());
|
|
43018
43026
|
};
|
|
43019
43027
|
return e.$$set = (k) => {
|
|
@@ -44331,7 +44339,7 @@ function hN(e) {
|
|
|
44331
44339
|
}
|
|
44332
44340
|
function uN(e, n, t) {
|
|
44333
44341
|
let { $$slots: i = {}, $$scope: r } = n, { url: s } = n, { enable: o = !0 } = n, { style: a = "" } = n, { hooksInfo: l } = n;
|
|
44334
|
-
const c =
|
|
44342
|
+
const c = Bd(), h = fs("hooks"), u = fs("mediaStore");
|
|
44335
44343
|
let d, f = !0;
|
|
44336
44344
|
function m() {
|
|
44337
44345
|
t(
|
|
@@ -45423,7 +45431,7 @@ let RN = class extends ke {
|
|
|
45423
45431
|
super(), Le(this, n, kN, LN, De, { tag: 0 }, DN);
|
|
45424
45432
|
}
|
|
45425
45433
|
};
|
|
45426
|
-
const
|
|
45434
|
+
const dp = /* @__PURE__ */ new Map();
|
|
45427
45435
|
function RM(e) {
|
|
45428
45436
|
return ee(this, null, function* () {
|
|
45429
45437
|
return new Promise((n, t) => {
|
|
@@ -45439,10 +45447,10 @@ function RM(e) {
|
|
|
45439
45447
|
function ON(e) {
|
|
45440
45448
|
return ee(this, null, function* () {
|
|
45441
45449
|
const { url: n, ratio: t = 3 } = e, i = (() => {
|
|
45442
|
-
if (
|
|
45443
|
-
return
|
|
45450
|
+
if (dp.has(n))
|
|
45451
|
+
return dp.get(n);
|
|
45444
45452
|
const o = RM(n);
|
|
45445
|
-
return
|
|
45453
|
+
return dp.set(n, o), o;
|
|
45446
45454
|
})(), { width: r, height: s } = yield i;
|
|
45447
45455
|
return Me(R({}, e), {
|
|
45448
45456
|
width: r / t,
|
|
@@ -45557,7 +45565,7 @@ function NN(e) {
|
|
|
45557
45565
|
catch: VN,
|
|
45558
45566
|
value: 19
|
|
45559
45567
|
};
|
|
45560
|
-
return
|
|
45568
|
+
return hd(
|
|
45561
45569
|
t = /*getImage*/
|
|
45562
45570
|
e[11](tn({
|
|
45563
45571
|
url: (
|
|
@@ -45589,7 +45597,7 @@ function NN(e) {
|
|
|
45589
45597
|
/*iconRatio*/
|
|
45590
45598
|
e[5]
|
|
45591
45599
|
)
|
|
45592
|
-
}))) &&
|
|
45600
|
+
}))) && hd(t, i) || Px(i, e, s);
|
|
45593
45601
|
},
|
|
45594
45602
|
d(r) {
|
|
45595
45603
|
r && Y(n), i.block.d(r), i.token = null, i = null;
|
|
@@ -45607,7 +45615,7 @@ function FN(e) {
|
|
|
45607
45615
|
catch: HN,
|
|
45608
45616
|
value: 19
|
|
45609
45617
|
};
|
|
45610
|
-
return
|
|
45618
|
+
return hd(
|
|
45611
45619
|
t = /*getKeyframe*/
|
|
45612
45620
|
e[10](tn({
|
|
45613
45621
|
url: (
|
|
@@ -45655,7 +45663,7 @@ function FN(e) {
|
|
|
45655
45663
|
/*iconRatio*/
|
|
45656
45664
|
e[5]
|
|
45657
45665
|
)
|
|
45658
|
-
}))) &&
|
|
45666
|
+
}))) && hd(t, i) || Px(i, e, s);
|
|
45659
45667
|
},
|
|
45660
45668
|
d(r) {
|
|
45661
45669
|
r && Y(n), i.block.d(r), i.token = null, i = null;
|
|
@@ -45863,7 +45871,7 @@ function Qo(e) {
|
|
|
45863
45871
|
}
|
|
45864
45872
|
function YN(e, n, t) {
|
|
45865
45873
|
let i, r, s, o, a, l, c, h, u, { width: d = null } = n, { icon: f = null } = n, { shadow: m = !1 } = n;
|
|
45866
|
-
const p =
|
|
45874
|
+
const p = Bd();
|
|
45867
45875
|
function g(A) {
|
|
45868
45876
|
return ee(this, null, function* () {
|
|
45869
45877
|
const w = yield zN(A);
|
|
@@ -46164,7 +46172,7 @@ function i8(e) {
|
|
|
46164
46172
|
let n, t;
|
|
46165
46173
|
return {
|
|
46166
46174
|
c() {
|
|
46167
|
-
n = new
|
|
46175
|
+
n = new sd(!1), t = ft(), n.a = t;
|
|
46168
46176
|
},
|
|
46169
46177
|
m(i, r) {
|
|
46170
46178
|
n.m(
|
|
@@ -46257,7 +46265,7 @@ function c8(e) {
|
|
|
46257
46265
|
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);
|
|
46258
46266
|
return s === a && o === l && c === h;
|
|
46259
46267
|
}
|
|
46260
|
-
class
|
|
46268
|
+
class fp extends C.Mesh {
|
|
46261
46269
|
/**
|
|
46262
46270
|
* @description 生成一个四边形的Mesh
|
|
46263
46271
|
* @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
|
|
@@ -46473,7 +46481,7 @@ class FM extends BM {
|
|
|
46473
46481
|
v(this, "buttonMesh");
|
|
46474
46482
|
v(this, "videoTextureMap");
|
|
46475
46483
|
v(this, "ImageTextureMap");
|
|
46476
|
-
this.cornerPoints = i, this.src = t, this.buttonSrc = (() => a === "withText" ? jg : a === "withoutText" ?
|
|
46484
|
+
this.cornerPoints = i, this.src = t, this.buttonSrc = (() => a === "withText" ? jg : a === "withoutText" ? Vm : typeof a == "string" ? a : Vm)(), 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(() => {
|
|
46477
46485
|
l ? this.addButtonMesh() : this.play(!0);
|
|
46478
46486
|
}), this.addEventListener("removed", () => {
|
|
46479
46487
|
this.remove(...this.children);
|
|
@@ -46520,7 +46528,7 @@ class FM extends BM {
|
|
|
46520
46528
|
return this.coverMesh;
|
|
46521
46529
|
if (!this.videoCoverSrc)
|
|
46522
46530
|
return;
|
|
46523
|
-
const { texture: i, transparent: r } = yield this.getImageTexture(this.videoCoverSrc), s = new C.MeshBasicMaterial({ transparent: !1, map: i }), o = Sl(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new
|
|
46531
|
+
const { texture: i, transparent: r } = yield this.getImageTexture(this.videoCoverSrc), s = new C.MeshBasicMaterial({ transparent: !1, map: i }), o = Sl(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new fp(o, s);
|
|
46524
46532
|
return a.position.copy(new Se(0, 0, 0)), a.name = "videoCoverMesh", a;
|
|
46525
46533
|
}))();
|
|
46526
46534
|
return t && (this.children.includes(this.coverMesh) || (this.add(t), this.coverMesh = t)), t;
|
|
@@ -46540,7 +46548,7 @@ class FM extends BM {
|
|
|
46540
46548
|
"videoLoaded",
|
|
46541
46549
|
() => l(Sl(this.objectFit, this.cornerPoints, r.image.videoWidth / r.image.videoHeight))
|
|
46542
46550
|
);
|
|
46543
|
-
}), a = new
|
|
46551
|
+
}), a = new fp(o, s);
|
|
46544
46552
|
return a.name = "videoMesh", a.position.copy(new Se(0, 0, 0)), a;
|
|
46545
46553
|
}))();
|
|
46546
46554
|
if (!t)
|
|
@@ -46569,7 +46577,7 @@ class FM extends BM {
|
|
|
46569
46577
|
var f, m, p, g;
|
|
46570
46578
|
if (this.buttonMesh)
|
|
46571
46579
|
return this.buttonMesh;
|
|
46572
|
-
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 = Sl("contain", this.cornerPoints, l.image.width / l.image.height), u = new
|
|
46580
|
+
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 = Sl("contain", this.cornerPoints, l.image.width / l.image.height), u = new fp(h, new f8(l));
|
|
46573
46581
|
u.position.copy(new Se(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
|
|
46574
46582
|
u,
|
|
46575
46583
|
"click",
|
|
@@ -46624,7 +46632,7 @@ const p8 = {
|
|
|
46624
46632
|
renderType: "Dom"
|
|
46625
46633
|
};
|
|
46626
46634
|
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 || {});
|
|
46627
|
-
function
|
|
46635
|
+
function pp(e, n, t) {
|
|
46628
46636
|
var f, m, p, g, y;
|
|
46629
46637
|
const i = (f = t == null ? void 0 : t.useCache) != null ? f : !0;
|
|
46630
46638
|
if (!e)
|
|
@@ -46761,7 +46769,7 @@ class $g {
|
|
|
46761
46769
|
t.stickType = i;
|
|
46762
46770
|
const r = JSON.parse(JSON.stringify(t.data)), s = (l = t.initialConfig) != null ? l : t.config ? JSON.parse(JSON.stringify(t.config)) : {};
|
|
46763
46771
|
t.initialConfig = s;
|
|
46764
|
-
const o =
|
|
46772
|
+
const o = pp(t, n.config), a = this.getConfig(t);
|
|
46765
46773
|
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({
|
|
46766
46774
|
visible: void 0,
|
|
46767
46775
|
unfolded: !this.can("fold")
|
|
@@ -46788,12 +46796,12 @@ class $g {
|
|
|
46788
46796
|
return this.plugin.workUtil;
|
|
46789
46797
|
}
|
|
46790
46798
|
get centerPosition() {
|
|
46791
|
-
const n =
|
|
46799
|
+
const n = jm(this);
|
|
46792
46800
|
return lr(...Array.isArray(n) ? n : [n]);
|
|
46793
46801
|
}
|
|
46794
46802
|
get currentConfig() {
|
|
46795
46803
|
var r, s;
|
|
46796
|
-
const n =
|
|
46804
|
+
const n = pp(this, this.plugin.config, { useCache: !0 }), t = this.five.getCurrentState().mode, i = (r = n.configWithFiveMode) == null ? void 0 : r[t];
|
|
46797
46805
|
return (s = i != null ? i : n) != null ? s : {};
|
|
46798
46806
|
}
|
|
46799
46807
|
get currentVisible() {
|
|
@@ -46865,7 +46873,7 @@ class $g {
|
|
|
46865
46873
|
console.warn("tagDom is empty");
|
|
46866
46874
|
return;
|
|
46867
46875
|
}
|
|
46868
|
-
yield (r ?
|
|
46876
|
+
yield (r ? Rd : lx)(s, R({
|
|
46869
46877
|
begin: () => {
|
|
46870
46878
|
r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
46871
46879
|
},
|
|
@@ -46954,7 +46962,7 @@ class $g {
|
|
|
46954
46962
|
}
|
|
46955
46963
|
getConfig(n, t) {
|
|
46956
46964
|
var o, a, l;
|
|
46957
|
-
const i =
|
|
46965
|
+
const i = pp(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];
|
|
46958
46966
|
return (l = s != null ? s : i) != null ? l : {};
|
|
46959
46967
|
}
|
|
46960
46968
|
getDistance(n, t = 3) {
|
|
@@ -47132,7 +47140,7 @@ class $g {
|
|
|
47132
47140
|
(() => {
|
|
47133
47141
|
var f;
|
|
47134
47142
|
const d = (f = t.checkPoints) != null ? f : "center";
|
|
47135
|
-
return d === "center" ? Zb(this) : d === "corner" ?
|
|
47143
|
+
return d === "center" ? Zb(this) : d === "corner" ? jm(this) : Array.isArray(d) ? d : [];
|
|
47136
47144
|
})()
|
|
47137
47145
|
);
|
|
47138
47146
|
let o = 0, a = 0;
|
|
@@ -47910,7 +47918,7 @@ function T8(e) {
|
|
|
47910
47918
|
}
|
|
47911
47919
|
function D8(e, n, t) {
|
|
47912
47920
|
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;
|
|
47913
|
-
|
|
47921
|
+
Tm("hooks", h), Tm("mediaStore", m);
|
|
47914
47922
|
let g, y;
|
|
47915
47923
|
function b(I) {
|
|
47916
47924
|
I ? h.emit("exposure", { id: o, type: "start" }) : h.emit("exposure", { id: o, type: "end" });
|
|
@@ -48385,7 +48393,7 @@ class k8 extends ws {
|
|
|
48385
48393
|
get css3DRenderPlugin() {
|
|
48386
48394
|
var t, i, r;
|
|
48387
48395
|
if (!this._css3DRenderPlugin) {
|
|
48388
|
-
const s =
|
|
48396
|
+
const s = zd(this.five);
|
|
48389
48397
|
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 : "");
|
|
48390
48398
|
}
|
|
48391
48399
|
return this._css3DRenderPlugin;
|
|
@@ -49521,7 +49529,7 @@ function eF(e) {
|
|
|
49521
49529
|
}
|
|
49522
49530
|
function tF(e, n, t) {
|
|
49523
49531
|
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;
|
|
49524
|
-
return
|
|
49532
|
+
return Tm("hooks", r), e.$$set = (u) => {
|
|
49525
49533
|
"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);
|
|
49526
49534
|
}, [
|
|
49527
49535
|
i,
|
|
@@ -49917,12 +49925,12 @@ class Wm extends R8 {
|
|
|
49917
49925
|
this.state.enabled && (this.filterPointTag.forEach((c) => c.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
49918
49926
|
}, r = () => {
|
|
49919
49927
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
49920
|
-
}, { observe: s, unobserve: o } =
|
|
49928
|
+
}, { observe: s, unobserve: o } = nd(
|
|
49921
49929
|
Jb(() => {
|
|
49922
49930
|
this.store.resizeObserverDisposer && r();
|
|
49923
49931
|
}, 500),
|
|
49924
49932
|
t
|
|
49925
|
-
), { observe: a, unobserve: l } =
|
|
49933
|
+
), { observe: a, unobserve: l } = nd(
|
|
49926
49934
|
DO(() => i(), 400),
|
|
49927
49935
|
t
|
|
49928
49936
|
);
|
|
@@ -50587,7 +50595,7 @@ class Qm {
|
|
|
50587
50595
|
var n, t, i, r, s, o;
|
|
50588
50596
|
if (this.disposed)
|
|
50589
50597
|
return this.logError("disposed");
|
|
50590
|
-
|
|
50598
|
+
Rd([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], {
|
|
50591
50599
|
loop: 6,
|
|
50592
50600
|
updateRender: () => {
|
|
50593
50601
|
this.five.needsRender = !0;
|
|
@@ -50681,7 +50689,7 @@ function hF(e) {
|
|
|
50681
50689
|
const LG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50682
50690
|
__proto__: null,
|
|
50683
50691
|
GuideLineModeItem: Qm
|
|
50684
|
-
}, Symbol.toStringTag, { value: "Module" })), HM = "CruisePlugin",
|
|
50692
|
+
}, Symbol.toStringTag, { value: "Module" })), HM = "CruisePlugin", mp = `${HM}`;
|
|
50685
50693
|
class UM extends ws {
|
|
50686
50694
|
constructor(t, i) {
|
|
50687
50695
|
super(t, i);
|
|
@@ -50702,13 +50710,13 @@ class UM extends ws {
|
|
|
50702
50710
|
});
|
|
50703
50711
|
v(this, "GuideLine");
|
|
50704
50712
|
v(this, "disposedErrorLog", () => {
|
|
50705
|
-
console.error(`${
|
|
50713
|
+
console.error(`${mp} is disposed`);
|
|
50706
50714
|
});
|
|
50707
50715
|
v(this, "disableWarnLog", () => {
|
|
50708
|
-
console.warn(`${
|
|
50716
|
+
console.warn(`${mp} is disabled`);
|
|
50709
50717
|
});
|
|
50710
50718
|
v(this, "disableErrorLog", () => {
|
|
50711
|
-
console.error(`${
|
|
50719
|
+
console.error(`${mp} is disabled`);
|
|
50712
50720
|
});
|
|
50713
50721
|
this.config = i, Object.assign(window, { [`__${HM}_DEBUG__`]: this });
|
|
50714
50722
|
}
|
|
@@ -50856,7 +50864,7 @@ class UM extends ws {
|
|
|
50856
50864
|
i != null && i.warnLog && this.disableWarnLog();
|
|
50857
50865
|
}
|
|
50858
50866
|
}
|
|
50859
|
-
function
|
|
50867
|
+
function gp(e, n, t) {
|
|
50860
50868
|
var l, c, h;
|
|
50861
50869
|
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 } = Hc(s);
|
|
50862
50870
|
return { offset: r.clone(), longitude: o, latitude: a, distance: 0 };
|
|
@@ -50874,7 +50882,7 @@ let WM = class extends UM {
|
|
|
50874
50882
|
this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: i });
|
|
50875
50883
|
});
|
|
50876
50884
|
v(this, "moveToStart", () => {
|
|
50877
|
-
this.five.setState(Me(R({},
|
|
50885
|
+
this.five.setState(Me(R({}, gp(this.curve, 0, this.curveOffset)), { mode: "Model" }));
|
|
50878
50886
|
});
|
|
50879
50887
|
v(this, "playFromStart", () => {
|
|
50880
50888
|
this.clearPauseData(), this.setState({ playing: !0 });
|
|
@@ -50943,7 +50951,7 @@ let WM = class extends UM {
|
|
|
50943
50951
|
const r = this.getPauseData();
|
|
50944
50952
|
let s = (l = r == null ? void 0 : r.playedProgress) != null ? l : 0;
|
|
50945
50953
|
(s < 0 || s >= 1) && (s = 0);
|
|
50946
|
-
const o =
|
|
50954
|
+
const o = gp(this.curve, s, this.curveOffset);
|
|
50947
50955
|
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) {
|
|
50948
50956
|
const c = this.addInterruptListener(() => {
|
|
50949
50957
|
this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
|
|
@@ -50956,7 +50964,7 @@ let WM = class extends UM {
|
|
|
50956
50964
|
else if (this.state.playing === !1)
|
|
50957
50965
|
this.five.off("renderFrame", a);
|
|
50958
50966
|
else if (c >= 0) {
|
|
50959
|
-
const h =
|
|
50967
|
+
const h = gp(this.curve, c, this.curveOffset);
|
|
50960
50968
|
this.hooks.emit("progressChange", c), this.five.setState(h, !0);
|
|
50961
50969
|
}
|
|
50962
50970
|
};
|
|
@@ -51735,7 +51743,7 @@ function CF(e, n) {
|
|
|
51735
51743
|
y: -(e.y - r) / i * 2 + 1
|
|
51736
51744
|
});
|
|
51737
51745
|
}
|
|
51738
|
-
function
|
|
51746
|
+
function Wd(e, n, t) {
|
|
51739
51747
|
if (!n || !t || !e)
|
|
51740
51748
|
return;
|
|
51741
51749
|
const i = CF(n, t);
|
|
@@ -51747,7 +51755,7 @@ function Ud(e, n, t) {
|
|
|
51747
51755
|
function PF(e, n) {
|
|
51748
51756
|
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);
|
|
51749
51757
|
}
|
|
51750
|
-
class
|
|
51758
|
+
class vp extends EF {
|
|
51751
51759
|
constructor(t) {
|
|
51752
51760
|
var h;
|
|
51753
51761
|
super(t.direction);
|
|
@@ -51777,20 +51785,20 @@ class gp extends EF {
|
|
|
51777
51785
|
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);
|
|
51778
51786
|
}
|
|
51779
51787
|
}
|
|
51780
|
-
const
|
|
51788
|
+
const yp = {
|
|
51781
51789
|
X: 15618642,
|
|
51782
51790
|
Y: 4765519,
|
|
51783
51791
|
Z: 4227839
|
|
51784
51792
|
};
|
|
51785
51793
|
class na {
|
|
51786
51794
|
static get X() {
|
|
51787
|
-
return new C.Color(
|
|
51795
|
+
return new C.Color(yp.X).convertSRGBToLinear().clone();
|
|
51788
51796
|
}
|
|
51789
51797
|
static get Y() {
|
|
51790
|
-
return new C.Color(
|
|
51798
|
+
return new C.Color(yp.Y).convertSRGBToLinear().clone();
|
|
51791
51799
|
}
|
|
51792
51800
|
static get Z() {
|
|
51793
|
-
return new C.Color(
|
|
51801
|
+
return new C.Color(yp.Z).convertSRGBToLinear().clone();
|
|
51794
51802
|
}
|
|
51795
51803
|
}
|
|
51796
51804
|
function iv(e, n) {
|
|
@@ -51803,7 +51811,7 @@ class _F extends bF {
|
|
|
51803
51811
|
v(this, "xArrow");
|
|
51804
51812
|
v(this, "yArrow");
|
|
51805
51813
|
v(this, "zArrow");
|
|
51806
|
-
i.xArrowEnable !== !1 && (this.xArrow = new
|
|
51814
|
+
i.xArrowEnable !== !1 && (this.xArrow = new vp({ direction: "x", color: na.X })), i.yArrowEnable !== !1 && (this.yArrow = new vp({ direction: "y", color: na.Y })), i.zArrowEnable !== !1 && (this.zArrow = new vp({ direction: "z", color: na.Z })), this.add(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean));
|
|
51807
51815
|
}
|
|
51808
51816
|
show() {
|
|
51809
51817
|
super.show(), this.xArrow && (this.xArrow.visible = !0), this.yArrow && (this.yArrow.visible = !0), this.zArrow && (this.zArrow.visible = !0);
|
|
@@ -51863,7 +51871,7 @@ class TF extends wF {
|
|
|
51863
51871
|
v(this, "children", []);
|
|
51864
51872
|
v(this, "angleTips");
|
|
51865
51873
|
v(this, "container");
|
|
51866
|
-
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new
|
|
51874
|
+
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new bp({ direction: "x", color: na.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new bp({ direction: "y", color: na.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new bp({ direction: "z", color: na.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();
|
|
51867
51875
|
}
|
|
51868
51876
|
hide() {
|
|
51869
51877
|
this.children.forEach((t) => t.hide());
|
|
@@ -51884,7 +51892,7 @@ class TF extends wF {
|
|
|
51884
51892
|
this.removeFromParent(), (i = (t = this.angleTips) == null ? void 0 : t.element) == null || i.remove();
|
|
51885
51893
|
}
|
|
51886
51894
|
}
|
|
51887
|
-
class
|
|
51895
|
+
class bp extends C.Group {
|
|
51888
51896
|
constructor(t) {
|
|
51889
51897
|
super();
|
|
51890
51898
|
v(this, "direction");
|
|
@@ -52677,7 +52685,7 @@ class NF extends Xc {
|
|
|
52677
52685
|
v(this, "dragging", (t) => {
|
|
52678
52686
|
if (!this.isDragging || !this.startInfo)
|
|
52679
52687
|
return;
|
|
52680
|
-
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s =
|
|
52688
|
+
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Wd(this.camera, { x: i, y: r }, this.container);
|
|
52681
52689
|
return s ? (this.move(s), !1) : this.dragEnd();
|
|
52682
52690
|
});
|
|
52683
52691
|
v(this, "dragEnd", () => {
|
|
@@ -52908,10 +52916,10 @@ class UF {
|
|
|
52908
52916
|
t != null && t.warnLog && jF();
|
|
52909
52917
|
}
|
|
52910
52918
|
}
|
|
52911
|
-
function
|
|
52919
|
+
function Ap(e) {
|
|
52912
52920
|
return e * Math.PI / 180;
|
|
52913
52921
|
}
|
|
52914
|
-
const
|
|
52922
|
+
const wp = new C.Quaternion();
|
|
52915
52923
|
class WF extends Xc {
|
|
52916
52924
|
constructor(...t) {
|
|
52917
52925
|
var c, h, u;
|
|
@@ -52930,7 +52938,7 @@ class WF extends Xc {
|
|
|
52930
52938
|
return this.helperObject3D.position.clone();
|
|
52931
52939
|
}
|
|
52932
52940
|
setRotateAngle(t) {
|
|
52933
|
-
const { x: i = 0, y: r = 0, z: s = 0 } = t, o = new C.Euler(
|
|
52941
|
+
const { x: i = 0, y: r = 0, z: s = 0 } = t, o = new C.Euler(Ap(i), Ap(r), Ap(s)), a = new C.Quaternion().setFromEuler(o);
|
|
52934
52942
|
if (this.hooks.emit("wantToRotate", a))
|
|
52935
52943
|
return;
|
|
52936
52944
|
const { originObject3D: c, rotateCenter: h } = this;
|
|
@@ -52965,12 +52973,12 @@ class WF extends Xc {
|
|
|
52965
52973
|
if (r === "z")
|
|
52966
52974
|
return new C.Vector3(0, 0, 1).applyQuaternion(l);
|
|
52967
52975
|
})(), 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));
|
|
52968
|
-
this.setAngleHelperStart(r, f), this.setAngleHelperLength(r, 0), this.startInfo = { direction: r, startVector: d, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() },
|
|
52976
|
+
this.setAngleHelperStart(r, f), this.setAngleHelperLength(r, 0), this.startInfo = { direction: r, startVector: d, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() }, wp.copy(l), this.helperObject3D.showDraggingHelper([r]), this.hooks.emit("rotateStart"), this.isDragging = !0;
|
|
52969
52977
|
}
|
|
52970
52978
|
dragging(t) {
|
|
52971
52979
|
if (!this.isDragging)
|
|
52972
52980
|
return;
|
|
52973
|
-
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s =
|
|
52981
|
+
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Wd(this.camera, { x: i, y: r }, this.container);
|
|
52974
52982
|
return s ? (this.rotate(s), !1) : this.dragEnd();
|
|
52975
52983
|
}
|
|
52976
52984
|
rotate(t) {
|
|
@@ -52996,10 +53004,10 @@ class WF extends Xc {
|
|
|
52996
53004
|
const b = new C.Vector3().subVectors(l.position, h).applyQuaternion(f).add(h);
|
|
52997
53005
|
l.position.copy(b);
|
|
52998
53006
|
}
|
|
52999
|
-
l.applyQuaternion(f),
|
|
53007
|
+
l.applyQuaternion(f), wp.premultiply(f), this.internalHooks.emit("applyObjectRotate", { quaternion: f, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = d;
|
|
53000
53008
|
}
|
|
53001
53009
|
dragEnd() {
|
|
53002
|
-
this.isDragging && (this.internalHooks.emit("setObjectRotate",
|
|
53010
|
+
this.isDragging && (this.internalHooks.emit("setObjectRotate", wp, this.rotateCenter), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("rotateEnd"));
|
|
53003
53011
|
}
|
|
53004
53012
|
getAngleHelper(t) {
|
|
53005
53013
|
var i, r, s;
|
|
@@ -53088,7 +53096,7 @@ class QF extends Xc {
|
|
|
53088
53096
|
dragging(t) {
|
|
53089
53097
|
if (!this.isDragging)
|
|
53090
53098
|
return;
|
|
53091
|
-
const i =
|
|
53099
|
+
const i = Wd(this.camera, t, this.container);
|
|
53092
53100
|
if (!i)
|
|
53093
53101
|
return this.dragEnd();
|
|
53094
53102
|
this.scale(i);
|
|
@@ -53224,7 +53232,7 @@ class qF extends Xc {
|
|
|
53224
53232
|
v(this, "dragging", (t) => {
|
|
53225
53233
|
if (!this.isDragging || !this.startInfo)
|
|
53226
53234
|
return;
|
|
53227
|
-
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s =
|
|
53235
|
+
const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Wd(this.camera, { x: i, y: r }, this.container);
|
|
53228
53236
|
return s ? (this.scale(s), !1) : this.dragEnd();
|
|
53229
53237
|
});
|
|
53230
53238
|
v(this, "scale", (t) => {
|
|
@@ -53641,7 +53649,7 @@ class M1 {
|
|
|
53641
53649
|
const i = document.createElement("video");
|
|
53642
53650
|
i.crossOrigin = "anonymous", i.autoplay = !1, i.muted = !0, i.loop = !0, i.playsInline = !0, this.video = i;
|
|
53643
53651
|
const r = new SE(this.video);
|
|
53644
|
-
r.minFilter =
|
|
53652
|
+
r.minFilter = Ip, r.magFilter = Ip;
|
|
53645
53653
|
const s = new Z1({
|
|
53646
53654
|
vertexShader: tV,
|
|
53647
53655
|
fragmentShader: nV,
|
|
@@ -53946,7 +53954,7 @@ function cV(e, n) {
|
|
|
53946
53954
|
function hV(e, n) {
|
|
53947
53955
|
return e * e * n;
|
|
53948
53956
|
}
|
|
53949
|
-
function
|
|
53957
|
+
function xp(e, n, t, i) {
|
|
53950
53958
|
return lV(e, n) + cV(e, t) + hV(e, i);
|
|
53951
53959
|
}
|
|
53952
53960
|
function uV(e, n) {
|
|
@@ -53963,7 +53971,7 @@ function fV(e, n) {
|
|
|
53963
53971
|
function pV(e, n) {
|
|
53964
53972
|
return e * e * e * n;
|
|
53965
53973
|
}
|
|
53966
|
-
function
|
|
53974
|
+
function Mp(e, n, t, i, r) {
|
|
53967
53975
|
return uV(e, n) + dV(e, t) + fV(e, i) + pV(e, r);
|
|
53968
53976
|
}
|
|
53969
53977
|
function Zm(e, n) {
|
|
@@ -53972,15 +53980,15 @@ function Zm(e, n) {
|
|
|
53972
53980
|
throw new Error("length of points must greater than 2");
|
|
53973
53981
|
if (t === 2)
|
|
53974
53982
|
return new C.Vector3(
|
|
53975
|
-
|
|
53976
|
-
|
|
53977
|
-
|
|
53983
|
+
xp(e, n[0].x, n[1].x, n[2].x),
|
|
53984
|
+
xp(e, n[0].y, n[1].y, n[2].y),
|
|
53985
|
+
xp(e, n[0].z, n[1].z, n[2].z)
|
|
53978
53986
|
);
|
|
53979
53987
|
if (t === 3)
|
|
53980
53988
|
return new C.Vector3(
|
|
53981
|
-
|
|
53982
|
-
|
|
53983
|
-
|
|
53989
|
+
Mp(e, n[0].x, n[1].x, n[2].x, n[3].x),
|
|
53990
|
+
Mp(e, n[0].y, n[1].y, n[2].y, n[3].y),
|
|
53991
|
+
Mp(e, n[0].z, n[1].z, n[2].z, n[3].z)
|
|
53984
53992
|
);
|
|
53985
53993
|
if (t === 1) {
|
|
53986
53994
|
const [r, s] = n;
|
|
@@ -54838,10 +54846,10 @@ class PV {
|
|
|
54838
54846
|
});
|
|
54839
54847
|
var l, c, h, u;
|
|
54840
54848
|
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;
|
|
54841
|
-
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(P1(this.shape, s), _V(o, a)),
|
|
54849
|
+
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(P1(this.shape, s), _V(o, a)), Ep(this.makerObject, r), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new sx(
|
|
54842
54850
|
new C.EdgesGeometry(this.makerObject.geometry),
|
|
54843
54851
|
new C.LineBasicMaterial({ color: o, transparent: !0 })
|
|
54844
|
-
),
|
|
54852
|
+
), Ep(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;
|
|
54845
54853
|
}
|
|
54846
54854
|
/** 挂载标注 */
|
|
54847
54855
|
mount() {
|
|
@@ -54859,7 +54867,7 @@ class PV {
|
|
|
54859
54867
|
transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
|
|
54860
54868
|
onClick: (i) => this.hooks.emit("tagClick", { target: this, nativeEvent: i })
|
|
54861
54869
|
}
|
|
54862
|
-
}), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver =
|
|
54870
|
+
}), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver = nd(this.onContainerResize, t), this.resizeObserver.observe();
|
|
54863
54871
|
}
|
|
54864
54872
|
/** 卸载标注 */
|
|
54865
54873
|
unmount() {
|
|
@@ -54889,7 +54897,7 @@ class PV {
|
|
|
54889
54897
|
throw new Error("高度必须大于 0");
|
|
54890
54898
|
this.height = n, this.makerObject.geometry = P1(this.shape, n), this.outline.geometry = new C.EdgesGeometry(this.makerObject.geometry);
|
|
54891
54899
|
const t = this.shape.extractPoints(10).shape.slice(0, -1), i = r5(t), r = new C.Vector3(i.x, i.y, n);
|
|
54892
|
-
|
|
54900
|
+
Ep(r, this.bottomY), this.tagPosition.copy(r), this.updateTag(), this.plugin.five.needsRender = !0;
|
|
54893
54901
|
}
|
|
54894
54902
|
/** 更改标注标签的显示层级
|
|
54895
54903
|
* @description 为什么需要这个方法
|
|
@@ -54917,7 +54925,7 @@ function _V(e, n) {
|
|
|
54917
54925
|
transparent: !0
|
|
54918
54926
|
});
|
|
54919
54927
|
}
|
|
54920
|
-
function
|
|
54928
|
+
function Ep(e, n) {
|
|
54921
54929
|
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);
|
|
54922
54930
|
t.multiply(i), t.multiply(r), t.multiply(s), e.applyMatrix4(t);
|
|
54923
54931
|
}
|
|
@@ -55694,8 +55702,8 @@ class Hl extends eE {
|
|
|
55694
55702
|
v(this, "name", "PolylineWithDotsMesh");
|
|
55695
55703
|
}
|
|
55696
55704
|
}
|
|
55697
|
-
const
|
|
55698
|
-
function
|
|
55705
|
+
const Cp = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
|
|
55706
|
+
function Pp(e, n, t, i) {
|
|
55699
55707
|
e.addEventListener ? e.addEventListener(n, t, i) : e.attachEvent && e.attachEvent("on".concat(n), t);
|
|
55700
55708
|
}
|
|
55701
55709
|
function Ml(e, n, t, i) {
|
|
@@ -55767,9 +55775,9 @@ const Bc = {
|
|
|
55767
55775
|
".": 190,
|
|
55768
55776
|
"/": 191,
|
|
55769
55777
|
"`": 192,
|
|
55770
|
-
"-":
|
|
55771
|
-
"=":
|
|
55772
|
-
";":
|
|
55778
|
+
"-": Cp ? 173 : 189,
|
|
55779
|
+
"=": Cp ? 61 : 187,
|
|
55780
|
+
";": Cp ? 59 : 186,
|
|
55773
55781
|
"'": 222,
|
|
55774
55782
|
"[": 219,
|
|
55775
55783
|
"]": 221,
|
|
@@ -55991,7 +55999,7 @@ function ri(e, n, t) {
|
|
|
55991
55999
|
keydownListener: f,
|
|
55992
56000
|
keyupListenr: m,
|
|
55993
56001
|
capture: u
|
|
55994
|
-
}),
|
|
56002
|
+
}), Pp(o, "keydown", f, u), Pp(o, "keyup", m, u);
|
|
55995
56003
|
}
|
|
55996
56004
|
if (!Ul) {
|
|
55997
56005
|
const f = () => {
|
|
@@ -56000,7 +56008,7 @@ function ri(e, n, t) {
|
|
|
56000
56008
|
Ul = {
|
|
56001
56009
|
listener: f,
|
|
56002
56010
|
capture: u
|
|
56003
|
-
},
|
|
56011
|
+
}, Pp(window, "focus", f, u);
|
|
56004
56012
|
}
|
|
56005
56013
|
}
|
|
56006
56014
|
}
|
|
@@ -56042,7 +56050,7 @@ function ov(e) {
|
|
|
56042
56050
|
Ml(window, "focus", r, s), Ul = null;
|
|
56043
56051
|
}
|
|
56044
56052
|
}
|
|
56045
|
-
const
|
|
56053
|
+
const _p = {
|
|
56046
56054
|
getPressedKeyString: FV,
|
|
56047
56055
|
setScope: rE,
|
|
56048
56056
|
getScope: Nc,
|
|
@@ -56057,8 +56065,8 @@ const Pp = {
|
|
|
56057
56065
|
modifier: ar,
|
|
56058
56066
|
modifierMap: qm
|
|
56059
56067
|
};
|
|
56060
|
-
for (const e in
|
|
56061
|
-
Object.prototype.hasOwnProperty.call(
|
|
56068
|
+
for (const e in _p)
|
|
56069
|
+
Object.prototype.hasOwnProperty.call(_p, e) && (ri[e] = _p[e]);
|
|
56062
56070
|
if (typeof window != "undefined") {
|
|
56063
56071
|
const e = window.hotkeys;
|
|
56064
56072
|
ri.noConflict = (n) => (n && window.hotkeys === ri && (window.hotkeys = e), ri), window.hotkeys = ri;
|
|
@@ -56163,7 +56171,7 @@ class Nr extends ti {
|
|
|
56163
56171
|
});
|
|
56164
56172
|
}
|
|
56165
56173
|
applyObjectMatrixWorld(t) {
|
|
56166
|
-
return this.updateMatrixWorld(),
|
|
56174
|
+
return this.updateMatrixWorld(), id(this, t);
|
|
56167
56175
|
}
|
|
56168
56176
|
applyObjectQuaternion(t) {
|
|
56169
56177
|
const i = this.quaternion.clone();
|
|
@@ -56497,7 +56505,7 @@ class hv extends ti {
|
|
|
56497
56505
|
const uv = new C.BufferGeometry();
|
|
56498
56506
|
uv.name = "blankGeometry";
|
|
56499
56507
|
uv.isBlank = !0;
|
|
56500
|
-
class
|
|
56508
|
+
class bd extends hv {
|
|
56501
56509
|
constructor(t) {
|
|
56502
56510
|
super(t);
|
|
56503
56511
|
v(this, "name", "PolygonMesh");
|
|
@@ -56532,7 +56540,7 @@ class yd extends hv {
|
|
|
56532
56540
|
}
|
|
56533
56541
|
updateMatrixWorld(t) {
|
|
56534
56542
|
if (super.updateMatrixWorld(t), this.center) {
|
|
56535
|
-
const i =
|
|
56543
|
+
const i = id(this, this.center).toArray().join(",");
|
|
56536
56544
|
i !== this.lastRenderAreaItem && (this.updateAreaItems(), this.lastRenderAreaItem = i);
|
|
56537
56545
|
}
|
|
56538
56546
|
}
|
|
@@ -56577,7 +56585,7 @@ class yd extends hv {
|
|
|
56577
56585
|
i === "0.00" ? this.areaDom.container.innerHTML = "" : this.areaDom.container.innerHTML = nx(i + "m²");
|
|
56578
56586
|
}
|
|
56579
56587
|
}
|
|
56580
|
-
class
|
|
56588
|
+
class Ad extends bd {
|
|
56581
56589
|
constructor(t) {
|
|
56582
56590
|
const s = t != null ? t : {}, { points: i } = s, r = ho(s, ["points"]);
|
|
56583
56591
|
super();
|
|
@@ -56615,7 +56623,7 @@ class bd extends yd {
|
|
|
56615
56623
|
super.unhighlight(), this.line.unhighlight();
|
|
56616
56624
|
}
|
|
56617
56625
|
}
|
|
56618
|
-
class R1 extends
|
|
56626
|
+
class R1 extends Ad {
|
|
56619
56627
|
constructor() {
|
|
56620
56628
|
super(...arguments);
|
|
56621
56629
|
v(this, "name", "AreaMesh");
|
|
@@ -56735,13 +56743,13 @@ function oE(e, n, t) {
|
|
|
56735
56743
|
redo: A
|
|
56736
56744
|
};
|
|
56737
56745
|
}
|
|
56738
|
-
class
|
|
56746
|
+
class wd extends ti {
|
|
56739
56747
|
constructor(t) {
|
|
56740
56748
|
super();
|
|
56741
56749
|
v(this, "name", "PrismMesh");
|
|
56742
56750
|
v(this, "heightPoint");
|
|
56743
|
-
v(this, "bottomPolygon", new
|
|
56744
|
-
v(this, "topPolygon", new
|
|
56751
|
+
v(this, "bottomPolygon", new Ad());
|
|
56752
|
+
v(this, "topPolygon", new Ad());
|
|
56745
56753
|
v(this, "paramStyle");
|
|
56746
56754
|
v(this, "edgePlanes", new ti());
|
|
56747
56755
|
this.topPolygon.name = "TopPolygon", this.bottomPolygon.name = "BottomPolygon", this.edgePlanes.name = "EdgePlanes", this.addIfNotExists(this.bottomPolygon), t && this.setPoints(t), t && this.setStyle(t);
|
|
@@ -56772,7 +56780,7 @@ class Ad extends ti {
|
|
|
56772
56780
|
}
|
|
56773
56781
|
setStyle(t) {
|
|
56774
56782
|
this.paramStyle = R(R({}, this.paramStyle), t), this.bottomPolygon.setStyle(this.paramStyle), this.topPolygon.setStyle(this.paramStyle), this.edgePlanes.children.forEach((i) => {
|
|
56775
|
-
(i instanceof Oi || i instanceof
|
|
56783
|
+
(i instanceof Oi || i instanceof bd) && i.setStyle(this.paramStyle);
|
|
56776
56784
|
});
|
|
56777
56785
|
}
|
|
56778
56786
|
setPoints(t) {
|
|
@@ -56808,7 +56816,7 @@ class Ad extends ti {
|
|
|
56808
56816
|
this.addIfNotExists(this.edgePlanes), this.edgePlanes.removeChildren(), t.forEach((r, s) => {
|
|
56809
56817
|
if (s === 0)
|
|
56810
56818
|
return;
|
|
56811
|
-
const o = new
|
|
56819
|
+
const o = new bd({ color: this.color });
|
|
56812
56820
|
o.setPoints([t[s - 1], t[s], i[s], i[s - 1]]);
|
|
56813
56821
|
const a = new Oi({ lineColor: this.lineColor, lineWidth: this.lineWidth });
|
|
56814
56822
|
a.name = "EdgeLine", a.setPoints([t[s - 1], i[s - 1]]), this.edgePlanes.add(o, a);
|
|
@@ -56859,7 +56867,7 @@ class B1 extends Nr {
|
|
|
56859
56867
|
super(t, i);
|
|
56860
56868
|
v(this, "type", "Prism");
|
|
56861
56869
|
v(this, "prismMesh");
|
|
56862
|
-
this.editor = new KV(this), t && (this.prismMesh = new
|
|
56870
|
+
this.editor = new KV(this), t && (this.prismMesh = new wd(R(R({}, t.style), t)), this.add(this.prismMesh));
|
|
56863
56871
|
}
|
|
56864
56872
|
get data() {
|
|
56865
56873
|
return Me(R({}, this.baseData), {
|
|
@@ -56882,7 +56890,7 @@ class B1 extends Nr {
|
|
|
56882
56890
|
}
|
|
56883
56891
|
create(t) {
|
|
56884
56892
|
return ee(this, null, function* () {
|
|
56885
|
-
this.prismMesh = new
|
|
56893
|
+
this.prismMesh = new wd(t), this.add(this.prismMesh), yield $V(this.prismMesh, this.pointSelector), this.editor.enable();
|
|
56886
56894
|
});
|
|
56887
56895
|
}
|
|
56888
56896
|
}
|
|
@@ -56934,7 +56942,7 @@ function n6(e, n) {
|
|
|
56934
56942
|
const i = new C.Plane().setFromCoplanarPoints(e[0], e[1], e[2]).projectPoint(n, new C.Vector3());
|
|
56935
56943
|
return new C.Vector3().subVectors(n, i).normalize();
|
|
56936
56944
|
}
|
|
56937
|
-
class aE extends
|
|
56945
|
+
class aE extends bd {
|
|
56938
56946
|
constructor(t) {
|
|
56939
56947
|
super(t);
|
|
56940
56948
|
v(this, "name", "RectangleMesh");
|
|
@@ -57118,7 +57126,7 @@ class r6 extends hv {
|
|
|
57118
57126
|
this.highlighted && (this.highlighted = !1, this.setStyle({ opacity: this.opacityBeforeHighlight }), this.needsRender = !0);
|
|
57119
57127
|
}
|
|
57120
57128
|
}
|
|
57121
|
-
class
|
|
57129
|
+
class xd extends r6 {
|
|
57122
57130
|
constructor(t) {
|
|
57123
57131
|
const a = t != null ? t : {}, { normal: i, radius: r, center: s } = a, o = ho(a, ["normal", "radius", "center"]);
|
|
57124
57132
|
super(o);
|
|
@@ -57145,7 +57153,7 @@ class F1 extends Nr {
|
|
|
57145
57153
|
super(t, i);
|
|
57146
57154
|
v(this, "type", "Circle");
|
|
57147
57155
|
v(this, "circleMesh");
|
|
57148
|
-
this.editor = new i6(this), t && (this.circleMesh = new
|
|
57156
|
+
this.editor = new i6(this), t && (this.circleMesh = new xd(R(R({}, t.style), t)), this.add(this.circleMesh));
|
|
57149
57157
|
}
|
|
57150
57158
|
get data() {
|
|
57151
57159
|
return Me(R({}, this.baseData), {
|
|
@@ -57170,7 +57178,7 @@ class F1 extends Nr {
|
|
|
57170
57178
|
this.children.forEach((r) => {
|
|
57171
57179
|
r.parent === this && this.remove(r);
|
|
57172
57180
|
}), this.children.length = 0;
|
|
57173
|
-
const i = new
|
|
57181
|
+
const i = new xd(t);
|
|
57174
57182
|
this.circleMesh = i, this.add(this.circleMesh), yield hE(this.circleMesh, this.pointSelector), this.editor.enable();
|
|
57175
57183
|
});
|
|
57176
57184
|
}
|
|
@@ -57221,7 +57229,7 @@ class V1 extends ti {
|
|
|
57221
57229
|
v(this, "opacityBeforeHighlight");
|
|
57222
57230
|
v(this, "highlighted", !1);
|
|
57223
57231
|
v(this, "params");
|
|
57224
|
-
this.params = t, this.bottomCircle = new
|
|
57232
|
+
this.params = t, this.bottomCircle = new xd(t), this.bottomCircle.name = "bottomCircle", this.topCircle = new xd(t), this.topCircle.name = "topCircle", this.edgeMesh = new hv(t), t != null && t.bottomCenter && (t != null && t.topCenter) && (t != null && t.radius) && this.setPoints(t), this.addIfNotExists(this.bottomCircle);
|
|
57225
57233
|
}
|
|
57226
57234
|
get bottomCenter() {
|
|
57227
57235
|
return this.bottomCircle.center;
|
|
@@ -58036,7 +58044,7 @@ class A6 extends Br {
|
|
|
58036
58044
|
(o = t == null ? void 0 : t.list) == null || o.forEach((a) => {
|
|
58037
58045
|
var l, c, h;
|
|
58038
58046
|
if (a.type === "triangles") {
|
|
58039
|
-
const u = new
|
|
58047
|
+
const u = new Ad();
|
|
58040
58048
|
u.setPoints(a.object_data.points), u.setStyle({
|
|
58041
58049
|
color: a.object_data.color,
|
|
58042
58050
|
opacity: ((l = a.object_data.opacity) != null ? l : 0.4) / 2,
|
|
@@ -58055,7 +58063,7 @@ class A6 extends Br {
|
|
|
58055
58063
|
});
|
|
58056
58064
|
this.items.push(d);
|
|
58057
58065
|
} else if (a.type === "prism") {
|
|
58058
|
-
const u = new
|
|
58066
|
+
const u = new wd();
|
|
58059
58067
|
this.zFightingOffset += 1e-4;
|
|
58060
58068
|
const d = a.object_data.points.map((g) => {
|
|
58061
58069
|
var y;
|
|
@@ -58081,7 +58089,7 @@ class A6 extends Br {
|
|
|
58081
58089
|
});
|
|
58082
58090
|
this.items.push(p);
|
|
58083
58091
|
} else if (a.type === "box") {
|
|
58084
|
-
const u = new
|
|
58092
|
+
const u = new wd(), { start: d, end: f, rotation: m = [0, 0, 0, 0], opacity: p, color: g } = a.object_data, y = new C.Vector3().fromArray(d), b = new C.Vector3().fromArray(f), A = new C.Euler().fromArray(m), w = new C.Quaternion().setFromEuler(A), x = w.clone().inverse(), M = new C.Vector3().lerpVectors(y, b, 0.5), P = M.clone().negate(), I = y.clone().add(P).applyQuaternion(x), T = b.clone().add(P).applyQuaternion(x), z = new C.Box3(I.clone().max(T), I.clone().min(T));
|
|
58085
58093
|
u.setPoints({
|
|
58086
58094
|
points: [Er(z, 2), Er(z, 3), Er(z, 7), Er(z, 6), Er(z, 2)],
|
|
58087
58095
|
heightPoint: Er(z, 0)
|
|
@@ -58152,7 +58160,7 @@ NE();
|
|
|
58152
58160
|
export {
|
|
58153
58161
|
QG as AreaMakerPlugin,
|
|
58154
58162
|
Dc as CSS3DRender,
|
|
58155
|
-
|
|
58163
|
+
zd as CSS3DRenderPlugin,
|
|
58156
58164
|
i5 as CameraMovementEffect,
|
|
58157
58165
|
sG as CameraMovementPlugin,
|
|
58158
58166
|
g8 as ContentType,
|