@ndmspc/ndmvr 0.20230914.0 → 0.20231106.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 +722 -657
- package/dist/ndmvr.umd.js +39 -39
- package/package.json +1 -1
package/dist/ndmvr.es.js
CHANGED
|
@@ -10,7 +10,7 @@ var o = (r, e, t) => (Nr(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
|
}, Y = (r, e, t, i) => (Nr(r, e, "write to private field"), i ? i.call(r, t) : e.set(r, t), t);
|
|
12
12
|
var hr = (r, e, t) => (Nr(r, e, "access private method"), t);
|
|
13
|
-
import Be, { useRef as en, useDebugValue as xi, useContext as
|
|
13
|
+
import Be, { useRef as en, useDebugValue as xi, useContext as Ve, createElement as Yn, forwardRef as Bn, useImperativeHandle as Fn, useState as Te, useEffect as fe, useLayoutEffect as jn } from "react";
|
|
14
14
|
import Le from "aframe";
|
|
15
15
|
import { toJSON as Nn, createHistogram as Si, openFile as Ln } from "jsroot";
|
|
16
16
|
import * as Et from "three";
|
|
@@ -22,14 +22,14 @@ function Vn() {
|
|
|
22
22
|
wi = 1;
|
|
23
23
|
var r = Be, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, n = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
24
24
|
function a(l, u, h) {
|
|
25
|
-
var c, p = {},
|
|
26
|
-
h !== void 0 && (
|
|
25
|
+
var c, p = {}, x = null, y = null;
|
|
26
|
+
h !== void 0 && (x = "" + h), u.key !== void 0 && (x = "" + u.key), u.ref !== void 0 && (y = u.ref);
|
|
27
27
|
for (c in u)
|
|
28
28
|
i.call(u, c) && !s.hasOwnProperty(c) && (p[c] = u[c]);
|
|
29
29
|
if (l && l.defaultProps)
|
|
30
30
|
for (c in u = l.defaultProps, u)
|
|
31
31
|
p[c] === void 0 && (p[c] = u[c]);
|
|
32
|
-
return { $$typeof: e, type: l, key:
|
|
32
|
+
return { $$typeof: e, type: l, key: x, ref: y, props: p, _owner: n.current };
|
|
33
33
|
}
|
|
34
34
|
return Qt.Fragment = t, Qt.jsx = a, Qt.jsxs = a, Qt;
|
|
35
35
|
}
|
|
@@ -37,7 +37,7 @@ var er = {};
|
|
|
37
37
|
var Ci;
|
|
38
38
|
function Xn() {
|
|
39
39
|
return Ci || (Ci = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var r = Be, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"),
|
|
40
|
+
var r = Be, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), E = Symbol.iterator, T = "@@iterator";
|
|
41
41
|
function d(f) {
|
|
42
42
|
if (f === null || typeof f != "object")
|
|
43
43
|
return null;
|
|
@@ -56,16 +56,16 @@ function Xn() {
|
|
|
56
56
|
{
|
|
57
57
|
var q = w.ReactDebugCurrentFrame, ge = q.getStackAddendum();
|
|
58
58
|
ge !== "" && (P += "%s", D = D.concat([ge]));
|
|
59
|
-
var
|
|
59
|
+
var ke = D.map(function(he) {
|
|
60
60
|
return String(he);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
ke.unshift("Warning: " + P), Function.prototype.apply.call(console[f], console, ke);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
var _ = !1, g = !1, W = !1, H = !1, k = !1, B;
|
|
66
66
|
B = Symbol.for("react.module.reference");
|
|
67
67
|
function oe(f) {
|
|
68
|
-
return !!(typeof f == "string" || typeof f == "function" || f === i || f === s || k || f === n || f === h || f === c || H || f ===
|
|
68
|
+
return !!(typeof f == "string" || typeof f == "function" || f === i || f === s || k || f === n || f === h || f === c || H || f === y || _ || g || W || typeof f == "object" && f !== null && (f.$$typeof === x || f.$$typeof === p || f.$$typeof === a || f.$$typeof === l || f.$$typeof === u || f.$$typeof === B || f.getModuleId !== void 0));
|
|
69
69
|
}
|
|
70
70
|
function U(f, P, D) {
|
|
71
71
|
var q = f.displayName;
|
|
@@ -111,10 +111,10 @@ function Xn() {
|
|
|
111
111
|
case p:
|
|
112
112
|
var q = f.displayName || null;
|
|
113
113
|
return q !== null ? q : V(f.type) || "Memo";
|
|
114
|
-
case
|
|
115
|
-
var ge = f,
|
|
114
|
+
case x: {
|
|
115
|
+
var ge = f, ke = ge._payload, he = ge._init;
|
|
116
116
|
try {
|
|
117
|
-
return V(he(
|
|
117
|
+
return V(he(ke));
|
|
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 J = Object.assign, X = 0, N, de, ue, Ce,
|
|
125
|
+
var J = Object.assign, X = 0, N, de, ue, Ce, Ae, Ie, $;
|
|
126
126
|
function R() {
|
|
127
127
|
}
|
|
128
128
|
R.__reactDisabledLog = !0;
|
|
129
129
|
function M() {
|
|
130
130
|
{
|
|
131
131
|
if (X === 0) {
|
|
132
|
-
N = console.log, de = console.info, ue = console.warn, Ce = console.error,
|
|
132
|
+
N = console.log, de = console.info, ue = console.warn, Ce = console.error, Ae = console.group, Ie = console.groupCollapsed, $ = console.groupEnd;
|
|
133
133
|
var f = {
|
|
134
134
|
configurable: !0,
|
|
135
135
|
enumerable: !0,
|
|
@@ -149,7 +149,7 @@ function Xn() {
|
|
|
149
149
|
X++;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function v() {
|
|
153
153
|
{
|
|
154
154
|
if (X--, X === 0) {
|
|
155
155
|
var f = {
|
|
@@ -171,7 +171,7 @@ function Xn() {
|
|
|
171
171
|
value: Ce
|
|
172
172
|
}),
|
|
173
173
|
group: J({}, f, {
|
|
174
|
-
value:
|
|
174
|
+
value: Ae
|
|
175
175
|
}),
|
|
176
176
|
groupCollapsed: J({}, f, {
|
|
177
177
|
value: Ie
|
|
@@ -185,7 +185,7 @@ function Xn() {
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
var m = w.ReactCurrentDispatcher, G;
|
|
188
|
-
function
|
|
188
|
+
function S(f, P, D) {
|
|
189
189
|
{
|
|
190
190
|
if (G === void 0)
|
|
191
191
|
try {
|
|
@@ -200,8 +200,8 @@ function Xn() {
|
|
|
200
200
|
}
|
|
201
201
|
var se = !1, Q;
|
|
202
202
|
{
|
|
203
|
-
var
|
|
204
|
-
Q = new
|
|
203
|
+
var re = typeof WeakMap == "function" ? WeakMap : Map;
|
|
204
|
+
Q = new re();
|
|
205
205
|
}
|
|
206
206
|
function A(f, P) {
|
|
207
207
|
if (!f || se)
|
|
@@ -215,8 +215,8 @@ function Xn() {
|
|
|
215
215
|
se = !0;
|
|
216
216
|
var ge = Error.prepareStackTrace;
|
|
217
217
|
Error.prepareStackTrace = void 0;
|
|
218
|
-
var
|
|
219
|
-
|
|
218
|
+
var ke;
|
|
219
|
+
ke = m.current, m.current = null, M();
|
|
220
220
|
try {
|
|
221
221
|
if (P) {
|
|
222
222
|
var he = function() {
|
|
@@ -269,9 +269,9 @@ function Xn() {
|
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
} finally {
|
|
272
|
-
se = !1, m.current =
|
|
272
|
+
se = !1, m.current = ke, v(), Error.prepareStackTrace = ge;
|
|
273
273
|
}
|
|
274
|
-
var
|
|
274
|
+
var Mt = f ? f.displayName || f.name : "", bi = Mt ? S(Mt) : "";
|
|
275
275
|
return typeof f == "function" && Q.set(f, bi), bi;
|
|
276
276
|
}
|
|
277
277
|
function ne(f, P, D) {
|
|
@@ -287,12 +287,12 @@ function Xn() {
|
|
|
287
287
|
if (typeof f == "function")
|
|
288
288
|
return A(f, z(f));
|
|
289
289
|
if (typeof f == "string")
|
|
290
|
-
return
|
|
290
|
+
return S(f);
|
|
291
291
|
switch (f) {
|
|
292
292
|
case h:
|
|
293
|
-
return
|
|
293
|
+
return S("Suspense");
|
|
294
294
|
case c:
|
|
295
|
-
return
|
|
295
|
+
return S("SuspenseList");
|
|
296
296
|
}
|
|
297
297
|
if (typeof f == "object")
|
|
298
298
|
switch (f.$$typeof) {
|
|
@@ -300,10 +300,10 @@ function Xn() {
|
|
|
300
300
|
return ne(f.render);
|
|
301
301
|
case p:
|
|
302
302
|
return ee(f.type, P, D);
|
|
303
|
-
case
|
|
304
|
-
var q = f, ge = q._payload,
|
|
303
|
+
case x: {
|
|
304
|
+
var q = f, ge = q._payload, ke = q._init;
|
|
305
305
|
try {
|
|
306
|
-
return ee(
|
|
306
|
+
return ee(ke(ge), P, D);
|
|
307
307
|
} catch {
|
|
308
308
|
}
|
|
309
309
|
}
|
|
@@ -320,9 +320,9 @@ function Xn() {
|
|
|
320
320
|
}
|
|
321
321
|
function He(f, P, D, q, ge) {
|
|
322
322
|
{
|
|
323
|
-
var
|
|
323
|
+
var ke = Function.call.bind(Pe);
|
|
324
324
|
for (var he in f)
|
|
325
|
-
if (
|
|
325
|
+
if (ke(f, he)) {
|
|
326
326
|
var ce = void 0;
|
|
327
327
|
try {
|
|
328
328
|
if (typeof f[he] != "function") {
|
|
@@ -337,11 +337,11 @@ function Xn() {
|
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
var
|
|
340
|
+
var Dt = Array.isArray;
|
|
341
341
|
function at(f) {
|
|
342
|
-
return
|
|
342
|
+
return Dt(f);
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function Xe(f) {
|
|
345
345
|
{
|
|
346
346
|
var P = typeof Symbol == "function" && Symbol.toStringTag, D = P && f[Symbol.toStringTag] || f.constructor.name || "Object";
|
|
347
347
|
return D;
|
|
@@ -357,9 +357,9 @@ function Xn() {
|
|
|
357
357
|
function Oe(f) {
|
|
358
358
|
return "" + f;
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function zt(f) {
|
|
361
361
|
if (K(f))
|
|
362
|
-
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
362
|
+
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Xe(f)), Oe(f);
|
|
363
363
|
}
|
|
364
364
|
var lt = w.ReactCurrentOwner, Qe = {
|
|
365
365
|
key: !0,
|
|
@@ -412,14 +412,14 @@ function Xn() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var An = function(f, P, D, q, ge,
|
|
415
|
+
var An = function(f, P, D, q, ge, ke, he) {
|
|
416
416
|
var ce = {
|
|
417
417
|
$$typeof: e,
|
|
418
418
|
type: f,
|
|
419
419
|
key: P,
|
|
420
420
|
ref: D,
|
|
421
421
|
props: he,
|
|
422
|
-
_owner:
|
|
422
|
+
_owner: ke
|
|
423
423
|
};
|
|
424
424
|
return ce._store = {}, Object.defineProperty(ce._store, "validated", {
|
|
425
425
|
configurable: !1,
|
|
@@ -440,14 +440,14 @@ function Xn() {
|
|
|
440
440
|
};
|
|
441
441
|
function kn(f, P, D, q, ge) {
|
|
442
442
|
{
|
|
443
|
-
var
|
|
444
|
-
D !== void 0 && (
|
|
445
|
-
for (
|
|
446
|
-
Pe.call(P,
|
|
443
|
+
var ke, he = {}, ce = null, Fe = null;
|
|
444
|
+
D !== void 0 && (zt(D), ce = "" + D), wn(P) && (zt(P.key), ce = "" + P.key), Sn(P) && (Fe = P.ref, Cn(P, ge));
|
|
445
|
+
for (ke in P)
|
|
446
|
+
Pe.call(P, ke) && !Qe.hasOwnProperty(ke) && (he[ke] = P[ke]);
|
|
447
447
|
if (f && f.defaultProps) {
|
|
448
448
|
var ze = f.defaultProps;
|
|
449
|
-
for (
|
|
450
|
-
he[
|
|
449
|
+
for (ke in ze)
|
|
450
|
+
he[ke] === void 0 && (he[ke] = ze[ke]);
|
|
451
451
|
}
|
|
452
452
|
if (ce || Fe) {
|
|
453
453
|
var Me = typeof f == "function" ? f.displayName || f.name || "Unknown" : f;
|
|
@@ -457,7 +457,7 @@ function Xn() {
|
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
var Br = w.ReactCurrentOwner, fi = w.ReactDebugCurrentFrame;
|
|
460
|
-
function
|
|
460
|
+
function $t(f) {
|
|
461
461
|
if (f) {
|
|
462
462
|
var P = f._owner, D = ee(f.type, f._source, P ? P.type : null);
|
|
463
463
|
fi.setExtraStackFrame(D);
|
|
@@ -515,7 +515,7 @@ Check the top-level render call using <` + D + ">.");
|
|
|
515
515
|
return;
|
|
516
516
|
mi[D] = !0;
|
|
517
517
|
var q = "";
|
|
518
|
-
f && f._owner && f._owner !== Br.current && (q = " It was passed a child from " + V(f._owner.type) + "."),
|
|
518
|
+
f && f._owner && f._owner !== Br.current && (q = " It was passed a child from " + V(f._owner.type) + "."), $t(f), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', D, q), $t(null);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
function yi(f, P) {
|
|
@@ -532,7 +532,7 @@ Check the top-level render call using <` + D + ">.");
|
|
|
532
532
|
else if (f) {
|
|
533
533
|
var ge = d(f);
|
|
534
534
|
if (typeof ge == "function" && ge !== f.entries)
|
|
535
|
-
for (var
|
|
535
|
+
for (var ke = ge.call(f), he; !(he = ke.next()).done; )
|
|
536
536
|
jr(he.value) && gi(he.value, P);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -565,14 +565,14 @@ Check the top-level render call using <` + D + ">.");
|
|
|
565
565
|
for (var P = Object.keys(f.props), D = 0; D < P.length; D++) {
|
|
566
566
|
var q = P[D];
|
|
567
567
|
if (q !== "children" && q !== "key") {
|
|
568
|
-
|
|
568
|
+
$t(f), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", q), $t(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
f.ref !== null && (
|
|
572
|
+
f.ref !== null && ($t(f), C("Invalid attribute `ref` supplied to `React.Fragment`."), $t(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
function vi(f, P, D, q, ge,
|
|
575
|
+
function vi(f, P, D, q, ge, ke) {
|
|
576
576
|
{
|
|
577
577
|
var he = oe(f);
|
|
578
578
|
if (!he) {
|
|
@@ -583,7 +583,7 @@ Check the top-level render call using <` + D + ">.");
|
|
|
583
583
|
var ze;
|
|
584
584
|
f === null ? ze = "null" : at(f) ? ze = "array" : f !== void 0 && f.$$typeof === e ? (ze = "<" + (V(f.type) || "Unknown") + " />", ce = " Did you accidentally export a JSX literal instead of a component?") : ze = typeof f, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ze, ce);
|
|
585
585
|
}
|
|
586
|
-
var Me = kn(f, P, D, ge,
|
|
586
|
+
var Me = kn(f, P, D, ge, ke);
|
|
587
587
|
if (Me == null)
|
|
588
588
|
return Me;
|
|
589
589
|
if (he) {
|
|
@@ -591,8 +591,8 @@ Check the top-level render call using <` + D + ">.");
|
|
|
591
591
|
if (Ze !== void 0)
|
|
592
592
|
if (q)
|
|
593
593
|
if (at(Ze)) {
|
|
594
|
-
for (var
|
|
595
|
-
yi(Ze[
|
|
594
|
+
for (var Mt = 0; Mt < Ze.length; Mt++)
|
|
595
|
+
yi(Ze[Mt], f);
|
|
596
596
|
Object.freeze && Object.freeze(Ze);
|
|
597
597
|
} else
|
|
598
598
|
C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -615,7 +615,7 @@ Check the top-level render call using <` + D + ">.");
|
|
|
615
615
|
(function(r) {
|
|
616
616
|
process.env.NODE_ENV === "production" ? r.exports = Vn() : r.exports = Xn();
|
|
617
617
|
})(Hr);
|
|
618
|
-
const tn = Hr.exports.Fragment, b = Hr.exports.jsx,
|
|
618
|
+
const tn = Hr.exports.Fragment, b = Hr.exports.jsx, te = Hr.exports.jsxs;
|
|
619
619
|
var Zr = function(r, e) {
|
|
620
620
|
return Zr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
621
621
|
t.__proto__ = i;
|
|
@@ -709,8 +709,8 @@ var Zn = /* @__PURE__ */ function() {
|
|
|
709
709
|
if (Un(c))
|
|
710
710
|
try {
|
|
711
711
|
c.unsubscribe();
|
|
712
|
-
} catch (
|
|
713
|
-
e = e || [],
|
|
712
|
+
} catch (x) {
|
|
713
|
+
e = e || [], x instanceof gr ? e = e.concat(Ti(x.errors)) : e.push(x);
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
716
|
if (e)
|
|
@@ -766,7 +766,7 @@ function Ti(r) {
|
|
|
766
766
|
}
|
|
767
767
|
var Sr = /* @__PURE__ */ function() {
|
|
768
768
|
return typeof Symbol == "function" ? /* @__PURE__ */ Symbol("rxSubscriber") : "@@rxSubscriber_" + /* @__PURE__ */ Math.random();
|
|
769
|
-
}(),
|
|
769
|
+
}(), Ht = /* @__PURE__ */ function(r) {
|
|
770
770
|
qt(e, r);
|
|
771
771
|
function e(t, i, n) {
|
|
772
772
|
var s = r.call(this) || this;
|
|
@@ -871,24 +871,24 @@ var Sr = /* @__PURE__ */ function() {
|
|
|
871
871
|
var t = this._parentSubscriber;
|
|
872
872
|
this._context = null, this._parentSubscriber = null, t.unsubscribe();
|
|
873
873
|
}, e;
|
|
874
|
-
}(
|
|
874
|
+
}(Ht);
|
|
875
875
|
function Gn(r) {
|
|
876
876
|
for (; r; ) {
|
|
877
877
|
var e = r, t = e.closed, i = e.destination, n = e.isStopped;
|
|
878
878
|
if (t || n)
|
|
879
879
|
return !1;
|
|
880
|
-
i && i instanceof
|
|
880
|
+
i && i instanceof Ht ? r = i : r = null;
|
|
881
881
|
}
|
|
882
882
|
return !0;
|
|
883
883
|
}
|
|
884
884
|
function Kn(r, e, t) {
|
|
885
885
|
if (r) {
|
|
886
|
-
if (r instanceof
|
|
886
|
+
if (r instanceof Ht)
|
|
887
887
|
return r;
|
|
888
888
|
if (r[Sr])
|
|
889
889
|
return r[Sr]();
|
|
890
890
|
}
|
|
891
|
-
return !r && !e && !t ? new
|
|
891
|
+
return !r && !e && !t ? new Ht(xr) : new Ht(r, e, t);
|
|
892
892
|
}
|
|
893
893
|
var qn = /* @__PURE__ */ function() {
|
|
894
894
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
@@ -991,7 +991,7 @@ var eo = /* @__PURE__ */ function() {
|
|
|
991
991
|
return i.destination = t, i;
|
|
992
992
|
}
|
|
993
993
|
return e;
|
|
994
|
-
}(
|
|
994
|
+
}(Ht), wt = /* @__PURE__ */ function(r) {
|
|
995
995
|
qt(e, r);
|
|
996
996
|
function e() {
|
|
997
997
|
var t = r.call(this) || this;
|
|
@@ -1079,7 +1079,7 @@ class io {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
1081
|
gt = new WeakMap();
|
|
1082
|
-
const Ot = new io(),
|
|
1082
|
+
const Ot = new io(), Rt = Be.createContext();
|
|
1083
1083
|
var dt;
|
|
1084
1084
|
class oi {
|
|
1085
1085
|
constructor() {
|
|
@@ -1124,7 +1124,7 @@ function no() {
|
|
|
1124
1124
|
if (Oi)
|
|
1125
1125
|
return ye;
|
|
1126
1126
|
Oi = 1;
|
|
1127
|
-
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"),
|
|
1127
|
+
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), E;
|
|
1128
1128
|
E = Symbol.for("react.module.reference");
|
|
1129
1129
|
function T(d) {
|
|
1130
1130
|
if (typeof d == "object" && d !== null) {
|
|
@@ -1143,7 +1143,7 @@ function no() {
|
|
|
1143
1143
|
case l:
|
|
1144
1144
|
case a:
|
|
1145
1145
|
case u:
|
|
1146
|
-
case
|
|
1146
|
+
case x:
|
|
1147
1147
|
case p:
|
|
1148
1148
|
case s:
|
|
1149
1149
|
return d;
|
|
@@ -1156,7 +1156,7 @@ function no() {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
1158
|
}
|
|
1159
|
-
return ye.ContextConsumer = a, ye.ContextProvider = s, ye.Element = r, ye.ForwardRef = u, ye.Fragment = t, ye.Lazy =
|
|
1159
|
+
return ye.ContextConsumer = a, ye.ContextProvider = s, ye.Element = r, ye.ForwardRef = u, ye.Fragment = t, ye.Lazy = x, ye.Memo = p, ye.Portal = e, ye.Profiler = n, ye.StrictMode = i, ye.Suspense = h, ye.SuspenseList = c, ye.isAsyncMode = function() {
|
|
1160
1160
|
return !1;
|
|
1161
1161
|
}, ye.isConcurrentMode = function() {
|
|
1162
1162
|
return !1;
|
|
@@ -1171,7 +1171,7 @@ function no() {
|
|
|
1171
1171
|
}, ye.isFragment = function(d) {
|
|
1172
1172
|
return T(d) === t;
|
|
1173
1173
|
}, ye.isLazy = function(d) {
|
|
1174
|
-
return T(d) ===
|
|
1174
|
+
return T(d) === x;
|
|
1175
1175
|
}, ye.isMemo = function(d) {
|
|
1176
1176
|
return T(d) === p;
|
|
1177
1177
|
}, ye.isPortal = function(d) {
|
|
@@ -1185,17 +1185,17 @@ function no() {
|
|
|
1185
1185
|
}, ye.isSuspenseList = function(d) {
|
|
1186
1186
|
return T(d) === c;
|
|
1187
1187
|
}, ye.isValidElementType = function(d) {
|
|
1188
|
-
return typeof d == "string" || typeof d == "function" || d === t || d === n || d === i || d === h || d === c || d ===
|
|
1188
|
+
return typeof d == "string" || typeof d == "function" || d === t || d === n || d === i || d === h || d === c || d === y || typeof d == "object" && d !== null && (d.$$typeof === x || d.$$typeof === p || d.$$typeof === s || d.$$typeof === a || d.$$typeof === u || d.$$typeof === E || d.getModuleId !== void 0);
|
|
1189
1189
|
}, ye.typeOf = T, ye;
|
|
1190
1190
|
}
|
|
1191
1191
|
var ve = {};
|
|
1192
1192
|
var Ri;
|
|
1193
1193
|
function oo() {
|
|
1194
1194
|
return Ri || (Ri = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1195
|
-
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"),
|
|
1195
|
+
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), E = !1, T = !1, d = !1, w = !1, C = !1, O;
|
|
1196
1196
|
O = Symbol.for("react.module.reference");
|
|
1197
1197
|
function _(z) {
|
|
1198
|
-
return !!(typeof z == "string" || typeof z == "function" || z === t || z === n || C || z === i || z === h || z === c || w || z ===
|
|
1198
|
+
return !!(typeof z == "string" || typeof z == "function" || z === t || z === n || C || z === i || z === h || z === c || w || z === y || E || T || d || typeof z == "object" && z !== null && (z.$$typeof === x || z.$$typeof === p || z.$$typeof === s || z.$$typeof === a || z.$$typeof === u || z.$$typeof === O || z.getModuleId !== void 0));
|
|
1199
1199
|
}
|
|
1200
1200
|
function g(z) {
|
|
1201
1201
|
if (typeof z == "object" && z !== null) {
|
|
@@ -1216,7 +1216,7 @@ function oo() {
|
|
|
1216
1216
|
case l:
|
|
1217
1217
|
case a:
|
|
1218
1218
|
case u:
|
|
1219
|
-
case
|
|
1219
|
+
case x:
|
|
1220
1220
|
case p:
|
|
1221
1221
|
case s:
|
|
1222
1222
|
return le;
|
|
@@ -1229,8 +1229,8 @@ function oo() {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
var W = a, H = s, k = r, B = u, oe = t, U =
|
|
1233
|
-
function
|
|
1232
|
+
var W = a, H = s, k = r, B = u, oe = t, U = x, I = p, V = e, J = n, X = i, N = h, de = c, ue = !1, Ce = !1;
|
|
1233
|
+
function Ae(z) {
|
|
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 Ie(z) {
|
|
@@ -1245,16 +1245,16 @@ function oo() {
|
|
|
1245
1245
|
function M(z) {
|
|
1246
1246
|
return typeof z == "object" && z !== null && z.$$typeof === r;
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1248
|
+
function v(z) {
|
|
1249
1249
|
return g(z) === u;
|
|
1250
1250
|
}
|
|
1251
1251
|
function m(z) {
|
|
1252
1252
|
return g(z) === t;
|
|
1253
1253
|
}
|
|
1254
1254
|
function G(z) {
|
|
1255
|
-
return g(z) ===
|
|
1255
|
+
return g(z) === x;
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1257
|
+
function S(z) {
|
|
1258
1258
|
return g(z) === p;
|
|
1259
1259
|
}
|
|
1260
1260
|
function se(z) {
|
|
@@ -1263,7 +1263,7 @@ function oo() {
|
|
|
1263
1263
|
function Q(z) {
|
|
1264
1264
|
return g(z) === n;
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1266
|
+
function re(z) {
|
|
1267
1267
|
return g(z) === i;
|
|
1268
1268
|
}
|
|
1269
1269
|
function A(z) {
|
|
@@ -1272,17 +1272,17 @@ function oo() {
|
|
|
1272
1272
|
function ne(z) {
|
|
1273
1273
|
return g(z) === c;
|
|
1274
1274
|
}
|
|
1275
|
-
ve.ContextConsumer = W, ve.ContextProvider = H, ve.Element = k, ve.ForwardRef = B, ve.Fragment = oe, ve.Lazy = U, ve.Memo = I, ve.Portal = V, ve.Profiler = J, ve.StrictMode = X, ve.Suspense = N, ve.SuspenseList = de, ve.isAsyncMode =
|
|
1275
|
+
ve.ContextConsumer = W, ve.ContextProvider = H, ve.Element = k, ve.ForwardRef = B, ve.Fragment = oe, ve.Lazy = U, ve.Memo = I, ve.Portal = V, ve.Profiler = J, ve.StrictMode = X, ve.Suspense = N, ve.SuspenseList = de, ve.isAsyncMode = Ae, ve.isConcurrentMode = Ie, ve.isContextConsumer = $, ve.isContextProvider = R, ve.isElement = M, ve.isForwardRef = v, ve.isFragment = m, ve.isLazy = G, ve.isMemo = S, ve.isPortal = se, ve.isProfiler = Q, ve.isStrictMode = re, ve.isSuspense = A, ve.isSuspenseList = ne, ve.isValidElementType = _, ve.typeOf = g;
|
|
1276
1276
|
}()), ve;
|
|
1277
1277
|
}
|
|
1278
1278
|
(function(r) {
|
|
1279
1279
|
process.env.NODE_ENV === "production" ? r.exports = no() : r.exports = oo();
|
|
1280
1280
|
})(Ir);
|
|
1281
1281
|
function so(r) {
|
|
1282
|
-
function e($, R, M,
|
|
1283
|
-
for (var G = 0,
|
|
1284
|
-
if (A = M.charCodeAt(le), le === at &&
|
|
1285
|
-
if (le === at && (0 < $e && (K = K.replace(
|
|
1282
|
+
function e($, R, M, v, m) {
|
|
1283
|
+
for (var G = 0, S = 0, se = 0, Q = 0, re, A, ne = 0, z = 0, ee, Pe = ee = re = 0, le = 0, $e = 0, Je = 0, He = 0, Dt = M.length, at = Dt - 1, Xe, K = "", Oe = "", zt = "", lt = "", Qe; le < Dt; ) {
|
|
1284
|
+
if (A = M.charCodeAt(le), le === at && S + Q + se + G !== 0 && (S !== 0 && (A = S === 47 ? 10 : 47), Q = se = G = 0, Dt++, at++), S + Q + se + G === 0) {
|
|
1285
|
+
if (le === at && (0 < $e && (K = K.replace(x, "")), 0 < K.trim().length)) {
|
|
1286
1286
|
switch (A) {
|
|
1287
1287
|
case 32:
|
|
1288
1288
|
case 9:
|
|
@@ -1297,7 +1297,7 @@ function so(r) {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
switch (A) {
|
|
1299
1299
|
case 123:
|
|
1300
|
-
for (K = K.trim(),
|
|
1300
|
+
for (K = K.trim(), re = K.charCodeAt(0), ee = 1, He = ++le; le < Dt; ) {
|
|
1301
1301
|
switch (A = M.charCodeAt(le)) {
|
|
1302
1302
|
case 123:
|
|
1303
1303
|
ee++;
|
|
@@ -1341,9 +1341,9 @@ function so(r) {
|
|
|
1341
1341
|
break;
|
|
1342
1342
|
le++;
|
|
1343
1343
|
}
|
|
1344
|
-
switch (ee = M.substring(He, le),
|
|
1344
|
+
switch (ee = M.substring(He, le), re === 0 && (re = (K = K.replace(p, "").trim()).charCodeAt(0)), re) {
|
|
1345
1345
|
case 64:
|
|
1346
|
-
switch (0 < $e && (K = K.replace(
|
|
1346
|
+
switch (0 < $e && (K = K.replace(x, "")), A = K.charCodeAt(1), A) {
|
|
1347
1347
|
case 100:
|
|
1348
1348
|
case 109:
|
|
1349
1349
|
case 115:
|
|
@@ -1353,7 +1353,7 @@ function so(r) {
|
|
|
1353
1353
|
default:
|
|
1354
1354
|
$e = N;
|
|
1355
1355
|
}
|
|
1356
|
-
if (ee = e(R, $e, ee, A, m + 1), He = ee.length, 0 < ue && ($e = t(N, K, Je), Qe = l(3, ee, $e, R, V, I, He, A, m,
|
|
1356
|
+
if (ee = e(R, $e, ee, A, m + 1), He = ee.length, 0 < ue && ($e = t(N, K, Je), Qe = l(3, ee, $e, R, V, I, He, A, m, v), K = $e.join(""), Qe !== void 0 && (He = (ee = Qe.trim()).length) === 0 && (A = 0, ee = "")), 0 < He)
|
|
1357
1357
|
switch (A) {
|
|
1358
1358
|
case 115:
|
|
1359
1359
|
K = K.replace(W, a);
|
|
@@ -1366,20 +1366,20 @@ function so(r) {
|
|
|
1366
1366
|
K = K.replace(C, "$1 $2"), ee = K + "{" + ee + "}", ee = X === 1 || X === 2 && s("@" + ee, 3) ? "@-webkit-" + ee + "@" + ee : "@" + ee;
|
|
1367
1367
|
break;
|
|
1368
1368
|
default:
|
|
1369
|
-
ee = K + ee,
|
|
1369
|
+
ee = K + ee, v === 112 && (ee = (Oe += ee, ""));
|
|
1370
1370
|
}
|
|
1371
1371
|
else
|
|
1372
1372
|
ee = "";
|
|
1373
1373
|
break;
|
|
1374
1374
|
default:
|
|
1375
|
-
ee = e(R, t(R, K, Je), ee,
|
|
1375
|
+
ee = e(R, t(R, K, Je), ee, v, m + 1);
|
|
1376
1376
|
}
|
|
1377
|
-
|
|
1377
|
+
zt += ee, ee = Je = $e = Pe = re = 0, K = "", A = M.charCodeAt(++le);
|
|
1378
1378
|
break;
|
|
1379
1379
|
case 125:
|
|
1380
1380
|
case 59:
|
|
1381
|
-
if (K = (0 < $e ? K.replace(
|
|
1382
|
-
switch (Pe === 0 && (
|
|
1381
|
+
if (K = (0 < $e ? K.replace(x, "") : K).trim(), 1 < (He = K.length))
|
|
1382
|
+
switch (Pe === 0 && (re = K.charCodeAt(0), re === 45 || 96 < re && 123 > re) && (He = (K = K.replace(" ", ":")).length), 0 < ue && (Qe = l(1, K, R, $, V, I, Oe.length, v, m, v)) !== void 0 && (He = (K = Qe.trim()).length) === 0 && (K = "\0\0"), re = K.charCodeAt(0), A = K.charCodeAt(1), re) {
|
|
1383
1383
|
case 0:
|
|
1384
1384
|
break;
|
|
1385
1385
|
case 64:
|
|
@@ -1388,52 +1388,52 @@ function so(r) {
|
|
|
1388
1388
|
break;
|
|
1389
1389
|
}
|
|
1390
1390
|
default:
|
|
1391
|
-
K.charCodeAt(He - 1) !== 58 && (Oe += n(K,
|
|
1391
|
+
K.charCodeAt(He - 1) !== 58 && (Oe += n(K, re, A, K.charCodeAt(2)));
|
|
1392
1392
|
}
|
|
1393
|
-
Je = $e = Pe =
|
|
1393
|
+
Je = $e = Pe = re = 0, K = "", A = M.charCodeAt(++le);
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
1396
|
switch (A) {
|
|
1397
1397
|
case 13:
|
|
1398
1398
|
case 10:
|
|
1399
|
-
|
|
1399
|
+
S === 47 ? S = 0 : 1 + re === 0 && v !== 107 && 0 < K.length && ($e = 1, K += "\0"), 0 < ue * Ae && l(0, K, R, $, V, I, Oe.length, v, m, v), I = 1, V++;
|
|
1400
1400
|
break;
|
|
1401
1401
|
case 59:
|
|
1402
1402
|
case 125:
|
|
1403
|
-
if (
|
|
1403
|
+
if (S + Q + se + G === 0) {
|
|
1404
1404
|
I++;
|
|
1405
1405
|
break;
|
|
1406
1406
|
}
|
|
1407
1407
|
default:
|
|
1408
|
-
switch (I++,
|
|
1408
|
+
switch (I++, Xe = M.charAt(le), A) {
|
|
1409
1409
|
case 9:
|
|
1410
1410
|
case 32:
|
|
1411
|
-
if (Q + G +
|
|
1411
|
+
if (Q + G + S === 0)
|
|
1412
1412
|
switch (ne) {
|
|
1413
1413
|
case 44:
|
|
1414
1414
|
case 58:
|
|
1415
1415
|
case 9:
|
|
1416
1416
|
case 32:
|
|
1417
|
-
|
|
1417
|
+
Xe = "";
|
|
1418
1418
|
break;
|
|
1419
1419
|
default:
|
|
1420
|
-
A !== 32 && (
|
|
1420
|
+
A !== 32 && (Xe = " ");
|
|
1421
1421
|
}
|
|
1422
1422
|
break;
|
|
1423
1423
|
case 0:
|
|
1424
|
-
|
|
1424
|
+
Xe = "\\0";
|
|
1425
1425
|
break;
|
|
1426
1426
|
case 12:
|
|
1427
|
-
|
|
1427
|
+
Xe = "\\f";
|
|
1428
1428
|
break;
|
|
1429
1429
|
case 11:
|
|
1430
|
-
|
|
1430
|
+
Xe = "\\v";
|
|
1431
1431
|
break;
|
|
1432
1432
|
case 38:
|
|
1433
|
-
Q +
|
|
1433
|
+
Q + S + G === 0 && ($e = Je = 1, Xe = "\f" + Xe);
|
|
1434
1434
|
break;
|
|
1435
1435
|
case 108:
|
|
1436
|
-
if (Q +
|
|
1436
|
+
if (Q + S + G + J === 0 && 0 < Pe)
|
|
1437
1437
|
switch (le - Pe) {
|
|
1438
1438
|
case 2:
|
|
1439
1439
|
ne === 112 && M.charCodeAt(le - 3) === 58 && (J = ne);
|
|
@@ -1442,63 +1442,63 @@ function so(r) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
break;
|
|
1444
1444
|
case 58:
|
|
1445
|
-
Q +
|
|
1445
|
+
Q + S + G === 0 && (Pe = le);
|
|
1446
1446
|
break;
|
|
1447
1447
|
case 44:
|
|
1448
|
-
|
|
1448
|
+
S + se + Q + G === 0 && ($e = 1, Xe += "\r");
|
|
1449
1449
|
break;
|
|
1450
1450
|
case 34:
|
|
1451
1451
|
case 39:
|
|
1452
|
-
|
|
1452
|
+
S === 0 && (Q = Q === A ? 0 : Q === 0 ? A : Q);
|
|
1453
1453
|
break;
|
|
1454
1454
|
case 91:
|
|
1455
|
-
Q +
|
|
1455
|
+
Q + S + se === 0 && G++;
|
|
1456
1456
|
break;
|
|
1457
1457
|
case 93:
|
|
1458
|
-
Q +
|
|
1458
|
+
Q + S + se === 0 && G--;
|
|
1459
1459
|
break;
|
|
1460
1460
|
case 41:
|
|
1461
|
-
Q +
|
|
1461
|
+
Q + S + G === 0 && se--;
|
|
1462
1462
|
break;
|
|
1463
1463
|
case 40:
|
|
1464
|
-
if (Q +
|
|
1465
|
-
if (
|
|
1464
|
+
if (Q + S + G === 0) {
|
|
1465
|
+
if (re === 0)
|
|
1466
1466
|
switch (2 * ne + 3 * z) {
|
|
1467
1467
|
case 533:
|
|
1468
1468
|
break;
|
|
1469
1469
|
default:
|
|
1470
|
-
|
|
1470
|
+
re = 1;
|
|
1471
1471
|
}
|
|
1472
1472
|
se++;
|
|
1473
1473
|
}
|
|
1474
1474
|
break;
|
|
1475
1475
|
case 64:
|
|
1476
|
-
|
|
1476
|
+
S + se + Q + G + Pe + ee === 0 && (ee = 1);
|
|
1477
1477
|
break;
|
|
1478
1478
|
case 42:
|
|
1479
1479
|
case 47:
|
|
1480
1480
|
if (!(0 < Q + G + se))
|
|
1481
|
-
switch (
|
|
1481
|
+
switch (S) {
|
|
1482
1482
|
case 0:
|
|
1483
1483
|
switch (2 * A + 3 * M.charCodeAt(le + 1)) {
|
|
1484
1484
|
case 235:
|
|
1485
|
-
|
|
1485
|
+
S = 47;
|
|
1486
1486
|
break;
|
|
1487
1487
|
case 220:
|
|
1488
|
-
He = le,
|
|
1488
|
+
He = le, S = 42;
|
|
1489
1489
|
}
|
|
1490
1490
|
break;
|
|
1491
1491
|
case 42:
|
|
1492
|
-
A === 47 && ne === 42 && He + 2 !== le && (M.charCodeAt(He + 2) === 33 && (Oe += M.substring(He, le + 1)),
|
|
1492
|
+
A === 47 && ne === 42 && He + 2 !== le && (M.charCodeAt(He + 2) === 33 && (Oe += M.substring(He, le + 1)), Xe = "", S = 0);
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
|
-
|
|
1495
|
+
S === 0 && (K += Xe);
|
|
1496
1496
|
}
|
|
1497
1497
|
z = ne, ne = A, le++;
|
|
1498
1498
|
}
|
|
1499
1499
|
if (He = Oe.length, 0 < He) {
|
|
1500
|
-
if ($e = R, 0 < ue && (Qe = l(2, Oe, $e, $, V, I, He,
|
|
1501
|
-
return lt + Oe +
|
|
1500
|
+
if ($e = R, 0 < ue && (Qe = l(2, Oe, $e, $, V, I, He, v, m, v), Qe !== void 0 && (Oe = Qe).length === 0))
|
|
1501
|
+
return lt + Oe + zt;
|
|
1502
1502
|
if (Oe = $e.join(",") + "{" + Oe + "}", X * J !== 0) {
|
|
1503
1503
|
switch (X !== 2 || s(Oe, 2) || (J = 0), J) {
|
|
1504
1504
|
case 111:
|
|
@@ -1510,30 +1510,30 @@ function so(r) {
|
|
|
1510
1510
|
J = 0;
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
|
-
return lt + Oe +
|
|
1513
|
+
return lt + Oe + zt;
|
|
1514
1514
|
}
|
|
1515
1515
|
function t($, R, M) {
|
|
1516
|
-
var
|
|
1517
|
-
R =
|
|
1518
|
-
var m =
|
|
1516
|
+
var v = R.trim().split(d);
|
|
1517
|
+
R = v;
|
|
1518
|
+
var m = v.length, G = $.length;
|
|
1519
1519
|
switch (G) {
|
|
1520
1520
|
case 0:
|
|
1521
1521
|
case 1:
|
|
1522
|
-
var
|
|
1523
|
-
for ($ = G === 0 ? "" : $[0] + " ";
|
|
1524
|
-
R[
|
|
1522
|
+
var S = 0;
|
|
1523
|
+
for ($ = G === 0 ? "" : $[0] + " "; S < m; ++S)
|
|
1524
|
+
R[S] = i($, R[S], M).trim();
|
|
1525
1525
|
break;
|
|
1526
1526
|
default:
|
|
1527
|
-
var se =
|
|
1528
|
-
for (R = [];
|
|
1527
|
+
var se = S = 0;
|
|
1528
|
+
for (R = []; S < m; ++S)
|
|
1529
1529
|
for (var Q = 0; Q < G; ++Q)
|
|
1530
|
-
R[se++] = i($[Q] + " ",
|
|
1530
|
+
R[se++] = i($[Q] + " ", v[S], M).trim();
|
|
1531
1531
|
}
|
|
1532
1532
|
return R;
|
|
1533
1533
|
}
|
|
1534
1534
|
function i($, R, M) {
|
|
1535
|
-
var
|
|
1536
|
-
switch (33 >
|
|
1535
|
+
var v = R.charCodeAt(0);
|
|
1536
|
+
switch (33 > v && (v = (R = R.trim()).charCodeAt(0)), v) {
|
|
1537
1537
|
case 38:
|
|
1538
1538
|
return R.replace(w, "$1" + $.trim());
|
|
1539
1539
|
case 58:
|
|
@@ -1544,12 +1544,12 @@ function so(r) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
return $ + R;
|
|
1546
1546
|
}
|
|
1547
|
-
function n($, R, M,
|
|
1548
|
-
var m = $ + ";", G = 2 * R + 3 * M + 4 *
|
|
1547
|
+
function n($, R, M, v) {
|
|
1548
|
+
var m = $ + ";", G = 2 * R + 3 * M + 4 * v;
|
|
1549
1549
|
if (G === 944) {
|
|
1550
1550
|
$ = m.indexOf(":", 9) + 1;
|
|
1551
|
-
var
|
|
1552
|
-
return
|
|
1551
|
+
var S = m.substring($, m.length - 1).trim();
|
|
1552
|
+
return S = m.substring(0, $).trim() + S + ";", X === 1 || X === 2 && s(S, 1) ? "-webkit-" + S + S : S;
|
|
1553
1553
|
}
|
|
1554
1554
|
if (X === 0 || X === 2 && !s(m, 1))
|
|
1555
1555
|
return m;
|
|
@@ -1593,45 +1593,45 @@ function so(r) {
|
|
|
1593
1593
|
case 1023:
|
|
1594
1594
|
if (m.charCodeAt(8) !== 99)
|
|
1595
1595
|
break;
|
|
1596
|
-
return
|
|
1596
|
+
return S = m.substring(m.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + S + "-webkit-" + m + "-ms-flex-pack" + S + m;
|
|
1597
1597
|
case 1005:
|
|
1598
|
-
return E.test(m) ? m.replace(
|
|
1598
|
+
return E.test(m) ? m.replace(y, ":-webkit-") + m.replace(y, ":-moz-") + m : m;
|
|
1599
1599
|
case 1e3:
|
|
1600
|
-
switch (
|
|
1600
|
+
switch (S = m.substring(13).trim(), R = S.indexOf("-") + 1, S.charCodeAt(0) + S.charCodeAt(R)) {
|
|
1601
1601
|
case 226:
|
|
1602
|
-
|
|
1602
|
+
S = m.replace(g, "tb");
|
|
1603
1603
|
break;
|
|
1604
1604
|
case 232:
|
|
1605
|
-
|
|
1605
|
+
S = m.replace(g, "tb-rl");
|
|
1606
1606
|
break;
|
|
1607
1607
|
case 220:
|
|
1608
|
-
|
|
1608
|
+
S = m.replace(g, "lr");
|
|
1609
1609
|
break;
|
|
1610
1610
|
default:
|
|
1611
1611
|
return m;
|
|
1612
1612
|
}
|
|
1613
|
-
return "-webkit-" + m + "-ms-" +
|
|
1613
|
+
return "-webkit-" + m + "-ms-" + S + m;
|
|
1614
1614
|
case 1017:
|
|
1615
1615
|
if (m.indexOf("sticky", 9) === -1)
|
|
1616
1616
|
break;
|
|
1617
1617
|
case 975:
|
|
1618
|
-
switch (R = (m = $).length - 10,
|
|
1618
|
+
switch (R = (m = $).length - 10, S = (m.charCodeAt(R) === 33 ? m.substring(0, R) : m).substring($.indexOf(":", 7) + 1).trim(), G = S.charCodeAt(0) + (S.charCodeAt(7) | 0)) {
|
|
1619
1619
|
case 203:
|
|
1620
|
-
if (111 >
|
|
1620
|
+
if (111 > S.charCodeAt(8))
|
|
1621
1621
|
break;
|
|
1622
1622
|
case 115:
|
|
1623
|
-
m = m.replace(
|
|
1623
|
+
m = m.replace(S, "-webkit-" + S) + ";" + m;
|
|
1624
1624
|
break;
|
|
1625
1625
|
case 207:
|
|
1626
1626
|
case 102:
|
|
1627
|
-
m = m.replace(
|
|
1627
|
+
m = m.replace(S, "-webkit-" + (102 < G ? "inline-" : "") + "box") + ";" + m.replace(S, "-webkit-" + S) + ";" + m.replace(S, "-ms-" + S + "box") + ";" + m;
|
|
1628
1628
|
}
|
|
1629
1629
|
return m + ";";
|
|
1630
1630
|
case 938:
|
|
1631
1631
|
if (m.charCodeAt(5) === 45)
|
|
1632
1632
|
switch (m.charCodeAt(6)) {
|
|
1633
1633
|
case 105:
|
|
1634
|
-
return
|
|
1634
|
+
return S = m.replace("-items", ""), "-webkit-" + m + "-webkit-box-" + S + "-ms-flex-" + S + m;
|
|
1635
1635
|
case 115:
|
|
1636
1636
|
return "-webkit-" + m + "-ms-flex-item-" + m.replace(k, "") + m;
|
|
1637
1637
|
default:
|
|
@@ -1645,25 +1645,25 @@ function so(r) {
|
|
|
1645
1645
|
case 931:
|
|
1646
1646
|
case 953:
|
|
1647
1647
|
if (oe.test($) === !0)
|
|
1648
|
-
return (
|
|
1648
|
+
return (S = $.substring($.indexOf(":") + 1)).charCodeAt(0) === 115 ? n($.replace("stretch", "fill-available"), R, M, v).replace(":fill-available", ":stretch") : m.replace(S, "-webkit-" + S) + m.replace(S, "-moz-" + S.replace("fill-", "")) + m;
|
|
1649
1649
|
break;
|
|
1650
1650
|
case 962:
|
|
1651
|
-
if (m = "-webkit-" + m + (m.charCodeAt(5) === 102 ? "-ms-" + m : "") + m, M +
|
|
1651
|
+
if (m = "-webkit-" + m + (m.charCodeAt(5) === 102 ? "-ms-" + m : "") + m, M + v === 211 && m.charCodeAt(13) === 105 && 0 < m.indexOf("transform", 10))
|
|
1652
1652
|
return m.substring(0, m.indexOf(";", 27) + 1).replace(T, "$1-webkit-$2") + m;
|
|
1653
1653
|
}
|
|
1654
1654
|
return m;
|
|
1655
1655
|
}
|
|
1656
1656
|
function s($, R) {
|
|
1657
|
-
var M = $.indexOf(R === 1 ? ":" : "{"),
|
|
1658
|
-
return M = $.substring(M + 1, $.length - 1), Ce(R !== 2 ?
|
|
1657
|
+
var M = $.indexOf(R === 1 ? ":" : "{"), v = $.substring(0, R !== 3 ? M : 10);
|
|
1658
|
+
return M = $.substring(M + 1, $.length - 1), Ce(R !== 2 ? v : v.replace(B, "$1"), M, R);
|
|
1659
1659
|
}
|
|
1660
1660
|
function a($, R) {
|
|
1661
1661
|
var M = n(R, R.charCodeAt(0), R.charCodeAt(1), R.charCodeAt(2));
|
|
1662
1662
|
return M !== R + ";" ? M.replace(H, " or ($1)").substring(4) : "(" + R + ")";
|
|
1663
1663
|
}
|
|
1664
|
-
function l($, R, M,
|
|
1664
|
+
function l($, R, M, v, m, G, S, se, Q, re) {
|
|
1665
1665
|
for (var A = 0, ne = R, z; A < ue; ++A)
|
|
1666
|
-
switch (z = de[A].call(c, $, ne, M,
|
|
1666
|
+
switch (z = de[A].call(c, $, ne, M, v, m, G, S, se, Q, re)) {
|
|
1667
1667
|
case void 0:
|
|
1668
1668
|
case !1:
|
|
1669
1669
|
case !0:
|
|
@@ -1688,7 +1688,7 @@ function so(r) {
|
|
|
1688
1688
|
for (var R = 0, M = $.length; R < M; ++R)
|
|
1689
1689
|
u($[R]);
|
|
1690
1690
|
else
|
|
1691
|
-
|
|
1691
|
+
Ae = !!$ | 0;
|
|
1692
1692
|
}
|
|
1693
1693
|
return u;
|
|
1694
1694
|
}
|
|
@@ -1698,13 +1698,13 @@ function so(r) {
|
|
|
1698
1698
|
function c($, R) {
|
|
1699
1699
|
var M = $;
|
|
1700
1700
|
if (33 > M.charCodeAt(0) && (M = M.trim()), Ie = M, M = [Ie], 0 < ue) {
|
|
1701
|
-
var
|
|
1702
|
-
|
|
1701
|
+
var v = l(-1, R, M, M, V, I, 0, 0, 0, 0);
|
|
1702
|
+
v !== void 0 && typeof v == "string" && (R = v);
|
|
1703
1703
|
}
|
|
1704
1704
|
var m = e(N, M, R, 0, 0);
|
|
1705
|
-
return 0 < ue && (
|
|
1705
|
+
return 0 < ue && (v = l(-2, m, M, M, V, I, m.length, 0, 0, 0), v !== void 0 && (m = v)), Ie = "", J = 0, I = V = 1, m;
|
|
1706
1706
|
}
|
|
1707
|
-
var p = /^\0+/g,
|
|
1707
|
+
var p = /^\0+/g, x = /[\0\r\f]/g, y = /: */g, E = /zoo|gra/, T = /([,: ])(transform)/g, d = /,\r+?/g, w = /([\t\r\n ])*\f?&/g, C = /@(k\w+)\s*(\S*)\s*/, O = /::(place)/g, _ = /:(read-only)/g, g = /[svh]\w+-[tblr]{2}/, W = /\(\s*(.*)\s*\)/g, H = /([\s\S]*?);/g, k = /-self|flex-/g, B = /[^]*?(:[rp][el]a[\w-]+)[^]*/, oe = /stretch|:\s*\w+\-(?:conte|avail)/, U = /([^-])(image-set\()/, I = 1, V = 1, J = 0, X = 1, N = [], de = [], ue = 0, Ce = null, Ae = 0, Ie = "";
|
|
1708
1708
|
return c.use = u, c.set = h, r !== void 0 && h(r), c;
|
|
1709
1709
|
}
|
|
1710
1710
|
var ao = {
|
|
@@ -1770,7 +1770,7 @@ function uo() {
|
|
|
1770
1770
|
if (zi)
|
|
1771
1771
|
return be;
|
|
1772
1772
|
zi = 1;
|
|
1773
|
-
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, n = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, h = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113,
|
|
1773
|
+
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, n = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, h = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113, x = r ? Symbol.for("react.suspense_list") : 60120, y = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116, T = r ? Symbol.for("react.block") : 60121, d = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, C = r ? Symbol.for("react.scope") : 60119;
|
|
1774
1774
|
function O(g) {
|
|
1775
1775
|
if (typeof g == "object" && g !== null) {
|
|
1776
1776
|
var W = g.$$typeof;
|
|
@@ -1789,7 +1789,7 @@ function uo() {
|
|
|
1789
1789
|
case l:
|
|
1790
1790
|
case c:
|
|
1791
1791
|
case E:
|
|
1792
|
-
case
|
|
1792
|
+
case y:
|
|
1793
1793
|
case a:
|
|
1794
1794
|
return g;
|
|
1795
1795
|
default:
|
|
@@ -1804,7 +1804,7 @@ function uo() {
|
|
|
1804
1804
|
function _(g) {
|
|
1805
1805
|
return O(g) === h;
|
|
1806
1806
|
}
|
|
1807
|
-
return be.AsyncMode = u, be.ConcurrentMode = h, be.ContextConsumer = l, be.ContextProvider = a, be.Element = e, be.ForwardRef = c, be.Fragment = i, be.Lazy = E, be.Memo =
|
|
1807
|
+
return be.AsyncMode = u, be.ConcurrentMode = h, be.ContextConsumer = l, be.ContextProvider = a, be.Element = e, be.ForwardRef = c, be.Fragment = i, be.Lazy = E, be.Memo = y, be.Portal = t, be.Profiler = s, be.StrictMode = n, be.Suspense = p, be.isAsyncMode = function(g) {
|
|
1808
1808
|
return _(g) || O(g) === u;
|
|
1809
1809
|
}, be.isConcurrentMode = _, be.isContextConsumer = function(g) {
|
|
1810
1810
|
return O(g) === l;
|
|
@@ -1819,7 +1819,7 @@ function uo() {
|
|
|
1819
1819
|
}, be.isLazy = function(g) {
|
|
1820
1820
|
return O(g) === E;
|
|
1821
1821
|
}, be.isMemo = function(g) {
|
|
1822
|
-
return O(g) ===
|
|
1822
|
+
return O(g) === y;
|
|
1823
1823
|
}, be.isPortal = function(g) {
|
|
1824
1824
|
return O(g) === t;
|
|
1825
1825
|
}, be.isProfiler = function(g) {
|
|
@@ -1829,16 +1829,16 @@ function uo() {
|
|
|
1829
1829
|
}, be.isSuspense = function(g) {
|
|
1830
1830
|
return O(g) === p;
|
|
1831
1831
|
}, be.isValidElementType = function(g) {
|
|
1832
|
-
return typeof g == "string" || typeof g == "function" || g === i || g === h || g === s || g === n || g === p || g ===
|
|
1832
|
+
return typeof g == "string" || typeof g == "function" || g === i || g === h || g === s || g === n || g === p || g === x || typeof g == "object" && g !== null && (g.$$typeof === E || g.$$typeof === y || g.$$typeof === a || g.$$typeof === l || g.$$typeof === c || g.$$typeof === d || g.$$typeof === w || g.$$typeof === C || g.$$typeof === T);
|
|
1833
1833
|
}, be.typeOf = O, be;
|
|
1834
1834
|
}
|
|
1835
1835
|
var xe = {};
|
|
1836
1836
|
var $i;
|
|
1837
1837
|
function ho() {
|
|
1838
1838
|
return $i || ($i = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1839
|
-
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, n = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, h = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113,
|
|
1839
|
+
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, n = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, h = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113, x = r ? Symbol.for("react.suspense_list") : 60120, y = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116, T = r ? Symbol.for("react.block") : 60121, d = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, C = r ? Symbol.for("react.scope") : 60119;
|
|
1840
1840
|
function O(A) {
|
|
1841
|
-
return typeof A == "string" || typeof A == "function" || A === i || A === h || A === s || A === n || A === p || A ===
|
|
1841
|
+
return typeof A == "string" || typeof A == "function" || A === i || A === h || A === s || A === n || A === p || A === x || typeof A == "object" && A !== null && (A.$$typeof === E || A.$$typeof === y || A.$$typeof === a || A.$$typeof === l || A.$$typeof === c || A.$$typeof === d || A.$$typeof === w || A.$$typeof === C || A.$$typeof === T);
|
|
1842
1842
|
}
|
|
1843
1843
|
function _(A) {
|
|
1844
1844
|
if (typeof A == "object" && A !== null) {
|
|
@@ -1860,7 +1860,7 @@ function ho() {
|
|
|
1860
1860
|
case l:
|
|
1861
1861
|
case c:
|
|
1862
1862
|
case E:
|
|
1863
|
-
case
|
|
1863
|
+
case y:
|
|
1864
1864
|
case a:
|
|
1865
1865
|
return ee;
|
|
1866
1866
|
default:
|
|
@@ -1872,11 +1872,11 @@ function ho() {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
|
-
var g = u, W = h, H = l, k = a, B = e, oe = c, U = i, I = E, V =
|
|
1875
|
+
var g = u, W = h, H = l, k = a, B = e, oe = c, U = i, I = E, V = y, J = t, X = s, N = n, de = p, ue = !1;
|
|
1876
1876
|
function Ce(A) {
|
|
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.")),
|
|
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.")), Ae(A) || _(A) === u;
|
|
1878
1878
|
}
|
|
1879
|
-
function
|
|
1879
|
+
function Ae(A) {
|
|
1880
1880
|
return _(A) === h;
|
|
1881
1881
|
}
|
|
1882
1882
|
function Ie(A) {
|
|
@@ -1891,16 +1891,16 @@ function ho() {
|
|
|
1891
1891
|
function M(A) {
|
|
1892
1892
|
return _(A) === c;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function v(A) {
|
|
1895
1895
|
return _(A) === i;
|
|
1896
1896
|
}
|
|
1897
1897
|
function m(A) {
|
|
1898
1898
|
return _(A) === E;
|
|
1899
1899
|
}
|
|
1900
1900
|
function G(A) {
|
|
1901
|
-
return _(A) ===
|
|
1901
|
+
return _(A) === y;
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1903
|
+
function S(A) {
|
|
1904
1904
|
return _(A) === t;
|
|
1905
1905
|
}
|
|
1906
1906
|
function se(A) {
|
|
@@ -1909,10 +1909,10 @@ function ho() {
|
|
|
1909
1909
|
function Q(A) {
|
|
1910
1910
|
return _(A) === n;
|
|
1911
1911
|
}
|
|
1912
|
-
function
|
|
1912
|
+
function re(A) {
|
|
1913
1913
|
return _(A) === p;
|
|
1914
1914
|
}
|
|
1915
|
-
xe.AsyncMode = g, xe.ConcurrentMode = W, xe.ContextConsumer = H, xe.ContextProvider = k, xe.Element = B, xe.ForwardRef = oe, xe.Fragment = U, xe.Lazy = I, xe.Memo = V, xe.Portal = J, xe.Profiler = X, xe.StrictMode = N, xe.Suspense = de, xe.isAsyncMode = Ce, xe.isConcurrentMode =
|
|
1915
|
+
xe.AsyncMode = g, xe.ConcurrentMode = W, xe.ContextConsumer = H, xe.ContextProvider = k, xe.Element = B, xe.ForwardRef = oe, xe.Fragment = U, xe.Lazy = I, xe.Memo = V, xe.Portal = J, xe.Profiler = X, xe.StrictMode = N, xe.Suspense = de, xe.isAsyncMode = Ce, xe.isConcurrentMode = Ae, xe.isContextConsumer = Ie, xe.isContextProvider = $, xe.isElement = R, xe.isForwardRef = M, xe.isFragment = v, xe.isLazy = m, xe.isMemo = G, xe.isPortal = S, xe.isProfiler = se, xe.isStrictMode = Q, xe.isSuspense = re, xe.isValidElementType = O, xe.typeOf = _;
|
|
1916
1916
|
}()), xe;
|
|
1917
1917
|
}
|
|
1918
1918
|
(function(r) {
|
|
@@ -2236,8 +2236,8 @@ var Eo = function() {
|
|
|
2236
2236
|
var u = t.names.get(l), h = i.getGroup(a);
|
|
2237
2237
|
if (u && h && u.size) {
|
|
2238
2238
|
var c = Gt + ".g" + a + '[id="' + l + '"]', p = "";
|
|
2239
|
-
u !== void 0 && u.forEach(function(
|
|
2240
|
-
|
|
2239
|
+
u !== void 0 && u.forEach(function(x) {
|
|
2240
|
+
x.length > 0 && (p += x + ",");
|
|
2241
2241
|
}), s += "" + h + c + '{content:"' + p + `"}/*!sc*/
|
|
2242
2242
|
`;
|
|
2243
2243
|
}
|
|
@@ -2288,13 +2288,13 @@ var Yo = ln("5.3.6"), Bo = function() {
|
|
|
2288
2288
|
s.push(l), this.staticRulesId = l;
|
|
2289
2289
|
}
|
|
2290
2290
|
else {
|
|
2291
|
-
for (var h = this.rules.length, c = Tt(this.baseHash, i.hash), p = "",
|
|
2292
|
-
var
|
|
2293
|
-
if (typeof
|
|
2294
|
-
p +=
|
|
2295
|
-
else if (
|
|
2296
|
-
var E = Kt(
|
|
2297
|
-
c = Tt(c, T +
|
|
2291
|
+
for (var h = this.rules.length, c = Tt(this.baseHash, i.hash), p = "", x = 0; x < h; x++) {
|
|
2292
|
+
var y = this.rules[x];
|
|
2293
|
+
if (typeof y == "string")
|
|
2294
|
+
p += y, process.env.NODE_ENV !== "production" && (c = Tt(c, y + x));
|
|
2295
|
+
else if (y) {
|
|
2296
|
+
var E = Kt(y, e, t, i), T = Array.isArray(E) ? E.join("") : E;
|
|
2297
|
+
c = Tt(c, T + x), p += T;
|
|
2298
2298
|
}
|
|
2299
2299
|
}
|
|
2300
2300
|
if (p) {
|
|
@@ -2310,7 +2310,7 @@ var Yo = ln("5.3.6"), Bo = function() {
|
|
|
2310
2310
|
}, r;
|
|
2311
2311
|
}(), Fo = /^\s*\/\/.*$/gm, jo = [":", "[", ".", "#"];
|
|
2312
2312
|
function No(r) {
|
|
2313
|
-
var e, t, i, n, s = r === void 0 ? St : r, a = s.options, l = a === void 0 ? St : a, u = s.plugins, h = u === void 0 ? wr : u, c = new so(l), p = [],
|
|
2313
|
+
var e, t, i, n, s = r === void 0 ? St : r, a = s.options, l = a === void 0 ? St : a, u = s.plugins, h = u === void 0 ? wr : u, c = new so(l), p = [], x = function(T) {
|
|
2314
2314
|
function d(w) {
|
|
2315
2315
|
if (w)
|
|
2316
2316
|
try {
|
|
@@ -2342,7 +2342,7 @@ function No(r) {
|
|
|
2342
2342
|
};
|
|
2343
2343
|
}(function(T) {
|
|
2344
2344
|
p.push(T);
|
|
2345
|
-
}),
|
|
2345
|
+
}), y = function(T, d, w) {
|
|
2346
2346
|
return d === 0 && jo.indexOf(w[t.length]) !== -1 || w.match(n) ? T : "." + e;
|
|
2347
2347
|
};
|
|
2348
2348
|
function E(T, d, w, C) {
|
|
@@ -2351,8 +2351,8 @@ function No(r) {
|
|
|
2351
2351
|
return e = C, t = d, i = new RegExp("\\" + t + "\\b", "g"), n = new RegExp("(\\" + t + "\\b){2,}"), c(w || !d ? "" : d, _);
|
|
2352
2352
|
}
|
|
2353
2353
|
return c.use([].concat(h, [function(T, d, w) {
|
|
2354
|
-
T === 2 && w.length && w[0].lastIndexOf(t) > 0 && (w[0] = w[0].replace(i,
|
|
2355
|
-
},
|
|
2354
|
+
T === 2 && w.length && w[0].lastIndexOf(t) > 0 && (w[0] = w[0].replace(i, y));
|
|
2355
|
+
}, x, function(T) {
|
|
2356
2356
|
if (T === -2) {
|
|
2357
2357
|
var d = p;
|
|
2358
2358
|
return p = [], d;
|
|
@@ -2365,10 +2365,10 @@ var cn = Be.createContext();
|
|
|
2365
2365
|
cn.Consumer;
|
|
2366
2366
|
var un = Be.createContext(), Lo = (un.Consumer, new an()), Qr = No();
|
|
2367
2367
|
function Vo() {
|
|
2368
|
-
return
|
|
2368
|
+
return Ve(cn) || Lo;
|
|
2369
2369
|
}
|
|
2370
2370
|
function Xo() {
|
|
2371
|
-
return
|
|
2371
|
+
return Ve(un) || Qr;
|
|
2372
2372
|
}
|
|
2373
2373
|
var Wo = function() {
|
|
2374
2374
|
function r(e, t) {
|
|
@@ -2410,11 +2410,11 @@ function Kt(r, e, t, i) {
|
|
|
2410
2410
|
return process.env.NODE_ENV !== "production" && Ir.exports.isElement(u) && console.warn(qr(r) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), Kt(u, e, t, i);
|
|
2411
2411
|
}
|
|
2412
2412
|
var h;
|
|
2413
|
-
return r instanceof Wo ? t ? (r.inject(t, i), r.getName(i)) : r : Kr(r) ? function c(p,
|
|
2414
|
-
var
|
|
2413
|
+
return r instanceof Wo ? t ? (r.inject(t, i), r.getName(i)) : r : Kr(r) ? function c(p, x) {
|
|
2414
|
+
var y, E, T = [];
|
|
2415
2415
|
for (var d in p)
|
|
2416
|
-
p.hasOwnProperty(d) && !Ni(p[d]) && (Array.isArray(p[d]) && p[d].isCss || ar(p[d]) ? T.push(ji(d) + ":", p[d], ";") : Kr(p[d]) ? T.push.apply(T, c(p[d], d)) : T.push(ji(d) + ": " + (
|
|
2417
|
-
return
|
|
2416
|
+
p.hasOwnProperty(d) && !Ni(p[d]) && (Array.isArray(p[d]) && p[d].isCss || ar(p[d]) ? T.push(ji(d) + ":", p[d], ";") : Kr(p[d]) ? T.push.apply(T, c(p[d], d)) : T.push(ji(d) + ": " + (y = d, (E = p[d]) == null || typeof E == "boolean" || E === "" ? "" : typeof E != "number" || E === 0 || y in ao ? String(E).trim() : E + "px") + ";"));
|
|
2417
|
+
return x ? [x + " {"].concat(T, ["}"]) : T;
|
|
2418
2418
|
}(r) : r.toString();
|
|
2419
2419
|
}
|
|
2420
2420
|
var Li = function(r) {
|
|
@@ -2490,32 +2490,32 @@ function fn(r, e, t) {
|
|
|
2490
2490
|
return O ? O + "-" + g : g;
|
|
2491
2491
|
}(e.displayName, e.parentComponentId) : l, h = e.displayName, c = h === void 0 ? function(C) {
|
|
2492
2492
|
return mr(C) ? "styled." + C : "Styled(" + qr(C) + ")";
|
|
2493
|
-
}(r) : h, p = e.displayName && e.componentId ? Lr(e.displayName) + "-" + e.componentId : e.componentId || u,
|
|
2494
|
-
i && r.shouldForwardProp && (
|
|
2493
|
+
}(r) : h, p = e.displayName && e.componentId ? Lr(e.displayName) + "-" + e.componentId : e.componentId || u, x = i && r.attrs ? Array.prototype.concat(r.attrs, a).filter(Boolean) : a, y = e.shouldForwardProp;
|
|
2494
|
+
i && r.shouldForwardProp && (y = e.shouldForwardProp ? function(C, O, _) {
|
|
2495
2495
|
return r.shouldForwardProp(C, O, _) && e.shouldForwardProp(C, O, _);
|
|
2496
2496
|
} : r.shouldForwardProp);
|
|
2497
2497
|
var E, T = new Bo(t, p, i ? r.componentStyle : void 0), d = T.isStatic && a.length === 0, w = function(C, O) {
|
|
2498
2498
|
return function(_, g, W, H) {
|
|
2499
2499
|
var k = _.attrs, B = _.componentStyle, oe = _.defaultProps, U = _.foldedComponentIds, I = _.shouldForwardProp, V = _.styledComponentId, J = _.target;
|
|
2500
2500
|
process.env.NODE_ENV !== "production" && xi(V);
|
|
2501
|
-
var X = function(
|
|
2502
|
-
|
|
2503
|
-
var
|
|
2501
|
+
var X = function(v, m, G) {
|
|
2502
|
+
v === void 0 && (v = St);
|
|
2503
|
+
var S = pt({}, m, { theme: v }), se = {};
|
|
2504
2504
|
return G.forEach(function(Q) {
|
|
2505
|
-
var
|
|
2506
|
-
for (
|
|
2507
|
-
|
|
2508
|
-
}), [
|
|
2509
|
-
}(Qo(g,
|
|
2510
|
-
var se = Vo(), Q = Xo(),
|
|
2511
|
-
return process.env.NODE_ENV !== "production" && xi(
|
|
2512
|
-
}(B, H, N, process.env.NODE_ENV !== "production" ? _.warnTooManyClasses : void 0), Ce = W,
|
|
2505
|
+
var re, A, ne, z = Q;
|
|
2506
|
+
for (re in ar(z) && (z = z(S)), z)
|
|
2507
|
+
S[re] = se[re] = re === "className" ? (A = se[re], ne = z[re], A && ne ? A + " " + ne : A || ne) : z[re];
|
|
2508
|
+
}), [S, se];
|
|
2509
|
+
}(Qo(g, Ve(hn), oe) || St, g, k), N = X[0], de = X[1], ue = function(v, m, G, S) {
|
|
2510
|
+
var se = Vo(), Q = Xo(), re = m ? v.generateAndInjectStyles(St, se, Q) : v.generateAndInjectStyles(G, se, Q);
|
|
2511
|
+
return process.env.NODE_ENV !== "production" && xi(re), process.env.NODE_ENV !== "production" && !m && S && S(re), re;
|
|
2512
|
+
}(B, H, N, process.env.NODE_ENV !== "production" ? _.warnTooManyClasses : void 0), Ce = W, Ae = de.$as || g.$as || de.as || g.as || J, Ie = mr(Ae), $ = de !== g ? pt({}, g, {}, de) : g, R = {};
|
|
2513
2513
|
for (var M in $)
|
|
2514
|
-
M[0] !== "$" && M !== "as" && (M === "forwardedAs" ? R.as = $[M] : (I ? I(M, Di,
|
|
2515
|
-
return g.style && de.style !== g.style && (R.style = pt({}, g.style, {}, de.style)), R.className = Array.prototype.concat(U, V, ue !== V ? ue : null, g.className, de.className).filter(Boolean).join(" "), R.ref = Ce, Yn(
|
|
2514
|
+
M[0] !== "$" && M !== "as" && (M === "forwardedAs" ? R.as = $[M] : (I ? I(M, Di, Ae) : !Ie || Di(M)) && (R[M] = $[M]));
|
|
2515
|
+
return g.style && de.style !== g.style && (R.style = pt({}, g.style, {}, de.style)), R.className = Array.prototype.concat(U, V, ue !== V ? ue : null, g.className, de.className).filter(Boolean).join(" "), R.ref = Ce, Yn(Ae, R);
|
|
2516
2516
|
}(E, C, O, d);
|
|
2517
2517
|
};
|
|
2518
|
-
return w.displayName = c, (E = Be.forwardRef(w)).attrs =
|
|
2518
|
+
return w.displayName = c, (E = Be.forwardRef(w)).attrs = x, E.componentStyle = T, E.displayName = c, E.shouldForwardProp = y, E.foldedComponentIds = i ? Array.prototype.concat(r.foldedComponentIds, r.styledComponentId) : wr, E.styledComponentId = p, E.target = i ? r.target : r, E.withComponent = function(C) {
|
|
2519
2519
|
var O = e.componentId, _ = function(W, H) {
|
|
2520
2520
|
if (W == null)
|
|
2521
2521
|
return {};
|
|
@@ -2524,7 +2524,7 @@ function fn(r, e, t) {
|
|
|
2524
2524
|
k = U[B], H.indexOf(k) >= 0 || (oe[k] = W[k]);
|
|
2525
2525
|
return oe;
|
|
2526
2526
|
}(e, ["componentId"]), g = O && O + "-" + (mr(C) ? C : Lr(qr(C)));
|
|
2527
|
-
return fn(C, pt({}, _, { attrs:
|
|
2527
|
+
return fn(C, pt({}, _, { attrs: x, componentId: g }), t);
|
|
2528
2528
|
}, Object.defineProperty(E, "defaultProps", { get: function() {
|
|
2529
2529
|
return this._foldedDefaultProps;
|
|
2530
2530
|
}, set: function(C) {
|
|
@@ -2690,19 +2690,19 @@ const Ct = ti, os = Ct.div`
|
|
|
2690
2690
|
s(a === "switch" ? (l) => l === "none" ? "flex" : "none" : a);
|
|
2691
2691
|
}
|
|
2692
2692
|
}));
|
|
2693
|
-
const [n, s] =
|
|
2694
|
-
return /* @__PURE__ */ b(Be.Fragment, { children: /* @__PURE__ */
|
|
2695
|
-
/* @__PURE__ */
|
|
2696
|
-
/* @__PURE__ */
|
|
2693
|
+
const [n, s] = Te("none");
|
|
2694
|
+
return /* @__PURE__ */ b(Be.Fragment, { children: /* @__PURE__ */ te(os, { display: n, id: "desktop--tablet--container", children: [
|
|
2695
|
+
/* @__PURE__ */ te(ss, { children: [
|
|
2696
|
+
/* @__PURE__ */ te("h1", { children: [
|
|
2697
2697
|
"NDMVR",
|
|
2698
2698
|
/* @__PURE__ */ b("span", { children: /* @__PURE__ */ b("i", { children: "tablet" }) })
|
|
2699
2699
|
] }),
|
|
2700
2700
|
/* @__PURE__ */ b("p", { children: "Tools" }),
|
|
2701
|
-
/* @__PURE__ */ b(ds, { children: e.map((a, l) => l === r ? /* @__PURE__ */
|
|
2701
|
+
/* @__PURE__ */ b(ds, { children: e.map((a, l) => l === r ? /* @__PURE__ */ te(cs, { children: [
|
|
2702
2702
|
/* @__PURE__ */ b("span", { style: { fontWeight: 700, color: "#0f52ba" }, children: l < 10 ? (l + 1) % 10 : ">" }),
|
|
2703
2703
|
" ",
|
|
2704
2704
|
a.name.length > 15 ? a.name.slice(0, 12) + "..." : a.name
|
|
2705
|
-
] }, l) : /* @__PURE__ */
|
|
2705
|
+
] }, l) : /* @__PURE__ */ te(
|
|
2706
2706
|
us,
|
|
2707
2707
|
{
|
|
2708
2708
|
onClick: () => t(l),
|
|
@@ -2715,8 +2715,8 @@ const Ct = ti, os = Ct.div`
|
|
|
2715
2715
|
l
|
|
2716
2716
|
)) })
|
|
2717
2717
|
] }),
|
|
2718
|
-
/* @__PURE__ */
|
|
2719
|
-
/* @__PURE__ */
|
|
2718
|
+
/* @__PURE__ */ te("div", { style: { width: 100 + "%", overflow: "scroll" }, children: [
|
|
2719
|
+
/* @__PURE__ */ te(as, { id: "desktop--tablet--container--header", children: [
|
|
2720
2720
|
/* @__PURE__ */ b("h1", { children: e[r].name }),
|
|
2721
2721
|
/* @__PURE__ */ b(
|
|
2722
2722
|
ls,
|
|
@@ -2750,40 +2750,40 @@ const Ct = ti, os = Ct.div`
|
|
|
2750
2750
|
}), fs = window.AFRAME, we = new wt();
|
|
2751
2751
|
let ri, Wi;
|
|
2752
2752
|
function pn() {
|
|
2753
|
-
const r = en(), [e, t] =
|
|
2753
|
+
const r = en(), [e, t] = Te(0), [i, n] = Te(null), [s, a] = Te(null), [l, u] = Te(null), [h, c] = Te(null);
|
|
2754
2754
|
ri = e;
|
|
2755
|
-
const [p,
|
|
2755
|
+
const [p, x] = Te({
|
|
2756
2756
|
xPos: 0,
|
|
2757
2757
|
yPos: 0,
|
|
2758
2758
|
zPos: 0,
|
|
2759
2759
|
absoluteContent: 0
|
|
2760
|
-
}), [
|
|
2760
|
+
}), [y, E] = Te(1), [T] = Te(
|
|
2761
2761
|
fs.utils.device.checkHeadsetConnected() ? "oculus" : "desktop"
|
|
2762
|
-
), d =
|
|
2763
|
-
|
|
2764
|
-
const
|
|
2765
|
-
W(
|
|
2766
|
-
}, [d]),
|
|
2767
|
-
const
|
|
2768
|
-
k(
|
|
2769
|
-
}, [d]),
|
|
2770
|
-
const
|
|
2771
|
-
oe(
|
|
2772
|
-
}, [d]),
|
|
2773
|
-
const
|
|
2774
|
-
I(
|
|
2775
|
-
}, [d]),
|
|
2776
|
-
}, [e]),
|
|
2762
|
+
), d = Ve(Rt), { source: w, theme: C, range: O, scene: _ } = d.stores, [g, W] = Te([]), [H, k] = Te([]), [B, oe] = Te([]), [U, I] = Te([]);
|
|
2763
|
+
fe(() => {
|
|
2764
|
+
const v = w != null && w.getOptions().length ? w == null ? void 0 : w.getOptions() : [];
|
|
2765
|
+
W(v);
|
|
2766
|
+
}, [d]), fe(() => {
|
|
2767
|
+
const v = C != null && C.getOptions().length ? C == null ? void 0 : C.getOptions() : [];
|
|
2768
|
+
k(v);
|
|
2769
|
+
}, [d]), fe(() => {
|
|
2770
|
+
const v = O != null && O.getOptions().length ? O == null ? void 0 : O.getOptions() : [];
|
|
2771
|
+
oe(v);
|
|
2772
|
+
}, [d]), fe(() => {
|
|
2773
|
+
const v = _ != null && _.getOptions().length ? _ == null ? void 0 : _.getOptions() : [];
|
|
2774
|
+
I(v);
|
|
2775
|
+
}, [d]), fe(() => (Wi = we.subscribe(V), () => Wi.unsubscribe()), [g, H, B, U]), fe(() => {
|
|
2776
|
+
}, [e]), fe(() => {
|
|
2777
2777
|
w && i && w.executeFunction(0, i);
|
|
2778
|
-
}, [i]),
|
|
2778
|
+
}, [i]), fe(() => {
|
|
2779
2779
|
C && s && C.executeFunction(0, s);
|
|
2780
|
-
}, [s]),
|
|
2780
|
+
}, [s]), fe(() => {
|
|
2781
2781
|
O && l && O.executeFunction(0, l);
|
|
2782
|
-
}, [l]),
|
|
2782
|
+
}, [l]), fe(() => {
|
|
2783
2783
|
_ && h && _.executeFunction(0, h);
|
|
2784
2784
|
}, [h]);
|
|
2785
|
-
const V = (
|
|
2786
|
-
typeof
|
|
2785
|
+
const V = (v) => {
|
|
2786
|
+
typeof v == "number" ? v + 1 <= N.length && (t(v), ri = e) : v.changeTabletState ? r.current.changeTabletDisplayHandler("switch") : v.binData ? p !== v.binData && x(v.binData) : v.tool ? (v.tool === "next" && t((m) => m === N.length - 1 ? 0 : m + 1), v.tool === "prev" && t((m) => m === 0 ? N.length - 1 : m - 1)) : v.source ? (v.source === "next" && n((m) => g.indexOf(m) === g.length - 1 ? g[0] : g[g.indexOf(m) + 1]), v.source === "prev" && n((m) => g.indexOf(m) === 0 ? g[g.length - 1] : g[g.indexOf(m) - 1])) : v.scale ? X(v.scale) : v.theme ? (v.theme === "next" && a((m) => H.indexOf(m) === H.length - 1 ? H[0] : H[H.indexOf(m) + 1]), v.theme === "prev" && a((m) => H.indexOf(m) === 0 ? H[H.length - 1] : H[H.indexOf(m) - 1])) : v.range ? (v.range === "next" && u((m) => B.indexOf(m) === B.length - 1 ? B[0] : B[B.indexOf(m) + 1]), v.range === "prev" && u((m) => B.indexOf(m) === 0 ? B[B.length - 1] : B[B.indexOf(m) - 1])) : v.scene && (v.scene === "next" && c((m) => U.indexOf(m) === U.length - 1 ? U[0] : U[U.indexOf(m) + 1]), v.scene === "prev" && c((m) => U.indexOf(m) === 0 ? U[U.length - 1] : U[U.indexOf(m) - 1]));
|
|
2787
2787
|
}, J = () => {
|
|
2788
2788
|
switch (e) {
|
|
2789
2789
|
case 0:
|
|
@@ -2831,7 +2831,7 @@ the left controller.`,
|
|
|
2831
2831
|
}
|
|
2832
2832
|
);
|
|
2833
2833
|
case 3:
|
|
2834
|
-
return /* @__PURE__ */
|
|
2834
|
+
return /* @__PURE__ */ te("a-entity", { rotation: "-60 0 0", children: [
|
|
2835
2835
|
/* @__PURE__ */ b(
|
|
2836
2836
|
"a-text",
|
|
2837
2837
|
{
|
|
@@ -2843,20 +2843,20 @@ the left controller.`,
|
|
|
2843
2843
|
"wrap-count": "450"
|
|
2844
2844
|
}
|
|
2845
2845
|
),
|
|
2846
|
-
g.map((
|
|
2846
|
+
g.map((S) => /* @__PURE__ */ b(
|
|
2847
2847
|
"a-text",
|
|
2848
2848
|
{
|
|
2849
|
-
value:
|
|
2850
|
-
color:
|
|
2849
|
+
value: S,
|
|
2850
|
+
color: S === i ? "white" : "#A6ACAF",
|
|
2851
2851
|
rotation: "0 0 0",
|
|
2852
|
-
position: "0.1 " + -0.025 * g.indexOf(
|
|
2853
|
-
"wrap-count":
|
|
2852
|
+
position: "0.1 " + -0.025 * g.indexOf(S) + " 0",
|
|
2853
|
+
"wrap-count": S === i ? "360" : "450"
|
|
2854
2854
|
},
|
|
2855
|
-
|
|
2855
|
+
S
|
|
2856
2856
|
))
|
|
2857
2857
|
] });
|
|
2858
2858
|
case 4:
|
|
2859
|
-
return /* @__PURE__ */
|
|
2859
|
+
return /* @__PURE__ */ te("a-entity", { rotation: "-60 0 0", children: [
|
|
2860
2860
|
/* @__PURE__ */ b(
|
|
2861
2861
|
"a-text",
|
|
2862
2862
|
{
|
|
@@ -2868,20 +2868,20 @@ the left controller.`,
|
|
|
2868
2868
|
"wrap-count": "450"
|
|
2869
2869
|
}
|
|
2870
2870
|
),
|
|
2871
|
-
H.map((
|
|
2871
|
+
H.map((S) => /* @__PURE__ */ b(
|
|
2872
2872
|
"a-text",
|
|
2873
2873
|
{
|
|
2874
|
-
value:
|
|
2875
|
-
color:
|
|
2874
|
+
value: S,
|
|
2875
|
+
color: S === s ? "white" : "#A6ACAF",
|
|
2876
2876
|
rotation: "0 0 0",
|
|
2877
|
-
position: "0.1 " + -0.025 * H.indexOf(
|
|
2878
|
-
"wrap-count":
|
|
2877
|
+
position: "0.1 " + -0.025 * H.indexOf(S) + " 0",
|
|
2878
|
+
"wrap-count": S === s ? "360" : "450"
|
|
2879
2879
|
},
|
|
2880
|
-
|
|
2880
|
+
S
|
|
2881
2881
|
))
|
|
2882
2882
|
] });
|
|
2883
2883
|
case 5:
|
|
2884
|
-
return /* @__PURE__ */
|
|
2884
|
+
return /* @__PURE__ */ te("a-entity", { rotation: "-60 0 0", children: [
|
|
2885
2885
|
/* @__PURE__ */ b(
|
|
2886
2886
|
"a-text",
|
|
2887
2887
|
{
|
|
@@ -2893,35 +2893,35 @@ the left controller.`,
|
|
|
2893
2893
|
"wrap-count": "450"
|
|
2894
2894
|
}
|
|
2895
2895
|
),
|
|
2896
|
-
B.map((
|
|
2896
|
+
B.map((S) => /* @__PURE__ */ b(
|
|
2897
2897
|
"a-text",
|
|
2898
2898
|
{
|
|
2899
|
-
value:
|
|
2900
|
-
color:
|
|
2899
|
+
value: S,
|
|
2900
|
+
color: S === l ? "white" : "#A6ACAF",
|
|
2901
2901
|
rotation: "0 0 0",
|
|
2902
|
-
position: "0.1 " + -0.025 * B.indexOf(
|
|
2903
|
-
"wrap-count":
|
|
2902
|
+
position: "0.1 " + -0.025 * B.indexOf(S) + " 0",
|
|
2903
|
+
"wrap-count": S === l ? "360" : "450"
|
|
2904
2904
|
},
|
|
2905
|
-
|
|
2905
|
+
S
|
|
2906
2906
|
))
|
|
2907
2907
|
] });
|
|
2908
2908
|
case 6:
|
|
2909
|
-
const
|
|
2910
|
-
for (let
|
|
2911
|
-
const se =
|
|
2909
|
+
const v = 15, m = Math.ceil(U.length / v), G = [];
|
|
2910
|
+
for (let S = 0; S < m; S++) {
|
|
2911
|
+
const se = S * v, Q = se + v, re = U.slice(se, Q), A = /* @__PURE__ */ b("a-entity", { position: `${S * 0.3} 0 0`, children: re.map((ne) => /* @__PURE__ */ b(
|
|
2912
2912
|
"a-text",
|
|
2913
2913
|
{
|
|
2914
2914
|
value: ne,
|
|
2915
2915
|
color: ne === h ? "white" : "#A6ACAF",
|
|
2916
2916
|
rotation: "0 0 0",
|
|
2917
|
-
position: `0.1 ${-0.025 *
|
|
2917
|
+
position: `0.1 ${-0.025 * re.indexOf(ne)} 0`,
|
|
2918
2918
|
"wrap-count": ne === h ? "360" : "450"
|
|
2919
2919
|
},
|
|
2920
2920
|
ne
|
|
2921
|
-
)) }, `column-${
|
|
2921
|
+
)) }, `column-${S}`);
|
|
2922
2922
|
G.push(A);
|
|
2923
2923
|
}
|
|
2924
|
-
return /* @__PURE__ */
|
|
2924
|
+
return /* @__PURE__ */ te("a-entity", { rotation: "-60 0 0", children: [
|
|
2925
2925
|
/* @__PURE__ */ b(
|
|
2926
2926
|
"a-text",
|
|
2927
2927
|
{
|
|
@@ -2946,26 +2946,26 @@ the left controller.`,
|
|
|
2946
2946
|
);
|
|
2947
2947
|
}
|
|
2948
2948
|
};
|
|
2949
|
-
function X(
|
|
2949
|
+
function X(v) {
|
|
2950
2950
|
E((m) => {
|
|
2951
|
-
let G,
|
|
2952
|
-
return
|
|
2951
|
+
let G, S = 0;
|
|
2952
|
+
return v < 0 ? (m - 0.01).toFixed(2) >= 0.01 && ((m - 0.01).toFixed(2) > 0.7 ? S = -0.1 : (m - 0.01).toFixed(2) > 0.1 ? S = -0.01 : S = -1e-3) : (m + 0.01).toFixed(2) > 0.7 ? S = 0.1 : (m - 0.01).toFixed(2) > 0.1 ? S = 0.01 : S = 1e-3, G = m + S, _e.changeHistogramScale(S, "TH2"), st.changeHistogramScale(S, "TH1"), G;
|
|
2953
2953
|
});
|
|
2954
2954
|
}
|
|
2955
2955
|
const N = [
|
|
2956
2956
|
{ fun: de(), name: "Bin Info" },
|
|
2957
2957
|
{ fun: ue(), name: "Scale Z axis" },
|
|
2958
2958
|
{ fun: Ce(), name: "Change Data" },
|
|
2959
|
-
{ fun:
|
|
2959
|
+
{ fun: Ae(), name: "Change Theme" },
|
|
2960
2960
|
{ fun: Ie(), name: "Change Range" },
|
|
2961
2961
|
{ fun: $(), name: "Change Scene" },
|
|
2962
2962
|
{ fun: null, name: "Tool with a longer name" }
|
|
2963
2963
|
];
|
|
2964
2964
|
function de() {
|
|
2965
2965
|
if (T === "desktop")
|
|
2966
|
-
return /* @__PURE__ */ b(Be.Fragment, { children: /* @__PURE__ */ b("table", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
2967
|
-
/* @__PURE__ */
|
|
2968
|
-
/* @__PURE__ */
|
|
2966
|
+
return /* @__PURE__ */ b(Be.Fragment, { children: /* @__PURE__ */ b("table", { style: { width: "100%" }, children: /* @__PURE__ */ te("tbody", { children: [
|
|
2967
|
+
/* @__PURE__ */ te("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2968
|
+
/* @__PURE__ */ te(
|
|
2969
2969
|
"td",
|
|
2970
2970
|
{
|
|
2971
2971
|
style: {
|
|
@@ -2982,8 +2982,8 @@ the left controller.`,
|
|
|
2982
2982
|
),
|
|
2983
2983
|
/* @__PURE__ */ b("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: p.absoluteContent })
|
|
2984
2984
|
] }),
|
|
2985
|
-
/* @__PURE__ */
|
|
2986
|
-
/* @__PURE__ */
|
|
2985
|
+
/* @__PURE__ */ te("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2986
|
+
/* @__PURE__ */ te(
|
|
2987
2987
|
"td",
|
|
2988
2988
|
{
|
|
2989
2989
|
style: {
|
|
@@ -3000,8 +3000,8 @@ the left controller.`,
|
|
|
3000
3000
|
),
|
|
3001
3001
|
/* @__PURE__ */ b("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: p.xPos })
|
|
3002
3002
|
] }),
|
|
3003
|
-
/* @__PURE__ */
|
|
3004
|
-
/* @__PURE__ */
|
|
3003
|
+
/* @__PURE__ */ te("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
3004
|
+
/* @__PURE__ */ te(
|
|
3005
3005
|
"td",
|
|
3006
3006
|
{
|
|
3007
3007
|
style: {
|
|
@@ -3018,8 +3018,8 @@ the left controller.`,
|
|
|
3018
3018
|
),
|
|
3019
3019
|
/* @__PURE__ */ b("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: p.yPos })
|
|
3020
3020
|
] }),
|
|
3021
|
-
/* @__PURE__ */
|
|
3022
|
-
/* @__PURE__ */
|
|
3021
|
+
/* @__PURE__ */ te("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
3022
|
+
/* @__PURE__ */ te(
|
|
3023
3023
|
"td",
|
|
3024
3024
|
{
|
|
3025
3025
|
style: {
|
|
@@ -3039,8 +3039,8 @@ the left controller.`,
|
|
|
3039
3039
|
] }) }) });
|
|
3040
3040
|
}
|
|
3041
3041
|
function ue() {
|
|
3042
|
-
let
|
|
3043
|
-
return (
|
|
3042
|
+
let v = 0.01, m = 2;
|
|
3043
|
+
return (y - 0.01).toFixed(2) > 0.1 && (v = 0.1, m = 1), /* @__PURE__ */ b(Be.Fragment, { children: /* @__PURE__ */ te(
|
|
3044
3044
|
"div",
|
|
3045
3045
|
{
|
|
3046
3046
|
style: {
|
|
@@ -3053,17 +3053,17 @@ the left controller.`,
|
|
|
3053
3053
|
Xi,
|
|
3054
3054
|
{
|
|
3055
3055
|
onClick: () => {
|
|
3056
|
-
(
|
|
3056
|
+
(y + 0.01).toFixed(2) > 0.1 && (v = 0.1, m = 1), E(y + v), _e.changeHistogramScale(v, "TH2"), st.changeHistogramScale(v, "TH1");
|
|
3057
3057
|
},
|
|
3058
3058
|
children: "+"
|
|
3059
3059
|
}
|
|
3060
3060
|
),
|
|
3061
|
-
/* @__PURE__ */ b("h1", { style: { fontSize: "5em", fontWeight: "bold" }, children:
|
|
3061
|
+
/* @__PURE__ */ b("h1", { style: { fontSize: "5em", fontWeight: "bold" }, children: y.toFixed(m) }),
|
|
3062
3062
|
/* @__PURE__ */ b(
|
|
3063
3063
|
Xi,
|
|
3064
3064
|
{
|
|
3065
3065
|
onClick: () => {
|
|
3066
|
-
(
|
|
3066
|
+
(y - 0.01).toFixed(2) >= 0.01 && (E(y - v), _e.changeHistogramScale(-v, "TH2"), st.changeHistogramScale(-v, "TH1"));
|
|
3067
3067
|
},
|
|
3068
3068
|
children: "-"
|
|
3069
3069
|
}
|
|
@@ -3073,7 +3073,7 @@ the left controller.`,
|
|
|
3073
3073
|
) });
|
|
3074
3074
|
}
|
|
3075
3075
|
function Ce() {
|
|
3076
|
-
return /* @__PURE__ */ b("div", { style: { display: "flex", flexDirection: "column" }, children: g.map((
|
|
3076
|
+
return /* @__PURE__ */ b("div", { style: { display: "flex", flexDirection: "column" }, children: g.map((v) => v === i ? /* @__PURE__ */ b(
|
|
3077
3077
|
"a",
|
|
3078
3078
|
{
|
|
3079
3079
|
style: {
|
|
@@ -3082,14 +3082,14 @@ the left controller.`,
|
|
|
3082
3082
|
fontWeight: "600",
|
|
3083
3083
|
color: "black"
|
|
3084
3084
|
},
|
|
3085
|
-
onClick: () => n(
|
|
3086
|
-
children:
|
|
3085
|
+
onClick: () => n(v),
|
|
3086
|
+
children: v
|
|
3087
3087
|
},
|
|
3088
|
-
|
|
3089
|
-
) : /* @__PURE__ */ b("a", { onClick: () => n(
|
|
3088
|
+
v
|
|
3089
|
+
) : /* @__PURE__ */ b("a", { onClick: () => n(v), children: v }, v)) });
|
|
3090
3090
|
}
|
|
3091
|
-
function
|
|
3092
|
-
return /* @__PURE__ */ b("div", { style: { display: "flex", flexDirection: "column" }, children: H.map((
|
|
3091
|
+
function Ae() {
|
|
3092
|
+
return /* @__PURE__ */ b("div", { style: { display: "flex", flexDirection: "column" }, children: H.map((v) => v === s ? /* @__PURE__ */ b(
|
|
3093
3093
|
"a",
|
|
3094
3094
|
{
|
|
3095
3095
|
style: {
|
|
@@ -3098,14 +3098,14 @@ the left controller.`,
|
|
|
3098
3098
|
fontWeight: "600",
|
|
3099
3099
|
color: "black"
|
|
3100
3100
|
},
|
|
3101
|
-
onClick: () => a(
|
|
3102
|
-
children:
|
|
3101
|
+
onClick: () => a(v),
|
|
3102
|
+
children: v
|
|
3103
3103
|
},
|
|
3104
|
-
|
|
3105
|
-
) : /* @__PURE__ */ b("a", { onClick: () => a(
|
|
3104
|
+
v
|
|
3105
|
+
) : /* @__PURE__ */ b("a", { onClick: () => a(v), children: v }, v)) });
|
|
3106
3106
|
}
|
|
3107
3107
|
function Ie() {
|
|
3108
|
-
return /* @__PURE__ */ b("div", { style: { display: "flex", flexDirection: "column", marginTop: "7.5rem" }, children: B.map((
|
|
3108
|
+
return /* @__PURE__ */ b("div", { style: { display: "flex", flexDirection: "column", marginTop: "7.5rem" }, children: B.map((v) => v === l ? /* @__PURE__ */ b(
|
|
3109
3109
|
"a",
|
|
3110
3110
|
{
|
|
3111
3111
|
style: {
|
|
@@ -3114,14 +3114,14 @@ the left controller.`,
|
|
|
3114
3114
|
fontWeight: "600",
|
|
3115
3115
|
color: "black"
|
|
3116
3116
|
},
|
|
3117
|
-
onClick: () => u(
|
|
3118
|
-
children:
|
|
3117
|
+
onClick: () => u(v),
|
|
3118
|
+
children: v
|
|
3119
3119
|
},
|
|
3120
|
-
|
|
3121
|
-
) : /* @__PURE__ */ b("a", { onClick: () => u(
|
|
3120
|
+
v
|
|
3121
|
+
) : /* @__PURE__ */ b("a", { onClick: () => u(v), children: v }, v)) });
|
|
3122
3122
|
}
|
|
3123
3123
|
function $() {
|
|
3124
|
-
return /* @__PURE__ */ b("div", { style: { display: "flex", flexDirection: "column", marginTop: "16.5rem" }, children: U.map((
|
|
3124
|
+
return /* @__PURE__ */ b("div", { style: { display: "flex", flexDirection: "column", marginTop: "16.5rem" }, children: U.map((v) => v === h ? /* @__PURE__ */ b(
|
|
3125
3125
|
"a",
|
|
3126
3126
|
{
|
|
3127
3127
|
style: {
|
|
@@ -3130,28 +3130,28 @@ the left controller.`,
|
|
|
3130
3130
|
fontWeight: "600",
|
|
3131
3131
|
color: "black"
|
|
3132
3132
|
},
|
|
3133
|
-
onClick: () => c(
|
|
3134
|
-
children:
|
|
3133
|
+
onClick: () => c(v),
|
|
3134
|
+
children: v
|
|
3135
3135
|
},
|
|
3136
|
-
|
|
3137
|
-
) : /* @__PURE__ */ b("a", { onClick: () => c(
|
|
3136
|
+
v
|
|
3137
|
+
) : /* @__PURE__ */ b("a", { onClick: () => c(v), children: v }, v)) });
|
|
3138
3138
|
}
|
|
3139
3139
|
document.getElementById("desktop--tablet--container") && R(document.getElementById("desktop--tablet--container"));
|
|
3140
|
-
function R(
|
|
3141
|
-
let m = 0, G = 0,
|
|
3142
|
-
document.getElementById(
|
|
3140
|
+
function R(v) {
|
|
3141
|
+
let m = 0, G = 0, S = 0, se = 0;
|
|
3142
|
+
document.getElementById(v.id + "--header") ? document.getElementById(v.id + "--header").onmousedown = Q : v.onmousedown = Q;
|
|
3143
3143
|
function Q(ne) {
|
|
3144
|
-
ne.preventDefault(),
|
|
3144
|
+
ne.preventDefault(), S = ne.clientX, se = ne.clientY, document.onmouseup = A, document.onmousemove = re;
|
|
3145
3145
|
}
|
|
3146
|
-
function
|
|
3147
|
-
ne.preventDefault(), m =
|
|
3146
|
+
function re(ne) {
|
|
3147
|
+
ne.preventDefault(), m = S - ne.clientX, G = se - ne.clientY, S = ne.clientX, se = ne.clientY, v.style.top = v.offsetTop - G + "px", v.style.left = v.offsetLeft - m + "px";
|
|
3148
3148
|
}
|
|
3149
3149
|
function A() {
|
|
3150
3150
|
document.onmouseup = null, document.onmousemove = null;
|
|
3151
3151
|
}
|
|
3152
3152
|
}
|
|
3153
|
-
const M = (
|
|
3154
|
-
t(
|
|
3153
|
+
const M = (v) => {
|
|
3154
|
+
t(v);
|
|
3155
3155
|
};
|
|
3156
3156
|
return T === "desktop" ? /* @__PURE__ */ b(
|
|
3157
3157
|
hs,
|
|
@@ -3165,23 +3165,23 @@ the left controller.`,
|
|
|
3165
3165
|
}
|
|
3166
3166
|
const At = () => ri, Ui = window.AFRAME, ps = () => {
|
|
3167
3167
|
let r;
|
|
3168
|
-
const { projPanelIds: t } =
|
|
3168
|
+
const { projPanelIds: t } = Ve(Rt).data, [i, n] = Te(0), [s, a] = Te(null), [l, u] = Te(
|
|
3169
3169
|
Ui.utils.device.checkHeadsetConnected() ? "oculus" : "keyboard"
|
|
3170
|
-
), [h, c] =
|
|
3171
|
-
k.device ? (l !== k.device && u(k.device), c(!h)) : k === "shift" ? w() : k === "show" &&
|
|
3170
|
+
), [h, c] = Te(!1), [p, x] = Te(!1), [y, E] = Te(!0), T = (k) => {
|
|
3171
|
+
k.device ? (l !== k.device && u(k.device), c(!h)) : k === "shift" ? w() : k === "show" && x(!p);
|
|
3172
3172
|
}, d = (k) => {
|
|
3173
3173
|
k.changeTabletState && E(!1);
|
|
3174
3174
|
}, w = () => {
|
|
3175
3175
|
let k = i + 90;
|
|
3176
3176
|
k >= 360 && (k = 0), n(k);
|
|
3177
|
-
}, C = (k) => t[k] ? t[k] : `panel_${k}`, O = () => /* @__PURE__ */
|
|
3177
|
+
}, C = (k) => t[k] ? t[k] : `panel_${k}`, O = () => /* @__PURE__ */ te(
|
|
3178
3178
|
"a-entity",
|
|
3179
3179
|
{
|
|
3180
3180
|
position: s === null ? `0 ${30} 0` : `${s.x} ${30} ${s.z}`,
|
|
3181
3181
|
animation__rotation: `property: rotation; to: 0 ${i} 0; dur: 1000; easing: linear;`,
|
|
3182
3182
|
material: "color: white",
|
|
3183
3183
|
children: [
|
|
3184
|
-
/* @__PURE__ */
|
|
3184
|
+
/* @__PURE__ */ te(
|
|
3185
3185
|
"a-entity",
|
|
3186
3186
|
{
|
|
3187
3187
|
geometry: "primitive: box; width: 50; height: 10; depth: 0.1;",
|
|
@@ -3293,14 +3293,14 @@ const At = () => ri, Ui = window.AFRAME, ps = () => {
|
|
|
3293
3293
|
)
|
|
3294
3294
|
]
|
|
3295
3295
|
}
|
|
3296
|
-
), _ = () => l === "keyboard" ? /* @__PURE__ */
|
|
3296
|
+
), _ = () => l === "keyboard" ? /* @__PURE__ */ te(
|
|
3297
3297
|
"a-entity",
|
|
3298
3298
|
{
|
|
3299
3299
|
position: s === null ? `0 ${30} 0` : `${s.x} ${30} ${s.z}`,
|
|
3300
3300
|
animation__rotation: `property: rotation; to: 0 ${i} 0; dur: 1000; easing: linear;`,
|
|
3301
3301
|
material: "color: white",
|
|
3302
3302
|
children: [
|
|
3303
|
-
/* @__PURE__ */
|
|
3303
|
+
/* @__PURE__ */ te(
|
|
3304
3304
|
"a-entity",
|
|
3305
3305
|
{
|
|
3306
3306
|
geometry: "primitive: box; width: 50; height: 10; depth: 0.1;",
|
|
@@ -3376,13 +3376,13 @@ const At = () => ri, Ui = window.AFRAME, ps = () => {
|
|
|
3376
3376
|
)
|
|
3377
3377
|
]
|
|
3378
3378
|
}
|
|
3379
|
-
) : /* @__PURE__ */
|
|
3379
|
+
) : /* @__PURE__ */ te(
|
|
3380
3380
|
"a-entity",
|
|
3381
3381
|
{
|
|
3382
3382
|
position: s === null ? `0 ${30} 0` : `${s.x} ${30} ${s.z}`,
|
|
3383
3383
|
animation__rotation: `property: rotation; to: 0 ${i} 0; dur: 1000; easing: linear;`,
|
|
3384
3384
|
children: [
|
|
3385
|
-
/* @__PURE__ */
|
|
3385
|
+
/* @__PURE__ */ te(
|
|
3386
3386
|
"a-entity",
|
|
3387
3387
|
{
|
|
3388
3388
|
geometry: "primitive: box; width: 50; height: 10; depth: 0.1;",
|
|
@@ -3465,7 +3465,7 @@ const At = () => ri, Ui = window.AFRAME, ps = () => {
|
|
|
3465
3465
|
const k = document.getElementById(C(0));
|
|
3466
3466
|
k && k.setAttribute("material", "opacity", 1);
|
|
3467
3467
|
};
|
|
3468
|
-
|
|
3468
|
+
fe(() => (r = we.subscribe(d), () => r.unsubscribe()), []), fe(() => (r = Ot.getCameraSubject().subscribe(T), () => r.unsubscribe()), [h, p, i]), fe(() => {
|
|
3469
3469
|
const k = document.getElementById("camera");
|
|
3470
3470
|
h ? (a({
|
|
3471
3471
|
x: k.object3D.position.x,
|
|
@@ -3473,7 +3473,7 @@ const At = () => ri, Ui = window.AFRAME, ps = () => {
|
|
|
3473
3473
|
z: k.object3D.position.z
|
|
3474
3474
|
}), k.object3D.position.y = k.object3D.position.y + 30, g()) : (k.object3D.position.y = 1.6, s !== null && (k.object3D.position.x = s.x, k.object3D.position.z = s.z, k.object3D.position.y = s.y), W());
|
|
3475
3475
|
}, [h, l]);
|
|
3476
|
-
const H = () => /* @__PURE__ */
|
|
3476
|
+
const H = () => /* @__PURE__ */ te(Be.Fragment, { children: [
|
|
3477
3477
|
/* @__PURE__ */ b(
|
|
3478
3478
|
"a-entity",
|
|
3479
3479
|
{
|
|
@@ -3492,17 +3492,17 @@ const At = () => ri, Ui = window.AFRAME, ps = () => {
|
|
|
3492
3492
|
}
|
|
3493
3493
|
)
|
|
3494
3494
|
] });
|
|
3495
|
-
return /* @__PURE__ */
|
|
3495
|
+
return /* @__PURE__ */ te("a-entity", { id: "cameraWrapper", rotation: "0 -225 0", position: "7 2 -7", children: [
|
|
3496
3496
|
h && !p && _(),
|
|
3497
3497
|
h && p && O(),
|
|
3498
|
-
/* @__PURE__ */
|
|
3498
|
+
/* @__PURE__ */ te(
|
|
3499
3499
|
"a-camera",
|
|
3500
3500
|
{
|
|
3501
3501
|
id: "camera",
|
|
3502
3502
|
"look-control": !0,
|
|
3503
3503
|
"wasd-controls-enabled": "acceleration:=50",
|
|
3504
3504
|
children: [
|
|
3505
|
-
|
|
3505
|
+
y && l === "keyboard" && /* @__PURE__ */ b(
|
|
3506
3506
|
"a-entity",
|
|
3507
3507
|
{
|
|
3508
3508
|
text: "value: Press T to open NDMVR Tablet;color:black;",
|
|
@@ -3530,10 +3530,10 @@ const At = () => ri, Ui = window.AFRAME, ps = () => {
|
|
|
3530
3530
|
l === "oculus" && H()
|
|
3531
3531
|
] });
|
|
3532
3532
|
};
|
|
3533
|
-
var
|
|
3533
|
+
var We, kr, et, Pr;
|
|
3534
3534
|
class ui {
|
|
3535
3535
|
constructor() {
|
|
3536
|
-
F(this,
|
|
3536
|
+
F(this, We, void 0);
|
|
3537
3537
|
F(this, kr, void 0);
|
|
3538
3538
|
F(this, et, []);
|
|
3539
3539
|
F(this, Pr, (e) => o(this, et).filter((t) => t.id !== e.id));
|
|
@@ -3541,29 +3541,29 @@ class ui {
|
|
|
3541
3541
|
(i) => i.id === e.id
|
|
3542
3542
|
).length !== 0);
|
|
3543
3543
|
Re(this, "storeBinToLocalStorage", (e) => {
|
|
3544
|
-
this.containThisBin(e) || (o(this, et).push(e), o(this,
|
|
3544
|
+
this.containThisBin(e) || (o(this, et).push(e), o(this, We).setItem("selectedBins", JSON.stringify(o(this, et))));
|
|
3545
3545
|
});
|
|
3546
3546
|
Re(this, "deleteBinFromLocalStorage", (e) => {
|
|
3547
|
-
this.containThisBin(e) && (Y(this, et, o(this, Pr).call(this, e)), o(this,
|
|
3547
|
+
this.containThisBin(e) && (Y(this, et, o(this, Pr).call(this, e)), o(this, We).setItem("selectedBins", JSON.stringify(o(this, et))));
|
|
3548
3548
|
});
|
|
3549
3549
|
Re(this, "getBinsFromLocalStorage", () => {
|
|
3550
|
-
const e = JSON.parse(o(this,
|
|
3550
|
+
const e = JSON.parse(o(this, We).getItem("selectedBins"));
|
|
3551
3551
|
return e === null ? [] : e;
|
|
3552
3552
|
});
|
|
3553
|
-
Y(this,
|
|
3553
|
+
Y(this, We, window.localStorage), Y(this, kr, document.getElementById("cameraWrapper")), Y(this, et, this.getBinsFromLocalStorage());
|
|
3554
3554
|
}
|
|
3555
3555
|
storeCurrentBinToLocalStorage(e) {
|
|
3556
|
-
o(this,
|
|
3556
|
+
o(this, We).setItem("currentBin", JSON.stringify(e));
|
|
3557
3557
|
}
|
|
3558
3558
|
getCurrentBinFromLocalStorage() {
|
|
3559
|
-
const e = JSON.parse(o(this,
|
|
3559
|
+
const e = JSON.parse(o(this, We).getItem("currentBin"));
|
|
3560
3560
|
return e === void 0 || e === "" ? null : e;
|
|
3561
3561
|
}
|
|
3562
3562
|
loadProperty(e) {
|
|
3563
|
-
return JSON.parse(o(this,
|
|
3563
|
+
return JSON.parse(o(this, We).getItem(e));
|
|
3564
3564
|
}
|
|
3565
3565
|
storeProperty(e, t) {
|
|
3566
|
-
o(this,
|
|
3566
|
+
o(this, We).setItem(e, JSON.stringify(t));
|
|
3567
3567
|
}
|
|
3568
3568
|
initHistogramData(e) {
|
|
3569
3569
|
e._typename.includes("TH3") ? this.storeTH3HistogramLimits(e) : e._typename.includes("TH2") && this.storeTH2HistogramLimits(e);
|
|
@@ -3607,10 +3607,10 @@ class ui {
|
|
|
3607
3607
|
) : (e.name.includes("TH2") || e.name.includes("th2")) && this.storeTH2Offsets(e.xOffset, e.yOffset, e.range);
|
|
3608
3608
|
}
|
|
3609
3609
|
storeFilePath(e) {
|
|
3610
|
-
o(this,
|
|
3610
|
+
o(this, We).setItem("rootFile", e);
|
|
3611
3611
|
}
|
|
3612
3612
|
loadFilePath() {
|
|
3613
|
-
const e = o(this,
|
|
3613
|
+
const e = o(this, We).getItem("rootFile");
|
|
3614
3614
|
return e ?? "defaultHistogram";
|
|
3615
3615
|
}
|
|
3616
3616
|
loadTH2Offsets() {
|
|
@@ -3628,7 +3628,7 @@ class ui {
|
|
|
3628
3628
|
return this.loadTH2Offsets();
|
|
3629
3629
|
}
|
|
3630
3630
|
}
|
|
3631
|
-
|
|
3631
|
+
We = new WeakMap(), kr = new WeakMap(), et = new WeakMap(), Pr = new WeakMap();
|
|
3632
3632
|
const mn = new ui();
|
|
3633
3633
|
var kt;
|
|
3634
3634
|
class ms {
|
|
@@ -3648,20 +3648,20 @@ class ms {
|
|
|
3648
3648
|
}
|
|
3649
3649
|
kt = new WeakMap();
|
|
3650
3650
|
const Er = new ms();
|
|
3651
|
-
var
|
|
3651
|
+
var It;
|
|
3652
3652
|
class gs {
|
|
3653
3653
|
constructor() {
|
|
3654
|
-
F(this,
|
|
3655
|
-
Y(this,
|
|
3654
|
+
F(this, It, void 0);
|
|
3655
|
+
Y(this, It, new wt());
|
|
3656
3656
|
}
|
|
3657
3657
|
showBinProjection(e) {
|
|
3658
|
-
o(this,
|
|
3658
|
+
o(this, It).next(e);
|
|
3659
3659
|
}
|
|
3660
3660
|
getServiceEvent() {
|
|
3661
|
-
return o(this,
|
|
3661
|
+
return o(this, It).asObservable();
|
|
3662
3662
|
}
|
|
3663
3663
|
}
|
|
3664
|
-
|
|
3664
|
+
It = new WeakMap();
|
|
3665
3665
|
const Zi = new gs();
|
|
3666
3666
|
var Pt;
|
|
3667
3667
|
class ys {
|
|
@@ -4463,20 +4463,20 @@ class vn {
|
|
|
4463
4463
|
return i;
|
|
4464
4464
|
}
|
|
4465
4465
|
}
|
|
4466
|
-
var Ee, lr, L, tt, Z, ae,
|
|
4466
|
+
var Ee, lr, L, tt, Z, ae, pe, j, je, Ue, rt, ht, yt, cr, me, Ne, it, nt, vt, ot, _t, Yt, ie, bt, ft, Bt, Ke, _r, Or, Rr, Ft, jt, Nt, Lt, Vt, Xt, br, Dr, zr, $r, xt, Wt, Ut;
|
|
4467
4467
|
class xs {
|
|
4468
4468
|
constructor(e, t, i, n, s, a, l, u) {
|
|
4469
|
-
F(this,
|
|
4469
|
+
F(this, Xt);
|
|
4470
4470
|
F(this, Ee, "");
|
|
4471
4471
|
F(this, lr, []);
|
|
4472
4472
|
F(this, L, null);
|
|
4473
4473
|
F(this, tt, "");
|
|
4474
4474
|
F(this, Z, null);
|
|
4475
4475
|
F(this, ae, 1);
|
|
4476
|
-
F(this,
|
|
4476
|
+
F(this, pe, 1);
|
|
4477
4477
|
F(this, j, 1);
|
|
4478
4478
|
F(this, je, 0);
|
|
4479
|
-
F(this,
|
|
4479
|
+
F(this, Ue, 0);
|
|
4480
4480
|
F(this, rt, 0);
|
|
4481
4481
|
F(this, ht, 1);
|
|
4482
4482
|
F(this, yt, 1);
|
|
@@ -4492,15 +4492,15 @@ class xs {
|
|
|
4492
4492
|
F(this, vt, 1);
|
|
4493
4493
|
F(this, ot, 1);
|
|
4494
4494
|
F(this, _t, 0);
|
|
4495
|
-
F(this,
|
|
4496
|
-
F(this,
|
|
4495
|
+
F(this, Yt, 2);
|
|
4496
|
+
F(this, ie, {
|
|
4497
4497
|
xOffset: 0,
|
|
4498
4498
|
yOffset: 0,
|
|
4499
4499
|
zOffset: 0
|
|
4500
4500
|
});
|
|
4501
4501
|
F(this, bt, []);
|
|
4502
4502
|
Re(this, "getXOffset", () => o(this, ae));
|
|
4503
|
-
Re(this, "getYOffset", () => o(this,
|
|
4503
|
+
Re(this, "getYOffset", () => o(this, pe));
|
|
4504
4504
|
Re(this, "getZOffset", () => o(this, j));
|
|
4505
4505
|
Re(this, "getContentScale", () => o(this, ot));
|
|
4506
4506
|
Re(this, "getRange", () => o(this, me));
|
|
@@ -4508,8 +4508,8 @@ class xs {
|
|
|
4508
4508
|
let i = e > t - o(this, me) ? t - o(this, me) : e;
|
|
4509
4509
|
return i < 1 && (i = 1), i;
|
|
4510
4510
|
});
|
|
4511
|
-
F(this,
|
|
4512
|
-
F(this, Ke, (e, t, i, n, s, a, l, u, h, c, p,
|
|
4511
|
+
F(this, Bt, (e) => o(this, lr).filter((i) => i.id === e).length !== 0);
|
|
4512
|
+
F(this, Ke, (e, t, i, n, s, a, l, u, h, c, p, x, y) => ({
|
|
4513
4513
|
key: e + o(this, Ee),
|
|
4514
4514
|
axis: t,
|
|
4515
4515
|
geometry: {
|
|
@@ -4518,7 +4518,7 @@ class xs {
|
|
|
4518
4518
|
height: c
|
|
4519
4519
|
},
|
|
4520
4520
|
text: {
|
|
4521
|
-
color:
|
|
4521
|
+
color: y,
|
|
4522
4522
|
width: 4,
|
|
4523
4523
|
height: "auto"
|
|
4524
4524
|
},
|
|
@@ -4532,12 +4532,12 @@ class xs {
|
|
|
4532
4532
|
z: u
|
|
4533
4533
|
},
|
|
4534
4534
|
material: {
|
|
4535
|
-
color:
|
|
4535
|
+
color: x
|
|
4536
4536
|
},
|
|
4537
4537
|
animation: {
|
|
4538
|
-
fromX: i - o(this,
|
|
4539
|
-
fromY: n + o(this,
|
|
4540
|
-
fromZ: s + o(this,
|
|
4538
|
+
fromX: i - o(this, ie).xOffset,
|
|
4539
|
+
fromY: n + o(this, ie).zOffset,
|
|
4540
|
+
fromZ: s + o(this, ie).yOffset,
|
|
4541
4541
|
toX: i,
|
|
4542
4542
|
toY: n,
|
|
4543
4543
|
toZ: s
|
|
@@ -4553,18 +4553,18 @@ class xs {
|
|
|
4553
4553
|
titles: [],
|
|
4554
4554
|
axisLabels: []
|
|
4555
4555
|
};
|
|
4556
|
-
let t, i, n, s, a, l, u, h, c, p,
|
|
4556
|
+
let t, i, n, s, a, l, u, h, c, p, x, y;
|
|
4557
4557
|
const E = "";
|
|
4558
4558
|
let T, d = 0;
|
|
4559
|
-
const w = o(this, ae) + o(this, me) > o(this, je) ? o(this, je) : o(this, ae) + o(this, me), C = o(this,
|
|
4559
|
+
const w = o(this, ae) + o(this, me) > o(this, je) ? o(this, je) : o(this, ae) + o(this, me), C = o(this, pe) + o(this, me) > o(this, Ue) ? o(this, Ue) : o(this, pe) + o(this, me), O = o(this, j) + o(this, me) > o(this, rt) ? o(this, rt) : o(this, j) + o(this, me), _ = o(this, L).fXaxis.fTitle, g = o(this, L).fYaxis.fTitle, W = o(this, L).fZaxis.fTitle, H = o(this, L).fXaxis.fLabels ? o(this, L).fXaxis.fLabels.arr : [], k = o(this, L).fYaxis.fLabels ? o(this, L).fYaxis.fLabels.arr : [], B = o(this, L).fZaxis.fLabels ? o(this, L).fZaxis.fLabels.arr : [], oe = [];
|
|
4560
4560
|
for (let V = o(this, j); V <= O; V++)
|
|
4561
|
-
for (let J = o(this,
|
|
4561
|
+
for (let J = o(this, pe); J <= C; J++)
|
|
4562
4562
|
for (let X = o(this, ae); X <= w; X++) {
|
|
4563
|
-
t = o(this, L).fXaxis.GetBinCenter(X), i = o(this, L).fXaxis.GetBinLowEdge(X), n = t + (t - i), s = n - i, a = o(this, L).fYaxis.GetBinCenter(J), l = o(this, L).fYaxis.GetBinLowEdge(J), u = a + (a - l), h = u - l, c = o(this, L).fZaxis.GetBinCenter(V), p = o(this, L).fZaxis.GetBinLowEdge(V),
|
|
4564
|
-
const N = o(this,
|
|
4563
|
+
t = o(this, L).fXaxis.GetBinCenter(X), i = o(this, L).fXaxis.GetBinLowEdge(X), n = t + (t - i), s = n - i, a = o(this, L).fYaxis.GetBinCenter(J), l = o(this, L).fYaxis.GetBinLowEdge(J), u = a + (a - l), h = u - l, c = o(this, L).fZaxis.GetBinCenter(V), p = o(this, L).fZaxis.GetBinLowEdge(V), x = c + (c - p), y = x - p;
|
|
4564
|
+
const N = o(this, Ft).call(this, o(this, L).getBinContent(X, J, V));
|
|
4565
4565
|
if (N <= o(this, _t))
|
|
4566
4566
|
continue;
|
|
4567
|
-
T = o(this, nt) ? o(this,
|
|
4567
|
+
T = o(this, nt) ? o(this, Ut).call(this, o(this, nt).call(this, {
|
|
4568
4568
|
histogram: o(this, L),
|
|
4569
4569
|
histogramId: o(this, Ee),
|
|
4570
4570
|
x: X,
|
|
@@ -4582,9 +4582,9 @@ class xs {
|
|
|
4582
4582
|
content: T
|
|
4583
4583
|
}) : null;
|
|
4584
4584
|
ue = ue || o(this, Z).getBinColor(T);
|
|
4585
|
-
const Ce = o(this, Ee) + i + "th3" + n + "th3" + p + "th3" +
|
|
4586
|
-
let
|
|
4587
|
-
o(this,
|
|
4585
|
+
const Ce = o(this, Ee) + i + "th3" + n + "th3" + p + "th3" + x + "th3" + l + "th3" + u;
|
|
4586
|
+
let Ae;
|
|
4587
|
+
o(this, Bt).call(this, Ce) ? Ae = o(this, Z).getSecondaryAccentColor() : Ae = ue;
|
|
4588
4588
|
const Ie = `id: ${Ce};
|
|
4589
4589
|
histogramName: ${o(this, Ee)};
|
|
4590
4590
|
typeName: 'TH3';
|
|
@@ -4600,7 +4600,7 @@ class xs {
|
|
|
4600
4600
|
zMin: ${p};
|
|
4601
4601
|
xMax: ${n};
|
|
4602
4602
|
yMax: ${u};
|
|
4603
|
-
zMax: ${
|
|
4603
|
+
zMax: ${x};
|
|
4604
4604
|
xPos: ${X};
|
|
4605
4605
|
yPos: ${J};
|
|
4606
4606
|
zPos: ${V};
|
|
@@ -4609,12 +4609,12 @@ class xs {
|
|
|
4609
4609
|
zCenter: ${c};
|
|
4610
4610
|
xWidth: ${s};
|
|
4611
4611
|
yWidth: ${h};
|
|
4612
|
-
zWidth: ${
|
|
4613
|
-
markedColor: ${
|
|
4612
|
+
zWidth: ${y};
|
|
4613
|
+
markedColor: ${Ae};
|
|
4614
4614
|
selectColor: ${o(this, Z).getSecondaryAccentColor()};
|
|
4615
4615
|
axisX: ${o(this, Z).getAxisColor("x")};
|
|
4616
4616
|
axisY: ${o(this, Z).getAxisColor("y")};
|
|
4617
|
-
axisZ: ${o(this, Z).getAxisColor("z")}`, $ = de * 0.8, R = -(X - 1), M = V - 1,
|
|
4617
|
+
axisZ: ${o(this, Z).getAxisColor("z")}`, $ = de * 0.8, R = -(X - 1), M = V - 1, v = J - 1;
|
|
4618
4618
|
e.bins[d] = {
|
|
4619
4619
|
id: Ce,
|
|
4620
4620
|
color: ue,
|
|
@@ -4631,24 +4631,24 @@ class xs {
|
|
|
4631
4631
|
animation2: {
|
|
4632
4632
|
fromX: R,
|
|
4633
4633
|
fromY: M,
|
|
4634
|
-
fromZ:
|
|
4634
|
+
fromZ: v,
|
|
4635
4635
|
toX: R,
|
|
4636
4636
|
toY: M,
|
|
4637
|
-
toZ:
|
|
4637
|
+
toZ: v
|
|
4638
4638
|
},
|
|
4639
4639
|
animation3: {
|
|
4640
|
-
fromColor: o(this,
|
|
4641
|
-
toColor:
|
|
4640
|
+
fromColor: o(this, Wt).call(this, Ce),
|
|
4641
|
+
toColor: Ae
|
|
4642
4642
|
}
|
|
4643
4643
|
}, oe[d] = {
|
|
4644
4644
|
key: Ce,
|
|
4645
4645
|
scale: $,
|
|
4646
|
-
color:
|
|
4646
|
+
color: Ae
|
|
4647
4647
|
}, d++;
|
|
4648
4648
|
}
|
|
4649
4649
|
Y(this, bt, oe);
|
|
4650
4650
|
const U = [], I = [];
|
|
4651
|
-
return d = o(this,
|
|
4651
|
+
return d = o(this, Lt).call(this, e, U, I, C, w, k, g, 0), d = o(this, Vt).call(this, e, U, I, w, C, H, _, d), d = o(this, Nt).call(this, e, U, I, w, C, O, B, W, d), hr(this, Xt, br).call(this, e, U, I, w, C, d), e.labels = [...U, ...I], e;
|
|
4652
4652
|
});
|
|
4653
4653
|
F(this, Or, () => {
|
|
4654
4654
|
const e = {
|
|
@@ -4661,16 +4661,16 @@ class xs {
|
|
|
4661
4661
|
axisLabels: []
|
|
4662
4662
|
};
|
|
4663
4663
|
let t, i, n, s, a, l, u, h, c, p;
|
|
4664
|
-
const
|
|
4665
|
-
let
|
|
4666
|
-
const E = o(this, ae) + o(this, me) > o(this, L).fXaxis.fNbins ? o(this, L).fXaxis.fNbins : o(this, ae) + o(this, me), T = o(this,
|
|
4667
|
-
for (let H = o(this,
|
|
4664
|
+
const x = "";
|
|
4665
|
+
let y = 0;
|
|
4666
|
+
const E = o(this, ae) + o(this, me) > o(this, L).fXaxis.fNbins ? o(this, L).fXaxis.fNbins : o(this, ae) + o(this, me), T = o(this, pe) + o(this, me) > o(this, L).fYaxis.fNbins ? o(this, L).fYaxis.fNbins : o(this, pe) + o(this, me), d = o(this, L).fXaxis.fTitle !== "" ? o(this, L).fXaxis.fTitle : "x", w = o(this, L).fYaxis.fTitle !== "" ? o(this, L).fYaxis.fTitle : "y", C = o(this, L).fXaxis.fLabels ? o(this, L).fXaxis.fLabels.arr : [], O = o(this, L).fYaxis.fLabels ? o(this, L).fYaxis.fLabels.arr : [], _ = [];
|
|
4667
|
+
for (let H = o(this, pe); H <= T; H++)
|
|
4668
4668
|
for (let k = o(this, ae); k <= E; k++) {
|
|
4669
4669
|
i = o(this, L).fXaxis.GetBinCenter(k), n = o(this, L).fXaxis.GetBinLowEdge(k), s = i + (i - n), a = s - n, l = o(this, L).fYaxis.GetBinCenter(H), u = o(this, L).fYaxis.GetBinLowEdge(H), h = l + (l - u), c = h - u;
|
|
4670
|
-
const B = o(this,
|
|
4670
|
+
const B = o(this, Ft).call(this, o(this, L).getBinContent(k, H));
|
|
4671
4671
|
if (B <= o(this, _t))
|
|
4672
4672
|
continue;
|
|
4673
|
-
p = o(this, nt) ? o(this,
|
|
4673
|
+
p = o(this, nt) ? o(this, Ut).call(this, o(this, nt).call(this, {
|
|
4674
4674
|
histogram: o(this, L),
|
|
4675
4675
|
histogramId: o(this, Ee),
|
|
4676
4676
|
x: k,
|
|
@@ -4686,7 +4686,7 @@ class xs {
|
|
|
4686
4686
|
oe = oe || o(this, Z).getBinColor(p);
|
|
4687
4687
|
const U = o(this, Ee) + n + "th2" + s + "th2" + u + "th2" + h;
|
|
4688
4688
|
let I;
|
|
4689
|
-
o(this,
|
|
4689
|
+
o(this, Bt).call(this, U) ? I = o(this, Z).getSecondaryAccentColor() : I = oe;
|
|
4690
4690
|
const V = `id: ${U};
|
|
4691
4691
|
histogramName: ${o(this, Ee)};
|
|
4692
4692
|
typeName: 'TH2';
|
|
@@ -4696,7 +4696,7 @@ class xs {
|
|
|
4696
4696
|
xTitle: ${d};
|
|
4697
4697
|
zTitle: 'none';
|
|
4698
4698
|
absoluteContent: ${B};
|
|
4699
|
-
binName: ${
|
|
4699
|
+
binName: ${x};
|
|
4700
4700
|
xMin: ${n};
|
|
4701
4701
|
yMin: ${u};
|
|
4702
4702
|
zMin: ${0};
|
|
@@ -4716,8 +4716,8 @@ class xs {
|
|
|
4716
4716
|
selectColor: ${o(this, Z).getSecondaryAccentColor()};
|
|
4717
4717
|
axisX: ${o(this, Z).getAxisColor("x")};
|
|
4718
4718
|
axisY: ${o(this, Z).getAxisColor("y")};
|
|
4719
|
-
axisZ: ${o(this, Z).getAxisColor("z")}`, J = a / o(this, ht) / o(this,
|
|
4720
|
-
e.bins[
|
|
4719
|
+
axisZ: ${o(this, Z).getAxisColor("z")}`, J = a / o(this, ht) / o(this, Yt), X = c / o(this, yt) / o(this, Yt), N = -(k - 1), de = H - 1;
|
|
4720
|
+
e.bins[y] = {
|
|
4721
4721
|
id: U,
|
|
4722
4722
|
color: oe,
|
|
4723
4723
|
binData: V,
|
|
@@ -4739,18 +4739,18 @@ class xs {
|
|
|
4739
4739
|
toZ: de
|
|
4740
4740
|
},
|
|
4741
4741
|
animation3: {
|
|
4742
|
-
fromColor: o(this,
|
|
4742
|
+
fromColor: o(this, Wt).call(this, U),
|
|
4743
4743
|
toColor: I
|
|
4744
4744
|
}
|
|
4745
|
-
}, _[
|
|
4745
|
+
}, _[y] = {
|
|
4746
4746
|
key: U,
|
|
4747
4747
|
scale: p,
|
|
4748
4748
|
color: I
|
|
4749
|
-
},
|
|
4749
|
+
}, y++;
|
|
4750
4750
|
}
|
|
4751
4751
|
Y(this, bt, _);
|
|
4752
4752
|
const g = [], W = [];
|
|
4753
|
-
return
|
|
4753
|
+
return y = o(this, Lt).call(this, e, g, W, T, E, O, w, 0), y = o(this, Vt).call(this, e, g, W, E, T, C, d, y), y = o(this, Nt).call(this, e, g, W, E, T, void 0, void 0, void 0, y), hr(this, Xt, br).call(this, e, g, W, E, T, y), e.labels = [...g, ...W], e;
|
|
4754
4754
|
});
|
|
4755
4755
|
F(this, Rr, () => {
|
|
4756
4756
|
const e = {
|
|
@@ -4765,13 +4765,13 @@ class xs {
|
|
|
4765
4765
|
let t, i, n, s, a, l;
|
|
4766
4766
|
const u = "";
|
|
4767
4767
|
let h = 0;
|
|
4768
|
-
const c = o(this, ae) + o(this, me) > o(this, L).fXaxis.fNbins ? o(this, L).fXaxis.fNbins : o(this, ae) + o(this, me), p = 1,
|
|
4768
|
+
const c = o(this, ae) + o(this, me) > o(this, L).fXaxis.fNbins ? o(this, L).fXaxis.fNbins : o(this, ae) + o(this, me), p = 1, x = o(this, L).fXaxis.fTitle !== "" ? o(this, L).fXaxis.fTitle : "x", y = o(this, L).fXaxis.fLabels ? o(this, L).fXaxis.fLabels.arr : [], E = [];
|
|
4769
4769
|
for (let w = o(this, ae); w <= c; w++) {
|
|
4770
4770
|
i = o(this, L).fXaxis.GetBinCenter(w), n = o(this, L).fXaxis.GetBinLowEdge(w), s = i + (i - n), a = s - n;
|
|
4771
|
-
const C = o(this,
|
|
4771
|
+
const C = o(this, Ft).call(this, o(this, L).getBinContent(w));
|
|
4772
4772
|
if (C <= o(this, _t))
|
|
4773
4773
|
continue;
|
|
4774
|
-
l = o(this, nt) ? o(this,
|
|
4774
|
+
l = o(this, nt) ? o(this, Ut).call(this, o(this, nt).call(this, {
|
|
4775
4775
|
histogram: o(this, L),
|
|
4776
4776
|
histogramId: o(this, Ee),
|
|
4777
4777
|
x: w
|
|
@@ -4785,12 +4785,12 @@ class xs {
|
|
|
4785
4785
|
O = O || o(this, Z).getBinColor(l);
|
|
4786
4786
|
const _ = o(this, Ee) + n + "th1" + s;
|
|
4787
4787
|
let g;
|
|
4788
|
-
o(this,
|
|
4788
|
+
o(this, Bt).call(this, _) ? g = o(this, Z).getSecondaryAccentColor() : g = O, console.log(w, n, s, i);
|
|
4789
4789
|
const W = `id: ${_};
|
|
4790
4790
|
histogramName: ${o(this, Ee)};
|
|
4791
4791
|
typeName: 'TH1';
|
|
4792
4792
|
content: ${l};
|
|
4793
|
-
xTitle: ${
|
|
4793
|
+
xTitle: ${x};
|
|
4794
4794
|
zTitle: 'none';
|
|
4795
4795
|
absoluteContent: ${C};
|
|
4796
4796
|
binName: ${u};
|
|
@@ -4808,7 +4808,7 @@ class xs {
|
|
|
4808
4808
|
selectColor: ${o(this, Z).getSecondaryAccentColor()};
|
|
4809
4809
|
axisX: ${o(this, Z).getAxisColor("x")};
|
|
4810
4810
|
axisY: ${o(this, Z).getAxisColor("y")};
|
|
4811
|
-
axisZ: ${o(this, Z).getAxisColor("z")}`, H = a / o(this, ht) / o(this,
|
|
4811
|
+
axisZ: ${o(this, Z).getAxisColor("z")}`, H = a / o(this, ht) / o(this, Yt), k = -(w - 1), B = 0;
|
|
4812
4812
|
e.bins[h] = {
|
|
4813
4813
|
id: _,
|
|
4814
4814
|
color: O,
|
|
@@ -4823,7 +4823,7 @@ class xs {
|
|
|
4823
4823
|
toDepth: H
|
|
4824
4824
|
},
|
|
4825
4825
|
animation2: {
|
|
4826
|
-
fromX: k + o(this,
|
|
4826
|
+
fromX: k + o(this, ie).xOffset,
|
|
4827
4827
|
fromY: t,
|
|
4828
4828
|
fromZ: B,
|
|
4829
4829
|
toX: k,
|
|
@@ -4831,7 +4831,7 @@ class xs {
|
|
|
4831
4831
|
toZ: B
|
|
4832
4832
|
},
|
|
4833
4833
|
animation3: {
|
|
4834
|
-
fromColor: o(this,
|
|
4834
|
+
fromColor: o(this, Wt).call(this, _),
|
|
4835
4835
|
toColor: g
|
|
4836
4836
|
}
|
|
4837
4837
|
}, E[h] = {
|
|
@@ -4842,30 +4842,30 @@ class xs {
|
|
|
4842
4842
|
}
|
|
4843
4843
|
Y(this, bt, E);
|
|
4844
4844
|
const T = [], d = [];
|
|
4845
|
-
return h = o(this,
|
|
4845
|
+
return h = o(this, Lt).call(this, e, T, d, p, c, void 0, void 0, 0), h = o(this, Vt).call(this, e, T, d, c, p, y, x, h), h = o(this, Nt).call(this, e, T, d, c, p, void 0, void 0, void 0, h), hr(this, Xt, br).call(this, e, T, d, c, p, h), e.labels = [...T, ...d], e;
|
|
4846
4846
|
});
|
|
4847
|
-
F(this,
|
|
4848
|
-
F(this,
|
|
4849
|
-
if (Y(this,
|
|
4847
|
+
F(this, Ft, (e) => e <= 0 ? 0 : (o(this, vt) > 1 && (e = Math.round((e / o(this, vt) + Number.EPSILON) * 100) / 100), e));
|
|
4848
|
+
F(this, jt, (e, t, i, n, s) => {
|
|
4849
|
+
if (Y(this, ie, {
|
|
4850
4850
|
xOffset: 0,
|
|
4851
4851
|
yOffset: 0,
|
|
4852
4852
|
zOffset: 0
|
|
4853
4853
|
}), i) {
|
|
4854
|
-
if (s ? (t[n] += 1, o(this,
|
|
4855
|
-
return t[n] = 1, o(this,
|
|
4854
|
+
if (s ? (t[n] += 1, o(this, ie)[n] = -1) : (t[n] += t.range, o(this, ie)[n] = -t.range), e[n] <= t.range)
|
|
4855
|
+
return t[n] = 1, o(this, ie)[n] = 0, t;
|
|
4856
4856
|
if (t[n] > e[n] - t.range)
|
|
4857
|
-
return t[n] = e[n] - t.range, o(this,
|
|
4858
|
-
} else if (s ? (t[n] -= 1, o(this,
|
|
4859
|
-
return t[n] = 1, o(this,
|
|
4857
|
+
return t[n] = e[n] - t.range, o(this, ie)[n] = 0, t;
|
|
4858
|
+
} else if (s ? (t[n] -= 1, o(this, ie)[n] = 1) : (t[n] -= t.range, o(this, ie)[n] = t.range), t[n] < 1)
|
|
4859
|
+
return t[n] = 1, o(this, ie)[n] = 0, t;
|
|
4860
4860
|
return t;
|
|
4861
4861
|
});
|
|
4862
|
-
F(this,
|
|
4862
|
+
F(this, Nt, (e, t, i, n, s, a, l, u, h) => (t[h] = o(this, Ke).call(this, 9e4 + h, "z", -(n + 0.5), o(this, j) - 1, s + 0.5, 270, 360, 0, 2, 2, `${l ? l[o(this, j) - 1] ? l[o(this, j) - 1].fString : Math.round(
|
|
4863
4863
|
(o(this, Ne).zInitial + o(this, j) - 1 + Number.EPSILON) * 100
|
|
4864
|
-
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), i[h] = o(this, Ke).call(this, 91e3 + h, "z", -(n + 0.5), o(this, j) - 1, o(this,
|
|
4864
|
+
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), i[h] = o(this, Ke).call(this, 91e3 + h, "z", -(n + 0.5), o(this, j) - 1, o(this, pe) - 2.5, 270, 180, 0, 2, 2, `${l ? l[o(this, j) - 1] ? l[o(this, j) - 1].fString : Math.round(
|
|
4865
4865
|
(o(this, Ne).zInitial + o(this, j) - 1 + Number.EPSILON) * 100
|
|
4866
4866
|
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), h++, t[h] = o(this, Ke).call(this, 92e3 + h, "z", -(o(this, ae) - 2.5), o(this, j) - 1, s + 0.5, 270, 180, 0, 2, 2, `${l ? l[o(this, j) - 1] ? l[o(this, j) - 1].fString : Math.round(
|
|
4867
4867
|
(o(this, Ne).zInitial + o(this, j) - 1 + Number.EPSILON) * 100
|
|
4868
|
-
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), i[h] = o(this, Ke).call(this, 93e3 + h, "z", -(o(this, ae) - 2.5), o(this, j) - 1, o(this,
|
|
4868
|
+
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), i[h] = o(this, Ke).call(this, 93e3 + h, "z", -(o(this, ae) - 2.5), o(this, j) - 1, o(this, pe) - 2.5, 270, 180, 0, 2, 2, `${l ? l[o(this, j) - 1] ? l[o(this, j) - 1].fString : Math.round(
|
|
4869
4869
|
(o(this, Ne).zInitial + o(this, j) - 1 + Number.EPSILON) * 100
|
|
4870
4870
|
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), h++, u && (e.axisLabels[4] = {
|
|
4871
4871
|
id: "upLabel1",
|
|
@@ -4880,12 +4880,12 @@ class xs {
|
|
|
4880
4880
|
z: 90
|
|
4881
4881
|
},
|
|
4882
4882
|
animation: {
|
|
4883
|
-
fromX: o(this, ae) - 1.5 + o(this,
|
|
4884
|
-
fromY: a - 1 + o(this,
|
|
4885
|
-
fromZ: o(this,
|
|
4883
|
+
fromX: o(this, ae) - 1.5 + o(this, ie).xOffset,
|
|
4884
|
+
fromY: a - 1 + o(this, ie).zOffset,
|
|
4885
|
+
fromZ: o(this, pe) - 2 + o(this, ie).yOffset,
|
|
4886
4886
|
toX: o(this, ae) - 1.5,
|
|
4887
4887
|
toY: a - 1,
|
|
4888
|
-
toZ: o(this,
|
|
4888
|
+
toZ: o(this, pe) - 2
|
|
4889
4889
|
}
|
|
4890
4890
|
}, e.axisLabels[5] = {
|
|
4891
4891
|
id: "upLabel2",
|
|
@@ -4900,9 +4900,9 @@ class xs {
|
|
|
4900
4900
|
z: 90
|
|
4901
4901
|
},
|
|
4902
4902
|
animation: {
|
|
4903
|
-
fromX: n - 0.5 + o(this,
|
|
4904
|
-
fromY: a - 1 + o(this,
|
|
4905
|
-
fromZ: s + o(this,
|
|
4903
|
+
fromX: n - 0.5 + o(this, ie).xOffset,
|
|
4904
|
+
fromY: a - 1 + o(this, ie).zOffset,
|
|
4905
|
+
fromZ: s + o(this, ie).yOffset,
|
|
4906
4906
|
toX: n - 0.5,
|
|
4907
4907
|
toY: a - 1,
|
|
4908
4908
|
toZ: s
|
|
@@ -4920,9 +4920,9 @@ class xs {
|
|
|
4920
4920
|
z: 90
|
|
4921
4921
|
},
|
|
4922
4922
|
animation: {
|
|
4923
|
-
fromX: o(this, ae) - 2 + o(this,
|
|
4924
|
-
fromY: a - 1 + o(this,
|
|
4925
|
-
fromZ: s - 0.5 + o(this,
|
|
4923
|
+
fromX: o(this, ae) - 2 + o(this, ie).xOffset,
|
|
4924
|
+
fromY: a - 1 + o(this, ie).zOffset,
|
|
4925
|
+
fromZ: s - 0.5 + o(this, ie).yOffset,
|
|
4926
4926
|
toX: o(this, ae) - 2,
|
|
4927
4927
|
toY: a - 1,
|
|
4928
4928
|
toZ: s - 0.5
|
|
@@ -4940,16 +4940,16 @@ class xs {
|
|
|
4940
4940
|
z: 90
|
|
4941
4941
|
},
|
|
4942
4942
|
animation: {
|
|
4943
|
-
fromX: n - 0.5 + o(this,
|
|
4944
|
-
fromY: a - 1 + o(this,
|
|
4945
|
-
fromZ: o(this,
|
|
4943
|
+
fromX: n - 0.5 + o(this, ie).xOffset,
|
|
4944
|
+
fromY: a - 1 + o(this, ie).zOffset,
|
|
4945
|
+
fromZ: o(this, pe) - 1.5 + o(this, ie).yOffset,
|
|
4946
4946
|
toX: n - 0.5,
|
|
4947
4947
|
toY: a - 1,
|
|
4948
|
-
toZ: o(this,
|
|
4948
|
+
toZ: o(this, pe) - 1.5
|
|
4949
4949
|
}
|
|
4950
4950
|
}), h));
|
|
4951
|
-
F(this,
|
|
4952
|
-
for (let h = o(this,
|
|
4951
|
+
F(this, Lt, (e, t, i, n, s, a, l, u) => {
|
|
4952
|
+
for (let h = o(this, pe); h <= n; h++)
|
|
4953
4953
|
t[u] = o(this, Ke).call(this, 1500 + u, "y", -(o(this, ae) - 2.5), o(this, j) ? o(this, j) - 1 : 0, h - 1, 270, 180, 0, 2, 1, `${a ? a[h - 1] ? a[h - 1].fString : Math.round(
|
|
4954
4954
|
(o(this, Ne).yInitial + (h - 1) * o(this, yt) + Number.EPSILON) * 100
|
|
4955
4955
|
) / 100 : ""}`, o(this, Z).getAxisColor("z"), o(this, Z).getSecondaryFontColor()), i[u] = o(this, Ke).call(this, 3e3 + u, "y", -(s + 0.5), o(this, j) ? o(this, j) - 1 : 0, h - 1, 270, 360, 0, 2, 1, `${a ? a[h - 1] ? a[h - 1].fString : Math.round(
|
|
@@ -4968,12 +4968,12 @@ class xs {
|
|
|
4968
4968
|
z: 0
|
|
4969
4969
|
},
|
|
4970
4970
|
animation: {
|
|
4971
|
-
fromX: -(o(this, ae) - 4 + o(this,
|
|
4972
|
-
fromY: (o(this, j) ? o(this, j) - 1 : 0) + o(this,
|
|
4973
|
-
fromZ: o(this,
|
|
4971
|
+
fromX: -(o(this, ae) - 4 + o(this, ie).xOffset),
|
|
4972
|
+
fromY: (o(this, j) ? o(this, j) - 1 : 0) + o(this, ie).zOffset,
|
|
4973
|
+
fromZ: o(this, pe) + 0.5 + o(this, ie).yOffset,
|
|
4974
4974
|
toX: -(o(this, ae) - 4),
|
|
4975
4975
|
toY: o(this, j) ? o(this, j) - 1 : 0,
|
|
4976
|
-
toZ: o(this,
|
|
4976
|
+
toZ: o(this, pe) + 0.5
|
|
4977
4977
|
}
|
|
4978
4978
|
}, e.axisLabels[1] = {
|
|
4979
4979
|
id: "rightLabel",
|
|
@@ -4988,18 +4988,18 @@ class xs {
|
|
|
4988
4988
|
z: 0
|
|
4989
4989
|
},
|
|
4990
4990
|
animation: {
|
|
4991
|
-
fromX: -(s + 2 + o(this,
|
|
4992
|
-
fromY: (o(this, j) ? o(this, j) - 1 : 0) + o(this,
|
|
4993
|
-
fromZ: n - 2.5 + o(this,
|
|
4991
|
+
fromX: -(s + 2 + o(this, ie).xOffset),
|
|
4992
|
+
fromY: (o(this, j) ? o(this, j) - 1 : 0) + o(this, ie).zOffset,
|
|
4993
|
+
fromZ: n - 2.5 + o(this, ie).yOffset,
|
|
4994
4994
|
toX: -(s + 2),
|
|
4995
4995
|
toY: o(this, j) ? o(this, j) - 1 : 0,
|
|
4996
4996
|
toZ: n - 2.5
|
|
4997
4997
|
}
|
|
4998
4998
|
}, u;
|
|
4999
4999
|
});
|
|
5000
|
-
F(this,
|
|
5000
|
+
F(this, Vt, (e, t, i, n, s, a, l, u) => {
|
|
5001
5001
|
for (let h = o(this, ae); h <= n; h++)
|
|
5002
|
-
t[u] = o(this, Ke).call(this, 7500 + u, "x", -(h - 1), o(this, j) ? o(this, j) - 1 : 0, o(this,
|
|
5002
|
+
t[u] = o(this, Ke).call(this, 7500 + u, "x", -(h - 1), o(this, j) ? o(this, j) - 1 : 0, o(this, pe) - 2.5, 270, 180, 0, 1, 2, `${a[h - 1] ? a[h - 1].fString : Math.round(
|
|
5003
5003
|
(o(this, Ne).xInitial + (h - 1) * o(this, ht) + Number.EPSILON) * 100
|
|
5004
5004
|
) / 100}`, o(this, Z).getAxisColor("x"), o(this, Z).getSecondaryFontColor()), i[u] = o(this, Ke).call(this, 9e3 + u, "x", -(h - 1), o(this, j) ? o(this, j) - 1 : 0, s + 0.5, 270, 180, 0, 1, 2, `${a[h - 1] ? a[h - 1].fString : Math.round(
|
|
5005
5005
|
(o(this, Ne).xInitial + (h - 1) * o(this, ht) + Number.EPSILON) * 100
|
|
@@ -5017,12 +5017,12 @@ class xs {
|
|
|
5017
5017
|
z: 0
|
|
5018
5018
|
},
|
|
5019
5019
|
animation: {
|
|
5020
|
-
fromX: -(o(this, ae) + o(this,
|
|
5021
|
-
fromY: (o(this, j) ? o(this, j) - 1 : 0) + o(this,
|
|
5022
|
-
fromZ: o(this,
|
|
5020
|
+
fromX: -(o(this, ae) + o(this, ie).xOffset),
|
|
5021
|
+
fromY: (o(this, j) ? o(this, j) - 1 : 0) + o(this, ie).zOffset,
|
|
5022
|
+
fromZ: o(this, pe) - 4 + o(this, ie).yOffset,
|
|
5023
5023
|
toX: -o(this, ae),
|
|
5024
5024
|
toY: o(this, j) ? o(this, j) - 1 : 0,
|
|
5025
|
-
toZ: o(this,
|
|
5025
|
+
toZ: o(this, pe) - 4
|
|
5026
5026
|
}
|
|
5027
5027
|
}, e.axisLabels[3] = {
|
|
5028
5028
|
id: "upLabel",
|
|
@@ -5037,9 +5037,9 @@ class xs {
|
|
|
5037
5037
|
z: 0
|
|
5038
5038
|
},
|
|
5039
5039
|
animation: {
|
|
5040
|
-
fromX: -(n - 2.5 - o(this,
|
|
5041
|
-
fromY: (o(this, j) ? o(this, j) - 1 : 0) + o(this,
|
|
5042
|
-
fromZ: s + 2 + o(this,
|
|
5040
|
+
fromX: -(n - 2.5 - o(this, ie).xOffset),
|
|
5041
|
+
fromY: (o(this, j) ? o(this, j) - 1 : 0) + o(this, ie).zOffset,
|
|
5042
|
+
fromZ: s + 2 + o(this, ie).yOffset,
|
|
5043
5043
|
toX: -(n - 2.5),
|
|
5044
5044
|
toY: o(this, j) ? o(this, j) - 1 : 0,
|
|
5045
5045
|
toZ: s + 2
|
|
@@ -5049,28 +5049,28 @@ class xs {
|
|
|
5049
5049
|
F(this, Dr, (e, t, i) => {
|
|
5050
5050
|
const n = {
|
|
5051
5051
|
xOffset: o(this, je),
|
|
5052
|
-
yOffset: o(this,
|
|
5052
|
+
yOffset: o(this, Ue),
|
|
5053
5053
|
zOffset: o(this, rt)
|
|
5054
5054
|
}, s = {
|
|
5055
5055
|
name: "TH3",
|
|
5056
5056
|
xOffset: o(this, ae),
|
|
5057
|
-
yOffset: o(this,
|
|
5057
|
+
yOffset: o(this, pe),
|
|
5058
5058
|
zOffset: o(this, j),
|
|
5059
5059
|
range: o(this, me)
|
|
5060
|
-
}, a = o(this,
|
|
5061
|
-
return Y(this, ae, a.xOffset), Y(this,
|
|
5060
|
+
}, a = o(this, jt).call(this, n, s, t, e, i);
|
|
5061
|
+
return Y(this, ae, a.xOffset), Y(this, pe, a.yOffset), Y(this, j, a.zOffset), a;
|
|
5062
5062
|
});
|
|
5063
5063
|
F(this, zr, (e, t, i) => {
|
|
5064
5064
|
const n = {
|
|
5065
5065
|
xOffset: o(this, je),
|
|
5066
|
-
yOffset: o(this,
|
|
5066
|
+
yOffset: o(this, Ue)
|
|
5067
5067
|
}, s = {
|
|
5068
5068
|
name: "TH2",
|
|
5069
5069
|
xOffset: o(this, ae),
|
|
5070
|
-
yOffset: o(this,
|
|
5070
|
+
yOffset: o(this, pe),
|
|
5071
5071
|
range: o(this, me)
|
|
5072
|
-
}, a = o(this,
|
|
5073
|
-
return Y(this, ae, a.xOffset), Y(this,
|
|
5072
|
+
}, a = o(this, jt).call(this, n, s, t, e, i);
|
|
5073
|
+
return Y(this, ae, a.xOffset), Y(this, pe, a.yOffset), a;
|
|
5074
5074
|
});
|
|
5075
5075
|
F(this, $r, (e, t, i) => {
|
|
5076
5076
|
const n = {
|
|
@@ -5079,7 +5079,7 @@ class xs {
|
|
|
5079
5079
|
name: "TH1",
|
|
5080
5080
|
xOffset: o(this, ae),
|
|
5081
5081
|
range: o(this, me)
|
|
5082
|
-
}, a = o(this,
|
|
5082
|
+
}, a = o(this, jt).call(this, n, s, t, e, i);
|
|
5083
5083
|
return Y(this, ae, a.xOffset), a;
|
|
5084
5084
|
});
|
|
5085
5085
|
F(this, xt, (e) => {
|
|
@@ -5088,13 +5088,13 @@ class xs {
|
|
|
5088
5088
|
);
|
|
5089
5089
|
return t[0] && t[0].scale ? t[0].scale : 0;
|
|
5090
5090
|
});
|
|
5091
|
-
F(this,
|
|
5091
|
+
F(this, Wt, (e) => {
|
|
5092
5092
|
const t = o(this, bt).filter(
|
|
5093
5093
|
(i) => i.key === e
|
|
5094
5094
|
);
|
|
5095
5095
|
return t[0] && t[0].scale ? t[0].color : "#ffffff";
|
|
5096
5096
|
});
|
|
5097
|
-
F(this,
|
|
5097
|
+
F(this, Ut, (e) => e > o(this, vt) ? o(this, vt) : e < 0 ? 0 : e);
|
|
5098
5098
|
this.initializeFactory(
|
|
5099
5099
|
e,
|
|
5100
5100
|
t,
|
|
@@ -5131,11 +5131,11 @@ class xs {
|
|
|
5131
5131
|
Y(this, nt, e);
|
|
5132
5132
|
}
|
|
5133
5133
|
setSection(e) {
|
|
5134
|
-
e && (e.xOffset && Y(this, ae, o(this, ft).call(this, e == null ? void 0 : e.xOffset, o(this, je))), e.yOffset && !histogram._typename.includes("TH1") && Y(this,
|
|
5134
|
+
e && (e.xOffset && Y(this, ae, o(this, ft).call(this, e == null ? void 0 : e.xOffset, o(this, je))), e.yOffset && !histogram._typename.includes("TH1") && Y(this, pe, o(this, ft).call(this, e == null ? void 0 : e.yOffset, o(this, Ue))), e.zOffset && histogram._typename.includes("TH3") && Y(this, j, o(this, ft).call(this, e == null ? void 0 : e.zOffset, o(this, rt))));
|
|
5135
5135
|
}
|
|
5136
5136
|
setHistogram(e) {
|
|
5137
|
-
var t, i, n, s, a, l, u, h, c, p,
|
|
5138
|
-
Y(this, L, e), Y(this, tt, e == null ? void 0 : e._typename), Y(this, ae, 1), Y(this,
|
|
5137
|
+
var t, i, n, s, a, l, u, h, c, p, x, y, E, T, d, w;
|
|
5138
|
+
Y(this, L, e), Y(this, tt, e == null ? void 0 : e._typename), Y(this, ae, 1), Y(this, pe, 1), Y(this, j, 1), Y(this, je, 0), Y(this, Ue, 0), Y(this, rt, 0), Y(this, ht, 1), Y(this, yt, 1), Y(this, cr, 1), Y(this, je, (t = e == null ? void 0 : e.fXaxis) == null ? void 0 : t.fNbins), Y(this, ht, (((i = e == null ? void 0 : e.fXaxis) == null ? void 0 : i.fXmax) - ((n = e == null ? void 0 : e.fXaxis) == null ? void 0 : n.fXmin)) / ((s = e == null ? void 0 : e.fXaxis) == null ? void 0 : s.fNbins)), o(this, Ne).xInitial = (a = e == null ? void 0 : e.fXaxis) == null ? void 0 : a.fXmin, Y(this, ae, o(this, ft).call(this, o(this, ae), o(this, je))), (l = e == null ? void 0 : e._typename) != null && l.includes("TH1") || (Y(this, Ue, (u = e == null ? void 0 : e.fYaxis) == null ? void 0 : u.fNbins), Y(this, yt, (((h = e == null ? void 0 : e.fYaxis) == null ? void 0 : h.fXmax) - ((c = e == null ? void 0 : e.fYaxis) == null ? void 0 : c.fXmin)) / ((p = e == null ? void 0 : e.fYaxis) == null ? void 0 : p.fNbins)), o(this, Ne).yInitial = (x = e == null ? void 0 : e.fYaxis) == null ? void 0 : x.fXmin, Y(this, pe, o(this, ft).call(this, o(this, pe), o(this, Ue)))), (y = e == null ? void 0 : e._typename) != null && y.includes("TH3") && (Y(this, rt, (E = e == null ? void 0 : e.fZaxis) == null ? void 0 : E.fNbins), Y(this, cr, ((T = e == null ? void 0 : e.fZaxis) == null ? void 0 : T.fXmax) / ((d = e == null ? void 0 : e.fZaxis) == null ? void 0 : d.fNbins)), o(this, Ne).zInitial = (w = e == null ? void 0 : e.fZaxis) == null ? void 0 : w.fXmin, Y(this, j, o(this, ft).call(this, o(this, j), o(this, rt)))), this.setHistogramContentMaximum(e == null ? void 0 : e.fMaximum);
|
|
5139
5139
|
}
|
|
5140
5140
|
setRange(e) {
|
|
5141
5141
|
e && (e < 4 && Y(this, me, 4), Y(this, me, e));
|
|
@@ -5156,9 +5156,9 @@ class xs {
|
|
|
5156
5156
|
return o(this, $r).call(this, e, t, i);
|
|
5157
5157
|
}
|
|
5158
5158
|
}
|
|
5159
|
-
Ee = new WeakMap(), lr = new WeakMap(), L = new WeakMap(), tt = new WeakMap(), Z = new WeakMap(), ae = new WeakMap(),
|
|
5159
|
+
Ee = new WeakMap(), lr = new WeakMap(), L = new WeakMap(), tt = new WeakMap(), Z = new WeakMap(), ae = new WeakMap(), pe = new WeakMap(), j = new WeakMap(), je = new WeakMap(), Ue = new WeakMap(), rt = new WeakMap(), ht = new WeakMap(), yt = new WeakMap(), cr = new WeakMap(), me = new WeakMap(), Ne = new WeakMap(), it = new WeakMap(), nt = new WeakMap(), vt = new WeakMap(), ot = new WeakMap(), _t = new WeakMap(), Yt = new WeakMap(), ie = new WeakMap(), bt = new WeakMap(), ft = new WeakMap(), Bt = new WeakMap(), Ke = new WeakMap(), _r = new WeakMap(), Or = new WeakMap(), Rr = new WeakMap(), Ft = new WeakMap(), jt = new WeakMap(), Nt = new WeakMap(), Lt = new WeakMap(), Vt = new WeakMap(), Xt = new WeakSet(), br = function(e, t, i, n, s, a, l, u) {
|
|
5160
5160
|
u++;
|
|
5161
|
-
const h = 135, c = -(n + 5.5), p = (o(this, j) ? o(this, j) + 7 : 7) + o(this,
|
|
5161
|
+
const h = 135, c = -(n + 5.5), p = (o(this, j) ? o(this, j) + 7 : 7) + o(this, ie).zOffset, x = o(this, pe) + o(this, me) / 2 + 10;
|
|
5162
5162
|
e.titles[0] = {
|
|
5163
5163
|
key: 195e3 + o(this, Ee),
|
|
5164
5164
|
text: {
|
|
@@ -5173,28 +5173,28 @@ Ee = new WeakMap(), lr = new WeakMap(), L = new WeakMap(), tt = new WeakMap(), Z
|
|
|
5173
5173
|
position: {
|
|
5174
5174
|
x: c,
|
|
5175
5175
|
y: p + 9,
|
|
5176
|
-
z:
|
|
5176
|
+
z: x
|
|
5177
5177
|
},
|
|
5178
5178
|
innerText: {
|
|
5179
5179
|
value: "Press V to show projections or controls",
|
|
5180
5180
|
color: o(this, Z).getPrimaryFontColor()
|
|
5181
5181
|
}
|
|
5182
5182
|
}, u++;
|
|
5183
|
-
const
|
|
5183
|
+
const y = o(this, me) > o(this, je) ? o(this, je) + 1 : o(this, me), E = o(this, me) > o(this, Ue) ? o(this, Ue) + 1 : o(this, me);
|
|
5184
5184
|
e.ground = {
|
|
5185
5185
|
key: 22500 + u + o(this, Ee),
|
|
5186
5186
|
scale: {
|
|
5187
|
-
width:
|
|
5187
|
+
width: y + 8,
|
|
5188
5188
|
height: 0.2,
|
|
5189
5189
|
depth: E + 8
|
|
5190
5190
|
},
|
|
5191
5191
|
animation: {
|
|
5192
|
-
fromX: o(this, ae) +
|
|
5192
|
+
fromX: o(this, ae) + y * 0.5 - 1 + o(this, ie).xOffset,
|
|
5193
5193
|
fromY: -0.5,
|
|
5194
|
-
fromZ: o(this,
|
|
5195
|
-
toX: o(this, ae) +
|
|
5194
|
+
fromZ: o(this, pe) + E * 0.5 - 0.5 + o(this, ie).yOffset,
|
|
5195
|
+
toX: o(this, ae) + y * 0.5 - 1,
|
|
5196
5196
|
toY: -0.5,
|
|
5197
|
-
toZ: o(this,
|
|
5197
|
+
toZ: o(this, pe) + E * 0.5 - 0.5
|
|
5198
5198
|
}
|
|
5199
5199
|
}, u++, e.banners[1] = {
|
|
5200
5200
|
key: 24e4 + u + o(this, Ee),
|
|
@@ -5206,7 +5206,7 @@ Ee = new WeakMap(), lr = new WeakMap(), L = new WeakMap(), tt = new WeakMap(), Z
|
|
|
5206
5206
|
position: {
|
|
5207
5207
|
x: c,
|
|
5208
5208
|
y: p,
|
|
5209
|
-
z:
|
|
5209
|
+
z: x
|
|
5210
5210
|
},
|
|
5211
5211
|
rotation: {
|
|
5212
5212
|
x: 0,
|
|
@@ -5218,7 +5218,7 @@ Ee = new WeakMap(), lr = new WeakMap(), L = new WeakMap(), tt = new WeakMap(), Z
|
|
|
5218
5218
|
transparent: !0
|
|
5219
5219
|
}
|
|
5220
5220
|
};
|
|
5221
|
-
}, Dr = new WeakMap(), zr = new WeakMap(), $r = new WeakMap(), xt = new WeakMap(),
|
|
5221
|
+
}, Dr = new WeakMap(), zr = new WeakMap(), $r = new WeakMap(), xt = new WeakMap(), Wt = new WeakMap(), Ut = new WeakMap();
|
|
5222
5222
|
const Ss = () => {
|
|
5223
5223
|
let r;
|
|
5224
5224
|
const {
|
|
@@ -5229,7 +5229,7 @@ const Ss = () => {
|
|
|
5229
5229
|
range: s,
|
|
5230
5230
|
theme: a,
|
|
5231
5231
|
selectedBins: l
|
|
5232
|
-
} =
|
|
5232
|
+
} = Ve(Rt).states, { id: u, histogram: h, projPanelIds: c } = Ve(Rt).data, [p] = Te(
|
|
5233
5233
|
new xs(
|
|
5234
5234
|
u,
|
|
5235
5235
|
h,
|
|
@@ -5240,32 +5240,32 @@ const Ss = () => {
|
|
|
5240
5240
|
t,
|
|
5241
5241
|
i
|
|
5242
5242
|
)
|
|
5243
|
-
), [
|
|
5244
|
-
h._typename.includes(d.name) && (d.axis ? (p.updateSection(d.axis, d.increment, d.defaultRange),
|
|
5243
|
+
), [x, y] = Te(p.getElements()), [E] = Te(1), T = (d) => {
|
|
5244
|
+
h._typename.includes(d.name) && (d.axis ? (p.updateSection(d.axis, d.increment, d.defaultRange), y(p.getElements())) : d.scale ? (p.updateContentScale(d.scale), y(p.getElements())) : d.minValue && (p.updateMinDisplayedContent(d.minValue), y(p.getElements())));
|
|
5245
5245
|
};
|
|
5246
|
-
return
|
|
5247
|
-
p.setUniqueName(u),
|
|
5248
|
-
}, [u]),
|
|
5249
|
-
p.setHistogram(h),
|
|
5250
|
-
}, [h]),
|
|
5251
|
-
p.setSection(n),
|
|
5252
|
-
}, [n]),
|
|
5253
|
-
p.setRange(s),
|
|
5254
|
-
}, [s]),
|
|
5255
|
-
p.setTheme(a),
|
|
5256
|
-
}, [a]),
|
|
5257
|
-
p.setSelectedBin(l),
|
|
5258
|
-
}, [l]),
|
|
5259
|
-
p.setViewFunction(t),
|
|
5260
|
-
}, [t]),
|
|
5261
|
-
p.setViewFunction(t),
|
|
5262
|
-
}, [e]),
|
|
5263
|
-
p.setProgressFunction(i),
|
|
5264
|
-
}, [i]),
|
|
5246
|
+
return fe(() => {
|
|
5247
|
+
p.setUniqueName(u), y(p.getElements());
|
|
5248
|
+
}, [u]), fe(() => {
|
|
5249
|
+
p.setHistogram(h), y(p.getElements());
|
|
5250
|
+
}, [h]), fe(() => {
|
|
5251
|
+
p.setSection(n), y(p.getElements());
|
|
5252
|
+
}, [n]), fe(() => {
|
|
5253
|
+
p.setRange(s), y(p.getElements());
|
|
5254
|
+
}, [s]), fe(() => {
|
|
5255
|
+
p.setTheme(a), y(p.getElements());
|
|
5256
|
+
}, [a]), fe(() => {
|
|
5257
|
+
p.setSelectedBin(l), y(p.getElements());
|
|
5258
|
+
}, [l]), fe(() => {
|
|
5259
|
+
p.setViewFunction(t), y(p.getElements());
|
|
5260
|
+
}, [t]), fe(() => {
|
|
5261
|
+
p.setViewFunction(t), y(p.getElements());
|
|
5262
|
+
}, [e]), fe(() => {
|
|
5263
|
+
p.setProgressFunction(i), y(p.getElements());
|
|
5264
|
+
}, [i]), fe(() => {
|
|
5265
5265
|
if (h._typename.includes("TH2") ? r = _e.getChangedSection().subscribe(T) : h._typename.includes("TH3") ? r = De.getChangedSection().subscribe(T) : h._typename.includes("TH1") && (r = st.getChangedSection().subscribe(T)), r)
|
|
5266
5266
|
return () => r.unsubscribe();
|
|
5267
|
-
}, [
|
|
5268
|
-
|
|
5267
|
+
}, [x]), x != null && x.bins ? /* @__PURE__ */ te("a-entity", { "histogram-control": !0, children: [
|
|
5268
|
+
x.bins.map((d) => /* @__PURE__ */ b(
|
|
5269
5269
|
"a-box",
|
|
5270
5270
|
{
|
|
5271
5271
|
id: d.id,
|
|
@@ -5296,7 +5296,7 @@ const Ss = () => {
|
|
|
5296
5296
|
},
|
|
5297
5297
|
d.id
|
|
5298
5298
|
)),
|
|
5299
|
-
|
|
5299
|
+
x.labels.map((d) => /* @__PURE__ */ b(
|
|
5300
5300
|
"a-entity",
|
|
5301
5301
|
{
|
|
5302
5302
|
geometry: `primitive: ${d.geometry.primitive}; width:${d.geometry.width}; height:${d.geometry.height};`,
|
|
@@ -5310,7 +5310,7 @@ const Ss = () => {
|
|
|
5310
5310
|
},
|
|
5311
5311
|
d.key
|
|
5312
5312
|
)),
|
|
5313
|
-
|
|
5313
|
+
x.titles.map((d) => /* @__PURE__ */ te(
|
|
5314
5314
|
"a-entity",
|
|
5315
5315
|
{
|
|
5316
5316
|
rotation: `${d.rotation.x} ${d.rotation.y} ${d.rotation.z}`,
|
|
@@ -5359,7 +5359,7 @@ const Ss = () => {
|
|
|
5359
5359
|
},
|
|
5360
5360
|
d.key
|
|
5361
5361
|
)),
|
|
5362
|
-
|
|
5362
|
+
x.axisLabels.map((d) => /* @__PURE__ */ b(
|
|
5363
5363
|
"a-entity",
|
|
5364
5364
|
{
|
|
5365
5365
|
id: d.id,
|
|
@@ -5370,20 +5370,20 @@ const Ss = () => {
|
|
|
5370
5370
|
},
|
|
5371
5371
|
d.key
|
|
5372
5372
|
)),
|
|
5373
|
-
|
|
5373
|
+
x.ground && /* @__PURE__ */ b(
|
|
5374
5374
|
"a-box",
|
|
5375
5375
|
{
|
|
5376
|
-
width:
|
|
5376
|
+
width: x.ground.scale.width,
|
|
5377
5377
|
material: "color: #fafafa",
|
|
5378
|
-
height:
|
|
5379
|
-
depth:
|
|
5380
|
-
animation: `property: position; from: ${
|
|
5378
|
+
height: x.ground.scale.height,
|
|
5379
|
+
depth: x.ground.scale.depth,
|
|
5380
|
+
animation: `property: position; from: ${x.ground.animation.fromX} ${x.ground.animation.fromY} ${x.ground.animation.fromZ};
|
|
5381
5381
|
to:
|
|
5382
|
-
${
|
|
5382
|
+
${x.ground.animation.toX} ${x.ground.animation.toY} ${x.ground.animation.toZ}; dur: 1000;`
|
|
5383
5383
|
},
|
|
5384
|
-
|
|
5384
|
+
x.ground.key
|
|
5385
5385
|
),
|
|
5386
|
-
|
|
5386
|
+
x.banners.map((d) => /* @__PURE__ */ b(
|
|
5387
5387
|
"a-box",
|
|
5388
5388
|
{
|
|
5389
5389
|
id: c[0] ? c[0] : "panel_0",
|
|
@@ -9966,33 +9966,33 @@ const Ss = () => {
|
|
|
9966
9966
|
n - 1,
|
|
9967
9967
|
n - 1
|
|
9968
9968
|
));
|
|
9969
|
-
for (var a = new t(this.environmentData.seed), l = this.groundGeometry.attributes.position.array, u = l.length, h = 10, c = h / n, p = 0,
|
|
9969
|
+
for (var a = new t(this.environmentData.seed), l = this.groundGeometry.attributes.position.array, u = l.length, h = 10, c = h / n, p = 0, x = 0, y = 2; y < u; y += 3)
|
|
9970
9970
|
if (this.environmentData.ground != "flat") {
|
|
9971
9971
|
var E;
|
|
9972
9972
|
switch (this.environmentData.ground) {
|
|
9973
9973
|
case "hills":
|
|
9974
|
-
E = Math.max(0, a.noise(p,
|
|
9974
|
+
E = Math.max(0, a.noise(p, x, 0));
|
|
9975
9975
|
break;
|
|
9976
9976
|
case "canyon":
|
|
9977
|
-
E = 0.2 + 0.8 * a.noise(p,
|
|
9977
|
+
E = 0.2 + 0.8 * a.noise(p, x, 0), E = Math.min(1, 10 * Math.pow(E, 2));
|
|
9978
9978
|
break;
|
|
9979
9979
|
case "spikes":
|
|
9980
|
-
E = this.random(
|
|
9980
|
+
E = this.random(y) < 0.02 ? this.random(y + 1) : 0;
|
|
9981
9981
|
break;
|
|
9982
9982
|
case "noise":
|
|
9983
|
-
E = this.random(
|
|
9983
|
+
E = this.random(y) < 0.35 ? this.random(y + 1) : 0;
|
|
9984
9984
|
}
|
|
9985
|
-
E += 0.1 * this.random(
|
|
9986
|
-
var T = 2 * p / h - 1, d = 2 *
|
|
9985
|
+
E += 0.1 * this.random(y + 2);
|
|
9986
|
+
var T = 2 * p / h - 1, d = 2 * x / h - 1, w = this.environmentData.playArea;
|
|
9987
9987
|
T = Math.max(
|
|
9988
9988
|
0,
|
|
9989
9989
|
Math.min(1, (Math.abs(T) - (w - 0.9)) * (1 / w))
|
|
9990
9990
|
), d = Math.max(
|
|
9991
9991
|
0,
|
|
9992
9992
|
Math.min(1, (Math.abs(d) - (w - 0.9)) * (1 / w))
|
|
9993
|
-
), E *= T > d ? T : d, E < 0.01 && (E = 0), l[
|
|
9993
|
+
), E *= T > d ? T : d, E < 0.01 && (E = 0), l[y] = E, p += c, p >= 10 && (p = 0, x += c);
|
|
9994
9994
|
} else
|
|
9995
|
-
l[
|
|
9995
|
+
l[y] = 0;
|
|
9996
9996
|
this.groundGeometry.computeVertexNormals(), this.groundGeometry.attributes.position.needsUpdate = !0, this.groundGeometry.attributes.normal.needsUpdate = !0;
|
|
9997
9997
|
}
|
|
9998
9998
|
this.ground.setAttribute("scale", {
|
|
@@ -10030,8 +10030,8 @@ const Ss = () => {
|
|
|
10030
10030
|
var p = Math.floor(c / 20);
|
|
10031
10031
|
for (a = 0; a < h + 1; a++)
|
|
10032
10032
|
for (u = Math.floor(a * c), l = 0; l < h + 1; l++) {
|
|
10033
|
-
var
|
|
10034
|
-
i.fillRect(
|
|
10033
|
+
var x = Math.floor(-p + l * c);
|
|
10034
|
+
i.fillRect(x, u, 2 * p, 1), i.fillRect(u, x, 1, 2 * p);
|
|
10035
10035
|
}
|
|
10036
10036
|
break;
|
|
10037
10037
|
case "dots":
|
|
@@ -10057,14 +10057,14 @@ const Ss = () => {
|
|
|
10057
10057
|
},
|
|
10058
10058
|
drawTexture: function(i, n, s) {
|
|
10059
10059
|
i.fillStyle = this.environmentData.groundColor, i.fillRect(0, 0, n, n);
|
|
10060
|
-
var a, l, u, h, c, p,
|
|
10060
|
+
var a, l, u, h, c, p, x;
|
|
10061
10061
|
if (this.environmentData.groundTexture != "none")
|
|
10062
10062
|
switch (this.environmentData.groundTexture) {
|
|
10063
10063
|
case "checkerboard":
|
|
10064
10064
|
i.fillStyle = this.environmentData.groundColor2;
|
|
10065
|
-
var
|
|
10066
|
-
for (a = 0; a <
|
|
10067
|
-
for (var T = 0; T <
|
|
10065
|
+
var y = Math.floor(s / 2), E = n / (s / 2);
|
|
10066
|
+
for (a = 0; a < y + 1; a += 2)
|
|
10067
|
+
for (var T = 0; T < y + 1; T++)
|
|
10068
10068
|
i.fillRect(
|
|
10069
10069
|
Math.floor((a + T % 2) * E),
|
|
10070
10070
|
Math.floor(T * E),
|
|
@@ -10080,7 +10080,7 @@ const Ss = () => {
|
|
|
10080
10080
|
case "noise":
|
|
10081
10081
|
p = i.getImageData(0, 0, n, n), c = p.data, u = new THREE.Color(this.environmentData.groundColor), h = new THREE.Color(this.environmentData.groundColor2);
|
|
10082
10082
|
var C = new THREE.Color(h.r - u.r, h.g - u.g, h.b - u.b), O = new t();
|
|
10083
|
-
for (a = 0, T = 0,
|
|
10083
|
+
for (a = 0, T = 0, x = c.length; a < x; a += 4, T++) {
|
|
10084
10084
|
var _ = O.noise(T % n / n * 3, T / n / n * 3, 0);
|
|
10085
10085
|
c[a + 0] = Math.floor(255 * (u.r + C.r * _)), c[a + 1] = Math.floor(255 * (u.g + C.g * _)), c[a + 2] = Math.floor(255 * (u.b + C.b * _));
|
|
10086
10086
|
}
|
|
@@ -10118,19 +10118,19 @@ const Ss = () => {
|
|
|
10118
10118
|
return null;
|
|
10119
10119
|
for (var s, a, l, u = [], h = this, c = 0; c < i.length; c++)
|
|
10120
10120
|
if (i[c].type == "lathe") {
|
|
10121
|
-
var p = -99999,
|
|
10121
|
+
var p = -99999, x = [];
|
|
10122
10122
|
for (l = i[c].vertices, s = 0; s < l.length; s += 2)
|
|
10123
|
-
|
|
10124
|
-
a = new THREE.LatheGeometry(
|
|
10123
|
+
x.push(new THREE.Vector2(l[s], l[s + 1])), l[s + 1] > p && (p = l[s + 1]);
|
|
10124
|
+
a = new THREE.LatheGeometry(x, i[c].segments || 8), a.applyMatrix4(
|
|
10125
10125
|
new THREE.Matrix4().makeRotationFromEuler(
|
|
10126
10126
|
new THREE.Euler(-Math.PI, 0, 0)
|
|
10127
10127
|
)
|
|
10128
10128
|
), a.applyMatrix4(new THREE.Matrix4().makeTranslation(0, p, 0)), a = a.toNonIndexed(), u.push(a);
|
|
10129
10129
|
} else if (i[c].type == "extrude") {
|
|
10130
|
-
var
|
|
10130
|
+
var y = new THREE.Shape();
|
|
10131
10131
|
for (l = i[c].vertices, s = 0; s < l.length; s += 2)
|
|
10132
|
-
s == 0 ?
|
|
10133
|
-
a = new THREE.ExtrudeGeometry(
|
|
10132
|
+
s == 0 ? y.moveTo(l[s], l[s + 1]) : y.lineTo(l[s], l[s + 1]);
|
|
10133
|
+
a = new THREE.ExtrudeGeometry(y, { amount: 1, bevelEnabled: !1 }), a.applyMatrix4(
|
|
10134
10134
|
new THREE.Matrix4().makeRotationFromEuler(
|
|
10135
10135
|
new THREE.Euler(-Math.PI / 2, 0, 0)
|
|
10136
10136
|
)
|
|
@@ -10184,11 +10184,11 @@ const Ss = () => {
|
|
|
10184
10184
|
this.environmentData.dressingVariance.x,
|
|
10185
10185
|
this.environmentData.dressingVariance.y,
|
|
10186
10186
|
this.environmentData.dressingVariance.z
|
|
10187
|
-
),
|
|
10188
|
-
u =
|
|
10189
|
-
var
|
|
10187
|
+
), x = this.random(l) < this.environmentData.dressingOnPlayArea;
|
|
10188
|
+
u = x ? 15 * this.random(l + 1) : 10 + Math.max(p.x, p.z) + 10 * this.random(l + 1) + this.random(l + 2) * this.STAGE_SIZE / 3;
|
|
10189
|
+
var y = this.random(l + 3) * Math.PI * 2, E = new THREE.Matrix4(), T = this.random(l + 4), d = this.environmentData.dressingUniformScale;
|
|
10190
10190
|
E.compose(
|
|
10191
|
-
new THREE.Vector3(Math.cos(
|
|
10191
|
+
new THREE.Vector3(Math.cos(y) * u, 0, Math.sin(y) * u),
|
|
10192
10192
|
new THREE.Quaternion().setFromAxisAngle(
|
|
10193
10193
|
new THREE.Vector3(0, 1, 0),
|
|
10194
10194
|
(this.random(l + 5) - 0.5) * p.length() * Math.PI * 2
|
|
@@ -10442,7 +10442,7 @@ const Ss = () => {
|
|
|
10442
10442
|
}, t.prototype.noise = function(i, n, s) {
|
|
10443
10443
|
var a = Math.floor(i), l = Math.floor(n), u = Math.floor(s);
|
|
10444
10444
|
i -= a, n -= l, s -= u, a &= 255, l &= 255, u &= 255;
|
|
10445
|
-
var h = this.perm[a + this.perm[l + this.perm[u]]] % 12, c = this.perm[a + this.perm[l + this.perm[u + 1]]] % 12, p = this.perm[a + this.perm[l + 1 + this.perm[u]]] % 12,
|
|
10445
|
+
var h = this.perm[a + this.perm[l + this.perm[u]]] % 12, c = this.perm[a + this.perm[l + this.perm[u + 1]]] % 12, p = this.perm[a + this.perm[l + 1 + this.perm[u]]] % 12, x = this.perm[a + this.perm[l + 1 + this.perm[u + 1]]] % 12, y = this.perm[a + 1 + this.perm[l + this.perm[u]]] % 12, E = this.perm[a + 1 + this.perm[l + this.perm[u + 1]]] % 12, T = this.perm[a + 1 + this.perm[l + 1 + this.perm[u]]] % 12, d = this.perm[a + 1 + this.perm[l + 1 + this.perm[u + 1]]] % 12, w = this.dot(this.grad3[h], i, n, s), C = this.dot(this.grad3[y], i - 1, n, s), O = this.dot(this.grad3[p], i, n - 1, s), _ = this.dot(this.grad3[T], i - 1, n - 1, s), g = this.dot(this.grad3[c], i, n, s - 1), W = this.dot(this.grad3[E], i - 1, n, s - 1), H = this.dot(this.grad3[x], i, n - 1, s - 1), k = this.dot(this.grad3[d], i - 1, n - 1, s - 1), B = this.fade(i), oe = this.fade(n), U = this.fade(s), I = this.mix(w, C, B), V = this.mix(g, W, B), J = this.mix(O, _, B), X = this.mix(H, k, B), N = this.mix(I, J, oe), de = this.mix(V, X, oe), ue = this.mix(N, de, U);
|
|
10446
10446
|
return ue;
|
|
10447
10447
|
};
|
|
10448
10448
|
}
|
|
@@ -10452,14 +10452,14 @@ function ws(r) {
|
|
|
10452
10452
|
return /* @__PURE__ */ b(Be.Fragment, { children: /* @__PURE__ */ b("a-entity", { environment: `preset: ${e};` }) });
|
|
10453
10453
|
}
|
|
10454
10454
|
const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
10455
|
-
const [t, i] =
|
|
10455
|
+
const [t, i] = Te({}), n = Ve(dr)[e];
|
|
10456
10456
|
return jn(() => {
|
|
10457
10457
|
if (n === null)
|
|
10458
10458
|
return;
|
|
10459
10459
|
const s = n.subscribeIn(i, r);
|
|
10460
10460
|
return () => s.unsubscribe();
|
|
10461
10461
|
}, [n]), t;
|
|
10462
|
-
}, Cs = ({ position: r, rotation: e, id: t, color: i, masterId: n }) => (
|
|
10462
|
+
}, Cs = ({ position: r, rotation: e, id: t, color: i, masterId: n }) => (fe(() => {
|
|
10463
10463
|
const a = document.getElementById(t), l = new Et.Quaternion().fromArray(e), u = new Et.Euler().setFromQuaternion(
|
|
10464
10464
|
l,
|
|
10465
10465
|
"YXZ"
|
|
@@ -10469,8 +10469,8 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10469
10469
|
z: -Et.MathUtils.radToDeg(u.z)
|
|
10470
10470
|
};
|
|
10471
10471
|
a.setAttribute("rotation", h);
|
|
10472
|
-
}, [e]), /* @__PURE__ */
|
|
10473
|
-
/* @__PURE__ */ b("a-sphere", { radius: "0.5", color: "#F8DF87", children: n === t ? (() => /* @__PURE__ */
|
|
10472
|
+
}, [e]), /* @__PURE__ */ te("a-entity", { position: r, id: t, children: [
|
|
10473
|
+
/* @__PURE__ */ b("a-sphere", { radius: "0.5", color: "#F8DF87", children: n === t ? (() => /* @__PURE__ */ te("a-entity", { position: "0 0.25 0", children: [
|
|
10474
10474
|
/* @__PURE__ */ b(
|
|
10475
10475
|
"a-cone",
|
|
10476
10476
|
{
|
|
@@ -10520,7 +10520,7 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10520
10520
|
position: "0 -0.6 0"
|
|
10521
10521
|
}
|
|
10522
10522
|
),
|
|
10523
|
-
/* @__PURE__ */
|
|
10523
|
+
/* @__PURE__ */ te("a-entity", { position: "-0.4 -0.4 0", children: [
|
|
10524
10524
|
/* @__PURE__ */ b(
|
|
10525
10525
|
"a-cylinder",
|
|
10526
10526
|
{
|
|
@@ -10532,7 +10532,7 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10532
10532
|
),
|
|
10533
10533
|
/* @__PURE__ */ b("a-sphere", { radius: "0.15", color: "#F8DF87", position: "0 -0.6 0" })
|
|
10534
10534
|
] }),
|
|
10535
|
-
/* @__PURE__ */
|
|
10535
|
+
/* @__PURE__ */ te("a-entity", { position: "0.4 -0.4 0", children: [
|
|
10536
10536
|
/* @__PURE__ */ b(
|
|
10537
10537
|
"a-cylinder",
|
|
10538
10538
|
{
|
|
@@ -10544,7 +10544,7 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10544
10544
|
),
|
|
10545
10545
|
/* @__PURE__ */ b("a-sphere", { radius: "0.15", color: "#F8DF87", position: "0 -0.6 0" })
|
|
10546
10546
|
] }),
|
|
10547
|
-
/* @__PURE__ */
|
|
10547
|
+
/* @__PURE__ */ te("a-entity", { position: "-0.15 -1 0", children: [
|
|
10548
10548
|
/* @__PURE__ */ b(
|
|
10549
10549
|
"a-cylinder",
|
|
10550
10550
|
{
|
|
@@ -10556,7 +10556,7 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10556
10556
|
),
|
|
10557
10557
|
/* @__PURE__ */ b("a-sphere", { radius: "0.25", color: "#F8DF87", position: "0 -0.8 0" })
|
|
10558
10558
|
] }),
|
|
10559
|
-
/* @__PURE__ */
|
|
10559
|
+
/* @__PURE__ */ te("a-entity", { position: "0.15 -1 0", children: [
|
|
10560
10560
|
/* @__PURE__ */ b(
|
|
10561
10561
|
"a-cylinder",
|
|
10562
10562
|
{
|
|
@@ -10569,7 +10569,7 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10569
10569
|
/* @__PURE__ */ b("a-sphere", { radius: "0.25", color: "#F8DF87", position: "0 -0.8 0" })
|
|
10570
10570
|
] })
|
|
10571
10571
|
] })), Es = 109, Ts = ({ wssb: r = "shared" }) => {
|
|
10572
|
-
const e =
|
|
10572
|
+
const e = Ve(dr)[r], { histogram: t } = Ve(Rt).data, i = (n) => {
|
|
10573
10573
|
switch (n.keyCode) {
|
|
10574
10574
|
case Es:
|
|
10575
10575
|
e.send({
|
|
@@ -10581,7 +10581,7 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10581
10581
|
});
|
|
10582
10582
|
}
|
|
10583
10583
|
};
|
|
10584
|
-
return
|
|
10584
|
+
return fe(() => (window.addEventListener("keypress", i), () => {
|
|
10585
10585
|
window.removeEventListener("keypress", i);
|
|
10586
10586
|
}), []), /* @__PURE__ */ b(tn, {});
|
|
10587
10587
|
}, As = 105, ks = 106, Ps = 107, _s = 108, Os = 117, Rs = 111, Gi = /* @__PURE__ */ new Map([
|
|
@@ -10613,7 +10613,7 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10613
10613
|
break;
|
|
10614
10614
|
}
|
|
10615
10615
|
}, Ds = ({ wssb: r = "shared" }) => {
|
|
10616
|
-
const e =
|
|
10616
|
+
const e = Ve(dr)[r], t = or("axisScalingLatest", r), i = or("axisScaling", r), n = (s) => {
|
|
10617
10617
|
if (!Gi.has(s.keyCode))
|
|
10618
10618
|
return;
|
|
10619
10619
|
let a = Gi.get(s.keyCode);
|
|
@@ -10624,19 +10624,19 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10624
10624
|
}
|
|
10625
10625
|
});
|
|
10626
10626
|
};
|
|
10627
|
-
return
|
|
10627
|
+
return fe(() => {
|
|
10628
10628
|
i.payload !== void 0 && Object.keys(i.payload.axisMap).forEach((s) => {
|
|
10629
10629
|
for (let a = 0; a < i.payload.axisMap[s]; a++)
|
|
10630
10630
|
Ki(s);
|
|
10631
10631
|
});
|
|
10632
|
-
}, [i.payload]),
|
|
10632
|
+
}, [i.payload]), fe(() => {
|
|
10633
10633
|
t.payload !== void 0 && Ki(t.payload.latestAxis);
|
|
10634
|
-
}, [t.payload]),
|
|
10634
|
+
}, [t.payload]), fe(() => (window.addEventListener("keypress", n), () => {
|
|
10635
10635
|
window.removeEventListener("keypress", n);
|
|
10636
10636
|
}), []), /* @__PURE__ */ b("div", {});
|
|
10637
10637
|
}, zs = ({ wssb: r = "shared" }) => {
|
|
10638
|
-
const [e, t] =
|
|
10639
|
-
return
|
|
10638
|
+
const [e, t] = Te(0), i = Ve(dr)[r];
|
|
10639
|
+
return fe(() => {
|
|
10640
10640
|
const n = document.getElementById("camera"), s = new Et.Vector3(), a = new Et.Quaternion();
|
|
10641
10641
|
n.object3D.getWorldPosition(s);
|
|
10642
10642
|
const l = setInterval(() => {
|
|
@@ -10649,29 +10649,29 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10649
10649
|
}), t((u) => u + 1);
|
|
10650
10650
|
}, 100);
|
|
10651
10651
|
return () => clearInterval(l);
|
|
10652
|
-
}, [e]), /* @__PURE__ */
|
|
10652
|
+
}, [e]), /* @__PURE__ */ te("a-entity", { children: [
|
|
10653
10653
|
/* @__PURE__ */ b(Ts, {}),
|
|
10654
10654
|
/* @__PURE__ */ b(Ds, {})
|
|
10655
10655
|
] });
|
|
10656
10656
|
}, $s = ({ wssb: r = "shared" }) => {
|
|
10657
|
-
|
|
10658
|
-
const e = or("move", r), t = or("ws", r), i = or("master", r), [n, s] =
|
|
10659
|
-
return
|
|
10657
|
+
Ve(dr)[r];
|
|
10658
|
+
const e = or("move", r), t = or("ws", r), i = or("master", r), [n, s] = Te([]), [a, l] = Te(null), [u, h] = Te("");
|
|
10659
|
+
return fe(() => {
|
|
10660
10660
|
e.payload !== void 0 && (e.payload.clients.length > 0 ? s(e.payload.clients) : s([]));
|
|
10661
|
-
}, [e.payload]),
|
|
10661
|
+
}, [e.payload]), fe(() => {
|
|
10662
10662
|
t.payload !== void 0 && h(t.payload.id);
|
|
10663
|
-
}, [t.payload]),
|
|
10663
|
+
}, [t.payload]), fe(() => {
|
|
10664
10664
|
i.payload !== void 0 && l(i.payload.master);
|
|
10665
|
-
}, [i.payload]), /* @__PURE__ */
|
|
10665
|
+
}, [i.payload]), /* @__PURE__ */ te("a-entity", { children: [
|
|
10666
10666
|
/* @__PURE__ */ b(zs, {}),
|
|
10667
10667
|
n.filter((c) => c.id !== u).map((c, p) => {
|
|
10668
|
-
const
|
|
10668
|
+
const x = c.position, y = c.rotation, E = x.join(" ");
|
|
10669
10669
|
return /* @__PURE__ */ b(
|
|
10670
10670
|
Cs,
|
|
10671
10671
|
{
|
|
10672
10672
|
id: c.id,
|
|
10673
10673
|
position: E,
|
|
10674
|
-
rotation:
|
|
10674
|
+
rotation: y,
|
|
10675
10675
|
masterId: a,
|
|
10676
10676
|
color: c.color
|
|
10677
10677
|
},
|
|
@@ -10679,23 +10679,87 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10679
10679
|
);
|
|
10680
10680
|
})
|
|
10681
10681
|
] });
|
|
10682
|
-
},
|
|
10682
|
+
}, Ms = () => {
|
|
10683
|
+
const r = Ve(Rt), e = 2;
|
|
10684
|
+
let t = 1, [i, n] = Te(s());
|
|
10685
|
+
return fe(() => {
|
|
10686
|
+
n(s);
|
|
10687
|
+
}, [r]), /* @__PURE__ */ te("a-entity", { children: [
|
|
10688
|
+
/* @__PURE__ */ b(
|
|
10689
|
+
"a-box",
|
|
10690
|
+
{
|
|
10691
|
+
position: `${i.xCenter} 0 ${-i.yStart}`,
|
|
10692
|
+
width: `${i.xWidth * e}`,
|
|
10693
|
+
height: "0.1",
|
|
10694
|
+
depth: "0.25",
|
|
10695
|
+
material: "color: white;",
|
|
10696
|
+
opacity: "1.0"
|
|
10697
|
+
}
|
|
10698
|
+
),
|
|
10699
|
+
/* @__PURE__ */ b(
|
|
10700
|
+
"a-box",
|
|
10701
|
+
{
|
|
10702
|
+
position: `${i.xStart} 0 ${-i.yCenter}`,
|
|
10703
|
+
width: `${i.yWidth * e}`,
|
|
10704
|
+
height: "0.1",
|
|
10705
|
+
depth: "0.25",
|
|
10706
|
+
rotation: "0 90 0",
|
|
10707
|
+
material: "color: white;",
|
|
10708
|
+
opacity: "1.0"
|
|
10709
|
+
}
|
|
10710
|
+
),
|
|
10711
|
+
/* @__PURE__ */ b(
|
|
10712
|
+
"a-box",
|
|
10713
|
+
{
|
|
10714
|
+
position: `${i.xCenter} 0 ${-i.yCenter + i.yWidth}`,
|
|
10715
|
+
width: `${i.xWidth * e}`,
|
|
10716
|
+
height: "0.1",
|
|
10717
|
+
depth: "0.25",
|
|
10718
|
+
material: "color: white;",
|
|
10719
|
+
opacity: "1.0"
|
|
10720
|
+
}
|
|
10721
|
+
),
|
|
10722
|
+
/* @__PURE__ */ b(
|
|
10723
|
+
"a-box",
|
|
10724
|
+
{
|
|
10725
|
+
position: `${i.xCenter - i.xWidth} 0 ${-i.yCenter}`,
|
|
10726
|
+
width: `${i.yWidth * e}`,
|
|
10727
|
+
height: "0.1",
|
|
10728
|
+
depth: "0.25",
|
|
10729
|
+
rotation: "0 90 0",
|
|
10730
|
+
material: "color: white;",
|
|
10731
|
+
opacity: "1.0"
|
|
10732
|
+
}
|
|
10733
|
+
)
|
|
10734
|
+
] });
|
|
10735
|
+
function s() {
|
|
10736
|
+
const a = t * 3 / 4, l = (r.data.histogram.fXaxis.fNbins - 1) * t * (-2 * t) - t * 3 / 4, u = (a - l) / 2, h = a - u, c = t * 3 / 4, p = (r.data.histogram.fYaxis.fNbins - 1) * t * (-2 * t) - t * 3 / 4, x = (c - p) / 2, y = c - x;
|
|
10737
|
+
return {
|
|
10738
|
+
xStart: a,
|
|
10739
|
+
xWidth: u,
|
|
10740
|
+
xCenter: h,
|
|
10741
|
+
yStart: c,
|
|
10742
|
+
yWidth: x,
|
|
10743
|
+
yCenter: y
|
|
10744
|
+
};
|
|
10745
|
+
}
|
|
10746
|
+
}, ca = ({
|
|
10683
10747
|
data: r,
|
|
10684
10748
|
states: e = null,
|
|
10685
10749
|
stores: t = null,
|
|
10686
10750
|
selectedBins: i = [],
|
|
10687
|
-
onClick: n = (
|
|
10751
|
+
onClick: n = (x) => {
|
|
10688
10752
|
console.log("click isn't defined!");
|
|
10689
10753
|
},
|
|
10690
|
-
onDbClick: s = (
|
|
10754
|
+
onDbClick: s = (x) => {
|
|
10691
10755
|
console.log("DbClick isn't be defined!");
|
|
10692
10756
|
},
|
|
10693
|
-
onHover: a = (
|
|
10757
|
+
onHover: a = (x) => {
|
|
10694
10758
|
console.log("Hover isn't be defined!");
|
|
10695
10759
|
},
|
|
10696
10760
|
onView: l = null,
|
|
10697
10761
|
onProgress: u = null,
|
|
10698
|
-
onExeCommand: h = (
|
|
10762
|
+
onExeCommand: h = (x) => {
|
|
10699
10763
|
console.log("exeCommand isn't be defined!");
|
|
10700
10764
|
},
|
|
10701
10765
|
style: c = {
|
|
@@ -10705,34 +10769,34 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10705
10769
|
},
|
|
10706
10770
|
useShared: p = !1
|
|
10707
10771
|
}) => {
|
|
10708
|
-
let
|
|
10709
|
-
return
|
|
10710
|
-
if (
|
|
10772
|
+
let x;
|
|
10773
|
+
return fe(() => {
|
|
10774
|
+
if (x = nr.getBinDistributor().subscribe((y) => {
|
|
10711
10775
|
var E, T, d;
|
|
10712
|
-
if ((
|
|
10776
|
+
if ((y == null ? void 0 : y.id) === r.id) {
|
|
10713
10777
|
const w = {
|
|
10714
|
-
intersectionAxis:
|
|
10778
|
+
intersectionAxis: y.intersect,
|
|
10715
10779
|
obj: r.histogram,
|
|
10716
10780
|
id: r.id,
|
|
10717
|
-
binId:
|
|
10781
|
+
binId: y.data.id
|
|
10718
10782
|
};
|
|
10719
|
-
switch ((E =
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10783
|
+
switch ((E = y.data) != null && E.zPos ? (w.binz = y.data.zPos, w.biny = y.data.yPos, w.binx = y.data.xPos, w.bin = r.histogram.getBin(
|
|
10784
|
+
y.data.xPos,
|
|
10785
|
+
y.data.yPos,
|
|
10786
|
+
y.data.zPos
|
|
10723
10787
|
), w.con = r.histogram.getBinContent(
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
)) : (T =
|
|
10728
|
-
|
|
10729
|
-
|
|
10788
|
+
y.data.xPos,
|
|
10789
|
+
y.data.yPos,
|
|
10790
|
+
y.data.zPos
|
|
10791
|
+
)) : (T = y.data) != null && T.yPos ? (w.biny = y.data.yPos, w.binx = y.data.xPos, w.bin = r.histogram.getBin(
|
|
10792
|
+
y.data.xPos,
|
|
10793
|
+
y.data.yPos
|
|
10730
10794
|
), w.con = r.histogram.getBinContent(
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
)) : (d =
|
|
10734
|
-
|
|
10735
|
-
)),
|
|
10795
|
+
y.data.xPos,
|
|
10796
|
+
y.data.yPos
|
|
10797
|
+
)) : (d = y.data) != null && d.xPos && (w.binx = y.data.xPos, w.bin = r.histogram.getBin(y.data.xPos), w.con = r.histogram.getBinContent(
|
|
10798
|
+
y.data.xPos
|
|
10799
|
+
)), y.event) {
|
|
10736
10800
|
case "CLICK":
|
|
10737
10801
|
n(w);
|
|
10738
10802
|
break;
|
|
@@ -10744,11 +10808,11 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10744
10808
|
break;
|
|
10745
10809
|
}
|
|
10746
10810
|
} else
|
|
10747
|
-
h(
|
|
10748
|
-
}),
|
|
10749
|
-
return () =>
|
|
10750
|
-
}, [r, e, n, s, a, h]), /* @__PURE__ */ b(Be.Fragment, { children: /* @__PURE__ */
|
|
10751
|
-
|
|
10811
|
+
h(y.command);
|
|
10812
|
+
}), x)
|
|
10813
|
+
return () => x.unsubscribe();
|
|
10814
|
+
}, [r, e, n, s, a, h]), /* @__PURE__ */ b(Be.Fragment, { children: /* @__PURE__ */ te(
|
|
10815
|
+
Rt.Provider,
|
|
10752
10816
|
{
|
|
10753
10817
|
value: {
|
|
10754
10818
|
data: {
|
|
@@ -10776,18 +10840,19 @@ const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
|
10776
10840
|
}
|
|
10777
10841
|
},
|
|
10778
10842
|
children: [
|
|
10779
|
-
/* @__PURE__ */
|
|
10843
|
+
/* @__PURE__ */ te("a-scene", { embedded: !0, style: c, children: [
|
|
10780
10844
|
/* @__PURE__ */ b(ws, { scene: e == null ? void 0 : e.scene }),
|
|
10781
10845
|
p && /* @__PURE__ */ b($s, {}),
|
|
10782
10846
|
/* @__PURE__ */ b(ps, {}),
|
|
10783
|
-
/* @__PURE__ */ b(Ss, {})
|
|
10847
|
+
/* @__PURE__ */ b(Ss, {}),
|
|
10848
|
+
/* @__PURE__ */ b(Ms, {})
|
|
10784
10849
|
] }),
|
|
10785
10850
|
!window.AFRAME.utils.device.checkHeadsetConnected() && /* @__PURE__ */ b(pn, {})
|
|
10786
10851
|
]
|
|
10787
10852
|
}
|
|
10788
10853
|
) });
|
|
10789
10854
|
};
|
|
10790
|
-
class
|
|
10855
|
+
class Hs {
|
|
10791
10856
|
constructor(e) {
|
|
10792
10857
|
Re(this, "model", null);
|
|
10793
10858
|
this.model = e;
|
|
@@ -10863,7 +10928,7 @@ class Ms {
|
|
|
10863
10928
|
return e === "a-box" || e === "a-sphere" || e === "a-text" || e === "a-circle" || e === "a-text" ? e : "a-entity";
|
|
10864
10929
|
}
|
|
10865
10930
|
}
|
|
10866
|
-
class
|
|
10931
|
+
class Is {
|
|
10867
10932
|
bannerTemplate(e, t, i) {
|
|
10868
10933
|
const n = {
|
|
10869
10934
|
x: e.positionX,
|
|
@@ -11049,22 +11114,22 @@ class Hs {
|
|
|
11049
11114
|
}
|
|
11050
11115
|
}
|
|
11051
11116
|
let bn = [];
|
|
11052
|
-
function
|
|
11117
|
+
function Ys(r) {
|
|
11053
11118
|
return bn.filter((t) => t.id === r).length !== 0;
|
|
11054
11119
|
}
|
|
11055
11120
|
function Ur(r, e, t, i, n, s, a) {
|
|
11056
11121
|
bn = mn.getBinsFromLocalStorage();
|
|
11057
|
-
const l = new
|
|
11058
|
-
let
|
|
11122
|
+
const l = new Is(), u = new Hs(e), h = new vn(a), c = {}, p = r;
|
|
11123
|
+
let x, y, E, T, d, w, C, O, _, g;
|
|
11059
11124
|
const W = "";
|
|
11060
11125
|
let H, k = 0;
|
|
11061
11126
|
const B = i + s > t.fXaxis.fXmax ? t.fXaxis.fXmax : i + s, oe = n + s > t.fYaxis.fXmax ? t.fYaxis.fXmax : n + s, U = t.fXaxis.fTitle, I = t.fYaxis.fTitle, V = t.fXaxis.fLabels ? t.fXaxis.fLabels.arr : [], J = t.fYaxis.fLabels ? t.fYaxis.fLabels.arr : [];
|
|
11062
11127
|
for (let N = n; N <= oe; N++)
|
|
11063
11128
|
for (let de = i; de <= B; de++)
|
|
11064
|
-
if (
|
|
11129
|
+
if (y = t.fXaxis.GetBinCenter(de), E = t.fXaxis.GetBinLowEdge(de), T = y + (y - E), d = T - E, w = t.fYaxis.GetBinCenter(N), C = t.fYaxis.GetBinLowEdge(N), O = w + (w - C), _ = O - C, H = t.getBinContent(de, N), g = Bs(H, t.fMaximum), x = g / 2, g > 0) {
|
|
11065
11130
|
const ue = h.getBinColor(g), Ce = E + "th2" + T + "th2" + C + "th2" + O;
|
|
11066
|
-
let
|
|
11067
|
-
|
|
11131
|
+
let Ae;
|
|
11132
|
+
Ys(Ce) ? Ae = h.getSecondaryAccentColor() : Ae = ue;
|
|
11068
11133
|
const Ie = `id: ${Ce};
|
|
11069
11134
|
content: ${g};
|
|
11070
11135
|
color: ${ue};
|
|
@@ -11076,16 +11141,16 @@ function Ur(r, e, t, i, n, s, a) {
|
|
|
11076
11141
|
yMin: ${C};
|
|
11077
11142
|
xMax: ${T};
|
|
11078
11143
|
yMax: ${O};
|
|
11079
|
-
xCenter: ${
|
|
11144
|
+
xCenter: ${y};
|
|
11080
11145
|
yCenter: ${w};
|
|
11081
11146
|
xWidth: ${d};
|
|
11082
11147
|
yWidth: ${_};
|
|
11083
|
-
markedColor: ${
|
|
11148
|
+
markedColor: ${Ae};
|
|
11084
11149
|
selectColor: ${h.getSecondaryAccentColor()};
|
|
11085
11150
|
axisX: ${h.getAxisColor("x")};
|
|
11086
11151
|
axisY: ${h.getAxisColor("y")};
|
|
11087
11152
|
axisZ: ${h.getAxisColor("z")}`;
|
|
11088
|
-
c.id = Ce, c.positionX = E, c.positionY =
|
|
11153
|
+
c.id = Ce, c.positionX = E, c.positionY = x, c.positionZ = C, c.scaleX = d / 2, c.scaleY = g, c.scaleZ = _ / 2, c.color = Ae, c.class = "clickable", c.data = Ie, e.bins.attributes[k] = l.binTemplate(c), u.updateElement(k, p, "bins", "a-box"), k++;
|
|
11089
11154
|
}
|
|
11090
11155
|
u.deleteUnnecessaryElements(k, ["bins"]), c.id = 1500 + k, c.positionX = B + 0.5, c.positionY = 0, c.positionZ = oe + 0.5, c.rotationX = 270, c.rotationY = 360, c.rotationZ = 0, c.width = 2, c.height = 2, c.value = "0", c.color = h.getAxisColor("y"), e.normalXAxis.attributes[0] = l.axisTemplate(c), u.updateElement(0, p, "normalXAxis", "a-entity"), c.positionZ = n - 2.5, c.rotationX = 270, c.rotationY = 180, e.reversedYAxis.attributes[0] = l.axisTemplate(c), u.updateElement(0, p, "reversedYAxis", "a-entity"), c.positionX = i - 2.5, c.positionZ = oe + 0.5, e.normalYAxis.attributes[0] = l.axisTemplate(c), u.updateElement(0, p, "normalYAxis", "a-entity"), c.positionZ = n - 2.5, c.rotationY = 180, e.reversedXAxis.attributes[0] = l.axisTemplate(c), u.updateElement(0, p, "reversedXAxis", "a-entity"), k = 1;
|
|
11091
11156
|
for (let N = n; N <= oe; N++)
|
|
@@ -11113,9 +11178,9 @@ function Ur(r, e, t, i, n, s, a) {
|
|
|
11113
11178
|
const X = {};
|
|
11114
11179
|
X.positionX = 0, X.positionY = 0, X.positionZ = -1, X.width = 170, X.height = 30, X.color = "white", e.titles.attributes[0] = l.titleTemplate(c, X), u.updateElement(0, p, "titles", "a-entity"), c.positionX = i + 120, c.positionZ = n - 70, c.rotationY = 330, c.title = t.fName, e.titles.attributes[1] = l.titleTemplate(c, X), u.updateElement(1, p, "titles", "a-entity");
|
|
11115
11180
|
}
|
|
11116
|
-
const
|
|
11181
|
+
const Bs = (r, e) => r <= 0 ? 0 : (e > 1 && (r = Math.round((r / e + Number.EPSILON) * 100) / 100), r);
|
|
11117
11182
|
var Mr;
|
|
11118
|
-
class
|
|
11183
|
+
class Fs {
|
|
11119
11184
|
constructor(e) {
|
|
11120
11185
|
F(this, Mr, void 0);
|
|
11121
11186
|
Y(this, Mr, e);
|
|
@@ -11143,14 +11208,14 @@ class Bs {
|
|
|
11143
11208
|
for (let h = 1; h <= 20; h++)
|
|
11144
11209
|
for (let c = 1; c <= 20; c++) {
|
|
11145
11210
|
const p = a.getBin(c, h, u);
|
|
11146
|
-
let
|
|
11147
|
-
|
|
11211
|
+
let x = 0;
|
|
11212
|
+
x = l, a.setBinContent(p, x), l += s;
|
|
11148
11213
|
}
|
|
11149
11214
|
return a.fXaxis.fTitle = "x Axis", a.fYaxis.fTitle = "y Axis", a.fZaxis.fTitle = "z Axis", a.fName = "You don't have a valid file path", a.fTitle = "This is a TH3 histogram demo", a.fMaximum = l, a;
|
|
11150
11215
|
}
|
|
11151
11216
|
}
|
|
11152
11217
|
Mr = new WeakMap();
|
|
11153
|
-
const
|
|
11218
|
+
const ua = Le.registerComponent("th2-histogram", {
|
|
11154
11219
|
schema: {
|
|
11155
11220
|
section: { type: "string" },
|
|
11156
11221
|
filename: { type: "string" },
|
|
@@ -11176,7 +11241,7 @@ const ca = Le.registerComponent("th2-histogram", {
|
|
|
11176
11241
|
},
|
|
11177
11242
|
init: function() {
|
|
11178
11243
|
const r = this.el;
|
|
11179
|
-
gn(this.schema, r), document.addEventListener("keydown", Tr), document.addEventListener("keyup", Ar), this.demoHistogramService = new
|
|
11244
|
+
gn(this.schema, r), document.addEventListener("keydown", Tr), document.addEventListener("keyup", Ar), this.demoHistogramService = new Fs(), this.localStorageService = new ui(), this.cameraService = new ur(), this.render = !1, this.histogram = null, this.model = {
|
|
11180
11245
|
bins: {
|
|
11181
11246
|
elements: [],
|
|
11182
11247
|
attributes: []
|
|
@@ -11263,7 +11328,7 @@ const ca = Le.registerComponent("th2-histogram", {
|
|
|
11263
11328
|
remove: function() {
|
|
11264
11329
|
this.subscription.unsubscribe(), document.removeEventListener("keydown", Tr), document.removeEventListener("keyup", Ar);
|
|
11265
11330
|
}
|
|
11266
|
-
}),
|
|
11331
|
+
}), da = Le.registerComponent("banner-control", {
|
|
11267
11332
|
schema: {
|
|
11268
11333
|
position: {
|
|
11269
11334
|
name: "position",
|
|
@@ -11288,7 +11353,7 @@ const ca = Le.registerComponent("th2-histogram", {
|
|
|
11288
11353
|
}
|
|
11289
11354
|
});
|
|
11290
11355
|
new ur();
|
|
11291
|
-
const
|
|
11356
|
+
const js = (r) => {
|
|
11292
11357
|
r.detail.y > 0.95 && (_e.changeHistogramSectionByOffset(
|
|
11293
11358
|
"yOffset",
|
|
11294
11359
|
"TH2",
|
|
@@ -11340,7 +11405,7 @@ const Fs = (r) => {
|
|
|
11340
11405
|
!1,
|
|
11341
11406
|
!1
|
|
11342
11407
|
));
|
|
11343
|
-
},
|
|
11408
|
+
}, Ns = (r) => {
|
|
11344
11409
|
r.detail.y > 0.95 && (_e.changeHistogramSectionByOffset(
|
|
11345
11410
|
"yOffset",
|
|
11346
11411
|
"TH2",
|
|
@@ -11392,19 +11457,19 @@ const Fs = (r) => {
|
|
|
11392
11457
|
!1,
|
|
11393
11458
|
!0
|
|
11394
11459
|
));
|
|
11395
|
-
},
|
|
11460
|
+
}, Ls = (r) => {
|
|
11396
11461
|
r.detail.y > 0.1 && we.next({
|
|
11397
11462
|
scale: -0.1
|
|
11398
11463
|
}), r.detail.y < -0.1 && we.next({
|
|
11399
11464
|
scale: 0.1
|
|
11400
11465
|
});
|
|
11401
|
-
}, Ls = (r) => {
|
|
11402
|
-
r.detail.y > 0.1 ? we.next({ source: "next" }) : r.detail.y < -0.1 && we.next({ source: "prev" });
|
|
11403
11466
|
}, Vs = (r) => {
|
|
11404
|
-
r.detail.y > 0.1 ? we.next({
|
|
11467
|
+
r.detail.y > 0.1 ? we.next({ source: "next" }) : r.detail.y < -0.1 && we.next({ source: "prev" });
|
|
11405
11468
|
}, Xs = (r) => {
|
|
11406
|
-
r.detail.y > 0.1 ? we.next({
|
|
11469
|
+
r.detail.y > 0.1 ? we.next({ theme: "next" }) : r.detail.y < -0.1 && we.next({ theme: "prev" });
|
|
11407
11470
|
}, Ws = (r) => {
|
|
11471
|
+
r.detail.y > 0.1 ? we.next({ range: "next" }) : r.detail.y < -0.1 && we.next({ range: "prev" });
|
|
11472
|
+
}, Us = (r) => {
|
|
11408
11473
|
r.detail.y > 0.1 ? we.next({ scene: "next" }) : r.detail.y < -0.1 && we.next({ scene: "prev" });
|
|
11409
11474
|
}, qi = (r) => {
|
|
11410
11475
|
r === "Y" ? we.next({ tool: "next" }) : we.next({ tool: "prev" });
|
|
@@ -11424,28 +11489,28 @@ const Fs = (r) => {
|
|
|
11424
11489
|
);
|
|
11425
11490
|
}, xn = () => {
|
|
11426
11491
|
new ur();
|
|
11427
|
-
}, Us = (r) => {
|
|
11428
|
-
Fs(r);
|
|
11429
11492
|
}, Zs = (r) => {
|
|
11430
11493
|
js(r);
|
|
11431
|
-
}, Gs = () => {
|
|
11432
|
-
|
|
11494
|
+
}, Gs = (r) => {
|
|
11495
|
+
Ns(r);
|
|
11433
11496
|
}, Ks = () => {
|
|
11434
|
-
Er.
|
|
11497
|
+
Er.saveSelectedBinToLocalStorage(), At() === 0 && we.next({ binData: Er });
|
|
11435
11498
|
}, qs = () => {
|
|
11436
|
-
|
|
11499
|
+
Er.deleteBinFromLocalStorage();
|
|
11437
11500
|
}, Js = () => {
|
|
11438
|
-
_e.changeHistogramFunction("
|
|
11501
|
+
_e.changeHistogramFunction("feet", "TH2");
|
|
11439
11502
|
}, Qs = () => {
|
|
11440
|
-
|
|
11503
|
+
_e.changeHistogramFunction("default", "TH2");
|
|
11441
11504
|
}, ea = () => {
|
|
11442
|
-
Ot.
|
|
11505
|
+
Ot.setVisibilityOfBanners("oculus");
|
|
11443
11506
|
}, ta = () => {
|
|
11507
|
+
Ot.setUserState();
|
|
11508
|
+
}, ra = () => {
|
|
11444
11509
|
Ot.shiftBanners();
|
|
11445
|
-
},
|
|
11510
|
+
}, ia = (r) => {
|
|
11446
11511
|
r.forEach((e) => {
|
|
11447
11512
|
});
|
|
11448
|
-
},
|
|
11513
|
+
}, ha = Le.registerComponent("left-controller-logging", {
|
|
11449
11514
|
init: function() {
|
|
11450
11515
|
let r = !1, e = !0, t = !1;
|
|
11451
11516
|
const i = this.el;
|
|
@@ -11456,10 +11521,10 @@ const Fs = (r) => {
|
|
|
11456
11521
|
}), i.addEventListener("thumbstickdown", () => {
|
|
11457
11522
|
}), i.addEventListener("thumbstickmoved", (n) => {
|
|
11458
11523
|
if (r && At() === 2)
|
|
11459
|
-
|
|
11524
|
+
Ls(n);
|
|
11460
11525
|
else if (r && At() === 3) {
|
|
11461
11526
|
if (e) {
|
|
11462
|
-
e = !1,
|
|
11527
|
+
e = !1, Vs(n);
|
|
11463
11528
|
const s = setTimeout(() => {
|
|
11464
11529
|
e = !0;
|
|
11465
11530
|
}, 450);
|
|
@@ -11467,7 +11532,7 @@ const Fs = (r) => {
|
|
|
11467
11532
|
}
|
|
11468
11533
|
} else if (r && At() === 4) {
|
|
11469
11534
|
if (e) {
|
|
11470
|
-
e = !1,
|
|
11535
|
+
e = !1, Xs(n);
|
|
11471
11536
|
const s = setTimeout(() => {
|
|
11472
11537
|
e = !0;
|
|
11473
11538
|
}, 450);
|
|
@@ -11475,23 +11540,23 @@ const Fs = (r) => {
|
|
|
11475
11540
|
}
|
|
11476
11541
|
} else if (r && At() === 5) {
|
|
11477
11542
|
if (e) {
|
|
11478
|
-
e = !1,
|
|
11543
|
+
e = !1, Ws(n);
|
|
11479
11544
|
const s = setTimeout(() => {
|
|
11480
11545
|
e = !0;
|
|
11481
11546
|
}, 450);
|
|
11482
11547
|
return () => clearTimeout(s);
|
|
11483
11548
|
}
|
|
11484
11549
|
} else if (r && At() === 6 && e) {
|
|
11485
|
-
e = !1,
|
|
11550
|
+
e = !1, Us(n);
|
|
11486
11551
|
const s = setTimeout(() => {
|
|
11487
11552
|
e = !0;
|
|
11488
11553
|
}, 600);
|
|
11489
11554
|
return () => clearTimeout(s);
|
|
11490
11555
|
}
|
|
11491
11556
|
}), i.addEventListener("ybuttondown", () => {
|
|
11492
|
-
r ? t || (t = !0, qi("Y")) :
|
|
11557
|
+
r ? t || (t = !0, qi("Y")) : ea();
|
|
11493
11558
|
}), i.addEventListener("xbuttondown", () => {
|
|
11494
|
-
r ? t || (t = !0, qi("X")) :
|
|
11559
|
+
r ? t || (t = !0, qi("X")) : ta();
|
|
11495
11560
|
}), i.addEventListener("ybuttonup", () => {
|
|
11496
11561
|
t = !1;
|
|
11497
11562
|
}), i.addEventListener("xbuttonup", () => {
|
|
@@ -11501,7 +11566,7 @@ const Fs = (r) => {
|
|
|
11501
11566
|
update: function() {
|
|
11502
11567
|
xn();
|
|
11503
11568
|
}
|
|
11504
|
-
}),
|
|
11569
|
+
}), fa = Le.registerComponent("right-controller-logging", {
|
|
11505
11570
|
init: function() {
|
|
11506
11571
|
let r = !1;
|
|
11507
11572
|
const e = this.el;
|
|
@@ -11510,36 +11575,36 @@ const Fs = (r) => {
|
|
|
11510
11575
|
}), e.addEventListener("gripup", () => {
|
|
11511
11576
|
r = !1;
|
|
11512
11577
|
}), e.addEventListener("thumbstickmoved", (t) => {
|
|
11513
|
-
r ?
|
|
11578
|
+
r ? Zs(t) : Gs(t);
|
|
11514
11579
|
}), e.addEventListener("bbuttondown", () => {
|
|
11515
11580
|
Ji(!r);
|
|
11516
11581
|
}), e.addEventListener("abuttondown", () => {
|
|
11517
11582
|
Qi(!r);
|
|
11518
11583
|
}), e.addEventListener("thumbstickdown", () => {
|
|
11519
|
-
r ?
|
|
11584
|
+
r ? Js() : Qs();
|
|
11520
11585
|
}), e.addEventListener("triggerdown", () => {
|
|
11521
|
-
r ? (
|
|
11586
|
+
r ? (Ks(), ia()) : (qs(), ra());
|
|
11522
11587
|
});
|
|
11523
11588
|
},
|
|
11524
11589
|
update: function() {
|
|
11525
11590
|
xn();
|
|
11526
11591
|
}
|
|
11527
11592
|
});
|
|
11528
|
-
var
|
|
11529
|
-
class
|
|
11593
|
+
var Zt;
|
|
11594
|
+
class na {
|
|
11530
11595
|
constructor() {
|
|
11531
|
-
F(this,
|
|
11532
|
-
Y(this,
|
|
11596
|
+
F(this, Zt, void 0);
|
|
11597
|
+
Y(this, Zt, new wt());
|
|
11533
11598
|
}
|
|
11534
11599
|
sendSourceSubject(e) {
|
|
11535
|
-
o(this,
|
|
11600
|
+
o(this, Zt).next(e);
|
|
11536
11601
|
}
|
|
11537
11602
|
getSourceSettingSubject() {
|
|
11538
|
-
return o(this,
|
|
11603
|
+
return o(this, Zt).asObservable();
|
|
11539
11604
|
}
|
|
11540
11605
|
}
|
|
11541
|
-
|
|
11542
|
-
const
|
|
11606
|
+
Zt = new WeakMap();
|
|
11607
|
+
const pa = new na(), ma = Le.registerComponent("oculus-thumbstick-movement-controller", {
|
|
11543
11608
|
schema: {
|
|
11544
11609
|
acceleration: { type: "number", default: 40 },
|
|
11545
11610
|
fly: { type: "boolean", default: !1 },
|
|
@@ -11623,14 +11688,14 @@ const fa = new ia(), pa = Le.registerComponent("oculus-thumbstick-movement-contr
|
|
|
11623
11688
|
remove: function() {
|
|
11624
11689
|
this.el.removeEventListener("thumbstickmoved", this.thumbstickMoved);
|
|
11625
11690
|
}
|
|
11626
|
-
}),
|
|
11691
|
+
}), ga = new ui();
|
|
11627
11692
|
export {
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11693
|
+
da as Banner,
|
|
11694
|
+
ua as HistogramTH2,
|
|
11695
|
+
ha as LeftController,
|
|
11696
|
+
ca as NdmVrScene,
|
|
11697
|
+
fa as RightController,
|
|
11698
|
+
ma as ThumbsticController,
|
|
11699
|
+
ga as ndmVrStorage,
|
|
11700
|
+
pa as sourceSettingSubject
|
|
11636
11701
|
};
|