@realsee/dnalogel 3.72.5-alpha.3 → 3.72.5-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/Sculpt/Objects/Polygon/index.d.ts +5 -0
- package/dist/index.cjs.js +30 -30
- package/dist/index.js +602 -596
- package/dist/index.umd.js +25 -25
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +8 -8
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +78 -76
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/Sculpt/Objects/Polygon/index.d.ts +5 -0
- package/libs/Sculpt/Objects/Polygon/index.js +59 -55
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var RA = Object.defineProperty, _A = Object.defineProperties;
|
|
|
2
2
|
var BA = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ea = Object.getOwnPropertySymbols;
|
|
4
4
|
var hu = Object.prototype.hasOwnProperty, du = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var Jn = Math.pow, oc = (n, t, e) => t in n ? RA(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, F = (n, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
hu.call(t, e) && oc(n, e, t[e]);
|
|
8
8
|
if (Ea)
|
|
@@ -10,7 +10,7 @@ var Zn = Math.pow, oc = (n, t, e) => t in n ? RA(n, t, { enumerable: !0, configu
|
|
|
10
10
|
du.call(t, e) && oc(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, he = (n, t) => _A(n, BA(t));
|
|
13
|
-
var
|
|
13
|
+
var Kn = (n, t) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var i in n)
|
|
16
16
|
hu.call(n, i) && t.indexOf(i) < 0 && (e[i] = n[i]);
|
|
@@ -38,12 +38,12 @@ var te = (n, t, e) => new Promise((i, s) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { InternalWebGLRenderer as VA, Camera as FA, loadAt3d as HA, Five as Gt, Subscribe as tr, AnimationFrameLoop as NA } from "@realsee/five";
|
|
40
40
|
import * as y from "three";
|
|
41
|
-
import { Vector3 as ve, Vector2 as Ut, Object3D as To, Matrix4 as ot, LineSegments as GA, ShaderMaterial as Sl, Group as Sn, Raycaster as ir, MeshBasicMaterial as Nr, Vector4 as
|
|
41
|
+
import { Vector3 as ve, Vector2 as Ut, Object3D as To, Matrix4 as ot, LineSegments as GA, ShaderMaterial as Sl, Group as Sn, Raycaster as ir, MeshBasicMaterial as Nr, Vector4 as Ls, Curve as P0, Loader as uu, LoaderUtils as rc, FileLoader as WA, TextureLoader as Rh, RepeatWrapping as fu, ClampToEdgeWrapping as gu, Texture as pu, MeshPhongMaterial as ac, MeshLambertMaterial as UA, Color as Rt, sRGBEncoding as Sr, EquirectangularReflectionMapping as QA, Bone as mu, PropertyBinding as Ma, OrthographicCamera as XA, PerspectiveCamera as YA, PointLight as vu, MathUtils as Ki, SpotLight as qA, DirectionalLight as ZA, SkinnedMesh as JA, Mesh as Lo, LineBasicMaterial as KA, Line as $A, Skeleton as eb, AmbientLight as tb, BufferGeometry as ka, Float32BufferAttribute as po, Uint16BufferAttribute as ib, Matrix3 as nb, BufferAttribute as sb, AnimationClip as ob, Quaternion as zs, Euler as ns, VectorKeyframeTrack as rb, QuaternionKeyframeTrack as ab, NumberKeyframeTrack as lb, CanvasTexture as cb, AnimationMixer as hb, PlaneGeometry as db, LinearFilter as Yc, CurvePath as ub, LineCurve3 as fb, TubeGeometry as gb, SphereGeometry as pb, DoubleSide as C0, RingGeometry as mb, VideoTexture as vb, SphereBufferGeometry as Ab, Box3 as bb } from "three";
|
|
42
42
|
import { LineGeometry as yb, LineMaterial as wb, THREE_Line2 as Pb, Line as I0 } from "@realsee/five/line";
|
|
43
43
|
import { GLTFLoader as Cb } from "@realsee/five/gltf-loader";
|
|
44
44
|
function Ib() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.72.5-alpha.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.72.5-alpha.5",
|
|
47
47
|
[
|
|
48
48
|
"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=')",
|
|
49
49
|
"background-repeat: no-repeat",
|
|
@@ -275,18 +275,18 @@ var Ni = Object.freeze({
|
|
|
275
275
|
return !0;
|
|
276
276
|
}, n;
|
|
277
277
|
}()
|
|
278
|
-
),
|
|
278
|
+
), Os = {
|
|
279
279
|
Linear: function(n, t) {
|
|
280
|
-
var e = n.length - 1, i = e * t, s = Math.floor(i), o =
|
|
280
|
+
var e = n.length - 1, i = e * t, s = Math.floor(i), o = Os.Utils.Linear;
|
|
281
281
|
return t < 0 ? o(n[0], n[1], i) : t > 1 ? o(n[e], n[e - 1], e - i) : o(n[s], n[s + 1 > e ? e : s + 1], i - s);
|
|
282
282
|
},
|
|
283
283
|
Bezier: function(n, t) {
|
|
284
|
-
for (var e = 0, i = n.length - 1, s = Math.pow, o =
|
|
284
|
+
for (var e = 0, i = n.length - 1, s = Math.pow, o = Os.Utils.Bernstein, r = 0; r <= i; r++)
|
|
285
285
|
e += s(1 - t, i - r) * s(t, r) * n[r] * o(i, r);
|
|
286
286
|
return e;
|
|
287
287
|
},
|
|
288
288
|
CatmullRom: function(n, t) {
|
|
289
|
-
var e = n.length - 1, i = e * t, s = Math.floor(i), o =
|
|
289
|
+
var e = n.length - 1, i = e * t, s = Math.floor(i), o = Os.Utils.CatmullRom;
|
|
290
290
|
return n[0] === n[e] ? (t < 0 && (s = Math.floor(i = e * (1 + t))), o(n[(s - 1 + e) % e], n[s], n[(s + 1) % e], n[(s + 2) % e], i - s)) : t < 0 ? n[0] - (o(n[0], n[0], n[1], n[1], -i) - n[0]) : t > 1 ? n[e] - (o(n[e], n[e], n[e - 1], n[e - 1], i - e) - n[e]) : o(n[s ? s - 1 : 0], n[s], n[e < s + 1 ? e : s + 1], n[e < s + 2 ? e : s + 2], i - s);
|
|
291
291
|
},
|
|
292
292
|
Utils: {
|
|
@@ -294,7 +294,7 @@ var Ni = Object.freeze({
|
|
|
294
294
|
return (t - n) * e + n;
|
|
295
295
|
},
|
|
296
296
|
Bernstein: function(n, t) {
|
|
297
|
-
var e =
|
|
297
|
+
var e = Os.Utils.Factorial;
|
|
298
298
|
return e(n) / e(t) / e(n - t);
|
|
299
299
|
},
|
|
300
300
|
Factorial: function() {
|
|
@@ -326,7 +326,7 @@ var Ni = Object.freeze({
|
|
|
326
326
|
/** @class */
|
|
327
327
|
function() {
|
|
328
328
|
function n(t, e) {
|
|
329
|
-
e === void 0 && (e = qc), this._object = t, this._group = e, 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 = Ni.Linear.None, this._interpolationFunction =
|
|
329
|
+
e === void 0 && (e = qc), this._object = t, this._group = e, 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 = Ni.Linear.None, this._interpolationFunction = Os.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = _h.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
330
330
|
}
|
|
331
331
|
return n.prototype.getId = function() {
|
|
332
332
|
return this._id;
|
|
@@ -425,7 +425,7 @@ var Ni = Object.freeze({
|
|
|
425
425
|
}, n.prototype.easing = function(t) {
|
|
426
426
|
return t === void 0 && (t = Ni.Linear.None), this._easingFunction = t, this;
|
|
427
427
|
}, n.prototype.interpolation = function(t) {
|
|
428
|
-
return t === void 0 && (t =
|
|
428
|
+
return t === void 0 && (t = Os.Linear), this._interpolationFunction = t, this;
|
|
429
429
|
}, n.prototype.chain = function() {
|
|
430
430
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
431
431
|
t[e] = arguments[e];
|
|
@@ -493,7 +493,7 @@ var Ni = Object.freeze({
|
|
|
493
493
|
), Sb = "23.1.3", Db = _h.nextId, rn = qc, Tb = rn.getAll.bind(rn), Lb = rn.removeAll.bind(rn), zb = rn.add.bind(rn), k0 = rn.remove.bind(rn), Ob = rn.update.bind(rn), wu = {
|
|
494
494
|
Easing: Ni,
|
|
495
495
|
Group: M0,
|
|
496
|
-
Interpolation:
|
|
496
|
+
Interpolation: Os,
|
|
497
497
|
now: Io,
|
|
498
498
|
Sequence: _h,
|
|
499
499
|
nextId: Db,
|
|
@@ -512,7 +512,7 @@ function jb(n, t, e, i = Ni.Linear.None) {
|
|
|
512
512
|
}
|
|
513
513
|
return requestAnimationFrame(o), s;
|
|
514
514
|
}
|
|
515
|
-
var
|
|
515
|
+
var ts = /* @__PURE__ */ ((n) => (n.Drawline = "Drawline", n.Undo = "Undo", n.Exit = "Exit", n))(ts || {});
|
|
516
516
|
const zr = Symbol("$$PAINT_BRUSH_EVENT$$");
|
|
517
517
|
function Da(n) {
|
|
518
518
|
return n[zr] || (n[zr] = {}), n[zr];
|
|
@@ -594,11 +594,11 @@ let _b = class {
|
|
|
594
594
|
return i;
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
|
-
function
|
|
597
|
+
function $n() {
|
|
598
598
|
return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
|
|
599
599
|
}
|
|
600
600
|
function Dt() {
|
|
601
|
-
return (
|
|
601
|
+
return ($n() + $n() + "-" + $n() + "-4" + $n().substr(0, 3) + "-" + $n() + "-" + $n() + $n() + $n()).toLowerCase();
|
|
602
602
|
}
|
|
603
603
|
const Bb = `
|
|
604
604
|
<style type="text/css">
|
|
@@ -767,7 +767,7 @@ let Vb = class extends _b {
|
|
|
767
767
|
return;
|
|
768
768
|
const l = this.data[this.uuid].pop();
|
|
769
769
|
l && this.emitStateChange({
|
|
770
|
-
type:
|
|
770
|
+
type: ts.Undo,
|
|
771
771
|
color: this.color,
|
|
772
772
|
ready: this.ready,
|
|
773
773
|
state: l,
|
|
@@ -802,7 +802,7 @@ let Vb = class extends _b {
|
|
|
802
802
|
const i = this.canvas[e].getContext("2d");
|
|
803
803
|
i && i.clearRect(0, 0, this.canvas[e].width, this.canvas[e].height);
|
|
804
804
|
}), this.ready = !1, this.emit("readyChange", !1), this.emitStateChange({
|
|
805
|
-
type:
|
|
805
|
+
type: ts.Exit,
|
|
806
806
|
color: this.color,
|
|
807
807
|
ready: !1,
|
|
808
808
|
uuid: this.uuid
|
|
@@ -855,7 +855,7 @@ let Vb = class extends _b {
|
|
|
855
855
|
};
|
|
856
856
|
this.data[this.uuid].push(g), Ua(() => {
|
|
857
857
|
this.emitStateChange({
|
|
858
|
-
type:
|
|
858
|
+
type: ts.Drawline,
|
|
859
859
|
color: this.color,
|
|
860
860
|
ready: this.ready,
|
|
861
861
|
state: g,
|
|
@@ -888,7 +888,7 @@ let Vb = class extends _b {
|
|
|
888
888
|
};
|
|
889
889
|
this.data[this.uuid].push(g), Ua(() => {
|
|
890
890
|
this.emitStateChange({
|
|
891
|
-
type:
|
|
891
|
+
type: ts.Drawline,
|
|
892
892
|
color: this.color,
|
|
893
893
|
ready: this.ready,
|
|
894
894
|
state: g,
|
|
@@ -898,7 +898,7 @@ let Vb = class extends _b {
|
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
900
|
emitStateChange(e, i = !0) {
|
|
901
|
-
if (e.type !==
|
|
901
|
+
if (e.type !== ts.Drawline) {
|
|
902
902
|
this.emit("stateChange", e, i);
|
|
903
903
|
return;
|
|
904
904
|
}
|
|
@@ -939,13 +939,13 @@ let Vb = class extends _b {
|
|
|
939
939
|
}
|
|
940
940
|
if (this.ready)
|
|
941
941
|
switch (s) {
|
|
942
|
-
case
|
|
942
|
+
case ts.Drawline:
|
|
943
943
|
const { state: r, timestamp: a, end: l } = e;
|
|
944
944
|
if (!a || !r)
|
|
945
945
|
return;
|
|
946
946
|
this.tempLine[a] = [].concat(this.tempLine[a] || [], r.line), l && (Object.assign(r, { line: this.tempLine[a] }), this.handleDrawLine(o, r, {}, () => delete this.tempLine[a]));
|
|
947
947
|
break;
|
|
948
|
-
case
|
|
948
|
+
case ts.Undo:
|
|
949
949
|
this.handleUndo(o);
|
|
950
950
|
break;
|
|
951
951
|
}
|
|
@@ -1222,13 +1222,13 @@ function Pu(n, t) {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
return s;
|
|
1224
1224
|
}
|
|
1225
|
-
const Ub = ({ x: n, y: t, z: e }) => new ve(n, t, e), Ht = (n) => new ve().fromArray(n),
|
|
1225
|
+
const Ub = ({ x: n, y: t, z: e }) => new ve(n, t, e), Ht = (n) => new ve().fromArray(n), We = (n) => {
|
|
1226
1226
|
if (n)
|
|
1227
1227
|
return n instanceof ve ? n : Array.isArray(n) ? Ht(n) : Ub(n);
|
|
1228
1228
|
};
|
|
1229
1229
|
function Qb(n) {
|
|
1230
1230
|
if (n)
|
|
1231
|
-
return Array.isArray(n) ? typeof n[0] == "number" ?
|
|
1231
|
+
return Array.isArray(n) ? typeof n[0] == "number" ? We(n) : n.map(We) : We(n);
|
|
1232
1232
|
}
|
|
1233
1233
|
function cc(n, t, e) {
|
|
1234
1234
|
const { x: i, y: s, z: o } = t.clone().project(n);
|
|
@@ -1248,7 +1248,7 @@ class x0 extends kt {
|
|
|
1248
1248
|
this.five = e;
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
|
-
const
|
|
1251
|
+
const Dn = (n, t) => {
|
|
1252
1252
|
if (!t)
|
|
1253
1253
|
return n;
|
|
1254
1254
|
const e = new y.Vector3(), i = new y.Quaternion(), s = new y.Vector3();
|
|
@@ -1306,7 +1306,7 @@ class Xb extends x0 {
|
|
|
1306
1306
|
var s;
|
|
1307
1307
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.position;
|
|
1308
1308
|
if (i)
|
|
1309
|
-
return
|
|
1309
|
+
return Dn(i, this.transform);
|
|
1310
1310
|
}
|
|
1311
1311
|
/**
|
|
1312
1312
|
* @description 获取全景点位和模型的地面坐标
|
|
@@ -1315,7 +1315,7 @@ class Xb extends x0 {
|
|
|
1315
1315
|
var s;
|
|
1316
1316
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.standingPosition;
|
|
1317
1317
|
if (i)
|
|
1318
|
-
return
|
|
1318
|
+
return Dn(i, this.transform);
|
|
1319
1319
|
}
|
|
1320
1320
|
/**
|
|
1321
1321
|
* @description 获取observer
|
|
@@ -1376,8 +1376,8 @@ function Bh(n, t, e, i) {
|
|
|
1376
1376
|
o[r].type !== "Line2" && Bh(o[r], t, e, !0);
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
|
-
const
|
|
1380
|
-
|
|
1379
|
+
const Tn = new Gr();
|
|
1380
|
+
Tn.params.Points.threshold = 0.02;
|
|
1381
1381
|
function el(n, t) {
|
|
1382
1382
|
if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
1383
1383
|
return {
|
|
@@ -1495,12 +1495,12 @@ class la {
|
|
|
1495
1495
|
let t = !1, e = 0.01;
|
|
1496
1496
|
this.fiveUtil.workUtil.fromType === "poincare" && (e = 0.05);
|
|
1497
1497
|
const i = this.transformedPosition.clone().sub(this.five.camera.position).normalize();
|
|
1498
|
-
|
|
1499
|
-
const s = (l = Ei(this.five).intersectRaycaster(
|
|
1498
|
+
Tn.set(this.five.camera.position, i);
|
|
1499
|
+
const s = (l = Ei(this.five).intersectRaycaster(Tn)) != null ? l : [], o = (c = Tn.intersectObjects(this.extraObjectsForIntersectCheck, !0)) != null ? c : [], a = [...s, ...o].sort((h, d) => h.distance - d.distance)[0];
|
|
1500
1500
|
a ? t = (a == null ? void 0 : a.distance) + e > this.transformedPosition.distanceTo(this.five.camera.position) : t = !0, this.visibles[1] = t;
|
|
1501
1501
|
});
|
|
1502
1502
|
var s, o, r;
|
|
1503
|
-
this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new Tl(t), this.originPosition = e ?
|
|
1503
|
+
this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new Tl(t), this.originPosition = e ? We(e).clone() : void 0, this.transformedPosition = (o = this.originPosition) == null ? void 0 : o.clone(), this.positionsForRotate = (r = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : r.map((a) => We(a).clone()), this.config = i != null ? i : {}, this.container = (() => {
|
|
1504
1504
|
const a = document.createElement("div");
|
|
1505
1505
|
return a.classList.add("light-tag"), a.style.width = "0", a.style.height = "0", a.style.position = "absolute", i != null && i.disableOpacityTransition || (a.style.transition = "opacity 0.2s linear"), a;
|
|
1506
1506
|
})(), this.addResizeListener(), this.show(), this.enable(), setTimeout(() => {
|
|
@@ -1573,7 +1573,7 @@ class la {
|
|
|
1573
1573
|
* @param positionsForRotate 用于 css 旋转的斜线的两个端点
|
|
1574
1574
|
*/
|
|
1575
1575
|
setPosition(t, e) {
|
|
1576
|
-
this.transformedPosition =
|
|
1576
|
+
this.transformedPosition = We(t).clone(), this.positionsForRotate = e == null ? void 0 : e.map((i) => We(i).clone()), this.onCameraUpdate(), setTimeout(() => this.onCameraUpdate(), 0);
|
|
1577
1577
|
}
|
|
1578
1578
|
setTransformMatrix(t) {
|
|
1579
1579
|
var e;
|
|
@@ -1622,11 +1622,11 @@ class la {
|
|
|
1622
1622
|
function S0(...n) {
|
|
1623
1623
|
return new la(...n);
|
|
1624
1624
|
}
|
|
1625
|
-
function
|
|
1625
|
+
function ls(n) {
|
|
1626
1626
|
return n.toLowerCase().includes("panorama");
|
|
1627
1627
|
}
|
|
1628
1628
|
function Ci(n) {
|
|
1629
|
-
return !
|
|
1629
|
+
return !ls(n);
|
|
1630
1630
|
}
|
|
1631
1631
|
var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Wr = {}, qb = {
|
|
1632
1632
|
get exports() {
|
|
@@ -1796,7 +1796,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1796
1796
|
};
|
|
1797
1797
|
function $e(V) {
|
|
1798
1798
|
var U, q = V.options.inputClass;
|
|
1799
|
-
return q ? U = q : K ? U = gn : oe ? U =
|
|
1799
|
+
return q ? U = q : K ? U = gn : oe ? U = Gn : ie ? U = mn : U = Si, new U(V, rt);
|
|
1800
1800
|
}
|
|
1801
1801
|
function rt(V, U, q) {
|
|
1802
1802
|
var ne = q.pointers.length, be = q.changedPointers.length, ze = U & de && ne - be === 0, Qe = U & (Se | ee) && ne - be === 0;
|
|
@@ -1808,7 +1808,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1808
1808
|
var ze = q.firstInput, Qe = q.firstMultiple, Pt = Qe ? Qe.center : ze.center, Et = U.center = hi(ne);
|
|
1809
1809
|
U.timeStamp = h(), U.deltaTime = U.timeStamp - ze.timeStamp, U.angle = Yt(Pt, Et), U.distance = Xt(Pt, Et), _t(q, U), U.offsetDirection = lt(U.deltaX, U.deltaY);
|
|
1810
1810
|
var Ot = bi(U.deltaTime, U.deltaX, U.deltaY);
|
|
1811
|
-
U.overallVelocityX = Ot.x, U.overallVelocityY = Ot.y, U.overallVelocity = c(Ot.x) > c(Ot.y) ? Ot.x : Ot.y, U.scale = Qe ?
|
|
1811
|
+
U.overallVelocityX = Ot.x, U.overallVelocityY = Ot.y, U.overallVelocity = c(Ot.x) > c(Ot.y) ? Ot.x : Ot.y, U.scale = Qe ? Ps(Qe.pointers, ne) : 1, U.rotation = Qe ? lr(Qe.pointers, ne) : 0, U.maxPointers = q.prevInput ? U.pointers.length > q.prevInput.maxPointers ? U.pointers.length : q.prevInput.maxPointers : U.pointers.length, Qi(q, U);
|
|
1812
1812
|
var ni = V.element;
|
|
1813
1813
|
T(U.srcEvent.target, ni) && (ni = U.srcEvent.target), U.target = ni;
|
|
1814
1814
|
}
|
|
@@ -1881,16 +1881,16 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1881
1881
|
function lr(V, U) {
|
|
1882
1882
|
return Yt(U[1], U[0], st) + Yt(V[1], V[0], st);
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function Ps(V, U) {
|
|
1885
1885
|
return Xt(U[0], U[1], st) / Xt(V[0], V[1], st);
|
|
1886
1886
|
}
|
|
1887
|
-
var
|
|
1887
|
+
var Bn = {
|
|
1888
1888
|
mousedown: de,
|
|
1889
1889
|
mousemove: le,
|
|
1890
1890
|
mouseup: Se
|
|
1891
|
-
}, no = "mousedown",
|
|
1891
|
+
}, no = "mousedown", Vn = "mousemove mouseup";
|
|
1892
1892
|
function Si() {
|
|
1893
|
-
this.evEl = no, this.evWin =
|
|
1893
|
+
this.evEl = no, this.evWin = Vn, this.pressed = !1, Je.apply(this, arguments);
|
|
1894
1894
|
}
|
|
1895
1895
|
P(Si, Je, {
|
|
1896
1896
|
/**
|
|
@@ -1898,7 +1898,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1898
1898
|
* @param {Object} ev
|
|
1899
1899
|
*/
|
|
1900
1900
|
handler: function(U) {
|
|
1901
|
-
var q =
|
|
1901
|
+
var q = Bn[U.type];
|
|
1902
1902
|
q & de && U.button === 0 && (this.pressed = !0), q & le && U.which !== 1 && (q = Se), this.pressed && (q & Se && (this.pressed = !1), this.callback(this.manager, q, {
|
|
1903
1903
|
pointers: [U],
|
|
1904
1904
|
changedPointers: [U],
|
|
@@ -1913,16 +1913,16 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1913
1913
|
pointerup: Se,
|
|
1914
1914
|
pointercancel: ee,
|
|
1915
1915
|
pointerout: ee
|
|
1916
|
-
},
|
|
1916
|
+
}, Fn = {
|
|
1917
1917
|
2: $,
|
|
1918
1918
|
3: ue,
|
|
1919
1919
|
4: Le,
|
|
1920
1920
|
5: re
|
|
1921
1921
|
// see https://twitter.com/jacobrossi/status/480596438489890816
|
|
1922
|
-
},
|
|
1923
|
-
t.MSPointerEvent && !t.PointerEvent && (
|
|
1922
|
+
}, Hn = "pointerdown", Xi = "pointermove pointerup pointercancel";
|
|
1923
|
+
t.MSPointerEvent && !t.PointerEvent && (Hn = "MSPointerDown", Xi = "MSPointerMove MSPointerUp MSPointerCancel");
|
|
1924
1924
|
function gn() {
|
|
1925
|
-
this.evEl =
|
|
1925
|
+
this.evEl = Hn, this.evWin = Xi, Je.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
|
|
1926
1926
|
}
|
|
1927
1927
|
P(gn, Je, {
|
|
1928
1928
|
/**
|
|
@@ -1930,7 +1930,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1930
1930
|
* @param {Object} ev
|
|
1931
1931
|
*/
|
|
1932
1932
|
handler: function(U) {
|
|
1933
|
-
var q = this.store, ne = !1, be = U.type.toLowerCase().replace("ms", ""), ze = yi[be], Qe =
|
|
1933
|
+
var q = this.store, ne = !1, be = U.type.toLowerCase().replace("ms", ""), ze = yi[be], Qe = Fn[U.pointerType] || U.pointerType, Pt = Qe == $, Et = C(q, U.pointerId, "pointerId");
|
|
1934
1934
|
ze & de && (U.button === 0 || Pt) ? Et < 0 && (q.push(U), Et = q.length - 1) : ze & (Se | ee) && (ne = !0), !(Et < 0) && (q[Et] = U, this.callback(this.manager, ze, {
|
|
1935
1935
|
pointers: q,
|
|
1936
1936
|
changedPointers: [U],
|
|
@@ -1944,11 +1944,11 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1944
1944
|
touchmove: le,
|
|
1945
1945
|
touchend: Se,
|
|
1946
1946
|
touchcancel: ee
|
|
1947
|
-
},
|
|
1948
|
-
function
|
|
1949
|
-
this.evTarget =
|
|
1947
|
+
}, Cs = "touchstart", Is = "touchstart touchmove touchend touchcancel";
|
|
1948
|
+
function Nn() {
|
|
1949
|
+
this.evTarget = Cs, this.evWin = Is, this.started = !1, Je.apply(this, arguments);
|
|
1950
1950
|
}
|
|
1951
|
-
P(
|
|
1951
|
+
P(Nn, Je, {
|
|
1952
1952
|
handler: function(U) {
|
|
1953
1953
|
var q = pn[U.type];
|
|
1954
1954
|
if (q === de && (this.started = !0), !!this.started) {
|
|
@@ -1972,10 +1972,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1972
1972
|
touchend: Se,
|
|
1973
1973
|
touchcancel: ee
|
|
1974
1974
|
}, _i = "touchstart touchmove touchend touchcancel";
|
|
1975
|
-
function
|
|
1975
|
+
function Gn() {
|
|
1976
1976
|
this.evTarget = _i, this.targetIds = {}, Je.apply(this, arguments);
|
|
1977
1977
|
}
|
|
1978
|
-
P(
|
|
1978
|
+
P(Gn, Je, {
|
|
1979
1979
|
handler: function(U) {
|
|
1980
1980
|
var q = so[U.type], ne = cr.call(this, U, q);
|
|
1981
1981
|
ne && this.callback(this.manager, q, {
|
|
@@ -2005,11 +2005,11 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2005
2005
|
Pt
|
|
2006
2006
|
];
|
|
2007
2007
|
}
|
|
2008
|
-
var hr = 2500,
|
|
2008
|
+
var hr = 2500, Es = 25;
|
|
2009
2009
|
function mn() {
|
|
2010
2010
|
Je.apply(this, arguments);
|
|
2011
2011
|
var V = E(this.handler, this);
|
|
2012
|
-
this.touch = new
|
|
2012
|
+
this.touch = new Gn(this.manager, V), this.mouse = new Si(this.manager, V), this.primaryTouch = null, this.lastTouches = [];
|
|
2013
2013
|
}
|
|
2014
2014
|
P(mn, Je, {
|
|
2015
2015
|
/**
|
|
@@ -2053,12 +2053,12 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2053
2053
|
function dr(V) {
|
|
2054
2054
|
for (var U = V.srcEvent.clientX, q = V.srcEvent.clientY, ne = 0; ne < this.lastTouches.length; ne++) {
|
|
2055
2055
|
var be = this.lastTouches[ne], ze = Math.abs(U - be.x), Qe = Math.abs(q - be.y);
|
|
2056
|
-
if (ze <=
|
|
2056
|
+
if (ze <= Es && Qe <= Es)
|
|
2057
2057
|
return !0;
|
|
2058
2058
|
}
|
|
2059
2059
|
return !1;
|
|
2060
2060
|
}
|
|
2061
|
-
var ro = S(r.style, "touchAction"), ao = ro !== s, lo = "compute", zt = "auto",
|
|
2061
|
+
var ro = S(r.style, "touchAction"), ao = ro !== s, lo = "compute", zt = "auto", Ms = "manipulation", Bi = "none", vn = "pan-x", An = "pan-y", Wn = fr();
|
|
2062
2062
|
function Bt(V, U) {
|
|
2063
2063
|
this.manager = V, this.set(U);
|
|
2064
2064
|
}
|
|
@@ -2068,7 +2068,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2068
2068
|
* @param {String} value
|
|
2069
2069
|
*/
|
|
2070
2070
|
set: function(V) {
|
|
2071
|
-
V == lo && (V = this.compute()), ao && this.manager.element.style &&
|
|
2071
|
+
V == lo && (V = this.compute()), ao && this.manager.element.style && Wn[V] && (this.manager.element.style[ro] = V), this.actions = V.toLowerCase().trim();
|
|
2072
2072
|
},
|
|
2073
2073
|
/**
|
|
2074
2074
|
* just re-set the touchAction value
|
|
@@ -2096,7 +2096,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2096
2096
|
U.preventDefault();
|
|
2097
2097
|
return;
|
|
2098
2098
|
}
|
|
2099
|
-
var ne = this.actions, be = O(ne, Bi) && !
|
|
2099
|
+
var ne = this.actions, be = O(ne, Bi) && !Wn[Bi], ze = O(ne, An) && !Wn[An], Qe = O(ne, vn) && !Wn[vn];
|
|
2100
2100
|
if (be) {
|
|
2101
2101
|
var Pt = V.pointers.length === 1, Et = V.distance < 2, Ot = V.deltaTime < 250;
|
|
2102
2102
|
if (Pt && Et && Ot)
|
|
@@ -2117,7 +2117,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2117
2117
|
if (O(V, Bi))
|
|
2118
2118
|
return Bi;
|
|
2119
2119
|
var U = O(V, vn), q = O(V, An);
|
|
2120
|
-
return U && q ? Bi : U || q ? U ? vn : An : O(V,
|
|
2120
|
+
return U && q ? Bi : U || q ? U ? vn : An : O(V, Ms) ? Ms : zt;
|
|
2121
2121
|
}
|
|
2122
2122
|
function fr() {
|
|
2123
2123
|
if (!ao)
|
|
@@ -2127,9 +2127,9 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2127
2127
|
V[q] = U ? t.CSS.supports("touch-action", q) : !0;
|
|
2128
2128
|
}), V;
|
|
2129
2129
|
}
|
|
2130
|
-
var
|
|
2130
|
+
var Un = 1, qt = 2, qi = 4, ei = 8, di = ei, Di = 16, It = 32;
|
|
2131
2131
|
function ti(V) {
|
|
2132
|
-
this.options = m({}, this.defaults, V || {}), this.id = N(), this.manager = null, this.options.enable = z(this.options.enable, !0), this.state =
|
|
2132
|
+
this.options = m({}, this.defaults, V || {}), this.id = N(), this.manager = null, this.options.enable = z(this.options.enable, !0), this.state = Un, this.simultaneous = {}, this.requireFail = [];
|
|
2133
2133
|
}
|
|
2134
2134
|
ti.prototype = {
|
|
2135
2135
|
/**
|
|
@@ -2154,7 +2154,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2154
2154
|
if (u(V, "recognizeWith", this))
|
|
2155
2155
|
return this;
|
|
2156
2156
|
var U = this.simultaneous;
|
|
2157
|
-
return V =
|
|
2157
|
+
return V = Qn(V, this), U[V.id] || (U[V.id] = V, V.recognizeWith(this)), this;
|
|
2158
2158
|
},
|
|
2159
2159
|
/**
|
|
2160
2160
|
* drop the simultaneous link. it doesnt remove the link on the other recognizer.
|
|
@@ -2162,7 +2162,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2162
2162
|
* @returns {Recognizer} this
|
|
2163
2163
|
*/
|
|
2164
2164
|
dropRecognizeWith: function(V) {
|
|
2165
|
-
return u(V, "dropRecognizeWith", this) ? this : (V =
|
|
2165
|
+
return u(V, "dropRecognizeWith", this) ? this : (V = Qn(V, this), delete this.simultaneous[V.id], this);
|
|
2166
2166
|
},
|
|
2167
2167
|
/**
|
|
2168
2168
|
* recognizer can only run when an other is failing
|
|
@@ -2173,7 +2173,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2173
2173
|
if (u(V, "requireFailure", this))
|
|
2174
2174
|
return this;
|
|
2175
2175
|
var U = this.requireFail;
|
|
2176
|
-
return V =
|
|
2176
|
+
return V = Qn(V, this), C(U, V) === -1 && (U.push(V), V.requireFailure(this)), this;
|
|
2177
2177
|
},
|
|
2178
2178
|
/**
|
|
2179
2179
|
* drop the requireFailure link. it does not remove the link on the other recognizer.
|
|
@@ -2183,7 +2183,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2183
2183
|
dropRequireFailure: function(V) {
|
|
2184
2184
|
if (u(V, "dropRequireFailure", this))
|
|
2185
2185
|
return this;
|
|
2186
|
-
V =
|
|
2186
|
+
V = Qn(V, this);
|
|
2187
2187
|
var U = C(this.requireFail, V);
|
|
2188
2188
|
return U > -1 && this.requireFail.splice(U, 1), this;
|
|
2189
2189
|
},
|
|
@@ -2231,7 +2231,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2231
2231
|
*/
|
|
2232
2232
|
canEmit: function() {
|
|
2233
2233
|
for (var V = 0; V < this.requireFail.length; ) {
|
|
2234
|
-
if (!(this.requireFail[V].state & (It |
|
|
2234
|
+
if (!(this.requireFail[V].state & (It | Un)))
|
|
2235
2235
|
return !1;
|
|
2236
2236
|
V++;
|
|
2237
2237
|
}
|
|
@@ -2247,7 +2247,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2247
2247
|
this.reset(), this.state = It;
|
|
2248
2248
|
return;
|
|
2249
2249
|
}
|
|
2250
|
-
this.state & (di | Di | It) && (this.state =
|
|
2250
|
+
this.state & (di | Di | It) && (this.state = Un), this.state = this.process(U), this.state & (qt | qi | ei | Di) && this.tryEmit(U);
|
|
2251
2251
|
},
|
|
2252
2252
|
/**
|
|
2253
2253
|
* return the state of the recognizer
|
|
@@ -2280,7 +2280,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2280
2280
|
function ho(V) {
|
|
2281
2281
|
return V == me ? "down" : V == Ve ? "up" : V == Re ? "left" : V == Ae ? "right" : "";
|
|
2282
2282
|
}
|
|
2283
|
-
function
|
|
2283
|
+
function Qn(V, U) {
|
|
2284
2284
|
var q = U.manager;
|
|
2285
2285
|
return q ? q.get(V) : V;
|
|
2286
2286
|
}
|
|
@@ -2320,10 +2320,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2320
2320
|
return ne && (q & ee || !be) ? U | Di : ne || be ? q & Se ? U | ei : U & qt ? U | qi : qt : It;
|
|
2321
2321
|
}
|
|
2322
2322
|
});
|
|
2323
|
-
function
|
|
2323
|
+
function Xn() {
|
|
2324
2324
|
ii.apply(this, arguments), this.pX = null, this.pY = null;
|
|
2325
2325
|
}
|
|
2326
|
-
P(
|
|
2326
|
+
P(Xn, ii, {
|
|
2327
2327
|
/**
|
|
2328
2328
|
* @namespace
|
|
2329
2329
|
* @memberof PanRecognizer
|
|
@@ -2436,10 +2436,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2436
2436
|
return this._super.attrTest.call(this, V) && (Math.abs(V.rotation) > this.options.threshold || this.state & qt);
|
|
2437
2437
|
}
|
|
2438
2438
|
});
|
|
2439
|
-
function
|
|
2439
|
+
function Yn() {
|
|
2440
2440
|
ii.apply(this, arguments);
|
|
2441
2441
|
}
|
|
2442
|
-
P(
|
|
2442
|
+
P(Yn, ii, {
|
|
2443
2443
|
/**
|
|
2444
2444
|
* @namespace
|
|
2445
2445
|
* @memberof SwipeRecognizer
|
|
@@ -2452,7 +2452,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2452
2452
|
pointers: 1
|
|
2453
2453
|
},
|
|
2454
2454
|
getTouchAction: function() {
|
|
2455
|
-
return
|
|
2455
|
+
return Xn.prototype.getTouchAction.call(this);
|
|
2456
2456
|
},
|
|
2457
2457
|
attrTest: function(V) {
|
|
2458
2458
|
var U = this.options.direction, q;
|
|
@@ -2485,7 +2485,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2485
2485
|
// a multi-tap can be a bit off the initial position
|
|
2486
2486
|
},
|
|
2487
2487
|
getTouchAction: function() {
|
|
2488
|
-
return [
|
|
2488
|
+
return [Ms];
|
|
2489
2489
|
},
|
|
2490
2490
|
process: function(V) {
|
|
2491
2491
|
var U = this.options, q = V.pointers.length === U.pointers, ne = V.distance < U.threshold, be = V.deltaTime < U.time;
|
|
@@ -2517,7 +2517,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2517
2517
|
}
|
|
2518
2518
|
});
|
|
2519
2519
|
function wi(V, U) {
|
|
2520
|
-
return U = U || {}, U.recognizers = z(U.recognizers, wi.defaults.preset), new
|
|
2520
|
+
return U = U || {}, U.recognizers = z(U.recognizers, wi.defaults.preset), new ks(V, U);
|
|
2521
2521
|
}
|
|
2522
2522
|
wi.VERSION = "2.0.7", wi.defaults = {
|
|
2523
2523
|
/**
|
|
@@ -2562,8 +2562,8 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2562
2562
|
// RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]
|
|
2563
2563
|
[Vi, { enable: !1 }],
|
|
2564
2564
|
[Zi, { enable: !1 }, ["rotate"]],
|
|
2565
|
-
[
|
|
2566
|
-
[
|
|
2565
|
+
[Yn, { direction: Ie }],
|
|
2566
|
+
[Xn, { direction: Ie }, ["swipe"]],
|
|
2567
2567
|
[yn],
|
|
2568
2568
|
[yn, { event: "doubletap", taps: 2 }, ["tap"]],
|
|
2569
2569
|
[bn]
|
|
@@ -2616,13 +2616,13 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2616
2616
|
}
|
|
2617
2617
|
};
|
|
2618
2618
|
var gr = 1, uo = 2;
|
|
2619
|
-
function
|
|
2620
|
-
this.options = m({}, wi.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || V, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = V, this.input = $e(this), this.touchAction = new Bt(this, this.options.touchAction),
|
|
2619
|
+
function ks(V, U) {
|
|
2620
|
+
this.options = m({}, wi.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || V, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = V, this.input = $e(this), this.touchAction = new Bt(this, this.options.touchAction), qn(this, !0), g(this.options.recognizers, function(q) {
|
|
2621
2621
|
var ne = this.add(new q[0](q[1]));
|
|
2622
2622
|
q[2] && ne.recognizeWith(q[2]), q[3] && ne.requireFailure(q[3]);
|
|
2623
2623
|
}, this);
|
|
2624
2624
|
}
|
|
2625
|
-
|
|
2625
|
+
ks.prototype = {
|
|
2626
2626
|
/**
|
|
2627
2627
|
* set options
|
|
2628
2628
|
* @param {Object} options
|
|
@@ -2746,10 +2746,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2746
2746
|
* it doesn't unbind dom events, that is the user own responsibility
|
|
2747
2747
|
*/
|
|
2748
2748
|
destroy: function() {
|
|
2749
|
-
this.element &&
|
|
2749
|
+
this.element && qn(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
|
|
2750
2750
|
}
|
|
2751
2751
|
};
|
|
2752
|
-
function
|
|
2752
|
+
function qn(V, U) {
|
|
2753
2753
|
var q = V.element;
|
|
2754
2754
|
if (q.style) {
|
|
2755
2755
|
var ne;
|
|
@@ -2767,7 +2767,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2767
2767
|
INPUT_MOVE: le,
|
|
2768
2768
|
INPUT_END: Se,
|
|
2769
2769
|
INPUT_CANCEL: ee,
|
|
2770
|
-
STATE_POSSIBLE:
|
|
2770
|
+
STATE_POSSIBLE: Un,
|
|
2771
2771
|
STATE_BEGAN: qt,
|
|
2772
2772
|
STATE_CHANGED: qi,
|
|
2773
2773
|
STATE_ENDED: ei,
|
|
@@ -2782,19 +2782,19 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2782
2782
|
DIRECTION_HORIZONTAL: Ie,
|
|
2783
2783
|
DIRECTION_VERTICAL: Oe,
|
|
2784
2784
|
DIRECTION_ALL: Xe,
|
|
2785
|
-
Manager:
|
|
2785
|
+
Manager: ks,
|
|
2786
2786
|
Input: Je,
|
|
2787
2787
|
TouchAction: Bt,
|
|
2788
|
-
TouchInput:
|
|
2788
|
+
TouchInput: Gn,
|
|
2789
2789
|
MouseInput: Si,
|
|
2790
2790
|
PointerEventInput: gn,
|
|
2791
2791
|
TouchMouseInput: mn,
|
|
2792
|
-
SingleTouchInput:
|
|
2792
|
+
SingleTouchInput: Nn,
|
|
2793
2793
|
Recognizer: ti,
|
|
2794
2794
|
AttrRecognizer: ii,
|
|
2795
2795
|
Tap: yn,
|
|
2796
|
-
Pan:
|
|
2797
|
-
Swipe:
|
|
2796
|
+
Pan: Xn,
|
|
2797
|
+
Swipe: Yn,
|
|
2798
2798
|
Pinch: Zi,
|
|
2799
2799
|
Rotate: Vi,
|
|
2800
2800
|
Press: bn,
|
|
@@ -3057,19 +3057,19 @@ function D0(n, t) {
|
|
|
3057
3057
|
const { offsetWidth: e, offsetHeight: i } = t;
|
|
3058
3058
|
return new y.Vector2().set(n.x / e * 2 - 1, -n.y / i * 2 + 1);
|
|
3059
3059
|
}
|
|
3060
|
-
var
|
|
3060
|
+
var On = function(n) {
|
|
3061
3061
|
To.call(this), this.element = n, this.element.style.position = "absolute", this.element.style.pointerEvents = "auto", this.element.style.userSelect = "none", this.element.setAttribute("draggable", !1), this.addEventListener("removed", function() {
|
|
3062
3062
|
this.traverse(function(t) {
|
|
3063
3063
|
t.element instanceof Element && t.element.parentNode !== null && t.element.remove();
|
|
3064
3064
|
});
|
|
3065
3065
|
});
|
|
3066
3066
|
};
|
|
3067
|
-
|
|
3068
|
-
|
|
3067
|
+
On.prototype = Object.create(To.prototype);
|
|
3068
|
+
On.prototype.constructor = On;
|
|
3069
3069
|
var tl = function(n) {
|
|
3070
|
-
|
|
3070
|
+
On.call(this, n);
|
|
3071
3071
|
};
|
|
3072
|
-
tl.prototype = Object.create(
|
|
3072
|
+
tl.prototype = Object.create(On.prototype);
|
|
3073
3073
|
tl.prototype.constructor = tl;
|
|
3074
3074
|
let Kb = function(n) {
|
|
3075
3075
|
let t = this, e, i, s, o, r = new ot(), a = {
|
|
@@ -3280,44 +3280,44 @@ function dc(n) {
|
|
|
3280
3280
|
if (!(i !== "transparent" && i !== "rgba(0, 0, 0, 0)" && i !== "" || s !== "none" && s !== ""))
|
|
3281
3281
|
return n;
|
|
3282
3282
|
}
|
|
3283
|
-
let wr = [null, null, () => null],
|
|
3283
|
+
let wr = [null, null, () => null], js = /* @__PURE__ */ new Map(), Rs = /* @__PURE__ */ new Map();
|
|
3284
3284
|
function ey(n, t) {
|
|
3285
3285
|
if (!n)
|
|
3286
3286
|
return !1;
|
|
3287
3287
|
const e = t || n.uuid;
|
|
3288
|
-
return
|
|
3288
|
+
return js.has(e) ? !1 : (js.set(e, n), !0);
|
|
3289
3289
|
}
|
|
3290
3290
|
function ty(n) {
|
|
3291
3291
|
if (!n)
|
|
3292
3292
|
return !1;
|
|
3293
3293
|
if (typeof n == "string")
|
|
3294
|
-
return
|
|
3295
|
-
for (const [t, e] of
|
|
3294
|
+
return js.delete(n);
|
|
3295
|
+
for (const [t, e] of js.entries())
|
|
3296
3296
|
if (e === n)
|
|
3297
|
-
return
|
|
3297
|
+
return js.delete(t);
|
|
3298
3298
|
return !1;
|
|
3299
3299
|
}
|
|
3300
3300
|
function iy(n, t) {
|
|
3301
3301
|
if (!n)
|
|
3302
3302
|
return !1;
|
|
3303
3303
|
const e = t || n.uuid;
|
|
3304
|
-
return
|
|
3304
|
+
return Rs.has(e) ? !1 : (Rs.set(e, n), !0);
|
|
3305
3305
|
}
|
|
3306
3306
|
function ny(n) {
|
|
3307
3307
|
if (!n)
|
|
3308
3308
|
return !1;
|
|
3309
3309
|
if (typeof n == "string")
|
|
3310
|
-
return
|
|
3311
|
-
for (const [t, e] of
|
|
3310
|
+
return Rs.delete(n);
|
|
3311
|
+
for (const [t, e] of Rs.entries())
|
|
3312
3312
|
if (e === n)
|
|
3313
|
-
return
|
|
3313
|
+
return Rs.delete(t);
|
|
3314
3314
|
return !1;
|
|
3315
3315
|
}
|
|
3316
3316
|
function sy() {
|
|
3317
|
-
|
|
3317
|
+
js.clear();
|
|
3318
3318
|
}
|
|
3319
3319
|
function oy() {
|
|
3320
|
-
|
|
3320
|
+
Rs.clear();
|
|
3321
3321
|
}
|
|
3322
3322
|
function ry() {
|
|
3323
3323
|
sy(), oy();
|
|
@@ -3337,9 +3337,9 @@ function ca(n) {
|
|
|
3337
3337
|
const o = (a = n.getElement()) == null ? void 0 : a.parentElement, r = Hh(n);
|
|
3338
3338
|
if (!o)
|
|
3339
3339
|
return console.error("initialCSS3DRender: five element is not exist"), () => null;
|
|
3340
|
-
if (t.appendToElement(o), t.renderCss3dObjectEveryFrame(
|
|
3340
|
+
if (t.appendToElement(o), t.renderCss3dObjectEveryFrame(js, n.camera), !r)
|
|
3341
3341
|
return console.error("initialCSS3DRender: behindWrapper is not exist"), () => null;
|
|
3342
|
-
e.appendToElement(r), e.renderCss3dObjectEveryFrame(
|
|
3342
|
+
e.appendToElement(r), e.renderCss3dObjectEveryFrame(Rs, n.camera);
|
|
3343
3343
|
});
|
|
3344
3344
|
const i = () => {
|
|
3345
3345
|
t.dispose(), e.dispose(), ry();
|
|
@@ -3450,15 +3450,15 @@ function Gh(n, t) {
|
|
|
3450
3450
|
</div>
|
|
3451
3451
|
`;
|
|
3452
3452
|
}
|
|
3453
|
-
function
|
|
3453
|
+
function vs(n) {
|
|
3454
3454
|
return arguments.length === 0 ? [] : Array.isArray(n) ? n : [n];
|
|
3455
3455
|
}
|
|
3456
3456
|
function Ur(n, t) {
|
|
3457
|
-
const i =
|
|
3457
|
+
const i = vs(t).map((s) => n.localToWorld(s.clone()));
|
|
3458
3458
|
return Array.isArray(t) ? i : i[0];
|
|
3459
3459
|
}
|
|
3460
3460
|
function dy(n, t) {
|
|
3461
|
-
const i =
|
|
3461
|
+
const i = vs(t).map((s) => n.worldToLocal(s.clone()));
|
|
3462
3462
|
return Array.isArray(t) ? i : i[0];
|
|
3463
3463
|
}
|
|
3464
3464
|
class Qa extends yb {
|
|
@@ -3885,7 +3885,7 @@ function py(n, t = "m") {
|
|
|
3885
3885
|
return i === "0.0" ? void 0 : i + "ft²";
|
|
3886
3886
|
}
|
|
3887
3887
|
}
|
|
3888
|
-
const
|
|
3888
|
+
const is = class {
|
|
3889
3889
|
static checkDom(t) {
|
|
3890
3890
|
let e = t, i = !0;
|
|
3891
3891
|
for (; e.parent; )
|
|
@@ -3893,13 +3893,13 @@ const ts = class {
|
|
|
3893
3893
|
e.type === "Scene" ? (t._onAdded(), i ? t._onShowed() : t._onHidden()) : t._onRemoved();
|
|
3894
3894
|
}
|
|
3895
3895
|
static checkDomEveryFrame() {
|
|
3896
|
-
|
|
3896
|
+
is.checkDomEveryFrameIsRunning || (is.checkDomEveryFrameIsRunning = !0, is._checkDomEveryFrame());
|
|
3897
3897
|
}
|
|
3898
3898
|
static _checkDomEveryFrame() {
|
|
3899
|
-
|
|
3899
|
+
is.cacheObject.forEach((t) => is.checkDom(t)), requestAnimationFrame(is._checkDomEveryFrame);
|
|
3900
3900
|
}
|
|
3901
3901
|
};
|
|
3902
|
-
let Kt =
|
|
3902
|
+
let Kt = is;
|
|
3903
3903
|
f(Kt, "cacheObject", /* @__PURE__ */ new Set()), f(Kt, "checkDomEveryFrameIsRunning", !1);
|
|
3904
3904
|
class ki extends Ai {
|
|
3905
3905
|
constructor(e) {
|
|
@@ -4016,7 +4016,7 @@ class ki extends Ai {
|
|
|
4016
4016
|
setPoints(e) {
|
|
4017
4017
|
if (this.points.length === 0 && e.length === 0)
|
|
4018
4018
|
return;
|
|
4019
|
-
const i = e.map(
|
|
4019
|
+
const i = e.map(We).filter(Ne);
|
|
4020
4020
|
if (this.points = i, i.length < 2) {
|
|
4021
4021
|
const o = new Qa();
|
|
4022
4022
|
this.line1.geometry = o, this.line2.geometry = o, this.updateDomItems();
|
|
@@ -4342,7 +4342,7 @@ function ky(n, t) {
|
|
|
4342
4342
|
return he(F({}, s), { raycaster: t, isVirtual: !1 });
|
|
4343
4343
|
}
|
|
4344
4344
|
const Eu = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, xy = new y.Vector3();
|
|
4345
|
-
function
|
|
4345
|
+
function hs(n) {
|
|
4346
4346
|
const { raycaster: t, line: e, clampToLine: i = !0 } = n, s = new y.Plane().setFromNormalAndCoplanarPoint(t.ray.direction.clone().normalize(), new y.Vector3()), o = s.projectPoint(e.start, new y.Vector3()), r = s.projectPoint(e.end, new y.Vector3()), a = new y.Line3(o, r), l = a.closestPointToPoint(t.ray.origin, i, xy), c = l.distanceTo(r), h = l.distanceTo(o), d = a.distance();
|
|
4347
4347
|
if (c > h && c > d) {
|
|
4348
4348
|
const u = -l.distanceTo(o) / d, g = e.start.clone().sub(e.end).normalize();
|
|
@@ -4583,7 +4583,7 @@ class Ll extends kt {
|
|
|
4583
4583
|
if (m.distanceTo(e.point) < this.adhereRadius)
|
|
4584
4584
|
(!this.plane || this.plane.distanceToPoint(m) < 0.01) && (m = (a = (r = this.plane) == null ? void 0 : r.projectPoint(m, new y.Vector3())) != null ? a : m, i.point = m.clone(), i.adhereLine = p.clone(), i.isAdsorbed = !0);
|
|
4585
4585
|
else {
|
|
4586
|
-
const v =
|
|
4586
|
+
const v = hs({
|
|
4587
4587
|
raycaster: new Gr(this.five.camera.position, e.point.clone().sub(this.five.camera.position).normalize()),
|
|
4588
4588
|
line: p,
|
|
4589
4589
|
clampToLine: !1
|
|
@@ -4736,7 +4736,7 @@ class _0 extends y.Mesh {
|
|
|
4736
4736
|
}
|
|
4737
4737
|
}
|
|
4738
4738
|
const Wh = (n) => n ? n.visible === !1 ? !1 : Wh(n.parent) : !0, B0 = 1, ku = `CSS3DObjectPlus@${B0}`, Sy = 216e-5, Dy = 3e-3;
|
|
4739
|
-
let V0 = class extends
|
|
4739
|
+
let V0 = class extends On {
|
|
4740
4740
|
constructor(e) {
|
|
4741
4741
|
var z, D, j, T, O;
|
|
4742
4742
|
if (vi(e.cornerPoints) && vi(e.width))
|
|
@@ -5037,7 +5037,7 @@ function Fy(n) {
|
|
|
5037
5037
|
new y.Vector3(t.x, e.y, e.z)
|
|
5038
5038
|
];
|
|
5039
5039
|
}
|
|
5040
|
-
function
|
|
5040
|
+
function ss(n, t) {
|
|
5041
5041
|
const { max: e, min: i } = n;
|
|
5042
5042
|
switch (t) {
|
|
5043
5043
|
case 0:
|
|
@@ -5424,7 +5424,7 @@ function Yy(n) {
|
|
|
5424
5424
|
if (Ge.hsl(n))
|
|
5425
5425
|
return Xy(n);
|
|
5426
5426
|
}
|
|
5427
|
-
function
|
|
5427
|
+
function Ln(n) {
|
|
5428
5428
|
var t = /[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(n);
|
|
5429
5429
|
if (t)
|
|
5430
5430
|
return t[1];
|
|
@@ -5442,7 +5442,7 @@ function nn(n, t) {
|
|
|
5442
5442
|
return n.getAttribute(t);
|
|
5443
5443
|
}
|
|
5444
5444
|
function Zh(n, t, e) {
|
|
5445
|
-
var i =
|
|
5445
|
+
var i = Ln(t);
|
|
5446
5446
|
if (Yh([e, "deg", "rad", "turn"], i))
|
|
5447
5447
|
return t;
|
|
5448
5448
|
var s = nl.CSS[t + e];
|
|
@@ -5498,7 +5498,7 @@ function $h(n, t) {
|
|
|
5498
5498
|
var e = /^(\*=|\+=|-=)/.exec(n);
|
|
5499
5499
|
if (!e)
|
|
5500
5500
|
return n;
|
|
5501
|
-
var i =
|
|
5501
|
+
var i = Ln(n) || 0, s = parseFloat(t), o = parseFloat(n.replace(e[0], ""));
|
|
5502
5502
|
switch (e[0][0]) {
|
|
5503
5503
|
case "+":
|
|
5504
5504
|
return s + o + i;
|
|
@@ -5513,7 +5513,7 @@ function e1(n, t) {
|
|
|
5513
5513
|
return Yy(n);
|
|
5514
5514
|
if (/\s/g.test(n))
|
|
5515
5515
|
return n;
|
|
5516
|
-
var e =
|
|
5516
|
+
var e = Ln(n), i = e ? n.substr(0, n.length - e.length) : n;
|
|
5517
5517
|
return t ? i + t : i;
|
|
5518
5518
|
}
|
|
5519
5519
|
function ed(n, t) {
|
|
@@ -5683,7 +5683,7 @@ function lw(n, t) {
|
|
|
5683
5683
|
function cw(n, t) {
|
|
5684
5684
|
var e;
|
|
5685
5685
|
return n.tweens.map(function(i) {
|
|
5686
|
-
var s = lw(i, t), o = s.value, r = Ge.arr(o) ? o[1] : o, a =
|
|
5686
|
+
var s = lw(i, t), o = s.value, r = Ge.arr(o) ? o[1] : o, a = Ln(r), l = Kh(t.target, n.name, a, t), c = e ? e.to.original : l, h = Ge.arr(o) ? o[0] : c, d = Ln(h) || Ln(l), u = a || d;
|
|
5687
5687
|
return Ge.und(r) && (r = c), s.from = Su(h, u), s.to = Su($h(r, h), u), s.start = e ? e.end : 0, s.end = s.start + s.delay + s.duration + s.endDelay, s.easing = Xh(s.easing, s.duration), s.isPath = Ge.pth(o), s.isPathTargetInsideSVG = s.isPath && Ge.svg(t.target), s.isColor = Ge.col(s.from.original), s.isColor && (s.round = 1), e = s, s;
|
|
5688
5688
|
});
|
|
5689
5689
|
}
|
|
@@ -5710,7 +5710,7 @@ function r1(n, t) {
|
|
|
5710
5710
|
var e = s1(n);
|
|
5711
5711
|
e.forEach(function(i) {
|
|
5712
5712
|
for (var s in t) {
|
|
5713
|
-
var o = $c(t[s], i), r = i.target, a =
|
|
5713
|
+
var o = $c(t[s], i), r = i.target, a = Ln(o), l = Kh(r, s, a, i), c = a || Ln(l), h = $h(e1(o, c), l), d = Jh(r, s);
|
|
5714
5714
|
o1[d](r, s, h, i.transforms, !0);
|
|
5715
5715
|
}
|
|
5716
5716
|
});
|
|
@@ -5902,7 +5902,7 @@ function fw(n) {
|
|
|
5902
5902
|
}
|
|
5903
5903
|
function gw(n, t) {
|
|
5904
5904
|
t === void 0 && (t = {});
|
|
5905
|
-
var e = t.direction || "normal", i = t.easing ? Xh(t.easing) : null, s = t.grid, o = t.axis, r = t.from || 0, a = r === "first", l = r === "center", c = r === "last", h = Ge.arr(n), d = parseFloat(h ? n[0] : n), u = h ? parseFloat(n[1]) : 0, g =
|
|
5905
|
+
var e = t.direction || "normal", i = t.easing ? Xh(t.easing) : null, s = t.grid, o = t.axis, r = t.from || 0, a = r === "first", l = r === "center", c = r === "last", h = Ge.arr(n), d = parseFloat(h ? n[0] : n), u = h ? parseFloat(n[1]) : 0, g = Ln(h ? n[1] : n) || 0, p = t.start || 0 + (h ? d : 0), m = [], v = 0;
|
|
5906
5906
|
return function(A, P, E) {
|
|
5907
5907
|
if (a && (r = 0), l && (r = (E - 1) / 2), c && (r = E - 1), !m.length) {
|
|
5908
5908
|
for (var I = 0; I < E; I++) {
|
|
@@ -6094,7 +6094,7 @@ class Aw {
|
|
|
6094
6094
|
}
|
|
6095
6095
|
};
|
|
6096
6096
|
if (Fo(t))
|
|
6097
|
-
if (!
|
|
6097
|
+
if (!_s(t) && t.children.length === 0 && t.name, _s(t)) {
|
|
6098
6098
|
if (sl(t))
|
|
6099
6099
|
return {
|
|
6100
6100
|
opacity: (e = t.material.uniforms.opacity) == null ? void 0 : e.value,
|
|
@@ -6120,7 +6120,7 @@ class Aw {
|
|
|
6120
6120
|
* @private
|
|
6121
6121
|
*/
|
|
6122
6122
|
restoreSingleState(t, e) {
|
|
6123
|
-
t instanceof HTMLElement ? (t.style.opacity = e.opacity === void 0 ? "" : String(e.opacity), typeof e.visible == "object" && e.visible !== null && (t.style.display = e.visible.display, t.style.visibility = e.visible.visibility)) : Fo(t) && (typeof e.visible == "boolean" && (t.visible = e.visible),
|
|
6123
|
+
t instanceof HTMLElement ? (t.style.opacity = e.opacity === void 0 ? "" : String(e.opacity), typeof e.visible == "object" && e.visible !== null && (t.style.display = e.visible.display, t.style.visibility = e.visible.visibility)) : Fo(t) && (typeof e.visible == "boolean" && (t.visible = e.visible), _s(t) && (sl(t) ? (t.material.uniforms.opacity !== void 0 && (t.material.uniforms.opacity.value = e.opacity !== void 0 ? Number(e.opacity) : 1), e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material)) : ol(t) && (t.material.opacity = e.opacity !== void 0 ? Number(e.opacity) : 1, e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material))));
|
|
6124
6124
|
}
|
|
6125
6125
|
/**
|
|
6126
6126
|
* 清空所有状态
|
|
@@ -6129,21 +6129,21 @@ class Aw {
|
|
|
6129
6129
|
this.materialManager.clear(), this.performanceMonitor.clear();
|
|
6130
6130
|
}
|
|
6131
6131
|
}
|
|
6132
|
-
const kn = /* @__PURE__ */ new WeakMap(),
|
|
6132
|
+
const kn = /* @__PURE__ */ new WeakMap(), zn = new Aw();
|
|
6133
6133
|
function Fo(n) {
|
|
6134
6134
|
return "isObject3D" in n && n.isObject3D === !0;
|
|
6135
6135
|
}
|
|
6136
|
-
function
|
|
6136
|
+
function _s(n) {
|
|
6137
6137
|
return Fo(n) && "material" in n && n.material !== void 0;
|
|
6138
6138
|
}
|
|
6139
6139
|
function sl(n) {
|
|
6140
|
-
return
|
|
6140
|
+
return _s(n) && n.material instanceof Sl;
|
|
6141
6141
|
}
|
|
6142
6142
|
function ol(n) {
|
|
6143
|
-
return
|
|
6143
|
+
return _s(n) && !(n.material instanceof Sl);
|
|
6144
6144
|
}
|
|
6145
6145
|
function bw(n, t) {
|
|
6146
|
-
n instanceof HTMLElement ? n.style.opacity = String(t) : Fo(n) &&
|
|
6146
|
+
n instanceof HTMLElement ? n.style.opacity = String(t) : Fo(n) && _s(n) && (sl(n) ? (n.material.uniforms.opacity && (n.material.uniforms.opacity.value = t), n.material.transparent = !0) : ol(n) && (n.material.opacity = t, n.material.transparent = !0));
|
|
6147
6147
|
}
|
|
6148
6148
|
function rl() {
|
|
6149
6149
|
const n = ct({});
|
|
@@ -6153,14 +6153,14 @@ function rl() {
|
|
|
6153
6153
|
function u1(n) {
|
|
6154
6154
|
if (!n)
|
|
6155
6155
|
throw new Error("Invalid objects parameter: objects cannot be null or undefined");
|
|
6156
|
-
const t =
|
|
6156
|
+
const t = vs(n);
|
|
6157
6157
|
if (t.length === 0)
|
|
6158
6158
|
throw new Error("Invalid objects parameter: objects array cannot be empty");
|
|
6159
6159
|
if (t.some((e) => e == null))
|
|
6160
6160
|
throw new Error("Invalid objects parameter: objects array contains null or undefined values");
|
|
6161
6161
|
}
|
|
6162
6162
|
function f1(n, t) {
|
|
6163
|
-
const e =
|
|
6163
|
+
const e = vs(n), i = [];
|
|
6164
6164
|
return e.forEach((s) => {
|
|
6165
6165
|
s && (s instanceof HTMLElement ? i.push(s) : Fo(s) && (t ? (i.push(s), s.traverse((o) => {
|
|
6166
6166
|
o && i.push(o);
|
|
@@ -6168,7 +6168,7 @@ function f1(n, t) {
|
|
|
6168
6168
|
}), Array.from(new Set(i.filter(Boolean)));
|
|
6169
6169
|
}
|
|
6170
6170
|
function yw(n, t) {
|
|
6171
|
-
const e = /* @__PURE__ */ new Map(), i =
|
|
6171
|
+
const e = /* @__PURE__ */ new Map(), i = zn.getStateMap();
|
|
6172
6172
|
return n.forEach((s) => {
|
|
6173
6173
|
var r;
|
|
6174
6174
|
const o = i.get(s);
|
|
@@ -6188,7 +6188,7 @@ function yw(n, t) {
|
|
|
6188
6188
|
};
|
|
6189
6189
|
}
|
|
6190
6190
|
function ww(n, t) {
|
|
6191
|
-
const e = /* @__PURE__ */ new Map(), i =
|
|
6191
|
+
const e = /* @__PURE__ */ new Map(), i = zn.getStateMap();
|
|
6192
6192
|
return n.forEach((s) => {
|
|
6193
6193
|
var a, l;
|
|
6194
6194
|
const o = i.get(s), r = Number((l = (a = o == null ? void 0 : o.opacity) != null ? a : t == null ? void 0 : t.maxOpacity) != null ? l : 1);
|
|
@@ -6201,7 +6201,7 @@ function ww(n, t) {
|
|
|
6201
6201
|
if (!c)
|
|
6202
6202
|
return;
|
|
6203
6203
|
const h = c.maxOpacity * (o / 100);
|
|
6204
|
-
l instanceof HTMLElement ? (l.style.opacity = String(h), l.style.visibility = "visible") : Fo(l) && (
|
|
6204
|
+
l instanceof HTMLElement ? (l.style.opacity = String(h), l.style.visibility = "visible") : Fo(l) && (vs(n).includes(l) && (l.visible = !0), _s(l) && (sl(l) ? (l.material.uniforms.opacity && (l.material.uniforms.opacity.value = h), l.material.transparent = !0) : ol(l) && (l.material.opacity = h, l.material.transparent = !0)));
|
|
6205
6205
|
}), (r = t.onProgress) == null || r.call(t, o), (a = t.updateRender) == null || a.call(t);
|
|
6206
6206
|
};
|
|
6207
6207
|
}
|
|
@@ -6212,13 +6212,13 @@ function _l(n, t) {
|
|
|
6212
6212
|
const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = f1(n, s);
|
|
6213
6213
|
if (o.length === 0)
|
|
6214
6214
|
return Qr("No valid targets found"), rl();
|
|
6215
|
-
|
|
6215
|
+
zn.storeState(o);
|
|
6216
6216
|
const r = he(F(F({}, id), t), {
|
|
6217
6217
|
targets: o,
|
|
6218
6218
|
update: yw(o, t || {})
|
|
6219
6219
|
}), a = ct(r);
|
|
6220
6220
|
a.preComplete = () => {
|
|
6221
|
-
a.completed || (a.pause(),
|
|
6221
|
+
a.completed || (a.pause(), zn.restoreState(o), setTimeout(() => {
|
|
6222
6222
|
var c;
|
|
6223
6223
|
return (c = t == null ? void 0 : t.updateRender) == null ? void 0 : c.call(t);
|
|
6224
6224
|
}));
|
|
@@ -6226,7 +6226,7 @@ function _l(n, t) {
|
|
|
6226
6226
|
const l = kn.get(n);
|
|
6227
6227
|
return l == null || l.pause(), l == null || l.seek(0), kn.set(n, a), (i = t == null ? void 0 : t.onStart) == null || i.call(t), a.play(), a.finished.then(() => {
|
|
6228
6228
|
var c, h;
|
|
6229
|
-
|
|
6229
|
+
zn.restoreState(o), setTimeout(() => {
|
|
6230
6230
|
kn.get(n) === a && kn.delete(n);
|
|
6231
6231
|
}, 1e3), (c = t == null ? void 0 : t.onComplete) == null || c.call(t), (h = t == null ? void 0 : t.updateRender) == null || h.call(t), setTimeout(() => {
|
|
6232
6232
|
var d;
|
|
@@ -6247,13 +6247,13 @@ function g1(n, t) {
|
|
|
6247
6247
|
const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = f1(n, s);
|
|
6248
6248
|
if (o.length === 0)
|
|
6249
6249
|
return Qr("No valid targets found"), rl();
|
|
6250
|
-
|
|
6250
|
+
zn.storeState(o);
|
|
6251
6251
|
const r = he(F(F({}, id), t), {
|
|
6252
6252
|
targets: o,
|
|
6253
6253
|
update: ww(o, t || {})
|
|
6254
6254
|
}), a = ct(r);
|
|
6255
6255
|
a.preComplete = () => {
|
|
6256
|
-
a.completed || (a.pause(),
|
|
6256
|
+
a.completed || (a.pause(), zn.restoreState(o), setTimeout(() => {
|
|
6257
6257
|
var c;
|
|
6258
6258
|
return (c = t == null ? void 0 : t.updateRender) == null ? void 0 : c.call(t);
|
|
6259
6259
|
}));
|
|
@@ -6261,7 +6261,7 @@ function g1(n, t) {
|
|
|
6261
6261
|
const l = kn.get(n);
|
|
6262
6262
|
return l == null || l.pause(), l == null || l.seek(0), kn.set(n, a), (i = t == null ? void 0 : t.onStart) == null || i.call(t), a.play(), a.finished.then(() => {
|
|
6263
6263
|
var c, h;
|
|
6264
|
-
|
|
6264
|
+
zn.restoreState(o), setTimeout(() => {
|
|
6265
6265
|
kn.get(n) === a && kn.delete(n);
|
|
6266
6266
|
}, 1e3), (c = t == null ? void 0 : t.onComplete) == null || c.call(t), (h = t == null ? void 0 : t.updateRender) == null || h.call(t), setTimeout(() => {
|
|
6267
6267
|
var d;
|
|
@@ -6280,7 +6280,7 @@ function Pw(n, t, e) {
|
|
|
6280
6280
|
return _l(n, F(F({}, i), e));
|
|
6281
6281
|
}
|
|
6282
6282
|
function Cw() {
|
|
6283
|
-
|
|
6283
|
+
zn.clear();
|
|
6284
6284
|
}
|
|
6285
6285
|
function Iw(n, t) {
|
|
6286
6286
|
const e = Ei(n), { x: i, y: s } = t, o = i * 2 - 1, r = s * 2 - 1, a = new y.Raycaster();
|
|
@@ -6299,7 +6299,7 @@ function Ew(n, t) {
|
|
|
6299
6299
|
const Mw = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAADYCAYAAACJIC3tAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA2KADAAQAAAABAAAA2AAAAADs6jNqAABAAElEQVR4Aey9C7ClZ1Wu29253yAkJGBCQoAEdBOCbkSgkIMKKgSjIJvLPket2qVyDiLi8VLiPvFSp8ACEUuUAsXN3orgQQoBUVBBvLCFj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qvdCjfSUjfinVd0fmPnk7eHMbrOmQM37Kv73Oc+R8Th+kzlL6vx+TpsX/l7v/d7Dwy9daK9srd+lW3NKOgml8ikNu++ccdJX2/LrzvyyCO/ser/ucY9a5xy++23v+2oo476/vIxblgOOL6S+C7ljferC3k5fCzX6jrh0bEuLXNwWTeK5dDRa7N69aBmjWt2TvLppx6/653fnLXyifZK5P5ljTnrzBNj4iLa9zzoQc58R/WpgUudfud7rTrn5Fnm88w9R23GO88444xdV1555R/UO9UFlft0jc8iKju6xlfdeuutf3jMMcc8q3zX6h4D+0Ajl/qiV/X64GS5WLlELsyHAq8PejH6xDmOePzjH398Ha5HF39tjS/XuKLGNcU96eabb+adDL3vZvRhYNmTOG+0utTKqVVPf8w8aK7XT8J4sUZKfY+T775xn5Me5tLvnOtXY16UT8THUmOcnH7HqXhZby7r+7WgyYEWjRxxt3W57N+vnz7k7U9ML6zjro985CM/G4eLA2btzeVff/TRR3/Tgx70IA4b8zhcWyK5jPtclR5bXgAKC7u6NzfuizKe8PWvfz1fHY6p8fllQy7wihrX1FeOC7/85S+/tHx7+a2iPeAxcMRNyeULfTF7WbtgFzdWX4160AdmDsyeau0rwqfJi+TwGVwDZqwmsefUd6RX1pHHer2xuUlUL30t5tXbW76jefWjezXi6INZn769zFHP6Gsl748UWYPvfZny9WMJX9xvqcHhwuyJf3WNY9/97nf/p0Lq1o0+T8k3XAOxhnZlLn5FLJ0U6Sfi5xgu7pRTTnla6W6twTuYFwd+vMaX6gb8h2c84xknlU999q9wGFOrTk2uw7yIBlOjP5HxknnoXh/SLc2PPte5rl4t+pw360f3xzpRfce5PLxGDWNufnWg/Tt3R+p7L+bXek4eVIfG4T3icGE768eTywt5h+ITRWpyfKni20477bRnFI72r33nsMo23At0+xmN58zG5C2W67jfAn/4h3/4lPpB8pyq/WKNvDB87KYau/7mb/6GA5j19Cbuc1AH1y1584n6zks9XI7eM3P61onyzm9sXpzjzXfs/ajX7JVIbl1sruuSz/6j+dFiidarz/wkXurVy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L4Ua10RvtOPa5nLd+PePkaPi3us4tK4yMcXUkho+BmrXNqA6l8mf5Y21wLThuuw+sYPHV6KywtN7Xiq0VersOibHB02tBZXTOa5S2X56eNHdy1zfGHmaCAFVfmtGOMQcg+0dT55k8G5FZg2mMOaed5U4iokGYVGkXgczVFthnxiQpnyMOdowqzr/pW5Dq/QNfHWlQuKXNcZCzGhDFx6M/uceoFpc6uD6Ro5fhDQdBxyYamtX+S6Rv+uqS/XK1+ajLyl1//pc1Ar/ApdE9/04n70K99tSPecyfH7buRDWoihOaK3UDGP42fUemQttyOnQtcyl99rfogrjibMvPLJc9RY3Iejt1AxTO0mb1N/gmkDtZEcdt9Q9HUbTZ735cUkfcj3GLxC18Rl1ZiXkfozz8N9eIWuiVf+Ok0j8rb4juKzs7Gb+JAXaGiurldcGrrjWK618zbuZ1750lpGEZDjPryFHss8+7qHa5XvmrgbbV2bJGfDJzm5YlKt+Xqs4mgV9moaUs51jSGTg9+L+eDig+oH7uicnEoj1kLFZLRferefQ/ptxoTYfTfyIS/Bujl7fB0nPha1frkNa4qOD2Z96KBmHR9Uf/BN0ftinPSJ79iKed5keN60yUyscyKt+efYkO86PKOG09IYLjn43s41+NCBzTo+qPZw8D7aunH0xsmbHFYbOrlJdkxo3TpUcdc24Rqet6/8jiksUrxYJLR8j43lVd+LAdiH92nyvGje2HnNvp5tz5pUOa45113G+owst0PPOHSYsz7Gz7m6Z6X1jiXnzcLv3cBZLMbAJHvWqMrp0aochtGKkePYOvw5ln3106v5PYfa5ZzZ+mM3cbYLtZp473q18oZiQ/p917wqGPU1pK+LMY5We3Le42oF/utNnePCjlnD3tzevLzevYe/N0/9j8nN45m9f9+NnP3CdSzApms7tv2mhbBp+44lmV/K2E2c3wq92xn/X+v/vnje7T4O9v4PRqxOxnwQYu4AAAAASUVORK5CYII=";
|
|
6300
6300
|
function Ho(n) {
|
|
6301
6301
|
const t = [];
|
|
6302
|
-
return
|
|
6302
|
+
return vs(n).forEach((i) => {
|
|
6303
6303
|
i.traverse((s) => {
|
|
6304
6304
|
(s.isCSS3DObjectPlus || s.isCSS3DObject || s.isCSS3DSprite) && t.push(s);
|
|
6305
6305
|
});
|
|
@@ -6460,7 +6460,7 @@ class Xr {
|
|
|
6460
6460
|
wrapperStyle: {}
|
|
6461
6461
|
};
|
|
6462
6462
|
return Object.assign(z, i);
|
|
6463
|
-
})(), o = e.map(
|
|
6463
|
+
})(), o = e.map(We);
|
|
6464
6464
|
if ((o == null ? void 0 : o.length) < 4)
|
|
6465
6465
|
return console.error(`${Dr}: requires 4 point but params may have fewer`);
|
|
6466
6466
|
const { ratio: r, devicePixelRatio: a, mode: l, autoRender: c, container: h, pointerEvents: d, wrapperStyle: u } = s;
|
|
@@ -6635,9 +6635,9 @@ class Xr {
|
|
|
6635
6635
|
handleDisable() {
|
|
6636
6636
|
var t, e, i;
|
|
6637
6637
|
this.store.frontModeGroup.children.forEach((s) => {
|
|
6638
|
-
s instanceof
|
|
6638
|
+
s instanceof On && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
6639
6639
|
}), (t = this.store.behindModeGroup) == null || t.children.forEach((s) => {
|
|
6640
|
-
s instanceof
|
|
6640
|
+
s instanceof On && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
6641
6641
|
}), (e = this.getFrontCSS3DScene()) == null || e.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((i = this.getBehindCSS3DScene()) == null || i.remove(this.store.behindModeGroup));
|
|
6642
6642
|
}
|
|
6643
6643
|
handleDispose() {
|
|
@@ -6869,7 +6869,7 @@ const pc = Math.PI * 2;
|
|
|
6869
6869
|
function th(n) {
|
|
6870
6870
|
return (n % pc + pc) % pc;
|
|
6871
6871
|
}
|
|
6872
|
-
function
|
|
6872
|
+
function Bs(n) {
|
|
6873
6873
|
return {
|
|
6874
6874
|
longitude: th(-Math.atan2(n.x, -n.z)),
|
|
6875
6875
|
latitude: -Math.asin(n.y / 1)
|
|
@@ -6901,15 +6901,15 @@ function Nw(n, t, e) {
|
|
|
6901
6901
|
break;
|
|
6902
6902
|
u += 30;
|
|
6903
6903
|
}
|
|
6904
|
-
let m = (z = (I = g[2]) != null ? I : g[1]) != null ? z : 0, v = p(m), A = v.distanceTo(r), P =
|
|
6904
|
+
let m = (z = (I = g[2]) != null ? I : g[1]) != null ? z : 0, v = p(m), A = v.distanceTo(r), P = Bs(r.clone().sub(v).normalize());
|
|
6905
6905
|
if (e != null && e.minDistance && A < e.minDistance) {
|
|
6906
6906
|
A = e.minDistance;
|
|
6907
6907
|
const D = v.clone().sub(r).normalize();
|
|
6908
|
-
v = r.clone().add(D.multiplyScalar(A)), P =
|
|
6908
|
+
v = r.clone().add(D.multiplyScalar(A)), P = Bs(r.clone().sub(v).normalize());
|
|
6909
6909
|
}
|
|
6910
6910
|
if (e != null && e.minLatitude && P.latitude < e.minLatitude) {
|
|
6911
6911
|
const D = A * Math.cos(e.minLatitude), j = A * Math.sin(e.minLatitude), T = v.clone().sub(r);
|
|
6912
|
-
T.y = 0, T.normalize().multiplyScalar(D), v = r.clone().add(T).add(new y.Vector3(0, j, 0)), A = v.distanceTo(r), P =
|
|
6912
|
+
T.y = 0, T.normalize().multiplyScalar(D), v = r.clone().add(T).add(new y.Vector3(0, j, 0)), A = v.distanceTo(r), P = Bs(r.clone().sub(v).normalize());
|
|
6913
6913
|
}
|
|
6914
6914
|
if (n.state.mode === "Mapview")
|
|
6915
6915
|
return n.updateCamera(
|
|
@@ -6947,7 +6947,7 @@ function v1(n, t, e) {
|
|
|
6947
6947
|
break;
|
|
6948
6948
|
h += 30;
|
|
6949
6949
|
}
|
|
6950
|
-
const g = u((v = d[1]) != null ? v : 0), p =
|
|
6950
|
+
const g = u((v = d[1]) != null ? v : 0), p = Bs(t.clone().sub(g).normalize());
|
|
6951
6951
|
if (n.state.mode === "Mapview")
|
|
6952
6952
|
return n.updateCamera(
|
|
6953
6953
|
F({
|
|
@@ -7261,7 +7261,7 @@ class No {
|
|
|
7261
7261
|
function Gw(n) {
|
|
7262
7262
|
return n.model ? n.work ? n.model.loaded ? n.model.name !== n.work.getURL(n.work.model.file) ? { result: !1, msg: "five.model.name 与 five.work.model.file 不一致" } : { result: !0, msg: "" } : { result: !1, msg: "five.model 未加载完成" } : { result: !1, msg: "five 数据未加载" } : { result: !1, msg: "five.model 不存在" };
|
|
7263
7263
|
}
|
|
7264
|
-
const Vl = "//vr-image-4.realsee-cdn.cn", Fl = "//vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png", nd = "//vr-image-4.realsee-cdn.cn/release/web/arrow-white.5c2c79a5.png", sd = "//vr-image-4.realsee-cdn.cn/release/web/PanoSpatialTagPlugin__blur.png", od = "//vr-image-4.realsee-cdn.cn/release/web/test.09dee741.png", rd = "//vr-image-4.realsee-cdn.cn/release/web/dipan2.f38a21cc.FBX", ad = "//vr-image-4.realsee-cdn.cn/release/web/logo.7febb17f.png", ld = "//vr-public.realsee-cdn.cn/release/web/entryDoorMini/Anim_Door1.fbx",
|
|
7264
|
+
const Vl = "//vr-image-4.realsee-cdn.cn", Fl = "//vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png", nd = "//vr-image-4.realsee-cdn.cn/release/web/arrow-white.5c2c79a5.png", sd = "//vr-image-4.realsee-cdn.cn/release/web/PanoSpatialTagPlugin__blur.png", od = "//vr-image-4.realsee-cdn.cn/release/web/test.09dee741.png", rd = "//vr-image-4.realsee-cdn.cn/release/web/dipan2.f38a21cc.FBX", ad = "//vr-image-4.realsee-cdn.cn/release/web/logo.7febb17f.png", ld = "//vr-public.realsee-cdn.cn/release/web/entryDoorMini/Anim_Door1.fbx", ds = "//vr-image-4.realsee-cdn.cn/release/web/saas/missing-floorplan.e274c596.png", cd = "//vr-image-4.realsee-cdn.cn/release/web/v3/north-point-circle.96498e69.png", hd = "//vr-image-4.realsee-cdn.cn/release/web/enterDoor.831b8208.png", Ww = [
|
|
7265
7265
|
Fl,
|
|
7266
7266
|
nd,
|
|
7267
7267
|
sd,
|
|
@@ -7269,7 +7269,7 @@ const Vl = "//vr-image-4.realsee-cdn.cn", Fl = "//vr-image-4.realsee-cdn.cn/rele
|
|
|
7269
7269
|
rd,
|
|
7270
7270
|
ad,
|
|
7271
7271
|
ld,
|
|
7272
|
-
|
|
7272
|
+
ds,
|
|
7273
7273
|
cd,
|
|
7274
7274
|
hd
|
|
7275
7275
|
];
|
|
@@ -7603,7 +7603,7 @@ const bT = (n) => {
|
|
|
7603
7603
|
};
|
|
7604
7604
|
function se() {
|
|
7605
7605
|
}
|
|
7606
|
-
const
|
|
7606
|
+
const jn = (n) => n;
|
|
7607
7607
|
function ft(n, t) {
|
|
7608
7608
|
for (const e in t)
|
|
7609
7609
|
n[e] = t[e];
|
|
@@ -7634,7 +7634,7 @@ function ht(n, t) {
|
|
|
7634
7634
|
function n2(n) {
|
|
7635
7635
|
return Object.keys(n).length === 0;
|
|
7636
7636
|
}
|
|
7637
|
-
function
|
|
7637
|
+
function us(n, t, e, i) {
|
|
7638
7638
|
if (n) {
|
|
7639
7639
|
const s = w1(n, t, e, i);
|
|
7640
7640
|
return n[0](s);
|
|
@@ -7643,7 +7643,7 @@ function ds(n, t, e, i) {
|
|
|
7643
7643
|
function w1(n, t, e, i) {
|
|
7644
7644
|
return n[1] && i ? ft(e.ctx.slice(), n[1](i(t))) : e.ctx;
|
|
7645
7645
|
}
|
|
7646
|
-
function
|
|
7646
|
+
function fs(n, t, e, i) {
|
|
7647
7647
|
if (n[2] && i) {
|
|
7648
7648
|
const s = n[2](i(e));
|
|
7649
7649
|
if (t.dirty === void 0)
|
|
@@ -7658,13 +7658,13 @@ function us(n, t, e, i) {
|
|
|
7658
7658
|
}
|
|
7659
7659
|
return t.dirty;
|
|
7660
7660
|
}
|
|
7661
|
-
function
|
|
7661
|
+
function gs(n, t, e, i, s, o) {
|
|
7662
7662
|
if (s) {
|
|
7663
7663
|
const r = w1(t, e, i, o);
|
|
7664
7664
|
n.p(r, s);
|
|
7665
7665
|
}
|
|
7666
7666
|
}
|
|
7667
|
-
function
|
|
7667
|
+
function ps(n) {
|
|
7668
7668
|
if (n.ctx.length > 32) {
|
|
7669
7669
|
const t = [], e = n.ctx.length / 32;
|
|
7670
7670
|
for (let i = 0; i < e; i++)
|
|
@@ -7873,25 +7873,25 @@ let qr;
|
|
|
7873
7873
|
function xn(n) {
|
|
7874
7874
|
qr = n;
|
|
7875
7875
|
}
|
|
7876
|
-
function
|
|
7876
|
+
function As() {
|
|
7877
7877
|
if (!qr)
|
|
7878
7878
|
throw new Error("Function called outside component initialization");
|
|
7879
7879
|
return qr;
|
|
7880
7880
|
}
|
|
7881
7881
|
function k1(n) {
|
|
7882
|
-
|
|
7882
|
+
As().$$.before_update.push(n);
|
|
7883
7883
|
}
|
|
7884
7884
|
function Tt(n) {
|
|
7885
|
-
|
|
7885
|
+
As().$$.on_mount.push(n);
|
|
7886
7886
|
}
|
|
7887
7887
|
function vd(n) {
|
|
7888
|
-
|
|
7888
|
+
As().$$.after_update.push(n);
|
|
7889
7889
|
}
|
|
7890
7890
|
function $t(n) {
|
|
7891
|
-
|
|
7891
|
+
As().$$.on_destroy.push(n);
|
|
7892
7892
|
}
|
|
7893
|
-
function
|
|
7894
|
-
const n =
|
|
7893
|
+
function _n() {
|
|
7894
|
+
const n = As();
|
|
7895
7895
|
return (t, e, { cancelable: i = !1 } = {}) => {
|
|
7896
7896
|
const s = n.$$.callbacks[t];
|
|
7897
7897
|
if (s) {
|
|
@@ -7904,12 +7904,12 @@ function Rn() {
|
|
|
7904
7904
|
};
|
|
7905
7905
|
}
|
|
7906
7906
|
function ul(n, t) {
|
|
7907
|
-
return
|
|
7907
|
+
return As().$$.context.set(n, t), t;
|
|
7908
7908
|
}
|
|
7909
7909
|
function an(n) {
|
|
7910
|
-
return
|
|
7910
|
+
return As().$$.context.get(n);
|
|
7911
7911
|
}
|
|
7912
|
-
function
|
|
7912
|
+
function Rn(n, t) {
|
|
7913
7913
|
const e = n.$$.callbacks[t.type];
|
|
7914
7914
|
e && e.slice().forEach((i) => i.call(this, t));
|
|
7915
7915
|
}
|
|
@@ -7973,7 +7973,7 @@ function Ad() {
|
|
|
7973
7973
|
Pr = null;
|
|
7974
7974
|
})), Pr;
|
|
7975
7975
|
}
|
|
7976
|
-
function
|
|
7976
|
+
function Vs(n, t, e) {
|
|
7977
7977
|
n.dispatchEvent(M1(`${t ? "intro" : "outro"}${e}`));
|
|
7978
7978
|
}
|
|
7979
7979
|
const Xa = /* @__PURE__ */ new Set();
|
|
@@ -8003,20 +8003,20 @@ function Y(n, t, e, i) {
|
|
|
8003
8003
|
i && i();
|
|
8004
8004
|
}
|
|
8005
8005
|
const bd = { duration: 0 };
|
|
8006
|
-
function
|
|
8006
|
+
function bs(n, t, e) {
|
|
8007
8007
|
const i = { direction: "in" };
|
|
8008
8008
|
let s = t(n, e, i), o = !1, r, a, l = 0;
|
|
8009
8009
|
function c() {
|
|
8010
8010
|
r && dl(n, r);
|
|
8011
8011
|
}
|
|
8012
8012
|
function h() {
|
|
8013
|
-
const { delay: u = 0, duration: g = 300, easing: p =
|
|
8013
|
+
const { delay: u = 0, duration: g = 300, easing: p = jn, tick: m = se, css: v } = s || bd;
|
|
8014
8014
|
v && (r = hl(n, 0, 1, g, u, p, v, l++)), m(0, 1);
|
|
8015
8015
|
const A = ud() + u, P = A + g;
|
|
8016
|
-
a && a.abort(), o = !0, wt(() =>
|
|
8016
|
+
a && a.abort(), o = !0, wt(() => Vs(n, !0, "start")), a = gd((E) => {
|
|
8017
8017
|
if (o) {
|
|
8018
8018
|
if (E >= P)
|
|
8019
|
-
return m(1, 0),
|
|
8019
|
+
return m(1, 0), Vs(n, !0, "end"), c(), o = !1;
|
|
8020
8020
|
if (E >= A) {
|
|
8021
8021
|
const I = p((E - A) / g);
|
|
8022
8022
|
m(I, 1 - I);
|
|
@@ -8044,13 +8044,13 @@ function sr(n, t, e) {
|
|
|
8044
8044
|
const a = sn;
|
|
8045
8045
|
a.r += 1;
|
|
8046
8046
|
function l() {
|
|
8047
|
-
const { delay: c = 0, duration: h = 300, easing: d =
|
|
8047
|
+
const { delay: c = 0, duration: h = 300, easing: d = jn, tick: u = se, css: g } = s || bd;
|
|
8048
8048
|
g && (r = hl(n, 1, 0, h, c, d, g));
|
|
8049
8049
|
const p = ud() + c, m = p + h;
|
|
8050
|
-
wt(() =>
|
|
8050
|
+
wt(() => Vs(n, !1, "start")), gd((v) => {
|
|
8051
8051
|
if (o) {
|
|
8052
8052
|
if (v >= m)
|
|
8053
|
-
return u(0, 1),
|
|
8053
|
+
return u(0, 1), Vs(n, !1, "end"), --a.r || dt(a.c), !1;
|
|
8054
8054
|
if (v >= p) {
|
|
8055
8055
|
const A = d((v - p) / h);
|
|
8056
8056
|
u(1 - A, A);
|
|
@@ -8086,14 +8086,14 @@ function ji(n, t, e, i) {
|
|
|
8086
8086
|
};
|
|
8087
8087
|
}
|
|
8088
8088
|
function u(g) {
|
|
8089
|
-
const { delay: p = 0, duration: m = 300, easing: v =
|
|
8089
|
+
const { delay: p = 0, duration: m = 300, easing: v = jn, tick: A = se, css: P } = o || bd, E = {
|
|
8090
8090
|
start: ud() + p,
|
|
8091
8091
|
b: g
|
|
8092
8092
|
};
|
|
8093
|
-
g || (E.group = sn, sn.r += 1), a || l ? l = E : (P && (h(), c = hl(n, r, g, m, p, v, P)), g && A(0, 1), a = d(E, m), wt(() =>
|
|
8094
|
-
if (l && I > l.start && (a = d(l, m), l = null,
|
|
8093
|
+
g || (E.group = sn, sn.r += 1), a || l ? l = E : (P && (h(), c = hl(n, r, g, m, p, v, P)), g && A(0, 1), a = d(E, m), wt(() => Vs(n, g, "start")), gd((I) => {
|
|
8094
|
+
if (l && I > l.start && (a = d(l, m), l = null, Vs(n, a.b, "start"), P && (h(), c = hl(n, r, a.b, a.duration, 0, v, o.css))), a) {
|
|
8095
8095
|
if (I >= a.end)
|
|
8096
|
-
A(r = a.b, 1 - r),
|
|
8096
|
+
A(r = a.b, 1 - r), Vs(n, a.b, "end"), l || (a.b ? h() : --a.group.r || dt(a.group.c)), a = null;
|
|
8097
8097
|
else if (I >= a.start) {
|
|
8098
8098
|
const z = I - a.start;
|
|
8099
8099
|
r = a.a + a.d * v(z / a.duration), A(r, 1 - r);
|
|
@@ -8130,7 +8130,7 @@ function Uo(n, t) {
|
|
|
8130
8130
|
}) : t.block.d(1), c.c(), H(c, 1), c.m(t.mount(), t.anchor), h = !0), t.block = c, t.blocks && (t.blocks[o] = c), h && En();
|
|
8131
8131
|
}
|
|
8132
8132
|
if (i2(n)) {
|
|
8133
|
-
const s =
|
|
8133
|
+
const s = As();
|
|
8134
8134
|
if (n.then((o) => {
|
|
8135
8135
|
xn(s), i(t.then, 1, t.value, o), xn(null);
|
|
8136
8136
|
}, (o) => {
|
|
@@ -9109,7 +9109,7 @@ const wT = (n) => new U2(n), PT = {
|
|
|
9109
9109
|
name: "ModelRoomLabelPlugin",
|
|
9110
9110
|
version: 0
|
|
9111
9111
|
};
|
|
9112
|
-
var
|
|
9112
|
+
var Fs = /* @__PURE__ */ ((n) => (n[n.FLOOR = 1] = "FLOOR", n[n.CEILING = 2] = "CEILING", n[n.BOUNDING_CENTER = 3] = "BOUNDING_CENTER", n))(Fs || {});
|
|
9113
9113
|
function Xs(n) {
|
|
9114
9114
|
return te(this, null, function* () {
|
|
9115
9115
|
try {
|
|
@@ -9126,7 +9126,7 @@ function Zr(n) {
|
|
|
9126
9126
|
const t = n - 1;
|
|
9127
9127
|
return t * t * t + 1;
|
|
9128
9128
|
}
|
|
9129
|
-
function Vt(n, { delay: t = 0, duration: e = 400, easing: i =
|
|
9129
|
+
function Vt(n, { delay: t = 0, duration: e = 400, easing: i = jn } = {}) {
|
|
9130
9130
|
const s = +getComputedStyle(n).opacity;
|
|
9131
9131
|
return {
|
|
9132
9132
|
delay: t,
|
|
@@ -10752,7 +10752,7 @@ class T3 extends Pe {
|
|
|
10752
10752
|
);
|
|
10753
10753
|
}
|
|
10754
10754
|
}
|
|
10755
|
-
function
|
|
10755
|
+
function rs(n, t = {}) {
|
|
10756
10756
|
let e = "";
|
|
10757
10757
|
const { needZ: i, needA: s } = t;
|
|
10758
10758
|
return (i ? n.slice().concat(n[0]) : n.slice()).forEach((r, a) => {
|
|
@@ -10816,7 +10816,7 @@ function R3(n, t, e) {
|
|
|
10816
10816
|
"path" in o && e(1, s = o.path);
|
|
10817
10817
|
}, n.$$.update = () => {
|
|
10818
10818
|
n.$$.dirty & /*path*/
|
|
10819
|
-
2 && e(0, i =
|
|
10819
|
+
2 && e(0, i = rs(s, { needZ: !0 }));
|
|
10820
10820
|
}, [i, s];
|
|
10821
10821
|
}
|
|
10822
10822
|
class _3 extends Pe {
|
|
@@ -10887,7 +10887,7 @@ function V3(n, t, e) {
|
|
|
10887
10887
|
"path" in a && e(3, s = a.path);
|
|
10888
10888
|
}, n.$$.update = () => {
|
|
10889
10889
|
n.$$.dirty & /*path*/
|
|
10890
|
-
8 && e(0, i =
|
|
10890
|
+
8 && e(0, i = rs(s, { needZ: !0 }));
|
|
10891
10891
|
}, [i, o, r, s];
|
|
10892
10892
|
}
|
|
10893
10893
|
class F3 extends Pe {
|
|
@@ -10953,7 +10953,7 @@ function N3(n, t, e) {
|
|
|
10953
10953
|
"path" in o && e(1, s = o.path);
|
|
10954
10954
|
}, n.$$.update = () => {
|
|
10955
10955
|
n.$$.dirty & /*path*/
|
|
10956
|
-
2 && e(0, i =
|
|
10956
|
+
2 && e(0, i = rs(s, { needZ: !0 }));
|
|
10957
10957
|
}, [i, s];
|
|
10958
10958
|
}
|
|
10959
10959
|
class G3 extends Pe {
|
|
@@ -10985,7 +10985,7 @@ function W3(n) {
|
|
|
10985
10985
|
}
|
|
10986
10986
|
function U3(n, t, e) {
|
|
10987
10987
|
let { dimension: i } = t;
|
|
10988
|
-
const s =
|
|
10988
|
+
const s = rs(
|
|
10989
10989
|
[
|
|
10990
10990
|
{
|
|
10991
10991
|
x: i.vertical[1].x,
|
|
@@ -11001,7 +11001,7 @@ function U3(n, t, e) {
|
|
|
11001
11001
|
}
|
|
11002
11002
|
],
|
|
11003
11003
|
{ needZ: !0 }
|
|
11004
|
-
), o =
|
|
11004
|
+
), o = rs(
|
|
11005
11005
|
[
|
|
11006
11006
|
{
|
|
11007
11007
|
x: i.vertical[0].x,
|
|
@@ -11017,7 +11017,7 @@ function U3(n, t, e) {
|
|
|
11017
11017
|
}
|
|
11018
11018
|
],
|
|
11019
11019
|
{ needZ: !0 }
|
|
11020
|
-
), r =
|
|
11020
|
+
), r = rs(
|
|
11021
11021
|
[
|
|
11022
11022
|
{
|
|
11023
11023
|
x: i.horizontal[0].x + 53,
|
|
@@ -11033,7 +11033,7 @@ function U3(n, t, e) {
|
|
|
11033
11033
|
}
|
|
11034
11034
|
],
|
|
11035
11035
|
{ needZ: !0 }
|
|
11036
|
-
), a =
|
|
11036
|
+
), a = rs(
|
|
11037
11037
|
[
|
|
11038
11038
|
{
|
|
11039
11039
|
x: i.horizontal[1].x - 53,
|
|
@@ -11411,7 +11411,7 @@ function iP(n, t, e) {
|
|
|
11411
11411
|
function d() {
|
|
11412
11412
|
c == null || c.set(void 0);
|
|
11413
11413
|
}
|
|
11414
|
-
const { bounding: u } = a, g =
|
|
11414
|
+
const { bounding: u } = a, g = rs(o.path, {
|
|
11415
11415
|
needZ: !0,
|
|
11416
11416
|
format: (p) => _1(p, u)
|
|
11417
11417
|
});
|
|
@@ -12624,12 +12624,12 @@ function vf(n) {
|
|
|
12624
12624
|
for (let l = 0; l < s.length; l += 1)
|
|
12625
12625
|
H(o[l]);
|
|
12626
12626
|
e || wt(() => {
|
|
12627
|
-
e =
|
|
12627
|
+
e = bs(t, Vt, {
|
|
12628
12628
|
duration: (
|
|
12629
12629
|
/*duration*/
|
|
12630
12630
|
n[0]
|
|
12631
12631
|
),
|
|
12632
|
-
easing:
|
|
12632
|
+
easing: jn
|
|
12633
12633
|
}), e.start();
|
|
12634
12634
|
}), i = !0;
|
|
12635
12635
|
}
|
|
@@ -13104,20 +13104,20 @@ function bf(n, t) {
|
|
|
13104
13104
|
const e = Math.max(...n.work.observers.map((i) => i.floorIndex));
|
|
13105
13105
|
return t > e ? n.model.bounding.max.y : Math.max(...n.work.observers.filter((i) => i.floorIndex === t).map((i) => i.standingPosition.y));
|
|
13106
13106
|
}
|
|
13107
|
-
function Md(n, t, e =
|
|
13107
|
+
function Md(n, t, e = Fs.BOUNDING_CENTER) {
|
|
13108
13108
|
const i = bf(n, t), s = bf(n, t + 1);
|
|
13109
|
-
return e ===
|
|
13109
|
+
return e === Fs.BOUNDING_CENTER ? (n.model.bounding.max.y + n.model.bounding.min.y) / 2 : e === Fs.CEILING ? s : i;
|
|
13110
13110
|
}
|
|
13111
13111
|
function kd(n, t, e, i) {
|
|
13112
13112
|
const s = Md(n, e, i == null ? void 0 : i.attachedTo), o = new y.Vector3(0, s, 0), r = new y.Vector3(1, s, 0), a = o.clone().project(n.camera), l = r.clone().project(n.camera);
|
|
13113
13113
|
return Math.abs((l.x - a.x) / 1e3) * (t.getBoundingClientRect().width / 2);
|
|
13114
13114
|
}
|
|
13115
|
-
let
|
|
13115
|
+
let ys = class {
|
|
13116
13116
|
constructor(t, e) {
|
|
13117
13117
|
/**
|
|
13118
13118
|
* @realsee/dnalogel 版本号
|
|
13119
13119
|
*/
|
|
13120
|
-
f(this, "VERSION", "3.72.5-alpha.
|
|
13120
|
+
f(this, "VERSION", "3.72.5-alpha.5");
|
|
13121
13121
|
f(this, "NAME");
|
|
13122
13122
|
f(this, "five");
|
|
13123
13123
|
f(this, "workUtil");
|
|
@@ -13146,18 +13146,18 @@ let bs = class {
|
|
|
13146
13146
|
}
|
|
13147
13147
|
onWorkCodeChange() {
|
|
13148
13148
|
}
|
|
13149
|
-
}, fn = class extends
|
|
13149
|
+
}, fn = class extends ys {
|
|
13150
13150
|
};
|
|
13151
13151
|
var gi = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.UpdateSizeError = "UpdateSizeError", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(gi || {});
|
|
13152
13152
|
const H1 = 500, RP = 80;
|
|
13153
|
-
function
|
|
13153
|
+
function Hs(n, t, e = 4) {
|
|
13154
13154
|
return Math.abs(n - t) < Math.pow(10, -e);
|
|
13155
13155
|
}
|
|
13156
13156
|
function N1(n, t, e = 4) {
|
|
13157
13157
|
const i = Math.PI * 2, s = n % i, o = t % i, r = Math.min(s, o), a = Math.max(s, o);
|
|
13158
|
-
return
|
|
13158
|
+
return Hs(r, a, e) || Hs(r + i, a, e);
|
|
13159
13159
|
}
|
|
13160
|
-
Object.assign(window, { nearlyEqual:
|
|
13160
|
+
Object.assign(window, { nearlyEqual: Hs, nearlyEqualRad: N1 });
|
|
13161
13161
|
function _P(n) {
|
|
13162
13162
|
return Object.prototype.toString.call(n) === "[object Object]";
|
|
13163
13163
|
}
|
|
@@ -13185,14 +13185,14 @@ function xd(n, t) {
|
|
|
13185
13185
|
function BP(n, t) {
|
|
13186
13186
|
return Object.keys(n).every((e) => {
|
|
13187
13187
|
const i = t[e], s = n[e];
|
|
13188
|
-
return i === void 0 || s === void 0 ? !0 : e === "longitude" || e === "latitude" ? N1(i, s, 2) : typeof i == "number" && typeof s == "number" ?
|
|
13188
|
+
return i === void 0 || s === void 0 ? !0 : e === "longitude" || e === "latitude" ? N1(i, s, 2) : typeof i == "number" && typeof s == "number" ? Hs(i, s, 2) : yf(s) && yf(i) ? s.distanceTo(i) < 0.01 : i === s;
|
|
13189
13189
|
});
|
|
13190
13190
|
}
|
|
13191
13191
|
function VP(n, t) {
|
|
13192
13192
|
if (n.currentMode !== t.mode)
|
|
13193
13193
|
return !1;
|
|
13194
13194
|
const { latitude: e, longitude: i, fov: s, offset: o } = t, { latitude: r, longitude: a, offset: l } = n.getCurrentState(), c = n.camera.fov;
|
|
13195
|
-
return !(!
|
|
13195
|
+
return !(!Hs(e, r, 2) || !Hs(i, a, 2) || o !== void 0 && o.distanceTo(l) > 0.01 || !Hs(s, c, 2));
|
|
13196
13196
|
}
|
|
13197
13197
|
function G1(n, t, e = !0) {
|
|
13198
13198
|
return te(this, null, function* () {
|
|
@@ -13450,7 +13450,7 @@ let NP = class extends fn {
|
|
|
13450
13450
|
latitude: Math.PI / 2,
|
|
13451
13451
|
fov: RP / ((l = i == null ? void 0 : i.scale) != null ? l : 1)
|
|
13452
13452
|
}, this.defaultMissingFloorConfig = {
|
|
13453
|
-
imageURL: on(i == null ? void 0 : i.staticPrefix,
|
|
13453
|
+
imageURL: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
13454
13454
|
imageWidth: 200,
|
|
13455
13455
|
imageHeight: 120,
|
|
13456
13456
|
text: (h = (c = i.i18n) == null ? void 0 : c.call(i, "暂无平面图")) != null ? h : "暂无平面图",
|
|
@@ -13472,7 +13472,7 @@ let NP = class extends fn {
|
|
|
13472
13472
|
roomDimensionEnable: !0,
|
|
13473
13473
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
13474
13474
|
cameraImageUrl: ln,
|
|
13475
|
-
attachedTo:
|
|
13475
|
+
attachedTo: Fs.BOUNDING_CENTER,
|
|
13476
13476
|
getLabelElement: void 0,
|
|
13477
13477
|
missingFloorConfig: F(F({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
13478
13478
|
i18n: (d) => d,
|
|
@@ -16456,7 +16456,7 @@ let QP = class extends fn {
|
|
|
16456
16456
|
longitude: 0,
|
|
16457
16457
|
latitude: Math.PI / 2
|
|
16458
16458
|
}, this.defaultMissingFloorConfig = {
|
|
16459
|
-
imageURL: on(i == null ? void 0 : i.staticPrefix,
|
|
16459
|
+
imageURL: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
16460
16460
|
imageWidth: 200,
|
|
16461
16461
|
imageHeight: 120,
|
|
16462
16462
|
text: (c = (l = i.i18n) == null ? void 0 : l.call(i, "暂无平面图")) != null ? c : "暂无平面图",
|
|
@@ -16477,7 +16477,7 @@ let QP = class extends fn {
|
|
|
16477
16477
|
roomNameOtherTypeEnable: !0,
|
|
16478
16478
|
roomDimensionEnable: !0,
|
|
16479
16479
|
cameraImageUrl: ln,
|
|
16480
|
-
attachedTo:
|
|
16480
|
+
attachedTo: Fs.BOUNDING_CENTER,
|
|
16481
16481
|
getLabelElement: void 0,
|
|
16482
16482
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
16483
16483
|
missingFloorConfig: F(F({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
@@ -16706,7 +16706,7 @@ let XP = class extends fn {
|
|
|
16706
16706
|
}
|
|
16707
16707
|
});
|
|
16708
16708
|
i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.defaultMissingFloorConfig = {
|
|
16709
|
-
imageURL: on(i == null ? void 0 : i.staticPrefix,
|
|
16709
|
+
imageURL: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
16710
16710
|
imageWidth: 200,
|
|
16711
16711
|
imageHeight: 120,
|
|
16712
16712
|
text: (c = (l = i.i18n) == null ? void 0 : l.call(i, "暂无平面图")) != null ? c : "暂无平面图",
|
|
@@ -16728,7 +16728,7 @@ let XP = class extends fn {
|
|
|
16728
16728
|
roomNameOtherTypeEnable: !0,
|
|
16729
16729
|
roomDimensionEnable: !0,
|
|
16730
16730
|
cameraImageUrl: ln,
|
|
16731
|
-
attachedTo:
|
|
16731
|
+
attachedTo: Fs.BOUNDING_CENTER,
|
|
16732
16732
|
getLabelElement: void 0,
|
|
16733
16733
|
missingFloorConfig: F(F({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
|
|
16734
16734
|
i18n: (h) => h,
|
|
@@ -17689,7 +17689,7 @@ let uC = class extends Pe {
|
|
|
17689
17689
|
hoverEnable: !1,
|
|
17690
17690
|
highlightEnable: !1,
|
|
17691
17691
|
cameraImageUrl: ln,
|
|
17692
|
-
missingFloorImageUrl: on(i == null ? void 0 : i.staticPrefix,
|
|
17692
|
+
missingFloorImageUrl: on(i == null ? void 0 : i.staticPrefix, ds)
|
|
17693
17693
|
}, o = F(F({}, s), i == null ? void 0 : i.configs);
|
|
17694
17694
|
this.state = { enabled: !0, visible: !0, config: o }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
|
|
17695
17695
|
}
|
|
@@ -18640,7 +18640,7 @@ const RC = () => {
|
|
|
18640
18640
|
};
|
|
18641
18641
|
function _C(n, t, e) {
|
|
18642
18642
|
let i, s, o, { room: r } = t, { isHovered: a } = t, { roomNameEnable: l } = t, { roomAreaEnable: c } = t, { roomAreaSize: h } = t, { userConfigElement: d } = t, { adaptiveRoomLabelVisibleEnable: u } = t, { pxmm: g } = t, { left: p } = t, { top: m } = t, { createLabelInRoomChecker: v } = t;
|
|
18643
|
-
const A =
|
|
18643
|
+
const A = _n();
|
|
18644
18644
|
let P = 0, E = 0;
|
|
18645
18645
|
const I = () => A("mouseenter"), z = () => A("mouseleave"), D = (T) => {
|
|
18646
18646
|
e(8, P = T.detail);
|
|
@@ -19836,7 +19836,7 @@ let e5 = class extends fn {
|
|
|
19836
19836
|
this.updateState({ displayedFloorIndex: e }, !0), this.render();
|
|
19837
19837
|
});
|
|
19838
19838
|
this.five = e, this.defaultMissingFloorConfig = {
|
|
19839
|
-
imageURL: on(i == null ? void 0 : i.staticPrefix,
|
|
19839
|
+
imageURL: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
19840
19840
|
imageWidth: 200,
|
|
19841
19841
|
imageHeight: 120,
|
|
19842
19842
|
text: (a = (r = i == null ? void 0 : i.i18n) == null ? void 0 : r.call(i, "暂无平面图")) != null ? a : "暂无平面图",
|
|
@@ -19846,7 +19846,7 @@ let e5 = class extends fn {
|
|
|
19846
19846
|
hoverEnable: !1,
|
|
19847
19847
|
highlightEnable: !1,
|
|
19848
19848
|
cameraImageUrl: hP,
|
|
19849
|
-
missingFloorImageUrl: on(i == null ? void 0 : i.staticPrefix,
|
|
19849
|
+
missingFloorImageUrl: on(i == null ? void 0 : i.staticPrefix, ds),
|
|
19850
19850
|
missingFloorConfig: F(F({}, this.defaultMissingFloorConfig), i == null ? void 0 : i.missingFloorConfig),
|
|
19851
19851
|
clickEnable: !0,
|
|
19852
19852
|
roomLabelsEnable: !1,
|
|
@@ -20118,7 +20118,7 @@ function Sd(n, t) {
|
|
|
20118
20118
|
!e.length && t !== Pi ? i[s] = t : i = i[s] ? i[s] : i[s] = {};
|
|
20119
20119
|
}
|
|
20120
20120
|
var mt = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
|
|
20121
|
-
function
|
|
20121
|
+
function Ts(n) {
|
|
20122
20122
|
var t = n.length, e = 0, i = Number.POSITIVE_INFINITY, s, o, r, a, l, c, h, d, u, g;
|
|
20123
20123
|
for (d = 0; d < t; ++d)
|
|
20124
20124
|
n[d] > e && (e = n[d]), n[d] < i && (i = n[d]);
|
|
@@ -20135,7 +20135,7 @@ function Ds(n) {
|
|
|
20135
20135
|
}
|
|
20136
20136
|
return [o, e, i];
|
|
20137
20137
|
}
|
|
20138
|
-
function
|
|
20138
|
+
function ws(n, t) {
|
|
20139
20139
|
switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = mt ? new Uint8Array(n) : n, this.m = !1, this.i = vl, this.r = !1, (t || !(t = {})) && (t.index && (this.a = t.index), t.bufferSize && (this.h = t.bufferSize), t.bufferType && (this.i = t.bufferType), t.resize && (this.r = t.resize)), this.i) {
|
|
20140
20140
|
case Dd:
|
|
20141
20141
|
this.b = 32768, this.c = new (mt ? Uint8Array : Array)(32768 + this.h + 258);
|
|
@@ -20148,7 +20148,7 @@ function ys(n, t) {
|
|
|
20148
20148
|
}
|
|
20149
20149
|
}
|
|
20150
20150
|
var Dd = 0, vl = 1, Nf = { t: Dd, s: vl };
|
|
20151
|
-
|
|
20151
|
+
ws.prototype.k = function() {
|
|
20152
20152
|
for (; !this.m; ) {
|
|
20153
20153
|
var n = Li(this, 3);
|
|
20154
20154
|
switch (n & 1 && (this.m = !0), n >>>= 1, n) {
|
|
@@ -20196,7 +20196,7 @@ ys.prototype.k = function() {
|
|
|
20196
20196
|
if (!mt)
|
|
20197
20197
|
for (D = u, u = g.length; D < u; ++D)
|
|
20198
20198
|
g[wc[D]] = 0;
|
|
20199
|
-
for (p =
|
|
20199
|
+
for (p = Ts(g), A = new (mt ? Uint8Array : Array)(h + d), D = 0, z = h + d; D < z; )
|
|
20200
20200
|
switch (P = Jr(this, p), P) {
|
|
20201
20201
|
case 16:
|
|
20202
20202
|
for (I = 3 + Li(this, 2); I--; )
|
|
@@ -20215,7 +20215,7 @@ ys.prototype.k = function() {
|
|
|
20215
20215
|
default:
|
|
20216
20216
|
E = A[D++] = P;
|
|
20217
20217
|
}
|
|
20218
|
-
m =
|
|
20218
|
+
m = Ts(mt ? A.subarray(0, h) : A.slice(0, h)), v = Ts(mt ? A.subarray(h) : A.slice(h)), this.j(m, v);
|
|
20219
20219
|
break;
|
|
20220
20220
|
default:
|
|
20221
20221
|
throw Error("unknown BTYPE: " + n);
|
|
@@ -20254,15 +20254,15 @@ var Gf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], wc
|
|
|
20254
20254
|
12289,
|
|
20255
20255
|
16385,
|
|
20256
20256
|
24577
|
|
20257
|
-
], X1 = mt ? new Uint16Array(Qf) : Qf, Xf = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], bl = mt ? new Uint8Array(Xf) : Xf, oh = new (mt ? Uint8Array : Array)(288),
|
|
20258
|
-
|
|
20259
|
-
for (Yf = oh.length;
|
|
20260
|
-
oh[
|
|
20261
|
-
var n5 =
|
|
20257
|
+
], X1 = mt ? new Uint16Array(Qf) : Qf, Xf = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], bl = mt ? new Uint8Array(Xf) : Xf, oh = new (mt ? Uint8Array : Array)(288), Ds, Yf;
|
|
20258
|
+
Ds = 0;
|
|
20259
|
+
for (Yf = oh.length; Ds < Yf; ++Ds)
|
|
20260
|
+
oh[Ds] = 143 >= Ds ? 8 : 255 >= Ds ? 9 : 279 >= Ds ? 7 : 8;
|
|
20261
|
+
var n5 = Ts(oh), rh = new (mt ? Uint8Array : Array)(30), Ya, qf;
|
|
20262
20262
|
Ya = 0;
|
|
20263
20263
|
for (qf = rh.length; Ya < qf; ++Ya)
|
|
20264
20264
|
rh[Ya] = 5;
|
|
20265
|
-
var s5 =
|
|
20265
|
+
var s5 = Ts(rh);
|
|
20266
20266
|
function Li(n, t) {
|
|
20267
20267
|
for (var e = n.f, i = n.d, s = n.input, o = n.a, r = s.length, a; i < t; ) {
|
|
20268
20268
|
if (o >= r)
|
|
@@ -20278,7 +20278,7 @@ function Jr(n, t) {
|
|
|
20278
20278
|
throw Error("invalid code length: " + h);
|
|
20279
20279
|
return n.f = e >> h, n.d = i - h, n.a = o, c & 65535;
|
|
20280
20280
|
}
|
|
20281
|
-
|
|
20281
|
+
ws.prototype.j = function(n, t) {
|
|
20282
20282
|
var e = this.c, i = this.b;
|
|
20283
20283
|
this.o = n;
|
|
20284
20284
|
for (var s = e.length - 258, o, r, a, l; (o = Jr(this, n)) !== 256; )
|
|
@@ -20291,7 +20291,7 @@ ys.prototype.j = function(n, t) {
|
|
|
20291
20291
|
this.d -= 8, this.a--;
|
|
20292
20292
|
this.b = i;
|
|
20293
20293
|
};
|
|
20294
|
-
|
|
20294
|
+
ws.prototype.w = function(n, t) {
|
|
20295
20295
|
var e = this.c, i = this.b;
|
|
20296
20296
|
this.o = n;
|
|
20297
20297
|
for (var s = e.length, o, r, a, l; (o = Jr(this, n)) !== 256; )
|
|
@@ -20304,7 +20304,7 @@ ys.prototype.w = function(n, t) {
|
|
|
20304
20304
|
this.d -= 8, this.a--;
|
|
20305
20305
|
this.b = i;
|
|
20306
20306
|
};
|
|
20307
|
-
|
|
20307
|
+
ws.prototype.e = function() {
|
|
20308
20308
|
var n = new (mt ? Uint8Array : Array)(this.b - 32768), t = this.b - 32768, e, i, s = this.c;
|
|
20309
20309
|
if (mt)
|
|
20310
20310
|
n.set(s.subarray(32768, n.length));
|
|
@@ -20318,11 +20318,11 @@ ys.prototype.e = function() {
|
|
|
20318
20318
|
s[e] = s[t + e];
|
|
20319
20319
|
return this.b = 32768, s;
|
|
20320
20320
|
};
|
|
20321
|
-
|
|
20321
|
+
ws.prototype.z = function(n) {
|
|
20322
20322
|
var t, e = this.input.length / this.a + 1 | 0, i, s, o, r = this.input, a = this.c;
|
|
20323
20323
|
return n && (typeof n.p == "number" && (e = n.p), typeof n.u == "number" && (e += n.u)), 2 > e ? (i = (r.length - this.a) / this.o[2], o = 258 * (i / 2) | 0, s = o < a.length ? a.length + o : a.length << 1) : s = a.length * e, mt ? (t = new Uint8Array(s), t.set(a)) : t = a, this.c = t;
|
|
20324
20324
|
};
|
|
20325
|
-
|
|
20325
|
+
ws.prototype.n = function() {
|
|
20326
20326
|
var n = 0, t = this.c, e = this.g, i, s = new (mt ? Uint8Array : Array)(this.l + (this.b - 32768)), o, r, a, l;
|
|
20327
20327
|
if (e.length === 0)
|
|
20328
20328
|
return mt ? this.c.subarray(32768, this.b) : this.c.slice(32768, this.b);
|
|
@@ -20333,7 +20333,7 @@ ys.prototype.n = function() {
|
|
|
20333
20333
|
s[n++] = t[o];
|
|
20334
20334
|
return this.g = [], this.buffer = s;
|
|
20335
20335
|
};
|
|
20336
|
-
|
|
20336
|
+
ws.prototype.v = function() {
|
|
20337
20337
|
var n, t = this.b;
|
|
20338
20338
|
return mt ? this.r ? (n = new Uint8Array(t), n.set(this.c.subarray(0, t))) : n = this.c.subarray(0, t) : (this.c.length > t && (this.c.length = t), n = this.c), this.buffer = n;
|
|
20339
20339
|
};
|
|
@@ -20350,7 +20350,7 @@ function Td(n, t) {
|
|
|
20350
20350
|
throw Error("invalid fcheck flag:" + ((e << 8) + i) % 31);
|
|
20351
20351
|
if (i & 32)
|
|
20352
20352
|
throw Error("fdict flag is not supported");
|
|
20353
|
-
this.q = new
|
|
20353
|
+
this.q = new ws(n, { index: this.a, bufferSize: t.bufferSize, bufferType: t.bufferType, resize: t.resize });
|
|
20354
20354
|
}
|
|
20355
20355
|
Td.prototype.k = function() {
|
|
20356
20356
|
var n = this.input, t, e;
|
|
@@ -20441,7 +20441,7 @@ var Kf = U1.Zlib, Y1 = {
|
|
|
20441
20441
|
returns point for given u
|
|
20442
20442
|
*/
|
|
20443
20443
|
calcBSplinePoint: function(n, t, e, i) {
|
|
20444
|
-
for (var s = this.findSpan(n, i, t), o = this.calcBasisFunctions(s, i, n, t), r = new
|
|
20444
|
+
for (var s = this.findSpan(n, i, t), o = this.calcBasisFunctions(s, i, n, t), r = new Ls(0, 0, 0, 0), a = 0; a <= n; ++a) {
|
|
20445
20445
|
var l = e[s - n + a], c = o[a], h = l.w * c;
|
|
20446
20446
|
r.x += l.x * h, r.y += l.y * h, r.z += l.z * h, r.w += l.w * c;
|
|
20447
20447
|
}
|
|
@@ -20521,7 +20521,7 @@ var Kf = U1.Zlib, Y1 = {
|
|
|
20521
20521
|
r[g] = d;
|
|
20522
20522
|
}
|
|
20523
20523
|
for (var g = o + 1; g <= s + 1; ++g)
|
|
20524
|
-
r[g] = new
|
|
20524
|
+
r[g] = new Ls(0, 0, 0);
|
|
20525
20525
|
return r;
|
|
20526
20526
|
},
|
|
20527
20527
|
/*
|
|
@@ -20584,13 +20584,13 @@ var Kf = U1.Zlib, Y1 = {
|
|
|
20584
20584
|
*/
|
|
20585
20585
|
calcSurfacePoint: function(n, t, e, i, s, o, r, a) {
|
|
20586
20586
|
for (var l = this.findSpan(n, o, e), c = this.findSpan(t, r, i), h = this.calcBasisFunctions(l, o, n, e), d = this.calcBasisFunctions(c, r, t, i), u = [], g = 0; g <= t; ++g) {
|
|
20587
|
-
u[g] = new
|
|
20587
|
+
u[g] = new Ls(0, 0, 0, 0);
|
|
20588
20588
|
for (var p = 0; p <= n; ++p) {
|
|
20589
20589
|
var m = s[l - n + p][c - t + g].clone(), v = m.w;
|
|
20590
20590
|
m.x *= v, m.y *= v, m.z *= v, u[g].add(m.multiplyScalar(h[p]));
|
|
20591
20591
|
}
|
|
20592
20592
|
}
|
|
20593
|
-
for (var A = new
|
|
20593
|
+
for (var A = new Ls(0, 0, 0, 0), g = 0; g <= t; ++g)
|
|
20594
20594
|
A.add(u[g].multiplyScalar(d[g]));
|
|
20595
20595
|
A.divideScalar(A.w), a.set(A.x, A.y, A.z);
|
|
20596
20596
|
}
|
|
@@ -20598,7 +20598,7 @@ var Kf = U1.Zlib, Y1 = {
|
|
|
20598
20598
|
P0.call(this), this.degree = n, this.knots = t, this.controlPoints = [], this.startKnot = i || 0, this.endKnot = s || this.knots.length - 1;
|
|
20599
20599
|
for (var o = 0; o < e.length; ++o) {
|
|
20600
20600
|
var r = e[o];
|
|
20601
|
-
this.controlPoints[o] = new
|
|
20601
|
+
this.controlPoints[o] = new Ls(r.x, r.y, r.z, r.w);
|
|
20602
20602
|
}
|
|
20603
20603
|
};
|
|
20604
20604
|
Ys.prototype = Object.create(P0.prototype);
|
|
@@ -21406,7 +21406,7 @@ var q1 = function() {
|
|
|
21406
21406
|
if (isNaN(C))
|
|
21407
21407
|
return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", b.Order, b.id), new ka();
|
|
21408
21408
|
for (var M = C - 1, k = b.KnotVector.a, S = [], L = b.Points.a, N = 0, B = L.length; N < B; N += 4)
|
|
21409
|
-
S.push(new
|
|
21409
|
+
S.push(new Ls().fromArray(L, N));
|
|
21410
21410
|
var Z, ie;
|
|
21411
21411
|
if (b.Form === "Closed")
|
|
21412
21412
|
S.push(S[0]);
|
|
@@ -21558,8 +21558,8 @@ var q1 = function() {
|
|
|
21558
21558
|
}), new ob(b.name, -1, C);
|
|
21559
21559
|
},
|
|
21560
21560
|
generateTracks: function(b) {
|
|
21561
|
-
var C = [], M = new ve(), k = new
|
|
21562
|
-
if (b.transform && b.transform.decompose(M, k, S), M = M.toArray(), k = new
|
|
21561
|
+
var C = [], M = new ve(), k = new zs(), S = new ve();
|
|
21562
|
+
if (b.transform && b.transform.decompose(M, k, S), M = M.toArray(), k = new ns().setFromQuaternion(k, b.eulerOrder).toArray(), S = S.toArray(), b.T !== void 0 && Object.keys(b.T.curves).length > 0) {
|
|
21563
21563
|
var L = this.generateVectorTrack(b.modelName, b.T.curves, M, "position");
|
|
21564
21564
|
L !== void 0 && C.push(L);
|
|
21565
21565
|
}
|
|
@@ -21591,8 +21591,8 @@ var q1 = function() {
|
|
|
21591
21591
|
generateRotationTrack: function(b, C, M, k, S, L) {
|
|
21592
21592
|
C.x !== void 0 && (this.interpolateRotations(C.x), C.x.values = C.x.values.map(Ki.degToRad)), C.y !== void 0 && (this.interpolateRotations(C.y), C.y.values = C.y.values.map(Ki.degToRad)), C.z !== void 0 && (this.interpolateRotations(C.z), C.z.values = C.z.values.map(Ki.degToRad));
|
|
21593
21593
|
var N = this.getTimesForAllAxes(C), B = this.getKeyframeTrackValues(N, C, M);
|
|
21594
|
-
k !== void 0 && (k = k.map(Ki.degToRad), k.push(L), k = new
|
|
21595
|
-
for (var Z = new
|
|
21594
|
+
k !== void 0 && (k = k.map(Ki.degToRad), k.push(L), k = new ns().fromArray(k), k = new zs().setFromEuler(k)), S !== void 0 && (S = S.map(Ki.degToRad), S.push(L), S = new ns().fromArray(S), S = new zs().setFromEuler(S).inverse());
|
|
21595
|
+
for (var Z = new zs(), ie = new ns(), K = [], oe = 0; oe < B.length; oe += 3)
|
|
21596
21596
|
ie.set(B[oe], B[oe + 1], B[oe + 2], L), Z.setFromEuler(ie), k !== void 0 && Z.premultiply(k), S !== void 0 && Z.multiply(S), Z.toArray(K, oe / 3 * 4);
|
|
21597
21597
|
return new ab(b + ".quaternion", N, K);
|
|
21598
21598
|
},
|
|
@@ -22020,7 +22020,7 @@ var q1 = function() {
|
|
|
22020
22020
|
var L = S * k.dataSize, N = L + k.dataSize;
|
|
22021
22021
|
return T(m, k.buffer, L, N);
|
|
22022
22022
|
}
|
|
22023
|
-
var A = new
|
|
22023
|
+
var A = new ns(), P = new ve();
|
|
22024
22024
|
function E(b) {
|
|
22025
22025
|
var C = new ot(), M = new ot(), k = new ot(), S = new ot(), L = new ot(), N = new ot(), B = new ot(), Z = new ot(), ie = new ot(), K = new ot(), oe = new ot(), $ = b.inheritType ? b.inheritType : 0;
|
|
22026
22026
|
if (b.translation && C.setPosition(P.fromArray(b.translation)), b.preRotation) {
|
|
@@ -23144,7 +23144,7 @@ function k5() {
|
|
|
23144
23144
|
};
|
|
23145
23145
|
}
|
|
23146
23146
|
const x5 = new y.TextureLoader();
|
|
23147
|
-
function
|
|
23147
|
+
function Ns(n) {
|
|
23148
23148
|
return te(this, null, function* () {
|
|
23149
23149
|
return new Promise((t, e) => {
|
|
23150
23150
|
x5.load(n, t, void 0, e);
|
|
@@ -23153,7 +23153,7 @@ function Hs(n) {
|
|
|
23153
23153
|
}
|
|
23154
23154
|
function $1(n) {
|
|
23155
23155
|
return te(this, null, function* () {
|
|
23156
|
-
return
|
|
23156
|
+
return Ns(n).then((t) => {
|
|
23157
23157
|
const e = n.startsWith("data:") ? n.includes("png") : new URL(n, location.href).pathname.toLowerCase().endsWith(".png");
|
|
23158
23158
|
return { texture: t, transparent: e };
|
|
23159
23159
|
});
|
|
@@ -23369,7 +23369,7 @@ class S5 extends fn {
|
|
|
23369
23369
|
}
|
|
23370
23370
|
loadCompassMesh() {
|
|
23371
23371
|
return te(this, null, function* () {
|
|
23372
|
-
const e = this.state.config.compassImageUrl, i = yield
|
|
23372
|
+
const e = this.state.config.compassImageUrl, i = yield Ns(e), s = new y.CircleGeometry(0.7, 32), o = new y.MeshBasicMaterial({
|
|
23373
23373
|
map: i,
|
|
23374
23374
|
transparent: !0,
|
|
23375
23375
|
opacity: 0,
|
|
@@ -23382,7 +23382,7 @@ class S5 extends fn {
|
|
|
23382
23382
|
return te(this, null, function* () {
|
|
23383
23383
|
if (!this.state.config.logoURL)
|
|
23384
23384
|
return;
|
|
23385
|
-
const e = this.state.config.logoURL, i = yield
|
|
23385
|
+
const e = this.state.config.logoURL, i = yield Ns(e);
|
|
23386
23386
|
i.minFilter = y.NearestFilter, i.magFilter = y.NearestFilter;
|
|
23387
23387
|
const s = new y.PlaneBufferGeometry(0.4, 0.4), o = new y.MeshBasicMaterial({
|
|
23388
23388
|
map: i,
|
|
@@ -23395,7 +23395,7 @@ class S5 extends fn {
|
|
|
23395
23395
|
}
|
|
23396
23396
|
loadEntryDoorMesh() {
|
|
23397
23397
|
return te(this, null, function* () {
|
|
23398
|
-
const e = this.state.config.entryDoorImageUrl, i = yield
|
|
23398
|
+
const e = this.state.config.entryDoorImageUrl, i = yield Ns(e), s = new y.PlaneGeometry(0.2, 0.16), o = new y.MeshBasicMaterial({
|
|
23399
23399
|
map: i,
|
|
23400
23400
|
transparent: !0,
|
|
23401
23401
|
opacity: 0.8,
|
|
@@ -24538,7 +24538,7 @@ function v4(n, t) {
|
|
|
24538
24538
|
return n.x === t.x && n.y === t.y;
|
|
24539
24539
|
}
|
|
24540
24540
|
const hg = () => !1;
|
|
24541
|
-
class
|
|
24541
|
+
class os extends Ul {
|
|
24542
24542
|
constructor(e) {
|
|
24543
24543
|
super(e);
|
|
24544
24544
|
f(this, "type", "edit");
|
|
@@ -26268,7 +26268,7 @@ function q4(n, t, e) {
|
|
|
26268
26268
|
v === "Edit" ? e(5, u = !0) : (a(null), e(5, u = !1));
|
|
26269
26269
|
}
|
|
26270
26270
|
function c() {
|
|
26271
|
-
i.controller instanceof
|
|
26271
|
+
i.controller instanceof os && i.controller.complete(), i.save({ mode: "Watch" });
|
|
26272
26272
|
}
|
|
26273
26273
|
function h(v) {
|
|
26274
26274
|
e(3, r = v.length > 0);
|
|
@@ -26915,9 +26915,9 @@ function aI(n, t, e) {
|
|
|
26915
26915
|
const u = () => {
|
|
26916
26916
|
i.getCurrentMode() !== "Edit" ? i.changeMode("Edit") : (m("add"), g());
|
|
26917
26917
|
}, g = () => {
|
|
26918
|
-
i.controller instanceof
|
|
26918
|
+
i.controller instanceof os && i.controller.selectPoint();
|
|
26919
26919
|
}, p = () => {
|
|
26920
|
-
i.controller instanceof
|
|
26920
|
+
i.controller instanceof os && i.controller.complete();
|
|
26921
26921
|
}, m = (b) => {
|
|
26922
26922
|
e(3, h = b);
|
|
26923
26923
|
}, v = () => {
|
|
@@ -27298,7 +27298,7 @@ class AI {
|
|
|
27298
27298
|
function Js(n) {
|
|
27299
27299
|
return typeof n == "object" ? n === null ? {} : n : {};
|
|
27300
27300
|
}
|
|
27301
|
-
class bI extends
|
|
27301
|
+
class bI extends ys {
|
|
27302
27302
|
constructor(e, i) {
|
|
27303
27303
|
var r, a, l, c, h, d, u, g, p, m, v, A;
|
|
27304
27304
|
super(e);
|
|
@@ -27329,7 +27329,7 @@ class bI extends bs {
|
|
|
27329
27329
|
var e, i, s, o;
|
|
27330
27330
|
this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (e = this.controller) == null || e.dispose(), (i = this.useUIController) == null || i.hide(), (s = this.useGuideController) == null || s.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
27331
27331
|
});
|
|
27332
|
-
f(this, "getCurrentMode", () => this.controller instanceof
|
|
27332
|
+
f(this, "getCurrentMode", () => this.controller instanceof os ? "Edit" : this.controller instanceof gg ? "Watch" : this.controller instanceof Ir ? "Mixed" : this.controller instanceof dg ? "View" : null);
|
|
27333
27333
|
/** 变更场景
|
|
27334
27334
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
27335
27335
|
*/
|
|
@@ -27341,7 +27341,7 @@ class bI extends bs {
|
|
|
27341
27341
|
const i = {
|
|
27342
27342
|
View: dg,
|
|
27343
27343
|
Watch: gg,
|
|
27344
|
-
Edit:
|
|
27344
|
+
Edit: os,
|
|
27345
27345
|
Mixed: Ir
|
|
27346
27346
|
};
|
|
27347
27347
|
if (!i[e])
|
|
@@ -27420,7 +27420,7 @@ class bI extends bs {
|
|
|
27420
27420
|
}
|
|
27421
27421
|
/** 撤销编辑 */
|
|
27422
27422
|
revoke() {
|
|
27423
|
-
this.controller instanceof
|
|
27423
|
+
this.controller instanceof os && this.controller.revoke();
|
|
27424
27424
|
}
|
|
27425
27425
|
removePolyline(e) {
|
|
27426
27426
|
this.model.removePolyline(e);
|
|
@@ -27454,10 +27454,10 @@ class bI extends bs {
|
|
|
27454
27454
|
*/
|
|
27455
27455
|
save(e) {
|
|
27456
27456
|
var o;
|
|
27457
|
-
if (!(this.controller instanceof
|
|
27457
|
+
if (!(this.controller instanceof os) && !(this.controller instanceof Ir))
|
|
27458
27458
|
return this;
|
|
27459
27459
|
const i = (o = e == null ? void 0 : e.mode) != null ? o : "View", s = this.controller.model.areas;
|
|
27460
|
-
return this.controller instanceof
|
|
27460
|
+
return this.controller instanceof os ? this.controller.complete() : s.forEach((r) => {
|
|
27461
27461
|
r.showArea(), this.model.addArea(r);
|
|
27462
27462
|
}), this.changeMode(i), this;
|
|
27463
27463
|
}
|
|
@@ -27544,7 +27544,7 @@ class hn extends Ai {
|
|
|
27544
27544
|
f(this, "_onHidden", () => {
|
|
27545
27545
|
this.dom && (this.dom.container.style.display = "none");
|
|
27546
27546
|
});
|
|
27547
|
-
const d = e != null ? e : {}, { point: i } = d, s =
|
|
27547
|
+
const d = e != null ? e : {}, { point: i } = d, s = Kn(d, ["point"]);
|
|
27548
27548
|
this.paramsStyle = s != null ? s : {};
|
|
27549
27549
|
const o = new y.BufferGeometry();
|
|
27550
27550
|
o.setAttribute("position", new y.Float32BufferAttribute([0, 0, 0], 3));
|
|
@@ -27565,7 +27565,7 @@ class hn extends Ai {
|
|
|
27565
27565
|
depthTest: !1,
|
|
27566
27566
|
opacity: a.opacity * 0.5
|
|
27567
27567
|
})), c = new y.Points(o, a), h = new y.Points(o, l);
|
|
27568
|
-
this.fontMesh = c, this.backgroundMesh = h, c.name = "FontMesh", h.name = "BackgroundMesh", c.renderOrder = 10, h.renderOrder = 0, this.add(c, h), e != null && e.point && this.position.copy(
|
|
27568
|
+
this.fontMesh = c, this.backgroundMesh = h, c.name = "FontMesh", h.name = "BackgroundMesh", c.renderOrder = 10, h.renderOrder = 0, this.add(c, h), e != null && e.point && this.position.copy(We(e.point)), e && this.setStyle(e), this.addEventListener("removed", () => {
|
|
27569
27569
|
Kt.cacheObject.delete(this), Kt.checkDom(this);
|
|
27570
27570
|
}), this.addEventListener("added", () => {
|
|
27571
27571
|
Kt.cacheObject.add(this);
|
|
@@ -27655,7 +27655,7 @@ class ta extends ki {
|
|
|
27655
27655
|
}
|
|
27656
27656
|
setPoints(e) {
|
|
27657
27657
|
super.setPoints(e);
|
|
27658
|
-
const i = e.map(
|
|
27658
|
+
const i = e.map(We).filter(Ne);
|
|
27659
27659
|
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
|
|
27660
27660
|
var r, a, l;
|
|
27661
27661
|
const o = new hn(he(F({}, this.style), {
|
|
@@ -27807,7 +27807,7 @@ class rr extends ql {
|
|
|
27807
27807
|
}
|
|
27808
27808
|
setPoints(e, i) {
|
|
27809
27809
|
var o, r;
|
|
27810
|
-
const s = e.map(
|
|
27810
|
+
const s = e.map(We);
|
|
27811
27811
|
this.points = s, this.geometry = (r = lv(this.points, { checkLinesIntersect: (o = i == null ? void 0 : i.checkLinesIntersect) != null ? o : !0 })) != null ? r : Rd, this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0, this.updateAreaItems();
|
|
27812
27812
|
}
|
|
27813
27813
|
/**
|
|
@@ -31104,7 +31104,7 @@ function OE(n) {
|
|
|
31104
31104
|
return n > -t && n <= t ? "left" : n > t * 3 || n <= -t * 3 ? "right" : n > -t * 3 && n <= -t ? "forward" : n > t && n <= t * 3 ? "back" : "";
|
|
31105
31105
|
}
|
|
31106
31106
|
const jE = { userAction: !0 };
|
|
31107
|
-
class RE extends
|
|
31107
|
+
class RE extends ys {
|
|
31108
31108
|
constructor(e) {
|
|
31109
31109
|
super(e);
|
|
31110
31110
|
f(this, "state", { enabled: !0, visible: !0 });
|
|
@@ -31191,7 +31191,7 @@ class RE extends bs {
|
|
|
31191
31191
|
z.left = N, z.top = B, z.inSight = Z && S < Math.PI / 2, z.cameraToward = LE(this.five), Z ? l.push({ disFromCameraToLabel: C, left: N, top: B, index: D }) : z.transform = "translate(-50%, -50%)";
|
|
31192
31192
|
} else
|
|
31193
31193
|
z.inSight = !1;
|
|
31194
|
-
const O = z, { svelteApp: j } = O, T =
|
|
31194
|
+
const O = z, { svelteApp: j } = O, T = Kn(O, ["svelteApp"]);
|
|
31195
31195
|
(b = z.svelteApp) == null || b.$set({ props: T });
|
|
31196
31196
|
}), l.length > 1) {
|
|
31197
31197
|
let z = 0;
|
|
@@ -31228,9 +31228,9 @@ class RE extends bs {
|
|
|
31228
31228
|
if (r !== void 0 && o !== void 0) {
|
|
31229
31229
|
const l = {};
|
|
31230
31230
|
if (a > 0) {
|
|
31231
|
-
const h = new ve(0, 0, -1), d = r.clone(), u = new
|
|
31231
|
+
const h = new ve(0, 0, -1), d = r.clone(), u = new zs();
|
|
31232
31232
|
u.setFromUnitVectors(h, d);
|
|
31233
|
-
const g = new
|
|
31233
|
+
const g = new ns();
|
|
31234
31234
|
g.setFromQuaternion(u, "YXZ"), l.longitude = g.y;
|
|
31235
31235
|
}
|
|
31236
31236
|
this.five.emit("wantsToMoveToPano", o, {}, !0) || this.five.moveToPano(o, { longitude: l.longitude });
|
|
@@ -31258,7 +31258,7 @@ class RE extends bs {
|
|
|
31258
31258
|
m < c && (c = m, h = p);
|
|
31259
31259
|
}), h && (l.y = h.y + 0.01);
|
|
31260
31260
|
const d = new ve(l.x, l.y, l.z);
|
|
31261
|
-
d.add(new ve(-0.2, 1.8, 0).applyEuler(new
|
|
31261
|
+
d.add(new ve(-0.2, 1.8, 0).applyEuler(new ns(0, r.rad, 0))), this.doorLabels.push({
|
|
31262
31262
|
roomName: r.name,
|
|
31263
31263
|
name: r.name,
|
|
31264
31264
|
position: d,
|
|
@@ -31360,23 +31360,23 @@ Zl.normal = function(t, e) {
|
|
|
31360
31360
|
Zl.direction = function(t, e, i) {
|
|
31361
31361
|
return YE(t, e, i), Dv(t, t), t;
|
|
31362
31362
|
};
|
|
31363
|
-
var Pn = Zl,
|
|
31363
|
+
var Pn = Zl, Ss = [0, 0], Ha = [0, 0], tp = [0, 0], Mr = [0, 0], ZE = function(n, t) {
|
|
31364
31364
|
var e = null, i = [];
|
|
31365
31365
|
t && (n = n.slice(), n.push(n[0]));
|
|
31366
31366
|
for (var s = n.length, o = 1; o < s; o++) {
|
|
31367
31367
|
var r = n[o - 1], a = n[o], l = o < n.length - 1 ? n[o + 1] : null;
|
|
31368
|
-
if (Pn.direction(
|
|
31369
|
-
Pn.normal(e,
|
|
31368
|
+
if (Pn.direction(Ss, a, r), e || (e = [0, 0], Pn.normal(e, Ss)), o === 1 && kc(i, e, 1), !l)
|
|
31369
|
+
Pn.normal(e, Ss), kc(i, e, 1);
|
|
31370
31370
|
else {
|
|
31371
31371
|
Pn.direction(Ha, l, a);
|
|
31372
|
-
var c = Pn.computeMiter(tp, Mr,
|
|
31372
|
+
var c = Pn.computeMiter(tp, Mr, Ss, Ha, 1);
|
|
31373
31373
|
kc(i, Mr, c);
|
|
31374
31374
|
}
|
|
31375
31375
|
}
|
|
31376
31376
|
if (n.length > 2 && t) {
|
|
31377
31377
|
var h = n[s - 2], d = n[0], u = n[1];
|
|
31378
|
-
Pn.direction(
|
|
31379
|
-
var g = Pn.computeMiter(tp, Mr,
|
|
31378
|
+
Pn.direction(Ss, d, h), Pn.direction(Ha, u, d), Pn.normal(e, Ss);
|
|
31379
|
+
var g = Pn.computeMiter(tp, Mr, Ss, Ha, 1);
|
|
31380
31380
|
i[0][0] = Mr.slice(), i[s - 1][0] = Mr.slice(), i[0][1] = g, i[s - 1][1] = g, i.pop();
|
|
31381
31381
|
}
|
|
31382
31382
|
return i;
|
|
@@ -31537,7 +31537,7 @@ const gt = (n) => n;
|
|
|
31537
31537
|
function Lv(n) {
|
|
31538
31538
|
if (!n || n.length < 3)
|
|
31539
31539
|
return;
|
|
31540
|
-
const t = n.map(
|
|
31540
|
+
const t = n.map(We), e = t[1].clone().sub(t[0]), i = t[2].clone().sub(t[1]);
|
|
31541
31541
|
return e.cross(i);
|
|
31542
31542
|
}
|
|
31543
31543
|
function r8(n) {
|
|
@@ -31546,7 +31546,7 @@ function r8(n) {
|
|
|
31546
31546
|
function a8(n) {
|
|
31547
31547
|
return n.stickType === "3DPoint";
|
|
31548
31548
|
}
|
|
31549
|
-
function
|
|
31549
|
+
function Gs(n) {
|
|
31550
31550
|
return n.stickType === "Model" && n.contentType === "MediaModel";
|
|
31551
31551
|
}
|
|
31552
31552
|
function l8(n) {
|
|
@@ -31557,9 +31557,9 @@ function ip(n) {
|
|
|
31557
31557
|
}
|
|
31558
31558
|
function bh(n) {
|
|
31559
31559
|
const t = (() => {
|
|
31560
|
-
if (
|
|
31560
|
+
if (Gs(n) && n.matrix) {
|
|
31561
31561
|
const e = new ot().fromArray(n.matrix);
|
|
31562
|
-
return n.data.mediaPosition.map((i) =>
|
|
31562
|
+
return n.data.mediaPosition.map((i) => We(i).clone().applyMatrix4(e));
|
|
31563
31563
|
} else
|
|
31564
31564
|
return n.position;
|
|
31565
31565
|
})();
|
|
@@ -32335,7 +32335,7 @@ function El(n) {
|
|
|
32335
32335
|
const t = (i = n.initialState) != null ? i : {};
|
|
32336
32336
|
return typeof n.unfoldedConfig == "object" && (n.unfoldedConfig.keep === "unfolded" ? t.unfolded = !0 : n.unfoldedConfig.keep === "folded" && (t.unfolded = !1)), typeof n.visibleConfig == "object" && (n.visibleConfig.keep === "visible" ? t.visible = !0 : n.visibleConfig.keep === "hidden" && (t.visible = !1)), n.initialState = t, n;
|
|
32337
32337
|
}
|
|
32338
|
-
class M8 extends
|
|
32338
|
+
class M8 extends ys {
|
|
32339
32339
|
constructor(e) {
|
|
32340
32340
|
super(e);
|
|
32341
32341
|
f(this, "tags", []);
|
|
@@ -32465,10 +32465,10 @@ class M8 extends bs {
|
|
|
32465
32465
|
getPositions(e) {
|
|
32466
32466
|
if (r8(e))
|
|
32467
32467
|
return e.position;
|
|
32468
|
-
if (
|
|
32468
|
+
if (Gs(e))
|
|
32469
32469
|
return e.data.mediaPosition;
|
|
32470
32470
|
if (a8(e))
|
|
32471
|
-
return c8(this.five.camera.position,
|
|
32471
|
+
return c8(this.five.camera.position, We(e.position), We(e.normal));
|
|
32472
32472
|
}
|
|
32473
32473
|
addObjectClickHandler(e, i, s) {
|
|
32474
32474
|
if (!i || !this.domEvents)
|
|
@@ -32530,7 +32530,7 @@ class M8 extends bs {
|
|
|
32530
32530
|
const l = (P = e.initialConfig) != null ? P : {}, c = it({}, Rv, this.config.globalConfig, ...Object.values(o)), h = it({}, c, l), d = {}, u = Object.values(Gt.Mode);
|
|
32531
32531
|
Il(r).forEach(([E, I]) => {
|
|
32532
32532
|
u.forEach((z) => {
|
|
32533
|
-
(E === "PanoramaLike" &&
|
|
32533
|
+
(E === "PanoramaLike" && ls(z) || E === "ModelLike" && Ci(z)) && (d[z] = it({}, c, ...Object.values(I), l, { _isMerged: !0 }));
|
|
32534
32534
|
});
|
|
32535
32535
|
}), Il(a).forEach(([E, I]) => {
|
|
32536
32536
|
const z = d[E];
|
|
@@ -32678,7 +32678,7 @@ function Sc(n, t, e) {
|
|
|
32678
32678
|
const a = (A = n.initialConfig) != null ? A : {}, l = it({}, Rv, t.globalConfig, ...Object.values(s)), c = it({}, l, a), h = {}, d = Object.values(Gt.Mode);
|
|
32679
32679
|
Il(o).forEach(([P, E]) => {
|
|
32680
32680
|
d.forEach((I) => {
|
|
32681
|
-
(P === "PanoramaLike" &&
|
|
32681
|
+
(P === "PanoramaLike" && ls(I) || P === "ModelLike" && Ci(I)) && (h[I] = it({}, l, ...Object.values(E), a, { _isMerged: !0 }));
|
|
32682
32682
|
});
|
|
32683
32683
|
}), Il(r).forEach(([P, E]) => {
|
|
32684
32684
|
const I = h[P];
|
|
@@ -32701,7 +32701,7 @@ function S8(n, t) {
|
|
|
32701
32701
|
e.forEach((o) => {
|
|
32702
32702
|
var a, l, c;
|
|
32703
32703
|
const r = (l = (a = o.floorIndex) != null ? a : o.floor_index) != null ? l : 0;
|
|
32704
|
-
i[r] || (i[r] = []), i[r].push(
|
|
32704
|
+
i[r] || (i[r] = []), i[r].push(Dn(o.position, (c = n.options) == null ? void 0 : c.transform).y);
|
|
32705
32705
|
});
|
|
32706
32706
|
const s = i.map((o) => o.reduce((r, a) => r + a, 0) / o.length);
|
|
32707
32707
|
for (let o = s.length - 1; o > 0; o--)
|
|
@@ -32795,7 +32795,7 @@ class Hd {
|
|
|
32795
32795
|
return;
|
|
32796
32796
|
const P = t.workUtil.transform;
|
|
32797
32797
|
let E = A;
|
|
32798
|
-
if (Array.isArray(A) && A.length === 4 ? E = A.map(
|
|
32798
|
+
if (Array.isArray(A) && A.length === 4 ? E = A.map(We).map((I) => Dn(I, P).toArray()) : E = Dn(We(A), P).toArray(), (e.stickType === "2DPoint" || e.stickType === "3DPoint") && e.normal && this.normalLineLength) {
|
|
32799
32799
|
const I = new y.Vector3().fromArray(e.normal);
|
|
32800
32800
|
E = new y.Vector3().fromArray(E).clone().add(I.clone().setLength(this.normalLineLength)).toArray();
|
|
32801
32801
|
}
|
|
@@ -32860,7 +32860,7 @@ class Hd {
|
|
|
32860
32860
|
mode: "Panorama",
|
|
32861
32861
|
workCode: this.workUtil.workCode,
|
|
32862
32862
|
panoIndex: o
|
|
32863
|
-
},
|
|
32863
|
+
}, Bs(a))), yield this.five.ready();
|
|
32864
32864
|
} else
|
|
32865
32865
|
i === "Mapview" && (yield v1(this.five, this.centerPosition, t == null ? void 0 : t.pointConfig));
|
|
32866
32866
|
return this;
|
|
@@ -33004,7 +33004,7 @@ class Hd {
|
|
|
33004
33004
|
this.cache.clear();
|
|
33005
33005
|
}
|
|
33006
33006
|
updateVisible() {
|
|
33007
|
-
this.enabled ? (this.state.visible = this.getVisible(), this.applyVisible()) : this.applyVisible(), this._updating = !1;
|
|
33007
|
+
this.enabled ? (this.state.visible = this.getVisible(), this.applyVisible()) : this.applyVisible(), this.five.needsRender = !0, this._updating = !1;
|
|
33008
33008
|
}
|
|
33009
33009
|
updateZIndex() {
|
|
33010
33010
|
const t = this.getSquaredDistance();
|
|
@@ -33025,7 +33025,7 @@ class Hd {
|
|
|
33025
33025
|
getSquaredDistance() {
|
|
33026
33026
|
const t = this.five.camera.position;
|
|
33027
33027
|
let e;
|
|
33028
|
-
return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position,
|
|
33028
|
+
return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position, Jn(e[0] - t.x, 2) + Jn(e[1] - t.y, 2) + Jn(e[2] - t.z, 2);
|
|
33029
33029
|
}
|
|
33030
33030
|
getVisible(t) {
|
|
33031
33031
|
if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
|
|
@@ -33084,7 +33084,7 @@ class Hd {
|
|
|
33084
33084
|
if (i[0].type === "Image")
|
|
33085
33085
|
return op(i[0].url) === "gif" ? "Dom" : "Mesh";
|
|
33086
33086
|
}
|
|
33087
|
-
} else if (
|
|
33087
|
+
} else if (Gs(this))
|
|
33088
33088
|
return i.length === 1 && i[0].type === "Image" ? op(i[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
33089
33089
|
}
|
|
33090
33090
|
})();
|
|
@@ -33110,11 +33110,11 @@ class Hd {
|
|
|
33110
33110
|
if ((p == null ? void 0 : p.value) === !1)
|
|
33111
33111
|
return p;
|
|
33112
33112
|
if (l.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (s === "Floorplan" || s === "Mapview")) {
|
|
33113
|
-
const h = this.computeVisibleByFloorIndex(), { value: m } = h, v =
|
|
33113
|
+
const h = this.computeVisibleByFloorIndex(), { value: m } = h, v = Kn(h, ["value"]);
|
|
33114
33114
|
if (m === !1)
|
|
33115
33115
|
return F({ value: !1, checkedList: o, reason: "followModelVisibility check failed" }, v);
|
|
33116
33116
|
}
|
|
33117
|
-
if (
|
|
33117
|
+
if (ls(s) && l.visiblePanoIndex !== void 0 && l.visiblePanoIndex !== "all" && i !== void 0) {
|
|
33118
33118
|
if (o.push("visiblePanoIndex"), Array.isArray(l.visiblePanoIndex) && !l.visiblePanoIndex.includes(i))
|
|
33119
33119
|
return {
|
|
33120
33120
|
value: !1,
|
|
@@ -33174,7 +33174,7 @@ class Hd {
|
|
|
33174
33174
|
if (o === "ModelLike")
|
|
33175
33175
|
return Ci(e);
|
|
33176
33176
|
if (o === "PanoramaLike")
|
|
33177
|
-
return !
|
|
33177
|
+
return !ls(e);
|
|
33178
33178
|
if (o === "all")
|
|
33179
33179
|
return !0;
|
|
33180
33180
|
if (typeof o == "string")
|
|
@@ -33200,10 +33200,10 @@ class Hd {
|
|
|
33200
33200
|
/** 通过射线检测标签可用性 */
|
|
33201
33201
|
computeVisibleByIntersect(t) {
|
|
33202
33202
|
var l, c, h, d;
|
|
33203
|
-
const e = Js(Js((l = this.getConfig().visibleConfig) != null ? l : {}).intersectRaycaster), i = t != null ? t : this.five.getCurrentState().panoIndex, s =
|
|
33203
|
+
const e = Js(Js((l = this.getConfig().visibleConfig) != null ? l : {}).intersectRaycaster), i = t != null ? t : this.five.getCurrentState().panoIndex, s = ls(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(i) : this.five.camera.position;
|
|
33204
33204
|
if (s === void 0)
|
|
33205
33205
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: i } };
|
|
33206
|
-
const o =
|
|
33206
|
+
const o = vs(
|
|
33207
33207
|
(() => {
|
|
33208
33208
|
var g;
|
|
33209
33209
|
const u = (g = e.checkPoints) != null ? g : "center";
|
|
@@ -33214,16 +33214,16 @@ class Hd {
|
|
|
33214
33214
|
for (const u of o) {
|
|
33215
33215
|
const g = new y.Vector3().subVectors(u, s).normalize();
|
|
33216
33216
|
let p;
|
|
33217
|
-
|
|
33218
|
-
const [m] = this.fiveUtil.model.intersectRaycaster(
|
|
33217
|
+
Tn.set(s, g);
|
|
33218
|
+
const [m] = this.fiveUtil.model.intersectRaycaster(Tn);
|
|
33219
33219
|
p = m == null ? void 0 : m.distance;
|
|
33220
33220
|
const v = (() => {
|
|
33221
|
-
if (!
|
|
33221
|
+
if (!Gs(this))
|
|
33222
33222
|
return;
|
|
33223
|
-
const z = this.plugin.tags.filter(
|
|
33223
|
+
const z = this.plugin.tags.filter(Gs).map((j) => {
|
|
33224
33224
|
var T;
|
|
33225
33225
|
return (T = j.model) == null ? void 0 : T.object;
|
|
33226
|
-
}).filter(Ne), [D] =
|
|
33226
|
+
}).filter(Ne), [D] = Tn.intersectObjects(z, !0);
|
|
33227
33227
|
return D;
|
|
33228
33228
|
})(), A = s.distanceTo(u), P = (c = e.distanceAccuracy) != null ? c : 0.01;
|
|
33229
33229
|
p = Math.min(p != null ? p : 1 / 0, (h = v == null ? void 0 : v.distance) != null ? h : 1 / 0), p + P >= A ? r++ : a++;
|
|
@@ -33440,19 +33440,19 @@ class D8 extends Hd {
|
|
|
33440
33440
|
const c = (l = (a = (r = i.style) == null ? void 0 : r.point) == null ? void 0 : a.scale) != null ? l : 1;
|
|
33441
33441
|
this.iconPixelGap = i.style.point.width * c * 1.4 / 2 + 2;
|
|
33442
33442
|
}
|
|
33443
|
-
this.initialTagLine();
|
|
33443
|
+
i.contentType === "Audio" && (this.iconPixelGap = 34 / 2 + 2), this.initialTagLine();
|
|
33444
33444
|
}
|
|
33445
33445
|
initialTagLine() {
|
|
33446
|
-
var
|
|
33446
|
+
var r, a, l;
|
|
33447
33447
|
const e = this.config;
|
|
33448
|
-
if (!((
|
|
33448
|
+
if (!this.five.renderer || !((r = e == null ? void 0 : e.tagNormalLineConfig) != null && r.enabled) || !this.normalLineLength)
|
|
33449
33449
|
return;
|
|
33450
|
-
const i = this.five.renderer.getSize(Dc), s = this.five.renderer.getPixelRatio();
|
|
33451
|
-
this.tagNormalLine = new I0(new y.Vector3().fromArray(this.position),
|
|
33450
|
+
const i = this.five.renderer.getSize(Dc), s = this.five.renderer.getPixelRatio(), o = Dn(We(this.originPosition), this.plugin.workUtil.transform);
|
|
33451
|
+
this.tagNormalLine = new I0(new y.Vector3().fromArray(this.position), o), this.tagNormalLine.points.visible = !1, this.tagNormalLine.setMaterial({
|
|
33452
33452
|
color: new y.Vector3(1, 1, 1),
|
|
33453
|
-
linewidth: (
|
|
33453
|
+
linewidth: (l = (a = e == null ? void 0 : e.tagNormalLineConfig) == null ? void 0 : a.lineWidth) != null ? l : 1.2,
|
|
33454
33454
|
dashed: !1
|
|
33455
|
-
}), this.tagNormalLine.line.material.transparent = !0, this.tagNormalLine.line.material.depthWrite = !1, this.tagNormalLine.line.material.depthTest = !
|
|
33455
|
+
}), this.tagNormalLine.line.material.transparent = !0, this.tagNormalLine.line.material.depthWrite = !1, this.tagNormalLine.line.material.depthTest = !0, this.tagNormalLine.line.material.dashed = !1, this.tagNormalLine.line.renderOrder = 2, this.tagNormalLine.setResolution(i.width * s, i.height * s), this.tagNormalLine.visible = !1, this.tagNormalLine.name = `tagNormalLine-${this.id}`, this.plugin.group.add(this.tagNormalLine);
|
|
33456
33456
|
}
|
|
33457
33457
|
/**
|
|
33458
33458
|
* @description 展开自己,收起其他标签
|
|
@@ -33494,7 +33494,7 @@ class D8 extends Hd {
|
|
|
33494
33494
|
setPosition(e) {
|
|
33495
33495
|
this.originPosition = e, this.position = (() => {
|
|
33496
33496
|
const i = this.plugin.workUtil.transform;
|
|
33497
|
-
let s =
|
|
33497
|
+
let s = Dn(We(e), i).toArray();
|
|
33498
33498
|
if (this.normal && this.normalLineLength) {
|
|
33499
33499
|
const o = this.computeNormal();
|
|
33500
33500
|
s = new y.Vector3().fromArray(s).clone().add(o.clone().setLength(this.normalLineLength)).toArray();
|
|
@@ -33506,42 +33506,44 @@ class D8 extends Hd {
|
|
|
33506
33506
|
* 更新标签连线的位置,使其端点与icon保持固定像素距离
|
|
33507
33507
|
* 使用屏幕空间反投影方法,确保任意视角下都保持固定像素距离
|
|
33508
33508
|
*/
|
|
33509
|
-
updateTagNormalLinePosition() {
|
|
33510
|
-
var
|
|
33509
|
+
updateTagNormalLinePosition(e) {
|
|
33510
|
+
var z, D, j, T, O, b, C;
|
|
33511
33511
|
if (!this.screenPosition || !this.tagNormalLine)
|
|
33512
33512
|
return;
|
|
33513
|
-
|
|
33513
|
+
const { force: i = !1 } = e != null ? e : {};
|
|
33514
|
+
if (!(i ? this.state.visible : this.currentVisible)) {
|
|
33514
33515
|
this.tagNormalLine.visible = !1;
|
|
33515
33516
|
return;
|
|
33516
33517
|
}
|
|
33517
|
-
const
|
|
33518
|
-
if (!(this.visible !==
|
|
33519
|
-
const
|
|
33520
|
-
if (!
|
|
33518
|
+
const o = this._lastUpdateCache;
|
|
33519
|
+
if (!(this.visible !== o.visible)) {
|
|
33520
|
+
const M = Math.abs(this.position[0] - o.position[0]) > 1e-3 || Math.abs(this.position[1] - o.position[1]) > 1e-3 || Math.abs(this.position[2] - o.position[2]) > 1e-3, k = Math.abs(((z = this.screenPosition.leftPx) != null ? z : 0) - o.screenLeft) > 0.5 || Math.abs(((D = this.screenPosition.topPx) != null ? D : 0) - o.screenTop) > 0.5 || Math.abs(((j = this.screenPosition.scale) != null ? j : 1) - o.scale) > 2e-3;
|
|
33521
|
+
if (!M && !k)
|
|
33521
33522
|
return;
|
|
33522
33523
|
}
|
|
33523
|
-
|
|
33524
|
-
|
|
33525
|
-
this.
|
|
33526
|
-
|
|
33527
|
-
(this._temp.iconPos.
|
|
33524
|
+
if (o.position = new y.Vector3().fromArray(this.position).toArray(), o.screenLeft = (T = this.screenPosition.leftPx) != null ? T : 0, o.screenTop = (O = this.screenPosition.topPx) != null ? O : 0, o.scale = (b = this.screenPosition.scale) != null ? b : 1, o.visible = this.visible, !this.five.renderer)
|
|
33525
|
+
return;
|
|
33526
|
+
const a = this.five.renderer.getSize(Dc), l = Dn(We(this.originPosition), this.plugin.workUtil.transform).toArray();
|
|
33527
|
+
this._temp.lineStart.fromArray(l), this._temp.iconPos.fromArray(this.position), this._temp.lineStart.project(this.five.camera), this._temp.iconPos.project(this.five.camera), this._temp.screenDirPixel.set(
|
|
33528
|
+
(this._temp.iconPos.x - this._temp.lineStart.x) * a.x / 2,
|
|
33529
|
+
(this._temp.iconPos.y - this._temp.lineStart.y) * a.y / 2
|
|
33528
33530
|
);
|
|
33529
|
-
const
|
|
33531
|
+
const c = this._temp.screenDirPixel.length();
|
|
33530
33532
|
this._temp.screenDirPixel.normalize();
|
|
33531
|
-
const
|
|
33533
|
+
const h = this.iconPixelGap * ((C = this.screenPosition.scale) != null ? C : 1);
|
|
33532
33534
|
this._temp.targetNDC.set(
|
|
33533
|
-
(this._temp.iconPos.x *
|
|
33534
|
-
(this._temp.iconPos.y *
|
|
33535
|
+
(this._temp.iconPos.x * a.x / 2 - this._temp.screenDirPixel.x * h) / (a.x / 2),
|
|
33536
|
+
(this._temp.iconPos.y * a.y / 2 - this._temp.screenDirPixel.y * h) / (a.y / 2)
|
|
33535
33537
|
), this._temp.raycaster.setFromCamera(this._temp.targetNDC, this.five.camera);
|
|
33536
|
-
const
|
|
33537
|
-
this._temp.lineStart.fromArray(
|
|
33538
|
-
const
|
|
33539
|
-
let
|
|
33540
|
-
Math.abs(
|
|
33541
|
-
const
|
|
33542
|
-
if (this._temp.lineStart.distanceTo(this._temp.lineEnd) >
|
|
33543
|
-
const
|
|
33544
|
-
this._temp.lineEnd.copy(this._temp.lineStart).lerp(this._temp.iconPos,
|
|
33538
|
+
const d = this._temp.raycaster.ray;
|
|
33539
|
+
this._temp.lineStart.fromArray(l), this._temp.iconPos.fromArray(this.position), this._temp.lineDir.copy(this._temp.iconPos).sub(this._temp.lineStart).normalize(), this._temp.lineEnd.copy(d.origin).sub(this._temp.lineStart);
|
|
33540
|
+
const u = d.direction.dot(d.direction), g = d.direction.dot(this._temp.lineDir), p = this._temp.lineDir.dot(this._temp.lineDir), m = d.direction.dot(this._temp.lineEnd), v = this._temp.lineDir.dot(this._temp.lineEnd), A = u * p - g * g;
|
|
33541
|
+
let P = 0;
|
|
33542
|
+
Math.abs(A) > 1e-4 && (P = (g * v - p * m) / A), this._temp.lineEnd.copy(d.origin).add(d.direction.multiplyScalar(Math.max(0, P)));
|
|
33543
|
+
const E = this._temp.lineStart.distanceTo(this._temp.iconPos);
|
|
33544
|
+
if (this._temp.lineStart.distanceTo(this._temp.lineEnd) > E) {
|
|
33545
|
+
const M = Math.max(0, 1 - h / c);
|
|
33546
|
+
this._temp.lineEnd.copy(this._temp.lineStart).lerp(this._temp.iconPos, M);
|
|
33545
33547
|
}
|
|
33546
33548
|
this.tagNormalLine.setPoints(this._temp.lineStart, this._temp.lineEnd), this.tagNormalLine.visible = !0;
|
|
33547
33549
|
}
|
|
@@ -33571,7 +33573,7 @@ class D8 extends Hd {
|
|
|
33571
33573
|
leftPx: (r.x + 1) / 2 * h.x,
|
|
33572
33574
|
topPx: (-r.y + 1) / 2 * h.y,
|
|
33573
33575
|
scale: c
|
|
33574
|
-
}, this.updateTagNormalLinePosition();
|
|
33576
|
+
}, this.updateTagNormalLinePosition({ force: e == null ? void 0 : e.force });
|
|
33575
33577
|
} else
|
|
33576
33578
|
this.screenPosition = null;
|
|
33577
33579
|
this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
@@ -33607,7 +33609,7 @@ class D8 extends Hd {
|
|
|
33607
33609
|
}
|
|
33608
33610
|
}
|
|
33609
33611
|
const Vv = 1, rp = `CSS3DObject@${Vv}`, T8 = 216e-5, L8 = 3e-3;
|
|
33610
|
-
class Fv extends
|
|
33612
|
+
class Fv extends On {
|
|
33611
33613
|
constructor(e) {
|
|
33612
33614
|
var z, D, j, T, O;
|
|
33613
33615
|
if (vi(e.cornerPoints) && vi(e.width))
|
|
@@ -33829,7 +33831,7 @@ function lp(n) {
|
|
|
33829
33831
|
},
|
|
33830
33832
|
i(r) {
|
|
33831
33833
|
o || (r && wt(() => {
|
|
33832
|
-
o && (s && s.end(1), i =
|
|
33834
|
+
o && (s && s.end(1), i = bs(t, ml, {
|
|
33833
33835
|
duration: (
|
|
33834
33836
|
/*duration*/
|
|
33835
33837
|
n[2]
|
|
@@ -33838,7 +33840,7 @@ function lp(n) {
|
|
|
33838
33840
|
/*inDelay*/
|
|
33839
33841
|
n[0]
|
|
33840
33842
|
),
|
|
33841
|
-
easing:
|
|
33843
|
+
easing: jn
|
|
33842
33844
|
}), i.start());
|
|
33843
33845
|
}), o = !0);
|
|
33844
33846
|
},
|
|
@@ -33852,7 +33854,7 @@ function lp(n) {
|
|
|
33852
33854
|
/*outDelay*/
|
|
33853
33855
|
n[1]
|
|
33854
33856
|
),
|
|
33855
|
-
easing:
|
|
33857
|
+
easing: jn
|
|
33856
33858
|
})), o = !1;
|
|
33857
33859
|
},
|
|
33858
33860
|
d(r) {
|
|
@@ -34027,7 +34029,7 @@ function cp(n) {
|
|
|
34027
34029
|
},
|
|
34028
34030
|
i(r) {
|
|
34029
34031
|
o || (r && wt(() => {
|
|
34030
|
-
o && (s && s.end(1), i =
|
|
34032
|
+
o && (s && s.end(1), i = bs(t, Vt, { duration: (
|
|
34031
34033
|
/*inDelay*/
|
|
34032
34034
|
n[0]
|
|
34033
34035
|
) }), i.start());
|
|
@@ -34411,7 +34413,7 @@ function up(n) {
|
|
|
34411
34413
|
},
|
|
34412
34414
|
i(d) {
|
|
34413
34415
|
l || (H(e.$$.fragment, d), d && wt(() => {
|
|
34414
|
-
l && (a && a.end(1), r =
|
|
34416
|
+
l && (a && a.end(1), r = bs(s, Vt, {
|
|
34415
34417
|
duration: (
|
|
34416
34418
|
/*duration*/
|
|
34417
34419
|
n[2]
|
|
@@ -34475,7 +34477,7 @@ function q8(n) {
|
|
|
34475
34477
|
function Z8(n, t, e) {
|
|
34476
34478
|
let { direction: i = "right" } = t, { visible: s = !0 } = t, { duration: o = 0 } = t, { inDelay: r = 0 } = t, { outDelay: a = 0 } = t;
|
|
34477
34479
|
function l(c) {
|
|
34478
|
-
|
|
34480
|
+
Rn.call(this, n, c);
|
|
34479
34481
|
}
|
|
34480
34482
|
return n.$$set = (c) => {
|
|
34481
34483
|
"direction" in c && e(0, i = c.direction), "visible" in c && e(1, s = c.visible), "duration" in c && e(2, o = c.duration), "inDelay" in c && e(3, r = c.inDelay), "outDelay" in c && e(4, a = c.outDelay);
|
|
@@ -34899,7 +34901,7 @@ function aM(n) {
|
|
|
34899
34901
|
const e = (
|
|
34900
34902
|
/*#slots*/
|
|
34901
34903
|
n[6].default
|
|
34902
|
-
), i =
|
|
34904
|
+
), i = us(
|
|
34903
34905
|
e,
|
|
34904
34906
|
n,
|
|
34905
34907
|
/*$$scope*/
|
|
@@ -34915,19 +34917,19 @@ function aM(n) {
|
|
|
34915
34917
|
},
|
|
34916
34918
|
p(s, o) {
|
|
34917
34919
|
i && i.p && (!t || o & /*$$scope*/
|
|
34918
|
-
32) &&
|
|
34920
|
+
32) && gs(
|
|
34919
34921
|
i,
|
|
34920
34922
|
e,
|
|
34921
34923
|
s,
|
|
34922
34924
|
/*$$scope*/
|
|
34923
34925
|
s[5],
|
|
34924
|
-
t ?
|
|
34926
|
+
t ? fs(
|
|
34925
34927
|
e,
|
|
34926
34928
|
/*$$scope*/
|
|
34927
34929
|
s[5],
|
|
34928
34930
|
o,
|
|
34929
34931
|
null
|
|
34930
|
-
) :
|
|
34932
|
+
) : ps(
|
|
34931
34933
|
/*$$scope*/
|
|
34932
34934
|
s[5]
|
|
34933
34935
|
),
|
|
@@ -35457,7 +35459,7 @@ function yp(n) {
|
|
|
35457
35459
|
},
|
|
35458
35460
|
i(o) {
|
|
35459
35461
|
s || (o && wt(() => {
|
|
35460
|
-
s && (i && i.end(1), e =
|
|
35462
|
+
s && (i && i.end(1), e = bs(t, ml, {
|
|
35461
35463
|
duration: (
|
|
35462
35464
|
/*duration*/
|
|
35463
35465
|
n[1]
|
|
@@ -35591,7 +35593,7 @@ function MM(n) {
|
|
|
35591
35593
|
function kM(n, t, e) {
|
|
35592
35594
|
let { active: i = !1 } = t;
|
|
35593
35595
|
function s(o) {
|
|
35594
|
-
|
|
35596
|
+
Rn.call(this, n, o);
|
|
35595
35597
|
}
|
|
35596
35598
|
return n.$$set = (o) => {
|
|
35597
35599
|
"active" in o && e(0, i = o.active);
|
|
@@ -35709,7 +35711,7 @@ function DM(n) {
|
|
|
35709
35711
|
};
|
|
35710
35712
|
}
|
|
35711
35713
|
function TM(n, t, e) {
|
|
35712
|
-
const i =
|
|
35714
|
+
const i = _n();
|
|
35713
35715
|
let { pagesCount: s = 1 } = t, { currentPageIndex: o = 0 } = t;
|
|
35714
35716
|
function r(l) {
|
|
35715
35717
|
i("pageChange", l);
|
|
@@ -35724,7 +35726,7 @@ class LM extends Pe {
|
|
|
35724
35726
|
super(), we(this, t, TM, DM, ye, { pagesCount: 0, currentPageIndex: 1 }, SM);
|
|
35725
35727
|
}
|
|
35726
35728
|
}
|
|
35727
|
-
const er = "prev",
|
|
35729
|
+
const er = "prev", ms = "next";
|
|
35728
35730
|
function zM(n) {
|
|
35729
35731
|
De(n, "svelte-1bftafx", ":root{--sc-arrow-size:2px}.sc-carousel-arrow__circle.svelte-1bftafx{width:20px;height:20px;border-radius:50%;background-color:var(--sc-color-rgb-light-50p);display:flex;align-items:center;justify-content:center;transition:opacity 100ms ease;cursor:pointer;-webkit-tap-highlight-color:transparent}.sc-carousel-arrow__circle.svelte-1bftafx:hover{opacity:0.9}.sc-carousel-arrow__arrow.svelte-1bftafx{border:solid var(--sc-color-hex-dark);border-width:0 var(--sc-arrow-size) var(--sc-arrow-size) 0;padding:var(--sc-arrow-size);position:relative}.sc-carousel-arrow__arrow-next.svelte-1bftafx{transform:rotate(-45deg);left:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__arrow-prev.svelte-1bftafx{transform:rotate(135deg);right:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__circle_disabled.svelte-1bftafx,.sc-carousel-arrow__circle_disabled.svelte-1bftafx:hover{opacity:0.5}");
|
|
35730
35732
|
}
|
|
@@ -35736,7 +35738,7 @@ function OM(n) {
|
|
|
35736
35738
|
e,
|
|
35737
35739
|
"sc-carousel-arrow__arrow-next",
|
|
35738
35740
|
/*direction*/
|
|
35739
|
-
n[0] ===
|
|
35741
|
+
n[0] === ms
|
|
35740
35742
|
), Ce(
|
|
35741
35743
|
e,
|
|
35742
35744
|
"sc-carousel-arrow__arrow-prev",
|
|
@@ -35763,7 +35765,7 @@ function OM(n) {
|
|
|
35763
35765
|
e,
|
|
35764
35766
|
"sc-carousel-arrow__arrow-next",
|
|
35765
35767
|
/*direction*/
|
|
35766
|
-
o[0] ===
|
|
35768
|
+
o[0] === ms
|
|
35767
35769
|
), r & /*direction, PREV*/
|
|
35768
35770
|
1 && Ce(
|
|
35769
35771
|
e,
|
|
@@ -35786,9 +35788,9 @@ function OM(n) {
|
|
|
35786
35788
|
};
|
|
35787
35789
|
}
|
|
35788
35790
|
function jM(n, t, e) {
|
|
35789
|
-
let { direction: i =
|
|
35791
|
+
let { direction: i = ms } = t, { disabled: s = !1 } = t;
|
|
35790
35792
|
function o(r) {
|
|
35791
|
-
|
|
35793
|
+
Rn.call(this, n, r);
|
|
35792
35794
|
}
|
|
35793
35795
|
return n.$$set = (r) => {
|
|
35794
35796
|
"direction" in r && e(0, i = r.direction), "disabled" in r && e(1, s = r.disabled);
|
|
@@ -35903,7 +35905,7 @@ function YM(n, { thresholdProvider: t }) {
|
|
|
35903
35905
|
if (!a)
|
|
35904
35906
|
return;
|
|
35905
35907
|
const g = Tc(u), p = g.x - i, m = g.y - s;
|
|
35906
|
-
i = g.x, s = g.y, e("swipeMove", { x: i, y: s, dx: p, dy: m }), p !== 0 && Math.sign(p) !== Math.sign(o) && (o = 0), o += p, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ? er :
|
|
35908
|
+
i = g.x, s = g.y, e("swipeMove", { x: i, y: s, dx: p, dy: m }), p !== 0 && Math.sign(p) !== Math.sign(o) && (o = 0), o += p, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ? er : ms }), Ip(window, d), Ep(window, h));
|
|
35907
35909
|
}
|
|
35908
35910
|
function d(u) {
|
|
35909
35911
|
if (Ip(window, d), Ep(window, h), a = !1, !l()) {
|
|
@@ -36445,14 +36447,14 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36445
36447
|
return x;
|
|
36446
36448
|
}
|
|
36447
36449
|
function ee(x, G) {
|
|
36448
|
-
for (var J = -1, ce = G.length,
|
|
36449
|
-
x[
|
|
36450
|
+
for (var J = -1, ce = G.length, Ue = x.length; ++J < ce; )
|
|
36451
|
+
x[Ue + J] = G[J];
|
|
36450
36452
|
return x;
|
|
36451
36453
|
}
|
|
36452
36454
|
function Te(x, G, J, ce) {
|
|
36453
|
-
var
|
|
36454
|
-
for (ce && He && (J = x[++
|
|
36455
|
-
J = G(J, x[
|
|
36455
|
+
var Ue = -1, He = x ? x.length : 0;
|
|
36456
|
+
for (ce && He && (J = x[++Ue]); ++Ue < He; )
|
|
36457
|
+
J = G(J, x[Ue], Ue, x);
|
|
36456
36458
|
return J;
|
|
36457
36459
|
}
|
|
36458
36460
|
function Re(x, G) {
|
|
@@ -36474,8 +36476,8 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36474
36476
|
}
|
|
36475
36477
|
function me(x) {
|
|
36476
36478
|
var G = -1, J = Array(x.size);
|
|
36477
|
-
return x.forEach(function(ce,
|
|
36478
|
-
J[++G] = [
|
|
36479
|
+
return x.forEach(function(ce, Ue) {
|
|
36480
|
+
J[++G] = [Ue, ce];
|
|
36479
36481
|
}), J;
|
|
36480
36482
|
}
|
|
36481
36483
|
function Ie(x, G) {
|
|
@@ -36494,7 +36496,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36494
36496
|
return x ? "Symbol(src)_1." + x : "";
|
|
36495
36497
|
}(), rt = Ye.toString, at = st.hasOwnProperty, _t = st.toString, Qi = RegExp(
|
|
36496
36498
|
"^" + rt.call(at).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
36497
|
-
), Qt = Me ? ue.Buffer : void 0, hi = ue.Symbol, bi = ue.Uint8Array, lt = Ie(Object.getPrototypeOf, Object), Xt = Object.create, Yt = st.propertyIsEnumerable, lr = Xe.splice,
|
|
36499
|
+
), Qt = Me ? ue.Buffer : void 0, hi = ue.Symbol, bi = ue.Uint8Array, lt = Ie(Object.getPrototypeOf, Object), Xt = Object.create, Yt = st.propertyIsEnumerable, lr = Xe.splice, Ps = Object.getOwnPropertySymbols, Bn = Qt ? Qt.isBuffer : void 0, no = Ie(Object.keys, Object), Vn = U(ue, "DataView"), Si = U(ue, "Map"), yi = U(ue, "Promise"), Fn = U(ue, "Set"), Hn = U(ue, "WeakMap"), Xi = U(Object, "create"), gn = si(Vn), pn = si(Si), Cs = si(yi), Is = si(Fn), Nn = si(Hn), Yi = hi ? hi.prototype : void 0, so = Yi ? Yi.valueOf : void 0;
|
|
36498
36500
|
function _i(x) {
|
|
36499
36501
|
var G = -1, J = x ? x.length : 0;
|
|
36500
36502
|
for (this.clear(); ++G < J; ) {
|
|
@@ -36502,7 +36504,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36502
36504
|
this.set(ce[0], ce[1]);
|
|
36503
36505
|
}
|
|
36504
36506
|
}
|
|
36505
|
-
function
|
|
36507
|
+
function Gn() {
|
|
36506
36508
|
this.__data__ = Xi ? Xi(null) : {};
|
|
36507
36509
|
}
|
|
36508
36510
|
function cr(x) {
|
|
@@ -36516,7 +36518,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36516
36518
|
}
|
|
36517
36519
|
return at.call(G, x) ? G[x] : void 0;
|
|
36518
36520
|
}
|
|
36519
|
-
function
|
|
36521
|
+
function Es(x) {
|
|
36520
36522
|
var G = this.__data__;
|
|
36521
36523
|
return Xi ? G[x] !== void 0 : at.call(G, x);
|
|
36522
36524
|
}
|
|
@@ -36524,7 +36526,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36524
36526
|
var J = this.__data__;
|
|
36525
36527
|
return J[x] = Xi && G === void 0 ? i : G, this;
|
|
36526
36528
|
}
|
|
36527
|
-
_i.prototype.clear =
|
|
36529
|
+
_i.prototype.clear = Gn, _i.prototype.delete = cr, _i.prototype.get = hr, _i.prototype.has = Es, _i.prototype.set = mn;
|
|
36528
36530
|
function Lt(x) {
|
|
36529
36531
|
var G = -1, J = x ? x.length : 0;
|
|
36530
36532
|
for (this.clear(); ++G < J; ) {
|
|
@@ -36561,7 +36563,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36561
36563
|
this.set(ce[0], ce[1]);
|
|
36562
36564
|
}
|
|
36563
36565
|
}
|
|
36564
|
-
function
|
|
36566
|
+
function Ms() {
|
|
36565
36567
|
this.__data__ = {
|
|
36566
36568
|
hash: new _i(),
|
|
36567
36569
|
map: new (Si || Lt)(),
|
|
@@ -36577,10 +36579,10 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36577
36579
|
function An(x) {
|
|
36578
36580
|
return V(this, x).has(x);
|
|
36579
36581
|
}
|
|
36580
|
-
function
|
|
36582
|
+
function Wn(x, G) {
|
|
36581
36583
|
return V(this, x).set(x, G), this;
|
|
36582
36584
|
}
|
|
36583
|
-
zt.prototype.clear =
|
|
36585
|
+
zt.prototype.clear = Ms, zt.prototype.delete = Bi, zt.prototype.get = vn, zt.prototype.has = An, zt.prototype.set = Wn;
|
|
36584
36586
|
function Bt(x) {
|
|
36585
36587
|
this.__data__ = new Lt(x);
|
|
36586
36588
|
}
|
|
@@ -36590,7 +36592,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36590
36592
|
function fr(x) {
|
|
36591
36593
|
return this.__data__.delete(x);
|
|
36592
36594
|
}
|
|
36593
|
-
function
|
|
36595
|
+
function Un(x) {
|
|
36594
36596
|
return this.__data__.get(x);
|
|
36595
36597
|
}
|
|
36596
36598
|
function qt(x) {
|
|
@@ -36606,11 +36608,11 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36606
36608
|
}
|
|
36607
36609
|
return J.set(x, G), this;
|
|
36608
36610
|
}
|
|
36609
|
-
Bt.prototype.clear = ur, Bt.prototype.delete = fr, Bt.prototype.get =
|
|
36611
|
+
Bt.prototype.clear = ur, Bt.prototype.delete = fr, Bt.prototype.get = Un, Bt.prototype.has = qt, Bt.prototype.set = qi;
|
|
36610
36612
|
function ei(x, G) {
|
|
36611
|
-
var J = vr(x) || fo(x) ? Re(x.length, String) : [], ce = J.length,
|
|
36613
|
+
var J = vr(x) || fo(x) ? Re(x.length, String) : [], ce = J.length, Ue = !!ce;
|
|
36612
36614
|
for (var He in x)
|
|
36613
|
-
(G || at.call(x, He)) && !(
|
|
36615
|
+
(G || at.call(x, He)) && !(Ue && (He == "length" || Pt(He, ce))) && J.push(He);
|
|
36614
36616
|
return J;
|
|
36615
36617
|
}
|
|
36616
36618
|
function di(x, G, J) {
|
|
@@ -36624,18 +36626,18 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36624
36626
|
return -1;
|
|
36625
36627
|
}
|
|
36626
36628
|
function It(x, G) {
|
|
36627
|
-
return x &&
|
|
36629
|
+
return x && qn(G, br(G), x);
|
|
36628
36630
|
}
|
|
36629
|
-
function ti(x, G, J, ce,
|
|
36631
|
+
function ti(x, G, J, ce, Ue, He, Ze) {
|
|
36630
36632
|
var et;
|
|
36631
|
-
if (ce && (et = He ? ce(x,
|
|
36633
|
+
if (ce && (et = He ? ce(x, Ue, He, Ze) : ce(x)), et !== void 0)
|
|
36632
36634
|
return et;
|
|
36633
36635
|
if (!Ji(x))
|
|
36634
36636
|
return x;
|
|
36635
36637
|
var xt = vr(x);
|
|
36636
36638
|
if (xt) {
|
|
36637
36639
|
if (et = be(x), !G)
|
|
36638
|
-
return
|
|
36640
|
+
return ks(x, et);
|
|
36639
36641
|
} else {
|
|
36640
36642
|
var nt = ne(x), Zt = nt == h || nt == d;
|
|
36641
36643
|
if (ya(x))
|
|
@@ -36668,7 +36670,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36668
36670
|
var ce = G(x);
|
|
36669
36671
|
return vr(x) ? ce : ee(ce, J(x));
|
|
36670
36672
|
}
|
|
36671
|
-
function
|
|
36673
|
+
function Qn(x) {
|
|
36672
36674
|
return _t.call(x);
|
|
36673
36675
|
}
|
|
36674
36676
|
function ii(x) {
|
|
@@ -36677,7 +36679,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36677
36679
|
var G = Ar(x) || Ve(x) ? Qi : Z;
|
|
36678
36680
|
return G.test(si(x));
|
|
36679
36681
|
}
|
|
36680
|
-
function
|
|
36682
|
+
function Xn(x) {
|
|
36681
36683
|
if (!ni(x))
|
|
36682
36684
|
return no(x);
|
|
36683
36685
|
var G = [];
|
|
@@ -36699,7 +36701,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36699
36701
|
var J = G ? bn(x.buffer) : x.buffer;
|
|
36700
36702
|
return new x.constructor(J, x.byteOffset, x.byteLength);
|
|
36701
36703
|
}
|
|
36702
|
-
function
|
|
36704
|
+
function Yn(x, G, J) {
|
|
36703
36705
|
var ce = G ? J(me(x), !0) : me(x);
|
|
36704
36706
|
return Te(ce, de, new x.constructor());
|
|
36705
36707
|
}
|
|
@@ -36718,22 +36720,22 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36718
36720
|
var J = G ? bn(x.buffer) : x.buffer;
|
|
36719
36721
|
return new x.constructor(J, x.byteOffset, x.length);
|
|
36720
36722
|
}
|
|
36721
|
-
function
|
|
36723
|
+
function ks(x, G) {
|
|
36722
36724
|
var J = -1, ce = x.length;
|
|
36723
36725
|
for (G || (G = Array(ce)); ++J < ce; )
|
|
36724
36726
|
G[J] = x[J];
|
|
36725
36727
|
return G;
|
|
36726
36728
|
}
|
|
36727
|
-
function
|
|
36729
|
+
function qn(x, G, J, ce) {
|
|
36728
36730
|
J || (J = {});
|
|
36729
|
-
for (var
|
|
36730
|
-
var Ze = G[
|
|
36731
|
+
for (var Ue = -1, He = G.length; ++Ue < He; ) {
|
|
36732
|
+
var Ze = G[Ue], et = ce ? ce(J[Ze], x[Ze], Ze, J, x) : void 0;
|
|
36731
36733
|
di(J, Ze, et === void 0 ? x[Ze] : et);
|
|
36732
36734
|
}
|
|
36733
36735
|
return J;
|
|
36734
36736
|
}
|
|
36735
36737
|
function pr(x, G) {
|
|
36736
|
-
return
|
|
36738
|
+
return qn(x, q(x), G);
|
|
36737
36739
|
}
|
|
36738
36740
|
function mr(x) {
|
|
36739
36741
|
return ho(x, br, q);
|
|
@@ -36746,8 +36748,8 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36746
36748
|
var J = Ae(x, G);
|
|
36747
36749
|
return ii(J) ? J : void 0;
|
|
36748
36750
|
}
|
|
36749
|
-
var q =
|
|
36750
|
-
(
|
|
36751
|
+
var q = Ps ? Ie(Ps, Object) : nc, ne = Qn;
|
|
36752
|
+
(Vn && ne(new Vn(new ArrayBuffer(1))) != D || Si && ne(new Si()) != u || yi && ne(yi.resolve()) != m || Fn && ne(new Fn()) != A || Hn && ne(new Hn()) != I) && (ne = function(x) {
|
|
36751
36753
|
var G = _t.call(x), J = G == p ? x.constructor : void 0, ce = J ? si(J) : void 0;
|
|
36752
36754
|
if (ce)
|
|
36753
36755
|
switch (ce) {
|
|
@@ -36755,11 +36757,11 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36755
36757
|
return D;
|
|
36756
36758
|
case pn:
|
|
36757
36759
|
return u;
|
|
36758
|
-
case Ps:
|
|
36759
|
-
return m;
|
|
36760
36760
|
case Cs:
|
|
36761
|
+
return m;
|
|
36762
|
+
case Is:
|
|
36761
36763
|
return A;
|
|
36762
|
-
case
|
|
36764
|
+
case Nn:
|
|
36763
36765
|
return I;
|
|
36764
36766
|
}
|
|
36765
36767
|
return G;
|
|
@@ -36772,13 +36774,13 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36772
36774
|
return typeof x.constructor == "function" && !ni(x) ? co(lt(x)) : {};
|
|
36773
36775
|
}
|
|
36774
36776
|
function Qe(x, G, J, ce) {
|
|
36775
|
-
var
|
|
36777
|
+
var Ue = x.constructor;
|
|
36776
36778
|
switch (G) {
|
|
36777
36779
|
case z:
|
|
36778
36780
|
return bn(x);
|
|
36779
36781
|
case a:
|
|
36780
36782
|
case l:
|
|
36781
|
-
return new
|
|
36783
|
+
return new Ue(+x);
|
|
36782
36784
|
case D:
|
|
36783
36785
|
return Vi(x, ce);
|
|
36784
36786
|
case j:
|
|
@@ -36792,10 +36794,10 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36792
36794
|
case L:
|
|
36793
36795
|
return uo(x, ce);
|
|
36794
36796
|
case u:
|
|
36795
|
-
return
|
|
36797
|
+
return Yn(x, ce, J);
|
|
36796
36798
|
case g:
|
|
36797
36799
|
case P:
|
|
36798
|
-
return new
|
|
36800
|
+
return new Ue(x);
|
|
36799
36801
|
case v:
|
|
36800
36802
|
return yn(x);
|
|
36801
36803
|
case A:
|
|
@@ -36847,7 +36849,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36847
36849
|
function ic(x) {
|
|
36848
36850
|
return Pa(x) && go(x);
|
|
36849
36851
|
}
|
|
36850
|
-
var ya =
|
|
36852
|
+
var ya = Bn || sc;
|
|
36851
36853
|
function Ar(x) {
|
|
36852
36854
|
var G = Ji(x) ? _t.call(x) : "";
|
|
36853
36855
|
return G == h || G == d;
|
|
@@ -36863,7 +36865,7 @@ var Ga = dk, Ml = {}, uk = {
|
|
|
36863
36865
|
return !!x && typeof x == "object";
|
|
36864
36866
|
}
|
|
36865
36867
|
function br(x) {
|
|
36866
|
-
return go(x) ? ei(x) :
|
|
36868
|
+
return go(x) ? ei(x) : Xn(x);
|
|
36867
36869
|
}
|
|
36868
36870
|
function nc() {
|
|
36869
36871
|
return [];
|
|
@@ -36892,15 +36894,15 @@ var kl = {}, gk = {
|
|
|
36892
36894
|
}
|
|
36893
36895
|
}(), Ve = Ae && Ae.isTypedArray;
|
|
36894
36896
|
function me(x, G) {
|
|
36895
|
-
for (var J = -1, ce = x == null ? 0 : x.length,
|
|
36897
|
+
for (var J = -1, ce = x == null ? 0 : x.length, Ue = 0, He = []; ++J < ce; ) {
|
|
36896
36898
|
var Ze = x[J];
|
|
36897
|
-
G(Ze, J, x) && (He[
|
|
36899
|
+
G(Ze, J, x) && (He[Ue++] = Ze);
|
|
36898
36900
|
}
|
|
36899
36901
|
return He;
|
|
36900
36902
|
}
|
|
36901
36903
|
function Ie(x, G) {
|
|
36902
|
-
for (var J = -1, ce = G.length,
|
|
36903
|
-
x[
|
|
36904
|
+
for (var J = -1, ce = G.length, Ue = x.length; ++J < ce; )
|
|
36905
|
+
x[Ue + J] = G[J];
|
|
36904
36906
|
return x;
|
|
36905
36907
|
}
|
|
36906
36908
|
function Oe(x, G) {
|
|
@@ -36927,8 +36929,8 @@ var kl = {}, gk = {
|
|
|
36927
36929
|
}
|
|
36928
36930
|
function $e(x) {
|
|
36929
36931
|
var G = -1, J = Array(x.size);
|
|
36930
|
-
return x.forEach(function(ce,
|
|
36931
|
-
J[++G] = [
|
|
36932
|
+
return x.forEach(function(ce, Ue) {
|
|
36933
|
+
J[++G] = [Ue, ce];
|
|
36932
36934
|
}), J;
|
|
36933
36935
|
}
|
|
36934
36936
|
function rt(x, G) {
|
|
@@ -36947,7 +36949,7 @@ var kl = {}, gk = {
|
|
|
36947
36949
|
return x ? "Symbol(src)_1." + x : "";
|
|
36948
36950
|
}(), Yt = Qt.toString, lr = RegExp(
|
|
36949
36951
|
"^" + bi.call(lt).replace($, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
36950
|
-
),
|
|
36952
|
+
), Ps = Te ? le.Buffer : void 0, Bn = le.Symbol, no = le.Uint8Array, Vn = Qt.propertyIsEnumerable, Si = _t.splice, yi = Bn ? Bn.toStringTag : void 0, Fn = Object.getOwnPropertySymbols, Hn = Ps ? Ps.isBuffer : void 0, Xi = rt(Object.keys, Object), gn = q(le, "DataView"), pn = q(le, "Map"), Cs = q(le, "Promise"), Is = q(le, "Set"), Nn = q(le, "WeakMap"), Yi = q(Object, "create"), so = si(gn), _i = si(pn), Gn = si(Cs), cr = si(Is), hr = si(Nn), Es = Bn ? Bn.prototype : void 0, mn = Es ? Es.valueOf : void 0;
|
|
36951
36953
|
function Lt(x) {
|
|
36952
36954
|
var G = -1, J = x == null ? 0 : x.length;
|
|
36953
36955
|
for (this.clear(); ++G < J; ) {
|
|
@@ -36986,7 +36988,7 @@ var kl = {}, gk = {
|
|
|
36986
36988
|
this.set(ce[0], ce[1]);
|
|
36987
36989
|
}
|
|
36988
36990
|
}
|
|
36989
|
-
function
|
|
36991
|
+
function Ms() {
|
|
36990
36992
|
this.__data__ = [], this.size = 0;
|
|
36991
36993
|
}
|
|
36992
36994
|
function Bi(x) {
|
|
@@ -37003,11 +37005,11 @@ var kl = {}, gk = {
|
|
|
37003
37005
|
function An(x) {
|
|
37004
37006
|
return Zi(this.__data__, x) > -1;
|
|
37005
37007
|
}
|
|
37006
|
-
function
|
|
37008
|
+
function Wn(x, G) {
|
|
37007
37009
|
var J = this.__data__, ce = Zi(J, x);
|
|
37008
37010
|
return ce < 0 ? (++this.size, J.push([x, G])) : J[ce][1] = G, this;
|
|
37009
37011
|
}
|
|
37010
|
-
zt.prototype.clear =
|
|
37012
|
+
zt.prototype.clear = Ms, zt.prototype.delete = Bi, zt.prototype.get = vn, zt.prototype.has = An, zt.prototype.set = Wn;
|
|
37011
37013
|
function Bt(x) {
|
|
37012
37014
|
var G = -1, J = x == null ? 0 : x.length;
|
|
37013
37015
|
for (this.clear(); ++G < J; ) {
|
|
@@ -37026,7 +37028,7 @@ var kl = {}, gk = {
|
|
|
37026
37028
|
var G = U(this, x).delete(x);
|
|
37027
37029
|
return this.size -= G ? 1 : 0, G;
|
|
37028
37030
|
}
|
|
37029
|
-
function
|
|
37031
|
+
function Un(x) {
|
|
37030
37032
|
return U(this, x).get(x);
|
|
37031
37033
|
}
|
|
37032
37034
|
function qt(x) {
|
|
@@ -37036,7 +37038,7 @@ var kl = {}, gk = {
|
|
|
37036
37038
|
var J = U(this, x), ce = J.size;
|
|
37037
37039
|
return J.set(x, G), this.size += J.size == ce ? 0 : 1, this;
|
|
37038
37040
|
}
|
|
37039
|
-
Bt.prototype.clear = ur, Bt.prototype.delete = fr, Bt.prototype.get =
|
|
37041
|
+
Bt.prototype.clear = ur, Bt.prototype.delete = fr, Bt.prototype.get = Un, Bt.prototype.has = qt, Bt.prototype.set = qi;
|
|
37040
37042
|
function ei(x) {
|
|
37041
37043
|
var G = -1, J = x == null ? 0 : x.length;
|
|
37042
37044
|
for (this.__data__ = new Bt(); ++G < J; )
|
|
@@ -37063,7 +37065,7 @@ var kl = {}, gk = {
|
|
|
37063
37065
|
function ho(x) {
|
|
37064
37066
|
return this.__data__.get(x);
|
|
37065
37067
|
}
|
|
37066
|
-
function
|
|
37068
|
+
function Qn(x) {
|
|
37067
37069
|
return this.__data__.has(x);
|
|
37068
37070
|
}
|
|
37069
37071
|
function ii(x, G) {
|
|
@@ -37076,13 +37078,13 @@ var kl = {}, gk = {
|
|
|
37076
37078
|
}
|
|
37077
37079
|
return J.set(x, G), this.size = J.size, this;
|
|
37078
37080
|
}
|
|
37079
|
-
It.prototype.clear = ti, It.prototype.delete = co, It.prototype.get = ho, It.prototype.has =
|
|
37080
|
-
function
|
|
37081
|
-
var J = fo(x), ce = !J && ba(x),
|
|
37081
|
+
It.prototype.clear = ti, It.prototype.delete = co, It.prototype.get = ho, It.prototype.has = Qn, It.prototype.set = ii;
|
|
37082
|
+
function Xn(x, G) {
|
|
37083
|
+
var J = fo(x), ce = !J && ba(x), Ue = !J && !ce && go(x), He = !J && !ce && !Ue && Pa(x), Ze = J || ce || Ue || He, et = Ze ? Xe(x.length, String) : [], xt = et.length;
|
|
37082
37084
|
for (var nt in x)
|
|
37083
37085
|
(G || lt.call(x, nt)) && !(Ze && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
37084
37086
|
(nt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
37085
|
-
|
|
37087
|
+
Ue && (nt == "offset" || nt == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
37086
37088
|
He && (nt == "buffer" || nt == "byteLength" || nt == "byteOffset") || // Skip index properties.
|
|
37087
37089
|
Qe(nt, xt))) && et.push(nt);
|
|
37088
37090
|
return et;
|
|
@@ -37100,13 +37102,13 @@ var kl = {}, gk = {
|
|
|
37100
37102
|
function Vi(x) {
|
|
37101
37103
|
return x == null ? x === void 0 ? O : A : yi && yi in Object(x) ? ne(x) : ni(x);
|
|
37102
37104
|
}
|
|
37103
|
-
function
|
|
37105
|
+
function Yn(x) {
|
|
37104
37106
|
return Ji(x) && Vi(x) == a;
|
|
37105
37107
|
}
|
|
37106
|
-
function yn(x, G, J, ce,
|
|
37107
|
-
return x === G ? !0 : x == null || G == null || !Ji(x) && !Ji(G) ? x !== x && G !== G : wi(x, G, J, ce, yn,
|
|
37108
|
+
function yn(x, G, J, ce, Ue) {
|
|
37109
|
+
return x === G ? !0 : x == null || G == null || !Ji(x) && !Ji(G) ? x !== x && G !== G : wi(x, G, J, ce, yn, Ue);
|
|
37108
37110
|
}
|
|
37109
|
-
function wi(x, G, J, ce,
|
|
37111
|
+
function wi(x, G, J, ce, Ue, He) {
|
|
37110
37112
|
var Ze = fo(x), et = fo(G), xt = Ze ? l : ze(x), nt = et ? l : ze(G);
|
|
37111
37113
|
xt = xt == a ? P : xt, nt = nt == a ? P : nt;
|
|
37112
37114
|
var Zt = xt == P, ui = nt == P, jt = xt == nt;
|
|
@@ -37116,15 +37118,15 @@ var kl = {}, gk = {
|
|
|
37116
37118
|
Ze = !0, Zt = !1;
|
|
37117
37119
|
}
|
|
37118
37120
|
if (jt && !Zt)
|
|
37119
|
-
return He || (He = new It()), Ze || Pa(x) ?
|
|
37121
|
+
return He || (He = new It()), Ze || Pa(x) ? qn(x, G, J, ce, Ue, He) : pr(x, G, xt, J, ce, Ue, He);
|
|
37120
37122
|
if (!(J & s)) {
|
|
37121
37123
|
var Jt = Zt && lt.call(x, "__wrapped__"), Ft = ui && lt.call(G, "__wrapped__");
|
|
37122
37124
|
if (Jt || Ft) {
|
|
37123
|
-
var
|
|
37124
|
-
return He || (He = new It()),
|
|
37125
|
+
var Zn = Jt ? x.value() : x, wn = Ft ? G.value() : G;
|
|
37126
|
+
return He || (He = new It()), Ue(Zn, wn, J, ce, He);
|
|
37125
37127
|
}
|
|
37126
37128
|
}
|
|
37127
|
-
return jt ? (He || (He = new It()), mr(x, G, J, ce,
|
|
37129
|
+
return jt ? (He || (He = new It()), mr(x, G, J, ce, Ue, He)) : !1;
|
|
37128
37130
|
}
|
|
37129
37131
|
function gr(x) {
|
|
37130
37132
|
if (!wa(x) || Et(x))
|
|
@@ -37135,7 +37137,7 @@ var kl = {}, gk = {
|
|
|
37135
37137
|
function uo(x) {
|
|
37136
37138
|
return Ji(x) && Ar(x.length) && !!re[Vi(x)];
|
|
37137
37139
|
}
|
|
37138
|
-
function
|
|
37140
|
+
function ks(x) {
|
|
37139
37141
|
if (!Ot(x))
|
|
37140
37142
|
return Xi(x);
|
|
37141
37143
|
var G = [];
|
|
@@ -37143,7 +37145,7 @@ var kl = {}, gk = {
|
|
|
37143
37145
|
lt.call(x, J) && J != "constructor" && G.push(J);
|
|
37144
37146
|
return G;
|
|
37145
37147
|
}
|
|
37146
|
-
function
|
|
37148
|
+
function qn(x, G, J, ce, Ue, He) {
|
|
37147
37149
|
var Ze = J & s, et = x.length, xt = G.length;
|
|
37148
37150
|
if (et != xt && !(Ze && xt > et))
|
|
37149
37151
|
return !1;
|
|
@@ -37154,29 +37156,29 @@ var kl = {}, gk = {
|
|
|
37154
37156
|
for (He.set(x, G), He.set(G, x); ++Zt < et; ) {
|
|
37155
37157
|
var Jt = x[Zt], Ft = G[Zt];
|
|
37156
37158
|
if (ce)
|
|
37157
|
-
var
|
|
37158
|
-
if (
|
|
37159
|
-
if (
|
|
37159
|
+
var Zn = Ze ? ce(Ft, Jt, Zt, G, x, He) : ce(Jt, Ft, Zt, x, G, He);
|
|
37160
|
+
if (Zn !== void 0) {
|
|
37161
|
+
if (Zn)
|
|
37160
37162
|
continue;
|
|
37161
37163
|
ui = !1;
|
|
37162
37164
|
break;
|
|
37163
37165
|
}
|
|
37164
37166
|
if (jt) {
|
|
37165
|
-
if (!Oe(G, function(wn,
|
|
37166
|
-
if (!st(jt,
|
|
37167
|
-
return jt.push(
|
|
37167
|
+
if (!Oe(G, function(wn, xs) {
|
|
37168
|
+
if (!st(jt, xs) && (Jt === wn || Ue(Jt, wn, J, ce, He)))
|
|
37169
|
+
return jt.push(xs);
|
|
37168
37170
|
})) {
|
|
37169
37171
|
ui = !1;
|
|
37170
37172
|
break;
|
|
37171
37173
|
}
|
|
37172
|
-
} else if (!(Jt === Ft ||
|
|
37174
|
+
} else if (!(Jt === Ft || Ue(Jt, Ft, J, ce, He))) {
|
|
37173
37175
|
ui = !1;
|
|
37174
37176
|
break;
|
|
37175
37177
|
}
|
|
37176
37178
|
}
|
|
37177
37179
|
return He.delete(x), He.delete(G), ui;
|
|
37178
37180
|
}
|
|
37179
|
-
function pr(x, G, J, ce,
|
|
37181
|
+
function pr(x, G, J, ce, Ue, He, Ze) {
|
|
37180
37182
|
switch (J) {
|
|
37181
37183
|
case M:
|
|
37182
37184
|
if (x.byteLength != G.byteLength || x.byteOffset != G.byteOffset)
|
|
@@ -37203,7 +37205,7 @@ var kl = {}, gk = {
|
|
|
37203
37205
|
if (nt)
|
|
37204
37206
|
return nt == G;
|
|
37205
37207
|
ce |= o, Ze.set(x, G);
|
|
37206
|
-
var Zt =
|
|
37208
|
+
var Zt = qn(et(x), et(G), ce, Ue, He, Ze);
|
|
37207
37209
|
return Ze.delete(x), Zt;
|
|
37208
37210
|
case T:
|
|
37209
37211
|
if (mn)
|
|
@@ -37211,7 +37213,7 @@ var kl = {}, gk = {
|
|
|
37211
37213
|
}
|
|
37212
37214
|
return !1;
|
|
37213
37215
|
}
|
|
37214
|
-
function mr(x, G, J, ce,
|
|
37216
|
+
function mr(x, G, J, ce, Ue, He) {
|
|
37215
37217
|
var Ze = J & s, et = V(x), xt = et.length, nt = V(G), Zt = nt.length;
|
|
37216
37218
|
if (xt != Zt && !Ze)
|
|
37217
37219
|
return !1;
|
|
@@ -37225,18 +37227,18 @@ var kl = {}, gk = {
|
|
|
37225
37227
|
return Jt == G;
|
|
37226
37228
|
var Ft = !0;
|
|
37227
37229
|
He.set(x, G), He.set(G, x);
|
|
37228
|
-
for (var
|
|
37230
|
+
for (var Zn = Ze; ++ui < xt; ) {
|
|
37229
37231
|
jt = et[ui];
|
|
37230
|
-
var wn = x[jt],
|
|
37232
|
+
var wn = x[jt], xs = G[jt];
|
|
37231
37233
|
if (ce)
|
|
37232
|
-
var cu = Ze ? ce(
|
|
37233
|
-
if (!(cu === void 0 ? wn ===
|
|
37234
|
+
var cu = Ze ? ce(xs, wn, jt, G, x, He) : ce(wn, xs, jt, x, G, He);
|
|
37235
|
+
if (!(cu === void 0 ? wn === xs || Ue(wn, xs, J, ce, He) : cu)) {
|
|
37234
37236
|
Ft = !1;
|
|
37235
37237
|
break;
|
|
37236
37238
|
}
|
|
37237
|
-
|
|
37239
|
+
Zn || (Zn = jt == "constructor");
|
|
37238
37240
|
}
|
|
37239
|
-
if (Ft && !
|
|
37241
|
+
if (Ft && !Zn) {
|
|
37240
37242
|
var Ca = x.constructor, Ia = G.constructor;
|
|
37241
37243
|
Ca != Ia && "constructor" in x && "constructor" in G && !(typeof Ca == "function" && Ca instanceof Ca && typeof Ia == "function" && Ia instanceof Ia) && (Ft = !1);
|
|
37242
37244
|
}
|
|
@@ -37260,15 +37262,15 @@ var kl = {}, gk = {
|
|
|
37260
37262
|
var ce = !0;
|
|
37261
37263
|
} catch (He) {
|
|
37262
37264
|
}
|
|
37263
|
-
var
|
|
37264
|
-
return ce && (G ? x[yi] = J : delete x[yi]),
|
|
37265
|
+
var Ue = Yt.call(x);
|
|
37266
|
+
return ce && (G ? x[yi] = J : delete x[yi]), Ue;
|
|
37265
37267
|
}
|
|
37266
|
-
var be =
|
|
37267
|
-
return x == null ? [] : (x = Object(x), me(
|
|
37268
|
-
return
|
|
37268
|
+
var be = Fn ? function(x) {
|
|
37269
|
+
return x == null ? [] : (x = Object(x), me(Fn(x), function(G) {
|
|
37270
|
+
return Vn.call(x, G);
|
|
37269
37271
|
}));
|
|
37270
37272
|
} : nc, ze = Vi;
|
|
37271
|
-
(gn && ze(new gn(new ArrayBuffer(1))) != M || pn && ze(new pn()) != m ||
|
|
37273
|
+
(gn && ze(new gn(new ArrayBuffer(1))) != M || pn && ze(new pn()) != m || Cs && ze(Cs.resolve()) != E || Is && ze(new Is()) != D || Nn && ze(new Nn()) != b) && (ze = function(x) {
|
|
37272
37274
|
var G = Vi(x), J = G == P ? x.constructor : void 0, ce = J ? si(J) : "";
|
|
37273
37275
|
if (ce)
|
|
37274
37276
|
switch (ce) {
|
|
@@ -37276,7 +37278,7 @@ var kl = {}, gk = {
|
|
|
37276
37278
|
return M;
|
|
37277
37279
|
case _i:
|
|
37278
37280
|
return m;
|
|
37279
|
-
case
|
|
37281
|
+
case Gn:
|
|
37280
37282
|
return E;
|
|
37281
37283
|
case cr:
|
|
37282
37284
|
return D;
|
|
@@ -37318,15 +37320,15 @@ var kl = {}, gk = {
|
|
|
37318
37320
|
function Aa(x, G) {
|
|
37319
37321
|
return x === G || x !== x && G !== G;
|
|
37320
37322
|
}
|
|
37321
|
-
var ba =
|
|
37323
|
+
var ba = Yn(function() {
|
|
37322
37324
|
return arguments;
|
|
37323
|
-
}()) ?
|
|
37324
|
-
return Ji(x) && lt.call(x, "callee") && !
|
|
37325
|
+
}()) ? Yn : function(x) {
|
|
37326
|
+
return Ji(x) && lt.call(x, "callee") && !Vn.call(x, "callee");
|
|
37325
37327
|
}, fo = Array.isArray;
|
|
37326
37328
|
function vr(x) {
|
|
37327
37329
|
return x != null && Ar(x.length) && !ya(x);
|
|
37328
37330
|
}
|
|
37329
|
-
var go =
|
|
37331
|
+
var go = Hn || sc;
|
|
37330
37332
|
function ic(x, G) {
|
|
37331
37333
|
return yn(x, G);
|
|
37332
37334
|
}
|
|
@@ -37348,7 +37350,7 @@ var kl = {}, gk = {
|
|
|
37348
37350
|
}
|
|
37349
37351
|
var Pa = Ve ? Ye(Ve) : uo;
|
|
37350
37352
|
function br(x) {
|
|
37351
|
-
return vr(x) ?
|
|
37353
|
+
return vr(x) ? Xn(x) : ks(x);
|
|
37352
37354
|
}
|
|
37353
37355
|
function nc() {
|
|
37354
37356
|
return [];
|
|
@@ -37658,13 +37660,13 @@ function kk(n) {
|
|
|
37658
37660
|
},
|
|
37659
37661
|
_applyAutoplayIfNeeded(l) {
|
|
37660
37662
|
return te(this, arguments, function* ({ data: r, methods: a }) {
|
|
37661
|
-
if (!r.infinite && (r.autoplayDirection ===
|
|
37663
|
+
if (!r.infinite && (r.autoplayDirection === ms && r.currentParticleIndex === r.particlesCount - 1 || r.autoplayDirection === er && r.currentParticleIndex === 0)) {
|
|
37662
37664
|
t.reset();
|
|
37663
37665
|
return;
|
|
37664
37666
|
}
|
|
37665
37667
|
if (r.autoplay) {
|
|
37666
37668
|
const c = () => Ch({
|
|
37667
|
-
[
|
|
37669
|
+
[ms]: () => te(this, null, function* () {
|
|
37668
37670
|
return a.showNextPage();
|
|
37669
37671
|
}),
|
|
37670
37672
|
[er]: () => te(this, null, function* () {
|
|
@@ -37830,7 +37832,7 @@ function _p(n) {
|
|
|
37830
37832
|
const e = (
|
|
37831
37833
|
/*#slots*/
|
|
37832
37834
|
n[37].prev
|
|
37833
|
-
), i =
|
|
37835
|
+
), i = us(
|
|
37834
37836
|
e,
|
|
37835
37837
|
n,
|
|
37836
37838
|
/*$$scope*/
|
|
@@ -37847,19 +37849,19 @@ function _p(n) {
|
|
|
37847
37849
|
p(o, r) {
|
|
37848
37850
|
i ? i.p && (!t || r[0] & /*loaded, currentPageIndex*/
|
|
37849
37851
|
96 | r[1] & /*$$scope*/
|
|
37850
|
-
32) &&
|
|
37852
|
+
32) && gs(
|
|
37851
37853
|
i,
|
|
37852
37854
|
e,
|
|
37853
37855
|
o,
|
|
37854
37856
|
/*$$scope*/
|
|
37855
37857
|
o[36],
|
|
37856
|
-
t ?
|
|
37858
|
+
t ? fs(
|
|
37857
37859
|
e,
|
|
37858
37860
|
/*$$scope*/
|
|
37859
37861
|
o[36],
|
|
37860
37862
|
r,
|
|
37861
37863
|
Lk
|
|
37862
|
-
) :
|
|
37864
|
+
) : ps(
|
|
37863
37865
|
/*$$scope*/
|
|
37864
37866
|
o[36]
|
|
37865
37867
|
),
|
|
@@ -37952,7 +37954,7 @@ function Vp(n) {
|
|
|
37952
37954
|
const e = (
|
|
37953
37955
|
/*#slots*/
|
|
37954
37956
|
n[37].next
|
|
37955
|
-
), i =
|
|
37957
|
+
), i = us(
|
|
37956
37958
|
e,
|
|
37957
37959
|
n,
|
|
37958
37960
|
/*$$scope*/
|
|
@@ -37969,19 +37971,19 @@ function Vp(n) {
|
|
|
37969
37971
|
p(o, r) {
|
|
37970
37972
|
i ? i.p && (!t || r[0] & /*loaded, currentPageIndex*/
|
|
37971
37973
|
96 | r[1] & /*$$scope*/
|
|
37972
|
-
32) &&
|
|
37974
|
+
32) && gs(
|
|
37973
37975
|
i,
|
|
37974
37976
|
e,
|
|
37975
37977
|
o,
|
|
37976
37978
|
/*$$scope*/
|
|
37977
37979
|
o[36],
|
|
37978
|
-
t ?
|
|
37980
|
+
t ? fs(
|
|
37979
37981
|
e,
|
|
37980
37982
|
/*$$scope*/
|
|
37981
37983
|
o[36],
|
|
37982
37984
|
r,
|
|
37983
37985
|
Dk
|
|
37984
|
-
) :
|
|
37986
|
+
) : ps(
|
|
37985
37987
|
/*$$scope*/
|
|
37986
37988
|
o[36]
|
|
37987
37989
|
),
|
|
@@ -38045,7 +38047,7 @@ function Fp(n) {
|
|
|
38045
38047
|
const e = (
|
|
38046
38048
|
/*#slots*/
|
|
38047
38049
|
n[37].dots
|
|
38048
|
-
), i =
|
|
38050
|
+
), i = us(
|
|
38049
38051
|
e,
|
|
38050
38052
|
n,
|
|
38051
38053
|
/*$$scope*/
|
|
@@ -38062,19 +38064,19 @@ function Fp(n) {
|
|
|
38062
38064
|
p(o, r) {
|
|
38063
38065
|
i ? i.p && (!t || r[0] & /*currentPageIndex, pagesCount, loaded*/
|
|
38064
38066
|
1120 | r[1] & /*$$scope*/
|
|
38065
|
-
32) &&
|
|
38067
|
+
32) && gs(
|
|
38066
38068
|
i,
|
|
38067
38069
|
e,
|
|
38068
38070
|
o,
|
|
38069
38071
|
/*$$scope*/
|
|
38070
38072
|
o[36],
|
|
38071
|
-
t ?
|
|
38073
|
+
t ? fs(
|
|
38072
38074
|
e,
|
|
38073
38075
|
/*$$scope*/
|
|
38074
38076
|
o[36],
|
|
38075
38077
|
r,
|
|
38076
38078
|
Sk
|
|
38077
|
-
) :
|
|
38079
|
+
) : ps(
|
|
38078
38080
|
/*$$scope*/
|
|
38079
38081
|
o[36]
|
|
38080
38082
|
),
|
|
@@ -38144,7 +38146,7 @@ function Rk(n) {
|
|
|
38144
38146
|
const p = (
|
|
38145
38147
|
/*#slots*/
|
|
38146
38148
|
n[37].default
|
|
38147
|
-
), m =
|
|
38149
|
+
), m = us(
|
|
38148
38150
|
p,
|
|
38149
38151
|
n,
|
|
38150
38152
|
/*$$scope*/
|
|
@@ -38237,19 +38239,19 @@ function Rk(n) {
|
|
|
38237
38239
|
g = null;
|
|
38238
38240
|
}), xe()), m && m.p && (!h || I[0] & /*loaded, currentPageIndex*/
|
|
38239
38241
|
96 | I[1] & /*$$scope*/
|
|
38240
|
-
32) &&
|
|
38242
|
+
32) && gs(
|
|
38241
38243
|
m,
|
|
38242
38244
|
p,
|
|
38243
38245
|
E,
|
|
38244
38246
|
/*$$scope*/
|
|
38245
38247
|
E[36],
|
|
38246
|
-
h ?
|
|
38248
|
+
h ? fs(
|
|
38247
38249
|
p,
|
|
38248
38250
|
/*$$scope*/
|
|
38249
38251
|
E[36],
|
|
38250
38252
|
I,
|
|
38251
38253
|
Tk
|
|
38252
|
-
) :
|
|
38254
|
+
) : ps(
|
|
38253
38255
|
/*$$scope*/
|
|
38254
38256
|
E[36]
|
|
38255
38257
|
),
|
|
@@ -38310,8 +38312,8 @@ function _k(n, t, e) {
|
|
|
38310
38312
|
pagesCount: () => e(10, h = Ie),
|
|
38311
38313
|
loaded: () => e(6, o = Ie)
|
|
38312
38314
|
})(me);
|
|
38313
|
-
}), m =
|
|
38314
|
-
let { timingFunction: v = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: P = !0 } = t, { initialPageIndex: E = 0 } = t, { duration: I = 500 } = t, { autoplay: z = !1 } = t, { autoplayDuration: D = 3e3 } = t, { autoplayDirection: j =
|
|
38315
|
+
}), m = _n();
|
|
38316
|
+
let { timingFunction: v = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: P = !0 } = t, { initialPageIndex: E = 0 } = t, { duration: I = 500 } = t, { autoplay: z = !1 } = t, { autoplayDuration: D = 3e3 } = t, { autoplayDirection: j = ms } = t, { pauseOnFocus: T = !1 } = t, { autoplayProgressVisible: O = !1 } = t, { dots: b = !0 } = t, { swiping: C = !0 } = t, { particlesToShow: M = 1 } = t, { particlesToScroll: k = 1 } = t;
|
|
38315
38317
|
function S(me, Ie) {
|
|
38316
38318
|
return te(this, null, function* () {
|
|
38317
38319
|
const Oe = Fr(Ie, "animated", !0);
|
|
@@ -38369,7 +38371,7 @@ function _k(n, t, e) {
|
|
|
38369
38371
|
function Le(me) {
|
|
38370
38372
|
return te(this, null, function* () {
|
|
38371
38373
|
C && (yield Ch({
|
|
38372
|
-
[
|
|
38374
|
+
[ms]: g.showNextPage,
|
|
38373
38375
|
[er]: g.showPrevPage
|
|
38374
38376
|
})(me.detail.direction));
|
|
38375
38377
|
});
|
|
@@ -38968,7 +38970,7 @@ function Gp(n) {
|
|
|
38968
38970
|
},
|
|
38969
38971
|
i(d) {
|
|
38970
38972
|
a || (H(s), d && wt(() => {
|
|
38971
|
-
a && (r && r.end(1), o =
|
|
38973
|
+
a && (r && r.end(1), o = bs(
|
|
38972
38974
|
t,
|
|
38973
38975
|
Fu,
|
|
38974
38976
|
/*animation*/
|
|
@@ -38982,7 +38984,7 @@ function Gp(n) {
|
|
|
38982
38984
|
/*inDelay*/
|
|
38983
38985
|
n[2]
|
|
38984
38986
|
),
|
|
38985
|
-
easing:
|
|
38987
|
+
easing: jn
|
|
38986
38988
|
} : void 0
|
|
38987
38989
|
), o.start());
|
|
38988
38990
|
}), a = !0);
|
|
@@ -39002,7 +39004,7 @@ function Gp(n) {
|
|
|
39002
39004
|
/*outDelay*/
|
|
39003
39005
|
n[3]
|
|
39004
39006
|
),
|
|
39005
|
-
easing:
|
|
39007
|
+
easing: jn
|
|
39006
39008
|
} : void 0
|
|
39007
39009
|
)), a = !1;
|
|
39008
39010
|
},
|
|
@@ -40461,7 +40463,7 @@ function u7(n) {
|
|
|
40461
40463
|
const o = (
|
|
40462
40464
|
/*#slots*/
|
|
40463
40465
|
n[8].default
|
|
40464
|
-
), r =
|
|
40466
|
+
), r = us(
|
|
40465
40467
|
o,
|
|
40466
40468
|
n,
|
|
40467
40469
|
/*$$scope*/
|
|
@@ -40485,19 +40487,19 @@ function u7(n) {
|
|
|
40485
40487
|
},
|
|
40486
40488
|
p(a, [l]) {
|
|
40487
40489
|
r && r.p && (!e || l & /*$$scope*/
|
|
40488
|
-
128) &&
|
|
40490
|
+
128) && gs(
|
|
40489
40491
|
r,
|
|
40490
40492
|
o,
|
|
40491
40493
|
a,
|
|
40492
40494
|
/*$$scope*/
|
|
40493
40495
|
a[7],
|
|
40494
|
-
e ?
|
|
40496
|
+
e ? fs(
|
|
40495
40497
|
o,
|
|
40496
40498
|
/*$$scope*/
|
|
40497
40499
|
a[7],
|
|
40498
40500
|
l,
|
|
40499
40501
|
null
|
|
40500
|
-
) :
|
|
40502
|
+
) : ps(
|
|
40501
40503
|
/*$$scope*/
|
|
40502
40504
|
a[7]
|
|
40503
40505
|
),
|
|
@@ -40523,7 +40525,7 @@ function u7(n) {
|
|
|
40523
40525
|
}
|
|
40524
40526
|
function f7(n, t, e) {
|
|
40525
40527
|
let { $$slots: i = {}, $$scope: s } = t, { url: o } = t, { enable: r = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
|
|
40526
|
-
const c =
|
|
40528
|
+
const c = _n(), h = an("hooks"), d = an("mediaStore");
|
|
40527
40529
|
let u, g = !0;
|
|
40528
40530
|
function p() {
|
|
40529
40531
|
e(
|
|
@@ -40986,7 +40988,7 @@ function cm(n) {
|
|
|
40986
40988
|
},
|
|
40987
40989
|
i(l) {
|
|
40988
40990
|
a || (H(e.$$.fragment, l), H(s.$$.fragment, l), l && wt(() => {
|
|
40989
|
-
a && (r && r.end(1), o =
|
|
40991
|
+
a && (r && r.end(1), o = bs(t, Vt, {
|
|
40990
40992
|
duration: 1e3,
|
|
40991
40993
|
delay: 0,
|
|
40992
40994
|
easing: Xo
|
|
@@ -41082,7 +41084,7 @@ function y7(n, t, e) {
|
|
|
41082
41084
|
e(2, l = !1);
|
|
41083
41085
|
};
|
|
41084
41086
|
function p(v) {
|
|
41085
|
-
|
|
41087
|
+
Rn.call(this, n, v);
|
|
41086
41088
|
}
|
|
41087
41089
|
const m = (v) => {
|
|
41088
41090
|
e(3, c = v.detail);
|
|
@@ -41302,7 +41304,7 @@ function M7(n, t, e) {
|
|
|
41302
41304
|
e(2, r = p.detail);
|
|
41303
41305
|
};
|
|
41304
41306
|
function g(p) {
|
|
41305
|
-
|
|
41307
|
+
Rn.call(this, n, p);
|
|
41306
41308
|
}
|
|
41307
41309
|
return n.$$set = (p) => {
|
|
41308
41310
|
"tag" in p && e(0, s = p.tag);
|
|
@@ -42022,7 +42024,7 @@ function U7(n) {
|
|
|
42022
42024
|
return {
|
|
42023
42025
|
c() {
|
|
42024
42026
|
s && s.c(), t = ae(), e = W("img"), w(e, "alt", "tag-icon"), w(e, "class", "icon-image svelte-o1ee3r"), ht(e.src, i = /*iconUrl*/
|
|
42025
|
-
n[4]) || w(e, "src", i), R(e, "width", Ii(
|
|
42027
|
+
n[4]) || w(e, "src", i), R(e, "width", Ii(as({
|
|
42026
42028
|
originWidth: (
|
|
42027
42029
|
/*width*/
|
|
42028
42030
|
n[1]
|
|
@@ -42045,7 +42047,7 @@ function U7(n) {
|
|
|
42045
42047
|
o[14] ? s ? s.p(o, r) : (s = vm(o), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), r & /*iconUrl*/
|
|
42046
42048
|
16 && !ht(e.src, i = /*iconUrl*/
|
|
42047
42049
|
o[4]) && w(e, "src", i), r & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
42048
|
-
3600 && R(e, "width", Ii(
|
|
42050
|
+
3600 && R(e, "width", Ii(as({
|
|
42049
42051
|
originWidth: (
|
|
42050
42052
|
/*width*/
|
|
42051
42053
|
o[1]
|
|
@@ -42126,7 +42128,7 @@ function Y7(n) {
|
|
|
42126
42128
|
let r = o(n, -1), a = r(n);
|
|
42127
42129
|
return {
|
|
42128
42130
|
c() {
|
|
42129
|
-
s && s.c(), t = ae(), e = W("div"), a.c(), w(e, "class", "icon-svg svelte-o1ee3r"), R(e, "width", Ii(
|
|
42131
|
+
s && s.c(), t = ae(), e = W("div"), a.c(), w(e, "class", "icon-svg svelte-o1ee3r"), R(e, "width", Ii(as({
|
|
42130
42132
|
originWidth: (
|
|
42131
42133
|
/*width*/
|
|
42132
42134
|
n[1]
|
|
@@ -42147,7 +42149,7 @@ function Y7(n) {
|
|
|
42147
42149
|
p(l, c) {
|
|
42148
42150
|
fm(l), /*bgcolor*/
|
|
42149
42151
|
l[14] ? s ? s.p(l, c) : (s = Am(l), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), r === (r = o(l, c)) && a ? a.p(l, c) : (a.d(1), a = r(l), a && (a.c(), a.m(e, null))), c & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
42150
|
-
3600 && R(e, "width", Ii(
|
|
42152
|
+
3600 && R(e, "width", Ii(as({
|
|
42151
42153
|
originWidth: (
|
|
42152
42154
|
/*width*/
|
|
42153
42155
|
l[1]
|
|
@@ -42265,7 +42267,7 @@ function $7(n) {
|
|
|
42265
42267
|
n[28] - 1})`;
|
|
42266
42268
|
return {
|
|
42267
42269
|
c() {
|
|
42268
|
-
t = W("div"), w(t, "class", "icon-keyframe svelte-o1ee3r"), R(t, "width", Ii(
|
|
42270
|
+
t = W("div"), w(t, "class", "icon-keyframe svelte-o1ee3r"), R(t, "width", Ii(as({
|
|
42269
42271
|
originWidth: (
|
|
42270
42272
|
/*width*/
|
|
42271
42273
|
n[1]
|
|
@@ -42282,7 +42284,7 @@ function $7(n) {
|
|
|
42282
42284
|
/*iconWidth*/
|
|
42283
42285
|
n[9]
|
|
42284
42286
|
)
|
|
42285
|
-
}).width)), R(t, "height", Ii(
|
|
42287
|
+
}).width)), R(t, "height", Ii(as({
|
|
42286
42288
|
originWidth: (
|
|
42287
42289
|
/*width*/
|
|
42288
42290
|
n[1]
|
|
@@ -42311,7 +42313,7 @@ function $7(n) {
|
|
|
42311
42313
|
},
|
|
42312
42314
|
p(s, o) {
|
|
42313
42315
|
gm(s), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
42314
|
-
7760 && R(t, "width", Ii(
|
|
42316
|
+
7760 && R(t, "width", Ii(as({
|
|
42315
42317
|
originWidth: (
|
|
42316
42318
|
/*width*/
|
|
42317
42319
|
s[1]
|
|
@@ -42329,7 +42331,7 @@ function $7(n) {
|
|
|
42329
42331
|
s[9]
|
|
42330
42332
|
)
|
|
42331
42333
|
}).width)), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
42332
|
-
7760 && R(t, "height", Ii(
|
|
42334
|
+
7760 && R(t, "height", Ii(as({
|
|
42333
42335
|
originWidth: (
|
|
42334
42336
|
/*width*/
|
|
42335
42337
|
s[1]
|
|
@@ -42396,7 +42398,7 @@ function t6(n) {
|
|
|
42396
42398
|
}
|
|
42397
42399
|
};
|
|
42398
42400
|
}
|
|
42399
|
-
function
|
|
42401
|
+
function as(n) {
|
|
42400
42402
|
const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
|
|
42401
42403
|
return he(F({}, n), { width: o, height: r });
|
|
42402
42404
|
}
|
|
@@ -42411,7 +42413,7 @@ function Lr(n) {
|
|
|
42411
42413
|
}
|
|
42412
42414
|
function i6(n, t, e) {
|
|
42413
42415
|
let i, s, o, r, a, l, c, h, d, u, g, p, { width: m = null } = t, { icon: v = null } = t, { shadow: A = !1 } = t;
|
|
42414
|
-
const P =
|
|
42416
|
+
const P = _n();
|
|
42415
42417
|
function E(S) {
|
|
42416
42418
|
return te(this, null, function* () {
|
|
42417
42419
|
const L = yield B7(S);
|
|
@@ -43633,7 +43635,7 @@ class sA extends Hd {
|
|
|
43633
43635
|
return;
|
|
43634
43636
|
this.model.object = s;
|
|
43635
43637
|
const o = this.plugin.gltfObjectGroup.children.find((l) => l.customID === this.id);
|
|
43636
|
-
if (o && (this.plugin.gltfObjectGroup.remove(o), o.removeEventListener()),
|
|
43638
|
+
if (o && (this.plugin.gltfObjectGroup.remove(o), o.removeEventListener()), Gs(this)) {
|
|
43637
43639
|
const l = this.data.mediaPosition.map(Ht);
|
|
43638
43640
|
if (this.computeRenderType() === "Mesh" && !this.mediaPlane) {
|
|
43639
43641
|
this.mediaPlane = new Ph(this.data.mediaData[0].url, l, { objectFit: this.data.objectFit });
|
|
@@ -44011,7 +44013,7 @@ class W6 extends j6 {
|
|
|
44011
44013
|
this.remove(...[this.xArrow, this.yArrow, this.zArrow, this.centerHandle].filter(Boolean)), super.dispose();
|
|
44012
44014
|
}
|
|
44013
44015
|
}
|
|
44014
|
-
function
|
|
44016
|
+
function Ws(n, t) {
|
|
44015
44017
|
return U6(document.createElement(t != null ? t : "div"), n);
|
|
44016
44018
|
}
|
|
44017
44019
|
function U6(n, t) {
|
|
@@ -44022,7 +44024,7 @@ function U6(n, t) {
|
|
|
44022
44024
|
return n;
|
|
44023
44025
|
}
|
|
44024
44026
|
function Q6(n) {
|
|
44025
|
-
const t =
|
|
44027
|
+
const t = Ws(F({
|
|
44026
44028
|
position: "absolute",
|
|
44027
44029
|
display: "block",
|
|
44028
44030
|
borderRadius: "4px",
|
|
@@ -44218,14 +44220,14 @@ class Z6 extends y.Mesh {
|
|
|
44218
44220
|
}
|
|
44219
44221
|
}
|
|
44220
44222
|
function J6() {
|
|
44221
|
-
const n =
|
|
44223
|
+
const n = Ws({
|
|
44222
44224
|
width: "100%",
|
|
44223
44225
|
height: "100%",
|
|
44224
44226
|
left: "0",
|
|
44225
44227
|
top: "0",
|
|
44226
44228
|
position: "absolute",
|
|
44227
44229
|
pointerEvents: "none"
|
|
44228
|
-
}), t =
|
|
44230
|
+
}), t = Ws({
|
|
44229
44231
|
boxSizing: "border-box",
|
|
44230
44232
|
width: "100%",
|
|
44231
44233
|
height: "100%",
|
|
@@ -44235,7 +44237,7 @@ function J6() {
|
|
|
44235
44237
|
display: "flex",
|
|
44236
44238
|
alignItems: "center",
|
|
44237
44239
|
justifyContent: "center"
|
|
44238
|
-
}), e =
|
|
44240
|
+
}), e = Ws({
|
|
44239
44241
|
boxSizing: "border-box",
|
|
44240
44242
|
width: "100%",
|
|
44241
44243
|
height: "100%",
|
|
@@ -44245,7 +44247,7 @@ function J6() {
|
|
|
44245
44247
|
border: "1px solid rgba(255,255,255,0.4)"
|
|
44246
44248
|
});
|
|
44247
44249
|
n.appendChild(t), t.appendChild(e);
|
|
44248
|
-
const i = "-4px", s = { direction: "nesw", element:
|
|
44250
|
+
const i = "-4px", s = { direction: "nesw", element: es({ cursor: "nesw-resize", left: i, bottom: i }) }, o = { direction: "ns", element: es({ cursor: "ns-resize", bottom: i }) }, r = { direction: "nwse", element: es({ cursor: "nwse-resize", right: i, bottom: i }) }, a = { direction: "ew", element: es({ cursor: "ew-resize", right: i }) }, l = { direction: "nesw", element: es({ cursor: "nesw-resize", right: i, top: i }) }, c = { direction: "ns", element: es({ cursor: "ns-resize", top: i }) }, h = { direction: "nwse", element: es({ cursor: "nwse-resize", left: i, top: i }) }, d = { direction: "ew", element: es({ cursor: "ew-resize", left: i }) };
|
|
44249
44251
|
return new Array(o, a, c, d, s, r, l, h).forEach((g) => t.appendChild(g.element)), { container: n, spheres: [
|
|
44250
44252
|
s,
|
|
44251
44253
|
o,
|
|
@@ -44257,15 +44259,15 @@ function J6() {
|
|
|
44257
44259
|
d
|
|
44258
44260
|
] };
|
|
44259
44261
|
}
|
|
44260
|
-
function
|
|
44261
|
-
const t =
|
|
44262
|
+
function es(n) {
|
|
44263
|
+
const t = Ws(F({
|
|
44262
44264
|
background: "#FFFF00",
|
|
44263
44265
|
width: "9px",
|
|
44264
44266
|
height: "9px",
|
|
44265
44267
|
position: "absolute",
|
|
44266
44268
|
pointerEvents: "none",
|
|
44267
44269
|
borderRadius: "50%"
|
|
44268
|
-
}, n)), e =
|
|
44270
|
+
}, n)), e = Ws({
|
|
44269
44271
|
width: "15px",
|
|
44270
44272
|
height: "15px",
|
|
44271
44273
|
position: "absolute",
|
|
@@ -44273,7 +44275,7 @@ function $n(n) {
|
|
|
44273
44275
|
top: "50%",
|
|
44274
44276
|
transform: "translate(-50%, -50%)",
|
|
44275
44277
|
pointerEvents: "none"
|
|
44276
|
-
}), i =
|
|
44278
|
+
}), i = Ws({
|
|
44277
44279
|
width: "15px",
|
|
44278
44280
|
height: "15px",
|
|
44279
44281
|
cursor: n == null ? void 0 : n.cursor,
|
|
@@ -44671,7 +44673,7 @@ class ma {
|
|
|
44671
44673
|
}
|
|
44672
44674
|
}
|
|
44673
44675
|
hoverListener(t, e = 16777215, i = 1) {
|
|
44674
|
-
const s =
|
|
44676
|
+
const s = vs(t).filter(Ne), o = [];
|
|
44675
44677
|
for (const r of s)
|
|
44676
44678
|
if (r.material || r instanceof y.Group) {
|
|
44677
44679
|
const a = r instanceof y.Group ? r.children.filter((u) => u instanceof y.Mesh) : [r];
|
|
@@ -44986,7 +44988,7 @@ let tx = class extends ma {
|
|
|
44986
44988
|
return;
|
|
44987
44989
|
A.copy(e.ray.origin.clone().add(e.ray.direction.clone().multiplyScalar(E))), a = A;
|
|
44988
44990
|
} else
|
|
44989
|
-
a =
|
|
44991
|
+
a = hs({ raycaster: e, line: i, clampToLine: !1 });
|
|
44990
44992
|
const l = o.position.clone(), c = a.clone().sub(s), h = new y.Matrix4();
|
|
44991
44993
|
h.setPosition(c);
|
|
44992
44994
|
const d = o.position.clone().applyMatrix4(h);
|
|
@@ -45715,7 +45717,7 @@ class px extends ma {
|
|
|
45715
45717
|
r = r.parent;
|
|
45716
45718
|
const a = r, l = a.scalePosition.basePosition.clone(), c = a.scalePosition.handlePosition.clone(), h = c.clone().sub(l).clone(), d = new y.Line3(l, l.clone().add(h.normalize().multiplyScalar(5)));
|
|
45717
45719
|
d.applyMatrix4(this.helperObject3D.matrixWorld);
|
|
45718
|
-
const u = new y.Raycaster(s, i.point.clone().sub(s)), g =
|
|
45720
|
+
const u = new y.Raycaster(s, i.point.clone().sub(s)), g = hs({ raycaster: u, line: d });
|
|
45719
45721
|
this.startInfo = { line: d, scaleStartPoint: g, draggingObject: a }, this.helperObject3D.scaleMeshes.forEach((p) => {
|
|
45720
45722
|
p.uuid !== a.uuid && (p.visible = !1);
|
|
45721
45723
|
}), "hideLineConnections" in this.helperObject3D && typeof this.helperObject3D.hideLineConnections == "function" && this.helperObject3D.hideLineConnections();
|
|
@@ -45765,7 +45767,7 @@ class px extends ma {
|
|
|
45765
45767
|
}), o.position.copy(D), this.hooks.emit("scale", new y.Vector3(1, 1, 1));
|
|
45766
45768
|
return;
|
|
45767
45769
|
}
|
|
45768
|
-
const a =
|
|
45770
|
+
const a = hs({ raycaster: e, line: i, clampToLine: !1 });
|
|
45769
45771
|
a.applyMatrix4(new y.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone())), (d = (h = this.config) == null ? void 0 : h.scaleCallback) == null || d.call(h, {
|
|
45770
45772
|
intersectPoint: a,
|
|
45771
45773
|
scalePosition: r,
|
|
@@ -46203,7 +46205,7 @@ const Ih = "Object3DHelperPlugin", tu = Ih, mx = () => {
|
|
|
46203
46205
|
}, Ax = () => {
|
|
46204
46206
|
console.error(`${tu} is disabled`);
|
|
46205
46207
|
};
|
|
46206
|
-
class cA extends
|
|
46208
|
+
class cA extends ys {
|
|
46207
46209
|
constructor(e) {
|
|
46208
46210
|
super(e);
|
|
46209
46211
|
f(this, "name", Ih);
|
|
@@ -46472,7 +46474,7 @@ class uA extends Ai {
|
|
|
46472
46474
|
f(this, "lines", []);
|
|
46473
46475
|
f(this, "withDots");
|
|
46474
46476
|
f(this, "paramsStyle");
|
|
46475
|
-
const r = e, { withDots: i, points: s } = r, o =
|
|
46477
|
+
const r = e, { withDots: i, points: s } = r, o = Kn(r, ["withDots", "points"]);
|
|
46476
46478
|
this.withDots = i != null ? i : !0, s && this.setPoints(s), o && this.setStyle(o);
|
|
46477
46479
|
}
|
|
46478
46480
|
get style() {
|
|
@@ -46516,7 +46518,7 @@ class uA extends Ai {
|
|
|
46516
46518
|
return this.lines.map((o) => o.points[0]).concat((s = (i = this.lines) == null ? void 0 : i[((e = this.lines) == null ? void 0 : e.length) - 1]) == null ? void 0 : s.points[1]).filter(Boolean);
|
|
46517
46519
|
}
|
|
46518
46520
|
setPoints(e, i = { closed: !1 }) {
|
|
46519
|
-
let s = e.map(
|
|
46521
|
+
let s = e.map(We);
|
|
46520
46522
|
i.closed && (s = yx(s)), s.forEach((o, r) => {
|
|
46521
46523
|
var c;
|
|
46522
46524
|
const a = s[r + 1];
|
|
@@ -46547,7 +46549,7 @@ class $s extends uA {
|
|
|
46547
46549
|
f(this, "name", "PolylineMesh");
|
|
46548
46550
|
}
|
|
46549
46551
|
}
|
|
46550
|
-
class
|
|
46552
|
+
class cs extends uA {
|
|
46551
46553
|
constructor(...e) {
|
|
46552
46554
|
super(he(F({}, e[0]), { withDots: !0 }));
|
|
46553
46555
|
f(this, "name", "PolylineWithDotsMesh");
|
|
@@ -46797,7 +46799,7 @@ class Im extends Ui {
|
|
|
46797
46799
|
f(this, "polyLineMesh");
|
|
46798
46800
|
f(this, "_editor");
|
|
46799
46801
|
f(this, "creatingObject");
|
|
46800
|
-
e && (this.polyLineMesh = new
|
|
46802
|
+
e && (this.polyLineMesh = new cs(F(F({}, e.style), e)), this.add(this.polyLineMesh));
|
|
46801
46803
|
}
|
|
46802
46804
|
get editor() {
|
|
46803
46805
|
return this._editor || (this._editor = new Px(this)), this._editor;
|
|
@@ -46813,7 +46815,7 @@ class Im extends Ui {
|
|
|
46813
46815
|
});
|
|
46814
46816
|
}
|
|
46815
46817
|
setData(e) {
|
|
46816
|
-
e.points && this.polyLineMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(
|
|
46818
|
+
e.points && this.polyLineMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(We))), this.polyLineMesh.setStyle(e.style);
|
|
46817
46819
|
}
|
|
46818
46820
|
highlight() {
|
|
46819
46821
|
var e;
|
|
@@ -46842,7 +46844,7 @@ class Im extends Ui {
|
|
|
46842
46844
|
create(e) {
|
|
46843
46845
|
return te(this, null, function* () {
|
|
46844
46846
|
this.removeChildren();
|
|
46845
|
-
const i = new
|
|
46847
|
+
const i = new cs(e);
|
|
46846
46848
|
this.polyLineMesh = i, this.add(this.polyLineMesh), this.creatingObject = Cx(i, this.pointSelector, e), yield this.creatingObject.finished, this.config.defaultAction && this.editor.enable();
|
|
46847
46849
|
});
|
|
46848
46850
|
}
|
|
@@ -46924,7 +46926,7 @@ class Em extends Ui {
|
|
|
46924
46926
|
});
|
|
46925
46927
|
}
|
|
46926
46928
|
setData(e) {
|
|
46927
|
-
e.point && this.pointMesh.position.copy(
|
|
46929
|
+
e.point && this.pointMesh.position.copy(We(e.point)), this.pointMesh.setStyle(e.style);
|
|
46928
46930
|
}
|
|
46929
46931
|
highlight() {
|
|
46930
46932
|
var e;
|
|
@@ -46968,7 +46970,7 @@ function fA(n, t) {
|
|
|
46968
46970
|
}
|
|
46969
46971
|
class Eh extends rr {
|
|
46970
46972
|
constructor(e) {
|
|
46971
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
46973
|
+
const o = e != null ? e : {}, { points: i } = o, s = Kn(o, ["points"]);
|
|
46972
46974
|
super();
|
|
46973
46975
|
f(this, "name", "PolygonWithEdgeMesh");
|
|
46974
46976
|
f(this, "line", new $s());
|
|
@@ -47119,7 +47121,7 @@ class Mm extends Ui {
|
|
|
47119
47121
|
});
|
|
47120
47122
|
}
|
|
47121
47123
|
setData(e) {
|
|
47122
|
-
e.points && this.areaMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(
|
|
47124
|
+
e.points && this.areaMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(We))), this.areaMesh.setStyle(e.style), this.updateCreationPointMeshes();
|
|
47123
47125
|
}
|
|
47124
47126
|
highlight() {
|
|
47125
47127
|
var e;
|
|
@@ -47245,7 +47247,11 @@ function nu(n, t, e) {
|
|
|
47245
47247
|
var de;
|
|
47246
47248
|
j.length = 0;
|
|
47247
47249
|
let Me = P.length === 0 ? re.point : E.clone();
|
|
47248
|
-
l && (Me = Me.clone().setY(d)), P.push(Me), n.setPoints(P, { closed: !1 }),
|
|
47250
|
+
if (l && (Me = Me.clone().setY(d)), P.push(Me), n.setPoints(P, { closed: !1 }), e != null && e.experimental_self_intersect_check && P.length > 2 && n.isBlank) {
|
|
47251
|
+
P.pop(), n.setPoints(P, { closed: !1 }), v(), console.warn("[Polygon] 检测到自相交,无法添加该点");
|
|
47252
|
+
return;
|
|
47253
|
+
}
|
|
47254
|
+
v(), (de = e == null ? void 0 : e.onPointPlaced) == null || de.call(e, P), z && (S(), s());
|
|
47249
47255
|
}, k = (re) => {
|
|
47250
47256
|
const Me = () => {
|
|
47251
47257
|
u.setPoints([]), g.setPoints([]), n.setPoints(P), t.pointSelectorHelper && t.pointSelectorHelper.magnifier && t.pointSelectorHelper.magnifier.render();
|
|
@@ -47269,7 +47275,7 @@ function nu(n, t, e) {
|
|
|
47269
47275
|
x: (st.x * 0.5 + 0.5) * Te,
|
|
47270
47276
|
y: (1 - (st.y * 0.5 + 0.5)) * Re
|
|
47271
47277
|
};
|
|
47272
|
-
}, Ve = Ae(le), me = Ae(E), Ie = Ae(re.point), Oe = Math.sqrt(
|
|
47278
|
+
}, Ve = Ae(le), me = Ae(E), Ie = Ae(re.point), Oe = Math.sqrt(Jn(Ve.x - me.x, 2) + Jn(Ve.y - me.y, 2)), Xe = Math.sqrt(Jn(Ve.x - Ie.x, 2) + Jn(Ve.y - Ie.y, 2));
|
|
47273
47279
|
(Oe < e.autoClosePixelDistance || Xe < e.autoClosePixelDistance) && (Se = !0);
|
|
47274
47280
|
}
|
|
47275
47281
|
} else
|
|
@@ -47474,7 +47480,7 @@ class kx extends y.BufferGeometry {
|
|
|
47474
47480
|
return e.length;
|
|
47475
47481
|
}
|
|
47476
47482
|
}
|
|
47477
|
-
class
|
|
47483
|
+
class Us extends Ai {
|
|
47478
47484
|
constructor(e) {
|
|
47479
47485
|
super();
|
|
47480
47486
|
f(this, "name", "PrismMesh");
|
|
@@ -47581,8 +47587,8 @@ class Ws extends Ai {
|
|
|
47581
47587
|
setPoints(e) {
|
|
47582
47588
|
var i;
|
|
47583
47589
|
this.prismMesh.geometry.setPosition({
|
|
47584
|
-
bottomPositions: (i = e.points) == null ? void 0 : i.map(
|
|
47585
|
-
topPosition: e.heightPoint ?
|
|
47590
|
+
bottomPositions: (i = e.points) == null ? void 0 : i.map(We).map((s) => s.toArray()),
|
|
47591
|
+
topPosition: e.heightPoint ? We(e.heightPoint).toArray() : void 0
|
|
47586
47592
|
}), this.edgeMesh.geometry = new Qa().fromEdgesGeometry(new y.EdgesGeometry(this.prismMesh.geometry)), this.geometryInfoNeedUpdate = !0;
|
|
47587
47593
|
}
|
|
47588
47594
|
highlight() {
|
|
@@ -47797,7 +47803,7 @@ class km extends Ui {
|
|
|
47797
47803
|
f(this, "type", "Prism");
|
|
47798
47804
|
f(this, "prismMesh");
|
|
47799
47805
|
f(this, "_editor");
|
|
47800
|
-
e && (this.prismMesh = new
|
|
47806
|
+
e && (this.prismMesh = new Us(F(F({}, e.style), e)), this.add(this.prismMesh));
|
|
47801
47807
|
}
|
|
47802
47808
|
get editor() {
|
|
47803
47809
|
return this._editor || (this._editor = new gA(this.prismMesh)), this._editor;
|
|
@@ -47815,8 +47821,8 @@ class km extends Ui {
|
|
|
47815
47821
|
}
|
|
47816
47822
|
setData(e) {
|
|
47817
47823
|
this.prismMesh.setPoints({
|
|
47818
|
-
points: e.points ? this.applyObjectReversalMatrixWorld(e.points.map(
|
|
47819
|
-
heightPoint: e.heightPoint ? this.applyObjectReversalMatrixWorld(
|
|
47824
|
+
points: e.points ? this.applyObjectReversalMatrixWorld(e.points.map(We), this.prismMesh) : void 0,
|
|
47825
|
+
heightPoint: e.heightPoint ? this.applyObjectReversalMatrixWorld(We(e.heightPoint), this.prismMesh) : void 0
|
|
47820
47826
|
}), this.prismMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
47821
47827
|
}
|
|
47822
47828
|
highlight() {
|
|
@@ -47829,7 +47835,7 @@ class km extends Ui {
|
|
|
47829
47835
|
}
|
|
47830
47836
|
create(e) {
|
|
47831
47837
|
return te(this, null, function* () {
|
|
47832
|
-
this.prismMesh = new
|
|
47838
|
+
this.prismMesh = new Us(e), this.add(this.prismMesh), yield pA(this.prismMesh, this.pointSelector, e), this.config.defaultAction && this.editor.enable();
|
|
47833
47839
|
});
|
|
47834
47840
|
}
|
|
47835
47841
|
}
|
|
@@ -47846,7 +47852,7 @@ function pA(n, t, e) {
|
|
|
47846
47852
|
}, g = (v) => {
|
|
47847
47853
|
if (!(v != null && v.raycaster))
|
|
47848
47854
|
return;
|
|
47849
|
-
const A =
|
|
47855
|
+
const A = hs({
|
|
47850
47856
|
raycaster: v.raycaster,
|
|
47851
47857
|
line: new y.Line3(l, c)
|
|
47852
47858
|
});
|
|
@@ -47977,7 +47983,7 @@ class su extends rr {
|
|
|
47977
47983
|
return this.meshFont.material.color;
|
|
47978
47984
|
}
|
|
47979
47985
|
setPoints(e) {
|
|
47980
|
-
const i = e.map(
|
|
47986
|
+
const i = e.map(We).filter(Ne);
|
|
47981
47987
|
if (i.length < 3) {
|
|
47982
47988
|
console.error("Invalid position");
|
|
47983
47989
|
return;
|
|
@@ -47991,7 +47997,7 @@ class su extends rr {
|
|
|
47991
47997
|
}
|
|
47992
47998
|
class xl extends su {
|
|
47993
47999
|
constructor(e) {
|
|
47994
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
48000
|
+
const o = e != null ? e : {}, { points: i } = o, s = Kn(o, ["points"]);
|
|
47995
48001
|
super();
|
|
47996
48002
|
f(this, "name", "RectangleWithEdgeMesh");
|
|
47997
48003
|
f(this, "line", new $s());
|
|
@@ -48046,7 +48052,7 @@ class Sh extends Ui {
|
|
|
48046
48052
|
});
|
|
48047
48053
|
}
|
|
48048
48054
|
setData(e) {
|
|
48049
|
-
e.points && this.rectangleMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(
|
|
48055
|
+
e.points && this.rectangleMesh.setPoints(this.applyObjectReversalMatrixWorld(e.points.map(We), this.rectangleMesh)), this.rectangleMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
48050
48056
|
}
|
|
48051
48057
|
highlight() {
|
|
48052
48058
|
var e;
|
|
@@ -48086,7 +48092,7 @@ function Dx(n, t, e) {
|
|
|
48086
48092
|
const { promise: i, reject: s, resolve: o } = to(), r = n.parent;
|
|
48087
48093
|
if (!r)
|
|
48088
48094
|
return s(new Error("No container"));
|
|
48089
|
-
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new
|
|
48095
|
+
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new cs(he(F({}, n.style), { dashed: !0 })), c = new cs(he(F({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new cs(he(F({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
48090
48096
|
r.add(l, h, c), t.enable();
|
|
48091
48097
|
const d = [];
|
|
48092
48098
|
let u = new y.Vector3(), g = new y.Vector3();
|
|
@@ -48135,7 +48141,7 @@ function Tx(n, t, e) {
|
|
|
48135
48141
|
const { promise: i, reject: s, resolve: o } = to(), r = n.parent;
|
|
48136
48142
|
if (!r)
|
|
48137
48143
|
return s(new Error("No container"));
|
|
48138
|
-
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new
|
|
48144
|
+
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new cs(he(F({}, n.style), { dashed: !0 })), c = new cs(he(F({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new cs(he(F({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
48139
48145
|
r.add(l, h, c), t.enable(), t.setAdherePoints(Sx(t.five, { excludes: [n] }));
|
|
48140
48146
|
const d = [];
|
|
48141
48147
|
let u = new y.Vector3(), g = new y.Vector3();
|
|
@@ -48211,7 +48217,7 @@ class yA extends ql {
|
|
|
48211
48217
|
}
|
|
48212
48218
|
setPoints(e) {
|
|
48213
48219
|
var i, s, o;
|
|
48214
|
-
if (this._center = (i =
|
|
48220
|
+
if (this._center = (i = We(e.center)) != null ? i : this._center, this._normal = ((s = We(e.normal)) != null ? s : this._normal).normalize(), this._radius = (o = e.radius) != null ? o : this._radius, Ne(this._radius) && this._radius !== this.radius) {
|
|
48215
48221
|
const r = bA(this._radius);
|
|
48216
48222
|
this.geometry = new y.CircleGeometry(this._radius, r);
|
|
48217
48223
|
}
|
|
@@ -48220,7 +48226,7 @@ class yA extends ql {
|
|
|
48220
48226
|
}
|
|
48221
48227
|
class ra extends yA {
|
|
48222
48228
|
constructor(e) {
|
|
48223
|
-
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r =
|
|
48229
|
+
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = Kn(a, ["normal", "radius", "center"]);
|
|
48224
48230
|
super(r);
|
|
48225
48231
|
f(this, "edgeLine");
|
|
48226
48232
|
this.edgeLine = new ki(r), this.add(this.edgeLine), i && s && o && this.setPoints({ normal: i, radius: s, center: o });
|
|
@@ -48263,8 +48269,8 @@ class xm extends Ui {
|
|
|
48263
48269
|
}
|
|
48264
48270
|
setData(e) {
|
|
48265
48271
|
this.circleMesh.setPoints({
|
|
48266
|
-
center: e.center ? this.applyObjectReversalMatrixWorld(
|
|
48267
|
-
normal: e.normal ?
|
|
48272
|
+
center: e.center ? this.applyObjectReversalMatrixWorld(We(e.center), this.circleMesh) : void 0,
|
|
48273
|
+
normal: e.normal ? We(e.normal) : void 0,
|
|
48268
48274
|
radius: e.radius
|
|
48269
48275
|
}), this.circleMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
48270
48276
|
}
|
|
@@ -48353,7 +48359,7 @@ class Dh extends Ai {
|
|
|
48353
48359
|
}
|
|
48354
48360
|
setPoints(e) {
|
|
48355
48361
|
var i, s;
|
|
48356
|
-
if (this._topCenter = (i =
|
|
48362
|
+
if (this._topCenter = (i = We(e.topCenter)) != null ? i : this.topCenter, this._bottomCenter = (s = We(e.bottomCenter)) != null ? s : this.bottomCenter, this._radius = Ne(e.radius) ? e.radius : this.radius, this._topCenter && this._bottomCenter) {
|
|
48357
48363
|
const o = this._topCenter.clone().sub(this._bottomCenter).normalize();
|
|
48358
48364
|
this.bottomCircle.setPoints({ center: this._bottomCenter, normal: o, radius: this._radius }), this.setTopCenter(this._topCenter);
|
|
48359
48365
|
}
|
|
@@ -48448,8 +48454,8 @@ class Sm extends Ui {
|
|
|
48448
48454
|
}
|
|
48449
48455
|
setData(e) {
|
|
48450
48456
|
this.cylinderMesh.setPoints({
|
|
48451
|
-
bottomCenter: e.bottomCenter ? this.applyObjectReversalMatrixWorld(
|
|
48452
|
-
topCenter: e.topCenter ? this.applyObjectReversalMatrixWorld(
|
|
48457
|
+
bottomCenter: e.bottomCenter ? this.applyObjectReversalMatrixWorld(We(e.bottomCenter), this.cylinderMesh) : void 0,
|
|
48458
|
+
topCenter: e.topCenter ? this.applyObjectReversalMatrixWorld(We(e.topCenter), this.cylinderMesh) : void 0
|
|
48453
48459
|
}), this.cylinderMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
48454
48460
|
}
|
|
48455
48461
|
highlight() {
|
|
@@ -48479,7 +48485,7 @@ function PA(n, t) {
|
|
|
48479
48485
|
}, d = (p) => {
|
|
48480
48486
|
if (!(p != null && p.raycaster))
|
|
48481
48487
|
return;
|
|
48482
|
-
const m =
|
|
48488
|
+
const m = hs({
|
|
48483
48489
|
raycaster: p.raycaster,
|
|
48484
48490
|
line: new y.Line3(r, a)
|
|
48485
48491
|
}), A = new y.Plane().setFromNormalAndCoplanarPoint(n.normal, n.bottomCenter).projectPoint(m, new y.Vector3()), P = m.clone().sub(A), E = n.bottomCenter.clone().add(P);
|
|
@@ -48586,7 +48592,7 @@ class CA extends va {
|
|
|
48586
48592
|
}));
|
|
48587
48593
|
}
|
|
48588
48594
|
}
|
|
48589
|
-
class Th extends
|
|
48595
|
+
class Th extends Us {
|
|
48590
48596
|
constructor() {
|
|
48591
48597
|
super(...arguments);
|
|
48592
48598
|
f(this, "name", "BoxMesh");
|
|
@@ -48630,8 +48636,8 @@ class Dm extends Ui {
|
|
|
48630
48636
|
}
|
|
48631
48637
|
setData(e) {
|
|
48632
48638
|
this.boxMesh.setPoints({
|
|
48633
|
-
points: e.points ? this.applyObjectReversalMatrixWorld(e.points.map(
|
|
48634
|
-
heightPoint: e.heightPoint ? this.applyObjectReversalMatrixWorld(
|
|
48639
|
+
points: e.points ? this.applyObjectReversalMatrixWorld(e.points.map(We), this.boxMesh) : void 0,
|
|
48640
|
+
heightPoint: e.heightPoint ? this.applyObjectReversalMatrixWorld(We(e.heightPoint), this.boxMesh) : void 0
|
|
48635
48641
|
}), this.boxMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
48636
48642
|
}
|
|
48637
48643
|
highlight() {
|
|
@@ -48686,7 +48692,7 @@ function IA(n, t, e) {
|
|
|
48686
48692
|
}, g = (v) => {
|
|
48687
48693
|
if (!(v != null && v.raycaster))
|
|
48688
48694
|
return;
|
|
48689
|
-
const A =
|
|
48695
|
+
const A = hs({
|
|
48690
48696
|
raycaster: v.raycaster,
|
|
48691
48697
|
line: new y.Line3(h, d)
|
|
48692
48698
|
});
|
|
@@ -48793,7 +48799,7 @@ function EA(n, t, e) {
|
|
|
48793
48799
|
return O();
|
|
48794
48800
|
g = T;
|
|
48795
48801
|
const b = h.at(-1).clone();
|
|
48796
|
-
a === "none" ? (d = T.point, l.setPoints([b, d])) : a === "xoz" ? (t.plane = u, u = u != null ? u : new y.Plane().setFromNormalAndCoplanarPoint(new y.Vector3(0, 1, 0), h[0]), d = u.projectPoint(T.point, new y.Vector3()), l.setPoints([b, d]), c.setPoints([d, T.point])) : a === "y" && (T.isVirtual ? (d =
|
|
48802
|
+
a === "none" ? (d = T.point, l.setPoints([b, d])) : a === "xoz" ? (t.plane = u, u = u != null ? u : new y.Plane().setFromNormalAndCoplanarPoint(new y.Vector3(0, 1, 0), h[0]), d = u.projectPoint(T.point, new y.Vector3()), l.setPoints([b, d]), c.setPoints([d, T.point])) : a === "y" && (T.isVirtual ? (d = hs({
|
|
48797
48803
|
raycaster: T.raycaster,
|
|
48798
48804
|
line: new y.Line3(h[0].clone(), new y.Vector3(0, 1, 0).add(h[0])),
|
|
48799
48805
|
clampToLine: !1
|
|
@@ -49045,7 +49051,7 @@ class jx extends Hd {
|
|
|
49045
49051
|
this.initialSculpt(), ((i = (e = this.data.mediaData) == null ? void 0 : e[0]) == null ? void 0 : i.type) === "Video" ? this.renderVideoPlane() : ((o = (s = this.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : o.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane();
|
|
49046
49052
|
else {
|
|
49047
49053
|
ca(this.five);
|
|
49048
|
-
const l = this.position.map(
|
|
49054
|
+
const l = this.position.map(We);
|
|
49049
49055
|
(a = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || a.call(r);
|
|
49050
49056
|
const c = document.createElement("div");
|
|
49051
49057
|
c.classList.add("tag-media-container");
|
|
@@ -49332,7 +49338,7 @@ function Vx(n, t, e) {
|
|
|
49332
49338
|
} } = t, { handleMouseEnter: r = () => {
|
|
49333
49339
|
} } = t, { handleMouseLeave: a = () => {
|
|
49334
49340
|
} } = t;
|
|
49335
|
-
const l =
|
|
49341
|
+
const l = _n(), c = {
|
|
49336
49342
|
audioRef: (h) => l("audioRef", h.detail),
|
|
49337
49343
|
play: () => {
|
|
49338
49344
|
e(0, i = !0), l("play");
|
|
@@ -49665,7 +49671,7 @@ function Qx(n) {
|
|
|
49665
49671
|
function Xx(n, t, e) {
|
|
49666
49672
|
var L, N;
|
|
49667
49673
|
let i, s, o, r, a;
|
|
49668
|
-
const l = an("hooks"), c =
|
|
49674
|
+
const l = an("hooks"), c = _n();
|
|
49669
49675
|
let { tag: h } = t, d, u = !1;
|
|
49670
49676
|
const g = () => {
|
|
49671
49677
|
d !== void 0 && clearTimeout(d), u = !0, d = setTimeout(
|
|
@@ -49712,7 +49718,7 @@ function Xx(n, t, e) {
|
|
|
49712
49718
|
z(h) && A(B);
|
|
49713
49719
|
};
|
|
49714
49720
|
function S(B) {
|
|
49715
|
-
|
|
49721
|
+
Rn.call(this, n, B);
|
|
49716
49722
|
}
|
|
49717
49723
|
return n.$$set = (B) => {
|
|
49718
49724
|
"tag" in B && e(1, h = B.tag), "tagPointClickHelper" in B && e(0, v = B.tagPointClickHelper), "handleMouseEnter" in B && e(2, A = B.handleMouseEnter), "handleMouseLeave" in B && e(3, P = B.handleMouseLeave), "handleTagPointClick" in B && e(4, E = B.handleTagPointClick), "audioInstance" in B && e(14, D = B.audioInstance);
|
|
@@ -50743,7 +50749,7 @@ function MS(n) {
|
|
|
50743
50749
|
const j = (
|
|
50744
50750
|
/*#slots*/
|
|
50745
50751
|
n[38].toolbar
|
|
50746
|
-
), T =
|
|
50752
|
+
), T = us(
|
|
50747
50753
|
j,
|
|
50748
50754
|
n,
|
|
50749
50755
|
/*$$scope*/
|
|
@@ -50752,7 +50758,7 @@ function MS(n) {
|
|
|
50752
50758
|
), O = (
|
|
50753
50759
|
/*#slots*/
|
|
50754
50760
|
n[38].arrow
|
|
50755
|
-
), b =
|
|
50761
|
+
), b = us(
|
|
50756
50762
|
O,
|
|
50757
50763
|
n,
|
|
50758
50764
|
/*$$scope*/
|
|
@@ -50784,37 +50790,37 @@ function MS(n) {
|
|
|
50784
50790
|
z = null;
|
|
50785
50791
|
}), xe()), /*marketingPrice*/
|
|
50786
50792
|
C[12] ? D ? D.p(C, M) : (D = Qm(C), D.c(), D.m(e, h)) : D && (D.d(1), D = null), T && T.p && (!p || M[1] & /*$$scope*/
|
|
50787
|
-
64) &&
|
|
50793
|
+
64) && gs(
|
|
50788
50794
|
T,
|
|
50789
50795
|
j,
|
|
50790
50796
|
C,
|
|
50791
50797
|
/*$$scope*/
|
|
50792
50798
|
C[37],
|
|
50793
|
-
p ?
|
|
50799
|
+
p ? fs(
|
|
50794
50800
|
j,
|
|
50795
50801
|
/*$$scope*/
|
|
50796
50802
|
C[37],
|
|
50797
50803
|
M,
|
|
50798
50804
|
yS
|
|
50799
|
-
) :
|
|
50805
|
+
) : ps(
|
|
50800
50806
|
/*$$scope*/
|
|
50801
50807
|
C[37]
|
|
50802
50808
|
),
|
|
50803
50809
|
Om
|
|
50804
50810
|
), b && b.p && (!p || M[1] & /*$$scope*/
|
|
50805
|
-
64) &&
|
|
50811
|
+
64) && gs(
|
|
50806
50812
|
b,
|
|
50807
50813
|
O,
|
|
50808
50814
|
C,
|
|
50809
50815
|
/*$$scope*/
|
|
50810
50816
|
C[37],
|
|
50811
|
-
p ?
|
|
50817
|
+
p ? fs(
|
|
50812
50818
|
O,
|
|
50813
50819
|
/*$$scope*/
|
|
50814
50820
|
C[37],
|
|
50815
50821
|
M,
|
|
50816
50822
|
bS
|
|
50817
|
-
) :
|
|
50823
|
+
) : ps(
|
|
50818
50824
|
/*$$scope*/
|
|
50819
50825
|
C[37]
|
|
50820
50826
|
),
|
|
@@ -51416,7 +51422,7 @@ function _S(n) {
|
|
|
51416
51422
|
function BS(n, t, e) {
|
|
51417
51423
|
let i;
|
|
51418
51424
|
const s = an("hooks");
|
|
51419
|
-
|
|
51425
|
+
_n();
|
|
51420
51426
|
let { tag: o } = t, { toolbar: r = { showMore: !0, showShare: !0 } } = t, { theme: a = "dark" } = t, { closePopover: l = void 0 } = t;
|
|
51421
51427
|
Tt(() => {
|
|
51422
51428
|
s.emit("popoverToolbarShow", { tag: o });
|
|
@@ -51637,7 +51643,7 @@ function HS(n) {
|
|
|
51637
51643
|
function NS(n, t, e) {
|
|
51638
51644
|
let { showArrow: i } = t, { arrowDirection: s } = t, { effectiveTheme: o } = t, { adjustedPlacement: r } = t, { tag: a } = t, { config: l } = t, { theme: c } = t, { toolbar: h } = t, { closePopover: d } = t, { audioInstance: u = null } = t, { audioPlaying: g = !1 } = t, { audioCurrentTime: p = 0 } = t, { audioDuration: m = 0 } = t;
|
|
51639
51645
|
function v(A) {
|
|
51640
|
-
|
|
51646
|
+
Rn.call(this, n, A);
|
|
51641
51647
|
}
|
|
51642
51648
|
return n.$$set = (A) => {
|
|
51643
51649
|
"showArrow" in A && e(0, i = A.showArrow), "arrowDirection" in A && e(1, s = A.arrowDirection), "effectiveTheme" in A && e(2, o = A.effectiveTheme), "adjustedPlacement" in A && e(3, r = A.adjustedPlacement), "tag" in A && e(4, a = A.tag), "config" in A && e(5, l = A.config), "theme" in A && e(6, c = A.theme), "toolbar" in A && e(7, h = A.toolbar), "closePopover" in A && e(8, d = A.closePopover), "audioInstance" in A && e(9, u = A.audioInstance), "audioPlaying" in A && e(10, g = A.audioPlaying), "audioCurrentTime" in A && e(11, p = A.audioCurrentTime), "audioDuration" in A && e(12, m = A.audioDuration);
|
|
@@ -51957,7 +51963,7 @@ function QS(n, t, e) {
|
|
|
51957
51963
|
let i, s, o, r, a, l, c, h, d, u;
|
|
51958
51964
|
const g = an("hooks");
|
|
51959
51965
|
let { tag: p } = t, { config: m = {} } = t, { triggerElement: v } = t, { wrapperElement: A = document.body } = t, { popoverContainer: P = null } = t, { theme: E = void 0 } = t, { visible: I = !0 } = t, { closePopover: z = void 0 } = t, { audioInstance: D = null } = t, { audioPlaying: j = !1 } = t, { audioCurrentTime: T = 0 } = t, { audioDuration: O = 0 } = t;
|
|
51960
|
-
const b =
|
|
51966
|
+
const b = _n();
|
|
51961
51967
|
let C, M = { width: 0, height: 0 }, k = null, S = s;
|
|
51962
51968
|
function L(ee, { duration: Te = 400, easing: Re = Zr, x: Ae = 0, y: Ve = 0 }) {
|
|
51963
51969
|
return {
|
|
@@ -52048,10 +52054,10 @@ function QS(n, t, e) {
|
|
|
52048
52054
|
typeof z == "function" && z(), b("close");
|
|
52049
52055
|
}
|
|
52050
52056
|
function Me(ee) {
|
|
52051
|
-
|
|
52057
|
+
Rn.call(this, n, ee);
|
|
52052
52058
|
}
|
|
52053
52059
|
function de(ee) {
|
|
52054
|
-
|
|
52060
|
+
Rn.call(this, n, ee);
|
|
52055
52061
|
}
|
|
52056
52062
|
function le(ee) {
|
|
52057
52063
|
qe[ee ? "unshift" : "push"](() => {
|
|
@@ -52874,7 +52880,7 @@ function t0(n) {
|
|
|
52874
52880
|
for (let h = 0; h < a.length; h += 1)
|
|
52875
52881
|
H(e[h]);
|
|
52876
52882
|
o || wt(() => {
|
|
52877
|
-
o =
|
|
52883
|
+
o = bs(t, Vt, {}), o.start();
|
|
52878
52884
|
}), r = !0;
|
|
52879
52885
|
}
|
|
52880
52886
|
},
|
|
@@ -53073,7 +53079,7 @@ class Lh extends k8 {
|
|
|
53073
53079
|
s.state.visible = !1, s.applyVisible();
|
|
53074
53080
|
}), this.five.ready().then(() => {
|
|
53075
53081
|
this.tagsDo(this.tags, (s) => {
|
|
53076
|
-
s.updateVisible(),
|
|
53082
|
+
s.updateVisible(), Gs(s) && e !== "Panorama" && this.changeTagMode(s, "behind");
|
|
53077
53083
|
});
|
|
53078
53084
|
});
|
|
53079
53085
|
};
|
|
@@ -53401,7 +53407,7 @@ class Lh extends k8 {
|
|
|
53401
53407
|
var e;
|
|
53402
53408
|
this.tags.length && (this.tags.forEach((i) => {
|
|
53403
53409
|
var s, o, r, a, l, c;
|
|
53404
|
-
(s = i.tag3DContentSvelte) == null || s.dispose(), (r = (o = i.mediaPlane) == null ? void 0 : o.parent) == null || r.remove(i.mediaPlane), (c = (l = (a = i.model) == null ? void 0 : a.object) == null ? void 0 : l.parent) == null || c.remove(i.model.object);
|
|
53410
|
+
(s = i.tag3DContentSvelte) == null || s.dispose(), (r = (o = i.mediaPlane) == null ? void 0 : o.parent) == null || r.remove(i.mediaPlane), (c = (l = (a = i.model) == null ? void 0 : a.object) == null ? void 0 : l.parent) == null || c.remove(i.model.object), this.group.remove(i.tagNormalLine);
|
|
53405
53411
|
}), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
|
|
53406
53412
|
}
|
|
53407
53413
|
/**
|
|
@@ -53841,7 +53847,7 @@ function uD(n, t, e) {
|
|
|
53841
53847
|
i.push(E);
|
|
53842
53848
|
}), i.push(l);
|
|
53843
53849
|
});
|
|
53844
|
-
const s = t.transform, o = i.map((r) =>
|
|
53850
|
+
const s = t.transform, o = i.map((r) => Dn(new y.Vector3().fromArray(r), s).toArray());
|
|
53845
53851
|
return [he(F({}, e), { type: "CatmullRomCurve3", points: o })];
|
|
53846
53852
|
}
|
|
53847
53853
|
const fD = (
|
|
@@ -54037,7 +54043,7 @@ class zh {
|
|
|
54037
54043
|
});
|
|
54038
54044
|
/** 模型状态变更 */
|
|
54039
54045
|
f(this, "onFiveModeChange", (t) => {
|
|
54040
|
-
this.modeVisible = this.mode === "panorama" ?
|
|
54046
|
+
this.modeVisible = this.mode === "panorama" ? ls(t) : Ci(t), this.updateVisible();
|
|
54041
54047
|
});
|
|
54042
54048
|
f(this, "onFiveModelShownFloorChange", (t) => {
|
|
54043
54049
|
this.floorVisible = t === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(t), this.updateVisible();
|
|
@@ -54242,7 +54248,7 @@ class zh {
|
|
|
54242
54248
|
setTextureUrl(t) {
|
|
54243
54249
|
if (this.disposed)
|
|
54244
54250
|
return this.logError("disposed");
|
|
54245
|
-
this.textureUrl = t,
|
|
54251
|
+
this.textureUrl = t, Ns(t).then((e) => {
|
|
54246
54252
|
this.disposed || this.textureUrl === t && (e.wrapT = y.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
|
|
54247
54253
|
});
|
|
54248
54254
|
}
|
|
@@ -54335,7 +54341,7 @@ const xL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
54335
54341
|
__proto__: null,
|
|
54336
54342
|
GuideLineModeItem: zh
|
|
54337
54343
|
}, Symbol.toStringTag, { value: "Module" })), xA = "CruisePlugin", Nc = `${xA}`;
|
|
54338
|
-
class SA extends
|
|
54344
|
+
class SA extends ys {
|
|
54339
54345
|
constructor(e, i) {
|
|
54340
54346
|
super(e, i);
|
|
54341
54347
|
f(this, "state", {
|
|
@@ -54511,7 +54517,7 @@ class SA extends bs {
|
|
|
54511
54517
|
}
|
|
54512
54518
|
function Gc(n, t, e) {
|
|
54513
54519
|
var l, c, h;
|
|
54514
|
-
const i = new y.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), o = n.getTangentAt(t), { longitude: r, latitude: a } =
|
|
54520
|
+
const i = new y.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), o = n.getTangentAt(t), { longitude: r, latitude: a } = Bs(o);
|
|
54515
54521
|
return { offset: s.clone(), longitude: r, latitude: a, distance: 0 };
|
|
54516
54522
|
}
|
|
54517
54523
|
class DA extends SA {
|
|
@@ -54562,7 +54568,7 @@ class DA extends SA {
|
|
|
54562
54568
|
{
|
|
54563
54569
|
if (this.data.path.length < 2)
|
|
54564
54570
|
return null;
|
|
54565
|
-
const v = this.data.path.map(
|
|
54571
|
+
const v = this.data.path.map(We);
|
|
54566
54572
|
return new y.CatmullRomCurve3(v, void 0, "catmullrom", 0.5);
|
|
54567
54573
|
}
|
|
54568
54574
|
})();
|
|
@@ -54576,7 +54582,7 @@ class DA extends SA {
|
|
|
54576
54582
|
throw new Error("curve is not defined");
|
|
54577
54583
|
const o = this.curve.getLength(), r = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
|
|
54578
54584
|
if (this.duration = o / (this.state.config.speedConfig.moveSpeed / r), Array.isArray(this.data.path)) {
|
|
54579
|
-
const v = this.data.path.map(
|
|
54585
|
+
const v = this.data.path.map(We).map((A) => A.toArray());
|
|
54580
54586
|
!this.GuideLine && (((g = this.config) == null ? void 0 : g.useGuideLine) !== !1 && e.useGuildLine || (p = this.config) != null && p.useGuideLine && e.useGuildLine !== !1) && (this.GuideLine = PD(this.five, this.config)), (m = this.GuideLine) == null || m.load({
|
|
54581
54587
|
lines: [
|
|
54582
54588
|
{
|
|
@@ -54766,7 +54772,7 @@ class au extends SA {
|
|
|
54766
54772
|
if (!g || !u || ((m = this.workUtil.getObserver(l)) == null ? void 0 : m.floorIndex) !== ((v = this.workUtil.getObserver(d)) == null ? void 0 : v.floorIndex))
|
|
54767
54773
|
return;
|
|
54768
54774
|
const p = new y.Vector3().subVectors(g, u);
|
|
54769
|
-
return
|
|
54775
|
+
return Bs(p.normalize());
|
|
54770
54776
|
})();
|
|
54771
54777
|
i.moveType === void 0 || i.moveType === "justMove" ? s.push({
|
|
54772
54778
|
moveIndex: c,
|
|
@@ -55411,7 +55417,7 @@ class l0 {
|
|
|
55411
55417
|
if (!t)
|
|
55412
55418
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
55413
55419
|
this.observer = t;
|
|
55414
|
-
const { x: e, y: i, z: s, w: o } = t.quaternion, r = new
|
|
55420
|
+
const { x: e, y: i, z: s, w: o } = t.quaternion, r = new zs(e, i, s, o), a = t.position;
|
|
55415
55421
|
this.videoMesh.position.fromArray([a.x, a.y, a.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new ve(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(r);
|
|
55416
55422
|
});
|
|
55417
55423
|
/** 兼容视频播放 */
|
|
@@ -55524,7 +55530,7 @@ class l0 {
|
|
|
55524
55530
|
uniforms: {
|
|
55525
55531
|
map: { value: s },
|
|
55526
55532
|
size: {
|
|
55527
|
-
value: new
|
|
55533
|
+
value: new Ls(this.origin[0], 1 - this.origin[1] - this.origin[3], this.origin[2], this.origin[3])
|
|
55528
55534
|
},
|
|
55529
55535
|
opacity: { value: 0 }
|
|
55530
55536
|
},
|
|
@@ -55627,7 +55633,7 @@ class l0 {
|
|
|
55627
55633
|
return i >= o && i <= h && s >= c && s <= d;
|
|
55628
55634
|
}
|
|
55629
55635
|
}
|
|
55630
|
-
class MD extends
|
|
55636
|
+
class MD extends ys {
|
|
55631
55637
|
constructor(e) {
|
|
55632
55638
|
super(e);
|
|
55633
55639
|
f(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
@@ -56349,7 +56355,7 @@ let ND = class extends fn {
|
|
|
56349
56355
|
const i = this.texturePromiseCache.get(e);
|
|
56350
56356
|
if (i)
|
|
56351
56357
|
return i;
|
|
56352
|
-
const s =
|
|
56358
|
+
const s = Ns(e);
|
|
56353
56359
|
return this.texturePromiseCache.set(e, s), s;
|
|
56354
56360
|
});
|
|
56355
56361
|
}
|
|
@@ -56875,8 +56881,8 @@ class YD {
|
|
|
56875
56881
|
if (this.isInContainerResizeAnimation)
|
|
56876
56882
|
return { result: !1, msg: "处于容器 resize 动画中" };
|
|
56877
56883
|
const e = this.plugin.five, i = e.camera.position.clone();
|
|
56878
|
-
|
|
56879
|
-
const [s] = this.plugin.fiveUtil.model.intersectRaycaster(
|
|
56884
|
+
Tn.set(i.clone(), this.tagPosition.clone().sub(i).normalize());
|
|
56885
|
+
const [s] = this.plugin.fiveUtil.model.intersectRaycaster(Tn), o = this.tagPosition.distanceTo(e.camera.position);
|
|
56880
56886
|
if (s && s.distance + 0.1 < o)
|
|
56881
56887
|
return { result: !1, msg: "标注标签被 Five 模型遮挡" };
|
|
56882
56888
|
const r = this.tagNDCPosition;
|
|
@@ -57261,7 +57267,7 @@ let ZD = class extends fn {
|
|
|
57261
57267
|
}
|
|
57262
57268
|
};
|
|
57263
57269
|
const VL = (n, t) => new ZD(n, t);
|
|
57264
|
-
class JD extends
|
|
57270
|
+
class JD extends ys {
|
|
57265
57271
|
constructor(e, i) {
|
|
57266
57272
|
super(e);
|
|
57267
57273
|
// ==================== public properties ====================
|
|
@@ -57460,7 +57466,7 @@ class JD extends bs {
|
|
|
57460
57466
|
reloadTexture(e) {
|
|
57461
57467
|
return te(this, null, function* () {
|
|
57462
57468
|
if (this.mesh.material.map = null, e !== "") {
|
|
57463
|
-
const i =
|
|
57469
|
+
const i = Ns(e);
|
|
57464
57470
|
this.textureLoadingPromise = i;
|
|
57465
57471
|
const s = yield i;
|
|
57466
57472
|
s.minFilter = y.LinearFilter, this.textureLoadingPromise === i && (this.onTextureLoaded(s), this.textureLoadingPromise = null);
|
|
@@ -57661,7 +57667,7 @@ const m0 = (n, t) => {
|
|
|
57661
57667
|
};
|
|
57662
57668
|
class Xc extends lu {
|
|
57663
57669
|
constructor(...e) {
|
|
57664
|
-
const i = e[0], s = eo(i.model), o = new y.Vector3().lerpVectors(
|
|
57670
|
+
const i = e[0], s = eo(i.model), o = new y.Vector3().lerpVectors(ss(s, 0), ss(s, 5), 0.5);
|
|
57665
57671
|
super(he(F({}, i), { position: o }));
|
|
57666
57672
|
f(this, "onModelShownFloorChange", (e) => {
|
|
57667
57673
|
this.updateFiveCurrentFloorState(e), this.updateVisible();
|
|
@@ -57734,7 +57740,7 @@ class oT extends fn {
|
|
|
57734
57740
|
f(this, "onFiveModeChange", (e) => {
|
|
57735
57741
|
const i = this.occlusionVisibility;
|
|
57736
57742
|
Array.isArray(i) && [...this.getPrismItems(), ...this.getBoxItems()].forEach((o) => {
|
|
57737
|
-
(o.model instanceof
|
|
57743
|
+
(o.model instanceof Us || o.model instanceof Eh) && o.model.setStyle({ occlusionVisibility: i.includes(e) });
|
|
57738
57744
|
});
|
|
57739
57745
|
});
|
|
57740
57746
|
f(this, "handleEnable", () => {
|
|
@@ -57815,14 +57821,14 @@ class oT extends fn {
|
|
|
57815
57821
|
});
|
|
57816
57822
|
}
|
|
57817
57823
|
case "prism": {
|
|
57818
|
-
const r = new
|
|
57824
|
+
const r = new Us();
|
|
57819
57825
|
Ne(s.id) && (r.uuid = s.id.toString()), this.zFightingOffset += en.Z_FIGHTING_OFFSET;
|
|
57820
57826
|
const a = s.object_data.points.map((d) => {
|
|
57821
57827
|
var u;
|
|
57822
57828
|
return [d[0], d[1] + ((u = s.object_data.fixedY) != null ? u : 0), d[2]];
|
|
57823
57829
|
});
|
|
57824
57830
|
a.push(a[0]);
|
|
57825
|
-
const l = s.object_data.height + ((o = s.object_data.fixedHeight) != null ? o : 0) + this.zFightingOffset, c =
|
|
57831
|
+
const l = s.object_data.height + ((o = s.object_data.fixedHeight) != null ? o : 0) + this.zFightingOffset, c = We(a[0]).add(new ve().setY(l));
|
|
57826
57832
|
return r.setPoints({ points: a, heightPoint: c }), r.setStyle(i(s)), new Xc({
|
|
57827
57833
|
five: this.five,
|
|
57828
57834
|
tagWrapper: this.tagWrapper,
|
|
@@ -57834,12 +57840,12 @@ class oT extends fn {
|
|
|
57834
57840
|
});
|
|
57835
57841
|
}
|
|
57836
57842
|
case "box": {
|
|
57837
|
-
const r = new
|
|
57843
|
+
const r = new Us({ five: this.five });
|
|
57838
57844
|
Ne(s.id) && (r.uuid = s.id.toString());
|
|
57839
|
-
const { start: a, end: l, rotation: c = [0, 0, 0, 0] } = s.object_data, h = new ve().fromArray(a), d = new ve().fromArray(l), u = new
|
|
57845
|
+
const { start: a, end: l, rotation: c = [0, 0, 0, 0] } = s.object_data, h = new ve().fromArray(a), d = new ve().fromArray(l), u = new ns().fromArray(c), g = new zs().setFromEuler(u), p = g.clone().inverse(), m = new ve().lerpVectors(h, d, 0.5), v = m.clone().negate(), A = h.clone().add(v).applyQuaternion(p), P = d.clone().add(v).applyQuaternion(p), E = new bb(A.clone().max(P), A.clone().min(P));
|
|
57840
57846
|
return r.setPoints({
|
|
57841
|
-
points: [
|
|
57842
|
-
heightPoint:
|
|
57847
|
+
points: [ss(E, 2), ss(E, 3), ss(E, 7), ss(E, 6)],
|
|
57848
|
+
heightPoint: ss(E, 1)
|
|
57843
57849
|
}), r.position.copy(m), r.quaternion.copy(g), r.setStyle(i(s)), new g0({
|
|
57844
57850
|
five: this.five,
|
|
57845
57851
|
tagWrapper: this.tagWrapper,
|
|
@@ -58229,7 +58235,7 @@ const HL = (...n) => new oT(...n), rT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58229
58235
|
LineMesh: ki,
|
|
58230
58236
|
PointMesh: hn,
|
|
58231
58237
|
PolygonMesh: rr,
|
|
58232
|
-
PrismMesh:
|
|
58238
|
+
PrismMesh: Us,
|
|
58233
58239
|
PrismMeshEditor: gA,
|
|
58234
58240
|
RectangleMesh: su,
|
|
58235
58241
|
RectangleMeshEditor: mA,
|
|
@@ -58251,7 +58257,7 @@ const HL = (...n) => new oT(...n), rT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58251
58257
|
DEFAULT_STATIC_PREFIX: Vl,
|
|
58252
58258
|
DNALOGEL_DEFAULT_ASSETS: Ww,
|
|
58253
58259
|
ENTRY_DOOR_DEFAULT_IMAGE: hd,
|
|
58254
|
-
FLOORPLAN_DEFAULT_IMAGE:
|
|
58260
|
+
FLOORPLAN_DEFAULT_IMAGE: ds,
|
|
58255
58261
|
FiveDomEvents: No,
|
|
58256
58262
|
FivePuppet: t2,
|
|
58257
58263
|
GUIDELINE_DEFAULT_ARROW_TEXTURE: Fl,
|
|
@@ -58279,7 +58285,7 @@ const HL = (...n) => new oT(...n), rT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58279
58285
|
bounding: Uh,
|
|
58280
58286
|
boundingBox: eo,
|
|
58281
58287
|
boundingSphere: W0,
|
|
58282
|
-
boxVertex:
|
|
58288
|
+
boxVertex: ss,
|
|
58283
58289
|
boxVertexes: Fy,
|
|
58284
58290
|
checkFiveModelLoaded: Gw,
|
|
58285
58291
|
cleanup: Cw,
|
|
@@ -58295,7 +58301,7 @@ const HL = (...n) => new oT(...n), rT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58295
58301
|
inside: Pu,
|
|
58296
58302
|
isModelLike: Ci,
|
|
58297
58303
|
isNil: vi,
|
|
58298
|
-
isPanoramaLike:
|
|
58304
|
+
isPanoramaLike: ls,
|
|
58299
58305
|
lookObject: Nw,
|
|
58300
58306
|
lookPoint: v1,
|
|
58301
58307
|
nextFrame: da,
|
|
@@ -58329,7 +58335,7 @@ export {
|
|
|
58329
58335
|
Tr as DIRECTION,
|
|
58330
58336
|
Mo as DISPLAY_STRATEGY_TYPE,
|
|
58331
58337
|
b8 as DimensionType,
|
|
58332
|
-
|
|
58338
|
+
Fs as FLOOR_PLAN_ATTACHED_TO,
|
|
58333
58339
|
WT as FLOOR_TYPE_MAP,
|
|
58334
58340
|
NT as FloorplanGuidePlugin,
|
|
58335
58341
|
SL as GuideLineItem,
|
|
@@ -58354,7 +58360,7 @@ export {
|
|
|
58354
58360
|
CL as Object3DHelperPlugin,
|
|
58355
58361
|
tu as PLUGIN,
|
|
58356
58362
|
gT as PaintBrush,
|
|
58357
|
-
|
|
58363
|
+
ts as PaintBrushTypeEnum,
|
|
58358
58364
|
KT as PanoCompassPlugin,
|
|
58359
58365
|
bT as PanoCursorRaycasterPlugin,
|
|
58360
58366
|
gL as PanoDoorLabelPlugin,
|