@wandelbots/wandelbots-js-react-components 2.40.0-pr.feature-seperate-timer.383.0494cf4 → 2.41.0-pr.feature-seperate-timer.383.cd7e408
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/TabBar.d.ts +2 -0
- package/dist/components/TabBar.d.ts.map +1 -1
- package/dist/components/jogging/PoseCartesianValues.d.ts.map +1 -1
- package/dist/components/jogging/PoseJointValues.d.ts.map +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +319 -304
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/TabBar.tsx +35 -8
- package/src/components/jogging/PoseCartesianValues.tsx +69 -66
- package/src/components/jogging/PoseJointValues.tsx +69 -66
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var Rg = Object.defineProperty;
|
|
|
2
2
|
var Ag = (e, t, r) => t in e ? Rg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var qn = (e, t, r) => Ag(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import * as B from "react";
|
|
5
|
-
import Xt, { useState as De, useRef as ye, useCallback as ge, useEffect as
|
|
5
|
+
import Xt, { useState as De, useRef as ye, useCallback as ge, useEffect as _e, useMemo as _o, forwardRef as rt, Suspense as tp, lazy as _g } from "react";
|
|
6
6
|
import * as Se from "three";
|
|
7
7
|
import { Vector3 as Fo, Matrix4 as Wn, Quaternion as Eg } from "three";
|
|
8
8
|
import { ConvexGeometry as rp } from "three-stdlib";
|
|
@@ -10,7 +10,7 @@ import { Environment as Ig, Lightformer as Cr, Line as np, useGLTF as Vg, Bounds
|
|
|
10
10
|
import { useThree as Mg, useFrame as jg, Canvas as Nc } from "@react-three/fiber";
|
|
11
11
|
import { SvgIcon as ap, AppBar as $g, Toolbar as kg, Box as re, Typography as de, IconButton as $r, alpha as zc, Backdrop as Ug, Menu as Dg, MenuItem as fn, useTheme as Be, Fade as _r, Divider as Nt, Slider as Lg, Stack as ke, CircularProgress as Fg, capitalize as Bg, styled as Ul, InputLabel as Ng, Select as zg, FormControl as Gg, ToggleButtonGroup as Hg, ToggleButton as Gc, Tabs as op, Tab as sp, Tooltip as qg, Button as gr, Paper as Wg, Dialog as Jg, DialogTitle as Yg, DialogContent as Kg, DialogActions as Qg, Chip as ip, Card as Xg, Popover as Zg, Fab as e0, createTheme as t0, rgbToHex as r0 } from "@mui/material";
|
|
12
12
|
import { observer as Ce, useLocalObservable as ps } from "mobx-react-lite";
|
|
13
|
-
import { I18nextProvider as n0, useTranslation as
|
|
13
|
+
import { I18nextProvider as n0, useTranslation as Qe, Trans as Ut } from "react-i18next";
|
|
14
14
|
import a0 from "i18next";
|
|
15
15
|
import o0 from "i18next-browser-languagedetector";
|
|
16
16
|
import { Gauge as s0 } from "@mui/x-charts";
|
|
@@ -126,11 +126,11 @@ function j0() {
|
|
|
126
126
|
}
|
|
127
127
|
if (Q) {
|
|
128
128
|
Q = console;
|
|
129
|
-
var he = Q.error,
|
|
129
|
+
var he = Q.error, Ee = typeof Symbol == "function" && Symbol.toStringTag && q[Symbol.toStringTag] || q.constructor.name || "Object";
|
|
130
130
|
return he.call(
|
|
131
131
|
Q,
|
|
132
132
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
133
|
-
|
|
133
|
+
Ee
|
|
134
134
|
), t(q);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
@@ -177,13 +177,13 @@ function j0() {
|
|
|
177
177
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
178
178
|
)), q = this.props.ref, q !== void 0 ? q : null;
|
|
179
179
|
}
|
|
180
|
-
function c(q, Q, he,
|
|
180
|
+
function c(q, Q, he, Ee, Je, Pe, mt, lt) {
|
|
181
181
|
return he = Pe.ref, q = {
|
|
182
182
|
$$typeof: p,
|
|
183
183
|
type: q,
|
|
184
184
|
key: Q,
|
|
185
185
|
props: Pe,
|
|
186
|
-
_owner:
|
|
186
|
+
_owner: Je
|
|
187
187
|
}, (he !== void 0 ? he : null) !== null ? Object.defineProperty(q, "ref", {
|
|
188
188
|
enumerable: !1,
|
|
189
189
|
get: l
|
|
@@ -209,13 +209,13 @@ function j0() {
|
|
|
209
209
|
value: lt
|
|
210
210
|
}), Object.freeze && (Object.freeze(q.props), Object.freeze(q)), q;
|
|
211
211
|
}
|
|
212
|
-
function u(q, Q, he,
|
|
212
|
+
function u(q, Q, he, Ee, Je, Pe, mt, lt) {
|
|
213
213
|
var xe = Q.children;
|
|
214
214
|
if (xe !== void 0)
|
|
215
|
-
if (
|
|
215
|
+
if (Ee)
|
|
216
216
|
if (V(xe)) {
|
|
217
|
-
for (
|
|
218
|
-
d(xe[
|
|
217
|
+
for (Ee = 0; Ee < xe.length; Ee++)
|
|
218
|
+
d(xe[Ee]);
|
|
219
219
|
Object.freeze && Object.freeze(xe);
|
|
220
220
|
} else
|
|
221
221
|
console.error(
|
|
@@ -227,18 +227,18 @@ function j0() {
|
|
|
227
227
|
var K = Object.keys(Q).filter(function(le) {
|
|
228
228
|
return le !== "key";
|
|
229
229
|
});
|
|
230
|
-
|
|
230
|
+
Ee = 0 < K.length ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}", ie[xe + Ee] || (K = 0 < K.length ? "{" + K.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
231
231
|
`A props object containing a "key" prop is being spread into JSX:
|
|
232
232
|
let props = %s;
|
|
233
233
|
<%s {...props} />
|
|
234
234
|
React keys must be passed directly to JSX without using spread:
|
|
235
235
|
let props = %s;
|
|
236
236
|
<%s key={someKey} {...props} />`,
|
|
237
|
-
|
|
237
|
+
Ee,
|
|
238
238
|
xe,
|
|
239
239
|
K,
|
|
240
240
|
xe
|
|
241
|
-
), ie[xe +
|
|
241
|
+
), ie[xe + Ee] = !0);
|
|
242
242
|
}
|
|
243
243
|
if (xe = null, he !== void 0 && (r(he), xe = "" + he), s(Q) && (r(Q.key), xe = "" + Q.key), "key" in Q) {
|
|
244
244
|
he = {};
|
|
@@ -252,7 +252,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
252
252
|
q,
|
|
253
253
|
xe,
|
|
254
254
|
Pe,
|
|
255
|
-
|
|
255
|
+
Je,
|
|
256
256
|
a(),
|
|
257
257
|
he,
|
|
258
258
|
mt,
|
|
@@ -274,27 +274,27 @@ React keys must be passed directly to JSX without using spread:
|
|
|
274
274
|
h,
|
|
275
275
|
o
|
|
276
276
|
)(), X = z(n(o)), ie = {};
|
|
277
|
-
Yn.Fragment = m, Yn.jsx = function(q, Q, he,
|
|
277
|
+
Yn.Fragment = m, Yn.jsx = function(q, Q, he, Ee, Je) {
|
|
278
278
|
var Pe = 1e4 > A.recentlyCreatedOwnerStacks++;
|
|
279
279
|
return u(
|
|
280
280
|
q,
|
|
281
281
|
Q,
|
|
282
282
|
he,
|
|
283
283
|
!1,
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
Ee,
|
|
285
|
+
Je,
|
|
286
286
|
Pe ? Error("react-stack-top-frame") : ne,
|
|
287
287
|
Pe ? z(n(q)) : X
|
|
288
288
|
);
|
|
289
|
-
}, Yn.jsxs = function(q, Q, he,
|
|
289
|
+
}, Yn.jsxs = function(q, Q, he, Ee, Je) {
|
|
290
290
|
var Pe = 1e4 > A.recentlyCreatedOwnerStacks++;
|
|
291
291
|
return u(
|
|
292
292
|
q,
|
|
293
293
|
Q,
|
|
294
294
|
he,
|
|
295
295
|
!0,
|
|
296
|
-
|
|
297
|
-
|
|
296
|
+
Ee,
|
|
297
|
+
Je,
|
|
298
298
|
Pe ? Error("react-stack-top-frame") : ne,
|
|
299
299
|
Pe ? z(n(q)) : X
|
|
300
300
|
);
|
|
@@ -712,7 +712,7 @@ cp.use(o0).init({
|
|
|
712
712
|
order: ["navigator", "htmlTag"]
|
|
713
713
|
}
|
|
714
714
|
});
|
|
715
|
-
function
|
|
715
|
+
function Ge(e) {
|
|
716
716
|
return (r) => /* @__PURE__ */ g.jsx(z0, { children: /* @__PURE__ */ g.jsx(e, { ...r }) });
|
|
717
717
|
}
|
|
718
718
|
const z0 = ({
|
|
@@ -724,7 +724,7 @@ const z0 = ({
|
|
|
724
724
|
fill: "currentColor",
|
|
725
725
|
fillOpacity: "0.56"
|
|
726
726
|
}
|
|
727
|
-
) }), J$ =
|
|
727
|
+
) }), J$ = Ge(
|
|
728
728
|
Ce((e) => {
|
|
729
729
|
const { appIcon: t, appName: r, apps: n = [], onAppSelect: a, sx: o } = e, [s, i] = De(null), l = !!s, c = (h) => {
|
|
730
730
|
i(h.currentTarget);
|
|
@@ -7543,7 +7543,7 @@ function im() {
|
|
|
7543
7543
|
}, wr.apply(a, arguments);
|
|
7544
7544
|
}
|
|
7545
7545
|
const Oi = /* @__PURE__ */ new Date(), Ci = /* @__PURE__ */ new Date();
|
|
7546
|
-
function
|
|
7546
|
+
function We(e, t, r, n) {
|
|
7547
7547
|
function a(o) {
|
|
7548
7548
|
return e(o = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+o)), o;
|
|
7549
7549
|
}
|
|
@@ -7558,7 +7558,7 @@ function qe(e, t, r, n) {
|
|
|
7558
7558
|
l.push(c = /* @__PURE__ */ new Date(+o)), t(o, i), e(o);
|
|
7559
7559
|
while (c < o && o < s);
|
|
7560
7560
|
return l;
|
|
7561
|
-
}, a.filter = (o) =>
|
|
7561
|
+
}, a.filter = (o) => We((s) => {
|
|
7562
7562
|
if (s >= s) for (; e(s), !o(s); ) s.setTime(s - 1);
|
|
7563
7563
|
}, (s, i) => {
|
|
7564
7564
|
if (s >= s)
|
|
@@ -7570,67 +7570,67 @@ function qe(e, t, r, n) {
|
|
|
7570
7570
|
;
|
|
7571
7571
|
}), r && (a.count = (o, s) => (Oi.setTime(+o), Ci.setTime(+s), e(Oi), e(Ci), Math.floor(r(Oi, Ci))), a.every = (o) => (o = Math.floor(o), !isFinite(o) || !(o > 0) ? null : o > 1 ? a.filter(n ? (s) => n(s) % o === 0 : (s) => a.count(0, s) % o === 0) : a)), a;
|
|
7572
7572
|
}
|
|
7573
|
-
const Qo =
|
|
7573
|
+
const Qo = We(() => {
|
|
7574
7574
|
}, (e, t) => {
|
|
7575
7575
|
e.setTime(+e + t);
|
|
7576
7576
|
}, (e, t) => t - e);
|
|
7577
|
-
Qo.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?
|
|
7577
|
+
Qo.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? We((t) => {
|
|
7578
7578
|
t.setTime(Math.floor(t / e) * e);
|
|
7579
7579
|
}, (t, r) => {
|
|
7580
7580
|
t.setTime(+t + r * e);
|
|
7581
7581
|
}, (t, r) => (r - t) / e) : Qo);
|
|
7582
7582
|
Qo.range;
|
|
7583
|
-
const Yt = 1e3, Ot = Yt * 60, Kt = Ot * 60, tr = Kt * 24, pc = tr * 7, nd = tr * 30, Pi = tr * 365, Ir =
|
|
7583
|
+
const Yt = 1e3, Ot = Yt * 60, Kt = Ot * 60, tr = Kt * 24, pc = tr * 7, nd = tr * 30, Pi = tr * 365, Ir = We((e) => {
|
|
7584
7584
|
e.setTime(e - e.getMilliseconds());
|
|
7585
7585
|
}, (e, t) => {
|
|
7586
7586
|
e.setTime(+e + t * Yt);
|
|
7587
7587
|
}, (e, t) => (t - e) / Yt, (e) => e.getUTCSeconds());
|
|
7588
7588
|
Ir.range;
|
|
7589
|
-
const mc =
|
|
7589
|
+
const mc = We((e) => {
|
|
7590
7590
|
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Yt);
|
|
7591
7591
|
}, (e, t) => {
|
|
7592
7592
|
e.setTime(+e + t * Ot);
|
|
7593
7593
|
}, (e, t) => (t - e) / Ot, (e) => e.getMinutes());
|
|
7594
7594
|
mc.range;
|
|
7595
|
-
const fc =
|
|
7595
|
+
const fc = We((e) => {
|
|
7596
7596
|
e.setUTCSeconds(0, 0);
|
|
7597
7597
|
}, (e, t) => {
|
|
7598
7598
|
e.setTime(+e + t * Ot);
|
|
7599
7599
|
}, (e, t) => (t - e) / Ot, (e) => e.getUTCMinutes());
|
|
7600
7600
|
fc.range;
|
|
7601
|
-
const gc =
|
|
7601
|
+
const gc = We((e) => {
|
|
7602
7602
|
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Yt - e.getMinutes() * Ot);
|
|
7603
7603
|
}, (e, t) => {
|
|
7604
7604
|
e.setTime(+e + t * Kt);
|
|
7605
7605
|
}, (e, t) => (t - e) / Kt, (e) => e.getHours());
|
|
7606
7606
|
gc.range;
|
|
7607
|
-
const yc =
|
|
7607
|
+
const yc = We((e) => {
|
|
7608
7608
|
e.setUTCMinutes(0, 0, 0);
|
|
7609
7609
|
}, (e, t) => {
|
|
7610
7610
|
e.setTime(+e + t * Kt);
|
|
7611
7611
|
}, (e, t) => (t - e) / Kt, (e) => e.getUTCHours());
|
|
7612
7612
|
yc.range;
|
|
7613
|
-
const Na =
|
|
7613
|
+
const Na = We(
|
|
7614
7614
|
(e) => e.setHours(0, 0, 0, 0),
|
|
7615
7615
|
(e, t) => e.setDate(e.getDate() + t),
|
|
7616
7616
|
(e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * Ot) / tr,
|
|
7617
7617
|
(e) => e.getDate() - 1
|
|
7618
7618
|
);
|
|
7619
7619
|
Na.range;
|
|
7620
|
-
const js =
|
|
7620
|
+
const js = We((e) => {
|
|
7621
7621
|
e.setUTCHours(0, 0, 0, 0);
|
|
7622
7622
|
}, (e, t) => {
|
|
7623
7623
|
e.setUTCDate(e.getUTCDate() + t);
|
|
7624
7624
|
}, (e, t) => (t - e) / tr, (e) => e.getUTCDate() - 1);
|
|
7625
7625
|
js.range;
|
|
7626
|
-
const lm =
|
|
7626
|
+
const lm = We((e) => {
|
|
7627
7627
|
e.setUTCHours(0, 0, 0, 0);
|
|
7628
7628
|
}, (e, t) => {
|
|
7629
7629
|
e.setUTCDate(e.getUTCDate() + t);
|
|
7630
7630
|
}, (e, t) => (t - e) / tr, (e) => Math.floor(e / tr));
|
|
7631
7631
|
lm.range;
|
|
7632
7632
|
function Nr(e) {
|
|
7633
|
-
return
|
|
7633
|
+
return We((t) => {
|
|
7634
7634
|
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
|
|
7635
7635
|
}, (t, r) => {
|
|
7636
7636
|
t.setDate(t.getDate() + r * 7);
|
|
@@ -7645,7 +7645,7 @@ Rn.range;
|
|
|
7645
7645
|
Xv.range;
|
|
7646
7646
|
Zv.range;
|
|
7647
7647
|
function zr(e) {
|
|
7648
|
-
return
|
|
7648
|
+
return We((t) => {
|
|
7649
7649
|
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
|
|
7650
7650
|
}, (t, r) => {
|
|
7651
7651
|
t.setUTCDate(t.getUTCDate() + r * 7);
|
|
@@ -7659,35 +7659,35 @@ tS.range;
|
|
|
7659
7659
|
An.range;
|
|
7660
7660
|
rS.range;
|
|
7661
7661
|
nS.range;
|
|
7662
|
-
const bc =
|
|
7662
|
+
const bc = We((e) => {
|
|
7663
7663
|
e.setDate(1), e.setHours(0, 0, 0, 0);
|
|
7664
7664
|
}, (e, t) => {
|
|
7665
7665
|
e.setMonth(e.getMonth() + t);
|
|
7666
7666
|
}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
|
|
7667
7667
|
bc.range;
|
|
7668
|
-
const xc =
|
|
7668
|
+
const xc = We((e) => {
|
|
7669
7669
|
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
|
|
7670
7670
|
}, (e, t) => {
|
|
7671
7671
|
e.setUTCMonth(e.getUTCMonth() + t);
|
|
7672
7672
|
}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
|
|
7673
7673
|
xc.range;
|
|
7674
|
-
const rr =
|
|
7674
|
+
const rr = We((e) => {
|
|
7675
7675
|
e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
|
|
7676
7676
|
}, (e, t) => {
|
|
7677
7677
|
e.setFullYear(e.getFullYear() + t);
|
|
7678
7678
|
}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
|
|
7679
|
-
rr.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null :
|
|
7679
|
+
rr.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : We((t) => {
|
|
7680
7680
|
t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
|
|
7681
7681
|
}, (t, r) => {
|
|
7682
7682
|
t.setFullYear(t.getFullYear() + r * e);
|
|
7683
7683
|
});
|
|
7684
7684
|
rr.range;
|
|
7685
|
-
const nr =
|
|
7685
|
+
const nr = We((e) => {
|
|
7686
7686
|
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
|
|
7687
7687
|
}, (e, t) => {
|
|
7688
7688
|
e.setUTCFullYear(e.getUTCFullYear() + t);
|
|
7689
7689
|
}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
|
|
7690
|
-
nr.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null :
|
|
7690
|
+
nr.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : We((t) => {
|
|
7691
7691
|
t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
|
|
7692
7692
|
}, (t, r) => {
|
|
7693
7693
|
t.setUTCFullYear(t.getUTCFullYear() + r * e);
|
|
@@ -7782,8 +7782,8 @@ function lS(e) {
|
|
|
7782
7782
|
Z: GS,
|
|
7783
7783
|
"%": dd
|
|
7784
7784
|
}, C = {
|
|
7785
|
-
a:
|
|
7786
|
-
A:
|
|
7785
|
+
a: Ee,
|
|
7786
|
+
A: Je,
|
|
7787
7787
|
b: Pe,
|
|
7788
7788
|
B: mt,
|
|
7789
7789
|
c: null,
|
|
@@ -7851,9 +7851,9 @@ function lS(e) {
|
|
|
7851
7851
|
w.x = O(r, w), w.X = O(n, w), w.c = O(t, w), C.x = O(r, C), C.X = O(n, C), C.c = O(t, C);
|
|
7852
7852
|
function O(K, ae) {
|
|
7853
7853
|
return function(le) {
|
|
7854
|
-
var W = [], ve = -1, me = 0, Ze = K.length,
|
|
7854
|
+
var W = [], ve = -1, me = 0, Ze = K.length, Ye, Ue, lr;
|
|
7855
7855
|
for (le instanceof Date || (le = /* @__PURE__ */ new Date(+le)); ++ve < Ze; )
|
|
7856
|
-
K.charCodeAt(ve) === 37 && (W.push(K.slice(me, ve)), (Ue = ad[
|
|
7856
|
+
K.charCodeAt(ve) === 37 && (W.push(K.slice(me, ve)), (Ue = ad[Ye = K.charAt(++ve)]) != null ? Ye = K.charAt(++ve) : Ue = Ye === "e" ? " " : "0", (lr = ae[Ye]) && (Ye = lr(le, Ue)), W.push(Ye), me = ve + 1);
|
|
7857
7857
|
return W.push(K.slice(me, ve)), W.join("");
|
|
7858
7858
|
};
|
|
7859
7859
|
}
|
|
@@ -7871,11 +7871,11 @@ function lS(e) {
|
|
|
7871
7871
|
};
|
|
7872
7872
|
}
|
|
7873
7873
|
function E(K, ae, le, W) {
|
|
7874
|
-
for (var ve = 0, me = ae.length, Ze = le.length,
|
|
7874
|
+
for (var ve = 0, me = ae.length, Ze = le.length, Ye, Ue; ve < me; ) {
|
|
7875
7875
|
if (W >= Ze) return -1;
|
|
7876
|
-
if (
|
|
7877
|
-
if (
|
|
7878
|
-
} else if (
|
|
7876
|
+
if (Ye = ae.charCodeAt(ve++), Ye === 37) {
|
|
7877
|
+
if (Ye = ae.charAt(ve++), Ue = P[Ye in ad ? ae.charAt(ve++) : Ye], !Ue || (W = Ue(K, le, W)) < 0) return -1;
|
|
7878
|
+
} else if (Ye != le.charCodeAt(W++))
|
|
7879
7879
|
return -1;
|
|
7880
7880
|
}
|
|
7881
7881
|
return W;
|
|
@@ -7927,10 +7927,10 @@ function lS(e) {
|
|
|
7927
7927
|
function he(K) {
|
|
7928
7928
|
return 1 + ~~(K.getMonth() / 3);
|
|
7929
7929
|
}
|
|
7930
|
-
function
|
|
7930
|
+
function Ee(K) {
|
|
7931
7931
|
return s[K.getUTCDay()];
|
|
7932
7932
|
}
|
|
7933
|
-
function
|
|
7933
|
+
function Je(K) {
|
|
7934
7934
|
return o[K.getUTCDay()];
|
|
7935
7935
|
}
|
|
7936
7936
|
function Pe(K) {
|
|
@@ -9196,7 +9196,7 @@ const Cd = (e, t) => t === "x" ? {
|
|
|
9196
9196
|
return [Math.min(u, s[0]), Math.max(d, s[1])];
|
|
9197
9197
|
}, [1 / 0, -1 / 0]);
|
|
9198
9198
|
}, Jw = (e) => Object.keys(e.series).some((r) => e.series[r].layout === "horizontal") ? Im("x")(e) : Em(e), Yw = (e) => Object.keys(e.series).some((r) => e.series[r].layout === "horizontal") ? Em(e) : Im("y")(e);
|
|
9199
|
-
function
|
|
9199
|
+
function qe(e) {
|
|
9200
9200
|
return function() {
|
|
9201
9201
|
return e;
|
|
9202
9202
|
};
|
|
@@ -9315,7 +9315,7 @@ function po(e, t, r, n, a, o, s) {
|
|
|
9315
9315
|
};
|
|
9316
9316
|
}
|
|
9317
9317
|
function Mm() {
|
|
9318
|
-
var e = rO, t = nO, r =
|
|
9318
|
+
var e = rO, t = nO, r = qe(0), n = null, a = aO, o = oO, s = sO, i = null, l = tO(c);
|
|
9319
9319
|
function c() {
|
|
9320
9320
|
var u, d, h = +e.apply(this, arguments), p = +t.apply(this, arguments), f = a.apply(this, arguments) - ts, m = o.apply(this, arguments) - ts, y = Pd(m - f), S = m > f;
|
|
9321
9321
|
if (i || (i = u = l()), p < h && (d = p, p = h, h = d), !(p > ut)) i.moveTo(0, 0);
|
|
@@ -9329,15 +9329,15 @@ function Mm() {
|
|
|
9329
9329
|
}
|
|
9330
9330
|
var ne = p * Pr(R), X = p * jt(R), ie = h * Pr(P), q = h * jt(P);
|
|
9331
9331
|
if (b > ut) {
|
|
9332
|
-
var Q = p * Pr(w), he = p * jt(w),
|
|
9332
|
+
var Q = p * Pr(w), he = p * jt(w), Ee = h * Pr(C), Je = h * jt(C), Pe;
|
|
9333
9333
|
if (y < Aa)
|
|
9334
|
-
if (Pe = iO(ne, X,
|
|
9334
|
+
if (Pe = iO(ne, X, Ee, Je, Q, he, ie, q)) {
|
|
9335
9335
|
var mt = ne - Pe[0], lt = X - Pe[1], xe = Q - Pe[0], K = he - Pe[1], ae = 1 / jt(Qw((mt * xe + lt * K) / (bn(mt * mt + lt * lt) * bn(xe * xe + K * K))) / 2), le = bn(Pe[0] * Pe[0] + Pe[1] * Pe[1]);
|
|
9336
9336
|
A = _i(b, (h - le) / (ae - 1)), N = _i(b, (p - le) / (ae + 1));
|
|
9337
9337
|
} else
|
|
9338
9338
|
A = N = 0;
|
|
9339
9339
|
}
|
|
9340
|
-
T > ut ? N > ut ? (V = po(
|
|
9340
|
+
T > ut ? N > ut ? (V = po(Ee, Je, ne, X, p, N, S), z = po(Q, he, ie, q, p, N, S), i.moveTo(V.cx + V.x01, V.cy + V.y01), N < b ? i.arc(V.cx, V.cy, N, nt(V.y01, V.x01), nt(z.y01, z.x01), !S) : (i.arc(V.cx, V.cy, N, nt(V.y01, V.x01), nt(V.y11, V.x11), !S), i.arc(0, 0, p, nt(V.cy + V.y11, V.cx + V.x11), nt(z.cy + z.y11, z.cx + z.x11), !S), i.arc(z.cx, z.cy, N, nt(z.y11, z.x11), nt(z.y01, z.x01), !S))) : (i.moveTo(ne, X), i.arc(0, 0, p, R, w, !S)) : i.moveTo(ne, X), !(h > ut) || !(O > ut) ? i.lineTo(ie, q) : A > ut ? (V = po(ie, q, Q, he, h, -A, S), z = po(ne, X, Ee, Je, h, -A, S), i.lineTo(V.cx + V.x01, V.cy + V.y01), A < b ? i.arc(V.cx, V.cy, A, nt(V.y01, V.x01), nt(z.y01, z.x01), !S) : (i.arc(V.cx, V.cy, A, nt(V.y01, V.x01), nt(V.y11, V.x11), !S), i.arc(0, 0, h, nt(V.cy + V.y11, V.cx + V.x11), nt(z.cy + z.y11, z.cx + z.x11), S), i.arc(z.cx, z.cy, A, nt(z.y11, z.x11), nt(z.y01, z.x01), !S))) : i.arc(0, 0, h, P, C, S);
|
|
9341
9341
|
}
|
|
9342
9342
|
if (i.closePath(), u) return i = null, u + "" || null;
|
|
9343
9343
|
}
|
|
@@ -9345,19 +9345,19 @@ function Mm() {
|
|
|
9345
9345
|
var u = (+e.apply(this, arguments) + +t.apply(this, arguments)) / 2, d = (+a.apply(this, arguments) + +o.apply(this, arguments)) / 2 - Aa / 2;
|
|
9346
9346
|
return [Pr(d) * u, jt(d) * u];
|
|
9347
9347
|
}, c.innerRadius = function(u) {
|
|
9348
|
-
return arguments.length ? (e = typeof u == "function" ? u :
|
|
9348
|
+
return arguments.length ? (e = typeof u == "function" ? u : qe(+u), c) : e;
|
|
9349
9349
|
}, c.outerRadius = function(u) {
|
|
9350
|
-
return arguments.length ? (t = typeof u == "function" ? u :
|
|
9350
|
+
return arguments.length ? (t = typeof u == "function" ? u : qe(+u), c) : t;
|
|
9351
9351
|
}, c.cornerRadius = function(u) {
|
|
9352
|
-
return arguments.length ? (r = typeof u == "function" ? u :
|
|
9352
|
+
return arguments.length ? (r = typeof u == "function" ? u : qe(+u), c) : r;
|
|
9353
9353
|
}, c.padRadius = function(u) {
|
|
9354
|
-
return arguments.length ? (n = u == null ? null : typeof u == "function" ? u :
|
|
9354
|
+
return arguments.length ? (n = u == null ? null : typeof u == "function" ? u : qe(+u), c) : n;
|
|
9355
9355
|
}, c.startAngle = function(u) {
|
|
9356
|
-
return arguments.length ? (a = typeof u == "function" ? u :
|
|
9356
|
+
return arguments.length ? (a = typeof u == "function" ? u : qe(+u), c) : a;
|
|
9357
9357
|
}, c.endAngle = function(u) {
|
|
9358
|
-
return arguments.length ? (o = typeof u == "function" ? u :
|
|
9358
|
+
return arguments.length ? (o = typeof u == "function" ? u : qe(+u), c) : o;
|
|
9359
9359
|
}, c.padAngle = function(u) {
|
|
9360
|
-
return arguments.length ? (s = typeof u == "function" ? u :
|
|
9360
|
+
return arguments.length ? (s = typeof u == "function" ? u : qe(+u), c) : s;
|
|
9361
9361
|
}, c.context = function(u) {
|
|
9362
9362
|
return arguments.length ? (i = u ?? null, c) : i;
|
|
9363
9363
|
}, c;
|
|
@@ -9372,7 +9372,7 @@ function cO(e) {
|
|
|
9372
9372
|
return e;
|
|
9373
9373
|
}
|
|
9374
9374
|
function uO() {
|
|
9375
|
-
var e = cO, t = lO, r = null, n =
|
|
9375
|
+
var e = cO, t = lO, r = null, n = qe(0), a = qe(jo), o = qe(0);
|
|
9376
9376
|
function s(i) {
|
|
9377
9377
|
var l, c = (i = jm(i)).length, u, d, h = 0, p = new Array(c), f = new Array(c), m = +n.apply(this, arguments), y = Math.min(jo, Math.max(-jo, a.apply(this, arguments) - m)), S, R = Math.min(Math.abs(y) / c, o.apply(this, arguments)), w = R * (y < 0 ? -1 : 1), C;
|
|
9378
9378
|
for (l = 0; l < c; ++l)
|
|
@@ -9393,17 +9393,17 @@ function uO() {
|
|
|
9393
9393
|
return f;
|
|
9394
9394
|
}
|
|
9395
9395
|
return s.value = function(i) {
|
|
9396
|
-
return arguments.length ? (e = typeof i == "function" ? i :
|
|
9396
|
+
return arguments.length ? (e = typeof i == "function" ? i : qe(+i), s) : e;
|
|
9397
9397
|
}, s.sortValues = function(i) {
|
|
9398
9398
|
return arguments.length ? (t = i, r = null, s) : t;
|
|
9399
9399
|
}, s.sort = function(i) {
|
|
9400
9400
|
return arguments.length ? (r = i, t = null, s) : r;
|
|
9401
9401
|
}, s.startAngle = function(i) {
|
|
9402
|
-
return arguments.length ? (n = typeof i == "function" ? i :
|
|
9402
|
+
return arguments.length ? (n = typeof i == "function" ? i : qe(+i), s) : n;
|
|
9403
9403
|
}, s.endAngle = function(i) {
|
|
9404
|
-
return arguments.length ? (a = typeof i == "function" ? i :
|
|
9404
|
+
return arguments.length ? (a = typeof i == "function" ? i : qe(+i), s) : a;
|
|
9405
9405
|
}, s.padAngle = function(i) {
|
|
9406
|
-
return arguments.length ? (o = typeof i == "function" ? i :
|
|
9406
|
+
return arguments.length ? (o = typeof i == "function" ? i : qe(+i), s) : o;
|
|
9407
9407
|
}, s;
|
|
9408
9408
|
}
|
|
9409
9409
|
function En(e, t) {
|
|
@@ -9424,7 +9424,7 @@ function hO(e) {
|
|
|
9424
9424
|
return t.key = e, t;
|
|
9425
9425
|
}
|
|
9426
9426
|
function $m() {
|
|
9427
|
-
var e =
|
|
9427
|
+
var e = qe([]), t = In, r = En, n = dO;
|
|
9428
9428
|
function a(o) {
|
|
9429
9429
|
var s = Array.from(e.apply(this, arguments), hO), i, l = s.length, c = -1, u;
|
|
9430
9430
|
for (const d of o)
|
|
@@ -9435,11 +9435,11 @@ function $m() {
|
|
|
9435
9435
|
return r(s, u), s;
|
|
9436
9436
|
}
|
|
9437
9437
|
return a.keys = function(o) {
|
|
9438
|
-
return arguments.length ? (e = typeof o == "function" ? o :
|
|
9438
|
+
return arguments.length ? (e = typeof o == "function" ? o : qe(Array.from(o)), a) : e;
|
|
9439
9439
|
}, a.value = function(o) {
|
|
9440
|
-
return arguments.length ? (n = typeof o == "function" ? o :
|
|
9440
|
+
return arguments.length ? (n = typeof o == "function" ? o : qe(+o), a) : n;
|
|
9441
9441
|
}, a.order = function(o) {
|
|
9442
|
-
return arguments.length ? (t = o == null ? In : typeof o == "function" ? o :
|
|
9442
|
+
return arguments.length ? (t = o == null ? In : typeof o == "function" ? o : qe(Array.from(o)), a) : t;
|
|
9443
9443
|
}, a.offset = function(o) {
|
|
9444
9444
|
return arguments.length ? (r = o ?? En, a) : r;
|
|
9445
9445
|
}, a;
|
|
@@ -11469,7 +11469,7 @@ const Rt = (e) => {
|
|
|
11469
11469
|
hasError: r,
|
|
11470
11470
|
className: n
|
|
11471
11471
|
}) => {
|
|
11472
|
-
const { t: a } =
|
|
11472
|
+
const { t: a } = Qe(), o = Be(), { currentState: s, remainingTime: i, maxTime: l, currentProgress: c } = e, {
|
|
11473
11473
|
showErrorAnimation: u,
|
|
11474
11474
|
showPauseAnimation: d,
|
|
11475
11475
|
showPulsatingText: h,
|
|
@@ -11758,7 +11758,7 @@ const Rt = (e) => {
|
|
|
11758
11758
|
compact: n,
|
|
11759
11759
|
className: a
|
|
11760
11760
|
}) => {
|
|
11761
|
-
const { t: o } =
|
|
11761
|
+
const { t: o } = Qe(), s = Be(), { currentState: i, remainingTime: l, maxTime: c } = e, {
|
|
11762
11762
|
showErrorAnimation: u,
|
|
11763
11763
|
showPauseAnimation: d,
|
|
11764
11764
|
showPulsatingText: h,
|
|
@@ -12231,7 +12231,7 @@ const sP = ({
|
|
|
12231
12231
|
l.remainingTime,
|
|
12232
12232
|
l.currentState
|
|
12233
12233
|
]), C = ge(() => l.isPausedState, [l.isPausedState]);
|
|
12234
|
-
return
|
|
12234
|
+
return _e(() => {
|
|
12235
12235
|
n ? (l.isRunning && !l.isPausedState && (c((P) => ({ ...P, wasRunningBeforeError: !0 })), R()), o()) : (l.wasRunningBeforeError && l.isPausedState && (c((P) => ({ ...P, wasRunningBeforeError: !1 })), w()), s());
|
|
12236
12236
|
}, [
|
|
12237
12237
|
n,
|
|
@@ -12242,7 +12242,7 @@ const sP = ({
|
|
|
12242
12242
|
w,
|
|
12243
12243
|
o,
|
|
12244
12244
|
s
|
|
12245
|
-
]),
|
|
12245
|
+
]), _e(() => {
|
|
12246
12246
|
if (l.isRunning) {
|
|
12247
12247
|
const P = () => {
|
|
12248
12248
|
if (d.current) {
|
|
@@ -12285,7 +12285,7 @@ const sP = ({
|
|
|
12285
12285
|
l.currentState,
|
|
12286
12286
|
l.maxTime,
|
|
12287
12287
|
p
|
|
12288
|
-
]),
|
|
12288
|
+
]), _e(() => {
|
|
12289
12289
|
let P = null;
|
|
12290
12290
|
const O = () => {
|
|
12291
12291
|
p.update(1 / 60), P = requestAnimationFrame(O);
|
|
@@ -12305,7 +12305,7 @@ const sP = ({
|
|
|
12305
12305
|
isPaused: C
|
|
12306
12306
|
}
|
|
12307
12307
|
};
|
|
12308
|
-
}, Y$ =
|
|
12308
|
+
}, Y$ = Ge(
|
|
12309
12309
|
Ce(
|
|
12310
12310
|
({
|
|
12311
12311
|
onCycleComplete: e,
|
|
@@ -12339,7 +12339,7 @@ const sP = ({
|
|
|
12339
12339
|
onClearErrorAnimation: h,
|
|
12340
12340
|
onStartPulsating: p
|
|
12341
12341
|
});
|
|
12342
|
-
return
|
|
12342
|
+
return _e(() => {
|
|
12343
12343
|
const O = l.current;
|
|
12344
12344
|
l.current !== void 0 && O !== C.currentState ? (O === "measured" && f(), O === "idle" && y(), S()) : R(), C.currentState === "idle" && m(), l.current = C.currentState;
|
|
12345
12345
|
}, [
|
|
@@ -12349,7 +12349,7 @@ const sP = ({
|
|
|
12349
12349
|
m,
|
|
12350
12350
|
S,
|
|
12351
12351
|
R
|
|
12352
|
-
]),
|
|
12352
|
+
]), _e(() => {
|
|
12353
12353
|
let O = !0;
|
|
12354
12354
|
const T = setTimeout(() => {
|
|
12355
12355
|
O && e(P);
|
|
@@ -12357,7 +12357,7 @@ const sP = ({
|
|
|
12357
12357
|
return () => {
|
|
12358
12358
|
O = !1, clearTimeout(T);
|
|
12359
12359
|
};
|
|
12360
|
-
}, [e, P]),
|
|
12360
|
+
}, [e, P]), _e(() => w, [w]), a === "small" ? /* @__PURE__ */ g.jsx(
|
|
12361
12361
|
aP,
|
|
12362
12362
|
{
|
|
12363
12363
|
timerState: C,
|
|
@@ -12386,7 +12386,7 @@ const sP = ({
|
|
|
12386
12386
|
hasError: r,
|
|
12387
12387
|
className: n
|
|
12388
12388
|
}) => {
|
|
12389
|
-
const { t: a } =
|
|
12389
|
+
const { t: a } = Qe(), o = Ip(), { elapsedTime: s, currentProgress: i } = e, { showErrorAnimation: l, showPauseAnimation: c, showMainText: u } = t;
|
|
12390
12390
|
return /* @__PURE__ */ g.jsxs(
|
|
12391
12391
|
re,
|
|
12392
12392
|
{
|
|
@@ -12510,7 +12510,7 @@ const sP = ({
|
|
|
12510
12510
|
compact: n,
|
|
12511
12511
|
className: a
|
|
12512
12512
|
}) => {
|
|
12513
|
-
const { t: o } =
|
|
12513
|
+
const { t: o } = Qe(), s = Ip(), { elapsedTime: i, currentProgress: l } = e, { showErrorAnimation: c, showPauseAnimation: u } = t;
|
|
12514
12514
|
return n ? /* @__PURE__ */ g.jsx(
|
|
12515
12515
|
re,
|
|
12516
12516
|
{
|
|
@@ -12724,7 +12724,7 @@ const sP = ({
|
|
|
12724
12724
|
currentProgress: 0
|
|
12725
12725
|
})), c.current = 0, l.current = null, u.current = 0, d.setImmediate([0]);
|
|
12726
12726
|
}, [d]), y = ge(() => o.isPausedState, [o.isPausedState]);
|
|
12727
|
-
return
|
|
12727
|
+
return _e(() => {
|
|
12728
12728
|
t ? (o.isRunning && (s((S) => ({ ...S, wasRunningBeforeError: !0 })), p()), n()) : (o.wasRunningBeforeError && !o.isRunning && (s((S) => ({ ...S, wasRunningBeforeError: !1 })), f()), a());
|
|
12729
12729
|
}, [
|
|
12730
12730
|
t,
|
|
@@ -12734,7 +12734,7 @@ const sP = ({
|
|
|
12734
12734
|
f,
|
|
12735
12735
|
n,
|
|
12736
12736
|
a
|
|
12737
|
-
]),
|
|
12737
|
+
]), _e(() => {
|
|
12738
12738
|
if (o.isRunning) {
|
|
12739
12739
|
const S = () => {
|
|
12740
12740
|
if (l.current) {
|
|
@@ -12752,7 +12752,7 @@ const sP = ({
|
|
|
12752
12752
|
return () => {
|
|
12753
12753
|
i.current && (cancelAnimationFrame(i.current), i.current = null);
|
|
12754
12754
|
};
|
|
12755
|
-
}, [o.isRunning, d]),
|
|
12755
|
+
}, [o.isRunning, d]), _e(() => {
|
|
12756
12756
|
let S = null;
|
|
12757
12757
|
const R = () => {
|
|
12758
12758
|
d.update(), S = requestAnimationFrame(R);
|
|
@@ -12770,7 +12770,7 @@ const sP = ({
|
|
|
12770
12770
|
isPaused: y
|
|
12771
12771
|
}
|
|
12772
12772
|
};
|
|
12773
|
-
}, K$ =
|
|
12773
|
+
}, K$ = Ge(
|
|
12774
12774
|
Ce(
|
|
12775
12775
|
({
|
|
12776
12776
|
onTimerReady: e,
|
|
@@ -12794,9 +12794,9 @@ const sP = ({
|
|
|
12794
12794
|
onErrorAnimation: l,
|
|
12795
12795
|
onClearErrorAnimation: c
|
|
12796
12796
|
});
|
|
12797
|
-
return
|
|
12797
|
+
return _e(() => {
|
|
12798
12798
|
u();
|
|
12799
|
-
}, [u]),
|
|
12799
|
+
}, [u]), _e(() => {
|
|
12800
12800
|
let f = !0;
|
|
12801
12801
|
const m = setTimeout(() => {
|
|
12802
12802
|
f && e(p);
|
|
@@ -12804,7 +12804,7 @@ const sP = ({
|
|
|
12804
12804
|
return () => {
|
|
12805
12805
|
f = !1, clearTimeout(m);
|
|
12806
12806
|
};
|
|
12807
|
-
}, [e, p]),
|
|
12807
|
+
}, [e, p]), _e(() => d, [d]), r === "small" ? /* @__PURE__ */ g.jsx(
|
|
12808
12808
|
lP,
|
|
12809
12809
|
{
|
|
12810
12810
|
timerState: h,
|
|
@@ -13104,7 +13104,7 @@ const fP = Or(/* @__PURE__ */ g.jsx("path", {
|
|
|
13104
13104
|
d: "M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"
|
|
13105
13105
|
}), "FilterList"), Vd = Or(/* @__PURE__ */ g.jsx("path", {
|
|
13106
13106
|
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
13107
|
-
}), "Search"), yP =
|
|
13107
|
+
}), "Search"), yP = Ge(
|
|
13108
13108
|
Ce(
|
|
13109
13109
|
({
|
|
13110
13110
|
data: e,
|
|
@@ -13123,14 +13123,14 @@ const fP = Or(/* @__PURE__ */ g.jsx("path", {
|
|
|
13123
13123
|
}) => {
|
|
13124
13124
|
var E;
|
|
13125
13125
|
const p = Be(), f = c0(), m = ye(null), [y, S] = De(null), R = _o(() => e.map(r), [e, r]);
|
|
13126
|
-
|
|
13126
|
+
_e(() => {
|
|
13127
13127
|
f.current && R.length > 0 && f.current.autosizeColumns({
|
|
13128
13128
|
includeOutliers: !0,
|
|
13129
13129
|
includeHeaders: !0,
|
|
13130
13130
|
expand: !0,
|
|
13131
13131
|
columns: t.map((I) => I.field)
|
|
13132
13132
|
});
|
|
13133
|
-
}, [R, t, f]),
|
|
13133
|
+
}, [R, t, f]), _e(() => {
|
|
13134
13134
|
if (!m.current || !f.current) return;
|
|
13135
13135
|
const I = new ResizeObserver(() => {
|
|
13136
13136
|
setTimeout(() => {
|
|
@@ -13686,7 +13686,7 @@ const bP = ({
|
|
|
13686
13686
|
...r
|
|
13687
13687
|
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 21, height: 21, viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("g", { id: "JogPlus" }, /* @__PURE__ */ B.createElement("g", { id: "Plus" }, /* @__PURE__ */ B.createElement("path", { d: "M0 13V8H8V13H0Z", fill: "white" }), /* @__PURE__ */ B.createElement("path", { d: "M8 0L13 2.18557e-07L13 21H8L8 0Z", fill: "white" }), /* @__PURE__ */ B.createElement("path", { d: "M13 13V8H21V13H13Z", fill: "white" })))), SP = rt(vP);
|
|
13688
13688
|
function Ic(e) {
|
|
13689
|
-
|
|
13689
|
+
_e(e, []);
|
|
13690
13690
|
}
|
|
13691
13691
|
function wP(e) {
|
|
13692
13692
|
Ic(() => lp(e));
|
|
@@ -13705,7 +13705,7 @@ function Ga(e) {
|
|
|
13705
13705
|
};
|
|
13706
13706
|
});
|
|
13707
13707
|
}
|
|
13708
|
-
const Md =
|
|
13708
|
+
const Md = Ge(
|
|
13709
13709
|
Ce(
|
|
13710
13710
|
({
|
|
13711
13711
|
colors: e,
|
|
@@ -13723,7 +13723,7 @@ const Md = Qe(
|
|
|
13723
13723
|
A && (A.textContent = b);
|
|
13724
13724
|
});
|
|
13725
13725
|
const l = Be(), [c, u] = De(null);
|
|
13726
|
-
|
|
13726
|
+
_e(() => {
|
|
13727
13727
|
o && R();
|
|
13728
13728
|
}, [o]);
|
|
13729
13729
|
const d = s || c, h = ye(null);
|
|
@@ -13993,7 +13993,7 @@ function YP(e, t, r) {
|
|
|
13993
13993
|
trailing: a
|
|
13994
13994
|
});
|
|
13995
13995
|
}
|
|
13996
|
-
const KP =
|
|
13996
|
+
const KP = Ge(
|
|
13997
13997
|
Ce(
|
|
13998
13998
|
({
|
|
13999
13999
|
startJogging: e,
|
|
@@ -14005,7 +14005,7 @@ const KP = Qe(
|
|
|
14005
14005
|
...s
|
|
14006
14006
|
}) => {
|
|
14007
14007
|
var w, C, P, O, T, E, I, b, A, N, V, z, te, ee, ne;
|
|
14008
|
-
const { t: i } =
|
|
14008
|
+
const { t: i } = Qe(), [l, c] = De(), u = Be(), d = {
|
|
14009
14009
|
background: (w = u.palette.backgroundPaperElevation) == null ? void 0 : w[4],
|
|
14010
14010
|
color: (C = u.palette.backgroundPaperElevation) == null ? void 0 : C[11]
|
|
14011
14011
|
}, h = ps(() => ({
|
|
@@ -28654,7 +28654,7 @@ function SV(e) {
|
|
|
28654
28654
|
}
|
|
28655
28655
|
const Wf = (e) => {
|
|
28656
28656
|
const t = e.softTimeout || 3e3, [r, n] = De(!1), a = Be();
|
|
28657
|
-
return
|
|
28657
|
+
return _e(() => {
|
|
28658
28658
|
const o = setTimeout(() => {
|
|
28659
28659
|
n(!0);
|
|
28660
28660
|
}, t);
|
|
@@ -29224,7 +29224,7 @@ function o3(e, t) {
|
|
|
29224
29224
|
const ag = ({
|
|
29225
29225
|
store: e
|
|
29226
29226
|
}) => {
|
|
29227
|
-
const { t } =
|
|
29227
|
+
const { t } = Qe(), [r, n] = De(
|
|
29228
29228
|
e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached
|
|
29229
29229
|
), a = ye(r);
|
|
29230
29230
|
Ga(() => {
|
|
@@ -29708,7 +29708,7 @@ class Lc {
|
|
|
29708
29708
|
}
|
|
29709
29709
|
const q3 = Ce(({ store: e }) => {
|
|
29710
29710
|
var a;
|
|
29711
|
-
const { t } =
|
|
29711
|
+
const { t } = Qe(), r = [];
|
|
29712
29712
|
function n(o) {
|
|
29713
29713
|
switch (o) {
|
|
29714
29714
|
case "coordsys":
|
|
@@ -30092,30 +30092,30 @@ function sj(e) {
|
|
|
30092
30092
|
ee = ee.map((Y) => Y == null ? l : gn(Y, l, i));
|
|
30093
30093
|
const ne = s === !0 && m !== null ? [...Array(Math.floor((i - l) / m) + 1)].map((Y, Z) => ({
|
|
30094
30094
|
value: l + m * Z
|
|
30095
|
-
})) : s || [], X = ne.map((Y) => Y.value), [ie, q] = B.useState(-1), Q = B.useRef(null), he = Rs(p, Q),
|
|
30095
|
+
})) : s || [], X = ne.map((Y) => Y.value), [ie, q] = B.useState(-1), Q = B.useRef(null), he = Rs(p, Q), Ee = (Y) => (Z) => {
|
|
30096
30096
|
var fe;
|
|
30097
30097
|
const oe = Number(Z.currentTarget.getAttribute("data-index"));
|
|
30098
30098
|
Wh(Z.target) && q(oe), T(oe), (fe = Y == null ? void 0 : Y.onFocus) == null || fe.call(Y, Z);
|
|
30099
|
-
},
|
|
30099
|
+
}, Je = (Y) => (Z) => {
|
|
30100
30100
|
var oe;
|
|
30101
30101
|
Wh(Z.target) || q(-1), T(-1), (oe = Y == null ? void 0 : Y.onBlur) == null || oe.call(Y, Z);
|
|
30102
30102
|
}, Pe = (Y, Z) => {
|
|
30103
30103
|
const oe = Number(Y.currentTarget.getAttribute("data-index")), fe = ee[oe], Te = X.indexOf(fe);
|
|
30104
30104
|
let se = Z;
|
|
30105
30105
|
if (ne && m == null) {
|
|
30106
|
-
const
|
|
30107
|
-
se >=
|
|
30106
|
+
const Ke = X[X.length - 1];
|
|
30107
|
+
se >= Ke ? se = Ke : se <= X[0] ? se = X[0] : se = se < fe ? X[Te - 1] : X[Te + 1];
|
|
30108
30108
|
}
|
|
30109
30109
|
if (se = gn(se, l, i), te) {
|
|
30110
30110
|
a && (se = gn(se, ee[oe - 1] || -1 / 0, ee[oe + 1] || 1 / 0));
|
|
30111
|
-
const
|
|
30111
|
+
const Ke = se;
|
|
30112
30112
|
se = Yh({
|
|
30113
30113
|
values: ee,
|
|
30114
30114
|
newValue: se,
|
|
30115
30115
|
index: oe
|
|
30116
30116
|
});
|
|
30117
30117
|
let ot = oe;
|
|
30118
|
-
a || (ot = se.indexOf(
|
|
30118
|
+
a || (ot = se.indexOf(Ke)), To({
|
|
30119
30119
|
sliderRef: Q,
|
|
30120
30120
|
activeIndex: ot
|
|
30121
30121
|
});
|
|
@@ -30128,19 +30128,19 @@ function sj(e) {
|
|
|
30128
30128
|
const fe = Number(Z.currentTarget.getAttribute("data-index")), Te = ee[fe];
|
|
30129
30129
|
let se = null;
|
|
30130
30130
|
if (m != null) {
|
|
30131
|
-
const
|
|
30131
|
+
const Ke = Z.shiftKey ? y : m;
|
|
30132
30132
|
switch (Z.key) {
|
|
30133
30133
|
case "ArrowUp":
|
|
30134
|
-
se = mn(Te,
|
|
30134
|
+
se = mn(Te, Ke, 1, l, i);
|
|
30135
30135
|
break;
|
|
30136
30136
|
case "ArrowRight":
|
|
30137
|
-
se = mn(Te,
|
|
30137
|
+
se = mn(Te, Ke, o ? -1 : 1, l, i);
|
|
30138
30138
|
break;
|
|
30139
30139
|
case "ArrowDown":
|
|
30140
|
-
se = mn(Te,
|
|
30140
|
+
se = mn(Te, Ke, -1, l, i);
|
|
30141
30141
|
break;
|
|
30142
30142
|
case "ArrowLeft":
|
|
30143
|
-
se = mn(Te,
|
|
30143
|
+
se = mn(Te, Ke, o ? 1 : -1, l, i);
|
|
30144
30144
|
break;
|
|
30145
30145
|
case "PageUp":
|
|
30146
30146
|
se = mn(Te, y, 1, l, i);
|
|
@@ -30156,8 +30156,8 @@ function sj(e) {
|
|
|
30156
30156
|
break;
|
|
30157
30157
|
}
|
|
30158
30158
|
} else if (ne) {
|
|
30159
|
-
const
|
|
30160
|
-
|
|
30159
|
+
const Ke = X[X.length - 1], ot = X.indexOf(Te), He = [o ? "ArrowRight" : "ArrowLeft", "ArrowDown", "PageDown", "Home"], vt = [o ? "ArrowLeft" : "ArrowRight", "ArrowUp", "PageUp", "End"];
|
|
30160
|
+
He.includes(Z.key) ? ot === 0 ? se = X[0] : se = X[ot - 1] : vt.includes(Z.key) && (ot === X.length - 1 ? se = Ke : se = X[ot + 1]);
|
|
30161
30161
|
}
|
|
30162
30162
|
se != null && Pe(Z, se);
|
|
30163
30163
|
}
|
|
@@ -30183,30 +30183,30 @@ function sj(e) {
|
|
|
30183
30183
|
width: fe,
|
|
30184
30184
|
height: Te,
|
|
30185
30185
|
bottom: se,
|
|
30186
|
-
left:
|
|
30186
|
+
left: Ke
|
|
30187
30187
|
} = oe.getBoundingClientRect();
|
|
30188
30188
|
let ot;
|
|
30189
|
-
K.startsWith("vertical") ? ot = (se - Y.y) / Te : ot = (Y.x -
|
|
30190
|
-
let
|
|
30191
|
-
if (
|
|
30192
|
-
|
|
30189
|
+
K.startsWith("vertical") ? ot = (se - Y.y) / Te : ot = (Y.x - Ke) / fe, K.includes("-reverse") && (ot = 1 - ot);
|
|
30190
|
+
let He;
|
|
30191
|
+
if (He = tj(ot, l, i), m)
|
|
30192
|
+
He = nj(He, m, l);
|
|
30193
30193
|
else {
|
|
30194
|
-
const Hn = Jh(X,
|
|
30195
|
-
|
|
30194
|
+
const Hn = Jh(X, He);
|
|
30195
|
+
He = X[Hn];
|
|
30196
30196
|
}
|
|
30197
|
-
|
|
30197
|
+
He = gn(He, l, i);
|
|
30198
30198
|
let vt = 0;
|
|
30199
30199
|
if (te) {
|
|
30200
|
-
Z ? vt = xe.current : vt = Jh(ee,
|
|
30201
|
-
const Hn =
|
|
30202
|
-
|
|
30200
|
+
Z ? vt = xe.current : vt = Jh(ee, He), a && (He = gn(He, ee[vt - 1] || -1 / 0, ee[vt + 1] || 1 / 0));
|
|
30201
|
+
const Hn = He;
|
|
30202
|
+
He = Yh({
|
|
30203
30203
|
values: ee,
|
|
30204
|
-
newValue:
|
|
30204
|
+
newValue: He,
|
|
30205
30205
|
index: vt
|
|
30206
|
-
}), a && Z || (vt =
|
|
30206
|
+
}), a && Z || (vt = He.indexOf(Hn), xe.current = vt);
|
|
30207
30207
|
}
|
|
30208
30208
|
return {
|
|
30209
|
-
newValue:
|
|
30209
|
+
newValue: He,
|
|
30210
30210
|
activeIndex: vt
|
|
30211
30211
|
};
|
|
30212
30212
|
}, le = Qt((Y) => {
|
|
@@ -30292,22 +30292,22 @@ function sj(e) {
|
|
|
30292
30292
|
if (oe !== !1) {
|
|
30293
30293
|
const {
|
|
30294
30294
|
newValue: se,
|
|
30295
|
-
activeIndex:
|
|
30295
|
+
activeIndex: Ke
|
|
30296
30296
|
} = ae({
|
|
30297
30297
|
finger: oe
|
|
30298
30298
|
});
|
|
30299
30299
|
To({
|
|
30300
30300
|
sliderRef: Q,
|
|
30301
|
-
activeIndex:
|
|
30301
|
+
activeIndex: Ke,
|
|
30302
30302
|
setActive: P
|
|
30303
|
-
}), V(se), z && !Ro(se, N) && z(Z, se,
|
|
30303
|
+
}), V(se), z && !Ro(se, N) && z(Z, se, Ke);
|
|
30304
30304
|
}
|
|
30305
30305
|
b.current = 0;
|
|
30306
30306
|
const fe = ga(Q.current);
|
|
30307
30307
|
fe.addEventListener("mousemove", le, {
|
|
30308
30308
|
passive: !0
|
|
30309
30309
|
}), fe.addEventListener("mouseup", W);
|
|
30310
|
-
},
|
|
30310
|
+
}, Ye = hs(te ? ee[0] : l, l, i), Ue = hs(ee[ee.length - 1], l, i) - Ye, lr = (Y = {}) => {
|
|
30311
30311
|
const Z = Do(Y), oe = {
|
|
30312
30312
|
onMouseDown: Ze(Z || {})
|
|
30313
30313
|
}, fe = {
|
|
@@ -30351,8 +30351,8 @@ function sj(e) {
|
|
|
30351
30351
|
getHiddenInputProps: (Y = {}) => {
|
|
30352
30352
|
const Z = Do(Y), oe = {
|
|
30353
30353
|
onChange: lt(Z || {}),
|
|
30354
|
-
onFocus:
|
|
30355
|
-
onBlur:
|
|
30354
|
+
onFocus: Ee(Z || {}),
|
|
30355
|
+
onBlur: Je(Z || {}),
|
|
30356
30356
|
onKeyDown: mt(Z || {})
|
|
30357
30357
|
}, fe = {
|
|
30358
30358
|
...Z,
|
|
@@ -30389,7 +30389,7 @@ function sj(e) {
|
|
|
30389
30389
|
range: te,
|
|
30390
30390
|
rootRef: he,
|
|
30391
30391
|
trackLeap: Ue,
|
|
30392
|
-
trackOffset:
|
|
30392
|
+
trackOffset: Ye,
|
|
30393
30393
|
values: ee,
|
|
30394
30394
|
getThumbStyle: Qa
|
|
30395
30395
|
};
|
|
@@ -31034,8 +31034,8 @@ const gj = xt("span", {
|
|
|
31034
31034
|
valueLabelFormat: ie
|
|
31035
31035
|
}, {
|
|
31036
31036
|
axisProps: he,
|
|
31037
|
-
getRootProps:
|
|
31038
|
-
getHiddenInputProps:
|
|
31037
|
+
getRootProps: Ee,
|
|
31038
|
+
getHiddenInputProps: Je,
|
|
31039
31039
|
getThumbProps: Pe,
|
|
31040
31040
|
open: mt,
|
|
31041
31041
|
active: lt,
|
|
@@ -31047,15 +31047,15 @@ const gj = xt("span", {
|
|
|
31047
31047
|
values: ve,
|
|
31048
31048
|
trackOffset: me,
|
|
31049
31049
|
trackLeap: Ze,
|
|
31050
|
-
getThumbStyle:
|
|
31050
|
+
getThumbStyle: Ye
|
|
31051
31051
|
} = sj({
|
|
31052
31052
|
...Q,
|
|
31053
31053
|
rootRef: r
|
|
31054
31054
|
});
|
|
31055
31055
|
Q.marked = W.length > 0 && W.some((ze) => ze.label), Q.dragging = le, Q.focusedThumbIndex = K;
|
|
31056
|
-
const Ue = bj(Q), lr = (z == null ? void 0 : z.root) ?? c.Root ?? hj, Ja = (z == null ? void 0 : z.rail) ?? c.Rail ?? pj, Ya = (z == null ? void 0 : z.track) ?? c.Track ?? mj, Ka = (z == null ? void 0 : z.thumb) ?? c.Thumb ?? fj, Qa = (z == null ? void 0 : z.valueLabel) ?? c.ValueLabel ?? pg, Xr = (z == null ? void 0 : z.mark) ?? c.Mark ?? gj, Xa = (z == null ? void 0 : z.markLabel) ?? c.MarkLabel ?? yj, Y = (z == null ? void 0 : z.input) ?? c.Input ?? "input", Z = (V == null ? void 0 : V.root) ?? u.root, oe = (V == null ? void 0 : V.rail) ?? u.rail, fe = (V == null ? void 0 : V.track) ?? u.track, Te = (V == null ? void 0 : V.thumb) ?? u.thumb, se = (V == null ? void 0 : V.valueLabel) ?? u.valueLabel,
|
|
31056
|
+
const Ue = bj(Q), lr = (z == null ? void 0 : z.root) ?? c.Root ?? hj, Ja = (z == null ? void 0 : z.rail) ?? c.Rail ?? pj, Ya = (z == null ? void 0 : z.track) ?? c.Track ?? mj, Ka = (z == null ? void 0 : z.thumb) ?? c.Thumb ?? fj, Qa = (z == null ? void 0 : z.valueLabel) ?? c.ValueLabel ?? pg, Xr = (z == null ? void 0 : z.mark) ?? c.Mark ?? gj, Xa = (z == null ? void 0 : z.markLabel) ?? c.MarkLabel ?? yj, Y = (z == null ? void 0 : z.input) ?? c.Input ?? "input", Z = (V == null ? void 0 : V.root) ?? u.root, oe = (V == null ? void 0 : V.rail) ?? u.rail, fe = (V == null ? void 0 : V.track) ?? u.track, Te = (V == null ? void 0 : V.thumb) ?? u.thumb, se = (V == null ? void 0 : V.valueLabel) ?? u.valueLabel, Ke = (V == null ? void 0 : V.mark) ?? u.mark, ot = (V == null ? void 0 : V.markLabel) ?? u.markLabel, He = (V == null ? void 0 : V.input) ?? u.input, vt = hr({
|
|
31057
31057
|
elementType: lr,
|
|
31058
|
-
getSlotProps:
|
|
31058
|
+
getSlotProps: Ee,
|
|
31059
31059
|
externalSlotProps: Z,
|
|
31060
31060
|
externalForwardedProps: q,
|
|
31061
31061
|
additionalProps: {
|
|
@@ -31106,7 +31106,7 @@ const gj = xt("span", {
|
|
|
31106
31106
|
className: Ue.valueLabel
|
|
31107
31107
|
}), ii = hr({
|
|
31108
31108
|
elementType: Xr,
|
|
31109
|
-
externalSlotProps:
|
|
31109
|
+
externalSlotProps: Ke,
|
|
31110
31110
|
ownerState: Q,
|
|
31111
31111
|
className: Ue.mark
|
|
31112
31112
|
}), li = hr({
|
|
@@ -31116,8 +31116,8 @@ const gj = xt("span", {
|
|
|
31116
31116
|
className: Ue.markLabel
|
|
31117
31117
|
}), Tg = hr({
|
|
31118
31118
|
elementType: Y,
|
|
31119
|
-
getSlotProps:
|
|
31120
|
-
externalSlotProps:
|
|
31119
|
+
getSlotProps: Je,
|
|
31120
|
+
externalSlotProps: He,
|
|
31121
31121
|
ownerState: Q
|
|
31122
31122
|
});
|
|
31123
31123
|
return /* @__PURE__ */ g.jsxs(lr, {
|
|
@@ -31176,7 +31176,7 @@ const gj = xt("span", {
|
|
|
31176
31176
|
className: Et(Ue.thumb, si.className, lt === et && Ue.active, K === et && Ue.focusVisible),
|
|
31177
31177
|
style: {
|
|
31178
31178
|
...Za,
|
|
31179
|
-
...
|
|
31179
|
+
...Ye(et),
|
|
31180
31180
|
...si.style
|
|
31181
31181
|
},
|
|
31182
31182
|
children: /* @__PURE__ */ g.jsx(Y, {
|
|
@@ -31465,7 +31465,7 @@ function Sj(e) {
|
|
|
31465
31465
|
}
|
|
31466
31466
|
const wj = Ce((e) => {
|
|
31467
31467
|
var o, s, i;
|
|
31468
|
-
const t = Be(), { store: r } = e, { t: n } =
|
|
31468
|
+
const t = Be(), { store: r } = e, { t: n } = Qe();
|
|
31469
31469
|
function a(l, c) {
|
|
31470
31470
|
c === e.velocity || !Sj(c) || e.onVelocityChange(c);
|
|
31471
31471
|
}
|
|
@@ -31538,7 +31538,7 @@ function fg({ value: e, sx: t }) {
|
|
|
31538
31538
|
}
|
|
31539
31539
|
const gg = Ce(
|
|
31540
31540
|
({ store: e }) => {
|
|
31541
|
-
const { t } =
|
|
31541
|
+
const { t } = Qe(), r = ps(() => ({
|
|
31542
31542
|
get valueLabelFormat() {
|
|
31543
31543
|
return e.currentMotionType === "translate" ? (n) => `v = ${t("Jogging.Cartesian.Translation.velocityMmPerSec.lb", { amount: n })}` : (n) => `ω = ${t("Jogging.Cartesian.Rotation.velocityDegPerSec.lb", { amount: n })}`;
|
|
31544
31544
|
}
|
|
@@ -31572,7 +31572,7 @@ const gg = Ce(
|
|
|
31572
31572
|
store: e,
|
|
31573
31573
|
children: t
|
|
31574
31574
|
}) => {
|
|
31575
|
-
const { t: r } =
|
|
31575
|
+
const { t: r } = Qe(), n = Be();
|
|
31576
31576
|
function a(h, p) {
|
|
31577
31577
|
(p === "translate" || p === "rotate") && e.setSelectedCartesianMotionType(p);
|
|
31578
31578
|
}
|
|
@@ -31854,7 +31854,7 @@ const gg = Ce(
|
|
|
31854
31854
|
t
|
|
31855
31855
|
] });
|
|
31856
31856
|
}
|
|
31857
|
-
), pk =
|
|
31857
|
+
), pk = Ge(
|
|
31858
31858
|
Ce((e) => {
|
|
31859
31859
|
const t = w0(e.nova) ? new bV({ instanceUrl: e.nova }) : e.nova, r = ps(() => ({
|
|
31860
31860
|
joggingStore: null,
|
|
@@ -31877,10 +31877,10 @@ const gg = Ce(
|
|
|
31877
31877
|
r.loadingError = a;
|
|
31878
31878
|
}
|
|
31879
31879
|
}
|
|
31880
|
-
return
|
|
31880
|
+
return _e(() => (n(), e.store ? () => null : () => {
|
|
31881
31881
|
var a;
|
|
31882
31882
|
(a = r.joggingStore) == null || a.dispose();
|
|
31883
|
-
}), [e.store, e.nova, e.motionGroupId]),
|
|
31883
|
+
}), [e.store, e.nova, e.motionGroupId]), _e(() => {
|
|
31884
31884
|
const a = r.joggingStore;
|
|
31885
31885
|
a && (e.locked ? a.lock("external") : a.unlock("external"));
|
|
31886
31886
|
}, [r.joggingStore, e.locked]), /* @__PURE__ */ g.jsx(
|
|
@@ -31907,7 +31907,7 @@ const gg = Ce(
|
|
|
31907
31907
|
store: e,
|
|
31908
31908
|
children: t
|
|
31909
31909
|
}) => {
|
|
31910
|
-
const { t: r } =
|
|
31910
|
+
const { t: r } = Qe();
|
|
31911
31911
|
function n() {
|
|
31912
31912
|
if (e.currentTab.id === "cartesian")
|
|
31913
31913
|
return /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx(Oj, { store: e, children: t }) });
|
|
@@ -31967,7 +31967,7 @@ const gg = Ce(
|
|
|
31967
31967
|
}
|
|
31968
31968
|
return !1;
|
|
31969
31969
|
}
|
|
31970
|
-
return
|
|
31970
|
+
return _e(() => {
|
|
31971
31971
|
if (!a)
|
|
31972
31972
|
return;
|
|
31973
31973
|
const l = setTimeout(() => o(!1), 3e3);
|
|
@@ -32017,62 +32017,64 @@ function Tj(e, t) {
|
|
|
32017
32017
|
rapidlyChangingMotionState: t.rapidlyChangingMotionState
|
|
32018
32018
|
};
|
|
32019
32019
|
}
|
|
32020
|
-
const mk =
|
|
32021
|
-
(
|
|
32022
|
-
|
|
32023
|
-
|
|
32024
|
-
|
|
32025
|
-
|
|
32026
|
-
|
|
32027
|
-
|
|
32028
|
-
|
|
32029
|
-
|
|
32030
|
-
if (!s)
|
|
32031
|
-
throw new Error(
|
|
32032
|
-
"PoseCartesianValues requires either motionStream or connectedMotionGroup prop"
|
|
32020
|
+
const mk = Ge(
|
|
32021
|
+
Ce(
|
|
32022
|
+
({
|
|
32023
|
+
motionStream: e,
|
|
32024
|
+
connectedMotionGroup: t,
|
|
32025
|
+
showCopyButton: r = !1
|
|
32026
|
+
}) => {
|
|
32027
|
+
const n = ye(null), [a, o] = De(""), s = Tj(
|
|
32028
|
+
e,
|
|
32029
|
+
t
|
|
32033
32030
|
);
|
|
32034
|
-
|
|
32035
|
-
|
|
32036
|
-
|
|
32037
|
-
|
|
32038
|
-
|
|
32039
|
-
|
|
32040
|
-
|
|
32041
|
-
|
|
32042
|
-
} catch {
|
|
32043
|
-
o("Copy failed"), setTimeout(() => o(""), 2e3);
|
|
32044
|
-
}
|
|
32045
|
-
};
|
|
32046
|
-
return Ga(() => {
|
|
32047
|
-
if (!n.current)
|
|
32048
|
-
return;
|
|
32049
|
-
const c = i();
|
|
32050
|
-
n.current.textContent !== c && (n.current.textContent = c);
|
|
32051
|
-
}), /* @__PURE__ */ g.jsxs(
|
|
32052
|
-
ke,
|
|
32053
|
-
{
|
|
32054
|
-
direction: "row",
|
|
32055
|
-
alignItems: "center",
|
|
32056
|
-
spacing: 1,
|
|
32057
|
-
sx: { flexGrow: 1, minWidth: 0, overflow: "hidden" },
|
|
32058
|
-
children: [
|
|
32059
|
-
/* @__PURE__ */ g.jsx(yg, { value: i(), ref: n }),
|
|
32060
|
-
r && /* @__PURE__ */ g.jsx(
|
|
32061
|
-
gr,
|
|
32062
|
-
{
|
|
32063
|
-
variant: "contained",
|
|
32064
|
-
color: "secondary",
|
|
32065
|
-
size: "small",
|
|
32066
|
-
onClick: l,
|
|
32067
|
-
sx: { flexShrink: 0 },
|
|
32068
|
-
children: "Copy"
|
|
32069
|
-
}
|
|
32070
|
-
),
|
|
32071
|
-
a && /* @__PURE__ */ g.jsx(de, { variant: "caption", color: "success.main", children: a })
|
|
32072
|
-
]
|
|
32031
|
+
if (!s)
|
|
32032
|
+
throw new Error(
|
|
32033
|
+
"PoseCartesianValues requires either motionStream or connectedMotionGroup prop"
|
|
32034
|
+
);
|
|
32035
|
+
function i() {
|
|
32036
|
+
if (!s) return "";
|
|
32037
|
+
const c = s.rapidlyChangingMotionState.tcp_pose;
|
|
32038
|
+
return c ? P0(c) : "";
|
|
32073
32039
|
}
|
|
32074
|
-
|
|
32075
|
-
|
|
32040
|
+
const l = async () => {
|
|
32041
|
+
try {
|
|
32042
|
+
await navigator.clipboard.writeText(i()), o("Copied!"), setTimeout(() => o(""), 2e3);
|
|
32043
|
+
} catch {
|
|
32044
|
+
o("Copy failed"), setTimeout(() => o(""), 2e3);
|
|
32045
|
+
}
|
|
32046
|
+
};
|
|
32047
|
+
return Ga(() => {
|
|
32048
|
+
if (!n.current)
|
|
32049
|
+
return;
|
|
32050
|
+
const c = i();
|
|
32051
|
+
n.current.textContent !== c && (n.current.textContent = c);
|
|
32052
|
+
}), /* @__PURE__ */ g.jsxs(
|
|
32053
|
+
ke,
|
|
32054
|
+
{
|
|
32055
|
+
direction: "row",
|
|
32056
|
+
alignItems: "center",
|
|
32057
|
+
spacing: 1,
|
|
32058
|
+
sx: { flexGrow: 1, minWidth: 0, overflow: "hidden" },
|
|
32059
|
+
children: [
|
|
32060
|
+
/* @__PURE__ */ g.jsx(yg, { value: i(), ref: n }),
|
|
32061
|
+
r && /* @__PURE__ */ g.jsx(
|
|
32062
|
+
gr,
|
|
32063
|
+
{
|
|
32064
|
+
variant: "contained",
|
|
32065
|
+
color: "secondary",
|
|
32066
|
+
size: "small",
|
|
32067
|
+
onClick: l,
|
|
32068
|
+
sx: { flexShrink: 0 },
|
|
32069
|
+
children: "Copy"
|
|
32070
|
+
}
|
|
32071
|
+
),
|
|
32072
|
+
a && /* @__PURE__ */ g.jsx(de, { variant: "caption", color: "success.main", children: a })
|
|
32073
|
+
]
|
|
32074
|
+
}
|
|
32075
|
+
);
|
|
32076
|
+
}
|
|
32077
|
+
)
|
|
32076
32078
|
);
|
|
32077
32079
|
function Rj(e, t) {
|
|
32078
32080
|
if (e)
|
|
@@ -32082,62 +32084,64 @@ function Rj(e, t) {
|
|
|
32082
32084
|
rapidlyChangingMotionState: t.rapidlyChangingMotionState
|
|
32083
32085
|
};
|
|
32084
32086
|
}
|
|
32085
|
-
const fk =
|
|
32086
|
-
(
|
|
32087
|
-
|
|
32088
|
-
|
|
32089
|
-
|
|
32090
|
-
|
|
32091
|
-
|
|
32092
|
-
|
|
32093
|
-
|
|
32094
|
-
|
|
32095
|
-
if (!s)
|
|
32096
|
-
throw new Error(
|
|
32097
|
-
"PoseJointValues requires either motionStream or connectedMotionGroup prop"
|
|
32087
|
+
const fk = Ge(
|
|
32088
|
+
Ce(
|
|
32089
|
+
({
|
|
32090
|
+
motionStream: e,
|
|
32091
|
+
connectedMotionGroup: t,
|
|
32092
|
+
showCopyButton: r = !1
|
|
32093
|
+
}) => {
|
|
32094
|
+
const n = ye(null), [a, o] = De(""), s = Rj(
|
|
32095
|
+
e,
|
|
32096
|
+
t
|
|
32098
32097
|
);
|
|
32099
|
-
|
|
32100
|
-
|
|
32101
|
-
|
|
32102
|
-
|
|
32103
|
-
|
|
32104
|
-
|
|
32105
|
-
|
|
32106
|
-
|
|
32107
|
-
} catch {
|
|
32108
|
-
o("Copy failed"), setTimeout(() => o(""), 2e3);
|
|
32109
|
-
}
|
|
32110
|
-
};
|
|
32111
|
-
return Ga(() => {
|
|
32112
|
-
if (!n.current)
|
|
32113
|
-
return;
|
|
32114
|
-
const c = i();
|
|
32115
|
-
n.current.textContent !== c && (n.current.textContent = c);
|
|
32116
|
-
}), /* @__PURE__ */ g.jsxs(
|
|
32117
|
-
ke,
|
|
32118
|
-
{
|
|
32119
|
-
direction: "row",
|
|
32120
|
-
alignItems: "center",
|
|
32121
|
-
spacing: 1,
|
|
32122
|
-
sx: { flexGrow: 1, minWidth: 0, overflow: "hidden" },
|
|
32123
|
-
children: [
|
|
32124
|
-
/* @__PURE__ */ g.jsx(yg, { value: i(), ref: n }),
|
|
32125
|
-
r && /* @__PURE__ */ g.jsx(
|
|
32126
|
-
gr,
|
|
32127
|
-
{
|
|
32128
|
-
variant: "contained",
|
|
32129
|
-
color: "secondary",
|
|
32130
|
-
size: "small",
|
|
32131
|
-
onClick: l,
|
|
32132
|
-
sx: { flexShrink: 0 },
|
|
32133
|
-
children: "Copy"
|
|
32134
|
-
}
|
|
32135
|
-
),
|
|
32136
|
-
a && /* @__PURE__ */ g.jsx(de, { variant: "caption", color: "success.main", children: a })
|
|
32137
|
-
]
|
|
32098
|
+
if (!s)
|
|
32099
|
+
throw new Error(
|
|
32100
|
+
"PoseJointValues requires either motionStream or connectedMotionGroup prop"
|
|
32101
|
+
);
|
|
32102
|
+
function i() {
|
|
32103
|
+
if (!s) return "";
|
|
32104
|
+
const { joints: c } = s.rapidlyChangingMotionState.state.joint_position;
|
|
32105
|
+
return `[${c.map((u) => parseFloat(u.toFixed(4))).join(", ")}]`;
|
|
32138
32106
|
}
|
|
32139
|
-
|
|
32140
|
-
|
|
32107
|
+
const l = async () => {
|
|
32108
|
+
try {
|
|
32109
|
+
await navigator.clipboard.writeText(i()), o("Copied!"), setTimeout(() => o(""), 2e3);
|
|
32110
|
+
} catch {
|
|
32111
|
+
o("Copy failed"), setTimeout(() => o(""), 2e3);
|
|
32112
|
+
}
|
|
32113
|
+
};
|
|
32114
|
+
return Ga(() => {
|
|
32115
|
+
if (!n.current)
|
|
32116
|
+
return;
|
|
32117
|
+
const c = i();
|
|
32118
|
+
n.current.textContent !== c && (n.current.textContent = c);
|
|
32119
|
+
}), /* @__PURE__ */ g.jsxs(
|
|
32120
|
+
ke,
|
|
32121
|
+
{
|
|
32122
|
+
direction: "row",
|
|
32123
|
+
alignItems: "center",
|
|
32124
|
+
spacing: 1,
|
|
32125
|
+
sx: { flexGrow: 1, minWidth: 0, overflow: "hidden" },
|
|
32126
|
+
children: [
|
|
32127
|
+
/* @__PURE__ */ g.jsx(yg, { value: i(), ref: n }),
|
|
32128
|
+
r && /* @__PURE__ */ g.jsx(
|
|
32129
|
+
gr,
|
|
32130
|
+
{
|
|
32131
|
+
variant: "contained",
|
|
32132
|
+
color: "secondary",
|
|
32133
|
+
size: "small",
|
|
32134
|
+
onClick: l,
|
|
32135
|
+
sx: { flexShrink: 0 },
|
|
32136
|
+
children: "Copy"
|
|
32137
|
+
}
|
|
32138
|
+
),
|
|
32139
|
+
a && /* @__PURE__ */ g.jsx(de, { variant: "caption", color: "success.main", children: a })
|
|
32140
|
+
]
|
|
32141
|
+
}
|
|
32142
|
+
);
|
|
32143
|
+
}
|
|
32144
|
+
)
|
|
32141
32145
|
);
|
|
32142
32146
|
class Aj {
|
|
32143
32147
|
constructor() {
|
|
@@ -32171,11 +32175,11 @@ const oi = (e, t, r) => ({
|
|
|
32171
32175
|
timestamp: /* @__PURE__ */ new Date(),
|
|
32172
32176
|
message: e,
|
|
32173
32177
|
level: t
|
|
32174
|
-
}), gk = (e, t) => oi(e, "debug", t), yk = (e, t) => oi(e, "info", t), bk = (e, t) => oi(e, "warning", t), xk = (e, t) => oi(e, "error", t), _j =
|
|
32178
|
+
}), gk = (e, t) => oi(e, "debug", t), yk = (e, t) => oi(e, "info", t), bk = (e, t) => oi(e, "warning", t), xk = (e, t) => oi(e, "error", t), _j = Ge(
|
|
32175
32179
|
Ce((e) => {
|
|
32176
32180
|
var u;
|
|
32177
32181
|
const { messages: t = [], onClear: r, height: n = 400, sx: a } = e, o = Be(), s = ye(null);
|
|
32178
|
-
|
|
32182
|
+
_e(() => {
|
|
32179
32183
|
if (t.length === 0) return;
|
|
32180
32184
|
const d = s.current;
|
|
32181
32185
|
if (!d) return;
|
|
@@ -32440,10 +32444,10 @@ const oi = (e, t, r) => ({
|
|
|
32440
32444
|
}
|
|
32441
32445
|
);
|
|
32442
32446
|
})
|
|
32443
|
-
), vk =
|
|
32447
|
+
), vk = Ge(
|
|
32444
32448
|
Ce((e) => {
|
|
32445
32449
|
const { store: t, onStoreReady: r, ...n } = e, a = ye(r);
|
|
32446
|
-
|
|
32450
|
+
_e(() => {
|
|
32447
32451
|
a.current = r;
|
|
32448
32452
|
}, [r]);
|
|
32449
32453
|
const o = _o(() => {
|
|
@@ -32543,7 +32547,7 @@ function Sk({
|
|
|
32543
32547
|
);
|
|
32544
32548
|
}
|
|
32545
32549
|
var yn = /* @__PURE__ */ ((e) => (e.IDLE = "idle", e.RUNNING = "running", e.PAUSED = "paused", e.STOPPING = "stopping", e.ERROR = "error", e))(yn || {});
|
|
32546
|
-
const wk =
|
|
32550
|
+
const wk = Ge(
|
|
32547
32551
|
Ce(
|
|
32548
32552
|
({
|
|
32549
32553
|
state: e,
|
|
@@ -32555,7 +32559,7 @@ const wk = Qe(
|
|
|
32555
32559
|
variant: s = "with_pause",
|
|
32556
32560
|
className: i
|
|
32557
32561
|
}) => {
|
|
32558
|
-
const l = Be(), { t: c } =
|
|
32562
|
+
const l = Be(), { t: c } = Qe(), u = () => {
|
|
32559
32563
|
const p = {
|
|
32560
32564
|
run: {
|
|
32561
32565
|
enabled: e === "idle" || e === "paused" || e === "error",
|
|
@@ -32671,7 +32675,7 @@ const wk = Qe(
|
|
|
32671
32675
|
);
|
|
32672
32676
|
}
|
|
32673
32677
|
)
|
|
32674
|
-
), Xh =
|
|
32678
|
+
), Xh = Ge(
|
|
32675
32679
|
Ce(
|
|
32676
32680
|
({
|
|
32677
32681
|
programState: e,
|
|
@@ -32679,7 +32683,7 @@ const wk = Qe(
|
|
|
32679
32683
|
operationMode: r,
|
|
32680
32684
|
className: n
|
|
32681
32685
|
}) => {
|
|
32682
|
-
const a = Be(), { t: o } =
|
|
32686
|
+
const a = Be(), { t: o } = Qe(), s = () => {
|
|
32683
32687
|
if (t === "SAFETY_STATE_DEVICE_EMERGENCY_STOP" || t === "SAFETY_STATE_ROBOT_EMERGENCY_STOP" || t === "SAFETY_STATE_STOP_0" || t === "SAFETY_STATE_STOP_1" || t === "SAFETY_STATE_STOP_2" || t === "SAFETY_STATE_PROTECTIVE_STOP" || t === "SAFETY_STATE_STOP" || t === "SAFETY_STATE_REDUCED" || t === "SAFETY_STATE_MASTERING" || t === "SAFETY_STATE_CONFIRM_SAFETY" || t === "SAFETY_STATE_OPERATOR_SAFETY" || t === "SAFETY_STATE_RECOVERY" || t === "SAFETY_STATE_VIOLATION")
|
|
32684
32688
|
return {
|
|
32685
32689
|
label: o("ProgramStateIndicator.EStop.lb"),
|
|
@@ -32810,7 +32814,7 @@ function Sg({
|
|
|
32810
32814
|
children: n
|
|
32811
32815
|
}) {
|
|
32812
32816
|
const a = ye([]), o = ye([]), s = ye(null), { invalidate: i } = Mg();
|
|
32813
|
-
|
|
32817
|
+
_e(() => {
|
|
32814
32818
|
const d = e.state.joint_position.joints.filter(
|
|
32815
32819
|
(h) => h !== void 0
|
|
32816
32820
|
);
|
|
@@ -32941,7 +32945,7 @@ function $j({
|
|
|
32941
32945
|
}
|
|
32942
32946
|
const kj = console.warn;
|
|
32943
32947
|
function Uj() {
|
|
32944
|
-
return
|
|
32948
|
+
return _e(() => {
|
|
32945
32949
|
console.warn = (e) => {
|
|
32946
32950
|
e !== "Cannot call the manual advancement of rafz whilst frameLoop is not set as demand" && kj(e);
|
|
32947
32951
|
};
|
|
@@ -33023,7 +33027,7 @@ const Fj = (e, t) => {
|
|
|
33023
33027
|
}), t.forEach((r) => {
|
|
33024
33028
|
r.parent && r.parent.remove(r);
|
|
33025
33029
|
}), e.userData.isGhost = !1;
|
|
33026
|
-
}, Nj =
|
|
33030
|
+
}, Nj = Ge(
|
|
33027
33031
|
({
|
|
33028
33032
|
rapidlyChangingMotionState: e,
|
|
33029
33033
|
modelFromController: t,
|
|
@@ -33037,7 +33041,7 @@ const Fj = (e, t) => {
|
|
|
33037
33041
|
const [l, c] = De(null), u = ge((h) => {
|
|
33038
33042
|
c(h);
|
|
33039
33043
|
}, []);
|
|
33040
|
-
|
|
33044
|
+
_e(() => {
|
|
33041
33045
|
l && (s ? Fj(l, s) : Bj(l));
|
|
33042
33046
|
}, [l, s]);
|
|
33043
33047
|
const d = /* @__PURE__ */ g.jsx(
|
|
@@ -33100,7 +33104,7 @@ function zj({
|
|
|
33100
33104
|
}
|
|
33101
33105
|
) : null;
|
|
33102
33106
|
}
|
|
33103
|
-
const Ok =
|
|
33107
|
+
const Ok = Ge(
|
|
33104
33108
|
Ce(
|
|
33105
33109
|
({
|
|
33106
33110
|
robotName: e,
|
|
@@ -33116,8 +33120,8 @@ const Ok = Qe(
|
|
|
33116
33120
|
className: u
|
|
33117
33121
|
}) => {
|
|
33118
33122
|
var V;
|
|
33119
|
-
const d = Be(), { t: h } =
|
|
33120
|
-
|
|
33123
|
+
const d = Be(), { t: h } = Qe(), [p, f] = De(!1), m = ye(null), y = ye(null), [S, R] = De(!1), [w, C] = De({ width: 400, height: 600 }), [P, O] = De(0);
|
|
33124
|
+
_e(() => {
|
|
33121
33125
|
const z = () => {
|
|
33122
33126
|
if (y.current) {
|
|
33123
33127
|
const { offsetWidth: ee, offsetHeight: ne } = y.current;
|
|
@@ -33446,9 +33450,9 @@ const Ok = Qe(
|
|
|
33446
33450
|
...r
|
|
33447
33451
|
}, n) => /* @__PURE__ */ B.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { fill: "#38C6F4", fillRule: "evenodd", d: "M6.359 14.25v2.934h7.63v-3.521L10.196 9.87 9 8.674l.859-.859.337-.337.858-.858.565.565.631.63.565.565 1.196-1.195.543-.544 1.196-1.195-1.196-1.196-2.304-2.304L11.054.75 9.86 1.946 3.446 8.359 2.25 9.554l1.196 1.196 2.913 2.913zm1.69 0v1.244h4.249v-1.13L7.804 9.87 6.608 8.674l1.196-1.196L9.86 5.424l.007-.008-.543-.543-4.681 4.681 2.912 2.913.496.496v.113h2.124l1.174 1.174zm3.005-10.022-.294.294-.543-.543.837-.837 2.304 2.304-.543.543-.565-.565z", clipRule: "evenodd" })), qj = rt(Hj);
|
|
33448
33452
|
var wg = /* @__PURE__ */ ((e) => (e.PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED", e.ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED", e.READY = "READY", e))(wg || {});
|
|
33449
|
-
const Wj =
|
|
33453
|
+
const Wj = Ge(
|
|
33450
33454
|
Ce(({ setupState: e, className: t }) => {
|
|
33451
|
-
const r = Be(), { t: n } =
|
|
33455
|
+
const r = Be(), { t: n } = Qe(), a = () => {
|
|
33452
33456
|
var c, u, d, h;
|
|
33453
33457
|
switch (e) {
|
|
33454
33458
|
case "READY":
|
|
@@ -33532,7 +33536,7 @@ const Wj = Qe(
|
|
|
33532
33536
|
}
|
|
33533
33537
|
);
|
|
33534
33538
|
})
|
|
33535
|
-
), Ck =
|
|
33539
|
+
), Ck = Ge(
|
|
33536
33540
|
Ce(
|
|
33537
33541
|
({
|
|
33538
33542
|
robotName: e,
|
|
@@ -33803,7 +33807,7 @@ const Yj = ({
|
|
|
33803
33807
|
transformOrigin: n,
|
|
33804
33808
|
compact: a
|
|
33805
33809
|
}) => {
|
|
33806
|
-
const o = Be(), { t: s } =
|
|
33810
|
+
const o = Be(), { t: s } = Qe();
|
|
33807
33811
|
return e ? /* @__PURE__ */ g.jsx(
|
|
33808
33812
|
Ft,
|
|
33809
33813
|
{
|
|
@@ -33871,7 +33875,7 @@ const Yj = ({
|
|
|
33871
33875
|
transformOrigin: r,
|
|
33872
33876
|
compact: n
|
|
33873
33877
|
}) => {
|
|
33874
|
-
const { t: a } =
|
|
33878
|
+
const { t: a } = Qe(), o = Be();
|
|
33875
33879
|
switch (e) {
|
|
33876
33880
|
case "OPERATION_MODE_AUTO":
|
|
33877
33881
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -33951,7 +33955,7 @@ const Yj = ({
|
|
|
33951
33955
|
transformOrigin: r,
|
|
33952
33956
|
compact: n
|
|
33953
33957
|
}) => {
|
|
33954
|
-
const { t: a } =
|
|
33958
|
+
const { t: a } = Qe(), o = Be();
|
|
33955
33959
|
switch (e) {
|
|
33956
33960
|
// Normal state, robot can move
|
|
33957
33961
|
case "SAFETY_STATE_NORMAL":
|
|
@@ -34052,7 +34056,7 @@ const Yj = ({
|
|
|
34052
34056
|
vV(e, `Unknown safety state ${e}`);
|
|
34053
34057
|
}
|
|
34054
34058
|
}
|
|
34055
|
-
), Rk =
|
|
34059
|
+
), Rk = Ge(
|
|
34056
34060
|
Ce(
|
|
34057
34061
|
({
|
|
34058
34062
|
isVirtual: e,
|
|
@@ -34164,22 +34168,33 @@ function x$(e) {
|
|
|
34164
34168
|
}
|
|
34165
34169
|
);
|
|
34166
34170
|
}
|
|
34167
|
-
const _k =
|
|
34171
|
+
const _k = Ge(
|
|
34168
34172
|
Ce((e) => {
|
|
34169
|
-
const {
|
|
34170
|
-
|
|
34173
|
+
const {
|
|
34174
|
+
items: t,
|
|
34175
|
+
activeTab: r,
|
|
34176
|
+
defaultActiveTab: n = 0,
|
|
34177
|
+
onTabChange: a,
|
|
34178
|
+
sx: o,
|
|
34179
|
+
ref: s
|
|
34180
|
+
} = e, i = r !== void 0, [l, c] = De(n);
|
|
34181
|
+
_e(() => {
|
|
34182
|
+
i || t.length !== 0 && (l < 0 || l > t.length - 1) && c(0);
|
|
34183
|
+
}, [t.length, i, l]);
|
|
34184
|
+
const u = i ? r : l, d = (h, p) => {
|
|
34185
|
+
i || c(p), a == null || a(p);
|
|
34171
34186
|
};
|
|
34172
34187
|
return /* @__PURE__ */ g.jsxs(
|
|
34173
34188
|
re,
|
|
34174
34189
|
{
|
|
34175
|
-
ref:
|
|
34176
|
-
sx: { height: "100%", display: "flex", flexDirection: "column", ...
|
|
34190
|
+
ref: s,
|
|
34191
|
+
sx: { height: "100%", display: "flex", flexDirection: "column", ...o },
|
|
34177
34192
|
children: [
|
|
34178
34193
|
/* @__PURE__ */ g.jsx(re, { sx: { px: 0, py: 0 }, children: /* @__PURE__ */ g.jsx(
|
|
34179
34194
|
op,
|
|
34180
34195
|
{
|
|
34181
|
-
value:
|
|
34182
|
-
onChange:
|
|
34196
|
+
value: u,
|
|
34197
|
+
onChange: d,
|
|
34183
34198
|
sx: {
|
|
34184
34199
|
minHeight: "32px",
|
|
34185
34200
|
backgroundColor: "transparent",
|
|
@@ -34191,11 +34206,11 @@ const _k = Qe(
|
|
|
34191
34206
|
gap: 2
|
|
34192
34207
|
}
|
|
34193
34208
|
},
|
|
34194
|
-
children: t.map((
|
|
34209
|
+
children: t.map((h, p) => /* @__PURE__ */ g.jsx(
|
|
34195
34210
|
sp,
|
|
34196
34211
|
{
|
|
34197
|
-
label:
|
|
34198
|
-
icon:
|
|
34212
|
+
label: h.label,
|
|
34213
|
+
icon: h.icon,
|
|
34199
34214
|
iconPosition: "start",
|
|
34200
34215
|
disableRipple: !0,
|
|
34201
34216
|
sx: {
|
|
@@ -34203,22 +34218,22 @@ const _k = Qe(
|
|
|
34203
34218
|
height: "32px",
|
|
34204
34219
|
padding: "0px 10px",
|
|
34205
34220
|
borderRadius: "12px",
|
|
34206
|
-
backgroundColor: (
|
|
34207
|
-
var
|
|
34208
|
-
return ((
|
|
34221
|
+
backgroundColor: (f) => {
|
|
34222
|
+
var m;
|
|
34223
|
+
return ((m = f.palette.backgroundPaperElevation) == null ? void 0 : m[11]) || "#32344B";
|
|
34209
34224
|
},
|
|
34210
34225
|
color: "text.primary",
|
|
34211
|
-
opacity:
|
|
34226
|
+
opacity: u === p ? 1 : 0.38,
|
|
34212
34227
|
fontSize: "13px",
|
|
34213
34228
|
transition: "all 0.2s ease-in-out",
|
|
34214
34229
|
"&:hover": {
|
|
34215
|
-
opacity:
|
|
34230
|
+
opacity: u === p ? 1 : 0.6
|
|
34216
34231
|
},
|
|
34217
34232
|
"&.Mui-selected": {
|
|
34218
34233
|
opacity: 1,
|
|
34219
|
-
backgroundColor: (
|
|
34220
|
-
var
|
|
34221
|
-
return ((
|
|
34234
|
+
backgroundColor: (f) => {
|
|
34235
|
+
var m;
|
|
34236
|
+
return ((m = f.palette.backgroundPaperElevation) == null ? void 0 : m[11]) || "#32344B";
|
|
34222
34237
|
},
|
|
34223
34238
|
color: "text.primary"
|
|
34224
34239
|
},
|
|
@@ -34230,12 +34245,12 @@ const _k = Qe(
|
|
|
34230
34245
|
}
|
|
34231
34246
|
}
|
|
34232
34247
|
},
|
|
34233
|
-
|
|
34248
|
+
h.id
|
|
34234
34249
|
))
|
|
34235
34250
|
}
|
|
34236
34251
|
) }),
|
|
34237
34252
|
/* @__PURE__ */ g.jsx(re, { sx: { mt: "32px", borderBottom: 1, borderColor: "divider" } }),
|
|
34238
|
-
/* @__PURE__ */ g.jsx(re, { sx: { flex: 1, overflow: "auto" }, children: t.map((
|
|
34253
|
+
/* @__PURE__ */ g.jsx(re, { sx: { flex: 1, overflow: "auto" }, children: t.map((h, p) => /* @__PURE__ */ g.jsx(x$, { value: u, index: p, children: h.content }, h.id)) })
|
|
34239
34254
|
]
|
|
34240
34255
|
}
|
|
34241
34256
|
);
|
|
@@ -34319,7 +34334,7 @@ async function w$() {
|
|
|
34319
34334
|
}
|
|
34320
34335
|
return Xi;
|
|
34321
34336
|
}
|
|
34322
|
-
const Ek =
|
|
34337
|
+
const Ek = Ge(
|
|
34323
34338
|
(e) => {
|
|
34324
34339
|
const t = Be(), [r, n] = De("dark-plus"), a = t.palette.mode === "dark" ? "dark-plus" : "light-plus";
|
|
34325
34340
|
async function o(s) {
|