@wandelbots/wandelbots-js-react-components 1.16.0 → 1.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import * as $ from "react";
2
- import Li, { useState as to, useEffect as Lt, lazy as Pu, useRef as Wt, Suspense as $i, useCallback as Ou, forwardRef as Zt } from "react";
3
- import { Stack as ce, CircularProgress as Mu, useTheme as xa, Button as Hr, Typography as gt, IconButton as Ya, Slider as Iu, InputLabel as Jr, Select as Eo, MenuItem as _n, ToggleButtonGroup as Ni, ToggleButton as Bn, Chip as Tu, Paper as Eu, Tabs as ku, Tab as Lu, Dialog as $u, DialogTitle as Nu, DialogContent as Fu, DialogActions as Du } from "@mui/material";
4
- import { initReactI18next as Bu, I18nextProvider as Uu, useTranslation as br } from "react-i18next";
2
+ import Li, { useState as to, useEffect as Lt, lazy as Pu, useRef as Kt, Suspense as $i, useCallback as Ou, forwardRef as Qt } from "react";
3
+ import { Stack as ce, CircularProgress as Mu, useTheme as xa, Button as Hr, Typography as gt, IconButton as Ya, Slider as Iu, InputLabel as Vr, Select as To, MenuItem as _n, ToggleButtonGroup as Ni, ToggleButton as Bn, Chip as Eu, Paper as Tu, Tabs as ku, Tab as Lu, Dialog as $u, DialogTitle as Nu, DialogContent as Fu, DialogActions as Du } from "@mui/material";
4
+ import { initReactI18next as Bu, I18nextProvider as Uu, useTranslation as Nt } from "react-i18next";
5
5
  import Ju from "i18next-browser-languagedetector";
6
6
  import { Globals as Vu, useSpring as zu, animated as b } from "@react-spring/three";
7
- import { useGLTF as pe, Line as Gu, Environment as Wu, Lightformer as Vt } from "@react-three/drei";
7
+ import { useGLTF as pe, Line as Gu, Environment as Wu, Lightformer as zt } from "@react-three/drei";
8
8
  import { useThree as Ku } from "@react-three/fiber";
9
- import { autorun as Fi, reaction as Hu, makeAutoObservable as Xu, runInAction as Vr } from "mobx";
9
+ import { autorun as Fi, reaction as Hu, makeAutoObservable as Xu, runInAction as gr } from "mobx";
10
10
  import * as Re from "three";
11
- import { Matrix4 as kr, Vector3 as Za, Quaternion as qu } from "three";
11
+ import { Matrix4 as Lr, Vector3 as Za, Quaternion as qu } from "three";
12
12
  import { ErrorBoundary as Yu } from "react-error-boundary";
13
13
  import { ConvexGeometry as Zu } from "three-stdlib";
14
14
  import { observer as st, useLocalObservable as wa } from "mobx-react-lite";
@@ -36,7 +36,7 @@ function jt(e) {
36
36
  });
37
37
  }), r;
38
38
  }
39
- var Zo = { exports: {} }, Lr = {};
39
+ var Zo = { exports: {} }, $r = {};
40
40
  /**
41
41
  * @license React
42
42
  * react-jsx-runtime.production.min.js
@@ -48,7 +48,7 @@ var Zo = { exports: {} }, Lr = {};
48
48
  */
49
49
  var Qa;
50
50
  function uc() {
51
- if (Qa) return Lr;
51
+ if (Qa) return $r;
52
52
  Qa = 1;
53
53
  var e = Li, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
54
54
  function i(l, u, c) {
@@ -58,9 +58,9 @@ function uc() {
58
58
  if (l && l.defaultProps) for (d in u = l.defaultProps, u) m[d] === void 0 && (m[d] = u[d]);
59
59
  return { $$typeof: t, type: l, key: h, ref: v, props: m, _owner: o.current };
60
60
  }
61
- return Lr.Fragment = r, Lr.jsx = i, Lr.jsxs = i, Lr;
61
+ return $r.Fragment = r, $r.jsx = i, $r.jsxs = i, $r;
62
62
  }
63
- var $r = {};
63
+ var Nr = {};
64
64
  /**
65
65
  * @license React
66
66
  * react-jsx-runtime.development.js
@@ -83,16 +83,16 @@ function cc() {
83
83
  var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
84
84
  function j(p) {
85
85
  {
86
- for (var w = arguments.length, T = new Array(w > 1 ? w - 1 : 0), L = 1; L < w; L++)
87
- T[L - 1] = arguments[L];
88
- C("error", p, T);
86
+ for (var w = arguments.length, E = new Array(w > 1 ? w - 1 : 0), L = 1; L < w; L++)
87
+ E[L - 1] = arguments[L];
88
+ C("error", p, E);
89
89
  }
90
90
  }
91
- function C(p, w, T) {
91
+ function C(p, w, E) {
92
92
  {
93
93
  var L = x.ReactDebugCurrentFrame, D = L.getStackAddendum();
94
- D !== "" && (w += "%s", T = T.concat([D]));
95
- var ee = T.map(function(J) {
94
+ D !== "" && (w += "%s", E = E.concat([D]));
95
+ var ee = E.map(function(J) {
96
96
  return String(J);
97
97
  });
98
98
  ee.unshift("Warning: " + w), Function.prototype.apply.call(console[p], console, ee);
@@ -107,12 +107,12 @@ function cc() {
107
107
  // with.
108
108
  p.$$typeof === ae || p.getModuleId !== void 0));
109
109
  }
110
- function F(p, w, T) {
110
+ function F(p, w, E) {
111
111
  var L = p.displayName;
112
112
  if (L)
113
113
  return L;
114
114
  var D = w.displayName || w.name || "";
115
- return D !== "" ? T + "(" + D + ")" : T;
115
+ return D !== "" ? E + "(" + D + ")" : E;
116
116
  }
117
117
  function H(p) {
118
118
  return p.displayName || "Context";
@@ -144,8 +144,8 @@ function cc() {
144
144
  var w = p;
145
145
  return H(w) + ".Consumer";
146
146
  case i:
147
- var T = p;
148
- return H(T._context) + ".Provider";
147
+ var E = p;
148
+ return H(E._context) + ".Provider";
149
149
  case u:
150
150
  return F(p, p.render, "ForwardRef");
151
151
  case m:
@@ -162,14 +162,14 @@ function cc() {
162
162
  }
163
163
  return null;
164
164
  }
165
- var X = Object.assign, K = 0, xe, se, Y, Ce, Te, rt, vt;
165
+ var X = Object.assign, K = 0, xe, se, Y, Ce, Ee, rt, vt;
166
166
  function We() {
167
167
  }
168
168
  We.__reactDisabledLog = !0;
169
169
  function we() {
170
170
  {
171
171
  if (K === 0) {
172
- xe = console.log, se = console.info, Y = console.warn, Ce = console.error, Te = console.group, rt = console.groupCollapsed, vt = console.groupEnd;
172
+ xe = console.log, se = console.info, Y = console.warn, Ce = console.error, Ee = console.group, rt = console.groupCollapsed, vt = console.groupEnd;
173
173
  var p = {
174
174
  configurable: !0,
175
175
  enumerable: !0,
@@ -211,7 +211,7 @@ function cc() {
211
211
  value: Ce
212
212
  }),
213
213
  group: X({}, p, {
214
- value: Te
214
+ value: Ee
215
215
  }),
216
216
  groupCollapsed: X({}, p, {
217
217
  value: rt
@@ -225,7 +225,7 @@ function cc() {
225
225
  }
226
226
  }
227
227
  var lt = x.ReactCurrentDispatcher, Ke;
228
- function Be(p, w, T) {
228
+ function Be(p, w, E) {
229
229
  {
230
230
  if (Ke === void 0)
231
231
  try {
@@ -240,16 +240,16 @@ function cc() {
240
240
  }
241
241
  var ut = !1, ct;
242
242
  {
243
- var Ft = typeof WeakMap == "function" ? WeakMap : Map;
244
- ct = new Ft();
243
+ var Dt = typeof WeakMap == "function" ? WeakMap : Map;
244
+ ct = new Dt();
245
245
  }
246
246
  function bt(p, w) {
247
247
  if (!p || ut)
248
248
  return "";
249
249
  {
250
- var T = ct.get(p);
251
- if (T !== void 0)
252
- return T;
250
+ var E = ct.get(p);
251
+ if (E !== void 0)
252
+ return E;
253
253
  }
254
254
  var L;
255
255
  ut = !0;
@@ -311,17 +311,17 @@ function cc() {
311
311
  } finally {
312
312
  ut = !1, lt.current = ee, Pt(), Error.prepareStackTrace = D;
313
313
  }
314
- var sr = p ? p.displayName || p.name : "", Jt = sr ? Be(sr) : "";
315
- return typeof p == "function" && ct.set(p, Jt), Jt;
314
+ var ir = p ? p.displayName || p.name : "", Vt = ir ? Be(ir) : "";
315
+ return typeof p == "function" && ct.set(p, Vt), Vt;
316
316
  }
317
- function Ue(p, w, T) {
317
+ function Ue(p, w, E) {
318
318
  return bt(p, !1);
319
319
  }
320
320
  function I(p) {
321
321
  var w = p.prototype;
322
322
  return !!(w && w.isReactComponent);
323
323
  }
324
- function Z(p, w, T) {
324
+ function Z(p, w, E) {
325
325
  if (p == null)
326
326
  return "";
327
327
  if (typeof p == "function")
@@ -339,26 +339,26 @@ function cc() {
339
339
  case u:
340
340
  return Ue(p.render);
341
341
  case m:
342
- return Z(p.type, w, T);
342
+ return Z(p.type, w, E);
343
343
  case h: {
344
344
  var L = p, D = L._payload, ee = L._init;
345
345
  try {
346
- return Z(ee(D), w, T);
346
+ return Z(ee(D), w, E);
347
347
  } catch {
348
348
  }
349
349
  }
350
350
  }
351
351
  return "";
352
352
  }
353
- var he = Object.prototype.hasOwnProperty, Ee = {}, ke = x.ReactDebugCurrentFrame;
353
+ var he = Object.prototype.hasOwnProperty, Te = {}, ke = x.ReactDebugCurrentFrame;
354
354
  function Ot(p) {
355
355
  if (p) {
356
- var w = p._owner, T = Z(p.type, p._source, w ? w.type : null);
357
- ke.setExtraStackFrame(T);
356
+ var w = p._owner, E = Z(p.type, p._source, w ? w.type : null);
357
+ ke.setExtraStackFrame(E);
358
358
  } else
359
359
  ke.setExtraStackFrame(null);
360
360
  }
361
- function je(p, w, T, L, D) {
361
+ function je(p, w, E, L, D) {
362
362
  {
363
363
  var ee = Function.call.bind(he);
364
364
  for (var J in p)
@@ -366,47 +366,47 @@ function cc() {
366
366
  var B = void 0;
367
367
  try {
368
368
  if (typeof p[J] != "function") {
369
- var Ie = Error((L || "React class") + ": " + T + " type `" + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[J] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
369
+ var Ie = Error((L || "React class") + ": " + E + " type `" + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[J] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
370
370
  throw Ie.name = "Invariant Violation", Ie;
371
371
  }
372
- B = p[J](w, J, L, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
372
+ B = p[J](w, J, L, E, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
373
373
  } catch (ge) {
374
374
  B = ge;
375
375
  }
376
- B && !(B instanceof Error) && (Ot(D), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", L || "React class", T, J, typeof B), Ot(null)), B instanceof Error && !(B.message in Ee) && (Ee[B.message] = !0, Ot(D), j("Failed %s type: %s", T, B.message), Ot(null));
376
+ B && !(B instanceof Error) && (Ot(D), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", L || "React class", E, J, typeof B), Ot(null)), B instanceof Error && !(B.message in Te) && (Te[B.message] = !0, Ot(D), j("Failed %s type: %s", E, B.message), Ot(null));
377
377
  }
378
378
  }
379
379
  }
380
380
  var Mt = Array.isArray;
381
- function Dt(p) {
381
+ function Bt(p) {
382
382
  return Mt(p);
383
383
  }
384
- function Cr(p) {
384
+ function Ar(p) {
385
385
  {
386
- var w = typeof Symbol == "function" && Symbol.toStringTag, T = w && p[Symbol.toStringTag] || p.constructor.name || "Object";
387
- return T;
386
+ var w = typeof Symbol == "function" && Symbol.toStringTag, E = w && p[Symbol.toStringTag] || p.constructor.name || "Object";
387
+ return E;
388
388
  }
389
389
  }
390
- function Ar(p) {
390
+ function Pr(p) {
391
391
  try {
392
- return Pr(p), !1;
392
+ return Or(p), !1;
393
393
  } catch {
394
394
  return !0;
395
395
  }
396
396
  }
397
- function Pr(p) {
397
+ function Or(p) {
398
398
  return "" + p;
399
399
  }
400
- function rr(p) {
401
- if (Ar(p))
402
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Cr(p)), Pr(p);
400
+ function nr(p) {
401
+ if (Pr(p))
402
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ar(p)), Or(p);
403
403
  }
404
404
  var nt = x.ReactCurrentOwner, M = {
405
405
  key: !0,
406
406
  ref: !0,
407
407
  __self: !0,
408
408
  __source: !0
409
- }, E, N, G;
409
+ }, T, N, G;
410
410
  G = {};
411
411
  function q(p) {
412
412
  if (he.call(p, "ref")) {
@@ -426,40 +426,40 @@ function cc() {
426
426
  }
427
427
  function Je(p, w) {
428
428
  if (typeof p.ref == "string" && nt.current && w && nt.current.stateNode !== w) {
429
- var T = V(nt.current.type);
430
- G[T] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(nt.current.type), p.ref), G[T] = !0);
429
+ var E = V(nt.current.type);
430
+ G[E] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(nt.current.type), p.ref), G[E] = !0);
431
431
  }
432
432
  }
433
433
  function He(p, w) {
434
434
  {
435
- var T = function() {
436
- E || (E = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
435
+ var E = function() {
436
+ T || (T = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
437
437
  };
438
- T.isReactWarning = !0, Object.defineProperty(p, "key", {
439
- get: T,
438
+ E.isReactWarning = !0, Object.defineProperty(p, "key", {
439
+ get: E,
440
440
  configurable: !0
441
441
  });
442
442
  }
443
443
  }
444
444
  function Q(p, w) {
445
445
  {
446
- var T = function() {
446
+ var E = function() {
447
447
  N || (N = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
448
448
  };
449
- T.isReactWarning = !0, Object.defineProperty(p, "ref", {
450
- get: T,
449
+ E.isReactWarning = !0, Object.defineProperty(p, "ref", {
450
+ get: E,
451
451
  configurable: !0
452
452
  });
453
453
  }
454
454
  }
455
- var Le = function(p, w, T, L, D, ee, J) {
455
+ var Le = function(p, w, E, L, D, ee, J) {
456
456
  var B = {
457
457
  // This tag allows us to uniquely identify this as a React Element
458
458
  $$typeof: t,
459
459
  // Built-in properties that belong on the element
460
460
  type: p,
461
461
  key: w,
462
- ref: T,
462
+ ref: E,
463
463
  props: J,
464
464
  // Record the component responsible for creating this element.
465
465
  _owner: ee
@@ -481,10 +481,10 @@ function cc() {
481
481
  value: D
482
482
  }), Object.freeze && (Object.freeze(B.props), Object.freeze(B)), B;
483
483
  };
484
- function It(p, w, T, L, D) {
484
+ function It(p, w, E, L, D) {
485
485
  {
486
486
  var ee, J = {}, B = null, Ie = null;
487
- T !== void 0 && (rr(T), B = "" + T), W(w) && (rr(w.key), B = "" + w.key), q(w) && (Ie = w.ref, Je(w, D));
487
+ E !== void 0 && (nr(E), B = "" + E), W(w) && (nr(w.key), B = "" + w.key), q(w) && (Ie = w.ref, Je(w, D));
488
488
  for (ee in w)
489
489
  he.call(w, ee) && !M.hasOwnProperty(ee) && (J[ee] = w[ee]);
490
490
  if (p && p.defaultProps) {
@@ -499,23 +499,23 @@ function cc() {
499
499
  return Le(p, B, Ie, D, L, nt.current, J);
500
500
  }
501
501
  }
502
- var nr = x.ReactCurrentOwner, Or = x.ReactDebugCurrentFrame;
502
+ var or = x.ReactCurrentOwner, Mr = x.ReactDebugCurrentFrame;
503
503
  function St(p) {
504
504
  if (p) {
505
- var w = p._owner, T = Z(p.type, p._source, w ? w.type : null);
506
- Or.setExtraStackFrame(T);
505
+ var w = p._owner, E = Z(p.type, p._source, w ? w.type : null);
506
+ Mr.setExtraStackFrame(E);
507
507
  } else
508
- Or.setExtraStackFrame(null);
508
+ Mr.setExtraStackFrame(null);
509
509
  }
510
- var Bt;
511
- Bt = !1;
512
- function Ut(p) {
510
+ var Ut;
511
+ Ut = !1;
512
+ function Jt(p) {
513
513
  return typeof p == "object" && p !== null && p.$$typeof === t;
514
514
  }
515
- function Mr() {
515
+ function Ir() {
516
516
  {
517
- if (nr.current) {
518
- var p = V(nr.current.type);
517
+ if (or.current) {
518
+ var p = V(or.current.type);
519
519
  if (p)
520
520
  return `
521
521
 
@@ -524,51 +524,51 @@ Check the render method of \`` + p + "`.";
524
524
  return "";
525
525
  }
526
526
  }
527
- function Ir(p) {
527
+ function Er(p) {
528
528
  return "";
529
529
  }
530
530
  var pn = {};
531
531
  function Tr(p) {
532
532
  {
533
- var w = Mr();
533
+ var w = Ir();
534
534
  if (!w) {
535
- var T = typeof p == "string" ? p : p.displayName || p.name;
536
- T && (w = `
535
+ var E = typeof p == "string" ? p : p.displayName || p.name;
536
+ E && (w = `
537
537
 
538
- Check the top-level render call using <` + T + ">.");
538
+ Check the top-level render call using <` + E + ">.");
539
539
  }
540
540
  return w;
541
541
  }
542
542
  }
543
- function or(p, w) {
543
+ function ar(p, w) {
544
544
  {
545
545
  if (!p._store || p._store.validated || p.key != null)
546
546
  return;
547
547
  p._store.validated = !0;
548
- var T = Tr(w);
549
- if (pn[T])
548
+ var E = Tr(w);
549
+ if (pn[E])
550
550
  return;
551
- pn[T] = !0;
551
+ pn[E] = !0;
552
552
  var L = "";
553
- p && p._owner && p._owner !== nr.current && (L = " It was passed a child from " + V(p._owner.type) + "."), St(p), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, L), St(null);
553
+ p && p._owner && p._owner !== or.current && (L = " It was passed a child from " + V(p._owner.type) + "."), St(p), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, L), St(null);
554
554
  }
555
555
  }
556
- function ar(p, w) {
556
+ function sr(p, w) {
557
557
  {
558
558
  if (typeof p != "object")
559
559
  return;
560
- if (Dt(p))
561
- for (var T = 0; T < p.length; T++) {
562
- var L = p[T];
563
- Ut(L) && or(L, w);
560
+ if (Bt(p))
561
+ for (var E = 0; E < p.length; E++) {
562
+ var L = p[E];
563
+ Jt(L) && ar(L, w);
564
564
  }
565
- else if (Ut(p))
565
+ else if (Jt(p))
566
566
  p._store && (p._store.validated = !0);
567
567
  else if (p) {
568
568
  var D = g(p);
569
569
  if (typeof D == "function" && D !== p.entries)
570
570
  for (var ee = D.call(p), J; !(J = ee.next()).done; )
571
- Ut(J.value) && or(J.value, w);
571
+ Jt(J.value) && ar(J.value, w);
572
572
  }
573
573
  }
574
574
  }
@@ -577,20 +577,20 @@ Check the top-level render call using <` + T + ">.");
577
577
  var w = p.type;
578
578
  if (w == null || typeof w == "string")
579
579
  return;
580
- var T;
580
+ var E;
581
581
  if (typeof w == "function")
582
- T = w.propTypes;
582
+ E = w.propTypes;
583
583
  else if (typeof w == "object" && (w.$$typeof === u || // Note: Memo only checks outer props here.
584
584
  // Inner props are checked in the reconciler.
585
585
  w.$$typeof === m))
586
- T = w.propTypes;
586
+ E = w.propTypes;
587
587
  else
588
588
  return;
589
- if (T) {
589
+ if (E) {
590
590
  var L = V(w);
591
- je(T, p.props, "prop", L, p);
592
- } else if (w.PropTypes !== void 0 && !Bt) {
593
- Bt = !0;
591
+ je(E, p.props, "prop", L, p);
592
+ } else if (w.PropTypes !== void 0 && !Ut) {
593
+ Ut = !0;
594
594
  var D = V(w);
595
595
  j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
596
596
  }
@@ -599,8 +599,8 @@ Check the top-level render call using <` + T + ">.");
599
599
  }
600
600
  function Po(p) {
601
601
  {
602
- for (var w = Object.keys(p.props), T = 0; T < w.length; T++) {
603
- var L = w[T];
602
+ for (var w = Object.keys(p.props), E = 0; E < w.length; E++) {
603
+ var L = w[E];
604
604
  if (L !== "children" && L !== "key") {
605
605
  St(p), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", L), St(null);
606
606
  break;
@@ -610,59 +610,59 @@ Check the top-level render call using <` + T + ">.");
610
610
  }
611
611
  }
612
612
  var gn = {};
613
- function yn(p, w, T, L, D, ee) {
613
+ function yn(p, w, E, L, D, ee) {
614
614
  {
615
615
  var J = ie(p);
616
616
  if (!J) {
617
617
  var B = "";
618
618
  (p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (B += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
619
- var Ie = Ir();
620
- Ie ? B += Ie : B += Mr();
619
+ var Ie = Er();
620
+ Ie ? B += Ie : B += Ir();
621
621
  var ge;
622
- p === null ? ge = "null" : Dt(p) ? ge = "array" : p !== void 0 && p.$$typeof === t ? (ge = "<" + (V(p.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : ge = typeof p, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ge, B);
622
+ p === null ? ge = "null" : Bt(p) ? ge = "array" : p !== void 0 && p.$$typeof === t ? (ge = "<" + (V(p.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : ge = typeof p, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ge, B);
623
623
  }
624
- var ve = It(p, w, T, D, ee);
624
+ var ve = It(p, w, E, D, ee);
625
625
  if (ve == null)
626
626
  return ve;
627
627
  if (J) {
628
628
  var Xe = w.children;
629
629
  if (Xe !== void 0)
630
630
  if (L)
631
- if (Dt(Xe)) {
632
- for (var sr = 0; sr < Xe.length; sr++)
633
- ar(Xe[sr], p);
631
+ if (Bt(Xe)) {
632
+ for (var ir = 0; ir < Xe.length; ir++)
633
+ sr(Xe[ir], p);
634
634
  Object.freeze && Object.freeze(Xe);
635
635
  } else
636
636
  j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
637
637
  else
638
- ar(Xe, p);
638
+ sr(Xe, p);
639
639
  }
640
640
  if (he.call(w, "key")) {
641
- var Jt = V(p), $e = Object.keys(w).filter(function(Au) {
641
+ var Vt = V(p), $e = Object.keys(w).filter(function(Au) {
642
642
  return Au !== "key";
643
- }), To = $e.length > 0 ? "{key: someKey, " + $e.join(": ..., ") + ": ...}" : "{key: someKey}";
644
- if (!gn[Jt + To]) {
643
+ }), Eo = $e.length > 0 ? "{key: someKey, " + $e.join(": ..., ") + ": ...}" : "{key: someKey}";
644
+ if (!gn[Vt + Eo]) {
645
645
  var Cu = $e.length > 0 ? "{" + $e.join(": ..., ") + ": ...}" : "{}";
646
646
  j(`A props object containing a "key" prop is being spread into JSX:
647
647
  let props = %s;
648
648
  <%s {...props} />
649
649
  React keys must be passed directly to JSX without using spread:
650
650
  let props = %s;
651
- <%s key={someKey} {...props} />`, To, Jt, Cu, Jt), gn[Jt + To] = !0;
651
+ <%s key={someKey} {...props} />`, Eo, Vt, Cu, Vt), gn[Vt + Eo] = !0;
652
652
  }
653
653
  }
654
654
  return p === n ? Po(ve) : Ao(ve), ve;
655
655
  }
656
656
  }
657
- function Oo(p, w, T) {
658
- return yn(p, w, T, !0);
657
+ function Oo(p, w, E) {
658
+ return yn(p, w, E, !0);
659
659
  }
660
- function Mo(p, w, T) {
661
- return yn(p, w, T, !1);
660
+ function Mo(p, w, E) {
661
+ return yn(p, w, E, !1);
662
662
  }
663
- var Er = Mo, Io = Oo;
664
- $r.Fragment = n, $r.jsx = Er, $r.jsxs = Io;
665
- }()), $r;
663
+ var kr = Mo, Io = Oo;
664
+ Nr.Fragment = n, Nr.jsx = kr, Nr.jsxs = Io;
665
+ }()), Nr;
666
666
  }
667
667
  process.env.NODE_ENV === "production" ? Zo.exports = uc() : Zo.exports = cc();
668
668
  var s = Zo.exports;
@@ -736,7 +736,9 @@ const dc = {
736
736
  "Jogging.Cartesian.Rotation.bt": "Rotation",
737
737
  "Jogging.Joints.JointValues.lb": "Gelenkwerte",
738
738
  "Jogging.Increment.Continuous.dd": "Fortlaufend",
739
- "Jogging.Cartesian.Orientation.lb": "Orientierung"
739
+ "Jogging.Cartesian.Orientation.lb": "Orientierung",
740
+ "Jogging.Activate.bt": "Jogging activieren",
741
+ "Jogging.Activating.lb": "Jogging wird aktivieren"
740
742
  }, mc = {
741
743
  "Jogging.Cartesian.Translation.velocityMmPerSec.lb": "{{amount}} mm/s",
742
744
  "Jogging.Cartesian.Rotation.velocityDegPerSec.lb": "{{amount}}°/s",
@@ -748,7 +750,9 @@ const dc = {
748
750
  "Jogging.Cartesian.Rotation.bt": "Rotation",
749
751
  "Jogging.Joints.JointValues.lb": "Joint values",
750
752
  "Jogging.Increment.Continuous.dd": "Continuous",
751
- "Jogging.Cartesian.Orientation.lb": "Orientation"
753
+ "Jogging.Cartesian.Orientation.lb": "Orientation",
754
+ "Jogging.Activate.bt": "Activate jogging",
755
+ "Jogging.Activating.lb": "Activating jogging"
752
756
  }, fc = {
753
757
  type: "logger",
754
758
  log(e) {
@@ -841,7 +845,7 @@ class ro {
841
845
  });
842
846
  }
843
847
  }
844
- const Nr = () => {
848
+ const Fr = () => {
845
849
  let e, t;
846
850
  const r = new Promise((n, o) => {
847
851
  e = n, t = o;
@@ -896,7 +900,7 @@ const Nr = () => {
896
900
  for (const n in t)
897
901
  n !== "__proto__" && n !== "constructor" && (n in e ? typeof e[n] == "string" || e[n] instanceof String || typeof t[n] == "string" || t[n] instanceof String ? r && (e[n] = t[n]) : Bi(e[n], t[n], r) : e[n] = t[n]);
898
902
  return e;
899
- }, ir = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
903
+ }, lr = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
900
904
  var vc = {
901
905
  "&": "&amp;",
902
906
  "<": "&lt;",
@@ -1153,14 +1157,14 @@ class zn extends ro {
1153
1157
  for (let Y = 0; Y < xe.length; Y++)
1154
1158
  K.push(xe[Y]);
1155
1159
  else this.options.saveMissingTo === "all" ? K = this.languageUtils.toResolveHierarchy(r.lng || this.language) : K.push(r.lng || this.language);
1156
- const se = (Y, Ce, Te) => {
1157
- const rt = O && Te !== h ? Te : V;
1160
+ const se = (Y, Ce, Ee) => {
1161
+ const rt = O && Ee !== h ? Ee : V;
1158
1162
  this.options.missingKeyHandler ? this.options.missingKeyHandler(Y, u, Ce, rt, X, r) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(Y, u, Ce, rt, X, r), this.emit("missingKey", Y, u, Ce, h);
1159
1163
  };
1160
1164
  this.options.saveMissing && (this.options.saveMissingPlurals && P ? K.forEach((Y) => {
1161
1165
  const Ce = this.pluralResolver.getSuffixes(Y, r);
1162
- ie && r[`defaultValue${this.options.pluralSeparator}zero`] && Ce.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Ce.push(`${this.options.pluralSeparator}zero`), Ce.forEach((Te) => {
1163
- se([Y], i + Te, r[`defaultValue${Te}`] || F);
1166
+ ie && r[`defaultValue${this.options.pluralSeparator}zero`] && Ce.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Ce.push(`${this.options.pluralSeparator}zero`), Ce.forEach((Ee) => {
1167
+ se([Y], i + Ee, r[`defaultValue${Ee}`] || F);
1164
1168
  });
1165
1169
  }) : se(K, i, F));
1166
1170
  }
@@ -1560,7 +1564,7 @@ class Ic {
1560
1564
  maxReplaces: x,
1561
1565
  alwaysFormat: j
1562
1566
  } = t.interpolation;
1563
- this.escape = r !== void 0 ? r : bc, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = a ? ir(a) : i || "{{", this.suffix = l ? ir(l) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : m || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = h ? ir(h) : v || ir("$t("), this.nestingSuffix = y ? ir(y) : _ || ir(")"), this.nestingOptionsSeparator = g || ",", this.maxReplaces = x || 1e3, this.alwaysFormat = j !== void 0 ? j : !1, this.resetRegExp();
1567
+ this.escape = r !== void 0 ? r : bc, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = a ? lr(a) : i || "{{", this.suffix = l ? lr(l) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : m || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = h ? lr(h) : v || lr("$t("), this.nestingSuffix = y ? lr(y) : _ || lr(")"), this.nestingOptionsSeparator = g || ",", this.maxReplaces = x || 1e3, this.alwaysFormat = j !== void 0 ? j : !1, this.resetRegExp();
1564
1568
  }
1565
1569
  reset() {
1566
1570
  this.options && this.init(this.options);
@@ -1655,7 +1659,7 @@ class Ic {
1655
1659
  return t;
1656
1660
  }
1657
1661
  }
1658
- const Tc = (e) => {
1662
+ const Ec = (e) => {
1659
1663
  let t = e.toLowerCase().trim();
1660
1664
  const r = {};
1661
1665
  if (e.indexOf("(") > -1) {
@@ -1673,7 +1677,7 @@ const Tc = (e) => {
1673
1677
  formatName: t,
1674
1678
  formatOptions: r
1675
1679
  };
1676
- }, lr = (e) => {
1680
+ }, ur = (e) => {
1677
1681
  const t = {};
1678
1682
  return (r, n, o) => {
1679
1683
  let a = o;
@@ -1688,36 +1692,36 @@ const Tc = (e) => {
1688
1692
  return l || (l = e(Vn(n), o), t[i] = l), l(r);
1689
1693
  };
1690
1694
  };
1691
- class Ec {
1695
+ class Tc {
1692
1696
  constructor() {
1693
1697
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1694
1698
  this.logger = mt.create("formatter"), this.options = t, this.formats = {
1695
- number: lr((r, n) => {
1699
+ number: ur((r, n) => {
1696
1700
  const o = new Intl.NumberFormat(r, {
1697
1701
  ...n
1698
1702
  });
1699
1703
  return (a) => o.format(a);
1700
1704
  }),
1701
- currency: lr((r, n) => {
1705
+ currency: ur((r, n) => {
1702
1706
  const o = new Intl.NumberFormat(r, {
1703
1707
  ...n,
1704
1708
  style: "currency"
1705
1709
  });
1706
1710
  return (a) => o.format(a);
1707
1711
  }),
1708
- datetime: lr((r, n) => {
1712
+ datetime: ur((r, n) => {
1709
1713
  const o = new Intl.DateTimeFormat(r, {
1710
1714
  ...n
1711
1715
  });
1712
1716
  return (a) => o.format(a);
1713
1717
  }),
1714
- relativetime: lr((r, n) => {
1718
+ relativetime: ur((r, n) => {
1715
1719
  const o = new Intl.RelativeTimeFormat(r, {
1716
1720
  ...n
1717
1721
  });
1718
1722
  return (a) => o.format(a, n.range || "day");
1719
1723
  }),
1720
- list: lr((r, n) => {
1724
+ list: ur((r, n) => {
1721
1725
  const o = new Intl.ListFormat(r, {
1722
1726
  ...n
1723
1727
  });
@@ -1735,7 +1739,7 @@ class Ec {
1735
1739
  this.formats[t.toLowerCase().trim()] = r;
1736
1740
  }
1737
1741
  addCached(t, r) {
1738
- this.formats[t.toLowerCase().trim()] = lr(r);
1742
+ this.formats[t.toLowerCase().trim()] = ur(r);
1739
1743
  }
1740
1744
  format(t, r, n) {
1741
1745
  let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
@@ -1748,7 +1752,7 @@ class Ec {
1748
1752
  const {
1749
1753
  formatName: c,
1750
1754
  formatOptions: d
1751
- } = Tc(u);
1755
+ } = Ec(u);
1752
1756
  if (this.formats[c]) {
1753
1757
  let m = l;
1754
1758
  try {
@@ -1998,7 +2002,7 @@ class Xr extends ro {
1998
2002
  if (!this.options.isClone) {
1999
2003
  this.modules.logger ? mt.init(a(this.modules.logger), this.options) : mt.init(null, this.options);
2000
2004
  let d;
2001
- this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d = Ec);
2005
+ this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d = Tc);
2002
2006
  const m = new is(this.options);
2003
2007
  this.store = new as(this.options.resources, this.options);
2004
2008
  const h = this.services;
@@ -2033,7 +2037,7 @@ class Xr extends ro {
2033
2037
  return t.store[d](...arguments), t;
2034
2038
  };
2035
2039
  });
2036
- const u = Nr(), c = () => {
2040
+ const u = Fr(), c = () => {
2037
2041
  const d = (m, h) => {
2038
2042
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), u.resolve(h), n(m, h);
2039
2043
  };
@@ -2060,7 +2064,7 @@ class Xr extends ro {
2060
2064
  n(null);
2061
2065
  }
2062
2066
  reloadResources(t, r, n) {
2063
- const o = Nr();
2067
+ const o = Fr();
2064
2068
  return t || (t = this.languages), r || (r = this.options.ns), n || (n = vn), this.services.backendConnector.reload(t, r, (a) => {
2065
2069
  o.resolve(), n(a);
2066
2070
  }), o;
@@ -2083,7 +2087,7 @@ class Xr extends ro {
2083
2087
  changeLanguage(t, r) {
2084
2088
  var n = this;
2085
2089
  this.isLanguageChangingTo = t;
2086
- const o = Nr();
2090
+ const o = Fr();
2087
2091
  this.emit("languageChanging", t);
2088
2092
  const a = (u) => {
2089
2093
  this.language = u, this.languages = this.services.languageUtils.toResolveHierarchy(u), this.resolvedLanguage = void 0, this.setResolvedLanguage(u);
@@ -2149,7 +2153,7 @@ class Xr extends ro {
2149
2153
  return !!(this.hasResourceBundle(n, t) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || i(n, t) && (!o || i(a, t)));
2150
2154
  }
2151
2155
  loadNamespaces(t, r) {
2152
- const n = Nr();
2156
+ const n = Fr();
2153
2157
  return this.options.ns ? (typeof t == "string" && (t = [t]), t.forEach((o) => {
2154
2158
  this.options.ns.indexOf(o) < 0 && this.options.ns.push(o);
2155
2159
  }), this.loadResources((o) => {
@@ -2157,7 +2161,7 @@ class Xr extends ro {
2157
2161
  }), n) : (r && r(), Promise.resolve());
2158
2162
  }
2159
2163
  loadLanguages(t, r) {
2160
- const n = Nr();
2164
+ const n = Fr();
2161
2165
  typeof t == "string" && (t = [t]);
2162
2166
  const o = this.options.preload || [], a = t.filter((i) => o.indexOf(i) < 0 && this.services.languageUtils.isSupportedCode(i));
2163
2167
  return a.length ? (this.options.preload = o.concat(a), this.loadResources((i) => {
@@ -2250,7 +2254,7 @@ function Vi(e, t) {
2250
2254
  const { toString: Fc } = Object.prototype, { getPrototypeOf: ja } = Object, no = /* @__PURE__ */ ((e) => (t) => {
2251
2255
  const r = Fc.call(t);
2252
2256
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
2253
- })(/* @__PURE__ */ Object.create(null)), it = (e) => (e = e.toLowerCase(), (t) => no(t) === e), oo = (e) => (t) => typeof t === e, { isArray: Sr } = Array, qr = oo("undefined");
2257
+ })(/* @__PURE__ */ Object.create(null)), it = (e) => (e = e.toLowerCase(), (t) => no(t) === e), oo = (e) => (t) => typeof t === e, { isArray: xr } = Array, qr = oo("undefined");
2254
2258
  function Dc(e) {
2255
2259
  return e !== null && !qr(e) && e.constructor !== null && !qr(e.constructor) && ze(e.constructor.isBuffer) && e.constructor.isBuffer(e);
2256
2260
  }
