@wandelbots/wandelbots-js-react-components 2.29.0-pr.feature-add-cycle-timer.368.816b667 → 2.29.0-pr.feature-add-cycle-timer.368.eb856cf
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/CycleTimer.d.ts.map +1 -1
- package/dist/index.cjs +26 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +517 -489
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CycleTimer.tsx +25 -0
package/dist/index.js
CHANGED
|
@@ -8,9 +8,9 @@ import { useThree as hg, useFrame as pg } from "@react-three/fiber";
|
|
|
8
8
|
import * as Me from "three";
|
|
9
9
|
import { Vector3 as Io, Matrix4 as Ln, Quaternion as mg } from "three";
|
|
10
10
|
import { ConvexGeometry as fg } from "three-stdlib";
|
|
11
|
-
import { useTheme as et, Box as
|
|
11
|
+
import { useTheme as et, Box as It, Typography as ke, IconButton as Mo, Slider as gg, Stack as Ve, CircularProgress as yg, capitalize as bg, styled as Vl, InputLabel as vg, Select as xg, FormControl as Sg, MenuItem as Dn, ToggleButtonGroup as Og, Divider as gn, ToggleButton as _c, Tabs as wg, Tab as Cg, Tooltip as Pg, Dialog as Ag, DialogTitle as Tg, DialogContent as Rg, DialogActions as Vg, Button as Hi, SvgIcon as _g, Popover as Eg, Fab as Ig, createTheme as Mg, rgbToHex as $g } from "@mui/material";
|
|
12
12
|
import { observer as Ge, useLocalObservable as is } from "mobx-react-lite";
|
|
13
|
-
import { I18nextProvider as jg, useTranslation as St, Trans as
|
|
13
|
+
import { I18nextProvider as jg, useTranslation as St, Trans as Mt } from "react-i18next";
|
|
14
14
|
import kg from "i18next";
|
|
15
15
|
import Ug from "i18next-browser-languagedetector";
|
|
16
16
|
import g from "prop-types";
|
|
@@ -96,7 +96,7 @@ function Qg() {
|
|
|
96
96
|
return "Portal";
|
|
97
97
|
case O:
|
|
98
98
|
return (q.displayName || "Context") + ".Provider";
|
|
99
|
-
case
|
|
99
|
+
case V:
|
|
100
100
|
return (q._context.displayName || "Context") + ".Consumer";
|
|
101
101
|
case C:
|
|
102
102
|
var Q = q.render;
|
|
@@ -159,7 +159,7 @@ function Qg() {
|
|
|
159
159
|
}
|
|
160
160
|
function i(q, Q) {
|
|
161
161
|
function ue() {
|
|
162
|
-
|
|
162
|
+
Z || (Z = !0, console.error(
|
|
163
163
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
164
164
|
Q
|
|
165
165
|
));
|
|
@@ -211,7 +211,7 @@ function Qg() {
|
|
|
211
211
|
var fe = Q.children;
|
|
212
212
|
if (fe !== void 0)
|
|
213
213
|
if (we)
|
|
214
|
-
if (
|
|
214
|
+
if (_(fe)) {
|
|
215
215
|
for (we = 0; we < fe.length; we++)
|
|
216
216
|
d(fe[we]);
|
|
217
217
|
Object.freeze && Object.freeze(fe);
|
|
@@ -260,7 +260,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
260
260
|
function d(q) {
|
|
261
261
|
typeof q == "object" && q !== null && q.$$typeof === p && q._store && (q._store.validated = 1);
|
|
262
262
|
}
|
|
263
|
-
var h = Ht, p = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"),
|
|
263
|
+
var h = Ht, p = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), O = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), y = Symbol.for("react.client.reference"), A = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = Object.prototype.hasOwnProperty, _ = Array.isArray, N = console.createTask ? console.createTask : function() {
|
|
264
264
|
return null;
|
|
265
265
|
};
|
|
266
266
|
h = {
|
|
@@ -268,10 +268,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
268
268
|
return q();
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
|
-
var
|
|
271
|
+
var Z, X = {}, re = h["react-stack-bottom-frame"].bind(
|
|
272
272
|
h,
|
|
273
273
|
o
|
|
274
|
-
)(),
|
|
274
|
+
)(), ee = N(n(o)), se = {};
|
|
275
275
|
Nn.Fragment = m, Nn.jsx = function(q, Q, ue, we, Be) {
|
|
276
276
|
var ve = 1e4 > A.recentlyCreatedOwnerStacks++;
|
|
277
277
|
return u(
|
|
@@ -282,7 +282,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
282
282
|
we,
|
|
283
283
|
Be,
|
|
284
284
|
ve ? Error("react-stack-top-frame") : re,
|
|
285
|
-
ve ? N(n(q)) :
|
|
285
|
+
ve ? N(n(q)) : ee
|
|
286
286
|
);
|
|
287
287
|
}, Nn.jsxs = function(q, Q, ue, we, Be) {
|
|
288
288
|
var ve = 1e4 > A.recentlyCreatedOwnerStacks++;
|
|
@@ -294,7 +294,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
294
294
|
we,
|
|
295
295
|
Be,
|
|
296
296
|
ve ? Error("react-stack-top-frame") : re,
|
|
297
|
-
ve ? N(n(q)) :
|
|
297
|
+
ve ? N(n(q)) : ee
|
|
298
298
|
);
|
|
299
299
|
};
|
|
300
300
|
}()), Nn;
|
|
@@ -491,7 +491,7 @@ function Bh(e) {
|
|
|
491
491
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
492
492
|
return n;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function kt() {
|
|
495
495
|
for (var e, t, r = 0, n = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = Bh(e)) && (n && (n += " "), n += t);
|
|
496
496
|
return n;
|
|
497
497
|
}
|
|
@@ -864,14 +864,14 @@ function py() {
|
|
|
864
864
|
return zc || (zc = 1, process.env.NODE_ENV === "production" ? Ja.exports = /* @__PURE__ */ dy() : Ja.exports = /* @__PURE__ */ hy()), Ja.exports;
|
|
865
865
|
}
|
|
866
866
|
var jo = /* @__PURE__ */ py();
|
|
867
|
-
function
|
|
867
|
+
function $t(e) {
|
|
868
868
|
if (typeof e != "object" || e === null)
|
|
869
869
|
return !1;
|
|
870
870
|
const t = Object.getPrototypeOf(e);
|
|
871
871
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
872
872
|
}
|
|
873
873
|
function zh(e) {
|
|
874
|
-
if (/* @__PURE__ */ B.isValidElement(e) || jo.isValidElementType(e) ||
|
|
874
|
+
if (/* @__PURE__ */ B.isValidElement(e) || jo.isValidElementType(e) || !$t(e))
|
|
875
875
|
return e;
|
|
876
876
|
const t = {};
|
|
877
877
|
return Object.keys(e).forEach((r) => {
|
|
@@ -884,9 +884,9 @@ function Ze(e, t, r = {
|
|
|
884
884
|
const n = r.clone ? {
|
|
885
885
|
...e
|
|
886
886
|
} : e;
|
|
887
|
-
return
|
|
888
|
-
/* @__PURE__ */ B.isValidElement(t[a]) || jo.isValidElementType(t[a]) ? n[a] = t[a] :
|
|
889
|
-
Object.prototype.hasOwnProperty.call(e, a) &&
|
|
887
|
+
return $t(e) && $t(t) && Object.keys(t).forEach((a) => {
|
|
888
|
+
/* @__PURE__ */ B.isValidElement(t[a]) || jo.isValidElementType(t[a]) ? n[a] = t[a] : $t(t[a]) && // Avoid prototype pollution
|
|
889
|
+
Object.prototype.hasOwnProperty.call(e, a) && $t(e[a]) ? n[a] = Ze(e[a], t[a], r) : r.clone ? n[a] = $t(t[a]) ? zh(t[a]) : t[a] : n[a] = t[a];
|
|
890
890
|
}), n;
|
|
891
891
|
}
|
|
892
892
|
const my = (e) => {
|
|
@@ -1816,7 +1816,7 @@ function g0(e) {
|
|
|
1816
1816
|
let o;
|
|
1817
1817
|
return Array.isArray(t) ? o = [n, ...t] : typeof t == "function" ? o = (...s) => {
|
|
1818
1818
|
const i = t(...s);
|
|
1819
|
-
return
|
|
1819
|
+
return $t(i) ? {
|
|
1820
1820
|
...n,
|
|
1821
1821
|
...i
|
|
1822
1822
|
} : n;
|
|
@@ -1983,7 +1983,7 @@ function Xh(e = {}) {
|
|
|
1983
1983
|
), b = h || !1;
|
|
1984
1984
|
let S = ai;
|
|
1985
1985
|
u === "Root" || u === "root" ? S = n : u ? S = a : T0(i) && (S = void 0);
|
|
1986
|
-
const
|
|
1986
|
+
const V = cy(i, {
|
|
1987
1987
|
shouldForwardProp: S,
|
|
1988
1988
|
label: P0(c, u),
|
|
1989
1989
|
...f
|
|
@@ -1994,7 +1994,7 @@ function Xh(e = {}) {
|
|
|
1994
1994
|
return function(T) {
|
|
1995
1995
|
return Oo(T, P);
|
|
1996
1996
|
};
|
|
1997
|
-
if (
|
|
1997
|
+
if ($t(P)) {
|
|
1998
1998
|
const w = Kh(P);
|
|
1999
1999
|
return w.variants ? function(E) {
|
|
2000
2000
|
return Oo(E, w);
|
|
@@ -2008,23 +2008,23 @@ function Xh(e = {}) {
|
|
|
2008
2008
|
const N = (re = (X = z.theme.components) == null ? void 0 : X[c]) == null ? void 0 : re.styleOverrides;
|
|
2009
2009
|
if (!N)
|
|
2010
2010
|
return null;
|
|
2011
|
-
const
|
|
2012
|
-
for (const
|
|
2013
|
-
|
|
2014
|
-
return p(z,
|
|
2011
|
+
const Z = {};
|
|
2012
|
+
for (const ee in N)
|
|
2013
|
+
Z[ee] = Oo(z, N[ee]);
|
|
2014
|
+
return p(z, Z);
|
|
2015
2015
|
}), c && !m && E.push(function(z) {
|
|
2016
|
-
var
|
|
2017
|
-
const
|
|
2016
|
+
var Z, X;
|
|
2017
|
+
const _ = z.theme, N = (X = (Z = _ == null ? void 0 : _.components) == null ? void 0 : Z[c]) == null ? void 0 : X.variants;
|
|
2018
2018
|
return N ? Qh(z, N) : null;
|
|
2019
2019
|
}), b || E.push(yn), Array.isArray(T[0])) {
|
|
2020
|
-
const A = T.shift(), z = new Array(w.length).fill(""),
|
|
2020
|
+
const A = T.shift(), z = new Array(w.length).fill(""), _ = new Array(E.length).fill("");
|
|
2021
2021
|
let N;
|
|
2022
|
-
N = [...z, ...A, ...
|
|
2022
|
+
N = [...z, ...A, ..._], N.raw = [...z, ...A.raw, ..._], w.unshift(N);
|
|
2023
2023
|
}
|
|
2024
|
-
const F = [...w, ...T, ...E], y =
|
|
2024
|
+
const F = [...w, ...T, ...E], y = V(...F);
|
|
2025
2025
|
return i.muiName && (y.muiName = i.muiName), process.env.NODE_ENV !== "production" && (y.displayName = C0(c, u, i)), y;
|
|
2026
2026
|
};
|
|
2027
|
-
return
|
|
2027
|
+
return V.withConfig && (C.withConfig = V.withConfig), C;
|
|
2028
2028
|
};
|
|
2029
2029
|
}
|
|
2030
2030
|
function C0(e, t, r) {
|
|
@@ -2415,16 +2415,16 @@ function F0(e, t = {}) {
|
|
|
2415
2415
|
return Object.entries(T).forEach(([y, {
|
|
2416
2416
|
css: A
|
|
2417
2417
|
}]) => {
|
|
2418
|
-
var N,
|
|
2419
|
-
const z = (
|
|
2418
|
+
var N, Z;
|
|
2419
|
+
const z = (Z = (N = o[y]) == null ? void 0 : N.palette) == null ? void 0 : Z.mode, _ = !n && z ? {
|
|
2420
2420
|
colorScheme: z,
|
|
2421
2421
|
...A
|
|
2422
2422
|
} : {
|
|
2423
2423
|
...A
|
|
2424
2424
|
};
|
|
2425
2425
|
P(r(y, {
|
|
2426
|
-
...
|
|
2427
|
-
}),
|
|
2426
|
+
..._
|
|
2427
|
+
}), _);
|
|
2428
2428
|
}), O;
|
|
2429
2429
|
}
|
|
2430
2430
|
};
|
|
@@ -2531,18 +2531,18 @@ function K0(e = {}) {
|
|
|
2531
2531
|
divider: m,
|
|
2532
2532
|
children: b,
|
|
2533
2533
|
className: S,
|
|
2534
|
-
useFlexGap:
|
|
2534
|
+
useFlexGap: V = !1,
|
|
2535
2535
|
...O
|
|
2536
2536
|
} = d, C = {
|
|
2537
2537
|
direction: p,
|
|
2538
2538
|
spacing: f,
|
|
2539
|
-
useFlexGap:
|
|
2539
|
+
useFlexGap: V
|
|
2540
2540
|
}, P = a();
|
|
2541
2541
|
return /* @__PURE__ */ x.jsx(o, {
|
|
2542
2542
|
as: h,
|
|
2543
2543
|
ownerState: C,
|
|
2544
2544
|
ref: c,
|
|
2545
|
-
className:
|
|
2545
|
+
className: kt(P.root, S),
|
|
2546
2546
|
...O,
|
|
2547
2547
|
children: m ? J0(b, m) : b
|
|
2548
2548
|
});
|
|
@@ -2773,7 +2773,7 @@ function $l(e) {
|
|
|
2773
2773
|
color: m,
|
|
2774
2774
|
name: b,
|
|
2775
2775
|
mainShade: S = 500,
|
|
2776
|
-
lightShade:
|
|
2776
|
+
lightShade: V = 300,
|
|
2777
2777
|
darkShade: O = 700
|
|
2778
2778
|
}) => {
|
|
2779
2779
|
if (m = {
|
|
@@ -2796,7 +2796,7 @@ const theme1 = createTheme({ palette: {
|
|
|
2796
2796
|
const theme2 = createTheme({ palette: {
|
|
2797
2797
|
primary: { main: green[500] },
|
|
2798
2798
|
} });` : dr(12, b ? ` (${b})` : "", JSON.stringify(m.main)));
|
|
2799
|
-
return Xc(m, "light",
|
|
2799
|
+
return Xc(m, "light", V, n), Xc(m, "dark", O, n), m.contrastText || (m.contrastText = d(m.main)), m;
|
|
2800
2800
|
};
|
|
2801
2801
|
let p;
|
|
2802
2802
|
return t === "light" ? p = np() : t === "dark" && (p = ap()), process.env.NODE_ENV !== "production" && (p || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Ze({
|
|
@@ -2905,12 +2905,12 @@ function lb(e, t) {
|
|
|
2905
2905
|
...d
|
|
2906
2906
|
} = typeof t == "function" ? t(e) : t;
|
|
2907
2907
|
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof l != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2908
|
-
const h = n / 14, p = u || ((b) => `${b / l * h}rem`), f = (b, S,
|
|
2908
|
+
const h = n / 14, p = u || ((b) => `${b / l * h}rem`), f = (b, S, V, O, C) => ({
|
|
2909
2909
|
fontFamily: r,
|
|
2910
2910
|
fontWeight: b,
|
|
2911
2911
|
fontSize: p(S),
|
|
2912
2912
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2913
|
-
lineHeight:
|
|
2913
|
+
lineHeight: V,
|
|
2914
2914
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2915
2915
|
// across font-families can cause issues with the kerning.
|
|
2916
2916
|
...r === eu ? {
|
|
@@ -3032,7 +3032,7 @@ const yb = {
|
|
|
3032
3032
|
tooltip: 1500
|
|
3033
3033
|
};
|
|
3034
3034
|
function bb(e) {
|
|
3035
|
-
return
|
|
3035
|
+
return $t(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
3036
3036
|
}
|
|
3037
3037
|
function op(e = {}) {
|
|
3038
3038
|
const t = {
|
|
@@ -3042,7 +3042,7 @@ function op(e = {}) {
|
|
|
3042
3042
|
const a = Object.entries(n);
|
|
3043
3043
|
for (let o = 0; o < a.length; o++) {
|
|
3044
3044
|
const [s, i] = a[o];
|
|
3045
|
-
!bb(i) || s.startsWith("unstable_") ? delete n[s] :
|
|
3045
|
+
!bb(i) || s.startsWith("unstable_") ? delete n[s] : $t(i) && (n[s] = {
|
|
3046
3046
|
...i
|
|
3047
3047
|
}, r(n[s]));
|
|
3048
3048
|
}
|
|
@@ -3087,13 +3087,13 @@ function Wi(e = {}, ...t) {
|
|
|
3087
3087
|
const p = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (m, b) => {
|
|
3088
3088
|
let S;
|
|
3089
3089
|
for (S in m) {
|
|
3090
|
-
const
|
|
3091
|
-
if (p.includes(S) && Object.keys(
|
|
3090
|
+
const V = m[S];
|
|
3091
|
+
if (p.includes(S) && Object.keys(V).length > 0) {
|
|
3092
3092
|
if (process.env.NODE_ENV !== "production") {
|
|
3093
3093
|
const O = Va("", S);
|
|
3094
3094
|
console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(m, null, 2), "", `Instead, you need to use the '&.${O}' syntax:`, JSON.stringify({
|
|
3095
3095
|
root: {
|
|
3096
|
-
[`&.${O}`]:
|
|
3096
|
+
[`&.${O}`]: V
|
|
3097
3097
|
}
|
|
3098
3098
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
3099
3099
|
`));
|
|
@@ -3211,7 +3211,7 @@ function H(e, t, r) {
|
|
|
3211
3211
|
function aa(e) {
|
|
3212
3212
|
return typeof e != "string" || !e.startsWith("hsl") ? e : rp(e);
|
|
3213
3213
|
}
|
|
3214
|
-
function
|
|
3214
|
+
function Nt(e, t) {
|
|
3215
3215
|
`${t}Channel` in e || (e[`${t}Channel`] = na(aa(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().
|
|
3216
3216
|
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.`));
|
|
3217
3217
|
}
|
|
@@ -3279,10 +3279,10 @@ function Rb(e = {}, ...t) {
|
|
|
3279
3279
|
} = r, S = {
|
|
3280
3280
|
...b
|
|
3281
3281
|
};
|
|
3282
|
-
let
|
|
3283
|
-
if ((d === "dark" && !("dark" in r) || d === "light" && !("light" in r)) && (
|
|
3282
|
+
let V = p;
|
|
3283
|
+
if ((d === "dark" && !("dark" in r) || d === "light" && !("light" in r)) && (V = !0), !V)
|
|
3284
3284
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${d}\` option is either missing or invalid.` : dr(21, d));
|
|
3285
|
-
const O = si(S,
|
|
3285
|
+
const O = si(S, V, c, d);
|
|
3286
3286
|
f && !S.light && si(S, f, void 0, "light"), m && !S.dark && si(S, m, void 0, "dark");
|
|
3287
3287
|
let C = {
|
|
3288
3288
|
defaultColorScheme: d,
|
|
@@ -3300,8 +3300,8 @@ function Rb(e = {}, ...t) {
|
|
|
3300
3300
|
};
|
|
3301
3301
|
Object.keys(C.colorSchemes).forEach((F) => {
|
|
3302
3302
|
const y = C.colorSchemes[F].palette, A = (z) => {
|
|
3303
|
-
const
|
|
3304
|
-
return h(z, y[N][
|
|
3303
|
+
const _ = z.split("-"), N = _[1], Z = _[2];
|
|
3304
|
+
return h(z, y[N][Z]);
|
|
3305
3305
|
};
|
|
3306
3306
|
if (y.mode === "light" && (H(y.common, "background", "#fff"), H(y.common, "onBackground", "#000")), y.mode === "dark" && (H(y.common, "background", "#000"), H(y.common, "onBackground", "#fff")), Pb(y, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), y.mode === "light") {
|
|
3307
3307
|
H(y.Alert, "errorColor", Se(y.error.light, 0.6)), H(y.Alert, "infoColor", Se(y.info.light, 0.6)), H(y.Alert, "successColor", Se(y.success.light, 0.6)), H(y.Alert, "warningColor", Se(y.warning.light, 0.6)), H(y.Alert, "errorFilledBg", A("palette-error-main")), H(y.Alert, "infoFilledBg", A("palette-info-main")), H(y.Alert, "successFilledBg", A("palette-success-main")), H(y.Alert, "warningFilledBg", A("palette-warning-main")), H(y.Alert, "errorFilledColor", Rt(() => y.getContrastText(y.error.main))), H(y.Alert, "infoFilledColor", Rt(() => y.getContrastText(y.info.main))), H(y.Alert, "successFilledColor", Rt(() => y.getContrastText(y.success.main))), H(y.Alert, "warningFilledColor", Rt(() => y.getContrastText(y.warning.main))), H(y.Alert, "errorStandardBg", Oe(y.error.light, 0.9)), H(y.Alert, "infoStandardBg", Oe(y.info.light, 0.9)), H(y.Alert, "successStandardBg", Oe(y.success.light, 0.9)), H(y.Alert, "warningStandardBg", Oe(y.warning.light, 0.9)), H(y.Alert, "errorIconColor", A("palette-error-main")), H(y.Alert, "infoIconColor", A("palette-info-main")), H(y.Alert, "successIconColor", A("palette-success-main")), H(y.Alert, "warningIconColor", A("palette-warning-main")), H(y.AppBar, "defaultBg", A("palette-grey-100")), H(y.Avatar, "defaultBg", A("palette-grey-400")), H(y.Button, "inheritContainedBg", A("palette-grey-300")), H(y.Button, "inheritContainedHoverBg", A("palette-grey-A100")), H(y.Chip, "defaultBorder", A("palette-grey-400")), H(y.Chip, "defaultAvatarColor", A("palette-grey-700")), H(y.Chip, "defaultIconColor", A("palette-grey-700")), H(y.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), H(y.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), H(y.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), H(y.LinearProgress, "primaryBg", Oe(y.primary.main, 0.62)), H(y.LinearProgress, "secondaryBg", Oe(y.secondary.main, 0.62)), H(y.LinearProgress, "errorBg", Oe(y.error.main, 0.62)), H(y.LinearProgress, "infoBg", Oe(y.info.main, 0.62)), H(y.LinearProgress, "successBg", Oe(y.success.main, 0.62)), H(y.LinearProgress, "warningBg", Oe(y.warning.main, 0.62)), H(y.Skeleton, "bg", `rgba(${A("palette-text-primaryChannel")} / 0.11)`), H(y.Slider, "primaryTrack", Oe(y.primary.main, 0.62)), H(y.Slider, "secondaryTrack", Oe(y.secondary.main, 0.62)), H(y.Slider, "errorTrack", Oe(y.error.main, 0.62)), H(y.Slider, "infoTrack", Oe(y.info.main, 0.62)), H(y.Slider, "successTrack", Oe(y.success.main, 0.62)), H(y.Slider, "warningTrack", Oe(y.warning.main, 0.62));
|
|
@@ -3313,9 +3313,9 @@ function Rb(e = {}, ...t) {
|
|
|
3313
3313
|
const z = Ya(y.background.default, 0.98);
|
|
3314
3314
|
H(y.SnackbarContent, "bg", z), H(y.SnackbarContent, "color", Rt(() => y.getContrastText(z))), H(y.SpeedDialAction, "fabHoverBg", Ya(y.background.paper, 0.15)), H(y.StepConnector, "border", A("palette-grey-600")), H(y.StepContent, "border", A("palette-grey-600")), H(y.Switch, "defaultColor", A("palette-grey-300")), H(y.Switch, "defaultDisabledColor", A("palette-grey-600")), H(y.Switch, "primaryDisabledColor", Se(y.primary.main, 0.55)), H(y.Switch, "secondaryDisabledColor", Se(y.secondary.main, 0.55)), H(y.Switch, "errorDisabledColor", Se(y.error.main, 0.55)), H(y.Switch, "infoDisabledColor", Se(y.info.main, 0.55)), H(y.Switch, "successDisabledColor", Se(y.success.main, 0.55)), H(y.Switch, "warningDisabledColor", Se(y.warning.main, 0.55)), H(y.TableCell, "border", Se(Wa(y.divider, 1), 0.68)), H(y.Tooltip, "bg", Wa(y.grey[700], 0.92));
|
|
3315
3315
|
}
|
|
3316
|
-
|
|
3317
|
-
const
|
|
3318
|
-
z !== "tonalOffset" &&
|
|
3316
|
+
Nt(y.background, "default"), Nt(y.background, "paper"), Nt(y.common, "background"), Nt(y.common, "onBackground"), Nt(y, "divider"), Object.keys(y).forEach((z) => {
|
|
3317
|
+
const _ = y[z];
|
|
3318
|
+
z !== "tonalOffset" && _ && typeof _ == "object" && (_.main && H(y[z], "mainChannel", na(aa(_.main))), _.light && H(y[z], "lightChannel", na(aa(_.light))), _.dark && H(y[z], "darkChannel", na(aa(_.dark))), _.contrastText && H(y[z], "contrastTextChannel", na(aa(_.contrastText))), z === "text" && (Nt(y[z], "primary"), Nt(y[z], "secondary")), z === "action" && (_.active && Nt(y[z], "active"), _.selected && Nt(y[z], "selected")));
|
|
3319
3319
|
});
|
|
3320
3320
|
}), C = t.reduce((F, y) => Ze(F, y), C);
|
|
3321
3321
|
const P = {
|
|
@@ -3769,7 +3769,7 @@ function hp(e, ...t) {
|
|
|
3769
3769
|
argsMemoize: p = dp,
|
|
3770
3770
|
argsMemoizeOptions: f = [],
|
|
3771
3771
|
devModeChecks: m = {}
|
|
3772
|
-
} = u, b = ou(h), S = ou(f),
|
|
3772
|
+
} = u, b = ou(h), S = ou(f), V = Nb(a), O = d(function() {
|
|
3773
3773
|
return o++, c.apply(
|
|
3774
3774
|
null,
|
|
3775
3775
|
arguments
|
|
@@ -3779,7 +3779,7 @@ function hp(e, ...t) {
|
|
|
3779
3779
|
const P = p(function() {
|
|
3780
3780
|
s++;
|
|
3781
3781
|
const T = su(
|
|
3782
|
-
|
|
3782
|
+
V,
|
|
3783
3783
|
arguments
|
|
3784
3784
|
);
|
|
3785
3785
|
if (i = O.apply(null, T), process.env.NODE_ENV !== "production") {
|
|
@@ -3790,7 +3790,7 @@ function hp(e, ...t) {
|
|
|
3790
3790
|
i
|
|
3791
3791
|
), F.shouldRun) {
|
|
3792
3792
|
const y = su(
|
|
3793
|
-
|
|
3793
|
+
V,
|
|
3794
3794
|
arguments
|
|
3795
3795
|
);
|
|
3796
3796
|
F.run(
|
|
@@ -3806,7 +3806,7 @@ function hp(e, ...t) {
|
|
|
3806
3806
|
return Object.assign(P, {
|
|
3807
3807
|
resultFunc: c,
|
|
3808
3808
|
memoizedResultFunc: O,
|
|
3809
|
-
dependencies:
|
|
3809
|
+
dependencies: V,
|
|
3810
3810
|
dependencyRecomputations: () => s,
|
|
3811
3811
|
resetDependencyRecomputations: () => {
|
|
3812
3812
|
s = 0;
|
|
@@ -3943,16 +3943,16 @@ function ov() {
|
|
|
3943
3943
|
b = s({
|
|
3944
3944
|
inst: { value: m, getSnapshot: f }
|
|
3945
3945
|
});
|
|
3946
|
-
var S = b[0].inst,
|
|
3946
|
+
var S = b[0].inst, V = b[1];
|
|
3947
3947
|
return l(
|
|
3948
3948
|
function() {
|
|
3949
|
-
S.value = m, S.getSnapshot = f, r(S) &&
|
|
3949
|
+
S.value = m, S.getSnapshot = f, r(S) && V({ inst: S });
|
|
3950
3950
|
},
|
|
3951
3951
|
[p, m, f]
|
|
3952
3952
|
), i(
|
|
3953
3953
|
function() {
|
|
3954
|
-
return r(S) &&
|
|
3955
|
-
r(S) &&
|
|
3954
|
+
return r(S) && V({ inst: S }), p(function() {
|
|
3955
|
+
r(S) && V({ inst: S });
|
|
3956
3956
|
});
|
|
3957
3957
|
},
|
|
3958
3958
|
[p]
|
|
@@ -4007,8 +4007,8 @@ function sv() {
|
|
|
4007
4007
|
f = i(
|
|
4008
4008
|
function() {
|
|
4009
4009
|
function S(w) {
|
|
4010
|
-
if (!
|
|
4011
|
-
if (
|
|
4010
|
+
if (!V) {
|
|
4011
|
+
if (V = !0, O = w, w = h(w), p !== void 0 && m.hasValue) {
|
|
4012
4012
|
var T = m.value;
|
|
4013
4013
|
if (p(T, w))
|
|
4014
4014
|
return C = T;
|
|
@@ -4019,7 +4019,7 @@ function sv() {
|
|
|
4019
4019
|
var E = h(w);
|
|
4020
4020
|
return p !== void 0 && p(T, E) ? (O = w, T) : (O = w, C = E);
|
|
4021
4021
|
}
|
|
4022
|
-
var
|
|
4022
|
+
var V = !1, O, C, P = d === void 0 ? null : d;
|
|
4023
4023
|
return [
|
|
4024
4024
|
function() {
|
|
4025
4025
|
return S(u());
|
|
@@ -4067,8 +4067,8 @@ function iv() {
|
|
|
4067
4067
|
f = i(
|
|
4068
4068
|
function() {
|
|
4069
4069
|
function S(w) {
|
|
4070
|
-
if (!
|
|
4071
|
-
if (
|
|
4070
|
+
if (!V) {
|
|
4071
|
+
if (V = !0, O = w, w = h(w), p !== void 0 && m.hasValue) {
|
|
4072
4072
|
var T = m.value;
|
|
4073
4073
|
if (p(T, w))
|
|
4074
4074
|
return C = T;
|
|
@@ -4080,7 +4080,7 @@ function iv() {
|
|
|
4080
4080
|
var E = h(w);
|
|
4081
4081
|
return p !== void 0 && p(T, E) ? (O = w, T) : (O = w, C = E);
|
|
4082
4082
|
}
|
|
4083
|
-
var
|
|
4083
|
+
var V = !1, O, C, P = d === void 0 ? null : d;
|
|
4084
4084
|
return [
|
|
4085
4085
|
function() {
|
|
4086
4086
|
return S(u());
|
|
@@ -4168,8 +4168,8 @@ const Tv = 10, Ss = ({
|
|
|
4168
4168
|
const f = r == null ? void 0 : r.current;
|
|
4169
4169
|
if (!f)
|
|
4170
4170
|
return {};
|
|
4171
|
-
const b = nv(f).getComputedStyle(f), S = Math.floor(parseFloat(b.height)) || 0,
|
|
4172
|
-
return t.update((O) => O.dimensions.width ===
|
|
4171
|
+
const b = nv(f).getComputedStyle(f), S = Math.floor(parseFloat(b.height)) || 0, V = Math.floor(parseFloat(b.width)) || 0;
|
|
4172
|
+
return t.update((O) => O.dimensions.width === V && O.dimensions.height === S ? O : W({}, O, {
|
|
4173
4173
|
dimensions: {
|
|
4174
4174
|
margin: {
|
|
4175
4175
|
top: e.margin.top,
|
|
@@ -4177,14 +4177,14 @@ const Tv = 10, Ss = ({
|
|
|
4177
4177
|
bottom: e.margin.bottom,
|
|
4178
4178
|
left: e.margin.left
|
|
4179
4179
|
},
|
|
4180
|
-
width: e.width ??
|
|
4180
|
+
width: e.width ?? V,
|
|
4181
4181
|
height: e.height ?? S,
|
|
4182
4182
|
propsWidth: e.width,
|
|
4183
4183
|
propsHeight: e.height
|
|
4184
4184
|
}
|
|
4185
4185
|
})), {
|
|
4186
4186
|
height: S,
|
|
4187
|
-
width:
|
|
4187
|
+
width: V
|
|
4188
4188
|
};
|
|
4189
4189
|
}, [
|
|
4190
4190
|
t,
|
|
@@ -5360,10 +5360,10 @@ class Dl extends Ia {
|
|
|
5360
5360
|
* Emit pan-specific events with additional data
|
|
5361
5361
|
*/
|
|
5362
5362
|
emitPanEvent(t, r, n, a, o) {
|
|
5363
|
-
var S,
|
|
5363
|
+
var S, V;
|
|
5364
5364
|
if (!this.state.startCentroid)
|
|
5365
5365
|
return;
|
|
5366
|
-
const s = ((S = this.state.lastDeltas) == null ? void 0 : S.x) ?? 0, i = ((
|
|
5366
|
+
const s = ((S = this.state.lastDeltas) == null ? void 0 : S.x) ?? 0, i = ((V = this.state.lastDeltas) == null ? void 0 : V.y) ?? 0, l = this.state.startPointers.values().next().value, c = l ? (a.timeStamp - l.timeStamp) / 1e3 : 0, u = c > 0 ? s / c : 0, d = c > 0 ? i / c : 0, h = Math.sqrt(u * u + d * d), p = this.gesturesRegistry.getActiveGestures(t), f = {
|
|
5367
5367
|
gestureName: this.name,
|
|
5368
5368
|
initialCentroid: this.state.startCentroid,
|
|
5369
5369
|
centroid: o,
|
|
@@ -6328,7 +6328,7 @@ function _p(e, t) {
|
|
|
6328
6328
|
}
|
|
6329
6329
|
function Ma() {
|
|
6330
6330
|
}
|
|
6331
|
-
var fa = 0.7, No = 1 / fa, hn = "\\s*([+-]?\\d+)\\s*", ga = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
|
|
6331
|
+
var fa = 0.7, No = 1 / fa, hn = "\\s*([+-]?\\d+)\\s*", ga = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Ut = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", m1 = /^#([0-9a-f]{3,8})$/, f1 = new RegExp(`^rgb\\(${hn},${hn},${hn}\\)$`), g1 = new RegExp(`^rgb\\(${Ut},${Ut},${Ut}\\)$`), y1 = new RegExp(`^rgba\\(${hn},${hn},${hn},${ga}\\)$`), b1 = new RegExp(`^rgba\\(${Ut},${Ut},${Ut},${ga}\\)$`), v1 = new RegExp(`^hsl\\(${ga},${Ut},${Ut}\\)$`), x1 = new RegExp(`^hsla\\(${ga},${Ut},${Ut},${ga}\\)$`), Ou = {
|
|
6332
6332
|
aliceblue: 15792383,
|
|
6333
6333
|
antiquewhite: 16444375,
|
|
6334
6334
|
aqua: 65535,
|
|
@@ -6894,39 +6894,39 @@ function J1(e) {
|
|
|
6894
6894
|
var t = e.grouping === void 0 || e.thousands === void 0 ? $u : F1(ju.call(e.grouping, Number), e.thousands + ""), r = e.currency === void 0 ? "" : e.currency[0] + "", n = e.currency === void 0 ? "" : e.currency[1] + "", a = e.decimal === void 0 ? "." : e.decimal + "", o = e.numerals === void 0 ? $u : z1(ju.call(e.numerals, String)), s = e.percent === void 0 ? "%" : e.percent + "", i = e.minus === void 0 ? "−" : e.minus + "", l = e.nan === void 0 ? "NaN" : e.nan + "";
|
|
6895
6895
|
function c(d) {
|
|
6896
6896
|
d = ba(d);
|
|
6897
|
-
var h = d.fill, p = d.align, f = d.sign, m = d.symbol, b = d.zero, S = d.width,
|
|
6898
|
-
P === "n" ? (
|
|
6897
|
+
var h = d.fill, p = d.align, f = d.sign, m = d.symbol, b = d.zero, S = d.width, V = d.comma, O = d.precision, C = d.trim, P = d.type;
|
|
6898
|
+
P === "n" ? (V = !0, P = "g") : Mu[P] || (O === void 0 && (O = 12), C = !0, P = "g"), (b || h === "0" && p === "=") && (b = !0, h = "0", p = "=");
|
|
6899
6899
|
var w = m === "$" ? r : m === "#" && /[boxX]/.test(P) ? "0" + P.toLowerCase() : "", T = m === "$" ? n : /[%p]/.test(P) ? s : "", E = Mu[P], F = /[defgprs%]/.test(P);
|
|
6900
6900
|
O = O === void 0 ? 6 : /[gprs]/.test(P) ? Math.max(1, Math.min(21, O)) : Math.max(0, Math.min(20, O));
|
|
6901
6901
|
function y(A) {
|
|
6902
|
-
var z = w,
|
|
6902
|
+
var z = w, _ = T, N, Z, X;
|
|
6903
6903
|
if (P === "c")
|
|
6904
|
-
|
|
6904
|
+
_ = E(A) + _, A = "";
|
|
6905
6905
|
else {
|
|
6906
6906
|
A = +A;
|
|
6907
6907
|
var re = A < 0 || 1 / A < 0;
|
|
6908
|
-
if (A = isNaN(A) ? l : E(Math.abs(A), O), C && (A = H1(A)), re && +A == 0 && f !== "+" && (re = !1), z = (re ? f === "(" ? f : i : f === "-" || f === "(" ? "" : f) + z,
|
|
6909
|
-
for (N = -1,
|
|
6908
|
+
if (A = isNaN(A) ? l : E(Math.abs(A), O), C && (A = H1(A)), re && +A == 0 && f !== "+" && (re = !1), z = (re ? f === "(" ? f : i : f === "-" || f === "(" ? "" : f) + z, _ = (P === "s" ? ku[8 + jp / 3] : "") + _ + (re && f === "(" ? ")" : ""), F) {
|
|
6909
|
+
for (N = -1, Z = A.length; ++N < Z; )
|
|
6910
6910
|
if (X = A.charCodeAt(N), 48 > X || X > 57) {
|
|
6911
|
-
|
|
6911
|
+
_ = (X === 46 ? a + A.slice(N + 1) : A.slice(N)) + _, A = A.slice(0, N);
|
|
6912
6912
|
break;
|
|
6913
6913
|
}
|
|
6914
6914
|
}
|
|
6915
6915
|
}
|
|
6916
|
-
|
|
6917
|
-
var
|
|
6918
|
-
switch (
|
|
6916
|
+
V && !b && (A = t(A, 1 / 0));
|
|
6917
|
+
var ee = z.length + A.length + _.length, se = ee < S ? new Array(S - ee + 1).join(h) : "";
|
|
6918
|
+
switch (V && b && (A = t(se + A, se.length ? S - _.length : 1 / 0), se = ""), p) {
|
|
6919
6919
|
case "<":
|
|
6920
|
-
A = z + A +
|
|
6920
|
+
A = z + A + _ + se;
|
|
6921
6921
|
break;
|
|
6922
6922
|
case "=":
|
|
6923
|
-
A = z + se + A +
|
|
6923
|
+
A = z + se + A + _;
|
|
6924
6924
|
break;
|
|
6925
6925
|
case "^":
|
|
6926
|
-
A = se.slice(0,
|
|
6926
|
+
A = se.slice(0, ee = se.length >> 1) + z + A + _ + se.slice(ee);
|
|
6927
6927
|
break;
|
|
6928
6928
|
default:
|
|
6929
|
-
A = se + z + A +
|
|
6929
|
+
A = se + z + A + _;
|
|
6930
6930
|
break;
|
|
6931
6931
|
}
|
|
6932
6932
|
return o(A);
|
|
@@ -7352,9 +7352,9 @@ function zn(e, t, r) {
|
|
|
7352
7352
|
return { y: e, m: t, d: r, H: 0, M: 0, S: 0, L: 0 };
|
|
7353
7353
|
}
|
|
7354
7354
|
function Sx(e) {
|
|
7355
|
-
var t = e.dateTime, r = e.date, n = e.time, a = e.periods, o = e.days, s = e.shortDays, i = e.months, l = e.shortMonths, c = Gn(a), u = Hn(a), d = Gn(o), h = Hn(o), p = Gn(s), f = Hn(s), m = Gn(i), b = Hn(i), S = Gn(l),
|
|
7355
|
+
var t = e.dateTime, r = e.date, n = e.time, a = e.periods, o = e.days, s = e.shortDays, i = e.months, l = e.shortMonths, c = Gn(a), u = Hn(a), d = Gn(o), h = Hn(o), p = Gn(s), f = Hn(s), m = Gn(i), b = Hn(i), S = Gn(l), V = Hn(l), O = {
|
|
7356
7356
|
a: re,
|
|
7357
|
-
A:
|
|
7357
|
+
A: ee,
|
|
7358
7358
|
b: se,
|
|
7359
7359
|
B: q,
|
|
7360
7360
|
c: null,
|
|
@@ -7422,7 +7422,7 @@ function Sx(e) {
|
|
|
7422
7422
|
a: y,
|
|
7423
7423
|
A,
|
|
7424
7424
|
b: z,
|
|
7425
|
-
B:
|
|
7425
|
+
B: _,
|
|
7426
7426
|
c: N,
|
|
7427
7427
|
d: Hu,
|
|
7428
7428
|
e: Hu,
|
|
@@ -7445,7 +7445,7 @@ function Sx(e) {
|
|
|
7445
7445
|
V: Rx,
|
|
7446
7446
|
w: Px,
|
|
7447
7447
|
W: Vx,
|
|
7448
|
-
x:
|
|
7448
|
+
x: Z,
|
|
7449
7449
|
X,
|
|
7450
7450
|
y: Gu,
|
|
7451
7451
|
Y: zu,
|
|
@@ -7498,16 +7498,16 @@ function Sx(e) {
|
|
|
7498
7498
|
}
|
|
7499
7499
|
function z(K, ne, ie) {
|
|
7500
7500
|
var J = S.exec(ne.slice(ie));
|
|
7501
|
-
return J ? (K.m =
|
|
7501
|
+
return J ? (K.m = V.get(J[0].toLowerCase()), ie + J[0].length) : -1;
|
|
7502
7502
|
}
|
|
7503
|
-
function
|
|
7503
|
+
function _(K, ne, ie) {
|
|
7504
7504
|
var J = m.exec(ne.slice(ie));
|
|
7505
7505
|
return J ? (K.m = b.get(J[0].toLowerCase()), ie + J[0].length) : -1;
|
|
7506
7506
|
}
|
|
7507
7507
|
function N(K, ne, ie) {
|
|
7508
7508
|
return E(K, t, ne, ie);
|
|
7509
7509
|
}
|
|
7510
|
-
function
|
|
7510
|
+
function Z(K, ne, ie) {
|
|
7511
7511
|
return E(K, r, ne, ie);
|
|
7512
7512
|
}
|
|
7513
7513
|
function X(K, ne, ie) {
|
|
@@ -7516,7 +7516,7 @@ function Sx(e) {
|
|
|
7516
7516
|
function re(K) {
|
|
7517
7517
|
return s[K.getDay()];
|
|
7518
7518
|
}
|
|
7519
|
-
function
|
|
7519
|
+
function ee(K) {
|
|
7520
7520
|
return o[K.getDay()];
|
|
7521
7521
|
}
|
|
7522
7522
|
function se(K) {
|
|
@@ -7827,9 +7827,9 @@ function wS(e) {
|
|
|
7827
7827
|
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
|
|
7828
7828
|
}
|
|
7829
7829
|
function uc(e, t, r, n, a, o, s, i, l, c) {
|
|
7830
|
-
var u = $p(), d = u.invert, h = u.domain, p = c(".%L"), f = c(":%S"), m = c("%I:%M"), b = c("%I %p"), S = c("%a %d"),
|
|
7830
|
+
var u = $p(), d = u.invert, h = u.domain, p = c(".%L"), f = c(":%S"), m = c("%I:%M"), b = c("%I %p"), S = c("%a %d"), V = c("%b %d"), O = c("%B"), C = c("%Y");
|
|
7831
7831
|
function P(w) {
|
|
7832
|
-
return (l(w) < w ? p : i(w) < w ? f : s(w) < w ? m : o(w) < w ? b : n(w) < w ? a(w) < w ? S :
|
|
7832
|
+
return (l(w) < w ? p : i(w) < w ? f : s(w) < w ? m : o(w) < w ? b : n(w) < w ? a(w) < w ? S : V : r(w) < w ? O : C)(w);
|
|
7833
7833
|
}
|
|
7834
7834
|
return u.invert = function(w) {
|
|
7835
7835
|
return new Date(d(w));
|
|
@@ -8042,7 +8042,7 @@ function Zp({
|
|
|
8042
8042
|
};
|
|
8043
8043
|
const c = US(a, n, t, r[0].id), u = {};
|
|
8044
8044
|
return r.forEach((d, h) => {
|
|
8045
|
-
const p = d, f = s == null ? void 0 : s[p.id], m = o == null ? void 0 : o.get(p.id), b = m ? [m.start, m.end] : [0, 100], S = DS(e, a, p), [
|
|
8045
|
+
const p = d, f = s == null ? void 0 : s[p.id], m = o == null ? void 0 : o.get(p.id), b = m ? [m.start, m.end] : [0, 100], S = DS(e, a, p), [V, O] = Xp(
|
|
8046
8046
|
p,
|
|
8047
8047
|
a,
|
|
8048
8048
|
n,
|
|
@@ -8052,12 +8052,12 @@ function Zp({
|
|
|
8052
8052
|
// Do not apply filtering if zoom is already defined.
|
|
8053
8053
|
), C = !p.ignoreTooltip && c.has(p.id), P = p.data ?? [];
|
|
8054
8054
|
if (RS(p)) {
|
|
8055
|
-
const re = p.categoryGapRatio ?? BS,
|
|
8055
|
+
const re = p.categoryGapRatio ?? BS, ee = p.barGapRatio ?? NS, se = a === "y" ? [S[1], S[0]] : S, q = vi(se, b);
|
|
8056
8056
|
if (u[p.id] = W({
|
|
8057
8057
|
offset: 0,
|
|
8058
8058
|
height: 0,
|
|
8059
8059
|
categoryGapRatio: re,
|
|
8060
|
-
barGapRatio:
|
|
8060
|
+
barGapRatio: ee,
|
|
8061
8061
|
triggerTooltip: C
|
|
8062
8062
|
}, p, {
|
|
8063
8063
|
data: P,
|
|
@@ -8072,14 +8072,14 @@ function Zp({
|
|
|
8072
8072
|
}
|
|
8073
8073
|
}
|
|
8074
8074
|
if (VS(p)) {
|
|
8075
|
-
const re = a === "y" ? [...S].reverse() : S,
|
|
8075
|
+
const re = a === "y" ? [...S].reverse() : S, ee = vi(re, b);
|
|
8076
8076
|
if (u[p.id] = W({
|
|
8077
8077
|
offset: 0,
|
|
8078
8078
|
height: 0,
|
|
8079
8079
|
triggerTooltip: C
|
|
8080
8080
|
}, p, {
|
|
8081
8081
|
data: P,
|
|
8082
|
-
scale: p1(p.data,
|
|
8082
|
+
scale: p1(p.data, ee),
|
|
8083
8083
|
tickNumber: p.data.length,
|
|
8084
8084
|
colorScale: p.colorMap && (p.colorMap.type === "ordinal" ? Jo(W({
|
|
8085
8085
|
values: p.data
|
|
@@ -8091,18 +8091,18 @@ function Zp({
|
|
|
8091
8091
|
}
|
|
8092
8092
|
if (p.scaleType === "band" || p.scaleType === "point")
|
|
8093
8093
|
return;
|
|
8094
|
-
const w = p.scaleType ?? "linear", T = l ? LS(p, a, h, t) : p.domainLimit ?? "nice", E = [p.min ??
|
|
8094
|
+
const w = p.scaleType ?? "linear", T = l ? LS(p, a, h, t) : p.domainLimit ?? "nice", E = [p.min ?? V, p.max ?? O];
|
|
8095
8095
|
if (typeof T == "function") {
|
|
8096
8096
|
const {
|
|
8097
8097
|
min: re,
|
|
8098
|
-
max:
|
|
8099
|
-
} = T(
|
|
8100
|
-
E[0] = re, E[1] =
|
|
8098
|
+
max: ee
|
|
8099
|
+
} = T(V, O);
|
|
8100
|
+
E[0] = re, E[1] = ee;
|
|
8101
8101
|
}
|
|
8102
8102
|
const F = ES(W({}, p, {
|
|
8103
8103
|
range: S,
|
|
8104
8104
|
domain: E
|
|
8105
|
-
})), y = IS(F, b), A = vi(S, b), z = tl(w, E, A),
|
|
8105
|
+
})), y = IS(F, b), A = vi(S, b), z = tl(w, E, A), _ = T === "nice" ? z.nice(F) : z, [N, Z] = _.domain(), X = [p.min ?? N, p.max ?? Z];
|
|
8106
8106
|
u[p.id] = W({
|
|
8107
8107
|
offset: 0,
|
|
8108
8108
|
height: 0,
|
|
@@ -8110,7 +8110,7 @@ function Zp({
|
|
|
8110
8110
|
}, p, {
|
|
8111
8111
|
data: P,
|
|
8112
8112
|
scaleType: w,
|
|
8113
|
-
scale:
|
|
8113
|
+
scale: _.domain(X),
|
|
8114
8114
|
tickNumber: y,
|
|
8115
8115
|
colorScale: p.colorMap && Co(p.colorMap),
|
|
8116
8116
|
valueFormatter: p.valueFormatter ?? TS(y, tl(w, S.map((re) => z.invert(re)), S))
|
|
@@ -8146,10 +8146,10 @@ function em({
|
|
|
8146
8146
|
let d, h;
|
|
8147
8147
|
[d, h] = tl(!u || u === "band" || u === "point" ? "linear" : u, c, [0, 100]).nice().domain(), d = d instanceof Date ? d.getTime() : d, h = h instanceof Date ? h.getTime() : h;
|
|
8148
8148
|
const f = d + l.start * (h - d) / 100, m = d + l.end * (h - d) / 100;
|
|
8149
|
-
return (S,
|
|
8149
|
+
return (S, V) => {
|
|
8150
8150
|
var C;
|
|
8151
|
-
const O = S[a] ?? ((C = o.data) == null ? void 0 : C[
|
|
8152
|
-
return O == null ? !0 : o.scaleType === "point" || o.scaleType === "band" || typeof O == "string" ?
|
|
8151
|
+
const O = S[a] ?? ((C = o.data) == null ? void 0 : C[V]);
|
|
8152
|
+
return O == null ? !0 : o.scaleType === "point" || o.scaleType === "band" || typeof O == "string" ? V >= f && V <= m : O >= f && O <= m;
|
|
8153
8153
|
};
|
|
8154
8154
|
};
|
|
8155
8155
|
}
|
|
@@ -8548,7 +8548,7 @@ const $s = ({
|
|
|
8548
8548
|
})
|
|
8549
8549
|
}));
|
|
8550
8550
|
}, [r, c, o, s, i, t]);
|
|
8551
|
-
const S = p[0],
|
|
8551
|
+
const S = p[0], V = m[0];
|
|
8552
8552
|
return nO(t, XS, (O, C) => {
|
|
8553
8553
|
if (!Object.is(O, C)) {
|
|
8554
8554
|
if (O.length !== C.length) {
|
|
@@ -8575,10 +8575,10 @@ const $s = ({
|
|
|
8575
8575
|
var z;
|
|
8576
8576
|
!A.detail.activeGestures.move && !A.detail.activeGestures.pan && ((z = a.cleanInteraction) == null || z.call(a));
|
|
8577
8577
|
}), T = (A) => {
|
|
8578
|
-
var
|
|
8579
|
-
const z = A.detail.srcEvent,
|
|
8580
|
-
if (A.detail.srcEvent.buttons >= 1 && (
|
|
8581
|
-
(
|
|
8578
|
+
var Z, X;
|
|
8579
|
+
const z = A.detail.srcEvent, _ = A.detail.target, N = ad(O, z);
|
|
8580
|
+
if (A.detail.srcEvent.buttons >= 1 && (_ != null && _.hasPointerCapture(A.detail.srcEvent.pointerId)) && !(_ != null && _.closest("[data-charts-zoom-slider]")) && (_ == null || _.releasePointerCapture(A.detail.srcEvent.pointerId)), !a.isPointInside(N.x, N.y, _)) {
|
|
8581
|
+
(Z = a.cleanInteraction) == null || Z.call(a);
|
|
8582
8582
|
return;
|
|
8583
8583
|
}
|
|
8584
8584
|
(X = a.setPointerCoordinate) == null || X.call(a, N);
|
|
@@ -8586,7 +8586,7 @@ const $s = ({
|
|
|
8586
8586
|
return () => {
|
|
8587
8587
|
E.cleanup(), C.cleanup(), F.cleanup(), P.cleanup(), y.cleanup(), w.cleanup();
|
|
8588
8588
|
};
|
|
8589
|
-
}, [n, t, h, S, f,
|
|
8589
|
+
}, [n, t, h, S, f, V, a, e.disableAxisListener, d]), B.useEffect(() => {
|
|
8590
8590
|
const O = n.current, C = e.onAxisClick;
|
|
8591
8591
|
if (O === null || !C)
|
|
8592
8592
|
return () => {
|
|
@@ -8594,27 +8594,27 @@ const $s = ({
|
|
|
8594
8594
|
const P = a.addInteractionListener("tap", (w) => {
|
|
8595
8595
|
let T = null, E = !1;
|
|
8596
8596
|
const F = ad(O, w.detail.srcEvent), y = Sn(h[S], F.x);
|
|
8597
|
-
E = y !== -1, T = E ? y : Sn(f[
|
|
8597
|
+
E = y !== -1, T = E ? y : Sn(f[V], F.y);
|
|
8598
8598
|
const A = E ? p[0] : m[0];
|
|
8599
8599
|
if (T == null || T === -1)
|
|
8600
8600
|
return;
|
|
8601
|
-
const z = (E ? h : f)[A].data[T],
|
|
8601
|
+
const z = (E ? h : f)[A].data[T], _ = {};
|
|
8602
8602
|
Object.keys(u).filter((N) => ["bar", "line"].includes(N)).forEach((N) => {
|
|
8603
|
-
var
|
|
8604
|
-
(
|
|
8605
|
-
const re = u[N].series[X],
|
|
8606
|
-
(q === void 0 || q === A) && (
|
|
8603
|
+
var Z;
|
|
8604
|
+
(Z = u[N]) == null || Z.seriesOrder.forEach((X) => {
|
|
8605
|
+
const re = u[N].series[X], ee = re.xAxisId, se = re.yAxisId, q = E ? ee : se;
|
|
8606
|
+
(q === void 0 || q === A) && (_[X] = re.data[T]);
|
|
8607
8607
|
});
|
|
8608
8608
|
}), C(w.detail.srcEvent, {
|
|
8609
8609
|
dataIndex: T,
|
|
8610
8610
|
axisValue: z,
|
|
8611
|
-
seriesValues:
|
|
8611
|
+
seriesValues: _
|
|
8612
8612
|
});
|
|
8613
8613
|
});
|
|
8614
8614
|
return () => {
|
|
8615
8615
|
P.cleanup();
|
|
8616
8616
|
};
|
|
8617
|
-
}, [e.onAxisClick, u, n, h, p, f, m, S,
|
|
8617
|
+
}, [e.onAxisClick, u, n, h, p, f, m, S, V, a]), {};
|
|
8618
8618
|
};
|
|
8619
8619
|
$s.params = {
|
|
8620
8620
|
xAxis: !0,
|
|
@@ -8857,7 +8857,7 @@ class pO {
|
|
|
8857
8857
|
else if (h > xr) if (!(Math.abs(d * l - c * u) > xr) || !o)
|
|
8858
8858
|
this._append`L${this._x1 = t},${this._y1 = r}`;
|
|
8859
8859
|
else {
|
|
8860
|
-
let p = n - s, f = a - i, m = l * l + c * c, b = p * p + f * f, S = Math.sqrt(m),
|
|
8860
|
+
let p = n - s, f = a - i, m = l * l + c * c, b = p * p + f * f, S = Math.sqrt(m), V = Math.sqrt(h), O = o * Math.tan((nl - Math.acos((m + h - b) / (2 * S * V))) / 2), C = O / V, P = O / S;
|
|
8861
8861
|
Math.abs(C - 1) > xr && this._append`L${t + C * u},${r + C * d}`, this._append`A${o},${o},0,0,${+(d * p > u * f)},${this._x1 = t + P * l},${this._y1 = r + P * c}`;
|
|
8862
8862
|
}
|
|
8863
8863
|
}
|
|
@@ -8908,8 +8908,8 @@ function xO(e, t, r, n, a, o, s, i) {
|
|
|
8908
8908
|
return h = (u * (t - o) - d * (e - a)) / h, [e + h * l, t + h * c];
|
|
8909
8909
|
}
|
|
8910
8910
|
function ao(e, t, r, n, a, o, s) {
|
|
8911
|
-
var i = e - r, l = t - n, c = (s ? o : -o) / cn(i * i + l * l), u = c * l, d = -c * i, h = e + u, p = t + d, f = r + u, m = n + d, b = (h + f) / 2, S = (p + m) / 2,
|
|
8912
|
-
return z * z +
|
|
8911
|
+
var i = e - r, l = t - n, c = (s ? o : -o) / cn(i * i + l * l), u = c * l, d = -c * i, h = e + u, p = t + d, f = r + u, m = n + d, b = (h + f) / 2, S = (p + m) / 2, V = f - h, O = m - p, C = V * V + O * O, P = a - o, w = h * m - f * p, T = (O < 0 ? -1 : 1) * cn(cO(0, P * P * C - w * w)), E = (w * O - V * T) / C, F = (-w * V - O * T) / C, y = (w * O + V * T) / C, A = (-w * V + O * T) / C, z = E - b, _ = F - S, N = y - b, Z = A - S;
|
|
8912
|
+
return z * z + _ * _ > N * N + Z * Z && (E = y, F = A), {
|
|
8913
8913
|
cx: E,
|
|
8914
8914
|
cy: F,
|
|
8915
8915
|
x01: -u,
|
|
@@ -8926,22 +8926,22 @@ function hm() {
|
|
|
8926
8926
|
else if (b > Po - nt)
|
|
8927
8927
|
i.moveTo(p * br(f), p * Vt(f)), i.arc(0, 0, p, f, m, !S), h > nt && (i.moveTo(h * br(m), h * Vt(m)), i.arc(0, 0, h, m, f, S));
|
|
8928
8928
|
else {
|
|
8929
|
-
var
|
|
8929
|
+
var V = f, O = m, C = f, P = m, w = b, T = b, E = s.apply(this, arguments) / 2, F = E > nt && (n ? +n.apply(this, arguments) : cn(h * h + p * p)), y = xi(cd(p - h) / 2, +r.apply(this, arguments)), A = y, z = y, _, N;
|
|
8930
8930
|
if (F > nt) {
|
|
8931
|
-
var
|
|
8932
|
-
(w -=
|
|
8931
|
+
var Z = ud(F / h * Vt(E)), X = ud(F / p * Vt(E));
|
|
8932
|
+
(w -= Z * 2) > nt ? (Z *= S ? 1 : -1, C += Z, P -= Z) : (w = 0, C = P = (f + m) / 2), (T -= X * 2) > nt ? (X *= S ? 1 : -1, V += X, O -= X) : (T = 0, V = O = (f + m) / 2);
|
|
8933
8933
|
}
|
|
8934
|
-
var re = p * br(
|
|
8934
|
+
var re = p * br(V), ee = p * Vt(V), se = h * br(P), q = h * Vt(P);
|
|
8935
8935
|
if (y > nt) {
|
|
8936
8936
|
var Q = p * br(O), ue = p * Vt(O), we = h * br(C), Be = h * Vt(C), ve;
|
|
8937
8937
|
if (b < va)
|
|
8938
|
-
if (ve = xO(re,
|
|
8939
|
-
var it = re - ve[0], tt =
|
|
8938
|
+
if (ve = xO(re, ee, we, Be, Q, ue, se, q)) {
|
|
8939
|
+
var it = re - ve[0], tt = ee - ve[1], fe = Q - ve[0], K = ue - ve[1], ne = 1 / Vt(uO((it * fe + tt * K) / (cn(it * it + tt * tt) * cn(fe * fe + K * K))) / 2), ie = cn(ve[0] * ve[0] + ve[1] * ve[1]);
|
|
8940
8940
|
A = xi(y, (h - ie) / (ne - 1)), z = xi(y, (p - ie) / (ne + 1));
|
|
8941
8941
|
} else
|
|
8942
8942
|
A = z = 0;
|
|
8943
8943
|
}
|
|
8944
|
-
T > nt ? z > nt ? (
|
|
8944
|
+
T > nt ? z > nt ? (_ = ao(we, Be, re, ee, p, z, S), N = ao(Q, ue, se, q, p, z, S), i.moveTo(_.cx + _.x01, _.cy + _.y01), z < y ? i.arc(_.cx, _.cy, z, Ye(_.y01, _.x01), Ye(N.y01, N.x01), !S) : (i.arc(_.cx, _.cy, z, Ye(_.y01, _.x01), Ye(_.y11, _.x11), !S), i.arc(0, 0, p, Ye(_.cy + _.y11, _.cx + _.x11), Ye(N.cy + N.y11, N.cx + N.x11), !S), i.arc(N.cx, N.cy, z, Ye(N.y11, N.x11), Ye(N.y01, N.x01), !S))) : (i.moveTo(re, ee), i.arc(0, 0, p, V, O, !S)) : i.moveTo(re, ee), !(h > nt) || !(w > nt) ? i.lineTo(se, q) : A > nt ? (_ = ao(se, q, Q, ue, h, -A, S), N = ao(re, ee, we, Be, h, -A, S), i.lineTo(_.cx + _.x01, _.cy + _.y01), A < y ? i.arc(_.cx, _.cy, A, Ye(_.y01, _.x01), Ye(N.y01, N.x01), !S) : (i.arc(_.cx, _.cy, A, Ye(_.y01, _.x01), Ye(_.y11, _.x11), !S), i.arc(0, 0, h, Ye(_.cy + _.y11, _.cx + _.x11), Ye(N.cy + N.y11, N.cx + N.x11), S), i.arc(N.cx, N.cy, A, Ye(N.y11, N.x11), Ye(N.y01, N.x01), !S))) : i.arc(0, 0, h, P, C, S);
|
|
8945
8945
|
}
|
|
8946
8946
|
if (i.closePath(), u) return i = null, u + "" || null;
|
|
8947
8947
|
}
|
|
@@ -8978,7 +8978,7 @@ function OO(e) {
|
|
|
8978
8978
|
function wO() {
|
|
8979
8979
|
var e = OO, t = SO, r = null, n = Le(0), a = Le(Po), o = Le(0);
|
|
8980
8980
|
function s(i) {
|
|
8981
|
-
var l, c = (i = pm(i)).length, u, d, h = 0, p = new Array(c), f = new Array(c), m = +n.apply(this, arguments), b = Math.min(Po, Math.max(-Po, a.apply(this, arguments) - m)), S,
|
|
8981
|
+
var l, c = (i = pm(i)).length, u, d, h = 0, p = new Array(c), f = new Array(c), m = +n.apply(this, arguments), b = Math.min(Po, Math.max(-Po, a.apply(this, arguments) - m)), S, V = Math.min(Math.abs(b) / c, o.apply(this, arguments)), O = V * (b < 0 ? -1 : 1), C;
|
|
8982
8982
|
for (l = 0; l < c; ++l)
|
|
8983
8983
|
(C = f[p[l] = l] = +e(i[l], l, i)) > 0 && (h += C);
|
|
8984
8984
|
for (t != null ? p.sort(function(P, w) {
|
|
@@ -8992,7 +8992,7 @@ function wO() {
|
|
|
8992
8992
|
value: C,
|
|
8993
8993
|
startAngle: m,
|
|
8994
8994
|
endAngle: S,
|
|
8995
|
-
padAngle:
|
|
8995
|
+
padAngle: V
|
|
8996
8996
|
};
|
|
8997
8997
|
return f;
|
|
8998
8998
|
}
|
|
@@ -9811,19 +9811,19 @@ function ww() {
|
|
|
9811
9811
|
function d(m, b, S) {
|
|
9812
9812
|
return 3 * i(b, S) * m * m + 2 * l(b, S) * m + c(b);
|
|
9813
9813
|
}
|
|
9814
|
-
function h(m, b, S,
|
|
9814
|
+
function h(m, b, S, V, O) {
|
|
9815
9815
|
var C, P, w = 0;
|
|
9816
9816
|
do
|
|
9817
|
-
P = b + (S - b) / 2, C = u(P,
|
|
9817
|
+
P = b + (S - b) / 2, C = u(P, V, O) - m, C > 0 ? S = P : b = P;
|
|
9818
9818
|
while (Math.abs(C) > r && ++w < n);
|
|
9819
9819
|
return P;
|
|
9820
9820
|
}
|
|
9821
|
-
function p(m, b, S,
|
|
9821
|
+
function p(m, b, S, V) {
|
|
9822
9822
|
for (var O = 0; O < e; ++O) {
|
|
9823
|
-
var C = d(b, S,
|
|
9823
|
+
var C = d(b, S, V);
|
|
9824
9824
|
if (C === 0)
|
|
9825
9825
|
return b;
|
|
9826
|
-
var P = u(b, S,
|
|
9826
|
+
var P = u(b, S, V) - m;
|
|
9827
9827
|
b -= P / C;
|
|
9828
9828
|
}
|
|
9829
9829
|
return b;
|
|
@@ -9831,19 +9831,19 @@ function ww() {
|
|
|
9831
9831
|
function f(m) {
|
|
9832
9832
|
return m;
|
|
9833
9833
|
}
|
|
9834
|
-
return wi = function(b, S,
|
|
9835
|
-
if (!(0 <= b && b <= 1 && 0 <=
|
|
9834
|
+
return wi = function(b, S, V, O) {
|
|
9835
|
+
if (!(0 <= b && b <= 1 && 0 <= V && V <= 1))
|
|
9836
9836
|
throw new Error("bezier x values must be in [0, 1] range");
|
|
9837
|
-
if (b === S &&
|
|
9837
|
+
if (b === S && V === O)
|
|
9838
9838
|
return f;
|
|
9839
9839
|
for (var C = s ? new Float32Array(a) : new Array(a), P = 0; P < a; ++P)
|
|
9840
|
-
C[P] = u(P * o, b,
|
|
9840
|
+
C[P] = u(P * o, b, V);
|
|
9841
9841
|
function w(T) {
|
|
9842
9842
|
for (var E = 0, F = 1, y = a - 1; F !== y && C[F] <= T; ++F)
|
|
9843
9843
|
E += o;
|
|
9844
9844
|
--F;
|
|
9845
|
-
var A = (T - C[F]) / (C[F + 1] - C[F]), z = E + A * o,
|
|
9846
|
-
return
|
|
9845
|
+
var A = (T - C[F]) / (C[F + 1] - C[F]), z = E + A * o, _ = d(z, b, V);
|
|
9846
|
+
return _ >= t ? p(T, z, b, V) : _ === 0 ? z : h(T, E, E + o, b, V);
|
|
9847
9847
|
}
|
|
9848
9848
|
return function(E) {
|
|
9849
9849
|
return E === 0 ? 0 : E === 1 ? 1 : u(w(E), S, O);
|
|
@@ -10093,9 +10093,9 @@ function md(e) {
|
|
|
10093
10093
|
const S = s(b);
|
|
10094
10094
|
if (S === void 0)
|
|
10095
10095
|
return null;
|
|
10096
|
-
const
|
|
10096
|
+
const V = r ? 1 - S / a : S / a, O = i(b);
|
|
10097
10097
|
return O === null ? null : /* @__PURE__ */ x.jsx("stop", {
|
|
10098
|
-
offset:
|
|
10098
|
+
offset: V,
|
|
10099
10099
|
stopColor: O,
|
|
10100
10100
|
stopOpacity: 1
|
|
10101
10101
|
}, p + m);
|
|
@@ -10156,8 +10156,8 @@ function Dw() {
|
|
|
10156
10156
|
} = bw(), {
|
|
10157
10157
|
zAxis: f,
|
|
10158
10158
|
zAxisIds: m
|
|
10159
|
-
} = vw(), b = p.filter((O) => h[O].colorMap !== void 0), S = d.filter((O) => u[O].colorMap !== void 0),
|
|
10160
|
-
return b.length === 0 && S.length === 0 &&
|
|
10159
|
+
} = vw(), b = p.filter((O) => h[O].colorMap !== void 0), S = d.filter((O) => u[O].colorMap !== void 0), V = m.filter((O) => f[O].colorMap !== void 0);
|
|
10160
|
+
return b.length === 0 && S.length === 0 && V.length === 0 ? null : /* @__PURE__ */ x.jsxs("defs", {
|
|
10161
10161
|
children: [b.map((O) => {
|
|
10162
10162
|
const C = l(O), P = c(O), {
|
|
10163
10163
|
colorMap: w,
|
|
@@ -10218,7 +10218,7 @@ function Dw() {
|
|
|
10218
10218
|
gradientId: P
|
|
10219
10219
|
})]
|
|
10220
10220
|
}, C) : null;
|
|
10221
|
-
}),
|
|
10221
|
+
}), V.map((O) => {
|
|
10222
10222
|
const C = c(O), {
|
|
10223
10223
|
colorMap: P,
|
|
10224
10224
|
colorScale: w
|
|
@@ -10386,9 +10386,9 @@ function Gw(e) {
|
|
|
10386
10386
|
top: p,
|
|
10387
10387
|
width: f,
|
|
10388
10388
|
height: m
|
|
10389
|
-
} = xm(), b = Fw(a, o), S = c ? Jn(c, f) : b.cx * f,
|
|
10390
|
-
let O = h + S, C = p +
|
|
10391
|
-
const P = zw(S,
|
|
10389
|
+
} = xm(), b = Fw(a, o), S = c ? Jn(c, f) : b.cx * f, V = u ? Jn(u, m) : b.cy * m;
|
|
10390
|
+
let O = h + S, C = p + V;
|
|
10391
|
+
const P = zw(S, V, f, m, b);
|
|
10392
10392
|
if (c === void 0) {
|
|
10393
10393
|
const y = P * (b.maxX - b.minX);
|
|
10394
10394
|
O = h + (f - y) / 2 + b.cx * y;
|
|
@@ -10445,7 +10445,7 @@ const Hw = ["width", "height", "margin", "title", "desc", "value", "valueMin", "
|
|
|
10445
10445
|
cornerRadius: m,
|
|
10446
10446
|
cx: b,
|
|
10447
10447
|
cy: S,
|
|
10448
|
-
children:
|
|
10448
|
+
children: V
|
|
10449
10449
|
} = t, O = ur(t, Hw);
|
|
10450
10450
|
return /* @__PURE__ */ x.jsx(gw, {
|
|
10451
10451
|
pluginParams: {
|
|
@@ -10481,7 +10481,7 @@ const Hw = ["width", "height", "margin", "title", "desc", "value", "valueMin", "
|
|
|
10481
10481
|
ref: r,
|
|
10482
10482
|
children: /* @__PURE__ */ x.jsx(qw, {
|
|
10483
10483
|
"aria-hidden": "true",
|
|
10484
|
-
children:
|
|
10484
|
+
children: V
|
|
10485
10485
|
})
|
|
10486
10486
|
}))
|
|
10487
10487
|
})
|
|
@@ -10987,7 +10987,7 @@ const yC = ["text", "children", "classes", "className", "skipAnimation"], bC = (
|
|
|
10987
10987
|
skipAnimation: s
|
|
10988
10988
|
} = t, i = ur(t, yC), l = bC(t);
|
|
10989
10989
|
return /* @__PURE__ */ x.jsxs(bc, W({}, i, {
|
|
10990
|
-
className:
|
|
10990
|
+
className: kt(l.root, o),
|
|
10991
10991
|
ref: r,
|
|
10992
10992
|
children: [/* @__PURE__ */ x.jsx(Zw, {
|
|
10993
10993
|
className: l.referenceArc
|
|
@@ -11374,39 +11374,39 @@ const G$ = gr(
|
|
|
11374
11374
|
compact: a = !1,
|
|
11375
11375
|
className: o
|
|
11376
11376
|
}) => {
|
|
11377
|
-
var z;
|
|
11378
|
-
const s = et(), { t: i } = St(), [l, c] = gt(0), [u, d] = gt(0), [h, p] = gt(!1), [f, m] = gt(!1), [b, S] = gt(0),
|
|
11377
|
+
var z, _;
|
|
11378
|
+
const s = et(), { t: i } = St(), [l, c] = gt(0), [u, d] = gt(0), [h, p] = gt(!1), [f, m] = gt(!1), [b, S] = gt(0), V = xt(null), O = xt(null), C = xt(0), [P] = OC([0], {
|
|
11379
11379
|
tension: 80,
|
|
11380
11380
|
// Higher values = faster, more responsive animations
|
|
11381
11381
|
friction: 18,
|
|
11382
11382
|
// Higher values = more damping, less bouncy animations
|
|
11383
|
-
onChange: ([
|
|
11384
|
-
S(
|
|
11383
|
+
onChange: ([N]) => {
|
|
11384
|
+
S(N);
|
|
11385
11385
|
}
|
|
11386
11386
|
}), w = sn(
|
|
11387
|
-
(
|
|
11388
|
-
d(
|
|
11389
|
-
const
|
|
11390
|
-
c(
|
|
11391
|
-
const
|
|
11392
|
-
|
|
11387
|
+
(N, Z = 0) => {
|
|
11388
|
+
d(N);
|
|
11389
|
+
const X = Math.max(0, N - Z);
|
|
11390
|
+
c(X), m(!1), C.current = 0;
|
|
11391
|
+
const re = Z > 0 ? Z / N * 100 : 0;
|
|
11392
|
+
Z === 0 ? P.setTarget([0]) : P.setTarget([re]), X === 0 ? (p(!1), O.current = null, t && setTimeout(() => t(), 0)) : r ? (O.current = Date.now() - Z * 1e3, p(!0)) : O.current = null;
|
|
11393
11393
|
},
|
|
11394
11394
|
[r, t, P]
|
|
11395
11395
|
), T = sn(() => {
|
|
11396
11396
|
if (O.current && h) {
|
|
11397
|
-
const
|
|
11398
|
-
C.current +=
|
|
11399
|
-
const
|
|
11400
|
-
P.setTarget([
|
|
11397
|
+
const Z = Date.now() - O.current;
|
|
11398
|
+
C.current += Z;
|
|
11399
|
+
const X = C.current / 1e3, re = Math.min(100, X / u * 100);
|
|
11400
|
+
P.setTarget([re]);
|
|
11401
11401
|
}
|
|
11402
11402
|
p(!1), m(!0);
|
|
11403
11403
|
}, [h, u, P]), E = sn(() => {
|
|
11404
11404
|
f && l > 0 && (O.current = Date.now(), p(!0), m(!1));
|
|
11405
11405
|
}, [f, l]), F = sn(() => f, [f]);
|
|
11406
11406
|
dt(() => {
|
|
11407
|
-
let
|
|
11408
|
-
const
|
|
11409
|
-
|
|
11407
|
+
let N = !0;
|
|
11408
|
+
const Z = setTimeout(() => {
|
|
11409
|
+
N && e({
|
|
11410
11410
|
startNewCycle: w,
|
|
11411
11411
|
pause: T,
|
|
11412
11412
|
resume: E,
|
|
@@ -11414,40 +11414,40 @@ const G$ = gr(
|
|
|
11414
11414
|
});
|
|
11415
11415
|
}, 0);
|
|
11416
11416
|
return () => {
|
|
11417
|
-
|
|
11417
|
+
N = !1, clearTimeout(Z);
|
|
11418
11418
|
};
|
|
11419
11419
|
}, [e, w, T, E, F]), dt(() => {
|
|
11420
11420
|
if (h) {
|
|
11421
|
-
const
|
|
11421
|
+
const N = () => {
|
|
11422
11422
|
if (O.current && u > 0) {
|
|
11423
|
-
const
|
|
11424
|
-
c(Math.ceil(
|
|
11425
|
-
const
|
|
11426
|
-
if (P.setTarget([
|
|
11423
|
+
const X = (Date.now() - O.current + C.current) / 1e3, re = Math.max(0, u - X);
|
|
11424
|
+
c(Math.ceil(re));
|
|
11425
|
+
const ee = Math.min(100, X / u * 100);
|
|
11426
|
+
if (P.setTarget([ee]), re <= 0) {
|
|
11427
11427
|
p(!1), O.current = null, c(0), P.setTarget([100]), t && setTimeout(() => t(), 0);
|
|
11428
11428
|
return;
|
|
11429
11429
|
}
|
|
11430
|
-
h && (
|
|
11430
|
+
h && (V.current = requestAnimationFrame(N));
|
|
11431
11431
|
}
|
|
11432
11432
|
};
|
|
11433
|
-
|
|
11433
|
+
V.current = requestAnimationFrame(N);
|
|
11434
11434
|
} else
|
|
11435
|
-
|
|
11435
|
+
V.current && (cancelAnimationFrame(V.current), V.current = null);
|
|
11436
11436
|
return () => {
|
|
11437
|
-
|
|
11437
|
+
V.current && cancelAnimationFrame(V.current);
|
|
11438
11438
|
};
|
|
11439
11439
|
}, [h, t, u, P]), dt(() => {
|
|
11440
|
-
let
|
|
11441
|
-
const
|
|
11442
|
-
P.update(1 / 60),
|
|
11440
|
+
let N = null;
|
|
11441
|
+
const Z = () => {
|
|
11442
|
+
P.update(1 / 60), N = requestAnimationFrame(Z);
|
|
11443
11443
|
};
|
|
11444
|
-
return
|
|
11445
|
-
|
|
11444
|
+
return N = requestAnimationFrame(Z), () => {
|
|
11445
|
+
N && cancelAnimationFrame(N);
|
|
11446
11446
|
};
|
|
11447
11447
|
}, [P]), dt(() => {
|
|
11448
11448
|
if (!h && !f && u > 0) {
|
|
11449
|
-
const
|
|
11450
|
-
P.setTarget([
|
|
11449
|
+
const N = (u - l) / u * 100;
|
|
11450
|
+
P.setTarget([N]);
|
|
11451
11451
|
}
|
|
11452
11452
|
}, [
|
|
11453
11453
|
h,
|
|
@@ -11456,12 +11456,12 @@ const G$ = gr(
|
|
|
11456
11456
|
l,
|
|
11457
11457
|
P
|
|
11458
11458
|
]);
|
|
11459
|
-
const y = (
|
|
11460
|
-
const
|
|
11461
|
-
return `${
|
|
11459
|
+
const y = (N) => {
|
|
11460
|
+
const Z = Math.floor(N / 60), X = N % 60;
|
|
11461
|
+
return `${Z}:${X.toString().padStart(2, "0")}`;
|
|
11462
11462
|
}, A = b;
|
|
11463
11463
|
return n === "small" ? /* @__PURE__ */ x.jsxs(
|
|
11464
|
-
|
|
11464
|
+
It,
|
|
11465
11465
|
{
|
|
11466
11466
|
className: o,
|
|
11467
11467
|
sx: {
|
|
@@ -11471,8 +11471,8 @@ const G$ = gr(
|
|
|
11471
11471
|
// Minimal gap - 1px
|
|
11472
11472
|
},
|
|
11473
11473
|
children: [
|
|
11474
|
-
/* @__PURE__ */ x.
|
|
11475
|
-
|
|
11474
|
+
/* @__PURE__ */ x.jsxs(
|
|
11475
|
+
It,
|
|
11476
11476
|
{
|
|
11477
11477
|
sx: {
|
|
11478
11478
|
position: "relative",
|
|
@@ -11484,39 +11484,67 @@ const G$ = gr(
|
|
|
11484
11484
|
borderRadius: "50%",
|
|
11485
11485
|
overflow: "visible"
|
|
11486
11486
|
},
|
|
11487
|
-
children:
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
|
|
11491
|
-
|
|
11492
|
-
|
|
11493
|
-
|
|
11494
|
-
|
|
11495
|
-
|
|
11496
|
-
|
|
11497
|
-
|
|
11498
|
-
|
|
11499
|
-
|
|
11500
|
-
|
|
11501
|
-
|
|
11502
|
-
|
|
11503
|
-
|
|
11504
|
-
|
|
11505
|
-
|
|
11506
|
-
|
|
11507
|
-
|
|
11508
|
-
|
|
11509
|
-
|
|
11510
|
-
|
|
11511
|
-
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
|
|
11515
|
-
|
|
11487
|
+
children: [
|
|
11488
|
+
/* @__PURE__ */ x.jsx(
|
|
11489
|
+
Zo,
|
|
11490
|
+
{
|
|
11491
|
+
width: 40,
|
|
11492
|
+
height: 40,
|
|
11493
|
+
value: A,
|
|
11494
|
+
valueMin: 0,
|
|
11495
|
+
valueMax: 100,
|
|
11496
|
+
innerRadius: "70%",
|
|
11497
|
+
outerRadius: "95%",
|
|
11498
|
+
skipAnimation: !0,
|
|
11499
|
+
sx: {
|
|
11500
|
+
opacity: f ? 0.6 : 1,
|
|
11501
|
+
transition: "opacity 0.2s ease",
|
|
11502
|
+
"& .MuiGauge-valueArc": {
|
|
11503
|
+
fill: s.palette.success.main
|
|
11504
|
+
},
|
|
11505
|
+
"& .MuiGauge-referenceArc": {
|
|
11506
|
+
fill: s.palette.success.main,
|
|
11507
|
+
opacity: 0.3
|
|
11508
|
+
},
|
|
11509
|
+
"& .MuiGauge-valueText": {
|
|
11510
|
+
display: "none"
|
|
11511
|
+
},
|
|
11512
|
+
"& .MuiGauge-text": {
|
|
11513
|
+
display: "none"
|
|
11514
|
+
},
|
|
11515
|
+
"& text": {
|
|
11516
|
+
display: "none"
|
|
11517
|
+
},
|
|
11518
|
+
// Hide any inner circle elements that might flash
|
|
11519
|
+
"& .MuiGauge-referenceArcBackground": {
|
|
11520
|
+
display: "none"
|
|
11521
|
+
},
|
|
11522
|
+
"& .MuiGauge-valueArcBackground": {
|
|
11523
|
+
display: "none"
|
|
11524
|
+
},
|
|
11525
|
+
"& circle": {
|
|
11526
|
+
display: "none"
|
|
11527
|
+
}
|
|
11516
11528
|
}
|
|
11517
11529
|
}
|
|
11518
|
-
|
|
11519
|
-
|
|
11530
|
+
),
|
|
11531
|
+
/* @__PURE__ */ x.jsx(
|
|
11532
|
+
It,
|
|
11533
|
+
{
|
|
11534
|
+
sx: {
|
|
11535
|
+
position: "absolute",
|
|
11536
|
+
top: "50%",
|
|
11537
|
+
left: "50%",
|
|
11538
|
+
transform: "translate(-50%, -50%)",
|
|
11539
|
+
width: 13,
|
|
11540
|
+
height: 13,
|
|
11541
|
+
borderRadius: "50%",
|
|
11542
|
+
backgroundColor: ((z = s.palette.background) == null ? void 0 : z.paper) || "white",
|
|
11543
|
+
pointerEvents: "none"
|
|
11544
|
+
}
|
|
11545
|
+
}
|
|
11546
|
+
)
|
|
11547
|
+
]
|
|
11520
11548
|
}
|
|
11521
11549
|
),
|
|
11522
11550
|
/* @__PURE__ */ x.jsx(
|
|
@@ -11539,7 +11567,7 @@ const G$ = gr(
|
|
|
11539
11567
|
]
|
|
11540
11568
|
}
|
|
11541
11569
|
) : /* @__PURE__ */ x.jsxs(
|
|
11542
|
-
|
|
11570
|
+
It,
|
|
11543
11571
|
{
|
|
11544
11572
|
className: o,
|
|
11545
11573
|
sx: {
|
|
@@ -11576,7 +11604,7 @@ const G$ = gr(
|
|
|
11576
11604
|
}
|
|
11577
11605
|
),
|
|
11578
11606
|
/* @__PURE__ */ x.jsxs(
|
|
11579
|
-
|
|
11607
|
+
It,
|
|
11580
11608
|
{
|
|
11581
11609
|
sx: {
|
|
11582
11610
|
position: "absolute",
|
|
@@ -11587,7 +11615,7 @@ const G$ = gr(
|
|
|
11587
11615
|
// 71% of 264 = ~187px inner radius
|
|
11588
11616
|
height: 187,
|
|
11589
11617
|
borderRadius: "50%",
|
|
11590
|
-
backgroundColor: (
|
|
11618
|
+
backgroundColor: (_ = s.palette.backgroundPaperElevation) == null ? void 0 : _[8],
|
|
11591
11619
|
display: "flex",
|
|
11592
11620
|
flexDirection: "column",
|
|
11593
11621
|
alignItems: "center",
|
|
@@ -11748,7 +11776,7 @@ const yd = gr(
|
|
|
11748
11776
|
});
|
|
11749
11777
|
const l = et(), [c, u] = gt(null);
|
|
11750
11778
|
dt(() => {
|
|
11751
|
-
o &&
|
|
11779
|
+
o && V();
|
|
11752
11780
|
}, [o]);
|
|
11753
11781
|
const d = s || c, h = xt(null);
|
|
11754
11782
|
e || (e = {
|
|
@@ -11800,7 +11828,7 @@ const yd = gr(
|
|
|
11800
11828
|
function S(y, A) {
|
|
11801
11829
|
o || y.button === 0 && (u(A), n(A));
|
|
11802
11830
|
}
|
|
11803
|
-
function
|
|
11831
|
+
function V() {
|
|
11804
11832
|
u(null), a();
|
|
11805
11833
|
}
|
|
11806
11834
|
return /* @__PURE__ */ x.jsxs(pn, { height: "64px", direction: "row", justifyContent: "center", ...i, children: [
|
|
@@ -11810,8 +11838,8 @@ const yd = gr(
|
|
|
11810
11838
|
disabled: o,
|
|
11811
11839
|
disableRipple: !0,
|
|
11812
11840
|
onPointerDown: (y) => S(y, "-"),
|
|
11813
|
-
onPointerUp:
|
|
11814
|
-
onPointerOut:
|
|
11841
|
+
onPointerUp: V,
|
|
11842
|
+
onPointerOut: V,
|
|
11815
11843
|
size: "large",
|
|
11816
11844
|
sx: {
|
|
11817
11845
|
...d === "-" ? b : m,
|
|
@@ -11879,8 +11907,8 @@ const yd = gr(
|
|
|
11879
11907
|
disableRipple: !0,
|
|
11880
11908
|
disabled: o,
|
|
11881
11909
|
onPointerDown: (y) => S(y, "+"),
|
|
11882
|
-
onPointerUp:
|
|
11883
|
-
onPointerOut:
|
|
11910
|
+
onPointerUp: V,
|
|
11911
|
+
onPointerOut: V,
|
|
11884
11912
|
size: "large",
|
|
11885
11913
|
sx: {
|
|
11886
11914
|
...d === "+" ? b : m,
|
|
@@ -12039,7 +12067,7 @@ const _C = (e) => {
|
|
|
12039
12067
|
const S = _C(m);
|
|
12040
12068
|
return /* @__PURE__ */ x.jsxs(EC, {
|
|
12041
12069
|
as: i,
|
|
12042
|
-
className:
|
|
12070
|
+
className: kt(S.root, o),
|
|
12043
12071
|
focusable: "false",
|
|
12044
12072
|
color: c,
|
|
12045
12073
|
"aria-hidden": d ? void 0 : !0,
|
|
@@ -12209,8 +12237,8 @@ function Vr(e) {
|
|
|
12209
12237
|
var t = typeof e;
|
|
12210
12238
|
return e != null && (t == "object" || t == "function");
|
|
12211
12239
|
}
|
|
12212
|
-
var jm = typeof global == "object" && global && global.Object === Object && global, jC = typeof self == "object" && self && self.Object === Object && self,
|
|
12213
|
-
return
|
|
12240
|
+
var jm = typeof global == "object" && global && global.Object === Object && global, jC = typeof self == "object" && self && self.Object === Object && self, Dt = jm || jC || Function("return this")(), Ri = function() {
|
|
12241
|
+
return Dt.Date.now();
|
|
12214
12242
|
}, kC = /\s/;
|
|
12215
12243
|
function UC(e) {
|
|
12216
12244
|
for (var t = e.length; t-- && kC.test(e.charAt(t)); )
|
|
@@ -12221,7 +12249,7 @@ var LC = /^\s+/;
|
|
|
12221
12249
|
function DC(e) {
|
|
12222
12250
|
return e && e.slice(0, UC(e) + 1).replace(LC, "");
|
|
12223
12251
|
}
|
|
12224
|
-
var pr =
|
|
12252
|
+
var pr = Dt.Symbol, km = Object.prototype, BC = km.hasOwnProperty, NC = km.toString, Wn = pr ? pr.toStringTag : void 0;
|
|
12225
12253
|
function FC(e) {
|
|
12226
12254
|
var t = BC.call(e, Wn), r = e[Wn];
|
|
12227
12255
|
try {
|
|
@@ -12287,17 +12315,17 @@ function rP(e, t, r) {
|
|
|
12287
12315
|
function S() {
|
|
12288
12316
|
var w = Ri();
|
|
12289
12317
|
if (b(w))
|
|
12290
|
-
return
|
|
12318
|
+
return V(w);
|
|
12291
12319
|
i = setTimeout(S, m(w));
|
|
12292
12320
|
}
|
|
12293
|
-
function
|
|
12321
|
+
function V(w) {
|
|
12294
12322
|
return i = void 0, h && n ? p(w) : (n = a = void 0, s);
|
|
12295
12323
|
}
|
|
12296
12324
|
function O() {
|
|
12297
12325
|
i !== void 0 && clearTimeout(i), c = 0, n = l = a = i = void 0;
|
|
12298
12326
|
}
|
|
12299
12327
|
function C() {
|
|
12300
|
-
return i === void 0 ? s :
|
|
12328
|
+
return i === void 0 ? s : V(Ri());
|
|
12301
12329
|
}
|
|
12302
12330
|
function P() {
|
|
12303
12331
|
var w = Ri(), T = b(w);
|
|
@@ -12333,14 +12361,14 @@ const oP = gr(
|
|
|
12333
12361
|
disabled: o,
|
|
12334
12362
|
...s
|
|
12335
12363
|
}) => {
|
|
12336
|
-
var O, C, P, w, T, E, F, y, A, z,
|
|
12364
|
+
var O, C, P, w, T, E, F, y, A, z, _, N, Z, X, re;
|
|
12337
12365
|
const { t: i } = St(), [l, c] = gt(), u = et(), d = {
|
|
12338
12366
|
background: (O = u.palette.backgroundPaperElevation) == null ? void 0 : O[4],
|
|
12339
12367
|
color: (C = u.palette.backgroundPaperElevation) == null ? void 0 : C[11]
|
|
12340
12368
|
}, h = is(() => ({
|
|
12341
12369
|
activeJoggingDir: null,
|
|
12342
|
-
startJogging(
|
|
12343
|
-
this.activeJoggingDir =
|
|
12370
|
+
startJogging(ee) {
|
|
12371
|
+
this.activeJoggingDir = ee, e(ee);
|
|
12344
12372
|
},
|
|
12345
12373
|
stopJogging() {
|
|
12346
12374
|
this.activeJoggingDir = null, t();
|
|
@@ -12349,24 +12377,24 @@ const oP = gr(
|
|
|
12349
12377
|
c(a());
|
|
12350
12378
|
}, 50);
|
|
12351
12379
|
ka(p);
|
|
12352
|
-
function f(
|
|
12353
|
-
|
|
12380
|
+
function f(ee) {
|
|
12381
|
+
ee.button === 0 && h.startJogging("-");
|
|
12354
12382
|
}
|
|
12355
|
-
function m(
|
|
12356
|
-
|
|
12383
|
+
function m(ee) {
|
|
12384
|
+
ee.button === 0 && h.startJogging("+");
|
|
12357
12385
|
}
|
|
12358
|
-
function b(
|
|
12386
|
+
function b(ee) {
|
|
12359
12387
|
h.stopJogging();
|
|
12360
12388
|
}
|
|
12361
|
-
function S(
|
|
12389
|
+
function S(ee) {
|
|
12362
12390
|
h.stopJogging();
|
|
12363
12391
|
}
|
|
12364
|
-
function
|
|
12365
|
-
if (
|
|
12392
|
+
function V(ee, se = 1) {
|
|
12393
|
+
if (ee === void 0 || isNaN(ee)) return "";
|
|
12366
12394
|
const q = i("General.degree.variable", {
|
|
12367
|
-
amount:
|
|
12395
|
+
amount: ee.toFixed(se)
|
|
12368
12396
|
});
|
|
12369
|
-
return
|
|
12397
|
+
return ee > 0 && se === 0 ? `+${q}` : q;
|
|
12370
12398
|
}
|
|
12371
12399
|
return /* @__PURE__ */ x.jsxs(
|
|
12372
12400
|
pn,
|
|
@@ -12450,7 +12478,7 @@ const oP = gr(
|
|
|
12450
12478
|
top: "5px",
|
|
12451
12479
|
color: o ? u.palette.action.disabled : u.palette.text.primary
|
|
12452
12480
|
},
|
|
12453
|
-
children:
|
|
12481
|
+
children: V(l)
|
|
12454
12482
|
}
|
|
12455
12483
|
),
|
|
12456
12484
|
/* @__PURE__ */ x.jsx(
|
|
@@ -12478,18 +12506,18 @@ const oP = gr(
|
|
|
12478
12506
|
color: o ? u.palette.action.disabled : u.palette.text.secondary
|
|
12479
12507
|
},
|
|
12480
12508
|
"& .MuiSlider-rail": {
|
|
12481
|
-
backgroundColor: (
|
|
12509
|
+
backgroundColor: (_ = u.palette.backgroundPaperElevation) == null ? void 0 : _[5],
|
|
12482
12510
|
opacity: 1
|
|
12483
12511
|
}
|
|
12484
12512
|
},
|
|
12485
12513
|
marks: r !== void 0 && n !== void 0 && [
|
|
12486
12514
|
{
|
|
12487
12515
|
value: r,
|
|
12488
|
-
label:
|
|
12516
|
+
label: V(r, 0)
|
|
12489
12517
|
},
|
|
12490
12518
|
{
|
|
12491
12519
|
value: n,
|
|
12492
|
-
label:
|
|
12520
|
+
label: V(n, 0)
|
|
12493
12521
|
}
|
|
12494
12522
|
]
|
|
12495
12523
|
}
|
|
@@ -12514,7 +12542,7 @@ const oP = gr(
|
|
|
12514
12542
|
{
|
|
12515
12543
|
sx: {
|
|
12516
12544
|
pointerEvents: "none",
|
|
12517
|
-
color: (re = (X = (
|
|
12545
|
+
color: (re = (X = (Z = (N = u.componentsExt) == null ? void 0 : N.JoggingPanel) == null ? void 0 : Z.JoggingJoint) == null ? void 0 : X.Joint) == null ? void 0 : re.arrowColor
|
|
12518
12546
|
}
|
|
12519
12547
|
}
|
|
12520
12548
|
)
|
|
@@ -12824,9 +12852,9 @@ function iT(e, t, r, n, a, o) {
|
|
|
12824
12852
|
break;
|
|
12825
12853
|
}
|
|
12826
12854
|
if (p) {
|
|
12827
|
-
if (!rT(t, function(S,
|
|
12828
|
-
if (!aT(p,
|
|
12829
|
-
return p.push(
|
|
12855
|
+
if (!rT(t, function(S, V) {
|
|
12856
|
+
if (!aT(p, V) && (f === S || a(f, S, r, n, o)))
|
|
12857
|
+
return p.push(V);
|
|
12830
12858
|
})) {
|
|
12831
12859
|
h = !1;
|
|
12832
12860
|
break;
|
|
@@ -13024,10 +13052,10 @@ function iV(e, t, r, n, a, o) {
|
|
|
13024
13052
|
o.set(e, t), o.set(t, e);
|
|
13025
13053
|
for (var b = s; ++d < l; ) {
|
|
13026
13054
|
h = i[d];
|
|
13027
|
-
var S = e[h],
|
|
13055
|
+
var S = e[h], V = t[h];
|
|
13028
13056
|
if (n)
|
|
13029
|
-
var O = s ? n(
|
|
13030
|
-
if (!(O === void 0 ? S ===
|
|
13057
|
+
var O = s ? n(V, S, h, t, e, o) : n(S, V, h, e, t, o);
|
|
13058
|
+
if (!(O === void 0 ? S === V || a(S, V, r, n, o) : O)) {
|
|
13031
13059
|
m = !1;
|
|
13032
13060
|
break;
|
|
13033
13061
|
}
|
|
@@ -13990,14 +14018,14 @@ function Hs(e, t, r) {
|
|
|
13990
14018
|
if (!G.isUndefined(f)) {
|
|
13991
14019
|
if (d.indexOf(f) !== -1)
|
|
13992
14020
|
throw Error("Circular reference detected in " + m.join("."));
|
|
13993
|
-
d.push(f), G.forEach(f, function(S,
|
|
14021
|
+
d.push(f), G.forEach(f, function(S, V) {
|
|
13994
14022
|
(!(G.isUndefined(S) || S === null) && a.call(
|
|
13995
14023
|
t,
|
|
13996
14024
|
S,
|
|
13997
|
-
G.isString(
|
|
14025
|
+
G.isString(V) ? V.trim() : V,
|
|
13998
14026
|
m,
|
|
13999
14027
|
h
|
|
14000
|
-
)) === !0 && p(S, m ? m.concat(
|
|
14028
|
+
)) === !0 && p(S, m ? m.concat(V) : [V]);
|
|
14001
14029
|
}), d.pop();
|
|
14002
14030
|
}
|
|
14003
14031
|
}
|
|
@@ -14696,9 +14724,9 @@ const gf = (e) => {
|
|
|
14696
14724
|
}), G.isUndefined(a.withCredentials) || (b.withCredentials = !!a.withCredentials), i && i !== "json" && (b.responseType = a.responseType), c && ([h, f] = ns(c, !0), b.addEventListener("progress", h)), l && b.upload && ([d, p] = ns(l), b.upload.addEventListener("progress", d), b.upload.addEventListener("loadend", p)), (a.cancelToken || a.signal) && (u = (O) => {
|
|
14697
14725
|
b && (n(!O || O.type ? new jn(null, e, b) : O), b.abort(), b = null);
|
|
14698
14726
|
}, a.cancelToken && a.cancelToken.subscribe(u), a.signal && (a.signal.aborted ? u() : a.signal.addEventListener("abort", u)));
|
|
14699
|
-
const
|
|
14700
|
-
if (
|
|
14701
|
-
n(new ce("Unsupported protocol " +
|
|
14727
|
+
const V = K_(a.url);
|
|
14728
|
+
if (V && Ke.protocols.indexOf(V) === -1) {
|
|
14729
|
+
n(new ce("Unsupported protocol " + V + ":", ce.ERR_BAD_REQUEST, e));
|
|
14702
14730
|
return;
|
|
14703
14731
|
}
|
|
14704
14732
|
b.send(o || null);
|
|
@@ -14873,32 +14901,32 @@ const dE = async (e) => {
|
|
|
14873
14901
|
duplex: "half",
|
|
14874
14902
|
credentials: S ? d : void 0
|
|
14875
14903
|
});
|
|
14876
|
-
let
|
|
14904
|
+
let V = await fetch(f);
|
|
14877
14905
|
const O = bl && (c === "stream" || c === "response");
|
|
14878
14906
|
if (bl && (i || O && m)) {
|
|
14879
14907
|
const P = {};
|
|
14880
14908
|
["status", "statusText", "headers"].forEach((F) => {
|
|
14881
|
-
P[F] =
|
|
14909
|
+
P[F] = V[F];
|
|
14882
14910
|
});
|
|
14883
|
-
const w = G.toFiniteNumber(
|
|
14911
|
+
const w = G.toFiniteNumber(V.headers.get("content-length")), [T, E] = i && Yd(
|
|
14884
14912
|
w,
|
|
14885
14913
|
ns(Kd(i), !0)
|
|
14886
14914
|
) || [];
|
|
14887
|
-
|
|
14888
|
-
Xd(
|
|
14915
|
+
V = new Response(
|
|
14916
|
+
Xd(V.body, Zd, T, () => {
|
|
14889
14917
|
E && E(), m && m();
|
|
14890
14918
|
}),
|
|
14891
14919
|
P
|
|
14892
14920
|
);
|
|
14893
14921
|
}
|
|
14894
14922
|
c = c || "text";
|
|
14895
|
-
let C = await as[G.findKey(as, c) || "text"](
|
|
14923
|
+
let C = await as[G.findKey(as, c) || "text"](V, e);
|
|
14896
14924
|
return !O && m && m(), await new Promise((P, w) => {
|
|
14897
14925
|
mf(P, w, {
|
|
14898
14926
|
data: C,
|
|
14899
|
-
headers: st.from(
|
|
14900
|
-
status:
|
|
14901
|
-
statusText:
|
|
14927
|
+
headers: st.from(V.headers),
|
|
14928
|
+
status: V.status,
|
|
14929
|
+
statusText: V.statusText,
|
|
14902
14930
|
config: e,
|
|
14903
14931
|
request: f
|
|
14904
14932
|
});
|
|
@@ -18658,8 +18686,8 @@ const BE = function(e) {
|
|
|
18658
18686
|
e && (f = e.baseOptions);
|
|
18659
18687
|
const m = { method: "GET", ...f, ...d }, b = {}, S = {};
|
|
18660
18688
|
j(m, e), await k(b, e), n !== void 0 && (S.location_on_trajectory = n), a && (S["limit_override.joint_velocity_limits.joints"] = a), o && (S["limit_override.joint_acceleration_limits.joints"] = o), s !== void 0 && (S["limit_override.tcp_velocity_limit"] = s), i !== void 0 && (S["limit_override.tcp_acceleration_limit"] = i), l !== void 0 && (S["limit_override.tcp_orientation_velocity_limit"] = l), c !== void 0 && (S["limit_override.tcp_orientation_acceleration_limit"] = c), u !== void 0 && (S.responses_coordinate_system = u), U(p, S);
|
|
18661
|
-
let
|
|
18662
|
-
return m.headers = { ...b, ...
|
|
18689
|
+
let V = f && f.headers ? f.headers : {};
|
|
18690
|
+
return m.headers = { ...b, ...V, ...d.headers }, {
|
|
18663
18691
|
url: L(p),
|
|
18664
18692
|
options: m
|
|
18665
18693
|
};
|
|
@@ -18909,7 +18937,7 @@ const BE = function(e) {
|
|
|
18909
18937
|
async streamMoveToTrajectoryViaJointPTP(r, n, a, o, s, i, l, c, u, d, h) {
|
|
18910
18938
|
var b, S;
|
|
18911
18939
|
const p = await t.streamMoveToTrajectoryViaJointPTP(r, n, a, o, s, i, l, c, u, d, h), f = (e == null ? void 0 : e.serverIndex) ?? 0, m = (S = (b = M["MotionApi.streamMoveToTrajectoryViaJointPTP"]) == null ? void 0 : b[f]) == null ? void 0 : S.url;
|
|
18912
|
-
return (
|
|
18940
|
+
return (V, O) => D(p, R, I, e)(V, m || O);
|
|
18913
18941
|
}
|
|
18914
18942
|
};
|
|
18915
18943
|
};
|
|
@@ -23416,7 +23444,7 @@ class f2 extends Te {
|
|
|
23416
23444
|
return or(this.configuration).setVirtualRobotMounting(t, r, n, a, o).then((s) => s(this.axios, this.basePath));
|
|
23417
23445
|
}
|
|
23418
23446
|
}
|
|
23419
|
-
function
|
|
23447
|
+
function Ft(e, t, r) {
|
|
23420
23448
|
return Math.max(t, Math.min(r, e));
|
|
23421
23449
|
}
|
|
23422
23450
|
class g2 {
|
|
@@ -23457,12 +23485,12 @@ class g2 {
|
|
|
23457
23485
|
}
|
|
23458
23486
|
if (d !== m || l !== h || c !== p || u !== f) {
|
|
23459
23487
|
let b = 1 - i;
|
|
23460
|
-
const S = l * h + c * p + u * f + d * m,
|
|
23488
|
+
const S = l * h + c * p + u * f + d * m, V = S >= 0 ? 1 : -1, O = 1 - S * S;
|
|
23461
23489
|
if (O > Number.EPSILON) {
|
|
23462
|
-
const P = Math.sqrt(O), w = Math.atan2(P, S *
|
|
23490
|
+
const P = Math.sqrt(O), w = Math.atan2(P, S * V);
|
|
23463
23491
|
b = Math.sin(b * w) / P, i = Math.sin(i * w) / P;
|
|
23464
23492
|
}
|
|
23465
|
-
const C = i *
|
|
23493
|
+
const C = i * V;
|
|
23466
23494
|
if (l = l * b + h * C, c = c * b + p * C, u = u * b + f * C, d = d * b + m * C, b === 1 - i) {
|
|
23467
23495
|
const P = 1 / Math.sqrt(l * l + c * c + u * u + d * d);
|
|
23468
23496
|
l *= P, c *= P, u *= P, d *= P;
|
|
@@ -23651,7 +23679,7 @@ class g2 {
|
|
|
23651
23679
|
* @return {number} The angle in radians.
|
|
23652
23680
|
*/
|
|
23653
23681
|
angleTo(t) {
|
|
23654
|
-
return 2 * Math.acos(Math.abs(
|
|
23682
|
+
return 2 * Math.acos(Math.abs(Ft(this.dot(t), -1, 1)));
|
|
23655
23683
|
}
|
|
23656
23684
|
/**
|
|
23657
23685
|
* Rotates this quaternion by a given angular step to the given quaternion.
|
|
@@ -24219,7 +24247,7 @@ class fn {
|
|
|
24219
24247
|
* @return {Vector3} A reference to this vector.
|
|
24220
24248
|
*/
|
|
24221
24249
|
clamp(t, r) {
|
|
24222
|
-
return this.x =
|
|
24250
|
+
return this.x = Ft(this.x, t.x, r.x), this.y = Ft(this.y, t.y, r.y), this.z = Ft(this.z, t.z, r.z), this;
|
|
24223
24251
|
}
|
|
24224
24252
|
/**
|
|
24225
24253
|
* If this vector's x, y or z values are greater than the max value, they are
|
|
@@ -24232,7 +24260,7 @@ class fn {
|
|
|
24232
24260
|
* @return {Vector3} A reference to this vector.
|
|
24233
24261
|
*/
|
|
24234
24262
|
clampScalar(t, r) {
|
|
24235
|
-
return this.x =
|
|
24263
|
+
return this.x = Ft(this.x, t, r), this.y = Ft(this.y, t, r), this.z = Ft(this.z, t, r), this;
|
|
24236
24264
|
}
|
|
24237
24265
|
/**
|
|
24238
24266
|
* If this vector's length is greater than the max value, it is replaced by
|
|
@@ -24246,7 +24274,7 @@ class fn {
|
|
|
24246
24274
|
*/
|
|
24247
24275
|
clampLength(t, r) {
|
|
24248
24276
|
const n = this.length();
|
|
24249
|
-
return this.divideScalar(n || 1).multiplyScalar(
|
|
24277
|
+
return this.divideScalar(n || 1).multiplyScalar(Ft(n, t, r));
|
|
24250
24278
|
}
|
|
24251
24279
|
/**
|
|
24252
24280
|
* The components of this vector are rounded down to the nearest integer value.
|
|
@@ -24431,7 +24459,7 @@ class fn {
|
|
|
24431
24459
|
const r = Math.sqrt(this.lengthSq() * t.lengthSq());
|
|
24432
24460
|
if (r === 0) return Math.PI / 2;
|
|
24433
24461
|
const n = this.dot(t) / r;
|
|
24434
|
-
return Math.acos(
|
|
24462
|
+
return Math.acos(Ft(n, -1, 1));
|
|
24435
24463
|
}
|
|
24436
24464
|
/**
|
|
24437
24465
|
* Computes the distance from the given vector to this instance.
|
|
@@ -24709,11 +24737,11 @@ function b2() {
|
|
|
24709
24737
|
else if (A === "\\")
|
|
24710
24738
|
yield { type: "ESCAPED", index: F++, value: E[F++] };
|
|
24711
24739
|
else if (A === ":") {
|
|
24712
|
-
const
|
|
24713
|
-
yield { type: "PARAM", index: F, value:
|
|
24740
|
+
const _ = y();
|
|
24741
|
+
yield { type: "PARAM", index: F, value: _ };
|
|
24714
24742
|
} else if (A === "*") {
|
|
24715
|
-
const
|
|
24716
|
-
yield { type: "WILDCARD", index: F, value:
|
|
24743
|
+
const _ = y();
|
|
24744
|
+
yield { type: "WILDCARD", index: F, value: _ };
|
|
24717
24745
|
} else
|
|
24718
24746
|
yield { type: "CHAR", index: F, value: E[F++] };
|
|
24719
24747
|
}
|
|
@@ -24757,11 +24785,11 @@ function b2() {
|
|
|
24757
24785
|
Et.TokenData = u;
|
|
24758
24786
|
function d(T, E = {}) {
|
|
24759
24787
|
const { encodePath: F = t } = E, y = new c(l(T));
|
|
24760
|
-
function A(
|
|
24788
|
+
function A(_) {
|
|
24761
24789
|
const N = [];
|
|
24762
24790
|
for (; ; ) {
|
|
24763
|
-
const
|
|
24764
|
-
|
|
24791
|
+
const Z = y.text();
|
|
24792
|
+
Z && N.push({ type: "text", value: F(Z) });
|
|
24765
24793
|
const X = y.tryConsume("PARAM");
|
|
24766
24794
|
if (X) {
|
|
24767
24795
|
N.push({
|
|
@@ -24785,7 +24813,7 @@ function b2() {
|
|
|
24785
24813
|
});
|
|
24786
24814
|
continue;
|
|
24787
24815
|
}
|
|
24788
|
-
return y.consume(
|
|
24816
|
+
return y.consume(_), N;
|
|
24789
24817
|
}
|
|
24790
24818
|
}
|
|
24791
24819
|
const z = A("END");
|
|
@@ -24794,19 +24822,19 @@ function b2() {
|
|
|
24794
24822
|
function h(T, E = {}) {
|
|
24795
24823
|
const { encode: F = encodeURIComponent, delimiter: y = e } = E, A = T instanceof u ? T : d(T, E), z = p(A.tokens, y, F);
|
|
24796
24824
|
return function(N = {}) {
|
|
24797
|
-
const [
|
|
24825
|
+
const [Z, ...X] = z(N);
|
|
24798
24826
|
if (X.length)
|
|
24799
24827
|
throw new TypeError(`Missing parameters: ${X.join(", ")}`);
|
|
24800
|
-
return
|
|
24828
|
+
return Z;
|
|
24801
24829
|
};
|
|
24802
24830
|
}
|
|
24803
24831
|
function p(T, E, F) {
|
|
24804
24832
|
const y = T.map((A) => f(A, E, F));
|
|
24805
24833
|
return (A) => {
|
|
24806
24834
|
const z = [""];
|
|
24807
|
-
for (const
|
|
24808
|
-
const [N, ...
|
|
24809
|
-
z[0] += N, z.push(...
|
|
24835
|
+
for (const _ of y) {
|
|
24836
|
+
const [N, ...Z] = _(A);
|
|
24837
|
+
z[0] += N, z.push(...Z);
|
|
24810
24838
|
}
|
|
24811
24839
|
return z;
|
|
24812
24840
|
};
|
|
@@ -24817,8 +24845,8 @@ function b2() {
|
|
|
24817
24845
|
if (T.type === "group") {
|
|
24818
24846
|
const A = p(T.tokens, E, F);
|
|
24819
24847
|
return (z) => {
|
|
24820
|
-
const [
|
|
24821
|
-
return N.length ? [""] : [
|
|
24848
|
+
const [_, ...N] = A(z);
|
|
24849
|
+
return N.length ? [""] : [_];
|
|
24822
24850
|
};
|
|
24823
24851
|
}
|
|
24824
24852
|
const y = F || t;
|
|
@@ -24829,10 +24857,10 @@ function b2() {
|
|
|
24829
24857
|
if (!Array.isArray(z) || z.length === 0)
|
|
24830
24858
|
throw new TypeError(`Expected "${T.name}" to be a non-empty array`);
|
|
24831
24859
|
return [
|
|
24832
|
-
z.map((
|
|
24833
|
-
if (typeof
|
|
24860
|
+
z.map((_, N) => {
|
|
24861
|
+
if (typeof _ != "string")
|
|
24834
24862
|
throw new TypeError(`Expected "${T.name}/${N}" to be a string`);
|
|
24835
|
-
return y(
|
|
24863
|
+
return y(_);
|
|
24836
24864
|
}).join(E)
|
|
24837
24865
|
];
|
|
24838
24866
|
} : (A) => {
|
|
@@ -24845,30 +24873,30 @@ function b2() {
|
|
|
24845
24873
|
};
|
|
24846
24874
|
}
|
|
24847
24875
|
function m(T, E = {}) {
|
|
24848
|
-
const { decode: F = decodeURIComponent, delimiter: y = e } = E, { regexp: A, keys: z } = b(T, E),
|
|
24849
|
-
return function(
|
|
24850
|
-
const X = A.exec(
|
|
24876
|
+
const { decode: F = decodeURIComponent, delimiter: y = e } = E, { regexp: A, keys: z } = b(T, E), _ = z.map((N) => F === !1 ? t : N.type === "param" ? F : (Z) => Z.split(y).map(F));
|
|
24877
|
+
return function(Z) {
|
|
24878
|
+
const X = A.exec(Z);
|
|
24851
24879
|
if (!X)
|
|
24852
24880
|
return !1;
|
|
24853
|
-
const re = X[0],
|
|
24881
|
+
const re = X[0], ee = /* @__PURE__ */ Object.create(null);
|
|
24854
24882
|
for (let se = 1; se < X.length; se++) {
|
|
24855
24883
|
if (X[se] === void 0)
|
|
24856
24884
|
continue;
|
|
24857
|
-
const q = z[se - 1], Q =
|
|
24858
|
-
|
|
24885
|
+
const q = z[se - 1], Q = _[se - 1];
|
|
24886
|
+
ee[q.name] = Q(X[se]);
|
|
24859
24887
|
}
|
|
24860
|
-
return { path: re, params:
|
|
24888
|
+
return { path: re, params: ee };
|
|
24861
24889
|
};
|
|
24862
24890
|
}
|
|
24863
24891
|
function b(T, E = {}) {
|
|
24864
|
-
const { delimiter: F = e, end: y = !0, sensitive: A = !1, trailing: z = !0 } = E,
|
|
24892
|
+
const { delimiter: F = e, end: y = !0, sensitive: A = !1, trailing: z = !0 } = E, _ = [], N = [], Z = A ? "" : "i", re = (Array.isArray(T) ? T : [T]).map((q) => q instanceof u ? q : d(q, E));
|
|
24865
24893
|
for (const { tokens: q } of re)
|
|
24866
24894
|
for (const Q of S(q, 0, [])) {
|
|
24867
|
-
const ue =
|
|
24895
|
+
const ue = V(Q, F, _);
|
|
24868
24896
|
N.push(ue);
|
|
24869
24897
|
}
|
|
24870
|
-
let
|
|
24871
|
-
return z && (
|
|
24898
|
+
let ee = `^(?:${N.join("|")})`;
|
|
24899
|
+
return z && (ee += `(?:${i(F)}$)?`), ee += y ? "$" : `(?=${i(F)}|$)`, { regexp: new RegExp(ee, Z), keys: _ };
|
|
24872
24900
|
}
|
|
24873
24901
|
function* S(T, E, F) {
|
|
24874
24902
|
if (E === T.length)
|
|
@@ -24882,10 +24910,10 @@ function b2() {
|
|
|
24882
24910
|
F.push(y);
|
|
24883
24911
|
yield* S(T, E + 1, F);
|
|
24884
24912
|
}
|
|
24885
|
-
function
|
|
24913
|
+
function V(T, E, F) {
|
|
24886
24914
|
let y = "", A = "", z = !0;
|
|
24887
|
-
for (let
|
|
24888
|
-
const N = T[
|
|
24915
|
+
for (let _ = 0; _ < T.length; _++) {
|
|
24916
|
+
const N = T[_];
|
|
24889
24917
|
if (N.type === "text") {
|
|
24890
24918
|
y += i(N.value), A += N.value, z || (z = N.value.includes(E));
|
|
24891
24919
|
continue;
|
|
@@ -24908,11 +24936,11 @@ function b2() {
|
|
|
24908
24936
|
return s(F.value);
|
|
24909
24937
|
if (F.type === "group")
|
|
24910
24938
|
return `{${F.tokens.map(E).join("")}}`;
|
|
24911
|
-
const
|
|
24939
|
+
const _ = P(F.name) && w(A[y + 1]) ? F.name : JSON.stringify(F.name);
|
|
24912
24940
|
if (F.type === "param")
|
|
24913
|
-
return `:${
|
|
24941
|
+
return `:${_}`;
|
|
24914
24942
|
if (F.type === "wildcard")
|
|
24915
|
-
return `*${
|
|
24943
|
+
return `*${_}`;
|
|
24916
24944
|
throw new TypeError(`Unexpected token: ${F}`);
|
|
24917
24945
|
}).join("");
|
|
24918
24946
|
}
|
|
@@ -25009,15 +25037,15 @@ var sh = 1e-4, x2 = class Pf {
|
|
|
25009
25037
|
}
|
|
25010
25038
|
}), b = t.openReconnectingWebsocket(
|
|
25011
25039
|
`/controllers/${l.controller}/state-stream?response_rate=1000`
|
|
25012
|
-
), S = yield b.firstMessage(),
|
|
25013
|
-
if (!
|
|
25040
|
+
), S = yield b.firstMessage(), V = (o = cr(S.data)) == null ? void 0 : o.result;
|
|
25041
|
+
if (!V)
|
|
25014
25042
|
throw new Error(
|
|
25015
25043
|
`Unable to parse initial controller state message ${S.data}`
|
|
25016
25044
|
);
|
|
25017
25045
|
console.log(
|
|
25018
25046
|
`Connected controller state websocket to controller ${l.controller}. Initial state:
|
|
25019
25047
|
`,
|
|
25020
|
-
|
|
25048
|
+
V
|
|
25021
25049
|
);
|
|
25022
25050
|
const { tcps: O } = yield t.api.motionGroupInfos.listTcps(r), C = yield t.api.motionGroupInfos.getMotionGroupSpecification(r), P = yield t.api.motionGroupInfos.getSafetySetup(r);
|
|
25023
25051
|
return new Pf(
|
|
@@ -25031,7 +25059,7 @@ var sh = 1e-4, x2 = class Pf {
|
|
|
25031
25059
|
C,
|
|
25032
25060
|
P,
|
|
25033
25061
|
m,
|
|
25034
|
-
|
|
25062
|
+
V,
|
|
25035
25063
|
b
|
|
25036
25064
|
);
|
|
25037
25065
|
});
|
|
@@ -25355,9 +25383,9 @@ var sh = 1e-4, x2 = class Pf {
|
|
|
25355
25383
|
r.orientation.z
|
|
25356
25384
|
), f = p.length(), m = p.clone().normalize(), b = l.distanceRads * (i === "-" ? -1 : 1), S = new fn(0, 0, 0);
|
|
25357
25385
|
S[s] = 1;
|
|
25358
|
-
const
|
|
25386
|
+
const V = Math.cos(0.5 * b) * Math.cos(0.5 * f), O = Math.sin(0.5 * b) * Math.sin(0.5 * f), C = Math.sin(0.5 * b) * Math.cos(0.5 * f), P = Math.cos(0.5 * b) * Math.sin(0.5 * f), w = S.dot(
|
|
25359
25387
|
m
|
|
25360
|
-
), T = S.clone().cross(m), E = 2 * Math.acos(
|
|
25388
|
+
), T = S.clone().cross(m), E = 2 * Math.acos(V - O * w), F = E / Math.sin(0.5 * E), y = new fn().addScaledVector(T, O).addScaledVector(S, C).addScaledVector(m, P).multiplyScalar(F);
|
|
25361
25389
|
u.push({
|
|
25362
25390
|
settings: {
|
|
25363
25391
|
limits_override: {
|
|
@@ -27117,7 +27145,7 @@ function _f(e) {
|
|
|
27117
27145
|
var t = Dr(e);
|
|
27118
27146
|
return t == X2 || t == Z2 || t == Q2 || t == eI;
|
|
27119
27147
|
}
|
|
27120
|
-
var Ni =
|
|
27148
|
+
var Ni = Dt["__core-js_shared__"], lh = function() {
|
|
27121
27149
|
var e = /[^.]+$/.exec(Ni && Ni.keys && Ni.keys.IE_PROTO || "");
|
|
27122
27150
|
return e ? "Symbol(src)_1." + e : "";
|
|
27123
27151
|
}();
|
|
@@ -27154,7 +27182,7 @@ function Fr(e, t) {
|
|
|
27154
27182
|
var r = hI(e, t);
|
|
27155
27183
|
return dI(r) ? r : void 0;
|
|
27156
27184
|
}
|
|
27157
|
-
var Pa = Fr(
|
|
27185
|
+
var Pa = Fr(Dt, "Map"), Aa = Fr(Object, "create");
|
|
27158
27186
|
function pI() {
|
|
27159
27187
|
this.__data__ = Aa ? Aa(null) : {}, this.size = 0;
|
|
27160
27188
|
}
|
|
@@ -27297,9 +27325,9 @@ function Ef(e, t, r, n, a, o) {
|
|
|
27297
27325
|
break;
|
|
27298
27326
|
}
|
|
27299
27327
|
if (p) {
|
|
27300
|
-
if (!jI(t, function(S,
|
|
27301
|
-
if (!kI(p,
|
|
27302
|
-
return p.push(
|
|
27328
|
+
if (!jI(t, function(S, V) {
|
|
27329
|
+
if (!kI(p, V) && (f === S || a(f, S, r, n, o)))
|
|
27330
|
+
return p.push(V);
|
|
27303
27331
|
})) {
|
|
27304
27332
|
h = !1;
|
|
27305
27333
|
break;
|
|
@@ -27311,7 +27339,7 @@ function Ef(e, t, r, n, a, o) {
|
|
|
27311
27339
|
}
|
|
27312
27340
|
return o.delete(e), o.delete(t), h;
|
|
27313
27341
|
}
|
|
27314
|
-
var ch =
|
|
27342
|
+
var ch = Dt.Uint8Array;
|
|
27315
27343
|
function DI(e) {
|
|
27316
27344
|
var t = -1, r = Array(e.size);
|
|
27317
27345
|
return e.forEach(function(n, a) {
|
|
@@ -27365,10 +27393,10 @@ function tM(e, t) {
|
|
|
27365
27393
|
e[a + r] = t[r];
|
|
27366
27394
|
return e;
|
|
27367
27395
|
}
|
|
27368
|
-
var
|
|
27396
|
+
var Lt = Array.isArray;
|
|
27369
27397
|
function rM(e, t, r) {
|
|
27370
27398
|
var n = t(e);
|
|
27371
|
-
return
|
|
27399
|
+
return Lt(e) ? n : tM(n, r(e));
|
|
27372
27400
|
}
|
|
27373
27401
|
function nM(e, t) {
|
|
27374
27402
|
for (var r = -1, n = e == null ? 0 : e.length, a = 0, o = []; ++r < n; ) {
|
|
@@ -27402,7 +27430,7 @@ var If = Object.prototype, uM = If.hasOwnProperty, dM = If.propertyIsEnumerable,
|
|
|
27402
27430
|
function hM() {
|
|
27403
27431
|
return !1;
|
|
27404
27432
|
}
|
|
27405
|
-
var $f = typeof exports == "object" && exports && !exports.nodeType && exports, ph = $f && typeof module == "object" && module && !module.nodeType && module, pM = ph && ph.exports === $f, mh = pM ?
|
|
27433
|
+
var $f = typeof exports == "object" && exports && !exports.nodeType && exports, ph = $f && typeof module == "object" && module && !module.nodeType && module, pM = ph && ph.exports === $f, mh = pM ? Dt.Buffer : void 0, mM = mh ? mh.isBuffer : void 0, wl = mM || hM, fM = 9007199254740991, gM = /^(?:0|[1-9]\d*)$/;
|
|
27406
27434
|
function jf(e, t) {
|
|
27407
27435
|
var r = typeof e;
|
|
27408
27436
|
return t = t ?? fM, !!t && (r == "number" || r != "symbol" && gM.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
@@ -27430,7 +27458,7 @@ var kf = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
27430
27458
|
}
|
|
27431
27459
|
}(), gh = fh && fh.isTypedArray, Uf = gh ? zM(gh) : FM, HM = Object.prototype, qM = HM.hasOwnProperty;
|
|
27432
27460
|
function JM(e, t) {
|
|
27433
|
-
var r =
|
|
27461
|
+
var r = Lt(e), n = !r && Mf(e), a = !r && !n && wl(e), o = !r && !n && !a && Uf(e), s = r || n || a || o, i = s ? lM(e.length, String) : [], l = i.length;
|
|
27434
27462
|
for (var c in e)
|
|
27435
27463
|
qM.call(e, c) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
27436
27464
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -27484,10 +27512,10 @@ function a5(e, t, r, n, a, o) {
|
|
|
27484
27512
|
o.set(e, t), o.set(t, e);
|
|
27485
27513
|
for (var b = s; ++d < l; ) {
|
|
27486
27514
|
h = i[d];
|
|
27487
|
-
var S = e[h],
|
|
27515
|
+
var S = e[h], V = t[h];
|
|
27488
27516
|
if (n)
|
|
27489
|
-
var O = s ? n(
|
|
27490
|
-
if (!(O === void 0 ? S ===
|
|
27517
|
+
var O = s ? n(V, S, h, t, e, o) : n(S, V, h, e, t, o);
|
|
27518
|
+
if (!(O === void 0 ? S === V || a(S, V, r, n, o) : O)) {
|
|
27491
27519
|
m = !1;
|
|
27492
27520
|
break;
|
|
27493
27521
|
}
|
|
@@ -27499,7 +27527,7 @@ function a5(e, t, r, n, a, o) {
|
|
|
27499
27527
|
}
|
|
27500
27528
|
return o.delete(e), o.delete(t), m;
|
|
27501
27529
|
}
|
|
27502
|
-
var Cl = Fr(
|
|
27530
|
+
var Cl = Fr(Dt, "DataView"), Pl = Fr(Dt, "Promise"), Al = Fr(Dt, "Set"), Tl = Fr(Dt, "WeakMap"), bh = "[object Map]", o5 = "[object Object]", vh = "[object Promise]", xh = "[object Set]", Sh = "[object WeakMap]", Oh = "[object DataView]", s5 = Nr(Cl), i5 = Nr(Pa), l5 = Nr(Pl), c5 = Nr(Al), u5 = Nr(Tl), ir = Dr;
|
|
27503
27531
|
(Cl && ir(new Cl(new ArrayBuffer(1))) != Oh || Pa && ir(new Pa()) != bh || Pl && ir(Pl.resolve()) != vh || Al && ir(new Al()) != xh || Tl && ir(new Tl()) != Sh) && (ir = function(e) {
|
|
27504
27532
|
var t = Dr(e), r = t == o5 ? e.constructor : void 0, n = r ? Nr(r) : "";
|
|
27505
27533
|
if (n)
|
|
@@ -27519,7 +27547,7 @@ var Cl = Fr(Lt, "DataView"), Pl = Fr(Lt, "Promise"), Al = Fr(Lt, "Set"), Tl = Fr
|
|
|
27519
27547
|
});
|
|
27520
27548
|
var d5 = 1, wh = "[object Arguments]", Ch = "[object Array]", mo = "[object Object]", h5 = Object.prototype, Ph = h5.hasOwnProperty;
|
|
27521
27549
|
function p5(e, t, r, n, a, o) {
|
|
27522
|
-
var s =
|
|
27550
|
+
var s = Lt(e), i = Lt(t), l = s ? Ch : ir(e), c = i ? Ch : ir(t);
|
|
27523
27551
|
l = l == wh ? mo : l, c = c == wh ? mo : c;
|
|
27524
27552
|
var u = l == mo, d = c == mo, h = l == c;
|
|
27525
27553
|
if (h && wl(e)) {
|
|
@@ -27698,7 +27726,7 @@ function R5(e) {
|
|
|
27698
27726
|
}
|
|
27699
27727
|
var V5 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, _5 = /^\w*$/;
|
|
27700
27728
|
function Ac(e, t) {
|
|
27701
|
-
if (
|
|
27729
|
+
if (Lt(e))
|
|
27702
27730
|
return !1;
|
|
27703
27731
|
var r = typeof e;
|
|
27704
27732
|
return r == "number" || r == "symbol" || r == "boolean" || e == null || Ls(e) ? !0 : _5.test(e) || !V5.test(e) || t != null && e in Object(t);
|
|
@@ -27739,7 +27767,7 @@ var Th = pr ? pr.prototype : void 0, Rh = Th ? Th.toString : void 0;
|
|
|
27739
27767
|
function Ff(e) {
|
|
27740
27768
|
if (typeof e == "string")
|
|
27741
27769
|
return e;
|
|
27742
|
-
if (
|
|
27770
|
+
if (Lt(e))
|
|
27743
27771
|
return U5(e, Ff) + "";
|
|
27744
27772
|
if (Ls(e))
|
|
27745
27773
|
return Rh ? Rh.call(e) : "";
|
|
@@ -27750,7 +27778,7 @@ function zf(e) {
|
|
|
27750
27778
|
return e == null ? "" : Ff(e);
|
|
27751
27779
|
}
|
|
27752
27780
|
function Gf(e, t) {
|
|
27753
|
-
return
|
|
27781
|
+
return Lt(e) ? e : Ac(e, t) ? [e] : k5(zf(e));
|
|
27754
27782
|
}
|
|
27755
27783
|
function Qs(e) {
|
|
27756
27784
|
if (typeof e == "string" || Ls(e))
|
|
@@ -27779,7 +27807,7 @@ function B5(e, t, r) {
|
|
|
27779
27807
|
break;
|
|
27780
27808
|
e = e[s];
|
|
27781
27809
|
}
|
|
27782
|
-
return o || ++n != a ? o : (a = e == null ? 0 : e.length, !!a && Cc(a) && jf(s, a) && (
|
|
27810
|
+
return o || ++n != a ? o : (a = e == null ? 0 : e.length, !!a && Cc(a) && jf(s, a) && (Lt(e) || Mf(e)));
|
|
27783
27811
|
}
|
|
27784
27812
|
function N5(e, t) {
|
|
27785
27813
|
return e != null && B5(e, t, D5);
|
|
@@ -27808,11 +27836,11 @@ function W5(e) {
|
|
|
27808
27836
|
return Ac(e) ? q5(Qs(e)) : J5(e);
|
|
27809
27837
|
}
|
|
27810
27838
|
function Y5(e) {
|
|
27811
|
-
return typeof e == "function" ? e : e == null ? H5 : typeof e == "object" ?
|
|
27839
|
+
return typeof e == "function" ? e : e == null ? H5 : typeof e == "object" ? Lt(e) ? G5(e[0], e[1]) : R5(e) : W5(e);
|
|
27812
27840
|
}
|
|
27813
27841
|
function K5(e, t) {
|
|
27814
27842
|
return function(r, n) {
|
|
27815
|
-
var a =
|
|
27843
|
+
var a = Lt(r) ? y5 : w5, o = {};
|
|
27816
27844
|
return a(r, e, Y5(n), o);
|
|
27817
27845
|
};
|
|
27818
27846
|
}
|
|
@@ -28106,7 +28134,7 @@ const t3 = Ge(({ store: e }) => {
|
|
|
28106
28134
|
"increment"
|
|
28107
28135
|
)
|
|
28108
28136
|
), /* @__PURE__ */ x.jsx(
|
|
28109
|
-
|
|
28137
|
+
It,
|
|
28110
28138
|
{
|
|
28111
28139
|
component: "div",
|
|
28112
28140
|
sx: {
|
|
@@ -28117,7 +28145,7 @@ const t3 = Ge(({ store: e }) => {
|
|
|
28117
28145
|
"& label": { opacity: 0.7, fontSize: "12px", marginBottom: "4px" }
|
|
28118
28146
|
},
|
|
28119
28147
|
children: r.map((o, s) => /* @__PURE__ */ x.jsx(
|
|
28120
|
-
|
|
28148
|
+
It,
|
|
28121
28149
|
{
|
|
28122
28150
|
sx: {
|
|
28123
28151
|
gridColumn: r.length % 2 === 1 && s === r.length - 1 ? "span 2" : "auto"
|
|
@@ -28193,7 +28221,7 @@ function o3(e) {
|
|
|
28193
28221
|
className: o
|
|
28194
28222
|
} = e;
|
|
28195
28223
|
if (!t) {
|
|
28196
|
-
const p =
|
|
28224
|
+
const p = kt(r == null ? void 0 : r.className, o, a == null ? void 0 : a.className, n == null ? void 0 : n.className), f = {
|
|
28197
28225
|
...r == null ? void 0 : r.style,
|
|
28198
28226
|
...a == null ? void 0 : a.style,
|
|
28199
28227
|
...n == null ? void 0 : n.style
|
|
@@ -28210,7 +28238,7 @@ function o3(e) {
|
|
|
28210
28238
|
const s = _o({
|
|
28211
28239
|
...a,
|
|
28212
28240
|
...n
|
|
28213
|
-
}), i = _h(n), l = _h(a), c = t(s), u =
|
|
28241
|
+
}), i = _h(n), l = _h(a), c = t(s), u = kt(c == null ? void 0 : c.className, r == null ? void 0 : r.className, o, a == null ? void 0 : a.className, n == null ? void 0 : n.className), d = {
|
|
28214
28242
|
...c == null ? void 0 : c.style,
|
|
28215
28243
|
...r == null ? void 0 : r.style,
|
|
28216
28244
|
...a == null ? void 0 : a.style,
|
|
@@ -28396,40 +28424,40 @@ function f3(e) {
|
|
|
28396
28424
|
step: m = 1,
|
|
28397
28425
|
shiftStep: b = 10,
|
|
28398
28426
|
tabIndex: S,
|
|
28399
|
-
value:
|
|
28400
|
-
} = e, O = B.useRef(void 0), [C, P] = B.useState(-1), [w, T] = B.useState(-1), [E, F] = B.useState(!1), y = B.useRef(0), A = B.useRef(null), [z,
|
|
28401
|
-
controlled:
|
|
28427
|
+
value: V
|
|
28428
|
+
} = e, O = B.useRef(void 0), [C, P] = B.useState(-1), [w, T] = B.useState(-1), [E, F] = B.useState(!1), y = B.useRef(0), A = B.useRef(null), [z, _] = IC({
|
|
28429
|
+
controlled: V,
|
|
28402
28430
|
default: r ?? l,
|
|
28403
28431
|
name: "Slider"
|
|
28404
|
-
}), N = u && ((Y,
|
|
28432
|
+
}), N = u && ((Y, te, ae) => {
|
|
28405
28433
|
const pe = Y.nativeEvent || Y, xe = new pe.constructor(pe.type, pe);
|
|
28406
28434
|
Object.defineProperty(xe, "target", {
|
|
28407
28435
|
writable: !0,
|
|
28408
28436
|
value: {
|
|
28409
|
-
value:
|
|
28437
|
+
value: te,
|
|
28410
28438
|
name: c
|
|
28411
28439
|
}
|
|
28412
|
-
}), A.current =
|
|
28413
|
-
}),
|
|
28414
|
-
let X =
|
|
28440
|
+
}), A.current = te, u(xe, te, ae);
|
|
28441
|
+
}), Z = Array.isArray(z);
|
|
28442
|
+
let X = Z ? z.slice().sort(qf) : [z];
|
|
28415
28443
|
X = X.map((Y) => Y == null ? l : on(Y, l, i));
|
|
28416
|
-
const re = s === !0 && m !== null ? [...Array(Math.floor((i - l) / m) + 1)].map((Y,
|
|
28417
|
-
value: l + m *
|
|
28418
|
-
})) : s || [],
|
|
28444
|
+
const re = s === !0 && m !== null ? [...Array(Math.floor((i - l) / m) + 1)].map((Y, te) => ({
|
|
28445
|
+
value: l + m * te
|
|
28446
|
+
})) : s || [], ee = re.map((Y) => Y.value), [se, q] = B.useState(-1), Q = B.useRef(null), ue = $m(p, Q), we = (Y) => (te) => {
|
|
28419
28447
|
var pe;
|
|
28420
|
-
const ae = Number(
|
|
28421
|
-
Eh(
|
|
28422
|
-
}, Be = (Y) => (
|
|
28448
|
+
const ae = Number(te.currentTarget.getAttribute("data-index"));
|
|
28449
|
+
Eh(te.target) && q(ae), T(ae), (pe = Y == null ? void 0 : Y.onFocus) == null || pe.call(Y, te);
|
|
28450
|
+
}, Be = (Y) => (te) => {
|
|
28423
28451
|
var ae;
|
|
28424
|
-
Eh(
|
|
28425
|
-
}, ve = (Y,
|
|
28426
|
-
const ae = Number(Y.currentTarget.getAttribute("data-index")), pe = X[ae], xe =
|
|
28427
|
-
let oe =
|
|
28452
|
+
Eh(te.target) || q(-1), T(-1), (ae = Y == null ? void 0 : Y.onBlur) == null || ae.call(Y, te);
|
|
28453
|
+
}, ve = (Y, te) => {
|
|
28454
|
+
const ae = Number(Y.currentTarget.getAttribute("data-index")), pe = X[ae], xe = ee.indexOf(pe);
|
|
28455
|
+
let oe = te;
|
|
28428
28456
|
if (re && m == null) {
|
|
28429
|
-
const Fe =
|
|
28430
|
-
oe >= Fe ? oe = Fe : oe <=
|
|
28457
|
+
const Fe = ee[ee.length - 1];
|
|
28458
|
+
oe >= Fe ? oe = Fe : oe <= ee[0] ? oe = ee[0] : oe = oe < pe ? ee[xe - 1] : ee[xe + 1];
|
|
28431
28459
|
}
|
|
28432
|
-
if (oe = on(oe, l, i),
|
|
28460
|
+
if (oe = on(oe, l, i), Z) {
|
|
28433
28461
|
a && (oe = on(oe, X[ae - 1] || -1 / 0, X[ae + 1] || 1 / 0));
|
|
28434
28462
|
const Fe = oe;
|
|
28435
28463
|
oe = Mh({
|
|
@@ -28443,16 +28471,16 @@ function f3(e) {
|
|
|
28443
28471
|
activeIndex: Qe
|
|
28444
28472
|
});
|
|
28445
28473
|
}
|
|
28446
|
-
|
|
28447
|
-
}, it = (Y) => (
|
|
28474
|
+
_(oe), q(ae), N && !vo(oe, z) && N(Y, oe, ae), d && d(Y, A.current ?? oe);
|
|
28475
|
+
}, it = (Y) => (te) => {
|
|
28448
28476
|
var ae;
|
|
28449
|
-
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(
|
|
28450
|
-
|
|
28451
|
-
const pe = Number(
|
|
28477
|
+
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(te.key)) {
|
|
28478
|
+
te.preventDefault();
|
|
28479
|
+
const pe = Number(te.currentTarget.getAttribute("data-index")), xe = X[pe];
|
|
28452
28480
|
let oe = null;
|
|
28453
28481
|
if (m != null) {
|
|
28454
|
-
const Fe =
|
|
28455
|
-
switch (
|
|
28482
|
+
const Fe = te.shiftKey ? b : m;
|
|
28483
|
+
switch (te.key) {
|
|
28456
28484
|
case "ArrowUp":
|
|
28457
28485
|
oe = an(xe, Fe, 1, l, i);
|
|
28458
28486
|
break;
|
|
@@ -28479,26 +28507,26 @@ function f3(e) {
|
|
|
28479
28507
|
break;
|
|
28480
28508
|
}
|
|
28481
28509
|
} else if (re) {
|
|
28482
|
-
const Fe =
|
|
28483
|
-
Ue.includes(
|
|
28510
|
+
const Fe = ee[ee.length - 1], Qe = ee.indexOf(xe), Ue = [o ? "ArrowRight" : "ArrowLeft", "ArrowDown", "PageDown", "Home"], mt = [o ? "ArrowLeft" : "ArrowRight", "ArrowUp", "PageUp", "End"];
|
|
28511
|
+
Ue.includes(te.key) ? Qe === 0 ? oe = ee[0] : oe = ee[Qe - 1] : mt.includes(te.key) && (Qe === ee.length - 1 ? oe = Fe : oe = ee[Qe + 1]);
|
|
28484
28512
|
}
|
|
28485
|
-
oe != null && ve(
|
|
28513
|
+
oe != null && ve(te, oe);
|
|
28486
28514
|
}
|
|
28487
|
-
(ae = Y == null ? void 0 : Y.onKeyDown) == null || ae.call(Y,
|
|
28515
|
+
(ae = Y == null ? void 0 : Y.onKeyDown) == null || ae.call(Y, te);
|
|
28488
28516
|
};
|
|
28489
28517
|
tp(() => {
|
|
28490
28518
|
var Y;
|
|
28491
28519
|
n && Q.current.contains(document.activeElement) && ((Y = document.activeElement) == null || Y.blur());
|
|
28492
28520
|
}, [n]), n && C !== -1 && P(-1), n && se !== -1 && q(-1);
|
|
28493
|
-
const tt = (Y) => (
|
|
28521
|
+
const tt = (Y) => (te) => {
|
|
28494
28522
|
var ae;
|
|
28495
|
-
(ae = Y.onChange) == null || ae.call(Y,
|
|
28523
|
+
(ae = Y.onChange) == null || ae.call(Y, te), ve(te, te.target.valueAsNumber);
|
|
28496
28524
|
}, fe = B.useRef(void 0);
|
|
28497
28525
|
let K = h;
|
|
28498
28526
|
o && h === "horizontal" && (K += "-reverse");
|
|
28499
28527
|
const ne = ({
|
|
28500
28528
|
finger: Y,
|
|
28501
|
-
move:
|
|
28529
|
+
move: te = !1
|
|
28502
28530
|
}) => {
|
|
28503
28531
|
const {
|
|
28504
28532
|
current: ae
|
|
@@ -28514,27 +28542,27 @@ function f3(e) {
|
|
|
28514
28542
|
if (Ue = u3(Qe, l, i), m)
|
|
28515
28543
|
Ue = h3(Ue, m, l);
|
|
28516
28544
|
else {
|
|
28517
|
-
const kn = Ih(
|
|
28518
|
-
Ue =
|
|
28545
|
+
const kn = Ih(ee, Ue);
|
|
28546
|
+
Ue = ee[kn];
|
|
28519
28547
|
}
|
|
28520
28548
|
Ue = on(Ue, l, i);
|
|
28521
28549
|
let mt = 0;
|
|
28522
|
-
if (
|
|
28523
|
-
|
|
28550
|
+
if (Z) {
|
|
28551
|
+
te ? mt = fe.current : mt = Ih(X, Ue), a && (Ue = on(Ue, X[mt - 1] || -1 / 0, X[mt + 1] || 1 / 0));
|
|
28524
28552
|
const kn = Ue;
|
|
28525
28553
|
Ue = Mh({
|
|
28526
28554
|
values: X,
|
|
28527
28555
|
newValue: Ue,
|
|
28528
28556
|
index: mt
|
|
28529
|
-
}), a &&
|
|
28557
|
+
}), a && te || (mt = Ue.indexOf(kn), fe.current = mt);
|
|
28530
28558
|
}
|
|
28531
28559
|
return {
|
|
28532
28560
|
newValue: Ue,
|
|
28533
28561
|
activeIndex: mt
|
|
28534
28562
|
};
|
|
28535
28563
|
}, ie = Ti((Y) => {
|
|
28536
|
-
const
|
|
28537
|
-
if (!
|
|
28564
|
+
const te = yo(Y, O);
|
|
28565
|
+
if (!te)
|
|
28538
28566
|
return;
|
|
28539
28567
|
if (y.current += 1, Y.type === "mousemove" && Y.buttons === 0) {
|
|
28540
28568
|
J(Y);
|
|
@@ -28544,22 +28572,22 @@ function f3(e) {
|
|
|
28544
28572
|
newValue: ae,
|
|
28545
28573
|
activeIndex: pe
|
|
28546
28574
|
} = ne({
|
|
28547
|
-
finger:
|
|
28575
|
+
finger: te,
|
|
28548
28576
|
move: !0
|
|
28549
28577
|
});
|
|
28550
28578
|
bo({
|
|
28551
28579
|
sliderRef: Q,
|
|
28552
28580
|
activeIndex: pe,
|
|
28553
28581
|
setActive: P
|
|
28554
|
-
}),
|
|
28582
|
+
}), _(ae), !E && y.current > c3 && F(!0), N && !vo(ae, z) && N(Y, ae, pe);
|
|
28555
28583
|
}), J = Ti((Y) => {
|
|
28556
|
-
const
|
|
28557
|
-
if (F(!1), !
|
|
28584
|
+
const te = yo(Y, O);
|
|
28585
|
+
if (F(!1), !te)
|
|
28558
28586
|
return;
|
|
28559
28587
|
const {
|
|
28560
28588
|
newValue: ae
|
|
28561
28589
|
} = ne({
|
|
28562
|
-
finger:
|
|
28590
|
+
finger: te,
|
|
28563
28591
|
move: !0
|
|
28564
28592
|
});
|
|
28565
28593
|
P(-1), Y.type === "touchend" && T(-1), d && d(Y, A.current ?? ae), O.current = void 0, he();
|
|
@@ -28567,8 +28595,8 @@ function f3(e) {
|
|
|
28567
28595
|
if (n)
|
|
28568
28596
|
return;
|
|
28569
28597
|
$h() || Y.preventDefault();
|
|
28570
|
-
const
|
|
28571
|
-
|
|
28598
|
+
const te = Y.changedTouches[0];
|
|
28599
|
+
te != null && (O.current = te.identifier);
|
|
28572
28600
|
const ae = yo(Y, O);
|
|
28573
28601
|
if (ae !== !1) {
|
|
28574
28602
|
const {
|
|
@@ -28581,7 +28609,7 @@ function f3(e) {
|
|
|
28581
28609
|
sliderRef: Q,
|
|
28582
28610
|
activeIndex: oe,
|
|
28583
28611
|
setActive: P
|
|
28584
|
-
}),
|
|
28612
|
+
}), _(xe), N && !vo(xe, z) && N(Y, xe, oe);
|
|
28585
28613
|
}
|
|
28586
28614
|
y.current = 0;
|
|
28587
28615
|
const pe = Ao(Q.current);
|
|
@@ -28606,12 +28634,12 @@ function f3(e) {
|
|
|
28606
28634
|
}, [he, ge]), B.useEffect(() => {
|
|
28607
28635
|
n && he();
|
|
28608
28636
|
}, [n, he]);
|
|
28609
|
-
const qe = (Y) => (
|
|
28637
|
+
const qe = (Y) => (te) => {
|
|
28610
28638
|
var xe;
|
|
28611
|
-
if ((xe = Y.onMouseDown) == null || xe.call(Y,
|
|
28639
|
+
if ((xe = Y.onMouseDown) == null || xe.call(Y, te), n || te.defaultPrevented || te.button !== 0)
|
|
28612
28640
|
return;
|
|
28613
|
-
|
|
28614
|
-
const ae = yo(
|
|
28641
|
+
te.preventDefault();
|
|
28642
|
+
const ae = yo(te, O);
|
|
28615
28643
|
if (ae !== !1) {
|
|
28616
28644
|
const {
|
|
28617
28645
|
newValue: oe,
|
|
@@ -28623,18 +28651,18 @@ function f3(e) {
|
|
|
28623
28651
|
sliderRef: Q,
|
|
28624
28652
|
activeIndex: Fe,
|
|
28625
28653
|
setActive: P
|
|
28626
|
-
}),
|
|
28654
|
+
}), _(oe), N && !vo(oe, z) && N(te, oe, Fe);
|
|
28627
28655
|
}
|
|
28628
28656
|
y.current = 0;
|
|
28629
28657
|
const pe = Ao(Q.current);
|
|
28630
28658
|
pe.addEventListener("mousemove", ie, {
|
|
28631
28659
|
passive: !0
|
|
28632
28660
|
}), pe.addEventListener("mouseup", J);
|
|
28633
|
-
}, Ne = ss(
|
|
28634
|
-
const
|
|
28635
|
-
onMouseDown: qe(
|
|
28661
|
+
}, Ne = ss(Z ? X[0] : l, l, i), _e = ss(X[X.length - 1], l, i) - Ne, rr = (Y = {}) => {
|
|
28662
|
+
const te = _o(Y), ae = {
|
|
28663
|
+
onMouseDown: qe(te || {})
|
|
28636
28664
|
}, pe = {
|
|
28637
|
-
...
|
|
28665
|
+
...te,
|
|
28638
28666
|
...ae
|
|
28639
28667
|
};
|
|
28640
28668
|
return {
|
|
@@ -28642,22 +28670,22 @@ function f3(e) {
|
|
|
28642
28670
|
ref: ue,
|
|
28643
28671
|
...pe
|
|
28644
28672
|
};
|
|
28645
|
-
}, Ba = (Y) => (
|
|
28673
|
+
}, Ba = (Y) => (te) => {
|
|
28646
28674
|
var pe;
|
|
28647
|
-
(pe = Y.onMouseOver) == null || pe.call(Y,
|
|
28648
|
-
const ae = Number(
|
|
28675
|
+
(pe = Y.onMouseOver) == null || pe.call(Y, te);
|
|
28676
|
+
const ae = Number(te.currentTarget.getAttribute("data-index"));
|
|
28649
28677
|
T(ae);
|
|
28650
|
-
}, Na = (Y) => (
|
|
28678
|
+
}, Na = (Y) => (te) => {
|
|
28651
28679
|
var ae;
|
|
28652
|
-
(ae = Y.onMouseLeave) == null || ae.call(Y,
|
|
28680
|
+
(ae = Y.onMouseLeave) == null || ae.call(Y, te), T(-1);
|
|
28653
28681
|
}, Fa = (Y = {}) => {
|
|
28654
|
-
const
|
|
28655
|
-
onMouseOver: Ba(
|
|
28656
|
-
onMouseLeave: Na(
|
|
28682
|
+
const te = _o(Y), ae = {
|
|
28683
|
+
onMouseOver: Ba(te || {}),
|
|
28684
|
+
onMouseLeave: Na(te || {})
|
|
28657
28685
|
};
|
|
28658
28686
|
return {
|
|
28659
28687
|
...Y,
|
|
28660
|
-
...
|
|
28688
|
+
...te,
|
|
28661
28689
|
...ae
|
|
28662
28690
|
};
|
|
28663
28691
|
}, za = (Y) => ({
|
|
@@ -28672,13 +28700,13 @@ function f3(e) {
|
|
|
28672
28700
|
dragging: E,
|
|
28673
28701
|
focusedThumbIndex: se,
|
|
28674
28702
|
getHiddenInputProps: (Y = {}) => {
|
|
28675
|
-
const
|
|
28676
|
-
onChange: tt(
|
|
28677
|
-
onFocus: we(
|
|
28678
|
-
onBlur: Be(
|
|
28679
|
-
onKeyDown: it(
|
|
28703
|
+
const te = _o(Y), ae = {
|
|
28704
|
+
onChange: tt(te || {}),
|
|
28705
|
+
onFocus: we(te || {}),
|
|
28706
|
+
onBlur: Be(te || {}),
|
|
28707
|
+
onKeyDown: it(te || {})
|
|
28680
28708
|
}, pe = {
|
|
28681
|
-
...
|
|
28709
|
+
...te,
|
|
28682
28710
|
...ae
|
|
28683
28711
|
};
|
|
28684
28712
|
return {
|
|
@@ -28709,7 +28737,7 @@ function f3(e) {
|
|
|
28709
28737
|
getThumbProps: Fa,
|
|
28710
28738
|
marks: re,
|
|
28711
28739
|
open: w,
|
|
28712
|
-
range:
|
|
28740
|
+
range: Z,
|
|
28713
28741
|
rootRef: ue,
|
|
28714
28742
|
trackLeap: _e,
|
|
28715
28743
|
trackOffset: Ne,
|
|
@@ -28743,7 +28771,7 @@ const vt = Wh("MuiSlider", ["root", "active", "colorPrimary", "colorSecondary",
|
|
|
28743
28771
|
open: t
|
|
28744
28772
|
} = e;
|
|
28745
28773
|
return {
|
|
28746
|
-
offset:
|
|
28774
|
+
offset: kt(t && vt.valueLabelOpen),
|
|
28747
28775
|
circle: vt.valueLabelCircle,
|
|
28748
28776
|
label: vt.valueLabelLabel
|
|
28749
28777
|
};
|
|
@@ -28758,7 +28786,7 @@ function Jf(e) {
|
|
|
28758
28786
|
className: t.props.className
|
|
28759
28787
|
}, /* @__PURE__ */ x.jsxs(B.Fragment, {
|
|
28760
28788
|
children: [t.props.children, /* @__PURE__ */ x.jsx("span", {
|
|
28761
|
-
className:
|
|
28789
|
+
className: kt(a.offset, r),
|
|
28762
28790
|
"aria-hidden": !0,
|
|
28763
28791
|
children: /* @__PURE__ */ x.jsx("span", {
|
|
28764
28792
|
className: a.circle,
|
|
@@ -29318,7 +29346,7 @@ const P3 = pt("span", {
|
|
|
29318
29346
|
disabled: m = !1,
|
|
29319
29347
|
getAriaLabel: b,
|
|
29320
29348
|
getAriaValueText: S,
|
|
29321
|
-
marks:
|
|
29349
|
+
marks: V = !1,
|
|
29322
29350
|
max: O = 100,
|
|
29323
29351
|
min: C = 0,
|
|
29324
29352
|
name: P,
|
|
@@ -29329,12 +29357,12 @@ const P3 = pt("span", {
|
|
|
29329
29357
|
size: y = "medium",
|
|
29330
29358
|
step: A = 1,
|
|
29331
29359
|
scale: z = jh,
|
|
29332
|
-
slotProps:
|
|
29360
|
+
slotProps: _,
|
|
29333
29361
|
slots: N,
|
|
29334
|
-
tabIndex:
|
|
29362
|
+
tabIndex: Z,
|
|
29335
29363
|
track: X = "normal",
|
|
29336
29364
|
value: re,
|
|
29337
|
-
valueLabelDisplay:
|
|
29365
|
+
valueLabelDisplay: ee = "off",
|
|
29338
29366
|
valueLabelFormat: se = jh,
|
|
29339
29367
|
...q
|
|
29340
29368
|
} = n, Q = {
|
|
@@ -29346,14 +29374,14 @@ const P3 = pt("span", {
|
|
|
29346
29374
|
disabled: m,
|
|
29347
29375
|
disableSwap: f,
|
|
29348
29376
|
orientation: E,
|
|
29349
|
-
marks:
|
|
29377
|
+
marks: V,
|
|
29350
29378
|
color: d,
|
|
29351
29379
|
size: y,
|
|
29352
29380
|
step: A,
|
|
29353
29381
|
shiftStep: F,
|
|
29354
29382
|
scale: z,
|
|
29355
29383
|
track: X,
|
|
29356
|
-
valueLabelDisplay:
|
|
29384
|
+
valueLabelDisplay: ee,
|
|
29357
29385
|
valueLabelFormat: se
|
|
29358
29386
|
}, {
|
|
29359
29387
|
axisProps: ue,
|
|
@@ -29376,10 +29404,10 @@ const P3 = pt("span", {
|
|
|
29376
29404
|
rootRef: r
|
|
29377
29405
|
});
|
|
29378
29406
|
Q.marked = J.length > 0 && J.some((je) => je.label), Q.dragging = ie, Q.focusedThumbIndex = K;
|
|
29379
|
-
const _e = T3(Q), rr = (N == null ? void 0 : N.root) ?? c.Root ?? S3, Ba = (N == null ? void 0 : N.rail) ?? c.Rail ?? O3, Na = (N == null ? void 0 : N.track) ?? c.Track ?? w3, Fa = (N == null ? void 0 : N.thumb) ?? c.Thumb ?? C3, za = (N == null ? void 0 : N.valueLabel) ?? c.ValueLabel ?? Wf, zr = (N == null ? void 0 : N.mark) ?? c.Mark ?? P3, Ga = (N == null ? void 0 : N.markLabel) ?? c.MarkLabel ?? A3, Y = (N == null ? void 0 : N.input) ?? c.Input ?? "input",
|
|
29407
|
+
const _e = T3(Q), rr = (N == null ? void 0 : N.root) ?? c.Root ?? S3, Ba = (N == null ? void 0 : N.rail) ?? c.Rail ?? O3, Na = (N == null ? void 0 : N.track) ?? c.Track ?? w3, Fa = (N == null ? void 0 : N.thumb) ?? c.Thumb ?? C3, za = (N == null ? void 0 : N.valueLabel) ?? c.ValueLabel ?? Wf, zr = (N == null ? void 0 : N.mark) ?? c.Mark ?? P3, Ga = (N == null ? void 0 : N.markLabel) ?? c.MarkLabel ?? A3, Y = (N == null ? void 0 : N.input) ?? c.Input ?? "input", te = (_ == null ? void 0 : _.root) ?? u.root, ae = (_ == null ? void 0 : _.rail) ?? u.rail, pe = (_ == null ? void 0 : _.track) ?? u.track, xe = (_ == null ? void 0 : _.thumb) ?? u.thumb, oe = (_ == null ? void 0 : _.valueLabel) ?? u.valueLabel, Fe = (_ == null ? void 0 : _.mark) ?? u.mark, Qe = (_ == null ? void 0 : _.markLabel) ?? u.markLabel, Ue = (_ == null ? void 0 : _.input) ?? u.input, mt = sr({
|
|
29380
29408
|
elementType: rr,
|
|
29381
29409
|
getSlotProps: we,
|
|
29382
|
-
externalSlotProps:
|
|
29410
|
+
externalSlotProps: te,
|
|
29383
29411
|
externalForwardedProps: q,
|
|
29384
29412
|
additionalProps: {
|
|
29385
29413
|
...g3(rr) && {
|
|
@@ -29388,7 +29416,7 @@ const P3 = pt("span", {
|
|
|
29388
29416
|
},
|
|
29389
29417
|
ownerState: {
|
|
29390
29418
|
...Q,
|
|
29391
|
-
...
|
|
29419
|
+
...te == null ? void 0 : te.ownerState
|
|
29392
29420
|
},
|
|
29393
29421
|
className: [_e.root, p]
|
|
29394
29422
|
}), kn = sr({
|
|
@@ -29451,52 +29479,52 @@ const P3 = pt("span", {
|
|
|
29451
29479
|
...ag
|
|
29452
29480
|
}), J.filter((je) => je.value >= C && je.value <= O).map((je, Je) => {
|
|
29453
29481
|
const ti = ss(je.value, C, O), Ha = ue[fe].offset(ti);
|
|
29454
|
-
let
|
|
29455
|
-
return X === !1 ?
|
|
29482
|
+
let Bt;
|
|
29483
|
+
return X === !1 ? Bt = ge.includes(je.value) : Bt = X === "normal" && (ne ? je.value >= ge[0] && je.value <= ge[ge.length - 1] : je.value <= ge[0]) || X === "inverted" && (ne ? je.value <= ge[0] || je.value >= ge[ge.length - 1] : je.value >= ge[0]), /* @__PURE__ */ x.jsxs(B.Fragment, {
|
|
29456
29484
|
children: [/* @__PURE__ */ x.jsx(zr, {
|
|
29457
29485
|
"data-index": Je,
|
|
29458
29486
|
...Zs,
|
|
29459
29487
|
...!Eo(zr) && {
|
|
29460
|
-
markActive:
|
|
29488
|
+
markActive: Bt
|
|
29461
29489
|
},
|
|
29462
29490
|
style: {
|
|
29463
29491
|
...Ha,
|
|
29464
29492
|
...Zs.style
|
|
29465
29493
|
},
|
|
29466
|
-
className:
|
|
29494
|
+
className: kt(Zs.className, Bt && _e.markActive)
|
|
29467
29495
|
}), je.label != null ? /* @__PURE__ */ x.jsx(Ga, {
|
|
29468
29496
|
"aria-hidden": !0,
|
|
29469
29497
|
"data-index": Je,
|
|
29470
29498
|
...ei,
|
|
29471
29499
|
...!Eo(Ga) && {
|
|
29472
|
-
markLabelActive:
|
|
29500
|
+
markLabelActive: Bt
|
|
29473
29501
|
},
|
|
29474
29502
|
style: {
|
|
29475
29503
|
...Ha,
|
|
29476
29504
|
...ei.style
|
|
29477
29505
|
},
|
|
29478
|
-
className:
|
|
29506
|
+
className: kt(_e.markLabel, ei.className, Bt && _e.markLabelActive),
|
|
29479
29507
|
children: je.label
|
|
29480
29508
|
}) : null]
|
|
29481
29509
|
}, Je);
|
|
29482
29510
|
}), ge.map((je, Je) => {
|
|
29483
|
-
const ti = ss(je, C, O), Ha = ue[fe].offset(ti),
|
|
29511
|
+
const ti = ss(je, C, O), Ha = ue[fe].offset(ti), Bt = ee === "off" ? R3 : za;
|
|
29484
29512
|
return (
|
|
29485
29513
|
/* 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. */
|
|
29486
|
-
/* @__PURE__ */ x.jsx(
|
|
29487
|
-
...!Eo(
|
|
29514
|
+
/* @__PURE__ */ x.jsx(Bt, {
|
|
29515
|
+
...!Eo(Bt) && {
|
|
29488
29516
|
valueLabelFormat: se,
|
|
29489
|
-
valueLabelDisplay:
|
|
29517
|
+
valueLabelDisplay: ee,
|
|
29490
29518
|
value: typeof se == "function" ? se(z(je), Je) : se,
|
|
29491
29519
|
index: Je,
|
|
29492
|
-
open: it === Je || tt === Je ||
|
|
29520
|
+
open: it === Je || tt === Je || ee === "on",
|
|
29493
29521
|
disabled: m
|
|
29494
29522
|
},
|
|
29495
29523
|
...og,
|
|
29496
29524
|
children: /* @__PURE__ */ x.jsx(Fa, {
|
|
29497
29525
|
"data-index": Je,
|
|
29498
29526
|
...Xs,
|
|
29499
|
-
className:
|
|
29527
|
+
className: kt(_e.thumb, Xs.className, tt === Je && _e.active, K === Je && _e.focusVisible),
|
|
29500
29528
|
style: {
|
|
29501
29529
|
...Ha,
|
|
29502
29530
|
...Ne(Je),
|
|
@@ -29956,8 +29984,8 @@ const Qf = Ge(
|
|
|
29956
29984
|
e.isLocked || e.activeDiscreteIncrement || await e.deactivate();
|
|
29957
29985
|
}
|
|
29958
29986
|
function l(h, p, f) {
|
|
29959
|
-
var b, S,
|
|
29960
|
-
const m = (
|
|
29987
|
+
var b, S, V;
|
|
29988
|
+
const m = (V = (S = (b = f.componentsExt) == null ? void 0 : b.JoggingPanel) == null ? void 0 : S.JoggingCartesian) == null ? void 0 : V.Axis;
|
|
29961
29989
|
if (m)
|
|
29962
29990
|
return p === "translate" ? m[h] : m.CustomRotation ?? m[h];
|
|
29963
29991
|
}
|
|
@@ -30508,7 +30536,7 @@ const dj = gr(
|
|
|
30508
30536
|
}
|
|
30509
30537
|
}, h = u();
|
|
30510
30538
|
return /* @__PURE__ */ x.jsx(
|
|
30511
|
-
|
|
30539
|
+
It,
|
|
30512
30540
|
{
|
|
30513
30541
|
className: i,
|
|
30514
30542
|
sx: {
|
|
@@ -30518,7 +30546,7 @@ const dj = gr(
|
|
|
30518
30546
|
gap: 2
|
|
30519
30547
|
},
|
|
30520
30548
|
children: /* @__PURE__ */ x.jsx(
|
|
30521
|
-
|
|
30549
|
+
It,
|
|
30522
30550
|
{
|
|
30523
30551
|
sx: {
|
|
30524
30552
|
display: "flex",
|
|
@@ -30528,7 +30556,7 @@ const dj = gr(
|
|
|
30528
30556
|
alignItems: "center"
|
|
30529
30557
|
},
|
|
30530
30558
|
children: h.map((p, f) => /* @__PURE__ */ x.jsxs(
|
|
30531
|
-
|
|
30559
|
+
It,
|
|
30532
30560
|
{
|
|
30533
30561
|
sx: {
|
|
30534
30562
|
display: "flex",
|
|
@@ -30923,7 +30951,7 @@ const W3 = ({
|
|
|
30923
30951
|
title: e,
|
|
30924
30952
|
titleId: t,
|
|
30925
30953
|
...r
|
|
30926
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, 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("path", { d: "m13.37 9.12 1.69 1.69 2.99-2.99-3.73-3.73-.95-.95-7.66 7.66-.95.95 3.99 3.99v3.44h7.55v-3.55l-4.72-4.72 1.79-1.79Zm-.91-2.99.91-.91 2.6 2.6-.91.91-2.6-2.6Zm-2.25 10.24h3.74l-1.34-1.34-.04-.04h-2.5l-3.25-3.25 4.59-4.59.92.92L9.5 10.9l5.33 5.33v1.48H10.2v-1.35l.01.01ZM2 2v4.99h1.41V3.4h3.58V2H2ZM22.21 2h-4.98v1.41h3.59v3.58h1.4V2h-.01ZM20.81 20.65h-3.58v1.4h4.98v-4.99h-1.4v3.59ZM3.4 17.06H2v4.98h4.99v-1.4H3.4v-3.58Z" })), Q3 = ze(K3),
|
|
30954
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, 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("path", { d: "m13.37 9.12 1.69 1.69 2.99-2.99-3.73-3.73-.95-.95-7.66 7.66-.95.95 3.99 3.99v3.44h7.55v-3.55l-4.72-4.72 1.79-1.79Zm-.91-2.99.91-.91 2.6 2.6-.91.91-2.6-2.6Zm-2.25 10.24h3.74l-1.34-1.34-.04-.04h-2.5l-3.25-3.25 4.59-4.59.92.92L9.5 10.9l5.33 5.33v1.48H10.2v-1.35l.01.01ZM2 2v4.99h1.41V3.4h3.58V2H2ZM22.21 2h-4.98v1.41h3.59v3.58h1.4V2h-.01ZM20.81 20.65h-3.58v1.4h4.98v-4.99h-1.4v3.59ZM3.4 17.06H2v4.98h4.99v-1.4H3.4v-3.58Z" })), Q3 = ze(K3), jt = Ge(
|
|
30927
30955
|
({
|
|
30928
30956
|
id: e,
|
|
30929
30957
|
icon: t,
|
|
@@ -31038,7 +31066,7 @@ const W3 = ({
|
|
|
31038
31066
|
}) => {
|
|
31039
31067
|
const o = et(), { t: s } = St();
|
|
31040
31068
|
return e ? /* @__PURE__ */ x.jsx(
|
|
31041
|
-
|
|
31069
|
+
jt,
|
|
31042
31070
|
{
|
|
31043
31071
|
id: "motion-group-virtual",
|
|
31044
31072
|
icon: Q3,
|
|
@@ -31046,7 +31074,7 @@ const W3 = ({
|
|
|
31046
31074
|
name: s("SafetyBar.ControllerType.Virtual.lb"),
|
|
31047
31075
|
label: a ? null : s("SafetyBar.ControllerType.Virtual.lb"),
|
|
31048
31076
|
explanation: /* @__PURE__ */ x.jsxs(
|
|
31049
|
-
|
|
31077
|
+
Mt,
|
|
31050
31078
|
{
|
|
31051
31079
|
i18nKey: "SafetyBar.MotionGroup.Virtual.Explanation.lb",
|
|
31052
31080
|
values: {
|
|
@@ -31063,7 +31091,7 @@ const W3 = ({
|
|
|
31063
31091
|
transformOrigin: n
|
|
31064
31092
|
}
|
|
31065
31093
|
) : /* @__PURE__ */ x.jsx(
|
|
31066
|
-
|
|
31094
|
+
jt,
|
|
31067
31095
|
{
|
|
31068
31096
|
id: "motion-group-physical",
|
|
31069
31097
|
icon: Y3,
|
|
@@ -31071,7 +31099,7 @@ const W3 = ({
|
|
|
31071
31099
|
name: s("SafetyBar.ControllerType.Physical.lb"),
|
|
31072
31100
|
label: a ? null : s("SafetyBar.ControllerType.Physical.lb"),
|
|
31073
31101
|
explanation: /* @__PURE__ */ x.jsx(
|
|
31074
|
-
|
|
31102
|
+
Mt,
|
|
31075
31103
|
{
|
|
31076
31104
|
i18nKey: "SafetyBar.MotionGroup.Physical.Explanation.lb",
|
|
31077
31105
|
values: {
|
|
@@ -31108,7 +31136,7 @@ const W3 = ({
|
|
|
31108
31136
|
switch (e) {
|
|
31109
31137
|
case "OPERATION_MODE_AUTO":
|
|
31110
31138
|
return /* @__PURE__ */ x.jsx(
|
|
31111
|
-
|
|
31139
|
+
jt,
|
|
31112
31140
|
{
|
|
31113
31141
|
id: "operation-mode-auto",
|
|
31114
31142
|
icon: e$,
|
|
@@ -31116,7 +31144,7 @@ const W3 = ({
|
|
|
31116
31144
|
name: a("SafetyBar.OperationMode.Automatic.ti"),
|
|
31117
31145
|
label: n ? null : a("SafetyBar.OperationMode.Automatic.ti"),
|
|
31118
31146
|
color: o.palette.text.secondary,
|
|
31119
|
-
explanation: /* @__PURE__ */ x.jsx(
|
|
31147
|
+
explanation: /* @__PURE__ */ x.jsx(Mt, { i18nKey: "SafetyBar.OperationMode.Auto.Explanation.lb", children: "The robot controller is in automatic operation mode. Automated movement without manual confirmation is possible in this mode." }),
|
|
31120
31148
|
anchorOrigin: t,
|
|
31121
31149
|
transformOrigin: r
|
|
31122
31150
|
}
|
|
@@ -31125,7 +31153,7 @@ const W3 = ({
|
|
|
31125
31153
|
case "OPERATION_MODE_MANUAL_T1":
|
|
31126
31154
|
case "OPERATION_MODE_MANUAL_T2":
|
|
31127
31155
|
return /* @__PURE__ */ x.jsx(
|
|
31128
|
-
|
|
31156
|
+
jt,
|
|
31129
31157
|
{
|
|
31130
31158
|
id: "operation-mode-manual",
|
|
31131
31159
|
icon: a$,
|
|
@@ -31133,7 +31161,7 @@ const W3 = ({
|
|
|
31133
31161
|
title: a("SafetyBar.OperationMode.ti"),
|
|
31134
31162
|
name: a("SafetyBar.OperationMode.Manual.lb"),
|
|
31135
31163
|
label: n ? null : a("SafetyBar.OperationMode.Manual.lb"),
|
|
31136
|
-
explanation: /* @__PURE__ */ x.jsx(
|
|
31164
|
+
explanation: /* @__PURE__ */ x.jsx(Mt, { i18nKey: "SafetyBar.OperationMode.Manual.Explanation.lb", children: "The robot controller is in manual operation mode. On a physical robot, this generally indicates that an enabling switch must be held for the robot to move successfully." }),
|
|
31137
31165
|
literalValue: e,
|
|
31138
31166
|
anchorOrigin: t,
|
|
31139
31167
|
transformOrigin: r
|
|
@@ -31141,7 +31169,7 @@ const W3 = ({
|
|
|
31141
31169
|
);
|
|
31142
31170
|
default:
|
|
31143
31171
|
return /* @__PURE__ */ x.jsx(
|
|
31144
|
-
|
|
31172
|
+
jt,
|
|
31145
31173
|
{
|
|
31146
31174
|
id: "operation-mode-error",
|
|
31147
31175
|
icon: r$,
|
|
@@ -31149,7 +31177,7 @@ const W3 = ({
|
|
|
31149
31177
|
title: a("SafetyBar.OperationMode.ti"),
|
|
31150
31178
|
name: a("SafetyBar.OperationMode.Error.lb"),
|
|
31151
31179
|
label: n ? null : a("SafetyBar.OperationMode.Error.lb"),
|
|
31152
|
-
explanation: /* @__PURE__ */ x.jsx(
|
|
31180
|
+
explanation: /* @__PURE__ */ x.jsx(Mt, { i18nKey: "SafetyBar.OperationMode.Error.Explanation.lb", children: "The robot controller has entered an unexpected operation mode. Motion group movement may not be possible." }),
|
|
31153
31181
|
literalValue: e,
|
|
31154
31182
|
anchorOrigin: t,
|
|
31155
31183
|
transformOrigin: r
|
|
@@ -31189,7 +31217,7 @@ const W3 = ({
|
|
|
31189
31217
|
// Normal state, robot can move
|
|
31190
31218
|
case "SAFETY_STATE_NORMAL":
|
|
31191
31219
|
return /* @__PURE__ */ x.jsx(
|
|
31192
|
-
|
|
31220
|
+
jt,
|
|
31193
31221
|
{
|
|
31194
31222
|
id: "safety-state-normal",
|
|
31195
31223
|
title: a("SafetyBar.SafetyState.ti"),
|
|
@@ -31197,7 +31225,7 @@ const W3 = ({
|
|
|
31197
31225
|
label: n ? null : a("SafetyBar.SafetyState.Normal.lb"),
|
|
31198
31226
|
icon: p$,
|
|
31199
31227
|
color: o.palette.text.secondary,
|
|
31200
|
-
explanation: /* @__PURE__ */ x.jsx(
|
|
31228
|
+
explanation: /* @__PURE__ */ x.jsx(Mt, { i18nKey: "SafetyBar.SafetyState.Normal.Explanation.lb", children: "The robot controller is in a normal safety state. Movement is not prevented by this state." }),
|
|
31201
31229
|
anchorOrigin: t,
|
|
31202
31230
|
transformOrigin: r
|
|
31203
31231
|
}
|
|
@@ -31206,7 +31234,7 @@ const W3 = ({
|
|
|
31206
31234
|
case "SAFETY_STATE_DEVICE_EMERGENCY_STOP":
|
|
31207
31235
|
case "SAFETY_STATE_ROBOT_EMERGENCY_STOP":
|
|
31208
31236
|
return /* @__PURE__ */ x.jsx(
|
|
31209
|
-
|
|
31237
|
+
jt,
|
|
31210
31238
|
{
|
|
31211
31239
|
id: "safety-state-estop",
|
|
31212
31240
|
title: a("SafetyBar.SafetyState.ti"),
|
|
@@ -31214,7 +31242,7 @@ const W3 = ({
|
|
|
31214
31242
|
label: n ? null : a("SafetyBar.SafetyState.Estop.lb"),
|
|
31215
31243
|
icon: c$,
|
|
31216
31244
|
color: o.palette.error.main,
|
|
31217
|
-
explanation: /* @__PURE__ */ x.jsx(
|
|
31245
|
+
explanation: /* @__PURE__ */ x.jsx(Mt, { i18nKey: "SafetyBar.StopState.Estop.Explanation.lb", children: "An emergency stop of the robot controller has been triggered. Movement of the robot is no longer possible until the estop is released." }),
|
|
31218
31246
|
literalValue: e,
|
|
31219
31247
|
anchorOrigin: t,
|
|
31220
31248
|
transformOrigin: r
|
|
@@ -31227,7 +31255,7 @@ const W3 = ({
|
|
|
31227
31255
|
case "SAFETY_STATE_PROTECTIVE_STOP":
|
|
31228
31256
|
case "SAFETY_STATE_STOP":
|
|
31229
31257
|
return /* @__PURE__ */ x.jsx(
|
|
31230
|
-
|
|
31258
|
+
jt,
|
|
31231
31259
|
{
|
|
31232
31260
|
id: "safety-state-stop",
|
|
31233
31261
|
icon: f$,
|
|
@@ -31235,7 +31263,7 @@ const W3 = ({
|
|
|
31235
31263
|
name: a("SafetyBar.SafetyState.Stop.lb"),
|
|
31236
31264
|
label: n ? null : a("SafetyBar.SafetyState.Stop.lb"),
|
|
31237
31265
|
color: o.palette.warning.main,
|
|
31238
|
-
explanation: /* @__PURE__ */ x.jsx(
|
|
31266
|
+
explanation: /* @__PURE__ */ x.jsx(Mt, { i18nKey: "SafetyBar.SafetyState.Stop.Explanation.lb", children: "The robot controller has entered a stop state. Movement is no longer possible until the stop state is resolved." }),
|
|
31239
31267
|
literalValue: e,
|
|
31240
31268
|
anchorOrigin: t,
|
|
31241
31269
|
transformOrigin: r
|
|
@@ -31249,7 +31277,7 @@ const W3 = ({
|
|
|
31249
31277
|
case "SAFETY_STATE_RECOVERY":
|
|
31250
31278
|
case "SAFETY_STATE_VIOLATION":
|
|
31251
31279
|
return /* @__PURE__ */ x.jsx(
|
|
31252
|
-
|
|
31280
|
+
jt,
|
|
31253
31281
|
{
|
|
31254
31282
|
id: "safety-state-manual-action-required",
|
|
31255
31283
|
icon: d$,
|
|
@@ -31257,7 +31285,7 @@ const W3 = ({
|
|
|
31257
31285
|
title: a("SafetyBar.SafetyState.ti"),
|
|
31258
31286
|
name: a("SafetyBar.SafetyState.ManualActionRequired.lb"),
|
|
31259
31287
|
label: n ? null : a("SafetyBar.SafetyState.ManualActionRequired.lb"),
|
|
31260
|
-
explanation: /* @__PURE__ */ x.jsx(
|
|
31288
|
+
explanation: /* @__PURE__ */ x.jsx(Mt, { i18nKey: "SafetyBar.SafetyState.ManualActionRequired.Explanation.lb", children: "The robot controller has entered a safety state requiring manual action to resolve." }),
|
|
31261
31289
|
literalValue: e,
|
|
31262
31290
|
anchorOrigin: t,
|
|
31263
31291
|
transformOrigin: r
|
|
@@ -31267,7 +31295,7 @@ const W3 = ({
|
|
|
31267
31295
|
case "SAFETY_STATE_UNKNOWN":
|
|
31268
31296
|
case "SAFETY_STATE_FAULT":
|
|
31269
31297
|
return /* @__PURE__ */ x.jsx(
|
|
31270
|
-
|
|
31298
|
+
jt,
|
|
31271
31299
|
{
|
|
31272
31300
|
id: "safety-state-error",
|
|
31273
31301
|
icon: i$,
|
|
@@ -31275,7 +31303,7 @@ const W3 = ({
|
|
|
31275
31303
|
title: a("SafetyBar.SafetyState.ti"),
|
|
31276
31304
|
name: a("SafetyBar.SafetyState.Error.lb"),
|
|
31277
31305
|
label: n ? null : a("SafetyBar.SafetyState.Error.lb"),
|
|
31278
|
-
explanation: /* @__PURE__ */ x.jsx(
|
|
31306
|
+
explanation: /* @__PURE__ */ x.jsx(Mt, { i18nKey: "SafetyBar.SafetyState.Error.Explanation.lb", children: "The robot controller has entered an unexpected safety state." }),
|
|
31279
31307
|
literalValue: e,
|
|
31280
31308
|
anchorOrigin: t,
|
|
31281
31309
|
transformOrigin: r
|