@ndmspc/ndmvr 0.20230323.0 → 0.20230323.1
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 +901 -900
- package/dist/ndmvr.umd.js +53 -53
- package/package.json +1 -1
package/dist/ndmvr.es.js
CHANGED
|
@@ -21,15 +21,15 @@ function Yn() {
|
|
|
21
21
|
return Jt;
|
|
22
22
|
Ei = 1;
|
|
23
23
|
var r = Me, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, o = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
24
|
-
function a(
|
|
25
|
-
var
|
|
26
|
-
d !== void 0 && (
|
|
27
|
-
for (
|
|
28
|
-
i.call(h,
|
|
29
|
-
if (
|
|
30
|
-
for (
|
|
31
|
-
p[
|
|
32
|
-
return { $$typeof: e, type:
|
|
24
|
+
function a(l, h, d) {
|
|
25
|
+
var c, p = {}, v = null, b = null;
|
|
26
|
+
d !== void 0 && (v = "" + d), h.key !== void 0 && (v = "" + h.key), h.ref !== void 0 && (b = h.ref);
|
|
27
|
+
for (c in h)
|
|
28
|
+
i.call(h, c) && !s.hasOwnProperty(c) && (p[c] = h[c]);
|
|
29
|
+
if (l && l.defaultProps)
|
|
30
|
+
for (c in h = l.defaultProps, h)
|
|
31
|
+
p[c] === void 0 && (p[c] = h[c]);
|
|
32
|
+
return { $$typeof: e, type: l, key: v, ref: b, props: p, _owner: o.current };
|
|
33
33
|
}
|
|
34
34
|
return Jt.Fragment = t, Jt.jsx = a, Jt.jsxs = a, Jt;
|
|
35
35
|
}
|
|
@@ -37,44 +37,44 @@ var Qt = {};
|
|
|
37
37
|
var Ti;
|
|
38
38
|
function Nn() {
|
|
39
39
|
return Ti || (Ti = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var r = Me, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"),
|
|
41
|
-
function
|
|
40
|
+
var r = Me, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), _ = Symbol.iterator, x = "@@iterator";
|
|
41
|
+
function u(f) {
|
|
42
42
|
if (f === null || typeof f != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var
|
|
45
|
-
return typeof
|
|
44
|
+
var T = _ && f[_] || f[x];
|
|
45
|
+
return typeof T == "function" ? T : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var S = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
48
|
function O(f) {
|
|
49
49
|
{
|
|
50
|
-
for (var
|
|
50
|
+
for (var T = arguments.length, P = new Array(T > 1 ? T - 1 : 0), Z = 1; Z < T; Z++)
|
|
51
51
|
P[Z - 1] = arguments[Z];
|
|
52
52
|
I("error", f, P);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function I(f,
|
|
55
|
+
function I(f, T, P) {
|
|
56
56
|
{
|
|
57
|
-
var Z =
|
|
58
|
-
de !== "" && (
|
|
57
|
+
var Z = S.ReactDebugCurrentFrame, de = Z.getStackAddendum();
|
|
58
|
+
de !== "" && (T += "%s", P = P.concat([de]));
|
|
59
59
|
var Ee = P.map(function(ce) {
|
|
60
60
|
return String(ce);
|
|
61
61
|
});
|
|
62
|
-
Ee.unshift("Warning: " +
|
|
62
|
+
Ee.unshift("Warning: " + T), Function.prototype.apply.call(console[f], console, Ee);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var R = !1,
|
|
65
|
+
var R = !1, y = !1, te = !1, q = !1, C = !1, ie;
|
|
66
66
|
ie = Symbol.for("react.module.reference");
|
|
67
67
|
function ae(f) {
|
|
68
|
-
return !!(typeof f == "string" || typeof f == "function" || f === i || f === s ||
|
|
68
|
+
return !!(typeof f == "string" || typeof f == "function" || f === i || f === s || C || f === o || f === d || f === c || q || f === b || R || y || te || typeof f == "object" && f !== null && (f.$$typeof === v || f.$$typeof === p || f.$$typeof === a || f.$$typeof === l || f.$$typeof === h || f.$$typeof === ie || f.getModuleId !== void 0));
|
|
69
69
|
}
|
|
70
|
-
function pe(f,
|
|
70
|
+
function pe(f, T, P) {
|
|
71
71
|
var Z = f.displayName;
|
|
72
72
|
if (Z)
|
|
73
73
|
return Z;
|
|
74
|
-
var de =
|
|
74
|
+
var de = T.displayName || T.name || "";
|
|
75
75
|
return de !== "" ? P + "(" + de + ")" : P;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function E(f) {
|
|
78
78
|
return f.displayName || "Context";
|
|
79
79
|
}
|
|
80
80
|
function D(f) {
|
|
@@ -95,23 +95,23 @@ function Nn() {
|
|
|
95
95
|
return "StrictMode";
|
|
96
96
|
case d:
|
|
97
97
|
return "Suspense";
|
|
98
|
-
case
|
|
98
|
+
case c:
|
|
99
99
|
return "SuspenseList";
|
|
100
100
|
}
|
|
101
101
|
if (typeof f == "object")
|
|
102
102
|
switch (f.$$typeof) {
|
|
103
|
-
case
|
|
104
|
-
var
|
|
105
|
-
return
|
|
103
|
+
case l:
|
|
104
|
+
var T = f;
|
|
105
|
+
return E(T) + ".Consumer";
|
|
106
106
|
case a:
|
|
107
107
|
var P = f;
|
|
108
|
-
return
|
|
108
|
+
return E(P._context) + ".Provider";
|
|
109
109
|
case h:
|
|
110
110
|
return pe(f, f.render, "ForwardRef");
|
|
111
111
|
case p:
|
|
112
112
|
var Z = f.displayName || null;
|
|
113
113
|
return Z !== null ? Z : D(f.type) || "Memo";
|
|
114
|
-
case
|
|
114
|
+
case v: {
|
|
115
115
|
var de = f, Ee = de._payload, ce = de._init;
|
|
116
116
|
try {
|
|
117
117
|
return D(ce(Ee));
|
|
@@ -184,8 +184,8 @@ function Nn() {
|
|
|
184
184
|
Y < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var m =
|
|
188
|
-
function
|
|
187
|
+
var m = S.ReactCurrentDispatcher, J;
|
|
188
|
+
function A(f, T, P) {
|
|
189
189
|
{
|
|
190
190
|
if (J === void 0)
|
|
191
191
|
try {
|
|
@@ -203,7 +203,7 @@ function Nn() {
|
|
|
203
203
|
var re = typeof WeakMap == "function" ? WeakMap : Map;
|
|
204
204
|
K = new re();
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function w(f, T) {
|
|
207
207
|
if (!f || me)
|
|
208
208
|
return "";
|
|
209
209
|
{
|
|
@@ -218,7 +218,7 @@ function Nn() {
|
|
|
218
218
|
var Ee;
|
|
219
219
|
Ee = m.current, m.current = null, z();
|
|
220
220
|
try {
|
|
221
|
-
if (
|
|
221
|
+
if (T) {
|
|
222
222
|
var ce = function() {
|
|
223
223
|
throw Error();
|
|
224
224
|
};
|
|
@@ -271,54 +271,54 @@ function Nn() {
|
|
|
271
271
|
} finally {
|
|
272
272
|
me = !1, m.current = Ee, L(), Error.prepareStackTrace = de;
|
|
273
273
|
}
|
|
274
|
-
var zt = f ? f.displayName || f.name : "", xi = zt ?
|
|
274
|
+
var zt = f ? f.displayName || f.name : "", xi = zt ? A(zt) : "";
|
|
275
275
|
return typeof f == "function" && K.set(f, xi), xi;
|
|
276
276
|
}
|
|
277
|
-
function Ae(f,
|
|
278
|
-
return
|
|
277
|
+
function Ae(f, T, P) {
|
|
278
|
+
return w(f, !1);
|
|
279
279
|
}
|
|
280
280
|
function $(f) {
|
|
281
|
-
var
|
|
282
|
-
return !!(
|
|
281
|
+
var T = f.prototype;
|
|
282
|
+
return !!(T && T.isReactComponent);
|
|
283
283
|
}
|
|
284
|
-
function U(f,
|
|
284
|
+
function U(f, T, P) {
|
|
285
285
|
if (f == null)
|
|
286
286
|
return "";
|
|
287
287
|
if (typeof f == "function")
|
|
288
|
-
return
|
|
288
|
+
return w(f, $(f));
|
|
289
289
|
if (typeof f == "string")
|
|
290
|
-
return
|
|
290
|
+
return A(f);
|
|
291
291
|
switch (f) {
|
|
292
292
|
case d:
|
|
293
|
-
return
|
|
294
|
-
case
|
|
295
|
-
return
|
|
293
|
+
return A("Suspense");
|
|
294
|
+
case c:
|
|
295
|
+
return A("SuspenseList");
|
|
296
296
|
}
|
|
297
297
|
if (typeof f == "object")
|
|
298
298
|
switch (f.$$typeof) {
|
|
299
299
|
case h:
|
|
300
300
|
return Ae(f.render);
|
|
301
301
|
case p:
|
|
302
|
-
return U(f.type,
|
|
303
|
-
case
|
|
302
|
+
return U(f.type, T, P);
|
|
303
|
+
case v: {
|
|
304
304
|
var Z = f, de = Z._payload, Ee = Z._init;
|
|
305
305
|
try {
|
|
306
|
-
return U(Ee(de),
|
|
306
|
+
return U(Ee(de), T, P);
|
|
307
307
|
} catch {
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
return "";
|
|
312
312
|
}
|
|
313
|
-
var Ce = Object.prototype.hasOwnProperty, ne = {}, ze =
|
|
313
|
+
var Ce = Object.prototype.hasOwnProperty, ne = {}, ze = S.ReactDebugCurrentFrame;
|
|
314
314
|
function Ke(f) {
|
|
315
315
|
if (f) {
|
|
316
|
-
var
|
|
316
|
+
var T = f._owner, P = U(f.type, f._source, T ? T.type : null);
|
|
317
317
|
ze.setExtraStackFrame(P);
|
|
318
318
|
} else
|
|
319
319
|
ze.setExtraStackFrame(null);
|
|
320
320
|
}
|
|
321
|
-
function Ie(f,
|
|
321
|
+
function Ie(f, T, P, Z, de) {
|
|
322
322
|
{
|
|
323
323
|
var Ee = Function.call.bind(Ce);
|
|
324
324
|
for (var ce in f)
|
|
@@ -329,7 +329,7 @@ function Nn() {
|
|
|
329
329
|
var Fe = Error((Z || "React class") + ": " + P + " type `" + ce + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[ce] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
330
330
|
throw Fe.name = "Invariant Violation", Fe;
|
|
331
331
|
}
|
|
332
|
-
oe = f[ce](
|
|
332
|
+
oe = f[ce](T, ce, Z, P, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
333
333
|
} catch (He) {
|
|
334
334
|
oe = He;
|
|
335
335
|
}
|
|
@@ -343,7 +343,7 @@ function Nn() {
|
|
|
343
343
|
}
|
|
344
344
|
function Le(f) {
|
|
345
345
|
{
|
|
346
|
-
var
|
|
346
|
+
var T = typeof Symbol == "function" && Symbol.toStringTag, P = T && f[Symbol.toStringTag] || f.constructor.name || "Object";
|
|
347
347
|
return P;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
@@ -361,7 +361,7 @@ function Nn() {
|
|
|
361
361
|
if (W(f))
|
|
362
362
|
return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Le(f)), ke(f);
|
|
363
363
|
}
|
|
364
|
-
var st =
|
|
364
|
+
var st = S.ReactCurrentOwner, Je = {
|
|
365
365
|
key: !0,
|
|
366
366
|
ref: !0,
|
|
367
367
|
__self: !0,
|
|
@@ -370,30 +370,30 @@ function Nn() {
|
|
|
370
370
|
Ir = {};
|
|
371
371
|
function vn(f) {
|
|
372
372
|
if (Ce.call(f, "ref")) {
|
|
373
|
-
var
|
|
374
|
-
if (
|
|
373
|
+
var T = Object.getOwnPropertyDescriptor(f, "ref").get;
|
|
374
|
+
if (T && T.isReactWarning)
|
|
375
375
|
return !1;
|
|
376
376
|
}
|
|
377
377
|
return f.ref !== void 0;
|
|
378
378
|
}
|
|
379
379
|
function xn(f) {
|
|
380
380
|
if (Ce.call(f, "key")) {
|
|
381
|
-
var
|
|
382
|
-
if (
|
|
381
|
+
var T = Object.getOwnPropertyDescriptor(f, "key").get;
|
|
382
|
+
if (T && T.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return f.key !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function Sn(f,
|
|
388
|
-
if (typeof f.ref == "string" && st.current &&
|
|
387
|
+
function Sn(f, T) {
|
|
388
|
+
if (typeof f.ref == "string" && st.current && T && st.current.stateNode !== T) {
|
|
389
389
|
var P = D(st.current.type);
|
|
390
390
|
Ir[P] || (O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(st.current.type), f.ref), Ir[P] = !0);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
function wn(f,
|
|
393
|
+
function wn(f, T) {
|
|
394
394
|
{
|
|
395
395
|
var P = function() {
|
|
396
|
-
hi || (hi = !0, O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
396
|
+
hi || (hi = !0, O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
|
|
397
397
|
};
|
|
398
398
|
P.isReactWarning = !0, Object.defineProperty(f, "key", {
|
|
399
399
|
get: P,
|
|
@@ -401,10 +401,10 @@ function Nn() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function En(f,
|
|
404
|
+
function En(f, T) {
|
|
405
405
|
{
|
|
406
406
|
var P = function() {
|
|
407
|
-
di || (di = !0, O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
407
|
+
di || (di = !0, O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
|
|
408
408
|
};
|
|
409
409
|
P.isReactWarning = !0, Object.defineProperty(f, "ref", {
|
|
410
410
|
get: P,
|
|
@@ -412,11 +412,11 @@ function Nn() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var Tn = function(f,
|
|
415
|
+
var Tn = function(f, T, P, Z, de, Ee, ce) {
|
|
416
416
|
var oe = {
|
|
417
417
|
$$typeof: e,
|
|
418
418
|
type: f,
|
|
419
|
-
key:
|
|
419
|
+
key: T,
|
|
420
420
|
ref: P,
|
|
421
421
|
props: ce,
|
|
422
422
|
_owner: Ee
|
|
@@ -438,12 +438,12 @@ function Nn() {
|
|
|
438
438
|
value: de
|
|
439
439
|
}), Object.freeze && (Object.freeze(oe.props), Object.freeze(oe)), oe;
|
|
440
440
|
};
|
|
441
|
-
function Cn(f,
|
|
441
|
+
function Cn(f, T, P, Z, de) {
|
|
442
442
|
{
|
|
443
443
|
var Ee, ce = {}, oe = null, Fe = null;
|
|
444
|
-
P !== void 0 && (Rt(P), oe = "" + P), xn(
|
|
445
|
-
for (Ee in
|
|
446
|
-
Ce.call(
|
|
444
|
+
P !== void 0 && (Rt(P), oe = "" + P), xn(T) && (Rt(T.key), oe = "" + T.key), vn(T) && (Fe = T.ref, Sn(T, de));
|
|
445
|
+
for (Ee in T)
|
|
446
|
+
Ce.call(T, Ee) && !Je.hasOwnProperty(Ee) && (ce[Ee] = T[Ee]);
|
|
447
447
|
if (f && f.defaultProps) {
|
|
448
448
|
var He = f.defaultProps;
|
|
449
449
|
for (Ee in He)
|
|
@@ -456,10 +456,10 @@ function Nn() {
|
|
|
456
456
|
return Tn(f, oe, Fe, de, Z, st.current, ce);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
var Br =
|
|
459
|
+
var Br = S.ReactCurrentOwner, pi = S.ReactDebugCurrentFrame;
|
|
460
460
|
function Ht(f) {
|
|
461
461
|
if (f) {
|
|
462
|
-
var
|
|
462
|
+
var T = f._owner, P = U(f.type, f._source, T ? T.type : null);
|
|
463
463
|
pi.setExtraStackFrame(P);
|
|
464
464
|
} else
|
|
465
465
|
pi.setExtraStackFrame(null);
|
|
@@ -484,10 +484,10 @@ Check the render method of \`` + f + "`.";
|
|
|
484
484
|
function _n(f) {
|
|
485
485
|
{
|
|
486
486
|
if (f !== void 0) {
|
|
487
|
-
var
|
|
487
|
+
var T = f.fileName.replace(/^.*[\\\/]/, ""), P = f.lineNumber;
|
|
488
488
|
return `
|
|
489
489
|
|
|
490
|
-
Check your code at ` +
|
|
490
|
+
Check your code at ` + T + ":" + P + ".";
|
|
491
491
|
}
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
@@ -495,22 +495,22 @@ Check your code at ` + w + ":" + P + ".";
|
|
|
495
495
|
var yi = {};
|
|
496
496
|
function An(f) {
|
|
497
497
|
{
|
|
498
|
-
var
|
|
499
|
-
if (!
|
|
498
|
+
var T = mi();
|
|
499
|
+
if (!T) {
|
|
500
500
|
var P = typeof f == "string" ? f : f.displayName || f.name;
|
|
501
|
-
P && (
|
|
501
|
+
P && (T = `
|
|
502
502
|
|
|
503
503
|
Check the top-level render call using <` + P + ">.");
|
|
504
504
|
}
|
|
505
|
-
return
|
|
505
|
+
return T;
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
function gi(f,
|
|
508
|
+
function gi(f, T) {
|
|
509
509
|
{
|
|
510
510
|
if (!f._store || f._store.validated || f.key != null)
|
|
511
511
|
return;
|
|
512
512
|
f._store.validated = !0;
|
|
513
|
-
var P = An(
|
|
513
|
+
var P = An(T);
|
|
514
514
|
if (yi[P])
|
|
515
515
|
return;
|
|
516
516
|
yi[P] = !0;
|
|
@@ -518,52 +518,52 @@ Check the top-level render call using <` + P + ">.");
|
|
|
518
518
|
f && f._owner && f._owner !== Br.current && (Z = " It was passed a child from " + D(f._owner.type) + "."), Ht(f), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', P, Z), Ht(null);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function bi(f,
|
|
521
|
+
function bi(f, T) {
|
|
522
522
|
{
|
|
523
523
|
if (typeof f != "object")
|
|
524
524
|
return;
|
|
525
525
|
if (ot(f))
|
|
526
526
|
for (var P = 0; P < f.length; P++) {
|
|
527
527
|
var Z = f[P];
|
|
528
|
-
jr(Z) && gi(Z,
|
|
528
|
+
jr(Z) && gi(Z, T);
|
|
529
529
|
}
|
|
530
530
|
else if (jr(f))
|
|
531
531
|
f._store && (f._store.validated = !0);
|
|
532
532
|
else if (f) {
|
|
533
|
-
var de =
|
|
533
|
+
var de = u(f);
|
|
534
534
|
if (typeof de == "function" && de !== f.entries)
|
|
535
535
|
for (var Ee = de.call(f), ce; !(ce = Ee.next()).done; )
|
|
536
|
-
jr(ce.value) && gi(ce.value,
|
|
536
|
+
jr(ce.value) && gi(ce.value, T);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
function On(f) {
|
|
541
541
|
{
|
|
542
|
-
var
|
|
543
|
-
if (
|
|
542
|
+
var T = f.type;
|
|
543
|
+
if (T == null || typeof T == "string")
|
|
544
544
|
return;
|
|
545
545
|
var P;
|
|
546
|
-
if (typeof
|
|
547
|
-
P =
|
|
548
|
-
else if (typeof
|
|
549
|
-
P =
|
|
546
|
+
if (typeof T == "function")
|
|
547
|
+
P = T.propTypes;
|
|
548
|
+
else if (typeof T == "object" && (T.$$typeof === h || T.$$typeof === p))
|
|
549
|
+
P = T.propTypes;
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (P) {
|
|
553
|
-
var Z = D(
|
|
553
|
+
var Z = D(T);
|
|
554
554
|
Ie(P, f.props, "prop", Z, f);
|
|
555
|
-
} else if (
|
|
555
|
+
} else if (T.PropTypes !== void 0 && !Mr) {
|
|
556
556
|
Mr = !0;
|
|
557
|
-
var de = D(
|
|
557
|
+
var de = D(T);
|
|
558
558
|
O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", de || "Unknown");
|
|
559
559
|
}
|
|
560
|
-
typeof
|
|
560
|
+
typeof T.getDefaultProps == "function" && !T.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
function kn(f) {
|
|
564
564
|
{
|
|
565
|
-
for (var
|
|
566
|
-
var Z =
|
|
565
|
+
for (var T = Object.keys(f.props), P = 0; P < T.length; P++) {
|
|
566
|
+
var Z = T[P];
|
|
567
567
|
if (Z !== "children" && Z !== "key") {
|
|
568
568
|
Ht(f), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Z), Ht(null);
|
|
569
569
|
break;
|
|
@@ -572,7 +572,7 @@ Check the top-level render call using <` + P + ">.");
|
|
|
572
572
|
f.ref !== null && (Ht(f), O("Invalid attribute `ref` supplied to `React.Fragment`."), Ht(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
function vi(f,
|
|
575
|
+
function vi(f, T, P, Z, de, Ee) {
|
|
576
576
|
{
|
|
577
577
|
var ce = ae(f);
|
|
578
578
|
if (!ce) {
|
|
@@ -583,11 +583,11 @@ Check the top-level render call using <` + P + ">.");
|
|
|
583
583
|
var He;
|
|
584
584
|
f === null ? He = "null" : ot(f) ? He = "array" : f !== void 0 && f.$$typeof === e ? (He = "<" + (D(f.type) || "Unknown") + " />", oe = " Did you accidentally export a JSX literal instead of a component?") : He = typeof f, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", He, oe);
|
|
585
585
|
}
|
|
586
|
-
var De = Cn(f,
|
|
586
|
+
var De = Cn(f, T, P, de, Ee);
|
|
587
587
|
if (De == null)
|
|
588
588
|
return De;
|
|
589
589
|
if (ce) {
|
|
590
|
-
var We =
|
|
590
|
+
var We = T.children;
|
|
591
591
|
if (We !== void 0)
|
|
592
592
|
if (Z)
|
|
593
593
|
if (ot(We)) {
|
|
@@ -602,11 +602,11 @@ Check the top-level render call using <` + P + ">.");
|
|
|
602
602
|
return f === i ? kn(De) : On(De), De;
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
function Pn(f,
|
|
606
|
-
return vi(f,
|
|
605
|
+
function Pn(f, T, P) {
|
|
606
|
+
return vi(f, T, P, !0);
|
|
607
607
|
}
|
|
608
|
-
function $n(f,
|
|
609
|
-
return vi(f,
|
|
608
|
+
function $n(f, T, P) {
|
|
609
|
+
return vi(f, T, P, !1);
|
|
610
610
|
}
|
|
611
611
|
var Rn = $n, Hn = Pn;
|
|
612
612
|
Qt.Fragment = i, Qt.jsx = Rn, Qt.jsxs = Hn;
|
|
@@ -615,7 +615,7 @@ Check the top-level render call using <` + P + ">.");
|
|
|
615
615
|
(function(r) {
|
|
616
616
|
process.env.NODE_ENV === "production" ? r.exports = Yn() : r.exports = Nn();
|
|
617
617
|
})(Hr);
|
|
618
|
-
const Ln = Hr.exports.Fragment,
|
|
618
|
+
const Ln = Hr.exports.Fragment, g = Hr.exports.jsx, ee = 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;
|
|
@@ -691,8 +691,8 @@ var Wn = /* @__PURE__ */ function() {
|
|
|
691
691
|
if (this.closed = !0, this._parentOrParents = null, this._subscriptions = null, i instanceof r)
|
|
692
692
|
i.remove(this);
|
|
693
693
|
else if (i !== null)
|
|
694
|
-
for (var
|
|
695
|
-
var h = i[
|
|
694
|
+
for (var l = 0; l < i.length; ++l) {
|
|
695
|
+
var h = i[l];
|
|
696
696
|
h.remove(this);
|
|
697
697
|
}
|
|
698
698
|
if (Ur(s)) {
|
|
@@ -704,13 +704,13 @@ var Wn = /* @__PURE__ */ function() {
|
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
706
|
if (Xn(a))
|
|
707
|
-
for (var
|
|
708
|
-
var
|
|
709
|
-
if (Vn(
|
|
707
|
+
for (var l = -1, d = a.length; ++l < d; ) {
|
|
708
|
+
var c = a[l];
|
|
709
|
+
if (Vn(c))
|
|
710
710
|
try {
|
|
711
|
-
|
|
712
|
-
} catch (
|
|
713
|
-
e = e || [],
|
|
711
|
+
c.unsubscribe();
|
|
712
|
+
} catch (v) {
|
|
713
|
+
e = e || [], v instanceof mr ? e = e.concat(_i(v.errors)) : e.push(v);
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
716
|
if (e)
|
|
@@ -817,8 +817,8 @@ var xr = /* @__PURE__ */ function() {
|
|
|
817
817
|
function e(t, i, o, s) {
|
|
818
818
|
var a = r.call(this) || this;
|
|
819
819
|
a._parentSubscriber = t;
|
|
820
|
-
var
|
|
821
|
-
return Ur(i) ?
|
|
820
|
+
var l, h = a;
|
|
821
|
+
return Ur(i) ? l = i : i && (l = i.next, o = i.error, s = i.complete, i !== vr && (h = Object.create(i), Ur(h.unsubscribe) && a.add(h.unsubscribe.bind(h)), h.unsubscribe = a.unsubscribe.bind(a))), a._context = h, a._next = l, a._error = o, a._complete = s, a;
|
|
822
822
|
}
|
|
823
823
|
return e.prototype.next = function(t) {
|
|
824
824
|
if (!this.isStopped && this._next) {
|
|
@@ -925,9 +925,9 @@ var Oi = /* @__PURE__ */ function() {
|
|
|
925
925
|
var i = this;
|
|
926
926
|
return t = ki(t), new t(function(o, s) {
|
|
927
927
|
var a;
|
|
928
|
-
a = i.subscribe(function(
|
|
928
|
+
a = i.subscribe(function(l) {
|
|
929
929
|
try {
|
|
930
|
-
e(
|
|
930
|
+
e(l);
|
|
931
931
|
} catch (h) {
|
|
932
932
|
s(h), a && a.unsubscribe();
|
|
933
933
|
}
|
|
@@ -1124,80 +1124,80 @@ function ro() {
|
|
|
1124
1124
|
if ($i)
|
|
1125
1125
|
return ye;
|
|
1126
1126
|
$i = 1;
|
|
1127
|
-
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"),
|
|
1128
|
-
|
|
1129
|
-
function
|
|
1130
|
-
if (typeof
|
|
1131
|
-
var
|
|
1132
|
-
switch (
|
|
1127
|
+
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), h = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), _;
|
|
1128
|
+
_ = Symbol.for("react.module.reference");
|
|
1129
|
+
function x(u) {
|
|
1130
|
+
if (typeof u == "object" && u !== null) {
|
|
1131
|
+
var S = u.$$typeof;
|
|
1132
|
+
switch (S) {
|
|
1133
1133
|
case r:
|
|
1134
|
-
switch (
|
|
1134
|
+
switch (u = u.type, u) {
|
|
1135
1135
|
case t:
|
|
1136
1136
|
case o:
|
|
1137
1137
|
case i:
|
|
1138
1138
|
case d:
|
|
1139
|
-
case
|
|
1140
|
-
return
|
|
1139
|
+
case c:
|
|
1140
|
+
return u;
|
|
1141
1141
|
default:
|
|
1142
|
-
switch (
|
|
1143
|
-
case
|
|
1142
|
+
switch (u = u && u.$$typeof, u) {
|
|
1143
|
+
case l:
|
|
1144
1144
|
case a:
|
|
1145
1145
|
case h:
|
|
1146
|
-
case
|
|
1146
|
+
case v:
|
|
1147
1147
|
case p:
|
|
1148
1148
|
case s:
|
|
1149
|
-
return
|
|
1149
|
+
return u;
|
|
1150
1150
|
default:
|
|
1151
|
-
return
|
|
1151
|
+
return S;
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
1154
|
case e:
|
|
1155
|
-
return
|
|
1155
|
+
return S;
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
1158
|
}
|
|
1159
|
-
return ye.ContextConsumer = a, ye.ContextProvider = s, ye.Element = r, ye.ForwardRef = h, ye.Fragment = t, ye.Lazy =
|
|
1159
|
+
return ye.ContextConsumer = a, ye.ContextProvider = s, ye.Element = r, ye.ForwardRef = h, ye.Fragment = t, ye.Lazy = v, ye.Memo = p, ye.Portal = e, ye.Profiler = o, ye.StrictMode = i, ye.Suspense = d, ye.SuspenseList = c, ye.isAsyncMode = function() {
|
|
1160
1160
|
return !1;
|
|
1161
1161
|
}, ye.isConcurrentMode = function() {
|
|
1162
1162
|
return !1;
|
|
1163
|
-
}, ye.isContextConsumer = function(
|
|
1164
|
-
return
|
|
1165
|
-
}, ye.isContextProvider = function(
|
|
1166
|
-
return
|
|
1167
|
-
}, ye.isElement = function(
|
|
1168
|
-
return typeof
|
|
1169
|
-
}, ye.isForwardRef = function(
|
|
1170
|
-
return
|
|
1171
|
-
}, ye.isFragment = function(
|
|
1172
|
-
return
|
|
1173
|
-
}, ye.isLazy = function(
|
|
1174
|
-
return
|
|
1175
|
-
}, ye.isMemo = function(
|
|
1176
|
-
return
|
|
1177
|
-
}, ye.isPortal = function(
|
|
1178
|
-
return
|
|
1179
|
-
}, ye.isProfiler = function(
|
|
1180
|
-
return
|
|
1181
|
-
}, ye.isStrictMode = function(
|
|
1182
|
-
return
|
|
1183
|
-
}, ye.isSuspense = function(
|
|
1184
|
-
return
|
|
1185
|
-
}, ye.isSuspenseList = function(
|
|
1186
|
-
return
|
|
1187
|
-
}, ye.isValidElementType = function(
|
|
1188
|
-
return typeof
|
|
1189
|
-
}, ye.typeOf =
|
|
1163
|
+
}, ye.isContextConsumer = function(u) {
|
|
1164
|
+
return x(u) === a;
|
|
1165
|
+
}, ye.isContextProvider = function(u) {
|
|
1166
|
+
return x(u) === s;
|
|
1167
|
+
}, ye.isElement = function(u) {
|
|
1168
|
+
return typeof u == "object" && u !== null && u.$$typeof === r;
|
|
1169
|
+
}, ye.isForwardRef = function(u) {
|
|
1170
|
+
return x(u) === h;
|
|
1171
|
+
}, ye.isFragment = function(u) {
|
|
1172
|
+
return x(u) === t;
|
|
1173
|
+
}, ye.isLazy = function(u) {
|
|
1174
|
+
return x(u) === v;
|
|
1175
|
+
}, ye.isMemo = function(u) {
|
|
1176
|
+
return x(u) === p;
|
|
1177
|
+
}, ye.isPortal = function(u) {
|
|
1178
|
+
return x(u) === e;
|
|
1179
|
+
}, ye.isProfiler = function(u) {
|
|
1180
|
+
return x(u) === o;
|
|
1181
|
+
}, ye.isStrictMode = function(u) {
|
|
1182
|
+
return x(u) === i;
|
|
1183
|
+
}, ye.isSuspense = function(u) {
|
|
1184
|
+
return x(u) === d;
|
|
1185
|
+
}, ye.isSuspenseList = function(u) {
|
|
1186
|
+
return x(u) === c;
|
|
1187
|
+
}, ye.isValidElementType = function(u) {
|
|
1188
|
+
return typeof u == "string" || typeof u == "function" || u === t || u === o || u === i || u === d || u === c || u === b || typeof u == "object" && u !== null && (u.$$typeof === v || u.$$typeof === p || u.$$typeof === s || u.$$typeof === a || u.$$typeof === h || u.$$typeof === _ || u.getModuleId !== void 0);
|
|
1189
|
+
}, ye.typeOf = x, ye;
|
|
1190
1190
|
}
|
|
1191
1191
|
var ge = {};
|
|
1192
1192
|
var Ri;
|
|
1193
1193
|
function io() {
|
|
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"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"),
|
|
1195
|
+
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), h = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), _ = !1, x = !1, u = !1, S = !1, O = !1, I;
|
|
1196
1196
|
I = Symbol.for("react.module.reference");
|
|
1197
1197
|
function R($) {
|
|
1198
|
-
return !!(typeof $ == "string" || typeof $ == "function" || $ === t || $ === o || O || $ === i || $ === d || $ ===
|
|
1198
|
+
return !!(typeof $ == "string" || typeof $ == "function" || $ === t || $ === o || O || $ === i || $ === d || $ === c || S || $ === b || _ || x || u || typeof $ == "object" && $ !== null && ($.$$typeof === v || $.$$typeof === p || $.$$typeof === s || $.$$typeof === a || $.$$typeof === h || $.$$typeof === I || $.getModuleId !== void 0));
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1200
|
+
function y($) {
|
|
1201
1201
|
if (typeof $ == "object" && $ !== null) {
|
|
1202
1202
|
var U = $.$$typeof;
|
|
1203
1203
|
switch (U) {
|
|
@@ -1208,15 +1208,15 @@ function io() {
|
|
|
1208
1208
|
case o:
|
|
1209
1209
|
case i:
|
|
1210
1210
|
case d:
|
|
1211
|
-
case
|
|
1211
|
+
case c:
|
|
1212
1212
|
return Ce;
|
|
1213
1213
|
default:
|
|
1214
1214
|
var ne = Ce && Ce.$$typeof;
|
|
1215
1215
|
switch (ne) {
|
|
1216
|
-
case
|
|
1216
|
+
case l:
|
|
1217
1217
|
case a:
|
|
1218
1218
|
case h:
|
|
1219
|
-
case
|
|
1219
|
+
case v:
|
|
1220
1220
|
case p:
|
|
1221
1221
|
case s:
|
|
1222
1222
|
return ne;
|
|
@@ -1229,7 +1229,7 @@ function io() {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
var te = a, q = s,
|
|
1232
|
+
var te = a, q = s, C = r, ie = h, ae = t, pe = v, E = p, D = e, G = o, Y = i, N = d, ue = c, fe = !1, xe = !1;
|
|
1233
1233
|
function se($) {
|
|
1234
1234
|
return fe || (fe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1235
1235
|
}
|
|
@@ -1237,42 +1237,42 @@ function io() {
|
|
|
1237
1237
|
return xe || (xe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1238
1238
|
}
|
|
1239
1239
|
function H($) {
|
|
1240
|
-
return
|
|
1240
|
+
return y($) === a;
|
|
1241
1241
|
}
|
|
1242
1242
|
function k($) {
|
|
1243
|
-
return
|
|
1243
|
+
return y($) === s;
|
|
1244
1244
|
}
|
|
1245
1245
|
function z($) {
|
|
1246
1246
|
return typeof $ == "object" && $ !== null && $.$$typeof === r;
|
|
1247
1247
|
}
|
|
1248
1248
|
function L($) {
|
|
1249
|
-
return
|
|
1249
|
+
return y($) === h;
|
|
1250
1250
|
}
|
|
1251
1251
|
function m($) {
|
|
1252
|
-
return
|
|
1252
|
+
return y($) === t;
|
|
1253
1253
|
}
|
|
1254
1254
|
function J($) {
|
|
1255
|
-
return
|
|
1255
|
+
return y($) === v;
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1258
|
-
return
|
|
1257
|
+
function A($) {
|
|
1258
|
+
return y($) === p;
|
|
1259
1259
|
}
|
|
1260
1260
|
function me($) {
|
|
1261
|
-
return
|
|
1261
|
+
return y($) === e;
|
|
1262
1262
|
}
|
|
1263
1263
|
function K($) {
|
|
1264
|
-
return
|
|
1264
|
+
return y($) === o;
|
|
1265
1265
|
}
|
|
1266
1266
|
function re($) {
|
|
1267
|
-
return
|
|
1267
|
+
return y($) === i;
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1270
|
-
return
|
|
1269
|
+
function w($) {
|
|
1270
|
+
return y($) === d;
|
|
1271
1271
|
}
|
|
1272
1272
|
function Ae($) {
|
|
1273
|
-
return
|
|
1273
|
+
return y($) === c;
|
|
1274
1274
|
}
|
|
1275
|
-
ge.ContextConsumer = te, ge.ContextProvider = q, ge.Element =
|
|
1275
|
+
ge.ContextConsumer = te, ge.ContextProvider = q, ge.Element = C, ge.ForwardRef = ie, ge.Fragment = ae, ge.Lazy = pe, ge.Memo = E, ge.Portal = D, ge.Profiler = G, ge.StrictMode = Y, ge.Suspense = N, ge.SuspenseList = ue, ge.isAsyncMode = se, ge.isConcurrentMode = je, ge.isContextConsumer = H, ge.isContextProvider = k, ge.isElement = z, ge.isForwardRef = L, ge.isFragment = m, ge.isLazy = J, ge.isMemo = A, ge.isPortal = me, ge.isProfiler = K, ge.isStrictMode = re, ge.isSuspense = w, ge.isSuspenseList = Ae, ge.isValidElementType = R, ge.typeOf = y;
|
|
1276
1276
|
}()), ge;
|
|
1277
1277
|
}
|
|
1278
1278
|
(function(r) {
|
|
@@ -1280,10 +1280,10 @@ function io() {
|
|
|
1280
1280
|
})(zr);
|
|
1281
1281
|
function no(r) {
|
|
1282
1282
|
function e(H, k, z, L, m) {
|
|
1283
|
-
for (var J = 0,
|
|
1284
|
-
if (
|
|
1285
|
-
if (ne === ot && (0 < ze && (W = W.replace(
|
|
1286
|
-
switch (
|
|
1283
|
+
for (var J = 0, A = 0, me = 0, K = 0, re, w, Ae = 0, $ = 0, U, Ce = U = re = 0, ne = 0, ze = 0, Ke = 0, Ie = 0, $t = z.length, ot = $t - 1, Le, W = "", ke = "", Rt = "", st = "", Je; ne < $t; ) {
|
|
1284
|
+
if (w = z.charCodeAt(ne), ne === ot && A + K + me + J !== 0 && (A !== 0 && (w = A === 47 ? 10 : 47), K = me = J = 0, $t++, ot++), A + K + me + J === 0) {
|
|
1285
|
+
if (ne === ot && (0 < ze && (W = W.replace(v, "")), 0 < W.trim().length)) {
|
|
1286
|
+
switch (w) {
|
|
1287
1287
|
case 32:
|
|
1288
1288
|
case 9:
|
|
1289
1289
|
case 59:
|
|
@@ -1293,12 +1293,12 @@ function no(r) {
|
|
|
1293
1293
|
default:
|
|
1294
1294
|
W += z.charAt(ne);
|
|
1295
1295
|
}
|
|
1296
|
-
|
|
1296
|
+
w = 59;
|
|
1297
1297
|
}
|
|
1298
|
-
switch (
|
|
1298
|
+
switch (w) {
|
|
1299
1299
|
case 123:
|
|
1300
1300
|
for (W = W.trim(), re = W.charCodeAt(0), U = 1, Ie = ++ne; ne < $t; ) {
|
|
1301
|
-
switch (
|
|
1301
|
+
switch (w = z.charCodeAt(ne)) {
|
|
1302
1302
|
case 123:
|
|
1303
1303
|
U++;
|
|
1304
1304
|
break;
|
|
@@ -1306,20 +1306,20 @@ function no(r) {
|
|
|
1306
1306
|
U--;
|
|
1307
1307
|
break;
|
|
1308
1308
|
case 47:
|
|
1309
|
-
switch (
|
|
1309
|
+
switch (w = z.charCodeAt(ne + 1)) {
|
|
1310
1310
|
case 42:
|
|
1311
1311
|
case 47:
|
|
1312
1312
|
e: {
|
|
1313
1313
|
for (Ce = ne + 1; Ce < ot; ++Ce)
|
|
1314
1314
|
switch (z.charCodeAt(Ce)) {
|
|
1315
1315
|
case 47:
|
|
1316
|
-
if (
|
|
1316
|
+
if (w === 42 && z.charCodeAt(Ce - 1) === 42 && ne + 2 !== Ce) {
|
|
1317
1317
|
ne = Ce + 1;
|
|
1318
1318
|
break e;
|
|
1319
1319
|
}
|
|
1320
1320
|
break;
|
|
1321
1321
|
case 10:
|
|
1322
|
-
if (
|
|
1322
|
+
if (w === 47) {
|
|
1323
1323
|
ne = Ce + 1;
|
|
1324
1324
|
break e;
|
|
1325
1325
|
}
|
|
@@ -1329,12 +1329,12 @@ function no(r) {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
break;
|
|
1331
1331
|
case 91:
|
|
1332
|
-
|
|
1332
|
+
w++;
|
|
1333
1333
|
case 40:
|
|
1334
|
-
|
|
1334
|
+
w++;
|
|
1335
1335
|
case 34:
|
|
1336
1336
|
case 39:
|
|
1337
|
-
for (; ne++ < ot && z.charCodeAt(ne) !==
|
|
1337
|
+
for (; ne++ < ot && z.charCodeAt(ne) !== w; )
|
|
1338
1338
|
;
|
|
1339
1339
|
}
|
|
1340
1340
|
if (U === 0)
|
|
@@ -1343,7 +1343,7 @@ function no(r) {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
switch (U = z.substring(Ie, ne), re === 0 && (re = (W = W.replace(p, "").trim()).charCodeAt(0)), re) {
|
|
1345
1345
|
case 64:
|
|
1346
|
-
switch (0 < ze && (W = W.replace(
|
|
1346
|
+
switch (0 < ze && (W = W.replace(v, "")), w = W.charCodeAt(1), w) {
|
|
1347
1347
|
case 100:
|
|
1348
1348
|
case 109:
|
|
1349
1349
|
case 115:
|
|
@@ -1353,8 +1353,8 @@ function no(r) {
|
|
|
1353
1353
|
default:
|
|
1354
1354
|
ze = N;
|
|
1355
1355
|
}
|
|
1356
|
-
if (U = e(k, ze, U,
|
|
1357
|
-
switch (
|
|
1356
|
+
if (U = e(k, ze, U, w, m + 1), Ie = U.length, 0 < fe && (ze = t(N, W, Ke), Je = l(3, U, ze, k, D, E, Ie, w, m, L), W = ze.join(""), Je !== void 0 && (Ie = (U = Je.trim()).length) === 0 && (w = 0, U = "")), 0 < Ie)
|
|
1357
|
+
switch (w) {
|
|
1358
1358
|
case 115:
|
|
1359
1359
|
W = W.replace(te, a);
|
|
1360
1360
|
case 100:
|
|
@@ -1374,41 +1374,41 @@ function no(r) {
|
|
|
1374
1374
|
default:
|
|
1375
1375
|
U = e(k, t(k, W, Ke), U, L, m + 1);
|
|
1376
1376
|
}
|
|
1377
|
-
Rt += U, U = Ke = ze = Ce = re = 0, W = "",
|
|
1377
|
+
Rt += U, U = Ke = ze = Ce = re = 0, W = "", w = z.charCodeAt(++ne);
|
|
1378
1378
|
break;
|
|
1379
1379
|
case 125:
|
|
1380
1380
|
case 59:
|
|
1381
|
-
if (W = (0 < ze ? W.replace(
|
|
1382
|
-
switch (Ce === 0 && (re = W.charCodeAt(0), re === 45 || 96 < re && 123 > re) && (Ie = (W = W.replace(" ", ":")).length), 0 < fe && (Je =
|
|
1381
|
+
if (W = (0 < ze ? W.replace(v, "") : W).trim(), 1 < (Ie = W.length))
|
|
1382
|
+
switch (Ce === 0 && (re = W.charCodeAt(0), re === 45 || 96 < re && 123 > re) && (Ie = (W = W.replace(" ", ":")).length), 0 < fe && (Je = l(1, W, k, H, D, E, ke.length, L, m, L)) !== void 0 && (Ie = (W = Je.trim()).length) === 0 && (W = "\0\0"), re = W.charCodeAt(0), w = W.charCodeAt(1), re) {
|
|
1383
1383
|
case 0:
|
|
1384
1384
|
break;
|
|
1385
1385
|
case 64:
|
|
1386
|
-
if (
|
|
1386
|
+
if (w === 105 || w === 99) {
|
|
1387
1387
|
st += W + z.charAt(ne);
|
|
1388
1388
|
break;
|
|
1389
1389
|
}
|
|
1390
1390
|
default:
|
|
1391
|
-
W.charCodeAt(Ie - 1) !== 58 && (ke += o(W, re,
|
|
1391
|
+
W.charCodeAt(Ie - 1) !== 58 && (ke += o(W, re, w, W.charCodeAt(2)));
|
|
1392
1392
|
}
|
|
1393
|
-
Ke = ze = Ce = re = 0, W = "",
|
|
1393
|
+
Ke = ze = Ce = re = 0, W = "", w = z.charCodeAt(++ne);
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
|
-
switch (
|
|
1396
|
+
switch (w) {
|
|
1397
1397
|
case 13:
|
|
1398
1398
|
case 10:
|
|
1399
|
-
|
|
1399
|
+
A === 47 ? A = 0 : 1 + re === 0 && L !== 107 && 0 < W.length && (ze = 1, W += "\0"), 0 < fe * se && l(0, W, k, H, D, E, ke.length, L, m, L), E = 1, D++;
|
|
1400
1400
|
break;
|
|
1401
1401
|
case 59:
|
|
1402
1402
|
case 125:
|
|
1403
|
-
if (
|
|
1404
|
-
|
|
1403
|
+
if (A + K + me + J === 0) {
|
|
1404
|
+
E++;
|
|
1405
1405
|
break;
|
|
1406
1406
|
}
|
|
1407
1407
|
default:
|
|
1408
|
-
switch (
|
|
1408
|
+
switch (E++, Le = z.charAt(ne), w) {
|
|
1409
1409
|
case 9:
|
|
1410
1410
|
case 32:
|
|
1411
|
-
if (K + J +
|
|
1411
|
+
if (K + J + A === 0)
|
|
1412
1412
|
switch (Ae) {
|
|
1413
1413
|
case 44:
|
|
1414
1414
|
case 58:
|
|
@@ -1417,7 +1417,7 @@ function no(r) {
|
|
|
1417
1417
|
Le = "";
|
|
1418
1418
|
break;
|
|
1419
1419
|
default:
|
|
1420
|
-
|
|
1420
|
+
w !== 32 && (Le = " ");
|
|
1421
1421
|
}
|
|
1422
1422
|
break;
|
|
1423
1423
|
case 0:
|
|
@@ -1430,10 +1430,10 @@ function no(r) {
|
|
|
1430
1430
|
Le = "\\v";
|
|
1431
1431
|
break;
|
|
1432
1432
|
case 38:
|
|
1433
|
-
K +
|
|
1433
|
+
K + A + J === 0 && (ze = Ke = 1, Le = "\f" + Le);
|
|
1434
1434
|
break;
|
|
1435
1435
|
case 108:
|
|
1436
|
-
if (K +
|
|
1436
|
+
if (K + A + J + G === 0 && 0 < Ce)
|
|
1437
1437
|
switch (ne - Ce) {
|
|
1438
1438
|
case 2:
|
|
1439
1439
|
Ae === 112 && z.charCodeAt(ne - 3) === 58 && (G = Ae);
|
|
@@ -1442,26 +1442,26 @@ function no(r) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
break;
|
|
1444
1444
|
case 58:
|
|
1445
|
-
K +
|
|
1445
|
+
K + A + J === 0 && (Ce = ne);
|
|
1446
1446
|
break;
|
|
1447
1447
|
case 44:
|
|
1448
|
-
|
|
1448
|
+
A + me + K + J === 0 && (ze = 1, Le += "\r");
|
|
1449
1449
|
break;
|
|
1450
1450
|
case 34:
|
|
1451
1451
|
case 39:
|
|
1452
|
-
|
|
1452
|
+
A === 0 && (K = K === w ? 0 : K === 0 ? w : K);
|
|
1453
1453
|
break;
|
|
1454
1454
|
case 91:
|
|
1455
|
-
K +
|
|
1455
|
+
K + A + me === 0 && J++;
|
|
1456
1456
|
break;
|
|
1457
1457
|
case 93:
|
|
1458
|
-
K +
|
|
1458
|
+
K + A + me === 0 && J--;
|
|
1459
1459
|
break;
|
|
1460
1460
|
case 41:
|
|
1461
|
-
K +
|
|
1461
|
+
K + A + J === 0 && me--;
|
|
1462
1462
|
break;
|
|
1463
1463
|
case 40:
|
|
1464
|
-
if (K +
|
|
1464
|
+
if (K + A + J === 0) {
|
|
1465
1465
|
if (re === 0)
|
|
1466
1466
|
switch (2 * Ae + 3 * $) {
|
|
1467
1467
|
case 533:
|
|
@@ -1473,31 +1473,31 @@ function no(r) {
|
|
|
1473
1473
|
}
|
|
1474
1474
|
break;
|
|
1475
1475
|
case 64:
|
|
1476
|
-
|
|
1476
|
+
A + me + K + J + Ce + U === 0 && (U = 1);
|
|
1477
1477
|
break;
|
|
1478
1478
|
case 42:
|
|
1479
1479
|
case 47:
|
|
1480
1480
|
if (!(0 < K + J + me))
|
|
1481
|
-
switch (
|
|
1481
|
+
switch (A) {
|
|
1482
1482
|
case 0:
|
|
1483
|
-
switch (2 *
|
|
1483
|
+
switch (2 * w + 3 * z.charCodeAt(ne + 1)) {
|
|
1484
1484
|
case 235:
|
|
1485
|
-
|
|
1485
|
+
A = 47;
|
|
1486
1486
|
break;
|
|
1487
1487
|
case 220:
|
|
1488
|
-
Ie = ne,
|
|
1488
|
+
Ie = ne, A = 42;
|
|
1489
1489
|
}
|
|
1490
1490
|
break;
|
|
1491
1491
|
case 42:
|
|
1492
|
-
|
|
1492
|
+
w === 47 && Ae === 42 && Ie + 2 !== ne && (z.charCodeAt(Ie + 2) === 33 && (ke += z.substring(Ie, ne + 1)), Le = "", A = 0);
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
|
-
|
|
1495
|
+
A === 0 && (W += Le);
|
|
1496
1496
|
}
|
|
1497
|
-
$ = Ae, Ae =
|
|
1497
|
+
$ = Ae, Ae = w, ne++;
|
|
1498
1498
|
}
|
|
1499
1499
|
if (Ie = ke.length, 0 < Ie) {
|
|
1500
|
-
if (ze = k, 0 < fe && (Je =
|
|
1500
|
+
if (ze = k, 0 < fe && (Je = l(2, ke, ze, H, D, E, Ie, L, m, L), Je !== void 0 && (ke = Je).length === 0))
|
|
1501
1501
|
return st + ke + Rt;
|
|
1502
1502
|
if (ke = ze.join(",") + "{" + ke + "}", Y * G !== 0) {
|
|
1503
1503
|
switch (Y !== 2 || s(ke, 2) || (G = 0), G) {
|
|
@@ -1513,21 +1513,21 @@ function no(r) {
|
|
|
1513
1513
|
return st + ke + Rt;
|
|
1514
1514
|
}
|
|
1515
1515
|
function t(H, k, z) {
|
|
1516
|
-
var L = k.trim().split(
|
|
1516
|
+
var L = k.trim().split(u);
|
|
1517
1517
|
k = L;
|
|
1518
1518
|
var m = L.length, J = H.length;
|
|
1519
1519
|
switch (J) {
|
|
1520
1520
|
case 0:
|
|
1521
1521
|
case 1:
|
|
1522
|
-
var
|
|
1523
|
-
for (H = J === 0 ? "" : H[0] + " ";
|
|
1524
|
-
k[
|
|
1522
|
+
var A = 0;
|
|
1523
|
+
for (H = J === 0 ? "" : H[0] + " "; A < m; ++A)
|
|
1524
|
+
k[A] = i(H, k[A], z).trim();
|
|
1525
1525
|
break;
|
|
1526
1526
|
default:
|
|
1527
|
-
var me =
|
|
1528
|
-
for (k = [];
|
|
1527
|
+
var me = A = 0;
|
|
1528
|
+
for (k = []; A < m; ++A)
|
|
1529
1529
|
for (var K = 0; K < J; ++K)
|
|
1530
|
-
k[me++] = i(H[K] + " ", L[
|
|
1530
|
+
k[me++] = i(H[K] + " ", L[A], z).trim();
|
|
1531
1531
|
}
|
|
1532
1532
|
return k;
|
|
1533
1533
|
}
|
|
@@ -1535,12 +1535,12 @@ function no(r) {
|
|
|
1535
1535
|
var L = k.charCodeAt(0);
|
|
1536
1536
|
switch (33 > L && (L = (k = k.trim()).charCodeAt(0)), L) {
|
|
1537
1537
|
case 38:
|
|
1538
|
-
return k.replace(
|
|
1538
|
+
return k.replace(S, "$1" + H.trim());
|
|
1539
1539
|
case 58:
|
|
1540
|
-
return H.trim() + k.replace(
|
|
1540
|
+
return H.trim() + k.replace(S, "$1" + H.trim());
|
|
1541
1541
|
default:
|
|
1542
1542
|
if (0 < 1 * z && 0 < k.indexOf("\f"))
|
|
1543
|
-
return k.replace(
|
|
1543
|
+
return k.replace(S, (H.charCodeAt(0) === 58 ? "" : "$1") + H.trim());
|
|
1544
1544
|
}
|
|
1545
1545
|
return H + k;
|
|
1546
1546
|
}
|
|
@@ -1548,8 +1548,8 @@ function no(r) {
|
|
|
1548
1548
|
var m = H + ";", J = 2 * k + 3 * z + 4 * L;
|
|
1549
1549
|
if (J === 944) {
|
|
1550
1550
|
H = m.indexOf(":", 9) + 1;
|
|
1551
|
-
var
|
|
1552
|
-
return
|
|
1551
|
+
var A = m.substring(H, m.length - 1).trim();
|
|
1552
|
+
return A = m.substring(0, H).trim() + A + ";", Y === 1 || Y === 2 && s(A, 1) ? "-webkit-" + A + A : A;
|
|
1553
1553
|
}
|
|
1554
1554
|
if (Y === 0 || Y === 2 && !s(m, 1))
|
|
1555
1555
|
return m;
|
|
@@ -1593,49 +1593,49 @@ function no(r) {
|
|
|
1593
1593
|
case 1023:
|
|
1594
1594
|
if (m.charCodeAt(8) !== 99)
|
|
1595
1595
|
break;
|
|
1596
|
-
return
|
|
1596
|
+
return A = m.substring(m.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + A + "-webkit-" + m + "-ms-flex-pack" + A + m;
|
|
1597
1597
|
case 1005:
|
|
1598
|
-
return
|
|
1598
|
+
return _.test(m) ? m.replace(b, ":-webkit-") + m.replace(b, ":-moz-") + m : m;
|
|
1599
1599
|
case 1e3:
|
|
1600
|
-
switch (
|
|
1600
|
+
switch (A = m.substring(13).trim(), k = A.indexOf("-") + 1, A.charCodeAt(0) + A.charCodeAt(k)) {
|
|
1601
1601
|
case 226:
|
|
1602
|
-
|
|
1602
|
+
A = m.replace(y, "tb");
|
|
1603
1603
|
break;
|
|
1604
1604
|
case 232:
|
|
1605
|
-
|
|
1605
|
+
A = m.replace(y, "tb-rl");
|
|
1606
1606
|
break;
|
|
1607
1607
|
case 220:
|
|
1608
|
-
|
|
1608
|
+
A = m.replace(y, "lr");
|
|
1609
1609
|
break;
|
|
1610
1610
|
default:
|
|
1611
1611
|
return m;
|
|
1612
1612
|
}
|
|
1613
|
-
return "-webkit-" + m + "-ms-" +
|
|
1613
|
+
return "-webkit-" + m + "-ms-" + A + m;
|
|
1614
1614
|
case 1017:
|
|
1615
1615
|
if (m.indexOf("sticky", 9) === -1)
|
|
1616
1616
|
break;
|
|
1617
1617
|
case 975:
|
|
1618
|
-
switch (k = (m = H).length - 10,
|
|
1618
|
+
switch (k = (m = H).length - 10, A = (m.charCodeAt(k) === 33 ? m.substring(0, k) : m).substring(H.indexOf(":", 7) + 1).trim(), J = A.charCodeAt(0) + (A.charCodeAt(7) | 0)) {
|
|
1619
1619
|
case 203:
|
|
1620
|
-
if (111 >
|
|
1620
|
+
if (111 > A.charCodeAt(8))
|
|
1621
1621
|
break;
|
|
1622
1622
|
case 115:
|
|
1623
|
-
m = m.replace(
|
|
1623
|
+
m = m.replace(A, "-webkit-" + A) + ";" + m;
|
|
1624
1624
|
break;
|
|
1625
1625
|
case 207:
|
|
1626
1626
|
case 102:
|
|
1627
|
-
m = m.replace(
|
|
1627
|
+
m = m.replace(A, "-webkit-" + (102 < J ? "inline-" : "") + "box") + ";" + m.replace(A, "-webkit-" + A) + ";" + m.replace(A, "-ms-" + A + "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 A = m.replace("-items", ""), "-webkit-" + m + "-webkit-box-" + A + "-ms-flex-" + A + m;
|
|
1635
1635
|
case 115:
|
|
1636
|
-
return "-webkit-" + m + "-ms-flex-item-" + m.replace(
|
|
1636
|
+
return "-webkit-" + m + "-ms-flex-item-" + m.replace(C, "") + m;
|
|
1637
1637
|
default:
|
|
1638
|
-
return "-webkit-" + m + "-ms-flex-line-pack" + m.replace("align-content", "").replace(
|
|
1638
|
+
return "-webkit-" + m + "-ms-flex-line-pack" + m.replace("align-content", "").replace(C, "") + m;
|
|
1639
1639
|
}
|
|
1640
1640
|
break;
|
|
1641
1641
|
case 973:
|
|
@@ -1645,11 +1645,11 @@ function no(r) {
|
|
|
1645
1645
|
case 931:
|
|
1646
1646
|
case 953:
|
|
1647
1647
|
if (ae.test(H) === !0)
|
|
1648
|
-
return (
|
|
1648
|
+
return (A = H.substring(H.indexOf(":") + 1)).charCodeAt(0) === 115 ? o(H.replace("stretch", "fill-available"), k, z, L).replace(":fill-available", ":stretch") : m.replace(A, "-webkit-" + A) + m.replace(A, "-moz-" + A.replace("fill-", "")) + m;
|
|
1649
1649
|
break;
|
|
1650
1650
|
case 962:
|
|
1651
1651
|
if (m = "-webkit-" + m + (m.charCodeAt(5) === 102 ? "-ms-" + m : "") + m, z + L === 211 && m.charCodeAt(13) === 105 && 0 < m.indexOf("transform", 10))
|
|
1652
|
-
return m.substring(0, m.indexOf(";", 27) + 1).replace(
|
|
1652
|
+
return m.substring(0, m.indexOf(";", 27) + 1).replace(x, "$1-webkit-$2") + m;
|
|
1653
1653
|
}
|
|
1654
1654
|
return m;
|
|
1655
1655
|
}
|
|
@@ -1661,9 +1661,9 @@ function no(r) {
|
|
|
1661
1661
|
var z = o(k, k.charCodeAt(0), k.charCodeAt(1), k.charCodeAt(2));
|
|
1662
1662
|
return z !== k + ";" ? z.replace(q, " or ($1)").substring(4) : "(" + k + ")";
|
|
1663
1663
|
}
|
|
1664
|
-
function
|
|
1665
|
-
for (var
|
|
1666
|
-
switch ($ = ue[
|
|
1664
|
+
function l(H, k, z, L, m, J, A, me, K, re) {
|
|
1665
|
+
for (var w = 0, Ae = k, $; w < fe; ++w)
|
|
1666
|
+
switch ($ = ue[w].call(c, H, Ae, z, L, m, J, A, me, K, re)) {
|
|
1667
1667
|
case void 0:
|
|
1668
1668
|
case !1:
|
|
1669
1669
|
case !0:
|
|
@@ -1695,17 +1695,17 @@ function no(r) {
|
|
|
1695
1695
|
function d(H) {
|
|
1696
1696
|
return H = H.prefix, H !== void 0 && (xe = null, H ? typeof H != "function" ? Y = 1 : (Y = 2, xe = H) : Y = 0), d;
|
|
1697
1697
|
}
|
|
1698
|
-
function
|
|
1698
|
+
function c(H, k) {
|
|
1699
1699
|
var z = H;
|
|
1700
1700
|
if (33 > z.charCodeAt(0) && (z = z.trim()), je = z, z = [je], 0 < fe) {
|
|
1701
|
-
var L =
|
|
1701
|
+
var L = l(-1, k, z, z, D, E, 0, 0, 0, 0);
|
|
1702
1702
|
L !== void 0 && typeof L == "string" && (k = L);
|
|
1703
1703
|
}
|
|
1704
1704
|
var m = e(N, z, k, 0, 0);
|
|
1705
|
-
return 0 < fe && (L =
|
|
1705
|
+
return 0 < fe && (L = l(-2, m, z, z, D, E, m.length, 0, 0, 0), L !== void 0 && (m = L)), je = "", G = 0, E = D = 1, m;
|
|
1706
1706
|
}
|
|
1707
|
-
var p = /^\0+/g,
|
|
1708
|
-
return
|
|
1707
|
+
var p = /^\0+/g, v = /[\0\r\f]/g, b = /: */g, _ = /zoo|gra/, x = /([,: ])(transform)/g, u = /,\r+?/g, S = /([\t\r\n ])*\f?&/g, O = /@(k\w+)\s*(\S*)\s*/, I = /::(place)/g, R = /:(read-only)/g, y = /[svh]\w+-[tblr]{2}/, te = /\(\s*(.*)\s*\)/g, q = /([\s\S]*?);/g, C = /-self|flex-/g, ie = /[^]*?(:[rp][el]a[\w-]+)[^]*/, ae = /stretch|:\s*\w+\-(?:conte|avail)/, pe = /([^-])(image-set\()/, E = 1, D = 1, G = 0, Y = 1, N = [], ue = [], fe = 0, xe = null, se = 0, je = "";
|
|
1708
|
+
return c.use = h, c.set = d, r !== void 0 && d(r), c;
|
|
1709
1709
|
}
|
|
1710
1710
|
var oo = {
|
|
1711
1711
|
animationIterationCount: 1,
|
|
@@ -1770,28 +1770,28 @@ function co() {
|
|
|
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, o = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109,
|
|
1774
|
-
function I(
|
|
1775
|
-
if (typeof
|
|
1776
|
-
var te =
|
|
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, o = 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, h = r ? Symbol.for("react.async_mode") : 60111, d = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113, v = r ? Symbol.for("react.suspense_list") : 60120, b = r ? Symbol.for("react.memo") : 60115, _ = r ? Symbol.for("react.lazy") : 60116, x = r ? Symbol.for("react.block") : 60121, u = r ? Symbol.for("react.fundamental") : 60117, S = r ? Symbol.for("react.responder") : 60118, O = r ? Symbol.for("react.scope") : 60119;
|
|
1774
|
+
function I(y) {
|
|
1775
|
+
if (typeof y == "object" && y !== null) {
|
|
1776
|
+
var te = y.$$typeof;
|
|
1777
1777
|
switch (te) {
|
|
1778
1778
|
case e:
|
|
1779
|
-
switch (
|
|
1779
|
+
switch (y = y.type, y) {
|
|
1780
1780
|
case h:
|
|
1781
1781
|
case d:
|
|
1782
1782
|
case i:
|
|
1783
1783
|
case s:
|
|
1784
1784
|
case o:
|
|
1785
1785
|
case p:
|
|
1786
|
-
return
|
|
1786
|
+
return y;
|
|
1787
1787
|
default:
|
|
1788
|
-
switch (
|
|
1789
|
-
case u:
|
|
1788
|
+
switch (y = y && y.$$typeof, y) {
|
|
1790
1789
|
case l:
|
|
1791
|
-
case
|
|
1792
|
-
case
|
|
1790
|
+
case c:
|
|
1791
|
+
case _:
|
|
1792
|
+
case b:
|
|
1793
1793
|
case a:
|
|
1794
|
-
return
|
|
1794
|
+
return y;
|
|
1795
1795
|
default:
|
|
1796
1796
|
return te;
|
|
1797
1797
|
}
|
|
@@ -1801,51 +1801,51 @@ function co() {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
|
-
function R(
|
|
1805
|
-
return I(
|
|
1806
|
-
}
|
|
1807
|
-
return be.AsyncMode = h, be.ConcurrentMode = d, be.ContextConsumer =
|
|
1808
|
-
return R(
|
|
1809
|
-
}, be.isConcurrentMode = R, be.isContextConsumer = function(
|
|
1810
|
-
return I(
|
|
1811
|
-
}, be.isContextProvider = function(
|
|
1812
|
-
return I(
|
|
1813
|
-
}, be.isElement = function(
|
|
1814
|
-
return typeof
|
|
1815
|
-
}, be.isForwardRef = function(
|
|
1816
|
-
return I(
|
|
1817
|
-
}, be.isFragment = function(
|
|
1818
|
-
return I(
|
|
1819
|
-
}, be.isLazy = function(
|
|
1820
|
-
return I(
|
|
1821
|
-
}, be.isMemo = function(
|
|
1822
|
-
return I(
|
|
1823
|
-
}, be.isPortal = function(
|
|
1824
|
-
return I(
|
|
1825
|
-
}, be.isProfiler = function(
|
|
1826
|
-
return I(
|
|
1827
|
-
}, be.isStrictMode = function(
|
|
1828
|
-
return I(
|
|
1829
|
-
}, be.isSuspense = function(
|
|
1830
|
-
return I(
|
|
1831
|
-
}, be.isValidElementType = function(
|
|
1832
|
-
return typeof
|
|
1804
|
+
function R(y) {
|
|
1805
|
+
return I(y) === d;
|
|
1806
|
+
}
|
|
1807
|
+
return be.AsyncMode = h, be.ConcurrentMode = d, be.ContextConsumer = l, be.ContextProvider = a, be.Element = e, be.ForwardRef = c, be.Fragment = i, be.Lazy = _, be.Memo = b, be.Portal = t, be.Profiler = s, be.StrictMode = o, be.Suspense = p, be.isAsyncMode = function(y) {
|
|
1808
|
+
return R(y) || I(y) === h;
|
|
1809
|
+
}, be.isConcurrentMode = R, be.isContextConsumer = function(y) {
|
|
1810
|
+
return I(y) === l;
|
|
1811
|
+
}, be.isContextProvider = function(y) {
|
|
1812
|
+
return I(y) === a;
|
|
1813
|
+
}, be.isElement = function(y) {
|
|
1814
|
+
return typeof y == "object" && y !== null && y.$$typeof === e;
|
|
1815
|
+
}, be.isForwardRef = function(y) {
|
|
1816
|
+
return I(y) === c;
|
|
1817
|
+
}, be.isFragment = function(y) {
|
|
1818
|
+
return I(y) === i;
|
|
1819
|
+
}, be.isLazy = function(y) {
|
|
1820
|
+
return I(y) === _;
|
|
1821
|
+
}, be.isMemo = function(y) {
|
|
1822
|
+
return I(y) === b;
|
|
1823
|
+
}, be.isPortal = function(y) {
|
|
1824
|
+
return I(y) === t;
|
|
1825
|
+
}, be.isProfiler = function(y) {
|
|
1826
|
+
return I(y) === s;
|
|
1827
|
+
}, be.isStrictMode = function(y) {
|
|
1828
|
+
return I(y) === o;
|
|
1829
|
+
}, be.isSuspense = function(y) {
|
|
1830
|
+
return I(y) === p;
|
|
1831
|
+
}, be.isValidElementType = function(y) {
|
|
1832
|
+
return typeof y == "string" || typeof y == "function" || y === i || y === d || y === s || y === o || y === p || y === v || typeof y == "object" && y !== null && (y.$$typeof === _ || y.$$typeof === b || y.$$typeof === a || y.$$typeof === l || y.$$typeof === c || y.$$typeof === u || y.$$typeof === S || y.$$typeof === O || y.$$typeof === x);
|
|
1833
1833
|
}, be.typeOf = I, be;
|
|
1834
1834
|
}
|
|
1835
1835
|
var ve = {};
|
|
1836
1836
|
var Di;
|
|
1837
1837
|
function lo() {
|
|
1838
1838
|
return Di || (Di = 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, o = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109,
|
|
1840
|
-
function I(
|
|
1841
|
-
return typeof
|
|
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, o = 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, h = r ? Symbol.for("react.async_mode") : 60111, d = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113, v = r ? Symbol.for("react.suspense_list") : 60120, b = r ? Symbol.for("react.memo") : 60115, _ = r ? Symbol.for("react.lazy") : 60116, x = r ? Symbol.for("react.block") : 60121, u = r ? Symbol.for("react.fundamental") : 60117, S = r ? Symbol.for("react.responder") : 60118, O = r ? Symbol.for("react.scope") : 60119;
|
|
1840
|
+
function I(w) {
|
|
1841
|
+
return typeof w == "string" || typeof w == "function" || w === i || w === d || w === s || w === o || w === p || w === v || typeof w == "object" && w !== null && (w.$$typeof === _ || w.$$typeof === b || w.$$typeof === a || w.$$typeof === l || w.$$typeof === c || w.$$typeof === u || w.$$typeof === S || w.$$typeof === O || w.$$typeof === x);
|
|
1842
1842
|
}
|
|
1843
|
-
function R(
|
|
1844
|
-
if (typeof
|
|
1845
|
-
var Ae =
|
|
1843
|
+
function R(w) {
|
|
1844
|
+
if (typeof w == "object" && w !== null) {
|
|
1845
|
+
var Ae = w.$$typeof;
|
|
1846
1846
|
switch (Ae) {
|
|
1847
1847
|
case e:
|
|
1848
|
-
var $ =
|
|
1848
|
+
var $ = w.type;
|
|
1849
1849
|
switch ($) {
|
|
1850
1850
|
case h:
|
|
1851
1851
|
case d:
|
|
@@ -1857,10 +1857,10 @@ function lo() {
|
|
|
1857
1857
|
default:
|
|
1858
1858
|
var U = $ && $.$$typeof;
|
|
1859
1859
|
switch (U) {
|
|
1860
|
-
case u:
|
|
1861
1860
|
case l:
|
|
1862
|
-
case
|
|
1863
|
-
case
|
|
1861
|
+
case c:
|
|
1862
|
+
case _:
|
|
1863
|
+
case b:
|
|
1864
1864
|
case a:
|
|
1865
1865
|
return U;
|
|
1866
1866
|
default:
|
|
@@ -1872,47 +1872,47 @@ function lo() {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
|
-
var
|
|
1876
|
-
function xe(
|
|
1877
|
-
return fe || (fe = !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.")), se(
|
|
1875
|
+
var y = h, te = d, q = l, C = a, ie = e, ae = c, pe = i, E = _, D = b, G = t, Y = s, N = o, ue = p, fe = !1;
|
|
1876
|
+
function xe(w) {
|
|
1877
|
+
return fe || (fe = !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.")), se(w) || R(w) === h;
|
|
1878
1878
|
}
|
|
1879
|
-
function se(
|
|
1880
|
-
return R(
|
|
1879
|
+
function se(w) {
|
|
1880
|
+
return R(w) === d;
|
|
1881
1881
|
}
|
|
1882
|
-
function je(
|
|
1883
|
-
return R(
|
|
1882
|
+
function je(w) {
|
|
1883
|
+
return R(w) === l;
|
|
1884
1884
|
}
|
|
1885
|
-
function H(
|
|
1886
|
-
return R(
|
|
1885
|
+
function H(w) {
|
|
1886
|
+
return R(w) === a;
|
|
1887
1887
|
}
|
|
1888
|
-
function k(
|
|
1889
|
-
return typeof
|
|
1888
|
+
function k(w) {
|
|
1889
|
+
return typeof w == "object" && w !== null && w.$$typeof === e;
|
|
1890
1890
|
}
|
|
1891
|
-
function z(
|
|
1892
|
-
return R(
|
|
1891
|
+
function z(w) {
|
|
1892
|
+
return R(w) === c;
|
|
1893
1893
|
}
|
|
1894
|
-
function L(
|
|
1895
|
-
return R(
|
|
1894
|
+
function L(w) {
|
|
1895
|
+
return R(w) === i;
|
|
1896
1896
|
}
|
|
1897
|
-
function m(
|
|
1898
|
-
return R(
|
|
1897
|
+
function m(w) {
|
|
1898
|
+
return R(w) === _;
|
|
1899
1899
|
}
|
|
1900
|
-
function J(
|
|
1901
|
-
return R(
|
|
1900
|
+
function J(w) {
|
|
1901
|
+
return R(w) === b;
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1904
|
-
return R(
|
|
1903
|
+
function A(w) {
|
|
1904
|
+
return R(w) === t;
|
|
1905
1905
|
}
|
|
1906
|
-
function me(
|
|
1907
|
-
return R(
|
|
1906
|
+
function me(w) {
|
|
1907
|
+
return R(w) === s;
|
|
1908
1908
|
}
|
|
1909
|
-
function K(
|
|
1910
|
-
return R(
|
|
1909
|
+
function K(w) {
|
|
1910
|
+
return R(w) === o;
|
|
1911
1911
|
}
|
|
1912
|
-
function re(
|
|
1913
|
-
return R(
|
|
1912
|
+
function re(w) {
|
|
1913
|
+
return R(w) === p;
|
|
1914
1914
|
}
|
|
1915
|
-
ve.AsyncMode =
|
|
1915
|
+
ve.AsyncMode = y, ve.ConcurrentMode = te, ve.ContextConsumer = q, ve.ContextProvider = C, ve.Element = ie, ve.ForwardRef = ae, ve.Fragment = pe, ve.Lazy = E, ve.Memo = D, ve.Portal = G, ve.Profiler = Y, ve.StrictMode = N, ve.Suspense = ue, ve.isAsyncMode = xe, ve.isConcurrentMode = se, ve.isContextConsumer = je, ve.isContextProvider = H, ve.isElement = k, ve.isForwardRef = z, ve.isFragment = L, ve.isLazy = m, ve.isMemo = J, ve.isPortal = A, ve.isProfiler = me, ve.isStrictMode = K, ve.isSuspense = re, ve.isValidElementType = I, ve.typeOf = R;
|
|
1916
1916
|
}()), ve;
|
|
1917
1917
|
}
|
|
1918
1918
|
(function(r) {
|
|
@@ -1966,8 +1966,8 @@ function rn(r, e, t) {
|
|
|
1966
1966
|
}
|
|
1967
1967
|
var o = mo(e);
|
|
1968
1968
|
Bi && (o = o.concat(Bi(e)));
|
|
1969
|
-
for (var s = Ii(r), a = Ii(e),
|
|
1970
|
-
var h = o[
|
|
1969
|
+
for (var s = Ii(r), a = Ii(e), l = 0; l < o.length; ++l) {
|
|
1970
|
+
var h = o[l];
|
|
1971
1971
|
if (!fo[h] && !(t && t[h]) && !(a && a[h]) && !(s && s[h])) {
|
|
1972
1972
|
var d = yo(e, h);
|
|
1973
1973
|
try {
|
|
@@ -2074,10 +2074,10 @@ var wo = function() {
|
|
|
2074
2074
|
for (var o = this.groupSizes, s = o.length, a = s; t >= a; )
|
|
2075
2075
|
(a <<= 1) < 0 && Kt(16, "" + t);
|
|
2076
2076
|
this.groupSizes = new Uint32Array(a), this.groupSizes.set(o), this.length = a;
|
|
2077
|
-
for (var
|
|
2078
|
-
this.groupSizes[
|
|
2077
|
+
for (var l = s; l < a; l++)
|
|
2078
|
+
this.groupSizes[l] = 0;
|
|
2079
2079
|
}
|
|
2080
|
-
for (var h = this.indexOfGroup(t + 1), d = 0,
|
|
2080
|
+
for (var h = this.indexOfGroup(t + 1), d = 0, c = i.length; d < c; d++)
|
|
2081
2081
|
this.tag.insertRule(h, i[d]) && (this.groupSizes[t]++, h++);
|
|
2082
2082
|
}, e.clearGroup = function(t) {
|
|
2083
2083
|
if (t < this.length) {
|
|
@@ -2090,8 +2090,8 @@ var wo = function() {
|
|
|
2090
2090
|
var i = "";
|
|
2091
2091
|
if (t >= this.length || this.groupSizes[t] === 0)
|
|
2092
2092
|
return i;
|
|
2093
|
-
for (var o = this.groupSizes[t], s = this.indexOfGroup(t), a = s + o,
|
|
2094
|
-
i += this.tag.getRule(
|
|
2093
|
+
for (var o = this.groupSizes[t], s = this.indexOfGroup(t), a = s + o, l = s; l < a; l++)
|
|
2094
|
+
i += this.tag.getRule(l) + `/*!sc*/
|
|
2095
2095
|
`;
|
|
2096
2096
|
return i;
|
|
2097
2097
|
}, r;
|
|
@@ -2114,10 +2114,10 @@ var wo = function() {
|
|
|
2114
2114
|
`), i = [], o = 0, s = t.length; o < s; o++) {
|
|
2115
2115
|
var a = t[o].trim();
|
|
2116
2116
|
if (a) {
|
|
2117
|
-
var
|
|
2118
|
-
if (
|
|
2119
|
-
var h = 0 | parseInt(
|
|
2120
|
-
h !== 0 && (To(d, h), Ao(r, d,
|
|
2117
|
+
var l = a.match(_o);
|
|
2118
|
+
if (l) {
|
|
2119
|
+
var h = 0 | parseInt(l[1], 10), d = l[2];
|
|
2120
|
+
h !== 0 && (To(d, h), Ao(r, d, l[3]), r.getTag().insertRules(h, i)), i.length = 0;
|
|
2121
2121
|
} else
|
|
2122
2122
|
i.push(a);
|
|
2123
2123
|
}
|
|
@@ -2125,11 +2125,11 @@ var wo = function() {
|
|
|
2125
2125
|
}, ko = function() {
|
|
2126
2126
|
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
|
|
2127
2127
|
}, nn = function(r) {
|
|
2128
|
-
var e = document.head, t = r || e, i = document.createElement("style"), o = function(
|
|
2129
|
-
for (var h =
|
|
2130
|
-
var
|
|
2131
|
-
if (
|
|
2132
|
-
return
|
|
2128
|
+
var e = document.head, t = r || e, i = document.createElement("style"), o = function(l) {
|
|
2129
|
+
for (var h = l.childNodes, d = h.length; d >= 0; d--) {
|
|
2130
|
+
var c = h[d];
|
|
2131
|
+
if (c && c.nodeType === 1 && c.hasAttribute(Ut))
|
|
2132
|
+
return c;
|
|
2133
2133
|
}
|
|
2134
2134
|
}(t), s = o !== void 0 ? o.nextSibling : null;
|
|
2135
2135
|
i.setAttribute(Ut, "active"), i.setAttribute("data-styled-version", "5.3.6");
|
|
@@ -2141,7 +2141,7 @@ var wo = function() {
|
|
|
2141
2141
|
i.appendChild(document.createTextNode("")), this.sheet = function(o) {
|
|
2142
2142
|
if (o.sheet)
|
|
2143
2143
|
return o.sheet;
|
|
2144
|
-
for (var s = document.styleSheets, a = 0,
|
|
2144
|
+
for (var s = document.styleSheets, a = 0, l = s.length; a < l; a++) {
|
|
2145
2145
|
var h = s[a];
|
|
2146
2146
|
if (h.ownerNode === o)
|
|
2147
2147
|
return h;
|
|
@@ -2194,8 +2194,8 @@ var wo = function() {
|
|
|
2194
2194
|
}(), Fi = ui, Ho = { isServer: !ui, useCSSOMInjection: !vo }, on = function() {
|
|
2195
2195
|
function r(t, i, o) {
|
|
2196
2196
|
t === void 0 && (t = St), i === void 0 && (i = {}), this.options = ht({}, Ho, {}, t), this.gs = i, this.names = new Map(o), this.server = !!t.isServer, !this.server && ui && Fi && (Fi = !1, function(s) {
|
|
2197
|
-
for (var a = document.querySelectorAll(Co),
|
|
2198
|
-
var d = a[
|
|
2197
|
+
for (var a = document.querySelectorAll(Co), l = 0, h = a.length; l < h; l++) {
|
|
2198
|
+
var d = a[l];
|
|
2199
2199
|
d && d.getAttribute(Ut) !== "active" && (Oo(s, d), d.parentNode && d.parentNode.removeChild(d));
|
|
2200
2200
|
}
|
|
2201
2201
|
}(this));
|
|
@@ -2231,14 +2231,14 @@ var wo = function() {
|
|
|
2231
2231
|
}, e.toString = function() {
|
|
2232
2232
|
return function(t) {
|
|
2233
2233
|
for (var i = t.getTag(), o = i.length, s = "", a = 0; a < o; a++) {
|
|
2234
|
-
var
|
|
2235
|
-
if (
|
|
2236
|
-
var h = t.names.get(
|
|
2234
|
+
var l = Eo(a);
|
|
2235
|
+
if (l !== void 0) {
|
|
2236
|
+
var h = t.names.get(l), d = i.getGroup(a);
|
|
2237
2237
|
if (h && d && h.size) {
|
|
2238
|
-
var
|
|
2239
|
-
h !== void 0 && h.forEach(function(
|
|
2240
|
-
|
|
2241
|
-
}), s += "" + d +
|
|
2238
|
+
var c = Ut + ".g" + a + '[id="' + l + '"]', p = "";
|
|
2239
|
+
h !== void 0 && h.forEach(function(v) {
|
|
2240
|
+
v.length > 0 && (p += v + ",");
|
|
2241
|
+
}), s += "" + d + c + '{content:"' + p + `"}/*!sc*/
|
|
2242
2242
|
`;
|
|
2243
2243
|
}
|
|
2244
2244
|
}
|
|
@@ -2280,86 +2280,86 @@ var Io = sn("5.3.6"), Bo = function() {
|
|
|
2280
2280
|
if (this.staticRulesId && t.hasNameForId(o, this.staticRulesId))
|
|
2281
2281
|
s.push(this.staticRulesId);
|
|
2282
2282
|
else {
|
|
2283
|
-
var a = Gt(this.rules, e, t, i).join(""),
|
|
2284
|
-
if (!t.hasNameForId(o,
|
|
2285
|
-
var h = i(a, "." +
|
|
2286
|
-
t.insertRules(o,
|
|
2283
|
+
var a = Gt(this.rules, e, t, i).join(""), l = Kr(Ct(this.baseHash, a) >>> 0);
|
|
2284
|
+
if (!t.hasNameForId(o, l)) {
|
|
2285
|
+
var h = i(a, "." + l, void 0, o);
|
|
2286
|
+
t.insertRules(o, l, h);
|
|
2287
2287
|
}
|
|
2288
|
-
s.push(
|
|
2288
|
+
s.push(l), this.staticRulesId = l;
|
|
2289
2289
|
}
|
|
2290
2290
|
else {
|
|
2291
|
-
for (var d = this.rules.length,
|
|
2292
|
-
var
|
|
2293
|
-
if (typeof
|
|
2294
|
-
p +=
|
|
2295
|
-
else if (
|
|
2296
|
-
var
|
|
2297
|
-
|
|
2291
|
+
for (var d = this.rules.length, c = Ct(this.baseHash, i.hash), p = "", v = 0; v < d; v++) {
|
|
2292
|
+
var b = this.rules[v];
|
|
2293
|
+
if (typeof b == "string")
|
|
2294
|
+
p += b, process.env.NODE_ENV !== "production" && (c = Ct(c, b + v));
|
|
2295
|
+
else if (b) {
|
|
2296
|
+
var _ = Gt(b, e, t, i), x = Array.isArray(_) ? _.join("") : _;
|
|
2297
|
+
c = Ct(c, x + v), p += x;
|
|
2298
2298
|
}
|
|
2299
2299
|
}
|
|
2300
2300
|
if (p) {
|
|
2301
|
-
var
|
|
2302
|
-
if (!t.hasNameForId(o,
|
|
2303
|
-
var
|
|
2304
|
-
t.insertRules(o,
|
|
2301
|
+
var u = Kr(c >>> 0);
|
|
2302
|
+
if (!t.hasNameForId(o, u)) {
|
|
2303
|
+
var S = i(p, "." + u, void 0, o);
|
|
2304
|
+
t.insertRules(o, u, S);
|
|
2305
2305
|
}
|
|
2306
|
-
s.push(
|
|
2306
|
+
s.push(u);
|
|
2307
2307
|
}
|
|
2308
2308
|
}
|
|
2309
2309
|
return s.join(" ");
|
|
2310
2310
|
}, r;
|
|
2311
2311
|
}(), Mo = /^\s*\/\/.*$/gm, jo = [":", "[", ".", "#"];
|
|
2312
2312
|
function Fo(r) {
|
|
2313
|
-
var e, t, i, o, s = r === void 0 ? St : r, a = s.options,
|
|
2314
|
-
function
|
|
2315
|
-
if (
|
|
2313
|
+
var e, t, i, o, s = r === void 0 ? St : r, a = s.options, l = a === void 0 ? St : a, h = s.plugins, d = h === void 0 ? Sr : h, c = new no(l), p = [], v = function(x) {
|
|
2314
|
+
function u(S) {
|
|
2315
|
+
if (S)
|
|
2316
2316
|
try {
|
|
2317
|
-
|
|
2317
|
+
x(S + "}");
|
|
2318
2318
|
} catch {
|
|
2319
2319
|
}
|
|
2320
2320
|
}
|
|
2321
|
-
return function(
|
|
2322
|
-
switch (
|
|
2321
|
+
return function(S, O, I, R, y, te, q, C, ie, ae) {
|
|
2322
|
+
switch (S) {
|
|
2323
2323
|
case 1:
|
|
2324
2324
|
if (ie === 0 && O.charCodeAt(0) === 64)
|
|
2325
|
-
return
|
|
2325
|
+
return x(O + ";"), "";
|
|
2326
2326
|
break;
|
|
2327
2327
|
case 2:
|
|
2328
|
-
if (
|
|
2328
|
+
if (C === 0)
|
|
2329
2329
|
return O + "/*|*/";
|
|
2330
2330
|
break;
|
|
2331
2331
|
case 3:
|
|
2332
|
-
switch (
|
|
2332
|
+
switch (C) {
|
|
2333
2333
|
case 102:
|
|
2334
2334
|
case 112:
|
|
2335
|
-
return
|
|
2335
|
+
return x(I[0] + O), "";
|
|
2336
2336
|
default:
|
|
2337
2337
|
return O + (ae === 0 ? "/*|*/" : "");
|
|
2338
2338
|
}
|
|
2339
2339
|
case -2:
|
|
2340
|
-
O.split("/*|*/}").forEach(
|
|
2340
|
+
O.split("/*|*/}").forEach(u);
|
|
2341
2341
|
}
|
|
2342
2342
|
};
|
|
2343
|
-
}(function(
|
|
2344
|
-
p.push(
|
|
2345
|
-
}),
|
|
2346
|
-
return
|
|
2343
|
+
}(function(x) {
|
|
2344
|
+
p.push(x);
|
|
2345
|
+
}), b = function(x, u, S) {
|
|
2346
|
+
return u === 0 && jo.indexOf(S[t.length]) !== -1 || S.match(o) ? x : "." + e;
|
|
2347
2347
|
};
|
|
2348
|
-
function
|
|
2348
|
+
function _(x, u, S, O) {
|
|
2349
2349
|
O === void 0 && (O = "&");
|
|
2350
|
-
var I =
|
|
2351
|
-
return e = O, t =
|
|
2352
|
-
}
|
|
2353
|
-
return
|
|
2354
|
-
|
|
2355
|
-
},
|
|
2356
|
-
if (
|
|
2357
|
-
var
|
|
2358
|
-
return p = [],
|
|
2359
|
-
}
|
|
2360
|
-
}])),
|
|
2361
|
-
return
|
|
2362
|
-
}, 5381).toString() : "",
|
|
2350
|
+
var I = x.replace(Mo, ""), R = u && S ? S + " " + u + " { " + I + " }" : I;
|
|
2351
|
+
return e = O, t = u, i = new RegExp("\\" + t + "\\b", "g"), o = new RegExp("(\\" + t + "\\b){2,}"), c(S || !u ? "" : u, R);
|
|
2352
|
+
}
|
|
2353
|
+
return c.use([].concat(d, [function(x, u, S) {
|
|
2354
|
+
x === 2 && S.length && S[0].lastIndexOf(t) > 0 && (S[0] = S[0].replace(i, b));
|
|
2355
|
+
}, v, function(x) {
|
|
2356
|
+
if (x === -2) {
|
|
2357
|
+
var u = p;
|
|
2358
|
+
return p = [], u;
|
|
2359
|
+
}
|
|
2360
|
+
}])), _.hash = d.length ? d.reduce(function(x, u) {
|
|
2361
|
+
return u.name || Kt(15), Ct(x, u.name);
|
|
2362
|
+
}, 5381).toString() : "", _;
|
|
2363
2363
|
}
|
|
2364
2364
|
var an = Me.createContext();
|
|
2365
2365
|
an.Consumer;
|
|
@@ -2395,7 +2395,7 @@ var Li = function(r) {
|
|
|
2395
2395
|
};
|
|
2396
2396
|
function Gt(r, e, t, i) {
|
|
2397
2397
|
if (Array.isArray(r)) {
|
|
2398
|
-
for (var o, s = [], a = 0,
|
|
2398
|
+
for (var o, s = [], a = 0, l = r.length; a < l; a += 1)
|
|
2399
2399
|
(o = Gt(r[a], e, t, i)) !== "" && (Array.isArray(o) ? s.push.apply(s, o) : s.push(o));
|
|
2400
2400
|
return s;
|
|
2401
2401
|
}
|
|
@@ -2410,11 +2410,11 @@ function Gt(r, e, t, i) {
|
|
|
2410
2410
|
return process.env.NODE_ENV !== "production" && zr.exports.isElement(h) && 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."), Gt(h, e, t, i);
|
|
2411
2411
|
}
|
|
2412
2412
|
var d;
|
|
2413
|
-
return r instanceof Xo ? t ? (r.inject(t, i), r.getName(i)) : r : Gr(r) ? function
|
|
2414
|
-
var
|
|
2415
|
-
for (var
|
|
2416
|
-
p.hasOwnProperty(
|
|
2417
|
-
return
|
|
2413
|
+
return r instanceof Xo ? t ? (r.inject(t, i), r.getName(i)) : r : Gr(r) ? function c(p, v) {
|
|
2414
|
+
var b, _, x = [];
|
|
2415
|
+
for (var u in p)
|
|
2416
|
+
p.hasOwnProperty(u) && !Li(p[u]) && (Array.isArray(p[u]) && p[u].isCss || sr(p[u]) ? x.push(Ni(u) + ":", p[u], ";") : Gr(p[u]) ? x.push.apply(x, c(p[u], u)) : x.push(Ni(u) + ": " + (b = u, (_ = p[u]) == null || typeof _ == "boolean" || _ === "" ? "" : typeof _ != "number" || _ === 0 || b in oo ? String(_).trim() : _ + "px") + ";"));
|
|
2417
|
+
return v ? [v + " {"].concat(x, ["}"]) : x;
|
|
2418
2418
|
}(r) : r.toString();
|
|
2419
2419
|
}
|
|
2420
2420
|
var Xi = function(r) {
|
|
@@ -2436,9 +2436,9 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
2436
2436
|
if (Vi.test(s))
|
|
2437
2437
|
o = !1, hr.delete(t);
|
|
2438
2438
|
else {
|
|
2439
|
-
for (var a = arguments.length,
|
|
2440
|
-
|
|
2441
|
-
i.apply(void 0, [s].concat(
|
|
2439
|
+
for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), h = 1; h < a; h++)
|
|
2440
|
+
l[h - 1] = arguments[h];
|
|
2441
|
+
i.apply(void 0, [s].concat(l));
|
|
2442
2442
|
}
|
|
2443
2443
|
}, Qi(), o && !hr.has(t) && (console.warn(t), hr.add(t));
|
|
2444
2444
|
} catch (s) {
|
|
@@ -2474,8 +2474,8 @@ function ln(r) {
|
|
|
2474
2474
|
for (var o = 0, s = t; o < s.length; o++) {
|
|
2475
2475
|
var a = s[o];
|
|
2476
2476
|
if (Qr(a))
|
|
2477
|
-
for (var
|
|
2478
|
-
ts(
|
|
2477
|
+
for (var l in a)
|
|
2478
|
+
ts(l) && rs(r, a[l], l);
|
|
2479
2479
|
}
|
|
2480
2480
|
return r;
|
|
2481
2481
|
}
|
|
@@ -2483,56 +2483,56 @@ var un = Me.createContext();
|
|
|
2483
2483
|
un.Consumer;
|
|
2484
2484
|
var Nr = {};
|
|
2485
2485
|
function fn(r, e, t) {
|
|
2486
|
-
var i = li(r), o = !dr(r), s = e.attrs, a = s === void 0 ? Sr : s,
|
|
2486
|
+
var i = li(r), o = !dr(r), s = e.attrs, a = s === void 0 ? Sr : s, l = e.componentId, h = l === void 0 ? function(O, I) {
|
|
2487
2487
|
var R = typeof O != "string" ? "sc" : Yr(O);
|
|
2488
2488
|
Nr[R] = (Nr[R] || 0) + 1;
|
|
2489
|
-
var
|
|
2490
|
-
return I ? I + "-" +
|
|
2491
|
-
}(e.displayName, e.parentComponentId) :
|
|
2489
|
+
var y = R + "-" + es("5.3.6" + R + Nr[R]);
|
|
2490
|
+
return I ? I + "-" + y : y;
|
|
2491
|
+
}(e.displayName, e.parentComponentId) : l, d = e.displayName, c = d === void 0 ? function(O) {
|
|
2492
2492
|
return dr(O) ? "styled." + O : "Styled(" + qr(O) + ")";
|
|
2493
|
-
}(r) : d, p = e.displayName && e.componentId ? Yr(e.displayName) + "-" + e.componentId : e.componentId || h,
|
|
2494
|
-
i && r.shouldForwardProp && (
|
|
2493
|
+
}(r) : d, p = e.displayName && e.componentId ? Yr(e.displayName) + "-" + e.componentId : e.componentId || h, v = i && r.attrs ? Array.prototype.concat(r.attrs, a).filter(Boolean) : a, b = e.shouldForwardProp;
|
|
2494
|
+
i && r.shouldForwardProp && (b = e.shouldForwardProp ? function(O, I, R) {
|
|
2495
2495
|
return r.shouldForwardProp(O, I, R) && e.shouldForwardProp(O, I, R);
|
|
2496
2496
|
} : r.shouldForwardProp);
|
|
2497
|
-
var
|
|
2498
|
-
return function(R,
|
|
2499
|
-
var
|
|
2497
|
+
var _, x = new Bo(t, p, i ? r.componentStyle : void 0), u = x.isStatic && a.length === 0, S = function(O, I) {
|
|
2498
|
+
return function(R, y, te, q) {
|
|
2499
|
+
var C = R.attrs, ie = R.componentStyle, ae = R.defaultProps, pe = R.foldedComponentIds, E = R.shouldForwardProp, D = R.styledComponentId, G = R.target;
|
|
2500
2500
|
process.env.NODE_ENV !== "production" && Si(D);
|
|
2501
2501
|
var Y = function(L, m, J) {
|
|
2502
2502
|
L === void 0 && (L = St);
|
|
2503
|
-
var
|
|
2503
|
+
var A = ht({}, m, { theme: L }), me = {};
|
|
2504
2504
|
return J.forEach(function(K) {
|
|
2505
|
-
var re,
|
|
2506
|
-
for (re in sr($) && ($ = $(
|
|
2507
|
-
|
|
2508
|
-
}), [
|
|
2509
|
-
}(Ko(
|
|
2505
|
+
var re, w, Ae, $ = K;
|
|
2506
|
+
for (re in sr($) && ($ = $(A)), $)
|
|
2507
|
+
A[re] = me[re] = re === "className" ? (w = me[re], Ae = $[re], w && Ae ? w + " " + Ae : w || Ae) : $[re];
|
|
2508
|
+
}), [A, me];
|
|
2509
|
+
}(Ko(y, qe(un), ae) || St, y, C), N = Y[0], ue = Y[1], fe = function(L, m, J, A) {
|
|
2510
2510
|
var me = No(), K = Lo(), re = m ? L.generateAndInjectStyles(St, me, K) : L.generateAndInjectStyles(J, me, K);
|
|
2511
|
-
return process.env.NODE_ENV !== "production" && Si(re), process.env.NODE_ENV !== "production" && !m &&
|
|
2512
|
-
}(ie, q, N, process.env.NODE_ENV !== "production" ? R.warnTooManyClasses : void 0), xe = te, se = ue.$as ||
|
|
2511
|
+
return process.env.NODE_ENV !== "production" && Si(re), process.env.NODE_ENV !== "production" && !m && A && A(re), re;
|
|
2512
|
+
}(ie, q, N, process.env.NODE_ENV !== "production" ? R.warnTooManyClasses : void 0), xe = te, se = ue.$as || y.$as || ue.as || y.as || G, je = dr(se), H = ue !== y ? ht({}, y, {}, ue) : y, k = {};
|
|
2513
2513
|
for (var z in H)
|
|
2514
|
-
z[0] !== "$" && z !== "as" && (z === "forwardedAs" ? k.as = H[z] : (
|
|
2515
|
-
return
|
|
2516
|
-
}(
|
|
2514
|
+
z[0] !== "$" && z !== "as" && (z === "forwardedAs" ? k.as = H[z] : (E ? E(z, Hi, se) : !je || Hi(z)) && (k[z] = H[z]));
|
|
2515
|
+
return y.style && ue.style !== y.style && (k.style = ht({}, y.style, {}, ue.style)), k.className = Array.prototype.concat(pe, D, fe !== D ? fe : null, y.className, ue.className).filter(Boolean).join(" "), k.ref = xe, In(se, k);
|
|
2516
|
+
}(_, O, I, u);
|
|
2517
2517
|
};
|
|
2518
|
-
return
|
|
2518
|
+
return S.displayName = c, (_ = Me.forwardRef(S)).attrs = v, _.componentStyle = x, _.displayName = c, _.shouldForwardProp = b, _.foldedComponentIds = i ? Array.prototype.concat(r.foldedComponentIds, r.styledComponentId) : Sr, _.styledComponentId = p, _.target = i ? r.target : r, _.withComponent = function(O) {
|
|
2519
2519
|
var I = e.componentId, R = function(te, q) {
|
|
2520
2520
|
if (te == null)
|
|
2521
2521
|
return {};
|
|
2522
|
-
var
|
|
2522
|
+
var C, ie, ae = {}, pe = Object.keys(te);
|
|
2523
2523
|
for (ie = 0; ie < pe.length; ie++)
|
|
2524
|
-
|
|
2524
|
+
C = pe[ie], q.indexOf(C) >= 0 || (ae[C] = te[C]);
|
|
2525
2525
|
return ae;
|
|
2526
|
-
}(e, ["componentId"]),
|
|
2527
|
-
return fn(O, ht({}, R, { attrs:
|
|
2528
|
-
}, Object.defineProperty(
|
|
2526
|
+
}(e, ["componentId"]), y = I && I + "-" + (dr(O) ? O : Yr(qr(O)));
|
|
2527
|
+
return fn(O, ht({}, R, { attrs: v, componentId: y }), t);
|
|
2528
|
+
}, Object.defineProperty(_, "defaultProps", { get: function() {
|
|
2529
2529
|
return this._foldedDefaultProps;
|
|
2530
2530
|
}, set: function(O) {
|
|
2531
2531
|
this._foldedDefaultProps = i ? ln({}, r.defaultProps, O) : O;
|
|
2532
|
-
} }), process.env.NODE_ENV !== "production" && (qo(
|
|
2533
|
-
var R = {},
|
|
2532
|
+
} }), process.env.NODE_ENV !== "production" && (qo(c, p), _.warnTooManyClasses = function(O, I) {
|
|
2533
|
+
var R = {}, y = !1;
|
|
2534
2534
|
return function(te) {
|
|
2535
|
-
if (!
|
|
2535
|
+
if (!y && (R[te] = !0, Object.keys(R).length >= 200)) {
|
|
2536
2536
|
var q = I ? ' with the id of "' + I + '"' : "";
|
|
2537
2537
|
console.warn("Over 200 classes were generated for component " + O + q + `.
|
|
2538
2538
|
Consider using the attrs method, together with a style object for frequently changed styles.
|
|
@@ -2543,12 +2543,12 @@ Example:
|
|
|
2543
2543
|
},
|
|
2544
2544
|
}))\`width: 100%;\`
|
|
2545
2545
|
|
|
2546
|
-
<Component />`),
|
|
2546
|
+
<Component />`), y = !0, R = {};
|
|
2547
2547
|
}
|
|
2548
2548
|
};
|
|
2549
|
-
}(
|
|
2550
|
-
return "." +
|
|
2551
|
-
}, o && bo(
|
|
2549
|
+
}(c, p)), _.toString = function() {
|
|
2550
|
+
return "." + _.styledComponentId;
|
|
2551
|
+
}, o && bo(_, r, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), _;
|
|
2552
2552
|
}
|
|
2553
2553
|
var ei = function(r) {
|
|
2554
2554
|
return function e(t, i, o) {
|
|
@@ -2682,38 +2682,38 @@ const Et = ei, is = Et.div`
|
|
|
2682
2682
|
`, us = Bn(({ activeToolLocal: r, tools: e, changeActiveToolLocalHandler: t }, i) => {
|
|
2683
2683
|
Mn(i, () => ({
|
|
2684
2684
|
changeTabletDisplayHandler(a) {
|
|
2685
|
-
s(a === "switch" ? (
|
|
2685
|
+
s(a === "switch" ? (l) => l === "none" ? "flex" : "none" : a);
|
|
2686
2686
|
}
|
|
2687
2687
|
}));
|
|
2688
2688
|
const [o, s] = Pe("none");
|
|
2689
|
-
return /* @__PURE__ */
|
|
2689
|
+
return /* @__PURE__ */ g(Me.Fragment, { children: /* @__PURE__ */ ee(is, { display: o, id: "desktop--tablet--container", children: [
|
|
2690
2690
|
/* @__PURE__ */ ee(ns, { children: [
|
|
2691
2691
|
/* @__PURE__ */ ee("h1", { children: [
|
|
2692
2692
|
"NDMVR",
|
|
2693
|
-
/* @__PURE__ */
|
|
2693
|
+
/* @__PURE__ */ g("span", { children: /* @__PURE__ */ g("i", { children: "tablet" }) })
|
|
2694
2694
|
] }),
|
|
2695
|
-
/* @__PURE__ */
|
|
2696
|
-
/* @__PURE__ */
|
|
2697
|
-
/* @__PURE__ */
|
|
2695
|
+
/* @__PURE__ */ g("p", { children: "Tools" }),
|
|
2696
|
+
/* @__PURE__ */ g(ls, { children: e.map((a, l) => l === r ? /* @__PURE__ */ ee(as, { children: [
|
|
2697
|
+
/* @__PURE__ */ g("span", { style: { fontWeight: 700, color: "#0f52ba" }, children: l < 10 ? (l + 1) % 10 : ">" }),
|
|
2698
2698
|
" ",
|
|
2699
2699
|
a.name.length > 15 ? a.name.slice(0, 12) + "..." : a.name
|
|
2700
|
-
] },
|
|
2700
|
+
] }, l) : /* @__PURE__ */ ee(
|
|
2701
2701
|
cs,
|
|
2702
2702
|
{
|
|
2703
|
-
onClick: () => t(
|
|
2703
|
+
onClick: () => t(l),
|
|
2704
2704
|
children: [
|
|
2705
|
-
/* @__PURE__ */
|
|
2705
|
+
/* @__PURE__ */ g("span", { style: { fontWeight: 700, color: "#0f52ba" }, children: l < 10 ? (l + 1) % 10 : ">" }),
|
|
2706
2706
|
" ",
|
|
2707
2707
|
a.name.length > 15 ? a.name.slice(0, 12) + "..." : a.name
|
|
2708
2708
|
]
|
|
2709
2709
|
},
|
|
2710
|
-
|
|
2710
|
+
l
|
|
2711
2711
|
)) })
|
|
2712
2712
|
] }),
|
|
2713
2713
|
/* @__PURE__ */ ee("div", { style: { width: 100 + "%", overflow: "scroll" }, children: [
|
|
2714
2714
|
/* @__PURE__ */ ee(os, { id: "desktop--tablet--container--header", children: [
|
|
2715
|
-
/* @__PURE__ */
|
|
2716
|
-
/* @__PURE__ */
|
|
2715
|
+
/* @__PURE__ */ g("h1", { children: e[r].name }),
|
|
2716
|
+
/* @__PURE__ */ g(
|
|
2717
2717
|
ss,
|
|
2718
2718
|
{
|
|
2719
2719
|
id: "close--button",
|
|
@@ -2722,11 +2722,11 @@ const Et = ei, is = Et.div`
|
|
|
2722
2722
|
cursor: "pointer",
|
|
2723
2723
|
maxWidth: 30 + "px"
|
|
2724
2724
|
},
|
|
2725
|
-
children: /* @__PURE__ */
|
|
2725
|
+
children: /* @__PURE__ */ g("i", { children: "Hide" })
|
|
2726
2726
|
}
|
|
2727
2727
|
)
|
|
2728
2728
|
] }),
|
|
2729
|
-
/* @__PURE__ */
|
|
2729
|
+
/* @__PURE__ */ g(
|
|
2730
2730
|
"div",
|
|
2731
2731
|
{
|
|
2732
2732
|
style: {
|
|
@@ -2747,49 +2747,49 @@ let ti, Zi;
|
|
|
2747
2747
|
function hn() {
|
|
2748
2748
|
const r = Qi(), [e, t] = Pe(0), [i, o] = Pe(null), [s, a] = Pe(null);
|
|
2749
2749
|
ti = e;
|
|
2750
|
-
const [
|
|
2750
|
+
const [l, h] = Pe({
|
|
2751
2751
|
xPos: 0,
|
|
2752
2752
|
yPos: 0,
|
|
2753
2753
|
zPos: 0,
|
|
2754
2754
|
absoluteContent: 0
|
|
2755
|
-
}), [d,
|
|
2755
|
+
}), [d, c] = Pe(1), [p] = Pe(
|
|
2756
2756
|
fs.utils.device.checkHeadsetConnected() ? "oculus" : "desktop"
|
|
2757
|
-
),
|
|
2757
|
+
), v = qe(or), { source: b, theme: _ } = v.stores, [x, u] = Pe([]), [S, O] = Pe([]);
|
|
2758
2758
|
_e(() => {
|
|
2759
|
-
console.log(
|
|
2760
|
-
const
|
|
2761
|
-
console.log(
|
|
2762
|
-
}, [
|
|
2763
|
-
console.log(
|
|
2764
|
-
const
|
|
2765
|
-
console.log(
|
|
2766
|
-
}, [
|
|
2759
|
+
console.log(v);
|
|
2760
|
+
const E = b != null && b.getOptions().length ? b == null ? void 0 : b.getOptions() : [];
|
|
2761
|
+
console.log(E), u(E);
|
|
2762
|
+
}, [v]), _e(() => {
|
|
2763
|
+
console.log(v);
|
|
2764
|
+
const E = _ != null && _.getOptions().length ? _ == null ? void 0 : _.getOptions() : [];
|
|
2765
|
+
console.log(E), O(E);
|
|
2766
|
+
}, [v]), _e(() => (Zi = Oe.subscribe(I), () => Zi.unsubscribe()), [x, S]), _e(() => {
|
|
2767
2767
|
}, [e]), _e(() => {
|
|
2768
|
-
|
|
2768
|
+
b && i && b.executeFunction(0, i);
|
|
2769
2769
|
}, [i]), _e(() => {
|
|
2770
|
-
|
|
2770
|
+
_ && s && _.executeFunction(0, s);
|
|
2771
2771
|
}, [s]);
|
|
2772
|
-
const I = (
|
|
2773
|
-
typeof
|
|
2772
|
+
const I = (E) => {
|
|
2773
|
+
typeof E == "number" ? E + 1 <= y.length && (t(E), ti = e) : E.changeTabletState ? r.current.changeTabletDisplayHandler("switch") : E.binData ? l !== E.binData && h(E.binData) : E.tool ? (E.tool === "next" && t((D) => D === y.length - 1 ? 0 : D + 1), E.tool === "prev" && t((D) => D === 0 ? y.length - 1 : D - 1)) : E.source ? (E.source === "next" && o((D) => x.indexOf(D) === x.length - 1 ? x[0] : x[x.indexOf(D) + 1]), E.source === "prev" && o((D) => x.indexOf(D) === 0 ? x[x.length - 1] : x[x.indexOf(D) - 1])) : E.scale ? c((D) => D += E.scale) : E.theme && (E.theme === "next" && a((D) => S.indexOf(D) === S.length - 1 ? S[0] : S[S.indexOf(D) + 1]), E.theme === "prev" && a((D) => S.indexOf(D) === 0 ? S[S.length - 1] : S[S.indexOf(D) - 1]));
|
|
2774
2774
|
}, R = () => {
|
|
2775
2775
|
switch (e) {
|
|
2776
2776
|
case 0:
|
|
2777
|
-
return /* @__PURE__ */
|
|
2777
|
+
return /* @__PURE__ */ g(Me.Fragment, { children: /* @__PURE__ */ g(
|
|
2778
2778
|
"a-text",
|
|
2779
2779
|
{
|
|
2780
2780
|
value: `Selected bin:
|
|
2781
2781
|
|
|
2782
|
-
Value: ` +
|
|
2783
|
-
X: ` +
|
|
2784
|
-
Y: ` +
|
|
2785
|
-
Z: ` +
|
|
2782
|
+
Value: ` + l.absoluteContent + `
|
|
2783
|
+
X: ` + l.xPos + `
|
|
2784
|
+
Y: ` + l.yPos + `
|
|
2785
|
+
Z: ` + l.zPos,
|
|
2786
2786
|
rotation: "-30 0 0",
|
|
2787
2787
|
position: "0.1 0 0",
|
|
2788
2788
|
"wrap-count": "400"
|
|
2789
2789
|
}
|
|
2790
2790
|
) });
|
|
2791
2791
|
case 2:
|
|
2792
|
-
return /* @__PURE__ */
|
|
2792
|
+
return /* @__PURE__ */ g(Me.Fragment, { children: /* @__PURE__ */ g(
|
|
2793
2793
|
"a-text",
|
|
2794
2794
|
{
|
|
2795
2795
|
value: `Bin height changer:
|
|
@@ -2804,7 +2804,7 @@ the left controller.`,
|
|
|
2804
2804
|
}
|
|
2805
2805
|
) });
|
|
2806
2806
|
case 1:
|
|
2807
|
-
return /* @__PURE__ */
|
|
2807
|
+
return /* @__PURE__ */ g(
|
|
2808
2808
|
"a-box",
|
|
2809
2809
|
{
|
|
2810
2810
|
id: "tablet",
|
|
@@ -2818,31 +2818,31 @@ the left controller.`,
|
|
|
2818
2818
|
}
|
|
2819
2819
|
);
|
|
2820
2820
|
case 3:
|
|
2821
|
-
return /* @__PURE__ */
|
|
2821
|
+
return /* @__PURE__ */ g("a-entity", { rotation: "-30 0 0", children: x.map((E) => /* @__PURE__ */ g(
|
|
2822
2822
|
"a-text",
|
|
2823
2823
|
{
|
|
2824
|
-
value:
|
|
2825
|
-
color:
|
|
2824
|
+
value: E,
|
|
2825
|
+
color: E === i ? "white" : "lightgray",
|
|
2826
2826
|
rotation: "0 0 0",
|
|
2827
|
-
position: "0.1 " + -0.025 *
|
|
2828
|
-
"wrap-count":
|
|
2827
|
+
position: "0.1 " + -0.025 * x.indexOf(E) + " 0",
|
|
2828
|
+
"wrap-count": E === i ? "360" : "400"
|
|
2829
2829
|
},
|
|
2830
|
-
|
|
2830
|
+
E
|
|
2831
2831
|
)) });
|
|
2832
2832
|
case 4:
|
|
2833
|
-
return /* @__PURE__ */
|
|
2833
|
+
return /* @__PURE__ */ g("a-entity", { rotation: "-30 0 0", children: S.map((E) => /* @__PURE__ */ g(
|
|
2834
2834
|
"a-text",
|
|
2835
2835
|
{
|
|
2836
|
-
value:
|
|
2837
|
-
color:
|
|
2836
|
+
value: E,
|
|
2837
|
+
color: E === s ? "white" : "lightgray",
|
|
2838
2838
|
rotation: "0 0 0",
|
|
2839
|
-
position: "0.1 " + -0.025 *
|
|
2840
|
-
"wrap-count":
|
|
2839
|
+
position: "0.1 " + -0.025 * S.indexOf(E) + " 0",
|
|
2840
|
+
"wrap-count": E === s ? "360" : "400"
|
|
2841
2841
|
},
|
|
2842
|
-
|
|
2842
|
+
E
|
|
2843
2843
|
)) });
|
|
2844
2844
|
default:
|
|
2845
|
-
return /* @__PURE__ */
|
|
2845
|
+
return /* @__PURE__ */ g(
|
|
2846
2846
|
"a-text",
|
|
2847
2847
|
{
|
|
2848
2848
|
value: `This tool does not have
|
|
@@ -2853,16 +2853,16 @@ the left controller.`,
|
|
|
2853
2853
|
}
|
|
2854
2854
|
);
|
|
2855
2855
|
}
|
|
2856
|
-
},
|
|
2856
|
+
}, y = [
|
|
2857
2857
|
{ fun: te(), name: "Bin Info" },
|
|
2858
2858
|
{ fun: q(), name: "Scale Z axis" },
|
|
2859
|
-
{ fun:
|
|
2859
|
+
{ fun: C(), name: "Change Data Source" },
|
|
2860
2860
|
{ fun: ie(), name: "Change Data Theme" },
|
|
2861
2861
|
{ fun: null, name: "Tool with a longer name" }
|
|
2862
2862
|
];
|
|
2863
2863
|
function te() {
|
|
2864
2864
|
if (p === "desktop")
|
|
2865
|
-
return /* @__PURE__ */
|
|
2865
|
+
return /* @__PURE__ */ g(Me.Fragment, { children: /* @__PURE__ */ g("table", { style: { width: "100%" }, children: /* @__PURE__ */ ee("tbody", { children: [
|
|
2866
2866
|
/* @__PURE__ */ ee("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2867
2867
|
/* @__PURE__ */ ee(
|
|
2868
2868
|
"td",
|
|
@@ -2874,12 +2874,12 @@ the left controller.`,
|
|
|
2874
2874
|
marginBottom: "0.5em"
|
|
2875
2875
|
},
|
|
2876
2876
|
children: [
|
|
2877
|
-
/* @__PURE__ */
|
|
2877
|
+
/* @__PURE__ */ g("i", { children: "value:" }),
|
|
2878
2878
|
" "
|
|
2879
2879
|
]
|
|
2880
2880
|
}
|
|
2881
2881
|
),
|
|
2882
|
-
/* @__PURE__ */
|
|
2882
|
+
/* @__PURE__ */ g("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: l.absoluteContent })
|
|
2883
2883
|
] }),
|
|
2884
2884
|
/* @__PURE__ */ ee("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2885
2885
|
/* @__PURE__ */ ee(
|
|
@@ -2892,12 +2892,12 @@ the left controller.`,
|
|
|
2892
2892
|
marginBottom: "0.5em"
|
|
2893
2893
|
},
|
|
2894
2894
|
children: [
|
|
2895
|
-
/* @__PURE__ */
|
|
2895
|
+
/* @__PURE__ */ g("i", { children: "x:" }),
|
|
2896
2896
|
" "
|
|
2897
2897
|
]
|
|
2898
2898
|
}
|
|
2899
2899
|
),
|
|
2900
|
-
/* @__PURE__ */
|
|
2900
|
+
/* @__PURE__ */ g("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: l.xPos })
|
|
2901
2901
|
] }),
|
|
2902
2902
|
/* @__PURE__ */ ee("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2903
2903
|
/* @__PURE__ */ ee(
|
|
@@ -2910,12 +2910,12 @@ the left controller.`,
|
|
|
2910
2910
|
marginBottom: "0.5em"
|
|
2911
2911
|
},
|
|
2912
2912
|
children: [
|
|
2913
|
-
/* @__PURE__ */
|
|
2913
|
+
/* @__PURE__ */ g("i", { children: "y:" }),
|
|
2914
2914
|
" "
|
|
2915
2915
|
]
|
|
2916
2916
|
}
|
|
2917
2917
|
),
|
|
2918
|
-
/* @__PURE__ */
|
|
2918
|
+
/* @__PURE__ */ g("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: l.yPos })
|
|
2919
2919
|
] }),
|
|
2920
2920
|
/* @__PURE__ */ ee("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2921
2921
|
/* @__PURE__ */ ee(
|
|
@@ -2928,17 +2928,17 @@ the left controller.`,
|
|
|
2928
2928
|
marginBottom: "0.5em"
|
|
2929
2929
|
},
|
|
2930
2930
|
children: [
|
|
2931
|
-
/* @__PURE__ */
|
|
2931
|
+
/* @__PURE__ */ g("i", { children: "z:" }),
|
|
2932
2932
|
" "
|
|
2933
2933
|
]
|
|
2934
2934
|
}
|
|
2935
2935
|
),
|
|
2936
|
-
/* @__PURE__ */
|
|
2936
|
+
/* @__PURE__ */ g("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: l.zPos })
|
|
2937
2937
|
] })
|
|
2938
2938
|
] }) }) });
|
|
2939
2939
|
}
|
|
2940
2940
|
function q() {
|
|
2941
|
-
return /* @__PURE__ */
|
|
2941
|
+
return /* @__PURE__ */ g(Me.Fragment, { children: /* @__PURE__ */ ee(
|
|
2942
2942
|
"div",
|
|
2943
2943
|
{
|
|
2944
2944
|
style: {
|
|
@@ -2947,21 +2947,21 @@ the left controller.`,
|
|
|
2947
2947
|
alignItems: "center"
|
|
2948
2948
|
},
|
|
2949
2949
|
children: [
|
|
2950
|
-
/* @__PURE__ */
|
|
2950
|
+
/* @__PURE__ */ g(
|
|
2951
2951
|
Wi,
|
|
2952
2952
|
{
|
|
2953
2953
|
onClick: () => {
|
|
2954
|
-
|
|
2954
|
+
c(d + 0.1), Te.changeHistogramScale(0.1, "TH2"), dt.changeHistogramScale(0.1, "TH1");
|
|
2955
2955
|
},
|
|
2956
2956
|
children: "+"
|
|
2957
2957
|
}
|
|
2958
2958
|
),
|
|
2959
|
-
/* @__PURE__ */
|
|
2960
|
-
/* @__PURE__ */
|
|
2959
|
+
/* @__PURE__ */ g("h1", { style: { fontSize: "5em", fontWeight: "bold" }, children: d.toFixed(1) }),
|
|
2960
|
+
/* @__PURE__ */ g(
|
|
2961
2961
|
Wi,
|
|
2962
2962
|
{
|
|
2963
2963
|
onClick: () => {
|
|
2964
|
-
|
|
2964
|
+
c(d - 0.1), Te.changeHistogramScale(-0.1, "TH2"), dt.changeHistogramScale(-0.1, "TH1");
|
|
2965
2965
|
},
|
|
2966
2966
|
children: "-"
|
|
2967
2967
|
}
|
|
@@ -2970,67 +2970,67 @@ the left controller.`,
|
|
|
2970
2970
|
}
|
|
2971
2971
|
) });
|
|
2972
2972
|
}
|
|
2973
|
-
function
|
|
2974
|
-
return /* @__PURE__ */
|
|
2973
|
+
function C() {
|
|
2974
|
+
return /* @__PURE__ */ g("div", { style: { display: "flex", flexDirection: "column" }, children: x.map((E) => E === i ? /* @__PURE__ */ g(
|
|
2975
2975
|
"a",
|
|
2976
2976
|
{
|
|
2977
2977
|
style: { textTransform: "uppercase" },
|
|
2978
|
-
onClick: () => o(
|
|
2979
|
-
children:
|
|
2978
|
+
onClick: () => o(E),
|
|
2979
|
+
children: E
|
|
2980
2980
|
},
|
|
2981
|
-
|
|
2982
|
-
) : /* @__PURE__ */
|
|
2981
|
+
E
|
|
2982
|
+
) : /* @__PURE__ */ g("a", { onClick: () => o(E), children: E }, E)) });
|
|
2983
2983
|
}
|
|
2984
2984
|
function ie() {
|
|
2985
|
-
return /* @__PURE__ */
|
|
2985
|
+
return /* @__PURE__ */ g("div", { style: { display: "flex", flexDirection: "column" }, children: S.map((E) => E === s ? /* @__PURE__ */ g(
|
|
2986
2986
|
"a",
|
|
2987
2987
|
{
|
|
2988
2988
|
style: { textTransform: "uppercase" },
|
|
2989
|
-
onClick: () => a(
|
|
2990
|
-
children:
|
|
2989
|
+
onClick: () => a(E),
|
|
2990
|
+
children: E
|
|
2991
2991
|
},
|
|
2992
|
-
|
|
2993
|
-
) : /* @__PURE__ */
|
|
2992
|
+
E
|
|
2993
|
+
) : /* @__PURE__ */ g("a", { onClick: () => a(E), children: E }, E)) });
|
|
2994
2994
|
}
|
|
2995
2995
|
document.getElementById("desktop--tablet--container") && ae(document.getElementById("desktop--tablet--container"));
|
|
2996
|
-
function ae(
|
|
2996
|
+
function ae(E) {
|
|
2997
2997
|
let D = 0, G = 0, Y = 0, N = 0;
|
|
2998
|
-
document.getElementById(
|
|
2998
|
+
document.getElementById(E.id + "--header") ? document.getElementById(E.id + "--header").onmousedown = ue : E.onmousedown = ue;
|
|
2999
2999
|
function ue(se) {
|
|
3000
3000
|
se.preventDefault(), Y = se.clientX, N = se.clientY, document.onmouseup = xe, document.onmousemove = fe;
|
|
3001
3001
|
}
|
|
3002
3002
|
function fe(se) {
|
|
3003
|
-
se.preventDefault(), D = Y - se.clientX, G = N - se.clientY, Y = se.clientX, N = se.clientY,
|
|
3003
|
+
se.preventDefault(), D = Y - se.clientX, G = N - se.clientY, Y = se.clientX, N = se.clientY, E.style.top = E.offsetTop - G + "px", E.style.left = E.offsetLeft - D + "px";
|
|
3004
3004
|
}
|
|
3005
3005
|
function xe() {
|
|
3006
3006
|
document.onmouseup = null, document.onmousemove = null;
|
|
3007
3007
|
}
|
|
3008
3008
|
}
|
|
3009
|
-
const pe = (
|
|
3010
|
-
t(
|
|
3009
|
+
const pe = (E) => {
|
|
3010
|
+
t(E);
|
|
3011
3011
|
};
|
|
3012
|
-
return p === "desktop" ? /* @__PURE__ */
|
|
3012
|
+
return p === "desktop" ? /* @__PURE__ */ g(
|
|
3013
3013
|
us,
|
|
3014
3014
|
{
|
|
3015
|
-
tools:
|
|
3015
|
+
tools: y,
|
|
3016
3016
|
activeToolLocal: e,
|
|
3017
3017
|
ref: r,
|
|
3018
3018
|
changeActiveToolLocalHandler: pe
|
|
3019
3019
|
}
|
|
3020
|
-
) : /* @__PURE__ */
|
|
3020
|
+
) : /* @__PURE__ */ g(Me.Fragment, { children: R() });
|
|
3021
3021
|
}
|
|
3022
3022
|
const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
3023
3023
|
let r;
|
|
3024
|
-
const { projPanelIds: t } = qe(or).data, [i, o] = Pe(0), [s, a] = Pe(null), [
|
|
3024
|
+
const { projPanelIds: t } = qe(or).data, [i, o] = Pe(0), [s, a] = Pe(null), [l, h] = Pe(
|
|
3025
3025
|
Ui.utils.device.checkHeadsetConnected() ? "oculus" : "keyboard"
|
|
3026
|
-
), [d,
|
|
3027
|
-
|
|
3028
|
-
},
|
|
3029
|
-
|
|
3030
|
-
},
|
|
3031
|
-
let
|
|
3032
|
-
|
|
3033
|
-
}, O = (
|
|
3026
|
+
), [d, c] = Pe(!1), [p, v] = Pe(!1), [b, _] = Pe(!0), x = (C) => {
|
|
3027
|
+
C.device ? (l !== C.device && h(C.device), c(!d)) : C === "shift" ? S() : C === "show" && v(!p);
|
|
3028
|
+
}, u = (C) => {
|
|
3029
|
+
C.changeTabletState && _(!1);
|
|
3030
|
+
}, S = () => {
|
|
3031
|
+
let C = i + 90;
|
|
3032
|
+
C >= 360 && (C = 0), o(C);
|
|
3033
|
+
}, O = (C) => t[C] ? t[C] : `panel_${C}`, I = () => /* @__PURE__ */ ee(
|
|
3034
3034
|
"a-entity",
|
|
3035
3035
|
{
|
|
3036
3036
|
position: s === null ? `0 ${30} 0` : `${s.x} ${30} ${s.z}`,
|
|
@@ -3045,37 +3045,37 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3045
3045
|
rotation: "45 90 0",
|
|
3046
3046
|
material: "color:white;",
|
|
3047
3047
|
children: [
|
|
3048
|
-
/* @__PURE__ */
|
|
3048
|
+
/* @__PURE__ */ g(
|
|
3049
3049
|
"a-text",
|
|
3050
3050
|
{
|
|
3051
3051
|
color: "black",
|
|
3052
3052
|
width: 50,
|
|
3053
|
-
value:
|
|
3053
|
+
value: l === "keyboard" ? "Press C to show help panels" : "Press Button X to show help panels",
|
|
3054
3054
|
position: "-20 2.8 1"
|
|
3055
3055
|
}
|
|
3056
3056
|
),
|
|
3057
|
-
/* @__PURE__ */
|
|
3057
|
+
/* @__PURE__ */ g(
|
|
3058
3058
|
"a-text",
|
|
3059
3059
|
{
|
|
3060
3060
|
color: "black",
|
|
3061
3061
|
width: 50,
|
|
3062
|
-
value:
|
|
3062
|
+
value: l === "keyboard" ? "Press V to switch to histogram view" : "Press Button Y to switch to histogram view",
|
|
3063
3063
|
position: "-20 0 1"
|
|
3064
3064
|
}
|
|
3065
3065
|
),
|
|
3066
|
-
/* @__PURE__ */
|
|
3066
|
+
/* @__PURE__ */ g(
|
|
3067
3067
|
"a-text",
|
|
3068
3068
|
{
|
|
3069
3069
|
color: "black",
|
|
3070
3070
|
width: 50,
|
|
3071
|
-
value:
|
|
3071
|
+
value: l === "keyboard" ? "Press X to shift panels" : "Press right Trigger to shift panels",
|
|
3072
3072
|
position: "-20 -2.8 1"
|
|
3073
3073
|
}
|
|
3074
3074
|
)
|
|
3075
3075
|
]
|
|
3076
3076
|
}
|
|
3077
3077
|
),
|
|
3078
|
-
/* @__PURE__ */
|
|
3078
|
+
/* @__PURE__ */ g(
|
|
3079
3079
|
"a-box",
|
|
3080
3080
|
{
|
|
3081
3081
|
id: O(1),
|
|
@@ -3084,7 +3084,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3084
3084
|
material: "transparent:true"
|
|
3085
3085
|
}
|
|
3086
3086
|
),
|
|
3087
|
-
/* @__PURE__ */
|
|
3087
|
+
/* @__PURE__ */ g(
|
|
3088
3088
|
"a-box",
|
|
3089
3089
|
{
|
|
3090
3090
|
scale: "80 52 2",
|
|
@@ -3092,7 +3092,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3092
3092
|
material: "color: white;"
|
|
3093
3093
|
}
|
|
3094
3094
|
),
|
|
3095
|
-
/* @__PURE__ */
|
|
3095
|
+
/* @__PURE__ */ g(
|
|
3096
3096
|
"a-box",
|
|
3097
3097
|
{
|
|
3098
3098
|
id: O(2),
|
|
@@ -3102,7 +3102,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3102
3102
|
material: "transparent:true"
|
|
3103
3103
|
}
|
|
3104
3104
|
),
|
|
3105
|
-
/* @__PURE__ */
|
|
3105
|
+
/* @__PURE__ */ g(
|
|
3106
3106
|
"a-box",
|
|
3107
3107
|
{
|
|
3108
3108
|
scale: "80 52 2",
|
|
@@ -3111,7 +3111,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3111
3111
|
material: "color: white;"
|
|
3112
3112
|
}
|
|
3113
3113
|
),
|
|
3114
|
-
/* @__PURE__ */
|
|
3114
|
+
/* @__PURE__ */ g(
|
|
3115
3115
|
"a-box",
|
|
3116
3116
|
{
|
|
3117
3117
|
id: O(3),
|
|
@@ -3120,7 +3120,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3120
3120
|
material: "transparent:true"
|
|
3121
3121
|
}
|
|
3122
3122
|
),
|
|
3123
|
-
/* @__PURE__ */
|
|
3123
|
+
/* @__PURE__ */ g(
|
|
3124
3124
|
"a-box",
|
|
3125
3125
|
{
|
|
3126
3126
|
scale: "80 52 2",
|
|
@@ -3128,7 +3128,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3128
3128
|
material: "color: white;"
|
|
3129
3129
|
}
|
|
3130
3130
|
),
|
|
3131
|
-
/* @__PURE__ */
|
|
3131
|
+
/* @__PURE__ */ g(
|
|
3132
3132
|
"a-box",
|
|
3133
3133
|
{
|
|
3134
3134
|
id: O(4),
|
|
@@ -3138,7 +3138,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3138
3138
|
material: "transparent:true"
|
|
3139
3139
|
}
|
|
3140
3140
|
),
|
|
3141
|
-
/* @__PURE__ */
|
|
3141
|
+
/* @__PURE__ */ g(
|
|
3142
3142
|
"a-box",
|
|
3143
3143
|
{
|
|
3144
3144
|
scale: "80 52 2",
|
|
@@ -3149,7 +3149,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3149
3149
|
)
|
|
3150
3150
|
]
|
|
3151
3151
|
}
|
|
3152
|
-
), R = () =>
|
|
3152
|
+
), R = () => l === "keyboard" ? /* @__PURE__ */ ee(
|
|
3153
3153
|
"a-entity",
|
|
3154
3154
|
{
|
|
3155
3155
|
position: s === null ? `0 ${30} 0` : `${s.x} ${30} ${s.z}`,
|
|
@@ -3164,7 +3164,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3164
3164
|
rotation: "45 90 0",
|
|
3165
3165
|
material: "color: white",
|
|
3166
3166
|
children: [
|
|
3167
|
-
/* @__PURE__ */
|
|
3167
|
+
/* @__PURE__ */ g(
|
|
3168
3168
|
"a-text",
|
|
3169
3169
|
{
|
|
3170
3170
|
color: "black",
|
|
@@ -3173,7 +3173,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3173
3173
|
position: "-20 2.8 1"
|
|
3174
3174
|
}
|
|
3175
3175
|
),
|
|
3176
|
-
/* @__PURE__ */
|
|
3176
|
+
/* @__PURE__ */ g(
|
|
3177
3177
|
"a-text",
|
|
3178
3178
|
{
|
|
3179
3179
|
color: "black",
|
|
@@ -3182,7 +3182,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3182
3182
|
position: "-20 0 1"
|
|
3183
3183
|
}
|
|
3184
3184
|
),
|
|
3185
|
-
/* @__PURE__ */
|
|
3185
|
+
/* @__PURE__ */ g(
|
|
3186
3186
|
"a-text",
|
|
3187
3187
|
{
|
|
3188
3188
|
color: "black",
|
|
@@ -3194,7 +3194,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3194
3194
|
]
|
|
3195
3195
|
}
|
|
3196
3196
|
),
|
|
3197
|
-
/* @__PURE__ */
|
|
3197
|
+
/* @__PURE__ */ g(
|
|
3198
3198
|
"a-box",
|
|
3199
3199
|
{
|
|
3200
3200
|
scale: "80 50 2",
|
|
@@ -3203,7 +3203,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3203
3203
|
src: "./assets/ndmvr/keyboardControls/keyboard.png"
|
|
3204
3204
|
}
|
|
3205
3205
|
),
|
|
3206
|
-
/* @__PURE__ */
|
|
3206
|
+
/* @__PURE__ */ g(
|
|
3207
3207
|
"a-box",
|
|
3208
3208
|
{
|
|
3209
3209
|
scale: "80 50 2",
|
|
@@ -3212,7 +3212,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3212
3212
|
src: "./assets/ndmvr/keyboardControls/keyboard1.png"
|
|
3213
3213
|
}
|
|
3214
3214
|
),
|
|
3215
|
-
/* @__PURE__ */
|
|
3215
|
+
/* @__PURE__ */ g(
|
|
3216
3216
|
"a-box",
|
|
3217
3217
|
{
|
|
3218
3218
|
scale: "80 50 2",
|
|
@@ -3221,7 +3221,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3221
3221
|
src: "./assets/ndmvr/keyboardControls/keyboard2.png"
|
|
3222
3222
|
}
|
|
3223
3223
|
),
|
|
3224
|
-
/* @__PURE__ */
|
|
3224
|
+
/* @__PURE__ */ g(
|
|
3225
3225
|
"a-box",
|
|
3226
3226
|
{
|
|
3227
3227
|
scale: "80 50 2",
|
|
@@ -3246,7 +3246,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3246
3246
|
rotation: "45 90 0",
|
|
3247
3247
|
material: "color: white",
|
|
3248
3248
|
children: [
|
|
3249
|
-
/* @__PURE__ */
|
|
3249
|
+
/* @__PURE__ */ g(
|
|
3250
3250
|
"a-text",
|
|
3251
3251
|
{
|
|
3252
3252
|
color: "black",
|
|
@@ -3255,7 +3255,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3255
3255
|
position: "-20 2.8 1"
|
|
3256
3256
|
}
|
|
3257
3257
|
),
|
|
3258
|
-
/* @__PURE__ */
|
|
3258
|
+
/* @__PURE__ */ g(
|
|
3259
3259
|
"a-text",
|
|
3260
3260
|
{
|
|
3261
3261
|
color: "black",
|
|
@@ -3264,7 +3264,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3264
3264
|
position: "-20 0 1"
|
|
3265
3265
|
}
|
|
3266
3266
|
),
|
|
3267
|
-
/* @__PURE__ */
|
|
3267
|
+
/* @__PURE__ */ g(
|
|
3268
3268
|
"a-text",
|
|
3269
3269
|
{
|
|
3270
3270
|
color: "black",
|
|
@@ -3276,7 +3276,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3276
3276
|
]
|
|
3277
3277
|
}
|
|
3278
3278
|
),
|
|
3279
|
-
/* @__PURE__ */
|
|
3279
|
+
/* @__PURE__ */ g(
|
|
3280
3280
|
"a-box",
|
|
3281
3281
|
{
|
|
3282
3282
|
scale: "80 50 2",
|
|
@@ -3285,7 +3285,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3285
3285
|
src: "./assets/ndmvr/oculusControls/oculus.png"
|
|
3286
3286
|
}
|
|
3287
3287
|
),
|
|
3288
|
-
/* @__PURE__ */
|
|
3288
|
+
/* @__PURE__ */ g(
|
|
3289
3289
|
"a-box",
|
|
3290
3290
|
{
|
|
3291
3291
|
scale: "80 50 2",
|
|
@@ -3294,7 +3294,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3294
3294
|
src: "./assets/ndmvr/oculusControls/oculus2.png"
|
|
3295
3295
|
}
|
|
3296
3296
|
),
|
|
3297
|
-
/* @__PURE__ */
|
|
3297
|
+
/* @__PURE__ */ g(
|
|
3298
3298
|
"a-box",
|
|
3299
3299
|
{
|
|
3300
3300
|
scale: "80 50 2",
|
|
@@ -3303,7 +3303,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3303
3303
|
src: "./assets/ndmvr/oculusControls/oculus1.png"
|
|
3304
3304
|
}
|
|
3305
3305
|
),
|
|
3306
|
-
/* @__PURE__ */
|
|
3306
|
+
/* @__PURE__ */ g(
|
|
3307
3307
|
"a-box",
|
|
3308
3308
|
{
|
|
3309
3309
|
scale: "80 50 2",
|
|
@@ -3314,23 +3314,23 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3314
3314
|
)
|
|
3315
3315
|
]
|
|
3316
3316
|
}
|
|
3317
|
-
),
|
|
3318
|
-
const
|
|
3319
|
-
|
|
3317
|
+
), y = () => {
|
|
3318
|
+
const C = document.getElementById(O(0));
|
|
3319
|
+
C && C.setAttribute("material", "opacity", 0);
|
|
3320
3320
|
}, te = () => {
|
|
3321
|
-
const
|
|
3322
|
-
|
|
3321
|
+
const C = document.getElementById(O(0));
|
|
3322
|
+
C && C.setAttribute("material", "opacity", 1);
|
|
3323
3323
|
};
|
|
3324
|
-
_e(() => (r = Oe.subscribe(
|
|
3325
|
-
const
|
|
3324
|
+
_e(() => (r = Oe.subscribe(u), () => r.unsubscribe()), []), _e(() => (r = kt.getCameraSubject().subscribe(x), () => r.unsubscribe()), [d, p, i]), _e(() => {
|
|
3325
|
+
const C = document.getElementById("camera");
|
|
3326
3326
|
d ? (a({
|
|
3327
|
-
x:
|
|
3328
|
-
y:
|
|
3329
|
-
z:
|
|
3330
|
-
}),
|
|
3331
|
-
}, [d,
|
|
3327
|
+
x: C.object3D.position.x,
|
|
3328
|
+
y: C.object3D.position.y,
|
|
3329
|
+
z: C.object3D.position.z
|
|
3330
|
+
}), C.object3D.position.y = C.object3D.position.y + 30, y()) : (C.object3D.position.y = 1.6, s !== null && (C.object3D.position.x = s.x, C.object3D.position.z = s.z, C.object3D.position.y = s.y), te());
|
|
3331
|
+
}, [d, l]);
|
|
3332
3332
|
const q = () => /* @__PURE__ */ ee(Me.Fragment, { children: [
|
|
3333
|
-
/* @__PURE__ */
|
|
3333
|
+
/* @__PURE__ */ g(
|
|
3334
3334
|
"a-entity",
|
|
3335
3335
|
{
|
|
3336
3336
|
"laser-controls": "hand: right",
|
|
@@ -3339,8 +3339,8 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3339
3339
|
far: 20;`
|
|
3340
3340
|
}
|
|
3341
3341
|
),
|
|
3342
|
-
/* @__PURE__ */
|
|
3343
|
-
/* @__PURE__ */
|
|
3342
|
+
/* @__PURE__ */ g("a-entity", { "oculus-touch-controls": "hand: left", "left-controller-logging": !0, "oculus-thumbstick-movement-controller": "", children: /* @__PURE__ */ g(hn, {}) }),
|
|
3343
|
+
/* @__PURE__ */ g(
|
|
3344
3344
|
"a-entity",
|
|
3345
3345
|
{
|
|
3346
3346
|
"oculus-touch-controls": "hand: right",
|
|
@@ -3358,14 +3358,14 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3358
3358
|
"look-control": !0,
|
|
3359
3359
|
"wasd-controls-enabled": "acceleration:=50",
|
|
3360
3360
|
children: [
|
|
3361
|
-
|
|
3361
|
+
b && l === "keyboard" && /* @__PURE__ */ g(
|
|
3362
3362
|
"a-entity",
|
|
3363
3363
|
{
|
|
3364
3364
|
text: "value: Press E to open NDMVR Tablet;color:black;",
|
|
3365
3365
|
position: "0.2 0.8 -1"
|
|
3366
3366
|
}
|
|
3367
3367
|
),
|
|
3368
|
-
!Ui.utils.device.checkHeadsetConnected() && /* @__PURE__ */
|
|
3368
|
+
!Ui.utils.device.checkHeadsetConnected() && /* @__PURE__ */ g(
|
|
3369
3369
|
"a-entity",
|
|
3370
3370
|
{
|
|
3371
3371
|
cursor: "fuse: false; fuseTimeout: 2000;",
|
|
@@ -3383,7 +3383,7 @@ const Pt = () => ti, Ui = window.AFRAME, hs = () => {
|
|
|
3383
3383
|
]
|
|
3384
3384
|
}
|
|
3385
3385
|
),
|
|
3386
|
-
|
|
3386
|
+
l === "oculus" && q()
|
|
3387
3387
|
] });
|
|
3388
3388
|
};
|
|
3389
3389
|
var Xe, Tr, Qe, Cr;
|
|
@@ -3568,17 +3568,17 @@ pt.registerComponent("mouseevent", {
|
|
|
3568
3568
|
if (s === null && (s = document.getElementById("th3-banner")), s !== null) {
|
|
3569
3569
|
const a = s.childNodes;
|
|
3570
3570
|
if (this.userData.typeName === "TH3" && a.length === 5) {
|
|
3571
|
-
const
|
|
3571
|
+
const l = `[${this.userData.zTitle}] [${this.userData.zMin},${this.userData.zMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
3572
3572
|
` : `
|
|
3573
3573
|
`}`, h = `[${this.userData.xTitle}] [${this.userData.xMin},${this.userData.xMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
3574
3574
|
` : `
|
|
3575
3575
|
`}`, d = `[${this.userData.yTitle}] [${this.userData.yMin},${this.userData.yMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
3576
3576
|
` : `
|
|
3577
|
-
`}`,
|
|
3577
|
+
`}`, c = `Content: ${this.userData.absoluteContent} [${this.userData.content}]
|
|
3578
3578
|
`;
|
|
3579
3579
|
a[0].setAttribute(
|
|
3580
3580
|
"text",
|
|
3581
|
-
`value: ${
|
|
3581
|
+
`value: ${c}; color: ${this.userData.color}; align: center; width: 30; height: auto;`
|
|
3582
3582
|
), a[1].setAttribute(
|
|
3583
3583
|
"text",
|
|
3584
3584
|
`value: ${h}; color: ${this.userData.axisX}; align: center; width: 30; height: auto;`
|
|
@@ -3587,10 +3587,10 @@ pt.registerComponent("mouseevent", {
|
|
|
3587
3587
|
`value: ${d}; color: ${this.userData.axisY}; align: center; width: 30; height: auto;`
|
|
3588
3588
|
), a[3].setAttribute(
|
|
3589
3589
|
"text",
|
|
3590
|
-
`value: ${
|
|
3590
|
+
`value: ${l}; color: ${this.userData.axisZ}; align: center; width: 30; height: auto;`
|
|
3591
3591
|
);
|
|
3592
3592
|
} else {
|
|
3593
|
-
const
|
|
3593
|
+
const l = `Content: ${this.userData.absoluteContent} [${this.userData.content}]
|
|
3594
3594
|
`, h = `[${this.userData.xTitle}] [${this.userData.xMin},${this.userData.xMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
3595
3595
|
` : `
|
|
3596
3596
|
`}`, d = `[${this.userData.yTitle}] [${this.userData.yMin},${this.userData.yMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
@@ -3598,7 +3598,7 @@ pt.registerComponent("mouseevent", {
|
|
|
3598
3598
|
`}`;
|
|
3599
3599
|
a[0].setAttribute(
|
|
3600
3600
|
"text",
|
|
3601
|
-
`value: ${
|
|
3601
|
+
`value: ${l}; color: ${this.userData.color}; align: center; baseline: center; width: 30; height: auto;`
|
|
3602
3602
|
), a[1].setAttribute(
|
|
3603
3603
|
"text",
|
|
3604
3604
|
`value: ${h}; color: ${this.userData.axisX}; align: center; width: 30; height: auto;`
|
|
@@ -4314,7 +4314,7 @@ class yn {
|
|
|
4314
4314
|
}
|
|
4315
4315
|
var we, ar, F, et, X, Q, le, j, Ye, Ve, tt, ut, gt, cr, he, Ne, rt, it, bt, nt, Ot, Bt, V, vt, ft, Mt, Ue, _r, Ar, Or, jt, Ft, Yt, Nt, Lt, Xt, br, kr, Pr, $r, xt, Vt, Wt;
|
|
4316
4316
|
class bs {
|
|
4317
|
-
constructor(e, t, i, o, s, a,
|
|
4317
|
+
constructor(e, t, i, o, s, a, l, h) {
|
|
4318
4318
|
M(this, Xt);
|
|
4319
4319
|
M(this, we, "");
|
|
4320
4320
|
M(this, ar, []);
|
|
@@ -4358,7 +4358,7 @@ class bs {
|
|
|
4358
4358
|
return i < 1 && (i = 1), i;
|
|
4359
4359
|
});
|
|
4360
4360
|
M(this, Mt, (e) => n(this, ar).filter((i) => i.id === e).length !== 0);
|
|
4361
|
-
M(this, Ue, (e, t, i, o, s, a,
|
|
4361
|
+
M(this, Ue, (e, t, i, o, s, a, l, h, d, c, p, v) => ({
|
|
4362
4362
|
key: e + n(this, we),
|
|
4363
4363
|
geometry: {
|
|
4364
4364
|
primitive: "plane",
|
|
@@ -4366,18 +4366,18 @@ class bs {
|
|
|
4366
4366
|
height: d
|
|
4367
4367
|
},
|
|
4368
4368
|
text: {
|
|
4369
|
-
color:
|
|
4369
|
+
color: v,
|
|
4370
4370
|
width: 4,
|
|
4371
4371
|
height: "auto"
|
|
4372
4372
|
},
|
|
4373
4373
|
labelHandler: {
|
|
4374
|
-
value:
|
|
4374
|
+
value: c,
|
|
4375
4375
|
delay: 500
|
|
4376
4376
|
},
|
|
4377
4377
|
rotation: {
|
|
4378
4378
|
x: s,
|
|
4379
4379
|
y: a,
|
|
4380
|
-
z:
|
|
4380
|
+
z: l
|
|
4381
4381
|
},
|
|
4382
4382
|
material: {
|
|
4383
4383
|
color: p
|
|
@@ -4401,69 +4401,69 @@ class bs {
|
|
|
4401
4401
|
titles: [],
|
|
4402
4402
|
axisLabels: []
|
|
4403
4403
|
};
|
|
4404
|
-
let t, i, o, s, a,
|
|
4405
|
-
const
|
|
4406
|
-
let
|
|
4407
|
-
const
|
|
4404
|
+
let t, i, o, s, a, l, h, d, c, p, v, b;
|
|
4405
|
+
const _ = "";
|
|
4406
|
+
let x, u = 0;
|
|
4407
|
+
const S = n(this, Q) + n(this, he) > n(this, Ye) ? n(this, Ye) : n(this, Q) + n(this, he), O = n(this, le) + n(this, he) > n(this, Ve) ? n(this, Ve) : n(this, le) + n(this, he), I = n(this, j) + n(this, he) > n(this, tt) ? n(this, tt) : n(this, j) + n(this, he), R = n(this, F).fXaxis.fTitle, y = n(this, F).fYaxis.fTitle, te = n(this, F).fZaxis.fTitle, q = n(this, F).fXaxis.fLabels ? n(this, F).fXaxis.fLabels.arr : [], C = n(this, F).fYaxis.fLabels ? n(this, F).fYaxis.fLabels.arr : [], ie = n(this, F).fZaxis.fLabels ? n(this, F).fZaxis.fLabels.arr : [], ae = [];
|
|
4408
4408
|
for (let D = n(this, j); D <= I; D++)
|
|
4409
4409
|
for (let G = n(this, le); G <= O; G++)
|
|
4410
|
-
for (let Y = n(this, Q); Y <=
|
|
4411
|
-
t = n(this, F).fXaxis.GetBinCenter(Y), i = n(this, F).fXaxis.GetBinLowEdge(Y), o = t + (t - i), s = o - i, a = n(this, F).fYaxis.GetBinCenter(G),
|
|
4410
|
+
for (let Y = n(this, Q); Y <= S; Y++) {
|
|
4411
|
+
t = n(this, F).fXaxis.GetBinCenter(Y), i = n(this, F).fXaxis.GetBinLowEdge(Y), o = t + (t - i), s = o - i, a = n(this, F).fYaxis.GetBinCenter(G), l = n(this, F).fYaxis.GetBinLowEdge(G), h = a + (a - l), d = h - l, c = n(this, F).fZaxis.GetBinCenter(D), p = n(this, F).fZaxis.GetBinLowEdge(D), v = c + (c - p), b = v - p;
|
|
4412
4412
|
const N = n(this, jt).call(this, n(this, F).getBinContent(Y, G, D));
|
|
4413
4413
|
if (N <= n(this, Ot))
|
|
4414
4414
|
continue;
|
|
4415
|
-
|
|
4415
|
+
x = n(this, it) ? n(this, Wt).call(this, n(this, it).call(this, {
|
|
4416
4416
|
histogram: n(this, F),
|
|
4417
4417
|
histogramId: n(this, we),
|
|
4418
4418
|
x: Y,
|
|
4419
4419
|
y: G,
|
|
4420
4420
|
z: D
|
|
4421
4421
|
})) : N;
|
|
4422
|
-
let ue =
|
|
4423
|
-
|
|
4422
|
+
let ue = x;
|
|
4423
|
+
x < 0.15 && (ue = 0.15);
|
|
4424
4424
|
let fe = n(this, rt) ? n(this, rt).call(this, {
|
|
4425
4425
|
histogram: n(this, F),
|
|
4426
4426
|
histogramId: n(this, we),
|
|
4427
4427
|
x: Y,
|
|
4428
4428
|
y: G,
|
|
4429
4429
|
z: D,
|
|
4430
|
-
content:
|
|
4430
|
+
content: x
|
|
4431
4431
|
}) : null;
|
|
4432
|
-
fe = fe || n(this, X).getBinColor(
|
|
4433
|
-
const xe = n(this, we) + i + "th3" + o + "th3" + p + "th3" +
|
|
4432
|
+
fe = fe || n(this, X).getBinColor(x);
|
|
4433
|
+
const xe = n(this, we) + i + "th3" + o + "th3" + p + "th3" + v + "th3" + l + "th3" + h;
|
|
4434
4434
|
let se;
|
|
4435
4435
|
n(this, Mt).call(this, xe) ? se = n(this, X).getSecondaryAccentColor() : se = fe;
|
|
4436
4436
|
const je = `id: ${xe};
|
|
4437
4437
|
histogramName: ${n(this, we)};
|
|
4438
4438
|
typeName: 'TH3';
|
|
4439
|
-
content: ${
|
|
4439
|
+
content: ${x};
|
|
4440
4440
|
color: ${fe};
|
|
4441
|
-
yTitle: ${
|
|
4441
|
+
yTitle: ${y};
|
|
4442
4442
|
xTitle: ${R};
|
|
4443
4443
|
zTitle: ${te};
|
|
4444
4444
|
absoluteContent: ${N};
|
|
4445
|
-
binName: ${
|
|
4445
|
+
binName: ${_};
|
|
4446
4446
|
xMin: ${i};
|
|
4447
|
-
yMin: ${
|
|
4447
|
+
yMin: ${l};
|
|
4448
4448
|
zMin: ${p};
|
|
4449
4449
|
xMax: ${o};
|
|
4450
4450
|
yMax: ${h};
|
|
4451
|
-
zMax: ${
|
|
4451
|
+
zMax: ${v};
|
|
4452
4452
|
xPos: ${Y};
|
|
4453
4453
|
yPos: ${G};
|
|
4454
4454
|
zPos: ${D};
|
|
4455
4455
|
xCenter: ${t};
|
|
4456
4456
|
yCenter: ${a};
|
|
4457
|
-
zCenter: ${
|
|
4457
|
+
zCenter: ${c};
|
|
4458
4458
|
xWidth: ${s};
|
|
4459
4459
|
yWidth: ${d};
|
|
4460
|
-
zWidth: ${
|
|
4460
|
+
zWidth: ${b};
|
|
4461
4461
|
markedColor: ${se};
|
|
4462
4462
|
selectColor: ${n(this, X).getSecondaryAccentColor()};
|
|
4463
4463
|
axisX: ${n(this, X).getAxisColor("x")};
|
|
4464
4464
|
axisY: ${n(this, X).getAxisColor("y")};
|
|
4465
4465
|
axisZ: ${n(this, X).getAxisColor("z")}`, H = ue * 0.8, k = Y - 1, z = D - 1, L = G - 1;
|
|
4466
|
-
e.bins[
|
|
4466
|
+
e.bins[u] = {
|
|
4467
4467
|
id: xe,
|
|
4468
4468
|
color: fe,
|
|
4469
4469
|
binData: je,
|
|
@@ -4488,15 +4488,15 @@ class bs {
|
|
|
4488
4488
|
fromColor: n(this, Vt).call(this, xe),
|
|
4489
4489
|
toColor: se
|
|
4490
4490
|
}
|
|
4491
|
-
}, ae[
|
|
4491
|
+
}, ae[u] = {
|
|
4492
4492
|
key: xe,
|
|
4493
4493
|
scale: H,
|
|
4494
4494
|
color: se
|
|
4495
|
-
},
|
|
4495
|
+
}, u++;
|
|
4496
4496
|
}
|
|
4497
4497
|
B(this, vt, ae);
|
|
4498
|
-
const pe = [],
|
|
4499
|
-
return
|
|
4498
|
+
const pe = [], E = [];
|
|
4499
|
+
return u = n(this, Nt).call(this, e, pe, E, O, S, C, y, 0), u = n(this, Lt).call(this, e, pe, E, S, O, q, R, u), u = n(this, Yt).call(this, e, pe, E, S, O, I, ie, te, u), ur(this, Xt, br).call(this, e, pe, E, S, O, u), e.labels = [...pe, ...E], e;
|
|
4500
4500
|
});
|
|
4501
4501
|
M(this, Ar, () => {
|
|
4502
4502
|
const e = {
|
|
@@ -4508,64 +4508,64 @@ class bs {
|
|
|
4508
4508
|
titles: [],
|
|
4509
4509
|
axisLabels: []
|
|
4510
4510
|
};
|
|
4511
|
-
let t, i, o, s, a,
|
|
4512
|
-
const
|
|
4513
|
-
let
|
|
4514
|
-
const
|
|
4515
|
-
for (let q = n(this, le); q <=
|
|
4516
|
-
for (let
|
|
4517
|
-
i = n(this, F).fXaxis.GetBinCenter(
|
|
4518
|
-
const ie = n(this, jt).call(this, n(this, F).getBinContent(
|
|
4511
|
+
let t, i, o, s, a, l, h, d, c, p;
|
|
4512
|
+
const v = "";
|
|
4513
|
+
let b = 0;
|
|
4514
|
+
const _ = n(this, Q) + n(this, he) > n(this, F).fXaxis.fNbins ? n(this, F).fXaxis.fNbins : n(this, Q) + n(this, he), x = n(this, le) + n(this, he) > n(this, F).fYaxis.fNbins ? n(this, F).fYaxis.fNbins : n(this, le) + n(this, he), u = n(this, F).fXaxis.fTitle !== "" ? n(this, F).fXaxis.fTitle : "x", S = n(this, F).fYaxis.fTitle !== "" ? n(this, F).fYaxis.fTitle : "y", O = n(this, F).fXaxis.fLabels ? n(this, F).fXaxis.fLabels.arr : [], I = n(this, F).fYaxis.fLabels ? n(this, F).fYaxis.fLabels.arr : [], R = [];
|
|
4515
|
+
for (let q = n(this, le); q <= x; q++)
|
|
4516
|
+
for (let C = n(this, Q); C <= _; C++) {
|
|
4517
|
+
i = n(this, F).fXaxis.GetBinCenter(C), o = n(this, F).fXaxis.GetBinLowEdge(C), s = i + (i - o), a = s - o, l = n(this, F).fYaxis.GetBinCenter(q), h = n(this, F).fYaxis.GetBinLowEdge(q), d = l + (l - h), c = d - h;
|
|
4518
|
+
const ie = n(this, jt).call(this, n(this, F).getBinContent(C, q));
|
|
4519
4519
|
if (ie <= n(this, Ot))
|
|
4520
4520
|
continue;
|
|
4521
4521
|
p = n(this, it) ? n(this, Wt).call(this, n(this, it).call(this, {
|
|
4522
4522
|
histogram: n(this, F),
|
|
4523
4523
|
histogramId: n(this, we),
|
|
4524
|
-
x:
|
|
4524
|
+
x: C,
|
|
4525
4525
|
y: q
|
|
4526
4526
|
})) : ie, t = p * n(this, he) * n(this, nt) / 16;
|
|
4527
4527
|
let ae = n(this, rt) ? n(this, rt).call(this, {
|
|
4528
4528
|
histogram: n(this, F),
|
|
4529
4529
|
histogramId: n(this, we),
|
|
4530
|
-
x:
|
|
4530
|
+
x: C,
|
|
4531
4531
|
y: q,
|
|
4532
4532
|
content: p
|
|
4533
4533
|
}) : null;
|
|
4534
4534
|
ae = ae || n(this, X).getBinColor(p);
|
|
4535
4535
|
const pe = n(this, we) + o + "th2" + s + "th2" + h + "th2" + d;
|
|
4536
|
-
let
|
|
4537
|
-
n(this, Mt).call(this, pe) ?
|
|
4536
|
+
let E;
|
|
4537
|
+
n(this, Mt).call(this, pe) ? E = n(this, X).getSecondaryAccentColor() : E = ae;
|
|
4538
4538
|
const D = `id: ${pe};
|
|
4539
4539
|
histogramName: ${n(this, we)};
|
|
4540
4540
|
typeName: 'TH2';
|
|
4541
4541
|
content: ${p};
|
|
4542
4542
|
color: ${ae};
|
|
4543
|
-
yTitle: ${
|
|
4544
|
-
xTitle: ${
|
|
4543
|
+
yTitle: ${S};
|
|
4544
|
+
xTitle: ${u};
|
|
4545
4545
|
zTitle: 'none';
|
|
4546
4546
|
absoluteContent: ${ie};
|
|
4547
|
-
binName: ${
|
|
4547
|
+
binName: ${v};
|
|
4548
4548
|
xMin: ${o};
|
|
4549
4549
|
yMin: ${h};
|
|
4550
4550
|
zMin: ${0};
|
|
4551
4551
|
xMax: ${s};
|
|
4552
4552
|
yMax: ${d};
|
|
4553
4553
|
zMax: ${0};
|
|
4554
|
-
xPos: ${
|
|
4554
|
+
xPos: ${C};
|
|
4555
4555
|
yPos: ${q};
|
|
4556
4556
|
zPos: ${0};
|
|
4557
4557
|
xCenter: ${i};
|
|
4558
|
-
yCenter: ${
|
|
4558
|
+
yCenter: ${l};
|
|
4559
4559
|
yCenter: ${0};
|
|
4560
4560
|
xWidth: ${a};
|
|
4561
|
-
yWidth: ${
|
|
4561
|
+
yWidth: ${c};
|
|
4562
4562
|
zWidth: ${0};
|
|
4563
|
-
markedColor: ${
|
|
4563
|
+
markedColor: ${E};
|
|
4564
4564
|
selectColor: ${n(this, X).getSecondaryAccentColor()};
|
|
4565
4565
|
axisX: ${n(this, X).getAxisColor("x")};
|
|
4566
4566
|
axisY: ${n(this, X).getAxisColor("y")};
|
|
4567
|
-
axisZ: ${n(this, X).getAxisColor("z")}`, G = a / n(this, ut) / n(this, Bt), Y =
|
|
4568
|
-
e.bins[
|
|
4567
|
+
axisZ: ${n(this, X).getAxisColor("z")}`, G = a / n(this, ut) / n(this, Bt), Y = c / n(this, gt) / n(this, Bt), N = C - 1, ue = q - 1;
|
|
4568
|
+
e.bins[b] = {
|
|
4569
4569
|
id: pe,
|
|
4570
4570
|
color: ae,
|
|
4571
4571
|
binData: D,
|
|
@@ -4588,17 +4588,17 @@ class bs {
|
|
|
4588
4588
|
},
|
|
4589
4589
|
animation3: {
|
|
4590
4590
|
fromColor: n(this, Vt).call(this, pe),
|
|
4591
|
-
toColor:
|
|
4591
|
+
toColor: E
|
|
4592
4592
|
}
|
|
4593
|
-
}, R[
|
|
4593
|
+
}, R[b] = {
|
|
4594
4594
|
key: pe,
|
|
4595
4595
|
scale: p,
|
|
4596
|
-
color:
|
|
4597
|
-
},
|
|
4596
|
+
color: E
|
|
4597
|
+
}, b++;
|
|
4598
4598
|
}
|
|
4599
4599
|
B(this, vt, R);
|
|
4600
|
-
const
|
|
4601
|
-
return
|
|
4600
|
+
const y = [], te = [];
|
|
4601
|
+
return b = n(this, Nt).call(this, e, y, te, x, _, I, S, 0), b = n(this, Lt).call(this, e, y, te, _, x, O, u, b), b = n(this, Yt).call(this, e, y, te, _, x, void 0, void 0, void 0, b), ur(this, Xt, br).call(this, e, y, te, _, x, b), e.labels = [...y, ...te], e;
|
|
4602
4602
|
});
|
|
4603
4603
|
M(this, Or, () => {
|
|
4604
4604
|
const e = {
|
|
@@ -4610,35 +4610,35 @@ class bs {
|
|
|
4610
4610
|
titles: [],
|
|
4611
4611
|
axisLabels: []
|
|
4612
4612
|
};
|
|
4613
|
-
let t, i, o, s, a,
|
|
4613
|
+
let t, i, o, s, a, l;
|
|
4614
4614
|
const h = "";
|
|
4615
4615
|
let d = 0;
|
|
4616
|
-
const
|
|
4617
|
-
for (let
|
|
4618
|
-
i = n(this, F).fXaxis.GetBinCenter(
|
|
4619
|
-
const O = n(this, jt).call(this, n(this, F).getBinContent(
|
|
4616
|
+
const c = n(this, Q) + n(this, he) > n(this, F).fXaxis.fNbins ? n(this, F).fXaxis.fNbins : n(this, Q) + n(this, he), p = 1, v = n(this, F).fXaxis.fTitle !== "" ? n(this, F).fXaxis.fTitle : "x", b = n(this, F).fXaxis.fLabels ? n(this, F).fXaxis.fLabels.arr : [], _ = [];
|
|
4617
|
+
for (let S = n(this, Q); S <= c; S++) {
|
|
4618
|
+
i = n(this, F).fXaxis.GetBinCenter(S), o = n(this, F).fXaxis.GetBinLowEdge(S), s = i + (i - o), a = s - o;
|
|
4619
|
+
const O = n(this, jt).call(this, n(this, F).getBinContent(S));
|
|
4620
4620
|
if (O <= n(this, Ot))
|
|
4621
4621
|
continue;
|
|
4622
|
-
|
|
4622
|
+
l = n(this, it) ? n(this, Wt).call(this, n(this, it).call(this, {
|
|
4623
4623
|
histogram: n(this, F),
|
|
4624
4624
|
histogramId: n(this, we),
|
|
4625
|
-
x:
|
|
4626
|
-
})) : O, t =
|
|
4625
|
+
x: S
|
|
4626
|
+
})) : O, t = l * n(this, he) * n(this, nt) / 16;
|
|
4627
4627
|
let I = n(this, rt) ? n(this, rt).call(this, {
|
|
4628
4628
|
histogram: n(this, F),
|
|
4629
4629
|
histogramId: n(this, we),
|
|
4630
|
-
x:
|
|
4631
|
-
content:
|
|
4630
|
+
x: S,
|
|
4631
|
+
content: l
|
|
4632
4632
|
}) : null;
|
|
4633
|
-
I = I || n(this, X).getBinColor(
|
|
4633
|
+
I = I || n(this, X).getBinColor(l);
|
|
4634
4634
|
const R = n(this, we) + o + "th1" + s;
|
|
4635
|
-
let
|
|
4636
|
-
n(this, Mt).call(this, R) ?
|
|
4635
|
+
let y;
|
|
4636
|
+
n(this, Mt).call(this, R) ? y = n(this, X).getSecondaryAccentColor() : y = I;
|
|
4637
4637
|
const te = `id: ${R};
|
|
4638
4638
|
histogramName: ${n(this, we)};
|
|
4639
4639
|
typeName: 'TH1';
|
|
4640
|
-
content: ${
|
|
4641
|
-
xTitle: ${
|
|
4640
|
+
content: ${l};
|
|
4641
|
+
xTitle: ${v};
|
|
4642
4642
|
zTitle: 'none';
|
|
4643
4643
|
absoluteContent: ${O};
|
|
4644
4644
|
binName: ${h};
|
|
@@ -4646,17 +4646,17 @@ class bs {
|
|
|
4646
4646
|
zMin: ${0};
|
|
4647
4647
|
xMax: ${s};
|
|
4648
4648
|
zMax: ${0};
|
|
4649
|
-
xPos: ${
|
|
4649
|
+
xPos: ${S};
|
|
4650
4650
|
zPos: ${0};
|
|
4651
4651
|
xCenter: ${i};
|
|
4652
4652
|
yCenter: ${0};
|
|
4653
4653
|
xWidth: ${a};
|
|
4654
4654
|
zWidth: ${0};
|
|
4655
|
-
markedColor: ${
|
|
4655
|
+
markedColor: ${y};
|
|
4656
4656
|
selectColor: ${n(this, X).getSecondaryAccentColor()};
|
|
4657
4657
|
axisX: ${n(this, X).getAxisColor("x")};
|
|
4658
4658
|
axisY: ${n(this, X).getAxisColor("y")};
|
|
4659
|
-
axisZ: ${n(this, X).getAxisColor("z")}`, q = a / n(this, ut) / n(this, Bt),
|
|
4659
|
+
axisZ: ${n(this, X).getAxisColor("z")}`, q = a / n(this, ut) / n(this, Bt), C = S - 1, ie = 0;
|
|
4660
4660
|
e.bins[d] = {
|
|
4661
4661
|
id: R,
|
|
4662
4662
|
color: I,
|
|
@@ -4667,30 +4667,30 @@ class bs {
|
|
|
4667
4667
|
fromHeight: n(this, xt).call(this, R),
|
|
4668
4668
|
fromDepth: q,
|
|
4669
4669
|
toWidth: q,
|
|
4670
|
-
toHeight:
|
|
4670
|
+
toHeight: l * n(this, he) * n(this, nt) / 8,
|
|
4671
4671
|
toDepth: q
|
|
4672
4672
|
},
|
|
4673
4673
|
animation2: {
|
|
4674
|
-
fromX:
|
|
4674
|
+
fromX: C + n(this, V).xOffset,
|
|
4675
4675
|
fromY: t,
|
|
4676
4676
|
fromZ: ie,
|
|
4677
|
-
toX:
|
|
4677
|
+
toX: C,
|
|
4678
4678
|
toY: t,
|
|
4679
4679
|
toZ: ie
|
|
4680
4680
|
},
|
|
4681
4681
|
animation3: {
|
|
4682
4682
|
fromColor: n(this, Vt).call(this, R),
|
|
4683
|
-
toColor:
|
|
4683
|
+
toColor: y
|
|
4684
4684
|
}
|
|
4685
|
-
},
|
|
4685
|
+
}, _[d] = {
|
|
4686
4686
|
key: R,
|
|
4687
|
-
scale:
|
|
4688
|
-
color:
|
|
4687
|
+
scale: l,
|
|
4688
|
+
color: y
|
|
4689
4689
|
}, d++;
|
|
4690
4690
|
}
|
|
4691
|
-
B(this, vt,
|
|
4692
|
-
const
|
|
4693
|
-
return d = n(this, Nt).call(this, e,
|
|
4691
|
+
B(this, vt, _);
|
|
4692
|
+
const x = [], u = [];
|
|
4693
|
+
return d = n(this, Nt).call(this, e, x, u, p, c, void 0, void 0, 0), d = n(this, Lt).call(this, e, x, u, c, p, b, v, d), d = n(this, Yt).call(this, e, x, u, c, p, void 0, void 0, void 0, d), ur(this, Xt, br).call(this, e, x, u, c, p, d), e.labels = [...x, ...u], e;
|
|
4694
4694
|
});
|
|
4695
4695
|
M(this, jt, (e) => e <= 0 ? 0 : (n(this, bt) > 1 && (e = Math.round((e / n(this, bt) + Number.EPSILON) * 100) / 100), e));
|
|
4696
4696
|
M(this, Ft, (e, t, i, o, s) => {
|
|
@@ -4707,13 +4707,13 @@ class bs {
|
|
|
4707
4707
|
return t[o] = 1, n(this, V)[o] = 0, t;
|
|
4708
4708
|
return t;
|
|
4709
4709
|
});
|
|
4710
|
-
M(this, Yt, (e, t, i, o, s, a,
|
|
4710
|
+
M(this, Yt, (e, t, i, o, s, a, l, h, d) => (t[d] = n(this, Ue).call(this, 9e4 + d, o + 0.5, n(this, j) - 1, s + 0.5, 270, 360, 0, 2, 2, `${l ? l[n(this, j) - 1] ? l[n(this, j) - 1].fString : Math.round(
|
|
4711
4711
|
(n(this, Ne).zInitial + n(this, j) - 1 + Number.EPSILON) * 100
|
|
4712
|
-
) / 100 : "0"}`, n(this, X).getAxisColor("y"), n(this, X).getSecondaryFontColor()), i[d] = n(this, Ue).call(this, 91e3 + d, o + 0.5, n(this, j) - 1, n(this, le) - 2.5, 270, 90, 0, 2, 2, `${
|
|
4712
|
+
) / 100 : "0"}`, n(this, X).getAxisColor("y"), n(this, X).getSecondaryFontColor()), i[d] = n(this, Ue).call(this, 91e3 + d, o + 0.5, n(this, j) - 1, n(this, le) - 2.5, 270, 90, 0, 2, 2, `${l ? l[n(this, j) - 1] ? l[n(this, j) - 1].fString : Math.round(
|
|
4713
4713
|
(n(this, Ne).zInitial + n(this, j) - 1 + Number.EPSILON) * 100
|
|
4714
|
-
) / 100 : "0"}`, n(this, X).getAxisColor("y"), n(this, X).getSecondaryFontColor()), d++, t[d] = n(this, Ue).call(this, 92e3 + d, n(this, Q) - 2.5, n(this, j) - 1, s + 0.5, 270, 270, 0, 2, 2, `${
|
|
4714
|
+
) / 100 : "0"}`, n(this, X).getAxisColor("y"), n(this, X).getSecondaryFontColor()), d++, t[d] = n(this, Ue).call(this, 92e3 + d, n(this, Q) - 2.5, n(this, j) - 1, s + 0.5, 270, 270, 0, 2, 2, `${l ? l[n(this, j) - 1] ? l[n(this, j) - 1].fString : Math.round(
|
|
4715
4715
|
(n(this, Ne).zInitial + n(this, j) - 1 + Number.EPSILON) * 100
|
|
4716
|
-
) / 100 : "0"}`, n(this, X).getAxisColor("y"), n(this, X).getSecondaryFontColor()), i[d] = n(this, Ue).call(this, 93e3 + d, n(this, Q) - 2.5, n(this, j) - 1, n(this, le) - 2.5, 270, 180, 0, 2, 2, `${
|
|
4716
|
+
) / 100 : "0"}`, n(this, X).getAxisColor("y"), n(this, X).getSecondaryFontColor()), i[d] = n(this, Ue).call(this, 93e3 + d, n(this, Q) - 2.5, n(this, j) - 1, n(this, le) - 2.5, 270, 180, 0, 2, 2, `${l ? l[n(this, j) - 1] ? l[n(this, j) - 1].fString : Math.round(
|
|
4717
4717
|
(n(this, Ne).zInitial + n(this, j) - 1 + Number.EPSILON) * 100
|
|
4718
4718
|
) / 100 : "0"}`, n(this, X).getAxisColor("y"), n(this, X).getSecondaryFontColor()), d++, h && (e.axisLabels[4] = {
|
|
4719
4719
|
id: "upLabel1",
|
|
@@ -4796,7 +4796,7 @@ class bs {
|
|
|
4796
4796
|
toZ: n(this, le) - 1.5
|
|
4797
4797
|
}
|
|
4798
4798
|
}), d));
|
|
4799
|
-
M(this, Nt, (e, t, i, o, s, a,
|
|
4799
|
+
M(this, Nt, (e, t, i, o, s, a, l, h) => {
|
|
4800
4800
|
for (let d = n(this, le); d <= o; d++)
|
|
4801
4801
|
t[h] = n(this, Ue).call(this, 1500 + h, n(this, Q) - 2.5, n(this, j) ? n(this, j) - 1 : 0, d - 1, 270, 180, 0, 2, 1, `${a ? a[d - 1] ? a[d - 1].fString : Math.round(
|
|
4802
4802
|
(n(this, Ne).yInitial + (d - 1) * n(this, gt) + Number.EPSILON) * 100
|
|
@@ -4807,7 +4807,7 @@ class bs {
|
|
|
4807
4807
|
id: "leftLabel",
|
|
4808
4808
|
key: 4500 + n(this, we),
|
|
4809
4809
|
text: {
|
|
4810
|
-
value:
|
|
4810
|
+
value: l || "",
|
|
4811
4811
|
color: n(this, X).getAxisColor("z")
|
|
4812
4812
|
},
|
|
4813
4813
|
rotation: {
|
|
@@ -4827,7 +4827,7 @@ class bs {
|
|
|
4827
4827
|
id: "rightLabel",
|
|
4828
4828
|
key: 6001 + n(this, we),
|
|
4829
4829
|
text: {
|
|
4830
|
-
value:
|
|
4830
|
+
value: l || "",
|
|
4831
4831
|
color: n(this, X).getAxisColor("z")
|
|
4832
4832
|
},
|
|
4833
4833
|
rotation: {
|
|
@@ -4845,7 +4845,7 @@ class bs {
|
|
|
4845
4845
|
}
|
|
4846
4846
|
}, h;
|
|
4847
4847
|
});
|
|
4848
|
-
M(this, Lt, (e, t, i, o, s, a,
|
|
4848
|
+
M(this, Lt, (e, t, i, o, s, a, l, h) => {
|
|
4849
4849
|
for (let d = n(this, Q); d <= o; d++)
|
|
4850
4850
|
t[h] = n(this, Ue).call(this, 7500 + h, d - 1, n(this, j) ? n(this, j) - 1 : 0, n(this, le) - 2.5, 270, 270, 0, 2, 1, `${a[d - 1] ? a[d - 1].fString : Math.round(
|
|
4851
4851
|
(n(this, Ne).xInitial + (d - 1) * n(this, ut) + Number.EPSILON) * 100
|
|
@@ -4856,7 +4856,7 @@ class bs {
|
|
|
4856
4856
|
id: "downLabel",
|
|
4857
4857
|
key: 10502 + n(this, we),
|
|
4858
4858
|
text: {
|
|
4859
|
-
value:
|
|
4859
|
+
value: l,
|
|
4860
4860
|
color: n(this, X).getAxisColor("x")
|
|
4861
4861
|
},
|
|
4862
4862
|
rotation: {
|
|
@@ -4876,7 +4876,7 @@ class bs {
|
|
|
4876
4876
|
id: "upLabel",
|
|
4877
4877
|
key: 12003 + n(this, we),
|
|
4878
4878
|
text: {
|
|
4879
|
-
value:
|
|
4879
|
+
value: l,
|
|
4880
4880
|
color: n(this, X).getAxisColor("x")
|
|
4881
4881
|
},
|
|
4882
4882
|
rotation: {
|
|
@@ -4950,12 +4950,12 @@ class bs {
|
|
|
4950
4950
|
o,
|
|
4951
4951
|
s,
|
|
4952
4952
|
a,
|
|
4953
|
-
|
|
4953
|
+
l,
|
|
4954
4954
|
h
|
|
4955
4955
|
);
|
|
4956
4956
|
}
|
|
4957
|
-
initializeFactory(e, t, i, o, s, a,
|
|
4958
|
-
this.setUniqueName(e), this.setTheme(s), this.setHistogram(t), this.setHistogramContentMaximum(t.fMaximum), this.setSection(i), this.setRange(o), this.setSelectedBin(a), this.setViewFunction(
|
|
4957
|
+
initializeFactory(e, t, i, o, s, a, l, h) {
|
|
4958
|
+
this.setUniqueName(e), this.setTheme(s), this.setHistogram(t), this.setHistogramContentMaximum(t.fMaximum), this.setSection(i), this.setRange(o), this.setSelectedBin(a), this.setViewFunction(l), this.setProgressFunction(h);
|
|
4959
4959
|
}
|
|
4960
4960
|
setUniqueName(e) {
|
|
4961
4961
|
B(this, we, e);
|
|
@@ -4982,8 +4982,8 @@ class bs {
|
|
|
4982
4982
|
e && (e.xOffset && B(this, Q, n(this, ft).call(this, e == null ? void 0 : e.xOffset, n(this, Ye))), e.yOffset && !histogram._typename.includes("TH1") && B(this, le, n(this, ft).call(this, e == null ? void 0 : e.yOffset, n(this, Ve))), e.zOffset && histogram._typename.includes("TH3") && B(this, j, n(this, ft).call(this, e == null ? void 0 : e.zOffset, n(this, tt))));
|
|
4983
4983
|
}
|
|
4984
4984
|
setHistogram(e) {
|
|
4985
|
-
var t, i, o, s, a,
|
|
4986
|
-
B(this, F, e), B(this, et, e == null ? void 0 : e._typename), B(this, Q, 1), B(this, le, 1), B(this, j, 1), B(this, Ye, 0), B(this, Ve, 0), B(this, tt, 0), B(this, ut, 1), B(this, gt, 1), B(this, cr, 1), B(this, Ye, (t = e == null ? void 0 : e.fXaxis) == null ? void 0 : t.fNbins), B(this, ut, (((i = e == null ? void 0 : e.fXaxis) == null ? void 0 : i.fXmax) - ((o = e == null ? void 0 : e.fXaxis) == null ? void 0 : o.fXmin)) / ((s = e == null ? void 0 : e.fXaxis) == null ? void 0 : s.fNbins)), n(this, Ne).xInitial = (a = e == null ? void 0 : e.fXaxis) == null ? void 0 : a.fXmin, B(this, Q, n(this, ft).call(this, n(this, Q), n(this, Ye))), (
|
|
4985
|
+
var t, i, o, s, a, l, h, d, c, p, v, b, _, x, u, S;
|
|
4986
|
+
B(this, F, e), B(this, et, e == null ? void 0 : e._typename), B(this, Q, 1), B(this, le, 1), B(this, j, 1), B(this, Ye, 0), B(this, Ve, 0), B(this, tt, 0), B(this, ut, 1), B(this, gt, 1), B(this, cr, 1), B(this, Ye, (t = e == null ? void 0 : e.fXaxis) == null ? void 0 : t.fNbins), B(this, ut, (((i = e == null ? void 0 : e.fXaxis) == null ? void 0 : i.fXmax) - ((o = e == null ? void 0 : e.fXaxis) == null ? void 0 : o.fXmin)) / ((s = e == null ? void 0 : e.fXaxis) == null ? void 0 : s.fNbins)), n(this, Ne).xInitial = (a = e == null ? void 0 : e.fXaxis) == null ? void 0 : a.fXmin, B(this, Q, n(this, ft).call(this, n(this, Q), n(this, Ye))), (l = e == null ? void 0 : e._typename) != null && l.includes("TH1") || (B(this, Ve, (h = e == null ? void 0 : e.fYaxis) == null ? void 0 : h.fNbins), B(this, gt, (((d = e == null ? void 0 : e.fYaxis) == null ? void 0 : d.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)), n(this, Ne).yInitial = (v = e == null ? void 0 : e.fYaxis) == null ? void 0 : v.fXmin, B(this, le, n(this, ft).call(this, n(this, le), n(this, Ve)))), (b = e == null ? void 0 : e._typename) != null && b.includes("TH3") && (B(this, tt, (_ = e == null ? void 0 : e.fZaxis) == null ? void 0 : _.fNbins), B(this, cr, ((x = e == null ? void 0 : e.fZaxis) == null ? void 0 : x.fXmax) / ((u = e == null ? void 0 : e.fZaxis) == null ? void 0 : u.fNbins)), n(this, Ne).zInitial = (S = e == null ? void 0 : e.fZaxis) == null ? void 0 : S.fXmin, B(this, j, n(this, ft).call(this, n(this, j), n(this, tt)))), this.setHistogramContentMaximum(e == null ? void 0 : e.fMaximum);
|
|
4987
4987
|
}
|
|
4988
4988
|
setRange(e) {
|
|
4989
4989
|
e && (e < 4 && B(this, he, 4), B(this, he, e));
|
|
@@ -5004,7 +5004,7 @@ class bs {
|
|
|
5004
5004
|
return n(this, $r).call(this, e, t, i);
|
|
5005
5005
|
}
|
|
5006
5006
|
}
|
|
5007
|
-
we = new WeakMap(), ar = new WeakMap(), F = new WeakMap(), et = new WeakMap(), X = new WeakMap(), Q = new WeakMap(), le = new WeakMap(), j = new WeakMap(), Ye = new WeakMap(), Ve = new WeakMap(), tt = new WeakMap(), ut = new WeakMap(), gt = new WeakMap(), cr = new WeakMap(), he = new WeakMap(), Ne = new WeakMap(), rt = new WeakMap(), it = new WeakMap(), bt = new WeakMap(), nt = new WeakMap(), Ot = new WeakMap(), Bt = new WeakMap(), V = new WeakMap(), vt = new WeakMap(), ft = new WeakMap(), Mt = new WeakMap(), Ue = new WeakMap(), _r = new WeakMap(), Ar = new WeakMap(), Or = new WeakMap(), jt = new WeakMap(), Ft = new WeakMap(), Yt = new WeakMap(), Nt = new WeakMap(), Lt = new WeakMap(), Xt = new WeakSet(), br = function(e, t, i, o, s, a,
|
|
5007
|
+
we = new WeakMap(), ar = new WeakMap(), F = new WeakMap(), et = new WeakMap(), X = new WeakMap(), Q = new WeakMap(), le = new WeakMap(), j = new WeakMap(), Ye = new WeakMap(), Ve = new WeakMap(), tt = new WeakMap(), ut = new WeakMap(), gt = new WeakMap(), cr = new WeakMap(), he = new WeakMap(), Ne = new WeakMap(), rt = new WeakMap(), it = new WeakMap(), bt = new WeakMap(), nt = new WeakMap(), Ot = new WeakMap(), Bt = new WeakMap(), V = new WeakMap(), vt = new WeakMap(), ft = new WeakMap(), Mt = new WeakMap(), Ue = new WeakMap(), _r = new WeakMap(), Ar = new WeakMap(), Or = new WeakMap(), jt = new WeakMap(), Ft = new WeakMap(), Yt = new WeakMap(), Nt = new WeakMap(), Lt = new WeakMap(), Xt = new WeakSet(), br = function(e, t, i, o, s, a, l, h) {
|
|
5008
5008
|
h++, e.titles[0] = {
|
|
5009
5009
|
key: 195e3 + n(this, we),
|
|
5010
5010
|
text: {
|
|
@@ -5026,21 +5026,21 @@ we = new WeakMap(), ar = new WeakMap(), F = new WeakMap(), et = new WeakMap(), X
|
|
|
5026
5026
|
color: n(this, X).getPrimaryFontColor()
|
|
5027
5027
|
}
|
|
5028
5028
|
}, h++;
|
|
5029
|
-
const d = n(this, he) > n(this, Ye) ? n(this, Ye) + 1 : n(this, he),
|
|
5029
|
+
const d = n(this, he) > n(this, Ye) ? n(this, Ye) + 1 : n(this, he), c = n(this, he) > n(this, Ve) ? n(this, Ve) + 1 : n(this, he);
|
|
5030
5030
|
e.ground = {
|
|
5031
5031
|
key: 22500 + h + n(this, we),
|
|
5032
5032
|
scale: {
|
|
5033
5033
|
width: d + 8,
|
|
5034
5034
|
height: 0.2,
|
|
5035
|
-
depth:
|
|
5035
|
+
depth: c + 8
|
|
5036
5036
|
},
|
|
5037
5037
|
animation: {
|
|
5038
5038
|
fromX: n(this, Q) + d * 0.5 - 1 + n(this, V).xOffset,
|
|
5039
5039
|
fromY: -0.5,
|
|
5040
|
-
fromZ: n(this, le) +
|
|
5040
|
+
fromZ: n(this, le) + c * 0.5 - 0.5 + n(this, V).yOffset,
|
|
5041
5041
|
toX: n(this, Q) + d * 0.5 - 1,
|
|
5042
5042
|
toY: -0.5,
|
|
5043
|
-
toZ: n(this, le) +
|
|
5043
|
+
toZ: n(this, le) + c * 0.5 - 0.5
|
|
5044
5044
|
}
|
|
5045
5045
|
}, h++, e.banners[1] = {
|
|
5046
5046
|
key: 24e4 + h + n(this, we),
|
|
@@ -5069,105 +5069,105 @@ const vs = () => {
|
|
|
5069
5069
|
section: o,
|
|
5070
5070
|
range: s,
|
|
5071
5071
|
theme: a,
|
|
5072
|
-
selectedBins:
|
|
5073
|
-
} = qe(or).states, { id: h, histogram: d, projPanelIds:
|
|
5072
|
+
selectedBins: l
|
|
5073
|
+
} = qe(or).states, { id: h, histogram: d, projPanelIds: c } = qe(or).data, [p] = Pe(
|
|
5074
5074
|
new bs(
|
|
5075
5075
|
h,
|
|
5076
5076
|
d,
|
|
5077
5077
|
o || null,
|
|
5078
5078
|
s,
|
|
5079
5079
|
a || "def",
|
|
5080
|
-
|
|
5080
|
+
l,
|
|
5081
5081
|
t,
|
|
5082
5082
|
i
|
|
5083
5083
|
)
|
|
5084
|
-
), [
|
|
5085
|
-
d._typename.includes(
|
|
5084
|
+
), [v, b] = Pe(p.getElements()), [_] = Pe(1), x = (u) => {
|
|
5085
|
+
d._typename.includes(u.name) && (u.axis ? (p.updateSection(u.axis, u.increment, u.defaultRange), b(p.getElements())) : u.scale ? (p.updateContentScale(u.scale), b(p.getElements())) : u.minValue && (p.updateMinDisplayedContent(u.minValue), b(p.getElements())));
|
|
5086
5086
|
};
|
|
5087
5087
|
return _e(() => {
|
|
5088
|
-
p.setUniqueName(h),
|
|
5088
|
+
p.setUniqueName(h), b(p.getElements());
|
|
5089
5089
|
}, [h]), _e(() => {
|
|
5090
|
-
p.setHistogram(d),
|
|
5090
|
+
p.setHistogram(d), b(p.getElements());
|
|
5091
5091
|
}, [d]), _e(() => {
|
|
5092
|
-
p.setSection(o),
|
|
5092
|
+
p.setSection(o), b(p.getElements());
|
|
5093
5093
|
}, [o]), _e(() => {
|
|
5094
|
-
p.setRange(s),
|
|
5094
|
+
p.setRange(s), b(p.getElements());
|
|
5095
5095
|
}, [s]), _e(() => {
|
|
5096
|
-
p.setTheme(a),
|
|
5096
|
+
p.setTheme(a), b(p.getElements());
|
|
5097
5097
|
}, [a]), _e(() => {
|
|
5098
|
-
p.setSelectedBin(
|
|
5099
|
-
}, [
|
|
5100
|
-
p.setViewFunction(t),
|
|
5098
|
+
p.setSelectedBin(l), b(p.getElements());
|
|
5099
|
+
}, [l]), _e(() => {
|
|
5100
|
+
p.setViewFunction(t), b(p.getElements());
|
|
5101
5101
|
}, [t]), _e(() => {
|
|
5102
|
-
p.setViewFunction(t),
|
|
5102
|
+
p.setViewFunction(t), b(p.getElements());
|
|
5103
5103
|
}, [e]), _e(() => {
|
|
5104
|
-
p.setProgressFunction(i),
|
|
5104
|
+
p.setProgressFunction(i), b(p.getElements());
|
|
5105
5105
|
}, [i]), _e(() => {
|
|
5106
|
-
if (d._typename.includes("TH2") ? r = Te.getChangedSection().subscribe(
|
|
5106
|
+
if (d._typename.includes("TH2") ? r = Te.getChangedSection().subscribe(x) : d._typename.includes("TH3") ? r = Re.getChangedSection().subscribe(x) : d._typename.includes("TH1") && (r = dt.getChangedSection().subscribe(x)), r)
|
|
5107
5107
|
return () => r.unsubscribe();
|
|
5108
|
-
}, [
|
|
5109
|
-
|
|
5108
|
+
}, [v]), v != null && v.bins ? /* @__PURE__ */ ee("a-entity", { "histogram-control": !0, children: [
|
|
5109
|
+
v.bins.map((u) => /* @__PURE__ */ g(
|
|
5110
5110
|
"a-box",
|
|
5111
5111
|
{
|
|
5112
5112
|
class: "clickable",
|
|
5113
|
-
material: `color: ${
|
|
5114
|
-
binth:
|
|
5113
|
+
material: `color: ${u.color}; transparent: true`,
|
|
5114
|
+
binth: u.binData,
|
|
5115
5115
|
mouseevent: !0,
|
|
5116
|
-
geometry: `width:${
|
|
5116
|
+
geometry: `width:${u.animation.toWidth}; height:${u.animation.toHeight}; depth:${u.animation.toDepth};`,
|
|
5117
5117
|
animation__1: "property: material.opacity; from: 0; to: 0.75; dur: 2000;",
|
|
5118
|
-
animation__2: `property: position; from: ${
|
|
5119
|
-
animation__3: `property: material.color; from: ${
|
|
5120
|
-
children: /* @__PURE__ */
|
|
5118
|
+
animation__2: `property: position; from: ${u.animation2.fromX} ${u.animation2.fromY} ${u.animation2.fromZ}; to: ${u.animation2.toX} ${u.animation2.toY} ${u.animation2.toZ}; dur: 800;`,
|
|
5119
|
+
animation__3: `property: material.color; from: ${u.animation3.fromColor}; to: ${u.animation3.toColor}; dur: 200;`,
|
|
5120
|
+
children: /* @__PURE__ */ g(
|
|
5121
5121
|
"a-text",
|
|
5122
5122
|
{
|
|
5123
|
-
value:
|
|
5123
|
+
value: u.content,
|
|
5124
5124
|
align: "center",
|
|
5125
5125
|
width: "10",
|
|
5126
5126
|
color: "black",
|
|
5127
5127
|
geometry: "primitive:plane; width: 0.5; height: 0.5",
|
|
5128
|
-
material: `color: ${
|
|
5128
|
+
material: `color: ${u.color}; opacity: 0.50; transparent: true`,
|
|
5129
5129
|
rotation: "270 180 0",
|
|
5130
5130
|
"wrap-count": "50",
|
|
5131
|
-
position: `0 ${1e-3 + (
|
|
5131
|
+
position: `0 ${1e-3 + (_ === 1 ? -1 : 1) * u.animation.toHeight / 2} 0`
|
|
5132
5132
|
}
|
|
5133
5133
|
)
|
|
5134
5134
|
},
|
|
5135
|
-
|
|
5135
|
+
u.id
|
|
5136
5136
|
)),
|
|
5137
|
-
|
|
5137
|
+
v.labels.map((u) => /* @__PURE__ */ g(
|
|
5138
5138
|
"a-entity",
|
|
5139
5139
|
{
|
|
5140
|
-
geometry: `primitive: ${
|
|
5141
|
-
text: `color: ${
|
|
5142
|
-
"label-handler": `value: ${
|
|
5143
|
-
rotation: `${
|
|
5144
|
-
material: `color: ${
|
|
5140
|
+
geometry: `primitive: ${u.geometry.primitive}; width:${u.geometry.width}; height:${u.geometry.height};`,
|
|
5141
|
+
text: `color: ${u.text.color}; width: ${u.text.width}; height: ${u.text.height}; align:center;`,
|
|
5142
|
+
"label-handler": `value: ${u.labelHandler.value}; delay:${u.labelHandler.delay}`,
|
|
5143
|
+
rotation: `${u.rotation.x} ${u.rotation.y} ${u.rotation.z}`,
|
|
5144
|
+
material: `color: ${u.material.color}; transparent: true`,
|
|
5145
5145
|
animation: "property: text.width; from: 0; to: 4; dur: 1000;",
|
|
5146
5146
|
animation__1: "property: material.opacity; from: 0; to: 0.8; dur: 1500;",
|
|
5147
|
-
animation__2: `property: position; from: ${
|
|
5147
|
+
animation__2: `property: position; from: ${u.animation.fromX} ${u.animation.fromY} ${u.animation.fromZ}; to: ${u.animation.toX} ${u.animation.toY} ${u.animation.toZ}; dur: 1005;`
|
|
5148
5148
|
},
|
|
5149
|
-
|
|
5149
|
+
u.key
|
|
5150
5150
|
)),
|
|
5151
|
-
|
|
5151
|
+
v.titles.map((u) => /* @__PURE__ */ ee(
|
|
5152
5152
|
"a-entity",
|
|
5153
5153
|
{
|
|
5154
|
-
text: `value: ${
|
|
5155
|
-
rotation: `${
|
|
5156
|
-
position: `${
|
|
5154
|
+
text: `value: ${u.text.value}; color: ${u.text.color}; width: 230; height:auto; align:center;`,
|
|
5155
|
+
rotation: `${u.rotation.x} ${u.rotation.y} ${u.rotation.z}`,
|
|
5156
|
+
position: `${u.position.x} ${u.position.y} ${u.position.z}`,
|
|
5157
5157
|
material: "transparent: true",
|
|
5158
5158
|
children: [
|
|
5159
|
-
/* @__PURE__ */
|
|
5159
|
+
/* @__PURE__ */ g(
|
|
5160
5160
|
"a-text",
|
|
5161
5161
|
{
|
|
5162
|
-
value:
|
|
5162
|
+
value: u.innerText.value,
|
|
5163
5163
|
position: "0 10 0",
|
|
5164
5164
|
width: "150",
|
|
5165
5165
|
height: "auto",
|
|
5166
5166
|
align: "center",
|
|
5167
|
-
color:
|
|
5167
|
+
color: u.innerText.color
|
|
5168
5168
|
}
|
|
5169
5169
|
),
|
|
5170
|
-
/* @__PURE__ */
|
|
5170
|
+
/* @__PURE__ */ g(
|
|
5171
5171
|
"a-entity",
|
|
5172
5172
|
{
|
|
5173
5173
|
geometry: "primitive: plane; width:170; height:30;",
|
|
@@ -5177,43 +5177,43 @@ const vs = () => {
|
|
|
5177
5177
|
)
|
|
5178
5178
|
]
|
|
5179
5179
|
},
|
|
5180
|
-
|
|
5180
|
+
u.key
|
|
5181
5181
|
)),
|
|
5182
|
-
|
|
5182
|
+
v.axisLabels.map((u) => /* @__PURE__ */ g(
|
|
5183
5183
|
"a-entity",
|
|
5184
5184
|
{
|
|
5185
|
-
id:
|
|
5186
|
-
text: `value: ${
|
|
5187
|
-
rotation: `${
|
|
5188
|
-
animation: `property: position; from: ${
|
|
5185
|
+
id: u.id,
|
|
5186
|
+
text: `value: ${u.text.value}; color: ${u.text.color}; width: 10; height:auto; align:center;`,
|
|
5187
|
+
rotation: `${u.rotation.x} ${u.rotation.y} ${u.rotation.z}`,
|
|
5188
|
+
animation: `property: position; from: ${u.animation.fromX} ${u.animation.fromY} ${u.animation.fromZ}; to: ${u.animation.toX} ${u.animation.toY} ${u.animation.toZ}; dur: 1000;`,
|
|
5189
5189
|
material: "opacity: 0; transparent: true"
|
|
5190
5190
|
},
|
|
5191
|
-
|
|
5191
|
+
u.key
|
|
5192
5192
|
)),
|
|
5193
|
-
|
|
5193
|
+
v.ground && /* @__PURE__ */ g(
|
|
5194
5194
|
"a-box",
|
|
5195
5195
|
{
|
|
5196
|
-
width:
|
|
5196
|
+
width: v.ground.scale.width,
|
|
5197
5197
|
material: "color: #fafafa",
|
|
5198
|
-
height:
|
|
5199
|
-
depth:
|
|
5200
|
-
animation: `property: position; from: ${
|
|
5198
|
+
height: v.ground.scale.height,
|
|
5199
|
+
depth: v.ground.scale.depth,
|
|
5200
|
+
animation: `property: position; from: ${v.ground.animation.fromX} ${v.ground.animation.fromY} ${v.ground.animation.fromZ};
|
|
5201
5201
|
to:
|
|
5202
|
-
${
|
|
5202
|
+
${v.ground.animation.toX} ${v.ground.animation.toY} ${v.ground.animation.toZ}; dur: 1000;`
|
|
5203
5203
|
},
|
|
5204
|
-
|
|
5204
|
+
v.ground.key
|
|
5205
5205
|
),
|
|
5206
|
-
|
|
5206
|
+
v.banners.map((u) => /* @__PURE__ */ g(
|
|
5207
5207
|
"a-box",
|
|
5208
5208
|
{
|
|
5209
|
-
id:
|
|
5210
|
-
geometry: `width:${
|
|
5211
|
-
position: `${
|
|
5212
|
-
material: `color: ${
|
|
5209
|
+
id: c[0] ? c[0] : "panel_0",
|
|
5210
|
+
geometry: `width:${u.geometry.width}; height:${u.geometry.height}; depth:${u.geometry.depth};`,
|
|
5211
|
+
position: `${u.position.x} ${u.position.y} ${u.position.z}`,
|
|
5212
|
+
material: `color: ${u.material.color}, transparent: ${u.material.transparent}`
|
|
5213
5213
|
},
|
|
5214
|
-
|
|
5214
|
+
c[0] ? c[0] : "panel_0"
|
|
5215
5215
|
))
|
|
5216
|
-
] }) : /* @__PURE__ */
|
|
5216
|
+
] }) : /* @__PURE__ */ g(
|
|
5217
5217
|
"a-box",
|
|
5218
5218
|
{
|
|
5219
5219
|
animation__1: "property: rotation; to: 0 180 360; dur: 10000; easing: linear; loop: true",
|
|
@@ -5225,8 +5225,8 @@ const vs = () => {
|
|
|
5225
5225
|
};
|
|
5226
5226
|
function xs() {
|
|
5227
5227
|
return /* @__PURE__ */ ee(Me.Fragment, { children: [
|
|
5228
|
-
/* @__PURE__ */
|
|
5229
|
-
/* @__PURE__ */
|
|
5228
|
+
/* @__PURE__ */ g("a-sky", { color: "#dbf0fe" }),
|
|
5229
|
+
/* @__PURE__ */ g(
|
|
5230
5230
|
"a-plane",
|
|
5231
5231
|
{
|
|
5232
5232
|
rotation: "-90 0 0",
|
|
@@ -5297,8 +5297,8 @@ class Es {
|
|
|
5297
5297
|
}
|
|
5298
5298
|
new Es();
|
|
5299
5299
|
const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e(() => {
|
|
5300
|
-
const a = document.getElementById(t),
|
|
5301
|
-
|
|
5300
|
+
const a = document.getElementById(t), l = new Tt.Quaternion().fromArray(e), h = new Tt.Euler().setFromQuaternion(
|
|
5301
|
+
l,
|
|
5302
5302
|
"YXZ"
|
|
5303
5303
|
), d = {
|
|
5304
5304
|
x: Tt.MathUtils.radToDeg(h.x),
|
|
@@ -5307,8 +5307,8 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5307
5307
|
};
|
|
5308
5308
|
a.setAttribute("rotation", d);
|
|
5309
5309
|
}, [e]), /* @__PURE__ */ ee("a-entity", { position: r, id: t, children: [
|
|
5310
|
-
/* @__PURE__ */
|
|
5311
|
-
/* @__PURE__ */
|
|
5310
|
+
/* @__PURE__ */ g("a-sphere", { radius: "0.5", color: "#F8DF87", children: o === t ? (() => /* @__PURE__ */ ee("a-entity", { position: "0 0.25 0", children: [
|
|
5311
|
+
/* @__PURE__ */ g(
|
|
5312
5312
|
"a-cone",
|
|
5313
5313
|
{
|
|
5314
5314
|
color: "gold",
|
|
@@ -5318,10 +5318,10 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5318
5318
|
position: "0 0.4 0"
|
|
5319
5319
|
}
|
|
5320
5320
|
),
|
|
5321
|
-
/* @__PURE__ */
|
|
5322
|
-
/* @__PURE__ */
|
|
5323
|
-
] }))() : /* @__PURE__ */
|
|
5324
|
-
/* @__PURE__ */
|
|
5321
|
+
/* @__PURE__ */ g("a-sphere", { color: i, radius: "0.05", position: "0 0.4 -0.3" }),
|
|
5322
|
+
/* @__PURE__ */ g("a-sphere", { color: i, radius: "0.05", position: "0 0.6 -0.2" })
|
|
5323
|
+
] }))() : /* @__PURE__ */ g(Ln, {}) }),
|
|
5324
|
+
/* @__PURE__ */ g("a-entity", { position: "0.2 0.15 -0.45", children: /* @__PURE__ */ g("a-sphere", { radius: "0.1", color: "#FFFFFF", children: /* @__PURE__ */ g(
|
|
5325
5325
|
"a-sphere",
|
|
5326
5326
|
{
|
|
5327
5327
|
radius: "0.05",
|
|
@@ -5329,7 +5329,7 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5329
5329
|
position: "0 0 -0.07"
|
|
5330
5330
|
}
|
|
5331
5331
|
) }) }),
|
|
5332
|
-
/* @__PURE__ */
|
|
5332
|
+
/* @__PURE__ */ g("a-entity", { position: "-0.2 0.15 -0.45", children: /* @__PURE__ */ g("a-sphere", { radius: "0.1", color: "#FFFFFF", children: /* @__PURE__ */ g(
|
|
5333
5333
|
"a-sphere",
|
|
5334
5334
|
{
|
|
5335
5335
|
radius: "0.05",
|
|
@@ -5337,7 +5337,7 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5337
5337
|
position: "0 0 -0.07"
|
|
5338
5338
|
}
|
|
5339
5339
|
) }) }),
|
|
5340
|
-
/* @__PURE__ */
|
|
5340
|
+
/* @__PURE__ */ g(
|
|
5341
5341
|
"a-cylinder",
|
|
5342
5342
|
{
|
|
5343
5343
|
height: "0.05",
|
|
@@ -5347,8 +5347,8 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5347
5347
|
rotation: "0 90 90"
|
|
5348
5348
|
}
|
|
5349
5349
|
),
|
|
5350
|
-
/* @__PURE__ */
|
|
5351
|
-
/* @__PURE__ */
|
|
5350
|
+
/* @__PURE__ */ g("a-sphere", { radius: "0.1", color: "#FF6B6B", position: "0 -0.1 -0.5" }),
|
|
5351
|
+
/* @__PURE__ */ g(
|
|
5352
5352
|
"a-cylinder",
|
|
5353
5353
|
{
|
|
5354
5354
|
height: "0.8",
|
|
@@ -5358,7 +5358,7 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5358
5358
|
}
|
|
5359
5359
|
),
|
|
5360
5360
|
/* @__PURE__ */ ee("a-entity", { position: "-0.4 -0.4 0", children: [
|
|
5361
|
-
/* @__PURE__ */
|
|
5361
|
+
/* @__PURE__ */ g(
|
|
5362
5362
|
"a-cylinder",
|
|
5363
5363
|
{
|
|
5364
5364
|
height: "0.6",
|
|
@@ -5367,10 +5367,10 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5367
5367
|
position: "0 -0.3 0"
|
|
5368
5368
|
}
|
|
5369
5369
|
),
|
|
5370
|
-
/* @__PURE__ */
|
|
5370
|
+
/* @__PURE__ */ g("a-sphere", { radius: "0.15", color: "#F8DF87", position: "0 -0.6 0" })
|
|
5371
5371
|
] }),
|
|
5372
5372
|
/* @__PURE__ */ ee("a-entity", { position: "0.4 -0.4 0", children: [
|
|
5373
|
-
/* @__PURE__ */
|
|
5373
|
+
/* @__PURE__ */ g(
|
|
5374
5374
|
"a-cylinder",
|
|
5375
5375
|
{
|
|
5376
5376
|
height: "0.6",
|
|
@@ -5379,10 +5379,10 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5379
5379
|
position: "0 -0.3 0"
|
|
5380
5380
|
}
|
|
5381
5381
|
),
|
|
5382
|
-
/* @__PURE__ */
|
|
5382
|
+
/* @__PURE__ */ g("a-sphere", { radius: "0.15", color: "#F8DF87", position: "0 -0.6 0" })
|
|
5383
5383
|
] }),
|
|
5384
5384
|
/* @__PURE__ */ ee("a-entity", { position: "-0.15 -1 0", children: [
|
|
5385
|
-
/* @__PURE__ */
|
|
5385
|
+
/* @__PURE__ */ g(
|
|
5386
5386
|
"a-cylinder",
|
|
5387
5387
|
{
|
|
5388
5388
|
height: "0.8",
|
|
@@ -5391,10 +5391,10 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5391
5391
|
position: "0 -0.4 0"
|
|
5392
5392
|
}
|
|
5393
5393
|
),
|
|
5394
|
-
/* @__PURE__ */
|
|
5394
|
+
/* @__PURE__ */ g("a-sphere", { radius: "0.25", color: "#F8DF87", position: "0 -0.8 0" })
|
|
5395
5395
|
] }),
|
|
5396
5396
|
/* @__PURE__ */ ee("a-entity", { position: "0.15 -1 0", children: [
|
|
5397
|
-
/* @__PURE__ */
|
|
5397
|
+
/* @__PURE__ */ g(
|
|
5398
5398
|
"a-cylinder",
|
|
5399
5399
|
{
|
|
5400
5400
|
height: "0.8",
|
|
@@ -5403,7 +5403,7 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5403
5403
|
position: "0 -0.4 0"
|
|
5404
5404
|
}
|
|
5405
5405
|
),
|
|
5406
|
-
/* @__PURE__ */
|
|
5406
|
+
/* @__PURE__ */ g("a-sphere", { radius: "0.25", color: "#F8DF87", position: "0 -0.8 0" })
|
|
5407
5407
|
] })
|
|
5408
5408
|
] })), Cs = 109, _s = ({ wssb: r = "shared" }) => {
|
|
5409
5409
|
const e = qe(Dr)[r], t = (i) => {
|
|
@@ -5417,13 +5417,13 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5417
5417
|
};
|
|
5418
5418
|
return _e(() => (window.addEventListener("keypress", t), () => {
|
|
5419
5419
|
window.removeEventListener("keypress", t);
|
|
5420
|
-
}), []), /* @__PURE__ */
|
|
5420
|
+
}), []), /* @__PURE__ */ g("div", {});
|
|
5421
5421
|
}, As = ({ wssb: r = "shared" }) => {
|
|
5422
5422
|
const [e, t] = Pe(0), i = qe(Dr)[r];
|
|
5423
5423
|
return _e(() => {
|
|
5424
5424
|
const o = document.getElementById("camera"), s = new Tt.Vector3(), a = new Tt.Quaternion();
|
|
5425
5425
|
o.object3D.getWorldPosition(s);
|
|
5426
|
-
const
|
|
5426
|
+
const l = setInterval(() => {
|
|
5427
5427
|
o.object3D.getWorldPosition(s), o.object3D.getWorldQuaternion(a), i.send({
|
|
5428
5428
|
type: "move",
|
|
5429
5429
|
payload: {
|
|
@@ -5432,31 +5432,31 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5432
5432
|
}
|
|
5433
5433
|
}), t((h) => h + 1);
|
|
5434
5434
|
}, 100);
|
|
5435
|
-
return () => clearInterval(
|
|
5436
|
-
}, [e]), /* @__PURE__ */
|
|
5435
|
+
return () => clearInterval(l);
|
|
5436
|
+
}, [e]), /* @__PURE__ */ g("a-entity", { children: /* @__PURE__ */ g(_s, {}) });
|
|
5437
5437
|
}, Os = ({ wssb: r = "shared" }) => {
|
|
5438
5438
|
qe(Dr)[r];
|
|
5439
|
-
const e = Vr("move", r), t = Vr("ws", r), i = Vr("master", r), [o, s] = Pe([]), [a,
|
|
5439
|
+
const e = Vr("move", r), t = Vr("ws", r), i = Vr("master", r), [o, s] = Pe([]), [a, l] = Pe(null), [h, d] = Pe(""), [c, p] = Pe("");
|
|
5440
5440
|
return _e(() => {
|
|
5441
5441
|
e.payload !== void 0 && (e.payload.clients.length > 0 ? s(e.payload.clients) : s([]));
|
|
5442
5442
|
}, [e.payload]), _e(() => {
|
|
5443
5443
|
t.payload !== void 0 && (d(t.payload.id), p(t.payload.color));
|
|
5444
5444
|
}, [t.payload]), _e(() => {
|
|
5445
|
-
i.payload !== void 0 &&
|
|
5445
|
+
i.payload !== void 0 && l(i.payload.master);
|
|
5446
5446
|
}, [i.payload]), /* @__PURE__ */ ee("a-entity", { children: [
|
|
5447
|
-
/* @__PURE__ */
|
|
5448
|
-
o.filter((
|
|
5449
|
-
const
|
|
5450
|
-
return /* @__PURE__ */
|
|
5447
|
+
/* @__PURE__ */ g(As, {}),
|
|
5448
|
+
o.filter((v) => v.id !== h).map((v, b) => {
|
|
5449
|
+
const _ = v.position, x = v.rotation, u = _.join(" ");
|
|
5450
|
+
return /* @__PURE__ */ g(
|
|
5451
5451
|
Ts,
|
|
5452
5452
|
{
|
|
5453
|
-
id:
|
|
5454
|
-
position:
|
|
5455
|
-
rotation:
|
|
5453
|
+
id: v.id,
|
|
5454
|
+
position: u,
|
|
5455
|
+
rotation: x,
|
|
5456
5456
|
masterId: a,
|
|
5457
|
-
color:
|
|
5457
|
+
color: c
|
|
5458
5458
|
},
|
|
5459
|
-
|
|
5459
|
+
b + v.id
|
|
5460
5460
|
);
|
|
5461
5461
|
})
|
|
5462
5462
|
] });
|
|
@@ -5465,64 +5465,65 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5465
5465
|
states: e = null,
|
|
5466
5466
|
stores: t = null,
|
|
5467
5467
|
selectedBins: i = [],
|
|
5468
|
-
onClick: o = (
|
|
5468
|
+
onClick: o = (v) => {
|
|
5469
5469
|
console.log("click isn't defined!");
|
|
5470
5470
|
},
|
|
5471
|
-
onDbClick: s = (
|
|
5471
|
+
onDbClick: s = (v) => {
|
|
5472
5472
|
console.log("DbClick isn't be defined!");
|
|
5473
5473
|
},
|
|
5474
|
-
onHover: a = (
|
|
5474
|
+
onHover: a = (v) => {
|
|
5475
5475
|
console.log("Hover isn't be defined!");
|
|
5476
5476
|
},
|
|
5477
|
-
onView:
|
|
5477
|
+
onView: l = null,
|
|
5478
5478
|
onProgress: h = null,
|
|
5479
|
-
onExeCommand: d = (
|
|
5479
|
+
onExeCommand: d = (v) => {
|
|
5480
5480
|
console.log("exeCommand isn't be defined!");
|
|
5481
5481
|
},
|
|
5482
|
-
minHeight:
|
|
5482
|
+
minHeight: c = "calc(90vh)",
|
|
5483
|
+
useShared: p = !1
|
|
5483
5484
|
}) => {
|
|
5484
|
-
let
|
|
5485
|
+
let v;
|
|
5485
5486
|
return _e(() => {
|
|
5486
|
-
if (
|
|
5487
|
-
var
|
|
5488
|
-
if ((
|
|
5489
|
-
const
|
|
5490
|
-
intersectionAxis:
|
|
5487
|
+
if (v = ir.getBinDistributor().subscribe((b) => {
|
|
5488
|
+
var _, x, u;
|
|
5489
|
+
if ((b == null ? void 0 : b.id) === r.id) {
|
|
5490
|
+
const S = {
|
|
5491
|
+
intersectionAxis: b.intersect,
|
|
5491
5492
|
obj: r.histogram,
|
|
5492
|
-
id:
|
|
5493
|
+
id: b.id
|
|
5493
5494
|
};
|
|
5494
|
-
switch ((
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
),
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
)) : (
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
),
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
)) : (
|
|
5509
|
-
|
|
5510
|
-
)),
|
|
5495
|
+
switch ((_ = b.data) != null && _.zPos ? (S.binz = b.data.zPos, S.biny = b.data.yPos, S.binx = b.data.xPos, S.bin = r.histogram.getBin(
|
|
5496
|
+
b.data.xPos,
|
|
5497
|
+
b.data.yPos,
|
|
5498
|
+
b.data.zPos
|
|
5499
|
+
), S.con = r.histogram.getBinContent(
|
|
5500
|
+
b.data.xPos,
|
|
5501
|
+
b.data.yPos,
|
|
5502
|
+
b.data.zPos
|
|
5503
|
+
)) : (x = b.data) != null && x.yPos ? (S.biny = b.data.yPos, S.binx = b.data.xPos, S.bin = r.histogram.getBin(
|
|
5504
|
+
b.data.xPos,
|
|
5505
|
+
b.data.yPos
|
|
5506
|
+
), S.con = r.histogram.getBinContent(
|
|
5507
|
+
b.data.xPos,
|
|
5508
|
+
b.data.yPos
|
|
5509
|
+
)) : (u = b.data) != null && u.xPos && (S.binx = b.data.xPos, S.bin = r.histogram.getBin(b.data.xPos), S.con = r.histogram.getBinContent(
|
|
5510
|
+
b.data.xPos
|
|
5511
|
+
)), b.event) {
|
|
5511
5512
|
case "CLICK":
|
|
5512
|
-
o(
|
|
5513
|
+
o(S);
|
|
5513
5514
|
break;
|
|
5514
5515
|
case "HOVER":
|
|
5515
|
-
a(
|
|
5516
|
+
a(S);
|
|
5516
5517
|
break;
|
|
5517
5518
|
case "DB_CLICK":
|
|
5518
|
-
s(
|
|
5519
|
+
s(S);
|
|
5519
5520
|
break;
|
|
5520
5521
|
}
|
|
5521
5522
|
} else
|
|
5522
|
-
d(
|
|
5523
|
-
}),
|
|
5524
|
-
return () =>
|
|
5525
|
-
}, [r, e, o, s, a, d]), /* @__PURE__ */
|
|
5523
|
+
d(b.command);
|
|
5524
|
+
}), v)
|
|
5525
|
+
return () => v.unsubscribe();
|
|
5526
|
+
}, [r, e, o, s, a, d]), /* @__PURE__ */ g(Me.Fragment, { children: /* @__PURE__ */ ee(
|
|
5526
5527
|
or.Provider,
|
|
5527
5528
|
{
|
|
5528
5529
|
value: {
|
|
@@ -5542,7 +5543,7 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5542
5543
|
theme: e == null ? void 0 : e.theme,
|
|
5543
5544
|
range: e == null ? void 0 : e.range,
|
|
5544
5545
|
section: e == null ? void 0 : e.section,
|
|
5545
|
-
onViewChange:
|
|
5546
|
+
onViewChange: l,
|
|
5546
5547
|
onProgress: h,
|
|
5547
5548
|
selectedBins: i,
|
|
5548
5549
|
selectedView: e == null ? void 0 : e.selectedView
|
|
@@ -5556,17 +5557,17 @@ const Ts = ({ position: r, rotation: e, id: t, color: i, masterId: o }) => (_e((
|
|
|
5556
5557
|
style: {
|
|
5557
5558
|
zIndex: "1",
|
|
5558
5559
|
width: "100%",
|
|
5559
|
-
minHeight:
|
|
5560
|
+
minHeight: c
|
|
5560
5561
|
},
|
|
5561
5562
|
children: [
|
|
5562
|
-
/* @__PURE__ */
|
|
5563
|
-
/* @__PURE__ */
|
|
5564
|
-
/* @__PURE__ */
|
|
5565
|
-
/* @__PURE__ */
|
|
5563
|
+
/* @__PURE__ */ g(xs, {}),
|
|
5564
|
+
p && /* @__PURE__ */ g(Os, {}),
|
|
5565
|
+
/* @__PURE__ */ g(hs, {}),
|
|
5566
|
+
/* @__PURE__ */ g(vs, {})
|
|
5566
5567
|
]
|
|
5567
5568
|
}
|
|
5568
5569
|
),
|
|
5569
|
-
!window.AFRAME.utils.device.checkHeadsetConnected() && /* @__PURE__ */
|
|
5570
|
+
!window.AFRAME.utils.device.checkHeadsetConnected() && /* @__PURE__ */ g(hn, {})
|
|
5570
5571
|
]
|
|
5571
5572
|
}
|
|
5572
5573
|
) });
|
|
@@ -5653,12 +5654,12 @@ class Ps {
|
|
|
5653
5654
|
x: e.positionX,
|
|
5654
5655
|
y: e.positionY,
|
|
5655
5656
|
z: e.positionZ
|
|
5656
|
-
}, s = e.id, a = this.bannerBackgroundTemplate(i),
|
|
5657
|
+
}, s = e.id, a = this.bannerBackgroundTemplate(i), l = this.lineTemplate(t);
|
|
5657
5658
|
return {
|
|
5658
5659
|
position: o,
|
|
5659
5660
|
id: s,
|
|
5660
5661
|
background: a,
|
|
5661
|
-
line:
|
|
5662
|
+
line: l
|
|
5662
5663
|
};
|
|
5663
5664
|
}
|
|
5664
5665
|
binTemplate(e) {
|
|
@@ -5673,12 +5674,12 @@ class Ps {
|
|
|
5673
5674
|
}, o = {
|
|
5674
5675
|
color: e.color,
|
|
5675
5676
|
opacity: 0.75
|
|
5676
|
-
}, s = e.class, a = e.data,
|
|
5677
|
+
}, s = e.class, a = e.data, l = e.id;
|
|
5677
5678
|
return {
|
|
5678
5679
|
position: t,
|
|
5679
5680
|
scale: i,
|
|
5680
5681
|
material: o,
|
|
5681
|
-
id:
|
|
5682
|
+
id: l,
|
|
5682
5683
|
class: s,
|
|
5683
5684
|
binth2: a,
|
|
5684
5685
|
mouseevent: ""
|
|
@@ -5705,14 +5706,14 @@ class Ps {
|
|
|
5705
5706
|
align: "center"
|
|
5706
5707
|
}, a = {
|
|
5707
5708
|
opacity: 0
|
|
5708
|
-
},
|
|
5709
|
+
}, l = e.id;
|
|
5709
5710
|
return {
|
|
5710
5711
|
position: t,
|
|
5711
5712
|
rotation: i,
|
|
5712
5713
|
geometry: o,
|
|
5713
5714
|
text: s,
|
|
5714
5715
|
material: a,
|
|
5715
|
-
id:
|
|
5716
|
+
id: l
|
|
5716
5717
|
};
|
|
5717
5718
|
}
|
|
5718
5719
|
axisTemplate(e) {
|
|
@@ -5763,13 +5764,13 @@ class Ps {
|
|
|
5763
5764
|
width: 230,
|
|
5764
5765
|
height: "auto",
|
|
5765
5766
|
align: "center"
|
|
5766
|
-
},
|
|
5767
|
+
}, l = this.titleTextTemplate(t);
|
|
5767
5768
|
return {
|
|
5768
5769
|
position: i,
|
|
5769
5770
|
rotation: o,
|
|
5770
5771
|
material: s,
|
|
5771
5772
|
text: a,
|
|
5772
|
-
background:
|
|
5773
|
+
background: l
|
|
5773
5774
|
};
|
|
5774
5775
|
}
|
|
5775
5776
|
titleTextTemplate(e) {
|
|
@@ -5838,64 +5839,64 @@ function $s(r) {
|
|
|
5838
5839
|
}
|
|
5839
5840
|
function Wr(r, e, t, i, o, s, a) {
|
|
5840
5841
|
gn = dn.getBinsFromLocalStorage();
|
|
5841
|
-
const
|
|
5842
|
-
let
|
|
5842
|
+
const l = new Ps(), h = new ks(e), d = new yn(a), c = {}, p = r;
|
|
5843
|
+
let v, b, _, x, u, S, O, I, R, y;
|
|
5843
5844
|
const te = "";
|
|
5844
|
-
let q,
|
|
5845
|
-
const ie = i + s > t.fXaxis.fXmax ? t.fXaxis.fXmax : i + s, ae = o + s > t.fYaxis.fXmax ? t.fYaxis.fXmax : o + s, pe = t.fXaxis.fTitle,
|
|
5845
|
+
let q, C = 0;
|
|
5846
|
+
const ie = i + s > t.fXaxis.fXmax ? t.fXaxis.fXmax : i + s, ae = o + s > t.fYaxis.fXmax ? t.fYaxis.fXmax : o + s, pe = t.fXaxis.fTitle, E = t.fYaxis.fTitle, D = t.fXaxis.fLabels ? t.fXaxis.fLabels.arr : [], G = t.fYaxis.fLabels ? t.fYaxis.fLabels.arr : [];
|
|
5846
5847
|
for (let N = o; N <= ae; N++)
|
|
5847
5848
|
for (let ue = i; ue <= ie; ue++)
|
|
5848
|
-
if (
|
|
5849
|
-
const fe = d.getBinColor(
|
|
5849
|
+
if (b = t.fXaxis.GetBinCenter(ue), _ = t.fXaxis.GetBinLowEdge(ue), x = b + (b - _), u = x - _, S = t.fYaxis.GetBinCenter(N), O = t.fYaxis.GetBinLowEdge(N), I = S + (S - O), R = I - O, q = t.getBinContent(ue, N), y = Rs(q, t.fMaximum), v = y / 2, y > 0) {
|
|
5850
|
+
const fe = d.getBinColor(y), xe = _ + "th2" + x + "th2" + O + "th2" + I;
|
|
5850
5851
|
let se;
|
|
5851
5852
|
$s(xe) ? se = d.getSecondaryAccentColor() : se = fe;
|
|
5852
5853
|
const je = `id: ${xe};
|
|
5853
|
-
content: ${
|
|
5854
|
+
content: ${y};
|
|
5854
5855
|
color: ${fe};
|
|
5855
|
-
yTitle: ${
|
|
5856
|
+
yTitle: ${E};
|
|
5856
5857
|
xTitle: ${pe};
|
|
5857
5858
|
absoluteContent: ${q};
|
|
5858
5859
|
binName: ${te};
|
|
5859
|
-
xMin: ${
|
|
5860
|
+
xMin: ${_};
|
|
5860
5861
|
yMin: ${O};
|
|
5861
|
-
xMax: ${
|
|
5862
|
+
xMax: ${x};
|
|
5862
5863
|
yMax: ${I};
|
|
5863
|
-
xCenter: ${
|
|
5864
|
-
yCenter: ${
|
|
5865
|
-
xWidth: ${
|
|
5864
|
+
xCenter: ${b};
|
|
5865
|
+
yCenter: ${S};
|
|
5866
|
+
xWidth: ${u};
|
|
5866
5867
|
yWidth: ${R};
|
|
5867
5868
|
markedColor: ${se};
|
|
5868
5869
|
selectColor: ${d.getSecondaryAccentColor()};
|
|
5869
5870
|
axisX: ${d.getAxisColor("x")};
|
|
5870
5871
|
axisY: ${d.getAxisColor("y")};
|
|
5871
5872
|
axisZ: ${d.getAxisColor("z")}`;
|
|
5872
|
-
|
|
5873
|
+
c.id = xe, c.positionX = _, c.positionY = v, c.positionZ = O, c.scaleX = u / 2, c.scaleY = y, c.scaleZ = R / 2, c.color = se, c.class = "clickable", c.data = je, e.bins.attributes[C] = l.binTemplate(c), h.updateElement(C, p, "bins", "a-box"), C++;
|
|
5873
5874
|
}
|
|
5874
|
-
h.deleteUnnecessaryElements(
|
|
5875
|
+
h.deleteUnnecessaryElements(C, ["bins"]), c.id = 1500 + C, c.positionX = ie + 0.5, c.positionY = 0, c.positionZ = ae + 0.5, c.rotationX = 270, c.rotationY = 360, c.rotationZ = 0, c.width = 2, c.height = 2, c.value = "0", c.color = d.getAxisColor("y"), e.normalXAxis.attributes[0] = l.axisTemplate(c), h.updateElement(0, p, "normalXAxis", "a-entity"), c.positionZ = o - 2.5, c.rotationX = 270, c.rotationY = 180, e.reversedYAxis.attributes[0] = l.axisTemplate(c), h.updateElement(0, p, "reversedYAxis", "a-entity"), c.positionX = i - 2.5, c.positionZ = ae + 0.5, e.normalYAxis.attributes[0] = l.axisTemplate(c), h.updateElement(0, p, "normalYAxis", "a-entity"), c.positionZ = o - 2.5, c.rotationY = 180, e.reversedXAxis.attributes[0] = l.axisTemplate(c), h.updateElement(0, p, "reversedXAxis", "a-entity"), C = 1;
|
|
5875
5876
|
for (let N = o; N <= ae; N++)
|
|
5876
|
-
|
|
5877
|
-
|
|
5877
|
+
c.id = 1500 + C, c.positionX = i - 2.5, c.positionY = 0, c.positionZ = N - 1, c.rotationX = 270, c.rotationY = 180, c.rotationZ = 0, c.width = 2, c.height = 1, c.value = `${G[N - 1] ? G[N - 1].fString : N - 1}`, c.color = d.getAxisColor("z"), e.normalYAxis.attributes[C] = l.axisTemplate(c), h.updateElement(C, p, "normalYAxis", "a-entity"), c.id = 4500 + C, c.positionX = ie + 0.5, c.rotationY = 360, c.value = `${G[N - 1] ? G[N - 1].fString : N - 1}`, e.reversedYAxis.attributes[C] = l.axisTemplate(c), h.updateElement(
|
|
5878
|
+
C,
|
|
5878
5879
|
p,
|
|
5879
5880
|
"reversedYAxis",
|
|
5880
5881
|
"a-entity"
|
|
5881
|
-
),
|
|
5882
|
-
h.deleteUnnecessaryElements(
|
|
5882
|
+
), C++;
|
|
5883
|
+
h.deleteUnnecessaryElements(C, [
|
|
5883
5884
|
"normalYAxis",
|
|
5884
5885
|
"reversedYAxis"
|
|
5885
|
-
]),
|
|
5886
|
+
]), C = 1;
|
|
5886
5887
|
for (let N = i; N <= ie; N++)
|
|
5887
|
-
|
|
5888
|
-
|
|
5888
|
+
c.id = 1500 + C, c.positionX = N - 1, c.positionY = 0, c.positionZ = o - 2.5, c.rotationX = 270, c.rotationY = 270, c.rotationZ = 0, c.width = 2, c.height = 1, c.value = `${D[N - 1] ? D[N - 1].fString : N - 1}`, c.color = d.getAxisColor("x"), e.normalXAxis.attributes[C] = l.axisTemplate(c), h.updateElement(C, p, "normalXAxis", "a-entity"), c.id = 4500 + C, c.positionZ = ae + 0.5, c.rotationX = 270, c.rotationY = 90, c.value = `${D[N - 1] ? D[N - 1].fString : N - 1}`, e.reversedXAxis.attributes[C] = l.axisTemplate(c), h.updateElement(
|
|
5889
|
+
C,
|
|
5889
5890
|
p,
|
|
5890
5891
|
"reversedXAxis",
|
|
5891
5892
|
"a-entity"
|
|
5892
|
-
),
|
|
5893
|
-
h.deleteUnnecessaryElements(
|
|
5893
|
+
), C++;
|
|
5894
|
+
h.deleteUnnecessaryElements(C, [
|
|
5894
5895
|
"normalXAxis",
|
|
5895
5896
|
"reversedXAxis"
|
|
5896
|
-
]),
|
|
5897
|
+
]), c.positionX = i, c.positionY = 0, c.positionZ = o - 4, c.rotationX = 270, c.rotationY = 180, c.rotationZ = 0, c.width = 4, c.height = 1, c.value = pe, c.id = "downLabel", e.labels.attributes[0] = l.labelTemplate(c), h.updateElement(0, p, "labels", "a-entity"), c.positionX = ie - 2.5, c.positionZ = ae + 2, c.rotationY = 0, c.id = "upLabel", e.labels.attributes[1] = l.labelTemplate(c), h.updateElement(1, p, "labels", "a-entity"), c.positionX = i - 4, c.positionY = 0, c.positionZ = o + 0.5, c.rotationX = 270, c.rotationY = 270, c.rotationZ = 0, c.width = 4, c.height = 1, c.value = E, c.color = d.getAxisColor("z"), c.id = "leftLabel", e.labels.attributes[2] = l.labelTemplate(c), h.updateElement(2, p, "labels", "a-entity"), c.positionX = ie + 2, c.positionZ = ae - 2.5, c.rotationX = 270, c.rotationY = 90, c.id = "rightLabel", e.labels.attributes[3] = l.labelTemplate(c), h.updateElement(3, p, "labels", "a-entity"), c.positionX = i - 90, c.positionY = -6.5, c.positionZ = o + 90, c.rotationX = 0, c.rotationY = 123, c.rotationZ = 0, c.title = t.fTitle, c.color = d.getPrimaryFontColor();
|
|
5897
5898
|
const Y = {};
|
|
5898
|
-
Y.positionX = 0, Y.positionY = 0, Y.positionZ = -1, Y.width = 170, Y.height = 30, Y.color = "white", e.titles.attributes[0] =
|
|
5899
|
+
Y.positionX = 0, Y.positionY = 0, Y.positionZ = -1, Y.width = 170, Y.height = 30, Y.color = "white", e.titles.attributes[0] = l.titleTemplate(c, Y), h.updateElement(0, p, "titles", "a-entity"), c.positionX = i + 120, c.positionZ = o - 70, c.rotationY = 330, c.title = t.fName, e.titles.attributes[1] = l.titleTemplate(c, Y), h.updateElement(1, p, "titles", "a-entity");
|
|
5899
5900
|
}
|
|
5900
5901
|
const Rs = (r, e) => r <= 0 ? 0 : (e > 1 && (r = Math.round((r / e + Number.EPSILON) * 100) / 100), r);
|
|
5901
5902
|
var Rr;
|
|
@@ -5907,11 +5908,11 @@ class Hs {
|
|
|
5907
5908
|
createTH2DemoHistogram(e, t, i, o) {
|
|
5908
5909
|
const s = wi("TH2I", e, t);
|
|
5909
5910
|
let a = i;
|
|
5910
|
-
for (let
|
|
5911
|
+
for (let l = 1; l <= 20; l++)
|
|
5911
5912
|
for (let h = 1; h <= 20; h++) {
|
|
5912
|
-
const d = s.getBin(h,
|
|
5913
|
-
let
|
|
5914
|
-
|
|
5913
|
+
const d = s.getBin(h, l);
|
|
5914
|
+
let c = 0;
|
|
5915
|
+
c = a, s.setBinContent(d, c), a += o;
|
|
5915
5916
|
}
|
|
5916
5917
|
return s.fXaxis.fTitle = "x Axis", s.fYaxis.fTitle = "y Axis", s.fName = "You don't have a valid file path", s.fTitle = "This is a TH2 histogram demo", s.fMaximum = a, s;
|
|
5917
5918
|
}
|
|
@@ -5922,15 +5923,15 @@ class Hs {
|
|
|
5922
5923
|
t,
|
|
5923
5924
|
i
|
|
5924
5925
|
);
|
|
5925
|
-
let
|
|
5926
|
+
let l = o;
|
|
5926
5927
|
for (let h = 1; h <= 20; h++)
|
|
5927
5928
|
for (let d = 1; d <= 20; d++)
|
|
5928
|
-
for (let
|
|
5929
|
-
const p = a.getBin(
|
|
5930
|
-
let
|
|
5931
|
-
|
|
5929
|
+
for (let c = 1; c <= 20; c++) {
|
|
5930
|
+
const p = a.getBin(c, d, h);
|
|
5931
|
+
let v = 0;
|
|
5932
|
+
v = l, a.setBinContent(p, v), l += s;
|
|
5932
5933
|
}
|
|
5933
|
-
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 =
|
|
5934
|
+
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;
|
|
5934
5935
|
}
|
|
5935
5936
|
}
|
|
5936
5937
|
Rr = new WeakMap();
|
|
@@ -6346,14 +6347,14 @@ const oa = new Gs(), sa = pt.registerComponent("oculus-thumbstick-movement-contr
|
|
|
6346
6347
|
!i[t.horizontalAxis] && !i[t.verticalAxis] && !this.tsData.length() || (e = e / 1e3, this.updateVelocity(e), !(!i[t.horizontalAxis] && !i[t.verticalAxis]) && this.sceneElement.object3D.position.add(this.getMovementVector(e)));
|
|
6347
6348
|
},
|
|
6348
6349
|
updateVelocity: function(r) {
|
|
6349
|
-
var e, t, i, o = this.data, s = this.velocity, a,
|
|
6350
|
+
var e, t, i, o = this.data, s = this.velocity, a, l;
|
|
6350
6351
|
const h = 1e-5;
|
|
6351
6352
|
if (t = o.horizontalAxis, i = o.verticalAxis, r > 0.2) {
|
|
6352
6353
|
s[t] = 0, s[i] = 0;
|
|
6353
6354
|
return;
|
|
6354
6355
|
}
|
|
6355
6356
|
var d = Math.pow(1 / this.moveEasing, r * 60);
|
|
6356
|
-
s[t] !== 0 && (s[t] = s[t] * d), s[i] !== 0 && (s[i] = s[i] * d), Math.abs(s[t]) < h && (s[t] = 0), Math.abs(s[i]) < h && (s[i] = 0), o.enabled && (e = o.acceleration, o.adEnabled && this.tsData.x && (
|
|
6357
|
+
s[t] !== 0 && (s[t] = s[t] * d), s[i] !== 0 && (s[i] = s[i] * d), Math.abs(s[t]) < h && (s[t] = 0), Math.abs(s[i]) < h && (s[i] = 0), o.enabled && (e = o.acceleration, o.adEnabled && this.tsData.x && (l = o.adInverted ? -1 : 1, s[t] += l * e * this.tsData.x * r), o.wsEnabled && (a = o.wsInverted ? -1 : 1, s[i] += a * e * this.tsData.y * r));
|
|
6357
6358
|
},
|
|
6358
6359
|
getMovementVector: function() {
|
|
6359
6360
|
var r = new THREE.Vector3(0, 0, 0), e = new THREE.Euler(0, 0, 0, "YXZ");
|