@wandelbots/wandelbots-js-react-components 1.9.2 → 1.9.3

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
@@ -87,14 +87,14 @@ function Ol() {
87
87
  var v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
88
88
  function R(m) {
89
89
  {
90
- for (var w = arguments.length, M = new Array(w > 1 ? w - 1 : 0), E = 1; E < w; E++)
91
- M[E - 1] = arguments[E];
90
+ for (var w = arguments.length, M = new Array(w > 1 ? w - 1 : 0), k = 1; k < w; k++)
91
+ M[k - 1] = arguments[k];
92
92
  P("error", m, M);
93
93
  }
94
94
  }
95
95
  function P(m, w, M) {
96
96
  {
97
- var E = v.ReactDebugCurrentFrame, D = E.getStackAddendum();
97
+ var k = v.ReactDebugCurrentFrame, D = k.getStackAddendum();
98
98
  D !== "" && (w += "%s", M = M.concat([D]));
99
99
  var Q = M.map(function(J) {
100
100
  return String(J);
@@ -112,9 +112,9 @@ function Ol() {
112
112
  m.$$typeof === le || m.getModuleId !== void 0));
113
113
  }
114
114
  function F(m, w, M) {
115
- var E = m.displayName;
116
- if (E)
117
- return E;
115
+ var k = m.displayName;
116
+ if (k)
117
+ return k;
118
118
  var D = w.displayName || w.name || "";
119
119
  return D !== "" ? M + "(" + D + ")" : M;
120
120
  }
@@ -153,8 +153,8 @@ function Ol() {
153
153
  case c:
154
154
  return F(m, m.render, "ForwardRef");
155
155
  case f:
156
- var E = m.displayName || null;
157
- return E !== null ? E : V(m.type) || "Memo";
156
+ var k = m.displayName || null;
157
+ return k !== null ? k : V(m.type) || "Memo";
158
158
  case h: {
159
159
  var D = m, Q = D._payload, J = D._init;
160
160
  try {
@@ -235,8 +235,8 @@ function Ol() {
235
235
  try {
236
236
  throw Error();
237
237
  } catch (D) {
238
- var E = D.stack.trim().match(/\n( *(at )?)/);
239
- Ge = E && E[1] || "";
238
+ var k = D.stack.trim().match(/\n( *(at )?)/);
239
+ Ge = k && k[1] || "";
240
240
  }
241
241
  return `
242
242
  ` + Ge + m;
@@ -255,7 +255,7 @@ function Ol() {
255
255
  if (M !== void 0)
256
256
  return M;
257
257
  }
258
- var E;
258
+ var k;
259
259
  st = !0;
260
260
  var D = Error.prepareStackTrace;
261
261
  Error.prepareStackTrace = void 0;
@@ -273,30 +273,30 @@ function Ol() {
273
273
  }), typeof Reflect == "object" && Reflect.construct) {
274
274
  try {
275
275
  Reflect.construct(J, []);
276
- } catch (Ee) {
277
- E = Ee;
276
+ } catch (ke) {
277
+ k = ke;
278
278
  }
279
279
  Reflect.construct(m, [], J);
280
280
  } else {
281
281
  try {
282
282
  J.call();
283
- } catch (Ee) {
284
- E = Ee;
283
+ } catch (ke) {
284
+ k = ke;
285
285
  }
286
286
  m.call(J.prototype);
287
287
  }
288
288
  } else {
289
289
  try {
290
290
  throw Error();
291
- } catch (Ee) {
292
- E = Ee;
291
+ } catch (ke) {
292
+ k = ke;
293
293
  }
294
294
  m();
295
295
  }
296
- } catch (Ee) {
297
- if (Ee && E && typeof Ee.stack == "string") {
298
- for (var U = Ee.stack.split(`
299
- `), Ae = E.stack.split(`
296
+ } catch (ke) {
297
+ if (ke && k && typeof ke.stack == "string") {
298
+ for (var U = ke.stack.split(`
299
+ `), Ae = k.stack.split(`
300
300
  `), he = U.length - 1, ye = Ae.length - 1; he >= 1 && ye >= 0 && U[he] !== Ae[ye]; )
301
301
  ye--;
302
302
  for (; he >= 1 && ye >= 0; he--, ye--)
@@ -345,7 +345,7 @@ function Ol() {
345
345
  case f:
346
346
  return Y(m.type, w, M);
347
347
  case h: {
348
- var E = m, D = E._payload, Q = E._init;
348
+ var k = m, D = k._payload, Q = k._init;
349
349
  try {
350
350
  return Y(Q(D), w, M);
351
351
  } catch {
@@ -362,7 +362,7 @@ function Ol() {
362
362
  } else
363
363
  Me.setExtraStackFrame(null);
364
364
  }
365
- function we(m, w, M, E, D) {
365
+ function we(m, w, M, k, D) {
366
366
  {
367
367
  var Q = Function.call.bind(ce);
368
368
  for (var J in m)
@@ -370,19 +370,19 @@ function Ol() {
370
370
  var U = void 0;
371
371
  try {
372
372
  if (typeof m[J] != "function") {
373
- var Ae = Error((E || "React class") + ": " + M + " type `" + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof m[J] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
373
+ var Ae = Error((k || "React class") + ": " + M + " type `" + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof m[J] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
374
374
  throw Ae.name = "Invariant Violation", Ae;
375
375
  }
376
- U = m[J](w, J, E, M, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
376
+ U = m[J](w, J, k, M, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
377
377
  } catch (he) {
378
378
  U = he;
379
379
  }
380
- U && !(U instanceof Error) && (St(D), R("%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).", E || "React class", M, J, typeof U), St(null)), U instanceof Error && !(U.message in Le) && (Le[U.message] = !0, St(D), R("Failed %s type: %s", M, U.message), St(null));
380
+ U && !(U instanceof Error) && (St(D), R("%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).", k || "React class", M, J, typeof U), St(null)), U instanceof Error && !(U.message in Le) && (Le[U.message] = !0, St(D), R("Failed %s type: %s", M, U.message), St(null));
381
381
  }
382
382
  }
383
383
  }
384
384
  var vt = Array.isArray;
385
- function kt(m) {
385
+ function Et(m) {
386
386
  return vt(m);
387
387
  }
388
388
  function hr(m) {
@@ -410,7 +410,7 @@ function Ol() {
410
410
  ref: !0,
411
411
  __self: !0,
412
412
  __source: !0
413
- }, k, N, G;
413
+ }, E, N, G;
414
414
  G = {};
415
415
  function X(m) {
416
416
  if (ce.call(m, "ref")) {
@@ -437,7 +437,7 @@ function Ol() {
437
437
  function ze(m, w) {
438
438
  {
439
439
  var M = function() {
440
- k || (k = !0, R("%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));
440
+ E || (E = !0, R("%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));
441
441
  };
442
442
  M.isReactWarning = !0, Object.defineProperty(m, "key", {
443
443
  get: M,
@@ -456,7 +456,7 @@ function Ol() {
456
456
  });
457
457
  }
458
458
  }
459
- var ke = function(m, w, M, E, D, Q, J) {
459
+ var Ee = function(m, w, M, k, D, Q, J) {
460
460
  var U = {
461
461
  // This tag allows us to uniquely identify this as a React Element
462
462
  $$typeof: t,
@@ -477,7 +477,7 @@ function Ol() {
477
477
  configurable: !1,
478
478
  enumerable: !1,
479
479
  writable: !1,
480
- value: E
480
+ value: k
481
481
  }), Object.defineProperty(U, "_source", {
482
482
  configurable: !1,
483
483
  enumerable: !1,
@@ -485,7 +485,7 @@ function Ol() {
485
485
  value: D
486
486
  }), Object.freeze && (Object.freeze(U.props), Object.freeze(U)), U;
487
487
  };
488
- function wt(m, w, M, E, D) {
488
+ function wt(m, w, M, k, D) {
489
489
  {
490
490
  var Q, J = {}, U = null, Ae = null;
491
491
  M !== void 0 && (Vt(M), U = "" + M), z(w) && (Vt(w.key), U = "" + w.key), X(w) && (Ae = w.ref, Fe(w, D));
@@ -500,7 +500,7 @@ function Ol() {
500
500
  var ye = typeof m == "function" ? m.displayName || m.name || "Unknown" : m;
501
501
  U && ze(J, ye), Ae && Z(J, ye);
502
502
  }
503
- return ke(m, U, Ae, D, E, tt.current, J);
503
+ return Ee(m, U, Ae, D, k, tt.current, J);
504
504
  }
505
505
  }
506
506
  var Gt = v.ReactCurrentOwner, pr = v.ReactDebugCurrentFrame;
@@ -511,8 +511,8 @@ function Ol() {
511
511
  } else
512
512
  pr.setExtraStackFrame(null);
513
513
  }
514
- var Et;
515
- Et = !1;
514
+ var kt;
515
+ kt = !1;
516
516
  function It(m) {
517
517
  return typeof m == "object" && m !== null && m.$$typeof === t;
518
518
  }
@@ -553,18 +553,18 @@ Check the top-level render call using <` + M + ">.");
553
553
  if (Wr[M])
554
554
  return;
555
555
  Wr[M] = !0;
556
- var E = "";
557
- m && m._owner && m._owner !== Gt.current && (E = " It was passed a child from " + V(m._owner.type) + "."), pt(m), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, E), pt(null);
556
+ var k = "";
557
+ m && m._owner && m._owner !== Gt.current && (k = " It was passed a child from " + V(m._owner.type) + "."), pt(m), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, k), pt(null);
558
558
  }
559
559
  }
560
560
  function Wt(m, w) {
561
561
  {
562
562
  if (typeof m != "object")
563
563
  return;
564
- if (kt(m))
564
+ if (Et(m))
565
565
  for (var M = 0; M < m.length; M++) {
566
- var E = m[M];
567
- It(E) && zt(E, w);
566
+ var k = m[M];
567
+ It(k) && zt(k, w);
568
568
  }
569
569
  else if (It(m))
570
570
  m._store && (m._store.validated = !0);
@@ -591,10 +591,10 @@ Check the top-level render call using <` + M + ">.");
591
591
  else
592
592
  return;
593
593
  if (M) {
594
- var E = V(w);
595
- we(M, m.props, "prop", E, m);
596
- } else if (w.PropTypes !== void 0 && !Et) {
597
- Et = !0;
594
+ var k = V(w);
595
+ we(M, m.props, "prop", k, m);
596
+ } else if (w.PropTypes !== void 0 && !kt) {
597
+ kt = !0;
598
598
  var D = V(w);
599
599
  R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
600
600
  }
@@ -604,9 +604,9 @@ Check the top-level render call using <` + M + ">.");
604
604
  function Yn(m) {
605
605
  {
606
606
  for (var w = Object.keys(m.props), M = 0; M < w.length; M++) {
607
- var E = w[M];
608
- if (E !== "children" && E !== "key") {
609
- pt(m), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), pt(null);
607
+ var k = w[M];
608
+ if (k !== "children" && k !== "key") {
609
+ pt(m), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), pt(null);
610
610
  break;
611
611
  }
612
612
  }
@@ -614,7 +614,7 @@ Check the top-level render call using <` + M + ">.");
614
614
  }
615
615
  }
616
616
  var Hr = {};
617
- function Kr(m, w, M, E, D, Q) {
617
+ function Kr(m, w, M, k, D, Q) {
618
618
  {
619
619
  var J = se(m);
620
620
  if (!J) {
@@ -623,7 +623,7 @@ Check the top-level render call using <` + M + ">.");
623
623
  var Ae = yr();
624
624
  Ae ? U += Ae : U += gr();
625
625
  var he;
626
- m === null ? he = "null" : kt(m) ? he = "array" : m !== void 0 && m.$$typeof === t ? (he = "<" + (V(m.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : he = typeof m, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", he, U);
626
+ m === null ? he = "null" : Et(m) ? he = "array" : m !== void 0 && m.$$typeof === t ? (he = "<" + (V(m.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : he = typeof m, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", he, U);
627
627
  }
628
628
  var ye = wt(m, w, M, D, Q);
629
629
  if (ye == null)
@@ -631,8 +631,8 @@ Check the top-level render call using <` + M + ">.");
631
631
  if (J) {
632
632
  var We = w.children;
633
633
  if (We !== void 0)
634
- if (E)
635
- if (kt(We)) {
634
+ if (k)
635
+ if (Et(We)) {
636
636
  for (var Ht = 0; Ht < We.length; Ht++)
637
637
  Wt(We[Ht], m);
638
638
  Object.freeze && Object.freeze(We);
@@ -642,11 +642,11 @@ Check the top-level render call using <` + M + ">.");
642
642
  Wt(We, m);
643
643
  }
644
644
  if (ce.call(w, "key")) {
645
- var Tt = V(m), Ee = Object.keys(w).filter(function(Di) {
645
+ var Tt = V(m), ke = Object.keys(w).filter(function(Di) {
646
646
  return Di !== "key";
647
- }), to = Ee.length > 0 ? "{key: someKey, " + Ee.join(": ..., ") + ": ...}" : "{key: someKey}";
647
+ }), to = ke.length > 0 ? "{key: someKey, " + ke.join(": ..., ") + ": ...}" : "{key: someKey}";
648
648
  if (!Hr[Tt + to]) {
649
- var Fi = Ee.length > 0 ? "{" + Ee.join(": ..., ") + ": ...}" : "{}";
649
+ var Fi = ke.length > 0 ? "{" + ke.join(": ..., ") + ": ...}" : "{}";
650
650
  R(`A props object containing a "key" prop is being spread into JSX:
651
651
  let props = %s;
652
652
  <%s {...props} />
@@ -698,8 +698,8 @@ function Je(e, t) {
698
698
  }
699
699
  return r;
700
700
  }
701
- var kl = !1;
702
- function El(e) {
701
+ var El = !1;
702
+ function kl(e) {
703
703
  if (e.sheet)
704
704
  return e.sheet;
705
705
  for (var t = 0; t < document.styleSheets.length; t++)
@@ -716,7 +716,7 @@ var Tl = /* @__PURE__ */ function() {
716
716
  this._insertTag = function(o) {
717
717
  var a;
718
718
  n.tags.length === 0 ? n.insertionPoint ? a = n.insertionPoint.nextSibling : n.prepend ? a = n.container.firstChild : a = n.before : a = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, a), n.tags.push(o);
719
- }, this.isSpeedy = r.speedy === void 0 ? !kl : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
719
+ }, this.isSpeedy = r.speedy === void 0 ? !El : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
720
720
  }
721
721
  var t = e.prototype;
722
722
  return t.hydrate = function(n) {
@@ -725,7 +725,7 @@ var Tl = /* @__PURE__ */ function() {
725
725
  this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Il(this));
726
726
  var o = this.tags[this.tags.length - 1];
727
727
  if (this.isSpeedy) {
728
- var a = El(o);
728
+ var a = kl(o);
729
729
  try {
730
730
  a.insertRule(n, a.cssRules.length);
731
731
  } catch {
@@ -758,7 +758,7 @@ function xo(e, t) {
758
758
  function je(e, t) {
759
759
  return e.charCodeAt(t) | 0;
760
760
  }
761
- function kr(e, t, r) {
761
+ function Er(e, t, r) {
762
762
  return e.slice(t, r);
763
763
  }
764
764
  function lt(e) {
@@ -773,21 +773,21 @@ function Yr(e, t) {
773
773
  function Jl(e, t) {
774
774
  return e.map(t).join("");
775
775
  }
776
- var kn = 1, ar = 1, bs = 0, Te = 0, _e = 0, ir = "";
777
- function En(e, t, r, n, o, a, i) {
778
- return { value: e, root: t, parent: r, type: n, props: o, children: a, line: kn, column: ar, length: i, return: "" };
776
+ var En = 1, ar = 1, bs = 0, Te = 0, _e = 0, ir = "";
777
+ function kn(e, t, r, n, o, a, i) {
778
+ return { value: e, root: t, parent: r, type: n, props: o, children: a, line: En, column: ar, length: i, return: "" };
779
779
  }
780
780
  function wr(e, t) {
781
- return Dl(En("", null, null, "", null, null, 0), e, { length: -e.length }, t);
781
+ return Dl(kn("", null, null, "", null, null, 0), e, { length: -e.length }, t);
782
782
  }
783
783
  function Vl() {
784
784
  return _e;
785
785
  }
786
786
  function Gl() {
787
- return _e = Te > 0 ? je(ir, --Te) : 0, ar--, _e === 10 && (ar = 1, kn--), _e;
787
+ return _e = Te > 0 ? je(ir, --Te) : 0, ar--, _e === 10 && (ar = 1, En--), _e;
788
788
  }
789
789
  function Ue() {
790
- return _e = Te < bs ? je(ir, Te++) : 0, ar++, _e === 10 && (ar = 1, kn++), _e;
790
+ return _e = Te < bs ? je(ir, Te++) : 0, ar++, _e === 10 && (ar = 1, En++), _e;
791
791
  }
792
792
  function dt() {
793
793
  return je(ir, Te);
@@ -796,9 +796,9 @@ function sn() {
796
796
  return Te;
797
797
  }
798
798
  function $r(e, t) {
799
- return kr(ir, e, t);
799
+ return Er(ir, e, t);
800
800
  }
801
- function Er(e) {
801
+ function kr(e) {
802
802
  switch (e) {
803
803
  case 0:
804
804
  case 9:
@@ -831,7 +831,7 @@ function Er(e) {
831
831
  return 0;
832
832
  }
833
833
  function Ss(e) {
834
- return kn = ar = 1, bs = lt(ir = e), Te = 0, [];
834
+ return En = ar = 1, bs = lt(ir = e), Te = 0, [];
835
835
  }
836
836
  function vs(e) {
837
837
  return ir = "", e;
@@ -842,7 +842,7 @@ function ln(e) {
842
842
  function zl(e) {
843
843
  for (; (_e = dt()) && _e < 33; )
844
844
  Ue();
845
- return Er(e) > 2 || Er(_e) > 3 ? "" : " ";
845
+ return kr(e) > 2 || kr(_e) > 3 ? "" : " ";
846
846
  }
847
847
  function Wl(e, t) {
848
848
  for (; --t && Ue() && !(_e < 48 || _e > 102 || _e > 57 && _e < 65 || _e > 70 && _e < 97); )
@@ -874,7 +874,7 @@ function Hl(e, t) {
874
874
  return "/*" + $r(t, Te - 1) + "*" + Mn(e === 47 ? e : Ue());
875
875
  }
876
876
  function Kl(e) {
877
- for (; !Er(dt()); )
877
+ for (; !kr(dt()); )
878
878
  Ue();
879
879
  return $r(e, Te);
880
880
  }
@@ -972,15 +972,15 @@ function cn(e, t, r, n, o, a, i, l, c) {
972
972
  }
973
973
  function ia(e, t, r, n, o, a, i, l, c, u, d) {
974
974
  for (var f = o - 1, h = o === 0 ? a : [""], x = Bo(h), _ = 0, y = 0, g = 0; _ < n; ++_)
975
- for (var v = 0, R = kr(e, f + 1, f = Fl(y = i[_])), P = e; v < x; ++v)
975
+ for (var v = 0, R = Er(e, f + 1, f = Fl(y = i[_])), P = e; v < x; ++v)
976
976
  (P = xs(y > 0 ? h[v] + " " + R : te(R, /&\f/g, h[v]))) && (c[g++] = P);
977
- return En(e, t, r, o === 0 ? Do : l, c, u, d);
977
+ return kn(e, t, r, o === 0 ? Do : l, c, u, d);
978
978
  }
979
979
  function ql(e, t, r) {
980
- return En(e, t, r, ys, Mn(Vl()), kr(e, 2, -2), 0);
980
+ return kn(e, t, r, ys, Mn(Vl()), Er(e, 2, -2), 0);
981
981
  }
982
982
  function la(e, t, r, n) {
983
- return En(e, t, r, Uo, kr(e, 0, n), kr(e, n + 1, -1), n);
983
+ return kn(e, t, r, Uo, Er(e, 0, n), Er(e, n + 1, -1), n);
984
984
  }
985
985
  function rr(e, t) {
986
986
  for (var r = "", n = Bo(e), o = 0; o < n; o++)
@@ -1017,13 +1017,13 @@ function Ql(e) {
1017
1017
  };
1018
1018
  }
1019
1019
  var ec = function(t, r, n) {
1020
- for (var o = 0, a = 0; o = a, a = dt(), o === 38 && a === 12 && (r[n] = 1), !Er(a); )
1020
+ for (var o = 0, a = 0; o = a, a = dt(), o === 38 && a === 12 && (r[n] = 1), !kr(a); )
1021
1021
  Ue();
1022
1022
  return $r(t, Te);
1023
1023
  }, tc = function(t, r) {
1024
1024
  var n = -1, o = 44;
1025
1025
  do
1026
- switch (Er(o)) {
1026
+ switch (kr(o)) {
1027
1027
  case 0:
1028
1028
  o === 38 && dt() === 12 && (r[n] = 1), t[n] += ec(Te - 1, r, n);
1029
1029
  break;
@@ -1588,17 +1588,17 @@ function wc(e, t, r, n) {
1588
1588
  const o = bc(r), a = vc(o, n), i = e[r];
1589
1589
  return nt(e, i, a);
1590
1590
  }
1591
- function ks(e, t) {
1591
+ function Es(e, t) {
1592
1592
  const r = Vo(e.theme);
1593
1593
  return Object.keys(e).map((n) => wc(e, t, n, r)).reduce(Ar, {});
1594
1594
  }
1595
1595
  function ue(e) {
1596
- return ks(e, Tn);
1596
+ return Es(e, Tn);
1597
1597
  }
1598
1598
  ue.propTypes = process.env.NODE_ENV !== "production" ? Tn.reduce((e, t) => (e[t] = Ot, e), {}) : {};
1599
1599
  ue.filterProps = Tn;
1600
1600
  function de(e) {
1601
- return ks(e, Nn);
1601
+ return Es(e, Nn);
1602
1602
  }
1603
1603
  de.propTypes = process.env.NODE_ENV !== "production" ? Nn.reduce((e, t) => (e[t] = Ot, e), {}) : {};
1604
1604
  de.filterProps = Nn;
@@ -1630,7 +1630,7 @@ function Qe(e, t) {
1630
1630
  transform: t
1631
1631
  });
1632
1632
  }
1633
- const jc = Qe("border", Ke), Cc = Qe("borderTop", Ke), Pc = Qe("borderRight", Ke), Ac = Qe("borderBottom", Ke), Oc = Qe("borderLeft", Ke), Lc = Qe("borderColor"), Mc = Qe("borderTopColor"), kc = Qe("borderRightColor"), Ec = Qe("borderBottomColor"), Ic = Qe("borderLeftColor"), Tc = Qe("outline", Ke), Nc = Qe("outlineColor"), Fn = (e) => {
1633
+ const jc = Qe("border", Ke), Cc = Qe("borderTop", Ke), Pc = Qe("borderRight", Ke), Ac = Qe("borderBottom", Ke), Oc = Qe("borderLeft", Ke), Lc = Qe("borderColor"), Mc = Qe("borderTopColor"), Ec = Qe("borderRightColor"), kc = Qe("borderBottomColor"), Ic = Qe("borderLeftColor"), Tc = Qe("outline", Ke), Nc = Qe("outlineColor"), Fn = (e) => {
1634
1634
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1635
1635
  const t = Fr(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
1636
1636
  borderRadius: Ut(t, n)
@@ -1643,7 +1643,7 @@ Fn.propTypes = process.env.NODE_ENV !== "production" ? {
1643
1643
  borderRadius: Ot
1644
1644
  } : {};
1645
1645
  Fn.filterProps = ["borderRadius"];
1646
- $n(jc, Cc, Pc, Ac, Oc, Lc, Mc, kc, Ec, Ic, Fn, Tc, Nc);
1646
+ $n(jc, Cc, Pc, Ac, Oc, Lc, Mc, Ec, kc, Ic, Fn, Tc, Nc);
1647
1647
  const Dn = (e) => {
1648
1648
  if (e.gap !== void 0 && e.gap !== null) {
1649
1649
  const t = Fr(e.theme, "spacing", 8, "gap"), r = (n) => ({
@@ -2064,7 +2064,7 @@ function tu(...e) {
2064
2064
  function ru(e, t) {
2065
2065
  return typeof e == "function" ? e(t) : e;
2066
2066
  }
2067
- function Es() {
2067
+ function ks() {
2068
2068
  function e(r, n, o, a) {
2069
2069
  const i = {
2070
2070
  [r]: n,
@@ -2138,7 +2138,7 @@ function Es() {
2138
2138
  }
2139
2139
  return t;
2140
2140
  }
2141
- const Ur = Es();
2141
+ const Ur = ks();
2142
2142
  Ur.filterProps = ["sx"];
2143
2143
  function Is(e, t) {
2144
2144
  const r = this;
@@ -2218,7 +2218,7 @@ const du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2218
2218
  __proto__: null,
2219
2219
  default: Ur,
2220
2220
  extendSxProp: Ts,
2221
- unstable_createStyleFunctionSx: Es,
2221
+ unstable_createStyleFunctionSx: ks,
2222
2222
  unstable_defaultSxConfig: Dr
2223
2223
  }, Symbol.toStringTag, { value: "Module" })), ha = (e) => e, hu = () => {
2224
2224
  let e = ha;
@@ -2671,10 +2671,10 @@ function _a(e, t) {
2671
2671
  function dn(e) {
2672
2672
  return e && e.ownerDocument || document;
2673
2673
  }
2674
- function ku(e, t) {
2674
+ function Eu(e, t) {
2675
2675
  typeof e == "function" ? e(t) : e && (e.current = t);
2676
2676
  }
2677
- function Eu({
2677
+ function ku({
2678
2678
  controlled: e,
2679
2679
  default: t,
2680
2680
  name: r,
@@ -2713,7 +2713,7 @@ function ao(e) {
2713
2713
  function wo(...e) {
2714
2714
  return $.useMemo(() => e.every((t) => t == null) ? null : (t) => {
2715
2715
  e.forEach((r) => {
2716
- ku(r, t);
2716
+ Eu(r, t);
2717
2717
  });
2718
2718
  }, e);
2719
2719
  }
@@ -3637,9 +3637,9 @@ function Ld(e, t) {
3637
3637
  // No need to clone deep
3638
3638
  });
3639
3639
  }
3640
- const Md = 0.2, kd = 0.14, Ed = 0.12;
3640
+ const Md = 0.2, Ed = 0.14, kd = 0.12;
3641
3641
  function ie(...e) {
3642
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Md})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${kd})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ed})`].join(",");
3642
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Md})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ed})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${kd})`].join(",");
3643
3643
  }
3644
3644
  const Id = ["none", ie(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ie(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ie(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ie(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ie(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ie(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ie(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ie(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ie(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ie(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ie(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ie(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ie(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ie(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ie(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ie(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ie(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ie(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ie(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ie(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ie(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ie(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ie(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ie(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Td = ["duration", "easing", "delay"], Nd = {
3645
3645
  // This is the most common easing curve.
@@ -4208,21 +4208,21 @@ const jr = () => {
4208
4208
  e = n, t = o;
4209
4209
  });
4210
4210
  return r.resolve = e, r.reject = t, r;
4211
- }, ka = (e) => e == null ? "" : "" + e, b0 = (e, t, r) => {
4211
+ }, Ea = (e) => e == null ? "" : "" + e, b0 = (e, t, r) => {
4212
4212
  e.forEach((n) => {
4213
4213
  t[n] && (r[n] = t[n]);
4214
4214
  });
4215
- }, S0 = /###/g, Ea = (e) => e && e.indexOf("###") > -1 ? e.replace(S0, ".") : e, Ia = (e) => !e || typeof e == "string", Lr = (e, t, r) => {
4215
+ }, S0 = /###/g, ka = (e) => e && e.indexOf("###") > -1 ? e.replace(S0, ".") : e, Ia = (e) => !e || typeof e == "string", Lr = (e, t, r) => {
4216
4216
  const n = typeof t != "string" ? t : t.split(".");
4217
4217
  let o = 0;
4218
4218
  for (; o < n.length - 1; ) {
4219
4219
  if (Ia(e)) return {};
4220
- const a = Ea(n[o]);
4220
+ const a = ka(n[o]);
4221
4221
  !e[a] && r && (e[a] = new r()), Object.prototype.hasOwnProperty.call(e, a) ? e = e[a] : e = {}, ++o;
4222
4222
  }
4223
4223
  return Ia(e) ? {} : {
4224
4224
  obj: e,
4225
- k: Ea(n[o])
4225
+ k: ka(n[o])
4226
4226
  };
4227
4227
  }, Ta = (e, t, r) => {
4228
4228
  const {
@@ -4820,7 +4820,7 @@ let L0 = [{
4820
4820
  21: (e) => e % 100 == 1 ? 1 : e % 100 == 2 ? 2 : e % 100 == 3 || e % 100 == 4 ? 3 : 0,
4821
4821
  22: (e) => e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3
4822
4822
  };
4823
- const k0 = ["v1", "v2", "v3"], E0 = ["v4"], Da = {
4823
+ const E0 = ["v1", "v2", "v3"], k0 = ["v4"], Da = {
4824
4824
  zero: 0,
4825
4825
  one: 1,
4826
4826
  two: 2,
@@ -4841,7 +4841,7 @@ const k0 = ["v1", "v2", "v3"], E0 = ["v4"], Da = {
4841
4841
  class T0 {
4842
4842
  constructor(t) {
4843
4843
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4844
- this.languageUtils = t, this.options = r, this.logger = ut.create("pluralResolver"), (!this.options.compatibilityJSON || E0.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = I0();
4844
+ this.languageUtils = t, this.options = r, this.logger = ut.create("pluralResolver"), (!this.options.compatibilityJSON || k0.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = I0();
4845
4845
  }
4846
4846
  addRule(t, r) {
4847
4847
  this.rules[t] = r;
@@ -4885,7 +4885,7 @@ class T0 {
4885
4885
  return this.options.compatibilityJSON === "v1" ? o === 1 ? "" : typeof o == "number" ? `_plural_${o.toString()}` : a() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && t.numbers.length === 2 && t.numbers[0] === 1 ? a() : this.options.prepend && n.toString() ? this.options.prepend + n.toString() : n.toString();
4886
4886
  }
4887
4887
  shouldUseIntlApi() {
4888
- return !k0.includes(this.options.compatibilityJSON);
4888
+ return !E0.includes(this.options.compatibilityJSON);
4889
4889
  }
4890
4890
  }
4891
4891
  const Ua = function(e, t, r) {
@@ -4970,7 +4970,7 @@ class N0 {
4970
4970
  continue;
4971
4971
  } else
4972
4972
  this.logger.warn(`missed to pass in variable ${_} for interpolating ${t}`), i = "";
4973
- else typeof i != "string" && !this.useRawValueToEscape && (i = ka(i));
4973
+ else typeof i != "string" && !this.useRawValueToEscape && (i = Ea(i));
4974
4974
  const y = x.safeValue(i);
4975
4975
  if (t = t.replace(a[0], y), f ? (x.regex.lastIndex += i.length, x.regex.lastIndex -= a[0].length) : x.regex.lastIndex = 0, l++, l >= this.maxReplaces)
4976
4976
  break;
@@ -5008,7 +5008,7 @@ class N0 {
5008
5008
  o[1] = d.shift(), c = d, u = !0;
5009
5009
  }
5010
5010
  if (a = r(l.call(this, o[1].trim(), i), i), a && o[0] === t && typeof a != "string") return a;
5011
- typeof a != "string" && (a = ka(a)), a || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`), a = ""), u && (a = c.reduce((d, f) => this.format(d, f, n.lng, {
5011
+ typeof a != "string" && (a = Ea(a)), a || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`), a = ""), u && (a = c.reduce((d, f) => this.format(d, f, n.lng, {
5012
5012
  ...n,
5013
5013
  interpolationkey: o[1].trim()
5014
5014
  }), a.trim())), t = t.replace(o[0], a), this.regexp.lastIndex = 0;
@@ -10594,7 +10594,13 @@ function _h({
10594
10594
  if (!a.convex_hull) return null;
10595
10595
  const l = a.convex_hull.vertices.map(
10596
10596
  (u) => new gt.Vector3(u.x / 1e3, u.y / 1e3, u.z / 1e3)
10597
- ), c = new Sl(l);
10597
+ );
10598
+ let c;
10599
+ try {
10600
+ c = new Sl(l);
10601
+ } catch (u) {
10602
+ return console.log("Error creating ConvexGeometry:", u), null;
10603
+ }
10598
10604
  return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx("mesh", { geometry: c, children: /* @__PURE__ */ s.jsx(
10599
10605
  "meshStandardMaterial",
10600
10606
  {
@@ -11087,10 +11093,10 @@ const Oo = ht(
11087
11093
  )
11088
11094
  ] });
11089
11095
  });
11090
- function kh(e, t, r = (n, o) => n === o) {
11096
+ function Eh(e, t, r = (n, o) => n === o) {
11091
11097
  return e.length === t.length && e.every((n, o) => r(n, t[o]));
11092
11098
  }
11093
- const Eh = 2;
11099
+ const kh = 2;
11094
11100
  function ii(e, t) {
11095
11101
  return e - t;
11096
11102
  }
@@ -11165,7 +11171,7 @@ function rn({
11165
11171
  r && r(t);
11166
11172
  }
11167
11173
  function nn(e, t) {
11168
- return typeof e == "number" && typeof t == "number" ? e === t : typeof e == "object" && typeof t == "object" ? kh(e, t) : !1;
11174
+ return typeof e == "number" && typeof t == "number" ? e === t : typeof e == "object" && typeof t == "object" ? Eh(e, t) : !1;
11169
11175
  }
11170
11176
  const $h = {
11171
11177
  horizontal: {
@@ -11217,39 +11223,39 @@ function Dh(e) {
11217
11223
  shiftStep: g = 10,
11218
11224
  tabIndex: v,
11219
11225
  value: R
11220
- } = e, P = $.useRef(), [T, j] = $.useState(-1), [I, L] = $.useState(-1), [re, le] = $.useState(!1), se = $.useRef(0), [F, H] = Eu({
11226
+ } = e, P = $.useRef(), [T, j] = $.useState(-1), [I, L] = $.useState(-1), [re, le] = $.useState(!1), se = $.useRef(0), [F, H] = ku({
11221
11227
  controlled: R,
11222
11228
  default: r ?? c,
11223
11229
  name: "Slider"
11224
- }), V = d && ((C, k, N) => {
11230
+ }), V = d && ((C, E, N) => {
11225
11231
  const G = C.nativeEvent || C, X = new G.constructor(G.type, G);
11226
11232
  Object.defineProperty(X, "target", {
11227
11233
  writable: !0,
11228
11234
  value: {
11229
- value: k,
11235
+ value: E,
11230
11236
  name: u
11231
11237
  }
11232
- }), d(X, k, N);
11238
+ }), d(X, E, N);
11233
11239
  }), K = Array.isArray(F);
11234
11240
  let W = K ? F.slice().sort(ii) : [F];
11235
11241
  W = W.map((C) => C == null ? c : tr(C, c, l));
11236
- const Se = i === !0 && y !== null ? [...Array(Math.floor((l - c) / y) + 1)].map((C, k) => ({
11237
- value: c + y * k
11242
+ const Se = i === !0 && y !== null ? [...Array(Math.floor((l - c) / y) + 1)].map((C, E) => ({
11243
+ value: c + y * E
11238
11244
  })) : i || [], ae = Se.map((C) => C.value), {
11239
11245
  isFocusVisibleRef: q,
11240
11246
  onBlur: Re,
11241
11247
  onFocus: Oe,
11242
11248
  ref: et
11243
- } = Bu(), [ft, Ve] = $.useState(-1), ve = $.useRef(), bt = wo(et, ve), at = wo(x, bt), Ge = (C) => (k) => {
11249
+ } = Bu(), [ft, Ve] = $.useState(-1), ve = $.useRef(), bt = wo(et, ve), at = wo(x, bt), Ge = (C) => (E) => {
11244
11250
  var N;
11245
- const G = Number(k.currentTarget.getAttribute("data-index"));
11246
- Oe(k), q.current === !0 && Ve(G), L(G), C == null || (N = C.onFocus) == null || N.call(C, k);
11247
- }, Ne = (C) => (k) => {
11251
+ const G = Number(E.currentTarget.getAttribute("data-index"));
11252
+ Oe(E), q.current === !0 && Ve(G), L(G), C == null || (N = C.onFocus) == null || N.call(C, E);
11253
+ }, Ne = (C) => (E) => {
11248
11254
  var N;
11249
- Re(k), q.current === !1 && Ve(-1), L(-1), C == null || (N = C.onBlur) == null || N.call(C, k);
11250
- }, st = (C, k) => {
11255
+ Re(E), q.current === !1 && Ve(-1), L(-1), C == null || (N = C.onBlur) == null || N.call(C, E);
11256
+ }, st = (C, E) => {
11251
11257
  const N = Number(C.currentTarget.getAttribute("data-index")), G = W[N], X = ae.indexOf(G);
11252
- let z = k;
11258
+ let z = E;
11253
11259
  if (Se && y == null) {
11254
11260
  const Fe = ae[ae.length - 1];
11255
11261
  z > Fe ? z = Fe : z < ae[0] ? z = ae[0] : z = z < G ? ae[X - 1] : ae[X + 1];
@@ -11269,14 +11275,14 @@ function Dh(e) {
11269
11275
  });
11270
11276
  }
11271
11277
  H(z), Ve(N), V && !nn(z, F) && V(C, z, N), f && f(C, z);
11272
- }, it = (C) => (k) => {
11278
+ }, it = (C) => (E) => {
11273
11279
  var N;
11274
11280
  if (y !== null) {
11275
- const G = Number(k.currentTarget.getAttribute("data-index")), X = W[G];
11281
+ const G = Number(E.currentTarget.getAttribute("data-index")), X = W[G];
11276
11282
  let z = null;
11277
- (k.key === "ArrowLeft" || k.key === "ArrowDown") && k.shiftKey || k.key === "PageDown" ? z = Math.max(X - g, c) : ((k.key === "ArrowRight" || k.key === "ArrowUp") && k.shiftKey || k.key === "PageUp") && (z = Math.min(X + g, l)), z !== null && (st(k, z), k.preventDefault());
11283
+ (E.key === "ArrowLeft" || E.key === "ArrowDown") && E.shiftKey || E.key === "PageDown" ? z = Math.max(X - g, c) : ((E.key === "ArrowRight" || E.key === "ArrowUp") && E.shiftKey || E.key === "PageUp") && (z = Math.min(X + g, l)), z !== null && (st(E, z), E.preventDefault());
11278
11284
  }
11279
- C == null || (N = C.onKeyDown) == null || N.call(C, k);
11285
+ C == null || (N = C.onKeyDown) == null || N.call(C, E);
11280
11286
  };
11281
11287
  Us(() => {
11282
11288
  if (n && ve.current.contains(document.activeElement)) {
@@ -11284,15 +11290,15 @@ function Dh(e) {
11284
11290
  (C = document.activeElement) == null || C.blur();
11285
11291
  }
11286
11292
  }, [n]), n && T !== -1 && j(-1), n && ft !== -1 && Ve(-1);
11287
- const Mt = (C) => (k) => {
11293
+ const Mt = (C) => (E) => {
11288
11294
  var N;
11289
- (N = C.onChange) == null || N.call(C, k), st(k, k.target.valueAsNumber);
11295
+ (N = C.onChange) == null || N.call(C, E), st(E, E.target.valueAsNumber);
11290
11296
  }, mt = $.useRef();
11291
11297
  let $e = h;
11292
11298
  a && h === "horizontal" && ($e += "-reverse");
11293
11299
  const O = ({
11294
11300
  finger: C,
11295
- move: k = !1
11301
+ move: E = !1
11296
11302
  }) => {
11297
11303
  const {
11298
11304
  current: N
@@ -11312,23 +11318,23 @@ function Dh(e) {
11312
11318
  Z = ae[wt];
11313
11319
  }
11314
11320
  Z = tr(Z, c, l);
11315
- let ke = 0;
11321
+ let Ee = 0;
11316
11322
  if (K) {
11317
- k ? ke = mt.current : ke = Ha(W, Z), o && (Z = tr(Z, W[ke - 1] || -1 / 0, W[ke + 1] || 1 / 0));
11323
+ E ? Ee = mt.current : Ee = Ha(W, Z), o && (Z = tr(Z, W[Ee - 1] || -1 / 0, W[Ee + 1] || 1 / 0));
11318
11324
  const wt = Z;
11319
11325
  Z = Ka({
11320
11326
  values: W,
11321
11327
  newValue: Z,
11322
- index: ke
11323
- }), o && k || (ke = Z.indexOf(wt), mt.current = ke);
11328
+ index: Ee
11329
+ }), o && E || (Ee = Z.indexOf(wt), mt.current = Ee);
11324
11330
  }
11325
11331
  return {
11326
11332
  newValue: Z,
11327
- activeIndex: ke
11333
+ activeIndex: Ee
11328
11334
  };
11329
11335
  }, Y = ao((C) => {
11330
- const k = tn(C, P);
11331
- if (!k)
11336
+ const E = tn(C, P);
11337
+ if (!E)
11332
11338
  return;
11333
11339
  if (se.current += 1, C.type === "mousemove" && C.buttons === 0) {
11334
11340
  ce(C);
@@ -11338,22 +11344,22 @@ function Dh(e) {
11338
11344
  newValue: N,
11339
11345
  activeIndex: G
11340
11346
  } = O({
11341
- finger: k,
11347
+ finger: E,
11342
11348
  move: !0
11343
11349
  });
11344
11350
  rn({
11345
11351
  sliderRef: ve,
11346
11352
  activeIndex: G,
11347
11353
  setActive: j
11348
- }), H(N), !re && se.current > Eh && le(!0), V && !nn(N, F) && V(C, N, G);
11354
+ }), H(N), !re && se.current > kh && le(!0), V && !nn(N, F) && V(C, N, G);
11349
11355
  }), ce = ao((C) => {
11350
- const k = tn(C, P);
11351
- if (le(!1), !k)
11356
+ const E = tn(C, P);
11357
+ if (le(!1), !E)
11352
11358
  return;
11353
11359
  const {
11354
11360
  newValue: N
11355
11361
  } = O({
11356
- finger: k,
11362
+ finger: E,
11357
11363
  move: !0
11358
11364
  });
11359
11365
  j(-1), C.type === "touchend" && L(-1), f && f(C, N), P.current = void 0, Me();
@@ -11361,8 +11367,8 @@ function Dh(e) {
11361
11367
  if (n)
11362
11368
  return;
11363
11369
  Xa() || C.preventDefault();
11364
- const k = C.changedTouches[0];
11365
- k != null && (P.current = k.identifier);
11370
+ const E = C.changedTouches[0];
11371
+ E != null && (P.current = E.identifier);
11366
11372
  const N = tn(C, P);
11367
11373
  if (N !== !1) {
11368
11374
  const {
@@ -11400,12 +11406,12 @@ function Dh(e) {
11400
11406
  }, [Me, Le]), $.useEffect(() => {
11401
11407
  n && Me();
11402
11408
  }, [n, Me]);
11403
- const St = (C) => (k) => {
11409
+ const St = (C) => (E) => {
11404
11410
  var N;
11405
- if ((N = C.onMouseDown) == null || N.call(C, k), n || k.defaultPrevented || k.button !== 0)
11411
+ if ((N = C.onMouseDown) == null || N.call(C, E), n || E.defaultPrevented || E.button !== 0)
11406
11412
  return;
11407
- k.preventDefault();
11408
- const G = tn(k, P);
11413
+ E.preventDefault();
11414
+ const G = tn(E, P);
11409
11415
  if (G !== !1) {
11410
11416
  const {
11411
11417
  newValue: z,
@@ -11417,28 +11423,28 @@ function Dh(e) {
11417
11423
  sliderRef: ve,
11418
11424
  activeIndex: Fe,
11419
11425
  setActive: j
11420
- }), H(z), V && !nn(z, F) && V(k, z, Fe);
11426
+ }), H(z), V && !nn(z, F) && V(E, z, Fe);
11421
11427
  }
11422
11428
  se.current = 0;
11423
11429
  const X = dn(ve.current);
11424
11430
  X.addEventListener("mousemove", Y, {
11425
11431
  passive: !0
11426
11432
  }), X.addEventListener("mouseup", ce);
11427
- }, we = Cn(K ? W[0] : c, c, l), vt = Cn(W[W.length - 1], c, l) - we, kt = (C = {}) => {
11428
- const k = hn(C), N = {
11429
- onMouseDown: St(k || {})
11430
- }, G = A({}, k, N);
11433
+ }, we = Cn(K ? W[0] : c, c, l), vt = Cn(W[W.length - 1], c, l) - we, Et = (C = {}) => {
11434
+ const E = hn(C), N = {
11435
+ onMouseDown: St(E || {})
11436
+ }, G = A({}, E, N);
11431
11437
  return A({}, C, {
11432
11438
  ref: at
11433
11439
  }, G);
11434
- }, hr = (C) => (k) => {
11440
+ }, hr = (C) => (E) => {
11435
11441
  var N;
11436
- (N = C.onMouseOver) == null || N.call(C, k);
11437
- const G = Number(k.currentTarget.getAttribute("data-index"));
11442
+ (N = C.onMouseOver) == null || N.call(C, E);
11443
+ const G = Number(E.currentTarget.getAttribute("data-index"));
11438
11444
  L(G);
11439
- }, fr = (C) => (k) => {
11445
+ }, fr = (C) => (E) => {
11440
11446
  var N;
11441
- (N = C.onMouseLeave) == null || N.call(C, k), L(-1);
11447
+ (N = C.onMouseLeave) == null || N.call(C, E), L(-1);
11442
11448
  };
11443
11449
  return {
11444
11450
  active: T,
@@ -11447,7 +11453,7 @@ function Dh(e) {
11447
11453
  dragging: re,
11448
11454
  focusedThumbIndex: ft,
11449
11455
  getHiddenInputProps: (C = {}) => {
11450
- var k;
11456
+ var E;
11451
11457
  const N = hn(C), G = {
11452
11458
  onChange: Mt(N || {}),
11453
11459
  onFocus: Ge(N || {}),
@@ -11464,7 +11470,7 @@ function Dh(e) {
11464
11470
  type: "range",
11465
11471
  min: e.min,
11466
11472
  max: e.max,
11467
- step: e.step === null && e.marks ? "any" : (k = e.step) != null ? k : void 0,
11473
+ step: e.step === null && e.marks ? "any" : (E = e.step) != null ? E : void 0,
11468
11474
  disabled: n
11469
11475
  }, C, X, {
11470
11476
  style: A({}, Ju, {
@@ -11475,13 +11481,13 @@ function Dh(e) {
11475
11481
  })
11476
11482
  });
11477
11483
  },
11478
- getRootProps: kt,
11484
+ getRootProps: Et,
11479
11485
  getThumbProps: (C = {}) => {
11480
- const k = hn(C), N = {
11481
- onMouseOver: hr(k || {}),
11482
- onMouseLeave: fr(k || {})
11486
+ const E = hn(C), N = {
11487
+ onMouseOver: hr(E || {}),
11488
+ onMouseLeave: fr(E || {})
11483
11489
  };
11484
- return A({}, C, k, N);
11490
+ return A({}, C, E, N);
11485
11491
  },
11486
11492
  marks: Se,
11487
11493
  open: I,
@@ -12105,14 +12111,14 @@ const Gh = Lt("span", {
12105
12111
  valueLabelFormat: Me
12106
12112
  }), {
12107
12113
  axisProps: vt,
12108
- getRootProps: kt,
12114
+ getRootProps: Et,
12109
12115
  getHiddenInputProps: hr,
12110
12116
  getThumbProps: fr,
12111
12117
  open: mr,
12112
12118
  active: Vt,
12113
12119
  axis: tt,
12114
12120
  focusedThumbIndex: C,
12115
- range: k,
12121
+ range: E,
12116
12122
  dragging: N,
12117
12123
  marks: G,
12118
12124
  values: X,
@@ -12122,13 +12128,13 @@ const Gh = Lt("span", {
12122
12128
  } = Dh(A({}, we, {
12123
12129
  rootRef: r
12124
12130
  }));
12125
- we.marked = G.length > 0 && G.some((E) => E.label), we.dragging = N, we.focusedThumbIndex = C;
12126
- const Z = Yh(we), ke = (n = (o = Y == null ? void 0 : Y.root) != null ? o : ae.Root) != null ? n : Gh, wt = (a = (i = Y == null ? void 0 : Y.rail) != null ? i : ae.Rail) != null ? a : zh, Gt = (l = (c = Y == null ? void 0 : Y.track) != null ? c : ae.Track) != null ? l : Wh, pr = (u = (d = Y == null ? void 0 : Y.thumb) != null ? d : ae.Thumb) != null ? u : Hh, pt = (f = (h = Y == null ? void 0 : Y.valueLabel) != null ? h : ae.ValueLabel) != null ? f : Kh, Et = (x = (_ = Y == null ? void 0 : Y.mark) != null ? _ : ae.Mark) != null ? x : Xh, It = (y = (g = Y == null ? void 0 : Y.markLabel) != null ? g : ae.MarkLabel) != null ? y : qh, gr = (v = (R = Y == null ? void 0 : Y.input) != null ? R : ae.Input) != null ? v : "input", yr = (P = O == null ? void 0 : O.root) != null ? P : q.root, Wr = (T = O == null ? void 0 : O.rail) != null ? T : q.rail, _r = (j = O == null ? void 0 : O.track) != null ? j : q.track, zt = (I = O == null ? void 0 : O.thumb) != null ? I : q.thumb, Wt = (L = O == null ? void 0 : O.valueLabel) != null ? L : q.valueLabel, qn = (re = O == null ? void 0 : O.mark) != null ? re : q.mark, Yn = (le = O == null ? void 0 : O.markLabel) != null ? le : q.markLabel, Hr = (se = O == null ? void 0 : O.input) != null ? se : q.input, Kr = Rt({
12127
- elementType: ke,
12128
- getSlotProps: kt,
12131
+ we.marked = G.length > 0 && G.some((k) => k.label), we.dragging = N, we.focusedThumbIndex = C;
12132
+ const Z = Yh(we), Ee = (n = (o = Y == null ? void 0 : Y.root) != null ? o : ae.Root) != null ? n : Gh, wt = (a = (i = Y == null ? void 0 : Y.rail) != null ? i : ae.Rail) != null ? a : zh, Gt = (l = (c = Y == null ? void 0 : Y.track) != null ? c : ae.Track) != null ? l : Wh, pr = (u = (d = Y == null ? void 0 : Y.thumb) != null ? d : ae.Thumb) != null ? u : Hh, pt = (f = (h = Y == null ? void 0 : Y.valueLabel) != null ? h : ae.ValueLabel) != null ? f : Kh, kt = (x = (_ = Y == null ? void 0 : Y.mark) != null ? _ : ae.Mark) != null ? x : Xh, It = (y = (g = Y == null ? void 0 : Y.markLabel) != null ? g : ae.MarkLabel) != null ? y : qh, gr = (v = (R = Y == null ? void 0 : Y.input) != null ? R : ae.Input) != null ? v : "input", yr = (P = O == null ? void 0 : O.root) != null ? P : q.root, Wr = (T = O == null ? void 0 : O.rail) != null ? T : q.rail, _r = (j = O == null ? void 0 : O.track) != null ? j : q.track, zt = (I = O == null ? void 0 : O.thumb) != null ? I : q.thumb, Wt = (L = O == null ? void 0 : O.valueLabel) != null ? L : q.valueLabel, qn = (re = O == null ? void 0 : O.mark) != null ? re : q.mark, Yn = (le = O == null ? void 0 : O.markLabel) != null ? le : q.markLabel, Hr = (se = O == null ? void 0 : O.input) != null ? se : q.input, Kr = Rt({
12133
+ elementType: Ee,
12134
+ getSlotProps: Et,
12129
12135
  externalSlotProps: yr,
12130
12136
  externalForwardedProps: St,
12131
- additionalProps: A({}, Uh(ke) && {
12137
+ additionalProps: A({}, Uh(Ee) && {
12132
12138
  as: Se
12133
12139
  }),
12134
12140
  ownerState: A({}, we, yr == null ? void 0 : yr.ownerState),
@@ -12158,7 +12164,7 @@ const Gh = Lt("span", {
12158
12164
  ownerState: A({}, we, Wt == null ? void 0 : Wt.ownerState),
12159
12165
  className: Z.valueLabel
12160
12166
  }), m = Rt({
12161
- elementType: Et,
12167
+ elementType: kt,
12162
12168
  externalSlotProps: qn,
12163
12169
  ownerState: we,
12164
12170
  className: Z.mark
@@ -12173,19 +12179,19 @@ const Gh = Lt("span", {
12173
12179
  externalSlotProps: Hr,
12174
12180
  ownerState: we
12175
12181
  });
12176
- return /* @__PURE__ */ s.jsxs(ke, A({}, Kr, {
12177
- children: [/* @__PURE__ */ s.jsx(wt, A({}, Zn)), /* @__PURE__ */ s.jsx(Gt, A({}, Qn)), G.filter((E) => E.value >= Ne && E.value <= Ge).map((E, D) => {
12178
- const Q = Cn(E.value, Ne, Ge), J = vt[tt].offset(Q);
12182
+ return /* @__PURE__ */ s.jsxs(Ee, A({}, Kr, {
12183
+ children: [/* @__PURE__ */ s.jsx(wt, A({}, Zn)), /* @__PURE__ */ s.jsx(Gt, A({}, Qn)), G.filter((k) => k.value >= Ne && k.value <= Ge).map((k, D) => {
12184
+ const Q = Cn(k.value, Ne, Ge), J = vt[tt].offset(Q);
12179
12185
  let U;
12180
- return ce === !1 ? U = X.indexOf(E.value) !== -1 : U = ce === "normal" && (k ? E.value >= X[0] && E.value <= X[X.length - 1] : E.value <= X[0]) || ce === "inverted" && (k ? E.value <= X[0] || E.value >= X[X.length - 1] : E.value >= X[0]), /* @__PURE__ */ s.jsxs($.Fragment, {
12181
- children: [/* @__PURE__ */ s.jsx(Et, A({
12186
+ return ce === !1 ? U = X.indexOf(k.value) !== -1 : U = ce === "normal" && (E ? k.value >= X[0] && k.value <= X[X.length - 1] : k.value <= X[0]) || ce === "inverted" && (E ? k.value <= X[0] || k.value >= X[X.length - 1] : k.value >= X[0]), /* @__PURE__ */ s.jsxs($.Fragment, {
12187
+ children: [/* @__PURE__ */ s.jsx(kt, A({
12182
12188
  "data-index": D
12183
- }, m, !Or(Et) && {
12189
+ }, m, !Or(kt) && {
12184
12190
  markActive: U
12185
12191
  }, {
12186
12192
  style: A({}, J, m.style),
12187
12193
  className: _t(m.className, U && Z.markActive)
12188
- })), E.label != null ? /* @__PURE__ */ s.jsx(It, A({
12194
+ })), k.label != null ? /* @__PURE__ */ s.jsx(It, A({
12189
12195
  "aria-hidden": !0,
12190
12196
  "data-index": D
12191
12197
  }, w, !Or(It) && {
@@ -12193,17 +12199,17 @@ const Gh = Lt("span", {
12193
12199
  }, {
12194
12200
  style: A({}, J, w.style),
12195
12201
  className: _t(Z.markLabel, w.className, U && Z.markLabelActive),
12196
- children: E.label
12202
+ children: k.label
12197
12203
  })) : null]
12198
12204
  }, D);
12199
- }), X.map((E, D) => {
12200
- const Q = Cn(E, Ne, Ge), J = vt[tt].offset(Q), U = Le === "off" ? Zh : pt;
12205
+ }), X.map((k, D) => {
12206
+ const Q = Cn(k, Ne, Ge), J = vt[tt].offset(Q), U = Le === "off" ? Zh : pt;
12201
12207
  return (
12202
12208
  /* 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. */
12203
12209
  /* @__PURE__ */ s.jsx(U, A({}, !Or(U) && {
12204
12210
  valueLabelFormat: Me,
12205
12211
  valueLabelDisplay: Le,
12206
- value: typeof Me == "function" ? Me($e(E), D) : Me,
12212
+ value: typeof Me == "function" ? Me($e(k), D) : Me,
12207
12213
  index: D,
12208
12214
  open: mr === D || Vt === D || Le === "on",
12209
12215
  disabled: Ve
@@ -12216,9 +12222,9 @@ const Gh = Lt("span", {
12216
12222
  children: /* @__PURE__ */ s.jsx(gr, A({
12217
12223
  "data-index": D,
12218
12224
  "aria-label": ve ? ve(D) : V,
12219
- "aria-valuenow": $e(E),
12225
+ "aria-valuenow": $e(k),
12220
12226
  "aria-labelledby": W,
12221
- "aria-valuetext": bt ? bt($e(E), D) : K,
12227
+ "aria-valuetext": bt ? bt($e(k), D) : K,
12222
12228
  value: X[D]
12223
12229
  }, M))
12224
12230
  }))
@@ -13191,7 +13197,7 @@ const wf = (e, t, r, { allOwnKeys: n } = {}) => (Gr(t, (o, a) => {
13191
13197
  for (; (r = e.exec(t)) !== null; )
13192
13198
  n.push(r);
13193
13199
  return n;
13194
- }, kf = ot("HTMLFormElement"), Ef = (e) => e.toLowerCase().replace(
13200
+ }, Ef = ot("HTMLFormElement"), kf = (e) => e.toLowerCase().replace(
13195
13201
  /[-_\s]([a-z\d])(\w*)/g,
13196
13202
  function(r, n, o) {
13197
13203
  return n.toUpperCase() + o;
@@ -13301,14 +13307,14 @@ const Bf = (e) => {
13301
13307
  toArray: Af,
13302
13308
  forEachEntry: Lf,
13303
13309
  matchAll: Mf,
13304
- isHTMLForm: kf,
13310
+ isHTMLForm: Ef,
13305
13311
  hasOwnProperty: Ya,
13306
13312
  hasOwnProp: Ya,
13307
13313
  // an alias to avoid ESLint no-prototype-builtins detection
13308
13314
  reduceDescriptors: _i,
13309
13315
  freezeMethods: Tf,
13310
13316
  toObjectSet: Nf,
13311
- toCamelCase: Ef,
13317
+ toCamelCase: kf,
13312
13318
  noop: $f,
13313
13319
  toFiniteNumber: Ff,
13314
13320
  findKey: gi,
@@ -13374,7 +13380,7 @@ B.from = (e, t, r, n, o, a) => {
13374
13380
  }, (l) => l !== "isAxiosError"), B.call(i, e.message, t, r, n, o), i.cause = e, i.name = e.name, a && Object.assign(i, a), i;
13375
13381
  };
13376
13382
  const zf = null;
13377
- function ko(e) {
13383
+ function Eo(e) {
13378
13384
  return b.isPlainObject(e) || b.isArray(e);
13379
13385
  }
13380
13386
  function wi(e) {
@@ -13386,7 +13392,7 @@ function Qa(e, t, r) {
13386
13392
  }).join(r ? "." : "") : t;
13387
13393
  }
13388
13394
  function Wf(e) {
13389
- return b.isArray(e) && !e.some(ko);
13395
+ return b.isArray(e) && !e.some(Eo);
13390
13396
  }
13391
13397
  const Hf = b.toFlatObject(b, {}, null, function(t) {
13392
13398
  return /^is[A-Z]/.test(t);
@@ -13426,12 +13432,12 @@ function Kn(e, t, r) {
13426
13432
  );
13427
13433
  }), !1;
13428
13434
  }
13429
- return ko(_) ? !0 : (t.append(Qa(g, y, a), u(_)), !1);
13435
+ return Eo(_) ? !0 : (t.append(Qa(g, y, a), u(_)), !1);
13430
13436
  }
13431
13437
  const f = [], h = Object.assign(Hf, {
13432
13438
  defaultVisitor: d,
13433
13439
  convertValue: u,
13434
- isVisitable: ko
13440
+ isVisitable: Eo
13435
13441
  });
13436
13442
  function x(_, y) {
13437
13443
  if (!b.isUndefined(_)) {
@@ -14235,13 +14241,13 @@ const Mi = (e) => {
14235
14241
  }, {
14236
14242
  highWaterMark: 2
14237
14243
  });
14238
- }, Xn = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", ki = Xn && typeof ReadableStream == "function", Eo = Xn && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Ei = (e, ...t) => {
14244
+ }, Xn = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Ei = Xn && typeof ReadableStream == "function", ko = Xn && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), ki = (e, ...t) => {
14239
14245
  try {
14240
14246
  return !!e(...t);
14241
14247
  } catch {
14242
14248
  return !1;
14243
14249
  }
14244
- }, jm = ki && Ei(() => {
14250
+ }, jm = Ei && ki(() => {
14245
14251
  let e = !1;
14246
14252
  const t = new Request(rt.origin, {
14247
14253
  body: new ReadableStream(),
@@ -14251,7 +14257,7 @@ const Mi = (e) => {
14251
14257
  }
14252
14258
  }).headers.has("Content-Type");
14253
14259
  return e && !t;
14254
- }), is = 64 * 1024, Io = ki && Ei(() => b.isReadableStream(new Response("").body)), An = {
14260
+ }), is = 64 * 1024, Io = Ei && ki(() => b.isReadableStream(new Response("").body)), An = {
14255
14261
  stream: Io && ((e) => e.body)
14256
14262
  };
14257
14263
  Xn && ((e) => {
@@ -14271,7 +14277,7 @@ const Cm = async (e) => {
14271
14277
  if (b.isArrayBufferView(e) || b.isArrayBuffer(e))
14272
14278
  return e.byteLength;
14273
14279
  if (b.isURLSearchParams(e) && (e = e + ""), b.isString(e))
14274
- return (await Eo(e)).byteLength;
14280
+ return (await ko(e)).byteLength;
14275
14281
  }, Pm = async (e, t) => {
14276
14282
  const r = b.toFiniteNumber(e.getContentLength());
14277
14283
  return r ?? Cm(t);
@@ -14310,7 +14316,7 @@ const Cm = async (e) => {
14310
14316
  R,
14311
14317
  Pn(os(c))
14312
14318
  );
14313
- n = ss(I.body, is, re, le, Eo);
14319
+ n = ss(I.body, is, re, le, ko);
14314
14320
  }
14315
14321
  }
14316
14322
  b.isString(f) || (f = f ? "include" : "omit"), g = new Request(t, {
@@ -14336,7 +14342,7 @@ const Cm = async (e) => {
14336
14342
  P = new Response(
14337
14343
  ss(P.body, is, re, () => {
14338
14344
  le && le(), T && v();
14339
- }, Eo),
14345
+ }, ko),
14340
14346
  I
14341
14347
  );
14342
14348
  }
@@ -14661,12 +14667,12 @@ let Mm = class Ni {
14661
14667
  };
14662
14668
  }
14663
14669
  };
14664
- function km(e) {
14670
+ function Em(e) {
14665
14671
  return function(r) {
14666
14672
  return e.apply(null, r);
14667
14673
  };
14668
14674
  }
14669
- function Em(e) {
14675
+ function km(e) {
14670
14676
  return b.isObject(e) && e.isAxiosError === !0;
14671
14677
  }
14672
14678
  const $o = {
@@ -14755,8 +14761,8 @@ xe.Cancel = xe.CanceledError;
14755
14761
  xe.all = function(t) {
14756
14762
  return Promise.all(t);
14757
14763
  };
14758
- xe.spread = km;
14759
- xe.isAxiosError = Em;
14764
+ xe.spread = Em;
14765
+ xe.isAxiosError = km;
14760
14766
  xe.mergeConfig = Bt;
14761
14767
  xe.AxiosHeaders = Ie;
14762
14768
  xe.formToJSON = (e) => Pi(b.isHTMLForm(e) ? new FormData(e) : e);
@@ -14934,7 +14940,7 @@ function hs({ children: e }) {
14934
14940
  }
14935
14941
  );
14936
14942
  }
14937
- const wp = Array(6).fill(2 * Math.PI), Rp = xt(G0), jp = xt(oi), Cp = xt(ph), Pp = xt(gh), Ap = xt(_h), Op = xt(Oo), Lp = xt(si), Mp = xt(Fm), kp = xt(ui);
14943
+ const wp = Array(6).fill(2 * Math.PI), Rp = xt(G0), jp = xt(oi), Cp = xt(ph), Pp = xt(gh), Ap = xt(_h), Op = xt(Oo), Lp = xt(si), Mp = xt(Fm), Ep = xt(ui);
14938
14944
  export {
14939
14945
  Op as JoggingCartesianAxisControl,
14940
14946
  Lp as JoggingJointRotationControl,
@@ -14943,7 +14949,7 @@ export {
14943
14949
  Cp as Robot,
14944
14950
  Ap as SafetyZonesRenderer,
14945
14951
  jp as SupportedRobot,
14946
- kp as VelocitySlider,
14952
+ Ep as VelocitySlider,
14947
14953
  Rp as WandelscriptEditor,
14948
14954
  wp as defaultAxisConfig,
14949
14955
  Vr as useAnimationFrame,