@wandelbots/wandelbots-js-react-components 1.17.6 → 1.17.8
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/components/jogging/JoggingCartesianTab.d.ts +3 -1
- package/dist/components/jogging/JoggingCartesianTab.d.ts.map +1 -1
- package/dist/components/jogging/JoggingJointTab.d.ts +3 -1
- package/dist/components/jogging/JoggingJointTab.d.ts.map +1 -1
- package/dist/index.cjs +19 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +405 -394
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/TransparentOverlay.tsx +1 -1
- package/src/components/VelocitySlider.tsx +1 -1
- package/src/components/jogging/JoggingCartesianTab.tsx +106 -88
- package/src/components/jogging/JoggingJointTab.tsx +3 -2
- package/src/components/jogging/JoggingPanel.tsx +2 -4
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as $ from "react";
|
|
2
2
|
import ki, { useState as ea, useEffect as Gt, lazy as zu, useRef as kt, Suspense as Li, useCallback as Gu, forwardRef as Yt } from "react";
|
|
3
|
-
import { Stack as
|
|
3
|
+
import { Stack as oe, CircularProgress as Wu, useTheme as wo, capitalize as Ku, Button as Kr, Typography as pt, IconButton as Zo, Slider as Hu, InputLabel as Jr, Chip as Xu, Select as Ia, MenuItem as yn, ToggleButtonGroup as $i, ToggleButton as Dn, Paper as qu, Tabs as Yu, Tab as Zu, Dialog as Qu, DialogTitle as ec, DialogContent as tc, DialogActions as rc } from "@mui/material";
|
|
4
4
|
import { I18nextProvider as nc, useTranslation as Zt } from "react-i18next";
|
|
5
5
|
import ac from "i18next-browser-languagedetector";
|
|
6
6
|
import { lowerFirst as oc, omit as sc, isString as ic } from "lodash-es";
|
|
@@ -98,14 +98,14 @@ function Pc() {
|
|
|
98
98
|
ee.unshift("Warning: " + w), Function.prototype.apply.call(console[p], console, ee);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
var k = !1, R = !1, P = !1, O = !1, z = !1,
|
|
102
|
-
|
|
101
|
+
var k = !1, R = !1, P = !1, O = !1, z = !1, se;
|
|
102
|
+
se = Symbol.for("react.module.reference");
|
|
103
103
|
function le(p) {
|
|
104
104
|
return !!(typeof p == "string" || typeof p == "function" || p === r || p === s || z || p === a || p === c || p === d || O || p === v || k || R || P || typeof p == "object" && p !== null && (p.$$typeof === h || p.$$typeof === m || p.$$typeof === i || p.$$typeof === l || p.$$typeof === u || // This needs to include all possible module reference object
|
|
105
105
|
// types supported by any Flight configuration anywhere since
|
|
106
106
|
// we don't know which Flight build this will end up being used
|
|
107
107
|
// with.
|
|
108
|
-
p.$$typeof ===
|
|
108
|
+
p.$$typeof === se || p.getModuleId !== void 0));
|
|
109
109
|
}
|
|
110
110
|
function F(p, w, T) {
|
|
111
111
|
var L = p.displayName;
|
|
@@ -162,14 +162,14 @@ function Pc() {
|
|
|
162
162
|
}
|
|
163
163
|
return null;
|
|
164
164
|
}
|
|
165
|
-
var X = Object.assign, K = 0, xe,
|
|
165
|
+
var X = Object.assign, K = 0, xe, ie, Y, je, Ie, rt, _t;
|
|
166
166
|
function Ge() {
|
|
167
167
|
}
|
|
168
168
|
Ge.__reactDisabledLog = !0;
|
|
169
169
|
function Se() {
|
|
170
170
|
{
|
|
171
171
|
if (K === 0) {
|
|
172
|
-
xe = console.log,
|
|
172
|
+
xe = console.log, ie = console.info, Y = console.warn, je = console.error, Ie = console.group, rt = console.groupCollapsed, _t = console.groupEnd;
|
|
173
173
|
var p = {
|
|
174
174
|
configurable: !0,
|
|
175
175
|
enumerable: !0,
|
|
@@ -202,7 +202,7 @@ function Pc() {
|
|
|
202
202
|
value: xe
|
|
203
203
|
}),
|
|
204
204
|
info: X({}, p, {
|
|
205
|
-
value:
|
|
205
|
+
value: ie
|
|
206
206
|
}),
|
|
207
207
|
warn: X({}, p, {
|
|
208
208
|
value: Y
|
|
@@ -291,17 +291,17 @@ function Pc() {
|
|
|
291
291
|
}
|
|
292
292
|
} catch (Le) {
|
|
293
293
|
if (Le && L && typeof Le.stack == "string") {
|
|
294
|
-
for (var
|
|
294
|
+
for (var B = Le.stack.split(`
|
|
295
295
|
`), Me = L.stack.split(`
|
|
296
|
-
`), pe =
|
|
296
|
+
`), pe = B.length - 1, _e = Me.length - 1; pe >= 1 && _e >= 0 && B[pe] !== Me[_e]; )
|
|
297
297
|
_e--;
|
|
298
298
|
for (; pe >= 1 && _e >= 0; pe--, _e--)
|
|
299
|
-
if (
|
|
299
|
+
if (B[pe] !== Me[_e]) {
|
|
300
300
|
if (pe !== 1 || _e !== 1)
|
|
301
301
|
do
|
|
302
|
-
if (pe--, _e--, _e < 0 ||
|
|
302
|
+
if (pe--, _e--, _e < 0 || B[pe] !== Me[_e]) {
|
|
303
303
|
var He = `
|
|
304
|
-
` +
|
|
304
|
+
` + B[pe].replace(" at new ", " at ");
|
|
305
305
|
return p.displayName && He.includes("<anonymous>") && (He = He.replace("<anonymous>", p.displayName)), typeof p == "function" && ut.set(p, He), He;
|
|
306
306
|
}
|
|
307
307
|
while (pe >= 1 && _e >= 0);
|
|
@@ -311,10 +311,10 @@ function Pc() {
|
|
|
311
311
|
} finally {
|
|
312
312
|
lt = !1, it.current = ee, At(), Error.prepareStackTrace = D;
|
|
313
313
|
}
|
|
314
|
-
var sr = p ? p.displayName || p.name : "",
|
|
315
|
-
return typeof p == "function" && ut.set(p,
|
|
314
|
+
var sr = p ? p.displayName || p.name : "", Ut = sr ? De(sr) : "";
|
|
315
|
+
return typeof p == "function" && ut.set(p, Ut), Ut;
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function Be(p, w, T) {
|
|
318
318
|
return vt(p, !1);
|
|
319
319
|
}
|
|
320
320
|
function I(p) {
|
|
@@ -337,7 +337,7 @@ function Pc() {
|
|
|
337
337
|
if (typeof p == "object")
|
|
338
338
|
switch (p.$$typeof) {
|
|
339
339
|
case u:
|
|
340
|
-
return
|
|
340
|
+
return Be(p.render);
|
|
341
341
|
case m:
|
|
342
342
|
return Z(p.type, w, T);
|
|
343
343
|
case h: {
|
|
@@ -363,17 +363,17 @@ function Pc() {
|
|
|
363
363
|
var ee = Function.call.bind(de);
|
|
364
364
|
for (var J in p)
|
|
365
365
|
if (ee(p, J)) {
|
|
366
|
-
var
|
|
366
|
+
var B = void 0;
|
|
367
367
|
try {
|
|
368
368
|
if (typeof p[J] != "function") {
|
|
369
369
|
var Me = Error((L || "React class") + ": " + T + " 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`.");
|
|
370
370
|
throw Me.name = "Invariant Violation", Me;
|
|
371
371
|
}
|
|
372
|
-
|
|
372
|
+
B = p[J](w, J, L, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
373
373
|
} catch (pe) {
|
|
374
|
-
|
|
374
|
+
B = pe;
|
|
375
375
|
}
|
|
376
|
-
|
|
376
|
+
B && !(B instanceof Error) && (Pt(D), j("%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).", L || "React class", T, J, typeof B), Pt(null)), B instanceof Error && !(B.message in Te) && (Te[B.message] = !0, Pt(D), j("Failed %s type: %s", T, B.message), Pt(null));
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
}
|
|
@@ -424,7 +424,7 @@ function Pc() {
|
|
|
424
424
|
}
|
|
425
425
|
return p.key !== void 0;
|
|
426
426
|
}
|
|
427
|
-
function
|
|
427
|
+
function Ue(p, w) {
|
|
428
428
|
if (typeof p.ref == "string" && nt.current && w && nt.current.stateNode !== w) {
|
|
429
429
|
var T = V(nt.current.type);
|
|
430
430
|
G[T] || (j('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[T] = !0);
|
|
@@ -453,7 +453,7 @@ function Pc() {
|
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
var ke = function(p, w, T, L, D, ee, J) {
|
|
456
|
-
var
|
|
456
|
+
var B = {
|
|
457
457
|
// This tag allows us to uniquely identify this as a React Element
|
|
458
458
|
$$typeof: t,
|
|
459
459
|
// Built-in properties that belong on the element
|
|
@@ -464,27 +464,27 @@ function Pc() {
|
|
|
464
464
|
// Record the component responsible for creating this element.
|
|
465
465
|
_owner: ee
|
|
466
466
|
};
|
|
467
|
-
return
|
|
467
|
+
return B._store = {}, Object.defineProperty(B._store, "validated", {
|
|
468
468
|
configurable: !1,
|
|
469
469
|
enumerable: !1,
|
|
470
470
|
writable: !0,
|
|
471
471
|
value: !1
|
|
472
|
-
}), Object.defineProperty(
|
|
472
|
+
}), Object.defineProperty(B, "_self", {
|
|
473
473
|
configurable: !1,
|
|
474
474
|
enumerable: !1,
|
|
475
475
|
writable: !1,
|
|
476
476
|
value: L
|
|
477
|
-
}), Object.defineProperty(
|
|
477
|
+
}), Object.defineProperty(B, "_source", {
|
|
478
478
|
configurable: !1,
|
|
479
479
|
enumerable: !1,
|
|
480
480
|
writable: !1,
|
|
481
481
|
value: D
|
|
482
|
-
}), Object.freeze && (Object.freeze(
|
|
482
|
+
}), Object.freeze && (Object.freeze(B.props), Object.freeze(B)), B;
|
|
483
483
|
};
|
|
484
484
|
function Mt(p, w, T, L, D) {
|
|
485
485
|
{
|
|
486
|
-
var ee, J = {},
|
|
487
|
-
T !== void 0 && (rr(T),
|
|
486
|
+
var ee, J = {}, B = null, Me = null;
|
|
487
|
+
T !== void 0 && (rr(T), B = "" + T), W(w) && (rr(w.key), B = "" + w.key), q(w) && (Me = w.ref, Ue(w, D));
|
|
488
488
|
for (ee in w)
|
|
489
489
|
de.call(w, ee) && !M.hasOwnProperty(ee) && (J[ee] = w[ee]);
|
|
490
490
|
if (p && p.defaultProps) {
|
|
@@ -492,11 +492,11 @@ function Pc() {
|
|
|
492
492
|
for (ee in pe)
|
|
493
493
|
J[ee] === void 0 && (J[ee] = pe[ee]);
|
|
494
494
|
}
|
|
495
|
-
if (
|
|
495
|
+
if (B || Me) {
|
|
496
496
|
var _e = typeof p == "function" ? p.displayName || p.name || "Unknown" : p;
|
|
497
|
-
|
|
497
|
+
B && Ke(J, _e), Me && Q(J, _e);
|
|
498
498
|
}
|
|
499
|
-
return ke(p,
|
|
499
|
+
return ke(p, B, Me, D, L, nt.current, J);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
var nr = S.ReactCurrentOwner, Or = S.ReactDebugCurrentFrame;
|
|
@@ -509,7 +509,7 @@ function Pc() {
|
|
|
509
509
|
}
|
|
510
510
|
var Dt;
|
|
511
511
|
Dt = !1;
|
|
512
|
-
function
|
|
512
|
+
function Bt(p) {
|
|
513
513
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
514
514
|
}
|
|
515
515
|
function Mr() {
|
|
@@ -560,15 +560,15 @@ Check the top-level render call using <` + T + ">.");
|
|
|
560
560
|
if (Ft(p))
|
|
561
561
|
for (var T = 0; T < p.length; T++) {
|
|
562
562
|
var L = p[T];
|
|
563
|
-
|
|
563
|
+
Bt(L) && ar(L, w);
|
|
564
564
|
}
|
|
565
|
-
else if (
|
|
565
|
+
else if (Bt(p))
|
|
566
566
|
p._store && (p._store.validated = !0);
|
|
567
567
|
else if (p) {
|
|
568
568
|
var D = g(p);
|
|
569
569
|
if (typeof D == "function" && D !== p.entries)
|
|
570
570
|
for (var ee = D.call(p), J; !(J = ee.next()).done; )
|
|
571
|
-
|
|
571
|
+
Bt(J.value) && ar(J.value, w);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
}
|
|
@@ -614,12 +614,12 @@ Check the top-level render call using <` + T + ">.");
|
|
|
614
614
|
{
|
|
615
615
|
var J = le(p);
|
|
616
616
|
if (!J) {
|
|
617
|
-
var
|
|
618
|
-
(p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (
|
|
617
|
+
var B = "";
|
|
618
|
+
(p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (B += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
619
619
|
var Me = Ir();
|
|
620
|
-
Me ?
|
|
620
|
+
Me ? B += Me : B += Mr();
|
|
621
621
|
var pe;
|
|
622
|
-
p === null ? pe = "null" : Ft(p) ? pe = "array" : p !== void 0 && p.$$typeof === t ? (pe = "<" + (V(p.type) || "Unknown") + " />",
|
|
622
|
+
p === null ? pe = "null" : Ft(p) ? pe = "array" : p !== void 0 && p.$$typeof === t ? (pe = "<" + (V(p.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof p, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, B);
|
|
623
623
|
}
|
|
624
624
|
var _e = Mt(p, w, T, D, ee);
|
|
625
625
|
if (_e == null)
|
|
@@ -638,17 +638,17 @@ Check the top-level render call using <` + T + ">.");
|
|
|
638
638
|
or(He, p);
|
|
639
639
|
}
|
|
640
640
|
if (de.call(w, "key")) {
|
|
641
|
-
var
|
|
641
|
+
var Ut = V(p), Le = Object.keys(w).filter(function(Vu) {
|
|
642
642
|
return Vu !== "key";
|
|
643
643
|
}), Ma = Le.length > 0 ? "{key: someKey, " + Le.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
644
|
-
if (!pn[
|
|
644
|
+
if (!pn[Ut + Ma]) {
|
|
645
645
|
var Ju = Le.length > 0 ? "{" + Le.join(": ..., ") + ": ...}" : "{}";
|
|
646
646
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
647
647
|
let props = %s;
|
|
648
648
|
<%s {...props} />
|
|
649
649
|
React keys must be passed directly to JSX without using spread:
|
|
650
650
|
let props = %s;
|
|
651
|
-
<%s key={someKey} {...props} />`, Ma,
|
|
651
|
+
<%s key={someKey} {...props} />`, Ma, Ut, Ju, Ut), pn[Ut + Ma] = !0;
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
return p === r ? Ca(_e) : Ra(_e), _e;
|
|
@@ -740,7 +740,7 @@ const Oc = {
|
|
|
740
740
|
console && console[e] && console[e].apply(console, t);
|
|
741
741
|
}
|
|
742
742
|
};
|
|
743
|
-
class
|
|
743
|
+
class Bn {
|
|
744
744
|
constructor(t) {
|
|
745
745
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
746
746
|
this.init(t, n);
|
|
@@ -773,16 +773,16 @@ class Un {
|
|
|
773
773
|
return a && !this.debug ? null : (typeof t[0] == "string" && (t[0] = `${r}${this.prefix} ${t[0]}`), this.logger[n](t));
|
|
774
774
|
}
|
|
775
775
|
create(t) {
|
|
776
|
-
return new
|
|
776
|
+
return new Bn(this.logger, {
|
|
777
777
|
prefix: `${this.prefix}:${t}:`,
|
|
778
778
|
...this.options
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
781
|
clone(t) {
|
|
782
|
-
return t = t || this.options, t.prefix = t.prefix || this.prefix, new
|
|
782
|
+
return t = t || this.options, t.prefix = t.prefix || this.prefix, new Bn(this.logger, t);
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
|
-
var ht = new
|
|
785
|
+
var ht = new Bn();
|
|
786
786
|
class ta {
|
|
787
787
|
constructor() {
|
|
788
788
|
this.observers = {};
|
|
@@ -858,7 +858,7 @@ const Nr = () => {
|
|
|
858
858
|
k: s
|
|
859
859
|
} = Vr(e, t, Object);
|
|
860
860
|
a[s] = a[s] || [], a[s].push(n);
|
|
861
|
-
},
|
|
861
|
+
}, Un = (e, t) => {
|
|
862
862
|
const {
|
|
863
863
|
obj: n,
|
|
864
864
|
k: r
|
|
@@ -866,8 +866,8 @@ const Nr = () => {
|
|
|
866
866
|
if (n)
|
|
867
867
|
return n[r];
|
|
868
868
|
}, kc = (e, t, n) => {
|
|
869
|
-
const r =
|
|
870
|
-
return r !== void 0 ? r :
|
|
869
|
+
const r = Un(e, n);
|
|
870
|
+
return r !== void 0 ? r : Un(t, n);
|
|
871
871
|
}, Di = (e, t, n) => {
|
|
872
872
|
for (const r in t)
|
|
873
873
|
r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Di(e[r], t[r], n) : e[r] = t[r]);
|
|
@@ -894,7 +894,7 @@ class Nc {
|
|
|
894
894
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(t, r), this.regExpQueue.push(t), r;
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
|
-
const Fc = [" ", ",", "?", "!", ";"], Dc = new Nc(20),
|
|
897
|
+
const Fc = [" ", ",", "?", "!", ";"], Dc = new Nc(20), Bc = (e, t, n) => {
|
|
898
898
|
t = t || "", n = n || "";
|
|
899
899
|
const r = Fc.filter((i) => t.indexOf(i) < 0 && n.indexOf(i) < 0);
|
|
900
900
|
if (r.length === 0) return !0;
|
|
@@ -946,7 +946,7 @@ class ss extends ta {
|
|
|
946
946
|
const s = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator, i = a.ignoreJSONStructure !== void 0 ? a.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
947
947
|
let l;
|
|
948
948
|
t.indexOf(".") > -1 ? l = t.split(".") : (l = [t, n], r && (Array.isArray(r) ? l.push(...r) : typeof r == "string" && s ? l.push(...r.split(s)) : l.push(r)));
|
|
949
|
-
const u =
|
|
949
|
+
const u = Un(this.data, l);
|
|
950
950
|
return !u && !n && !r && t.indexOf(".") > -1 && (t = l[0], n = l[1], r = l.slice(2).join(".")), u || !i || typeof r != "string" ? u : Ya(this.data && this.data[t] && this.data[t][n], r, s);
|
|
951
951
|
}
|
|
952
952
|
addResource(t, n, r, a) {
|
|
@@ -973,7 +973,7 @@ class ss extends ta {
|
|
|
973
973
|
skipCopy: !1
|
|
974
974
|
}, l = [t, n];
|
|
975
975
|
t.indexOf(".") > -1 && (l = t.split("."), a = r, r = n, n = l[1]), this.addNamespaces(n);
|
|
976
|
-
let u =
|
|
976
|
+
let u = Un(this.data, l) || {};
|
|
977
977
|
i.skipCopy || (r = JSON.parse(JSON.stringify(r))), a ? Di(u, r, s) : u = {
|
|
978
978
|
...u,
|
|
979
979
|
...r
|
|
@@ -1001,7 +1001,7 @@ class ss extends ta {
|
|
|
1001
1001
|
return this.data;
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
|
-
var
|
|
1004
|
+
var Bi = {
|
|
1005
1005
|
processors: {},
|
|
1006
1006
|
addPostProcessor(e) {
|
|
1007
1007
|
this.processors[e.name] = e;
|
|
@@ -1035,7 +1035,7 @@ class Vn extends ta {
|
|
|
1035
1035
|
r === void 0 && (r = ":");
|
|
1036
1036
|
const a = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
|
|
1037
1037
|
let s = n.ns || this.options.defaultNS || [];
|
|
1038
|
-
const i = r && t.indexOf(r) > -1, l = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !
|
|
1038
|
+
const i = r && t.indexOf(r) > -1, l = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !Bc(t, r, a);
|
|
1039
1039
|
if (i && !l) {
|
|
1040
1040
|
const u = t.match(this.interpolator.nestingRegexp);
|
|
1041
1041
|
if (u && u.length > 0)
|
|
@@ -1110,9 +1110,9 @@ class Vn extends ta {
|
|
|
1110
1110
|
h = h.join(S), h && (h = this.extendTranslation(h, t, n, r));
|
|
1111
1111
|
else {
|
|
1112
1112
|
let k = !1, R = !1;
|
|
1113
|
-
const P = n.count !== void 0 && typeof n.count != "string", O = Vn.hasDefaultValue(n), z = P ? this.pluralResolver.getSuffix(c, n.count, n) : "",
|
|
1113
|
+
const P = n.count !== void 0 && typeof n.count != "string", O = Vn.hasDefaultValue(n), z = P ? this.pluralResolver.getSuffix(c, n.count, n) : "", se = n.ordinal && P ? this.pluralResolver.getSuffix(c, n.count, {
|
|
1114
1114
|
ordinal: !1
|
|
1115
|
-
}) : "", le = P && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), F = le && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${z}`] || n[`defaultValue${
|
|
1115
|
+
}) : "", le = P && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), F = le && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${z}`] || n[`defaultValue${se}`] || n.defaultValue;
|
|
1116
1116
|
!this.isValidLookup(h) && O && (k = !0, h = F), this.isValidLookup(h) || (R = !0, h = i);
|
|
1117
1117
|
const V = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && R ? void 0 : h, X = O && F !== h && this.options.updateMissing;
|
|
1118
1118
|
if (R || k || X) {
|
|
@@ -1129,16 +1129,16 @@ class Vn extends ta {
|
|
|
1129
1129
|
for (let Y = 0; Y < xe.length; Y++)
|
|
1130
1130
|
K.push(xe[Y]);
|
|
1131
1131
|
else this.options.saveMissingTo === "all" ? K = this.languageUtils.toResolveHierarchy(n.lng || this.language) : K.push(n.lng || this.language);
|
|
1132
|
-
const
|
|
1132
|
+
const ie = (Y, je, Ie) => {
|
|
1133
1133
|
const rt = O && Ie !== h ? Ie : V;
|
|
1134
1134
|
this.options.missingKeyHandler ? this.options.missingKeyHandler(Y, u, je, rt, X, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(Y, u, je, rt, X, n), this.emit("missingKey", Y, u, je, h);
|
|
1135
1135
|
};
|
|
1136
1136
|
this.options.saveMissing && (this.options.saveMissingPlurals && P ? K.forEach((Y) => {
|
|
1137
1137
|
const je = this.pluralResolver.getSuffixes(Y, n);
|
|
1138
1138
|
le && n[`defaultValue${this.options.pluralSeparator}zero`] && je.indexOf(`${this.options.pluralSeparator}zero`) < 0 && je.push(`${this.options.pluralSeparator}zero`), je.forEach((Ie) => {
|
|
1139
|
-
|
|
1139
|
+
ie([Y], i + Ie, n[`defaultValue${Ie}`] || F);
|
|
1140
1140
|
});
|
|
1141
|
-
}) :
|
|
1141
|
+
}) : ie(K, i, F));
|
|
1142
1142
|
}
|
|
1143
1143
|
h = this.extendTranslation(h, t, n, m, r), R && h === i && this.options.appendNamespaceToMissingKey && (h = `${u}:${i}`), (R || k) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? h = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}:${i}` : i, k ? h : void 0) : h = this.options.parseMissingKeyHandler(h));
|
|
1144
1144
|
}
|
|
@@ -1182,7 +1182,7 @@ class Vn extends ta {
|
|
|
1182
1182
|
}, r)), r.interpolation && this.interpolator.reset();
|
|
1183
1183
|
}
|
|
1184
1184
|
const l = r.postProcess || this.options.postProcess, u = typeof l == "string" ? [l] : l;
|
|
1185
|
-
return t != null && u && u.length && r.applyPostProcessor !== !1 && (t =
|
|
1185
|
+
return t != null && u && u.length && r.applyPostProcessor !== !1 && (t = Bi.handle(u, t, n, this.options && this.options.postProcessPassResolved ? {
|
|
1186
1186
|
i18nResolved: {
|
|
1187
1187
|
...a,
|
|
1188
1188
|
usedParams: this.getUsedParamsDetails(r)
|
|
@@ -1319,7 +1319,7 @@ class ls {
|
|
|
1319
1319
|
}), a;
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
-
let
|
|
1322
|
+
let Uc = [{
|
|
1323
1323
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
1324
1324
|
nr: [1, 2],
|
|
1325
1325
|
fc: 1
|
|
@@ -1444,7 +1444,7 @@ const Vc = ["v1", "v2", "v3"], zc = ["v4"], us = {
|
|
|
1444
1444
|
other: 5
|
|
1445
1445
|
}, Gc = () => {
|
|
1446
1446
|
const e = {};
|
|
1447
|
-
return
|
|
1447
|
+
return Uc.forEach((t) => {
|
|
1448
1448
|
t.lngs.forEach((n) => {
|
|
1449
1449
|
e[n] = {
|
|
1450
1450
|
numbers: t.nr,
|
|
@@ -2044,7 +2044,7 @@ class Hr extends ta {
|
|
|
2044
2044
|
use(t) {
|
|
2045
2045
|
if (!t) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
2046
2046
|
if (!t.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
2047
|
-
return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" &&
|
|
2047
|
+
return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && Bi.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
|
|
2048
2048
|
}
|
|
2049
2049
|
setResolvedLanguage(t) {
|
|
2050
2050
|
if (!(!t || !this.languages) && !(["cimode", "dev"].indexOf(t) > -1))
|
|
@@ -2228,8 +2228,8 @@ const Qc = {
|
|
|
2228
2228
|
"Jogging.Activate.bt": "Activate jogging",
|
|
2229
2229
|
"Jogging.Activating.lb": "Activating jogging",
|
|
2230
2230
|
"Jogging.JointLimitsReached.lb": "Joint limit reached for joint {{jointNumbers}}"
|
|
2231
|
-
},
|
|
2232
|
-
|
|
2231
|
+
}, Ui = Oe.createInstance();
|
|
2232
|
+
Ui.use(ac).init({
|
|
2233
2233
|
supportedLngs: ["en", "de"],
|
|
2234
2234
|
resources: {
|
|
2235
2235
|
en: {
|
|
@@ -2247,7 +2247,7 @@ function rn(e) {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
const td = ({
|
|
2249
2249
|
children: e
|
|
2250
|
-
}) => /* @__PURE__ */ o.jsx(nc, { i18n:
|
|
2250
|
+
}) => /* @__PURE__ */ o.jsx(nc, { i18n: Ui, children: e });
|
|
2251
2251
|
function Ji(e, t) {
|
|
2252
2252
|
return function() {
|
|
2253
2253
|
return e.apply(t, arguments);
|
|
@@ -2422,7 +2422,7 @@ const Nd = (e) => {
|
|
|
2422
2422
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
2423
2423
|
typeof setImmediate == "function",
|
|
2424
2424
|
Ve(Vt.postMessage)
|
|
2425
|
-
),
|
|
2425
|
+
), Bd = typeof queueMicrotask < "u" ? queueMicrotask.bind(Vt) : typeof process < "u" && process.nextTick || Xi, x = {
|
|
2426
2426
|
isArray: xr,
|
|
2427
2427
|
isArrayBuffer: Vi,
|
|
2428
2428
|
isBuffer: nd,
|
|
@@ -2480,12 +2480,12 @@ const Nd = (e) => {
|
|
|
2480
2480
|
isAsyncFn: Fd,
|
|
2481
2481
|
isThenable: Dd,
|
|
2482
2482
|
setImmediate: Xi,
|
|
2483
|
-
asap:
|
|
2483
|
+
asap: Bd
|
|
2484
2484
|
};
|
|
2485
|
-
function
|
|
2485
|
+
function U(e, t, n, r, a) {
|
|
2486
2486
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), a && (this.response = a);
|
|
2487
2487
|
}
|
|
2488
|
-
x.inherits(
|
|
2488
|
+
x.inherits(U, Error, {
|
|
2489
2489
|
toJSON: function() {
|
|
2490
2490
|
return {
|
|
2491
2491
|
// Standard
|
|
@@ -2506,7 +2506,7 @@ x.inherits(B, Error, {
|
|
|
2506
2506
|
};
|
|
2507
2507
|
}
|
|
2508
2508
|
});
|
|
2509
|
-
const qi =
|
|
2509
|
+
const qi = U.prototype, Yi = {};
|
|
2510
2510
|
[
|
|
2511
2511
|
"ERR_BAD_OPTION_VALUE",
|
|
2512
2512
|
"ERR_BAD_OPTION",
|
|
@@ -2524,15 +2524,15 @@ const qi = B.prototype, Yi = {};
|
|
|
2524
2524
|
].forEach((e) => {
|
|
2525
2525
|
Yi[e] = { value: e };
|
|
2526
2526
|
});
|
|
2527
|
-
Object.defineProperties(
|
|
2527
|
+
Object.defineProperties(U, Yi);
|
|
2528
2528
|
Object.defineProperty(qi, "isAxiosError", { value: !0 });
|
|
2529
|
-
|
|
2529
|
+
U.from = (e, t, n, r, a, s) => {
|
|
2530
2530
|
const i = Object.create(qi);
|
|
2531
2531
|
return x.toFlatObject(e, i, function(u) {
|
|
2532
2532
|
return u !== Error.prototype;
|
|
2533
|
-
}, (l) => l !== "isAxiosError"),
|
|
2533
|
+
}, (l) => l !== "isAxiosError"), U.call(i, e.message, t, n, r, a), i.cause = e, i.name = e.name, s && Object.assign(i, s), i;
|
|
2534
2534
|
};
|
|
2535
|
-
const
|
|
2535
|
+
const Ud = null;
|
|
2536
2536
|
function Qa(e) {
|
|
2537
2537
|
return x.isPlainObject(e) || x.isArray(e);
|
|
2538
2538
|
}
|
|
@@ -2568,7 +2568,7 @@ function oa(e, t, n) {
|
|
|
2568
2568
|
if (x.isDate(_))
|
|
2569
2569
|
return _.toISOString();
|
|
2570
2570
|
if (!u && x.isBlob(_))
|
|
2571
|
-
throw new
|
|
2571
|
+
throw new U("Blob is not supported. Use a Buffer instead.");
|
|
2572
2572
|
return x.isArrayBuffer(_) || x.isTypedArray(_) ? u && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
|
|
2573
2573
|
}
|
|
2574
2574
|
function d(_, y, g) {
|
|
@@ -2813,7 +2813,7 @@ const an = {
|
|
|
2813
2813
|
return JSON.parse(t);
|
|
2814
2814
|
} catch (l) {
|
|
2815
2815
|
if (i)
|
|
2816
|
-
throw l.name === "SyntaxError" ?
|
|
2816
|
+
throw l.name === "SyntaxError" ? U.from(l, U.ERR_BAD_RESPONSE, this, null, this.response) : l;
|
|
2817
2817
|
}
|
|
2818
2818
|
}
|
|
2819
2819
|
return t;
|
|
@@ -3048,16 +3048,16 @@ function nl(e) {
|
|
|
3048
3048
|
return !!(e && e.__CANCEL__);
|
|
3049
3049
|
}
|
|
3050
3050
|
function Sr(e, t, n) {
|
|
3051
|
-
|
|
3051
|
+
U.call(this, e ?? "canceled", U.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
3052
3052
|
}
|
|
3053
|
-
x.inherits(Sr,
|
|
3053
|
+
x.inherits(Sr, U, {
|
|
3054
3054
|
__CANCEL__: !0
|
|
3055
3055
|
});
|
|
3056
3056
|
function al(e, t, n) {
|
|
3057
3057
|
const r = n.config.validateStatus;
|
|
3058
|
-
!n.status || !r || r(n.status) ? e(n) : t(new
|
|
3058
|
+
!n.status || !r || r(n.status) ? e(n) : t(new U(
|
|
3059
3059
|
"Request failed with status code " + n.status,
|
|
3060
|
-
[
|
|
3060
|
+
[U.ERR_BAD_REQUEST, U.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
3061
3061
|
n.config,
|
|
3062
3062
|
n.request,
|
|
3063
3063
|
n
|
|
@@ -3307,15 +3307,15 @@ const sl = (e) => {
|
|
|
3307
3307
|
"onloadend" in g ? g.onloadend = S : g.onreadystatechange = function() {
|
|
3308
3308
|
!g || g.readyState !== 4 || g.status === 0 && !(g.responseURL && g.responseURL.indexOf("file:") === 0) || setTimeout(S);
|
|
3309
3309
|
}, g.onabort = function() {
|
|
3310
|
-
g && (r(new
|
|
3310
|
+
g && (r(new U("Request aborted", U.ECONNABORTED, e, g)), g = null);
|
|
3311
3311
|
}, g.onerror = function() {
|
|
3312
|
-
r(new
|
|
3312
|
+
r(new U("Network Error", U.ERR_NETWORK, e, g)), g = null;
|
|
3313
3313
|
}, g.ontimeout = function() {
|
|
3314
3314
|
let k = a.timeout ? "timeout of " + a.timeout + "ms exceeded" : "timeout exceeded";
|
|
3315
3315
|
const R = a.transitional || tl;
|
|
3316
|
-
a.timeoutErrorMessage && (k = a.timeoutErrorMessage), r(new
|
|
3316
|
+
a.timeoutErrorMessage && (k = a.timeoutErrorMessage), r(new U(
|
|
3317
3317
|
k,
|
|
3318
|
-
R.clarifyTimeoutError ?
|
|
3318
|
+
R.clarifyTimeoutError ? U.ETIMEDOUT : U.ECONNABORTED,
|
|
3319
3319
|
e,
|
|
3320
3320
|
g
|
|
3321
3321
|
)), g = null;
|
|
@@ -3326,7 +3326,7 @@ const sl = (e) => {
|
|
|
3326
3326
|
}, a.cancelToken && a.cancelToken.subscribe(d), a.signal && (a.signal.aborted ? d() : a.signal.addEventListener("abort", d)));
|
|
3327
3327
|
const j = uh(a.url);
|
|
3328
3328
|
if (j && at.protocols.indexOf(j) === -1) {
|
|
3329
|
-
r(new
|
|
3329
|
+
r(new U("Unsupported protocol " + j + ":", U.ERR_BAD_REQUEST, e));
|
|
3330
3330
|
return;
|
|
3331
3331
|
}
|
|
3332
3332
|
g.send(s || null);
|
|
@@ -3337,11 +3337,11 @@ const sl = (e) => {
|
|
|
3337
3337
|
if (!r) {
|
|
3338
3338
|
r = !0, i();
|
|
3339
3339
|
const c = u instanceof Error ? u : this.reason;
|
|
3340
|
-
n.abort(c instanceof
|
|
3340
|
+
n.abort(c instanceof U ? c : new Sr(c instanceof Error ? c.message : c));
|
|
3341
3341
|
}
|
|
3342
3342
|
};
|
|
3343
3343
|
let s = t && setTimeout(() => {
|
|
3344
|
-
a(new
|
|
3344
|
+
a(new U(`timeout ${t} of ms exceeded`, U.ETIMEDOUT));
|
|
3345
3345
|
}, t);
|
|
3346
3346
|
const i = () => {
|
|
3347
3347
|
e && (s && clearTimeout(s), s = null, e.forEach((u) => {
|
|
@@ -3416,7 +3416,7 @@ const sl = (e) => {
|
|
|
3416
3416
|
sa && ((e) => {
|
|
3417
3417
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
3418
3418
|
!Gn[t] && (Gn[t] = x.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
|
|
3419
|
-
throw new
|
|
3419
|
+
throw new U(`Response type '${t}' is not supported`, U.ERR_NOT_SUPPORT, r);
|
|
3420
3420
|
});
|
|
3421
3421
|
});
|
|
3422
3422
|
})(new Response());
|
|
@@ -3465,11 +3465,11 @@ const Sh = async (e) => {
|
|
|
3465
3465
|
duplex: "half"
|
|
3466
3466
|
}), O;
|
|
3467
3467
|
if (x.isFormData(r) && (O = P.headers.get("content-type")) && d.setContentType(O), P.body) {
|
|
3468
|
-
const [z,
|
|
3468
|
+
const [z, se] = vs(
|
|
3469
3469
|
j,
|
|
3470
3470
|
zn(bs(u))
|
|
3471
3471
|
);
|
|
3472
|
-
r = Ss(P.body, ws, z,
|
|
3472
|
+
r = Ss(P.body, ws, z, se, eo);
|
|
3473
3473
|
}
|
|
3474
3474
|
}
|
|
3475
3475
|
x.isString(m) || (m = m ? "include" : "omit"), g = new Request(t, {
|
|
@@ -3488,13 +3488,13 @@ const Sh = async (e) => {
|
|
|
3488
3488
|
["status", "statusText", "headers"].forEach((le) => {
|
|
3489
3489
|
P[le] = C[le];
|
|
3490
3490
|
});
|
|
3491
|
-
const O = x.toFiniteNumber(C.headers.get("content-length")), [z,
|
|
3491
|
+
const O = x.toFiniteNumber(C.headers.get("content-length")), [z, se] = l && vs(
|
|
3492
3492
|
O,
|
|
3493
3493
|
zn(bs(l), !0)
|
|
3494
3494
|
) || [];
|
|
3495
3495
|
C = new Response(
|
|
3496
3496
|
Ss(C.body, ws, z, () => {
|
|
3497
|
-
|
|
3497
|
+
se && se(), k && S();
|
|
3498
3498
|
}, eo),
|
|
3499
3499
|
P
|
|
3500
3500
|
);
|
|
@@ -3513,14 +3513,14 @@ const Sh = async (e) => {
|
|
|
3513
3513
|
});
|
|
3514
3514
|
} catch (C) {
|
|
3515
3515
|
throw S(), C && C.name === "TypeError" && /fetch/i.test(C.message) ? Object.assign(
|
|
3516
|
-
new
|
|
3516
|
+
new U("Network Error", U.ERR_NETWORK, e, g),
|
|
3517
3517
|
{
|
|
3518
3518
|
cause: C.cause || C
|
|
3519
3519
|
}
|
|
3520
|
-
) :
|
|
3520
|
+
) : U.from(C, C && C.code, e, g);
|
|
3521
3521
|
}
|
|
3522
3522
|
}), ro = {
|
|
3523
|
-
http:
|
|
3523
|
+
http: Ud,
|
|
3524
3524
|
xhr: yh,
|
|
3525
3525
|
fetch: jh
|
|
3526
3526
|
};
|
|
@@ -3543,7 +3543,7 @@ const js = (e) => `- ${e}`, Rh = (e) => x.isFunction(e) || e === null || e === !
|
|
|
3543
3543
|
n = e[s];
|
|
3544
3544
|
let i;
|
|
3545
3545
|
if (r = n, !Rh(n) && (r = ro[(i = String(n)).toLowerCase()], r === void 0))
|
|
3546
|
-
throw new
|
|
3546
|
+
throw new U(`Unknown adapter '${i}'`);
|
|
3547
3547
|
if (r)
|
|
3548
3548
|
break;
|
|
3549
3549
|
a[i || "#" + s] = r;
|
|
@@ -3555,7 +3555,7 @@ const js = (e) => `- ${e}`, Rh = (e) => x.isFunction(e) || e === null || e === !
|
|
|
3555
3555
|
let i = t ? s.length > 1 ? `since :
|
|
3556
3556
|
` + s.map(js).join(`
|
|
3557
3557
|
`) : " " + js(s[0]) : "as no adapter specified";
|
|
3558
|
-
throw new
|
|
3558
|
+
throw new U(
|
|
3559
3559
|
"There is no suitable adapter to dispatch the request " + i,
|
|
3560
3560
|
"ERR_NOT_SUPPORT"
|
|
3561
3561
|
);
|
|
@@ -3599,9 +3599,9 @@ Po.transitional = function(t, n, r) {
|
|
|
3599
3599
|
}
|
|
3600
3600
|
return (s, i, l) => {
|
|
3601
3601
|
if (t === !1)
|
|
3602
|
-
throw new
|
|
3602
|
+
throw new U(
|
|
3603
3603
|
a(i, " has been removed" + (n ? " in " + n : "")),
|
|
3604
|
-
|
|
3604
|
+
U.ERR_DEPRECATED
|
|
3605
3605
|
);
|
|
3606
3606
|
return n && !Cs[i] && (Cs[i] = !0, console.warn(
|
|
3607
3607
|
a(
|
|
@@ -3613,7 +3613,7 @@ Po.transitional = function(t, n, r) {
|
|
|
3613
3613
|
};
|
|
3614
3614
|
function Ch(e, t, n) {
|
|
3615
3615
|
if (typeof e != "object")
|
|
3616
|
-
throw new
|
|
3616
|
+
throw new U("options must be an object", U.ERR_BAD_OPTION_VALUE);
|
|
3617
3617
|
const r = Object.keys(e);
|
|
3618
3618
|
let a = r.length;
|
|
3619
3619
|
for (; a-- > 0; ) {
|
|
@@ -3621,11 +3621,11 @@ function Ch(e, t, n) {
|
|
|
3621
3621
|
if (i) {
|
|
3622
3622
|
const l = e[s], u = l === void 0 || i(l, s, e);
|
|
3623
3623
|
if (u !== !0)
|
|
3624
|
-
throw new
|
|
3624
|
+
throw new U("option " + s + " must be " + u, U.ERR_BAD_OPTION_VALUE);
|
|
3625
3625
|
continue;
|
|
3626
3626
|
}
|
|
3627
3627
|
if (n !== !0)
|
|
3628
|
-
throw new
|
|
3628
|
+
throw new U("Unknown option " + s, U.ERR_BAD_OPTION);
|
|
3629
3629
|
}
|
|
3630
3630
|
}
|
|
3631
3631
|
const no = {
|
|
@@ -3909,7 +3909,7 @@ be.CancelToken = Ah;
|
|
|
3909
3909
|
be.isCancel = nl;
|
|
3910
3910
|
be.VERSION = cl;
|
|
3911
3911
|
be.toFormData = oa;
|
|
3912
|
-
be.AxiosError =
|
|
3912
|
+
be.AxiosError = U;
|
|
3913
3913
|
be.Cancel = be.CanceledError;
|
|
3914
3914
|
be.all = function(t) {
|
|
3915
3915
|
return Promise.all(t);
|
|
@@ -3959,7 +3959,7 @@ const Oo = (e) => {
|
|
|
3959
3959
|
}, t);
|
|
3960
3960
|
return () => clearTimeout(a);
|
|
3961
3961
|
}), /* @__PURE__ */ o.jsx(
|
|
3962
|
-
|
|
3962
|
+
oe,
|
|
3963
3963
|
{
|
|
3964
3964
|
width: "100%",
|
|
3965
3965
|
height: "100%",
|
|
@@ -3975,7 +3975,7 @@ const Oo = (e) => {
|
|
|
3975
3975
|
/* @__PURE__ */ o.jsx(Wu, { sx: { marginBottom: "24px" } }),
|
|
3976
3976
|
!!e.message && /* @__PURE__ */ o.jsx("div", { children: e.message }),
|
|
3977
3977
|
/* @__PURE__ */ o.jsx(
|
|
3978
|
-
|
|
3978
|
+
oe,
|
|
3979
3979
|
{
|
|
3980
3980
|
sx: {
|
|
3981
3981
|
visibility: n ? "visible" : "hidden",
|
|
@@ -3991,7 +3991,7 @@ const Oo = (e) => {
|
|
|
3991
3991
|
}, Th = (e) => {
|
|
3992
3992
|
const t = Ih(e.error), n = e.error instanceof Error ? e.error.stack : null, r = wo();
|
|
3993
3993
|
return /* @__PURE__ */ o.jsxs(
|
|
3994
|
-
|
|
3994
|
+
oe,
|
|
3995
3995
|
{
|
|
3996
3996
|
sx: {
|
|
3997
3997
|
maxHeight: "100%",
|
|
@@ -9281,16 +9281,16 @@ function Cl({ modelURL: e, ...t }) {
|
|
|
9281
9281
|
] })
|
|
9282
9282
|
] }) }) });
|
|
9283
9283
|
}
|
|
9284
|
-
const
|
|
9284
|
+
const Bh = "(^joint_[0-9]+$)|(_J[0-9]+$)";
|
|
9285
9285
|
function Al(e) {
|
|
9286
9286
|
return e.children.length === 0 ? [e] : [e, ...e.children.flatMap((t) => Al(t))];
|
|
9287
9287
|
}
|
|
9288
|
-
function
|
|
9289
|
-
return new RegExp(t ??
|
|
9288
|
+
function Uh(e, t) {
|
|
9289
|
+
return new RegExp(t ?? Bh).test(e);
|
|
9290
9290
|
}
|
|
9291
9291
|
function Pl(e, t) {
|
|
9292
9292
|
return Al(e).filter(
|
|
9293
|
-
(n) =>
|
|
9293
|
+
(n) => Uh(n.name, t)
|
|
9294
9294
|
);
|
|
9295
9295
|
}
|
|
9296
9296
|
function Mo(e) {
|
|
@@ -10350,7 +10350,7 @@ process.env.NODE_ENV !== "production" && (Dl.propTypes = {
|
|
|
10350
10350
|
function Rm(e) {
|
|
10351
10351
|
return e == null || Object.keys(e).length === 0;
|
|
10352
10352
|
}
|
|
10353
|
-
function
|
|
10353
|
+
function Bl(e) {
|
|
10354
10354
|
const {
|
|
10355
10355
|
styles: t,
|
|
10356
10356
|
defaultTheme: n = {}
|
|
@@ -10359,7 +10359,7 @@ function Ul(e) {
|
|
|
10359
10359
|
styles: r
|
|
10360
10360
|
});
|
|
10361
10361
|
}
|
|
10362
|
-
process.env.NODE_ENV !== "production" && (
|
|
10362
|
+
process.env.NODE_ENV !== "production" && (Bl.propTypes = {
|
|
10363
10363
|
defaultTheme: f.object,
|
|
10364
10364
|
styles: f.oneOfType([f.array, f.string, f.object, f.func])
|
|
10365
10365
|
});
|
|
@@ -10370,7 +10370,7 @@ process.env.NODE_ENV !== "production" && (Ul.propTypes = {
|
|
|
10370
10370
|
* This source code is licensed under the MIT license found in the
|
|
10371
10371
|
* LICENSE file in the root directory of this source tree.
|
|
10372
10372
|
*/
|
|
10373
|
-
function
|
|
10373
|
+
function Ul(e, t) {
|
|
10374
10374
|
const n = _c(e, t);
|
|
10375
10375
|
return process.env.NODE_ENV !== "production" ? (...r) => {
|
|
10376
10376
|
const a = typeof e == "string" ? `"${e}"` : "component";
|
|
@@ -10382,11 +10382,11 @@ const Jl = (e, t) => {
|
|
|
10382
10382
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
10383
10383
|
}, Cm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10384
10384
|
__proto__: null,
|
|
10385
|
-
GlobalStyles:
|
|
10385
|
+
GlobalStyles: Bl,
|
|
10386
10386
|
StyledEngineProvider: Dl,
|
|
10387
10387
|
ThemeContext: Fi,
|
|
10388
10388
|
css: xc,
|
|
10389
|
-
default:
|
|
10389
|
+
default: Ul,
|
|
10390
10390
|
internal_processStyles: Jl,
|
|
10391
10391
|
keyframes: Sc
|
|
10392
10392
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -10669,7 +10669,7 @@ function Kt(e, t) {
|
|
|
10669
10669
|
function Dm(e, t) {
|
|
10670
10670
|
return (n) => e.reduce((r, a) => (r[a] = Kt(t, n), r), {});
|
|
10671
10671
|
}
|
|
10672
|
-
function
|
|
10672
|
+
function Bm(e, t, n, r) {
|
|
10673
10673
|
if (t.indexOf(n) === -1)
|
|
10674
10674
|
return null;
|
|
10675
10675
|
const a = Nm(n), s = Dm(a, r), i = e[n];
|
|
@@ -10677,7 +10677,7 @@ function Um(e, t, n, r) {
|
|
|
10677
10677
|
}
|
|
10678
10678
|
function Kl(e, t) {
|
|
10679
10679
|
const n = Lo(e.theme);
|
|
10680
|
-
return Object.keys(e).map((r) =>
|
|
10680
|
+
return Object.keys(e).map((r) => Bm(e, t, r, n)).reduce(zr, {});
|
|
10681
10681
|
}
|
|
10682
10682
|
function he(e) {
|
|
10683
10683
|
return Kl(e, da);
|
|
@@ -10690,7 +10690,7 @@ function me(e) {
|
|
|
10690
10690
|
me.propTypes = process.env.NODE_ENV !== "production" ? ha.reduce((e, t) => (e[t] = $t, e), {}) : {};
|
|
10691
10691
|
me.filterProps = ha;
|
|
10692
10692
|
process.env.NODE_ENV !== "production" && Fm.reduce((e, t) => (e[t] = $t, e), {});
|
|
10693
|
-
function
|
|
10693
|
+
function Um(e = 8) {
|
|
10694
10694
|
if (e.mui)
|
|
10695
10695
|
return e;
|
|
10696
10696
|
const t = Lo({
|
|
@@ -11240,7 +11240,7 @@ function dn(e = {}, ...t) {
|
|
|
11240
11240
|
palette: r = {},
|
|
11241
11241
|
spacing: a,
|
|
11242
11242
|
shape: s = {}
|
|
11243
|
-
} = e, i = Fe(e, xf), l = zl(n), u =
|
|
11243
|
+
} = e, i = Fe(e, xf), l = zl(n), u = Um(a);
|
|
11244
11244
|
let c = Ze({
|
|
11245
11245
|
breakpoints: l,
|
|
11246
11246
|
direction: "ltr",
|
|
@@ -11490,7 +11490,7 @@ function Ef() {
|
|
|
11490
11490
|
}
|
|
11491
11491
|
}
|
|
11492
11492
|
}
|
|
11493
|
-
var P = i, O = s, z = e,
|
|
11493
|
+
var P = i, O = s, z = e, se = u, le = n, F = h, H = m, V = t, X = a, K = r, xe = c, ie = d, Y = !1, je = !1;
|
|
11494
11494
|
function Ie(I) {
|
|
11495
11495
|
return Y || (Y = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
11496
11496
|
}
|
|
@@ -11530,10 +11530,10 @@ function Ef() {
|
|
|
11530
11530
|
function vt(I) {
|
|
11531
11531
|
return R(I) === c;
|
|
11532
11532
|
}
|
|
11533
|
-
function
|
|
11533
|
+
function Be(I) {
|
|
11534
11534
|
return R(I) === d;
|
|
11535
11535
|
}
|
|
11536
|
-
ae.ContextConsumer = P, ae.ContextProvider = O, ae.Element = z, ae.ForwardRef =
|
|
11536
|
+
ae.ContextConsumer = P, ae.ContextProvider = O, ae.Element = z, ae.ForwardRef = se, ae.Fragment = le, ae.Lazy = F, ae.Memo = H, ae.Portal = V, ae.Profiler = X, ae.StrictMode = K, ae.Suspense = xe, ae.SuspenseList = ie, ae.isAsyncMode = Ie, ae.isConcurrentMode = rt, ae.isContextConsumer = _t, ae.isContextProvider = Ge, ae.isElement = Se, ae.isForwardRef = At, ae.isFragment = it, ae.isLazy = We, ae.isMemo = De, ae.isPortal = lt, ae.isProfiler = ut, ae.isStrictMode = Nt, ae.isSuspense = vt, ae.isSuspenseList = Be, ae.isValidElementType = k, ae.typeOf = R;
|
|
11537
11537
|
}()), ae;
|
|
11538
11538
|
}
|
|
11539
11539
|
process.env.NODE_ENV === "production" ? co.exports = Tf() : co.exports = Ef();
|
|
@@ -11575,16 +11575,16 @@ const Lf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11575
11575
|
function Df(e) {
|
|
11576
11576
|
return Object.keys(e).length === 0;
|
|
11577
11577
|
}
|
|
11578
|
-
function
|
|
11578
|
+
function Bf(e) {
|
|
11579
11579
|
return typeof e == "string" && // 96 is one less than the char code
|
|
11580
11580
|
// for "a" so this is checking that
|
|
11581
11581
|
// it's a lowercase character
|
|
11582
11582
|
e.charCodeAt(0) > 96;
|
|
11583
11583
|
}
|
|
11584
|
-
function
|
|
11584
|
+
function Ba(e) {
|
|
11585
11585
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
11586
11586
|
}
|
|
11587
|
-
const
|
|
11587
|
+
const Uf = dn(), Bs = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
11588
11588
|
function bn({
|
|
11589
11589
|
defaultTheme: e,
|
|
11590
11590
|
theme: t,
|
|
@@ -11627,9 +11627,9 @@ function kn(e, t) {
|
|
|
11627
11627
|
function Vf(e = {}) {
|
|
11628
11628
|
const {
|
|
11629
11629
|
themeId: t,
|
|
11630
|
-
defaultTheme: n =
|
|
11631
|
-
rootShouldForwardProp: r =
|
|
11632
|
-
slotShouldForwardProp: a =
|
|
11630
|
+
defaultTheme: n = Uf,
|
|
11631
|
+
rootShouldForwardProp: r = Ba,
|
|
11632
|
+
slotShouldForwardProp: a = Ba
|
|
11633
11633
|
} = e, s = (i) => cn(A({}, i, {
|
|
11634
11634
|
theme: bn(A({}, i, {
|
|
11635
11635
|
defaultTheme: n,
|
|
@@ -11645,17 +11645,17 @@ function Vf(e = {}) {
|
|
|
11645
11645
|
skipSx: m,
|
|
11646
11646
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
11647
11647
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
11648
|
-
overridesResolver: h = Jf(
|
|
11648
|
+
overridesResolver: h = Jf(Bs(c))
|
|
11649
11649
|
} = l, v = Fe(l, Ff), _ = d !== void 0 ? d : (
|
|
11650
11650
|
// TODO v6: remove `Root` in the next major release
|
|
11651
11651
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
11652
11652
|
c && c !== "Root" && c !== "root" || !1
|
|
11653
11653
|
), y = m || !1;
|
|
11654
11654
|
let g;
|
|
11655
|
-
process.env.NODE_ENV !== "production" && u && (g = `${u}-${
|
|
11656
|
-
let S =
|
|
11657
|
-
c === "Root" || c === "root" ? S = r : c ? S = a :
|
|
11658
|
-
const j =
|
|
11655
|
+
process.env.NODE_ENV !== "production" && u && (g = `${u}-${Bs(c || "Root")}`);
|
|
11656
|
+
let S = Ba;
|
|
11657
|
+
c === "Root" || c === "root" ? S = r : c ? S = a : Bf(i) && (S = void 0);
|
|
11658
|
+
const j = Ul(i, A({
|
|
11659
11659
|
shouldForwardProp: S,
|
|
11660
11660
|
label: g
|
|
11661
11661
|
}, v)), C = (R) => typeof R == "function" && R.__emotion_real !== R || xt(R) ? (P) => kn(R, A({}, P, {
|
|
@@ -11692,9 +11692,9 @@ function Vf(e = {}) {
|
|
|
11692
11692
|
theme: V
|
|
11693
11693
|
}));
|
|
11694
11694
|
}), y || z.push(s);
|
|
11695
|
-
const
|
|
11696
|
-
if (Array.isArray(R) &&
|
|
11697
|
-
const F = new Array(
|
|
11695
|
+
const se = z.length - P.length;
|
|
11696
|
+
if (Array.isArray(R) && se > 0) {
|
|
11697
|
+
const F = new Array(se).fill("");
|
|
11698
11698
|
O = [...R, ...F], O.raw = [...R.raw, ...F];
|
|
11699
11699
|
}
|
|
11700
11700
|
const le = j(O, ...z);
|
|
@@ -11750,7 +11750,7 @@ const Kf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11750
11750
|
__proto__: null,
|
|
11751
11751
|
default: fr
|
|
11752
11752
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11753
|
-
function
|
|
11753
|
+
function Us(e, t) {
|
|
11754
11754
|
return process.env.NODE_ENV === "production" ? () => null : function(...r) {
|
|
11755
11755
|
return e(...r) || t(...r);
|
|
11756
11756
|
};
|
|
@@ -11919,14 +11919,14 @@ function o0(e) {
|
|
|
11919
11919
|
function s0(e) {
|
|
11920
11920
|
e.metaKey || e.altKey || e.ctrlKey || (_a = !0);
|
|
11921
11921
|
}
|
|
11922
|
-
function
|
|
11922
|
+
function Ua() {
|
|
11923
11923
|
_a = !1;
|
|
11924
11924
|
}
|
|
11925
11925
|
function i0() {
|
|
11926
11926
|
this.visibilityState === "hidden" && ho && (_a = !0);
|
|
11927
11927
|
}
|
|
11928
11928
|
function l0(e) {
|
|
11929
|
-
e.addEventListener("keydown", s0, !0), e.addEventListener("mousedown",
|
|
11929
|
+
e.addEventListener("keydown", s0, !0), e.addEventListener("mousedown", Ua, !0), e.addEventListener("pointerdown", Ua, !0), e.addEventListener("touchstart", Ua, !0), e.addEventListener("visibilitychange", i0, !0);
|
|
11930
11930
|
}
|
|
11931
11931
|
function u0(e) {
|
|
11932
11932
|
const {
|
|
@@ -12235,7 +12235,7 @@ Object.defineProperty(mn, "__esModule", {
|
|
|
12235
12235
|
var $0 = mn.default = q0;
|
|
12236
12236
|
mn.shouldForwardProp = Nn;
|
|
12237
12237
|
mn.systemDefaultTheme = void 0;
|
|
12238
|
-
var Xe = jr(P0()), mo = jr(O0()), Ks = G0(M0), N0 = I0, F0 = jr(T0), D0 = jr(E0),
|
|
12238
|
+
var Xe = jr(P0()), mo = jr(O0()), Ks = G0(M0), N0 = I0, F0 = jr(T0), D0 = jr(E0), B0 = jr(k0), U0 = jr(L0);
|
|
12239
12239
|
const J0 = ["ownerState"], V0 = ["variants"], z0 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
12240
12240
|
function iu(e) {
|
|
12241
12241
|
if (typeof WeakMap != "function") return null;
|
|
@@ -12268,7 +12268,7 @@ function K0(e) {
|
|
|
12268
12268
|
function Nn(e) {
|
|
12269
12269
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
12270
12270
|
}
|
|
12271
|
-
const H0 = mn.systemDefaultTheme = (0,
|
|
12271
|
+
const H0 = mn.systemDefaultTheme = (0, B0.default)(), Hs = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
12272
12272
|
function xn({
|
|
12273
12273
|
defaultTheme: e,
|
|
12274
12274
|
theme: t,
|
|
@@ -12314,7 +12314,7 @@ function q0(e = {}) {
|
|
|
12314
12314
|
defaultTheme: n = H0,
|
|
12315
12315
|
rootShouldForwardProp: r = Nn,
|
|
12316
12316
|
slotShouldForwardProp: a = Nn
|
|
12317
|
-
} = e, s = (i) => (0,
|
|
12317
|
+
} = e, s = (i) => (0, U0.default)((0, Xe.default)({}, i, {
|
|
12318
12318
|
theme: xn((0, Xe.default)({}, i, {
|
|
12319
12319
|
defaultTheme: n,
|
|
12320
12320
|
themeId: t
|
|
@@ -12376,9 +12376,9 @@ function q0(e = {}) {
|
|
|
12376
12376
|
theme: V
|
|
12377
12377
|
}));
|
|
12378
12378
|
}), y || z.push(s);
|
|
12379
|
-
const
|
|
12380
|
-
if (Array.isArray(R) &&
|
|
12381
|
-
const F = new Array(
|
|
12379
|
+
const se = z.length - P.length;
|
|
12380
|
+
if (Array.isArray(R) && se > 0) {
|
|
12381
|
+
const F = new Array(se).fill("");
|
|
12382
12382
|
O = [...R, ...F], O.raw = [...R.raw, ...F];
|
|
12383
12383
|
}
|
|
12384
12384
|
const le = j(O, ...z);
|
|
@@ -12415,7 +12415,7 @@ Object.defineProperty(ye, "__esModule", {
|
|
|
12415
12415
|
var Xs = ye.alpha = hu;
|
|
12416
12416
|
ye.blend = up;
|
|
12417
12417
|
ye.colorChannel = void 0;
|
|
12418
|
-
var fo = ye.darken =
|
|
12418
|
+
var fo = ye.darken = Uo;
|
|
12419
12419
|
ye.decomposeColor = Qe;
|
|
12420
12420
|
ye.emphasize = mu;
|
|
12421
12421
|
var qs = ye.getContrastRatio = ap;
|
|
@@ -12431,7 +12431,7 @@ ye.private_safeLighten = ip;
|
|
|
12431
12431
|
ye.recomposeColor = Rr;
|
|
12432
12432
|
ye.rgbToHex = np;
|
|
12433
12433
|
var Ys = lu(Z0), ep = lu(Q0);
|
|
12434
|
-
function
|
|
12434
|
+
function Bo(e, t = 0, n = 1) {
|
|
12435
12435
|
return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), (0, ep.default)(e, t, n);
|
|
12436
12436
|
}
|
|
12437
12437
|
function uu(e) {
|
|
@@ -12519,7 +12519,7 @@ function ap(e, t) {
|
|
|
12519
12519
|
return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05);
|
|
12520
12520
|
}
|
|
12521
12521
|
function hu(e, t) {
|
|
12522
|
-
return e = Qe(e), t =
|
|
12522
|
+
return e = Qe(e), t = Bo(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Rr(e);
|
|
12523
12523
|
}
|
|
12524
12524
|
function op(e, t, n) {
|
|
12525
12525
|
try {
|
|
@@ -12528,8 +12528,8 @@ function op(e, t, n) {
|
|
|
12528
12528
|
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
12529
12529
|
}
|
|
12530
12530
|
}
|
|
12531
|
-
function
|
|
12532
|
-
if (e = Qe(e), t =
|
|
12531
|
+
function Uo(e, t) {
|
|
12532
|
+
if (e = Qe(e), t = Bo(t), e.type.indexOf("hsl") !== -1)
|
|
12533
12533
|
e.values[2] *= 1 - t;
|
|
12534
12534
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
12535
12535
|
for (let n = 0; n < 3; n += 1)
|
|
@@ -12538,13 +12538,13 @@ function Bo(e, t) {
|
|
|
12538
12538
|
}
|
|
12539
12539
|
function sp(e, t, n) {
|
|
12540
12540
|
try {
|
|
12541
|
-
return
|
|
12541
|
+
return Uo(e, t);
|
|
12542
12542
|
} catch {
|
|
12543
12543
|
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
12544
12544
|
}
|
|
12545
12545
|
}
|
|
12546
12546
|
function Jo(e, t) {
|
|
12547
|
-
if (e = Qe(e), t =
|
|
12547
|
+
if (e = Qe(e), t = Bo(t), e.type.indexOf("hsl") !== -1)
|
|
12548
12548
|
e.values[2] += (100 - e.values[2]) * t;
|
|
12549
12549
|
else if (e.type.indexOf("rgb") !== -1)
|
|
12550
12550
|
for (let n = 0; n < 3; n += 1)
|
|
@@ -12562,7 +12562,7 @@ function ip(e, t, n) {
|
|
|
12562
12562
|
}
|
|
12563
12563
|
}
|
|
12564
12564
|
function mu(e, t = 0.15) {
|
|
12565
|
-
return qn(e) > 0.5 ?
|
|
12565
|
+
return qn(e) > 0.5 ? Uo(e, t) : Jo(e, t);
|
|
12566
12566
|
}
|
|
12567
12567
|
function lp(e, t, n) {
|
|
12568
12568
|
try {
|
|
@@ -12626,7 +12626,7 @@ const Qr = {
|
|
|
12626
12626
|
A200: "#ff5252",
|
|
12627
12627
|
A400: "#ff1744",
|
|
12628
12628
|
A700: "#d50000"
|
|
12629
|
-
},
|
|
12629
|
+
}, Br = {
|
|
12630
12630
|
50: "#fff3e0",
|
|
12631
12631
|
100: "#ffe0b2",
|
|
12632
12632
|
200: "#ffcc80",
|
|
@@ -12810,14 +12810,14 @@ function gp(e = "light") {
|
|
|
12810
12810
|
}
|
|
12811
12811
|
function yp(e = "light") {
|
|
12812
12812
|
return e === "dark" ? {
|
|
12813
|
-
main:
|
|
12814
|
-
light:
|
|
12815
|
-
dark:
|
|
12813
|
+
main: Br[400],
|
|
12814
|
+
light: Br[300],
|
|
12815
|
+
dark: Br[700]
|
|
12816
12816
|
} : {
|
|
12817
12817
|
main: "#ed6c02",
|
|
12818
12818
|
// closest to orange[800] that pass 3:1.
|
|
12819
|
-
light:
|
|
12820
|
-
dark:
|
|
12819
|
+
light: Br[500],
|
|
12820
|
+
dark: Br[900]
|
|
12821
12821
|
};
|
|
12822
12822
|
}
|
|
12823
12823
|
function _p(e) {
|
|
@@ -13452,7 +13452,7 @@ process.env.NODE_ENV !== "production" && (Yn.propTypes = {
|
|
|
13452
13452
|
viewBox: f.string
|
|
13453
13453
|
});
|
|
13454
13454
|
Yn.muiName = "SvgIcon";
|
|
13455
|
-
function
|
|
13455
|
+
function Bp(e, t) {
|
|
13456
13456
|
function n(r, a) {
|
|
13457
13457
|
return /* @__PURE__ */ o.jsx(Yn, A({
|
|
13458
13458
|
"data-testid": `${t}Icon`,
|
|
@@ -13463,7 +13463,7 @@ function Up(e, t) {
|
|
|
13463
13463
|
}
|
|
13464
13464
|
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = Yn.muiName, /* @__PURE__ */ $.memo(/* @__PURE__ */ $.forwardRef(n));
|
|
13465
13465
|
}
|
|
13466
|
-
const
|
|
13466
|
+
const Up = {
|
|
13467
13467
|
configure: (e) => {
|
|
13468
13468
|
process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
13469
13469
|
`)), Yl.configure(e);
|
|
@@ -13472,7 +13472,7 @@ const Bp = {
|
|
|
13472
13472
|
__proto__: null,
|
|
13473
13473
|
capitalize: Ce,
|
|
13474
13474
|
createChainedFunction: Hf,
|
|
13475
|
-
createSvgIcon:
|
|
13475
|
+
createSvgIcon: Bp,
|
|
13476
13476
|
debounce: Xf,
|
|
13477
13477
|
deprecatedPropType: qf,
|
|
13478
13478
|
isMuiElement: Yf,
|
|
@@ -13480,7 +13480,7 @@ const Bp = {
|
|
|
13480
13480
|
ownerWindow: Zf,
|
|
13481
13481
|
requirePropFactory: Qf,
|
|
13482
13482
|
setRef: nu,
|
|
13483
|
-
unstable_ClassNameGenerator:
|
|
13483
|
+
unstable_ClassNameGenerator: Up,
|
|
13484
13484
|
unstable_useEnhancedEffect: No,
|
|
13485
13485
|
unstable_useId: t0,
|
|
13486
13486
|
unsupportedProp: r0,
|
|
@@ -13536,16 +13536,16 @@ var Qp = /^\s+/;
|
|
|
13536
13536
|
function eg(e) {
|
|
13537
13537
|
return e && e.slice(0, Zp(e) + 1).replace(Qp, "");
|
|
13538
13538
|
}
|
|
13539
|
-
var Lt = yt.Symbol, _u = Object.prototype, tg = _u.hasOwnProperty, rg = _u.toString,
|
|
13539
|
+
var Lt = yt.Symbol, _u = Object.prototype, tg = _u.hasOwnProperty, rg = _u.toString, Ur = Lt ? Lt.toStringTag : void 0;
|
|
13540
13540
|
function ng(e) {
|
|
13541
|
-
var t = tg.call(e,
|
|
13541
|
+
var t = tg.call(e, Ur), n = e[Ur];
|
|
13542
13542
|
try {
|
|
13543
|
-
e[
|
|
13543
|
+
e[Ur] = void 0;
|
|
13544
13544
|
var r = !0;
|
|
13545
13545
|
} catch {
|
|
13546
13546
|
}
|
|
13547
13547
|
var a = rg.call(e);
|
|
13548
|
-
return r && (t ? e[
|
|
13548
|
+
return r && (t ? e[Ur] = n : delete e[Ur]), a;
|
|
13549
13549
|
}
|
|
13550
13550
|
var ag = Object.prototype, og = ag.toString;
|
|
13551
13551
|
function sg(e) {
|
|
@@ -13592,8 +13592,8 @@ function yg(e, t, n) {
|
|
|
13592
13592
|
return c = P, l = setTimeout(S, t), d ? v(P) : i;
|
|
13593
13593
|
}
|
|
13594
13594
|
function y(P) {
|
|
13595
|
-
var O = P - u, z = P - c,
|
|
13596
|
-
return m ? gg(
|
|
13595
|
+
var O = P - u, z = P - c, se = t - O;
|
|
13596
|
+
return m ? gg(se, s - z) : se;
|
|
13597
13597
|
}
|
|
13598
13598
|
function g(P) {
|
|
13599
13599
|
var O = P - u, z = P - c;
|
|
@@ -13828,7 +13828,7 @@ const bg = rn(
|
|
|
13828
13828
|
titleId: t,
|
|
13829
13829
|
...n
|
|
13830
13830
|
}, r) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 25, height: 24, fill: "none", ref: r, "aria-labelledby": t, ...n }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { stroke: "#fff", strokeLinecap: "round", strokeWidth: 1.5, d: "M18.5 12a6 6 0 1 0-6 6" }), /* @__PURE__ */ $.createElement("path", { stroke: "#fff", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m16.5 11 2 2.5 2-2.5" })), Pg = Yt(Ag), li = (e) => /* @__PURE__ */ o.jsx(
|
|
13831
|
-
|
|
13831
|
+
oe,
|
|
13832
13832
|
{
|
|
13833
13833
|
position: "absolute",
|
|
13834
13834
|
left: 0,
|
|
@@ -13839,7 +13839,7 @@ const bg = rn(
|
|
|
13839
13839
|
justifyContent: "center",
|
|
13840
13840
|
sx: {
|
|
13841
13841
|
backgroundColor: "rgba(0, 0, 0, 0.6)",
|
|
13842
|
-
backdropFilter: "blur(
|
|
13842
|
+
backdropFilter: "blur(2px)",
|
|
13843
13843
|
zIndex: 100,
|
|
13844
13844
|
...e.sx || {}
|
|
13845
13845
|
},
|
|
@@ -13877,7 +13877,7 @@ const bg = rn(
|
|
|
13877
13877
|
}
|
|
13878
13878
|
) });
|
|
13879
13879
|
}
|
|
13880
|
-
return /* @__PURE__ */ o.jsxs(
|
|
13880
|
+
return /* @__PURE__ */ o.jsxs(oe, { sx: { position: "relative", padding: "6px" }, children: [
|
|
13881
13881
|
r(),
|
|
13882
13882
|
t
|
|
13883
13883
|
] });
|
|
@@ -13911,7 +13911,7 @@ const bg = rn(
|
|
|
13911
13911
|
return on(() => {
|
|
13912
13912
|
t.current && (t.current.textContent = n());
|
|
13913
13913
|
}), /* @__PURE__ */ o.jsx(
|
|
13914
|
-
|
|
13914
|
+
oe,
|
|
13915
13915
|
{
|
|
13916
13916
|
alignItems: "left",
|
|
13917
13917
|
spacing: 2,
|
|
@@ -13989,15 +13989,15 @@ function Fg(e) {
|
|
|
13989
13989
|
function Dg(e) {
|
|
13990
13990
|
return this.__data__.get(e);
|
|
13991
13991
|
}
|
|
13992
|
-
function
|
|
13992
|
+
function Bg(e) {
|
|
13993
13993
|
return this.__data__.has(e);
|
|
13994
13994
|
}
|
|
13995
|
-
var
|
|
13995
|
+
var Ug = "[object AsyncFunction]", Jg = "[object Function]", Vg = "[object GeneratorFunction]", zg = "[object Proxy]";
|
|
13996
13996
|
function Su(e) {
|
|
13997
13997
|
if (!Ht(e))
|
|
13998
13998
|
return !1;
|
|
13999
13999
|
var t = Qt(e);
|
|
14000
|
-
return t == Jg || t == Vg || t ==
|
|
14000
|
+
return t == Jg || t == Vg || t == Ug || t == zg;
|
|
14001
14001
|
}
|
|
14002
14002
|
var Ka = yt["__core-js_shared__"], ui = function() {
|
|
14003
14003
|
var e = /[^.]+$/.exec(Ka && Ka.keys && Ka.keys.IE_PROTO || "");
|
|
@@ -14134,7 +14134,7 @@ function St(e) {
|
|
|
14134
14134
|
St.prototype.clear = Ng;
|
|
14135
14135
|
St.prototype.delete = Fg;
|
|
14136
14136
|
St.prototype.get = Dg;
|
|
14137
|
-
St.prototype.has =
|
|
14137
|
+
St.prototype.has = Bg;
|
|
14138
14138
|
St.prototype.set = xy;
|
|
14139
14139
|
var Sy = "__lodash_hash_undefined__";
|
|
14140
14140
|
function wy(e) {
|
|
@@ -14206,7 +14206,7 @@ function My(e) {
|
|
|
14206
14206
|
n[++t] = r;
|
|
14207
14207
|
}), n;
|
|
14208
14208
|
}
|
|
14209
|
-
var Iy = 1, Ty = 2, Ey = "[object Boolean]", ky = "[object Date]", Ly = "[object Error]", $y = "[object Map]", Ny = "[object Number]", Fy = "[object RegExp]", Dy = "[object Set]",
|
|
14209
|
+
var Iy = 1, Ty = 2, Ey = "[object Boolean]", ky = "[object Date]", Ly = "[object Error]", $y = "[object Map]", Ny = "[object Number]", Fy = "[object RegExp]", Dy = "[object Set]", By = "[object String]", Uy = "[object Symbol]", Jy = "[object ArrayBuffer]", Vy = "[object DataView]", di = Lt ? Lt.prototype : void 0, Ha = di ? di.valueOf : void 0;
|
|
14210
14210
|
function zy(e, t, n, r, a, s, i) {
|
|
14211
14211
|
switch (n) {
|
|
14212
14212
|
case Vy:
|
|
@@ -14222,7 +14222,7 @@ function zy(e, t, n, r, a, s, i) {
|
|
|
14222
14222
|
case Ly:
|
|
14223
14223
|
return e.name == t.name && e.message == t.message;
|
|
14224
14224
|
case Fy:
|
|
14225
|
-
case
|
|
14225
|
+
case By:
|
|
14226
14226
|
return e == t + "";
|
|
14227
14227
|
case $y:
|
|
14228
14228
|
var l = Oy;
|
|
@@ -14236,7 +14236,7 @@ function zy(e, t, n, r, a, s, i) {
|
|
|
14236
14236
|
r |= Ty, i.set(e, t);
|
|
14237
14237
|
var d = wu(l(e), l(t), r, a, s, i);
|
|
14238
14238
|
return i.delete(e), d;
|
|
14239
|
-
case
|
|
14239
|
+
case Uy:
|
|
14240
14240
|
if (Ha)
|
|
14241
14241
|
return Ha.call(e) == Ha.call(t);
|
|
14242
14242
|
}
|
|
@@ -14326,15 +14326,15 @@ function D1(e) {
|
|
|
14326
14326
|
var t = e && e.constructor, n = typeof t == "function" && t.prototype || F1;
|
|
14327
14327
|
return e === n;
|
|
14328
14328
|
}
|
|
14329
|
-
function
|
|
14329
|
+
function B1(e, t) {
|
|
14330
14330
|
return function(n) {
|
|
14331
14331
|
return e(t(n));
|
|
14332
14332
|
};
|
|
14333
14333
|
}
|
|
14334
|
-
var
|
|
14334
|
+
var U1 = B1(Object.keys, Object), J1 = Object.prototype, V1 = J1.hasOwnProperty;
|
|
14335
14335
|
function z1(e) {
|
|
14336
14336
|
if (!D1(e))
|
|
14337
|
-
return
|
|
14337
|
+
return U1(e);
|
|
14338
14338
|
var t = [];
|
|
14339
14339
|
for (var n in Object(e))
|
|
14340
14340
|
V1.call(e, n) && n != "constructor" && t.push(n);
|
|
@@ -14469,7 +14469,7 @@ const Iu = ({
|
|
|
14469
14469
|
}
|
|
14470
14470
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
14471
14471
|
/* @__PURE__ */ o.jsxs(
|
|
14472
|
-
|
|
14472
|
+
oe,
|
|
14473
14473
|
{
|
|
14474
14474
|
direction: "row",
|
|
14475
14475
|
alignItems: "center",
|
|
@@ -14483,7 +14483,7 @@ const Iu = ({
|
|
|
14483
14483
|
}
|
|
14484
14484
|
},
|
|
14485
14485
|
children: [
|
|
14486
|
-
/* @__PURE__ */ o.jsxs(
|
|
14486
|
+
/* @__PURE__ */ o.jsxs(oe, { width: "50%", children: [
|
|
14487
14487
|
/* @__PURE__ */ o.jsx(Jr, { id: "jogging-coord-select", children: "Coordinate Sys." }),
|
|
14488
14488
|
/* @__PURE__ */ o.jsx(
|
|
14489
14489
|
Ia,
|
|
@@ -14499,7 +14499,7 @@ const Iu = ({
|
|
|
14499
14499
|
}
|
|
14500
14500
|
)
|
|
14501
14501
|
] }),
|
|
14502
|
-
/* @__PURE__ */ o.jsxs(
|
|
14502
|
+
/* @__PURE__ */ o.jsxs(oe, { width: "50%", children: [
|
|
14503
14503
|
/* @__PURE__ */ o.jsx(Jr, { id: "jogging-tcp-select", children: "TCP" }),
|
|
14504
14504
|
/* @__PURE__ */ o.jsx(
|
|
14505
14505
|
Ia,
|
|
@@ -14518,7 +14518,7 @@ const Iu = ({
|
|
|
14518
14518
|
}
|
|
14519
14519
|
),
|
|
14520
14520
|
/* @__PURE__ */ o.jsxs(
|
|
14521
|
-
|
|
14521
|
+
oe,
|
|
14522
14522
|
{
|
|
14523
14523
|
direction: "row",
|
|
14524
14524
|
alignItems: "center",
|
|
@@ -14532,7 +14532,7 @@ const Iu = ({
|
|
|
14532
14532
|
}
|
|
14533
14533
|
},
|
|
14534
14534
|
children: [
|
|
14535
|
-
/* @__PURE__ */ o.jsxs(
|
|
14535
|
+
/* @__PURE__ */ o.jsxs(oe, { width: "35%", children: [
|
|
14536
14536
|
/* @__PURE__ */ o.jsx(Jr, { id: "orientation-select", children: t("Jogging.Cartesian.Orientation.lb") }),
|
|
14537
14537
|
/* @__PURE__ */ o.jsxs(
|
|
14538
14538
|
$i,
|
|
@@ -14549,7 +14549,7 @@ const Iu = ({
|
|
|
14549
14549
|
}
|
|
14550
14550
|
)
|
|
14551
14551
|
] }),
|
|
14552
|
-
/* @__PURE__ */ o.jsxs(
|
|
14552
|
+
/* @__PURE__ */ o.jsxs(oe, { width: "65%", children: [
|
|
14553
14553
|
/* @__PURE__ */ o.jsx(Jr, { id: "jogging-increment-select", children: "Increment" }),
|
|
14554
14554
|
/* @__PURE__ */ o.jsxs(
|
|
14555
14555
|
Ia,
|
|
@@ -14704,7 +14704,7 @@ function y_(e) {
|
|
|
14704
14704
|
shiftStep: g = 10,
|
|
14705
14705
|
tabIndex: S,
|
|
14706
14706
|
value: j
|
|
14707
|
-
} = e, C = $.useRef(), [k, R] = $.useState(-1), [P, O] = $.useState(-1), [z,
|
|
14707
|
+
} = e, C = $.useRef(), [k, R] = $.useState(-1), [P, O] = $.useState(-1), [z, se] = $.useState(!1), le = $.useRef(0), [F, H] = au({
|
|
14708
14708
|
controlled: j,
|
|
14709
14709
|
default: n ?? u,
|
|
14710
14710
|
name: "Slider"
|
|
@@ -14722,7 +14722,7 @@ function y_(e) {
|
|
|
14722
14722
|
K = K.map((M) => M == null ? u : fr(M, u, l));
|
|
14723
14723
|
const xe = i === !0 && y !== null ? [...Array(Math.floor((l - u) / y) + 1)].map((M, E) => ({
|
|
14724
14724
|
value: u + y * E
|
|
14725
|
-
})) : i || [],
|
|
14725
|
+
})) : i || [], ie = xe.map((M) => M.value), {
|
|
14726
14726
|
isFocusVisibleRef: Y,
|
|
14727
14727
|
onBlur: je,
|
|
14728
14728
|
onFocus: Ie,
|
|
@@ -14735,22 +14735,22 @@ function y_(e) {
|
|
|
14735
14735
|
var N;
|
|
14736
14736
|
je(E), Y.current === !1 && Ge(-1), O(-1), M == null || (N = M.onBlur) == null || N.call(M, E);
|
|
14737
14737
|
}, lt = (M, E) => {
|
|
14738
|
-
const N = Number(M.currentTarget.getAttribute("data-index")), G = K[N], q =
|
|
14738
|
+
const N = Number(M.currentTarget.getAttribute("data-index")), G = K[N], q = ie.indexOf(G);
|
|
14739
14739
|
let W = E;
|
|
14740
14740
|
if (xe && y == null) {
|
|
14741
|
-
const
|
|
14742
|
-
W >
|
|
14741
|
+
const Ue = ie[ie.length - 1];
|
|
14742
|
+
W > Ue ? W = Ue : W < ie[0] ? W = ie[0] : W = W < G ? ie[q - 1] : ie[q + 1];
|
|
14743
14743
|
}
|
|
14744
14744
|
if (W = fr(W, u, l), X) {
|
|
14745
14745
|
a && (W = fr(W, K[N - 1] || -1 / 0, K[N + 1] || 1 / 0));
|
|
14746
|
-
const
|
|
14746
|
+
const Ue = W;
|
|
14747
14747
|
W = Pi({
|
|
14748
14748
|
values: K,
|
|
14749
14749
|
newValue: W,
|
|
14750
14750
|
index: N
|
|
14751
14751
|
});
|
|
14752
14752
|
let Ke = N;
|
|
14753
|
-
a || (Ke = W.indexOf(
|
|
14753
|
+
a || (Ke = W.indexOf(Ue)), jn({
|
|
14754
14754
|
sliderRef: Se,
|
|
14755
14755
|
activeIndex: Ke
|
|
14756
14756
|
});
|
|
@@ -14775,8 +14775,8 @@ function y_(e) {
|
|
|
14775
14775
|
var N;
|
|
14776
14776
|
(N = M.onChange) == null || N.call(M, E), lt(E, E.target.valueAsNumber);
|
|
14777
14777
|
}, vt = $.useRef();
|
|
14778
|
-
let
|
|
14779
|
-
s && h === "horizontal" && (
|
|
14778
|
+
let Be = h;
|
|
14779
|
+
s && h === "horizontal" && (Be += "-reverse");
|
|
14780
14780
|
const I = ({
|
|
14781
14781
|
finger: M,
|
|
14782
14782
|
move: E = !1
|
|
@@ -14787,16 +14787,16 @@ function y_(e) {
|
|
|
14787
14787
|
width: G,
|
|
14788
14788
|
height: q,
|
|
14789
14789
|
bottom: W,
|
|
14790
|
-
left:
|
|
14790
|
+
left: Ue
|
|
14791
14791
|
} = N.getBoundingClientRect();
|
|
14792
14792
|
let Ke;
|
|
14793
|
-
|
|
14793
|
+
Be.indexOf("vertical") === 0 ? Ke = (W - M.y) / q : Ke = (M.x - Ue) / G, Be.indexOf("-reverse") !== -1 && (Ke = 1 - Ke);
|
|
14794
14794
|
let Q;
|
|
14795
14795
|
if (Q = h_(Ke, u, l), y)
|
|
14796
14796
|
Q = f_(Q, y, u);
|
|
14797
14797
|
else {
|
|
14798
|
-
const Mt = Ai(
|
|
14799
|
-
Q =
|
|
14798
|
+
const Mt = Ai(ie, Q);
|
|
14799
|
+
Q = ie[Mt];
|
|
14800
14800
|
}
|
|
14801
14801
|
Q = fr(Q, u, l);
|
|
14802
14802
|
let ke = 0;
|
|
@@ -14832,10 +14832,10 @@ function y_(e) {
|
|
|
14832
14832
|
sliderRef: Se,
|
|
14833
14833
|
activeIndex: G,
|
|
14834
14834
|
setActive: R
|
|
14835
|
-
}), H(N), !z && le.current > d_ &&
|
|
14835
|
+
}), H(N), !z && le.current > d_ && se(!0), V && !Rn(N, F) && V(M, N, G);
|
|
14836
14836
|
}), de = Ln((M) => {
|
|
14837
14837
|
const E = wn(M, C);
|
|
14838
|
-
if (
|
|
14838
|
+
if (se(!1), !E)
|
|
14839
14839
|
return;
|
|
14840
14840
|
const {
|
|
14841
14841
|
newValue: N
|
|
@@ -14896,15 +14896,15 @@ function y_(e) {
|
|
|
14896
14896
|
if (G !== !1) {
|
|
14897
14897
|
const {
|
|
14898
14898
|
newValue: W,
|
|
14899
|
-
activeIndex:
|
|
14899
|
+
activeIndex: Ue
|
|
14900
14900
|
} = I({
|
|
14901
14901
|
finger: G
|
|
14902
14902
|
});
|
|
14903
14903
|
jn({
|
|
14904
14904
|
sliderRef: Se,
|
|
14905
|
-
activeIndex:
|
|
14905
|
+
activeIndex: Ue,
|
|
14906
14906
|
setActive: R
|
|
14907
|
-
}), H(W), V && !Rn(W, F) && V(E, W,
|
|
14907
|
+
}), H(W), V && !Rn(W, F) && V(E, W, Ue);
|
|
14908
14908
|
}
|
|
14909
14909
|
le.current = 0;
|
|
14910
14910
|
const q = _r(Se.current);
|
|
@@ -14929,7 +14929,7 @@ function y_(e) {
|
|
|
14929
14929
|
};
|
|
14930
14930
|
return {
|
|
14931
14931
|
active: k,
|
|
14932
|
-
axis:
|
|
14932
|
+
axis: Be,
|
|
14933
14933
|
axisProps: p_,
|
|
14934
14934
|
dragging: z,
|
|
14935
14935
|
focusedThumbIndex: _t,
|
|
@@ -15541,7 +15541,7 @@ const S_ = jt("span", {
|
|
|
15541
15541
|
}, M_ = ({
|
|
15542
15542
|
children: e
|
|
15543
15543
|
}) => e, ku = /* @__PURE__ */ $.forwardRef(function(t, n) {
|
|
15544
|
-
var r, a, s, i, l, u, c, d, m, h, v, _, y, g, S, j, C, k, R, P, O, z,
|
|
15544
|
+
var r, a, s, i, l, u, c, d, m, h, v, _, y, g, S, j, C, k, R, P, O, z, se, le;
|
|
15545
15545
|
const F = zo({
|
|
15546
15546
|
props: t,
|
|
15547
15547
|
name: "MuiSlider"
|
|
@@ -15551,7 +15551,7 @@ const S_ = jt("span", {
|
|
|
15551
15551
|
"aria-labelledby": K,
|
|
15552
15552
|
// eslint-disable-next-line react/prop-types
|
|
15553
15553
|
component: xe = "span",
|
|
15554
|
-
components:
|
|
15554
|
+
components: ie = {},
|
|
15555
15555
|
componentsProps: Y = {},
|
|
15556
15556
|
color: je = "primary",
|
|
15557
15557
|
classes: Ie,
|
|
@@ -15567,7 +15567,7 @@ const S_ = jt("span", {
|
|
|
15567
15567
|
shiftStep: ut = 10,
|
|
15568
15568
|
size: Nt = "medium",
|
|
15569
15569
|
step: vt = 1,
|
|
15570
|
-
scale:
|
|
15570
|
+
scale: Be = Mi,
|
|
15571
15571
|
slotProps: I,
|
|
15572
15572
|
slots: Z,
|
|
15573
15573
|
track: de = "normal",
|
|
@@ -15586,7 +15586,7 @@ const S_ = jt("span", {
|
|
|
15586
15586
|
size: Nt,
|
|
15587
15587
|
step: vt,
|
|
15588
15588
|
shiftStep: ut,
|
|
15589
|
-
scale:
|
|
15589
|
+
scale: Be,
|
|
15590
15590
|
track: de,
|
|
15591
15591
|
valueLabelDisplay: Te,
|
|
15592
15592
|
valueLabelFormat: Ee
|
|
@@ -15604,13 +15604,13 @@ const S_ = jt("span", {
|
|
|
15604
15604
|
marks: G,
|
|
15605
15605
|
values: q,
|
|
15606
15606
|
trackOffset: W,
|
|
15607
|
-
trackLeap:
|
|
15607
|
+
trackLeap: Ue,
|
|
15608
15608
|
getThumbStyle: Ke
|
|
15609
15609
|
} = y_(A({}, we, {
|
|
15610
15610
|
rootRef: n
|
|
15611
15611
|
}));
|
|
15612
15612
|
we.marked = G.length > 0 && G.some((L) => L.label), we.dragging = N, we.focusedThumbIndex = M;
|
|
15613
|
-
const Q = O_(we), ke = (r = (a = Z == null ? void 0 : Z.root) != null ? a :
|
|
15613
|
+
const Q = O_(we), ke = (r = (a = Z == null ? void 0 : Z.root) != null ? a : ie.Root) != null ? r : S_, Mt = (s = (i = Z == null ? void 0 : Z.rail) != null ? i : ie.Rail) != null ? s : w_, nr = (l = (u = Z == null ? void 0 : Z.track) != null ? u : ie.Track) != null ? l : j_, Or = (c = (d = Z == null ? void 0 : Z.thumb) != null ? d : ie.Thumb) != null ? c : R_, bt = (m = (h = Z == null ? void 0 : Z.valueLabel) != null ? h : ie.ValueLabel) != null ? m : C_, Dt = (v = (_ = Z == null ? void 0 : Z.mark) != null ? _ : ie.Mark) != null ? v : A_, Bt = (y = (g = Z == null ? void 0 : Z.markLabel) != null ? g : ie.MarkLabel) != null ? y : P_, Mr = (S = (j = Z == null ? void 0 : Z.input) != null ? j : ie.Input) != null ? S : "input", Ir = (C = I == null ? void 0 : I.root) != null ? C : Y.root, fn = (k = I == null ? void 0 : I.rail) != null ? k : Y.rail, Tr = (R = I == null ? void 0 : I.track) != null ? R : Y.track, ar = (P = I == null ? void 0 : I.thumb) != null ? P : Y.thumb, or = (O = I == null ? void 0 : I.valueLabel) != null ? O : Y.valueLabel, Ra = (z = I == null ? void 0 : I.mark) != null ? z : Y.mark, Ca = (se = I == null ? void 0 : I.markLabel) != null ? se : Y.markLabel, pn = (le = I == null ? void 0 : I.input) != null ? le : Y.input, gn = Tt({
|
|
15614
15614
|
elementType: ke,
|
|
15615
15615
|
getSlotProps: Ft,
|
|
15616
15616
|
externalSlotProps: Ir,
|
|
@@ -15629,7 +15629,7 @@ const S_ = jt("span", {
|
|
|
15629
15629
|
elementType: nr,
|
|
15630
15630
|
externalSlotProps: Tr,
|
|
15631
15631
|
additionalProps: {
|
|
15632
|
-
style: A({}, Ot[nt].offset(W), Ot[nt].leap(
|
|
15632
|
+
style: A({}, Ot[nt].offset(W), Ot[nt].leap(Ue))
|
|
15633
15633
|
},
|
|
15634
15634
|
ownerState: A({}, we, Tr == null ? void 0 : Tr.ownerState),
|
|
15635
15635
|
className: Q.track
|
|
@@ -15650,7 +15650,7 @@ const S_ = jt("span", {
|
|
|
15650
15650
|
ownerState: we,
|
|
15651
15651
|
className: Q.mark
|
|
15652
15652
|
}), w = Tt({
|
|
15653
|
-
elementType:
|
|
15653
|
+
elementType: Bt,
|
|
15654
15654
|
externalSlotProps: Ca,
|
|
15655
15655
|
ownerState: we,
|
|
15656
15656
|
className: Q.markLabel
|
|
@@ -15663,34 +15663,34 @@ const S_ = jt("span", {
|
|
|
15663
15663
|
return /* @__PURE__ */ o.jsxs(ke, A({}, gn, {
|
|
15664
15664
|
children: [/* @__PURE__ */ o.jsx(Mt, A({}, Aa)), /* @__PURE__ */ o.jsx(nr, A({}, Pa)), G.filter((L) => L.value >= De && L.value <= We).map((L, D) => {
|
|
15665
15665
|
const ee = Qn(L.value, De, We), J = Ot[nt].offset(ee);
|
|
15666
|
-
let
|
|
15667
|
-
return de === !1 ?
|
|
15666
|
+
let B;
|
|
15667
|
+
return de === !1 ? B = q.indexOf(L.value) !== -1 : B = de === "normal" && (E ? L.value >= q[0] && L.value <= q[q.length - 1] : L.value <= q[0]) || de === "inverted" && (E ? L.value <= q[0] || L.value >= q[q.length - 1] : L.value >= q[0]), /* @__PURE__ */ o.jsxs($.Fragment, {
|
|
15668
15668
|
children: [/* @__PURE__ */ o.jsx(Dt, A({
|
|
15669
15669
|
"data-index": D
|
|
15670
15670
|
}, p, !Gr(Dt) && {
|
|
15671
|
-
markActive:
|
|
15671
|
+
markActive: B
|
|
15672
15672
|
}, {
|
|
15673
15673
|
style: A({}, J, p.style),
|
|
15674
|
-
className: ft(p.className,
|
|
15675
|
-
})), L.label != null ? /* @__PURE__ */ o.jsx(
|
|
15674
|
+
className: ft(p.className, B && Q.markActive)
|
|
15675
|
+
})), L.label != null ? /* @__PURE__ */ o.jsx(Bt, A({
|
|
15676
15676
|
"aria-hidden": !0,
|
|
15677
15677
|
"data-index": D
|
|
15678
|
-
}, w, !Gr(
|
|
15679
|
-
markLabelActive:
|
|
15678
|
+
}, w, !Gr(Bt) && {
|
|
15679
|
+
markLabelActive: B
|
|
15680
15680
|
}, {
|
|
15681
15681
|
style: A({}, J, w.style),
|
|
15682
|
-
className: ft(Q.markLabel, w.className,
|
|
15682
|
+
className: ft(Q.markLabel, w.className, B && Q.markLabelActive),
|
|
15683
15683
|
children: L.label
|
|
15684
15684
|
})) : null]
|
|
15685
15685
|
}, D);
|
|
15686
15686
|
}), q.map((L, D) => {
|
|
15687
|
-
const ee = Qn(L, De, We), J = Ot[nt].offset(ee),
|
|
15687
|
+
const ee = Qn(L, De, We), J = Ot[nt].offset(ee), B = Te === "off" ? M_ : bt;
|
|
15688
15688
|
return (
|
|
15689
15689
|
/* 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. */
|
|
15690
|
-
/* @__PURE__ */ o.jsx(
|
|
15690
|
+
/* @__PURE__ */ o.jsx(B, A({}, !Gr(B) && {
|
|
15691
15691
|
valueLabelFormat: Ee,
|
|
15692
15692
|
valueLabelDisplay: Te,
|
|
15693
|
-
value: typeof Ee == "function" ? Ee(
|
|
15693
|
+
value: typeof Ee == "function" ? Ee(Be(L), D) : Ee,
|
|
15694
15694
|
index: D,
|
|
15695
15695
|
open: Pr === D || rr === D || Te === "on",
|
|
15696
15696
|
disabled: Ge
|
|
@@ -15703,9 +15703,9 @@ const S_ = jt("span", {
|
|
|
15703
15703
|
children: /* @__PURE__ */ o.jsx(Mr, A({
|
|
15704
15704
|
"data-index": D,
|
|
15705
15705
|
"aria-label": Se ? Se(D) : V,
|
|
15706
|
-
"aria-valuenow":
|
|
15706
|
+
"aria-valuenow": Be(L),
|
|
15707
15707
|
"aria-labelledby": K,
|
|
15708
|
-
"aria-valuetext": At ? At(
|
|
15708
|
+
"aria-valuetext": At ? At(Be(L), D) : X,
|
|
15709
15709
|
value: q[D]
|
|
15710
15710
|
}, T))
|
|
15711
15711
|
}))
|
|
@@ -15722,7 +15722,7 @@ process.env.NODE_ENV !== "production" && (ku.propTypes = {
|
|
|
15722
15722
|
/**
|
|
15723
15723
|
* The label of the slider.
|
|
15724
15724
|
*/
|
|
15725
|
-
"aria-label":
|
|
15725
|
+
"aria-label": Us(f.string, (e) => Array.isArray(e.value || e.defaultValue) && e["aria-label"] != null ? new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.") : null),
|
|
15726
15726
|
/**
|
|
15727
15727
|
* The id of the element containing a label for the slider.
|
|
15728
15728
|
*/
|
|
@@ -15730,7 +15730,7 @@ process.env.NODE_ENV !== "production" && (ku.propTypes = {
|
|
|
15730
15730
|
/**
|
|
15731
15731
|
* A string value that provides a user-friendly name for the current value of the slider.
|
|
15732
15732
|
*/
|
|
15733
|
-
"aria-valuetext":
|
|
15733
|
+
"aria-valuetext": Us(f.string, (e) => Array.isArray(e.value || e.defaultValue) && e["aria-valuetext"] != null ? new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.") : null),
|
|
15734
15734
|
/**
|
|
15735
15735
|
* @ignore
|
|
15736
15736
|
*/
|
|
@@ -16028,13 +16028,13 @@ const E_ = et((e) => {
|
|
|
16028
16028
|
}
|
|
16029
16029
|
}));
|
|
16030
16030
|
return /* @__PURE__ */ o.jsx(
|
|
16031
|
-
|
|
16031
|
+
oe,
|
|
16032
16032
|
{
|
|
16033
16033
|
sx: {
|
|
16034
16034
|
margin: "0px 20px",
|
|
16035
16035
|
marginBottom: "12px"
|
|
16036
16036
|
},
|
|
16037
|
-
children: /* @__PURE__ */ o.jsx(
|
|
16037
|
+
children: /* @__PURE__ */ o.jsx(oe, { sx: { width: "380px", maxWidth: "90%", margin: "auto" }, children: /* @__PURE__ */ o.jsx(
|
|
16038
16038
|
E_,
|
|
16039
16039
|
{
|
|
16040
16040
|
velocity: e.velocityInCurrentUnits,
|
|
@@ -16049,10 +16049,10 @@ const E_ = et((e) => {
|
|
|
16049
16049
|
);
|
|
16050
16050
|
}
|
|
16051
16051
|
), k_ = et(
|
|
16052
|
-
({ store: e }) => {
|
|
16053
|
-
const { t } = Zt();
|
|
16054
|
-
function
|
|
16055
|
-
(
|
|
16052
|
+
({ store: e, children: t }) => {
|
|
16053
|
+
const { t: n } = Zt();
|
|
16054
|
+
function r(d, m) {
|
|
16055
|
+
(m === "translate" || m === "rotate") && e.setSelectedCartesianMotionType(m);
|
|
16056
16056
|
}
|
|
16057
16057
|
Ol(
|
|
16058
16058
|
() => [e.selectedCoordSystemId, e.selectedTcpId],
|
|
@@ -16065,45 +16065,45 @@ const E_ = et((e) => {
|
|
|
16065
16065
|
},
|
|
16066
16066
|
{ fireImmediately: !0 }
|
|
16067
16067
|
);
|
|
16068
|
-
async function
|
|
16069
|
-
const
|
|
16070
|
-
|
|
16068
|
+
async function a(d, m) {
|
|
16069
|
+
const h = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose, v = e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;
|
|
16070
|
+
h && await e.withMotionLock(async () => {
|
|
16071
16071
|
await e.jogger.runIncrementalCartesianMotion({
|
|
16072
|
-
currentTcpPose:
|
|
16073
|
-
currentJoints:
|
|
16072
|
+
currentTcpPose: h,
|
|
16073
|
+
currentJoints: v,
|
|
16074
16074
|
coordSystemId: e.activeCoordSystemId,
|
|
16075
16075
|
velocityInRelevantUnits: e.velocityInCurrentUnits,
|
|
16076
|
-
axis:
|
|
16077
|
-
direction:
|
|
16076
|
+
axis: d.axis,
|
|
16077
|
+
direction: d.direction,
|
|
16078
16078
|
motion: e.selectedCartesianMotionType === "translate" ? {
|
|
16079
16079
|
type: "translate",
|
|
16080
|
-
distanceMm:
|
|
16080
|
+
distanceMm: m.mm
|
|
16081
16081
|
} : {
|
|
16082
16082
|
type: "rotate",
|
|
16083
|
-
distanceRads: jc(
|
|
16083
|
+
distanceRads: jc(m.degrees)
|
|
16084
16084
|
}
|
|
16085
16085
|
});
|
|
16086
16086
|
});
|
|
16087
16087
|
}
|
|
16088
|
-
async function
|
|
16088
|
+
async function s(d) {
|
|
16089
16089
|
if (!e.isLocked) {
|
|
16090
16090
|
if (e.activeDiscreteIncrement)
|
|
16091
|
-
return
|
|
16092
|
-
|
|
16093
|
-
axis:
|
|
16094
|
-
direction:
|
|
16091
|
+
return a(d, e.activeDiscreteIncrement);
|
|
16092
|
+
d.motionType === "translate" ? await e.jogger.startTCPTranslation({
|
|
16093
|
+
axis: d.axis,
|
|
16094
|
+
direction: d.direction,
|
|
16095
16095
|
velocityMmPerSec: e.translationVelocityMmPerSec
|
|
16096
16096
|
}) : await e.jogger.startTCPRotation({
|
|
16097
|
-
axis:
|
|
16098
|
-
direction:
|
|
16097
|
+
axis: d.axis,
|
|
16098
|
+
direction: d.direction,
|
|
16099
16099
|
velocityRadsPerSec: e.rotationVelocityRadsPerSec
|
|
16100
16100
|
});
|
|
16101
16101
|
}
|
|
16102
16102
|
}
|
|
16103
|
-
async function
|
|
16103
|
+
async function i() {
|
|
16104
16104
|
e.isLocked || e.activeDiscreteIncrement || await e.jogger.stop();
|
|
16105
16105
|
}
|
|
16106
|
-
const
|
|
16106
|
+
const l = [
|
|
16107
16107
|
{
|
|
16108
16108
|
id: "x",
|
|
16109
16109
|
color: "#F14D42",
|
|
@@ -16120,112 +16120,129 @@ const E_ = et((e) => {
|
|
|
16120
16120
|
icon: /* @__PURE__ */ o.jsx(Cg, {})
|
|
16121
16121
|
}
|
|
16122
16122
|
];
|
|
16123
|
-
function
|
|
16124
|
-
return
|
|
16123
|
+
function u(d) {
|
|
16124
|
+
return n("General.mm.variable", { amount: d.toFixed(1) });
|
|
16125
16125
|
}
|
|
16126
|
-
function
|
|
16127
|
-
return
|
|
16128
|
-
amount: Pn(
|
|
16126
|
+
function c(d) {
|
|
16127
|
+
return n("General.degree.variable", {
|
|
16128
|
+
amount: Pn(d).toFixed(1)
|
|
16129
16129
|
});
|
|
16130
16130
|
}
|
|
16131
|
-
return /* @__PURE__ */ o.jsxs(
|
|
16132
|
-
/* @__PURE__ */ o.
|
|
16133
|
-
|
|
16134
|
-
|
|
16135
|
-
|
|
16131
|
+
return /* @__PURE__ */ o.jsxs(oe, { flexGrow: 1, justifyContent: "space-between", children: [
|
|
16132
|
+
/* @__PURE__ */ o.jsxs(oe, { children: [
|
|
16133
|
+
/* @__PURE__ */ o.jsx(Og, { store: e }),
|
|
16134
|
+
/* @__PURE__ */ o.jsx(u_, { store: e })
|
|
16135
|
+
] }),
|
|
16136
|
+
/* @__PURE__ */ o.jsx(
|
|
16137
|
+
oe,
|
|
16138
|
+
{
|
|
16139
|
+
width: "80%",
|
|
16140
|
+
maxWidth: "296px",
|
|
16141
|
+
marginLeft: "auto",
|
|
16142
|
+
marginRight: "auto",
|
|
16143
|
+
marginTop: "8px",
|
|
16144
|
+
marginBottom: "8px",
|
|
16145
|
+
gap: "12px",
|
|
16146
|
+
children: /* @__PURE__ */ o.jsxs(
|
|
16147
|
+
$i,
|
|
16148
|
+
{
|
|
16149
|
+
value: e.selectedCartesianMotionType,
|
|
16150
|
+
onChange: r,
|
|
16151
|
+
exclusive: !0,
|
|
16152
|
+
"aria-label": n("Jogging.Cartesian.MotionType.lb"),
|
|
16153
|
+
children: [
|
|
16154
|
+
/* @__PURE__ */ o.jsx(Dn, { value: "translate", children: n("Jogging.Cartesian.Translation.bt") }),
|
|
16155
|
+
/* @__PURE__ */ o.jsx(Dn, { value: "rotate", children: n("Jogging.Cartesian.Rotation.bt") })
|
|
16156
|
+
]
|
|
16157
|
+
}
|
|
16158
|
+
)
|
|
16159
|
+
}
|
|
16160
|
+
),
|
|
16161
|
+
/* @__PURE__ */ o.jsx(vu, { store: e, children: /* @__PURE__ */ o.jsxs(
|
|
16162
|
+
oe,
|
|
16136
16163
|
{
|
|
16137
16164
|
width: "80%",
|
|
16138
16165
|
maxWidth: "296px",
|
|
16139
|
-
|
|
16140
|
-
|
|
16166
|
+
marginLeft: "auto",
|
|
16167
|
+
marginRight: "auto",
|
|
16168
|
+
marginTop: "8px",
|
|
16169
|
+
marginBottom: "8px",
|
|
16141
16170
|
gap: "12px",
|
|
16142
16171
|
children: [
|
|
16143
|
-
/* @__PURE__ */ o.
|
|
16144
|
-
|
|
16172
|
+
e.selectedCartesianMotionType === "translate" && l.map((d) => /* @__PURE__ */ o.jsx(
|
|
16173
|
+
ni,
|
|
16145
16174
|
{
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
|
|
16156
|
-
|
|
16157
|
-
|
|
16158
|
-
|
|
16159
|
-
|
|
16160
|
-
|
|
16161
|
-
|
|
16162
|
-
|
|
16163
|
-
|
|
16164
|
-
|
|
16165
|
-
|
|
16166
|
-
{
|
|
16167
|
-
sx: {
|
|
16168
|
-
fontSize: "24px",
|
|
16169
|
-
color: "white"
|
|
16170
|
-
},
|
|
16171
|
-
children: c.id.toUpperCase()
|
|
16172
|
-
}
|
|
16173
|
-
)
|
|
16174
|
-
] }),
|
|
16175
|
-
getDisplayedValue: () => {
|
|
16176
|
-
var d;
|
|
16177
|
-
return l(
|
|
16178
|
-
((d = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose) == null ? void 0 : d.position[c.id]) || 0
|
|
16179
|
-
);
|
|
16180
|
-
},
|
|
16181
|
-
startJogging: (d) => a({
|
|
16182
|
-
axis: c.id,
|
|
16183
|
-
motionType: "translate",
|
|
16184
|
-
direction: d
|
|
16185
|
-
}),
|
|
16186
|
-
stopJogging: s
|
|
16175
|
+
color: d.color,
|
|
16176
|
+
disabled: e.isLocked,
|
|
16177
|
+
label: /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
16178
|
+
d.icon,
|
|
16179
|
+
/* @__PURE__ */ o.jsx(
|
|
16180
|
+
pt,
|
|
16181
|
+
{
|
|
16182
|
+
sx: {
|
|
16183
|
+
fontSize: "24px",
|
|
16184
|
+
color: "white"
|
|
16185
|
+
},
|
|
16186
|
+
children: d.id.toUpperCase()
|
|
16187
|
+
}
|
|
16188
|
+
)
|
|
16189
|
+
] }),
|
|
16190
|
+
getDisplayedValue: () => {
|
|
16191
|
+
var m;
|
|
16192
|
+
return u(
|
|
16193
|
+
((m = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose) == null ? void 0 : m.position[d.id]) || 0
|
|
16194
|
+
);
|
|
16187
16195
|
},
|
|
16188
|
-
|
|
16189
|
-
|
|
16190
|
-
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
|
-
|
|
16204
|
-
|
|
16205
|
-
|
|
16206
|
-
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
|
|
16213
|
-
|
|
16214
|
-
|
|
16215
|
-
|
|
16216
|
-
|
|
16217
|
-
|
|
16218
|
-
|
|
16219
|
-
|
|
16196
|
+
startJogging: (m) => s({
|
|
16197
|
+
axis: d.id,
|
|
16198
|
+
motionType: "translate",
|
|
16199
|
+
direction: m
|
|
16200
|
+
}),
|
|
16201
|
+
stopJogging: i
|
|
16202
|
+
},
|
|
16203
|
+
d.id
|
|
16204
|
+
)),
|
|
16205
|
+
e.selectedCartesianMotionType === "rotate" && l.map((d) => /* @__PURE__ */ o.jsx(
|
|
16206
|
+
ni,
|
|
16207
|
+
{
|
|
16208
|
+
color: d.color,
|
|
16209
|
+
disabled: e.isLocked,
|
|
16210
|
+
label: /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
16211
|
+
/* @__PURE__ */ o.jsx(Pg, {}),
|
|
16212
|
+
/* @__PURE__ */ o.jsx(
|
|
16213
|
+
pt,
|
|
16214
|
+
{
|
|
16215
|
+
sx: {
|
|
16216
|
+
fontSize: "24px",
|
|
16217
|
+
color: "white"
|
|
16218
|
+
},
|
|
16219
|
+
children: d.id.toUpperCase()
|
|
16220
|
+
}
|
|
16221
|
+
)
|
|
16222
|
+
] }),
|
|
16223
|
+
getDisplayedValue: () => {
|
|
16224
|
+
var m, h;
|
|
16225
|
+
return c(
|
|
16226
|
+
((h = (m = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose) == null ? void 0 : m.orientation) == null ? void 0 : h[d.id]) || 0
|
|
16227
|
+
);
|
|
16220
16228
|
},
|
|
16221
|
-
|
|
16222
|
-
|
|
16223
|
-
|
|
16229
|
+
startJogging: (m) => s({
|
|
16230
|
+
axis: d.id,
|
|
16231
|
+
motionType: "rotate",
|
|
16232
|
+
direction: m
|
|
16233
|
+
}),
|
|
16234
|
+
stopJogging: i
|
|
16235
|
+
},
|
|
16236
|
+
d.id
|
|
16237
|
+
))
|
|
16224
16238
|
]
|
|
16225
16239
|
}
|
|
16226
|
-
),
|
|
16227
|
-
/* @__PURE__ */ o.
|
|
16228
|
-
|
|
16240
|
+
) }),
|
|
16241
|
+
/* @__PURE__ */ o.jsxs(oe, { children: [
|
|
16242
|
+
/* @__PURE__ */ o.jsx(Iu, { store: e }),
|
|
16243
|
+
/* @__PURE__ */ o.jsx(Lu, { store: e }),
|
|
16244
|
+
t
|
|
16245
|
+
] })
|
|
16229
16246
|
] });
|
|
16230
16247
|
}
|
|
16231
16248
|
), L_ = et(
|
|
@@ -16239,7 +16256,7 @@ const E_ = et((e) => {
|
|
|
16239
16256
|
return on(() => {
|
|
16240
16257
|
t.current && (t.current.textContent = n());
|
|
16241
16258
|
}), /* @__PURE__ */ o.jsx(
|
|
16242
|
-
|
|
16259
|
+
oe,
|
|
16243
16260
|
{
|
|
16244
16261
|
alignItems: "left",
|
|
16245
16262
|
spacing: 2,
|
|
@@ -16263,25 +16280,25 @@ const E_ = et((e) => {
|
|
|
16263
16280
|
);
|
|
16264
16281
|
}
|
|
16265
16282
|
), $_ = et(
|
|
16266
|
-
({ store: e }) => {
|
|
16267
|
-
async function
|
|
16283
|
+
({ store: e, children: t }) => {
|
|
16284
|
+
async function n(a) {
|
|
16268
16285
|
await e.jogger.startJointRotation({
|
|
16269
|
-
joint:
|
|
16270
|
-
direction:
|
|
16286
|
+
joint: a.joint,
|
|
16287
|
+
direction: a.direction,
|
|
16271
16288
|
velocityRadsPerSec: e.rotationVelocityRadsPerSec
|
|
16272
16289
|
});
|
|
16273
16290
|
}
|
|
16274
|
-
async function
|
|
16291
|
+
async function r() {
|
|
16275
16292
|
await e.jogger.stop();
|
|
16276
16293
|
}
|
|
16277
|
-
return /* @__PURE__ */ o.jsxs(
|
|
16294
|
+
return /* @__PURE__ */ o.jsxs(oe, { flexGrow: 1, justifyContent: "space-between", children: [
|
|
16278
16295
|
/* @__PURE__ */ o.jsx(L_, { store: e }),
|
|
16279
|
-
/* @__PURE__ */ o.jsx(
|
|
16280
|
-
/* @__PURE__ */ o.jsx(vu, { store: e, children: /* @__PURE__ */ o.jsx(
|
|
16281
|
-
var
|
|
16282
|
-
const
|
|
16296
|
+
/* @__PURE__ */ o.jsx(oe, { marginTop: "0.8rem" }),
|
|
16297
|
+
/* @__PURE__ */ o.jsx(vu, { store: e, children: /* @__PURE__ */ o.jsx(oe, { gap: "0.8rem", children: e.jogger.motionStream.joints.map((a) => {
|
|
16298
|
+
var u;
|
|
16299
|
+
const s = (u = e.motionGroupSpec.mechanical_joint_limits) == null ? void 0 : u[a.index], i = (s == null ? void 0 : s.lower_limit) !== void 0 ? Pn(s.lower_limit) : void 0, l = (s == null ? void 0 : s.upper_limit) !== void 0 ? Pn(s.upper_limit) : void 0;
|
|
16283
16300
|
return /* @__PURE__ */ o.jsxs(
|
|
16284
|
-
|
|
16301
|
+
oe,
|
|
16285
16302
|
{
|
|
16286
16303
|
direction: "row",
|
|
16287
16304
|
alignItems: "center",
|
|
@@ -16294,26 +16311,26 @@ const E_ = et((e) => {
|
|
|
16294
16311
|
flexGrow: 1,
|
|
16295
16312
|
textAlign: "right"
|
|
16296
16313
|
},
|
|
16297
|
-
children: `J${
|
|
16314
|
+
children: `J${a.index + 1}`
|
|
16298
16315
|
}
|
|
16299
16316
|
),
|
|
16300
16317
|
/* @__PURE__ */ o.jsx(
|
|
16301
16318
|
bg,
|
|
16302
16319
|
{
|
|
16303
16320
|
disabled: e.isLocked,
|
|
16304
|
-
lowerLimitDegs:
|
|
16305
|
-
upperLimitDegs:
|
|
16321
|
+
lowerLimitDegs: i,
|
|
16322
|
+
upperLimitDegs: l,
|
|
16306
16323
|
getValueDegs: () => {
|
|
16307
|
-
const
|
|
16308
|
-
return
|
|
16324
|
+
const c = e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position.joints[a.index];
|
|
16325
|
+
return c !== void 0 ? Pn(c) : void 0;
|
|
16309
16326
|
},
|
|
16310
|
-
startJogging: (
|
|
16311
|
-
joint:
|
|
16312
|
-
direction:
|
|
16327
|
+
startJogging: (c) => n({
|
|
16328
|
+
joint: a.index,
|
|
16329
|
+
direction: c
|
|
16313
16330
|
}),
|
|
16314
|
-
stopJogging:
|
|
16331
|
+
stopJogging: r
|
|
16315
16332
|
},
|
|
16316
|
-
|
|
16333
|
+
a.index
|
|
16317
16334
|
),
|
|
16318
16335
|
/* @__PURE__ */ o.jsx(
|
|
16319
16336
|
pt,
|
|
@@ -16325,7 +16342,7 @@ const E_ = et((e) => {
|
|
|
16325
16342
|
)
|
|
16326
16343
|
]
|
|
16327
16344
|
},
|
|
16328
|
-
`joint-${
|
|
16345
|
+
`joint-${a.index}`
|
|
16329
16346
|
);
|
|
16330
16347
|
}) }) }),
|
|
16331
16348
|
/* @__PURE__ */ o.jsx(Iu, { store: e }),
|
|
@@ -16365,9 +16382,9 @@ function D_(e) {
|
|
|
16365
16382
|
return t;
|
|
16366
16383
|
};
|
|
16367
16384
|
}
|
|
16368
|
-
var
|
|
16369
|
-
function
|
|
16370
|
-
return e &&
|
|
16385
|
+
var B_ = D_();
|
|
16386
|
+
function U_(e, t) {
|
|
16387
|
+
return e && B_(e, t, Ho);
|
|
16371
16388
|
}
|
|
16372
16389
|
function J_(e, t) {
|
|
16373
16390
|
return function(n, r) {
|
|
@@ -16380,7 +16397,7 @@ function J_(e, t) {
|
|
|
16380
16397
|
return n;
|
|
16381
16398
|
};
|
|
16382
16399
|
}
|
|
16383
|
-
var V_ = J_(
|
|
16400
|
+
var V_ = J_(U_);
|
|
16384
16401
|
function z_(e, t, n, r) {
|
|
16385
16402
|
return V_(e, function(a, s, i) {
|
|
16386
16403
|
t(r, a, n(a), i);
|
|
@@ -16484,7 +16501,7 @@ function Fu(e) {
|
|
|
16484
16501
|
function Du(e) {
|
|
16485
16502
|
return e == null ? "" : Fu(e);
|
|
16486
16503
|
}
|
|
16487
|
-
function
|
|
16504
|
+
function Bu(e, t) {
|
|
16488
16505
|
return gt(e) ? e : Xo(e, t) ? [e] : nv(Du(e));
|
|
16489
16506
|
}
|
|
16490
16507
|
var sv = 1 / 0;
|
|
@@ -16494,21 +16511,21 @@ function ja(e) {
|
|
|
16494
16511
|
var t = e + "";
|
|
16495
16512
|
return t == "0" && 1 / e == -sv ? "-0" : t;
|
|
16496
16513
|
}
|
|
16497
|
-
function
|
|
16498
|
-
t =
|
|
16514
|
+
function Uu(e, t) {
|
|
16515
|
+
t = Bu(t, e);
|
|
16499
16516
|
for (var n = 0, r = t.length; e != null && n < r; )
|
|
16500
16517
|
e = e[ja(t[n++])];
|
|
16501
16518
|
return n && n == r ? e : void 0;
|
|
16502
16519
|
}
|
|
16503
16520
|
function iv(e, t, n) {
|
|
16504
|
-
var r = e == null ? void 0 :
|
|
16521
|
+
var r = e == null ? void 0 : Uu(e, t);
|
|
16505
16522
|
return r === void 0 ? n : r;
|
|
16506
16523
|
}
|
|
16507
16524
|
function lv(e, t) {
|
|
16508
16525
|
return e != null && t in Object(e);
|
|
16509
16526
|
}
|
|
16510
16527
|
function uv(e, t, n) {
|
|
16511
|
-
t =
|
|
16528
|
+
t = Bu(t, e);
|
|
16512
16529
|
for (var r = -1, a = t.length, s = !1; ++r < a; ) {
|
|
16513
16530
|
var i = ja(t[r]);
|
|
16514
16531
|
if (!(s = e != null && n(e, i)))
|
|
@@ -16537,7 +16554,7 @@ function pv(e) {
|
|
|
16537
16554
|
}
|
|
16538
16555
|
function gv(e) {
|
|
16539
16556
|
return function(t) {
|
|
16540
|
-
return
|
|
16557
|
+
return Uu(t, e);
|
|
16541
16558
|
};
|
|
16542
16559
|
}
|
|
16543
16560
|
function yv(e) {
|
|
@@ -16813,7 +16830,7 @@ const db = rn(
|
|
|
16813
16830
|
const a = n.joggingStore;
|
|
16814
16831
|
a && (e.locked ? a.locks.add("external") : a.locks.delete("external"));
|
|
16815
16832
|
}, [e.locked]), /* @__PURE__ */ o.jsx(
|
|
16816
|
-
|
|
16833
|
+
oe,
|
|
16817
16834
|
{
|
|
16818
16835
|
sx: {
|
|
16819
16836
|
maxWidth: "460px",
|
|
@@ -16868,17 +16885,11 @@ const db = rn(
|
|
|
16868
16885
|
);
|
|
16869
16886
|
function n() {
|
|
16870
16887
|
if (e.currentTab.id === "cartesian")
|
|
16871
|
-
return /* @__PURE__ */ o.
|
|
16872
|
-
/* @__PURE__ */ o.jsx(k_, { store: e }),
|
|
16873
|
-
t
|
|
16874
|
-
] });
|
|
16888
|
+
return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsx(k_, { store: e, children: t }) });
|
|
16875
16889
|
if (e.currentTab.id === "joint")
|
|
16876
|
-
return /* @__PURE__ */ o.
|
|
16877
|
-
/* @__PURE__ */ o.jsx($_, { store: e }),
|
|
16878
|
-
t
|
|
16879
|
-
] });
|
|
16890
|
+
return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsx($_, { store: e, children: t }) });
|
|
16880
16891
|
}
|
|
16881
|
-
return /* @__PURE__ */ o.jsxs(
|
|
16892
|
+
return /* @__PURE__ */ o.jsxs(oe, { flexGrow: 1, height: "100%", children: [
|
|
16882
16893
|
/* @__PURE__ */ o.jsx(Yu, { value: e.tabIndex, onChange: e.onTabChange, children: e.tabs.map((r) => /* @__PURE__ */ o.jsx(
|
|
16883
16894
|
Zu,
|
|
16884
16895
|
{
|
|
@@ -16888,7 +16899,7 @@ const db = rn(
|
|
|
16888
16899
|
},
|
|
16889
16900
|
r.id
|
|
16890
16901
|
)) }),
|
|
16891
|
-
/* @__PURE__ */ o.jsx(
|
|
16902
|
+
/* @__PURE__ */ o.jsx(oe, { flexGrow: 1, position: "relative", children: n() })
|
|
16892
16903
|
] });
|
|
16893
16904
|
}
|
|
16894
16905
|
);
|
|
@@ -16939,7 +16950,7 @@ function hb({
|
|
|
16939
16950
|
]
|
|
16940
16951
|
}
|
|
16941
16952
|
),
|
|
16942
|
-
/* @__PURE__ */ o.jsx(rc, { children: /* @__PURE__ */ o.jsxs(
|
|
16953
|
+
/* @__PURE__ */ o.jsx(rc, { children: /* @__PURE__ */ o.jsxs(oe, { width: "100%", maxWidth: "300px", margin: "auto", marginBottom: "2rem", children: [
|
|
16943
16954
|
/* @__PURE__ */ o.jsx(
|
|
16944
16955
|
Kr,
|
|
16945
16956
|
{
|