bonuspluscomponents 0.0.200 → 0.0.202

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.
@@ -216,14 +216,14 @@ function Pp() {
216
216
  }
217
217
  return null;
218
218
  }
219
- var $ = 0, j, Y, X, Z, k, S, B;
219
+ var S = 0, j, Y, X, Z, k, $, B;
220
220
  function V() {
221
221
  }
222
222
  V.__reactDisabledLog = !0;
223
223
  function H() {
224
224
  {
225
- if ($ === 0) {
226
- j = console.log, Y = console.info, X = console.warn, Z = console.error, k = console.group, S = console.groupCollapsed, B = console.groupEnd;
225
+ if (S === 0) {
226
+ j = console.log, Y = console.info, X = console.warn, Z = console.error, k = console.group, $ = console.groupCollapsed, B = console.groupEnd;
227
227
  var P = {
228
228
  configurable: !0,
229
229
  enumerable: !0,
@@ -240,12 +240,12 @@ function Pp() {
240
240
  groupEnd: P
241
241
  });
242
242
  }
243
- $++;
243
+ S++;
244
244
  }
245
245
  }
246
246
  function Q() {
247
247
  {
248
- if ($--, $ === 0) {
248
+ if (S--, S === 0) {
249
249
  var P = {
250
250
  configurable: !0,
251
251
  enumerable: !0,
@@ -268,14 +268,14 @@ function Pp() {
268
268
  value: k
269
269
  }),
270
270
  groupCollapsed: r({}, P, {
271
- value: S
271
+ value: $
272
272
  }),
273
273
  groupEnd: r({}, P, {
274
274
  value: B
275
275
  })
276
276
  });
277
277
  }
278
- $ < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
278
+ S < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
279
279
  }
280
280
  }
281
281
  var ee = O.ReactCurrentDispatcher, L;
@@ -798,7 +798,8 @@ const Si = ei, Dp = {
798
798
  headers: {
799
799
  Authorization: `Bearer ${p}`,
800
800
  "X-CabinetType": e,
801
- "X-PhoneNumber": a
801
+ "X-PhoneNumber": a,
802
+ "X-LinkId": E
802
803
  }
803
804
  }), N = Si, [I, R] = fe(null), [W, K] = fe(null);
