@ndmspc/ndmvr 0.20230220.0 → 0.20230227.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ndmvr.es.js +1196 -1184
- package/dist/ndmvr.umd.js +99 -99
- package/package.json +1 -1
package/dist/ndmvr.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var Bn = Object.defineProperty;
|
|
2
2
|
var In = (r, e, t) => e in r ? Bn(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
-
var
|
|
3
|
+
var $e = (r, e, t) => (In(r, typeof e != "symbol" ? e + "" : e, t), t), Mr = (r, e, t) => {
|
|
4
4
|
if (!e.has(r))
|
|
5
5
|
throw TypeError("Cannot " + t);
|
|
6
6
|
};
|
|
@@ -10,7 +10,7 @@ var i = (r, e, t) => (Mr(r, e, "read from private field"), t ? t.call(r) : e.get
|
|
|
10
10
|
e instanceof WeakSet ? e.add(r) : e.set(r, t);
|
|
11
11
|
}, D = (r, e, t, n) => (Mr(r, e, "write to private field"), n ? n.call(r, t) : e.set(r, t), t);
|
|
12
12
|
var ur = (r, e, t) => (Mr(r, e, "access private method"), t);
|
|
13
|
-
import Me, { useRef as en, useDebugValue as Si, useContext as nt, createElement as Mn, forwardRef as Nn, useImperativeHandle as Yn, useState as He, useEffect as
|
|
13
|
+
import Me, { useRef as en, useDebugValue as Si, useContext as nt, createElement as Mn, forwardRef as Nn, useImperativeHandle as Yn, useState as He, useEffect as Ce, useLayoutEffect as jn } from "react";
|
|
14
14
|
import wt from "aframe";
|
|
15
15
|
import { createHistogram as wi, openFile as Fn } from "jsroot";
|
|
16
16
|
import * as Xr from "three";
|
|
@@ -21,15 +21,15 @@ function Ln() {
|
|
|
21
21
|
return qt;
|
|
22
22
|
Ei = 1;
|
|
23
23
|
var r = Me, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = 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(f,
|
|
25
|
-
var c,
|
|
26
|
-
p !== void 0 && (
|
|
27
|
-
for (c in
|
|
28
|
-
n.call(
|
|
24
|
+
function a(f, h, p) {
|
|
25
|
+
var c, d = {}, w = null, k = null;
|
|
26
|
+
p !== void 0 && (w = "" + p), h.key !== void 0 && (w = "" + h.key), h.ref !== void 0 && (k = h.ref);
|
|
27
|
+
for (c in h)
|
|
28
|
+
n.call(h, c) && !s.hasOwnProperty(c) && (d[c] = h[c]);
|
|
29
29
|
if (f && f.defaultProps)
|
|
30
|
-
for (c in
|
|
31
|
-
|
|
32
|
-
return { $$typeof: e, type: f, key:
|
|
30
|
+
for (c in h = f.defaultProps, h)
|
|
31
|
+
d[c] === void 0 && (d[c] = h[c]);
|
|
32
|
+
return { $$typeof: e, type: f, key: w, ref: k, props: d, _owner: o.current };
|
|
33
33
|
}
|
|
34
34
|
return qt.Fragment = t, qt.jsx = a, qt.jsxs = a, qt;
|
|
35
35
|
}
|
|
@@ -37,15 +37,15 @@ var Jt = {};
|
|
|
37
37
|
var Ci;
|
|
38
38
|
function Xn() {
|
|
39
39
|
return Ci || (Ci = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var r = Me, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), f = Symbol.for("react.context"),
|
|
40
|
+
var r = Me, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), C = Symbol.iterator, b = "@@iterator";
|
|
41
41
|
function u(l) {
|
|
42
42
|
if (l === null || typeof l != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var E = C && l[C] || l[
|
|
44
|
+
var E = C && l[C] || l[b];
|
|
45
45
|
return typeof E == "function" ? E : null;
|
|
46
46
|
}
|
|
47
47
|
var O = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
-
function
|
|
48
|
+
function _(l) {
|
|
49
49
|
{
|
|
50
50
|
for (var E = arguments.length, P = new Array(E > 1 ? E - 1 : 0), V = 1; V < E; V++)
|
|
51
51
|
P[V - 1] = arguments[V];
|
|
@@ -56,18 +56,18 @@ function Xn() {
|
|
|
56
56
|
{
|
|
57
57
|
var V = O.ReactDebugCurrentFrame, fe = V.getStackAddendum();
|
|
58
58
|
fe !== "" && (E += "%s", P = P.concat([fe]));
|
|
59
|
-
var
|
|
60
|
-
return String(
|
|
59
|
+
var xe = P.map(function(se) {
|
|
60
|
+
return String(se);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
xe.unshift("Warning: " + E), Function.prototype.apply.call(console[l], console, xe);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var g = !1, m = !1, J = !1,
|
|
66
|
-
|
|
67
|
-
function
|
|
68
|
-
return !!(typeof l == "string" || typeof l == "function" || l === n || l === s ||
|
|
65
|
+
var g = !1, m = !1, J = !1, G = !1, S = !1, te;
|
|
66
|
+
te = Symbol.for("react.module.reference");
|
|
67
|
+
function oe(l) {
|
|
68
|
+
return !!(typeof l == "string" || typeof l == "function" || l === n || l === s || S || l === o || l === p || l === c || G || l === k || g || m || J || typeof l == "object" && l !== null && (l.$$typeof === w || l.$$typeof === d || l.$$typeof === a || l.$$typeof === f || l.$$typeof === h || l.$$typeof === te || l.getModuleId !== void 0));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function he(l, E, P) {
|
|
71
71
|
var V = l.displayName;
|
|
72
72
|
if (V)
|
|
73
73
|
return V;
|
|
@@ -77,10 +77,10 @@ function Xn() {
|
|
|
77
77
|
function W(l) {
|
|
78
78
|
return l.displayName || "Context";
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function U(l) {
|
|
81
81
|
if (l == null)
|
|
82
82
|
return null;
|
|
83
|
-
if (typeof l.tag == "number" &&
|
|
83
|
+
if (typeof l.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof l == "function")
|
|
84
84
|
return l.displayName || l.name || null;
|
|
85
85
|
if (typeof l == "string")
|
|
86
86
|
return l;
|
|
@@ -106,15 +106,15 @@ function Xn() {
|
|
|
106
106
|
case a:
|
|
107
107
|
var P = l;
|
|
108
108
|
return W(P._context) + ".Provider";
|
|
109
|
-
case d:
|
|
110
|
-
return be(l, l.render, "ForwardRef");
|
|
111
109
|
case h:
|
|
110
|
+
return he(l, l.render, "ForwardRef");
|
|
111
|
+
case d:
|
|
112
112
|
var V = l.displayName || null;
|
|
113
|
-
return V !== null ? V :
|
|
114
|
-
case
|
|
115
|
-
var fe = l,
|
|
113
|
+
return V !== null ? V : U(l.type) || "Memo";
|
|
114
|
+
case w: {
|
|
115
|
+
var fe = l, xe = fe._payload, se = fe._init;
|
|
116
116
|
try {
|
|
117
|
-
return
|
|
117
|
+
return U(se(xe));
|
|
118
118
|
} catch {
|
|
119
119
|
return null;
|
|
120
120
|
}
|
|
@@ -122,14 +122,14 @@ function Xn() {
|
|
|
122
122
|
}
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
125
|
-
var
|
|
125
|
+
var K = Object.assign, F = 0, L, de, ue, we, Te, Ne, R;
|
|
126
126
|
function A() {
|
|
127
127
|
}
|
|
128
128
|
A.__reactDisabledLog = !0;
|
|
129
129
|
function H() {
|
|
130
130
|
{
|
|
131
|
-
if (
|
|
132
|
-
|
|
131
|
+
if (F === 0) {
|
|
132
|
+
L = console.log, de = console.info, ue = console.warn, we = console.error, Te = console.group, Ne = console.groupCollapsed, R = console.groupEnd;
|
|
133
133
|
var l = {
|
|
134
134
|
configurable: !0,
|
|
135
135
|
enumerable: !0,
|
|
@@ -146,65 +146,65 @@ function Xn() {
|
|
|
146
146
|
groupEnd: l
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
F++;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function N() {
|
|
153
153
|
{
|
|
154
|
-
if (
|
|
154
|
+
if (F--, F === 0) {
|
|
155
155
|
var l = {
|
|
156
156
|
configurable: !0,
|
|
157
157
|
enumerable: !0,
|
|
158
158
|
writable: !0
|
|
159
159
|
};
|
|
160
160
|
Object.defineProperties(console, {
|
|
161
|
-
log:
|
|
162
|
-
value:
|
|
161
|
+
log: K({}, l, {
|
|
162
|
+
value: L
|
|
163
163
|
}),
|
|
164
|
-
info:
|
|
165
|
-
value:
|
|
164
|
+
info: K({}, l, {
|
|
165
|
+
value: de
|
|
166
166
|
}),
|
|
167
|
-
warn:
|
|
167
|
+
warn: K({}, l, {
|
|
168
168
|
value: ue
|
|
169
169
|
}),
|
|
170
|
-
error:
|
|
171
|
-
value:
|
|
170
|
+
error: K({}, l, {
|
|
171
|
+
value: we
|
|
172
172
|
}),
|
|
173
|
-
group:
|
|
174
|
-
value:
|
|
173
|
+
group: K({}, l, {
|
|
174
|
+
value: Te
|
|
175
175
|
}),
|
|
176
|
-
groupCollapsed:
|
|
176
|
+
groupCollapsed: K({}, l, {
|
|
177
177
|
value: Ne
|
|
178
178
|
}),
|
|
179
|
-
groupEnd:
|
|
179
|
+
groupEnd: K({}, l, {
|
|
180
180
|
value: R
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
F < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var y = O.ReactCurrentDispatcher,
|
|
188
|
-
function
|
|
187
|
+
var y = O.ReactCurrentDispatcher, Q;
|
|
188
|
+
function T(l, E, P) {
|
|
189
189
|
{
|
|
190
|
-
if (
|
|
190
|
+
if (Q === void 0)
|
|
191
191
|
try {
|
|
192
192
|
throw Error();
|
|
193
193
|
} catch (fe) {
|
|
194
194
|
var V = fe.stack.trim().match(/\n( *(at )?)/);
|
|
195
|
-
|
|
195
|
+
Q = V && V[1] || "";
|
|
196
196
|
}
|
|
197
197
|
return `
|
|
198
|
-
` +
|
|
198
|
+
` + Q + l;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
var
|
|
201
|
+
var pe = !1, q;
|
|
202
202
|
{
|
|
203
203
|
var re = typeof WeakMap == "function" ? WeakMap : Map;
|
|
204
204
|
q = new re();
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
if (!l ||
|
|
206
|
+
function v(l, E) {
|
|
207
|
+
if (!l || pe)
|
|
208
208
|
return "";
|
|
209
209
|
{
|
|
210
210
|
var P = q.get(l);
|
|
@@ -212,34 +212,34 @@ function Xn() {
|
|
|
212
212
|
return P;
|
|
213
213
|
}
|
|
214
214
|
var V;
|
|
215
|
-
|
|
215
|
+
pe = !0;
|
|
216
216
|
var fe = Error.prepareStackTrace;
|
|
217
217
|
Error.prepareStackTrace = void 0;
|
|
218
|
-
var
|
|
219
|
-
|
|
218
|
+
var xe;
|
|
219
|
+
xe = y.current, y.current = null, H();
|
|
220
220
|
try {
|
|
221
221
|
if (E) {
|
|
222
|
-
var
|
|
222
|
+
var se = function() {
|
|
223
223
|
throw Error();
|
|
224
224
|
};
|
|
225
|
-
if (Object.defineProperty(
|
|
225
|
+
if (Object.defineProperty(se.prototype, "props", {
|
|
226
226
|
set: function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
}
|
|
229
229
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
230
230
|
try {
|
|
231
|
-
Reflect.construct(
|
|
231
|
+
Reflect.construct(se, []);
|
|
232
232
|
} catch (at) {
|
|
233
233
|
V = at;
|
|
234
234
|
}
|
|
235
|
-
Reflect.construct(l, [],
|
|
235
|
+
Reflect.construct(l, [], se);
|
|
236
236
|
} else {
|
|
237
237
|
try {
|
|
238
|
-
|
|
238
|
+
se.call();
|
|
239
239
|
} catch (at) {
|
|
240
240
|
V = at;
|
|
241
241
|
}
|
|
242
|
-
l.call(
|
|
242
|
+
l.call(se.prototype);
|
|
243
243
|
}
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
@@ -269,13 +269,13 @@ function Xn() {
|
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
} finally {
|
|
272
|
-
|
|
272
|
+
pe = !1, y.current = xe, N(), Error.prepareStackTrace = fe;
|
|
273
273
|
}
|
|
274
|
-
var Ht = l ? l.displayName || l.name : "", xi = Ht ?
|
|
274
|
+
var Ht = l ? l.displayName || l.name : "", xi = Ht ? T(Ht) : "";
|
|
275
275
|
return typeof l == "function" && q.set(l, xi), xi;
|
|
276
276
|
}
|
|
277
|
-
function
|
|
278
|
-
return
|
|
277
|
+
function _e(l, E, P) {
|
|
278
|
+
return v(l, !1);
|
|
279
279
|
}
|
|
280
280
|
function $(l) {
|
|
281
281
|
var E = l.prototype;
|
|
@@ -285,32 +285,32 @@ function Xn() {
|
|
|
285
285
|
if (l == null)
|
|
286
286
|
return "";
|
|
287
287
|
if (typeof l == "function")
|
|
288
|
-
return
|
|
288
|
+
return v(l, $(l));
|
|
289
289
|
if (typeof l == "string")
|
|
290
|
-
return
|
|
290
|
+
return T(l);
|
|
291
291
|
switch (l) {
|
|
292
292
|
case p:
|
|
293
|
-
return
|
|
293
|
+
return T("Suspense");
|
|
294
294
|
case c:
|
|
295
|
-
return
|
|
295
|
+
return T("SuspenseList");
|
|
296
296
|
}
|
|
297
297
|
if (typeof l == "object")
|
|
298
298
|
switch (l.$$typeof) {
|
|
299
|
-
case d:
|
|
300
|
-
return Te(l.render);
|
|
301
299
|
case h:
|
|
300
|
+
return _e(l.render);
|
|
301
|
+
case d:
|
|
302
302
|
return Z(l.type, E, P);
|
|
303
|
-
case
|
|
304
|
-
var V = l, fe = V._payload,
|
|
303
|
+
case w: {
|
|
304
|
+
var V = l, fe = V._payload, xe = V._init;
|
|
305
305
|
try {
|
|
306
|
-
return Z(
|
|
306
|
+
return Z(xe(fe), E, P);
|
|
307
307
|
} catch {
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
return "";
|
|
312
312
|
}
|
|
313
|
-
var
|
|
313
|
+
var Ee = Object.prototype.hasOwnProperty, ie = {}, ze = O.ReactDebugCurrentFrame;
|
|
314
314
|
function Ke(l) {
|
|
315
315
|
if (l) {
|
|
316
316
|
var E = l._owner, P = Z(l.type, l._source, E ? E.type : null);
|
|
@@ -320,20 +320,20 @@ function Xn() {
|
|
|
320
320
|
}
|
|
321
321
|
function Be(l, E, P, V, fe) {
|
|
322
322
|
{
|
|
323
|
-
var
|
|
324
|
-
for (var
|
|
325
|
-
if (
|
|
323
|
+
var xe = Function.call.bind(Ee);
|
|
324
|
+
for (var se in l)
|
|
325
|
+
if (xe(l, se)) {
|
|
326
326
|
var ne = void 0;
|
|
327
327
|
try {
|
|
328
|
-
if (typeof l[
|
|
329
|
-
var Ye = Error((V || "React class") + ": " + P + " type `" +
|
|
328
|
+
if (typeof l[se] != "function") {
|
|
329
|
+
var Ye = Error((V || "React class") + ": " + P + " type `" + se + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[se] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
330
330
|
throw Ye.name = "Invariant Violation", Ye;
|
|
331
331
|
}
|
|
332
|
-
ne = l[
|
|
332
|
+
ne = l[se](E, se, V, P, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
333
333
|
} catch (Re) {
|
|
334
334
|
ne = Re;
|
|
335
335
|
}
|
|
336
|
-
ne && !(ne instanceof Error) && (Ke(fe),
|
|
336
|
+
ne && !(ne instanceof Error) && (Ke(fe), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", P, se, typeof ne), Ke(null)), ne instanceof Error && !(ne.message in ie) && (ie[ne.message] = !0, Ke(fe), _("Failed %s type: %s", P, ne.message), Ke(null));
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
}
|
|
@@ -349,17 +349,17 @@ function Xn() {
|
|
|
349
349
|
}
|
|
350
350
|
function X(l) {
|
|
351
351
|
try {
|
|
352
|
-
return
|
|
352
|
+
return ke(l), !1;
|
|
353
353
|
} catch {
|
|
354
354
|
return !0;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function ke(l) {
|
|
358
358
|
return "" + l;
|
|
359
359
|
}
|
|
360
360
|
function $t(l) {
|
|
361
361
|
if (X(l))
|
|
362
|
-
return
|
|
362
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Le(l)), ke(l);
|
|
363
363
|
}
|
|
364
364
|
var st = O.ReactCurrentOwner, qe = {
|
|
365
365
|
key: !0,
|
|
@@ -369,7 +369,7 @@ function Xn() {
|
|
|
369
369
|
}, hi, di, zr;
|
|
370
370
|
zr = {};
|
|
371
371
|
function Sn(l) {
|
|
372
|
-
if (
|
|
372
|
+
if (Ee.call(l, "ref")) {
|
|
373
373
|
var E = Object.getOwnPropertyDescriptor(l, "ref").get;
|
|
374
374
|
if (E && E.isReactWarning)
|
|
375
375
|
return !1;
|
|
@@ -377,7 +377,7 @@ function Xn() {
|
|
|
377
377
|
return l.ref !== void 0;
|
|
378
378
|
}
|
|
379
379
|
function wn(l) {
|
|
380
|
-
if (
|
|
380
|
+
if (Ee.call(l, "key")) {
|
|
381
381
|
var E = Object.getOwnPropertyDescriptor(l, "key").get;
|
|
382
382
|
if (E && E.isReactWarning)
|
|
383
383
|
return !1;
|
|
@@ -386,14 +386,14 @@ function Xn() {
|
|
|
386
386
|
}
|
|
387
387
|
function En(l, E) {
|
|
388
388
|
if (typeof l.ref == "string" && st.current && E && st.current.stateNode !== E) {
|
|
389
|
-
var P =
|
|
390
|
-
zr[P] || (
|
|
389
|
+
var P = U(st.current.type);
|
|
390
|
+
zr[P] || (_('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', U(st.current.type), l.ref), zr[P] = !0);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
function Cn(l, E) {
|
|
394
394
|
{
|
|
395
395
|
var P = function() {
|
|
396
|
-
hi || (hi = !0,
|
|
396
|
+
hi || (hi = !0, _("%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)", E));
|
|
397
397
|
};
|
|
398
398
|
P.isReactWarning = !0, Object.defineProperty(l, "key", {
|
|
399
399
|
get: P,
|
|
@@ -404,7 +404,7 @@ function Xn() {
|
|
|
404
404
|
function Tn(l, E) {
|
|
405
405
|
{
|
|
406
406
|
var P = function() {
|
|
407
|
-
di || (di = !0,
|
|
407
|
+
di || (di = !0, _("%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)", E));
|
|
408
408
|
};
|
|
409
409
|
P.isReactWarning = !0, Object.defineProperty(l, "ref", {
|
|
410
410
|
get: P,
|
|
@@ -412,14 +412,14 @@ function Xn() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var _n = function(l, E, P, V, fe,
|
|
415
|
+
var _n = function(l, E, P, V, fe, xe, se) {
|
|
416
416
|
var ne = {
|
|
417
417
|
$$typeof: e,
|
|
418
418
|
type: l,
|
|
419
419
|
key: E,
|
|
420
420
|
ref: P,
|
|
421
|
-
props:
|
|
422
|
-
_owner:
|
|
421
|
+
props: se,
|
|
422
|
+
_owner: xe
|
|
423
423
|
};
|
|
424
424
|
return ne._store = {}, Object.defineProperty(ne._store, "validated", {
|
|
425
425
|
configurable: !1,
|
|
@@ -440,20 +440,20 @@ function Xn() {
|
|
|
440
440
|
};
|
|
441
441
|
function kn(l, E, P, V, fe) {
|
|
442
442
|
{
|
|
443
|
-
var
|
|
443
|
+
var xe, se = {}, ne = null, Ye = null;
|
|
444
444
|
P !== void 0 && ($t(P), ne = "" + P), wn(E) && ($t(E.key), ne = "" + E.key), Sn(E) && (Ye = E.ref, En(E, fe));
|
|
445
|
-
for (
|
|
446
|
-
|
|
445
|
+
for (xe in E)
|
|
446
|
+
Ee.call(E, xe) && !qe.hasOwnProperty(xe) && (se[xe] = E[xe]);
|
|
447
447
|
if (l && l.defaultProps) {
|
|
448
448
|
var Re = l.defaultProps;
|
|
449
|
-
for (
|
|
450
|
-
|
|
449
|
+
for (xe in Re)
|
|
450
|
+
se[xe] === void 0 && (se[xe] = Re[xe]);
|
|
451
451
|
}
|
|
452
452
|
if (ne || Ye) {
|
|
453
453
|
var De = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
454
|
-
ne && Cn(
|
|
454
|
+
ne && Cn(se, De), Ye && Tn(se, De);
|
|
455
455
|
}
|
|
456
|
-
return _n(l, ne, Ye, fe, V, st.current,
|
|
456
|
+
return _n(l, ne, Ye, fe, V, st.current, se);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
var Dr = O.ReactCurrentOwner, pi = O.ReactDebugCurrentFrame;
|
|
@@ -472,7 +472,7 @@ function Xn() {
|
|
|
472
472
|
function mi() {
|
|
473
473
|
{
|
|
474
474
|
if (Dr.current) {
|
|
475
|
-
var l =
|
|
475
|
+
var l = U(Dr.current.type);
|
|
476
476
|
if (l)
|
|
477
477
|
return `
|
|
478
478
|
|
|
@@ -515,7 +515,7 @@ Check the top-level render call using <` + P + ">.");
|
|
|
515
515
|
return;
|
|
516
516
|
yi[P] = !0;
|
|
517
517
|
var V = "";
|
|
518
|
-
l && l._owner && l._owner !== Dr.current && (V = " It was passed a child from " +
|
|
518
|
+
l && l._owner && l._owner !== Dr.current && (V = " It was passed a child from " + U(l._owner.type) + "."), Rt(l), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', P, V), Rt(null);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
function bi(l, E) {
|
|
@@ -532,8 +532,8 @@ Check the top-level render call using <` + P + ">.");
|
|
|
532
532
|
else if (l) {
|
|
533
533
|
var fe = u(l);
|
|
534
534
|
if (typeof fe == "function" && fe !== l.entries)
|
|
535
|
-
for (var
|
|
536
|
-
Ir(
|
|
535
|
+
for (var xe = fe.call(l), se; !(se = xe.next()).done; )
|
|
536
|
+
Ir(se.value) && gi(se.value, E);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
@@ -545,19 +545,19 @@ Check the top-level render call using <` + P + ">.");
|
|
|
545
545
|
var P;
|
|
546
546
|
if (typeof E == "function")
|
|
547
547
|
P = E.propTypes;
|
|
548
|
-
else if (typeof E == "object" && (E.$$typeof ===
|
|
548
|
+
else if (typeof E == "object" && (E.$$typeof === h || E.$$typeof === d))
|
|
549
549
|
P = E.propTypes;
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (P) {
|
|
553
|
-
var V =
|
|
553
|
+
var V = U(E);
|
|
554
554
|
Be(P, l.props, "prop", V, l);
|
|
555
555
|
} else if (E.PropTypes !== void 0 && !Br) {
|
|
556
556
|
Br = !0;
|
|
557
|
-
var fe =
|
|
558
|
-
|
|
557
|
+
var fe = U(E);
|
|
558
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", fe || "Unknown");
|
|
559
559
|
}
|
|
560
|
-
typeof E.getDefaultProps == "function" && !E.getDefaultProps.isReactClassApproved &&
|
|
560
|
+
typeof E.getDefaultProps == "function" && !E.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
function $n(l) {
|
|
@@ -565,28 +565,28 @@ Check the top-level render call using <` + P + ">.");
|
|
|
565
565
|
for (var E = Object.keys(l.props), P = 0; P < E.length; P++) {
|
|
566
566
|
var V = E[P];
|
|
567
567
|
if (V !== "children" && V !== "key") {
|
|
568
|
-
Rt(l),
|
|
568
|
+
Rt(l), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", V), Rt(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
l.ref !== null && (Rt(l),
|
|
572
|
+
l.ref !== null && (Rt(l), _("Invalid attribute `ref` supplied to `React.Fragment`."), Rt(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
function vi(l, E, P, V, fe,
|
|
575
|
+
function vi(l, E, P, V, fe, xe) {
|
|
576
576
|
{
|
|
577
|
-
var
|
|
578
|
-
if (!
|
|
577
|
+
var se = oe(l);
|
|
578
|
+
if (!se) {
|
|
579
579
|
var ne = "";
|
|
580
580
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (ne += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
581
581
|
var Ye = On(fe);
|
|
582
582
|
Ye ? ne += Ye : ne += mi();
|
|
583
583
|
var Re;
|
|
584
|
-
l === null ? Re = "null" : ot(l) ? Re = "array" : l !== void 0 && l.$$typeof === e ? (Re = "<" + (
|
|
584
|
+
l === null ? Re = "null" : ot(l) ? Re = "array" : l !== void 0 && l.$$typeof === e ? (Re = "<" + (U(l.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : Re = typeof l, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Re, ne);
|
|
585
585
|
}
|
|
586
|
-
var De = kn(l, E, P, fe,
|
|
586
|
+
var De = kn(l, E, P, fe, xe);
|
|
587
587
|
if (De == null)
|
|
588
588
|
return De;
|
|
589
|
-
if (
|
|
589
|
+
if (se) {
|
|
590
590
|
var We = E.children;
|
|
591
591
|
if (We !== void 0)
|
|
592
592
|
if (V)
|
|
@@ -595,7 +595,7 @@ Check the top-level render call using <` + P + ">.");
|
|
|
595
595
|
bi(We[Ht], l);
|
|
596
596
|
Object.freeze && Object.freeze(We);
|
|
597
597
|
} else
|
|
598
|
-
|
|
598
|
+
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
599
599
|
else
|
|
600
600
|
bi(We, l);
|
|
601
601
|
}
|
|
@@ -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 = Ln() : r.exports = Xn();
|
|
617
617
|
})(oi);
|
|
618
|
-
const
|
|
618
|
+
const x = oi.exports.jsx, ce = oi.exports.jsxs;
|
|
619
619
|
var Vr = function(r, e) {
|
|
620
620
|
return Vr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, n) {
|
|
621
621
|
t.__proto__ = n;
|
|
@@ -692,15 +692,15 @@ var Zn = /* @__PURE__ */ function() {
|
|
|
692
692
|
n.remove(this);
|
|
693
693
|
else if (n !== null)
|
|
694
694
|
for (var f = 0; f < n.length; ++f) {
|
|
695
|
-
var
|
|
696
|
-
|
|
695
|
+
var h = n[f];
|
|
696
|
+
h.remove(this);
|
|
697
697
|
}
|
|
698
698
|
if (Wr(s)) {
|
|
699
699
|
o && (this._unsubscribe = void 0);
|
|
700
700
|
try {
|
|
701
701
|
s.call(this);
|
|
702
|
-
} catch (
|
|
703
|
-
e =
|
|
702
|
+
} catch (d) {
|
|
703
|
+
e = d instanceof mr ? _i(d.errors) : [d];
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
706
|
if (Vn(a))
|
|
@@ -709,8 +709,8 @@ var Zn = /* @__PURE__ */ function() {
|
|
|
709
709
|
if (Wn(c))
|
|
710
710
|
try {
|
|
711
711
|
c.unsubscribe();
|
|
712
|
-
} catch (
|
|
713
|
-
e = e || [],
|
|
712
|
+
} catch (w) {
|
|
713
|
+
e = e || [], w instanceof mr ? e = e.concat(_i(w.errors)) : e.push(w);
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
716
|
if (e)
|
|
@@ -817,8 +817,8 @@ var xr = /* @__PURE__ */ function() {
|
|
|
817
817
|
function e(t, n, o, s) {
|
|
818
818
|
var a = r.call(this) || this;
|
|
819
819
|
a._parentSubscriber = t;
|
|
820
|
-
var f,
|
|
821
|
-
return Wr(n) ? f = n : n && (f = n.next, o = n.error, s = n.complete, n !== vr && (
|
|
820
|
+
var f, h = a;
|
|
821
|
+
return Wr(n) ? f = n : n && (f = n.next, o = n.error, s = n.complete, n !== vr && (h = Object.create(n), Wr(h.unsubscribe) && a.add(h.unsubscribe.bind(h)), h.unsubscribe = a.unsubscribe.bind(a))), a._context = h, a._next = f, a._error = o, a._complete = s, a;
|
|
822
822
|
}
|
|
823
823
|
return e.prototype.next = function(t) {
|
|
824
824
|
if (!this.isStopped && this._next) {
|
|
@@ -928,8 +928,8 @@ var Oi = /* @__PURE__ */ function() {
|
|
|
928
928
|
a = n.subscribe(function(f) {
|
|
929
929
|
try {
|
|
930
930
|
e(f);
|
|
931
|
-
} catch (
|
|
932
|
-
s(
|
|
931
|
+
} catch (h) {
|
|
932
|
+
s(h), a && a.unsubscribe();
|
|
933
933
|
}
|
|
934
934
|
}, s, o);
|
|
935
935
|
});
|
|
@@ -1117,16 +1117,16 @@ class si {
|
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
1119
|
lt = new WeakMap();
|
|
1120
|
-
const dt = new si(),
|
|
1121
|
-
var Hr = { exports: {} },
|
|
1120
|
+
const dt = new si(), Se = new si(), Pe = new si();
|
|
1121
|
+
var Hr = { exports: {} }, me = {};
|
|
1122
1122
|
var $i;
|
|
1123
1123
|
function io() {
|
|
1124
1124
|
if ($i)
|
|
1125
|
-
return
|
|
1125
|
+
return me;
|
|
1126
1126
|
$i = 1;
|
|
1127
|
-
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), f = Symbol.for("react.server_context"),
|
|
1127
|
+
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), f = Symbol.for("react.server_context"), h = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), C;
|
|
1128
1128
|
C = Symbol.for("react.module.reference");
|
|
1129
|
-
function
|
|
1129
|
+
function b(u) {
|
|
1130
1130
|
if (typeof u == "object" && u !== null) {
|
|
1131
1131
|
var O = u.$$typeof;
|
|
1132
1132
|
switch (O) {
|
|
@@ -1142,9 +1142,9 @@ function io() {
|
|
|
1142
1142
|
switch (u = u && u.$$typeof, u) {
|
|
1143
1143
|
case f:
|
|
1144
1144
|
case a:
|
|
1145
|
-
case d:
|
|
1146
|
-
case x:
|
|
1147
1145
|
case h:
|
|
1146
|
+
case w:
|
|
1147
|
+
case d:
|
|
1148
1148
|
case s:
|
|
1149
1149
|
return u;
|
|
1150
1150
|
default:
|
|
@@ -1156,68 +1156,68 @@ function io() {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
1158
|
}
|
|
1159
|
-
return
|
|
1159
|
+
return me.ContextConsumer = a, me.ContextProvider = s, me.Element = r, me.ForwardRef = h, me.Fragment = t, me.Lazy = w, me.Memo = d, me.Portal = e, me.Profiler = o, me.StrictMode = n, me.Suspense = p, me.SuspenseList = c, me.isAsyncMode = function() {
|
|
1160
1160
|
return !1;
|
|
1161
|
-
},
|
|
1161
|
+
}, me.isConcurrentMode = function() {
|
|
1162
1162
|
return !1;
|
|
1163
|
-
},
|
|
1164
|
-
return
|
|
1165
|
-
},
|
|
1166
|
-
return
|
|
1167
|
-
},
|
|
1163
|
+
}, me.isContextConsumer = function(u) {
|
|
1164
|
+
return b(u) === a;
|
|
1165
|
+
}, me.isContextProvider = function(u) {
|
|
1166
|
+
return b(u) === s;
|
|
1167
|
+
}, me.isElement = function(u) {
|
|
1168
1168
|
return typeof u == "object" && u !== null && u.$$typeof === r;
|
|
1169
|
-
},
|
|
1170
|
-
return
|
|
1171
|
-
},
|
|
1172
|
-
return
|
|
1173
|
-
},
|
|
1174
|
-
return
|
|
1175
|
-
},
|
|
1176
|
-
return
|
|
1177
|
-
},
|
|
1178
|
-
return
|
|
1179
|
-
},
|
|
1180
|
-
return
|
|
1181
|
-
},
|
|
1182
|
-
return
|
|
1183
|
-
},
|
|
1184
|
-
return
|
|
1185
|
-
},
|
|
1186
|
-
return
|
|
1187
|
-
},
|
|
1188
|
-
return typeof u == "string" || typeof u == "function" || u === t || u === o || u === n || u === p || u === c || u === k || typeof u == "object" && u !== null && (u.$$typeof ===
|
|
1189
|
-
},
|
|
1169
|
+
}, me.isForwardRef = function(u) {
|
|
1170
|
+
return b(u) === h;
|
|
1171
|
+
}, me.isFragment = function(u) {
|
|
1172
|
+
return b(u) === t;
|
|
1173
|
+
}, me.isLazy = function(u) {
|
|
1174
|
+
return b(u) === w;
|
|
1175
|
+
}, me.isMemo = function(u) {
|
|
1176
|
+
return b(u) === d;
|
|
1177
|
+
}, me.isPortal = function(u) {
|
|
1178
|
+
return b(u) === e;
|
|
1179
|
+
}, me.isProfiler = function(u) {
|
|
1180
|
+
return b(u) === o;
|
|
1181
|
+
}, me.isStrictMode = function(u) {
|
|
1182
|
+
return b(u) === n;
|
|
1183
|
+
}, me.isSuspense = function(u) {
|
|
1184
|
+
return b(u) === p;
|
|
1185
|
+
}, me.isSuspenseList = function(u) {
|
|
1186
|
+
return b(u) === c;
|
|
1187
|
+
}, me.isValidElementType = function(u) {
|
|
1188
|
+
return typeof u == "string" || typeof u == "function" || u === t || u === o || u === n || u === p || u === c || u === k || typeof u == "object" && u !== null && (u.$$typeof === w || u.$$typeof === d || u.$$typeof === s || u.$$typeof === a || u.$$typeof === h || u.$$typeof === C || u.getModuleId !== void 0);
|
|
1189
|
+
}, me.typeOf = b, me;
|
|
1190
1190
|
}
|
|
1191
|
-
var
|
|
1191
|
+
var ye = {};
|
|
1192
1192
|
var Ri;
|
|
1193
1193
|
function no() {
|
|
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"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), f = Symbol.for("react.server_context"),
|
|
1195
|
+
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), f = Symbol.for("react.server_context"), h = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), C = !1, b = !1, u = !1, O = !1, _ = !1, z;
|
|
1196
1196
|
z = Symbol.for("react.module.reference");
|
|
1197
1197
|
function g($) {
|
|
1198
|
-
return !!(typeof $ == "string" || typeof $ == "function" || $ === t || $ === o ||
|
|
1198
|
+
return !!(typeof $ == "string" || typeof $ == "function" || $ === t || $ === o || _ || $ === n || $ === p || $ === c || O || $ === k || C || b || u || typeof $ == "object" && $ !== null && ($.$$typeof === w || $.$$typeof === d || $.$$typeof === s || $.$$typeof === a || $.$$typeof === h || $.$$typeof === z || $.getModuleId !== void 0));
|
|
1199
1199
|
}
|
|
1200
1200
|
function m($) {
|
|
1201
1201
|
if (typeof $ == "object" && $ !== null) {
|
|
1202
1202
|
var Z = $.$$typeof;
|
|
1203
1203
|
switch (Z) {
|
|
1204
1204
|
case r:
|
|
1205
|
-
var
|
|
1206
|
-
switch (
|
|
1205
|
+
var Ee = $.type;
|
|
1206
|
+
switch (Ee) {
|
|
1207
1207
|
case t:
|
|
1208
1208
|
case o:
|
|
1209
1209
|
case n:
|
|
1210
1210
|
case p:
|
|
1211
1211
|
case c:
|
|
1212
|
-
return
|
|
1212
|
+
return Ee;
|
|
1213
1213
|
default:
|
|
1214
|
-
var ie =
|
|
1214
|
+
var ie = Ee && Ee.$$typeof;
|
|
1215
1215
|
switch (ie) {
|
|
1216
1216
|
case f:
|
|
1217
1217
|
case a:
|
|
1218
|
-
case d:
|
|
1219
|
-
case x:
|
|
1220
1218
|
case h:
|
|
1219
|
+
case w:
|
|
1220
|
+
case d:
|
|
1221
1221
|
case s:
|
|
1222
1222
|
return ie;
|
|
1223
1223
|
default:
|
|
@@ -1229,12 +1229,12 @@ function no() {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
var J = a,
|
|
1233
|
-
function
|
|
1232
|
+
var J = a, G = s, S = r, te = h, oe = t, he = w, W = d, U = e, K = o, F = n, L = p, de = c, ue = !1, we = !1;
|
|
1233
|
+
function Te($) {
|
|
1234
1234
|
return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1235
1235
|
}
|
|
1236
1236
|
function Ne($) {
|
|
1237
|
-
return
|
|
1237
|
+
return we || (we = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1238
1238
|
}
|
|
1239
1239
|
function R($) {
|
|
1240
1240
|
return m($) === a;
|
|
@@ -1245,19 +1245,19 @@ function no() {
|
|
|
1245
1245
|
function H($) {
|
|
1246
1246
|
return typeof $ == "object" && $ !== null && $.$$typeof === r;
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1249
|
-
return m($) ===
|
|
1248
|
+
function N($) {
|
|
1249
|
+
return m($) === h;
|
|
1250
1250
|
}
|
|
1251
1251
|
function y($) {
|
|
1252
1252
|
return m($) === t;
|
|
1253
1253
|
}
|
|
1254
|
-
function
|
|
1255
|
-
return m($) ===
|
|
1254
|
+
function Q($) {
|
|
1255
|
+
return m($) === w;
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1258
|
-
return m($) ===
|
|
1257
|
+
function T($) {
|
|
1258
|
+
return m($) === d;
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function pe($) {
|
|
1261
1261
|
return m($) === e;
|
|
1262
1262
|
}
|
|
1263
1263
|
function q($) {
|
|
@@ -1266,24 +1266,24 @@ function no() {
|
|
|
1266
1266
|
function re($) {
|
|
1267
1267
|
return m($) === n;
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function v($) {
|
|
1270
1270
|
return m($) === p;
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function _e($) {
|
|
1273
1273
|
return m($) === c;
|
|
1274
1274
|
}
|
|
1275
|
-
|
|
1276
|
-
}()),
|
|
1275
|
+
ye.ContextConsumer = J, ye.ContextProvider = G, ye.Element = S, ye.ForwardRef = te, ye.Fragment = oe, ye.Lazy = he, ye.Memo = W, ye.Portal = U, ye.Profiler = K, ye.StrictMode = F, ye.Suspense = L, ye.SuspenseList = de, ye.isAsyncMode = Te, ye.isConcurrentMode = Ne, ye.isContextConsumer = R, ye.isContextProvider = A, ye.isElement = H, ye.isForwardRef = N, ye.isFragment = y, ye.isLazy = Q, ye.isMemo = T, ye.isPortal = pe, ye.isProfiler = q, ye.isStrictMode = re, ye.isSuspense = v, ye.isSuspenseList = _e, ye.isValidElementType = g, ye.typeOf = m;
|
|
1276
|
+
}()), ye;
|
|
1277
1277
|
}
|
|
1278
1278
|
(function(r) {
|
|
1279
1279
|
process.env.NODE_ENV === "production" ? r.exports = io() : r.exports = no();
|
|
1280
1280
|
})(Hr);
|
|
1281
1281
|
function oo(r) {
|
|
1282
|
-
function e(R, A, H,
|
|
1283
|
-
for (var
|
|
1284
|
-
if (
|
|
1285
|
-
if (ie === ot && (0 < ze && (X = X.replace(
|
|
1286
|
-
switch (
|
|
1282
|
+
function e(R, A, H, N, y) {
|
|
1283
|
+
for (var Q = 0, T = 0, pe = 0, q = 0, re, v, _e = 0, $ = 0, Z, Ee = Z = re = 0, ie = 0, ze = 0, Ke = 0, Be = 0, Pt = H.length, ot = Pt - 1, Le, X = "", ke = "", $t = "", st = "", qe; ie < Pt; ) {
|
|
1284
|
+
if (v = H.charCodeAt(ie), ie === ot && T + q + pe + Q !== 0 && (T !== 0 && (v = T === 47 ? 10 : 47), q = pe = Q = 0, Pt++, ot++), T + q + pe + Q === 0) {
|
|
1285
|
+
if (ie === ot && (0 < ze && (X = X.replace(w, "")), 0 < X.trim().length)) {
|
|
1286
|
+
switch (v) {
|
|
1287
1287
|
case 32:
|
|
1288
1288
|
case 9:
|
|
1289
1289
|
case 59:
|
|
@@ -1293,12 +1293,12 @@ function oo(r) {
|
|
|
1293
1293
|
default:
|
|
1294
1294
|
X += H.charAt(ie);
|
|
1295
1295
|
}
|
|
1296
|
-
|
|
1296
|
+
v = 59;
|
|
1297
1297
|
}
|
|
1298
|
-
switch (
|
|
1298
|
+
switch (v) {
|
|
1299
1299
|
case 123:
|
|
1300
1300
|
for (X = X.trim(), re = X.charCodeAt(0), Z = 1, Be = ++ie; ie < Pt; ) {
|
|
1301
|
-
switch (
|
|
1301
|
+
switch (v = H.charCodeAt(ie)) {
|
|
1302
1302
|
case 123:
|
|
1303
1303
|
Z++;
|
|
1304
1304
|
break;
|
|
@@ -1306,44 +1306,44 @@ function oo(r) {
|
|
|
1306
1306
|
Z--;
|
|
1307
1307
|
break;
|
|
1308
1308
|
case 47:
|
|
1309
|
-
switch (
|
|
1309
|
+
switch (v = H.charCodeAt(ie + 1)) {
|
|
1310
1310
|
case 42:
|
|
1311
1311
|
case 47:
|
|
1312
1312
|
e: {
|
|
1313
|
-
for (
|
|
1314
|
-
switch (H.charCodeAt(
|
|
1313
|
+
for (Ee = ie + 1; Ee < ot; ++Ee)
|
|
1314
|
+
switch (H.charCodeAt(Ee)) {
|
|
1315
1315
|
case 47:
|
|
1316
|
-
if (
|
|
1317
|
-
ie =
|
|
1316
|
+
if (v === 42 && H.charCodeAt(Ee - 1) === 42 && ie + 2 !== Ee) {
|
|
1317
|
+
ie = Ee + 1;
|
|
1318
1318
|
break e;
|
|
1319
1319
|
}
|
|
1320
1320
|
break;
|
|
1321
1321
|
case 10:
|
|
1322
|
-
if (
|
|
1323
|
-
ie =
|
|
1322
|
+
if (v === 47) {
|
|
1323
|
+
ie = Ee + 1;
|
|
1324
1324
|
break e;
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
|
1327
|
-
ie =
|
|
1327
|
+
ie = Ee;
|
|
1328
1328
|
}
|
|
1329
1329
|
}
|
|
1330
1330
|
break;
|
|
1331
1331
|
case 91:
|
|
1332
|
-
|
|
1332
|
+
v++;
|
|
1333
1333
|
case 40:
|
|
1334
|
-
|
|
1334
|
+
v++;
|
|
1335
1335
|
case 34:
|
|
1336
1336
|
case 39:
|
|
1337
|
-
for (; ie++ < ot && H.charCodeAt(ie) !==
|
|
1337
|
+
for (; ie++ < ot && H.charCodeAt(ie) !== v; )
|
|
1338
1338
|
;
|
|
1339
1339
|
}
|
|
1340
1340
|
if (Z === 0)
|
|
1341
1341
|
break;
|
|
1342
1342
|
ie++;
|
|
1343
1343
|
}
|
|
1344
|
-
switch (Z = H.substring(Be, ie), re === 0 && (re = (X = X.replace(
|
|
1344
|
+
switch (Z = H.substring(Be, ie), re === 0 && (re = (X = X.replace(d, "").trim()).charCodeAt(0)), re) {
|
|
1345
1345
|
case 64:
|
|
1346
|
-
switch (0 < ze && (X = X.replace(
|
|
1346
|
+
switch (0 < ze && (X = X.replace(w, "")), v = X.charCodeAt(1), v) {
|
|
1347
1347
|
case 100:
|
|
1348
1348
|
case 109:
|
|
1349
1349
|
case 115:
|
|
@@ -1351,10 +1351,10 @@ function oo(r) {
|
|
|
1351
1351
|
ze = A;
|
|
1352
1352
|
break;
|
|
1353
1353
|
default:
|
|
1354
|
-
ze =
|
|
1354
|
+
ze = L;
|
|
1355
1355
|
}
|
|
1356
|
-
if (Z = e(A, ze, Z,
|
|
1357
|
-
switch (
|
|
1356
|
+
if (Z = e(A, ze, Z, v, y + 1), Be = Z.length, 0 < ue && (ze = t(L, X, Ke), qe = f(3, Z, ze, A, U, W, Be, v, y, N), X = ze.join(""), qe !== void 0 && (Be = (Z = qe.trim()).length) === 0 && (v = 0, Z = "")), 0 < Be)
|
|
1357
|
+
switch (v) {
|
|
1358
1358
|
case 115:
|
|
1359
1359
|
X = X.replace(J, a);
|
|
1360
1360
|
case 100:
|
|
@@ -1363,53 +1363,53 @@ function oo(r) {
|
|
|
1363
1363
|
Z = X + "{" + Z + "}";
|
|
1364
1364
|
break;
|
|
1365
1365
|
case 107:
|
|
1366
|
-
X = X.replace(
|
|
1366
|
+
X = X.replace(_, "$1 $2"), Z = X + "{" + Z + "}", Z = F === 1 || F === 2 && s("@" + Z, 3) ? "@-webkit-" + Z + "@" + Z : "@" + Z;
|
|
1367
1367
|
break;
|
|
1368
1368
|
default:
|
|
1369
|
-
Z = X + Z,
|
|
1369
|
+
Z = X + Z, N === 112 && (Z = (ke += Z, ""));
|
|
1370
1370
|
}
|
|
1371
1371
|
else
|
|
1372
1372
|
Z = "";
|
|
1373
1373
|
break;
|
|
1374
1374
|
default:
|
|
1375
|
-
Z = e(A, t(A, X, Ke), Z,
|
|
1375
|
+
Z = e(A, t(A, X, Ke), Z, N, y + 1);
|
|
1376
1376
|
}
|
|
1377
|
-
$t += Z, Z = Ke = ze =
|
|
1377
|
+
$t += Z, Z = Ke = ze = Ee = re = 0, X = "", v = H.charCodeAt(++ie);
|
|
1378
1378
|
break;
|
|
1379
1379
|
case 125:
|
|
1380
1380
|
case 59:
|
|
1381
|
-
if (X = (0 < ze ? X.replace(
|
|
1382
|
-
switch (
|
|
1381
|
+
if (X = (0 < ze ? X.replace(w, "") : X).trim(), 1 < (Be = X.length))
|
|
1382
|
+
switch (Ee === 0 && (re = X.charCodeAt(0), re === 45 || 96 < re && 123 > re) && (Be = (X = X.replace(" ", ":")).length), 0 < ue && (qe = f(1, X, A, R, U, W, ke.length, N, y, N)) !== void 0 && (Be = (X = qe.trim()).length) === 0 && (X = "\0\0"), re = X.charCodeAt(0), v = X.charCodeAt(1), re) {
|
|
1383
1383
|
case 0:
|
|
1384
1384
|
break;
|
|
1385
1385
|
case 64:
|
|
1386
|
-
if (
|
|
1386
|
+
if (v === 105 || v === 99) {
|
|
1387
1387
|
st += X + H.charAt(ie);
|
|
1388
1388
|
break;
|
|
1389
1389
|
}
|
|
1390
1390
|
default:
|
|
1391
|
-
X.charCodeAt(Be - 1) !== 58 && (
|
|
1391
|
+
X.charCodeAt(Be - 1) !== 58 && (ke += o(X, re, v, X.charCodeAt(2)));
|
|
1392
1392
|
}
|
|
1393
|
-
Ke = ze =
|
|
1393
|
+
Ke = ze = Ee = re = 0, X = "", v = H.charCodeAt(++ie);
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
|
-
switch (
|
|
1396
|
+
switch (v) {
|
|
1397
1397
|
case 13:
|
|
1398
1398
|
case 10:
|
|
1399
|
-
|
|
1399
|
+
T === 47 ? T = 0 : 1 + re === 0 && N !== 107 && 0 < X.length && (ze = 1, X += "\0"), 0 < ue * Te && f(0, X, A, R, U, W, ke.length, N, y, N), W = 1, U++;
|
|
1400
1400
|
break;
|
|
1401
1401
|
case 59:
|
|
1402
1402
|
case 125:
|
|
1403
|
-
if (
|
|
1403
|
+
if (T + q + pe + Q === 0) {
|
|
1404
1404
|
W++;
|
|
1405
1405
|
break;
|
|
1406
1406
|
}
|
|
1407
1407
|
default:
|
|
1408
|
-
switch (W++, Le = H.charAt(ie),
|
|
1408
|
+
switch (W++, Le = H.charAt(ie), v) {
|
|
1409
1409
|
case 9:
|
|
1410
1410
|
case 32:
|
|
1411
|
-
if (q +
|
|
1412
|
-
switch (
|
|
1411
|
+
if (q + Q + T === 0)
|
|
1412
|
+
switch (_e) {
|
|
1413
1413
|
case 44:
|
|
1414
1414
|
case 58:
|
|
1415
1415
|
case 9:
|
|
@@ -1417,7 +1417,7 @@ function oo(r) {
|
|
|
1417
1417
|
Le = "";
|
|
1418
1418
|
break;
|
|
1419
1419
|
default:
|
|
1420
|
-
|
|
1420
|
+
v !== 32 && (Le = " ");
|
|
1421
1421
|
}
|
|
1422
1422
|
break;
|
|
1423
1423
|
case 0:
|
|
@@ -1430,110 +1430,110 @@ function oo(r) {
|
|
|
1430
1430
|
Le = "\\v";
|
|
1431
1431
|
break;
|
|
1432
1432
|
case 38:
|
|
1433
|
-
q +
|
|
1433
|
+
q + T + Q === 0 && (ze = Ke = 1, Le = "\f" + Le);
|
|
1434
1434
|
break;
|
|
1435
1435
|
case 108:
|
|
1436
|
-
if (q +
|
|
1437
|
-
switch (ie -
|
|
1436
|
+
if (q + T + Q + K === 0 && 0 < Ee)
|
|
1437
|
+
switch (ie - Ee) {
|
|
1438
1438
|
case 2:
|
|
1439
|
-
|
|
1439
|
+
_e === 112 && H.charCodeAt(ie - 3) === 58 && (K = _e);
|
|
1440
1440
|
case 8:
|
|
1441
|
-
$ === 111 && (
|
|
1441
|
+
$ === 111 && (K = $);
|
|
1442
1442
|
}
|
|
1443
1443
|
break;
|
|
1444
1444
|
case 58:
|
|
1445
|
-
q +
|
|
1445
|
+
q + T + Q === 0 && (Ee = ie);
|
|
1446
1446
|
break;
|
|
1447
1447
|
case 44:
|
|
1448
|
-
|
|
1448
|
+
T + pe + q + Q === 0 && (ze = 1, Le += "\r");
|
|
1449
1449
|
break;
|
|
1450
1450
|
case 34:
|
|
1451
1451
|
case 39:
|
|
1452
|
-
|
|
1452
|
+
T === 0 && (q = q === v ? 0 : q === 0 ? v : q);
|
|
1453
1453
|
break;
|
|
1454
1454
|
case 91:
|
|
1455
|
-
q +
|
|
1455
|
+
q + T + pe === 0 && Q++;
|
|
1456
1456
|
break;
|
|
1457
1457
|
case 93:
|
|
1458
|
-
q +
|
|
1458
|
+
q + T + pe === 0 && Q--;
|
|
1459
1459
|
break;
|
|
1460
1460
|
case 41:
|
|
1461
|
-
q +
|
|
1461
|
+
q + T + Q === 0 && pe--;
|
|
1462
1462
|
break;
|
|
1463
1463
|
case 40:
|
|
1464
|
-
if (q +
|
|
1464
|
+
if (q + T + Q === 0) {
|
|
1465
1465
|
if (re === 0)
|
|
1466
|
-
switch (2 *
|
|
1466
|
+
switch (2 * _e + 3 * $) {
|
|
1467
1467
|
case 533:
|
|
1468
1468
|
break;
|
|
1469
1469
|
default:
|
|
1470
1470
|
re = 1;
|
|
1471
1471
|
}
|
|
1472
|
-
|
|
1472
|
+
pe++;
|
|
1473
1473
|
}
|
|
1474
1474
|
break;
|
|
1475
1475
|
case 64:
|
|
1476
|
-
|
|
1476
|
+
T + pe + q + Q + Ee + Z === 0 && (Z = 1);
|
|
1477
1477
|
break;
|
|
1478
1478
|
case 42:
|
|
1479
1479
|
case 47:
|
|
1480
|
-
if (!(0 < q +
|
|
1481
|
-
switch (
|
|
1480
|
+
if (!(0 < q + Q + pe))
|
|
1481
|
+
switch (T) {
|
|
1482
1482
|
case 0:
|
|
1483
|
-
switch (2 *
|
|
1483
|
+
switch (2 * v + 3 * H.charCodeAt(ie + 1)) {
|
|
1484
1484
|
case 235:
|
|
1485
|
-
|
|
1485
|
+
T = 47;
|
|
1486
1486
|
break;
|
|
1487
1487
|
case 220:
|
|
1488
|
-
Be = ie,
|
|
1488
|
+
Be = ie, T = 42;
|
|
1489
1489
|
}
|
|
1490
1490
|
break;
|
|
1491
1491
|
case 42:
|
|
1492
|
-
|
|
1492
|
+
v === 47 && _e === 42 && Be + 2 !== ie && (H.charCodeAt(Be + 2) === 33 && (ke += H.substring(Be, ie + 1)), Le = "", T = 0);
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
|
-
|
|
1495
|
+
T === 0 && (X += Le);
|
|
1496
1496
|
}
|
|
1497
|
-
$ =
|
|
1497
|
+
$ = _e, _e = v, ie++;
|
|
1498
1498
|
}
|
|
1499
|
-
if (Be =
|
|
1500
|
-
if (ze = A, 0 < ue && (qe = f(2,
|
|
1501
|
-
return st +
|
|
1502
|
-
if (
|
|
1503
|
-
switch (
|
|
1499
|
+
if (Be = ke.length, 0 < Be) {
|
|
1500
|
+
if (ze = A, 0 < ue && (qe = f(2, ke, ze, R, U, W, Be, N, y, N), qe !== void 0 && (ke = qe).length === 0))
|
|
1501
|
+
return st + ke + $t;
|
|
1502
|
+
if (ke = ze.join(",") + "{" + ke + "}", F * K !== 0) {
|
|
1503
|
+
switch (F !== 2 || s(ke, 2) || (K = 0), K) {
|
|
1504
1504
|
case 111:
|
|
1505
|
-
|
|
1505
|
+
ke = ke.replace(g, ":-moz-$1") + ke;
|
|
1506
1506
|
break;
|
|
1507
1507
|
case 112:
|
|
1508
|
-
|
|
1508
|
+
ke = ke.replace(z, "::-webkit-input-$1") + ke.replace(z, "::-moz-$1") + ke.replace(z, ":-ms-input-$1") + ke;
|
|
1509
1509
|
}
|
|
1510
|
-
|
|
1510
|
+
K = 0;
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
|
-
return st +
|
|
1513
|
+
return st + ke + $t;
|
|
1514
1514
|
}
|
|
1515
1515
|
function t(R, A, H) {
|
|
1516
|
-
var
|
|
1517
|
-
A =
|
|
1518
|
-
var y =
|
|
1519
|
-
switch (
|
|
1516
|
+
var N = A.trim().split(u);
|
|
1517
|
+
A = N;
|
|
1518
|
+
var y = N.length, Q = R.length;
|
|
1519
|
+
switch (Q) {
|
|
1520
1520
|
case 0:
|
|
1521
1521
|
case 1:
|
|
1522
|
-
var
|
|
1523
|
-
for (R =
|
|
1524
|
-
A[
|
|
1522
|
+
var T = 0;
|
|
1523
|
+
for (R = Q === 0 ? "" : R[0] + " "; T < y; ++T)
|
|
1524
|
+
A[T] = n(R, A[T], H).trim();
|
|
1525
1525
|
break;
|
|
1526
1526
|
default:
|
|
1527
|
-
var
|
|
1528
|
-
for (A = [];
|
|
1529
|
-
for (var q = 0; q <
|
|
1530
|
-
A[
|
|
1527
|
+
var pe = T = 0;
|
|
1528
|
+
for (A = []; T < y; ++T)
|
|
1529
|
+
for (var q = 0; q < Q; ++q)
|
|
1530
|
+
A[pe++] = n(R[q] + " ", N[T], H).trim();
|
|
1531
1531
|
}
|
|
1532
1532
|
return A;
|
|
1533
1533
|
}
|
|
1534
1534
|
function n(R, A, H) {
|
|
1535
|
-
var
|
|
1536
|
-
switch (33 >
|
|
1535
|
+
var N = A.charCodeAt(0);
|
|
1536
|
+
switch (33 > N && (N = (A = A.trim()).charCodeAt(0)), N) {
|
|
1537
1537
|
case 38:
|
|
1538
1538
|
return A.replace(O, "$1" + R.trim());
|
|
1539
1539
|
case 58:
|
|
@@ -1544,16 +1544,16 @@ function oo(r) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
return R + A;
|
|
1546
1546
|
}
|
|
1547
|
-
function o(R, A, H,
|
|
1548
|
-
var y = R + ";",
|
|
1549
|
-
if (
|
|
1547
|
+
function o(R, A, H, N) {
|
|
1548
|
+
var y = R + ";", Q = 2 * A + 3 * H + 4 * N;
|
|
1549
|
+
if (Q === 944) {
|
|
1550
1550
|
R = y.indexOf(":", 9) + 1;
|
|
1551
|
-
var
|
|
1552
|
-
return
|
|
1551
|
+
var T = y.substring(R, y.length - 1).trim();
|
|
1552
|
+
return T = y.substring(0, R).trim() + T + ";", F === 1 || F === 2 && s(T, 1) ? "-webkit-" + T + T : T;
|
|
1553
1553
|
}
|
|
1554
|
-
if (
|
|
1554
|
+
if (F === 0 || F === 2 && !s(y, 1))
|
|
1555
1555
|
return y;
|
|
1556
|
-
switch (
|
|
1556
|
+
switch (Q) {
|
|
1557
1557
|
case 1015:
|
|
1558
1558
|
return y.charCodeAt(10) === 97 ? "-webkit-" + y + y : y;
|
|
1559
1559
|
case 951:
|
|
@@ -1575,7 +1575,7 @@ function oo(r) {
|
|
|
1575
1575
|
if (y.charCodeAt(8) === 45)
|
|
1576
1576
|
return "-webkit-" + y + y;
|
|
1577
1577
|
if (0 < y.indexOf("image-set(", 11))
|
|
1578
|
-
return y.replace(
|
|
1578
|
+
return y.replace(he, "$1-webkit-$2") + y;
|
|
1579
1579
|
break;
|
|
1580
1580
|
case 932:
|
|
1581
1581
|
if (y.charCodeAt(4) === 45)
|
|
@@ -1593,49 +1593,49 @@ function oo(r) {
|
|
|
1593
1593
|
case 1023:
|
|
1594
1594
|
if (y.charCodeAt(8) !== 99)
|
|
1595
1595
|
break;
|
|
1596
|
-
return
|
|
1596
|
+
return T = y.substring(y.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + T + "-webkit-" + y + "-ms-flex-pack" + T + y;
|
|
1597
1597
|
case 1005:
|
|
1598
1598
|
return C.test(y) ? y.replace(k, ":-webkit-") + y.replace(k, ":-moz-") + y : y;
|
|
1599
1599
|
case 1e3:
|
|
1600
|
-
switch (
|
|
1600
|
+
switch (T = y.substring(13).trim(), A = T.indexOf("-") + 1, T.charCodeAt(0) + T.charCodeAt(A)) {
|
|
1601
1601
|
case 226:
|
|
1602
|
-
|
|
1602
|
+
T = y.replace(m, "tb");
|
|
1603
1603
|
break;
|
|
1604
1604
|
case 232:
|
|
1605
|
-
|
|
1605
|
+
T = y.replace(m, "tb-rl");
|
|
1606
1606
|
break;
|
|
1607
1607
|
case 220:
|
|
1608
|
-
|
|
1608
|
+
T = y.replace(m, "lr");
|
|
1609
1609
|
break;
|
|
1610
1610
|
default:
|
|
1611
1611
|
return y;
|
|
1612
1612
|
}
|
|
1613
|
-
return "-webkit-" + y + "-ms-" +
|
|
1613
|
+
return "-webkit-" + y + "-ms-" + T + y;
|
|
1614
1614
|
case 1017:
|
|
1615
1615
|
if (y.indexOf("sticky", 9) === -1)
|
|
1616
1616
|
break;
|
|
1617
1617
|
case 975:
|
|
1618
|
-
switch (A = (y = R).length - 10,
|
|
1618
|
+
switch (A = (y = R).length - 10, T = (y.charCodeAt(A) === 33 ? y.substring(0, A) : y).substring(R.indexOf(":", 7) + 1).trim(), Q = T.charCodeAt(0) + (T.charCodeAt(7) | 0)) {
|
|
1619
1619
|
case 203:
|
|
1620
|
-
if (111 >
|
|
1620
|
+
if (111 > T.charCodeAt(8))
|
|
1621
1621
|
break;
|
|
1622
1622
|
case 115:
|
|
1623
|
-
y = y.replace(
|
|
1623
|
+
y = y.replace(T, "-webkit-" + T) + ";" + y;
|
|
1624
1624
|
break;
|
|
1625
1625
|
case 207:
|
|
1626
1626
|
case 102:
|
|
1627
|
-
y = y.replace(
|
|
1627
|
+
y = y.replace(T, "-webkit-" + (102 < Q ? "inline-" : "") + "box") + ";" + y.replace(T, "-webkit-" + T) + ";" + y.replace(T, "-ms-" + T + "box") + ";" + y;
|
|
1628
1628
|
}
|
|
1629
1629
|
return y + ";";
|
|
1630
1630
|
case 938:
|
|
1631
1631
|
if (y.charCodeAt(5) === 45)
|
|
1632
1632
|
switch (y.charCodeAt(6)) {
|
|
1633
1633
|
case 105:
|
|
1634
|
-
return
|
|
1634
|
+
return T = y.replace("-items", ""), "-webkit-" + y + "-webkit-box-" + T + "-ms-flex-" + T + y;
|
|
1635
1635
|
case 115:
|
|
1636
|
-
return "-webkit-" + y + "-ms-flex-item-" + y.replace(
|
|
1636
|
+
return "-webkit-" + y + "-ms-flex-item-" + y.replace(S, "") + y;
|
|
1637
1637
|
default:
|
|
1638
|
-
return "-webkit-" + y + "-ms-flex-line-pack" + y.replace("align-content", "").replace(
|
|
1638
|
+
return "-webkit-" + y + "-ms-flex-line-pack" + y.replace("align-content", "").replace(S, "") + y;
|
|
1639
1639
|
}
|
|
1640
1640
|
break;
|
|
1641
1641
|
case 973:
|
|
@@ -1644,68 +1644,68 @@ function oo(r) {
|
|
|
1644
1644
|
break;
|
|
1645
1645
|
case 931:
|
|
1646
1646
|
case 953:
|
|
1647
|
-
if (
|
|
1648
|
-
return (
|
|
1647
|
+
if (oe.test(R) === !0)
|
|
1648
|
+
return (T = R.substring(R.indexOf(":") + 1)).charCodeAt(0) === 115 ? o(R.replace("stretch", "fill-available"), A, H, N).replace(":fill-available", ":stretch") : y.replace(T, "-webkit-" + T) + y.replace(T, "-moz-" + T.replace("fill-", "")) + y;
|
|
1649
1649
|
break;
|
|
1650
1650
|
case 962:
|
|
1651
|
-
if (y = "-webkit-" + y + (y.charCodeAt(5) === 102 ? "-ms-" + y : "") + y, H +
|
|
1652
|
-
return y.substring(0, y.indexOf(";", 27) + 1).replace(
|
|
1651
|
+
if (y = "-webkit-" + y + (y.charCodeAt(5) === 102 ? "-ms-" + y : "") + y, H + N === 211 && y.charCodeAt(13) === 105 && 0 < y.indexOf("transform", 10))
|
|
1652
|
+
return y.substring(0, y.indexOf(";", 27) + 1).replace(b, "$1-webkit-$2") + y;
|
|
1653
1653
|
}
|
|
1654
1654
|
return y;
|
|
1655
1655
|
}
|
|
1656
1656
|
function s(R, A) {
|
|
1657
|
-
var H = R.indexOf(A === 1 ? ":" : "{"),
|
|
1658
|
-
return H = R.substring(H + 1, R.length - 1),
|
|
1657
|
+
var H = R.indexOf(A === 1 ? ":" : "{"), N = R.substring(0, A !== 3 ? H : 10);
|
|
1658
|
+
return H = R.substring(H + 1, R.length - 1), we(A !== 2 ? N : N.replace(te, "$1"), H, A);
|
|
1659
1659
|
}
|
|
1660
1660
|
function a(R, A) {
|
|
1661
1661
|
var H = o(A, A.charCodeAt(0), A.charCodeAt(1), A.charCodeAt(2));
|
|
1662
|
-
return H !== A + ";" ? H.replace(
|
|
1662
|
+
return H !== A + ";" ? H.replace(G, " or ($1)").substring(4) : "(" + A + ")";
|
|
1663
1663
|
}
|
|
1664
|
-
function f(R, A, H,
|
|
1665
|
-
for (var
|
|
1666
|
-
switch ($ =
|
|
1664
|
+
function f(R, A, H, N, y, Q, T, pe, q, re) {
|
|
1665
|
+
for (var v = 0, _e = A, $; v < ue; ++v)
|
|
1666
|
+
switch ($ = de[v].call(c, R, _e, H, N, y, Q, T, pe, q, re)) {
|
|
1667
1667
|
case void 0:
|
|
1668
1668
|
case !1:
|
|
1669
1669
|
case !0:
|
|
1670
1670
|
case null:
|
|
1671
1671
|
break;
|
|
1672
1672
|
default:
|
|
1673
|
-
|
|
1673
|
+
_e = $;
|
|
1674
1674
|
}
|
|
1675
|
-
if (
|
|
1676
|
-
return
|
|
1675
|
+
if (_e !== A)
|
|
1676
|
+
return _e;
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function h(R) {
|
|
1679
1679
|
switch (R) {
|
|
1680
1680
|
case void 0:
|
|
1681
1681
|
case null:
|
|
1682
|
-
ue =
|
|
1682
|
+
ue = de.length = 0;
|
|
1683
1683
|
break;
|
|
1684
1684
|
default:
|
|
1685
1685
|
if (typeof R == "function")
|
|
1686
|
-
|
|
1686
|
+
de[ue++] = R;
|
|
1687
1687
|
else if (typeof R == "object")
|
|
1688
1688
|
for (var A = 0, H = R.length; A < H; ++A)
|
|
1689
|
-
|
|
1689
|
+
h(R[A]);
|
|
1690
1690
|
else
|
|
1691
|
-
|
|
1691
|
+
Te = !!R | 0;
|
|
1692
1692
|
}
|
|
1693
|
-
return
|
|
1693
|
+
return h;
|
|
1694
1694
|
}
|
|
1695
1695
|
function p(R) {
|
|
1696
|
-
return R = R.prefix, R !== void 0 && (
|
|
1696
|
+
return R = R.prefix, R !== void 0 && (we = null, R ? typeof R != "function" ? F = 1 : (F = 2, we = R) : F = 0), p;
|
|
1697
1697
|
}
|
|
1698
1698
|
function c(R, A) {
|
|
1699
1699
|
var H = R;
|
|
1700
1700
|
if (33 > H.charCodeAt(0) && (H = H.trim()), Ne = H, H = [Ne], 0 < ue) {
|
|
1701
|
-
var
|
|
1702
|
-
|
|
1701
|
+
var N = f(-1, A, H, H, U, W, 0, 0, 0, 0);
|
|
1702
|
+
N !== void 0 && typeof N == "string" && (A = N);
|
|
1703
1703
|
}
|
|
1704
|
-
var y = e(
|
|
1705
|
-
return 0 < ue && (
|
|
1704
|
+
var y = e(L, H, A, 0, 0);
|
|
1705
|
+
return 0 < ue && (N = f(-2, y, H, H, U, W, y.length, 0, 0, 0), N !== void 0 && (y = N)), Ne = "", K = 0, W = U = 1, y;
|
|
1706
1706
|
}
|
|
1707
|
-
var
|
|
1708
|
-
return c.use =
|
|
1707
|
+
var d = /^\0+/g, w = /[\0\r\f]/g, k = /: */g, C = /zoo|gra/, b = /([,: ])(transform)/g, u = /,\r+?/g, O = /([\t\r\n ])*\f?&/g, _ = /@(k\w+)\s*(\S*)\s*/, z = /::(place)/g, g = /:(read-only)/g, m = /[svh]\w+-[tblr]{2}/, J = /\(\s*(.*)\s*\)/g, G = /([\s\S]*?);/g, S = /-self|flex-/g, te = /[^]*?(:[rp][el]a[\w-]+)[^]*/, oe = /stretch|:\s*\w+\-(?:conte|avail)/, he = /([^-])(image-set\()/, W = 1, U = 1, K = 0, F = 1, L = [], de = [], ue = 0, we = null, Te = 0, Ne = "";
|
|
1708
|
+
return c.use = h, c.set = p, r !== void 0 && p(r), c;
|
|
1709
1709
|
}
|
|
1710
1710
|
var so = {
|
|
1711
1711
|
animationIterationCount: 1,
|
|
@@ -1764,25 +1764,25 @@ var co = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
1764
1764
|
function(r) {
|
|
1765
1765
|
return co.test(r) || r.charCodeAt(0) === 111 && r.charCodeAt(1) === 110 && r.charCodeAt(2) < 91;
|
|
1766
1766
|
}
|
|
1767
|
-
), tn = { exports: {} },
|
|
1767
|
+
), tn = { exports: {} }, ge = {};
|
|
1768
1768
|
var zi;
|
|
1769
1769
|
function lo() {
|
|
1770
1770
|
if (zi)
|
|
1771
|
-
return
|
|
1771
|
+
return ge;
|
|
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, n = 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, f = r ? Symbol.for("react.context") : 60110,
|
|
1773
|
+
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = 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, f = r ? Symbol.for("react.context") : 60110, h = r ? Symbol.for("react.async_mode") : 60111, p = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, w = r ? Symbol.for("react.suspense_list") : 60120, k = r ? Symbol.for("react.memo") : 60115, C = r ? Symbol.for("react.lazy") : 60116, b = r ? Symbol.for("react.block") : 60121, u = r ? Symbol.for("react.fundamental") : 60117, O = r ? Symbol.for("react.responder") : 60118, _ = r ? Symbol.for("react.scope") : 60119;
|
|
1774
1774
|
function z(m) {
|
|
1775
1775
|
if (typeof m == "object" && m !== null) {
|
|
1776
1776
|
var J = m.$$typeof;
|
|
1777
1777
|
switch (J) {
|
|
1778
1778
|
case e:
|
|
1779
1779
|
switch (m = m.type, m) {
|
|
1780
|
-
case
|
|
1780
|
+
case h:
|
|
1781
1781
|
case p:
|
|
1782
1782
|
case n:
|
|
1783
1783
|
case s:
|
|
1784
1784
|
case o:
|
|
1785
|
-
case
|
|
1785
|
+
case d:
|
|
1786
1786
|
return m;
|
|
1787
1787
|
default:
|
|
1788
1788
|
switch (m = m && m.$$typeof, m) {
|
|
@@ -1804,55 +1804,55 @@ function lo() {
|
|
|
1804
1804
|
function g(m) {
|
|
1805
1805
|
return z(m) === p;
|
|
1806
1806
|
}
|
|
1807
|
-
return
|
|
1808
|
-
return g(m) || z(m) ===
|
|
1809
|
-
},
|
|
1807
|
+
return ge.AsyncMode = h, ge.ConcurrentMode = p, ge.ContextConsumer = f, ge.ContextProvider = a, ge.Element = e, ge.ForwardRef = c, ge.Fragment = n, ge.Lazy = C, ge.Memo = k, ge.Portal = t, ge.Profiler = s, ge.StrictMode = o, ge.Suspense = d, ge.isAsyncMode = function(m) {
|
|
1808
|
+
return g(m) || z(m) === h;
|
|
1809
|
+
}, ge.isConcurrentMode = g, ge.isContextConsumer = function(m) {
|
|
1810
1810
|
return z(m) === f;
|
|
1811
|
-
},
|
|
1811
|
+
}, ge.isContextProvider = function(m) {
|
|
1812
1812
|
return z(m) === a;
|
|
1813
|
-
},
|
|
1813
|
+
}, ge.isElement = function(m) {
|
|
1814
1814
|
return typeof m == "object" && m !== null && m.$$typeof === e;
|
|
1815
|
-
},
|
|
1815
|
+
}, ge.isForwardRef = function(m) {
|
|
1816
1816
|
return z(m) === c;
|
|
1817
|
-
},
|
|
1817
|
+
}, ge.isFragment = function(m) {
|
|
1818
1818
|
return z(m) === n;
|
|
1819
|
-
},
|
|
1819
|
+
}, ge.isLazy = function(m) {
|
|
1820
1820
|
return z(m) === C;
|
|
1821
|
-
},
|
|
1821
|
+
}, ge.isMemo = function(m) {
|
|
1822
1822
|
return z(m) === k;
|
|
1823
|
-
},
|
|
1823
|
+
}, ge.isPortal = function(m) {
|
|
1824
1824
|
return z(m) === t;
|
|
1825
|
-
},
|
|
1825
|
+
}, ge.isProfiler = function(m) {
|
|
1826
1826
|
return z(m) === s;
|
|
1827
|
-
},
|
|
1827
|
+
}, ge.isStrictMode = function(m) {
|
|
1828
1828
|
return z(m) === o;
|
|
1829
|
-
},
|
|
1830
|
-
return z(m) ===
|
|
1831
|
-
},
|
|
1832
|
-
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === s || m === o || m ===
|
|
1833
|
-
},
|
|
1829
|
+
}, ge.isSuspense = function(m) {
|
|
1830
|
+
return z(m) === d;
|
|
1831
|
+
}, ge.isValidElementType = function(m) {
|
|
1832
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === s || m === o || m === d || m === w || typeof m == "object" && m !== null && (m.$$typeof === C || m.$$typeof === k || m.$$typeof === a || m.$$typeof === f || m.$$typeof === c || m.$$typeof === u || m.$$typeof === O || m.$$typeof === _ || m.$$typeof === b);
|
|
1833
|
+
}, ge.typeOf = z, ge;
|
|
1834
1834
|
}
|
|
1835
|
-
var
|
|
1835
|
+
var be = {};
|
|
1836
1836
|
var Di;
|
|
1837
1837
|
function uo() {
|
|
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, n = 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, f = r ? Symbol.for("react.context") : 60110,
|
|
1840
|
-
function z(
|
|
1841
|
-
return typeof
|
|
1842
|
-
}
|
|
1843
|
-
function g(
|
|
1844
|
-
if (typeof
|
|
1845
|
-
var
|
|
1846
|
-
switch (
|
|
1839
|
+
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = 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, f = r ? Symbol.for("react.context") : 60110, h = r ? Symbol.for("react.async_mode") : 60111, p = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, w = r ? Symbol.for("react.suspense_list") : 60120, k = r ? Symbol.for("react.memo") : 60115, C = r ? Symbol.for("react.lazy") : 60116, b = r ? Symbol.for("react.block") : 60121, u = r ? Symbol.for("react.fundamental") : 60117, O = r ? Symbol.for("react.responder") : 60118, _ = r ? Symbol.for("react.scope") : 60119;
|
|
1840
|
+
function z(v) {
|
|
1841
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === p || v === s || v === o || v === d || v === w || typeof v == "object" && v !== null && (v.$$typeof === C || v.$$typeof === k || v.$$typeof === a || v.$$typeof === f || v.$$typeof === c || v.$$typeof === u || v.$$typeof === O || v.$$typeof === _ || v.$$typeof === b);
|
|
1842
|
+
}
|
|
1843
|
+
function g(v) {
|
|
1844
|
+
if (typeof v == "object" && v !== null) {
|
|
1845
|
+
var _e = v.$$typeof;
|
|
1846
|
+
switch (_e) {
|
|
1847
1847
|
case e:
|
|
1848
|
-
var $ =
|
|
1848
|
+
var $ = v.type;
|
|
1849
1849
|
switch ($) {
|
|
1850
|
-
case
|
|
1850
|
+
case h:
|
|
1851
1851
|
case p:
|
|
1852
1852
|
case n:
|
|
1853
1853
|
case s:
|
|
1854
1854
|
case o:
|
|
1855
|
-
case
|
|
1855
|
+
case d:
|
|
1856
1856
|
return $;
|
|
1857
1857
|
default:
|
|
1858
1858
|
var Z = $ && $.$$typeof;
|
|
@@ -1864,56 +1864,56 @@ function uo() {
|
|
|
1864
1864
|
case a:
|
|
1865
1865
|
return Z;
|
|
1866
1866
|
default:
|
|
1867
|
-
return
|
|
1867
|
+
return _e;
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
1870
|
case t:
|
|
1871
|
-
return
|
|
1871
|
+
return _e;
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
|
-
var m =
|
|
1876
|
-
function
|
|
1877
|
-
return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
1875
|
+
var m = h, J = p, G = f, S = a, te = e, oe = c, he = n, W = C, U = k, K = t, F = s, L = o, de = d, ue = !1;
|
|
1876
|
+
function we(v) {
|
|
1877
|
+
return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Te(v) || g(v) === h;
|
|
1878
1878
|
}
|
|
1879
|
-
function
|
|
1880
|
-
return g(
|
|
1879
|
+
function Te(v) {
|
|
1880
|
+
return g(v) === p;
|
|
1881
1881
|
}
|
|
1882
|
-
function Ne(
|
|
1883
|
-
return g(
|
|
1882
|
+
function Ne(v) {
|
|
1883
|
+
return g(v) === f;
|
|
1884
1884
|
}
|
|
1885
|
-
function R(
|
|
1886
|
-
return g(
|
|
1885
|
+
function R(v) {
|
|
1886
|
+
return g(v) === a;
|
|
1887
1887
|
}
|
|
1888
|
-
function A(
|
|
1889
|
-
return typeof
|
|
1888
|
+
function A(v) {
|
|
1889
|
+
return typeof v == "object" && v !== null && v.$$typeof === e;
|
|
1890
1890
|
}
|
|
1891
|
-
function H(
|
|
1892
|
-
return g(
|
|
1891
|
+
function H(v) {
|
|
1892
|
+
return g(v) === c;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1895
|
-
return g(
|
|
1894
|
+
function N(v) {
|
|
1895
|
+
return g(v) === n;
|
|
1896
1896
|
}
|
|
1897
|
-
function y(
|
|
1898
|
-
return g(
|
|
1897
|
+
function y(v) {
|
|
1898
|
+
return g(v) === C;
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1901
|
-
return g(
|
|
1900
|
+
function Q(v) {
|
|
1901
|
+
return g(v) === k;
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1904
|
-
return g(
|
|
1903
|
+
function T(v) {
|
|
1904
|
+
return g(v) === t;
|
|
1905
1905
|
}
|
|
1906
|
-
function
|
|
1907
|
-
return g(
|
|
1906
|
+
function pe(v) {
|
|
1907
|
+
return g(v) === s;
|
|
1908
1908
|
}
|
|
1909
|
-
function q(
|
|
1910
|
-
return g(
|
|
1909
|
+
function q(v) {
|
|
1910
|
+
return g(v) === o;
|
|
1911
1911
|
}
|
|
1912
|
-
function re(
|
|
1913
|
-
return g(
|
|
1912
|
+
function re(v) {
|
|
1913
|
+
return g(v) === d;
|
|
1914
1914
|
}
|
|
1915
|
-
|
|
1916
|
-
}()),
|
|
1915
|
+
be.AsyncMode = m, be.ConcurrentMode = J, be.ContextConsumer = G, be.ContextProvider = S, be.Element = te, be.ForwardRef = oe, be.Fragment = he, be.Lazy = W, be.Memo = U, be.Portal = K, be.Profiler = F, be.StrictMode = L, be.Suspense = de, be.isAsyncMode = we, be.isConcurrentMode = Te, be.isContextConsumer = Ne, be.isContextProvider = R, be.isElement = A, be.isForwardRef = H, be.isFragment = N, be.isLazy = y, be.isMemo = Q, be.isPortal = T, be.isProfiler = pe, be.isStrictMode = q, be.isSuspense = re, be.isValidElementType = z, be.typeOf = g;
|
|
1916
|
+
}()), be;
|
|
1917
1917
|
}
|
|
1918
1918
|
(function(r) {
|
|
1919
1919
|
process.env.NODE_ENV === "production" ? r.exports = lo() : r.exports = uo();
|
|
@@ -1967,11 +1967,11 @@ function nn(r, e, t) {
|
|
|
1967
1967
|
var o = yo(e);
|
|
1968
1968
|
Ii && (o = o.concat(Ii(e)));
|
|
1969
1969
|
for (var s = Bi(r), a = Bi(e), f = 0; f < o.length; ++f) {
|
|
1970
|
-
var
|
|
1971
|
-
if (!ho[
|
|
1972
|
-
var p = go(e,
|
|
1970
|
+
var h = o[f];
|
|
1971
|
+
if (!ho[h] && !(t && t[h]) && !(a && a[h]) && !(s && s[h])) {
|
|
1972
|
+
var p = go(e, h);
|
|
1973
1973
|
try {
|
|
1974
|
-
mo(r,
|
|
1974
|
+
mo(r, h, p);
|
|
1975
1975
|
} catch {
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
@@ -2077,8 +2077,8 @@ var Eo = function() {
|
|
|
2077
2077
|
for (var f = s; f < a; f++)
|
|
2078
2078
|
this.groupSizes[f] = 0;
|
|
2079
2079
|
}
|
|
2080
|
-
for (var
|
|
2081
|
-
this.tag.insertRule(
|
|
2080
|
+
for (var h = this.indexOfGroup(t + 1), p = 0, c = n.length; p < c; p++)
|
|
2081
|
+
this.tag.insertRule(h, n[p]) && (this.groupSizes[t]++, h++);
|
|
2082
2082
|
}, e.clearGroup = function(t) {
|
|
2083
2083
|
if (t < this.length) {
|
|
2084
2084
|
var n = this.groupSizes[t], o = this.indexOfGroup(t), s = o + n;
|
|
@@ -2116,8 +2116,8 @@ var Eo = function() {
|
|
|
2116
2116
|
if (a) {
|
|
2117
2117
|
var f = a.match(ko);
|
|
2118
2118
|
if (f) {
|
|
2119
|
-
var
|
|
2120
|
-
|
|
2119
|
+
var h = 0 | parseInt(f[1], 10), p = f[2];
|
|
2120
|
+
h !== 0 && (To(p, h), Oo(r, p, f[3]), r.getTag().insertRules(h, n)), n.length = 0;
|
|
2121
2121
|
} else
|
|
2122
2122
|
n.push(a);
|
|
2123
2123
|
}
|
|
@@ -2126,8 +2126,8 @@ var Eo = function() {
|
|
|
2126
2126
|
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
|
|
2127
2127
|
}, on = function(r) {
|
|
2128
2128
|
var e = document.head, t = r || e, n = document.createElement("style"), o = function(f) {
|
|
2129
|
-
for (var
|
|
2130
|
-
var c =
|
|
2129
|
+
for (var h = f.childNodes, p = h.length; p >= 0; p--) {
|
|
2130
|
+
var c = h[p];
|
|
2131
2131
|
if (c && c.nodeType === 1 && c.hasAttribute(Zt))
|
|
2132
2132
|
return c;
|
|
2133
2133
|
}
|
|
@@ -2142,9 +2142,9 @@ var Eo = function() {
|
|
|
2142
2142
|
if (o.sheet)
|
|
2143
2143
|
return o.sheet;
|
|
2144
2144
|
for (var s = document.styleSheets, a = 0, f = s.length; a < f; a++) {
|
|
2145
|
-
var
|
|
2146
|
-
if (
|
|
2147
|
-
return
|
|
2145
|
+
var h = s[a];
|
|
2146
|
+
if (h.ownerNode === o)
|
|
2147
|
+
return h;
|
|
2148
2148
|
}
|
|
2149
2149
|
Kt(17);
|
|
2150
2150
|
}(n), this.length = 0;
|
|
@@ -2194,7 +2194,7 @@ var Eo = function() {
|
|
|
2194
2194
|
}(), Yi = ui, zo = { isServer: !ui, useCSSOMInjection: !xo }, sn = function() {
|
|
2195
2195
|
function r(t, n, o) {
|
|
2196
2196
|
t === void 0 && (t = St), n === void 0 && (n = {}), this.options = ht({}, zo, {}, t), this.gs = n, this.names = new Map(o), this.server = !!t.isServer, !this.server && ui && Yi && (Yi = !1, function(s) {
|
|
2197
|
-
for (var a = document.querySelectorAll(_o), f = 0,
|
|
2197
|
+
for (var a = document.querySelectorAll(_o), f = 0, h = a.length; f < h; f++) {
|
|
2198
2198
|
var p = a[f];
|
|
2199
2199
|
p && p.getAttribute(Zt) !== "active" && (Ao(s, p), p.parentNode && p.parentNode.removeChild(p));
|
|
2200
2200
|
}
|
|
@@ -2233,12 +2233,12 @@ var Eo = function() {
|
|
|
2233
2233
|
for (var n = t.getTag(), o = n.length, s = "", a = 0; a < o; a++) {
|
|
2234
2234
|
var f = Co(a);
|
|
2235
2235
|
if (f !== void 0) {
|
|
2236
|
-
var
|
|
2237
|
-
if (
|
|
2238
|
-
var c = Zt + ".g" + a + '[id="' + f + '"]',
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
}), s += "" + p + c + '{content:"' +
|
|
2236
|
+
var h = t.names.get(f), p = n.getGroup(a);
|
|
2237
|
+
if (h && p && h.size) {
|
|
2238
|
+
var c = Zt + ".g" + a + '[id="' + f + '"]', d = "";
|
|
2239
|
+
h !== void 0 && h.forEach(function(w) {
|
|
2240
|
+
w.length > 0 && (d += w + ",");
|
|
2241
|
+
}), s += "" + p + c + '{content:"' + d + `"}/*!sc*/
|
|
2242
2242
|
`;
|
|
2243
2243
|
}
|
|
2244
2244
|
}
|
|
@@ -2282,25 +2282,25 @@ var Io = an("5.3.6"), Mo = function() {
|
|
|
2282
2282
|
else {
|
|
2283
2283
|
var a = Ut(this.rules, e, t, n).join(""), f = Gr(Tt(this.baseHash, a) >>> 0);
|
|
2284
2284
|
if (!t.hasNameForId(o, f)) {
|
|
2285
|
-
var
|
|
2286
|
-
t.insertRules(o, f,
|
|
2285
|
+
var h = n(a, "." + f, void 0, o);
|
|
2286
|
+
t.insertRules(o, f, h);
|
|
2287
2287
|
}
|
|
2288
2288
|
s.push(f), this.staticRulesId = f;
|
|
2289
2289
|
}
|
|
2290
2290
|
else {
|
|
2291
|
-
for (var p = this.rules.length, c = Tt(this.baseHash, n.hash),
|
|
2292
|
-
var k = this.rules[
|
|
2291
|
+
for (var p = this.rules.length, c = Tt(this.baseHash, n.hash), d = "", w = 0; w < p; w++) {
|
|
2292
|
+
var k = this.rules[w];
|
|
2293
2293
|
if (typeof k == "string")
|
|
2294
|
-
|
|
2294
|
+
d += k, process.env.NODE_ENV !== "production" && (c = Tt(c, k + w));
|
|
2295
2295
|
else if (k) {
|
|
2296
|
-
var C = Ut(k, e, t, n),
|
|
2297
|
-
c = Tt(c,
|
|
2296
|
+
var C = Ut(k, e, t, n), b = Array.isArray(C) ? C.join("") : C;
|
|
2297
|
+
c = Tt(c, b + w), d += b;
|
|
2298
2298
|
}
|
|
2299
2299
|
}
|
|
2300
|
-
if (
|
|
2300
|
+
if (d) {
|
|
2301
2301
|
var u = Gr(c >>> 0);
|
|
2302
2302
|
if (!t.hasNameForId(o, u)) {
|
|
2303
|
-
var O = n(
|
|
2303
|
+
var O = n(d, "." + u, void 0, o);
|
|
2304
2304
|
t.insertRules(o, u, O);
|
|
2305
2305
|
}
|
|
2306
2306
|
s.push(u);
|
|
@@ -2310,55 +2310,55 @@ var Io = an("5.3.6"), Mo = function() {
|
|
|
2310
2310
|
}, r;
|
|
2311
2311
|
}(), No = /^\s*\/\/.*$/gm, Yo = [":", "[", ".", "#"];
|
|
2312
2312
|
function jo(r) {
|
|
2313
|
-
var e, t, n, o, s = r === void 0 ? St : r, a = s.options, f = a === void 0 ? St : a,
|
|
2313
|
+
var e, t, n, o, s = r === void 0 ? St : r, a = s.options, f = a === void 0 ? St : a, h = s.plugins, p = h === void 0 ? Sr : h, c = new oo(f), d = [], w = function(b) {
|
|
2314
2314
|
function u(O) {
|
|
2315
2315
|
if (O)
|
|
2316
2316
|
try {
|
|
2317
|
-
|
|
2317
|
+
b(O + "}");
|
|
2318
2318
|
} catch {
|
|
2319
2319
|
}
|
|
2320
2320
|
}
|
|
2321
|
-
return function(O,
|
|
2321
|
+
return function(O, _, z, g, m, J, G, S, te, oe) {
|
|
2322
2322
|
switch (O) {
|
|
2323
2323
|
case 1:
|
|
2324
|
-
if (
|
|
2325
|
-
return
|
|
2324
|
+
if (te === 0 && _.charCodeAt(0) === 64)
|
|
2325
|
+
return b(_ + ";"), "";
|
|
2326
2326
|
break;
|
|
2327
2327
|
case 2:
|
|
2328
|
-
if (
|
|
2329
|
-
return
|
|
2328
|
+
if (S === 0)
|
|
2329
|
+
return _ + "/*|*/";
|
|
2330
2330
|
break;
|
|
2331
2331
|
case 3:
|
|
2332
|
-
switch (
|
|
2332
|
+
switch (S) {
|
|
2333
2333
|
case 102:
|
|
2334
2334
|
case 112:
|
|
2335
|
-
return
|
|
2335
|
+
return b(z[0] + _), "";
|
|
2336
2336
|
default:
|
|
2337
|
-
return
|
|
2337
|
+
return _ + (oe === 0 ? "/*|*/" : "");
|
|
2338
2338
|
}
|
|
2339
2339
|
case -2:
|
|
2340
|
-
|
|
2340
|
+
_.split("/*|*/}").forEach(u);
|
|
2341
2341
|
}
|
|
2342
2342
|
};
|
|
2343
|
-
}(function(
|
|
2344
|
-
|
|
2345
|
-
}), k = function(
|
|
2346
|
-
return u === 0 && Yo.indexOf(O[t.length]) !== -1 || O.match(o) ?
|
|
2343
|
+
}(function(b) {
|
|
2344
|
+
d.push(b);
|
|
2345
|
+
}), k = function(b, u, O) {
|
|
2346
|
+
return u === 0 && Yo.indexOf(O[t.length]) !== -1 || O.match(o) ? b : "." + e;
|
|
2347
2347
|
};
|
|
2348
|
-
function C(
|
|
2349
|
-
|
|
2350
|
-
var z =
|
|
2351
|
-
return e =
|
|
2352
|
-
}
|
|
2353
|
-
return c.use([].concat(p, [function(
|
|
2354
|
-
|
|
2355
|
-
},
|
|
2356
|
-
if (
|
|
2357
|
-
var u =
|
|
2358
|
-
return
|
|
2359
|
-
}
|
|
2360
|
-
}])), C.hash = p.length ? p.reduce(function(
|
|
2361
|
-
return u.name || Kt(15), Tt(
|
|
2348
|
+
function C(b, u, O, _) {
|
|
2349
|
+
_ === void 0 && (_ = "&");
|
|
2350
|
+
var z = b.replace(No, ""), g = u && O ? O + " " + u + " { " + z + " }" : z;
|
|
2351
|
+
return e = _, t = u, n = new RegExp("\\" + t + "\\b", "g"), o = new RegExp("(\\" + t + "\\b){2,}"), c(O || !u ? "" : u, g);
|
|
2352
|
+
}
|
|
2353
|
+
return c.use([].concat(p, [function(b, u, O) {
|
|
2354
|
+
b === 2 && O.length && O[0].lastIndexOf(t) > 0 && (O[0] = O[0].replace(n, k));
|
|
2355
|
+
}, w, function(b) {
|
|
2356
|
+
if (b === -2) {
|
|
2357
|
+
var u = d;
|
|
2358
|
+
return d = [], u;
|
|
2359
|
+
}
|
|
2360
|
+
}])), C.hash = p.length ? p.reduce(function(b, u) {
|
|
2361
|
+
return u.name || Kt(15), Tt(b, u.name);
|
|
2362
2362
|
}, 5381).toString() : "", C;
|
|
2363
2363
|
}
|
|
2364
2364
|
var cn = Me.createContext();
|
|
@@ -2406,15 +2406,15 @@ function Ut(r, e, t, n) {
|
|
|
2406
2406
|
if (sr(r)) {
|
|
2407
2407
|
if (typeof (p = r) != "function" || p.prototype && p.prototype.isReactComponent || !e)
|
|
2408
2408
|
return r;
|
|
2409
|
-
var
|
|
2410
|
-
return process.env.NODE_ENV !== "production" && Hr.exports.isElement(
|
|
2409
|
+
var h = r(e);
|
|
2410
|
+
return process.env.NODE_ENV !== "production" && Hr.exports.isElement(h) && console.warn(Ur(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."), Ut(h, e, t, n);
|
|
2411
2411
|
}
|
|
2412
2412
|
var p;
|
|
2413
|
-
return r instanceof Vo ? t ? (r.inject(t, n), r.getName(n)) : r : Zr(r) ? function c(
|
|
2414
|
-
var k, C,
|
|
2415
|
-
for (var u in
|
|
2416
|
-
|
|
2417
|
-
return
|
|
2413
|
+
return r instanceof Vo ? t ? (r.inject(t, n), r.getName(n)) : r : Zr(r) ? function c(d, w) {
|
|
2414
|
+
var k, C, b = [];
|
|
2415
|
+
for (var u in d)
|
|
2416
|
+
d.hasOwnProperty(u) && !Li(d[u]) && (Array.isArray(d[u]) && d[u].isCss || sr(d[u]) ? b.push(Fi(u) + ":", d[u], ";") : Zr(d[u]) ? b.push.apply(b, c(d[u], u)) : b.push(Fi(u) + ": " + (k = u, (C = d[u]) == null || typeof C == "boolean" || C === "" ? "" : typeof C != "number" || C === 0 || k in so ? String(C).trim() : C + "px") + ";"));
|
|
2417
|
+
return w ? [w + " {"].concat(b, ["}"]) : b;
|
|
2418
2418
|
}(r) : r.toString();
|
|
2419
2419
|
}
|
|
2420
2420
|
var Xi = function(r) {
|
|
@@ -2436,8 +2436,8 @@ 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, f = new Array(a > 1 ? a - 1 : 0),
|
|
2440
|
-
f[
|
|
2439
|
+
for (var a = arguments.length, f = new Array(a > 1 ? a - 1 : 0), h = 1; h < a; h++)
|
|
2440
|
+
f[h - 1] = arguments[h];
|
|
2441
2441
|
n.apply(void 0, [s].concat(f));
|
|
2442
2442
|
}
|
|
2443
2443
|
}, en(), o && !hr.has(t) && (console.warn(t), hr.add(t));
|
|
@@ -2483,58 +2483,58 @@ var fn = Me.createContext();
|
|
|
2483
2483
|
fn.Consumer;
|
|
2484
2484
|
var Yr = {};
|
|
2485
2485
|
function hn(r, e, t) {
|
|
2486
|
-
var n = li(r), o = !dr(r), s = e.attrs, a = s === void 0 ? Sr : s, f = e.componentId,
|
|
2487
|
-
var g = typeof
|
|
2486
|
+
var n = li(r), o = !dr(r), s = e.attrs, a = s === void 0 ? Sr : s, f = e.componentId, h = f === void 0 ? function(_, z) {
|
|
2487
|
+
var g = typeof _ != "string" ? "sc" : Nr(_);
|
|
2488
2488
|
Yr[g] = (Yr[g] || 0) + 1;
|
|
2489
2489
|
var m = g + "-" + ts("5.3.6" + g + Yr[g]);
|
|
2490
2490
|
return z ? z + "-" + m : m;
|
|
2491
|
-
}(e.displayName, e.parentComponentId) : f, p = e.displayName, c = p === void 0 ? function(
|
|
2492
|
-
return dr(
|
|
2493
|
-
}(r) : p,
|
|
2494
|
-
n && r.shouldForwardProp && (k = e.shouldForwardProp ? function(
|
|
2495
|
-
return r.shouldForwardProp(
|
|
2491
|
+
}(e.displayName, e.parentComponentId) : f, p = e.displayName, c = p === void 0 ? function(_) {
|
|
2492
|
+
return dr(_) ? "styled." + _ : "Styled(" + Ur(_) + ")";
|
|
2493
|
+
}(r) : p, d = e.displayName && e.componentId ? Nr(e.displayName) + "-" + e.componentId : e.componentId || h, w = n && r.attrs ? Array.prototype.concat(r.attrs, a).filter(Boolean) : a, k = e.shouldForwardProp;
|
|
2494
|
+
n && r.shouldForwardProp && (k = e.shouldForwardProp ? function(_, z, g) {
|
|
2495
|
+
return r.shouldForwardProp(_, z, g) && e.shouldForwardProp(_, z, g);
|
|
2496
2496
|
} : r.shouldForwardProp);
|
|
2497
|
-
var C,
|
|
2498
|
-
return function(g, m, J,
|
|
2499
|
-
var
|
|
2500
|
-
process.env.NODE_ENV !== "production" && Si(
|
|
2501
|
-
var
|
|
2502
|
-
|
|
2503
|
-
var
|
|
2504
|
-
return
|
|
2505
|
-
var re,
|
|
2506
|
-
for (re in sr($) && ($ = $(
|
|
2507
|
-
|
|
2508
|
-
}), [
|
|
2509
|
-
}(Jo(m, nt(fn),
|
|
2510
|
-
var
|
|
2511
|
-
return process.env.NODE_ENV !== "production" && Si(re), process.env.NODE_ENV !== "production" && !y &&
|
|
2512
|
-
}(
|
|
2497
|
+
var C, b = new Mo(t, d, n ? r.componentStyle : void 0), u = b.isStatic && a.length === 0, O = function(_, z) {
|
|
2498
|
+
return function(g, m, J, G) {
|
|
2499
|
+
var S = g.attrs, te = g.componentStyle, oe = g.defaultProps, he = g.foldedComponentIds, W = g.shouldForwardProp, U = g.styledComponentId, K = g.target;
|
|
2500
|
+
process.env.NODE_ENV !== "production" && Si(U);
|
|
2501
|
+
var F = function(N, y, Q) {
|
|
2502
|
+
N === void 0 && (N = St);
|
|
2503
|
+
var T = ht({}, y, { theme: N }), pe = {};
|
|
2504
|
+
return Q.forEach(function(q) {
|
|
2505
|
+
var re, v, _e, $ = q;
|
|
2506
|
+
for (re in sr($) && ($ = $(T)), $)
|
|
2507
|
+
T[re] = pe[re] = re === "className" ? (v = pe[re], _e = $[re], v && _e ? v + " " + _e : v || _e) : $[re];
|
|
2508
|
+
}), [T, pe];
|
|
2509
|
+
}(Jo(m, nt(fn), oe) || St, m, S), L = F[0], de = F[1], ue = function(N, y, Q, T) {
|
|
2510
|
+
var pe = Lo(), q = Xo(), re = y ? N.generateAndInjectStyles(St, pe, q) : N.generateAndInjectStyles(Q, pe, q);
|
|
2511
|
+
return process.env.NODE_ENV !== "production" && Si(re), process.env.NODE_ENV !== "production" && !y && T && T(re), re;
|
|
2512
|
+
}(te, G, L, process.env.NODE_ENV !== "production" ? g.warnTooManyClasses : void 0), we = J, Te = de.$as || m.$as || de.as || m.as || K, Ne = dr(Te), R = de !== m ? ht({}, m, {}, de) : m, A = {};
|
|
2513
2513
|
for (var H in R)
|
|
2514
|
-
H[0] !== "$" && H !== "as" && (H === "forwardedAs" ? A.as = R[H] : (W ? W(H, Hi,
|
|
2515
|
-
return m.style &&
|
|
2516
|
-
}(C,
|
|
2514
|
+
H[0] !== "$" && H !== "as" && (H === "forwardedAs" ? A.as = R[H] : (W ? W(H, Hi, Te) : !Ne || Hi(H)) && (A[H] = R[H]));
|
|
2515
|
+
return m.style && de.style !== m.style && (A.style = ht({}, m.style, {}, de.style)), A.className = Array.prototype.concat(he, U, ue !== U ? ue : null, m.className, de.className).filter(Boolean).join(" "), A.ref = we, Mn(Te, A);
|
|
2516
|
+
}(C, _, z, u);
|
|
2517
2517
|
};
|
|
2518
|
-
return O.displayName = c, (C = Me.forwardRef(O)).attrs =
|
|
2519
|
-
var z = e.componentId, g = function(J,
|
|
2518
|
+
return O.displayName = c, (C = Me.forwardRef(O)).attrs = w, C.componentStyle = b, C.displayName = c, C.shouldForwardProp = k, C.foldedComponentIds = n ? Array.prototype.concat(r.foldedComponentIds, r.styledComponentId) : Sr, C.styledComponentId = d, C.target = n ? r.target : r, C.withComponent = function(_) {
|
|
2519
|
+
var z = e.componentId, g = function(J, G) {
|
|
2520
2520
|
if (J == null)
|
|
2521
2521
|
return {};
|
|
2522
|
-
var
|
|
2523
|
-
for (
|
|
2524
|
-
|
|
2525
|
-
return
|
|
2526
|
-
}(e, ["componentId"]), m = z && z + "-" + (dr(
|
|
2527
|
-
return hn(
|
|
2522
|
+
var S, te, oe = {}, he = Object.keys(J);
|
|
2523
|
+
for (te = 0; te < he.length; te++)
|
|
2524
|
+
S = he[te], G.indexOf(S) >= 0 || (oe[S] = J[S]);
|
|
2525
|
+
return oe;
|
|
2526
|
+
}(e, ["componentId"]), m = z && z + "-" + (dr(_) ? _ : Nr(Ur(_)));
|
|
2527
|
+
return hn(_, ht({}, g, { attrs: w, componentId: m }), t);
|
|
2528
2528
|
}, Object.defineProperty(C, "defaultProps", { get: function() {
|
|
2529
2529
|
return this._foldedDefaultProps;
|
|
2530
|
-
}, set: function(
|
|
2531
|
-
this._foldedDefaultProps = n ? un({}, r.defaultProps,
|
|
2532
|
-
} }), process.env.NODE_ENV !== "production" && (qo(c,
|
|
2530
|
+
}, set: function(_) {
|
|
2531
|
+
this._foldedDefaultProps = n ? un({}, r.defaultProps, _) : _;
|
|
2532
|
+
} }), process.env.NODE_ENV !== "production" && (qo(c, d), C.warnTooManyClasses = function(_, z) {
|
|
2533
2533
|
var g = {}, m = !1;
|
|
2534
2534
|
return function(J) {
|
|
2535
2535
|
if (!m && (g[J] = !0, Object.keys(g).length >= 200)) {
|
|
2536
|
-
var
|
|
2537
|
-
console.warn("Over 200 classes were generated for component " +
|
|
2536
|
+
var G = z ? ' with the id of "' + z + '"' : "";
|
|
2537
|
+
console.warn("Over 200 classes were generated for component " + _ + G + `.
|
|
2538
2538
|
Consider using the attrs method, together with a style object for frequently changed styles.
|
|
2539
2539
|
Example:
|
|
2540
2540
|
const Component = styled.div.attrs(props => ({
|
|
@@ -2546,7 +2546,7 @@ Example:
|
|
|
2546
2546
|
<Component />`), m = !0, g = {};
|
|
2547
2547
|
}
|
|
2548
2548
|
};
|
|
2549
|
-
}(c,
|
|
2549
|
+
}(c, d)), C.toString = function() {
|
|
2550
2550
|
return "." + C.styledComponentId;
|
|
2551
2551
|
}, o && vo(C, r, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), C;
|
|
2552
2552
|
}
|
|
@@ -2686,15 +2686,15 @@ const Ct = Jr, ns = Ct.div`
|
|
|
2686
2686
|
}
|
|
2687
2687
|
}));
|
|
2688
2688
|
const [o, s] = He("none");
|
|
2689
|
-
return /* @__PURE__ */
|
|
2689
|
+
return /* @__PURE__ */ x(Me.Fragment, { children: /* @__PURE__ */ ce(ns, { display: o, id: "desktop--tablet--container", children: [
|
|
2690
2690
|
/* @__PURE__ */ ce(os, { children: [
|
|
2691
2691
|
/* @__PURE__ */ ce("h1", { children: [
|
|
2692
2692
|
"NDMVR",
|
|
2693
|
-
/* @__PURE__ */
|
|
2693
|
+
/* @__PURE__ */ x("span", { children: /* @__PURE__ */ x("i", { children: "tablet" }) })
|
|
2694
2694
|
] }),
|
|
2695
|
-
/* @__PURE__ */
|
|
2696
|
-
/* @__PURE__ */
|
|
2697
|
-
/* @__PURE__ */
|
|
2695
|
+
/* @__PURE__ */ x("p", { children: "Tools" }),
|
|
2696
|
+
/* @__PURE__ */ x(us, { children: e.map((a, f) => f === r ? /* @__PURE__ */ ce(cs, { children: [
|
|
2697
|
+
/* @__PURE__ */ x("span", { style: { fontWeight: 700, color: "#0f52ba" }, children: f < 10 ? (f + 1) % 10 : ">" }),
|
|
2698
2698
|
" ",
|
|
2699
2699
|
a.name.length > 15 ? a.name.slice(0, 12) + "..." : a.name
|
|
2700
2700
|
] }, f) : /* @__PURE__ */ ce(
|
|
@@ -2702,7 +2702,7 @@ const Ct = Jr, ns = Ct.div`
|
|
|
2702
2702
|
{
|
|
2703
2703
|
onClick: () => t(f),
|
|
2704
2704
|
children: [
|
|
2705
|
-
/* @__PURE__ */
|
|
2705
|
+
/* @__PURE__ */ x("span", { style: { fontWeight: 700, color: "#0f52ba" }, children: f < 10 ? (f + 1) % 10 : ">" }),
|
|
2706
2706
|
" ",
|
|
2707
2707
|
a.name.length > 15 ? a.name.slice(0, 12) + "..." : a.name
|
|
2708
2708
|
]
|
|
@@ -2712,8 +2712,8 @@ const Ct = Jr, ns = Ct.div`
|
|
|
2712
2712
|
] }),
|
|
2713
2713
|
/* @__PURE__ */ ce("div", { style: { width: 100 + "%", overflow: "scroll" }, children: [
|
|
2714
2714
|
/* @__PURE__ */ ce(ss, { id: "desktop--tablet--container--header", children: [
|
|
2715
|
-
/* @__PURE__ */
|
|
2716
|
-
/* @__PURE__ */
|
|
2715
|
+
/* @__PURE__ */ x("h1", { children: e[r].name }),
|
|
2716
|
+
/* @__PURE__ */ x(
|
|
2717
2717
|
as,
|
|
2718
2718
|
{
|
|
2719
2719
|
id: "close--button",
|
|
@@ -2722,11 +2722,11 @@ const Ct = Jr, ns = Ct.div`
|
|
|
2722
2722
|
cursor: "pointer",
|
|
2723
2723
|
maxWidth: 30 + "px"
|
|
2724
2724
|
},
|
|
2725
|
-
children: /* @__PURE__ */
|
|
2725
|
+
children: /* @__PURE__ */ x("i", { children: "Hide" })
|
|
2726
2726
|
}
|
|
2727
2727
|
)
|
|
2728
2728
|
] }),
|
|
2729
|
-
/* @__PURE__ */
|
|
2729
|
+
/* @__PURE__ */ x(
|
|
2730
2730
|
"div",
|
|
2731
2731
|
{
|
|
2732
2732
|
style: {
|
|
@@ -2742,7 +2742,7 @@ const Ct = Jr, ns = Ct.div`
|
|
|
2742
2742
|
)
|
|
2743
2743
|
] })
|
|
2744
2744
|
] }) });
|
|
2745
|
-
}), hs = window.AFRAME,
|
|
2745
|
+
}), hs = window.AFRAME, Ae = new Et();
|
|
2746
2746
|
let Qr, Zi;
|
|
2747
2747
|
function dn() {
|
|
2748
2748
|
const r = en(), [e, t] = He(0), [n, o] = He(null);
|
|
@@ -2752,19 +2752,19 @@ function dn() {
|
|
|
2752
2752
|
yPos: 0,
|
|
2753
2753
|
zPos: 0,
|
|
2754
2754
|
absoluteContent: 0
|
|
2755
|
-
}), [f,
|
|
2755
|
+
}), [f, h] = He(1), [p] = He(
|
|
2756
2756
|
hs.utils.device.checkHeadsetConnected() ? "oculus" : "desktop"
|
|
2757
|
-
), { source: c } = nt(At).stores,
|
|
2758
|
-
|
|
2759
|
-
}, [e]),
|
|
2757
|
+
), { source: c } = nt(At).stores, d = c != null && c.getOptions().length ? c == null ? void 0 : c.getOptions() : [];
|
|
2758
|
+
Ce(() => (Zi = Ae.subscribe(w), () => Zi.unsubscribe()), []), Ce(() => {
|
|
2759
|
+
}, [e]), Ce(() => {
|
|
2760
2760
|
c && n && c.executeFunction(0, n);
|
|
2761
2761
|
}, [n]);
|
|
2762
|
-
const
|
|
2763
|
-
typeof g == "number" ? g + 1 <= C.length && (t(g), Qr = e) : g.changeTabletState ? r.current.changeTabletDisplayHandler("switch") : g.binData ? s !== g.binData && a(g.binData) : g.tool ? (g.tool === "next" && t((m) => m === C.length - 1 ? 0 : m + 1), g.tool === "prev" && t((m) => m === 0 ? C.length - 1 : m - 1)) : g.source ? (g.source === "next" && o((m) =>
|
|
2762
|
+
const w = (g) => {
|
|
2763
|
+
typeof g == "number" ? g + 1 <= C.length && (t(g), Qr = e) : g.changeTabletState ? r.current.changeTabletDisplayHandler("switch") : g.binData ? s !== g.binData && a(g.binData) : g.tool ? (g.tool === "next" && t((m) => m === C.length - 1 ? 0 : m + 1), g.tool === "prev" && t((m) => m === 0 ? C.length - 1 : m - 1)) : g.source ? (g.source === "next" && o((m) => d.indexOf(m) === d.length - 1 ? d[0] : d[d.indexOf(m) + 1]), g.source === "prev" && o((m) => d.indexOf(m) === 0 ? d[d.length - 1] : d[d.indexOf(m) - 1])) : g.scale && h((m) => m += g.scale);
|
|
2764
2764
|
}, k = () => {
|
|
2765
2765
|
switch (e) {
|
|
2766
2766
|
case 0:
|
|
2767
|
-
return /* @__PURE__ */
|
|
2767
|
+
return /* @__PURE__ */ x(Me.Fragment, { children: /* @__PURE__ */ x(
|
|
2768
2768
|
"a-text",
|
|
2769
2769
|
{
|
|
2770
2770
|
value: `Selected bin:
|
|
@@ -2779,7 +2779,7 @@ Z: ` + s.zPos,
|
|
|
2779
2779
|
}
|
|
2780
2780
|
) });
|
|
2781
2781
|
case 2:
|
|
2782
|
-
return /* @__PURE__ */
|
|
2782
|
+
return /* @__PURE__ */ x(Me.Fragment, { children: /* @__PURE__ */ x(
|
|
2783
2783
|
"a-text",
|
|
2784
2784
|
{
|
|
2785
2785
|
value: `Bin height changer:
|
|
@@ -2794,7 +2794,7 @@ the left controller.`,
|
|
|
2794
2794
|
}
|
|
2795
2795
|
) });
|
|
2796
2796
|
case 1:
|
|
2797
|
-
return /* @__PURE__ */
|
|
2797
|
+
return /* @__PURE__ */ x(
|
|
2798
2798
|
"a-box",
|
|
2799
2799
|
{
|
|
2800
2800
|
id: "tablet",
|
|
@@ -2808,19 +2808,19 @@ the left controller.`,
|
|
|
2808
2808
|
}
|
|
2809
2809
|
);
|
|
2810
2810
|
case 3:
|
|
2811
|
-
return /* @__PURE__ */
|
|
2811
|
+
return /* @__PURE__ */ x("a-entity", { rotation: "-30 0 0", children: d.map((g) => /* @__PURE__ */ x(
|
|
2812
2812
|
"a-text",
|
|
2813
2813
|
{
|
|
2814
2814
|
value: g,
|
|
2815
2815
|
color: g === n ? "white" : "lightgray",
|
|
2816
2816
|
rotation: "0 0 0",
|
|
2817
|
-
position: "0.1 " + -0.025 *
|
|
2817
|
+
position: "0.1 " + -0.025 * d.indexOf(g) + " 0",
|
|
2818
2818
|
"wrap-count": g === n ? "360" : "400"
|
|
2819
2819
|
},
|
|
2820
2820
|
g
|
|
2821
2821
|
)) });
|
|
2822
2822
|
default:
|
|
2823
|
-
return /* @__PURE__ */
|
|
2823
|
+
return /* @__PURE__ */ x(
|
|
2824
2824
|
"a-text",
|
|
2825
2825
|
{
|
|
2826
2826
|
value: `This tool does not have
|
|
@@ -2832,14 +2832,14 @@ the left controller.`,
|
|
|
2832
2832
|
);
|
|
2833
2833
|
}
|
|
2834
2834
|
}, C = [
|
|
2835
|
-
{ fun:
|
|
2835
|
+
{ fun: b(), name: "Bin Info" },
|
|
2836
2836
|
{ fun: u(), name: "Scale Z axis" },
|
|
2837
2837
|
{ fun: O(), name: "Change Data Source" },
|
|
2838
2838
|
{ fun: null, name: "Tool with a longer name" }
|
|
2839
2839
|
];
|
|
2840
|
-
function
|
|
2840
|
+
function b() {
|
|
2841
2841
|
if (p === "desktop")
|
|
2842
|
-
return /* @__PURE__ */
|
|
2842
|
+
return /* @__PURE__ */ x(Me.Fragment, { children: /* @__PURE__ */ x("table", { style: { width: "100%" }, children: /* @__PURE__ */ ce("tbody", { children: [
|
|
2843
2843
|
/* @__PURE__ */ ce("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2844
2844
|
/* @__PURE__ */ ce(
|
|
2845
2845
|
"td",
|
|
@@ -2851,12 +2851,12 @@ the left controller.`,
|
|
|
2851
2851
|
marginBottom: "0.5em"
|
|
2852
2852
|
},
|
|
2853
2853
|
children: [
|
|
2854
|
-
/* @__PURE__ */
|
|
2854
|
+
/* @__PURE__ */ x("i", { children: "value:" }),
|
|
2855
2855
|
" "
|
|
2856
2856
|
]
|
|
2857
2857
|
}
|
|
2858
2858
|
),
|
|
2859
|
-
/* @__PURE__ */
|
|
2859
|
+
/* @__PURE__ */ x("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: s.absoluteContent })
|
|
2860
2860
|
] }),
|
|
2861
2861
|
/* @__PURE__ */ ce("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2862
2862
|
/* @__PURE__ */ ce(
|
|
@@ -2869,12 +2869,12 @@ the left controller.`,
|
|
|
2869
2869
|
marginBottom: "0.5em"
|
|
2870
2870
|
},
|
|
2871
2871
|
children: [
|
|
2872
|
-
/* @__PURE__ */
|
|
2872
|
+
/* @__PURE__ */ x("i", { children: "x:" }),
|
|
2873
2873
|
" "
|
|
2874
2874
|
]
|
|
2875
2875
|
}
|
|
2876
2876
|
),
|
|
2877
|
-
/* @__PURE__ */
|
|
2877
|
+
/* @__PURE__ */ x("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: s.xPos })
|
|
2878
2878
|
] }),
|
|
2879
2879
|
/* @__PURE__ */ ce("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2880
2880
|
/* @__PURE__ */ ce(
|
|
@@ -2887,12 +2887,12 @@ the left controller.`,
|
|
|
2887
2887
|
marginBottom: "0.5em"
|
|
2888
2888
|
},
|
|
2889
2889
|
children: [
|
|
2890
|
-
/* @__PURE__ */
|
|
2890
|
+
/* @__PURE__ */ x("i", { children: "y:" }),
|
|
2891
2891
|
" "
|
|
2892
2892
|
]
|
|
2893
2893
|
}
|
|
2894
2894
|
),
|
|
2895
|
-
/* @__PURE__ */
|
|
2895
|
+
/* @__PURE__ */ x("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: s.yPos })
|
|
2896
2896
|
] }),
|
|
2897
2897
|
/* @__PURE__ */ ce("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2898
2898
|
/* @__PURE__ */ ce(
|
|
@@ -2905,17 +2905,17 @@ the left controller.`,
|
|
|
2905
2905
|
marginBottom: "0.5em"
|
|
2906
2906
|
},
|
|
2907
2907
|
children: [
|
|
2908
|
-
/* @__PURE__ */
|
|
2908
|
+
/* @__PURE__ */ x("i", { children: "z:" }),
|
|
2909
2909
|
" "
|
|
2910
2910
|
]
|
|
2911
2911
|
}
|
|
2912
2912
|
),
|
|
2913
|
-
/* @__PURE__ */
|
|
2913
|
+
/* @__PURE__ */ x("td", { style: { width: "50%", fontSize: "2em", fontWeight: 600 }, children: s.zPos })
|
|
2914
2914
|
] })
|
|
2915
2915
|
] }) }) });
|
|
2916
2916
|
}
|
|
2917
2917
|
function u() {
|
|
2918
|
-
return /* @__PURE__ */
|
|
2918
|
+
return /* @__PURE__ */ x(Me.Fragment, { children: /* @__PURE__ */ ce(
|
|
2919
2919
|
"div",
|
|
2920
2920
|
{
|
|
2921
2921
|
style: {
|
|
@@ -2924,21 +2924,21 @@ the left controller.`,
|
|
|
2924
2924
|
alignItems: "center"
|
|
2925
2925
|
},
|
|
2926
2926
|
children: [
|
|
2927
|
-
/* @__PURE__ */
|
|
2927
|
+
/* @__PURE__ */ x(
|
|
2928
2928
|
Wi,
|
|
2929
2929
|
{
|
|
2930
2930
|
onClick: () => {
|
|
2931
|
-
|
|
2931
|
+
h(f + 0.1), Se.changeHistogramScale(0.1, "TH2"), dt.changeHistogramScale(0.1, "TH1");
|
|
2932
2932
|
},
|
|
2933
2933
|
children: "+"
|
|
2934
2934
|
}
|
|
2935
2935
|
),
|
|
2936
|
-
/* @__PURE__ */
|
|
2937
|
-
/* @__PURE__ */
|
|
2936
|
+
/* @__PURE__ */ x("h1", { style: { fontSize: "5em", fontWeight: "bold" }, children: f.toFixed(1) }),
|
|
2937
|
+
/* @__PURE__ */ x(
|
|
2938
2938
|
Wi,
|
|
2939
2939
|
{
|
|
2940
2940
|
onClick: () => {
|
|
2941
|
-
|
|
2941
|
+
h(f - 0.1), Se.changeHistogramScale(-0.1, "TH2"), dt.changeHistogramScale(-0.1, "TH1");
|
|
2942
2942
|
},
|
|
2943
2943
|
children: "-"
|
|
2944
2944
|
}
|
|
@@ -2948,7 +2948,7 @@ the left controller.`,
|
|
|
2948
2948
|
) });
|
|
2949
2949
|
}
|
|
2950
2950
|
function O() {
|
|
2951
|
-
return /* @__PURE__ */
|
|
2951
|
+
return /* @__PURE__ */ x("div", { style: { display: "flex", flexDirection: "column" }, children: d.map((g) => g === n ? /* @__PURE__ */ x(
|
|
2952
2952
|
"a",
|
|
2953
2953
|
{
|
|
2954
2954
|
style: { textTransform: "uppercase" },
|
|
@@ -2956,26 +2956,26 @@ the left controller.`,
|
|
|
2956
2956
|
children: g
|
|
2957
2957
|
},
|
|
2958
2958
|
g
|
|
2959
|
-
) : /* @__PURE__ */
|
|
2959
|
+
) : /* @__PURE__ */ x("a", { onClick: () => o(g), children: g }, g)) });
|
|
2960
2960
|
}
|
|
2961
|
-
document.getElementById("desktop--tablet--container") &&
|
|
2962
|
-
function
|
|
2963
|
-
let m = 0, J = 0,
|
|
2964
|
-
document.getElementById(g.id + "--header") ? document.getElementById(g.id + "--header").onmousedown =
|
|
2965
|
-
function
|
|
2966
|
-
W.preventDefault(),
|
|
2961
|
+
document.getElementById("desktop--tablet--container") && _(document.getElementById("desktop--tablet--container"));
|
|
2962
|
+
function _(g) {
|
|
2963
|
+
let m = 0, J = 0, G = 0, S = 0;
|
|
2964
|
+
document.getElementById(g.id + "--header") ? document.getElementById(g.id + "--header").onmousedown = te : g.onmousedown = te;
|
|
2965
|
+
function te(W) {
|
|
2966
|
+
W.preventDefault(), G = W.clientX, S = W.clientY, document.onmouseup = he, document.onmousemove = oe;
|
|
2967
2967
|
}
|
|
2968
|
-
function
|
|
2969
|
-
W.preventDefault(), m =
|
|
2968
|
+
function oe(W) {
|
|
2969
|
+
W.preventDefault(), m = G - W.clientX, J = S - W.clientY, G = W.clientX, S = W.clientY, g.style.top = g.offsetTop - J + "px", g.style.left = g.offsetLeft - m + "px";
|
|
2970
2970
|
}
|
|
2971
|
-
function
|
|
2971
|
+
function he() {
|
|
2972
2972
|
document.onmouseup = null, document.onmousemove = null;
|
|
2973
2973
|
}
|
|
2974
2974
|
}
|
|
2975
2975
|
const z = (g) => {
|
|
2976
2976
|
t(g);
|
|
2977
2977
|
};
|
|
2978
|
-
return p === "desktop" ? /* @__PURE__ */
|
|
2978
|
+
return p === "desktop" ? /* @__PURE__ */ x(
|
|
2979
2979
|
fs,
|
|
2980
2980
|
{
|
|
2981
2981
|
tools: C,
|
|
@@ -2983,20 +2983,20 @@ the left controller.`,
|
|
|
2983
2983
|
ref: r,
|
|
2984
2984
|
changeActiveToolLocalHandler: z
|
|
2985
2985
|
}
|
|
2986
|
-
) : /* @__PURE__ */
|
|
2986
|
+
) : /* @__PURE__ */ x(Me.Fragment, { children: k() });
|
|
2987
2987
|
}
|
|
2988
2988
|
const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
2989
2989
|
let r;
|
|
2990
|
-
const { projPanelIds: t } = nt(At).data, [n, o] = He(0), [s, a] = He(null), [f,
|
|
2990
|
+
const { projPanelIds: t } = nt(At).data, [n, o] = He(0), [s, a] = He(null), [f, h] = He(
|
|
2991
2991
|
Ui.utils.device.checkHeadsetConnected() ? "oculus" : "keyboard"
|
|
2992
|
-
), [p, c] = He(!1), [
|
|
2993
|
-
|
|
2994
|
-
}, u = (
|
|
2995
|
-
|
|
2992
|
+
), [p, c] = He(!1), [d, w] = He(!1), [k, C] = He(!0), b = (S) => {
|
|
2993
|
+
S.device ? (f !== S.device && h(S.device), c(!p)) : S === "shift" ? O() : S === "show" && w(!d);
|
|
2994
|
+
}, u = (S) => {
|
|
2995
|
+
S.changeTabletState && C(!1);
|
|
2996
2996
|
}, O = () => {
|
|
2997
|
-
let
|
|
2998
|
-
|
|
2999
|
-
},
|
|
2997
|
+
let S = n + 90;
|
|
2998
|
+
S >= 360 && (S = 0), o(S);
|
|
2999
|
+
}, _ = (S) => t[S] ? t[S] : `panel_${S}`, z = () => /* @__PURE__ */ ce(
|
|
3000
3000
|
"a-entity",
|
|
3001
3001
|
{
|
|
3002
3002
|
position: s === null ? `0 ${30} 0` : `${s.x} ${30} ${s.z}`,
|
|
@@ -3011,7 +3011,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3011
3011
|
rotation: "45 90 0",
|
|
3012
3012
|
material: "color:white;",
|
|
3013
3013
|
children: [
|
|
3014
|
-
/* @__PURE__ */
|
|
3014
|
+
/* @__PURE__ */ x(
|
|
3015
3015
|
"a-text",
|
|
3016
3016
|
{
|
|
3017
3017
|
color: "black",
|
|
@@ -3020,7 +3020,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3020
3020
|
position: "-20 2.8 1"
|
|
3021
3021
|
}
|
|
3022
3022
|
),
|
|
3023
|
-
/* @__PURE__ */
|
|
3023
|
+
/* @__PURE__ */ x(
|
|
3024
3024
|
"a-text",
|
|
3025
3025
|
{
|
|
3026
3026
|
color: "black",
|
|
@@ -3029,7 +3029,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3029
3029
|
position: "-20 0 1"
|
|
3030
3030
|
}
|
|
3031
3031
|
),
|
|
3032
|
-
/* @__PURE__ */
|
|
3032
|
+
/* @__PURE__ */ x(
|
|
3033
3033
|
"a-text",
|
|
3034
3034
|
{
|
|
3035
3035
|
color: "black",
|
|
@@ -3041,16 +3041,16 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3041
3041
|
]
|
|
3042
3042
|
}
|
|
3043
3043
|
),
|
|
3044
|
-
/* @__PURE__ */
|
|
3044
|
+
/* @__PURE__ */ x(
|
|
3045
3045
|
"a-box",
|
|
3046
3046
|
{
|
|
3047
|
-
id:
|
|
3047
|
+
id: _(1),
|
|
3048
3048
|
scale: "80 50 2",
|
|
3049
3049
|
animation__position: "property: position; from: 0 0 -60; to: 0 -1 -42; delay: 0; dur: 800; easing: linear;",
|
|
3050
3050
|
material: "transparent:true"
|
|
3051
3051
|
}
|
|
3052
3052
|
),
|
|
3053
|
-
/* @__PURE__ */
|
|
3053
|
+
/* @__PURE__ */ x(
|
|
3054
3054
|
"a-box",
|
|
3055
3055
|
{
|
|
3056
3056
|
scale: "80 52 2",
|
|
@@ -3058,17 +3058,17 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3058
3058
|
material: "color: white;"
|
|
3059
3059
|
}
|
|
3060
3060
|
),
|
|
3061
|
-
/* @__PURE__ */
|
|
3061
|
+
/* @__PURE__ */ x(
|
|
3062
3062
|
"a-box",
|
|
3063
3063
|
{
|
|
3064
|
-
id:
|
|
3064
|
+
id: _(2),
|
|
3065
3065
|
scale: "80 50 2",
|
|
3066
3066
|
animation__position: "property: position; from: 60 0 0; to: 42 -1 0; delay: 200; dur: 800; easing: linear;",
|
|
3067
3067
|
rotation: "0 90 0",
|
|
3068
3068
|
material: "transparent:true"
|
|
3069
3069
|
}
|
|
3070
3070
|
),
|
|
3071
|
-
/* @__PURE__ */
|
|
3071
|
+
/* @__PURE__ */ x(
|
|
3072
3072
|
"a-box",
|
|
3073
3073
|
{
|
|
3074
3074
|
scale: "80 52 2",
|
|
@@ -3077,16 +3077,16 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3077
3077
|
material: "color: white;"
|
|
3078
3078
|
}
|
|
3079
3079
|
),
|
|
3080
|
-
/* @__PURE__ */
|
|
3080
|
+
/* @__PURE__ */ x(
|
|
3081
3081
|
"a-box",
|
|
3082
3082
|
{
|
|
3083
|
-
id:
|
|
3083
|
+
id: _(3),
|
|
3084
3084
|
scale: "80 50 2",
|
|
3085
3085
|
animation__position: "property: position; from: 0 0 60; to: 0 -1 42; delay: 400; dur: 800; easing: linear;",
|
|
3086
3086
|
material: "transparent:true"
|
|
3087
3087
|
}
|
|
3088
3088
|
),
|
|
3089
|
-
/* @__PURE__ */
|
|
3089
|
+
/* @__PURE__ */ x(
|
|
3090
3090
|
"a-box",
|
|
3091
3091
|
{
|
|
3092
3092
|
scale: "80 52 2",
|
|
@@ -3094,17 +3094,17 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3094
3094
|
material: "color: white;"
|
|
3095
3095
|
}
|
|
3096
3096
|
),
|
|
3097
|
-
/* @__PURE__ */
|
|
3097
|
+
/* @__PURE__ */ x(
|
|
3098
3098
|
"a-box",
|
|
3099
3099
|
{
|
|
3100
|
-
id:
|
|
3100
|
+
id: _(4),
|
|
3101
3101
|
scale: "80 50 2",
|
|
3102
3102
|
animation__position: "property: position; from: -60 0 0; to: -42 -1 0; delay: 600; dur: 800; easing: linear;",
|
|
3103
3103
|
rotation: "0 90 0",
|
|
3104
3104
|
material: "transparent:true"
|
|
3105
3105
|
}
|
|
3106
3106
|
),
|
|
3107
|
-
/* @__PURE__ */
|
|
3107
|
+
/* @__PURE__ */ x(
|
|
3108
3108
|
"a-box",
|
|
3109
3109
|
{
|
|
3110
3110
|
scale: "80 52 2",
|
|
@@ -3130,16 +3130,16 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3130
3130
|
rotation: "45 90 0",
|
|
3131
3131
|
material: "color: white",
|
|
3132
3132
|
children: [
|
|
3133
|
-
/* @__PURE__ */
|
|
3133
|
+
/* @__PURE__ */ x(
|
|
3134
3134
|
"a-text",
|
|
3135
3135
|
{
|
|
3136
3136
|
color: "black",
|
|
3137
3137
|
width: "50",
|
|
3138
|
-
value:
|
|
3138
|
+
value: d ? "Press C to show help panels" : "Press C to show projection panels",
|
|
3139
3139
|
position: "-20 2.8 1"
|
|
3140
3140
|
}
|
|
3141
3141
|
),
|
|
3142
|
-
/* @__PURE__ */
|
|
3142
|
+
/* @__PURE__ */ x(
|
|
3143
3143
|
"a-text",
|
|
3144
3144
|
{
|
|
3145
3145
|
color: "black",
|
|
@@ -3148,7 +3148,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3148
3148
|
position: "-20 0 1"
|
|
3149
3149
|
}
|
|
3150
3150
|
),
|
|
3151
|
-
/* @__PURE__ */
|
|
3151
|
+
/* @__PURE__ */ x(
|
|
3152
3152
|
"a-text",
|
|
3153
3153
|
{
|
|
3154
3154
|
color: "black",
|
|
@@ -3160,7 +3160,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3160
3160
|
]
|
|
3161
3161
|
}
|
|
3162
3162
|
),
|
|
3163
|
-
/* @__PURE__ */
|
|
3163
|
+
/* @__PURE__ */ x(
|
|
3164
3164
|
"a-box",
|
|
3165
3165
|
{
|
|
3166
3166
|
scale: "80 50 2",
|
|
@@ -3169,7 +3169,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3169
3169
|
src: "./assets/ndmvr/keyboardControls/keyboard.png"
|
|
3170
3170
|
}
|
|
3171
3171
|
),
|
|
3172
|
-
/* @__PURE__ */
|
|
3172
|
+
/* @__PURE__ */ x(
|
|
3173
3173
|
"a-box",
|
|
3174
3174
|
{
|
|
3175
3175
|
scale: "80 50 2",
|
|
@@ -3178,7 +3178,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3178
3178
|
src: "./assets/ndmvr/keyboardControls/keyboard1.png"
|
|
3179
3179
|
}
|
|
3180
3180
|
),
|
|
3181
|
-
/* @__PURE__ */
|
|
3181
|
+
/* @__PURE__ */ x(
|
|
3182
3182
|
"a-box",
|
|
3183
3183
|
{
|
|
3184
3184
|
scale: "80 50 2",
|
|
@@ -3187,7 +3187,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3187
3187
|
src: "./assets/ndmvr/keyboardControls/keyboard2.png"
|
|
3188
3188
|
}
|
|
3189
3189
|
),
|
|
3190
|
-
/* @__PURE__ */
|
|
3190
|
+
/* @__PURE__ */ x(
|
|
3191
3191
|
"a-box",
|
|
3192
3192
|
{
|
|
3193
3193
|
scale: "80 50 2",
|
|
@@ -3212,16 +3212,16 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3212
3212
|
rotation: "45 90 0",
|
|
3213
3213
|
material: "color: white",
|
|
3214
3214
|
children: [
|
|
3215
|
-
/* @__PURE__ */
|
|
3215
|
+
/* @__PURE__ */ x(
|
|
3216
3216
|
"a-text",
|
|
3217
3217
|
{
|
|
3218
3218
|
color: "black",
|
|
3219
3219
|
width: "50",
|
|
3220
|
-
value:
|
|
3220
|
+
value: d ? "Press Button X to show help panels" : "Press Button X to show projection panels",
|
|
3221
3221
|
position: "-20 2.8 1"
|
|
3222
3222
|
}
|
|
3223
3223
|
),
|
|
3224
|
-
/* @__PURE__ */
|
|
3224
|
+
/* @__PURE__ */ x(
|
|
3225
3225
|
"a-text",
|
|
3226
3226
|
{
|
|
3227
3227
|
color: "black",
|
|
@@ -3230,7 +3230,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3230
3230
|
position: "-20 0 1"
|
|
3231
3231
|
}
|
|
3232
3232
|
),
|
|
3233
|
-
/* @__PURE__ */
|
|
3233
|
+
/* @__PURE__ */ x(
|
|
3234
3234
|
"a-text",
|
|
3235
3235
|
{
|
|
3236
3236
|
color: "black",
|
|
@@ -3242,7 +3242,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3242
3242
|
]
|
|
3243
3243
|
}
|
|
3244
3244
|
),
|
|
3245
|
-
/* @__PURE__ */
|
|
3245
|
+
/* @__PURE__ */ x(
|
|
3246
3246
|
"a-box",
|
|
3247
3247
|
{
|
|
3248
3248
|
scale: "80 50 2",
|
|
@@ -3251,7 +3251,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3251
3251
|
src: "./assets/ndmvr/oculusControls/oculus.png"
|
|
3252
3252
|
}
|
|
3253
3253
|
),
|
|
3254
|
-
/* @__PURE__ */
|
|
3254
|
+
/* @__PURE__ */ x(
|
|
3255
3255
|
"a-box",
|
|
3256
3256
|
{
|
|
3257
3257
|
scale: "80 50 2",
|
|
@@ -3260,7 +3260,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3260
3260
|
src: "./assets/ndmvr/oculusControls/oculus2.png"
|
|
3261
3261
|
}
|
|
3262
3262
|
),
|
|
3263
|
-
/* @__PURE__ */
|
|
3263
|
+
/* @__PURE__ */ x(
|
|
3264
3264
|
"a-box",
|
|
3265
3265
|
{
|
|
3266
3266
|
scale: "80 50 2",
|
|
@@ -3269,7 +3269,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3269
3269
|
src: "./assets/ndmvr/oculusControls/oculus1.png"
|
|
3270
3270
|
}
|
|
3271
3271
|
),
|
|
3272
|
-
/* @__PURE__ */
|
|
3272
|
+
/* @__PURE__ */ x(
|
|
3273
3273
|
"a-box",
|
|
3274
3274
|
{
|
|
3275
3275
|
scale: "80 50 2",
|
|
@@ -3281,32 +3281,32 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3281
3281
|
]
|
|
3282
3282
|
}
|
|
3283
3283
|
), m = () => {
|
|
3284
|
-
const
|
|
3285
|
-
|
|
3284
|
+
const S = document.getElementById(_(0));
|
|
3285
|
+
S && S.setAttribute("material", "opacity", 0);
|
|
3286
3286
|
}, J = () => {
|
|
3287
|
-
const
|
|
3288
|
-
|
|
3287
|
+
const S = document.getElementById(_(0));
|
|
3288
|
+
S && S.setAttribute("material", "opacity", 1);
|
|
3289
3289
|
};
|
|
3290
|
-
|
|
3291
|
-
const
|
|
3290
|
+
Ce(() => (r = Ae.subscribe(u), () => r.unsubscribe()), []), Ce(() => (r = xt.getCameraSubject().subscribe(b), () => r.unsubscribe()), [p, d, n]), Ce(() => {
|
|
3291
|
+
const S = document.getElementById("camera");
|
|
3292
3292
|
p ? (a({
|
|
3293
|
-
x:
|
|
3294
|
-
y:
|
|
3295
|
-
z:
|
|
3296
|
-
}),
|
|
3293
|
+
x: S.object3D.position.x,
|
|
3294
|
+
y: S.object3D.position.y,
|
|
3295
|
+
z: S.object3D.position.z
|
|
3296
|
+
}), S.object3D.position.y = S.object3D.position.y + 30, m()) : (S.object3D.position.y = 1.6, s !== null && (S.object3D.position.x = s.x, S.object3D.position.z = s.z, S.object3D.position.y = s.y), J());
|
|
3297
3297
|
}, [p, f]);
|
|
3298
|
-
const
|
|
3299
|
-
const
|
|
3300
|
-
return /* @__PURE__ */
|
|
3298
|
+
const G = () => {
|
|
3299
|
+
const S = nt(At);
|
|
3300
|
+
return /* @__PURE__ */ x(Me.Fragment, { children: /* @__PURE__ */ ce(
|
|
3301
3301
|
At.Provider,
|
|
3302
3302
|
{
|
|
3303
3303
|
value: {
|
|
3304
|
-
data:
|
|
3305
|
-
theme:
|
|
3306
|
-
displayRange:
|
|
3304
|
+
data: S.data,
|
|
3305
|
+
theme: S.theme,
|
|
3306
|
+
displayRange: S.displayRange
|
|
3307
3307
|
},
|
|
3308
3308
|
children: [
|
|
3309
|
-
/* @__PURE__ */
|
|
3309
|
+
/* @__PURE__ */ x(
|
|
3310
3310
|
"a-entity",
|
|
3311
3311
|
{
|
|
3312
3312
|
"laser-controls": "hand: right",
|
|
@@ -3315,8 +3315,8 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3315
3315
|
far: 20;`
|
|
3316
3316
|
}
|
|
3317
3317
|
),
|
|
3318
|
-
/* @__PURE__ */
|
|
3319
|
-
/* @__PURE__ */
|
|
3318
|
+
/* @__PURE__ */ x("a-entity", { "oculus-touch-controls": "hand: left", "left-controller-logging": !0, children: /* @__PURE__ */ x(dn, {}) }),
|
|
3319
|
+
/* @__PURE__ */ x(
|
|
3320
3320
|
"a-entity",
|
|
3321
3321
|
{
|
|
3322
3322
|
"oculus-touch-controls": "hand: right",
|
|
@@ -3328,8 +3328,8 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3328
3328
|
) });
|
|
3329
3329
|
};
|
|
3330
3330
|
return /* @__PURE__ */ ce("a-entity", { id: "cameraWrapper", rotation: "0 -135 0", position: "-7 2 -7", children: [
|
|
3331
|
-
p && !
|
|
3332
|
-
p &&
|
|
3331
|
+
p && !d && g(),
|
|
3332
|
+
p && d && z(),
|
|
3333
3333
|
/* @__PURE__ */ ce(
|
|
3334
3334
|
"a-camera",
|
|
3335
3335
|
{
|
|
@@ -3337,14 +3337,14 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3337
3337
|
"look-control": !0,
|
|
3338
3338
|
"wasd-controls-enabled": "acceleration:=50",
|
|
3339
3339
|
children: [
|
|
3340
|
-
k && f === "keyboard" && /* @__PURE__ */
|
|
3340
|
+
k && f === "keyboard" && /* @__PURE__ */ x(
|
|
3341
3341
|
"a-entity",
|
|
3342
3342
|
{
|
|
3343
3343
|
text: "value: Press E to open NDMVR Tablet;color:black;",
|
|
3344
3344
|
position: "0.2 0.8 -1"
|
|
3345
3345
|
}
|
|
3346
3346
|
),
|
|
3347
|
-
!Ui.utils.device.checkHeadsetConnected() && /* @__PURE__ */
|
|
3347
|
+
!Ui.utils.device.checkHeadsetConnected() && /* @__PURE__ */ x(
|
|
3348
3348
|
"a-entity",
|
|
3349
3349
|
{
|
|
3350
3350
|
cursor: "fuse: false; fuseTimeout: 2000;",
|
|
@@ -3362,7 +3362,7 @@ const ei = () => Qr, Ui = window.AFRAME, ds = () => {
|
|
|
3362
3362
|
]
|
|
3363
3363
|
}
|
|
3364
3364
|
),
|
|
3365
|
-
f === "oculus" &&
|
|
3365
|
+
f === "oculus" && G()
|
|
3366
3366
|
] });
|
|
3367
3367
|
};
|
|
3368
3368
|
var Xe, Cr, Je, Tr;
|
|
@@ -3372,16 +3372,16 @@ class fi {
|
|
|
3372
3372
|
B(this, Cr, void 0);
|
|
3373
3373
|
B(this, Je, []);
|
|
3374
3374
|
B(this, Tr, (e) => i(this, Je).filter((t) => t.id !== e.id));
|
|
3375
|
-
|
|
3375
|
+
$e(this, "containThisBin", (e) => i(this, Je).filter(
|
|
3376
3376
|
(n) => n.id === e.id
|
|
3377
3377
|
).length !== 0);
|
|
3378
|
-
|
|
3378
|
+
$e(this, "storeBinToLocalStorage", (e) => {
|
|
3379
3379
|
this.containThisBin(e) || (i(this, Je).push(e), i(this, Xe).setItem("selectedBins", JSON.stringify(i(this, Je))));
|
|
3380
3380
|
});
|
|
3381
|
-
|
|
3381
|
+
$e(this, "deleteBinFromLocalStorage", (e) => {
|
|
3382
3382
|
this.containThisBin(e) && (D(this, Je, i(this, Tr).call(this, e)), i(this, Xe).setItem("selectedBins", JSON.stringify(i(this, Je))));
|
|
3383
3383
|
});
|
|
3384
|
-
|
|
3384
|
+
$e(this, "getBinsFromLocalStorage", () => {
|
|
3385
3385
|
const e = JSON.parse(i(this, Xe).getItem("selectedBins"));
|
|
3386
3386
|
return e === null ? [] : e;
|
|
3387
3387
|
});
|
|
@@ -3539,7 +3539,7 @@ wt.registerComponent("mouseevent", {
|
|
|
3539
3539
|
const a = o.detail.intersection;
|
|
3540
3540
|
a && jr(a, this, "DB_CLICK");
|
|
3541
3541
|
} else if (t === 1) {
|
|
3542
|
-
this.setAttribute("material", "color", "#99ff00"), this.setAttribute("material", "opacity", "1"), Gi.showBinProjection(this.userData),
|
|
3542
|
+
this.setAttribute("material", "color", "#99ff00"), this.setAttribute("material", "opacity", "1"), Gi.showBinProjection(this.userData), Ae.next({ binData: this.userData });
|
|
3543
3543
|
const a = o.detail.intersection;
|
|
3544
3544
|
a && jr(a, this, "CLICK");
|
|
3545
3545
|
}
|
|
@@ -3549,7 +3549,7 @@ wt.registerComponent("mouseevent", {
|
|
|
3549
3549
|
if (this.userData.typeName === "TH3" && a.length === 5) {
|
|
3550
3550
|
const f = `[${this.userData.zTitle}] [${this.userData.zMin},${this.userData.zMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
3551
3551
|
` : `
|
|
3552
|
-
`}`,
|
|
3552
|
+
`}`, h = `[${this.userData.xTitle}] [${this.userData.xMin},${this.userData.xMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
3553
3553
|
` : `
|
|
3554
3554
|
`}`, p = `[${this.userData.yTitle}] [${this.userData.yMin},${this.userData.yMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
3555
3555
|
` : `
|
|
@@ -3560,7 +3560,7 @@ wt.registerComponent("mouseevent", {
|
|
|
3560
3560
|
`value: ${c}; color: ${this.userData.color}; align: center; width: 30; height: auto;`
|
|
3561
3561
|
), a[1].setAttribute(
|
|
3562
3562
|
"text",
|
|
3563
|
-
`value: ${
|
|
3563
|
+
`value: ${h}; color: ${this.userData.axisX}; align: center; width: 30; height: auto;`
|
|
3564
3564
|
), a[2].setAttribute(
|
|
3565
3565
|
"text",
|
|
3566
3566
|
`value: ${p}; color: ${this.userData.axisY}; align: center; width: 30; height: auto;`
|
|
@@ -3570,7 +3570,7 @@ wt.registerComponent("mouseevent", {
|
|
|
3570
3570
|
);
|
|
3571
3571
|
} else {
|
|
3572
3572
|
const f = `Content: ${this.userData.absoluteContent} [${this.userData.content}]
|
|
3573
|
-
`,
|
|
3573
|
+
`, h = `[${this.userData.xTitle}] [${this.userData.xMin},${this.userData.xMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
3574
3574
|
` : `
|
|
3575
3575
|
`}`, p = `[${this.userData.yTitle}] [${this.userData.yMin},${this.userData.yMax}] ${this.userData.binName !== "" ? this.userData.binName + `
|
|
3576
3576
|
` : `
|
|
@@ -3580,7 +3580,7 @@ wt.registerComponent("mouseevent", {
|
|
|
3580
3580
|
`value: ${f}; color: ${this.userData.color}; align: center; baseline: center; width: 30; height: auto;`
|
|
3581
3581
|
), a[1].setAttribute(
|
|
3582
3582
|
"text",
|
|
3583
|
-
`value: ${
|
|
3583
|
+
`value: ${h}; color: ${this.userData.axisX}; align: center; width: 30; height: auto;`
|
|
3584
3584
|
), a[2].setAttribute(
|
|
3585
3585
|
"text",
|
|
3586
3586
|
`value: ${p}; color: ${this.userData.axisY}; align: center; width: 30; height: auto;`
|
|
@@ -3698,80 +3698,80 @@ wt.registerComponent("binth", {
|
|
|
3698
3698
|
};
|
|
3699
3699
|
}
|
|
3700
3700
|
});
|
|
3701
|
-
var
|
|
3701
|
+
var Oe, Ze;
|
|
3702
3702
|
class lr {
|
|
3703
3703
|
constructor() {
|
|
3704
|
-
B(this,
|
|
3705
|
-
|
|
3706
|
-
i(this,
|
|
3704
|
+
B(this, Oe, void 0);
|
|
3705
|
+
$e(this, "verticalMoveCamera", (e, t) => {
|
|
3706
|
+
i(this, Oe) === null && D(this, Oe, document.getElementById("cameraWrapper")), i(this, Oe) !== null && (e ? i(this, Oe).object3D.position.y += t : i(this, Oe).object3D.position.y > 0 && (i(this, Oe).object3D.position.y -= t));
|
|
3707
3707
|
});
|
|
3708
|
-
|
|
3709
|
-
i(this,
|
|
3708
|
+
$e(this, "horizontalMoveCamera", (e, t, n) => {
|
|
3709
|
+
i(this, Oe) === null && D(this, Oe, document.getElementById("cameraWrapper")), i(this, Oe) !== null && (t ? i(this, Oe).object3D.position[e] += n : i(this, Oe).object3D.position[e] -= n);
|
|
3710
3710
|
});
|
|
3711
3711
|
B(this, Ze, (e, t, n) => {
|
|
3712
|
-
if (i(this,
|
|
3712
|
+
if (i(this, Oe) !== null && e !== null) {
|
|
3713
3713
|
const o = e.object3D.position.x + 1 * e.object3D.position.x, s = e.object3D.position.z + 1 * e.object3D.position.z, a = t;
|
|
3714
|
-
i(this,
|
|
3714
|
+
i(this, Oe).setAttribute(
|
|
3715
3715
|
"animation",
|
|
3716
3716
|
`property: position; to: ${o + 1} ${a} ${s + 1}; dur: 100;`
|
|
3717
|
-
), i(this,
|
|
3717
|
+
), i(this, Oe).setAttribute(
|
|
3718
3718
|
"animation__1",
|
|
3719
|
-
`property: rotation; to: ${i(this,
|
|
3719
|
+
`property: rotation; to: ${i(this, Oe).object3D.rotation.x} ${n} ${i(this, Oe).object3D.rotation.z}; dur: 100;`
|
|
3720
3720
|
);
|
|
3721
3721
|
}
|
|
3722
3722
|
});
|
|
3723
|
-
|
|
3724
|
-
if (i(this,
|
|
3725
|
-
let t = i(this,
|
|
3723
|
+
$e(this, "setCameraPosition", (e) => {
|
|
3724
|
+
if (i(this, Oe) !== null) {
|
|
3725
|
+
let t = i(this, Oe).object3D.position.y;
|
|
3726
3726
|
e.zOffset !== void 0 && (t = e.zOffset * 2);
|
|
3727
3727
|
const n = e.xOffset + e.xOffset, o = e.yOffset + e.yOffset;
|
|
3728
3728
|
setTimeout(() => {
|
|
3729
|
-
i(this,
|
|
3729
|
+
i(this, Oe).setAttribute(
|
|
3730
3730
|
"animation",
|
|
3731
3731
|
`property: position; to: ${n - 3} ${t} ${o - 3}; dur: 40;`
|
|
3732
3732
|
);
|
|
3733
3733
|
}, 1800);
|
|
3734
3734
|
}
|
|
3735
3735
|
});
|
|
3736
|
-
|
|
3736
|
+
$e(this, "setPredefinedDownPosition", () => {
|
|
3737
3737
|
const e = document.getElementById("downLabel");
|
|
3738
3738
|
e !== void 0 && i(this, Ze).call(this, e, 0, 180);
|
|
3739
3739
|
});
|
|
3740
|
-
|
|
3740
|
+
$e(this, "setPredefinedUpPosition", () => {
|
|
3741
3741
|
const e = document.getElementById("upLabel");
|
|
3742
3742
|
e !== void 0 && i(this, Ze).call(this, e, 0, 0);
|
|
3743
3743
|
});
|
|
3744
|
-
|
|
3744
|
+
$e(this, "setPredefinedRightPosition", () => {
|
|
3745
3745
|
const e = document.getElementById("rightLabel");
|
|
3746
3746
|
e !== void 0 && i(this, Ze).call(this, e, 0, 90);
|
|
3747
3747
|
});
|
|
3748
|
-
|
|
3748
|
+
$e(this, "setPredefinedLeftPosition", () => {
|
|
3749
3749
|
const e = document.getElementById("leftLabel");
|
|
3750
3750
|
e !== void 0 && i(this, Ze).call(this, e, 0, 270);
|
|
3751
3751
|
});
|
|
3752
|
-
|
|
3752
|
+
$e(this, "setPredefinedDownPositionWithOffset", () => {
|
|
3753
3753
|
const e = document.getElementById("downLabel");
|
|
3754
3754
|
e !== void 0 && i(this, Ze).call(this, e, 10, 180);
|
|
3755
3755
|
});
|
|
3756
|
-
|
|
3756
|
+
$e(this, "setPredefinedUpPositionWithOffset", () => {
|
|
3757
3757
|
const e = document.getElementById("upLabel");
|
|
3758
3758
|
e !== void 0 && i(this, Ze).call(this, e, 10, 0);
|
|
3759
3759
|
});
|
|
3760
|
-
|
|
3760
|
+
$e(this, "setPredefinedRightPositionWithOffset", () => {
|
|
3761
3761
|
const e = document.getElementById("rightLabel");
|
|
3762
3762
|
e !== void 0 && i(this, Ze).call(this, e, 10, 90);
|
|
3763
3763
|
});
|
|
3764
|
-
|
|
3764
|
+
$e(this, "setPredefinedLeftPositionWithOffset", () => {
|
|
3765
3765
|
const e = document.getElementById("leftLabel");
|
|
3766
3766
|
e !== void 0 && i(this, Ze).call(this, e, 10, 270);
|
|
3767
3767
|
});
|
|
3768
|
-
D(this,
|
|
3768
|
+
D(this, Oe, document.getElementById("cameraWrapper"));
|
|
3769
3769
|
}
|
|
3770
3770
|
}
|
|
3771
|
-
|
|
3771
|
+
Oe = new WeakMap(), Ze = new WeakMap();
|
|
3772
3772
|
const ct = {};
|
|
3773
3773
|
let ti = new lr(), ri, pt, gr = !1;
|
|
3774
|
-
|
|
3774
|
+
Ae.next({ changeTabletState: gr });
|
|
3775
3775
|
const Fr = (r, e) => {
|
|
3776
3776
|
let t = 0.2;
|
|
3777
3777
|
r.name === "scale" ? t = 0.01 : r.name === "rotation" && (t = 2), e.key === "ArrowDown" ? r.xValue = r.xValue + t : e.key === "ArrowUp" ? r.xValue = r.xValue - t : e.key === "=" ? r.yValue = r.yValue + t : e.key === "-" ? r.yValue = r.yValue - t : e.key === "ArrowRight" ? r.zValue = r.zValue + t : e.key === "ArrowLeft" && (r.zValue = r.zValue - t), ri.setAttribute(
|
|
@@ -3779,32 +3779,32 @@ const Fr = (r, e) => {
|
|
|
3779
3779
|
`${r.xValue} ${r.yValue} ${r.zValue}`
|
|
3780
3780
|
);
|
|
3781
3781
|
}, gs = (r) => {
|
|
3782
|
-
r.key === "k" || r.key === "K" ? (
|
|
3782
|
+
r.key === "k" || r.key === "K" ? (Se.changeHistogramSectionByOffset(
|
|
3783
3783
|
"yOffset",
|
|
3784
3784
|
"TH2",
|
|
3785
3785
|
!1,
|
|
3786
3786
|
!0
|
|
3787
|
-
),
|
|
3787
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3788
3788
|
"yOffset",
|
|
3789
3789
|
"TH3",
|
|
3790
3790
|
!1,
|
|
3791
3791
|
!0
|
|
3792
|
-
)) : r.key === "i" || r.key === "I" ? (
|
|
3792
|
+
)) : r.key === "i" || r.key === "I" ? (Se.changeHistogramSectionByOffset(
|
|
3793
3793
|
"yOffset",
|
|
3794
3794
|
"TH2",
|
|
3795
3795
|
!0,
|
|
3796
3796
|
!0
|
|
3797
|
-
),
|
|
3797
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3798
3798
|
"yOffset",
|
|
3799
3799
|
"TH3",
|
|
3800
3800
|
!0,
|
|
3801
3801
|
!0
|
|
3802
|
-
)) : r.key === "u" || r.key === "U" ?
|
|
3802
|
+
)) : r.key === "u" || r.key === "U" ? Pe.changeHistogramSectionByOffset(
|
|
3803
3803
|
"zOffset",
|
|
3804
3804
|
"TH3",
|
|
3805
3805
|
!0,
|
|
3806
3806
|
!0
|
|
3807
|
-
) : r.key === "o" || r.key === "O" ?
|
|
3807
|
+
) : r.key === "o" || r.key === "O" ? Pe.changeHistogramSectionByOffset(
|
|
3808
3808
|
"zOffset",
|
|
3809
3809
|
"TH3",
|
|
3810
3810
|
!1,
|
|
@@ -3814,12 +3814,12 @@ const Fr = (r, e) => {
|
|
|
3814
3814
|
"TH1",
|
|
3815
3815
|
!1,
|
|
3816
3816
|
!0
|
|
3817
|
-
),
|
|
3817
|
+
), Se.changeHistogramSectionByOffset(
|
|
3818
3818
|
"xOffset",
|
|
3819
3819
|
"TH2",
|
|
3820
3820
|
!1,
|
|
3821
3821
|
!0
|
|
3822
|
-
),
|
|
3822
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3823
3823
|
"xOffset",
|
|
3824
3824
|
"TH3",
|
|
3825
3825
|
!1,
|
|
@@ -3829,71 +3829,71 @@ const Fr = (r, e) => {
|
|
|
3829
3829
|
"TH1",
|
|
3830
3830
|
!0,
|
|
3831
3831
|
!0
|
|
3832
|
-
),
|
|
3832
|
+
), Se.changeHistogramSectionByOffset(
|
|
3833
3833
|
"xOffset",
|
|
3834
3834
|
"TH2",
|
|
3835
3835
|
!0,
|
|
3836
3836
|
!0
|
|
3837
|
-
),
|
|
3837
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3838
3838
|
"xOffset",
|
|
3839
3839
|
"TH3",
|
|
3840
3840
|
!0,
|
|
3841
3841
|
!0
|
|
3842
3842
|
));
|
|
3843
3843
|
}, bs = (r) => {
|
|
3844
|
-
r.key === "k" || r.key === "K" ? (
|
|
3844
|
+
r.key === "k" || r.key === "K" ? (Se.changeHistogramSectionByOffset(
|
|
3845
3845
|
"yOffset",
|
|
3846
3846
|
"TH2",
|
|
3847
3847
|
!1,
|
|
3848
3848
|
!1
|
|
3849
|
-
),
|
|
3849
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3850
3850
|
"yOffset",
|
|
3851
3851
|
"TH3",
|
|
3852
3852
|
!1,
|
|
3853
3853
|
!1
|
|
3854
|
-
)) : r.key === "i" || r.key === "I" ? (
|
|
3854
|
+
)) : r.key === "i" || r.key === "I" ? (Se.changeHistogramSectionByOffset(
|
|
3855
3855
|
"yOffset",
|
|
3856
3856
|
"TH2",
|
|
3857
3857
|
!0,
|
|
3858
3858
|
!1
|
|
3859
|
-
),
|
|
3859
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3860
3860
|
"yOffset",
|
|
3861
3861
|
"TH3",
|
|
3862
3862
|
!0,
|
|
3863
3863
|
!1
|
|
3864
|
-
)) : r.key === "u" || r.key === "U" ?
|
|
3864
|
+
)) : r.key === "u" || r.key === "U" ? Pe.changeHistogramSectionByOffset(
|
|
3865
3865
|
"zOffset",
|
|
3866
3866
|
"TH3",
|
|
3867
3867
|
!0,
|
|
3868
3868
|
!1
|
|
3869
|
-
) : r.key === "o" || r.key === "O" ?
|
|
3869
|
+
) : r.key === "o" || r.key === "O" ? Pe.changeHistogramSectionByOffset(
|
|
3870
3870
|
"zOffset",
|
|
3871
3871
|
"TH3",
|
|
3872
3872
|
!1,
|
|
3873
3873
|
!1
|
|
3874
|
-
) : r.key === "l" || r.key === "L" ? (
|
|
3874
|
+
) : r.key === "l" || r.key === "L" ? (Se.changeHistogramSectionByOffset(
|
|
3875
3875
|
"xOffset",
|
|
3876
3876
|
"TH2",
|
|
3877
3877
|
!1,
|
|
3878
3878
|
!1
|
|
3879
|
-
),
|
|
3879
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3880
3880
|
"xOffset",
|
|
3881
3881
|
"TH3",
|
|
3882
3882
|
!1,
|
|
3883
3883
|
!1
|
|
3884
|
-
)) : (r.key === "j" || r.key === "J") && (
|
|
3884
|
+
)) : (r.key === "j" || r.key === "J") && (Se.changeHistogramSectionByOffset(
|
|
3885
3885
|
"xOffset",
|
|
3886
3886
|
"TH2",
|
|
3887
3887
|
!0,
|
|
3888
3888
|
!1
|
|
3889
|
-
),
|
|
3889
|
+
), Pe.changeHistogramSectionByOffset(
|
|
3890
3890
|
"xOffset",
|
|
3891
3891
|
"TH3",
|
|
3892
3892
|
!0,
|
|
3893
3893
|
!1
|
|
3894
3894
|
));
|
|
3895
3895
|
}, ii = (r) => {
|
|
3896
|
-
ct[r.key] = !0, (ct.Z || ct.z) && Fr(pt[0], r), (ct.X || ct.x) && Fr(pt[1], r), (ct.C || ct.c) && Fr(pt[2], r), ct.Shift && bs(r), gs(r), r.key === " " && ti.verticalMoveCamera(!0, 0.3), r.shiftKey && ti.verticalMoveCamera(!1, 0.3), r.key === "1" &&
|
|
3896
|
+
ct[r.key] = !0, (ct.Z || ct.z) && Fr(pt[0], r), (ct.X || ct.x) && Fr(pt[1], r), (ct.C || ct.c) && Fr(pt[2], r), ct.Shift && bs(r), gs(r), r.key === " " && ti.verticalMoveCamera(!0, 0.3), r.shiftKey && ti.verticalMoveCamera(!1, 0.3), r.key === "1" && Ae.next(0), r.key === "2" && Ae.next(1), r.key === "3" && Ae.next(2), r.key === "4" && Ae.next(3), r.key === "5" && Ae.next(4), r.key === "6" && Ae.next(5), r.key === "7" && Ae.next(6), r.key === "8" && Ae.next(7), r.key === "9" && Ae.next(8), r.key === "0" && Ae.next(9), r.key === "Enter" && nr.emmitCommand("REFRESH"), (r.key === "e" || r.key === "E") && (gr = !gr, gr ? Ae.next({ changeTabletState: "flex" }) : Ae.next({ changeTabletState: "none" })), (r.key === "t" || r.key === "T") && Se.changeHistogramScale(0.1, "TH2"), r.key === "r" || r.key, (r.key === "m" || r.key === "M") && Se.changeHistogramFunction("feet", "TH2"), (r.key === "n" || r.key === "N") && Se.changeHistogramFunction("default", "TH2"), (r.key === "c" || r.key === "C") && xt.setUserState(), (r.key === "v" || r.key === "V") && xt.setVisibilityOfBanners("keyboard"), (r.key === "x" || r.key === "X") && xt.shiftBanners(), (r.key === "x" || r.key === "X") && xt.shiftBanners();
|
|
3897
3897
|
}, ni = (r) => {
|
|
3898
3898
|
delete ct[r.key];
|
|
3899
3899
|
}, mn = (r, e) => {
|
|
@@ -4285,17 +4285,17 @@ class gn {
|
|
|
4285
4285
|
return n;
|
|
4286
4286
|
}
|
|
4287
4287
|
}
|
|
4288
|
-
var
|
|
4288
|
+
var ve, ar, M, Qe, Y, ee, ae, I, je, Ve, et, ut, yt, cr, le, Fe, tt, rt, gt, it, Ot, Bt, j, bt, ft, It, Ue, _r, kr, Or, Mt, Nt, Yt, jt, Ft, Lt, br, Ar, Pr, $r, vt, Xt, Vt;
|
|
4289
4289
|
class vs {
|
|
4290
|
-
constructor(e, t, n, o, s, a, f,
|
|
4290
|
+
constructor(e, t, n, o, s, a, f, h) {
|
|
4291
4291
|
B(this, Lt);
|
|
4292
|
-
B(this,
|
|
4292
|
+
B(this, ve, "");
|
|
4293
4293
|
B(this, ar, []);
|
|
4294
4294
|
B(this, M, null);
|
|
4295
4295
|
B(this, Qe, "");
|
|
4296
|
-
B(this,
|
|
4297
|
-
B(this,
|
|
4298
|
-
B(this,
|
|
4296
|
+
B(this, Y, null);
|
|
4297
|
+
B(this, ee, 1);
|
|
4298
|
+
B(this, ae, 1);
|
|
4299
4299
|
B(this, I, 1);
|
|
4300
4300
|
B(this, je, 0);
|
|
4301
4301
|
B(this, Ve, 0);
|
|
@@ -4315,31 +4315,31 @@ class vs {
|
|
|
4315
4315
|
B(this, it, 1);
|
|
4316
4316
|
B(this, Ot, 0);
|
|
4317
4317
|
B(this, Bt, 2);
|
|
4318
|
-
B(this,
|
|
4318
|
+
B(this, j, {
|
|
4319
4319
|
xOffset: 0,
|
|
4320
4320
|
yOffset: 0,
|
|
4321
4321
|
zOffset: 0
|
|
4322
4322
|
});
|
|
4323
4323
|
B(this, bt, []);
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4324
|
+
$e(this, "getXOffset", () => i(this, ee));
|
|
4325
|
+
$e(this, "getYOffset", () => i(this, ae));
|
|
4326
|
+
$e(this, "getZOffset", () => i(this, I));
|
|
4327
|
+
$e(this, "getContentScale", () => i(this, it));
|
|
4328
|
+
$e(this, "getRange", () => i(this, le));
|
|
4329
4329
|
B(this, ft, (e, t) => {
|
|
4330
4330
|
let n = e > t - i(this, le) ? t - i(this, le) : e;
|
|
4331
4331
|
return n < 1 && (n = 1), n;
|
|
4332
4332
|
});
|
|
4333
4333
|
B(this, It, (e) => i(this, ar).filter((n) => n.id === e).length !== 0);
|
|
4334
|
-
B(this, Ue, (e, t, n, o, s, a, f,
|
|
4335
|
-
key: e + i(this,
|
|
4334
|
+
B(this, Ue, (e, t, n, o, s, a, f, h, p, c, d, w) => ({
|
|
4335
|
+
key: e + i(this, ve),
|
|
4336
4336
|
geometry: {
|
|
4337
4337
|
primitive: "plane",
|
|
4338
|
-
width:
|
|
4338
|
+
width: h,
|
|
4339
4339
|
height: p
|
|
4340
4340
|
},
|
|
4341
4341
|
text: {
|
|
4342
|
-
color:
|
|
4342
|
+
color: w,
|
|
4343
4343
|
width: 4,
|
|
4344
4344
|
height: "auto"
|
|
4345
4345
|
},
|
|
@@ -4353,12 +4353,12 @@ class vs {
|
|
|
4353
4353
|
z: f
|
|
4354
4354
|
},
|
|
4355
4355
|
material: {
|
|
4356
|
-
color:
|
|
4356
|
+
color: d
|
|
4357
4357
|
},
|
|
4358
4358
|
animation: {
|
|
4359
|
-
fromX: t + i(this,
|
|
4360
|
-
fromY: n + i(this,
|
|
4361
|
-
fromZ: o + i(this,
|
|
4359
|
+
fromX: t + i(this, j).xOffset,
|
|
4360
|
+
fromY: n + i(this, j).zOffset,
|
|
4361
|
+
fromZ: o + i(this, j).yOffset,
|
|
4362
4362
|
toX: t,
|
|
4363
4363
|
toY: n,
|
|
4364
4364
|
toZ: o
|
|
@@ -4374,200 +4374,106 @@ class vs {
|
|
|
4374
4374
|
titles: [],
|
|
4375
4375
|
axisLabels: []
|
|
4376
4376
|
};
|
|
4377
|
-
let t, n, o, s, a, f,
|
|
4377
|
+
let t, n, o, s, a, f, h, p, c, d, w, k;
|
|
4378
4378
|
const C = "";
|
|
4379
|
-
let
|
|
4380
|
-
const
|
|
4381
|
-
for (let
|
|
4382
|
-
for (let
|
|
4383
|
-
for (let
|
|
4384
|
-
|
|
4379
|
+
let b, u = 0;
|
|
4380
|
+
const O = i(this, ee) + i(this, le) > i(this, je) ? i(this, je) : i(this, ee) + i(this, le), _ = i(this, ae) + i(this, le) > i(this, Ve) ? i(this, Ve) : i(this, ae) + i(this, le), z = i(this, I) + i(this, le) > i(this, et) ? i(this, et) : i(this, I) + i(this, le), g = i(this, M).fXaxis.fTitle, m = i(this, M).fYaxis.fTitle, J = i(this, M).fZaxis.fTitle, G = i(this, M).fXaxis.fLabels ? i(this, M).fXaxis.fLabels.arr : [], S = i(this, M).fYaxis.fLabels ? i(this, M).fYaxis.fLabels.arr : [], te = i(this, M).fZaxis.fLabels ? i(this, M).fZaxis.fLabels.arr : [], oe = [];
|
|
4381
|
+
for (let U = i(this, I); U <= z; U++)
|
|
4382
|
+
for (let K = i(this, ae); K <= _; K++)
|
|
4383
|
+
for (let F = i(this, ee); F <= O; F++) {
|
|
4384
|
+
t = i(this, M).fXaxis.GetBinCenter(F), n = i(this, M).fXaxis.GetBinLowEdge(F), o = t + (t - n), s = o - n, a = i(this, M).fYaxis.GetBinCenter(K), f = i(this, M).fYaxis.GetBinLowEdge(K), h = a + (a - f), p = h - f, c = i(this, M).fZaxis.GetBinCenter(U), d = i(this, M).fZaxis.GetBinLowEdge(U), w = c + (c - d), k = w - d;
|
|
4385
|
+
const L = i(this, Mt).call(this, i(this, M).getBinContent(F, K, U));
|
|
4386
|
+
if (L <= i(this, Ot))
|
|
4387
|
+
continue;
|
|
4388
|
+
b = i(this, rt) ? i(this, Vt).call(this, i(this, rt).call(this, {
|
|
4385
4389
|
histogram: i(this, M),
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
x: N,
|
|
4395
|
-
y: L,
|
|
4396
|
-
z: G,
|
|
4397
|
-
content: u
|
|
4398
|
-
}) : null;
|
|
4399
|
-
ue = ue || i(this, j).getBinColor(u);
|
|
4400
|
-
const Se = i(this, $e) + n + "th3" + o + "th3" + h + "th3" + x + "th3" + f + "th3" + d;
|
|
4401
|
-
let Ce;
|
|
4402
|
-
i(this, It).call(this, Se) ? Ce = i(this, j).getSecondaryAccentColor() : Ce = ue;
|
|
4403
|
-
const Ne = `id: ${Se};
|
|
4404
|
-
histogramName: ${i(this, $e)};
|
|
4405
|
-
typeName: 'TH3';
|
|
4406
|
-
content: ${u};
|
|
4407
|
-
color: ${ue};
|
|
4408
|
-
yTitle: ${J};
|
|
4409
|
-
xTitle: ${m};
|
|
4410
|
-
zTitle: ${Q};
|
|
4411
|
-
absoluteContent: ${v};
|
|
4412
|
-
binName: ${C};
|
|
4413
|
-
xMin: ${n};
|
|
4414
|
-
yMin: ${f};
|
|
4415
|
-
zMin: ${h};
|
|
4416
|
-
xMax: ${o};
|
|
4417
|
-
yMax: ${d};
|
|
4418
|
-
zMax: ${x};
|
|
4419
|
-
xPos: ${N};
|
|
4420
|
-
yPos: ${L};
|
|
4421
|
-
zPos: ${G};
|
|
4422
|
-
xCenter: ${t};
|
|
4423
|
-
yCenter: ${a};
|
|
4424
|
-
zCenter: ${c};
|
|
4425
|
-
xWidth: ${s};
|
|
4426
|
-
yWidth: ${p};
|
|
4427
|
-
zWidth: ${k};
|
|
4428
|
-
markedColor: ${Ce};
|
|
4429
|
-
selectColor: ${i(this, j).getSecondaryAccentColor()};
|
|
4430
|
-
axisX: ${i(this, j).getAxisColor("x")};
|
|
4431
|
-
axisY: ${i(this, j).getAxisColor("y")};
|
|
4432
|
-
axisZ: ${i(this, j).getAxisColor("z")}`, R = he * 0.8, A = N - 1, H = G - 1, Y = L - 1;
|
|
4433
|
-
e.bins[O] = {
|
|
4434
|
-
id: Se,
|
|
4435
|
-
color: ue,
|
|
4436
|
-
binData: Ne,
|
|
4437
|
-
content: v,
|
|
4438
|
-
animation: {
|
|
4439
|
-
fromWidth: i(this, vt).call(this, Se),
|
|
4440
|
-
fromHeight: i(this, vt).call(this, Se),
|
|
4441
|
-
fromDepth: i(this, vt).call(this, Se),
|
|
4442
|
-
toWidth: R,
|
|
4443
|
-
toHeight: R,
|
|
4444
|
-
toDepth: R
|
|
4445
|
-
},
|
|
4446
|
-
animation2: {
|
|
4447
|
-
fromX: A + i(this, F).xOffset,
|
|
4448
|
-
fromY: H + i(this, F).zOffset,
|
|
4449
|
-
fromZ: Y + i(this, F).yOffset,
|
|
4450
|
-
toX: A,
|
|
4451
|
-
toY: H,
|
|
4452
|
-
toZ: Y
|
|
4453
|
-
},
|
|
4454
|
-
animation3: {
|
|
4455
|
-
fromColor: i(this, Xt).call(this, Se),
|
|
4456
|
-
toColor: Ce
|
|
4457
|
-
}
|
|
4458
|
-
}, be[O] = {
|
|
4459
|
-
key: Se,
|
|
4460
|
-
scale: R,
|
|
4461
|
-
color: Ce
|
|
4462
|
-
};
|
|
4463
|
-
}
|
|
4464
|
-
O++;
|
|
4465
|
-
}
|
|
4466
|
-
D(this, bt, be);
|
|
4467
|
-
const W = [], K = [];
|
|
4468
|
-
return O = i(this, jt).call(this, e, W, K, z, T, U, J, 0), O = i(this, Ft).call(this, e, W, K, T, z, w, m, O), O = i(this, Yt).call(this, e, W, K, T, z, g, ae, Q, O), ur(this, Lt, br).call(this, e, W, K, T, z, O), e.labels = [...W, ...K], e;
|
|
4469
|
-
});
|
|
4470
|
-
B(this, kr, () => {
|
|
4471
|
-
const e = {
|
|
4472
|
-
type: "TH2",
|
|
4473
|
-
bins: [],
|
|
4474
|
-
labels: [],
|
|
4475
|
-
banners: [],
|
|
4476
|
-
ground: {},
|
|
4477
|
-
titles: [],
|
|
4478
|
-
axisLabels: []
|
|
4479
|
-
};
|
|
4480
|
-
let t, n, o, s, a, f, d, p, c, h;
|
|
4481
|
-
const x = "";
|
|
4482
|
-
let k, C = 0;
|
|
4483
|
-
const v = i(this, te) + i(this, le) > i(this, M).fXaxis.fNbins ? i(this, M).fXaxis.fNbins : i(this, te) + i(this, le), u = i(this, se) + i(this, le) > i(this, M).fYaxis.fNbins ? i(this, M).fYaxis.fNbins : i(this, se) + i(this, le), O = i(this, M).fXaxis.fTitle !== "" ? i(this, M).fXaxis.fTitle : "x", T = i(this, M).fYaxis.fTitle !== "" ? i(this, M).fYaxis.fTitle : "y", z = i(this, M).fXaxis.fLabels ? i(this, M).fXaxis.fLabels.arr : [], g = i(this, M).fYaxis.fLabels ? i(this, M).fYaxis.fLabels.arr : [], m = [];
|
|
4484
|
-
for (let w = i(this, se); w <= u; w++)
|
|
4485
|
-
for (let U = i(this, te); U <= v; U++) {
|
|
4486
|
-
if (n = i(this, M).fXaxis.GetBinCenter(U), o = i(this, M).fXaxis.GetBinLowEdge(U), s = n + (n - o), a = s - o, f = i(this, M).fYaxis.GetBinCenter(w), d = i(this, M).fYaxis.GetBinLowEdge(w), p = f + (f - d), c = p - d, k = i(this, rt) ? i(this, Vt).call(this, i(this, rt).call(this, {
|
|
4487
|
-
histogram: i(this, M),
|
|
4488
|
-
x: U,
|
|
4489
|
-
y: w
|
|
4490
|
-
})) : i(this, M).getBinContent(U, w), h = i(this, Mt).call(this, k), t = h * i(this, le) * i(this, it) / 16, h > i(this, Ot)) {
|
|
4491
|
-
let ae = i(this, tt) ? i(this, tt).call(this, {
|
|
4390
|
+
histogramId: i(this, ve),
|
|
4391
|
+
x: F,
|
|
4392
|
+
y: K,
|
|
4393
|
+
z: U
|
|
4394
|
+
})) : L;
|
|
4395
|
+
let de = b;
|
|
4396
|
+
b < 0.15 && (de = 0.15);
|
|
4397
|
+
let ue = i(this, tt) ? i(this, tt).call(this, {
|
|
4492
4398
|
histogram: i(this, M),
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4399
|
+
histogramId: i(this, ve),
|
|
4400
|
+
x: F,
|
|
4401
|
+
y: K,
|
|
4402
|
+
z: U,
|
|
4403
|
+
content: b
|
|
4496
4404
|
}) : null;
|
|
4497
|
-
|
|
4498
|
-
const
|
|
4499
|
-
let
|
|
4500
|
-
i(this, It).call(this,
|
|
4501
|
-
const
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
e.bins[
|
|
4532
|
-
id:
|
|
4533
|
-
color:
|
|
4534
|
-
binData:
|
|
4535
|
-
content:
|
|
4405
|
+
ue = ue || i(this, Y).getBinColor(b);
|
|
4406
|
+
const we = i(this, ve) + n + "th3" + o + "th3" + d + "th3" + w + "th3" + f + "th3" + h;
|
|
4407
|
+
let Te;
|
|
4408
|
+
i(this, It).call(this, we) ? Te = i(this, Y).getSecondaryAccentColor() : Te = ue;
|
|
4409
|
+
const Ne = `id: ${we};
|
|
4410
|
+
histogramName: ${i(this, ve)};
|
|
4411
|
+
typeName: 'TH3';
|
|
4412
|
+
content: ${b};
|
|
4413
|
+
color: ${ue};
|
|
4414
|
+
yTitle: ${m};
|
|
4415
|
+
xTitle: ${g};
|
|
4416
|
+
zTitle: ${J};
|
|
4417
|
+
absoluteContent: ${L};
|
|
4418
|
+
binName: ${C};
|
|
4419
|
+
xMin: ${n};
|
|
4420
|
+
yMin: ${f};
|
|
4421
|
+
zMin: ${d};
|
|
4422
|
+
xMax: ${o};
|
|
4423
|
+
yMax: ${h};
|
|
4424
|
+
zMax: ${w};
|
|
4425
|
+
xPos: ${F};
|
|
4426
|
+
yPos: ${K};
|
|
4427
|
+
zPos: ${U};
|
|
4428
|
+
xCenter: ${t};
|
|
4429
|
+
yCenter: ${a};
|
|
4430
|
+
zCenter: ${c};
|
|
4431
|
+
xWidth: ${s};
|
|
4432
|
+
yWidth: ${p};
|
|
4433
|
+
zWidth: ${k};
|
|
4434
|
+
markedColor: ${Te};
|
|
4435
|
+
selectColor: ${i(this, Y).getSecondaryAccentColor()};
|
|
4436
|
+
axisX: ${i(this, Y).getAxisColor("x")};
|
|
4437
|
+
axisY: ${i(this, Y).getAxisColor("y")};
|
|
4438
|
+
axisZ: ${i(this, Y).getAxisColor("z")}`, R = de * 0.8, A = F - 1, H = U - 1, N = K - 1;
|
|
4439
|
+
e.bins[u] = {
|
|
4440
|
+
id: we,
|
|
4441
|
+
color: ue,
|
|
4442
|
+
binData: Ne,
|
|
4443
|
+
content: L,
|
|
4536
4444
|
animation: {
|
|
4537
|
-
fromWidth:
|
|
4538
|
-
fromHeight: i(this, vt).call(this,
|
|
4539
|
-
fromDepth:
|
|
4540
|
-
toWidth:
|
|
4541
|
-
toHeight:
|
|
4542
|
-
toDepth:
|
|
4445
|
+
fromWidth: i(this, vt).call(this, we),
|
|
4446
|
+
fromHeight: i(this, vt).call(this, we),
|
|
4447
|
+
fromDepth: i(this, vt).call(this, we),
|
|
4448
|
+
toWidth: R,
|
|
4449
|
+
toHeight: R,
|
|
4450
|
+
toDepth: R
|
|
4543
4451
|
},
|
|
4544
4452
|
animation2: {
|
|
4545
|
-
fromX:
|
|
4546
|
-
fromY:
|
|
4547
|
-
fromZ:
|
|
4548
|
-
toX:
|
|
4549
|
-
toY:
|
|
4550
|
-
toZ:
|
|
4453
|
+
fromX: A + i(this, j).xOffset,
|
|
4454
|
+
fromY: H + i(this, j).zOffset,
|
|
4455
|
+
fromZ: N + i(this, j).yOffset,
|
|
4456
|
+
toX: A,
|
|
4457
|
+
toY: H,
|
|
4458
|
+
toZ: N
|
|
4551
4459
|
},
|
|
4552
4460
|
animation3: {
|
|
4553
|
-
fromColor: i(this, Xt).call(this,
|
|
4554
|
-
toColor:
|
|
4461
|
+
fromColor: i(this, Xt).call(this, we),
|
|
4462
|
+
toColor: Te
|
|
4555
4463
|
}
|
|
4556
|
-
},
|
|
4557
|
-
key:
|
|
4558
|
-
scale:
|
|
4559
|
-
color:
|
|
4560
|
-
}
|
|
4464
|
+
}, oe[u] = {
|
|
4465
|
+
key: we,
|
|
4466
|
+
scale: R,
|
|
4467
|
+
color: Te
|
|
4468
|
+
}, u++;
|
|
4561
4469
|
}
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
const J = [], Q = [];
|
|
4566
|
-
return C = i(this, jt).call(this, e, J, Q, u, v, g, T, 0), C = i(this, Ft).call(this, e, J, Q, v, u, z, O, C), C = i(this, Yt).call(this, e, J, Q, v, u, void 0, void 0, void 0, C), ur(this, Lt, br).call(this, e, J, Q, v, u, C), e.labels = [...J, ...Q], e;
|
|
4470
|
+
D(this, bt, oe);
|
|
4471
|
+
const he = [], W = [];
|
|
4472
|
+
return u = i(this, jt).call(this, e, he, W, _, O, S, m, 0), u = i(this, Ft).call(this, e, he, W, O, _, G, g, u), u = i(this, Yt).call(this, e, he, W, O, _, z, te, J, u), ur(this, Lt, br).call(this, e, he, W, O, _, u), e.labels = [...he, ...W], e;
|
|
4567
4473
|
});
|
|
4568
|
-
B(this,
|
|
4474
|
+
B(this, kr, () => {
|
|
4569
4475
|
const e = {
|
|
4570
|
-
type: "
|
|
4476
|
+
type: "TH2",
|
|
4571
4477
|
bins: [],
|
|
4572
4478
|
labels: [],
|
|
4573
4479
|
banners: [],
|
|
@@ -4575,113 +4481,219 @@ class vs {
|
|
|
4575
4481
|
titles: [],
|
|
4576
4482
|
axisLabels: []
|
|
4577
4483
|
};
|
|
4578
|
-
let t, n, o, s, a, f;
|
|
4579
|
-
const
|
|
4580
|
-
let
|
|
4581
|
-
const
|
|
4582
|
-
for (let
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4484
|
+
let t, n, o, s, a, f, h, p, c, d;
|
|
4485
|
+
const w = "";
|
|
4486
|
+
let k = 0;
|
|
4487
|
+
const C = i(this, ee) + i(this, le) > i(this, M).fXaxis.fNbins ? i(this, M).fXaxis.fNbins : i(this, ee) + i(this, le), b = i(this, ae) + i(this, le) > i(this, M).fYaxis.fNbins ? i(this, M).fYaxis.fNbins : i(this, ae) + i(this, le), u = i(this, M).fXaxis.fTitle !== "" ? i(this, M).fXaxis.fTitle : "x", O = i(this, M).fYaxis.fTitle !== "" ? i(this, M).fYaxis.fTitle : "y", _ = i(this, M).fXaxis.fLabels ? i(this, M).fXaxis.fLabels.arr : [], z = i(this, M).fYaxis.fLabels ? i(this, M).fYaxis.fLabels.arr : [], g = [];
|
|
4488
|
+
for (let G = i(this, ae); G <= b; G++)
|
|
4489
|
+
for (let S = i(this, ee); S <= C; S++) {
|
|
4490
|
+
n = i(this, M).fXaxis.GetBinCenter(S), o = i(this, M).fXaxis.GetBinLowEdge(S), s = n + (n - o), a = s - o, f = i(this, M).fYaxis.GetBinCenter(G), h = i(this, M).fYaxis.GetBinLowEdge(G), p = f + (f - h), c = p - h;
|
|
4491
|
+
const te = i(this, Mt).call(this, i(this, M).getBinContent(S, G));
|
|
4492
|
+
if (te <= i(this, Ot))
|
|
4493
|
+
continue;
|
|
4494
|
+
d = i(this, rt) ? i(this, Vt).call(this, i(this, rt).call(this, {
|
|
4495
|
+
histogram: i(this, M),
|
|
4496
|
+
histogramId: i(this, ve),
|
|
4497
|
+
x: S,
|
|
4498
|
+
y: G
|
|
4499
|
+
})) : te, t = d * i(this, le) * i(this, it) / 16;
|
|
4500
|
+
let oe = i(this, tt) ? i(this, tt).call(this, {
|
|
4588
4501
|
histogram: i(this, M),
|
|
4589
|
-
|
|
4590
|
-
|
|
4502
|
+
histogramId: i(this, ve),
|
|
4503
|
+
x: S,
|
|
4504
|
+
y: G,
|
|
4505
|
+
content: d
|
|
4591
4506
|
}) : null;
|
|
4592
|
-
|
|
4593
|
-
const
|
|
4594
|
-
let
|
|
4595
|
-
i(this, It).call(this,
|
|
4596
|
-
const
|
|
4597
|
-
histogramName: ${i(this,
|
|
4598
|
-
typeName: '
|
|
4599
|
-
content: ${
|
|
4600
|
-
|
|
4507
|
+
oe = oe || i(this, Y).getBinColor(d);
|
|
4508
|
+
const he = i(this, ve) + o + "th2" + s + "th2" + h + "th2" + p;
|
|
4509
|
+
let W;
|
|
4510
|
+
i(this, It).call(this, he) ? W = i(this, Y).getSecondaryAccentColor() : W = oe;
|
|
4511
|
+
const U = `id: ${he};
|
|
4512
|
+
histogramName: ${i(this, ve)};
|
|
4513
|
+
typeName: 'TH2';
|
|
4514
|
+
content: ${d};
|
|
4515
|
+
color: ${oe};
|
|
4516
|
+
yTitle: ${O};
|
|
4517
|
+
xTitle: ${u};
|
|
4601
4518
|
zTitle: 'none';
|
|
4602
|
-
absoluteContent: ${
|
|
4603
|
-
binName: ${
|
|
4519
|
+
absoluteContent: ${te};
|
|
4520
|
+
binName: ${w};
|
|
4604
4521
|
xMin: ${o};
|
|
4522
|
+
yMin: ${h};
|
|
4605
4523
|
zMin: ${0};
|
|
4606
4524
|
xMax: ${s};
|
|
4525
|
+
yMax: ${p};
|
|
4607
4526
|
zMax: ${0};
|
|
4608
|
-
xPos: ${
|
|
4527
|
+
xPos: ${S};
|
|
4528
|
+
yPos: ${G};
|
|
4609
4529
|
zPos: ${0};
|
|
4610
4530
|
xCenter: ${n};
|
|
4531
|
+
yCenter: ${f};
|
|
4611
4532
|
yCenter: ${0};
|
|
4612
4533
|
xWidth: ${a};
|
|
4534
|
+
yWidth: ${c};
|
|
4613
4535
|
zWidth: ${0};
|
|
4614
|
-
markedColor: ${
|
|
4615
|
-
selectColor: ${i(this,
|
|
4616
|
-
axisX: ${i(this,
|
|
4617
|
-
axisY: ${i(this,
|
|
4618
|
-
axisZ: ${i(this,
|
|
4619
|
-
e.bins[
|
|
4620
|
-
id:
|
|
4621
|
-
color:
|
|
4622
|
-
binData:
|
|
4623
|
-
content:
|
|
4536
|
+
markedColor: ${W};
|
|
4537
|
+
selectColor: ${i(this, Y).getSecondaryAccentColor()};
|
|
4538
|
+
axisX: ${i(this, Y).getAxisColor("x")};
|
|
4539
|
+
axisY: ${i(this, Y).getAxisColor("y")};
|
|
4540
|
+
axisZ: ${i(this, Y).getAxisColor("z")}`, K = a / i(this, ut) / i(this, Bt), F = c / i(this, yt) / i(this, Bt), L = S - 1, de = G - 1;
|
|
4541
|
+
e.bins[k] = {
|
|
4542
|
+
id: he,
|
|
4543
|
+
color: oe,
|
|
4544
|
+
binData: U,
|
|
4545
|
+
content: te,
|
|
4624
4546
|
animation: {
|
|
4625
|
-
fromWidth:
|
|
4626
|
-
fromHeight: i(this, vt).call(this,
|
|
4627
|
-
fromDepth:
|
|
4628
|
-
toWidth:
|
|
4629
|
-
toHeight:
|
|
4630
|
-
toDepth:
|
|
4547
|
+
fromWidth: K,
|
|
4548
|
+
fromHeight: i(this, vt).call(this, he),
|
|
4549
|
+
fromDepth: F,
|
|
4550
|
+
toWidth: K,
|
|
4551
|
+
toHeight: d * i(this, le) * i(this, it) / 8,
|
|
4552
|
+
toDepth: F
|
|
4631
4553
|
},
|
|
4632
4554
|
animation2: {
|
|
4633
|
-
fromX:
|
|
4555
|
+
fromX: L + i(this, j).xOffset,
|
|
4634
4556
|
fromY: t,
|
|
4635
|
-
fromZ:
|
|
4636
|
-
toX:
|
|
4557
|
+
fromZ: de + i(this, j).yOffset,
|
|
4558
|
+
toX: L,
|
|
4637
4559
|
toY: t,
|
|
4638
|
-
toZ:
|
|
4560
|
+
toZ: de
|
|
4639
4561
|
},
|
|
4640
4562
|
animation3: {
|
|
4641
|
-
fromColor: i(this, Xt).call(this,
|
|
4642
|
-
toColor:
|
|
4563
|
+
fromColor: i(this, Xt).call(this, he),
|
|
4564
|
+
toColor: W
|
|
4643
4565
|
}
|
|
4644
|
-
},
|
|
4645
|
-
key:
|
|
4646
|
-
scale:
|
|
4647
|
-
color:
|
|
4648
|
-
}
|
|
4566
|
+
}, g[k] = {
|
|
4567
|
+
key: he,
|
|
4568
|
+
scale: d,
|
|
4569
|
+
color: W
|
|
4570
|
+
}, k++;
|
|
4649
4571
|
}
|
|
4650
|
-
|
|
4572
|
+
D(this, bt, g);
|
|
4573
|
+
const m = [], J = [];
|
|
4574
|
+
return k = i(this, jt).call(this, e, m, J, b, C, z, O, 0), k = i(this, Ft).call(this, e, m, J, C, b, _, u, k), k = i(this, Yt).call(this, e, m, J, C, b, void 0, void 0, void 0, k), ur(this, Lt, br).call(this, e, m, J, C, b, k), e.labels = [...m, ...J], e;
|
|
4575
|
+
});
|
|
4576
|
+
B(this, Or, () => {
|
|
4577
|
+
const e = {
|
|
4578
|
+
type: "TH1",
|
|
4579
|
+
bins: [],
|
|
4580
|
+
labels: [],
|
|
4581
|
+
banners: [],
|
|
4582
|
+
ground: {},
|
|
4583
|
+
titles: [],
|
|
4584
|
+
axisLabels: []
|
|
4585
|
+
};
|
|
4586
|
+
let t, n, o, s, a, f;
|
|
4587
|
+
const h = "";
|
|
4588
|
+
let p = 0;
|
|
4589
|
+
const c = i(this, ee) + i(this, le) > i(this, M).fXaxis.fNbins ? i(this, M).fXaxis.fNbins : i(this, ee) + i(this, le), d = 1, w = i(this, M).fXaxis.fTitle !== "" ? i(this, M).fXaxis.fTitle : "x", k = i(this, M).fXaxis.fLabels ? i(this, M).fXaxis.fLabels.arr : [], C = [];
|
|
4590
|
+
for (let O = i(this, ee); O <= c; O++) {
|
|
4591
|
+
n = i(this, M).fXaxis.GetBinCenter(O), o = i(this, M).fXaxis.GetBinLowEdge(O), s = n + (n - o), a = s - o;
|
|
4592
|
+
const _ = i(this, Mt).call(this, i(this, M).getBinContent(O));
|
|
4593
|
+
if (_ <= i(this, Ot))
|
|
4594
|
+
continue;
|
|
4595
|
+
f = i(this, rt) ? i(this, Vt).call(this, i(this, rt).call(this, {
|
|
4596
|
+
histogram: i(this, M),
|
|
4597
|
+
histogramId: i(this, ve),
|
|
4598
|
+
x: O
|
|
4599
|
+
})) : _, t = f * i(this, le) * i(this, it) / 16;
|
|
4600
|
+
let z = i(this, tt) ? i(this, tt).call(this, {
|
|
4601
|
+
histogram: i(this, M),
|
|
4602
|
+
histogramId: i(this, ve),
|
|
4603
|
+
x: O,
|
|
4604
|
+
content: f
|
|
4605
|
+
}) : null;
|
|
4606
|
+
z = z || i(this, Y).getBinColor(f);
|
|
4607
|
+
const g = i(this, ve) + o + "th1" + s;
|
|
4608
|
+
let m;
|
|
4609
|
+
i(this, It).call(this, g) ? m = i(this, Y).getSecondaryAccentColor() : m = z;
|
|
4610
|
+
const J = `id: ${g};
|
|
4611
|
+
histogramName: ${i(this, ve)};
|
|
4612
|
+
typeName: 'TH1';
|
|
4613
|
+
content: ${f};
|
|
4614
|
+
xTitle: ${w};
|
|
4615
|
+
zTitle: 'none';
|
|
4616
|
+
absoluteContent: ${_};
|
|
4617
|
+
binName: ${h};
|
|
4618
|
+
xMin: ${o};
|
|
4619
|
+
zMin: ${0};
|
|
4620
|
+
xMax: ${s};
|
|
4621
|
+
zMax: ${0};
|
|
4622
|
+
xPos: ${O};
|
|
4623
|
+
zPos: ${0};
|
|
4624
|
+
xCenter: ${n};
|
|
4625
|
+
yCenter: ${0};
|
|
4626
|
+
xWidth: ${a};
|
|
4627
|
+
zWidth: ${0};
|
|
4628
|
+
markedColor: ${m};
|
|
4629
|
+
selectColor: ${i(this, Y).getSecondaryAccentColor()};
|
|
4630
|
+
axisX: ${i(this, Y).getAxisColor("x")};
|
|
4631
|
+
axisY: ${i(this, Y).getAxisColor("y")};
|
|
4632
|
+
axisZ: ${i(this, Y).getAxisColor("z")}`, G = a / i(this, ut) / i(this, Bt), S = O - 1, te = 0;
|
|
4633
|
+
e.bins[p] = {
|
|
4634
|
+
id: g,
|
|
4635
|
+
color: z,
|
|
4636
|
+
binData: J,
|
|
4637
|
+
content: _,
|
|
4638
|
+
animation: {
|
|
4639
|
+
fromWidth: G,
|
|
4640
|
+
fromHeight: i(this, vt).call(this, g),
|
|
4641
|
+
fromDepth: G,
|
|
4642
|
+
toWidth: G,
|
|
4643
|
+
toHeight: f * i(this, le) * i(this, it) / 8,
|
|
4644
|
+
toDepth: G
|
|
4645
|
+
},
|
|
4646
|
+
animation2: {
|
|
4647
|
+
fromX: S + i(this, j).xOffset,
|
|
4648
|
+
fromY: t,
|
|
4649
|
+
fromZ: te,
|
|
4650
|
+
toX: S,
|
|
4651
|
+
toY: t,
|
|
4652
|
+
toZ: te
|
|
4653
|
+
},
|
|
4654
|
+
animation3: {
|
|
4655
|
+
fromColor: i(this, Xt).call(this, g),
|
|
4656
|
+
toColor: m
|
|
4657
|
+
}
|
|
4658
|
+
}, C[p] = {
|
|
4659
|
+
key: g,
|
|
4660
|
+
scale: f,
|
|
4661
|
+
color: m
|
|
4662
|
+
}, p++;
|
|
4651
4663
|
}
|
|
4652
|
-
D(this, bt,
|
|
4653
|
-
const
|
|
4654
|
-
return
|
|
4664
|
+
D(this, bt, C);
|
|
4665
|
+
const b = [], u = [];
|
|
4666
|
+
return p = i(this, jt).call(this, e, b, u, d, c, void 0, void 0, 0), p = i(this, Ft).call(this, e, b, u, c, d, k, w, p), p = i(this, Yt).call(this, e, b, u, c, d, void 0, void 0, void 0, p), ur(this, Lt, br).call(this, e, b, u, c, d, p), e.labels = [...b, ...u], e;
|
|
4655
4667
|
});
|
|
4656
4668
|
B(this, Mt, (e) => e <= 0 ? 0 : (i(this, gt) > 1 && (e = Math.round((e / i(this, gt) + Number.EPSILON) * 100) / 100), e));
|
|
4657
4669
|
B(this, Nt, (e, t, n, o, s) => {
|
|
4658
|
-
if (D(this,
|
|
4670
|
+
if (D(this, j, {
|
|
4659
4671
|
xOffset: 0,
|
|
4660
4672
|
yOffset: 0,
|
|
4661
4673
|
zOffset: 0
|
|
4662
4674
|
}), n) {
|
|
4663
|
-
if (s ? (t[o] += 1, i(this,
|
|
4664
|
-
return t[o] = 1, i(this,
|
|
4675
|
+
if (s ? (t[o] += 1, i(this, j)[o] = -1) : (t[o] += t.range, i(this, j)[o] = -t.range), e[o] <= t.range)
|
|
4676
|
+
return t[o] = 1, i(this, j)[o] = 0, t;
|
|
4665
4677
|
if (t[o] > e[o] - t.range)
|
|
4666
|
-
return t[o] = e[o] - t.range, i(this,
|
|
4667
|
-
} else if (s ? (t[o] -= 1, i(this,
|
|
4668
|
-
return t[o] = 1, i(this,
|
|
4678
|
+
return t[o] = e[o] - t.range, i(this, j)[o] = 0, t;
|
|
4679
|
+
} else if (s ? (t[o] -= 1, i(this, j)[o] = 1) : (t[o] -= t.range, i(this, j)[o] = t.range), t[o] < 1)
|
|
4680
|
+
return t[o] = 1, i(this, j)[o] = 0, t;
|
|
4669
4681
|
return t;
|
|
4670
4682
|
});
|
|
4671
|
-
B(this, Yt, (e, t, n, o, s, a, f,
|
|
4683
|
+
B(this, Yt, (e, t, n, o, s, a, f, h, p) => (t[p] = i(this, Ue).call(this, 9e4 + p, o + 0.5, i(this, I) - 1, s + 0.5, 270, 360, 0, 2, 2, `${f ? f[i(this, I) - 1] ? f[i(this, I) - 1].fString : Math.round(
|
|
4672
4684
|
(i(this, Fe).zInitial + i(this, I) - 1 + Number.EPSILON) * 100
|
|
4673
|
-
) / 100 : "0"}`, i(this,
|
|
4685
|
+
) / 100 : "0"}`, i(this, Y).getAxisColor("y"), i(this, Y).getSecondaryFontColor()), n[p] = i(this, Ue).call(this, 91e3 + p, o + 0.5, i(this, I) - 1, i(this, ae) - 2.5, 270, 90, 0, 2, 2, `${f ? f[i(this, I) - 1] ? f[i(this, I) - 1].fString : Math.round(
|
|
4674
4686
|
(i(this, Fe).zInitial + i(this, I) - 1 + Number.EPSILON) * 100
|
|
4675
|
-
) / 100 : "0"}`, i(this,
|
|
4687
|
+
) / 100 : "0"}`, i(this, Y).getAxisColor("y"), i(this, Y).getSecondaryFontColor()), p++, t[p] = i(this, Ue).call(this, 92e3 + p, i(this, ee) - 2.5, i(this, I) - 1, s + 0.5, 270, 270, 0, 2, 2, `${f ? f[i(this, I) - 1] ? f[i(this, I) - 1].fString : Math.round(
|
|
4676
4688
|
(i(this, Fe).zInitial + i(this, I) - 1 + Number.EPSILON) * 100
|
|
4677
|
-
) / 100 : "0"}`, i(this,
|
|
4689
|
+
) / 100 : "0"}`, i(this, Y).getAxisColor("y"), i(this, Y).getSecondaryFontColor()), n[p] = i(this, Ue).call(this, 93e3 + p, i(this, ee) - 2.5, i(this, I) - 1, i(this, ae) - 2.5, 270, 180, 0, 2, 2, `${f ? f[i(this, I) - 1] ? f[i(this, I) - 1].fString : Math.round(
|
|
4678
4690
|
(i(this, Fe).zInitial + i(this, I) - 1 + Number.EPSILON) * 100
|
|
4679
|
-
) / 100 : "0"}`, i(this,
|
|
4691
|
+
) / 100 : "0"}`, i(this, Y).getAxisColor("y"), i(this, Y).getSecondaryFontColor()), p++, h && (e.axisLabels[4] = {
|
|
4680
4692
|
id: "upLabel1",
|
|
4681
|
-
key: 95004 + i(this,
|
|
4693
|
+
key: 95004 + i(this, ve),
|
|
4682
4694
|
text: {
|
|
4683
|
-
value:
|
|
4684
|
-
color: i(this,
|
|
4695
|
+
value: h,
|
|
4696
|
+
color: i(this, Y).getAxisColor("y")
|
|
4685
4697
|
},
|
|
4686
4698
|
rotation: {
|
|
4687
4699
|
x: 0,
|
|
@@ -4689,19 +4701,19 @@ class vs {
|
|
|
4689
4701
|
z: 90
|
|
4690
4702
|
},
|
|
4691
4703
|
animation: {
|
|
4692
|
-
fromX: i(this,
|
|
4693
|
-
fromY: a - 1 + i(this,
|
|
4694
|
-
fromZ: i(this,
|
|
4695
|
-
toX: i(this,
|
|
4704
|
+
fromX: i(this, ee) - 1.5 + i(this, j).xOffset,
|
|
4705
|
+
fromY: a - 1 + i(this, j).zOffset,
|
|
4706
|
+
fromZ: i(this, ae) - 2 + i(this, j).yOffset,
|
|
4707
|
+
toX: i(this, ee) - 1.5,
|
|
4696
4708
|
toY: a - 1,
|
|
4697
|
-
toZ: i(this,
|
|
4709
|
+
toZ: i(this, ae) - 2
|
|
4698
4710
|
}
|
|
4699
4711
|
}, e.axisLabels[5] = {
|
|
4700
4712
|
id: "upLabel2",
|
|
4701
|
-
key: 100005 + i(this,
|
|
4713
|
+
key: 100005 + i(this, ve),
|
|
4702
4714
|
text: {
|
|
4703
|
-
value:
|
|
4704
|
-
color: i(this,
|
|
4715
|
+
value: h,
|
|
4716
|
+
color: i(this, Y).getAxisColor("y")
|
|
4705
4717
|
},
|
|
4706
4718
|
rotation: {
|
|
4707
4719
|
x: 0,
|
|
@@ -4709,19 +4721,19 @@ class vs {
|
|
|
4709
4721
|
z: 90
|
|
4710
4722
|
},
|
|
4711
4723
|
animation: {
|
|
4712
|
-
fromX: o - 0.5 + i(this,
|
|
4713
|
-
fromY: a - 1 + i(this,
|
|
4714
|
-
fromZ: s + i(this,
|
|
4724
|
+
fromX: o - 0.5 + i(this, j).xOffset,
|
|
4725
|
+
fromY: a - 1 + i(this, j).zOffset,
|
|
4726
|
+
fromZ: s + i(this, j).yOffset,
|
|
4715
4727
|
toX: o - 0.5,
|
|
4716
4728
|
toY: a - 1,
|
|
4717
4729
|
toZ: s
|
|
4718
4730
|
}
|
|
4719
4731
|
}, e.axisLabels[6] = {
|
|
4720
4732
|
id: "upLabel3",
|
|
4721
|
-
key: 105006 + i(this,
|
|
4733
|
+
key: 105006 + i(this, ve),
|
|
4722
4734
|
text: {
|
|
4723
|
-
value:
|
|
4724
|
-
color: i(this,
|
|
4735
|
+
value: h,
|
|
4736
|
+
color: i(this, Y).getAxisColor("y")
|
|
4725
4737
|
},
|
|
4726
4738
|
rotation: {
|
|
4727
4739
|
x: 0,
|
|
@@ -4729,19 +4741,19 @@ class vs {
|
|
|
4729
4741
|
z: 90
|
|
4730
4742
|
},
|
|
4731
4743
|
animation: {
|
|
4732
|
-
fromX: i(this,
|
|
4733
|
-
fromY: a - 1 + i(this,
|
|
4734
|
-
fromZ: s - 0.5 + i(this,
|
|
4735
|
-
toX: i(this,
|
|
4744
|
+
fromX: i(this, ee) - 2 + i(this, j).xOffset,
|
|
4745
|
+
fromY: a - 1 + i(this, j).zOffset,
|
|
4746
|
+
fromZ: s - 0.5 + i(this, j).yOffset,
|
|
4747
|
+
toX: i(this, ee) - 2,
|
|
4736
4748
|
toY: a - 1,
|
|
4737
4749
|
toZ: s - 0.5
|
|
4738
4750
|
}
|
|
4739
4751
|
}, e.axisLabels[7] = {
|
|
4740
4752
|
id: "upLabel4",
|
|
4741
|
-
key: 105007 + i(this,
|
|
4753
|
+
key: 105007 + i(this, ve),
|
|
4742
4754
|
text: {
|
|
4743
|
-
value:
|
|
4744
|
-
color: i(this,
|
|
4755
|
+
value: h,
|
|
4756
|
+
color: i(this, Y).getAxisColor("y")
|
|
4745
4757
|
},
|
|
4746
4758
|
rotation: {
|
|
4747
4759
|
x: 0,
|
|
@@ -4749,27 +4761,27 @@ class vs {
|
|
|
4749
4761
|
z: 90
|
|
4750
4762
|
},
|
|
4751
4763
|
animation: {
|
|
4752
|
-
fromX: o - 0.5 + i(this,
|
|
4753
|
-
fromY: a - 1 + i(this,
|
|
4754
|
-
fromZ: i(this,
|
|
4764
|
+
fromX: o - 0.5 + i(this, j).xOffset,
|
|
4765
|
+
fromY: a - 1 + i(this, j).zOffset,
|
|
4766
|
+
fromZ: i(this, ae) - 1.5 + i(this, j).yOffset,
|
|
4755
4767
|
toX: o - 0.5,
|
|
4756
4768
|
toY: a - 1,
|
|
4757
|
-
toZ: i(this,
|
|
4769
|
+
toZ: i(this, ae) - 1.5
|
|
4758
4770
|
}
|
|
4759
4771
|
}), p));
|
|
4760
|
-
B(this, jt, (e, t, n, o, s, a, f,
|
|
4761
|
-
for (let p = i(this,
|
|
4762
|
-
t[
|
|
4772
|
+
B(this, jt, (e, t, n, o, s, a, f, h) => {
|
|
4773
|
+
for (let p = i(this, ae); p <= o; p++)
|
|
4774
|
+
t[h] = i(this, Ue).call(this, 1500 + h, i(this, ee) - 2.5, i(this, I) ? i(this, I) - 1 : 0, p - 1, 270, 180, 0, 2, 1, `${a ? a[p - 1] ? a[p - 1].fString : Math.round(
|
|
4763
4775
|
(i(this, Fe).yInitial + (p - 1) * i(this, yt) + Number.EPSILON) * 100
|
|
4764
|
-
) / 100 : ""}`, i(this,
|
|
4776
|
+
) / 100 : ""}`, i(this, Y).getAxisColor("z"), i(this, Y).getSecondaryFontColor()), n[h] = i(this, Ue).call(this, 3e3 + h, s + 0.5, i(this, I) ? i(this, I) - 1 : 0, p - 1, 270, 360, 0, 2, 1, `${a ? a[p - 1] ? a[p - 1].fString : Math.round(
|
|
4765
4777
|
(i(this, Fe).yInitial + (p - 1) * i(this, yt) + Number.EPSILON) * 100
|
|
4766
|
-
) / 100 : ""}`, i(this,
|
|
4778
|
+
) / 100 : ""}`, i(this, Y).getAxisColor("z"), i(this, Y).getSecondaryFontColor()), h++;
|
|
4767
4779
|
return e.axisLabels[0] = {
|
|
4768
4780
|
id: "leftLabel",
|
|
4769
|
-
key: 4500 + i(this,
|
|
4781
|
+
key: 4500 + i(this, ve),
|
|
4770
4782
|
text: {
|
|
4771
4783
|
value: f || "",
|
|
4772
|
-
color: i(this,
|
|
4784
|
+
color: i(this, Y).getAxisColor("z")
|
|
4773
4785
|
},
|
|
4774
4786
|
rotation: {
|
|
4775
4787
|
x: 270,
|
|
@@ -4777,19 +4789,19 @@ class vs {
|
|
|
4777
4789
|
z: 0
|
|
4778
4790
|
},
|
|
4779
4791
|
animation: {
|
|
4780
|
-
fromX: i(this,
|
|
4781
|
-
fromY: (i(this, I) ? i(this, I) - 1 : 0) + i(this,
|
|
4782
|
-
fromZ: i(this,
|
|
4783
|
-
toX: i(this,
|
|
4792
|
+
fromX: i(this, ee) - 4 + i(this, j).xOffset,
|
|
4793
|
+
fromY: (i(this, I) ? i(this, I) - 1 : 0) + i(this, j).zOffset,
|
|
4794
|
+
fromZ: i(this, ae) + 0.5 + i(this, j).yOffset,
|
|
4795
|
+
toX: i(this, ee) - 4,
|
|
4784
4796
|
toY: i(this, I) ? i(this, I) - 1 : 0,
|
|
4785
|
-
toZ: i(this,
|
|
4797
|
+
toZ: i(this, ae) + 0.5
|
|
4786
4798
|
}
|
|
4787
4799
|
}, e.axisLabels[1] = {
|
|
4788
4800
|
id: "rightLabel",
|
|
4789
|
-
key: 6001 + i(this,
|
|
4801
|
+
key: 6001 + i(this, ve),
|
|
4790
4802
|
text: {
|
|
4791
4803
|
value: f || "",
|
|
4792
|
-
color: i(this,
|
|
4804
|
+
color: i(this, Y).getAxisColor("z")
|
|
4793
4805
|
},
|
|
4794
4806
|
rotation: {
|
|
4795
4807
|
x: 270,
|
|
@@ -4797,28 +4809,28 @@ class vs {
|
|
|
4797
4809
|
z: 0
|
|
4798
4810
|
},
|
|
4799
4811
|
animation: {
|
|
4800
|
-
fromX: s + 2 + i(this,
|
|
4801
|
-
fromY: (i(this, I) ? i(this, I) - 1 : 0) + i(this,
|
|
4802
|
-
fromZ: o - 2.5 + i(this,
|
|
4812
|
+
fromX: s + 2 + i(this, j).xOffset,
|
|
4813
|
+
fromY: (i(this, I) ? i(this, I) - 1 : 0) + i(this, j).zOffset,
|
|
4814
|
+
fromZ: o - 2.5 + i(this, j).yOffset,
|
|
4803
4815
|
toX: s + 2,
|
|
4804
4816
|
toY: i(this, I) ? i(this, I) - 1 : 0,
|
|
4805
4817
|
toZ: o - 2.5
|
|
4806
4818
|
}
|
|
4807
|
-
},
|
|
4819
|
+
}, h;
|
|
4808
4820
|
});
|
|
4809
|
-
B(this, Ft, (e, t, n, o, s, a, f,
|
|
4810
|
-
for (let p = i(this,
|
|
4811
|
-
t[
|
|
4821
|
+
B(this, Ft, (e, t, n, o, s, a, f, h) => {
|
|
4822
|
+
for (let p = i(this, ee); p <= o; p++)
|
|
4823
|
+
t[h] = i(this, Ue).call(this, 7500 + h, p - 1, i(this, I) ? i(this, I) - 1 : 0, i(this, ae) - 2.5, 270, 270, 0, 2, 1, `${a[p - 1] ? a[p - 1].fString : Math.round(
|
|
4812
4824
|
(i(this, Fe).xInitial + (p - 1) * i(this, ut) + Number.EPSILON) * 100
|
|
4813
|
-
) / 100}`, i(this,
|
|
4825
|
+
) / 100}`, i(this, Y).getAxisColor("x"), i(this, Y).getSecondaryFontColor()), n[h] = i(this, Ue).call(this, 9e3 + h, p - 1, i(this, I) ? i(this, I) - 1 : 0, s + 0.5, 270, 90, 0, 2, 1, `${a[p - 1] ? a[p - 1].fString : Math.round(
|
|
4814
4826
|
(i(this, Fe).xInitial + (p - 1) * i(this, ut) + Number.EPSILON) * 100
|
|
4815
|
-
) / 100}`, i(this,
|
|
4827
|
+
) / 100}`, i(this, Y).getAxisColor("x"), i(this, Y).getSecondaryFontColor()), h++;
|
|
4816
4828
|
return e.axisLabels[2] = {
|
|
4817
4829
|
id: "downLabel",
|
|
4818
|
-
key: 10502 + i(this,
|
|
4830
|
+
key: 10502 + i(this, ve),
|
|
4819
4831
|
text: {
|
|
4820
4832
|
value: f,
|
|
4821
|
-
color: i(this,
|
|
4833
|
+
color: i(this, Y).getAxisColor("x")
|
|
4822
4834
|
},
|
|
4823
4835
|
rotation: {
|
|
4824
4836
|
x: 270,
|
|
@@ -4826,19 +4838,19 @@ class vs {
|
|
|
4826
4838
|
z: 0
|
|
4827
4839
|
},
|
|
4828
4840
|
animation: {
|
|
4829
|
-
fromX: i(this,
|
|
4830
|
-
fromY: (i(this, I) ? i(this, I) - 1 : 0) + i(this,
|
|
4831
|
-
fromZ: i(this,
|
|
4832
|
-
toX: i(this,
|
|
4841
|
+
fromX: i(this, ee) + i(this, j).xOffset,
|
|
4842
|
+
fromY: (i(this, I) ? i(this, I) - 1 : 0) + i(this, j).zOffset,
|
|
4843
|
+
fromZ: i(this, ae) - 4 + i(this, j).yOffset,
|
|
4844
|
+
toX: i(this, ee),
|
|
4833
4845
|
toY: i(this, I) ? i(this, I) - 1 : 0,
|
|
4834
|
-
toZ: i(this,
|
|
4846
|
+
toZ: i(this, ae) - 4
|
|
4835
4847
|
}
|
|
4836
4848
|
}, e.axisLabels[3] = {
|
|
4837
4849
|
id: "upLabel",
|
|
4838
|
-
key: 12003 + i(this,
|
|
4850
|
+
key: 12003 + i(this, ve),
|
|
4839
4851
|
text: {
|
|
4840
4852
|
value: f,
|
|
4841
|
-
color: i(this,
|
|
4853
|
+
color: i(this, Y).getAxisColor("x")
|
|
4842
4854
|
},
|
|
4843
4855
|
rotation: {
|
|
4844
4856
|
x: 270,
|
|
@@ -4846,14 +4858,14 @@ class vs {
|
|
|
4846
4858
|
z: 0
|
|
4847
4859
|
},
|
|
4848
4860
|
animation: {
|
|
4849
|
-
fromX: o - 2.5 + i(this,
|
|
4850
|
-
fromY: (i(this, I) ? i(this, I) - 1 : 0) + i(this,
|
|
4851
|
-
fromZ: s + 2 + i(this,
|
|
4861
|
+
fromX: o - 2.5 + i(this, j).xOffset,
|
|
4862
|
+
fromY: (i(this, I) ? i(this, I) - 1 : 0) + i(this, j).zOffset,
|
|
4863
|
+
fromZ: s + 2 + i(this, j).yOffset,
|
|
4852
4864
|
toX: o - 2.5,
|
|
4853
4865
|
toY: i(this, I) ? i(this, I) - 1 : 0,
|
|
4854
4866
|
toZ: s + 2
|
|
4855
4867
|
}
|
|
4856
|
-
},
|
|
4868
|
+
}, h;
|
|
4857
4869
|
});
|
|
4858
4870
|
B(this, Ar, (e, t, n) => {
|
|
4859
4871
|
const o = {
|
|
@@ -4862,12 +4874,12 @@ class vs {
|
|
|
4862
4874
|
zOffset: i(this, et)
|
|
4863
4875
|
}, s = {
|
|
4864
4876
|
name: "TH3",
|
|
4865
|
-
xOffset: i(this,
|
|
4866
|
-
yOffset: i(this,
|
|
4877
|
+
xOffset: i(this, ee),
|
|
4878
|
+
yOffset: i(this, ae),
|
|
4867
4879
|
zOffset: i(this, I),
|
|
4868
4880
|
range: i(this, le)
|
|
4869
4881
|
}, a = i(this, Nt).call(this, o, s, t, e, n);
|
|
4870
|
-
return D(this,
|
|
4882
|
+
return D(this, ee, a.xOffset), D(this, ae, a.yOffset), D(this, I, a.zOffset), a;
|
|
4871
4883
|
});
|
|
4872
4884
|
B(this, Pr, (e, t, n) => {
|
|
4873
4885
|
const o = {
|
|
@@ -4875,21 +4887,21 @@ class vs {
|
|
|
4875
4887
|
yOffset: i(this, Ve)
|
|
4876
4888
|
}, s = {
|
|
4877
4889
|
name: "TH2",
|
|
4878
|
-
xOffset: i(this,
|
|
4879
|
-
yOffset: i(this,
|
|
4890
|
+
xOffset: i(this, ee),
|
|
4891
|
+
yOffset: i(this, ae),
|
|
4880
4892
|
range: i(this, le)
|
|
4881
4893
|
}, a = i(this, Nt).call(this, o, s, t, e, n);
|
|
4882
|
-
return D(this,
|
|
4894
|
+
return D(this, ee, a.xOffset), D(this, ae, a.yOffset), a;
|
|
4883
4895
|
});
|
|
4884
4896
|
B(this, $r, (e, t, n) => {
|
|
4885
4897
|
const o = {
|
|
4886
4898
|
xOffset: i(this, je)
|
|
4887
4899
|
}, s = {
|
|
4888
4900
|
name: "TH1",
|
|
4889
|
-
xOffset: i(this,
|
|
4901
|
+
xOffset: i(this, ee),
|
|
4890
4902
|
range: i(this, le)
|
|
4891
4903
|
}, a = i(this, Nt).call(this, o, s, t, e, n);
|
|
4892
|
-
return D(this,
|
|
4904
|
+
return D(this, ee, a.xOffset), a;
|
|
4893
4905
|
});
|
|
4894
4906
|
B(this, vt, (e) => {
|
|
4895
4907
|
const t = i(this, bt).filter(
|
|
@@ -4912,14 +4924,14 @@ class vs {
|
|
|
4912
4924
|
s,
|
|
4913
4925
|
a,
|
|
4914
4926
|
f,
|
|
4915
|
-
|
|
4927
|
+
h
|
|
4916
4928
|
);
|
|
4917
4929
|
}
|
|
4918
|
-
initializeFactory(e, t, n, o, s, a, f,
|
|
4919
|
-
this.setUniqueName(e), this.setTheme(s), this.setHistogram(t), this.setHistogramContentMaximum(t.fMaximum), this.setSection(n), this.setRange(o), this.setSelectedBin(a), this.setViewFunction(f), this.setProgressFunction(
|
|
4930
|
+
initializeFactory(e, t, n, o, s, a, f, h) {
|
|
4931
|
+
this.setUniqueName(e), this.setTheme(s), this.setHistogram(t), this.setHistogramContentMaximum(t.fMaximum), this.setSection(n), this.setRange(o), this.setSelectedBin(a), this.setViewFunction(f), this.setProgressFunction(h);
|
|
4920
4932
|
}
|
|
4921
4933
|
setUniqueName(e) {
|
|
4922
|
-
D(this,
|
|
4934
|
+
D(this, ve, e);
|
|
4923
4935
|
}
|
|
4924
4936
|
updateContentScale(e) {
|
|
4925
4937
|
i(this, it) + e >= 0 && D(this, it, i(this, it) + e);
|
|
@@ -4940,17 +4952,17 @@ class vs {
|
|
|
4940
4952
|
D(this, rt, e);
|
|
4941
4953
|
}
|
|
4942
4954
|
setSection(e) {
|
|
4943
|
-
e && (e.xOffset && D(this,
|
|
4955
|
+
e && (e.xOffset && D(this, ee, i(this, ft).call(this, e == null ? void 0 : e.xOffset, i(this, je))), e.yOffset && !histogram._typename.includes("TH1") && D(this, ae, i(this, ft).call(this, e == null ? void 0 : e.yOffset, i(this, Ve))), e.zOffset && histogram._typename.includes("TH3") && D(this, I, i(this, ft).call(this, e == null ? void 0 : e.zOffset, i(this, et))));
|
|
4944
4956
|
}
|
|
4945
4957
|
setHistogram(e) {
|
|
4946
|
-
var t, n, o, s, a, f,
|
|
4947
|
-
D(this, M, e), D(this, Qe, e == null ? void 0 : e._typename), D(this,
|
|
4958
|
+
var t, n, o, s, a, f, h, p, c, d, w, k, C, b, u, O;
|
|
4959
|
+
D(this, M, e), D(this, Qe, e == null ? void 0 : e._typename), D(this, ee, 1), D(this, ae, 1), D(this, I, 1), D(this, je, 0), D(this, Ve, 0), D(this, et, 0), D(this, ut, 1), D(this, yt, 1), D(this, cr, 1), D(this, je, (t = e == null ? void 0 : e.fXaxis) == null ? void 0 : t.fNbins), D(this, ut, (((n = e == null ? void 0 : e.fXaxis) == null ? void 0 : n.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)), i(this, Fe).xInitial = (a = e == null ? void 0 : e.fXaxis) == null ? void 0 : a.fXmin, D(this, ee, i(this, ft).call(this, i(this, ee), i(this, je))), (f = e == null ? void 0 : e._typename) != null && f.includes("TH1") || (D(this, Ve, (h = e == null ? void 0 : e.fYaxis) == null ? void 0 : h.fNbins), D(this, yt, (((p = e == null ? void 0 : e.fYaxis) == null ? void 0 : p.fXmax) - ((c = e == null ? void 0 : e.fYaxis) == null ? void 0 : c.fXmin)) / ((d = e == null ? void 0 : e.fYaxis) == null ? void 0 : d.fNbins)), i(this, Fe).yInitial = (w = e == null ? void 0 : e.fYaxis) == null ? void 0 : w.fXmin, D(this, ae, i(this, ft).call(this, i(this, ae), i(this, Ve)))), (k = e == null ? void 0 : e._typename) != null && k.includes("TH3") && (D(this, et, (C = e == null ? void 0 : e.fZaxis) == null ? void 0 : C.fNbins), D(this, cr, ((b = e == null ? void 0 : e.fZaxis) == null ? void 0 : b.fXmax) / ((u = e == null ? void 0 : e.fZaxis) == null ? void 0 : u.fNbins)), i(this, Fe).zInitial = (O = e == null ? void 0 : e.fZaxis) == null ? void 0 : O.fXmin, D(this, I, i(this, ft).call(this, i(this, I), i(this, et)))), this.setHistogramContentMaximum(e == null ? void 0 : e.fMaximum);
|
|
4948
4960
|
}
|
|
4949
4961
|
setRange(e) {
|
|
4950
4962
|
e && (e < 4 && D(this, le, 4), D(this, le, e));
|
|
4951
4963
|
}
|
|
4952
4964
|
setTheme(e) {
|
|
4953
|
-
D(this,
|
|
4965
|
+
D(this, Y, new gn(e));
|
|
4954
4966
|
}
|
|
4955
4967
|
getElements() {
|
|
4956
4968
|
let e = {};
|
|
@@ -4965,12 +4977,12 @@ class vs {
|
|
|
4965
4977
|
return i(this, $r).call(this, e, t, n);
|
|
4966
4978
|
}
|
|
4967
4979
|
}
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
key: 195e3 + i(this,
|
|
4980
|
+
ve = new WeakMap(), ar = new WeakMap(), M = new WeakMap(), Qe = new WeakMap(), Y = new WeakMap(), ee = new WeakMap(), ae = new WeakMap(), I = new WeakMap(), je = new WeakMap(), Ve = new WeakMap(), et = new WeakMap(), ut = new WeakMap(), yt = new WeakMap(), cr = new WeakMap(), le = new WeakMap(), Fe = new WeakMap(), tt = new WeakMap(), rt = new WeakMap(), gt = new WeakMap(), it = new WeakMap(), Ot = new WeakMap(), Bt = new WeakMap(), j = new WeakMap(), bt = new WeakMap(), ft = new WeakMap(), It = new WeakMap(), Ue = new WeakMap(), _r = new WeakMap(), kr = new WeakMap(), Or = new WeakMap(), Mt = new WeakMap(), Nt = new WeakMap(), Yt = new WeakMap(), jt = new WeakMap(), Ft = new WeakMap(), Lt = new WeakSet(), br = function(e, t, n, o, s, a, f, h) {
|
|
4981
|
+
h++, e.titles[0] = {
|
|
4982
|
+
key: 195e3 + i(this, ve),
|
|
4971
4983
|
text: {
|
|
4972
4984
|
value: i(this, M).fTitle,
|
|
4973
|
-
color: i(this,
|
|
4985
|
+
color: i(this, Y).getPrimaryFontColor()
|
|
4974
4986
|
},
|
|
4975
4987
|
rotation: {
|
|
4976
4988
|
x: 0,
|
|
@@ -4978,33 +4990,33 @@ $e = new WeakMap(), ar = new WeakMap(), M = new WeakMap(), Qe = new WeakMap(), j
|
|
|
4978
4990
|
z: 0
|
|
4979
4991
|
},
|
|
4980
4992
|
position: {
|
|
4981
|
-
x: i(this,
|
|
4993
|
+
x: i(this, ee) - 90,
|
|
4982
4994
|
y: 16.5,
|
|
4983
|
-
z: i(this,
|
|
4995
|
+
z: i(this, ae) + 90
|
|
4984
4996
|
},
|
|
4985
4997
|
innerText: {
|
|
4986
4998
|
value: "Press V to show projections or controls",
|
|
4987
|
-
color: i(this,
|
|
4999
|
+
color: i(this, Y).getPrimaryFontColor()
|
|
4988
5000
|
}
|
|
4989
|
-
},
|
|
5001
|
+
}, h++;
|
|
4990
5002
|
const p = i(this, le) > i(this, je) ? i(this, je) + 1 : i(this, le), c = i(this, le) > i(this, Ve) ? i(this, Ve) + 1 : i(this, le);
|
|
4991
5003
|
e.ground = {
|
|
4992
|
-
key: 22500 +
|
|
5004
|
+
key: 22500 + h + i(this, ve),
|
|
4993
5005
|
scale: {
|
|
4994
5006
|
width: p + 8,
|
|
4995
5007
|
height: 0.2,
|
|
4996
5008
|
depth: c + 8
|
|
4997
5009
|
},
|
|
4998
5010
|
animation: {
|
|
4999
|
-
fromX: i(this,
|
|
5011
|
+
fromX: i(this, ee) + p * 0.5 - 1 + i(this, j).xOffset,
|
|
5000
5012
|
fromY: -0.5,
|
|
5001
|
-
fromZ: i(this,
|
|
5002
|
-
toX: i(this,
|
|
5013
|
+
fromZ: i(this, ae) + c * 0.5 - 0.5 + i(this, j).yOffset,
|
|
5014
|
+
toX: i(this, ee) + p * 0.5 - 1,
|
|
5003
5015
|
toY: -0.5,
|
|
5004
|
-
toZ: i(this,
|
|
5016
|
+
toZ: i(this, ae) + c * 0.5 - 0.5
|
|
5005
5017
|
}
|
|
5006
|
-
},
|
|
5007
|
-
key: 24e4 +
|
|
5018
|
+
}, h++, e.banners[1] = {
|
|
5019
|
+
key: 24e4 + h + i(this, ve),
|
|
5008
5020
|
geometry: {
|
|
5009
5021
|
width: 0.1,
|
|
5010
5022
|
height: 15,
|
|
@@ -5012,8 +5024,8 @@ $e = new WeakMap(), ar = new WeakMap(), M = new WeakMap(), Qe = new WeakMap(), j
|
|
|
5012
5024
|
},
|
|
5013
5025
|
position: {
|
|
5014
5026
|
x: o + 8,
|
|
5015
|
-
y: (i(this, I) ? i(this, I) + 7 : 7) + i(this,
|
|
5016
|
-
z: i(this,
|
|
5027
|
+
y: (i(this, I) ? i(this, I) + 7 : 7) + i(this, j).zOffset,
|
|
5028
|
+
z: i(this, ae) + i(this, le) / 2 + 2.5
|
|
5017
5029
|
},
|
|
5018
5030
|
material: {
|
|
5019
5031
|
color: "#ffffff",
|
|
@@ -5031,9 +5043,9 @@ const xs = () => {
|
|
|
5031
5043
|
range: s,
|
|
5032
5044
|
theme: a,
|
|
5033
5045
|
selectedBins: f
|
|
5034
|
-
} = nt(At).states, { id:
|
|
5046
|
+
} = nt(At).states, { id: h, histogram: p, projPanelIds: c } = nt(At).data, [d] = He(
|
|
5035
5047
|
new vs(
|
|
5036
|
-
|
|
5048
|
+
h,
|
|
5037
5049
|
p,
|
|
5038
5050
|
o || null,
|
|
5039
5051
|
s,
|
|
@@ -5042,32 +5054,32 @@ const xs = () => {
|
|
|
5042
5054
|
t,
|
|
5043
5055
|
n
|
|
5044
5056
|
)
|
|
5045
|
-
), [
|
|
5046
|
-
p._typename.includes(u.name) && (u.axis ? (
|
|
5057
|
+
), [w, k] = He(d.getElements()), [C] = He(1), b = (u) => {
|
|
5058
|
+
p._typename.includes(u.name) && (u.axis ? (d.updateSection(u.axis, u.increment, u.defaultRange), k(d.getElements())) : u.scale ? (d.updateContentScale(u.scale), k(d.getElements())) : u.minValue && (d.updateMinDisplayedContent(u.minValue), k(d.getElements())));
|
|
5047
5059
|
};
|
|
5048
|
-
return
|
|
5049
|
-
|
|
5050
|
-
}, [
|
|
5051
|
-
|
|
5052
|
-
}, [p]),
|
|
5053
|
-
|
|
5054
|
-
}, [o]),
|
|
5055
|
-
|
|
5056
|
-
}, [s]),
|
|
5057
|
-
|
|
5058
|
-
}, [a]),
|
|
5059
|
-
|
|
5060
|
-
}, [f]),
|
|
5061
|
-
|
|
5062
|
-
}, [t]),
|
|
5063
|
-
|
|
5064
|
-
}, [e]),
|
|
5065
|
-
|
|
5066
|
-
}, [n]),
|
|
5067
|
-
if (p._typename.includes("TH2") ? r =
|
|
5060
|
+
return Ce(() => {
|
|
5061
|
+
d.setUniqueName(h), k(d.getElements());
|
|
5062
|
+
}, [h]), Ce(() => {
|
|
5063
|
+
d.setHistogram(p), k(d.getElements());
|
|
5064
|
+
}, [p]), Ce(() => {
|
|
5065
|
+
d.setSection(o), k(d.getElements());
|
|
5066
|
+
}, [o]), Ce(() => {
|
|
5067
|
+
d.setRange(s), k(d.getElements());
|
|
5068
|
+
}, [s]), Ce(() => {
|
|
5069
|
+
d.setTheme(a), k(d.getElements());
|
|
5070
|
+
}, [a]), Ce(() => {
|
|
5071
|
+
d.setSelectedBin(f), k(d.getElements());
|
|
5072
|
+
}, [f]), Ce(() => {
|
|
5073
|
+
d.setViewFunction(t), k(d.getElements());
|
|
5074
|
+
}, [t]), Ce(() => {
|
|
5075
|
+
d.setViewFunction(t), k(d.getElements());
|
|
5076
|
+
}, [e]), Ce(() => {
|
|
5077
|
+
d.setProgressFunction(n), k(d.getElements());
|
|
5078
|
+
}, [n]), Ce(() => {
|
|
5079
|
+
if (p._typename.includes("TH2") ? r = Se.getChangedSection().subscribe(b) : p._typename.includes("TH3") ? r = Pe.getChangedSection().subscribe(b) : p._typename.includes("TH1") && (r = dt.getChangedSection().subscribe(b)), r)
|
|
5068
5080
|
return () => r.unsubscribe();
|
|
5069
|
-
}, [
|
|
5070
|
-
|
|
5081
|
+
}, [w]), w != null && w.bins ? /* @__PURE__ */ ce("a-entity", { "histogram-control": !0, children: [
|
|
5082
|
+
w.bins.map((u) => /* @__PURE__ */ x(
|
|
5071
5083
|
"a-box",
|
|
5072
5084
|
{
|
|
5073
5085
|
class: "clickable",
|
|
@@ -5078,7 +5090,7 @@ const xs = () => {
|
|
|
5078
5090
|
animation__1: "property: material.opacity; from: 0; to: 0.75; dur: 2000;",
|
|
5079
5091
|
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;`,
|
|
5080
5092
|
animation__3: `property: material.color; from: ${u.animation3.fromColor}; to: ${u.animation3.toColor}; dur: 200;`,
|
|
5081
|
-
children: /* @__PURE__ */
|
|
5093
|
+
children: /* @__PURE__ */ x(
|
|
5082
5094
|
"a-text",
|
|
5083
5095
|
{
|
|
5084
5096
|
value: u.content,
|
|
@@ -5095,7 +5107,7 @@ const xs = () => {
|
|
|
5095
5107
|
},
|
|
5096
5108
|
u.id
|
|
5097
5109
|
)),
|
|
5098
|
-
|
|
5110
|
+
w.labels.map((u) => /* @__PURE__ */ x(
|
|
5099
5111
|
"a-entity",
|
|
5100
5112
|
{
|
|
5101
5113
|
geometry: `primitive: ${u.geometry.primitive}; width:${u.geometry.width}; height:${u.geometry.height};`,
|
|
@@ -5109,7 +5121,7 @@ const xs = () => {
|
|
|
5109
5121
|
},
|
|
5110
5122
|
u.key
|
|
5111
5123
|
)),
|
|
5112
|
-
|
|
5124
|
+
w.titles.map((u) => /* @__PURE__ */ ce(
|
|
5113
5125
|
"a-entity",
|
|
5114
5126
|
{
|
|
5115
5127
|
text: `value: ${u.text.value}; color: ${u.text.color}; width: 230; height:auto; align:center;`,
|
|
@@ -5117,7 +5129,7 @@ const xs = () => {
|
|
|
5117
5129
|
position: `${u.position.x} ${u.position.y} ${u.position.z}`,
|
|
5118
5130
|
material: "transparent: true",
|
|
5119
5131
|
children: [
|
|
5120
|
-
/* @__PURE__ */
|
|
5132
|
+
/* @__PURE__ */ x(
|
|
5121
5133
|
"a-text",
|
|
5122
5134
|
{
|
|
5123
5135
|
value: u.innerText.value,
|
|
@@ -5128,7 +5140,7 @@ const xs = () => {
|
|
|
5128
5140
|
color: u.innerText.color
|
|
5129
5141
|
}
|
|
5130
5142
|
),
|
|
5131
|
-
/* @__PURE__ */
|
|
5143
|
+
/* @__PURE__ */ x(
|
|
5132
5144
|
"a-entity",
|
|
5133
5145
|
{
|
|
5134
5146
|
geometry: "primitive: plane; width:170; height:30;",
|
|
@@ -5140,7 +5152,7 @@ const xs = () => {
|
|
|
5140
5152
|
},
|
|
5141
5153
|
u.key
|
|
5142
5154
|
)),
|
|
5143
|
-
|
|
5155
|
+
w.axisLabels.map((u) => /* @__PURE__ */ x(
|
|
5144
5156
|
"a-entity",
|
|
5145
5157
|
{
|
|
5146
5158
|
id: u.id,
|
|
@@ -5151,20 +5163,20 @@ const xs = () => {
|
|
|
5151
5163
|
},
|
|
5152
5164
|
u.key
|
|
5153
5165
|
)),
|
|
5154
|
-
|
|
5166
|
+
w.ground && /* @__PURE__ */ x(
|
|
5155
5167
|
"a-box",
|
|
5156
5168
|
{
|
|
5157
|
-
width:
|
|
5169
|
+
width: w.ground.scale.width,
|
|
5158
5170
|
material: "color: #fafafa",
|
|
5159
|
-
height:
|
|
5160
|
-
depth:
|
|
5161
|
-
animation: `property: position; from: ${
|
|
5171
|
+
height: w.ground.scale.height,
|
|
5172
|
+
depth: w.ground.scale.depth,
|
|
5173
|
+
animation: `property: position; from: ${w.ground.animation.fromX} ${w.ground.animation.fromY} ${w.ground.animation.fromZ};
|
|
5162
5174
|
to:
|
|
5163
|
-
${
|
|
5175
|
+
${w.ground.animation.toX} ${w.ground.animation.toY} ${w.ground.animation.toZ}; dur: 1000;`
|
|
5164
5176
|
},
|
|
5165
|
-
|
|
5177
|
+
w.ground.key
|
|
5166
5178
|
),
|
|
5167
|
-
|
|
5179
|
+
w.banners.map((u) => /* @__PURE__ */ x(
|
|
5168
5180
|
"a-box",
|
|
5169
5181
|
{
|
|
5170
5182
|
id: c[0] ? c[0] : "panel_0",
|
|
@@ -5174,7 +5186,7 @@ const xs = () => {
|
|
|
5174
5186
|
},
|
|
5175
5187
|
c[0] ? c[0] : "panel_0"
|
|
5176
5188
|
))
|
|
5177
|
-
] }) : /* @__PURE__ */
|
|
5189
|
+
] }) : /* @__PURE__ */ x(
|
|
5178
5190
|
"a-box",
|
|
5179
5191
|
{
|
|
5180
5192
|
animation__1: "property: rotation; to: 0 180 360; dur: 10000; easing: linear; loop: true",
|
|
@@ -5186,8 +5198,8 @@ const xs = () => {
|
|
|
5186
5198
|
};
|
|
5187
5199
|
function Ss() {
|
|
5188
5200
|
return /* @__PURE__ */ ce(Me.Fragment, { children: [
|
|
5189
|
-
/* @__PURE__ */
|
|
5190
|
-
/* @__PURE__ */
|
|
5201
|
+
/* @__PURE__ */ x("a-sky", { color: "#dbf0fe" }),
|
|
5202
|
+
/* @__PURE__ */ x(
|
|
5191
5203
|
"a-plane",
|
|
5192
5204
|
{
|
|
5193
5205
|
rotation: "-90 0 0",
|
|
@@ -5257,7 +5269,7 @@ class Cs {
|
|
|
5257
5269
|
new Cs();
|
|
5258
5270
|
const Ts = () => {
|
|
5259
5271
|
const [r, e] = He(0), t = nt(bn);
|
|
5260
|
-
return
|
|
5272
|
+
return Ce(() => {
|
|
5261
5273
|
const n = document.getElementById("camera"), o = new Xr.Vector3(), s = new Xr.Quaternion();
|
|
5262
5274
|
n.object3D.getWorldPosition(o);
|
|
5263
5275
|
const a = setInterval(() => {
|
|
@@ -5272,14 +5284,14 @@ const Ts = () => {
|
|
|
5272
5284
|
), e((f) => f + 1);
|
|
5273
5285
|
}, 100);
|
|
5274
5286
|
return () => clearInterval(a);
|
|
5275
|
-
}, [r]), /* @__PURE__ */
|
|
5276
|
-
}, _s = ({ position: r, rotation: e, id: t, color: n }) => (
|
|
5277
|
-
}, [r]),
|
|
5287
|
+
}, [r]), /* @__PURE__ */ x("a-entity", {});
|
|
5288
|
+
}, _s = ({ position: r, rotation: e, id: t, color: n }) => (Ce(() => {
|
|
5289
|
+
}, [r]), Ce(() => {
|
|
5278
5290
|
const o = new Xr.Quaternion().fromArray(e);
|
|
5279
5291
|
document.getElementById(t).object3D.setRotationFromQuaternion(o);
|
|
5280
5292
|
}, [e]), /* @__PURE__ */ ce("a-entity", { position: r, id: t, children: [
|
|
5281
|
-
/* @__PURE__ */
|
|
5282
|
-
/* @__PURE__ */
|
|
5293
|
+
/* @__PURE__ */ x("a-sphere", { radius: "0.1", color: n }),
|
|
5294
|
+
/* @__PURE__ */ x(
|
|
5283
5295
|
"a-sphere",
|
|
5284
5296
|
{
|
|
5285
5297
|
position: "0.05 0.03 -0.08",
|
|
@@ -5289,7 +5301,7 @@ const Ts = () => {
|
|
|
5289
5301
|
color: "#000000"
|
|
5290
5302
|
}
|
|
5291
5303
|
),
|
|
5292
|
-
/* @__PURE__ */
|
|
5304
|
+
/* @__PURE__ */ x(
|
|
5293
5305
|
"a-sphere",
|
|
5294
5306
|
{
|
|
5295
5307
|
position: "-0.05 0.03 -0.08",
|
|
@@ -5299,7 +5311,7 @@ const Ts = () => {
|
|
|
5299
5311
|
color: "#000000"
|
|
5300
5312
|
}
|
|
5301
5313
|
),
|
|
5302
|
-
/* @__PURE__ */
|
|
5314
|
+
/* @__PURE__ */ x(
|
|
5303
5315
|
"a-sphere",
|
|
5304
5316
|
{
|
|
5305
5317
|
position: "0 -0.07 -0.1",
|
|
@@ -5310,7 +5322,7 @@ const Ts = () => {
|
|
|
5310
5322
|
color: "#11fd3e"
|
|
5311
5323
|
}
|
|
5312
5324
|
),
|
|
5313
|
-
/* @__PURE__ */
|
|
5325
|
+
/* @__PURE__ */ x(
|
|
5314
5326
|
"a-cone",
|
|
5315
5327
|
{
|
|
5316
5328
|
position: "0.03 -0.07 -0.1",
|
|
@@ -5323,7 +5335,7 @@ const Ts = () => {
|
|
|
5323
5335
|
color: "#1cff3c"
|
|
5324
5336
|
}
|
|
5325
5337
|
),
|
|
5326
|
-
/* @__PURE__ */
|
|
5338
|
+
/* @__PURE__ */ x(
|
|
5327
5339
|
"a-cone",
|
|
5328
5340
|
{
|
|
5329
5341
|
position: "-0.03 -0.07 -0.1",
|
|
@@ -5375,26 +5387,26 @@ const Ts = () => {
|
|
|
5375
5387
|
})
|
|
5376
5388
|
);
|
|
5377
5389
|
};
|
|
5378
|
-
return
|
|
5390
|
+
return Ce(() => (window.addEventListener("keypress", t), window.addEventListener("keypress", e), window.addEventListener("keypress", n), () => {
|
|
5379
5391
|
window.removeEventListener("keypress", t), window.removeEventListener("keypress", e), window.removeEventListener("keypress", n);
|
|
5380
|
-
}), []), /* @__PURE__ */
|
|
5392
|
+
}), []), /* @__PURE__ */ x("div", {});
|
|
5381
5393
|
}, zs = ({ store: r }) => {
|
|
5382
|
-
const e = r.move ? er(r.move) : {}, t = r.ws ? er(r.ws) : {}, n = r.master ? er(r.master) : {}, o = r.selectedBins ? er(r.selectedBins) : [], s = r.axisScaling ? er(r.axisScaling) : /* @__PURE__ */ new Map(), [a, f] = He([]), [
|
|
5383
|
-
return
|
|
5394
|
+
const e = r.move ? er(r.move) : {}, t = r.ws ? er(r.ws) : {}, n = r.master ? er(r.master) : {}, o = r.selectedBins ? er(r.selectedBins) : [], s = r.axisScaling ? er(r.axisScaling) : /* @__PURE__ */ new Map(), [a, f] = He([]), [h, p] = He(""), [c, d] = He(""), [w, k] = He([]);
|
|
5395
|
+
return Ce(() => {
|
|
5384
5396
|
e.clients !== void 0 && (e.clients.length > 0 ? f(e.clients) : f([]));
|
|
5385
|
-
}, [e]),
|
|
5386
|
-
p(t.id),
|
|
5387
|
-
}, [t]),
|
|
5388
|
-
}, [n]),
|
|
5397
|
+
}, [e]), Ce(() => {
|
|
5398
|
+
p(t.id), d(t.color);
|
|
5399
|
+
}, [t]), Ce(() => {
|
|
5400
|
+
}, [n]), Ce(() => {
|
|
5389
5401
|
o && k(o.selectedBins);
|
|
5390
|
-
}, [o]),
|
|
5402
|
+
}, [o]), Ce(() => {
|
|
5391
5403
|
console.log(s.axisMap);
|
|
5392
5404
|
}, [s.axisMap]), /* @__PURE__ */ ce("a-entity", { children: [
|
|
5393
|
-
/* @__PURE__ */
|
|
5394
|
-
/* @__PURE__ */
|
|
5395
|
-
a.filter((C) => C.id !==
|
|
5396
|
-
const
|
|
5397
|
-
return /* @__PURE__ */
|
|
5405
|
+
/* @__PURE__ */ x(Hs, {}),
|
|
5406
|
+
/* @__PURE__ */ x(Ts, {}),
|
|
5407
|
+
a.filter((C) => C.id !== h).map((C) => {
|
|
5408
|
+
const b = C.position, u = C.rotation, O = b.join(" ");
|
|
5409
|
+
return /* @__PURE__ */ x(
|
|
5398
5410
|
_s,
|
|
5399
5411
|
{
|
|
5400
5412
|
id: C.id,
|
|
@@ -5421,37 +5433,37 @@ const Ts = () => {
|
|
|
5421
5433
|
console.log("Hover isn't be defined!");
|
|
5422
5434
|
},
|
|
5423
5435
|
onView: f = null,
|
|
5424
|
-
onProgress:
|
|
5436
|
+
onProgress: h = null,
|
|
5425
5437
|
onExeCommand: p = (c) => {
|
|
5426
5438
|
console.log("exeCommand isn't be defined!");
|
|
5427
5439
|
}
|
|
5428
5440
|
}) => {
|
|
5429
5441
|
let c;
|
|
5430
|
-
return
|
|
5431
|
-
if (c = nr.getBinDistributor().subscribe((
|
|
5432
|
-
var
|
|
5433
|
-
if ((
|
|
5434
|
-
const
|
|
5435
|
-
intersectionAxis:
|
|
5442
|
+
return Ce(() => {
|
|
5443
|
+
if (c = nr.getBinDistributor().subscribe((d) => {
|
|
5444
|
+
var w, k, C;
|
|
5445
|
+
if ((d == null ? void 0 : d.id) === r.id) {
|
|
5446
|
+
const b = {
|
|
5447
|
+
intersectionAxis: d.intersect,
|
|
5436
5448
|
obj: r.histogram,
|
|
5437
|
-
id:
|
|
5449
|
+
id: d.id
|
|
5438
5450
|
};
|
|
5439
|
-
switch ((
|
|
5451
|
+
switch ((w = d.data) != null && w.zPos ? (b.binz = d.data.zPos, b.biny = d.data.yPos, b.binx = d.data.xPos, b.bin = r.histogram.getBin(d.data.xPos, d.data.yPos, d.data.zPos), b.con = r.histogram.getBinContent(d.data.xPos, d.data.yPos, d.data.zPos)) : (k = d.data) != null && k.yPos ? (b.biny = d.data.yPos, b.binx = d.data.xPos, b.bin = r.histogram.getBin(d.data.xPos, d.data.yPos), b.con = r.histogram.getBinContent(d.data.xPos, d.data.yPos)) : (C = d.data) != null && C.xPos && (b.binx = d.data.xPos, b.bin = r.histogram.getBin(d.data.xPos), b.con = r.histogram.getBinContent(d.data.xPos)), d.event) {
|
|
5440
5452
|
case "CLICK":
|
|
5441
|
-
o(
|
|
5453
|
+
o(b);
|
|
5442
5454
|
break;
|
|
5443
5455
|
case "HOVER":
|
|
5444
|
-
a(
|
|
5456
|
+
a(b);
|
|
5445
5457
|
break;
|
|
5446
5458
|
case "DB_CLICK":
|
|
5447
|
-
s(
|
|
5459
|
+
s(b);
|
|
5448
5460
|
break;
|
|
5449
5461
|
}
|
|
5450
5462
|
} else
|
|
5451
|
-
p(
|
|
5463
|
+
p(d.command);
|
|
5452
5464
|
}), c)
|
|
5453
5465
|
return () => c.unsubscribe();
|
|
5454
|
-
}, [r, e, o, s, a, p]), /* @__PURE__ */
|
|
5466
|
+
}, [r, e, o, s, a, p]), /* @__PURE__ */ x(Me.Fragment, { children: /* @__PURE__ */ ce(
|
|
5455
5467
|
At.Provider,
|
|
5456
5468
|
{
|
|
5457
5469
|
value: {
|
|
@@ -5472,7 +5484,7 @@ const Ts = () => {
|
|
|
5472
5484
|
range: e == null ? void 0 : e.range,
|
|
5473
5485
|
section: e == null ? void 0 : e.section,
|
|
5474
5486
|
onViewChange: f,
|
|
5475
|
-
onProgress:
|
|
5487
|
+
onProgress: h,
|
|
5476
5488
|
selectedBins: n,
|
|
5477
5489
|
selectedView: e == null ? void 0 : e.selectedView
|
|
5478
5490
|
}
|
|
@@ -5488,21 +5500,21 @@ const Ts = () => {
|
|
|
5488
5500
|
minHeight: "calc(90vh)"
|
|
5489
5501
|
},
|
|
5490
5502
|
children: [
|
|
5491
|
-
/* @__PURE__ */
|
|
5492
|
-
(t == null ? void 0 : t.sharedStore) && /* @__PURE__ */
|
|
5493
|
-
/* @__PURE__ */
|
|
5494
|
-
/* @__PURE__ */
|
|
5503
|
+
/* @__PURE__ */ x(Ss, {}),
|
|
5504
|
+
(t == null ? void 0 : t.sharedStore) && /* @__PURE__ */ x(zs, { store: t.sharedStore }),
|
|
5505
|
+
/* @__PURE__ */ x(ds, {}),
|
|
5506
|
+
/* @__PURE__ */ x(xs, {})
|
|
5495
5507
|
]
|
|
5496
5508
|
}
|
|
5497
5509
|
),
|
|
5498
|
-
!window.AFRAME.utils.device.checkHeadsetConnected() && /* @__PURE__ */
|
|
5510
|
+
!window.AFRAME.utils.device.checkHeadsetConnected() && /* @__PURE__ */ x(dn, {})
|
|
5499
5511
|
]
|
|
5500
5512
|
}
|
|
5501
5513
|
) });
|
|
5502
5514
|
};
|
|
5503
5515
|
class Ds {
|
|
5504
5516
|
constructor(e) {
|
|
5505
|
-
|
|
5517
|
+
$e(this, "model", null);
|
|
5506
5518
|
this.model = e;
|
|
5507
5519
|
}
|
|
5508
5520
|
updateElement(e, t, n, o) {
|
|
@@ -5767,64 +5779,64 @@ function Is(r) {
|
|
|
5767
5779
|
}
|
|
5768
5780
|
function Lr(r, e, t, n, o, s, a) {
|
|
5769
5781
|
vn = pn.getBinsFromLocalStorage();
|
|
5770
|
-
const f = new Bs(),
|
|
5771
|
-
let
|
|
5782
|
+
const f = new Bs(), h = new Ds(e), p = new gn(a), c = {}, d = r;
|
|
5783
|
+
let w, k, C, b, u, O, _, z, g, m;
|
|
5772
5784
|
const J = "";
|
|
5773
|
-
let
|
|
5774
|
-
const
|
|
5775
|
-
for (let
|
|
5776
|
-
for (let
|
|
5777
|
-
if (k = t.fXaxis.GetBinCenter(
|
|
5778
|
-
const ue = p.getBinColor(m),
|
|
5779
|
-
let
|
|
5780
|
-
Is(
|
|
5781
|
-
const Ne = `id: ${
|
|
5785
|
+
let G, S = 0;
|
|
5786
|
+
const te = n + s > t.fXaxis.fXmax ? t.fXaxis.fXmax : n + s, oe = o + s > t.fYaxis.fXmax ? t.fYaxis.fXmax : o + s, he = t.fXaxis.fTitle, W = t.fYaxis.fTitle, U = t.fXaxis.fLabels ? t.fXaxis.fLabels.arr : [], K = t.fYaxis.fLabels ? t.fYaxis.fLabels.arr : [];
|
|
5787
|
+
for (let L = o; L <= oe; L++)
|
|
5788
|
+
for (let de = n; de <= te; de++)
|
|
5789
|
+
if (k = t.fXaxis.GetBinCenter(de), C = t.fXaxis.GetBinLowEdge(de), b = k + (k - C), u = b - C, O = t.fYaxis.GetBinCenter(L), _ = t.fYaxis.GetBinLowEdge(L), z = O + (O - _), g = z - _, G = t.getBinContent(de, L), m = Ms(G, t.fMaximum), w = m / 2, m > 0) {
|
|
5790
|
+
const ue = p.getBinColor(m), we = C + "th2" + b + "th2" + _ + "th2" + z;
|
|
5791
|
+
let Te;
|
|
5792
|
+
Is(we) ? Te = p.getSecondaryAccentColor() : Te = ue;
|
|
5793
|
+
const Ne = `id: ${we};
|
|
5782
5794
|
content: ${m};
|
|
5783
5795
|
color: ${ue};
|
|
5784
5796
|
yTitle: ${W};
|
|
5785
|
-
xTitle: ${
|
|
5786
|
-
absoluteContent: ${
|
|
5797
|
+
xTitle: ${he};
|
|
5798
|
+
absoluteContent: ${G};
|
|
5787
5799
|
binName: ${J};
|
|
5788
5800
|
xMin: ${C};
|
|
5789
|
-
yMin: ${
|
|
5790
|
-
xMax: ${
|
|
5801
|
+
yMin: ${_};
|
|
5802
|
+
xMax: ${b};
|
|
5791
5803
|
yMax: ${z};
|
|
5792
5804
|
xCenter: ${k};
|
|
5793
5805
|
yCenter: ${O};
|
|
5794
5806
|
xWidth: ${u};
|
|
5795
5807
|
yWidth: ${g};
|
|
5796
|
-
markedColor: ${
|
|
5808
|
+
markedColor: ${Te};
|
|
5797
5809
|
selectColor: ${p.getSecondaryAccentColor()};
|
|
5798
5810
|
axisX: ${p.getAxisColor("x")};
|
|
5799
5811
|
axisY: ${p.getAxisColor("y")};
|
|
5800
5812
|
axisZ: ${p.getAxisColor("z")}`;
|
|
5801
|
-
c.id =
|
|
5813
|
+
c.id = we, c.positionX = C, c.positionY = w, c.positionZ = _, c.scaleX = u / 2, c.scaleY = m, c.scaleZ = g / 2, c.color = Te, c.class = "clickable", c.data = Ne, e.bins.attributes[S] = f.binTemplate(c), h.updateElement(S, d, "bins", "a-box"), S++;
|
|
5802
5814
|
}
|
|
5803
|
-
|
|
5804
|
-
for (let
|
|
5805
|
-
c.id = 1500 +
|
|
5806
|
-
|
|
5807
|
-
|
|
5815
|
+
h.deleteUnnecessaryElements(S, ["bins"]), c.id = 1500 + S, c.positionX = te + 0.5, c.positionY = 0, c.positionZ = oe + 0.5, c.rotationX = 270, c.rotationY = 360, c.rotationZ = 0, c.width = 2, c.height = 2, c.value = "0", c.color = p.getAxisColor("y"), e.normalXAxis.attributes[0] = f.axisTemplate(c), h.updateElement(0, d, "normalXAxis", "a-entity"), c.positionZ = o - 2.5, c.rotationX = 270, c.rotationY = 180, e.reversedYAxis.attributes[0] = f.axisTemplate(c), h.updateElement(0, d, "reversedYAxis", "a-entity"), c.positionX = n - 2.5, c.positionZ = oe + 0.5, e.normalYAxis.attributes[0] = f.axisTemplate(c), h.updateElement(0, d, "normalYAxis", "a-entity"), c.positionZ = o - 2.5, c.rotationY = 180, e.reversedXAxis.attributes[0] = f.axisTemplate(c), h.updateElement(0, d, "reversedXAxis", "a-entity"), S = 1;
|
|
5816
|
+
for (let L = o; L <= oe; L++)
|
|
5817
|
+
c.id = 1500 + S, c.positionX = n - 2.5, c.positionY = 0, c.positionZ = L - 1, c.rotationX = 270, c.rotationY = 180, c.rotationZ = 0, c.width = 2, c.height = 1, c.value = `${K[L - 1] ? K[L - 1].fString : L - 1}`, c.color = p.getAxisColor("z"), e.normalYAxis.attributes[S] = f.axisTemplate(c), h.updateElement(S, d, "normalYAxis", "a-entity"), c.id = 4500 + S, c.positionX = te + 0.5, c.rotationY = 360, c.value = `${K[L - 1] ? K[L - 1].fString : L - 1}`, e.reversedYAxis.attributes[S] = f.axisTemplate(c), h.updateElement(
|
|
5818
|
+
S,
|
|
5819
|
+
d,
|
|
5808
5820
|
"reversedYAxis",
|
|
5809
5821
|
"a-entity"
|
|
5810
|
-
),
|
|
5811
|
-
|
|
5822
|
+
), S++;
|
|
5823
|
+
h.deleteUnnecessaryElements(S, [
|
|
5812
5824
|
"normalYAxis",
|
|
5813
5825
|
"reversedYAxis"
|
|
5814
|
-
]),
|
|
5815
|
-
for (let
|
|
5816
|
-
c.id = 1500 +
|
|
5817
|
-
|
|
5818
|
-
|
|
5826
|
+
]), S = 1;
|
|
5827
|
+
for (let L = n; L <= te; L++)
|
|
5828
|
+
c.id = 1500 + S, c.positionX = L - 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 = `${U[L - 1] ? U[L - 1].fString : L - 1}`, c.color = p.getAxisColor("x"), e.normalXAxis.attributes[S] = f.axisTemplate(c), h.updateElement(S, d, "normalXAxis", "a-entity"), c.id = 4500 + S, c.positionZ = oe + 0.5, c.rotationX = 270, c.rotationY = 90, c.value = `${U[L - 1] ? U[L - 1].fString : L - 1}`, e.reversedXAxis.attributes[S] = f.axisTemplate(c), h.updateElement(
|
|
5829
|
+
S,
|
|
5830
|
+
d,
|
|
5819
5831
|
"reversedXAxis",
|
|
5820
5832
|
"a-entity"
|
|
5821
|
-
),
|
|
5822
|
-
|
|
5833
|
+
), S++;
|
|
5834
|
+
h.deleteUnnecessaryElements(S, [
|
|
5823
5835
|
"normalXAxis",
|
|
5824
5836
|
"reversedXAxis"
|
|
5825
|
-
]), c.positionX = n, c.positionY = 0, c.positionZ = o - 4, c.rotationX = 270, c.rotationY = 180, c.rotationZ = 0, c.width = 4, c.height = 1, c.value =
|
|
5826
|
-
const
|
|
5827
|
-
|
|
5837
|
+
]), c.positionX = n, c.positionY = 0, c.positionZ = o - 4, c.rotationX = 270, c.rotationY = 180, c.rotationZ = 0, c.width = 4, c.height = 1, c.value = he, c.id = "downLabel", e.labels.attributes[0] = f.labelTemplate(c), h.updateElement(0, d, "labels", "a-entity"), c.positionX = te - 2.5, c.positionZ = oe + 2, c.rotationY = 0, c.id = "upLabel", e.labels.attributes[1] = f.labelTemplate(c), h.updateElement(1, d, "labels", "a-entity"), c.positionX = n - 4, c.positionY = 0, c.positionZ = o + 0.5, c.rotationX = 270, c.rotationY = 270, c.rotationZ = 0, c.width = 4, c.height = 1, c.value = W, c.color = p.getAxisColor("z"), c.id = "leftLabel", e.labels.attributes[2] = f.labelTemplate(c), h.updateElement(2, d, "labels", "a-entity"), c.positionX = te + 2, c.positionZ = oe - 2.5, c.rotationX = 270, c.rotationY = 90, c.id = "rightLabel", e.labels.attributes[3] = f.labelTemplate(c), h.updateElement(3, d, "labels", "a-entity"), c.positionX = n - 90, c.positionY = -6.5, c.positionZ = o + 90, c.rotationX = 0, c.rotationY = 123, c.rotationZ = 0, c.title = t.fTitle, c.color = p.getPrimaryFontColor();
|
|
5838
|
+
const F = {};
|
|
5839
|
+
F.positionX = 0, F.positionY = 0, F.positionZ = -1, F.width = 170, F.height = 30, F.color = "white", e.titles.attributes[0] = f.titleTemplate(c, F), h.updateElement(0, d, "titles", "a-entity"), c.positionX = n + 120, c.positionZ = o - 70, c.rotationY = 330, c.title = t.fName, e.titles.attributes[1] = f.titleTemplate(c, F), h.updateElement(1, d, "titles", "a-entity");
|
|
5828
5840
|
}
|
|
5829
5841
|
const Ms = (r, e) => r <= 0 ? 0 : (e > 1 && (r = Math.round((r / e + Number.EPSILON) * 100) / 100), r);
|
|
5830
5842
|
var Rr;
|
|
@@ -5837,8 +5849,8 @@ class Ns {
|
|
|
5837
5849
|
const s = wi("TH2I", e, t);
|
|
5838
5850
|
let a = n;
|
|
5839
5851
|
for (let f = 1; f <= 20; f++)
|
|
5840
|
-
for (let
|
|
5841
|
-
const p = s.getBin(
|
|
5852
|
+
for (let h = 1; h <= 20; h++) {
|
|
5853
|
+
const p = s.getBin(h, f);
|
|
5842
5854
|
let c = 0;
|
|
5843
5855
|
c = a, s.setBinContent(p, c), a += o;
|
|
5844
5856
|
}
|
|
@@ -5852,12 +5864,12 @@ class Ns {
|
|
|
5852
5864
|
n
|
|
5853
5865
|
);
|
|
5854
5866
|
let f = o;
|
|
5855
|
-
for (let
|
|
5867
|
+
for (let h = 1; h <= 20; h++)
|
|
5856
5868
|
for (let p = 1; p <= 20; p++)
|
|
5857
5869
|
for (let c = 1; c <= 20; c++) {
|
|
5858
|
-
const
|
|
5859
|
-
let
|
|
5860
|
-
|
|
5870
|
+
const d = a.getBin(c, p, h);
|
|
5871
|
+
let w = 0;
|
|
5872
|
+
w = f, a.setBinContent(d, w), f += s;
|
|
5861
5873
|
}
|
|
5862
5874
|
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 = f, a;
|
|
5863
5875
|
}
|
|
@@ -5940,7 +5952,7 @@ const ca = wt.registerComponent("th2-histogram", {
|
|
|
5940
5952
|
n.range
|
|
5941
5953
|
), e(n);
|
|
5942
5954
|
};
|
|
5943
|
-
this.subscription =
|
|
5955
|
+
this.subscription = Se.getChangedSection().subscribe(t);
|
|
5944
5956
|
},
|
|
5945
5957
|
update: function() {
|
|
5946
5958
|
yn(), this.section = JSON.parse(this.data.section), Fn(this.data.filename).then((r) => r.readObject("hUsersVsProjects")).then((r) => {
|
|
@@ -6002,22 +6014,22 @@ const ca = wt.registerComponent("th2-histogram", {
|
|
|
6002
6014
|
});
|
|
6003
6015
|
let rr = new lr();
|
|
6004
6016
|
const Ys = (r) => {
|
|
6005
|
-
r.detail.y > 0.95 && (
|
|
6017
|
+
r.detail.y > 0.95 && (Se.changeHistogramSectionByOffset(
|
|
6006
6018
|
"yOffset",
|
|
6007
6019
|
"TH2",
|
|
6008
6020
|
!1,
|
|
6009
6021
|
!1
|
|
6010
|
-
),
|
|
6022
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6011
6023
|
"yOffset",
|
|
6012
6024
|
"TH3",
|
|
6013
6025
|
!1,
|
|
6014
6026
|
!1
|
|
6015
|
-
)), r.detail.y < -0.95 && (
|
|
6027
|
+
)), r.detail.y < -0.95 && (Se.changeHistogramSectionByOffset(
|
|
6016
6028
|
"yOffset",
|
|
6017
6029
|
"TH2",
|
|
6018
6030
|
!0,
|
|
6019
6031
|
!1
|
|
6020
|
-
),
|
|
6032
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6021
6033
|
"yOffset",
|
|
6022
6034
|
"TH3",
|
|
6023
6035
|
!0,
|
|
@@ -6027,12 +6039,12 @@ const Ys = (r) => {
|
|
|
6027
6039
|
"TH1",
|
|
6028
6040
|
!0,
|
|
6029
6041
|
!1
|
|
6030
|
-
),
|
|
6042
|
+
), Se.changeHistogramSectionByOffset(
|
|
6031
6043
|
"xOffset",
|
|
6032
6044
|
"TH2",
|
|
6033
6045
|
!0,
|
|
6034
6046
|
!1
|
|
6035
|
-
),
|
|
6047
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6036
6048
|
"xOffset",
|
|
6037
6049
|
"TH3",
|
|
6038
6050
|
!0,
|
|
@@ -6042,34 +6054,34 @@ const Ys = (r) => {
|
|
|
6042
6054
|
"TH1",
|
|
6043
6055
|
!1,
|
|
6044
6056
|
!1
|
|
6045
|
-
),
|
|
6057
|
+
), Se.changeHistogramSectionByOffset(
|
|
6046
6058
|
"xOffset",
|
|
6047
6059
|
"TH2",
|
|
6048
6060
|
!1,
|
|
6049
6061
|
!1
|
|
6050
|
-
),
|
|
6062
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6051
6063
|
"xOffset",
|
|
6052
6064
|
"TH3",
|
|
6053
6065
|
!1,
|
|
6054
6066
|
!1
|
|
6055
6067
|
));
|
|
6056
6068
|
}, js = (r) => {
|
|
6057
|
-
r.detail.y > 0.95 && (
|
|
6069
|
+
r.detail.y > 0.95 && (Se.changeHistogramSectionByOffset(
|
|
6058
6070
|
"yOffset",
|
|
6059
6071
|
"TH2",
|
|
6060
6072
|
!1,
|
|
6061
6073
|
!0
|
|
6062
|
-
),
|
|
6074
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6063
6075
|
"yOffset",
|
|
6064
6076
|
"TH3",
|
|
6065
6077
|
!1,
|
|
6066
6078
|
!0
|
|
6067
|
-
)), r.detail.y < -0.95 && (
|
|
6079
|
+
)), r.detail.y < -0.95 && (Se.changeHistogramSectionByOffset(
|
|
6068
6080
|
"yOffset",
|
|
6069
6081
|
"TH2",
|
|
6070
6082
|
!0,
|
|
6071
6083
|
!0
|
|
6072
|
-
),
|
|
6084
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6073
6085
|
"yOffset",
|
|
6074
6086
|
"TH3",
|
|
6075
6087
|
!0,
|
|
@@ -6079,12 +6091,12 @@ const Ys = (r) => {
|
|
|
6079
6091
|
"TH1",
|
|
6080
6092
|
!0,
|
|
6081
6093
|
!0
|
|
6082
|
-
),
|
|
6094
|
+
), Se.changeHistogramSectionByOffset(
|
|
6083
6095
|
"xOffset",
|
|
6084
6096
|
"TH2",
|
|
6085
6097
|
!0,
|
|
6086
6098
|
!0
|
|
6087
|
-
),
|
|
6099
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6088
6100
|
"xOffset",
|
|
6089
6101
|
"TH3",
|
|
6090
6102
|
!0,
|
|
@@ -6094,12 +6106,12 @@ const Ys = (r) => {
|
|
|
6094
6106
|
"TH1",
|
|
6095
6107
|
!1,
|
|
6096
6108
|
!0
|
|
6097
|
-
),
|
|
6109
|
+
), Se.changeHistogramSectionByOffset(
|
|
6098
6110
|
"xOffset",
|
|
6099
6111
|
"TH2",
|
|
6100
6112
|
!1,
|
|
6101
6113
|
!0
|
|
6102
|
-
),
|
|
6114
|
+
), Pe.changeHistogramSectionByOffset(
|
|
6103
6115
|
"xOffset",
|
|
6104
6116
|
"TH3",
|
|
6105
6117
|
!1,
|
|
@@ -6108,24 +6120,24 @@ const Ys = (r) => {
|
|
|
6108
6120
|
}, Fs = (r, e) => {
|
|
6109
6121
|
r.detail.y > 0.95 && rr.horizontalMoveCamera("z", !1, e), r.detail.y < -0.95 && rr.horizontalMoveCamera("z", !0, e), r.detail.x < -0.95 && rr.horizontalMoveCamera("x", !0, e), r.detail.x > 0.95 && rr.horizontalMoveCamera("x", !1, e);
|
|
6110
6122
|
}, Ls = (r) => {
|
|
6111
|
-
r.detail.y > 0.95 && (
|
|
6123
|
+
r.detail.y > 0.95 && (Se.changeHistogramScale(-0.1, "TH2"), Ae.next({
|
|
6112
6124
|
scale: -0.1
|
|
6113
|
-
})), r.detail.y < -0.95 && (
|
|
6125
|
+
})), r.detail.y < -0.95 && (Se.changeHistogramScale(0.1, "TH2"), Ae.next({
|
|
6114
6126
|
scale: 0.1
|
|
6115
6127
|
}));
|
|
6116
6128
|
}, Xs = (r) => {
|
|
6117
|
-
r.detail.y > 0.95 ?
|
|
6129
|
+
r.detail.y > 0.95 ? Ae.next({ source: "next" }) : r.detail.y < -0.95 && Ae.next({ source: "prev" });
|
|
6118
6130
|
}, qi = (r) => {
|
|
6119
|
-
r === "Y" ?
|
|
6131
|
+
r === "Y" ? Ae.next({ tool: "next" }) : Ae.next({ tool: "prev" });
|
|
6120
6132
|
}, Ji = (r) => {
|
|
6121
|
-
|
|
6133
|
+
Pe.changeHistogramSectionByOffset(
|
|
6122
6134
|
"zOffset",
|
|
6123
6135
|
"TH3",
|
|
6124
6136
|
!0,
|
|
6125
6137
|
r
|
|
6126
6138
|
);
|
|
6127
6139
|
}, Qi = (r) => {
|
|
6128
|
-
|
|
6140
|
+
Pe.changeHistogramSectionByOffset(
|
|
6129
6141
|
"zOffset",
|
|
6130
6142
|
"TH3",
|
|
6131
6143
|
!1,
|
|
@@ -6140,13 +6152,13 @@ const Ys = (r) => {
|
|
|
6140
6152
|
}, Zs = (r, e) => {
|
|
6141
6153
|
Fs(r, e);
|
|
6142
6154
|
}, Us = () => {
|
|
6143
|
-
Er.saveSelectedBinToLocalStorage(), ei() === 0 &&
|
|
6155
|
+
Er.saveSelectedBinToLocalStorage(), ei() === 0 && Ae.next({ binData: Er });
|
|
6144
6156
|
}, Gs = () => {
|
|
6145
6157
|
Er.deleteBinFromLocalStorage();
|
|
6146
6158
|
}, Ks = () => {
|
|
6147
|
-
|
|
6159
|
+
Se.changeHistogramFunction("feet", "TH2");
|
|
6148
6160
|
}, qs = () => {
|
|
6149
|
-
|
|
6161
|
+
Se.changeHistogramFunction("default", "TH2");
|
|
6150
6162
|
}, Js = () => {
|
|
6151
6163
|
xt.setVisibilityOfBanners("oculus");
|
|
6152
6164
|
}, Qs = () => {
|