@realsee/dnalogel 3.78.0-alpha.3 → 3.78.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/dist/index.cjs.js +40 -40
- package/dist/index.js +399 -395
- package/dist/index.umd.js +40 -40
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +47 -47
- package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +68 -65
- package/libs/PanoTagPlugin/utils/index.js +31 -30
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +34 -32
- 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 Gb = Object.defineProperty, Wb = Object.defineProperties;
|
|
|
2
2
|
var Ub = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ta = Object.getOwnPropertySymbols;
|
|
4
4
|
var Au = Object.prototype.hasOwnProperty, yu = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var gi = Math.pow, uc = (n, t, e) => t in n ? Gb(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, _ = (n, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
Au.call(t, e) && uc(n, e, t[e]);
|
|
8
8
|
if (Ta)
|
|
@@ -43,7 +43,7 @@ import { LineGeometry as kA, LineMaterial as xA, THREE_Line2 as SA, Line as D0 }
|
|
|
43
43
|
import { GLTFLoader as DA } from "@realsee/five/gltf-loader";
|
|
44
44
|
function TA() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.78.0-alpha.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.78.0-alpha.4",
|
|
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",
|
|
@@ -1237,7 +1237,7 @@ function mc(n, t, e) {
|
|
|
1237
1237
|
topPx: (-s + 1) / 2 * e.y
|
|
1238
1238
|
};
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1240
|
+
function Si(n) {
|
|
1241
1241
|
var e;
|
|
1242
1242
|
return ((e = n.models) == null ? void 0 : e.filter((i) => i.name === n.state.workCode)[0]) || n.model;
|
|
1243
1243
|
}
|
|
@@ -1248,7 +1248,7 @@ class O0 extends St {
|
|
|
1248
1248
|
this.five = e;
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
|
-
const
|
|
1251
|
+
const ai = (n, t) => {
|
|
1252
1252
|
if (!t)
|
|
1253
1253
|
return n;
|
|
1254
1254
|
const e = new A.Vector3(), i = new A.Quaternion(), s = new A.Vector3();
|
|
@@ -1306,7 +1306,7 @@ class ey extends O0 {
|
|
|
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 ai(i, this.transform);
|
|
1310
1310
|
}
|
|
1311
1311
|
/**
|
|
1312
1312
|
* @description 获取全景点位和模型的地面坐标
|
|
@@ -1315,7 +1315,7 @@ class ey extends O0 {
|
|
|
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 ai(i, this.transform);
|
|
1319
1319
|
}
|
|
1320
1320
|
/**
|
|
1321
1321
|
* @description 获取observer
|
|
@@ -1337,7 +1337,7 @@ class Bl extends O0 {
|
|
|
1337
1337
|
return Number(this.version.split(".")[0]);
|
|
1338
1338
|
}
|
|
1339
1339
|
get model() {
|
|
1340
|
-
return
|
|
1340
|
+
return Si(this.five);
|
|
1341
1341
|
}
|
|
1342
1342
|
moveToPano(e, i) {
|
|
1343
1343
|
const s = this.majorVersion === 5 ? e : {
|
|
@@ -1496,7 +1496,7 @@ class pa {
|
|
|
1496
1496
|
this.fiveUtil.workUtil.fromType === "poincare" && (e = 0.05);
|
|
1497
1497
|
const i = this.transformedPosition.clone().sub(this.five.camera.position).normalize();
|
|
1498
1498
|
jn.set(this.five.camera.position, i);
|
|
1499
|
-
const s = (l =
|
|
1499
|
+
const s = (l = Si(this.five).intersectRaycaster(jn)) != null ? l : [], o = (c = jn.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;
|
|
@@ -1532,7 +1532,7 @@ class pa {
|
|
|
1532
1532
|
enable() {
|
|
1533
1533
|
return te(this, null, function* () {
|
|
1534
1534
|
var i, s, o, r;
|
|
1535
|
-
if (this.enabled || (this.enabled = !0, yield
|
|
1535
|
+
if (this.enabled || (this.enabled = !0, yield Di(this.five), !this.enabled))
|
|
1536
1536
|
return;
|
|
1537
1537
|
if (this.wrapper = (s = this.config.wrapper) != null ? s : (i = this.five.getElement()) == null ? void 0 : i.parentElement, !this.wrapper) {
|
|
1538
1538
|
console.error("lighttag: wrapper is required");
|
|
@@ -1625,7 +1625,7 @@ function j0(...n) {
|
|
|
1625
1625
|
function ds(n) {
|
|
1626
1626
|
return n.toLowerCase().includes("panorama");
|
|
1627
1627
|
}
|
|
1628
|
-
function
|
|
1628
|
+
function ki(n) {
|
|
1629
1629
|
return !ds(n);
|
|
1630
1630
|
}
|
|
1631
1631
|
var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Zr = {}, iy = {
|
|
@@ -1796,7 +1796,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1796
1796
|
};
|
|
1797
1797
|
function tt(F) {
|
|
1798
1798
|
var U, Z = F.options.inputClass;
|
|
1799
|
-
return Z ? U = Z : K ? U = bn : oe ? U = Yn : ie ? U = yn : U =
|
|
1799
|
+
return Z ? U = Z : K ? U = bn : oe ? U = Yn : ie ? U = yn : U = zi, new U(F, at);
|
|
1800
1800
|
}
|
|
1801
1801
|
function at(F, U, Z) {
|
|
1802
1802
|
var ne = Z.pointers.length, Ae = Z.changedPointers.length, ze = U & de && ne - Ae === 0, Qe = U & (Se | ee) && ne - Ae === 0;
|
|
@@ -1805,9 +1805,9 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1805
1805
|
function ct(F, U) {
|
|
1806
1806
|
var Z = F.session, ne = U.pointers, Ae = ne.length;
|
|
1807
1807
|
Z.firstInput || (Z.firstInput = Xt(U)), Ae > 1 && !Z.firstMultiple ? Z.firstMultiple = Xt(U) : Ae === 1 && (Z.firstMultiple = !1);
|
|
1808
|
-
var ze = Z.firstInput, Qe = Z.firstMultiple, Ct = Qe ? Qe.center : ze.center, xt = U.center =
|
|
1808
|
+
var ze = Z.firstInput, Qe = Z.firstMultiple, Ct = Qe ? Qe.center : ze.center, xt = U.center = ui(ne);
|
|
1809
1809
|
U.timeStamp = h(), U.deltaTime = U.timeStamp - ze.timeStamp, U.angle = Zt(Ct, xt), U.distance = Yt(Ct, xt), Vt(Z, U), U.offsetDirection = ht(U.deltaX, U.deltaY);
|
|
1810
|
-
var Rt =
|
|
1810
|
+
var Rt = Pi(U.deltaTime, U.deltaX, U.deltaY);
|
|
1811
1811
|
U.overallVelocityX = Rt.x, U.overallVelocityY = Rt.y, U.overallVelocity = c(Rt.x) > c(Rt.y) ? Rt.x : Rt.y, U.scale = Qe ? Is(Qe.pointers, ne) : 1, U.rotation = Qe ? ur(Qe.pointers, ne) : 0, U.maxPointers = Z.prevInput ? U.pointers.length > Z.prevInput.maxPointers ? U.pointers.length : Z.prevInput.maxPointers : U.pointers.length, Ji(Z, U);
|
|
1812
1812
|
var si = F.element;
|
|
1813
1813
|
T(U.srcEvent.target, si) && (si = U.srcEvent.target), U.target = si;
|
|
@@ -1825,7 +1825,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1825
1825
|
function Ji(F, U) {
|
|
1826
1826
|
var Z = F.lastInterval || U, ne = U.timeStamp - Z.timeStamp, Ae, ze, Qe, Ct;
|
|
1827
1827
|
if (U.eventType != ee && (ne > Me || Z.velocity === s)) {
|
|
1828
|
-
var xt = U.deltaX - Z.deltaX, Rt = U.deltaY - Z.deltaY, si =
|
|
1828
|
+
var xt = U.deltaX - Z.deltaX, Rt = U.deltaY - Z.deltaY, si = Pi(ne, xt, Rt);
|
|
1829
1829
|
ze = si.x, Qe = si.y, Ae = c(si.x) > c(si.y) ? si.x : si.y, Ct = ht(xt, Rt), F.lastInterval = U;
|
|
1830
1830
|
} else
|
|
1831
1831
|
Ae = Z.velocity, ze = Z.velocityX, Qe = Z.velocityY, Ct = Z.direction;
|
|
@@ -1840,12 +1840,12 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1840
1840
|
return {
|
|
1841
1841
|
timeStamp: h(),
|
|
1842
1842
|
pointers: U,
|
|
1843
|
-
center:
|
|
1843
|
+
center: ui(U),
|
|
1844
1844
|
deltaX: F.deltaX,
|
|
1845
1845
|
deltaY: F.deltaY
|
|
1846
1846
|
};
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1848
|
+
function ui(F) {
|
|
1849
1849
|
var U = F.length;
|
|
1850
1850
|
if (U === 1)
|
|
1851
1851
|
return {
|
|
@@ -1859,7 +1859,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1859
1859
|
y: l(ne / U)
|
|
1860
1860
|
};
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1862
|
+
function Pi(F, U, Z) {
|
|
1863
1863
|
return {
|
|
1864
1864
|
x: U / F || 0,
|
|
1865
1865
|
y: Z / F || 0
|
|
@@ -1889,10 +1889,10 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1889
1889
|
mousemove: le,
|
|
1890
1890
|
mouseup: Se
|
|
1891
1891
|
}, oo = "mousedown", Wn = "mousemove mouseup";
|
|
1892
|
-
function
|
|
1892
|
+
function zi() {
|
|
1893
1893
|
this.evEl = oo, this.evWin = Wn, this.pressed = !1, $e.apply(this, arguments);
|
|
1894
1894
|
}
|
|
1895
|
-
w(
|
|
1895
|
+
w(zi, $e, {
|
|
1896
1896
|
/**
|
|
1897
1897
|
* handle mouse events
|
|
1898
1898
|
* @param {Object} ev
|
|
@@ -1907,7 +1907,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1907
1907
|
}));
|
|
1908
1908
|
}
|
|
1909
1909
|
});
|
|
1910
|
-
var
|
|
1910
|
+
var Ci = {
|
|
1911
1911
|
pointerdown: de,
|
|
1912
1912
|
pointermove: le,
|
|
1913
1913
|
pointerup: Se,
|
|
@@ -1930,7 +1930,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1930
1930
|
* @param {Object} ev
|
|
1931
1931
|
*/
|
|
1932
1932
|
handler: function(U) {
|
|
1933
|
-
var Z = this.store, ne = !1, Ae = U.type.toLowerCase().replace("ms", ""), ze =
|
|
1933
|
+
var Z = this.store, ne = !1, Ae = U.type.toLowerCase().replace("ms", ""), ze = Ci[Ae], Qe = Un[U.pointerType] || U.pointerType, Ct = Qe == $, xt = E(Z, U.pointerId, "pointerId");
|
|
1934
1934
|
ze & de && (U.button === 0 || Ct) ? xt < 0 && (Z.push(U), xt = Z.length - 1) : ze & (Se | ee) && (ne = !0), !(xt < 0) && (Z[xt] = U, this.callback(this.manager, ze, {
|
|
1935
1935
|
pointers: Z,
|
|
1936
1936
|
changedPointers: [U],
|
|
@@ -2009,7 +2009,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2009
2009
|
function yn() {
|
|
2010
2010
|
$e.apply(this, arguments);
|
|
2011
2011
|
var F = I(this.handler, this);
|
|
2012
|
-
this.touch = new Yn(this.manager, F), this.mouse = new
|
|
2012
|
+
this.touch = new Yn(this.manager, F), this.mouse = new zi(this.manager, F), this.primaryTouch = null, this.lastTouches = [];
|
|
2013
2013
|
}
|
|
2014
2014
|
w(yn, $e, {
|
|
2015
2015
|
/**
|
|
@@ -2127,7 +2127,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2127
2127
|
F[Z] = U ? t.CSS.supports("touch-action", Z) : !0;
|
|
2128
2128
|
}), F;
|
|
2129
2129
|
}
|
|
2130
|
-
var qn = 1, qt = 2, en = 4, ti = 8,
|
|
2130
|
+
var qn = 1, qt = 2, en = 4, ti = 8, fi = ti, Oi = 16, kt = 32;
|
|
2131
2131
|
function ii(F) {
|
|
2132
2132
|
this.options = m({}, this.defaults, F || {}), this.id = N(), this.manager = null, this.options.enable = L(this.options.enable, !0), this.state = qn, this.simultaneous = {}, this.requireFail = [];
|
|
2133
2133
|
}
|
|
@@ -2247,7 +2247,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2247
2247
|
this.reset(), this.state = kt;
|
|
2248
2248
|
return;
|
|
2249
2249
|
}
|
|
2250
|
-
this.state & (
|
|
2250
|
+
this.state & (fi | Oi | kt) && (this.state = qn), this.state = this.process(U), this.state & (qt | en | ti | Oi) && this.tryEmit(U);
|
|
2251
2251
|
},
|
|
2252
2252
|
/**
|
|
2253
2253
|
* return the state of the recognizer
|
|
@@ -2275,7 +2275,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2275
2275
|
}
|
|
2276
2276
|
};
|
|
2277
2277
|
function uo(F) {
|
|
2278
|
-
return F &
|
|
2278
|
+
return F & Oi ? "cancel" : F & ti ? "end" : F & en ? "move" : F & qt ? "start" : "";
|
|
2279
2279
|
}
|
|
2280
2280
|
function fo(F) {
|
|
2281
2281
|
return F == ve ? "down" : F == Fe ? "up" : F == _e ? "left" : F == be ? "right" : "";
|
|
@@ -2317,7 +2317,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2317
2317
|
*/
|
|
2318
2318
|
process: function(F) {
|
|
2319
2319
|
var U = this.state, Z = F.eventType, ne = U & (qt | en), Ae = this.attrTest(F);
|
|
2320
|
-
return ne && (Z & ee || !Ae) ? U |
|
|
2320
|
+
return ne && (Z & ee || !Ae) ? U | Oi : ne || Ae ? Z & Se ? U | ti : U & qt ? U | en : qt : kt;
|
|
2321
2321
|
}
|
|
2322
2322
|
});
|
|
2323
2323
|
function Kn() {
|
|
@@ -2403,17 +2403,17 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2403
2403
|
this.reset();
|
|
2404
2404
|
else if (F.eventType & de)
|
|
2405
2405
|
this.reset(), this._timer = d(function() {
|
|
2406
|
-
this.state =
|
|
2406
|
+
this.state = fi, this.tryEmit();
|
|
2407
2407
|
}, U.time, this);
|
|
2408
2408
|
else if (F.eventType & Se)
|
|
2409
|
-
return
|
|
2409
|
+
return fi;
|
|
2410
2410
|
return kt;
|
|
2411
2411
|
},
|
|
2412
2412
|
reset: function() {
|
|
2413
2413
|
clearTimeout(this._timer);
|
|
2414
2414
|
},
|
|
2415
2415
|
emit: function(F) {
|
|
2416
|
-
this.state ===
|
|
2416
|
+
this.state === fi && (F && F.eventType & Se ? this.manager.emit(this.options.event + "up", F) : (this._input.timeStamp = h(), this.manager.emit(this.options.event, this._input)));
|
|
2417
2417
|
}
|
|
2418
2418
|
});
|
|
2419
2419
|
function Gi() {
|
|
@@ -2499,8 +2499,8 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2499
2499
|
var Ct = this.count % U.taps;
|
|
2500
2500
|
if (Ct === 0)
|
|
2501
2501
|
return this.hasRequireFailures() ? (this._timer = d(function() {
|
|
2502
|
-
this.state =
|
|
2503
|
-
}, U.interval, this), qt) :
|
|
2502
|
+
this.state = fi, this.tryEmit();
|
|
2503
|
+
}, U.interval, this), qt) : fi;
|
|
2504
2504
|
}
|
|
2505
2505
|
return kt;
|
|
2506
2506
|
},
|
|
@@ -2513,13 +2513,13 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2513
2513
|
clearTimeout(this._timer);
|
|
2514
2514
|
},
|
|
2515
2515
|
emit: function() {
|
|
2516
|
-
this.state ==
|
|
2516
|
+
this.state == fi && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input));
|
|
2517
2517
|
}
|
|
2518
2518
|
});
|
|
2519
|
-
function
|
|
2520
|
-
return U = U || {}, U.recognizers = L(U.recognizers,
|
|
2519
|
+
function Ii(F, U) {
|
|
2520
|
+
return U = U || {}, U.recognizers = L(U.recognizers, Ii.defaults.preset), new Ss(F, U);
|
|
2521
2521
|
}
|
|
2522
|
-
|
|
2522
|
+
Ii.VERSION = "2.0.7", Ii.defaults = {
|
|
2523
2523
|
/**
|
|
2524
2524
|
* set if DOM events are being triggered.
|
|
2525
2525
|
* But this is slower and unused by simple implementations, so disabled by default.
|
|
@@ -2617,7 +2617,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2617
2617
|
};
|
|
2618
2618
|
var br = 1, po = 2;
|
|
2619
2619
|
function Ss(F, U) {
|
|
2620
|
-
this.options = m({},
|
|
2620
|
+
this.options = m({}, Ii.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || F, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = F, this.input = tt(this), this.touchAction = new Ft(this, this.options.touchAction), es(this, !0), p(this.options.recognizers, function(Z) {
|
|
2621
2621
|
var ne = this.add(new Z[0](Z[1]));
|
|
2622
2622
|
Z[2] && ne.recognizeWith(Z[2]), Z[3] && ne.requireFailure(Z[3]);
|
|
2623
2623
|
}, this);
|
|
@@ -2651,7 +2651,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2651
2651
|
if (!U.stopped) {
|
|
2652
2652
|
this.touchAction.preventDefaults(F);
|
|
2653
2653
|
var Z, ne = this.recognizers, Ae = U.curRecognizer;
|
|
2654
|
-
(!Ae || Ae && Ae.state &
|
|
2654
|
+
(!Ae || Ae && Ae.state & fi) && (Ae = U.curRecognizer = null);
|
|
2655
2655
|
for (var ze = 0; ze < ne.length; )
|
|
2656
2656
|
Z = ne[ze], U.stopped !== po && // 1
|
|
2657
2657
|
(!Ae || Z == Ae || // 2
|
|
@@ -2762,7 +2762,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2762
2762
|
var Z = e.createEvent("Event");
|
|
2763
2763
|
Z.initEvent(F, !0, !0), Z.gesture = U, U.target.dispatchEvent(Z);
|
|
2764
2764
|
}
|
|
2765
|
-
m(
|
|
2765
|
+
m(Ii, {
|
|
2766
2766
|
INPUT_START: de,
|
|
2767
2767
|
INPUT_MOVE: le,
|
|
2768
2768
|
INPUT_END: Se,
|
|
@@ -2771,8 +2771,8 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2771
2771
|
STATE_BEGAN: qt,
|
|
2772
2772
|
STATE_CHANGED: en,
|
|
2773
2773
|
STATE_ENDED: ti,
|
|
2774
|
-
STATE_RECOGNIZED:
|
|
2775
|
-
STATE_CANCELLED:
|
|
2774
|
+
STATE_RECOGNIZED: fi,
|
|
2775
|
+
STATE_CANCELLED: Oi,
|
|
2776
2776
|
STATE_FAILED: kt,
|
|
2777
2777
|
DIRECTION_NONE: Te,
|
|
2778
2778
|
DIRECTION_LEFT: _e,
|
|
@@ -2786,7 +2786,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2786
2786
|
Input: $e,
|
|
2787
2787
|
TouchAction: Ft,
|
|
2788
2788
|
TouchInput: Yn,
|
|
2789
|
-
MouseInput:
|
|
2789
|
+
MouseInput: zi,
|
|
2790
2790
|
PointerEventInput: bn,
|
|
2791
2791
|
TouchMouseInput: yn,
|
|
2792
2792
|
SingleTouchInput: Xn,
|
|
@@ -2809,9 +2809,9 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2809
2809
|
prefixed: D
|
|
2810
2810
|
});
|
|
2811
2811
|
var yr = typeof t != "undefined" ? t : typeof self != "undefined" ? self : {};
|
|
2812
|
-
yr.Hammer =
|
|
2813
|
-
return
|
|
2814
|
-
}) : n.exports ? n.exports =
|
|
2812
|
+
yr.Hammer = Ii, typeof s == "function" && s.amd ? s(function() {
|
|
2813
|
+
return Ii;
|
|
2814
|
+
}) : n.exports ? n.exports = Ii : t[i] = Ii;
|
|
2815
2815
|
})(window, document, "Hammer");
|
|
2816
2816
|
})(iy);
|
|
2817
2817
|
class Zh {
|
|
@@ -3233,14 +3233,14 @@ class cl extends oy {
|
|
|
3233
3233
|
this.stopRender(), (e = this.resizeDisoper) == null || e.call(this), this.domElementWrapper.remove();
|
|
3234
3234
|
}
|
|
3235
3235
|
}
|
|
3236
|
-
function
|
|
3236
|
+
function Di(n) {
|
|
3237
3237
|
return te(this, null, function* () {
|
|
3238
3238
|
return new Promise((t) => {
|
|
3239
3239
|
if (_0(n))
|
|
3240
3240
|
t();
|
|
3241
3241
|
else {
|
|
3242
3242
|
const e = (i) => {
|
|
3243
|
-
const s =
|
|
3243
|
+
const s = Si(n);
|
|
3244
3244
|
i === s && (n.off("modelLoaded", e), t());
|
|
3245
3245
|
};
|
|
3246
3246
|
n.on("modelLoaded", e);
|
|
@@ -3250,7 +3250,7 @@ function Si(n) {
|
|
|
3250
3250
|
}
|
|
3251
3251
|
function _0(n) {
|
|
3252
3252
|
var t;
|
|
3253
|
-
return (t =
|
|
3253
|
+
return (t = Si(n)) == null ? void 0 : t.loaded;
|
|
3254
3254
|
}
|
|
3255
3255
|
const Ui = document.createElement("div");
|
|
3256
3256
|
Ui.classList.add("behindFiveElement");
|
|
@@ -3332,7 +3332,7 @@ function ga(n) {
|
|
|
3332
3332
|
const t = new cl("front");
|
|
3333
3333
|
t.domElementWrapper.style.zIndex = "1";
|
|
3334
3334
|
const e = new cl("behind");
|
|
3335
|
-
|
|
3335
|
+
Di(n).then(() => {
|
|
3336
3336
|
var a;
|
|
3337
3337
|
const o = (a = n.getElement()) == null ? void 0 : a.parentElement, r = qh(n);
|
|
3338
3338
|
if (!o)
|
|
@@ -3347,7 +3347,7 @@ function ga(n) {
|
|
|
3347
3347
|
return Er = [n, t, i], i;
|
|
3348
3348
|
}
|
|
3349
3349
|
const py = 16777215, gy = 16777215, my = 1, vy = 0.4, Jh = 0.6;
|
|
3350
|
-
class
|
|
3350
|
+
class wi extends zo {
|
|
3351
3351
|
constructor() {
|
|
3352
3352
|
super();
|
|
3353
3353
|
f(this, "name", "IObject3D");
|
|
@@ -3482,7 +3482,7 @@ class $a extends kA {
|
|
|
3482
3482
|
};
|
|
3483
3483
|
}
|
|
3484
3484
|
}
|
|
3485
|
-
function
|
|
3485
|
+
function yi(n) {
|
|
3486
3486
|
return !Ge(n);
|
|
3487
3487
|
}
|
|
3488
3488
|
function Ge(n) {
|
|
@@ -3901,7 +3901,7 @@ const rs = class {
|
|
|
3901
3901
|
};
|
|
3902
3902
|
let $t = rs;
|
|
3903
3903
|
f($t, "cacheObject", /* @__PURE__ */ new Set()), f($t, "checkDomEveryFrameIsRunning", !1);
|
|
3904
|
-
class
|
|
3904
|
+
class Ti extends wi {
|
|
3905
3905
|
constructor(e) {
|
|
3906
3906
|
var r, a, l, c;
|
|
3907
3907
|
super();
|
|
@@ -4196,7 +4196,7 @@ function Ey() {
|
|
|
4196
4196
|
lineColor: 3407837,
|
|
4197
4197
|
lineOpacity: 0.7,
|
|
4198
4198
|
occlusionVisibility: !0
|
|
4199
|
-
}, i = new
|
|
4199
|
+
}, i = new Ti(he(_({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Ti(he(_({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
|
|
4200
4200
|
return t.add(i, s), t;
|
|
4201
4201
|
}
|
|
4202
4202
|
function My(n) {
|
|
@@ -4337,7 +4337,7 @@ function G0(n, t = 3) {
|
|
|
4337
4337
|
};
|
|
4338
4338
|
}
|
|
4339
4339
|
function Ly(n, t) {
|
|
4340
|
-
const s =
|
|
4340
|
+
const s = Si(n).intersectRaycaster(t)[0];
|
|
4341
4341
|
if (s)
|
|
4342
4342
|
return he(_({}, s), { raycaster: t, isVirtual: !1 });
|
|
4343
4343
|
}
|
|
@@ -4740,7 +4740,7 @@ const $h = (n) => n ? n.visible === !1 ? !1 : $h(n.parent) : !0, Q0 = 1, Ru = `C
|
|
|
4740
4740
|
let X0 = class extends Vn {
|
|
4741
4741
|
constructor(e) {
|
|
4742
4742
|
var L, S, j, T, O;
|
|
4743
|
-
if (
|
|
4743
|
+
if (yi(e.cornerPoints) && yi(e.width))
|
|
4744
4744
|
throw new Error("cornerPoints and width cannot be both empty");
|
|
4745
4745
|
const i = (L = e.container) != null ? L : document.createElement("div"), s = (S = e.cornerPoints) != null ? S : (() => {
|
|
4746
4746
|
const y = e.width / 2;
|
|
@@ -6284,7 +6284,7 @@ function xw() {
|
|
|
6284
6284
|
Bn.clear();
|
|
6285
6285
|
}
|
|
6286
6286
|
function Sw(n, t) {
|
|
6287
|
-
const e =
|
|
6287
|
+
const e = Si(n), { x: i, y: s } = t, o = i * 2 - 1, r = s * 2 - 1, a = new A.Raycaster();
|
|
6288
6288
|
a.setFromCamera({ x: o, y: r }, n.camera);
|
|
6289
6289
|
const c = e.intersectRaycaster(a)[0];
|
|
6290
6290
|
if (c)
|
|
@@ -6719,7 +6719,7 @@ let Vw = class extends Kr {
|
|
|
6719
6719
|
return console.error(`${Gu}: wrapper is ${h}; mode is ${r.css3DObject.mode}`);
|
|
6720
6720
|
r.appendToElement(h), r.render(), this.created3DElementResults.push(r);
|
|
6721
6721
|
}, c = () => {
|
|
6722
|
-
|
|
6722
|
+
Di(this.five).then(() => l());
|
|
6723
6723
|
};
|
|
6724
6724
|
return o && c(), he(_({}, r), { render: o ? void 0 : c });
|
|
6725
6725
|
});
|
|
@@ -7178,7 +7178,7 @@ Ql.flatten = function(n) {
|
|
|
7178
7178
|
}
|
|
7179
7179
|
return e;
|
|
7180
7180
|
};
|
|
7181
|
-
function
|
|
7181
|
+
function Ai(n) {
|
|
7182
7182
|
if (n.length < 3) {
|
|
7183
7183
|
console.error("points.length < 3");
|
|
7184
7184
|
return;
|
|
@@ -7189,7 +7189,7 @@ function bi(n) {
|
|
|
7189
7189
|
function Sv(n) {
|
|
7190
7190
|
if (n.length < 3)
|
|
7191
7191
|
return [];
|
|
7192
|
-
const t =
|
|
7192
|
+
const t = Ai(n), e = new A.Quaternion().setFromUnitVectors(t, new A.Vector3(0, 1, 0)), s = n.map((r) => r.clone().applyQuaternion(e)).flatMap((r) => [r.x, r.z]);
|
|
7193
7193
|
return pl(s);
|
|
7194
7194
|
}
|
|
7195
7195
|
function dh(n, t) {
|
|
@@ -7543,7 +7543,7 @@ class Wo {
|
|
|
7543
7543
|
return [...new Set([this.boundObject.dragend, this.boundObject.drag, this.boundObject.dragstart].flat())].filter(Boolean);
|
|
7544
7544
|
}
|
|
7545
7545
|
get model() {
|
|
7546
|
-
return
|
|
7546
|
+
return Si(this.five);
|
|
7547
7547
|
}
|
|
7548
7548
|
/**
|
|
7549
7549
|
* @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
|
|
@@ -8010,7 +8010,7 @@ function Qu() {
|
|
|
8010
8010
|
function ut(n) {
|
|
8011
8011
|
n.forEach(zv);
|
|
8012
8012
|
}
|
|
8013
|
-
function
|
|
8013
|
+
function li(n) {
|
|
8014
8014
|
return typeof n == "function";
|
|
8015
8015
|
}
|
|
8016
8016
|
function ye(n, t) {
|
|
@@ -8065,8 +8065,8 @@ function vs(n) {
|
|
|
8065
8065
|
function It(n) {
|
|
8066
8066
|
return n == null ? "" : n;
|
|
8067
8067
|
}
|
|
8068
|
-
function
|
|
8069
|
-
return n &&
|
|
8068
|
+
function ci(n) {
|
|
8069
|
+
return n && li(n.destroy) ? n.destroy : se;
|
|
8070
8070
|
}
|
|
8071
8071
|
function Xu(n) {
|
|
8072
8072
|
const t = typeof n == "string" && n.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
|
|
@@ -8120,7 +8120,7 @@ function X(n, t, e) {
|
|
|
8120
8120
|
function Q(n) {
|
|
8121
8121
|
n.parentNode && n.parentNode.removeChild(n);
|
|
8122
8122
|
}
|
|
8123
|
-
function
|
|
8123
|
+
function Li(n, t) {
|
|
8124
8124
|
for (let e = 0; e < n.length; e += 1)
|
|
8125
8125
|
n[e] && n[e].d(t);
|
|
8126
8126
|
}
|
|
@@ -8417,7 +8417,7 @@ function ws(n, t, e) {
|
|
|
8417
8417
|
let d = !1;
|
|
8418
8418
|
return {
|
|
8419
8419
|
start() {
|
|
8420
|
-
d || (d = !0, Al(n),
|
|
8420
|
+
d || (d = !0, Al(n), li(s) ? (s = s(i), Dd().then(h)) : h());
|
|
8421
8421
|
},
|
|
8422
8422
|
invalidate() {
|
|
8423
8423
|
d = !1;
|
|
@@ -8448,7 +8448,7 @@ function rr(n, t, e) {
|
|
|
8448
8448
|
return o;
|
|
8449
8449
|
});
|
|
8450
8450
|
}
|
|
8451
|
-
return
|
|
8451
|
+
return li(s) ? Dd().then(() => {
|
|
8452
8452
|
s = s(i), l();
|
|
8453
8453
|
}) : l(), {
|
|
8454
8454
|
end(c) {
|
|
@@ -8493,7 +8493,7 @@ function Vi(n, t, e, i) {
|
|
|
8493
8493
|
}
|
|
8494
8494
|
return {
|
|
8495
8495
|
run(p) {
|
|
8496
|
-
|
|
8496
|
+
li(o) ? Dd().then(() => {
|
|
8497
8497
|
o = o(s), u(p);
|
|
8498
8498
|
}) : u(p);
|
|
8499
8499
|
},
|
|
@@ -8546,7 +8546,7 @@ function mn(n, t) {
|
|
|
8546
8546
|
t.delete(n.key);
|
|
8547
8547
|
});
|
|
8548
8548
|
}
|
|
8549
|
-
function
|
|
8549
|
+
function di(n, t, e, i, s, o, r, a, l, c, h, d) {
|
|
8550
8550
|
let u = n.length, p = o.length, g = u;
|
|
8551
8551
|
const m = {};
|
|
8552
8552
|
for (; g--; )
|
|
@@ -8605,7 +8605,7 @@ function me(n) {
|
|
|
8605
8605
|
function pe(n, t, e, i) {
|
|
8606
8606
|
const { fragment: s, after_update: o } = n.$$;
|
|
8607
8607
|
s && s.m(t, e), i || Pt(() => {
|
|
8608
|
-
const r = n.$$.on_mount.map(zv).filter(
|
|
8608
|
+
const r = n.$$.on_mount.map(zv).filter(li);
|
|
8609
8609
|
n.$$.on_destroy ? n.$$.on_destroy.push(...r) : ut(r), n.$$.on_mount = [];
|
|
8610
8610
|
}), o.forEach(Pt);
|
|
8611
8611
|
}
|
|
@@ -8660,7 +8660,7 @@ class Pe {
|
|
|
8660
8660
|
ge(this, 1), this.$destroy = se;
|
|
8661
8661
|
}
|
|
8662
8662
|
$on(t, e) {
|
|
8663
|
-
if (!
|
|
8663
|
+
if (!li(e))
|
|
8664
8664
|
return se;
|
|
8665
8665
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
8666
8666
|
return i.push(e), () => {
|
|
@@ -9296,7 +9296,7 @@ function f3(n) {
|
|
|
9296
9296
|
for (let d = 0; d < e.length; d += 1)
|
|
9297
9297
|
e[d] && e[d].m(t, null);
|
|
9298
9298
|
s = !0, o || (r = [
|
|
9299
|
-
|
|
9299
|
+
ci(Fi.call(null, t)),
|
|
9300
9300
|
je(
|
|
9301
9301
|
t,
|
|
9302
9302
|
"clientWidth",
|
|
@@ -9314,7 +9314,7 @@ function f3(n) {
|
|
|
9314
9314
|
p(c, [h]) {
|
|
9315
9315
|
h & /*roomLabels, five, fontSize*/
|
|
9316
9316
|
19 && (a = /*roomLabels*/
|
|
9317
|
-
c[0], ke(), e =
|
|
9317
|
+
c[0], ke(), e = di(e, h, l, 1, c, a, i, t, mn, qu, null, Zu), xe());
|
|
9318
9318
|
},
|
|
9319
9319
|
i(c) {
|
|
9320
9320
|
if (!s) {
|
|
@@ -9878,7 +9878,7 @@ function $u(n) {
|
|
|
9878
9878
|
for (let d = 0; d < e.length; d += 1)
|
|
9879
9879
|
e[d] && e[d].m(t, null);
|
|
9880
9880
|
s = !0, o || (r = [
|
|
9881
|
-
|
|
9881
|
+
ci(Fi.call(null, t)),
|
|
9882
9882
|
je(
|
|
9883
9883
|
t,
|
|
9884
9884
|
"clientWidth",
|
|
@@ -9890,7 +9890,7 @@ function $u(n) {
|
|
|
9890
9890
|
p(c, h) {
|
|
9891
9891
|
h & /*items*/
|
|
9892
9892
|
2 && (a = /*items*/
|
|
9893
|
-
c[1], ke(), e =
|
|
9893
|
+
c[1], ke(), e = di(e, h, l, 1, c, a, i, t, mn, ef, null, Ku), xe());
|
|
9894
9894
|
},
|
|
9895
9895
|
i(c) {
|
|
9896
9896
|
if (!s) {
|
|
@@ -10048,7 +10048,7 @@ function H3(n) {
|
|
|
10048
10048
|
},
|
|
10049
10049
|
m(h, d) {
|
|
10050
10050
|
X(h, t, d), a && a.m(t, null), B(t, e), l && l.m(t, null), X(h, i, d), c && c.m(h, d), X(h, s, d), o || (r = [
|
|
10051
|
-
|
|
10051
|
+
ci(Fi.call(null, t)),
|
|
10052
10052
|
je(
|
|
10053
10053
|
t,
|
|
10054
10054
|
"clientWidth",
|
|
@@ -10266,7 +10266,7 @@ function N3(n) {
|
|
|
10266
10266
|
},
|
|
10267
10267
|
m(a, l) {
|
|
10268
10268
|
X(a, t, l), r && r.m(t, null), e || (i = [
|
|
10269
|
-
|
|
10269
|
+
ci(Fi.call(null, t)),
|
|
10270
10270
|
je(
|
|
10271
10271
|
t,
|
|
10272
10272
|
"clientWidth",
|
|
@@ -10477,7 +10477,7 @@ function rf(n) {
|
|
|
10477
10477
|
for (let d = 0; d < e.length; d += 1)
|
|
10478
10478
|
e[d] && e[d].m(t, null);
|
|
10479
10479
|
s = !0, o || (r = [
|
|
10480
|
-
|
|
10480
|
+
ci(Fi.call(null, t)),
|
|
10481
10481
|
je(
|
|
10482
10482
|
t,
|
|
10483
10483
|
"clientWidth",
|
|
@@ -10489,7 +10489,7 @@ function rf(n) {
|
|
|
10489
10489
|
p(c, h) {
|
|
10490
10490
|
h & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomNameOtherTypeEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable, fontSize*/
|
|
10491
10491
|
7679 && (a = /*rooms*/
|
|
10492
|
-
c[12], ke(), e =
|
|
10492
|
+
c[12], ke(), e = di(e, h, l, 1, c, a, i, t, mn, af, null, of), xe());
|
|
10493
10493
|
},
|
|
10494
10494
|
i(c) {
|
|
10495
10495
|
if (!s) {
|
|
@@ -10889,7 +10889,7 @@ function J3(n) {
|
|
|
10889
10889
|
}
|
|
10890
10890
|
m & /*rulerTexts, isRow, getRuleDistanceText*/
|
|
10891
10891
|
22 && (u = /*rulerTexts*/
|
|
10892
|
-
g[4], a =
|
|
10892
|
+
g[4], a = di(a, m, p, 1, g, u, l, r, Aa, df, null, lf)), m & /*type*/
|
|
10893
10893
|
1 && c !== (c = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/
|
|
10894
10894
|
g[0] + " svelte-1fuyezq") && P(t, "class", c), m & /*type, isRow*/
|
|
10895
10895
|
5 && Ce(
|
|
@@ -10902,7 +10902,7 @@ function J3(n) {
|
|
|
10902
10902
|
i: se,
|
|
10903
10903
|
o: se,
|
|
10904
10904
|
d(g) {
|
|
10905
|
-
g && Q(t),
|
|
10905
|
+
g && Q(t), Li(d, g);
|
|
10906
10906
|
for (let m = 0; m < a.length; m += 1)
|
|
10907
10907
|
a[m].d();
|
|
10908
10908
|
}
|
|
@@ -11058,7 +11058,7 @@ function tP(n) {
|
|
|
11058
11058
|
p(a, [l]) {
|
|
11059
11059
|
l & /*ruleLabelArray, bounding, getRuleDistanceText*/
|
|
11060
11060
|
19 && (o = /*ruleLabelArray*/
|
|
11061
|
-
a[4], ke(), e =
|
|
11061
|
+
a[4], ke(), e = di(e, l, r, 1, a, o, i, t, mn, ff, null, uf), xe()), l & /*width*/
|
|
11062
11062
|
8 && R(
|
|
11063
11063
|
t,
|
|
11064
11064
|
"width",
|
|
@@ -11693,7 +11693,7 @@ function CP(n) {
|
|
|
11693
11693
|
e = !1;
|
|
11694
11694
|
},
|
|
11695
11695
|
d(r) {
|
|
11696
|
-
r && Q(t),
|
|
11696
|
+
r && Q(t), Li(s, r);
|
|
11697
11697
|
}
|
|
11698
11698
|
};
|
|
11699
11699
|
}
|
|
@@ -11964,7 +11964,7 @@ function TP(n) {
|
|
|
11964
11964
|
l[1].floorDatas[
|
|
11965
11965
|
/*floorIndex*/
|
|
11966
11966
|
l[0]
|
|
11967
|
-
].rooms, ke(), i =
|
|
11967
|
+
].rooms, ke(), i = di(i, c, a, 1, l, r, s, e, mn, yf, null, Af), xe());
|
|
11968
11968
|
},
|
|
11969
11969
|
i(l) {
|
|
11970
11970
|
if (!o) {
|
|
@@ -12113,7 +12113,7 @@ class Jv extends Pe {
|
|
|
12113
12113
|
}
|
|
12114
12114
|
}
|
|
12115
12115
|
const fn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAMAAAANf8AYAAAC2VBMVEUAAACCnP+Dn/+Enf+HqP+Gp/+Fof+Gpf+IrP+Lsf+Dof+Cmv+Lsv+Mtf+Eo/+Bmf+JrP+Hqf+Env+Krv+Fo/+Pu/+Ms/+Qvv+Hqf+RwP+KsP+Fpf+Mtv+Gov+Bnf+Qv/+Nt/+Krv+Ho/+Rwf+Ouv+Emv+Amv+SxP+Sw/+NuP+Mtf/G0f6huP+Ot/+JrP+Jqv+Dnv+crf6Uqv////+QvP+PvP+Ms//J0/3p9/+Ux/+Ouf+Krf+Iqf+Fpv+/zf6WsP+MpP+RqP+Uyf+Jy//V3P6Yuf+Qqf+Rqv/5/f+Sxf+Jy/////+Lx/+Ouf+Nw/+Owv+PwP+Jr/+Jq/+VvP+Vuv/c4v+Fnf+btP+InP+Blf/3+P6Txf+Jzf+Jyf+NxP+Qwf/t8/6Svv+Tvf/O1f7Czv3T2f6cu/+qvP7a4fvo7v77/v/o9//p9//0+v////+Vy//w9//k8/+B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4njdXqmINEc8QtN2cZgq9Vu5jPfkYMRGj4voIEZizZAuMF1lgfOU0yrvpOVcNgTGOfZFcSV376v/FNuFI6jDjiY5bWjbsRNrx9t+jOOWyH82dB5Jel2Cm4duRXCsh1Rz1uhRTejDYi+q5BvczgTPaqg+fkK9jL7h24rDeg77b6dowzfGcC3EbeVBthhtMAnUm9y+HDkZocLVPgYDDg/VHxbaYCd7jv/7ADATT4/ux/8m1z3rVUdmuCmqZsZ/vjWQuCIWwPyaxz/+yZxwHo+dIfcEcNxNNUDygM3gQmC/4E7446m57dQrUomx2dljj5yb+gtBMXRNgUm/HOO8xyfRpDOr23COtoefg5qB7S7OP4NxzbHQYLlLH/D5qvPQddvrSYC4EmOf8Lh2tFHMcN085l/ud/n4/botpuIfVxghnyA6u6FJzh8hOjhkywfpric7PEavv2B3xGj/BfhKBH4/zxuZrA4irJ8AAAAAElFTkSuQmCC";
|
|
12116
|
-
function
|
|
12116
|
+
function mi(n) {
|
|
12117
12117
|
return n * 180 / Math.PI;
|
|
12118
12118
|
}
|
|
12119
12119
|
function _P(n) {
|
|
@@ -12186,7 +12186,7 @@ function BP(n) {
|
|
|
12186
12186
|
}
|
|
12187
12187
|
function VP(n, t, e) {
|
|
12188
12188
|
let { panoIndex: i } = t, { floorplanData: s } = t, { lastPanoramaLongitude: o } = t, { cameraImageUrl: r } = t;
|
|
12189
|
-
const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, d = c * 100 + "%", u = h * 100 + "%", p = -
|
|
12189
|
+
const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, d = c * 100 + "%", u = h * 100 + "%", p = -mi(o) + 45, g = document.body.clientWidth, m = document.body.clientHeight, b = `${(g < 500 || m < 500 ? 17 : 37) / 16}rem`;
|
|
12190
12190
|
return n.$$set = (w) => {
|
|
12191
12191
|
"panoIndex" in w && e(5, i = w.panoIndex), "floorplanData" in w && e(6, s = w.floorplanData), "lastPanoramaLongitude" in w && e(7, o = w.lastPanoramaLongitude), "cameraImageUrl" in w && e(0, r = w.cameraImageUrl);
|
|
12192
12192
|
}, [
|
|
@@ -12278,7 +12278,7 @@ function GP(n) {
|
|
|
12278
12278
|
function WP(n, t, e) {
|
|
12279
12279
|
var c;
|
|
12280
12280
|
let { floorplanData: i } = t, { northDesc: s } = t;
|
|
12281
|
-
const o = (c = i.entrance) == null ? void 0 : c.northRad, r = typeof o == "number", l = `translateX(-50%) translateZ(10px) rotate(${-(o ?
|
|
12281
|
+
const o = (c = i.entrance) == null ? void 0 : c.northRad, r = typeof o == "number", l = `translateX(-50%) translateZ(10px) rotate(${-(o ? mi(o) : 0) + 90}deg)`;
|
|
12282
12282
|
return n.$$set = (h) => {
|
|
12283
12283
|
"floorplanData" in h && e(3, i = h.floorplanData), "northDesc" in h && e(0, s = h.northDesc);
|
|
12284
12284
|
}, [s, r, l, i];
|
|
@@ -13030,7 +13030,7 @@ function xf(n) {
|
|
|
13030
13030
|
i = !1;
|
|
13031
13031
|
},
|
|
13032
13032
|
d(a) {
|
|
13033
|
-
a && Q(t),
|
|
13033
|
+
a && Q(t), Li(o, a);
|
|
13034
13034
|
}
|
|
13035
13035
|
};
|
|
13036
13036
|
}
|
|
@@ -13506,7 +13506,7 @@ let Ps = class {
|
|
|
13506
13506
|
/**
|
|
13507
13507
|
* @realsee/dnalogel 版本号
|
|
13508
13508
|
*/
|
|
13509
|
-
f(this, "VERSION", "3.78.0-alpha.
|
|
13509
|
+
f(this, "VERSION", "3.78.0-alpha.4");
|
|
13510
13510
|
f(this, "NAME");
|
|
13511
13511
|
f(this, "five");
|
|
13512
13512
|
f(this, "workUtil");
|
|
@@ -13537,7 +13537,7 @@ let Ps = class {
|
|
|
13537
13537
|
}
|
|
13538
13538
|
}, vn = class extends Ps {
|
|
13539
13539
|
};
|
|
13540
|
-
var
|
|
13540
|
+
var vi = /* @__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))(vi || {});
|
|
13541
13541
|
const e1 = 500, lC = 80;
|
|
13542
13542
|
function Gs(n, t, e = 4) {
|
|
13543
13543
|
return Math.abs(n - t) < Math.pow(10, -e);
|
|
@@ -13614,7 +13614,7 @@ function i1(n, t, e = !0) {
|
|
|
13614
13614
|
)
|
|
13615
13615
|
), [c] = yield qs(n.updateCamera(qo(t, ["mode"]), l, e));
|
|
13616
13616
|
if (c)
|
|
13617
|
-
throw new Error(
|
|
13617
|
+
throw new Error(vi.UpdateCameraError);
|
|
13618
13618
|
});
|
|
13619
13619
|
}
|
|
13620
13620
|
function Jo(n, t, e = 300) {
|
|
@@ -13730,7 +13730,7 @@ let gC = class extends vn {
|
|
|
13730
13730
|
f(this, "_disable", (e) => {
|
|
13731
13731
|
var s, o, r;
|
|
13732
13732
|
const { userAction: i } = e;
|
|
13733
|
-
this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this,
|
|
13733
|
+
this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, vi.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
|
|
13734
13734
|
});
|
|
13735
13735
|
f(this, "_enable", (e) => {
|
|
13736
13736
|
const { userAction: i } = e;
|
|
@@ -13741,9 +13741,9 @@ let gC = class extends vn {
|
|
|
13741
13741
|
if (!this.state.enabled)
|
|
13742
13742
|
return;
|
|
13743
13743
|
if (!((r = this.five.model) != null && r.loaded))
|
|
13744
|
-
throw new Error(
|
|
13744
|
+
throw new Error(vi.ModelNotLoaded);
|
|
13745
13745
|
if (!this.data)
|
|
13746
|
-
throw new Error(
|
|
13746
|
+
throw new Error(vi.DataNotLoaded);
|
|
13747
13747
|
if (this.showPromise)
|
|
13748
13748
|
return this.showPromise;
|
|
13749
13749
|
const i = {
|
|
@@ -13762,9 +13762,9 @@ let gC = class extends vn {
|
|
|
13762
13762
|
if (c)
|
|
13763
13763
|
throw c;
|
|
13764
13764
|
if (a)
|
|
13765
|
-
throw l ? new Error(l) : new Error(
|
|
13765
|
+
throw l ? new Error(l) : new Error(vi.UnknownError);
|
|
13766
13766
|
if (!this.updateSize())
|
|
13767
|
-
throw new Error(
|
|
13767
|
+
throw new Error(vi.UpdateSizeError);
|
|
13768
13768
|
this.floorIndex = s.floorIndex, this.five.model.show(this.floorIndex);
|
|
13769
13769
|
});
|
|
13770
13770
|
return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
|
|
@@ -13781,7 +13781,7 @@ let gC = class extends vn {
|
|
|
13781
13781
|
}));
|
|
13782
13782
|
f(this, "_hide", (e) => {
|
|
13783
13783
|
var o;
|
|
13784
|
-
(o = this.showRejection) == null || o.call(this,
|
|
13784
|
+
(o = this.showRejection) == null || o.call(this, vi.BreakOffByHide), this.showPromise = void 0;
|
|
13785
13785
|
const s = _(_({}, {
|
|
13786
13786
|
userAction: !0,
|
|
13787
13787
|
isAutoHide: !1
|
|
@@ -13897,7 +13897,7 @@ let gC = class extends vn {
|
|
|
13897
13897
|
return Object.prototype.hasOwnProperty.apply(h, ["version"]);
|
|
13898
13898
|
}
|
|
13899
13899
|
const r = e;
|
|
13900
|
-
r &&
|
|
13900
|
+
r && yi(r.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
13901
13901
|
const a = JSON.parse(JSON.stringify(e)), l = o(a) ? a.data : a, c = this.data;
|
|
13902
13902
|
this.data = yield pn(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), i && this.updateState(i, s), this.render();
|
|
13903
13903
|
});
|
|
@@ -16769,7 +16769,7 @@ let AC = class extends vn {
|
|
|
16769
16769
|
f(this, "_disable", (e) => {
|
|
16770
16770
|
var s, o, r;
|
|
16771
16771
|
const { userAction: i } = e;
|
|
16772
|
-
this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this,
|
|
16772
|
+
this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, vi.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
|
|
16773
16773
|
});
|
|
16774
16774
|
f(this, "_enable", (e) => {
|
|
16775
16775
|
const { userAction: i } = e;
|
|
@@ -16780,9 +16780,9 @@ let AC = class extends vn {
|
|
|
16780
16780
|
if (!this.state.enabled)
|
|
16781
16781
|
return;
|
|
16782
16782
|
if (!((r = this.fiveUtil.model) != null && r.loaded))
|
|
16783
|
-
throw new Error(
|
|
16783
|
+
throw new Error(vi.ModelNotLoaded);
|
|
16784
16784
|
if (!this.data)
|
|
16785
|
-
throw new Error(
|
|
16785
|
+
throw new Error(vi.DataNotLoaded);
|
|
16786
16786
|
if (this.showPromise)
|
|
16787
16787
|
return this.showPromise;
|
|
16788
16788
|
const i = {
|
|
@@ -16801,9 +16801,9 @@ let AC = class extends vn {
|
|
|
16801
16801
|
if (c)
|
|
16802
16802
|
throw c;
|
|
16803
16803
|
if (a)
|
|
16804
|
-
throw l ? new Error(l) : new Error(
|
|
16804
|
+
throw l ? new Error(l) : new Error(vi.UnknownError);
|
|
16805
16805
|
if (!this.updateSize())
|
|
16806
|
-
throw new Error(
|
|
16806
|
+
throw new Error(vi.UpdateSizeError);
|
|
16807
16807
|
this.updatePosition(), this.floorIndex = s.floorIndex, this.fiveUtil.model.show(this.floorIndex);
|
|
16808
16808
|
});
|
|
16809
16809
|
return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
|
|
@@ -16820,7 +16820,7 @@ let AC = class extends vn {
|
|
|
16820
16820
|
}));
|
|
16821
16821
|
f(this, "_hide", (e) => {
|
|
16822
16822
|
var o;
|
|
16823
|
-
(o = this.showRejection) == null || o.call(this,
|
|
16823
|
+
(o = this.showRejection) == null || o.call(this, vi.BreakOffByHide), this.showPromise = void 0;
|
|
16824
16824
|
const s = _(_({}, {
|
|
16825
16825
|
userAction: !0,
|
|
16826
16826
|
isAutoHide: !1
|
|
@@ -16928,7 +16928,7 @@ let AC = class extends vn {
|
|
|
16928
16928
|
getRoomDimensionText: (h, d) => (h / 1e3).toFixed(1) + "m × " + (d / 1e3).toFixed(1) + "m",
|
|
16929
16929
|
getRuleDistanceText: (h) => h.toString()
|
|
16930
16930
|
}, o = i ? qo(i, ["selector", "scale"]) : {}, r = _(_({}, s.missingFloorConfig), o.missingFloorConfig), a = he(_(_({}, s), o), { missingFloorConfig: r });
|
|
16931
|
-
this.state = { enabled: !0, visible: !1, config: a }, this.panoIndex = e.getCurrentState().panoIndex, this.initContainer(),
|
|
16931
|
+
this.state = { enabled: !0, visible: !1, config: a }, this.panoIndex = e.getCurrentState().panoIndex, this.initContainer(), Di(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
|
|
16932
16932
|
}
|
|
16933
16933
|
load(e, i, s = !0) {
|
|
16934
16934
|
return te(this, null, function* () {
|
|
@@ -16936,7 +16936,7 @@ let AC = class extends vn {
|
|
|
16936
16936
|
return Object.prototype.hasOwnProperty.apply(h, ["version"]);
|
|
16937
16937
|
}
|
|
16938
16938
|
const r = e;
|
|
16939
|
-
r &&
|
|
16939
|
+
r && yi(r.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
16940
16940
|
const a = JSON.parse(JSON.stringify(e)), l = o(a) ? a.data : a, c = this.data;
|
|
16941
16941
|
this.data = yield pn(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), i && this.updateState(i, s), this.render();
|
|
16942
16942
|
});
|
|
@@ -17213,7 +17213,7 @@ let yC = class extends vn {
|
|
|
17213
17213
|
return Object.prototype.hasOwnProperty.apply(h, ["version"]);
|
|
17214
17214
|
}
|
|
17215
17215
|
const r = e;
|
|
17216
|
-
r &&
|
|
17216
|
+
r && yi(r.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
17217
17217
|
const a = JSON.parse(JSON.stringify(e)), l = o(a) ? a.data : a, c = this.data;
|
|
17218
17218
|
this.data = yield pn(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), i && this.updateState(i, s), this.render();
|
|
17219
17219
|
});
|
|
@@ -17547,7 +17547,7 @@ function kC(n) {
|
|
|
17547
17547
|
p(r, [a]) {
|
|
17548
17548
|
a & /*extraObjects*/
|
|
17549
17549
|
1 && (s = /*extraObjects*/
|
|
17550
|
-
r[0], e =
|
|
17550
|
+
r[0], e = di(e, a, o, 1, r, s, i, t, Aa, Of, null, zf));
|
|
17551
17551
|
},
|
|
17552
17552
|
i: se,
|
|
17553
17553
|
o: se,
|
|
@@ -17844,7 +17844,7 @@ function Rf(n) {
|
|
|
17844
17844
|
},
|
|
17845
17845
|
m(r, a) {
|
|
17846
17846
|
X(r, t, a), o && o.m(t, null), e = !0, i || (s = [
|
|
17847
|
-
|
|
17847
|
+
ci(Fi.call(null, t)),
|
|
17848
17848
|
je(
|
|
17849
17849
|
t,
|
|
17850
17850
|
"clientWidth",
|
|
@@ -18482,7 +18482,7 @@ function XC(n) {
|
|
|
18482
18482
|
p(r, [a]) {
|
|
18483
18483
|
a & /*extraObjects*/
|
|
18484
18484
|
1 && (s = /*extraObjects*/
|
|
18485
|
-
r[0], e =
|
|
18485
|
+
r[0], e = di(e, a, o, 1, r, s, i, t, Aa, Vf, null, Bf));
|
|
18486
18486
|
},
|
|
18487
18487
|
i: se,
|
|
18488
18488
|
o: se,
|
|
@@ -18869,7 +18869,7 @@ function i5(n) {
|
|
|
18869
18869
|
p(r, [a]) {
|
|
18870
18870
|
a & /*currentFloorObservers, contentWidth, contentHeight, observerDotSize*/
|
|
18871
18871
|
15 && (s = /*currentFloorObservers*/
|
|
18872
|
-
r[3], e =
|
|
18872
|
+
r[3], e = di(e, a, o, 1, r, s, i, t, Aa, Nf, null, Hf));
|
|
18873
18873
|
},
|
|
18874
18874
|
i: se,
|
|
18875
18875
|
o: se,
|
|
@@ -19059,7 +19059,7 @@ function l5(n) {
|
|
|
19059
19059
|
n[18]
|
|
19060
19060
|
),
|
|
19061
19061
|
je(t, "keydown", c5),
|
|
19062
|
-
|
|
19062
|
+
ci(Fi.call(null, t)),
|
|
19063
19063
|
je(
|
|
19064
19064
|
t,
|
|
19065
19065
|
"clientWidth",
|
|
@@ -19333,7 +19333,7 @@ function f5(n) {
|
|
|
19333
19333
|
for (let d = 0; d < e.length; d += 1)
|
|
19334
19334
|
e[d] && e[d].m(t, null);
|
|
19335
19335
|
s = !0, o || (r = [
|
|
19336
|
-
|
|
19336
|
+
ci(Fi.call(null, t)),
|
|
19337
19337
|
je(
|
|
19338
19338
|
t,
|
|
19339
19339
|
"clientWidth",
|
|
@@ -19345,7 +19345,7 @@ function f5(n) {
|
|
|
19345
19345
|
p(c, [h]) {
|
|
19346
19346
|
h & /*rooms, hoveredRoomId, roomNameEnable, roomAreaEnable, getRoomAreaText, getLabelElement, adaptiveRoomLabelVisibleEnable, pxmm, createLabelInRoomChecker, handleMouseEnter, handleMouseLeave*/
|
|
19347
19347
|
2015 && (a = /*rooms*/
|
|
19348
|
-
c[8], ke(), e =
|
|
19348
|
+
c[8], ke(), e = di(e, h, l, 1, c, a, i, t, mn, Qf, null, Uf), xe());
|
|
19349
19349
|
},
|
|
19350
19350
|
i(c) {
|
|
19351
19351
|
if (!s) {
|
|
@@ -19524,7 +19524,7 @@ function y5(n) {
|
|
|
19524
19524
|
function w5(n, t, e) {
|
|
19525
19525
|
var g;
|
|
19526
19526
|
let { floorplanData: i } = t, { northDesc: s } = t, { containerWidth: o } = t, { containerHeight: r } = t, { height: a = 50 } = t;
|
|
19527
|
-
const l = (g = i.entrance) == null ? void 0 : g.northRad, c = typeof l == "number", d = `rotate(${-(l ?
|
|
19527
|
+
const l = (g = i.entrance) == null ? void 0 : g.northRad, c = typeof l == "number", d = `rotate(${-(l ? mi(l) : 0) + 90}deg)`, u = o / 2, p = a + r / 2;
|
|
19528
19528
|
return n.$$set = (m) => {
|
|
19529
19529
|
"floorplanData" in m && e(7, i = m.floorplanData), "northDesc" in m && e(0, s = m.northDesc), "containerWidth" in m && e(1, o = m.containerWidth), "containerHeight" in m && e(8, r = m.containerHeight), "height" in m && e(2, a = m.height);
|
|
19530
19530
|
}, [
|
|
@@ -19572,7 +19572,7 @@ function Xf(n) {
|
|
|
19572
19572
|
},
|
|
19573
19573
|
m(r, a) {
|
|
19574
19574
|
X(r, t, a), o && o.m(t, null), e = !0, i || (s = [
|
|
19575
|
-
|
|
19575
|
+
ci(Fi.call(null, t)),
|
|
19576
19576
|
je(
|
|
19577
19577
|
t,
|
|
19578
19578
|
"clientWidth",
|
|
@@ -20578,12 +20578,12 @@ function n1(n, t) {
|
|
|
20578
20578
|
});
|
|
20579
20579
|
}
|
|
20580
20580
|
/** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */
|
|
20581
|
-
var s1 = {},
|
|
20581
|
+
var s1 = {}, Ei = void 0, S5 = s1;
|
|
20582
20582
|
function Fd(n, t) {
|
|
20583
20583
|
var e = n.split("."), i = S5;
|
|
20584
20584
|
!(e[0] in i) && i.execScript && i.execScript("var " + e[0]);
|
|
20585
20585
|
for (var s; e.length && (s = e.shift()); )
|
|
20586
|
-
!e.length && t !==
|
|
20586
|
+
!e.length && t !== Ei ? i[s] = t : i = i[s] ? i[s] : i[s] = {};
|
|
20587
20587
|
}
|
|
20588
20588
|
var vt = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
|
|
20589
20589
|
function zs(n) {
|
|
@@ -20618,10 +20618,10 @@ function Cs(n, t) {
|
|
|
20618
20618
|
var Hd = 0, El = 1, $f = { t: Hd, s: El };
|
|
20619
20619
|
Cs.prototype.k = function() {
|
|
20620
20620
|
for (; !this.m; ) {
|
|
20621
|
-
var n =
|
|
20621
|
+
var n = Ri(this, 3);
|
|
20622
20622
|
switch (n & 1 && (this.m = !0), n >>>= 1, n) {
|
|
20623
20623
|
case 0:
|
|
20624
|
-
var t = this.input, e = this.a, i = this.c, s = this.b, o = t.length, r =
|
|
20624
|
+
var t = this.input, e = this.a, i = this.c, s = this.b, o = t.length, r = Ei, a = Ei, l = i.length, c = Ei;
|
|
20625
20625
|
if (this.d = this.f = 0, e + 1 >= o)
|
|
20626
20626
|
throw Error("invalid uncompressed block header: LEN");
|
|
20627
20627
|
if (r = t[e++] | t[e++] << 8, e + 1 >= o)
|
|
@@ -20659,24 +20659,24 @@ Cs.prototype.k = function() {
|
|
|
20659
20659
|
this.j(D5, T5);
|
|
20660
20660
|
break;
|
|
20661
20661
|
case 2:
|
|
20662
|
-
for (var h =
|
|
20663
|
-
p[xc[S]] =
|
|
20662
|
+
for (var h = Ri(this, 5) + 257, d = Ri(this, 5) + 1, u = Ri(this, 4) + 4, p = new (vt ? Uint8Array : Array)(xc.length), g = Ei, m = Ei, v = Ei, b = Ei, w = Ei, I = Ei, C = Ei, S = Ei, L = Ei, S = 0; S < u; ++S)
|
|
20663
|
+
p[xc[S]] = Ri(this, 3);
|
|
20664
20664
|
if (!vt)
|
|
20665
20665
|
for (S = u, u = p.length; S < u; ++S)
|
|
20666
20666
|
p[xc[S]] = 0;
|
|
20667
20667
|
for (g = zs(p), b = new (vt ? Uint8Array : Array)(h + d), S = 0, L = h + d; S < L; )
|
|
20668
20668
|
switch (w = ra(this, g), w) {
|
|
20669
20669
|
case 16:
|
|
20670
|
-
for (C = 3 +
|
|
20670
|
+
for (C = 3 + Ri(this, 2); C--; )
|
|
20671
20671
|
b[S++] = I;
|
|
20672
20672
|
break;
|
|
20673
20673
|
case 17:
|
|
20674
|
-
for (C = 3 +
|
|
20674
|
+
for (C = 3 + Ri(this, 3); C--; )
|
|
20675
20675
|
b[S++] = 0;
|
|
20676
20676
|
I = 0;
|
|
20677
20677
|
break;
|
|
20678
20678
|
case 18:
|
|
20679
|
-
for (C = 11 +
|
|
20679
|
+
for (C = 11 + Ri(this, 7); C--; )
|
|
20680
20680
|
b[S++] = 0;
|
|
20681
20681
|
I = 0;
|
|
20682
20682
|
break;
|
|
@@ -20731,7 +20731,7 @@ tl = 0;
|
|
|
20731
20731
|
for (rp = vh.length; tl < rp; ++tl)
|
|
20732
20732
|
vh[tl] = 5;
|
|
20733
20733
|
var T5 = zs(vh);
|
|
20734
|
-
function
|
|
20734
|
+
function Ri(n, t) {
|
|
20735
20735
|
for (var e = n.f, i = n.d, s = n.input, o = n.a, r = s.length, a; i < t; ) {
|
|
20736
20736
|
if (o >= r)
|
|
20737
20737
|
throw Error("input buffer is broken");
|
|
@@ -20753,7 +20753,7 @@ Cs.prototype.j = function(n, t) {
|
|
|
20753
20753
|
if (256 > o)
|
|
20754
20754
|
i >= s && (this.b = i, e = this.e(), i = this.b), e[i++] = o;
|
|
20755
20755
|
else
|
|
20756
|
-
for (r = o - 257, l = o1[r], 0 < Ml[r] && (l +=
|
|
20756
|
+
for (r = o - 257, l = o1[r], 0 < Ml[r] && (l += Ri(this, Ml[r])), o = ra(this, t), a = r1[o], 0 < kl[o] && (a += Ri(this, kl[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
|
|
20757
20757
|
e[i] = e[i++ - a];
|
|
20758
20758
|
for (; 8 <= this.d; )
|
|
20759
20759
|
this.d -= 8, this.a--;
|
|
@@ -20766,7 +20766,7 @@ Cs.prototype.w = function(n, t) {
|
|
|
20766
20766
|
if (256 > o)
|
|
20767
20767
|
i >= s && (e = this.e(), s = e.length), e[i++] = o;
|
|
20768
20768
|
else
|
|
20769
|
-
for (r = o - 257, l = o1[r], 0 < Ml[r] && (l +=
|
|
20769
|
+
for (r = o - 257, l = o1[r], 0 < Ml[r] && (l += Ri(this, Ml[r])), o = ra(this, t), a = r1[o], 0 < kl[o] && (a += Ri(this, kl[o])), i + l > s && (e = this.e(), s = e.length); l--; )
|
|
20770
20770
|
e[i] = e[i++ - a];
|
|
20771
20771
|
for (; 8 <= this.d; )
|
|
20772
20772
|
this.d -= 8, this.a--;
|
|
@@ -23189,7 +23189,7 @@ function W5(n) {
|
|
|
23189
23189
|
}
|
|
23190
23190
|
},
|
|
23191
23191
|
d(s) {
|
|
23192
|
-
s && Q(t),
|
|
23192
|
+
s && Q(t), Li(i, s);
|
|
23193
23193
|
}
|
|
23194
23194
|
};
|
|
23195
23195
|
}
|
|
@@ -23436,7 +23436,7 @@ function Z5(n) {
|
|
|
23436
23436
|
e = !1;
|
|
23437
23437
|
},
|
|
23438
23438
|
d(r) {
|
|
23439
|
-
r && Q(t),
|
|
23439
|
+
r && Q(t), Li(s, r);
|
|
23440
23440
|
}
|
|
23441
23441
|
};
|
|
23442
23442
|
}
|
|
@@ -24373,7 +24373,7 @@ let ec = class {
|
|
|
24373
24373
|
}
|
|
24374
24374
|
};
|
|
24375
24375
|
const bI = new A.BufferGeometry();
|
|
24376
|
-
let v1 = class extends
|
|
24376
|
+
let v1 = class extends wi {
|
|
24377
24377
|
constructor(e) {
|
|
24378
24378
|
super();
|
|
24379
24379
|
f(this, "isPolygonMesh", !0);
|
|
@@ -24432,7 +24432,7 @@ class AI extends p1 {
|
|
|
24432
24432
|
}
|
|
24433
24433
|
updateAreaText(e, i) {
|
|
24434
24434
|
const { unit: s = "m²", fix: o } = i != null ? i : {};
|
|
24435
|
-
this.contentDom.innerText = `${
|
|
24435
|
+
this.contentDom.innerText = `${yi(o) ? e : e.toFixed(o)}${s}`;
|
|
24436
24436
|
}
|
|
24437
24437
|
}
|
|
24438
24438
|
class yh {
|
|
@@ -24805,7 +24805,7 @@ class ls extends ec {
|
|
|
24805
24805
|
return this.chooseArea(b, { left: C, top: L }), !1;
|
|
24806
24806
|
}
|
|
24807
24807
|
}
|
|
24808
|
-
const [o] =
|
|
24808
|
+
const [o] = Si(this.five).intersectRaycaster(e);
|
|
24809
24809
|
if (!o)
|
|
24810
24810
|
return;
|
|
24811
24811
|
const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new Qt(a.x * l, a.y * c), d = this.model.getAllLines().map((b) => {
|
|
@@ -25024,7 +25024,7 @@ class Cp extends ec {
|
|
|
25024
25024
|
return;
|
|
25025
25025
|
const i = wp(e).ndcPoint, s = new sr();
|
|
25026
25026
|
s.setFromCamera(i, this.five.camera);
|
|
25027
|
-
const [o] =
|
|
25027
|
+
const [o] = Si(this.five).intersectRaycaster(s);
|
|
25028
25028
|
o && this.onIntersectionUpdate(o);
|
|
25029
25029
|
});
|
|
25030
25030
|
f(this, "onIntersectionUpdate", (e, i) => {
|
|
@@ -25057,7 +25057,7 @@ class Cp extends ec {
|
|
|
25057
25057
|
return this.chooseArea(b, { left: C, top: L }), !1;
|
|
25058
25058
|
}
|
|
25059
25059
|
}
|
|
25060
|
-
const o =
|
|
25060
|
+
const o = Si(this.five), [r] = o.intersectRaycaster(e);
|
|
25061
25061
|
if (!r)
|
|
25062
25062
|
return;
|
|
25063
25063
|
const a = this.five.camera, l = r.point.clone().project(a), c = this.container.clientWidth, h = this.container.clientHeight, d = new Qt(l.x * c, l.y * h), u = this.model.getAllLines().map((b) => {
|
|
@@ -25327,7 +25327,7 @@ class DI {
|
|
|
25327
25327
|
if (!this.centerMouseXY)
|
|
25328
25328
|
return null;
|
|
25329
25329
|
this.raycaster.setFromCamera(this.centerMouseXY, this.five.camera);
|
|
25330
|
-
const t =
|
|
25330
|
+
const t = Si(this.five).intersectRaycaster(this.raycaster)[0];
|
|
25331
25331
|
return t || null;
|
|
25332
25332
|
});
|
|
25333
25333
|
this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = A1(_({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = _y, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new Oo(
|
|
@@ -25407,7 +25407,7 @@ class xr extends ec {
|
|
|
25407
25407
|
f(this, "onWantsTapGesture", (e) => {
|
|
25408
25408
|
if (this.state === "editing")
|
|
25409
25409
|
return !1;
|
|
25410
|
-
const i =
|
|
25410
|
+
const i = Si(this.five), [s] = i.intersectRaycaster(e);
|
|
25411
25411
|
if (!s)
|
|
25412
25412
|
return;
|
|
25413
25413
|
const o = this.five.camera, r = s.point.clone().project(o), a = this.container.clientWidth, l = this.container.clientHeight, c = new Qt(r.x * a, r.y * l), h = this.model.getAllLines().map((g) => {
|
|
@@ -26066,7 +26066,7 @@ function QI(n) {
|
|
|
26066
26066
|
i: se,
|
|
26067
26067
|
o: se,
|
|
26068
26068
|
d(c) {
|
|
26069
|
-
c && Q(t), r && r.d(),
|
|
26069
|
+
c && Q(t), r && r.d(), Li(l, c), n[12](null);
|
|
26070
26070
|
}
|
|
26071
26071
|
};
|
|
26072
26072
|
}
|
|
@@ -26153,7 +26153,7 @@ function qI(n) {
|
|
|
26153
26153
|
},
|
|
26154
26154
|
m(s, o) {
|
|
26155
26155
|
X(s, t, o), e || (i = je(t, "click", function() {
|
|
26156
|
-
|
|
26156
|
+
li(
|
|
26157
26157
|
/*onClick*/
|
|
26158
26158
|
n[0]
|
|
26159
26159
|
) && n[0].apply(this, arguments);
|
|
@@ -26559,7 +26559,7 @@ function n4(n) {
|
|
|
26559
26559
|
i: se,
|
|
26560
26560
|
o: se,
|
|
26561
26561
|
d(a) {
|
|
26562
|
-
a && Q(t),
|
|
26562
|
+
a && Q(t), Li(r, a), n[11](null);
|
|
26563
26563
|
}
|
|
26564
26564
|
};
|
|
26565
26565
|
}
|
|
@@ -26662,7 +26662,7 @@ function a4(n) {
|
|
|
26662
26662
|
},
|
|
26663
26663
|
m(a, l) {
|
|
26664
26664
|
X(a, t, l), r.m(t, null), i = !0, s || (o = je(t, "click", function() {
|
|
26665
|
-
|
|
26665
|
+
li(
|
|
26666
26666
|
/*onClick*/
|
|
26667
26667
|
n[1]
|
|
26668
26668
|
) && n[1].apply(this, arguments);
|
|
@@ -27602,7 +27602,7 @@ const mL = function(t, e) {
|
|
|
27602
27602
|
return new I4(t, e);
|
|
27603
27603
|
}, E4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
|
|
27604
27604
|
let Hp = null;
|
|
27605
|
-
class gn extends
|
|
27605
|
+
class gn extends wi {
|
|
27606
27606
|
constructor(e) {
|
|
27607
27607
|
var u, p, g;
|
|
27608
27608
|
super();
|
|
@@ -27701,11 +27701,11 @@ class gn extends yi {
|
|
|
27701
27701
|
e ? (i(e), this.dom.setPosition(this.position.clone())) : i(null);
|
|
27702
27702
|
}
|
|
27703
27703
|
}
|
|
27704
|
-
class aa extends
|
|
27704
|
+
class aa extends Ti {
|
|
27705
27705
|
constructor(e) {
|
|
27706
27706
|
super();
|
|
27707
27707
|
f(this, "name", "LineWithDotsMesh");
|
|
27708
|
-
f(this, "pointGroup", new
|
|
27708
|
+
f(this, "pointGroup", new wi());
|
|
27709
27709
|
f(this, "_paramsStyle");
|
|
27710
27710
|
f(this, "setStyle", (e) => {
|
|
27711
27711
|
super.setStyle(e), this._paramsStyle = _(_({}, this._paramsStyle), e), this.pointMeshes.forEach(
|
|
@@ -27752,7 +27752,7 @@ class aa extends Di {
|
|
|
27752
27752
|
}), this.updateEdgePointsVisibility(), this.needsRender = !0;
|
|
27753
27753
|
}
|
|
27754
27754
|
}
|
|
27755
|
-
class ic extends
|
|
27755
|
+
class ic extends wi {
|
|
27756
27756
|
constructor(e) {
|
|
27757
27757
|
var a, l;
|
|
27758
27758
|
super();
|
|
@@ -27946,7 +27946,7 @@ function M1(n) {
|
|
|
27946
27946
|
const i = new A.Plane().setFromCoplanarPoints(n[0], n[1], n[2]);
|
|
27947
27947
|
return n.every((o, r) => r < 3 ? !0 : i.distanceToPoint(o) < 1e-6);
|
|
27948
27948
|
}
|
|
27949
|
-
class Np extends
|
|
27949
|
+
class Np extends wi {
|
|
27950
27950
|
constructor(e) {
|
|
27951
27951
|
super();
|
|
27952
27952
|
f(this, "name", "MeasureMesh");
|
|
@@ -28488,12 +28488,12 @@ class N4 extends St {
|
|
|
28488
28488
|
polygonStyle: this.polygonStyle
|
|
28489
28489
|
});
|
|
28490
28490
|
this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
|
|
28491
|
-
const i = new gn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new aa(he(_({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new lr(this.polygonStyle), r = new
|
|
28491
|
+
const i = new gn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new aa(he(_({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new lr(this.polygonStyle), r = new Ti(he(_({}, this.lineStyle), {
|
|
28492
28492
|
lineOpacity: 0.5,
|
|
28493
28493
|
lineColor: 3407837,
|
|
28494
28494
|
dashed: !0,
|
|
28495
28495
|
cssStyle: "pointer-events: none; opacity: 0.5;"
|
|
28496
|
-
})), a = new
|
|
28496
|
+
})), a = new Ti(he(_({}, this.lineStyle), {
|
|
28497
28497
|
lineOpacity: 0.5,
|
|
28498
28498
|
lineColor: 3407837,
|
|
28499
28499
|
dashed: !0,
|
|
@@ -29188,7 +29188,7 @@ class N4 extends St {
|
|
|
29188
29188
|
});
|
|
29189
29189
|
this.five = e;
|
|
29190
29190
|
const s = { unit: "m", lengthEnable: !0, precision: 2 };
|
|
29191
|
-
this.config = i ? _(_({}, s), i) : s, this.group = new
|
|
29191
|
+
this.config = i ? _(_({}, s), i) : s, this.group = new wi(), this.group.name = "MeasureGroup", this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), mt("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
|
|
29192
29192
|
}
|
|
29193
29193
|
get pointSelector() {
|
|
29194
29194
|
return this._pointSelector ? this._pointSelector : (this._pointSelector = new Vl(this.five, { mode: "cursor", helper: { pointHelper: "highlight" }, skipPanorama: !0 }), this._pointSelector);
|
|
@@ -29305,7 +29305,7 @@ function W4(n) {
|
|
|
29305
29305
|
i: se,
|
|
29306
29306
|
o: se,
|
|
29307
29307
|
d(s) {
|
|
29308
|
-
|
|
29308
|
+
Li(i, s), s && Q(t);
|
|
29309
29309
|
}
|
|
29310
29310
|
};
|
|
29311
29311
|
}
|
|
@@ -29802,13 +29802,13 @@ const zc = 1e-3, Kp = 0.01, $p = md, AL = (n, t) => {
|
|
|
29802
29802
|
Xe.distance + Kp
|
|
29803
29803
|
), [$e] = m.intersectObjects ? rt.intersectObjects(m.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(rt) : rt.intersectObjects(n.model.children, !0);
|
|
29804
29804
|
if ($e && Xe.distance - $e.distance < Kp) {
|
|
29805
|
-
const { position: tt, normal: at, id: ct, replacement: Vt } = Xe, Ji = new A.Plane().setFromNormalAndCoplanarPoint(at, tt), Xt = tt.clone().sub(ee.position).cross(new A.Vector3(0, 1, 0)).setLength(zc),
|
|
29805
|
+
const { position: tt, normal: at, id: ct, replacement: Vt } = Xe, Ji = new A.Plane().setFromNormalAndCoplanarPoint(at, tt), Xt = tt.clone().sub(ee.position).cross(new A.Vector3(0, 1, 0)).setLength(zc), ui = [
|
|
29806
29806
|
tt.clone(),
|
|
29807
29807
|
tt.clone().add(Xt),
|
|
29808
29808
|
tt.clone().add(new A.Vector3(0, zc, 0)).add(Xt),
|
|
29809
29809
|
tt.clone().add(new A.Vector3(0, zc, 0))
|
|
29810
|
-
].map((Zt) => Ji.projectPoint(Zt, new A.Vector3())), { container:
|
|
29811
|
-
target:
|
|
29810
|
+
].map((Zt) => Ji.projectPoint(Zt, new A.Vector3())), { container: Pi, dispose: ht } = d.create3DDomContainer(ui) || {}, Yt = new q4({
|
|
29811
|
+
target: Pi,
|
|
29812
29812
|
props: {
|
|
29813
29813
|
id: ct,
|
|
29814
29814
|
content: m.render(m.template, Vt),
|
|
@@ -29932,7 +29932,7 @@ var xo = /* @__PURE__ */ ((n) => (n.SMALL = "small", n.MIDLLE = "middle", n.LARG
|
|
|
29932
29932
|
n.exports ? (e.default = e, n.exports = e) : window.classNames = e;
|
|
29933
29933
|
})();
|
|
29934
29934
|
})(iE);
|
|
29935
|
-
const
|
|
29935
|
+
const bi = Ch;
|
|
29936
29936
|
function nE(n) {
|
|
29937
29937
|
De(n, "svelte-1wufped", ".item-label-item.svelte-1wufped{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1wufped{opacity:1;animation:svelte-1wufped-fadeIn 0.3s ease-in}.item-label-item__text-wrap.svelte-1wufped::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1wufped{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#ffeac0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1wufped{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1wufped{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1wufped-fadeIn{from{opacity:0}to{opacity:1}}");
|
|
29938
29938
|
}
|
|
@@ -29949,7 +29949,7 @@ function sE(n) {
|
|
|
29949
29949
|
c() {
|
|
29950
29950
|
t = W("div"), e = W("div"), i = W("span"), o = Be(s), r = ae(), a = W("div"), P(i, "class", "item-label-item__text svelte-1wufped"), P(e, "class", "item-label-item__text-wrap svelte-1wufped"), R(e, "top", `-${/*itemLabel*/
|
|
29951
29951
|
n[0].strokeLength + 26}px`), P(a, "class", "item-label-item__bar svelte-1wufped"), R(a, "height", `${/*itemLabel*/
|
|
29952
|
-
n[0].strokeLength}px`), P(t, "class", l = It(
|
|
29952
|
+
n[0].strokeLength}px`), P(t, "class", l = It(bi("item-label-item", { visible: (
|
|
29953
29953
|
/*itemLabel*/
|
|
29954
29954
|
n[0].visible
|
|
29955
29955
|
) })) + " svelte-1wufped"), R(
|
|
@@ -29984,7 +29984,7 @@ function sE(n) {
|
|
|
29984
29984
|
d[0].strokeLength + 26}px`), u & /*itemLabel*/
|
|
29985
29985
|
1 && R(a, "height", `${/*itemLabel*/
|
|
29986
29986
|
d[0].strokeLength}px`), u & /*itemLabel*/
|
|
29987
|
-
1 && l !== (l = It(
|
|
29987
|
+
1 && l !== (l = It(bi("item-label-item", { visible: (
|
|
29988
29988
|
/*itemLabel*/
|
|
29989
29989
|
d[0].visible
|
|
29990
29990
|
) })) + " svelte-1wufped") && P(t, "class", l), u & /*itemLabel*/
|
|
@@ -30120,7 +30120,7 @@ function lE(n) {
|
|
|
30120
30120
|
p(l, [c]) {
|
|
30121
30121
|
c & /*renderItemLabels, hooks*/
|
|
30122
30122
|
3 && (r = /*renderItemLabels*/
|
|
30123
|
-
l[1], ke(), e =
|
|
30123
|
+
l[1], ke(), e = di(e, c, a, 1, l, r, i, t, mn, tg, null, eg), xe()), c & /*itemsVisible*/
|
|
30124
30124
|
16 && R(
|
|
30125
30125
|
t,
|
|
30126
30126
|
"opacity",
|
|
@@ -30584,15 +30584,15 @@ function AE(n) {
|
|
|
30584
30584
|
let u = d(n, -1), p = u(n);
|
|
30585
30585
|
return {
|
|
30586
30586
|
c() {
|
|
30587
|
-
t = W("div"), e = W("div"), p.c(), o = ae(), r = W("div"), P(e, "class", s = It(
|
|
30587
|
+
t = W("div"), e = W("div"), p.c(), o = ae(), r = W("div"), P(e, "class", s = It(bi("item-label-item__text-wrap", {
|
|
30588
30588
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
30589
30589
|
n[0].render == "function"
|
|
30590
30590
|
})) + " svelte-139cs8e"), R(e, "bottom", `${/*itemLabel*/
|
|
30591
|
-
n[0].strokeLength}px`), P(r, "class", a = It(
|
|
30591
|
+
n[0].strokeLength}px`), P(r, "class", a = It(bi("item-label-item__bar", { anchor: (
|
|
30592
30592
|
/*anchorEnabled*/
|
|
30593
30593
|
n[1]
|
|
30594
30594
|
) })) + " svelte-139cs8e"), R(r, "height", `${/*itemLabel*/
|
|
30595
|
-
n[0].strokeLength}px`), P(t, "class", l = It(
|
|
30595
|
+
n[0].strokeLength}px`), P(t, "class", l = It(bi("item-label-item", { fold: (
|
|
30596
30596
|
/*itemLabel*/
|
|
30597
30597
|
n[0].isFold
|
|
30598
30598
|
) })) + " svelte-139cs8e"), R(
|
|
@@ -30617,19 +30617,19 @@ function AE(n) {
|
|
|
30617
30617
|
},
|
|
30618
30618
|
p(g, [m]) {
|
|
30619
30619
|
u === (u = d(g, m)) && p ? p.p(g, m) : (p.d(1), p = u(g), p && (p.c(), p.m(e, null))), m & /*itemLabel*/
|
|
30620
|
-
1 && s !== (s = It(
|
|
30620
|
+
1 && s !== (s = It(bi("item-label-item__text-wrap", {
|
|
30621
30621
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
30622
30622
|
g[0].render == "function"
|
|
30623
30623
|
})) + " svelte-139cs8e") && P(e, "class", s), m & /*itemLabel*/
|
|
30624
30624
|
1 && R(e, "bottom", `${/*itemLabel*/
|
|
30625
30625
|
g[0].strokeLength}px`), m & /*anchorEnabled*/
|
|
30626
|
-
2 && a !== (a = It(
|
|
30626
|
+
2 && a !== (a = It(bi("item-label-item__bar", { anchor: (
|
|
30627
30627
|
/*anchorEnabled*/
|
|
30628
30628
|
g[1]
|
|
30629
30629
|
) })) + " svelte-139cs8e") && P(r, "class", a), m & /*itemLabel*/
|
|
30630
30630
|
1 && R(r, "height", `${/*itemLabel*/
|
|
30631
30631
|
g[0].strokeLength}px`), m & /*itemLabel*/
|
|
30632
|
-
1 && l !== (l = It(
|
|
30632
|
+
1 && l !== (l = It(bi("item-label-item", { fold: (
|
|
30633
30633
|
/*itemLabel*/
|
|
30634
30634
|
g[0].isFold
|
|
30635
30635
|
) })) + " svelte-139cs8e") && P(t, "class", l), m & /*itemLabel*/
|
|
@@ -30855,7 +30855,7 @@ function ME(n) {
|
|
|
30855
30855
|
p(l, c) {
|
|
30856
30856
|
c[0] & /*renderItemLabels, hooks, anchorEnabled, onIconClick*/
|
|
30857
30857
|
71 && (r = /*renderItemLabels*/
|
|
30858
|
-
l[1], ke(), e =
|
|
30858
|
+
l[1], ke(), e = di(e, c, a, 1, l, r, i, t, mn, lg, null, rg), xe()), c[0] & /*itemsVisible*/
|
|
30859
30859
|
32 && R(
|
|
30860
30860
|
t,
|
|
30861
30861
|
"opacity",
|
|
@@ -31112,7 +31112,7 @@ function zE(n) {
|
|
|
31112
31112
|
), o, r, a, l, c, h, d, u, p;
|
|
31113
31113
|
return {
|
|
31114
31114
|
c() {
|
|
31115
|
-
t = W("div"), e = W("div"), i = W("span"), o = Be(s), r = ae(), a = W("i"), P(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), P(a, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), P(e, "class", l = It(
|
|
31115
|
+
t = W("div"), e = W("div"), i = W("span"), o = Be(s), r = ae(), a = W("i"), P(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), P(a, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), P(e, "class", l = It(bi(
|
|
31116
31116
|
"plugin-DoorLabelPlugin-cnt",
|
|
31117
31117
|
/*props*/
|
|
31118
31118
|
n[0].toward
|
|
@@ -31137,7 +31137,7 @@ function zE(n) {
|
|
|
31137
31137
|
m & /*props*/
|
|
31138
31138
|
1 && s !== (s = /*props*/
|
|
31139
31139
|
g[0].name + "") && He(o, s), m & /*props*/
|
|
31140
|
-
1 && l !== (l = It(
|
|
31140
|
+
1 && l !== (l = It(bi(
|
|
31141
31141
|
"plugin-DoorLabelPlugin-cnt",
|
|
31142
31142
|
/*props*/
|
|
31143
31143
|
g[0].toward
|
|
@@ -31223,7 +31223,7 @@ class HE extends Ps {
|
|
|
31223
31223
|
i && (this.MaxVisibledistance = i.MaxVisibledistance, this.MinVisibledistance = i.MinVisibledistance, this.OffsetHeight = i.OffsetHeight), this.labelItems.forEach((s) => {
|
|
31224
31224
|
var o;
|
|
31225
31225
|
return (o = s.svelteApp) == null ? void 0 : o.$destroy();
|
|
31226
|
-
}), this.labelItems = [], this.doorLabels = [], this.floorplanServerData = e,
|
|
31226
|
+
}), this.labelItems = [], this.doorLabels = [], this.floorplanServerData = e, Di(this.five).then(() => {
|
|
31227
31227
|
this.initData(), this.fixDoorVisibleAndPosition(), this.applyState();
|
|
31228
31228
|
});
|
|
31229
31229
|
});
|
|
@@ -31679,8 +31679,8 @@ function g8(n) {
|
|
|
31679
31679
|
function m8(n) {
|
|
31680
31680
|
return n.stickType === "Mask";
|
|
31681
31681
|
}
|
|
31682
|
-
function V1(n) {
|
|
31683
|
-
const
|
|
31682
|
+
function V1(n, t) {
|
|
31683
|
+
const e = Re(n.start), i = Re(n.end), s = new Tn().fromArray(n.rotation), o = ai(new fe((e.x + i.x) / 2, (e.y + i.y) / 2, (e.z + i.z) / 2), t), r = new fe(Math.abs(i.x - e.x) / 2, Math.abs(i.y - e.y) / 2, Math.abs(i.z - e.z) / 2), a = new ot().makeRotationFromEuler(s), l = [
|
|
31684
31684
|
// 底面4个点 (y = -0.5)
|
|
31685
31685
|
new fe(-0.5, -0.5, -0.5),
|
|
31686
31686
|
new fe(0.5, -0.5, -0.5),
|
|
@@ -31691,8 +31691,8 @@ function V1(n) {
|
|
|
31691
31691
|
new fe(0.5, 0.5, -0.5),
|
|
31692
31692
|
new fe(0.5, 0.5, 0.5),
|
|
31693
31693
|
new fe(-0.5, 0.5, 0.5)
|
|
31694
|
-
],
|
|
31695
|
-
return
|
|
31694
|
+
], c = r.clone().multiplyScalar(2);
|
|
31695
|
+
return l.map((d) => d.clone().multiply(c).applyMatrix4(a).add(o));
|
|
31696
31696
|
}
|
|
31697
31697
|
function ol(n, t) {
|
|
31698
31698
|
if (!t)
|
|
@@ -31702,17 +31702,18 @@ function ol(n, t) {
|
|
|
31702
31702
|
}
|
|
31703
31703
|
function Mh(n) {
|
|
31704
31704
|
const t = (() => {
|
|
31705
|
+
var e, i;
|
|
31705
31706
|
if (g8(n) && n.position) {
|
|
31706
|
-
const
|
|
31707
|
-
return ol(
|
|
31707
|
+
const s = V1(n.position, (i = (e = n.plugin) == null ? void 0 : e.workUtil) == null ? void 0 : i.transform);
|
|
31708
|
+
return ol(s, n.matrix);
|
|
31708
31709
|
}
|
|
31709
31710
|
if (p8(n) && n.position) {
|
|
31710
|
-
const
|
|
31711
|
-
return ol(
|
|
31711
|
+
const s = n.position.map((o) => Re(o));
|
|
31712
|
+
return ol(s, n.matrix);
|
|
31712
31713
|
}
|
|
31713
31714
|
if (Us(n) && n.matrix) {
|
|
31714
|
-
const
|
|
31715
|
-
return ol(
|
|
31715
|
+
const s = n.data.mediaPosition.map((o) => Re(o));
|
|
31716
|
+
return ol(s, n.matrix);
|
|
31716
31717
|
}
|
|
31717
31718
|
return m8(n) ? n.position && Array.isArray(n.position) ? Re(n.position) : (console.warn("[getTagPosition] Mask tag without position, tag id:", n.id), new fe(0, 0, 0)) : n.position;
|
|
31718
31719
|
})();
|
|
@@ -32228,7 +32229,7 @@ class Sh extends W1 {
|
|
|
32228
32229
|
const o = (l = s == null ? void 0 : s.resolveZFighting) != null ? l : !0, r = (c = s == null ? void 0 : s.opacity) != null ? c : 1;
|
|
32229
32230
|
let a = i;
|
|
32230
32231
|
if (o) {
|
|
32231
|
-
const h =
|
|
32232
|
+
const h = Ai(i).multiplyScalar(rn.Z_FIGHTING_OFFSET);
|
|
32232
32233
|
a = i.map((d) => d.clone().add(h));
|
|
32233
32234
|
}
|
|
32234
32235
|
u1(e).then(({ texture: h, transparent: d }) => {
|
|
@@ -32251,7 +32252,7 @@ class Sh extends W1 {
|
|
|
32251
32252
|
let r = i;
|
|
32252
32253
|
const { resolveZFighting: a } = s != null ? s : {};
|
|
32253
32254
|
if (a) {
|
|
32254
|
-
const u =
|
|
32255
|
+
const u = Ai(i).multiplyScalar(rn.Z_FIGHTING_OFFSET);
|
|
32255
32256
|
r = i.map((p) => p.clone().add(u));
|
|
32256
32257
|
}
|
|
32257
32258
|
const l = on(o != null ? o : "contain", r, this.originRatio), c = Mt(...l), h = l.map((u) => u.clone().sub(c)), d = new Bo(h);
|
|
@@ -32341,7 +32342,7 @@ class U1 extends W1 {
|
|
|
32341
32342
|
side: A.DoubleSide
|
|
32342
32343
|
}), r = on(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new jc(r, o);
|
|
32343
32344
|
a.position.copy(new fe(0, 0, 0)), a.name = "videoCoverMesh";
|
|
32344
|
-
const l =
|
|
32345
|
+
const l = Ai(r).multiplyScalar(rn.Z_FIGHTING_OFFSET);
|
|
32345
32346
|
return a.position.add(l), a;
|
|
32346
32347
|
}))();
|
|
32347
32348
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
@@ -32369,7 +32370,7 @@ class U1 extends W1 {
|
|
|
32369
32370
|
);
|
|
32370
32371
|
}), l = new jc(a, r);
|
|
32371
32372
|
l.name = "videoMesh", l.position.copy(new fe(0, 0, 0));
|
|
32372
|
-
const c =
|
|
32373
|
+
const c = Ai(a).multiplyScalar(rn.Z_FIGHTING_OFFSET);
|
|
32373
32374
|
return l.position.add(c), l;
|
|
32374
32375
|
}))();
|
|
32375
32376
|
if (!e)
|
|
@@ -32408,7 +32409,7 @@ class U1 extends W1 {
|
|
|
32408
32409
|
},
|
|
32409
32410
|
{ noEmitWhenHide: !0 }
|
|
32410
32411
|
);
|
|
32411
|
-
const u =
|
|
32412
|
+
const u = Ai(h).multiplyScalar(rn.Z_FIGHTING_OFFSET * 2);
|
|
32412
32413
|
return d.position.add(u), d;
|
|
32413
32414
|
}))();
|
|
32414
32415
|
return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
|
|
@@ -32452,7 +32453,7 @@ class U1 extends W1 {
|
|
|
32452
32453
|
);
|
|
32453
32454
|
}), s = Mt(...i), o = i.map((l) => l.clone().sub(s)), r = new Bo(o);
|
|
32454
32455
|
this.videoMesh.geometry.dispose(), this.videoMesh.geometry = r, this.videoMesh.position.copy(new fe(0, 0, 0));
|
|
32455
|
-
const a =
|
|
32456
|
+
const a = Ai(i).multiplyScalar(rn.Z_FIGHTING_OFFSET);
|
|
32456
32457
|
this.videoMesh.position.add(a);
|
|
32457
32458
|
});
|
|
32458
32459
|
}
|
|
@@ -32471,7 +32472,7 @@ class U1 extends W1 {
|
|
|
32471
32472
|
return;
|
|
32472
32473
|
const { texture: e } = yield this.getImageTexture(this.buttonSrc), i = on("contain", this.cornerPoints, e.image.width / e.image.height), s = Mt(...i), o = i.map((b) => b.clone().sub(s)), r = new Bo(o), a = (g = (p = this.videoMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? g : 1 / 0, l = (v = (m = this.coverMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, c = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), d = Math.min(a, l, c) / c * 0.3;
|
|
32473
32474
|
this.buttonMesh.geometry.dispose(), this.buttonMesh.geometry = r, this.buttonMesh.position.copy(new fe(0, 0, 0)), this.buttonMesh.scale.set(d, d, d);
|
|
32474
|
-
const u =
|
|
32475
|
+
const u = Ai(i).multiplyScalar(rn.Z_FIGHTING_OFFSET * 2);
|
|
32475
32476
|
this.buttonMesh.position.add(u);
|
|
32476
32477
|
});
|
|
32477
32478
|
}
|
|
@@ -32716,7 +32717,7 @@ class O8 extends Ps {
|
|
|
32716
32717
|
const l = (w = e.initialConfig) != null ? w : {}, c = nt({}, G1, this.config.globalConfig, ...Object.values(o)), h = nt({}, c, l), d = {}, u = Object.values(Wt.Mode);
|
|
32717
32718
|
Tl(r).forEach(([I, C]) => {
|
|
32718
32719
|
u.forEach((L) => {
|
|
32719
|
-
(I === "PanoramaLike" && ds(L) || I === "ModelLike" &&
|
|
32720
|
+
(I === "PanoramaLike" && ds(L) || I === "ModelLike" && ki(L)) && (d[L] = nt({}, c, ...Object.values(C), l, { _isMerged: !0 }));
|
|
32720
32721
|
});
|
|
32721
32722
|
}), Tl(a).forEach(([I, C]) => {
|
|
32722
32723
|
const L = d[I];
|
|
@@ -32864,7 +32865,7 @@ function Rc(n, t, e) {
|
|
|
32864
32865
|
const a = (b = n.initialConfig) != null ? b : {}, l = nt({}, G1, t.globalConfig, ...Object.values(s)), c = nt({}, l, a), h = {}, d = Object.values(Wt.Mode);
|
|
32865
32866
|
Tl(o).forEach(([w, I]) => {
|
|
32866
32867
|
d.forEach((C) => {
|
|
32867
|
-
(w === "PanoramaLike" && ds(C) || w === "ModelLike" &&
|
|
32868
|
+
(w === "PanoramaLike" && ds(C) || w === "ModelLike" && ki(C)) && (h[C] = nt({}, l, ...Object.values(I), a, { _isMerged: !0 }));
|
|
32868
32869
|
});
|
|
32869
32870
|
}), Tl(r).forEach(([w, I]) => {
|
|
32870
32871
|
const C = h[w];
|
|
@@ -32887,7 +32888,7 @@ function _8(n, t) {
|
|
|
32887
32888
|
e.forEach((o) => {
|
|
32888
32889
|
var a, l, c;
|
|
32889
32890
|
const r = (l = (a = o.floorIndex) != null ? a : o.floor_index) != null ? l : 0;
|
|
32890
|
-
i[r] || (i[r] = []), i[r].push(
|
|
32891
|
+
i[r] || (i[r] = []), i[r].push(ai(o.position, (c = n.options) == null ? void 0 : c.transform).y);
|
|
32891
32892
|
});
|
|
32892
32893
|
const s = i.map((o) => o.reduce((r, a) => r + a, 0) / o.length);
|
|
32893
32894
|
for (let o = s.length - 1; o > 0; o--)
|
|
@@ -32989,17 +32990,17 @@ class hr {
|
|
|
32989
32990
|
};
|
|
32990
32991
|
const { start: L, end: S, rotation: j } = b;
|
|
32991
32992
|
return {
|
|
32992
|
-
start:
|
|
32993
|
-
end:
|
|
32994
|
-
rotation: Re(j).toArray()
|
|
32993
|
+
start: Re(L.map((T) => Number(T))).toArray(),
|
|
32994
|
+
end: Re(S.map((T) => Number(T))).toArray(),
|
|
32995
|
+
rotation: Re(j.map((T) => Number(T))).toArray()
|
|
32995
32996
|
};
|
|
32996
32997
|
}
|
|
32997
32998
|
if (e.stickType === "Polygon")
|
|
32998
|
-
return b ? b.map(Re).map((L) =>
|
|
32999
|
+
return b ? b.map(Re).map((L) => ai(L, w).toArray()) : [];
|
|
32999
33000
|
if (!b)
|
|
33000
33001
|
return;
|
|
33001
33002
|
let I = b;
|
|
33002
|
-
if (Array.isArray(b) && b.length === 4 ? I = b.map(Re).map((L) =>
|
|
33003
|
+
if (Array.isArray(b) && b.length === 4 ? I = b.map(Re).map((L) => ai(L, w).toArray()) : I = ai(Re(b), w).toArray(), (e.stickType === "2DPoint" || e.stickType === "3DPoint") && ((C = a == null ? void 0 : a.tagNormalLineConfig) != null && C.enabled) && e.normal && this.normalLineLength) {
|
|
33003
33004
|
const L = new A.Vector3().fromArray(e.normal);
|
|
33004
33005
|
I = new A.Vector3().fromArray(I).clone().add(L.clone().setLength(this.normalLineLength)).toArray();
|
|
33005
33006
|
}
|
|
@@ -33057,7 +33058,7 @@ class hr {
|
|
|
33057
33058
|
const i = (s = t == null ? void 0 : t.targetMode) != null ? s : this.five.state.mode;
|
|
33058
33059
|
if (i === "Panorama") {
|
|
33059
33060
|
const o = e == null ? void 0 : e.panoIndex;
|
|
33060
|
-
if (
|
|
33061
|
+
if (yi(o))
|
|
33061
33062
|
return this;
|
|
33062
33063
|
const r = this.workUtil.getObserverPosition(o), a = this.centerPosition.clone().sub(r).normalize();
|
|
33063
33064
|
this.five.setState(_({
|
|
@@ -33233,24 +33234,24 @@ class hr {
|
|
|
33233
33234
|
if (!i || !i.start)
|
|
33234
33235
|
return 1 / 0;
|
|
33235
33236
|
const s = i.start;
|
|
33236
|
-
return
|
|
33237
|
+
return gi(s[0] - t.x, 2) + gi(s[1] - t.y, 2) + gi(s[2] - t.z, 2);
|
|
33237
33238
|
}
|
|
33238
33239
|
if (this.stickType === "Polygon") {
|
|
33239
33240
|
const i = this.position;
|
|
33240
33241
|
if (!i || i.length === 0)
|
|
33241
33242
|
return 1 / 0;
|
|
33242
33243
|
const s = i[0];
|
|
33243
|
-
return
|
|
33244
|
+
return gi(s[0] - t.x, 2) + gi(s[1] - t.y, 2) + gi(s[2] - t.z, 2);
|
|
33244
33245
|
}
|
|
33245
33246
|
let e;
|
|
33246
|
-
return this.position || console.log(this, "no position"), Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position,
|
|
33247
|
+
return this.position || console.log(this, "no position"), Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position, gi(e[0] - t.x, 2) + gi(e[1] - t.y, 2) + gi(e[2] - t.z, 2);
|
|
33247
33248
|
}
|
|
33248
33249
|
getVisible(t) {
|
|
33249
33250
|
if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
|
|
33250
33251
|
return !1;
|
|
33251
33252
|
const e = _(_({}, this.five.getCurrentState()), t);
|
|
33252
33253
|
let i = this.cache.getVisible(this, e);
|
|
33253
|
-
return
|
|
33254
|
+
return yi(i) && (i = this.computeVisible(e).value, this.cache.setVisible(this, e, i)), i;
|
|
33254
33255
|
}
|
|
33255
33256
|
getUnfoldedByPanoIndex(t) {
|
|
33256
33257
|
if (!this.currentVisible)
|
|
@@ -33390,7 +33391,7 @@ class hr {
|
|
|
33390
33391
|
if (o || (o = (a = (r = this.fiveState) == null ? void 0 : r.mode) != null ? a : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(o))
|
|
33391
33392
|
return o.includes(e);
|
|
33392
33393
|
if (o === "ModelLike")
|
|
33393
|
-
return
|
|
33394
|
+
return ki(e);
|
|
33394
33395
|
if (o === "PanoramaLike")
|
|
33395
33396
|
return !ds(e);
|
|
33396
33397
|
if (o === "all")
|
|
@@ -33402,7 +33403,7 @@ class hr {
|
|
|
33402
33403
|
var r;
|
|
33403
33404
|
const o = i();
|
|
33404
33405
|
if (Ge((r = this.fiveState) == null ? void 0 : r.panoIndex) && t.entryFromModel) {
|
|
33405
|
-
if (
|
|
33406
|
+
if (ki(e) && o ? this.entryFromModel = !1 : this.entryFromModel = !0, ki(e))
|
|
33406
33407
|
return !0;
|
|
33407
33408
|
} else
|
|
33408
33409
|
this.entryFromModel = !1;
|
|
@@ -33493,7 +33494,7 @@ class hr {
|
|
|
33493
33494
|
// 该方法有很大优化空间,这个检测显示方法不应该挂在tagBase下,做了多次不必要计算(MinimumDistance,ScreenCenter)。
|
|
33494
33495
|
computeUnfoldedByCamera() {
|
|
33495
33496
|
var e, i;
|
|
33496
|
-
if (this.entryFromModel &&
|
|
33497
|
+
if (this.entryFromModel && ki(this.five.state.mode))
|
|
33497
33498
|
return !1;
|
|
33498
33499
|
const t = this.getConfig().unfoldedConfig;
|
|
33499
33500
|
if (t) {
|
|
@@ -33665,7 +33666,7 @@ class B8 extends hr {
|
|
|
33665
33666
|
const e = this.config;
|
|
33666
33667
|
if (!this.five.renderer || !((r = e == null ? void 0 : e.tagNormalLineConfig) != null && r.enabled) || !this.normalLineLength)
|
|
33667
33668
|
return;
|
|
33668
|
-
const i = this.five.renderer.getSize(_c), s = this.five.renderer.getPixelRatio(), o =
|
|
33669
|
+
const i = this.five.renderer.getSize(_c), s = this.five.renderer.getPixelRatio(), o = ai(Re(this.originPosition), this.plugin.workUtil.transform);
|
|
33669
33670
|
this.tagNormalLine = new D0(new A.Vector3().fromArray(this.position), o), this.tagNormalLine.points.visible = !1, this.tagNormalLine.setMaterial({
|
|
33670
33671
|
color: new A.Vector3(1, 1, 1),
|
|
33671
33672
|
linewidth: (l = (a = e == null ? void 0 : e.tagNormalLineConfig) == null ? void 0 : a.lineWidth) != null ? l : 1.2,
|
|
@@ -33740,7 +33741,7 @@ class B8 extends hr {
|
|
|
33740
33741
|
}
|
|
33741
33742
|
if (o.position = new A.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 = (y = this.screenPosition.scale) != null ? y : 1, o.visible = this.visible, !this.five.renderer)
|
|
33742
33743
|
return;
|
|
33743
|
-
const a = this.five.renderer.getSize(_c), l =
|
|
33744
|
+
const a = this.five.renderer.getSize(_c), l = ai(
|
|
33744
33745
|
Re(this.originPosition),
|
|
33745
33746
|
this.plugin.workUtil.transform
|
|
33746
33747
|
).toArray();
|
|
@@ -33832,7 +33833,7 @@ const Q1 = 1, gg = `CSS3DObject@${Q1}`, V8 = 216e-5, F8 = 3e-3;
|
|
|
33832
33833
|
class X1 extends Vn {
|
|
33833
33834
|
constructor(e) {
|
|
33834
33835
|
var L, S, j, T, O;
|
|
33835
|
-
if (
|
|
33836
|
+
if (yi(e.cornerPoints) && yi(e.width))
|
|
33836
33837
|
throw new Error("cornerPoints and width cannot be both empty");
|
|
33837
33838
|
const i = (L = e.container) != null ? L : document.createElement("div"), s = (S = e.cornerPoints) != null ? S : (() => {
|
|
33838
33839
|
const y = e.width / 2;
|
|
@@ -34161,20 +34162,20 @@ function bg(n) {
|
|
|
34161
34162
|
return {
|
|
34162
34163
|
c() {
|
|
34163
34164
|
t = W("div"), P(t, "class", "shadow svelte-faoauy"), P(t, "style", e = `
|
|
34164
|
-
left: ${
|
|
34165
|
+
left: ${ji(
|
|
34165
34166
|
/*left*/
|
|
34166
34167
|
n[5]
|
|
34167
34168
|
)};
|
|
34168
|
-
bottom: ${
|
|
34169
|
+
bottom: ${ji(
|
|
34169
34170
|
/*bottom*/
|
|
34170
34171
|
n[6]
|
|
34171
34172
|
)};
|
|
34172
34173
|
border-radius: ${/*round*/
|
|
34173
34174
|
n[10] ? "9999px" : "0"};
|
|
34174
|
-
box-shadow: 0 0 ${
|
|
34175
|
+
box-shadow: 0 0 ${ji(
|
|
34175
34176
|
/*blurRadius*/
|
|
34176
34177
|
n[11]
|
|
34177
|
-
)} ${
|
|
34178
|
+
)} ${ji(
|
|
34178
34179
|
/*spreadRadius*/
|
|
34179
34180
|
n[12]
|
|
34180
34181
|
)} rgba(0, 0, 0, ${/*opacity*/
|
|
@@ -34185,10 +34186,10 @@ function bg(n) {
|
|
|
34185
34186
|
n[9] ? "transform: translateX(-50%); top: 50%" : ""}
|
|
34186
34187
|
${/*center*/
|
|
34187
34188
|
n[7] ? "transform: translate(-50%, -50%); left: 50%; top: 50%;" : ""}
|
|
34188
|
-
`), R(t, "width",
|
|
34189
|
+
`), R(t, "width", ji(
|
|
34189
34190
|
/*width*/
|
|
34190
34191
|
n[3]
|
|
34191
|
-
)), R(t, "height",
|
|
34192
|
+
)), R(t, "height", ji(
|
|
34192
34193
|
/*height*/
|
|
34193
34194
|
n[4]
|
|
34194
34195
|
)), R(
|
|
@@ -34204,20 +34205,20 @@ function bg(n) {
|
|
|
34204
34205
|
p(r, a) {
|
|
34205
34206
|
n = r, (!o || a & /*left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
34206
34207
|
16352 && e !== (e = `
|
|
34207
|
-
left: ${
|
|
34208
|
+
left: ${ji(
|
|
34208
34209
|
/*left*/
|
|
34209
34210
|
n[5]
|
|
34210
34211
|
)};
|
|
34211
|
-
bottom: ${
|
|
34212
|
+
bottom: ${ji(
|
|
34212
34213
|
/*bottom*/
|
|
34213
34214
|
n[6]
|
|
34214
34215
|
)};
|
|
34215
34216
|
border-radius: ${/*round*/
|
|
34216
34217
|
n[10] ? "9999px" : "0"};
|
|
34217
|
-
box-shadow: 0 0 ${
|
|
34218
|
+
box-shadow: 0 0 ${ji(
|
|
34218
34219
|
/*blurRadius*/
|
|
34219
34220
|
n[11]
|
|
34220
|
-
)} ${
|
|
34221
|
+
)} ${ji(
|
|
34221
34222
|
/*spreadRadius*/
|
|
34222
34223
|
n[12]
|
|
34223
34224
|
)} rgba(0, 0, 0, ${/*opacity*/
|
|
@@ -34232,11 +34233,11 @@ function bg(n) {
|
|
|
34232
34233
|
const l = a & /*left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
34233
34234
|
16352;
|
|
34234
34235
|
(l || a & /*width, left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
34235
|
-
16360) && R(t, "width",
|
|
34236
|
+
16360) && R(t, "width", ji(
|
|
34236
34237
|
/*width*/
|
|
34237
34238
|
n[3]
|
|
34238
34239
|
)), (l || a & /*height, left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
34239
|
-
16368) && R(t, "height",
|
|
34240
|
+
16368) && R(t, "height", ji(
|
|
34240
34241
|
/*height*/
|
|
34241
34242
|
n[4]
|
|
34242
34243
|
)), (l || a & /*zIndex, left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
|
|
@@ -34296,7 +34297,7 @@ function X8(n) {
|
|
|
34296
34297
|
}
|
|
34297
34298
|
};
|
|
34298
34299
|
}
|
|
34299
|
-
function
|
|
34300
|
+
function ji(n) {
|
|
34300
34301
|
return typeof n == "number" ? n / 16 + "rem" : n;
|
|
34301
34302
|
}
|
|
34302
34303
|
function Y8(n, t, e) {
|
|
@@ -34497,7 +34498,7 @@ function eM(n) {
|
|
|
34497
34498
|
p(r, [a]) {
|
|
34498
34499
|
a & /*spanEleList, contentList, __SpaceFlag__, __NewLineFlag__*/
|
|
34499
34500
|
30 && (s = /*contentList*/
|
|
34500
|
-
r[2], t =
|
|
34501
|
+
r[2], t = di(t, a, o, 1, r, s, e, i.parentNode, Aa, yg, i, Ag));
|
|
34501
34502
|
},
|
|
34502
34503
|
i: se,
|
|
34503
34504
|
o: se,
|
|
@@ -34974,7 +34975,7 @@ function Ig(n) {
|
|
|
34974
34975
|
},
|
|
34975
34976
|
m(u, p) {
|
|
34976
34977
|
pe(t, u, p), X(u, e, p), pe(i, u, p), X(u, s, p), X(u, o, p), pe(r, o, null), a = !0, l || (c = [
|
|
34977
|
-
|
|
34978
|
+
ci(Fi.call(null, o)),
|
|
34978
34979
|
je(
|
|
34979
34980
|
o,
|
|
34980
34981
|
"clientWidth",
|
|
@@ -35110,7 +35111,7 @@ class fM extends Pe {
|
|
|
35110
35111
|
super(), we(this, t, uM, dM, ye, { tag: 0 }, hM);
|
|
35111
35112
|
}
|
|
35112
35113
|
}
|
|
35113
|
-
function
|
|
35114
|
+
function xi(n) {
|
|
35114
35115
|
return typeof n == "number" ? n / 16 + "rem" : n;
|
|
35115
35116
|
}
|
|
35116
35117
|
function pM(n) {
|
|
@@ -35272,7 +35273,7 @@ function bM(n) {
|
|
|
35272
35273
|
return e = a(n), i = r[e] = o[e](n), {
|
|
35273
35274
|
c() {
|
|
35274
35275
|
t = W("div"), i.c(), P(t, "class", "text svelte-1j0cz4o"), R(t, "max-width", typeof /*maxWidth*/
|
|
35275
|
-
n[1] == "number" ?
|
|
35276
|
+
n[1] == "number" ? xi(
|
|
35276
35277
|
/*maxWidth*/
|
|
35277
35278
|
n[1]
|
|
35278
35279
|
) : (
|
|
@@ -35294,7 +35295,7 @@ function bM(n) {
|
|
|
35294
35295
|
r[h] = null;
|
|
35295
35296
|
}), xe(), i = r[e], i ? i.p(l, c) : (i = r[e] = o[e](l), i.c()), H(i, 1), i.m(t, null)), c & /*maxWidth*/
|
|
35296
35297
|
2 && R(t, "max-width", typeof /*maxWidth*/
|
|
35297
|
-
l[1] == "number" ?
|
|
35298
|
+
l[1] == "number" ? xi(
|
|
35298
35299
|
/*maxWidth*/
|
|
35299
35300
|
l[1]
|
|
35300
35301
|
) : (
|
|
@@ -35909,7 +35910,7 @@ function BM(n) {
|
|
|
35909
35910
|
7 && (o = Array(
|
|
35910
35911
|
/*pagesCount*/
|
|
35911
35912
|
a[0]
|
|
35912
|
-
), ke(), e =
|
|
35913
|
+
), ke(), e = di(e, l, r, 1, a, o, i, t, mn, Tg, null, Dg), xe());
|
|
35913
35914
|
},
|
|
35914
35915
|
i(a) {
|
|
35915
35916
|
if (!s) {
|
|
@@ -36716,7 +36717,7 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36716
36717
|
return x ? "Symbol(src)_1." + x : "";
|
|
36717
36718
|
}(), at = Ze.toString, ct = rt.hasOwnProperty, Vt = rt.toString, Ji = RegExp(
|
|
36718
36719
|
"^" + at.call(ct).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
36719
|
-
), Xt = Me ? ue.Buffer : void 0,
|
|
36720
|
+
), Xt = Me ? ue.Buffer : void 0, ui = ue.Symbol, Pi = ue.Uint8Array, ht = Ie(Object.getPrototypeOf, Object), Yt = Object.create, Zt = rt.propertyIsEnumerable, ur = Xe.splice, Is = Object.getOwnPropertySymbols, Gn = Xt ? Xt.isBuffer : void 0, oo = Ie(Object.keys, Object), Wn = U(ue, "DataView"), zi = U(ue, "Map"), Ci = U(ue, "Promise"), Un = U(ue, "Set"), Qn = U(ue, "WeakMap"), Ki = U(Object, "create"), bn = oi(Wn), An = oi(zi), Es = oi(Ci), Ms = oi(Un), Xn = oi(Qn), $i = ui ? ui.prototype : void 0, ro = $i ? $i.valueOf : void 0;
|
|
36720
36721
|
function Hi(x) {
|
|
36721
36722
|
var G = -1, J = x ? x.length : 0;
|
|
36722
36723
|
for (this.clear(); ++G < J; ) {
|
|
@@ -36758,21 +36759,21 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36758
36759
|
this.__data__ = [];
|
|
36759
36760
|
}
|
|
36760
36761
|
function gr(x) {
|
|
36761
|
-
var G = this.__data__, J =
|
|
36762
|
+
var G = this.__data__, J = Oi(G, x);
|
|
36762
36763
|
if (J < 0)
|
|
36763
36764
|
return !1;
|
|
36764
36765
|
var ce = G.length - 1;
|
|
36765
36766
|
return J == ce ? G.pop() : ur.call(G, J, 1), !0;
|
|
36766
36767
|
}
|
|
36767
36768
|
function lo(x) {
|
|
36768
|
-
var G = this.__data__, J =
|
|
36769
|
+
var G = this.__data__, J = Oi(G, x);
|
|
36769
36770
|
return J < 0 ? void 0 : G[J][1];
|
|
36770
36771
|
}
|
|
36771
36772
|
function co(x) {
|
|
36772
|
-
return
|
|
36773
|
+
return Oi(this.__data__, x) > -1;
|
|
36773
36774
|
}
|
|
36774
36775
|
function ho(x, G) {
|
|
36775
|
-
var J = this.__data__, ce =
|
|
36776
|
+
var J = this.__data__, ce = Oi(J, x);
|
|
36776
36777
|
return ce < 0 ? J.push([x, G]) : J[ce][1] = G, this;
|
|
36777
36778
|
}
|
|
36778
36779
|
Ot.prototype.clear = ao, Ot.prototype.delete = gr, Ot.prototype.get = lo, Ot.prototype.has = co, Ot.prototype.set = ho;
|
|
@@ -36786,7 +36787,7 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36786
36787
|
function xs() {
|
|
36787
36788
|
this.__data__ = {
|
|
36788
36789
|
hash: new Hi(),
|
|
36789
|
-
map: new (
|
|
36790
|
+
map: new (zi || Ot)(),
|
|
36790
36791
|
string: new Hi()
|
|
36791
36792
|
};
|
|
36792
36793
|
}
|
|
@@ -36822,7 +36823,7 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36822
36823
|
var J = this.__data__;
|
|
36823
36824
|
if (J instanceof Ot) {
|
|
36824
36825
|
var ce = J.__data__;
|
|
36825
|
-
if (!
|
|
36826
|
+
if (!zi || ce.length < e - 1)
|
|
36826
36827
|
return ce.push([x, G]), this;
|
|
36827
36828
|
J = this.__data__ = new jt(ce);
|
|
36828
36829
|
}
|
|
@@ -36835,11 +36836,11 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36835
36836
|
(G || ct.call(x, Ne)) && !(Ue && (Ne == "length" || Ct(Ne, ce))) && J.push(Ne);
|
|
36836
36837
|
return J;
|
|
36837
36838
|
}
|
|
36838
|
-
function
|
|
36839
|
+
function fi(x, G, J) {
|
|
36839
36840
|
var ce = x[G];
|
|
36840
36841
|
(!(ct.call(x, G) && Ea(ce, J)) || J === void 0 && !(G in x)) && (x[G] = J);
|
|
36841
36842
|
}
|
|
36842
|
-
function
|
|
36843
|
+
function Oi(x, G) {
|
|
36843
36844
|
for (var J = x.length; J--; )
|
|
36844
36845
|
if (Ea(x[J][0], G))
|
|
36845
36846
|
return J;
|
|
@@ -36874,13 +36875,13 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36874
36875
|
}
|
|
36875
36876
|
}
|
|
36876
36877
|
Je || (Je = new Ft());
|
|
36877
|
-
var
|
|
36878
|
-
if (
|
|
36879
|
-
return
|
|
36878
|
+
var pi = Je.get(x);
|
|
36879
|
+
if (pi)
|
|
36880
|
+
return pi;
|
|
36880
36881
|
if (Je.set(x, it), !Dt)
|
|
36881
36882
|
var _t = J ? yr(x) : Cr(x);
|
|
36882
36883
|
return Se(_t || x, function(Kt, Nt) {
|
|
36883
|
-
_t && (Nt = Kt, Kt = x[Nt]),
|
|
36884
|
+
_t && (Nt = Kt, Kt = x[Nt]), fi(it, Nt, ii(Kt, G, J, ce, Nt, x, Je));
|
|
36884
36885
|
}), it;
|
|
36885
36886
|
}
|
|
36886
36887
|
function uo(x) {
|
|
@@ -36915,7 +36916,7 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36915
36916
|
}
|
|
36916
36917
|
function Cn(x) {
|
|
36917
36918
|
var G = new x.constructor(x.byteLength);
|
|
36918
|
-
return new
|
|
36919
|
+
return new Pi(G).set(new Pi(x)), G;
|
|
36919
36920
|
}
|
|
36920
36921
|
function Gi(x, G) {
|
|
36921
36922
|
var J = G ? Cn(x.buffer) : x.buffer;
|
|
@@ -36929,7 +36930,7 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36929
36930
|
var G = new x.constructor(x.source, V.exec(x));
|
|
36930
36931
|
return G.lastIndex = x.lastIndex, G;
|
|
36931
36932
|
}
|
|
36932
|
-
function
|
|
36933
|
+
function Ii(x, G, J) {
|
|
36933
36934
|
var ce = G ? J(Oe(x), !0) : Oe(x);
|
|
36934
36935
|
return Te(ce, le, new x.constructor());
|
|
36935
36936
|
}
|
|
@@ -36950,7 +36951,7 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36950
36951
|
J || (J = {});
|
|
36951
36952
|
for (var Ue = -1, Ne = G.length; ++Ue < Ne; ) {
|
|
36952
36953
|
var Je = G[Ue], it = ce ? ce(J[Je], x[Je], Je, J, x) : void 0;
|
|
36953
|
-
|
|
36954
|
+
fi(J, Je, it === void 0 ? x[Je] : it);
|
|
36954
36955
|
}
|
|
36955
36956
|
return J;
|
|
36956
36957
|
}
|
|
@@ -36969,7 +36970,7 @@ var Za = Ax, zl = {}, yx = {
|
|
|
36969
36970
|
return ni(J) ? J : void 0;
|
|
36970
36971
|
}
|
|
36971
36972
|
var Z = Is ? Ie(Is, Object) : hc, ne = Jn;
|
|
36972
|
-
(Wn && ne(new Wn(new ArrayBuffer(1))) != S ||
|
|
36973
|
+
(Wn && ne(new Wn(new ArrayBuffer(1))) != S || zi && ne(new zi()) != u || Ci && ne(Ci.resolve()) != m || Un && ne(new Un()) != b || Qn && ne(new Qn()) != C) && (ne = function(x) {
|
|
36973
36974
|
var G = Vt.call(x), J = G == g ? x.constructor : void 0, ce = J ? oi(J) : void 0;
|
|
36974
36975
|
if (ce)
|
|
36975
36976
|
switch (ce) {
|
|
@@ -37021,7 +37022,7 @@ var Za = Ax, zl = {}, yx = {
|
|
|
37021
37022
|
case v:
|
|
37022
37023
|
return In(x);
|
|
37023
37024
|
case b:
|
|
37024
|
-
return
|
|
37025
|
+
return Ii(x, ce, J);
|
|
37025
37026
|
case I:
|
|
37026
37027
|
return br(x);
|
|
37027
37028
|
}
|
|
@@ -37164,12 +37165,12 @@ var Ol = {}, Px = {
|
|
|
37164
37165
|
J[++G] = ce;
|
|
37165
37166
|
}), J;
|
|
37166
37167
|
}
|
|
37167
|
-
var Vt = Array.prototype, Ji = Function.prototype, Xt = Object.prototype,
|
|
37168
|
-
var x = /[^.]+$/.exec(
|
|
37168
|
+
var Vt = Array.prototype, Ji = Function.prototype, Xt = Object.prototype, ui = le["__core-js_shared__"], Pi = Ji.toString, ht = Xt.hasOwnProperty, Yt = function() {
|
|
37169
|
+
var x = /[^.]+$/.exec(ui && ui.keys && ui.keys.IE_PROTO || "");
|
|
37169
37170
|
return x ? "Symbol(src)_1." + x : "";
|
|
37170
37171
|
}(), Zt = Xt.toString, ur = RegExp(
|
|
37171
|
-
"^" +
|
|
37172
|
-
), Is = Te ? le.Buffer : void 0, Gn = le.Symbol, oo = le.Uint8Array, Wn = Xt.propertyIsEnumerable,
|
|
37172
|
+
"^" + Pi.call(ht).replace($, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
37173
|
+
), Is = Te ? le.Buffer : void 0, Gn = le.Symbol, oo = le.Uint8Array, Wn = Xt.propertyIsEnumerable, zi = Vt.splice, Ci = Gn ? Gn.toStringTag : void 0, Un = Object.getOwnPropertySymbols, Qn = Is ? Is.isBuffer : void 0, Ki = at(Object.keys, Object), bn = Z(le, "DataView"), An = Z(le, "Map"), Es = Z(le, "Promise"), Ms = Z(le, "Set"), Xn = Z(le, "WeakMap"), $i = Z(Object, "create"), ro = oi(bn), Hi = oi(An), Yn = oi(Es), fr = oi(Ms), pr = oi(Xn), ks = Gn ? Gn.prototype : void 0, yn = ks ? ks.valueOf : void 0;
|
|
37173
37174
|
function Ot(x) {
|
|
37174
37175
|
var G = -1, J = x == null ? 0 : x.length;
|
|
37175
37176
|
for (this.clear(); ++G < J; ) {
|
|
@@ -37216,7 +37217,7 @@ var Ol = {}, Px = {
|
|
|
37216
37217
|
if (J < 0)
|
|
37217
37218
|
return !1;
|
|
37218
37219
|
var ce = G.length - 1;
|
|
37219
|
-
return J == ce ? G.pop() :
|
|
37220
|
+
return J == ce ? G.pop() : zi.call(G, J, 1), --this.size, !0;
|
|
37220
37221
|
}
|
|
37221
37222
|
function wn(x) {
|
|
37222
37223
|
var G = this.__data__, J = tn(G, x);
|
|
@@ -37264,13 +37265,13 @@ var Ol = {}, Px = {
|
|
|
37264
37265
|
for (this.__data__ = new Ft(); ++G < J; )
|
|
37265
37266
|
this.add(x[G]);
|
|
37266
37267
|
}
|
|
37267
|
-
function
|
|
37268
|
+
function fi(x) {
|
|
37268
37269
|
return this.__data__.set(x, i), this;
|
|
37269
37270
|
}
|
|
37270
|
-
function
|
|
37271
|
+
function Oi(x) {
|
|
37271
37272
|
return this.__data__.has(x);
|
|
37272
37273
|
}
|
|
37273
|
-
ti.prototype.add = ti.prototype.push =
|
|
37274
|
+
ti.prototype.add = ti.prototype.push = fi, ti.prototype.has = Oi;
|
|
37274
37275
|
function kt(x) {
|
|
37275
37276
|
var G = this.__data__ = new jt(x);
|
|
37276
37277
|
this.size = G.size;
|
|
@@ -37320,18 +37321,18 @@ var Ol = {}, Px = {
|
|
|
37320
37321
|
return go(x) ? ce : Ie(ce, J(x));
|
|
37321
37322
|
}
|
|
37322
37323
|
function Gi(x) {
|
|
37323
|
-
return x == null ? x === void 0 ? O : b :
|
|
37324
|
+
return x == null ? x === void 0 ? O : b : Ci && Ci in Object(x) ? ne(x) : si(x);
|
|
37324
37325
|
}
|
|
37325
37326
|
function $n(x) {
|
|
37326
37327
|
return nn(x) && Gi(x) == a;
|
|
37327
37328
|
}
|
|
37328
37329
|
function In(x, G, J, ce, Ue) {
|
|
37329
|
-
return x === G ? !0 : x == null || G == null || !nn(x) && !nn(G) ? x !== x && G !== G :
|
|
37330
|
+
return x === G ? !0 : x == null || G == null || !nn(x) && !nn(G) ? x !== x && G !== G : Ii(x, G, J, ce, In, Ue);
|
|
37330
37331
|
}
|
|
37331
|
-
function
|
|
37332
|
+
function Ii(x, G, J, ce, Ue, Ne) {
|
|
37332
37333
|
var Je = go(x), it = go(G), Dt = Je ? l : ze(x), st = it ? l : ze(G);
|
|
37333
37334
|
Dt = Dt == a ? w : Dt, st = st == a ? w : st;
|
|
37334
|
-
var Jt = Dt == w,
|
|
37335
|
+
var Jt = Dt == w, pi = st == w, _t = Dt == st;
|
|
37335
37336
|
if (_t && mo(x)) {
|
|
37336
37337
|
if (!mo(G))
|
|
37337
37338
|
return !1;
|
|
@@ -37340,7 +37341,7 @@ var Ol = {}, Px = {
|
|
|
37340
37341
|
if (_t && !Jt)
|
|
37341
37342
|
return Ne || (Ne = new kt()), Je || xa(x) ? es(x, G, J, ce, Ue, Ne) : Ar(x, G, Dt, J, ce, Ue, Ne);
|
|
37342
37343
|
if (!(J & s)) {
|
|
37343
|
-
var Kt = Jt && ht.call(x, "__wrapped__"), Nt =
|
|
37344
|
+
var Kt = Jt && ht.call(x, "__wrapped__"), Nt = pi && ht.call(G, "__wrapped__");
|
|
37344
37345
|
if (Kt || Nt) {
|
|
37345
37346
|
var ts = Kt ? x.value() : x, En = Nt ? G.value() : G;
|
|
37346
37347
|
return Ne || (Ne = new kt()), Ue(ts, En, J, ce, Ne);
|
|
@@ -37372,7 +37373,7 @@ var Ol = {}, Px = {
|
|
|
37372
37373
|
var st = Ne.get(x);
|
|
37373
37374
|
if (st && Ne.get(G))
|
|
37374
37375
|
return st == G;
|
|
37375
|
-
var Jt = -1,
|
|
37376
|
+
var Jt = -1, pi = !0, _t = J & o ? new ti() : void 0;
|
|
37376
37377
|
for (Ne.set(x, G), Ne.set(G, x); ++Jt < it; ) {
|
|
37377
37378
|
var Kt = x[Jt], Nt = G[Jt];
|
|
37378
37379
|
if (ce)
|
|
@@ -37380,7 +37381,7 @@ var Ol = {}, Px = {
|
|
|
37380
37381
|
if (ts !== void 0) {
|
|
37381
37382
|
if (ts)
|
|
37382
37383
|
continue;
|
|
37383
|
-
|
|
37384
|
+
pi = !1;
|
|
37384
37385
|
break;
|
|
37385
37386
|
}
|
|
37386
37387
|
if (_t) {
|
|
@@ -37388,15 +37389,15 @@ var Ol = {}, Px = {
|
|
|
37388
37389
|
if (!rt(_t, Ds) && (Kt === En || Ue(Kt, En, J, ce, Ne)))
|
|
37389
37390
|
return _t.push(Ds);
|
|
37390
37391
|
})) {
|
|
37391
|
-
|
|
37392
|
+
pi = !1;
|
|
37392
37393
|
break;
|
|
37393
37394
|
}
|
|
37394
37395
|
} else if (!(Kt === Nt || Ue(Kt, Nt, J, ce, Ne))) {
|
|
37395
|
-
|
|
37396
|
+
pi = !1;
|
|
37396
37397
|
break;
|
|
37397
37398
|
}
|
|
37398
37399
|
}
|
|
37399
|
-
return Ne.delete(x), Ne.delete(G),
|
|
37400
|
+
return Ne.delete(x), Ne.delete(G), pi;
|
|
37400
37401
|
}
|
|
37401
37402
|
function Ar(x, G, J, ce, Ue, Ne, Je) {
|
|
37402
37403
|
switch (J) {
|
|
@@ -37437,8 +37438,8 @@ var Ol = {}, Px = {
|
|
|
37437
37438
|
var Je = J & s, it = F(x), Dt = it.length, st = F(G), Jt = st.length;
|
|
37438
37439
|
if (Dt != Jt && !Je)
|
|
37439
37440
|
return !1;
|
|
37440
|
-
for (var
|
|
37441
|
-
var _t = it[
|
|
37441
|
+
for (var pi = Dt; pi--; ) {
|
|
37442
|
+
var _t = it[pi];
|
|
37442
37443
|
if (!(Je ? _t in G : ht.call(G, _t)))
|
|
37443
37444
|
return !1;
|
|
37444
37445
|
}
|
|
@@ -37447,8 +37448,8 @@ var Ol = {}, Px = {
|
|
|
37447
37448
|
return Kt == G;
|
|
37448
37449
|
var Nt = !0;
|
|
37449
37450
|
Ne.set(x, G), Ne.set(G, x);
|
|
37450
|
-
for (var ts = Je; ++
|
|
37451
|
-
_t = it[
|
|
37451
|
+
for (var ts = Je; ++pi < Dt; ) {
|
|
37452
|
+
_t = it[pi];
|
|
37452
37453
|
var En = x[_t], Ds = G[_t];
|
|
37453
37454
|
if (ce)
|
|
37454
37455
|
var bu = Je ? ce(Ds, En, _t, G, x, Ne) : ce(En, Ds, _t, x, G, Ne);
|
|
@@ -37476,14 +37477,14 @@ var Ol = {}, Px = {
|
|
|
37476
37477
|
return br(J) ? J : void 0;
|
|
37477
37478
|
}
|
|
37478
37479
|
function ne(x) {
|
|
37479
|
-
var G = ht.call(x,
|
|
37480
|
+
var G = ht.call(x, Ci), J = x[Ci];
|
|
37480
37481
|
try {
|
|
37481
|
-
x[
|
|
37482
|
+
x[Ci] = void 0;
|
|
37482
37483
|
var ce = !0;
|
|
37483
37484
|
} catch (Ne) {
|
|
37484
37485
|
}
|
|
37485
37486
|
var Ue = Zt.call(x);
|
|
37486
|
-
return ce && (G ? x[
|
|
37487
|
+
return ce && (G ? x[Ci] = J : delete x[Ci]), Ue;
|
|
37487
37488
|
}
|
|
37488
37489
|
var Ae = Un ? function(x) {
|
|
37489
37490
|
return x == null ? [] : (x = Object(x), ve(Un(x), function(G) {
|
|
@@ -37527,7 +37528,7 @@ var Ol = {}, Px = {
|
|
|
37527
37528
|
function oi(x) {
|
|
37528
37529
|
if (x != null) {
|
|
37529
37530
|
try {
|
|
37530
|
-
return
|
|
37531
|
+
return Pi.call(x);
|
|
37531
37532
|
} catch (G) {
|
|
37532
37533
|
}
|
|
37533
37534
|
try {
|
|
@@ -38400,7 +38401,7 @@ function Wx(n) {
|
|
|
38400
38401
|
},
|
|
38401
38402
|
m(I, C) {
|
|
38402
38403
|
X(I, t, C), B(t, e), p && p.m(e, null), B(e, i), B(e, s), B(s, o), m && m.m(o, null), n[39](o), B(s, a), v && v.m(s, null), n[40](s), B(e, l), b && b.m(e, null), B(t, c), w && w.m(t, null), h = !0, d || (u = [
|
|
38403
|
-
|
|
38404
|
+
ci(r = ik.call(null, o, {
|
|
38404
38405
|
thresholdProvider: (
|
|
38405
38406
|
/*swipeable_function*/
|
|
38406
38407
|
n[38]
|
|
@@ -38436,14 +38437,14 @@ function Wx(n) {
|
|
|
38436
38437
|
/*handleSwipeThresholdReached*/
|
|
38437
38438
|
n[17]
|
|
38438
38439
|
),
|
|
38439
|
-
|
|
38440
|
+
ci(rk.call(null, s)),
|
|
38440
38441
|
je(
|
|
38441
38442
|
s,
|
|
38442
38443
|
"hovered",
|
|
38443
38444
|
/*handleHovered*/
|
|
38444
38445
|
n[21]
|
|
38445
38446
|
),
|
|
38446
|
-
|
|
38447
|
+
ci(dk.call(null, s)),
|
|
38447
38448
|
je(
|
|
38448
38449
|
s,
|
|
38449
38450
|
"tapped",
|
|
@@ -38490,7 +38491,7 @@ function Wx(n) {
|
|
|
38490
38491
|
"transition-timing-function",
|
|
38491
38492
|
/*timingFunction*/
|
|
38492
38493
|
I[0]
|
|
38493
|
-
), r &&
|
|
38494
|
+
), r && li(r.update) && C[0] & /*pageWindowWidth*/
|
|
38494
38495
|
2048 && r.update.call(null, {
|
|
38495
38496
|
thresholdProvider: (
|
|
38496
38497
|
/*swipeable_function*/
|
|
@@ -39471,7 +39472,7 @@ function n9(n) {
|
|
|
39471
39472
|
e = !1;
|
|
39472
39473
|
},
|
|
39473
39474
|
d(r) {
|
|
39474
|
-
|
|
39475
|
+
Li(s, r), r && Q(t);
|
|
39475
39476
|
}
|
|
39476
39477
|
};
|
|
39477
39478
|
}
|
|
@@ -39887,7 +39888,7 @@ function rm(n) {
|
|
|
39887
39888
|
for (let u = 0; u < c.length; u += 1)
|
|
39888
39889
|
c[u] && c[u].m(e, null);
|
|
39889
39890
|
s || (o = [
|
|
39890
|
-
|
|
39891
|
+
ci(Fi.call(null, e)),
|
|
39891
39892
|
je(
|
|
39892
39893
|
e,
|
|
39893
39894
|
"clientHeight",
|
|
@@ -39925,7 +39926,7 @@ function rm(n) {
|
|
|
39925
39926
|
}
|
|
39926
39927
|
},
|
|
39927
39928
|
d(h) {
|
|
39928
|
-
h && Q(t),
|
|
39929
|
+
h && Q(t), Li(a, h), Li(c, h), s = !1, ut(o);
|
|
39929
39930
|
}
|
|
39930
39931
|
};
|
|
39931
39932
|
}
|
|
@@ -40205,7 +40206,7 @@ function g9(n) {
|
|
|
40205
40206
|
"padding-top",
|
|
40206
40207
|
/*data*/
|
|
40207
40208
|
n[1].headerPictureUrl ? "10px" : "20px"
|
|
40208
|
-
), P(r, "class", "content svelte-12mj8bz"), R(r, "max-width",
|
|
40209
|
+
), P(r, "class", "content svelte-12mj8bz"), R(r, "max-width", xi(
|
|
40209
40210
|
/*maxWidth*/
|
|
40210
40211
|
n[15]
|
|
40211
40212
|
)), R(
|
|
@@ -40966,7 +40967,7 @@ function I9(n, t, e) {
|
|
|
40966
40967
|
}, n.$$.update = () => {
|
|
40967
40968
|
var m;
|
|
40968
40969
|
n.$$.dirty & /*width*/
|
|
40969
|
-
64 && e(4, i = typeof l == "number" ?
|
|
40970
|
+
64 && e(4, i = typeof l == "number" ? xi(l) : l), n.$$.dirty & /*playing, timer, animationStep*/
|
|
40970
40971
|
800 && (o ? u || e(9, u = setInterval(
|
|
40971
40972
|
() => {
|
|
40972
40973
|
e(8, d = (d + 1) % p.length);
|
|
@@ -41085,7 +41086,7 @@ function vm(n) {
|
|
|
41085
41086
|
/*clickContent*/
|
|
41086
41087
|
n[7]
|
|
41087
41088
|
),
|
|
41088
|
-
|
|
41089
|
+
ci(Fi.call(null, l)),
|
|
41089
41090
|
je(
|
|
41090
41091
|
l,
|
|
41091
41092
|
"clientWidth",
|
|
@@ -42244,7 +42245,7 @@ function $9(n) {
|
|
|
42244
42245
|
return {
|
|
42245
42246
|
c() {
|
|
42246
42247
|
s && s.c(), t = ae(), e = W("img"), P(e, "alt", "tag-icon"), P(e, "class", "icon-image svelte-o1ee3r"), dt(e.src, i = /*iconUrl*/
|
|
42247
|
-
n[4]) || P(e, "src", i), R(e, "width",
|
|
42248
|
+
n[4]) || P(e, "src", i), R(e, "width", xi(hs({
|
|
42248
42249
|
originWidth: (
|
|
42249
42250
|
/*width*/
|
|
42250
42251
|
n[1]
|
|
@@ -42267,7 +42268,7 @@ function $9(n) {
|
|
|
42267
42268
|
o[14] ? s ? s.p(o, r) : (s = Mm(o), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), r & /*iconUrl*/
|
|
42268
42269
|
16 && !dt(e.src, i = /*iconUrl*/
|
|
42269
42270
|
o[4]) && P(e, "src", i), r & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
42270
|
-
3600 && R(e, "width",
|
|
42271
|
+
3600 && R(e, "width", xi(hs({
|
|
42271
42272
|
originWidth: (
|
|
42272
42273
|
/*width*/
|
|
42273
42274
|
o[1]
|
|
@@ -42348,7 +42349,7 @@ function iS(n) {
|
|
|
42348
42349
|
let r = o(n, -1), a = r(n);
|
|
42349
42350
|
return {
|
|
42350
42351
|
c() {
|
|
42351
|
-
s && s.c(), t = ae(), e = W("div"), a.c(), P(e, "class", "icon-svg svelte-o1ee3r"), R(e, "width",
|
|
42352
|
+
s && s.c(), t = ae(), e = W("div"), a.c(), P(e, "class", "icon-svg svelte-o1ee3r"), R(e, "width", xi(hs({
|
|
42352
42353
|
originWidth: (
|
|
42353
42354
|
/*width*/
|
|
42354
42355
|
n[1]
|
|
@@ -42369,7 +42370,7 @@ function iS(n) {
|
|
|
42369
42370
|
p(l, c) {
|
|
42370
42371
|
Pm(l), /*bgcolor*/
|
|
42371
42372
|
l[14] ? s ? s.p(l, c) : (s = km(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*/
|
|
42372
|
-
3600 && R(e, "width",
|
|
42373
|
+
3600 && R(e, "width", xi(hs({
|
|
42373
42374
|
originWidth: (
|
|
42374
42375
|
/*width*/
|
|
42375
42376
|
l[1]
|
|
@@ -42487,7 +42488,7 @@ function aS(n) {
|
|
|
42487
42488
|
n[28] - 1})`;
|
|
42488
42489
|
return {
|
|
42489
42490
|
c() {
|
|
42490
|
-
t = W("div"), P(t, "class", "icon-keyframe svelte-o1ee3r"), R(t, "width",
|
|
42491
|
+
t = W("div"), P(t, "class", "icon-keyframe svelte-o1ee3r"), R(t, "width", xi(hs({
|
|
42491
42492
|
originWidth: (
|
|
42492
42493
|
/*width*/
|
|
42493
42494
|
n[1]
|
|
@@ -42504,7 +42505,7 @@ function aS(n) {
|
|
|
42504
42505
|
/*iconWidth*/
|
|
42505
42506
|
n[9]
|
|
42506
42507
|
)
|
|
42507
|
-
}).width)), R(t, "height",
|
|
42508
|
+
}).width)), R(t, "height", xi(hs({
|
|
42508
42509
|
originWidth: (
|
|
42509
42510
|
/*width*/
|
|
42510
42511
|
n[1]
|
|
@@ -42533,7 +42534,7 @@ function aS(n) {
|
|
|
42533
42534
|
},
|
|
42534
42535
|
p(s, o) {
|
|
42535
42536
|
Cm(s), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
42536
|
-
7760 && R(t, "width",
|
|
42537
|
+
7760 && R(t, "width", xi(hs({
|
|
42537
42538
|
originWidth: (
|
|
42538
42539
|
/*width*/
|
|
42539
42540
|
s[1]
|
|
@@ -42551,7 +42552,7 @@ function aS(n) {
|
|
|
42551
42552
|
s[9]
|
|
42552
42553
|
)
|
|
42553
42554
|
}).width)), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
42554
|
-
7760 && R(t, "height",
|
|
42555
|
+
7760 && R(t, "height", xi(hs({
|
|
42555
42556
|
originWidth: (
|
|
42556
42557
|
/*width*/
|
|
42557
42558
|
s[1]
|
|
@@ -42858,7 +42859,7 @@ function pS(n, t, e) {
|
|
|
42858
42859
|
16 && e(6, r = (v = (m = h.style) == null ? void 0 : m.point) == null ? void 0 : v.width), n.$$.dirty & /*tag*/
|
|
42859
42860
|
16 && e(5, a = (I = (w = (b = h.style) == null ? void 0 : b.point) == null ? void 0 : w.scale) != null ? I : 1), n.$$.dirty & /*icon*/
|
|
42860
42861
|
1 && e(7, l = o == null ? void 0 : o.bgcolor), n.$$.dirty & /*bgcolor, width, scale*/
|
|
42861
|
-
224 && e(1, c = l && r && typeof r == "number" ?
|
|
42862
|
+
224 && e(1, c = l && r && typeof r == "number" ? xi(r * 0.414 * a / 2 + fS) : 0);
|
|
42862
42863
|
}, e(3, i = !1), [
|
|
42863
42864
|
o,
|
|
42864
42865
|
c,
|
|
@@ -43291,7 +43292,7 @@ function LS(n) {
|
|
|
43291
43292
|
"unfolded",
|
|
43292
43293
|
/*tag*/
|
|
43293
43294
|
(L = n[0].state) == null ? void 0 : L.unfolded
|
|
43294
|
-
), P(e, "class", "content__wrapper svelte-1fy4duy"), P(t, "class", p = It(
|
|
43295
|
+
), P(e, "class", "content__wrapper svelte-1fy4duy"), P(t, "class", p = It(bi(
|
|
43295
43296
|
"content__container",
|
|
43296
43297
|
/*tag*/
|
|
43297
43298
|
n[0].className
|
|
@@ -43346,7 +43347,7 @@ function LS(n) {
|
|
|
43346
43347
|
/*tag*/
|
|
43347
43348
|
(T = L[0].state) == null ? void 0 : T.unfolded
|
|
43348
43349
|
), (!m || S & /*tag*/
|
|
43349
|
-
1 && p !== (p = It(
|
|
43350
|
+
1 && p !== (p = It(bi(
|
|
43350
43351
|
"content__container",
|
|
43351
43352
|
/*tag*/
|
|
43352
43353
|
L[0].className
|
|
@@ -43412,7 +43413,7 @@ function zS(n) {
|
|
|
43412
43413
|
}
|
|
43413
43414
|
}), {
|
|
43414
43415
|
c() {
|
|
43415
|
-
t = W("div"), me(e.$$.fragment), P(t, "class", i = It(
|
|
43416
|
+
t = W("div"), me(e.$$.fragment), P(t, "class", i = It(bi(
|
|
43416
43417
|
"content__container",
|
|
43417
43418
|
/*tag*/
|
|
43418
43419
|
n[0].className
|
|
@@ -43446,7 +43447,7 @@ function zS(n) {
|
|
|
43446
43447
|
)), c & /*rendererMap*/
|
|
43447
43448
|
4 && (h.rendererMap = /*rendererMap*/
|
|
43448
43449
|
l[2]), e.$set(h), (!o || c & /*tag*/
|
|
43449
|
-
1 && i !== (i = It(
|
|
43450
|
+
1 && i !== (i = It(bi(
|
|
43450
43451
|
"content__container",
|
|
43451
43452
|
/*tag*/
|
|
43452
43453
|
l[0].className
|
|
@@ -43770,7 +43771,7 @@ function NS(n, t, e) {
|
|
|
43770
43771
|
});
|
|
43771
43772
|
}
|
|
43772
43773
|
const j = (T) => {
|
|
43773
|
-
c.entryFromModel &&
|
|
43774
|
+
c.entryFromModel && ki(c.five.state.mode) ? (T.stopPropagation(), c.find({ targetMode: "Panorama" })) : h.emit("click", { event: T, target: "TagContent", tag: c });
|
|
43774
43775
|
};
|
|
43775
43776
|
return n.$$set = (T) => {
|
|
43776
43777
|
"tag" in T && e(0, c = T.tag), "hooks" in T && e(1, h = T.hooks), "rendererMap" in T && e(2, d = T.rendererMap), "contentTypeMap" in T && e(3, u = T.contentTypeMap), "state" in T && e(6, p = T.state), "mediaStore" in T && e(7, g = T.mediaStore), "temporaryState" in T && e(8, m = T.temporaryState);
|
|
@@ -43835,7 +43836,7 @@ class db extends hr {
|
|
|
43835
43836
|
f(this, "loadModel", () => te(this, null, function* () {
|
|
43836
43837
|
var r, a;
|
|
43837
43838
|
const e = this.data.modelUrl;
|
|
43838
|
-
if (!e || (this.loading = !0, yield
|
|
43839
|
+
if (!e || (this.loading = !0, yield Di(this.five), !this.plugin.tags.includes(this)))
|
|
43839
43840
|
return;
|
|
43840
43841
|
const i = N8(e).then((l) => te(this, null, function* () {
|
|
43841
43842
|
var d;
|
|
@@ -43927,7 +43928,7 @@ function au(n, t, e) {
|
|
|
43927
43928
|
}
|
|
43928
43929
|
n.quaternion.copy(t);
|
|
43929
43930
|
}
|
|
43930
|
-
class wa extends
|
|
43931
|
+
class wa extends wi {
|
|
43931
43932
|
constructor(e, i) {
|
|
43932
43933
|
var s, o;
|
|
43933
43934
|
super();
|
|
@@ -44184,7 +44185,7 @@ function ZS(n, t, e) {
|
|
|
44184
44185
|
}
|
|
44185
44186
|
function qS(n) {
|
|
44186
44187
|
let t = n.pose.latitude, e = n.pose.longitude;
|
|
44187
|
-
if (
|
|
44188
|
+
if (yi(t) || yi(e)) {
|
|
44188
44189
|
const i = n.matrix.elements;
|
|
44189
44190
|
t = Math.asin(ZS(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e = uh(Math.atan2(i[8], i[10])) : e = uh(Math.atan2(-i[2], i[0]));
|
|
44190
44191
|
}
|
|
@@ -45420,9 +45421,9 @@ class m7 extends Pa {
|
|
|
45420
45421
|
*/
|
|
45421
45422
|
getEulerAngle(e, i) {
|
|
45422
45423
|
const { originObject3D: s } = this, o = new A.Euler().setFromQuaternion(s.quaternion), r = {
|
|
45423
|
-
x:
|
|
45424
|
-
y:
|
|
45425
|
-
z:
|
|
45424
|
+
x: mi(o.x),
|
|
45425
|
+
y: mi(o.y),
|
|
45426
|
+
z: mi(o.z)
|
|
45426
45427
|
}, a = {
|
|
45427
45428
|
x: e === "x" ? i : r.x,
|
|
45428
45429
|
y: e === "y" ? i : r.y,
|
|
@@ -45480,11 +45481,11 @@ class m7 extends Pa {
|
|
|
45480
45481
|
s = new A.Quaternion(), e.decompose(new A.Vector3(), s, new A.Vector3());
|
|
45481
45482
|
const o = new A.Euler().setFromQuaternion(s);
|
|
45482
45483
|
if (i === "x")
|
|
45483
|
-
return Math.round(
|
|
45484
|
+
return Math.round(mi(o.z));
|
|
45484
45485
|
if (i === "y")
|
|
45485
|
-
return Math.round(
|
|
45486
|
+
return Math.round(mi(o.y));
|
|
45486
45487
|
if (i === "z")
|
|
45487
|
-
return Math.round(
|
|
45488
|
+
return Math.round(mi(o.x));
|
|
45488
45489
|
}
|
|
45489
45490
|
}
|
|
45490
45491
|
parseAngleByDirection(e) {
|
|
@@ -45495,11 +45496,11 @@ class m7 extends Pa {
|
|
|
45495
45496
|
s = new A.Quaternion(), i.decompose(new A.Vector3(), s, new A.Vector3());
|
|
45496
45497
|
const a = new A.Euler().setFromQuaternion(s);
|
|
45497
45498
|
if (e === "x")
|
|
45498
|
-
return Math.round(
|
|
45499
|
+
return Math.round(mi(a.z));
|
|
45499
45500
|
if (e === "y")
|
|
45500
|
-
return Math.round(
|
|
45501
|
+
return Math.round(mi(a.y));
|
|
45501
45502
|
if (e === "z")
|
|
45502
|
-
return Math.round(
|
|
45503
|
+
return Math.round(mi(a.x));
|
|
45503
45504
|
}
|
|
45504
45505
|
}
|
|
45505
45506
|
dragging(e) {
|
|
@@ -45528,7 +45529,7 @@ class m7 extends Pa {
|
|
|
45528
45529
|
),
|
|
45529
45530
|
`${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
|
|
45530
45531
|
)[r] * o.angleDirection;
|
|
45531
|
-
if (this.startInfo.angle += I, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(
|
|
45532
|
+
if (this.startInfo.angle += I, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(mi(this.startInfo.angle)), h) {
|
|
45532
45533
|
const C = new A.Vector3().subVectors(l.position, h).applyQuaternion(m).add(h);
|
|
45533
45534
|
l.position.copy(C);
|
|
45534
45535
|
}
|
|
@@ -45976,7 +45977,7 @@ class C7 extends Pa {
|
|
|
45976
45977
|
const b = m.slice(0, 4);
|
|
45977
45978
|
if (!b || b.length < 4)
|
|
45978
45979
|
return;
|
|
45979
|
-
const w =
|
|
45980
|
+
const w = Ai(b).normalize(), I = new A.Plane().setFromNormalAndCoplanarPoint(w, b[0]), L = Math.abs(e.ray.direction.dot(w)) < 0.1;
|
|
45980
45981
|
let S;
|
|
45981
45982
|
if (L)
|
|
45982
45983
|
S = Rn({ raycaster: e, line: i, clampToLine: !1 }).applyMatrix4(new A.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone()));
|
|
@@ -46571,7 +46572,7 @@ class mb extends Ps {
|
|
|
46571
46572
|
g,
|
|
46572
46573
|
m
|
|
46573
46574
|
);
|
|
46574
|
-
w.scaleController = L.helperController, o.push(() => L.dispose()),
|
|
46575
|
+
w.scaleController = L.helperController, o.push(() => L.dispose()), Di(this.five).then(() => {
|
|
46575
46576
|
var S, j;
|
|
46576
46577
|
if (e.isCSS3DObjectPlus) {
|
|
46577
46578
|
const T = e;
|
|
@@ -46696,7 +46697,7 @@ function x7(n) {
|
|
|
46696
46697
|
const e = n[n.length - 1], i = n[0];
|
|
46697
46698
|
return e.equals(i) || t.push(i), t;
|
|
46698
46699
|
}
|
|
46699
|
-
class Ab extends
|
|
46700
|
+
class Ab extends wi {
|
|
46700
46701
|
constructor(e) {
|
|
46701
46702
|
super();
|
|
46702
46703
|
f(this, "name", "PolylineBaseMesh");
|
|
@@ -46785,7 +46786,7 @@ class us extends Ab {
|
|
|
46785
46786
|
}
|
|
46786
46787
|
}
|
|
46787
46788
|
const Yc = /* @__PURE__ */ new Map();
|
|
46788
|
-
class qi extends
|
|
46789
|
+
class qi extends wi {
|
|
46789
46790
|
constructor(e, i) {
|
|
46790
46791
|
var s, o;
|
|
46791
46792
|
super();
|
|
@@ -46913,7 +46914,7 @@ class qi extends yi {
|
|
|
46913
46914
|
});
|
|
46914
46915
|
}
|
|
46915
46916
|
}
|
|
46916
|
-
class lc extends
|
|
46917
|
+
class lc extends wi {
|
|
46917
46918
|
constructor(e) {
|
|
46918
46919
|
super();
|
|
46919
46920
|
f(this, "hooks", new St());
|
|
@@ -47074,7 +47075,7 @@ class D7 extends du {
|
|
|
47074
47075
|
return this.originObject.polyLineMesh.points;
|
|
47075
47076
|
}
|
|
47076
47077
|
}
|
|
47077
|
-
function
|
|
47078
|
+
function hi(n) {
|
|
47078
47079
|
return Array.isArray(n) ? n.map((t) => [t.x, t.y, t.z]) : [n.x, n.y, n.z];
|
|
47079
47080
|
}
|
|
47080
47081
|
class zm extends qi {
|
|
@@ -47091,7 +47092,7 @@ class zm extends qi {
|
|
|
47091
47092
|
}
|
|
47092
47093
|
get data() {
|
|
47093
47094
|
return he(_({}, this.baseData), {
|
|
47094
|
-
points:
|
|
47095
|
+
points: hi(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
|
|
47095
47096
|
style: {
|
|
47096
47097
|
lineColor: new A.Color(this.polyLineMesh.lineColor).getHex(),
|
|
47097
47098
|
lineWidth: this.polyLineMesh.lineWidth,
|
|
@@ -47203,7 +47204,7 @@ class Om extends qi {
|
|
|
47203
47204
|
}
|
|
47204
47205
|
get data() {
|
|
47205
47206
|
return he(_({}, this.baseData), {
|
|
47206
|
-
point:
|
|
47207
|
+
point: hi(this.applyObjectMatrixWorld(this.pointMesh.position)),
|
|
47207
47208
|
style: {
|
|
47208
47209
|
color: this.pointMesh.color.getHex(),
|
|
47209
47210
|
size: this.pointMesh.size
|
|
@@ -47397,7 +47398,7 @@ class Oh extends qi {
|
|
|
47397
47398
|
}
|
|
47398
47399
|
get data() {
|
|
47399
47400
|
return this.updateMatrixWorld(), he(_({}, this.baseData), {
|
|
47400
|
-
points:
|
|
47401
|
+
points: hi(this.applyObjectMatrixWorld(this.areaMesh.points)),
|
|
47401
47402
|
style: {
|
|
47402
47403
|
color: this.areaMesh.color.getHex(),
|
|
47403
47404
|
lineColor: this.areaMesh.lineColor.getHex(),
|
|
@@ -47563,7 +47564,7 @@ function uu(n, t, e) {
|
|
|
47563
47564
|
x: (rt.x * 0.5 + 0.5) * Te,
|
|
47564
47565
|
y: (1 - (rt.y * 0.5 + 0.5)) * _e
|
|
47565
47566
|
};
|
|
47566
|
-
}, Fe = be(le), ve = be(I), Ie = be(re.point), Oe = Math.sqrt(
|
|
47567
|
+
}, Fe = be(le), ve = be(I), Ie = be(re.point), Oe = Math.sqrt(gi(Fe.x - ve.x, 2) + gi(Fe.y - ve.y, 2)), Xe = Math.sqrt(gi(Fe.x - Ie.x, 2) + gi(Fe.y - Ie.y, 2));
|
|
47567
47568
|
(Oe < e.autoClosePixelDistance || Xe < e.autoClosePixelDistance) && (Se = !0);
|
|
47568
47569
|
}
|
|
47569
47570
|
} else
|
|
@@ -47768,7 +47769,7 @@ class j7 extends A.BufferGeometry {
|
|
|
47768
47769
|
return e.length;
|
|
47769
47770
|
}
|
|
47770
47771
|
}
|
|
47771
|
-
class Xs extends
|
|
47772
|
+
class Xs extends wi {
|
|
47772
47773
|
constructor(e) {
|
|
47773
47774
|
super();
|
|
47774
47775
|
f(this, "name", "PrismMesh");
|
|
@@ -47778,7 +47779,7 @@ class Xs extends yi {
|
|
|
47778
47779
|
f(this, "activeEaseInAnimations", /* @__PURE__ */ new Map());
|
|
47779
47780
|
f(this, "_geometryInfoCache");
|
|
47780
47781
|
f(this, "geometryInfoNeedUpdate", !0);
|
|
47781
|
-
f(this, "edgeMesh", new
|
|
47782
|
+
f(this, "edgeMesh", new Ti());
|
|
47782
47783
|
f(this, "prismMesh", new ic());
|
|
47783
47784
|
f(this, "paramStyle");
|
|
47784
47785
|
this.five = e == null ? void 0 : e.five, this.prismMesh.name = "PrismMesh", this.prismMesh.geometry = new O7(), this.edgeMesh.name = "EdgeMesh", this.addIfNotExists(this.prismMesh, this.edgeMesh), e && Object.keys(e).some((i) => i !== "five") && this.setPoints(e), this.setStyle(e);
|
|
@@ -48098,8 +48099,8 @@ class jm extends qi {
|
|
|
48098
48099
|
}
|
|
48099
48100
|
get data() {
|
|
48100
48101
|
return he(_({}, this.baseData), {
|
|
48101
|
-
points:
|
|
48102
|
-
heightPoint:
|
|
48102
|
+
points: hi(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
|
|
48103
|
+
heightPoint: hi(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
|
|
48103
48104
|
style: {
|
|
48104
48105
|
color: this.prismMesh.color.getHex(),
|
|
48105
48106
|
lineWidth: this.prismMesh.lineWidth,
|
|
@@ -48131,9 +48132,9 @@ function Pb(n, t, e) {
|
|
|
48131
48132
|
return te(this, null, function* () {
|
|
48132
48133
|
const i = n.parent, s = new zh(n.style);
|
|
48133
48134
|
i.add(s), yield uu(s, t, e).finished, i.remove(s), n.setPoints({ points: s.points });
|
|
48134
|
-
const o = new
|
|
48135
|
+
const o = new Ti();
|
|
48135
48136
|
o.name = "LineHelper", i.add(o);
|
|
48136
|
-
const r = s.points.at(-1), a =
|
|
48137
|
+
const r = s.points.at(-1), a = Ai(s.points), l = r.clone().add(a.clone().multiplyScalar(100)), c = r.clone().sub(a.clone().multiplyScalar(100));
|
|
48137
48138
|
return o.setPoints([l, c]), t.enable(), new Promise((h, d) => {
|
|
48138
48139
|
const u = (v) => {
|
|
48139
48140
|
var b;
|
|
@@ -48160,7 +48161,7 @@ class Cb extends Ca {
|
|
|
48160
48161
|
super(t, () => ({
|
|
48161
48162
|
yAxis: () => {
|
|
48162
48163
|
const e = t.points;
|
|
48163
|
-
return
|
|
48164
|
+
return Ai(e).normalize();
|
|
48164
48165
|
},
|
|
48165
48166
|
zAxis: () => {
|
|
48166
48167
|
const e = t.points;
|
|
@@ -48315,7 +48316,7 @@ class jl extends fu {
|
|
|
48315
48316
|
}
|
|
48316
48317
|
}
|
|
48317
48318
|
function Ib(n, t) {
|
|
48318
|
-
const e =
|
|
48319
|
+
const e = Ai(n), i = Mt(...n), s = t.clone().sub(i);
|
|
48319
48320
|
return e.dot(s) >= 0 ? n : n.slice().reverse();
|
|
48320
48321
|
}
|
|
48321
48322
|
class _h extends qi {
|
|
@@ -48331,7 +48332,7 @@ class _h extends qi {
|
|
|
48331
48332
|
}
|
|
48332
48333
|
get data() {
|
|
48333
48334
|
return he(_({}, this.baseData), {
|
|
48334
|
-
points:
|
|
48335
|
+
points: hi(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
|
|
48335
48336
|
style: {
|
|
48336
48337
|
color: this.rectangleMesh.color.getHex(),
|
|
48337
48338
|
opacity: this.rectangleMesh.opacity,
|
|
@@ -48460,7 +48461,7 @@ function V7(n, t, e) {
|
|
|
48460
48461
|
}
|
|
48461
48462
|
if (d.length === 2) {
|
|
48462
48463
|
if (!t.plane) {
|
|
48463
|
-
const D =
|
|
48464
|
+
const D = Ai([d[0], d[1], C.point]);
|
|
48464
48465
|
g.setFromNormalAndCoplanarPoint(D, d[0]);
|
|
48465
48466
|
}
|
|
48466
48467
|
c.setPoints([(O = C.originalPoint) != null ? O : C.point, C.point]);
|
|
@@ -48520,7 +48521,7 @@ class ua extends kb {
|
|
|
48520
48521
|
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = is(a, ["normal", "radius", "center"]);
|
|
48521
48522
|
super(r);
|
|
48522
48523
|
f(this, "edgeLine");
|
|
48523
|
-
this.edgeLine = new
|
|
48524
|
+
this.edgeLine = new Ti(r), this.add(this.edgeLine), i && s && o && this.setPoints({ normal: i, radius: s, center: o });
|
|
48524
48525
|
}
|
|
48525
48526
|
setPoints(...e) {
|
|
48526
48527
|
super.setPoints(...e);
|
|
@@ -48550,8 +48551,8 @@ class Rm extends qi {
|
|
|
48550
48551
|
}
|
|
48551
48552
|
get data() {
|
|
48552
48553
|
return he(_({}, this.baseData), {
|
|
48553
|
-
center:
|
|
48554
|
-
normal:
|
|
48554
|
+
center: hi(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
|
|
48555
|
+
normal: hi(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
|
|
48555
48556
|
radius: this.circleMesh.radius,
|
|
48556
48557
|
style: {
|
|
48557
48558
|
color: this.circleMesh.color.getHex()
|
|
@@ -48620,7 +48621,7 @@ function gu(n, t) {
|
|
|
48620
48621
|
t.on("select", l), t.on("intersectionUpdate", c), t.on("disable", d);
|
|
48621
48622
|
});
|
|
48622
48623
|
}
|
|
48623
|
-
class Bh extends
|
|
48624
|
+
class Bh extends wi {
|
|
48624
48625
|
constructor(e) {
|
|
48625
48626
|
super();
|
|
48626
48627
|
f(this, "bottomCircle");
|
|
@@ -48735,8 +48736,8 @@ class _m extends qi {
|
|
|
48735
48736
|
}
|
|
48736
48737
|
get data() {
|
|
48737
48738
|
return he(_({}, this.baseData), {
|
|
48738
|
-
bottomCenter:
|
|
48739
|
-
topCenter:
|
|
48739
|
+
bottomCenter: hi(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
|
|
48740
|
+
topCenter: hi(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
|
|
48740
48741
|
radius: this.cylinderMesh.radius,
|
|
48741
48742
|
style: {
|
|
48742
48743
|
color: this.cylinderMesh.color.getHex()
|
|
@@ -48767,7 +48768,7 @@ function Sb(n, t) {
|
|
|
48767
48768
|
return te(this, null, function* () {
|
|
48768
48769
|
const e = n.parent;
|
|
48769
48770
|
yield gu(n.bottomCircle, t);
|
|
48770
|
-
const i = new
|
|
48771
|
+
const i = new Ti();
|
|
48771
48772
|
i.name = "LineHelper", e.add(i);
|
|
48772
48773
|
const s = t.position.point, o = n.normal.clone().normalize(), r = s.clone().add(o.clone().multiplyScalar(100)), a = s.clone().sub(o.clone().multiplyScalar(100));
|
|
48773
48774
|
return i.setPoints([r, a]), t.enable(), new Promise((l, c) => {
|
|
@@ -48915,8 +48916,8 @@ class Fh extends qi {
|
|
|
48915
48916
|
}
|
|
48916
48917
|
get data() {
|
|
48917
48918
|
return he(_({}, this.baseData), {
|
|
48918
|
-
points:
|
|
48919
|
-
heightPoint:
|
|
48919
|
+
points: hi(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
|
|
48920
|
+
heightPoint: hi(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
|
|
48920
48921
|
style: {
|
|
48921
48922
|
color: this.boxMesh.color.getHex(),
|
|
48922
48923
|
opacity: this.boxMesh.opacity,
|
|
@@ -48981,7 +48982,7 @@ function Tb(n, t, e) {
|
|
|
48981
48982
|
(v = e == null ? void 0 : e.onPointPlaced) == null || v.call(e);
|
|
48982
48983
|
}
|
|
48983
48984
|
})), o.remove(r), n.setPoints({ points: r.points });
|
|
48984
|
-
const a = new
|
|
48985
|
+
const a = new Ti(), l = Ai(n.bottomPositions), c = Mt(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), d = c.clone().sub(l.clone().multiplyScalar(100));
|
|
48985
48986
|
a.setPoints([h, d]), o.add(a), t.enable();
|
|
48986
48987
|
const u = (v) => {
|
|
48987
48988
|
var b;
|
|
@@ -49024,7 +49025,7 @@ class Bm extends qi {
|
|
|
49024
49025
|
}
|
|
49025
49026
|
get data() {
|
|
49026
49027
|
return he(_({}, this.baseData), {
|
|
49027
|
-
points:
|
|
49028
|
+
points: hi(this.applyObjectMatrixWorld(this.lineMesh.points)),
|
|
49028
49029
|
style: {
|
|
49029
49030
|
lineColor: new A.Color(this.lineMesh.color).getHex(),
|
|
49030
49031
|
lineWidth: this.lineMesh.lineWidth,
|
|
@@ -49072,9 +49073,9 @@ function Lb(n, t, e) {
|
|
|
49072
49073
|
const i = n.parent;
|
|
49073
49074
|
if (!i)
|
|
49074
49075
|
return;
|
|
49075
|
-
const { promise: s, resolve: o, reject: r } = no(), a = (j = e == null ? void 0 : e.limit) != null ? j : "none", l = new
|
|
49076
|
+
const { promise: s, resolve: o, reject: r } = no(), a = (j = e == null ? void 0 : e.limit) != null ? j : "none", l = new Ti(n.style);
|
|
49076
49077
|
i.add(l);
|
|
49077
|
-
const c = new
|
|
49078
|
+
const c = new Ti(he(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
49078
49079
|
i.add(c), t.enable();
|
|
49079
49080
|
const h = [];
|
|
49080
49081
|
let d, u, p;
|
|
@@ -49146,7 +49147,7 @@ const Lo = class extends St {
|
|
|
49146
49147
|
});
|
|
49147
49148
|
this.five = e, this.theme = i, this.config = _({
|
|
49148
49149
|
magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
|
|
49149
|
-
}, s), this.group = new
|
|
49150
|
+
}, s), this.group = new wi(), this.group.name = "Sculpt", this.group.__sculpt__ = this, e.scene.add(this.group), Lo.modules.init(e, this.config), mt("ctrl+z, command+z", this.undo), mt("ctrl+shift+z, command+shift+z", this.redo), Lo.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o, origDomEvent: r }) => {
|
|
49150
49151
|
var l;
|
|
49151
49152
|
const a = bb((l = o == null ? void 0 : o[0]) == null ? void 0 : l.object, (c) => c.isSculptObject);
|
|
49152
49153
|
return a && !a.editing ? this.emit("click", r, a) : !1;
|
|
@@ -49376,7 +49377,7 @@ class W7 extends hr {
|
|
|
49376
49377
|
this.computeRenderType() === "Mesh" ? (this.initialSculpt(), ((s = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : s.type) === "Video" ? this.renderVideoPlane() : ((r = (o = this.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : r.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane()) : ((a = this.tag3DContentSvelte) == null || a.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (l = this.tag3DContentSvelte) != null && l.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.visible, this.five.needsRender = !0));
|
|
49377
49378
|
}
|
|
49378
49379
|
set(e, i = !0) {
|
|
49379
|
-
super.set(e, i),
|
|
49380
|
+
super.set(e, i), Di(this.five).then(() => {
|
|
49380
49381
|
this.tag3DContentSvelte && (e.data ? this.tag3DContentSvelte.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }) : e.position && this.loadModel());
|
|
49381
49382
|
});
|
|
49382
49383
|
}
|
|
@@ -49423,7 +49424,7 @@ class W7 extends hr {
|
|
|
49423
49424
|
loadModel() {
|
|
49424
49425
|
return te(this, null, function* () {
|
|
49425
49426
|
var i, s, o, r, a, l;
|
|
49426
|
-
if (yield
|
|
49427
|
+
if (yield Di(this.five), this.computeRenderType() === "Mesh")
|
|
49427
49428
|
this.initialSculpt(), ((s = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : s.type) === "Video" ? this.renderVideoPlane() : ((r = (o = this.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : r.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane();
|
|
49428
49429
|
else {
|
|
49429
49430
|
ga(this.five);
|
|
@@ -49642,11 +49643,11 @@ class Q7 extends hr {
|
|
|
49642
49643
|
* 获取盒子的中心点
|
|
49643
49644
|
*/
|
|
49644
49645
|
getCenter() {
|
|
49645
|
-
const e = this.
|
|
49646
|
+
const e = this.position;
|
|
49646
49647
|
if (!(e != null && e.start) || !(e != null && e.end))
|
|
49647
49648
|
return [0, 0, 0];
|
|
49648
|
-
const i = e.end.map((
|
|
49649
|
-
return
|
|
49649
|
+
const i = e.end.map((c) => Number(c)), s = e.start.map((c) => Number(c)), o = i[0] / 2 + s[0] / 2, r = i[1] / 2 + s[1] / 2, a = i[2] / 2 + s[2] / 2, l = new A.Vector3(o, r, a);
|
|
49650
|
+
return ai(l, this.workUtil.transform).toArray();
|
|
49650
49651
|
}
|
|
49651
49652
|
/**
|
|
49652
49653
|
* 获取盒子的8个角点坐标
|
|
@@ -49783,8 +49784,11 @@ class Q7 extends hr {
|
|
|
49783
49784
|
new A.Vector3(0.5, -0.5, -0.5),
|
|
49784
49785
|
new A.Vector3(0.5, -0.5, 0.5),
|
|
49785
49786
|
new A.Vector3(-0.5, -0.5, 0.5)
|
|
49786
|
-
], h = new A.Vector3(-0.5, 0.5, -0.5), d = a.clone().multiplyScalar(2), u =
|
|
49787
|
-
|
|
49787
|
+
], h = new A.Vector3(-0.5, 0.5, -0.5), d = a.clone().multiplyScalar(2), u = this.workUtil.transform, p = c.map((v) => {
|
|
49788
|
+
const b = v.clone().multiply(d).applyMatrix4(l).add(r);
|
|
49789
|
+
return ai(b, u);
|
|
49790
|
+
}), g = h.clone().multiply(d).applyMatrix4(l).add(r), m = ai(g, u);
|
|
49791
|
+
return { bottomPoints: p, heightPoint: m };
|
|
49788
49792
|
}
|
|
49789
49793
|
/**
|
|
49790
49794
|
* @description 点击事件处理
|
|
@@ -49847,29 +49851,29 @@ class Q7 extends hr {
|
|
|
49847
49851
|
new A.Vector3(o.x, s.y, o.z),
|
|
49848
49852
|
new A.Vector3(s.x, o.y, o.z),
|
|
49849
49853
|
new A.Vector3(o.x, o.y, o.z)
|
|
49850
|
-
], l = new A.Vector3().addVectors(s, o).multiplyScalar(0.5);
|
|
49851
|
-
a.forEach((
|
|
49852
|
-
|
|
49854
|
+
], l = new A.Vector3().addVectors(s, o).multiplyScalar(0.5), c = this.workUtil.transform;
|
|
49855
|
+
a.forEach((u) => {
|
|
49856
|
+
u.sub(l).applyEuler(r).add(l), u.copy(ai(u, c));
|
|
49853
49857
|
});
|
|
49854
|
-
let
|
|
49855
|
-
a.forEach((
|
|
49856
|
-
|
|
49858
|
+
let h = a[0];
|
|
49859
|
+
a.forEach((u) => {
|
|
49860
|
+
u.x > h.x && (h = u);
|
|
49857
49861
|
});
|
|
49858
|
-
const
|
|
49859
|
-
if (
|
|
49862
|
+
const d = h.clone().project(this.five.camera);
|
|
49863
|
+
if (d.x < -1 || d.x > 1 || d.y < -1 || d.y > 1 || d.z < 0 || d.z > 1)
|
|
49860
49864
|
this.screenPosition = null;
|
|
49861
49865
|
else if (this.five.renderer) {
|
|
49862
|
-
const
|
|
49866
|
+
const u = this.five.renderer.getSize(new A.Vector2());
|
|
49863
49867
|
this.screenPosition = {
|
|
49864
|
-
leftPx: (
|
|
49865
|
-
topPx: (-
|
|
49868
|
+
leftPx: (d.x + 1) / 2 * u.x,
|
|
49869
|
+
topPx: (-d.y + 1) / 2 * u.y,
|
|
49866
49870
|
scale: 1
|
|
49867
49871
|
};
|
|
49868
49872
|
}
|
|
49869
49873
|
this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
49870
49874
|
}
|
|
49871
49875
|
get centerPosition() {
|
|
49872
|
-
const e = V1(this.position), i = ol(e, this.matrix);
|
|
49876
|
+
const e = V1(this.position, this.workUtil.transform), i = ol(e, this.matrix);
|
|
49873
49877
|
let s = i[0];
|
|
49874
49878
|
return i.forEach((o) => {
|
|
49875
49879
|
o.x > s.x && (s = o);
|
|
@@ -50606,7 +50610,7 @@ const Ye = class extends hr {
|
|
|
50606
50610
|
const i = this.workUtil.getObserver(e);
|
|
50607
50611
|
if (!i)
|
|
50608
50612
|
return;
|
|
50609
|
-
this.maskMesh.position.copy(
|
|
50613
|
+
this.maskMesh.position.copy(ai(i.position, this.workUtil.transform)), this.maskMesh.quaternion.copy(i.quaternion);
|
|
50610
50614
|
const s = new A.Vector3(), o = new A.Quaternion(), r = new A.Vector3();
|
|
50611
50615
|
this.workUtil.transform.decompose(s, o, r), this.maskMesh.quaternion.multiply(o), this.five.needsRender = !0;
|
|
50612
50616
|
}
|
|
@@ -50932,16 +50936,16 @@ const Ye = class extends hr {
|
|
|
50932
50936
|
}), Ye.maskTextureCache.clear();
|
|
50933
50937
|
}
|
|
50934
50938
|
};
|
|
50935
|
-
let
|
|
50939
|
+
let Mi = Ye;
|
|
50936
50940
|
/**
|
|
50937
50941
|
* Mask 纹理缓存(静态,所有 MaskTag 实例共享)
|
|
50938
50942
|
* key: mask URL 或 canvas 的 symbol, value: { texture: THREE.Texture, refCount: number, abortController?: AbortController }
|
|
50939
50943
|
*/
|
|
50940
|
-
f(
|
|
50944
|
+
f(Mi, "maskTextureCache", /* @__PURE__ */ new Map()), /**
|
|
50941
50945
|
* Canvas 到 Symbol 的映射(用于缓存 canvas 纹理)
|
|
50942
50946
|
*/
|
|
50943
|
-
f(
|
|
50944
|
-
f(
|
|
50947
|
+
f(Mi, "canvasSymbolMap", /* @__PURE__ */ new WeakMap()), /** 同点位共用 mesh:key = meshKey(panoIndex + maskKey), value = 共享数据 */
|
|
50948
|
+
f(Mi, "sharedMeshRegistry", /* @__PURE__ */ new Map());
|
|
50945
50949
|
function q7(n) {
|
|
50946
50950
|
De(n, "svelte-cksy1a", ".audio-tag-point.svelte-cksy1a{position:relative;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:0.25rem;border-radius:100%;border:0.0625rem solid rgba(255, 255, 255, 0.6);background:linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));box-shadow:inset 0 0 0.25rem 0 rgba(255, 255, 255, 0.3);display:flex;align-items:center;justify-content:center}");
|
|
50947
50951
|
}
|
|
@@ -50959,19 +50963,19 @@ function J7(n) {
|
|
|
50959
50963
|
m(r, a) {
|
|
50960
50964
|
X(r, t, a), pe(e, t, null), i = !0, s || (o = [
|
|
50961
50965
|
je(t, "click", function() {
|
|
50962
|
-
|
|
50966
|
+
li(
|
|
50963
50967
|
/*handlePointClick*/
|
|
50964
50968
|
n[2]
|
|
50965
50969
|
) && n[2].apply(this, arguments);
|
|
50966
50970
|
}),
|
|
50967
50971
|
je(t, "pointerenter", function() {
|
|
50968
|
-
|
|
50972
|
+
li(
|
|
50969
50973
|
/*handleMouseEnter*/
|
|
50970
50974
|
n[3]
|
|
50971
50975
|
) && n[3].apply(this, arguments);
|
|
50972
50976
|
}),
|
|
50973
50977
|
je(t, "pointerleave", function() {
|
|
50974
|
-
|
|
50978
|
+
li(
|
|
50975
50979
|
/*handleMouseLeave*/
|
|
50976
50980
|
n[4]
|
|
50977
50981
|
) && n[4].apply(this, arguments);
|
|
@@ -51159,7 +51163,7 @@ function n6(n) {
|
|
|
51159
51163
|
n[16]
|
|
51160
51164
|
),
|
|
51161
51165
|
je(t, "pointerleave", function() {
|
|
51162
|
-
|
|
51166
|
+
li(
|
|
51163
51167
|
/*handleMouseLeave*/
|
|
51164
51168
|
n[3]
|
|
51165
51169
|
) && n[3].apply(this, arguments);
|
|
@@ -51419,7 +51423,7 @@ function a6(n, t, e) {
|
|
|
51419
51423
|
800
|
|
51420
51424
|
);
|
|
51421
51425
|
}, g = (V) => {
|
|
51422
|
-
u || (h.entryFromModel &&
|
|
51426
|
+
u || (h.entryFromModel && ki(h.five.state.mode) ? h.find({ targetMode: "Panorama" }).then(() => h.unfoldAndFoldOthers()) : l.emit("click", { event: V, target: "TagPoint", tag: h }));
|
|
51423
51427
|
}, m = (() => h.contentType === "Text" && h.data.appearance === "plane" ? 500 : 800)();
|
|
51424
51428
|
let { tagPointClickHelper: v = null } = t, { handleMouseEnter: b = () => {
|
|
51425
51429
|
} } = t, { handleMouseLeave: w = () => {
|
|
@@ -51856,7 +51860,7 @@ function S6(n) {
|
|
|
51856
51860
|
},
|
|
51857
51861
|
m(p, g) {
|
|
51858
51862
|
X(p, t, g), B(t, e), pe(i, e, null), B(t, s), B(t, o), B(o, r), B(o, a), B(o, l), B(l, c), h = !0, d || (u = je(t, "click", Bv(function() {
|
|
51859
|
-
|
|
51863
|
+
li(
|
|
51860
51864
|
/*onClick*/
|
|
51861
51865
|
n[3]
|
|
51862
51866
|
) && n[3].apply(this, arguments);
|
|
@@ -52013,7 +52017,7 @@ function Um(n) {
|
|
|
52013
52017
|
}
|
|
52014
52018
|
},
|
|
52015
52019
|
d(a) {
|
|
52016
|
-
a && Q(t),
|
|
52020
|
+
a && Q(t), Li(s, a), Li(r, a);
|
|
52017
52021
|
}
|
|
52018
52022
|
};
|
|
52019
52023
|
}
|
|
@@ -52628,7 +52632,7 @@ function N6(n, t, e) {
|
|
|
52628
52632
|
201326594 && ee(), n.$$.dirty[0] & /*audioPlaying, audioDuration*/
|
|
52629
52633
|
134217730 && Te(), n.$$.dirty[0] & /*isAudioTag, isMarketingTag, tag*/
|
|
52630
52634
|
268 && e(33, d = (() => {
|
|
52631
|
-
var Ze, rt, $e, tt, at, ct, Vt, Ji, Xt,
|
|
52635
|
+
var Ze, rt, $e, tt, at, ct, Vt, Ji, Xt, ui, Pi;
|
|
52632
52636
|
if (s || i)
|
|
52633
52637
|
return null;
|
|
52634
52638
|
if (z.data.mediaData && z.data.mediaData.length > 0) {
|
|
@@ -52652,7 +52656,7 @@ function N6(n, t, e) {
|
|
|
52652
52656
|
}
|
|
52653
52657
|
}
|
|
52654
52658
|
if (z.contentType === "Panorama")
|
|
52655
|
-
return (
|
|
52659
|
+
return (Pi = (Vt = ($e = (rt = (Ze = z.data.mediaData) == null ? void 0 : Ze[0]) == null ? void 0 : rt.cube) == null ? void 0 : $e.front) != null ? Vt : (ct = (at = (tt = z.data.mediaData) == null ? void 0 : tt[0]) == null ? void 0 : at.thumbnail) == null ? void 0 : ct.split("?")[0]) != null ? Pi : (ui = (Xt = (Ji = z.data.mediaData) == null ? void 0 : Ji[0]) == null ? void 0 : Xt.url) == null ? void 0 : ui.split("?")[0];
|
|
52656
52660
|
if (ht.url || ht.thumbnail)
|
|
52657
52661
|
return ht.url || ht.thumbnail;
|
|
52658
52662
|
}
|
|
@@ -54463,7 +54467,7 @@ function pD(n, t, e) {
|
|
|
54463
54467
|
var Fe, ve, Ie;
|
|
54464
54468
|
return ((ve = (Fe = g.style) == null ? void 0 : Fe.point) == null ? void 0 : ve.enabled) === !1 || ((Ie = v.get(g.contentType)) == null ? void 0 : Ie.usePoint) === !1 || g.contentType === "Sticker" || g.contentType === "Link" || g.contentType === "VRLink" || g.contentType === "PanoLink" ? !1 : g.contentType === "Panorama" ? !0 : g.contentType === "Audio" && g.data.appearance === "plane" ? g.isPopoverConfigEnabled() : !0;
|
|
54465
54469
|
})()), n.$$.dirty[0] & /*tag, havePoint*/
|
|
54466
|
-
1025 && e(25, s = (() => !(g.isPopoverConfigEnabled() && g.contentType === "Panorama" || g.isPopoverConfigEnabled() && g.contentType === "ImageText" || g.isPopoverConfigEnabled() && g.contentType === "Text" || g.isPopoverConfigEnabled() && g.contentType === "Audio" || g.stickType !== "2DPoint" && g.stickType !== "3DBox" && g.stickType !== "Polygon" && g.stickType !== "Mask" || g.entryFromModel &&
|
|
54470
|
+
1025 && e(25, s = (() => !(g.isPopoverConfigEnabled() && g.contentType === "Panorama" || g.isPopoverConfigEnabled() && g.contentType === "ImageText" || g.isPopoverConfigEnabled() && g.contentType === "Text" || g.isPopoverConfigEnabled() && g.contentType === "Audio" || g.stickType !== "2DPoint" && g.stickType !== "3DBox" && g.stickType !== "Polygon" && g.stickType !== "Mask" || g.entryFromModel && ki(g.five.state.mode) && i))()), n.$$.dirty[0] & /*tag*/
|
|
54467
54471
|
1 && e(24, o = (() => {
|
|
54468
54472
|
var Fe;
|
|
54469
54473
|
return g.contentType === "Marketing" ? !!(g.data.title || g.data.name || g.data.description || g.data.tooltip || (Fe = g.data.price) != null && Fe.value || g.data.brandTags && g.data.brandTags.length > 0 || g.data.tags && g.data.tags.length > 0 || g.data.imageUrl || g.data.mediaUrl || g.data.mediaData && g.data.mediaData.length > 0) : !!(g.data.title || g.data.name || g.data.text || g.data.description || g.data.tooltip || g.data.imageUrl || g.data.mediaUrl || g.data.audioUrl || g.data.mediaData && g.data.mediaData.length > 0);
|
|
@@ -54601,7 +54605,7 @@ function l0(n) {
|
|
|
54601
54605
|
var d;
|
|
54602
54606
|
h & /*state, temporaryState, tags, mediaStore, rendererMap, contentTypeMap, wrapperElement, popoverContainerEl*/
|
|
54603
54607
|
447 && (a = /*tags*/
|
|
54604
|
-
c[0], ke(), e =
|
|
54608
|
+
c[0], ke(), e = di(e, h, l, 1, c, a, i, t, mn, c0, null, a0), xe()), (!r || h & /*state, temporaryState*/
|
|
54605
54609
|
48 && s !== (s = !/*state*/
|
|
54606
54610
|
c[4].visible || !/*temporaryState*/
|
|
54607
54611
|
c[5].visible ? "1" : "0")) && P(t, "data-infive", s), (!r || h & /*state, temporaryState*/
|
|
@@ -54877,10 +54881,10 @@ class Hh extends j8 {
|
|
|
54877
54881
|
this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
54878
54882
|
});
|
|
54879
54883
|
f(this, "onFiveRefined", fg(() => {
|
|
54880
|
-
|
|
54884
|
+
ki(this.five.getCurrentState().mode) ? this.setUnfoldedByCamera() : this.tags.forEach((e) => e.cache.clear()), this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
54881
54885
|
}));
|
|
54882
54886
|
f(this, "onFiveEveryReady", () => {
|
|
54883
|
-
this.setUnfoldedByCamera(),
|
|
54887
|
+
this.setUnfoldedByCamera(), ki(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
54884
54888
|
});
|
|
54885
54889
|
f(this, "render", () => {
|
|
54886
54890
|
this.renderQueue.forEach((e, i) => {
|
|
@@ -54940,23 +54944,23 @@ class Hh extends j8 {
|
|
|
54940
54944
|
load(e) {
|
|
54941
54945
|
return te(this, null, function* () {
|
|
54942
54946
|
var o, r;
|
|
54943
|
-
|
|
54947
|
+
Mi.clearSharedMeshRegistry(), this.clearTags();
|
|
54944
54948
|
try {
|
|
54945
54949
|
console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
|
|
54946
54950
|
} catch (a) {
|
|
54947
54951
|
}
|
|
54948
|
-
const i =
|
|
54952
|
+
const i = Si(this.five);
|
|
54949
54953
|
e.tagList.forEach((a) => {
|
|
54950
54954
|
if (a.enu_position && this.isValidArrayPosition(a.enu_position))
|
|
54951
54955
|
try {
|
|
54952
54956
|
const l = Lt(a.enu_position), c = i.viewLayers[0].scene.enuToWorld(l);
|
|
54953
|
-
a.position =
|
|
54957
|
+
a.position = hi(c);
|
|
54954
54958
|
} catch (l) {
|
|
54955
54959
|
}
|
|
54956
54960
|
if (a.enu_normal && this.isValidArrayPosition(a.enu_normal))
|
|
54957
54961
|
try {
|
|
54958
54962
|
const l = Lt(a.enu_normal), c = i.viewLayers[0].scene.enuToWorld(l);
|
|
54959
|
-
a.normal =
|
|
54963
|
+
a.normal = hi(c);
|
|
54960
54964
|
} catch (l) {
|
|
54961
54965
|
}
|
|
54962
54966
|
}), this.config = nt({}, this.config, {
|
|
@@ -54981,14 +54985,14 @@ class Hh extends j8 {
|
|
|
54981
54985
|
const c = o[0], h = (a = c.maskUrl) != null ? a : c.mask, d = (l = c.fiveState) == null ? void 0 : l.panoIndex;
|
|
54982
54986
|
h && typeof d == "number" && this.tags.filter((p) => {
|
|
54983
54987
|
var g;
|
|
54984
|
-
return p instanceof
|
|
54988
|
+
return p instanceof Mi && ((g = p.fiveState) == null ? void 0 : g.panoIndex) === d;
|
|
54985
54989
|
}).forEach((p) => p.set({ mask: h }));
|
|
54986
54990
|
}
|
|
54987
54991
|
const r = o.map((c) => {
|
|
54988
54992
|
const h = Zd(c);
|
|
54989
|
-
return h === "2DPoint" || h === "3DPoint" ? new B8(this, c) : h === "Model" ? new db(this, c) : h === "Plane" ? new W7(this, c) : h === "3DBox" ? new Q7(this, c) : h === "Polygon" ? new X7(this, c) : h === "Mask" ? new
|
|
54993
|
+
return h === "2DPoint" || h === "3DPoint" ? new B8(this, c) : h === "Model" ? new db(this, c) : h === "Plane" ? new W7(this, c) : h === "3DBox" ? new Q7(this, c) : h === "Polygon" ? new X7(this, c) : h === "Mask" ? new Mi(this, c) : null;
|
|
54990
54994
|
});
|
|
54991
|
-
return r.forEach((c) => w8(c)), this.tags.push(...r), this.tagsLengthWillUpdate = !0,
|
|
54995
|
+
return r.forEach((c) => w8(c)), this.tags.push(...r), this.tagsLengthWillUpdate = !0, Di(this.five).then(() => te(this, null, function* () {
|
|
54992
54996
|
var c, h;
|
|
54993
54997
|
this.store.eventListenerDisposer && ((h = (c = this.store).eventListenerDisposer) == null || h.call(c)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(r, (d) => {
|
|
54994
54998
|
this.tags.includes(d) && (d.updateVisible(), d.updateZIndex());
|
|
@@ -55144,7 +55148,7 @@ class Hh extends j8 {
|
|
|
55144
55148
|
});
|
|
55145
55149
|
return;
|
|
55146
55150
|
}
|
|
55147
|
-
o.set(i), o instanceof
|
|
55151
|
+
o.set(i), o instanceof Mi && o.updateMaskStyle(), o.updateVisible(), this.clearUnusedPanelTag(), o.hooks.emit("dataChanged", o.data);
|
|
55148
55152
|
}
|
|
55149
55153
|
}
|
|
55150
55154
|
/**
|
|
@@ -55172,7 +55176,7 @@ class Hh extends j8 {
|
|
|
55172
55176
|
}
|
|
55173
55177
|
const o = this.tags.filter((r) => {
|
|
55174
55178
|
var a;
|
|
55175
|
-
return r instanceof
|
|
55179
|
+
return r instanceof Mi && ((a = r.fiveState) == null ? void 0 : a.panoIndex) === i;
|
|
55176
55180
|
});
|
|
55177
55181
|
if (o.length === 0) {
|
|
55178
55182
|
console.debug(`[PanoTagPlugin] changeMask: no MaskTag found at panoIndex ${i}`);
|
|
@@ -55205,7 +55209,7 @@ class Hh extends j8 {
|
|
|
55205
55209
|
var e;
|
|
55206
55210
|
this.tags.length && (this.tags.forEach((i) => {
|
|
55207
55211
|
var s, o, r, a, l, c, h, d, u, p, g;
|
|
55208
|
-
(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), (d = (h = i.rectanglePlane) == null ? void 0 : h.parent) == null || d.remove(i.rectanglePlane), (u = i.boxShape) != null && u.parent && i.boxShape.parent.remove(i.boxShape), (g = (p = i.polygonShape) == null ? void 0 : p.parent) == null || g.remove(i.polygonShape), i != null && i.tagNormalLine && (i == null || i.removeTagNormalLine()), i instanceof
|
|
55212
|
+
(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), (d = (h = i.rectanglePlane) == null ? void 0 : h.parent) == null || d.remove(i.rectanglePlane), (u = i.boxShape) != null && u.parent && i.boxShape.parent.remove(i.boxShape), (g = (p = i.polygonShape) == null ? void 0 : p.parent) == null || g.remove(i.polygonShape), i != null && i.tagNormalLine && (i == null || i.removeTagNormalLine()), i instanceof Mi && i.dispose();
|
|
55209
55213
|
}), 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();
|
|
55210
55214
|
}
|
|
55211
55215
|
/**
|
|
@@ -55362,7 +55366,7 @@ class Hh extends j8 {
|
|
|
55362
55366
|
* @returns 性能统计信息
|
|
55363
55367
|
*/
|
|
55364
55368
|
getMaskTagPerformanceStats() {
|
|
55365
|
-
const e =
|
|
55369
|
+
const e = Mi.getCacheStats(), i = this.filterMaskTag.length, s = this.filterMaskTag.filter((o) => o.visible).length;
|
|
55366
55370
|
return {
|
|
55367
55371
|
// 标签统计
|
|
55368
55372
|
totalMaskTags: i,
|
|
@@ -55378,7 +55382,7 @@ class Hh extends j8 {
|
|
|
55378
55382
|
* 注意:这会释放所有纹理缓存,谨慎使用
|
|
55379
55383
|
*/
|
|
55380
55384
|
clearMaskTagCache() {
|
|
55381
|
-
|
|
55385
|
+
Mi.clearAllCache();
|
|
55382
55386
|
}
|
|
55383
55387
|
}
|
|
55384
55388
|
const HL = (n, t) => new Hh(n, t);
|
|
@@ -55698,7 +55702,7 @@ function MD(n, t, e) {
|
|
|
55698
55702
|
i.push(I);
|
|
55699
55703
|
}), i.push(l);
|
|
55700
55704
|
});
|
|
55701
|
-
const s = t.transform, o = i.map((r) =>
|
|
55705
|
+
const s = t.transform, o = i.map((r) => ai(new A.Vector3().fromArray(r), s).toArray());
|
|
55702
55706
|
return [he(_({}, e), { type: "CatmullRomCurve3", points: o })];
|
|
55703
55707
|
}
|
|
55704
55708
|
const kD = (
|
|
@@ -55894,7 +55898,7 @@ class Nh {
|
|
|
55894
55898
|
});
|
|
55895
55899
|
/** 模型状态变更 */
|
|
55896
55900
|
f(this, "onFiveModeChange", (t) => {
|
|
55897
|
-
this.modeVisible = this.mode === "panorama" ? ds(t) :
|
|
55901
|
+
this.modeVisible = this.mode === "panorama" ? ds(t) : ki(t), this.updateVisible();
|
|
55898
55902
|
});
|
|
55899
55903
|
f(this, "onFiveModelShownFloorChange", (t) => {
|
|
55900
55904
|
this.floorVisible = t === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(t), this.updateVisible();
|
|
@@ -57135,7 +57139,7 @@ let jD = class extends vn {
|
|
|
57135
57139
|
var S;
|
|
57136
57140
|
return nt({}, h, { id: (S = L.id) != null ? S : Et(), pano_group: L.panoIndexList });
|
|
57137
57141
|
})) != null ? w : [], u = (C = (I = r.lines) == null ? void 0 : I.map((L) => nt({}, h, L))) != null ? C : [], p = [...d, ...u];
|
|
57138
|
-
yield
|
|
57142
|
+
yield Di(this.five), this.clear(), p.forEach((L) => {
|
|
57139
57143
|
this.addGuideLineItem(this.processItemUrls(L));
|
|
57140
57144
|
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", r), console.debug(`${f0} loaded`, r);
|
|
57141
57145
|
});
|
|
@@ -58420,7 +58424,7 @@ function b0(n) {
|
|
|
58420
58424
|
},
|
|
58421
58425
|
m(a, l) {
|
|
58422
58426
|
X(a, t, l), B(t, e), n[22](t), X(a, i, l), X(a, s, l), n[23](s), o || (r = je(t, "click", function() {
|
|
58423
|
-
|
|
58427
|
+
li(
|
|
58424
58428
|
/*onClick*/
|
|
58425
58429
|
n[4]
|
|
58426
58430
|
) && n[4].apply(this, arguments);
|
|
@@ -58554,7 +58558,7 @@ function rT(n, t, e) {
|
|
|
58554
58558
|
} } = t, { rendererIfNeed: I = void 0 } = t, { rendererData: C = void 0 } = t, { fontSize: L } = t, S, j, T, O;
|
|
58555
58559
|
const y = (D) => {
|
|
58556
58560
|
if (p.state.mode !== "Panorama") {
|
|
58557
|
-
const V = -(10 + 54 * (1 -
|
|
58561
|
+
const V = -(10 + 54 * (1 - mi(D.latitude) / 90)), q = V + h, ie = q >= 0 ? 0 : -q / -d;
|
|
58558
58562
|
e(8, j.style.transform = `scaleY(${ie})`, j), e(8, j.style.top = ft(q), j), e(9, T.style.top = ft(V), T);
|
|
58559
58563
|
}
|
|
58560
58564
|
};
|
|
@@ -59606,7 +59610,7 @@ class eh extends vu {
|
|
|
59606
59610
|
f(this, "updateFiveCurrentFloorState", (e) => {
|
|
59607
59611
|
var s, o;
|
|
59608
59612
|
const i = (o = (s = this.rawData) == null ? void 0 : s.object_data) == null ? void 0 : o.floorIndex;
|
|
59609
|
-
|
|
59613
|
+
yi(i) ? this.visibles[1] = !0 : this.visibles[1] = e === null ? !0 : i === e;
|
|
59610
59614
|
});
|
|
59611
59615
|
this.enable(), this.updateVisible(), this.five.on("modelShownFloorChange", this.onModelShownFloorChange), this.disposers.push(() => {
|
|
59612
59616
|
this.five.off("modelShownFloorChange", this.onModelShownFloorChange);
|
|
@@ -59714,7 +59718,7 @@ class AT extends vn {
|
|
|
59714
59718
|
}
|
|
59715
59719
|
load(e) {
|
|
59716
59720
|
return te(this, null, function* () {
|
|
59717
|
-
if (this.clear(), this.data = e, this.originalOpacities.clear(), this.resetHighlight(), yield
|
|
59721
|
+
if (this.clear(), this.data = e, this.originalOpacities.clear(), this.resetHighlight(), yield Di(this.five), this.data !== e)
|
|
59718
59722
|
return;
|
|
59719
59723
|
this.clear();
|
|
59720
59724
|
const i = (s) => {
|
|
@@ -60163,7 +60167,7 @@ const tz = (...n) => new AT(...n), yT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
60163
60167
|
CircleWithEdgeMesh: ua,
|
|
60164
60168
|
CylinderMesh: Bh,
|
|
60165
60169
|
CylinderMeshEditor: xb,
|
|
60166
|
-
LineMesh:
|
|
60170
|
+
LineMesh: Ti,
|
|
60167
60171
|
PointMesh: gn,
|
|
60168
60172
|
PolygonMesh: lr,
|
|
60169
60173
|
PrismMesh: Xs,
|
|
@@ -60235,8 +60239,8 @@ const tz = (...n) => new AT(...n), yT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
60235
60239
|
getRaycasterFromFivePointer: Dw,
|
|
60236
60240
|
initialCSS3DRender: ga,
|
|
60237
60241
|
inside: Tu,
|
|
60238
|
-
isModelLike:
|
|
60239
|
-
isNil:
|
|
60242
|
+
isModelLike: ki,
|
|
60243
|
+
isNil: yi,
|
|
60240
60244
|
isPanoramaLike: ds,
|
|
60241
60245
|
lookObject: p2,
|
|
60242
60246
|
lookPoint: Dv,
|
|
@@ -60252,7 +60256,7 @@ const tz = (...n) => new AT(...n), yT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
60252
60256
|
triangleCenter: fd,
|
|
60253
60257
|
tweenProgress: ia,
|
|
60254
60258
|
uuid: Et,
|
|
60255
|
-
waitFiveModelLoaded:
|
|
60259
|
+
waitFiveModelLoaded: Di,
|
|
60256
60260
|
worldBounding: Fl,
|
|
60257
60261
|
worldBoundingBox: $0,
|
|
60258
60262
|
worldBoundingSphere: ev
|