@wandelbots/wandelbots-js-react-components 1.12.1 → 1.12.2
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +241 -241
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/icons/orientation-tool.svg +1 -1
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import Li, { useRef as Wt, useState as eo, useEffect as pt, useCallback as jc, S
|
|
|
3
3
|
import Ac, { useMonaco as Pc } from "@monaco-editor/react";
|
|
4
4
|
import { createHighlighter as Oc } from "shiki";
|
|
5
5
|
import { shikiToMonaco as Tc } from "@shikijs/monaco";
|
|
6
|
-
import { useTheme as va, Button as Fn, Typography as gt, IconButton as Xa, Slider as Ec, Stack as he, InputLabel as Jr, Select as
|
|
6
|
+
import { useTheme as va, Button as Fn, Typography as gt, IconButton as Xa, Slider as Ec, Stack as he, InputLabel as Jr, Select as Mo, MenuItem as gn, ToggleButtonGroup as ki, ToggleButton as Dn, Chip as Mc, CircularProgress as Ic, Tabs as Lc, Tab as kc, Paper as $c, Dialog as Nc, DialogTitle as Fc, DialogContent as Dc, DialogActions as Uc } from "@mui/material";
|
|
7
7
|
import { initReactI18next as Bc, I18nextProvider as Jc, useTranslation as xr } from "react-i18next";
|
|
8
8
|
import Vc from "i18next-browser-languagedetector";
|
|
9
9
|
import { Globals as zc, useSpring as Gc, animated as v } from "@react-spring/three";
|
|
@@ -86,16 +86,16 @@ function du() {
|
|
|
86
86
|
var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
87
87
|
function R(p) {
|
|
88
88
|
{
|
|
89
|
-
for (var w = arguments.length,
|
|
90
|
-
|
|
91
|
-
C("error", p,
|
|
89
|
+
for (var w = arguments.length, M = new Array(w > 1 ? w - 1 : 0), k = 1; k < w; k++)
|
|
90
|
+
M[k - 1] = arguments[k];
|
|
91
|
+
C("error", p, M);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function C(p, w,
|
|
94
|
+
function C(p, w, M) {
|
|
95
95
|
{
|
|
96
96
|
var k = S.ReactDebugCurrentFrame, D = k.getStackAddendum();
|
|
97
|
-
D !== "" && (w += "%s",
|
|
98
|
-
var ee =
|
|
97
|
+
D !== "" && (w += "%s", M = M.concat([D]));
|
|
98
|
+
var ee = M.map(function(J) {
|
|
99
99
|
return String(J);
|
|
100
100
|
});
|
|
101
101
|
ee.unshift("Warning: " + w), Function.prototype.apply.call(console[p], console, ee);
|
|
@@ -110,12 +110,12 @@ function du() {
|
|
|
110
110
|
// with.
|
|
111
111
|
p.$$typeof === ae || p.getModuleId !== void 0));
|
|
112
112
|
}
|
|
113
|
-
function F(p, w,
|
|
113
|
+
function F(p, w, M) {
|
|
114
114
|
var k = p.displayName;
|
|
115
115
|
if (k)
|
|
116
116
|
return k;
|
|
117
117
|
var D = w.displayName || w.name || "";
|
|
118
|
-
return D !== "" ?
|
|
118
|
+
return D !== "" ? M + "(" + D + ")" : M;
|
|
119
119
|
}
|
|
120
120
|
function K(p) {
|
|
121
121
|
return p.displayName || "Context";
|
|
@@ -147,8 +147,8 @@ function du() {
|
|
|
147
147
|
var w = p;
|
|
148
148
|
return K(w) + ".Consumer";
|
|
149
149
|
case i:
|
|
150
|
-
var
|
|
151
|
-
return K(
|
|
150
|
+
var M = p;
|
|
151
|
+
return K(M._context) + ".Provider";
|
|
152
152
|
case c:
|
|
153
153
|
return F(p, p.render, "ForwardRef");
|
|
154
154
|
case h:
|
|
@@ -165,14 +165,14 @@ function du() {
|
|
|
165
165
|
}
|
|
166
166
|
return null;
|
|
167
167
|
}
|
|
168
|
-
var X = Object.assign, H = 0, Se, se, Y, Ce,
|
|
168
|
+
var X = Object.assign, H = 0, Se, se, Y, Ce, Me, rt, xt;
|
|
169
169
|
function We() {
|
|
170
170
|
}
|
|
171
171
|
We.__reactDisabledLog = !0;
|
|
172
172
|
function we() {
|
|
173
173
|
{
|
|
174
174
|
if (H === 0) {
|
|
175
|
-
Se = console.log, se = console.info, Y = console.warn, Ce = console.error,
|
|
175
|
+
Se = console.log, se = console.info, Y = console.warn, Ce = console.error, Me = console.group, rt = console.groupCollapsed, xt = console.groupEnd;
|
|
176
176
|
var p = {
|
|
177
177
|
configurable: !0,
|
|
178
178
|
enumerable: !0,
|
|
@@ -214,7 +214,7 @@ function du() {
|
|
|
214
214
|
value: Ce
|
|
215
215
|
}),
|
|
216
216
|
group: X({}, p, {
|
|
217
|
-
value:
|
|
217
|
+
value: Me
|
|
218
218
|
}),
|
|
219
219
|
groupCollapsed: X({}, p, {
|
|
220
220
|
value: rt
|
|
@@ -228,7 +228,7 @@ function du() {
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
var it = S.ReactCurrentDispatcher, He;
|
|
231
|
-
function Ue(p, w,
|
|
231
|
+
function Ue(p, w, M) {
|
|
232
232
|
{
|
|
233
233
|
if (He === void 0)
|
|
234
234
|
try {
|
|
@@ -250,9 +250,9 @@ function du() {
|
|
|
250
250
|
if (!p || lt)
|
|
251
251
|
return "";
|
|
252
252
|
{
|
|
253
|
-
var
|
|
254
|
-
if (
|
|
255
|
-
return
|
|
253
|
+
var M = ct.get(p);
|
|
254
|
+
if (M !== void 0)
|
|
255
|
+
return M;
|
|
256
256
|
}
|
|
257
257
|
var k;
|
|
258
258
|
lt = !0;
|
|
@@ -317,14 +317,14 @@ function du() {
|
|
|
317
317
|
var sr = p ? p.displayName || p.name : "", Jt = sr ? Ue(sr) : "";
|
|
318
318
|
return typeof p == "function" && ct.set(p, Jt), Jt;
|
|
319
319
|
}
|
|
320
|
-
function Be(p, w,
|
|
320
|
+
function Be(p, w, M) {
|
|
321
321
|
return vt(p, !1);
|
|
322
322
|
}
|
|
323
323
|
function E(p) {
|
|
324
324
|
var w = p.prototype;
|
|
325
325
|
return !!(w && w.isReactComponent);
|
|
326
326
|
}
|
|
327
|
-
function Z(p, w,
|
|
327
|
+
function Z(p, w, M) {
|
|
328
328
|
if (p == null)
|
|
329
329
|
return "";
|
|
330
330
|
if (typeof p == "function")
|
|
@@ -342,26 +342,26 @@ function du() {
|
|
|
342
342
|
case c:
|
|
343
343
|
return Be(p.render);
|
|
344
344
|
case h:
|
|
345
|
-
return Z(p.type, w,
|
|
345
|
+
return Z(p.type, w, M);
|
|
346
346
|
case f: {
|
|
347
347
|
var k = p, D = k._payload, ee = k._init;
|
|
348
348
|
try {
|
|
349
|
-
return Z(ee(D), w,
|
|
349
|
+
return Z(ee(D), w, M);
|
|
350
350
|
} catch {
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
return "";
|
|
355
355
|
}
|
|
356
|
-
var ue = Object.prototype.hasOwnProperty,
|
|
356
|
+
var ue = Object.prototype.hasOwnProperty, Ie = {}, Le = S.ReactDebugCurrentFrame;
|
|
357
357
|
function Tt(p) {
|
|
358
358
|
if (p) {
|
|
359
|
-
var w = p._owner,
|
|
360
|
-
Le.setExtraStackFrame(
|
|
359
|
+
var w = p._owner, M = Z(p.type, p._source, w ? w.type : null);
|
|
360
|
+
Le.setExtraStackFrame(M);
|
|
361
361
|
} else
|
|
362
362
|
Le.setExtraStackFrame(null);
|
|
363
363
|
}
|
|
364
|
-
function Re(p, w,
|
|
364
|
+
function Re(p, w, M, k, D) {
|
|
365
365
|
{
|
|
366
366
|
var ee = Function.call.bind(ue);
|
|
367
367
|
for (var J in p)
|
|
@@ -369,14 +369,14 @@ function du() {
|
|
|
369
369
|
var U = void 0;
|
|
370
370
|
try {
|
|
371
371
|
if (typeof p[J] != "function") {
|
|
372
|
-
var Ee = Error((k || "React class") + ": " +
|
|
372
|
+
var Ee = Error((k || "React class") + ": " + M + " type `" + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[J] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
373
373
|
throw Ee.name = "Invariant Violation", Ee;
|
|
374
374
|
}
|
|
375
|
-
U = p[J](w, J, k,
|
|
375
|
+
U = p[J](w, J, k, M, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
376
376
|
} catch (me) {
|
|
377
377
|
U = me;
|
|
378
378
|
}
|
|
379
|
-
U && !(U instanceof Error) && (Tt(D), R("%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).", k || "React class",
|
|
379
|
+
U && !(U instanceof Error) && (Tt(D), R("%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).", k || "React class", M, J, typeof U), Tt(null)), U instanceof Error && !(U.message in Ie) && (Ie[U.message] = !0, Tt(D), R("Failed %s type: %s", M, U.message), Tt(null));
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
}
|
|
@@ -386,8 +386,8 @@ function du() {
|
|
|
386
386
|
}
|
|
387
387
|
function Cr(p) {
|
|
388
388
|
{
|
|
389
|
-
var w = typeof Symbol == "function" && Symbol.toStringTag,
|
|
390
|
-
return
|
|
389
|
+
var w = typeof Symbol == "function" && Symbol.toStringTag, M = w && p[Symbol.toStringTag] || p.constructor.name || "Object";
|
|
390
|
+
return M;
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
function Ar(p) {
|
|
@@ -409,7 +409,7 @@ function du() {
|
|
|
409
409
|
ref: !0,
|
|
410
410
|
__self: !0,
|
|
411
411
|
__source: !0
|
|
412
|
-
},
|
|
412
|
+
}, I, N, G;
|
|
413
413
|
G = {};
|
|
414
414
|
function q(p) {
|
|
415
415
|
if (ue.call(p, "ref")) {
|
|
@@ -429,40 +429,40 @@ function du() {
|
|
|
429
429
|
}
|
|
430
430
|
function Je(p, w) {
|
|
431
431
|
if (typeof p.ref == "string" && nt.current && w && nt.current.stateNode !== w) {
|
|
432
|
-
var
|
|
433
|
-
G[
|
|
432
|
+
var M = V(nt.current.type);
|
|
433
|
+
G[M] || (R('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(nt.current.type), p.ref), G[M] = !0);
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
function Ke(p, w) {
|
|
437
437
|
{
|
|
438
|
-
var
|
|
439
|
-
|
|
438
|
+
var M = function() {
|
|
439
|
+
I || (I = !0, R("%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)", w));
|
|
440
440
|
};
|
|
441
|
-
|
|
442
|
-
get:
|
|
441
|
+
M.isReactWarning = !0, Object.defineProperty(p, "key", {
|
|
442
|
+
get: M,
|
|
443
443
|
configurable: !0
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
function Q(p, w) {
|
|
448
448
|
{
|
|
449
|
-
var
|
|
449
|
+
var M = function() {
|
|
450
450
|
N || (N = !0, R("%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)", w));
|
|
451
451
|
};
|
|
452
|
-
|
|
453
|
-
get:
|
|
452
|
+
M.isReactWarning = !0, Object.defineProperty(p, "ref", {
|
|
453
|
+
get: M,
|
|
454
454
|
configurable: !0
|
|
455
455
|
});
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
|
-
var ke = function(p, w,
|
|
458
|
+
var ke = function(p, w, M, k, D, ee, J) {
|
|
459
459
|
var U = {
|
|
460
460
|
// This tag allows us to uniquely identify this as a React Element
|
|
461
461
|
$$typeof: t,
|
|
462
462
|
// Built-in properties that belong on the element
|
|
463
463
|
type: p,
|
|
464
464
|
key: w,
|
|
465
|
-
ref:
|
|
465
|
+
ref: M,
|
|
466
466
|
props: J,
|
|
467
467
|
// Record the component responsible for creating this element.
|
|
468
468
|
_owner: ee
|
|
@@ -484,10 +484,10 @@ function du() {
|
|
|
484
484
|
value: D
|
|
485
485
|
}), Object.freeze && (Object.freeze(U.props), Object.freeze(U)), U;
|
|
486
486
|
};
|
|
487
|
-
function
|
|
487
|
+
function Mt(p, w, M, k, D) {
|
|
488
488
|
{
|
|
489
489
|
var ee, J = {}, U = null, Ee = null;
|
|
490
|
-
|
|
490
|
+
M !== void 0 && (rr(M), U = "" + M), W(w) && (rr(w.key), U = "" + w.key), q(w) && (Ee = w.ref, Je(w, D));
|
|
491
491
|
for (ee in w)
|
|
492
492
|
ue.call(w, ee) && !T.hasOwnProperty(ee) && (J[ee] = w[ee]);
|
|
493
493
|
if (p && p.defaultProps) {
|
|
@@ -505,8 +505,8 @@ function du() {
|
|
|
505
505
|
var nr = S.ReactCurrentOwner, Or = S.ReactDebugCurrentFrame;
|
|
506
506
|
function St(p) {
|
|
507
507
|
if (p) {
|
|
508
|
-
var w = p._owner,
|
|
509
|
-
Or.setExtraStackFrame(
|
|
508
|
+
var w = p._owner, M = Z(p.type, p._source, w ? w.type : null);
|
|
509
|
+
Or.setExtraStackFrame(M);
|
|
510
510
|
} else
|
|
511
511
|
Or.setExtraStackFrame(null);
|
|
512
512
|
}
|
|
@@ -531,14 +531,14 @@ Check the render method of \`` + p + "`.";
|
|
|
531
531
|
return "";
|
|
532
532
|
}
|
|
533
533
|
var hn = {};
|
|
534
|
-
function
|
|
534
|
+
function Mr(p) {
|
|
535
535
|
{
|
|
536
536
|
var w = Tr();
|
|
537
537
|
if (!w) {
|
|
538
|
-
var
|
|
539
|
-
|
|
538
|
+
var M = typeof p == "string" ? p : p.displayName || p.name;
|
|
539
|
+
M && (w = `
|
|
540
540
|
|
|
541
|
-
Check the top-level render call using <` +
|
|
541
|
+
Check the top-level render call using <` + M + ">.");
|
|
542
542
|
}
|
|
543
543
|
return w;
|
|
544
544
|
}
|
|
@@ -548,12 +548,12 @@ Check the top-level render call using <` + I + ">.");
|
|
|
548
548
|
if (!p._store || p._store.validated || p.key != null)
|
|
549
549
|
return;
|
|
550
550
|
p._store.validated = !0;
|
|
551
|
-
var
|
|
552
|
-
if (hn[
|
|
551
|
+
var M = Mr(w);
|
|
552
|
+
if (hn[M])
|
|
553
553
|
return;
|
|
554
|
-
hn[
|
|
554
|
+
hn[M] = !0;
|
|
555
555
|
var k = "";
|
|
556
|
-
p && p._owner && p._owner !== nr.current && (k = " It was passed a child from " + V(p._owner.type) + "."), St(p), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
556
|
+
p && p._owner && p._owner !== nr.current && (k = " It was passed a child from " + V(p._owner.type) + "."), St(p), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, k), St(null);
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
function ar(p, w) {
|
|
@@ -561,8 +561,8 @@ Check the top-level render call using <` + I + ">.");
|
|
|
561
561
|
if (typeof p != "object")
|
|
562
562
|
return;
|
|
563
563
|
if (Dt(p))
|
|
564
|
-
for (var
|
|
565
|
-
var k = p[
|
|
564
|
+
for (var M = 0; M < p.length; M++) {
|
|
565
|
+
var k = p[M];
|
|
566
566
|
Bt(k) && or(k, w);
|
|
567
567
|
}
|
|
568
568
|
else if (Bt(p))
|
|
@@ -580,18 +580,18 @@ Check the top-level render call using <` + I + ">.");
|
|
|
580
580
|
var w = p.type;
|
|
581
581
|
if (w == null || typeof w == "string")
|
|
582
582
|
return;
|
|
583
|
-
var
|
|
583
|
+
var M;
|
|
584
584
|
if (typeof w == "function")
|
|
585
|
-
|
|
585
|
+
M = w.propTypes;
|
|
586
586
|
else if (typeof w == "object" && (w.$$typeof === c || // Note: Memo only checks outer props here.
|
|
587
587
|
// Inner props are checked in the reconciler.
|
|
588
588
|
w.$$typeof === h))
|
|
589
|
-
|
|
589
|
+
M = w.propTypes;
|
|
590
590
|
else
|
|
591
591
|
return;
|
|
592
|
-
if (
|
|
592
|
+
if (M) {
|
|
593
593
|
var k = V(w);
|
|
594
|
-
Re(
|
|
594
|
+
Re(M, p.props, "prop", k, p);
|
|
595
595
|
} else if (w.PropTypes !== void 0 && !Ut) {
|
|
596
596
|
Ut = !0;
|
|
597
597
|
var D = V(w);
|
|
@@ -602,8 +602,8 @@ Check the top-level render call using <` + I + ">.");
|
|
|
602
602
|
}
|
|
603
603
|
function Ao(p) {
|
|
604
604
|
{
|
|
605
|
-
for (var w = Object.keys(p.props),
|
|
606
|
-
var k = w[
|
|
605
|
+
for (var w = Object.keys(p.props), M = 0; M < w.length; M++) {
|
|
606
|
+
var k = w[M];
|
|
607
607
|
if (k !== "children" && k !== "key") {
|
|
608
608
|
St(p), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), St(null);
|
|
609
609
|
break;
|
|
@@ -613,7 +613,7 @@ Check the top-level render call using <` + I + ">.");
|
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
var mn = {};
|
|
616
|
-
function pn(p, w,
|
|
616
|
+
function pn(p, w, M, k, D, ee) {
|
|
617
617
|
{
|
|
618
618
|
var J = ie(p);
|
|
619
619
|
if (!J) {
|
|
@@ -624,7 +624,7 @@ Check the top-level render call using <` + I + ">.");
|
|
|
624
624
|
var me;
|
|
625
625
|
p === null ? me = "null" : Dt(p) ? me = "array" : p !== void 0 && p.$$typeof === t ? (me = "<" + (V(p.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : me = typeof p, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", me, U);
|
|
626
626
|
}
|
|
627
|
-
var _e =
|
|
627
|
+
var _e = Mt(p, w, M, D, ee);
|
|
628
628
|
if (_e == null)
|
|
629
629
|
return _e;
|
|
630
630
|
if (J) {
|
|
@@ -657,14 +657,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
657
657
|
return p === n ? Ao(_e) : Co(_e), _e;
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
|
-
function Po(p, w,
|
|
661
|
-
return pn(p, w,
|
|
660
|
+
function Po(p, w, M) {
|
|
661
|
+
return pn(p, w, M, !0);
|
|
662
662
|
}
|
|
663
|
-
function Oo(p, w,
|
|
664
|
-
return pn(p, w,
|
|
663
|
+
function Oo(p, w, M) {
|
|
664
|
+
return pn(p, w, M, !1);
|
|
665
665
|
}
|
|
666
|
-
var
|
|
667
|
-
$r.Fragment = n, $r.jsx =
|
|
666
|
+
var Ir = Oo, To = Po;
|
|
667
|
+
$r.Fragment = n, $r.jsx = Ir, $r.jsxs = To;
|
|
668
668
|
}()), $r;
|
|
669
669
|
}
|
|
670
670
|
process.env.NODE_ENV === "production" ? Yo.exports = uu() : Yo.exports = du();
|
|
@@ -1156,14 +1156,14 @@ class Vn extends to {
|
|
|
1156
1156
|
for (let Y = 0; Y < Se.length; Y++)
|
|
1157
1157
|
H.push(Se[Y]);
|
|
1158
1158
|
else this.options.saveMissingTo === "all" ? H = this.languageUtils.toResolveHierarchy(r.lng || this.language) : H.push(r.lng || this.language);
|
|
1159
|
-
const se = (Y, Ce,
|
|
1160
|
-
const rt = O &&
|
|
1159
|
+
const se = (Y, Ce, Me) => {
|
|
1160
|
+
const rt = O && Me !== f ? Me : V;
|
|
1161
1161
|
this.options.missingKeyHandler ? this.options.missingKeyHandler(Y, c, Ce, rt, X, r) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(Y, c, Ce, rt, X, r), this.emit("missingKey", Y, c, Ce, f);
|
|
1162
1162
|
};
|
|
1163
1163
|
this.options.saveMissing && (this.options.saveMissingPlurals && P ? H.forEach((Y) => {
|
|
1164
1164
|
const Ce = this.pluralResolver.getSuffixes(Y, r);
|
|
1165
|
-
ie && r[`defaultValue${this.options.pluralSeparator}zero`] && Ce.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Ce.push(`${this.options.pluralSeparator}zero`), Ce.forEach((
|
|
1166
|
-
se([Y], i +
|
|
1165
|
+
ie && r[`defaultValue${this.options.pluralSeparator}zero`] && Ce.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Ce.push(`${this.options.pluralSeparator}zero`), Ce.forEach((Me) => {
|
|
1166
|
+
se([Y], i + Me, r[`defaultValue${Me}`] || F);
|
|
1167
1167
|
});
|
|
1168
1168
|
}) : se(H, i, F));
|
|
1169
1169
|
}
|
|
@@ -1286,7 +1286,7 @@ class Vn extends to {
|
|
|
1286
1286
|
return !1;
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
|
-
const
|
|
1289
|
+
const Io = (e) => e.charAt(0).toUpperCase() + e.slice(1);
|
|
1290
1290
|
class ss {
|
|
1291
1291
|
constructor(t) {
|
|
1292
1292
|
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ft.create("languageUtils");
|
|
@@ -1305,7 +1305,7 @@ class ss {
|
|
|
1305
1305
|
if (typeof t == "string" && t.indexOf("-") > -1) {
|
|
1306
1306
|
const r = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
|
1307
1307
|
let n = t.split("-");
|
|
1308
|
-
return this.options.lowerCaseLng ? n = n.map((o) => o.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), r.indexOf(n[1].toLowerCase()) > -1 && (n[1] =
|
|
1308
|
+
return this.options.lowerCaseLng ? n = n.map((o) => o.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), r.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Io(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), r.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Io(n[1].toLowerCase())), r.indexOf(n[2].toLowerCase()) > -1 && (n[2] = Io(n[2].toLowerCase()))), n.join("-");
|
|
1309
1309
|
}
|
|
1310
1310
|
return this.options.cleanCode || this.options.lowerCaseLng ? t.toLowerCase() : t;
|
|
1311
1311
|
}
|
|
@@ -1534,7 +1534,7 @@ const ls = function(e, t, r) {
|
|
|
1534
1534
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = bu(e, t, r);
|
|
1535
1535
|
return !a && o && typeof r == "string" && (a = Zo(e, r, n), a === void 0 && (a = Zo(t, r, n))), a;
|
|
1536
1536
|
}, Lo = (e) => e.replace(/\$/g, "$$$$");
|
|
1537
|
-
class
|
|
1537
|
+
class Mu {
|
|
1538
1538
|
constructor() {
|
|
1539
1539
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1540
1540
|
this.logger = ft.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((r) => r), this.init(t);
|
|
@@ -1658,7 +1658,7 @@ class Iu {
|
|
|
1658
1658
|
return t;
|
|
1659
1659
|
}
|
|
1660
1660
|
}
|
|
1661
|
-
const
|
|
1661
|
+
const Iu = (e) => {
|
|
1662
1662
|
let t = e.toLowerCase().trim();
|
|
1663
1663
|
const r = {};
|
|
1664
1664
|
if (e.indexOf("(") > -1) {
|
|
@@ -1751,7 +1751,7 @@ class Lu {
|
|
|
1751
1751
|
const {
|
|
1752
1752
|
formatName: u,
|
|
1753
1753
|
formatOptions: d
|
|
1754
|
-
} =
|
|
1754
|
+
} = Iu(c);
|
|
1755
1755
|
if (this.formats[u]) {
|
|
1756
1756
|
let h = l;
|
|
1757
1757
|
try {
|
|
@@ -2009,7 +2009,7 @@ class Hr extends to {
|
|
|
2009
2009
|
prepend: this.options.pluralSeparator,
|
|
2010
2010
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
2011
2011
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
2012
|
-
}), d && (!this.options.interpolation.format || this.options.interpolation.format === o.interpolation.format) && (f.formatter = a(d), f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new
|
|
2012
|
+
}), d && (!this.options.interpolation.format || this.options.interpolation.format === o.interpolation.format) && (f.formatter = a(d), f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new Mu(this.options), f.utils = {
|
|
2013
2013
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
2014
2014
|
}, f.backendConnector = new $u(a(this.modules.backend), f.resourceStore, f, this.options), f.backendConnector.on("*", function(b) {
|
|
2015
2015
|
for (var y = arguments.length, _ = new Array(y > 1 ? y - 1 : 0), g = 1; g < y; g++)
|
|
@@ -7517,7 +7517,7 @@ function pr(e, t) {
|
|
|
7517
7517
|
r += t(e[o], o, e, t) || "";
|
|
7518
7518
|
return r;
|
|
7519
7519
|
}
|
|
7520
|
-
function
|
|
7520
|
+
function Md(e, t, r, n) {
|
|
7521
7521
|
switch (e.type) {
|
|
7522
7522
|
case _d:
|
|
7523
7523
|
if (e.children.length) break;
|
|
@@ -7533,7 +7533,7 @@ function Id(e, t, r, n) {
|
|
|
7533
7533
|
}
|
|
7534
7534
|
return ut(r = pr(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
7535
7535
|
}
|
|
7536
|
-
function
|
|
7536
|
+
function Id(e) {
|
|
7537
7537
|
var t = Ca(e);
|
|
7538
7538
|
return function(r, n, o, a) {
|
|
7539
7539
|
for (var i = "", l = 0; l < t; l++)
|
|
@@ -7755,9 +7755,9 @@ var Ud = function(t, r, n, o) {
|
|
|
7755
7755
|
);
|
|
7756
7756
|
var c, u = [Fd, Dd];
|
|
7757
7757
|
{
|
|
7758
|
-
var d, h = [
|
|
7758
|
+
var d, h = [Md, Ld(function(_) {
|
|
7759
7759
|
d.insert(_);
|
|
7760
|
-
})], f =
|
|
7760
|
+
})], f = Id(u.concat(o, h)), b = function(g) {
|
|
7761
7761
|
return pr(Td(g), f);
|
|
7762
7762
|
};
|
|
7763
7763
|
c = function(g, S, R, C) {
|
|
@@ -8293,10 +8293,10 @@ const Ef = ge({
|
|
|
8293
8293
|
return null;
|
|
8294
8294
|
};
|
|
8295
8295
|
Oa.filterProps = ["maxWidth"];
|
|
8296
|
-
const
|
|
8296
|
+
const Mf = ge({
|
|
8297
8297
|
prop: "minWidth",
|
|
8298
8298
|
transform: Ve
|
|
8299
|
-
}),
|
|
8299
|
+
}), If = ge({
|
|
8300
8300
|
prop: "height",
|
|
8301
8301
|
transform: Ve
|
|
8302
8302
|
}), Lf = ge({
|
|
@@ -8319,7 +8319,7 @@ ge({
|
|
|
8319
8319
|
const $f = ge({
|
|
8320
8320
|
prop: "boxSizing"
|
|
8321
8321
|
});
|
|
8322
|
-
lo(Ef, Oa,
|
|
8322
|
+
lo(Ef, Oa, Mf, If, Lf, kf, $f);
|
|
8323
8323
|
const an = {
|
|
8324
8324
|
// borders
|
|
8325
8325
|
border: {
|
|
@@ -8933,15 +8933,15 @@ function Yf() {
|
|
|
8933
8933
|
case d:
|
|
8934
8934
|
return ue;
|
|
8935
8935
|
default:
|
|
8936
|
-
var
|
|
8937
|
-
switch (
|
|
8936
|
+
var Ie = ue && ue.$$typeof;
|
|
8937
|
+
switch (Ie) {
|
|
8938
8938
|
case l:
|
|
8939
8939
|
case i:
|
|
8940
8940
|
case c:
|
|
8941
8941
|
case f:
|
|
8942
8942
|
case h:
|
|
8943
8943
|
case a:
|
|
8944
|
-
return
|
|
8944
|
+
return Ie;
|
|
8945
8945
|
default:
|
|
8946
8946
|
return Z;
|
|
8947
8947
|
}
|
|
@@ -8952,7 +8952,7 @@ function Yf() {
|
|
|
8952
8952
|
}
|
|
8953
8953
|
}
|
|
8954
8954
|
var P = i, O = a, z = e, ae = c, ie = r, F = f, K = h, V = t, X = o, H = n, Se = u, se = d, Y = !1, Ce = !1;
|
|
8955
|
-
function
|
|
8955
|
+
function Me(E) {
|
|
8956
8956
|
return Y || (Y = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
8957
8957
|
}
|
|
8958
8958
|
function rt(E) {
|
|
@@ -8994,7 +8994,7 @@ function Yf() {
|
|
|
8994
8994
|
function Be(E) {
|
|
8995
8995
|
return j(E) === d;
|
|
8996
8996
|
}
|
|
8997
|
-
oe.ContextConsumer = P, oe.ContextProvider = O, oe.Element = z, oe.ForwardRef = ae, oe.Fragment = ie, oe.Lazy = F, oe.Memo = K, oe.Portal = V, oe.Profiler = X, oe.StrictMode = H, oe.Suspense = Se, oe.SuspenseList = se, oe.isAsyncMode =
|
|
8997
|
+
oe.ContextConsumer = P, oe.ContextProvider = O, oe.Element = z, oe.ForwardRef = ae, oe.Fragment = ie, oe.Lazy = F, oe.Memo = K, oe.Portal = V, oe.Profiler = X, oe.StrictMode = H, oe.Suspense = Se, oe.SuspenseList = se, oe.isAsyncMode = Me, oe.isConcurrentMode = rt, oe.isContextConsumer = xt, oe.isContextProvider = We, oe.isElement = we, oe.isForwardRef = Ot, oe.isFragment = it, oe.isLazy = He, oe.isMemo = Ue, oe.isPortal = lt, oe.isProfiler = ct, oe.isStrictMode = Ft, oe.isSuspense = vt, oe.isSuspenseList = Be, oe.isValidElementType = L, oe.typeOf = j;
|
|
8998
8998
|
}()), oe;
|
|
8999
8999
|
}
|
|
9000
9000
|
process.env.NODE_ENV === "production" ? ra.exports = qf() : ra.exports = Yf();
|
|
@@ -9320,7 +9320,7 @@ function gl({
|
|
|
9320
9320
|
}, []);
|
|
9321
9321
|
return [l, c];
|
|
9322
9322
|
}
|
|
9323
|
-
function
|
|
9323
|
+
function Mn(e) {
|
|
9324
9324
|
const t = $.useRef(e);
|
|
9325
9325
|
return Ta(() => {
|
|
9326
9326
|
t.current = e;
|
|
@@ -9429,7 +9429,7 @@ const Ph = {
|
|
|
9429
9429
|
whiteSpace: "nowrap",
|
|
9430
9430
|
width: "1px"
|
|
9431
9431
|
};
|
|
9432
|
-
function
|
|
9432
|
+
function Ma(e, t, r = void 0) {
|
|
9433
9433
|
const n = {};
|
|
9434
9434
|
return Object.keys(e).forEach(
|
|
9435
9435
|
// `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
@@ -9453,7 +9453,7 @@ function Oh(e, t, r) {
|
|
|
9453
9453
|
ownerState: A({}, t.ownerState, r)
|
|
9454
9454
|
});
|
|
9455
9455
|
}
|
|
9456
|
-
function
|
|
9456
|
+
function In(e, t = []) {
|
|
9457
9457
|
if (e === void 0)
|
|
9458
9458
|
return {};
|
|
9459
9459
|
const r = {};
|
|
@@ -9484,7 +9484,7 @@ function Th(e) {
|
|
|
9484
9484
|
internalRef: void 0
|
|
9485
9485
|
};
|
|
9486
9486
|
}
|
|
9487
|
-
const i =
|
|
9487
|
+
const i = In(A({}, o, n)), l = Os(n), c = Os(o), u = t(i), d = mt(u == null ? void 0 : u.className, r == null ? void 0 : r.className, a, o == null ? void 0 : o.className, n == null ? void 0 : n.className), h = A({}, u == null ? void 0 : u.style, r == null ? void 0 : r.style, o == null ? void 0 : o.style, n == null ? void 0 : n.style), f = A({}, u, r, c, l);
|
|
9488
9488
|
return d.length > 0 && (f.className = d), Object.keys(h).length > 0 && (f.style = h), {
|
|
9489
9489
|
props: f,
|
|
9490
9490
|
internalRef: u.ref
|
|
@@ -9493,15 +9493,15 @@ function Th(e) {
|
|
|
9493
9493
|
function Eh(e, t, r) {
|
|
9494
9494
|
return typeof e == "function" ? e(t, r) : e;
|
|
9495
9495
|
}
|
|
9496
|
-
const
|
|
9497
|
-
function
|
|
9496
|
+
const Mh = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
9497
|
+
function It(e) {
|
|
9498
9498
|
var t;
|
|
9499
9499
|
const {
|
|
9500
9500
|
elementType: r,
|
|
9501
9501
|
externalSlotProps: n,
|
|
9502
9502
|
ownerState: o,
|
|
9503
9503
|
skipResolvingSlotProps: a = !1
|
|
9504
|
-
} = e, i = De(e,
|
|
9504
|
+
} = e, i = De(e, Mh), l = a ? {} : Eh(n, o), {
|
|
9505
9505
|
props: c,
|
|
9506
9506
|
internalRef: u
|
|
9507
9507
|
} = Th(A({}, i, {
|
|
@@ -9511,10 +9511,10 @@ function Mt(e) {
|
|
|
9511
9511
|
ref: d
|
|
9512
9512
|
}), o);
|
|
9513
9513
|
}
|
|
9514
|
-
const
|
|
9514
|
+
const Ih = /* @__PURE__ */ $.createContext();
|
|
9515
9515
|
process.env.NODE_ENV !== "production" && (m.node, m.bool);
|
|
9516
9516
|
const Lh = () => {
|
|
9517
|
-
const e = $.useContext(
|
|
9517
|
+
const e = $.useContext(Ih);
|
|
9518
9518
|
return e ?? !1;
|
|
9519
9519
|
}, kh = /* @__PURE__ */ $.createContext(void 0);
|
|
9520
9520
|
process.env.NODE_ENV !== "production" && (m.node, m.object);
|
|
@@ -9616,7 +9616,7 @@ function Gh(e = {}) {
|
|
|
9616
9616
|
createStyledComponent: t = Uh,
|
|
9617
9617
|
useThemeProps: r = Bh,
|
|
9618
9618
|
componentName: n = "MuiStack"
|
|
9619
|
-
} = e, o = () =>
|
|
9619
|
+
} = e, o = () => Ma({
|
|
9620
9620
|
root: ["root"]
|
|
9621
9621
|
}, (c) => cn(n, c), {}), a = t(zh), i = /* @__PURE__ */ $.forwardRef(function(c, u) {
|
|
9622
9622
|
const d = r(c), h = ll(d), {
|
|
@@ -9696,7 +9696,7 @@ Object.defineProperty(un, "__esModule", {
|
|
|
9696
9696
|
var em = un.default = mm;
|
|
9697
9697
|
un.shouldForwardProp = Ln;
|
|
9698
9698
|
un.systemDefaultTheme = void 0;
|
|
9699
|
-
var qe = Sr(Wh()), oa = Sr(Hh()),
|
|
9699
|
+
var qe = Sr(Wh()), oa = Sr(Hh()), Ms = cm(Kh), tm = Xh, rm = Sr(qh), nm = Sr(Yh), om = Sr(Zh), am = Sr(Qh);
|
|
9700
9700
|
const sm = ["ownerState"], im = ["variants"], lm = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
9701
9701
|
function bl(e) {
|
|
9702
9702
|
if (typeof WeakMap != "function") return null;
|
|
@@ -9729,7 +9729,7 @@ function dm(e) {
|
|
|
9729
9729
|
function Ln(e) {
|
|
9730
9730
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
9731
9731
|
}
|
|
9732
|
-
const fm = un.systemDefaultTheme = (0, om.default)(),
|
|
9732
|
+
const fm = un.systemDefaultTheme = (0, om.default)(), Is = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
9733
9733
|
function xn({
|
|
9734
9734
|
defaultTheme: e,
|
|
9735
9735
|
theme: t,
|
|
@@ -9782,7 +9782,7 @@ function mm(e = {}) {
|
|
|
9782
9782
|
}))
|
|
9783
9783
|
}));
|
|
9784
9784
|
return a.__mui_systemSx = !0, (i, l = {}) => {
|
|
9785
|
-
(0,
|
|
9785
|
+
(0, Ms.internal_processStyles)(i, (j) => j.filter((P) => !(P != null && P.__mui_systemSx)));
|
|
9786
9786
|
const {
|
|
9787
9787
|
name: c,
|
|
9788
9788
|
slot: u,
|
|
@@ -9790,17 +9790,17 @@ function mm(e = {}) {
|
|
|
9790
9790
|
skipSx: h,
|
|
9791
9791
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
9792
9792
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
9793
|
-
overridesResolver: f = hm(
|
|
9793
|
+
overridesResolver: f = hm(Is(u))
|
|
9794
9794
|
} = l, b = (0, oa.default)(l, lm), y = d !== void 0 ? d : (
|
|
9795
9795
|
// TODO v6: remove `Root` in the next major release
|
|
9796
9796
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
9797
9797
|
u && u !== "Root" && u !== "root" || !1
|
|
9798
9798
|
), _ = h || !1;
|
|
9799
9799
|
let g;
|
|
9800
|
-
process.env.NODE_ENV !== "production" && c && (g = `${c}-${
|
|
9800
|
+
process.env.NODE_ENV !== "production" && c && (g = `${c}-${Is(u || "Root")}`);
|
|
9801
9801
|
let S = Ln;
|
|
9802
9802
|
u === "Root" || u === "root" ? S = n : u ? S = o : dm(i) && (S = void 0);
|
|
9803
|
-
const R = (0,
|
|
9803
|
+
const R = (0, Ms.default)(i, (0, qe.default)({
|
|
9804
9804
|
shouldForwardProp: S,
|
|
9805
9805
|
label: g
|
|
9806
9806
|
}, b)), C = (j) => typeof j == "function" && j.__emotion_real !== j || (0, tm.isPlainObject)(j) ? (P) => kn(j, (0, qe.default)({}, P, {
|
|
@@ -9892,7 +9892,7 @@ ye.private_safeLighten = jm;
|
|
|
9892
9892
|
ye.recomposeColor = wr;
|
|
9893
9893
|
ye.rgbToHex = vm;
|
|
9894
9894
|
var $s = xl(gm), _m = xl(ym);
|
|
9895
|
-
function
|
|
9895
|
+
function Ia(e, t = 0, r = 1) {
|
|
9896
9896
|
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), (0, _m.default)(e, t, r);
|
|
9897
9897
|
}
|
|
9898
9898
|
function vl(e) {
|
|
@@ -9980,7 +9980,7 @@ function Sm(e, t) {
|
|
|
9980
9980
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
9981
9981
|
}
|
|
9982
9982
|
function Rl(e, t) {
|
|
9983
|
-
return e = et(e), t =
|
|
9983
|
+
return e = et(e), t = Ia(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, wr(e);
|
|
9984
9984
|
}
|
|
9985
9985
|
function wm(e, t, r) {
|
|
9986
9986
|
try {
|
|
@@ -9990,7 +9990,7 @@ function wm(e, t, r) {
|
|
|
9990
9990
|
}
|
|
9991
9991
|
}
|
|
9992
9992
|
function La(e, t) {
|
|
9993
|
-
if (e = et(e), t =
|
|
9993
|
+
if (e = et(e), t = Ia(t), e.type.indexOf("hsl") !== -1)
|
|
9994
9994
|
e.values[2] *= 1 - t;
|
|
9995
9995
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
9996
9996
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -10005,7 +10005,7 @@ function Rm(e, t, r) {
|
|
|
10005
10005
|
}
|
|
10006
10006
|
}
|
|
10007
10007
|
function ka(e, t) {
|
|
10008
|
-
if (e = et(e), t =
|
|
10008
|
+
if (e = et(e), t = Ia(t), e.type.indexOf("hsl") !== -1)
|
|
10009
10009
|
e.values[2] += (100 - e.values[2]) * t;
|
|
10010
10010
|
else if (e.type.indexOf("rgb") !== -1)
|
|
10011
10011
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -10236,7 +10236,7 @@ function Em(e = "light") {
|
|
|
10236
10236
|
dark: cr[700]
|
|
10237
10237
|
};
|
|
10238
10238
|
}
|
|
10239
|
-
function
|
|
10239
|
+
function Mm(e = "light") {
|
|
10240
10240
|
return e === "dark" ? {
|
|
10241
10241
|
main: ur[500],
|
|
10242
10242
|
light: ur[300],
|
|
@@ -10247,7 +10247,7 @@ function Im(e = "light") {
|
|
|
10247
10247
|
dark: ur[800]
|
|
10248
10248
|
};
|
|
10249
10249
|
}
|
|
10250
|
-
function
|
|
10250
|
+
function Im(e = "light") {
|
|
10251
10251
|
return e === "dark" ? {
|
|
10252
10252
|
main: fr[400],
|
|
10253
10253
|
light: fr[300],
|
|
@@ -10286,7 +10286,7 @@ function $m(e) {
|
|
|
10286
10286
|
mode: t = "light",
|
|
10287
10287
|
contrastThreshold: r = 3,
|
|
10288
10288
|
tonalOffset: n = 0.2
|
|
10289
|
-
} = e, o = De(e, Om), a = e.primary || Tm(t), i = e.secondary || Em(t), l = e.error ||
|
|
10289
|
+
} = e, o = De(e, Om), a = e.primary || Tm(t), i = e.secondary || Em(t), l = e.error || Mm(t), c = e.info || Im(t), u = e.success || Lm(t), d = e.warning || km(t);
|
|
10290
10290
|
function h(_) {
|
|
10291
10291
|
const g = ks(_, Bo.text.primary) >= r ? Bo.text.primary : Ns.text.primary;
|
|
10292
10292
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -10760,7 +10760,7 @@ const t0 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
10760
10760
|
} = e, o = {
|
|
10761
10761
|
root: ["root", t !== "inherit" && `color${Pe(t)}`, `fontSize${Pe(r)}`]
|
|
10762
10762
|
};
|
|
10763
|
-
return
|
|
10763
|
+
return Ma(o, e0, n);
|
|
10764
10764
|
}, n0 = Ct("svg", {
|
|
10765
10765
|
name: "MuiSvgIcon",
|
|
10766
10766
|
slot: "Root",
|
|
@@ -10946,7 +10946,7 @@ const a0 = {
|
|
|
10946
10946
|
unstable_useId: bh,
|
|
10947
10947
|
unsupportedProp: xh,
|
|
10948
10948
|
useControlled: gl,
|
|
10949
|
-
useEventCallback:
|
|
10949
|
+
useEventCallback: Mn,
|
|
10950
10950
|
useForkRef: Hn,
|
|
10951
10951
|
useIsFocusVisible: yl
|
|
10952
10952
|
}, Symbol.toStringTag, { value: "Module" })), i0 = /* @__PURE__ */ jt(s0);
|
|
@@ -11039,12 +11039,12 @@ function Ws(e) {
|
|
|
11039
11039
|
var r = O0.test(e);
|
|
11040
11040
|
return r || T0.test(e) ? E0(e.slice(2), r ? 2 : 8) : P0.test(e) ? Gs : +e;
|
|
11041
11041
|
}
|
|
11042
|
-
var
|
|
11042
|
+
var M0 = "Expected a function", I0 = Math.max, L0 = Math.min;
|
|
11043
11043
|
function k0(e, t, r) {
|
|
11044
11044
|
var n, o, a, i, l, c, u = 0, d = !1, h = !1, f = !0;
|
|
11045
11045
|
if (typeof e != "function")
|
|
11046
|
-
throw new TypeError(
|
|
11047
|
-
t = Ws(t) || 0, Kt(r) && (d = !!r.leading, h = "maxWait" in r, a = h ?
|
|
11046
|
+
throw new TypeError(M0);
|
|
11047
|
+
t = Ws(t) || 0, Kt(r) && (d = !!r.leading, h = "maxWait" in r, a = h ? I0(Ws(r.maxWait) || 0, t) : a, f = "trailing" in r ? !!r.trailing : f);
|
|
11048
11048
|
function b(P) {
|
|
11049
11049
|
var O = n, z = o;
|
|
11050
11050
|
return n = o = void 0, u = P, i = e.apply(z, O), i;
|
|
@@ -11296,7 +11296,7 @@ const F0 = tn(
|
|
|
11296
11296
|
title: e,
|
|
11297
11297
|
titleId: t,
|
|
11298
11298
|
...r
|
|
11299
|
-
}, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width:
|
|
11299
|
+
}, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 15, height: 17, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "currentColor", d: "M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467" })), q0 = Zt(X0), Y0 = _t(({ store: e }) => {
|
|
11300
11300
|
const { t } = xr();
|
|
11301
11301
|
function r(n, o) {
|
|
11302
11302
|
(o === "coordsys" || o === "tool") && e.setSelectedOrientation(o);
|
|
@@ -11320,7 +11320,7 @@ const F0 = tn(
|
|
|
11320
11320
|
/* @__PURE__ */ s.jsxs(he, { width: "50%", children: [
|
|
11321
11321
|
/* @__PURE__ */ s.jsx(Jr, { id: "jogging-coord-select", children: "Coordinate Sys." }),
|
|
11322
11322
|
/* @__PURE__ */ s.jsx(
|
|
11323
|
-
|
|
11323
|
+
Mo,
|
|
11324
11324
|
{
|
|
11325
11325
|
labelId: "jogging-coord-select",
|
|
11326
11326
|
value: e.selectedCoordSystemId,
|
|
@@ -11336,7 +11336,7 @@ const F0 = tn(
|
|
|
11336
11336
|
/* @__PURE__ */ s.jsxs(he, { width: "50%", children: [
|
|
11337
11337
|
/* @__PURE__ */ s.jsx(Jr, { id: "jogging-tcp-select", children: "TCP" }),
|
|
11338
11338
|
/* @__PURE__ */ s.jsx(
|
|
11339
|
-
|
|
11339
|
+
Mo,
|
|
11340
11340
|
{
|
|
11341
11341
|
labelId: "jogging-tcp-select",
|
|
11342
11342
|
value: e.selectedTcpId,
|
|
@@ -11386,7 +11386,7 @@ const F0 = tn(
|
|
|
11386
11386
|
/* @__PURE__ */ s.jsxs(he, { width: "65%", children: [
|
|
11387
11387
|
/* @__PURE__ */ s.jsx(Jr, { id: "jogging-increment-select", children: "Increment" }),
|
|
11388
11388
|
/* @__PURE__ */ s.jsxs(
|
|
11389
|
-
|
|
11389
|
+
Mo,
|
|
11390
11390
|
{
|
|
11391
11391
|
labelId: "jogging-increment-select",
|
|
11392
11392
|
value: e.selectedIncrementId,
|
|
@@ -11542,35 +11542,35 @@ function ap(e) {
|
|
|
11542
11542
|
controlled: R,
|
|
11543
11543
|
default: r ?? c,
|
|
11544
11544
|
name: "Slider"
|
|
11545
|
-
}), V = d && ((T,
|
|
11545
|
+
}), V = d && ((T, I, N) => {
|
|
11546
11546
|
const G = T.nativeEvent || T, q = new G.constructor(G.type, G);
|
|
11547
11547
|
Object.defineProperty(q, "target", {
|
|
11548
11548
|
writable: !0,
|
|
11549
11549
|
value: {
|
|
11550
|
-
value:
|
|
11550
|
+
value: I,
|
|
11551
11551
|
name: u
|
|
11552
11552
|
}
|
|
11553
|
-
}), d(q,
|
|
11553
|
+
}), d(q, I, N);
|
|
11554
11554
|
}), X = Array.isArray(F);
|
|
11555
11555
|
let H = X ? F.slice().sort(El) : [F];
|
|
11556
11556
|
H = H.map((T) => T == null ? c : mr(T, c, l));
|
|
11557
|
-
const Se = i === !0 && _ !== null ? [...Array(Math.floor((l - c) / _) + 1)].map((T,
|
|
11558
|
-
value: c + _ *
|
|
11557
|
+
const Se = i === !0 && _ !== null ? [...Array(Math.floor((l - c) / _) + 1)].map((T, I) => ({
|
|
11558
|
+
value: c + _ * I
|
|
11559
11559
|
})) : i || [], se = Se.map((T) => T.value), {
|
|
11560
11560
|
isFocusVisibleRef: Y,
|
|
11561
11561
|
onBlur: Ce,
|
|
11562
|
-
onFocus:
|
|
11562
|
+
onFocus: Me,
|
|
11563
11563
|
ref: rt
|
|
11564
|
-
} = yl(), [xt, We] = $.useState(-1), we = $.useRef(), Ot = Hn(rt, we), it = Hn(b, Ot), He = (T) => (
|
|
11564
|
+
} = yl(), [xt, We] = $.useState(-1), we = $.useRef(), Ot = Hn(rt, we), it = Hn(b, Ot), He = (T) => (I) => {
|
|
11565
11565
|
var N;
|
|
11566
|
-
const G = Number(
|
|
11567
|
-
|
|
11568
|
-
}, Ue = (T) => (
|
|
11566
|
+
const G = Number(I.currentTarget.getAttribute("data-index"));
|
|
11567
|
+
Me(I), Y.current === !0 && We(G), O(G), T == null || (N = T.onFocus) == null || N.call(T, I);
|
|
11568
|
+
}, Ue = (T) => (I) => {
|
|
11569
11569
|
var N;
|
|
11570
|
-
Ce(
|
|
11571
|
-
}, lt = (T,
|
|
11570
|
+
Ce(I), Y.current === !1 && We(-1), O(-1), T == null || (N = T.onBlur) == null || N.call(T, I);
|
|
11571
|
+
}, lt = (T, I) => {
|
|
11572
11572
|
const N = Number(T.currentTarget.getAttribute("data-index")), G = H[N], q = se.indexOf(G);
|
|
11573
|
-
let W =
|
|
11573
|
+
let W = I;
|
|
11574
11574
|
if (Se && _ == null) {
|
|
11575
11575
|
const Je = se[se.length - 1];
|
|
11576
11576
|
W > Je ? W = Je : W < se[0] ? W = se[0] : W = W < G ? se[q - 1] : se[q + 1];
|
|
@@ -11590,14 +11590,14 @@ function ap(e) {
|
|
|
11590
11590
|
});
|
|
11591
11591
|
}
|
|
11592
11592
|
K(W), We(N), V && !wn(W, F) && V(T, W, N), h && h(T, W);
|
|
11593
|
-
}, ct = (T) => (
|
|
11593
|
+
}, ct = (T) => (I) => {
|
|
11594
11594
|
var N;
|
|
11595
11595
|
if (_ !== null) {
|
|
11596
|
-
const G = Number(
|
|
11596
|
+
const G = Number(I.currentTarget.getAttribute("data-index")), q = H[G];
|
|
11597
11597
|
let W = null;
|
|
11598
|
-
(
|
|
11598
|
+
(I.key === "ArrowLeft" || I.key === "ArrowDown") && I.shiftKey || I.key === "PageDown" ? W = Math.max(q - g, c) : ((I.key === "ArrowRight" || I.key === "ArrowUp") && I.shiftKey || I.key === "PageUp") && (W = Math.min(q + g, l)), W !== null && (lt(I, W), I.preventDefault());
|
|
11599
11599
|
}
|
|
11600
|
-
T == null || (N = T.onKeyDown) == null || N.call(T,
|
|
11600
|
+
T == null || (N = T.onKeyDown) == null || N.call(T, I);
|
|
11601
11601
|
};
|
|
11602
11602
|
Ta(() => {
|
|
11603
11603
|
if (n && we.current.contains(document.activeElement)) {
|
|
@@ -11605,15 +11605,15 @@ function ap(e) {
|
|
|
11605
11605
|
(T = document.activeElement) == null || T.blur();
|
|
11606
11606
|
}
|
|
11607
11607
|
}, [n]), n && L !== -1 && j(-1), n && xt !== -1 && We(-1);
|
|
11608
|
-
const Ft = (T) => (
|
|
11608
|
+
const Ft = (T) => (I) => {
|
|
11609
11609
|
var N;
|
|
11610
|
-
(N = T.onChange) == null || N.call(T,
|
|
11610
|
+
(N = T.onChange) == null || N.call(T, I), lt(I, I.target.valueAsNumber);
|
|
11611
11611
|
}, vt = $.useRef();
|
|
11612
11612
|
let Be = f;
|
|
11613
11613
|
a && f === "horizontal" && (Be += "-reverse");
|
|
11614
11614
|
const E = ({
|
|
11615
11615
|
finger: T,
|
|
11616
|
-
move:
|
|
11616
|
+
move: I = !1
|
|
11617
11617
|
}) => {
|
|
11618
11618
|
const {
|
|
11619
11619
|
current: N
|
|
@@ -11629,27 +11629,27 @@ function ap(e) {
|
|
|
11629
11629
|
if (Q = ep(Ke, c, l), _)
|
|
11630
11630
|
Q = rp(Q, _, c);
|
|
11631
11631
|
else {
|
|
11632
|
-
const
|
|
11633
|
-
Q = se[
|
|
11632
|
+
const Mt = Hs(se, Q);
|
|
11633
|
+
Q = se[Mt];
|
|
11634
11634
|
}
|
|
11635
11635
|
Q = mr(Q, c, l);
|
|
11636
11636
|
let ke = 0;
|
|
11637
11637
|
if (X) {
|
|
11638
|
-
|
|
11639
|
-
const
|
|
11638
|
+
I ? ke = vt.current : ke = Hs(H, Q), o && (Q = mr(Q, H[ke - 1] || -1 / 0, H[ke + 1] || 1 / 0));
|
|
11639
|
+
const Mt = Q;
|
|
11640
11640
|
Q = Ks({
|
|
11641
11641
|
values: H,
|
|
11642
11642
|
newValue: Q,
|
|
11643
11643
|
index: ke
|
|
11644
|
-
}), o &&
|
|
11644
|
+
}), o && I || (ke = Q.indexOf(Mt), vt.current = ke);
|
|
11645
11645
|
}
|
|
11646
11646
|
return {
|
|
11647
11647
|
newValue: Q,
|
|
11648
11648
|
activeIndex: ke
|
|
11649
11649
|
};
|
|
11650
|
-
}, Z =
|
|
11651
|
-
const
|
|
11652
|
-
if (!
|
|
11650
|
+
}, Z = Mn((T) => {
|
|
11651
|
+
const I = vn(T, C);
|
|
11652
|
+
if (!I)
|
|
11653
11653
|
return;
|
|
11654
11654
|
if (ie.current += 1, T.type === "mousemove" && T.buttons === 0) {
|
|
11655
11655
|
ue(T);
|
|
@@ -11659,7 +11659,7 @@ function ap(e) {
|
|
|
11659
11659
|
newValue: N,
|
|
11660
11660
|
activeIndex: G
|
|
11661
11661
|
} = E({
|
|
11662
|
-
finger:
|
|
11662
|
+
finger: I,
|
|
11663
11663
|
move: !0
|
|
11664
11664
|
});
|
|
11665
11665
|
Sn({
|
|
@@ -11667,23 +11667,23 @@ function ap(e) {
|
|
|
11667
11667
|
activeIndex: G,
|
|
11668
11668
|
setActive: j
|
|
11669
11669
|
}), K(N), !z && ie.current > Q0 && ae(!0), V && !wn(N, F) && V(T, N, G);
|
|
11670
|
-
}), ue =
|
|
11671
|
-
const
|
|
11672
|
-
if (ae(!1), !
|
|
11670
|
+
}), ue = Mn((T) => {
|
|
11671
|
+
const I = vn(T, C);
|
|
11672
|
+
if (ae(!1), !I)
|
|
11673
11673
|
return;
|
|
11674
11674
|
const {
|
|
11675
11675
|
newValue: N
|
|
11676
11676
|
} = E({
|
|
11677
|
-
finger:
|
|
11677
|
+
finger: I,
|
|
11678
11678
|
move: !0
|
|
11679
11679
|
});
|
|
11680
11680
|
j(-1), T.type === "touchend" && O(-1), h && h(T, N), C.current = void 0, Le();
|
|
11681
|
-
}),
|
|
11681
|
+
}), Ie = Mn((T) => {
|
|
11682
11682
|
if (n)
|
|
11683
11683
|
return;
|
|
11684
11684
|
Xs() || T.preventDefault();
|
|
11685
|
-
const
|
|
11686
|
-
|
|
11685
|
+
const I = T.changedTouches[0];
|
|
11686
|
+
I != null && (C.current = I.identifier);
|
|
11687
11687
|
const N = vn(T, C);
|
|
11688
11688
|
if (N !== !1) {
|
|
11689
11689
|
const {
|
|
@@ -11713,20 +11713,20 @@ function ap(e) {
|
|
|
11713
11713
|
const {
|
|
11714
11714
|
current: T
|
|
11715
11715
|
} = we;
|
|
11716
|
-
return T.addEventListener("touchstart",
|
|
11716
|
+
return T.addEventListener("touchstart", Ie, {
|
|
11717
11717
|
passive: Xs()
|
|
11718
11718
|
}), () => {
|
|
11719
|
-
T.removeEventListener("touchstart",
|
|
11719
|
+
T.removeEventListener("touchstart", Ie), Le();
|
|
11720
11720
|
};
|
|
11721
|
-
}, [Le,
|
|
11721
|
+
}, [Le, Ie]), $.useEffect(() => {
|
|
11722
11722
|
n && Le();
|
|
11723
11723
|
}, [n, Le]);
|
|
11724
|
-
const Tt = (T) => (
|
|
11724
|
+
const Tt = (T) => (I) => {
|
|
11725
11725
|
var N;
|
|
11726
|
-
if ((N = T.onMouseDown) == null || N.call(T,
|
|
11726
|
+
if ((N = T.onMouseDown) == null || N.call(T, I), n || I.defaultPrevented || I.button !== 0)
|
|
11727
11727
|
return;
|
|
11728
|
-
|
|
11729
|
-
const G = vn(
|
|
11728
|
+
I.preventDefault();
|
|
11729
|
+
const G = vn(I, C);
|
|
11730
11730
|
if (G !== !1) {
|
|
11731
11731
|
const {
|
|
11732
11732
|
newValue: W,
|
|
@@ -11738,7 +11738,7 @@ function ap(e) {
|
|
|
11738
11738
|
sliderRef: we,
|
|
11739
11739
|
activeIndex: Je,
|
|
11740
11740
|
setActive: j
|
|
11741
|
-
}), K(W), V && !wn(W, F) && V(
|
|
11741
|
+
}), K(W), V && !wn(W, F) && V(I, W, Je);
|
|
11742
11742
|
}
|
|
11743
11743
|
ie.current = 0;
|
|
11744
11744
|
const q = yr(we.current);
|
|
@@ -11746,20 +11746,20 @@ function ap(e) {
|
|
|
11746
11746
|
passive: !0
|
|
11747
11747
|
}), q.addEventListener("mouseup", ue);
|
|
11748
11748
|
}, Re = qn(X ? H[0] : c, c, l), Et = qn(H[H.length - 1], c, l) - Re, Dt = (T = {}) => {
|
|
11749
|
-
const
|
|
11750
|
-
onMouseDown: Tt(
|
|
11751
|
-
}, G = A({},
|
|
11749
|
+
const I = In(T), N = {
|
|
11750
|
+
onMouseDown: Tt(I || {})
|
|
11751
|
+
}, G = A({}, I, N);
|
|
11752
11752
|
return A({}, T, {
|
|
11753
11753
|
ref: it
|
|
11754
11754
|
}, G);
|
|
11755
|
-
}, Cr = (T) => (
|
|
11755
|
+
}, Cr = (T) => (I) => {
|
|
11756
11756
|
var N;
|
|
11757
|
-
(N = T.onMouseOver) == null || N.call(T,
|
|
11758
|
-
const G = Number(
|
|
11757
|
+
(N = T.onMouseOver) == null || N.call(T, I);
|
|
11758
|
+
const G = Number(I.currentTarget.getAttribute("data-index"));
|
|
11759
11759
|
O(G);
|
|
11760
|
-
}, Ar = (T) => (
|
|
11760
|
+
}, Ar = (T) => (I) => {
|
|
11761
11761
|
var N;
|
|
11762
|
-
(N = T.onMouseLeave) == null || N.call(T,
|
|
11762
|
+
(N = T.onMouseLeave) == null || N.call(T, I), O(-1);
|
|
11763
11763
|
};
|
|
11764
11764
|
return {
|
|
11765
11765
|
active: L,
|
|
@@ -11768,8 +11768,8 @@ function ap(e) {
|
|
|
11768
11768
|
dragging: z,
|
|
11769
11769
|
focusedThumbIndex: xt,
|
|
11770
11770
|
getHiddenInputProps: (T = {}) => {
|
|
11771
|
-
var
|
|
11772
|
-
const N =
|
|
11771
|
+
var I;
|
|
11772
|
+
const N = In(T), G = {
|
|
11773
11773
|
onChange: Ft(N || {}),
|
|
11774
11774
|
onFocus: He(N || {}),
|
|
11775
11775
|
onBlur: Ue(N || {}),
|
|
@@ -11785,7 +11785,7 @@ function ap(e) {
|
|
|
11785
11785
|
type: "range",
|
|
11786
11786
|
min: e.min,
|
|
11787
11787
|
max: e.max,
|
|
11788
|
-
step: e.step === null && e.marks ? "any" : (
|
|
11788
|
+
step: e.step === null && e.marks ? "any" : (I = e.step) != null ? I : void 0,
|
|
11789
11789
|
disabled: n
|
|
11790
11790
|
}, T, q, {
|
|
11791
11791
|
style: A({}, Ph, {
|
|
@@ -11798,11 +11798,11 @@ function ap(e) {
|
|
|
11798
11798
|
},
|
|
11799
11799
|
getRootProps: Dt,
|
|
11800
11800
|
getThumbProps: (T = {}) => {
|
|
11801
|
-
const
|
|
11802
|
-
onMouseOver: Cr(
|
|
11803
|
-
onMouseLeave: Ar(
|
|
11801
|
+
const I = In(T), N = {
|
|
11802
|
+
onMouseOver: Cr(I || {}),
|
|
11803
|
+
onMouseLeave: Ar(I || {})
|
|
11804
11804
|
};
|
|
11805
|
-
return A({}, T,
|
|
11805
|
+
return A({}, T, I, N);
|
|
11806
11806
|
},
|
|
11807
11807
|
marks: Se,
|
|
11808
11808
|
open: P,
|
|
@@ -11831,7 +11831,7 @@ const Ze = dl("MuiSlider", ["root", "active", "colorPrimary", "colorSecondary",
|
|
|
11831
11831
|
label: Ze.valueLabelLabel
|
|
11832
11832
|
};
|
|
11833
11833
|
};
|
|
11834
|
-
function
|
|
11834
|
+
function Ml(e) {
|
|
11835
11835
|
const {
|
|
11836
11836
|
children: t,
|
|
11837
11837
|
className: r,
|
|
@@ -11853,7 +11853,7 @@ function Il(e) {
|
|
|
11853
11853
|
})]
|
|
11854
11854
|
})) : null;
|
|
11855
11855
|
}
|
|
11856
|
-
process.env.NODE_ENV !== "production" && (
|
|
11856
|
+
process.env.NODE_ENV !== "production" && (Ml.propTypes = {
|
|
11857
11857
|
children: m.element.isRequired,
|
|
11858
11858
|
className: m.string,
|
|
11859
11859
|
value: m.node
|
|
@@ -12179,7 +12179,7 @@ const up = Ct("span", {
|
|
|
12179
12179
|
}
|
|
12180
12180
|
}))]
|
|
12181
12181
|
};
|
|
12182
|
-
}), mp = Ct(
|
|
12182
|
+
}), mp = Ct(Ml, {
|
|
12183
12183
|
name: "MuiSlider",
|
|
12184
12184
|
slot: "ValueLabel",
|
|
12185
12185
|
overridesResolver: (e, t) => t.valueLabel
|
|
@@ -12371,10 +12371,10 @@ const up = Ct("span", {
|
|
|
12371
12371
|
disabled: ["disabled"],
|
|
12372
12372
|
focusVisible: ["focusVisible"]
|
|
12373
12373
|
};
|
|
12374
|
-
return
|
|
12374
|
+
return Ma(u, ip, i);
|
|
12375
12375
|
}, _p = ({
|
|
12376
12376
|
children: e
|
|
12377
|
-
}) => e,
|
|
12377
|
+
}) => e, Il = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
12378
12378
|
var n, o, a, i, l, c, u, d, h, f, b, y, _, g, S, R, C, L, j, P, O, z, ae, ie;
|
|
12379
12379
|
const F = Na({
|
|
12380
12380
|
props: t,
|
|
@@ -12388,7 +12388,7 @@ const up = Ct("span", {
|
|
|
12388
12388
|
components: se = {},
|
|
12389
12389
|
componentsProps: Y = {},
|
|
12390
12390
|
color: Ce = "primary",
|
|
12391
|
-
classes:
|
|
12391
|
+
classes: Me,
|
|
12392
12392
|
className: rt,
|
|
12393
12393
|
disableSwap: xt = !1,
|
|
12394
12394
|
disabled: We = !1,
|
|
@@ -12405,13 +12405,13 @@ const up = Ct("span", {
|
|
|
12405
12405
|
slotProps: E,
|
|
12406
12406
|
slots: Z,
|
|
12407
12407
|
track: ue = "normal",
|
|
12408
|
-
valueLabelDisplay:
|
|
12408
|
+
valueLabelDisplay: Ie = "off",
|
|
12409
12409
|
valueLabelFormat: Le = qs
|
|
12410
12410
|
} = F, Tt = De(F, cp), Re = A({}, F, {
|
|
12411
12411
|
isRtl: K,
|
|
12412
12412
|
max: He,
|
|
12413
12413
|
min: Ue,
|
|
12414
|
-
classes:
|
|
12414
|
+
classes: Me,
|
|
12415
12415
|
disabled: We,
|
|
12416
12416
|
disableSwap: xt,
|
|
12417
12417
|
orientation: lt,
|
|
@@ -12422,7 +12422,7 @@ const up = Ct("span", {
|
|
|
12422
12422
|
shiftStep: ct,
|
|
12423
12423
|
scale: Be,
|
|
12424
12424
|
track: ue,
|
|
12425
|
-
valueLabelDisplay:
|
|
12425
|
+
valueLabelDisplay: Ie,
|
|
12426
12426
|
valueLabelFormat: Le
|
|
12427
12427
|
}), {
|
|
12428
12428
|
axisProps: Et,
|
|
@@ -12433,7 +12433,7 @@ const up = Ct("span", {
|
|
|
12433
12433
|
active: rr,
|
|
12434
12434
|
axis: nt,
|
|
12435
12435
|
focusedThumbIndex: T,
|
|
12436
|
-
range:
|
|
12436
|
+
range: I,
|
|
12437
12437
|
dragging: N,
|
|
12438
12438
|
marks: G,
|
|
12439
12439
|
values: q,
|
|
@@ -12444,7 +12444,7 @@ const up = Ct("span", {
|
|
|
12444
12444
|
rootRef: r
|
|
12445
12445
|
}));
|
|
12446
12446
|
Re.marked = G.length > 0 && G.some((k) => k.label), Re.dragging = N, Re.focusedThumbIndex = T;
|
|
12447
|
-
const Q = yp(Re), ke = (n = (o = Z == null ? void 0 : Z.root) != null ? o : se.Root) != null ? n : up,
|
|
12447
|
+
const Q = yp(Re), ke = (n = (o = Z == null ? void 0 : Z.root) != null ? o : se.Root) != null ? n : up, Mt = (a = (i = Z == null ? void 0 : Z.rail) != null ? i : se.Rail) != null ? a : dp, nr = (l = (c = Z == null ? void 0 : Z.track) != null ? c : se.Track) != null ? l : fp, Or = (u = (d = Z == null ? void 0 : Z.thumb) != null ? d : se.Thumb) != null ? u : hp, St = (h = (f = Z == null ? void 0 : Z.valueLabel) != null ? f : se.ValueLabel) != null ? h : mp, Ut = (b = (y = Z == null ? void 0 : Z.mark) != null ? y : se.Mark) != null ? b : pp, Bt = (_ = (g = Z == null ? void 0 : Z.markLabel) != null ? g : se.MarkLabel) != null ? _ : gp, Tr = (S = (R = Z == null ? void 0 : Z.input) != null ? R : se.Input) != null ? S : "input", Er = (C = E == null ? void 0 : E.root) != null ? C : Y.root, hn = (L = E == null ? void 0 : E.rail) != null ? L : Y.rail, Mr = (j = E == null ? void 0 : E.track) != null ? j : Y.track, or = (P = E == null ? void 0 : E.thumb) != null ? P : Y.thumb, ar = (O = E == null ? void 0 : E.valueLabel) != null ? O : Y.valueLabel, Co = (z = E == null ? void 0 : E.mark) != null ? z : Y.mark, Ao = (ae = E == null ? void 0 : E.markLabel) != null ? ae : Y.markLabel, mn = (ie = E == null ? void 0 : E.input) != null ? ie : Y.input, pn = It({
|
|
12448
12448
|
elementType: ke,
|
|
12449
12449
|
getSlotProps: Dt,
|
|
12450
12450
|
externalSlotProps: Er,
|
|
@@ -12454,51 +12454,51 @@ const up = Ct("span", {
|
|
|
12454
12454
|
}),
|
|
12455
12455
|
ownerState: A({}, Re, Er == null ? void 0 : Er.ownerState),
|
|
12456
12456
|
className: [Q.root, rt]
|
|
12457
|
-
}), Po =
|
|
12458
|
-
elementType:
|
|
12457
|
+
}), Po = It({
|
|
12458
|
+
elementType: Mt,
|
|
12459
12459
|
externalSlotProps: hn,
|
|
12460
12460
|
ownerState: Re,
|
|
12461
12461
|
className: Q.rail
|
|
12462
|
-
}), Oo =
|
|
12462
|
+
}), Oo = It({
|
|
12463
12463
|
elementType: nr,
|
|
12464
|
-
externalSlotProps:
|
|
12464
|
+
externalSlotProps: Mr,
|
|
12465
12465
|
additionalProps: {
|
|
12466
12466
|
style: A({}, Et[nt].offset(W), Et[nt].leap(Je))
|
|
12467
12467
|
},
|
|
12468
|
-
ownerState: A({}, Re,
|
|
12468
|
+
ownerState: A({}, Re, Mr == null ? void 0 : Mr.ownerState),
|
|
12469
12469
|
className: Q.track
|
|
12470
|
-
}),
|
|
12470
|
+
}), Ir = It({
|
|
12471
12471
|
elementType: Or,
|
|
12472
12472
|
getSlotProps: Ar,
|
|
12473
12473
|
externalSlotProps: or,
|
|
12474
12474
|
ownerState: A({}, Re, or == null ? void 0 : or.ownerState),
|
|
12475
12475
|
className: Q.thumb
|
|
12476
|
-
}), To =
|
|
12476
|
+
}), To = It({
|
|
12477
12477
|
elementType: St,
|
|
12478
12478
|
externalSlotProps: ar,
|
|
12479
12479
|
ownerState: A({}, Re, ar == null ? void 0 : ar.ownerState),
|
|
12480
12480
|
className: Q.valueLabel
|
|
12481
|
-
}), p =
|
|
12481
|
+
}), p = It({
|
|
12482
12482
|
elementType: Ut,
|
|
12483
12483
|
externalSlotProps: Co,
|
|
12484
12484
|
ownerState: Re,
|
|
12485
12485
|
className: Q.mark
|
|
12486
|
-
}), w =
|
|
12486
|
+
}), w = It({
|
|
12487
12487
|
elementType: Bt,
|
|
12488
12488
|
externalSlotProps: Ao,
|
|
12489
12489
|
ownerState: Re,
|
|
12490
12490
|
className: Q.markLabel
|
|
12491
|
-
}),
|
|
12491
|
+
}), M = It({
|
|
12492
12492
|
elementType: Tr,
|
|
12493
12493
|
getSlotProps: Cr,
|
|
12494
12494
|
externalSlotProps: mn,
|
|
12495
12495
|
ownerState: Re
|
|
12496
12496
|
});
|
|
12497
12497
|
return /* @__PURE__ */ s.jsxs(ke, A({}, pn, {
|
|
12498
|
-
children: [/* @__PURE__ */ s.jsx(
|
|
12498
|
+
children: [/* @__PURE__ */ s.jsx(Mt, A({}, Po)), /* @__PURE__ */ s.jsx(nr, A({}, Oo)), G.filter((k) => k.value >= Ue && k.value <= He).map((k, D) => {
|
|
12499
12499
|
const ee = qn(k.value, Ue, He), J = Et[nt].offset(ee);
|
|
12500
12500
|
let U;
|
|
12501
|
-
return ue === !1 ? U = q.indexOf(k.value) !== -1 : U = ue === "normal" && (
|
|
12501
|
+
return ue === !1 ? U = q.indexOf(k.value) !== -1 : U = ue === "normal" && (I ? k.value >= q[0] && k.value <= q[q.length - 1] : k.value <= q[0]) || ue === "inverted" && (I ? k.value <= q[0] || k.value >= q[q.length - 1] : k.value >= q[0]), /* @__PURE__ */ s.jsxs($.Fragment, {
|
|
12502
12502
|
children: [/* @__PURE__ */ s.jsx(Ut, A({
|
|
12503
12503
|
"data-index": D
|
|
12504
12504
|
}, p, !Gr(Ut) && {
|
|
@@ -12518,22 +12518,22 @@ const up = Ct("span", {
|
|
|
12518
12518
|
})) : null]
|
|
12519
12519
|
}, D);
|
|
12520
12520
|
}), q.map((k, D) => {
|
|
12521
|
-
const ee = qn(k, Ue, He), J = Et[nt].offset(ee), U =
|
|
12521
|
+
const ee = qn(k, Ue, He), J = Et[nt].offset(ee), U = Ie === "off" ? _p : St;
|
|
12522
12522
|
return (
|
|
12523
12523
|
/* TODO v6: Change component structure. It will help in avoiding the complicated React.cloneElement API added in SliderValueLabel component. Should be: Thumb -> Input, ValueLabel. Follow Joy UI's Slider structure. */
|
|
12524
12524
|
/* @__PURE__ */ s.jsx(U, A({}, !Gr(U) && {
|
|
12525
12525
|
valueLabelFormat: Le,
|
|
12526
|
-
valueLabelDisplay:
|
|
12526
|
+
valueLabelDisplay: Ie,
|
|
12527
12527
|
value: typeof Le == "function" ? Le(Be(k), D) : Le,
|
|
12528
12528
|
index: D,
|
|
12529
|
-
open: Pr === D || rr === D ||
|
|
12529
|
+
open: Pr === D || rr === D || Ie === "on",
|
|
12530
12530
|
disabled: We
|
|
12531
12531
|
}, To, {
|
|
12532
12532
|
children: /* @__PURE__ */ s.jsx(Or, A({
|
|
12533
12533
|
"data-index": D
|
|
12534
|
-
},
|
|
12535
|
-
className: mt(Q.thumb,
|
|
12536
|
-
style: A({}, J, Ke(D),
|
|
12534
|
+
}, Ir, {
|
|
12535
|
+
className: mt(Q.thumb, Ir.className, rr === D && Q.active, T === D && Q.focusVisible),
|
|
12536
|
+
style: A({}, J, Ke(D), Ir.style),
|
|
12537
12537
|
children: /* @__PURE__ */ s.jsx(Tr, A({
|
|
12538
12538
|
"data-index": D,
|
|
12539
12539
|
"aria-label": we ? we(D) : V,
|
|
@@ -12541,14 +12541,14 @@ const up = Ct("span", {
|
|
|
12541
12541
|
"aria-labelledby": H,
|
|
12542
12542
|
"aria-valuetext": Ot ? Ot(Be(k), D) : X,
|
|
12543
12543
|
value: q[D]
|
|
12544
|
-
},
|
|
12544
|
+
}, M))
|
|
12545
12545
|
}))
|
|
12546
12546
|
}), D)
|
|
12547
12547
|
);
|
|
12548
12548
|
})]
|
|
12549
12549
|
}));
|
|
12550
12550
|
});
|
|
12551
|
-
process.env.NODE_ENV !== "production" && (
|
|
12551
|
+
process.env.NODE_ENV !== "production" && (Il.propTypes = {
|
|
12552
12552
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
12553
12553
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
12554
12554
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -12836,7 +12836,7 @@ const vp = _t((e) => {
|
|
|
12836
12836
|
}
|
|
12837
12837
|
),
|
|
12838
12838
|
/* @__PURE__ */ s.jsx(
|
|
12839
|
-
|
|
12839
|
+
Il,
|
|
12840
12840
|
{
|
|
12841
12841
|
value: e.velocity,
|
|
12842
12842
|
onChange: n,
|
|
@@ -12890,7 +12890,7 @@ const vp = _t((e) => {
|
|
|
12890
12890
|
}, r) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
12891
12891
|
e && /* @__PURE__ */ s.jsx(Jr, { children: e }),
|
|
12892
12892
|
/* @__PURE__ */ s.jsx(
|
|
12893
|
-
|
|
12893
|
+
Mc,
|
|
12894
12894
|
{
|
|
12895
12895
|
ref: r,
|
|
12896
12896
|
sx: {
|
|
@@ -12987,10 +12987,10 @@ function Ep(e) {
|
|
|
12987
12987
|
var t = this.__data__, r = t.delete(e);
|
|
12988
12988
|
return this.size = t.size, r;
|
|
12989
12989
|
}
|
|
12990
|
-
function
|
|
12990
|
+
function Mp(e) {
|
|
12991
12991
|
return this.__data__.get(e);
|
|
12992
12992
|
}
|
|
12993
|
-
function
|
|
12993
|
+
function Ip(e) {
|
|
12994
12994
|
return this.__data__.has(e);
|
|
12995
12995
|
}
|
|
12996
12996
|
var Lp = "[object AsyncFunction]", kp = "[object Function]", $p = "[object GeneratorFunction]", Np = "[object Proxy]";
|
|
@@ -13134,8 +13134,8 @@ function Rt(e) {
|
|
|
13134
13134
|
}
|
|
13135
13135
|
Rt.prototype.clear = Tp;
|
|
13136
13136
|
Rt.prototype.delete = Ep;
|
|
13137
|
-
Rt.prototype.get =
|
|
13138
|
-
Rt.prototype.has =
|
|
13137
|
+
Rt.prototype.get = Mp;
|
|
13138
|
+
Rt.prototype.has = Ip;
|
|
13139
13139
|
Rt.prototype.set = mg;
|
|
13140
13140
|
var pg = "__lodash_hash_undefined__";
|
|
13141
13141
|
function gg(e) {
|
|
@@ -13207,7 +13207,7 @@ function wg(e) {
|
|
|
13207
13207
|
r[++t] = n;
|
|
13208
13208
|
}), r;
|
|
13209
13209
|
}
|
|
13210
|
-
var Rg = 1, jg = 2, Cg = "[object Boolean]", Ag = "[object Date]", Pg = "[object Error]", Og = "[object Map]", Tg = "[object Number]", Eg = "[object RegExp]",
|
|
13210
|
+
var Rg = 1, jg = 2, Cg = "[object Boolean]", Ag = "[object Date]", Pg = "[object Error]", Og = "[object Map]", Tg = "[object Number]", Eg = "[object RegExp]", Mg = "[object Set]", Ig = "[object String]", Lg = "[object Symbol]", kg = "[object ArrayBuffer]", $g = "[object DataView]", Qs = $t ? $t.prototype : void 0, Go = Qs ? Qs.valueOf : void 0;
|
|
13211
13211
|
function Ng(e, t, r, n, o, a, i) {
|
|
13212
13212
|
switch (r) {
|
|
13213
13213
|
case $g:
|
|
@@ -13223,11 +13223,11 @@ function Ng(e, t, r, n, o, a, i) {
|
|
|
13223
13223
|
case Pg:
|
|
13224
13224
|
return e.name == t.name && e.message == t.message;
|
|
13225
13225
|
case Eg:
|
|
13226
|
-
case
|
|
13226
|
+
case Ig:
|
|
13227
13227
|
return e == t + "";
|
|
13228
13228
|
case Og:
|
|
13229
13229
|
var l = Sg;
|
|
13230
|
-
case
|
|
13230
|
+
case Mg:
|
|
13231
13231
|
var c = n & Rg;
|
|
13232
13232
|
if (l || (l = wg), e.size != t.size && !c)
|
|
13233
13233
|
return !1;
|
|
@@ -13323,18 +13323,18 @@ function Ty(e, t) {
|
|
|
13323
13323
|
return l;
|
|
13324
13324
|
}
|
|
13325
13325
|
var Ey = Object.prototype;
|
|
13326
|
-
function
|
|
13326
|
+
function My(e) {
|
|
13327
13327
|
var t = e && e.constructor, r = typeof t == "function" && t.prototype || Ey;
|
|
13328
13328
|
return e === r;
|
|
13329
13329
|
}
|
|
13330
|
-
function
|
|
13330
|
+
function Iy(e, t) {
|
|
13331
13331
|
return function(r) {
|
|
13332
13332
|
return e(t(r));
|
|
13333
13333
|
};
|
|
13334
13334
|
}
|
|
13335
|
-
var Ly =
|
|
13335
|
+
var Ly = Iy(Object.keys, Object), ky = Object.prototype, $y = ky.hasOwnProperty;
|
|
13336
13336
|
function Ny(e) {
|
|
13337
|
-
if (!
|
|
13337
|
+
if (!My(e))
|
|
13338
13338
|
return Ly(e);
|
|
13339
13339
|
var t = [];
|
|
13340
13340
|
for (var r in Object(e))
|
|
@@ -13942,13 +13942,13 @@ function O1(e, t) {
|
|
|
13942
13942
|
return e != null && P1(e, t, A1);
|
|
13943
13943
|
}
|
|
13944
13944
|
var T1 = 1, E1 = 2;
|
|
13945
|
-
function
|
|
13945
|
+
function M1(e, t) {
|
|
13946
13946
|
return Ja(e) && Wl(t) ? Hl(xo(e), t) : function(r) {
|
|
13947
13947
|
var n = C1(r, e);
|
|
13948
13948
|
return n === void 0 && n === t ? O1(r, e) : bo(t, n, T1 | E1);
|
|
13949
13949
|
};
|
|
13950
13950
|
}
|
|
13951
|
-
function
|
|
13951
|
+
function I1(e) {
|
|
13952
13952
|
return e;
|
|
13953
13953
|
}
|
|
13954
13954
|
function L1(e) {
|
|
@@ -13965,7 +13965,7 @@ function $1(e) {
|
|
|
13965
13965
|
return Ja(e) ? L1(xo(e)) : k1(e);
|
|
13966
13966
|
}
|
|
13967
13967
|
function N1(e) {
|
|
13968
|
-
return typeof e == "function" ? e : e == null ?
|
|
13968
|
+
return typeof e == "function" ? e : e == null ? I1 : typeof e == "object" ? yt(e) ? M1(e[0], e[1]) : m1(e) : $1(e);
|
|
13969
13969
|
}
|
|
13970
13970
|
function F1(e, t) {
|
|
13971
13971
|
return function(r, n) {
|
|
@@ -14619,12 +14619,12 @@ const dc = {
|
|
|
14619
14619
|
silentJSONParsing: !0,
|
|
14620
14620
|
forcedJSONParsing: !0,
|
|
14621
14621
|
clarifyTimeoutError: !1
|
|
14622
|
-
}, E_ = typeof URLSearchParams < "u" ? URLSearchParams : Wa,
|
|
14622
|
+
}, E_ = typeof URLSearchParams < "u" ? URLSearchParams : Wa, M_ = typeof FormData < "u" ? FormData : null, I_ = typeof Blob < "u" ? Blob : null, L_ = {
|
|
14623
14623
|
isBrowser: !0,
|
|
14624
14624
|
classes: {
|
|
14625
14625
|
URLSearchParams: E_,
|
|
14626
|
-
FormData:
|
|
14627
|
-
Blob:
|
|
14626
|
+
FormData: M_,
|
|
14627
|
+
Blob: I_
|
|
14628
14628
|
},
|
|
14629
14629
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
14630
14630
|
}, Ha = typeof window < "u" && typeof document < "u", k_ = ((e) => Ha && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), $_ = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
@@ -15831,7 +15831,7 @@ xe.HttpStatusCode = xa;
|
|
|
15831
15831
|
xe.default = xe;
|
|
15832
15832
|
const {
|
|
15833
15833
|
Axios: Xb,
|
|
15834
|
-
AxiosError:
|
|
15834
|
+
AxiosError: Mi,
|
|
15835
15835
|
CanceledError: qb,
|
|
15836
15836
|
isCancel: Yb,
|
|
15837
15837
|
CancelToken: Zb,
|
|
@@ -15856,7 +15856,7 @@ function gb(e) {
|
|
|
15856
15856
|
}
|
|
15857
15857
|
function yb(e) {
|
|
15858
15858
|
var t, r, n, o;
|
|
15859
|
-
return e instanceof
|
|
15859
|
+
return e instanceof Mi && e.code === "ERR_NETWORK" ? "Failed to connect to the server. Please check your internet connection." : e instanceof Mi && e.response ? `${(t = e.response) == null ? void 0 : t.status} ${(r = e.response) == null ? void 0 : r.statusText} from ${(n = e.response) == null ? void 0 : n.config.url}: ${JSON.stringify((o = e.response) == null ? void 0 : o.data)}` : e instanceof Error ? e.message : `Unexpected error: ${gb(e) || e}`;
|
|
15860
15860
|
}
|
|
15861
15861
|
const _b = (e) => {
|
|
15862
15862
|
const t = e.softTimeout || 3e3, [r, n] = eo(!1);
|
|
@@ -15873,7 +15873,7 @@ const _b = (e) => {
|
|
|
15873
15873
|
alignItems: "center",
|
|
15874
15874
|
justifyContent: "center",
|
|
15875
15875
|
children: e.error ? /* @__PURE__ */ s.jsx(bb, { message: e.message, error: e.error }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
15876
|
-
/* @__PURE__ */ s.jsx(
|
|
15876
|
+
/* @__PURE__ */ s.jsx(Ic, { sx: { marginBottom: "24px" } }),
|
|
15877
15877
|
!!e.message && /* @__PURE__ */ s.jsx("div", { children: e.message }),
|
|
15878
15878
|
/* @__PURE__ */ s.jsx(
|
|
15879
15879
|
he,
|
|
@@ -15962,9 +15962,9 @@ const _b = (e) => {
|
|
|
15962
15962
|
(l = r.joggingStore) == null ? void 0 : l.activeCoordSystemId,
|
|
15963
15963
|
(c = r.joggingStore) == null ? void 0 : c.selectedDiscreteIncrement
|
|
15964
15964
|
]), !r.joggingStore || r.loadingError)
|
|
15965
|
-
return /* @__PURE__ */ s.jsx(
|
|
15965
|
+
return /* @__PURE__ */ s.jsx(Ii, { children: /* @__PURE__ */ s.jsx(_b, { message: "Loading jogging", error: r.loadingError }) });
|
|
15966
15966
|
const { joggingStore: o } = r;
|
|
15967
|
-
return /* @__PURE__ */ s.jsx(
|
|
15967
|
+
return /* @__PURE__ */ s.jsx(Ii, { children: /* @__PURE__ */ s.jsxs(he, { flexGrow: 1, children: [
|
|
15968
15968
|
/* @__PURE__ */ s.jsx(Lc, { value: o.tabIndex, onChange: o.onTabChange, children: o.tabs.map((u) => /* @__PURE__ */ s.jsx(
|
|
15969
15969
|
kc,
|
|
15970
15970
|
{
|
|
@@ -15982,7 +15982,7 @@ const _b = (e) => {
|
|
|
15982
15982
|
] }) });
|
|
15983
15983
|
})
|
|
15984
15984
|
);
|
|
15985
|
-
function
|
|
15985
|
+
function Ii({ children: e }) {
|
|
15986
15986
|
return /* @__PURE__ */ s.jsx(
|
|
15987
15987
|
he,
|
|
15988
15988
|
{
|