@ndmspc/ndmvr 0.20230414.0 → 0.20230424.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 +1072 -1014
- package/dist/ndmvr.umd.js +45 -45
- package/package.json +1 -1
package/dist/ndmvr.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Re = (r, e, t) => (
|
|
1
|
+
var In = Object.defineProperty;
|
|
2
|
+
var Fn = (r, e, t) => e in r ? In(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var Re = (r, e, t) => (Fn(r, typeof e != "symbol" ? e + "" : e, t), t), jr = (r, e, t) => {
|
|
4
4
|
if (!e.has(r))
|
|
5
5
|
throw TypeError("Cannot " + t);
|
|
6
6
|
};
|
|
7
|
-
var o = (r, e, t) => (
|
|
7
|
+
var o = (r, e, t) => (jr(r, e, "read from private field"), t ? t.call(r) : e.get(r)), Y = (r, e, t) => {
|
|
8
8
|
if (e.has(r))
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
e instanceof WeakSet ? e.add(r) : e.set(r, t);
|
|
11
|
-
}, F = (r, e, t, i) => (
|
|
12
|
-
var
|
|
13
|
-
import Be, { useRef as
|
|
11
|
+
}, F = (r, e, t, i) => (jr(r, e, "write to private field"), i ? i.call(r, t) : e.set(r, t), t);
|
|
12
|
+
var hr = (r, e, t) => (jr(r, e, "access private method"), t);
|
|
13
|
+
import Be, { useRef as tn, useDebugValue as Si, useContext as Ue, createElement as Bn, forwardRef as Yn, useImperativeHandle as jn, useState as Ae, useEffect as pe, useLayoutEffect as Nn } from "react";
|
|
14
14
|
import Le from "aframe";
|
|
15
|
-
import { createHistogram as wi, openFile as
|
|
15
|
+
import { toJSON as Ln, createHistogram as wi, openFile as Vn } from "jsroot";
|
|
16
16
|
import * as Et from "three";
|
|
17
|
-
var
|
|
17
|
+
var Mr = { exports: {} }, Qt = {};
|
|
18
18
|
var Ci;
|
|
19
|
-
function
|
|
19
|
+
function Xn() {
|
|
20
20
|
if (Ci)
|
|
21
|
-
return
|
|
21
|
+
return Qt;
|
|
22
22
|
Ci = 1;
|
|
23
23
|
var r = Be, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, n = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
24
24
|
function a(l, u, h) {
|
|
@@ -31,48 +31,48 @@ function jn() {
|
|
|
31
31
|
p[c] === void 0 && (p[c] = u[c]);
|
|
32
32
|
return { $$typeof: e, type: l, key: x, ref: b, props: p, _owner: n.current };
|
|
33
33
|
}
|
|
34
|
-
return
|
|
34
|
+
return Qt.Fragment = t, Qt.jsx = a, Qt.jsxs = a, Qt;
|
|
35
35
|
}
|
|
36
|
-
var
|
|
36
|
+
var er = {};
|
|
37
37
|
var Ei;
|
|
38
|
-
function
|
|
38
|
+
function Wn() {
|
|
39
39
|
return Ei || (Ei = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var r = Be, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), E = Symbol.iterator,
|
|
40
|
+
var r = Be, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), E = Symbol.iterator, C = "@@iterator";
|
|
41
41
|
function d(f) {
|
|
42
42
|
if (f === null || typeof f != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var P = E && f[E] || f[
|
|
44
|
+
var P = E && f[E] || f[C];
|
|
45
45
|
return typeof P == "function" ? P : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var w = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
48
|
function S(f) {
|
|
49
49
|
{
|
|
50
|
-
for (var P = arguments.length, D = new Array(P > 1 ? P - 1 : 0),
|
|
51
|
-
D[
|
|
52
|
-
|
|
50
|
+
for (var P = arguments.length, D = new Array(P > 1 ? P - 1 : 0), q = 1; q < P; q++)
|
|
51
|
+
D[q - 1] = arguments[q];
|
|
52
|
+
O("error", f, D);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function O(f, P, D) {
|
|
56
56
|
{
|
|
57
|
-
var
|
|
58
|
-
|
|
57
|
+
var q = w.ReactDebugCurrentFrame, ge = q.getStackAddendum();
|
|
58
|
+
ge !== "" && (P += "%s", D = D.concat([ge]));
|
|
59
59
|
var ke = D.map(function(he) {
|
|
60
60
|
return String(he);
|
|
61
61
|
});
|
|
62
62
|
ke.unshift("Warning: " + P), Function.prototype.apply.call(console[f], console, ke);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var _ = !1, g = !1, W = !1, H = !1, A = !1, B;
|
|
66
66
|
B = Symbol.for("react.module.reference");
|
|
67
67
|
function re(f) {
|
|
68
|
-
return !!(typeof f == "string" || typeof f == "function" || f === i || f === s ||
|
|
68
|
+
return !!(typeof f == "string" || typeof f == "function" || f === i || f === s || A || f === n || f === h || f === c || H || f === b || _ || g || W || typeof f == "object" && f !== null && (f.$$typeof === x || f.$$typeof === p || f.$$typeof === a || f.$$typeof === l || f.$$typeof === u || f.$$typeof === B || f.getModuleId !== void 0));
|
|
69
69
|
}
|
|
70
70
|
function U(f, P, D) {
|
|
71
|
-
var
|
|
72
|
-
if (
|
|
73
|
-
return
|
|
74
|
-
var
|
|
75
|
-
return
|
|
71
|
+
var q = f.displayName;
|
|
72
|
+
if (q)
|
|
73
|
+
return q;
|
|
74
|
+
var ge = P.displayName || P.name || "";
|
|
75
|
+
return ge !== "" ? D + "(" + ge + ")" : D;
|
|
76
76
|
}
|
|
77
77
|
function I(f) {
|
|
78
78
|
return f.displayName || "Context";
|
|
@@ -109,10 +109,10 @@ function Nn() {
|
|
|
109
109
|
case u:
|
|
110
110
|
return U(f, f.render, "ForwardRef");
|
|
111
111
|
case p:
|
|
112
|
-
var
|
|
113
|
-
return
|
|
112
|
+
var q = f.displayName || null;
|
|
113
|
+
return q !== null ? q : V(f.type) || "Memo";
|
|
114
114
|
case x: {
|
|
115
|
-
var
|
|
115
|
+
var ge = f, ke = ge._payload, he = ge._init;
|
|
116
116
|
try {
|
|
117
117
|
return V(he(ke));
|
|
118
118
|
} catch {
|
|
@@ -122,14 +122,14 @@ function Nn() {
|
|
|
122
122
|
}
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
125
|
-
var J = Object.assign, X = 0, N, ue, le, we,
|
|
125
|
+
var J = Object.assign, X = 0, N, ue, le, we, Te, Ie, $;
|
|
126
126
|
function R() {
|
|
127
127
|
}
|
|
128
128
|
R.__reactDisabledLog = !0;
|
|
129
129
|
function M() {
|
|
130
130
|
{
|
|
131
131
|
if (X === 0) {
|
|
132
|
-
N = console.log, ue = console.info, le = console.warn, we = console.error,
|
|
132
|
+
N = console.log, ue = console.info, le = console.warn, we = console.error, Te = console.group, Ie = console.groupCollapsed, $ = console.groupEnd;
|
|
133
133
|
var f = {
|
|
134
134
|
configurable: !0,
|
|
135
135
|
enumerable: !0,
|
|
@@ -171,7 +171,7 @@ function Nn() {
|
|
|
171
171
|
value: we
|
|
172
172
|
}),
|
|
173
173
|
group: J({}, f, {
|
|
174
|
-
value:
|
|
174
|
+
value: Te
|
|
175
175
|
}),
|
|
176
176
|
groupCollapsed: J({}, f, {
|
|
177
177
|
value: Ie
|
|
@@ -184,15 +184,15 @@ function Nn() {
|
|
|
184
184
|
X < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var m =
|
|
188
|
-
function
|
|
187
|
+
var m = w.ReactCurrentDispatcher, Q;
|
|
188
|
+
function k(f, P, D) {
|
|
189
189
|
{
|
|
190
190
|
if (Q === void 0)
|
|
191
191
|
try {
|
|
192
192
|
throw Error();
|
|
193
|
-
} catch (
|
|
194
|
-
var
|
|
195
|
-
Q =
|
|
193
|
+
} catch (ge) {
|
|
194
|
+
var q = ge.stack.trim().match(/\n( *(at )?)/);
|
|
195
|
+
Q = q && q[1] || "";
|
|
196
196
|
}
|
|
197
197
|
return `
|
|
198
198
|
` + Q + f;
|
|
@@ -211,9 +211,9 @@ function Nn() {
|
|
|
211
211
|
if (D !== void 0)
|
|
212
212
|
return D;
|
|
213
213
|
}
|
|
214
|
-
var
|
|
214
|
+
var q;
|
|
215
215
|
de = !0;
|
|
216
|
-
var
|
|
216
|
+
var ge = Error.prepareStackTrace;
|
|
217
217
|
Error.prepareStackTrace = void 0;
|
|
218
218
|
var ke;
|
|
219
219
|
ke = m.current, m.current = null, M();
|
|
@@ -230,14 +230,14 @@ function Nn() {
|
|
|
230
230
|
try {
|
|
231
231
|
Reflect.construct(he, []);
|
|
232
232
|
} catch (ct) {
|
|
233
|
-
|
|
233
|
+
q = ct;
|
|
234
234
|
}
|
|
235
235
|
Reflect.construct(f, [], he);
|
|
236
236
|
} else {
|
|
237
237
|
try {
|
|
238
238
|
he.call();
|
|
239
239
|
} catch (ct) {
|
|
240
|
-
|
|
240
|
+
q = ct;
|
|
241
241
|
}
|
|
242
242
|
f.call(he.prototype);
|
|
243
243
|
}
|
|
@@ -245,14 +245,14 @@ function Nn() {
|
|
|
245
245
|
try {
|
|
246
246
|
throw Error();
|
|
247
247
|
} catch (ct) {
|
|
248
|
-
|
|
248
|
+
q = ct;
|
|
249
249
|
}
|
|
250
250
|
f();
|
|
251
251
|
}
|
|
252
252
|
} catch (ct) {
|
|
253
|
-
if (ct &&
|
|
253
|
+
if (ct && q && typeof ct.stack == "string") {
|
|
254
254
|
for (var ae = ct.stack.split(`
|
|
255
|
-
`), Ye =
|
|
255
|
+
`), Ye = q.stack.split(`
|
|
256
256
|
`), ze = ae.length - 1, Me = Ye.length - 1; ze >= 1 && Me >= 0 && ae[ze] !== Ye[Me]; )
|
|
257
257
|
Me--;
|
|
258
258
|
for (; ze >= 1 && Me >= 0; ze--, Me--)
|
|
@@ -260,18 +260,18 @@ function Nn() {
|
|
|
260
260
|
if (ze !== 1 || Me !== 1)
|
|
261
261
|
do
|
|
262
262
|
if (ze--, Me--, Me < 0 || ae[ze] !== Ye[Me]) {
|
|
263
|
-
var
|
|
263
|
+
var Ze = `
|
|
264
264
|
` + ae[ze].replace(" at new ", " at ");
|
|
265
|
-
return f.displayName &&
|
|
265
|
+
return f.displayName && Ze.includes("<anonymous>") && (Ze = Ze.replace("<anonymous>", f.displayName)), typeof f == "function" && te.set(f, Ze), Ze;
|
|
266
266
|
}
|
|
267
267
|
while (ze >= 1 && Me >= 0);
|
|
268
268
|
break;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
} finally {
|
|
272
|
-
de = !1, m.current = ke, y(), Error.prepareStackTrace =
|
|
272
|
+
de = !1, m.current = ke, y(), Error.prepareStackTrace = ge;
|
|
273
273
|
}
|
|
274
|
-
var $t = f ? f.displayName || f.name : "", xi = $t ?
|
|
274
|
+
var $t = f ? f.displayName || f.name : "", xi = $t ? k($t) : "";
|
|
275
275
|
return typeof f == "function" && te.set(f, xi), xi;
|
|
276
276
|
}
|
|
277
277
|
function ce(f, P, D) {
|
|
@@ -287,12 +287,12 @@ function Nn() {
|
|
|
287
287
|
if (typeof f == "function")
|
|
288
288
|
return T(f, z(f));
|
|
289
289
|
if (typeof f == "string")
|
|
290
|
-
return
|
|
290
|
+
return k(f);
|
|
291
291
|
switch (f) {
|
|
292
292
|
case h:
|
|
293
|
-
return
|
|
293
|
+
return k("Suspense");
|
|
294
294
|
case c:
|
|
295
|
-
return
|
|
295
|
+
return k("SuspenseList");
|
|
296
296
|
}
|
|
297
297
|
if (typeof f == "object")
|
|
298
298
|
switch (f.$$typeof) {
|
|
@@ -301,16 +301,16 @@ function Nn() {
|
|
|
301
301
|
case p:
|
|
302
302
|
return ee(f.type, P, D);
|
|
303
303
|
case x: {
|
|
304
|
-
var
|
|
304
|
+
var q = f, ge = q._payload, ke = q._init;
|
|
305
305
|
try {
|
|
306
|
-
return ee(ke(
|
|
306
|
+
return ee(ke(ge), P, D);
|
|
307
307
|
} catch {
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
return "";
|
|
312
312
|
}
|
|
313
|
-
var Pe = Object.prototype.hasOwnProperty, se = {}, $e =
|
|
313
|
+
var Pe = Object.prototype.hasOwnProperty, se = {}, $e = w.ReactDebugCurrentFrame;
|
|
314
314
|
function Je(f) {
|
|
315
315
|
if (f) {
|
|
316
316
|
var P = f._owner, D = ee(f.type, f._source, P ? P.type : null);
|
|
@@ -318,7 +318,7 @@ function Nn() {
|
|
|
318
318
|
} else
|
|
319
319
|
$e.setExtraStackFrame(null);
|
|
320
320
|
}
|
|
321
|
-
function He(f, P, D,
|
|
321
|
+
function He(f, P, D, q, ge) {
|
|
322
322
|
{
|
|
323
323
|
var ke = Function.call.bind(Pe);
|
|
324
324
|
for (var he in f)
|
|
@@ -326,14 +326,14 @@ function Nn() {
|
|
|
326
326
|
var ae = void 0;
|
|
327
327
|
try {
|
|
328
328
|
if (typeof f[he] != "function") {
|
|
329
|
-
var Ye = Error((
|
|
329
|
+
var Ye = Error((q || "React class") + ": " + D + " type `" + he + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[he] + "`.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
|
-
ae = f[he](P, he,
|
|
332
|
+
ae = f[he](P, he, q, D, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
333
333
|
} catch (ze) {
|
|
334
334
|
ae = ze;
|
|
335
335
|
}
|
|
336
|
-
ae && !(ae instanceof Error) && (Je(
|
|
336
|
+
ae && !(ae instanceof Error) && (Je(ge), S("%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).", q || "React class", D, he, typeof ae), Je(null)), ae instanceof Error && !(ae.message in se) && (se[ae.message] = !0, Je(ge), S("Failed %s type: %s", D, ae.message), Je(null));
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
}
|
|
@@ -347,28 +347,28 @@ function Nn() {
|
|
|
347
347
|
return D;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function K(f) {
|
|
351
351
|
try {
|
|
352
|
-
return
|
|
352
|
+
return Oe(f), !1;
|
|
353
353
|
} catch {
|
|
354
354
|
return !0;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function Oe(f) {
|
|
358
358
|
return "" + f;
|
|
359
359
|
}
|
|
360
360
|
function Dt(f) {
|
|
361
|
-
if (
|
|
362
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(f)),
|
|
361
|
+
if (K(f))
|
|
362
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(f)), Oe(f);
|
|
363
363
|
}
|
|
364
|
-
var lt =
|
|
364
|
+
var lt = w.ReactCurrentOwner, Qe = {
|
|
365
365
|
key: !0,
|
|
366
366
|
ref: !0,
|
|
367
367
|
__self: !0,
|
|
368
368
|
__source: !0
|
|
369
|
-
}, hi, fi,
|
|
370
|
-
|
|
371
|
-
function
|
|
369
|
+
}, hi, fi, Ir;
|
|
370
|
+
Ir = {};
|
|
371
|
+
function wn(f) {
|
|
372
372
|
if (Pe.call(f, "ref")) {
|
|
373
373
|
var P = Object.getOwnPropertyDescriptor(f, "ref").get;
|
|
374
374
|
if (P && P.isReactWarning)
|
|
@@ -376,7 +376,7 @@ function Nn() {
|
|
|
376
376
|
}
|
|
377
377
|
return f.ref !== void 0;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Cn(f) {
|
|
380
380
|
if (Pe.call(f, "key")) {
|
|
381
381
|
var P = Object.getOwnPropertyDescriptor(f, "key").get;
|
|
382
382
|
if (P && P.isReactWarning)
|
|
@@ -384,13 +384,13 @@ function Nn() {
|
|
|
384
384
|
}
|
|
385
385
|
return f.key !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function En(f, P) {
|
|
388
388
|
if (typeof f.ref == "string" && lt.current && P && lt.current.stateNode !== P) {
|
|
389
389
|
var D = V(lt.current.type);
|
|
390
|
-
|
|
390
|
+
Ir[D] || (S('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', V(lt.current.type), f.ref), Ir[D] = !0);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Tn(f, P) {
|
|
394
394
|
{
|
|
395
395
|
var D = function() {
|
|
396
396
|
hi || (hi = !0, S("%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)", P));
|
|
@@ -401,7 +401,7 @@ function Nn() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function kn(f, P) {
|
|
405
405
|
{
|
|
406
406
|
var D = function() {
|
|
407
407
|
fi || (fi = !0, S("%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)", P));
|
|
@@ -412,7 +412,7 @@ function Nn() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var An = function(f, P, D, q, ge, ke, he) {
|
|
416
416
|
var ae = {
|
|
417
417
|
$$typeof: e,
|
|
418
418
|
type: f,
|
|
@@ -430,18 +430,18 @@ function Nn() {
|
|
|
430
430
|
configurable: !1,
|
|
431
431
|
enumerable: !1,
|
|
432
432
|
writable: !1,
|
|
433
|
-
value:
|
|
433
|
+
value: q
|
|
434
434
|
}), Object.defineProperty(ae, "_source", {
|
|
435
435
|
configurable: !1,
|
|
436
436
|
enumerable: !1,
|
|
437
437
|
writable: !1,
|
|
438
|
-
value:
|
|
438
|
+
value: ge
|
|
439
439
|
}), Object.freeze && (Object.freeze(ae.props), Object.freeze(ae)), ae;
|
|
440
440
|
};
|
|
441
|
-
function
|
|
441
|
+
function Pn(f, P, D, q, ge) {
|
|
442
442
|
{
|
|
443
443
|
var ke, he = {}, ae = null, Ye = null;
|
|
444
|
-
D !== void 0 && (Dt(D), ae = "" + D),
|
|
444
|
+
D !== void 0 && (Dt(D), ae = "" + D), Cn(P) && (Dt(P.key), ae = "" + P.key), wn(P) && (Ye = P.ref, En(P, ge));
|
|
445
445
|
for (ke in P)
|
|
446
446
|
Pe.call(P, ke) && !Qe.hasOwnProperty(ke) && (he[ke] = P[ke]);
|
|
447
447
|
if (f && f.defaultProps) {
|
|
@@ -451,12 +451,12 @@ function Nn() {
|
|
|
451
451
|
}
|
|
452
452
|
if (ae || Ye) {
|
|
453
453
|
var Me = typeof f == "function" ? f.displayName || f.name || "Unknown" : f;
|
|
454
|
-
ae &&
|
|
454
|
+
ae && Tn(he, Me), Ye && kn(he, Me);
|
|
455
455
|
}
|
|
456
|
-
return
|
|
456
|
+
return An(f, ae, Ye, ge, q, lt.current, he);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
var
|
|
459
|
+
var Fr = w.ReactCurrentOwner, pi = w.ReactDebugCurrentFrame;
|
|
460
460
|
function zt(f) {
|
|
461
461
|
if (f) {
|
|
462
462
|
var P = f._owner, D = ee(f.type, f._source, P ? P.type : null);
|
|
@@ -464,15 +464,15 @@ function Nn() {
|
|
|
464
464
|
} else
|
|
465
465
|
pi.setExtraStackFrame(null);
|
|
466
466
|
}
|
|
467
|
-
var
|
|
468
|
-
|
|
469
|
-
function
|
|
467
|
+
var Br;
|
|
468
|
+
Br = !1;
|
|
469
|
+
function Yr(f) {
|
|
470
470
|
return typeof f == "object" && f !== null && f.$$typeof === e;
|
|
471
471
|
}
|
|
472
472
|
function mi() {
|
|
473
473
|
{
|
|
474
|
-
if (
|
|
475
|
-
var f = V(
|
|
474
|
+
if (Fr.current) {
|
|
475
|
+
var f = V(Fr.current.type);
|
|
476
476
|
if (f)
|
|
477
477
|
return `
|
|
478
478
|
|
|
@@ -481,7 +481,7 @@ Check the render method of \`` + f + "`.";
|
|
|
481
481
|
return "";
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function _n(f) {
|
|
485
485
|
{
|
|
486
486
|
if (f !== void 0) {
|
|
487
487
|
var P = f.fileName.replace(/^.*[\\\/]/, ""), D = f.lineNumber;
|
|
@@ -493,7 +493,7 @@ Check your code at ` + P + ":" + D + ".";
|
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
var gi = {};
|
|
496
|
-
function
|
|
496
|
+
function On(f) {
|
|
497
497
|
{
|
|
498
498
|
var P = mi();
|
|
499
499
|
if (!P) {
|
|
@@ -510,12 +510,12 @@ Check the top-level render call using <` + D + ">.");
|
|
|
510
510
|
if (!f._store || f._store.validated || f.key != null)
|
|
511
511
|
return;
|
|
512
512
|
f._store.validated = !0;
|
|
513
|
-
var D =
|
|
513
|
+
var D = On(P);
|
|
514
514
|
if (gi[D])
|
|
515
515
|
return;
|
|
516
516
|
gi[D] = !0;
|
|
517
|
-
var
|
|
518
|
-
f && f._owner && f._owner !==
|
|
517
|
+
var q = "";
|
|
518
|
+
f && f._owner && f._owner !== Fr.current && (q = " It was passed a child from " + V(f._owner.type) + "."), zt(f), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', D, q), zt(null);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
function bi(f, P) {
|
|
@@ -524,20 +524,20 @@ Check the top-level render call using <` + D + ">.");
|
|
|
524
524
|
return;
|
|
525
525
|
if (at(f))
|
|
526
526
|
for (var D = 0; D < f.length; D++) {
|
|
527
|
-
var
|
|
528
|
-
|
|
527
|
+
var q = f[D];
|
|
528
|
+
Yr(q) && yi(q, P);
|
|
529
529
|
}
|
|
530
|
-
else if (
|
|
530
|
+
else if (Yr(f))
|
|
531
531
|
f._store && (f._store.validated = !0);
|
|
532
532
|
else if (f) {
|
|
533
|
-
var
|
|
534
|
-
if (typeof
|
|
535
|
-
for (var ke =
|
|
536
|
-
|
|
533
|
+
var ge = d(f);
|
|
534
|
+
if (typeof ge == "function" && ge !== f.entries)
|
|
535
|
+
for (var ke = ge.call(f), he; !(he = ke.next()).done; )
|
|
536
|
+
Yr(he.value) && yi(he.value, P);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function Rn(f) {
|
|
541
541
|
{
|
|
542
542
|
var P = f.type;
|
|
543
543
|
if (P == null || typeof P == "string")
|
|
@@ -550,72 +550,72 @@ Check the top-level render call using <` + D + ">.");
|
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (D) {
|
|
553
|
-
var
|
|
554
|
-
He(D, f.props, "prop",
|
|
555
|
-
} else if (P.PropTypes !== void 0 && !
|
|
556
|
-
|
|
557
|
-
var
|
|
558
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
553
|
+
var q = V(P);
|
|
554
|
+
He(D, f.props, "prop", q, f);
|
|
555
|
+
} else if (P.PropTypes !== void 0 && !Br) {
|
|
556
|
+
Br = !0;
|
|
557
|
+
var ge = V(P);
|
|
558
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ge || "Unknown");
|
|
559
559
|
}
|
|
560
560
|
typeof P.getDefaultProps == "function" && !P.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function Dn(f) {
|
|
564
564
|
{
|
|
565
565
|
for (var P = Object.keys(f.props), D = 0; D < P.length; D++) {
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
zt(f), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
566
|
+
var q = P[D];
|
|
567
|
+
if (q !== "children" && q !== "key") {
|
|
568
|
+
zt(f), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", q), zt(null);
|
|
569
569
|
break;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
f.ref !== null && (zt(f), S("Invalid attribute `ref` supplied to `React.Fragment`."), zt(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
function vi(f, P, D,
|
|
575
|
+
function vi(f, P, D, q, ge, ke) {
|
|
576
576
|
{
|
|
577
577
|
var he = re(f);
|
|
578
578
|
if (!he) {
|
|
579
579
|
var ae = "";
|
|
580
580
|
(f === void 0 || typeof f == "object" && f !== null && Object.keys(f).length === 0) && (ae += " 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
|
-
var Ye =
|
|
581
|
+
var Ye = _n(ge);
|
|
582
582
|
Ye ? ae += Ye : ae += mi();
|
|
583
583
|
var ze;
|
|
584
584
|
f === null ? ze = "null" : at(f) ? ze = "array" : f !== void 0 && f.$$typeof === e ? (ze = "<" + (V(f.type) || "Unknown") + " />", ae = " Did you accidentally export a JSX literal instead of a component?") : ze = typeof f, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ze, ae);
|
|
585
585
|
}
|
|
586
|
-
var Me =
|
|
586
|
+
var Me = Pn(f, P, D, ge, ke);
|
|
587
587
|
if (Me == null)
|
|
588
588
|
return Me;
|
|
589
589
|
if (he) {
|
|
590
|
-
var
|
|
591
|
-
if (
|
|
592
|
-
if (
|
|
593
|
-
if (at(
|
|
594
|
-
for (var $t = 0; $t <
|
|
595
|
-
bi(
|
|
596
|
-
Object.freeze && Object.freeze(
|
|
590
|
+
var Ze = P.children;
|
|
591
|
+
if (Ze !== void 0)
|
|
592
|
+
if (q)
|
|
593
|
+
if (at(Ze)) {
|
|
594
|
+
for (var $t = 0; $t < Ze.length; $t++)
|
|
595
|
+
bi(Ze[$t], f);
|
|
596
|
+
Object.freeze && Object.freeze(Ze);
|
|
597
597
|
} else
|
|
598
598
|
S("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
|
-
bi(
|
|
600
|
+
bi(Ze, f);
|
|
601
601
|
}
|
|
602
|
-
return f === i ?
|
|
602
|
+
return f === i ? Dn(Me) : Rn(Me), Me;
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function zn(f, P, D) {
|
|
606
606
|
return vi(f, P, D, !0);
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function $n(f, P, D) {
|
|
609
609
|
return vi(f, P, D, !1);
|
|
610
610
|
}
|
|
611
|
-
var
|
|
612
|
-
|
|
613
|
-
}()),
|
|
611
|
+
var Mn = $n, Hn = zn;
|
|
612
|
+
er.Fragment = i, er.jsx = Mn, er.jsxs = Hn;
|
|
613
|
+
}()), er;
|
|
614
614
|
}
|
|
615
615
|
(function(r) {
|
|
616
|
-
process.env.NODE_ENV === "production" ? r.exports =
|
|
617
|
-
})(
|
|
618
|
-
const
|
|
616
|
+
process.env.NODE_ENV === "production" ? r.exports = Xn() : r.exports = Wn();
|
|
617
|
+
})(Mr);
|
|
618
|
+
const rn = Mr.exports.Fragment, v = Mr.exports.jsx, oe = Mr.exports.jsxs;
|
|
619
619
|
var Ur = function(r, e) {
|
|
620
620
|
return Ur = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
621
621
|
t.__proto__ = i;
|
|
@@ -647,31 +647,31 @@ var Ti = !1, qe = {
|
|
|
647
647
|
return Ti;
|
|
648
648
|
}
|
|
649
649
|
};
|
|
650
|
-
function
|
|
650
|
+
function rr(r) {
|
|
651
651
|
setTimeout(function() {
|
|
652
652
|
throw r;
|
|
653
653
|
}, 0);
|
|
654
654
|
}
|
|
655
|
-
var
|
|
655
|
+
var Sr = {
|
|
656
656
|
closed: !0,
|
|
657
657
|
next: function(r) {
|
|
658
658
|
},
|
|
659
659
|
error: function(r) {
|
|
660
660
|
if (qe.useDeprecatedSynchronousErrorHandling)
|
|
661
661
|
throw r;
|
|
662
|
-
|
|
662
|
+
rr(r);
|
|
663
663
|
},
|
|
664
664
|
complete: function() {
|
|
665
665
|
}
|
|
666
|
-
},
|
|
666
|
+
}, Un = /* @__PURE__ */ function() {
|
|
667
667
|
return Array.isArray || function(r) {
|
|
668
668
|
return r && typeof r.length == "number";
|
|
669
669
|
};
|
|
670
670
|
}();
|
|
671
|
-
function
|
|
671
|
+
function Zn(r) {
|
|
672
672
|
return r !== null && typeof r == "object";
|
|
673
673
|
}
|
|
674
|
-
var
|
|
674
|
+
var Gn = /* @__PURE__ */ function() {
|
|
675
675
|
function r(e) {
|
|
676
676
|
return Error.call(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
677
677
|
` + e.map(function(t, i) {
|
|
@@ -680,7 +680,7 @@ var Wn = /* @__PURE__ */ function() {
|
|
|
680
680
|
`) : "", this.name = "UnsubscriptionError", this.errors = e, this;
|
|
681
681
|
}
|
|
682
682
|
return r.prototype = /* @__PURE__ */ Object.create(Error.prototype), r;
|
|
683
|
-
}(),
|
|
683
|
+
}(), yr = Gn, sr = /* @__PURE__ */ function() {
|
|
684
684
|
function r(e) {
|
|
685
685
|
this.closed = !1, this._parentOrParents = null, this._subscriptions = null, e && (this._ctorUnsubscribe = !0, this._unsubscribe = e);
|
|
686
686
|
}
|
|
@@ -700,21 +700,21 @@ var Wn = /* @__PURE__ */ function() {
|
|
|
700
700
|
try {
|
|
701
701
|
s.call(this);
|
|
702
702
|
} catch (p) {
|
|
703
|
-
e = p instanceof
|
|
703
|
+
e = p instanceof yr ? ki(p.errors) : [p];
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
|
-
if (
|
|
706
|
+
if (Un(a))
|
|
707
707
|
for (var l = -1, h = a.length; ++l < h; ) {
|
|
708
708
|
var c = a[l];
|
|
709
|
-
if (
|
|
709
|
+
if (Zn(c))
|
|
710
710
|
try {
|
|
711
711
|
c.unsubscribe();
|
|
712
712
|
} catch (x) {
|
|
713
|
-
e = e || [], x instanceof
|
|
713
|
+
e = e || [], x instanceof yr ? e = e.concat(ki(x.errors)) : e.push(x);
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
716
|
if (e)
|
|
717
|
-
throw new
|
|
717
|
+
throw new yr(e);
|
|
718
718
|
}
|
|
719
719
|
}, r.prototype.add = function(e) {
|
|
720
720
|
var t = e;
|
|
@@ -759,12 +759,12 @@ var Wn = /* @__PURE__ */ function() {
|
|
|
759
759
|
return e.closed = !0, e;
|
|
760
760
|
}(new r()), r;
|
|
761
761
|
}();
|
|
762
|
-
function
|
|
762
|
+
function ki(r) {
|
|
763
763
|
return r.reduce(function(e, t) {
|
|
764
|
-
return e.concat(t instanceof
|
|
764
|
+
return e.concat(t instanceof yr ? t.errors : t);
|
|
765
765
|
}, []);
|
|
766
766
|
}
|
|
767
|
-
var
|
|
767
|
+
var wr = /* @__PURE__ */ function() {
|
|
768
768
|
return typeof Symbol == "function" ? /* @__PURE__ */ Symbol("rxSubscriber") : "@@rxSubscriber_" + /* @__PURE__ */ Math.random();
|
|
769
769
|
}(), Mt = /* @__PURE__ */ function(r) {
|
|
770
770
|
qt(e, r);
|
|
@@ -772,24 +772,24 @@ var xr = /* @__PURE__ */ function() {
|
|
|
772
772
|
var s = r.call(this) || this;
|
|
773
773
|
switch (s.syncErrorValue = null, s.syncErrorThrown = !1, s.syncErrorThrowable = !1, s.isStopped = !1, arguments.length) {
|
|
774
774
|
case 0:
|
|
775
|
-
s.destination =
|
|
775
|
+
s.destination = Sr;
|
|
776
776
|
break;
|
|
777
777
|
case 1:
|
|
778
778
|
if (!t) {
|
|
779
|
-
s.destination =
|
|
779
|
+
s.destination = Sr;
|
|
780
780
|
break;
|
|
781
781
|
}
|
|
782
782
|
if (typeof t == "object") {
|
|
783
|
-
t instanceof e ? (s.syncErrorThrowable = t.syncErrorThrowable, s.destination = t, t.add(s)) : (s.syncErrorThrowable = !0, s.destination = new
|
|
783
|
+
t instanceof e ? (s.syncErrorThrowable = t.syncErrorThrowable, s.destination = t, t.add(s)) : (s.syncErrorThrowable = !0, s.destination = new Ai(s, t));
|
|
784
784
|
break;
|
|
785
785
|
}
|
|
786
786
|
default:
|
|
787
|
-
s.syncErrorThrowable = !0, s.destination = new
|
|
787
|
+
s.syncErrorThrowable = !0, s.destination = new Ai(s, t, i, n);
|
|
788
788
|
break;
|
|
789
789
|
}
|
|
790
790
|
return s;
|
|
791
791
|
}
|
|
792
|
-
return e.prototype[
|
|
792
|
+
return e.prototype[wr] = function() {
|
|
793
793
|
return this;
|
|
794
794
|
}, e.create = function(t, i, n) {
|
|
795
795
|
var s = new e(t, i, n);
|
|
@@ -812,13 +812,13 @@ var xr = /* @__PURE__ */ function() {
|
|
|
812
812
|
var t = this._parentOrParents;
|
|
813
813
|
return this._parentOrParents = null, this.unsubscribe(), this.closed = !1, this.isStopped = !1, this._parentOrParents = t, this;
|
|
814
814
|
}, e;
|
|
815
|
-
}(
|
|
815
|
+
}(sr), Ai = /* @__PURE__ */ function(r) {
|
|
816
816
|
qt(e, r);
|
|
817
817
|
function e(t, i, n, s) {
|
|
818
818
|
var a = r.call(this) || this;
|
|
819
819
|
a._parentSubscriber = t;
|
|
820
820
|
var l, u = a;
|
|
821
|
-
return Zr(i) ? l = i : i && (l = i.next, n = i.error, s = i.complete, i !==
|
|
821
|
+
return Zr(i) ? l = i : i && (l = i.next, n = i.error, s = i.complete, i !== Sr && (u = Object.create(i), Zr(u.unsubscribe) && a.add(u.unsubscribe.bind(u)), u.unsubscribe = a.unsubscribe.bind(a))), a._context = u, a._next = l, a._error = n, a._complete = s, a;
|
|
822
822
|
}
|
|
823
823
|
return e.prototype.next = function(t) {
|
|
824
824
|
if (!this.isStopped && this._next) {
|
|
@@ -831,11 +831,11 @@ var xr = /* @__PURE__ */ function() {
|
|
|
831
831
|
if (this._error)
|
|
832
832
|
!n || !i.syncErrorThrowable ? (this.__tryOrUnsub(this._error, t), this.unsubscribe()) : (this.__tryOrSetError(i, this._error, t), this.unsubscribe());
|
|
833
833
|
else if (i.syncErrorThrowable)
|
|
834
|
-
n ? (i.syncErrorValue = t, i.syncErrorThrown = !0) :
|
|
834
|
+
n ? (i.syncErrorValue = t, i.syncErrorThrown = !0) : rr(t), this.unsubscribe();
|
|
835
835
|
else {
|
|
836
836
|
if (this.unsubscribe(), n)
|
|
837
837
|
throw t;
|
|
838
|
-
|
|
838
|
+
rr(t);
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
841
|
}, e.prototype.complete = function() {
|
|
@@ -856,7 +856,7 @@ var xr = /* @__PURE__ */ function() {
|
|
|
856
856
|
} catch (n) {
|
|
857
857
|
if (this.unsubscribe(), qe.useDeprecatedSynchronousErrorHandling)
|
|
858
858
|
throw n;
|
|
859
|
-
|
|
859
|
+
rr(n);
|
|
860
860
|
}
|
|
861
861
|
}, e.prototype.__tryOrSetError = function(t, i, n) {
|
|
862
862
|
if (!qe.useDeprecatedSynchronousErrorHandling)
|
|
@@ -864,7 +864,7 @@ var xr = /* @__PURE__ */ function() {
|
|
|
864
864
|
try {
|
|
865
865
|
i.call(this._context, n);
|
|
866
866
|
} catch (s) {
|
|
867
|
-
return qe.useDeprecatedSynchronousErrorHandling ? (t.syncErrorValue = s, t.syncErrorThrown = !0, !0) : (
|
|
867
|
+
return qe.useDeprecatedSynchronousErrorHandling ? (t.syncErrorValue = s, t.syncErrorThrown = !0, !0) : (rr(s), !0);
|
|
868
868
|
}
|
|
869
869
|
return !1;
|
|
870
870
|
}, e.prototype._unsubscribe = function() {
|
|
@@ -872,7 +872,7 @@ var xr = /* @__PURE__ */ function() {
|
|
|
872
872
|
this._context = null, this._parentSubscriber = null, t.unsubscribe();
|
|
873
873
|
}, e;
|
|
874
874
|
}(Mt);
|
|
875
|
-
function
|
|
875
|
+
function Kn(r) {
|
|
876
876
|
for (; r; ) {
|
|
877
877
|
var e = r, t = e.closed, i = e.destination, n = e.isStopped;
|
|
878
878
|
if (t || n)
|
|
@@ -881,23 +881,23 @@ function Un(r) {
|
|
|
881
881
|
}
|
|
882
882
|
return !0;
|
|
883
883
|
}
|
|
884
|
-
function
|
|
884
|
+
function qn(r, e, t) {
|
|
885
885
|
if (r) {
|
|
886
886
|
if (r instanceof Mt)
|
|
887
887
|
return r;
|
|
888
|
-
if (r[
|
|
889
|
-
return r[
|
|
888
|
+
if (r[wr])
|
|
889
|
+
return r[wr]();
|
|
890
890
|
}
|
|
891
|
-
return !r && !e && !t ? new Mt(
|
|
891
|
+
return !r && !e && !t ? new Mt(Sr) : new Mt(r, e, t);
|
|
892
892
|
}
|
|
893
|
-
var
|
|
893
|
+
var Jn = /* @__PURE__ */ function() {
|
|
894
894
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
895
895
|
}();
|
|
896
|
-
function
|
|
896
|
+
function Qn(r) {
|
|
897
897
|
return r;
|
|
898
898
|
}
|
|
899
|
-
function
|
|
900
|
-
return r.length === 0 ?
|
|
899
|
+
function eo(r) {
|
|
900
|
+
return r.length === 0 ? Qn : r.length === 1 ? r[0] : function(t) {
|
|
901
901
|
return r.reduce(function(i, n) {
|
|
902
902
|
return n(i);
|
|
903
903
|
}, t);
|
|
@@ -911,7 +911,7 @@ var Pi = /* @__PURE__ */ function() {
|
|
|
911
911
|
var t = new r();
|
|
912
912
|
return t.source = this, t.operator = e, t;
|
|
913
913
|
}, r.prototype.subscribe = function(e, t, i) {
|
|
914
|
-
var n = this.operator, s =
|
|
914
|
+
var n = this.operator, s = qn(e, t, i);
|
|
915
915
|
if (n ? s.add(n.call(s, this.source)) : s.add(this.source || qe.useDeprecatedSynchronousErrorHandling && !s.syncErrorThrowable ? this._subscribe(s) : this._trySubscribe(s)), qe.useDeprecatedSynchronousErrorHandling && s.syncErrorThrowable && (s.syncErrorThrowable = !1, s.syncErrorThrown))
|
|
916
916
|
throw s.syncErrorValue;
|
|
917
917
|
return s;
|
|
@@ -919,11 +919,11 @@ var Pi = /* @__PURE__ */ function() {
|
|
|
919
919
|
try {
|
|
920
920
|
return this._subscribe(e);
|
|
921
921
|
} catch (t) {
|
|
922
|
-
qe.useDeprecatedSynchronousErrorHandling && (e.syncErrorThrown = !0, e.syncErrorValue = t),
|
|
922
|
+
qe.useDeprecatedSynchronousErrorHandling && (e.syncErrorThrown = !0, e.syncErrorValue = t), Kn(e) ? e.error(t) : console.warn(t);
|
|
923
923
|
}
|
|
924
924
|
}, r.prototype.forEach = function(e, t) {
|
|
925
925
|
var i = this;
|
|
926
|
-
return t =
|
|
926
|
+
return t = _i(t), new t(function(n, s) {
|
|
927
927
|
var a;
|
|
928
928
|
a = i.subscribe(function(l) {
|
|
929
929
|
try {
|
|
@@ -936,15 +936,15 @@ var Pi = /* @__PURE__ */ function() {
|
|
|
936
936
|
}, r.prototype._subscribe = function(e) {
|
|
937
937
|
var t = this.source;
|
|
938
938
|
return t && t.subscribe(e);
|
|
939
|
-
}, r.prototype[
|
|
939
|
+
}, r.prototype[Jn] = function() {
|
|
940
940
|
return this;
|
|
941
941
|
}, r.prototype.pipe = function() {
|
|
942
942
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
943
943
|
e[t] = arguments[t];
|
|
944
|
-
return e.length === 0 ? this :
|
|
944
|
+
return e.length === 0 ? this : eo(e)(this);
|
|
945
945
|
}, r.prototype.toPromise = function(e) {
|
|
946
946
|
var t = this;
|
|
947
|
-
return e =
|
|
947
|
+
return e = _i(e), new e(function(i, n) {
|
|
948
948
|
var s;
|
|
949
949
|
t.subscribe(function(a) {
|
|
950
950
|
return s = a;
|
|
@@ -958,17 +958,17 @@ var Pi = /* @__PURE__ */ function() {
|
|
|
958
958
|
return new r(e);
|
|
959
959
|
}, r;
|
|
960
960
|
}();
|
|
961
|
-
function
|
|
961
|
+
function _i(r) {
|
|
962
962
|
if (r || (r = qe.Promise || Promise), !r)
|
|
963
963
|
throw new Error("no Promise impl found");
|
|
964
964
|
return r;
|
|
965
965
|
}
|
|
966
|
-
var
|
|
966
|
+
var to = /* @__PURE__ */ function() {
|
|
967
967
|
function r() {
|
|
968
968
|
return Error.call(this), this.message = "object unsubscribed", this.name = "ObjectUnsubscribedError", this;
|
|
969
969
|
}
|
|
970
970
|
return r.prototype = /* @__PURE__ */ Object.create(Error.prototype), r;
|
|
971
|
-
}(),
|
|
971
|
+
}(), tr = to, ro = /* @__PURE__ */ function(r) {
|
|
972
972
|
qt(e, r);
|
|
973
973
|
function e(t, i) {
|
|
974
974
|
var n = r.call(this) || this;
|
|
@@ -984,7 +984,7 @@ var Jn = /* @__PURE__ */ function() {
|
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
}, e;
|
|
987
|
-
}(
|
|
987
|
+
}(sr), io = /* @__PURE__ */ function(r) {
|
|
988
988
|
qt(e, r);
|
|
989
989
|
function e(t) {
|
|
990
990
|
var i = r.call(this, t) || this;
|
|
@@ -997,27 +997,27 @@ var Jn = /* @__PURE__ */ function() {
|
|
|
997
997
|
var t = r.call(this) || this;
|
|
998
998
|
return t.observers = [], t.closed = !1, t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
|
|
999
999
|
}
|
|
1000
|
-
return e.prototype[
|
|
1001
|
-
return new
|
|
1000
|
+
return e.prototype[wr] = function() {
|
|
1001
|
+
return new io(this);
|
|
1002
1002
|
}, e.prototype.lift = function(t) {
|
|
1003
|
-
var i = new
|
|
1003
|
+
var i = new Oi(this, this);
|
|
1004
1004
|
return i.operator = t, i;
|
|
1005
1005
|
}, e.prototype.next = function(t) {
|
|
1006
1006
|
if (this.closed)
|
|
1007
|
-
throw new
|
|
1007
|
+
throw new tr();
|
|
1008
1008
|
if (!this.isStopped)
|
|
1009
1009
|
for (var i = this.observers, n = i.length, s = i.slice(), a = 0; a < n; a++)
|
|
1010
1010
|
s[a].next(t);
|
|
1011
1011
|
}, e.prototype.error = function(t) {
|
|
1012
1012
|
if (this.closed)
|
|
1013
|
-
throw new
|
|
1013
|
+
throw new tr();
|
|
1014
1014
|
this.hasError = !0, this.thrownError = t, this.isStopped = !0;
|
|
1015
1015
|
for (var i = this.observers, n = i.length, s = i.slice(), a = 0; a < n; a++)
|
|
1016
1016
|
s[a].error(t);
|
|
1017
1017
|
this.observers.length = 0;
|
|
1018
1018
|
}, e.prototype.complete = function() {
|
|
1019
1019
|
if (this.closed)
|
|
1020
|
-
throw new
|
|
1020
|
+
throw new tr();
|
|
1021
1021
|
this.isStopped = !0;
|
|
1022
1022
|
for (var t = this.observers, i = t.length, n = t.slice(), s = 0; s < i; s++)
|
|
1023
1023
|
n[s].complete();
|
|
@@ -1026,19 +1026,19 @@ var Jn = /* @__PURE__ */ function() {
|
|
|
1026
1026
|
this.isStopped = !0, this.closed = !0, this.observers = null;
|
|
1027
1027
|
}, e.prototype._trySubscribe = function(t) {
|
|
1028
1028
|
if (this.closed)
|
|
1029
|
-
throw new
|
|
1029
|
+
throw new tr();
|
|
1030
1030
|
return r.prototype._trySubscribe.call(this, t);
|
|
1031
1031
|
}, e.prototype._subscribe = function(t) {
|
|
1032
1032
|
if (this.closed)
|
|
1033
|
-
throw new
|
|
1034
|
-
return this.hasError ? (t.error(this.thrownError),
|
|
1033
|
+
throw new tr();
|
|
1034
|
+
return this.hasError ? (t.error(this.thrownError), sr.EMPTY) : this.isStopped ? (t.complete(), sr.EMPTY) : (this.observers.push(t), new ro(this, t));
|
|
1035
1035
|
}, e.prototype.asObservable = function() {
|
|
1036
1036
|
var t = new Pi();
|
|
1037
1037
|
return t.source = this, t;
|
|
1038
1038
|
}, e.create = function(t, i) {
|
|
1039
|
-
return new
|
|
1039
|
+
return new Oi(t, i);
|
|
1040
1040
|
}, e;
|
|
1041
|
-
}(Pi),
|
|
1041
|
+
}(Pi), Oi = /* @__PURE__ */ function(r) {
|
|
1042
1042
|
qt(e, r);
|
|
1043
1043
|
function e(t, i) {
|
|
1044
1044
|
var n = r.call(this) || this;
|
|
@@ -1055,10 +1055,10 @@ var Jn = /* @__PURE__ */ function() {
|
|
|
1055
1055
|
t && t.complete && this.destination.complete();
|
|
1056
1056
|
}, e.prototype._subscribe = function(t) {
|
|
1057
1057
|
var i = this.source;
|
|
1058
|
-
return i ? this.source.subscribe(t) :
|
|
1058
|
+
return i ? this.source.subscribe(t) : sr.EMPTY;
|
|
1059
1059
|
}, e;
|
|
1060
1060
|
}(wt), gt;
|
|
1061
|
-
class
|
|
1061
|
+
class no {
|
|
1062
1062
|
constructor() {
|
|
1063
1063
|
Y(this, gt, void 0);
|
|
1064
1064
|
F(this, gt, new wt());
|
|
@@ -1079,7 +1079,7 @@ class to {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
1081
|
gt = new WeakMap();
|
|
1082
|
-
const
|
|
1082
|
+
const Ot = new no(), Zt = Be.createContext();
|
|
1083
1083
|
var dt;
|
|
1084
1084
|
class si {
|
|
1085
1085
|
constructor() {
|
|
@@ -1117,19 +1117,19 @@ class si {
|
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
1119
|
dt = new WeakMap();
|
|
1120
|
-
const st = new si(),
|
|
1121
|
-
var
|
|
1120
|
+
const st = new si(), _e = new si(), De = new si();
|
|
1121
|
+
var Hr = { exports: {} }, ye = {};
|
|
1122
1122
|
var Ri;
|
|
1123
|
-
function
|
|
1123
|
+
function oo() {
|
|
1124
1124
|
if (Ri)
|
|
1125
|
-
return
|
|
1125
|
+
return ye;
|
|
1126
1126
|
Ri = 1;
|
|
1127
1127
|
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), E;
|
|
1128
1128
|
E = Symbol.for("react.module.reference");
|
|
1129
|
-
function
|
|
1129
|
+
function C(d) {
|
|
1130
1130
|
if (typeof d == "object" && d !== null) {
|
|
1131
|
-
var
|
|
1132
|
-
switch (
|
|
1131
|
+
var w = d.$$typeof;
|
|
1132
|
+
switch (w) {
|
|
1133
1133
|
case r:
|
|
1134
1134
|
switch (d = d.type, d) {
|
|
1135
1135
|
case t:
|
|
@@ -1148,54 +1148,54 @@ function ro() {
|
|
|
1148
1148
|
case s:
|
|
1149
1149
|
return d;
|
|
1150
1150
|
default:
|
|
1151
|
-
return
|
|
1151
|
+
return w;
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
1154
|
case e:
|
|
1155
|
-
return
|
|
1155
|
+
return w;
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
1158
|
}
|
|
1159
|
-
return
|
|
1159
|
+
return ye.ContextConsumer = a, ye.ContextProvider = s, ye.Element = r, ye.ForwardRef = u, ye.Fragment = t, ye.Lazy = x, ye.Memo = p, ye.Portal = e, ye.Profiler = n, ye.StrictMode = i, ye.Suspense = h, ye.SuspenseList = c, ye.isAsyncMode = function() {
|
|
1160
1160
|
return !1;
|
|
1161
|
-
},
|
|
1161
|
+
}, ye.isConcurrentMode = function() {
|
|
1162
1162
|
return !1;
|
|
1163
|
-
},
|
|
1164
|
-
return
|
|
1165
|
-
},
|
|
1166
|
-
return
|
|
1167
|
-
},
|
|
1163
|
+
}, ye.isContextConsumer = function(d) {
|
|
1164
|
+
return C(d) === a;
|
|
1165
|
+
}, ye.isContextProvider = function(d) {
|
|
1166
|
+
return C(d) === s;
|
|
1167
|
+
}, ye.isElement = function(d) {
|
|
1168
1168
|
return typeof d == "object" && d !== null && d.$$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
|
-
},
|
|
1169
|
+
}, ye.isForwardRef = function(d) {
|
|
1170
|
+
return C(d) === u;
|
|
1171
|
+
}, ye.isFragment = function(d) {
|
|
1172
|
+
return C(d) === t;
|
|
1173
|
+
}, ye.isLazy = function(d) {
|
|
1174
|
+
return C(d) === x;
|
|
1175
|
+
}, ye.isMemo = function(d) {
|
|
1176
|
+
return C(d) === p;
|
|
1177
|
+
}, ye.isPortal = function(d) {
|
|
1178
|
+
return C(d) === e;
|
|
1179
|
+
}, ye.isProfiler = function(d) {
|
|
1180
|
+
return C(d) === n;
|
|
1181
|
+
}, ye.isStrictMode = function(d) {
|
|
1182
|
+
return C(d) === i;
|
|
1183
|
+
}, ye.isSuspense = function(d) {
|
|
1184
|
+
return C(d) === h;
|
|
1185
|
+
}, ye.isSuspenseList = function(d) {
|
|
1186
|
+
return C(d) === c;
|
|
1187
|
+
}, ye.isValidElementType = function(d) {
|
|
1188
1188
|
return typeof d == "string" || typeof d == "function" || d === t || d === n || d === i || d === h || d === c || d === b || typeof d == "object" && d !== null && (d.$$typeof === x || d.$$typeof === p || d.$$typeof === s || d.$$typeof === a || d.$$typeof === u || d.$$typeof === E || d.getModuleId !== void 0);
|
|
1189
|
-
},
|
|
1189
|
+
}, ye.typeOf = C, ye;
|
|
1190
1190
|
}
|
|
1191
|
-
var
|
|
1191
|
+
var be = {};
|
|
1192
1192
|
var Di;
|
|
1193
|
-
function
|
|
1193
|
+
function so() {
|
|
1194
1194
|
return Di || (Di = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1195
|
-
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), E = !1,
|
|
1196
|
-
|
|
1197
|
-
function
|
|
1198
|
-
return !!(typeof z == "string" || typeof z == "function" || z === t || z === n || S || z === i || z === h || z === c ||
|
|
1195
|
+
var r = Symbol.for("react.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), E = !1, C = !1, d = !1, w = !1, S = !1, O;
|
|
1196
|
+
O = Symbol.for("react.module.reference");
|
|
1197
|
+
function _(z) {
|
|
1198
|
+
return !!(typeof z == "string" || typeof z == "function" || z === t || z === n || S || z === i || z === h || z === c || w || z === b || E || C || d || typeof z == "object" && z !== null && (z.$$typeof === x || z.$$typeof === p || z.$$typeof === s || z.$$typeof === a || z.$$typeof === u || z.$$typeof === O || z.getModuleId !== void 0));
|
|
1199
1199
|
}
|
|
1200
1200
|
function g(z) {
|
|
1201
1201
|
if (typeof z == "object" && z !== null) {
|
|
@@ -1229,8 +1229,8 @@ function io() {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
var W = a, H = s,
|
|
1233
|
-
function
|
|
1232
|
+
var W = a, H = s, A = r, B = u, re = t, U = x, I = p, V = e, J = n, X = i, N = h, ue = c, le = !1, we = !1;
|
|
1233
|
+
function Te(z) {
|
|
1234
1234
|
return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1235
1235
|
}
|
|
1236
1236
|
function Ie(z) {
|
|
@@ -1254,7 +1254,7 @@ function io() {
|
|
|
1254
1254
|
function Q(z) {
|
|
1255
1255
|
return g(z) === x;
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1257
|
+
function k(z) {
|
|
1258
1258
|
return g(z) === p;
|
|
1259
1259
|
}
|
|
1260
1260
|
function de(z) {
|
|
@@ -1272,17 +1272,17 @@ function io() {
|
|
|
1272
1272
|
function ce(z) {
|
|
1273
1273
|
return g(z) === c;
|
|
1274
1274
|
}
|
|
1275
|
-
|
|
1276
|
-
}()),
|
|
1275
|
+
be.ContextConsumer = W, be.ContextProvider = H, be.Element = A, be.ForwardRef = B, be.Fragment = re, be.Lazy = U, be.Memo = I, be.Portal = V, be.Profiler = J, be.StrictMode = X, be.Suspense = N, be.SuspenseList = ue, be.isAsyncMode = Te, be.isConcurrentMode = Ie, be.isContextConsumer = $, be.isContextProvider = R, be.isElement = M, be.isForwardRef = y, be.isFragment = m, be.isLazy = Q, be.isMemo = k, be.isPortal = de, be.isProfiler = te, be.isStrictMode = ie, be.isSuspense = T, be.isSuspenseList = ce, be.isValidElementType = _, be.typeOf = g;
|
|
1276
|
+
}()), be;
|
|
1277
1277
|
}
|
|
1278
1278
|
(function(r) {
|
|
1279
|
-
process.env.NODE_ENV === "production" ? r.exports =
|
|
1280
|
-
})(
|
|
1281
|
-
function
|
|
1279
|
+
process.env.NODE_ENV === "production" ? r.exports = oo() : r.exports = so();
|
|
1280
|
+
})(Hr);
|
|
1281
|
+
function ao(r) {
|
|
1282
1282
|
function e($, R, M, y, m) {
|
|
1283
|
-
for (var Q = 0,
|
|
1284
|
-
if (T = M.charCodeAt(se), se === at &&
|
|
1285
|
-
if (se === at && (0 < $e && (
|
|
1283
|
+
for (var Q = 0, k = 0, de = 0, te = 0, ie, T, ce = 0, z = 0, ee, Pe = ee = ie = 0, se = 0, $e = 0, Je = 0, He = 0, Rt = M.length, at = Rt - 1, Ve, K = "", Oe = "", Dt = "", lt = "", Qe; se < Rt; ) {
|
|
1284
|
+
if (T = M.charCodeAt(se), se === at && k + te + de + Q !== 0 && (k !== 0 && (T = k === 47 ? 10 : 47), te = de = Q = 0, Rt++, at++), k + te + de + Q === 0) {
|
|
1285
|
+
if (se === at && (0 < $e && (K = K.replace(x, "")), 0 < K.trim().length)) {
|
|
1286
1286
|
switch (T) {
|
|
1287
1287
|
case 32:
|
|
1288
1288
|
case 9:
|
|
@@ -1291,13 +1291,13 @@ function no(r) {
|
|
|
1291
1291
|
case 10:
|
|
1292
1292
|
break;
|
|
1293
1293
|
default:
|
|
1294
|
-
|
|
1294
|
+
K += M.charAt(se);
|
|
1295
1295
|
}
|
|
1296
1296
|
T = 59;
|
|
1297
1297
|
}
|
|
1298
1298
|
switch (T) {
|
|
1299
1299
|
case 123:
|
|
1300
|
-
for (
|
|
1300
|
+
for (K = K.trim(), ie = K.charCodeAt(0), ee = 1, He = ++se; se < Rt; ) {
|
|
1301
1301
|
switch (T = M.charCodeAt(se)) {
|
|
1302
1302
|
case 123:
|
|
1303
1303
|
ee++;
|
|
@@ -1341,9 +1341,9 @@ function no(r) {
|
|
|
1341
1341
|
break;
|
|
1342
1342
|
se++;
|
|
1343
1343
|
}
|
|
1344
|
-
switch (ee = M.substring(He, se), ie === 0 && (ie = (
|
|
1344
|
+
switch (ee = M.substring(He, se), ie === 0 && (ie = (K = K.replace(p, "").trim()).charCodeAt(0)), ie) {
|
|
1345
1345
|
case 64:
|
|
1346
|
-
switch (0 < $e && (
|
|
1346
|
+
switch (0 < $e && (K = K.replace(x, "")), T = K.charCodeAt(1), T) {
|
|
1347
1347
|
case 100:
|
|
1348
1348
|
case 109:
|
|
1349
1349
|
case 115:
|
|
@@ -1353,54 +1353,54 @@ function no(r) {
|
|
|
1353
1353
|
default:
|
|
1354
1354
|
$e = N;
|
|
1355
1355
|
}
|
|
1356
|
-
if (ee = e(R, $e, ee, T, m + 1), He = ee.length, 0 < le && ($e = t(N,
|
|
1356
|
+
if (ee = e(R, $e, ee, T, m + 1), He = ee.length, 0 < le && ($e = t(N, K, Je), Qe = l(3, ee, $e, R, V, I, He, T, m, y), K = $e.join(""), Qe !== void 0 && (He = (ee = Qe.trim()).length) === 0 && (T = 0, ee = "")), 0 < He)
|
|
1357
1357
|
switch (T) {
|
|
1358
1358
|
case 115:
|
|
1359
|
-
|
|
1359
|
+
K = K.replace(W, a);
|
|
1360
1360
|
case 100:
|
|
1361
1361
|
case 109:
|
|
1362
1362
|
case 45:
|
|
1363
|
-
ee =
|
|
1363
|
+
ee = K + "{" + ee + "}";
|
|
1364
1364
|
break;
|
|
1365
1365
|
case 107:
|
|
1366
|
-
|
|
1366
|
+
K = K.replace(S, "$1 $2"), ee = K + "{" + ee + "}", ee = X === 1 || X === 2 && s("@" + ee, 3) ? "@-webkit-" + ee + "@" + ee : "@" + ee;
|
|
1367
1367
|
break;
|
|
1368
1368
|
default:
|
|
1369
|
-
ee =
|
|
1369
|
+
ee = K + ee, y === 112 && (ee = (Oe += ee, ""));
|
|
1370
1370
|
}
|
|
1371
1371
|
else
|
|
1372
1372
|
ee = "";
|
|
1373
1373
|
break;
|
|
1374
1374
|
default:
|
|
1375
|
-
ee = e(R, t(R,
|
|
1375
|
+
ee = e(R, t(R, K, Je), ee, y, m + 1);
|
|
1376
1376
|
}
|
|
1377
|
-
Dt += ee, ee = Je = $e = Pe = ie = 0,
|
|
1377
|
+
Dt += ee, ee = Je = $e = Pe = ie = 0, K = "", T = M.charCodeAt(++se);
|
|
1378
1378
|
break;
|
|
1379
1379
|
case 125:
|
|
1380
1380
|
case 59:
|
|
1381
|
-
if (
|
|
1382
|
-
switch (Pe === 0 && (ie =
|
|
1381
|
+
if (K = (0 < $e ? K.replace(x, "") : K).trim(), 1 < (He = K.length))
|
|
1382
|
+
switch (Pe === 0 && (ie = K.charCodeAt(0), ie === 45 || 96 < ie && 123 > ie) && (He = (K = K.replace(" ", ":")).length), 0 < le && (Qe = l(1, K, R, $, V, I, Oe.length, y, m, y)) !== void 0 && (He = (K = Qe.trim()).length) === 0 && (K = "\0\0"), ie = K.charCodeAt(0), T = K.charCodeAt(1), ie) {
|
|
1383
1383
|
case 0:
|
|
1384
1384
|
break;
|
|
1385
1385
|
case 64:
|
|
1386
1386
|
if (T === 105 || T === 99) {
|
|
1387
|
-
lt +=
|
|
1387
|
+
lt += K + M.charAt(se);
|
|
1388
1388
|
break;
|
|
1389
1389
|
}
|
|
1390
1390
|
default:
|
|
1391
|
-
|
|
1391
|
+
K.charCodeAt(He - 1) !== 58 && (Oe += n(K, ie, T, K.charCodeAt(2)));
|
|
1392
1392
|
}
|
|
1393
|
-
Je = $e = Pe = ie = 0,
|
|
1393
|
+
Je = $e = Pe = ie = 0, K = "", T = M.charCodeAt(++se);
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
1396
|
switch (T) {
|
|
1397
1397
|
case 13:
|
|
1398
1398
|
case 10:
|
|
1399
|
-
|
|
1399
|
+
k === 47 ? k = 0 : 1 + ie === 0 && y !== 107 && 0 < K.length && ($e = 1, K += "\0"), 0 < le * Te && l(0, K, R, $, V, I, Oe.length, y, m, y), I = 1, V++;
|
|
1400
1400
|
break;
|
|
1401
1401
|
case 59:
|
|
1402
1402
|
case 125:
|
|
1403
|
-
if (
|
|
1403
|
+
if (k + te + de + Q === 0) {
|
|
1404
1404
|
I++;
|
|
1405
1405
|
break;
|
|
1406
1406
|
}
|
|
@@ -1408,7 +1408,7 @@ function no(r) {
|
|
|
1408
1408
|
switch (I++, Ve = M.charAt(se), T) {
|
|
1409
1409
|
case 9:
|
|
1410
1410
|
case 32:
|
|
1411
|
-
if (te + Q +
|
|
1411
|
+
if (te + Q + k === 0)
|
|
1412
1412
|
switch (ce) {
|
|
1413
1413
|
case 44:
|
|
1414
1414
|
case 58:
|
|
@@ -1430,10 +1430,10 @@ function no(r) {
|
|
|
1430
1430
|
Ve = "\\v";
|
|
1431
1431
|
break;
|
|
1432
1432
|
case 38:
|
|
1433
|
-
te +
|
|
1433
|
+
te + k + Q === 0 && ($e = Je = 1, Ve = "\f" + Ve);
|
|
1434
1434
|
break;
|
|
1435
1435
|
case 108:
|
|
1436
|
-
if (te +
|
|
1436
|
+
if (te + k + Q + J === 0 && 0 < Pe)
|
|
1437
1437
|
switch (se - Pe) {
|
|
1438
1438
|
case 2:
|
|
1439
1439
|
ce === 112 && M.charCodeAt(se - 3) === 58 && (J = ce);
|
|
@@ -1442,26 +1442,26 @@ function no(r) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
break;
|
|
1444
1444
|
case 58:
|
|
1445
|
-
te +
|
|
1445
|
+
te + k + Q === 0 && (Pe = se);
|
|
1446
1446
|
break;
|
|
1447
1447
|
case 44:
|
|
1448
|
-
|
|
1448
|
+
k + de + te + Q === 0 && ($e = 1, Ve += "\r");
|
|
1449
1449
|
break;
|
|
1450
1450
|
case 34:
|
|
1451
1451
|
case 39:
|
|
1452
|
-
|
|
1452
|
+
k === 0 && (te = te === T ? 0 : te === 0 ? T : te);
|
|
1453
1453
|
break;
|
|
1454
1454
|
case 91:
|
|
1455
|
-
te +
|
|
1455
|
+
te + k + de === 0 && Q++;
|
|
1456
1456
|
break;
|
|
1457
1457
|
case 93:
|
|
1458
|
-
te +
|
|
1458
|
+
te + k + de === 0 && Q--;
|
|
1459
1459
|
break;
|
|
1460
1460
|
case 41:
|
|
1461
|
-
te +
|
|
1461
|
+
te + k + Q === 0 && de--;
|
|
1462
1462
|
break;
|
|
1463
1463
|
case 40:
|
|
1464
|
-
if (te +
|
|
1464
|
+
if (te + k + Q === 0) {
|
|
1465
1465
|
if (ie === 0)
|
|
1466
1466
|
switch (2 * ce + 3 * z) {
|
|
1467
1467
|
case 533:
|
|
@@ -1473,44 +1473,44 @@ function no(r) {
|
|
|
1473
1473
|
}
|
|
1474
1474
|
break;
|
|
1475
1475
|
case 64:
|
|
1476
|
-
|
|
1476
|
+
k + de + te + Q + Pe + ee === 0 && (ee = 1);
|
|
1477
1477
|
break;
|
|
1478
1478
|
case 42:
|
|
1479
1479
|
case 47:
|
|
1480
1480
|
if (!(0 < te + Q + de))
|
|
1481
|
-
switch (
|
|
1481
|
+
switch (k) {
|
|
1482
1482
|
case 0:
|
|
1483
1483
|
switch (2 * T + 3 * M.charCodeAt(se + 1)) {
|
|
1484
1484
|
case 235:
|
|
1485
|
-
|
|
1485
|
+
k = 47;
|
|
1486
1486
|
break;
|
|
1487
1487
|
case 220:
|
|
1488
|
-
He = se,
|
|
1488
|
+
He = se, k = 42;
|
|
1489
1489
|
}
|
|
1490
1490
|
break;
|
|
1491
1491
|
case 42:
|
|
1492
|
-
T === 47 && ce === 42 && He + 2 !== se && (M.charCodeAt(He + 2) === 33 && (
|
|
1492
|
+
T === 47 && ce === 42 && He + 2 !== se && (M.charCodeAt(He + 2) === 33 && (Oe += M.substring(He, se + 1)), Ve = "", k = 0);
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
|
-
|
|
1495
|
+
k === 0 && (K += Ve);
|
|
1496
1496
|
}
|
|
1497
1497
|
z = ce, ce = T, se++;
|
|
1498
1498
|
}
|
|
1499
|
-
if (He =
|
|
1500
|
-
if ($e = R, 0 < le && (Qe = l(2,
|
|
1501
|
-
return lt +
|
|
1502
|
-
if (
|
|
1503
|
-
switch (X !== 2 || s(
|
|
1499
|
+
if (He = Oe.length, 0 < He) {
|
|
1500
|
+
if ($e = R, 0 < le && (Qe = l(2, Oe, $e, $, V, I, He, y, m, y), Qe !== void 0 && (Oe = Qe).length === 0))
|
|
1501
|
+
return lt + Oe + Dt;
|
|
1502
|
+
if (Oe = $e.join(",") + "{" + Oe + "}", X * J !== 0) {
|
|
1503
|
+
switch (X !== 2 || s(Oe, 2) || (J = 0), J) {
|
|
1504
1504
|
case 111:
|
|
1505
|
-
|
|
1505
|
+
Oe = Oe.replace(_, ":-moz-$1") + Oe;
|
|
1506
1506
|
break;
|
|
1507
1507
|
case 112:
|
|
1508
|
-
|
|
1508
|
+
Oe = Oe.replace(O, "::-webkit-input-$1") + Oe.replace(O, "::-moz-$1") + Oe.replace(O, ":-ms-input-$1") + Oe;
|
|
1509
1509
|
}
|
|
1510
1510
|
J = 0;
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
|
-
return lt +
|
|
1513
|
+
return lt + Oe + Dt;
|
|
1514
1514
|
}
|
|
1515
1515
|
function t($, R, M) {
|
|
1516
1516
|
var y = R.trim().split(d);
|
|
@@ -1519,15 +1519,15 @@ function no(r) {
|
|
|
1519
1519
|
switch (Q) {
|
|
1520
1520
|
case 0:
|
|
1521
1521
|
case 1:
|
|
1522
|
-
var
|
|
1523
|
-
for ($ = Q === 0 ? "" : $[0] + " ";
|
|
1524
|
-
R[
|
|
1522
|
+
var k = 0;
|
|
1523
|
+
for ($ = Q === 0 ? "" : $[0] + " "; k < m; ++k)
|
|
1524
|
+
R[k] = i($, R[k], M).trim();
|
|
1525
1525
|
break;
|
|
1526
1526
|
default:
|
|
1527
|
-
var de =
|
|
1528
|
-
for (R = [];
|
|
1527
|
+
var de = k = 0;
|
|
1528
|
+
for (R = []; k < m; ++k)
|
|
1529
1529
|
for (var te = 0; te < Q; ++te)
|
|
1530
|
-
R[de++] = i($[te] + " ", y[
|
|
1530
|
+
R[de++] = i($[te] + " ", y[k], M).trim();
|
|
1531
1531
|
}
|
|
1532
1532
|
return R;
|
|
1533
1533
|
}
|
|
@@ -1535,12 +1535,12 @@ function no(r) {
|
|
|
1535
1535
|
var y = R.charCodeAt(0);
|
|
1536
1536
|
switch (33 > y && (y = (R = R.trim()).charCodeAt(0)), y) {
|
|
1537
1537
|
case 38:
|
|
1538
|
-
return R.replace(
|
|
1538
|
+
return R.replace(w, "$1" + $.trim());
|
|
1539
1539
|
case 58:
|
|
1540
|
-
return $.trim() + R.replace(
|
|
1540
|
+
return $.trim() + R.replace(w, "$1" + $.trim());
|
|
1541
1541
|
default:
|
|
1542
1542
|
if (0 < 1 * M && 0 < R.indexOf("\f"))
|
|
1543
|
-
return R.replace(
|
|
1543
|
+
return R.replace(w, ($.charCodeAt(0) === 58 ? "" : "$1") + $.trim());
|
|
1544
1544
|
}
|
|
1545
1545
|
return $ + R;
|
|
1546
1546
|
}
|
|
@@ -1548,8 +1548,8 @@ function no(r) {
|
|
|
1548
1548
|
var m = $ + ";", Q = 2 * R + 3 * M + 4 * y;
|
|
1549
1549
|
if (Q === 944) {
|
|
1550
1550
|
$ = m.indexOf(":", 9) + 1;
|
|
1551
|
-
var
|
|
1552
|
-
return
|
|
1551
|
+
var k = m.substring($, m.length - 1).trim();
|
|
1552
|
+
return k = m.substring(0, $).trim() + k + ";", X === 1 || X === 2 && s(k, 1) ? "-webkit-" + k + k : k;
|
|
1553
1553
|
}
|
|
1554
1554
|
if (X === 0 || X === 2 && !s(m, 1))
|
|
1555
1555
|
return m;
|
|
@@ -1593,49 +1593,49 @@ function no(r) {
|
|
|
1593
1593
|
case 1023:
|
|
1594
1594
|
if (m.charCodeAt(8) !== 99)
|
|
1595
1595
|
break;
|
|
1596
|
-
return
|
|
1596
|
+
return k = m.substring(m.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + k + "-webkit-" + m + "-ms-flex-pack" + k + m;
|
|
1597
1597
|
case 1005:
|
|
1598
1598
|
return E.test(m) ? m.replace(b, ":-webkit-") + m.replace(b, ":-moz-") + m : m;
|
|
1599
1599
|
case 1e3:
|
|
1600
|
-
switch (
|
|
1600
|
+
switch (k = m.substring(13).trim(), R = k.indexOf("-") + 1, k.charCodeAt(0) + k.charCodeAt(R)) {
|
|
1601
1601
|
case 226:
|
|
1602
|
-
|
|
1602
|
+
k = m.replace(g, "tb");
|
|
1603
1603
|
break;
|
|
1604
1604
|
case 232:
|
|
1605
|
-
|
|
1605
|
+
k = m.replace(g, "tb-rl");
|
|
1606
1606
|
break;
|
|
1607
1607
|
case 220:
|
|
1608
|
-
|
|
1608
|
+
k = m.replace(g, "lr");
|
|
1609
1609
|
break;
|
|
1610
1610
|
default:
|
|
1611
1611
|
return m;
|
|
1612
1612
|
}
|
|
1613
|
-
return "-webkit-" + m + "-ms-" +
|
|
1613
|
+
return "-webkit-" + m + "-ms-" + k + m;
|
|
1614
1614
|
case 1017:
|
|
1615
1615
|
if (m.indexOf("sticky", 9) === -1)
|
|
1616
1616
|
break;
|
|
1617
1617
|
case 975:
|
|
1618
|
-
switch (R = (m = $).length - 10,
|
|
1618
|
+
switch (R = (m = $).length - 10, k = (m.charCodeAt(R) === 33 ? m.substring(0, R) : m).substring($.indexOf(":", 7) + 1).trim(), Q = k.charCodeAt(0) + (k.charCodeAt(7) | 0)) {
|
|
1619
1619
|
case 203:
|
|
1620
|
-
if (111 >
|
|
1620
|
+
if (111 > k.charCodeAt(8))
|
|
1621
1621
|
break;
|
|
1622
1622
|
case 115:
|
|
1623
|
-
m = m.replace(
|
|
1623
|
+
m = m.replace(k, "-webkit-" + k) + ";" + m;
|
|
1624
1624
|
break;
|
|
1625
1625
|
case 207:
|
|
1626
1626
|
case 102:
|
|
1627
|
-
m = m.replace(
|
|
1627
|
+
m = m.replace(k, "-webkit-" + (102 < Q ? "inline-" : "") + "box") + ";" + m.replace(k, "-webkit-" + k) + ";" + m.replace(k, "-ms-" + k + "box") + ";" + m;
|
|
1628
1628
|
}
|
|
1629
1629
|
return m + ";";
|
|
1630
1630
|
case 938:
|
|
1631
1631
|
if (m.charCodeAt(5) === 45)
|
|
1632
1632
|
switch (m.charCodeAt(6)) {
|
|
1633
1633
|
case 105:
|
|
1634
|
-
return
|
|
1634
|
+
return k = m.replace("-items", ""), "-webkit-" + m + "-webkit-box-" + k + "-ms-flex-" + k + m;
|
|
1635
1635
|
case 115:
|
|
1636
|
-
return "-webkit-" + m + "-ms-flex-item-" + m.replace(
|
|
1636
|
+
return "-webkit-" + m + "-ms-flex-item-" + m.replace(A, "") + m;
|
|
1637
1637
|
default:
|
|
1638
|
-
return "-webkit-" + m + "-ms-flex-line-pack" + m.replace("align-content", "").replace(
|
|
1638
|
+
return "-webkit-" + m + "-ms-flex-line-pack" + m.replace("align-content", "").replace(A, "") + m;
|
|
1639
1639
|
}
|
|
1640
1640
|
break;
|
|
1641
1641
|
case 973:
|
|
@@ -1645,11 +1645,11 @@ function no(r) {
|
|
|
1645
1645
|
case 931:
|
|
1646
1646
|
case 953:
|
|
1647
1647
|
if (re.test($) === !0)
|
|
1648
|
-
return (
|
|
1648
|
+
return (k = $.substring($.indexOf(":") + 1)).charCodeAt(0) === 115 ? n($.replace("stretch", "fill-available"), R, M, y).replace(":fill-available", ":stretch") : m.replace(k, "-webkit-" + k) + m.replace(k, "-moz-" + k.replace("fill-", "")) + m;
|
|
1649
1649
|
break;
|
|
1650
1650
|
case 962:
|
|
1651
1651
|
if (m = "-webkit-" + m + (m.charCodeAt(5) === 102 ? "-ms-" + m : "") + m, M + y === 211 && m.charCodeAt(13) === 105 && 0 < m.indexOf("transform", 10))
|
|
1652
|
-
return m.substring(0, m.indexOf(";", 27) + 1).replace(
|
|
1652
|
+
return m.substring(0, m.indexOf(";", 27) + 1).replace(C, "$1-webkit-$2") + m;
|
|
1653
1653
|
}
|
|
1654
1654
|
return m;
|
|
1655
1655
|
}
|
|
@@ -1661,9 +1661,9 @@ function no(r) {
|
|
|
1661
1661
|
var M = n(R, R.charCodeAt(0), R.charCodeAt(1), R.charCodeAt(2));
|
|
1662
1662
|
return M !== R + ";" ? M.replace(H, " or ($1)").substring(4) : "(" + R + ")";
|
|
1663
1663
|
}
|
|
1664
|
-
function l($, R, M, y, m, Q,
|
|
1664
|
+
function l($, R, M, y, m, Q, k, de, te, ie) {
|
|
1665
1665
|
for (var T = 0, ce = R, z; T < le; ++T)
|
|
1666
|
-
switch (z = ue[T].call(c, $, ce, M, y, m, Q,
|
|
1666
|
+
switch (z = ue[T].call(c, $, ce, M, y, m, Q, k, de, te, ie)) {
|
|
1667
1667
|
case void 0:
|
|
1668
1668
|
case !1:
|
|
1669
1669
|
case !0:
|
|
@@ -1688,7 +1688,7 @@ function no(r) {
|
|
|
1688
1688
|
for (var R = 0, M = $.length; R < M; ++R)
|
|
1689
1689
|
u($[R]);
|
|
1690
1690
|
else
|
|
1691
|
-
|
|
1691
|
+
Te = !!$ | 0;
|
|
1692
1692
|
}
|
|
1693
1693
|
return u;
|
|
1694
1694
|
}
|
|
@@ -1704,10 +1704,10 @@ function no(r) {
|
|
|
1704
1704
|
var m = e(N, M, R, 0, 0);
|
|
1705
1705
|
return 0 < le && (y = l(-2, m, M, M, V, I, m.length, 0, 0, 0), y !== void 0 && (m = y)), Ie = "", J = 0, I = V = 1, m;
|
|
1706
1706
|
}
|
|
1707
|
-
var p = /^\0+/g, x = /[\0\r\f]/g, b = /: */g, E = /zoo|gra/,
|
|
1707
|
+
var p = /^\0+/g, x = /[\0\r\f]/g, b = /: */g, E = /zoo|gra/, C = /([,: ])(transform)/g, d = /,\r+?/g, w = /([\t\r\n ])*\f?&/g, S = /@(k\w+)\s*(\S*)\s*/, O = /::(place)/g, _ = /:(read-only)/g, g = /[svh]\w+-[tblr]{2}/, W = /\(\s*(.*)\s*\)/g, H = /([\s\S]*?);/g, A = /-self|flex-/g, B = /[^]*?(:[rp][el]a[\w-]+)[^]*/, re = /stretch|:\s*\w+\-(?:conte|avail)/, U = /([^-])(image-set\()/, I = 1, V = 1, J = 0, X = 1, N = [], ue = [], le = 0, we = null, Te = 0, Ie = "";
|
|
1708
1708
|
return c.use = u, c.set = h, r !== void 0 && h(r), c;
|
|
1709
1709
|
}
|
|
1710
|
-
var
|
|
1710
|
+
var lo = {
|
|
1711
1711
|
animationIterationCount: 1,
|
|
1712
1712
|
borderImageOutset: 1,
|
|
1713
1713
|
borderImageSlice: 1,
|
|
@@ -1754,24 +1754,24 @@ var oo = {
|
|
|
1754
1754
|
strokeOpacity: 1,
|
|
1755
1755
|
strokeWidth: 1
|
|
1756
1756
|
};
|
|
1757
|
-
function
|
|
1757
|
+
function co(r) {
|
|
1758
1758
|
var e = /* @__PURE__ */ Object.create(null);
|
|
1759
1759
|
return function(t) {
|
|
1760
1760
|
return e[t] === void 0 && (e[t] = r(t)), e[t];
|
|
1761
1761
|
};
|
|
1762
1762
|
}
|
|
1763
|
-
var
|
|
1763
|
+
var uo = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, zi = /* @__PURE__ */ co(
|
|
1764
1764
|
function(r) {
|
|
1765
|
-
return
|
|
1765
|
+
return uo.test(r) || r.charCodeAt(0) === 111 && r.charCodeAt(1) === 110 && r.charCodeAt(2) < 91;
|
|
1766
1766
|
}
|
|
1767
|
-
),
|
|
1767
|
+
), nn = { exports: {} }, ve = {};
|
|
1768
1768
|
var $i;
|
|
1769
|
-
function
|
|
1769
|
+
function ho() {
|
|
1770
1770
|
if ($i)
|
|
1771
|
-
return
|
|
1771
|
+
return ve;
|
|
1772
1772
|
$i = 1;
|
|
1773
|
-
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, n = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, h = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113, x = r ? Symbol.for("react.suspense_list") : 60120, b = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116,
|
|
1774
|
-
function
|
|
1773
|
+
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, n = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, h = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113, x = r ? Symbol.for("react.suspense_list") : 60120, b = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116, C = r ? Symbol.for("react.block") : 60121, d = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, S = r ? Symbol.for("react.scope") : 60119;
|
|
1774
|
+
function O(g) {
|
|
1775
1775
|
if (typeof g == "object" && g !== null) {
|
|
1776
1776
|
var W = g.$$typeof;
|
|
1777
1777
|
switch (W) {
|
|
@@ -1801,46 +1801,46 @@ function lo() {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
|
-
function
|
|
1805
|
-
return
|
|
1806
|
-
}
|
|
1807
|
-
return
|
|
1808
|
-
return
|
|
1809
|
-
},
|
|
1810
|
-
return
|
|
1811
|
-
},
|
|
1812
|
-
return
|
|
1813
|
-
},
|
|
1804
|
+
function _(g) {
|
|
1805
|
+
return O(g) === h;
|
|
1806
|
+
}
|
|
1807
|
+
return ve.AsyncMode = u, ve.ConcurrentMode = h, ve.ContextConsumer = l, ve.ContextProvider = a, ve.Element = e, ve.ForwardRef = c, ve.Fragment = i, ve.Lazy = E, ve.Memo = b, ve.Portal = t, ve.Profiler = s, ve.StrictMode = n, ve.Suspense = p, ve.isAsyncMode = function(g) {
|
|
1808
|
+
return _(g) || O(g) === u;
|
|
1809
|
+
}, ve.isConcurrentMode = _, ve.isContextConsumer = function(g) {
|
|
1810
|
+
return O(g) === l;
|
|
1811
|
+
}, ve.isContextProvider = function(g) {
|
|
1812
|
+
return O(g) === a;
|
|
1813
|
+
}, ve.isElement = function(g) {
|
|
1814
1814
|
return typeof g == "object" && g !== null && g.$$typeof === e;
|
|
1815
|
-
},
|
|
1816
|
-
return
|
|
1817
|
-
},
|
|
1818
|
-
return
|
|
1819
|
-
},
|
|
1820
|
-
return
|
|
1821
|
-
},
|
|
1822
|
-
return
|
|
1823
|
-
},
|
|
1824
|
-
return
|
|
1825
|
-
},
|
|
1826
|
-
return
|
|
1827
|
-
},
|
|
1828
|
-
return
|
|
1829
|
-
},
|
|
1830
|
-
return
|
|
1831
|
-
},
|
|
1832
|
-
return typeof g == "string" || typeof g == "function" || g === i || g === h || g === s || g === n || g === p || g === x || typeof g == "object" && g !== null && (g.$$typeof === E || g.$$typeof === b || g.$$typeof === a || g.$$typeof === l || g.$$typeof === c || g.$$typeof === d || g.$$typeof ===
|
|
1833
|
-
},
|
|
1815
|
+
}, ve.isForwardRef = function(g) {
|
|
1816
|
+
return O(g) === c;
|
|
1817
|
+
}, ve.isFragment = function(g) {
|
|
1818
|
+
return O(g) === i;
|
|
1819
|
+
}, ve.isLazy = function(g) {
|
|
1820
|
+
return O(g) === E;
|
|
1821
|
+
}, ve.isMemo = function(g) {
|
|
1822
|
+
return O(g) === b;
|
|
1823
|
+
}, ve.isPortal = function(g) {
|
|
1824
|
+
return O(g) === t;
|
|
1825
|
+
}, ve.isProfiler = function(g) {
|
|
1826
|
+
return O(g) === s;
|
|
1827
|
+
}, ve.isStrictMode = function(g) {
|
|
1828
|
+
return O(g) === n;
|
|
1829
|
+
}, ve.isSuspense = function(g) {
|
|
1830
|
+
return O(g) === p;
|
|
1831
|
+
}, ve.isValidElementType = function(g) {
|
|
1832
|
+
return typeof g == "string" || typeof g == "function" || g === i || g === h || g === s || g === n || g === p || g === x || typeof g == "object" && g !== null && (g.$$typeof === E || g.$$typeof === b || g.$$typeof === a || g.$$typeof === l || g.$$typeof === c || g.$$typeof === d || g.$$typeof === w || g.$$typeof === S || g.$$typeof === C);
|
|
1833
|
+
}, ve.typeOf = O, ve;
|
|
1834
1834
|
}
|
|
1835
|
-
var
|
|
1835
|
+
var xe = {};
|
|
1836
1836
|
var Mi;
|
|
1837
|
-
function
|
|
1837
|
+
function fo() {
|
|
1838
1838
|
return Mi || (Mi = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1839
|
-
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, n = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, h = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113, x = r ? Symbol.for("react.suspense_list") : 60120, b = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116,
|
|
1840
|
-
function _(T) {
|
|
1841
|
-
return typeof T == "string" || typeof T == "function" || T === i || T === h || T === s || T === n || T === p || T === x || typeof T == "object" && T !== null && (T.$$typeof === E || T.$$typeof === b || T.$$typeof === a || T.$$typeof === l || T.$$typeof === c || T.$$typeof === d || T.$$typeof === C || T.$$typeof === S || T.$$typeof === w);
|
|
1842
|
-
}
|
|
1839
|
+
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, n = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, h = r ? Symbol.for("react.concurrent_mode") : 60111, c = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113, x = r ? Symbol.for("react.suspense_list") : 60120, b = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116, C = r ? Symbol.for("react.block") : 60121, d = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, S = r ? Symbol.for("react.scope") : 60119;
|
|
1843
1840
|
function O(T) {
|
|
1841
|
+
return typeof T == "string" || typeof T == "function" || T === i || T === h || T === s || T === n || T === p || T === x || typeof T == "object" && T !== null && (T.$$typeof === E || T.$$typeof === b || T.$$typeof === a || T.$$typeof === l || T.$$typeof === c || T.$$typeof === d || T.$$typeof === w || T.$$typeof === S || T.$$typeof === C);
|
|
1842
|
+
}
|
|
1843
|
+
function _(T) {
|
|
1844
1844
|
if (typeof T == "object" && T !== null) {
|
|
1845
1845
|
var ce = T.$$typeof;
|
|
1846
1846
|
switch (ce) {
|
|
@@ -1872,53 +1872,53 @@ function co() {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
|
-
var g = u, W = h, H = l,
|
|
1875
|
+
var g = u, W = h, H = l, A = a, B = e, re = c, U = i, I = E, V = b, J = t, X = s, N = n, ue = p, le = !1;
|
|
1876
1876
|
function we(T) {
|
|
1877
|
-
return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
1877
|
+
return le || (le = !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(T) || _(T) === u;
|
|
1878
1878
|
}
|
|
1879
|
-
function
|
|
1880
|
-
return
|
|
1879
|
+
function Te(T) {
|
|
1880
|
+
return _(T) === h;
|
|
1881
1881
|
}
|
|
1882
1882
|
function Ie(T) {
|
|
1883
|
-
return
|
|
1883
|
+
return _(T) === l;
|
|
1884
1884
|
}
|
|
1885
1885
|
function $(T) {
|
|
1886
|
-
return
|
|
1886
|
+
return _(T) === a;
|
|
1887
1887
|
}
|
|
1888
1888
|
function R(T) {
|
|
1889
1889
|
return typeof T == "object" && T !== null && T.$$typeof === e;
|
|
1890
1890
|
}
|
|
1891
1891
|
function M(T) {
|
|
1892
|
-
return
|
|
1892
|
+
return _(T) === c;
|
|
1893
1893
|
}
|
|
1894
1894
|
function y(T) {
|
|
1895
|
-
return
|
|
1895
|
+
return _(T) === i;
|
|
1896
1896
|
}
|
|
1897
1897
|
function m(T) {
|
|
1898
|
-
return
|
|
1898
|
+
return _(T) === E;
|
|
1899
1899
|
}
|
|
1900
1900
|
function Q(T) {
|
|
1901
|
-
return
|
|
1901
|
+
return _(T) === b;
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1904
|
-
return
|
|
1903
|
+
function k(T) {
|
|
1904
|
+
return _(T) === t;
|
|
1905
1905
|
}
|
|
1906
1906
|
function de(T) {
|
|
1907
|
-
return
|
|
1907
|
+
return _(T) === s;
|
|
1908
1908
|
}
|
|
1909
1909
|
function te(T) {
|
|
1910
|
-
return
|
|
1910
|
+
return _(T) === n;
|
|
1911
1911
|
}
|
|
1912
1912
|
function ie(T) {
|
|
1913
|
-
return
|
|
1913
|
+
return _(T) === p;
|
|
1914
1914
|
}
|
|
1915
|
-
|
|
1916
|
-
}()),
|
|
1915
|
+
xe.AsyncMode = g, xe.ConcurrentMode = W, xe.ContextConsumer = H, xe.ContextProvider = A, xe.Element = B, xe.ForwardRef = re, xe.Fragment = U, xe.Lazy = I, xe.Memo = V, xe.Portal = J, xe.Profiler = X, xe.StrictMode = N, xe.Suspense = ue, xe.isAsyncMode = we, xe.isConcurrentMode = Te, xe.isContextConsumer = Ie, xe.isContextProvider = $, xe.isElement = R, xe.isForwardRef = M, xe.isFragment = y, xe.isLazy = m, xe.isMemo = Q, xe.isPortal = k, xe.isProfiler = de, xe.isStrictMode = te, xe.isSuspense = ie, xe.isValidElementType = O, xe.typeOf = _;
|
|
1916
|
+
}()), xe;
|
|
1917
1917
|
}
|
|
1918
1918
|
(function(r) {
|
|
1919
|
-
process.env.NODE_ENV === "production" ? r.exports =
|
|
1920
|
-
})(
|
|
1921
|
-
var ai =
|
|
1919
|
+
process.env.NODE_ENV === "production" ? r.exports = ho() : r.exports = fo();
|
|
1920
|
+
})(nn);
|
|
1921
|
+
var ai = nn.exports, po = {
|
|
1922
1922
|
childContextTypes: !0,
|
|
1923
1923
|
contextType: !0,
|
|
1924
1924
|
contextTypes: !0,
|
|
@@ -1930,7 +1930,7 @@ var ai = en.exports, uo = {
|
|
|
1930
1930
|
mixins: !0,
|
|
1931
1931
|
propTypes: !0,
|
|
1932
1932
|
type: !0
|
|
1933
|
-
},
|
|
1933
|
+
}, mo = {
|
|
1934
1934
|
name: !0,
|
|
1935
1935
|
length: !0,
|
|
1936
1936
|
prototype: !0,
|
|
@@ -1938,13 +1938,13 @@ var ai = en.exports, uo = {
|
|
|
1938
1938
|
callee: !0,
|
|
1939
1939
|
arguments: !0,
|
|
1940
1940
|
arity: !0
|
|
1941
|
-
},
|
|
1941
|
+
}, go = {
|
|
1942
1942
|
$$typeof: !0,
|
|
1943
1943
|
render: !0,
|
|
1944
1944
|
defaultProps: !0,
|
|
1945
1945
|
displayName: !0,
|
|
1946
1946
|
propTypes: !0
|
|
1947
|
-
},
|
|
1947
|
+
}, on = {
|
|
1948
1948
|
$$typeof: !0,
|
|
1949
1949
|
compare: !0,
|
|
1950
1950
|
defaultProps: !0,
|
|
@@ -1952,26 +1952,26 @@ var ai = en.exports, uo = {
|
|
|
1952
1952
|
propTypes: !0,
|
|
1953
1953
|
type: !0
|
|
1954
1954
|
}, li = {};
|
|
1955
|
-
li[ai.ForwardRef] =
|
|
1956
|
-
li[ai.Memo] =
|
|
1955
|
+
li[ai.ForwardRef] = go;
|
|
1956
|
+
li[ai.Memo] = on;
|
|
1957
1957
|
function Hi(r) {
|
|
1958
|
-
return ai.isMemo(r) ?
|
|
1958
|
+
return ai.isMemo(r) ? on : li[r.$$typeof] || po;
|
|
1959
1959
|
}
|
|
1960
|
-
var
|
|
1961
|
-
function
|
|
1960
|
+
var yo = Object.defineProperty, bo = Object.getOwnPropertyNames, Ii = Object.getOwnPropertySymbols, vo = Object.getOwnPropertyDescriptor, xo = Object.getPrototypeOf, Fi = Object.prototype;
|
|
1961
|
+
function sn(r, e, t) {
|
|
1962
1962
|
if (typeof e != "string") {
|
|
1963
1963
|
if (Fi) {
|
|
1964
|
-
var i =
|
|
1965
|
-
i && i !== Fi &&
|
|
1964
|
+
var i = xo(e);
|
|
1965
|
+
i && i !== Fi && sn(r, i, t);
|
|
1966
1966
|
}
|
|
1967
|
-
var n =
|
|
1967
|
+
var n = bo(e);
|
|
1968
1968
|
Ii && (n = n.concat(Ii(e)));
|
|
1969
1969
|
for (var s = Hi(r), a = Hi(e), l = 0; l < n.length; ++l) {
|
|
1970
1970
|
var u = n[l];
|
|
1971
|
-
if (!
|
|
1972
|
-
var h =
|
|
1971
|
+
if (!mo[u] && !(t && t[u]) && !(a && a[u]) && !(s && s[u])) {
|
|
1972
|
+
var h = vo(e, u);
|
|
1973
1973
|
try {
|
|
1974
|
-
|
|
1974
|
+
yo(r, u, h);
|
|
1975
1975
|
} catch {
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
@@ -1979,7 +1979,7 @@ function rn(r, e, t) {
|
|
|
1979
1979
|
}
|
|
1980
1980
|
return r;
|
|
1981
1981
|
}
|
|
1982
|
-
var
|
|
1982
|
+
var So = sn;
|
|
1983
1983
|
function pt() {
|
|
1984
1984
|
return (pt = Object.assign || function(r) {
|
|
1985
1985
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -1995,18 +1995,18 @@ var Bi = function(r, e) {
|
|
|
1995
1995
|
t.push(e[i], r[i + 1]);
|
|
1996
1996
|
return t;
|
|
1997
1997
|
}, Gr = function(r) {
|
|
1998
|
-
return r !== null && typeof r == "object" && (r.toString ? r.toString() : Object.prototype.toString.call(r)) === "[object Object]" &&
|
|
1999
|
-
},
|
|
2000
|
-
function
|
|
1998
|
+
return r !== null && typeof r == "object" && (r.toString ? r.toString() : Object.prototype.toString.call(r)) === "[object Object]" && !Hr.exports.typeOf(r);
|
|
1999
|
+
}, Cr = Object.freeze([]), St = Object.freeze({});
|
|
2000
|
+
function ar(r) {
|
|
2001
2001
|
return typeof r == "function";
|
|
2002
2002
|
}
|
|
2003
|
-
function
|
|
2003
|
+
function Kr(r) {
|
|
2004
2004
|
return process.env.NODE_ENV !== "production" && typeof r == "string" && r || r.displayName || r.name || "Component";
|
|
2005
2005
|
}
|
|
2006
2006
|
function ci(r) {
|
|
2007
2007
|
return r && typeof r.styledComponentId == "string";
|
|
2008
2008
|
}
|
|
2009
|
-
var
|
|
2009
|
+
var Gt = typeof process < "u" && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", ui = typeof window < "u" && "HTMLElement" in window, wo = Boolean(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), Co = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
|
|
2010
2010
|
|
|
2011
2011
|
`, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
2012
2012
|
|
|
@@ -2048,19 +2048,19 @@ as for instance in your render method then you may be running into this limitati
|
|
|
2048
2048
|
`, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
|
|
2049
2049
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
2050
2050
|
` } : {};
|
|
2051
|
-
function
|
|
2051
|
+
function Eo() {
|
|
2052
2052
|
for (var r = arguments.length <= 0 ? void 0 : arguments[0], e = [], t = 1, i = arguments.length; t < i; t += 1)
|
|
2053
2053
|
e.push(t < 0 || arguments.length <= t ? void 0 : arguments[t]);
|
|
2054
2054
|
return e.forEach(function(n) {
|
|
2055
2055
|
r = r.replace(/%[a-z]/, n);
|
|
2056
2056
|
}), r;
|
|
2057
2057
|
}
|
|
2058
|
-
function
|
|
2058
|
+
function Jt(r) {
|
|
2059
2059
|
for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
|
|
2060
2060
|
t[i - 1] = arguments[i];
|
|
2061
|
-
throw process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + r + " for more information." + (t.length > 0 ? " Args: " + t.join(", ") : "")) : new Error(
|
|
2061
|
+
throw process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + r + " for more information." + (t.length > 0 ? " Args: " + t.join(", ") : "")) : new Error(Eo.apply(void 0, [Co[r]].concat(t)).trim());
|
|
2062
2062
|
}
|
|
2063
|
-
var
|
|
2063
|
+
var To = function() {
|
|
2064
2064
|
function r(t) {
|
|
2065
2065
|
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
|
|
2066
2066
|
}
|
|
@@ -2072,7 +2072,7 @@ var wo = function() {
|
|
|
2072
2072
|
}, e.insertRules = function(t, i) {
|
|
2073
2073
|
if (t >= this.groupSizes.length) {
|
|
2074
2074
|
for (var n = this.groupSizes, s = n.length, a = s; t >= a; )
|
|
2075
|
-
(a <<= 1) < 0 &&
|
|
2075
|
+
(a <<= 1) < 0 && Jt(16, "" + t);
|
|
2076
2076
|
this.groupSizes = new Uint32Array(a), this.groupSizes.set(n), this.length = a;
|
|
2077
2077
|
for (var l = s; l < a; l++)
|
|
2078
2078
|
this.groupSizes[l] = 0;
|
|
@@ -2095,49 +2095,49 @@ var wo = function() {
|
|
|
2095
2095
|
`;
|
|
2096
2096
|
return i;
|
|
2097
2097
|
}, r;
|
|
2098
|
-
}(),
|
|
2099
|
-
if (
|
|
2100
|
-
return
|
|
2101
|
-
for (;
|
|
2102
|
-
|
|
2103
|
-
var e =
|
|
2104
|
-
return process.env.NODE_ENV !== "production" && ((0 | e) < 0 || e > 1 << 30) &&
|
|
2105
|
-
},
|
|
2106
|
-
return
|
|
2107
|
-
},
|
|
2108
|
-
e >=
|
|
2109
|
-
},
|
|
2098
|
+
}(), br = /* @__PURE__ */ new Map(), Er = /* @__PURE__ */ new Map(), ir = 1, fr = function(r) {
|
|
2099
|
+
if (br.has(r))
|
|
2100
|
+
return br.get(r);
|
|
2101
|
+
for (; Er.has(ir); )
|
|
2102
|
+
ir++;
|
|
2103
|
+
var e = ir++;
|
|
2104
|
+
return process.env.NODE_ENV !== "production" && ((0 | e) < 0 || e > 1 << 30) && Jt(16, "" + e), br.set(r, e), Er.set(e, r), e;
|
|
2105
|
+
}, ko = function(r) {
|
|
2106
|
+
return Er.get(r);
|
|
2107
|
+
}, Ao = function(r, e) {
|
|
2108
|
+
e >= ir && (ir = e + 1), br.set(r, e), Er.set(e, r);
|
|
2109
|
+
}, Po = "style[" + Gt + '][data-styled-version="5.3.6"]', _o = new RegExp("^" + Gt + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), Oo = function(r, e, t) {
|
|
2110
2110
|
for (var i, n = t.split(","), s = 0, a = n.length; s < a; s++)
|
|
2111
2111
|
(i = n[s]) && r.registerName(e, i);
|
|
2112
|
-
},
|
|
2112
|
+
}, Ro = function(r, e) {
|
|
2113
2113
|
for (var t = (e.textContent || "").split(`/*!sc*/
|
|
2114
2114
|
`), i = [], n = 0, s = t.length; n < s; n++) {
|
|
2115
2115
|
var a = t[n].trim();
|
|
2116
2116
|
if (a) {
|
|
2117
|
-
var l = a.match(
|
|
2117
|
+
var l = a.match(_o);
|
|
2118
2118
|
if (l) {
|
|
2119
2119
|
var u = 0 | parseInt(l[1], 10), h = l[2];
|
|
2120
|
-
u !== 0 && (
|
|
2120
|
+
u !== 0 && (Ao(h, u), Oo(r, h, l[3]), r.getTag().insertRules(u, i)), i.length = 0;
|
|
2121
2121
|
} else
|
|
2122
2122
|
i.push(a);
|
|
2123
2123
|
}
|
|
2124
2124
|
}
|
|
2125
|
-
},
|
|
2125
|
+
}, Do = function() {
|
|
2126
2126
|
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
|
|
2127
|
-
},
|
|
2127
|
+
}, an = function(r) {
|
|
2128
2128
|
var e = document.head, t = r || e, i = document.createElement("style"), n = function(l) {
|
|
2129
2129
|
for (var u = l.childNodes, h = u.length; h >= 0; h--) {
|
|
2130
2130
|
var c = u[h];
|
|
2131
|
-
if (c && c.nodeType === 1 && c.hasAttribute(
|
|
2131
|
+
if (c && c.nodeType === 1 && c.hasAttribute(Gt))
|
|
2132
2132
|
return c;
|
|
2133
2133
|
}
|
|
2134
2134
|
}(t), s = n !== void 0 ? n.nextSibling : null;
|
|
2135
|
-
i.setAttribute(
|
|
2136
|
-
var a =
|
|
2135
|
+
i.setAttribute(Gt, "active"), i.setAttribute("data-styled-version", "5.3.6");
|
|
2136
|
+
var a = Do();
|
|
2137
2137
|
return a && i.setAttribute("nonce", a), t.insertBefore(i, s), i;
|
|
2138
|
-
},
|
|
2138
|
+
}, zo = function() {
|
|
2139
2139
|
function r(t) {
|
|
2140
|
-
var i = this.element =
|
|
2140
|
+
var i = this.element = an(t);
|
|
2141
2141
|
i.appendChild(document.createTextNode("")), this.sheet = function(n) {
|
|
2142
2142
|
if (n.sheet)
|
|
2143
2143
|
return n.sheet;
|
|
@@ -2146,7 +2146,7 @@ var wo = function() {
|
|
|
2146
2146
|
if (u.ownerNode === n)
|
|
2147
2147
|
return u;
|
|
2148
2148
|
}
|
|
2149
|
-
|
|
2149
|
+
Jt(17);
|
|
2150
2150
|
}(i), this.length = 0;
|
|
2151
2151
|
}
|
|
2152
2152
|
var e = r.prototype;
|
|
@@ -2162,9 +2162,9 @@ var wo = function() {
|
|
|
2162
2162
|
var i = this.sheet.cssRules[t];
|
|
2163
2163
|
return i !== void 0 && typeof i.cssText == "string" ? i.cssText : "";
|
|
2164
2164
|
}, r;
|
|
2165
|
-
}(),
|
|
2165
|
+
}(), $o = function() {
|
|
2166
2166
|
function r(t) {
|
|
2167
|
-
var i = this.element =
|
|
2167
|
+
var i = this.element = an(t);
|
|
2168
2168
|
this.nodes = i.childNodes, this.length = 0;
|
|
2169
2169
|
}
|
|
2170
2170
|
var e = r.prototype;
|
|
@@ -2179,7 +2179,7 @@ var wo = function() {
|
|
|
2179
2179
|
}, e.getRule = function(t) {
|
|
2180
2180
|
return t < this.length ? this.nodes[t].textContent : "";
|
|
2181
2181
|
}, r;
|
|
2182
|
-
}(),
|
|
2182
|
+
}(), Mo = function() {
|
|
2183
2183
|
function r(t) {
|
|
2184
2184
|
this.rules = [], this.length = 0;
|
|
2185
2185
|
}
|
|
@@ -2191,17 +2191,17 @@ var wo = function() {
|
|
|
2191
2191
|
}, e.getRule = function(t) {
|
|
2192
2192
|
return t < this.length ? this.rules[t] : "";
|
|
2193
2193
|
}, r;
|
|
2194
|
-
}(), Yi = ui,
|
|
2194
|
+
}(), Yi = ui, Ho = { isServer: !ui, useCSSOMInjection: !wo }, ln = function() {
|
|
2195
2195
|
function r(t, i, n) {
|
|
2196
|
-
t === void 0 && (t = St), i === void 0 && (i = {}), this.options = pt({},
|
|
2197
|
-
for (var a = document.querySelectorAll(
|
|
2196
|
+
t === void 0 && (t = St), i === void 0 && (i = {}), this.options = pt({}, Ho, {}, t), this.gs = i, this.names = new Map(n), this.server = !!t.isServer, !this.server && ui && Yi && (Yi = !1, function(s) {
|
|
2197
|
+
for (var a = document.querySelectorAll(Po), l = 0, u = a.length; l < u; l++) {
|
|
2198
2198
|
var h = a[l];
|
|
2199
|
-
h && h.getAttribute(
|
|
2199
|
+
h && h.getAttribute(Gt) !== "active" && (Ro(s, h), h.parentNode && h.parentNode.removeChild(h));
|
|
2200
2200
|
}
|
|
2201
2201
|
}(this));
|
|
2202
2202
|
}
|
|
2203
2203
|
r.registerId = function(t) {
|
|
2204
|
-
return
|
|
2204
|
+
return fr(t);
|
|
2205
2205
|
};
|
|
2206
2206
|
var e = r.prototype;
|
|
2207
2207
|
return e.reconstructWithOptions = function(t, i) {
|
|
@@ -2209,33 +2209,33 @@ var wo = function() {
|
|
|
2209
2209
|
}, e.allocateGSInstance = function(t) {
|
|
2210
2210
|
return this.gs[t] = (this.gs[t] || 0) + 1;
|
|
2211
2211
|
}, e.getTag = function() {
|
|
2212
|
-
return this.tag || (this.tag = (n = (i = this.options).isServer, s = i.useCSSOMInjection, a = i.target, t = n ? new
|
|
2212
|
+
return this.tag || (this.tag = (n = (i = this.options).isServer, s = i.useCSSOMInjection, a = i.target, t = n ? new Mo(a) : s ? new zo(a) : new $o(a), new To(t)));
|
|
2213
2213
|
var t, i, n, s, a;
|
|
2214
2214
|
}, e.hasNameForId = function(t, i) {
|
|
2215
2215
|
return this.names.has(t) && this.names.get(t).has(i);
|
|
2216
2216
|
}, e.registerName = function(t, i) {
|
|
2217
|
-
if (
|
|
2217
|
+
if (fr(t), this.names.has(t))
|
|
2218
2218
|
this.names.get(t).add(i);
|
|
2219
2219
|
else {
|
|
2220
2220
|
var n = /* @__PURE__ */ new Set();
|
|
2221
2221
|
n.add(i), this.names.set(t, n);
|
|
2222
2222
|
}
|
|
2223
2223
|
}, e.insertRules = function(t, i, n) {
|
|
2224
|
-
this.registerName(t, i), this.getTag().insertRules(
|
|
2224
|
+
this.registerName(t, i), this.getTag().insertRules(fr(t), n);
|
|
2225
2225
|
}, e.clearNames = function(t) {
|
|
2226
2226
|
this.names.has(t) && this.names.get(t).clear();
|
|
2227
2227
|
}, e.clearRules = function(t) {
|
|
2228
|
-
this.getTag().clearGroup(
|
|
2228
|
+
this.getTag().clearGroup(fr(t)), this.clearNames(t);
|
|
2229
2229
|
}, e.clearTag = function() {
|
|
2230
2230
|
this.tag = void 0;
|
|
2231
2231
|
}, e.toString = function() {
|
|
2232
2232
|
return function(t) {
|
|
2233
2233
|
for (var i = t.getTag(), n = i.length, s = "", a = 0; a < n; a++) {
|
|
2234
|
-
var l =
|
|
2234
|
+
var l = ko(a);
|
|
2235
2235
|
if (l !== void 0) {
|
|
2236
2236
|
var u = t.names.get(l), h = i.getGroup(a);
|
|
2237
2237
|
if (u && h && u.size) {
|
|
2238
|
-
var c =
|
|
2238
|
+
var c = Gt + ".g" + a + '[id="' + l + '"]', p = "";
|
|
2239
2239
|
u !== void 0 && u.forEach(function(x) {
|
|
2240
2240
|
x.length > 0 && (p += x + ",");
|
|
2241
2241
|
}), s += "" + h + c + '{content:"' + p + `"}/*!sc*/
|
|
@@ -2246,33 +2246,33 @@ var wo = function() {
|
|
|
2246
2246
|
return s;
|
|
2247
2247
|
}(this);
|
|
2248
2248
|
}, r;
|
|
2249
|
-
}(),
|
|
2249
|
+
}(), Io = /(a)(d)/gi, ji = function(r) {
|
|
2250
2250
|
return String.fromCharCode(r + (r > 25 ? 39 : 97));
|
|
2251
2251
|
};
|
|
2252
|
-
function
|
|
2252
|
+
function qr(r) {
|
|
2253
2253
|
var e, t = "";
|
|
2254
2254
|
for (e = Math.abs(r); e > 52; e = e / 52 | 0)
|
|
2255
2255
|
t = ji(e % 52) + t;
|
|
2256
|
-
return (ji(e % 52) + t).replace(
|
|
2256
|
+
return (ji(e % 52) + t).replace(Io, "$1-$2");
|
|
2257
2257
|
}
|
|
2258
2258
|
var Tt = function(r, e) {
|
|
2259
2259
|
for (var t = e.length; t; )
|
|
2260
2260
|
r = 33 * r ^ e.charCodeAt(--t);
|
|
2261
2261
|
return r;
|
|
2262
|
-
},
|
|
2262
|
+
}, cn = function(r) {
|
|
2263
2263
|
return Tt(5381, r);
|
|
2264
2264
|
};
|
|
2265
|
-
function
|
|
2265
|
+
function Fo(r) {
|
|
2266
2266
|
for (var e = 0; e < r.length; e += 1) {
|
|
2267
2267
|
var t = r[e];
|
|
2268
|
-
if (
|
|
2268
|
+
if (ar(t) && !ci(t))
|
|
2269
2269
|
return !1;
|
|
2270
2270
|
}
|
|
2271
2271
|
return !0;
|
|
2272
2272
|
}
|
|
2273
|
-
var
|
|
2273
|
+
var Bo = cn("5.3.6"), Yo = function() {
|
|
2274
2274
|
function r(e, t, i) {
|
|
2275
|
-
this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (i === void 0 || i.isStatic) &&
|
|
2275
|
+
this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (i === void 0 || i.isStatic) && Fo(e), this.componentId = t, this.baseHash = Tt(Bo, t), this.baseStyle = i, ln.registerId(t);
|
|
2276
2276
|
}
|
|
2277
2277
|
return r.prototype.generateAndInjectStyles = function(e, t, i) {
|
|
2278
2278
|
var n = this.componentId, s = [];
|
|
@@ -2280,7 +2280,7 @@ var Ho = sn("5.3.6"), Io = function() {
|
|
|
2280
2280
|
if (this.staticRulesId && t.hasNameForId(n, this.staticRulesId))
|
|
2281
2281
|
s.push(this.staticRulesId);
|
|
2282
2282
|
else {
|
|
2283
|
-
var a =
|
|
2283
|
+
var a = Kt(this.rules, e, t, i).join(""), l = qr(Tt(this.baseHash, a) >>> 0);
|
|
2284
2284
|
if (!t.hasNameForId(n, l)) {
|
|
2285
2285
|
var u = i(a, "." + l, void 0, n);
|
|
2286
2286
|
t.insertRules(n, l, u);
|
|
@@ -2293,46 +2293,46 @@ var Ho = sn("5.3.6"), Io = function() {
|
|
|
2293
2293
|
if (typeof b == "string")
|
|
2294
2294
|
p += b, process.env.NODE_ENV !== "production" && (c = Tt(c, b + x));
|
|
2295
2295
|
else if (b) {
|
|
2296
|
-
var E =
|
|
2297
|
-
c = Tt(c,
|
|
2296
|
+
var E = Kt(b, e, t, i), C = Array.isArray(E) ? E.join("") : E;
|
|
2297
|
+
c = Tt(c, C + x), p += C;
|
|
2298
2298
|
}
|
|
2299
2299
|
}
|
|
2300
2300
|
if (p) {
|
|
2301
|
-
var d =
|
|
2301
|
+
var d = qr(c >>> 0);
|
|
2302
2302
|
if (!t.hasNameForId(n, d)) {
|
|
2303
|
-
var
|
|
2304
|
-
t.insertRules(n, d,
|
|
2303
|
+
var w = i(p, "." + d, void 0, n);
|
|
2304
|
+
t.insertRules(n, d, w);
|
|
2305
2305
|
}
|
|
2306
2306
|
s.push(d);
|
|
2307
2307
|
}
|
|
2308
2308
|
}
|
|
2309
2309
|
return s.join(" ");
|
|
2310
2310
|
}, r;
|
|
2311
|
-
}(),
|
|
2312
|
-
function
|
|
2313
|
-
var e, t, i, n, s = r === void 0 ? St : r, a = s.options, l = a === void 0 ? St : a, u = s.plugins, h = u === void 0 ?
|
|
2314
|
-
function d(
|
|
2315
|
-
if (
|
|
2311
|
+
}(), jo = /^\s*\/\/.*$/gm, No = [":", "[", ".", "#"];
|
|
2312
|
+
function Lo(r) {
|
|
2313
|
+
var e, t, i, n, s = r === void 0 ? St : r, a = s.options, l = a === void 0 ? St : a, u = s.plugins, h = u === void 0 ? Cr : u, c = new ao(l), p = [], x = function(C) {
|
|
2314
|
+
function d(w) {
|
|
2315
|
+
if (w)
|
|
2316
2316
|
try {
|
|
2317
|
-
w
|
|
2317
|
+
C(w + "}");
|
|
2318
2318
|
} catch {
|
|
2319
2319
|
}
|
|
2320
2320
|
}
|
|
2321
|
-
return function(
|
|
2322
|
-
switch (
|
|
2321
|
+
return function(w, S, O, _, g, W, H, A, B, re) {
|
|
2322
|
+
switch (w) {
|
|
2323
2323
|
case 1:
|
|
2324
2324
|
if (B === 0 && S.charCodeAt(0) === 64)
|
|
2325
|
-
return
|
|
2325
|
+
return C(S + ";"), "";
|
|
2326
2326
|
break;
|
|
2327
2327
|
case 2:
|
|
2328
|
-
if (
|
|
2328
|
+
if (A === 0)
|
|
2329
2329
|
return S + "/*|*/";
|
|
2330
2330
|
break;
|
|
2331
2331
|
case 3:
|
|
2332
|
-
switch (
|
|
2332
|
+
switch (A) {
|
|
2333
2333
|
case 102:
|
|
2334
2334
|
case 112:
|
|
2335
|
-
return
|
|
2335
|
+
return C(O[0] + S), "";
|
|
2336
2336
|
default:
|
|
2337
2337
|
return S + (re === 0 ? "/*|*/" : "");
|
|
2338
2338
|
}
|
|
@@ -2340,37 +2340,37 @@ function Yo(r) {
|
|
|
2340
2340
|
S.split("/*|*/}").forEach(d);
|
|
2341
2341
|
}
|
|
2342
2342
|
};
|
|
2343
|
-
}(function(
|
|
2344
|
-
p.push(
|
|
2345
|
-
}), b = function(
|
|
2346
|
-
return d === 0 &&
|
|
2343
|
+
}(function(C) {
|
|
2344
|
+
p.push(C);
|
|
2345
|
+
}), b = function(C, d, w) {
|
|
2346
|
+
return d === 0 && No.indexOf(w[t.length]) !== -1 || w.match(n) ? C : "." + e;
|
|
2347
2347
|
};
|
|
2348
|
-
function E(
|
|
2348
|
+
function E(C, d, w, S) {
|
|
2349
2349
|
S === void 0 && (S = "&");
|
|
2350
|
-
var
|
|
2351
|
-
return e = S, t = d, i = new RegExp("\\" + t + "\\b", "g"), n = new RegExp("(\\" + t + "\\b){2,}"), c(
|
|
2350
|
+
var O = C.replace(jo, ""), _ = d && w ? w + " " + d + " { " + O + " }" : O;
|
|
2351
|
+
return e = S, t = d, i = new RegExp("\\" + t + "\\b", "g"), n = new RegExp("(\\" + t + "\\b){2,}"), c(w || !d ? "" : d, _);
|
|
2352
2352
|
}
|
|
2353
|
-
return c.use([].concat(h, [function(
|
|
2354
|
-
|
|
2355
|
-
}, x, function(
|
|
2356
|
-
if (
|
|
2353
|
+
return c.use([].concat(h, [function(C, d, w) {
|
|
2354
|
+
C === 2 && w.length && w[0].lastIndexOf(t) > 0 && (w[0] = w[0].replace(i, b));
|
|
2355
|
+
}, x, function(C) {
|
|
2356
|
+
if (C === -2) {
|
|
2357
2357
|
var d = p;
|
|
2358
2358
|
return p = [], d;
|
|
2359
2359
|
}
|
|
2360
|
-
}])), E.hash = h.length ? h.reduce(function(
|
|
2361
|
-
return d.name ||
|
|
2360
|
+
}])), E.hash = h.length ? h.reduce(function(C, d) {
|
|
2361
|
+
return d.name || Jt(15), Tt(C, d.name);
|
|
2362
2362
|
}, 5381).toString() : "", E;
|
|
2363
2363
|
}
|
|
2364
|
-
var
|
|
2365
|
-
|
|
2366
|
-
var
|
|
2367
|
-
function
|
|
2368
|
-
return
|
|
2364
|
+
var un = Be.createContext();
|
|
2365
|
+
un.Consumer;
|
|
2366
|
+
var dn = Be.createContext(), Vo = (dn.Consumer, new ln()), Jr = Lo();
|
|
2367
|
+
function Xo() {
|
|
2368
|
+
return Ue(un) || Vo;
|
|
2369
2369
|
}
|
|
2370
|
-
function
|
|
2371
|
-
return
|
|
2370
|
+
function Wo() {
|
|
2371
|
+
return Ue(dn) || Jr;
|
|
2372
2372
|
}
|
|
2373
|
-
var
|
|
2373
|
+
var Uo = function() {
|
|
2374
2374
|
function r(e, t) {
|
|
2375
2375
|
var i = this;
|
|
2376
2376
|
this.inject = function(n, s) {
|
|
@@ -2378,54 +2378,54 @@ var Vo = function() {
|
|
|
2378
2378
|
var a = i.name + s.hash;
|
|
2379
2379
|
n.hasNameForId(i.id, a) || n.insertRules(i.id, a, s(i.rules, a, "@keyframes"));
|
|
2380
2380
|
}, this.toString = function() {
|
|
2381
|
-
return
|
|
2381
|
+
return Jt(12, String(i.name));
|
|
2382
2382
|
}, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
|
|
2383
2383
|
}
|
|
2384
2384
|
return r.prototype.getName = function(e) {
|
|
2385
2385
|
return e === void 0 && (e = Jr), this.name + e.hash;
|
|
2386
2386
|
}, r;
|
|
2387
|
-
}(),
|
|
2387
|
+
}(), Zo = /([A-Z])/, Go = /([A-Z])/g, Ko = /^ms-/, qo = function(r) {
|
|
2388
2388
|
return "-" + r.toLowerCase();
|
|
2389
2389
|
};
|
|
2390
2390
|
function Ni(r) {
|
|
2391
|
-
return
|
|
2391
|
+
return Zo.test(r) ? r.replace(Go, qo).replace(Ko, "-ms-") : r;
|
|
2392
2392
|
}
|
|
2393
2393
|
var Li = function(r) {
|
|
2394
2394
|
return r == null || r === !1 || r === "";
|
|
2395
2395
|
};
|
|
2396
|
-
function
|
|
2396
|
+
function Kt(r, e, t, i) {
|
|
2397
2397
|
if (Array.isArray(r)) {
|
|
2398
2398
|
for (var n, s = [], a = 0, l = r.length; a < l; a += 1)
|
|
2399
|
-
(n =
|
|
2399
|
+
(n = Kt(r[a], e, t, i)) !== "" && (Array.isArray(n) ? s.push.apply(s, n) : s.push(n));
|
|
2400
2400
|
return s;
|
|
2401
2401
|
}
|
|
2402
2402
|
if (Li(r))
|
|
2403
2403
|
return "";
|
|
2404
2404
|
if (ci(r))
|
|
2405
2405
|
return "." + r.styledComponentId;
|
|
2406
|
-
if (
|
|
2406
|
+
if (ar(r)) {
|
|
2407
2407
|
if (typeof (h = r) != "function" || h.prototype && h.prototype.isReactComponent || !e)
|
|
2408
2408
|
return r;
|
|
2409
2409
|
var u = r(e);
|
|
2410
|
-
return process.env.NODE_ENV !== "production" &&
|
|
2410
|
+
return process.env.NODE_ENV !== "production" && Hr.exports.isElement(u) && console.warn(Kr(r) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), Kt(u, e, t, i);
|
|
2411
2411
|
}
|
|
2412
2412
|
var h;
|
|
2413
|
-
return r instanceof
|
|
2414
|
-
var b, E,
|
|
2413
|
+
return r instanceof Uo ? t ? (r.inject(t, i), r.getName(i)) : r : Gr(r) ? function c(p, x) {
|
|
2414
|
+
var b, E, C = [];
|
|
2415
2415
|
for (var d in p)
|
|
2416
|
-
p.hasOwnProperty(d) && !Li(p[d]) && (Array.isArray(p[d]) && p[d].isCss ||
|
|
2417
|
-
return x ? [x + " {"].concat(
|
|
2416
|
+
p.hasOwnProperty(d) && !Li(p[d]) && (Array.isArray(p[d]) && p[d].isCss || ar(p[d]) ? C.push(Ni(d) + ":", p[d], ";") : Gr(p[d]) ? C.push.apply(C, c(p[d], d)) : C.push(Ni(d) + ": " + (b = d, (E = p[d]) == null || typeof E == "boolean" || E === "" ? "" : typeof E != "number" || E === 0 || b in lo ? String(E).trim() : E + "px") + ";"));
|
|
2417
|
+
return x ? [x + " {"].concat(C, ["}"]) : C;
|
|
2418
2418
|
}(r) : r.toString();
|
|
2419
2419
|
}
|
|
2420
2420
|
var Vi = function(r) {
|
|
2421
2421
|
return Array.isArray(r) && (r.isCss = !0), r;
|
|
2422
2422
|
};
|
|
2423
|
-
function
|
|
2423
|
+
function Jo(r) {
|
|
2424
2424
|
for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
|
|
2425
2425
|
t[i - 1] = arguments[i];
|
|
2426
|
-
return
|
|
2426
|
+
return ar(r) || Gr(r) ? Vi(Kt(Bi(Cr, [r].concat(t)))) : t.length === 0 && r.length === 1 && typeof r[0] == "string" ? r : Vi(Kt(Bi(r, t)));
|
|
2427
2427
|
}
|
|
2428
|
-
var Xi = /invalid hook call/i,
|
|
2428
|
+
var Xi = /invalid hook call/i, pr = /* @__PURE__ */ new Set(), Qo = function(r, e) {
|
|
2429
2429
|
if (process.env.NODE_ENV !== "production") {
|
|
2430
2430
|
var t = "The component " + r + (e ? ' with the id of "' + e + '"' : "") + ` has been created dynamically.
|
|
2431
2431
|
You may see this warning because you've called styled inside another component.
|
|
@@ -2434,106 +2434,106 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
2434
2434
|
var n = !0;
|
|
2435
2435
|
console.error = function(s) {
|
|
2436
2436
|
if (Xi.test(s))
|
|
2437
|
-
n = !1,
|
|
2437
|
+
n = !1, pr.delete(t);
|
|
2438
2438
|
else {
|
|
2439
2439
|
for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), u = 1; u < a; u++)
|
|
2440
2440
|
l[u - 1] = arguments[u];
|
|
2441
2441
|
i.apply(void 0, [s].concat(l));
|
|
2442
2442
|
}
|
|
2443
|
-
},
|
|
2443
|
+
}, tn(), n && !pr.has(t) && (console.warn(t), pr.add(t));
|
|
2444
2444
|
} catch (s) {
|
|
2445
|
-
Xi.test(s.message) &&
|
|
2445
|
+
Xi.test(s.message) && pr.delete(t);
|
|
2446
2446
|
} finally {
|
|
2447
2447
|
console.error = i;
|
|
2448
2448
|
}
|
|
2449
2449
|
}
|
|
2450
|
-
},
|
|
2450
|
+
}, es = function(r, e, t) {
|
|
2451
2451
|
return t === void 0 && (t = St), r.theme !== t.theme && r.theme || e || t.theme;
|
|
2452
|
-
},
|
|
2453
|
-
function
|
|
2454
|
-
return r.replace(
|
|
2452
|
+
}, ts = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, rs = /(^-|-$)/g;
|
|
2453
|
+
function Nr(r) {
|
|
2454
|
+
return r.replace(ts, "-").replace(rs, "");
|
|
2455
2455
|
}
|
|
2456
|
-
var
|
|
2457
|
-
return
|
|
2456
|
+
var is = function(r) {
|
|
2457
|
+
return qr(cn(r) >>> 0);
|
|
2458
2458
|
};
|
|
2459
|
-
function
|
|
2459
|
+
function mr(r) {
|
|
2460
2460
|
return typeof r == "string" && (process.env.NODE_ENV === "production" || r.charAt(0) === r.charAt(0).toLowerCase());
|
|
2461
2461
|
}
|
|
2462
2462
|
var Qr = function(r) {
|
|
2463
2463
|
return typeof r == "function" || typeof r == "object" && r !== null && !Array.isArray(r);
|
|
2464
|
-
},
|
|
2464
|
+
}, ns = function(r) {
|
|
2465
2465
|
return r !== "__proto__" && r !== "constructor" && r !== "prototype";
|
|
2466
2466
|
};
|
|
2467
|
-
function
|
|
2467
|
+
function os(r, e, t) {
|
|
2468
2468
|
var i = r[t];
|
|
2469
|
-
Qr(e) && Qr(i) ?
|
|
2469
|
+
Qr(e) && Qr(i) ? hn(i, e) : r[t] = e;
|
|
2470
2470
|
}
|
|
2471
|
-
function
|
|
2471
|
+
function hn(r) {
|
|
2472
2472
|
for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
|
|
2473
2473
|
t[i - 1] = arguments[i];
|
|
2474
2474
|
for (var n = 0, s = t; n < s.length; n++) {
|
|
2475
2475
|
var a = s[n];
|
|
2476
2476
|
if (Qr(a))
|
|
2477
2477
|
for (var l in a)
|
|
2478
|
-
|
|
2478
|
+
ns(l) && os(r, a[l], l);
|
|
2479
2479
|
}
|
|
2480
2480
|
return r;
|
|
2481
2481
|
}
|
|
2482
|
-
var
|
|
2483
|
-
|
|
2484
|
-
var
|
|
2485
|
-
function
|
|
2486
|
-
var i = ci(r), n = !
|
|
2487
|
-
var
|
|
2488
|
-
|
|
2489
|
-
var g =
|
|
2490
|
-
return
|
|
2482
|
+
var fn = Be.createContext();
|
|
2483
|
+
fn.Consumer;
|
|
2484
|
+
var Lr = {};
|
|
2485
|
+
function pn(r, e, t) {
|
|
2486
|
+
var i = ci(r), n = !mr(r), s = e.attrs, a = s === void 0 ? Cr : s, l = e.componentId, u = l === void 0 ? function(S, O) {
|
|
2487
|
+
var _ = typeof S != "string" ? "sc" : Nr(S);
|
|
2488
|
+
Lr[_] = (Lr[_] || 0) + 1;
|
|
2489
|
+
var g = _ + "-" + is("5.3.6" + _ + Lr[_]);
|
|
2490
|
+
return O ? O + "-" + g : g;
|
|
2491
2491
|
}(e.displayName, e.parentComponentId) : l, h = e.displayName, c = h === void 0 ? function(S) {
|
|
2492
|
-
return
|
|
2493
|
-
}(r) : h, p = e.displayName && e.componentId ?
|
|
2494
|
-
i && r.shouldForwardProp && (b = e.shouldForwardProp ? function(S,
|
|
2495
|
-
return r.shouldForwardProp(S,
|
|
2492
|
+
return mr(S) ? "styled." + S : "Styled(" + Kr(S) + ")";
|
|
2493
|
+
}(r) : h, p = e.displayName && e.componentId ? Nr(e.displayName) + "-" + e.componentId : e.componentId || u, x = i && r.attrs ? Array.prototype.concat(r.attrs, a).filter(Boolean) : a, b = e.shouldForwardProp;
|
|
2494
|
+
i && r.shouldForwardProp && (b = e.shouldForwardProp ? function(S, O, _) {
|
|
2495
|
+
return r.shouldForwardProp(S, O, _) && e.shouldForwardProp(S, O, _);
|
|
2496
2496
|
} : r.shouldForwardProp);
|
|
2497
|
-
var E,
|
|
2498
|
-
return function(
|
|
2499
|
-
var
|
|
2497
|
+
var E, C = new Yo(t, p, i ? r.componentStyle : void 0), d = C.isStatic && a.length === 0, w = function(S, O) {
|
|
2498
|
+
return function(_, g, W, H) {
|
|
2499
|
+
var A = _.attrs, B = _.componentStyle, re = _.defaultProps, U = _.foldedComponentIds, I = _.shouldForwardProp, V = _.styledComponentId, J = _.target;
|
|
2500
2500
|
process.env.NODE_ENV !== "production" && Si(V);
|
|
2501
2501
|
var X = function(y, m, Q) {
|
|
2502
2502
|
y === void 0 && (y = St);
|
|
2503
|
-
var
|
|
2503
|
+
var k = pt({}, m, { theme: y }), de = {};
|
|
2504
2504
|
return Q.forEach(function(te) {
|
|
2505
2505
|
var ie, T, ce, z = te;
|
|
2506
|
-
for (ie in
|
|
2507
|
-
|
|
2508
|
-
}), [
|
|
2509
|
-
}(
|
|
2510
|
-
var de =
|
|
2511
|
-
return process.env.NODE_ENV !== "production" && Si(ie), process.env.NODE_ENV !== "production" && !m &&
|
|
2512
|
-
}(B, H, N, process.env.NODE_ENV !== "production" ?
|
|
2506
|
+
for (ie in ar(z) && (z = z(k)), z)
|
|
2507
|
+
k[ie] = de[ie] = ie === "className" ? (T = de[ie], ce = z[ie], T && ce ? T + " " + ce : T || ce) : z[ie];
|
|
2508
|
+
}), [k, de];
|
|
2509
|
+
}(es(g, Ue(fn), re) || St, g, A), N = X[0], ue = X[1], le = function(y, m, Q, k) {
|
|
2510
|
+
var de = Xo(), te = Wo(), ie = m ? y.generateAndInjectStyles(St, de, te) : y.generateAndInjectStyles(Q, de, te);
|
|
2511
|
+
return process.env.NODE_ENV !== "production" && Si(ie), process.env.NODE_ENV !== "production" && !m && k && k(ie), ie;
|
|
2512
|
+
}(B, H, N, process.env.NODE_ENV !== "production" ? _.warnTooManyClasses : void 0), we = W, Te = ue.$as || g.$as || ue.as || g.as || J, Ie = mr(Te), $ = ue !== g ? pt({}, g, {}, ue) : g, R = {};
|
|
2513
2513
|
for (var M in $)
|
|
2514
|
-
M[0] !== "$" && M !== "as" && (M === "forwardedAs" ? R.as = $[M] : (I ? I(M, zi,
|
|
2515
|
-
return g.style && ue.style !== g.style && (R.style = pt({}, g.style, {}, ue.style)), R.className = Array.prototype.concat(U, V, le !== V ? le : null, g.className, ue.className).filter(Boolean).join(" "), R.ref = we,
|
|
2516
|
-
}(E, S,
|
|
2514
|
+
M[0] !== "$" && M !== "as" && (M === "forwardedAs" ? R.as = $[M] : (I ? I(M, zi, Te) : !Ie || zi(M)) && (R[M] = $[M]));
|
|
2515
|
+
return g.style && ue.style !== g.style && (R.style = pt({}, g.style, {}, ue.style)), R.className = Array.prototype.concat(U, V, le !== V ? le : null, g.className, ue.className).filter(Boolean).join(" "), R.ref = we, Bn(Te, R);
|
|
2516
|
+
}(E, S, O, d);
|
|
2517
2517
|
};
|
|
2518
|
-
return
|
|
2519
|
-
var
|
|
2518
|
+
return w.displayName = c, (E = Be.forwardRef(w)).attrs = x, E.componentStyle = C, E.displayName = c, E.shouldForwardProp = b, E.foldedComponentIds = i ? Array.prototype.concat(r.foldedComponentIds, r.styledComponentId) : Cr, E.styledComponentId = p, E.target = i ? r.target : r, E.withComponent = function(S) {
|
|
2519
|
+
var O = e.componentId, _ = function(W, H) {
|
|
2520
2520
|
if (W == null)
|
|
2521
2521
|
return {};
|
|
2522
|
-
var
|
|
2522
|
+
var A, B, re = {}, U = Object.keys(W);
|
|
2523
2523
|
for (B = 0; B < U.length; B++)
|
|
2524
|
-
|
|
2524
|
+
A = U[B], H.indexOf(A) >= 0 || (re[A] = W[A]);
|
|
2525
2525
|
return re;
|
|
2526
|
-
}(e, ["componentId"]), g =
|
|
2527
|
-
return
|
|
2526
|
+
}(e, ["componentId"]), g = O && O + "-" + (mr(S) ? S : Nr(Kr(S)));
|
|
2527
|
+
return pn(S, pt({}, _, { attrs: x, componentId: g }), t);
|
|
2528
2528
|
}, Object.defineProperty(E, "defaultProps", { get: function() {
|
|
2529
2529
|
return this._foldedDefaultProps;
|
|
2530
2530
|
}, set: function(S) {
|
|
2531
|
-
this._foldedDefaultProps = i ?
|
|
2532
|
-
} }), process.env.NODE_ENV !== "production" && (
|
|
2533
|
-
var
|
|
2531
|
+
this._foldedDefaultProps = i ? hn({}, r.defaultProps, S) : S;
|
|
2532
|
+
} }), process.env.NODE_ENV !== "production" && (Qo(c, p), E.warnTooManyClasses = function(S, O) {
|
|
2533
|
+
var _ = {}, g = !1;
|
|
2534
2534
|
return function(W) {
|
|
2535
|
-
if (!g && (
|
|
2536
|
-
var H =
|
|
2535
|
+
if (!g && (_[W] = !0, Object.keys(_).length >= 200)) {
|
|
2536
|
+
var H = O ? ' with the id of "' + O + '"' : "";
|
|
2537
2537
|
console.warn("Over 200 classes were generated for component " + S + H + `.
|
|
2538
2538
|
Consider using the attrs method, together with a style object for frequently changed styles.
|
|
2539
2539
|
Example:
|
|
@@ -2543,26 +2543,26 @@ Example:
|
|
|
2543
2543
|
},
|
|
2544
2544
|
}))\`width: 100%;\`
|
|
2545
2545
|
|
|
2546
|
-
<Component />`), g = !0,
|
|
2546
|
+
<Component />`), g = !0, _ = {};
|
|
2547
2547
|
}
|
|
2548
2548
|
};
|
|
2549
2549
|
}(c, p)), E.toString = function() {
|
|
2550
2550
|
return "." + E.styledComponentId;
|
|
2551
|
-
}, n &&
|
|
2551
|
+
}, n && So(E, r, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), E;
|
|
2552
2552
|
}
|
|
2553
2553
|
var ei = function(r) {
|
|
2554
2554
|
return function e(t, i, n) {
|
|
2555
|
-
if (n === void 0 && (n = St),
|
|
2556
|
-
return
|
|
2555
|
+
if (n === void 0 && (n = St), !Hr.exports.isValidElementType(i))
|
|
2556
|
+
return Jt(1, String(i));
|
|
2557
2557
|
var s = function() {
|
|
2558
|
-
return t(i, n,
|
|
2558
|
+
return t(i, n, Jo.apply(void 0, arguments));
|
|
2559
2559
|
};
|
|
2560
2560
|
return s.withConfig = function(a) {
|
|
2561
2561
|
return e(t, i, pt({}, n, {}, a));
|
|
2562
2562
|
}, s.attrs = function(a) {
|
|
2563
2563
|
return e(t, i, pt({}, n, { attrs: Array.prototype.concat(n.attrs, a).filter(Boolean) }));
|
|
2564
2564
|
}, s;
|
|
2565
|
-
}(
|
|
2565
|
+
}(pn, r);
|
|
2566
2566
|
};
|
|
2567
2567
|
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function(r) {
|
|
2568
2568
|
ei[r] = ei(r);
|
|
@@ -2572,7 +2572,7 @@ Perhaps you're looking to import 'styled-components/native'?
|
|
|
2572
2572
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, window["__styled-components-init__"] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
2573
2573
|
|
|
2574
2574
|
See https://s-c.sh/2BAXzed for more info.`), window["__styled-components-init__"] += 1);
|
|
2575
|
-
const Ct = ei,
|
|
2575
|
+
const Ct = ei, ss = Ct.div`
|
|
2576
2576
|
font-family: 'IBM Plex Mono', 'Roboto', sans-serif;
|
|
2577
2577
|
background-color: #fafafa;
|
|
2578
2578
|
color: #26272;
|
|
@@ -2592,7 +2592,7 @@ const Ct = ei, is = Ct.div`
|
|
|
2592
2592
|
& h1 span {
|
|
2593
2593
|
font-size: 0.5em;
|
|
2594
2594
|
}
|
|
2595
|
-
`,
|
|
2595
|
+
`, as = Ct.div`
|
|
2596
2596
|
display: flex;
|
|
2597
2597
|
height: 100%;
|
|
2598
2598
|
width: 170px;
|
|
@@ -2625,7 +2625,7 @@ const Ct = ei, is = Ct.div`
|
|
|
2625
2625
|
& span {
|
|
2626
2626
|
cursor: pointer;
|
|
2627
2627
|
}
|
|
2628
|
-
`,
|
|
2628
|
+
`, ls = Ct.div`
|
|
2629
2629
|
width: 100%;
|
|
2630
2630
|
cursor: grab;
|
|
2631
2631
|
background-color: #eee;
|
|
@@ -2640,7 +2640,7 @@ const Ct = ei, is = Ct.div`
|
|
|
2640
2640
|
font-size: 1.5em;
|
|
2641
2641
|
font-weight: 600;
|
|
2642
2642
|
}
|
|
2643
|
-
`,
|
|
2643
|
+
`, cs = Ct.div`
|
|
2644
2644
|
cursor: pointer;
|
|
2645
2645
|
transform: rotate(90deg);
|
|
2646
2646
|
color: gray;
|
|
@@ -2651,14 +2651,14 @@ const Ct = ei, is = Ct.div`
|
|
|
2651
2651
|
&:hover {
|
|
2652
2652
|
text-decoration: underline;
|
|
2653
2653
|
}
|
|
2654
|
-
`,
|
|
2654
|
+
`, us = Ct.span`
|
|
2655
2655
|
font-family: 'Open Sans';
|
|
2656
2656
|
font-size: 15px;
|
|
2657
2657
|
font-weight: 700;
|
|
2658
2658
|
cursor: default !important;
|
|
2659
2659
|
margin: 5px 15px 5px 0px;
|
|
2660
2660
|
margin-left: 0.5rem;
|
|
2661
|
-
`,
|
|
2661
|
+
`, ds = Ct.span`
|
|
2662
2662
|
margin: 5px 15px 5px 0px;
|
|
2663
2663
|
transition: all 500ms ease;
|
|
2664
2664
|
|
|
@@ -2666,7 +2666,7 @@ const Ct = ei, is = Ct.div`
|
|
|
2666
2666
|
text-decoration: underline;
|
|
2667
2667
|
margin-left: 1rem;
|
|
2668
2668
|
}
|
|
2669
|
-
`,
|
|
2669
|
+
`, hs = Ct.div`
|
|
2670
2670
|
display: flex;
|
|
2671
2671
|
flex-direction: column;
|
|
2672
2672
|
overflow-y: scroll;
|
|
@@ -2684,26 +2684,26 @@ const Ct = ei, is = Ct.div`
|
|
|
2684
2684
|
-moz-user-select: none;
|
|
2685
2685
|
-ms-user-select: none;
|
|
2686
2686
|
user-select: none;
|
|
2687
|
-
`,
|
|
2688
|
-
|
|
2687
|
+
`, fs = Yn(({ activeToolLocal: r, tools: e, changeActiveToolLocalHandler: t }, i) => {
|
|
2688
|
+
jn(i, () => ({
|
|
2689
2689
|
changeTabletDisplayHandler(a) {
|
|
2690
2690
|
s(a === "switch" ? (l) => l === "none" ? "flex" : "none" : a);
|
|
2691
2691
|
}
|
|
2692
2692
|
}));
|
|
2693
|
-
const [n, s] =
|
|
2694
|
-
return /* @__PURE__ */ v(Be.Fragment, { children: /* @__PURE__ */ oe(
|
|
2695
|
-
/* @__PURE__ */ oe(
|
|
2693
|
+
const [n, s] = Ae("none");
|
|
2694
|
+
return /* @__PURE__ */ v(Be.Fragment, { children: /* @__PURE__ */ oe(ss, { display: n, id: "desktop--tablet--container", children: [
|
|
2695
|
+
/* @__PURE__ */ oe(as, { children: [
|
|
2696
2696
|
/* @__PURE__ */ oe("h1", { children: [
|
|
2697
2697
|
"NDMVR",
|
|
2698
2698
|
/* @__PURE__ */ v("span", { children: /* @__PURE__ */ v("i", { children: "tablet" }) })
|
|
2699
2699
|
] }),
|
|
2700
2700
|
/* @__PURE__ */ v("p", { children: "Tools" }),
|
|
2701
|
-
/* @__PURE__ */ v(
|
|
2701
|
+
/* @__PURE__ */ v(hs, { children: e.map((a, l) => l === r ? /* @__PURE__ */ oe(us, { children: [
|
|
2702
2702
|
/* @__PURE__ */ v("span", { style: { fontWeight: 700, color: "#0f52ba" }, children: l < 10 ? (l + 1) % 10 : ">" }),
|
|
2703
2703
|
" ",
|
|
2704
2704
|
a.name.length > 15 ? a.name.slice(0, 12) + "..." : a.name
|
|
2705
2705
|
] }, l) : /* @__PURE__ */ oe(
|
|
2706
|
-
|
|
2706
|
+
ds,
|
|
2707
2707
|
{
|
|
2708
2708
|
onClick: () => t(l),
|
|
2709
2709
|
children: [
|
|
@@ -2716,10 +2716,10 @@ const Ct = ei, is = Ct.div`
|
|
|
2716
2716
|
)) })
|
|
2717
2717
|
] }),
|
|
2718
2718
|
/* @__PURE__ */ oe("div", { style: { width: 100 + "%", overflow: "scroll" }, children: [
|
|
2719
|
-
/* @__PURE__ */ oe(
|
|
2719
|
+
/* @__PURE__ */ oe(ls, { id: "desktop--tablet--container--header", children: [
|
|
2720
2720
|
/* @__PURE__ */ v("h1", { children: e[r].name }),
|
|
2721
2721
|
/* @__PURE__ */ v(
|
|
2722
|
-
|
|
2722
|
+
cs,
|
|
2723
2723
|
{
|
|
2724
2724
|
id: "close--button",
|
|
2725
2725
|
onClick: () => s("none"),
|
|
@@ -2747,40 +2747,40 @@ const Ct = ei, is = Ct.div`
|
|
|
2747
2747
|
)
|
|
2748
2748
|
] })
|
|
2749
2749
|
] }) });
|
|
2750
|
-
}),
|
|
2750
|
+
}), ps = window.AFRAME, Se = new wt();
|
|
2751
2751
|
let ti, Ui;
|
|
2752
|
-
function
|
|
2753
|
-
const r =
|
|
2752
|
+
function mn() {
|
|
2753
|
+
const r = tn(), [e, t] = Ae(0), [i, n] = Ae(null), [s, a] = Ae(null), [l, u] = Ae(null), [h, c] = Ae(null);
|
|
2754
2754
|
ti = e;
|
|
2755
|
-
const [p, x] =
|
|
2755
|
+
const [p, x] = Ae({
|
|
2756
2756
|
xPos: 0,
|
|
2757
2757
|
yPos: 0,
|
|
2758
2758
|
zPos: 0,
|
|
2759
2759
|
absoluteContent: 0
|
|
2760
|
-
}), [b, E] =
|
|
2761
|
-
|
|
2762
|
-
), d =
|
|
2763
|
-
|
|
2764
|
-
const y =
|
|
2760
|
+
}), [b, E] = Ae(1), [C] = Ae(
|
|
2761
|
+
ps.utils.device.checkHeadsetConnected() ? "oculus" : "desktop"
|
|
2762
|
+
), d = Ue(Zt), { source: w, theme: S, range: O, scene: _ } = d.stores, [g, W] = Ae([]), [H, A] = Ae([]), [B, re] = Ae([]), [U, I] = Ae([]);
|
|
2763
|
+
pe(() => {
|
|
2764
|
+
const y = w != null && w.getOptions().length ? w == null ? void 0 : w.getOptions() : [];
|
|
2765
2765
|
W(y);
|
|
2766
|
-
}, [d]),
|
|
2766
|
+
}, [d]), pe(() => {
|
|
2767
2767
|
const y = S != null && S.getOptions().length ? S == null ? void 0 : S.getOptions() : [];
|
|
2768
|
-
|
|
2769
|
-
}, [d]),
|
|
2770
|
-
const y = _ != null && _.getOptions().length ? _ == null ? void 0 : _.getOptions() : [];
|
|
2771
|
-
re(y);
|
|
2772
|
-
}, [d]), xe(() => {
|
|
2768
|
+
A(y);
|
|
2769
|
+
}, [d]), pe(() => {
|
|
2773
2770
|
const y = O != null && O.getOptions().length ? O == null ? void 0 : O.getOptions() : [];
|
|
2771
|
+
re(y);
|
|
2772
|
+
}, [d]), pe(() => {
|
|
2773
|
+
const y = _ != null && _.getOptions().length ? _ == null ? void 0 : _.getOptions() : [];
|
|
2774
2774
|
I(y);
|
|
2775
|
-
}, [d]),
|
|
2776
|
-
}, [e]),
|
|
2777
|
-
|
|
2778
|
-
}, [i]),
|
|
2775
|
+
}, [d]), pe(() => (Ui = Se.subscribe(V), () => Ui.unsubscribe()), [g, H, B, U]), pe(() => {
|
|
2776
|
+
}, [e]), pe(() => {
|
|
2777
|
+
w && i && w.executeFunction(0, i);
|
|
2778
|
+
}, [i]), pe(() => {
|
|
2779
2779
|
S && s && S.executeFunction(0, s);
|
|
2780
|
-
}, [s]),
|
|
2781
|
-
|
|
2782
|
-
}, [l]),
|
|
2783
|
-
|
|
2780
|
+
}, [s]), pe(() => {
|
|
2781
|
+
O && l && O.executeFunction(0, l);
|
|
2782
|
+
}, [l]), pe(() => {
|
|
2783
|
+
_ && h && _.executeFunction(0, h);
|
|
2784
2784
|
}, [h]);
|
|
2785
2785
|
const V = (y) => {
|
|
2786
2786
|
typeof y == "number" ? y + 1 <= N.length && (t(y), ti = e) : y.changeTabletState ? r.current.changeTabletDisplayHandler("switch") : y.binData ? p !== y.binData && x(y.binData) : y.tool ? (y.tool === "next" && t((m) => m === N.length - 1 ? 0 : m + 1), y.tool === "prev" && t((m) => m === 0 ? N.length - 1 : m - 1)) : y.source ? (y.source === "next" && n((m) => g.indexOf(m) === g.length - 1 ? g[0] : g[g.indexOf(m) + 1]), y.source === "prev" && n((m) => g.indexOf(m) === 0 ? g[g.length - 1] : g[g.indexOf(m) - 1])) : y.scale ? X(y.scale) : y.theme ? (y.theme === "next" && a((m) => H.indexOf(m) === H.length - 1 ? H[0] : H[H.indexOf(m) + 1]), y.theme === "prev" && a((m) => H.indexOf(m) === 0 ? H[H.length - 1] : H[H.indexOf(m) - 1])) : y.range ? (y.range === "next" && u((m) => B.indexOf(m) === B.length - 1 ? B[0] : B[B.indexOf(m) + 1]), y.range === "prev" && u((m) => B.indexOf(m) === 0 ? B[B.length - 1] : B[B.indexOf(m) - 1])) : y.scene && (y.scene === "next" && c((m) => U.indexOf(m) === U.length - 1 ? U[0] : U[U.indexOf(m) + 1]), y.scene === "prev" && c((m) => U.indexOf(m) === 0 ? U[U.length - 1] : U[U.indexOf(m) - 1]));
|
|
@@ -2893,21 +2893,21 @@ the left controller.`,
|
|
|
2893
2893
|
};
|
|
2894
2894
|
function X(y) {
|
|
2895
2895
|
E((m) => {
|
|
2896
|
-
let Q,
|
|
2897
|
-
return y < 0 ? (m - 0.01).toFixed(2) >= 0.01 && ((m - 0.01).toFixed(2) > 0.7 ?
|
|
2896
|
+
let Q, k = 0;
|
|
2897
|
+
return y < 0 ? (m - 0.01).toFixed(2) >= 0.01 && ((m - 0.01).toFixed(2) > 0.7 ? k = -0.1 : (m - 0.01).toFixed(2) > 0.1 ? k = -0.01 : k = -1e-3) : (m + 0.01).toFixed(2) > 0.7 ? k = 0.1 : (m - 0.01).toFixed(2) > 0.1 ? k = 0.01 : k = 1e-3, Q = m + k, _e.changeHistogramScale(k, "TH2"), st.changeHistogramScale(k, "TH1"), Q;
|
|
2898
2898
|
});
|
|
2899
2899
|
}
|
|
2900
2900
|
const N = [
|
|
2901
2901
|
{ fun: ue(), name: "Bin Info" },
|
|
2902
2902
|
{ fun: le(), name: "Scale Z axis" },
|
|
2903
2903
|
{ fun: we(), name: "Change Data" },
|
|
2904
|
-
{ fun:
|
|
2904
|
+
{ fun: Te(), name: "Change Theme" },
|
|
2905
2905
|
{ fun: Ie(), name: "Change Range" },
|
|
2906
2906
|
{ fun: $(), name: "Change Scene" },
|
|
2907
2907
|
{ fun: null, name: "Tool with a longer name" }
|
|
2908
2908
|
];
|
|
2909
2909
|
function ue() {
|
|
2910
|
-
if (
|
|
2910
|
+
if (C === "desktop")
|
|
2911
2911
|
return /* @__PURE__ */ v(Be.Fragment, { children: /* @__PURE__ */ v("table", { style: { width: "100%" }, children: /* @__PURE__ */ oe("tbody", { children: [
|
|
2912
2912
|
/* @__PURE__ */ oe("tr", { style: { display: "flex", alignItems: "flex-end" }, children: [
|
|
2913
2913
|
/* @__PURE__ */ oe(
|
|
@@ -2998,7 +2998,7 @@ the left controller.`,
|
|
|
2998
2998
|
Wi,
|
|
2999
2999
|
{
|
|
3000
3000
|
onClick: () => {
|
|
3001
|
-
(b + 0.01).toFixed(2) > 0.1 && (y = 0.1, m = 1), E(b + y),
|
|
3001
|
+
(b + 0.01).toFixed(2) > 0.1 && (y = 0.1, m = 1), E(b + y), _e.changeHistogramScale(y, "TH2"), st.changeHistogramScale(y, "TH1");
|
|
3002
3002
|
},
|
|
3003
3003
|
children: "+"
|
|
3004
3004
|
}
|
|
@@ -3008,7 +3008,7 @@ the left controller.`,
|
|
|
3008
3008
|
Wi,
|
|
3009
3009
|
{
|
|
3010
3010
|
onClick: () => {
|
|
3011
|
-
(b - 0.01).toFixed(2) >= 0.01 && (E(b - y),
|
|
3011
|
+
(b - 0.01).toFixed(2) >= 0.01 && (E(b - y), _e.changeHistogramScale(-y, "TH2"), st.changeHistogramScale(-y, "TH1"));
|
|
3012
3012
|
},
|
|
3013
3013
|
children: "-"
|
|
3014
3014
|
}
|
|
@@ -3033,7 +3033,7 @@ the left controller.`,
|
|
|
3033
3033
|
y
|
|
3034
3034
|
) : /* @__PURE__ */ v("a", { onClick: () => n(y), children: y }, y)) });
|
|
3035
3035
|
}
|
|
3036
|
-
function
|
|
3036
|
+
function Te() {
|
|
3037
3037
|
return /* @__PURE__ */ v("div", { style: { display: "flex", flexDirection: "column" }, children: H.map((y) => y === s ? /* @__PURE__ */ v(
|
|
3038
3038
|
"a",
|
|
3039
3039
|
{
|
|
@@ -3083,13 +3083,13 @@ the left controller.`,
|
|
|
3083
3083
|
}
|
|
3084
3084
|
document.getElementById("desktop--tablet--container") && R(document.getElementById("desktop--tablet--container"));
|
|
3085
3085
|
function R(y) {
|
|
3086
|
-
let m = 0, Q = 0,
|
|
3086
|
+
let m = 0, Q = 0, k = 0, de = 0;
|
|
3087
3087
|
document.getElementById(y.id + "--header") ? document.getElementById(y.id + "--header").onmousedown = te : y.onmousedown = te;
|
|
3088
3088
|
function te(ce) {
|
|
3089
|
-
ce.preventDefault(),
|
|
3089
|
+
ce.preventDefault(), k = ce.clientX, de = ce.clientY, document.onmouseup = T, document.onmousemove = ie;
|
|
3090
3090
|
}
|
|
3091
3091
|
function ie(ce) {
|
|
3092
|
-
ce.preventDefault(), m =
|
|
3092
|
+
ce.preventDefault(), m = k - ce.clientX, Q = de - ce.clientY, k = ce.clientX, de = ce.clientY, y.style.top = y.offsetTop - Q + "px", y.style.left = y.offsetLeft - m + "px";
|
|
3093
3093
|
}
|
|
3094
3094
|
function T() {
|
|
3095
3095
|
document.onmouseup = null, document.onmousemove = null;
|
|
@@ -3098,8 +3098,8 @@ the left controller.`,
|
|
|
3098
3098
|
const M = (y) => {
|
|
3099
3099
|
t(y);
|
|
3100
3100
|
};
|
|
3101
|
-
return
|
|
3102
|
-
|
|
3101
|
+
return C === "desktop" ? /* @__PURE__ */ v(
|
|
3102
|
+
fs,
|
|
3103
3103
|
{
|
|
3104
3104
|
tools: N,
|
|
3105
3105
|
activeToolLocal: e,
|
|
@@ -3108,18 +3108,18 @@ the left controller.`,
|
|
|
3108
3108
|
}
|
|
3109
3109
|
) : /* @__PURE__ */ v(Be.Fragment, { children: J() });
|
|
3110
3110
|
}
|
|
3111
|
-
const
|
|
3111
|
+
const kt = () => ti, Zi = window.AFRAME, ms = () => {
|
|
3112
3112
|
let r;
|
|
3113
|
-
const { projPanelIds: t } =
|
|
3113
|
+
const { projPanelIds: t } = Ue(Zt).data, [i, n] = Ae(0), [s, a] = Ae(null), [l, u] = Ae(
|
|
3114
3114
|
Zi.utils.device.checkHeadsetConnected() ? "oculus" : "keyboard"
|
|
3115
|
-
), [h, c] =
|
|
3116
|
-
|
|
3117
|
-
}, d = (
|
|
3118
|
-
|
|
3119
|
-
},
|
|
3120
|
-
let
|
|
3121
|
-
|
|
3122
|
-
}, S = (
|
|
3115
|
+
), [h, c] = Ae(!1), [p, x] = Ae(!1), [b, E] = Ae(!0), C = (A) => {
|
|
3116
|
+
A.device ? (l !== A.device && u(A.device), c(!h)) : A === "shift" ? w() : A === "show" && x(!p);
|
|
3117
|
+
}, d = (A) => {
|
|
3118
|
+
A.changeTabletState && E(!1);
|
|
3119
|
+
}, w = () => {
|
|
3120
|
+
let A = i + 90;
|
|
3121
|
+
A >= 360 && (A = 0), n(A);
|
|
3122
|
+
}, S = (A) => t[A] ? t[A] : `panel_${A}`, O = () => /* @__PURE__ */ oe(
|
|
3123
3123
|
"a-entity",
|
|
3124
3124
|
{
|
|
3125
3125
|
position: s === null ? `0 ${30} 0` : `${s.x} ${30} ${s.z}`,
|
|
@@ -3238,7 +3238,7 @@ const At = () => ti, Zi = window.AFRAME, hs = () => {
|
|
|
3238
3238
|
)
|
|
3239
3239
|
]
|
|
3240
3240
|
}
|
|
3241
|
-
),
|
|
3241
|
+
), _ = () => l === "keyboard" ? /* @__PURE__ */ oe(
|
|
3242
3242
|
"a-entity",
|
|
3243
3243
|
{
|
|
3244
3244
|
position: s === null ? `0 ${30} 0` : `${s.x} ${30} ${s.z}`,
|
|
@@ -3404,19 +3404,19 @@ const At = () => ti, Zi = window.AFRAME, hs = () => {
|
|
|
3404
3404
|
]
|
|
3405
3405
|
}
|
|
3406
3406
|
), g = () => {
|
|
3407
|
-
const
|
|
3408
|
-
|
|
3407
|
+
const A = document.getElementById(S(0));
|
|
3408
|
+
A && A.setAttribute("material", "opacity", 0);
|
|
3409
3409
|
}, W = () => {
|
|
3410
|
-
const
|
|
3411
|
-
|
|
3410
|
+
const A = document.getElementById(S(0));
|
|
3411
|
+
A && A.setAttribute("material", "opacity", 1);
|
|
3412
3412
|
};
|
|
3413
|
-
|
|
3414
|
-
const
|
|
3413
|
+
pe(() => (r = Se.subscribe(d), () => r.unsubscribe()), []), pe(() => (r = Ot.getCameraSubject().subscribe(C), () => r.unsubscribe()), [h, p, i]), pe(() => {
|
|
3414
|
+
const A = document.getElementById("camera");
|
|
3415
3415
|
h ? (a({
|
|
3416
|
-
x:
|
|
3417
|
-
y:
|
|
3418
|
-
z:
|
|
3419
|
-
}),
|
|
3416
|
+
x: A.object3D.position.x,
|
|
3417
|
+
y: A.object3D.position.y,
|
|
3418
|
+
z: A.object3D.position.z
|
|
3419
|
+
}), A.object3D.position.y = A.object3D.position.y + 30, g()) : (A.object3D.position.y = 1.6, s !== null && (A.object3D.position.x = s.x, A.object3D.position.z = s.z, A.object3D.position.y = s.y), W());
|
|
3420
3420
|
}, [h, l]);
|
|
3421
3421
|
const H = () => /* @__PURE__ */ oe(Be.Fragment, { children: [
|
|
3422
3422
|
/* @__PURE__ */ v(
|
|
@@ -3428,7 +3428,7 @@ const At = () => ti, Zi = window.AFRAME, hs = () => {
|
|
|
3428
3428
|
far: 20;`
|
|
3429
3429
|
}
|
|
3430
3430
|
),
|
|
3431
|
-
/* @__PURE__ */ v("a-entity", { "oculus-touch-controls": "hand: left", "left-controller-logging": !0, "oculus-thumbstick-movement-controller": "", children: /* @__PURE__ */ v(
|
|
3431
|
+
/* @__PURE__ */ v("a-entity", { "oculus-touch-controls": "hand: left", "left-controller-logging": !0, "oculus-thumbstick-movement-controller": "", children: /* @__PURE__ */ v(mn, {}) }),
|
|
3432
3432
|
/* @__PURE__ */ v(
|
|
3433
3433
|
"a-entity",
|
|
3434
3434
|
{
|
|
@@ -3438,8 +3438,8 @@ const At = () => ti, Zi = window.AFRAME, hs = () => {
|
|
|
3438
3438
|
)
|
|
3439
3439
|
] });
|
|
3440
3440
|
return /* @__PURE__ */ oe("a-entity", { id: "cameraWrapper", rotation: "0 -135 0", position: "-7 2 -7", children: [
|
|
3441
|
-
h && !p &&
|
|
3442
|
-
h && p &&
|
|
3441
|
+
h && !p && _(),
|
|
3442
|
+
h && p && O(),
|
|
3443
3443
|
/* @__PURE__ */ oe(
|
|
3444
3444
|
"a-camera",
|
|
3445
3445
|
{
|
|
@@ -3475,13 +3475,13 @@ const At = () => ti, Zi = window.AFRAME, hs = () => {
|
|
|
3475
3475
|
l === "oculus" && H()
|
|
3476
3476
|
] });
|
|
3477
3477
|
};
|
|
3478
|
-
var Xe,
|
|
3478
|
+
var Xe, kr, et, Ar;
|
|
3479
3479
|
class di {
|
|
3480
3480
|
constructor() {
|
|
3481
3481
|
Y(this, Xe, void 0);
|
|
3482
|
-
Y(this,
|
|
3482
|
+
Y(this, kr, void 0);
|
|
3483
3483
|
Y(this, et, []);
|
|
3484
|
-
Y(this,
|
|
3484
|
+
Y(this, Ar, (e) => o(this, et).filter((t) => t.id !== e.id));
|
|
3485
3485
|
Re(this, "containThisBin", (e) => o(this, et).filter(
|
|
3486
3486
|
(i) => i.id === e.id
|
|
3487
3487
|
).length !== 0);
|
|
@@ -3489,13 +3489,13 @@ class di {
|
|
|
3489
3489
|
this.containThisBin(e) || (o(this, et).push(e), o(this, Xe).setItem("selectedBins", JSON.stringify(o(this, et))));
|
|
3490
3490
|
});
|
|
3491
3491
|
Re(this, "deleteBinFromLocalStorage", (e) => {
|
|
3492
|
-
this.containThisBin(e) && (F(this, et, o(this,
|
|
3492
|
+
this.containThisBin(e) && (F(this, et, o(this, Ar).call(this, e)), o(this, Xe).setItem("selectedBins", JSON.stringify(o(this, et))));
|
|
3493
3493
|
});
|
|
3494
3494
|
Re(this, "getBinsFromLocalStorage", () => {
|
|
3495
3495
|
const e = JSON.parse(o(this, Xe).getItem("selectedBins"));
|
|
3496
3496
|
return e === null ? [] : e;
|
|
3497
3497
|
});
|
|
3498
|
-
F(this, Xe, window.localStorage), F(this,
|
|
3498
|
+
F(this, Xe, window.localStorage), F(this, kr, document.getElementById("cameraWrapper")), F(this, et, this.getBinsFromLocalStorage());
|
|
3499
3499
|
}
|
|
3500
3500
|
storeCurrentBinToLocalStorage(e) {
|
|
3501
3501
|
o(this, Xe).setItem("currentBin", JSON.stringify(e));
|
|
@@ -3573,28 +3573,28 @@ class di {
|
|
|
3573
3573
|
return this.loadTH2Offsets();
|
|
3574
3574
|
}
|
|
3575
3575
|
}
|
|
3576
|
-
Xe = new WeakMap(),
|
|
3577
|
-
const
|
|
3578
|
-
var
|
|
3579
|
-
class
|
|
3576
|
+
Xe = new WeakMap(), kr = new WeakMap(), et = new WeakMap(), Ar = new WeakMap();
|
|
3577
|
+
const gn = new di();
|
|
3578
|
+
var At;
|
|
3579
|
+
class gs {
|
|
3580
3580
|
constructor() {
|
|
3581
|
-
Y(this,
|
|
3582
|
-
F(this,
|
|
3581
|
+
Y(this, At, void 0);
|
|
3582
|
+
F(this, At, new wt());
|
|
3583
3583
|
}
|
|
3584
3584
|
saveSelectedBinToLocalStorage() {
|
|
3585
|
-
o(this,
|
|
3585
|
+
o(this, At).next(!0);
|
|
3586
3586
|
}
|
|
3587
3587
|
deleteBinFromLocalStorage() {
|
|
3588
|
-
o(this,
|
|
3588
|
+
o(this, At).next(!1);
|
|
3589
3589
|
}
|
|
3590
3590
|
getKeyboardEvent() {
|
|
3591
|
-
return o(this,
|
|
3591
|
+
return o(this, At).asObservable();
|
|
3592
3592
|
}
|
|
3593
3593
|
}
|
|
3594
|
-
|
|
3595
|
-
const
|
|
3594
|
+
At = new WeakMap();
|
|
3595
|
+
const Tr = new gs();
|
|
3596
3596
|
var Ht;
|
|
3597
|
-
class
|
|
3597
|
+
class ys {
|
|
3598
3598
|
constructor() {
|
|
3599
3599
|
Y(this, Ht, void 0);
|
|
3600
3600
|
F(this, Ht, new wt());
|
|
@@ -3607,9 +3607,9 @@ class ps {
|
|
|
3607
3607
|
}
|
|
3608
3608
|
}
|
|
3609
3609
|
Ht = new WeakMap();
|
|
3610
|
-
const Gi = new
|
|
3610
|
+
const Gi = new ys();
|
|
3611
3611
|
var Pt;
|
|
3612
|
-
class
|
|
3612
|
+
class bs {
|
|
3613
3613
|
constructor() {
|
|
3614
3614
|
Y(this, Pt, void 0);
|
|
3615
3615
|
F(this, Pt, new wt());
|
|
@@ -3625,9 +3625,9 @@ class ms {
|
|
|
3625
3625
|
}
|
|
3626
3626
|
}
|
|
3627
3627
|
Pt = new WeakMap();
|
|
3628
|
-
const
|
|
3629
|
-
function
|
|
3630
|
-
r.face.normal.x !== 0 ? (e.setAttribute("material", "color", e.userData.axisZ),
|
|
3628
|
+
const nr = new bs();
|
|
3629
|
+
function Vr(r, e, t) {
|
|
3630
|
+
r.face.normal.x !== 0 ? (e.setAttribute("material", "color", e.userData.axisZ), nr.sendDataOfTheSelectedBin({ event: t, data: e.userData, intersect: "Z", id: e.userData.histogramName })) : r.face.normal.y !== 0 ? (e.setAttribute("material", "color", e.userData.axisY), nr.sendDataOfTheSelectedBin({ event: t, data: e.userData, intersect: "Y", id: e.userData.histogramName })) : (e.setAttribute("material", "color", e.userData.axisX), nr.sendDataOfTheSelectedBin({ event: t, data: e.userData, intersect: "X", id: e.userData.histogramName })), e.setAttribute("material", "opacity", "0.75");
|
|
3631
3631
|
}
|
|
3632
3632
|
Le.registerComponent("mouseevent", {
|
|
3633
3633
|
init: function() {
|
|
@@ -3636,9 +3636,9 @@ Le.registerComponent("mouseevent", {
|
|
|
3636
3636
|
let t = 0;
|
|
3637
3637
|
e.addEventListener("mouseenter", function(n) {
|
|
3638
3638
|
const s = n.detail.intersection;
|
|
3639
|
-
r =
|
|
3640
|
-
a ? (this.userData.markedColor = this.userData.selectColor, this.setAttribute("material", "opacity", "0.70"), Gi.showBinProjection(this.userData)) : (
|
|
3641
|
-
}),
|
|
3639
|
+
r = Tr.getKeyboardEvent().subscribe((a) => {
|
|
3640
|
+
a ? (this.userData.markedColor = this.userData.selectColor, this.setAttribute("material", "opacity", "0.70"), Gi.showBinProjection(this.userData)) : (gn.deleteBinFromLocalStorage(this.userData), this.userData.markedColor = this.userData.color, this.setAttribute("material", "opacity", "0.50"));
|
|
3641
|
+
}), Vr(s, this, "HOVER");
|
|
3642
3642
|
}), e.addEventListener("mouseleave", function() {
|
|
3643
3643
|
r.unsubscribe(), this.setAttribute("material", "color", this.userData.markedColor), this.setAttribute("material", "opacity", "0.50"), t = 0;
|
|
3644
3644
|
}), e.addEventListener("click", function(n) {
|
|
@@ -3647,11 +3647,11 @@ Le.registerComponent("mouseevent", {
|
|
|
3647
3647
|
}, 600), t === 2) {
|
|
3648
3648
|
t = 0, this.setAttribute("material", "color", "#99ff00"), this.setAttribute("material", "opacity", "1");
|
|
3649
3649
|
const a = n.detail.intersection;
|
|
3650
|
-
a &&
|
|
3650
|
+
a && Vr(a, this, "DB_CLICK");
|
|
3651
3651
|
} else if (t === 1) {
|
|
3652
3652
|
this.setAttribute("material", "color", "#99ff00"), this.setAttribute("material", "opacity", "1"), Gi.showBinProjection(this.userData), Se.next({ binData: this.userData });
|
|
3653
3653
|
const a = n.detail.intersection;
|
|
3654
|
-
a &&
|
|
3654
|
+
a && Vr(a, this, "CLICK");
|
|
3655
3655
|
}
|
|
3656
3656
|
let s = document.getElementById("th2-banner");
|
|
3657
3657
|
if (s === null && (s = document.getElementById("th3-banner")), s !== null) {
|
|
@@ -3808,8 +3808,8 @@ Le.registerComponent("binth", {
|
|
|
3808
3808
|
};
|
|
3809
3809
|
}
|
|
3810
3810
|
});
|
|
3811
|
-
var Ce,
|
|
3812
|
-
class
|
|
3811
|
+
var Ce, Ge;
|
|
3812
|
+
class ur {
|
|
3813
3813
|
constructor() {
|
|
3814
3814
|
Y(this, Ce, void 0);
|
|
3815
3815
|
Re(this, "verticalMoveCamera", (e, t) => {
|
|
@@ -3824,7 +3824,7 @@ class cr {
|
|
|
3824
3824
|
s[e] = Math.cos(Math.PI / 4), s[t] = Math.sin(Math.PI / 4), s.normalize(), i ? o(this, Ce).object3D.position.addScaledVector(s, n) : o(this, Ce).object3D.position.addScaledVector(s, -n);
|
|
3825
3825
|
}
|
|
3826
3826
|
});
|
|
3827
|
-
Y(this,
|
|
3827
|
+
Y(this, Ge, (e, t, i) => {
|
|
3828
3828
|
if (o(this, Ce) !== null && e !== null) {
|
|
3829
3829
|
const n = e.object3D.position.x + 1 * e.object3D.position.x, s = e.object3D.position.z + 1 * e.object3D.position.z, a = t;
|
|
3830
3830
|
o(this, Ce).setAttribute(
|
|
@@ -3851,51 +3851,51 @@ class cr {
|
|
|
3851
3851
|
});
|
|
3852
3852
|
Re(this, "setPredefinedDownPosition", () => {
|
|
3853
3853
|
const e = document.getElementById("downLabel");
|
|
3854
|
-
e !== void 0 && o(this,
|
|
3854
|
+
e !== void 0 && o(this, Ge).call(this, e, 0, 180);
|
|
3855
3855
|
});
|
|
3856
3856
|
Re(this, "setPredefinedUpPosition", () => {
|
|
3857
3857
|
const e = document.getElementById("upLabel");
|
|
3858
|
-
e !== void 0 && o(this,
|
|
3858
|
+
e !== void 0 && o(this, Ge).call(this, e, 0, 0);
|
|
3859
3859
|
});
|
|
3860
3860
|
Re(this, "setPredefinedRightPosition", () => {
|
|
3861
3861
|
const e = document.getElementById("rightLabel");
|
|
3862
|
-
e !== void 0 && o(this,
|
|
3862
|
+
e !== void 0 && o(this, Ge).call(this, e, 0, 90);
|
|
3863
3863
|
});
|
|
3864
3864
|
Re(this, "setPredefinedLeftPosition", () => {
|
|
3865
3865
|
const e = document.getElementById("leftLabel");
|
|
3866
|
-
e !== void 0 && o(this,
|
|
3866
|
+
e !== void 0 && o(this, Ge).call(this, e, 0, 270);
|
|
3867
3867
|
});
|
|
3868
3868
|
Re(this, "setPredefinedDownPositionWithOffset", () => {
|
|
3869
3869
|
const e = document.getElementById("downLabel");
|
|
3870
|
-
e !== void 0 && o(this,
|
|
3870
|
+
e !== void 0 && o(this, Ge).call(this, e, 10, 180);
|
|
3871
3871
|
});
|
|
3872
3872
|
Re(this, "setPredefinedUpPositionWithOffset", () => {
|
|
3873
3873
|
const e = document.getElementById("upLabel");
|
|
3874
|
-
e !== void 0 && o(this,
|
|
3874
|
+
e !== void 0 && o(this, Ge).call(this, e, 10, 0);
|
|
3875
3875
|
});
|
|
3876
3876
|
Re(this, "setPredefinedRightPositionWithOffset", () => {
|
|
3877
3877
|
const e = document.getElementById("rightLabel");
|
|
3878
|
-
e !== void 0 && o(this,
|
|
3878
|
+
e !== void 0 && o(this, Ge).call(this, e, 10, 90);
|
|
3879
3879
|
});
|
|
3880
3880
|
Re(this, "setPredefinedLeftPositionWithOffset", () => {
|
|
3881
3881
|
const e = document.getElementById("leftLabel");
|
|
3882
|
-
e !== void 0 && o(this,
|
|
3882
|
+
e !== void 0 && o(this, Ge).call(this, e, 10, 270);
|
|
3883
3883
|
});
|
|
3884
3884
|
F(this, Ce, document.getElementById("cameraWrapper"));
|
|
3885
3885
|
}
|
|
3886
3886
|
}
|
|
3887
|
-
Ce = new WeakMap(),
|
|
3887
|
+
Ce = new WeakMap(), Ge = new WeakMap();
|
|
3888
3888
|
const ut = {};
|
|
3889
|
-
let ri = new
|
|
3890
|
-
Se.next({ changeTabletState:
|
|
3891
|
-
const
|
|
3889
|
+
let ri = new ur(), ii, mt, vr = !1;
|
|
3890
|
+
Se.next({ changeTabletState: vr });
|
|
3891
|
+
const Xr = (r, e) => {
|
|
3892
3892
|
let t = 0.2;
|
|
3893
3893
|
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), ii.setAttribute(
|
|
3894
3894
|
r.name,
|
|
3895
3895
|
`${r.xValue} ${r.yValue} ${r.zValue}`
|
|
3896
3896
|
);
|
|
3897
|
-
},
|
|
3898
|
-
r.key === "k" || r.key === "K" ? (
|
|
3897
|
+
}, vs = (r) => {
|
|
3898
|
+
r.key === "k" || r.key === "K" ? (_e.changeHistogramSectionByOffset(
|
|
3899
3899
|
"yOffset",
|
|
3900
3900
|
"TH2",
|
|
3901
3901
|
!1,
|
|
@@ -3905,7 +3905,7 @@ const Vr = (r, e) => {
|
|
|
3905
3905
|
"TH3",
|
|
3906
3906
|
!1,
|
|
3907
3907
|
!0
|
|
3908
|
-
)) : r.key === "i" || r.key === "I" ? (
|
|
3908
|
+
)) : r.key === "i" || r.key === "I" ? (_e.changeHistogramSectionByOffset(
|
|
3909
3909
|
"yOffset",
|
|
3910
3910
|
"TH2",
|
|
3911
3911
|
!0,
|
|
@@ -3930,7 +3930,7 @@ const Vr = (r, e) => {
|
|
|
3930
3930
|
"TH1",
|
|
3931
3931
|
!1,
|
|
3932
3932
|
!0
|
|
3933
|
-
),
|
|
3933
|
+
), _e.changeHistogramSectionByOffset(
|
|
3934
3934
|
"xOffset",
|
|
3935
3935
|
"TH2",
|
|
3936
3936
|
!1,
|
|
@@ -3945,7 +3945,7 @@ const Vr = (r, e) => {
|
|
|
3945
3945
|
"TH1",
|
|
3946
3946
|
!0,
|
|
3947
3947
|
!0
|
|
3948
|
-
),
|
|
3948
|
+
), _e.changeHistogramSectionByOffset(
|
|
3949
3949
|
"xOffset",
|
|
3950
3950
|
"TH2",
|
|
3951
3951
|
!0,
|
|
@@ -3956,8 +3956,8 @@ const Vr = (r, e) => {
|
|
|
3956
3956
|
!0,
|
|
3957
3957
|
!0
|
|
3958
3958
|
));
|
|
3959
|
-
},
|
|
3960
|
-
r.key === "k" || r.key === "K" ? (
|
|
3959
|
+
}, xs = (r) => {
|
|
3960
|
+
r.key === "k" || r.key === "K" ? (_e.changeHistogramSectionByOffset(
|
|
3961
3961
|
"yOffset",
|
|
3962
3962
|
"TH2",
|
|
3963
3963
|
!1,
|
|
@@ -3967,7 +3967,7 @@ const Vr = (r, e) => {
|
|
|
3967
3967
|
"TH3",
|
|
3968
3968
|
!1,
|
|
3969
3969
|
!1
|
|
3970
|
-
)) : r.key === "i" || r.key === "I" ? (
|
|
3970
|
+
)) : r.key === "i" || r.key === "I" ? (_e.changeHistogramSectionByOffset(
|
|
3971
3971
|
"yOffset",
|
|
3972
3972
|
"TH2",
|
|
3973
3973
|
!0,
|
|
@@ -3987,7 +3987,7 @@ const Vr = (r, e) => {
|
|
|
3987
3987
|
"TH3",
|
|
3988
3988
|
!1,
|
|
3989
3989
|
!1
|
|
3990
|
-
) : r.key === "l" || r.key === "L" ? (
|
|
3990
|
+
) : r.key === "l" || r.key === "L" ? (_e.changeHistogramSectionByOffset(
|
|
3991
3991
|
"xOffset",
|
|
3992
3992
|
"TH2",
|
|
3993
3993
|
!1,
|
|
@@ -3997,7 +3997,7 @@ const Vr = (r, e) => {
|
|
|
3997
3997
|
"TH3",
|
|
3998
3998
|
!1,
|
|
3999
3999
|
!1
|
|
4000
|
-
)) : (r.key === "j" || r.key === "J") && (
|
|
4000
|
+
)) : (r.key === "j" || r.key === "J") && (_e.changeHistogramSectionByOffset(
|
|
4001
4001
|
"xOffset",
|
|
4002
4002
|
"TH2",
|
|
4003
4003
|
!0,
|
|
@@ -4009,18 +4009,18 @@ const Vr = (r, e) => {
|
|
|
4009
4009
|
!1
|
|
4010
4010
|
));
|
|
4011
4011
|
}, ni = (r) => {
|
|
4012
|
-
ut[r.key] = !0, (ut.Z || ut.z) &&
|
|
4012
|
+
ut[r.key] = !0, (ut.Z || ut.z) && Xr(mt[0], r), (ut.X || ut.x) && Xr(mt[1], r), (ut.C || ut.c) && Xr(mt[2], r), ut.Shift && xs(r), vs(r), r.key === " " && ri.verticalMoveCamera(!0, 0.3), r.shiftKey && ri.verticalMoveCamera(!1, 0.3), r.key === "1" && Se.next(0), r.key === "2" && Se.next(1), r.key === "3" && Se.next(2), r.key === "4" && Se.next(3), r.key === "5" && Se.next(4), r.key === "6" && Se.next(5), r.key === "7" && Se.next(6), r.key === "8" && Se.next(7), r.key === "9" && Se.next(8), r.key === "0" && Se.next(9), r.key === "Enter" && nr.emmitCommand("REFRESH"), (r.key === "e" || r.key === "E") && (vr = !vr, vr ? Se.next({ changeTabletState: "flex" }) : Se.next({ changeTabletState: "none" })), (r.key === "t" || r.key === "T") && _e.changeHistogramScale(0.1, "TH2"), r.key === "r" || r.key, (r.key === "m" || r.key === "M") && _e.changeHistogramFunction("feet", "TH2"), (r.key === "n" || r.key === "N") && _e.changeHistogramFunction("default", "TH2"), (r.key === "c" || r.key === "C") && Ot.setUserState(), (r.key === "v" || r.key === "V") && Ot.setVisibilityOfBanners("keyboard"), (r.key === "x" || r.key === "X") && Ot.shiftBanners();
|
|
4013
4013
|
}, oi = (r) => {
|
|
4014
4014
|
delete ut[r.key];
|
|
4015
|
-
},
|
|
4015
|
+
}, yn = (r, e) => {
|
|
4016
4016
|
ii = e, mt = [r.position, r.scale, r.rotation];
|
|
4017
4017
|
for (let t = 0; t < 3; t++)
|
|
4018
4018
|
ii.setAttribute(
|
|
4019
4019
|
mt[t].name,
|
|
4020
4020
|
`${mt[t].xValue} ${mt[t].yValue} ${mt[t].zValue}`
|
|
4021
4021
|
);
|
|
4022
|
-
},
|
|
4023
|
-
ri = new
|
|
4022
|
+
}, bn = () => {
|
|
4023
|
+
ri = new ur();
|
|
4024
4024
|
};
|
|
4025
4025
|
Le.registerComponent("histogram-control", {
|
|
4026
4026
|
schema: {
|
|
@@ -4045,10 +4045,10 @@ Le.registerComponent("histogram-control", {
|
|
|
4045
4045
|
},
|
|
4046
4046
|
init: function() {
|
|
4047
4047
|
const r = this.el;
|
|
4048
|
-
|
|
4048
|
+
yn(this.schema, r), document.addEventListener("keydown", ni), document.addEventListener("keyup", oi);
|
|
4049
4049
|
},
|
|
4050
4050
|
update: function() {
|
|
4051
|
-
|
|
4051
|
+
bn();
|
|
4052
4052
|
}
|
|
4053
4053
|
});
|
|
4054
4054
|
Le.registerComponent("label-handler", {
|
|
@@ -4366,7 +4366,7 @@ const Fe = {
|
|
|
4366
4366
|
}
|
|
4367
4367
|
}
|
|
4368
4368
|
};
|
|
4369
|
-
class
|
|
4369
|
+
class vn {
|
|
4370
4370
|
constructor(e) {
|
|
4371
4371
|
Fe[e] ? (this.xAxis = Fe[e].axis.x, this.yAxis = Fe[e].axis.y, this.zAxis = Fe[e].axis.z, this.palette = Fe[e].colorPalette, this.primaryAccent = Fe[e].accent.primary, this.secondaryAccent = Fe[e].accent.secondary, this.primaryFont = Fe[e].font.primary, this.secondaryFont = Fe[e].font.secondary) : (this.xAxis = Fe.def.axis.x, this.yAxis = Fe.def.axis.y, this.zAxis = Fe.def.axis.z, this.palette = Fe.def.colorPalette, this.primaryAccent = Fe.def.accent.primary, this.secondaryAccent = Fe.def.accent.secondary, this.primaryFont = Fe.def.font.primary, this.secondaryFont = Fe.def.font.secondary);
|
|
4372
4372
|
}
|
|
@@ -4401,12 +4401,12 @@ class gn {
|
|
|
4401
4401
|
return i;
|
|
4402
4402
|
}
|
|
4403
4403
|
}
|
|
4404
|
-
var Ee,
|
|
4405
|
-
class
|
|
4404
|
+
var Ee, lr, L, tt, Z, ne, fe, j, je, We, rt, ht, yt, cr, me, Ne, it, nt, bt, ot, _t, It, G, vt, ft, Ft, Ke, Pr, _r, Or, Bt, Yt, jt, Nt, Lt, Vt, xr, Rr, Dr, zr, xt, Xt, Wt;
|
|
4405
|
+
class Ss {
|
|
4406
4406
|
constructor(e, t, i, n, s, a, l, u) {
|
|
4407
4407
|
Y(this, Vt);
|
|
4408
4408
|
Y(this, Ee, "");
|
|
4409
|
-
Y(this,
|
|
4409
|
+
Y(this, lr, []);
|
|
4410
4410
|
Y(this, L, null);
|
|
4411
4411
|
Y(this, tt, "");
|
|
4412
4412
|
Y(this, Z, null);
|
|
@@ -4418,8 +4418,8 @@ class bs {
|
|
|
4418
4418
|
Y(this, rt, 0);
|
|
4419
4419
|
Y(this, ht, 1);
|
|
4420
4420
|
Y(this, yt, 1);
|
|
4421
|
-
Y(this,
|
|
4422
|
-
Y(this,
|
|
4421
|
+
Y(this, cr, 1);
|
|
4422
|
+
Y(this, me, 8);
|
|
4423
4423
|
Y(this, Ne, {
|
|
4424
4424
|
xInitial: 0,
|
|
4425
4425
|
yInitial: 0,
|
|
@@ -4429,7 +4429,7 @@ class bs {
|
|
|
4429
4429
|
Y(this, nt, void 0);
|
|
4430
4430
|
Y(this, bt, 1);
|
|
4431
4431
|
Y(this, ot, 1);
|
|
4432
|
-
Y(this,
|
|
4432
|
+
Y(this, _t, 0);
|
|
4433
4433
|
Y(this, It, 2);
|
|
4434
4434
|
Y(this, G, {
|
|
4435
4435
|
xOffset: 0,
|
|
@@ -4441,13 +4441,13 @@ class bs {
|
|
|
4441
4441
|
Re(this, "getYOffset", () => o(this, fe));
|
|
4442
4442
|
Re(this, "getZOffset", () => o(this, j));
|
|
4443
4443
|
Re(this, "getContentScale", () => o(this, ot));
|
|
4444
|
-
Re(this, "getRange", () => o(this,
|
|
4444
|
+
Re(this, "getRange", () => o(this, me));
|
|
4445
4445
|
Y(this, ft, (e, t) => {
|
|
4446
|
-
let i = e > t - o(this,
|
|
4446
|
+
let i = e > t - o(this, me) ? t - o(this, me) : e;
|
|
4447
4447
|
return i < 1 && (i = 1), i;
|
|
4448
4448
|
});
|
|
4449
|
-
Y(this, Ft, (e) => o(this,
|
|
4450
|
-
Y(this,
|
|
4449
|
+
Y(this, Ft, (e) => o(this, lr).filter((i) => i.id === e).length !== 0);
|
|
4450
|
+
Y(this, Ke, (e, t, i, n, s, a, l, u, h, c, p, x) => ({
|
|
4451
4451
|
key: e + o(this, Ee),
|
|
4452
4452
|
geometry: {
|
|
4453
4453
|
primitive: "plane",
|
|
@@ -4480,7 +4480,7 @@ class bs {
|
|
|
4480
4480
|
toZ: n
|
|
4481
4481
|
}
|
|
4482
4482
|
}));
|
|
4483
|
-
Y(this,
|
|
4483
|
+
Y(this, Pr, () => {
|
|
4484
4484
|
const e = {
|
|
4485
4485
|
type: "TH3",
|
|
4486
4486
|
bins: [],
|
|
@@ -4492,43 +4492,43 @@ class bs {
|
|
|
4492
4492
|
};
|
|
4493
4493
|
let t, i, n, s, a, l, u, h, c, p, x, b;
|
|
4494
4494
|
const E = "";
|
|
4495
|
-
let
|
|
4496
|
-
const
|
|
4497
|
-
for (let V = o(this, j); V <=
|
|
4495
|
+
let C, d = 0;
|
|
4496
|
+
const w = o(this, ne) + o(this, me) > o(this, je) ? o(this, je) : o(this, ne) + o(this, me), S = o(this, fe) + o(this, me) > o(this, We) ? o(this, We) : o(this, fe) + o(this, me), O = o(this, j) + o(this, me) > o(this, rt) ? o(this, rt) : o(this, j) + o(this, me), _ = o(this, L).fXaxis.fTitle, g = o(this, L).fYaxis.fTitle, W = o(this, L).fZaxis.fTitle, H = o(this, L).fXaxis.fLabels ? o(this, L).fXaxis.fLabels.arr : [], A = o(this, L).fYaxis.fLabels ? o(this, L).fYaxis.fLabels.arr : [], B = o(this, L).fZaxis.fLabels ? o(this, L).fZaxis.fLabels.arr : [], re = [];
|
|
4497
|
+
for (let V = o(this, j); V <= O; V++)
|
|
4498
4498
|
for (let J = o(this, fe); J <= S; J++)
|
|
4499
|
-
for (let X = o(this, ne); X <=
|
|
4499
|
+
for (let X = o(this, ne); X <= w; X++) {
|
|
4500
4500
|
t = o(this, L).fXaxis.GetBinCenter(X), i = o(this, L).fXaxis.GetBinLowEdge(X), n = t + (t - i), s = n - i, a = o(this, L).fYaxis.GetBinCenter(J), l = o(this, L).fYaxis.GetBinLowEdge(J), u = a + (a - l), h = u - l, c = o(this, L).fZaxis.GetBinCenter(V), p = o(this, L).fZaxis.GetBinLowEdge(V), x = c + (c - p), b = x - p;
|
|
4501
4501
|
const N = o(this, Bt).call(this, o(this, L).getBinContent(X, J, V));
|
|
4502
|
-
if (N <= o(this,
|
|
4502
|
+
if (N <= o(this, _t))
|
|
4503
4503
|
continue;
|
|
4504
|
-
|
|
4504
|
+
C = o(this, nt) ? o(this, Wt).call(this, o(this, nt).call(this, {
|
|
4505
4505
|
histogram: o(this, L),
|
|
4506
4506
|
histogramId: o(this, Ee),
|
|
4507
4507
|
x: X,
|
|
4508
4508
|
y: J,
|
|
4509
4509
|
z: V
|
|
4510
4510
|
})) : N;
|
|
4511
|
-
let ue =
|
|
4512
|
-
|
|
4511
|
+
let ue = C;
|
|
4512
|
+
C < 0.15 && (ue = 0.15);
|
|
4513
4513
|
let le = o(this, it) ? o(this, it).call(this, {
|
|
4514
4514
|
histogram: o(this, L),
|
|
4515
4515
|
histogramId: o(this, Ee),
|
|
4516
4516
|
x: X,
|
|
4517
4517
|
y: J,
|
|
4518
4518
|
z: V,
|
|
4519
|
-
content:
|
|
4519
|
+
content: C
|
|
4520
4520
|
}) : null;
|
|
4521
|
-
le = le || o(this, Z).getBinColor(
|
|
4521
|
+
le = le || o(this, Z).getBinColor(C);
|
|
4522
4522
|
const we = o(this, Ee) + i + "th3" + n + "th3" + p + "th3" + x + "th3" + l + "th3" + u;
|
|
4523
|
-
let
|
|
4524
|
-
o(this, Ft).call(this, we) ?
|
|
4523
|
+
let Te;
|
|
4524
|
+
o(this, Ft).call(this, we) ? Te = o(this, Z).getSecondaryAccentColor() : Te = le;
|
|
4525
4525
|
const Ie = `id: ${we};
|
|
4526
4526
|
histogramName: ${o(this, Ee)};
|
|
4527
4527
|
typeName: 'TH3';
|
|
4528
|
-
content: ${
|
|
4528
|
+
content: ${C};
|
|
4529
4529
|
color: ${le};
|
|
4530
4530
|
yTitle: ${g};
|
|
4531
|
-
xTitle: ${
|
|
4531
|
+
xTitle: ${_};
|
|
4532
4532
|
zTitle: ${W};
|
|
4533
4533
|
absoluteContent: ${N};
|
|
4534
4534
|
binName: ${E};
|
|
@@ -4547,7 +4547,7 @@ class bs {
|
|
|
4547
4547
|
xWidth: ${s};
|
|
4548
4548
|
yWidth: ${h};
|
|
4549
4549
|
zWidth: ${b};
|
|
4550
|
-
markedColor: ${
|
|
4550
|
+
markedColor: ${Te};
|
|
4551
4551
|
selectColor: ${o(this, Z).getSecondaryAccentColor()};
|
|
4552
4552
|
axisX: ${o(this, Z).getAxisColor("x")};
|
|
4553
4553
|
axisY: ${o(this, Z).getAxisColor("y")};
|
|
@@ -4575,19 +4575,19 @@ class bs {
|
|
|
4575
4575
|
},
|
|
4576
4576
|
animation3: {
|
|
4577
4577
|
fromColor: o(this, Xt).call(this, we),
|
|
4578
|
-
toColor:
|
|
4578
|
+
toColor: Te
|
|
4579
4579
|
}
|
|
4580
4580
|
}, re[d] = {
|
|
4581
4581
|
key: we,
|
|
4582
4582
|
scale: $,
|
|
4583
|
-
color:
|
|
4583
|
+
color: Te
|
|
4584
4584
|
}, d++;
|
|
4585
4585
|
}
|
|
4586
4586
|
F(this, vt, re);
|
|
4587
4587
|
const U = [], I = [];
|
|
4588
|
-
return d = o(this, Nt).call(this, e, U, I, S,
|
|
4588
|
+
return d = o(this, Nt).call(this, e, U, I, S, w, A, g, 0), d = o(this, Lt).call(this, e, U, I, w, S, H, _, d), d = o(this, jt).call(this, e, U, I, w, S, O, B, W, d), hr(this, Vt, xr).call(this, e, U, I, w, S, d), e.labels = [...U, ...I], e;
|
|
4589
4589
|
});
|
|
4590
|
-
Y(this,
|
|
4590
|
+
Y(this, _r, () => {
|
|
4591
4591
|
const e = {
|
|
4592
4592
|
type: "TH2",
|
|
4593
4593
|
bins: [],
|
|
@@ -4600,23 +4600,23 @@ class bs {
|
|
|
4600
4600
|
let t, i, n, s, a, l, u, h, c, p;
|
|
4601
4601
|
const x = "";
|
|
4602
4602
|
let b = 0;
|
|
4603
|
-
const E = o(this, ne) + o(this,
|
|
4604
|
-
for (let H = o(this, fe); H <=
|
|
4605
|
-
for (let
|
|
4606
|
-
i = o(this, L).fXaxis.GetBinCenter(
|
|
4607
|
-
const B = o(this, Bt).call(this, o(this, L).getBinContent(
|
|
4608
|
-
if (B <= o(this,
|
|
4603
|
+
const E = o(this, ne) + o(this, me) > o(this, L).fXaxis.fNbins ? o(this, L).fXaxis.fNbins : o(this, ne) + o(this, me), C = o(this, fe) + o(this, me) > o(this, L).fYaxis.fNbins ? o(this, L).fYaxis.fNbins : o(this, fe) + o(this, me), d = o(this, L).fXaxis.fTitle !== "" ? o(this, L).fXaxis.fTitle : "x", w = o(this, L).fYaxis.fTitle !== "" ? o(this, L).fYaxis.fTitle : "y", S = o(this, L).fXaxis.fLabels ? o(this, L).fXaxis.fLabels.arr : [], O = o(this, L).fYaxis.fLabels ? o(this, L).fYaxis.fLabels.arr : [], _ = [];
|
|
4604
|
+
for (let H = o(this, fe); H <= C; H++)
|
|
4605
|
+
for (let A = o(this, ne); A <= E; A++) {
|
|
4606
|
+
i = o(this, L).fXaxis.GetBinCenter(A), n = o(this, L).fXaxis.GetBinLowEdge(A), s = i + (i - n), a = s - n, l = o(this, L).fYaxis.GetBinCenter(H), u = o(this, L).fYaxis.GetBinLowEdge(H), h = l + (l - u), c = h - u;
|
|
4607
|
+
const B = o(this, Bt).call(this, o(this, L).getBinContent(A, H));
|
|
4608
|
+
if (B <= o(this, _t))
|
|
4609
4609
|
continue;
|
|
4610
4610
|
p = o(this, nt) ? o(this, Wt).call(this, o(this, nt).call(this, {
|
|
4611
4611
|
histogram: o(this, L),
|
|
4612
4612
|
histogramId: o(this, Ee),
|
|
4613
|
-
x:
|
|
4613
|
+
x: A,
|
|
4614
4614
|
y: H
|
|
4615
|
-
})) : B, t = p * o(this,
|
|
4615
|
+
})) : B, t = p * o(this, me) * o(this, ot) / 16;
|
|
4616
4616
|
let re = o(this, it) ? o(this, it).call(this, {
|
|
4617
4617
|
histogram: o(this, L),
|
|
4618
4618
|
histogramId: o(this, Ee),
|
|
4619
|
-
x:
|
|
4619
|
+
x: A,
|
|
4620
4620
|
y: H,
|
|
4621
4621
|
content: p
|
|
4622
4622
|
}) : null;
|
|
@@ -4629,7 +4629,7 @@ class bs {
|
|
|
4629
4629
|
typeName: 'TH2';
|
|
4630
4630
|
content: ${p};
|
|
4631
4631
|
color: ${re};
|
|
4632
|
-
yTitle: ${
|
|
4632
|
+
yTitle: ${w};
|
|
4633
4633
|
xTitle: ${d};
|
|
4634
4634
|
zTitle: 'none';
|
|
4635
4635
|
absoluteContent: ${B};
|
|
@@ -4640,7 +4640,7 @@ class bs {
|
|
|
4640
4640
|
xMax: ${s};
|
|
4641
4641
|
yMax: ${h};
|
|
4642
4642
|
zMax: ${0};
|
|
4643
|
-
xPos: ${
|
|
4643
|
+
xPos: ${A};
|
|
4644
4644
|
yPos: ${H};
|
|
4645
4645
|
zPos: ${0};
|
|
4646
4646
|
xCenter: ${i};
|
|
@@ -4653,7 +4653,7 @@ class bs {
|
|
|
4653
4653
|
selectColor: ${o(this, Z).getSecondaryAccentColor()};
|
|
4654
4654
|
axisX: ${o(this, Z).getAxisColor("x")};
|
|
4655
4655
|
axisY: ${o(this, Z).getAxisColor("y")};
|
|
4656
|
-
axisZ: ${o(this, Z).getAxisColor("z")}`, J = a / o(this, ht) / o(this, It), X = c / o(this, yt) / o(this, It), N =
|
|
4656
|
+
axisZ: ${o(this, Z).getAxisColor("z")}`, J = a / o(this, ht) / o(this, It), X = c / o(this, yt) / o(this, It), N = A - 1, ue = H - 1;
|
|
4657
4657
|
e.bins[b] = {
|
|
4658
4658
|
id: U,
|
|
4659
4659
|
color: re,
|
|
@@ -4664,7 +4664,7 @@ class bs {
|
|
|
4664
4664
|
fromHeight: o(this, xt).call(this, U),
|
|
4665
4665
|
fromDepth: X,
|
|
4666
4666
|
toWidth: J,
|
|
4667
|
-
toHeight: p * o(this,
|
|
4667
|
+
toHeight: p * o(this, me) * o(this, ot) / 8,
|
|
4668
4668
|
toDepth: X
|
|
4669
4669
|
},
|
|
4670
4670
|
animation2: {
|
|
@@ -4679,17 +4679,17 @@ class bs {
|
|
|
4679
4679
|
fromColor: o(this, Xt).call(this, U),
|
|
4680
4680
|
toColor: I
|
|
4681
4681
|
}
|
|
4682
|
-
},
|
|
4682
|
+
}, _[b] = {
|
|
4683
4683
|
key: U,
|
|
4684
4684
|
scale: p,
|
|
4685
4685
|
color: I
|
|
4686
4686
|
}, b++;
|
|
4687
4687
|
}
|
|
4688
|
-
F(this, vt,
|
|
4688
|
+
F(this, vt, _);
|
|
4689
4689
|
const g = [], W = [];
|
|
4690
|
-
return b = o(this, Nt).call(this, e, g, W,
|
|
4690
|
+
return b = o(this, Nt).call(this, e, g, W, C, E, O, w, 0), b = o(this, Lt).call(this, e, g, W, E, C, S, d, b), b = o(this, jt).call(this, e, g, W, E, C, void 0, void 0, void 0, b), hr(this, Vt, xr).call(this, e, g, W, E, C, b), e.labels = [...g, ...W], e;
|
|
4691
4691
|
});
|
|
4692
|
-
Y(this,
|
|
4692
|
+
Y(this, Or, () => {
|
|
4693
4693
|
const e = {
|
|
4694
4694
|
type: "TH1",
|
|
4695
4695
|
bins: [],
|
|
@@ -4702,28 +4702,28 @@ class bs {
|
|
|
4702
4702
|
let t, i, n, s, a, l;
|
|
4703
4703
|
const u = "";
|
|
4704
4704
|
let h = 0;
|
|
4705
|
-
const c = o(this, ne) + o(this,
|
|
4706
|
-
for (let
|
|
4707
|
-
i = o(this, L).fXaxis.GetBinCenter(
|
|
4708
|
-
const S = o(this, Bt).call(this, o(this, L).getBinContent(
|
|
4709
|
-
if (S <= o(this,
|
|
4705
|
+
const c = o(this, ne) + o(this, me) > o(this, L).fXaxis.fNbins ? o(this, L).fXaxis.fNbins : o(this, ne) + o(this, me), p = 1, x = o(this, L).fXaxis.fTitle !== "" ? o(this, L).fXaxis.fTitle : "x", b = o(this, L).fXaxis.fLabels ? o(this, L).fXaxis.fLabels.arr : [], E = [];
|
|
4706
|
+
for (let w = o(this, ne); w <= c; w++) {
|
|
4707
|
+
i = o(this, L).fXaxis.GetBinCenter(w), n = o(this, L).fXaxis.GetBinLowEdge(w), s = i + (i - n), a = s - n;
|
|
4708
|
+
const S = o(this, Bt).call(this, o(this, L).getBinContent(w));
|
|
4709
|
+
if (S <= o(this, _t))
|
|
4710
4710
|
continue;
|
|
4711
4711
|
l = o(this, nt) ? o(this, Wt).call(this, o(this, nt).call(this, {
|
|
4712
4712
|
histogram: o(this, L),
|
|
4713
4713
|
histogramId: o(this, Ee),
|
|
4714
|
-
x:
|
|
4715
|
-
})) : S, t = l * o(this,
|
|
4716
|
-
let
|
|
4714
|
+
x: w
|
|
4715
|
+
})) : S, t = l * o(this, me) * o(this, ot) / 16;
|
|
4716
|
+
let O = o(this, it) ? o(this, it).call(this, {
|
|
4717
4717
|
histogram: o(this, L),
|
|
4718
4718
|
histogramId: o(this, Ee),
|
|
4719
|
-
x:
|
|
4719
|
+
x: w,
|
|
4720
4720
|
content: l
|
|
4721
4721
|
}) : null;
|
|
4722
|
-
|
|
4723
|
-
const
|
|
4722
|
+
O = O || o(this, Z).getBinColor(l);
|
|
4723
|
+
const _ = o(this, Ee) + n + "th1" + s;
|
|
4724
4724
|
let g;
|
|
4725
|
-
o(this, Ft).call(this,
|
|
4726
|
-
const W = `id: ${
|
|
4725
|
+
o(this, Ft).call(this, _) ? g = o(this, Z).getSecondaryAccentColor() : g = O;
|
|
4726
|
+
const W = `id: ${_};
|
|
4727
4727
|
histogramName: ${o(this, Ee)};
|
|
4728
4728
|
typeName: 'TH1';
|
|
4729
4729
|
content: ${l};
|
|
@@ -4735,7 +4735,7 @@ class bs {
|
|
|
4735
4735
|
zMin: ${0};
|
|
4736
4736
|
xMax: ${s};
|
|
4737
4737
|
zMax: ${0};
|
|
4738
|
-
xPos: ${
|
|
4738
|
+
xPos: ${w};
|
|
4739
4739
|
zPos: ${0};
|
|
4740
4740
|
xCenter: ${i};
|
|
4741
4741
|
yCenter: ${0};
|
|
@@ -4745,41 +4745,41 @@ class bs {
|
|
|
4745
4745
|
selectColor: ${o(this, Z).getSecondaryAccentColor()};
|
|
4746
4746
|
axisX: ${o(this, Z).getAxisColor("x")};
|
|
4747
4747
|
axisY: ${o(this, Z).getAxisColor("y")};
|
|
4748
|
-
axisZ: ${o(this, Z).getAxisColor("z")}`, H = a / o(this, ht) / o(this, It),
|
|
4748
|
+
axisZ: ${o(this, Z).getAxisColor("z")}`, H = a / o(this, ht) / o(this, It), A = w - 1, B = 0;
|
|
4749
4749
|
e.bins[h] = {
|
|
4750
|
-
id:
|
|
4751
|
-
color:
|
|
4750
|
+
id: _,
|
|
4751
|
+
color: O,
|
|
4752
4752
|
binData: W,
|
|
4753
4753
|
content: S,
|
|
4754
4754
|
animation: {
|
|
4755
4755
|
fromWidth: H,
|
|
4756
|
-
fromHeight: o(this, xt).call(this,
|
|
4756
|
+
fromHeight: o(this, xt).call(this, _),
|
|
4757
4757
|
fromDepth: H,
|
|
4758
4758
|
toWidth: H,
|
|
4759
|
-
toHeight: l * o(this,
|
|
4759
|
+
toHeight: l * o(this, me) * o(this, ot) / 8,
|
|
4760
4760
|
toDepth: H
|
|
4761
4761
|
},
|
|
4762
4762
|
animation2: {
|
|
4763
|
-
fromX:
|
|
4763
|
+
fromX: A + o(this, G).xOffset,
|
|
4764
4764
|
fromY: t,
|
|
4765
4765
|
fromZ: B,
|
|
4766
|
-
toX:
|
|
4766
|
+
toX: A,
|
|
4767
4767
|
toY: t,
|
|
4768
4768
|
toZ: B
|
|
4769
4769
|
},
|
|
4770
4770
|
animation3: {
|
|
4771
|
-
fromColor: o(this, Xt).call(this,
|
|
4771
|
+
fromColor: o(this, Xt).call(this, _),
|
|
4772
4772
|
toColor: g
|
|
4773
4773
|
}
|
|
4774
4774
|
}, E[h] = {
|
|
4775
|
-
key:
|
|
4775
|
+
key: _,
|
|
4776
4776
|
scale: l,
|
|
4777
4777
|
color: g
|
|
4778
4778
|
}, h++;
|
|
4779
4779
|
}
|
|
4780
4780
|
F(this, vt, E);
|
|
4781
|
-
const
|
|
4782
|
-
return h = o(this, Nt).call(this, e,
|
|
4781
|
+
const C = [], d = [];
|
|
4782
|
+
return h = o(this, Nt).call(this, e, C, d, p, c, void 0, void 0, 0), h = o(this, Lt).call(this, e, C, d, c, p, b, x, h), h = o(this, jt).call(this, e, C, d, c, p, void 0, void 0, void 0, h), hr(this, Vt, xr).call(this, e, C, d, c, p, h), e.labels = [...C, ...d], e;
|
|
4783
4783
|
});
|
|
4784
4784
|
Y(this, Bt, (e) => e <= 0 ? 0 : (o(this, bt) > 1 && (e = Math.round((e / o(this, bt) + Number.EPSILON) * 100) / 100), e));
|
|
4785
4785
|
Y(this, Yt, (e, t, i, n, s) => {
|
|
@@ -4796,13 +4796,13 @@ class bs {
|
|
|
4796
4796
|
return t[n] = 1, o(this, G)[n] = 0, t;
|
|
4797
4797
|
return t;
|
|
4798
4798
|
});
|
|
4799
|
-
Y(this, jt, (e, t, i, n, s, a, l, u, h) => (t[h] = o(this,
|
|
4799
|
+
Y(this, jt, (e, t, i, n, s, a, l, u, h) => (t[h] = o(this, Ke).call(this, 9e4 + h, n + 0.5, o(this, j) - 1, s + 0.5, 270, 360, 0, 2, 2, `${l ? l[o(this, j) - 1] ? l[o(this, j) - 1].fString : Math.round(
|
|
4800
4800
|
(o(this, Ne).zInitial + o(this, j) - 1 + Number.EPSILON) * 100
|
|
4801
|
-
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), i[h] = o(this,
|
|
4801
|
+
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), i[h] = o(this, Ke).call(this, 91e3 + h, n + 0.5, o(this, j) - 1, o(this, fe) - 2.5, 270, 90, 0, 2, 2, `${l ? l[o(this, j) - 1] ? l[o(this, j) - 1].fString : Math.round(
|
|
4802
4802
|
(o(this, Ne).zInitial + o(this, j) - 1 + Number.EPSILON) * 100
|
|
4803
|
-
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), h++, t[h] = o(this,
|
|
4803
|
+
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), h++, t[h] = o(this, Ke).call(this, 92e3 + h, o(this, ne) - 2.5, o(this, j) - 1, s + 0.5, 270, 270, 0, 2, 2, `${l ? l[o(this, j) - 1] ? l[o(this, j) - 1].fString : Math.round(
|
|
4804
4804
|
(o(this, Ne).zInitial + o(this, j) - 1 + Number.EPSILON) * 100
|
|
4805
|
-
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), i[h] = o(this,
|
|
4805
|
+
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), i[h] = o(this, Ke).call(this, 93e3 + h, o(this, ne) - 2.5, o(this, j) - 1, o(this, fe) - 2.5, 270, 180, 0, 2, 2, `${l ? l[o(this, j) - 1] ? l[o(this, j) - 1].fString : Math.round(
|
|
4806
4806
|
(o(this, Ne).zInitial + o(this, j) - 1 + Number.EPSILON) * 100
|
|
4807
4807
|
) / 100 : "0"}`, o(this, Z).getAxisColor("y"), o(this, Z).getSecondaryFontColor()), h++, u && (e.axisLabels[4] = {
|
|
4808
4808
|
id: "upLabel1",
|
|
@@ -4887,9 +4887,9 @@ class bs {
|
|
|
4887
4887
|
}), h));
|
|
4888
4888
|
Y(this, Nt, (e, t, i, n, s, a, l, u) => {
|
|
4889
4889
|
for (let h = o(this, fe); h <= n; h++)
|
|
4890
|
-
t[u] = o(this,
|
|
4890
|
+
t[u] = o(this, Ke).call(this, 1500 + u, o(this, ne) - 2.5, o(this, j) ? o(this, j) - 1 : 0, h - 1, 270, 180, 0, 2, 1, `${a ? a[h - 1] ? a[h - 1].fString : Math.round(
|
|
4891
4891
|
(o(this, Ne).yInitial + (h - 1) * o(this, yt) + Number.EPSILON) * 100
|
|
4892
|
-
) / 100 : ""}`, o(this, Z).getAxisColor("z"), o(this, Z).getSecondaryFontColor()), i[u] = o(this,
|
|
4892
|
+
) / 100 : ""}`, o(this, Z).getAxisColor("z"), o(this, Z).getSecondaryFontColor()), i[u] = o(this, Ke).call(this, 3e3 + u, s + 0.5, o(this, j) ? o(this, j) - 1 : 0, h - 1, 270, 360, 0, 2, 1, `${a ? a[h - 1] ? a[h - 1].fString : Math.round(
|
|
4893
4893
|
(o(this, Ne).yInitial + (h - 1) * o(this, yt) + Number.EPSILON) * 100
|
|
4894
4894
|
) / 100 : ""}`, o(this, Z).getAxisColor("z"), o(this, Z).getSecondaryFontColor()), u++;
|
|
4895
4895
|
return e.axisLabels[0] = {
|
|
@@ -4936,9 +4936,9 @@ class bs {
|
|
|
4936
4936
|
});
|
|
4937
4937
|
Y(this, Lt, (e, t, i, n, s, a, l, u) => {
|
|
4938
4938
|
for (let h = o(this, ne); h <= n; h++)
|
|
4939
|
-
t[u] = o(this,
|
|
4939
|
+
t[u] = o(this, Ke).call(this, 7500 + u, h - 1, o(this, j) ? o(this, j) - 1 : 0, o(this, fe) - 2.5, 270, 270, 0, 2, 1, `${a[h - 1] ? a[h - 1].fString : Math.round(
|
|
4940
4940
|
(o(this, Ne).xInitial + (h - 1) * o(this, ht) + Number.EPSILON) * 100
|
|
4941
|
-
) / 100}`, o(this, Z).getAxisColor("x"), o(this, Z).getSecondaryFontColor()), i[u] = o(this,
|
|
4941
|
+
) / 100}`, o(this, Z).getAxisColor("x"), o(this, Z).getSecondaryFontColor()), i[u] = o(this, Ke).call(this, 9e3 + u, h - 1, o(this, j) ? o(this, j) - 1 : 0, s + 0.5, 270, 90, 0, 2, 1, `${a[h - 1] ? a[h - 1].fString : Math.round(
|
|
4942
4942
|
(o(this, Ne).xInitial + (h - 1) * o(this, ht) + Number.EPSILON) * 100
|
|
4943
4943
|
) / 100}`, o(this, Z).getAxisColor("x"), o(this, Z).getSecondaryFontColor()), u++;
|
|
4944
4944
|
return e.axisLabels[2] = {
|
|
@@ -4983,7 +4983,7 @@ class bs {
|
|
|
4983
4983
|
}
|
|
4984
4984
|
}, u;
|
|
4985
4985
|
});
|
|
4986
|
-
Y(this,
|
|
4986
|
+
Y(this, Rr, (e, t, i) => {
|
|
4987
4987
|
const n = {
|
|
4988
4988
|
xOffset: o(this, je),
|
|
4989
4989
|
yOffset: o(this, We),
|
|
@@ -4993,11 +4993,11 @@ class bs {
|
|
|
4993
4993
|
xOffset: o(this, ne),
|
|
4994
4994
|
yOffset: o(this, fe),
|
|
4995
4995
|
zOffset: o(this, j),
|
|
4996
|
-
range: o(this,
|
|
4996
|
+
range: o(this, me)
|
|
4997
4997
|
}, a = o(this, Yt).call(this, n, s, t, e, i);
|
|
4998
4998
|
return F(this, ne, a.xOffset), F(this, fe, a.yOffset), F(this, j, a.zOffset), a;
|
|
4999
4999
|
});
|
|
5000
|
-
Y(this,
|
|
5000
|
+
Y(this, Dr, (e, t, i) => {
|
|
5001
5001
|
const n = {
|
|
5002
5002
|
xOffset: o(this, je),
|
|
5003
5003
|
yOffset: o(this, We)
|
|
@@ -5005,17 +5005,17 @@ class bs {
|
|
|
5005
5005
|
name: "TH2",
|
|
5006
5006
|
xOffset: o(this, ne),
|
|
5007
5007
|
yOffset: o(this, fe),
|
|
5008
|
-
range: o(this,
|
|
5008
|
+
range: o(this, me)
|
|
5009
5009
|
}, a = o(this, Yt).call(this, n, s, t, e, i);
|
|
5010
5010
|
return F(this, ne, a.xOffset), F(this, fe, a.yOffset), a;
|
|
5011
5011
|
});
|
|
5012
|
-
Y(this,
|
|
5012
|
+
Y(this, zr, (e, t, i) => {
|
|
5013
5013
|
const n = {
|
|
5014
5014
|
xOffset: o(this, je)
|
|
5015
5015
|
}, s = {
|
|
5016
5016
|
name: "TH1",
|
|
5017
5017
|
xOffset: o(this, ne),
|
|
5018
|
-
range: o(this,
|
|
5018
|
+
range: o(this, me)
|
|
5019
5019
|
}, a = o(this, Yt).call(this, n, s, t, e, i);
|
|
5020
5020
|
return F(this, ne, a.xOffset), a;
|
|
5021
5021
|
});
|
|
@@ -5053,13 +5053,13 @@ class bs {
|
|
|
5053
5053
|
o(this, ot) + e >= 0 && F(this, ot, o(this, ot) + e);
|
|
5054
5054
|
}
|
|
5055
5055
|
updateMinDisplayedContent(e) {
|
|
5056
|
-
e >= 0 && F(this,
|
|
5056
|
+
e >= 0 && F(this, _t, e);
|
|
5057
5057
|
}
|
|
5058
5058
|
setHistogramContentMaximum(e) {
|
|
5059
5059
|
F(this, bt, e > 0 ? e : 1);
|
|
5060
5060
|
}
|
|
5061
5061
|
setSelectedBin(e) {
|
|
5062
|
-
F(this,
|
|
5062
|
+
F(this, lr, e || []);
|
|
5063
5063
|
}
|
|
5064
5064
|
setViewFunction(e) {
|
|
5065
5065
|
F(this, it, e);
|
|
@@ -5071,29 +5071,29 @@ class bs {
|
|
|
5071
5071
|
e && (e.xOffset && F(this, ne, o(this, ft).call(this, e == null ? void 0 : e.xOffset, o(this, je))), e.yOffset && !histogram._typename.includes("TH1") && F(this, fe, o(this, ft).call(this, e == null ? void 0 : e.yOffset, o(this, We))), e.zOffset && histogram._typename.includes("TH3") && F(this, j, o(this, ft).call(this, e == null ? void 0 : e.zOffset, o(this, rt))));
|
|
5072
5072
|
}
|
|
5073
5073
|
setHistogram(e) {
|
|
5074
|
-
var t, i, n, s, a, l, u, h, c, p, x, b, E,
|
|
5075
|
-
F(this, L, e), F(this, tt, e == null ? void 0 : e._typename), F(this, ne, 1), F(this, fe, 1), F(this, j, 1), F(this, je, 0), F(this, We, 0), F(this, rt, 0), F(this, ht, 1), F(this, yt, 1), F(this,
|
|
5074
|
+
var t, i, n, s, a, l, u, h, c, p, x, b, E, C, d, w;
|
|
5075
|
+
F(this, L, e), F(this, tt, e == null ? void 0 : e._typename), F(this, ne, 1), F(this, fe, 1), F(this, j, 1), F(this, je, 0), F(this, We, 0), F(this, rt, 0), F(this, ht, 1), F(this, yt, 1), F(this, cr, 1), F(this, je, (t = e == null ? void 0 : e.fXaxis) == null ? void 0 : t.fNbins), F(this, ht, (((i = e == null ? void 0 : e.fXaxis) == null ? void 0 : i.fXmax) - ((n = e == null ? void 0 : e.fXaxis) == null ? void 0 : n.fXmin)) / ((s = e == null ? void 0 : e.fXaxis) == null ? void 0 : s.fNbins)), o(this, Ne).xInitial = (a = e == null ? void 0 : e.fXaxis) == null ? void 0 : a.fXmin, F(this, ne, o(this, ft).call(this, o(this, ne), o(this, je))), (l = e == null ? void 0 : e._typename) != null && l.includes("TH1") || (F(this, We, (u = e == null ? void 0 : e.fYaxis) == null ? void 0 : u.fNbins), F(this, yt, (((h = e == null ? void 0 : e.fYaxis) == null ? void 0 : h.fXmax) - ((c = e == null ? void 0 : e.fYaxis) == null ? void 0 : c.fXmin)) / ((p = e == null ? void 0 : e.fYaxis) == null ? void 0 : p.fNbins)), o(this, Ne).yInitial = (x = e == null ? void 0 : e.fYaxis) == null ? void 0 : x.fXmin, F(this, fe, o(this, ft).call(this, o(this, fe), o(this, We)))), (b = e == null ? void 0 : e._typename) != null && b.includes("TH3") && (F(this, rt, (E = e == null ? void 0 : e.fZaxis) == null ? void 0 : E.fNbins), F(this, cr, ((C = e == null ? void 0 : e.fZaxis) == null ? void 0 : C.fXmax) / ((d = e == null ? void 0 : e.fZaxis) == null ? void 0 : d.fNbins)), o(this, Ne).zInitial = (w = e == null ? void 0 : e.fZaxis) == null ? void 0 : w.fXmin, F(this, j, o(this, ft).call(this, o(this, j), o(this, rt)))), this.setHistogramContentMaximum(e == null ? void 0 : e.fMaximum);
|
|
5076
5076
|
}
|
|
5077
5077
|
setRange(e) {
|
|
5078
|
-
e && (e < 4 && F(this,
|
|
5078
|
+
e && (e < 4 && F(this, me, 4), F(this, me, e));
|
|
5079
5079
|
}
|
|
5080
5080
|
setTheme(e) {
|
|
5081
|
-
F(this, Z, new
|
|
5081
|
+
F(this, Z, new vn(e));
|
|
5082
5082
|
}
|
|
5083
5083
|
getElements() {
|
|
5084
5084
|
let e = {};
|
|
5085
|
-
return o(this, tt).includes("TH2") ? e = o(this,
|
|
5085
|
+
return o(this, tt).includes("TH2") ? e = o(this, _r).call(this) : o(this, tt).includes("TH3") ? e = o(this, Pr).call(this) : o(this, tt).includes("TH1") && (e = o(this, Or).call(this)), e;
|
|
5086
5086
|
}
|
|
5087
5087
|
updateSection(e, t, i) {
|
|
5088
5088
|
if (o(this, tt).includes("TH3"))
|
|
5089
|
-
return o(this,
|
|
5089
|
+
return o(this, Rr).call(this, e, t, i);
|
|
5090
5090
|
if (o(this, tt).includes("TH2"))
|
|
5091
|
-
return o(this,
|
|
5091
|
+
return o(this, Dr).call(this, e, t, i);
|
|
5092
5092
|
if (o(this, tt).includes("TH1"))
|
|
5093
|
-
return o(this,
|
|
5093
|
+
return o(this, zr).call(this, e, t, i);
|
|
5094
5094
|
}
|
|
5095
5095
|
}
|
|
5096
|
-
Ee = new WeakMap(),
|
|
5096
|
+
Ee = new WeakMap(), lr = new WeakMap(), L = new WeakMap(), tt = new WeakMap(), Z = new WeakMap(), ne = new WeakMap(), fe = new WeakMap(), j = new WeakMap(), je = new WeakMap(), We = new WeakMap(), rt = new WeakMap(), ht = new WeakMap(), yt = new WeakMap(), cr = new WeakMap(), me = new WeakMap(), Ne = new WeakMap(), it = new WeakMap(), nt = new WeakMap(), bt = new WeakMap(), ot = new WeakMap(), _t = new WeakMap(), It = new WeakMap(), G = new WeakMap(), vt = new WeakMap(), ft = new WeakMap(), Ft = new WeakMap(), Ke = new WeakMap(), Pr = new WeakMap(), _r = new WeakMap(), Or = new WeakMap(), Bt = new WeakMap(), Yt = new WeakMap(), jt = new WeakMap(), Nt = new WeakMap(), Lt = new WeakMap(), Vt = new WeakSet(), xr = function(e, t, i, n, s, a, l, u) {
|
|
5097
5097
|
u++, e.titles[0] = {
|
|
5098
5098
|
key: 195e3 + o(this, Ee),
|
|
5099
5099
|
text: {
|
|
@@ -5115,7 +5115,7 @@ Ee = new WeakMap(), ar = new WeakMap(), L = new WeakMap(), tt = new WeakMap(), Z
|
|
|
5115
5115
|
color: o(this, Z).getPrimaryFontColor()
|
|
5116
5116
|
}
|
|
5117
5117
|
}, u++;
|
|
5118
|
-
const h = o(this,
|
|
5118
|
+
const h = o(this, me) > o(this, je) ? o(this, je) + 1 : o(this, me), c = o(this, me) > o(this, We) ? o(this, We) + 1 : o(this, me);
|
|
5119
5119
|
e.ground = {
|
|
5120
5120
|
key: 22500 + u + o(this, Ee),
|
|
5121
5121
|
scale: {
|
|
@@ -5141,15 +5141,15 @@ Ee = new WeakMap(), ar = new WeakMap(), L = new WeakMap(), tt = new WeakMap(), Z
|
|
|
5141
5141
|
position: {
|
|
5142
5142
|
x: n + 8,
|
|
5143
5143
|
y: (o(this, j) ? o(this, j) + 7 : 7) + o(this, G).zOffset,
|
|
5144
|
-
z: o(this, fe) + o(this,
|
|
5144
|
+
z: o(this, fe) + o(this, me) / 2 + 2.5
|
|
5145
5145
|
},
|
|
5146
5146
|
material: {
|
|
5147
5147
|
color: "#ffffff",
|
|
5148
5148
|
transparent: !0
|
|
5149
5149
|
}
|
|
5150
5150
|
};
|
|
5151
|
-
},
|
|
5152
|
-
const
|
|
5151
|
+
}, Rr = new WeakMap(), Dr = new WeakMap(), zr = new WeakMap(), xt = new WeakMap(), Xt = new WeakMap(), Wt = new WeakMap();
|
|
5152
|
+
const ws = () => {
|
|
5153
5153
|
let r;
|
|
5154
5154
|
const {
|
|
5155
5155
|
selectedView: e,
|
|
@@ -5159,8 +5159,8 @@ const vs = () => {
|
|
|
5159
5159
|
range: s,
|
|
5160
5160
|
theme: a,
|
|
5161
5161
|
selectedBins: l
|
|
5162
|
-
} =
|
|
5163
|
-
new
|
|
5162
|
+
} = Ue(Zt).states, { id: u, histogram: h, projPanelIds: c } = Ue(Zt).data, [p] = Ae(
|
|
5163
|
+
new Ss(
|
|
5164
5164
|
u,
|
|
5165
5165
|
h,
|
|
5166
5166
|
n || null,
|
|
@@ -5170,34 +5170,35 @@ const vs = () => {
|
|
|
5170
5170
|
t,
|
|
5171
5171
|
i
|
|
5172
5172
|
)
|
|
5173
|
-
), [x, b] =
|
|
5173
|
+
), [x, b] = Ae(p.getElements()), [E] = Ae(1), C = (d) => {
|
|
5174
5174
|
h._typename.includes(d.name) && (d.axis ? (p.updateSection(d.axis, d.increment, d.defaultRange), b(p.getElements())) : d.scale ? (p.updateContentScale(d.scale), b(p.getElements())) : d.minValue && (p.updateMinDisplayedContent(d.minValue), b(p.getElements())));
|
|
5175
5175
|
};
|
|
5176
|
-
return
|
|
5176
|
+
return pe(() => {
|
|
5177
5177
|
p.setUniqueName(u), b(p.getElements());
|
|
5178
|
-
}, [u]),
|
|
5178
|
+
}, [u]), pe(() => {
|
|
5179
5179
|
p.setHistogram(h), b(p.getElements());
|
|
5180
|
-
}, [h]),
|
|
5180
|
+
}, [h]), pe(() => {
|
|
5181
5181
|
p.setSection(n), b(p.getElements());
|
|
5182
|
-
}, [n]),
|
|
5182
|
+
}, [n]), pe(() => {
|
|
5183
5183
|
p.setRange(s), b(p.getElements());
|
|
5184
|
-
}, [s]),
|
|
5184
|
+
}, [s]), pe(() => {
|
|
5185
5185
|
p.setTheme(a), b(p.getElements());
|
|
5186
|
-
}, [a]),
|
|
5186
|
+
}, [a]), pe(() => {
|
|
5187
5187
|
p.setSelectedBin(l), b(p.getElements());
|
|
5188
|
-
}, [l]),
|
|
5188
|
+
}, [l]), pe(() => {
|
|
5189
5189
|
p.setViewFunction(t), b(p.getElements());
|
|
5190
|
-
}, [t]),
|
|
5190
|
+
}, [t]), pe(() => {
|
|
5191
5191
|
p.setViewFunction(t), b(p.getElements());
|
|
5192
|
-
}, [e]),
|
|
5192
|
+
}, [e]), pe(() => {
|
|
5193
5193
|
p.setProgressFunction(i), b(p.getElements());
|
|
5194
|
-
}, [i]),
|
|
5195
|
-
if (h._typename.includes("TH2") ? r =
|
|
5194
|
+
}, [i]), pe(() => {
|
|
5195
|
+
if (h._typename.includes("TH2") ? r = _e.getChangedSection().subscribe(C) : h._typename.includes("TH3") ? r = De.getChangedSection().subscribe(C) : h._typename.includes("TH1") && (r = st.getChangedSection().subscribe(C)), r)
|
|
5196
5196
|
return () => r.unsubscribe();
|
|
5197
5197
|
}, [x]), x != null && x.bins ? /* @__PURE__ */ oe("a-entity", { "histogram-control": !0, children: [
|
|
5198
5198
|
x.bins.map((d) => /* @__PURE__ */ v(
|
|
5199
5199
|
"a-box",
|
|
5200
5200
|
{
|
|
5201
|
+
id: d.id,
|
|
5201
5202
|
class: "clickable",
|
|
5202
5203
|
material: `color: ${d.color}; transparent: true`,
|
|
5203
5204
|
binth: d.binData,
|
|
@@ -9780,14 +9781,14 @@ const vs = () => {
|
|
|
9780
9781
|
E = this.random(b) < 0.35 ? this.random(b + 1) : 0;
|
|
9781
9782
|
}
|
|
9782
9783
|
E += 0.1 * this.random(b + 2);
|
|
9783
|
-
var
|
|
9784
|
-
|
|
9784
|
+
var C = 2 * p / h - 1, d = 2 * x / h - 1, w = this.environmentData.playArea;
|
|
9785
|
+
C = Math.max(
|
|
9785
9786
|
0,
|
|
9786
|
-
Math.min(1, (Math.abs(
|
|
9787
|
+
Math.min(1, (Math.abs(C) - (w - 0.9)) * (1 / w))
|
|
9787
9788
|
), d = Math.max(
|
|
9788
9789
|
0,
|
|
9789
|
-
Math.min(1, (Math.abs(d) - (
|
|
9790
|
-
), E *=
|
|
9790
|
+
Math.min(1, (Math.abs(d) - (w - 0.9)) * (1 / w))
|
|
9791
|
+
), E *= C > d ? C : d, E < 0.01 && (E = 0), l[b] = E, p += c, p >= 10 && (p = 0, x += c);
|
|
9791
9792
|
} else
|
|
9792
9793
|
l[b] = 0;
|
|
9793
9794
|
this.groundGeometry.computeVertexNormals(), this.groundGeometry.attributes.position.needsUpdate = !0, this.groundGeometry.attributes.normal.needsUpdate = !0;
|
|
@@ -9795,8 +9796,8 @@ const vs = () => {
|
|
|
9795
9796
|
this.ground.setAttribute("scale", {
|
|
9796
9797
|
z: this.environmentData.groundYScale
|
|
9797
9798
|
});
|
|
9798
|
-
var S = 2048,
|
|
9799
|
-
this.groundCanvas && this.groundCanvas.width == S || (this.gridCanvas = document.createElement("canvas"), this.gridCanvas.width = S, this.gridCanvas.height = S, this.gridTexture = new THREE.Texture(this.gridCanvas), this.gridTexture.wrapS = THREE.RepeatWrapping, this.gridTexture.wrapT = THREE.RepeatWrapping, this.gridTexture.repeat.set(
|
|
9799
|
+
var S = 2048, O = 20, _ = this.STAGE_SIZE / O;
|
|
9800
|
+
this.groundCanvas && this.groundCanvas.width == S || (this.gridCanvas = document.createElement("canvas"), this.gridCanvas.width = S, this.gridCanvas.height = S, this.gridTexture = new THREE.Texture(this.gridCanvas), this.gridTexture.wrapS = THREE.RepeatWrapping, this.gridTexture.wrapT = THREE.RepeatWrapping, this.gridTexture.repeat.set(_, _), this.groundCanvas = document.createElement("canvas"), this.groundCanvas.width = S, this.groundCanvas.height = S, this.groundTexture = new THREE.Texture(this.groundCanvas), this.groundTexture.wrapS = THREE.RepeatWrapping, this.groundTexture.wrapT = THREE.RepeatWrapping, this.groundTexture.repeat.set(_, _), this.groundMaterialProps = {
|
|
9800
9801
|
map: this.groundTexture,
|
|
9801
9802
|
emissive: new THREE.Color(16777215),
|
|
9802
9803
|
emissiveMap: this.gridTexture
|
|
@@ -9804,7 +9805,7 @@ const vs = () => {
|
|
|
9804
9805
|
this.groundMaterialProps
|
|
9805
9806
|
));
|
|
9806
9807
|
var g = this.groundCanvas.getContext("2d"), W = this.gridCanvas.getContext("2d");
|
|
9807
|
-
if (this.drawTexture(g, S,
|
|
9808
|
+
if (this.drawTexture(g, S, O), W.fillStyle = "#000000", W.fillRect(0, 0, S, S), this.drawGrid(W, S, O), this.groundTexture.needsUpdate = !0, this.gridTexture.needsUpdate = !0, i) {
|
|
9808
9809
|
var H = new THREE.Mesh(this.groundGeometry, this.groundMaterial);
|
|
9809
9810
|
this.ground.setObject3D("mesh", H);
|
|
9810
9811
|
} else
|
|
@@ -9861,25 +9862,25 @@ const vs = () => {
|
|
|
9861
9862
|
i.fillStyle = this.environmentData.groundColor2;
|
|
9862
9863
|
var b = Math.floor(s / 2), E = n / (s / 2);
|
|
9863
9864
|
for (a = 0; a < b + 1; a += 2)
|
|
9864
|
-
for (var
|
|
9865
|
+
for (var C = 0; C < b + 1; C++)
|
|
9865
9866
|
i.fillRect(
|
|
9866
|
-
Math.floor((a +
|
|
9867
|
-
Math.floor(
|
|
9867
|
+
Math.floor((a + C % 2) * E),
|
|
9868
|
+
Math.floor(C * E),
|
|
9868
9869
|
Math.floor(E),
|
|
9869
9870
|
Math.floor(E)
|
|
9870
9871
|
);
|
|
9871
9872
|
break;
|
|
9872
9873
|
case "squares":
|
|
9873
|
-
var d = 16,
|
|
9874
|
+
var d = 16, w = n / d;
|
|
9874
9875
|
for (u = new THREE.Color(this.environmentData.groundColor), h = new THREE.Color(this.environmentData.groundColor2), a = 0; a < d * d; a++)
|
|
9875
|
-
l = this.random(a + 3) > 0.5 ? u.clone() : h.clone(), l.addScalar(0.1 * this.random(a + 3) - 0.05), i.fillStyle = "#" + l.getHexString(), i.fillRect(a % d *
|
|
9876
|
+
l = this.random(a + 3) > 0.5 ? u.clone() : h.clone(), l.addScalar(0.1 * this.random(a + 3) - 0.05), i.fillStyle = "#" + l.getHexString(), i.fillRect(a % d * w, Math.floor(a / d) * w, w, w);
|
|
9876
9877
|
break;
|
|
9877
9878
|
case "noise":
|
|
9878
9879
|
p = i.getImageData(0, 0, n, n), c = p.data, u = new THREE.Color(this.environmentData.groundColor), h = new THREE.Color(this.environmentData.groundColor2);
|
|
9879
|
-
var S = new THREE.Color(h.r - u.r, h.g - u.g, h.b - u.b),
|
|
9880
|
-
for (a = 0,
|
|
9881
|
-
var
|
|
9882
|
-
c[a + 0] = Math.floor(255 * (u.r + S.r *
|
|
9880
|
+
var S = new THREE.Color(h.r - u.r, h.g - u.g, h.b - u.b), O = new t();
|
|
9881
|
+
for (a = 0, C = 0, x = c.length; a < x; a += 4, C++) {
|
|
9882
|
+
var _ = O.noise(C % n / n * 3, C / n / n * 3, 0);
|
|
9883
|
+
c[a + 0] = Math.floor(255 * (u.r + S.r * _)), c[a + 1] = Math.floor(255 * (u.g + S.g * _)), c[a + 2] = Math.floor(255 * (u.b + S.b * _));
|
|
9883
9884
|
}
|
|
9884
9885
|
i.putImageData(p, 0, 0);
|
|
9885
9886
|
break;
|
|
@@ -9888,9 +9889,9 @@ const vs = () => {
|
|
|
9888
9889
|
W.width = g, W.height = g;
|
|
9889
9890
|
var H = W.getContext("2d");
|
|
9890
9891
|
H.fillStyle = this.environmentData.groundColor, H.fillRect(0, 0, g, g), p = H.getImageData(0, 0, g, g), c = p.data, u = new THREE.Color(this.environmentData.groundColor), h = new THREE.Color(this.environmentData.groundColor2);
|
|
9891
|
-
var
|
|
9892
|
+
var A = [], B = 1e3;
|
|
9892
9893
|
for (a = 0; a < B; a++)
|
|
9893
|
-
l = u.clone().lerp(h, Math.random()),
|
|
9894
|
+
l = u.clone().lerp(h, Math.random()), A.push({
|
|
9894
9895
|
x: Math.random() * g,
|
|
9895
9896
|
y: Math.random() * g,
|
|
9896
9897
|
r: Math.floor(255 * l.r),
|
|
@@ -9899,17 +9900,17 @@ const vs = () => {
|
|
|
9899
9900
|
});
|
|
9900
9901
|
for (var re = 5e3, U = 0; U < re; U++)
|
|
9901
9902
|
for (a = 0; a < B; a++) {
|
|
9902
|
-
var I =
|
|
9903
|
+
var I = A[a], V = 4 * Math.floor(I.y * g + I.x);
|
|
9903
9904
|
c[V + 0] = I.r, c[V + 1] = I.g, c[V + 2] = I.b, I.x += Math.floor(3 * Math.random()) - 1, I.y += Math.floor(3 * Math.random()) - 1, I.x >= g && (I.x = I.x - g), I.y >= g && (I.y = I.y - g), I.x < 0 && (I.x = g + I.x), I.y < 0 && (I.y = g + I.y);
|
|
9904
9905
|
}
|
|
9905
9906
|
H.putImageData(p, 0, 0), i.drawImage(W, 0, 0, n, n);
|
|
9906
9907
|
}
|
|
9907
9908
|
},
|
|
9908
9909
|
getAssetGeometry: function(i) {
|
|
9909
|
-
function n(
|
|
9910
|
-
for (var
|
|
9911
|
-
|
|
9912
|
-
|
|
9910
|
+
function n(w, S) {
|
|
9911
|
+
for (var O = (new THREE.Vector3(), w.attributes.position.array), _ = O.length, g = 0; g < _; g += 3)
|
|
9912
|
+
O[g] = (h.random(g) - 0.5) * S, O[g + 1] = (h.random(g + _) - 0.5) * S, O[g + 2] = (h.random(g + 2 * _) - 0.5) * S;
|
|
9913
|
+
w.attributes.position.needsUpdate = !0;
|
|
9913
9914
|
}
|
|
9914
9915
|
if (!i)
|
|
9915
9916
|
return null;
|
|
@@ -9934,8 +9935,8 @@ const vs = () => {
|
|
|
9934
9935
|
), i[c].noise && n(a, i[c].noise), u.push(a);
|
|
9935
9936
|
} else if (i[c].type == "mesh") {
|
|
9936
9937
|
a = new THREE.BufferGeometry(), l = i[c].vertices;
|
|
9937
|
-
var E = i[c].faces,
|
|
9938
|
-
if (a.setIndex(E), a.setAttribute("position", new THREE.BufferAttribute(
|
|
9938
|
+
var E = i[c].faces, C = new Float32Array(l);
|
|
9939
|
+
if (a.setIndex(E), a.setAttribute("position", new THREE.BufferAttribute(C, 3)), i[c].mirror) {
|
|
9939
9940
|
var d = a.clone();
|
|
9940
9941
|
d.applyMatrix4(
|
|
9941
9942
|
new THREE.Matrix4().makeRotationFromEuler(
|
|
@@ -9983,7 +9984,7 @@ const vs = () => {
|
|
|
9983
9984
|
this.environmentData.dressingVariance.z
|
|
9984
9985
|
), x = this.random(l) < this.environmentData.dressingOnPlayArea;
|
|
9985
9986
|
u = x ? 15 * this.random(l + 1) : 10 + Math.max(p.x, p.z) + 10 * this.random(l + 1) + this.random(l + 2) * this.STAGE_SIZE / 3;
|
|
9986
|
-
var b = this.random(l + 3) * Math.PI * 2, E = new THREE.Matrix4(),
|
|
9987
|
+
var b = this.random(l + 3) * Math.PI * 2, E = new THREE.Matrix4(), C = this.random(l + 4), d = this.environmentData.dressingUniformScale;
|
|
9987
9988
|
E.compose(
|
|
9988
9989
|
new THREE.Vector3(Math.cos(b) * u, 0, Math.sin(b) * u),
|
|
9989
9990
|
new THREE.Quaternion().setFromAxisAngle(
|
|
@@ -9991,18 +9992,18 @@ const vs = () => {
|
|
|
9991
9992
|
(this.random(l + 5) - 0.5) * p.length() * Math.PI * 2
|
|
9992
9993
|
),
|
|
9993
9994
|
new THREE.Vector3(
|
|
9994
|
-
c + (d ?
|
|
9995
|
-
c + (d ?
|
|
9996
|
-
c + (d ?
|
|
9995
|
+
c + (d ? C : this.random(l + 6)) * p.x,
|
|
9996
|
+
c + (d ? C : this.random(l + 7)) * p.y,
|
|
9997
|
+
c + (d ? C : this.random(l + 8)) * p.z
|
|
9997
9998
|
)
|
|
9998
9999
|
), h.applyMatrix4(E), n.push(h);
|
|
9999
10000
|
}
|
|
10000
|
-
var
|
|
10001
|
-
|
|
10001
|
+
var w = THREE.BufferGeometryUtils.mergeBufferGeometries(n);
|
|
10002
|
+
w.attributes.position.needsUpdate = !0;
|
|
10002
10003
|
var S = new THREE.MeshLambertMaterial({
|
|
10003
10004
|
color: new THREE.Color(this.environmentData.dressingColor)
|
|
10004
|
-
}),
|
|
10005
|
-
i.add(
|
|
10005
|
+
}), O = new THREE.Mesh(w, S);
|
|
10006
|
+
i.add(O), this.dressing.setObject3D("mesh", i);
|
|
10006
10007
|
}
|
|
10007
10008
|
},
|
|
10008
10009
|
createStars: function() {
|
|
@@ -10239,28 +10240,28 @@ const vs = () => {
|
|
|
10239
10240
|
}, t.prototype.noise = function(i, n, s) {
|
|
10240
10241
|
var a = Math.floor(i), l = Math.floor(n), u = Math.floor(s);
|
|
10241
10242
|
i -= a, n -= l, s -= u, a &= 255, l &= 255, u &= 255;
|
|
10242
|
-
var h = this.perm[a + this.perm[l + this.perm[u]]] % 12, c = this.perm[a + this.perm[l + this.perm[u + 1]]] % 12, p = this.perm[a + this.perm[l + 1 + this.perm[u]]] % 12, x = this.perm[a + this.perm[l + 1 + this.perm[u + 1]]] % 12, b = this.perm[a + 1 + this.perm[l + this.perm[u]]] % 12, E = this.perm[a + 1 + this.perm[l + this.perm[u + 1]]] % 12,
|
|
10243
|
+
var h = this.perm[a + this.perm[l + this.perm[u]]] % 12, c = this.perm[a + this.perm[l + this.perm[u + 1]]] % 12, p = this.perm[a + this.perm[l + 1 + this.perm[u]]] % 12, x = this.perm[a + this.perm[l + 1 + this.perm[u + 1]]] % 12, b = this.perm[a + 1 + this.perm[l + this.perm[u]]] % 12, E = this.perm[a + 1 + this.perm[l + this.perm[u + 1]]] % 12, C = this.perm[a + 1 + this.perm[l + 1 + this.perm[u]]] % 12, d = this.perm[a + 1 + this.perm[l + 1 + this.perm[u + 1]]] % 12, w = this.dot(this.grad3[h], i, n, s), S = this.dot(this.grad3[b], i - 1, n, s), O = this.dot(this.grad3[p], i, n - 1, s), _ = this.dot(this.grad3[C], i - 1, n - 1, s), g = this.dot(this.grad3[c], i, n, s - 1), W = this.dot(this.grad3[E], i - 1, n, s - 1), H = this.dot(this.grad3[x], i, n - 1, s - 1), A = this.dot(this.grad3[d], i - 1, n - 1, s - 1), B = this.fade(i), re = this.fade(n), U = this.fade(s), I = this.mix(w, S, B), V = this.mix(g, W, B), J = this.mix(O, _, B), X = this.mix(H, A, B), N = this.mix(I, J, re), ue = this.mix(V, X, re), le = this.mix(N, ue, U);
|
|
10243
10244
|
return le;
|
|
10244
10245
|
};
|
|
10245
10246
|
}
|
|
10246
10247
|
]);
|
|
10247
|
-
function
|
|
10248
|
+
function Cs(r) {
|
|
10248
10249
|
const e = (r == null ? void 0 : r.scene) || "labs";
|
|
10249
10250
|
return /* @__PURE__ */ v(Be.Fragment, { children: /* @__PURE__ */ v("a-entity", { environment: `preset: ${e}; groundTexture: none; horizonColor: silver; skyColor: skyblue; shadow: true` }) });
|
|
10250
10251
|
}
|
|
10251
|
-
var
|
|
10252
|
-
const
|
|
10253
|
-
const [t, i] =
|
|
10254
|
-
return
|
|
10252
|
+
var Es = Object.defineProperty, Ts = (r, e, t) => e in r ? Es(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, gr = (r, e, t) => (Ts(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
10253
|
+
const dr = Be.createContext(null), or = (r = "", e = "zmq2ws") => {
|
|
10254
|
+
const [t, i] = Ae({}), n = Ue(dr)[e];
|
|
10255
|
+
return Nn(() => {
|
|
10255
10256
|
if (n === null)
|
|
10256
10257
|
return;
|
|
10257
10258
|
const s = n.subscribeIn(i, r);
|
|
10258
10259
|
return () => s.unsubscribe();
|
|
10259
10260
|
}, [n]), t;
|
|
10260
10261
|
};
|
|
10261
|
-
class
|
|
10262
|
+
class ks {
|
|
10262
10263
|
constructor() {
|
|
10263
|
-
|
|
10264
|
+
gr(this, "state"), gr(this, "distributors", /* @__PURE__ */ new Map()), gr(this, "handlerFunc", /* @__PURE__ */ new Map()), gr(this, "subscriptions", /* @__PURE__ */ new Map());
|
|
10264
10265
|
}
|
|
10265
10266
|
addDistributor(e) {
|
|
10266
10267
|
this.distributors.set(e.getId(), e);
|
|
@@ -10304,8 +10305,8 @@ class Cs {
|
|
|
10304
10305
|
this.distributors.forEach((e, t) => this.clearSubscription(t));
|
|
10305
10306
|
}
|
|
10306
10307
|
}
|
|
10307
|
-
new
|
|
10308
|
-
const
|
|
10308
|
+
new ks();
|
|
10309
|
+
const As = ({ position: r, rotation: e, id: t, color: i, masterId: n }) => (pe(() => {
|
|
10309
10310
|
const a = document.getElementById(t), l = new Et.Quaternion().fromArray(e), u = new Et.Euler().setFromQuaternion(
|
|
10310
10311
|
l,
|
|
10311
10312
|
"YXZ"
|
|
@@ -10329,7 +10330,7 @@ const Es = ({ position: r, rotation: e, id: t, color: i, masterId: n }) => (xe((
|
|
|
10329
10330
|
),
|
|
10330
10331
|
/* @__PURE__ */ v("a-sphere", { color: i, radius: "0.05", position: "0 0.4 -0.3" }),
|
|
10331
10332
|
/* @__PURE__ */ v("a-sphere", { color: i, radius: "0.05", position: "0 0.6 -0.2" })
|
|
10332
|
-
] }))() : /* @__PURE__ */ v(
|
|
10333
|
+
] }))() : /* @__PURE__ */ v(rn, {}) }),
|
|
10333
10334
|
/* @__PURE__ */ v("a-entity", { position: "0.2 0.15 -0.45", children: /* @__PURE__ */ v("a-sphere", { radius: "0.1", color: "#FFFFFF", children: /* @__PURE__ */ v(
|
|
10334
10335
|
"a-sphere",
|
|
10335
10336
|
{
|
|
@@ -10414,22 +10415,75 @@ const Es = ({ position: r, rotation: e, id: t, color: i, masterId: n }) => (xe((
|
|
|
10414
10415
|
),
|
|
10415
10416
|
/* @__PURE__ */ v("a-sphere", { radius: "0.25", color: "#F8DF87", position: "0 -0.8 0" })
|
|
10416
10417
|
] })
|
|
10417
|
-
] })),
|
|
10418
|
-
const e =
|
|
10419
|
-
switch (
|
|
10420
|
-
case
|
|
10418
|
+
] })), Ps = 109, _s = ({ wssb: r = "shared" }) => {
|
|
10419
|
+
const e = Ue(dr)[r], { histogram: t } = Ue(Zt).data, i = (n) => {
|
|
10420
|
+
switch (n.keyCode) {
|
|
10421
|
+
case Ps:
|
|
10421
10422
|
e.send({
|
|
10422
10423
|
type: "assign_master",
|
|
10423
10424
|
payload: {}
|
|
10425
|
+
}), e.send({
|
|
10426
|
+
type: "histogram",
|
|
10427
|
+
payload: JSON.stringify(Ln(t))
|
|
10424
10428
|
});
|
|
10425
10429
|
}
|
|
10426
10430
|
};
|
|
10427
|
-
return
|
|
10428
|
-
window.removeEventListener("keypress",
|
|
10431
|
+
return pe(() => (window.addEventListener("keypress", i), () => {
|
|
10432
|
+
window.removeEventListener("keypress", i);
|
|
10433
|
+
}), []), /* @__PURE__ */ v(rn, {});
|
|
10434
|
+
}, Os = 105, Rs = 106, Ds = 107, zs = 108, $s = 117, Ms = 111, Ki = /* @__PURE__ */ new Map([
|
|
10435
|
+
[Os, "X_UP"],
|
|
10436
|
+
[Ds, "X_DOWN"],
|
|
10437
|
+
[zs, "Y_UP"],
|
|
10438
|
+
[Rs, "Y_DOWN"],
|
|
10439
|
+
[$s, "Z_UP"],
|
|
10440
|
+
[Ms, "Z_DOWN"]
|
|
10441
|
+
]), qi = (r) => {
|
|
10442
|
+
switch (r) {
|
|
10443
|
+
case "X_UP":
|
|
10444
|
+
document.dispatchEvent(new KeyboardEvent("keydown", { key: "I" }));
|
|
10445
|
+
break;
|
|
10446
|
+
case "X_DOWN":
|
|
10447
|
+
document.dispatchEvent(new KeyboardEvent("keydown", { key: "K" }));
|
|
10448
|
+
break;
|
|
10449
|
+
case "Y_UP":
|
|
10450
|
+
document.dispatchEvent(new KeyboardEvent("keydown", { key: "L" }));
|
|
10451
|
+
break;
|
|
10452
|
+
case "Y_DOWN":
|
|
10453
|
+
document.dispatchEvent(new KeyboardEvent("keydown", { key: "J" }));
|
|
10454
|
+
break;
|
|
10455
|
+
case "Z_UP":
|
|
10456
|
+
document.dispatchEvent(new KeyboardEvent("keydown", { key: "U" }));
|
|
10457
|
+
break;
|
|
10458
|
+
case "Z_DOWN":
|
|
10459
|
+
document.dispatchEvent(new KeyboardEvent("keydown", { key: "O" }));
|
|
10460
|
+
break;
|
|
10461
|
+
}
|
|
10462
|
+
}, Hs = ({ wssb: r = "shared" }) => {
|
|
10463
|
+
const e = Ue(dr)[r], t = or("axisScalingLatest", r), i = or("axisScaling", r), n = (s) => {
|
|
10464
|
+
if (!Ki.has(s.keyCode))
|
|
10465
|
+
return;
|
|
10466
|
+
let a = Ki.get(s.keyCode);
|
|
10467
|
+
e.send({
|
|
10468
|
+
type: "axis_scaling_latest",
|
|
10469
|
+
payload: {
|
|
10470
|
+
axis: a
|
|
10471
|
+
}
|
|
10472
|
+
});
|
|
10473
|
+
};
|
|
10474
|
+
return pe(() => {
|
|
10475
|
+
i.payload !== void 0 && Object.keys(i.payload.axisMap).forEach((s) => {
|
|
10476
|
+
for (let a = 0; a < i.payload.axisMap[s]; a++)
|
|
10477
|
+
qi(s);
|
|
10478
|
+
});
|
|
10479
|
+
}, [i.payload]), pe(() => {
|
|
10480
|
+
t.payload !== void 0 && qi(t.payload.latestAxis);
|
|
10481
|
+
}, [t.payload]), pe(() => (window.addEventListener("keypress", n), () => {
|
|
10482
|
+
window.removeEventListener("keypress", n);
|
|
10429
10483
|
}), []), /* @__PURE__ */ v("div", {});
|
|
10430
|
-
},
|
|
10431
|
-
const [e, t] =
|
|
10432
|
-
return
|
|
10484
|
+
}, Is = ({ wssb: r = "shared" }) => {
|
|
10485
|
+
const [e, t] = Ae(0), i = Ue(dr)[r];
|
|
10486
|
+
return pe(() => {
|
|
10433
10487
|
const n = document.getElementById("camera"), s = new Et.Vector3(), a = new Et.Quaternion();
|
|
10434
10488
|
n.object3D.getWorldPosition(s);
|
|
10435
10489
|
const l = setInterval(() => {
|
|
@@ -10442,34 +10496,37 @@ const Es = ({ position: r, rotation: e, id: t, color: i, masterId: n }) => (xe((
|
|
|
10442
10496
|
}), t((u) => u + 1);
|
|
10443
10497
|
}, 100);
|
|
10444
10498
|
return () => clearInterval(l);
|
|
10445
|
-
}, [e]), /* @__PURE__ */
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
|
|
10499
|
+
}, [e]), /* @__PURE__ */ oe("a-entity", { children: [
|
|
10500
|
+
/* @__PURE__ */ v(_s, {}),
|
|
10501
|
+
/* @__PURE__ */ v(Hs, {})
|
|
10502
|
+
] });
|
|
10503
|
+
}, Fs = ({ wssb: r = "shared" }) => {
|
|
10504
|
+
Ue(dr)[r];
|
|
10505
|
+
const e = or("move", r), t = or("ws", r), i = or("master", r), [n, s] = Ae([]), [a, l] = Ae(null), [u, h] = Ae("");
|
|
10506
|
+
return pe(() => {
|
|
10450
10507
|
e.payload !== void 0 && (e.payload.clients.length > 0 ? s(e.payload.clients) : s([]));
|
|
10451
|
-
}, [e.payload]),
|
|
10452
|
-
t.payload !== void 0 &&
|
|
10453
|
-
}, [t.payload]),
|
|
10508
|
+
}, [e.payload]), pe(() => {
|
|
10509
|
+
t.payload !== void 0 && h(t.payload.id);
|
|
10510
|
+
}, [t.payload]), pe(() => {
|
|
10454
10511
|
i.payload !== void 0 && l(i.payload.master);
|
|
10455
10512
|
}, [i.payload]), /* @__PURE__ */ oe("a-entity", { children: [
|
|
10456
|
-
/* @__PURE__ */ v(
|
|
10457
|
-
n.filter((
|
|
10458
|
-
const
|
|
10513
|
+
/* @__PURE__ */ v(Is, {}),
|
|
10514
|
+
n.filter((c) => c.id !== u).map((c, p) => {
|
|
10515
|
+
const x = c.position, b = c.rotation, E = x.join(" ");
|
|
10459
10516
|
return /* @__PURE__ */ v(
|
|
10460
|
-
|
|
10517
|
+
As,
|
|
10461
10518
|
{
|
|
10462
|
-
id:
|
|
10463
|
-
position:
|
|
10464
|
-
rotation:
|
|
10519
|
+
id: c.id,
|
|
10520
|
+
position: E,
|
|
10521
|
+
rotation: b,
|
|
10465
10522
|
masterId: a,
|
|
10466
|
-
color: c
|
|
10523
|
+
color: c.color
|
|
10467
10524
|
},
|
|
10468
|
-
|
|
10525
|
+
p + c.id
|
|
10469
10526
|
);
|
|
10470
10527
|
})
|
|
10471
10528
|
] });
|
|
10472
|
-
},
|
|
10529
|
+
}, ha = ({
|
|
10473
10530
|
data: r,
|
|
10474
10531
|
states: e = null,
|
|
10475
10532
|
stores: t = null,
|
|
@@ -10492,40 +10549,41 @@ const Es = ({ position: r, rotation: e, id: t, color: i, masterId: n }) => (xe((
|
|
|
10492
10549
|
useShared: p = !1
|
|
10493
10550
|
}) => {
|
|
10494
10551
|
let x;
|
|
10495
|
-
return
|
|
10496
|
-
if (x =
|
|
10497
|
-
var E,
|
|
10552
|
+
return pe(() => {
|
|
10553
|
+
if (x = nr.getBinDistributor().subscribe((b) => {
|
|
10554
|
+
var E, C, d;
|
|
10498
10555
|
if ((b == null ? void 0 : b.id) === r.id) {
|
|
10499
|
-
const
|
|
10556
|
+
const w = {
|
|
10500
10557
|
intersectionAxis: b.intersect,
|
|
10501
10558
|
obj: r.histogram,
|
|
10502
|
-
id:
|
|
10559
|
+
id: r.id,
|
|
10560
|
+
binId: b.data.id
|
|
10503
10561
|
};
|
|
10504
|
-
switch ((E = b.data) != null && E.zPos ? (
|
|
10562
|
+
switch ((E = b.data) != null && E.zPos ? (w.binz = b.data.zPos, w.biny = b.data.yPos, w.binx = b.data.xPos, w.bin = r.histogram.getBin(
|
|
10505
10563
|
b.data.xPos,
|
|
10506
10564
|
b.data.yPos,
|
|
10507
10565
|
b.data.zPos
|
|
10508
|
-
),
|
|
10566
|
+
), w.con = r.histogram.getBinContent(
|
|
10509
10567
|
b.data.xPos,
|
|
10510
10568
|
b.data.yPos,
|
|
10511
10569
|
b.data.zPos
|
|
10512
|
-
)) : (
|
|
10570
|
+
)) : (C = b.data) != null && C.yPos ? (w.biny = b.data.yPos, w.binx = b.data.xPos, w.bin = r.histogram.getBin(
|
|
10513
10571
|
b.data.xPos,
|
|
10514
10572
|
b.data.yPos
|
|
10515
|
-
),
|
|
10573
|
+
), w.con = r.histogram.getBinContent(
|
|
10516
10574
|
b.data.xPos,
|
|
10517
10575
|
b.data.yPos
|
|
10518
|
-
)) : (d = b.data) != null && d.xPos && (
|
|
10576
|
+
)) : (d = b.data) != null && d.xPos && (w.binx = b.data.xPos, w.bin = r.histogram.getBin(b.data.xPos), w.con = r.histogram.getBinContent(
|
|
10519
10577
|
b.data.xPos
|
|
10520
10578
|
)), b.event) {
|
|
10521
10579
|
case "CLICK":
|
|
10522
|
-
n(
|
|
10580
|
+
n(w);
|
|
10523
10581
|
break;
|
|
10524
10582
|
case "HOVER":
|
|
10525
|
-
a(
|
|
10583
|
+
a(w);
|
|
10526
10584
|
break;
|
|
10527
10585
|
case "DB_CLICK":
|
|
10528
|
-
s(
|
|
10586
|
+
s(w);
|
|
10529
10587
|
break;
|
|
10530
10588
|
}
|
|
10531
10589
|
} else
|
|
@@ -10533,7 +10591,7 @@ const Es = ({ position: r, rotation: e, id: t, color: i, masterId: n }) => (xe((
|
|
|
10533
10591
|
}), x)
|
|
10534
10592
|
return () => x.unsubscribe();
|
|
10535
10593
|
}, [r, e, n, s, a, h]), /* @__PURE__ */ v(Be.Fragment, { children: /* @__PURE__ */ oe(
|
|
10536
|
-
|
|
10594
|
+
Zt.Provider,
|
|
10537
10595
|
{
|
|
10538
10596
|
value: {
|
|
10539
10597
|
data: {
|
|
@@ -10571,19 +10629,19 @@ const Es = ({ position: r, rotation: e, id: t, color: i, masterId: n }) => (xe((
|
|
|
10571
10629
|
minHeight: c
|
|
10572
10630
|
},
|
|
10573
10631
|
children: [
|
|
10574
|
-
/* @__PURE__ */ v(
|
|
10575
|
-
p && /* @__PURE__ */ v(
|
|
10576
|
-
/* @__PURE__ */ v(
|
|
10577
|
-
/* @__PURE__ */ v(
|
|
10632
|
+
/* @__PURE__ */ v(Cs, { scene: e == null ? void 0 : e.scene }),
|
|
10633
|
+
p && /* @__PURE__ */ v(Fs, {}),
|
|
10634
|
+
/* @__PURE__ */ v(ms, {}),
|
|
10635
|
+
/* @__PURE__ */ v(ws, {})
|
|
10578
10636
|
]
|
|
10579
10637
|
}
|
|
10580
10638
|
),
|
|
10581
|
-
!window.AFRAME.utils.device.checkHeadsetConnected() && /* @__PURE__ */ v(
|
|
10639
|
+
!window.AFRAME.utils.device.checkHeadsetConnected() && /* @__PURE__ */ v(mn, {})
|
|
10582
10640
|
]
|
|
10583
10641
|
}
|
|
10584
10642
|
) });
|
|
10585
10643
|
};
|
|
10586
|
-
class
|
|
10644
|
+
class Bs {
|
|
10587
10645
|
constructor(e) {
|
|
10588
10646
|
Re(this, "model", null);
|
|
10589
10647
|
this.model = e;
|
|
@@ -10659,7 +10717,7 @@ class Os {
|
|
|
10659
10717
|
return e === "a-box" || e === "a-sphere" || e === "a-text" || e === "a-circle" || e === "a-text" ? e : "a-entity";
|
|
10660
10718
|
}
|
|
10661
10719
|
}
|
|
10662
|
-
class
|
|
10720
|
+
class Ys {
|
|
10663
10721
|
bannerTemplate(e, t, i) {
|
|
10664
10722
|
const n = {
|
|
10665
10723
|
x: e.positionX,
|
|
@@ -10844,23 +10902,23 @@ class _s {
|
|
|
10844
10902
|
};
|
|
10845
10903
|
}
|
|
10846
10904
|
}
|
|
10847
|
-
let
|
|
10848
|
-
function
|
|
10849
|
-
return
|
|
10905
|
+
let xn = [];
|
|
10906
|
+
function js(r) {
|
|
10907
|
+
return xn.filter((t) => t.id === r).length !== 0;
|
|
10850
10908
|
}
|
|
10851
10909
|
function Wr(r, e, t, i, n, s, a) {
|
|
10852
|
-
|
|
10853
|
-
const l = new
|
|
10854
|
-
let x, b, E,
|
|
10910
|
+
xn = gn.getBinsFromLocalStorage();
|
|
10911
|
+
const l = new Ys(), u = new Bs(e), h = new vn(a), c = {}, p = r;
|
|
10912
|
+
let x, b, E, C, d, w, S, O, _, g;
|
|
10855
10913
|
const W = "";
|
|
10856
|
-
let H,
|
|
10914
|
+
let H, A = 0;
|
|
10857
10915
|
const B = i + s > t.fXaxis.fXmax ? t.fXaxis.fXmax : i + s, re = n + s > t.fYaxis.fXmax ? t.fYaxis.fXmax : n + s, U = t.fXaxis.fTitle, I = t.fYaxis.fTitle, V = t.fXaxis.fLabels ? t.fXaxis.fLabels.arr : [], J = t.fYaxis.fLabels ? t.fYaxis.fLabels.arr : [];
|
|
10858
10916
|
for (let N = n; N <= re; N++)
|
|
10859
10917
|
for (let ue = i; ue <= B; ue++)
|
|
10860
|
-
if (b = t.fXaxis.GetBinCenter(ue), E = t.fXaxis.GetBinLowEdge(ue),
|
|
10861
|
-
const le = h.getBinColor(g), we = E + "th2" +
|
|
10862
|
-
let
|
|
10863
|
-
|
|
10918
|
+
if (b = t.fXaxis.GetBinCenter(ue), E = t.fXaxis.GetBinLowEdge(ue), C = b + (b - E), d = C - E, w = t.fYaxis.GetBinCenter(N), S = t.fYaxis.GetBinLowEdge(N), O = w + (w - S), _ = O - S, H = t.getBinContent(ue, N), g = Ns(H, t.fMaximum), x = g / 2, g > 0) {
|
|
10919
|
+
const le = h.getBinColor(g), we = E + "th2" + C + "th2" + S + "th2" + O;
|
|
10920
|
+
let Te;
|
|
10921
|
+
js(we) ? Te = h.getSecondaryAccentColor() : Te = le;
|
|
10864
10922
|
const Ie = `id: ${we};
|
|
10865
10923
|
content: ${g};
|
|
10866
10924
|
color: ${le};
|
|
@@ -10870,51 +10928,51 @@ function Wr(r, e, t, i, n, s, a) {
|
|
|
10870
10928
|
binName: ${W};
|
|
10871
10929
|
xMin: ${E};
|
|
10872
10930
|
yMin: ${S};
|
|
10873
|
-
xMax: ${
|
|
10874
|
-
yMax: ${
|
|
10931
|
+
xMax: ${C};
|
|
10932
|
+
yMax: ${O};
|
|
10875
10933
|
xCenter: ${b};
|
|
10876
|
-
yCenter: ${
|
|
10934
|
+
yCenter: ${w};
|
|
10877
10935
|
xWidth: ${d};
|
|
10878
|
-
yWidth: ${
|
|
10879
|
-
markedColor: ${
|
|
10936
|
+
yWidth: ${_};
|
|
10937
|
+
markedColor: ${Te};
|
|
10880
10938
|
selectColor: ${h.getSecondaryAccentColor()};
|
|
10881
10939
|
axisX: ${h.getAxisColor("x")};
|
|
10882
10940
|
axisY: ${h.getAxisColor("y")};
|
|
10883
10941
|
axisZ: ${h.getAxisColor("z")}`;
|
|
10884
|
-
c.id = we, c.positionX = E, c.positionY = x, c.positionZ = S, c.scaleX = d / 2, c.scaleY = g, c.scaleZ =
|
|
10942
|
+
c.id = we, c.positionX = E, c.positionY = x, c.positionZ = S, c.scaleX = d / 2, c.scaleY = g, c.scaleZ = _ / 2, c.color = Te, c.class = "clickable", c.data = Ie, e.bins.attributes[A] = l.binTemplate(c), u.updateElement(A, p, "bins", "a-box"), A++;
|
|
10885
10943
|
}
|
|
10886
|
-
u.deleteUnnecessaryElements(
|
|
10944
|
+
u.deleteUnnecessaryElements(A, ["bins"]), c.id = 1500 + A, c.positionX = B + 0.5, c.positionY = 0, c.positionZ = re + 0.5, c.rotationX = 270, c.rotationY = 360, c.rotationZ = 0, c.width = 2, c.height = 2, c.value = "0", c.color = h.getAxisColor("y"), e.normalXAxis.attributes[0] = l.axisTemplate(c), u.updateElement(0, p, "normalXAxis", "a-entity"), c.positionZ = n - 2.5, c.rotationX = 270, c.rotationY = 180, e.reversedYAxis.attributes[0] = l.axisTemplate(c), u.updateElement(0, p, "reversedYAxis", "a-entity"), c.positionX = i - 2.5, c.positionZ = re + 0.5, e.normalYAxis.attributes[0] = l.axisTemplate(c), u.updateElement(0, p, "normalYAxis", "a-entity"), c.positionZ = n - 2.5, c.rotationY = 180, e.reversedXAxis.attributes[0] = l.axisTemplate(c), u.updateElement(0, p, "reversedXAxis", "a-entity"), A = 1;
|
|
10887
10945
|
for (let N = n; N <= re; N++)
|
|
10888
|
-
c.id = 1500 +
|
|
10889
|
-
|
|
10946
|
+
c.id = 1500 + A, c.positionX = i - 2.5, c.positionY = 0, c.positionZ = N - 1, c.rotationX = 270, c.rotationY = 180, c.rotationZ = 0, c.width = 2, c.height = 1, c.value = `${J[N - 1] ? J[N - 1].fString : N - 1}`, c.color = h.getAxisColor("z"), e.normalYAxis.attributes[A] = l.axisTemplate(c), u.updateElement(A, p, "normalYAxis", "a-entity"), c.id = 4500 + A, c.positionX = B + 0.5, c.rotationY = 360, c.value = `${J[N - 1] ? J[N - 1].fString : N - 1}`, e.reversedYAxis.attributes[A] = l.axisTemplate(c), u.updateElement(
|
|
10947
|
+
A,
|
|
10890
10948
|
p,
|
|
10891
10949
|
"reversedYAxis",
|
|
10892
10950
|
"a-entity"
|
|
10893
|
-
),
|
|
10894
|
-
u.deleteUnnecessaryElements(
|
|
10951
|
+
), A++;
|
|
10952
|
+
u.deleteUnnecessaryElements(A, [
|
|
10895
10953
|
"normalYAxis",
|
|
10896
10954
|
"reversedYAxis"
|
|
10897
|
-
]),
|
|
10955
|
+
]), A = 1;
|
|
10898
10956
|
for (let N = i; N <= B; N++)
|
|
10899
|
-
c.id = 1500 +
|
|
10900
|
-
|
|
10957
|
+
c.id = 1500 + A, c.positionX = N - 1, c.positionY = 0, c.positionZ = n - 2.5, c.rotationX = 270, c.rotationY = 270, c.rotationZ = 0, c.width = 2, c.height = 1, c.value = `${V[N - 1] ? V[N - 1].fString : N - 1}`, c.color = h.getAxisColor("x"), e.normalXAxis.attributes[A] = l.axisTemplate(c), u.updateElement(A, p, "normalXAxis", "a-entity"), c.id = 4500 + A, c.positionZ = re + 0.5, c.rotationX = 270, c.rotationY = 90, c.value = `${V[N - 1] ? V[N - 1].fString : N - 1}`, e.reversedXAxis.attributes[A] = l.axisTemplate(c), u.updateElement(
|
|
10958
|
+
A,
|
|
10901
10959
|
p,
|
|
10902
10960
|
"reversedXAxis",
|
|
10903
10961
|
"a-entity"
|
|
10904
|
-
),
|
|
10905
|
-
u.deleteUnnecessaryElements(
|
|
10962
|
+
), A++;
|
|
10963
|
+
u.deleteUnnecessaryElements(A, [
|
|
10906
10964
|
"normalXAxis",
|
|
10907
10965
|
"reversedXAxis"
|
|
10908
10966
|
]), c.positionX = i, c.positionY = 0, c.positionZ = n - 4, c.rotationX = 270, c.rotationY = 180, c.rotationZ = 0, c.width = 4, c.height = 1, c.value = U, c.id = "downLabel", e.labels.attributes[0] = l.labelTemplate(c), u.updateElement(0, p, "labels", "a-entity"), c.positionX = B - 2.5, c.positionZ = re + 2, c.rotationY = 0, c.id = "upLabel", e.labels.attributes[1] = l.labelTemplate(c), u.updateElement(1, p, "labels", "a-entity"), c.positionX = i - 4, c.positionY = 0, c.positionZ = n + 0.5, c.rotationX = 270, c.rotationY = 270, c.rotationZ = 0, c.width = 4, c.height = 1, c.value = I, c.color = h.getAxisColor("z"), c.id = "leftLabel", e.labels.attributes[2] = l.labelTemplate(c), u.updateElement(2, p, "labels", "a-entity"), c.positionX = B + 2, c.positionZ = re - 2.5, c.rotationX = 270, c.rotationY = 90, c.id = "rightLabel", e.labels.attributes[3] = l.labelTemplate(c), u.updateElement(3, p, "labels", "a-entity"), c.positionX = i - 90, c.positionY = -6.5, c.positionZ = n + 90, c.rotationX = 0, c.rotationY = 123, c.rotationZ = 0, c.title = t.fTitle, c.color = h.getPrimaryFontColor();
|
|
10909
10967
|
const X = {};
|
|
10910
10968
|
X.positionX = 0, X.positionY = 0, X.positionZ = -1, X.width = 170, X.height = 30, X.color = "white", e.titles.attributes[0] = l.titleTemplate(c, X), u.updateElement(0, p, "titles", "a-entity"), c.positionX = i + 120, c.positionZ = n - 70, c.rotationY = 330, c.title = t.fName, e.titles.attributes[1] = l.titleTemplate(c, X), u.updateElement(1, p, "titles", "a-entity");
|
|
10911
10969
|
}
|
|
10912
|
-
const
|
|
10913
|
-
var
|
|
10914
|
-
class
|
|
10970
|
+
const Ns = (r, e) => r <= 0 ? 0 : (e > 1 && (r = Math.round((r / e + Number.EPSILON) * 100) / 100), r);
|
|
10971
|
+
var $r;
|
|
10972
|
+
class Ls {
|
|
10915
10973
|
constructor(e) {
|
|
10916
|
-
Y(this,
|
|
10917
|
-
F(this,
|
|
10974
|
+
Y(this, $r, void 0);
|
|
10975
|
+
F(this, $r, e);
|
|
10918
10976
|
}
|
|
10919
10977
|
createTH2DemoHistogram(e, t, i, n) {
|
|
10920
10978
|
const s = wi("TH2I", e, t);
|
|
@@ -10945,8 +11003,8 @@ class zs {
|
|
|
10945
11003
|
return a.fXaxis.fTitle = "x Axis", a.fYaxis.fTitle = "y Axis", a.fZaxis.fTitle = "z Axis", a.fName = "You don't have a valid file path", a.fTitle = "This is a TH3 histogram demo", a.fMaximum = l, a;
|
|
10946
11004
|
}
|
|
10947
11005
|
}
|
|
10948
|
-
|
|
10949
|
-
const
|
|
11006
|
+
$r = new WeakMap();
|
|
11007
|
+
const fa = Le.registerComponent("th2-histogram", {
|
|
10950
11008
|
schema: {
|
|
10951
11009
|
section: { type: "string" },
|
|
10952
11010
|
filename: { type: "string" },
|
|
@@ -10972,7 +11030,7 @@ const ia = Le.registerComponent("th2-histogram", {
|
|
|
10972
11030
|
},
|
|
10973
11031
|
init: function() {
|
|
10974
11032
|
const r = this.el;
|
|
10975
|
-
|
|
11033
|
+
yn(this.schema, r), document.addEventListener("keydown", ni), document.addEventListener("keyup", oi), this.demoHistogramService = new Ls(), this.localStorageService = new di(), this.cameraService = new ur(), this.render = !1, this.histogram = null, this.model = {
|
|
10976
11034
|
bins: {
|
|
10977
11035
|
elements: [],
|
|
10978
11036
|
attributes: []
|
|
@@ -11023,10 +11081,10 @@ const ia = Le.registerComponent("th2-histogram", {
|
|
|
11023
11081
|
i.range
|
|
11024
11082
|
), e(i);
|
|
11025
11083
|
};
|
|
11026
|
-
this.subscription =
|
|
11084
|
+
this.subscription = _e.getChangedSection().subscribe(t);
|
|
11027
11085
|
},
|
|
11028
11086
|
update: function() {
|
|
11029
|
-
|
|
11087
|
+
bn(), this.section = JSON.parse(this.data.section), Vn(this.data.filename).then((r) => r.readObject("hUsersVsProjects")).then((r) => {
|
|
11030
11088
|
this.localStorageService.initHistogramData(r), this.histogram = r, Wr(
|
|
11031
11089
|
this.el,
|
|
11032
11090
|
this.model,
|
|
@@ -11059,7 +11117,7 @@ const ia = Le.registerComponent("th2-histogram", {
|
|
|
11059
11117
|
remove: function() {
|
|
11060
11118
|
this.subscription.unsubscribe(), document.removeEventListener("keydown", ni), document.removeEventListener("keyup", oi);
|
|
11061
11119
|
}
|
|
11062
|
-
}),
|
|
11120
|
+
}), pa = Le.registerComponent("banner-control", {
|
|
11063
11121
|
schema: {
|
|
11064
11122
|
position: {
|
|
11065
11123
|
name: "position",
|
|
@@ -11083,9 +11141,9 @@ const ia = Le.registerComponent("th2-histogram", {
|
|
|
11083
11141
|
init: function() {
|
|
11084
11142
|
}
|
|
11085
11143
|
});
|
|
11086
|
-
new
|
|
11087
|
-
const
|
|
11088
|
-
r.detail.y > 0.95 && (
|
|
11144
|
+
new ur();
|
|
11145
|
+
const Vs = (r) => {
|
|
11146
|
+
r.detail.y > 0.95 && (_e.changeHistogramSectionByOffset(
|
|
11089
11147
|
"yOffset",
|
|
11090
11148
|
"TH2",
|
|
11091
11149
|
!1,
|
|
@@ -11095,7 +11153,7 @@ const $s = (r) => {
|
|
|
11095
11153
|
"TH3",
|
|
11096
11154
|
!1,
|
|
11097
11155
|
!1
|
|
11098
|
-
)), r.detail.y < -0.95 && (
|
|
11156
|
+
)), r.detail.y < -0.95 && (_e.changeHistogramSectionByOffset(
|
|
11099
11157
|
"yOffset",
|
|
11100
11158
|
"TH2",
|
|
11101
11159
|
!0,
|
|
@@ -11110,7 +11168,7 @@ const $s = (r) => {
|
|
|
11110
11168
|
"TH1",
|
|
11111
11169
|
!0,
|
|
11112
11170
|
!1
|
|
11113
|
-
),
|
|
11171
|
+
), _e.changeHistogramSectionByOffset(
|
|
11114
11172
|
"xOffset",
|
|
11115
11173
|
"TH2",
|
|
11116
11174
|
!0,
|
|
@@ -11125,7 +11183,7 @@ const $s = (r) => {
|
|
|
11125
11183
|
"TH1",
|
|
11126
11184
|
!1,
|
|
11127
11185
|
!1
|
|
11128
|
-
),
|
|
11186
|
+
), _e.changeHistogramSectionByOffset(
|
|
11129
11187
|
"xOffset",
|
|
11130
11188
|
"TH2",
|
|
11131
11189
|
!1,
|
|
@@ -11136,8 +11194,8 @@ const $s = (r) => {
|
|
|
11136
11194
|
!1,
|
|
11137
11195
|
!1
|
|
11138
11196
|
));
|
|
11139
|
-
},
|
|
11140
|
-
r.detail.y > 0.95 && (
|
|
11197
|
+
}, Xs = (r) => {
|
|
11198
|
+
r.detail.y > 0.95 && (_e.changeHistogramSectionByOffset(
|
|
11141
11199
|
"yOffset",
|
|
11142
11200
|
"TH2",
|
|
11143
11201
|
!1,
|
|
@@ -11147,7 +11205,7 @@ const $s = (r) => {
|
|
|
11147
11205
|
"TH3",
|
|
11148
11206
|
!1,
|
|
11149
11207
|
!0
|
|
11150
|
-
)), r.detail.y < -0.95 && (
|
|
11208
|
+
)), r.detail.y < -0.95 && (_e.changeHistogramSectionByOffset(
|
|
11151
11209
|
"yOffset",
|
|
11152
11210
|
"TH2",
|
|
11153
11211
|
!0,
|
|
@@ -11162,7 +11220,7 @@ const $s = (r) => {
|
|
|
11162
11220
|
"TH1",
|
|
11163
11221
|
!0,
|
|
11164
11222
|
!0
|
|
11165
|
-
),
|
|
11223
|
+
), _e.changeHistogramSectionByOffset(
|
|
11166
11224
|
"xOffset",
|
|
11167
11225
|
"TH2",
|
|
11168
11226
|
!0,
|
|
@@ -11177,7 +11235,7 @@ const $s = (r) => {
|
|
|
11177
11235
|
"TH1",
|
|
11178
11236
|
!1,
|
|
11179
11237
|
!0
|
|
11180
|
-
),
|
|
11238
|
+
), _e.changeHistogramSectionByOffset(
|
|
11181
11239
|
"xOffset",
|
|
11182
11240
|
"TH2",
|
|
11183
11241
|
!1,
|
|
@@ -11188,60 +11246,60 @@ const $s = (r) => {
|
|
|
11188
11246
|
!1,
|
|
11189
11247
|
!0
|
|
11190
11248
|
));
|
|
11191
|
-
},
|
|
11249
|
+
}, Ws = (r) => {
|
|
11192
11250
|
r.detail.y > 0 && Se.next({
|
|
11193
11251
|
scale: -0.1
|
|
11194
11252
|
}), r.detail.y < 0 && Se.next({
|
|
11195
11253
|
scale: 0.1
|
|
11196
11254
|
});
|
|
11197
|
-
},
|
|
11255
|
+
}, Us = (r) => {
|
|
11198
11256
|
r.detail.y > 0 ? Se.next({ source: "next" }) : r.detail.y < 0 && Se.next({ source: "prev" });
|
|
11199
|
-
},
|
|
11257
|
+
}, Zs = (r) => {
|
|
11200
11258
|
r.detail.y > 0 ? Se.next({ theme: "next" }) : r.detail.y < 0 && Se.next({ theme: "prev" });
|
|
11201
|
-
},
|
|
11259
|
+
}, Gs = (r) => {
|
|
11202
11260
|
r.detail.y > 0 ? Se.next({ range: "next" }) : r.detail.y < 0 && Se.next({ range: "prev" });
|
|
11203
|
-
},
|
|
11261
|
+
}, Ks = (r) => {
|
|
11204
11262
|
r.detail.y > 0 ? Se.next({ scene: "next" }) : r.detail.y < 0 && Se.next({ scene: "prev" });
|
|
11205
|
-
},
|
|
11263
|
+
}, Ji = (r) => {
|
|
11206
11264
|
r === "Y" ? Se.next({ tool: "next" }) : Se.next({ tool: "prev" });
|
|
11207
|
-
},
|
|
11265
|
+
}, Qi = (r) => {
|
|
11208
11266
|
De.changeHistogramSectionByOffset(
|
|
11209
11267
|
"zOffset",
|
|
11210
11268
|
"TH3",
|
|
11211
11269
|
!0,
|
|
11212
11270
|
r
|
|
11213
11271
|
);
|
|
11214
|
-
},
|
|
11272
|
+
}, en = (r) => {
|
|
11215
11273
|
De.changeHistogramSectionByOffset(
|
|
11216
11274
|
"zOffset",
|
|
11217
11275
|
"TH3",
|
|
11218
11276
|
!1,
|
|
11219
11277
|
r
|
|
11220
11278
|
);
|
|
11221
|
-
},
|
|
11222
|
-
new
|
|
11223
|
-
}, js = (r) => {
|
|
11224
|
-
$s(r);
|
|
11225
|
-
}, Ns = (r) => {
|
|
11226
|
-
Ms(r);
|
|
11227
|
-
}, Ls = () => {
|
|
11228
|
-
Cr.saveSelectedBinToLocalStorage(), At() === 0 && Se.next({ binData: Cr });
|
|
11229
|
-
}, Vs = () => {
|
|
11230
|
-
Cr.deleteBinFromLocalStorage();
|
|
11231
|
-
}, Xs = () => {
|
|
11232
|
-
Oe.changeHistogramFunction("feet", "TH2");
|
|
11233
|
-
}, Ws = () => {
|
|
11234
|
-
Oe.changeHistogramFunction("default", "TH2");
|
|
11235
|
-
}, Us = () => {
|
|
11236
|
-
_t.setVisibilityOfBanners("oculus");
|
|
11237
|
-
}, Zs = () => {
|
|
11238
|
-
_t.setUserState();
|
|
11239
|
-
}, Gs = () => {
|
|
11240
|
-
_t.shiftBanners();
|
|
11279
|
+
}, Sn = () => {
|
|
11280
|
+
new ur();
|
|
11241
11281
|
}, qs = (r) => {
|
|
11282
|
+
Vs(r);
|
|
11283
|
+
}, Js = (r) => {
|
|
11284
|
+
Xs(r);
|
|
11285
|
+
}, Qs = () => {
|
|
11286
|
+
Tr.saveSelectedBinToLocalStorage(), kt() === 0 && Se.next({ binData: Tr });
|
|
11287
|
+
}, ea = () => {
|
|
11288
|
+
Tr.deleteBinFromLocalStorage();
|
|
11289
|
+
}, ta = () => {
|
|
11290
|
+
_e.changeHistogramFunction("feet", "TH2");
|
|
11291
|
+
}, ra = () => {
|
|
11292
|
+
_e.changeHistogramFunction("default", "TH2");
|
|
11293
|
+
}, ia = () => {
|
|
11294
|
+
Ot.setVisibilityOfBanners("oculus");
|
|
11295
|
+
}, na = () => {
|
|
11296
|
+
Ot.setUserState();
|
|
11297
|
+
}, oa = () => {
|
|
11298
|
+
Ot.shiftBanners();
|
|
11299
|
+
}, sa = (r) => {
|
|
11242
11300
|
r.forEach((e) => {
|
|
11243
11301
|
});
|
|
11244
|
-
},
|
|
11302
|
+
}, ma = Le.registerComponent("left-controller-logging", {
|
|
11245
11303
|
init: function() {
|
|
11246
11304
|
let r = !1, e = !0, t = !1;
|
|
11247
11305
|
const i = this.el;
|
|
@@ -11251,43 +11309,43 @@ const $s = (r) => {
|
|
|
11251
11309
|
r = !1;
|
|
11252
11310
|
}), i.addEventListener("thumbstickdown", () => {
|
|
11253
11311
|
}), i.addEventListener("thumbstickmoved", (n) => {
|
|
11254
|
-
if (r &&
|
|
11255
|
-
|
|
11256
|
-
else if (r &&
|
|
11312
|
+
if (r && kt() === 2)
|
|
11313
|
+
Ws(n);
|
|
11314
|
+
else if (r && kt() === 3) {
|
|
11257
11315
|
if (e) {
|
|
11258
|
-
e = !1,
|
|
11316
|
+
e = !1, Us(n);
|
|
11259
11317
|
const s = setTimeout(() => {
|
|
11260
11318
|
e = !0;
|
|
11261
11319
|
}, 200);
|
|
11262
11320
|
return () => clearTimeout(s);
|
|
11263
11321
|
}
|
|
11264
|
-
} else if (r &&
|
|
11322
|
+
} else if (r && kt() === 4) {
|
|
11265
11323
|
if (e) {
|
|
11266
|
-
e = !1,
|
|
11324
|
+
e = !1, Zs(n);
|
|
11267
11325
|
const s = setTimeout(() => {
|
|
11268
11326
|
e = !0;
|
|
11269
11327
|
}, 200);
|
|
11270
11328
|
return () => clearTimeout(s);
|
|
11271
11329
|
}
|
|
11272
|
-
} else if (r &&
|
|
11330
|
+
} else if (r && kt() === 5) {
|
|
11273
11331
|
if (e) {
|
|
11274
|
-
e = !1,
|
|
11332
|
+
e = !1, Gs(n);
|
|
11275
11333
|
const s = setTimeout(() => {
|
|
11276
11334
|
e = !0;
|
|
11277
11335
|
}, 200);
|
|
11278
11336
|
return () => clearTimeout(s);
|
|
11279
11337
|
}
|
|
11280
|
-
} else if (r &&
|
|
11281
|
-
e = !1,
|
|
11338
|
+
} else if (r && kt() === 6 && e) {
|
|
11339
|
+
e = !1, Ks(n);
|
|
11282
11340
|
const s = setTimeout(() => {
|
|
11283
11341
|
e = !0;
|
|
11284
11342
|
}, 200);
|
|
11285
11343
|
return () => clearTimeout(s);
|
|
11286
11344
|
}
|
|
11287
11345
|
}), i.addEventListener("ybuttondown", () => {
|
|
11288
|
-
r ? t || (t = !0,
|
|
11346
|
+
r ? t || (t = !0, Ji("Y")) : ia();
|
|
11289
11347
|
}), i.addEventListener("xbuttondown", () => {
|
|
11290
|
-
r ? t || (t = !0,
|
|
11348
|
+
r ? t || (t = !0, Ji("X")) : na();
|
|
11291
11349
|
}), i.addEventListener("ybuttonup", () => {
|
|
11292
11350
|
t = !1;
|
|
11293
11351
|
}), i.addEventListener("xbuttonup", () => {
|
|
@@ -11295,9 +11353,9 @@ const $s = (r) => {
|
|
|
11295
11353
|
});
|
|
11296
11354
|
},
|
|
11297
11355
|
update: function() {
|
|
11298
|
-
|
|
11356
|
+
Sn();
|
|
11299
11357
|
}
|
|
11300
|
-
}),
|
|
11358
|
+
}), ga = Le.registerComponent("right-controller-logging", {
|
|
11301
11359
|
init: function() {
|
|
11302
11360
|
let r = !1;
|
|
11303
11361
|
const e = this.el;
|
|
@@ -11306,23 +11364,23 @@ const $s = (r) => {
|
|
|
11306
11364
|
}), e.addEventListener("gripup", () => {
|
|
11307
11365
|
r = !1;
|
|
11308
11366
|
}), e.addEventListener("thumbstickmoved", (t) => {
|
|
11309
|
-
r ?
|
|
11367
|
+
r ? qs(t) : Js(t);
|
|
11310
11368
|
}), e.addEventListener("bbuttondown", () => {
|
|
11311
|
-
|
|
11369
|
+
Qi(!r);
|
|
11312
11370
|
}), e.addEventListener("abuttondown", () => {
|
|
11313
|
-
|
|
11371
|
+
en(!r);
|
|
11314
11372
|
}), e.addEventListener("thumbstickdown", () => {
|
|
11315
|
-
r ?
|
|
11373
|
+
r ? ta() : ra();
|
|
11316
11374
|
}), e.addEventListener("triggerdown", () => {
|
|
11317
|
-
r ? (
|
|
11375
|
+
r ? (Qs(), sa()) : (ea(), oa());
|
|
11318
11376
|
});
|
|
11319
11377
|
},
|
|
11320
11378
|
update: function() {
|
|
11321
|
-
|
|
11379
|
+
Sn();
|
|
11322
11380
|
}
|
|
11323
11381
|
});
|
|
11324
11382
|
var Ut;
|
|
11325
|
-
class
|
|
11383
|
+
class aa {
|
|
11326
11384
|
constructor() {
|
|
11327
11385
|
Y(this, Ut, void 0);
|
|
11328
11386
|
F(this, Ut, new wt());
|
|
@@ -11335,7 +11393,7 @@ class Ks {
|
|
|
11335
11393
|
}
|
|
11336
11394
|
}
|
|
11337
11395
|
Ut = new WeakMap();
|
|
11338
|
-
const
|
|
11396
|
+
const ya = new aa(), ba = Le.registerComponent("oculus-thumbstick-movement-controller", {
|
|
11339
11397
|
schema: {
|
|
11340
11398
|
acceleration: { type: "number", default: -40 },
|
|
11341
11399
|
fly: { type: "boolean", default: !1 },
|
|
@@ -11367,7 +11425,7 @@ const aa = new Ks(), la = Le.registerComponent("oculus-thumbstick-movement-contr
|
|
|
11367
11425
|
}), r.addEventListener("gripup", () => {
|
|
11368
11426
|
e = !1;
|
|
11369
11427
|
}), r.addEventListener("thumbstickmoved", (t) => {
|
|
11370
|
-
e &&
|
|
11428
|
+
e && kt() > 1 ? this.tsData.set(0, 0) : this.thumbstickMoved(t);
|
|
11371
11429
|
});
|
|
11372
11430
|
},
|
|
11373
11431
|
update: function() {
|
|
@@ -11400,14 +11458,14 @@ const aa = new Ks(), la = Le.registerComponent("oculus-thumbstick-movement-contr
|
|
|
11400
11458
|
remove: function() {
|
|
11401
11459
|
this.el.removeEventListener("thumbstickmoved", this.thumbstickMoved);
|
|
11402
11460
|
}
|
|
11403
|
-
}),
|
|
11461
|
+
}), va = new di();
|
|
11404
11462
|
export {
|
|
11405
|
-
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11463
|
+
pa as Banner,
|
|
11464
|
+
fa as HistogramTH2,
|
|
11465
|
+
ma as LeftController,
|
|
11466
|
+
ha as NdmVrScene,
|
|
11467
|
+
ga as RightController,
|
|
11468
|
+
ba as ThumbsticController,
|
|
11469
|
+
va as ndmVrStorage,
|
|
11470
|
+
ya as sourceSettingSubject
|
|
11413
11471
|
};
|