@@ -2273,7 +2277,7 @@ function on(e, t, { allOwnKeys: r = !1 } = {}) {
2273
2277
  if (e === null || typeof e > "u")
2274
2278
  return;
2275
2279
  let n, o;
2276
- if (typeof e != "object" && (e = [e]), Sr(e))
2280
+ if (typeof e != "object" && (e = [e]), xr(e))
2277
2281
  for (n = 0, o = e.length; n < o; n++)
2278
2282
  t.call(null, e[n], n, e);
2279
2283
  else {
@@ -2292,11 +2296,11 @@ function Wi(e, t) {
2292
2296
  return o;
2293
2297
  return null;
2294
2298
  }
2295
- const zt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ki = (e) => !qr(e) && e !== zt;
2299
+ const Gt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ki = (e) => !qr(e) && e !== Gt;
2296
2300
  function ea() {
2297
2301
  const { caseless: e } = Ki(this) && this || {}, t = {}, r = (n, o) => {
2298
2302
  const a = e && Wi(t, o) || o;
2299
- Mn(t[a]) && Mn(n) ? t[a] = ea(t[a], n) : Mn(n) ? t[a] = ea({}, n) : Sr(n) ? t[a] = n.slice() : t[a] = n;
2303
+ Mn(t[a]) && Mn(n) ? t[a] = ea(t[a], n) : Mn(n) ? t[a] = ea({}, n) : xr(n) ? t[a] = n.slice() : t[a] = n;
2300
2304
  };
2301
2305
  for (let n = 0, o = arguments.length; n < o; n++)
2302
2306
  arguments[n] && on(arguments[n], r);
@@ -2324,7 +2328,7 @@ const td = (e, t, r, { allOwnKeys: n } = {}) => (on(t, (o, a) => {
2324
2328
  return n !== -1 && n === r;
2325
2329
  }, sd = (e) => {
2326
2330
  if (!e) return null;
2327
- if (Sr(e)) return e;
2331
+ if (xr(e)) return e;
2328
2332
  let t = e.length;
2329
2333
  if (!Gi(t)) return null;
2330
2334
  const r = new Array(t);
@@ -2376,7 +2380,7 @@ const td = (e, t, r, { allOwnKeys: n } = {}) => (on(t, (o, a) => {
2376
2380
  r[a] = !0;
2377
2381
  });
2378
2382
  };
2379
- return Sr(e) ? n(e) : n(String(e).split(t)), r;
2383
+ return xr(e) ? n(e) : n(String(e).split(t)), r;
2380
2384
  }, pd = () => {
2381
2385
  }, gd = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, $o = "abcdefghijklmnopqrstuvwxyz", ms = "0123456789", Xi = {
2382
2386
  DIGIT: ms,
@@ -2399,7 +2403,7 @@ const vd = (e) => {
2399
2403
  return;
2400
2404
  if (!("toJSON" in n)) {
2401
2405
  t[o] = n;
2402
- const a = Sr(n) ? [] : {};
2406
+ const a = xr(n) ? [] : {};
2403
2407
  return on(n, (i, l) => {
2404
2408
  const u = r(i, o + 1);
2405
2409
  !qr(u) && (a[l] = u);
@@ -2409,15 +2413,15 @@ const vd = (e) => {
2409
2413
  return n;
2410
2414
  };
2411
2415
  return r(e, 0);
2412
- }, bd = it("AsyncFunction"), Sd = (e) => e && (ao(e) || ze(e)) && ze(e.then) && ze(e.catch), qi = ((e, t) => e ? setImmediate : t ? ((r, n) => (zt.addEventListener("message", ({ source: o, data: a }) => {
2413
- o === zt && a === r && n.length && n.shift()();
2416
+ }, bd = it("AsyncFunction"), Sd = (e) => e && (ao(e) || ze(e)) && ze(e.then) && ze(e.catch), qi = ((e, t) => e ? setImmediate : t ? ((r, n) => (Gt.addEventListener("message", ({ source: o, data: a }) => {
2417
+ o === Gt && a === r && n.length && n.shift()();
2414
2418
  }, !1), (o) => {
2415
- n.push(o), zt.postMessage(r, "*");
2419
+ n.push(o), Gt.postMessage(r, "*");
2416
2420
  }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
2417
2421
  typeof setImmediate == "function",
2418
- ze(zt.postMessage)
2419
- ), xd = typeof queueMicrotask < "u" ? queueMicrotask.bind(zt) : typeof process < "u" && process.nextTick || qi, S = {
2420
- isArray: Sr,
2422
+ ze(Gt.postMessage)
2423
+ ), xd = typeof queueMicrotask < "u" ? queueMicrotask.bind(Gt) : typeof process < "u" && process.nextTick || qi, S = {
2424
+ isArray: xr,
2421
2425
  isArrayBuffer: zi,
2422
2426
  isBuffer: Dc,
2423
2427
  isFormData: Hc,
@@ -2465,7 +2469,7 @@ const vd = (e) => {
2465
2469
  noop: pd,
2466
2470
  toFiniteNumber: gd,
2467
2471
  findKey: Wi,
2468
- global: zt,
2472
+ global: Gt,
2469
2473
  isContextDefined: Ki,
2470
2474
  ALPHABET: Xi,
2471
2475
  generateString: yd,
@@ -2714,13 +2718,13 @@ const rl = {
2714
2718
  Blob: Od
2715
2719
  },
2716
2720
  protocols: ["http", "https", "file", "blob", "url", "data"]
2717
- }, Ca = typeof window < "u" && typeof document < "u", Id = ((e) => Ca && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), Td = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2718
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ed = Ca && window.location.href || "http://localhost", kd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2721
+ }, Ca = typeof window < "u" && typeof document < "u", Id = ((e) => Ca && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), Ed = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2722
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Td = Ca && window.location.href || "http://localhost", kd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2719
2723
  __proto__: null,
2720
2724
  hasBrowserEnv: Ca,
2721
2725
  hasStandardBrowserEnv: Id,
2722
- hasStandardBrowserWebWorkerEnv: Td,
2723
- origin: Ed
2726
+ hasStandardBrowserWebWorkerEnv: Ed,
2727
+ origin: Td
2724
2728
  }, Symbol.toStringTag, { value: "Module" })), ot = {
2725
2729
  ...kd,
2726
2730
  ...Md
@@ -2864,7 +2868,7 @@ const Dd = S.toObjectSet([
2864
2868
  o = i.indexOf(":"), r = i.substring(0, o).trim().toLowerCase(), n = i.substring(o + 1).trim(), !(!r || t[r] && Dd[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
2865
2869
  }), t;
2866
2870
  }, ys = Symbol("internals");
2867
- function Fr(e) {
2871
+ function Dr(e) {
2868
2872
  return e && String(e).trim().toLowerCase();
2869
2873
  }
2870
2874
  function In(e) {
@@ -2909,7 +2913,7 @@ let Ne = class {
2909
2913
  set(t, r, n) {
2910
2914
  const o = this;
2911
2915
  function a(l, u, c) {
2912
- const d = Fr(u);
2916
+ const d = Dr(u);
2913
2917
  if (!d)
2914
2918
  throw new Error("header name must be a non-empty string");
2915
2919
  const m = S.findKey(o, d);
@@ -2928,7 +2932,7 @@ let Ne = class {
2928
2932
  return this;
2929
2933
  }
2930
2934
  get(t, r) {
2931
- if (t = Fr(t), t) {
2935
+ if (t = Dr(t), t) {
2932
2936
  const n = S.findKey(this, t);
2933
2937
  if (n) {
2934
2938
  const o = this[n];
@@ -2945,7 +2949,7 @@ let Ne = class {
2945
2949
  }
2946
2950
  }
2947
2951
  has(t, r) {
2948
- if (t = Fr(t), t) {
2952
+ if (t = Dr(t), t) {
2949
2953
  const n = S.findKey(this, t);
2950
2954
  return !!(n && this[n] !== void 0 && (!r || No(this, this[n], n, r)));
2951
2955
  }
@@ -2955,7 +2959,7 @@ let Ne = class {
2955
2959
  const n = this;
2956
2960
  let o = !1;
2957
2961
  function a(i) {
2958
- if (i = Fr(i), i) {
2962
+ if (i = Dr(i), i) {
2959
2963
  const l = S.findKey(n, i);
2960
2964
  l && (!r || No(n, n[l], l, r)) && (delete n[l], o = !0);
2961
2965
  }
@@ -3014,7 +3018,7 @@ let Ne = class {
3014
3018
  accessors: {}
3015
3019
  }).accessors, o = this.prototype;
3016
3020
  function a(i) {
3017
- const l = Fr(i);
3021
+ const l = Dr(i);
3018
3022
  n[l] || (zd(o, i), n[l] = !0);
3019
3023
  }
3020
3024
  return S.isArray(t) ? t.forEach(a) : a(t), this;
@@ -3041,10 +3045,10 @@ function Fo(e, t) {
3041
3045
  function ol(e) {
3042
3046
  return !!(e && e.__CANCEL__);
3043
3047
  }
3044
- function xr(e, t, r) {
3048
+ function wr(e, t, r) {
3045
3049
  U.call(this, e ?? "canceled", U.ERR_CANCELED, t, r), this.name = "CanceledError";
3046
3050
  }
3047
- S.inherits(xr, U, {
3051
+ S.inherits(wr, U, {
3048
3052
  __CANCEL__: !0
3049
3053
  });
3050
3054
  function al(e, t, r) {
@@ -3183,7 +3187,7 @@ function sl(e, t) {
3183
3187
  return e && !qd(t) ? Yd(e, t) : t;
3184
3188
  }
3185
3189
  const bs = (e) => e instanceof Ne ? { ...e } : e;
3186
- function Kt(e, t) {
3190
+ function Ht(e, t) {
3187
3191
  t = t || {};
3188
3192
  const r = {};
3189
3193
  function n(c, d, m) {
@@ -3248,7 +3252,7 @@ function Kt(e, t) {
3248
3252
  }), r;
3249
3253
  }
3250
3254
  const il = (e) => {
3251
- const t = Kt({}, e);
3255
+ const t = Ht({}, e);
3252
3256
  let { data: r, withXSRFToken: n, xsrfHeaderName: o, xsrfCookieName: a, headers: i, auth: l } = t;
3253
3257
  t.headers = i = Ne.from(i), t.url = tl(sl(t.baseURL, t.url), e.params, e.paramsSerializer), l && i.set(
3254
3258
  "Authorization",
@@ -3316,7 +3320,7 @@ const il = (e) => {
3316
3320
  }, a === void 0 && i.setContentType(null), "setRequestHeader" in g && S.forEach(i.toJSON(), function(k, R) {
3317
3321
  g.setRequestHeader(R, k);
3318
3322
  }), S.isUndefined(o.withCredentials) || (g.withCredentials = !!o.withCredentials), l && l !== "json" && (g.responseType = o.responseType), c && ([h, y] = Gn(c, !0), g.addEventListener("progress", h)), u && g.upload && ([m, v] = Gn(u), g.upload.addEventListener("progress", m), g.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (d = (C) => {
3319
- g && (n(!C || C.type ? new xr(null, e, g) : C), g.abort(), g = null);
3323
+ g && (n(!C || C.type ? new wr(null, e, g) : C), g.abort(), g = null);
3320
3324
  }, o.cancelToken && o.cancelToken.subscribe(d), o.signal && (o.signal.aborted ? d() : o.signal.addEventListener("abort", d)));
3321
3325
  const j = Gd(o.url);
3322
3326
  if (j && ot.protocols.indexOf(j) === -1) {
@@ -3331,7 +3335,7 @@ const il = (e) => {
3331
3335
  if (!n) {
3332
3336
  n = !0, i();
3333
3337
  const c = u instanceof Error ? u : this.reason;
3334
- r.abort(c instanceof U ? c : new xr(c instanceof Error ? c.message : c));
3338
+ r.abort(c instanceof U ? c : new wr(c instanceof Error ? c.message : c));
3335
3339
  }
3336
3340
  };
3337
3341
  let a = t && setTimeout(() => {
@@ -3560,7 +3564,7 @@ const ws = (e) => `- ${e}`, ih = (e) => S.isFunction(e) || e === null || e === !
3560
3564
  };
3561
3565
  function Do(e) {
3562
3566
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
3563
- throw new xr(null, e);
3567
+ throw new wr(null, e);
3564
3568
  }
3565
3569
  function js(e) {
3566
3570
  return Do(e), e.headers = Ne.from(e.headers), e.data = Fo.call(
@@ -3625,8 +3629,8 @@ function lh(e, t, r) {
3625
3629
  const aa = {
3626
3630
  assertOptions: lh,
3627
3631
  validators: Aa
3628
- }, Tt = aa.validators;
3629
- let Gt = class {
3632
+ }, Et = aa.validators;
3633
+ let Wt = class {
3630
3634
  constructor(t) {
3631
3635
  this.defaults = t, this.interceptors = {
3632
3636
  request: new gs(),
@@ -3659,17 +3663,17 @@ let Gt = class {
3659
3663
  }
3660
3664
  }
3661
3665
  _request(t, r) {
3662
- typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Kt(this.defaults, r);
3666
+ typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Ht(this.defaults, r);
3663
3667
  const { transitional: n, paramsSerializer: o, headers: a } = r;
3664
3668
  n !== void 0 && aa.assertOptions(n, {
3665
- silentJSONParsing: Tt.transitional(Tt.boolean),
3666
- forcedJSONParsing: Tt.transitional(Tt.boolean),
3667
- clarifyTimeoutError: Tt.transitional(Tt.boolean)
3669
+ silentJSONParsing: Et.transitional(Et.boolean),
3670
+ forcedJSONParsing: Et.transitional(Et.boolean),
3671
+ clarifyTimeoutError: Et.transitional(Et.boolean)
3668
3672
  }, !1), o != null && (S.isFunction(o) ? r.paramsSerializer = {
3669
3673
  serialize: o
3670
3674
  } : aa.assertOptions(o, {
3671
- encode: Tt.function,
3672
- serialize: Tt.function
3675
+ encode: Et.function,
3676
+ serialize: Et.function
3673
3677
  }, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase();
3674
3678
  let i = a && S.merge(
3675
3679
  a.common,
@@ -3718,14 +3722,14 @@ let Gt = class {
3718
3722
  return d;
3719
3723
  }
3720
3724
  getUri(t) {
3721
- t = Kt(this.defaults, t);
3725
+ t = Ht(this.defaults, t);
3722
3726
  const r = sl(t.baseURL, t.url);
3723
3727
  return tl(r, t.params, t.paramsSerializer);
3724
3728
  }
3725
3729
  };
3726
3730
  S.forEach(["delete", "get", "head", "options"], function(t) {
3727
- Gt.prototype[t] = function(r, n) {
3728
- return this.request(Kt(n || {}, {
3731
+ Wt.prototype[t] = function(r, n) {
3732
+ return this.request(Ht(n || {}, {
3729
3733
  method: t,
3730
3734
  url: r,
3731
3735
  data: (n || {}).data
@@ -3735,7 +3739,7 @@ S.forEach(["delete", "get", "head", "options"], function(t) {
3735
3739
  S.forEach(["post", "put", "patch"], function(t) {
3736
3740
  function r(n) {
3737
3741
  return function(a, i, l) {
3738
- return this.request(Kt(l || {}, {
3742
+ return this.request(Ht(l || {}, {
3739
3743
  method: t,
3740
3744
  headers: n ? {
3741
3745
  "Content-Type": "multipart/form-data"
@@ -3745,7 +3749,7 @@ S.forEach(["post", "put", "patch"], function(t) {
3745
3749
  }));
3746
3750
  };
3747
3751
  }
3748
- Gt.prototype[t] = r(), Gt.prototype[t + "Form"] = r(!0);
3752
+ Wt.prototype[t] = r(), Wt.prototype[t + "Form"] = r(!0);
3749
3753
  });
3750
3754
  let uh = class hl {
3751
3755
  constructor(t) {
@@ -3771,7 +3775,7 @@ let uh = class hl {
3771
3775
  n.unsubscribe(a);
3772
3776
  }, i;
3773
3777
  }, t(function(a, i, l) {
3774
- n.reason || (n.reason = new xr(a, i, l), r(n.reason));
3778
+ n.reason || (n.reason = new wr(a, i, l), r(n.reason));
3775
3779
  });
3776
3780
  }
3777
3781
  /**
@@ -3891,14 +3895,14 @@ Object.entries(sa).forEach(([e, t]) => {
3891
3895
  sa[t] = e;
3892
3896
  });
3893
3897
  function ml(e) {
3894
- const t = new Gt(e), r = Vi(Gt.prototype.request, t);
3895
- return S.extend(r, Gt.prototype, t, { allOwnKeys: !0 }), S.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
3896
- return ml(Kt(e, o));
3898
+ const t = new Wt(e), r = Vi(Wt.prototype.request, t);
3899
+ return S.extend(r, Wt.prototype, t, { allOwnKeys: !0 }), S.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
3900
+ return ml(Ht(e, o));
3897
3901
  }, r;
3898
3902
  }
3899
3903
  const Se = ml(an);
3900
- Se.Axios = Gt;
3901
- Se.CanceledError = xr;
3904
+ Se.Axios = Wt;
3905
+ Se.CanceledError = wr;
3902
3906
  Se.CancelToken = uh;
3903
3907
  Se.isCancel = ol;
3904
3908
  Se.VERSION = dl;
@@ -3910,7 +3914,7 @@ Se.all = function(t) {
3910
3914
  };
3911
3915
  Se.spread = ch;
3912
3916
  Se.isAxiosError = dh;
3913
- Se.mergeConfig = Kt;
3917
+ Se.mergeConfig = Ht;
3914
3918
  Se.AxiosHeaders = Ne;
3915
3919
  Se.formToJSON = (e) => nl(S.isHTMLForm(e) ? new FormData(e) : e);
3916
3920
  Se.getAdapter = cl.getAdapter;
@@ -4002,7 +4006,7 @@ const Pa = (e) => {
4002
4006
  );
4003
4007
  }, ph = Pu(() => import("@monaco-editor/react")), ob = nn(
4004
4008
  (e) => {
4005
- const t = xa(), r = Wt(null), [n, o] = to("dark-plus"), a = t.palette.mode === "dark" ? "dark-plus" : "light-plus";
4009
+ const t = xa(), r = Kt(null), [n, o] = to("dark-plus"), a = t.palette.mode === "dark" ? "dark-plus" : "light-plus";
4006
4010
  async function i(l) {
4007
4011
  const [{ createHighlighter: u }, { shikiToMonaco: c }] = await Promise.all([
4008
4012
  import("shiki"),
@@ -4099,7 +4103,7 @@ function de({
4099
4103
  jointCollector: n
4100
4104
  }) {
4101
4105
  Vu.assign({ frameLoop: "always" });
4102
- const o = Wt([]), a = Wt([]), { scene: i, invalidate: l } = Ku();
4106
+ const o = Kt([]), a = Kt([]), { scene: i, invalidate: l } = Ku();
4103
4107
  Lt(() => {
4104
4108
  const h = i.getObjectByName(t);
4105
4109
  h && (a.current = n ? n(h) : pl(h), c(), l());
@@ -7685,7 +7689,7 @@ function Ih({
7685
7689
  ] }) })
7686
7690
  ] });
7687
7691
  }
7688
- function Th({
7692
+ function Eh({
7689
7693
  modelURL: e,
7690
7694
  rapidlyChangingMotionState: t,
7691
7695
  ...r
@@ -7901,7 +7905,7 @@ function Th({
7901
7905
  ] }) })
7902
7906
  ] });
7903
7907
  }
7904
- function Eh({
7908
+ function Th({
7905
7909
  modelURL: e,
7906
7910
  rapidlyChangingMotionState: t,
7907
7911
  ...r
@@ -9716,13 +9720,13 @@ function Bo({
9716
9720
  dhParameters: t,
9717
9721
  ...r
9718
9722
  }) {
9719
- const n = new kr();
9723
+ const n = new Lr();
9720
9724
  function o(u, c) {
9721
9725
  const d = new Za(), m = new qu(), h = new Za();
9722
9726
  n.decompose(d, m, h);
9723
- const v = d.clone(), y = new kr().makeRotationY(
9727
+ const v = d.clone(), y = new Lr().makeRotationY(
9724
9728
  u.theta + c * (u.reverse_rotation_direction ? -1 : 1)
9725
- ).multiply(new kr().makeTranslation(0, u.d / 1e3, 0)).multiply(new kr().makeTranslation(u.a / 1e3, 0, 0)).multiply(new kr().makeRotationX(u.alpha));
9729
+ ).multiply(new Lr().makeTranslation(0, u.d / 1e3, 0)).multiply(new Lr().makeTranslation(u.a / 1e3, 0, 0)).multiply(new Lr().makeRotationX(u.alpha));
9726
9730
  return n.multiply(y), n.decompose(d, m, h), { a: v, b: d };
9727
9731
  }
9728
9732
  function a(u, c, d, m) {
@@ -9807,7 +9811,7 @@ const Uh = nn(
9807
9811
  ...a
9808
9812
  }) => {
9809
9813
  let i;
9810
- const l = Wt(new Re.Group()), u = Ou(
9814
+ const l = Kt(new Re.Group()), u = Ou(
9811
9815
  (m) => {
9812
9816
  m !== null && (l.current = m, console.log("robotRef.current", l.current), o && l.current && l.current.children.length > 0 && c());
9813
9817
  },
@@ -9893,10 +9897,10 @@ const Uh = nn(
9893
9897
  i = Ih;
9894
9898
  break;
9895
9899
  case "FANUC_CRX25iA":
9896
- i = Th;
9900
+ i = Eh;
9897
9901
  break;
9898
9902
  case "FANUC_CRX25iAL":
9899
- i = Eh;
9903
+ i = Th;
9900
9904
  break;
9901
9905
  case "FANUC_ARC_Mate_120iD":
9902
9906
  i = Ps;
@@ -9986,7 +9990,7 @@ function sb() {
9986
9990
  function Jh({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
9987
9991
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
9988
9992
  /* @__PURE__ */ s.jsx(
9989
- Vt,
9993
+ zt,
9990
9994
  {
9991
9995
  intensity: 5,
9992
9996
  "rotation-x": Math.PI / 2,
@@ -9995,7 +9999,7 @@ function Jh({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
9995
9999
  }
9996
10000
  ),
9997
10001
  /* @__PURE__ */ s.jsx("group", { rotation: [0, 0.5, 0], children: /* @__PURE__ */ s.jsx("group", { children: e.map((t, r) => /* @__PURE__ */ s.jsx(
9998
- Vt,
10002
+ zt,
9999
10003
  {
10000
10004
  form: "circle",
10001
10005
  intensity: 5,
@@ -10006,7 +10010,7 @@ function Jh({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
10006
10010
  r
10007
10011
  )) }) }),
10008
10012
  /* @__PURE__ */ s.jsx(
10009
- Vt,
10013
+ zt,
10010
10014
  {
10011
10015
  intensity: 40,
10012
10016
  "rotation-y": Math.PI / 2,
@@ -10015,7 +10019,7 @@ function Jh({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
10015
10019
  }
10016
10020
  ),
10017
10021
  /* @__PURE__ */ s.jsx(
10018
- Vt,
10022
+ zt,
10019
10023
  {
10020
10024
  intensity: 20,
10021
10025
  "rotation-y": -Math.PI,
@@ -10024,7 +10028,7 @@ function Jh({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
10024
10028
  }
10025
10029
  ),
10026
10030
  /* @__PURE__ */ s.jsx(
10027
- Vt,
10031
+ zt,
10028
10032
  {
10029
10033
  "rotation-y": Math.PI / 2,
10030
10034
  position: [-5, -1, -1],
@@ -10033,7 +10037,7 @@ function Jh({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
10033
10037
  }
10034
10038
  ),
10035
10039
  /* @__PURE__ */ s.jsx(
10036
- Vt,
10040
+ zt,
10037
10041
  {
10038
10042
  "rotation-y": -Math.PI / 2,
10039
10043
  position: [10, 1, 0],
@@ -10042,7 +10046,7 @@ function Jh({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
10042
10046
  }
10043
10047
  ),
10044
10048
  /* @__PURE__ */ s.jsx(
10045
- Vt,
10049
+ zt,
10046
10050
  {
10047
10051
  form: "ring",
10048
10052
  color: "white",
@@ -10182,7 +10186,7 @@ function Zr(e, t, r) {
10182
10186
  function dt(e) {
10183
10187
  return e.length;
10184
10188
  }
10185
- function Ta(e) {
10189
+ function Ea(e) {
10186
10190
  return e.length;
10187
10191
  }
10188
10192
  function bn(e, t) {
@@ -10191,30 +10195,30 @@ function bn(e, t) {
10191
10195
  function tm(e, t) {
10192
10196
  return e.map(t).join("");
10193
10197
  }
10194
- var uo = 1, vr = 1, Sl = 0, Fe = 0, be = 0, wr = "";
10198
+ var uo = 1, Sr = 1, Sl = 0, Fe = 0, be = 0, jr = "";
10195
10199
  function co(e, t, r, n, o, a, i) {
10196
- return { value: e, root: t, parent: r, type: n, props: o, children: a, line: uo, column: vr, length: i, return: "" };
10200
+ return { value: e, root: t, parent: r, type: n, props: o, children: a, line: uo, column: Sr, length: i, return: "" };
10197
10201
  }
10198
- function Dr(e, t) {
10202
+ function Br(e, t) {
10199
10203
  return Zh(co("", null, null, "", null, null, 0), e, { length: -e.length }, t);
10200
10204
  }
10201
10205
  function rm() {
10202
10206
  return be;
10203
10207
  }
10204
10208
  function nm() {
10205
- return be = Fe > 0 ? Ae(wr, --Fe) : 0, vr--, be === 10 && (vr = 1, uo--), be;
10209
+ return be = Fe > 0 ? Ae(jr, --Fe) : 0, Sr--, be === 10 && (Sr = 1, uo--), be;
10206
10210
  }
10207
10211
  function Ge() {
10208
- return be = Fe < Sl ? Ae(wr, Fe++) : 0, vr++, be === 10 && (vr = 1, uo++), be;
10212
+ return be = Fe < Sl ? Ae(jr, Fe++) : 0, Sr++, be === 10 && (Sr = 1, uo++), be;
10209
10213
  }
10210
10214
  function ft() {
10211
- return Ae(wr, Fe);
10215
+ return Ae(jr, Fe);
10212
10216
  }
10213
- function Tn() {
10217
+ function En() {
10214
10218
  return Fe;
10215
10219
  }
10216
10220
  function ln(e, t) {
10217
- return Zr(wr, e, t);
10221
+ return Zr(jr, e, t);
10218
10222
  }
10219
10223
  function Qr(e) {
10220
10224
  switch (e) {
@@ -10249,12 +10253,12 @@ function Qr(e) {
10249
10253
  return 0;
10250
10254
  }
10251
10255
  function xl(e) {
10252
- return uo = vr = 1, Sl = dt(wr = e), Fe = 0, [];
10256
+ return uo = Sr = 1, Sl = dt(jr = e), Fe = 0, [];
10253
10257
  }
10254
10258
  function wl(e) {
10255
- return wr = "", e;
10259
+ return jr = "", e;
10256
10260
  }
10257
- function En(e) {
10261
+ function Tn(e) {
10258
10262
  return bl(ln(Fe - 1, la(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
10259
10263
  }
10260
10264
  function om(e) {
@@ -10265,7 +10269,7 @@ function om(e) {
10265
10269
  function am(e, t) {
10266
10270
  for (; --t && Ge() && !(be < 48 || be > 102 || be > 57 && be < 65 || be > 70 && be < 97); )
10267
10271
  ;
10268
- return ln(e, Tn() + (t < 6 && ft() == 32 && Ge() == 32));
10272
+ return ln(e, En() + (t < 6 && ft() == 32 && Ge() == 32));
10269
10273
  }
10270
10274
  function la(e) {
10271
10275
  for (; Ge(); )
@@ -10304,13 +10308,13 @@ function kn(e, t, r, n, o, a, i, l, u) {
10304
10308
  switch (y = j, j = Ge()) {
10305
10309
  case 40:
10306
10310
  if (y != 108 && Ae(O, m - 1) == 58) {
10307
- ia(O += re(En(j), "&", "&\f"), "&\f") != -1 && (x = -1);
10311
+ ia(O += re(Tn(j), "&", "&\f"), "&\f") != -1 && (x = -1);
10308
10312
  break;
10309
10313
  }
10310
10314
  case 34:
10311
10315
  case 39:
10312
10316
  case 91:
10313
- O += En(j);
10317
+ O += Tn(j);
10314
10318
  break;
10315
10319
  case 9:
10316
10320
  case 10:
@@ -10319,13 +10323,13 @@ function kn(e, t, r, n, o, a, i, l, u) {
10319
10323
  O += om(y);
10320
10324
  break;
10321
10325
  case 92:
10322
- O += am(Tn() - 1, 7);
10326
+ O += am(En() - 1, 7);
10323
10327
  continue;
10324
10328
  case 47:
10325
10329
  switch (ft()) {
10326
10330
  case 42:
10327
10331
  case 47:
10328
- bn(um(sm(Ge(), Tn()), t, r), u);
10332
+ bn(um(sm(Ge(), En()), t, r), u);
10329
10333
  break;
10330
10334
  default:
10331
10335
  O += "/";
@@ -10341,7 +10345,7 @@ function kn(e, t, r, n, o, a, i, l, u) {
10341
10345
  case 125:
10342
10346
  g = 0;
10343
10347
  case 59 + d:
10344
- x == -1 && (O = re(O, /\f/g, "")), v > 0 && dt(O) - m && bn(v > 32 ? Ts(O + ";", n, r, m - 1) : Ts(re(O, " ", "") + ";", n, r, m - 2), u);
10348
+ x == -1 && (O = re(O, /\f/g, "")), v > 0 && dt(O) - m && bn(v > 32 ? Es(O + ";", n, r, m - 1) : Es(re(O, " ", "") + ";", n, r, m - 2), u);
10345
10349
  break;
10346
10350
  case 59:
10347
10351
  O += ";";
@@ -10380,7 +10384,7 @@ function kn(e, t, r, n, o, a, i, l, u) {
10380
10384
  l[c++] = (dt(O) - 1) * x, x = 1;
10381
10385
  break;
10382
10386
  case 64:
10383
- ft() === 45 && (O += En(Ge())), h = ft(), d = m = dt(C = O += im(Tn())), j++;
10387
+ ft() === 45 && (O += Tn(Ge())), h = ft(), d = m = dt(C = O += im(En())), j++;
10384
10388
  break;
10385
10389
  case 45:
10386
10390
  y === 45 && dt(O) == 2 && (_ = 0);
@@ -10389,7 +10393,7 @@ function kn(e, t, r, n, o, a, i, l, u) {
10389
10393
  return a;
10390
10394
  }
10391
10395
  function Is(e, t, r, n, o, a, i, l, u, c, d) {
10392
- for (var m = o - 1, h = o === 0 ? a : [""], v = Ta(h), y = 0, _ = 0, g = 0; y < n; ++y)
10396
+ for (var m = o - 1, h = o === 0 ? a : [""], v = Ea(h), y = 0, _ = 0, g = 0; y < n; ++y)
10393
10397
  for (var x = 0, j = Zr(e, m + 1, m = Yh(_ = i[y])), C = e; x < v; ++x)
10394
10398
  (C = bl(_ > 0 ? h[x] + " " + j : re(j, /&\f/g, h[x]))) && (u[g++] = C);
10395
10399
  return co(e, t, r, o === 0 ? Ma : l, u, c, d);
@@ -10397,11 +10401,11 @@ function Is(e, t, r, n, o, a, i, l, u, c, d) {
10397
10401
  function um(e, t, r) {
10398
10402
  return co(e, t, r, _l, lo(rm()), Zr(e, 2, -2), 0);
10399
10403
  }
10400
- function Ts(e, t, r, n) {
10404
+ function Es(e, t, r, n) {
10401
10405
  return co(e, t, r, Ia, Zr(e, 0, n), Zr(e, n + 1, -1), n);
10402
10406
  }
10403
- function pr(e, t) {
10404
- for (var r = "", n = Ta(e), o = 0; o < n; o++)
10407
+ function yr(e, t) {
10408
+ for (var r = "", n = Ea(e), o = 0; o < n; o++)
10405
10409
  r += t(e[o], o, e, t) || "";
10406
10410
  return r;
10407
10411
  }
@@ -10415,14 +10419,14 @@ function cm(e, t, r, n) {
10415
10419
  case _l:
10416
10420
  return "";
10417
10421
  case vl:
10418
- return e.return = e.value + "{" + pr(e.children, n) + "}";
10422
+ return e.return = e.value + "{" + yr(e.children, n) + "}";
10419
10423
  case Ma:
10420
10424
  e.value = e.props.join(",");
10421
10425
  }
10422
- return dt(r = pr(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
10426
+ return dt(r = yr(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
10423
10427
  }
10424
10428
  function dm(e) {
10425
- var t = Ta(e);
10429
+ var t = Ea(e);
10426
10430
  return function(r, n, o, a) {
10427
10431
  for (var i = "", l = 0; l < t; l++)
10428
10432
  i += e[l](r, n, o, a) || "";
@@ -10446,7 +10450,7 @@ var mm = function(t, r, n) {
10446
10450
  o === 38 && ft() === 12 && (r[n] = 1), t[n] += mm(Fe - 1, r, n);
10447
10451
  break;
10448
10452
  case 2:
10449
- t[n] += En(o);
10453
+ t[n] += Tn(o);
10450
10454
  break;
10451
10455
  case 4:
10452
10456
  if (o === 44) {
@@ -10460,14 +10464,14 @@ var mm = function(t, r, n) {
10460
10464
  return t;
10461
10465
  }, pm = function(t, r) {
10462
10466
  return wl(fm(xl(t), r));
10463
- }, Es = /* @__PURE__ */ new WeakMap(), gm = function(t) {
10467
+ }, Ts = /* @__PURE__ */ new WeakMap(), gm = function(t) {
10464
10468
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
10465
10469
  // negative .length indicates that this rule has been already prefixed
10466
10470
  t.length < 1)) {
10467
10471
  for (var r = t.value, n = t.parent, o = t.column === n.column && t.line === n.line; n.type !== "rule"; )
10468
10472
  if (n = n.parent, !n) return;
10469
- if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Es.get(n)) && !o) {
10470
- Es.set(t, !0);
10473
+ if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Ts.get(n)) && !o) {
10474
+ Ts.set(t, !0);
10471
10475
  for (var a = [], i = pm(r, a), l = n.props, u = 0, c = 0; u < i.length; u++)
10472
10476
  for (var d = 0; d < l.length; d++, c++)
10473
10477
  t.props[c] = a[u] ? i[u].replace(/&\f/g, l[d]) : l[d] + " " + i[u];
@@ -10598,7 +10602,7 @@ var _m = function(t, r, n, o) {
10598
10602
  t.return = jl(t.value, t.length);
10599
10603
  break;
10600
10604
  case vl:
10601
- return pr([Dr(t, {
10605
+ return yr([Br(t, {
10602
10606
  value: re(t.value, "@", "@" + te)
10603
10607
  })], o);
10604
10608
  case Ma:
@@ -10606,15 +10610,15 @@ var _m = function(t, r, n, o) {
10606
10610
  switch (em(a, /(::plac\w+|:read-\w+)/)) {
10607
10611
  case ":read-only":
10608
10612
  case ":read-write":
10609
- return pr([Dr(t, {
10613
+ return yr([Br(t, {
10610
10614
  props: [re(a, /:(read-\w+)/, ":" + Kn + "$1")]
10611
10615
  })], o);
10612
10616
  case "::placeholder":
10613
- return pr([Dr(t, {
10617
+ return yr([Br(t, {
10614
10618
  props: [re(a, /:(plac\w+)/, ":" + te + "input-$1")]
10615
- }), Dr(t, {
10619
+ }), Br(t, {
10616
10620
  props: [re(a, /:(plac\w+)/, ":" + Kn + "$1")]
10617
- }), Dr(t, {
10621
+ }), Br(t, {
10618
10622
  props: [re(a, /:(plac\w+)/, Oe + "input-$1")]
10619
10623
  })], o);
10620
10624
  }
@@ -10646,7 +10650,7 @@ var _m = function(t, r, n, o) {
10646
10650
  var d, m = [cm, hm(function(_) {
10647
10651
  d.insert(_);
10648
10652
  })], h = dm(c.concat(o, m)), v = function(g) {
10649
- return pr(lm(g), h);
10653
+ return yr(lm(g), h);
10650
10654
  };
10651
10655
  u = function(g, x, j, C) {
10652
10656
  d = j, v(g ? g + "{" + x.styles + "}" : x.styles), C && (y.inserted[x.name] = !0);
@@ -10842,14 +10846,14 @@ function Ml(e) {
10842
10846
  }
10843
10847
  const Cm = {
10844
10848
  borderRadius: 4
10845
- }, Nt = process.env.NODE_ENV !== "production" ? f.oneOfType([f.number, f.string, f.object, f.array]) : {};
10849
+ }, Ft = process.env.NODE_ENV !== "production" ? f.oneOfType([f.number, f.string, f.object, f.array]) : {};
10846
10850
  function Gr(e, t) {
10847
10851
  return t ? Qe(e, t, {
10848
10852
  clone: !1
10849
10853
  // No need to clone deep, it's way faster.
10850
10854
  }) : e;
10851
10855
  }
10852
- const Ea = {
10856
+ const Ta = {
10853
10857
  xs: 0,
10854
10858
  // phone
10855
10859
  sm: 600,
@@ -10864,7 +10868,7 @@ const Ea = {
10864
10868
  // Sorted ASC by size. That's important.
10865
10869
  // It can't be configured as it's used statically for propTypes.
10866
10870
  keys: ["xs", "sm", "md", "lg", "xl"],
10867
- up: (e) => `@media (min-width:${Ea[e]}px)`
10871
+ up: (e) => `@media (min-width:${Ta[e]}px)`
10868
10872
  };
10869
10873
  function at(e, t, r) {
10870
10874
  const n = e.theme || {};
@@ -10875,7 +10879,7 @@ function at(e, t, r) {
10875
10879
  if (typeof t == "object") {
10876
10880
  const a = n.breakpoints || ks;
10877
10881
  return Object.keys(t).reduce((i, l) => {
10878
- if (Object.keys(a.values || Ea).indexOf(l) !== -1) {
10882
+ if (Object.keys(a.values || Ta).indexOf(l) !== -1) {
10879
10883
  const u = a.up(l);
10880
10884
  i[u] = r(t[l], l);
10881
10885
  } else {
@@ -10894,7 +10898,7 @@ function Il(e = {}) {
10894
10898
  return n[a] = {}, n;
10895
10899
  }, {})) || {};
10896
10900
  }
10897
- function Tl(e, t) {
10901
+ function El(e, t) {
10898
10902
  return e.reduce((r, n) => {
10899
10903
  const o = r[n];
10900
10904
  return (!o || Object.keys(o).length === 0) && delete r[n], r;
@@ -10902,7 +10906,7 @@ function Tl(e, t) {
10902
10906
  }
10903
10907
  function Am(e, ...t) {
10904
10908
  const r = Il(e), n = [r, ...t].reduce((o, a) => Qe(o, a), {});
10905
- return Tl(Object.keys(r), n);
10909
+ return El(Object.keys(r), n);
10906
10910
  }
10907
10911
  function Pm(e, t) {
10908
10912
  if (typeof e != "object")
@@ -10966,7 +10970,7 @@ function ye(e) {
10966
10970
  });
10967
10971
  };
10968
10972
  return a.propTypes = process.env.NODE_ENV !== "production" ? {
10969
- [t]: Nt
10973
+ [t]: Ft
10970
10974
  } : {}, a.filterProps = [t], a;
10971
10975
  }
10972
10976
  function Mm(e) {
@@ -10976,7 +10980,7 @@ function Mm(e) {
10976
10980
  const Im = {
10977
10981
  m: "margin",
10978
10982
  p: "padding"
10979
- }, Tm = {
10983
+ }, Em = {
10980
10984
  t: "Top",
10981
10985
  r: "Right",
10982
10986
  b: "Bottom",
@@ -10988,13 +10992,13 @@ const Im = {
10988
10992
  marginY: "my",
10989
10993
  paddingX: "px",
10990
10994
  paddingY: "py"
10991
- }, Em = Mm((e) => {
10995
+ }, Tm = Mm((e) => {
10992
10996
  if (e.length > 2)
10993
10997
  if (Ls[e])
10994
10998
  e = Ls[e];
10995
10999
  else
10996
11000
  return [e];
10997
- const [t, r] = e.split(""), n = Im[t], o = Tm[r] || "";
11001
+ const [t, r] = e.split(""), n = Im[t], o = Em[r] || "";
10998
11002
  return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
10999
11003
  }), mo = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], fo = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], km = [...mo, ...fo];
11000
11004
  function un(e, t, r, n) {
@@ -11009,36 +11013,36 @@ function un(e, t, r, n) {
11009
11013
  function ka(e) {
11010
11014
  return un(e, "spacing", 8, "spacing");
11011
11015
  }
11012
- function Ht(e, t) {
11016
+ function Xt(e, t) {
11013
11017
  if (typeof t == "string" || t == null)
11014
11018
  return t;
11015
11019
  const r = Math.abs(t), n = e(r);
11016
11020
  return t >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
11017
11021
  }
11018
11022
  function Lm(e, t) {
11019
- return (r) => e.reduce((n, o) => (n[o] = Ht(t, r), n), {});
11023
+ return (r) => e.reduce((n, o) => (n[o] = Xt(t, r), n), {});
11020
11024
  }
11021
11025
  function $m(e, t, r, n) {
11022
11026
  if (t.indexOf(r) === -1)
11023
11027
  return null;
11024
- const o = Em(r), a = Lm(o, n), i = e[r];
11028
+ const o = Tm(r), a = Lm(o, n), i = e[r];
11025
11029
  return at(e, i, a);
11026
11030
  }
11027
- function El(e, t) {
11031
+ function Tl(e, t) {
11028
11032
  const r = ka(e.theme);
11029
11033
  return Object.keys(e).map((n) => $m(e, t, n, r)).reduce(Gr, {});
11030
11034
  }
11031
11035
  function me(e) {
11032
- return El(e, mo);
11036
+ return Tl(e, mo);
11033
11037
  }
11034
- me.propTypes = process.env.NODE_ENV !== "production" ? mo.reduce((e, t) => (e[t] = Nt, e), {}) : {};
11038
+ me.propTypes = process.env.NODE_ENV !== "production" ? mo.reduce((e, t) => (e[t] = Ft, e), {}) : {};
11035
11039
  me.filterProps = mo;
11036
11040
  function fe(e) {
11037
- return El(e, fo);
11041
+ return Tl(e, fo);
11038
11042
  }
11039
- fe.propTypes = process.env.NODE_ENV !== "production" ? fo.reduce((e, t) => (e[t] = Nt, e), {}) : {};
11043
+ fe.propTypes = process.env.NODE_ENV !== "production" ? fo.reduce((e, t) => (e[t] = Ft, e), {}) : {};
11040
11044
  fe.filterProps = fo;
11041
- process.env.NODE_ENV !== "production" && km.reduce((e, t) => (e[t] = Nt, e), {});
11045
+ process.env.NODE_ENV !== "production" && km.reduce((e, t) => (e[t] = Ft, e), {});
11042
11046
  function Nm(e = 8) {
11043
11047
  if (e.mui)
11044
11048
  return e;
@@ -11069,54 +11073,54 @@ function tt(e, t) {
11069
11073
  const Fm = tt("border", Ye), Dm = tt("borderTop", Ye), Bm = tt("borderRight", Ye), Um = tt("borderBottom", Ye), Jm = tt("borderLeft", Ye), Vm = tt("borderColor"), zm = tt("borderTopColor"), Gm = tt("borderRightColor"), Wm = tt("borderBottomColor"), Km = tt("borderLeftColor"), Hm = tt("outline", Ye), Xm = tt("outlineColor"), go = (e) => {
11070
11074
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
11071
11075
  const t = un(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
11072
- borderRadius: Ht(t, n)
11076
+ borderRadius: Xt(t, n)
11073
11077
  });
11074
11078
  return at(e, e.borderRadius, r);
11075
11079
  }
11076
11080
  return null;
11077
11081
  };
11078
11082
  go.propTypes = process.env.NODE_ENV !== "production" ? {
11079
- borderRadius: Nt
11083
+ borderRadius: Ft
11080
11084
  } : {};
11081
11085
  go.filterProps = ["borderRadius"];
11082
11086
  po(Fm, Dm, Bm, Um, Jm, Vm, zm, Gm, Wm, Km, go, Hm, Xm);
11083
11087
  const yo = (e) => {
11084
11088
  if (e.gap !== void 0 && e.gap !== null) {
11085
11089
  const t = un(e.theme, "spacing", 8, "gap"), r = (n) => ({
11086
- gap: Ht(t, n)
11090
+ gap: Xt(t, n)
11087
11091
  });
11088
11092
  return at(e, e.gap, r);
11089
11093
  }
11090
11094
  return null;
11091
11095
  };
11092
11096
  yo.propTypes = process.env.NODE_ENV !== "production" ? {
11093
- gap: Nt
11097
+ gap: Ft
11094
11098
  } : {};
11095
11099
  yo.filterProps = ["gap"];
11096
11100
  const _o = (e) => {
11097
11101
  if (e.columnGap !== void 0 && e.columnGap !== null) {
11098
11102
  const t = un(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
11099
- columnGap: Ht(t, n)
11103
+ columnGap: Xt(t, n)
11100
11104
  });
11101
11105
  return at(e, e.columnGap, r);
11102
11106
  }
11103
11107
  return null;
11104
11108
  };
11105
11109
  _o.propTypes = process.env.NODE_ENV !== "production" ? {
11106
- columnGap: Nt
11110
+ columnGap: Ft
11107
11111
  } : {};
11108
11112
  _o.filterProps = ["columnGap"];
11109
11113
  const vo = (e) => {
11110
11114
  if (e.rowGap !== void 0 && e.rowGap !== null) {
11111
11115
  const t = un(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
11112
- rowGap: Ht(t, n)
11116
+ rowGap: Xt(t, n)
11113
11117
  });
11114
11118
  return at(e, e.rowGap, r);
11115
11119
  }
11116
11120
  return null;
11117
11121
  };
11118
11122
  vo.propTypes = process.env.NODE_ENV !== "production" ? {
11119
- rowGap: Nt
11123
+ rowGap: Ft
11120
11124
  } : {};
11121
11125
  vo.filterProps = ["rowGap"];
11122
11126
  const qm = ye({
@@ -11139,22 +11143,22 @@ const qm = ye({
11139
11143
  prop: "gridArea"
11140
11144
  });
11141
11145
  po(yo, _o, vo, qm, Ym, Zm, Qm, ef, tf, rf, nf, of);
11142
- function gr(e, t) {
11146
+ function _r(e, t) {
11143
11147
  return t === "grey" ? t : e;
11144
11148
  }
11145
11149
  const af = ye({
11146
11150
  prop: "color",
11147
11151
  themeKey: "palette",
11148
- transform: gr
11152
+ transform: _r
11149
11153
  }), sf = ye({
11150
11154
  prop: "bgcolor",
11151
11155
  cssProperty: "backgroundColor",
11152
11156
  themeKey: "palette",
11153
- transform: gr
11157
+ transform: _r
11154
11158
  }), lf = ye({
11155
11159
  prop: "backgroundColor",
11156
11160
  themeKey: "palette",
11157
- transform: gr
11161
+ transform: _r
11158
11162
  });
11159
11163
  po(af, sf, lf);
11160
11164
  function Ve(e) {
@@ -11167,7 +11171,7 @@ const uf = ye({
11167
11171
  if (e.maxWidth !== void 0 && e.maxWidth !== null) {
11168
11172
  const t = (r) => {
11169
11173
  var n, o;
11170
- const a = ((n = e.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[r]) || Ea[r];
11174
+ const a = ((n = e.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[r]) || Ta[r];
11171
11175
  return a ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
11172
11176
  maxWidth: `${a}${e.theme.breakpoints.unit}`
11173
11177
  } : {
@@ -11259,16 +11263,16 @@ const cn = {
11259
11263
  // palette
11260
11264
  color: {
11261
11265
  themeKey: "palette",
11262
- transform: gr
11266
+ transform: _r
11263
11267
  },
11264
11268
  bgcolor: {
11265
11269
  themeKey: "palette",
11266
11270
  cssProperty: "backgroundColor",
11267
- transform: gr
11271
+ transform: _r
11268
11272
  },
11269
11273
  backgroundColor: {
11270
11274
  themeKey: "palette",
11271
- transform: gr
11275
+ transform: _r
11272
11276
  },
11273
11277
  // spacing
11274
11278
  p: {
@@ -11568,7 +11572,7 @@ function kl() {
11568
11572
  }
11569
11573
  else
11570
11574
  h = Gr(h, e(v, y, a, i));
11571
- }), Tl(m, h);
11575
+ }), El(m, h);
11572
11576
  }
11573
11577
  return Array.isArray(o) ? o.map(l) : l(o);
11574
11578
  }
@@ -11821,15 +11825,15 @@ function Of() {
11821
11825
  case d:
11822
11826
  return he;
11823
11827
  default:
11824
- var Ee = he && he.$$typeof;
11825
- switch (Ee) {
11828
+ var Te = he && he.$$typeof;
11829
+ switch (Te) {
11826
11830
  case l:
11827
11831
  case i:
11828
11832
  case u:
11829
11833
  case h:
11830
11834
  case m:
11831
11835
  case a:
11832
- return Ee;
11836
+ return Te;
11833
11837
  default:
11834
11838
  return Z;
11835
11839
  }
@@ -11840,7 +11844,7 @@ function Of() {
11840
11844
  }
11841
11845
  }
11842
11846
  var P = i, O = a, z = e, ae = u, ie = r, F = h, H = m, V = t, X = o, K = n, xe = c, se = d, Y = !1, Ce = !1;
11843
- function Te(I) {
11847
+ function Ee(I) {
11844
11848
  return Y || (Y = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
11845
11849
  }
11846
11850
  function rt(I) {
@@ -11873,7 +11877,7 @@ function Of() {
11873
11877
  function ct(I) {
11874
11878
  return R(I) === o;
11875
11879
  }
11876
- function Ft(I) {
11880
+ function Dt(I) {
11877
11881
  return R(I) === n;
11878
11882
  }
11879
11883
  function bt(I) {
@@ -11882,7 +11886,7 @@ function Of() {
11882
11886
  function Ue(I) {
11883
11887
  return R(I) === d;
11884
11888
  }
11885
- oe.ContextConsumer = P, oe.ContextProvider = O, oe.Element = z, oe.ForwardRef = ae, oe.Fragment = ie, oe.Lazy = F, oe.Memo = H, oe.Portal = V, oe.Profiler = X, oe.StrictMode = K, oe.Suspense = xe, oe.SuspenseList = se, oe.isAsyncMode = Te, oe.isConcurrentMode = rt, oe.isContextConsumer = vt, oe.isContextProvider = We, oe.isElement = we, oe.isForwardRef = Pt, oe.isFragment = lt, oe.isLazy = Ke, oe.isMemo = Be, oe.isPortal = ut, oe.isProfiler = ct, oe.isStrictMode = Ft, oe.isSuspense = bt, oe.isSuspenseList = Ue, oe.isValidElementType = k, oe.typeOf = R;
11889
+ oe.ContextConsumer = P, oe.ContextProvider = O, oe.Element = z, oe.ForwardRef = ae, oe.Fragment = ie, oe.Lazy = F, oe.Memo = H, oe.Portal = V, oe.Profiler = X, oe.StrictMode = K, oe.Suspense = xe, oe.SuspenseList = se, oe.isAsyncMode = Ee, oe.isConcurrentMode = rt, oe.isContextConsumer = vt, oe.isContextProvider = We, oe.isElement = we, oe.isForwardRef = Pt, oe.isFragment = lt, oe.isLazy = Ke, oe.isMemo = Be, oe.isPortal = ut, oe.isProfiler = ct, oe.isStrictMode = Dt, oe.isSuspense = bt, oe.isSuspenseList = Ue, oe.isValidElementType = k, oe.typeOf = R;
11886
11890
  }()), oe;
11887
11891
  }
11888
11892
  process.env.NODE_ENV === "production" ? ca.exports = Pf() : ca.exports = Of();
@@ -11920,7 +11924,7 @@ const If = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11920
11924
  __proto__: null,
11921
11925
  default: Jl,
11922
11926
  getFunctionName: Bl
11923
- }, Symbol.toStringTag, { value: "Module" })), Tf = ["ownerState"], Ef = ["variants"], kf = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
11927
+ }, Symbol.toStringTag, { value: "Module" })), Ef = ["ownerState"], Tf = ["variants"], kf = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
11924
11928
  function Lf(e) {
11925
11929
  return Object.keys(e).length === 0;
11926
11930
  }
@@ -11947,7 +11951,7 @@ function Ff(e) {
11947
11951
  function Ln(e, t) {
11948
11952
  let {
11949
11953
  ownerState: r
11950
- } = t, n = De(t, Tf);
11954
+ } = t, n = De(t, Ef);
11951
11955
  const o = typeof e == "function" ? e(A({
11952
11956
  ownerState: r
11953
11957
  }, n)) : e;
@@ -11959,7 +11963,7 @@ function Ln(e, t) {
11959
11963
  const {
11960
11964
  variants: a = []
11961
11965
  } = o;
11962
- let l = De(o, Ef);
11966
+ let l = De(o, Tf);
11963
11967
  return a.forEach((u) => {
11964
11968
  let c = !0;
11965
11969
  typeof u.props == "function" ? c = u.props(A({
@@ -12092,12 +12096,12 @@ function Jf({
12092
12096
  });
12093
12097
  }
12094
12098
  const $a = typeof window < "u" ? $.useLayoutEffect : $.useEffect;
12095
- function fr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
12099
+ function pr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
12096
12100
  return Math.max(t, Math.min(e, r));
12097
12101
  }
12098
12102
  const Vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12099
12103
  __proto__: null,
12100
- default: fr
12104
+ default: pr
12101
12105
  }, Symbol.toStringTag, { value: "Module" }));
12102
12106
  function Js(e, t) {
12103
12107
  return process.env.NODE_ENV === "production" ? () => null : function(...n) {
@@ -12137,11 +12141,11 @@ function Kf(e, t) {
12137
12141
  (r = e.type.muiName) != null ? r : (n = e.type) == null || (n = n._payload) == null || (n = n.value) == null ? void 0 : n.muiName
12138
12142
  ) !== -1;
12139
12143
  }
12140
- function yr(e) {
12144
+ function vr(e) {
12141
12145
  return e && e.ownerDocument || document;
12142
12146
  }
12143
12147
  function Hf(e) {
12144
- return yr(e).defaultView || window;
12148
+ return vr(e).defaultView || window;
12145
12149
  }
12146
12150
  function Xf(e, t) {
12147
12151
  if (process.env.NODE_ENV === "production")
@@ -12382,7 +12386,7 @@ function u0(e, t, r) {
12382
12386
  return typeof e == "function" ? e(t, r) : e;
12383
12387
  }
12384
12388
  const c0 = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
12385
- function Et(e) {
12389
+ function Tt(e) {
12386
12390
  var t;
12387
12391
  const {
12388
12392
  elementType: r,
@@ -12484,7 +12488,7 @@ const S0 = (e) => ({
12484
12488
  }), r = Qe(r, at({
12485
12489
  theme: t
12486
12490
  }, i, (u, c) => e.useFlexGap ? {
12487
- gap: Ht(n, u)
12491
+ gap: Xt(n, u)
12488
12492
  } : {
12489
12493
  // The useFlexGap={false} implement relies on each child to give up control of the margin.
12490
12494
  // We need to reset the margin to avoid double spacing.
@@ -12492,7 +12496,7 @@ const S0 = (e) => ({
12492
12496
  margin: 0
12493
12497
  },
12494
12498
  "& > :not(style) ~ :not(style)": {
12495
- [`margin${S0(c ? a[c] : e.direction)}`]: Ht(n, u)
12499
+ [`margin${S0(c ? a[c] : e.direction)}`]: Xt(n, u)
12496
12500
  }
12497
12501
  }));
12498
12502
  }
@@ -12577,14 +12581,14 @@ function R0() {
12577
12581
  }(Go)), Go.exports;
12578
12582
  }
12579
12583
  const C0 = /* @__PURE__ */ jt(xm), A0 = /* @__PURE__ */ jt(wm), P0 = /* @__PURE__ */ jt(Om), O0 = /* @__PURE__ */ jt(If), M0 = /* @__PURE__ */ jt(_f), I0 = /* @__PURE__ */ jt(Rf);
12580
- var jr = So;
12584
+ var Rr = So;
12581
12585
  Object.defineProperty(fn, "__esModule", {
12582
12586
  value: !0
12583
12587
  });
12584
- var T0 = fn.default = W0;
12588
+ var E0 = fn.default = W0;
12585
12589
  fn.shouldForwardProp = Fn;
12586
12590
  fn.systemDefaultTheme = void 0;
12587
- var qe = jr(j0()), ha = jr(R0()), Hs = U0(C0), E0 = A0, k0 = jr(P0), L0 = jr(O0), $0 = jr(M0), N0 = jr(I0);
12591
+ var qe = Rr(j0()), ha = Rr(R0()), Hs = U0(C0), T0 = A0, k0 = Rr(P0), L0 = Rr(O0), $0 = Rr(M0), N0 = Rr(I0);
12588
12592
  const F0 = ["ownerState"], D0 = ["variants"], B0 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
12589
12593
  function Kl(e) {
12590
12594
  if (typeof WeakMap != "function") return null;
@@ -12691,7 +12695,7 @@ function W0(e = {}) {
12691
12695
  const j = (0, Hs.default)(i, (0, qe.default)({
12692
12696
  shouldForwardProp: x,
12693
12697
  label: g
12694
- }, v)), C = (R) => typeof R == "function" && R.__emotion_real !== R || (0, E0.isPlainObject)(R) ? (P) => Dn(R, (0, qe.default)({}, P, {
12698
+ }, v)), C = (R) => typeof R == "function" && R.__emotion_real !== R || (0, T0.isPlainObject)(R) ? (P) => Dn(R, (0, qe.default)({}, P, {
12695
12699
  theme: xn({
12696
12700
  theme: P.theme,
12697
12701
  defaultTheme: r,
@@ -12777,7 +12781,7 @@ _e.private_safeColorChannel = void 0;
12777
12781
  _e.private_safeDarken = rp;
12778
12782
  _e.private_safeEmphasize = op;
12779
12783
  _e.private_safeLighten = np;
12780
- _e.recomposeColor = Rr;
12784
+ _e.recomposeColor = Cr;
12781
12785
  _e.rgbToHex = Q0;
12782
12786
  var Zs = Hl(H0), q0 = Hl(X0);
12783
12787
  function Da(e, t = 0, r = 1) {
@@ -12828,7 +12832,7 @@ const Z0 = (e, t) => {
12828
12832
  }
12829
12833
  };
12830
12834
  _e.private_safeColorChannel = Z0;
12831
- function Rr(e) {
12835
+ function Cr(e) {
12832
12836
  const {
12833
12837
  type: t,
12834
12838
  colorSpace: r
@@ -12853,7 +12857,7 @@ function Yl(e) {
12853
12857
  } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, a = n * Math.min(o, 1 - o), i = (c, d = (c + r / 30) % 12) => o - a * Math.max(Math.min(d - 3, 9 - d, 1), -1);
12854
12858
  let l = "rgb";
12855
12859
  const u = [Math.round(i(0) * 255), Math.round(i(8) * 255), Math.round(i(4) * 255)];
12856
- return e.type === "hsla" && (l += "a", u.push(t[3])), Rr({
12860
+ return e.type === "hsla" && (l += "a", u.push(t[3])), Cr({
12857
12861
  type: l,
12858
12862
  values: u
12859
12863
  });
@@ -12868,7 +12872,7 @@ function ep(e, t) {
12868
12872
  return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
12869
12873
  }
12870
12874
  function Zl(e, t) {
12871
- return e = et(e), t = Da(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Rr(e);
12875
+ return e = et(e), t = Da(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Cr(e);
12872
12876
  }
12873
12877
  function tp(e, t, r) {
12874
12878
  try {
@@ -12883,7 +12887,7 @@ function Ba(e, t) {
12883
12887
  else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
12884
12888
  for (let r = 0; r < 3; r += 1)
12885
12889
  e.values[r] *= 1 - t;
12886
- return Rr(e);
12890
+ return Cr(e);
12887
12891
  }
12888
12892
  function rp(e, t, r) {
12889
12893
  try {
@@ -12901,7 +12905,7 @@ function Ua(e, t) {
12901
12905
  else if (e.type.indexOf("color") !== -1)
12902
12906
  for (let r = 0; r < 3; r += 1)
12903
12907
  e.values[r] += (1 - e.values[r]) * t;
12904
- return Rr(e);
12908
+ return Cr(e);
12905
12909
  }
12906
12910
  function np(e, t, r) {
12907
12911
  try {
@@ -12922,7 +12926,7 @@ function op(e, t, r) {
12922
12926
  }
12923
12927
  function ap(e, t, r, n = 1) {
12924
12928
  const o = (u, c) => Math.round((u ** (1 / n) * (1 - r) + c ** (1 / n) * r) ** n), a = et(e), i = et(t), l = [o(a.values[0], i.values[0]), o(a.values[1], i.values[1]), o(a.values[2], i.values[2])];
12925
- return Rr({
12929
+ return Cr({
12926
12930
  type: "rgb",
12927
12931
  values: l
12928
12932
  });
@@ -12945,7 +12949,7 @@ const en = {
12945
12949
  A200: "#eeeeee",
12946
12950
  A400: "#bdbdbd",
12947
12951
  A700: "#616161"
12948
- }, ur = {
12952
+ }, cr = {
12949
12953
  50: "#f3e5f5",
12950
12954
  100: "#e1bee7",
12951
12955
  200: "#ce93d8",
@@ -12960,7 +12964,7 @@ const en = {
12960
12964
  A200: "#e040fb",
12961
12965
  A400: "#d500f9",
12962
12966
  A700: "#aa00ff"
12963
- }, cr = {
12967
+ }, dr = {
12964
12968
  50: "#ffebee",
12965
12969
  100: "#ffcdd2",
12966
12970
  200: "#ef9a9a",
@@ -12975,7 +12979,7 @@ const en = {
12975
12979
  A200: "#ff5252",
12976
12980
  A400: "#ff1744",
12977
12981
  A700: "#d50000"
12978
- }, Br = {
12982
+ }, Ur = {
12979
12983
  50: "#fff3e0",
12980
12984
  100: "#ffe0b2",
12981
12985
  200: "#ffcc80",
@@ -12990,7 +12994,7 @@ const en = {
12990
12994
  A200: "#ffab40",
12991
12995
  A400: "#ff9100",
12992
12996
  A700: "#ff6d00"
12993
- }, dr = {
12997
+ }, hr = {
12994
12998
  50: "#e3f2fd",
12995
12999
  100: "#bbdefb",
12996
13000
  200: "#90caf9",
@@ -13005,7 +13009,7 @@ const en = {
13005
13009
  A200: "#448aff",
13006
13010
  A400: "#2979ff",
13007
13011
  A700: "#2962ff"
13008
- }, hr = {
13012
+ }, mr = {
13009
13013
  50: "#e1f5fe",
13010
13014
  100: "#b3e5fc",
13011
13015
  200: "#81d4fa",
@@ -13020,7 +13024,7 @@ const en = {
13020
13024
  A200: "#40c4ff",
13021
13025
  A400: "#00b0ff",
13022
13026
  A700: "#0091ea"
13023
- }, mr = {
13027
+ }, fr = {
13024
13028
  50: "#e8f5e9",
13025
13029
  100: "#c8e6c9",
13026
13030
  200: "#a5d6a7",
@@ -13104,69 +13108,69 @@ function ei(e, t, r, n) {
13104
13108
  }
13105
13109
  function lp(e = "light") {
13106
13110
  return e === "dark" ? {
13107
- main: dr[200],
13108
- light: dr[50],
13109
- dark: dr[400]
13111
+ main: hr[200],
13112
+ light: hr[50],
13113
+ dark: hr[400]
13110
13114
  } : {
13111
- main: dr[700],
13112
- light: dr[400],
13113
- dark: dr[800]
13115
+ main: hr[700],
13116
+ light: hr[400],
13117
+ dark: hr[800]
13114
13118
  };
13115
13119
  }
13116
13120
  function up(e = "light") {
13117
13121
  return e === "dark" ? {
13118
- main: ur[200],
13119
- light: ur[50],
13120
- dark: ur[400]
13122
+ main: cr[200],
13123
+ light: cr[50],
13124
+ dark: cr[400]
13121
13125
  } : {
13122
- main: ur[500],
13123
- light: ur[300],
13124
- dark: ur[700]
13125
- };
13126
- }
13127
- function cp(e = "light") {
13128
- return e === "dark" ? {
13129
13126
  main: cr[500],
13130
13127
  light: cr[300],
13131
13128
  dark: cr[700]
13132
- } : {
13133
- main: cr[700],
13134
- light: cr[400],
13135
- dark: cr[800]
13136
13129
  };
13137
13130
  }
13138
- function dp(e = "light") {
13131
+ function cp(e = "light") {
13139
13132
  return e === "dark" ? {
13140
- main: hr[400],
13141
- light: hr[300],
13142
- dark: hr[700]
13133
+ main: dr[500],
13134
+ light: dr[300],
13135
+ dark: dr[700]
13143
13136
  } : {
13144
- main: hr[700],
13145
- light: hr[500],
13146
- dark: hr[900]
13137
+ main: dr[700],
13138
+ light: dr[400],
13139
+ dark: dr[800]
13147
13140
  };
13148
13141
  }
13149
- function hp(e = "light") {
13142
+ function dp(e = "light") {
13150
13143
  return e === "dark" ? {
13151
13144
  main: mr[400],
13152
13145
  light: mr[300],
13153
13146
  dark: mr[700]
13154
13147
  } : {
13155
- main: mr[800],
13148
+ main: mr[700],
13156
13149
  light: mr[500],
13157
13150
  dark: mr[900]
13158
13151
  };
13159
13152
  }
13153
+ function hp(e = "light") {
13154
+ return e === "dark" ? {
13155
+ main: fr[400],
13156
+ light: fr[300],
13157
+ dark: fr[700]
13158
+ } : {
13159
+ main: fr[800],
13160
+ light: fr[500],
13161
+ dark: fr[900]
13162
+ };
13163
+ }
13160
13164
  function mp(e = "light") {
13161
13165
  return e === "dark" ? {
13162
- main: Br[400],
13163
- light: Br[300],
13164
- dark: Br[700]
13166
+ main: Ur[400],
13167
+ light: Ur[300],
13168
+ dark: Ur[700]
13165
13169
  } : {
13166
13170
  main: "#ed6c02",
13167
13171
  // closest to orange[800] that pass 3:1.
13168
- light: Br[500],
13169
- dark: Br[900]
13172
+ light: Ur[500],
13173
+ dark: Ur[900]
13170
13174
  };
13171
13175
  }
13172
13176
  function fp(e) {
@@ -13460,7 +13464,7 @@ const Op = pa(), Mp = "$$material";
13460
13464
  function Ja(e) {
13461
13465
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
13462
13466
  }
13463
- const Ip = (e) => Ja(e) && e !== "classes", Rt = T0({
13467
+ const Ip = (e) => Ja(e) && e !== "classes", Rt = E0({
13464
13468
  themeId: Mp,
13465
13469
  defaultTheme: Op,
13466
13470
  rootShouldForwardProp: Ip
@@ -13469,7 +13473,7 @@ process.env.NODE_ENV !== "production" && (f.node, f.object.isRequired);
13469
13473
  function Va(e) {
13470
13474
  return p0(e);
13471
13475
  }
13472
- const _r = w0({
13476
+ const br = w0({
13473
13477
  createStyledComponent: Rt("div", {
13474
13478
  name: "MuiStack",
13475
13479
  slot: "Root",
@@ -13480,7 +13484,7 @@ const _r = w0({
13480
13484
  name: "MuiStack"
13481
13485
  })
13482
13486
  });
13483
- process.env.NODE_ENV !== "production" && (_r.propTypes = {
13487
+ process.env.NODE_ENV !== "production" && (br.propTypes = {
13484
13488
  // ┌────────────────────────────── Warning ──────────────────────────────┐
13485
13489
  // │ These PropTypes are generated from the TypeScript type definitions. │
13486
13490
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -13539,7 +13543,7 @@ const oi = nn(
13539
13543
  const d = r(), m = l.current;
13540
13544
  m && (m.textContent = d);
13541
13545
  });
13542
- const l = Wt(null);
13546
+ const l = Kt(null);
13543
13547
  e = e || "#F14D42";
13544
13548
  function u(d) {
13545
13549
  d.button === 0 && n("-");
@@ -13547,7 +13551,7 @@ const oi = nn(
13547
13551
  function c(d) {
13548
13552
  d.button === 0 && n("+");
13549
13553
  }
13550
- return /* @__PURE__ */ s.jsxs(_r, { height: "72px", direction: "row", ...i, children: [
13554
+ return /* @__PURE__ */ s.jsxs(br, { height: "72px", direction: "row", ...i, children: [
13551
13555
  /* @__PURE__ */ s.jsx(
13552
13556
  Hr,
13553
13557
  {
@@ -13571,7 +13575,7 @@ const oi = nn(
13571
13575
  }
13572
13576
  ),
13573
13577
  /* @__PURE__ */ s.jsxs(
13574
- _r,
13578
+ br,
13575
13579
  {
13576
13580
  spacing: "6px",
13577
13581
  sx: {
@@ -13583,7 +13587,7 @@ const oi = nn(
13583
13587
  },
13584
13588
  children: [
13585
13589
  /* @__PURE__ */ s.jsx(
13586
- _r,
13590
+ br,
13587
13591
  {
13588
13592
  height: "22px",
13589
13593
  direction: "row",
@@ -13636,11 +13640,11 @@ const oi = nn(
13636
13640
  )
13637
13641
  );
13638
13642
  var za = {}, Ko = {};
13639
- function Tp(e) {
13643
+ function Ep(e) {
13640
13644
  return mn("MuiSvgIcon", e);
13641
13645
  }
13642
13646
  Dl("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
13643
- const Ep = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], kp = (e) => {
13647
+ const Tp = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], kp = (e) => {
13644
13648
  const {
13645
13649
  color: t,
13646
13650
  fontSize: r,
@@ -13648,7 +13652,7 @@ const Ep = ["children", "className", "color", "component", "fontSize", "htmlColo
13648
13652
  } = e, o = {
13649
13653
  root: ["root", t !== "inherit" && `color${Pe(t)}`, `fontSize${Pe(r)}`]
13650
13654
  };
13651
- return Fa(o, Tp, n);
13655
+ return Fa(o, Ep, n);
13652
13656
  }, Lp = Rt("svg", {
13653
13657
  name: "MuiSvgIcon",
13654
13658
  slot: "Root",
@@ -13702,7 +13706,7 @@ const Ep = ["children", "className", "color", "component", "fontSize", "htmlColo
13702
13706
  inheritViewBox: d = !1,
13703
13707
  titleAccess: m,
13704
13708
  viewBox: h = "0 0 24 24"
13705
- } = n, v = De(n, Ep), y = /* @__PURE__ */ $.isValidElement(o) && o.type === "svg", _ = A({}, n, {
13709
+ } = n, v = De(n, Tp), y = /* @__PURE__ */ $.isValidElement(o) && o.type === "svg", _ = A({}, n, {
13706
13710
  color: i,
13707
13711
  component: l,
13708
13712
  fontSize: u,
@@ -13825,7 +13829,7 @@ const Np = {
13825
13829
  debounce: Gf,
13826
13830
  deprecatedPropType: Wf,
13827
13831
  isMuiElement: Kf,
13828
- ownerDocument: yr,
13832
+ ownerDocument: vr,
13829
13833
  ownerWindow: Hf,
13830
13834
  requirePropFactory: Xf,
13831
13835
  setRef: Vl,
@@ -13869,7 +13873,7 @@ var ru = Ga.default = void 0, zp = Vp(eu()), Gp = s;
13869
13873
  ru = Ga.default = (0, zp.default)(/* @__PURE__ */ (0, Gp.jsx)("path", {
13870
13874
  d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
13871
13875
  }), "ChevronRight");
13872
- function Xt(e) {
13876
+ function qt(e) {
13873
13877
  var t = typeof e;
13874
13878
  return e != null && (t == "object" || t == "function");
13875
13879
  }
@@ -13885,31 +13889,31 @@ var Xp = /^\s+/;
13885
13889
  function qp(e) {
13886
13890
  return e && e.slice(0, Hp(e) + 1).replace(Xp, "");
13887
13891
  }
13888
- var $t = _t.Symbol, ou = Object.prototype, Yp = ou.hasOwnProperty, Zp = ou.toString, Ur = $t ? $t.toStringTag : void 0;
13892
+ var $t = _t.Symbol, ou = Object.prototype, Yp = ou.hasOwnProperty, Zp = ou.toString, Jr = $t ? $t.toStringTag : void 0;
13889
13893
  function Qp(e) {
13890
- var t = Yp.call(e, Ur), r = e[Ur];
13894
+ var t = Yp.call(e, Jr), r = e[Jr];
13891
13895
  try {
13892
- e[Ur] = void 0;
13896
+ e[Jr] = void 0;
13893
13897
  var n = !0;
13894
13898
  } catch {
13895
13899
  }
13896
13900
  var o = Zp.call(e);
13897
- return n && (t ? e[Ur] = r : delete e[Ur]), o;
13901
+ return n && (t ? e[Jr] = r : delete e[Jr]), o;
13898
13902
  }
13899
13903
  var eg = Object.prototype, tg = eg.toString;
13900
13904
  function rg(e) {
13901
13905
  return tg.call(e);
13902
13906
  }
13903
13907
  var ng = "[object Null]", og = "[object Undefined]", si = $t ? $t.toStringTag : void 0;
13904
- function Qt(e) {
13908
+ function er(e) {
13905
13909
  return e == null ? e === void 0 ? og : ng : si && si in Object(e) ? Qp(e) : rg(e);
13906
13910
  }
13907
- function qt(e) {
13911
+ function Yt(e) {
13908
13912
  return e != null && typeof e == "object";
13909
13913
  }
13910
13914
  var ag = "[object Symbol]";
13911
13915
  function xo(e) {
13912
- return typeof e == "symbol" || qt(e) && Qt(e) == ag;
13916
+ return typeof e == "symbol" || Yt(e) && er(e) == ag;
13913
13917
  }
13914
13918
  var ii = NaN, sg = /^[-+]0x[0-9a-f]+$/i, ig = /^0b[01]+$/i, lg = /^0o[0-7]+$/i, ug = parseInt;
13915
13919
  function li(e) {
@@ -13917,9 +13921,9 @@ function li(e) {
13917
13921
  return e;
13918
13922
  if (xo(e))
13919
13923
  return ii;
13920
- if (Xt(e)) {
13924
+ if (qt(e)) {
13921
13925
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
13922
- e = Xt(t) ? t + "" : t;
13926
+ e = qt(t) ? t + "" : t;
13923
13927
  }
13924
13928
  if (typeof e != "string")
13925
13929
  return e === 0 ? e : +e;
@@ -13932,7 +13936,7 @@ function mg(e, t, r) {
13932
13936
  var n, o, a, i, l, u, c = 0, d = !1, m = !1, h = !0;
13933
13937
  if (typeof e != "function")
13934
13938
  throw new TypeError(cg);
13935
- t = li(t) || 0, Xt(r) && (d = !!r.leading, m = "maxWait" in r, a = m ? dg(li(r.maxWait) || 0, t) : a, h = "trailing" in r ? !!r.trailing : h);
13939
+ t = li(t) || 0, qt(r) && (d = !!r.leading, m = "maxWait" in r, a = m ? dg(li(r.maxWait) || 0, t) : a, h = "trailing" in r ? !!r.trailing : h);
13936
13940
  function v(P) {
13937
13941
  var O = n, z = o;
13938
13942
  return n = o = void 0, c = P, i = e.apply(z, O), i;
@@ -13980,7 +13984,7 @@ function pg(e, t, r) {
13980
13984
  var n = !0, o = !0;
13981
13985
  if (typeof e != "function")
13982
13986
  throw new TypeError(fg);
13983
- return Xt(r) && (n = "leading" in r ? !!r.leading : n, o = "trailing" in r ? !!r.trailing : o), mg(e, t, {
13987
+ return qt(r) && (n = "leading" in r ? !!r.leading : n, o = "trailing" in r ? !!r.trailing : o), mg(e, t, {
13984
13988
  leading: n,
13985
13989
  maxWait: t,
13986
13990
  trailing: o
@@ -13997,7 +14001,7 @@ const gg = nn(
13997
14001
  disabled: a,
13998
14002
  ...i
13999
14003
  }) => {
14000
- const { t: l } = br(), [u, c] = to(), d = wa(() => ({
14004
+ const { t: l } = Nt(), [u, c] = to(), d = wa(() => ({
14001
14005
  activeJoggingDir: null,
14002
14006
  startJogging(x) {
14003
14007
  this.activeJoggingDir = x, e(x);
@@ -14029,7 +14033,7 @@ const gg = nn(
14029
14033
  return x > 0 && j === 0 ? `+${C}` : C;
14030
14034
  }
14031
14035
  return /* @__PURE__ */ s.jsxs(
14032
- _r,
14036
+ br,
14033
14037
  {
14034
14038
  height: "64px",
14035
14039
  width: "100%",
@@ -14068,7 +14072,7 @@ const gg = nn(
14068
14072
  }
14069
14073
  ),
14070
14074
  /* @__PURE__ */ s.jsxs(
14071
- _r,
14075
+ br,
14072
14076
  {
14073
14077
  flexGrow: 1,
14074
14078
  alignItems: "center",
@@ -14164,29 +14168,29 @@ const gg = nn(
14164
14168
  title: e,
14165
14169
  titleId: t,
14166
14170
  ...r
14167
- }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 25, height: 24, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { stroke: "#fff", strokeLinecap: "round", strokeWidth: 1.5, d: "M18.5 12a6 6 0 1 0-6 6" }), /* @__PURE__ */ $.createElement("path", { stroke: "#fff", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m16.5 11 2 2.5 2-2.5" })), _g = Zt(yg), vg = ({
14171
+ }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 25, height: 24, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { stroke: "#fff", strokeLinecap: "round", strokeWidth: 1.5, d: "M18.5 12a6 6 0 1 0-6 6" }), /* @__PURE__ */ $.createElement("path", { stroke: "#fff", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m16.5 11 2 2.5 2-2.5" })), _g = Qt(yg), vg = ({
14168
14172
  title: e,
14169
14173
  titleId: t,
14170
14174
  ...r
14171
- }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 19, height: 10, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0", clipRule: "evenodd" })), bg = Zt(vg), Sg = ({
14175
+ }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 19, height: 10, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0", clipRule: "evenodd" })), bg = Qt(vg), Sg = ({
14172
14176
  title: e,
14173
14177
  titleId: t,
14174
14178
  ...r
14175
- }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 19, height: 10, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0", clipRule: "evenodd" })), xg = Zt(Sg), wg = ({
14179
+ }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 19, height: 10, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0", clipRule: "evenodd" })), xg = Qt(Sg), wg = ({
14176
14180
  title: e,
14177
14181
  titleId: t,
14178
14182
  ...r
14179
- }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 10, height: 19, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M9.522 14.811A.899.899 0 1 0 8.25 13.54L6.19 15.601V3.16L8.25 5.221A.9.9 0 0 0 9.522 3.95L5.926.354a.9.9 0 0 0-1.272 0L1.058 3.95a.9.9 0 1 0 1.271 1.271L4.391 3.16v12.442L2.329 13.54a.899.899 0 1 0-1.271 1.271l3.596 3.597a.9.9 0 0 0 1.272 0z", clipRule: "evenodd" })), jg = Zt(wg), Rg = ({
14183
+ }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 10, height: 19, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M9.522 14.811A.899.899 0 1 0 8.25 13.54L6.19 15.601V3.16L8.25 5.221A.9.9 0 0 0 9.522 3.95L5.926.354a.9.9 0 0 0-1.272 0L1.058 3.95a.9.9 0 1 0 1.271 1.271L4.391 3.16v12.442L2.329 13.54a.899.899 0 1 0-1.271 1.271l3.596 3.597a.9.9 0 0 0 1.272 0z", clipRule: "evenodd" })), jg = Qt(wg), Rg = ({
14180
14184
  title: e,
14181
14185
  titleId: t,
14182
14186
  ...r
14183
- }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 21, height: 21, fill: "none", viewBox: "0 0 23 22", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "currentColor", d: "m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z" })), Cg = Zt(Rg), Ag = ({
14187
+ }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 21, height: 21, fill: "none", viewBox: "0 0 23 22", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "currentColor", d: "m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z" })), Cg = Qt(Rg), Ag = ({
14184
14188
  title: e,
14185
14189
  titleId: t,
14186
14190
  ...r
14187
- }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 15, height: 17, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "currentColor", d: "M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467" })), Pg = Zt(Ag), Og = st(({ store: e }) => {
14191
+ }, n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 15, height: 17, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "currentColor", d: "M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467" })), Pg = Qt(Ag), Og = st(({ store: e }) => {
14188
14192
  var n;
14189
- const { t } = br();
14193
+ const { t } = Nt();
14190
14194
  function r(o, a) {
14191
14195
  (a === "coordsys" || a === "tool") && e.setSelectedOrientation(a);
14192
14196
  }
@@ -14207,9 +14211,9 @@ const gg = nn(
14207
14211
  },
14208
14212
  children: [
14209
14213
  /* @__PURE__ */ s.jsxs(ce, { width: "50%", children: [
14210
- /* @__PURE__ */ s.jsx(Jr, { id: "jogging-coord-select", children: "Coordinate Sys." }),
14214
+ /* @__PURE__ */ s.jsx(Vr, { id: "jogging-coord-select", children: "Coordinate Sys." }),
14211
14215
  /* @__PURE__ */ s.jsx(
14212
- Eo,
14216
+ To,
14213
14217
  {
14214
14218
  labelId: "jogging-coord-select",
14215
14219
  value: e.selectedCoordSystemId,
@@ -14223,9 +14227,9 @@ const gg = nn(
14223
14227
  )
14224
14228
  ] }),
14225
14229
  /* @__PURE__ */ s.jsxs(ce, { width: "50%", children: [
14226
- /* @__PURE__ */ s.jsx(Jr, { id: "jogging-tcp-select", children: "TCP" }),
14230
+ /* @__PURE__ */ s.jsx(Vr, { id: "jogging-tcp-select", children: "TCP" }),
14227
14231
  /* @__PURE__ */ s.jsx(
14228
- Eo,
14232
+ To,
14229
14233
  {
14230
14234
  labelId: "jogging-tcp-select",
14231
14235
  value: e.selectedTcpId,
@@ -14256,7 +14260,7 @@ const gg = nn(
14256
14260
  },
14257
14261
  children: [
14258
14262
  /* @__PURE__ */ s.jsxs(ce, { width: "35%", children: [
14259
- /* @__PURE__ */ s.jsx(Jr, { id: "orientation-select", children: t("Jogging.Cartesian.Orientation.lb") }),
14263
+ /* @__PURE__ */ s.jsx(Vr, { id: "orientation-select", children: t("Jogging.Cartesian.Orientation.lb") }),
14260
14264
  /* @__PURE__ */ s.jsxs(
14261
14265
  Ni,
14262
14266
  {
@@ -14273,9 +14277,9 @@ const gg = nn(
14273
14277
  )
14274
14278
  ] }),
14275
14279
  /* @__PURE__ */ s.jsxs(ce, { width: "65%", children: [
14276
- /* @__PURE__ */ s.jsx(Jr, { id: "jogging-increment-select", children: "Increment" }),
14280
+ /* @__PURE__ */ s.jsx(Vr, { id: "jogging-increment-select", children: "Increment" }),
14277
14281
  /* @__PURE__ */ s.jsxs(
14278
- Eo,
14282
+ To,
14279
14283
  {
14280
14284
  labelId: "jogging-increment-select",
14281
14285
  value: ((n = e.activeDiscreteIncrement) == null ? void 0 : n.id) || "continuous",
@@ -14338,10 +14342,10 @@ function wn(e, t) {
14338
14342
  function Qn(e, t, r) {
14339
14343
  return (e - t) * 100 / (r - t);
14340
14344
  }
14341
- function Tg(e, t, r) {
14345
+ function Eg(e, t, r) {
14342
14346
  return (r - t) * e + t;
14343
14347
  }
14344
- function Eg(e) {
14348
+ function Tg(e) {
14345
14349
  if (Math.abs(e) < 1) {
14346
14350
  const r = e.toExponential().split("e-"), n = r[0].split(".")[1];
14347
14351
  return (n ? n.length : 0) + parseInt(r[1], 10);
@@ -14351,7 +14355,7 @@ function Eg(e) {
14351
14355
  }
14352
14356
  function kg(e, t, r) {
14353
14357
  const n = Math.round((e - r) / t) * t + r;
14354
- return Number(n.toFixed(Eg(t)));
14358
+ return Number(n.toFixed(Tg(t)));
14355
14359
  }
14356
14360
  function ci({
14357
14361
  values: e,
@@ -14367,7 +14371,7 @@ function jn({
14367
14371
  setActive: r
14368
14372
  }) {
14369
14373
  var n, o;
14370
- const a = yr(e.current);
14374
+ const a = vr(e.current);
14371
14375
  if (!((n = e.current) != null && n.contains(a.activeElement)) || Number(a == null || (o = a.activeElement) == null ? void 0 : o.getAttribute("data-index")) !== t) {
14372
14376
  var i;
14373
14377
  (i = e.current) == null || i.querySelector(`[type="range"][data-index="${t}"]`).focus();
@@ -14431,41 +14435,41 @@ function Ng(e) {
14431
14435
  controlled: j,
14432
14436
  default: r ?? u,
14433
14437
  name: "Slider"
14434
- }), V = d && ((M, E, N) => {
14438
+ }), V = d && ((M, T, N) => {
14435
14439
  const G = M.nativeEvent || M, q = new G.constructor(G.type, G);
14436
14440
  Object.defineProperty(q, "target", {
14437
14441
  writable: !0,
14438
14442
  value: {
14439
- value: E,
14443
+ value: T,
14440
14444
  name: c
14441
14445
  }
14442
- }), d(q, E, N);
14446
+ }), d(q, T, N);
14443
14447
  }), X = Array.isArray(F);
14444
14448
  let K = X ? F.slice().sort(au) : [F];
14445
- K = K.map((M) => M == null ? u : fr(M, u, l));
14446
- const xe = i === !0 && _ !== null ? [...Array(Math.floor((l - u) / _) + 1)].map((M, E) => ({
14447
- value: u + _ * E
14449
+ K = K.map((M) => M == null ? u : pr(M, u, l));
14450
+ const xe = i === !0 && _ !== null ? [...Array(Math.floor((l - u) / _) + 1)].map((M, T) => ({
14451
+ value: u + _ * T
14448
14452
  })) : i || [], se = xe.map((M) => M.value), {
14449
14453
  isFocusVisibleRef: Y,
14450
14454
  onBlur: Ce,
14451
- onFocus: Te,
14455
+ onFocus: Ee,
14452
14456
  ref: rt
14453
- } = Gl(), [vt, We] = $.useState(-1), we = $.useRef(), Pt = qn(rt, we), lt = qn(v, Pt), Ke = (M) => (E) => {
14457
+ } = Gl(), [vt, We] = $.useState(-1), we = $.useRef(), Pt = qn(rt, we), lt = qn(v, Pt), Ke = (M) => (T) => {
14454
14458
  var N;
14455
- const G = Number(E.currentTarget.getAttribute("data-index"));
14456
- Te(E), Y.current === !0 && We(G), O(G), M == null || (N = M.onFocus) == null || N.call(M, E);
14457
- }, Be = (M) => (E) => {
14459
+ const G = Number(T.currentTarget.getAttribute("data-index"));
14460
+ Ee(T), Y.current === !0 && We(G), O(G), M == null || (N = M.onFocus) == null || N.call(M, T);
14461
+ }, Be = (M) => (T) => {
14458
14462
  var N;
14459
- Ce(E), Y.current === !1 && We(-1), O(-1), M == null || (N = M.onBlur) == null || N.call(M, E);
14460
- }, ut = (M, E) => {
14463
+ Ce(T), Y.current === !1 && We(-1), O(-1), M == null || (N = M.onBlur) == null || N.call(M, T);
14464
+ }, ut = (M, T) => {
14461
14465
  const N = Number(M.currentTarget.getAttribute("data-index")), G = K[N], q = se.indexOf(G);
14462
- let W = E;
14466
+ let W = T;
14463
14467
  if (xe && _ == null) {
14464
14468
  const Je = se[se.length - 1];
14465
14469
  W > Je ? W = Je : W < se[0] ? W = se[0] : W = W < G ? se[q - 1] : se[q + 1];
14466
14470
  }
14467
- if (W = fr(W, u, l), X) {
14468
- o && (W = fr(W, K[N - 1] || -1 / 0, K[N + 1] || 1 / 0));
14471
+ if (W = pr(W, u, l), X) {
14472
+ o && (W = pr(W, K[N - 1] || -1 / 0, K[N + 1] || 1 / 0));
14469
14473
  const Je = W;
14470
14474
  W = ci({
14471
14475
  values: K,
@@ -14479,14 +14483,14 @@ function Ng(e) {
14479
14483
  });
14480
14484
  }
14481
14485
  H(W), We(N), V && !Rn(W, F) && V(M, W, N), m && m(M, W);
14482
- }, ct = (M) => (E) => {
14486
+ }, ct = (M) => (T) => {
14483
14487
  var N;
14484
14488
  if (_ !== null) {
14485
- const G = Number(E.currentTarget.getAttribute("data-index")), q = K[G];
14489
+ const G = Number(T.currentTarget.getAttribute("data-index")), q = K[G];
14486
14490
  let W = null;
14487
- (E.key === "ArrowLeft" || E.key === "ArrowDown") && E.shiftKey || E.key === "PageDown" ? W = Math.max(q - g, u) : ((E.key === "ArrowRight" || E.key === "ArrowUp") && E.shiftKey || E.key === "PageUp") && (W = Math.min(q + g, l)), W !== null && (ut(E, W), E.preventDefault());
14491
+ (T.key === "ArrowLeft" || T.key === "ArrowDown") && T.shiftKey || T.key === "PageDown" ? W = Math.max(q - g, u) : ((T.key === "ArrowRight" || T.key === "ArrowUp") && T.shiftKey || T.key === "PageUp") && (W = Math.min(q + g, l)), W !== null && (ut(T, W), T.preventDefault());
14488
14492
  }
14489
- M == null || (N = M.onKeyDown) == null || N.call(M, E);
14493
+ M == null || (N = M.onKeyDown) == null || N.call(M, T);
14490
14494
  };
14491
14495
  $a(() => {
14492
14496
  if (n && we.current.contains(document.activeElement)) {
@@ -14494,15 +14498,15 @@ function Ng(e) {
14494
14498
  (M = document.activeElement) == null || M.blur();
14495
14499
  }
14496
14500
  }, [n]), n && k !== -1 && R(-1), n && vt !== -1 && We(-1);
14497
- const Ft = (M) => (E) => {
14501
+ const Dt = (M) => (T) => {
14498
14502
  var N;
14499
- (N = M.onChange) == null || N.call(M, E), ut(E, E.target.valueAsNumber);
14503
+ (N = M.onChange) == null || N.call(M, T), ut(T, T.target.valueAsNumber);
14500
14504
  }, bt = $.useRef();
14501
14505
  let Ue = h;
14502
14506
  a && h === "horizontal" && (Ue += "-reverse");
14503
14507
  const I = ({
14504
14508
  finger: M,
14505
- move: E = !1
14509
+ move: T = !1
14506
14510
  }) => {
14507
14511
  const {
14508
14512
  current: N
@@ -14515,30 +14519,30 @@ function Ng(e) {
14515
14519
  let He;
14516
14520
  Ue.indexOf("vertical") === 0 ? He = (W - M.y) / q : He = (M.x - Je) / G, Ue.indexOf("-reverse") !== -1 && (He = 1 - He);
14517
14521
  let Q;
14518
- if (Q = Tg(He, u, l), _)
14522
+ if (Q = Eg(He, u, l), _)
14519
14523
  Q = kg(Q, _, u);
14520
14524
  else {
14521
14525
  const It = ui(se, Q);
14522
14526
  Q = se[It];
14523
14527
  }
14524
- Q = fr(Q, u, l);
14528
+ Q = pr(Q, u, l);
14525
14529
  let Le = 0;
14526
14530
  if (X) {
14527
- E ? Le = bt.current : Le = ui(K, Q), o && (Q = fr(Q, K[Le - 1] || -1 / 0, K[Le + 1] || 1 / 0));
14531
+ T ? Le = bt.current : Le = ui(K, Q), o && (Q = pr(Q, K[Le - 1] || -1 / 0, K[Le + 1] || 1 / 0));
14528
14532
  const It = Q;
14529
14533
  Q = ci({
14530
14534
  values: K,
14531
14535
  newValue: Q,
14532
14536
  index: Le
14533
- }), o && E || (Le = Q.indexOf(It), bt.current = Le);
14537
+ }), o && T || (Le = Q.indexOf(It), bt.current = Le);
14534
14538
  }
14535
14539
  return {
14536
14540
  newValue: Q,
14537
14541
  activeIndex: Le
14538
14542
  };
14539
14543
  }, Z = $n((M) => {
14540
- const E = wn(M, C);
14541
- if (!E)
14544
+ const T = wn(M, C);
14545
+ if (!T)
14542
14546
  return;
14543
14547
  if (ie.current += 1, M.type === "mousemove" && M.buttons === 0) {
14544
14548
  he(M);
@@ -14548,7 +14552,7 @@ function Ng(e) {
14548
14552
  newValue: N,
14549
14553
  activeIndex: G
14550
14554
  } = I({
14551
- finger: E,
14555
+ finger: T,
14552
14556
  move: !0
14553
14557
  });
14554
14558
  jn({
@@ -14557,22 +14561,22 @@ function Ng(e) {
14557
14561
  setActive: R
14558
14562
  }), H(N), !z && ie.current > Ig && ae(!0), V && !Rn(N, F) && V(M, N, G);
14559
14563
  }), he = $n((M) => {
14560
- const E = wn(M, C);
14561
- if (ae(!1), !E)
14564
+ const T = wn(M, C);
14565
+ if (ae(!1), !T)
14562
14566
  return;
14563
14567
  const {
14564
14568
  newValue: N
14565
14569
  } = I({
14566
- finger: E,
14570
+ finger: T,
14567
14571
  move: !0
14568
14572
  });
14569
14573
  R(-1), M.type === "touchend" && O(-1), m && m(M, N), C.current = void 0, ke();
14570
- }), Ee = $n((M) => {
14574
+ }), Te = $n((M) => {
14571
14575
  if (n)
14572
14576
  return;
14573
14577
  di() || M.preventDefault();
14574
- const E = M.changedTouches[0];
14575
- E != null && (C.current = E.identifier);
14578
+ const T = M.changedTouches[0];
14579
+ T != null && (C.current = T.identifier);
14576
14580
  const N = wn(M, C);
14577
14581
  if (N !== !1) {
14578
14582
  const {
@@ -14588,34 +14592,34 @@ function Ng(e) {
14588
14592
  }), H(q), V && !Rn(q, F) && V(M, q, W);
14589
14593
  }
14590
14594
  ie.current = 0;
14591
- const G = yr(we.current);
14595
+ const G = vr(we.current);
14592
14596
  G.addEventListener("touchmove", Z, {
14593
14597
  passive: !0
14594
14598
  }), G.addEventListener("touchend", he, {
14595
14599
  passive: !0
14596
14600
  });
14597
14601
  }), ke = $.useCallback(() => {
14598
- const M = yr(we.current);
14602
+ const M = vr(we.current);
14599
14603
  M.removeEventListener("mousemove", Z), M.removeEventListener("mouseup", he), M.removeEventListener("touchmove", Z), M.removeEventListener("touchend", he);
14600
14604
  }, [he, Z]);
14601
14605
  $.useEffect(() => {
14602
14606
  const {
14603
14607
  current: M
14604
14608
  } = we;
14605
- return M.addEventListener("touchstart", Ee, {
14609
+ return M.addEventListener("touchstart", Te, {
14606
14610
  passive: di()
14607
14611
  }), () => {
14608
- M.removeEventListener("touchstart", Ee), ke();
14612
+ M.removeEventListener("touchstart", Te), ke();
14609
14613
  };
14610
- }, [ke, Ee]), $.useEffect(() => {
14614
+ }, [ke, Te]), $.useEffect(() => {
14611
14615
  n && ke();
14612
14616
  }, [n, ke]);
14613
- const Ot = (M) => (E) => {
14617
+ const Ot = (M) => (T) => {
14614
14618
  var N;
14615
- if ((N = M.onMouseDown) == null || N.call(M, E), n || E.defaultPrevented || E.button !== 0)
14619
+ if ((N = M.onMouseDown) == null || N.call(M, T), n || T.defaultPrevented || T.button !== 0)
14616
14620
  return;
14617
- E.preventDefault();
14618
- const G = wn(E, C);
14621
+ T.preventDefault();
14622
+ const G = wn(T, C);
14619
14623
  if (G !== !1) {
14620
14624
  const {
14621
14625
  newValue: W,
@@ -14627,28 +14631,28 @@ function Ng(e) {
14627
14631
  sliderRef: we,
14628
14632
  activeIndex: Je,
14629
14633
  setActive: R
14630
- }), H(W), V && !Rn(W, F) && V(E, W, Je);
14634
+ }), H(W), V && !Rn(W, F) && V(T, W, Je);
14631
14635
  }
14632
14636
  ie.current = 0;
14633
- const q = yr(we.current);
14637
+ const q = vr(we.current);
14634
14638
  q.addEventListener("mousemove", Z, {
14635
14639
  passive: !0
14636
14640
  }), q.addEventListener("mouseup", he);
14637
- }, je = Qn(X ? K[0] : u, u, l), Mt = Qn(K[K.length - 1], u, l) - je, Dt = (M = {}) => {
14638
- const E = Nn(M), N = {
14639
- onMouseDown: Ot(E || {})
14640
- }, G = A({}, E, N);
14641
+ }, je = Qn(X ? K[0] : u, u, l), Mt = Qn(K[K.length - 1], u, l) - je, Bt = (M = {}) => {
14642
+ const T = Nn(M), N = {
14643
+ onMouseDown: Ot(T || {})
14644
+ }, G = A({}, T, N);
14641
14645
  return A({}, M, {
14642
14646
  ref: lt
14643
14647
  }, G);
14644
- }, Cr = (M) => (E) => {
14648
+ }, Ar = (M) => (T) => {
14645
14649
  var N;
14646
- (N = M.onMouseOver) == null || N.call(M, E);
14647
- const G = Number(E.currentTarget.getAttribute("data-index"));
14650
+ (N = M.onMouseOver) == null || N.call(M, T);
14651
+ const G = Number(T.currentTarget.getAttribute("data-index"));
14648
14652
  O(G);
14649
- }, Ar = (M) => (E) => {
14653
+ }, Pr = (M) => (T) => {
14650
14654
  var N;
14651
- (N = M.onMouseLeave) == null || N.call(M, E), O(-1);
14655
+ (N = M.onMouseLeave) == null || N.call(M, T), O(-1);
14652
14656
  };
14653
14657
  return {
14654
14658
  active: k,
@@ -14657,9 +14661,9 @@ function Ng(e) {
14657
14661
  dragging: z,
14658
14662
  focusedThumbIndex: vt,
14659
14663
  getHiddenInputProps: (M = {}) => {
14660
- var E;
14664
+ var T;
14661
14665
  const N = Nn(M), G = {
14662
- onChange: Ft(N || {}),
14666
+ onChange: Dt(N || {}),
14663
14667
  onFocus: Ke(N || {}),
14664
14668
  onBlur: Be(N || {}),
14665
14669
  onKeyDown: ct(N || {})
@@ -14674,7 +14678,7 @@ function Ng(e) {
14674
14678
  type: "range",
14675
14679
  min: e.min,
14676
14680
  max: e.max,
14677
- step: e.step === null && e.marks ? "any" : (E = e.step) != null ? E : void 0,
14681
+ step: e.step === null && e.marks ? "any" : (T = e.step) != null ? T : void 0,
14678
14682
  disabled: n
14679
14683
  }, M, q, {
14680
14684
  style: A({}, s0, {
@@ -14685,13 +14689,13 @@ function Ng(e) {
14685
14689
  })
14686
14690
  });
14687
14691
  },
14688
- getRootProps: Dt,
14692
+ getRootProps: Bt,
14689
14693
  getThumbProps: (M = {}) => {
14690
- const E = Nn(M), N = {
14691
- onMouseOver: Cr(E || {}),
14692
- onMouseLeave: Ar(E || {})
14694
+ const T = Nn(M), N = {
14695
+ onMouseOver: Ar(T || {}),
14696
+ onMouseLeave: Pr(T || {})
14693
14697
  };
14694
- return A({}, M, E, N);
14698
+ return A({}, M, T, N);
14695
14699
  },
14696
14700
  marks: xe,
14697
14701
  open: P,
@@ -15277,7 +15281,7 @@ const Jg = Rt("span", {
15277
15281
  components: se = {},
15278
15282
  componentsProps: Y = {},
15279
15283
  color: Ce = "primary",
15280
- classes: Te,
15284
+ classes: Ee,
15281
15285
  className: rt,
15282
15286
  disableSwap: vt = !1,
15283
15287
  disabled: We = !1,
@@ -15288,41 +15292,41 @@ const Jg = Rt("span", {
15288
15292
  min: Be = 0,
15289
15293
  orientation: ut = "horizontal",
15290
15294
  shiftStep: ct = 10,
15291
- size: Ft = "medium",
15295
+ size: Dt = "medium",
15292
15296
  step: bt = 1,
15293
15297
  scale: Ue = hi,
15294
15298
  slotProps: I,
15295
15299
  slots: Z,
15296
15300
  track: he = "normal",
15297
- valueLabelDisplay: Ee = "off",
15301
+ valueLabelDisplay: Te = "off",
15298
15302
  valueLabelFormat: ke = hi
15299
15303
  } = F, Ot = De(F, Ug), je = A({}, F, {
15300
15304
  isRtl: H,
15301
15305
  max: Ke,
15302
15306
  min: Be,
15303
- classes: Te,
15307
+ classes: Ee,
15304
15308
  disabled: We,
15305
15309
  disableSwap: vt,
15306
15310
  orientation: ut,
15307
15311
  marks: lt,
15308
15312
  color: Ce,
15309
- size: Ft,
15313
+ size: Dt,
15310
15314
  step: bt,
15311
15315
  shiftStep: ct,
15312
15316
  scale: Ue,
15313
15317
  track: he,
15314
- valueLabelDisplay: Ee,
15318
+ valueLabelDisplay: Te,
15315
15319
  valueLabelFormat: ke
15316
15320
  }), {
15317
15321
  axisProps: Mt,
15318
- getRootProps: Dt,
15319
- getHiddenInputProps: Cr,
15320
- getThumbProps: Ar,
15321
- open: Pr,
15322
- active: rr,
15322
+ getRootProps: Bt,
15323
+ getHiddenInputProps: Ar,
15324
+ getThumbProps: Pr,
15325
+ open: Or,
15326
+ active: nr,
15323
15327
  axis: nt,
15324
15328
  focusedThumbIndex: M,
15325
- range: E,
15329
+ range: T,
15326
15330
  dragging: N,
15327
15331
  marks: G,
15328
15332
  values: q,
@@ -15333,72 +15337,72 @@ const Jg = Rt("span", {
15333
15337
  rootRef: r
15334
15338
  }));
15335
15339
  je.marked = G.length > 0 && G.some((L) => L.label), je.dragging = N, je.focusedThumbIndex = M;
15336
- const Q = Xg(je), Le = (n = (o = Z == null ? void 0 : Z.root) != null ? o : se.Root) != null ? n : Jg, It = (a = (i = Z == null ? void 0 : Z.rail) != null ? i : se.Rail) != null ? a : Vg, nr = (l = (u = Z == null ? void 0 : Z.track) != null ? u : se.Track) != null ? l : zg, Or = (c = (d = Z == null ? void 0 : Z.thumb) != null ? d : se.Thumb) != null ? c : Gg, St = (m = (h = Z == null ? void 0 : Z.valueLabel) != null ? h : se.ValueLabel) != null ? m : Wg, Bt = (v = (y = Z == null ? void 0 : Z.mark) != null ? y : se.Mark) != null ? v : Kg, Ut = (_ = (g = Z == null ? void 0 : Z.markLabel) != null ? g : se.MarkLabel) != null ? _ : Hg, Mr = (x = (j = Z == null ? void 0 : Z.input) != null ? j : se.Input) != null ? x : "input", Ir = (C = I == null ? void 0 : I.root) != null ? C : Y.root, pn = (k = I == null ? void 0 : I.rail) != null ? k : Y.rail, Tr = (R = I == null ? void 0 : I.track) != null ? R : Y.track, or = (P = I == null ? void 0 : I.thumb) != null ? P : Y.thumb, ar = (O = I == null ? void 0 : I.valueLabel) != null ? O : Y.valueLabel, Ao = (z = I == null ? void 0 : I.mark) != null ? z : Y.mark, Po = (ae = I == null ? void 0 : I.markLabel) != null ? ae : Y.markLabel, gn = (ie = I == null ? void 0 : I.input) != null ? ie : Y.input, yn = Et({
15340
+ const Q = Xg(je), Le = (n = (o = Z == null ? void 0 : Z.root) != null ? o : se.Root) != null ? n : Jg, It = (a = (i = Z == null ? void 0 : Z.rail) != null ? i : se.Rail) != null ? a : Vg, or = (l = (u = Z == null ? void 0 : Z.track) != null ? u : se.Track) != null ? l : zg, Mr = (c = (d = Z == null ? void 0 : Z.thumb) != null ? d : se.Thumb) != null ? c : Gg, St = (m = (h = Z == null ? void 0 : Z.valueLabel) != null ? h : se.ValueLabel) != null ? m : Wg, Ut = (v = (y = Z == null ? void 0 : Z.mark) != null ? y : se.Mark) != null ? v : Kg, Jt = (_ = (g = Z == null ? void 0 : Z.markLabel) != null ? g : se.MarkLabel) != null ? _ : Hg, Ir = (x = (j = Z == null ? void 0 : Z.input) != null ? j : se.Input) != null ? x : "input", Er = (C = I == null ? void 0 : I.root) != null ? C : Y.root, pn = (k = I == null ? void 0 : I.rail) != null ? k : Y.rail, Tr = (R = I == null ? void 0 : I.track) != null ? R : Y.track, ar = (P = I == null ? void 0 : I.thumb) != null ? P : Y.thumb, sr = (O = I == null ? void 0 : I.valueLabel) != null ? O : Y.valueLabel, Ao = (z = I == null ? void 0 : I.mark) != null ? z : Y.mark, Po = (ae = I == null ? void 0 : I.markLabel) != null ? ae : Y.markLabel, gn = (ie = I == null ? void 0 : I.input) != null ? ie : Y.input, yn = Tt({
15337
15341
  elementType: Le,
15338
- getSlotProps: Dt,
15339
- externalSlotProps: Ir,
15342
+ getSlotProps: Bt,
15343
+ externalSlotProps: Er,
15340
15344
  externalForwardedProps: Ot,
15341
15345
  additionalProps: A({}, Fg(Le) && {
15342
15346
  as: xe
15343
15347
  }),
15344
- ownerState: A({}, je, Ir == null ? void 0 : Ir.ownerState),
15348
+ ownerState: A({}, je, Er == null ? void 0 : Er.ownerState),
15345
15349
  className: [Q.root, rt]
15346
- }), Oo = Et({
15350
+ }), Oo = Tt({
15347
15351
  elementType: It,
15348
15352
  externalSlotProps: pn,
15349
15353
  ownerState: je,
15350
15354
  className: Q.rail
15351
- }), Mo = Et({
15352
- elementType: nr,
15355
+ }), Mo = Tt({
15356
+ elementType: or,
15353
15357
  externalSlotProps: Tr,
15354
15358
  additionalProps: {
15355
15359
  style: A({}, Mt[nt].offset(W), Mt[nt].leap(Je))
15356
15360
  },
15357
15361
  ownerState: A({}, je, Tr == null ? void 0 : Tr.ownerState),
15358
15362
  className: Q.track
15359
- }), Er = Et({
15360
- elementType: Or,
15361
- getSlotProps: Ar,
15362
- externalSlotProps: or,
15363
- ownerState: A({}, je, or == null ? void 0 : or.ownerState),
15364
- className: Q.thumb
15365
- }), Io = Et({
15366
- elementType: St,
15363
+ }), kr = Tt({
15364
+ elementType: Mr,
15365
+ getSlotProps: Pr,
15367
15366
  externalSlotProps: ar,
15368
15367
  ownerState: A({}, je, ar == null ? void 0 : ar.ownerState),
15368
+ className: Q.thumb
15369
+ }), Io = Tt({
15370
+ elementType: St,
15371
+ externalSlotProps: sr,
15372
+ ownerState: A({}, je, sr == null ? void 0 : sr.ownerState),
15369
15373
  className: Q.valueLabel
15370
- }), p = Et({
15371
- elementType: Bt,
15374
+ }), p = Tt({
15375
+ elementType: Ut,
15372
15376
  externalSlotProps: Ao,
15373
15377
  ownerState: je,
15374
15378
  className: Q.mark
15375
- }), w = Et({
15376
- elementType: Ut,
15379
+ }), w = Tt({
15380
+ elementType: Jt,
15377
15381
  externalSlotProps: Po,
15378
15382
  ownerState: je,
15379
15383
  className: Q.markLabel
15380
- }), T = Et({
15381
- elementType: Mr,
15382
- getSlotProps: Cr,
15384
+ }), E = Tt({
15385
+ elementType: Ir,
15386
+ getSlotProps: Ar,
15383
15387
  externalSlotProps: gn,
15384
15388
  ownerState: je
15385
15389
  });
15386
15390
  return /* @__PURE__ */ s.jsxs(Le, A({}, yn, {
15387
- children: [/* @__PURE__ */ s.jsx(It, A({}, Oo)), /* @__PURE__ */ s.jsx(nr, A({}, Mo)), G.filter((L) => L.value >= Be && L.value <= Ke).map((L, D) => {
15391
+ children: [/* @__PURE__ */ s.jsx(It, A({}, Oo)), /* @__PURE__ */ s.jsx(or, A({}, Mo)), G.filter((L) => L.value >= Be && L.value <= Ke).map((L, D) => {
15388
15392
  const ee = Qn(L.value, Be, Ke), J = Mt[nt].offset(ee);
15389
15393
  let B;
15390
- return he === !1 ? B = q.indexOf(L.value) !== -1 : B = he === "normal" && (E ? L.value >= q[0] && L.value <= q[q.length - 1] : L.value <= q[0]) || he === "inverted" && (E ? L.value <= q[0] || L.value >= q[q.length - 1] : L.value >= q[0]), /* @__PURE__ */ s.jsxs($.Fragment, {
15391
- children: [/* @__PURE__ */ s.jsx(Bt, A({
15394
+ return he === !1 ? B = q.indexOf(L.value) !== -1 : B = he === "normal" && (T ? L.value >= q[0] && L.value <= q[q.length - 1] : L.value <= q[0]) || he === "inverted" && (T ? L.value <= q[0] || L.value >= q[q.length - 1] : L.value >= q[0]), /* @__PURE__ */ s.jsxs($.Fragment, {
15395
+ children: [/* @__PURE__ */ s.jsx(Ut, A({
15392
15396
  "data-index": D
15393
- }, p, !Wr(Bt) && {
15397
+ }, p, !Wr(Ut) && {
15394
15398
  markActive: B
15395
15399
  }, {
15396
15400
  style: A({}, J, p.style),
15397
15401
  className: pt(p.className, B && Q.markActive)
15398
- })), L.label != null ? /* @__PURE__ */ s.jsx(Ut, A({
15402
+ })), L.label != null ? /* @__PURE__ */ s.jsx(Jt, A({
15399
15403
  "aria-hidden": !0,
15400
15404
  "data-index": D
15401
- }, w, !Wr(Ut) && {
15405
+ }, w, !Wr(Jt) && {
15402
15406
  markLabelActive: B
15403
15407
  }, {
15404
15408
  style: A({}, J, w.style),
@@ -15407,30 +15411,30 @@ const Jg = Rt("span", {
15407
15411
  })) : null]
15408
15412
  }, D);
15409
15413
  }), q.map((L, D) => {
15410
- const ee = Qn(L, Be, Ke), J = Mt[nt].offset(ee), B = Ee === "off" ? qg : St;
15414
+ const ee = Qn(L, Be, Ke), J = Mt[nt].offset(ee), B = Te === "off" ? qg : St;
15411
15415
  return (
15412
15416
  /* 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. */
15413
15417
  /* @__PURE__ */ s.jsx(B, A({}, !Wr(B) && {
15414
15418
  valueLabelFormat: ke,
15415
- valueLabelDisplay: Ee,
15419
+ valueLabelDisplay: Te,
15416
15420
  value: typeof ke == "function" ? ke(Ue(L), D) : ke,
15417
15421
  index: D,
15418
- open: Pr === D || rr === D || Ee === "on",
15422
+ open: Or === D || nr === D || Te === "on",
15419
15423
  disabled: We
15420
15424
  }, Io, {
15421
- children: /* @__PURE__ */ s.jsx(Or, A({
15425
+ children: /* @__PURE__ */ s.jsx(Mr, A({
15422
15426
  "data-index": D
15423
- }, Er, {
15424
- className: pt(Q.thumb, Er.className, rr === D && Q.active, M === D && Q.focusVisible),
15425
- style: A({}, J, He(D), Er.style),
15426
- children: /* @__PURE__ */ s.jsx(Mr, A({
15427
+ }, kr, {
15428
+ className: pt(Q.thumb, kr.className, nr === D && Q.active, M === D && Q.focusVisible),
15429
+ style: A({}, J, He(D), kr.style),
15430
+ children: /* @__PURE__ */ s.jsx(Ir, A({
15427
15431
  "data-index": D,
15428
15432
  "aria-label": we ? we(D) : V,
15429
15433
  "aria-valuenow": Ue(L),
15430
15434
  "aria-labelledby": K,
15431
15435
  "aria-valuetext": Pt ? Pt(Ue(L), D) : X,
15432
15436
  value: q[D]
15433
- }, T))
15437
+ }, E))
15434
15438
  }))
15435
15439
  }), D)
15436
15440
  );
@@ -15704,7 +15708,7 @@ process.env.NODE_ENV !== "production" && (iu.propTypes = {
15704
15708
  });
15705
15709
  var Yg = "[object Number]";
15706
15710
  function Zg(e) {
15707
- return typeof e == "number" || qt(e) && Qt(e) == Yg;
15711
+ return typeof e == "number" || Yt(e) && er(e) == Yg;
15708
15712
  }
15709
15713
  const Qg = st((e) => {
15710
15714
  const t = xa(), r = e.valueLabelFormat || ((o) => `${o}`);
@@ -15745,7 +15749,7 @@ const Qg = st((e) => {
15745
15749
  ] });
15746
15750
  }), lu = st(
15747
15751
  ({ store: e }) => {
15748
- const { t } = br(), r = wa(() => ({
15752
+ const { t } = Nt(), r = wa(() => ({
15749
15753
  get valueLabelFormat() {
15750
15754
  return e.currentMotionType === "translate" ? (n) => `v=${t("Jogging.Cartesian.Translation.velocityMmPerSec.lb", { amount: n })}` : (n) => `v=${t("Jogging.Cartesian.Rotation.velocityDegPerSec.lb", { amount: n })}`;
15751
15755
  }
@@ -15772,14 +15776,14 @@ const Qg = st((e) => {
15772
15776
  }
15773
15777
  );
15774
15778
  }
15775
- ), uu = Zt(
15779
+ ), uu = Qt(
15776
15780
  ({
15777
15781
  label: e,
15778
15782
  value: t
15779
15783
  }, r) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
15780
- e && /* @__PURE__ */ s.jsx(Jr, { children: e }),
15784
+ e && /* @__PURE__ */ s.jsx(Vr, { children: e }),
15781
15785
  /* @__PURE__ */ s.jsx(
15782
- Tu,
15786
+ Eu,
15783
15787
  {
15784
15788
  ref: r,
15785
15789
  sx: {
@@ -15793,7 +15797,7 @@ const Qg = st((e) => {
15793
15797
  ] })
15794
15798
  ), ey = st(
15795
15799
  ({ store: e }) => {
15796
- const t = Wt(null);
15800
+ const t = Kt(null);
15797
15801
  function r() {
15798
15802
  const n = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose;
15799
15803
  return n ? oc(n) : "";
@@ -15884,9 +15888,9 @@ function dy(e) {
15884
15888
  }
15885
15889
  var hy = "[object AsyncFunction]", my = "[object Function]", fy = "[object GeneratorFunction]", py = "[object Proxy]";
15886
15890
  function du(e) {
15887
- if (!Xt(e))
15891
+ if (!qt(e))
15888
15892
  return !1;
15889
- var t = Qt(e);
15893
+ var t = er(e);
15890
15894
  return t == my || t == fy || t == hy || t == py;
15891
15895
  }
15892
15896
  var Xo = _t["__core-js_shared__"], mi = function() {
@@ -15897,7 +15901,7 @@ function gy(e) {
15897
15901
  return !!mi && mi in e;
15898
15902
  }
15899
15903
  var yy = Function.prototype, _y = yy.toString;
15900
- function er(e) {
15904
+ function tr(e) {
15901
15905
  if (e != null) {
15902
15906
  try {
15903
15907
  return _y.call(e);
@@ -15914,19 +15918,19 @@ var vy = /[\\^$.*+?()[\]{}|]/g, by = /^\[object .+?Constructor\]$/, Sy = Functio
15914
15918
  "^" + wy.call(jy).replace(vy, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
15915
15919
  );
15916
15920
  function Cy(e) {
15917
- if (!Xt(e) || gy(e))
15921
+ if (!qt(e) || gy(e))
15918
15922
  return !1;
15919
15923
  var t = du(e) ? Ry : by;
15920
- return t.test(er(e));
15924
+ return t.test(tr(e));
15921
15925
  }
15922
15926
  function Ay(e, t) {
15923
15927
  return e == null ? void 0 : e[t];
15924
15928
  }
15925
- function tr(e, t) {
15929
+ function rr(e, t) {
15926
15930
  var r = Ay(e, t);
15927
15931
  return Cy(r) ? r : void 0;
15928
15932
  }
15929
- var tn = tr(_t, "Map"), rn = tr(Object, "create");
15933
+ var tn = rr(_t, "Map"), rn = rr(Object, "create");
15930
15934
  function Py() {
15931
15935
  this.__data__ = rn ? rn(null) : {}, this.size = 0;
15932
15936
  }
@@ -15934,14 +15938,14 @@ function Oy(e) {
15934
15938
  var t = this.has(e) && delete this.__data__[e];
15935
15939
  return this.size -= t ? 1 : 0, t;
15936
15940
  }
15937
- var My = "__lodash_hash_undefined__", Iy = Object.prototype, Ty = Iy.hasOwnProperty;
15938
- function Ey(e) {
15941
+ var My = "__lodash_hash_undefined__", Iy = Object.prototype, Ey = Iy.hasOwnProperty;
15942
+ function Ty(e) {
15939
15943
  var t = this.__data__;
15940
15944
  if (rn) {
15941
15945
  var r = t[e];
15942
15946
  return r === My ? void 0 : r;
15943
15947
  }
15944
- return Ty.call(t, e) ? t[e] : void 0;
15948
+ return Ey.call(t, e) ? t[e] : void 0;
15945
15949
  }
15946
15950
  var ky = Object.prototype, Ly = ky.hasOwnProperty;
15947
15951
  function $y(e) {
@@ -15953,23 +15957,23 @@ function Fy(e, t) {
15953
15957
  var r = this.__data__;
15954
15958
  return this.size += this.has(e) ? 0 : 1, r[e] = rn && t === void 0 ? Ny : t, this;
15955
15959
  }
15956
- function Yt(e) {
15960
+ function Zt(e) {
15957
15961
  var t = -1, r = e == null ? 0 : e.length;
15958
15962
  for (this.clear(); ++t < r; ) {
15959
15963
  var n = e[t];
15960
15964
  this.set(n[0], n[1]);
15961
15965
  }
15962
15966
  }
15963
- Yt.prototype.clear = Py;
15964
- Yt.prototype.delete = Oy;
15965
- Yt.prototype.get = Ey;
15966
- Yt.prototype.has = $y;
15967
- Yt.prototype.set = Fy;
15967
+ Zt.prototype.clear = Py;
15968
+ Zt.prototype.delete = Oy;
15969
+ Zt.prototype.get = Ty;
15970
+ Zt.prototype.has = $y;
15971
+ Zt.prototype.set = Fy;
15968
15972
  function Dy() {
15969
15973
  this.size = 0, this.__data__ = {
15970
- hash: new Yt(),
15974
+ hash: new Zt(),
15971
15975
  map: new (tn || Ct)(),
15972
- string: new Yt()
15976
+ string: new Zt()
15973
15977
  };
15974
15978
  }
15975
15979
  function By(e) {
@@ -16164,12 +16168,12 @@ function w1(e, t) {
16164
16168
  }
16165
16169
  var j1 = "[object Arguments]";
16166
16170
  function yi(e) {
16167
- return qt(e) && Qt(e) == j1;
16171
+ return Yt(e) && er(e) == j1;
16168
16172
  }
16169
16173
  var mu = Object.prototype, R1 = mu.hasOwnProperty, C1 = mu.propertyIsEnumerable, fu = yi(/* @__PURE__ */ function() {
16170
16174
  return arguments;
16171
16175
  }()) ? yi : function(e) {
16172
- return qt(e) && R1.call(e, "callee") && !C1.call(e, "callee");
16176
+ return Yt(e) && R1.call(e, "callee") && !C1.call(e, "callee");
16173
16177
  };
16174
16178
  function A1() {
16175
16179
  return !1;
@@ -16179,15 +16183,15 @@ function gu(e, t) {
16179
16183
  var r = typeof e;
16180
16184
  return t = t ?? M1, !!t && (r == "number" || r != "symbol" && I1.test(e)) && e > -1 && e % 1 == 0 && e < t;
16181
16185
  }
16182
- var T1 = 9007199254740991;
16186
+ var E1 = 9007199254740991;
16183
16187
  function Wa(e) {
16184
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= T1;
16188
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= E1;
16185
16189
  }
16186
- var E1 = "[object Arguments]", k1 = "[object Array]", L1 = "[object Boolean]", $1 = "[object Date]", N1 = "[object Error]", F1 = "[object Function]", D1 = "[object Map]", B1 = "[object Number]", U1 = "[object Object]", J1 = "[object RegExp]", V1 = "[object Set]", z1 = "[object String]", G1 = "[object WeakMap]", W1 = "[object ArrayBuffer]", K1 = "[object DataView]", H1 = "[object Float32Array]", X1 = "[object Float64Array]", q1 = "[object Int8Array]", Y1 = "[object Int16Array]", Z1 = "[object Int32Array]", Q1 = "[object Uint8Array]", e_ = "[object Uint8ClampedArray]", t_ = "[object Uint16Array]", r_ = "[object Uint32Array]", le = {};
16190
+ var T1 = "[object Arguments]", k1 = "[object Array]", L1 = "[object Boolean]", $1 = "[object Date]", N1 = "[object Error]", F1 = "[object Function]", D1 = "[object Map]", B1 = "[object Number]", U1 = "[object Object]", J1 = "[object RegExp]", V1 = "[object Set]", z1 = "[object String]", G1 = "[object WeakMap]", W1 = "[object ArrayBuffer]", K1 = "[object DataView]", H1 = "[object Float32Array]", X1 = "[object Float64Array]", q1 = "[object Int8Array]", Y1 = "[object Int16Array]", Z1 = "[object Int32Array]", Q1 = "[object Uint8Array]", e_ = "[object Uint8ClampedArray]", t_ = "[object Uint16Array]", r_ = "[object Uint32Array]", le = {};
16187
16191
  le[H1] = le[X1] = le[q1] = le[Y1] = le[Z1] = le[Q1] = le[e_] = le[t_] = le[r_] = !0;
16188
- le[E1] = le[k1] = le[W1] = le[L1] = le[K1] = le[$1] = le[N1] = le[F1] = le[D1] = le[B1] = le[U1] = le[J1] = le[V1] = le[z1] = le[G1] = !1;
16192
+ le[T1] = le[k1] = le[W1] = le[L1] = le[K1] = le[$1] = le[N1] = le[F1] = le[D1] = le[B1] = le[U1] = le[J1] = le[V1] = le[z1] = le[G1] = !1;
16189
16193
  function n_(e) {
16190
- return qt(e) && Wa(e.length) && !!le[Qt(e)];
16194
+ return Yt(e) && Wa(e.length) && !!le[er(e)];
16191
16195
  }
16192
16196
  function o_(e) {
16193
16197
  return function(t) {
@@ -16271,9 +16275,9 @@ function v_(e, t, r, n, o, a) {
16271
16275
  }
16272
16276
  return a.delete(e), a.delete(t), _;
16273
16277
  }
16274
- var ya = tr(_t, "DataView"), _a = tr(_t, "Promise"), va = tr(_t, "Set"), ba = tr(_t, "WeakMap"), wi = "[object Map]", b_ = "[object Object]", ji = "[object Promise]", Ri = "[object Set]", Ci = "[object WeakMap]", Ai = "[object DataView]", S_ = er(ya), x_ = er(tn), w_ = er(_a), j_ = er(va), R_ = er(ba), kt = Qt;
16278
+ var ya = rr(_t, "DataView"), _a = rr(_t, "Promise"), va = rr(_t, "Set"), ba = rr(_t, "WeakMap"), wi = "[object Map]", b_ = "[object Object]", ji = "[object Promise]", Ri = "[object Set]", Ci = "[object WeakMap]", Ai = "[object DataView]", S_ = tr(ya), x_ = tr(tn), w_ = tr(_a), j_ = tr(va), R_ = tr(ba), kt = er;
16275
16279
  (ya && kt(new ya(new ArrayBuffer(1))) != Ai || tn && kt(new tn()) != wi || _a && kt(_a.resolve()) != ji || va && kt(new va()) != Ri || ba && kt(new ba()) != Ci) && (kt = function(e) {
16276
- var t = Qt(e), r = t == b_ ? e.constructor : void 0, n = r ? er(r) : "";
16280
+ var t = er(e), r = t == b_ ? e.constructor : void 0, n = r ? tr(r) : "";
16277
16281
  if (n)
16278
16282
  switch (n) {
16279
16283
  case S_:
@@ -16311,7 +16315,7 @@ function P_(e, t, r, n, o, a) {
16311
16315
  return h ? (a || (a = new wt()), v_(e, t, r, n, o, a)) : !1;
16312
16316
  }
16313
16317
  function Ro(e, t, r, n, o) {
16314
- return e === t ? !0 : e == null || t == null || !qt(e) && !qt(t) ? e !== e && t !== t : P_(e, t, r, n, Ro, o);
16318
+ return e === t ? !0 : e == null || t == null || !Yt(e) && !Yt(t) ? e !== e && t !== t : P_(e, t, r, n, Ro, o);
16315
16319
  }
16316
16320
  function O_(e, t) {
16317
16321
  return Ro(e, t);
@@ -16319,7 +16323,7 @@ function O_(e, t) {
16319
16323
  const M_ = ({
16320
16324
  store: e
16321
16325
  }) => {
16322
- const { t } = br(), [r, n] = to(
16326
+ const { t } = Nt(), [r, n] = to(
16323
16327
  e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached
16324
16328
  );
16325
16329
  sn(() => {
@@ -16344,7 +16348,7 @@ const M_ = ({
16344
16348
  ) : null;
16345
16349
  }, I_ = st(
16346
16350
  ({ store: e }) => {
16347
- const { t } = br();
16351
+ const { t } = Nt();
16348
16352
  function r(c, d) {
16349
16353
  (d === "translate" || d === "rotate") && e.setSelectedCartesianMotionType(d);
16350
16354
  }
@@ -16516,10 +16520,10 @@ const M_ = ({
16516
16520
  /* @__PURE__ */ s.jsx(M_, { store: e })
16517
16521
  ] });
16518
16522
  }
16519
- ), T_ = st(
16523
+ ), E_ = st(
16520
16524
  ({ store: e }) => {
16521
- const t = Wt(null);
16522
- br();
16525
+ const t = Kt(null);
16526
+ Nt();
16523
16527
  function r() {
16524
16528
  const { joints: n } = e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;
16525
16529
  return `[${n.map((o) => parseFloat(o.toFixed(4))).join(", ")}]`;
@@ -16550,7 +16554,7 @@ const M_ = ({
16550
16554
  }
16551
16555
  );
16552
16556
  }
16553
- ), E_ = st(
16557
+ ), T_ = st(
16554
16558
  ({ store: e }) => {
16555
16559
  async function t(n) {
16556
16560
  await e.jogger.startJointRotation({
@@ -16563,7 +16567,7 @@ const M_ = ({
16563
16567
  await e.jogger.stop();
16564
16568
  }
16565
16569
  return /* @__PURE__ */ s.jsxs(ce, { children: [
16566
- /* @__PURE__ */ s.jsx(T_, { store: e }),
16570
+ /* @__PURE__ */ s.jsx(E_, { store: e }),
16567
16571
  /* @__PURE__ */ s.jsx(ce, { children: e.jogger.motionStream.joints.map((n) => {
16568
16572
  var l;
16569
16573
  const o = (l = e.motionGroupSpec.mechanical_joint_limits) == null ? void 0 : l[n.index], a = (o == null ? void 0 : o.lower_limit) !== void 0 ? On(o.lower_limit) : void 0, i = (o == null ? void 0 : o.upper_limit) !== void 0 ? On(o.upper_limit) : void 0;
@@ -16622,7 +16626,7 @@ const M_ = ({
16622
16626
  );
16623
16627
  var Ii = function() {
16624
16628
  try {
16625
- var e = tr(Object, "defineProperty");
16629
+ var e = rr(Object, "defineProperty");
16626
16630
  return e({}, "", {}), e;
16627
16631
  } catch {
16628
16632
  }
@@ -16698,7 +16702,7 @@ function z_(e, t, r, n) {
16698
16702
  return !0;
16699
16703
  }
16700
16704
  function bu(e) {
16701
- return e === e && !Xt(e);
16705
+ return e === e && !qt(e);
16702
16706
  }
16703
16707
  function G_(e) {
16704
16708
  for (var t = Ka(e), r = t.length; r--; ) {
@@ -16757,14 +16761,14 @@ function tv(e, t) {
16757
16761
  o[r] = t(e[r], r, e);
16758
16762
  return o;
16759
16763
  }
16760
- var rv = 1 / 0, Ti = $t ? $t.prototype : void 0, Ei = Ti ? Ti.toString : void 0;
16764
+ var rv = 1 / 0, Ei = $t ? $t.prototype : void 0, Ti = Ei ? Ei.toString : void 0;
16761
16765
  function xu(e) {
16762
16766
  if (typeof e == "string")
16763
16767
  return e;
16764
16768
  if (yt(e))
16765
16769
  return tv(e, xu) + "";
16766
16770
  if (xo(e))
16767
- return Ei ? Ei.call(e) : "";
16771
+ return Ti ? Ti.call(e) : "";
16768
16772
  var t = e + "";
16769
16773
  return t == "0" && 1 / e == -rv ? "-0" : t;
16770
16774
  }
@@ -16858,7 +16862,7 @@ const Sa = [
16858
16862
  class qa {
16859
16863
  constructor(t, r, n, o) {
16860
16864
  var a, i;
16861
- this.jogger = t, this.motionGroupSpec = r, this.coordSystems = n, this.tcps = o, this.selectedTabId = "cartesian", this.activationState = "inactive", this.activationError = null, this.locks = /* @__PURE__ */ new Set(), this.selectedCoordSystemId = "world", this.selectedTcpId = "", this.selectedOrientation = "coordsys", this.selectedIncrementId = "continuous", this.selectedCartesianMotionType = "translate", this.incrementJoggingInProgress = !1, this.translationVelocityMmPerSec = 10, this.rotationVelocityDegPerSec = 1, this.minTranslationVelocityMmPerSec = 5, this.maxTranslationVelocityMmPerSec = 250, this.minRotationVelocityDegPerSec = 1, this.maxRotationVelocityDegPerSec = 60, this.disposers = [];
16865
+ this.jogger = t, this.motionGroupSpec = r, this.coordSystems = n, this.tcps = o, this.selectedTabId = "cartesian", this.manualActivationRequired = !0, this.activationState = "inactive", this.activationError = null, this.locks = /* @__PURE__ */ new Set(), this.selectedCoordSystemId = "world", this.selectedTcpId = "", this.selectedOrientation = "coordsys", this.selectedIncrementId = "continuous", this.selectedCartesianMotionType = "translate", this.incrementJoggingInProgress = !1, this.translationVelocityMmPerSec = 10, this.rotationVelocityDegPerSec = 1, this.minTranslationVelocityMmPerSec = 5, this.maxTranslationVelocityMmPerSec = 250, this.minRotationVelocityDegPerSec = 1, this.maxRotationVelocityDegPerSec = 60, this.disposers = [];
16862
16866
  for (const l of n)
16863
16867
  if (l.coordinate_system === "") {
16864
16868
  l.coordinate_system = "world";
@@ -16895,42 +16899,44 @@ class qa {
16895
16899
  t();
16896
16900
  this.jogger.dispose();
16897
16901
  }
16898
- async deactivate() {
16902
+ async deactivate(t = {}) {
16899
16903
  if (this.activationState === "inactive") return;
16900
- const t = this.jogger.activeWebsocket;
16901
- this.activationState = "inactive", this.jogger.setJoggingMode("increment"), t && await t.closed();
16904
+ const r = this.jogger.activeWebsocket;
16905
+ this.activationState = "inactive", this.jogger.setJoggingMode("increment"), r && await r.closed(), t.requireManualReactivation && gr(() => {
16906
+ this.manualActivationRequired = !0;
16907
+ });
16902
16908
  }
16903
16909
  /** Activate the jogger with current settings */
16904
- async activate() {
16910
+ async activate(t = {}) {
16905
16911
  const {
16906
- currentTab: t,
16907
- selectedTcpId: r,
16908
- activeCoordSystemId: n,
16909
- activeDiscreteIncrement: o,
16910
- jogger: a
16912
+ currentTab: r,
16913
+ selectedTcpId: n,
16914
+ activeCoordSystemId: o,
16915
+ activeDiscreteIncrement: a,
16916
+ jogger: i
16911
16917
  } = this;
16912
- if (this.activationState !== "loading") {
16913
- if (Vr(() => {
16918
+ if (this.activationState !== "loading" && !(this.manualActivationRequired && !t.manual)) {
16919
+ if (gr(() => {
16914
16920
  this.activationState = "loading", this.activationError = null;
16915
- }), t.id === "cartesian") {
16916
- const i = {
16917
- tcpId: r,
16918
- coordSystemId: n
16921
+ }), r.id === "cartesian") {
16922
+ const l = {
16923
+ tcpId: n,
16924
+ coordSystemId: o
16919
16925
  };
16920
- o ? a.setJoggingMode("increment", i) : a.setJoggingMode("cartesian", i);
16926
+ a ? i.setJoggingMode("increment", l) : i.setJoggingMode("cartesian", l);
16921
16927
  } else
16922
- a.setJoggingMode("joint");
16923
- if (a.activeWebsocket)
16928
+ i.setJoggingMode("joint");
16929
+ if (i.activeWebsocket)
16924
16930
  try {
16925
- a.stop(), await a.activeWebsocket.nextMessage();
16926
- } catch (i) {
16927
- Vr(() => {
16928
- this.activationState = "inactive", this.activationError = i;
16931
+ i.stop(), await i.activeWebsocket.nextMessage();
16932
+ } catch (l) {
16933
+ gr(() => {
16934
+ this.activationState = "inactive", this.activationError = l;
16929
16935
  });
16930
16936
  return;
16931
16937
  }
16932
- Vr(() => {
16933
- this.activationState = "active";
16938
+ gr(() => {
16939
+ this.activationState = "active", t.manual && (this.manualActivationRequired = !1);
16934
16940
  });
16935
16941
  }
16936
16942
  }
@@ -17082,17 +17088,18 @@ const ki = (e) => /* @__PURE__ */ s.jsx(
17082
17088
  }
17083
17089
  ), lb = nn(
17084
17090
  st((e) => {
17091
+ Nt();
17085
17092
  const t = lc(e.nova) ? new ic({ instanceUrl: e.nova }) : e.nova, r = wa(() => ({
17086
17093
  joggingStore: null,
17087
17094
  loadingError: null
17088
17095
  }));
17089
17096
  async function n() {
17090
- Vr(() => {
17097
+ gr(() => {
17091
17098
  r.loadingError = null, r.joggingStore = null;
17092
17099
  });
17093
17100
  try {
17094
17101
  const o = await t.connectJogger(e.motionGroupId), a = await qa.loadFor(o);
17095
- Vr(() => {
17102
+ gr(() => {
17096
17103
  r.joggingStore = a;
17097
17104
  }), e.onSetup && e.onSetup(a);
17098
17105
  } catch (o) {
@@ -17116,7 +17123,7 @@ const ki = (e) => /* @__PURE__ */ s.jsx(
17116
17123
  height: "100%"
17117
17124
  },
17118
17125
  children: /* @__PURE__ */ s.jsx(
17119
- Eu,
17126
+ Tu,
17120
17127
  {
17121
17128
  sx: {
17122
17129
  height: "100%"
@@ -17138,9 +17145,18 @@ const ki = (e) => /* @__PURE__ */ s.jsx(
17138
17145
  store: e,
17139
17146
  children: t
17140
17147
  }) => {
17141
- Lt(() => (window.addEventListener("blur", e.deactivate), () => {
17142
- window.removeEventListener("blur", e.deactivate);
17143
- })), gl(
17148
+ const { t: r } = Nt();
17149
+ Lt(() => {
17150
+ function a() {
17151
+ e.deactivate();
17152
+ }
17153
+ function i() {
17154
+ e.activate();
17155
+ }
17156
+ return window.addEventListener("blur", a), window.addEventListener("focus", i), () => {
17157
+ window.removeEventListener("blur", a), window.removeEventListener("focus", i);
17158
+ };
17159
+ }), gl(
17144
17160
  () => [
17145
17161
  e.currentTab,
17146
17162
  e.selectedTcpId,
@@ -17151,28 +17167,28 @@ const ki = (e) => /* @__PURE__ */ s.jsx(
17151
17167
  e.activationState === "active" && e.activate();
17152
17168
  }
17153
17169
  );
17154
- function r() {
17170
+ function n() {
17155
17171
  if (e.activationState === "inactive" && !e.activationError)
17156
17172
  return /* @__PURE__ */ s.jsx(ki, { children: /* @__PURE__ */ s.jsx(
17157
17173
  Hr,
17158
17174
  {
17159
17175
  color: "primary",
17160
17176
  variant: "contained",
17161
- onClick: e.activate,
17177
+ onClick: () => e.activate({ manual: !0 }),
17162
17178
  disabled: e.isLocked,
17163
- children: "Activate jogging"
17179
+ children: r("Jogging.Activate.bt")
17164
17180
  }
17165
17181
  ) });
17166
17182
  if (e.activationState === "loading" || e.activationError)
17167
17183
  return /* @__PURE__ */ s.jsx(ki, { children: /* @__PURE__ */ s.jsx(
17168
17184
  Pa,
17169
17185
  {
17170
- message: "Activating jogging",
17186
+ message: r("Jogging.Activating.lb"),
17171
17187
  error: e.activationError
17172
17188
  }
17173
17189
  ) });
17174
17190
  }
17175
- function n() {
17191
+ function o() {
17176
17192
  if (e.currentTab.id === "cartesian")
17177
17193
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
17178
17194
  /* @__PURE__ */ s.jsx(I_, { store: e }),
@@ -17180,23 +17196,23 @@ const ki = (e) => /* @__PURE__ */ s.jsx(
17180
17196
  ] });
17181
17197
  if (e.currentTab.id === "joint")
17182
17198
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
17183
- /* @__PURE__ */ s.jsx(E_, { store: e }),
17199
+ /* @__PURE__ */ s.jsx(T_, { store: e }),
17184
17200
  t
17185
17201
  ] });
17186
17202
  }
17187
17203
  return /* @__PURE__ */ s.jsxs(ce, { flexGrow: 1, height: "100%", children: [
17188
- /* @__PURE__ */ s.jsx(ku, { value: e.tabIndex, onChange: e.onTabChange, children: e.tabs.map((o) => /* @__PURE__ */ s.jsx(
17204
+ /* @__PURE__ */ s.jsx(ku, { value: e.tabIndex, onChange: e.onTabChange, children: e.tabs.map((a) => /* @__PURE__ */ s.jsx(
17189
17205
  Lu,
17190
17206
  {
17191
- label: o.label,
17192
- id: `jogging-tab-${o.id}`,
17193
- "aria-controls": `jogging-tab-${o.id}`
17207
+ label: a.label,
17208
+ id: `jogging-tab-${a.id}`,
17209
+ "aria-controls": `jogging-tab-${a.id}`
17194
17210
  },
17195
- o.id
17211
+ a.id
17196
17212
  )) }),
17197
17213
  /* @__PURE__ */ s.jsxs(ce, { flexGrow: 1, position: "relative", children: [
17198
- r(),
17199
- n()
17214
+ n(),
17215
+ o()
17200
17216
  ] })
17201
17217
  ] });
17202
17218
  }