@ndmspc/ndmvr 0.20230220.0 → 0.20230223.0
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/ndmvr.es.js +275 -269
- package/dist/ndmvr.umd.js +21 -21
- package/package.json +1 -1
package/dist/ndmvr.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var Bn = Object.defineProperty;
|
|
2
2
|
var In = (r, e, t) => e in r ? Bn(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
-
var
|
|
3
|
+
var $e = (r, e, t) => (In(r, typeof e != "symbol" ? e + "" : e, t), t), Mr = (r, e, t) => {
|
|
4
4
|
if (!e.has(r))
|
|
5
5
|
throw TypeError("Cannot " + t);
|
|
6
6
|
};
|
|
@@ -10,7 +10,7 @@ var i = (r, e, t) => (Mr(r, e, "read from private field"), t ? t.call(r) : e.get
|
|
|
10
10
|
e instanceof WeakSet ? e.add(r) : e.set(r, t);
|
|
11
11
|
}, D = (r, e, t, n) => (Mr(r, e, "write to private field"), n ? n.call(r, t) : e.set(r, t), t);
|
|
12
12
|
var ur = (r, e, t) => (Mr(r, e, "access private method"), t);
|
|
13
|
-
import Me, { useRef as en, useDebugValue as Si, useContext as nt, createElement as Mn, forwardRef as Nn, useImperativeHandle as Yn, useState as He, useEffect as
|
|
13
|
+
import Me, { useRef as en, useDebugValue as Si, useContext as nt, createElement as Mn, forwardRef as Nn, useImperativeHandle as Yn, useState as He, useEffect as Ce, useLayoutEffect as jn } from "react";
|
|
14
14
|
import wt from "aframe";
|
|
15
15
|
import { createHistogram as wi, openFile as Fn } from "jsroot";
|
|
16
16
|
import * as Xr from "three";
|
|
@@ -56,10 +56,10 @@ function Xn() {
|
|
|
56
56
|
{
|
|
57
57
|
var V = O.ReactDebugCurrentFrame, fe = V.getStackAddendum();
|
|
58
58
|
fe !== "" && (E += "%s", P = P.concat([fe]));
|
|
59
|
-
var
|
|
59
|
+
var xe = P.map(function(oe) {
|
|
60
60
|
return String(oe);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
xe.unshift("Warning: " + E), Function.prototype.apply.call(console[l], console, xe);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
var g = !1, m = !1, J = !1, Q = !1, w = !1, U;
|
|
@@ -67,7 +67,7 @@ function Xn() {
|
|
|
67
67
|
function ae(l) {
|
|
68
68
|
return !!(typeof l == "string" || typeof l == "function" || l === n || l === s || w || l === o || l === p || l === c || Q || l === k || g || m || J || typeof l == "object" && l !== null && (l.$$typeof === x || l.$$typeof === h || l.$$typeof === a || l.$$typeof === f || l.$$typeof === d || l.$$typeof === U || l.getModuleId !== void 0));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function ve(l, E, P) {
|
|
71
71
|
var V = l.displayName;
|
|
72
72
|
if (V)
|
|
73
73
|
return V;
|
|
@@ -107,14 +107,14 @@ function Xn() {
|
|
|
107
107
|
var P = l;
|
|
108
108
|
return W(P._context) + ".Provider";
|
|
109
109
|
case d:
|
|
110
|
-
return
|
|
110
|
+
return ve(l, l.render, "ForwardRef");
|
|
111
111
|
case h:
|
|
112
112
|
var V = l.displayName || null;
|
|
113
113
|
return V !== null ? V : K(l.type) || "Memo";
|
|
114
114
|
case x: {
|
|
115
|
-
var fe = l,
|
|
115
|
+
var fe = l, xe = fe._payload, oe = fe._init;
|
|
116
116
|
try {
|
|
117
|
-
return K(oe(
|
|
117
|
+
return K(oe(xe));
|
|
118
118
|
} catch {
|
|
119
119
|
return null;
|
|
120
120
|
}
|
|
@@ -122,14 +122,14 @@ function Xn() {
|
|
|
122
122
|
}
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
125
|
-
var G = Object.assign, L = 0, N, he, ue,
|
|
125
|
+
var G = Object.assign, L = 0, N, he, ue, we, Te, Ne, R;
|
|
126
126
|
function A() {
|
|
127
127
|
}
|
|
128
128
|
A.__reactDisabledLog = !0;
|
|
129
129
|
function H() {
|
|
130
130
|
{
|
|
131
131
|
if (L === 0) {
|
|
132
|
-
N = console.log, he = console.info, ue = console.warn,
|
|
132
|
+
N = console.log, he = console.info, ue = console.warn, we = console.error, Te = console.group, Ne = console.groupCollapsed, R = console.groupEnd;
|
|
133
133
|
var l = {
|
|
134
134
|
configurable: !0,
|
|
135
135
|
enumerable: !0,
|
|
@@ -168,10 +168,10 @@ function Xn() {
|
|
|
168
168
|
value: ue
|
|
169
169
|
}),
|
|
170
170
|
error: G({}, l, {
|
|
171
|
-
value:
|
|
171
|
+
value: we
|
|
172
172
|
}),
|
|
173
173
|
group: G({}, l, {
|
|
174
|
-
value:
|
|
174
|
+
value: Te
|
|
175
175
|
}),
|
|
176
176
|
groupCollapsed: G({}, l, {
|
|
177
177
|
value: Ne
|
|
@@ -215,8 +215,8 @@ function Xn() {
|
|
|
215
215
|
de = !0;
|
|
216
216
|
var fe = Error.prepareStackTrace;
|
|
217
217
|
Error.prepareStackTrace = void 0;
|
|
218
|
-
var
|
|
219
|
-
|
|
218
|
+
var xe;
|
|
219
|
+
xe = y.current, y.current = null, H();
|
|
220
220
|
try {
|
|
221
221
|
if (E) {
|
|
222
222
|
var oe = function() {
|
|
@@ -269,12 +269,12 @@ function Xn() {
|
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
} finally {
|
|
272
|
-
de = !1, y.current =
|
|
272
|
+
de = !1, y.current = xe, Y(), Error.prepareStackTrace = fe;
|
|
273
273
|
}
|
|
274
274
|
var Ht = l ? l.displayName || l.name : "", xi = Ht ? _(Ht) : "";
|
|
275
275
|
return typeof l == "function" && q.set(l, xi), xi;
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function _e(l, E, P) {
|
|
278
278
|
return b(l, !1);
|
|
279
279
|
}
|
|
280
280
|
function $(l) {
|
|
@@ -297,20 +297,20 @@ function Xn() {
|
|
|
297
297
|
if (typeof l == "object")
|
|
298
298
|
switch (l.$$typeof) {
|
|
299
299
|
case d:
|
|
300
|
-
return
|
|
300
|
+
return _e(l.render);
|
|
301
301
|
case h:
|
|
302
302
|
return Z(l.type, E, P);
|
|
303
303
|
case x: {
|
|
304
|
-
var V = l, fe = V._payload,
|
|
304
|
+
var V = l, fe = V._payload, xe = V._init;
|
|
305
305
|
try {
|
|
306
|
-
return Z(
|
|
306
|
+
return Z(xe(fe), E, P);
|
|
307
307
|
} catch {
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
return "";
|
|
312
312
|
}
|
|
313
|
-
var
|
|
313
|
+
var Ee = Object.prototype.hasOwnProperty, ie = {}, ze = O.ReactDebugCurrentFrame;
|
|
314
314
|
function Ke(l) {
|
|
315
315
|
if (l) {
|
|
316
316
|
var E = l._owner, P = Z(l.type, l._source, E ? E.type : null);
|
|
@@ -320,9 +320,9 @@ function Xn() {
|
|
|
320
320
|
}
|
|
321
321
|
function Be(l, E, P, V, fe) {
|
|
322
322
|
{
|
|
323
|
-
var
|
|
323
|
+
var xe = Function.call.bind(Ee);
|
|
324
324
|
for (var oe in l)
|
|
325
|
-
if (
|
|
325
|
+
if (xe(l, oe)) {
|
|
326
326
|
var ne = void 0;
|
|
327
327
|
try {
|
|
328
328
|
if (typeof l[oe] != "function") {
|
|
@@ -349,17 +349,17 @@ function Xn() {
|
|
|
349
349
|
}
|
|
350
350
|
function X(l) {
|
|
351
351
|
try {
|
|
352
|
-
return
|
|
352
|
+
return ke(l), !1;
|
|
353
353
|
} catch {
|
|
354
354
|
return !0;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function ke(l) {
|
|
358
358
|
return "" + l;
|
|
359
359
|
}
|
|
360
360
|
function $t(l) {
|
|
361
361
|
if (X(l))
|
|
362
|
-
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Le(l)),
|
|
362
|
+
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Le(l)), ke(l);
|
|
363
363
|
}
|
|
364
364
|
var st = O.ReactCurrentOwner, qe = {
|
|
365
365
|
key: !0,
|
|
@@ -369,7 +369,7 @@ function Xn() {
|
|
|
369
369
|
}, hi, di, zr;
|
|
370
370
|
zr = {};
|
|
371
371
|
function Sn(l) {
|
|
372
|
-
if (
|
|
372
|
+
if (Ee.call(l, "ref")) {
|
|
373
373
|
var E = Object.getOwnPropertyDescriptor(l, "ref").get;
|
|
374
374
|
if (E && E.isReactWarning)
|
|
375
375
|
return !1;
|
|
@@ -377,7 +377,7 @@ function Xn() {
|
|
|
377
377
|
return l.ref !== void 0;
|
|
378
378
|
}
|
|
379
379
|
function wn(l) {
|
|
380
|
-
if (
|
|
380
|
+
if (Ee.call(l, "key")) {
|
|
381
381
|
var E = Object.getOwnPropertyDescriptor(l, "key").get;
|
|
382
382
|
if (E && E.isReactWarning)
|
|
383
383
|
return !1;
|
|
@@ -412,14 +412,14 @@ function Xn() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var _n = function(l, E, P, V, fe,
|
|
415
|
+
var _n = function(l, E, P, V, fe, xe, oe) {
|
|
416
416
|
var ne = {
|
|
417
417
|
$$typeof: e,
|
|
418
418
|
type: l,
|
|
419
419
|
key: E,
|
|
420
420
|
ref: P,
|
|
421
421
|
props: oe,
|
|
422
|
-
_owner:
|
|
422
|
+
_owner: xe
|
|
423
423
|
};
|
|
424
424
|
return ne._store = {}, Object.defineProperty(ne._store, "validated", {
|
|
425
425
|
configurable: !1,
|
|
@@ -440,14 +440,14 @@ function Xn() {
|
|
|
440
440
|
};
|
|
441
441
|
function kn(l, E, P, V, fe) {
|
|
442
442
|
{
|
|
443
|
-
var
|
|
443
|
+
var xe, oe = {}, ne = null, Ye = null;
|
|
444
444
|
P !== void 0 && ($t(P), ne = "" + P), wn(E) && ($t(E.key), ne = "" + E.key), Sn(E) && (Ye = E.ref, En(E, fe));
|
|
445
|
-
for (
|
|
446
|
-
|
|
445
|
+
for (xe in E)
|
|
446
|
+
Ee.call(E, xe) && !qe.hasOwnProperty(xe) && (oe[xe] = E[xe]);
|
|
447
447
|
if (l && l.defaultProps) {
|
|
448
448
|
var Re = l.defaultProps;
|
|
449
|
-
for (
|
|
450
|
-
oe[
|
|
449
|
+
for (xe in Re)
|
|
450
|
+
oe[xe] === void 0 && (oe[xe] = Re[xe]);
|
|
451
451
|
}
|
|
452
452
|
if (ne || Ye) {
|
|
453
453
|
var De = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
@@ -532,7 +532,7 @@ Check the top-level render call using <` + P + ">.");
|
|
|
532
532
|
else if (l) {
|
|
533
533
|
var fe = u(l);
|
|
534
534
|
if (typeof fe == "function" && fe !== l.entries)
|
|
535
|
-
for (var
|
|
535
|
+
for (var xe = fe.call(l), oe; !(oe = xe.next()).done; )
|
|
536
536
|
Ir(oe.value) && gi(oe.value, E);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -572,7 +572,7 @@ Check the top-level render call using <` + P + ">.");
|
|
|
572
572
|
l.ref !== null && (Rt(l), T("Invalid attribute `ref` supplied to `React.Fragment`."), Rt(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
function vi(l, E, P, V, fe,
|
|
575
|
+
function vi(l, E, P, V, fe, xe) {
|
|
576
576
|
{
|
|
577
577
|
var oe = ae(l);
|
|
578
578
|
if (!oe) {
|
|
@@ -583,7 +583,7 @@ Check the top-level render call using <` + P + ">.");
|
|
|
583
583
|
var Re;
|
|
584
584
|
l === null ? Re = "null" : ot(l) ? Re = "array" : l !== void 0 && l.$$typeof === e ? (Re = "<" + (K(l.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : Re = typeof l, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Re, ne);
|
|
585
585
|
}
|
|
586
|
-
var De = kn(l, E, P, fe,
|
|
586
|
+
var De = kn(l, E, P, fe, xe);
|
|
587
587
|
if (De == null)
|
|
588
588
|
return De;
|
|
589
589
|
if (oe) {
|
|
@@ -1117,7 +1117,7 @@ class si {
|
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
1119
|
lt = new WeakMap();
|
|
1120
|
-
const dt = new si(),
|
|
1120
|
+
const dt = new si(), Se = new si(), Pe = new si();
|
|
1121
1121
|
var Hr = { exports: {} }, pe = {};
|
|
1122
1122
|
var $i;
|
|
1123
1123
|
function io() {
|
|
@@ -1202,16 +1202,16 @@ function no() {
|
|
|
1202
1202
|
var Z = $.$$typeof;
|
|
1203
1203
|
switch (Z) {
|
|
1204
1204
|
case r:
|
|
1205
|
-
var
|
|
1206
|
-
switch (
|
|
1205
|
+
var Ee = $.type;
|
|
1206
|
+
switch (Ee) {
|
|
1207
1207
|
case t:
|
|
1208
1208
|
case o:
|
|
1209
1209
|
case n:
|
|
1210
1210
|
case p:
|
|
1211
1211
|
case c:
|
|
1212
|
-
return
|
|
1212
|
+
return Ee;
|
|
1213
1213
|
default:
|
|
1214
|
-
var ie =
|
|
1214
|
+
var ie = Ee && Ee.$$typeof;
|
|
1215
1215
|
switch (ie) {
|
|
1216
1216
|
case f:
|
|
1217
1217
|
case a:
|
|
@@ -1229,12 +1229,12 @@ function no() {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
var J = a, Q = s, w = r, U = d, ae = t,
|
|
1233
|
-
function
|
|
1232
|
+
var J = a, Q = s, w = r, U = d, ae = t, ve = x, W = h, K = e, G = o, L = n, N = p, he = c, ue = !1, we = !1;
|
|
1233
|
+
function Te($) {
|
|
1234
1234
|
return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1235
1235
|
}
|
|
1236
1236
|
function Ne($) {
|
|
1237
|
-
return
|
|
1237
|
+
return we || (we = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1238
1238
|
}
|
|
1239
1239
|
function R($) {
|
|
1240
1240
|
return m($) === a;
|
|
@@ -1269,10 +1269,10 @@ function no() {
|
|
|
1269
1269
|
function b($) {
|
|
1270
1270
|
return m($) === p;
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function _e($) {
|
|
1273
1273
|
return m($) === c;
|
|
1274
1274
|
}
|
|
1275
|
-
me.ContextConsumer = J, me.ContextProvider = Q, me.Element = w, me.ForwardRef = U, me.Fragment = ae, me.Lazy =
|
|
1275
|
+
me.ContextConsumer = J, me.ContextProvider = Q, me.Element = w, me.ForwardRef = U, me.Fragment = ae, me.Lazy = ve, me.Memo = W, me.Portal = K, me.Profiler = G, me.StrictMode = L, me.Suspense = N, me.SuspenseList = he, me.isAsyncMode = Te, me.isConcurrentMode = Ne, me.isContextConsumer = R, me.isContextProvider = A, me.isElement = H, me.isForwardRef = Y, me.isFragment = y, me.isLazy = ee, me.isMemo = _, me.isPortal = de, me.isProfiler = q, me.isStrictMode = re, me.isSuspense = b, me.isSuspenseList = _e, me.isValidElementType = g, me.typeOf = m;
|
|
1276
1276
|
}()), me;
|
|
1277
1277
|
}
|
|
1278
1278
|
(function(r) {
|
|
@@ -1280,7 +1280,7 @@ function no() {
|
|
|
1280
1280
|
})(Hr);
|
|
1281
1281
|
function oo(r) {
|
|
1282
1282
|
function e(R, A, H, Y, y) {
|
|
1283
|
-
for (var ee = 0, _ = 0, de = 0, q = 0, re, b,
|
|
1283
|
+
for (var ee = 0, _ = 0, de = 0, q = 0, re, b, _e = 0, $ = 0, Z, Ee = Z = re = 0, ie = 0, ze = 0, Ke = 0, Be = 0, Pt = H.length, ot = Pt - 1, Le, X = "", ke = "", $t = "", st = "", qe; ie < Pt; ) {
|
|
1284
1284
|
if (b = H.charCodeAt(ie), ie === ot && _ + q + de + ee !== 0 && (_ !== 0 && (b = _ === 47 ? 10 : 47), q = de = ee = 0, Pt++, ot++), _ + q + de + ee === 0) {
|
|
1285
1285
|
if (ie === ot && (0 < ze && (X = X.replace(x, "")), 0 < X.trim().length)) {
|
|
1286
1286
|
switch (b) {
|
|
@@ -1310,21 +1310,21 @@ function oo(r) {
|
|
|
1310
1310
|
case 42:
|
|
1311
1311
|
case 47:
|
|
1312
1312
|
e: {
|
|
1313
|
-
for (
|
|
1314
|
-
switch (H.charCodeAt(
|
|
1313
|
+
for (Ee = ie + 1; Ee < ot; ++Ee)
|
|
1314
|
+
switch (H.charCodeAt(Ee)) {
|
|
1315
1315
|
case 47:
|
|
1316
|
-
if (b === 42 && H.charCodeAt(
|
|
1317
|
-
ie =
|
|
1316
|
+
if (b === 42 && H.charCodeAt(Ee - 1) === 42 && ie + 2 !== Ee) {
|
|
1317
|
+
ie = Ee + 1;
|
|
1318
1318
|
break e;
|
|
1319
1319
|
}
|
|
1320
1320
|
break;
|
|
1321
1321
|
case 10:
|
|
1322
1322
|
if (b === 47) {
|
|
1323
|
-
ie =
|
|
1323
|
+
ie = Ee + 1;
|
|
1324
1324
|
break e;
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
|
1327
|
-
ie =
|
|
1327
|
+
ie = Ee;
|
|
1328
1328
|
}
|
|
1329
1329
|
}
|
|
1330
1330
|
break;
|
|
@@ -1366,7 +1366,7 @@ function oo(r) {
|
|
|
1366
1366
|
X = X.replace(T, "$1 $2"), Z = X + "{" + Z + "}", Z = L === 1 || L === 2 && s("@" + Z, 3) ? "@-webkit-" + Z + "@" + Z : "@" + Z;
|
|
1367
1367
|
break;
|
|
1368
1368
|
default:
|
|
1369
|
-
Z = X + Z, Y === 112 && (Z = (
|
|
1369
|
+
Z = X + Z, Y === 112 && (Z = (ke += Z, ""));
|
|
1370
1370
|
}
|
|
1371
1371
|
else
|
|
1372
1372
|
Z = "";
|
|
@@ -1374,12 +1374,12 @@ function oo(r) {
|
|
|
1374
1374
|
default:
|
|
1375
1375
|
Z = e(A, t(A, X, Ke), Z, Y, y + 1);
|
|
1376
1376
|
}
|
|
1377
|
-
$t += Z, Z = Ke = ze =
|
|
1377
|
+
$t += Z, Z = Ke = ze = Ee = re = 0, X = "", b = H.charCodeAt(++ie);
|
|
1378
1378
|
break;
|
|
1379
1379
|
case 125:
|
|
1380
1380
|
case 59:
|
|
1381
1381
|
if (X = (0 < ze ? X.replace(x, "") : X).trim(), 1 < (Be = X.length))
|
|
1382
|
-
switch (
|
|
1382
|
+
switch (Ee === 0 && (re = X.charCodeAt(0), re === 45 || 96 < re && 123 > re) && (Be = (X = X.replace(" ", ":")).length), 0 < ue && (qe = f(1, X, A, R, K, W, ke.length, Y, y, Y)) !== void 0 && (Be = (X = qe.trim()).length) === 0 && (X = "\0\0"), re = X.charCodeAt(0), b = X.charCodeAt(1), re) {
|
|
1383
1383
|
case 0:
|
|
1384
1384
|
break;
|
|
1385
1385
|
case 64:
|
|
@@ -1388,15 +1388,15 @@ function oo(r) {
|
|
|
1388
1388
|
break;
|
|
1389
1389
|
}
|
|
1390
1390
|
default:
|
|
1391
|
-
X.charCodeAt(Be - 1) !== 58 && (
|
|
1391
|
+
X.charCodeAt(Be - 1) !== 58 && (ke += o(X, re, b, X.charCodeAt(2)));
|
|
1392
1392
|
}
|
|
1393
|
-
Ke = ze =
|
|
1393
|
+
Ke = ze = Ee = re = 0, X = "", b = H.charCodeAt(++ie);
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
1396
|
switch (b) {
|
|
1397
1397
|
case 13:
|
|
1398
1398
|
case 10:
|
|
1399
|
-
_ === 47 ? _ = 0 : 1 + re === 0 && Y !== 107 && 0 < X.length && (ze = 1, X += "\0"), 0 < ue *
|
|
1399
|
+
_ === 47 ? _ = 0 : 1 + re === 0 && Y !== 107 && 0 < X.length && (ze = 1, X += "\0"), 0 < ue * Te && f(0, X, A, R, K, W, ke.length, Y, y, Y), W = 1, K++;
|
|
1400
1400
|
break;
|
|
1401
1401
|
case 59:
|
|
1402
1402
|
case 125:
|
|
@@ -1409,7 +1409,7 @@ function oo(r) {
|
|
|
1409
1409
|
case 9:
|
|
1410
1410
|
case 32:
|
|
1411
1411
|
if (q + ee + _ === 0)
|
|
1412
|
-
switch (
|
|
1412
|
+
switch (_e) {
|
|
1413
1413
|
case 44:
|
|
1414
1414
|
case 58:
|
|
1415
1415
|
case 9:
|
|
@@ -1433,16 +1433,16 @@ function oo(r) {
|
|
|
1433
1433
|
q + _ + ee === 0 && (ze = Ke = 1, Le = "\f" + Le);
|
|
1434
1434
|
break;
|
|
1435
1435
|
case 108:
|
|
1436
|
-
if (q + _ + ee + G === 0 && 0 <
|
|
1437
|
-
switch (ie -
|
|
1436
|
+
if (q + _ + ee + G === 0 && 0 < Ee)
|
|
1437
|
+
switch (ie - Ee) {
|
|
1438
1438
|
case 2:
|
|
1439
|
-
|
|
1439
|
+
_e === 112 && H.charCodeAt(ie - 3) === 58 && (G = _e);
|
|
1440
1440
|
case 8:
|
|
1441
1441
|
$ === 111 && (G = $);
|
|
1442
1442
|
}
|
|
1443
1443
|
break;
|
|
1444
1444
|
case 58:
|
|
1445
|
-
q + _ + ee === 0 && (
|
|
1445
|
+
q + _ + ee === 0 && (Ee = ie);
|
|
1446
1446
|
break;
|
|
1447
1447
|
case 44:
|
|
1448
1448
|
_ + de + q + ee === 0 && (ze = 1, Le += "\r");
|
|
@@ -1463,7 +1463,7 @@ function oo(r) {
|
|
|
1463
1463
|
case 40:
|
|
1464
1464
|
if (q + _ + ee === 0) {
|
|
1465
1465
|
if (re === 0)
|
|
1466
|
-
switch (2 *
|
|
1466
|
+
switch (2 * _e + 3 * $) {
|
|
1467
1467
|
case 533:
|
|
1468
1468
|
break;
|
|
1469
1469
|
default:
|
|
@@ -1473,7 +1473,7 @@ function oo(r) {
|
|
|
1473
1473
|
}
|
|
1474
1474
|
break;
|
|
1475
1475
|
case 64:
|
|
1476
|
-
_ + de + q + ee +
|
|
1476
|
+
_ + de + q + ee + Ee + Z === 0 && (Z = 1);
|
|
1477
1477
|
break;
|
|
1478
1478
|
case 42:
|
|
1479
1479
|
case 47:
|
|
@@ -1489,28 +1489,28 @@ function oo(r) {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
break;
|
|
1491
1491
|
case 42:
|
|
1492
|
-
b === 47 &&
|
|
1492
|
+
b === 47 && _e === 42 && Be + 2 !== ie && (H.charCodeAt(Be + 2) === 33 && (ke += H.substring(Be, ie + 1)), Le = "", _ = 0);
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
1495
|
_ === 0 && (X += Le);
|
|
1496
1496
|
}
|
|
1497
|
-
$ =
|
|
1497
|
+
$ = _e, _e = b, ie++;
|
|
1498
1498
|
}
|
|
1499
|
-
if (Be =
|
|
1500
|
-
if (ze = A, 0 < ue && (qe = f(2,
|
|
1501
|
-
return st +
|
|
1502
|
-
if (
|
|
1503
|
-
switch (L !== 2 || s(
|
|
1499
|
+
if (Be = ke.length, 0 < Be) {
|
|
1500
|
+
if (ze = A, 0 < ue && (qe = f(2, ke, ze, R, K, W, Be, Y, y, Y), qe !== void 0 && (ke = qe).length === 0))
|
|
1501
|
+
return st + ke + $t;
|
|
1502
|
+
if (ke = ze.join(",") + "{" + ke + "}", L * G !== 0) {
|
|
1503
|
+
switch (L !== 2 || s(ke, 2) || (G = 0), G) {
|
|
1504
1504
|
case 111:
|
|
1505
|
-
|
|
1505
|
+
ke = ke.replace(g, ":-moz-$1") + ke;
|
|
1506
1506
|
break;
|
|
1507
1507
|
case 112:
|
|
1508
|
-
|
|
1508
|
+
ke = ke.replace(z, "::-webkit-input-$1") + ke.replace(z, "::-moz-$1") + ke.replace(z, ":-ms-input-$1") + ke;
|
|
1509
1509
|
}
|
|
1510
1510
|
G = 0;
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
|
-
return st +
|
|
1513
|
+
return st + ke + $t;
|
|
1514
1514
|
}
|
|
1515
1515
|
function t(R, A, H) {
|
|
1516
1516
|
var Y = A.trim().split(u);
|
|
@@ -1575,7 +1575,7 @@ function oo(r) {
|
|
|
1575
1575
|
if (y.charCodeAt(8) === 45)
|
|
1576
1576
|
return "-webkit-" + y + y;
|
|
1577
1577
|
if (0 < y.indexOf("image-set(", 11))
|
|
1578
|
-
return y.replace(
|
|
1578
|
+
return y.replace(ve, "$1-webkit-$2") + y;
|
|
1579
1579
|
break;
|
|
1580
1580
|
case 932:
|
|
1581
1581
|
if (y.charCodeAt(4) === 45)
|
|
@@ -1655,25 +1655,25 @@ function oo(r) {
|
|
|
1655
1655
|
}
|
|
1656
1656
|
function s(R, A) {
|
|
1657
1657
|
var H = R.indexOf(A === 1 ? ":" : "{"), Y = R.substring(0, A !== 3 ? H : 10);
|
|
1658
|
-
return H = R.substring(H + 1, R.length - 1),
|
|
1658
|
+
return H = R.substring(H + 1, R.length - 1), we(A !== 2 ? Y : Y.replace(U, "$1"), H, A);
|
|
1659
1659
|
}
|
|
1660
1660
|
function a(R, A) {
|
|
1661
1661
|
var H = o(A, A.charCodeAt(0), A.charCodeAt(1), A.charCodeAt(2));
|
|
1662
1662
|
return H !== A + ";" ? H.replace(Q, " or ($1)").substring(4) : "(" + A + ")";
|
|
1663
1663
|
}
|
|
1664
1664
|
function f(R, A, H, Y, y, ee, _, de, q, re) {
|
|
1665
|
-
for (var b = 0,
|
|
1666
|
-
switch ($ = he[b].call(c, R,
|
|
1665
|
+
for (var b = 0, _e = A, $; b < ue; ++b)
|
|
1666
|
+
switch ($ = he[b].call(c, R, _e, H, Y, y, ee, _, de, q, re)) {
|
|
1667
1667
|
case void 0:
|
|
1668
1668
|
case !1:
|
|
1669
1669
|
case !0:
|
|
1670
1670
|
case null:
|
|
1671
1671
|
break;
|
|
1672
1672
|
default:
|
|
1673
|
-
|
|
1673
|
+
_e = $;
|
|
1674
1674
|
}
|
|
1675
|
-
if (
|
|
1676
|
-
return
|
|
1675
|
+
if (_e !== A)
|
|
1676
|
+
return _e;
|
|
1677
1677
|
}
|
|
1678
1678
|
function d(R) {
|
|
1679
1679
|
switch (R) {
|
|
@@ -1688,12 +1688,12 @@ function oo(r) {
|
|
|
1688
1688
|
for (var A = 0, H = R.length; A < H; ++A)
|
|
1689
1689
|
d(R[A]);
|
|
1690
1690
|
else
|
|
1691
|
-
|
|
1691
|
+
Te = !!R | 0;
|
|
1692
1692
|
}
|
|
1693
1693
|
return d;
|
|
1694
1694
|
}
|
|
1695
1695
|
function p(R) {
|
|
1696
|
-
return R = R.prefix, R !== void 0 && (
|
|
1696
|
+
return R = R.prefix, R !== void 0 && (we = null, R ? typeof R != "function" ? L = 1 : (L = 2, we = R) : L = 0), p;
|
|
1697
1697
|
}
|
|
1698
1698
|
function c(R, A) {
|
|
1699
1699
|
var H = R;
|
|
@@ -1704,7 +1704,7 @@ function oo(r) {
|
|
|
1704
1704
|
var y = e(N, H, A, 0, 0);
|
|
1705
1705
|
return 0 < ue && (Y = f(-2, y, H, H, K, W, y.length, 0, 0, 0), Y !== void 0 && (y = Y)), Ne = "", G = 0, W = K = 1, y;
|
|
1706
1706
|
}
|
|
1707
|
-
var h = /^\0+/g, x = /[\0\r\f]/g, k = /: */g, C = /zoo|gra/, v = /([,: ])(transform)/g, u = /,\r+?/g, O = /([\t\r\n ])*\f?&/g, T = /@(k\w+)\s*(\S*)\s*/, z = /::(place)/g, g = /:(read-only)/g, m = /[svh]\w+-[tblr]{2}/, J = /\(\s*(.*)\s*\)/g, Q = /([\s\S]*?);/g, w = /-self|flex-/g, U = /[^]*?(:[rp][el]a[\w-]+)[^]*/, ae = /stretch|:\s*\w+\-(?:conte|avail)/,
|
|
1707
|
+
var h = /^\0+/g, x = /[\0\r\f]/g, k = /: */g, C = /zoo|gra/, v = /([,: ])(transform)/g, u = /,\r+?/g, O = /([\t\r\n ])*\f?&/g, T = /@(k\w+)\s*(\S*)\s*/, z = /::(place)/g, g = /:(read-only)/g, m = /[svh]\w+-[tblr]{2}/, J = /\(\s*(.*)\s*\)/g, Q = /([\s\S]*?);/g, w = /-self|flex-/g, U = /[^]*?(:[rp][el]a[\w-]+)[^]*/, ae = /stretch|:\s*\w+\-(?:conte|avail)/, ve = /([^-])(image-set\()/, W = 1, K = 1, G = 0, L = 1, N = [], he = [], ue = 0, we = null, Te = 0, Ne = "";
|
|
1708
1708
|
return c.use = d, c.set = p, r !== void 0 && p(r), c;
|
|
1709
1709
|
}
|
|
1710
1710
|
var so = {
|
|
@@ -1842,8 +1842,8 @@ function uo() {
|
|
|
1842
1842
|
}
|
|
1843
1843
|
function g(b) {
|
|
1844
1844
|
if (typeof b == "object" && b !== null) {
|
|
1845
|
-
var
|
|
1846
|
-
switch (
|
|
1845
|
+
var _e = b.$$typeof;
|
|
1846
|
+
switch (_e) {
|
|
1847
1847
|
case e:
|
|
1848
1848
|
var $ = b.type;
|
|
1849
1849
|
switch ($) {
|
|
@@ -1864,19 +1864,19 @@ function uo() {
|
|
|
1864
1864
|
case a:
|
|
1865
1865
|
return Z;
|
|
1866
1866
|
default:
|
|
1867
|
-
return
|
|
1867
|
+
return _e;
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
1870
|
case t:
|
|
1871
|
-
return
|
|
1871
|
+
return _e;
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
|
-
var m = d, J = p, Q = f, w = a, U = e, ae = c,
|
|
1876
|
-
function
|
|
1877
|
-
return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
1875
|
+
var m = d, J = p, Q = f, w = a, U = e, ae = c, ve = n, W = C, K = k, G = t, L = s, N = o, he = h, ue = !1;
|
|
1876
|
+
function we(b) {
|
|
1877
|
+
return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Te(b) || g(b) === d;
|
|
1878
1878
|
}
|
|
1879
|
-
function
|
|
1879
|
+
function Te(b) {
|
|
1880
1880
|
return g(b) === p;
|
|
1881
1881
|
}
|
|
1882
1882
|
function Ne(b) {
|
|
@@ -1912,7 +1912,7 @@ function uo() {
|
|
|
1912
1912
|
function re(b) {
|
|
1913
1913
|
return g(b) === h;
|
|
1914
1914
|
}
|
|
1915
|
-
ge.AsyncMode = m, ge.ConcurrentMode = J, ge.ContextConsumer = Q, ge.ContextProvider = w, ge.Element = U, ge.ForwardRef = ae, ge.Fragment =
|
|
1915
|
+
ge.AsyncMode = m, ge.ConcurrentMode = J, ge.ContextConsumer = Q, ge.ContextProvider = w, ge.Element = U, ge.ForwardRef = ae, ge.Fragment = ve, ge.Lazy = W, ge.Memo = K, ge.Portal = G, ge.Profiler = L, ge.StrictMode = N, ge.Suspense = he, ge.isAsyncMode = we, ge.isConcurrentMode = Te, ge.isContextConsumer = Ne, ge.isContextProvider = R, ge.isElement = A, ge.isForwardRef = H, ge.isFragment = Y, ge.isLazy = y, ge.isMemo = ee, ge.isPortal = _, ge.isProfiler = de, ge.isStrictMode = q, ge.isSuspense = re, ge.isValidElementType = z, ge.typeOf = g;
|
|
1916
1916
|
}()), ge;
|
|
1917
1917
|
}
|
|
1918
1918
|
(function(r) {
|
|
@@ -2496,32 +2496,32 @@ function hn(r, e, t) {
|
|
|
2496
2496
|
} : r.shouldForwardProp);
|
|
2497
2497
|
var C, v = new Mo(t, h, n ? r.componentStyle : void 0), u = v.isStatic && a.length === 0, O = function(T, z) {
|
|
2498
2498
|
return function(g, m, J, Q) {
|
|
2499
|
-
var w = g.attrs, U = g.componentStyle, ae = g.defaultProps,
|
|
2499
|
+
var w = g.attrs, U = g.componentStyle, ae = g.defaultProps, ve = g.foldedComponentIds, W = g.shouldForwardProp, K = g.styledComponentId, G = g.target;
|
|
2500
2500
|
process.env.NODE_ENV !== "production" && Si(K);
|
|
2501
2501
|
var L = function(Y, y, ee) {
|
|
2502
2502
|
Y === void 0 && (Y = St);
|
|
2503
2503
|
var _ = ht({}, y, { theme: Y }), de = {};
|
|
2504
2504
|
return ee.forEach(function(q) {
|
|
2505
|
-
var re, b,
|
|
2505
|
+
var re, b, _e, $ = q;
|
|
2506
2506
|
for (re in sr($) && ($ = $(_)), $)
|
|
2507
|
-
_[re] = de[re] = re === "className" ? (b = de[re],
|
|
2507
|
+
_[re] = de[re] = re === "className" ? (b = de[re], _e = $[re], b && _e ? b + " " + _e : b || _e) : $[re];
|
|
2508
2508
|
}), [_, de];
|
|
2509
2509
|
}(Jo(m, nt(fn), ae) || St, m, w), N = L[0], he = L[1], ue = function(Y, y, ee, _) {
|
|
2510
2510
|
var de = Lo(), q = Xo(), re = y ? Y.generateAndInjectStyles(St, de, q) : Y.generateAndInjectStyles(ee, de, q);
|
|
2511
2511
|
return process.env.NODE_ENV !== "production" && Si(re), process.env.NODE_ENV !== "production" && !y && _ && _(re), re;
|
|
2512
|
-
}(U, Q, N, process.env.NODE_ENV !== "production" ? g.warnTooManyClasses : void 0),
|
|
2512
|
+
}(U, Q, N, process.env.NODE_ENV !== "production" ? g.warnTooManyClasses : void 0), we = J, Te = he.$as || m.$as || he.as || m.as || G, Ne = dr(Te), R = he !== m ? ht({}, m, {}, he) : m, A = {};
|
|
2513
2513
|
for (var H in R)
|
|
2514
|
-
H[0] !== "$" && H !== "as" && (H === "forwardedAs" ? A.as = R[H] : (W ? W(H, Hi,
|
|
2515
|
-
return m.style && he.style !== m.style && (A.style = ht({}, m.style, {}, he.style)), A.className = Array.prototype.concat(
|
|
2514
|
+
H[0] !== "$" && H !== "as" && (H === "forwardedAs" ? A.as = R[H] : (W ? W(H, Hi, Te) : !Ne || Hi(H)) && (A[H] = R[H]));
|
|
2515
|
+
return m.style && he.style !== m.style && (A.style = ht({}, m.style, {}, he.style)), A.className = Array.prototype.concat(ve, K, ue !== K ? ue : null, m.className, he.className).filter(Boolean).join(" "), A.ref = we, Mn(Te, A);
|
|
2516
2516
|
}(C, T, z, u);
|
|
2517
2517
|
};
|
|
2518
2518
|
return O.displayName = c, (C = Me.forwardRef(O)).attrs = x, C.componentStyle = v, C.displayName = c, C.shouldForwardProp = k, C.foldedComponentIds = n ? Array.prototype.concat(r.foldedComponentIds, r.styledComponentId) : Sr, C.styledComponentId = h, C.target = n ? r.target : r, C.withComponent = function(T) {
|
|
2519
2519
|
var z = e.componentId, g = function(J, Q) {
|
|
2520
2520
|
if (J == null)
|
|
2521
2521
|
return {};
|
|
2522
|
-
var w, U, ae = {},
|
|
2523
|
-
for (U = 0; U <
|
|
2524
|
-
w =
|
|
2522
|
+
var w, U, ae = {}, ve = Object.keys(J);
|
|
2523
|
+
for (U = 0; U < ve.length; U++)
|
|
2524
|
+
w = ve[U], Q.indexOf(w) >= 0 || (ae[w] = J[w]);
|
|
2525
2525
|
return ae;
|
|
2526
2526
|
}(e, ["componentId"]), m = z && z + "-" + (dr(T) ? T : Nr(Ur(T)));
|
|
2527
2527
|
return hn(T, ht({}, g, { attrs: x, componentId: m }), t);
|
|
@@ -2742,7 +2742,7 @@ const Ct = Jr, ns = Ct.div`
|
|
|
2742
2742
|
)
|
|
2743
2743
|
] })
|
|
2744
2744
|
] }) });
|
|
2745
|
-
}), hs = window.AFRAME,
|
|
2745
|
+
}), hs = window.AFRAME, Ae = new Et();
|
|
2746
2746
|
let Qr, Zi;
|
|
2747
2747
|
function dn() {
|
|
2748
2748
|
const r = en(), [e, t] = He(0), [n, o] = He(null);
|
|
@@ -2755,8 +2755,8 @@ function dn() {
|
|
|
2755
2755
|
}), [f, d] = He(1), [p] = He(
|
|
2756
2756
|
hs.utils.device.checkHeadsetConnected() ? "oculus" : "desktop"
|
|
2757
2757
|
), { source: c } = nt(At).stores, h = c != null && c.getOptions().length ? c == null ? void 0 : c.getOptions() : [];
|
|
2758
|
-
|
|
2759
|
-
}, [e]),
|
|
2758
|
+
Ce(() => (Zi = Ae.subscribe(x), () => Zi.unsubscribe()), []), Ce(() => {
|
|
2759
|
+
}, [e]), Ce(() => {
|
|
2760
2760
|
c && n && c.executeFunction(0, n);
|
|
2761
2761
|
}, [n]);
|
|
2762
2762
|
const x = (g) => {
|
|
@@ -2928,7 +2928,7 @@ the left controller.`,
|
|
|
2928
2928
|
Wi,
|
|
2929
2929
|
{
|
|
2930
2930
|
onClick: () => {
|
|
2931
|
-
d(f + 0.1),
|
|
2931
|
+
d(f + 0.1), Se.changeHistogramScale(0.1, "TH2"), dt.changeHistogramScale(0.1, "TH1");
|
|
2932
2932
|
},
|
|
2933
2933
|
children: "+"
|
|
2934
2934
|
}
|
|
@@ -2938,7 +2938,7 @@ the left controller.`,
|
|
|
2938
2938
|
Wi,
|
|
2939
2939
|
{
|
|
2940
2940
|
onClick: () => {
|
|
2941
|
-
d(f - 0.1),
|
|
2941
|
+
d(f - 0.1), Se.changeHistogramScale(-0.1, "TH2"), dt.changeHistogramScale(-0.1, "TH1");
|
|
2942
2942
|
},
|
|
2943
2943
|
children: "-"
|
|
2944
2944
|
}
|
|
@@ -2963,12 +2963,12 @@ the left controller.`,
|
|
|
2963
2963
|
let m = 0, J = 0, Q = 0, w = 0;
|
|
2964
2964
|
document.getElementById(g.id + "--header") ? document.getElementById(g.id + "--header").onmousedown = U : g.onmousedown = U;
|
|
2965
2965
|
function U(W) {
|
|
2966
|
-
W.preventDefault(), Q = W.clientX, w = W.clientY, document.onmouseup =
|
|
2966
|
+
W.preventDefault(), Q = W.clientX, w = W.clientY, document.onmouseup = ve, document.onmousemove = ae;
|
|
2967
2967
|
}
|
|
2968
2968
|
function ae(W) {
|
|
2969
2969
|
W.preventDefault(), m = Q - W.clientX, J = w - W.clientY, Q = W.clientX, w = W.clientY, g.style.top = g.offsetTop - J + "px", g.style.left = g.offsetLeft - m + "px";
|
|
2970
2970
|
}
|
|
2971
|
-
function
|
|
2971
|
+
function ve() {
|
|
2972
2972
|
document.onmouseup = null, document.onmousemove = null;
|
|
2973
2973
|
}
|
|
2974
2974
|
}
|
|
@@ -3287,7 +3287,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3287
3287
|
const w = document.getElementById(T(0));
|
|
3288
3288
|
w && w.setAttribute("material", "opacity", 1);
|
|
3289
3289
|
};
|
|
3290
|
-
|
|
3290
|
+
Ce(() => (r = Ae.subscribe(u), () => r.unsubscribe()), []), Ce(() => (r = xt.getCameraSubject().subscribe(v), () => r.unsubscribe()), [p, h, n]), Ce(() => {
|
|
3291
3291
|
const w = document.getElementById("camera");
|
|
3292
3292
|
p ? (a({
|
|
3293
3293
|
x: w.object3D.position.x,
|
|
@@ -3372,16 +3372,16 @@ class fi {
|
|
|
3372
3372
|
B(this, Cr, void 0);
|
|
3373
3373
|
B(this, Je, []);
|
|
3374
3374
|
B(this, Tr, (e) => i(this, Je).filter((t) => t.id !== e.id));
|
|
3375
|
-
|
|
3375
|
+
$e(this, "containThisBin", (e) => i(this, Je).filter(
|
|
3376
3376
|
(n) => n.id === e.id
|
|
3377
3377
|
).length !== 0);
|
|
3378
|
-
|
|
3378
|
+
$e(this, "storeBinToLocalStorage", (e) => {
|
|
3379
3379
|
this.containThisBin(e) || (i(this, Je).push(e), i(this, Xe).setItem("selectedBins", JSON.stringify(i(this, Je))));
|
|
3380
3380
|
});
|
|
3381
|
-
|
|
3381
|
+
$e(this, "deleteBinFromLocalStorage", (e) => {
|
|
3382
3382
|
this.containThisBin(e) && (D(this, Je, i(this, Tr).call(this, e)), i(this, Xe).setItem("selectedBins", JSON.stringify(i(this, Je))));
|
|
3383
3383
|
});
|
|
3384
|
-
|
|
3384
|
+
$e(this, "getBinsFromLocalStorage", () => {
|
|
3385
3385
|
const e = JSON.parse(i(this, Xe).getItem("selectedBins"));
|
|
3386
3386
|
return e === null ? [] : e;
|
|
3387
3387
|
});
|
|
@@ -3539,7 +3539,7 @@ wt.registerComponent("mouseevent", {
|
|
|
3539
3539
|
const a = o.detail.intersection;
|
|
3540
3540
|
a && jr(a, this, "DB_CLICK");
|
|
3541
3541
|
} else if (t === 1) {
|
|
3542
|
-
this.setAttribute("material", "color", "#99ff00"), this.setAttribute("material", "opacity", "1"), Gi.showBinProjection(this.userData),
|
|
3542
|
+
this.setAttribute("material", "color", "#99ff00"), this.setAttribute("material", "opacity", "1"), Gi.showBinProjection(this.userData), Ae.next({ binData: this.userData });
|
|
3543
3543
|
const a = o.detail.intersection;
|
|
3544
3544
|
a && jr(a, this, "CLICK");
|
|
3545
3545
|
}
|
|
@@ -3698,80 +3698,80 @@ wt.registerComponent("binth", {
|
|
|
3698
3698
|
};
|
|
3699
3699
|
}
|
|
3700
3700
|
});
|
|
3701
|
-
var
|
|
3701
|
+
var Oe, Ze;
|
|
3702
3702
|
class lr {
|
|
3703
3703
|
constructor() {
|
|
3704
|
-
B(this,
|
|
3705
|
-
|
|
3706
|
-
i(this,
|
|
3704
|
+
B(this, Oe, void 0);
|
|
3705
|
+
$e(this, "verticalMoveCamera", (e, t) => {
|
|
3706
|
+
i(this, Oe) === null && D(this, Oe, document.getElementById("cameraWrapper")), i(this, Oe) !== null && (e ? i(this, Oe).object3D.position.y += t : i(this, Oe).object3D.position.y > 0 && (i(this, Oe).object3D.position.y -= t));
|
|
3707
3707
|
});
|
|
3708
|
-
|
|
3709
|
-
i(this,
|
|
3708
|
+
$e(this, "horizontalMoveCamera", (e, t, n) => {
|
|
3709
|
+
i(this, Oe) === null && D(this, Oe, document.getElementById("cameraWrapper")), i(this, Oe) !== null && (t ? i(this, Oe).object3D.position[e] += n : i(this, Oe).object3D.position[e] -= n);
|
|
3710
3710
|
});
|
|
3711
3711
|
B(this, Ze, (e, t, n) => {
|
|
3712
|
-
if (i(this,
|
|
3712
|
+
if (i(this, Oe) !== null && e !== null) {
|
|
3713
3713
|
const o = e.object3D.position.x + 1 * e.object3D.position.x, s = e.object3D.position.z + 1 * e.object3D.position.z, a = t;
|
|
3714
|
-
i(this,
|
|
3714
|
+
i(this, Oe).setAttribute(
|
|
3715
3715
|
"animation",
|
|
3716
3716
|
`property: position; to: ${o + 1} ${a} ${s + 1}; dur: 100;`
|
|
3717
|
-
), i(this,
|
|
3717
|
+
), i(this, Oe).setAttribute(
|
|
3718
3718
|
"animation__1",
|
|
3719
|
-
`property: rotation; to: ${i(this,
|
|
3719
|
+
`property: rotation; to: ${i(this, Oe).object3D.rotation.x} ${n} ${i(this, Oe).object3D.rotation.z}; dur: 100;`
|
|
3720
3720
|
);
|
|
3721
3721
|
}
|
|
3722
3722
|
});
|
|
3723
|
-
|
|
3724
|
-
if (i(this,
|
|
3725
|
-
let t = i(this,
|
|
3723
|
+
$e(this, "setCameraPosition", (e) => {
|
|
3724
|
+
if (i(this, Oe) !== null) {
|
|
3725
|
+
let t = i(this, Oe).object3D.position.y;
|
|
3726
3726
|
e.zOffset !== void 0 && (t = e.zOffset * 2);
|
|
3727
3727
|
const n = e.xOffset + e.xOffset, o = e.yOffset + e.yOffset;
|
|
3728
3728
|
setTimeout(() => {
|
|
3729
|
-
i(this,
|
|
3729
|
+
i(this, Oe).setAttribute(
|
|
3730
3730
|
"animation",
|
|
3731
3731
|
`property: position; to: ${n - 3} ${t} ${o - 3}; dur: 40;`
|
|
3732
3732
|
);
|
|
3733
3733
|
}, 1800);
|
|
3734
3734
|
}
|
|
3735
3735
|
});
|
|
3736
|
-
|
|
3736
|
+
$e(this, "setPredefinedDownPosition", () => {
|
|
3737
3737
|
const e = document.getElementById("downLabel");
|
|
3738
3738
|
e !== void 0 && i(this, Ze).call(this, e, 0, 180);
|
|
3739
3739
|
});
|
|
3740
|
-
|
|
3740
|
+
$e(this, "setPredefinedUpPosition", () => {
|
|
3741
3741
|
const e = document.getElementById("upLabel");
|
|
3742
3742
|
e !== void 0 && i(this, Ze).call(this, e, 0, 0);
|
|
3743
3743
|
});
|
|
3744
|
-
|
|
3744
|
+
$e(this, "setPredefinedRightPosition", () => {
|
|
3745
3745
|
const e = document.getElementById("rightLabel");
|
|
3746
3746
|
e !== void 0 && i(this, Ze).call(this, e, 0, 90);
|
|
3747
3747
|
});
|
|
3748
|
-
|
|
3748
|
+
$e(this, "setPredefinedLeftPosition", () => {
|
|
3749
3749
|
const e = document.getElementById("leftLabel");
|
|
3750
3750
|
e !== void 0 && i(this, Ze).call(this, e, 0, 270);
|
|
3751
3751
|
});
|
|
3752
|
-
|
|
3752
|
+
$e(this, "setPredefinedDownPositionWithOffset", () => {
|
|
3753
3753
|
const e = document.getElementById("downLabel");
|
|
3754
3754
|
e !== void 0 && i(this, Ze).call(this, e, 10, 180);
|
|
3755
3755
|
});
|
|
3756
|
-
|
|
3756
|
+
$e(this, "setPredefinedUpPositionWithOffset", () => {
|
|
3757
3757
|
const e = document.getElementById("upLabel");
|
|
3758
3758
|
e !== void 0 && i(this, Ze).call(this, e, 10, 0);
|
|
3759
3759
|
});
|
|
3760
|
-
|
|
3760
|
+
$e(this, "setPredefinedRightPositionWithOffset", () => {
|
|
3761
3761
|
const e = document.getElementById("rightLabel");
|
|
3762
3762
|
e !== void 0 && i(this, Ze).call(this, e, 10, 90);
|
|
3763
3763
|
});
|
|
3764
|
-
|
|
3764
|
+
$e(this, "setPredefinedLeftPositionWithOffset", () => {
|
|
3765
3765
|
const e = document.getElementById("leftLabel");
|
|
3766
3766
|
e !== void 0 && i(this, Ze).call(this, e, 10, 270);
|
|
3767
3767
|
});
|
|
3768
|
-
D(this,
|
|
3768
|
+
D(this, Oe, document.getElementById("cameraWrapper"));
|
|
3769
3769
|
}
|
|
3770
3770
|
}
|
|
3771
|
-
|
|
3771
|
+
Oe = new WeakMap(), Ze = new WeakMap();
|
|
3772
3772
|
const ct = {};
|
|
3773
3773
|
let ti = new lr(), ri, pt, gr = !1;
|
|
3774
|
-
|
|
3774
|
+
Ae.next({ changeTabletState: gr });
|
|
3775
3775
|
const Fr = (r, e) => {
|
|
3776
3776
|
let t = 0.2;
|
|
3777
3777
|
r.name === "scale" ? t = 0.01 : r.name === "rotation" && (t = 2), e.key === "ArrowDown" ? r.xValue = r.xValue + t : e.key === "ArrowUp" ? r.xValue = r.xValue - t : e.key === "=" ? r.yValue = r.yValue + t : e.key === "-" ? r.yValue = r.yValue - t : e.key === "ArrowRight" ? r.zValue = r.zValue + t : e.key === "ArrowLeft" && (r.zValue = r.zValue - t), ri.setAttribute(
|
|
@@ -3779,32 +3779,32 @@ const Fr = (r, e) => {
|
|
|
3779
3779
|
`${r.xValue} ${r.yValue} ${r.zValue}`
|
|
3780
3780
|
);
|
|
3781
3781
|
}, gs = (r) => {
|
|
3782
|
-
r.key === "k" || r.key === "K" ? (
|
|
3782
|
+
r.key === "k" || r.key === "K" ? (Se.changeHistogramSectionByOffset(
|
|
3783
3783
|
"yOffset",
|
|
3784
3784
|
"TH2",
|
|
3785
3785
|
!1,
|
|
3786
3786
|
!0
|
|
3787
|
-
),
|
|
3787
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3788
3788
|
"yOffset",
|
|
3789
3789
|
"TH3",
|
|
3790
3790
|
!1,
|
|
3791
3791
|
!0
|
|
3792
|
-
)) : r.key === "i" || r.key === "I" ? (
|
|
3792
|
+
)) : r.key === "i" || r.key === "I" ? (Se.changeHistogramSectionByOffset(
|
|
3793
3793
|
"yOffset",
|
|
3794
3794
|
"TH2",
|
|
3795
3795
|
!0,
|
|
3796
3796
|
!0
|
|
3797
|
-
),
|
|
3797
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3798
3798
|
"yOffset",
|
|
3799
3799
|
"TH3",
|
|
3800
3800
|
!0,
|
|
3801
3801
|
!0
|
|
3802
|
-
)) : r.key === "u" || r.key === "U" ?
|
|
3802
|
+
)) : r.key === "u" || r.key === "U" ? Pe.changeHistogramSectionByOffset(
|
|
3803
3803
|
"zOffset",
|
|
3804
3804
|
"TH3",
|
|
3805
3805
|
!0,
|
|
3806
3806
|
!0
|
|
3807
|
-
) : r.key === "o" || r.key === "O" ?
|
|
3807
|
+
) : r.key === "o" || r.key === "O" ? Pe.changeHistogramSectionByOffset(
|
|
3808
3808
|
"zOffset",
|
|
3809
3809
|
"TH3",
|
|
3810
3810
|
!1,
|
|
@@ -3814,12 +3814,12 @@ const Fr = (r, e) => {
|
|
|
3814
3814
|
"TH1",
|
|
3815
3815
|
!1,
|
|
3816
3816
|
!0
|
|
3817
|
-
),
|
|
3817
|
+
), Se.changeHistogramSectionByOffset(
|
|
3818
3818
|
"xOffset",
|
|
3819
3819
|
"TH2",
|
|
3820
3820
|
!1,
|
|
3821
3821
|
!0
|
|
3822
|
-
),
|
|
3822
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3823
3823
|
"xOffset",
|
|
3824
3824
|
"TH3",
|
|
3825
3825
|
!1,
|
|
@@ -3829,71 +3829,71 @@ const Fr = (r, e) => {
|
|
|
3829
3829
|
"TH1",
|
|
3830
3830
|
!0,
|
|
3831
3831
|
!0
|
|
3832
|
-
),
|
|
3832
|
+
), Se.changeHistogramSectionByOffset(
|
|
3833
3833
|
"xOffset",
|
|
3834
3834
|
"TH2",
|
|
3835
3835
|
!0,
|
|
3836
3836
|
!0
|
|
3837
|
-
),
|
|
3837
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3838
3838
|
"xOffset",
|
|
3839
3839
|
"TH3",
|
|
3840
3840
|
!0,
|
|
3841
3841
|
!0
|
|
3842
3842
|
));
|
|
3843
3843
|
}, bs = (r) => {
|
|
3844
|
-
r.key === "k" || r.key === "K" ? (
|
|
3844
|
+
r.key === "k" || r.key === "K" ? (Se.changeHistogramSectionByOffset(
|
|
3845
3845
|
"yOffset",
|
|
3846
3846
|
"TH2",
|
|
3847
3847
|
!1,
|
|
3848
3848
|
!1
|
|
3849
|
-
),
|
|
3849
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3850
3850
|
"yOffset",
|
|
3851
3851
|
"TH3",
|
|
3852
3852
|
!1,
|
|
3853
3853
|
!1
|
|
3854
|
-
)) : r.key === "i" || r.key === "I" ? (
|
|
3854
|
+
)) : r.key === "i" || r.key === "I" ? (Se.changeHistogramSectionByOffset(
|
|
3855
3855
|
"yOffset",
|
|
3856
3856
|
"TH2",
|
|
3857
3857
|
!0,
|
|
3858
3858
|
!1
|
|
3859
|
-
),
|
|
3859
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3860
3860
|
"yOffset",
|
|
3861
3861
|
"TH3",
|
|
3862
3862
|
!0,
|
|
3863
3863
|
!1
|
|
3864
|
-
)) : r.key === "u" || r.key === "U" ?
|
|
3864
|
+
)) : r.key === "u" || r.key === "U" ? Pe.changeHistogramSectionByOffset(
|
|
3865
3865
|
"zOffset",
|
|
3866
3866
|
"TH3",
|
|
3867
3867
|
!0,
|
|
3868
3868
|
!1
|
|
3869
|
-
) : r.key === "o" || r.key === "O" ?
|
|
3869
|
+
) : r.key === "o" || r.key === "O" ? Pe.changeHistogramSectionByOffset(
|
|
3870
3870
|
"zOffset",
|
|
3871
3871
|
"TH3",
|
|
3872
3872
|
!1,
|
|
3873
3873
|
!1
|
|
3874
|
-
) : r.key === "l" || r.key === "L" ? (
|
|
3874
|
+
) : r.key === "l" || r.key === "L" ? (Se.changeHistogramSectionByOffset(
|
|
3875
3875
|
"xOffset",
|
|
3876
3876
|
"TH2",
|
|
3877
3877
|
!1,
|
|
3878
3878
|
!1
|
|
3879
|
-
),
|
|
3879
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3880
3880
|
"xOffset",
|
|
3881
3881
|
"TH3",
|
|
3882
3882
|
!1,
|
|
3883
3883
|
!1
|
|
3884
|
-
)) : (r.key === "j" || r.key === "J") && (
|
|
3884
|
+
)) : (r.key === "j" || r.key === "J") && (Se.changeHistogramSectionByOffset(
|
|
3885
3885
|
"xOffset",
|
|
3886
3886
|
"TH2",
|
|
3887
3887
|
!0,
|
|
3888
3888
|
!1
|
|
3889
|
-
),
|
|
3889
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3890
3890
|
"xOffset",
|
|
3891
3891
|
"TH3",
|
|
3892
3892
|
!0,
|
|
3893
3893
|
!1
|
|
3894
3894
|
));
|
|
3895
3895
|
}, ii = (r) => {
|
|
3896
|
-
ct[r.key] = !0, (ct.Z || ct.z) && Fr(pt[0], r), (ct.X || ct.x) && Fr(pt[1], r), (ct.C || ct.c) && Fr(pt[2], r), ct.Shift && bs(r), gs(r), r.key === " " && ti.verticalMoveCamera(!0, 0.3), r.shiftKey && ti.verticalMoveCamera(!1, 0.3), r.key === "1" &&
|
|
3896
|
+
ct[r.key] = !0, (ct.Z || ct.z) && Fr(pt[0], r), (ct.X || ct.x) && Fr(pt[1], r), (ct.C || ct.c) && Fr(pt[2], r), ct.Shift && bs(r), gs(r), r.key === " " && ti.verticalMoveCamera(!0, 0.3), r.shiftKey && ti.verticalMoveCamera(!1, 0.3), r.key === "1" && Ae.next(0), r.key === "2" && Ae.next(1), r.key === "3" && Ae.next(2), r.key === "4" && Ae.next(3), r.key === "5" && Ae.next(4), r.key === "6" && Ae.next(5), r.key === "7" && Ae.next(6), r.key === "8" && Ae.next(7), r.key === "9" && Ae.next(8), r.key === "0" && Ae.next(9), r.key === "Enter" && nr.emmitCommand("REFRESH"), (r.key === "e" || r.key === "E") && (gr = !gr, gr ? Ae.next({ changeTabletState: "flex" }) : Ae.next({ changeTabletState: "none" })), (r.key === "t" || r.key === "T") && Se.changeHistogramScale(0.1, "TH2"), r.key === "r" || r.key, (r.key === "m" || r.key === "M") && Se.changeHistogramFunction("feet", "TH2"), (r.key === "n" || r.key === "N") && Se.changeHistogramFunction("default", "TH2"), (r.key === "c" || r.key === "C") && xt.setUserState(), (r.key === "v" || r.key === "V") && xt.setVisibilityOfBanners("keyboard"), (r.key === "x" || r.key === "X") && xt.shiftBanners(), (r.key === "x" || r.key === "X") && xt.shiftBanners();
|
|
3897
3897
|
}, ni = (r) => {
|
|
3898
3898
|
delete ct[r.key];
|
|
3899
3899
|
}, mn = (r, e) => {
|
|
@@ -4285,11 +4285,11 @@ class gn {
|
|
|
4285
4285
|
return n;
|
|
4286
4286
|
}
|
|
4287
4287
|
}
|
|
4288
|
-
var
|
|
4288
|
+
var be, ar, M, Qe, j, te, se, I, je, Ve, et, ut, yt, cr, le, Fe, tt, rt, gt, it, Ot, Bt, F, bt, ft, It, Ue, _r, kr, Or, Mt, Nt, Yt, jt, Ft, Lt, br, Ar, Pr, $r, vt, Xt, Vt;
|
|
4289
4289
|
class vs {
|
|
4290
4290
|
constructor(e, t, n, o, s, a, f, d) {
|
|
4291
4291
|
B(this, Lt);
|
|
4292
|
-
B(this,
|
|
4292
|
+
B(this, be, "");
|
|
4293
4293
|
B(this, ar, []);
|
|
4294
4294
|
B(this, M, null);
|
|
4295
4295
|
B(this, Qe, "");
|
|
@@ -4321,18 +4321,18 @@ class vs {
|
|
|
4321
4321
|
zOffset: 0
|
|
4322
4322
|
});
|
|
4323
4323
|
B(this, bt, []);
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4324
|
+
$e(this, "getXOffset", () => i(this, te));
|
|
4325
|
+
$e(this, "getYOffset", () => i(this, se));
|
|
4326
|
+
$e(this, "getZOffset", () => i(this, I));
|
|
4327
|
+
$e(this, "getContentScale", () => i(this, it));
|
|
4328
|
+
$e(this, "getRange", () => i(this, le));
|
|
4329
4329
|
B(this, ft, (e, t) => {
|
|
4330
4330
|
let n = e > t - i(this, le) ? t - i(this, le) : e;
|
|
4331
4331
|
return n < 1 && (n = 1), n;
|
|
4332
4332
|
});
|
|
4333
4333
|
B(this, It, (e) => i(this, ar).filter((n) => n.id === e).length !== 0);
|
|
4334
4334
|
B(this, Ue, (e, t, n, o, s, a, f, d, p, c, h, x) => ({
|
|
4335
|
-
key: e + i(this,
|
|
4335
|
+
key: e + i(this, be),
|
|
4336
4336
|
geometry: {
|
|
4337
4337
|
primitive: "plane",
|
|
4338
4338
|
width: d,
|
|
@@ -4377,12 +4377,13 @@ class vs {
|
|
|
4377
4377
|
let t, n, o, s, a, f, d, p, c, h, x, k;
|
|
4378
4378
|
const C = "";
|
|
4379
4379
|
let v, u, O = 0;
|
|
4380
|
-
const T = i(this, te) + i(this, le) > i(this, je) ? i(this, je) : i(this, te) + i(this, le), z = i(this, se) + i(this, le) > i(this, Ve) ? i(this, Ve) : i(this, se) + i(this, le), g = i(this, I) + i(this, le) > i(this, et) ? i(this, et) : i(this, I) + i(this, le), m = i(this, M).fXaxis.fTitle, J = i(this, M).fYaxis.fTitle, Q = i(this, M).fZaxis.fTitle, w = i(this, M).fXaxis.fLabels ? i(this, M).fXaxis.fLabels.arr : [], U = i(this, M).fYaxis.fLabels ? i(this, M).fYaxis.fLabels.arr : [], ae = i(this, M).fZaxis.fLabels ? i(this, M).fZaxis.fLabels.arr : [],
|
|
4380
|
+
const T = i(this, te) + i(this, le) > i(this, je) ? i(this, je) : i(this, te) + i(this, le), z = i(this, se) + i(this, le) > i(this, Ve) ? i(this, Ve) : i(this, se) + i(this, le), g = i(this, I) + i(this, le) > i(this, et) ? i(this, et) : i(this, I) + i(this, le), m = i(this, M).fXaxis.fTitle, J = i(this, M).fYaxis.fTitle, Q = i(this, M).fZaxis.fTitle, w = i(this, M).fXaxis.fLabels ? i(this, M).fXaxis.fLabels.arr : [], U = i(this, M).fYaxis.fLabels ? i(this, M).fYaxis.fLabels.arr : [], ae = i(this, M).fZaxis.fLabels ? i(this, M).fZaxis.fLabels.arr : [], ve = [];
|
|
4381
4381
|
for (let G = i(this, I); G <= g; G++)
|
|
4382
4382
|
for (let L = i(this, se); L <= z; L++)
|
|
4383
4383
|
for (let N = i(this, te); N <= T; N++) {
|
|
4384
4384
|
if (t = i(this, M).fXaxis.GetBinCenter(N), n = i(this, M).fXaxis.GetBinLowEdge(N), o = t + (t - n), s = o - n, a = i(this, M).fYaxis.GetBinCenter(L), f = i(this, M).fYaxis.GetBinLowEdge(L), d = a + (a - f), p = d - f, c = i(this, M).fZaxis.GetBinCenter(G), h = i(this, M).fZaxis.GetBinLowEdge(G), x = c + (c - h), k = x - h, v = i(this, rt) ? i(this, Vt).call(this, i(this, rt).call(this, {
|
|
4385
4385
|
histogram: i(this, M),
|
|
4386
|
+
histogramId: i(this, be),
|
|
4386
4387
|
x: N,
|
|
4387
4388
|
y: L,
|
|
4388
4389
|
z: G
|
|
@@ -4391,17 +4392,18 @@ class vs {
|
|
|
4391
4392
|
u < 0.15 && (he = 0.15);
|
|
4392
4393
|
let ue = i(this, tt) ? i(this, tt).call(this, {
|
|
4393
4394
|
histogram: i(this, M),
|
|
4395
|
+
histogramId: i(this, be),
|
|
4394
4396
|
x: N,
|
|
4395
4397
|
y: L,
|
|
4396
4398
|
z: G,
|
|
4397
4399
|
content: u
|
|
4398
4400
|
}) : null;
|
|
4399
4401
|
ue = ue || i(this, j).getBinColor(u);
|
|
4400
|
-
const
|
|
4401
|
-
let
|
|
4402
|
-
i(this, It).call(this,
|
|
4403
|
-
const Ne = `id: ${
|
|
4404
|
-
histogramName: ${i(this,
|
|
4402
|
+
const we = i(this, be) + n + "th3" + o + "th3" + h + "th3" + x + "th3" + f + "th3" + d;
|
|
4403
|
+
let Te;
|
|
4404
|
+
i(this, It).call(this, we) ? Te = i(this, j).getSecondaryAccentColor() : Te = ue;
|
|
4405
|
+
const Ne = `id: ${we};
|
|
4406
|
+
histogramName: ${i(this, be)};
|
|
4405
4407
|
typeName: 'TH3';
|
|
4406
4408
|
content: ${u};
|
|
4407
4409
|
color: ${ue};
|
|
@@ -4425,20 +4427,20 @@ class vs {
|
|
|
4425
4427
|
xWidth: ${s};
|
|
4426
4428
|
yWidth: ${p};
|
|
4427
4429
|
zWidth: ${k};
|
|
4428
|
-
markedColor: ${
|
|
4430
|
+
markedColor: ${Te};
|
|
4429
4431
|
selectColor: ${i(this, j).getSecondaryAccentColor()};
|
|
4430
4432
|
axisX: ${i(this, j).getAxisColor("x")};
|
|
4431
4433
|
axisY: ${i(this, j).getAxisColor("y")};
|
|
4432
4434
|
axisZ: ${i(this, j).getAxisColor("z")}`, R = he * 0.8, A = N - 1, H = G - 1, Y = L - 1;
|
|
4433
4435
|
e.bins[O] = {
|
|
4434
|
-
id:
|
|
4436
|
+
id: we,
|
|
4435
4437
|
color: ue,
|
|
4436
4438
|
binData: Ne,
|
|
4437
4439
|
content: v,
|
|
4438
4440
|
animation: {
|
|
4439
|
-
fromWidth: i(this, vt).call(this,
|
|
4440
|
-
fromHeight: i(this, vt).call(this,
|
|
4441
|
-
fromDepth: i(this, vt).call(this,
|
|
4441
|
+
fromWidth: i(this, vt).call(this, we),
|
|
4442
|
+
fromHeight: i(this, vt).call(this, we),
|
|
4443
|
+
fromDepth: i(this, vt).call(this, we),
|
|
4442
4444
|
toWidth: R,
|
|
4443
4445
|
toHeight: R,
|
|
4444
4446
|
toDepth: R
|
|
@@ -4452,18 +4454,18 @@ class vs {
|
|
|
4452
4454
|
toZ: Y
|
|
4453
4455
|
},
|
|
4454
4456
|
animation3: {
|
|
4455
|
-
fromColor: i(this, Xt).call(this,
|
|
4456
|
-
toColor:
|
|
4457
|
+
fromColor: i(this, Xt).call(this, we),
|
|
4458
|
+
toColor: Te
|
|
4457
4459
|
}
|
|
4458
|
-
},
|
|
4459
|
-
key:
|
|
4460
|
+
}, ve[O] = {
|
|
4461
|
+
key: we,
|
|
4460
4462
|
scale: R,
|
|
4461
|
-
color:
|
|
4463
|
+
color: Te
|
|
4462
4464
|
};
|
|
4463
4465
|
}
|
|
4464
4466
|
O++;
|
|
4465
4467
|
}
|
|
4466
|
-
D(this, bt,
|
|
4468
|
+
D(this, bt, ve);
|
|
4467
4469
|
const W = [], K = [];
|
|
4468
4470
|
return O = i(this, jt).call(this, e, W, K, z, T, U, J, 0), O = i(this, Ft).call(this, e, W, K, T, z, w, m, O), O = i(this, Yt).call(this, e, W, K, T, z, g, ae, Q, O), ur(this, Lt, br).call(this, e, W, K, T, z, O), e.labels = [...W, ...K], e;
|
|
4469
4471
|
});
|
|
@@ -4485,21 +4487,23 @@ class vs {
|
|
|
4485
4487
|
for (let U = i(this, te); U <= v; U++) {
|
|
4486
4488
|
if (n = i(this, M).fXaxis.GetBinCenter(U), o = i(this, M).fXaxis.GetBinLowEdge(U), s = n + (n - o), a = s - o, f = i(this, M).fYaxis.GetBinCenter(w), d = i(this, M).fYaxis.GetBinLowEdge(w), p = f + (f - d), c = p - d, k = i(this, rt) ? i(this, Vt).call(this, i(this, rt).call(this, {
|
|
4487
4489
|
histogram: i(this, M),
|
|
4490
|
+
histogramId: i(this, be),
|
|
4488
4491
|
x: U,
|
|
4489
4492
|
y: w
|
|
4490
4493
|
})) : i(this, M).getBinContent(U, w), h = i(this, Mt).call(this, k), t = h * i(this, le) * i(this, it) / 16, h > i(this, Ot)) {
|
|
4491
4494
|
let ae = i(this, tt) ? i(this, tt).call(this, {
|
|
4492
4495
|
histogram: i(this, M),
|
|
4496
|
+
histogramId: i(this, be),
|
|
4493
4497
|
x: U,
|
|
4494
4498
|
y: w,
|
|
4495
4499
|
content: h
|
|
4496
4500
|
}) : null;
|
|
4497
4501
|
ae = ae || i(this, j).getBinColor(h);
|
|
4498
|
-
const
|
|
4502
|
+
const ve = i(this, be) + o + "th2" + s + "th2" + d + "th2" + p;
|
|
4499
4503
|
let W;
|
|
4500
|
-
i(this, It).call(this,
|
|
4501
|
-
const K = `id: ${
|
|
4502
|
-
histogramName: ${i(this,
|
|
4504
|
+
i(this, It).call(this, ve) ? W = i(this, j).getSecondaryAccentColor() : W = ae;
|
|
4505
|
+
const K = `id: ${ve};
|
|
4506
|
+
histogramName: ${i(this, be)};
|
|
4503
4507
|
typeName: 'TH2';
|
|
4504
4508
|
content: ${h};
|
|
4505
4509
|
color: ${ae};
|
|
@@ -4529,13 +4533,13 @@ class vs {
|
|
|
4529
4533
|
axisY: ${i(this, j).getAxisColor("y")};
|
|
4530
4534
|
axisZ: ${i(this, j).getAxisColor("z")}`, G = a / i(this, ut) / i(this, Bt), L = c / i(this, yt) / i(this, Bt), N = U - 1, he = w - 1;
|
|
4531
4535
|
e.bins[C] = {
|
|
4532
|
-
id:
|
|
4536
|
+
id: ve,
|
|
4533
4537
|
color: ae,
|
|
4534
4538
|
binData: K,
|
|
4535
4539
|
content: k,
|
|
4536
4540
|
animation: {
|
|
4537
4541
|
fromWidth: G,
|
|
4538
|
-
fromHeight: i(this, vt).call(this,
|
|
4542
|
+
fromHeight: i(this, vt).call(this, ve),
|
|
4539
4543
|
fromDepth: L,
|
|
4540
4544
|
toWidth: G,
|
|
4541
4545
|
toHeight: h * i(this, le) * i(this, it) / 8,
|
|
@@ -4550,11 +4554,11 @@ class vs {
|
|
|
4550
4554
|
toZ: he
|
|
4551
4555
|
},
|
|
4552
4556
|
animation3: {
|
|
4553
|
-
fromColor: i(this, Xt).call(this,
|
|
4557
|
+
fromColor: i(this, Xt).call(this, ve),
|
|
4554
4558
|
toColor: W
|
|
4555
4559
|
}
|
|
4556
4560
|
}, m[C] = {
|
|
4557
|
-
key:
|
|
4561
|
+
key: ve,
|
|
4558
4562
|
scale: h,
|
|
4559
4563
|
color: W
|
|
4560
4564
|
};
|
|
@@ -4582,19 +4586,21 @@ class vs {
|
|
|
4582
4586
|
for (let T = i(this, te); T <= h; T++) {
|
|
4583
4587
|
if (n = i(this, M).fXaxis.GetBinCenter(T), o = i(this, M).fXaxis.GetBinLowEdge(T), s = n + (n - o), a = s - o, p = i(this, rt) ? i(this, Vt).call(this, i(this, rt).call(this, {
|
|
4584
4588
|
histogram: i(this, M),
|
|
4589
|
+
histogramId: i(this, be),
|
|
4585
4590
|
x: T
|
|
4586
4591
|
})) : i(this, M).getBinContent(T), f = i(this, Mt).call(this, p), t = f * i(this, le) * i(this, it) / 16, f > i(this, Ot)) {
|
|
4587
4592
|
let z = i(this, tt) ? i(this, tt).call(this, {
|
|
4588
4593
|
histogram: i(this, M),
|
|
4594
|
+
histogramId: i(this, be),
|
|
4589
4595
|
x: T,
|
|
4590
4596
|
content: f
|
|
4591
4597
|
}) : null;
|
|
4592
4598
|
z = z || i(this, j).getBinColor(f);
|
|
4593
|
-
const g = i(this,
|
|
4599
|
+
const g = i(this, be) + o + "th1" + s;
|
|
4594
4600
|
let m;
|
|
4595
4601
|
i(this, It).call(this, g) ? m = i(this, j).getSecondaryAccentColor() : m = z;
|
|
4596
4602
|
const J = `id: ${g};
|
|
4597
|
-
histogramName: ${i(this,
|
|
4603
|
+
histogramName: ${i(this, be)};
|
|
4598
4604
|
typeName: 'TH1';
|
|
4599
4605
|
content: ${f};
|
|
4600
4606
|
xTitle: ${k};
|
|
@@ -4678,7 +4684,7 @@ class vs {
|
|
|
4678
4684
|
(i(this, Fe).zInitial + i(this, I) - 1 + Number.EPSILON) * 100
|
|
4679
4685
|
) / 100 : "0"}`, i(this, j).getAxisColor("y"), i(this, j).getSecondaryFontColor()), p++, d && (e.axisLabels[4] = {
|
|
4680
4686
|
id: "upLabel1",
|
|
4681
|
-
key: 95004 + i(this,
|
|
4687
|
+
key: 95004 + i(this, be),
|
|
4682
4688
|
text: {
|
|
4683
4689
|
value: d,
|
|
4684
4690
|
color: i(this, j).getAxisColor("y")
|
|
@@ -4698,7 +4704,7 @@ class vs {
|
|
|
4698
4704
|
}
|
|
4699
4705
|
}, e.axisLabels[5] = {
|
|
4700
4706
|
id: "upLabel2",
|
|
4701
|
-
key: 100005 + i(this,
|
|
4707
|
+
key: 100005 + i(this, be),
|
|
4702
4708
|
text: {
|
|
4703
4709
|
value: d,
|
|
4704
4710
|
color: i(this, j).getAxisColor("y")
|
|
@@ -4718,7 +4724,7 @@ class vs {
|
|
|
4718
4724
|
}
|
|
4719
4725
|
}, e.axisLabels[6] = {
|
|
4720
4726
|
id: "upLabel3",
|
|
4721
|
-
key: 105006 + i(this,
|
|
4727
|
+
key: 105006 + i(this, be),
|
|
4722
4728
|
text: {
|
|
4723
4729
|
value: d,
|
|
4724
4730
|
color: i(this, j).getAxisColor("y")
|
|
@@ -4738,7 +4744,7 @@ class vs {
|
|
|
4738
4744
|
}
|
|
4739
4745
|
}, e.axisLabels[7] = {
|
|
4740
4746
|
id: "upLabel4",
|
|
4741
|
-
key: 105007 + i(this,
|
|
4747
|
+
key: 105007 + i(this, be),
|
|
4742
4748
|
text: {
|
|
4743
4749
|
value: d,
|
|
4744
4750
|
color: i(this, j).getAxisColor("y")
|
|
@@ -4766,7 +4772,7 @@ class vs {
|
|
|
4766
4772
|
) / 100 : ""}`, i(this, j).getAxisColor("z"), i(this, j).getSecondaryFontColor()), d++;
|
|
4767
4773
|
return e.axisLabels[0] = {
|
|
4768
4774
|
id: "leftLabel",
|
|
4769
|
-
key: 4500 + i(this,
|
|
4775
|
+
key: 4500 + i(this, be),
|
|
4770
4776
|
text: {
|
|
4771
4777
|
value: f || "",
|
|
4772
4778
|
color: i(this, j).getAxisColor("z")
|
|
@@ -4786,7 +4792,7 @@ class vs {
|
|
|
4786
4792
|
}
|
|
4787
4793
|
}, e.axisLabels[1] = {
|
|
4788
4794
|
id: "rightLabel",
|
|
4789
|
-
key: 6001 + i(this,
|
|
4795
|
+
key: 6001 + i(this, be),
|
|
4790
4796
|
text: {
|
|
4791
4797
|
value: f || "",
|
|
4792
4798
|
color: i(this, j).getAxisColor("z")
|
|
@@ -4815,7 +4821,7 @@ class vs {
|
|
|
4815
4821
|
) / 100}`, i(this, j).getAxisColor("x"), i(this, j).getSecondaryFontColor()), d++;
|
|
4816
4822
|
return e.axisLabels[2] = {
|
|
4817
4823
|
id: "downLabel",
|
|
4818
|
-
key: 10502 + i(this,
|
|
4824
|
+
key: 10502 + i(this, be),
|
|
4819
4825
|
text: {
|
|
4820
4826
|
value: f,
|
|
4821
4827
|
color: i(this, j).getAxisColor("x")
|
|
@@ -4835,7 +4841,7 @@ class vs {
|
|
|
4835
4841
|
}
|
|
4836
4842
|
}, e.axisLabels[3] = {
|
|
4837
4843
|
id: "upLabel",
|
|
4838
|
-
key: 12003 + i(this,
|
|
4844
|
+
key: 12003 + i(this, be),
|
|
4839
4845
|
text: {
|
|
4840
4846
|
value: f,
|
|
4841
4847
|
color: i(this, j).getAxisColor("x")
|
|
@@ -4919,7 +4925,7 @@ class vs {
|
|
|
4919
4925
|
this.setUniqueName(e), this.setTheme(s), this.setHistogram(t), this.setHistogramContentMaximum(t.fMaximum), this.setSection(n), this.setRange(o), this.setSelectedBin(a), this.setViewFunction(f), this.setProgressFunction(d);
|
|
4920
4926
|
}
|
|
4921
4927
|
setUniqueName(e) {
|
|
4922
|
-
D(this,
|
|
4928
|
+
D(this, be, e);
|
|
4923
4929
|
}
|
|
4924
4930
|
updateContentScale(e) {
|
|
4925
4931
|
i(this, it) + e >= 0 && D(this, it, i(this, it) + e);
|
|
@@ -4965,9 +4971,9 @@ class vs {
|
|
|
4965
4971
|
return i(this, $r).call(this, e, t, n);
|
|
4966
4972
|
}
|
|
4967
4973
|
}
|
|
4968
|
-
|
|
4974
|
+
be = new WeakMap(), ar = new WeakMap(), M = new WeakMap(), Qe = new WeakMap(), j = new WeakMap(), te = new WeakMap(), se = new WeakMap(), I = new WeakMap(), je = new WeakMap(), Ve = new WeakMap(), et = new WeakMap(), ut = new WeakMap(), yt = new WeakMap(), cr = new WeakMap(), le = new WeakMap(), Fe = new WeakMap(), tt = new WeakMap(), rt = new WeakMap(), gt = new WeakMap(), it = new WeakMap(), Ot = new WeakMap(), Bt = new WeakMap(), F = new WeakMap(), bt = new WeakMap(), ft = new WeakMap(), It = new WeakMap(), Ue = new WeakMap(), _r = new WeakMap(), kr = new WeakMap(), Or = new WeakMap(), Mt = new WeakMap(), Nt = new WeakMap(), Yt = new WeakMap(), jt = new WeakMap(), Ft = new WeakMap(), Lt = new WeakSet(), br = function(e, t, n, o, s, a, f, d) {
|
|
4969
4975
|
d++, e.titles[0] = {
|
|
4970
|
-
key: 195e3 + i(this,
|
|
4976
|
+
key: 195e3 + i(this, be),
|
|
4971
4977
|
text: {
|
|
4972
4978
|
value: i(this, M).fTitle,
|
|
4973
4979
|
color: i(this, j).getPrimaryFontColor()
|
|
@@ -4989,7 +4995,7 @@ $e = new WeakMap(), ar = new WeakMap(), M = new WeakMap(), Qe = new WeakMap(), j
|
|
|
4989
4995
|
}, d++;
|
|
4990
4996
|
const p = i(this, le) > i(this, je) ? i(this, je) + 1 : i(this, le), c = i(this, le) > i(this, Ve) ? i(this, Ve) + 1 : i(this, le);
|
|
4991
4997
|
e.ground = {
|
|
4992
|
-
key: 22500 + d + i(this,
|
|
4998
|
+
key: 22500 + d + i(this, be),
|
|
4993
4999
|
scale: {
|
|
4994
5000
|
width: p + 8,
|
|
4995
5001
|
height: 0.2,
|
|
@@ -5004,7 +5010,7 @@ $e = new WeakMap(), ar = new WeakMap(), M = new WeakMap(), Qe = new WeakMap(), j
|
|
|
5004
5010
|
toZ: i(this, se) + c * 0.5 - 0.5
|
|
5005
5011
|
}
|
|
5006
5012
|
}, d++, e.banners[1] = {
|
|
5007
|
-
key: 24e4 + d + i(this,
|
|
5013
|
+
key: 24e4 + d + i(this, be),
|
|
5008
5014
|
geometry: {
|
|
5009
5015
|
width: 0.1,
|
|
5010
5016
|
height: 15,
|
|
@@ -5045,26 +5051,26 @@ const xs = () => {
|
|
|
5045
5051
|
), [x, k] = He(h.getElements()), [C] = He(1), v = (u) => {
|
|
5046
5052
|
p._typename.includes(u.name) && (u.axis ? (h.updateSection(u.axis, u.increment, u.defaultRange), k(h.getElements())) : u.scale ? (h.updateContentScale(u.scale), k(h.getElements())) : u.minValue && (h.updateMinDisplayedContent(u.minValue), k(h.getElements())));
|
|
5047
5053
|
};
|
|
5048
|
-
return
|
|
5054
|
+
return Ce(() => {
|
|
5049
5055
|
h.setUniqueName(d), k(h.getElements());
|
|
5050
|
-
}, [d]),
|
|
5056
|
+
}, [d]), Ce(() => {
|
|
5051
5057
|
h.setHistogram(p), k(h.getElements());
|
|
5052
|
-
}, [p]),
|
|
5058
|
+
}, [p]), Ce(() => {
|
|
5053
5059
|
h.setSection(o), k(h.getElements());
|
|
5054
|
-
}, [o]),
|
|
5060
|
+
}, [o]), Ce(() => {
|
|
5055
5061
|
h.setRange(s), k(h.getElements());
|
|
5056
|
-
}, [s]),
|
|
5062
|
+
}, [s]), Ce(() => {
|
|
5057
5063
|
h.setTheme(a), k(h.getElements());
|
|
5058
|
-
}, [a]),
|
|
5064
|
+
}, [a]), Ce(() => {
|
|
5059
5065
|
h.setSelectedBin(f), k(h.getElements());
|
|
5060
|
-
}, [f]),
|
|
5066
|
+
}, [f]), Ce(() => {
|
|
5061
5067
|
h.setViewFunction(t), k(h.getElements());
|
|
5062
|
-
}, [t]),
|
|
5068
|
+
}, [t]), Ce(() => {
|
|
5063
5069
|
h.setViewFunction(t), k(h.getElements());
|
|
5064
|
-
}, [e]),
|
|
5070
|
+
}, [e]), Ce(() => {
|
|
5065
5071
|
h.setProgressFunction(n), k(h.getElements());
|
|
5066
|
-
}, [n]),
|
|
5067
|
-
if (p._typename.includes("TH2") ? r =
|
|
5072
|
+
}, [n]), Ce(() => {
|
|
5073
|
+
if (p._typename.includes("TH2") ? r = Se.getChangedSection().subscribe(v) : p._typename.includes("TH3") ? r = Pe.getChangedSection().subscribe(v) : p._typename.includes("TH1") && (r = dt.getChangedSection().subscribe(v)), r)
|
|
5068
5074
|
return () => r.unsubscribe();
|
|
5069
5075
|
}, [x]), x != null && x.bins ? /* @__PURE__ */ ce("a-entity", { "histogram-control": !0, children: [
|
|
5070
5076
|
x.bins.map((u) => /* @__PURE__ */ S(
|
|
@@ -5257,7 +5263,7 @@ class Cs {
|
|
|
5257
5263
|
new Cs();
|
|
5258
5264
|
const Ts = () => {
|
|
5259
5265
|
const [r, e] = He(0), t = nt(bn);
|
|
5260
|
-
return
|
|
5266
|
+
return Ce(() => {
|
|
5261
5267
|
const n = document.getElementById("camera"), o = new Xr.Vector3(), s = new Xr.Quaternion();
|
|
5262
5268
|
n.object3D.getWorldPosition(o);
|
|
5263
5269
|
const a = setInterval(() => {
|
|
@@ -5273,8 +5279,8 @@ const Ts = () => {
|
|
|
5273
5279
|
}, 100);
|
|
5274
5280
|
return () => clearInterval(a);
|
|
5275
5281
|
}, [r]), /* @__PURE__ */ S("a-entity", {});
|
|
5276
|
-
}, _s = ({ position: r, rotation: e, id: t, color: n }) => (
|
|
5277
|
-
}, [r]),
|
|
5282
|
+
}, _s = ({ position: r, rotation: e, id: t, color: n }) => (Ce(() => {
|
|
5283
|
+
}, [r]), Ce(() => {
|
|
5278
5284
|
const o = new Xr.Quaternion().fromArray(e);
|
|
5279
5285
|
document.getElementById(t).object3D.setRotationFromQuaternion(o);
|
|
5280
5286
|
}, [e]), /* @__PURE__ */ ce("a-entity", { position: r, id: t, children: [
|
|
@@ -5375,19 +5381,19 @@ const Ts = () => {
|
|
|
5375
5381
|
})
|
|
5376
5382
|
);
|
|
5377
5383
|
};
|
|
5378
|
-
return
|
|
5384
|
+
return Ce(() => (window.addEventListener("keypress", t), window.addEventListener("keypress", e), window.addEventListener("keypress", n), () => {
|
|
5379
5385
|
window.removeEventListener("keypress", t), window.removeEventListener("keypress", e), window.removeEventListener("keypress", n);
|
|
5380
5386
|
}), []), /* @__PURE__ */ S("div", {});
|
|
5381
5387
|
}, zs = ({ store: r }) => {
|
|
5382
5388
|
const e = r.move ? er(r.move) : {}, t = r.ws ? er(r.ws) : {}, n = r.master ? er(r.master) : {}, o = r.selectedBins ? er(r.selectedBins) : [], s = r.axisScaling ? er(r.axisScaling) : /* @__PURE__ */ new Map(), [a, f] = He([]), [d, p] = He(""), [c, h] = He(""), [x, k] = He([]);
|
|
5383
|
-
return
|
|
5389
|
+
return Ce(() => {
|
|
5384
5390
|
e.clients !== void 0 && (e.clients.length > 0 ? f(e.clients) : f([]));
|
|
5385
|
-
}, [e]),
|
|
5391
|
+
}, [e]), Ce(() => {
|
|
5386
5392
|
p(t.id), h(t.color);
|
|
5387
|
-
}, [t]),
|
|
5388
|
-
}, [n]),
|
|
5393
|
+
}, [t]), Ce(() => {
|
|
5394
|
+
}, [n]), Ce(() => {
|
|
5389
5395
|
o && k(o.selectedBins);
|
|
5390
|
-
}, [o]),
|
|
5396
|
+
}, [o]), Ce(() => {
|
|
5391
5397
|
console.log(s.axisMap);
|
|
5392
5398
|
}, [s.axisMap]), /* @__PURE__ */ ce("a-entity", { children: [
|
|
5393
5399
|
/* @__PURE__ */ S(Hs, {}),
|
|
@@ -5427,7 +5433,7 @@ const Ts = () => {
|
|
|
5427
5433
|
}
|
|
5428
5434
|
}) => {
|
|
5429
5435
|
let c;
|
|
5430
|
-
return
|
|
5436
|
+
return Ce(() => {
|
|
5431
5437
|
if (c = nr.getBinDistributor().subscribe((h) => {
|
|
5432
5438
|
var x, k, C;
|
|
5433
5439
|
if ((h == null ? void 0 : h.id) === r.id) {
|
|
@@ -5502,7 +5508,7 @@ const Ts = () => {
|
|
|
5502
5508
|
};
|
|
5503
5509
|
class Ds {
|
|
5504
5510
|
constructor(e) {
|
|
5505
|
-
|
|
5511
|
+
$e(this, "model", null);
|
|
5506
5512
|
this.model = e;
|
|
5507
5513
|
}
|
|
5508
5514
|
updateElement(e, t, n, o) {
|
|
@@ -5771,18 +5777,18 @@ function Lr(r, e, t, n, o, s, a) {
|
|
|
5771
5777
|
let x, k, C, v, u, O, T, z, g, m;
|
|
5772
5778
|
const J = "";
|
|
5773
5779
|
let Q, w = 0;
|
|
5774
|
-
const U = n + s > t.fXaxis.fXmax ? t.fXaxis.fXmax : n + s, ae = o + s > t.fYaxis.fXmax ? t.fYaxis.fXmax : o + s,
|
|
5780
|
+
const U = n + s > t.fXaxis.fXmax ? t.fXaxis.fXmax : n + s, ae = o + s > t.fYaxis.fXmax ? t.fYaxis.fXmax : o + s, ve = t.fXaxis.fTitle, W = t.fYaxis.fTitle, K = t.fXaxis.fLabels ? t.fXaxis.fLabels.arr : [], G = t.fYaxis.fLabels ? t.fYaxis.fLabels.arr : [];
|
|
5775
5781
|
for (let N = o; N <= ae; N++)
|
|
5776
5782
|
for (let he = n; he <= U; he++)
|
|
5777
5783
|
if (k = t.fXaxis.GetBinCenter(he), C = t.fXaxis.GetBinLowEdge(he), v = k + (k - C), u = v - C, O = t.fYaxis.GetBinCenter(N), T = t.fYaxis.GetBinLowEdge(N), z = O + (O - T), g = z - T, Q = t.getBinContent(he, N), m = Ms(Q, t.fMaximum), x = m / 2, m > 0) {
|
|
5778
|
-
const ue = p.getBinColor(m),
|
|
5779
|
-
let
|
|
5780
|
-
Is(
|
|
5781
|
-
const Ne = `id: ${
|
|
5784
|
+
const ue = p.getBinColor(m), we = C + "th2" + v + "th2" + T + "th2" + z;
|
|
5785
|
+
let Te;
|
|
5786
|
+
Is(we) ? Te = p.getSecondaryAccentColor() : Te = ue;
|
|
5787
|
+
const Ne = `id: ${we};
|
|
5782
5788
|
content: ${m};
|
|
5783
5789
|
color: ${ue};
|
|
5784
5790
|
yTitle: ${W};
|
|
5785
|
-
xTitle: ${
|
|
5791
|
+
xTitle: ${ve};
|
|
5786
5792
|
absoluteContent: ${Q};
|
|
5787
5793
|
binName: ${J};
|
|
5788
5794
|
xMin: ${C};
|
|
@@ -5793,12 +5799,12 @@ function Lr(r, e, t, n, o, s, a) {
|
|
|
5793
5799
|
yCenter: ${O};
|
|
5794
5800
|
xWidth: ${u};
|
|
5795
5801
|
yWidth: ${g};
|
|
5796
|
-
markedColor: ${
|
|
5802
|
+
markedColor: ${Te};
|
|
5797
5803
|
selectColor: ${p.getSecondaryAccentColor()};
|
|
5798
5804
|
axisX: ${p.getAxisColor("x")};
|
|
5799
5805
|
axisY: ${p.getAxisColor("y")};
|
|
5800
5806
|
axisZ: ${p.getAxisColor("z")}`;
|
|
5801
|
-
c.id =
|
|
5807
|
+
c.id = we, c.positionX = C, c.positionY = x, c.positionZ = T, c.scaleX = u / 2, c.scaleY = m, c.scaleZ = g / 2, c.color = Te, c.class = "clickable", c.data = Ne, e.bins.attributes[w] = f.binTemplate(c), d.updateElement(w, h, "bins", "a-box"), w++;
|
|
5802
5808
|
}
|
|
5803
5809
|
d.deleteUnnecessaryElements(w, ["bins"]), c.id = 1500 + w, c.positionX = U + 0.5, c.positionY = 0, c.positionZ = ae + 0.5, c.rotationX = 270, c.rotationY = 360, c.rotationZ = 0, c.width = 2, c.height = 2, c.value = "0", c.color = p.getAxisColor("y"), e.normalXAxis.attributes[0] = f.axisTemplate(c), d.updateElement(0, h, "normalXAxis", "a-entity"), c.positionZ = o - 2.5, c.rotationX = 270, c.rotationY = 180, e.reversedYAxis.attributes[0] = f.axisTemplate(c), d.updateElement(0, h, "reversedYAxis", "a-entity"), c.positionX = n - 2.5, c.positionZ = ae + 0.5, e.normalYAxis.attributes[0] = f.axisTemplate(c), d.updateElement(0, h, "normalYAxis", "a-entity"), c.positionZ = o - 2.5, c.rotationY = 180, e.reversedXAxis.attributes[0] = f.axisTemplate(c), d.updateElement(0, h, "reversedXAxis", "a-entity"), w = 1;
|
|
5804
5810
|
for (let N = o; N <= ae; N++)
|
|
@@ -5822,7 +5828,7 @@ function Lr(r, e, t, n, o, s, a) {
|
|
|
5822
5828
|
d.deleteUnnecessaryElements(w, [
|
|
5823
5829
|
"normalXAxis",
|
|
5824
5830
|
"reversedXAxis"
|
|
5825
|
-
]), c.positionX = n, c.positionY = 0, c.positionZ = o - 4, c.rotationX = 270, c.rotationY = 180, c.rotationZ = 0, c.width = 4, c.height = 1, c.value =
|
|
5831
|
+
]), c.positionX = n, c.positionY = 0, c.positionZ = o - 4, c.rotationX = 270, c.rotationY = 180, c.rotationZ = 0, c.width = 4, c.height = 1, c.value = ve, c.id = "downLabel", e.labels.attributes[0] = f.labelTemplate(c), d.updateElement(0, h, "labels", "a-entity"), c.positionX = U - 2.5, c.positionZ = ae + 2, c.rotationY = 0, c.id = "upLabel", e.labels.attributes[1] = f.labelTemplate(c), d.updateElement(1, h, "labels", "a-entity"), c.positionX = n - 4, c.positionY = 0, c.positionZ = o + 0.5, c.rotationX = 270, c.rotationY = 270, c.rotationZ = 0, c.width = 4, c.height = 1, c.value = W, c.color = p.getAxisColor("z"), c.id = "leftLabel", e.labels.attributes[2] = f.labelTemplate(c), d.updateElement(2, h, "labels", "a-entity"), c.positionX = U + 2, c.positionZ = ae - 2.5, c.rotationX = 270, c.rotationY = 90, c.id = "rightLabel", e.labels.attributes[3] = f.labelTemplate(c), d.updateElement(3, h, "labels", "a-entity"), c.positionX = n - 90, c.positionY = -6.5, c.positionZ = o + 90, c.rotationX = 0, c.rotationY = 123, c.rotationZ = 0, c.title = t.fTitle, c.color = p.getPrimaryFontColor();
|
|
5826
5832
|
const L = {};
|
|
5827
5833
|
L.positionX = 0, L.positionY = 0, L.positionZ = -1, L.width = 170, L.height = 30, L.color = "white", e.titles.attributes[0] = f.titleTemplate(c, L), d.updateElement(0, h, "titles", "a-entity"), c.positionX = n + 120, c.positionZ = o - 70, c.rotationY = 330, c.title = t.fName, e.titles.attributes[1] = f.titleTemplate(c, L), d.updateElement(1, h, "titles", "a-entity");
|
|
5828
5834
|
}
|
|
@@ -5940,7 +5946,7 @@ const ca = wt.registerComponent("th2-histogram", {
|
|
|
5940
5946
|
n.range
|
|
5941
5947
|
), e(n);
|
|
5942
5948
|
};
|
|
5943
|
-
this.subscription =
|
|
5949
|
+
this.subscription = Se.getChangedSection().subscribe(t);
|
|
5944
5950
|
},
|
|
5945
5951
|
update: function() {
|
|
5946
5952
|
yn(), this.section = JSON.parse(this.data.section), Fn(this.data.filename).then((r) => r.readObject("hUsersVsProjects")).then((r) => {
|
|
@@ -6002,22 +6008,22 @@ const ca = wt.registerComponent("th2-histogram", {
|
|
|
6002
6008
|
});
|
|
6003
6009
|
let rr = new lr();
|
|
6004
6010
|
const Ys = (r) => {
|
|
6005
|
-
r.detail.y > 0.95 && (
|
|
6011
|
+
r.detail.y > 0.95 && (Se.changeHistogramSectionByOffset(
|
|
6006
6012
|
"yOffset",
|
|
6007
6013
|
"TH2",
|
|
6008
6014
|
!1,
|
|
6009
6015
|
!1
|
|
6010
|
-
),
|
|
6016
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6011
6017
|
"yOffset",
|
|
6012
6018
|
"TH3",
|
|
6013
6019
|
!1,
|
|
6014
6020
|
!1
|
|
6015
|
-
)), r.detail.y < -0.95 && (
|
|
6021
|
+
)), r.detail.y < -0.95 && (Se.changeHistogramSectionByOffset(
|
|
6016
6022
|
"yOffset",
|
|
6017
6023
|
"TH2",
|
|
6018
6024
|
!0,
|
|
6019
6025
|
!1
|
|
6020
|
-
),
|
|
6026
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6021
6027
|
"yOffset",
|
|
6022
6028
|
"TH3",
|
|
6023
6029
|
!0,
|
|
@@ -6027,12 +6033,12 @@ const Ys = (r) => {
|
|
|
6027
6033
|
"TH1",
|
|
6028
6034
|
!0,
|
|
6029
6035
|
!1
|
|
6030
|
-
),
|
|
6036
|
+
), Se.changeHistogramSectionByOffset(
|
|
6031
6037
|
"xOffset",
|
|
6032
6038
|
"TH2",
|
|
6033
6039
|
!0,
|
|
6034
6040
|
!1
|
|
6035
|
-
),
|
|
6041
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6036
6042
|
"xOffset",
|
|
6037
6043
|
"TH3",
|
|
6038
6044
|
!0,
|
|
@@ -6042,34 +6048,34 @@ const Ys = (r) => {
|
|
|
6042
6048
|
"TH1",
|
|
6043
6049
|
!1,
|
|
6044
6050
|
!1
|
|
6045
|
-
),
|
|
6051
|
+
), Se.changeHistogramSectionByOffset(
|
|
6046
6052
|
"xOffset",
|
|
6047
6053
|
"TH2",
|
|
6048
6054
|
!1,
|
|
6049
6055
|
!1
|
|
6050
|
-
),
|
|
6056
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6051
6057
|
"xOffset",
|
|
6052
6058
|
"TH3",
|
|
6053
6059
|
!1,
|
|
6054
6060
|
!1
|
|
6055
6061
|
));
|
|
6056
6062
|
}, js = (r) => {
|
|
6057
|
-
r.detail.y > 0.95 && (
|
|
6063
|
+
r.detail.y > 0.95 && (Se.changeHistogramSectionByOffset(
|
|
6058
6064
|
"yOffset",
|
|
6059
6065
|
"TH2",
|
|
6060
6066
|
!1,
|
|
6061
6067
|
!0
|
|
6062
|
-
),
|
|
6068
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6063
6069
|
"yOffset",
|
|
6064
6070
|
"TH3",
|
|
6065
6071
|
!1,
|
|
6066
6072
|
!0
|
|
6067
|
-
)), r.detail.y < -0.95 && (
|
|
6073
|
+
)), r.detail.y < -0.95 && (Se.changeHistogramSectionByOffset(
|
|
6068
6074
|
"yOffset",
|
|
6069
6075
|
"TH2",
|
|
6070
6076
|
!0,
|
|
6071
6077
|
!0
|
|
6072
|
-
),
|
|
6078
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6073
6079
|
"yOffset",
|
|
6074
6080
|
"TH3",
|
|
6075
6081
|
!0,
|
|
@@ -6079,12 +6085,12 @@ const Ys = (r) => {
|
|
|
6079
6085
|
"TH1",
|
|
6080
6086
|
!0,
|
|
6081
6087
|
!0
|
|
6082
|
-
),
|
|
6088
|
+
), Se.changeHistogramSectionByOffset(
|
|
6083
6089
|
"xOffset",
|
|
6084
6090
|
"TH2",
|
|
6085
6091
|
!0,
|
|
6086
6092
|
!0
|
|
6087
|
-
),
|
|
6093
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6088
6094
|
"xOffset",
|
|
6089
6095
|
"TH3",
|
|
6090
6096
|
!0,
|
|
@@ -6094,12 +6100,12 @@ const Ys = (r) => {
|
|
|
6094
6100
|
"TH1",
|
|
6095
6101
|
!1,
|
|
6096
6102
|
!0
|
|
6097
|
-
),
|
|
6103
|
+
), Se.changeHistogramSectionByOffset(
|
|
6098
6104
|
"xOffset",
|
|
6099
6105
|
"TH2",
|
|
6100
6106
|
!1,
|
|
6101
6107
|
!0
|
|
6102
|
-
),
|
|
6108
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6103
6109
|
"xOffset",
|
|
6104
6110
|
"TH3",
|
|
6105
6111
|
!1,
|
|
@@ -6108,24 +6114,24 @@ const Ys = (r) => {
|
|
|
6108
6114
|
}, Fs = (r, e) => {
|
|
6109
6115
|
r.detail.y > 0.95 && rr.horizontalMoveCamera("z", !1, e), r.detail.y < -0.95 && rr.horizontalMoveCamera("z", !0, e), r.detail.x < -0.95 && rr.horizontalMoveCamera("x", !0, e), r.detail.x > 0.95 && rr.horizontalMoveCamera("x", !1, e);
|
|
6110
6116
|
}, Ls = (r) => {
|
|
6111
|
-
r.detail.y > 0.95 && (
|
|
6117
|
+
r.detail.y > 0.95 && (Se.changeHistogramScale(-0.1, "TH2"), Ae.next({
|
|
6112
6118
|
scale: -0.1
|
|
6113
|
-
})), r.detail.y < -0.95 && (
|
|
6119
|
+
})), r.detail.y < -0.95 && (Se.changeHistogramScale(0.1, "TH2"), Ae.next({
|
|
6114
6120
|
scale: 0.1
|
|
6115
6121
|
}));
|
|
6116
6122
|
}, Xs = (r) => {
|
|
6117
|
-
r.detail.y > 0.95 ?
|
|
6123
|
+
r.detail.y > 0.95 ? Ae.next({ source: "next" }) : r.detail.y < -0.95 && Ae.next({ source: "prev" });
|
|
6118
6124
|
}, qi = (r) => {
|
|
6119
|
-
r === "Y" ?
|
|
6125
|
+
r === "Y" ? Ae.next({ tool: "next" }) : Ae.next({ tool: "prev" });
|
|
6120
6126
|
}, Ji = (r) => {
|
|
6121
|
-
|
|
6127
|
+
Pe.changeHistogramSectionByOffset(
|
|
6122
6128
|
"zOffset",
|
|
6123
6129
|
"TH3",
|
|
6124
6130
|
!0,
|
|
6125
6131
|
r
|
|
6126
6132
|
);
|
|
6127
6133
|
}, Qi = (r) => {
|
|
6128
|
-
|
|
6134
|
+
Pe.changeHistogramSectionByOffset(
|
|
6129
6135
|
"zOffset",
|
|
6130
6136
|
"TH3",
|
|
6131
6137
|
!1,
|
|
@@ -6140,13 +6146,13 @@ const Ys = (r) => {
|
|
|
6140
6146
|
}, Zs = (r, e) => {
|
|
6141
6147
|
Fs(r, e);
|
|
6142
6148
|
}, Us = () => {
|
|
6143
|
-
Er.saveSelectedBinToLocalStorage(), ei() === 0 &&
|
|
6149
|
+
Er.saveSelectedBinToLocalStorage(), ei() === 0 && Ae.next({ binData: Er });
|
|
6144
6150
|
}, Gs = () => {
|
|
6145
6151
|
Er.deleteBinFromLocalStorage();
|
|
6146
6152
|
}, Ks = () => {
|
|
6147
|
-
|
|
6153
|
+
Se.changeHistogramFunction("feet", "TH2");
|
|
6148
6154
|
}, qs = () => {
|
|
6149
|
-
|
|
6155
|
+
Se.changeHistogramFunction("default", "TH2");
|
|
6150
6156
|
}, Js = () => {
|
|
6151
6157
|
xt.setVisibilityOfBanners("oculus");
|
|
6152
6158
|
}, Qs = () => {
|