@wandelbots/wandelbots-js-react-components 2.17.1 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/jogging/JoggingOptions.d.ts.map +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +776 -774
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/jogging/JoggingOptions.tsx +114 -104
package/dist/index.js
CHANGED
|
@@ -6,21 +6,21 @@ import zl, { forwardRef as Le, useEffect as Yt, useState as gr, useRef as Wr, us
|
|
|
6
6
|
import { Environment as Zd, Lightformer as sr, Line as Hl, useGLTF as eu } from "@react-three/drei";
|
|
7
7
|
import { useThree as tu } from "@react-three/fiber";
|
|
8
8
|
import * as Ee from "three";
|
|
9
|
-
import { Vector3 as
|
|
9
|
+
import { Vector3 as Cn, Matrix4 as pa, Quaternion as ru } from "three";
|
|
10
10
|
import { ConvexGeometry as au } from "three-stdlib";
|
|
11
|
-
import { useTheme as ct, IconButton as
|
|
12
|
-
import { observer as De, useLocalObservable as
|
|
11
|
+
import { useTheme as ct, IconButton as Pn, Typography as rt, Slider as nu, Stack as _e, CircularProgress as ou, capitalize as su, styled as hs, InputLabel as iu, Select as lu, FormControl as cu, MenuItem as ha, Box as $s, ToggleButtonGroup as du, Divider as Qr, ToggleButton as Us, Tabs as uu, Tab as pu, Tooltip as hu, Dialog as mu, DialogTitle as fu, DialogContent as gu, DialogActions as yu, Button as Ls, SvgIcon as bu, Popover as Su, Fab as vu, createTheme as xu, rgbToHex as Ou } from "@mui/material";
|
|
12
|
+
import { observer as De, useLocalObservable as Nn } from "mobx-react-lite";
|
|
13
13
|
import { I18nextProvider as wu, useTranslation as $t, Trans as xt } from "react-i18next";
|
|
14
14
|
import Cu from "i18next-browser-languagedetector";
|
|
15
|
-
import { autorun as ql, reaction as Pu, runInAction as et, makeAutoObservable as
|
|
15
|
+
import { autorun as ql, reaction as Pu, runInAction as et, makeAutoObservable as ms } from "mobx";
|
|
16
16
|
import b from "prop-types";
|
|
17
17
|
import Vu from "@emotion/styled";
|
|
18
18
|
import { ThemeContext as Ru } from "@emotion/react";
|
|
19
19
|
import { lowerFirst as _u, countBy as Au, isString as Tu } from "lodash-es";
|
|
20
|
-
import { tryParseJson as Eu, radiansToDegrees as
|
|
20
|
+
import { tryParseJson as Eu, radiansToDegrees as gn, degreesToRadians as Iu, poseToWandelscriptString as Mu } from "@wandelbots/nova-js";
|
|
21
21
|
import { Globals as ju, useSpring as $u, animated as Uu } from "@react-spring/three";
|
|
22
22
|
import { ErrorBoundary as Lu } from "react-error-boundary";
|
|
23
|
-
var
|
|
23
|
+
var Ka = { exports: {} }, ma = {};
|
|
24
24
|
/**
|
|
25
25
|
* @license React
|
|
26
26
|
* react-jsx-runtime.production.min.js
|
|
@@ -32,7 +32,7 @@ var Ya = { exports: {} }, fa = {};
|
|
|
32
32
|
*/
|
|
33
33
|
var ks;
|
|
34
34
|
function ku() {
|
|
35
|
-
if (ks) return
|
|
35
|
+
if (ks) return ma;
|
|
36
36
|
ks = 1;
|
|
37
37
|
var e = zl, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
38
38
|
function s(i, l, c) {
|
|
@@ -42,9 +42,9 @@ function ku() {
|
|
|
42
42
|
if (i && i.defaultProps) for (d in l = i.defaultProps, l) u[d] === void 0 && (u[d] = l[d]);
|
|
43
43
|
return { $$typeof: t, type: i, key: p, ref: f, props: u, _owner: n.current };
|
|
44
44
|
}
|
|
45
|
-
return
|
|
45
|
+
return ma.Fragment = r, ma.jsx = s, ma.jsxs = s, ma;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var fa = {};
|
|
48
48
|
/**
|
|
49
49
|
* @license React
|
|
50
50
|
* react-jsx-runtime.development.js
|
|
@@ -432,7 +432,7 @@ function Bu() {
|
|
|
432
432
|
});
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
|
-
var
|
|
435
|
+
var go = function(v, H, K, te, pe, fe, ce) {
|
|
436
436
|
var le = {
|
|
437
437
|
// This tag allows us to uniquely identify this as a React Element
|
|
438
438
|
$$typeof: t,
|
|
@@ -476,7 +476,7 @@ function Bu() {
|
|
|
476
476
|
var $e = typeof v == "function" ? v.displayName || v.name || "Unknown" : v;
|
|
477
477
|
le && We(ce, $e), Je && ar(ce, $e);
|
|
478
478
|
}
|
|
479
|
-
return
|
|
479
|
+
return go(v, le, Je, pe, te, X.current, ce);
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
var la = E.ReactCurrentOwner, Vr = E.ReactDebugCurrentFrame;
|
|
@@ -520,7 +520,7 @@ Check the top-level render call using <` + K + ">.");
|
|
|
520
520
|
return H;
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Es(v, H) {
|
|
524
524
|
{
|
|
525
525
|
if (!v._store || v._store.validated || v.key != null)
|
|
526
526
|
return;
|
|
@@ -533,14 +533,14 @@ Check the top-level render call using <` + K + ">.");
|
|
|
533
533
|
v && v._owner && v._owner !== la.current && (te = " It was passed a child from " + G(v._owner.type) + "."), yt(v), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', K, te), yt(null);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Is(v, H) {
|
|
537
537
|
{
|
|
538
538
|
if (typeof v != "object")
|
|
539
539
|
return;
|
|
540
540
|
if (zt(v))
|
|
541
541
|
for (var K = 0; K < v.length; K++) {
|
|
542
542
|
var te = v[K];
|
|
543
|
-
Ce(te) &&
|
|
543
|
+
Ce(te) && Es(te, H);
|
|
544
544
|
}
|
|
545
545
|
else if (Ce(v))
|
|
546
546
|
v._store && (v._store.validated = !0);
|
|
@@ -548,7 +548,7 @@ Check the top-level render call using <` + K + ">.");
|
|
|
548
548
|
var pe = x(v);
|
|
549
549
|
if (typeof pe == "function" && pe !== v.entries)
|
|
550
550
|
for (var fe = pe.call(v), ce; !(ce = fe.next()).done; )
|
|
551
|
-
Ce(ce.value) &&
|
|
551
|
+
Ce(ce.value) && Es(ce.value, H);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
}
|
|
@@ -589,8 +589,8 @@ Check the top-level render call using <` + K + ">.");
|
|
|
589
589
|
v.ref !== null && (yt(v), k("Invalid attribute `ref` supplied to `React.Fragment`."), yt(null));
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
|
-
var
|
|
593
|
-
function
|
|
592
|
+
var Ms = {};
|
|
593
|
+
function js(v, H, K, te, pe, fe) {
|
|
594
594
|
{
|
|
595
595
|
var ce = y(v);
|
|
596
596
|
if (!ce) {
|
|
@@ -610,43 +610,43 @@ Check the top-level render call using <` + K + ">.");
|
|
|
610
610
|
if (te)
|
|
611
611
|
if (zt(st)) {
|
|
612
612
|
for (var Rr = 0; Rr < st.length; Rr++)
|
|
613
|
-
|
|
613
|
+
Is(st[Rr], v);
|
|
614
614
|
Object.freeze && Object.freeze(st);
|
|
615
615
|
} else
|
|
616
616
|
k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
617
617
|
else
|
|
618
|
-
|
|
618
|
+
Is(st, v);
|
|
619
619
|
}
|
|
620
620
|
if (gt.call(H, "key")) {
|
|
621
621
|
var or = G(v), Qe = Object.keys(H).filter(function(Qd) {
|
|
622
622
|
return Qd !== "key";
|
|
623
|
-
}),
|
|
624
|
-
if (!
|
|
623
|
+
}), yo = Qe.length > 0 ? "{key: someKey, " + Qe.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
624
|
+
if (!Ms[or + yo]) {
|
|
625
625
|
var Wd = Qe.length > 0 ? "{" + Qe.join(": ..., ") + ": ...}" : "{}";
|
|
626
626
|
k(`A props object containing a "key" prop is being spread into JSX:
|
|
627
627
|
let props = %s;
|
|
628
628
|
<%s {...props} />
|
|
629
629
|
React keys must be passed directly to JSX without using spread:
|
|
630
630
|
let props = %s;
|
|
631
|
-
<%s key={someKey} {...props} />`,
|
|
631
|
+
<%s key={someKey} {...props} />`, yo, or, Wd, or), Ms[or + yo] = !0;
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
634
|
return v === a ? zd($e) : Dd($e), $e;
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
637
|
function Gd(v, H, K) {
|
|
638
|
-
return
|
|
638
|
+
return js(v, H, K, !0);
|
|
639
639
|
}
|
|
640
640
|
function Jd(v, H, K) {
|
|
641
|
-
return
|
|
641
|
+
return js(v, H, K, !1);
|
|
642
642
|
}
|
|
643
643
|
var Hd = Jd, qd = Gd;
|
|
644
|
-
|
|
645
|
-
}()),
|
|
644
|
+
fa.Fragment = a, fa.jsx = Hd, fa.jsxs = qd;
|
|
645
|
+
}()), fa;
|
|
646
646
|
}
|
|
647
647
|
var Fs;
|
|
648
648
|
function Fu() {
|
|
649
|
-
return Fs || (Fs = 1, process.env.NODE_ENV === "production" ?
|
|
649
|
+
return Fs || (Fs = 1, process.env.NODE_ENV === "production" ? Ka.exports = ku() : Ka.exports = Bu()), Ka.exports;
|
|
650
650
|
}
|
|
651
651
|
var S = Fu();
|
|
652
652
|
function rV() {
|
|
@@ -879,7 +879,7 @@ var Hu = /[A-Z]|^ms/g, qu = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Wl = function(t) {
|
|
|
879
879
|
return t.charCodeAt(1) === 45;
|
|
880
880
|
}, Ns = function(t) {
|
|
881
881
|
return t != null && typeof t != "boolean";
|
|
882
|
-
},
|
|
882
|
+
}, bo = /* @__PURE__ */ Ju(function(e) {
|
|
883
883
|
return Wl(e) ? e : e.replace(Hu, "-$&").toLowerCase();
|
|
884
884
|
}), Ds = function(t, r) {
|
|
885
885
|
switch (t) {
|
|
@@ -896,7 +896,7 @@ var Hu = /[A-Z]|^ms/g, qu = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Wl = function(t) {
|
|
|
896
896
|
}
|
|
897
897
|
return Gu[t] !== 1 && !Wl(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
898
898
|
};
|
|
899
|
-
function
|
|
899
|
+
function Vn(e, t, r) {
|
|
900
900
|
if (r == null)
|
|
901
901
|
return "";
|
|
902
902
|
var a = r;
|
|
@@ -936,22 +936,22 @@ function Wu(e, t, r) {
|
|
|
936
936
|
var a = "";
|
|
937
937
|
if (Array.isArray(r))
|
|
938
938
|
for (var n = 0; n < r.length; n++)
|
|
939
|
-
a +=
|
|
939
|
+
a += Vn(e, t, r[n]) + ";";
|
|
940
940
|
else
|
|
941
941
|
for (var o in r) {
|
|
942
942
|
var s = r[o];
|
|
943
943
|
if (typeof s != "object") {
|
|
944
944
|
var i = s;
|
|
945
|
-
Ns(i) && (a +=
|
|
945
|
+
Ns(i) && (a += bo(o) + ":" + Ds(o, i) + ";");
|
|
946
946
|
} else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
|
|
947
947
|
for (var l = 0; l < s.length; l++)
|
|
948
|
-
Ns(s[l]) && (a +=
|
|
948
|
+
Ns(s[l]) && (a += bo(o) + ":" + Ds(o, s[l]) + ";");
|
|
949
949
|
else {
|
|
950
|
-
var c =
|
|
950
|
+
var c = Vn(e, t, s);
|
|
951
951
|
switch (o) {
|
|
952
952
|
case "animation":
|
|
953
953
|
case "animationName": {
|
|
954
|
-
a +=
|
|
954
|
+
a += bo(o) + ":" + c + ";";
|
|
955
955
|
break;
|
|
956
956
|
}
|
|
957
957
|
default:
|
|
@@ -969,13 +969,13 @@ function Qu(e, t, r) {
|
|
|
969
969
|
Qt = void 0;
|
|
970
970
|
var o = e[0];
|
|
971
971
|
if (o == null || o.raw === void 0)
|
|
972
|
-
a = !1, n +=
|
|
972
|
+
a = !1, n += Vn(r, t, o);
|
|
973
973
|
else {
|
|
974
974
|
var s = o;
|
|
975
975
|
n += s[0];
|
|
976
976
|
}
|
|
977
977
|
for (var i = 1; i < e.length; i++)
|
|
978
|
-
if (n +=
|
|
978
|
+
if (n += Vn(r, t, e[i]), a) {
|
|
979
979
|
var l = o;
|
|
980
980
|
n += l[i];
|
|
981
981
|
}
|
|
@@ -1011,7 +1011,7 @@ const Gs = [];
|
|
|
1011
1011
|
function Js(e) {
|
|
1012
1012
|
return Gs[0] = e, Qu(Gs);
|
|
1013
1013
|
}
|
|
1014
|
-
var
|
|
1014
|
+
var Ya = { exports: {} }, he = {};
|
|
1015
1015
|
/**
|
|
1016
1016
|
* @license React
|
|
1017
1017
|
* react-is.production.js
|
|
@@ -1159,9 +1159,9 @@ function Zu() {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
var Ws;
|
|
1161
1161
|
function ep() {
|
|
1162
|
-
return Ws || (Ws = 1, process.env.NODE_ENV === "production" ?
|
|
1162
|
+
return Ws || (Ws = 1, process.env.NODE_ENV === "production" ? Ya.exports = /* @__PURE__ */ Xu() : Ya.exports = /* @__PURE__ */ Zu()), Ya.exports;
|
|
1163
1163
|
}
|
|
1164
|
-
var
|
|
1164
|
+
var Rn = /* @__PURE__ */ ep();
|
|
1165
1165
|
function Ot(e) {
|
|
1166
1166
|
if (typeof e != "object" || e === null)
|
|
1167
1167
|
return !1;
|
|
@@ -1169,7 +1169,7 @@ function Ot(e) {
|
|
|
1169
1169
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1170
1170
|
}
|
|
1171
1171
|
function Ql(e) {
|
|
1172
|
-
if (/* @__PURE__ */ J.isValidElement(e) ||
|
|
1172
|
+
if (/* @__PURE__ */ J.isValidElement(e) || Rn.isValidElementType(e) || !Ot(e))
|
|
1173
1173
|
return e;
|
|
1174
1174
|
const t = {};
|
|
1175
1175
|
return Object.keys(e).forEach((r) => {
|
|
@@ -1183,7 +1183,7 @@ function qe(e, t, r = {
|
|
|
1183
1183
|
...e
|
|
1184
1184
|
} : e;
|
|
1185
1185
|
return Ot(e) && Ot(t) && Object.keys(t).forEach((n) => {
|
|
1186
|
-
/* @__PURE__ */ J.isValidElement(t[n]) ||
|
|
1186
|
+
/* @__PURE__ */ J.isValidElement(t[n]) || Rn.isValidElementType(t[n]) ? a[n] = t[n] : Ot(t[n]) && // Avoid prototype pollution
|
|
1187
1187
|
Object.prototype.hasOwnProperty.call(e, n) && Ot(e[n]) ? a[n] = qe(e[n], t[n], r) : r.clone ? a[n] = Ot(t[n]) ? Ql(t[n]) : t[n] : a[n] = t[n];
|
|
1188
1188
|
}), a;
|
|
1189
1189
|
}
|
|
@@ -1292,13 +1292,13 @@ function sp(e) {
|
|
|
1292
1292
|
const ip = {
|
|
1293
1293
|
borderRadius: 4
|
|
1294
1294
|
}, tr = process.env.NODE_ENV !== "production" ? b.oneOfType([b.number, b.string, b.object, b.array]) : {};
|
|
1295
|
-
function
|
|
1295
|
+
function Aa(e, t) {
|
|
1296
1296
|
return t ? qe(e, t, {
|
|
1297
1297
|
clone: !1
|
|
1298
1298
|
// No need to clone deep, it's way faster.
|
|
1299
1299
|
}) : e;
|
|
1300
1300
|
}
|
|
1301
|
-
const
|
|
1301
|
+
const Dn = {
|
|
1302
1302
|
xs: 0,
|
|
1303
1303
|
// phone
|
|
1304
1304
|
sm: 600,
|
|
@@ -1313,11 +1313,11 @@ const zn = {
|
|
|
1313
1313
|
// Sorted ASC by size. That's important.
|
|
1314
1314
|
// It can't be configured as it's used statically for propTypes.
|
|
1315
1315
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
1316
|
-
up: (e) => `@media (min-width:${
|
|
1316
|
+
up: (e) => `@media (min-width:${Dn[e]}px)`
|
|
1317
1317
|
}, lp = {
|
|
1318
1318
|
containerQueries: (e) => ({
|
|
1319
1319
|
up: (t) => {
|
|
1320
|
-
let r = typeof t == "number" ? t :
|
|
1320
|
+
let r = typeof t == "number" ? t : Dn[t] || t;
|
|
1321
1321
|
return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
|
|
1322
1322
|
}
|
|
1323
1323
|
})
|
|
@@ -1334,7 +1334,7 @@ function mt(e, t, r) {
|
|
|
1334
1334
|
if (np(o.keys, i)) {
|
|
1335
1335
|
const l = op(a.containerQueries ? a : lp, i);
|
|
1336
1336
|
l && (s[l] = r(t[i], i));
|
|
1337
|
-
} else if (Object.keys(o.values ||
|
|
1337
|
+
} else if (Object.keys(o.values || Dn).includes(i)) {
|
|
1338
1338
|
const l = o.up(i);
|
|
1339
1339
|
s[l] = r(t[i], i);
|
|
1340
1340
|
} else {
|
|
@@ -1373,7 +1373,7 @@ function dp(e, t) {
|
|
|
1373
1373
|
e[n] != null && (r[n] = !0);
|
|
1374
1374
|
}), r;
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1376
|
+
function So({
|
|
1377
1377
|
values: e,
|
|
1378
1378
|
breakpoints: t,
|
|
1379
1379
|
base: r
|
|
@@ -1389,7 +1389,7 @@ function He(e) {
|
|
|
1389
1389
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Xt(7));
|
|
1390
1390
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1392
|
+
function zn(e, t, r = !0) {
|
|
1393
1393
|
if (!t || typeof t != "string")
|
|
1394
1394
|
return null;
|
|
1395
1395
|
if (e && e.vars && r) {
|
|
@@ -1399,9 +1399,9 @@ function Gn(e, t, r = !0) {
|
|
|
1399
1399
|
}
|
|
1400
1400
|
return t.split(".").reduce((a, n) => a && a[n] != null ? a[n] : null, e);
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1402
|
+
function _n(e, t, r, a = r) {
|
|
1403
1403
|
let n;
|
|
1404
|
-
return typeof e == "function" ? n = e(r) : Array.isArray(e) ? n = e[r] || a : n =
|
|
1404
|
+
return typeof e == "function" ? n = e(r) : Array.isArray(e) ? n = e[r] || a : n = zn(e, r) || a, t && (n = t(n, a, e)), n;
|
|
1405
1405
|
}
|
|
1406
1406
|
function Ie(e) {
|
|
1407
1407
|
const {
|
|
@@ -1412,10 +1412,10 @@ function Ie(e) {
|
|
|
1412
1412
|
} = e, o = (s) => {
|
|
1413
1413
|
if (s[t] == null)
|
|
1414
1414
|
return null;
|
|
1415
|
-
const i = s[t], l = s.theme, c =
|
|
1415
|
+
const i = s[t], l = s.theme, c = zn(l, a) || {};
|
|
1416
1416
|
return mt(s, i, (u) => {
|
|
1417
|
-
let p =
|
|
1418
|
-
return u === p && typeof u == "string" && (p =
|
|
1417
|
+
let p = _n(c, n, u);
|
|
1418
|
+
return u === p && typeof u == "string" && (p = _n(c, n, `${t}${u === "default" ? "" : He(u)}`, u)), r === !1 ? p : {
|
|
1419
1419
|
[r]: p
|
|
1420
1420
|
};
|
|
1421
1421
|
});
|
|
@@ -1451,9 +1451,9 @@ const pp = {
|
|
|
1451
1451
|
return [e];
|
|
1452
1452
|
const [t, r] = e.split(""), a = pp[t], n = hp[r] || "";
|
|
1453
1453
|
return Array.isArray(n) ? n.map((o) => a + o) : [a + n];
|
|
1454
|
-
}),
|
|
1455
|
-
function
|
|
1456
|
-
const n =
|
|
1454
|
+
}), Gn = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Jn = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], fp = [...Gn, ...Jn];
|
|
1455
|
+
function za(e, t, r, a) {
|
|
1456
|
+
const n = zn(e, t, !0) ?? r;
|
|
1457
1457
|
return typeof n == "number" || typeof n == "string" ? (o) => typeof o == "string" ? o : (process.env.NODE_ENV !== "production" && typeof o != "number" && console.error(`MUI: Expected ${a} argument to be a number or a string, got ${o}.`), typeof n == "string" ? `calc(${o} * ${n})` : n * o) : Array.isArray(n) ? (o) => {
|
|
1458
1458
|
if (typeof o == "string")
|
|
1459
1459
|
return o;
|
|
@@ -1467,8 +1467,8 @@ function Ga(e, t, r, a) {
|
|
|
1467
1467
|
`)), () => {
|
|
1468
1468
|
});
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1471
|
-
return
|
|
1470
|
+
function Hn(e) {
|
|
1471
|
+
return za(e, "spacing", 8, "spacing");
|
|
1472
1472
|
}
|
|
1473
1473
|
function ur(e, t) {
|
|
1474
1474
|
return typeof t == "string" || t == null ? t : e(t);
|
|
@@ -1483,21 +1483,21 @@ function yp(e, t, r, a) {
|
|
|
1483
1483
|
return mt(e, s, o);
|
|
1484
1484
|
}
|
|
1485
1485
|
function Xl(e, t) {
|
|
1486
|
-
const r =
|
|
1487
|
-
return Object.keys(e).map((a) => yp(e, t, a, r)).reduce(
|
|
1486
|
+
const r = Hn(e.theme);
|
|
1487
|
+
return Object.keys(e).map((a) => yp(e, t, a, r)).reduce(Aa, {});
|
|
1488
1488
|
}
|
|
1489
1489
|
function Ve(e) {
|
|
1490
|
-
return Xl(e,
|
|
1490
|
+
return Xl(e, Gn);
|
|
1491
1491
|
}
|
|
1492
|
-
Ve.propTypes = process.env.NODE_ENV !== "production" ?
|
|
1493
|
-
Ve.filterProps =
|
|
1492
|
+
Ve.propTypes = process.env.NODE_ENV !== "production" ? Gn.reduce((e, t) => (e[t] = tr, e), {}) : {};
|
|
1493
|
+
Ve.filterProps = Gn;
|
|
1494
1494
|
function Re(e) {
|
|
1495
|
-
return Xl(e,
|
|
1495
|
+
return Xl(e, Jn);
|
|
1496
1496
|
}
|
|
1497
|
-
Re.propTypes = process.env.NODE_ENV !== "production" ?
|
|
1498
|
-
Re.filterProps =
|
|
1497
|
+
Re.propTypes = process.env.NODE_ENV !== "production" ? Jn.reduce((e, t) => (e[t] = tr, e), {}) : {};
|
|
1498
|
+
Re.filterProps = Jn;
|
|
1499
1499
|
process.env.NODE_ENV !== "production" && fp.reduce((e, t) => (e[t] = tr, e), {});
|
|
1500
|
-
function Zl(e = 8, t =
|
|
1500
|
+
function Zl(e = 8, t = Hn({
|
|
1501
1501
|
spacing: e
|
|
1502
1502
|
})) {
|
|
1503
1503
|
if (e.mui)
|
|
@@ -1508,10 +1508,10 @@ function Zl(e = 8, t = qn({
|
|
|
1508
1508
|
}).join(" "));
|
|
1509
1509
|
return r.mui = !0, r;
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1511
|
+
function qn(...e) {
|
|
1512
1512
|
const t = e.reduce((a, n) => (n.filterProps.forEach((o) => {
|
|
1513
1513
|
a[o] = n;
|
|
1514
|
-
}), a), {}), r = (a) => Object.keys(a).reduce((n, o) => t[o] ?
|
|
1514
|
+
}), a), {}), r = (a) => Object.keys(a).reduce((n, o) => t[o] ? Aa(n, t[o](a)) : n, {});
|
|
1515
1515
|
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((a, n) => Object.assign(a, n.propTypes), {}) : {}, r.filterProps = e.reduce((a, n) => a.concat(n.filterProps), []), r;
|
|
1516
1516
|
}
|
|
1517
1517
|
function it(e) {
|
|
@@ -1524,59 +1524,59 @@ function dt(e, t) {
|
|
|
1524
1524
|
transform: t
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
|
-
const bp = dt("border", it), Sp = dt("borderTop", it), vp = dt("borderRight", it), xp = dt("borderBottom", it), Op = dt("borderLeft", it), wp = dt("borderColor"), Cp = dt("borderTopColor"), Pp = dt("borderRightColor"), Vp = dt("borderBottomColor"), Rp = dt("borderLeftColor"), _p = dt("outline", it), Ap = dt("outlineColor"),
|
|
1527
|
+
const bp = dt("border", it), Sp = dt("borderTop", it), vp = dt("borderRight", it), xp = dt("borderBottom", it), Op = dt("borderLeft", it), wp = dt("borderColor"), Cp = dt("borderTopColor"), Pp = dt("borderRightColor"), Vp = dt("borderBottomColor"), Rp = dt("borderLeftColor"), _p = dt("outline", it), Ap = dt("outlineColor"), Wn = (e) => {
|
|
1528
1528
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1529
|
-
const t =
|
|
1529
|
+
const t = za(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (a) => ({
|
|
1530
1530
|
borderRadius: ur(t, a)
|
|
1531
1531
|
});
|
|
1532
1532
|
return mt(e, e.borderRadius, r);
|
|
1533
1533
|
}
|
|
1534
1534
|
return null;
|
|
1535
1535
|
};
|
|
1536
|
-
|
|
1536
|
+
Wn.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1537
1537
|
borderRadius: tr
|
|
1538
1538
|
} : {};
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
const
|
|
1539
|
+
Wn.filterProps = ["borderRadius"];
|
|
1540
|
+
qn(bp, Sp, vp, xp, Op, wp, Cp, Pp, Vp, Rp, Wn, _p, Ap);
|
|
1541
|
+
const Qn = (e) => {
|
|
1542
1542
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1543
|
-
const t =
|
|
1543
|
+
const t = za(e.theme, "spacing", 8, "gap"), r = (a) => ({
|
|
1544
1544
|
gap: ur(t, a)
|
|
1545
1545
|
});
|
|
1546
1546
|
return mt(e, e.gap, r);
|
|
1547
1547
|
}
|
|
1548
1548
|
return null;
|
|
1549
1549
|
};
|
|
1550
|
-
|
|
1550
|
+
Qn.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1551
1551
|
gap: tr
|
|
1552
1552
|
} : {};
|
|
1553
|
-
|
|
1554
|
-
const
|
|
1553
|
+
Qn.filterProps = ["gap"];
|
|
1554
|
+
const Kn = (e) => {
|
|
1555
1555
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1556
|
-
const t =
|
|
1556
|
+
const t = za(e.theme, "spacing", 8, "columnGap"), r = (a) => ({
|
|
1557
1557
|
columnGap: ur(t, a)
|
|
1558
1558
|
});
|
|
1559
1559
|
return mt(e, e.columnGap, r);
|
|
1560
1560
|
}
|
|
1561
1561
|
return null;
|
|
1562
1562
|
};
|
|
1563
|
-
|
|
1563
|
+
Kn.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1564
1564
|
columnGap: tr
|
|
1565
1565
|
} : {};
|
|
1566
|
-
|
|
1567
|
-
const
|
|
1566
|
+
Kn.filterProps = ["columnGap"];
|
|
1567
|
+
const Yn = (e) => {
|
|
1568
1568
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1569
|
-
const t =
|
|
1569
|
+
const t = za(e.theme, "spacing", 8, "rowGap"), r = (a) => ({
|
|
1570
1570
|
rowGap: ur(t, a)
|
|
1571
1571
|
});
|
|
1572
1572
|
return mt(e, e.rowGap, r);
|
|
1573
1573
|
}
|
|
1574
1574
|
return null;
|
|
1575
1575
|
};
|
|
1576
|
-
|
|
1576
|
+
Yn.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1577
1577
|
rowGap: tr
|
|
1578
1578
|
} : {};
|
|
1579
|
-
|
|
1579
|
+
Yn.filterProps = ["rowGap"];
|
|
1580
1580
|
const Tp = Ie({
|
|
1581
1581
|
prop: "gridColumn"
|
|
1582
1582
|
}), Ep = Ie({
|
|
@@ -1596,7 +1596,7 @@ const Tp = Ie({
|
|
|
1596
1596
|
}), kp = Ie({
|
|
1597
1597
|
prop: "gridArea"
|
|
1598
1598
|
});
|
|
1599
|
-
|
|
1599
|
+
qn(Qn, Kn, Yn, Tp, Ep, Ip, Mp, jp, $p, Up, Lp, kp);
|
|
1600
1600
|
function Gr(e, t) {
|
|
1601
1601
|
return t === "grey" ? t : e;
|
|
1602
1602
|
}
|
|
@@ -1614,18 +1614,18 @@ const Bp = Ie({
|
|
|
1614
1614
|
themeKey: "palette",
|
|
1615
1615
|
transform: Gr
|
|
1616
1616
|
});
|
|
1617
|
-
|
|
1617
|
+
qn(Bp, Fp, Np);
|
|
1618
1618
|
function tt(e) {
|
|
1619
1619
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1620
1620
|
}
|
|
1621
1621
|
const Dp = Ie({
|
|
1622
1622
|
prop: "width",
|
|
1623
1623
|
transform: tt
|
|
1624
|
-
}),
|
|
1624
|
+
}), fs = (e) => {
|
|
1625
1625
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1626
1626
|
const t = (r) => {
|
|
1627
1627
|
var n, o, s, i, l;
|
|
1628
|
-
const a = ((s = (o = (n = e.theme) == null ? void 0 : n.breakpoints) == null ? void 0 : o.values) == null ? void 0 : s[r]) ||
|
|
1628
|
+
const a = ((s = (o = (n = e.theme) == null ? void 0 : n.breakpoints) == null ? void 0 : o.values) == null ? void 0 : s[r]) || Dn[r];
|
|
1629
1629
|
return a ? ((l = (i = e.theme) == null ? void 0 : i.breakpoints) == null ? void 0 : l.unit) !== "px" ? {
|
|
1630
1630
|
maxWidth: `${a}${e.theme.breakpoints.unit}`
|
|
1631
1631
|
} : {
|
|
@@ -1638,7 +1638,7 @@ const Dp = Ie({
|
|
|
1638
1638
|
}
|
|
1639
1639
|
return null;
|
|
1640
1640
|
};
|
|
1641
|
-
|
|
1641
|
+
fs.filterProps = ["maxWidth"];
|
|
1642
1642
|
const zp = Ie({
|
|
1643
1643
|
prop: "minWidth",
|
|
1644
1644
|
transform: tt
|
|
@@ -1665,8 +1665,8 @@ Ie({
|
|
|
1665
1665
|
const qp = Ie({
|
|
1666
1666
|
prop: "boxSizing"
|
|
1667
1667
|
});
|
|
1668
|
-
|
|
1669
|
-
const
|
|
1668
|
+
qn(Dp, fs, zp, Gp, Jp, Hp, qp);
|
|
1669
|
+
const Ga = {
|
|
1670
1670
|
// borders
|
|
1671
1671
|
border: {
|
|
1672
1672
|
themeKey: "borders",
|
|
@@ -1712,7 +1712,7 @@ const Ja = {
|
|
|
1712
1712
|
},
|
|
1713
1713
|
borderRadius: {
|
|
1714
1714
|
themeKey: "shape.borderRadius",
|
|
1715
|
-
style:
|
|
1715
|
+
style: Wn
|
|
1716
1716
|
},
|
|
1717
1717
|
// palette
|
|
1718
1718
|
color: {
|
|
@@ -1879,13 +1879,13 @@ const Ja = {
|
|
|
1879
1879
|
justifySelf: {},
|
|
1880
1880
|
// grid
|
|
1881
1881
|
gap: {
|
|
1882
|
-
style:
|
|
1882
|
+
style: Qn
|
|
1883
1883
|
},
|
|
1884
1884
|
rowGap: {
|
|
1885
|
-
style:
|
|
1885
|
+
style: Yn
|
|
1886
1886
|
},
|
|
1887
1887
|
columnGap: {
|
|
1888
|
-
style:
|
|
1888
|
+
style: Kn
|
|
1889
1889
|
},
|
|
1890
1890
|
gridColumn: {},
|
|
1891
1891
|
gridRow: {},
|
|
@@ -1914,7 +1914,7 @@ const Ja = {
|
|
|
1914
1914
|
transform: tt
|
|
1915
1915
|
},
|
|
1916
1916
|
maxWidth: {
|
|
1917
|
-
style:
|
|
1917
|
+
style: fs
|
|
1918
1918
|
},
|
|
1919
1919
|
minWidth: {
|
|
1920
1920
|
transform: tt
|
|
@@ -1983,10 +1983,10 @@ function Kp() {
|
|
|
1983
1983
|
return {
|
|
1984
1984
|
[r]: a
|
|
1985
1985
|
};
|
|
1986
|
-
const p =
|
|
1986
|
+
const p = zn(n, c) || {};
|
|
1987
1987
|
return u ? u(s) : mt(s, a, (g) => {
|
|
1988
|
-
let h =
|
|
1989
|
-
return g === h && typeof g == "string" && (h =
|
|
1988
|
+
let h = _n(p, d, g);
|
|
1989
|
+
return g === h && typeof g == "string" && (h = _n(p, d, `${r}${g === "default" ? "" : He(g)}`, g)), l === !1 ? h : {
|
|
1990
1990
|
[l]: h
|
|
1991
1991
|
};
|
|
1992
1992
|
});
|
|
@@ -1998,7 +1998,7 @@ function Kp() {
|
|
|
1998
1998
|
} = r || {};
|
|
1999
1999
|
if (!a)
|
|
2000
2000
|
return null;
|
|
2001
|
-
const o = n.unstable_sxConfig ??
|
|
2001
|
+
const o = n.unstable_sxConfig ?? Ga;
|
|
2002
2002
|
function s(i) {
|
|
2003
2003
|
let l = i;
|
|
2004
2004
|
if (typeof i == "function")
|
|
@@ -2014,7 +2014,7 @@ function Kp() {
|
|
|
2014
2014
|
if (f != null)
|
|
2015
2015
|
if (typeof f == "object")
|
|
2016
2016
|
if (o[p])
|
|
2017
|
-
u =
|
|
2017
|
+
u = Aa(u, e(p, f, n, o));
|
|
2018
2018
|
else {
|
|
2019
2019
|
const g = mt({
|
|
2020
2020
|
theme: n
|
|
@@ -2024,10 +2024,10 @@ function Kp() {
|
|
|
2024
2024
|
Wp(g, f) ? u[p] = t({
|
|
2025
2025
|
sx: f,
|
|
2026
2026
|
theme: n
|
|
2027
|
-
}) : u =
|
|
2027
|
+
}) : u = Aa(u, g);
|
|
2028
2028
|
}
|
|
2029
2029
|
else
|
|
2030
|
-
u =
|
|
2030
|
+
u = Aa(u, e(p, f, n, o));
|
|
2031
2031
|
}), ap(n, Yl(d, u));
|
|
2032
2032
|
}
|
|
2033
2033
|
return Array.isArray(a) ? a.map(s) : s(a);
|
|
@@ -2049,7 +2049,7 @@ function Yp(e, t) {
|
|
|
2049
2049
|
}
|
|
2050
2050
|
return r.palette.mode === e ? t : {};
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2052
|
+
function Xn(e = {}, ...t) {
|
|
2053
2053
|
const {
|
|
2054
2054
|
breakpoints: r = {},
|
|
2055
2055
|
palette: a = {},
|
|
@@ -2073,7 +2073,7 @@ function Zn(e = {}, ...t) {
|
|
|
2073
2073
|
}
|
|
2074
2074
|
}, s);
|
|
2075
2075
|
return c = sp(c), c.applyStyles = Yp, c = t.reduce((d, u) => qe(d, u), c), c.unstable_sxConfig = {
|
|
2076
|
-
...
|
|
2076
|
+
...Ga,
|
|
2077
2077
|
...s == null ? void 0 : s.unstable_sxConfig
|
|
2078
2078
|
}, c.unstable_sx = function(u) {
|
|
2079
2079
|
return Kr({
|
|
@@ -2089,7 +2089,7 @@ function Zp(e = null) {
|
|
|
2089
2089
|
const t = J.useContext(Ru);
|
|
2090
2090
|
return !t || Xp(t) ? e : t;
|
|
2091
2091
|
}
|
|
2092
|
-
const eh =
|
|
2092
|
+
const eh = Xn();
|
|
2093
2093
|
function th(e = eh) {
|
|
2094
2094
|
return Zp(e);
|
|
2095
2095
|
}
|
|
@@ -2098,7 +2098,7 @@ const rh = (e) => {
|
|
|
2098
2098
|
const t = {
|
|
2099
2099
|
systemProps: {},
|
|
2100
2100
|
otherProps: {}
|
|
2101
|
-
}, r = ((a = e == null ? void 0 : e.theme) == null ? void 0 : a.unstable_sxConfig) ??
|
|
2101
|
+
}, r = ((a = e == null ? void 0 : e.theme) == null ? void 0 : a.unstable_sxConfig) ?? Ga;
|
|
2102
2102
|
return Object.keys(e).forEach((n) => {
|
|
2103
2103
|
r[n] ? t.systemProps[n] = e[n] : t.otherProps[n] = e[n];
|
|
2104
2104
|
}), t;
|
|
@@ -2167,14 +2167,14 @@ const sh = {
|
|
|
2167
2167
|
required: "required",
|
|
2168
2168
|
selected: "selected"
|
|
2169
2169
|
};
|
|
2170
|
-
function
|
|
2170
|
+
function Ja(e, t, r = "Mui") {
|
|
2171
2171
|
const a = sh[t];
|
|
2172
2172
|
return a ? `${r}-${a}` : `${oh.generate(e)}-${t}`;
|
|
2173
2173
|
}
|
|
2174
2174
|
function tc(e, t, r = "Mui") {
|
|
2175
2175
|
const a = {};
|
|
2176
2176
|
return t.forEach((n) => {
|
|
2177
|
-
a[n] =
|
|
2177
|
+
a[n] = Ja(e, n, r);
|
|
2178
2178
|
}), a;
|
|
2179
2179
|
}
|
|
2180
2180
|
function rc(e, t = "") {
|
|
@@ -2192,9 +2192,9 @@ function ih(e) {
|
|
|
2192
2192
|
return rc(e, "Component");
|
|
2193
2193
|
if (typeof e == "object")
|
|
2194
2194
|
switch (e.$$typeof) {
|
|
2195
|
-
case
|
|
2195
|
+
case Rn.ForwardRef:
|
|
2196
2196
|
return Xs(e, e.render, "ForwardRef");
|
|
2197
|
-
case
|
|
2197
|
+
case Rn.Memo:
|
|
2198
2198
|
return Xs(e, e.type, "memo");
|
|
2199
2199
|
default:
|
|
2200
2200
|
return;
|
|
@@ -2214,8 +2214,8 @@ function ac(e) {
|
|
|
2214
2214
|
typeof n.style != "function" && (n.style = Js(n.style));
|
|
2215
2215
|
}), a;
|
|
2216
2216
|
}
|
|
2217
|
-
const lh =
|
|
2218
|
-
function
|
|
2217
|
+
const lh = Xn();
|
|
2218
|
+
function vo(e) {
|
|
2219
2219
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
2220
2220
|
}
|
|
2221
2221
|
function ch(e) {
|
|
@@ -2224,10 +2224,10 @@ function ch(e) {
|
|
|
2224
2224
|
function dh(e, t, r) {
|
|
2225
2225
|
e.theme = hh(e.theme) ? r : e.theme[t] || e.theme;
|
|
2226
2226
|
}
|
|
2227
|
-
function
|
|
2227
|
+
function yn(e, t) {
|
|
2228
2228
|
const r = typeof t == "function" ? t(e) : t;
|
|
2229
2229
|
if (Array.isArray(r))
|
|
2230
|
-
return r.flatMap((a) =>
|
|
2230
|
+
return r.flatMap((a) => yn(e, a));
|
|
2231
2231
|
if (Array.isArray(r == null ? void 0 : r.variants)) {
|
|
2232
2232
|
let a;
|
|
2233
2233
|
if (r.isProcessed)
|
|
@@ -2271,8 +2271,8 @@ function oc(e = {}) {
|
|
|
2271
2271
|
const {
|
|
2272
2272
|
themeId: t,
|
|
2273
2273
|
defaultTheme: r = lh,
|
|
2274
|
-
rootShouldForwardProp: a =
|
|
2275
|
-
slotShouldForwardProp: n =
|
|
2274
|
+
rootShouldForwardProp: a = vo,
|
|
2275
|
+
slotShouldForwardProp: n = vo
|
|
2276
2276
|
} = e;
|
|
2277
2277
|
function o(i) {
|
|
2278
2278
|
dh(i, t, r);
|
|
@@ -2293,7 +2293,7 @@ function oc(e = {}) {
|
|
|
2293
2293
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2294
2294
|
d && d !== "Root" && d !== "root" || !1
|
|
2295
2295
|
), x = p || !1;
|
|
2296
|
-
let E =
|
|
2296
|
+
let E = vo;
|
|
2297
2297
|
d === "Root" || d === "root" ? E = a : d ? E = n : mh(i) && (E = void 0);
|
|
2298
2298
|
const k = Ku(i, {
|
|
2299
2299
|
shouldForwardProp: E,
|
|
@@ -2302,12 +2302,12 @@ function oc(e = {}) {
|
|
|
2302
2302
|
}), D = (F) => {
|
|
2303
2303
|
if (typeof F == "function" && F.__emotion_real !== F)
|
|
2304
2304
|
return function(I) {
|
|
2305
|
-
return
|
|
2305
|
+
return yn(I, F);
|
|
2306
2306
|
};
|
|
2307
2307
|
if (Ot(F)) {
|
|
2308
2308
|
const W = ac(F);
|
|
2309
2309
|
return W.variants ? function(L) {
|
|
2310
|
-
return
|
|
2310
|
+
return yn(L, W);
|
|
2311
2311
|
} : W.style;
|
|
2312
2312
|
}
|
|
2313
2313
|
return F;
|
|
@@ -2320,7 +2320,7 @@ function oc(e = {}) {
|
|
|
2320
2320
|
return null;
|
|
2321
2321
|
const ee = {};
|
|
2322
2322
|
for (const oe in z)
|
|
2323
|
-
ee[oe] =
|
|
2323
|
+
ee[oe] = yn(N, z[oe]);
|
|
2324
2324
|
return f(N, ee);
|
|
2325
2325
|
}), c && !h && L.push(function(N) {
|
|
2326
2326
|
var ee, Y;
|
|
@@ -2359,7 +2359,7 @@ function sc(e) {
|
|
|
2359
2359
|
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
2360
2360
|
}
|
|
2361
2361
|
const fh = oc();
|
|
2362
|
-
function
|
|
2362
|
+
function An(e, t) {
|
|
2363
2363
|
const r = {
|
|
2364
2364
|
...t
|
|
2365
2365
|
};
|
|
@@ -2384,7 +2384,7 @@ function Tn(e, t) {
|
|
|
2384
2384
|
for (const i in o)
|
|
2385
2385
|
if (Object.prototype.hasOwnProperty.call(o, i)) {
|
|
2386
2386
|
const l = i;
|
|
2387
|
-
r[n][l] =
|
|
2387
|
+
r[n][l] = An(o[l], s[l]);
|
|
2388
2388
|
}
|
|
2389
2389
|
}
|
|
2390
2390
|
} else r[n] === void 0 && (r[n] = e[n]);
|
|
@@ -2397,7 +2397,7 @@ function gh(e) {
|
|
|
2397
2397
|
name: r,
|
|
2398
2398
|
props: a
|
|
2399
2399
|
} = e;
|
|
2400
|
-
return !t || !t.components || !t.components[r] || !t.components[r].defaultProps ? a :
|
|
2400
|
+
return !t || !t.components || !t.components[r] || !t.components[r].defaultProps ? a : An(t.components[r].defaultProps, a);
|
|
2401
2401
|
}
|
|
2402
2402
|
function yh({
|
|
2403
2403
|
props: e,
|
|
@@ -2416,7 +2416,7 @@ const ic = typeof window < "u" ? J.useLayoutEffect : J.useEffect;
|
|
|
2416
2416
|
function Dr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
2417
2417
|
return Math.max(t, Math.min(e, r));
|
|
2418
2418
|
}
|
|
2419
|
-
function
|
|
2419
|
+
function gs(e, t = 0, r = 1) {
|
|
2420
2420
|
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Dr(e, t, r);
|
|
2421
2421
|
}
|
|
2422
2422
|
function bh(e) {
|
|
@@ -2450,14 +2450,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
2450
2450
|
const Sh = (e) => {
|
|
2451
2451
|
const t = Zt(e);
|
|
2452
2452
|
return t.values.slice(0, 3).map((r, a) => t.type.includes("hsl") && a !== 0 ? `${r}%` : r).join(" ");
|
|
2453
|
-
},
|
|
2453
|
+
}, Ra = (e, t) => {
|
|
2454
2454
|
try {
|
|
2455
2455
|
return Sh(e);
|
|
2456
2456
|
} catch {
|
|
2457
2457
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
2458
2458
|
}
|
|
2459
2459
|
};
|
|
2460
|
-
function
|
|
2460
|
+
function Zn(e) {
|
|
2461
2461
|
const {
|
|
2462
2462
|
type: t,
|
|
2463
2463
|
colorSpace: r
|
|
@@ -2474,47 +2474,47 @@ function lc(e) {
|
|
|
2474
2474
|
} = e, r = t[0], a = t[1] / 100, n = t[2] / 100, o = a * Math.min(n, 1 - n), s = (c, d = (c + r / 30) % 12) => n - o * Math.max(Math.min(d - 3, 9 - d, 1), -1);
|
|
2475
2475
|
let i = "rgb";
|
|
2476
2476
|
const l = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
2477
|
-
return e.type === "hsla" && (i += "a", l.push(t[3])),
|
|
2477
|
+
return e.type === "hsla" && (i += "a", l.push(t[3])), Zn({
|
|
2478
2478
|
type: i,
|
|
2479
2479
|
values: l
|
|
2480
2480
|
});
|
|
2481
2481
|
}
|
|
2482
|
-
function
|
|
2482
|
+
function Do(e) {
|
|
2483
2483
|
e = Zt(e);
|
|
2484
2484
|
let t = e.type === "hsl" || e.type === "hsla" ? Zt(lc(e)).values : e.values;
|
|
2485
2485
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
2486
2486
|
}
|
|
2487
2487
|
function Zs(e, t) {
|
|
2488
|
-
const r =
|
|
2488
|
+
const r = Do(e), a = Do(t);
|
|
2489
2489
|
return (Math.max(r, a) + 0.05) / (Math.min(r, a) + 0.05);
|
|
2490
2490
|
}
|
|
2491
|
-
function
|
|
2492
|
-
return e = Zt(e), t =
|
|
2491
|
+
function zo(e, t) {
|
|
2492
|
+
return e = Zt(e), t = gs(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Zn(e);
|
|
2493
2493
|
}
|
|
2494
|
-
function
|
|
2494
|
+
function Xa(e, t, r) {
|
|
2495
2495
|
try {
|
|
2496
|
-
return
|
|
2496
|
+
return zo(e, t);
|
|
2497
2497
|
} catch {
|
|
2498
2498
|
return e;
|
|
2499
2499
|
}
|
|
2500
2500
|
}
|
|
2501
|
-
function
|
|
2502
|
-
if (e = Zt(e), t =
|
|
2501
|
+
function Ma(e, t) {
|
|
2502
|
+
if (e = Zt(e), t = gs(t), e.type.includes("hsl"))
|
|
2503
2503
|
e.values[2] *= 1 - t;
|
|
2504
2504
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
2505
2505
|
for (let r = 0; r < 3; r += 1)
|
|
2506
2506
|
e.values[r] *= 1 - t;
|
|
2507
|
-
return
|
|
2507
|
+
return Zn(e);
|
|
2508
2508
|
}
|
|
2509
2509
|
function ge(e, t, r) {
|
|
2510
2510
|
try {
|
|
2511
|
-
return
|
|
2511
|
+
return Ma(e, t);
|
|
2512
2512
|
} catch {
|
|
2513
2513
|
return e;
|
|
2514
2514
|
}
|
|
2515
2515
|
}
|
|
2516
|
-
function
|
|
2517
|
-
if (e = Zt(e), t =
|
|
2516
|
+
function ja(e, t) {
|
|
2517
|
+
if (e = Zt(e), t = gs(t), e.type.includes("hsl"))
|
|
2518
2518
|
e.values[2] += (100 - e.values[2]) * t;
|
|
2519
2519
|
else if (e.type.includes("rgb"))
|
|
2520
2520
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -2522,19 +2522,19 @@ function $a(e, t) {
|
|
|
2522
2522
|
else if (e.type.includes("color"))
|
|
2523
2523
|
for (let r = 0; r < 3; r += 1)
|
|
2524
2524
|
e.values[r] += (1 - e.values[r]) * t;
|
|
2525
|
-
return
|
|
2525
|
+
return Zn(e);
|
|
2526
2526
|
}
|
|
2527
2527
|
function ye(e, t, r) {
|
|
2528
2528
|
try {
|
|
2529
|
-
return
|
|
2529
|
+
return ja(e, t);
|
|
2530
2530
|
} catch {
|
|
2531
2531
|
return e;
|
|
2532
2532
|
}
|
|
2533
2533
|
}
|
|
2534
2534
|
function vh(e, t = 0.15) {
|
|
2535
|
-
return
|
|
2535
|
+
return Do(e) > 0.5 ? Ma(e, t) : ja(e, t);
|
|
2536
2536
|
}
|
|
2537
|
-
function
|
|
2537
|
+
function Za(e, t, r) {
|
|
2538
2538
|
try {
|
|
2539
2539
|
return vh(e, t);
|
|
2540
2540
|
} catch {
|
|
@@ -2546,7 +2546,7 @@ function ei(e, t) {
|
|
|
2546
2546
|
return e(...a) || t(...a);
|
|
2547
2547
|
};
|
|
2548
2548
|
}
|
|
2549
|
-
function
|
|
2549
|
+
function bn(e) {
|
|
2550
2550
|
return e && e.ownerDocument || document;
|
|
2551
2551
|
}
|
|
2552
2552
|
function xh(e, t) {
|
|
@@ -2579,7 +2579,7 @@ function Oh({
|
|
|
2579
2579
|
}, []);
|
|
2580
2580
|
return [i, l];
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function xo(e) {
|
|
2583
2583
|
const t = J.useRef(e);
|
|
2584
2584
|
return ic(() => {
|
|
2585
2585
|
t.current = e;
|
|
@@ -2615,7 +2615,7 @@ const wh = {
|
|
|
2615
2615
|
whiteSpace: "nowrap",
|
|
2616
2616
|
width: "1px"
|
|
2617
2617
|
};
|
|
2618
|
-
function
|
|
2618
|
+
function ys(e, t, r = void 0) {
|
|
2619
2619
|
const a = {};
|
|
2620
2620
|
for (const n in e) {
|
|
2621
2621
|
const o = e[n];
|
|
@@ -2640,7 +2640,7 @@ function Ph(e, t, r) {
|
|
|
2640
2640
|
}
|
|
2641
2641
|
};
|
|
2642
2642
|
}
|
|
2643
|
-
function
|
|
2643
|
+
function Sn(e, t = []) {
|
|
2644
2644
|
if (e === void 0)
|
|
2645
2645
|
return {};
|
|
2646
2646
|
const r = {};
|
|
@@ -2679,7 +2679,7 @@ function Vh(e) {
|
|
|
2679
2679
|
internalRef: void 0
|
|
2680
2680
|
};
|
|
2681
2681
|
}
|
|
2682
|
-
const s =
|
|
2682
|
+
const s = Sn({
|
|
2683
2683
|
...n,
|
|
2684
2684
|
...a
|
|
2685
2685
|
}), i = ri(a), l = ri(n), c = t(s), d = Pt(c == null ? void 0 : c.className, r == null ? void 0 : r.className, o, n == null ? void 0 : n.className, a == null ? void 0 : a.className), u = {
|
|
@@ -2734,7 +2734,7 @@ function Eh(e) {
|
|
|
2734
2734
|
if (!t || !t.components || !t.components[r])
|
|
2735
2735
|
return a;
|
|
2736
2736
|
const n = t.components[r];
|
|
2737
|
-
return n.defaultProps ?
|
|
2737
|
+
return n.defaultProps ? An(n.defaultProps, a) : !n.styleOverrides && !n.variants ? An(n, a) : a;
|
|
2738
2738
|
}
|
|
2739
2739
|
function Ih({
|
|
2740
2740
|
props: e,
|
|
@@ -2781,7 +2781,7 @@ const ni = (e, t, r, a = []) => {
|
|
|
2781
2781
|
}
|
|
2782
2782
|
a(e);
|
|
2783
2783
|
}, Uh = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((a) => e.includes(a)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
|
|
2784
|
-
function
|
|
2784
|
+
function Oo(e, t) {
|
|
2785
2785
|
const {
|
|
2786
2786
|
prefix: r,
|
|
2787
2787
|
shouldSkipGeneratingVar: a
|
|
@@ -2818,7 +2818,7 @@ function Lh(e, t = {}) {
|
|
|
2818
2818
|
vars: c,
|
|
2819
2819
|
css: d,
|
|
2820
2820
|
varsWithDefaults: u
|
|
2821
|
-
} =
|
|
2821
|
+
} = Oo(l, t);
|
|
2822
2822
|
let p = u;
|
|
2823
2823
|
const f = {}, {
|
|
2824
2824
|
[i]: g,
|
|
@@ -2829,7 +2829,7 @@ function Lh(e, t = {}) {
|
|
|
2829
2829
|
vars: F,
|
|
2830
2830
|
css: W,
|
|
2831
2831
|
varsWithDefaults: I
|
|
2832
|
-
} =
|
|
2832
|
+
} = Oo(M, t);
|
|
2833
2833
|
p = qe(p, I), f[D] = {
|
|
2834
2834
|
css: W,
|
|
2835
2835
|
vars: F
|
|
@@ -2839,7 +2839,7 @@ function Lh(e, t = {}) {
|
|
|
2839
2839
|
css: D,
|
|
2840
2840
|
vars: M,
|
|
2841
2841
|
varsWithDefaults: F
|
|
2842
|
-
} =
|
|
2842
|
+
} = Oo(g, t);
|
|
2843
2843
|
p = qe(p, F), f[i] = {
|
|
2844
2844
|
css: D,
|
|
2845
2845
|
vars: M
|
|
@@ -2924,7 +2924,7 @@ function kh(e) {
|
|
|
2924
2924
|
return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
|
|
2925
2925
|
};
|
|
2926
2926
|
}
|
|
2927
|
-
const Bh =
|
|
2927
|
+
const Bh = Xn(), Fh = fh("div", {
|
|
2928
2928
|
name: "MuiStack",
|
|
2929
2929
|
slot: "Root",
|
|
2930
2930
|
overridesResolver: (e, t) => t.root
|
|
@@ -2956,7 +2956,7 @@ const zh = (e) => ({
|
|
|
2956
2956
|
flexDirection: "column",
|
|
2957
2957
|
...mt({
|
|
2958
2958
|
theme: t
|
|
2959
|
-
},
|
|
2959
|
+
}, So({
|
|
2960
2960
|
values: e.direction,
|
|
2961
2961
|
breakpoints: t.breakpoints.values
|
|
2962
2962
|
}), (a) => ({
|
|
@@ -2964,10 +2964,10 @@ const zh = (e) => ({
|
|
|
2964
2964
|
}))
|
|
2965
2965
|
};
|
|
2966
2966
|
if (e.spacing) {
|
|
2967
|
-
const a =
|
|
2967
|
+
const a = Hn(t), n = Object.keys(t.breakpoints.values).reduce((l, c) => ((typeof e.spacing == "object" && e.spacing[c] != null || typeof e.direction == "object" && e.direction[c] != null) && (l[c] = !0), l), {}), o = So({
|
|
2968
2968
|
values: e.direction,
|
|
2969
2969
|
base: n
|
|
2970
|
-
}), s =
|
|
2970
|
+
}), s = So({
|
|
2971
2971
|
values: e.spacing,
|
|
2972
2972
|
base: n
|
|
2973
2973
|
});
|
|
@@ -2999,9 +2999,9 @@ function Jh(e = {}) {
|
|
|
2999
2999
|
createStyledComponent: t = Fh,
|
|
3000
3000
|
useThemeProps: r = Nh,
|
|
3001
3001
|
componentName: a = "MuiStack"
|
|
3002
|
-
} = e, n = () =>
|
|
3002
|
+
} = e, n = () => ys({
|
|
3003
3003
|
root: ["root"]
|
|
3004
|
-
}, (l) =>
|
|
3004
|
+
}, (l) => Ja(a, l), {}), o = t(Gh), s = /* @__PURE__ */ J.forwardRef(function(l, c) {
|
|
3005
3005
|
const d = r(l), u = ah(d), {
|
|
3006
3006
|
component: p = "div",
|
|
3007
3007
|
direction: f = "column",
|
|
@@ -3033,7 +3033,7 @@ function Jh(e = {}) {
|
|
|
3033
3033
|
sx: b.oneOfType([b.arrayOf(b.oneOfType([b.func, b.object, b.bool])), b.func, b.object])
|
|
3034
3034
|
}), s;
|
|
3035
3035
|
}
|
|
3036
|
-
const
|
|
3036
|
+
const $a = {
|
|
3037
3037
|
black: "#000",
|
|
3038
3038
|
white: "#fff"
|
|
3039
3039
|
}, Hh = {
|
|
@@ -3064,7 +3064,7 @@ const Ua = {
|
|
|
3064
3064
|
500: "#f44336",
|
|
3065
3065
|
700: "#d32f2f",
|
|
3066
3066
|
800: "#c62828"
|
|
3067
|
-
},
|
|
3067
|
+
}, ga = {
|
|
3068
3068
|
300: "#ffb74d",
|
|
3069
3069
|
400: "#ffa726",
|
|
3070
3070
|
500: "#ff9800",
|
|
@@ -3106,8 +3106,8 @@ function dc() {
|
|
|
3106
3106
|
// The background colors used to style the surfaces.
|
|
3107
3107
|
// Consistency between these values is important.
|
|
3108
3108
|
background: {
|
|
3109
|
-
paper:
|
|
3110
|
-
default:
|
|
3109
|
+
paper: $a.white,
|
|
3110
|
+
default: $a.white
|
|
3111
3111
|
},
|
|
3112
3112
|
// The colors used to style the action elements.
|
|
3113
3113
|
action: {
|
|
@@ -3134,7 +3134,7 @@ const qh = dc();
|
|
|
3134
3134
|
function uc() {
|
|
3135
3135
|
return {
|
|
3136
3136
|
text: {
|
|
3137
|
-
primary:
|
|
3137
|
+
primary: $a.white,
|
|
3138
3138
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
3139
3139
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
3140
3140
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -3145,7 +3145,7 @@ function uc() {
|
|
|
3145
3145
|
default: "#121212"
|
|
3146
3146
|
},
|
|
3147
3147
|
action: {
|
|
3148
|
-
active:
|
|
3148
|
+
active: $a.white,
|
|
3149
3149
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
3150
3150
|
hoverOpacity: 0.08,
|
|
3151
3151
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -3162,7 +3162,7 @@ function uc() {
|
|
|
3162
3162
|
const oi = uc();
|
|
3163
3163
|
function si(e, t, r, a) {
|
|
3164
3164
|
const n = a.light || a, o = a.dark || a * 1.5;
|
|
3165
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light =
|
|
3165
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = ja(e.main, n) : t === "dark" && (e.dark = Ma(e.main, o)));
|
|
3166
3166
|
}
|
|
3167
3167
|
function Wh(e = "light") {
|
|
3168
3168
|
return e === "dark" ? {
|
|
@@ -3221,17 +3221,17 @@ function Xh(e = "light") {
|
|
|
3221
3221
|
}
|
|
3222
3222
|
function Zh(e = "light") {
|
|
3223
3223
|
return e === "dark" ? {
|
|
3224
|
-
main:
|
|
3225
|
-
light:
|
|
3226
|
-
dark:
|
|
3224
|
+
main: ga[400],
|
|
3225
|
+
light: ga[300],
|
|
3226
|
+
dark: ga[700]
|
|
3227
3227
|
} : {
|
|
3228
3228
|
main: "#ed6c02",
|
|
3229
3229
|
// closest to orange[800] that pass 3:1.
|
|
3230
|
-
light:
|
|
3231
|
-
dark:
|
|
3230
|
+
light: ga[500],
|
|
3231
|
+
dark: ga[900]
|
|
3232
3232
|
};
|
|
3233
3233
|
}
|
|
3234
|
-
function
|
|
3234
|
+
function bs(e) {
|
|
3235
3235
|
const {
|
|
3236
3236
|
mode: t = "light",
|
|
3237
3237
|
contrastThreshold: r = 3,
|
|
@@ -3280,7 +3280,7 @@ const theme2 = createTheme({ palette: {
|
|
|
3280
3280
|
return t === "light" ? f = dc() : t === "dark" && (f = uc()), process.env.NODE_ENV !== "production" && (f || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), qe({
|
|
3281
3281
|
// A collection of common colors.
|
|
3282
3282
|
common: {
|
|
3283
|
-
|
|
3283
|
+
...$a
|
|
3284
3284
|
},
|
|
3285
3285
|
// prevent mutable object.
|
|
3286
3286
|
// The palette mode, can be light or dark.
|
|
@@ -3534,7 +3534,7 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
3534
3534
|
|
|
3535
3535
|
export default theme;`;
|
|
3536
3536
|
}
|
|
3537
|
-
function
|
|
3537
|
+
function Go(e = {}, ...t) {
|
|
3538
3538
|
const {
|
|
3539
3539
|
breakpoints: r,
|
|
3540
3540
|
mixins: a = {},
|
|
@@ -3549,7 +3549,7 @@ function Jo(e = {}, ...t) {
|
|
|
3549
3549
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
3550
3550
|
e.generateThemeVars === void 0)
|
|
3551
3551
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Xt(20));
|
|
3552
|
-
const d =
|
|
3552
|
+
const d = bs(o), u = Xn(e);
|
|
3553
3553
|
let p = qe(u, {
|
|
3554
3554
|
mixins: tm(u.breakpoints, a),
|
|
3555
3555
|
palette: d,
|
|
@@ -3568,7 +3568,7 @@ function Jo(e = {}, ...t) {
|
|
|
3568
3568
|
const k = h[E];
|
|
3569
3569
|
if (f.includes(E) && Object.keys(k).length > 0) {
|
|
3570
3570
|
if (process.env.NODE_ENV !== "production") {
|
|
3571
|
-
const D =
|
|
3571
|
+
const D = Ja("", E);
|
|
3572
3572
|
console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${E}\` internal state.`, "You can not override it like this: ", JSON.stringify(h, null, 2), "", `Instead, you need to use the '&.${D}' syntax:`, JSON.stringify({
|
|
3573
3573
|
root: {
|
|
3574
3574
|
[`&.${D}`]: k
|
|
@@ -3586,7 +3586,7 @@ function Jo(e = {}, ...t) {
|
|
|
3586
3586
|
});
|
|
3587
3587
|
}
|
|
3588
3588
|
return p.unstable_sxConfig = {
|
|
3589
|
-
...
|
|
3589
|
+
...Ga,
|
|
3590
3590
|
...c == null ? void 0 : c.unstable_sxConfig
|
|
3591
3591
|
}, p.unstable_sx = function(g) {
|
|
3592
3592
|
return Kr({
|
|
@@ -3625,7 +3625,7 @@ function gm(e) {
|
|
|
3625
3625
|
opacity: r,
|
|
3626
3626
|
overlays: a,
|
|
3627
3627
|
...n
|
|
3628
|
-
} = e, o =
|
|
3628
|
+
} = e, o = bs(t);
|
|
3629
3629
|
return {
|
|
3630
3630
|
palette: o,
|
|
3631
3631
|
opacity: {
|
|
@@ -3686,11 +3686,11 @@ function vm(e, t) {
|
|
|
3686
3686
|
function U(e, t, r) {
|
|
3687
3687
|
!e[t] && r && (e[t] = r);
|
|
3688
3688
|
}
|
|
3689
|
-
function
|
|
3689
|
+
function _a(e) {
|
|
3690
3690
|
return typeof e != "string" || !e.startsWith("hsl") ? e : lc(e);
|
|
3691
3691
|
}
|
|
3692
3692
|
function It(e, t) {
|
|
3693
|
-
`${t}Channel` in e || (e[`${t}Channel`] = _a(
|
|
3693
|
+
`${t}Channel` in e || (e[`${t}Channel`] = Ra(_a(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
3694
3694
|
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
3695
3695
|
}
|
|
3696
3696
|
function xm(e) {
|
|
@@ -3702,7 +3702,7 @@ const bt = (e) => {
|
|
|
3702
3702
|
} catch {
|
|
3703
3703
|
}
|
|
3704
3704
|
}, Om = (e = "mui") => jh(e);
|
|
3705
|
-
function
|
|
3705
|
+
function wo(e, t, r, a) {
|
|
3706
3706
|
if (!t)
|
|
3707
3707
|
return;
|
|
3708
3708
|
t = t === !0 ? {} : t;
|
|
@@ -3720,7 +3720,7 @@ function Co(e, t, r, a) {
|
|
|
3720
3720
|
const {
|
|
3721
3721
|
palette: o,
|
|
3722
3722
|
...s
|
|
3723
|
-
} =
|
|
3723
|
+
} = Go({
|
|
3724
3724
|
...r,
|
|
3725
3725
|
palette: {
|
|
3726
3726
|
mode: n,
|
|
@@ -3760,8 +3760,8 @@ function wm(e = {}, ...t) {
|
|
|
3760
3760
|
let k = f;
|
|
3761
3761
|
if ((u === "dark" && !("dark" in r) || u === "light" && !("light" in r)) && (k = !0), !k)
|
|
3762
3762
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${u}\` option is either missing or invalid.` : Xt(21, u));
|
|
3763
|
-
const D =
|
|
3764
|
-
g && !E.light &&
|
|
3763
|
+
const D = wo(E, k, c, u);
|
|
3764
|
+
g && !E.light && wo(E, g, void 0, "light"), h && !E.dark && wo(E, h, void 0, "dark");
|
|
3765
3765
|
let M = {
|
|
3766
3766
|
defaultColorScheme: u,
|
|
3767
3767
|
...D,
|
|
@@ -3783,17 +3783,17 @@ function wm(e = {}, ...t) {
|
|
|
3783
3783
|
};
|
|
3784
3784
|
if (y.mode === "light" && (U(y.common, "background", "#fff"), U(y.common, "onBackground", "#000")), y.mode === "dark" && (U(y.common, "background", "#000"), U(y.common, "onBackground", "#fff")), vm(y, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), y.mode === "light") {
|
|
3785
3785
|
U(y.Alert, "errorColor", ge(y.error.light, 0.6)), U(y.Alert, "infoColor", ge(y.info.light, 0.6)), U(y.Alert, "successColor", ge(y.success.light, 0.6)), U(y.Alert, "warningColor", ge(y.warning.light, 0.6)), U(y.Alert, "errorFilledBg", $("palette-error-main")), U(y.Alert, "infoFilledBg", $("palette-info-main")), U(y.Alert, "successFilledBg", $("palette-success-main")), U(y.Alert, "warningFilledBg", $("palette-warning-main")), U(y.Alert, "errorFilledColor", bt(() => y.getContrastText(y.error.main))), U(y.Alert, "infoFilledColor", bt(() => y.getContrastText(y.info.main))), U(y.Alert, "successFilledColor", bt(() => y.getContrastText(y.success.main))), U(y.Alert, "warningFilledColor", bt(() => y.getContrastText(y.warning.main))), U(y.Alert, "errorStandardBg", ye(y.error.light, 0.9)), U(y.Alert, "infoStandardBg", ye(y.info.light, 0.9)), U(y.Alert, "successStandardBg", ye(y.success.light, 0.9)), U(y.Alert, "warningStandardBg", ye(y.warning.light, 0.9)), U(y.Alert, "errorIconColor", $("palette-error-main")), U(y.Alert, "infoIconColor", $("palette-info-main")), U(y.Alert, "successIconColor", $("palette-success-main")), U(y.Alert, "warningIconColor", $("palette-warning-main")), U(y.AppBar, "defaultBg", $("palette-grey-100")), U(y.Avatar, "defaultBg", $("palette-grey-400")), U(y.Button, "inheritContainedBg", $("palette-grey-300")), U(y.Button, "inheritContainedHoverBg", $("palette-grey-A100")), U(y.Chip, "defaultBorder", $("palette-grey-400")), U(y.Chip, "defaultAvatarColor", $("palette-grey-700")), U(y.Chip, "defaultIconColor", $("palette-grey-700")), U(y.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), U(y.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), U(y.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), U(y.LinearProgress, "primaryBg", ye(y.primary.main, 0.62)), U(y.LinearProgress, "secondaryBg", ye(y.secondary.main, 0.62)), U(y.LinearProgress, "errorBg", ye(y.error.main, 0.62)), U(y.LinearProgress, "infoBg", ye(y.info.main, 0.62)), U(y.LinearProgress, "successBg", ye(y.success.main, 0.62)), U(y.LinearProgress, "warningBg", ye(y.warning.main, 0.62)), U(y.Skeleton, "bg", `rgba(${$("palette-text-primaryChannel")} / 0.11)`), U(y.Slider, "primaryTrack", ye(y.primary.main, 0.62)), U(y.Slider, "secondaryTrack", ye(y.secondary.main, 0.62)), U(y.Slider, "errorTrack", ye(y.error.main, 0.62)), U(y.Slider, "infoTrack", ye(y.info.main, 0.62)), U(y.Slider, "successTrack", ye(y.success.main, 0.62)), U(y.Slider, "warningTrack", ye(y.warning.main, 0.62));
|
|
3786
|
-
const N =
|
|
3787
|
-
U(y.SnackbarContent, "bg", N), U(y.SnackbarContent, "color", bt(() => y.getContrastText(N))), U(y.SpeedDialAction, "fabHoverBg",
|
|
3786
|
+
const N = Za(y.background.default, 0.8);
|
|
3787
|
+
U(y.SnackbarContent, "bg", N), U(y.SnackbarContent, "color", bt(() => y.getContrastText(N))), U(y.SpeedDialAction, "fabHoverBg", Za(y.background.paper, 0.15)), U(y.StepConnector, "border", $("palette-grey-400")), U(y.StepContent, "border", $("palette-grey-400")), U(y.Switch, "defaultColor", $("palette-common-white")), U(y.Switch, "defaultDisabledColor", $("palette-grey-100")), U(y.Switch, "primaryDisabledColor", ye(y.primary.main, 0.62)), U(y.Switch, "secondaryDisabledColor", ye(y.secondary.main, 0.62)), U(y.Switch, "errorDisabledColor", ye(y.error.main, 0.62)), U(y.Switch, "infoDisabledColor", ye(y.info.main, 0.62)), U(y.Switch, "successDisabledColor", ye(y.success.main, 0.62)), U(y.Switch, "warningDisabledColor", ye(y.warning.main, 0.62)), U(y.TableCell, "border", ye(Xa(y.divider, 1), 0.88)), U(y.Tooltip, "bg", Xa(y.grey[700], 0.92));
|
|
3788
3788
|
}
|
|
3789
3789
|
if (y.mode === "dark") {
|
|
3790
3790
|
U(y.Alert, "errorColor", ye(y.error.light, 0.6)), U(y.Alert, "infoColor", ye(y.info.light, 0.6)), U(y.Alert, "successColor", ye(y.success.light, 0.6)), U(y.Alert, "warningColor", ye(y.warning.light, 0.6)), U(y.Alert, "errorFilledBg", $("palette-error-dark")), U(y.Alert, "infoFilledBg", $("palette-info-dark")), U(y.Alert, "successFilledBg", $("palette-success-dark")), U(y.Alert, "warningFilledBg", $("palette-warning-dark")), U(y.Alert, "errorFilledColor", bt(() => y.getContrastText(y.error.dark))), U(y.Alert, "infoFilledColor", bt(() => y.getContrastText(y.info.dark))), U(y.Alert, "successFilledColor", bt(() => y.getContrastText(y.success.dark))), U(y.Alert, "warningFilledColor", bt(() => y.getContrastText(y.warning.dark))), U(y.Alert, "errorStandardBg", ge(y.error.light, 0.9)), U(y.Alert, "infoStandardBg", ge(y.info.light, 0.9)), U(y.Alert, "successStandardBg", ge(y.success.light, 0.9)), U(y.Alert, "warningStandardBg", ge(y.warning.light, 0.9)), U(y.Alert, "errorIconColor", $("palette-error-main")), U(y.Alert, "infoIconColor", $("palette-info-main")), U(y.Alert, "successIconColor", $("palette-success-main")), U(y.Alert, "warningIconColor", $("palette-warning-main")), U(y.AppBar, "defaultBg", $("palette-grey-900")), U(y.AppBar, "darkBg", $("palette-background-paper")), U(y.AppBar, "darkColor", $("palette-text-primary")), U(y.Avatar, "defaultBg", $("palette-grey-600")), U(y.Button, "inheritContainedBg", $("palette-grey-800")), U(y.Button, "inheritContainedHoverBg", $("palette-grey-700")), U(y.Chip, "defaultBorder", $("palette-grey-700")), U(y.Chip, "defaultAvatarColor", $("palette-grey-300")), U(y.Chip, "defaultIconColor", $("palette-grey-300")), U(y.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), U(y.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), U(y.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), U(y.LinearProgress, "primaryBg", ge(y.primary.main, 0.5)), U(y.LinearProgress, "secondaryBg", ge(y.secondary.main, 0.5)), U(y.LinearProgress, "errorBg", ge(y.error.main, 0.5)), U(y.LinearProgress, "infoBg", ge(y.info.main, 0.5)), U(y.LinearProgress, "successBg", ge(y.success.main, 0.5)), U(y.LinearProgress, "warningBg", ge(y.warning.main, 0.5)), U(y.Skeleton, "bg", `rgba(${$("palette-text-primaryChannel")} / 0.13)`), U(y.Slider, "primaryTrack", ge(y.primary.main, 0.5)), U(y.Slider, "secondaryTrack", ge(y.secondary.main, 0.5)), U(y.Slider, "errorTrack", ge(y.error.main, 0.5)), U(y.Slider, "infoTrack", ge(y.info.main, 0.5)), U(y.Slider, "successTrack", ge(y.success.main, 0.5)), U(y.Slider, "warningTrack", ge(y.warning.main, 0.5));
|
|
3791
|
-
const N =
|
|
3792
|
-
U(y.SnackbarContent, "bg", N), U(y.SnackbarContent, "color", bt(() => y.getContrastText(N))), U(y.SpeedDialAction, "fabHoverBg",
|
|
3791
|
+
const N = Za(y.background.default, 0.98);
|
|
3792
|
+
U(y.SnackbarContent, "bg", N), U(y.SnackbarContent, "color", bt(() => y.getContrastText(N))), U(y.SpeedDialAction, "fabHoverBg", Za(y.background.paper, 0.15)), U(y.StepConnector, "border", $("palette-grey-600")), U(y.StepContent, "border", $("palette-grey-600")), U(y.Switch, "defaultColor", $("palette-grey-300")), U(y.Switch, "defaultDisabledColor", $("palette-grey-600")), U(y.Switch, "primaryDisabledColor", ge(y.primary.main, 0.55)), U(y.Switch, "secondaryDisabledColor", ge(y.secondary.main, 0.55)), U(y.Switch, "errorDisabledColor", ge(y.error.main, 0.55)), U(y.Switch, "infoDisabledColor", ge(y.info.main, 0.55)), U(y.Switch, "successDisabledColor", ge(y.success.main, 0.55)), U(y.Switch, "warningDisabledColor", ge(y.warning.main, 0.55)), U(y.TableCell, "border", ge(Xa(y.divider, 1), 0.68)), U(y.Tooltip, "bg", Xa(y.grey[700], 0.92));
|
|
3793
3793
|
}
|
|
3794
3794
|
It(y.background, "default"), It(y.background, "paper"), It(y.common, "background"), It(y.common, "onBackground"), It(y, "divider"), Object.keys(y).forEach((N) => {
|
|
3795
3795
|
const G = y[N];
|
|
3796
|
-
N !== "tonalOffset" && G && typeof G == "object" && (G.main && U(y[N], "mainChannel", _a(
|
|
3796
|
+
N !== "tonalOffset" && G && typeof G == "object" && (G.main && U(y[N], "mainChannel", Ra(_a(G.main))), G.light && U(y[N], "lightChannel", Ra(_a(G.light))), G.dark && U(y[N], "darkChannel", Ra(_a(G.dark))), G.contrastText && U(y[N], "contrastTextChannel", Ra(_a(G.contrastText))), N === "text" && (It(y[N], "primary"), It(y[N], "secondary")), N === "action" && (G.active && It(y[N], "active"), G.selected && It(y[N], "selected")));
|
|
3797
3797
|
});
|
|
3798
3798
|
}), M = t.reduce((B, y) => qe(B, y), M);
|
|
3799
3799
|
const F = {
|
|
@@ -3809,9 +3809,9 @@ function wm(e = {}, ...t) {
|
|
|
3809
3809
|
return M.vars = W, Object.entries(M.colorSchemes[M.defaultColorScheme]).forEach(([B, y]) => {
|
|
3810
3810
|
M[B] = y;
|
|
3811
3811
|
}), M.generateThemeVars = I, M.generateStyleSheets = L, M.generateSpacing = function() {
|
|
3812
|
-
return Zl(c.spacing,
|
|
3812
|
+
return Zl(c.spacing, Hn(this));
|
|
3813
3813
|
}, M.getColorSchemeSelector = kh(i), M.spacing = M.generateSpacing(), M.shouldSkipGeneratingVar = s, M.unstable_sxConfig = {
|
|
3814
|
-
...
|
|
3814
|
+
...Ga,
|
|
3815
3815
|
...c == null ? void 0 : c.unstable_sxConfig
|
|
3816
3816
|
}, M.unstable_sx = function(y) {
|
|
3817
3817
|
return Kr({
|
|
@@ -3823,7 +3823,7 @@ function wm(e = {}, ...t) {
|
|
|
3823
3823
|
function di(e, t, r) {
|
|
3824
3824
|
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
3825
3825
|
...r !== !0 && r,
|
|
3826
|
-
palette:
|
|
3826
|
+
palette: bs({
|
|
3827
3827
|
...r === !0 ? {} : r.palette,
|
|
3828
3828
|
mode: t
|
|
3829
3829
|
})
|
|
@@ -3850,12 +3850,12 @@ function fc(e = {}, ...t) {
|
|
|
3850
3850
|
};
|
|
3851
3851
|
if (a === !1) {
|
|
3852
3852
|
if (!("colorSchemes" in e))
|
|
3853
|
-
return
|
|
3853
|
+
return Go(e, ...t);
|
|
3854
3854
|
let d = r;
|
|
3855
3855
|
"palette" in e || c[i] && (c[i] !== !0 ? d = c[i].palette : i === "dark" && (d = {
|
|
3856
3856
|
mode: "dark"
|
|
3857
3857
|
}));
|
|
3858
|
-
const u =
|
|
3858
|
+
const u = Go({
|
|
3859
3859
|
...e,
|
|
3860
3860
|
palette: d
|
|
3861
3861
|
}, ...t);
|
|
@@ -3875,16 +3875,16 @@ function fc(e = {}, ...t) {
|
|
|
3875
3875
|
}, ...t);
|
|
3876
3876
|
}
|
|
3877
3877
|
const Cm = fc(), Pm = "$$material";
|
|
3878
|
-
function
|
|
3878
|
+
function Ss(e) {
|
|
3879
3879
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3880
3880
|
}
|
|
3881
|
-
const Vm = (e) =>
|
|
3881
|
+
const Vm = (e) => Ss(e) && e !== "classes", Ut = oc({
|
|
3882
3882
|
themeId: Pm,
|
|
3883
3883
|
defaultTheme: Cm,
|
|
3884
3884
|
rootShouldForwardProp: Vm
|
|
3885
3885
|
});
|
|
3886
3886
|
process.env.NODE_ENV !== "production" && (b.node, b.object.isRequired);
|
|
3887
|
-
function
|
|
3887
|
+
function vs(e) {
|
|
3888
3888
|
return Ih(e);
|
|
3889
3889
|
}
|
|
3890
3890
|
const Jr = Jh({
|
|
@@ -3893,7 +3893,7 @@ const Jr = Jh({
|
|
|
3893
3893
|
slot: "Root",
|
|
3894
3894
|
overridesResolver: (e, t) => t.root
|
|
3895
3895
|
}),
|
|
3896
|
-
useThemeProps: (e) =>
|
|
3896
|
+
useThemeProps: (e) => vs({
|
|
3897
3897
|
props: e,
|
|
3898
3898
|
name: "MuiStack"
|
|
3899
3899
|
})
|
|
@@ -3942,7 +3942,7 @@ process.env.NODE_ENV !== "production" && (Jr.propTypes = {
|
|
|
3942
3942
|
*/
|
|
3943
3943
|
useFlexGap: b.bool
|
|
3944
3944
|
});
|
|
3945
|
-
const re = (e) => typeof e == "string",
|
|
3945
|
+
const re = (e) => typeof e == "string", ya = () => {
|
|
3946
3946
|
let e, t;
|
|
3947
3947
|
const r = new Promise((a, n) => {
|
|
3948
3948
|
e = a, t = n;
|
|
@@ -3952,7 +3952,7 @@ const re = (e) => typeof e == "string", ba = () => {
|
|
|
3952
3952
|
e.forEach((a) => {
|
|
3953
3953
|
t[a] && (r[a] = t[a]);
|
|
3954
3954
|
});
|
|
3955
|
-
}, _m = /###/g, pi = (e) => e && e.indexOf("###") > -1 ? e.replace(_m, ".") : e, hi = (e) => !e || re(e),
|
|
3955
|
+
}, _m = /###/g, pi = (e) => e && e.indexOf("###") > -1 ? e.replace(_m, ".") : e, hi = (e) => !e || re(e), Ta = (e, t, r) => {
|
|
3956
3956
|
const a = re(t) ? t.split(".") : t;
|
|
3957
3957
|
let n = 0;
|
|
3958
3958
|
for (; n < a.length - 1; ) {
|
|
@@ -3968,31 +3968,31 @@ const re = (e) => typeof e == "string", ba = () => {
|
|
|
3968
3968
|
const {
|
|
3969
3969
|
obj: a,
|
|
3970
3970
|
k: n
|
|
3971
|
-
} =
|
|
3971
|
+
} = Ta(e, t, Object);
|
|
3972
3972
|
if (a !== void 0 || t.length === 1) {
|
|
3973
3973
|
a[n] = r;
|
|
3974
3974
|
return;
|
|
3975
3975
|
}
|
|
3976
|
-
let o = t[t.length - 1], s = t.slice(0, t.length - 1), i =
|
|
3976
|
+
let o = t[t.length - 1], s = t.slice(0, t.length - 1), i = Ta(e, s, Object);
|
|
3977
3977
|
for (; i.obj === void 0 && s.length; )
|
|
3978
|
-
o = `${s[s.length - 1]}.${o}`, s = s.slice(0, s.length - 1), i =
|
|
3978
|
+
o = `${s[s.length - 1]}.${o}`, s = s.slice(0, s.length - 1), i = Ta(e, s, Object), i != null && i.obj && typeof i.obj[`${i.k}.${o}`] < "u" && (i.obj = void 0);
|
|
3979
3979
|
i.obj[`${i.k}.${o}`] = r;
|
|
3980
3980
|
}, Am = (e, t, r, a) => {
|
|
3981
3981
|
const {
|
|
3982
3982
|
obj: n,
|
|
3983
3983
|
k: o
|
|
3984
|
-
} =
|
|
3984
|
+
} = Ta(e, t, Object);
|
|
3985
3985
|
n[o] = n[o] || [], n[o].push(r);
|
|
3986
|
-
},
|
|
3986
|
+
}, Tn = (e, t) => {
|
|
3987
3987
|
const {
|
|
3988
3988
|
obj: r,
|
|
3989
3989
|
k: a
|
|
3990
|
-
} =
|
|
3990
|
+
} = Ta(e, t);
|
|
3991
3991
|
if (r && Object.prototype.hasOwnProperty.call(r, a))
|
|
3992
3992
|
return r[a];
|
|
3993
3993
|
}, Tm = (e, t, r) => {
|
|
3994
|
-
const a =
|
|
3995
|
-
return a !== void 0 ? a :
|
|
3994
|
+
const a = Tn(e, r);
|
|
3995
|
+
return a !== void 0 ? a : Tn(t, r);
|
|
3996
3996
|
}, gc = (e, t, r) => {
|
|
3997
3997
|
for (const a in t)
|
|
3998
3998
|
a !== "__proto__" && a !== "constructor" && (a in e ? re(e[a]) || e[a] instanceof String || re(t[a]) || t[a] instanceof String ? r && (e[a] = t[a]) : gc(e[a], t[a], r) : e[a] = t[a]);
|
|
@@ -4030,7 +4030,7 @@ const jm = [" ", ",", "?", "!", ";"], $m = new Mm(20), Um = (e, t, r) => {
|
|
|
4030
4030
|
s > 0 && !n.test(e.substring(0, s)) && (o = !0);
|
|
4031
4031
|
}
|
|
4032
4032
|
return o;
|
|
4033
|
-
},
|
|
4033
|
+
}, Jo = function(e, t) {
|
|
4034
4034
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
|
4035
4035
|
if (!e) return;
|
|
4036
4036
|
if (e[t])
|
|
@@ -4051,7 +4051,7 @@ const jm = [" ", ",", "?", "!", ";"], $m = new Mm(20), Um = (e, t, r) => {
|
|
|
4051
4051
|
n = s;
|
|
4052
4052
|
}
|
|
4053
4053
|
return n;
|
|
4054
|
-
},
|
|
4054
|
+
}, En = (e) => e == null ? void 0 : e.replace("_", "-"), Lm = {
|
|
4055
4055
|
type: "logger",
|
|
4056
4056
|
log(e) {
|
|
4057
4057
|
this.output("log", e);
|
|
@@ -4067,7 +4067,7 @@ const jm = [" ", ",", "?", "!", ";"], $m = new Mm(20), Um = (e, t, r) => {
|
|
|
4067
4067
|
(a = (r = console == null ? void 0 : console[e]) == null ? void 0 : r.apply) == null || a.call(r, console, t);
|
|
4068
4068
|
}
|
|
4069
4069
|
};
|
|
4070
|
-
class
|
|
4070
|
+
class In {
|
|
4071
4071
|
constructor(t) {
|
|
4072
4072
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4073
4073
|
this.init(t, r);
|
|
@@ -4100,17 +4100,17 @@ class Mn {
|
|
|
4100
4100
|
return n && !this.debug ? null : (re(t[0]) && (t[0] = `${a}${this.prefix} ${t[0]}`), this.logger[r](t));
|
|
4101
4101
|
}
|
|
4102
4102
|
create(t) {
|
|
4103
|
-
return new
|
|
4103
|
+
return new In(this.logger, {
|
|
4104
4104
|
prefix: `${this.prefix}:${t}:`,
|
|
4105
4105
|
...this.options
|
|
4106
4106
|
});
|
|
4107
4107
|
}
|
|
4108
4108
|
clone(t) {
|
|
4109
|
-
return t = t || this.options, t.prefix = t.prefix || this.prefix, new
|
|
4109
|
+
return t = t || this.options, t.prefix = t.prefix || this.prefix, new In(this.logger, t);
|
|
4110
4110
|
}
|
|
4111
4111
|
}
|
|
4112
|
-
var Ct = new
|
|
4113
|
-
class
|
|
4112
|
+
var Ct = new In();
|
|
4113
|
+
class eo {
|
|
4114
4114
|
constructor() {
|
|
4115
4115
|
this.observers = {};
|
|
4116
4116
|
}
|
|
@@ -4144,7 +4144,7 @@ class to {
|
|
|
4144
4144
|
});
|
|
4145
4145
|
}
|
|
4146
4146
|
}
|
|
4147
|
-
class fi extends
|
|
4147
|
+
class fi extends eo {
|
|
4148
4148
|
constructor(t) {
|
|
4149
4149
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
4150
4150
|
ns: ["translation"],
|
|
@@ -4165,8 +4165,8 @@ class fi extends to {
|
|
|
4165
4165
|
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, s = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
4166
4166
|
let i;
|
|
4167
4167
|
t.indexOf(".") > -1 ? i = t.split(".") : (i = [t, r], a && (Array.isArray(a) ? i.push(...a) : re(a) && o ? i.push(...a.split(o)) : i.push(a)));
|
|
4168
|
-
const l =
|
|
4169
|
-
return !l && !r && !a && t.indexOf(".") > -1 && (t = i[0], r = i[1], a = i.slice(2).join(".")), l || !s || !re(a) ? l :
|
|
4168
|
+
const l = Tn(this.data, i);
|
|
4169
|
+
return !l && !r && !a && t.indexOf(".") > -1 && (t = i[0], r = i[1], a = i.slice(2).join(".")), l || !s || !re(a) ? l : Jo((d = (c = this.data) == null ? void 0 : c[t]) == null ? void 0 : d[r], a, o);
|
|
4170
4170
|
}
|
|
4171
4171
|
addResource(t, r, a, n) {
|
|
4172
4172
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -4192,7 +4192,7 @@ class fi extends to {
|
|
|
4192
4192
|
skipCopy: !1
|
|
4193
4193
|
}, i = [t, r];
|
|
4194
4194
|
t.indexOf(".") > -1 && (i = t.split("."), n = a, a = r, r = i[1]), this.addNamespaces(r);
|
|
4195
|
-
let l =
|
|
4195
|
+
let l = Tn(this.data, i) || {};
|
|
4196
4196
|
s.skipCopy || (a = JSON.parse(JSON.stringify(a))), n ? gc(l, a, o) : l = {
|
|
4197
4197
|
...l,
|
|
4198
4198
|
...a
|
|
@@ -4231,7 +4231,7 @@ var yc = {
|
|
|
4231
4231
|
}
|
|
4232
4232
|
};
|
|
4233
4233
|
const gi = {}, yi = (e) => !re(e) && typeof e != "boolean" && typeof e != "number";
|
|
4234
|
-
class
|
|
4234
|
+
class Mn extends eo {
|
|
4235
4235
|
constructor(t) {
|
|
4236
4236
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4237
4237
|
super(), Rm(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Ct.create("translator");
|
|
@@ -4301,7 +4301,7 @@ class jn extends to {
|
|
|
4301
4301
|
}
|
|
4302
4302
|
const u = this.resolve(t, r);
|
|
4303
4303
|
let p = u == null ? void 0 : u.res;
|
|
4304
|
-
const f = (u == null ? void 0 : u.usedKey) || s, g = (u == null ? void 0 : u.exactUsedKey) || s, h = ["[object Number]", "[object Function]", "[object RegExp]"], x = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, E = !this.i18nFormat || this.i18nFormat.handleAsObject, k = r.count !== void 0 && !re(r.count), D =
|
|
4304
|
+
const f = (u == null ? void 0 : u.usedKey) || s, g = (u == null ? void 0 : u.exactUsedKey) || s, h = ["[object Number]", "[object Function]", "[object RegExp]"], x = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, E = !this.i18nFormat || this.i18nFormat.handleAsObject, k = r.count !== void 0 && !re(r.count), D = Mn.hasDefaultValue(r), M = k ? this.pluralResolver.getSuffix(c, r.count, r) : "", F = r.ordinal && k ? this.pluralResolver.getSuffix(c, r.count, {
|
|
4305
4305
|
ordinal: !1
|
|
4306
4306
|
}) : "", W = k && !r.ordinal && r.count === 0, I = W && r[`defaultValue${this.options.pluralSeparator}zero`] || r[`defaultValue${M}`] || r[`defaultValue${F}`] || r.defaultValue;
|
|
4307
4307
|
let L = p;
|
|
@@ -4494,12 +4494,12 @@ class bi {
|
|
|
4494
4494
|
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Ct.create("languageUtils");
|
|
4495
4495
|
}
|
|
4496
4496
|
getScriptPartFromCode(t) {
|
|
4497
|
-
if (t =
|
|
4497
|
+
if (t = En(t), !t || t.indexOf("-") < 0) return null;
|
|
4498
4498
|
const r = t.split("-");
|
|
4499
4499
|
return r.length === 2 || (r.pop(), r[r.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(r.join("-"));
|
|
4500
4500
|
}
|
|
4501
4501
|
getLanguagePartFromCode(t) {
|
|
4502
|
-
if (t =
|
|
4502
|
+
if (t = En(t), !t || t.indexOf("-") < 0) return t;
|
|
4503
4503
|
const r = t.split("-");
|
|
4504
4504
|
return this.formatLanguageCode(r[0]);
|
|
4505
4505
|
}
|
|
@@ -4577,7 +4577,7 @@ class km {
|
|
|
4577
4577
|
}
|
|
4578
4578
|
getRule(t) {
|
|
4579
4579
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4580
|
-
const a =
|
|
4580
|
+
const a = En(t === "dev" ? "en" : t), n = r.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
|
|
4581
4581
|
cleanedCode: a,
|
|
4582
4582
|
type: n
|
|
4583
4583
|
});
|
|
@@ -4617,8 +4617,8 @@ class km {
|
|
|
4617
4617
|
}
|
|
4618
4618
|
const xi = function(e, t, r) {
|
|
4619
4619
|
let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = Tm(e, t, r);
|
|
4620
|
-
return !o && n && re(r) && (o =
|
|
4621
|
-
},
|
|
4620
|
+
return !o && n && re(r) && (o = Jo(e, r, a), o === void 0 && (o = Jo(t, r, a))), o;
|
|
4621
|
+
}, Co = (e) => e.replace(/\$/g, "$$$$");
|
|
4622
4622
|
class Bm {
|
|
4623
4623
|
constructor() {
|
|
4624
4624
|
var r;
|
|
@@ -4681,10 +4681,10 @@ class Bm {
|
|
|
4681
4681
|
const d = (n == null ? void 0 : n.missingInterpolationHandler) || this.options.missingInterpolationHandler, u = ((f = n == null ? void 0 : n.interpolation) == null ? void 0 : f.skipOnVariables) !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
4682
4682
|
return [{
|
|
4683
4683
|
regex: this.regexpUnescape,
|
|
4684
|
-
safeValue: (g) =>
|
|
4684
|
+
safeValue: (g) => Co(g)
|
|
4685
4685
|
}, {
|
|
4686
4686
|
regex: this.regexp,
|
|
4687
|
-
safeValue: (g) => this.escapeValue ?
|
|
4687
|
+
safeValue: (g) => this.escapeValue ? Co(this.escape(g)) : Co(g)
|
|
4688
4688
|
}].forEach((g) => {
|
|
4689
4689
|
for (i = 0; o = g.regex.exec(t); ) {
|
|
4690
4690
|
const h = o[1].trim();
|
|
@@ -4773,7 +4773,7 @@ const Fm = (e) => {
|
|
|
4773
4773
|
});
|
|
4774
4774
|
const s = a + JSON.stringify(o);
|
|
4775
4775
|
let i = t[s];
|
|
4776
|
-
return i || (i = e(
|
|
4776
|
+
return i || (i = e(En(a), n), t[s] = i), i(r);
|
|
4777
4777
|
};
|
|
4778
4778
|
};
|
|
4779
4779
|
class Nm {
|
|
@@ -4860,7 +4860,7 @@ class Nm {
|
|
|
4860
4860
|
const Dm = (e, t) => {
|
|
4861
4861
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
|
4862
4862
|
};
|
|
4863
|
-
class zm extends
|
|
4863
|
+
class zm extends eo {
|
|
4864
4864
|
constructor(t, r, a) {
|
|
4865
4865
|
var o, s;
|
|
4866
4866
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -5056,13 +5056,13 @@ const Oi = () => ({
|
|
|
5056
5056
|
}), wi = (e) => {
|
|
5057
5057
|
var t, r;
|
|
5058
5058
|
return re(e.ns) && (e.ns = [e.ns]), re(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), re(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), ((r = (t = e.supportedLngs) == null ? void 0 : t.indexOf) == null ? void 0 : r.call(t, "cimode")) < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e;
|
|
5059
|
-
},
|
|
5059
|
+
}, en = () => {
|
|
5060
5060
|
}, Gm = (e) => {
|
|
5061
5061
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((r) => {
|
|
5062
5062
|
typeof e[r] == "function" && (e[r] = e[r].bind(e));
|
|
5063
5063
|
});
|
|
5064
5064
|
};
|
|
5065
|
-
class
|
|
5065
|
+
class Ua extends eo {
|
|
5066
5066
|
constructor() {
|
|
5067
5067
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
5068
5068
|
if (super(), this.options = wi(t), this.services = {}, this.logger = Ct, this.modules = {
|
|
@@ -5105,7 +5105,7 @@ class La extends to {
|
|
|
5105
5105
|
for (var g = arguments.length, h = new Array(g > 1 ? g - 1 : 0), x = 1; x < g; x++)
|
|
5106
5106
|
h[x - 1] = arguments[x];
|
|
5107
5107
|
t.emit(f, ...h);
|
|
5108
|
-
}), this.modules.languageDetector && (p.languageDetector = o(this.modules.languageDetector), p.languageDetector.init && p.languageDetector.init(p, this.options.detection, this.options)), this.modules.i18nFormat && (p.i18nFormat = o(this.modules.i18nFormat), p.i18nFormat.init && p.i18nFormat.init(this)), this.translator = new
|
|
5108
|
+
}), this.modules.languageDetector && (p.languageDetector = o(this.modules.languageDetector), p.languageDetector.init && p.languageDetector.init(p, this.options.detection, this.options)), this.modules.i18nFormat && (p.i18nFormat = o(this.modules.i18nFormat), p.i18nFormat.init && p.i18nFormat.init(this)), this.translator = new Mn(this.services, this.options), this.translator.on("*", function(f) {
|
|
5109
5109
|
for (var g = arguments.length, h = new Array(g > 1 ? g - 1 : 0), x = 1; x < g; x++)
|
|
5110
5110
|
h[x - 1] = arguments[x];
|
|
5111
5111
|
t.emit(f, ...h);
|
|
@@ -5113,7 +5113,7 @@ class La extends to {
|
|
|
5113
5113
|
f.init && f.init(this);
|
|
5114
5114
|
});
|
|
5115
5115
|
}
|
|
5116
|
-
if (this.format = this.options.interpolation.format, a || (a =
|
|
5116
|
+
if (this.format = this.options.interpolation.format, a || (a = en), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
5117
5117
|
const d = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
5118
5118
|
d.length > 0 && d[0] !== "dev" && (this.options.lng = d[0]);
|
|
5119
5119
|
}
|
|
@@ -5126,7 +5126,7 @@ class La extends to {
|
|
|
5126
5126
|
return t.store[d](...arguments), t;
|
|
5127
5127
|
};
|
|
5128
5128
|
});
|
|
5129
|
-
const l =
|
|
5129
|
+
const l = ya(), c = () => {
|
|
5130
5130
|
const d = (u, p) => {
|
|
5131
5131
|
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), l.resolve(p), a(u, p);
|
|
5132
5132
|
};
|
|
@@ -5137,7 +5137,7 @@ class La extends to {
|
|
|
5137
5137
|
}
|
|
5138
5138
|
loadResources(t) {
|
|
5139
5139
|
var o, s;
|
|
5140
|
-
let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
5140
|
+
let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : en;
|
|
5141
5141
|
const n = re(t) ? t : this.language;
|
|
5142
5142
|
if (typeof t == "function" && (a = t), !this.options.resources || this.options.partialBundledLanguages) {
|
|
5143
5143
|
if ((n == null ? void 0 : n.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return a();
|
|
@@ -5154,8 +5154,8 @@ class La extends to {
|
|
|
5154
5154
|
a(null);
|
|
5155
5155
|
}
|
|
5156
5156
|
reloadResources(t, r, a) {
|
|
5157
|
-
const n =
|
|
5158
|
-
return typeof t == "function" && (a = t, t = void 0), typeof r == "function" && (a = r, r = void 0), t || (t = this.languages), r || (r = this.options.ns), a || (a =
|
|
5157
|
+
const n = ya();
|
|
5158
|
+
return typeof t == "function" && (a = t, t = void 0), typeof r == "function" && (a = r, r = void 0), t || (t = this.languages), r || (r = this.options.ns), a || (a = en), this.services.backendConnector.reload(t, r, (o) => {
|
|
5159
5159
|
n.resolve(), a(o);
|
|
5160
5160
|
}), n;
|
|
5161
5161
|
}
|
|
@@ -5177,7 +5177,7 @@ class La extends to {
|
|
|
5177
5177
|
changeLanguage(t, r) {
|
|
5178
5178
|
var a = this;
|
|
5179
5179
|
this.isLanguageChangingTo = t;
|
|
5180
|
-
const n =
|
|
5180
|
+
const n = ya();
|
|
5181
5181
|
this.emit("languageChanging", t);
|
|
5182
5182
|
const o = (l) => {
|
|
5183
5183
|
this.language = l, this.languages = this.services.languageUtils.toResolveHierarchy(l), this.resolvedLanguage = void 0, this.setResolvedLanguage(l);
|
|
@@ -5250,7 +5250,7 @@ class La extends to {
|
|
|
5250
5250
|
return !!(this.hasResourceBundle(a, t) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || s(a, t) && (!n || s(o, t)));
|
|
5251
5251
|
}
|
|
5252
5252
|
loadNamespaces(t, r) {
|
|
5253
|
-
const a =
|
|
5253
|
+
const a = ya();
|
|
5254
5254
|
return this.options.ns ? (re(t) && (t = [t]), t.forEach((n) => {
|
|
5255
5255
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
5256
5256
|
}), this.loadResources((n) => {
|
|
@@ -5258,7 +5258,7 @@ class La extends to {
|
|
|
5258
5258
|
}), a) : (r && r(), Promise.resolve());
|
|
5259
5259
|
}
|
|
5260
5260
|
loadLanguages(t, r) {
|
|
5261
|
-
const a =
|
|
5261
|
+
const a = ya();
|
|
5262
5262
|
re(t) && (t = [t]);
|
|
5263
5263
|
const n = this.options.preload || [], o = t.filter((s) => n.indexOf(s) < 0 && this.services.languageUtils.isSupportedCode(s));
|
|
5264
5264
|
return o.length ? (this.options.preload = n.concat(o), this.loadResources((s) => {
|
|
@@ -5273,17 +5273,17 @@ class La extends to {
|
|
|
5273
5273
|
}
|
|
5274
5274
|
static createInstance() {
|
|
5275
5275
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
5276
|
-
return new
|
|
5276
|
+
return new Ua(t, r);
|
|
5277
5277
|
}
|
|
5278
5278
|
cloneInstance() {
|
|
5279
|
-
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
5279
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : en;
|
|
5280
5280
|
const a = t.forkResourceStore;
|
|
5281
5281
|
a && delete t.forkResourceStore;
|
|
5282
5282
|
const n = {
|
|
5283
5283
|
...this.options,
|
|
5284
5284
|
...t,
|
|
5285
5285
|
isClone: !0
|
|
5286
|
-
}, o = new
|
|
5286
|
+
}, o = new Ua(n);
|
|
5287
5287
|
if ((t.debug !== void 0 || t.prefix !== void 0) && (o.logger = o.logger.clone(t)), ["store", "services", "language"].forEach((i) => {
|
|
5288
5288
|
o[i] = this[i];
|
|
5289
5289
|
}), o.services = {
|
|
@@ -5298,7 +5298,7 @@ class La extends to {
|
|
|
5298
5298
|
}, d), {})), {});
|
|
5299
5299
|
o.store = new fi(i, n), o.services.resourceStore = o.store;
|
|
5300
5300
|
}
|
|
5301
|
-
return o.translator = new
|
|
5301
|
+
return o.translator = new Mn(o.services, n), o.translator.on("*", function(i) {
|
|
5302
5302
|
for (var l = arguments.length, c = new Array(l > 1 ? l - 1 : 0), d = 1; d < l; d++)
|
|
5303
5303
|
c[d - 1] = arguments[d];
|
|
5304
5304
|
o.emit(i, ...c);
|
|
@@ -5316,8 +5316,8 @@ class La extends to {
|
|
|
5316
5316
|
};
|
|
5317
5317
|
}
|
|
5318
5318
|
}
|
|
5319
|
-
const ze =
|
|
5320
|
-
ze.createInstance =
|
|
5319
|
+
const ze = Ua.createInstance();
|
|
5320
|
+
ze.createInstance = Ua.createInstance;
|
|
5321
5321
|
ze.createInstance;
|
|
5322
5322
|
ze.dir;
|
|
5323
5323
|
ze.init;
|
|
@@ -5455,17 +5455,17 @@ const qm = ({
|
|
|
5455
5455
|
titleId: t,
|
|
5456
5456
|
...r
|
|
5457
5457
|
}, a) => /* @__PURE__ */ J.createElement("svg", { width: 21, height: 21, viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ J.createElement("title", { id: t }, e) : null, /* @__PURE__ */ J.createElement("g", { id: "JogPlus" }, /* @__PURE__ */ J.createElement("g", { id: "Plus" }, /* @__PURE__ */ J.createElement("path", { d: "M0 13V8H8V13H0Z", fill: "white" }), /* @__PURE__ */ J.createElement("path", { d: "M8 0L13 2.18557e-07L13 21H8L8 0Z", fill: "white" }), /* @__PURE__ */ J.createElement("path", { d: "M13 13V8H21V13H13Z", fill: "white" })))), Ym = Le(Km);
|
|
5458
|
-
function
|
|
5458
|
+
function xs(e) {
|
|
5459
5459
|
Yt(e, []);
|
|
5460
5460
|
}
|
|
5461
5461
|
function Xm(e) {
|
|
5462
|
-
|
|
5462
|
+
xs(() => ql(e));
|
|
5463
5463
|
}
|
|
5464
5464
|
function Zm(e, t, r) {
|
|
5465
|
-
|
|
5465
|
+
xs(() => Pu(e, t, r));
|
|
5466
5466
|
}
|
|
5467
|
-
function
|
|
5468
|
-
return
|
|
5467
|
+
function Ha(e) {
|
|
5468
|
+
return xs(() => {
|
|
5469
5469
|
let t;
|
|
5470
5470
|
function r() {
|
|
5471
5471
|
e(), t = requestAnimationFrame(r);
|
|
@@ -5488,7 +5488,7 @@ const Ci = Xr(
|
|
|
5488
5488
|
...i
|
|
5489
5489
|
}) => {
|
|
5490
5490
|
var D, M, F, W, I, L, B;
|
|
5491
|
-
|
|
5491
|
+
Ha(() => {
|
|
5492
5492
|
const y = r(), $ = p.current;
|
|
5493
5493
|
$ && ($.textContent = y);
|
|
5494
5494
|
});
|
|
@@ -5551,7 +5551,7 @@ const Ci = Xr(
|
|
|
5551
5551
|
}
|
|
5552
5552
|
return /* @__PURE__ */ S.jsxs(Jr, { height: "64px", direction: "row", justifyContent: "center", ...i, children: [
|
|
5553
5553
|
/* @__PURE__ */ S.jsx(
|
|
5554
|
-
|
|
5554
|
+
Pn,
|
|
5555
5555
|
{
|
|
5556
5556
|
disabled: o,
|
|
5557
5557
|
disableRipple: !0,
|
|
@@ -5620,7 +5620,7 @@ const Ci = Xr(
|
|
|
5620
5620
|
}
|
|
5621
5621
|
),
|
|
5622
5622
|
/* @__PURE__ */ S.jsx(
|
|
5623
|
-
|
|
5623
|
+
Pn,
|
|
5624
5624
|
{
|
|
5625
5625
|
disableRipple: !0,
|
|
5626
5626
|
disabled: o,
|
|
@@ -5643,7 +5643,7 @@ const Ci = Xr(
|
|
|
5643
5643
|
)
|
|
5644
5644
|
), yr = Mh;
|
|
5645
5645
|
function ef(e) {
|
|
5646
|
-
return
|
|
5646
|
+
return Ja("MuiSvgIcon", e);
|
|
5647
5647
|
}
|
|
5648
5648
|
tc("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
5649
5649
|
const tf = (e) => {
|
|
@@ -5654,7 +5654,7 @@ const tf = (e) => {
|
|
|
5654
5654
|
} = e, n = {
|
|
5655
5655
|
root: ["root", t !== "inherit" && `color${He(t)}`, `fontSize${He(r)}`]
|
|
5656
5656
|
};
|
|
5657
|
-
return
|
|
5657
|
+
return ys(n, ef, a);
|
|
5658
5658
|
}, rf = Ut("svg", {
|
|
5659
5659
|
name: "MuiSvgIcon",
|
|
5660
5660
|
slot: "Root",
|
|
@@ -5756,8 +5756,8 @@ const tf = (e) => {
|
|
|
5756
5756
|
}
|
|
5757
5757
|
]
|
|
5758
5758
|
};
|
|
5759
|
-
})),
|
|
5760
|
-
const a =
|
|
5759
|
+
})), jn = /* @__PURE__ */ J.forwardRef(function(t, r) {
|
|
5760
|
+
const a = vs({
|
|
5761
5761
|
props: t,
|
|
5762
5762
|
name: "MuiSvgIcon"
|
|
5763
5763
|
}), {
|
|
@@ -5800,7 +5800,7 @@ const tf = (e) => {
|
|
|
5800
5800
|
}) : null]
|
|
5801
5801
|
});
|
|
5802
5802
|
});
|
|
5803
|
-
process.env.NODE_ENV !== "production" && (
|
|
5803
|
+
process.env.NODE_ENV !== "production" && (jn.propTypes = {
|
|
5804
5804
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
5805
5805
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
5806
5806
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -5872,17 +5872,17 @@ process.env.NODE_ENV !== "production" && ($n.propTypes = {
|
|
|
5872
5872
|
*/
|
|
5873
5873
|
viewBox: b.string
|
|
5874
5874
|
});
|
|
5875
|
-
|
|
5875
|
+
jn.muiName = "SvgIcon";
|
|
5876
5876
|
function Sc(e, t) {
|
|
5877
5877
|
function r(a, n) {
|
|
5878
|
-
return /* @__PURE__ */ S.jsx(
|
|
5878
|
+
return /* @__PURE__ */ S.jsx(jn, {
|
|
5879
5879
|
"data-testid": `${t}Icon`,
|
|
5880
5880
|
ref: n,
|
|
5881
5881
|
...a,
|
|
5882
5882
|
children: e
|
|
5883
5883
|
});
|
|
5884
5884
|
}
|
|
5885
|
-
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName =
|
|
5885
|
+
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = jn.muiName, /* @__PURE__ */ J.memo(/* @__PURE__ */ J.forwardRef(r));
|
|
5886
5886
|
}
|
|
5887
5887
|
const af = Sc(/* @__PURE__ */ S.jsx("path", {
|
|
5888
5888
|
d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
@@ -5893,7 +5893,7 @@ function pr(e) {
|
|
|
5893
5893
|
var t = typeof e;
|
|
5894
5894
|
return e != null && (t == "object" || t == "function");
|
|
5895
5895
|
}
|
|
5896
|
-
var vc = typeof global == "object" && global && global.Object === Object && global, of = typeof self == "object" && self && self.Object === Object && self, Rt = vc || of || Function("return this")(),
|
|
5896
|
+
var vc = typeof global == "object" && global && global.Object === Object && global, of = typeof self == "object" && self && self.Object === Object && self, Rt = vc || of || Function("return this")(), Po = function() {
|
|
5897
5897
|
return Rt.Date.now();
|
|
5898
5898
|
}, sf = /\s/;
|
|
5899
5899
|
function lf(e) {
|
|
@@ -5905,16 +5905,16 @@ var cf = /^\s+/;
|
|
|
5905
5905
|
function df(e) {
|
|
5906
5906
|
return e && e.slice(0, lf(e) + 1).replace(cf, "");
|
|
5907
5907
|
}
|
|
5908
|
-
var er = Rt.Symbol, xc = Object.prototype, uf = xc.hasOwnProperty, pf = xc.toString,
|
|
5908
|
+
var er = Rt.Symbol, xc = Object.prototype, uf = xc.hasOwnProperty, pf = xc.toString, ba = er ? er.toStringTag : void 0;
|
|
5909
5909
|
function hf(e) {
|
|
5910
|
-
var t = uf.call(e,
|
|
5910
|
+
var t = uf.call(e, ba), r = e[ba];
|
|
5911
5911
|
try {
|
|
5912
|
-
e[
|
|
5912
|
+
e[ba] = void 0;
|
|
5913
5913
|
var a = !0;
|
|
5914
5914
|
} catch {
|
|
5915
5915
|
}
|
|
5916
5916
|
var n = pf.call(e);
|
|
5917
|
-
return a && (t ? e[
|
|
5917
|
+
return a && (t ? e[ba] = r : delete e[ba]), n;
|
|
5918
5918
|
}
|
|
5919
5919
|
var mf = Object.prototype, ff = mf.toString;
|
|
5920
5920
|
function gf(e) {
|
|
@@ -5928,14 +5928,14 @@ function hr(e) {
|
|
|
5928
5928
|
return e != null && typeof e == "object";
|
|
5929
5929
|
}
|
|
5930
5930
|
var Sf = "[object Symbol]";
|
|
5931
|
-
function
|
|
5931
|
+
function to(e) {
|
|
5932
5932
|
return typeof e == "symbol" || hr(e) && br(e) == Sf;
|
|
5933
5933
|
}
|
|
5934
5934
|
var Vi = NaN, vf = /^[-+]0x[0-9a-f]+$/i, xf = /^0b[01]+$/i, Of = /^0o[0-7]+$/i, wf = parseInt;
|
|
5935
5935
|
function Ri(e) {
|
|
5936
5936
|
if (typeof e == "number")
|
|
5937
5937
|
return e;
|
|
5938
|
-
if (
|
|
5938
|
+
if (to(e))
|
|
5939
5939
|
return Vi;
|
|
5940
5940
|
if (pr(e)) {
|
|
5941
5941
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -5969,7 +5969,7 @@ function Rf(e, t, r) {
|
|
|
5969
5969
|
return l === void 0 || I >= t || I < 0 || u && L >= o;
|
|
5970
5970
|
}
|
|
5971
5971
|
function E() {
|
|
5972
|
-
var W =
|
|
5972
|
+
var W = Po();
|
|
5973
5973
|
if (x(W))
|
|
5974
5974
|
return k(W);
|
|
5975
5975
|
i = setTimeout(E, h(W));
|
|
@@ -5981,10 +5981,10 @@ function Rf(e, t, r) {
|
|
|
5981
5981
|
i !== void 0 && clearTimeout(i), c = 0, a = l = n = i = void 0;
|
|
5982
5982
|
}
|
|
5983
5983
|
function M() {
|
|
5984
|
-
return i === void 0 ? s : k(
|
|
5984
|
+
return i === void 0 ? s : k(Po());
|
|
5985
5985
|
}
|
|
5986
5986
|
function F() {
|
|
5987
|
-
var W =
|
|
5987
|
+
var W = Po(), I = x(W);
|
|
5988
5988
|
if (a = arguments, n = this, l = W, I) {
|
|
5989
5989
|
if (i === void 0)
|
|
5990
5990
|
return g(l);
|
|
@@ -6021,7 +6021,7 @@ const Tf = Xr(
|
|
|
6021
6021
|
const { t: i } = $t(), [l, c] = gr(), d = ct(), u = {
|
|
6022
6022
|
background: (D = d.palette.backgroundPaperElevation) == null ? void 0 : D[4],
|
|
6023
6023
|
color: (M = d.palette.backgroundPaperElevation) == null ? void 0 : M[11]
|
|
6024
|
-
}, p =
|
|
6024
|
+
}, p = Nn(() => ({
|
|
6025
6025
|
activeJoggingDir: null,
|
|
6026
6026
|
startJogging(Y) {
|
|
6027
6027
|
this.activeJoggingDir = Y, e(Y);
|
|
@@ -6032,7 +6032,7 @@ const Tf = Xr(
|
|
|
6032
6032
|
})), f = Af(() => {
|
|
6033
6033
|
c(n());
|
|
6034
6034
|
}, 50);
|
|
6035
|
-
|
|
6035
|
+
Ha(f);
|
|
6036
6036
|
function g(Y) {
|
|
6037
6037
|
Y.button === 0 && p.startJogging("-");
|
|
6038
6038
|
}
|
|
@@ -6085,7 +6085,7 @@ const Tf = Xr(
|
|
|
6085
6085
|
},
|
|
6086
6086
|
children: [
|
|
6087
6087
|
/* @__PURE__ */ S.jsx(
|
|
6088
|
-
|
|
6088
|
+
Pn,
|
|
6089
6089
|
{
|
|
6090
6090
|
onPointerDown: g,
|
|
6091
6091
|
onPointerUp: x,
|
|
@@ -6182,7 +6182,7 @@ const Tf = Xr(
|
|
|
6182
6182
|
}
|
|
6183
6183
|
),
|
|
6184
6184
|
/* @__PURE__ */ S.jsx(
|
|
6185
|
-
|
|
6185
|
+
Pn,
|
|
6186
6186
|
{
|
|
6187
6187
|
onPointerDown: h,
|
|
6188
6188
|
onPointerUp: x,
|
|
@@ -6229,9 +6229,9 @@ function $f(e, t) {
|
|
|
6229
6229
|
return r;
|
|
6230
6230
|
return -1;
|
|
6231
6231
|
}
|
|
6232
|
-
var
|
|
6232
|
+
var ro = $f, Uf = Array.prototype, Lf = Uf.splice;
|
|
6233
6233
|
function kf(e) {
|
|
6234
|
-
var t = this.__data__, r =
|
|
6234
|
+
var t = this.__data__, r = ro(t, e);
|
|
6235
6235
|
if (r < 0)
|
|
6236
6236
|
return !1;
|
|
6237
6237
|
var a = t.length - 1;
|
|
@@ -6239,16 +6239,16 @@ function kf(e) {
|
|
|
6239
6239
|
}
|
|
6240
6240
|
var Bf = kf;
|
|
6241
6241
|
function Ff(e) {
|
|
6242
|
-
var t = this.__data__, r =
|
|
6242
|
+
var t = this.__data__, r = ro(t, e);
|
|
6243
6243
|
return r < 0 ? void 0 : t[r][1];
|
|
6244
6244
|
}
|
|
6245
6245
|
var Nf = Ff;
|
|
6246
6246
|
function Df(e) {
|
|
6247
|
-
return
|
|
6247
|
+
return ro(this.__data__, e) > -1;
|
|
6248
6248
|
}
|
|
6249
6249
|
var zf = Df;
|
|
6250
6250
|
function Gf(e, t) {
|
|
6251
|
-
var r = this.__data__, a =
|
|
6251
|
+
var r = this.__data__, a = ro(r, e);
|
|
6252
6252
|
return a < 0 ? (++this.size, r.push([e, t])) : r[a][1] = t, this;
|
|
6253
6253
|
}
|
|
6254
6254
|
var Jf = Gf;
|
|
@@ -6264,9 +6264,9 @@ Zr.prototype.delete = Bf;
|
|
|
6264
6264
|
Zr.prototype.get = Nf;
|
|
6265
6265
|
Zr.prototype.has = zf;
|
|
6266
6266
|
Zr.prototype.set = Jf;
|
|
6267
|
-
var
|
|
6267
|
+
var ao = Zr;
|
|
6268
6268
|
function Hf() {
|
|
6269
|
-
this.__data__ = new
|
|
6269
|
+
this.__data__ = new ao(), this.size = 0;
|
|
6270
6270
|
}
|
|
6271
6271
|
var qf = Hf;
|
|
6272
6272
|
function Wf(e) {
|
|
@@ -6281,16 +6281,16 @@ var Yf = Kf;
|
|
|
6281
6281
|
function Xf(e) {
|
|
6282
6282
|
return this.__data__.has(e);
|
|
6283
6283
|
}
|
|
6284
|
-
var Zf = Xf, eg = typeof global == "object" && global && global.Object === Object && global, Cc = eg, tg = typeof self == "object" && self && self.Object === Object && self, rg = Cc || tg || Function("return this")(), Lt = rg, ag = Lt.Symbol, Yr = ag, Pc = Object.prototype, ng = Pc.hasOwnProperty, og = Pc.toString,
|
|
6284
|
+
var Zf = Xf, eg = typeof global == "object" && global && global.Object === Object && global, Cc = eg, tg = typeof self == "object" && self && self.Object === Object && self, rg = Cc || tg || Function("return this")(), Lt = rg, ag = Lt.Symbol, Yr = ag, Pc = Object.prototype, ng = Pc.hasOwnProperty, og = Pc.toString, Sa = Yr ? Yr.toStringTag : void 0;
|
|
6285
6285
|
function sg(e) {
|
|
6286
|
-
var t = ng.call(e,
|
|
6286
|
+
var t = ng.call(e, Sa), r = e[Sa];
|
|
6287
6287
|
try {
|
|
6288
|
-
e[
|
|
6288
|
+
e[Sa] = void 0;
|
|
6289
6289
|
var a = !0;
|
|
6290
6290
|
} catch {
|
|
6291
6291
|
}
|
|
6292
6292
|
var n = og.call(e);
|
|
6293
|
-
return a && (t ? e[
|
|
6293
|
+
return a && (t ? e[Sa] = r : delete e[Sa]), n;
|
|
6294
6294
|
}
|
|
6295
6295
|
var ig = sg, lg = Object.prototype, cg = lg.toString;
|
|
6296
6296
|
function dg(e) {
|
|
@@ -6300,15 +6300,15 @@ var ug = dg, pg = "[object Null]", hg = "[object Undefined]", _i = Yr ? Yr.toStr
|
|
|
6300
6300
|
function mg(e) {
|
|
6301
6301
|
return e == null ? e === void 0 ? hg : pg : _i && _i in Object(e) ? ig(e) : ug(e);
|
|
6302
6302
|
}
|
|
6303
|
-
var
|
|
6303
|
+
var qa = mg, fg = "[object AsyncFunction]", gg = "[object Function]", yg = "[object GeneratorFunction]", bg = "[object Proxy]";
|
|
6304
6304
|
function Sg(e) {
|
|
6305
6305
|
if (!Oc(e))
|
|
6306
6306
|
return !1;
|
|
6307
|
-
var t =
|
|
6307
|
+
var t = qa(e);
|
|
6308
6308
|
return t == gg || t == yg || t == fg || t == bg;
|
|
6309
6309
|
}
|
|
6310
|
-
var Vc = Sg, vg = Lt["__core-js_shared__"],
|
|
6311
|
-
var e = /[^.]+$/.exec(
|
|
6310
|
+
var Vc = Sg, vg = Lt["__core-js_shared__"], Vo = vg, Ai = function() {
|
|
6311
|
+
var e = /[^.]+$/.exec(Vo && Vo.keys && Vo.keys.IE_PROTO || "");
|
|
6312
6312
|
return e ? "Symbol(src)_1." + e : "";
|
|
6313
6313
|
}();
|
|
6314
6314
|
function xg(e) {
|
|
@@ -6346,9 +6346,9 @@ function Lg(e, t) {
|
|
|
6346
6346
|
var r = Ug(e, t);
|
|
6347
6347
|
return jg(r) ? r : void 0;
|
|
6348
6348
|
}
|
|
6349
|
-
var ea = Lg, kg = ea(Lt, "Map"),
|
|
6349
|
+
var ea = Lg, kg = ea(Lt, "Map"), La = kg, Bg = ea(Object, "create"), ka = Bg;
|
|
6350
6350
|
function Fg() {
|
|
6351
|
-
this.__data__ =
|
|
6351
|
+
this.__data__ = ka ? ka(null) : {}, this.size = 0;
|
|
6352
6352
|
}
|
|
6353
6353
|
var Ng = Fg;
|
|
6354
6354
|
function Dg(e) {
|
|
@@ -6358,7 +6358,7 @@ function Dg(e) {
|
|
|
6358
6358
|
var zg = Dg, Gg = "__lodash_hash_undefined__", Jg = Object.prototype, Hg = Jg.hasOwnProperty;
|
|
6359
6359
|
function qg(e) {
|
|
6360
6360
|
var t = this.__data__;
|
|
6361
|
-
if (
|
|
6361
|
+
if (ka) {
|
|
6362
6362
|
var r = t[e];
|
|
6363
6363
|
return r === Gg ? void 0 : r;
|
|
6364
6364
|
}
|
|
@@ -6367,12 +6367,12 @@ function qg(e) {
|
|
|
6367
6367
|
var Wg = qg, Qg = Object.prototype, Kg = Qg.hasOwnProperty;
|
|
6368
6368
|
function Yg(e) {
|
|
6369
6369
|
var t = this.__data__;
|
|
6370
|
-
return
|
|
6370
|
+
return ka ? t[e] !== void 0 : Kg.call(t, e);
|
|
6371
6371
|
}
|
|
6372
6372
|
var Xg = Yg, Zg = "__lodash_hash_undefined__";
|
|
6373
6373
|
function ey(e, t) {
|
|
6374
6374
|
var r = this.__data__;
|
|
6375
|
-
return this.size += this.has(e) ? 0 : 1, r[e] =
|
|
6375
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = ka && t === void 0 ? Zg : t, this;
|
|
6376
6376
|
}
|
|
6377
6377
|
var ty = ey;
|
|
6378
6378
|
function ta(e) {
|
|
@@ -6391,7 +6391,7 @@ var Ti = ta;
|
|
|
6391
6391
|
function ry() {
|
|
6392
6392
|
this.size = 0, this.__data__ = {
|
|
6393
6393
|
hash: new Ti(),
|
|
6394
|
-
map: new (
|
|
6394
|
+
map: new (La || ao)(),
|
|
6395
6395
|
string: new Ti()
|
|
6396
6396
|
};
|
|
6397
6397
|
}
|
|
@@ -6405,22 +6405,22 @@ function sy(e, t) {
|
|
|
6405
6405
|
var r = e.__data__;
|
|
6406
6406
|
return oy(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
6407
6407
|
}
|
|
6408
|
-
var
|
|
6408
|
+
var no = sy;
|
|
6409
6409
|
function iy(e) {
|
|
6410
|
-
var t =
|
|
6410
|
+
var t = no(this, e).delete(e);
|
|
6411
6411
|
return this.size -= t ? 1 : 0, t;
|
|
6412
6412
|
}
|
|
6413
6413
|
var ly = iy;
|
|
6414
6414
|
function cy(e) {
|
|
6415
|
-
return
|
|
6415
|
+
return no(this, e).get(e);
|
|
6416
6416
|
}
|
|
6417
6417
|
var dy = cy;
|
|
6418
6418
|
function uy(e) {
|
|
6419
|
-
return
|
|
6419
|
+
return no(this, e).has(e);
|
|
6420
6420
|
}
|
|
6421
6421
|
var py = uy;
|
|
6422
6422
|
function hy(e, t) {
|
|
6423
|
-
var r =
|
|
6423
|
+
var r = no(this, e), a = r.size;
|
|
6424
6424
|
return r.set(e, t), this.size += r.size == a ? 0 : 1, this;
|
|
6425
6425
|
}
|
|
6426
6426
|
var my = hy;
|
|
@@ -6439,9 +6439,9 @@ ra.prototype.set = my;
|
|
|
6439
6439
|
var Rc = ra, fy = 200;
|
|
6440
6440
|
function gy(e, t) {
|
|
6441
6441
|
var r = this.__data__;
|
|
6442
|
-
if (r instanceof
|
|
6442
|
+
if (r instanceof ao) {
|
|
6443
6443
|
var a = r.__data__;
|
|
6444
|
-
if (!
|
|
6444
|
+
if (!La || a.length < fy - 1)
|
|
6445
6445
|
return a.push([e, t]), this.size = ++r.size, this;
|
|
6446
6446
|
r = this.__data__ = new Rc(a);
|
|
6447
6447
|
}
|
|
@@ -6449,7 +6449,7 @@ function gy(e, t) {
|
|
|
6449
6449
|
}
|
|
6450
6450
|
var yy = gy;
|
|
6451
6451
|
function aa(e) {
|
|
6452
|
-
var t = this.__data__ = new
|
|
6452
|
+
var t = this.__data__ = new ao(e);
|
|
6453
6453
|
this.size = t.size;
|
|
6454
6454
|
}
|
|
6455
6455
|
aa.prototype.clear = qf;
|
|
@@ -6457,7 +6457,7 @@ aa.prototype.delete = Qf;
|
|
|
6457
6457
|
aa.prototype.get = Yf;
|
|
6458
6458
|
aa.prototype.has = Zf;
|
|
6459
6459
|
aa.prototype.set = yy;
|
|
6460
|
-
var
|
|
6460
|
+
var Ro = aa, by = "__lodash_hash_undefined__";
|
|
6461
6461
|
function Sy(e) {
|
|
6462
6462
|
return this.__data__.set(e, by), this;
|
|
6463
6463
|
}
|
|
@@ -6466,14 +6466,14 @@ function xy(e) {
|
|
|
6466
6466
|
return this.__data__.has(e);
|
|
6467
6467
|
}
|
|
6468
6468
|
var Oy = xy;
|
|
6469
|
-
function
|
|
6469
|
+
function $n(e) {
|
|
6470
6470
|
var t = -1, r = e == null ? 0 : e.length;
|
|
6471
6471
|
for (this.__data__ = new Rc(); ++t < r; )
|
|
6472
6472
|
this.add(e[t]);
|
|
6473
6473
|
}
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
var wy =
|
|
6474
|
+
$n.prototype.add = $n.prototype.push = vy;
|
|
6475
|
+
$n.prototype.has = Oy;
|
|
6476
|
+
var wy = $n;
|
|
6477
6477
|
function Cy(e, t) {
|
|
6478
6478
|
for (var r = -1, a = e == null ? 0 : e.length; ++r < a; )
|
|
6479
6479
|
if (t(e[r], r, e))
|
|
@@ -6532,7 +6532,7 @@ function jy(e) {
|
|
|
6532
6532
|
r[++t] = a;
|
|
6533
6533
|
}), r;
|
|
6534
6534
|
}
|
|
6535
|
-
var $y = jy, Uy = 1, Ly = 2, ky = "[object Boolean]", By = "[object Date]", Fy = "[object Error]", Ny = "[object Map]", Dy = "[object Number]", zy = "[object RegExp]", Gy = "[object Set]", Jy = "[object String]", Hy = "[object Symbol]", qy = "[object ArrayBuffer]", Wy = "[object DataView]", Ii = Yr ? Yr.prototype : void 0,
|
|
6535
|
+
var $y = jy, Uy = 1, Ly = 2, ky = "[object Boolean]", By = "[object Date]", Fy = "[object Error]", Ny = "[object Map]", Dy = "[object Number]", zy = "[object RegExp]", Gy = "[object Set]", Jy = "[object String]", Hy = "[object Symbol]", qy = "[object ArrayBuffer]", Wy = "[object DataView]", Ii = Yr ? Yr.prototype : void 0, _o = Ii ? Ii.valueOf : void 0;
|
|
6536
6536
|
function Qy(e, t, r, a, n, o, s) {
|
|
6537
6537
|
switch (r) {
|
|
6538
6538
|
case Wy:
|
|
@@ -6563,8 +6563,8 @@ function Qy(e, t, r, a, n, o, s) {
|
|
|
6563
6563
|
var d = _c(i(e), i(t), a, n, o, s);
|
|
6564
6564
|
return s.delete(e), d;
|
|
6565
6565
|
case Hy:
|
|
6566
|
-
if (
|
|
6567
|
-
return
|
|
6566
|
+
if (_o)
|
|
6567
|
+
return _o.call(e) == _o.call(t);
|
|
6568
6568
|
}
|
|
6569
6569
|
return !1;
|
|
6570
6570
|
}
|
|
@@ -6574,10 +6574,10 @@ function Yy(e, t) {
|
|
|
6574
6574
|
e[n + r] = t[r];
|
|
6575
6575
|
return e;
|
|
6576
6576
|
}
|
|
6577
|
-
var Xy = Yy, Zy = Array.isArray,
|
|
6577
|
+
var Xy = Yy, Zy = Array.isArray, Un = Zy;
|
|
6578
6578
|
function eb(e, t, r) {
|
|
6579
6579
|
var a = t(e);
|
|
6580
|
-
return
|
|
6580
|
+
return Un(e) ? a : Xy(a, r(e));
|
|
6581
6581
|
}
|
|
6582
6582
|
var tb = eb;
|
|
6583
6583
|
function rb(e, t) {
|
|
@@ -6605,19 +6605,19 @@ var ub = db;
|
|
|
6605
6605
|
function pb(e) {
|
|
6606
6606
|
return e != null && typeof e == "object";
|
|
6607
6607
|
}
|
|
6608
|
-
var
|
|
6608
|
+
var Ba = pb, hb = "[object Arguments]";
|
|
6609
6609
|
function mb(e) {
|
|
6610
|
-
return
|
|
6610
|
+
return Ba(e) && qa(e) == hb;
|
|
6611
6611
|
}
|
|
6612
6612
|
var ji = mb, Ac = Object.prototype, fb = Ac.hasOwnProperty, gb = Ac.propertyIsEnumerable, yb = ji(/* @__PURE__ */ function() {
|
|
6613
6613
|
return arguments;
|
|
6614
6614
|
}()) ? ji : function(e) {
|
|
6615
|
-
return
|
|
6615
|
+
return Ba(e) && fb.call(e, "callee") && !gb.call(e, "callee");
|
|
6616
6616
|
}, bb = yb;
|
|
6617
6617
|
function Sb() {
|
|
6618
6618
|
return !1;
|
|
6619
6619
|
}
|
|
6620
|
-
var vb = Sb, Tc = typeof exports == "object" && exports && !exports.nodeType && exports, $i = Tc && typeof module == "object" && module && !module.nodeType && module, xb = $i && $i.exports === Tc, Ui = xb ? Lt.Buffer : void 0, Ob = Ui ? Ui.isBuffer : void 0, wb = Ob || vb,
|
|
6620
|
+
var vb = Sb, Tc = typeof exports == "object" && exports && !exports.nodeType && exports, $i = Tc && typeof module == "object" && module && !module.nodeType && module, xb = $i && $i.exports === Tc, Ui = xb ? Lt.Buffer : void 0, Ob = Ui ? Ui.isBuffer : void 0, wb = Ob || vb, Ho = wb, Cb = 9007199254740991, Pb = /^(?:0|[1-9]\d*)$/;
|
|
6621
6621
|
function Vb(e, t) {
|
|
6622
6622
|
var r = typeof e;
|
|
6623
6623
|
return t = t ?? Cb, !!t && (r == "number" || r != "symbol" && Pb.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
@@ -6630,7 +6630,7 @@ var Ec = Ab, Tb = "[object Arguments]", Eb = "[object Array]", Ib = "[object Boo
|
|
|
6630
6630
|
ve[Jb] = ve[Hb] = ve[qb] = ve[Wb] = ve[Qb] = ve[Kb] = ve[Yb] = ve[Xb] = ve[Zb] = !0;
|
|
6631
6631
|
ve[Tb] = ve[Eb] = ve[zb] = ve[Ib] = ve[Gb] = ve[Mb] = ve[jb] = ve[$b] = ve[Ub] = ve[Lb] = ve[kb] = ve[Bb] = ve[Fb] = ve[Nb] = ve[Db] = !1;
|
|
6632
6632
|
function e0(e) {
|
|
6633
|
-
return
|
|
6633
|
+
return Ba(e) && Ec(e.length) && !!ve[qa(e)];
|
|
6634
6634
|
}
|
|
6635
6635
|
var t0 = e0;
|
|
6636
6636
|
function r0(e) {
|
|
@@ -6638,15 +6638,15 @@ function r0(e) {
|
|
|
6638
6638
|
return e(t);
|
|
6639
6639
|
};
|
|
6640
6640
|
}
|
|
6641
|
-
var a0 = r0, Ic = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
6641
|
+
var a0 = r0, Ic = typeof exports == "object" && exports && !exports.nodeType && exports, Ea = Ic && typeof module == "object" && module && !module.nodeType && module, n0 = Ea && Ea.exports === Ic, Ao = n0 && Cc.process, o0 = function() {
|
|
6642
6642
|
try {
|
|
6643
|
-
var e =
|
|
6644
|
-
return e ||
|
|
6643
|
+
var e = Ea && Ea.require && Ea.require("util").types;
|
|
6644
|
+
return e || Ao && Ao.binding && Ao.binding("util");
|
|
6645
6645
|
} catch {
|
|
6646
6646
|
}
|
|
6647
6647
|
}(), Li = o0, ki = Li && Li.isTypedArray, s0 = ki ? a0(ki) : t0, Mc = s0, i0 = Object.prototype, l0 = i0.hasOwnProperty;
|
|
6648
6648
|
function c0(e, t) {
|
|
6649
|
-
var r =
|
|
6649
|
+
var r = Un(e), a = !r && bb(e), n = !r && !a && Ho(e), o = !r && !a && !n && Mc(e), s = r || a || n || o, i = s ? ub(e.length, String) : [], l = i.length;
|
|
6650
6650
|
for (var c in e)
|
|
6651
6651
|
(t || l0.call(e, c)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6652
6652
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -6719,9 +6719,9 @@ function T0(e, t, r, a, n, o) {
|
|
|
6719
6719
|
}
|
|
6720
6720
|
return o.delete(e), o.delete(t), h;
|
|
6721
6721
|
}
|
|
6722
|
-
var E0 = T0, I0 = ea(Lt, "DataView"),
|
|
6723
|
-
(
|
|
6724
|
-
var t =
|
|
6722
|
+
var E0 = T0, I0 = ea(Lt, "DataView"), qo = I0, M0 = ea(Lt, "Promise"), Wo = M0, j0 = ea(Lt, "Set"), Qo = j0, $0 = ea(Lt, "WeakMap"), Ko = $0, Fi = "[object Map]", U0 = "[object Object]", Ni = "[object Promise]", Di = "[object Set]", zi = "[object WeakMap]", Gi = "[object DataView]", L0 = Sr(qo), k0 = Sr(La), B0 = Sr(Wo), F0 = Sr(Qo), N0 = Sr(Ko), lr = qa;
|
|
6723
|
+
(qo && lr(new qo(new ArrayBuffer(1))) != Gi || La && lr(new La()) != Fi || Wo && lr(Wo.resolve()) != Ni || Qo && lr(new Qo()) != Di || Ko && lr(new Ko()) != zi) && (lr = function(e) {
|
|
6724
|
+
var t = qa(e), r = t == U0 ? e.constructor : void 0, a = r ? Sr(r) : "";
|
|
6725
6725
|
if (a)
|
|
6726
6726
|
switch (a) {
|
|
6727
6727
|
case L0:
|
|
@@ -6737,30 +6737,30 @@ var E0 = T0, I0 = ea(Lt, "DataView"), Wo = I0, M0 = ea(Lt, "Promise"), Qo = M0,
|
|
|
6737
6737
|
}
|
|
6738
6738
|
return t;
|
|
6739
6739
|
});
|
|
6740
|
-
var Ji = lr, D0 = 1, Hi = "[object Arguments]", qi = "[object Array]",
|
|
6740
|
+
var Ji = lr, D0 = 1, Hi = "[object Arguments]", qi = "[object Array]", tn = "[object Object]", z0 = Object.prototype, Wi = z0.hasOwnProperty;
|
|
6741
6741
|
function G0(e, t, r, a, n, o) {
|
|
6742
|
-
var s =
|
|
6743
|
-
l = l == Hi ?
|
|
6744
|
-
var d = l ==
|
|
6745
|
-
if (p &&
|
|
6746
|
-
if (!
|
|
6742
|
+
var s = Un(e), i = Un(t), l = s ? qi : Ji(e), c = i ? qi : Ji(t);
|
|
6743
|
+
l = l == Hi ? tn : l, c = c == Hi ? tn : c;
|
|
6744
|
+
var d = l == tn, u = c == tn, p = l == c;
|
|
6745
|
+
if (p && Ho(e)) {
|
|
6746
|
+
if (!Ho(t))
|
|
6747
6747
|
return !1;
|
|
6748
6748
|
s = !0, d = !1;
|
|
6749
6749
|
}
|
|
6750
6750
|
if (p && !d)
|
|
6751
|
-
return o || (o = new
|
|
6751
|
+
return o || (o = new Ro()), s || Mc(e) ? _c(e, t, r, a, n, o) : Ky(e, t, l, r, a, n, o);
|
|
6752
6752
|
if (!(r & D0)) {
|
|
6753
6753
|
var f = d && Wi.call(e, "__wrapped__"), g = u && Wi.call(t, "__wrapped__");
|
|
6754
6754
|
if (f || g) {
|
|
6755
6755
|
var h = f ? e.value() : e, x = g ? t.value() : t;
|
|
6756
|
-
return o || (o = new
|
|
6756
|
+
return o || (o = new Ro()), n(h, x, r, a, o);
|
|
6757
6757
|
}
|
|
6758
6758
|
}
|
|
6759
|
-
return p ? (o || (o = new
|
|
6759
|
+
return p ? (o || (o = new Ro()), E0(e, t, r, a, n, o)) : !1;
|
|
6760
6760
|
}
|
|
6761
6761
|
var J0 = G0;
|
|
6762
6762
|
function jc(e, t, r, a, n) {
|
|
6763
|
-
return e === t ? !0 : e == null || t == null || !
|
|
6763
|
+
return e === t ? !0 : e == null || t == null || !Ba(e) && !Ba(t) ? e !== e && t !== t : J0(e, t, r, a, jc, n);
|
|
6764
6764
|
}
|
|
6765
6765
|
var H0 = jc;
|
|
6766
6766
|
function q0(e, t) {
|
|
@@ -6781,15 +6781,15 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
6781
6781
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
6782
6782
|
and limitations under the License.
|
|
6783
6783
|
***************************************************************************** */
|
|
6784
|
-
var
|
|
6785
|
-
return
|
|
6784
|
+
var Yo = function(e, t) {
|
|
6785
|
+
return Yo = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, a) {
|
|
6786
6786
|
r.__proto__ = a;
|
|
6787
6787
|
} || function(r, a) {
|
|
6788
6788
|
for (var n in a) a.hasOwnProperty(n) && (r[n] = a[n]);
|
|
6789
|
-
},
|
|
6789
|
+
}, Yo(e, t);
|
|
6790
6790
|
};
|
|
6791
6791
|
function $c(e, t) {
|
|
6792
|
-
|
|
6792
|
+
Yo(e, t);
|
|
6793
6793
|
function r() {
|
|
6794
6794
|
this.constructor = e;
|
|
6795
6795
|
}
|
|
@@ -7142,7 +7142,7 @@ var eS = function() {
|
|
|
7142
7142
|
for (var r of Qi(t))
|
|
7143
7143
|
iS.call(t, r) && Ki(e, r, t[r]);
|
|
7144
7144
|
return e;
|
|
7145
|
-
},
|
|
7145
|
+
}, Xo = (e, t) => nS(e, oS(t)), Oe = (e, t, r) => new Promise((a, n) => {
|
|
7146
7146
|
var o = (l) => {
|
|
7147
7147
|
try {
|
|
7148
7148
|
i(r.next(l));
|
|
@@ -7272,7 +7272,7 @@ var eS = function() {
|
|
|
7272
7272
|
getString(e) {
|
|
7273
7273
|
return this.available ? window.localStorage.getItem(e) : null;
|
|
7274
7274
|
}
|
|
7275
|
-
},
|
|
7275
|
+
}, To = new cS();
|
|
7276
7276
|
function Kt(e) {
|
|
7277
7277
|
try {
|
|
7278
7278
|
return JSON.parse(e);
|
|
@@ -7283,7 +7283,7 @@ function Kt(e) {
|
|
|
7283
7283
|
function dS(e, t) {
|
|
7284
7284
|
return e || (e = "world"), t || (t = "world"), e === t;
|
|
7285
7285
|
}
|
|
7286
|
-
var Hr = "wandelbots.io",
|
|
7286
|
+
var Hr = "wandelbots.io", Eo = {
|
|
7287
7287
|
dev: {
|
|
7288
7288
|
domain: `https://auth.portal.dev.${Hr}`,
|
|
7289
7289
|
clientId: "fLbJD0RLp5r2Dpucm5j8BjwMR6Hunfha"
|
|
@@ -7297,9 +7297,9 @@ var Hr = "wandelbots.io", Io = {
|
|
|
7297
7297
|
clientId: "J7WJUi38xVQdJAEBNRT9Xw1b0fXDb4J2"
|
|
7298
7298
|
}
|
|
7299
7299
|
}, uS = (e) => {
|
|
7300
|
-
if (e.includes(`dev.${Hr}`)) return
|
|
7301
|
-
if (e.includes(`stg.${Hr}`)) return
|
|
7302
|
-
if (e.includes(Hr)) return
|
|
7300
|
+
if (e.includes(`dev.${Hr}`)) return Eo.dev;
|
|
7301
|
+
if (e.includes(`stg.${Hr}`)) return Eo.stg;
|
|
7302
|
+
if (e.includes(Hr)) return Eo.prod;
|
|
7303
7303
|
throw new Error(
|
|
7304
7304
|
"Unsupported instance URL. Cannot determine Auth0 configuration."
|
|
7305
7305
|
);
|
|
@@ -7339,29 +7339,29 @@ function Lc(e, t) {
|
|
|
7339
7339
|
return e.apply(t, arguments);
|
|
7340
7340
|
};
|
|
7341
7341
|
}
|
|
7342
|
-
const { toString: hS } = Object.prototype, { getPrototypeOf:
|
|
7342
|
+
const { toString: hS } = Object.prototype, { getPrototypeOf: Os } = Object, oo = /* @__PURE__ */ ((e) => (t) => {
|
|
7343
7343
|
const r = hS.call(t);
|
|
7344
7344
|
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
7345
|
-
})(/* @__PURE__ */ Object.create(null)), ft = (e) => (e = e.toLowerCase(), (t) =>
|
|
7345
|
+
})(/* @__PURE__ */ Object.create(null)), ft = (e) => (e = e.toLowerCase(), (t) => oo(t) === e), so = (e) => (t) => typeof t === e, { isArray: na } = Array, Fa = so("undefined");
|
|
7346
7346
|
function mS(e) {
|
|
7347
|
-
return e !== null && !
|
|
7347
|
+
return e !== null && !Fa(e) && e.constructor !== null && !Fa(e.constructor) && at(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
7348
7348
|
}
|
|
7349
7349
|
const kc = ft("ArrayBuffer");
|
|
7350
7350
|
function fS(e) {
|
|
7351
7351
|
let t;
|
|
7352
7352
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && kc(e.buffer), t;
|
|
7353
7353
|
}
|
|
7354
|
-
const gS =
|
|
7355
|
-
if (
|
|
7354
|
+
const gS = so("string"), at = so("function"), Bc = so("number"), io = (e) => e !== null && typeof e == "object", yS = (e) => e === !0 || e === !1, vn = (e) => {
|
|
7355
|
+
if (oo(e) !== "object")
|
|
7356
7356
|
return !1;
|
|
7357
|
-
const t =
|
|
7357
|
+
const t = Os(e);
|
|
7358
7358
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
7359
|
-
}, bS = ft("Date"), SS = ft("File"), vS = ft("Blob"), xS = ft("FileList"), OS = (e) =>
|
|
7359
|
+
}, bS = ft("Date"), SS = ft("File"), vS = ft("Blob"), xS = ft("FileList"), OS = (e) => io(e) && at(e.pipe), wS = (e) => {
|
|
7360
7360
|
let t;
|
|
7361
|
-
return e && (typeof FormData == "function" && e instanceof FormData || at(e.append) && ((t =
|
|
7361
|
+
return e && (typeof FormData == "function" && e instanceof FormData || at(e.append) && ((t = oo(e)) === "formdata" || // detect form-data instance
|
|
7362
7362
|
t === "object" && at(e.toString) && e.toString() === "[object FormData]"));
|
|
7363
7363
|
}, CS = ft("URLSearchParams"), [PS, VS, RS, _S] = ["ReadableStream", "Request", "Response", "Headers"].map(ft), AS = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
7364
|
-
function
|
|
7364
|
+
function Wa(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
7365
7365
|
if (e === null || typeof e > "u")
|
|
7366
7366
|
return;
|
|
7367
7367
|
let a, n;
|
|
@@ -7384,17 +7384,17 @@ function Fc(e, t) {
|
|
|
7384
7384
|
return n;
|
|
7385
7385
|
return null;
|
|
7386
7386
|
}
|
|
7387
|
-
const cr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Nc = (e) => !
|
|
7388
|
-
function
|
|
7387
|
+
const cr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Nc = (e) => !Fa(e) && e !== cr;
|
|
7388
|
+
function Zo() {
|
|
7389
7389
|
const { caseless: e } = Nc(this) && this || {}, t = {}, r = (a, n) => {
|
|
7390
7390
|
const o = e && Fc(t, n) || n;
|
|
7391
|
-
|
|
7391
|
+
vn(t[o]) && vn(a) ? t[o] = Zo(t[o], a) : vn(a) ? t[o] = Zo({}, a) : na(a) ? t[o] = a.slice() : t[o] = a;
|
|
7392
7392
|
};
|
|
7393
7393
|
for (let a = 0, n = arguments.length; a < n; a++)
|
|
7394
|
-
arguments[a] &&
|
|
7394
|
+
arguments[a] && Wa(arguments[a], r);
|
|
7395
7395
|
return t;
|
|
7396
7396
|
}
|
|
7397
|
-
const TS = (e, t, r, { allOwnKeys: a } = {}) => (
|
|
7397
|
+
const TS = (e, t, r, { allOwnKeys: a } = {}) => (Wa(t, (n, o) => {
|
|
7398
7398
|
r && at(n) ? e[o] = Lc(n, r) : e[o] = n;
|
|
7399
7399
|
}, { allOwnKeys: a }), e), ES = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), IS = (e, t, r, a) => {
|
|
7400
7400
|
e.prototype = Object.create(t.prototype, a), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
@@ -7407,7 +7407,7 @@ const TS = (e, t, r, { allOwnKeys: a } = {}) => (Qa(t, (n, o) => {
|
|
|
7407
7407
|
do {
|
|
7408
7408
|
for (n = Object.getOwnPropertyNames(e), o = n.length; o-- > 0; )
|
|
7409
7409
|
s = n[o], (!a || a(s, e, t)) && !i[s] && (t[s] = e[s], i[s] = !0);
|
|
7410
|
-
e = r !== !1 &&
|
|
7410
|
+
e = r !== !1 && Os(e);
|
|
7411
7411
|
} while (e && (!r || r(e, t)) && e !== Object.prototype);
|
|
7412
7412
|
return t;
|
|
7413
7413
|
}, jS = (e, t, r) => {
|
|
@@ -7423,7 +7423,7 @@ const TS = (e, t, r, { allOwnKeys: a } = {}) => (Qa(t, (n, o) => {
|
|
|
7423
7423
|
for (; t-- > 0; )
|
|
7424
7424
|
r[t] = e[t];
|
|
7425
7425
|
return r;
|
|
7426
|
-
}, US = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" &&
|
|
7426
|
+
}, US = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Os(Uint8Array)), LS = (e, t) => {
|
|
7427
7427
|
const a = (e && e[Symbol.iterator]).call(e);
|
|
7428
7428
|
let n;
|
|
7429
7429
|
for (; (n = a.next()) && !n.done; ) {
|
|
@@ -7443,7 +7443,7 @@ const TS = (e, t, r, { allOwnKeys: a } = {}) => (Qa(t, (n, o) => {
|
|
|
7443
7443
|
}
|
|
7444
7444
|
), Yi = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), NS = ft("RegExp"), Dc = (e, t) => {
|
|
7445
7445
|
const r = Object.getOwnPropertyDescriptors(e), a = {};
|
|
7446
|
-
|
|
7446
|
+
Wa(r, (n, o) => {
|
|
7447
7447
|
let s;
|
|
7448
7448
|
(s = t(n, o, e)) !== !1 && (a[o] = s || n);
|
|
7449
7449
|
}), Object.defineProperties(e, a);
|
|
@@ -7476,22 +7476,22 @@ function HS(e) {
|
|
|
7476
7476
|
}
|
|
7477
7477
|
const qS = (e) => {
|
|
7478
7478
|
const t = new Array(10), r = (a, n) => {
|
|
7479
|
-
if (
|
|
7479
|
+
if (io(a)) {
|
|
7480
7480
|
if (t.indexOf(a) >= 0)
|
|
7481
7481
|
return;
|
|
7482
7482
|
if (!("toJSON" in a)) {
|
|
7483
7483
|
t[n] = a;
|
|
7484
7484
|
const o = na(a) ? [] : {};
|
|
7485
|
-
return
|
|
7485
|
+
return Wa(a, (s, i) => {
|
|
7486
7486
|
const l = r(s, n + 1);
|
|
7487
|
-
!
|
|
7487
|
+
!Fa(l) && (o[i] = l);
|
|
7488
7488
|
}), t[n] = void 0, o;
|
|
7489
7489
|
}
|
|
7490
7490
|
}
|
|
7491
7491
|
return a;
|
|
7492
7492
|
};
|
|
7493
7493
|
return r(e, 0);
|
|
7494
|
-
}, WS = ft("AsyncFunction"), QS = (e) => e && (
|
|
7494
|
+
}, WS = ft("AsyncFunction"), QS = (e) => e && (io(e) || at(e)) && at(e.then) && at(e.catch), zc = ((e, t) => e ? setImmediate : t ? ((r, a) => (cr.addEventListener("message", ({ source: n, data: o }) => {
|
|
7495
7495
|
n === cr && o === r && a.length && a.shift()();
|
|
7496
7496
|
}, !1), (n) => {
|
|
7497
7497
|
a.push(n), cr.postMessage(r, "*");
|
|
@@ -7507,13 +7507,13 @@ const qS = (e) => {
|
|
|
7507
7507
|
isString: gS,
|
|
7508
7508
|
isNumber: Bc,
|
|
7509
7509
|
isBoolean: yS,
|
|
7510
|
-
isObject:
|
|
7511
|
-
isPlainObject:
|
|
7510
|
+
isObject: io,
|
|
7511
|
+
isPlainObject: vn,
|
|
7512
7512
|
isReadableStream: PS,
|
|
7513
7513
|
isRequest: VS,
|
|
7514
7514
|
isResponse: RS,
|
|
7515
7515
|
isHeaders: _S,
|
|
7516
|
-
isUndefined:
|
|
7516
|
+
isUndefined: Fa,
|
|
7517
7517
|
isDate: bS,
|
|
7518
7518
|
isFile: SS,
|
|
7519
7519
|
isBlob: vS,
|
|
@@ -7523,14 +7523,14 @@ const qS = (e) => {
|
|
|
7523
7523
|
isURLSearchParams: CS,
|
|
7524
7524
|
isTypedArray: US,
|
|
7525
7525
|
isFileList: xS,
|
|
7526
|
-
forEach:
|
|
7527
|
-
merge:
|
|
7526
|
+
forEach: Wa,
|
|
7527
|
+
merge: Zo,
|
|
7528
7528
|
extend: TS,
|
|
7529
7529
|
trim: AS,
|
|
7530
7530
|
stripBOM: ES,
|
|
7531
7531
|
inherits: IS,
|
|
7532
7532
|
toFlatObject: MS,
|
|
7533
|
-
kindOf:
|
|
7533
|
+
kindOf: oo,
|
|
7534
7534
|
kindOfTest: ft,
|
|
7535
7535
|
endsWith: jS,
|
|
7536
7536
|
toArray: $S,
|
|
@@ -7607,7 +7607,7 @@ ne.from = (e, t, r, a, n, o) => {
|
|
|
7607
7607
|
}, (i) => i !== "isAxiosError"), ne.call(s, e.message, t, r, a, n), s.cause = e, s.name = e.name, o && Object.assign(s, o), s;
|
|
7608
7608
|
};
|
|
7609
7609
|
const YS = null;
|
|
7610
|
-
function
|
|
7610
|
+
function es(e) {
|
|
7611
7611
|
return j.isPlainObject(e) || j.isArray(e);
|
|
7612
7612
|
}
|
|
7613
7613
|
function Hc(e) {
|
|
@@ -7619,12 +7619,12 @@ function Xi(e, t, r) {
|
|
|
7619
7619
|
}).join(r ? "." : "") : t;
|
|
7620
7620
|
}
|
|
7621
7621
|
function XS(e) {
|
|
7622
|
-
return j.isArray(e) && !e.some(
|
|
7622
|
+
return j.isArray(e) && !e.some(es);
|
|
7623
7623
|
}
|
|
7624
7624
|
const ZS = j.toFlatObject(j, {}, null, function(t) {
|
|
7625
7625
|
return /^is[A-Z]/.test(t);
|
|
7626
7626
|
});
|
|
7627
|
-
function
|
|
7627
|
+
function lo(e, t, r) {
|
|
7628
7628
|
if (!j.isObject(e))
|
|
7629
7629
|
throw new TypeError("target must be an object");
|
|
7630
7630
|
t = t || new FormData(), r = j.toFlatObject(r, {
|
|
@@ -7659,12 +7659,12 @@ function co(e, t, r) {
|
|
|
7659
7659
|
);
|
|
7660
7660
|
}), !1;
|
|
7661
7661
|
}
|
|
7662
|
-
return
|
|
7662
|
+
return es(g) ? !0 : (t.append(Xi(x, h, o), c(g)), !1);
|
|
7663
7663
|
}
|
|
7664
7664
|
const u = [], p = Object.assign(ZS, {
|
|
7665
7665
|
defaultVisitor: d,
|
|
7666
7666
|
convertValue: c,
|
|
7667
|
-
isVisitable:
|
|
7667
|
+
isVisitable: es
|
|
7668
7668
|
});
|
|
7669
7669
|
function f(g, h) {
|
|
7670
7670
|
if (!j.isUndefined(g)) {
|
|
@@ -7699,10 +7699,10 @@ function Zi(e) {
|
|
|
7699
7699
|
return t[a];
|
|
7700
7700
|
});
|
|
7701
7701
|
}
|
|
7702
|
-
function
|
|
7703
|
-
this._pairs = [], e &&
|
|
7702
|
+
function ws(e, t) {
|
|
7703
|
+
this._pairs = [], e && lo(e, this, t);
|
|
7704
7704
|
}
|
|
7705
|
-
const qc =
|
|
7705
|
+
const qc = ws.prototype;
|
|
7706
7706
|
qc.append = function(t, r) {
|
|
7707
7707
|
this._pairs.push([t, r]);
|
|
7708
7708
|
};
|
|
@@ -7726,7 +7726,7 @@ function Wc(e, t, r) {
|
|
|
7726
7726
|
});
|
|
7727
7727
|
const n = r && r.serialize;
|
|
7728
7728
|
let o;
|
|
7729
|
-
if (n ? o = n(t, r) : o = j.isURLSearchParams(t) ? t.toString() : new
|
|
7729
|
+
if (n ? o = n(t, r) : o = j.isURLSearchParams(t) ? t.toString() : new ws(t, r).toString(a), o) {
|
|
7730
7730
|
const s = e.indexOf("#");
|
|
7731
7731
|
s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
|
|
7732
7732
|
}
|
|
@@ -7790,7 +7790,7 @@ const Qc = {
|
|
|
7790
7790
|
silentJSONParsing: !0,
|
|
7791
7791
|
forcedJSONParsing: !0,
|
|
7792
7792
|
clarifyTimeoutError: !1
|
|
7793
|
-
}, tv = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
7793
|
+
}, tv = typeof URLSearchParams < "u" ? URLSearchParams : ws, rv = typeof FormData < "u" ? FormData : null, av = typeof Blob < "u" ? Blob : null, nv = {
|
|
7794
7794
|
isBrowser: !0,
|
|
7795
7795
|
classes: {
|
|
7796
7796
|
URLSearchParams: tv,
|
|
@@ -7798,20 +7798,20 @@ const Qc = {
|
|
|
7798
7798
|
Blob: av
|
|
7799
7799
|
},
|
|
7800
7800
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
7801
|
-
},
|
|
7802
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", iv =
|
|
7801
|
+
}, Cs = typeof window < "u" && typeof document < "u", ts = typeof navigator == "object" && navigator || void 0, ov = Cs && (!ts || ["ReactNative", "NativeScript", "NS"].indexOf(ts.product) < 0), sv = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
7802
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", iv = Cs && window.location.href || "http://localhost", lv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7803
7803
|
__proto__: null,
|
|
7804
|
-
hasBrowserEnv:
|
|
7804
|
+
hasBrowserEnv: Cs,
|
|
7805
7805
|
hasStandardBrowserEnv: ov,
|
|
7806
7806
|
hasStandardBrowserWebWorkerEnv: sv,
|
|
7807
|
-
navigator:
|
|
7807
|
+
navigator: ts,
|
|
7808
7808
|
origin: iv
|
|
7809
7809
|
}, Symbol.toStringTag, { value: "Module" })), Ne = {
|
|
7810
7810
|
...lv,
|
|
7811
7811
|
...nv
|
|
7812
7812
|
};
|
|
7813
7813
|
function cv(e, t) {
|
|
7814
|
-
return
|
|
7814
|
+
return lo(e, new Ne.classes.URLSearchParams(), Object.assign({
|
|
7815
7815
|
visitor: function(r, a, n, o) {
|
|
7816
7816
|
return Ne.isNode && j.isBuffer(r) ? (this.append(a, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
7817
7817
|
}
|
|
@@ -7854,7 +7854,7 @@ function pv(e, t, r) {
|
|
|
7854
7854
|
}
|
|
7855
7855
|
return (r || JSON.stringify)(e);
|
|
7856
7856
|
}
|
|
7857
|
-
const
|
|
7857
|
+
const Qa = {
|
|
7858
7858
|
transitional: Qc,
|
|
7859
7859
|
adapter: ["xhr", "http", "fetch"],
|
|
7860
7860
|
transformRequest: [function(t, r) {
|
|
@@ -7873,7 +7873,7 @@ const Ka = {
|
|
|
7873
7873
|
return cv(t, this.formSerializer).toString();
|
|
7874
7874
|
if ((i = j.isFileList(t)) || a.indexOf("multipart/form-data") > -1) {
|
|
7875
7875
|
const l = this.env && this.env.FormData;
|
|
7876
|
-
return
|
|
7876
|
+
return lo(
|
|
7877
7877
|
i ? { "files[]": t } : t,
|
|
7878
7878
|
l && new l(),
|
|
7879
7879
|
this.formSerializer
|
|
@@ -7883,7 +7883,7 @@ const Ka = {
|
|
|
7883
7883
|
return o || n ? (r.setContentType("application/json", !1), pv(t)) : t;
|
|
7884
7884
|
}],
|
|
7885
7885
|
transformResponse: [function(t) {
|
|
7886
|
-
const r = this.transitional ||
|
|
7886
|
+
const r = this.transitional || Qa.transitional, a = r && r.forcedJSONParsing, n = this.responseType === "json";
|
|
7887
7887
|
if (j.isResponse(t) || j.isReadableStream(t))
|
|
7888
7888
|
return t;
|
|
7889
7889
|
if (t && j.isString(t) && (a && !this.responseType || n)) {
|
|
@@ -7921,7 +7921,7 @@ const Ka = {
|
|
|
7921
7921
|
}
|
|
7922
7922
|
};
|
|
7923
7923
|
j.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
7924
|
-
|
|
7924
|
+
Qa.headers[e] = {};
|
|
7925
7925
|
});
|
|
7926
7926
|
const hv = j.toObjectSet([
|
|
7927
7927
|
"age",
|
|
@@ -7949,11 +7949,11 @@ const hv = j.toObjectSet([
|
|
|
7949
7949
|
n = s.indexOf(":"), r = s.substring(0, n).trim().toLowerCase(), a = s.substring(n + 1).trim(), !(!r || t[r] && hv[r]) && (r === "set-cookie" ? t[r] ? t[r].push(a) : t[r] = [a] : t[r] = t[r] ? t[r] + ", " + a : a);
|
|
7950
7950
|
}), t;
|
|
7951
7951
|
}, tl = Symbol("internals");
|
|
7952
|
-
function
|
|
7952
|
+
function va(e) {
|
|
7953
7953
|
return e && String(e).trim().toLowerCase();
|
|
7954
7954
|
}
|
|
7955
|
-
function
|
|
7956
|
-
return e === !1 || e == null ? e : j.isArray(e) ? e.map(
|
|
7955
|
+
function xn(e) {
|
|
7956
|
+
return e === !1 || e == null ? e : j.isArray(e) ? e.map(xn) : String(e);
|
|
7957
7957
|
}
|
|
7958
7958
|
function fv(e) {
|
|
7959
7959
|
const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -7963,7 +7963,7 @@ function fv(e) {
|
|
|
7963
7963
|
return t;
|
|
7964
7964
|
}
|
|
7965
7965
|
const gv = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
7966
|
-
function
|
|
7966
|
+
function Io(e, t, r, a, n) {
|
|
7967
7967
|
if (j.isFunction(a))
|
|
7968
7968
|
return a.call(this, t, r);
|
|
7969
7969
|
if (n && (t = r), !!j.isString(t)) {
|
|
@@ -7994,11 +7994,11 @@ let Ye = class {
|
|
|
7994
7994
|
set(t, r, a) {
|
|
7995
7995
|
const n = this;
|
|
7996
7996
|
function o(i, l, c) {
|
|
7997
|
-
const d =
|
|
7997
|
+
const d = va(l);
|
|
7998
7998
|
if (!d)
|
|
7999
7999
|
throw new Error("header name must be a non-empty string");
|
|
8000
8000
|
const u = j.findKey(n, d);
|
|
8001
|
-
(!u || n[u] === void 0 || c === !0 || c === void 0 && n[u] !== !1) && (n[u || l] =
|
|
8001
|
+
(!u || n[u] === void 0 || c === !0 || c === void 0 && n[u] !== !1) && (n[u || l] = xn(i));
|
|
8002
8002
|
}
|
|
8003
8003
|
const s = (i, l) => j.forEach(i, (c, d) => o(c, d, l));
|
|
8004
8004
|
if (j.isPlainObject(t) || t instanceof this.constructor)
|
|
@@ -8013,7 +8013,7 @@ let Ye = class {
|
|
|
8013
8013
|
return this;
|
|
8014
8014
|
}
|
|
8015
8015
|
get(t, r) {
|
|
8016
|
-
if (t =
|
|
8016
|
+
if (t = va(t), t) {
|
|
8017
8017
|
const a = j.findKey(this, t);
|
|
8018
8018
|
if (a) {
|
|
8019
8019
|
const n = this[a];
|
|
@@ -8030,9 +8030,9 @@ let Ye = class {
|
|
|
8030
8030
|
}
|
|
8031
8031
|
}
|
|
8032
8032
|
has(t, r) {
|
|
8033
|
-
if (t =
|
|
8033
|
+
if (t = va(t), t) {
|
|
8034
8034
|
const a = j.findKey(this, t);
|
|
8035
|
-
return !!(a && this[a] !== void 0 && (!r ||
|
|
8035
|
+
return !!(a && this[a] !== void 0 && (!r || Io(this, this[a], a, r)));
|
|
8036
8036
|
}
|
|
8037
8037
|
return !1;
|
|
8038
8038
|
}
|
|
@@ -8040,9 +8040,9 @@ let Ye = class {
|
|
|
8040
8040
|
const a = this;
|
|
8041
8041
|
let n = !1;
|
|
8042
8042
|
function o(s) {
|
|
8043
|
-
if (s =
|
|
8043
|
+
if (s = va(s), s) {
|
|
8044
8044
|
const i = j.findKey(a, s);
|
|
8045
|
-
i && (!r ||
|
|
8045
|
+
i && (!r || Io(a, a[i], i, r)) && (delete a[i], n = !0);
|
|
8046
8046
|
}
|
|
8047
8047
|
}
|
|
8048
8048
|
return j.isArray(t) ? t.forEach(o) : o(t), n;
|
|
@@ -8052,7 +8052,7 @@ let Ye = class {
|
|
|
8052
8052
|
let a = r.length, n = !1;
|
|
8053
8053
|
for (; a--; ) {
|
|
8054
8054
|
const o = r[a];
|
|
8055
|
-
(!t ||
|
|
8055
|
+
(!t || Io(this, this[o], o, t, !0)) && (delete this[o], n = !0);
|
|
8056
8056
|
}
|
|
8057
8057
|
return n;
|
|
8058
8058
|
}
|
|
@@ -8061,11 +8061,11 @@ let Ye = class {
|
|
|
8061
8061
|
return j.forEach(this, (n, o) => {
|
|
8062
8062
|
const s = j.findKey(a, o);
|
|
8063
8063
|
if (s) {
|
|
8064
|
-
r[s] =
|
|
8064
|
+
r[s] = xn(n), delete r[o];
|
|
8065
8065
|
return;
|
|
8066
8066
|
}
|
|
8067
8067
|
const i = t ? yv(o) : String(o).trim();
|
|
8068
|
-
i !== o && delete r[o], r[i] =
|
|
8068
|
+
i !== o && delete r[o], r[i] = xn(n), a[i] = !0;
|
|
8069
8069
|
}), this;
|
|
8070
8070
|
}
|
|
8071
8071
|
concat(...t) {
|
|
@@ -8099,7 +8099,7 @@ let Ye = class {
|
|
|
8099
8099
|
accessors: {}
|
|
8100
8100
|
}).accessors, n = this.prototype;
|
|
8101
8101
|
function o(s) {
|
|
8102
|
-
const i =
|
|
8102
|
+
const i = va(s);
|
|
8103
8103
|
a[i] || (bv(n, s), a[i] = !0);
|
|
8104
8104
|
}
|
|
8105
8105
|
return j.isArray(t) ? t.forEach(o) : o(t), this;
|
|
@@ -8116,8 +8116,8 @@ j.reduceDescriptors(Ye.prototype, ({ value: e }, t) => {
|
|
|
8116
8116
|
};
|
|
8117
8117
|
});
|
|
8118
8118
|
j.freezeMethods(Ye);
|
|
8119
|
-
function
|
|
8120
|
-
const r = this ||
|
|
8119
|
+
function Mo(e, t) {
|
|
8120
|
+
const r = this || Qa, a = t || r, n = Ye.from(a.headers);
|
|
8121
8121
|
let o = a.data;
|
|
8122
8122
|
return j.forEach(e, function(i) {
|
|
8123
8123
|
o = i.call(r, o, n.normalize(), t ? t.status : void 0);
|
|
@@ -8174,7 +8174,7 @@ function xv(e, t) {
|
|
|
8174
8174
|
}, a - u)));
|
|
8175
8175
|
}, () => n && s(n)];
|
|
8176
8176
|
}
|
|
8177
|
-
const
|
|
8177
|
+
const Ln = (e, t, r = 3) => {
|
|
8178
8178
|
let a = 0;
|
|
8179
8179
|
const n = vv(50, 250);
|
|
8180
8180
|
return xv((o) => {
|
|
@@ -8373,7 +8373,7 @@ const ed = (e) => {
|
|
|
8373
8373
|
)), x = null;
|
|
8374
8374
|
}, o === void 0 && s.setContentType(null), "setRequestHeader" in x && j.forEach(s.toJSON(), function(M, F) {
|
|
8375
8375
|
x.setRequestHeader(F, M);
|
|
8376
|
-
}), j.isUndefined(n.withCredentials) || (x.withCredentials = !!n.withCredentials), i && i !== "json" && (x.responseType = n.responseType), c && ([p, g] =
|
|
8376
|
+
}), j.isUndefined(n.withCredentials) || (x.withCredentials = !!n.withCredentials), i && i !== "json" && (x.responseType = n.responseType), c && ([p, g] = Ln(c, !0), x.addEventListener("progress", p)), l && x.upload && ([u, f] = Ln(l), x.upload.addEventListener("progress", u), x.upload.addEventListener("loadend", f)), (n.cancelToken || n.signal) && (d = (D) => {
|
|
8377
8377
|
x && (a(!D || D.type ? new oa(null, e, x) : D), x.abort(), x = null);
|
|
8378
8378
|
}, n.cancelToken && n.cancelToken.subscribe(d), n.signal && (n.signal.aborted ? d() : n.signal.addEventListener("abort", d)));
|
|
8379
8379
|
const k = Sv(n.url);
|
|
@@ -8463,7 +8463,7 @@ const ed = (e) => {
|
|
|
8463
8463
|
}, {
|
|
8464
8464
|
highWaterMark: 2
|
|
8465
8465
|
});
|
|
8466
|
-
},
|
|
8466
|
+
}, co = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", td = co && typeof ReadableStream == "function", Iv = co && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), rd = (e, ...t) => {
|
|
8467
8467
|
try {
|
|
8468
8468
|
return !!e(...t);
|
|
8469
8469
|
} catch {
|
|
@@ -8479,12 +8479,12 @@ const ed = (e) => {
|
|
|
8479
8479
|
}
|
|
8480
8480
|
}).headers.has("Content-Type");
|
|
8481
8481
|
return e && !t;
|
|
8482
|
-
}), sl = 64 * 1024,
|
|
8483
|
-
stream:
|
|
8482
|
+
}), sl = 64 * 1024, rs = td && rd(() => j.isReadableStream(new Response("").body)), kn = {
|
|
8483
|
+
stream: rs && ((e) => e.body)
|
|
8484
8484
|
};
|
|
8485
|
-
|
|
8485
|
+
co && ((e) => {
|
|
8486
8486
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
8487
|
-
!
|
|
8487
|
+
!kn[t] && (kn[t] = j.isFunction(e[t]) ? (r) => r[t]() : (r, a) => {
|
|
8488
8488
|
throw new ne(`Response type '${t}' is not supported`, ne.ERR_NOT_SUPPORT, a);
|
|
8489
8489
|
});
|
|
8490
8490
|
});
|
|
@@ -8506,7 +8506,7 @@ const jv = async (e) => {
|
|
|
8506
8506
|
}, $v = async (e, t) => {
|
|
8507
8507
|
const r = j.toFiniteNumber(e.getContentLength());
|
|
8508
8508
|
return r ?? jv(t);
|
|
8509
|
-
}, Uv =
|
|
8509
|
+
}, Uv = co && (async (e) => {
|
|
8510
8510
|
let {
|
|
8511
8511
|
url: t,
|
|
8512
8512
|
method: r,
|
|
@@ -8537,7 +8537,7 @@ const jv = async (e) => {
|
|
|
8537
8537
|
if (j.isFormData(a) && (W = F.headers.get("content-type")) && d.setContentType(W), F.body) {
|
|
8538
8538
|
const [I, L] = rl(
|
|
8539
8539
|
x,
|
|
8540
|
-
|
|
8540
|
+
Ln(al(l))
|
|
8541
8541
|
);
|
|
8542
8542
|
a = ol(F.body, sl, I, L);
|
|
8543
8543
|
}
|
|
@@ -8554,15 +8554,15 @@ const jv = async (e) => {
|
|
|
8554
8554
|
credentials: E ? u : void 0
|
|
8555
8555
|
});
|
|
8556
8556
|
let k = await fetch(g);
|
|
8557
|
-
const D =
|
|
8558
|
-
if (
|
|
8557
|
+
const D = rs && (c === "stream" || c === "response");
|
|
8558
|
+
if (rs && (i || D && h)) {
|
|
8559
8559
|
const F = {};
|
|
8560
8560
|
["status", "statusText", "headers"].forEach((B) => {
|
|
8561
8561
|
F[B] = k[B];
|
|
8562
8562
|
});
|
|
8563
8563
|
const W = j.toFiniteNumber(k.headers.get("content-length")), [I, L] = i && rl(
|
|
8564
8564
|
W,
|
|
8565
|
-
|
|
8565
|
+
Ln(al(i), !0)
|
|
8566
8566
|
) || [];
|
|
8567
8567
|
k = new Response(
|
|
8568
8568
|
ol(k.body, sl, I, () => {
|
|
@@ -8572,7 +8572,7 @@ const jv = async (e) => {
|
|
|
8572
8572
|
);
|
|
8573
8573
|
}
|
|
8574
8574
|
c = c || "text";
|
|
8575
|
-
let M = await
|
|
8575
|
+
let M = await kn[j.findKey(kn, c) || "text"](k, e);
|
|
8576
8576
|
return !D && h && h(), await new Promise((F, W) => {
|
|
8577
8577
|
Xc(F, W, {
|
|
8578
8578
|
data: M,
|
|
@@ -8591,12 +8591,12 @@ const jv = async (e) => {
|
|
|
8591
8591
|
}
|
|
8592
8592
|
) : ne.from(E, E && E.code, e, g);
|
|
8593
8593
|
}
|
|
8594
|
-
}),
|
|
8594
|
+
}), as = {
|
|
8595
8595
|
http: YS,
|
|
8596
8596
|
xhr: Rv,
|
|
8597
8597
|
fetch: Uv
|
|
8598
8598
|
};
|
|
8599
|
-
j.forEach(
|
|
8599
|
+
j.forEach(as, (e, t) => {
|
|
8600
8600
|
if (e) {
|
|
8601
8601
|
try {
|
|
8602
8602
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -8614,7 +8614,7 @@ const il = (e) => `- ${e}`, Lv = (e) => j.isFunction(e) || e === null || e === !
|
|
|
8614
8614
|
for (let o = 0; o < t; o++) {
|
|
8615
8615
|
r = e[o];
|
|
8616
8616
|
let s;
|
|
8617
|
-
if (a = r, !Lv(r) && (a =
|
|
8617
|
+
if (a = r, !Lv(r) && (a = as[(s = String(r)).toLowerCase()], a === void 0))
|
|
8618
8618
|
throw new ne(`Unknown adapter '${s}'`);
|
|
8619
8619
|
if (a)
|
|
8620
8620
|
break;
|
|
@@ -8634,38 +8634,38 @@ const il = (e) => `- ${e}`, Lv = (e) => j.isFunction(e) || e === null || e === !
|
|
|
8634
8634
|
}
|
|
8635
8635
|
return a;
|
|
8636
8636
|
},
|
|
8637
|
-
adapters:
|
|
8637
|
+
adapters: as
|
|
8638
8638
|
};
|
|
8639
|
-
function
|
|
8639
|
+
function jo(e) {
|
|
8640
8640
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
8641
8641
|
throw new oa(null, e);
|
|
8642
8642
|
}
|
|
8643
8643
|
function ll(e) {
|
|
8644
|
-
return
|
|
8644
|
+
return jo(e), e.headers = Ye.from(e.headers), e.data = Mo.call(
|
|
8645
8645
|
e,
|
|
8646
8646
|
e.transformRequest
|
|
8647
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), ad.getAdapter(e.adapter ||
|
|
8648
|
-
return
|
|
8647
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), ad.getAdapter(e.adapter || Qa.adapter)(e).then(function(a) {
|
|
8648
|
+
return jo(e), a.data = Mo.call(
|
|
8649
8649
|
e,
|
|
8650
8650
|
e.transformResponse,
|
|
8651
8651
|
a
|
|
8652
8652
|
), a.headers = Ye.from(a.headers), a;
|
|
8653
8653
|
}, function(a) {
|
|
8654
|
-
return Yc(a) || (
|
|
8654
|
+
return Yc(a) || (jo(e), a && a.response && (a.response.data = Mo.call(
|
|
8655
8655
|
e,
|
|
8656
8656
|
e.transformResponse,
|
|
8657
8657
|
a.response
|
|
8658
8658
|
), a.response.headers = Ye.from(a.response.headers))), Promise.reject(a);
|
|
8659
8659
|
});
|
|
8660
8660
|
}
|
|
8661
|
-
const nd = "1.8.3",
|
|
8661
|
+
const nd = "1.8.3", uo = {};
|
|
8662
8662
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
8663
|
-
|
|
8663
|
+
uo[e] = function(a) {
|
|
8664
8664
|
return typeof a === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
8665
8665
|
};
|
|
8666
8666
|
});
|
|
8667
8667
|
const cl = {};
|
|
8668
|
-
|
|
8668
|
+
uo.transitional = function(t, r, a) {
|
|
8669
8669
|
function n(o, s) {
|
|
8670
8670
|
return "[Axios v" + nd + "] Transitional option '" + o + "'" + s + (a ? ". " + a : "");
|
|
8671
8671
|
}
|
|
@@ -8683,7 +8683,7 @@ po.transitional = function(t, r, a) {
|
|
|
8683
8683
|
)), t ? t(o, s, i) : !0;
|
|
8684
8684
|
};
|
|
8685
8685
|
};
|
|
8686
|
-
|
|
8686
|
+
uo.spelling = function(t) {
|
|
8687
8687
|
return (r, a) => (console.warn(`${a} is likely a misspelling of ${t}`), !0);
|
|
8688
8688
|
};
|
|
8689
8689
|
function kv(e, t, r) {
|
|
@@ -8703,10 +8703,10 @@ function kv(e, t, r) {
|
|
|
8703
8703
|
throw new ne("Unknown option " + o, ne.ERR_BAD_OPTION);
|
|
8704
8704
|
}
|
|
8705
8705
|
}
|
|
8706
|
-
const
|
|
8706
|
+
const On = {
|
|
8707
8707
|
assertOptions: kv,
|
|
8708
|
-
validators:
|
|
8709
|
-
}, St =
|
|
8708
|
+
validators: uo
|
|
8709
|
+
}, St = On.validators;
|
|
8710
8710
|
let dr = class {
|
|
8711
8711
|
constructor(t) {
|
|
8712
8712
|
this.defaults = t, this.interceptors = {
|
|
@@ -8742,16 +8742,16 @@ let dr = class {
|
|
|
8742
8742
|
_request(t, r) {
|
|
8743
8743
|
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = mr(this.defaults, r);
|
|
8744
8744
|
const { transitional: a, paramsSerializer: n, headers: o } = r;
|
|
8745
|
-
a !== void 0 &&
|
|
8745
|
+
a !== void 0 && On.assertOptions(a, {
|
|
8746
8746
|
silentJSONParsing: St.transitional(St.boolean),
|
|
8747
8747
|
forcedJSONParsing: St.transitional(St.boolean),
|
|
8748
8748
|
clarifyTimeoutError: St.transitional(St.boolean)
|
|
8749
8749
|
}, !1), n != null && (j.isFunction(n) ? r.paramsSerializer = {
|
|
8750
8750
|
serialize: n
|
|
8751
|
-
} :
|
|
8751
|
+
} : On.assertOptions(n, {
|
|
8752
8752
|
encode: St.function,
|
|
8753
8753
|
serialize: St.function
|
|
8754
|
-
}, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0),
|
|
8754
|
+
}, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), On.assertOptions(r, {
|
|
8755
8755
|
baseUrl: St.spelling("baseURL"),
|
|
8756
8756
|
withXsrfToken: St.spelling("withXSRFToken")
|
|
8757
8757
|
}, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -8912,7 +8912,7 @@ function Fv(e) {
|
|
|
8912
8912
|
function Nv(e) {
|
|
8913
8913
|
return j.isObject(e) && e.isAxiosError === !0;
|
|
8914
8914
|
}
|
|
8915
|
-
const
|
|
8915
|
+
const ns = {
|
|
8916
8916
|
Continue: 100,
|
|
8917
8917
|
SwitchingProtocols: 101,
|
|
8918
8918
|
Processing: 102,
|
|
@@ -8977,8 +8977,8 @@ const os = {
|
|
|
8977
8977
|
NotExtended: 510,
|
|
8978
8978
|
NetworkAuthenticationRequired: 511
|
|
8979
8979
|
};
|
|
8980
|
-
Object.entries(
|
|
8981
|
-
|
|
8980
|
+
Object.entries(ns).forEach(([e, t]) => {
|
|
8981
|
+
ns[t] = e;
|
|
8982
8982
|
});
|
|
8983
8983
|
function sd(e) {
|
|
8984
8984
|
const t = new dr(e), r = Lc(dr.prototype.request, t);
|
|
@@ -8986,13 +8986,13 @@ function sd(e) {
|
|
|
8986
8986
|
return sd(mr(e, n));
|
|
8987
8987
|
}, r;
|
|
8988
8988
|
}
|
|
8989
|
-
const O = sd(
|
|
8989
|
+
const O = sd(Qa);
|
|
8990
8990
|
O.Axios = dr;
|
|
8991
8991
|
O.CanceledError = oa;
|
|
8992
8992
|
O.CancelToken = Bv;
|
|
8993
8993
|
O.isCancel = Yc;
|
|
8994
8994
|
O.VERSION = nd;
|
|
8995
|
-
O.toFormData =
|
|
8995
|
+
O.toFormData = lo;
|
|
8996
8996
|
O.AxiosError = ne;
|
|
8997
8997
|
O.Cancel = O.CanceledError;
|
|
8998
8998
|
O.all = function(t) {
|
|
@@ -9004,11 +9004,11 @@ O.mergeConfig = mr;
|
|
|
9004
9004
|
O.AxiosHeaders = Ye;
|
|
9005
9005
|
O.formToJSON = (e) => Kc(j.isHTMLForm(e) ? new FormData(e) : e);
|
|
9006
9006
|
O.getAdapter = ad.getAdapter;
|
|
9007
|
-
O.HttpStatusCode =
|
|
9007
|
+
O.HttpStatusCode = ns;
|
|
9008
9008
|
O.default = O;
|
|
9009
9009
|
const {
|
|
9010
9010
|
Axios: iV,
|
|
9011
|
-
AxiosError:
|
|
9011
|
+
AxiosError: os,
|
|
9012
9012
|
CanceledError: lV,
|
|
9013
9013
|
isCancel: cV,
|
|
9014
9014
|
CancelToken: dV,
|
|
@@ -9050,12 +9050,12 @@ const C = {}, P = "https://example.com", m = function(e, t, r) {
|
|
|
9050
9050
|
e.Authorization = "Bearer " + r;
|
|
9051
9051
|
}
|
|
9052
9052
|
};
|
|
9053
|
-
function
|
|
9054
|
-
t != null && (typeof t == "object" ? Array.isArray(t) ? t.forEach((a) =>
|
|
9053
|
+
function ss(e, t, r = "") {
|
|
9054
|
+
t != null && (typeof t == "object" ? Array.isArray(t) ? t.forEach((a) => ss(e, a, r)) : Object.keys(t).forEach((a) => ss(e, t[a], `${r}${r !== "" ? "." : ""}${a}`)) : e.has(r) ? e.append(r, t) : e.set(r, t));
|
|
9055
9055
|
}
|
|
9056
9056
|
const _ = function(e, ...t) {
|
|
9057
9057
|
const r = new URLSearchParams(e.search);
|
|
9058
|
-
|
|
9058
|
+
ss(r, t), e.search = r.toString();
|
|
9059
9059
|
}, ae = function(e, t, r) {
|
|
9060
9060
|
const a = typeof e != "string";
|
|
9061
9061
|
return (a && r && r.isJsonMime ? r.isJsonMime(t.headers["Content-Type"]) : a) ? JSON.stringify(e !== void 0 ? e : {}) : e || "";
|
|
@@ -10426,7 +10426,7 @@ const Qv = function(e) {
|
|
|
10426
10426
|
};
|
|
10427
10427
|
}
|
|
10428
10428
|
};
|
|
10429
|
-
},
|
|
10429
|
+
}, xa = function(e) {
|
|
10430
10430
|
const t = Qv(e);
|
|
10431
10431
|
return {
|
|
10432
10432
|
/**
|
|
@@ -10517,7 +10517,7 @@ class Kv extends we {
|
|
|
10517
10517
|
* @memberof ControllerIOsApi
|
|
10518
10518
|
*/
|
|
10519
10519
|
listIODescriptions(t, r, a, n) {
|
|
10520
|
-
return
|
|
10520
|
+
return xa(this.configuration).listIODescriptions(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
10521
10521
|
}
|
|
10522
10522
|
/**
|
|
10523
10523
|
* Retrieves the current values of I/Os. The identifiers of the I/Os must be provided in the request. Request all available I/O identifiers via [listIODescriptions](listIODescriptions).
|
|
@@ -10530,7 +10530,7 @@ class Kv extends we {
|
|
|
10530
10530
|
* @memberof ControllerIOsApi
|
|
10531
10531
|
*/
|
|
10532
10532
|
listIOValues(t, r, a, n) {
|
|
10533
|
-
return
|
|
10533
|
+
return xa(this.configuration).listIOValues(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
10534
10534
|
}
|
|
10535
10535
|
/**
|
|
10536
10536
|
* Set the values of outputs. All available I/O identifiers and possible value ranges can be requested via [listIODescriptions](listIODescriptions). The call will return once the values have been set on and accepted by the robot. This might take up to 200 milliseconds. > **NOTE** > > Do not call this endpoint while another request is still in progress. The second call will fail.
|
|
@@ -10543,7 +10543,7 @@ class Kv extends we {
|
|
|
10543
10543
|
* @memberof ControllerIOsApi
|
|
10544
10544
|
*/
|
|
10545
10545
|
setOutputValues(t, r, a, n) {
|
|
10546
|
-
return
|
|
10546
|
+
return xa(this.configuration).setOutputValues(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
10547
10547
|
}
|
|
10548
10548
|
/**
|
|
10549
10549
|
* Continuously receive updates of I/O values via websocket. Updates are sent in the update rate of the controller. > **NOTE** > > Do not request too many values simultaneously as the request is then likely to fail. The amount of values that can be streamed simultaneously depends on the specific robot controller. > **NOTE** > > The inputs and outputs are sent in the update rate of the controller to prevent losing any values. Consider that this might lead to a high amount of data transmitted.
|
|
@@ -10556,7 +10556,7 @@ class Kv extends we {
|
|
|
10556
10556
|
* @memberof ControllerIOsApi
|
|
10557
10557
|
*/
|
|
10558
10558
|
streamIOValues(t, r, a, n) {
|
|
10559
|
-
return
|
|
10559
|
+
return xa(this.configuration).streamIOValues(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
10560
10560
|
}
|
|
10561
10561
|
/**
|
|
10562
10562
|
* Wait until an I/O reaches a certain value. This call returns as soon as the condition is met or the request fails. The comparison_type value is used to define how the current value of the I/O is compared with given value. Only set the value that corresponds to the value_type of the I/O, see (listIODescriptions)[listIODescriptions] for more information. Examples: If you want to wait until an analog input (\"AI_1\") is less than 10, you would set io to \"AI_1\" comparison_type to COMPARISON_LESS and only integer_value to 10. If you want to wait until an analog input (\"AI_2\") is greater than 5.0, you would set io to \"AI_2\" comparison_type to COMPARISON_GREATER and only floating_value to 5.0. If you want to wait until a digital input (\"DI_3\") is true, you would set io to \"DI_3\" comparison_type to COMPARISON_EQUAL and only boolean_value to true.
|
|
@@ -10573,7 +10573,7 @@ class Kv extends we {
|
|
|
10573
10573
|
* @memberof ControllerIOsApi
|
|
10574
10574
|
*/
|
|
10575
10575
|
waitForIOEvent(t, r, a, n, o, s, i, l) {
|
|
10576
|
-
return
|
|
10576
|
+
return xa(this.configuration).waitForIOEvent(t, r, a, n, o, s, i, l).then((c) => c(this.axios, this.basePath));
|
|
10577
10577
|
}
|
|
10578
10578
|
}
|
|
10579
10579
|
const Yv = function(e) {
|
|
@@ -10686,7 +10686,7 @@ const Yv = function(e) {
|
|
|
10686
10686
|
};
|
|
10687
10687
|
}
|
|
10688
10688
|
};
|
|
10689
|
-
},
|
|
10689
|
+
}, Oa = function(e) {
|
|
10690
10690
|
const t = Yv(e);
|
|
10691
10691
|
return {
|
|
10692
10692
|
/**
|
|
@@ -10769,7 +10769,7 @@ class Xv extends we {
|
|
|
10769
10769
|
* @memberof CoordinateSystemsApi
|
|
10770
10770
|
*/
|
|
10771
10771
|
addCoordinateSystem(t, r, a) {
|
|
10772
|
-
return
|
|
10772
|
+
return Oa(this.configuration).addCoordinateSystem(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
10773
10773
|
}
|
|
10774
10774
|
/**
|
|
10775
10775
|
* Removes a user coordinate system specified by the given identifier. > **NOTE** > > If the coordinate system has originally been configured on the robot controller, it will remain on the controller even after this endpoint has been executed successfully.. This will remove the user coordinate system from the list of user coordinate systems but keep all dependent coordinate systems which use the deleted coordinate system as reference. Coordinate systems on the robot controller are not affected by this operation. They can be removed via the robot control panel only and will be removed in NOVA when the controller is removed. On virtual controllers, use the [deleteVirtualRobotCoordinateSystem](deleteVirtualRobotCoordinateSystem) endpoint to remove coordinate systems from NOVA and the virtual controller. All available coordinate systems can be listed via the [listCoordinateSystems](listCoordinateSystems) endpoint.
|
|
@@ -10781,7 +10781,7 @@ class Xv extends we {
|
|
|
10781
10781
|
* @memberof CoordinateSystemsApi
|
|
10782
10782
|
*/
|
|
10783
10783
|
deleteCoordinateSystem(t, r, a) {
|
|
10784
|
-
return
|
|
10784
|
+
return Oa(this.configuration).deleteCoordinateSystem(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
10785
10785
|
}
|
|
10786
10786
|
/**
|
|
10787
10787
|
* Request a coordinate system specification for a given identifier. Use parameter rotation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested rotation angle type. If parameter rotation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in the rotation angle type used on the robot controller. This can be useful for visualization purposes in the client application due to equivalent numbers with robot control panel visualization. User coordinate systems can be configured on a robot controller during setup or added to the system via the [addCoordinateSystem](addCoordinateSystem) endpoint. Updating the robot controller\'s configuration either requires credentials or is not possible. With the endpoint [addCoordinateSystem](addCoordinateSystem) you can create a coordinate system without changing the robot controller\'s configuration.
|
|
@@ -10794,7 +10794,7 @@ class Xv extends we {
|
|
|
10794
10794
|
* @memberof CoordinateSystemsApi
|
|
10795
10795
|
*/
|
|
10796
10796
|
getCoordinateSystem(t, r, a, n) {
|
|
10797
|
-
return
|
|
10797
|
+
return Oa(this.configuration).getCoordinateSystem(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
10798
10798
|
}
|
|
10799
10799
|
/**
|
|
10800
10800
|
* Lists all specifications of coordinate systems from robot controllers and user coordinate systems added to the system via the [addCoordinateSystem](addCoordinateSystem) endpoint. Use parameter rotation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested rotation angle type. If parameter rotation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in the rotation angle type used on the robot controller. This can be useful for visualization purposes in the client application due to equivalent numbers with robot control panel visualization. The coordinate systems from the robot controller are loaded when the motion group associated with the coordinate system is activated. With deactivation of the motion group, the associated coordinate systems are removed from NOVA. The unique identifier of the coordinate systems from the robot controllers are suffixed with \"On\" + the unique identifier of the robot controller. Updating the robot controller\'s configuration either requires credentials or is not possible. With the endpoint [addCoordinateSystem](addCoordinateSystem) you can create a coordinate system without changing the robot controller\'s configuration.
|
|
@@ -10806,7 +10806,7 @@ class Xv extends we {
|
|
|
10806
10806
|
* @memberof CoordinateSystemsApi
|
|
10807
10807
|
*/
|
|
10808
10808
|
listCoordinateSystems(t, r, a) {
|
|
10809
|
-
return
|
|
10809
|
+
return Oa(this.configuration).listCoordinateSystems(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
10810
10810
|
}
|
|
10811
10811
|
/**
|
|
10812
10812
|
* Transform a pose to another base.
|
|
@@ -10819,7 +10819,7 @@ class Xv extends we {
|
|
|
10819
10819
|
* @memberof CoordinateSystemsApi
|
|
10820
10820
|
*/
|
|
10821
10821
|
transformInCoordinateSystem(t, r, a, n) {
|
|
10822
|
-
return
|
|
10822
|
+
return Oa(this.configuration).transformInCoordinateSystem(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
10823
10823
|
}
|
|
10824
10824
|
}
|
|
10825
10825
|
const Zv = function(e) {
|
|
@@ -10933,7 +10933,7 @@ const Zv = function(e) {
|
|
|
10933
10933
|
};
|
|
10934
10934
|
}
|
|
10935
10935
|
};
|
|
10936
|
-
},
|
|
10936
|
+
}, wa = function(e) {
|
|
10937
10937
|
const t = Zv(e);
|
|
10938
10938
|
return {
|
|
10939
10939
|
/**
|
|
@@ -11017,7 +11017,7 @@ class ex extends we {
|
|
|
11017
11017
|
* @memberof DeviceConfigurationApi
|
|
11018
11018
|
*/
|
|
11019
11019
|
clearDevices(t, r) {
|
|
11020
|
-
return
|
|
11020
|
+
return wa(this.configuration).clearDevices(t, r).then((a) => a(this.axios, this.basePath));
|
|
11021
11021
|
}
|
|
11022
11022
|
/**
|
|
11023
11023
|
* Deprecated endpoint. Overwrite existing devices in an existing robot cell. The devices are added to the robot cell in the order they are specified in the request body. Each device needs to have a unique identifier which is used to reference the device in Wandelscript. Devices which can be configured in the cell: - Robots - OPC UA devices ## Parameters - For more information about the available device configurations have a look at the **Schema** tab or in the provided examples.
|
|
@@ -11030,7 +11030,7 @@ class ex extends we {
|
|
|
11030
11030
|
* @memberof DeviceConfigurationApi
|
|
11031
11031
|
*/
|
|
11032
11032
|
createDevice(t, r, a) {
|
|
11033
|
-
return
|
|
11033
|
+
return wa(this.configuration).createDevice(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11034
11034
|
}
|
|
11035
11035
|
/**
|
|
11036
11036
|
* Deprecated endpoint. Deletes a specific device from the cell.
|
|
@@ -11043,7 +11043,7 @@ class ex extends we {
|
|
|
11043
11043
|
* @memberof DeviceConfigurationApi
|
|
11044
11044
|
*/
|
|
11045
11045
|
deleteDevice(t, r, a) {
|
|
11046
|
-
return
|
|
11046
|
+
return wa(this.configuration).deleteDevice(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11047
11047
|
}
|
|
11048
11048
|
/**
|
|
11049
11049
|
* Deprecated endpoint. Returns information about a device.
|
|
@@ -11056,7 +11056,7 @@ class ex extends we {
|
|
|
11056
11056
|
* @memberof DeviceConfigurationApi
|
|
11057
11057
|
*/
|
|
11058
11058
|
getDevice(t, r, a) {
|
|
11059
|
-
return
|
|
11059
|
+
return wa(this.configuration).getDevice(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11060
11060
|
}
|
|
11061
11061
|
/**
|
|
11062
11062
|
* Deprecated endpoint. Lists all devices which are configured in the cell: - Robots - Databases - OPC UA devices
|
|
@@ -11068,7 +11068,7 @@ class ex extends we {
|
|
|
11068
11068
|
* @memberof DeviceConfigurationApi
|
|
11069
11069
|
*/
|
|
11070
11070
|
listDevices(t, r) {
|
|
11071
|
-
return
|
|
11071
|
+
return wa(this.configuration).listDevices(t, r).then((a) => a(this.axios, this.basePath));
|
|
11072
11072
|
}
|
|
11073
11073
|
}
|
|
11074
11074
|
const tx = function(e) {
|
|
@@ -11181,7 +11181,7 @@ const tx = function(e) {
|
|
|
11181
11181
|
};
|
|
11182
11182
|
}
|
|
11183
11183
|
};
|
|
11184
|
-
},
|
|
11184
|
+
}, Ca = function(e) {
|
|
11185
11185
|
const t = tx(e);
|
|
11186
11186
|
return {
|
|
11187
11187
|
/**
|
|
@@ -11265,7 +11265,7 @@ class rx extends we {
|
|
|
11265
11265
|
* @memberof LibraryProgramApi
|
|
11266
11266
|
*/
|
|
11267
11267
|
createProgram(t, r, a, n) {
|
|
11268
|
-
return
|
|
11268
|
+
return Ca(this.configuration).createProgram(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
11269
11269
|
}
|
|
11270
11270
|
/**
|
|
11271
11271
|
* <!-- theme: danger --> > **Experimental** Deletes the program with the corresponding metadata. This action is irreversible. Does not delete the associated recipes.
|
|
@@ -11277,7 +11277,7 @@ class rx extends we {
|
|
|
11277
11277
|
* @memberof LibraryProgramApi
|
|
11278
11278
|
*/
|
|
11279
11279
|
deleteProgram(t, r, a) {
|
|
11280
|
-
return
|
|
11280
|
+
return Ca(this.configuration).deleteProgram(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11281
11281
|
}
|
|
11282
11282
|
/**
|
|
11283
11283
|
* <!-- theme: danger --> > **Experimental** Deletes the provided list of programs with the corresponding metadata. This action is irreversible. Does not delete the associated recipes.
|
|
@@ -11289,7 +11289,7 @@ class rx extends we {
|
|
|
11289
11289
|
* @memberof LibraryProgramApi
|
|
11290
11290
|
*/
|
|
11291
11291
|
deleteProgramList(t, r, a) {
|
|
11292
|
-
return
|
|
11292
|
+
return Ca(this.configuration).deleteProgramList(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11293
11293
|
}
|
|
11294
11294
|
/**
|
|
11295
11295
|
* <!-- theme: danger --> > **Experimental** Returns the content of the program. The identifier of the program is received upon creation or from the metadata list of all the programs.
|
|
@@ -11301,7 +11301,7 @@ class rx extends we {
|
|
|
11301
11301
|
* @memberof LibraryProgramApi
|
|
11302
11302
|
*/
|
|
11303
11303
|
getProgram(t, r, a) {
|
|
11304
|
-
return
|
|
11304
|
+
return Ca(this.configuration).getProgram(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11305
11305
|
}
|
|
11306
11306
|
/**
|
|
11307
11307
|
* <!-- theme: danger --> > **Experimental** Updates the content of the program. The update overwrites the existing content. The metadata is updated in correspondence. ## Examples ``` move via p2p() to [0, 0, 0, 0, 0, 0] move frame(\"flange\") to [1, 2, 0] move via line() to [1, 1, 0] a := planned_pose() ``` ``` {% from \'schneider_conveyor_v1.j2\' import schneider_conveyor_library -%} {{ schneider_conveyor_library() }} def start_main(): conveyor_speed_percentage = {{ conveyor_speed_percentage | round(4) }} conveyer_speed = conveyor_speed_percentage*1500 schneider_conveyor_start(conveyer_speed) end ```
|
|
@@ -11314,7 +11314,7 @@ class rx extends we {
|
|
|
11314
11314
|
* @memberof LibraryProgramApi
|
|
11315
11315
|
*/
|
|
11316
11316
|
updateProgram(t, r, a, n) {
|
|
11317
|
-
return
|
|
11317
|
+
return Ca(this.configuration).updateProgram(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
11318
11318
|
}
|
|
11319
11319
|
}
|
|
11320
11320
|
const ax = function(e) {
|
|
@@ -11406,7 +11406,7 @@ const ax = function(e) {
|
|
|
11406
11406
|
};
|
|
11407
11407
|
}
|
|
11408
11408
|
};
|
|
11409
|
-
},
|
|
11409
|
+
}, rn = function(e) {
|
|
11410
11410
|
const t = ax(e);
|
|
11411
11411
|
return {
|
|
11412
11412
|
/**
|
|
@@ -11476,7 +11476,7 @@ class nx extends we {
|
|
|
11476
11476
|
* @memberof LibraryProgramMetadataApi
|
|
11477
11477
|
*/
|
|
11478
11478
|
getProgramMetadata(t, r, a) {
|
|
11479
|
-
return
|
|
11479
|
+
return rn(this.configuration).getProgramMetadata(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11480
11480
|
}
|
|
11481
11481
|
/**
|
|
11482
11482
|
* <!-- theme: danger --> > **Experimental** Returns a list of all the stored programs, represented by their metadata.
|
|
@@ -11488,7 +11488,7 @@ class nx extends we {
|
|
|
11488
11488
|
* @memberof LibraryProgramMetadataApi
|
|
11489
11489
|
*/
|
|
11490
11490
|
listProgramMetadata(t, r, a) {
|
|
11491
|
-
return
|
|
11491
|
+
return rn(this.configuration).listProgramMetadata(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11492
11492
|
}
|
|
11493
11493
|
/**
|
|
11494
11494
|
* <!-- theme: danger --> > **Experimental** Updates the metadata of the corresponding program. The update is partial, only the set fields get updated.
|
|
@@ -11501,7 +11501,7 @@ class nx extends we {
|
|
|
11501
11501
|
* @memberof LibraryProgramMetadataApi
|
|
11502
11502
|
*/
|
|
11503
11503
|
updateProgramMetadata(t, r, a, n) {
|
|
11504
|
-
return
|
|
11504
|
+
return rn(this.configuration).updateProgramMetadata(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
11505
11505
|
}
|
|
11506
11506
|
/**
|
|
11507
11507
|
* <!-- theme: danger --> > **Experimental** Uploads an image for the corresponding program. The image is served as a static file. The path to the image is stored in the metadata.
|
|
@@ -11514,7 +11514,7 @@ class nx extends we {
|
|
|
11514
11514
|
* @memberof LibraryProgramMetadataApi
|
|
11515
11515
|
*/
|
|
11516
11516
|
uploadProgramMetadataImage(t, r, a, n) {
|
|
11517
|
-
return
|
|
11517
|
+
return rn(this.configuration).uploadProgramMetadataImage(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
11518
11518
|
}
|
|
11519
11519
|
}
|
|
11520
11520
|
const ox = function(e) {
|
|
@@ -11628,7 +11628,7 @@ const ox = function(e) {
|
|
|
11628
11628
|
};
|
|
11629
11629
|
}
|
|
11630
11630
|
};
|
|
11631
|
-
},
|
|
11631
|
+
}, Pa = function(e) {
|
|
11632
11632
|
const t = ox(e);
|
|
11633
11633
|
return {
|
|
11634
11634
|
/**
|
|
@@ -11714,7 +11714,7 @@ class sx extends we {
|
|
|
11714
11714
|
* @memberof LibraryRecipeApi
|
|
11715
11715
|
*/
|
|
11716
11716
|
createRecipe(t, r, a, n, o) {
|
|
11717
|
-
return
|
|
11717
|
+
return Pa(this.configuration).createRecipe(t, r, a, n, o).then((s) => s(this.axios, this.basePath));
|
|
11718
11718
|
}
|
|
11719
11719
|
/**
|
|
11720
11720
|
* # EXPERIMENTAL > **Note:** This endpoint is experimental and might experience functional changes in the future. Deletes a recipe. This action is irreversible.
|
|
@@ -11726,7 +11726,7 @@ class sx extends we {
|
|
|
11726
11726
|
* @memberof LibraryRecipeApi
|
|
11727
11727
|
*/
|
|
11728
11728
|
deleteRecipe(t, r, a) {
|
|
11729
|
-
return
|
|
11729
|
+
return Pa(this.configuration).deleteRecipe(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11730
11730
|
}
|
|
11731
11731
|
/**
|
|
11732
11732
|
* <!-- theme: danger --> > **Experimental** Deletes the provided list of recipes. This action is irreversible.
|
|
@@ -11738,7 +11738,7 @@ class sx extends we {
|
|
|
11738
11738
|
* @memberof LibraryRecipeApi
|
|
11739
11739
|
*/
|
|
11740
11740
|
deleteRecipeList(t, r, a) {
|
|
11741
|
-
return
|
|
11741
|
+
return Pa(this.configuration).deleteRecipeList(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11742
11742
|
}
|
|
11743
11743
|
/**
|
|
11744
11744
|
* <!-- theme: danger --> > **Experimental** Returns the content of a recipe. The identifier of the recipe is recieved on creation or from the metadata list of all the recipes.
|
|
@@ -11750,7 +11750,7 @@ class sx extends we {
|
|
|
11750
11750
|
* @memberof LibraryRecipeApi
|
|
11751
11751
|
*/
|
|
11752
11752
|
getRecipe(t, r, a) {
|
|
11753
|
-
return
|
|
11753
|
+
return Pa(this.configuration).getRecipe(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11754
11754
|
}
|
|
11755
11755
|
/**
|
|
11756
11756
|
* <!-- theme: danger --> > **Experimental** Updates an existing recipe. The update is partial, only the set fields get updated.
|
|
@@ -11763,7 +11763,7 @@ class sx extends we {
|
|
|
11763
11763
|
* @memberof LibraryRecipeApi
|
|
11764
11764
|
*/
|
|
11765
11765
|
updateRecipe(t, r, a, n) {
|
|
11766
|
-
return
|
|
11766
|
+
return Pa(this.configuration).updateRecipe(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
11767
11767
|
}
|
|
11768
11768
|
}
|
|
11769
11769
|
const ix = function(e) {
|
|
@@ -11854,7 +11854,7 @@ const ix = function(e) {
|
|
|
11854
11854
|
};
|
|
11855
11855
|
}
|
|
11856
11856
|
};
|
|
11857
|
-
},
|
|
11857
|
+
}, an = function(e) {
|
|
11858
11858
|
const t = ix(e);
|
|
11859
11859
|
return {
|
|
11860
11860
|
/**
|
|
@@ -11923,7 +11923,7 @@ class lx extends we {
|
|
|
11923
11923
|
* @memberof LibraryRecipeMetadataApi
|
|
11924
11924
|
*/
|
|
11925
11925
|
getRecipeMetadata(t, r, a) {
|
|
11926
|
-
return
|
|
11926
|
+
return an(this.configuration).getRecipeMetadata(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
11927
11927
|
}
|
|
11928
11928
|
/**
|
|
11929
11929
|
* <!-- theme: danger --> > **Experimental** List of all the stored recipes, represented by their metadata.
|
|
@@ -11934,7 +11934,7 @@ class lx extends we {
|
|
|
11934
11934
|
* @memberof LibraryRecipeMetadataApi
|
|
11935
11935
|
*/
|
|
11936
11936
|
listRecipeMetadata(t, r) {
|
|
11937
|
-
return
|
|
11937
|
+
return an(this.configuration).listRecipeMetadata(t, r).then((a) => a(this.axios, this.basePath));
|
|
11938
11938
|
}
|
|
11939
11939
|
/**
|
|
11940
11940
|
* <!-- theme: danger --> > **Experimental** Updates the metadata of a recipe. The update is partial, only the set fields get updated.
|
|
@@ -11947,7 +11947,7 @@ class lx extends we {
|
|
|
11947
11947
|
* @memberof LibraryRecipeMetadataApi
|
|
11948
11948
|
*/
|
|
11949
11949
|
updateRecipeMetadata(t, r, a, n) {
|
|
11950
|
-
return
|
|
11950
|
+
return an(this.configuration).updateRecipeMetadata(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
11951
11951
|
}
|
|
11952
11952
|
/**
|
|
11953
11953
|
* <!-- theme: danger --> > **Experimental** Uploads an image for a recipe. The image is served as a static file and the path is stored in the metadata.
|
|
@@ -11960,7 +11960,7 @@ class lx extends we {
|
|
|
11960
11960
|
* @memberof LibraryRecipeMetadataApi
|
|
11961
11961
|
*/
|
|
11962
11962
|
uploadRecipeMetadataImage(t, r, a, n) {
|
|
11963
|
-
return
|
|
11963
|
+
return an(this.configuration).uploadRecipeMetadataImage(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
11964
11964
|
}
|
|
11965
11965
|
}
|
|
11966
11966
|
const cx = function(e) {
|
|
@@ -12907,7 +12907,7 @@ const ux = function(e) {
|
|
|
12907
12907
|
};
|
|
12908
12908
|
}
|
|
12909
12909
|
};
|
|
12910
|
-
},
|
|
12910
|
+
}, nn = function(e) {
|
|
12911
12911
|
const t = ux(e);
|
|
12912
12912
|
return {
|
|
12913
12913
|
/**
|
|
@@ -12974,7 +12974,7 @@ class px extends we {
|
|
|
12974
12974
|
* @memberof MotionGroupApi
|
|
12975
12975
|
*/
|
|
12976
12976
|
activateAllMotionGroups(t, r, a) {
|
|
12977
|
-
return
|
|
12977
|
+
return nn(this.configuration).activateAllMotionGroups(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
12978
12978
|
}
|
|
12979
12979
|
/**
|
|
12980
12980
|
* Activate the motion group and keeps the motion group in an active status. To manually activate a motion group, use this endpoint. When activating a motion group, interacting with the controller in other ways is not possible. To deactivate a motion group, use [deactivateMotionGroup](deactivateMotionGroup).
|
|
@@ -12986,7 +12986,7 @@ class px extends we {
|
|
|
12986
12986
|
* @memberof MotionGroupApi
|
|
12987
12987
|
*/
|
|
12988
12988
|
activateMotionGroup(t, r, a) {
|
|
12989
|
-
return
|
|
12989
|
+
return nn(this.configuration).activateMotionGroup(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
12990
12990
|
}
|
|
12991
12991
|
/**
|
|
12992
12992
|
* Deactivate a motion group. Activate the motion group and keeps the motion group in an active status. The robot controller streams information about all active motion groups. Deactivate motion groups that you no longer use. When deactivating motion groups, it is not possible to interact with the controller in any other way.
|
|
@@ -12998,7 +12998,7 @@ class px extends we {
|
|
|
12998
12998
|
* @memberof MotionGroupApi
|
|
12999
12999
|
*/
|
|
13000
13000
|
deactivateMotionGroup(t, r, a) {
|
|
13001
|
-
return
|
|
13001
|
+
return nn(this.configuration).deactivateMotionGroup(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
13002
13002
|
}
|
|
13003
13003
|
/**
|
|
13004
13004
|
* List all active motion groups. A motion group is active if it is currently used by a controller.
|
|
@@ -13009,7 +13009,7 @@ class px extends we {
|
|
|
13009
13009
|
* @memberof MotionGroupApi
|
|
13010
13010
|
*/
|
|
13011
13011
|
listMotionGroups(t, r) {
|
|
13012
|
-
return
|
|
13012
|
+
return nn(this.configuration).listMotionGroups(t, r).then((a) => a(this.axios, this.basePath));
|
|
13013
13013
|
}
|
|
13014
13014
|
}
|
|
13015
13015
|
const hx = function(e) {
|
|
@@ -13639,7 +13639,7 @@ const fx = function(e) {
|
|
|
13639
13639
|
};
|
|
13640
13640
|
}
|
|
13641
13641
|
};
|
|
13642
|
-
},
|
|
13642
|
+
}, on = function(e) {
|
|
13643
13643
|
const t = fx(e);
|
|
13644
13644
|
return {
|
|
13645
13645
|
/**
|
|
@@ -13707,7 +13707,7 @@ class gx extends we {
|
|
|
13707
13707
|
* @memberof MotionGroupJoggingApi
|
|
13708
13708
|
*/
|
|
13709
13709
|
directionJogging(t, r, a) {
|
|
13710
|
-
return
|
|
13710
|
+
return on(this.configuration).directionJogging(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
13711
13711
|
}
|
|
13712
13712
|
/**
|
|
13713
13713
|
* Shows the options the motion group offers in regard to jogging. Some motion groups may not provide all information services, e.g. it is physically not possible to move a one-axis-turntable in a linear way.
|
|
@@ -13719,7 +13719,7 @@ class gx extends we {
|
|
|
13719
13719
|
* @memberof MotionGroupJoggingApi
|
|
13720
13720
|
*/
|
|
13721
13721
|
getJoggingCapabilities(t, r, a) {
|
|
13722
|
-
return
|
|
13722
|
+
return on(this.configuration).getJoggingCapabilities(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
13723
13723
|
}
|
|
13724
13724
|
/**
|
|
13725
13725
|
* Move one or more joints of a motion group with specified velocities via a websocket. The purpose of a joint jogging motion is to maneuver a motion group in one or more joints with a specified velocity for each joint. The sign of the velocity determines the direction of the joint movement. The velocity is given in [rad/s]. In contrast to a planned motion, a jogging motion can be changed dynamically while the motion group is in motion. Only one single client at a time can jog a particular motion group. If another client tries to jog the same motion group at the same time, the second call will fail. The movement of the motion group will start as soon as: * the motion group is not in motion * the websocket connection is established * the first request has been sent As long as the jogging motion is ongoing, responses will be sent continuously and contain the current state of the motion group. The responses will be sent with the specified rate according to the *response_rate* parameter of the initial websocket request. While in motion, the desired joint velocity can be changed by sending a new request to the same websocket. The motion and sending of the replies will stop when: * a [stopJogging](stopJogging) request was received, processed, and the movement stopped Motion group state will be published in the original command stream until the motion group has fully stopped. * the client cancels the stream (not recommended, because final stopping position will not be returned from the stream) When a physical limit (e.g. joint limit) is reached, the motion group will stop moving in the desired direction. The stream, howewer, will continue to send the state until the client cancels the stream or sends the [stopJogging](stopJogging) request. **Usage example:** 1. Open a websocket via python and start the jogging motion: ```bash > python -m websockets \"ws://<IP of Wandelbots NOVA API>/api/v1/cells/<your cell id>/motion-groups/move-joint\" ``` 2. Send the following message to move with a velocity of 0.1 rad/s (negative) for joint 5 and 0.2 rad/s for joint 6: ```json { \"motion_group\": \"<your motion group id>\", \"joint_velocities\": [0, 0, 0, 0, -0.1, 0.2], \"response_rate\": 500 } ``` The provided NOVA API clients also natively support jogging motions, without the need to manually open a websocket. > **NOTE** > > If the jogging movement is stopped immediately, ensure that > > - A websocket connection is established. Websockets can be kept open until the robot\'s movement is done as opposed to a simple HTTP GET request. > > - The motion group is not in motion by another jogging movement or a planned movement. > **NOTE** > > If the robot does not move, ensure that > > - The joint velocity values are not zero, > > - The motion group is not in a state where it cannot move further (e.g. joint limit reached). > **NOTE** > > If the specified velocities are higher than the maximum allowed by the robot controller, the motion group will move with the maximum allowed velocities.
|
|
@@ -13731,7 +13731,7 @@ class gx extends we {
|
|
|
13731
13731
|
* @memberof MotionGroupJoggingApi
|
|
13732
13732
|
*/
|
|
13733
13733
|
jointJogging(t, r, a) {
|
|
13734
|
-
return
|
|
13734
|
+
return on(this.configuration).jointJogging(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
13735
13735
|
}
|
|
13736
13736
|
/**
|
|
13737
13737
|
* Stops an ongoing jogging movement as fast as possible. Until the motion group reaches standstill, it decelerates and keeps the last specified direction. This call will immediately return even if the deceleration is still in progress. After a stop request has been received, no further updates to the ongoing jogging movement are possible. State responses will be sent via the jogging stream until the motion group reaches standstill.
|
|
@@ -13743,7 +13743,7 @@ class gx extends we {
|
|
|
13743
13743
|
* @memberof MotionGroupJoggingApi
|
|
13744
13744
|
*/
|
|
13745
13745
|
stopJogging(t, r, a) {
|
|
13746
|
-
return
|
|
13746
|
+
return on(this.configuration).stopJogging(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
13747
13747
|
}
|
|
13748
13748
|
}
|
|
13749
13749
|
const yx = function(e) {
|
|
@@ -13836,7 +13836,7 @@ const yx = function(e) {
|
|
|
13836
13836
|
};
|
|
13837
13837
|
}
|
|
13838
13838
|
};
|
|
13839
|
-
},
|
|
13839
|
+
}, sn = function(e) {
|
|
13840
13840
|
const t = yx(e);
|
|
13841
13841
|
return {
|
|
13842
13842
|
/**
|
|
@@ -13908,7 +13908,7 @@ class bx extends we {
|
|
|
13908
13908
|
* @memberof MotionGroupKinematicApi
|
|
13909
13909
|
*/
|
|
13910
13910
|
calculateAllInverseKinematic(t, r, a, n) {
|
|
13911
|
-
return
|
|
13911
|
+
return sn(this.configuration).calculateAllInverseKinematic(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
13912
13912
|
}
|
|
13913
13913
|
/**
|
|
13914
13914
|
* Calculates the TCP pose from a joint position sample using the forward kinematics of the motion-group.
|
|
@@ -13921,7 +13921,7 @@ class bx extends we {
|
|
|
13921
13921
|
* @memberof MotionGroupKinematicApi
|
|
13922
13922
|
*/
|
|
13923
13923
|
calculateForwardKinematic(t, r, a, n) {
|
|
13924
|
-
return
|
|
13924
|
+
return sn(this.configuration).calculateForwardKinematic(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
13925
13925
|
}
|
|
13926
13926
|
/**
|
|
13927
13927
|
* Calculate the joint positions the motion-group needs to apply for its TCP to be in a specified pose (Inverse Kinematic Solution). If multiple solutions are found, the one nearest to the given specified joint position is picked. * For all supported robot models, except the Fanuc CRX line, the returned joint position is guaranteed to have the same configuration (often referred to as ELBOW_UP, WRIST_DOWN, SHOULDER_RIGHT, f.e.) as the specified reference joint position. If the position limit of any single joint allows it to be in a range larger than 2 PI, the respective joint value in the result will be as close as possible to its reference value. * For the Fanuc CRX line the solution is selected to have the smallest distance measured by the norm of its difference to the reference joint position. The returned joint position is guaranteed to be within the joint limits and not in a singular position of the robot.
|
|
@@ -13934,7 +13934,7 @@ class bx extends we {
|
|
|
13934
13934
|
* @memberof MotionGroupKinematicApi
|
|
13935
13935
|
*/
|
|
13936
13936
|
calculateInverseKinematic(t, r, a, n) {
|
|
13937
|
-
return
|
|
13937
|
+
return sn(this.configuration).calculateInverseKinematic(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
13938
13938
|
}
|
|
13939
13939
|
/**
|
|
13940
13940
|
* Get the kinematic endpoints provided for the specified motion-group.
|
|
@@ -13946,7 +13946,7 @@ class bx extends we {
|
|
|
13946
13946
|
* @memberof MotionGroupKinematicApi
|
|
13947
13947
|
*/
|
|
13948
13948
|
getKinematicCapabilities(t, r, a) {
|
|
13949
|
-
return
|
|
13949
|
+
return sn(this.configuration).getKinematicCapabilities(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
13950
13950
|
}
|
|
13951
13951
|
}
|
|
13952
13952
|
const Sx = function(e) {
|
|
@@ -15320,7 +15320,7 @@ const Px = function(e) {
|
|
|
15320
15320
|
};
|
|
15321
15321
|
}
|
|
15322
15322
|
};
|
|
15323
|
-
},
|
|
15323
|
+
}, ln = function(e) {
|
|
15324
15324
|
const t = Px(e);
|
|
15325
15325
|
return {
|
|
15326
15326
|
/**
|
|
@@ -15388,7 +15388,7 @@ class Vx extends we {
|
|
|
15388
15388
|
* @memberof StoreCollisionScenesApi
|
|
15389
15389
|
*/
|
|
15390
15390
|
deleteStoredCollisionScene(t, r, a) {
|
|
15391
|
-
return
|
|
15391
|
+
return ln(this.configuration).deleteStoredCollisionScene(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
15392
15392
|
}
|
|
15393
15393
|
/**
|
|
15394
15394
|
* Returns the stored scene.
|
|
@@ -15400,7 +15400,7 @@ class Vx extends we {
|
|
|
15400
15400
|
* @memberof StoreCollisionScenesApi
|
|
15401
15401
|
*/
|
|
15402
15402
|
getStoredCollisionScene(t, r, a) {
|
|
15403
|
-
return
|
|
15403
|
+
return ln(this.configuration).getStoredCollisionScene(t, r, a).then((n) => n(this.axios, this.basePath));
|
|
15404
15404
|
}
|
|
15405
15405
|
/**
|
|
15406
15406
|
* Returns a list of stored scenes.
|
|
@@ -15411,7 +15411,7 @@ class Vx extends we {
|
|
|
15411
15411
|
* @memberof StoreCollisionScenesApi
|
|
15412
15412
|
*/
|
|
15413
15413
|
listStoredCollisionScenes(t, r) {
|
|
15414
|
-
return
|
|
15414
|
+
return ln(this.configuration).listStoredCollisionScenes(t, r).then((a) => a(this.axios, this.basePath));
|
|
15415
15415
|
}
|
|
15416
15416
|
/**
|
|
15417
15417
|
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. An error is returned if a stored object does not exist.
|
|
@@ -15424,7 +15424,7 @@ class Vx extends we {
|
|
|
15424
15424
|
* @memberof StoreCollisionScenesApi
|
|
15425
15425
|
*/
|
|
15426
15426
|
storeCollisionScene(t, r, a, n) {
|
|
15427
|
-
return
|
|
15427
|
+
return ln(this.configuration).storeCollisionScene(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
15428
15428
|
}
|
|
15429
15429
|
}
|
|
15430
15430
|
const Rx = function(e) {
|
|
@@ -15810,7 +15810,7 @@ const Ax = function(e) {
|
|
|
15810
15810
|
};
|
|
15811
15811
|
}
|
|
15812
15812
|
};
|
|
15813
|
-
},
|
|
15813
|
+
}, Va = function(e) {
|
|
15814
15814
|
const t = Ax(e);
|
|
15815
15815
|
return {
|
|
15816
15816
|
/**
|
|
@@ -15882,7 +15882,7 @@ class Tx extends we {
|
|
|
15882
15882
|
* @memberof SystemApi
|
|
15883
15883
|
*/
|
|
15884
15884
|
checkNovaVersionUpdate(t, r) {
|
|
15885
|
-
return
|
|
15885
|
+
return Va(this.configuration).checkNovaVersionUpdate(t, r).then((a) => a(this.axios, this.basePath));
|
|
15886
15886
|
}
|
|
15887
15887
|
/**
|
|
15888
15888
|
* Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
|
|
@@ -15892,7 +15892,7 @@ class Tx extends we {
|
|
|
15892
15892
|
* @memberof SystemApi
|
|
15893
15893
|
*/
|
|
15894
15894
|
getDiagnosePackage(t) {
|
|
15895
|
-
return
|
|
15895
|
+
return Va(this.configuration).getDiagnosePackage(t).then((r) => r(this.axios, this.basePath));
|
|
15896
15896
|
}
|
|
15897
15897
|
/**
|
|
15898
15898
|
* Get the status of all system services.
|
|
@@ -15902,7 +15902,7 @@ class Tx extends we {
|
|
|
15902
15902
|
* @memberof SystemApi
|
|
15903
15903
|
*/
|
|
15904
15904
|
getSystemStatus(t) {
|
|
15905
|
-
return
|
|
15905
|
+
return Va(this.configuration).getSystemStatus(t).then((r) => r(this.axios, this.basePath));
|
|
15906
15906
|
}
|
|
15907
15907
|
/**
|
|
15908
15908
|
* Get the current Wandelbots NOVA version.
|
|
@@ -15912,7 +15912,7 @@ class Tx extends we {
|
|
|
15912
15912
|
* @memberof SystemApi
|
|
15913
15913
|
*/
|
|
15914
15914
|
getSystemVersion(t) {
|
|
15915
|
-
return
|
|
15915
|
+
return Va(this.configuration).getSystemVersion(t).then((r) => r(this.axios, this.basePath));
|
|
15916
15916
|
}
|
|
15917
15917
|
/**
|
|
15918
15918
|
* Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If an error occurs, the API Request is sent 3 times. If the error persists, the old Wandelbots NOVA version is restored.
|
|
@@ -15923,7 +15923,7 @@ class Tx extends we {
|
|
|
15923
15923
|
* @memberof SystemApi
|
|
15924
15924
|
*/
|
|
15925
15925
|
updateNovaVersion(t, r) {
|
|
15926
|
-
return
|
|
15926
|
+
return Va(this.configuration).updateNovaVersion(t, r).then((a) => a(this.axios, this.basePath));
|
|
15927
15927
|
}
|
|
15928
15928
|
}
|
|
15929
15929
|
const Ex = function(e) {
|
|
@@ -16306,7 +16306,7 @@ const Mx = function(e) {
|
|
|
16306
16306
|
};
|
|
16307
16307
|
}
|
|
16308
16308
|
};
|
|
16309
|
-
},
|
|
16309
|
+
}, $o = function(e) {
|
|
16310
16310
|
const t = Mx(e);
|
|
16311
16311
|
return {
|
|
16312
16312
|
/**
|
|
@@ -16366,7 +16366,7 @@ class jx extends we {
|
|
|
16366
16366
|
* @memberof VirtualRobotBehaviorApi
|
|
16367
16367
|
*/
|
|
16368
16368
|
externalJointsStream(t, r, a, n) {
|
|
16369
|
-
return
|
|
16369
|
+
return $o(this.configuration).externalJointsStream(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
16370
16370
|
}
|
|
16371
16371
|
/**
|
|
16372
16372
|
* Get the current robot motion group behavior - please see the setter [setMotionGroupBehavior](setMotionGroupBehavior) and the enum for details.
|
|
@@ -16379,7 +16379,7 @@ class jx extends we {
|
|
|
16379
16379
|
* @memberof VirtualRobotBehaviorApi
|
|
16380
16380
|
*/
|
|
16381
16381
|
getMotionGroupBehavior(t, r, a, n) {
|
|
16382
|
-
return
|
|
16382
|
+
return $o(this.configuration).getMotionGroupBehavior(t, r, a, n).then((o) => o(this.axios, this.basePath));
|
|
16383
16383
|
}
|
|
16384
16384
|
/**
|
|
16385
16385
|
* Switch robot motion group behavior.
|
|
@@ -16393,7 +16393,7 @@ class jx extends we {
|
|
|
16393
16393
|
* @memberof VirtualRobotBehaviorApi
|
|
16394
16394
|
*/
|
|
16395
16395
|
setMotionGroupBehavior(t, r, a, n, o) {
|
|
16396
|
-
return
|
|
16396
|
+
return $o(this.configuration).setMotionGroupBehavior(t, r, a, n, o).then((s) => s(this.axios, this.basePath));
|
|
16397
16397
|
}
|
|
16398
16398
|
}
|
|
16399
16399
|
const $x = function(e) {
|
|
@@ -18090,7 +18090,7 @@ class qr {
|
|
|
18090
18090
|
* @return {Vector3} A reference to this vector.
|
|
18091
18091
|
*/
|
|
18092
18092
|
projectOnPlane(t) {
|
|
18093
|
-
return
|
|
18093
|
+
return Uo.copy(this).projectOnVector(t), this.sub(Uo);
|
|
18094
18094
|
}
|
|
18095
18095
|
/**
|
|
18096
18096
|
* Reflects this vector off a plane orthogonal to the given normal vector.
|
|
@@ -18099,7 +18099,7 @@ class qr {
|
|
|
18099
18099
|
* @return {Vector3} A reference to this vector.
|
|
18100
18100
|
*/
|
|
18101
18101
|
reflect(t) {
|
|
18102
|
-
return this.sub(
|
|
18102
|
+
return this.sub(Uo.copy(t).multiplyScalar(2 * this.dot(t)));
|
|
18103
18103
|
}
|
|
18104
18104
|
/**
|
|
18105
18105
|
* Returns the angle between the given vector and this instance in radians.
|
|
@@ -18308,7 +18308,7 @@ class qr {
|
|
|
18308
18308
|
yield this.x, yield this.y, yield this.z;
|
|
18309
18309
|
}
|
|
18310
18310
|
}
|
|
18311
|
-
const
|
|
18311
|
+
const Uo = /* @__PURE__ */ new qr(), ul = /* @__PURE__ */ new Bx();
|
|
18312
18312
|
function Fx(e) {
|
|
18313
18313
|
var t = [];
|
|
18314
18314
|
if (e.length === 0)
|
|
@@ -18331,7 +18331,7 @@ function Fx(e) {
|
|
|
18331
18331
|
var s = o.split("?");
|
|
18332
18332
|
return o = s.shift() + (s.length > 0 ? "?" : "") + s.join("&"), o;
|
|
18333
18333
|
}
|
|
18334
|
-
function
|
|
18334
|
+
function Lo() {
|
|
18335
18335
|
var e;
|
|
18336
18336
|
return typeof arguments[0] == "object" ? e = arguments[0] : e = [].slice.call(arguments), Fx(e);
|
|
18337
18337
|
}
|
|
@@ -18650,7 +18650,7 @@ var hl = 1e-4, zx = class cd {
|
|
|
18650
18650
|
) || et(() => {
|
|
18651
18651
|
this.rapidlyChangingMotionState.tcp_pose = h.tcp_pose;
|
|
18652
18652
|
});
|
|
18653
|
-
}),
|
|
18653
|
+
}), ms(this);
|
|
18654
18654
|
}
|
|
18655
18655
|
static connect(t, r, a) {
|
|
18656
18656
|
return Oe(this, null, function* () {
|
|
@@ -19128,11 +19128,11 @@ var hl = 1e-4, zx = class cd {
|
|
|
19128
19128
|
}
|
|
19129
19129
|
}, ml = 1e-4;
|
|
19130
19130
|
function Jx(e, t) {
|
|
19131
|
-
const r = new
|
|
19131
|
+
const r = new Cn(
|
|
19132
19132
|
t.x,
|
|
19133
19133
|
t.y,
|
|
19134
19134
|
t.z
|
|
19135
|
-
), a = new
|
|
19135
|
+
), a = new Cn(
|
|
19136
19136
|
e.x,
|
|
19137
19137
|
e.y,
|
|
19138
19138
|
e.z
|
|
@@ -19172,7 +19172,7 @@ var Hx = class ud {
|
|
|
19172
19172
|
coordinate_system: l.tcp_pose.coordinate_system
|
|
19173
19173
|
};
|
|
19174
19174
|
});
|
|
19175
|
-
}),
|
|
19175
|
+
}), ms(this);
|
|
19176
19176
|
}
|
|
19177
19177
|
static open(t, r) {
|
|
19178
19178
|
return Oe(this, null, function* () {
|
|
@@ -19241,7 +19241,7 @@ var Hx = class ud {
|
|
|
19241
19241
|
withCellId(e) {
|
|
19242
19242
|
var t, r;
|
|
19243
19243
|
const a = new e(
|
|
19244
|
-
|
|
19244
|
+
Xo(zr({}, this.opts), {
|
|
19245
19245
|
isJsonMime: (n) => n === "application/json"
|
|
19246
19246
|
}),
|
|
19247
19247
|
(t = this.opts.basePath) != null ? t : "",
|
|
@@ -19260,7 +19260,7 @@ var Hx = class ud {
|
|
|
19260
19260
|
withUnwrappedResponsesOnly(e) {
|
|
19261
19261
|
var t, r;
|
|
19262
19262
|
const a = new e(
|
|
19263
|
-
|
|
19263
|
+
Xo(zr({}, this.opts), {
|
|
19264
19264
|
isJsonMime: (n) => n === "application/json"
|
|
19265
19265
|
}),
|
|
19266
19266
|
(t = this.opts.basePath) != null ? t : "",
|
|
@@ -20218,7 +20218,7 @@ var Hx = class ud {
|
|
|
20218
20218
|
};
|
|
20219
20219
|
}
|
|
20220
20220
|
}
|
|
20221
|
-
throw new
|
|
20221
|
+
throw new os(
|
|
20222
20222
|
`No mock handler matched this request: ${o} ${s}`,
|
|
20223
20223
|
"404",
|
|
20224
20224
|
e
|
|
@@ -20543,9 +20543,9 @@ var Hx = class ud {
|
|
|
20543
20543
|
const r = (t = e.cellId) != null ? t : "cell";
|
|
20544
20544
|
this.config = zr({
|
|
20545
20545
|
cellId: r
|
|
20546
|
-
}, e), this.accessToken = e.accessToken ||
|
|
20546
|
+
}, e), this.accessToken = e.accessToken || To.getString("wbjs.access_token") || null, this.config.instanceUrl === "https://mock.example.com" && (this.mock = new Wx());
|
|
20547
20547
|
const a = O.create({
|
|
20548
|
-
baseURL:
|
|
20548
|
+
baseURL: Lo(this.config.instanceUrl, "/api/v1")
|
|
20549
20549
|
});
|
|
20550
20550
|
a.interceptors.request.use((n) => Oe(this, null, function* () {
|
|
20551
20551
|
return n.headers.Authorization || (this.accessToken ? n.headers.Authorization = `Bearer ${this.accessToken}` : this.config.username && this.config.password && (n.headers.Authorization = `Basic ${btoa(e.username + ":" + e.password)}`)), n;
|
|
@@ -20564,8 +20564,8 @@ var Hx = class ud {
|
|
|
20564
20564
|
else ((s = n.response) == null ? void 0 : s.status) === 503 && (yield fetch(window.location.href)).status === 503 && window.location.reload();
|
|
20565
20565
|
return Promise.reject(n);
|
|
20566
20566
|
})
|
|
20567
|
-
), this.api = new qx(r,
|
|
20568
|
-
basePath:
|
|
20567
|
+
), this.api = new qx(r, Xo(zr({}, e), {
|
|
20568
|
+
basePath: Lo(this.config.instanceUrl, "/api/v1"),
|
|
20569
20569
|
isJsonMime: (n) => n === "application/json",
|
|
20570
20570
|
baseOptions: zr(zr({}, this.mock ? {
|
|
20571
20571
|
adapter: (n) => this.mock.handleAPIRequest(n)
|
|
@@ -20578,7 +20578,7 @@ var Hx = class ud {
|
|
|
20578
20578
|
if (!this.authPromise) {
|
|
20579
20579
|
this.authPromise = pS(this.config.instanceUrl);
|
|
20580
20580
|
try {
|
|
20581
|
-
this.accessToken = yield this.authPromise, this.accessToken ?
|
|
20581
|
+
this.accessToken = yield this.authPromise, this.accessToken ? To.setString("wbjs.access_token", this.accessToken) : To.delete("wbjs.access_token");
|
|
20582
20582
|
} finally {
|
|
20583
20583
|
this.authPromise = null;
|
|
20584
20584
|
}
|
|
@@ -20587,7 +20587,7 @@ var Hx = class ud {
|
|
|
20587
20587
|
}
|
|
20588
20588
|
makeWebsocketURL(e) {
|
|
20589
20589
|
const t = new URL(
|
|
20590
|
-
|
|
20590
|
+
Lo(
|
|
20591
20591
|
this.config.instanceUrl,
|
|
20592
20592
|
`/api/v1/cells/${this.config.cellId}`,
|
|
20593
20593
|
e
|
|
@@ -20649,7 +20649,7 @@ function Xx(e, t) {
|
|
|
20649
20649
|
}
|
|
20650
20650
|
function Zx(e) {
|
|
20651
20651
|
var t, r, a, n;
|
|
20652
|
-
return e instanceof
|
|
20652
|
+
return e instanceof os && e.code === "ERR_NETWORK" ? "Failed to connect to the server. Please check your internet connection." : e instanceof os && e.response ? `${(t = e.response) == null ? void 0 : t.status} ${(r = e.response) == null ? void 0 : r.statusText} from ${(a = e.response) == null ? void 0 : a.config.url}: ${JSON.stringify((n = e.response) == null ? void 0 : n.data)}` : e instanceof Error ? e.message : `Unexpected error: ${Yx(e) || e}`;
|
|
20653
20653
|
}
|
|
20654
20654
|
const pd = (e) => {
|
|
20655
20655
|
const t = e.softTimeout || 3e3, [r, a] = gr(!1), n = ct();
|
|
@@ -20736,7 +20736,7 @@ function c1() {
|
|
|
20736
20736
|
function hd(e, t) {
|
|
20737
20737
|
return e === t || e !== e && t !== t;
|
|
20738
20738
|
}
|
|
20739
|
-
function
|
|
20739
|
+
function po(e, t) {
|
|
20740
20740
|
for (var r = e.length; r--; )
|
|
20741
20741
|
if (hd(e[r][0], t))
|
|
20742
20742
|
return r;
|
|
@@ -20744,21 +20744,21 @@ function ho(e, t) {
|
|
|
20744
20744
|
}
|
|
20745
20745
|
var d1 = Array.prototype, u1 = d1.splice;
|
|
20746
20746
|
function p1(e) {
|
|
20747
|
-
var t = this.__data__, r =
|
|
20747
|
+
var t = this.__data__, r = po(t, e);
|
|
20748
20748
|
if (r < 0)
|
|
20749
20749
|
return !1;
|
|
20750
20750
|
var a = t.length - 1;
|
|
20751
20751
|
return r == a ? t.pop() : u1.call(t, r, 1), --this.size, !0;
|
|
20752
20752
|
}
|
|
20753
20753
|
function h1(e) {
|
|
20754
|
-
var t = this.__data__, r =
|
|
20754
|
+
var t = this.__data__, r = po(t, e);
|
|
20755
20755
|
return r < 0 ? void 0 : t[r][1];
|
|
20756
20756
|
}
|
|
20757
20757
|
function m1(e) {
|
|
20758
|
-
return
|
|
20758
|
+
return po(this.__data__, e) > -1;
|
|
20759
20759
|
}
|
|
20760
20760
|
function f1(e, t) {
|
|
20761
|
-
var r = this.__data__, a =
|
|
20761
|
+
var r = this.__data__, a = po(r, e);
|
|
20762
20762
|
return a < 0 ? (++this.size, r.push([e, t])) : r[a][1] = t, this;
|
|
20763
20763
|
}
|
|
20764
20764
|
function kt(e) {
|
|
@@ -20793,8 +20793,8 @@ function md(e) {
|
|
|
20793
20793
|
var t = br(e);
|
|
20794
20794
|
return t == x1 || t == O1 || t == v1 || t == w1;
|
|
20795
20795
|
}
|
|
20796
|
-
var
|
|
20797
|
-
var e = /[^.]+$/.exec(
|
|
20796
|
+
var ko = Rt["__core-js_shared__"], fl = function() {
|
|
20797
|
+
var e = /[^.]+$/.exec(ko && ko.keys && ko.keys.IE_PROTO || "");
|
|
20798
20798
|
return e ? "Symbol(src)_1." + e : "";
|
|
20799
20799
|
}();
|
|
20800
20800
|
function C1(e) {
|
|
@@ -20830,9 +20830,9 @@ function xr(e, t) {
|
|
|
20830
20830
|
var r = $1(e, t);
|
|
20831
20831
|
return j1(r) ? r : void 0;
|
|
20832
20832
|
}
|
|
20833
|
-
var
|
|
20833
|
+
var Na = xr(Rt, "Map"), Da = xr(Object, "create");
|
|
20834
20834
|
function U1() {
|
|
20835
|
-
this.__data__ =
|
|
20835
|
+
this.__data__ = Da ? Da(null) : {}, this.size = 0;
|
|
20836
20836
|
}
|
|
20837
20837
|
function L1(e) {
|
|
20838
20838
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -20841,7 +20841,7 @@ function L1(e) {
|
|
|
20841
20841
|
var k1 = "__lodash_hash_undefined__", B1 = Object.prototype, F1 = B1.hasOwnProperty;
|
|
20842
20842
|
function N1(e) {
|
|
20843
20843
|
var t = this.__data__;
|
|
20844
|
-
if (
|
|
20844
|
+
if (Da) {
|
|
20845
20845
|
var r = t[e];
|
|
20846
20846
|
return r === k1 ? void 0 : r;
|
|
20847
20847
|
}
|
|
@@ -20850,12 +20850,12 @@ function N1(e) {
|
|
|
20850
20850
|
var D1 = Object.prototype, z1 = D1.hasOwnProperty;
|
|
20851
20851
|
function G1(e) {
|
|
20852
20852
|
var t = this.__data__;
|
|
20853
|
-
return
|
|
20853
|
+
return Da ? t[e] !== void 0 : z1.call(t, e);
|
|
20854
20854
|
}
|
|
20855
20855
|
var J1 = "__lodash_hash_undefined__";
|
|
20856
20856
|
function H1(e, t) {
|
|
20857
20857
|
var r = this.__data__;
|
|
20858
|
-
return this.size += this.has(e) ? 0 : 1, r[e] =
|
|
20858
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = Da && t === void 0 ? J1 : t, this;
|
|
20859
20859
|
}
|
|
20860
20860
|
function fr(e) {
|
|
20861
20861
|
var t = -1, r = e == null ? 0 : e.length;
|
|
@@ -20872,7 +20872,7 @@ fr.prototype.set = H1;
|
|
|
20872
20872
|
function q1() {
|
|
20873
20873
|
this.size = 0, this.__data__ = {
|
|
20874
20874
|
hash: new fr(),
|
|
20875
|
-
map: new (
|
|
20875
|
+
map: new (Na || kt)(),
|
|
20876
20876
|
string: new fr()
|
|
20877
20877
|
};
|
|
20878
20878
|
}
|
|
@@ -20880,22 +20880,22 @@ function W1(e) {
|
|
|
20880
20880
|
var t = typeof e;
|
|
20881
20881
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
20882
20882
|
}
|
|
20883
|
-
function
|
|
20883
|
+
function ho(e, t) {
|
|
20884
20884
|
var r = e.__data__;
|
|
20885
20885
|
return W1(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
20886
20886
|
}
|
|
20887
20887
|
function Q1(e) {
|
|
20888
|
-
var t =
|
|
20888
|
+
var t = ho(this, e).delete(e);
|
|
20889
20889
|
return this.size -= t ? 1 : 0, t;
|
|
20890
20890
|
}
|
|
20891
20891
|
function K1(e) {
|
|
20892
|
-
return
|
|
20892
|
+
return ho(this, e).get(e);
|
|
20893
20893
|
}
|
|
20894
20894
|
function Y1(e) {
|
|
20895
|
-
return
|
|
20895
|
+
return ho(this, e).has(e);
|
|
20896
20896
|
}
|
|
20897
20897
|
function X1(e, t) {
|
|
20898
|
-
var r =
|
|
20898
|
+
var r = ho(this, e), a = r.size;
|
|
20899
20899
|
return r.set(e, t), this.size += r.size == a ? 0 : 1, this;
|
|
20900
20900
|
}
|
|
20901
20901
|
function Bt(e) {
|
|
@@ -20915,7 +20915,7 @@ function eO(e, t) {
|
|
|
20915
20915
|
var r = this.__data__;
|
|
20916
20916
|
if (r instanceof kt) {
|
|
20917
20917
|
var a = r.__data__;
|
|
20918
|
-
if (!
|
|
20918
|
+
if (!Na || a.length < Z1 - 1)
|
|
20919
20919
|
return a.push([e, t]), this.size = ++r.size, this;
|
|
20920
20920
|
r = this.__data__ = new Bt(a);
|
|
20921
20921
|
}
|
|
@@ -20937,13 +20937,13 @@ function rO(e) {
|
|
|
20937
20937
|
function aO(e) {
|
|
20938
20938
|
return this.__data__.has(e);
|
|
20939
20939
|
}
|
|
20940
|
-
function
|
|
20940
|
+
function Bn(e) {
|
|
20941
20941
|
var t = -1, r = e == null ? 0 : e.length;
|
|
20942
20942
|
for (this.__data__ = new Bt(); ++t < r; )
|
|
20943
20943
|
this.add(e[t]);
|
|
20944
20944
|
}
|
|
20945
|
-
|
|
20946
|
-
|
|
20945
|
+
Bn.prototype.add = Bn.prototype.push = rO;
|
|
20946
|
+
Bn.prototype.has = aO;
|
|
20947
20947
|
function nO(e, t) {
|
|
20948
20948
|
for (var r = -1, a = e == null ? 0 : e.length; ++r < a; )
|
|
20949
20949
|
if (t(e[r], r, e))
|
|
@@ -20961,7 +20961,7 @@ function fd(e, t, r, a, n, o) {
|
|
|
20961
20961
|
var c = o.get(e), d = o.get(t);
|
|
20962
20962
|
if (c && d)
|
|
20963
20963
|
return c == t && d == e;
|
|
20964
|
-
var u = -1, p = !0, f = r & iO ? new
|
|
20964
|
+
var u = -1, p = !0, f = r & iO ? new Bn() : void 0;
|
|
20965
20965
|
for (o.set(e, t), o.set(t, e); ++u < i; ) {
|
|
20966
20966
|
var g = e[u], h = t[u];
|
|
20967
20967
|
if (a)
|
|
@@ -21000,7 +21000,7 @@ function cO(e) {
|
|
|
21000
21000
|
r[++t] = a;
|
|
21001
21001
|
}), r;
|
|
21002
21002
|
}
|
|
21003
|
-
var dO = 1, uO = 2, pO = "[object Boolean]", hO = "[object Date]", mO = "[object Error]", fO = "[object Map]", gO = "[object Number]", yO = "[object RegExp]", bO = "[object Set]", SO = "[object String]", vO = "[object Symbol]", xO = "[object ArrayBuffer]", OO = "[object DataView]", yl = er ? er.prototype : void 0,
|
|
21003
|
+
var dO = 1, uO = 2, pO = "[object Boolean]", hO = "[object Date]", mO = "[object Error]", fO = "[object Map]", gO = "[object Number]", yO = "[object RegExp]", bO = "[object Set]", SO = "[object String]", vO = "[object Symbol]", xO = "[object ArrayBuffer]", OO = "[object DataView]", yl = er ? er.prototype : void 0, Bo = yl ? yl.valueOf : void 0;
|
|
21004
21004
|
function wO(e, t, r, a, n, o, s) {
|
|
21005
21005
|
switch (r) {
|
|
21006
21006
|
case OO:
|
|
@@ -21031,8 +21031,8 @@ function wO(e, t, r, a, n, o, s) {
|
|
|
21031
21031
|
var d = fd(i(e), i(t), a, n, o, s);
|
|
21032
21032
|
return s.delete(e), d;
|
|
21033
21033
|
case vO:
|
|
21034
|
-
if (
|
|
21035
|
-
return
|
|
21034
|
+
if (Bo)
|
|
21035
|
+
return Bo.call(e) == Bo.call(t);
|
|
21036
21036
|
}
|
|
21037
21037
|
return !1;
|
|
21038
21038
|
}
|
|
@@ -21078,35 +21078,35 @@ var gd = Object.prototype, MO = gd.hasOwnProperty, jO = gd.propertyIsEnumerable,
|
|
|
21078
21078
|
function $O() {
|
|
21079
21079
|
return !1;
|
|
21080
21080
|
}
|
|
21081
|
-
var bd = typeof exports == "object" && exports && !exports.nodeType && exports, vl = bd && typeof module == "object" && module && !module.nodeType && module, UO = vl && vl.exports === bd, xl = UO ? Rt.Buffer : void 0, LO = xl ? xl.isBuffer : void 0,
|
|
21081
|
+
var bd = typeof exports == "object" && exports && !exports.nodeType && exports, vl = bd && typeof module == "object" && module && !module.nodeType && module, UO = vl && vl.exports === bd, xl = UO ? Rt.Buffer : void 0, LO = xl ? xl.isBuffer : void 0, is = LO || $O, kO = 9007199254740991, BO = /^(?:0|[1-9]\d*)$/;
|
|
21082
21082
|
function Sd(e, t) {
|
|
21083
21083
|
var r = typeof e;
|
|
21084
21084
|
return t = t ?? kO, !!t && (r == "number" || r != "symbol" && BO.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
21085
21085
|
}
|
|
21086
21086
|
var FO = 9007199254740991;
|
|
21087
|
-
function
|
|
21087
|
+
function Ps(e) {
|
|
21088
21088
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= FO;
|
|
21089
21089
|
}
|
|
21090
21090
|
var NO = "[object Arguments]", DO = "[object Array]", zO = "[object Boolean]", GO = "[object Date]", JO = "[object Error]", HO = "[object Function]", qO = "[object Map]", WO = "[object Number]", QO = "[object Object]", KO = "[object RegExp]", YO = "[object Set]", XO = "[object String]", ZO = "[object WeakMap]", ew = "[object ArrayBuffer]", tw = "[object DataView]", rw = "[object Float32Array]", aw = "[object Float64Array]", nw = "[object Int8Array]", ow = "[object Int16Array]", sw = "[object Int32Array]", iw = "[object Uint8Array]", lw = "[object Uint8ClampedArray]", cw = "[object Uint16Array]", dw = "[object Uint32Array]", xe = {};
|
|
21091
21091
|
xe[rw] = xe[aw] = xe[nw] = xe[ow] = xe[sw] = xe[iw] = xe[lw] = xe[cw] = xe[dw] = !0;
|
|
21092
21092
|
xe[NO] = xe[DO] = xe[ew] = xe[zO] = xe[tw] = xe[GO] = xe[JO] = xe[HO] = xe[qO] = xe[WO] = xe[QO] = xe[KO] = xe[YO] = xe[XO] = xe[ZO] = !1;
|
|
21093
21093
|
function uw(e) {
|
|
21094
|
-
return hr(e) &&
|
|
21094
|
+
return hr(e) && Ps(e.length) && !!xe[br(e)];
|
|
21095
21095
|
}
|
|
21096
21096
|
function pw(e) {
|
|
21097
21097
|
return function(t) {
|
|
21098
21098
|
return e(t);
|
|
21099
21099
|
};
|
|
21100
21100
|
}
|
|
21101
|
-
var vd = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
21101
|
+
var vd = typeof exports == "object" && exports && !exports.nodeType && exports, Ia = vd && typeof module == "object" && module && !module.nodeType && module, hw = Ia && Ia.exports === vd, Fo = hw && vc.process, Ol = function() {
|
|
21102
21102
|
try {
|
|
21103
|
-
var e =
|
|
21104
|
-
return e ||
|
|
21103
|
+
var e = Ia && Ia.require && Ia.require("util").types;
|
|
21104
|
+
return e || Fo && Fo.binding && Fo.binding("util");
|
|
21105
21105
|
} catch {
|
|
21106
21106
|
}
|
|
21107
21107
|
}(), wl = Ol && Ol.isTypedArray, xd = wl ? pw(wl) : uw, mw = Object.prototype, fw = mw.hasOwnProperty;
|
|
21108
21108
|
function gw(e, t) {
|
|
21109
|
-
var r = Vt(e), a = !r && yd(e), n = !r && !a &&
|
|
21109
|
+
var r = Vt(e), a = !r && yd(e), n = !r && !a && is(e), o = !r && !a && !n && xd(e), s = r || a || n || o, i = s ? EO(e.length, String) : [], l = i.length;
|
|
21110
21110
|
for (var c in e)
|
|
21111
21111
|
fw.call(e, c) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
21112
21112
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -21135,13 +21135,13 @@ function ww(e) {
|
|
|
21135
21135
|
return t;
|
|
21136
21136
|
}
|
|
21137
21137
|
function Od(e) {
|
|
21138
|
-
return e != null &&
|
|
21138
|
+
return e != null && Ps(e.length) && !md(e);
|
|
21139
21139
|
}
|
|
21140
|
-
function
|
|
21140
|
+
function Vs(e) {
|
|
21141
21141
|
return Od(e) ? gw(e) : ww(e);
|
|
21142
21142
|
}
|
|
21143
21143
|
function Cl(e) {
|
|
21144
|
-
return PO(e,
|
|
21144
|
+
return PO(e, Vs, TO);
|
|
21145
21145
|
}
|
|
21146
21146
|
var Cw = 1, Pw = Object.prototype, Vw = Pw.hasOwnProperty;
|
|
21147
21147
|
function Rw(e, t, r, a, n, o) {
|
|
@@ -21175,8 +21175,8 @@ function Rw(e, t, r, a, n, o) {
|
|
|
21175
21175
|
}
|
|
21176
21176
|
return o.delete(e), o.delete(t), h;
|
|
21177
21177
|
}
|
|
21178
|
-
var
|
|
21179
|
-
(
|
|
21178
|
+
var ls = xr(Rt, "DataView"), cs = xr(Rt, "Promise"), ds = xr(Rt, "Set"), us = xr(Rt, "WeakMap"), Pl = "[object Map]", _w = "[object Object]", Vl = "[object Promise]", Rl = "[object Set]", _l = "[object WeakMap]", Al = "[object DataView]", Aw = vr(ls), Tw = vr(Na), Ew = vr(cs), Iw = vr(ds), Mw = vr(us), Wt = br;
|
|
21179
|
+
(ls && Wt(new ls(new ArrayBuffer(1))) != Al || Na && Wt(new Na()) != Pl || cs && Wt(cs.resolve()) != Vl || ds && Wt(new ds()) != Rl || us && Wt(new us()) != _l) && (Wt = function(e) {
|
|
21180
21180
|
var t = br(e), r = t == _w ? e.constructor : void 0, a = r ? vr(r) : "";
|
|
21181
21181
|
if (a)
|
|
21182
21182
|
switch (a) {
|
|
@@ -21193,13 +21193,13 @@ var cs = xr(Rt, "DataView"), ds = xr(Rt, "Promise"), us = xr(Rt, "Set"), ps = xr
|
|
|
21193
21193
|
}
|
|
21194
21194
|
return t;
|
|
21195
21195
|
});
|
|
21196
|
-
var jw = 1, Tl = "[object Arguments]", El = "[object Array]",
|
|
21196
|
+
var jw = 1, Tl = "[object Arguments]", El = "[object Array]", cn = "[object Object]", $w = Object.prototype, Il = $w.hasOwnProperty;
|
|
21197
21197
|
function Uw(e, t, r, a, n, o) {
|
|
21198
21198
|
var s = Vt(e), i = Vt(t), l = s ? El : Wt(e), c = i ? El : Wt(t);
|
|
21199
|
-
l = l == Tl ?
|
|
21200
|
-
var d = l ==
|
|
21201
|
-
if (p &&
|
|
21202
|
-
if (!
|
|
21199
|
+
l = l == Tl ? cn : l, c = c == Tl ? cn : c;
|
|
21200
|
+
var d = l == cn, u = c == cn, p = l == c;
|
|
21201
|
+
if (p && is(e)) {
|
|
21202
|
+
if (!is(t))
|
|
21203
21203
|
return !1;
|
|
21204
21204
|
s = !0, d = !1;
|
|
21205
21205
|
}
|
|
@@ -21214,11 +21214,11 @@ function Uw(e, t, r, a, n, o) {
|
|
|
21214
21214
|
}
|
|
21215
21215
|
return p ? (o || (o = new jt()), Rw(e, t, r, a, n, o)) : !1;
|
|
21216
21216
|
}
|
|
21217
|
-
function
|
|
21218
|
-
return e === t ? !0 : e == null || t == null || !hr(e) && !hr(t) ? e !== e && t !== t : Uw(e, t, r, a,
|
|
21217
|
+
function mo(e, t, r, a, n) {
|
|
21218
|
+
return e === t ? !0 : e == null || t == null || !hr(e) && !hr(t) ? e !== e && t !== t : Uw(e, t, r, a, mo, n);
|
|
21219
21219
|
}
|
|
21220
21220
|
function Lw(e, t) {
|
|
21221
|
-
return
|
|
21221
|
+
return mo(e, t);
|
|
21222
21222
|
}
|
|
21223
21223
|
const wd = ({
|
|
21224
21224
|
store: e
|
|
@@ -21226,7 +21226,7 @@ const wd = ({
|
|
|
21226
21226
|
const { t } = $t(), [r, a] = gr(
|
|
21227
21227
|
e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached
|
|
21228
21228
|
), n = Wr(r);
|
|
21229
|
-
|
|
21229
|
+
Ha(() => {
|
|
21230
21230
|
const s = e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;
|
|
21231
21231
|
Lw(n.current, s) || (n.current = s, a(s));
|
|
21232
21232
|
});
|
|
@@ -21248,7 +21248,7 @@ const wd = ({
|
|
|
21248
21248
|
})
|
|
21249
21249
|
}
|
|
21250
21250
|
);
|
|
21251
|
-
}, kw =
|
|
21251
|
+
}, kw = hs(cu)(({ theme: e }) => ({
|
|
21252
21252
|
"&.MuiFormControl-root": {
|
|
21253
21253
|
".MuiSelect-select": {
|
|
21254
21254
|
paddingTop: "20px",
|
|
@@ -21265,7 +21265,7 @@ const wd = ({
|
|
|
21265
21265
|
}
|
|
21266
21266
|
}
|
|
21267
21267
|
}));
|
|
21268
|
-
function
|
|
21268
|
+
function dn({
|
|
21269
21269
|
labelValue: e,
|
|
21270
21270
|
...t
|
|
21271
21271
|
}) {
|
|
@@ -21308,7 +21308,7 @@ function Nw(e) {
|
|
|
21308
21308
|
}
|
|
21309
21309
|
var Dw = Nw();
|
|
21310
21310
|
function zw(e, t) {
|
|
21311
|
-
return e && Dw(e, t,
|
|
21311
|
+
return e && Dw(e, t, Vs);
|
|
21312
21312
|
}
|
|
21313
21313
|
function Gw(e, t) {
|
|
21314
21314
|
return function(r, a) {
|
|
@@ -21345,7 +21345,7 @@ function Qw(e, t, r, a) {
|
|
|
21345
21345
|
return !1;
|
|
21346
21346
|
} else {
|
|
21347
21347
|
var d = new jt(), u;
|
|
21348
|
-
if (!(u === void 0 ?
|
|
21348
|
+
if (!(u === void 0 ? mo(c, l, qw | Ww, a, d) : u))
|
|
21349
21349
|
return !1;
|
|
21350
21350
|
}
|
|
21351
21351
|
}
|
|
@@ -21355,7 +21355,7 @@ function Cd(e) {
|
|
|
21355
21355
|
return e === e && !pr(e);
|
|
21356
21356
|
}
|
|
21357
21357
|
function Kw(e) {
|
|
21358
|
-
for (var t =
|
|
21358
|
+
for (var t = Vs(e), r = t.length; r--; ) {
|
|
21359
21359
|
var a = t[r], n = e[a];
|
|
21360
21360
|
t[r] = [a, n, Cd(n)];
|
|
21361
21361
|
}
|
|
@@ -21373,14 +21373,14 @@ function Yw(e) {
|
|
|
21373
21373
|
};
|
|
21374
21374
|
}
|
|
21375
21375
|
var Xw = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Zw = /^\w*$/;
|
|
21376
|
-
function
|
|
21376
|
+
function Rs(e, t) {
|
|
21377
21377
|
if (Vt(e))
|
|
21378
21378
|
return !1;
|
|
21379
21379
|
var r = typeof e;
|
|
21380
|
-
return r == "number" || r == "symbol" || r == "boolean" || e == null ||
|
|
21380
|
+
return r == "number" || r == "symbol" || r == "boolean" || e == null || to(e) ? !0 : Zw.test(e) || !Xw.test(e) || t != null && e in Object(t);
|
|
21381
21381
|
}
|
|
21382
21382
|
var eC = "Expected a function";
|
|
21383
|
-
function
|
|
21383
|
+
function _s(e, t) {
|
|
21384
21384
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
21385
21385
|
throw new TypeError(eC);
|
|
21386
21386
|
var r = function() {
|
|
@@ -21390,12 +21390,12 @@ function As(e, t) {
|
|
|
21390
21390
|
var s = e.apply(this, a);
|
|
21391
21391
|
return r.cache = o.set(n, s) || o, s;
|
|
21392
21392
|
};
|
|
21393
|
-
return r.cache = new (
|
|
21393
|
+
return r.cache = new (_s.Cache || Bt)(), r;
|
|
21394
21394
|
}
|
|
21395
|
-
|
|
21395
|
+
_s.Cache = Bt;
|
|
21396
21396
|
var tC = 500;
|
|
21397
21397
|
function rC(e) {
|
|
21398
|
-
var t =
|
|
21398
|
+
var t = _s(e, function(a) {
|
|
21399
21399
|
return r.size === tC && r.clear(), a;
|
|
21400
21400
|
}), r = t.cache;
|
|
21401
21401
|
return t;
|
|
@@ -21417,7 +21417,7 @@ function Vd(e) {
|
|
|
21417
21417
|
return e;
|
|
21418
21418
|
if (Vt(e))
|
|
21419
21419
|
return sC(e, Vd) + "";
|
|
21420
|
-
if (
|
|
21420
|
+
if (to(e))
|
|
21421
21421
|
return $l ? $l.call(e) : "";
|
|
21422
21422
|
var t = e + "";
|
|
21423
21423
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
@@ -21426,10 +21426,10 @@ function Rd(e) {
|
|
|
21426
21426
|
return e == null ? "" : Vd(e);
|
|
21427
21427
|
}
|
|
21428
21428
|
function _d(e, t) {
|
|
21429
|
-
return Vt(e) ? e :
|
|
21429
|
+
return Vt(e) ? e : Rs(e, t) ? [e] : oC(Rd(e));
|
|
21430
21430
|
}
|
|
21431
|
-
function
|
|
21432
|
-
if (typeof e == "string" ||
|
|
21431
|
+
function fo(e) {
|
|
21432
|
+
if (typeof e == "string" || to(e))
|
|
21433
21433
|
return e;
|
|
21434
21434
|
var t = e + "";
|
|
21435
21435
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
@@ -21437,7 +21437,7 @@ function go(e) {
|
|
|
21437
21437
|
function Ad(e, t) {
|
|
21438
21438
|
t = _d(t, e);
|
|
21439
21439
|
for (var r = 0, a = t.length; e != null && r < a; )
|
|
21440
|
-
e = e[
|
|
21440
|
+
e = e[fo(t[r++])];
|
|
21441
21441
|
return r && r == a ? e : void 0;
|
|
21442
21442
|
}
|
|
21443
21443
|
function iC(e, t, r) {
|
|
@@ -21450,21 +21450,21 @@ function lC(e, t) {
|
|
|
21450
21450
|
function cC(e, t, r) {
|
|
21451
21451
|
t = _d(t, e);
|
|
21452
21452
|
for (var a = -1, n = t.length, o = !1; ++a < n; ) {
|
|
21453
|
-
var s =
|
|
21453
|
+
var s = fo(t[a]);
|
|
21454
21454
|
if (!(o = e != null && r(e, s)))
|
|
21455
21455
|
break;
|
|
21456
21456
|
e = e[s];
|
|
21457
21457
|
}
|
|
21458
|
-
return o || ++a != n ? o : (n = e == null ? 0 : e.length, !!n &&
|
|
21458
|
+
return o || ++a != n ? o : (n = e == null ? 0 : e.length, !!n && Ps(n) && Sd(s, n) && (Vt(e) || yd(e)));
|
|
21459
21459
|
}
|
|
21460
21460
|
function dC(e, t) {
|
|
21461
21461
|
return e != null && cC(e, t, lC);
|
|
21462
21462
|
}
|
|
21463
21463
|
var uC = 1, pC = 2;
|
|
21464
21464
|
function hC(e, t) {
|
|
21465
|
-
return
|
|
21465
|
+
return Rs(e) && Cd(t) ? Pd(fo(e), t) : function(r) {
|
|
21466
21466
|
var a = iC(r, e);
|
|
21467
|
-
return a === void 0 && a === t ? dC(r, e) :
|
|
21467
|
+
return a === void 0 && a === t ? dC(r, e) : mo(t, a, uC | pC);
|
|
21468
21468
|
};
|
|
21469
21469
|
}
|
|
21470
21470
|
function mC(e) {
|
|
@@ -21481,7 +21481,7 @@ function gC(e) {
|
|
|
21481
21481
|
};
|
|
21482
21482
|
}
|
|
21483
21483
|
function yC(e) {
|
|
21484
|
-
return
|
|
21484
|
+
return Rs(e) ? fC(fo(e)) : gC(e);
|
|
21485
21485
|
}
|
|
21486
21486
|
function bC(e) {
|
|
21487
21487
|
return typeof e == "function" ? e : e == null ? mC : typeof e == "object" ? Vt(e) ? hC(e[0], e[1]) : Yw(e) : yC(e);
|
|
@@ -21492,23 +21492,23 @@ function SC(e, t) {
|
|
|
21492
21492
|
return n(r, e, bC(a), o);
|
|
21493
21493
|
};
|
|
21494
21494
|
}
|
|
21495
|
-
var
|
|
21495
|
+
var un = SC(function(e, t, r) {
|
|
21496
21496
|
Bw(e, r, t);
|
|
21497
21497
|
}), vC = 0;
|
|
21498
21498
|
function xC(e) {
|
|
21499
21499
|
var t = ++vC;
|
|
21500
21500
|
return Rd(e) + t;
|
|
21501
21501
|
}
|
|
21502
|
-
const
|
|
21502
|
+
const ps = [
|
|
21503
21503
|
{ id: "0.1", mm: 0.1, degrees: 0.05 },
|
|
21504
21504
|
{ id: "1", mm: 1, degrees: 0.5 },
|
|
21505
21505
|
{ id: "5", mm: 5, degrees: 2.5 },
|
|
21506
21506
|
{ id: "10", mm: 10, degrees: 5 }
|
|
21507
21507
|
], OC = [
|
|
21508
21508
|
{ id: "continuous" },
|
|
21509
|
-
...
|
|
21509
|
+
...ps
|
|
21510
21510
|
], wC = ["coordsys", "tool"];
|
|
21511
|
-
class
|
|
21511
|
+
class As {
|
|
21512
21512
|
constructor(t, r, a, n) {
|
|
21513
21513
|
var o, s;
|
|
21514
21514
|
this.jogger = t, this.motionGroupSpec = r, this.coordSystems = a, this.tcps = n, this.selectedTabId = "cartesian", this.activationState = "inactive", this.activationError = null, this.activationCounter = 0, this.locks = /* @__PURE__ */ new Set(), this.selectedCoordSystemId = "world", this.selectedTcpId = "", this.selectedOrientation = "coordsys", this.selectedIncrementId = "continuous", this.selectedCartesianMotionType = "translate", this.incrementJogInProgress = null, this.translationVelocityMmPerSec = 10, this.rotationVelocityDegPerSec = 1, this.minTranslationVelocityMmPerSec = 5, this.maxTranslationVelocityMmPerSec = 250, this.minRotationVelocityDegPerSec = 1, this.maxRotationVelocityDegPerSec = 60, this.showCoordSystemSelect = !0, this.showTcpSelect = !0, this.showOrientationSelect = !0, this.showIncrementSelect = !0, this.disposers = [];
|
|
@@ -21517,7 +21517,7 @@ class Ts {
|
|
|
21517
21517
|
i.coordinate_system = "world";
|
|
21518
21518
|
break;
|
|
21519
21519
|
}
|
|
21520
|
-
this.selectedCoordSystemId = ((o = a[0]) == null ? void 0 : o.coordinate_system) || "world", this.selectedTcpId = ((s = n[0]) == null ? void 0 : s.id) || "",
|
|
21520
|
+
this.selectedCoordSystemId = ((o = a[0]) == null ? void 0 : o.coordinate_system) || "world", this.selectedTcpId = ((s = n[0]) == null ? void 0 : s.id) || "", ms(this, {}, { autoBind: !0 }), this.loadFromLocalStorage(), this.disposers.push(ql(() => this.saveToLocalStorage())), window.joggingStore = this;
|
|
21521
21521
|
}
|
|
21522
21522
|
/**
|
|
21523
21523
|
* Load a jogging store with the relevant data it needs
|
|
@@ -21536,7 +21536,7 @@ class Ts {
|
|
|
21536
21536
|
"ROTATION_VECTOR"
|
|
21537
21537
|
)
|
|
21538
21538
|
]);
|
|
21539
|
-
return new
|
|
21539
|
+
return new As(
|
|
21540
21540
|
t,
|
|
21541
21541
|
a,
|
|
21542
21542
|
n || [],
|
|
@@ -21606,13 +21606,13 @@ class Ts {
|
|
|
21606
21606
|
return OC;
|
|
21607
21607
|
}
|
|
21608
21608
|
get discreteIncrementOptions() {
|
|
21609
|
-
return
|
|
21609
|
+
return ps;
|
|
21610
21610
|
}
|
|
21611
21611
|
get incrementOptionsById() {
|
|
21612
|
-
return
|
|
21612
|
+
return un(this.incrementOptions, (t) => t.id);
|
|
21613
21613
|
}
|
|
21614
21614
|
get tabsById() {
|
|
21615
|
-
return
|
|
21615
|
+
return un(this.tabs, (t) => t.id);
|
|
21616
21616
|
}
|
|
21617
21617
|
get currentTab() {
|
|
21618
21618
|
return this.tabsById[this.selectedTabId] || this.tabs[0];
|
|
@@ -21621,7 +21621,7 @@ class Ts {
|
|
|
21621
21621
|
return this.tabs.indexOf(this.currentTab);
|
|
21622
21622
|
}
|
|
21623
21623
|
get coordSystemsById() {
|
|
21624
|
-
return
|
|
21624
|
+
return un(this.coordSystems, (t) => t.coordinate_system);
|
|
21625
21625
|
}
|
|
21626
21626
|
get selectedCoordSystem() {
|
|
21627
21627
|
return this.coordSystemsById[this.selectedCoordSystemId];
|
|
@@ -21635,10 +21635,10 @@ class Ts {
|
|
|
21635
21635
|
return this.selectedOrientation === "tool" ? "tool" : this.selectedCoordSystemId;
|
|
21636
21636
|
}
|
|
21637
21637
|
get tcpsById() {
|
|
21638
|
-
return
|
|
21638
|
+
return un(this.tcps, (t) => t.id);
|
|
21639
21639
|
}
|
|
21640
21640
|
get activeDiscreteIncrement() {
|
|
21641
|
-
return this.selectedOrientation === "tool" ? void 0 :
|
|
21641
|
+
return this.selectedOrientation === "tool" ? void 0 : ps.find((t) => t.id === this.selectedIncrementId);
|
|
21642
21642
|
}
|
|
21643
21643
|
/** The selected rotation velocity converted to radians per second */
|
|
21644
21644
|
get rotationVelocityRadsPerSec() {
|
|
@@ -21706,20 +21706,83 @@ class Ts {
|
|
|
21706
21706
|
}
|
|
21707
21707
|
}
|
|
21708
21708
|
const CC = De(({ store: e }) => {
|
|
21709
|
-
var
|
|
21710
|
-
const { t } = $t();
|
|
21711
|
-
function
|
|
21712
|
-
switch (
|
|
21709
|
+
var n;
|
|
21710
|
+
const { t } = $t(), r = [];
|
|
21711
|
+
function a(o) {
|
|
21712
|
+
switch (o) {
|
|
21713
21713
|
case "coordsys":
|
|
21714
21714
|
return t("Jogging.Orientation.coordsys");
|
|
21715
21715
|
case "tool":
|
|
21716
21716
|
return t("Jogging.Orientation.tool");
|
|
21717
21717
|
default:
|
|
21718
|
-
return
|
|
21718
|
+
return o;
|
|
21719
21719
|
}
|
|
21720
21720
|
}
|
|
21721
|
-
return
|
|
21722
|
-
|
|
21721
|
+
return e.showCoordSystemSelect && r.push(
|
|
21722
|
+
/* @__PURE__ */ S.jsx(
|
|
21723
|
+
dn,
|
|
21724
|
+
{
|
|
21725
|
+
labelId: "jogging-coord-select",
|
|
21726
|
+
labelValue: t("Jogging.CoordinateSystem.hlb"),
|
|
21727
|
+
value: e.selectedCoordSystemId,
|
|
21728
|
+
size: "small",
|
|
21729
|
+
variant: "filled",
|
|
21730
|
+
displayEmpty: !0,
|
|
21731
|
+
onChange: (o) => e.setSelectedCoordSystemId(o.target.value),
|
|
21732
|
+
disabled: e.isLocked,
|
|
21733
|
+
children: e.coordSystems.map((o) => /* @__PURE__ */ S.jsx(ha, { value: o.coordinate_system, children: o.name && e.coordSystemCountByName[o.name] > 1 ? `${o.name} / ${o.coordinate_system}` : o.name || o.coordinate_system }, o.coordinate_system))
|
|
21734
|
+
},
|
|
21735
|
+
"coord"
|
|
21736
|
+
)
|
|
21737
|
+
), e.showTcpSelect && r.push(
|
|
21738
|
+
/* @__PURE__ */ S.jsx(
|
|
21739
|
+
dn,
|
|
21740
|
+
{
|
|
21741
|
+
labelId: "jogging-tcp-select",
|
|
21742
|
+
labelValue: "TCP",
|
|
21743
|
+
value: e.selectedTcpId,
|
|
21744
|
+
size: "small",
|
|
21745
|
+
variant: "filled",
|
|
21746
|
+
onChange: (o) => e.setSelectedTcpId(o.target.value),
|
|
21747
|
+
disabled: e.isLocked,
|
|
21748
|
+
children: e.tcps.map((o) => /* @__PURE__ */ S.jsx(ha, { value: o.id, children: o.id }, o.id))
|
|
21749
|
+
},
|
|
21750
|
+
"tcp"
|
|
21751
|
+
)
|
|
21752
|
+
), e.showOrientationSelect && r.push(
|
|
21753
|
+
/* @__PURE__ */ S.jsx(
|
|
21754
|
+
dn,
|
|
21755
|
+
{
|
|
21756
|
+
labelValue: t("Jogging.Cartesian.Orientation.lb"),
|
|
21757
|
+
id: "orientation-select",
|
|
21758
|
+
labelId: "orientation-select",
|
|
21759
|
+
value: e.selectedOrientation,
|
|
21760
|
+
onChange: (o) => e.setSelectedOrientation(o.target.value),
|
|
21761
|
+
disabled: e.isLocked,
|
|
21762
|
+
children: wC.map((o) => /* @__PURE__ */ S.jsx(ha, { value: o, children: a(o) }, o))
|
|
21763
|
+
},
|
|
21764
|
+
"orientation"
|
|
21765
|
+
)
|
|
21766
|
+
), e.showIncrementSelect && r.push(
|
|
21767
|
+
/* @__PURE__ */ S.jsxs(
|
|
21768
|
+
dn,
|
|
21769
|
+
{
|
|
21770
|
+
labelValue: t("Jogging.Increment.hlb"),
|
|
21771
|
+
labelId: "jogging-increment-select",
|
|
21772
|
+
size: "small",
|
|
21773
|
+
variant: "filled",
|
|
21774
|
+
value: ((n = e.activeDiscreteIncrement) == null ? void 0 : n.id) || "continuous",
|
|
21775
|
+
onChange: (o) => e.setSelectedIncrementId(o.target.value),
|
|
21776
|
+
disabled: e.isLocked,
|
|
21777
|
+
children: [
|
|
21778
|
+
/* @__PURE__ */ S.jsx(ha, { value: "continuous", children: t("Jogging.Increment.Continuous.dd") }, "continuous"),
|
|
21779
|
+
e.selectedOrientation === "tool" ? null : e.discreteIncrementOptions.map((o) => /* @__PURE__ */ S.jsx(ha, { value: o.id, children: e.currentMotionType === "translate" ? `${o.mm}mm` : `${o.degrees}°` }, o.id))
|
|
21780
|
+
]
|
|
21781
|
+
},
|
|
21782
|
+
"increment"
|
|
21783
|
+
)
|
|
21784
|
+
), /* @__PURE__ */ S.jsx(
|
|
21785
|
+
$s,
|
|
21723
21786
|
{
|
|
21724
21787
|
component: "div",
|
|
21725
21788
|
sx: {
|
|
@@ -21729,80 +21792,19 @@ const CC = De(({ store: e }) => {
|
|
|
21729
21792
|
gridAutoRows: "min-content",
|
|
21730
21793
|
"& label": { opacity: 0.7, fontSize: "12px", marginBottom: "4px" }
|
|
21731
21794
|
},
|
|
21732
|
-
children:
|
|
21733
|
-
|
|
21734
|
-
|
|
21735
|
-
{
|
|
21736
|
-
|
|
21737
|
-
|
|
21738
|
-
|
|
21739
|
-
|
|
21740
|
-
|
|
21741
|
-
|
|
21742
|
-
onChange: (n) => e.setSelectedCoordSystemId(n.target.value),
|
|
21743
|
-
disabled: e.isLocked,
|
|
21744
|
-
children: e.coordSystems.map((n) => /* @__PURE__ */ S.jsx(ma, { value: n.coordinate_system, children: n.name && e.coordSystemCountByName[n.name] > 1 ? `${n.name} / ${n.coordinate_system}` : n.name || n.coordinate_system }, n.coordinate_system))
|
|
21745
|
-
}
|
|
21746
|
-
) }),
|
|
21747
|
-
e.showTcpSelect && /* @__PURE__ */ S.jsx(
|
|
21748
|
-
ha,
|
|
21749
|
-
{
|
|
21750
|
-
sx: { gridColumn: e.showCoordSystemSelect ? "auto" : "span 2" },
|
|
21751
|
-
children: /* @__PURE__ */ S.jsx(
|
|
21752
|
-
un,
|
|
21753
|
-
{
|
|
21754
|
-
labelId: "jogging-tcp-select",
|
|
21755
|
-
labelValue: "TCP",
|
|
21756
|
-
value: e.selectedTcpId,
|
|
21757
|
-
size: "small",
|
|
21758
|
-
variant: "filled",
|
|
21759
|
-
onChange: (n) => e.setSelectedTcpId(n.target.value),
|
|
21760
|
-
disabled: e.isLocked,
|
|
21761
|
-
children: e.tcps.map((n) => /* @__PURE__ */ S.jsx(ma, { value: n.id, children: n.id }, n.id))
|
|
21762
|
-
}
|
|
21763
|
-
)
|
|
21764
|
-
}
|
|
21765
|
-
),
|
|
21766
|
-
e.showOrientationSelect && /* @__PURE__ */ S.jsx(ha, { sx: { gridColumn: e.showIncrementSelect ? "auto" : "span 2" }, children: /* @__PURE__ */ S.jsx(
|
|
21767
|
-
un,
|
|
21768
|
-
{
|
|
21769
|
-
labelValue: t("Jogging.Cartesian.Orientation.lb"),
|
|
21770
|
-
id: "orientation-select",
|
|
21771
|
-
labelId: "orientation-select",
|
|
21772
|
-
value: e.selectedOrientation,
|
|
21773
|
-
onChange: (n) => e.setSelectedOrientation(n.target.value),
|
|
21774
|
-
disabled: e.isLocked,
|
|
21775
|
-
children: wC.map((n) => /* @__PURE__ */ S.jsx(ma, { value: n, children: r(n) }, n))
|
|
21776
|
-
}
|
|
21777
|
-
) }),
|
|
21778
|
-
e.showIncrementSelect && /* @__PURE__ */ S.jsx(
|
|
21779
|
-
ha,
|
|
21780
|
-
{
|
|
21781
|
-
sx: { gridColumn: e.showOrientationSelect ? "auto" : "span 2" },
|
|
21782
|
-
children: /* @__PURE__ */ S.jsxs(
|
|
21783
|
-
un,
|
|
21784
|
-
{
|
|
21785
|
-
labelValue: t("Jogging.Increment.hlb"),
|
|
21786
|
-
labelId: "jogging-increment-select",
|
|
21787
|
-
size: "small",
|
|
21788
|
-
variant: "filled",
|
|
21789
|
-
value: ((a = e.activeDiscreteIncrement) == null ? void 0 : a.id) || "continuous",
|
|
21790
|
-
onChange: (n) => e.setSelectedIncrementId(
|
|
21791
|
-
n.target.value
|
|
21792
|
-
),
|
|
21793
|
-
disabled: e.isLocked,
|
|
21794
|
-
children: [
|
|
21795
|
-
/* @__PURE__ */ S.jsx(ma, { value: "continuous", children: t("Jogging.Increment.Continuous.dd") }, "continuous"),
|
|
21796
|
-
e.selectedOrientation === "tool" ? null : e.discreteIncrementOptions.map((n) => /* @__PURE__ */ S.jsx(ma, { value: n.id, children: e.currentMotionType === "translate" ? `${n.mm}mm` : `${n.degrees}°` }, n.id))
|
|
21797
|
-
]
|
|
21798
|
-
}
|
|
21799
|
-
)
|
|
21800
|
-
}
|
|
21801
|
-
)
|
|
21802
|
-
]
|
|
21795
|
+
children: r.map((o, s) => /* @__PURE__ */ S.jsx(
|
|
21796
|
+
$s,
|
|
21797
|
+
{
|
|
21798
|
+
sx: {
|
|
21799
|
+
gridColumn: r.length % 2 === 1 && s === r.length - 1 ? "span 2" : "auto"
|
|
21800
|
+
},
|
|
21801
|
+
children: o
|
|
21802
|
+
},
|
|
21803
|
+
s
|
|
21804
|
+
))
|
|
21803
21805
|
}
|
|
21804
21806
|
);
|
|
21805
|
-
}), PC =
|
|
21807
|
+
}), PC = hs(du)(({ theme: e }) => {
|
|
21806
21808
|
var t;
|
|
21807
21809
|
return {
|
|
21808
21810
|
"&.MuiToggleButtonGroup-root": {
|
|
@@ -21847,7 +21849,7 @@ function Ul(e, t) {
|
|
|
21847
21849
|
}, null) ?? {};
|
|
21848
21850
|
return r;
|
|
21849
21851
|
}
|
|
21850
|
-
function
|
|
21852
|
+
function pn(e, t) {
|
|
21851
21853
|
if (t.current !== void 0 && e.changedTouches) {
|
|
21852
21854
|
const r = e;
|
|
21853
21855
|
for (let a = 0; a < r.changedTouches.length; a += 1) {
|
|
@@ -21865,7 +21867,7 @@ function hn(e, t) {
|
|
|
21865
21867
|
y: e.clientY
|
|
21866
21868
|
};
|
|
21867
21869
|
}
|
|
21868
|
-
function
|
|
21870
|
+
function Fn(e, t, r) {
|
|
21869
21871
|
return (e - t) * 100 / (r - t);
|
|
21870
21872
|
}
|
|
21871
21873
|
function _C(e, t, r) {
|
|
@@ -21891,16 +21893,16 @@ function Ll({
|
|
|
21891
21893
|
const a = e.slice();
|
|
21892
21894
|
return a[r] = t, a.sort(Td);
|
|
21893
21895
|
}
|
|
21894
|
-
function
|
|
21896
|
+
function hn({
|
|
21895
21897
|
sliderRef: e,
|
|
21896
21898
|
activeIndex: t,
|
|
21897
21899
|
setActive: r
|
|
21898
21900
|
}) {
|
|
21899
21901
|
var n, o, s;
|
|
21900
|
-
const a =
|
|
21902
|
+
const a = bn(e.current);
|
|
21901
21903
|
(!((n = e.current) != null && n.contains(a.activeElement)) || Number((o = a == null ? void 0 : a.activeElement) == null ? void 0 : o.getAttribute("data-index")) !== t) && ((s = e.current) == null || s.querySelector(`[type="range"][data-index="${t}"]`).focus()), r && r(t);
|
|
21902
21904
|
}
|
|
21903
|
-
function
|
|
21905
|
+
function mn(e, t) {
|
|
21904
21906
|
return typeof e == "number" && typeof t == "number" ? e === t : typeof e == "object" && typeof t == "object" ? VC(e, t) : !1;
|
|
21905
21907
|
}
|
|
21906
21908
|
const EC = {
|
|
@@ -21929,9 +21931,9 @@ const EC = {
|
|
|
21929
21931
|
})
|
|
21930
21932
|
}
|
|
21931
21933
|
}, IC = (e) => e;
|
|
21932
|
-
let
|
|
21934
|
+
let fn;
|
|
21933
21935
|
function kl() {
|
|
21934
|
-
return
|
|
21936
|
+
return fn === void 0 && (typeof CSS < "u" && typeof CSS.supports == "function" ? fn = CSS.supports("touch-action", "none") : fn = !0), fn;
|
|
21935
21937
|
}
|
|
21936
21938
|
function MC(e) {
|
|
21937
21939
|
const {
|
|
@@ -21994,12 +21996,12 @@ function MC(e) {
|
|
|
21994
21996
|
index: X
|
|
21995
21997
|
});
|
|
21996
21998
|
let Be = X;
|
|
21997
|
-
n || (Be = Z.indexOf(Me)),
|
|
21999
|
+
n || (Be = Z.indexOf(Me)), hn({
|
|
21998
22000
|
sliderRef: se,
|
|
21999
22001
|
activeIndex: Be
|
|
22000
22002
|
});
|
|
22001
22003
|
}
|
|
22002
|
-
G(Z), Se(X), z && !
|
|
22004
|
+
G(Z), Se(X), z && !mn(Z, N) && z(q, Z, X), u && u(q, $.current ?? Z);
|
|
22003
22005
|
}, rr = (q) => (Q) => {
|
|
22004
22006
|
var X;
|
|
22005
22007
|
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(Q.key)) {
|
|
@@ -22088,8 +22090,8 @@ function MC(e) {
|
|
|
22088
22090
|
newValue: Ae,
|
|
22089
22091
|
activeIndex: We
|
|
22090
22092
|
};
|
|
22091
|
-
}, At =
|
|
22092
|
-
const Q =
|
|
22093
|
+
}, At = xo((q) => {
|
|
22094
|
+
const Q = pn(q, D);
|
|
22093
22095
|
if (!Q)
|
|
22094
22096
|
return;
|
|
22095
22097
|
if (y.current += 1, q.type === "mousemove" && q.buttons === 0) {
|
|
@@ -22103,13 +22105,13 @@ function MC(e) {
|
|
|
22103
22105
|
finger: Q,
|
|
22104
22106
|
move: !0
|
|
22105
22107
|
});
|
|
22106
|
-
|
|
22108
|
+
hn({
|
|
22107
22109
|
sliderRef: se,
|
|
22108
22110
|
activeIndex: ie,
|
|
22109
22111
|
setActive: F
|
|
22110
|
-
}), G(X), !L && y.current > RC && B(!0), z && !
|
|
22111
|
-
}), Xe =
|
|
22112
|
-
const Q =
|
|
22112
|
+
}), G(X), !L && y.current > RC && B(!0), z && !mn(X, N) && z(q, X, ie);
|
|
22113
|
+
}), Xe = xo((q) => {
|
|
22114
|
+
const Q = pn(q, D);
|
|
22113
22115
|
if (B(!1), !Q)
|
|
22114
22116
|
return;
|
|
22115
22117
|
const {
|
|
@@ -22119,13 +22121,13 @@ function MC(e) {
|
|
|
22119
22121
|
move: !0
|
|
22120
22122
|
});
|
|
22121
22123
|
F(-1), q.type === "touchend" && I(-1), u && u(q, $.current ?? X), D.current = void 0, Tt();
|
|
22122
|
-
}), ke =
|
|
22124
|
+
}), ke = xo((q) => {
|
|
22123
22125
|
if (a)
|
|
22124
22126
|
return;
|
|
22125
22127
|
kl() || q.preventDefault();
|
|
22126
22128
|
const Q = q.changedTouches[0];
|
|
22127
22129
|
Q != null && (D.current = Q.identifier);
|
|
22128
|
-
const X =
|
|
22130
|
+
const X = pn(q, D);
|
|
22129
22131
|
if (X !== !1) {
|
|
22130
22132
|
const {
|
|
22131
22133
|
newValue: ue,
|
|
@@ -22133,21 +22135,21 @@ function MC(e) {
|
|
|
22133
22135
|
} = ot({
|
|
22134
22136
|
finger: X
|
|
22135
22137
|
});
|
|
22136
|
-
|
|
22138
|
+
hn({
|
|
22137
22139
|
sliderRef: se,
|
|
22138
22140
|
activeIndex: Z,
|
|
22139
22141
|
setActive: F
|
|
22140
|
-
}), G(ue), z && !
|
|
22142
|
+
}), G(ue), z && !mn(ue, N) && z(q, ue, Z);
|
|
22141
22143
|
}
|
|
22142
22144
|
y.current = 0;
|
|
22143
|
-
const ie =
|
|
22145
|
+
const ie = bn(se.current);
|
|
22144
22146
|
ie.addEventListener("touchmove", At, {
|
|
22145
22147
|
passive: !0
|
|
22146
22148
|
}), ie.addEventListener("touchend", Xe, {
|
|
22147
22149
|
passive: !0
|
|
22148
22150
|
});
|
|
22149
22151
|
}), Tt = J.useCallback(() => {
|
|
22150
|
-
const q =
|
|
22152
|
+
const q = bn(se.current);
|
|
22151
22153
|
q.removeEventListener("mousemove", At), q.removeEventListener("mouseup", Xe), q.removeEventListener("touchmove", At), q.removeEventListener("touchend", Xe);
|
|
22152
22154
|
}, [Xe, At]);
|
|
22153
22155
|
J.useEffect(() => {
|
|
@@ -22167,7 +22169,7 @@ function MC(e) {
|
|
|
22167
22169
|
if ((ue = q.onMouseDown) == null || ue.call(q, Q), a || Q.defaultPrevented || Q.button !== 0)
|
|
22168
22170
|
return;
|
|
22169
22171
|
Q.preventDefault();
|
|
22170
|
-
const X =
|
|
22172
|
+
const X = pn(Q, D);
|
|
22171
22173
|
if (X !== !1) {
|
|
22172
22174
|
const {
|
|
22173
22175
|
newValue: Z,
|
|
@@ -22175,19 +22177,19 @@ function MC(e) {
|
|
|
22175
22177
|
} = ot({
|
|
22176
22178
|
finger: X
|
|
22177
22179
|
});
|
|
22178
|
-
|
|
22180
|
+
hn({
|
|
22179
22181
|
sliderRef: se,
|
|
22180
22182
|
activeIndex: Me,
|
|
22181
22183
|
setActive: F
|
|
22182
|
-
}), G(Z), z && !
|
|
22184
|
+
}), G(Z), z && !mn(Z, N) && z(Q, Z, Me);
|
|
22183
22185
|
}
|
|
22184
22186
|
y.current = 0;
|
|
22185
|
-
const ie =
|
|
22187
|
+
const ie = bn(se.current);
|
|
22186
22188
|
ie.addEventListener("mousemove", At, {
|
|
22187
22189
|
passive: !0
|
|
22188
22190
|
}), ie.addEventListener("mouseup", Xe);
|
|
22189
|
-
}, gt =
|
|
22190
|
-
const Q =
|
|
22191
|
+
}, gt = Fn(ee ? Y[0] : l, l, i), Ue = Fn(Y[Y.length - 1], l, i) - gt, Dt = (q = {}) => {
|
|
22192
|
+
const Q = Sn(q), X = {
|
|
22191
22193
|
onMouseDown: Nt(Q || {})
|
|
22192
22194
|
}, ie = {
|
|
22193
22195
|
...Q,
|
|
@@ -22207,7 +22209,7 @@ function MC(e) {
|
|
|
22207
22209
|
var X;
|
|
22208
22210
|
(X = q.onMouseLeave) == null || X.call(q, Q), I(-1);
|
|
22209
22211
|
}, Cr = (q = {}) => {
|
|
22210
|
-
const Q =
|
|
22212
|
+
const Q = Sn(q), X = {
|
|
22211
22213
|
onMouseOver: Et(Q || {}),
|
|
22212
22214
|
onMouseLeave: wr(Q || {})
|
|
22213
22215
|
};
|
|
@@ -22228,7 +22230,7 @@ function MC(e) {
|
|
|
22228
22230
|
dragging: L,
|
|
22229
22231
|
focusedThumbIndex: de,
|
|
22230
22232
|
getHiddenInputProps: (q = {}) => {
|
|
22231
|
-
const Q =
|
|
22233
|
+
const Q = Sn(q), X = {
|
|
22232
22234
|
onChange: Ft(Q || {}),
|
|
22233
22235
|
onFocus: _t(Q || {}),
|
|
22234
22236
|
onBlur: sa(Q || {}),
|
|
@@ -22273,10 +22275,10 @@ function MC(e) {
|
|
|
22273
22275
|
getThumbStyle: zt
|
|
22274
22276
|
};
|
|
22275
22277
|
}
|
|
22276
|
-
function
|
|
22278
|
+
function wn(e) {
|
|
22277
22279
|
return typeof e == "string";
|
|
22278
22280
|
}
|
|
22279
|
-
const jC = (e) => !e || !
|
|
22281
|
+
const jC = (e) => !e || !wn(e);
|
|
22280
22282
|
function $C(e) {
|
|
22281
22283
|
return typeof e.main == "string";
|
|
22282
22284
|
}
|
|
@@ -22288,11 +22290,11 @@ function UC(e, t = []) {
|
|
|
22288
22290
|
return !1;
|
|
22289
22291
|
return !0;
|
|
22290
22292
|
}
|
|
22291
|
-
function
|
|
22293
|
+
function Ts(e = []) {
|
|
22292
22294
|
return ([, t]) => t && UC(t, e);
|
|
22293
22295
|
}
|
|
22294
22296
|
function LC(e) {
|
|
22295
|
-
return
|
|
22297
|
+
return Ja("MuiSlider", e);
|
|
22296
22298
|
}
|
|
22297
22299
|
const lt = tc("MuiSlider", ["root", "active", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "disabled", "dragging", "focusVisible", "mark", "markActive", "marked", "markLabel", "markLabelActive", "rail", "sizeSmall", "thumb", "thumbColorPrimary", "thumbColorSecondary", "thumbColorError", "thumbColorSuccess", "thumbColorInfo", "thumbColorWarning", "track", "trackInverted", "trackFalse", "thumbSizeSmall", "valueLabel", "valueLabelOpen", "valueLabelCircle", "valueLabelLabel", "vertical"]), kC = (e) => {
|
|
22298
22300
|
const {
|
|
@@ -22366,7 +22368,7 @@ const BC = Ut("span", {
|
|
|
22366
22368
|
transition: "none"
|
|
22367
22369
|
}
|
|
22368
22370
|
},
|
|
22369
|
-
variants: [...Object.entries(e.palette).filter(
|
|
22371
|
+
variants: [...Object.entries(e.palette).filter(Ts()).map(([t]) => ({
|
|
22370
22372
|
props: {
|
|
22371
22373
|
color: t
|
|
22372
22374
|
},
|
|
@@ -22519,7 +22521,7 @@ const BC = Ut("span", {
|
|
|
22519
22521
|
style: {
|
|
22520
22522
|
display: "none"
|
|
22521
22523
|
}
|
|
22522
|
-
}, ...Object.entries(e.palette).filter(
|
|
22524
|
+
}, ...Object.entries(e.palette).filter(Ts()).map(([t]) => ({
|
|
22523
22525
|
props: {
|
|
22524
22526
|
color: t,
|
|
22525
22527
|
track: "inverted"
|
|
@@ -22529,13 +22531,13 @@ const BC = Ut("span", {
|
|
|
22529
22531
|
backgroundColor: e.vars.palette.Slider[`${t}Track`],
|
|
22530
22532
|
borderColor: e.vars.palette.Slider[`${t}Track`]
|
|
22531
22533
|
} : {
|
|
22532
|
-
backgroundColor:
|
|
22533
|
-
borderColor:
|
|
22534
|
+
backgroundColor: ja(e.palette[t].main, 0.62),
|
|
22535
|
+
borderColor: ja(e.palette[t].main, 0.62),
|
|
22534
22536
|
...e.applyStyles("dark", {
|
|
22535
|
-
backgroundColor:
|
|
22537
|
+
backgroundColor: Ma(e.palette[t].main, 0.5)
|
|
22536
22538
|
}),
|
|
22537
22539
|
...e.applyStyles("dark", {
|
|
22538
|
-
borderColor:
|
|
22540
|
+
borderColor: Ma(e.palette[t].main, 0.5)
|
|
22539
22541
|
})
|
|
22540
22542
|
}
|
|
22541
22543
|
}
|
|
@@ -22616,7 +22618,7 @@ const BC = Ut("span", {
|
|
|
22616
22618
|
left: "50%",
|
|
22617
22619
|
transform: "translate(-50%, 50%)"
|
|
22618
22620
|
}
|
|
22619
|
-
}, ...Object.entries(e.palette).filter(
|
|
22621
|
+
}, ...Object.entries(e.palette).filter(Ts()).map(([t]) => ({
|
|
22620
22622
|
props: {
|
|
22621
22623
|
color: t
|
|
22622
22624
|
},
|
|
@@ -22625,7 +22627,7 @@ const BC = Ut("span", {
|
|
|
22625
22627
|
...e.vars ? {
|
|
22626
22628
|
boxShadow: `0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`
|
|
22627
22629
|
} : {
|
|
22628
|
-
boxShadow: `0px 0px 0px 8px ${
|
|
22630
|
+
boxShadow: `0px 0px 0px 8px ${zo(e.palette[t].main, 0.16)}`
|
|
22629
22631
|
},
|
|
22630
22632
|
"@media (hover: none)": {
|
|
22631
22633
|
boxShadow: "none"
|
|
@@ -22635,7 +22637,7 @@ const BC = Ut("span", {
|
|
|
22635
22637
|
...e.vars ? {
|
|
22636
22638
|
boxShadow: `0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`
|
|
22637
22639
|
} : {
|
|
22638
|
-
boxShadow: `0px 0px 0px 14px ${
|
|
22640
|
+
boxShadow: `0px 0px 0px 14px ${zo(e.palette[t].main, 0.16)}`
|
|
22639
22641
|
}
|
|
22640
22642
|
}
|
|
22641
22643
|
}
|
|
@@ -22750,7 +22752,7 @@ process.env.NODE_ENV !== "production" && (Id.propTypes = {
|
|
|
22750
22752
|
const zC = Ut("span", {
|
|
22751
22753
|
name: "MuiSlider",
|
|
22752
22754
|
slot: "Mark",
|
|
22753
|
-
shouldForwardProp: (e) =>
|
|
22755
|
+
shouldForwardProp: (e) => Ss(e) && e !== "markActive",
|
|
22754
22756
|
overridesResolver: (e, t) => {
|
|
22755
22757
|
const {
|
|
22756
22758
|
markActive: r
|
|
@@ -22793,7 +22795,7 @@ const zC = Ut("span", {
|
|
|
22793
22795
|
}))), GC = Ut("span", {
|
|
22794
22796
|
name: "MuiSlider",
|
|
22795
22797
|
slot: "MarkLabel",
|
|
22796
|
-
shouldForwardProp: (e) =>
|
|
22798
|
+
shouldForwardProp: (e) => Ss(e) && e !== "markLabelActive",
|
|
22797
22799
|
overridesResolver: (e, t) => t.markLabel
|
|
22798
22800
|
})(yr(({
|
|
22799
22801
|
theme: e
|
|
@@ -22856,11 +22858,11 @@ const zC = Ut("span", {
|
|
|
22856
22858
|
disabled: ["disabled"],
|
|
22857
22859
|
focusVisible: ["focusVisible"]
|
|
22858
22860
|
};
|
|
22859
|
-
return
|
|
22861
|
+
return ys(c, LC, s);
|
|
22860
22862
|
}, HC = ({
|
|
22861
22863
|
children: e
|
|
22862
22864
|
}) => e, Md = /* @__PURE__ */ J.forwardRef(function(t, r) {
|
|
22863
|
-
const a =
|
|
22865
|
+
const a = vs({
|
|
22864
22866
|
props: t,
|
|
22865
22867
|
name: "MuiSlider"
|
|
22866
22868
|
}), n = Ah(), {
|
|
@@ -22956,7 +22958,7 @@ const zC = Ut("span", {
|
|
|
22956
22958
|
externalSlotProps: X,
|
|
22957
22959
|
ownerState: se,
|
|
22958
22960
|
className: Ue.rail
|
|
22959
|
-
}),
|
|
22961
|
+
}), go = Jt({
|
|
22960
22962
|
elementType: wr,
|
|
22961
22963
|
externalSlotProps: ie,
|
|
22962
22964
|
additionalProps: {
|
|
@@ -23008,15 +23010,15 @@ const zC = Ut("span", {
|
|
|
23008
23010
|
children: [/* @__PURE__ */ S.jsx(Et, {
|
|
23009
23011
|
...ar
|
|
23010
23012
|
}), /* @__PURE__ */ S.jsx(wr, {
|
|
23011
|
-
...
|
|
23013
|
+
...go
|
|
23012
23014
|
}), Xe.filter((Ce) => Ce.value >= M && Ce.value <= D).map((Ce, je) => {
|
|
23013
|
-
const da =
|
|
23015
|
+
const da = Fn(Ce.value, M, D), nr = Ge[nt].offset(da);
|
|
23014
23016
|
let pt;
|
|
23015
23017
|
return Y === !1 ? pt = ke.includes(Ce.value) : pt = Y === "normal" && (ot ? Ce.value >= ke[0] && Ce.value <= ke[ke.length - 1] : Ce.value <= ke[0]) || Y === "inverted" && (ot ? Ce.value <= ke[0] || Ce.value >= ke[ke.length - 1] : Ce.value >= ke[0]), /* @__PURE__ */ S.jsxs(J.Fragment, {
|
|
23016
23018
|
children: [/* @__PURE__ */ S.jsx(Gt, {
|
|
23017
23019
|
"data-index": je,
|
|
23018
23020
|
...Vr,
|
|
23019
|
-
...!
|
|
23021
|
+
...!wn(Gt) && {
|
|
23020
23022
|
markActive: pt
|
|
23021
23023
|
},
|
|
23022
23024
|
style: {
|
|
@@ -23028,7 +23030,7 @@ const zC = Ut("span", {
|
|
|
23028
23030
|
"aria-hidden": !0,
|
|
23029
23031
|
"data-index": je,
|
|
23030
23032
|
...yt,
|
|
23031
|
-
...!
|
|
23033
|
+
...!wn(Pr) && {
|
|
23032
23034
|
markLabelActive: pt
|
|
23033
23035
|
},
|
|
23034
23036
|
style: {
|
|
@@ -23040,11 +23042,11 @@ const zC = Ut("span", {
|
|
|
23040
23042
|
}) : null]
|
|
23041
23043
|
}, je);
|
|
23042
23044
|
}), ke.map((Ce, je) => {
|
|
23043
|
-
const da =
|
|
23045
|
+
const da = Fn(Ce, M, D), nr = Ge[nt].offset(da), pt = oe === "off" ? HC : zt;
|
|
23044
23046
|
return (
|
|
23045
23047
|
/* 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. */
|
|
23046
23048
|
/* @__PURE__ */ S.jsx(pt, {
|
|
23047
|
-
...!
|
|
23049
|
+
...!wn(pt) && {
|
|
23048
23050
|
valueLabelFormat: de,
|
|
23049
23051
|
valueLabelDisplay: oe,
|
|
23050
23052
|
value: typeof de == "function" ? de(N(Ce), je) : de,
|
|
@@ -23410,7 +23412,7 @@ function jd({ value: e, sx: t }) {
|
|
|
23410
23412
|
}
|
|
23411
23413
|
const $d = De(
|
|
23412
23414
|
({ store: e }) => {
|
|
23413
|
-
const { t } = $t(), r =
|
|
23415
|
+
const { t } = $t(), r = Nn(() => ({
|
|
23414
23416
|
get valueLabelFormat() {
|
|
23415
23417
|
return e.currentMotionType === "translate" ? (a) => `v = ${t("Jogging.Cartesian.Translation.velocityMmPerSec.lb", { amount: a })}` : (a) => `ω = ${t("Jogging.Cartesian.Rotation.velocityDegPerSec.lb", { amount: a })}`;
|
|
23416
23418
|
}
|
|
@@ -23526,7 +23528,7 @@ const $d = De(
|
|
|
23526
23528
|
}
|
|
23527
23529
|
function d(M) {
|
|
23528
23530
|
return r("General.degree.variable", {
|
|
23529
|
-
amount:
|
|
23531
|
+
amount: gn(M).toFixed(1)
|
|
23530
23532
|
});
|
|
23531
23533
|
}
|
|
23532
23534
|
return /* @__PURE__ */ S.jsxs(_e, { flexGrow: 1, gap: 2, sx: { padding: "18px 24px" }, children: [
|
|
@@ -23673,7 +23675,7 @@ const $d = De(
|
|
|
23673
23675
|
id: "JointControls",
|
|
23674
23676
|
children: /* @__PURE__ */ S.jsx(_e, { alignItems: "center", gap: "24px", children: e.jogger.motionStream.joints.map((n) => {
|
|
23675
23677
|
var l;
|
|
23676
|
-
const o = (l = e.motionGroupSpec.mechanical_joint_limits) == null ? void 0 : l[n.index], s = (o == null ? void 0 : o.lower_limit) !== void 0 ?
|
|
23678
|
+
const o = (l = e.motionGroupSpec.mechanical_joint_limits) == null ? void 0 : l[n.index], s = (o == null ? void 0 : o.lower_limit) !== void 0 ? gn(o.lower_limit) : void 0, i = (o == null ? void 0 : o.upper_limit) !== void 0 ? gn(o.upper_limit) : void 0;
|
|
23677
23679
|
return /* @__PURE__ */ S.jsx(
|
|
23678
23680
|
Tf,
|
|
23679
23681
|
{
|
|
@@ -23682,7 +23684,7 @@ const $d = De(
|
|
|
23682
23684
|
upperLimitDegs: i,
|
|
23683
23685
|
getValueDegs: () => {
|
|
23684
23686
|
const c = e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position.joints[n.index];
|
|
23685
|
-
return c !== void 0 ?
|
|
23687
|
+
return c !== void 0 ? gn(c) : void 0;
|
|
23686
23688
|
},
|
|
23687
23689
|
startJogging: (c) => r({
|
|
23688
23690
|
joint: n.index,
|
|
@@ -23702,7 +23704,7 @@ const $d = De(
|
|
|
23702
23704
|
}
|
|
23703
23705
|
), xV = Xr(
|
|
23704
23706
|
De((e) => {
|
|
23705
|
-
const t = Tu(e.nova) ? new Kx({ instanceUrl: e.nova }) : e.nova, r =
|
|
23707
|
+
const t = Tu(e.nova) ? new Kx({ instanceUrl: e.nova }) : e.nova, r = Nn(() => ({
|
|
23706
23708
|
joggingStore: null,
|
|
23707
23709
|
loadingError: null
|
|
23708
23710
|
}));
|
|
@@ -23714,7 +23716,7 @@ const $d = De(
|
|
|
23714
23716
|
let n = e.store;
|
|
23715
23717
|
if (!n) {
|
|
23716
23718
|
const o = await t.connectJogger(e.motionGroupId);
|
|
23717
|
-
n = await
|
|
23719
|
+
n = await As.loadFor(o);
|
|
23718
23720
|
}
|
|
23719
23721
|
et(() => {
|
|
23720
23722
|
r.joggingStore = n;
|
|
@@ -23857,7 +23859,7 @@ const $d = De(
|
|
|
23857
23859
|
const a = e.rapidlyChangingMotionState.tcp_pose;
|
|
23858
23860
|
return a ? Mu(a) : "";
|
|
23859
23861
|
}
|
|
23860
|
-
return
|
|
23862
|
+
return Ha(() => {
|
|
23861
23863
|
if (!t.current)
|
|
23862
23864
|
return;
|
|
23863
23865
|
const a = r();
|
|
@@ -23879,7 +23881,7 @@ const $d = De(
|
|
|
23879
23881
|
const { joints: a } = e.rapidlyChangingMotionState.state.joint_position;
|
|
23880
23882
|
return `[${a.map((n) => parseFloat(n.toFixed(4))).join(", ")}]`;
|
|
23881
23883
|
}
|
|
23882
|
-
return
|
|
23884
|
+
return Ha(() => {
|
|
23883
23885
|
if (!t.current)
|
|
23884
23886
|
return;
|
|
23885
23887
|
const a = r();
|
|
@@ -24063,7 +24065,7 @@ function rP({
|
|
|
24063
24065
|
}) {
|
|
24064
24066
|
const a = new pa();
|
|
24065
24067
|
function n(i, l) {
|
|
24066
|
-
const c = new
|
|
24068
|
+
const c = new Cn(), d = new ru(), u = new Cn();
|
|
24067
24069
|
a.decompose(c, d, u);
|
|
24068
24070
|
const p = c.clone(), f = new pa().makeRotationY(
|
|
24069
24071
|
i.theta + l * (i.reverse_rotation_direction ? -1 : 1)
|
|
@@ -24304,7 +24306,7 @@ const dP = ({
|
|
|
24304
24306
|
anchorOrigin: i,
|
|
24305
24307
|
transformOrigin: l
|
|
24306
24308
|
}) => {
|
|
24307
|
-
const c =
|
|
24309
|
+
const c = Nn(() => ({
|
|
24308
24310
|
anchorEl: null,
|
|
24309
24311
|
get isPopoverOpen() {
|
|
24310
24312
|
return !!c.anchorEl;
|
|
@@ -24672,7 +24674,7 @@ const dP = ({
|
|
|
24672
24674
|
]
|
|
24673
24675
|
}
|
|
24674
24676
|
))
|
|
24675
|
-
), MP =
|
|
24677
|
+
), MP = hs(vu, {
|
|
24676
24678
|
shouldForwardProp: (e) => e !== "selected"
|
|
24677
24679
|
})(({ theme: e }) => {
|
|
24678
24680
|
var t, r, a;
|
|
@@ -24773,14 +24775,14 @@ const dP = ({
|
|
|
24773
24775
|
},
|
|
24774
24776
|
scopeName: "source.wandelscript"
|
|
24775
24777
|
}, $P = Xd(() => import("@monaco-editor/react"));
|
|
24776
|
-
let
|
|
24778
|
+
let No = null;
|
|
24777
24779
|
async function UP() {
|
|
24778
|
-
if (!
|
|
24780
|
+
if (!No) {
|
|
24779
24781
|
const [{ createHighlighter: e }, { shikiToMonaco: t }] = await Promise.all([
|
|
24780
24782
|
import("shiki"),
|
|
24781
24783
|
import("@shikijs/monaco")
|
|
24782
24784
|
]);
|
|
24783
|
-
|
|
24785
|
+
No = {
|
|
24784
24786
|
shiki: await e({
|
|
24785
24787
|
// Our textmate grammar doesn't quite conform to the expected type
|
|
24786
24788
|
// here; I'm not sure what the missing properties mean exactly
|
|
@@ -24790,7 +24792,7 @@ async function UP() {
|
|
|
24790
24792
|
shikiToMonaco: t
|
|
24791
24793
|
};
|
|
24792
24794
|
}
|
|
24793
|
-
return
|
|
24795
|
+
return No;
|
|
24794
24796
|
}
|
|
24795
24797
|
const AV = Xr(
|
|
24796
24798
|
(e) => {
|
|
@@ -25142,7 +25144,7 @@ export {
|
|
|
25142
25144
|
Ci as JoggingCartesianAxisControl,
|
|
25143
25145
|
Tf as JoggingJointRotationControl,
|
|
25144
25146
|
xV as JoggingPanel,
|
|
25145
|
-
|
|
25147
|
+
As as JoggingStore,
|
|
25146
25148
|
pd as LoadingCover,
|
|
25147
25149
|
e1 as LoadingErrorMessage,
|
|
25148
25150
|
CV as NoMotionGroupModal,
|
|
@@ -25162,9 +25164,9 @@ export {
|
|
|
25162
25164
|
PV as defaultAxisConfig,
|
|
25163
25165
|
Ld as defaultGetModel,
|
|
25164
25166
|
bc as i18n,
|
|
25165
|
-
|
|
25167
|
+
Ha as useAnimationFrame,
|
|
25166
25168
|
Xm as useAutorun,
|
|
25167
|
-
|
|
25169
|
+
xs as useMounted,
|
|
25168
25170
|
Zm as useReaction
|
|
25169
25171
|
};
|
|
25170
25172
|
//# sourceMappingURL=index.js.map
|