804
805
  Ve(() => {
@@ -863,8 +864,8 @@ const Si = ei, Dp = {
863
864
  setPhoneNumber: i,
864
865
  authToken: p,
865
866
  setAuthToken: h,
866
- createAxios: ($, j) => {
867
- h($), y(j);
867
+ createAxios: (S, j) => {
868
+ console.log(S, j), h(S), y(j);
868
869
  },
869
870
  theme: N,
870
871
  setVKUserId: o,
@@ -1223,14 +1224,14 @@ function zp() {
1223
1224
  }
1224
1225
  }
1225
1226
  }
1226
- var b = l, T = u, O = s, N = i, I = t, R = d, W = n, K = g, G = v, A = r, $ = a, j = o, Y = p, X = !1;
1227
+ var b = l, T = u, O = s, N = i, I = t, R = d, W = n, K = g, G = v, A = r, S = a, j = o, Y = p, X = !1;
1227
1228
  function Z(_) {
1228
1229
  return X || (X = !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.")), k(_) || C(_) === l;
1229
1230
  }
1230
1231
  function k(_) {
1231
1232
  return C(_) === u;
1232
1233
  }
1233
- function S(_) {
1234
+ function $(_) {
1234
1235
  return C(_) === s;
1235
1236
  }
1236
1237
  function B(_) {
@@ -1263,7 +1264,7 @@ function zp() {
1263
1264
  function le(_) {
1264
1265
  return C(_) === p;
1265
1266
  }
1266
- Ne.AsyncMode = b, Ne.ConcurrentMode = T, Ne.ContextConsumer = O, Ne.ContextProvider = N, Ne.Element = I, Ne.ForwardRef = R, Ne.Fragment = W, Ne.Lazy = K, Ne.Memo = G, Ne.Portal = A, Ne.Profiler = $, Ne.StrictMode = j, Ne.Suspense = Y, Ne.isAsyncMode = Z, Ne.isConcurrentMode = k, Ne.isContextConsumer = S, Ne.isContextProvider = B, Ne.isElement = V, Ne.isForwardRef = H, Ne.isFragment = Q, Ne.isLazy = ee, Ne.isMemo = L, Ne.isPortal = F, Ne.isProfiler = U, Ne.isStrictMode = re, Ne.isSuspense = le, Ne.isValidElementType = x, Ne.typeOf = C;
1267
+ Ne.AsyncMode = b, Ne.ConcurrentMode = T, Ne.ContextConsumer = O, Ne.ContextProvider = N, Ne.Element = I, Ne.ForwardRef = R, Ne.Fragment = W, Ne.Lazy = K, Ne.Memo = G, Ne.Portal = A, Ne.Profiler = S, Ne.StrictMode = j, Ne.Suspense = Y, Ne.isAsyncMode = Z, Ne.isConcurrentMode = k, Ne.isContextConsumer = $, Ne.isContextProvider = B, Ne.isElement = V, Ne.isForwardRef = H, Ne.isFragment = Q, Ne.isLazy = ee, Ne.isMemo = L, Ne.isPortal = F, Ne.isProfiler = U, Ne.isStrictMode = re, Ne.isSuspense = le, Ne.isValidElementType = x, Ne.typeOf = C;
1267
1268
  }()), Ne;
1268
1269
  }
1269
1270
  var il;
@@ -1353,9 +1354,9 @@ function Gp() {
1353
1354
  return Va = function(s, l) {
1354
1355
  var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
1355
1356
  function p(k) {
1356
- var S = k && (u && k[u] || k[d]);
1357
- if (typeof S == "function")
1358
- return S;
1357
+ var $ = k && (u && k[u] || k[d]);
1358
+ if (typeof $ == "function")
1359
+ return $;
1359
1360
  }
1360
1361
  var h = "<<anonymous>>", v = {
1361
1362
  array: E("array"),
@@ -1378,16 +1379,16 @@ function Gp() {
1378
1379
  shape: K,
1379
1380
  exact: G
1380
1381
  };
1381
- function g(k, S) {
1382
- return k === S ? k !== 0 || 1 / k === 1 / S : k !== k && S !== S;
1382
+ function g(k, $) {
1383
+ return k === $ ? k !== 0 || 1 / k === 1 / $ : k !== k && $ !== $;
1383
1384
  }
1384
- function m(k, S) {
1385
- this.message = k, this.data = S && typeof S == "object" ? S : {}, this.stack = "";
1385
+ function m(k, $) {
1386
+ this.message = k, this.data = $ && typeof $ == "object" ? $ : {}, this.stack = "";
1386
1387
  }
1387
1388
  m.prototype = Error.prototype;
1388
1389
  function y(k) {
1389
1390
  if (process.env.NODE_ENV !== "production")
1390
- var S = {}, B = 0;
1391
+ var $ = {}, B = 0;
1391
1392
  function V(Q, ee, L, F, U, re, le) {
1392
1393
  if (F = F || h, re = re || L, le !== r) {
1393
1394
  if (l) {
@@ -1397,10 +1398,10 @@ function Gp() {
1397
1398
  throw _.name = "Invariant Violation", _;
1398
1399
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1399
1400
  var ie = F + ":" + L;
1400
- !S[ie] && // Avoid spamming the console because they are often not actionable except for lib authors
1401
+ !$[ie] && // Avoid spamming the console because they are often not actionable except for lib authors
1401
1402
  B < 3 && (a(
1402
1403
  "You are manually calling a React.PropTypes validation function for the `" + re + "` prop on `" + F + "`. 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."
1403
- ), S[ie] = !0, B++);
1404
+ ), $[ie] = !0, B++);
1404
1405
  }
1405
1406
  }
1406
1407
  return ee[L] == null ? Q ? ee[L] === null ? new m("The " + U + " `" + re + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new m("The " + U + " `" + re + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : k(ee, L, F, U, re);
@@ -1409,7 +1410,7 @@ function Gp() {
1409
1410
  return H.isRequired = V.bind(null, !0), H;
1410
1411
  }
1411
1412
  function E(k) {
1412
- function S(B, V, H, Q, ee, L) {
1413
+ function $(B, V, H, Q, ee, L) {
1413
1414
  var F = B[V], U = j(F);
1414
1415
  if (U !== k) {
1415
1416
  var re = Y(F);
@@ -1420,13 +1421,13 @@ function Gp() {
1420
1421
  }
1421
1422
  return null;
1422
1423
  }
1423
- return y(S);
1424
+ return y($);
1424
1425
  }
1425
1426
  function M() {
1426
1427
  return y(i);
1427
1428
  }
1428
1429
  function x(k) {
1429
- function S(B, V, H, Q, ee) {
1430
+ function $(B, V, H, Q, ee) {
1430
1431
  if (typeof k != "function")
1431
1432
  return new m("Property `" + ee + "` of component `" + H + "` has invalid PropType notation inside arrayOf.");
1432
1433
  var L = B[V];
@@ -1441,11 +1442,11 @@ function Gp() {
1441
1442
  }
1442
1443
  return null;
1443
1444
  }
1444
- return y(S);
1445
+ return y($);
1445
1446
  }
1446
1447
  function C() {
1447
- function k(S, B, V, H, Q) {
1448
- var ee = S[B];
1448
+ function k($, B, V, H, Q) {
1449
+ var ee = $[B];
1449
1450
  if (!s(ee)) {
1450
1451
  var L = j(ee);
1451
1452
  return new m("Invalid " + H + " `" + Q + "` of type " + ("`" + L + "` supplied to `" + V + "`, expected a single ReactElement."));
@@ -1455,8 +1456,8 @@ function Gp() {
1455
1456
  return y(k);
1456
1457
  }
1457
1458
  function b() {
1458
- function k(S, B, V, H, Q) {
1459
- var ee = S[B];
1459
+ function k($, B, V, H, Q) {
1460
+ var ee = $[B];
1460
1461
  if (!e.isValidElementType(ee)) {
1461
1462
  var L = j(ee);
1462
1463
  return new m("Invalid " + H + " `" + Q + "` of type " + ("`" + L + "` supplied to `" + V + "`, expected a single ReactElement type."));
@@ -1466,21 +1467,21 @@ function Gp() {
1466
1467
  return y(k);
1467
1468
  }
1468
1469
  function T(k) {
1469
- function S(B, V, H, Q, ee) {
1470
+ function $(B, V, H, Q, ee) {
1470
1471
  if (!(B[V] instanceof k)) {
1471
1472
  var L = k.name || h, F = Z(B[V]);
1472
1473
  return new m("Invalid " + Q + " `" + ee + "` of type " + ("`" + F + "` supplied to `" + H + "`, expected ") + ("instance of `" + L + "`."));
1473
1474
  }
1474
1475
  return null;
1475
1476
  }
1476
- return y(S);
1477
+ return y($);
1477
1478
  }
1478
1479
  function O(k) {
1479
1480
  if (!Array.isArray(k))
1480
1481
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1481
1482
  "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])."
1482
1483
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
1483
- function S(B, V, H, Q, ee) {
1484
+ function $(B, V, H, Q, ee) {
1484
1485
  for (var L = B[V], F = 0; F < k.length; F++)
1485
1486
  if (g(L, k[F]))
1486
1487
  return null;
@@ -1490,10 +1491,10 @@ function Gp() {
1490
1491
  });
1491
1492
  return new m("Invalid " + Q + " `" + ee + "` of value `" + String(L) + "` " + ("supplied to `" + H + "`, expected one of " + U + "."));
1492
1493
  }
1493
- return y(S);
1494
+ return y($);
1494
1495
  }
1495
1496
  function N(k) {
1496
- function S(B, V, H, Q, ee) {
1497
+ function $(B, V, H, Q, ee) {
1497
1498
  if (typeof k != "function")
1498
1499
  return new m("Property `" + ee + "` of component `" + H + "` has invalid PropType notation inside objectOf.");
1499
1500
  var L = B[V], F = j(L);
@@ -1507,16 +1508,16 @@ function Gp() {
1507
1508
  }
1508
1509
  return null;
1509
1510
  }
1510
- return y(S);
1511
+ return y($);
1511
1512
  }
1512
1513
  function I(k) {
1513
1514
  if (!Array.isArray(k))
1514
1515
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i;
1515
- for (var S = 0; S < k.length; S++) {
1516
- var B = k[S];
1516
+ for (var $ = 0; $ < k.length; $++) {
1517
+ var B = k[$];
1517
1518
  if (typeof B != "function")
1518
1519
  return a(
1519
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(B) + " at index " + S + "."
1520
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(B) + " at index " + $ + "."
1520
1521
  ), i;
1521
1522
  }
1522
1523
  function V(H, Q, ee, L, F) {
@@ -1532,18 +1533,18 @@ function Gp() {
1532
1533
  return y(V);
1533
1534
  }
1534
1535
  function R() {
1535
- function k(S, B, V, H, Q) {
1536
- return A(S[B]) ? null : new m("Invalid " + H + " `" + Q + "` supplied to " + ("`" + V + "`, expected a ReactNode."));
1536
+ function k($, B, V, H, Q) {
1537
+ return A($[B]) ? null : new m("Invalid " + H + " `" + Q + "` supplied to " + ("`" + V + "`, expected a ReactNode."));
1537
1538
  }
1538
1539
  return y(k);
1539
1540
  }
1540
- function W(k, S, B, V, H) {
1541
+ function W(k, $, B, V, H) {
1541
1542
  return new m(
1542
- (k || "React class") + ": " + S + " type `" + B + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + H + "`."
1543
+ (k || "React class") + ": " + $ + " type `" + B + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + H + "`."
1543
1544
  );
1544
1545
  }
1545
1546
  function K(k) {
1546
- function S(B, V, H, Q, ee) {
1547
+ function $(B, V, H, Q, ee) {
1547
1548
  var L = B[V], F = j(L);
1548
1549
  if (F !== "object")
1549
1550
  return new m("Invalid " + Q + " `" + ee + "` of type `" + F + "` " + ("supplied to `" + H + "`, expected `object`."));
@@ -1557,10 +1558,10 @@ function Gp() {
1557
1558
  }
1558
1559
  return null;
1559
1560
  }
1560
- return y(S);
1561
+ return y($);
1561
1562
  }
1562
1563
  function G(k) {
1563
- function S(B, V, H, Q, ee) {
1564
+ function $(B, V, H, Q, ee) {
1564
1565
  var L = B[V], F = j(L);
1565
1566
  if (F !== "object")
1566
1567
  return new m("Invalid " + Q + " `" + ee + "` of type `" + F + "` " + ("supplied to `" + H + "`, expected `object`."));
@@ -1580,7 +1581,7 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
1580
1581
  }
1581
1582
  return null;
1582
1583
  }
1583
- return y(S);
1584
+ return y($);
1584
1585
  }
1585
1586
  function A(k) {
1586
1587
  switch (typeof k) {
@@ -1595,10 +1596,10 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
1595
1596
  return k.every(A);
1596
1597
  if (k === null || s(k))
1597
1598
  return !0;
1598
- var S = p(k);
1599
- if (S) {
1600
- var B = S.call(k), V;
1601
- if (S !== k.entries) {
1599
+ var $ = p(k);
1600
+ if ($) {
1601
+ var B = $.call(k), V;
1602
+ if ($ !== k.entries) {
1602
1603
  for (; !(V = B.next()).done; )
1603
1604
  if (!A(V.value))
1604
1605
  return !1;
@@ -1615,37 +1616,37 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
1615
1616
  return !1;
1616
1617
  }
1617
1618
  }
1618
- function $(k, S) {
1619
- return k === "symbol" ? !0 : S ? S["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && S instanceof Symbol : !1;
1619
+ function S(k, $) {
1620
+ return k === "symbol" ? !0 : $ ? $["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && $ instanceof Symbol : !1;
1620
1621
  }
1621
1622
  function j(k) {
1622
- var S = typeof k;
1623
- return Array.isArray(k) ? "array" : k instanceof RegExp ? "object" : $(S, k) ? "symbol" : S;
1623
+ var $ = typeof k;
1624
+ return Array.isArray(k) ? "array" : k instanceof RegExp ? "object" : S($, k) ? "symbol" : $;
1624
1625
  }
1625
1626
  function Y(k) {
1626
1627
  if (typeof k > "u" || k === null)
1627
1628
  return "" + k;
1628
- var S = j(k);
1629
- if (S === "object") {
1629
+ var $ = j(k);
1630
+ if ($ === "object") {
1630
1631
  if (k instanceof Date)
1631
1632
  return "date";
1632
1633
  if (k instanceof RegExp)
1633
1634
  return "regexp";
1634
1635
  }
1635
- return S;
1636
+ return $;
1636
1637
  }
1637
1638
  function X(k) {
1638
- var S = Y(k);
1639
- switch (S) {
1639
+ var $ = Y(k);
1640
+ switch ($) {
1640
1641
  case "array":
1641
1642
  case "object":
1642
- return "an " + S;
1643
+ return "an " + $;
1643
1644
  case "boolean":
1644
1645
  case "date":
1645
1646
  case "regexp":
1646
- return "a " + S;
1647
+ return "a " + $;
1647
1648
  default:
1648
- return S;
1649
+ return $;
1649
1650
  }
1650
1651
  }
1651
1652
  function Z(k) {
@@ -1896,11 +1897,11 @@ function oh() {
1896
1897
  }
1897
1898
  }
1898
1899
  }
1899
- var T = i, O = a, N = e, I = l, R = r, W = h, K = p, G = t, A = o, $ = n, j = u, Y = d, X = !1, Z = !1;
1900
+ var T = i, O = a, N = e, I = l, R = r, W = h, K = p, G = t, A = o, S = n, j = u, Y = d, X = !1, Z = !1;
1900
1901
  function k(z) {
1901
1902
  return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1902
1903
  }
1903
- function S(z) {
1904
+ function $(z) {
1904
1905
  return Z || (Z = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1905
1906
  }
1906
1907
  function B(z) {
@@ -1939,7 +1940,7 @@ function oh() {
1939
1940
  function ie(z) {
1940
1941
  return b(z) === d;
1941
1942
  }
1942
- Ae.ContextConsumer = T, Ae.ContextProvider = O, Ae.Element = N, Ae.ForwardRef = I, Ae.Fragment = R, Ae.Lazy = W, Ae.Memo = K, Ae.Portal = G, Ae.Profiler = A, Ae.StrictMode = $, Ae.Suspense = j, Ae.SuspenseList = Y, Ae.isAsyncMode = k, Ae.isConcurrentMode = S, Ae.isContextConsumer = B, Ae.isContextProvider = V, Ae.isElement = H, Ae.isForwardRef = Q, Ae.isFragment = ee, Ae.isLazy = L, Ae.isMemo = F, Ae.isPortal = U, Ae.isProfiler = re, Ae.isStrictMode = le, Ae.isSuspense = _, Ae.isSuspenseList = ie, Ae.isValidElementType = C, Ae.typeOf = b;
1943
+ Ae.ContextConsumer = T, Ae.ContextProvider = O, Ae.Element = N, Ae.ForwardRef = I, Ae.Fragment = R, Ae.Lazy = W, Ae.Memo = K, Ae.Portal = G, Ae.Profiler = A, Ae.StrictMode = S, Ae.Suspense = j, Ae.SuspenseList = Y, Ae.isAsyncMode = k, Ae.isConcurrentMode = $, Ae.isContextConsumer = B, Ae.isContextProvider = V, Ae.isElement = H, Ae.isForwardRef = Q, Ae.isFragment = ee, Ae.isLazy = L, Ae.isMemo = F, Ae.isPortal = U, Ae.isProfiler = re, Ae.isStrictMode = le, Ae.isSuspense = _, Ae.isSuspenseList = ie, Ae.isValidElementType = C, Ae.typeOf = b;
1943
1944
  }()), Ae;
1944
1945
  }
1945
1946
  process.env.NODE_ENV === "production" ? ri.exports = nh() : ri.exports = oh();
@@ -3028,8 +3029,8 @@ function In(e, t) {
3028
3029
  if (h === xn && W) {
3029
3030
  var K = W[o];
3030
3031
  Object.keys(R).forEach(function(G) {
3031
- var A = [It, At].indexOf(G) >= 0 ? 1 : -1, $ = [yt, At].indexOf(G) >= 0 ? "y" : "x";
3032
- R[G] += K[$] * A;
3032
+ var A = [It, At].indexOf(G) >= 0 ? 1 : -1, S = [yt, At].indexOf(G) >= 0 ? "y" : "x";
3033
+ R[G] += K[S] * A;
3033
3034
  });
3034
3035
  }
3035
3036
  return R;
@@ -3073,14 +3074,14 @@ function _m(e) {
3073
3074
  allowedAutoPlacements: m
3074
3075
  }) : Q);
3075
3076
  }, []), b = t.rects.reference, T = t.rects.popper, O = /* @__PURE__ */ new Map(), N = !0, I = C[0], R = 0; R < C.length; R++) {
3076
- var W = C[R], K = Kt(W), G = dn(W) === ln, A = [yt, At].indexOf(K) >= 0, $ = A ? "width" : "height", j = In(t, {
3077
+ var W = C[R], K = Kt(W), G = dn(W) === ln, A = [yt, At].indexOf(K) >= 0, S = A ? "width" : "height", j = In(t, {
3077
3078
  placement: W,
3078
3079
  boundary: d,
3079
3080
  rootBoundary: p,
3080
3081
  altBoundary: h,
3081
3082
  padding: u
3082
3083
  }), Y = A ? G ? It : bt : G ? At : yt;
3083
- b[$] > T[$] && (Y = Do(Y));
3084
+ b[S] > T[S] && (Y = Do(Y));
3084
3085
  var X = Do(Y), Z = [];
3085
3086
  if (a && Z.push(j[K] <= 0), s && Z.push(j[Y] <= 0, j[X] <= 0), Z.every(function(H) {
3086
3087
  return H;
@@ -3091,7 +3092,7 @@ function _m(e) {
3091
3092
  O.set(W, Z);
3092
3093
  }
3093
3094
  if (N)
3094
- for (var k = g ? 3 : 1, S = function(Q) {
3095
+ for (var k = g ? 3 : 1, $ = function(Q) {
3095
3096
  var ee = C.find(function(L) {
3096
3097
  var F = O.get(L);
3097
3098
  if (F)
@@ -3102,7 +3103,7 @@ function _m(e) {
3102
3103
  if (ee)
3103
3104
  return I = ee, "break";
3104
3105
  }, B = k; B > 0; B--) {
3105
- var V = S(B);
3106
+ var V = $(B);
3106
3107
  if (V === "break")
3107
3108
  break;
3108
3109
  }
@@ -3222,10 +3223,10 @@ function Fm(e) {
3222
3223
  };
3223
3224
  if (T) {
3224
3225
  if (a) {
3225
- var G, A = C === "y" ? yt : bt, $ = C === "y" ? At : It, j = C === "y" ? "height" : "width", Y = T[C], X = Y + y[A], Z = Y - y[$], k = v ? -N[j] / 2 : 0, S = M === ln ? O[j] : N[j], B = M === ln ? -N[j] : -O[j], V = t.elements.arrow, H = v && V ? Wi(V) : {
3226
+ var G, A = C === "y" ? yt : bt, S = C === "y" ? At : It, j = C === "y" ? "height" : "width", Y = T[C], X = Y + y[A], Z = Y - y[S], k = v ? -N[j] / 2 : 0, $ = M === ln ? O[j] : N[j], B = M === ln ? -N[j] : -O[j], V = t.elements.arrow, H = v && V ? Wi(V) : {
3226
3227
  width: 0,
3227
3228
  height: 0
3228
- }, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Pu(), ee = Q[A], L = Q[$], F = Mn(0, O[j], H[j]), U = x ? O[j] / 2 - k - F - ee - R.mainAxis : S - F - ee - R.mainAxis, re = x ? -O[j] / 2 + k + F + L + R.mainAxis : B + F + L + R.mainAxis, le = t.elements.arrow && Xn(t.elements.arrow), _ = le ? C === "y" ? le.clientTop || 0 : le.clientLeft || 0 : 0, ie = (G = W == null ? void 0 : W[C]) != null ? G : 0, z = Y + U - ie - _, be = Y + re - ie, me = Mn(v ? jo(X, z) : X, Y, v ? $r(Z, be) : Z);
3229
+ }, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Pu(), ee = Q[A], L = Q[S], F = Mn(0, O[j], H[j]), U = x ? O[j] / 2 - k - F - ee - R.mainAxis : $ - F - ee - R.mainAxis, re = x ? -O[j] / 2 + k + F + L + R.mainAxis : B + F + L + R.mainAxis, le = t.elements.arrow && Xn(t.elements.arrow), _ = le ? C === "y" ? le.clientTop || 0 : le.clientLeft || 0 : 0, ie = (G = W == null ? void 0 : W[C]) != null ? G : 0, z = Y + U - ie - _, be = Y + re - ie, me = Mn(v ? jo(X, z) : X, Y, v ? $r(Z, be) : Z);
3229
3230
  T[C] = me, K[C] = me - Y;
3230
3231
  }
3231
3232
  if (s) {
@@ -3552,7 +3553,7 @@ const iv = () => Ot({
3552
3553
  }, [o]), Qt(() => {
3553
3554
  if (!I || !u)
3554
3555
  return;
3555
- const $ = (X) => {
3556
+ const S = (X) => {
3556
3557
  N(X.placement);
3557
3558
  };
3558
3559
  if (process.env.NODE_ENV !== "production" && I && oa(I) && I.nodeType === 1) {
@@ -3577,7 +3578,7 @@ const iv = () => Ot({
3577
3578
  fn: ({
3578
3579
  state: X
3579
3580
  }) => {
3580
- $(X);
3581
+ S(X);
3581
3582
  }
3582
3583
  }];
3583
3584
  l != null && (j = j.concat(l)), p && p.modifiers != null && (j = j.concat(p.modifiers));
@@ -4540,14 +4541,14 @@ function zv() {
4540
4541
  }
4541
4542
  }
4542
4543
  }
4543
- var b = l, T = u, O = s, N = i, I = t, R = d, W = n, K = g, G = v, A = r, $ = a, j = o, Y = p, X = !1;
4544
+ var b = l, T = u, O = s, N = i, I = t, R = d, W = n, K = g, G = v, A = r, S = a, j = o, Y = p, X = !1;
4544
4545
  function Z(_) {
4545
4546
  return X || (X = !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.")), k(_) || C(_) === l;
4546
4547
  }
4547
4548
  function k(_) {
4548
4549
  return C(_) === u;
4549
4550
  }
4550
- function S(_) {
4551
+ function $(_) {
4551
4552
  return C(_) === s;
4552
4553
  }
4553
4554
  function B(_) {
@@ -4580,7 +4581,7 @@ function zv() {
4580
4581
  function le(_) {
4581
4582
  return C(_) === p;
4582
4583
  }
4583
- Le.AsyncMode = b, Le.ConcurrentMode = T, Le.ContextConsumer = O, Le.ContextProvider = N, Le.Element = I, Le.ForwardRef = R, Le.Fragment = W, Le.Lazy = K, Le.Memo = G, Le.Portal = A, Le.Profiler = $, Le.StrictMode = j, Le.Suspense = Y, Le.isAsyncMode = Z, Le.isConcurrentMode = k, Le.isContextConsumer = S, Le.isContextProvider = B, Le.isElement = V, Le.isForwardRef = H, Le.isFragment = Q, Le.isLazy = ee, Le.isMemo = L, Le.isPortal = F, Le.isProfiler = U, Le.isStrictMode = re, Le.isSuspense = le, Le.isValidElementType = x, Le.typeOf = C;
4584
+ Le.AsyncMode = b, Le.ConcurrentMode = T, Le.ContextConsumer = O, Le.ContextProvider = N, Le.Element = I, Le.ForwardRef = R, Le.Fragment = W, Le.Lazy = K, Le.Memo = G, Le.Portal = A, Le.Profiler = S, Le.StrictMode = j, Le.Suspense = Y, Le.isAsyncMode = Z, Le.isConcurrentMode = k, Le.isContextConsumer = $, Le.isContextProvider = B, Le.isElement = V, Le.isForwardRef = H, Le.isFragment = Q, Le.isLazy = ee, Le.isMemo = L, Le.isPortal = F, Le.isProfiler = U, Le.isStrictMode = re, Le.isSuspense = le, Le.isValidElementType = x, Le.typeOf = C;
4584
4585
  }()), Le;
4585
4586
  }
4586
4587
  process.env.NODE_ENV === "production" ? ci.exports = Hv() : ci.exports = zv();
@@ -6122,10 +6123,10 @@ function Zu(e = {}) {
6122
6123
  })), K = Ty(l, W);
6123
6124
  if (K) {
6124
6125
  const G = {};
6125
- return Object.entries(K).forEach(([A, $]) => {
6126
- G[A] = typeof $ == "function" ? $(D({}, R, {
6126
+ return Object.entries(K).forEach(([A, S]) => {
6127
+ G[A] = typeof S == "function" ? S(D({}, R, {
6127
6128
  theme: W
6128
- })) : $;
6129
+ })) : S;
6129
6130
  }), h(R, G);
6130
6131
  }
6131
6132
  return null;
@@ -8070,16 +8071,16 @@ const di = 550, m0 = 80, v0 = Jn(sc || (sc = xa`
8070
8071
  K = Math.round(W.width / 2), G = Math.round(W.height / 2);
8071
8072
  else {
8072
8073
  const {
8073
- clientX: $,
8074
+ clientX: S,
8074
8075
  clientY: j
8075
8076
  } = C.touches && C.touches.length > 0 ? C.touches[0] : C;
8076
- K = Math.round($ - W.left), G = Math.round(j - W.top);
8077
+ K = Math.round(S - W.left), G = Math.round(j - W.top);
8077
8078
  }
8078
8079
  if (N)
8079
8080
  A = Math.sqrt((2 * W.width ** 2 + W.height ** 2) / 3), A % 2 === 0 && (A += 1);
8080
8081
  else {
8081
- const $ = Math.max(Math.abs((R ? R.clientWidth : 0) - K), K) * 2 + 2, j = Math.max(Math.abs((R ? R.clientHeight : 0) - G), G) * 2 + 2;
8082
- A = Math.sqrt($ ** 2 + j ** 2);
8082
+ const S = Math.max(Math.abs((R ? R.clientWidth : 0) - K), K) * 2 + 2, j = Math.max(Math.abs((R ? R.clientHeight : 0) - G), G) * 2 + 2;
8083
+ A = Math.sqrt(S ** 2 + j ** 2);
8083
8084
  }
8084
8085
  C != null && C.touches ? g.current === null && (g.current = () => {
8085
8086
  y({
@@ -8231,10 +8232,10 @@ const E0 = kt("MuiButtonBase", ["root", "disabled", "focusVisible"]), T0 = E0, P
8231
8232
  tabIndex: K = 0,
8232
8233
  TouchRippleProps: G,
8233
8234
  touchRippleRef: A,
8234
- type: $
8235
+ type: S
8235
8236
  } = n, j = ue(n, P0), Y = w.useRef(null), X = w.useRef(null), Z = pt(X, A), {
8236
8237
  isFocusVisibleRef: k,
8237
- onFocus: S,
8238
+ onFocus: $,
8238
8239
  onBlur: B,
8239
8240
  ref: V
8240
8241
  } = vu(), [H, Q] = w.useState(!1);
@@ -8259,7 +8260,7 @@ const E0 = kt("MuiButtonBase", ["root", "disabled", "focusVisible"]), T0 = E0, P
8259
8260
  }), be = U("start", W), me = U("stop", I), Ee = U("stop", R), Ue = U("stop", (de) => {
8260
8261
  B(de), k.current === !1 && Q(!1), g && g(de);
8261
8262
  }, !1), ge = _r((de) => {
8262
- Y.current || (Y.current = de.currentTarget), S(de), k.current === !0 && (Q(!0), x && x(de)), M && M(de);
8263
+ Y.current || (Y.current = de.currentTarget), $(de), k.current === !0 && (Q(!0), x && x(de)), M && M(de);
8263
8264
  }), Pe = () => {
8264
8265
  const de = Y.current;
8265
8266
  return l && l !== "button" && !(de.tagName === "A" && de.href);
@@ -8275,7 +8276,7 @@ const E0 = kt("MuiButtonBase", ["root", "disabled", "focusVisible"]), T0 = E0, P
8275
8276
  let Et = l;
8276
8277
  Et === "button" && (j.href || j.to) && (Et = v);
8277
8278
  const _t = {};
8278
- Et === "button" ? (_t.type = $ === void 0 ? "button" : $, _t.disabled = u) : (!j.href && !j.to && (_t.role = "button"), u && (_t["aria-disabled"] = u));
8279
+ Et === "button" ? (_t.type = S === void 0 ? "button" : S, _t.disabled = u) : (!j.href && !j.to && (_t.role = "button"), u && (_t["aria-disabled"] = u));
8279
8280
  const Fr = pt(r, V, Y);
8280
8281
  process.env.NODE_ENV !== "production" && w.useEffect(() => {
8281
8282
  F && !X.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
@@ -8310,7 +8311,7 @@ const E0 = kt("MuiButtonBase", ["root", "disabled", "focusVisible"]), T0 = E0, P
8310
8311
  onTouchStart: be,
8311
8312
  ref: Fr,
8312
8313
  tabIndex: u ? -1 : K,
8313
- type: $
8314
+ type: S
8314
8315
  }, _t, j, {
8315
8316
  children: [i, F ? (
8316
8317
  /* TouchRipple is only needed client-side, x2 boost on the server. */
@@ -12605,25 +12606,25 @@ function Uw(e, t, r) {
12605
12606
  weekStartsOn: I,
12606
12607
  locale: O,
12607
12608
  _originalDate: R
12608
- }, A = b.match(Fw).map(function($) {
12609
- var j = $[0];
12609
+ }, A = b.match(Fw).map(function(S) {
12610
+ var j = S[0];
12610
12611
  if (j === "p" || j === "P") {
12611
12612
  var Y = wi[j];
12612
- return Y($, O.formatLong);
12613
+ return Y(S, O.formatLong);
12613
12614
  }
12614
- return $;
12615
- }).join("").match(Bw).map(function($) {
12616
- if ($ === "''")
12615
+ return S;
12616
+ }).join("").match(Bw).map(function(S) {
12617
+ if (S === "''")
12617
12618
  return "'";
12618
- var j = $[0];
12619
+ var j = S[0];
12619
12620
  if (j === "'")
12620
- return Hw($);
12621
+ return Hw(S);
12621
12622
  var Y = Qx[j];
12622
12623
  if (Y)
12623
- return !(r != null && r.useAdditionalWeekYearTokens) && qd($) && Go($, t, String(e)), !(r != null && r.useAdditionalDayOfYearTokens) && zd($) && Go($, t, String(e)), Y(K, $, O.localize, G);
12624
+ return !(r != null && r.useAdditionalWeekYearTokens) && qd(S) && Go(S, t, String(e)), !(r != null && r.useAdditionalDayOfYearTokens) && zd(S) && Go(S, t, String(e)), Y(K, S, O.localize, G);
12624
12625
  if (j.match(Yw))
12625
12626
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + j + "`");
12626
- return $;
12627
+ return S;
12627
12628
  }).join("");
12628
12629
  return A;
12629
12630
  }
@@ -14518,7 +14519,7 @@ function tE(e, t, r, n) {
14518
14519
  return re(F, I.formatLong);
14519
14520
  }
14520
14521
  return F;
14521
- }).join("").match(KC), $ = [], j = kc(A), Y;
14522
+ }).join("").match(KC), S = [], j = kc(A), Y;
14522
14523
  try {
14523
14524
  var X = function() {
14524
14525
  var U = Y.value;
@@ -14527,14 +14528,14 @@ function tE(e, t, r, n) {
14527
14528
  if (le) {
14528
14529
  var _ = le.incompatibleTokens;
14529
14530
  if (Array.isArray(_)) {
14530
- var ie = $.find(function(be) {
14531
+ var ie = S.find(function(be) {
14531
14532
  return _.includes(be.token) || be.token === re;
14532
14533
  });
14533
14534
  if (ie)
14534
14535
  throw new RangeError("The format string mustn't contain `".concat(ie.fullToken, "` and `").concat(U, "` at the same time"));
14535
- } else if (le.incompatibleTokens === "*" && $.length > 0)
14536
+ } else if (le.incompatibleTokens === "*" && S.length > 0)
14536
14537
  throw new RangeError("The format string mustn't contain `".concat(U, "` and any other token at the same time"));
14537
- $.push({
14538
+ S.push({
14538
14539
  token: re,
14539
14540
  fullToken: U
14540
14541
  });
@@ -14581,10 +14582,10 @@ function tE(e, t, r, n) {
14581
14582
  });
14582
14583
  }).map(function(F) {
14583
14584
  return F[0];
14584
- }), S = te(r);
14585
- if (isNaN(S.getTime()))
14585
+ }), $ = te(r);
14586
+ if (isNaN($.getTime()))
14586
14587
  return /* @__PURE__ */ new Date(NaN);
14587
- var B = Vd(S, qo(S)), V = {}, H = kc(k), Q;
14588
+ var B = Vd($, qo($)), V = {}, H = kc(k), Q;
14588
14589
  try {
14589
14590
  for (H.s(); !(Q = H.n()).done; ) {
14590
14591
  var ee = Q.value;
@@ -15883,7 +15884,7 @@ const ST = se("div", {
15883
15884
  return;
15884
15885
  const H = n.setMonth(I, V);
15885
15886
  v(H, "finish");
15886
- }, [$, j] = hp({
15887
+ }, [S, j] = hp({
15887
15888
  name: "MonthPicker",
15888
15889
  state: "hasFocus",
15889
15890
  controlled: x,
@@ -15913,7 +15914,7 @@ const ST = se("div", {
15913
15914
  }
15914
15915
  }), k = w.useCallback((V, H) => {
15915
15916
  X(H);
15916
- }, [X]), S = w.useCallback(() => {
15917
+ }, [X]), $ = w.useCallback(() => {
15917
15918
  Y(!1);
15918
15919
  }, [Y]), B = n.getMonth(o);
15919
15920
  return /* @__PURE__ */ f.jsx(ST, D({
@@ -15928,10 +15929,10 @@ const ST = se("div", {
15928
15929
  value: H,
15929
15930
  selected: H === R,
15930
15931
  tabIndex: H === W && !ee ? 0 : -1,
15931
- hasFocus: $ && H === W,
15932
+ hasFocus: S && H === W,
15932
15933
  onSelect: A,
15933
15934
  onFocus: k,
15934
- onBlur: S,
15935
+ onBlur: $,
15935
15936
  disabled: ee,
15936
15937
  "aria-current": B === H ? "date" : void 0,
15937
15938
  children: Q
@@ -16184,12 +16185,12 @@ const LT = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
16184
16185
  timeout: E = o,
16185
16186
  // eslint-disable-next-line react/prop-types
16186
16187
  TransitionComponent: M = ba
16187
- } = t, x = ue(t, LT), C = w.useRef(null), b = pt(C, s.ref, r), T = (A) => ($) => {
16188
+ } = t, x = ue(t, LT), C = w.useRef(null), b = pt(C, s.ref, r), T = (A) => (S) => {
16188
16189
  if (A) {
16189
16190
  const j = C.current;
16190
- $ === void 0 ? A(j) : A(j, $);
16191
+ S === void 0 ? A(j) : A(j, S);
16191
16192
  }
16192
- }, O = T(h), N = T((A, $) => {
16193
+ }, O = T(h), N = T((A, S) => {
16193
16194
  uf(A);
16194
16195
  const j = Qo({
16195
16196
  style: y,
@@ -16198,16 +16199,16 @@ const LT = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
16198
16199
  }, {
16199
16200
  mode: "enter"
16200
16201
  });
16201
- A.style.webkitTransition = n.transitions.create("opacity", j), A.style.transition = n.transitions.create("opacity", j), d && d(A, $);
16202
+ A.style.webkitTransition = n.transitions.create("opacity", j), A.style.transition = n.transitions.create("opacity", j), d && d(A, S);
16202
16203
  }), I = T(p), R = T(m), W = T((A) => {
16203
- const $ = Qo({
16204
+ const S = Qo({
16204
16205
  style: y,
16205
16206
  timeout: E,
16206
16207
  easing: l
16207
16208
  }, {
16208
16209
  mode: "exit"
16209
16210
  });
16210
- A.style.webkitTransition = n.transitions.create("opacity", $), A.style.transition = n.transitions.create("opacity", $), v && v(A);
16211
+ A.style.webkitTransition = n.transitions.create("opacity", S), A.style.transition = n.transitions.create("opacity", S), v && v(A);
16211
16212
  }), K = T(g), G = (A) => {
16212
16213
  a && a(C.current, A);
16213
16214
  };
@@ -16224,13 +16225,13 @@ const LT = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
16224
16225
  addEndListener: G,
16225
16226
  timeout: E
16226
16227
  }, x, {
16227
- children: (A, $) => /* @__PURE__ */ w.cloneElement(s, D({
16228
+ children: (A, S) => /* @__PURE__ */ w.cloneElement(s, D({
16228
16229
  style: D({
16229
16230
  opacity: 0,
16230
16231
  visibility: A === "exited" && !u ? "hidden" : void 0
16231
16232
  }, BT[A], y, s.props.style),
16232
16233
  ref: b
16233
- }, $))
16234
+ }, S))
16234
16235
  }));
16235
16236
  });
16236
16237
  process.env.NODE_ENV !== "production" && (df.propTypes = {
@@ -16765,7 +16766,7 @@ function fP(e) {
16765
16766
  dayOfWeekFormatter: K = aP,
16766
16767
  hasFocus: G,
16767
16768
  onFocusedViewChange: A,
16768
- gridLabelId: $
16769
+ gridLabelId: S
16769
16770
  } = n, j = cf({
16770
16771
  shouldDisableDate: W,
16771
16772
  minDate: I,
@@ -16776,16 +16777,16 @@ function fP(e) {
16776
16777
  A && A(_);
16777
16778
  }, [A]), k = w.useCallback((_, ie = "finish") => {
16778
16779
  y || g(_, ie);
16779
- }, [g, y]), S = w.useCallback((_) => {
16780
+ }, [g, y]), $ = w.useCallback((_) => {
16780
16781
  j(_) || (a(_), X(_), Z(!0));
16781
16782
  }, [j, a, Z]), B = Br();
16782
16783
  function V(_, ie) {
16783
16784
  switch (_.key) {
16784
16785
  case "ArrowUp":
16785
- S(r.addDays(ie, -7)), _.preventDefault();
16786
+ $(r.addDays(ie, -7)), _.preventDefault();
16786
16787
  break;
16787
16788
  case "ArrowDown":
16788
- S(r.addDays(ie, 7)), _.preventDefault();
16789
+ $(r.addDays(ie, 7)), _.preventDefault();
16789
16790
  break;
16790
16791
  case "ArrowLeft": {
16791
16792
  const z = r.addDays(ie, B.direction === "ltr" ? -1 : 1), be = B.direction === "ltr" ? r.getPreviousMonth(ie) : r.getNextMonth(ie), me = $n({
@@ -16795,7 +16796,7 @@ function fP(e) {
16795
16796
  maxDate: B.direction === "ltr" ? z : r.endOfMonth(be),
16796
16797
  isDateDisabled: j
16797
16798
  });
16798
- S(me || z), _.preventDefault();
16799
+ $(me || z), _.preventDefault();
16799
16800
  break;
16800
16801
  }
16801
16802
  case "ArrowRight": {
@@ -16806,25 +16807,25 @@ function fP(e) {
16806
16807
  maxDate: B.direction === "ltr" ? r.endOfMonth(be) : z,
16807
16808
  isDateDisabled: j
16808
16809
  });
16809
- S(me || z), _.preventDefault();
16810
+ $(me || z), _.preventDefault();
16810
16811
  break;
16811
16812
  }
16812
16813
  case "Home":
16813
- S(r.startOfWeek(ie)), _.preventDefault();
16814
+ $(r.startOfWeek(ie)), _.preventDefault();
16814
16815
  break;
16815
16816
  case "End":
16816
- S(r.endOfWeek(ie)), _.preventDefault();
16817
+ $(r.endOfWeek(ie)), _.preventDefault();
16817
16818
  break;
16818
16819
  case "PageUp":
16819
- S(r.getNextMonth(ie)), _.preventDefault();
16820
+ $(r.getNextMonth(ie)), _.preventDefault();
16820
16821
  break;
16821
16822
  case "PageDown":
16822
- S(r.getPreviousMonth(ie)), _.preventDefault();
16823
+ $(r.getPreviousMonth(ie)), _.preventDefault();
16823
16824
  break;
16824
16825
  }
16825
16826
  }
16826
16827
  function H(_, ie) {
16827
- S(ie);
16828
+ $(ie);
16828
16829
  }
16829
16830
  function Q(_, ie) {
16830
16831
  G && r.isSameDay(Y, ie) && Z(!1);
@@ -16843,7 +16844,7 @@ function fP(e) {
16843
16844
  }, [s, N, O, Y, j, r]);
16844
16845
  return /* @__PURE__ */ f.jsxs("div", {
16845
16846
  role: "grid",
16846
- "aria-labelledby": $,
16847
+ "aria-labelledby": S,
16847
16848
  children: [/* @__PURE__ */ f.jsx(iP, {
16848
16849
  role: "row",
16849
16850
  className: o.header,
@@ -17389,14 +17390,14 @@ function YP(e) {
17389
17390
  };
17390
17391
  if (E.length === 1 && E[0] === "year")
17391
17392
  return null;
17392
- const $ = t;
17393
+ const S = t;
17393
17394
  return /* @__PURE__ */ f.jsxs(IP, {
17394
- ownerState: $,
17395
+ ownerState: S,
17395
17396
  className: N.root,
17396
17397
  children: [/* @__PURE__ */ f.jsxs(LP, {
17397
17398
  role: "presentation",
17398
17399
  onClick: A,
17399
- ownerState: $,
17400
+ ownerState: S,
17400
17401
  "aria-live": "polite",
17401
17402
  className: N.labelContainer,
17402
17403
  children: [/* @__PURE__ */ f.jsx(pf, {
@@ -17404,7 +17405,7 @@ function YP(e) {
17404
17405
  transKey: O.format(o, "monthAndYear"),
17405
17406
  children: /* @__PURE__ */ f.jsx(BP, {
17406
17407
  id: M,
17407
- ownerState: $,
17408
+ ownerState: S,
17408
17409
  className: N.label,
17409
17410
  children: O.format(o, "monthAndYear")
17410
17411
  })
@@ -17416,7 +17417,7 @@ function YP(e) {
17416
17417
  }, I, {
17417
17418
  children: /* @__PURE__ */ f.jsx(VP, {
17418
17419
  as: r.SwitchViewIcon,
17419
- ownerState: $,
17420
+ ownerState: S,
17420
17421
  className: N.switchViewIcon
17421
17422
  })
17422
17423
  }))]
@@ -17592,14 +17593,14 @@ const JP = se("div", {
17592
17593
  onYearFocus: x,
17593
17594
  hasFocus: C,
17594
17595
  onFocusedViewChange: b
17595
- } = i, T = i, O = QP(T), N = w.useMemo(() => u ?? a.startOfYear(n), [n, a, u]), I = w.useMemo(() => u != null ? a.getYear(u) : M ? null : a.getYear(n), [n, u, a, M]), R = w.useContext(bn), W = w.useRef(null), [K, G] = w.useState(() => I || a.getYear(n)), [A, $] = ta({
17596
+ } = i, T = i, O = QP(T), N = w.useMemo(() => u ?? a.startOfYear(n), [n, a, u]), I = w.useMemo(() => u != null ? a.getYear(u) : M ? null : a.getYear(n), [n, u, a, M]), R = w.useContext(bn), W = w.useRef(null), [K, G] = w.useState(() => I || a.getYear(n)), [A, S] = ta({
17596
17597
  name: "YearPicker",
17597
17598
  state: "hasFocus",
17598
17599
  controlled: C,
17599
17600
  default: s
17600
17601
  }), j = w.useCallback((L) => {
17601
- $(L), b && b(L);
17602
- }, [$, b]), Y = w.useCallback((L) => !!(h && a.isBeforeYear(L, n) || p && a.isAfterYear(L, n) || g && a.isBeforeYear(L, g) || v && a.isAfterYear(L, v) || E && E(L)), [p, h, v, g, n, E, a]), X = (L, F, U = "finish") => {
17602
+ S(L), b && b(L);
17603
+ }, [S, b]), Y = w.useCallback((L) => !!(h && a.isBeforeYear(L, n) || p && a.isAfterYear(L, n) || g && a.isBeforeYear(L, g) || v && a.isAfterYear(L, v) || E && E(L)), [p, h, v, g, n, E, a]), X = (L, F, U = "finish") => {
17603
17604
  if (y)
17604
17605
  return;
17605
17606
  const re = a.setYear(N, F);
@@ -17610,7 +17611,7 @@ const JP = se("div", {
17610
17611
  w.useEffect(() => {
17611
17612
  G((L) => I !== null && L !== I ? I : L);
17612
17613
  }, [I]);
17613
- const k = R === "desktop" ? 4 : 3, S = w.useCallback((L, F) => {
17614
+ const k = R === "desktop" ? 4 : 3, $ = w.useCallback((L, F) => {
17614
17615
  switch (L.key) {
17615
17616
  case "ArrowUp":
17616
17617
  Z(F - k), L.preventDefault();
@@ -17648,7 +17649,7 @@ const JP = se("div", {
17648
17649
  selected: U,
17649
17650
  value: F,
17650
17651
  onClick: X,
17651
- onKeyDown: S,
17652
+ onKeyDown: $,
17652
17653
  autoFocus: A && F === K,
17653
17654
  ref: U ? W : void 0,
17654
17655
  disabled: d || Y(L),
@@ -17785,7 +17786,7 @@ const aD = se(Vs, {
17785
17786
  focusedView: K,
17786
17787
  onFocusedViewChange: G
17787
17788
  } = a, A = ue(a, rD), {
17788
- openView: $,
17789
+ openView: S,
17789
17790
  setOpenView: j,
17790
17791
  openNext: Y
17791
17792
  } = Fs({
@@ -17798,7 +17799,7 @@ const aD = se(Vs, {
17798
17799
  calendarState: X,
17799
17800
  changeFocusedDay: Z,
17800
17801
  changeMonth: k,
17801
- handleChangeMonth: S,
17802
+ handleChangeMonth: $,
17802
17803
  isDateDisabled: B,
17803
17804
  onMonthSwitchingAnimationEnd: V
17804
17805
  } = IT({
@@ -17850,26 +17851,26 @@ const aD = se(Vs, {
17850
17851
  name: "DayPicker",
17851
17852
  state: "focusedView",
17852
17853
  controlled: K,
17853
- default: i ? $ : null
17854
+ default: i ? S : null
17854
17855
  }), me = z !== null, Ee = _r((ge) => (Pe) => {
17855
17856
  if (G) {
17856
17857
  G(ge)(Pe);
17857
17858
  return;
17858
17859
  }
17859
17860
  be(Pe ? ge : (ve) => ve === ge ? null : ve);
17860
- }), Ue = w.useRef($);
17861
+ }), Ue = w.useRef(S);
17861
17862
  return w.useEffect(() => {
17862
- Ue.current !== $ && (Ue.current = $, Ee($)(!0));
17863
- }, [$, Ee]), /* @__PURE__ */ f.jsxs(aD, {
17863
+ Ue.current !== S && (Ue.current = S, Ee(S)(!0));
17864
+ }, [S, Ee]), /* @__PURE__ */ f.jsxs(aD, {
17864
17865
  ref: r,
17865
17866
  className: pe(F.root, T),
17866
17867
  ownerState: L,
17867
17868
  children: [/* @__PURE__ */ f.jsx(YP, D({}, A, {
17868
17869
  views: C,
17869
- openView: $,
17870
+ openView: S,
17870
17871
  currentMonth: X.currentMonth,
17871
17872
  onViewChange: j,
17872
- onMonthChange: (ge, Pe) => S({
17873
+ onMonthChange: (ge, Pe) => $({
17873
17874
  newMonth: ge,
17874
17875
  direction: Pe
17875
17876
  }),
@@ -17883,17 +17884,17 @@ const aD = se(Vs, {
17883
17884
  })), /* @__PURE__ */ f.jsx(iD, {
17884
17885
  reduceAnimations: m,
17885
17886
  className: F.viewTransitionContainer,
17886
- transKey: $,
17887
+ transKey: S,
17887
17888
  ownerState: L,
17888
17889
  children: /* @__PURE__ */ f.jsxs("div", {
17889
- children: [$ === "year" && /* @__PURE__ */ f.jsx(Ef, D({}, A, U, _, {
17890
+ children: [S === "year" && /* @__PURE__ */ f.jsx(Ef, D({}, A, U, _, {
17890
17891
  autoFocus: i,
17891
17892
  date: l,
17892
17893
  onChange: Q,
17893
17894
  shouldDisableYear: M,
17894
17895
  hasFocus: me,
17895
17896
  onFocusedViewChange: Ee("year")
17896
- })), $ === "month" && /* @__PURE__ */ f.jsx(sf, D({}, U, _, {
17897
+ })), S === "month" && /* @__PURE__ */ f.jsx(sf, D({}, U, _, {
17897
17898
  autoFocus: i,
17898
17899
  hasFocus: me,
17899
17900
  className: T,
@@ -17901,7 +17902,7 @@ const aD = se(Vs, {
17901
17902
  onChange: H,
17902
17903
  shouldDisableMonth: E,
17903
17904
  onFocusedViewChange: Ee("month")
17904
- })), $ === "day" && /* @__PURE__ */ f.jsx(fP, D({}, A, X, U, _, {
17905
+ })), S === "day" && /* @__PURE__ */ f.jsx(fP, D({}, A, X, U, _, {
17905
17906
  autoFocus: i,
17906
17907
  onMonthSwitchingAnimationEnd: V,
17907
17908
  onFocusedDayChange: Z,
@@ -18345,9 +18346,9 @@ function OD(e) {
18345
18346
  disabled: y,
18346
18347
  readOnly: E,
18347
18348
  className: M
18348
- } = t, x = t, C = tt(), b = w.useContext(bn), T = w.useRef(!1), O = bD(x), N = u(m, g), I = !r && g === "hours" && (m < 1 || m > 12), R = (k, S) => {
18349
- y || E || u(k, g) || h(k, S);
18350
- }, W = (k, S) => {
18349
+ } = t, x = t, C = tt(), b = w.useContext(bn), T = w.useRef(!1), O = bD(x), N = u(m, g), I = !r && g === "hours" && (m < 1 || m > 12), R = (k, $) => {
18350
+ y || E || u(k, g) || h(k, $);
18351
+ }, W = (k, $) => {
18351
18352
  let {
18352
18353
  offsetX: B,
18353
18354
  offsetY: V
@@ -18357,14 +18358,14 @@ function OD(e) {
18357
18358
  B = k.changedTouches[0].clientX - Q.left, V = k.changedTouches[0].clientY - Q.top;
18358
18359
  }
18359
18360
  const H = g === "seconds" || g === "minutes" ? uD(B, V, p) : dD(B, V, !!r);
18360
- R(H, S);
18361
+ R(H, $);
18361
18362
  }, K = (k) => {
18362
18363
  T.current = !0, W(k, "shallow");
18363
18364
  }, G = (k) => {
18364
18365
  T.current && (W(k, "finish"), T.current = !1);
18365
18366
  }, A = (k) => {
18366
18367
  k.buttons > 0 && W(k.nativeEvent, "shallow");
18367
- }, $ = (k) => {
18368
+ }, S = (k) => {
18368
18369
  T.current && (T.current = !1), W(k.nativeEvent, "finish");
18369
18370
  }, j = w.useMemo(() => g === "hours" ? !0 : m % 5 === 0, [g, m]), Y = g === "minutes" ? p : 1, X = w.useRef(null);
18370
18371
  Qt(() => {
@@ -18394,7 +18395,7 @@ function OD(e) {
18394
18395
  children: [/* @__PURE__ */ f.jsx(ED, {
18395
18396
  onTouchMove: K,
18396
18397
  onTouchEnd: G,
18397
- onMouseUp: $,
18398
+ onMouseUp: S,
18398
18399
  onMouseMove: A,
18399
18400
  ownerState: {
18400
18401
  disabled: y
@@ -18628,8 +18629,8 @@ const ND = (e) => {
18628
18629
  getMinutesClockNumberText: v,
18629
18630
  getSecondsClockNumberText: g
18630
18631
  });
18631
- const A = gn(), $ = m ?? A.openPreviousView, j = x ?? A.openNextView, Y = p ?? A.clockLabelText, X = h ?? A.hoursClockNumberText, Z = v ?? A.minutesClockNumberText, k = g ?? A.secondsClockNumberText, {
18632
- openView: S,
18632
+ const A = gn(), S = m ?? A.openPreviousView, j = x ?? A.openNextView, Y = p ?? A.clockLabelText, X = h ?? A.hoursClockNumberText, Z = v ?? A.minutesClockNumberText, k = g ?? A.secondsClockNumberText, {
18633
+ openView: $,
18633
18634
  setOpenView: B,
18634
18635
  nextView: V,
18635
18636
  previousView: H,
@@ -18674,7 +18675,7 @@ const ND = (e) => {
18674
18675
  throw new Error("not supported");
18675
18676
  }
18676
18677
  }, [o, F, d, y, U, E, M, C, L]), _ = ea(), ie = w.useMemo(() => {
18677
- switch (S) {
18678
+ switch ($) {
18678
18679
  case "hours": {
18679
18680
  const me = (Ee, Ue) => {
18680
18681
  const ge = Di(Ee, U, o);
@@ -18731,14 +18732,14 @@ const ND = (e) => {
18731
18732
  default:
18732
18733
  throw new Error("You must provide the type for ClockView");
18733
18734
  }
18734
- }, [S, L, u, o, X, Z, k, U, Q, F, le, _, K]), z = n, be = ND(z);
18735
+ }, [$, L, u, o, X, Z, k, U, Q, F, le, _, K]), z = n, be = ND(z);
18735
18736
  return /* @__PURE__ */ f.jsxs(jD, {
18736
18737
  ref: r,
18737
18738
  className: pe(be.root, W),
18738
18739
  ownerState: z,
18739
18740
  children: [b && /* @__PURE__ */ f.jsx(AD, {
18740
18741
  className: be.arrowSwitcher,
18741
- leftArrowButtonText: $,
18742
+ leftArrowButtonText: S,
18742
18743
  rightArrowButtonText: j,
18743
18744
  components: s,
18744
18745
  componentsProps: l,
@@ -18751,7 +18752,7 @@ const ND = (e) => {
18751
18752
  autoFocus: i,
18752
18753
  date: u,
18753
18754
  ampmInClock: a,
18754
- type: S,
18755
+ type: $,
18755
18756
  ampm: o,
18756
18757
  getClockLabelText: Y,
18757
18758
  minutesStep: M,
@@ -19587,13 +19588,13 @@ const gO = {
19587
19588
  timeout: m = "auto",
19588
19589
  // eslint-disable-next-line react/prop-types
19589
19590
  TransitionComponent: y = ba
19590
- } = t, E = ue(t, vO), M = w.useRef(), x = w.useRef(), C = Br(), b = w.useRef(null), T = pt(b, a.ref, r), O = ($) => (j) => {
19591
- if ($) {
19591
+ } = t, E = ue(t, vO), M = w.useRef(), x = w.useRef(), C = Br(), b = w.useRef(null), T = pt(b, a.ref, r), O = (S) => (j) => {
19592
+ if (S) {
19592
19593
  const Y = b.current;
19593
- j === void 0 ? $(Y) : $(Y, j);
19594
+ j === void 0 ? S(Y) : S(Y, j);
19594
19595
  }
19595
- }, N = O(d), I = O(($, j) => {
19596
- uf($);
19596
+ }, N = O(d), I = O((S, j) => {
19597
+ uf(S);
19597
19598
  const {
19598
19599
  duration: Y,
19599
19600
  delay: X,
@@ -19606,15 +19607,15 @@ const gO = {
19606
19607
  mode: "enter"
19607
19608
  });
19608
19609
  let k;
19609
- m === "auto" ? (k = C.transitions.getAutoHeightDuration($.clientHeight), x.current = k) : k = Y, $.style.transition = [C.transitions.create("opacity", {
19610
+ m === "auto" ? (k = C.transitions.getAutoHeightDuration(S.clientHeight), x.current = k) : k = Y, S.style.transition = [C.transitions.create("opacity", {
19610
19611
  duration: k,
19611
19612
  delay: X
19612
19613
  }), C.transitions.create("transform", {
19613
19614
  duration: Za ? k : k * 0.666,
19614
19615
  delay: X,
19615
19616
  easing: Z
19616
- })].join(","), l && l($, j);
19617
- }), R = O(u), W = O(v), K = O(($) => {
19617
+ })].join(","), l && l(S, j);
19618
+ }), R = O(u), W = O(v), K = O((S) => {
19618
19619
  const {
19619
19620
  duration: j,
19620
19621
  delay: Y,
@@ -19627,16 +19628,16 @@ const gO = {
19627
19628
  mode: "exit"
19628
19629
  });
19629
19630
  let Z;
19630
- m === "auto" ? (Z = C.transitions.getAutoHeightDuration($.clientHeight), x.current = Z) : Z = j, $.style.transition = [C.transitions.create("opacity", {
19631
+ m === "auto" ? (Z = C.transitions.getAutoHeightDuration(S.clientHeight), x.current = Z) : Z = j, S.style.transition = [C.transitions.create("opacity", {
19631
19632
  duration: Z,
19632
19633
  delay: Y
19633
19634
  }), C.transitions.create("transform", {
19634
19635
  duration: Za ? Z : Z * 0.666,
19635
19636
  delay: Za ? Y : Y || Z * 0.333,
19636
19637
  easing: X
19637
- })].join(","), $.style.opacity = 0, $.style.transform = Oi(0.75), p && p($);
19638
- }), G = O(h), A = ($) => {
19639
- m === "auto" && (M.current = setTimeout($, x.current || 0)), n && n(b.current, $);
19638
+ })].join(","), S.style.opacity = 0, S.style.transform = Oi(0.75), p && p(S);
19639
+ }), G = O(h), A = (S) => {
19640
+ m === "auto" && (M.current = setTimeout(S, x.current || 0)), n && n(b.current, S);
19640
19641
  };
19641
19642
  return w.useEffect(() => () => {
19642
19643
  clearTimeout(M.current);
@@ -19653,12 +19654,12 @@ const gO = {
19653
19654
  addEndListener: A,
19654
19655
  timeout: m === "auto" ? null : m
19655
19656
  }, E, {
19656
- children: ($, j) => /* @__PURE__ */ w.cloneElement(a, D({
19657
+ children: (S, j) => /* @__PURE__ */ w.cloneElement(a, D({
19657
19658
  style: D({
19658
19659
  opacity: 0,
19659
19660
  transform: Oi(0.75),
19660
- visibility: $ === "exited" && !s ? "hidden" : void 0
19661
- }, gO[$], g, a.props.style),
19661
+ visibility: S === "exited" && !s ? "hidden" : void 0
19662
+ }, gO[S], g, a.props.style),
19662
19663
  ref: T
19663
19664
  }, j))
19664
19665
  }));
@@ -20268,7 +20269,7 @@ function VO(e) {
20268
20269
  const [b, T, O] = FO(h, i ?? s), N = w.useRef(null), I = pt(N, a), R = pt(I, b), W = r, K = AO(W), {
20269
20270
  onClick: G,
20270
20271
  onTouchStart: A
20271
- } = E, $ = ue(E, jO), j = (Z) => {
20272
+ } = E, S = ue(E, jO), j = (Z) => {
20272
20273
  Z.key === "Escape" && (Z.stopPropagation(), s());
20273
20274
  }, Y = (t = M == null ? void 0 : M.ActionBar) != null ? t : $O, X = (M == null ? void 0 : M.PaperContent) || w.Fragment;
20274
20275
  return /* @__PURE__ */ f.jsx(IO, D({
@@ -20294,17 +20295,17 @@ function VO(e) {
20294
20295
  tabIndex: -1,
20295
20296
  elevation: 8,
20296
20297
  ref: R,
20297
- onClick: (S) => {
20298
- T(S), G && G(S);
20298
+ onClick: ($) => {
20299
+ T($), G && G($);
20299
20300
  },
20300
- onTouchStart: (S) => {
20301
- O(S), A && A(S);
20301
+ onTouchStart: ($) => {
20302
+ O($), A && A($);
20302
20303
  },
20303
20304
  ownerState: D({}, W, {
20304
20305
  placement: k
20305
20306
  }),
20306
20307
  className: K.paper
20307
- }, $, {
20308
+ }, S, {
20308
20309
  children: /* @__PURE__ */ f.jsxs(X, D({}, x == null ? void 0 : x.paperContent, {
20309
20310
  children: [o, /* @__PURE__ */ f.jsx(Y, D({
20310
20311
  onAccept: u,
@@ -20656,30 +20657,30 @@ const ek = (e, t) => (r) => {
20656
20657
  };
20657
20658
  }, [e, r, o, s, g]), M = w.useMemo(() => y && E ? ek(E, e) : (A) => A, [e, E, y]), x = u === null ? null : g.date(u), [C, b] = w.useState(x), [T, O] = w.useState(Yc(g, u, o)), N = w.useRef(), I = w.useRef(g.locale), R = w.useRef(o);
20658
20659
  w.useEffect(() => {
20659
- const A = u !== N.current, $ = g.locale !== I.current, j = o !== R.current;
20660
- if (N.current = u, I.current = g.locale, R.current = o, !A && !$ && !j)
20660
+ const A = u !== N.current, S = g.locale !== I.current, j = o !== R.current;
20661
+ if (N.current = u, I.current = g.locale, R.current = o, !A && !S && !j)
20661
20662
  return;
20662
20663
  const Y = u === null ? null : g.date(u), X = u === null || g.isValid(Y);
20663
20664
  let Z = C === null && Y === null;
20664
20665
  if (C !== null && Y !== null) {
20665
- const S = g.isEqual(C, Y);
20666
- if (S)
20666
+ const $ = g.isEqual(C, Y);
20667
+ if ($)
20667
20668
  Z = !0;
20668
20669
  else {
20669
20670
  const B = Math.abs(g.getDiff(C, Y));
20670
- Z = B === 0 ? S : B < 1e3;
20671
+ Z = B === 0 ? $ : B < 1e3;
20671
20672
  }
20672
20673
  }
20673
- if (!$ && !j && (!X || Z))
20674
+ if (!S && !j && (!X || Z))
20674
20675
  return;
20675
20676
  const k = Yc(g, u, o);
20676
20677
  b(Y), O(k);
20677
20678
  }, [g, u, o, C]);
20678
20679
  const W = (A) => {
20679
- const $ = A === "" || A === s ? "" : A;
20680
- O($);
20681
- const j = $ === null ? null : g.parse($, o);
20682
- n && !g.isValid(j) || (b(j), l(j, $ || void 0));
20680
+ const S = A === "" || A === s ? "" : A;
20681
+ O(S);
20682
+ const j = S === null ? null : g.parse(S, o);
20683
+ n && !g.isValid(j) || (b(j), l(j, S || void 0));
20683
20684
  }, K = QO({
20684
20685
  value: T,
20685
20686
  onChange: W,
@@ -20817,14 +20818,14 @@ function dk(e) {
20817
20818
  dateRangeIcon: x,
20818
20819
  timeIcon: C,
20819
20820
  hideTabs: b
20820
- } = n, T = ue(n, ik), O = (t = T.components) == null ? void 0 : t.Tabs, N = nk(M, p), I = w.useContext(bn), R = sk(n), W = h ?? I !== "desktop", K = !b && typeof window < "u" && window.innerHeight > 667, G = w.useCallback((k, S) => {
20821
- l(k, I, S);
20821
+ } = n, T = ue(n, ik), O = (t = T.components) == null ? void 0 : t.Tabs, N = nk(M, p), I = w.useContext(bn), R = sk(n), W = h ?? I !== "desktop", K = !b && typeof window < "u" && window.innerHeight > 667, G = w.useCallback((k, $) => {
20822
+ l(k, I, $);
20822
20823
  }, [l, I]), A = w.useCallback((k) => {
20823
20824
  s && v(), u && u(k);
20824
20825
  }, [s, u, v]);
20825
20826
  process.env.NODE_ENV !== "production" && !qc && !M.includes(d) && (console.warn(`MUI: \`openTo="${d}"\` is not a valid prop.`, `It must be an element of \`views=["${M.join('", "')}"]\`.`), qc = !0);
20826
20827
  const {
20827
- openView: $,
20828
+ openView: S,
20828
20829
  setOpenView: j,
20829
20830
  handleChangeAndOpenNext: Y
20830
20831
  } = Fs({
@@ -20838,7 +20839,7 @@ function dk(e) {
20838
20839
  setFocusedView: Z
20839
20840
  } = ok({
20840
20841
  autoFocus: o,
20841
- openView: $
20842
+ openView: S
20842
20843
  });
20843
20844
  return /* @__PURE__ */ f.jsxs(ck, {
20844
20845
  ownerState: {
@@ -20851,7 +20852,7 @@ function dk(e) {
20851
20852
  parsedValue: a,
20852
20853
  onChange: G,
20853
20854
  setOpenView: j,
20854
- openView: $,
20855
+ openView: S,
20855
20856
  toolbarTitle: E,
20856
20857
  toolbarFormat: m,
20857
20858
  toolbarPlaceholder: y,
@@ -20860,7 +20861,7 @@ function dk(e) {
20860
20861
  })), K && !!O && /* @__PURE__ */ f.jsx(O, D({
20861
20862
  dateRangeIcon: x,
20862
20863
  timeIcon: C,
20863
- view: $,
20864
+ view: S,
20864
20865
  onChange: j
20865
20866
  }, (r = T.componentsProps) == null ? void 0 : r.tabs)), /* @__PURE__ */ f.jsx(Vs, {
20866
20867
  children: s ? /* @__PURE__ */ f.jsx(lk, {
@@ -20871,19 +20872,19 @@ function dk(e) {
20871
20872
  TextFieldProps: uk
20872
20873
  }))
20873
20874
  }) : /* @__PURE__ */ f.jsxs(w.Fragment, {
20874
- children: [Hc($) && /* @__PURE__ */ f.jsx(Tf, D({
20875
+ children: [Hc(S) && /* @__PURE__ */ f.jsx(Tf, D({
20875
20876
  autoFocus: o,
20876
20877
  date: a,
20877
20878
  onViewChange: j,
20878
20879
  onChange: Y,
20879
- view: $,
20880
+ view: S,
20880
20881
  views: M.filter(Hc),
20881
20882
  focusedView: X,
20882
20883
  onFocusedViewChange: Z
20883
- }, T)), zc($) && /* @__PURE__ */ f.jsx(kf, D({}, T, {
20884
+ }, T)), zc(S) && /* @__PURE__ */ f.jsx(kf, D({}, T, {
20884
20885
  autoFocus: o,
20885
20886
  date: a,
20886
- view: $,
20887
+ view: S,
20887
20888
  views: M.filter(zc),
20888
20889
  onChange: Y,
20889
20890
  onViewChange: j,
@@ -21738,21 +21739,21 @@ const Ek = ({ dates: e, readonly: t, onChange: r, title: n }) => {
21738
21739
  }, [M]);
21739
21740
  const A = () => {
21740
21741
  const k = {};
21741
- return M.map((S) => k[S.id] = S.text), k;
21742
+ return M.map(($) => k[$.id] = $.text), k;
21742
21743
  };
21743
21744
  Ve(() => {
21744
21745
  n || (async () => {
21745
21746
  v("GetControls", !0);
21746
- const S = await o().post("/externalCustomerCabinet/form/registration", {});
21747
- e == null || e(S.data.controls);
21748
- let B = S.data.controls;
21749
- B.some((V) => V.id === "parentphone") && p && (B = B.filter((V) => V.id !== "parentphone")), x(B), b(S.data.controls.filter((V) => {
21747
+ const $ = await o().post("/externalCustomerCabinet/form/registration", {});
21748
+ e == null || e($.data.controls);
21749
+ let B = $.data.controls;
21750
+ B.some((V) => V.id === "parentphone") && p && (B = B.filter((V) => V.id !== "parentphone")), x(B), b($.data.controls.filter((V) => {
21750
21751
  var H;
21751
21752
  return ((H = V.validation) == null ? void 0 : H.readOnly) && !!V.text;
21752
21753
  })), v("GetControls", !1);
21753
21754
  })();
21754
21755
  }, []);
21755
- const $ = () => {
21756
+ const S = () => {
21756
21757
  W() && !n && (I(!0), o().patch("/externalCustomerCabinet/form/registration", {
21757
21758
  recommend: p,
21758
21759
  linkId: d,
@@ -21761,29 +21762,29 @@ const Ek = ({ dates: e, readonly: t, onChange: r, title: n }) => {
21761
21762
  VKUserId: i,
21762
21763
  ...u ?? {}
21763
21764
  }).then((k) => {
21764
- s((S) => ({ ...S, isReg: !1 })), l(k.data.phoneNumber), E(!0), m("info"), b(M.filter((S) => {
21765
+ s(($) => ({ ...$, isReg: !1 })), l(k.data.phoneNumber), E(!0), m("info"), b(M.filter(($) => {
21765
21766
  var B;
21766
- return ((B = S.validation) == null ? void 0 : B.readOnly) && !!S.text;
21767
+ return ((B = $.validation) == null ? void 0 : B.readOnly) && !!$.text;
21767
21768
  })), r && (h != null && h.ymIdentifier) && (h != null && h.ymReachGoalIdentifier) && ym(h == null ? void 0 : h.ymIdentifier, "reachGoal", h == null ? void 0 : h.ymReachGoalIdentifier);
21768
21769
  }).catch((k) => {
21769
21770
  g(k.response.data.msg);
21770
21771
  }).finally(() => {
21771
21772
  I(!1);
21772
21773
  }));
21773
- }, j = (k, S) => {
21774
- Date.parse(S) && (S = G(S)), x((B) => {
21774
+ }, j = (k, $) => {
21775
+ Date.parse($) && ($ = G($)), x((B) => {
21775
21776
  const V = B.find((H) => H.id === k);
21776
- return V && (V.text = S), [...B];
21777
+ return V && (V.text = $), [...B];
21777
21778
  });
21778
- }, Y = (k, S) => {
21779
+ }, Y = (k, $) => {
21779
21780
  x((B) => {
21780
21781
  const V = B.find((H) => H.id === k);
21781
- return V && (V.checked = S), [...B];
21782
+ return V && (V.checked = $), [...B];
21782
21783
  });
21783
21784
  }, X = (k) => {
21784
- x((S) => {
21785
- let B = S.find((V) => V.id === k.id);
21786
- return B && (B = { ...k }, O(Math.random())), [...S];
21785
+ x(($) => {
21786
+ let B = $.find((V) => V.id === k.id);
21787
+ return B && (B = { ...k }, O(Math.random())), [...$];
21787
21788
  });
21788
21789
  };
21789
21790
  return {
@@ -21796,7 +21797,7 @@ const Ek = ({ dates: e, readonly: t, onChange: r, title: n }) => {
21796
21797
  style: { display: "flex", flexDirection: "column", gap: "1.5em", marginBottom: "1em" },
21797
21798
  children: [
21798
21799
  /* @__PURE__ */ f.jsx("div", { style: { display: "flex", flexDirection: "column", gap: "1em" }, children: M == null ? void 0 : M.map(
21799
- (k, S) => /* @__PURE__ */ f.jsx("div", { children: /* @__PURE__ */ f.jsx(
21800
+ (k, $) => /* @__PURE__ */ f.jsx("div", { children: /* @__PURE__ */ f.jsx(
21800
21801
  Dk,
21801
21802
  {
21802
21803
  isReg: r,
@@ -21807,13 +21808,13 @@ const Ek = ({ dates: e, readonly: t, onChange: r, title: n }) => {
21807
21808
  value: k.text ?? "",
21808
21809
  readonlyControls: C.map((B) => B.id)
21809
21810
  }
21810
- ) }, S)
21811
+ ) }, $)
21811
21812
  ) }),
21812
21813
  /* @__PURE__ */ f.jsx("div", { style: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ f.jsx(
21813
21814
  ks,
21814
21815
  {
21815
21816
  isLoading: N,
21816
- onClick: () => $(),
21817
+ onClick: () => S(),
21817
21818
  children: t || "Сохранить анкету"
21818
21819
  }
21819
21820
  ) })
@@ -21865,7 +21866,7 @@ const Ek = ({ dates: e, readonly: t, onChange: r, title: n }) => {
21865
21866
  const { cabinetSettings: t, cabinetUISettings: r } = Te(wt), { setTheme: n, theme: o, currentMode: a } = Te(Gn), { isLoading: i } = Te(Lr), { openedPage: s, setOpenedPage: l } = Te(Jo), u = (y, E) => {
21866
21867
  l(E);
21867
21868
  }, d = () => {
21868
- var y, E, M, x, C, b, T, O, N, I, R, W, K, G, A, $, j, Y, X, Z, k, S, B, V, H, Q, ee, L, F, U, re, le;
21869
+ var y, E, M, x, C, b, T, O, N, I, R, W, K, G, A, S, j, Y, X, Z, k, $, B, V, H, Q, ee, L, F, U, re, le;
21869
21870
  return a === "light" ? {
21870
21871
  // palette values for light mode
21871
21872
  primary: {
@@ -21899,7 +21900,7 @@ const Ek = ({ dates: e, readonly: t, onChange: r, title: n }) => {
21899
21900
  MuiFormLabel: {
21900
21901
  styleOverrides: {
21901
21902
  root: {
21902
- color: (($ = (A = r == null ? void 0 : r.theme) == null ? void 0 : A.light) == null ? void 0 : $.theme) ?? "#ffffff"
21903
+ color: ((S = (A = r == null ? void 0 : r.theme) == null ? void 0 : A.light) == null ? void 0 : S.theme) ?? "#ffffff"
21903
21904
  }
21904
21905
  }
21905
21906
  }
@@ -21911,7 +21912,7 @@ const Ek = ({ dates: e, readonly: t, onChange: r, title: n }) => {
21911
21912
  contrastText: ((Z = (X = r == null ? void 0 : r.theme) == null ? void 0 : X.dark) == null ? void 0 : Z.text) ?? "#000000"
21912
21913
  },
21913
21914
  text: {
21914
- primary: ((S = (k = r == null ? void 0 : r.theme) == null ? void 0 : k.dark) == null ? void 0 : S.theme) ?? "#ffffff"
21915
+ primary: (($ = (k = r == null ? void 0 : r.theme) == null ? void 0 : k.dark) == null ? void 0 : $.theme) ?? "#ffffff"
21915
21916
  },
21916
21917
  background: {
21917
21918
  default: ((V = (B = r == null ? void 0 : r.theme) == null ? void 0 : B.dark) == null ? void 0 : V.background) ?? "#000000"