@vlprojects-chat/chat 0.33.1 → 0.33.2-LK-63-block-send-button.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.
Files changed (2) hide show
  1. package/dist/index.mjs +964 -964
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -265,14 +265,14 @@ function gM() {
265
265
  function V($) {
266
266
  return !!(typeof $ == "string" || typeof $ == "function" || $ === e.Fragment || $ === s || $ === w || $ === i || $ === c || $ === p || $ === O || T || typeof $ == "object" && $ !== null && ($.$$typeof === m || $.$$typeof === f || $.$$typeof === a || $.$$typeof === l || $.$$typeof === u || $.$$typeof === y || $.$$typeof === g || $[0] === v));
267
267
  }
268
- function G($, Ae, Le) {
268
+ function z($, Ae, Le) {
269
269
  var et = Ae.displayName || Ae.name || "";
270
270
  return $.displayName || (et !== "" ? Le + "(" + et + ")" : Le);
271
271
  }
272
272
  function Z($) {
273
273
  return $.displayName || "Context";
274
274
  }
275
- function _($) {
275
+ function U($) {
276
276
  if ($ == null)
277
277
  return null;
278
278
  if (typeof $.tag == "number" && N("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof $ == "function")
@@ -302,15 +302,15 @@ function gM() {
302
302
  var Le = $;
303
303
  return Z(Le._context) + ".Provider";
304
304
  case u:
305
- return G($, $.render, "ForwardRef");
305
+ return z($, $.render, "ForwardRef");
306
306
  case f:
307
- return _($.type);
307
+ return U($.type);
308
308
  case g:
309
- return _($._render);
309
+ return U($._render);
310
310
  case m: {
311
311
  var et = $, cn = et._payload, nn = et._init;
312
312
  try {
313
- return _(nn(cn));
313
+ return U(nn(cn));
314
314
  } catch {
315
315
  return null;
316
316
  }
@@ -318,18 +318,18 @@ function gM() {
318
318
  }
319
319
  return null;
320
320
  }
321
- var L = 0, Y, ie, H, F, D, z, j;
322
- function U() {
321
+ var L = 0, Y, ie, H, F, D, G, j;
322
+ function _() {
323
323
  }
324
- U.__reactDisabledLog = !0;
324
+ _.__reactDisabledLog = !0;
325
325
  function W() {
326
326
  {
327
327
  if (L === 0) {
328
- Y = console.log, ie = console.info, H = console.warn, F = console.error, D = console.group, z = console.groupCollapsed, j = console.groupEnd;
328
+ Y = console.log, ie = console.info, H = console.warn, F = console.error, D = console.group, G = console.groupCollapsed, j = console.groupEnd;
329
329
  var $ = {
330
330
  configurable: !0,
331
331
  enumerable: !0,
332
- value: U,
332
+ value: _,
333
333
  writable: !0
334
334
  };
335
335
  Object.defineProperties(console, {
@@ -370,7 +370,7 @@ function gM() {
370
370
  value: D
371
371
  }),
372
372
  groupCollapsed: n({}, $, {
373
- value: z
373
+ value: G
374
374
  }),
375
375
  groupEnd: n({}, $, {
376
376
  value: j
@@ -380,30 +380,30 @@ function gM() {
380
380
  L < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
381
381
  }
382
382
  }
383
- var X = R.ReactCurrentDispatcher, oe;
383
+ var X = R.ReactCurrentDispatcher, re;
384
384
  function J($, Ae, Le) {
385
385
  {
386
- if (oe === void 0)
386
+ if (re === void 0)
387
387
  try {
388
388
  throw Error();
389
389
  } catch (cn) {
390
390
  var et = cn.stack.trim().match(/\n( *(at )?)/);
391
- oe = et && et[1] || "";
391
+ re = et && et[1] || "";
392
392
  }
393
393
  return `
394
- ` + oe + $;
394
+ ` + re + $;
395
395
  }
396
396
  }
397
- var ne = !1, re;
397
+ var ne = !1, oe;
398
398
  {
399
399
  var le = typeof WeakMap == "function" ? WeakMap : Map;
400
- re = new le();
400
+ oe = new le();
401
401
  }
402
402
  function te($, Ae) {
403
403
  if (!$ || ne)
404
404
  return "";
405
405
  {
406
- var Le = re.get($);
406
+ var Le = oe.get($);
407
407
  if (Le !== void 0)
408
408
  return Le;
409
409
  }
@@ -458,7 +458,7 @@ function gM() {
458
458
  if (kn--, Fn--, Fn < 0 || Ot[kn] !== br[Fn]) {
459
459
  var rs = `
460
460
  ` + Ot[kn].replace(" at new ", " at ");
461
- return typeof $ == "function" && re.set($, rs), rs;
461
+ return typeof $ == "function" && oe.set($, rs), rs;
462
462
  }
463
463
  while (kn >= 1 && Fn >= 0);
464
464
  break;
@@ -468,7 +468,7 @@ function gM() {
468
468
  ne = !1, X.current = nn, K(), Error.prepareStackTrace = cn;
469
469
  }
470
470
  var Ul = $ ? $.displayName || $.name : "", Ux = Ul ? J(Ul) : "";
471
- return typeof $ == "function" && re.set($, Ux), Ux;
471
+ return typeof $ == "function" && oe.set($, Ux), Ux;
472
472
  }
473
473
  function Ie($, Ae, Le) {
474
474
  return te($, !1);
@@ -560,8 +560,8 @@ function gM() {
560
560
  }
561
561
  function ye($, Ae) {
562
562
  if (typeof $.ref == "string" && Ge.current && Ae && Ge.current.stateNode !== Ae) {
563
- var Le = _(Ge.current.type);
564
- Se[Le] || (N('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', _(Ge.current.type), $.ref), Se[Le] = !0);
563
+ var Le = U(Ge.current.type);
564
+ Se[Le] || (N('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', U(Ge.current.type), $.ref), Se[Le] = !0);
565
565
  }
566
566
  }
567
567
  function qe($, Ae) {
@@ -649,7 +649,7 @@ function gM() {
649
649
  function jt() {
650
650
  {
651
651
  if (M.current) {
652
- var $ = _(M.current.type);
652
+ var $ = U(M.current.type);
653
653
  if ($)
654
654
  return `
655
655
 
@@ -684,7 +684,7 @@ Check the top-level render call using <` + Le + ">.");
684
684
  return;
685
685
  tn[Le] = !0;
686
686
  var et = "";
687
- $ && $._owner && $._owner !== M.current && (et = " It was passed a child from " + _($._owner.type) + "."), se($), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Le, et), se(null);
687
+ $ && $._owner && $._owner !== M.current && (et = " It was passed a child from " + U($._owner.type) + "."), se($), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Le, et), se(null);
688
688
  }
689
689
  }
690
690
  function dp($, Ae) {
@@ -721,11 +721,11 @@ Check the top-level render call using <` + Le + ">.");
721
721
  else
722
722
  return;
723
723
  if (Le) {
724
- var et = _(Ae);
724
+ var et = U(Ae);
725
725
  Xe(Le, $.props, "prop", et, $);
726
726
  } else if (Ae.PropTypes !== void 0 && !ue) {
727
727
  ue = !0;
728
- var cn = _(Ae);
728
+ var cn = U(Ae);
729
729
  N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", cn || "Unknown");
730
730
  }
731
731
  typeof Ae.getDefaultProps == "function" && !Ae.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -752,7 +752,7 @@ Check the top-level render call using <` + Le + ">.");
752
752
  var br = Dt();
753
753
  br ? Ot += br : Ot += jt();
754
754
  var kn;
755
- $ === null ? kn = "null" : Array.isArray($) ? kn = "array" : $ !== void 0 && $.$$typeof === r ? (kn = "<" + (_($.type) || "Unknown") + " />", Ot = " Did you accidentally export a JSX literal instead of a component?") : kn = typeof $, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", kn, Ot);
755
+ $ === null ? kn = "null" : Array.isArray($) ? kn = "array" : $ !== void 0 && $.$$typeof === r ? (kn = "<" + (U($.type) || "Unknown") + " />", Ot = " Did you accidentally export a JSX literal instead of a component?") : kn = typeof $, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", kn, Ot);
756
756
  }
757
757
  var Fn = E($, Ae, Le, cn, nn);
758
758
  if (Fn == null)
@@ -900,20 +900,20 @@ function yM() {
900
900
  }
901
901
  }
902
902
  }
903
- var C = l, A = u, R = a, N = s, k = t, T = c, V = r, G = g, Z = m, _ = n, L = i, Y = o, ie = p, H = !1;
903
+ var C = l, A = u, R = a, N = s, k = t, T = c, V = r, z = g, Z = m, U = n, L = i, Y = o, ie = p, H = !1;
904
904
  function F(te) {
905
905
  return H || (H = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(te) || x(te) === l;
906
906
  }
907
907
  function D(te) {
908
908
  return x(te) === u;
909
909
  }
910
- function z(te) {
910
+ function G(te) {
911
911
  return x(te) === a;
912
912
  }
913
913
  function j(te) {
914
914
  return x(te) === s;
915
915
  }
916
- function U(te) {
916
+ function _(te) {
917
917
  return typeof te == "object" && te !== null && te.$$typeof === t;
918
918
  }
919
919
  function W(te) {
@@ -925,7 +925,7 @@ function yM() {
925
925
  function X(te) {
926
926
  return x(te) === g;
927
927
  }
928
- function oe(te) {
928
+ function re(te) {
929
929
  return x(te) === m;
930
930
  }
931
931
  function J(te) {
@@ -934,13 +934,13 @@ function yM() {
934
934
  function ne(te) {
935
935
  return x(te) === i;
936
936
  }
937
- function re(te) {
937
+ function oe(te) {
938
938
  return x(te) === o;
939
939
  }
940
940
  function le(te) {
941
941
  return x(te) === p;
942
942
  }
943
- _t.AsyncMode = C, _t.ConcurrentMode = A, _t.ContextConsumer = R, _t.ContextProvider = N, _t.Element = k, _t.ForwardRef = T, _t.Fragment = V, _t.Lazy = G, _t.Memo = Z, _t.Portal = _, _t.Profiler = L, _t.StrictMode = Y, _t.Suspense = ie, _t.isAsyncMode = F, _t.isConcurrentMode = D, _t.isContextConsumer = z, _t.isContextProvider = j, _t.isElement = U, _t.isForwardRef = W, _t.isFragment = K, _t.isLazy = X, _t.isMemo = oe, _t.isPortal = J, _t.isProfiler = ne, _t.isStrictMode = re, _t.isSuspense = le, _t.isValidElementType = b, _t.typeOf = x;
943
+ _t.AsyncMode = C, _t.ConcurrentMode = A, _t.ContextConsumer = R, _t.ContextProvider = N, _t.Element = k, _t.ForwardRef = T, _t.Fragment = V, _t.Lazy = z, _t.Memo = Z, _t.Portal = U, _t.Profiler = L, _t.StrictMode = Y, _t.Suspense = ie, _t.isAsyncMode = F, _t.isConcurrentMode = D, _t.isContextConsumer = G, _t.isContextProvider = j, _t.isElement = _, _t.isForwardRef = W, _t.isFragment = K, _t.isLazy = X, _t.isMemo = re, _t.isPortal = J, _t.isProfiler = ne, _t.isStrictMode = oe, _t.isSuspense = le, _t.isValidElementType = b, _t.typeOf = x;
944
944
  }()), _t;
945
945
  }
946
946
  I.env.NODE_ENV === "production" ? Vb.exports = vM() : Vb.exports = yM();
@@ -1024,9 +1024,9 @@ function wM() {
1024
1024
  return qv = function(a, l) {
1025
1025
  var u = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator";
1026
1026
  function p(D) {
1027
- var z = D && (u && D[u] || D[c]);
1028
- if (typeof z == "function")
1029
- return z;
1027
+ var G = D && (u && D[u] || D[c]);
1028
+ if (typeof G == "function")
1029
+ return G;
1030
1030
  }
1031
1031
  var f = "<<anonymous>>", m = {
1032
1032
  array: w("array"),
@@ -1046,214 +1046,214 @@ function wM() {
1046
1046
  objectOf: N,
1047
1047
  oneOf: R,
1048
1048
  oneOfType: k,
1049
- shape: G,
1049
+ shape: z,
1050
1050
  exact: Z
1051
1051
  };
1052
- function g(D, z) {
1053
- return D === z ? D !== 0 || 1 / D === 1 / z : D !== D && z !== z;
1052
+ function g(D, G) {
1053
+ return D === G ? D !== 0 || 1 / D === 1 / G : D !== D && G !== G;
1054
1054
  }
1055
- function v(D, z) {
1056
- this.message = D, this.data = z && typeof z == "object" ? z : {}, this.stack = "";
1055
+ function v(D, G) {
1056
+ this.message = D, this.data = G && typeof G == "object" ? G : {}, this.stack = "";
1057
1057
  }
1058
1058
  v.prototype = Error.prototype;
1059
1059
  function y(D) {
1060
1060
  if (I.env.NODE_ENV !== "production")
1061
- var z = {}, j = 0;
1062
- function U(K, X, oe, J, ne, re, le) {
1063
- if (J = J || f, re = re || oe, le !== n) {
1061
+ var G = {}, j = 0;
1062
+ function _(K, X, re, J, ne, oe, le) {
1063
+ if (J = J || f, oe = oe || re, le !== n) {
1064
1064
  if (l) {
1065
1065
  var te = new Error(
1066
1066
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1067
1067
  );
1068
1068
  throw te.name = "Invariant Violation", te;
1069
1069
  } else if (I.env.NODE_ENV !== "production" && typeof console < "u") {
1070
- var Ie = J + ":" + oe;
1071
- !z[Ie] && // Avoid spamming the console because they are often not actionable except for lib authors
1070
+ var Ie = J + ":" + re;
1071
+ !G[Ie] && // Avoid spamming the console because they are often not actionable except for lib authors
1072
1072
  j < 3 && (i(
1073
- "You are manually calling a React.PropTypes validation function for the `" + re + "` prop on `" + J + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1074
- ), z[Ie] = !0, j++);
1073
+ "You are manually calling a React.PropTypes validation function for the `" + oe + "` prop on `" + J + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1074
+ ), G[Ie] = !0, j++);
1075
1075
  }
1076
1076
  }
1077
- return X[oe] == null ? K ? X[oe] === null ? new v("The " + ne + " `" + re + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new v("The " + ne + " `" + re + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : D(X, oe, J, ne, re);
1077
+ return X[re] == null ? K ? X[re] === null ? new v("The " + ne + " `" + oe + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new v("The " + ne + " `" + oe + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : D(X, re, J, ne, oe);
1078
1078
  }
1079
- var W = U.bind(null, !1);
1080
- return W.isRequired = U.bind(null, !0), W;
1079
+ var W = _.bind(null, !1);
1080
+ return W.isRequired = _.bind(null, !0), W;
1081
1081
  }
1082
1082
  function w(D) {
1083
- function z(j, U, W, K, X, oe) {
1084
- var J = j[U], ne = Y(J);
1083
+ function G(j, _, W, K, X, re) {
1084
+ var J = j[_], ne = Y(J);
1085
1085
  if (ne !== D) {
1086
- var re = ie(J);
1086
+ var oe = ie(J);
1087
1087
  return new v(
1088
- "Invalid " + K + " `" + X + "` of type " + ("`" + re + "` supplied to `" + W + "`, expected ") + ("`" + D + "`."),
1088
+ "Invalid " + K + " `" + X + "` of type " + ("`" + oe + "` supplied to `" + W + "`, expected ") + ("`" + D + "`."),
1089
1089
  { expectedType: D }
1090
1090
  );
1091
1091
  }
1092
1092
  return null;
1093
1093
  }
1094
- return y(z);
1094
+ return y(G);
1095
1095
  }
1096
1096
  function O() {
1097
1097
  return y(s);
1098
1098
  }
1099
1099
  function b(D) {
1100
- function z(j, U, W, K, X) {
1100
+ function G(j, _, W, K, X) {
1101
1101
  if (typeof D != "function")
1102
1102
  return new v("Property `" + X + "` of component `" + W + "` has invalid PropType notation inside arrayOf.");
1103
- var oe = j[U];
1104
- if (!Array.isArray(oe)) {
1105
- var J = Y(oe);
1103
+ var re = j[_];
1104
+ if (!Array.isArray(re)) {
1105
+ var J = Y(re);
1106
1106
  return new v("Invalid " + K + " `" + X + "` of type " + ("`" + J + "` supplied to `" + W + "`, expected an array."));
1107
1107
  }
1108
- for (var ne = 0; ne < oe.length; ne++) {
1109
- var re = D(oe, ne, W, K, X + "[" + ne + "]", n);
1110
- if (re instanceof Error)
1111
- return re;
1108
+ for (var ne = 0; ne < re.length; ne++) {
1109
+ var oe = D(re, ne, W, K, X + "[" + ne + "]", n);
1110
+ if (oe instanceof Error)
1111
+ return oe;
1112
1112
  }
1113
1113
  return null;
1114
1114
  }
1115
- return y(z);
1115
+ return y(G);
1116
1116
  }
1117
1117
  function x() {
1118
- function D(z, j, U, W, K) {
1119
- var X = z[j];
1118
+ function D(G, j, _, W, K) {
1119
+ var X = G[j];
1120
1120
  if (!a(X)) {
1121
- var oe = Y(X);
1122
- return new v("Invalid " + W + " `" + K + "` of type " + ("`" + oe + "` supplied to `" + U + "`, expected a single ReactElement."));
1121
+ var re = Y(X);
1122
+ return new v("Invalid " + W + " `" + K + "` of type " + ("`" + re + "` supplied to `" + _ + "`, expected a single ReactElement."));
1123
1123
  }
1124
1124
  return null;
1125
1125
  }
1126
1126
  return y(D);
1127
1127
  }
1128
1128
  function C() {
1129
- function D(z, j, U, W, K) {
1130
- var X = z[j];
1129
+ function D(G, j, _, W, K) {
1130
+ var X = G[j];
1131
1131
  if (!e.isValidElementType(X)) {
1132
- var oe = Y(X);
1133
- return new v("Invalid " + W + " `" + K + "` of type " + ("`" + oe + "` supplied to `" + U + "`, expected a single ReactElement type."));
1132
+ var re = Y(X);
1133
+ return new v("Invalid " + W + " `" + K + "` of type " + ("`" + re + "` supplied to `" + _ + "`, expected a single ReactElement type."));
1134
1134
  }
1135
1135
  return null;
1136
1136
  }
1137
1137
  return y(D);
1138
1138
  }
1139
1139
  function A(D) {
1140
- function z(j, U, W, K, X) {
1141
- if (!(j[U] instanceof D)) {
1142
- var oe = D.name || f, J = F(j[U]);
1143
- return new v("Invalid " + K + " `" + X + "` of type " + ("`" + J + "` supplied to `" + W + "`, expected ") + ("instance of `" + oe + "`."));
1140
+ function G(j, _, W, K, X) {
1141
+ if (!(j[_] instanceof D)) {
1142
+ var re = D.name || f, J = F(j[_]);
1143
+ return new v("Invalid " + K + " `" + X + "` of type " + ("`" + J + "` supplied to `" + W + "`, expected ") + ("instance of `" + re + "`."));
1144
1144
  }
1145
1145
  return null;
1146
1146
  }
1147
- return y(z);
1147
+ return y(G);
1148
1148
  }
1149
1149
  function R(D) {
1150
1150
  if (!Array.isArray(D))
1151
1151
  return I.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1152
1152
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1153
1153
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
1154
- function z(j, U, W, K, X) {
1155
- for (var oe = j[U], J = 0; J < D.length; J++)
1156
- if (g(oe, D[J]))
1154
+ function G(j, _, W, K, X) {
1155
+ for (var re = j[_], J = 0; J < D.length; J++)
1156
+ if (g(re, D[J]))
1157
1157
  return null;
1158
1158
  var ne = JSON.stringify(D, function(le, te) {
1159
1159
  var Ie = ie(te);
1160
1160
  return Ie === "symbol" ? String(te) : te;
1161
1161
  });
1162
- return new v("Invalid " + K + " `" + X + "` of value `" + String(oe) + "` " + ("supplied to `" + W + "`, expected one of " + ne + "."));
1162
+ return new v("Invalid " + K + " `" + X + "` of value `" + String(re) + "` " + ("supplied to `" + W + "`, expected one of " + ne + "."));
1163
1163
  }
1164
- return y(z);
1164
+ return y(G);
1165
1165
  }
1166
1166
  function N(D) {
1167
- function z(j, U, W, K, X) {
1167
+ function G(j, _, W, K, X) {
1168
1168
  if (typeof D != "function")
1169
1169
  return new v("Property `" + X + "` of component `" + W + "` has invalid PropType notation inside objectOf.");
1170
- var oe = j[U], J = Y(oe);
1170
+ var re = j[_], J = Y(re);
1171
1171
  if (J !== "object")
1172
1172
  return new v("Invalid " + K + " `" + X + "` of type " + ("`" + J + "` supplied to `" + W + "`, expected an object."));
1173
- for (var ne in oe)
1174
- if (r(oe, ne)) {
1175
- var re = D(oe, ne, W, K, X + "." + ne, n);
1176
- if (re instanceof Error)
1177
- return re;
1173
+ for (var ne in re)
1174
+ if (r(re, ne)) {
1175
+ var oe = D(re, ne, W, K, X + "." + ne, n);
1176
+ if (oe instanceof Error)
1177
+ return oe;
1178
1178
  }
1179
1179
  return null;
1180
1180
  }
1181
- return y(z);
1181
+ return y(G);
1182
1182
  }
1183
1183
  function k(D) {
1184
1184
  if (!Array.isArray(D))
1185
1185
  return I.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
1186
- for (var z = 0; z < D.length; z++) {
1187
- var j = D[z];
1186
+ for (var G = 0; G < D.length; G++) {
1187
+ var j = D[G];
1188
1188
  if (typeof j != "function")
1189
1189
  return i(
1190
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(j) + " at index " + z + "."
1190
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(j) + " at index " + G + "."
1191
1191
  ), s;
1192
1192
  }
1193
- function U(W, K, X, oe, J) {
1194
- for (var ne = [], re = 0; re < D.length; re++) {
1195
- var le = D[re], te = le(W, K, X, oe, J, n);
1193
+ function _(W, K, X, re, J) {
1194
+ for (var ne = [], oe = 0; oe < D.length; oe++) {
1195
+ var le = D[oe], te = le(W, K, X, re, J, n);
1196
1196
  if (te == null)
1197
1197
  return null;
1198
1198
  te.data && r(te.data, "expectedType") && ne.push(te.data.expectedType);
1199
1199
  }
1200
1200
  var Ie = ne.length > 0 ? ", expected one of type [" + ne.join(", ") + "]" : "";
1201
- return new v("Invalid " + oe + " `" + J + "` supplied to " + ("`" + X + "`" + Ie + "."));
1201
+ return new v("Invalid " + re + " `" + J + "` supplied to " + ("`" + X + "`" + Ie + "."));
1202
1202
  }
1203
- return y(U);
1203
+ return y(_);
1204
1204
  }
1205
1205
  function T() {
1206
- function D(z, j, U, W, K) {
1207
- return _(z[j]) ? null : new v("Invalid " + W + " `" + K + "` supplied to " + ("`" + U + "`, expected a ReactNode."));
1206
+ function D(G, j, _, W, K) {
1207
+ return U(G[j]) ? null : new v("Invalid " + W + " `" + K + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
1208
1208
  }
1209
1209
  return y(D);
1210
1210
  }
1211
- function V(D, z, j, U, W) {
1211
+ function V(D, G, j, _, W) {
1212
1212
  return new v(
1213
- (D || "React class") + ": " + z + " type `" + j + "." + U + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`."
1213
+ (D || "React class") + ": " + G + " type `" + j + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`."
1214
1214
  );
1215
1215
  }
1216
- function G(D) {
1217
- function z(j, U, W, K, X) {
1218
- var oe = j[U], J = Y(oe);
1216
+ function z(D) {
1217
+ function G(j, _, W, K, X) {
1218
+ var re = j[_], J = Y(re);
1219
1219
  if (J !== "object")
1220
1220
  return new v("Invalid " + K + " `" + X + "` of type `" + J + "` " + ("supplied to `" + W + "`, expected `object`."));
1221
1221
  for (var ne in D) {
1222
- var re = D[ne];
1223
- if (typeof re != "function")
1224
- return V(W, K, X, ne, ie(re));
1225
- var le = re(oe, ne, W, K, X + "." + ne, n);
1222
+ var oe = D[ne];
1223
+ if (typeof oe != "function")
1224
+ return V(W, K, X, ne, ie(oe));
1225
+ var le = oe(re, ne, W, K, X + "." + ne, n);
1226
1226
  if (le)
1227
1227
  return le;
1228
1228
  }
1229
1229
  return null;
1230
1230
  }
1231
- return y(z);
1231
+ return y(G);
1232
1232
  }
1233
1233
  function Z(D) {
1234
- function z(j, U, W, K, X) {
1235
- var oe = j[U], J = Y(oe);
1234
+ function G(j, _, W, K, X) {
1235
+ var re = j[_], J = Y(re);
1236
1236
  if (J !== "object")
1237
1237
  return new v("Invalid " + K + " `" + X + "` of type `" + J + "` " + ("supplied to `" + W + "`, expected `object`."));
1238
- var ne = t({}, j[U], D);
1239
- for (var re in ne) {
1240
- var le = D[re];
1241
- if (r(D, re) && typeof le != "function")
1242
- return V(W, K, X, re, ie(le));
1238
+ var ne = t({}, j[_], D);
1239
+ for (var oe in ne) {
1240
+ var le = D[oe];
1241
+ if (r(D, oe) && typeof le != "function")
1242
+ return V(W, K, X, oe, ie(le));
1243
1243
  if (!le)
1244
1244
  return new v(
1245
- "Invalid " + K + " `" + X + "` key `" + re + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(j[U], null, " ") + `
1245
+ "Invalid " + K + " `" + X + "` key `" + oe + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(j[_], null, " ") + `
1246
1246
  Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
1247
1247
  );
1248
- var te = le(oe, re, W, K, X + "." + re, n);
1248
+ var te = le(re, oe, W, K, X + "." + oe, n);
1249
1249
  if (te)
1250
1250
  return te;
1251
1251
  }
1252
1252
  return null;
1253
1253
  }
1254
- return y(z);
1254
+ return y(G);
1255
1255
  }
1256
- function _(D) {
1256
+ function U(D) {
1257
1257
  switch (typeof D) {
1258
1258
  case "number":
1259
1259
  case "string":
@@ -1263,20 +1263,20 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
1263
1263
  return !D;
1264
1264
  case "object":
1265
1265
  if (Array.isArray(D))
1266
- return D.every(_);
1266
+ return D.every(U);
1267
1267
  if (D === null || a(D))
1268
1268
  return !0;
1269
- var z = p(D);
1270
- if (z) {
1271
- var j = z.call(D), U;
1272
- if (z !== D.entries) {
1273
- for (; !(U = j.next()).done; )
1274
- if (!_(U.value))
1269
+ var G = p(D);
1270
+ if (G) {
1271
+ var j = G.call(D), _;
1272
+ if (G !== D.entries) {
1273
+ for (; !(_ = j.next()).done; )
1274
+ if (!U(_.value))
1275
1275
  return !1;
1276
1276
  } else
1277
- for (; !(U = j.next()).done; ) {
1278
- var W = U.value;
1279
- if (W && !_(W[1]))
1277
+ for (; !(_ = j.next()).done; ) {
1278
+ var W = _.value;
1279
+ if (W && !U(W[1]))
1280
1280
  return !1;
1281
1281
  }
1282
1282
  } else
@@ -1286,37 +1286,37 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
1286
1286
  return !1;
1287
1287
  }
1288
1288
  }
1289
- function L(D, z) {
1290
- return D === "symbol" ? !0 : z ? z["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && z instanceof Symbol : !1;
1289
+ function L(D, G) {
1290
+ return D === "symbol" ? !0 : G ? G["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && G instanceof Symbol : !1;
1291
1291
  }
1292
1292
  function Y(D) {
1293
- var z = typeof D;
1294
- return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : L(z, D) ? "symbol" : z;
1293
+ var G = typeof D;
1294
+ return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : L(G, D) ? "symbol" : G;
1295
1295
  }
1296
1296
  function ie(D) {
1297
1297
  if (typeof D > "u" || D === null)
1298
1298
  return "" + D;
1299
- var z = Y(D);
1300
- if (z === "object") {
1299
+ var G = Y(D);
1300
+ if (G === "object") {
1301
1301
  if (D instanceof Date)
1302
1302
  return "date";
1303
1303
  if (D instanceof RegExp)
1304
1304
  return "regexp";
1305
1305
  }
1306
- return z;
1306
+ return G;
1307
1307
  }
1308
1308
  function H(D) {
1309
- var z = ie(D);
1310
- switch (z) {
1309
+ var G = ie(D);
1310
+ switch (G) {
1311
1311
  case "array":
1312
1312
  case "object":
1313
- return "an " + z;
1313
+ return "an " + G;
1314
1314
  case "boolean":
1315
1315
  case "date":
1316
1316
  case "regexp":
1317
- return "a " + z;
1317
+ return "a " + G;
1318
1318
  default:
1319
- return z;
1319
+ return G;
1320
1320
  }
1321
1321
  }
1322
1322
  function F(D) {
@@ -3420,17 +3420,17 @@ function f9() {
3420
3420
  }
3421
3421
  }
3422
3422
  }
3423
- var A = s, R = i, N = e, k = l, T = n, V = f, G = p, Z = t, _ = o, L = r, Y = u, ie = c, H = !1, F = !1;
3423
+ var A = s, R = i, N = e, k = l, T = n, V = f, z = p, Z = t, U = o, L = r, Y = u, ie = c, H = !1, F = !1;
3424
3424
  function D(ee) {
3425
3425
  return H || (H = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
3426
3426
  }
3427
- function z(ee) {
3427
+ function G(ee) {
3428
3428
  return F || (F = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
3429
3429
  }
3430
3430
  function j(ee) {
3431
3431
  return C(ee) === s;
3432
3432
  }
3433
- function U(ee) {
3433
+ function _(ee) {
3434
3434
  return C(ee) === i;
3435
3435
  }
3436
3436
  function W(ee) {
@@ -3442,7 +3442,7 @@ function f9() {
3442
3442
  function X(ee) {
3443
3443
  return C(ee) === n;
3444
3444
  }
3445
- function oe(ee) {
3445
+ function re(ee) {
3446
3446
  return C(ee) === f;
3447
3447
  }
3448
3448
  function J(ee) {
@@ -3451,7 +3451,7 @@ function f9() {
3451
3451
  function ne(ee) {
3452
3452
  return C(ee) === t;
3453
3453
  }
3454
- function re(ee) {
3454
+ function oe(ee) {
3455
3455
  return C(ee) === o;
3456
3456
  }
3457
3457
  function le(ee) {
@@ -3463,7 +3463,7 @@ function f9() {
3463
3463
  function Ie(ee) {
3464
3464
  return C(ee) === c;
3465
3465
  }
3466
- Wt.ContextConsumer = A, Wt.ContextProvider = R, Wt.Element = N, Wt.ForwardRef = k, Wt.Fragment = T, Wt.Lazy = V, Wt.Memo = G, Wt.Portal = Z, Wt.Profiler = _, Wt.StrictMode = L, Wt.Suspense = Y, Wt.SuspenseList = ie, Wt.isAsyncMode = D, Wt.isConcurrentMode = z, Wt.isContextConsumer = j, Wt.isContextProvider = U, Wt.isElement = W, Wt.isForwardRef = K, Wt.isFragment = X, Wt.isLazy = oe, Wt.isMemo = J, Wt.isPortal = ne, Wt.isProfiler = re, Wt.isStrictMode = le, Wt.isSuspense = te, Wt.isSuspenseList = Ie, Wt.isValidElementType = x, Wt.typeOf = C;
3466
+ Wt.ContextConsumer = A, Wt.ContextProvider = R, Wt.Element = N, Wt.ForwardRef = k, Wt.Fragment = T, Wt.Lazy = V, Wt.Memo = z, Wt.Portal = Z, Wt.Profiler = U, Wt.StrictMode = L, Wt.Suspense = Y, Wt.SuspenseList = ie, Wt.isAsyncMode = D, Wt.isConcurrentMode = G, Wt.isContextConsumer = j, Wt.isContextProvider = _, Wt.isElement = W, Wt.isForwardRef = K, Wt.isFragment = X, Wt.isLazy = re, Wt.isMemo = J, Wt.isPortal = ne, Wt.isProfiler = oe, Wt.isStrictMode = le, Wt.isSuspense = te, Wt.isSuspenseList = Ie, Wt.isValidElementType = x, Wt.typeOf = C;
3467
3467
  }()), Wt;
3468
3468
  }
3469
3469
  I.env.NODE_ENV === "production" ? Hb.exports = d9() : Hb.exports = f9();
@@ -3604,23 +3604,23 @@ function bR(e = {}) {
3604
3604
  return C;
3605
3605
  }, x = (...C) => {
3606
3606
  const A = [], R = C.map(b), N = [];
3607
- if (A.push(i), u && m && N.push(function(G) {
3607
+ if (A.push(i), u && m && N.push(function(z) {
3608
3608
  var Y, ie;
3609
- const _ = (ie = (Y = G.theme.components) == null ? void 0 : Y[u]) == null ? void 0 : ie.styleOverrides;
3610
- if (!_)
3609
+ const U = (ie = (Y = z.theme.components) == null ? void 0 : Y[u]) == null ? void 0 : ie.styleOverrides;
3610
+ if (!U)
3611
3611
  return null;
3612
3612
  const L = {};
3613
- for (const H in _)
3614
- L[H] = ah(G, _[H]);
3615
- return m(G, L);
3616
- }), u && !v && N.push(function(G) {
3613
+ for (const H in U)
3614
+ L[H] = ah(z, U[H]);
3615
+ return m(z, L);
3616
+ }), u && !v && N.push(function(z) {
3617
3617
  var L, Y;
3618
- const Z = G.theme, _ = (Y = (L = Z == null ? void 0 : Z.components) == null ? void 0 : L[u]) == null ? void 0 : Y.variants;
3619
- return _ ? yR(G, _) : null;
3618
+ const Z = z.theme, U = (Y = (L = Z == null ? void 0 : Z.components) == null ? void 0 : L[u]) == null ? void 0 : Y.variants;
3619
+ return U ? yR(z, U) : null;
3620
3620
  }), y || N.push(Xs), Array.isArray(R[0])) {
3621
- const V = R.shift(), G = new Array(A.length).fill(""), Z = new Array(N.length).fill("");
3622
- let _;
3623
- _ = [...G, ...V, ...Z], _.raw = [...G, ...V.raw, ...Z], A.unshift(_);
3621
+ const V = R.shift(), z = new Array(A.length).fill(""), Z = new Array(N.length).fill("");
3622
+ let U;
3623
+ U = [...z, ...V, ...Z], U.raw = [...z, ...V.raw, ...Z], A.unshift(U);
3624
3624
  }
3625
3625
  const k = [...A, ...R, ...N], T = O(...k);
3626
3626
  return a.muiName && (T.muiName = a.muiName), I.env.NODE_ENV !== "production" && (T.displayName = g9(u, c, a)), T;
@@ -4627,22 +4627,22 @@ function Y9(e) {
4627
4627
  disableNestedContext: N = !1,
4628
4628
  disableStyleSheetGeneration: k = !1,
4629
4629
  defaultMode: T = "system"
4630
- } = v, V = B.useRef(!1), G = Bg(), Z = B.useContext(u), _ = !!Z && !N, L = B.useMemo(() => w || (typeof n == "function" ? n() : n), [w]), Y = L[t], {
4630
+ } = v, V = B.useRef(!1), z = Bg(), Z = B.useContext(u), U = !!Z && !N, L = B.useMemo(() => w || (typeof n == "function" ? n() : n), [w]), Y = L[t], {
4631
4631
  colorSchemes: ie = {},
4632
4632
  components: H = {},
4633
4633
  cssVarPrefix: F,
4634
4634
  ...D
4635
- } = Y || L, z = Object.keys(ie).filter((Ce) => !!ie[Ce]).join(","), j = B.useMemo(() => z.split(","), [z]), U = typeof s == "string" ? s : s.light, W = typeof s == "string" ? s : s.dark, K = ie[U] && ie[W] ? T : ((ke = (bt = ie[D.defaultColorScheme]) == null ? void 0 : bt.palette) == null ? void 0 : ke.mode) || ((ce = D.palette) == null ? void 0 : ce.mode), {
4635
+ } = Y || L, G = Object.keys(ie).filter((Ce) => !!ie[Ce]).join(","), j = B.useMemo(() => G.split(","), [G]), _ = typeof s == "string" ? s : s.light, W = typeof s == "string" ? s : s.dark, K = ie[_] && ie[W] ? T : ((ke = (bt = ie[D.defaultColorScheme]) == null ? void 0 : bt.palette) == null ? void 0 : ke.mode) || ((ce = D.palette) == null ? void 0 : ce.mode), {
4636
4636
  mode: X,
4637
- setMode: oe,
4637
+ setMode: re,
4638
4638
  systemMode: J,
4639
4639
  lightColorScheme: ne,
4640
- darkColorScheme: re,
4640
+ darkColorScheme: oe,
4641
4641
  colorScheme: le,
4642
4642
  setColorScheme: te
4643
4643
  } = z9({
4644
4644
  supportedColorSchemes: j,
4645
- defaultLightColorScheme: U,
4645
+ defaultLightColorScheme: _,
4646
4646
  defaultDarkColorScheme: W,
4647
4647
  modeStorageKey: O,
4648
4648
  colorSchemeStorageKey: b,
@@ -4650,7 +4650,7 @@ function Y9(e) {
4650
4650
  storageWindow: C
4651
4651
  });
4652
4652
  let Ie = X, ee = le;
4653
- _ && (Ie = Z.mode, ee = Z.colorScheme);
4653
+ U && (Ie = Z.mode, ee = Z.colorScheme);
4654
4654
  const Ee = ee || D.defaultColorScheme, he = ((Se = D.generateThemeVars) == null ? void 0 : Se.call(D)) || D.vars, Re = {
4655
4655
  ...D,
4656
4656
  components: H,
@@ -4702,15 +4702,15 @@ function Y9(e) {
4702
4702
  const Xe = B.useMemo(() => ({
4703
4703
  allColorSchemes: j,
4704
4704
  colorScheme: ee,
4705
- darkColorScheme: re,
4705
+ darkColorScheme: oe,
4706
4706
  lightColorScheme: ne,
4707
4707
  mode: Ie,
4708
4708
  setColorScheme: te,
4709
- setMode: oe,
4709
+ setMode: re,
4710
4710
  systemMode: J
4711
- }), [j, ee, re, ne, Ie, te, oe, J]);
4711
+ }), [j, ee, oe, ne, Ie, te, re, J]);
4712
4712
  let Ge = !0;
4713
- (k || D.cssVariables === !1 || _ && (G == null ? void 0 : G.cssVarPrefix) === F) && (Ge = !1);
4713
+ (k || D.cssVariables === !1 || U && (z == null ? void 0 : z.cssVarPrefix) === F) && (Ge = !1);
4714
4714
  const ze = /* @__PURE__ */ h.jsxs(B.Fragment, {
4715
4715
  children: [/* @__PURE__ */ h.jsx(Wd, {
4716
4716
  themeId: Y ? t : void 0,
@@ -4720,7 +4720,7 @@ function Y9(e) {
4720
4720
  styles: ((Pe = Re.generateStyleSheets) == null ? void 0 : Pe.call(Re)) || []
4721
4721
  })]
4722
4722
  });
4723
- return _ ? ze : /* @__PURE__ */ h.jsx(u.Provider, {
4723
+ return U ? ze : /* @__PURE__ */ h.jsx(u.Provider, {
4724
4724
  value: Xe,
4725
4725
  children: ze
4726
4726
  });
@@ -4921,22 +4921,22 @@ function Z9(e, t = {}) {
4921
4921
  if (A) {
4922
4922
  const {
4923
4923
  css: T
4924
- } = A, V = (k = (N = i[x]) == null ? void 0 : N.palette) == null ? void 0 : k.mode, G = !r && V ? {
4924
+ } = A, V = (k = (N = i[x]) == null ? void 0 : N.palette) == null ? void 0 : k.mode, z = !r && V ? {
4925
4925
  colorScheme: V,
4926
4926
  ...T
4927
4927
  } : {
4928
4928
  ...T
4929
4929
  };
4930
4930
  C(n(x, {
4931
- ...G
4932
- }), G);
4931
+ ...z
4932
+ }), z);
4933
4933
  }
4934
4934
  return Object.entries(R).forEach(([T, {
4935
4935
  css: V
4936
4936
  }]) => {
4937
- var _, L;
4938
- const G = (L = (_ = i[T]) == null ? void 0 : _.palette) == null ? void 0 : L.mode, Z = !r && G ? {
4939
- colorScheme: G,
4937
+ var U, L;
4938
+ const z = (L = (U = i[T]) == null ? void 0 : U.palette) == null ? void 0 : L.mode, Z = !r && z ? {
4939
+ colorScheme: z,
4940
4940
  ...V
4941
4941
  } : {
4942
4942
  ...V
@@ -5856,23 +5856,23 @@ function MD(e = {}, ...t) {
5856
5856
  spacing: ND(u.spacing)
5857
5857
  };
5858
5858
  Object.keys(x.colorSchemes).forEach((k) => {
5859
- const T = x.colorSchemes[k].palette, V = (G) => {
5860
- const Z = G.split("-"), _ = Z[1], L = Z[2];
5861
- return f(G, T[_][L]);
5859
+ const T = x.colorSchemes[k].palette, V = (z) => {
5860
+ const Z = z.split("-"), U = Z[1], L = Z[2];
5861
+ return f(z, T[U][L]);
5862
5862
  };
5863
5863
  if (T.mode === "light" && (de(T.common, "background", "#fff"), de(T.common, "onBackground", "#000")), T.mode === "dark" && (de(T.common, "background", "#000"), de(T.common, "onBackground", "#fff")), kD(T, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), T.mode === "light") {
5864
5864
  de(T.Alert, "errorColor", rn(T.error.light, 0.6)), de(T.Alert, "infoColor", rn(T.info.light, 0.6)), de(T.Alert, "successColor", rn(T.success.light, 0.6)), de(T.Alert, "warningColor", rn(T.warning.light, 0.6)), de(T.Alert, "errorFilledBg", V("palette-error-main")), de(T.Alert, "infoFilledBg", V("palette-info-main")), de(T.Alert, "successFilledBg", V("palette-success-main")), de(T.Alert, "warningFilledBg", V("palette-warning-main")), de(T.Alert, "errorFilledColor", vi(() => T.getContrastText(T.error.main))), de(T.Alert, "infoFilledColor", vi(() => T.getContrastText(T.info.main))), de(T.Alert, "successFilledColor", vi(() => T.getContrastText(T.success.main))), de(T.Alert, "warningFilledColor", vi(() => T.getContrastText(T.warning.main))), de(T.Alert, "errorStandardBg", on(T.error.light, 0.9)), de(T.Alert, "infoStandardBg", on(T.info.light, 0.9)), de(T.Alert, "successStandardBg", on(T.success.light, 0.9)), de(T.Alert, "warningStandardBg", on(T.warning.light, 0.9)), de(T.Alert, "errorIconColor", V("palette-error-main")), de(T.Alert, "infoIconColor", V("palette-info-main")), de(T.Alert, "successIconColor", V("palette-success-main")), de(T.Alert, "warningIconColor", V("palette-warning-main")), de(T.AppBar, "defaultBg", V("palette-grey-100")), de(T.Avatar, "defaultBg", V("palette-grey-400")), de(T.Button, "inheritContainedBg", V("palette-grey-300")), de(T.Button, "inheritContainedHoverBg", V("palette-grey-A100")), de(T.Chip, "defaultBorder", V("palette-grey-400")), de(T.Chip, "defaultAvatarColor", V("palette-grey-700")), de(T.Chip, "defaultIconColor", V("palette-grey-700")), de(T.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), de(T.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), de(T.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), de(T.LinearProgress, "primaryBg", on(T.primary.main, 0.62)), de(T.LinearProgress, "secondaryBg", on(T.secondary.main, 0.62)), de(T.LinearProgress, "errorBg", on(T.error.main, 0.62)), de(T.LinearProgress, "infoBg", on(T.info.main, 0.62)), de(T.LinearProgress, "successBg", on(T.success.main, 0.62)), de(T.LinearProgress, "warningBg", on(T.warning.main, 0.62)), de(T.Skeleton, "bg", `rgba(${V("palette-text-primaryChannel")} / 0.11)`), de(T.Slider, "primaryTrack", on(T.primary.main, 0.62)), de(T.Slider, "secondaryTrack", on(T.secondary.main, 0.62)), de(T.Slider, "errorTrack", on(T.error.main, 0.62)), de(T.Slider, "infoTrack", on(T.info.main, 0.62)), de(T.Slider, "successTrack", on(T.success.main, 0.62)), de(T.Slider, "warningTrack", on(T.warning.main, 0.62));
5865
- const G = gp(T.background.default, 0.8);
5866
- de(T.SnackbarContent, "bg", G), de(T.SnackbarContent, "color", vi(() => T.getContrastText(G))), de(T.SpeedDialAction, "fabHoverBg", gp(T.background.paper, 0.15)), de(T.StepConnector, "border", V("palette-grey-400")), de(T.StepContent, "border", V("palette-grey-400")), de(T.Switch, "defaultColor", V("palette-common-white")), de(T.Switch, "defaultDisabledColor", V("palette-grey-100")), de(T.Switch, "primaryDisabledColor", on(T.primary.main, 0.62)), de(T.Switch, "secondaryDisabledColor", on(T.secondary.main, 0.62)), de(T.Switch, "errorDisabledColor", on(T.error.main, 0.62)), de(T.Switch, "infoDisabledColor", on(T.info.main, 0.62)), de(T.Switch, "successDisabledColor", on(T.success.main, 0.62)), de(T.Switch, "warningDisabledColor", on(T.warning.main, 0.62)), de(T.TableCell, "border", on(mp(T.divider, 1), 0.88)), de(T.Tooltip, "bg", mp(T.grey[700], 0.92));
5865
+ const z = gp(T.background.default, 0.8);
5866
+ de(T.SnackbarContent, "bg", z), de(T.SnackbarContent, "color", vi(() => T.getContrastText(z))), de(T.SpeedDialAction, "fabHoverBg", gp(T.background.paper, 0.15)), de(T.StepConnector, "border", V("palette-grey-400")), de(T.StepContent, "border", V("palette-grey-400")), de(T.Switch, "defaultColor", V("palette-common-white")), de(T.Switch, "defaultDisabledColor", V("palette-grey-100")), de(T.Switch, "primaryDisabledColor", on(T.primary.main, 0.62)), de(T.Switch, "secondaryDisabledColor", on(T.secondary.main, 0.62)), de(T.Switch, "errorDisabledColor", on(T.error.main, 0.62)), de(T.Switch, "infoDisabledColor", on(T.info.main, 0.62)), de(T.Switch, "successDisabledColor", on(T.success.main, 0.62)), de(T.Switch, "warningDisabledColor", on(T.warning.main, 0.62)), de(T.TableCell, "border", on(mp(T.divider, 1), 0.88)), de(T.Tooltip, "bg", mp(T.grey[700], 0.92));
5867
5867
  }
5868
5868
  if (T.mode === "dark") {
5869
5869
  de(T.Alert, "errorColor", on(T.error.light, 0.6)), de(T.Alert, "infoColor", on(T.info.light, 0.6)), de(T.Alert, "successColor", on(T.success.light, 0.6)), de(T.Alert, "warningColor", on(T.warning.light, 0.6)), de(T.Alert, "errorFilledBg", V("palette-error-dark")), de(T.Alert, "infoFilledBg", V("palette-info-dark")), de(T.Alert, "successFilledBg", V("palette-success-dark")), de(T.Alert, "warningFilledBg", V("palette-warning-dark")), de(T.Alert, "errorFilledColor", vi(() => T.getContrastText(T.error.dark))), de(T.Alert, "infoFilledColor", vi(() => T.getContrastText(T.info.dark))), de(T.Alert, "successFilledColor", vi(() => T.getContrastText(T.success.dark))), de(T.Alert, "warningFilledColor", vi(() => T.getContrastText(T.warning.dark))), de(T.Alert, "errorStandardBg", rn(T.error.light, 0.9)), de(T.Alert, "infoStandardBg", rn(T.info.light, 0.9)), de(T.Alert, "successStandardBg", rn(T.success.light, 0.9)), de(T.Alert, "warningStandardBg", rn(T.warning.light, 0.9)), de(T.Alert, "errorIconColor", V("palette-error-main")), de(T.Alert, "infoIconColor", V("palette-info-main")), de(T.Alert, "successIconColor", V("palette-success-main")), de(T.Alert, "warningIconColor", V("palette-warning-main")), de(T.AppBar, "defaultBg", V("palette-grey-900")), de(T.AppBar, "darkBg", V("palette-background-paper")), de(T.AppBar, "darkColor", V("palette-text-primary")), de(T.Avatar, "defaultBg", V("palette-grey-600")), de(T.Button, "inheritContainedBg", V("palette-grey-800")), de(T.Button, "inheritContainedHoverBg", V("palette-grey-700")), de(T.Chip, "defaultBorder", V("palette-grey-700")), de(T.Chip, "defaultAvatarColor", V("palette-grey-300")), de(T.Chip, "defaultIconColor", V("palette-grey-300")), de(T.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), de(T.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), de(T.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), de(T.LinearProgress, "primaryBg", rn(T.primary.main, 0.5)), de(T.LinearProgress, "secondaryBg", rn(T.secondary.main, 0.5)), de(T.LinearProgress, "errorBg", rn(T.error.main, 0.5)), de(T.LinearProgress, "infoBg", rn(T.info.main, 0.5)), de(T.LinearProgress, "successBg", rn(T.success.main, 0.5)), de(T.LinearProgress, "warningBg", rn(T.warning.main, 0.5)), de(T.Skeleton, "bg", `rgba(${V("palette-text-primaryChannel")} / 0.13)`), de(T.Slider, "primaryTrack", rn(T.primary.main, 0.5)), de(T.Slider, "secondaryTrack", rn(T.secondary.main, 0.5)), de(T.Slider, "errorTrack", rn(T.error.main, 0.5)), de(T.Slider, "infoTrack", rn(T.info.main, 0.5)), de(T.Slider, "successTrack", rn(T.success.main, 0.5)), de(T.Slider, "warningTrack", rn(T.warning.main, 0.5));
5870
- const G = gp(T.background.default, 0.98);
5871
- de(T.SnackbarContent, "bg", G), de(T.SnackbarContent, "color", vi(() => T.getContrastText(G))), de(T.SpeedDialAction, "fabHoverBg", gp(T.background.paper, 0.15)), de(T.StepConnector, "border", V("palette-grey-600")), de(T.StepContent, "border", V("palette-grey-600")), de(T.Switch, "defaultColor", V("palette-grey-300")), de(T.Switch, "defaultDisabledColor", V("palette-grey-600")), de(T.Switch, "primaryDisabledColor", rn(T.primary.main, 0.55)), de(T.Switch, "secondaryDisabledColor", rn(T.secondary.main, 0.55)), de(T.Switch, "errorDisabledColor", rn(T.error.main, 0.55)), de(T.Switch, "infoDisabledColor", rn(T.info.main, 0.55)), de(T.Switch, "successDisabledColor", rn(T.success.main, 0.55)), de(T.Switch, "warningDisabledColor", rn(T.warning.main, 0.55)), de(T.TableCell, "border", rn(mp(T.divider, 1), 0.68)), de(T.Tooltip, "bg", mp(T.grey[700], 0.92));
5870
+ const z = gp(T.background.default, 0.98);
5871
+ de(T.SnackbarContent, "bg", z), de(T.SnackbarContent, "color", vi(() => T.getContrastText(z))), de(T.SpeedDialAction, "fabHoverBg", gp(T.background.paper, 0.15)), de(T.StepConnector, "border", V("palette-grey-600")), de(T.StepContent, "border", V("palette-grey-600")), de(T.Switch, "defaultColor", V("palette-grey-300")), de(T.Switch, "defaultDisabledColor", V("palette-grey-600")), de(T.Switch, "primaryDisabledColor", rn(T.primary.main, 0.55)), de(T.Switch, "secondaryDisabledColor", rn(T.secondary.main, 0.55)), de(T.Switch, "errorDisabledColor", rn(T.error.main, 0.55)), de(T.Switch, "infoDisabledColor", rn(T.info.main, 0.55)), de(T.Switch, "successDisabledColor", rn(T.success.main, 0.55)), de(T.Switch, "warningDisabledColor", rn(T.warning.main, 0.55)), de(T.TableCell, "border", rn(mp(T.divider, 1), 0.68)), de(T.Tooltip, "bg", mp(T.grey[700], 0.92));
5872
5872
  }
5873
- is(T.background, "default"), is(T.background, "paper"), is(T.common, "background"), is(T.common, "onBackground"), is(T, "divider"), Object.keys(T).forEach((G) => {
5874
- const Z = T[G];
5875
- Z && typeof Z == "object" && (Z.main && de(T[G], "mainChannel", rd(od(Z.main))), Z.light && de(T[G], "lightChannel", rd(od(Z.light))), Z.dark && de(T[G], "darkChannel", rd(od(Z.dark))), Z.contrastText && de(T[G], "contrastTextChannel", rd(od(Z.contrastText))), G === "text" && (is(T[G], "primary"), is(T[G], "secondary")), G === "action" && (Z.active && is(T[G], "active"), Z.selected && is(T[G], "selected")));
5873
+ is(T.background, "default"), is(T.background, "paper"), is(T.common, "background"), is(T.common, "onBackground"), is(T, "divider"), Object.keys(T).forEach((z) => {
5874
+ const Z = T[z];
5875
+ Z && typeof Z == "object" && (Z.main && de(T[z], "mainChannel", rd(od(Z.main))), Z.light && de(T[z], "lightChannel", rd(od(Z.light))), Z.dark && de(T[z], "darkChannel", rd(od(Z.dark))), Z.contrastText && de(T[z], "contrastTextChannel", rd(od(Z.contrastText))), z === "text" && (is(T[z], "primary"), is(T[z], "secondary")), z === "action" && (Z.active && is(T[z], "active"), Z.selected && is(T[z], "selected")));
5876
5876
  });
5877
5877
  }), x = t.reduce((k, T) => er(k, T), x);
5878
5878
  const C = {
@@ -18902,14 +18902,14 @@ wS.write = function(e, t, n, r, o, i) {
18902
18902
  return D(this, S, E);
18903
18903
  case "latin1":
18904
18904
  case "binary":
18905
- return z(this, S, E);
18905
+ return G(this, S, E);
18906
18906
  case "base64":
18907
18907
  return Y(this, S, E);
18908
18908
  case "ucs2":
18909
18909
  case "ucs-2":
18910
18910
  case "utf16le":
18911
18911
  case "utf-16le":
18912
- return U(this, S, E);
18912
+ return _(this, S, E);
18913
18913
  default:
18914
18914
  if (M) throw new TypeError("Unknown encoding: " + P);
18915
18915
  P = (P + "").toLowerCase(), M = !0;
@@ -19039,13 +19039,13 @@ wS.write = function(e, t, n, r, o, i) {
19039
19039
  }
19040
19040
  return ue;
19041
19041
  }
19042
- function G(P, S, E, M) {
19042
+ function z(P, S, E, M) {
19043
19043
  return ce(Ge(S, P.length - E), P, E, M);
19044
19044
  }
19045
19045
  function Z(P, S, E, M) {
19046
19046
  return ce(ze(S), P, E, M);
19047
19047
  }
19048
- function _(P, S, E, M) {
19048
+ function U(P, S, E, M) {
19049
19049
  return ce(ke(S), P, E, M);
19050
19050
  }
19051
19051
  function L(P, S, E, M) {
@@ -19073,13 +19073,13 @@ wS.write = function(e, t, n, r, o, i) {
19073
19073
  return V(this, S, E, M);
19074
19074
  case "utf8":
19075
19075
  case "utf-8":
19076
- return G(this, S, E, M);
19076
+ return z(this, S, E, M);
19077
19077
  case "ascii":
19078
19078
  case "latin1":
19079
19079
  case "binary":
19080
19080
  return Z(this, S, E, M);
19081
19081
  case "base64":
19082
- return _(this, S, E, M);
19082
+ return U(this, S, E, M);
19083
19083
  case "ucs2":
19084
19084
  case "ucs-2":
19085
19085
  case "utf16le":
@@ -19145,7 +19145,7 @@ wS.write = function(e, t, n, r, o, i) {
19145
19145
  M += String.fromCharCode(P[Q] & 127);
19146
19146
  return M;
19147
19147
  }
19148
- function z(P, S, E) {
19148
+ function G(P, S, E) {
19149
19149
  let M = "";
19150
19150
  E = Math.min(P.length, E);
19151
19151
  for (let Q = S; Q < E; ++Q)
@@ -19160,7 +19160,7 @@ wS.write = function(e, t, n, r, o, i) {
19160
19160
  Q += Ce[P[se]];
19161
19161
  return Q;
19162
19162
  }
19163
- function U(P, S, E) {
19163
+ function _(P, S, E) {
19164
19164
  const M = P.slice(S, E);
19165
19165
  let Q = "";
19166
19166
  for (let se = 0; se < M.length - 1; se += 2)
@@ -19300,7 +19300,7 @@ wS.write = function(e, t, n, r, o, i) {
19300
19300
  let ue = Number(S >> BigInt(32) & BigInt(4294967295));
19301
19301
  return P[E++] = ue, ue = ue >> 8, P[E++] = ue, ue = ue >> 8, P[E++] = ue, ue = ue >> 8, P[E++] = ue, E;
19302
19302
  }
19303
- function oe(P, S, E, M, Q) {
19303
+ function re(P, S, E, M, Q) {
19304
19304
  Ee(S, M, Q, P, E, 7);
19305
19305
  let se = Number(S & BigInt(4294967295));
19306
19306
  P[E + 7] = se, se = se >> 8, P[E + 6] = se, se = se >> 8, P[E + 5] = se, se = se >> 8, P[E + 4] = se;
@@ -19310,7 +19310,7 @@ wS.write = function(e, t, n, r, o, i) {
19310
19310
  c.prototype.writeBigUInt64LE = ye(function(S, E = 0) {
19311
19311
  return X(this, S, E, BigInt(0), BigInt("0xffffffffffffffff"));
19312
19312
  }), c.prototype.writeBigUInt64BE = ye(function(S, E = 0) {
19313
- return oe(this, S, E, BigInt(0), BigInt("0xffffffffffffffff"));
19313
+ return re(this, S, E, BigInt(0), BigInt("0xffffffffffffffff"));
19314
19314
  }), c.prototype.writeIntLE = function(S, E, M, Q) {
19315
19315
  if (S = +S, E = E >>> 0, !Q) {
19316
19316
  const jt = Math.pow(2, 8 * M - 1);
@@ -19342,7 +19342,7 @@ wS.write = function(e, t, n, r, o, i) {
19342
19342
  }, c.prototype.writeBigInt64LE = ye(function(S, E = 0) {
19343
19343
  return X(this, S, E, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
19344
19344
  }), c.prototype.writeBigInt64BE = ye(function(S, E = 0) {
19345
- return oe(this, S, E, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
19345
+ return re(this, S, E, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
19346
19346
  });
19347
19347
  function J(P, S, E, M, Q, se) {
19348
19348
  if (E + M > P.length) throw new RangeError("Index out of range");
@@ -19356,13 +19356,13 @@ wS.write = function(e, t, n, r, o, i) {
19356
19356
  }, c.prototype.writeFloatBE = function(S, E, M) {
19357
19357
  return ne(this, S, E, !1, M);
19358
19358
  };
19359
- function re(P, S, E, M, Q) {
19359
+ function oe(P, S, E, M, Q) {
19360
19360
  return S = +S, E = E >>> 0, Q || J(P, S, E, 8), n.write(P, S, E, M, 52, 8), E + 8;
19361
19361
  }
19362
19362
  c.prototype.writeDoubleLE = function(S, E, M) {
19363
- return re(this, S, E, !0, M);
19363
+ return oe(this, S, E, !0, M);
19364
19364
  }, c.prototype.writeDoubleBE = function(S, E, M) {
19365
- return re(this, S, E, !1, M);
19365
+ return oe(this, S, E, !1, M);
19366
19366
  }, c.prototype.copy = function(S, E, M, Q) {
19367
19367
  if (!c.isBuffer(S)) throw new TypeError("argument should be a Buffer");
19368
19368
  if (M || (M = 0), !Q && Q !== 0 && (Q = this.length), E >= S.length && (E = S.length), E || (E = 0), Q > 0 && Q < M && (Q = M), Q === M || S.length === 0 || this.length === 0) return 0;
@@ -21509,8 +21509,8 @@ var Z0 = YH, L2 = Z0.custom, B2 = S4(L2) ? L2 : null, rG = function e(t, n, r, o
21509
21509
  o = [];
21510
21510
  else if (x4(o, t) >= 0)
21511
21511
  return "[Circular]";
21512
- function f(Z, _, L) {
21513
- if (_ && (o = nG.call(o), o.push(_)), L) {
21512
+ function f(Z, U, L) {
21513
+ if (U && (o = nG.call(o), o.push(U)), L) {
21514
21514
  var Y = {
21515
21515
  depth: i.depth
21516
21516
  };
@@ -21549,8 +21549,8 @@ var Z0 = YH, L2 = Z0.custom, B2 = S4(L2) ? L2 : null, rG = function e(t, n, r, o
21549
21549
  }
21550
21550
  if (pG(t)) {
21551
21551
  var C = [];
21552
- return R2 && R2.call(t, function(Z, _) {
21553
- C.push(f(_, t, !0) + " => " + f(Z, t));
21552
+ return R2 && R2.call(t, function(Z, U) {
21553
+ C.push(f(U, t, !0) + " => " + f(Z, t));
21554
21554
  }), V2("Map", rm.call(t), C, p);
21555
21555
  }
21556
21556
  if (gG(t)) {
@@ -21578,8 +21578,8 @@ var Z0 = YH, L2 = Z0.custom, B2 = S4(L2) ? L2 : null, rG = function e(t, n, r, o
21578
21578
  if (t === window)
21579
21579
  return "{ [object globalThis] }";
21580
21580
  if (!iG(t) && !F2(t)) {
21581
- var R = Rp(t, f), N = M2 ? M2(t) === Object.prototype : t instanceof Object || t.constructor === Object, k = t instanceof Object ? "" : "null prototype", T = !N && vr && Object(t) === t && vr in t ? PS.call(wa(t), 8, -1) : k ? "Object" : "", V = N || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", G = V + (T || k ? "[" + Pi.call(N2.call([], T || [], k || []), ": ") + "] " : "");
21582
- return R.length === 0 ? G + "{}" : p ? G + "{" + $0(R, p) + "}" : G + "{ " + Pi.call(R, ", ") + " }";
21581
+ var R = Rp(t, f), N = M2 ? M2(t) === Object.prototype : t instanceof Object || t.constructor === Object, k = t instanceof Object ? "" : "null prototype", T = !N && vr && Object(t) === t && vr in t ? PS.call(wa(t), 8, -1) : k ? "Object" : "", V = N || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", z = V + (T || k ? "[" + Pi.call(N2.call([], T || [], k || []), ": ") + "] " : "");
21582
+ return R.length === 0 ? z + "{}" : p ? z + "{" + $0(R, p) + "}" : z + "{ " + Pi.call(R, ", ") + " }";
21583
21583
  }
21584
21584
  return String(t);
21585
21585
  };
@@ -22060,11 +22060,11 @@ var C4 = Tu, Au = GH, xG = rG, EG = qf, Pp = C4("%WeakMap%", !0), Ip = C4("%Map%
22060
22060
  var V = Object.keys(b);
22061
22061
  T = p ? V.sort(p) : V;
22062
22062
  }
22063
- var G = l ? n.replace(/\./g, "%2E") : n, Z = o && Ai(b) && b.length === 1 ? G + "[]" : G;
22063
+ var z = l ? n.replace(/\./g, "%2E") : n, Z = o && Ai(b) && b.length === 1 ? z + "[]" : z;
22064
22064
  if (i && Ai(b) && b.length === 0)
22065
22065
  return Z + "[]";
22066
- for (var _ = 0; _ < T.length; ++_) {
22067
- var L = T[_], Y = typeof L == "object" && typeof L.value < "u" ? L.value : b[L];
22066
+ for (var U = 0; U < T.length; ++U) {
22067
+ var L = T[U], Y = typeof L == "object" && typeof L.value < "u" ? L.value : b[L];
22068
22068
  if (!(a && Y === null)) {
22069
22069
  var ie = f && l ? L.replace(/\./g, "%2E") : L, H = Ai(b) ? typeof r == "function" ? r(Z, ie) : Z : Z + (f ? "." + ie : "[" + ie + "]");
22070
22070
  O.set(t, C);
@@ -28587,17 +28587,17 @@ let rf = class extends ur({
28587
28587
  channelId: String(H.id),
28588
28588
  messageId: F
28589
28589
  });
28590
- }, y = (H, F, D, z = {}) => {
28591
- const { chatJoinAttemptId: j, joinGeneration: U } = r.chat.joinObserver.getScope(), W = z.result ?? (H === "applied" ? "applied" : void 0);
28590
+ }, y = (H, F, D, G = {}) => {
28591
+ const { chatJoinAttemptId: j, joinGeneration: _ } = r.chat.joinObserver.getScope(), W = G.result ?? (H === "applied" ? "applied" : void 0);
28592
28592
  we.info("Chat poll socket event", BJ({
28593
28593
  event: F,
28594
28594
  phase: H,
28595
28595
  payload: D,
28596
- socketChannel: z.socketChannel,
28596
+ socketChannel: G.socketChannel,
28597
28597
  transport: m,
28598
28598
  result: W,
28599
28599
  chatJoinAttemptId: j,
28600
- joinGeneration: U
28600
+ joinGeneration: _
28601
28601
  }));
28602
28602
  }, w = (H, F) => {
28603
28603
  !u() || s || (s = !0, o && r.chat.joinObserver.socketConnectFailed({
@@ -28621,8 +28621,8 @@ let rf = class extends ur({
28621
28621
  y("ignored", zt.PollStart, H, { socketChannel: F, result: "missing_channel" }), we.error("Failed to start poll, no channel", { case: "onPollStart" });
28622
28622
  return;
28623
28623
  }
28624
- const z = D.addPoll(H);
28625
- D.startPoll(z), Io.post("chat.poll.start", H), y("applied", zt.PollStart, H, { socketChannel: F });
28624
+ const G = D.addPoll(H);
28625
+ D.startPoll(G), Io.post("chat.poll.start", H), y("applied", zt.PollStart, H, { socketChannel: F });
28626
28626
  }, A = (H, F) => {
28627
28627
  const D = r.chat.channels.get(`${H.channelId}`);
28628
28628
  if (!D) {
@@ -28632,53 +28632,53 @@ let rf = class extends ur({
28632
28632
  D.applyPollStopped(dm(H)), Io.post("chat.poll.stop", H), y("applied", zt.PollStop, H, { socketChannel: F });
28633
28633
  }, R = (H, F) => {
28634
28634
  var X;
28635
- const { channelId: D, options: z, pollId: j, timestamp: U } = H, W = r.chat.channels.get(`${D}`);
28635
+ const { channelId: D, options: G, pollId: j, timestamp: _ } = H, W = r.chat.channels.get(`${D}`);
28636
28636
  if (!W) {
28637
28637
  y("ignored", zt.PollVotesUpdate, H, { socketChannel: F, result: "missing_channel" }), we.error("Failed to update votes, no channel", { case: "onPollVotesUpdate" });
28638
28638
  return;
28639
28639
  }
28640
- W.updateVotesCounter(j, z, U);
28640
+ W.updateVotesCounter(j, G, _);
28641
28641
  const K = (X = W.activePoll) == null ? void 0 : X.current;
28642
28642
  Io.post("chat.poll.votesUpdate", { vote: H, poll: K }), y("applied", zt.PollVotesUpdate, H, { socketChannel: F });
28643
28643
  }, N = (H, F) => {
28644
- const { id: D, answer: z, channelId: j, pollId: U, user: W } = H, K = r.chat.channels.get(`${j}`);
28644
+ const { id: D, answer: G, channelId: j, pollId: _, user: W } = H, K = r.chat.channels.get(`${j}`);
28645
28645
  if (!K) {
28646
28646
  y("ignored", zt.PollVoteOpenEnded, H, { socketChannel: F, result: "missing_channel" }), we.error("Failed to update votes, no channel", { case: "onPollVoteOpenEnded" });
28647
28647
  return;
28648
28648
  }
28649
- const X = K.findPollById(String(U));
28649
+ const X = K.findPollById(String(_));
28650
28650
  if (!X) {
28651
28651
  y("ignored", zt.PollVoteOpenEnded, H, { socketChannel: F, result: "missing_poll" }), we.error("Failed to update votes, no poll", { case: "onPollVoteOpenEnded" });
28652
28652
  return;
28653
28653
  }
28654
- X.addVote({ id: D, answer: z, user: W }), Io.post("chat.poll.votesUpdate", { vote: H, poll: X }), y("applied", zt.PollVoteOpenEnded, H, { socketChannel: F });
28654
+ X.addVote({ id: D, answer: G, user: W }), Io.post("chat.poll.votesUpdate", { vote: H, poll: X }), y("applied", zt.PollVoteOpenEnded, H, { socketChannel: F });
28655
28655
  }, k = (H) => {
28656
28656
  const { channelId: F } = H;
28657
28657
  WS(r, F);
28658
28658
  }, T = (H) => {
28659
28659
  try {
28660
- const { channelId: F, ids: D } = H, z = r.chat.channels.get(`${F}`);
28661
- z == null || z.deleteMessages(D);
28660
+ const { channelId: F, ids: D } = H, G = r.chat.channels.get(`${F}`);
28661
+ G == null || G.deleteMessages(D);
28662
28662
  } catch {
28663
28663
  we.error("Failed to delete messages", { case: "onMessagesDelete" });
28664
28664
  }
28665
28665
  }, V = (H) => {
28666
- var z;
28666
+ var G;
28667
28667
  const { channelId: F } = H, D = r.chat.channels.get(`${F}`);
28668
- D == null || D.cleanAllMessages(), F === parseInt(((z = r.initialChannel) == null ? void 0 : z.id) || "") && r.chat.sendUnreadMsgCount(0);
28669
- }, G = (H) => {
28670
- const { displayName: F, avatarUrl: D, userId: z, lang: j, role: U } = H;
28671
- return j && +r.auth.me.id == +z && r.ui.setLang(j), U && +r.auth.me.id == +z && r.auth.setMe({
28668
+ D == null || D.cleanAllMessages(), F === parseInt(((G = r.initialChannel) == null ? void 0 : G.id) || "") && r.chat.sendUnreadMsgCount(0);
28669
+ }, z = (H) => {
28670
+ const { displayName: F, avatarUrl: D, userId: G, lang: j, role: _ } = H;
28671
+ return j && +r.auth.me.id == +G && r.ui.setLang(j), _ && +r.auth.me.id == +G && r.auth.setMe({
28672
28672
  id: r.auth.me.id,
28673
28673
  displayName: r.auth.me.displayName,
28674
28674
  username: r.auth.me.username,
28675
28675
  avatarUrl: r.auth.me.avatarUrl,
28676
- role: U
28677
- }), r.chat.updateUser({ userId: z, displayName: F, avatarUrl: D, role: U });
28676
+ role: _
28677
+ }), r.chat.updateUser({ userId: G, displayName: F, avatarUrl: D, role: _ });
28678
28678
  }, Z = (H) => {
28679
28679
  const { user: F } = H;
28680
28680
  r.chat.addUsers([F]);
28681
- }, _ = (H) => {
28681
+ }, U = (H) => {
28682
28682
  const { userId: F } = H;
28683
28683
  r.chat.mute(F);
28684
28684
  }, L = (H) => {
@@ -28747,12 +28747,12 @@ let rf = class extends ur({
28747
28747
  }), this.centrifuge.on("connected", ({ client: H, transport: F, data: D }) => {
28748
28748
  if (!c())
28749
28749
  return;
28750
- const z = a && !r.isJoinInFlight(), j = g;
28750
+ const G = a && !r.isJoinInFlight(), j = g;
28751
28751
  g = null, a = !0, m = F, s || (s = !0, o && r.chat.joinObserver.socketConnectSucceeded({
28752
28752
  startedAt: i,
28753
28753
  client: H,
28754
28754
  transport: F
28755
- })), we.info("Centrifuge connected", { client: H, transport: F, data: D }), this.setIsSocketConnected(!0), r.chat.publicChannelsList.length > 0 && EJ(r), z && vI(r, "socket_reconnected", j ?? void 0);
28755
+ })), we.info("Centrifuge connected", { client: H, transport: F, data: D }), this.setIsSocketConnected(!0), r.chat.publicChannelsList.length > 0 && EJ(r), G && vI(r, "socket_reconnected", j ?? void 0);
28756
28756
  }), this.centrifuge.on("connecting", ({ code: H, reason: F }) => {
28757
28757
  c() && (v(), we.info("Centrifuge connecting", { code: H, reason: F }));
28758
28758
  }), this.centrifuge.on("disconnected", ({ code: H, reason: F }) => {
@@ -28766,8 +28766,8 @@ let rf = class extends ur({
28766
28766
  }));
28767
28767
  }), this.centrifuge.on("publication", (H) => {
28768
28768
  if (!c()) {
28769
- const { event: z, payload: j } = H.data;
28770
- (z === zt.PollStart || z === zt.PollStop || z === zt.PollVotesUpdate || z === zt.PollVoteOpenEnded) && y("ignored", z, j, {
28769
+ const { event: G, payload: j } = H.data;
28770
+ (G === zt.PollStart || G === zt.PollStop || G === zt.PollVotesUpdate || G === zt.PollVoteOpenEnded) && y("ignored", G, j, {
28771
28771
  socketChannel: H.channel,
28772
28772
  result: "stale_socket"
28773
28773
  });
@@ -28798,7 +28798,7 @@ let rf = class extends ur({
28798
28798
  y("received", F, D, { socketChannel: H.channel }), R(D, H.channel);
28799
28799
  break;
28800
28800
  case zt.UserUpdateProfile:
28801
- G(D);
28801
+ z(D);
28802
28802
  break;
28803
28803
  case zt.MessagePinned:
28804
28804
  k(D);
@@ -28813,7 +28813,7 @@ let rf = class extends ur({
28813
28813
  Z(D);
28814
28814
  break;
28815
28815
  case zt.UserMuted:
28816
- _(D);
28816
+ U(D);
28817
28817
  break;
28818
28818
  case zt.UserUnmuted:
28819
28819
  L(D);
@@ -28834,7 +28834,7 @@ rf = wI([
28834
28834
  var l1 = { exports: {} };
28835
28835
  (function(e, t) {
28836
28836
  (function(n, r) {
28837
- var o = "1.0.39", i = "", s = "?", a = "function", l = "undefined", u = "object", c = "string", p = "major", f = "model", m = "name", g = "type", v = "vendor", y = "version", w = "architecture", O = "console", b = "mobile", x = "tablet", C = "smarttv", A = "wearable", R = "embedded", N = 500, k = "Amazon", T = "Apple", V = "ASUS", G = "BlackBerry", Z = "Browser", _ = "Chrome", L = "Edge", Y = "Firefox", ie = "Google", H = "Huawei", F = "LG", D = "Microsoft", z = "Motorola", j = "Opera", U = "Samsung", W = "Sharp", K = "Sony", X = "Xiaomi", oe = "Zebra", J = "Facebook", ne = "Chromium OS", re = "Mac OS", le = " Browser", te = function(Pe, Ce) {
28837
+ var o = "1.0.39", i = "", s = "?", a = "function", l = "undefined", u = "object", c = "string", p = "major", f = "model", m = "name", g = "type", v = "vendor", y = "version", w = "architecture", O = "console", b = "mobile", x = "tablet", C = "smarttv", A = "wearable", R = "embedded", N = 500, k = "Amazon", T = "Apple", V = "ASUS", z = "BlackBerry", Z = "Browser", U = "Chrome", L = "Edge", Y = "Firefox", ie = "Google", H = "Huawei", F = "LG", D = "Microsoft", G = "Motorola", j = "Opera", _ = "Samsung", W = "Sharp", K = "Sony", X = "Xiaomi", re = "Zebra", J = "Facebook", ne = "Chromium OS", oe = "Mac OS", le = " Browser", te = function(Pe, Ce) {
28838
28838
  var ye = {};
28839
28839
  for (var qe in Pe)
28840
28840
  Ce[qe] && Ce[qe].length % 2 === 0 ? ye[qe] = Ce[qe].concat(Pe[qe]) : ye[qe] = Pe[qe];
@@ -29055,7 +29055,7 @@ var l1 = { exports: {} };
29055
29055
  /samsungbrowser\/([\w\.]+)/i
29056
29056
  // Samsung Internet
29057
29057
  ],
29058
- [y, [m, U + " Internet"]],
29058
+ [y, [m, _ + " Internet"]],
29059
29059
  [
29060
29060
  /(comodo_dragon)\/([\w\.]+)/i
29061
29061
  // Comodo Dragon
@@ -29126,12 +29126,12 @@ var l1 = { exports: {} };
29126
29126
  /headlesschrome(?:\/([\w\.]+)| )/i
29127
29127
  // Chrome Headless
29128
29128
  ],
29129
- [y, [m, _ + " Headless"]],
29129
+ [y, [m, U + " Headless"]],
29130
29130
  [
29131
29131
  / wv\).+(chrome)\/([\w\.]+)/i
29132
29132
  // Chrome WebView
29133
29133
  ],
29134
- [[m, _ + " WebView"], y],
29134
+ [[m, U + " WebView"], y],
29135
29135
  [
29136
29136
  /droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i
29137
29137
  // Android Browser
@@ -29258,13 +29258,13 @@ var l1 = { exports: {} };
29258
29258
  // Samsung
29259
29259
  /\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
29260
29260
  ],
29261
- [f, [v, U], [g, x]],
29261
+ [f, [v, _], [g, x]],
29262
29262
  [
29263
29263
  /\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
29264
29264
  /samsung[- ]((?!sm-[lr])[-\w]+)/i,
29265
29265
  /sec-(sgh\w+)/i
29266
29266
  ],
29267
- [f, [v, U], [g, b]],
29267
+ [f, [v, _], [g, b]],
29268
29268
  [
29269
29269
  // Apple
29270
29270
  /(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i
@@ -29347,11 +29347,11 @@ var l1 = { exports: {} };
29347
29347
  /\bmot(?:orola)?[- ](\w*)/i,
29348
29348
  /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
29349
29349
  ],
29350
- [f, [v, z], [g, b]],
29350
+ [f, [v, G], [g, b]],
29351
29351
  [
29352
29352
  /\b(mz60\d|xoom[2 ]{0,2}) build\//i
29353
29353
  ],
29354
- [f, [v, z], [g, x]],
29354
+ [f, [v, G], [g, x]],
29355
29355
  [
29356
29356
  // LG
29357
29357
  /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
@@ -29427,7 +29427,7 @@ var l1 = { exports: {} };
29427
29427
  /\(bb10; (\w+)/i
29428
29428
  // BlackBerry 10
29429
29429
  ],
29430
- [f, [v, G], [g, b]],
29430
+ [f, [v, z], [g, b]],
29431
29431
  [
29432
29432
  // Asus
29433
29433
  /(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
@@ -29658,11 +29658,11 @@ var l1 = { exports: {} };
29658
29658
  /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
29659
29659
  // Zebra
29660
29660
  ],
29661
- [f, [v, oe], [g, x]],
29661
+ [f, [v, re], [g, x]],
29662
29662
  [
29663
29663
  /droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
29664
29664
  ],
29665
- [f, [v, oe], [g, b]],
29665
+ [f, [v, re], [g, b]],
29666
29666
  [
29667
29667
  ///////////////////
29668
29668
  // SMARTTVS
@@ -29674,7 +29674,7 @@ var l1 = { exports: {} };
29674
29674
  [
29675
29675
  /hbbtv.+maple;(\d+)/i
29676
29676
  ],
29677
- [[f, /^/, "SmartTV"], [v, U], [g, C]],
29677
+ [[f, /^/, "SmartTV"], [v, _], [g, C]],
29678
29678
  [
29679
29679
  /(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
29680
29680
  // LG SmartTV
@@ -29689,7 +29689,7 @@ var l1 = { exports: {} };
29689
29689
  /crkey/i
29690
29690
  // Google Chromecast
29691
29691
  ],
29692
- [[f, _ + "cast"], [v, ie], [g, C]],
29692
+ [[f, U + "cast"], [v, ie], [g, C]],
29693
29693
  [
29694
29694
  /droid.+aft(\w+)( bui|\))/i
29695
29695
  // Fire TV
@@ -29760,7 +29760,7 @@ var l1 = { exports: {} };
29760
29760
  /\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i
29761
29761
  // Samsung Galaxy Watch
29762
29762
  ],
29763
- [f, [v, U], [g, A]],
29763
+ [f, [v, _], [g, A]],
29764
29764
  [
29765
29765
  /((pebble))app/i
29766
29766
  // Pebble
@@ -29779,7 +29779,7 @@ var l1 = { exports: {} };
29779
29779
  [
29780
29780
  /droid.+; (wt63?0{2,3})\)/i
29781
29781
  ],
29782
- [f, [v, oe], [g, A]],
29782
+ [f, [v, re], [g, A]],
29783
29783
  [
29784
29784
  /(quest( \d| pro)?)/i
29785
29785
  // Oculus Quest
@@ -29890,7 +29890,7 @@ var l1 = { exports: {} };
29890
29890
  /(macintosh|mac_powerpc\b)(?!.+haiku)/i
29891
29891
  // Mac OS
29892
29892
  ],
29893
- [[m, re], [y, /_/g, "."]],
29893
+ [[m, oe], [y, /_/g, "."]],
29894
29894
  [
29895
29895
  // Mobile OSes
29896
29896
  /droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i
@@ -29912,7 +29912,7 @@ var l1 = { exports: {} };
29912
29912
  /\(bb(10);/i
29913
29913
  // BlackBerry 10
29914
29914
  ],
29915
- [y, [m, G]],
29915
+ [y, [m, z]],
29916
29916
  [
29917
29917
  /(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i
29918
29918
  // Symbian
@@ -29939,7 +29939,7 @@ var l1 = { exports: {} };
29939
29939
  /crkey\/([\d\.]+)/i
29940
29940
  // Google Chromecast
29941
29941
  ],
29942
- [y, [m, _ + "cast"]],
29942
+ [y, [m, U + "cast"]],
29943
29943
  [
29944
29944
  /(cros) [\w]+(?:\)| ([\w\.]+)\b)/i
29945
29945
  // Chromium OS
@@ -30012,7 +30012,7 @@ var l1 = { exports: {} };
30012
30012
  return M[m] = r, M[y] = r, De.call(M, qe, S.engine), M;
30013
30013
  }, this.getOS = function() {
30014
30014
  var M = {};
30015
- return M[m] = r, M[y] = r, De.call(M, qe, S.os), E && !M[m] && P && P.platform && P.platform != "Unknown" && (M[m] = P.platform.replace(/chrome os/i, ne).replace(/macos/i, re)), M;
30015
+ return M[m] = r, M[y] = r, De.call(M, qe, S.os), E && !M[m] && P && P.platform && P.platform != "Unknown" && (M[m] = P.platform.replace(/chrome os/i, ne).replace(/macos/i, oe)), M;
30016
30016
  }, this.getResult = function() {
30017
30017
  return {
30018
30018
  ua: this.getUA(),
@@ -34779,7 +34779,7 @@ function mQ() {
34779
34779
  oneOf: R,
34780
34780
  oneOfType: k,
34781
34781
  shape: V,
34782
- exact: G
34782
+ exact: z
34783
34783
  };
34784
34784
  function g(F, D) {
34785
34785
  return F === D ? F !== 0 || 1 / F === 1 / D : F !== F && D !== D;
@@ -34790,33 +34790,33 @@ function mQ() {
34790
34790
  v.prototype = Error.prototype;
34791
34791
  function y(F) {
34792
34792
  if (I.env.NODE_ENV !== "production")
34793
- var D = {}, z = 0;
34794
- function j(W, K, X, oe, J, ne, re) {
34795
- if (oe = oe || f, ne = ne || X, re !== n) {
34793
+ var D = {}, G = 0;
34794
+ function j(W, K, X, re, J, ne, oe) {
34795
+ if (re = re || f, ne = ne || X, oe !== n) {
34796
34796
  if (l) {
34797
34797
  var le = new Error(
34798
34798
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
34799
34799
  );
34800
34800
  throw le.name = "Invariant Violation", le;
34801
34801
  } else if (I.env.NODE_ENV !== "production" && typeof console < "u") {
34802
- var te = oe + ":" + X;
34802
+ var te = re + ":" + X;
34803
34803
  !D[te] && // Avoid spamming the console because they are often not actionable except for lib authors
34804
- z < 3 && (i(
34805
- "You are manually calling a React.PropTypes validation function for the `" + ne + "` prop on `" + oe + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
34806
- ), D[te] = !0, z++);
34804
+ G < 3 && (i(
34805
+ "You are manually calling a React.PropTypes validation function for the `" + ne + "` prop on `" + re + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
34806
+ ), D[te] = !0, G++);
34807
34807
  }
34808
34808
  }
34809
- return K[X] == null ? W ? K[X] === null ? new v("The " + J + " `" + ne + "` is marked as required " + ("in `" + oe + "`, but its value is `null`.")) : new v("The " + J + " `" + ne + "` is marked as required in " + ("`" + oe + "`, but its value is `undefined`.")) : null : F(K, X, oe, J, ne);
34809
+ return K[X] == null ? W ? K[X] === null ? new v("The " + J + " `" + ne + "` is marked as required " + ("in `" + re + "`, but its value is `null`.")) : new v("The " + J + " `" + ne + "` is marked as required in " + ("`" + re + "`, but its value is `undefined`.")) : null : F(K, X, re, J, ne);
34810
34810
  }
34811
- var U = j.bind(null, !1);
34812
- return U.isRequired = j.bind(null, !0), U;
34811
+ var _ = j.bind(null, !1);
34812
+ return _.isRequired = j.bind(null, !0), _;
34813
34813
  }
34814
34814
  function w(F) {
34815
- function D(z, j, U, W, K, X) {
34816
- var oe = z[j], J = L(oe);
34815
+ function D(G, j, _, W, K, X) {
34816
+ var re = G[j], J = L(re);
34817
34817
  if (J !== F) {
34818
- var ne = Y(oe);
34819
- return new v("Invalid " + W + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + U + "`, expected ") + ("`" + F + "`."));
34818
+ var ne = Y(re);
34819
+ return new v("Invalid " + W + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + _ + "`, expected ") + ("`" + F + "`."));
34820
34820
  }
34821
34821
  return null;
34822
34822
  }
@@ -34826,16 +34826,16 @@ function mQ() {
34826
34826
  return y(s);
34827
34827
  }
34828
34828
  function b(F) {
34829
- function D(z, j, U, W, K) {
34829
+ function D(G, j, _, W, K) {
34830
34830
  if (typeof F != "function")
34831
- return new v("Property `" + K + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
34832
- var X = z[j];
34831
+ return new v("Property `" + K + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
34832
+ var X = G[j];
34833
34833
  if (!Array.isArray(X)) {
34834
- var oe = L(X);
34835
- return new v("Invalid " + W + " `" + K + "` of type " + ("`" + oe + "` supplied to `" + U + "`, expected an array."));
34834
+ var re = L(X);
34835
+ return new v("Invalid " + W + " `" + K + "` of type " + ("`" + re + "` supplied to `" + _ + "`, expected an array."));
34836
34836
  }
34837
34837
  for (var J = 0; J < X.length; J++) {
34838
- var ne = F(X, J, U, W, K + "[" + J + "]", n);
34838
+ var ne = F(X, J, _, W, K + "[" + J + "]", n);
34839
34839
  if (ne instanceof Error)
34840
34840
  return ne;
34841
34841
  }
@@ -34844,32 +34844,32 @@ function mQ() {
34844
34844
  return y(D);
34845
34845
  }
34846
34846
  function x() {
34847
- function F(D, z, j, U, W) {
34848
- var K = D[z];
34847
+ function F(D, G, j, _, W) {
34848
+ var K = D[G];
34849
34849
  if (!a(K)) {
34850
34850
  var X = L(K);
34851
- return new v("Invalid " + U + " `" + W + "` of type " + ("`" + X + "` supplied to `" + j + "`, expected a single ReactElement."));
34851
+ return new v("Invalid " + _ + " `" + W + "` of type " + ("`" + X + "` supplied to `" + j + "`, expected a single ReactElement."));
34852
34852
  }
34853
34853
  return null;
34854
34854
  }
34855
34855
  return y(F);
34856
34856
  }
34857
34857
  function C() {
34858
- function F(D, z, j, U, W) {
34859
- var K = D[z];
34858
+ function F(D, G, j, _, W) {
34859
+ var K = D[G];
34860
34860
  if (!e.isValidElementType(K)) {
34861
34861
  var X = L(K);
34862
- return new v("Invalid " + U + " `" + W + "` of type " + ("`" + X + "` supplied to `" + j + "`, expected a single ReactElement type."));
34862
+ return new v("Invalid " + _ + " `" + W + "` of type " + ("`" + X + "` supplied to `" + j + "`, expected a single ReactElement type."));
34863
34863
  }
34864
34864
  return null;
34865
34865
  }
34866
34866
  return y(F);
34867
34867
  }
34868
34868
  function A(F) {
34869
- function D(z, j, U, W, K) {
34870
- if (!(z[j] instanceof F)) {
34871
- var X = F.name || f, oe = H(z[j]);
34872
- return new v("Invalid " + W + " `" + K + "` of type " + ("`" + oe + "` supplied to `" + U + "`, expected ") + ("instance of `" + X + "`."));
34869
+ function D(G, j, _, W, K) {
34870
+ if (!(G[j] instanceof F)) {
34871
+ var X = F.name || f, re = H(G[j]);
34872
+ return new v("Invalid " + W + " `" + K + "` of type " + ("`" + re + "` supplied to `" + _ + "`, expected ") + ("instance of `" + X + "`."));
34873
34873
  }
34874
34874
  return null;
34875
34875
  }
@@ -34880,28 +34880,28 @@ function mQ() {
34880
34880
  return I.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
34881
34881
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
34882
34882
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
34883
- function D(z, j, U, W, K) {
34884
- for (var X = z[j], oe = 0; oe < F.length; oe++)
34885
- if (g(X, F[oe]))
34883
+ function D(G, j, _, W, K) {
34884
+ for (var X = G[j], re = 0; re < F.length; re++)
34885
+ if (g(X, F[re]))
34886
34886
  return null;
34887
- var J = JSON.stringify(F, function(re, le) {
34887
+ var J = JSON.stringify(F, function(oe, le) {
34888
34888
  var te = Y(le);
34889
34889
  return te === "symbol" ? String(le) : le;
34890
34890
  });
34891
- return new v("Invalid " + W + " `" + K + "` of value `" + String(X) + "` " + ("supplied to `" + U + "`, expected one of " + J + "."));
34891
+ return new v("Invalid " + W + " `" + K + "` of value `" + String(X) + "` " + ("supplied to `" + _ + "`, expected one of " + J + "."));
34892
34892
  }
34893
34893
  return y(D);
34894
34894
  }
34895
34895
  function N(F) {
34896
- function D(z, j, U, W, K) {
34896
+ function D(G, j, _, W, K) {
34897
34897
  if (typeof F != "function")
34898
- return new v("Property `" + K + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
34899
- var X = z[j], oe = L(X);
34900
- if (oe !== "object")
34901
- return new v("Invalid " + W + " `" + K + "` of type " + ("`" + oe + "` supplied to `" + U + "`, expected an object."));
34898
+ return new v("Property `" + K + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
34899
+ var X = G[j], re = L(X);
34900
+ if (re !== "object")
34901
+ return new v("Invalid " + W + " `" + K + "` of type " + ("`" + re + "` supplied to `" + _ + "`, expected an object."));
34902
34902
  for (var J in X)
34903
34903
  if (o(X, J)) {
34904
- var ne = F(X, J, U, W, K + "." + J, n);
34904
+ var ne = F(X, J, _, W, K + "." + J, n);
34905
34905
  if (ne instanceof Error)
34906
34906
  return ne;
34907
34907
  }
@@ -34913,59 +34913,59 @@ function mQ() {
34913
34913
  if (!Array.isArray(F))
34914
34914
  return I.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
34915
34915
  for (var D = 0; D < F.length; D++) {
34916
- var z = F[D];
34917
- if (typeof z != "function")
34916
+ var G = F[D];
34917
+ if (typeof G != "function")
34918
34918
  return i(
34919
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ie(z) + " at index " + D + "."
34919
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ie(G) + " at index " + D + "."
34920
34920
  ), s;
34921
34921
  }
34922
- function j(U, W, K, X, oe) {
34922
+ function j(_, W, K, X, re) {
34923
34923
  for (var J = 0; J < F.length; J++) {
34924
34924
  var ne = F[J];
34925
- if (ne(U, W, K, X, oe, n) == null)
34925
+ if (ne(_, W, K, X, re, n) == null)
34926
34926
  return null;
34927
34927
  }
34928
- return new v("Invalid " + X + " `" + oe + "` supplied to " + ("`" + K + "`."));
34928
+ return new v("Invalid " + X + " `" + re + "` supplied to " + ("`" + K + "`."));
34929
34929
  }
34930
34930
  return y(j);
34931
34931
  }
34932
34932
  function T() {
34933
- function F(D, z, j, U, W) {
34934
- return Z(D[z]) ? null : new v("Invalid " + U + " `" + W + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
34933
+ function F(D, G, j, _, W) {
34934
+ return Z(D[G]) ? null : new v("Invalid " + _ + " `" + W + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
34935
34935
  }
34936
34936
  return y(F);
34937
34937
  }
34938
34938
  function V(F) {
34939
- function D(z, j, U, W, K) {
34940
- var X = z[j], oe = L(X);
34941
- if (oe !== "object")
34942
- return new v("Invalid " + W + " `" + K + "` of type `" + oe + "` " + ("supplied to `" + U + "`, expected `object`."));
34939
+ function D(G, j, _, W, K) {
34940
+ var X = G[j], re = L(X);
34941
+ if (re !== "object")
34942
+ return new v("Invalid " + W + " `" + K + "` of type `" + re + "` " + ("supplied to `" + _ + "`, expected `object`."));
34943
34943
  for (var J in F) {
34944
34944
  var ne = F[J];
34945
34945
  if (ne) {
34946
- var re = ne(X, J, U, W, K + "." + J, n);
34947
- if (re)
34948
- return re;
34946
+ var oe = ne(X, J, _, W, K + "." + J, n);
34947
+ if (oe)
34948
+ return oe;
34949
34949
  }
34950
34950
  }
34951
34951
  return null;
34952
34952
  }
34953
34953
  return y(D);
34954
34954
  }
34955
- function G(F) {
34956
- function D(z, j, U, W, K) {
34957
- var X = z[j], oe = L(X);
34958
- if (oe !== "object")
34959
- return new v("Invalid " + W + " `" + K + "` of type `" + oe + "` " + ("supplied to `" + U + "`, expected `object`."));
34960
- var J = t({}, z[j], F);
34955
+ function z(F) {
34956
+ function D(G, j, _, W, K) {
34957
+ var X = G[j], re = L(X);
34958
+ if (re !== "object")
34959
+ return new v("Invalid " + W + " `" + K + "` of type `" + re + "` " + ("supplied to `" + _ + "`, expected `object`."));
34960
+ var J = t({}, G[j], F);
34961
34961
  for (var ne in J) {
34962
- var re = F[ne];
34963
- if (!re)
34962
+ var oe = F[ne];
34963
+ if (!oe)
34964
34964
  return new v(
34965
- "Invalid " + W + " `" + K + "` key `" + ne + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(z[j], null, " ") + `
34965
+ "Invalid " + W + " `" + K + "` key `" + ne + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(G[j], null, " ") + `
34966
34966
  Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
34967
34967
  );
34968
- var le = re(X, ne, U, W, K + "." + ne, n);
34968
+ var le = oe(X, ne, _, W, K + "." + ne, n);
34969
34969
  if (le)
34970
34970
  return le;
34971
34971
  }
@@ -34988,15 +34988,15 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
34988
34988
  return !0;
34989
34989
  var D = p(F);
34990
34990
  if (D) {
34991
- var z = D.call(F), j;
34991
+ var G = D.call(F), j;
34992
34992
  if (D !== F.entries) {
34993
- for (; !(j = z.next()).done; )
34993
+ for (; !(j = G.next()).done; )
34994
34994
  if (!Z(j.value))
34995
34995
  return !1;
34996
34996
  } else
34997
- for (; !(j = z.next()).done; ) {
34998
- var U = j.value;
34999
- if (U && !Z(U[1]))
34997
+ for (; !(j = G.next()).done; ) {
34998
+ var _ = j.value;
34999
+ if (_ && !Z(_[1]))
35000
35000
  return !1;
35001
35001
  }
35002
35002
  } else
@@ -35006,12 +35006,12 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
35006
35006
  return !1;
35007
35007
  }
35008
35008
  }
35009
- function _(F, D) {
35009
+ function U(F, D) {
35010
35010
  return F === "symbol" ? !0 : D ? D["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && D instanceof Symbol : !1;
35011
35011
  }
35012
35012
  function L(F) {
35013
35013
  var D = typeof F;
35014
- return Array.isArray(F) ? "array" : F instanceof RegExp ? "object" : _(D, F) ? "symbol" : D;
35014
+ return Array.isArray(F) ? "array" : F instanceof RegExp ? "object" : U(D, F) ? "symbol" : D;
35015
35015
  }
35016
35016
  function Y(F) {
35017
35017
  if (typeof F > "u" || F === null)
@@ -35840,37 +35840,37 @@ const Oo = vt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
35840
35840
  left: 0,
35841
35841
  top: 0
35842
35842
  };
35843
- let G, Z, _;
35843
+ let z, Z, U;
35844
35844
  if (N || x === void 0 || x.clientX === 0 && x.clientY === 0 || !x.clientX && !x.touches)
35845
- G = Math.round(V.width / 2), Z = Math.round(V.height / 2);
35845
+ z = Math.round(V.width / 2), Z = Math.round(V.height / 2);
35846
35846
  else {
35847
35847
  const {
35848
35848
  clientX: L,
35849
35849
  clientY: Y
35850
35850
  } = x.touches && x.touches.length > 0 ? x.touches[0] : x;
35851
- G = Math.round(L - V.left), Z = Math.round(Y - V.top);
35851
+ z = Math.round(L - V.left), Z = Math.round(Y - V.top);
35852
35852
  }
35853
35853
  if (N)
35854
- _ = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), _ % 2 === 0 && (_ += 1);
35854
+ U = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), U % 2 === 0 && (U += 1);
35855
35855
  else {
35856
- const L = Math.max(Math.abs((T ? T.clientWidth : 0) - G), G) * 2 + 2, Y = Math.max(Math.abs((T ? T.clientHeight : 0) - Z), Z) * 2 + 2;
35857
- _ = Math.sqrt(L ** 2 + Y ** 2);
35856
+ const L = Math.max(Math.abs((T ? T.clientWidth : 0) - z), z) * 2 + 2, Y = Math.max(Math.abs((T ? T.clientHeight : 0) - Z), Z) * 2 + 2;
35857
+ U = Math.sqrt(L ** 2 + Y ** 2);
35858
35858
  }
35859
35859
  x != null && x.touches ? g.current === null && (g.current = () => {
35860
35860
  y({
35861
35861
  pulsate: R,
35862
- rippleX: G,
35862
+ rippleX: z,
35863
35863
  rippleY: Z,
35864
- rippleSize: _,
35864
+ rippleSize: U,
35865
35865
  cb: A
35866
35866
  });
35867
35867
  }, m.start(RQ, () => {
35868
35868
  g.current && (g.current(), g.current = null);
35869
35869
  })) : y({
35870
35870
  pulsate: R,
35871
- rippleX: G,
35871
+ rippleX: z,
35872
35872
  rippleY: Z,
35873
- rippleSize: _,
35873
+ rippleSize: U,
35874
35874
  cb: A
35875
35875
  });
35876
35876
  }, [o, y, m]), O = B.useCallback(() => {
@@ -36001,28 +36001,28 @@ const DQ = vt("MuiButtonBase", ["root", "disabled", "focusVisible"]), LQ = (e) =
36001
36001
  onMouseUp: k,
36002
36002
  onTouchEnd: T,
36003
36003
  onTouchMove: V,
36004
- onTouchStart: G,
36004
+ onTouchStart: z,
36005
36005
  tabIndex: Z = 0,
36006
- TouchRippleProps: _,
36006
+ TouchRippleProps: U,
36007
36007
  touchRippleRef: L,
36008
36008
  type: Y,
36009
36009
  ...ie
36010
- } = r, H = B.useRef(null), F = fQ(), D = Mn(F.ref, L), [z, j] = B.useState(!1);
36011
- u && z && j(!1), B.useImperativeHandle(o, () => ({
36010
+ } = r, H = B.useRef(null), F = fQ(), D = Mn(F.ref, L), [G, j] = B.useState(!1);
36011
+ u && G && j(!1), B.useImperativeHandle(o, () => ({
36012
36012
  focusVisible: () => {
36013
36013
  j(!0), H.current.focus();
36014
36014
  }
36015
36015
  }), []);
36016
- const U = F.shouldMount && !c && !u;
36016
+ const _ = F.shouldMount && !c && !u;
36017
36017
  B.useEffect(() => {
36018
- z && f && !c && F.pulsate();
36019
- }, [c, f, z, F]);
36018
+ G && f && !c && F.pulsate();
36019
+ }, [c, f, G, F]);
36020
36020
  function W(ke, ce, Se = p) {
36021
36021
  return Hs((Pe) => (ce && ce(Pe), Se || F[ke](Pe), !0));
36022
36022
  }
36023
- const K = W("start", R), X = W("stop", w), oe = W("stop", O), J = W("stop", k), ne = W("stop", (ke) => {
36024
- z && ke.preventDefault(), N && N(ke);
36025
- }), re = W("start", G), le = W("stop", T), te = W("stop", V), Ie = W("stop", (ke) => {
36023
+ const K = W("start", R), X = W("stop", w), re = W("stop", O), J = W("stop", k), ne = W("stop", (ke) => {
36024
+ G && ke.preventDefault(), N && N(ke);
36025
+ }), oe = W("start", z), le = W("stop", T), te = W("stop", V), Ie = W("stop", (ke) => {
36026
36026
  Dh(ke.target) || j(!1), v && v(ke);
36027
36027
  }, !1), ee = Hs((ke) => {
36028
36028
  H.current || (H.current = ke.currentTarget), Dh(ke.target) && (j(!0), x && x(ke)), b && b(ke);
@@ -36030,11 +36030,11 @@ const DQ = vt("MuiButtonBase", ["root", "disabled", "focusVisible"]), LQ = (e) =
36030
36030
  const ke = H.current;
36031
36031
  return l && l !== "button" && !(ke.tagName === "A" && ke.href);
36032
36032
  }, he = Hs((ke) => {
36033
- f && !ke.repeat && z && ke.key === " " && F.stop(ke, () => {
36033
+ f && !ke.repeat && G && ke.key === " " && F.stop(ke, () => {
36034
36034
  F.start(ke);
36035
36035
  }), ke.target === ke.currentTarget && Ee() && ke.key === " " && ke.preventDefault(), C && C(ke), ke.target === ke.currentTarget && Ee() && ke.key === "Enter" && !u && (ke.preventDefault(), y && y(ke));
36036
36036
  }), Re = Hs((ke) => {
36037
- f && ke.key === " " && z && !ke.defaultPrevented && F.stop(ke, () => {
36037
+ f && ke.key === " " && G && !ke.defaultPrevented && F.stop(ke, () => {
36038
36038
  F.pulsate(ke);
36039
36039
  }), A && A(ke), y && ke.target === ke.currentTarget && Ee() && ke.key === " " && !ke.defaultPrevented && y(ke);
36040
36040
  });
@@ -36051,7 +36051,7 @@ const DQ = vt("MuiButtonBase", ["root", "disabled", "focusVisible"]), LQ = (e) =
36051
36051
  disableTouchRipple: p,
36052
36052
  focusRipple: f,
36053
36053
  tabIndex: Z,
36054
- focusVisible: z
36054
+ focusVisible: G
36055
36055
  }, bt = LQ(ze);
36056
36056
  return /* @__PURE__ */ h.jsxs(BQ, {
36057
36057
  as: De,
@@ -36066,19 +36066,19 @@ const DQ = vt("MuiButtonBase", ["root", "disabled", "focusVisible"]), LQ = (e) =
36066
36066
  onMouseDown: K,
36067
36067
  onMouseLeave: ne,
36068
36068
  onMouseUp: J,
36069
- onDragLeave: oe,
36069
+ onDragLeave: re,
36070
36070
  onTouchEnd: le,
36071
36071
  onTouchMove: te,
36072
- onTouchStart: re,
36072
+ onTouchStart: oe,
36073
36073
  ref: Ge,
36074
36074
  tabIndex: u ? -1 : Z,
36075
36075
  type: Y,
36076
36076
  ...Xe,
36077
36077
  ...ie,
36078
- children: [s, U ? /* @__PURE__ */ h.jsx(ok, {
36078
+ children: [s, _ ? /* @__PURE__ */ h.jsx(ok, {
36079
36079
  ref: D,
36080
36080
  center: i,
36081
- ..._
36081
+ ...U
36082
36082
  }) : null]
36083
36083
  });
36084
36084
  });
@@ -38914,58 +38914,58 @@ function See(e = {}) {
38914
38914
  let p, f, m, g, v;
38915
38915
  if (c) {
38916
38916
  if (p = void 0, f = c.disabled ?? !1, m = c.error ?? !1, g = c.required ?? !1, v = c.value, I.env.NODE_ENV !== "production") {
38917
- const G = ["defaultValue", "disabled", "error", "required", "value"].filter((Z) => e[Z] !== void 0);
38918
- G.length > 0 && console.warn(["MUI: You have set props on an input that is inside a FormControl.", "Set these props on a FormControl instead. Otherwise they will be ignored.", `Ignored props: ${G.join(", ")}`].join(`
38917
+ const z = ["defaultValue", "disabled", "error", "required", "value"].filter((Z) => e[Z] !== void 0);
38918
+ z.length > 0 && console.warn(["MUI: You have set props on an input that is inside a FormControl.", "Set these props on a FormControl instead. Otherwise they will be ignored.", `Ignored props: ${z.join(", ")}`].join(`
38919
38919
  `));
38920
38920
  }
38921
38921
  } else
38922
38922
  p = t, f = n, m = r, g = a, v = l;
38923
38923
  const {
38924
38924
  current: y
38925
- } = B.useRef(v != null), w = B.useCallback((G) => {
38926
- I.env.NODE_ENV !== "production" && G && G.nodeName !== "INPUT" && !G.focus && console.error(["MUI: You have provided a `slots.input` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
38925
+ } = B.useRef(v != null), w = B.useCallback((z) => {
38926
+ I.env.NODE_ENV !== "production" && z && z.nodeName !== "INPUT" && !z.focus && console.error(["MUI: You have provided a `slots.input` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
38927
38927
  `));
38928
38928
  }, []), O = B.useRef(null), b = Mn(O, u, w), [x, C] = B.useState(!1);
38929
38929
  B.useEffect(() => {
38930
38930
  !c && f && x && (C(!1), o == null || o());
38931
38931
  }, [c, f, x, o]);
38932
- const A = (G) => (Z) => {
38933
- var _, L;
38932
+ const A = (z) => (Z) => {
38933
+ var U, L;
38934
38934
  if (c != null && c.disabled) {
38935
38935
  Z.stopPropagation();
38936
38936
  return;
38937
38937
  }
38938
- (_ = G.onFocus) == null || _.call(G, Z), c && c.onFocus ? (L = c == null ? void 0 : c.onFocus) == null || L.call(c) : C(!0);
38939
- }, R = (G) => (Z) => {
38940
- var _;
38941
- (_ = G.onBlur) == null || _.call(G, Z), c && c.onBlur ? c.onBlur() : C(!1);
38942
- }, N = (G) => (Z, ..._) => {
38938
+ (U = z.onFocus) == null || U.call(z, Z), c && c.onFocus ? (L = c == null ? void 0 : c.onFocus) == null || L.call(c) : C(!0);
38939
+ }, R = (z) => (Z) => {
38940
+ var U;
38941
+ (U = z.onBlur) == null || U.call(z, Z), c && c.onBlur ? c.onBlur() : C(!1);
38942
+ }, N = (z) => (Z, ...U) => {
38943
38943
  var L, Y;
38944
38944
  if (!y && (Z.target || O.current) == null)
38945
38945
  throw new Error(I.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Wi(17));
38946
- (L = c == null ? void 0 : c.onChange) == null || L.call(c, Z), (Y = G.onChange) == null || Y.call(G, Z, ..._);
38947
- }, k = (G) => (Z) => {
38948
- var _;
38949
- O.current && Z.currentTarget === Z.target && O.current.focus(), (_ = G.onClick) == null || _.call(G, Z);
38946
+ (L = c == null ? void 0 : c.onChange) == null || L.call(c, Z), (Y = z.onChange) == null || Y.call(z, Z, ...U);
38947
+ }, k = (z) => (Z) => {
38948
+ var U;
38949
+ O.current && Z.currentTarget === Z.target && O.current.focus(), (U = z.onClick) == null || U.call(z, Z);
38950
38950
  };
38951
38951
  return {
38952
38952
  disabled: f,
38953
38953
  error: m,
38954
38954
  focused: x,
38955
38955
  formControlContext: c,
38956
- getInputProps: (G = {}) => {
38957
- const _ = {
38956
+ getInputProps: (z = {}) => {
38957
+ const U = {
38958
38958
  ...{
38959
38959
  onBlur: o,
38960
38960
  onChange: i,
38961
38961
  onFocus: s
38962
38962
  },
38963
- ...yd(G)
38963
+ ...yd(z)
38964
38964
  }, L = {
38965
- ..._,
38966
- onBlur: R(_),
38967
- onChange: N(_),
38968
- onFocus: A(_)
38965
+ ...U,
38966
+ onBlur: R(U),
38967
+ onChange: N(U),
38968
+ onFocus: A(U)
38969
38969
  };
38970
38970
  return {
38971
38971
  ...L,
@@ -38974,20 +38974,20 @@ function See(e = {}) {
38974
38974
  value: v,
38975
38975
  required: g,
38976
38976
  disabled: f,
38977
- ...G,
38977
+ ...z,
38978
38978
  ref: b,
38979
38979
  ...L
38980
38980
  };
38981
38981
  },
38982
- getRootProps: (G = {}) => {
38983
- const _ = {
38982
+ getRootProps: (z = {}) => {
38983
+ const U = {
38984
38984
  ...yd(e, ["onBlur", "onChange", "onFocus"]),
38985
- ...yd(G)
38985
+ ...yd(z)
38986
38986
  };
38987
38987
  return {
38988
- ...G,
38989
- ..._,
38990
- onClick: k(_)
38988
+ ...z,
38989
+ ...U,
38990
+ onClick: k(U)
38991
38991
  };
38992
38992
  },
38993
38993
  inputRef: b,
@@ -39036,9 +39036,9 @@ const xee = (e) => {
39036
39036
  startAdornment: k,
39037
39037
  value: T,
39038
39038
  type: V,
39039
- rows: G,
39039
+ rows: z,
39040
39040
  slotProps: Z = {},
39041
- slots: _ = {},
39041
+ slots: U = {},
39042
39042
  minRows: L,
39043
39043
  maxRows: Y,
39044
39044
  ...ie
@@ -39046,9 +39046,9 @@ const xee = (e) => {
39046
39046
  getRootProps: H,
39047
39047
  getInputProps: F,
39048
39048
  focused: D,
39049
- formControlContext: z,
39049
+ formControlContext: G,
39050
39050
  error: j,
39051
- disabled: U
39051
+ disabled: _
39052
39052
  } = See({
39053
39053
  disabled: c,
39054
39054
  defaultValue: u,
@@ -39061,13 +39061,13 @@ const xee = (e) => {
39061
39061
  value: T
39062
39062
  }), W = g ? void 0 : V ?? "text", K = {
39063
39063
  ...t,
39064
- disabled: U,
39064
+ disabled: _,
39065
39065
  error: j,
39066
39066
  focused: D,
39067
- formControlContext: z,
39067
+ formControlContext: G,
39068
39068
  multiline: g,
39069
39069
  type: W
39070
- }, X = xee(K), oe = {
39070
+ }, X = xee(K), re = {
39071
39071
  "aria-describedby": r,
39072
39072
  "aria-label": o,
39073
39073
  "aria-labelledby": i,
@@ -39080,7 +39080,7 @@ const xee = (e) => {
39080
39080
  placeholder: A,
39081
39081
  readOnly: R,
39082
39082
  type: W
39083
- }, J = _.root ?? "div", ne = al({
39083
+ }, J = U.root ?? "div", ne = al({
39084
39084
  elementType: J,
39085
39085
  getSlotProps: H,
39086
39086
  externalSlotProps: Z.root,
@@ -39090,26 +39090,26 @@ const xee = (e) => {
39090
39090
  },
39091
39091
  ownerState: K,
39092
39092
  className: [X.root, l]
39093
- }), re = g ? _.textarea ?? "textarea" : _.input ?? "input", le = al({
39094
- elementType: re,
39093
+ }), oe = g ? U.textarea ?? "textarea" : U.input ?? "input", le = al({
39094
+ elementType: oe,
39095
39095
  getSlotProps: (te) => F({
39096
- ...oe,
39096
+ ...re,
39097
39097
  ...te
39098
39098
  }),
39099
39099
  externalSlotProps: Z.input,
39100
39100
  additionalProps: {
39101
- rows: g ? G : void 0,
39102
- ...g && !mee(re) && {
39103
- minRows: G || L,
39104
- maxRows: G || Y
39101
+ rows: g ? z : void 0,
39102
+ ...g && !mee(oe) && {
39103
+ minRows: z || L,
39104
+ maxRows: z || Y
39105
39105
  }
39106
39106
  },
39107
39107
  ownerState: K,
39108
39108
  className: X.input
39109
39109
  });
39110
- return I.env.NODE_ENV !== "production" && g && G && (L || Y) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), /* @__PURE__ */ h.jsxs(J, {
39110
+ return I.env.NODE_ENV !== "production" && g && z && (L || Y) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), /* @__PURE__ */ h.jsxs(J, {
39111
39111
  ...ne,
39112
- children: [k, /* @__PURE__ */ h.jsx(re, {
39112
+ children: [k, /* @__PURE__ */ h.jsx(oe, {
39113
39113
  ...le
39114
39114
  }), p]
39115
39115
  });
@@ -39536,14 +39536,14 @@ function $O(e) {
39536
39536
  }
39537
39537
  var V = Object.assign({
39538
39538
  position: a
39539
- }, u && zee), G = c === !0 ? qee({
39539
+ }, u && zee), z = c === !0 ? qee({
39540
39540
  x: m,
39541
39541
  y: v
39542
39542
  }, vo(n)) : {
39543
39543
  x: m,
39544
39544
  y: v
39545
39545
  };
39546
- if (m = G.x, v = G.y, l) {
39546
+ if (m = z.x, v = z.y, l) {
39547
39547
  var Z;
39548
39548
  return Object.assign({}, V, (Z = {}, Z[x] = O ? "0" : "", Z[b] = w ? "0" : "", Z.transform = (C.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", Z));
39549
39549
  }
@@ -39759,10 +39759,10 @@ function cf(e, t) {
39759
39759
  right: k.right - C.right + w.right
39760
39760
  }, V = e.modifiersData.offset;
39761
39761
  if (f === Xu && V) {
39762
- var G = V[o];
39762
+ var z = V[o];
39763
39763
  Object.keys(T).forEach(function(Z) {
39764
- var _ = [Ho, Wo].indexOf(Z) >= 0 ? 1 : -1, L = [Jr, Wo].indexOf(Z) >= 0 ? "y" : "x";
39765
- T[Z] += G[L] * _;
39764
+ var U = [Ho, Wo].indexOf(Z) >= 0 ? 1 : -1, L = [Jr, Wo].indexOf(Z) >= 0 ? "y" : "x";
39765
+ T[Z] += z[L] * U;
39766
39766
  });
39767
39767
  }
39768
39768
  return T;
@@ -39806,16 +39806,16 @@ function ste(e) {
39806
39806
  allowedAutoPlacements: v
39807
39807
  }) : K);
39808
39808
  }, []), C = t.rects.reference, A = t.rects.popper, R = /* @__PURE__ */ new Map(), N = !0, k = x[0], T = 0; T < x.length; T++) {
39809
- var V = x[T], G = Ui(V), Z = ou(V) === tu, _ = [Jr, Wo].indexOf(G) >= 0, L = _ ? "width" : "height", Y = cf(t, {
39809
+ var V = x[T], z = Ui(V), Z = ou(V) === tu, U = [Jr, Wo].indexOf(z) >= 0, L = U ? "width" : "height", Y = cf(t, {
39810
39810
  placement: V,
39811
39811
  boundary: c,
39812
39812
  rootBoundary: p,
39813
39813
  altBoundary: f,
39814
39814
  padding: u
39815
- }), ie = _ ? Z ? Ho : Kr : Z ? Wo : Jr;
39815
+ }), ie = U ? Z ? Ho : Kr : Z ? Wo : Jr;
39816
39816
  C[L] > A[L] && (ie = Ch(ie));
39817
39817
  var H = Ch(ie), F = [];
39818
- if (i && F.push(Y[G] <= 0), a && F.push(Y[ie] <= 0, Y[H] <= 0), F.every(function(W) {
39818
+ if (i && F.push(Y[z] <= 0), a && F.push(Y[ie] <= 0, Y[H] <= 0), F.every(function(W) {
39819
39819
  return W;
39820
39820
  })) {
39821
39821
  k = V, N = !1;
@@ -39824,9 +39824,9 @@ function ste(e) {
39824
39824
  R.set(V, F);
39825
39825
  }
39826
39826
  if (N)
39827
- for (var D = g ? 3 : 1, z = function(K) {
39828
- var X = x.find(function(oe) {
39829
- var J = R.get(oe);
39827
+ for (var D = g ? 3 : 1, G = function(K) {
39828
+ var X = x.find(function(re) {
39829
+ var J = R.get(re);
39830
39830
  if (J)
39831
39831
  return J.slice(0, K).every(function(ne) {
39832
39832
  return ne;
@@ -39835,8 +39835,8 @@ function ste(e) {
39835
39835
  if (X)
39836
39836
  return k = X, "break";
39837
39837
  }, j = D; j > 0; j--) {
39838
- var U = z(j);
39839
- if (U === "break") break;
39838
+ var _ = G(j);
39839
+ if (_ === "break") break;
39840
39840
  }
39841
39841
  t.placement !== k && (t.modifiersData[r]._skip = !0, t.placement = k, t.reset = !0);
39842
39842
  }
@@ -39948,23 +39948,23 @@ function gte(e) {
39948
39948
  } : Object.assign({
39949
39949
  mainAxis: 0,
39950
39950
  altAxis: 0
39951
- }, k), V = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, G = {
39951
+ }, k), V = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, z = {
39952
39952
  x: 0,
39953
39953
  y: 0
39954
39954
  };
39955
39955
  if (A) {
39956
39956
  if (i) {
39957
- var Z, _ = x === "y" ? Jr : Kr, L = x === "y" ? Wo : Ho, Y = x === "y" ? "height" : "width", ie = A[x], H = ie + y[_], F = ie - y[L], D = m ? -N[Y] / 2 : 0, z = O === tu ? R[Y] : N[Y], j = O === tu ? -N[Y] : -R[Y], U = t.elements.arrow, W = m && U ? dx(U) : {
39957
+ var Z, U = x === "y" ? Jr : Kr, L = x === "y" ? Wo : Ho, Y = x === "y" ? "height" : "width", ie = A[x], H = ie + y[U], F = ie - y[L], D = m ? -N[Y] / 2 : 0, G = O === tu ? R[Y] : N[Y], j = O === tu ? -N[Y] : -R[Y], _ = t.elements.arrow, W = m && _ ? dx(_) : {
39958
39958
  width: 0,
39959
39959
  height: 0
39960
- }, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Rk(), X = K[_], oe = K[L], J = Id(0, R[Y], W[Y]), ne = b ? R[Y] / 2 - D - J - X - T.mainAxis : z - J - X - T.mainAxis, re = b ? -R[Y] / 2 + D + J + oe + T.mainAxis : j + J + oe + T.mainAxis, le = t.elements.arrow && np(t.elements.arrow), te = le ? x === "y" ? le.clientTop || 0 : le.clientLeft || 0 : 0, Ie = (Z = V == null ? void 0 : V[x]) != null ? Z : 0, ee = ie + ne - Ie - te, Ee = ie + re - Ie, he = Id(m ? Tm(H, ee) : H, ie, m ? rl(F, Ee) : F);
39961
- A[x] = he, G[x] = he - ie;
39960
+ }, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Rk(), X = K[U], re = K[L], J = Id(0, R[Y], W[Y]), ne = b ? R[Y] / 2 - D - J - X - T.mainAxis : G - J - X - T.mainAxis, oe = b ? -R[Y] / 2 + D + J + re + T.mainAxis : j + J + re + T.mainAxis, le = t.elements.arrow && np(t.elements.arrow), te = le ? x === "y" ? le.clientTop || 0 : le.clientLeft || 0 : 0, Ie = (Z = V == null ? void 0 : V[x]) != null ? Z : 0, ee = ie + ne - Ie - te, Ee = ie + oe - Ie, he = Id(m ? Tm(H, ee) : H, ie, m ? rl(F, Ee) : F);
39961
+ A[x] = he, z[x] = he - ie;
39962
39962
  }
39963
39963
  if (a) {
39964
39964
  var Re, De = x === "x" ? Jr : Kr, Xe = x === "x" ? Wo : Ho, Ge = A[C], ze = C === "y" ? "height" : "width", bt = Ge + y[De], ke = Ge - y[Xe], ce = [Jr, Kr].indexOf(w) !== -1, Se = (Re = V == null ? void 0 : V[C]) != null ? Re : 0, Pe = ce ? bt : Ge - R[ze] - N[ze] - Se + T.altAxis, Ce = ce ? Ge + R[ze] + N[ze] - Se - T.altAxis : ke, ye = m && ce ? _ee(Pe, Ge, Ce) : Id(m ? Pe : bt, Ge, m ? Ce : ke);
39965
- A[C] = ye, G[C] = ye - Ge;
39965
+ A[C] = ye, z[C] = ye - Ge;
39966
39966
  }
39967
- t.modifiersData[r] = G;
39967
+ t.modifiersData[r] = z;
39968
39968
  }
39969
39969
  }
39970
39970
  const vte = {
@@ -40776,32 +40776,32 @@ var Mk = {};
40776
40776
  N.setInput(f, k.yy), k.yy.lexer = N, k.yy.parser = this, typeof N.yylloc > "u" && (N.yylloc = {});
40777
40777
  var V = N.yylloc;
40778
40778
  y.push(V);
40779
- var G = N.options && N.options.ranges;
40779
+ var z = N.options && N.options.ranges;
40780
40780
  typeof k.yy.parseError == "function" ? this.parseError = k.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
40781
40781
  for (var Z = function() {
40782
40782
  var W;
40783
40783
  return W = N.lex() || A, typeof W != "number" && (W = m.symbols_[W] || W), W;
40784
- }, _, L, Y, ie, H = {}, F, D, z, j; ; ) {
40785
- if (L = g[g.length - 1], this.defaultActions[L] ? Y = this.defaultActions[L] : ((_ === null || typeof _ > "u") && (_ = Z()), Y = w[L] && w[L][_]), typeof Y > "u" || !Y.length || !Y[0]) {
40786
- var U = "";
40784
+ }, U, L, Y, ie, H = {}, F, D, G, j; ; ) {
40785
+ if (L = g[g.length - 1], this.defaultActions[L] ? Y = this.defaultActions[L] : ((U === null || typeof U > "u") && (U = Z()), Y = w[L] && w[L][U]), typeof Y > "u" || !Y.length || !Y[0]) {
40786
+ var _ = "";
40787
40787
  j = [];
40788
40788
  for (F in w[L])
40789
40789
  this.terminals_[F] && F > C && j.push("'" + this.terminals_[F] + "'");
40790
- N.showPosition ? U = "Parse error on line " + (b + 1) + `:
40790
+ N.showPosition ? _ = "Parse error on line " + (b + 1) + `:
40791
40791
  ` + N.showPosition() + `
40792
- Expecting ` + j.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : U = "Parse error on line " + (b + 1) + ": Unexpected " + (_ == A ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(U, {
40792
+ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[U] || U) + "'" : _ = "Parse error on line " + (b + 1) + ": Unexpected " + (U == A ? "end of input" : "'" + (this.terminals_[U] || U) + "'"), this.parseError(_, {
40793
40793
  text: N.match,
40794
- token: this.terminals_[_] || _,
40794
+ token: this.terminals_[U] || U,
40795
40795
  line: N.yylineno,
40796
40796
  loc: V,
40797
40797
  expected: j
40798
40798
  });
40799
40799
  }
40800
40800
  if (Y[0] instanceof Array && Y.length > 1)
40801
- throw new Error("Parse Error: multiple actions possible at state: " + L + ", token: " + _);
40801
+ throw new Error("Parse Error: multiple actions possible at state: " + L + ", token: " + U);
40802
40802
  switch (Y[0]) {
40803
40803
  case 1:
40804
- g.push(_), v.push(N.yytext), y.push(N.yylloc), g.push(Y[1]), _ = null, x = N.yyleng, O = N.yytext, b = N.yylineno, V = N.yylloc;
40804
+ g.push(U), v.push(N.yytext), y.push(N.yylloc), g.push(Y[1]), U = null, x = N.yyleng, O = N.yytext, b = N.yylineno, V = N.yylloc;
40805
40805
  break;
40806
40806
  case 2:
40807
40807
  if (D = this.productions_[Y[1]][1], H.$ = v[v.length - D], H._$ = {
@@ -40809,7 +40809,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : U = "
40809
40809
  last_line: y[y.length - 1].last_line,
40810
40810
  first_column: y[y.length - (D || 1)].first_column,
40811
40811
  last_column: y[y.length - 1].last_column
40812
- }, G && (H._$.range = [
40812
+ }, z && (H._$.range = [
40813
40813
  y[y.length - (D || 1)].range[0],
40814
40814
  y[y.length - 1].range[1]
40815
40815
  ]), ie = this.performAction.apply(H, [
@@ -40822,7 +40822,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : U = "
40822
40822
  y
40823
40823
  ].concat(R)), typeof ie < "u")
40824
40824
  return ie;
40825
- D && (g = g.slice(0, -1 * D * 2), v = v.slice(0, -1 * D), y = y.slice(0, -1 * D)), g.push(this.productions_[Y[1]][0]), v.push(H.$), y.push(H._$), z = w[g[g.length - 2]][g[g.length - 1]], g.push(z);
40825
+ D && (g = g.slice(0, -1 * D * 2), v = v.slice(0, -1 * D), y = y.slice(0, -1 * D)), g.push(this.productions_[Y[1]][0]), v.push(H.$), y.push(H._$), G = w[g[g.length - 2]][g[g.length - 1]], g.push(G);
40826
40826
  break;
40827
40827
  case 3:
40828
40828
  return !0;
@@ -41903,10 +41903,10 @@ const gx = /* @__PURE__ */ B.forwardRef(function(t, n) {
41903
41903
  const k = x.scrollHeight;
41904
41904
  let T = N;
41905
41905
  i && (T = Math.max(Number(i) * k, T)), o && (T = Math.min(Number(o) * k, T)), T = Math.max(T, k);
41906
- const V = T + (C === "border-box" ? A + R : 0), G = Math.abs(T - N) <= 1;
41906
+ const V = T + (C === "border-box" ? A + R : 0), z = Math.abs(T - N) <= 1;
41907
41907
  return {
41908
41908
  outerHeightStyle: V,
41909
- overflowing: G
41909
+ overflowing: z
41910
41910
  };
41911
41911
  }, [o, i, t.placeholder]), v = B.useCallback(() => {
41912
41912
  const w = g();
@@ -42198,17 +42198,17 @@ function Lne() {
42198
42198
  }
42199
42199
  }
42200
42200
  }
42201
- var A = s, R = i, N = e, k = l, T = n, V = f, G = p, Z = t, _ = o, L = r, Y = u, ie = c, H = !1, F = !1;
42201
+ var A = s, R = i, N = e, k = l, T = n, V = f, z = p, Z = t, U = o, L = r, Y = u, ie = c, H = !1, F = !1;
42202
42202
  function D(ee) {
42203
42203
  return H || (H = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
42204
42204
  }
42205
- function z(ee) {
42205
+ function G(ee) {
42206
42206
  return F || (F = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
42207
42207
  }
42208
42208
  function j(ee) {
42209
42209
  return C(ee) === s;
42210
42210
  }
42211
- function U(ee) {
42211
+ function _(ee) {
42212
42212
  return C(ee) === i;
42213
42213
  }
42214
42214
  function W(ee) {
@@ -42220,7 +42220,7 @@ function Lne() {
42220
42220
  function X(ee) {
42221
42221
  return C(ee) === n;
42222
42222
  }
42223
- function oe(ee) {
42223
+ function re(ee) {
42224
42224
  return C(ee) === f;
42225
42225
  }
42226
42226
  function J(ee) {
@@ -42229,7 +42229,7 @@ function Lne() {
42229
42229
  function ne(ee) {
42230
42230
  return C(ee) === t;
42231
42231
  }
42232
- function re(ee) {
42232
+ function oe(ee) {
42233
42233
  return C(ee) === o;
42234
42234
  }
42235
42235
  function le(ee) {
@@ -42241,7 +42241,7 @@ function Lne() {
42241
42241
  function Ie(ee) {
42242
42242
  return C(ee) === c;
42243
42243
  }
42244
- Gt.ContextConsumer = A, Gt.ContextProvider = R, Gt.Element = N, Gt.ForwardRef = k, Gt.Fragment = T, Gt.Lazy = V, Gt.Memo = G, Gt.Portal = Z, Gt.Profiler = _, Gt.StrictMode = L, Gt.Suspense = Y, Gt.SuspenseList = ie, Gt.isAsyncMode = D, Gt.isConcurrentMode = z, Gt.isContextConsumer = j, Gt.isContextProvider = U, Gt.isElement = W, Gt.isForwardRef = K, Gt.isFragment = X, Gt.isLazy = oe, Gt.isMemo = J, Gt.isPortal = ne, Gt.isProfiler = re, Gt.isStrictMode = le, Gt.isSuspense = te, Gt.isSuspenseList = Ie, Gt.isValidElementType = x, Gt.typeOf = C;
42244
+ Gt.ContextConsumer = A, Gt.ContextProvider = R, Gt.Element = N, Gt.ForwardRef = k, Gt.Fragment = T, Gt.Lazy = V, Gt.Memo = z, Gt.Portal = Z, Gt.Profiler = U, Gt.StrictMode = L, Gt.Suspense = Y, Gt.SuspenseList = ie, Gt.isAsyncMode = D, Gt.isConcurrentMode = G, Gt.isContextConsumer = j, Gt.isContextProvider = _, Gt.isElement = W, Gt.isForwardRef = K, Gt.isFragment = X, Gt.isLazy = re, Gt.isMemo = J, Gt.isPortal = ne, Gt.isProfiler = oe, Gt.isStrictMode = le, Gt.isSuspense = te, Gt.isSuspenseList = Ie, Gt.isValidElementType = x, Gt.typeOf = C;
42245
42245
  }()), Gt;
42246
42246
  }
42247
42247
  I.env.NODE_ENV === "production" ? j1.exports = Dne() : j1.exports = Lne();
@@ -42383,19 +42383,19 @@ const Fne = (e) => {
42383
42383
  ...r,
42384
42384
  orientation: w,
42385
42385
  collapsedSize: a
42386
- }, R = Fne(A), N = fu(), k = Wa(), T = B.useRef(null), V = B.useRef(), G = typeof a == "number" ? `${a}px` : a, Z = w === "horizontal", _ = Z ? "width" : "height", L = B.useRef(null), Y = Mn(n, L), ie = (X) => (oe) => {
42386
+ }, R = Fne(A), N = fu(), k = Wa(), T = B.useRef(null), V = B.useRef(), z = typeof a == "number" ? `${a}px` : a, Z = w === "horizontal", U = Z ? "width" : "height", L = B.useRef(null), Y = Mn(n, L), ie = (X) => (re) => {
42387
42387
  if (X) {
42388
42388
  const J = L.current;
42389
- oe === void 0 ? X(J) : X(J, oe);
42389
+ re === void 0 ? X(J) : X(J, re);
42390
42390
  }
42391
- }, H = () => T.current ? T.current[Z ? "clientWidth" : "clientHeight"] : 0, F = ie((X, oe) => {
42392
- T.current && Z && (T.current.style.position = "absolute"), X.style[_] = G, p && p(X, oe);
42393
- }), D = ie((X, oe) => {
42391
+ }, H = () => T.current ? T.current[Z ? "clientWidth" : "clientHeight"] : 0, F = ie((X, re) => {
42392
+ T.current && Z && (T.current.style.position = "absolute"), X.style[U] = z, p && p(X, re);
42393
+ }), D = ie((X, re) => {
42394
42394
  const J = H();
42395
42395
  T.current && Z && (T.current.style.position = "");
42396
42396
  const {
42397
42397
  duration: ne,
42398
- easing: re
42398
+ easing: oe
42399
42399
  } = iu({
42400
42400
  style: O,
42401
42401
  timeout: b,
@@ -42408,13 +42408,13 @@ const Fne = (e) => {
42408
42408
  X.style.transitionDuration = `${le}ms`, V.current = le;
42409
42409
  } else
42410
42410
  X.style.transitionDuration = typeof ne == "string" ? ne : `${ne}ms`;
42411
- X.style[_] = `${J}px`, X.style.transitionTimingFunction = re, m && m(X, oe);
42412
- }), z = ie((X, oe) => {
42413
- X.style[_] = "auto", f && f(X, oe);
42411
+ X.style[U] = `${J}px`, X.style.transitionTimingFunction = oe, m && m(X, re);
42412
+ }), G = ie((X, re) => {
42413
+ X.style[U] = "auto", f && f(X, re);
42414
42414
  }), j = ie((X) => {
42415
- X.style[_] = `${H()}px`, g && g(X);
42416
- }), U = ie(v), W = ie((X) => {
42417
- const oe = H(), {
42415
+ X.style[U] = `${H()}px`, g && g(X);
42416
+ }), _ = ie(v), W = ie((X) => {
42417
+ const re = H(), {
42418
42418
  duration: J,
42419
42419
  easing: ne
42420
42420
  } = iu({
@@ -42425,38 +42425,38 @@ const Fne = (e) => {
42425
42425
  mode: "exit"
42426
42426
  });
42427
42427
  if (b === "auto") {
42428
- const re = N.transitions.getAutoHeightDuration(oe);
42429
- X.style.transitionDuration = `${re}ms`, V.current = re;
42428
+ const oe = N.transitions.getAutoHeightDuration(re);
42429
+ X.style.transitionDuration = `${oe}ms`, V.current = oe;
42430
42430
  } else
42431
42431
  X.style.transitionDuration = typeof J == "string" ? J : `${J}ms`;
42432
- X.style[_] = G, X.style.transitionTimingFunction = ne, y && y(X);
42432
+ X.style[U] = z, X.style.transitionTimingFunction = ne, y && y(X);
42433
42433
  }), K = (X) => {
42434
42434
  b === "auto" && k.start(V.current || 0, X), o && o(L.current, X);
42435
42435
  };
42436
42436
  return /* @__PURE__ */ h.jsx(x, {
42437
42437
  in: c,
42438
42438
  onEnter: F,
42439
- onEntered: z,
42439
+ onEntered: G,
42440
42440
  onEntering: D,
42441
42441
  onExit: j,
42442
- onExited: U,
42442
+ onExited: _,
42443
42443
  onExiting: W,
42444
42444
  addEndListener: K,
42445
42445
  nodeRef: L,
42446
42446
  timeout: b === "auto" ? null : b,
42447
42447
  ...C,
42448
- children: (X, oe) => /* @__PURE__ */ h.jsx(Vne, {
42448
+ children: (X, re) => /* @__PURE__ */ h.jsx(Vne, {
42449
42449
  as: l,
42450
42450
  className: Je(R.root, s, {
42451
42451
  entered: R.entered,
42452
- exited: !c && G === "0px" && R.hidden
42452
+ exited: !c && z === "0px" && R.hidden
42453
42453
  }[X]),
42454
42454
  style: {
42455
- [Z ? "minWidth" : "minHeight"]: G,
42455
+ [Z ? "minWidth" : "minHeight"]: z,
42456
42456
  ...O
42457
42457
  },
42458
42458
  ref: Y,
42459
- ...oe,
42459
+ ...re,
42460
42460
  // `ownerState` is set after `childProps` to override any existing `ownerState` property in `childProps`
42461
42461
  // that might have been forwarded from the Transition component.
42462
42462
  ownerState: {
@@ -42744,7 +42744,7 @@ const qne = (e) => {
42744
42744
  placement: R
42745
42745
  };
42746
42746
  g !== null && (V.TransitionProps = g);
42747
- const G = qne(t), Z = m.root ?? "div", _ = al({
42747
+ const z = qne(t), Z = m.root ?? "div", U = al({
42748
42748
  elementType: Z,
42749
42749
  externalSlotProps: f.root,
42750
42750
  externalForwardedProps: y,
@@ -42753,10 +42753,10 @@ const qne = (e) => {
42753
42753
  ref: O
42754
42754
  },
42755
42755
  ownerState: t,
42756
- className: G.root
42756
+ className: z.root
42757
42757
  });
42758
42758
  return /* @__PURE__ */ h.jsx(Z, {
42759
- ..._,
42759
+ ...U,
42760
42760
  children: typeof o == "function" ? o(V) : o
42761
42761
  });
42762
42762
  }), zk = /* @__PURE__ */ B.forwardRef(function(t, n) {
@@ -43381,27 +43381,27 @@ const qk = (e, t) => {
43381
43381
  name: k,
43382
43382
  onBlur: T,
43383
43383
  onChange: V,
43384
- onClick: G,
43384
+ onClick: z,
43385
43385
  onFocus: Z,
43386
- onKeyDown: _,
43386
+ onKeyDown: U,
43387
43387
  onKeyUp: L,
43388
43388
  placeholder: Y,
43389
43389
  readOnly: ie,
43390
43390
  renderSuffix: H,
43391
43391
  rows: F,
43392
43392
  size: D,
43393
- slotProps: z = {},
43393
+ slotProps: G = {},
43394
43394
  slots: j = {},
43395
- startAdornment: U,
43395
+ startAdornment: _,
43396
43396
  type: W = "text",
43397
43397
  value: K,
43398
43398
  ...X
43399
- } = r, oe = b.value != null ? b.value : K, {
43399
+ } = r, re = b.value != null ? b.value : K, {
43400
43400
  current: J
43401
- } = B.useRef(oe != null), ne = B.useRef(), re = B.useCallback((S) => {
43401
+ } = B.useRef(re != null), ne = B.useRef(), oe = B.useCallback((S) => {
43402
43402
  I.env.NODE_ENV !== "production" && S && S.nodeName !== "INPUT" && !S.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
43403
43403
  `));
43404
- }, []), le = Mn(ne, x, b.ref, re), [te, Ie] = B.useState(!1), ee = Fl();
43404
+ }, []), le = Mn(ne, x, b.ref, oe), [te, Ie] = B.useState(!1), ee = Fl();
43405
43405
  I.env.NODE_ENV !== "production" && B.useEffect(() => {
43406
43406
  if (ee)
43407
43407
  return ee.registerEffect();
@@ -43419,9 +43419,9 @@ const qk = (e, t) => {
43419
43419
  }, [he, Re]);
43420
43420
  Hi(() => {
43421
43421
  J && De({
43422
- value: oe
43422
+ value: re
43423
43423
  });
43424
- }, [oe, De, J]);
43424
+ }, [re, De, J]);
43425
43425
  const Xe = (S) => {
43426
43426
  Z && Z(S), b.onFocus && b.onFocus(S), ee && ee.onFocus ? ee.onFocus(S) : Ie(!0);
43427
43427
  }, Ge = (S) => {
@@ -43441,7 +43441,7 @@ const qk = (e, t) => {
43441
43441
  De(ne.current);
43442
43442
  }, []);
43443
43443
  const bt = (S) => {
43444
- ne.current && S.currentTarget === S.target && ne.current.focus(), G && G(S);
43444
+ ne.current && S.currentTarget === S.target && ne.current.focus(), z && z(S);
43445
43445
  };
43446
43446
  let ke = O, ce = b;
43447
43447
  N && ke === "input" && (F ? (I.env.NODE_ENV !== "production" && (R || A) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), ce = {
@@ -43461,8 +43461,8 @@ const qk = (e, t) => {
43461
43461
  });
43462
43462
  };
43463
43463
  B.useEffect(() => {
43464
- ee && ee.setAdornedStart(!!U);
43465
- }, [ee, U]);
43464
+ ee && ee.setAdornedStart(!!_);
43465
+ }, [ee, _]);
43466
43466
  const Pe = {
43467
43467
  ...r,
43468
43468
  color: Ee.color || "primary",
@@ -43475,12 +43475,12 @@ const qk = (e, t) => {
43475
43475
  hiddenLabel: Ee.hiddenLabel,
43476
43476
  multiline: N,
43477
43477
  size: Ee.size,
43478
- startAdornment: U,
43478
+ startAdornment: _,
43479
43479
  type: W
43480
- }, Ce = Qne(Pe), ye = j.root || u.Root || Jk, qe = z.root || c.root || {}, P = j.input || u.Input || Kk;
43480
+ }, Ce = Qne(Pe), ye = j.root || u.Root || Jk, qe = G.root || c.root || {}, P = j.input || u.Input || Kk;
43481
43481
  return ce = {
43482
43482
  ...ce,
43483
- ...z.input ?? c.input
43483
+ ...G.input ?? c.input
43484
43484
  }, /* @__PURE__ */ h.jsxs(B.Fragment, {
43485
43485
  children: [!m && typeof mT == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
43486
43486
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
@@ -43496,7 +43496,7 @@ const qk = (e, t) => {
43496
43496
  }
43497
43497
  },
43498
43498
  className: Je(Ce.root, qe.className, a, ie && "MuiInputBase-readOnly"),
43499
- children: [U, /* @__PURE__ */ h.jsx(rp.Provider, {
43499
+ children: [_, /* @__PURE__ */ h.jsx(rp.Provider, {
43500
43500
  value: null,
43501
43501
  children: /* @__PURE__ */ h.jsx(P, {
43502
43502
  "aria-invalid": Ee.error,
@@ -43512,8 +43512,8 @@ const qk = (e, t) => {
43512
43512
  readOnly: ie,
43513
43513
  required: Ee.required,
43514
43514
  rows: F,
43515
- value: oe,
43516
- onKeyDown: _,
43515
+ value: re,
43516
+ onKeyDown: U,
43517
43517
  onKeyUp: L,
43518
43518
  type: W,
43519
43519
  ...ce,
@@ -43532,7 +43532,7 @@ const qk = (e, t) => {
43532
43532
  })
43533
43533
  }), g, H ? H({
43534
43534
  ...Ee,
43535
- startAdornment: U
43535
+ startAdornment: _
43536
43536
  }) : null]
43537
43537
  })]
43538
43538
  });
@@ -43799,13 +43799,13 @@ const Qu = {
43799
43799
  // eslint-disable-next-line react/prop-types
43800
43800
  TransitionComponent: O = gi,
43801
43801
  ...b
43802
- } = t, x = B.useRef(null), C = Mn(x, Tf(a), n), A = (_) => (L) => {
43803
- if (_) {
43802
+ } = t, x = B.useRef(null), C = Mn(x, Tf(a), n), A = (U) => (L) => {
43803
+ if (U) {
43804
43804
  const Y = x.current;
43805
- L === void 0 ? _(Y) : _(Y, L);
43805
+ L === void 0 ? U(Y) : U(Y, L);
43806
43806
  }
43807
- }, R = A(f), N = A((_, L) => {
43808
- Gk(_);
43807
+ }, R = A(f), N = A((U, L) => {
43808
+ Gk(U);
43809
43809
  const Y = iu({
43810
43810
  style: y,
43811
43811
  timeout: w,
@@ -43813,8 +43813,8 @@ const Qu = {
43813
43813
  }, {
43814
43814
  mode: "enter"
43815
43815
  });
43816
- _.style.webkitTransition = r.transitions.create("opacity", Y), _.style.transition = r.transitions.create("opacity", Y), c && c(_, L);
43817
- }), k = A(p), T = A(v), V = A((_) => {
43816
+ U.style.webkitTransition = r.transitions.create("opacity", Y), U.style.transition = r.transitions.create("opacity", Y), c && c(U, L);
43817
+ }), k = A(p), T = A(v), V = A((U) => {
43818
43818
  const L = iu({
43819
43819
  style: y,
43820
43820
  timeout: w,
@@ -43822,9 +43822,9 @@ const Qu = {
43822
43822
  }, {
43823
43823
  mode: "exit"
43824
43824
  });
43825
- _.style.webkitTransition = r.transitions.create("opacity", L), _.style.transition = r.transitions.create("opacity", L), m && m(_);
43826
- }), G = A(g), Z = (_) => {
43827
- i && i(x.current, _);
43825
+ U.style.webkitTransition = r.transitions.create("opacity", L), U.style.transition = r.transitions.create("opacity", L), m && m(U);
43826
+ }), z = A(g), Z = (U) => {
43827
+ i && i(x.current, U);
43828
43828
  };
43829
43829
  return /* @__PURE__ */ h.jsx(O, {
43830
43830
  appear: s,
@@ -43834,16 +43834,16 @@ const Qu = {
43834
43834
  onEntered: k,
43835
43835
  onEntering: R,
43836
43836
  onExit: V,
43837
- onExited: G,
43837
+ onExited: z,
43838
43838
  onExiting: T,
43839
43839
  addEndListener: Z,
43840
43840
  timeout: w,
43841
43841
  ...b,
43842
- children: (_, L) => /* @__PURE__ */ B.cloneElement(a, {
43842
+ children: (U, L) => /* @__PURE__ */ B.cloneElement(a, {
43843
43843
  style: {
43844
43844
  opacity: 0,
43845
- visibility: _ === "exited" && !u ? "hidden" : void 0,
43846
- ...ere[_],
43845
+ visibility: U === "exited" && !u ? "hidden" : void 0,
43846
+ ...ere[U],
43847
43847
  ...y,
43848
43848
  ...a.props.style
43849
43849
  },
@@ -44407,10 +44407,10 @@ const $k = /* @__PURE__ */ B.forwardRef(function(t, n) {
44407
44407
  badgeContent: v
44408
44408
  }), T = A || C == null && b !== "dot", {
44409
44409
  color: V = f,
44410
- overlap: G = p,
44410
+ overlap: z = p,
44411
44411
  anchorOrigin: Z,
44412
- variant: _ = b
44413
- } = T ? k : r, L = gT(Z), Y = _ !== "dot" ? N : void 0, ie = {
44412
+ variant: U = b
44413
+ } = T ? k : r, L = gT(Z), Y = U !== "dot" ? N : void 0, ie = {
44414
44414
  ...r,
44415
44415
  badgeContent: C,
44416
44416
  invisible: T,
@@ -44419,18 +44419,18 @@ const $k = /* @__PURE__ */ B.forwardRef(function(t, n) {
44419
44419
  showZero: O,
44420
44420
  anchorOrigin: L,
44421
44421
  color: V,
44422
- overlap: G,
44423
- variant: _
44424
- }, H = are(ie), F = (y == null ? void 0 : y.root) ?? l.Root ?? lre, D = (y == null ? void 0 : y.badge) ?? l.Badge ?? cre, z = (w == null ? void 0 : w.root) ?? u.root, j = (w == null ? void 0 : w.badge) ?? u.badge, U = al({
44422
+ overlap: z,
44423
+ variant: U
44424
+ }, H = are(ie), F = (y == null ? void 0 : y.root) ?? l.Root ?? lre, D = (y == null ? void 0 : y.badge) ?? l.Badge ?? cre, G = (w == null ? void 0 : w.root) ?? u.root, j = (w == null ? void 0 : w.badge) ?? u.badge, _ = al({
44425
44425
  elementType: F,
44426
- externalSlotProps: z,
44426
+ externalSlotProps: G,
44427
44427
  externalForwardedProps: x,
44428
44428
  additionalProps: {
44429
44429
  ref: n,
44430
44430
  as: a
44431
44431
  },
44432
44432
  ownerState: ie,
44433
- className: Je(z == null ? void 0 : z.className, H.root, i)
44433
+ className: Je(G == null ? void 0 : G.className, H.root, i)
44434
44434
  }), W = al({
44435
44435
  elementType: D,
44436
44436
  externalSlotProps: j,
@@ -44438,7 +44438,7 @@ const $k = /* @__PURE__ */ B.forwardRef(function(t, n) {
44438
44438
  className: Je(H.badge, j == null ? void 0 : j.className)
44439
44439
  });
44440
44440
  return /* @__PURE__ */ h.jsxs(F, {
44441
- ...U,
44441
+ ..._,
44442
44442
  children: [c, /* @__PURE__ */ h.jsx(D, {
44443
44443
  ...W,
44444
44444
  children: Y
@@ -44983,11 +44983,11 @@ const Ore = (e) => {
44983
44983
  default: !!a,
44984
44984
  name: "SwitchBase",
44985
44985
  state: "checked"
44986
- }), V = Fl(), G = (F) => {
44986
+ }), V = Fl(), z = (F) => {
44987
44987
  O && O(F), V && V.onFocus && V.onFocus(F);
44988
44988
  }, Z = (F) => {
44989
44989
  y && y(F), V && V.onBlur && V.onBlur(F);
44990
- }, _ = (F) => {
44990
+ }, U = (F) => {
44991
44991
  if (F.nativeEvent.defaultPrevented)
44992
44992
  return;
44993
44993
  const D = F.target.checked;
@@ -45010,7 +45010,7 @@ const Ore = (e) => {
45010
45010
  disabled: L,
45011
45011
  tabIndex: null,
45012
45012
  role: void 0,
45013
- onFocus: G,
45013
+ onFocus: z,
45014
45014
  onBlur: Z,
45015
45015
  ownerState: ie,
45016
45016
  ref: n,
@@ -45023,7 +45023,7 @@ const Ore = (e) => {
45023
45023
  disabled: L,
45024
45024
  id: Y ? f : void 0,
45025
45025
  name: v,
45026
- onChange: _,
45026
+ onChange: U,
45027
45027
  readOnly: b,
45028
45028
  ref: g,
45029
45029
  required: x,
@@ -45561,8 +45561,8 @@ function Im(e) {
45561
45561
  return;
45562
45562
  let N = [];
45563
45563
  if ((b.activeElement === u.current || b.activeElement === c.current) && (N = i(g.current)), N.length > 0) {
45564
- const V = !!((k = y.current) != null && k.shiftKey && ((T = y.current) == null ? void 0 : T.key) === "Tab"), G = N[0], Z = N[N.length - 1];
45565
- typeof G != "string" && typeof Z != "string" && (V ? Z.focus() : G.focus());
45564
+ const V = !!((k = y.current) != null && k.shiftKey && ((T = y.current) == null ? void 0 : T.key) === "Tab"), z = N[0], Z = N[N.length - 1];
45565
+ typeof z != "string" && typeof Z != "string" && (V ? Z.focus() : z.focus());
45566
45566
  } else
45567
45567
  R.focus();
45568
45568
  };
@@ -45823,10 +45823,10 @@ const Qre = (e) => {
45823
45823
  onTransitionExited: k,
45824
45824
  open: T,
45825
45825
  slotProps: V = {},
45826
- slots: G = {},
45826
+ slots: z = {},
45827
45827
  // eslint-disable-next-line react/prop-types
45828
45828
  theme: Z,
45829
- ..._
45829
+ ...U
45830
45830
  } = r, L = {
45831
45831
  ...r,
45832
45832
  closeAfterTransition: l,
@@ -45844,15 +45844,15 @@ const Qre = (e) => {
45844
45844
  getTransitionProps: H,
45845
45845
  portalRef: F,
45846
45846
  isTopModal: D,
45847
- exited: z,
45847
+ exited: G,
45848
45848
  hasTransition: j
45849
45849
  } = Xre({
45850
45850
  ...L,
45851
45851
  rootRef: n
45852
- }), U = {
45852
+ }), _ = {
45853
45853
  ...L,
45854
- exited: z
45855
- }, W = Qre(U), K = {};
45854
+ exited: G
45855
+ }, W = Qre(_), K = {};
45856
45856
  if (u.props.tabIndex === void 0 && (K.tabIndex = "-1"), j) {
45857
45857
  const {
45858
45858
  onEnter: te,
@@ -45861,17 +45861,17 @@ const Qre = (e) => {
45861
45861
  K.onEnter = te, K.onExited = Ie;
45862
45862
  }
45863
45863
  const X = {
45864
- ..._,
45864
+ ...U,
45865
45865
  slots: {
45866
45866
  root: f.Root,
45867
45867
  backdrop: f.Backdrop,
45868
- ...G
45868
+ ...z
45869
45869
  },
45870
45870
  slotProps: {
45871
45871
  ...m,
45872
45872
  ...V
45873
45873
  }
45874
- }, [oe, J] = la("root", {
45874
+ }, [re, J] = la("root", {
45875
45875
  elementType: $re,
45876
45876
  externalForwardedProps: X,
45877
45877
  getSlotProps: Y,
@@ -45879,9 +45879,9 @@ const Qre = (e) => {
45879
45879
  ref: n,
45880
45880
  as: p
45881
45881
  },
45882
- ownerState: U,
45883
- className: Je(a, W == null ? void 0 : W.root, !U.open && U.exited && (W == null ? void 0 : W.hidden))
45884
- }), [ne, re] = la("backdrop", {
45882
+ ownerState: _,
45883
+ className: Je(a, W == null ? void 0 : W.root, !_.open && _.exited && (W == null ? void 0 : W.hidden))
45884
+ }), [ne, oe] = la("backdrop", {
45885
45885
  elementType: o,
45886
45886
  externalForwardedProps: X,
45887
45887
  additionalProps: i,
@@ -45892,16 +45892,16 @@ const Qre = (e) => {
45892
45892
  }
45893
45893
  }),
45894
45894
  className: Je(i == null ? void 0 : i.className, W == null ? void 0 : W.backdrop),
45895
- ownerState: U
45896
- }), le = Mn(i == null ? void 0 : i.ref, re.ref);
45897
- return !C && !T && (!j || z) ? null : /* @__PURE__ */ h.jsx(Ol, {
45895
+ ownerState: _
45896
+ }), le = Mn(i == null ? void 0 : i.ref, oe.ref);
45897
+ return !C && !T && (!j || G) ? null : /* @__PURE__ */ h.jsx(Ol, {
45898
45898
  ref: F,
45899
45899
  container: c,
45900
45900
  disablePortal: w,
45901
- children: /* @__PURE__ */ h.jsxs(oe, {
45901
+ children: /* @__PURE__ */ h.jsxs(re, {
45902
45902
  ...J,
45903
45903
  children: [!x && o ? /* @__PURE__ */ h.jsx(ne, {
45904
- ...re,
45904
+ ...oe,
45905
45905
  ref: le
45906
45906
  }) : null, /* @__PURE__ */ h.jsx(Im, {
45907
45907
  disableEnforceFocus: v,
@@ -46183,26 +46183,26 @@ const noe = (e) => {
46183
46183
  size: v,
46184
46184
  variant: y
46185
46185
  }, b = noe(O), [x, C] = B.useState(() => {
46186
- let _ = !1;
46186
+ let U = !1;
46187
46187
  return o && B.Children.forEach(o, (L) => {
46188
46188
  if (!Xv(L, ["Input", "Select"]))
46189
46189
  return;
46190
46190
  const Y = Xv(L, ["Select"]) ? L.props.input : L;
46191
- Y && Xne(Y.props) && (_ = !0);
46192
- }), _;
46191
+ Y && Xne(Y.props) && (U = !0);
46192
+ }), U;
46193
46193
  }), [A, R] = B.useState(() => {
46194
- let _ = !1;
46194
+ let U = !1;
46195
46195
  return o && B.Children.forEach(o, (L) => {
46196
- Xv(L, ["Input", "Select"]) && (D1(L.props, !0) || D1(L.props.inputProps, !0)) && (_ = !0);
46197
- }), _;
46196
+ Xv(L, ["Input", "Select"]) && (D1(L.props, !0) || D1(L.props.inputProps, !0)) && (U = !0);
46197
+ }), U;
46198
46198
  }), [N, k] = B.useState(!1);
46199
46199
  l && N && k(!1);
46200
46200
  const T = c !== void 0 && !l ? c : N;
46201
46201
  let V;
46202
- const G = B.useRef(!1);
46203
- I.env.NODE_ENV !== "production" && (V = () => (G.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
46204
- `)), G.current = !0, () => {
46205
- G.current = !1;
46202
+ const z = B.useRef(!1);
46203
+ I.env.NODE_ENV !== "production" && (V = () => (z.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
46204
+ `)), z.current = !0, () => {
46205
+ z.current = !1;
46206
46206
  }));
46207
46207
  const Z = B.useMemo(() => ({
46208
46208
  adornedStart: x,
@@ -46455,30 +46455,30 @@ const fd = vt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
46455
46455
  ...s,
46456
46456
  ...w
46457
46457
  }
46458
- }, [G, Z] = la("typography", {
46458
+ }, [z, Z] = la("typography", {
46459
46459
  elementType: be,
46460
46460
  externalForwardedProps: V,
46461
46461
  ownerState: k
46462
46462
  });
46463
- let _ = p;
46464
- return _ != null && _.type !== be && !u && (_ = /* @__PURE__ */ h.jsx(G, {
46463
+ let U = p;
46464
+ return U != null && U.type !== be && !u && (U = /* @__PURE__ */ h.jsx(z, {
46465
46465
  component: "span",
46466
46466
  ...Z,
46467
46467
  className: Je(T.label, Z == null ? void 0 : Z.className),
46468
- children: _
46468
+ children: U
46469
46469
  })), /* @__PURE__ */ h.jsxs(soe, {
46470
46470
  className: Je(T.root, i),
46471
46471
  ownerState: k,
46472
46472
  ref: n,
46473
46473
  ...b,
46474
46474
  children: [/* @__PURE__ */ B.cloneElement(a, R), A ? /* @__PURE__ */ h.jsxs("div", {
46475
- children: [_, /* @__PURE__ */ h.jsxs(aoe, {
46475
+ children: [U, /* @__PURE__ */ h.jsxs(aoe, {
46476
46476
  ownerState: k,
46477
46477
  "aria-hidden": !0,
46478
46478
  className: T.asterisk,
46479
46479
  children: [" ", "*"]
46480
46480
  })]
46481
- }) : _]
46481
+ }) : U]
46482
46482
  });
46483
46483
  });
46484
46484
  I.env.NODE_ENV !== "production" && (Qo.propTypes = {
@@ -46872,7 +46872,7 @@ const moe = {
46872
46872
  delay: H,
46873
46873
  easing: F
46874
46874
  })].join(","), l && l(L, Y);
46875
- }), T = R(u), V = R(m), G = R((L) => {
46875
+ }), T = R(u), V = R(m), z = R((L) => {
46876
46876
  const {
46877
46877
  duration: Y,
46878
46878
  delay: ie,
@@ -46893,7 +46893,7 @@ const moe = {
46893
46893
  delay: mb ? ie : ie || F * 0.333,
46894
46894
  easing: H
46895
46895
  })].join(","), L.style.opacity = 0, L.style.transform = L1(0.75), p && p(L);
46896
- }), Z = R(f), _ = (L) => {
46896
+ }), Z = R(f), U = (L) => {
46897
46897
  v === "auto" && O.start(b.current || 0, L), r && r(C.current, L);
46898
46898
  };
46899
46899
  return /* @__PURE__ */ h.jsx(y, {
@@ -46903,10 +46903,10 @@ const moe = {
46903
46903
  onEnter: k,
46904
46904
  onEntered: T,
46905
46905
  onEntering: N,
46906
- onExit: G,
46906
+ onExit: z,
46907
46907
  onExited: Z,
46908
46908
  onExiting: V,
46909
- addEndListener: _,
46909
+ addEndListener: U,
46910
46910
  timeout: v === "auto" ? null : v,
46911
46911
  ...w,
46912
46912
  children: (L, Y) => /* @__PURE__ */ B.cloneElement(i, {
@@ -47697,10 +47697,10 @@ const Eoe = (e) => {
47697
47697
  TransitionComponent: b,
47698
47698
  transitionDuration: x,
47699
47699
  TransitionProps: A
47700
- }, G = Eoe(V), Z = B.useCallback(() => {
47700
+ }, z = Eoe(V), Z = B.useCallback(() => {
47701
47701
  if (l === "anchorPosition")
47702
47702
  return I.env.NODE_ENV !== "production" && (a || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), a;
47703
- const re = Th(i), le = re && re.nodeType === 1 ? re : Lo(T.current).body, te = le.getBoundingClientRect();
47703
+ const oe = Th(i), le = oe && oe.nodeType === 1 ? oe : Lo(T.current).body, te = le.getBoundingClientRect();
47704
47704
  if (I.env.NODE_ENV !== "production") {
47705
47705
  const Ie = le.getBoundingClientRect();
47706
47706
  I.env.NODE_ENV !== "test" && Ie.top === 0 && Ie.left === 0 && Ie.right === 0 && Ie.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
@@ -47710,14 +47710,14 @@ const Eoe = (e) => {
47710
47710
  top: te.top + xT(te, s.vertical),
47711
47711
  left: te.left + ET(te, s.horizontal)
47712
47712
  };
47713
- }, [i, s.horizontal, s.vertical, a, l]), _ = B.useCallback((re) => ({
47714
- vertical: xT(re, O.vertical),
47715
- horizontal: ET(re, O.horizontal)
47716
- }), [O.horizontal, O.vertical]), L = B.useCallback((re) => {
47713
+ }, [i, s.horizontal, s.vertical, a, l]), U = B.useCallback((oe) => ({
47714
+ vertical: xT(oe, O.vertical),
47715
+ horizontal: ET(oe, O.horizontal)
47716
+ }), [O.horizontal, O.vertical]), L = B.useCallback((oe) => {
47717
47717
  const le = {
47718
- width: re.offsetWidth,
47719
- height: re.offsetHeight
47720
- }, te = _(le);
47718
+ width: oe.offsetWidth,
47719
+ height: oe.offsetHeight
47720
+ }, te = U(le);
47721
47721
  if (l === "none")
47722
47722
  return {
47723
47723
  top: null,
@@ -47747,16 +47747,16 @@ const Eoe = (e) => {
47747
47747
  left: `${Math.round(Ee)}px`,
47748
47748
  transformOrigin: CT(te)
47749
47749
  };
47750
- }, [i, l, Z, _, m]), [Y, ie] = B.useState(g), H = B.useCallback(() => {
47751
- const re = T.current;
47752
- if (!re)
47750
+ }, [i, l, Z, U, m]), [Y, ie] = B.useState(g), H = B.useCallback(() => {
47751
+ const oe = T.current;
47752
+ if (!oe)
47753
47753
  return;
47754
- const le = L(re);
47755
- le.top !== null && re.style.setProperty("top", le.top), le.left !== null && (re.style.left = le.left), re.style.transformOrigin = le.transformOrigin, ie(!0);
47754
+ const le = L(oe);
47755
+ le.top !== null && oe.style.setProperty("top", le.top), le.left !== null && (oe.style.left = le.left), oe.style.transformOrigin = le.transformOrigin, ie(!0);
47756
47756
  }, [L]);
47757
47757
  B.useEffect(() => (R && window.addEventListener("scroll", H), () => window.removeEventListener("scroll", H)), [i, R, H]);
47758
- const F = (re, le) => {
47759
- C && C(re, le), H();
47758
+ const F = (oe, le) => {
47759
+ C && C(oe, le), H();
47760
47760
  }, D = () => {
47761
47761
  ie(!1);
47762
47762
  };
@@ -47769,16 +47769,16 @@ const Eoe = (e) => {
47769
47769
  } : null, [g, H]), B.useEffect(() => {
47770
47770
  if (!g)
47771
47771
  return;
47772
- const re = ER(() => {
47772
+ const oe = ER(() => {
47773
47773
  H();
47774
47774
  }), le = Es(i);
47775
- return le.addEventListener("resize", re), () => {
47776
- re.clear(), le.removeEventListener("resize", re);
47775
+ return le.addEventListener("resize", oe), () => {
47776
+ oe.clear(), le.removeEventListener("resize", oe);
47777
47777
  };
47778
47778
  }, [i, g, H]);
47779
- let z = x;
47780
- x === "auto" && !b.muiSupportAuto && (z = void 0);
47781
- const j = p || (i ? Lo(Th(i)).body : void 0), U = {
47779
+ let G = x;
47780
+ x === "auto" && !b.muiSupportAuto && (G = void 0);
47781
+ const j = p || (i ? Lo(Th(i)).body : void 0), _ = {
47782
47782
  slots: y,
47783
47783
  slotProps: {
47784
47784
  ...w,
@@ -47786,10 +47786,10 @@ const Eoe = (e) => {
47786
47786
  }
47787
47787
  }, [W, K] = la("paper", {
47788
47788
  elementType: cN,
47789
- externalForwardedProps: U,
47789
+ externalForwardedProps: _,
47790
47790
  additionalProps: {
47791
47791
  elevation: f,
47792
- className: Je(G.paper, k == null ? void 0 : k.className),
47792
+ className: Je(z.paper, k == null ? void 0 : k.className),
47793
47793
  style: Y ? k.style : {
47794
47794
  ...k.style,
47795
47795
  opacity: 0
@@ -47797,11 +47797,11 @@ const Eoe = (e) => {
47797
47797
  },
47798
47798
  ownerState: V
47799
47799
  }), [X, {
47800
- slotProps: oe,
47800
+ slotProps: re,
47801
47801
  ...J
47802
47802
  }] = la("root", {
47803
47803
  elementType: Coe,
47804
- externalForwardedProps: U,
47804
+ externalForwardedProps: _,
47805
47805
  additionalProps: {
47806
47806
  slotProps: {
47807
47807
  backdrop: {
@@ -47812,12 +47812,12 @@ const Eoe = (e) => {
47812
47812
  open: g
47813
47813
  },
47814
47814
  ownerState: V,
47815
- className: Je(G.root, c)
47815
+ className: Je(z.root, c)
47816
47816
  }), ne = Mn(T, K.ref);
47817
47817
  return /* @__PURE__ */ h.jsx(X, {
47818
47818
  ...J,
47819
47819
  ...!M1(X) && {
47820
- slotProps: oe,
47820
+ slotProps: re,
47821
47821
  disableScrollLock: R
47822
47822
  },
47823
47823
  ...N,
@@ -47827,7 +47827,7 @@ const Eoe = (e) => {
47827
47827
  in: g,
47828
47828
  onEntering: F,
47829
47829
  onExited: D,
47830
- timeout: z,
47830
+ timeout: G,
47831
47831
  ...A,
47832
47832
  children: /* @__PURE__ */ h.jsx(W, {
47833
47833
  ...K,
@@ -48118,13 +48118,13 @@ const Toe = {
48118
48118
  /* @__PURE__ */ B.isValidElement(Y) && (I.env.NODE_ENV !== "production" && Hk.isFragment(Y) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
48119
48119
  `)), Y.props.disabled || (y === "selectedMenu" && Y.props.selected || V === -1) && (V = ie));
48120
48120
  });
48121
- const G = w.paper ?? Ioe, Z = O.paper ?? p, _ = al({
48121
+ const z = w.paper ?? Ioe, Z = O.paper ?? p, U = al({
48122
48122
  elementType: w.root,
48123
48123
  externalSlotProps: O.root,
48124
48124
  ownerState: C,
48125
48125
  className: [A.root, s]
48126
48126
  }), L = al({
48127
- elementType: G,
48127
+ elementType: z,
48128
48128
  externalSlotProps: Z,
48129
48129
  ownerState: C,
48130
48130
  className: A.paper
@@ -48137,11 +48137,11 @@ const Toe = {
48137
48137
  },
48138
48138
  transformOrigin: x ? Toe : Aoe,
48139
48139
  slots: {
48140
- paper: G,
48140
+ paper: z,
48141
48141
  root: w.root
48142
48142
  },
48143
48143
  slotProps: {
48144
- root: _,
48144
+ root: U,
48145
48145
  paper: L
48146
48146
  },
48147
48147
  open: c,
@@ -49453,20 +49453,20 @@ const hN = /* @__PURE__ */ B.forwardRef(function(t, n) {
49453
49453
  PopperComponent: k,
49454
49454
  PopperProps: T = {},
49455
49455
  slotProps: V = {},
49456
- slots: G = {},
49456
+ slots: z = {},
49457
49457
  title: Z,
49458
- TransitionComponent: _ = su,
49458
+ TransitionComponent: U = su,
49459
49459
  TransitionProps: L,
49460
49460
  ...Y
49461
49461
  } = r, ie = /* @__PURE__ */ B.isValidElement(i) ? i : /* @__PURE__ */ h.jsx("span", {
49462
49462
  children: i
49463
- }), H = fu(), F = Fg(), [D, z] = B.useState(), [j, U] = B.useState(null), W = B.useRef(!1), K = f || w, X = Wa(), oe = Wa(), J = Wa(), ne = Wa(), [re, le] = hw({
49463
+ }), H = fu(), F = Fg(), [D, G] = B.useState(), [j, _] = B.useState(null), W = B.useRef(!1), K = f || w, X = Wa(), re = Wa(), J = Wa(), ne = Wa(), [oe, le] = hw({
49464
49464
  controlled: R,
49465
49465
  default: !1,
49466
49466
  name: "Tooltip",
49467
49467
  state: "open"
49468
49468
  });
49469
- let te = re;
49469
+ let te = oe;
49470
49470
  if (I.env.NODE_ENV !== "production") {
49471
49471
  const {
49472
49472
  current: pt
@@ -49494,17 +49494,17 @@ const hN = /* @__PURE__ */ B.forwardRef(function(t, n) {
49494
49494
  });
49495
49495
  }
49496
49496
  ), De = (pt) => {
49497
- W.current && pt.type !== "touchstart" || (D && D.removeAttribute("title"), oe.clear(), J.clear(), g || zp && v ? oe.start(zp ? v : g, () => {
49497
+ W.current && pt.type !== "touchstart" || (D && D.removeAttribute("title"), re.clear(), J.clear(), g || zp && v ? re.start(zp ? v : g, () => {
49498
49498
  he(pt);
49499
49499
  }) : he(pt));
49500
49500
  }, Xe = (pt) => {
49501
- oe.clear(), J.start(b, () => {
49501
+ re.clear(), J.start(b, () => {
49502
49502
  Re(pt);
49503
49503
  });
49504
49504
  }, [, Ge] = B.useState(!1), ze = (pt) => {
49505
49505
  Dh(pt.target) || (Ge(!1), Xe(pt));
49506
49506
  }, bt = (pt) => {
49507
- D || z(pt.currentTarget), Dh(pt.target) && (Ge(!0), De(pt));
49507
+ D || G(pt.currentTarget), Dh(pt.target) && (Ge(!0), De(pt));
49508
49508
  }, ke = (pt) => {
49509
49509
  W.current = !0;
49510
49510
  const eo = ie.props;
@@ -49528,7 +49528,7 @@ const hN = /* @__PURE__ */ B.forwardRef(function(t, n) {
49528
49528
  document.removeEventListener("keydown", pt);
49529
49529
  };
49530
49530
  }, [Re, te]);
49531
- const Pe = Mn(Tf(ie), z, n);
49531
+ const Pe = Mn(Tf(ie), G, n);
49532
49532
  !Z && Z !== 0 && (te = !1);
49533
49533
  const Ce = B.useRef(), ye = (pt) => {
49534
49534
  const eo = ie.props;
@@ -49578,7 +49578,7 @@ const hN = /* @__PURE__ */ B.forwardRef(function(t, n) {
49578
49578
  placement: N,
49579
49579
  PopperComponentProp: k,
49580
49580
  touch: W.current
49581
- }, se = tie(Q), ue = G.popper ?? a.Popper ?? nie, $e = G.transition ?? a.Transition ?? _ ?? su, jt = G.tooltip ?? a.Tooltip ?? rie, Dt = G.arrow ?? a.Arrow ?? oie, tn = pc(ue, {
49581
+ }, se = tie(Q), ue = z.popper ?? a.Popper ?? nie, $e = z.transition ?? a.Transition ?? U ?? su, jt = z.tooltip ?? a.Tooltip ?? rie, Dt = z.arrow ?? a.Arrow ?? oie, tn = pc(ue, {
49582
49582
  ...T,
49583
49583
  ...V.popper ?? l.popper,
49584
49584
  className: Je(se.popper, T == null ? void 0 : T.className, (fp = V.popper ?? l.popper) == null ? void 0 : fp.className)
@@ -49623,7 +49623,7 @@ const hN = /* @__PURE__ */ B.forwardRef(function(t, n) {
49623
49623
  ...up,
49624
49624
  children: [Z, o ? /* @__PURE__ */ h.jsx(Dt, {
49625
49625
  ...dp,
49626
- ref: U
49626
+ ref: _
49627
49627
  }) : null]
49628
49628
  })
49629
49629
  })
@@ -51847,12 +51847,12 @@ function IN() {
51847
51847
  return lse(n);
51848
51848
  }, [n]), V = _r(function() {
51849
51849
  return ase(n);
51850
- }, [n]), G = _r(function() {
51850
+ }, [n]), z = _r(function() {
51851
51851
  return typeof y == "function" ? y : UT;
51852
51852
  }, [y]), Z = _r(function() {
51853
51853
  return typeof v == "function" ? v : UT;
51854
- }, [v]), _ = an(null), L = an(null), Y = tM(Ese, H1), ie = bb(Y, 2), H = ie[0], F = ie[1], D = H.isFocused, z = H.isFileDialogActive, j = an(typeof window < "u" && window.isSecureContext && w && sse()), U = function() {
51855
- !j.current && z && setTimeout(function() {
51854
+ }, [v]), U = an(null), L = an(null), Y = tM(Ese, H1), ie = bb(Y, 2), H = ie[0], F = ie[1], D = H.isFocused, G = H.isFileDialogActive, j = an(typeof window < "u" && window.isSecureContext && w && sse()), _ = function() {
51855
+ !j.current && G && setTimeout(function() {
51856
51856
  if (L.current) {
51857
51857
  var Se = L.current.files;
51858
51858
  Se.length || (F({
@@ -51862,24 +51862,24 @@ function IN() {
51862
51862
  }, 300);
51863
51863
  };
51864
51864
  it(function() {
51865
- return window.addEventListener("focus", U, !1), function() {
51866
- window.removeEventListener("focus", U, !1);
51865
+ return window.addEventListener("focus", _, !1), function() {
51866
+ window.removeEventListener("focus", _, !1);
51867
51867
  };
51868
- }, [L, z, Z, j]);
51868
+ }, [L, G, Z, j]);
51869
51869
  var W = an([]), K = function(Se) {
51870
- _.current && _.current.contains(Se.target) || (Se.preventDefault(), W.current = []);
51870
+ U.current && U.current.contains(Se.target) || (Se.preventDefault(), W.current = []);
51871
51871
  };
51872
51872
  it(function() {
51873
51873
  return b && (document.addEventListener("dragover", VT, !1), document.addEventListener("drop", K, !1)), function() {
51874
51874
  b && (document.removeEventListener("dragover", VT), document.removeEventListener("drop", K));
51875
51875
  };
51876
- }, [_, b]), it(function() {
51877
- return !r && O && _.current && _.current.focus(), function() {
51876
+ }, [U, b]), it(function() {
51877
+ return !r && O && U.current && U.current.focus(), function() {
51878
51878
  };
51879
- }, [_, O, r]);
51879
+ }, [U, O, r]);
51880
51880
  var X = sn(function(ce) {
51881
51881
  N ? N(ce) : console.error(ce);
51882
- }, [N]), oe = sn(function(ce) {
51882
+ }, [N]), re = sn(function(ce) {
51883
51883
  ce.preventDefault(), ce.persist(), Ge(ce), W.current = [].concat(mse(W.current), [ce.target]), Yp(ce) && Promise.resolve(o(ce)).then(function(Se) {
51884
51884
  if (!(Dm(ce) && !R)) {
51885
51885
  var Pe = Se.length, Ce = Pe > 0 && nse({
@@ -51913,7 +51913,7 @@ function IN() {
51913
51913
  }, [p, R]), ne = sn(function(ce) {
51914
51914
  ce.preventDefault(), ce.persist(), Ge(ce);
51915
51915
  var Se = W.current.filter(function(Ce) {
51916
- return _.current && _.current.contains(Ce);
51916
+ return U.current && U.current.contains(Ce);
51917
51917
  }), Pe = Se.indexOf(ce.target);
51918
51918
  Pe !== -1 && Se.splice(Pe, 1), W.current = Se, !(Se.length > 0) && (F({
51919
51919
  type: "setDraggedFiles",
@@ -51921,7 +51921,7 @@ function IN() {
51921
51921
  isDragAccept: !1,
51922
51922
  isDragReject: !1
51923
51923
  }), Yp(ce) && c && c(ce));
51924
- }, [_, c, R]), re = sn(function(ce, Se) {
51924
+ }, [U, c, R]), oe = sn(function(ce, Se) {
51925
51925
  var Pe = [], Ce = [];
51926
51926
  ce.forEach(function(ye) {
51927
51927
  var qe = CN(ye, T), P = bb(qe, 2), S = P[0], E = P[1], M = ON(ye, s, i), Q = bb(M, 2), se = Q[0], ue = Q[1], $e = k ? k(ye) : null;
@@ -51948,17 +51948,17 @@ function IN() {
51948
51948
  }), f && f(Pe, Ce, Se), Ce.length > 0 && g && g(Ce, Se), Pe.length > 0 && m && m(Pe, Se);
51949
51949
  }, [F, a, T, s, i, l, f, m, g, k]), le = sn(function(ce) {
51950
51950
  ce.preventDefault(), ce.persist(), Ge(ce), W.current = [], Yp(ce) && Promise.resolve(o(ce)).then(function(Se) {
51951
- Dm(ce) && !R || re(Se, ce);
51951
+ Dm(ce) && !R || oe(Se, ce);
51952
51952
  }).catch(function(Se) {
51953
51953
  return X(Se);
51954
51954
  }), F({
51955
51955
  type: "reset"
51956
51956
  });
51957
- }, [o, re, X, R]), te = sn(function() {
51957
+ }, [o, oe, X, R]), te = sn(function() {
51958
51958
  if (j.current) {
51959
51959
  F({
51960
51960
  type: "openDialog"
51961
- }), G();
51961
+ }), z();
51962
51962
  var ce = {
51963
51963
  multiple: a,
51964
51964
  types: V
@@ -51966,7 +51966,7 @@ function IN() {
51966
51966
  window.showOpenFilePicker(ce).then(function(Se) {
51967
51967
  return o(Se);
51968
51968
  }).then(function(Se) {
51969
- re(Se, null), F({
51969
+ oe(Se, null), F({
51970
51970
  type: "closeDialog"
51971
51971
  });
51972
51972
  }).catch(function(Se) {
@@ -51978,10 +51978,10 @@ function IN() {
51978
51978
  }
51979
51979
  L.current && (F({
51980
51980
  type: "openDialog"
51981
- }), G(), L.current.value = null, L.current.click());
51982
- }, [F, G, Z, w, re, X, V, a]), Ie = sn(function(ce) {
51983
- !_.current || !_.current.isEqualNode(ce.target) || (ce.key === " " || ce.key === "Enter" || ce.keyCode === 32 || ce.keyCode === 13) && (ce.preventDefault(), te());
51984
- }, [_, te]), ee = sn(function() {
51981
+ }), z(), L.current.value = null, L.current.click());
51982
+ }, [F, z, Z, w, oe, X, V, a]), Ie = sn(function(ce) {
51983
+ !U.current || !U.current.isEqualNode(ce.target) || (ce.key === " " || ce.key === "Enter" || ce.keyCode === 32 || ce.keyCode === 13) && (ce.preventDefault(), te());
51984
+ }, [U, te]), ee = sn(function() {
51985
51985
  F({
51986
51986
  type: "focus"
51987
51987
  });
@@ -52007,16 +52007,16 @@ function IN() {
52007
52007
  onFocus: De(wi(qe, ee)),
52008
52008
  onBlur: De(wi(P, Ee)),
52009
52009
  onClick: Re(wi(S, he)),
52010
- onDragEnter: Xe(wi(E, oe)),
52010
+ onDragEnter: Xe(wi(E, re)),
52011
52011
  onDragOver: Xe(wi(M, J)),
52012
52012
  onDragLeave: Xe(wi(Q, ne)),
52013
52013
  onDrop: Xe(wi(se, le)),
52014
52014
  role: typeof Ce == "string" && Ce !== "" ? Ce : "presentation"
52015
- }, Pe, _), !r && !C ? {
52015
+ }, Pe, U), !r && !C ? {
52016
52016
  tabIndex: 0
52017
52017
  } : {}), ue);
52018
52018
  };
52019
- }, [_, Ie, ee, Ee, he, oe, J, ne, le, C, A, r]), bt = sn(function(ce) {
52019
+ }, [U, Ie, ee, Ee, he, re, J, ne, le, C, A, r]), bt = sn(function(ce) {
52020
52020
  ce.stopPropagation();
52021
52021
  }, []), ke = _r(function() {
52022
52022
  return function() {
@@ -52038,7 +52038,7 @@ function IN() {
52038
52038
  isFocused: D && !r,
52039
52039
  getRootProps: ze,
52040
52040
  getInputProps: ke,
52041
- rootRef: _,
52041
+ rootRef: U,
52042
52042
  inputRef: L,
52043
52043
  open: Re(te)
52044
52044
  });
@@ -52523,23 +52523,23 @@ const GT = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
52523
52523
  const o = e - 112, i = Math.ceil(o / 20);
52524
52524
  return nI(i, -t + 1, t - 1);
52525
52525
  }, Gse = 3e4, zse = (e, t, n) => (e || !n) && !t ? "sendFile" : n && !e ? "attachmentsDisabled" : "sendOrDiscard", qse = st((e) => {
52526
- var te, Ie, ee, Ee;
52526
+ var le, te, Ie, ee, Ee;
52527
52527
  const t = In(), n = ot(), {
52528
52528
  channelId: r,
52529
52529
  isModerator: o,
52530
52530
  externalId: i
52531
- } = e, [s, a] = Ze(""), [l, u] = Ze(!1), [c, p] = Ze(!1), [f, m] = Ze(!1), [g, v] = Ze(null), [y, w] = Ze(12), { openFileDialog: O, acceptedFile: b, resetAcceptedFile: x, setAcceptedFile: C } = iw(kN), [A, R] = Ze(!1), { enqueueSnackbar: N } = xa(), k = an(), T = !s.trim().length, V = b || g, { ui: G } = n, Z = G.isMobile ? Vse() : Fse(), _ = T && !V, L = (o || !((te = n.currentChannel) != null && te.settings.moderatorAttachmentsOnly)) && !V, Y = () => {
52532
- x(), v(null);
52533
- }, ie = (he) => {
52531
+ } = e, [s, a] = Ze(""), [l, u] = Ze(!1), [c, p] = Ze(!1), [f, m] = Ze(null), [g, v] = Ze(12), { openFileDialog: y, acceptedFile: w, resetAcceptedFile: O, setAcceptedFile: b } = iw(kN), [x, C] = Ze(!1), { enqueueSnackbar: A } = xa(), R = an(), N = !s.trim().length, k = w || f, { ui: T } = n, V = T.isMobile ? Vse() : Fse(), z = N && !k, Z = (o || !((le = n.currentChannel) != null && le.settings.moderatorAttachmentsOnly)) && !k, U = l || z || ((te = n.currentChannel) == null ? void 0 : te.isSubmitDelayed), L = () => {
52532
+ O(), m(null);
52533
+ }, Y = (he) => {
52534
52534
  a(he.target.value);
52535
- }, H = (he) => {
52535
+ }, ie = (he) => {
52536
52536
  var Re;
52537
52537
  if (Rn.isAxiosError(he) && he.toJSON().status === 429) {
52538
52538
  (Re = n.currentChannel) == null || Re.setIsSubmitDelayed(!0);
52539
52539
  return;
52540
52540
  }
52541
- N(Ts(he));
52542
- }, F = (he) => {
52541
+ A(Ts(he));
52542
+ }, H = (he) => {
52543
52543
  Yn.emit(Nn.App, {
52544
52544
  event: jn.SendMessageEnd,
52545
52545
  data: {
@@ -52547,7 +52547,7 @@ const GT = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
52547
52547
  ...he
52548
52548
  }
52549
52549
  });
52550
- }, D = (he) => {
52550
+ }, F = (he) => {
52551
52551
  Yn.emit(Nn.App, {
52552
52552
  event: jn.SendMessageError,
52553
52553
  data: {
@@ -52555,25 +52555,25 @@ const GT = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
52555
52555
  ...he
52556
52556
  }
52557
52557
  });
52558
- }, z = (he, Re) => {
52558
+ }, D = (he, Re) => {
52559
52559
  if (!he)
52560
52560
  return !1;
52561
52561
  let De = !1;
52562
52562
  const Xe = window.setTimeout(() => {
52563
- De || (De = !0, D({ reason: "message_watch_timeout", ...Re }));
52563
+ De || (De = !0, F({ reason: "message_watch_timeout", ...Re }));
52564
52564
  }, Gse);
52565
52565
  return Yn.emit(Nn.App, {
52566
52566
  event: jn.WatchMessage,
52567
52567
  data: {
52568
52568
  id: he,
52569
52569
  callback: () => {
52570
- De || (De = !0, window.clearTimeout(Xe), F(Re));
52570
+ De || (De = !0, window.clearTimeout(Xe), H(Re));
52571
52571
  }
52572
52572
  }
52573
52573
  }), !0;
52574
- }, j = async () => {
52574
+ }, G = async () => {
52575
52575
  var Ge, ze, bt, ke;
52576
- if (_ || !n.currentChannel || ((Ge = n.currentChannel) == null || Ge.setSubmitAttemptTime(Date.now()), (ze = n.currentChannel) != null && ze.isSubmitDelayed))
52576
+ if (z || !n.currentChannel || ((Ge = n.currentChannel) == null || Ge.setSubmitAttemptTime(Date.now()), (ze = n.currentChannel) != null && ze.isSubmitDelayed))
52577
52577
  return;
52578
52578
  Yn.emit(Nn.App, {
52579
52579
  event: jn.SendMessageBegin,
@@ -52583,9 +52583,9 @@ const GT = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
52583
52583
  });
52584
52584
  const { settings: he, drafts: Re, type: De } = n.currentChannel, Xe = De === Sn.Direct;
52585
52585
  try {
52586
- if (u(!0), V) {
52586
+ if (u(!0), k) {
52587
52587
  const ce = await NJ({
52588
- files: [V],
52588
+ files: [k],
52589
52589
  drafts: Re,
52590
52590
  message: s,
52591
52591
  externalId: i,
@@ -52594,27 +52594,27 @@ const GT = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
52594
52594
  await bI({
52595
52595
  draft: ce,
52596
52596
  drafts: Re
52597
- }), F({ withFile: !0 }), Y();
52597
+ }), H({ withFile: !0 }), L();
52598
52598
  } else {
52599
52599
  const ce = await AJ(n, r, s, Xe);
52600
- z(ce == null ? void 0 : ce.id) || D({ reason: "message_send_failed" });
52600
+ D(ce == null ? void 0 : ce.id) || F({ reason: "message_send_failed" });
52601
52601
  }
52602
52602
  (bt = n.currentChannel) == null || bt.setIsSubmitDelayed(!o && !!(he != null && he.slowModeInSecs)), a("");
52603
52603
  } catch (ce) {
52604
- H(ce), D();
52604
+ ie(ce), F();
52605
52605
  } finally {
52606
- u(!1), (ke = k == null ? void 0 : k.current) == null || ke.focus();
52606
+ u(!1), (ke = R == null ? void 0 : R.current) == null || ke.focus();
52607
52607
  }
52608
- }, U = (he) => {
52609
- m(!1), p(!1), fJ(r, he);
52608
+ }, j = (he) => {
52609
+ p(!1), fJ(r, he);
52610
+ }, _ = () => {
52611
+ p((he) => !he);
52610
52612
  }, W = () => {
52611
- m((he) => !he);
52612
- }, K = () => {
52613
52613
  var he;
52614
52614
  (he = n.currentChannel) == null || he.setIsSubmitDelayed(!1);
52615
- }, X = () => {
52615
+ }, K = () => {
52616
52616
  if (!n.ui.isMobile) {
52617
- R(!1), O();
52617
+ C(!1), y();
52618
52618
  return;
52619
52619
  }
52620
52620
  const { hostEventBus: he } = n.chat;
@@ -52624,75 +52624,75 @@ const GT = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
52624
52624
  if (!De)
52625
52625
  return;
52626
52626
  const Xe = document.getElementById(De), Ge = (ze = Xe == null ? void 0 : Xe.files) == null ? void 0 : ze[0];
52627
- Ge && (v(Ge), he.emit(tf.FileAccepted));
52627
+ Ge && (m(Ge), he.emit(tf.FileAccepted));
52628
52628
  }), he.emit(tf.OpenFileSelectMenu));
52629
- }, oe = () => {
52630
- Y();
52629
+ }, X = () => {
52630
+ L();
52631
+ }, re = (he) => {
52632
+ he.key === "Enter" && !he.shiftKey && (he.preventDefault(), he.stopPropagation(), G());
52631
52633
  }, J = (he) => {
52632
- he.key === "Enter" && !he.shiftKey && (he.preventDefault(), he.stopPropagation(), j());
52633
- }, ne = (he) => {
52634
52634
  try {
52635
52635
  const { files: Re } = he.clipboardData;
52636
- if (Re.length === 0 || !L) return;
52636
+ if (Re.length === 0 || !Z) return;
52637
52637
  const De = Re[0];
52638
- he.preventDefault(), C(De);
52638
+ he.preventDefault(), b(De);
52639
52639
  } catch {
52640
52640
  }
52641
52641
  };
52642
52642
  it(() => {
52643
- if (G.messageListDimensions === null)
52643
+ if (T.messageListDimensions === null)
52644
52644
  return;
52645
- const he = G.messageListDimensions.height, Re = V ? 9 : 12, De = Hse(he, Re);
52646
- w((Xe) => nI(Xe + De, 1, Re));
52647
- }, [G.messageListDimensions]);
52648
- const re = an(null), le = () => {
52645
+ const he = T.messageListDimensions.height, Re = k ? 9 : 12, De = Hse(he, Re);
52646
+ v((Xe) => nI(Xe + De, 1, Re));
52647
+ }, [T.messageListDimensions]);
52648
+ const ne = an(null), oe = () => {
52649
52649
  setTimeout(() => {
52650
52650
  var he;
52651
- n.ui.isMobile && ((he = re.current) == null || he.scrollIntoView({ behavior: "smooth" }));
52651
+ n.ui.isMobile && ((he = ne.current) == null || he.scrollIntoView({ behavior: "smooth" }));
52652
52652
  }, 500);
52653
52653
  };
52654
52654
  return /* @__PURE__ */ h.jsx(
52655
52655
  je,
52656
52656
  {
52657
52657
  container: !0,
52658
- className: Z.root,
52658
+ className: V.root,
52659
52659
  "data-qa": "message-input",
52660
- ref: re,
52661
- children: /* @__PURE__ */ h.jsxs("div", { className: Ane(Z.container), children: [
52660
+ ref: ne,
52661
+ children: /* @__PURE__ */ h.jsxs("div", { className: Ane(V.container), children: [
52662
52662
  /* @__PURE__ */ h.jsxs(
52663
52663
  je,
52664
52664
  {
52665
52665
  container: !0,
52666
52666
  wrap: "nowrap",
52667
- className: Z.inputContainer,
52667
+ className: V.inputContainer,
52668
52668
  children: [
52669
52669
  /* @__PURE__ */ h.jsx(
52670
52670
  gx,
52671
52671
  {
52672
- className: Z.input,
52673
- onKeyDown: J,
52674
- onPaste: ne,
52672
+ className: V.input,
52673
+ onKeyDown: re,
52674
+ onPaste: J,
52675
52675
  placeholder: t.formatMessage({ id: "messageInputPlaceholder" }),
52676
52676
  value: s,
52677
- maxRows: y,
52678
- onChange: ie,
52677
+ maxRows: g,
52678
+ onChange: Y,
52679
52679
  disabled: l,
52680
52680
  "data-qa": "input-message",
52681
- ref: k,
52682
- onFocus: le
52681
+ ref: R,
52682
+ onFocus: oe
52683
52683
  }
52684
52684
  ),
52685
- V && /* @__PURE__ */ h.jsx("div", { className: Z.attachedFile, children: /* @__PURE__ */ h.jsx(
52685
+ k && /* @__PURE__ */ h.jsx("div", { className: V.attachedFile, children: /* @__PURE__ */ h.jsx(
52686
52686
  NN,
52687
52687
  {
52688
52688
  attachment: {
52689
- name: V.name,
52690
- size: V.size,
52689
+ name: k.name,
52690
+ size: k.size,
52691
52691
  url: null
52692
52692
  },
52693
52693
  state: hs.selected,
52694
52694
  hasError: !1,
52695
- onAction: oe
52695
+ onAction: X
52696
52696
  }
52697
52697
  ) })
52698
52698
  ]
@@ -52701,37 +52701,37 @@ const GT = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
52701
52701
  ((Ie = n.currentChannel) == null ? void 0 : Ie.isSubmitDelayed) && /* @__PURE__ */ h.jsx(
52702
52702
  Wse,
52703
52703
  {
52704
- onTimeout: K,
52704
+ onTimeout: W,
52705
52705
  submitAttemptTime: n.currentChannel.submitAttemptTime
52706
52706
  }
52707
52707
  ),
52708
- /* @__PURE__ */ h.jsxs(je, { container: !0, wrap: "nowrap", alignItems: "center", className: Z.morePanel, children: [
52708
+ /* @__PURE__ */ h.jsxs(je, { container: !0, wrap: "nowrap", alignItems: "center", className: V.morePanel, children: [
52709
52709
  /* @__PURE__ */ h.jsx(
52710
52710
  zT,
52711
52711
  {
52712
52712
  title: t.formatMessage({
52713
52713
  id: zse(
52714
52714
  o,
52715
- !!V,
52715
+ !!k,
52716
52716
  (ee = n.currentChannel) == null ? void 0 : ee.settings.moderatorAttachmentsOnly
52717
52717
  )
52718
52718
  }),
52719
52719
  placement: "top-start",
52720
52720
  showForDisabled: !0,
52721
- open: A,
52721
+ open: x,
52722
52722
  children: /* @__PURE__ */ h.jsx(
52723
52723
  "span",
52724
52724
  {
52725
- onMouseEnter: () => !G.isMobile && R(!0),
52726
- onMouseLeave: () => !G.isMobile && R(!1),
52725
+ onMouseEnter: () => !T.isMobile && C(!0),
52726
+ onMouseLeave: () => !T.isMobile && C(!1),
52727
52727
  children: /* @__PURE__ */ h.jsx(
52728
52728
  Jn,
52729
52729
  {
52730
- className: Z.button,
52730
+ className: V.button,
52731
52731
  "data-stats": qt.ChatUploadFile,
52732
52732
  "data-qa": "upload-button",
52733
- onClick: X,
52734
- disabled: !L,
52733
+ onClick: K,
52734
+ disabled: !Z,
52735
52735
  children: /* @__PURE__ */ h.jsx(Cie, {})
52736
52736
  }
52737
52737
  )
@@ -52747,10 +52747,10 @@ const GT = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
52747
52747
  children: /* @__PURE__ */ h.jsx(
52748
52748
  Jn,
52749
52749
  {
52750
- className: Z.button,
52750
+ className: V.button,
52751
52751
  "data-stats": qt.ChatSettings,
52752
52752
  "data-qa": "settings-button",
52753
- onClick: W,
52753
+ onClick: _,
52754
52754
  children: /* @__PURE__ */ h.jsx(bie, {})
52755
52755
  }
52756
52756
  )
@@ -52759,17 +52759,17 @@ const GT = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
52759
52759
  /* @__PURE__ */ h.jsx(
52760
52760
  Jn,
52761
52761
  {
52762
- className: Z.sendButton,
52762
+ className: V.sendButton,
52763
52763
  "data-stats": qt.ChatSendMessage,
52764
52764
  "data-qa": "send-button",
52765
- onClick: j,
52766
- disabled: l || _,
52765
+ onClick: G,
52766
+ disabled: U,
52767
52767
  disableRipple: !0,
52768
52768
  children: /* @__PURE__ */ h.jsx(vie, {})
52769
52769
  }
52770
52770
  )
52771
52771
  ] }),
52772
- f && /* @__PURE__ */ h.jsx(Iie, { onClose: U })
52772
+ c && /* @__PURE__ */ h.jsx(Iie, { onClose: j })
52773
52773
  ] })
52774
52774
  }
52775
52775
  );
@@ -53684,9 +53684,9 @@ const gae = {
53684
53684
  const R = A.groupIndices.length > 0, N = [], k = A.lastSize;
53685
53685
  if (R) {
53686
53686
  const T = pf(A.sizeTree, 0);
53687
- let V = 0, G = 0;
53687
+ let V = 0, z = 0;
53688
53688
  for (; V < C; ) {
53689
- const L = A.groupIndices[G], Y = A.groupIndices.length === G + 1 ? 1 / 0 : A.groupIndices[G + 1] - L - 1;
53689
+ const L = A.groupIndices[z], Y = A.groupIndices.length === z + 1 ? 1 / 0 : A.groupIndices[z + 1] - L - 1;
53690
53690
  N.push({
53691
53691
  startIndex: L,
53692
53692
  endIndex: L,
@@ -53695,7 +53695,7 @@ const gae = {
53695
53695
  startIndex: L + 1,
53696
53696
  endIndex: L + 1 + Y - 1,
53697
53697
  size: k
53698
- }), G++, V += Y + 1;
53698
+ }), z++, V += Y + 1;
53699
53699
  }
53700
53700
  const Z = za(A.sizeTree);
53701
53701
  return V !== C && Z.shift(), Z.reduce(
@@ -53722,10 +53722,10 @@ const gae = {
53722
53722
  ).ranges;
53723
53723
  }
53724
53724
  return za(A.sizeTree).reduce(
53725
- (T, { k: V, v: G }) => ({
53725
+ (T, { k: V, v: z }) => ({
53726
53726
  ranges: [...T.ranges, { startIndex: T.prevIndex, endIndex: V + C - 1, size: T.prevSize }],
53727
53727
  prevIndex: V + C,
53728
- prevSize: G
53728
+ prevSize: z
53729
53729
  }),
53730
53730
  {
53731
53731
  ranges: [],
@@ -53757,11 +53757,11 @@ const gae = {
53757
53757
  return A;
53758
53758
  let k = Nc();
53759
53759
  const T = hr(y);
53760
- let V = 0, G = 0, Z = 0;
53760
+ let V = 0, z = 0, Z = 0;
53761
53761
  for (; V < -C; ) {
53762
- Z = T[G];
53763
- const L = T[G + 1] - Z - 1;
53764
- G++, V += L + 1;
53762
+ Z = T[z];
53763
+ const L = T[z + 1] - Z - 1;
53764
+ z++, V += L + 1;
53765
53765
  }
53766
53766
  if (k = za(A.sizeTree).reduce((L, { k: Y, v: ie }) => io(L, Math.max(0, Y + C), ie), k), V !== -C) {
53767
53767
  const L = pf(A.sizeTree, Z);
@@ -53775,7 +53775,7 @@ const gae = {
53775
53775
  ...J1(A.offsetTree, 0, k, R)
53776
53776
  };
53777
53777
  } else {
53778
- const k = za(A.sizeTree).reduce((T, { k: V, v: G }) => io(T, Math.max(0, V + C), G), Nc());
53778
+ const k = za(A.sizeTree).reduce((T, { k: V, v: z }) => io(T, Math.max(0, V + C), z), Nc());
53779
53779
  return {
53780
53780
  ...A,
53781
53781
  sizeTree: k,
@@ -53842,28 +53842,28 @@ const sp = Xt(
53842
53842
  Ue(
53843
53843
  ([
53844
53844
  [x, C, A, R, N, k, T, V],
53845
- G,
53845
+ z,
53846
53846
  Z,
53847
- _
53847
+ U
53848
53848
  ]) => {
53849
53849
  const L = KN(x), { align: Y, behavior: ie, offset: H } = L, F = R - 1, D = YN(L, C, F);
53850
- let z = hf(D, C.offsetTree, G) + k;
53851
- Y === "end" ? (z += Z + fi(C.sizeTree, D)[1] - A + _, D === F && (z += T)) : Y === "center" ? z += (Z + fi(C.sizeTree, D)[1] - A + _) / 2 : z -= N, H && (z += H);
53852
- const j = (U) => {
53853
- b(), U ? (V("retrying to scroll to", { location: x }, go.DEBUG), yt(m, x)) : (yt(g, !0), V("list did not change, scroll successful", {}, go.DEBUG));
53850
+ let G = hf(D, C.offsetTree, z) + k;
53851
+ Y === "end" ? (G += Z + fi(C.sizeTree, D)[1] - A + U, D === F && (G += T)) : Y === "center" ? G += (Z + fi(C.sizeTree, D)[1] - A + U) / 2 : G -= N, H && (G += H);
53852
+ const j = (_) => {
53853
+ b(), _ ? (V("retrying to scroll to", { location: x }, go.DEBUG), yt(m, x)) : (yt(g, !0), V("list did not change, scroll successful", {}, go.DEBUG));
53854
53854
  };
53855
53855
  if (b(), ie === "smooth") {
53856
- let U = !1;
53856
+ let _ = !1;
53857
53857
  O = Kt(n, (W) => {
53858
- U = U || W;
53858
+ _ = _ || W;
53859
53859
  }), y = Qi(a, () => {
53860
- j(U);
53860
+ j(_);
53861
53861
  });
53862
53862
  } else
53863
53863
  y = Qi(Oe(n, yae(150)), j);
53864
53864
  return w = setTimeout(() => {
53865
53865
  b();
53866
- }, 1200), yt(o, !0), V("scrolling from index to", { index: D, top: z, behavior: ie }, go.DEBUG), { top: z, behavior: ie };
53866
+ }, 1200), yt(o, !0), V("scrolling from index to", { index: D, top: G, behavior: ie }, go.DEBUG), { top: G, behavior: ie };
53867
53867
  }
53868
53868
  )
53869
53869
  ),
@@ -53925,11 +53925,11 @@ const mf = "up", Md = "down", bae = "none", wae = {
53925
53925
  scrollHeight: x
53926
53926
  };
53927
53927
  if (k) {
53928
- let G, Z;
53929
- return b > O.state.scrollTop ? (G = "SCROLLED_DOWN", Z = O.state.scrollTop - b) : (G = "SIZE_DECREASED", Z = O.state.scrollTop - b || O.scrollTopDelta), {
53928
+ let z, Z;
53929
+ return b > O.state.scrollTop ? (z = "SCROLLED_DOWN", Z = O.state.scrollTop - b) : (z = "SIZE_DECREASED", Z = O.state.scrollTop - b || O.scrollTopDelta), {
53930
53930
  atBottom: !0,
53931
53931
  state: T,
53932
- atBottomBecause: G,
53932
+ atBottomBecause: z,
53933
53933
  scrollTopDelta: Z
53934
53934
  };
53935
53935
  }
@@ -54388,57 +54388,57 @@ const _l = Xt(
54388
54388
  k,
54389
54389
  T,
54390
54390
  V,
54391
- G,
54391
+ z,
54392
54392
  Z,
54393
- _,
54393
+ U,
54394
54394
  L
54395
54395
  ]) => {
54396
54396
  const Y = k, { sizeTree: ie, offsetTree: H } = Y, F = hr(y);
54397
54397
  if (N === 0)
54398
54398
  return { ...Sb, totalCount: N };
54399
54399
  if (A === 0 && R === 0)
54400
- return F === 0 ? { ...Sb, totalCount: N } : QN(F, T, k, Z, _, L || []);
54400
+ return F === 0 ? { ...Sb, totalCount: N } : QN(F, T, k, Z, U, L || []);
54401
54401
  if (ln(ie))
54402
54402
  return F > 0 ? null : Rh(
54403
54403
  Oae(Ax(T, N), Y, L),
54404
54404
  [],
54405
54405
  N,
54406
- _,
54406
+ U,
54407
54407
  Y,
54408
54408
  Z
54409
54409
  );
54410
54410
  const D = [];
54411
- if (G.length > 0) {
54412
- const K = G[0], X = G[G.length - 1];
54413
- let oe = 0;
54411
+ if (z.length > 0) {
54412
+ const K = z[0], X = z[z.length - 1];
54413
+ let re = 0;
54414
54414
  for (const J of Mv(ie, K, X)) {
54415
- const ne = J.value, re = Math.max(J.start, K), le = Math.min(J.end, X);
54416
- for (let te = re; te <= le; te++)
54417
- D.push({ index: te, size: ne, offset: oe, data: L && L[te] }), oe += ne;
54415
+ const ne = J.value, oe = Math.max(J.start, K), le = Math.min(J.end, X);
54416
+ for (let te = oe; te <= le; te++)
54417
+ D.push({ index: te, size: ne, offset: re, data: L && L[te] }), re += ne;
54418
54418
  }
54419
54419
  }
54420
54420
  if (!V)
54421
- return Rh([], D, N, _, Y, Z);
54422
- const z = G.length > 0 ? G[G.length - 1] + 1 : 0, j = fae(H, A, R, z);
54421
+ return Rh([], D, N, U, Y, Z);
54422
+ const G = z.length > 0 ? z[z.length - 1] + 1 : 0, j = fae(H, A, R, G);
54423
54423
  if (j.length === 0)
54424
54424
  return null;
54425
- const U = N - 1, W = jv([], (K) => {
54425
+ const _ = N - 1, W = jv([], (K) => {
54426
54426
  for (const X of j) {
54427
- const oe = X.value;
54428
- let J = oe.offset, ne = X.start;
54429
- const re = oe.size;
54430
- if (oe.offset < A) {
54431
- ne += Math.floor((A - oe.offset + _) / (re + _));
54427
+ const re = X.value;
54428
+ let J = re.offset, ne = X.start;
54429
+ const oe = re.size;
54430
+ if (re.offset < A) {
54431
+ ne += Math.floor((A - re.offset + U) / (oe + U));
54432
54432
  const te = ne - X.start;
54433
- J += te * re + te * _;
54433
+ J += te * oe + te * U;
54434
54434
  }
54435
- ne < z && (J += (z - ne) * re, ne = z);
54436
- const le = Math.min(X.end, U);
54435
+ ne < G && (J += (G - ne) * oe, ne = G);
54436
+ const le = Math.min(X.end, _);
54437
54437
  for (let te = ne; te <= le && !(J >= R); te++)
54438
- K.push({ index: te, size: re, offset: J, data: L && L[te] }), J += re + _;
54438
+ K.push({ index: te, size: oe, offset: J, data: L && L[te] }), J += oe + U;
54439
54439
  }
54440
54440
  });
54441
- return Rh(W, D, N, _, Y, Z);
54441
+ return Rh(W, D, N, U, Y, Z);
54442
54442
  }
54443
54443
  ),
54444
54444
  //@ts-expect-error filter needs to be fixed
@@ -54766,14 +54766,14 @@ const Rae = tj(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.te
54766
54766
  wt(e, o, t, i, s, a, r),
54767
54767
  wt(n),
54768
54768
  Ue(([[p, f, m, g, v, y, w, O], b]) => {
54769
- const { done: x, behavior: C, align: A, calculateViewLocation: R = Nae, ...N } = p, k = YN(p, f, g - 1), T = hf(k, f.offsetTree, b) + v + y, V = T + fi(f.sizeTree, k)[1], G = O + y, Z = O + m - w, _ = R({
54769
+ const { done: x, behavior: C, align: A, calculateViewLocation: R = Nae, ...N } = p, k = YN(p, f, g - 1), T = hf(k, f.offsetTree, b) + v + y, V = T + fi(f.sizeTree, k)[1], z = O + y, Z = O + m - w, U = R({
54770
54770
  itemTop: T,
54771
54771
  itemBottom: V,
54772
- viewportTop: G,
54772
+ viewportTop: z,
54773
54773
  viewportBottom: Z,
54774
54774
  locationParams: { behavior: C, align: A, ...N }
54775
54775
  });
54776
- return _ ? x && Qi(
54776
+ return U ? x && Qi(
54777
54777
  Oe(
54778
54778
  l,
54779
54779
  rt((L) => L === !1),
@@ -54782,7 +54782,7 @@ const Rae = tj(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.te
54782
54782
  au(hr(l) ? 1 : 2)
54783
54783
  ),
54784
54784
  x
54785
- ) : x && x(), _;
54785
+ ) : x && x(), U;
54786
54786
  }),
54787
54787
  rt((p) => p !== null)
54788
54788
  ),
@@ -55031,7 +55031,7 @@ const Fae = /* @__PURE__ */ Xt(() => {
55031
55031
  Ix("deviation", (L) => {
55032
55032
  O !== L && b(L);
55033
55033
  });
55034
- const x = ut("EmptyPlaceholder"), C = ut("ScrollSeekPlaceholder") || _ae, A = ut("ListComponent"), R = ut("ItemComponent"), N = ut("GroupComponent"), k = ut("computeItemKey"), T = ut("isSeeking"), V = ut("groupIndices").length > 0, G = ut("alignToBottom"), Z = ut("initialItemFinalLocationReached"), _ = t ? {} : {
55034
+ const x = ut("EmptyPlaceholder"), C = ut("ScrollSeekPlaceholder") || _ae, A = ut("ListComponent"), R = ut("ItemComponent"), N = ut("GroupComponent"), k = ut("computeItemKey"), T = ut("isSeeking"), V = ut("groupIndices").length > 0, z = ut("alignToBottom"), Z = ut("initialItemFinalLocationReached"), U = t ? {} : {
55035
55035
  boxSizing: "border-box",
55036
55036
  ...y ? {
55037
55037
  whiteSpace: "nowrap",
@@ -55039,9 +55039,9 @@ const Fae = /* @__PURE__ */ Xt(() => {
55039
55039
  height: "100%",
55040
55040
  paddingLeft: n.offsetTop,
55041
55041
  paddingRight: n.offsetBottom,
55042
- marginLeft: O !== 0 ? O : G ? "auto" : 0
55042
+ marginLeft: O !== 0 ? O : z ? "auto" : 0
55043
55043
  } : {
55044
- marginTop: O !== 0 ? O : G ? "auto" : 0,
55044
+ marginTop: O !== 0 ? O : z ? "auto" : 0,
55045
55045
  paddingTop: n.offsetTop,
55046
55046
  paddingBottom: n.offsetBottom
55047
55047
  },
@@ -55052,7 +55052,7 @@ const Fae = /* @__PURE__ */ Xt(() => {
55052
55052
  {
55053
55053
  ...Nr(A, c),
55054
55054
  ref: w,
55055
- style: _,
55055
+ style: U,
55056
55056
  "data-testid": t ? "virtuoso-top-item-list" : "virtuoso-item-list",
55057
55057
  children: (t ? n.topItems : n.items).map((L) => {
55058
55058
  const Y = L.originalIndex, ie = k(Y + n.firstItemIndex, L.data, c);
@@ -55326,7 +55326,7 @@ const sle = /* @__PURE__ */ Xt(
55326
55326
  { windowViewportRect: y, useWindowScroll: w, customScrollParent: O, windowScrollContainerState: b, windowScrollTo: x },
55327
55327
  C
55328
55328
  ]) => {
55329
- const A = Me(0), R = Me(0), N = Me(sA), k = Me({ height: 0, width: 0 }), T = Me({ height: 0, width: 0 }), V = It(), G = It(), Z = Me(0), _ = Me(null), L = Me({ row: 0, column: 0 }), Y = It(), ie = It(), H = Me(!1), F = Me(0), D = Me(!0), z = Me(!1), j = Me(!1);
55329
+ const A = Me(0), R = Me(0), N = Me(sA), k = Me({ height: 0, width: 0 }), T = Me({ height: 0, width: 0 }), V = It(), z = It(), Z = Me(0), U = Me(null), L = Me({ row: 0, column: 0 }), Y = It(), ie = It(), H = Me(!1), F = Me(0), D = Me(!0), G = Me(!1), j = Me(!1);
55330
55330
  Kt(
55331
55331
  Oe(
55332
55332
  v,
@@ -55338,11 +55338,11 @@ const sle = /* @__PURE__ */ Xt(
55338
55338
  }
55339
55339
  ), Kt(
55340
55340
  Oe(
55341
- $n(v, D, T, k, F, z),
55342
- rt(([J, ne, re, le, , te]) => J && !ne && re.height !== 0 && le.height !== 0 && !te)
55341
+ $n(v, D, T, k, F, G),
55342
+ rt(([J, ne, oe, le, , te]) => J && !ne && oe.height !== 0 && le.height !== 0 && !te)
55343
55343
  ),
55344
55344
  ([, , , , J]) => {
55345
- yt(z, !0), Tx(1, () => {
55345
+ yt(G, !0), Tx(1, () => {
55346
55346
  yt(V, J);
55347
55347
  }), Qi(Oe(o), () => {
55348
55348
  yt(n, [0, 0]), yt(D, !0);
@@ -55380,10 +55380,10 @@ const sle = /* @__PURE__ */ Xt(
55380
55380
  tt(L, (J, ne) => J && J.column === ne.column && J.row === ne.row),
55381
55381
  tt(o)
55382
55382
  ),
55383
- Ue(([J, ne, re, le]) => ({
55383
+ Ue(([J, ne, oe, le]) => ({
55384
55384
  viewport: J,
55385
55385
  item: ne,
55386
- gap: re,
55386
+ gap: oe,
55387
55387
  scrollTop: le
55388
55388
  }))
55389
55389
  ),
@@ -55396,7 +55396,7 @@ const sle = /* @__PURE__ */ Xt(
55396
55396
  tt(L, ile),
55397
55397
  tt(T, Kp),
55398
55398
  tt(k, Kp),
55399
- tt(_),
55399
+ tt(U),
55400
55400
  tt(R),
55401
55401
  tt(H),
55402
55402
  tt(D),
@@ -55406,7 +55406,7 @@ const sle = /* @__PURE__ */ Xt(
55406
55406
  Ue(
55407
55407
  ([
55408
55408
  J,
55409
- [ne, re],
55409
+ [ne, oe],
55410
55410
  le,
55411
55411
  te,
55412
55412
  Ie,
@@ -55425,7 +55425,7 @@ const sle = /* @__PURE__ */ Xt(
55425
55425
  }
55426
55426
  const ke = uj(bt, ze, Xe);
55427
55427
  let ce, Se;
55428
- he ? ne === 0 && re === 0 && Ee > 0 ? (ce = 0, Se = Ee - 1) : (ce = ke * _m((ne + De) / (Ge + De)), Se = ke * lA((re + De) / (Ge + De)) - 1, Se = Eb(J - 1, Dd(Se, ke - 1)), ce = Eb(Se, Dd(0, ce))) : (ce = 0, Se = -1);
55428
+ he ? ne === 0 && oe === 0 && Ee > 0 ? (ce = 0, Se = Ee - 1) : (ce = ke * _m((ne + De) / (Ge + De)), Se = ke * lA((oe + De) / (Ge + De)) - 1, Se = Eb(J - 1, Dd(Se, ke - 1)), ce = Eb(Se, Dd(0, ce))) : (ce = 0, Se = -1);
55429
55429
  const Pe = cA(ce, Se, ee), { top: Ce, bottom: ye } = uA(Ie, le, te, Pe), qe = lA(J / ke), S = qe * Ge + (qe - 1) * De - ye;
55430
55430
  return { items: Pe, offsetTop: Ce, offsetBottom: S, top: Ce, bottom: ye, itemHeight: Ge, itemWidth: ze };
55431
55431
  }
@@ -55434,7 +55434,7 @@ const sle = /* @__PURE__ */ Xt(
55434
55434
  N
55435
55435
  ), Ye(
55436
55436
  Oe(
55437
- _,
55437
+ U,
55438
55438
  rt((J) => J !== null),
55439
55439
  Ue((J) => J.length)
55440
55440
  ),
@@ -55442,30 +55442,30 @@ const sle = /* @__PURE__ */ Xt(
55442
55442
  ), Ye(
55443
55443
  Oe(
55444
55444
  $n(k, T, N, L),
55445
- rt(([J, ne, { items: re }]) => re.length > 0 && ne.height !== 0 && J.height !== 0),
55446
- Ue(([J, ne, { items: re }, le]) => {
55447
- const { top: te, bottom: Ie } = uA(J, le, ne, re);
55445
+ rt(([J, ne, { items: oe }]) => oe.length > 0 && ne.height !== 0 && J.height !== 0),
55446
+ Ue(([J, ne, { items: oe }, le]) => {
55447
+ const { top: te, bottom: Ie } = uA(J, le, ne, oe);
55448
55448
  return [te, Ie];
55449
55449
  }),
55450
55450
  gn(gf)
55451
55451
  ),
55452
55452
  n
55453
55453
  );
55454
- const U = Me(!1);
55454
+ const _ = Me(!1);
55455
55455
  Ye(
55456
55456
  Oe(
55457
55457
  o,
55458
- wt(U),
55458
+ wt(_),
55459
55459
  Ue(([J, ne]) => ne || J !== 0)
55460
55460
  ),
55461
- U
55461
+ _
55462
55462
  );
55463
55463
  const W = mo(
55464
55464
  Oe(
55465
55465
  tt(N),
55466
55466
  rt(({ items: J }) => J.length > 0),
55467
- wt(A, U),
55468
- rt(([{ items: J }, ne, re]) => re && J[J.length - 1].index === ne - 1),
55467
+ wt(A, _),
55468
+ rt(([{ items: J }, ne, oe]) => oe && J[J.length - 1].index === ne - 1),
55469
55469
  Ue(([, J]) => J - 1),
55470
55470
  gn()
55471
55471
  )
@@ -55494,17 +55494,17 @@ const sle = /* @__PURE__ */ Xt(
55494
55494
  Oe(
55495
55495
  V,
55496
55496
  wt(k, T, A, L),
55497
- Ue(([J, ne, re, le, te]) => {
55497
+ Ue(([J, ne, oe, le, te]) => {
55498
55498
  const Ie = KN(J), { align: ee, behavior: Ee, offset: he } = Ie;
55499
55499
  let Re = Ie.index;
55500
55500
  Re === "LAST" && (Re = le - 1), Re = Dd(0, Re, Eb(le - 1, Re));
55501
- let De = K1(ne, te, re, Re);
55502
- return ee === "end" ? De = aA(De - ne.height + re.height) : ee === "center" && (De = aA(De - ne.height / 2 + re.height / 2)), he && (De += he), { top: De, behavior: Ee };
55501
+ let De = K1(ne, te, oe, Re);
55502
+ return ee === "end" ? De = aA(De - ne.height + oe.height) : ee === "center" && (De = aA(De - ne.height / 2 + oe.height / 2)), he && (De += he), { top: De, behavior: Ee };
55503
55503
  })
55504
55504
  ),
55505
55505
  a
55506
55506
  );
55507
- const oe = jr(
55507
+ const re = jr(
55508
55508
  Oe(
55509
55509
  N,
55510
55510
  Ue((J) => J.offsetBottom + J.bottom)
@@ -55519,12 +55519,12 @@ const sle = /* @__PURE__ */ Xt(
55519
55519
  k
55520
55520
  ), {
55521
55521
  // input
55522
- data: _,
55522
+ data: U,
55523
55523
  totalCount: A,
55524
55524
  viewportDimensions: k,
55525
55525
  itemDimensions: T,
55526
55526
  scrollTop: o,
55527
- scrollHeight: G,
55527
+ scrollHeight: z,
55528
55528
  overscan: e,
55529
55529
  increaseViewportBy: r,
55530
55530
  scrollBy: s,
@@ -55548,7 +55548,7 @@ const sle = /* @__PURE__ */ Xt(
55548
55548
  horizontalDirection: j,
55549
55549
  // output
55550
55550
  gridState: N,
55551
- totalListHeight: oe,
55551
+ totalListHeight: re,
55552
55552
  ...f,
55553
55553
  startReached: K,
55554
55554
  endReached: W,
@@ -56838,7 +56838,7 @@ function oce(e) {
56838
56838
  gt(A, n, A), gt(A, r, R), gt(R, n, A), gt(R, r, R), Ne(b, Ei, A), Ne(C, Ei, A);
56839
56839
  const N = Ne(l, Us), k = Ne(u, Us), T = Ne(k, Ei), V = Ne(T, Ei);
56840
56840
  gt(l, t.domain, a), Ne(l, Si, O), Ne(l, xi, w), gt(u, t.domain, a), Ne(u, Si, O), Ne(u, xi, w), gt(N, t.domain, A), Ne(N, Ei, A), gt(V, t.domain, A), gt(V, n, A), Ne(V, Ei, A);
56841
- const G = [
56841
+ const z = [
56842
56842
  [Ld, Bd],
56843
56843
  // {}
56844
56844
  [Um, Wm],
@@ -56856,9 +56856,9 @@ function oce(e) {
56856
56856
  [$m, eg]
56857
56857
  // <>
56858
56858
  ];
56859
- for (let Z = 0; Z < G.length; Z++) {
56860
- const [_, L] = G[Z], Y = Ne(A, _);
56861
- Ne(R, _, Y), Ne(Y, L, A);
56859
+ for (let Z = 0; Z < z.length; Z++) {
56860
+ const [U, L] = z[Z], Y = Ne(A, U);
56861
+ Ne(R, U, Y), Ne(Y, L, A);
56862
56862
  const ie = xo($p);
56863
56863
  gt(Y, n, ie);
56864
56864
  const H = xo();
@@ -57137,21 +57137,21 @@ const SA = (e) => {
57137
57137
  return typeof t.mimeType == "string" ? t.mimeType : t.file instanceof File ? t.file.type : "";
57138
57138
  }, xA = /* @__PURE__ */ new Set(), xce = st((e) => {
57139
57139
  var ne;
57140
- const { message: t, short: n, showLineTime: r, user: o } = e, i = ot(), { auth: s, chat: a, ui: l, settings: u } = i, c = In(), [p, f] = Ze(!1), [m, g] = Ze(!1), [v, y] = Ze(), [w, O] = Ze(!1), b = an(null), x = an(null), { current: C } = x || {}, A = Hle((ne = C == null ? void 0 : C.parentElement) == null ? void 0 : ne.clientWidth, C == null ? void 0 : C.offsetLeft), R = (o == null ? void 0 : o.id) === `${s.me.id}`, N = String(l.params.id), k = a.channels.get(N), T = s.isModerator, V = (re) => {
57141
- const le = re.split("{{system.linkRemoved}}");
57142
- return le.length === 1 ? re : le.flatMap(
57140
+ const { message: t, short: n, showLineTime: r, user: o } = e, i = ot(), { auth: s, chat: a, ui: l, settings: u } = i, c = In(), [p, f] = Ze(!1), [m, g] = Ze(!1), [v, y] = Ze(), [w, O] = Ze(!1), b = an(null), x = an(null), { current: C } = x || {}, A = Hle((ne = C == null ? void 0 : C.parentElement) == null ? void 0 : ne.clientWidth, C == null ? void 0 : C.offsetLeft), R = (o == null ? void 0 : o.id) === `${s.me.id}`, N = String(l.params.id), k = a.channels.get(N), T = s.isModerator, V = (oe) => {
57141
+ const le = oe.split("{{system.linkRemoved}}");
57142
+ return le.length === 1 ? oe : le.flatMap(
57143
57143
  (Ie, ee) => [Ie, /* @__PURE__ */ h.jsx("span", { className: j.removedLink, children: c.formatMessage({ id: "settings.linkRemoved" }) }, ee)]
57144
57144
  ).slice(0, -1);
57145
- }, G = sn(() => k == null ? void 0 : k.getPinnedMessageIdByMessageId(t.id), [t.id]), Z = (re) => {
57146
- if (!l.isMobile || !re.target.closest("#chat-message-container"))
57145
+ }, z = sn(() => k == null ? void 0 : k.getPinnedMessageIdByMessageId(t.id), [t.id]), Z = (oe) => {
57146
+ if (!l.isMobile || !oe.target.closest("#chat-message-container"))
57147
57147
  return;
57148
- const te = re.currentTarget.querySelector("#more-container > button");
57148
+ const te = oe.currentTarget.querySelector("#more-container > button");
57149
57149
  te == null || te.dispatchEvent(new MouseEvent("click", { view: window, bubbles: !0, buttons: 1 })), f(!0);
57150
- }, _ = () => {
57150
+ }, U = () => {
57151
57151
  k == null || k.drafts.cancelDraft(t.id);
57152
- }, L = async (re) => {
57152
+ }, L = async (oe) => {
57153
57153
  var Ie, ee;
57154
- const { url: le, name: te } = re;
57154
+ const { url: le, name: te } = oe;
57155
57155
  if (le) {
57156
57156
  if (v) {
57157
57157
  (Ie = b.current) == null || Ie.abort();
@@ -57178,22 +57178,22 @@ const SA = (e) => {
57178
57178
  F = !!(u.showImagesPreview && !(k != null && k.settings.disallowPreviews) && (H != null && H.url) && Ple(Sce(H), H.size, u.previewImageMaxSize));
57179
57179
  } catch {
57180
57180
  }
57181
- const D = !!Y && Y.status === Xn.Error || w, z = {
57181
+ const D = !!Y && Y.status === Xn.Error || w, G = {
57182
57182
  user: o,
57183
57183
  short: n,
57184
57184
  open: p,
57185
57185
  isError: D,
57186
57186
  hasAttachment: !!H,
57187
57187
  selected: m
57188
- }, j = l.isMobile ? Lle(z) : Dle(z), U = V(t.text), W = () => {
57188
+ }, j = l.isMobile ? Lle(G) : Dle(G), _ = V(t.text), W = () => {
57189
57189
  Y && (k != null && k.drafts) && bI({
57190
57190
  draft: Y,
57191
57191
  drafts: k.drafts
57192
57192
  });
57193
- }, K = (k == null ? void 0 : k.type) === Sn.Public || (k == null ? void 0 : k.type) === Sn.Private, X = !R && K && u.displayDirect && (s.isModerator || !k.settings.moderatorStartsDirectsOnly), { snackbarError: oe } = rx();
57193
+ }, K = (k == null ? void 0 : k.type) === Sn.Public || (k == null ? void 0 : k.type) === Sn.Private, X = !R && K && u.displayDirect && (s.isModerator || !k.settings.moderatorStartsDirectsOnly), { snackbarError: re } = rx();
57194
57194
  if (!o) {
57195
- const re = `${N}:${t.id}`;
57196
- return xA.has(re) || (xA.add(re), we.warn("Chat user message render skipped", {
57195
+ const oe = `${N}:${t.id}`;
57196
+ return xA.has(oe) || (xA.add(oe), we.warn("Chat user message render skipped", {
57197
57197
  case: "chat.message_visibility",
57198
57198
  reason: "missing_user",
57199
57199
  channelId: N,
@@ -57207,7 +57207,7 @@ const SA = (e) => {
57207
57207
  try {
57208
57208
  await yj(i, o);
57209
57209
  } catch {
57210
- oe(c.formatMessage({ id: "directError" }));
57210
+ re(c.formatMessage({ id: "directError" }));
57211
57211
  }
57212
57212
  };
57213
57213
  return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
@@ -57281,7 +57281,7 @@ const SA = (e) => {
57281
57281
  {
57282
57282
  enableImagesPreview: !1,
57283
57283
  excludedLinkPatterns: a.excludedLinkPatterns,
57284
- children: U
57284
+ children: _
57285
57285
  }
57286
57286
  ) }),
57287
57287
  F && (H == null ? void 0 : H.url) && /* @__PURE__ */ h.jsx(fj, { children: /* @__PURE__ */ h.jsx(zle, { url: H.url, name: H.name }) }),
@@ -57330,7 +57330,7 @@ const SA = (e) => {
57330
57330
  g(!0);
57331
57331
  },
57332
57332
  alignments: A,
57333
- getPinnedMessageId: G
57333
+ getPinnedMessageId: z
57334
57334
  }
57335
57335
  )
57336
57336
  }
@@ -57338,7 +57338,7 @@ const SA = (e) => {
57338
57338
  ]
57339
57339
  }
57340
57340
  ),
57341
- Y && Y.status === Xn.Uploading && /* @__PURE__ */ h.jsx("div", { className: j.buttons, children: /* @__PURE__ */ h.jsxs(Jn, { id: "cancel-draft", className: j.cancelSend, onClick: _, children: [
57341
+ Y && Y.status === Xn.Uploading && /* @__PURE__ */ h.jsx("div", { className: j.buttons, children: /* @__PURE__ */ h.jsxs(Jn, { id: "cancel-draft", className: j.cancelSend, onClick: U, children: [
57342
57342
  /* @__PURE__ */ h.jsx(ik, { fill: q.ERROR_BASE }),
57343
57343
  /* @__PURE__ */ h.jsx(be, { children: /* @__PURE__ */ h.jsx(Te, { id: "cancelSend" }) })
57344
57344
  ] }) }),
@@ -57348,7 +57348,7 @@ const SA = (e) => {
57348
57348
  {
57349
57349
  id: "delete-draft",
57350
57350
  className: j.cancelSend,
57351
- onClick: _,
57351
+ onClick: U,
57352
57352
  children: [
57353
57353
  /* @__PURE__ */ h.jsx(yN, { fill: q.ERROR_BASE }),
57354
57354
  /* @__PURE__ */ h.jsx(be, { children: /* @__PURE__ */ h.jsx(Te, { id: "delete" }) })
@@ -57430,7 +57430,7 @@ const SA = (e) => {
57430
57430
  var T, V;
57431
57431
  if (y.timeLimit <= 0 || y.messagesCount <= w.length)
57432
57432
  return;
57433
- const R = Array.from(y.messages.values()).filter((G) => new Date(G.createdAt) > new Date(y.timeLimit)), N = R.map((G) => G.id), k = `${y.id}:${y.timeLimit}:${N.join(",")}`;
57433
+ const R = Array.from(y.messages.values()).filter((z) => new Date(z.createdAt) > new Date(y.timeLimit)), N = R.map((z) => z.id), k = `${y.id}:${y.timeLimit}:${N.join(",")}`;
57434
57434
  m.current !== k && (m.current = k, we.warn("Chat messages hidden by timeline limit", {
57435
57435
  case: "chat.message_visibility",
57436
57436
  reason: "time_limit",
@@ -57452,10 +57452,10 @@ const SA = (e) => {
57452
57452
  return;
57453
57453
  const V = String(k);
57454
57454
  O.current.set(V, T);
57455
- const G = w.find((Z) => String(Z == null ? void 0 : Z.id) === V);
57456
- if (G) {
57455
+ const z = w.find((Z) => String(Z == null ? void 0 : Z.id) === V);
57456
+ if (z) {
57457
57457
  try {
57458
- T(G);
57458
+ T(z);
57459
57459
  } catch (Z) {
57460
57460
  we.error("WatchMessage callback error", { e: Z });
57461
57461
  }
@@ -57544,7 +57544,7 @@ const SA = (e) => {
57544
57544
  const k = R - s;
57545
57545
  let T = !1, V = null;
57546
57546
  k > 0 && (V = w[k - 1], T = ((L = N == null ? void 0 : N.user) == null ? void 0 : L.current.id) === ((Y = V == null ? void 0 : V.user) == null ? void 0 : Y.current.id));
57547
- const G = k === w.length - 1, Z = V && mk(N.createdAt, (V == null ? void 0 : V.createdAt) || "0") >= 1, _ = k === 0 && !Pd(N.createdAt, "today");
57547
+ const z = k === w.length - 1, Z = V && mk(N.createdAt, (V == null ? void 0 : V.createdAt) || "0") >= 1, U = k === 0 && !Pd(N.createdAt, "today");
57548
57548
  return /* @__PURE__ */ h.jsx(
57549
57549
  Ece,
57550
57550
  {
@@ -57552,8 +57552,8 @@ const SA = (e) => {
57552
57552
  message: N,
57553
57553
  index: k,
57554
57554
  short: T,
57555
- last: G,
57556
- showLineTime: Z || _
57555
+ last: z,
57556
+ showLineTime: Z || U
57557
57557
  },
57558
57558
  N.id
57559
57559
  );
@@ -58591,16 +58591,16 @@ function Oue(e) {
58591
58591
  },
58592
58592
  lastFormState: void 0
58593
58593
  }, c = 0, p = !1, f = !1, m = !1, g = 0, v = {}, y = function(j) {
58594
- return function(U) {
58595
- return delete v[j], U;
58594
+ return function(_) {
58595
+ return delete v[j], _;
58596
58596
  };
58597
- }, w = function(j, U, W) {
58598
- var K = hn(j.formState.values, U), X = W(K);
58599
- j.formState.values = Eo(j.formState.values, U, X) || {};
58600
- }, O = function(j, U, W) {
58601
- if (j.fields[U]) {
58597
+ }, w = function(j, _, W) {
58598
+ var K = hn(j.formState.values, _), X = W(K);
58599
+ j.formState.values = Eo(j.formState.values, _, X) || {};
58600
+ }, O = function(j, _, W) {
58601
+ if (j.fields[_]) {
58602
58602
  var K, X;
58603
- j.fields = Vn({}, j.fields, (K = {}, K[W] = Vn({}, j.fields[U], {
58603
+ j.fields = Vn({}, j.fields, (K = {}, K[W] = Vn({}, j.fields[_], {
58604
58604
  name: W,
58605
58605
  // rebind event handlers
58606
58606
  blur: function() {
@@ -58613,21 +58613,21 @@ function Oue(e) {
58613
58613
  return D.focus(W);
58614
58614
  },
58615
58615
  lastFieldState: void 0
58616
- }), K)), delete j.fields[U], j.fieldSubscribers = Vn({}, j.fieldSubscribers, (X = {}, X[W] = j.fieldSubscribers[U], X)), delete j.fieldSubscribers[U];
58617
- var oe = hn(j.formState.values, U);
58618
- j.formState.values = Eo(j.formState.values, U, void 0) || {}, j.formState.values = Eo(j.formState.values, W, oe), delete j.lastFormState;
58616
+ }), K)), delete j.fields[_], j.fieldSubscribers = Vn({}, j.fieldSubscribers, (X = {}, X[W] = j.fieldSubscribers[_], X)), delete j.fieldSubscribers[_];
58617
+ var re = hn(j.formState.values, _);
58618
+ j.formState.values = Eo(j.formState.values, _, void 0) || {}, j.formState.values = Eo(j.formState.values, W, re), delete j.lastFormState;
58619
58619
  }
58620
58620
  }, b = function(j) {
58621
58621
  return function() {
58622
58622
  if (i) {
58623
- for (var U = {
58623
+ for (var _ = {
58624
58624
  formState: u.formState,
58625
58625
  fields: u.fields,
58626
58626
  fieldSubscribers: u.fieldSubscribers,
58627
58627
  lastFormState: u.lastFormState
58628
58628
  }, W = arguments.length, K = new Array(W), X = 0; X < W; X++)
58629
58629
  K[X] = arguments[X];
58630
- var oe = i[j](K, U, {
58630
+ var re = i[j](K, _, {
58631
58631
  changeValue: w,
58632
58632
  getIn: hn,
58633
58633
  renameField: O,
@@ -58635,66 +58635,66 @@ function Oue(e) {
58635
58635
  setIn: Eo,
58636
58636
  shallowEqual: Ci
58637
58637
  });
58638
- return u.formState = U.formState, u.fields = U.fields, u.fieldSubscribers = U.fieldSubscribers, u.lastFormState = U.lastFormState, N(void 0, function() {
58638
+ return u.formState = _.formState, u.fields = _.fields, u.fieldSubscribers = _.fieldSubscribers, u.lastFormState = _.lastFormState, N(void 0, function() {
58639
58639
  k(), Y();
58640
- }), oe;
58640
+ }), re;
58641
58641
  }
58642
58642
  };
58643
- }, x = i ? Object.keys(i).reduce(function(z, j) {
58644
- return z[j] = b(j), z;
58643
+ }, x = i ? Object.keys(i).reduce(function(G, j) {
58644
+ return G[j] = b(j), G;
58645
58645
  }, {}) : {}, C = function(j) {
58646
- var U = [];
58646
+ var _ = [];
58647
58647
  if (a) {
58648
58648
  var W = a(Vn({}, u.formState.values));
58649
- Rb(W) ? U.push(W.then(function(K) {
58649
+ Rb(W) ? _.push(W.then(function(K) {
58650
58650
  return j(K, !0);
58651
58651
  })) : j(W, !1);
58652
58652
  }
58653
- return U;
58653
+ return _;
58654
58654
  }, A = function(j) {
58655
- return Object.keys(j.validators).reduce(function(U, W) {
58655
+ return Object.keys(j.validators).reduce(function(_, W) {
58656
58656
  var K = j.validators[Number(W)]();
58657
- return K && U.push(K), U;
58657
+ return K && _.push(K), _;
58658
58658
  }, []);
58659
- }, R = function(j, U) {
58659
+ }, R = function(j, _) {
58660
58660
  var W = [], K = A(j);
58661
58661
  if (K.length) {
58662
58662
  var X;
58663
- K.forEach(function(oe) {
58664
- var J = oe(hn(u.formState.values, j.name), u.formState.values, oe.length === 0 || oe.length === 3 ? TA(u.formState, u.fields[j.name]) : void 0);
58663
+ K.forEach(function(re) {
58664
+ var J = re(hn(u.formState.values, j.name), u.formState.values, re.length === 0 || re.length === 3 ? TA(u.formState, u.fields[j.name]) : void 0);
58665
58665
  if (J && Rb(J)) {
58666
58666
  j.validating = !0;
58667
- var ne = J.then(function(re) {
58668
- u.fields[j.name] && (u.fields[j.name].validating = !1, U(re));
58667
+ var ne = J.then(function(oe) {
58668
+ u.fields[j.name] && (u.fields[j.name].validating = !1, _(oe));
58669
58669
  });
58670
58670
  W.push(ne);
58671
58671
  } else X || (X = J);
58672
- }), U(X);
58672
+ }), _(X);
58673
58673
  }
58674
58674
  return W;
58675
- }, N = function(j, U) {
58675
+ }, N = function(j, _) {
58676
58676
  if (p) {
58677
- f = !0, U();
58677
+ f = !0, _();
58678
58678
  return;
58679
58679
  }
58680
- var W = u.fields, K = u.formState, X = Vn({}, W), oe = Object.keys(X);
58681
- if (!a && !oe.some(function(Ge) {
58680
+ var W = u.fields, K = u.formState, X = Vn({}, W), re = Object.keys(X);
58681
+ if (!a && !re.some(function(Ge) {
58682
58682
  return A(X[Ge]).length;
58683
58683
  })) {
58684
- U();
58684
+ _();
58685
58685
  return;
58686
58686
  }
58687
58687
  var J = !1;
58688
58688
  if (j) {
58689
58689
  var ne = X[j];
58690
58690
  if (ne) {
58691
- var re = ne.validateFields;
58692
- re && (J = !0, oe = re.length ? re.concat(j) : [j]);
58691
+ var oe = ne.validateFields;
58692
+ oe && (J = !0, re = oe.length ? oe.concat(j) : [j]);
58693
58693
  }
58694
58694
  }
58695
58695
  var le = {}, te = {}, Ie = {}, ee = [].concat(C(function(Ge, ze) {
58696
58696
  ze ? te = Ge || {} : le = Ge || {};
58697
- }), oe.reduce(function(Ge, ze) {
58697
+ }), re.reduce(function(Ge, ze) {
58698
58698
  return Ge.concat(R(W[ze], function(bt) {
58699
58699
  Ie[ze] = bt;
58700
58700
  }));
@@ -58702,7 +58702,7 @@ function Oue(e) {
58702
58702
  Ee && (v[he] = Re);
58703
58703
  var De = function(ze) {
58704
58704
  var bt = Vn({}, J ? K.errors : {}, le, ze ? te : K.asyncErrors), ke = function(Se) {
58705
- oe.forEach(function(Pe) {
58705
+ re.forEach(function(Pe) {
58706
58706
  if (W[Pe]) {
58707
58707
  var Ce = hn(le, Pe), ye = hn(bt, Pe), qe = A(X[Pe]).length, P = Ie[Pe];
58708
58708
  Se(Pe, qe && P || a && Ce || (!Ce && !J ? ye : void 0));
@@ -58718,9 +58718,9 @@ function Oue(e) {
58718
58718
  }
58719
58719
  }), Ci(K.errors, bt) || (K.errors = bt), ze && (K.asyncErrors = te), K.error = le[OA];
58720
58720
  };
58721
- if (Ee && (u.formState.validating++, U()), De(!1), U(), Ee) {
58721
+ if (Ee && (u.formState.validating++, _()), De(!1), _(), Ee) {
58722
58722
  var Xe = function() {
58723
- u.formState.validating--, U(), u.formState.validating === 0 && u.lastFormState.validating && Y();
58723
+ u.formState.validating--, _(), u.formState.validating === 0 && u.lastFormState.validating && Y();
58724
58724
  };
58725
58725
  Re.then(function() {
58726
58726
  g > he || De(!0);
@@ -58728,13 +58728,13 @@ function Oue(e) {
58728
58728
  }
58729
58729
  }, k = function(j) {
58730
58730
  if (!c) {
58731
- var U = u.fields, W = u.fieldSubscribers, K = u.formState, X = Vn({}, U), oe = function(ne) {
58732
- var re = X[ne], le = TA(K, re), te = re.lastFieldState;
58733
- re.lastFieldState = le;
58731
+ var _ = u.fields, W = u.fieldSubscribers, K = u.formState, X = Vn({}, _), re = function(ne) {
58732
+ var oe = X[ne], le = TA(K, oe), te = oe.lastFieldState;
58733
+ oe.lastFieldState = le;
58734
58734
  var Ie = W[ne];
58735
58735
  Ie && PA(Ie, le, te, Sue, te === void 0);
58736
58736
  };
58737
- j ? oe(j) : Object.keys(X).forEach(oe);
58737
+ j ? re(j) : Object.keys(X).forEach(re);
58738
58738
  }
58739
58739
  }, T = function() {
58740
58740
  Object.keys(u.fields).forEach(function(j) {
@@ -58742,41 +58742,41 @@ function Oue(e) {
58742
58742
  });
58743
58743
  }, V = function() {
58744
58744
  return !!(u.formState.error || bc(u.formState.errors));
58745
- }, G = function() {
58746
- var j = u.fields, U = u.formState, W = u.lastFormState, K = Vn({}, j), X = Object.keys(K), oe = !1, J = X.reduce(function(Ee, he) {
58747
- var Re = !K[he].isEqual(hn(U.values, he), hn(U.initialValues || {}, he));
58748
- return Re && (oe = !0, Ee[he] = !0), Ee;
58745
+ }, z = function() {
58746
+ var j = u.fields, _ = u.formState, W = u.lastFormState, K = Vn({}, j), X = Object.keys(K), re = !1, J = X.reduce(function(Ee, he) {
58747
+ var Re = !K[he].isEqual(hn(_.values, he), hn(_.initialValues || {}, he));
58748
+ return Re && (re = !0, Ee[he] = !0), Ee;
58749
58749
  }, {}), ne = X.reduce(function(Ee, he) {
58750
- var Re = U.lastSubmittedValues || {};
58751
- return K[he].isEqual(hn(U.values, he), hn(Re, he)) || (Ee[he] = !0), Ee;
58750
+ var Re = _.lastSubmittedValues || {};
58751
+ return K[he].isEqual(hn(_.values, he), hn(Re, he)) || (Ee[he] = !0), Ee;
58752
58752
  }, {});
58753
- U.pristine = !oe, U.dirtySinceLastSubmit = !!(U.lastSubmittedValues && Object.values(ne).some(function(Ee) {
58753
+ _.pristine = !re, _.dirtySinceLastSubmit = !!(_.lastSubmittedValues && Object.values(ne).some(function(Ee) {
58754
58754
  return Ee;
58755
- })), U.modifiedSinceLastSubmit = !!(U.lastSubmittedValues && // Object.values would treat values as mixed (facebook/flow#2221)
58755
+ })), _.modifiedSinceLastSubmit = !!(_.lastSubmittedValues && // Object.values would treat values as mixed (facebook/flow#2221)
58756
58756
  Object.keys(K).some(function(Ee) {
58757
58757
  return K[Ee].modifiedSinceLastSubmit;
58758
- })), U.valid = !U.error && !U.submitError && !bc(U.errors) && !(U.submitErrors && bc(U.submitErrors));
58759
- var re = Cue(U), le = X.reduce(function(Ee, he) {
58758
+ })), _.valid = !_.error && !_.submitError && !bc(_.errors) && !(_.submitErrors && bc(_.submitErrors));
58759
+ var oe = Cue(_), le = X.reduce(function(Ee, he) {
58760
58760
  return Ee.modified[he] = K[he].modified, Ee.touched[he] = K[he].touched, Ee.visited[he] = K[he].visited, Ee;
58761
58761
  }, {
58762
58762
  modified: {},
58763
58763
  touched: {},
58764
58764
  visited: {}
58765
58765
  }), te = le.modified, Ie = le.touched, ee = le.visited;
58766
- return re.dirtyFields = W && Ci(W.dirtyFields, J) ? W.dirtyFields : J, re.dirtyFieldsSinceLastSubmit = W && Ci(W.dirtyFieldsSinceLastSubmit, ne) ? W.dirtyFieldsSinceLastSubmit : ne, re.modified = W && Ci(W.modified, te) ? W.modified : te, re.touched = W && Ci(W.touched, Ie) ? W.touched : Ie, re.visited = W && Ci(W.visited, ee) ? W.visited : ee, W && Ci(W, re) ? W : re;
58766
+ return oe.dirtyFields = W && Ci(W.dirtyFields, J) ? W.dirtyFields : J, oe.dirtyFieldsSinceLastSubmit = W && Ci(W.dirtyFieldsSinceLastSubmit, ne) ? W.dirtyFieldsSinceLastSubmit : ne, oe.modified = W && Ci(W.modified, te) ? W.modified : te, oe.touched = W && Ci(W.touched, Ie) ? W.touched : Ie, oe.visited = W && Ci(W.visited, ee) ? W.visited : ee, W && Ci(W, oe) ? W : oe;
58767
58767
  }, Z = function() {
58768
- return t && !0 && t(G(), Object.keys(u.fields).reduce(function(j, U) {
58769
- return j[U] = u.fields[U], j;
58768
+ return t && !0 && t(z(), Object.keys(u.fields).reduce(function(j, _) {
58769
+ return j[_] = u.fields[_], j;
58770
58770
  }, {}));
58771
- }, _ = !1, L = !1, Y = function z() {
58772
- if (_)
58771
+ }, U = !1, L = !1, Y = function G() {
58772
+ if (U)
58773
58773
  L = !0;
58774
58774
  else {
58775
- if (_ = !0, Z(), !c && !(p && m)) {
58776
- var j = u.lastFormState, U = G();
58777
- U !== j && (u.lastFormState = U, PA(u.subscribers, U, j, AA));
58775
+ if (U = !0, Z(), !c && !(p && m)) {
58776
+ var j = u.lastFormState, _ = z();
58777
+ _ !== j && (u.lastFormState = _, PA(u.subscribers, _, j, AA));
58778
58778
  }
58779
- _ = !1, L && (L = !1, z());
58779
+ U = !1, L && (L = !1, G());
58780
58780
  }
58781
58781
  }, ie = function() {
58782
58782
  return Object.keys(u.fields).some(function(j) {
@@ -58799,19 +58799,19 @@ function Oue(e) {
58799
58799
  c++, j(), c--, k(), Y();
58800
58800
  },
58801
58801
  blur: function(j) {
58802
- var U = u.fields, W = u.formState, K = U[j];
58803
- K && (delete W.active, U[j] = Vn({}, K, {
58802
+ var _ = u.fields, W = u.formState, K = _[j];
58803
+ K && (delete W.active, _[j] = Vn({}, K, {
58804
58804
  active: !1,
58805
58805
  touched: !0
58806
58806
  }), l ? N(j, function() {
58807
58807
  k(), Y();
58808
58808
  }) : (k(), Y()));
58809
58809
  },
58810
- change: function(j, U) {
58810
+ change: function(j, _) {
58811
58811
  var W = u.fields, K = u.formState;
58812
- if (hn(K.values, j) !== U) {
58812
+ if (hn(K.values, j) !== _) {
58813
58813
  w(u, j, function() {
58814
- return U;
58814
+ return _;
58815
58815
  });
58816
58816
  var X = W[j];
58817
58817
  X && (W[j] = Vn({}, X, {
@@ -58825,33 +58825,33 @@ function Oue(e) {
58825
58825
  get destroyOnUnregister() {
58826
58826
  return !!n;
58827
58827
  },
58828
- set destroyOnUnregister(z) {
58829
- n = z;
58828
+ set destroyOnUnregister(G) {
58829
+ n = G;
58830
58830
  },
58831
58831
  focus: function(j) {
58832
- var U = u.fields[j];
58833
- U && !U.active && (u.formState.active = j, U.active = !0, U.visited = !0, k(), Y());
58832
+ var _ = u.fields[j];
58833
+ _ && !_.active && (u.formState.active = j, _.active = !0, _.visited = !0, k(), Y());
58834
58834
  },
58835
58835
  mutators: x,
58836
58836
  getFieldState: function(j) {
58837
- var U = u.fields[j];
58838
- return U && U.lastFieldState;
58837
+ var _ = u.fields[j];
58838
+ return _ && _.lastFieldState;
58839
58839
  },
58840
58840
  getRegisteredFields: function() {
58841
58841
  return Object.keys(u.fields);
58842
58842
  },
58843
58843
  getState: function() {
58844
- return G();
58844
+ return z();
58845
58845
  },
58846
58846
  initialize: function(j) {
58847
- var U = u.fields, W = u.formState, K = Vn({}, U), X = typeof j == "function" ? j(W.values) : j;
58847
+ var _ = u.fields, W = u.formState, K = Vn({}, _), X = typeof j == "function" ? j(W.values) : j;
58848
58848
  r || (W.values = X);
58849
- var oe = r ? Object.keys(K).reduce(function(J, ne) {
58850
- var re = K[ne], le = re.isEqual(hn(W.values, ne), hn(W.initialValues || {}, ne));
58849
+ var re = r ? Object.keys(K).reduce(function(J, ne) {
58850
+ var oe = K[ne], le = oe.isEqual(hn(W.values, ne), hn(W.initialValues || {}, ne));
58851
58851
  return le || (J[ne] = hn(W.values, ne)), J;
58852
58852
  }, {}) : {};
58853
- W.initialValues = X, W.values = X, Object.keys(oe).forEach(function(J) {
58854
- W.values = Eo(W.values, J, oe[J]) || {};
58853
+ W.initialValues = X, W.values = X, Object.keys(re).forEach(function(J) {
58854
+ W.values = Eo(W.values, J, re[J]) || {};
58855
58855
  }), N(void 0, function() {
58856
58856
  k(), Y();
58857
58857
  });
@@ -58862,18 +58862,18 @@ function Oue(e) {
58862
58862
  pauseValidation: function(j) {
58863
58863
  j === void 0 && (j = !0), p = !0, m = j;
58864
58864
  },
58865
- registerField: function(j, U, W, K) {
58865
+ registerField: function(j, _, W, K) {
58866
58866
  W === void 0 && (W = {}), u.fieldSubscribers[j] || (u.fieldSubscribers[j] = {
58867
58867
  index: 0,
58868
58868
  entries: {}
58869
58869
  });
58870
58870
  var X = u.fieldSubscribers[j].index++;
58871
58871
  u.fieldSubscribers[j].entries[X] = {
58872
- subscriber: RA(U),
58872
+ subscriber: RA(_),
58873
58873
  subscription: W,
58874
58874
  notified: !1
58875
58875
  };
58876
- var oe = u.fields[j] || {
58876
+ var re = u.fields[j] || {
58877
58877
  active: !1,
58878
58878
  afterSubmit: K && K.afterSubmit,
58879
58879
  beforeSubmit: K && K.beforeSubmit,
@@ -58890,22 +58890,22 @@ function Oue(e) {
58890
58890
  validating: !1,
58891
58891
  visited: !1
58892
58892
  };
58893
- oe.blur = oe.blur || function() {
58893
+ re.blur = re.blur || function() {
58894
58894
  return D.blur(j);
58895
- }, oe.change = oe.change || function(te) {
58895
+ }, re.change = re.change || function(te) {
58896
58896
  return D.change(j, te);
58897
- }, oe.focus = oe.focus || function() {
58897
+ }, re.focus = re.focus || function() {
58898
58898
  return D.focus(j);
58899
- }, u.fields[j] = oe;
58900
- var J = !1, ne = K && K.silent, re = function() {
58899
+ }, u.fields[j] = re;
58900
+ var J = !1, ne = K && K.silent, oe = function() {
58901
58901
  ne && u.fields[j] ? k(j) : (Y(), k());
58902
58902
  };
58903
58903
  if (K) {
58904
58904
  J = !!(K.getValidator && K.getValidator()), K.getValidator && (u.fields[j].validators[X] = K.getValidator);
58905
58905
  var le = hn(u.formState.values, j) === void 0;
58906
- K.initialValue !== void 0 && (le || hn(u.formState.values, j) === hn(u.formState.initialValues, j)) && (u.formState.initialValues = Eo(u.formState.initialValues || {}, j, K.initialValue), u.formState.values = Eo(u.formState.values, j, K.initialValue), N(void 0, re)), K.defaultValue !== void 0 && K.initialValue === void 0 && hn(u.formState.initialValues, j) === void 0 && le && (u.formState.values = Eo(u.formState.values, j, K.defaultValue));
58906
+ K.initialValue !== void 0 && (le || hn(u.formState.values, j) === hn(u.formState.initialValues, j)) && (u.formState.initialValues = Eo(u.formState.initialValues || {}, j, K.initialValue), u.formState.values = Eo(u.formState.values, j, K.initialValue), N(void 0, oe)), K.defaultValue !== void 0 && K.initialValue === void 0 && hn(u.formState.initialValues, j) === void 0 && le && (u.formState.values = Eo(u.formState.values, j, K.defaultValue));
58907
58907
  }
58908
- return J ? N(void 0, re) : re(), function() {
58908
+ return J ? N(void 0, oe) : oe(), function() {
58909
58909
  var te = !1;
58910
58910
  u.fields[j] && (te = !!(u.fields[j].validators[X] && u.fields[j].validators[X]()), delete u.fields[j].validators[X]);
58911
58911
  var Ie = !!u.fieldSubscribers[j];
@@ -58942,8 +58942,8 @@ function Oue(e) {
58942
58942
  */
58943
58943
  restart: function(j) {
58944
58944
  j === void 0 && (j = u.formState.initialValues), D.batch(function() {
58945
- for (var U in u.fields)
58946
- D.resetFieldState(U), u.fields[U] = Vn({}, u.fields[U], {
58945
+ for (var _ in u.fields)
58946
+ D.resetFieldState(_), u.fields[_] = Vn({}, u.fields[_], {
58947
58947
  active: !1,
58948
58948
  lastFieldState: void 0,
58949
58949
  modified: !1,
@@ -58961,39 +58961,39 @@ function Oue(e) {
58961
58961
  k(), Y();
58962
58962
  }), f = !1;
58963
58963
  },
58964
- setConfig: function(j, U) {
58964
+ setConfig: function(j, _) {
58965
58965
  switch (j) {
58966
58966
  case "debug":
58967
- t = U;
58967
+ t = _;
58968
58968
  break;
58969
58969
  case "destroyOnUnregister":
58970
- n = U;
58970
+ n = _;
58971
58971
  break;
58972
58972
  case "initialValues":
58973
- D.initialize(U);
58973
+ D.initialize(_);
58974
58974
  break;
58975
58975
  case "keepDirtyOnReinitialize":
58976
- r = U;
58976
+ r = _;
58977
58977
  break;
58978
58978
  case "mutators":
58979
- i = U, U ? (Object.keys(x).forEach(function(W) {
58980
- W in U || delete x[W];
58981
- }), Object.keys(U).forEach(function(W) {
58979
+ i = _, _ ? (Object.keys(x).forEach(function(W) {
58980
+ W in _ || delete x[W];
58981
+ }), Object.keys(_).forEach(function(W) {
58982
58982
  x[W] = b(W);
58983
58983
  })) : Object.keys(x).forEach(function(W) {
58984
58984
  delete x[W];
58985
58985
  });
58986
58986
  break;
58987
58987
  case "onSubmit":
58988
- s = U;
58988
+ s = _;
58989
58989
  break;
58990
58990
  case "validate":
58991
- a = U, N(void 0, function() {
58991
+ a = _, N(void 0, function() {
58992
58992
  k(), Y();
58993
58993
  });
58994
58994
  break;
58995
58995
  case "validateOnBlur":
58996
- l = U;
58996
+ l = _;
58997
58997
  break;
58998
58998
  default:
58999
58999
  throw new Error("Unrecognised option " + j);
@@ -59006,49 +59006,49 @@ function Oue(e) {
59006
59006
  T(), F(), u.formState.submitFailed = !0, Y(), k();
59007
59007
  return;
59008
59008
  }
59009
- var U = Object.keys(v);
59010
- if (U.length) {
59011
- Promise.all(U.map(function(ne) {
59009
+ var _ = Object.keys(v);
59010
+ if (_.length) {
59011
+ Promise.all(_.map(function(ne) {
59012
59012
  return v[Number(ne)];
59013
59013
  })).then(D.submit, console.error);
59014
59014
  return;
59015
59015
  }
59016
59016
  var W = ie();
59017
59017
  if (!W) {
59018
- var K, X = !1, oe = function(re) {
59018
+ var K, X = !1, re = function(oe) {
59019
59019
  j.submitting = !1;
59020
59020
  var le = j.resetWhileSubmitting;
59021
- return le && (j.resetWhileSubmitting = !1), re && bc(re) ? (j.submitFailed = !0, j.submitSucceeded = !1, j.submitErrors = re, j.submitError = re[OA], T()) : (le || (j.submitFailed = !1, j.submitSucceeded = !0), H()), Y(), k(), X = !0, K && K(re), re;
59021
+ return le && (j.resetWhileSubmitting = !1), oe && bc(oe) ? (j.submitFailed = !0, j.submitSucceeded = !1, j.submitErrors = oe, j.submitError = oe[OA], T()) : (le || (j.submitFailed = !1, j.submitSucceeded = !0), H()), Y(), k(), X = !0, K && K(oe), oe;
59022
59022
  };
59023
59023
  j.submitting = !0, j.submitFailed = !1, j.submitSucceeded = !1, j.lastSubmittedValues = Vn({}, j.values), F();
59024
- var J = s(j.values, D, oe);
59024
+ var J = s(j.values, D, re);
59025
59025
  if (!X) {
59026
59026
  if (J && Rb(J))
59027
- return Y(), k(), J.then(oe, function(ne) {
59028
- throw oe(), ne;
59027
+ return Y(), k(), J.then(re, function(ne) {
59028
+ throw re(), ne;
59029
59029
  });
59030
59030
  if (s.length >= 3)
59031
59031
  return Y(), k(), new Promise(function(ne) {
59032
59032
  K = ne;
59033
59033
  });
59034
- oe(J);
59034
+ re(J);
59035
59035
  }
59036
59036
  }
59037
59037
  }
59038
59038
  },
59039
- subscribe: function(j, U) {
59039
+ subscribe: function(j, _) {
59040
59040
  if (!j)
59041
59041
  throw new Error("No callback given.");
59042
- if (!U)
59042
+ if (!_)
59043
59043
  throw new Error("No subscription provided. What values do you want to listen to?");
59044
59044
  var W = RA(j), K = u.subscribers, X = K.index++;
59045
59045
  K.entries[X] = {
59046
59046
  subscriber: W,
59047
- subscription: U,
59047
+ subscription: _,
59048
59048
  notified: !1
59049
59049
  };
59050
- var oe = G();
59051
- return Lj(W, U, oe, oe, AA, !0), function() {
59050
+ var re = z();
59051
+ return Lj(W, _, re, re, AA, !0), function() {
59052
59052
  delete K.entries[X];
59053
59053
  };
59054
59054
  }
@@ -59265,9 +59265,9 @@ function Hj(e, t) {
59265
59265
  x.registerField(e, L, y, {
59266
59266
  afterSubmit: r,
59267
59267
  beforeSubmit: function() {
59268
- var H = C.current, F = H.beforeSubmit, D = H.formatOnBlur, z = H.format, j = z === void 0 ? kb : z;
59268
+ var H = C.current, F = H.beforeSubmit, D = H.formatOnBlur, G = H.format, j = G === void 0 ? kb : G;
59269
59269
  if (D) {
59270
- var U = x.getFieldState(e), W = U.value, K = j(W, e);
59270
+ var _ = x.getFieldState(e), W = _.value, K = j(W, e);
59271
59271
  K !== W && x.change(e, K);
59272
59272
  }
59273
59273
  return F && F();
@@ -59286,15 +59286,15 @@ function Hj(e, t) {
59286
59286
  })
59287
59287
  );
59288
59288
  }, R = B.useRef(!0), N = B.useState(function() {
59289
- var _ = {}, L = x.destroyOnUnregister;
59289
+ var U = {}, L = x.destroyOnUnregister;
59290
59290
  return x.destroyOnUnregister = !1, A(function(Y) {
59291
- _ = Y;
59292
- }, !0)(), x.destroyOnUnregister = L, _;
59291
+ U = Y;
59292
+ }, !0)(), x.destroyOnUnregister = L, U;
59293
59293
  }), k = N[0], T = N[1];
59294
59294
  B.useEffect(
59295
59295
  function() {
59296
- return A(function(_) {
59297
- R.current ? R.current = !1 : T(_);
59296
+ return A(function(U) {
59297
+ R.current ? R.current = !1 : T(U);
59298
59298
  }, !1);
59299
59299
  },
59300
59300
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -59314,41 +59314,41 @@ function Hj(e, t) {
59314
59314
  );
59315
59315
  var V = {};
59316
59316
  Iue(V, k);
59317
- var G = {
59317
+ var z = {
59318
59318
  name: e,
59319
59319
  get value() {
59320
- var _ = k.value;
59321
- return c ? i === "input" && (_ = kb(_)) : _ = u(_, e), _ === null && !o && (_ = ""), w === "checkbox" || w === "radio" ? b : i === "select" && f ? _ || [] : _;
59320
+ var U = k.value;
59321
+ return c ? i === "input" && (U = kb(U)) : U = u(U, e), U === null && !o && (U = ""), w === "checkbox" || w === "radio" ? b : i === "select" && f ? U || [] : U;
59322
59322
  },
59323
59323
  get checked() {
59324
- var _ = k.value;
59324
+ var U = k.value;
59325
59325
  if (w === "checkbox")
59326
- return _ = u(_, e), b === void 0 ? !!_ : !!(Array.isArray(_) && ~_.indexOf(b));
59326
+ return U = u(U, e), b === void 0 ? !!U : !!(Array.isArray(U) && ~U.indexOf(b));
59327
59327
  if (w === "radio")
59328
- return u(_, e) === b;
59328
+ return u(U, e) === b;
59329
59329
  },
59330
- onBlur: Ib(function(_) {
59330
+ onBlur: Ib(function(U) {
59331
59331
  if (k.blur(), c) {
59332
59332
  var L = x.getFieldState(k.name);
59333
59333
  k.change(u(L.value, k.name));
59334
59334
  }
59335
59335
  }),
59336
- onChange: Ib(function(_) {
59337
- if (I.env.NODE_ENV !== "production" && _ && _.target) {
59338
- var L = _.target.type, Y = ~["checkbox", "radio", "select-multiple"].indexOf(L) && !w && i !== "select", ie = L === "select-multiple" ? k.value : b;
59336
+ onChange: Ib(function(U) {
59337
+ if (I.env.NODE_ENV !== "production" && U && U.target) {
59338
+ var L = U.target.type, Y = ~["checkbox", "radio", "select-multiple"].indexOf(L) && !w && i !== "select", ie = L === "select-multiple" ? k.value : b;
59339
59339
  Y && console.error('You must pass `type="' + (L === "select-multiple" ? "select" : L) + '"` prop to your Field(' + e + `) component.
59340
59340
  ` + ("Without it we don't know how to unpack your `value` prop - " + (Array.isArray(ie) ? "[" + ie + "]" : '"' + ie + '"') + "."));
59341
59341
  }
59342
- var H = _ && _.target ? Bue(_, k.value, b, Due) : _;
59342
+ var H = U && U.target ? Bue(U, k.value, b, Due) : U;
59343
59343
  k.change(g(H, e));
59344
59344
  }),
59345
- onFocus: Ib(function(_) {
59345
+ onFocus: Ib(function(U) {
59346
59346
  return k.focus();
59347
59347
  })
59348
59348
  };
59349
- f && (G.multiple = f), w !== void 0 && (G.type = w);
59349
+ f && (z.multiple = f), w !== void 0 && (z.type = w);
59350
59350
  var Z = {
59351
- input: G,
59351
+ input: z,
59352
59352
  meta: V
59353
59353
  };
59354
59354
  return Z;
@@ -59443,8 +59443,8 @@ var que = ["length"], Yue = ["meta", "input"], Jue = _x.reduce(function(e, t) {
59443
59443
  // curry the field name onto all mutator calls
59444
59444
  Object.keys(f).reduce(function(N, k) {
59445
59445
  return N[k] = function() {
59446
- for (var T = arguments.length, V = new Array(T), G = 0; G < T; G++)
59447
- V[G] = arguments[G];
59446
+ for (var T = arguments.length, V = new Array(T), z = 0; z < T; z++)
59447
+ V[z] = arguments[z];
59448
59448
  return f[k].apply(f, [t].concat(V));
59449
59449
  }, N;
59450
59450
  }, {})
@@ -59455,8 +59455,8 @@ var que = ["length"], Yue = ["meta", "input"], Jue = _x.reduce(function(e, t) {
59455
59455
  var V = c(N, k, T);
59456
59456
  if (!V || Array.isArray(V))
59457
59457
  return V;
59458
- var G = [];
59459
- return G[jc] = V, G;
59458
+ var z = [];
59459
+ return z[jc] = V, z;
59460
59460
  }
59461
59461
  };
59462
59462
  }), y = Hj(t, {
@@ -59474,8 +59474,8 @@ var que = ["length"], Yue = ["meta", "input"], Jue = _x.reduce(function(e, t) {
59474
59474
  for (var T = O || 0, V = 0; V < T; V++)
59475
59475
  k(t + "[" + V + "]", V);
59476
59476
  }, R = function(k) {
59477
- for (var T = O || 0, V = [], G = 0; G < T; G++)
59478
- V.push(k(t + "[" + G + "]", G));
59477
+ for (var T = O || 0, V = [], z = 0; z < T; z++)
59478
+ V.push(k(t + "[" + z + "]", z));
59479
59479
  return V;
59480
59480
  };
59481
59481
  return {
@@ -60221,7 +60221,7 @@ const ode = (e) => {
60221
60221
  /* @__PURE__ */ h.jsx(Ea, { onBack: () => e.back(), children: /* @__PURE__ */ h.jsx(oi, { children: /* @__PURE__ */ h.jsx(Te, { id: "userList" }) }) }),
60222
60222
  /* @__PURE__ */ h.jsx(kde, { users: n })
60223
60223
  ] });
60224
- }, LA = st(Nde), jde = "@vlprojects-chat/chat", Mde = "vlprojects", Dde = "0.33.0", Lde = "vlprojects chat", Bde = "ISC", Fde = "dist/index.d.ts", Vde = "./dist/index.mjs", _de = "./dist/index.mjs", Ude = [
60224
+ }, LA = st(Nde), jde = "@vlprojects-chat/chat", Mde = "vlprojects", Dde = "0.33.1", Lde = "vlprojects chat", Bde = "ISC", Fde = "dist/index.d.ts", Vde = "./dist/index.mjs", _de = "./dist/index.mjs", Ude = [
60225
60225
  "dist"
60226
60226
  ], Wde = {
60227
60227
  type: "git",
@@ -60954,7 +60954,7 @@ const Bfe = st(({
60954
60954
  pollsInitCallback: T,
60955
60955
  useLegacyPolls: V
60956
60956
  }) => {
60957
- const [G, Z] = Ze(!1), _ = an(!1), L = ot();
60957
+ const [z, Z] = Ze(!1), U = an(!1), L = ot();
60958
60958
  T0(Nn.App, (H) => {
60959
60959
  H.event !== jn.WatchMessage && (a == null || a(H));
60960
60960
  });
@@ -60962,41 +60962,41 @@ const Bfe = st(({
60962
60962
  const H = Date.now();
60963
60963
  Z(!1);
60964
60964
  const F = L.createJoinScope(R);
60965
- _.current = !0;
60965
+ U.current = !0;
60966
60966
  try {
60967
60967
  L.init();
60968
60968
  } finally {
60969
- _.current = !1;
60969
+ U.current = !1;
60970
60970
  }
60971
60971
  L.beginJoinAttempt(F);
60972
- const D = gY(), z = D.appIdFromAttr || t || void 0 || void 0, j = D.apiUrlFromAttr || n || "https://api.livedigital.chat", U = D.channelIdFromAttr || r || void 0 || void 0, W = s || Oz();
60973
- if (!z || !j || !U || !W) {
60972
+ const D = gY(), G = D.appIdFromAttr || t || void 0 || void 0, j = D.apiUrlFromAttr || n || "https://api.livedigital.chat", _ = D.channelIdFromAttr || r || void 0 || void 0, W = s || Oz();
60973
+ if (!G || !j || !_ || !W) {
60974
60974
  const J = [
60975
- ["No app id", !z],
60975
+ ["No app id", !G],
60976
60976
  ["No API url", !j],
60977
60977
  ["No user token", !W],
60978
- ["No channel id", !U]
60978
+ ["No channel id", !_]
60979
60979
  ].filter((ne) => ne[1]).map((ne) => ne[0]).join(", ");
60980
60980
  L.chat.joinObserver.initParamsFailed(J);
60981
60981
  return;
60982
60982
  }
60983
- Ez(j), L.ui.setChannelId(U), L.ui.setParentChannelId(i || U), L.ui.setIsVisible(e || !1), L.auth.setAccessToken(W), L.auth.setAppId(z), L.chat.setClientUniqueId(o), L.chat.setExcludedLinkPatterns(k ?? []), M4(W), b && L.chat.setHostEventBus(b), C && L.chat.setDirectChatStartDateISOString(C), L.chat.setTabId(A), L.chat.joinObserver.settingsFetchStarted({
60984
- appId: z,
60985
- channelExternalId: U
60983
+ Ez(j), L.ui.setChannelId(_), L.ui.setParentChannelId(i || _), L.ui.setIsVisible(e || !1), L.auth.setAccessToken(W), L.auth.setAppId(G), L.chat.setClientUniqueId(o), L.chat.setExcludedLinkPatterns(k ?? []), M4(W), b && L.chat.setHostEventBus(b), C && L.chat.setDirectChatStartDateISOString(C), L.chat.setTabId(A), L.chat.joinObserver.settingsFetchStarted({
60984
+ appId: G,
60985
+ channelExternalId: _
60986
60986
  });
60987
- const { settings: K, error: X } = await IJ(L, z, F);
60987
+ const { settings: K, error: X } = await IJ(L, G, F);
60988
60988
  if (L.isActiveJoinAttempt(F)) {
60989
60989
  if (K)
60990
60990
  L.chat.joinObserver.settingsFetchSucceeded({
60991
60991
  startedAt: H,
60992
- appId: z,
60993
- channelExternalId: U
60992
+ appId: G,
60993
+ channelExternalId: _
60994
60994
  });
60995
60995
  else {
60996
60996
  L.chat.joinObserver.settingsFetchFailed({
60997
60997
  startedAt: H,
60998
- appId: z,
60999
- channelExternalId: U,
60998
+ appId: G,
60999
+ channelExternalId: _,
61000
61000
  error: X
61001
61001
  });
61002
61002
  return;
@@ -61006,8 +61006,8 @@ const Bfe = st(({
61006
61006
  })), V || L.setHasHostPollsUI(!0)), Yn.emit(Nn.App, {
61007
61007
  event: jn.ChatLoaded
61008
61008
  }), we.info("Chat shell initialized", {
61009
- appId: z,
61010
- channelId: U,
61009
+ appId: G,
61010
+ channelId: _,
61011
61011
  settings: K,
61012
61012
  chatVisualState: y
61013
61013
  }), L.ui.setChatVisualState(y));
@@ -61025,14 +61025,14 @@ const Bfe = st(({
61025
61025
  ), []), it(() => ta(
61026
61026
  () => L.auth.isModerator,
61027
61027
  (H, F) => {
61028
- _.current || !H && F && Y();
61028
+ U.current || !H && F && Y();
61029
61029
  }
61030
61030
  ), []), it(() => {
61031
- G && L.ui.isMobile && L.ui.setChatVisualState(y), we.info("Change chat visual state", {
61031
+ z && L.ui.isMobile && L.ui.setChatVisualState(y), we.info("Change chat visual state", {
61032
61032
  chatVisualState: y,
61033
- isReady: G
61033
+ isReady: z
61034
61034
  });
61035
- }, [y, G]), it(() => {
61035
+ }, [y, z]), it(() => {
61036
61036
  if (!N)
61037
61037
  return;
61038
61038
  N(() => {
@@ -61072,7 +61072,7 @@ const Bfe = st(({
61072
61072
  defaultLocale: "en",
61073
61073
  children: /* @__PURE__ */ h.jsx(lR, { injectFirst: !0, children: /* @__PURE__ */ h.jsxs(e8, { theme: sK, children: [
61074
61074
  /* @__PURE__ */ h.jsx(YR, {}),
61075
- G ? /* @__PURE__ */ h.jsx(nx.Provider, { value: x, children: /* @__PURE__ */ h.jsx(yfe, { theme: w }) }) : /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
61075
+ z ? /* @__PURE__ */ h.jsx(nx.Provider, { value: x, children: /* @__PURE__ */ h.jsx(yfe, { theme: w }) }) : /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
61076
61076
  /* @__PURE__ */ h.jsx(Af, { color: "secondary" }),
61077
61077
  /* @__PURE__ */ h.jsx(_I, { intlId: "loadingSettings" })
61078
61078
  ] })