bonuspluscomponents 0.0.344 → 0.0.346

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.
@@ -1,6 +1,6 @@
1
1
  import * as w from "react";
2
- import pt, { createContext as so, useState as fe, useContext as de, useEffect as De, useMemo as vu, forwardRef as Mp, Children as kp, isValidElement as Lo, cloneElement as Bo, useRef as dr, createElement as _p, useReducer as Rp, useLayoutEffect as Sp, useCallback as $p } from "react";
3
- import { createTheme as Np, responsiveFontSizes as gu, ThemeProvider as jp, CssBaseline as Ap, Typography as lo, Container as Uo, Backdrop as yu, CircularProgress as bu, Box as Jt, Modal as xu, IconButton as Ln, TextField as wu, Rating as Ip, generateUtilityClasses as st, generateUtilityClass as lt, unstable_composeClasses as ct, useControlled as Lp, useEventCallback as Bp, Checkbox as Fp, FormControl as ar, InputLabel as ir, Select as Fr, MenuItem as wn, Button as Cu, InputAdornment as Vp, Tooltip as Wp, tooltipClasses as Yp, Divider as Ua, Collapse as zp, Popper as Hp, Fade as Up, BottomNavigation as qp, BottomNavigationAction as Gp } from "@mui/material";
2
+ import pt, { createContext as so, useState as fe, useContext as de, useEffect as De, useMemo as vu, forwardRef as Mp, Children as kp, isValidElement as Lo, cloneElement as Bo, useRef as ur, createElement as _p, useReducer as Rp, useLayoutEffect as Sp, useCallback as $p } from "react";
3
+ import { createTheme as Np, responsiveFontSizes as gu, ThemeProvider as jp, CssBaseline as Ap, Typography as lo, Container as Uo, Backdrop as yu, CircularProgress as bu, Box as Jt, Modal as xu, IconButton as Ln, TextField as wu, Rating as Ip, generateUtilityClasses as st, generateUtilityClass as lt, unstable_composeClasses as ct, useControlled as Lp, useEventCallback as Bp, Checkbox as Fp, FormControl as ar, InputLabel as Br, Select as Fr, MenuItem as wn, Button as Cu, InputAdornment as Vp, Tooltip as Wp, tooltipClasses as Yp, Divider as Ua, Collapse as zp, Popper as Hp, Fade as Up, BottomNavigation as qp, BottomNavigationAction as Gp } from "@mui/material";
4
4
  import Eu from "axios";
5
5
  import Kp from "@emotion/styled";
6
6
  import { LoadingButton as Xp } from "@mui/lab";
@@ -1924,7 +1924,7 @@ function $u(e) {
1924
1924
  }
1925
1925
  });
1926
1926
  }
1927
- function fr(e) {
1927
+ function dr(e) {
1928
1928
  let t = "https://mui.com/production-error/?code=" + e;
1929
1929
  for (let n = 1; n < arguments.length; n += 1)
1930
1930
  t += "&args[]=" + encodeURIComponent(arguments[n]);
@@ -2149,7 +2149,7 @@ function Kr(e, t, n, r, o) {
2149
2149
  const Bh = l.oneOfType([l.func, l.object]), Zi = Bh;
2150
2150
  function xe(e) {
2151
2151
  if (typeof e != "string")
2152
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : fr(7));
2152
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : dr(7));
2153
2153
  return e.charAt(0).toUpperCase() + e.slice(1);
2154
2154
  }
2155
2155
  function Fh(...e) {
@@ -2211,7 +2211,7 @@ function Uh(e) {
2211
2211
  }, [t]), r;
2212
2212
  }
2213
2213
  const Bl = w["useId".toString()];
2214
- function Er(e) {
2214
+ function Cr(e) {
2215
2215
  if (Bl !== void 0) {
2216
2216
  const t = Bl();
2217
2217
  return e ?? t;
@@ -2709,10 +2709,10 @@ process.env.NODE_ENV !== "production" && (Go.propTypes = {
2709
2709
  open: l.bool.isRequired
2710
2710
  });
2711
2711
  process.env.NODE_ENV !== "production" && (Go["propTypes"] = $u(Go.propTypes));
2712
- var xt = "top", At = "bottom", It = "right", wt = "left", ts = "auto", uo = [xt, At, It, wt], pr = "start", Xr = "end", Dm = "clippingParents", Fu = "viewport", kr = "popper", Om = "reference", Yl = /* @__PURE__ */ uo.reduce(function(e, t) {
2713
- return e.concat([t + "-" + pr, t + "-" + Xr]);
2712
+ var xt = "top", At = "bottom", It = "right", wt = "left", ts = "auto", uo = [xt, At, It, wt], fr = "start", Xr = "end", Dm = "clippingParents", Fu = "viewport", Mr = "popper", Om = "reference", Yl = /* @__PURE__ */ uo.reduce(function(e, t) {
2713
+ return e.concat([t + "-" + fr, t + "-" + Xr]);
2714
2714
  }, []), Vu = /* @__PURE__ */ [].concat(uo, [ts]).reduce(function(e, t) {
2715
- return e.concat([t, t + "-" + pr, t + "-" + Xr]);
2715
+ return e.concat([t, t + "-" + fr, t + "-" + Xr]);
2716
2716
  }, []), Mm = "beforeRead", km = "read", _m = "afterRead", Rm = "beforeMain", Sm = "main", $m = "afterMain", Nm = "beforeWrite", jm = "write", Am = "afterWrite", Im = [Mm, km, _m, Rm, Sm, $m, Nm, jm, Am];
2717
2717
  function tn(e) {
2718
2718
  return e ? (e.nodeName || "").toLowerCase() : null;
@@ -2785,7 +2785,7 @@ const Fm = {
2785
2785
  function Qt(e) {
2786
2786
  return e.split("-")[0];
2787
2787
  }
2788
- var Bn = Math.max, Ko = Math.min, hr = Math.round;
2788
+ var Bn = Math.max, Ko = Math.min, pr = Math.round;
2789
2789
  function Pi() {
2790
2790
  var e = navigator.userAgentData;
2791
2791
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -2795,10 +2795,10 @@ function Pi() {
2795
2795
  function Wu() {
2796
2796
  return !/^((?!chrome|android).)*safari/i.test(Pi());
2797
2797
  }
2798
- function mr(e, t, n) {
2798
+ function hr(e, t, n) {
2799
2799
  t === void 0 && (t = !1), n === void 0 && (n = !1);
2800
2800
  var r = e.getBoundingClientRect(), o = 1, a = 1;
2801
- t && jt(e) && (o = e.offsetWidth > 0 && hr(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && hr(r.height) / e.offsetHeight || 1);
2801
+ t && jt(e) && (o = e.offsetWidth > 0 && pr(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && pr(r.height) / e.offsetHeight || 1);
2802
2802
  var i = Fn(e) ? Mt(e) : window, s = i.visualViewport, c = !Wu() && n, u = (r.left + (c && s ? s.offsetLeft : 0)) / o, d = (r.top + (c && s ? s.offsetTop : 0)) / a, p = r.width / o, h = r.height / a;
2803
2803
  return {
2804
2804
  width: p,
@@ -2812,7 +2812,7 @@ function mr(e, t, n) {
2812
2812
  };
2813
2813
  }
2814
2814
  function rs(e) {
2815
- var t = mr(e), n = e.offsetWidth, r = e.offsetHeight;
2815
+ var t = hr(e), n = e.offsetWidth, r = e.offsetHeight;
2816
2816
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
2817
2817
  x: e.offsetLeft,
2818
2818
  y: e.offsetTop,
@@ -2934,7 +2934,7 @@ const qm = {
2934
2934
  requires: ["popperOffsets"],
2935
2935
  requiresIfExists: ["preventOverflow"]
2936
2936
  };
2937
- function vr(e) {
2937
+ function mr(e) {
2938
2938
  return e.split("-")[1];
2939
2939
  }
2940
2940
  var Gm = {
@@ -2946,8 +2946,8 @@ var Gm = {
2946
2946
  function Km(e, t) {
2947
2947
  var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
2948
2948
  return {
2949
- x: hr(n * o) / o || 0,
2950
- y: hr(r * o) / o || 0
2949
+ x: pr(n * o) / o || 0,
2950
+ y: pr(r * o) / o || 0
2951
2951
  };
2952
2952
  }
2953
2953
  function Hl(e) {
@@ -2997,7 +2997,7 @@ function Hl(e) {
2997
2997
  function Xm(e) {
2998
2998
  var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, i = a === void 0 ? !0 : a, s = n.roundOffsets, c = s === void 0 ? !0 : s, u = {
2999
2999
  placement: Qt(t.placement),
3000
- variation: vr(t.placement),
3000
+ variation: mr(t.placement),
3001
3001
  popper: t.elements.popper,
3002
3002
  popperRect: t.rects.popper,
3003
3003
  gpuAcceleration: o,
@@ -3074,7 +3074,7 @@ function as(e) {
3074
3074
  };
3075
3075
  }
3076
3076
  function is(e) {
3077
- return mr(Tn(e)).left + as(e).scrollLeft;
3077
+ return hr(Tn(e)).left + as(e).scrollLeft;
3078
3078
  }
3079
3079
  function nv(e, t) {
3080
3080
  var n = Mt(e), r = Tn(e), o = n.visualViewport, a = r.clientWidth, i = r.clientHeight, s = 0, c = 0;
@@ -3124,7 +3124,7 @@ function Di(e) {
3124
3124
  });
3125
3125
  }
3126
3126
  function ov(e, t) {
3127
- var n = mr(e, !1, t === "fixed");
3127
+ var n = hr(e, !1, t === "fixed");
3128
3128
  return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
3129
3129
  }
3130
3130
  function ql(e, t, n) {
@@ -3144,7 +3144,7 @@ function iv(e, t, n, r) {
3144
3144
  return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
3145
3145
  }
3146
3146
  function Gu(e) {
3147
- var t = e.reference, n = e.element, r = e.placement, o = r ? Qt(r) : null, a = r ? vr(r) : null, i = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, c;
3147
+ var t = e.reference, n = e.element, r = e.placement, o = r ? Qt(r) : null, a = r ? mr(r) : null, i = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, c;
3148
3148
  switch (o) {
3149
3149
  case xt:
3150
3150
  c = {
@@ -3180,7 +3180,7 @@ function Gu(e) {
3180
3180
  if (u != null) {
3181
3181
  var d = u === "y" ? "height" : "width";
3182
3182
  switch (a) {
3183
- case pr:
3183
+ case fr:
3184
3184
  c[u] = c[u] - (t[d] / 2 - n[d] / 2);
3185
3185
  break;
3186
3186
  case Xr:
@@ -3192,18 +3192,18 @@ function Gu(e) {
3192
3192
  }
3193
3193
  function Qr(e, t) {
3194
3194
  t === void 0 && (t = {});
3195
- var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, i = a === void 0 ? e.strategy : a, s = n.boundary, c = s === void 0 ? Dm : s, u = n.rootBoundary, d = u === void 0 ? Fu : u, p = n.elementContext, h = p === void 0 ? kr : p, m = n.altBoundary, g = m === void 0 ? !1 : m, v = n.padding, y = v === void 0 ? 0 : v, E = Hu(typeof y != "number" ? y : Uu(y, uo)), O = h === kr ? Om : kr, C = e.rects.popper, x = e.elements[g ? O : h], b = iv(Fn(x) ? x : x.contextElement || Tn(e.elements.popper), c, d, i), T = mr(e.elements.reference), M = Gu({
3195
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, i = a === void 0 ? e.strategy : a, s = n.boundary, c = s === void 0 ? Dm : s, u = n.rootBoundary, d = u === void 0 ? Fu : u, p = n.elementContext, h = p === void 0 ? Mr : p, m = n.altBoundary, g = m === void 0 ? !1 : m, v = n.padding, y = v === void 0 ? 0 : v, E = Hu(typeof y != "number" ? y : Uu(y, uo)), O = h === Mr ? Om : Mr, C = e.rects.popper, x = e.elements[g ? O : h], b = iv(Fn(x) ? x : x.contextElement || Tn(e.elements.popper), c, d, i), T = hr(e.elements.reference), M = Gu({
3196
3196
  reference: T,
3197
3197
  element: C,
3198
3198
  strategy: "absolute",
3199
3199
  placement: o
3200
- }), $ = Di(Object.assign({}, C, M)), L = h === kr ? $ : T, R = {
3200
+ }), $ = Di(Object.assign({}, C, M)), L = h === Mr ? $ : T, R = {
3201
3201
  top: b.top - L.top + E.top,
3202
3202
  bottom: L.bottom - b.bottom + E.bottom,
3203
3203
  left: b.left - L.left + E.left,
3204
3204
  right: L.right - b.right + E.right
3205
3205
  }, B = e.modifiersData.offset;
3206
- if (h === kr && B) {
3206
+ if (h === Mr && B) {
3207
3207
  var K = B[o];
3208
3208
  Object.keys(R).forEach(function(W) {
3209
3209
  var j = [It, At].indexOf(W) >= 0 ? 1 : -1, N = [xt, At].indexOf(W) >= 0 ? "y" : "x";
@@ -3214,8 +3214,8 @@ function Qr(e, t) {
3214
3214
  }
3215
3215
  function sv(e, t) {
3216
3216
  t === void 0 && (t = {});
3217
- var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, i = n.padding, s = n.flipVariations, c = n.allowedAutoPlacements, u = c === void 0 ? Vu : c, d = vr(r), p = d ? s ? Yl : Yl.filter(function(g) {
3218
- return vr(g) === d;
3217
+ var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, i = n.padding, s = n.flipVariations, c = n.allowedAutoPlacements, u = c === void 0 ? Vu : c, d = mr(r), p = d ? s ? Yl : Yl.filter(function(g) {
3218
+ return mr(g) === d;
3219
3219
  }) : uo, h = p.filter(function(g) {
3220
3220
  return u.indexOf(g) >= 0;
3221
3221
  });
@@ -3251,7 +3251,7 @@ function cv(e) {
3251
3251
  allowedAutoPlacements: v
3252
3252
  }) : Z);
3253
3253
  }, []), b = t.rects.reference, T = t.rects.popper, M = /* @__PURE__ */ new Map(), $ = !0, L = x[0], R = 0; R < x.length; R++) {
3254
- var B = x[R], K = Qt(B), W = vr(B) === pr, j = [xt, At].indexOf(K) >= 0, N = j ? "width" : "height", S = Qr(t, {
3254
+ var B = x[R], K = Qt(B), W = mr(B) === fr, j = [xt, At].indexOf(K) >= 0, N = j ? "width" : "height", S = Qr(t, {
3255
3255
  placement: B,
3256
3256
  boundary: d,
3257
3257
  rootBoundary: p,
@@ -3386,7 +3386,7 @@ function bv(e) {
3386
3386
  rootBoundary: u,
3387
3387
  padding: p,
3388
3388
  altBoundary: d
3389
- }), E = Qt(t.placement), O = vr(t.placement), C = !O, x = os(E), b = yv(x), T = t.modifiersData.popperOffsets, M = t.rects.reference, $ = t.rects.popper, L = typeof v == "function" ? v(Object.assign({}, t.rects, {
3389
+ }), E = Qt(t.placement), O = mr(t.placement), C = !O, x = os(E), b = yv(x), T = t.modifiersData.popperOffsets, M = t.rects.reference, $ = t.rects.popper, L = typeof v == "function" ? v(Object.assign({}, t.rects, {
3390
3390
  placement: t.placement
3391
3391
  })) : v, R = typeof L == "number" ? {
3392
3392
  mainAxis: L,
@@ -3400,7 +3400,7 @@ function bv(e) {
3400
3400
  };
3401
3401
  if (T) {
3402
3402
  if (a) {
3403
- var W, j = x === "y" ? xt : wt, N = x === "y" ? At : It, S = x === "y" ? "height" : "width", F = T[x], Q = F + y[j], X = F - y[N], k = m ? -$[S] / 2 : 0, A = O === pr ? M[S] : $[S], z = O === pr ? -$[S] : -M[S], Y = t.elements.arrow, H = m && Y ? rs(Y) : {
3403
+ var W, j = x === "y" ? xt : wt, N = x === "y" ? At : It, S = x === "y" ? "height" : "width", F = T[x], Q = F + y[j], X = F - y[N], k = m ? -$[S] / 2 : 0, A = O === fr ? M[S] : $[S], z = O === fr ? -$[S] : -M[S], Y = t.elements.arrow, H = m && Y ? rs(Y) : {
3404
3404
  width: 0,
3405
3405
  height: 0
3406
3406
  }, Z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : zu(), te = Z[j], I = Z[N], V = Vr(0, M[S], H[S]), U = C ? M[S] / 2 - k - V - te - R.mainAxis : A - V - te - R.mainAxis, re = C ? -M[S] / 2 + k + V + I + R.mainAxis : z + V + I + R.mainAxis, he = t.elements.arrow && fo(t.elements.arrow), _ = he ? x === "y" ? he.clientTop || 0 : he.clientLeft || 0 : 0, ne = (W = B == null ? void 0 : B[x]) != null ? W : 0, q = F + U - ne - _, le = F + re - ne, ce = Vr(m ? Ko(Q, q) : Q, F, m ? Bn(X, le) : X);
@@ -3430,12 +3430,12 @@ function Cv(e) {
3430
3430
  return e === Mt(e) || !jt(e) ? as(e) : wv(e);
3431
3431
  }
3432
3432
  function Ev(e) {
3433
- var t = e.getBoundingClientRect(), n = hr(t.width) / e.offsetWidth || 1, r = hr(t.height) / e.offsetHeight || 1;
3433
+ var t = e.getBoundingClientRect(), n = pr(t.width) / e.offsetWidth || 1, r = pr(t.height) / e.offsetHeight || 1;
3434
3434
  return n !== 1 || r !== 1;
3435
3435
  }
3436
3436
  function Tv(e, t, n) {
3437
3437
  n === void 0 && (n = !1);
3438
- var r = jt(t), o = jt(t) && Ev(t), a = Tn(t), i = mr(e, o, n), s = {
3438
+ var r = jt(t), o = jt(t) && Ev(t), a = Tn(t), i = hr(e, o, n), s = {
3439
3439
  scrollLeft: 0,
3440
3440
  scrollTop: 0
3441
3441
  }, c = {
@@ -3443,7 +3443,7 @@ function Tv(e, t, n) {
3443
3443
  y: 0
3444
3444
  };
3445
3445
  return (r || !r && !n) && ((tn(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
3446
- ss(a)) && (s = Cv(t)), jt(t) ? (c = mr(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = is(a))), {
3446
+ ss(a)) && (s = Cv(t)), jt(t) ? (c = hr(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = is(a))), {
3447
3447
  x: i.left + s.scrollLeft - c.x,
3448
3448
  y: i.top + s.scrollTop - c.y,
3449
3449
  width: i.width,
@@ -4049,30 +4049,30 @@ function Mo(e, t) {
4049
4049
  function Zv(e, t) {
4050
4050
  return e.map(t).join("");
4051
4051
  }
4052
- var ba = 1, gr = 1, Zu = 0, Ct = 0, it = 0, Tr = "";
4052
+ var ba = 1, vr = 1, Zu = 0, Ct = 0, it = 0, Er = "";
4053
4053
  function xa(e, t, n, r, o, a, i) {
4054
- return { value: e, root: t, parent: n, type: r, props: o, children: a, line: ba, column: gr, length: i, return: "" };
4054
+ return { value: e, root: t, parent: n, type: r, props: o, children: a, line: ba, column: vr, length: i, return: "" };
4055
4055
  }
4056
- function _r(e, t) {
4056
+ function kr(e, t) {
4057
4057
  return Kv(xa("", null, null, "", null, null, 0), e, { length: -e.length }, t);
4058
4058
  }
4059
4059
  function Jv() {
4060
4060
  return it;
4061
4061
  }
4062
4062
  function eg() {
4063
- return it = Ct > 0 ? dt(Tr, --Ct) : 0, gr--, it === 10 && (gr = 1, ba--), it;
4063
+ return it = Ct > 0 ? dt(Er, --Ct) : 0, vr--, it === 10 && (vr = 1, ba--), it;
4064
4064
  }
4065
4065
  function Ot() {
4066
- return it = Ct < Zu ? dt(Tr, Ct++) : 0, gr++, it === 10 && (gr = 1, ba++), it;
4066
+ return it = Ct < Zu ? dt(Er, Ct++) : 0, vr++, it === 10 && (vr = 1, ba++), it;
4067
4067
  }
4068
4068
  function Zt() {
4069
- return dt(Tr, Ct);
4069
+ return dt(Er, Ct);
4070
4070
  }
4071
4071
  function Vo() {
4072
4072
  return Ct;
4073
4073
  }
4074
4074
  function po(e, t) {
4075
- return Zr(Tr, e, t);
4075
+ return Zr(Er, e, t);
4076
4076
  }
4077
4077
  function Jr(e) {
4078
4078
  switch (e) {
@@ -4107,10 +4107,10 @@ function Jr(e) {
4107
4107
  return 0;
4108
4108
  }
4109
4109
  function Ju(e) {
4110
- return ba = gr = 1, Zu = Yt(Tr = e), Ct = 0, [];
4110
+ return ba = vr = 1, Zu = Yt(Er = e), Ct = 0, [];
4111
4111
  }
4112
4112
  function ed(e) {
4113
- return Tr = "", e;
4113
+ return Er = "", e;
4114
4114
  }
4115
4115
  function Wo(e) {
4116
4116
  return Qu(po(Ct - 1, Mi(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
@@ -4258,7 +4258,7 @@ function ig(e, t, n) {
4258
4258
  function Jl(e, t, n, r) {
4259
4259
  return xa(e, t, n, us, Zr(e, 0, r), Zr(e, r + 1, -1), r);
4260
4260
  }
4261
- function sr(e, t) {
4261
+ function ir(e, t) {
4262
4262
  for (var n = "", r = ds(e), o = 0; o < r; o++)
4263
4263
  n += t(e[o], o, e, t) || "";
4264
4264
  return n;
@@ -4274,11 +4274,11 @@ function sg(e, t, n, r) {
4274
4274
  case ls:
4275
4275
  return "";
4276
4276
  case Xu:
4277
- return e.return = e.value + "{" + sr(e.children, r) + "}";
4277
+ return e.return = e.value + "{" + ir(e.children, r) + "}";
4278
4278
  case cs:
4279
4279
  e.value = e.props.join(",");
4280
4280
  }
4281
- return Yt(n = sr(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
4281
+ return Yt(n = ir(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
4282
4282
  }
4283
4283
  function lg(e) {
4284
4284
  var t = ds(e);
@@ -4505,7 +4505,7 @@ var wg = function(t, n, r, o) {
4505
4505
  t.return = nd(t.value, t.length);
4506
4506
  break;
4507
4507
  case Xu:
4508
- return sr([_r(t, {
4508
+ return ir([kr(t, {
4509
4509
  value: $e(t.value, "@", "@" + Se)
4510
4510
  })], o);
4511
4511
  case cs:
@@ -4514,15 +4514,15 @@ var wg = function(t, n, r, o) {
4514
4514
  switch (Qv(a, /(::plac\w+|:read-\w+)/)) {
4515
4515
  case ":read-only":
4516
4516
  case ":read-write":
4517
- return sr([_r(t, {
4517
+ return ir([kr(t, {
4518
4518
  props: [$e(a, /:(read-\w+)/, ":" + Zo + "$1")]
4519
4519
  })], o);
4520
4520
  case "::placeholder":
4521
- return sr([_r(t, {
4521
+ return ir([kr(t, {
4522
4522
  props: [$e(a, /:(plac\w+)/, ":" + Se + "input-$1")]
4523
- }), _r(t, {
4523
+ }), kr(t, {
4524
4524
  props: [$e(a, /:(plac\w+)/, ":" + Zo + "$1")]
4525
- }), _r(t, {
4525
+ }), kr(t, {
4526
4526
  props: [$e(a, /:(plac\w+)/, mt + "input-$1")]
4527
4527
  })], o);
4528
4528
  }
@@ -4567,7 +4567,7 @@ If multiple caches share the same key they might "fight" for each other's style
4567
4567
  } : cg(function(v) {
4568
4568
  d.insert(v);
4569
4569
  })], h = lg(u.concat(o, p)), m = function(y) {
4570
- return sr(ag(y), h);
4570
+ return ir(ag(y), h);
4571
4571
  };
4572
4572
  c = function(y, E, O, C) {
4573
4573
  d = O, process.env.NODE_ENV !== "production" && E.map !== void 0 && (d = {
@@ -5716,22 +5716,22 @@ const Dy = Ye({
5716
5716
  prop: "gridArea"
5717
5717
  });
5718
5718
  Pa(Oa, Ma, ka, Dy, Oy, My, ky, _y, Ry, Sy, $y, Ny);
5719
- function lr(e, t) {
5719
+ function sr(e, t) {
5720
5720
  return t === "grey" ? t : e;
5721
5721
  }
5722
5722
  const jy = Ye({
5723
5723
  prop: "color",
5724
5724
  themeKey: "palette",
5725
- transform: lr
5725
+ transform: sr
5726
5726
  }), Ay = Ye({
5727
5727
  prop: "bgcolor",
5728
5728
  cssProperty: "backgroundColor",
5729
5729
  themeKey: "palette",
5730
- transform: lr
5730
+ transform: sr
5731
5731
  }), Iy = Ye({
5732
5732
  prop: "backgroundColor",
5733
5733
  themeKey: "palette",
5734
- transform: lr
5734
+ transform: sr
5735
5735
  });
5736
5736
  Pa(jy, Ay, Iy);
5737
5737
  function Dt(e) {
@@ -5824,16 +5824,16 @@ const zy = {
5824
5824
  // palette
5825
5825
  color: {
5826
5826
  themeKey: "palette",
5827
- transform: lr
5827
+ transform: sr
5828
5828
  },
5829
5829
  bgcolor: {
5830
5830
  themeKey: "palette",
5831
5831
  cssProperty: "backgroundColor",
5832
- transform: lr
5832
+ transform: sr
5833
5833
  },
5834
5834
  backgroundColor: {
5835
5835
  themeKey: "palette",
5836
- transform: lr
5836
+ transform: sr
5837
5837
  },
5838
5838
  // spacing
5839
5839
  p: {
@@ -6250,7 +6250,7 @@ function zr(e) {
6250
6250
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
6251
6251
  }
6252
6252
  const i0 = ws(), s0 = (e) => e.charAt(0).toLowerCase() + e.slice(1);
6253
- function Rr({
6253
+ function _r({
6254
6254
  defaultTheme: e,
6255
6255
  theme: t,
6256
6256
  themeId: n
@@ -6264,7 +6264,7 @@ function gd(e = {}) {
6264
6264
  rootShouldForwardProp: r = zr,
6265
6265
  slotShouldForwardProp: o = zr
6266
6266
  } = e, a = (i) => xs(D({}, i, {
6267
- theme: Rr(D({}, i, {
6267
+ theme: _r(D({}, i, {
6268
6268
  defaultTheme: n,
6269
6269
  themeId: t
6270
6270
  }))
@@ -6287,14 +6287,14 @@ function gd(e = {}) {
6287
6287
  label: y
6288
6288
  }, m)), C = (x, ...b) => {
6289
6289
  const T = b ? b.map((R) => typeof R == "function" && R.__emotion_real !== R ? (B) => R(D({}, B, {
6290
- theme: Rr(D({}, B, {
6290
+ theme: _r(D({}, B, {
6291
6291
  defaultTheme: n,
6292
6292
  themeId: t
6293
6293
  }))
6294
6294
  })) : R) : [];
6295
6295
  let M = x;
6296
6296
  c && h && T.push((R) => {
6297
- const B = Rr(D({}, R, {
6297
+ const B = _r(D({}, R, {
6298
6298
  defaultTheme: n,
6299
6299
  themeId: t
6300
6300
  })), K = r0(c, B);
@@ -6308,7 +6308,7 @@ function gd(e = {}) {
6308
6308
  }
6309
6309
  return null;
6310
6310
  }), c && !g && T.push((R) => {
6311
- const B = Rr(D({}, R, {
6311
+ const B = _r(D({}, R, {
6312
6312
  defaultTheme: n,
6313
6313
  themeId: t
6314
6314
  }));
@@ -6323,7 +6323,7 @@ function gd(e = {}) {
6323
6323
  // component stays as a function. This condition makes sure that we do not interpolate functions
6324
6324
  // which are basically components used as a selectors.
6325
6325
  x.__emotion_real !== x && (M = (R) => x(D({}, R, {
6326
- theme: Rr(D({}, R, {
6326
+ theme: _r(D({}, R, {
6327
6327
  defaultTheme: n,
6328
6328
  themeId: t
6329
6329
  }))
@@ -6377,12 +6377,12 @@ function Vn(e) {
6377
6377
  const t = e.indexOf("("), n = e.substring(0, t);
6378
6378
  if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(n) === -1)
6379
6379
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
6380
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : fr(9, e));
6380
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : dr(9, e));
6381
6381
  let r = e.substring(t + 1, e.length - 1), o;
6382
6382
  if (n === "color") {
6383
6383
  if (r = r.split(" "), o = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
6384
6384
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
6385
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : fr(10, o));
6385
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : dr(10, o));
6386
6386
  } else
6387
6387
  r = r.split(",");
6388
6388
  return r = r.map((a) => parseFloat(a)), {
@@ -6522,7 +6522,7 @@ const g0 = {
6522
6522
  A200: "#ffab40",
6523
6523
  A400: "#ff9100",
6524
6524
  A700: "#ff6d00"
6525
- }, Sr = C0, E0 = {
6525
+ }, Rr = C0, E0 = {
6526
6526
  50: "#e3f2fd",
6527
6527
  100: "#bbdefb",
6528
6528
  200: "#90caf9",
@@ -6691,14 +6691,14 @@ function R0(e = "light") {
6691
6691
  }
6692
6692
  function S0(e = "light") {
6693
6693
  return e === "dark" ? {
6694
- main: Sr[400],
6695
- light: Sr[300],
6696
- dark: Sr[700]
6694
+ main: Rr[400],
6695
+ light: Rr[300],
6696
+ dark: Rr[700]
6697
6697
  } : {
6698
6698
  main: "#ed6c02",
6699
6699
  // closest to orange[800] that pass 3:1.
6700
- light: Sr[500],
6701
- dark: Sr[900]
6700
+ light: Rr[500],
6701
+ dark: Rr[900]
6702
6702
  };
6703
6703
  }
6704
6704
  function $0(e) {
@@ -6725,7 +6725,7 @@ function $0(e) {
6725
6725
  }) => {
6726
6726
  if (v = D({}, v), !v.main && v[E] && (v.main = v[E]), !v.hasOwnProperty("main"))
6727
6727
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${y ? ` (${y})` : ""} provided to augmentColor(color) is invalid.
6728
- The color object needs to have a \`main\` property or a \`${E}\` property.` : fr(11, y ? ` (${y})` : "", E));
6728
+ The color object needs to have a \`main\` property or a \`${E}\` property.` : dr(11, y ? ` (${y})` : "", E));
6729
6729
  if (typeof v.main != "string")
6730
6730
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${y ? ` (${y})` : ""} provided to augmentColor(color) is invalid.
6731
6731
  \`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
@@ -6740,7 +6740,7 @@ const theme1 = createTheme({ palette: {
6740
6740
 
6741
6741
  const theme2 = createTheme({ palette: {
6742
6742
  primary: { main: green[500] },
6743
- } });` : fr(12, y ? ` (${y})` : "", JSON.stringify(v.main)));
6743
+ } });` : dr(12, y ? ` (${y})` : "", JSON.stringify(v.main)));
6744
6744
  return wc(v, "light", O, r), wc(v, "dark", C, r), v.contrastText || (v.contrastText = p(v.main)), v;
6745
6745
  }, m = {
6746
6746
  dark: ri,
@@ -6945,7 +6945,7 @@ function X0(e = {}, ...t) {
6945
6945
  typography: a = {}
6946
6946
  } = e, i = pe(e, K0);
6947
6947
  if (e.vars)
6948
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : fr(18));
6948
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : dr(18));
6949
6949
  const s = $0(r), c = ws(e);
6950
6950
  let u = ln(c, {
6951
6951
  mixins: v0(c.breakpoints, n),
@@ -7200,7 +7200,7 @@ const ob = {
7200
7200
  setRef: qo,
7201
7201
  unstable_ClassNameGenerator: ob,
7202
7202
  unstable_useEnhancedEffect: en,
7203
- unstable_useId: Er,
7203
+ unstable_useId: Cr,
7204
7204
  unsupportedProp: qh,
7205
7205
  useControlled: co,
7206
7206
  useEventCallback: jn,
@@ -7272,19 +7272,19 @@ var hb = process.env.NODE_ENV !== "production" ? l.oneOfType([l.number, l.shape(
7272
7272
  const na = pt.createContext(null);
7273
7273
  var xd = function(t) {
7274
7274
  return t.scrollTop;
7275
- }, Ir = "unmounted", Rn = "exited", Sn = "entering", rr = "entered", _i = "exiting", vn = /* @__PURE__ */ function(e) {
7275
+ }, Ar = "unmounted", Rn = "exited", Sn = "entering", rr = "entered", _i = "exiting", vn = /* @__PURE__ */ function(e) {
7276
7276
  Os(t, e);
7277
7277
  function t(r, o) {
7278
7278
  var a;
7279
7279
  a = e.call(this, r, o) || this;
7280
7280
  var i = o, s = i && !i.isMounting ? r.enter : r.appear, c;
7281
- return a.appearStatus = null, r.in ? s ? (c = Rn, a.appearStatus = Sn) : c = rr : r.unmountOnExit || r.mountOnEnter ? c = Ir : c = Rn, a.state = {
7281
+ return a.appearStatus = null, r.in ? s ? (c = Rn, a.appearStatus = Sn) : c = rr : r.unmountOnExit || r.mountOnEnter ? c = Ar : c = Rn, a.state = {
7282
7282
  status: c
7283
7283
  }, a.nextCallback = null, a;
7284
7284
  }
7285
7285
  t.getDerivedStateFromProps = function(o, a) {
7286
7286
  var i = o.in;
7287
- return i && a.status === Ir ? {
7287
+ return i && a.status === Ar ? {
7288
7288
  status: Rn
7289
7289
  } : null;
7290
7290
  };
@@ -7319,7 +7319,7 @@ var xd = function(t) {
7319
7319
  this.performExit();
7320
7320
  else
7321
7321
  this.props.unmountOnExit && this.state.status === Rn && this.setState({
7322
- status: Ir
7322
+ status: Ar
7323
7323
  });
7324
7324
  }, n.performEnter = function(o) {
7325
7325
  var a = this, i = this.props.enter, s = this.context ? this.context.isMounting : o, c = this.props.nodeRef ? [s] : [Po.findDOMNode(this), s], u = c[0], d = c[1], p = this.getTimeouts(), h = s ? p.appear : p.enter;
@@ -7388,7 +7388,7 @@ var xd = function(t) {
7388
7388
  o != null && setTimeout(this.nextCallback, o);
7389
7389
  }, n.render = function() {
7390
7390
  var o = this.state.status;
7391
- if (o === Ir)
7391
+ if (o === Ar)
7392
7392
  return null;
7393
7393
  var a = this.props, i = a.children;
7394
7394
  a.in, a.mountOnEnter, a.unmountOnExit, a.appear, a.enter, a.exit, a.timeout, a.addEndListener, a.onEnter, a.onEntering, a.onEntered, a.onExit, a.onExiting, a.onExited, a.nodeRef;
@@ -7587,7 +7587,7 @@ vn.defaultProps = {
7587
7587
  onExiting: er,
7588
7588
  onExited: er
7589
7589
  };
7590
- vn.UNMOUNTED = Ir;
7590
+ vn.UNMOUNTED = Ar;
7591
7591
  vn.EXITED = Rn;
7592
7592
  vn.ENTERING = Sn;
7593
7593
  vn.ENTERED = rr;
@@ -9080,7 +9080,7 @@ const Od = ({ opened: e, setOpened: t, title: n, style: r, children: o }) => /*
9080
9080
  }
9081
9081
  ) }) })
9082
9082
  }
9083
- ), Wn = "OnCheckRequired", yr = "OnCheckRequiredCallback", ra = "OnValidationBlur", ro = "OnValidated", br = ({ id: e, requiredMessage: t, variant: n = "standard", ...r }) => {
9083
+ ), Wn = "OnCheckRequired", gr = "OnCheckRequiredCallback", ra = "OnValidationBlur", ro = "OnValidated", yr = ({ id: e, requiredMessage: t, variant: n = "standard", ...r }) => {
9084
9084
  const [o, a] = fe({ isError: !1 }), [i, s] = fe(!1), c = (g) => {
9085
9085
  const v = new CustomEvent(`${ra}_${e}`, {
9086
9086
  detail: {
@@ -9100,7 +9100,7 @@ const Od = ({ opened: e, setOpened: t, title: n, style: r, children: o }) => /*
9100
9100
  if (!r.required)
9101
9101
  return;
9102
9102
  v && s(!g);
9103
- const y = new CustomEvent(yr, {
9103
+ const y = new CustomEvent(gr, {
9104
9104
  detail: {
9105
9105
  id: e,
9106
9106
  empty: !g,
@@ -9489,7 +9489,7 @@ const p1 = Tt("MuiLoadingButton", ["root", "loading", "loadingIndicator", "loadi
9489
9489
  loadingIndicator: c,
9490
9490
  loadingPosition: u = "center",
9491
9491
  variant: d = "text"
9492
- } = r, p = pe(r, h1), h = Er(i), m = c ?? /* @__PURE__ */ f.jsx(d1, {
9492
+ } = r, p = pe(r, h1), h = Cr(i), m = c ?? /* @__PURE__ */ f.jsx(d1, {
9493
9493
  "aria-labelledby": h,
9494
9494
  color: "inherit",
9495
9495
  size: 16
@@ -9640,7 +9640,7 @@ function T1({ opened: e, setOpened: t, requiredMessages: n, incorrectMessages: r
9640
9640
  }
9641
9641
  const Ls = ({ validationsProp: e }) => {
9642
9642
  de(Wt);
9643
- const [t, n] = fe(e), r = dr({ incorrect: [] }), o = (v, y, E, O) => {
9643
+ const [t, n] = fe(e), r = ur({ incorrect: [] }), o = (v, y, E, O) => {
9644
9644
  const { detail: C } = v;
9645
9645
  if (C && O) {
9646
9646
  const x = r.current.incorrect;
@@ -9676,7 +9676,7 @@ const Ls = ({ validationsProp: e }) => {
9676
9676
  y();
9677
9677
  };
9678
9678
  }, [t]);
9679
- const s = dr({ empties: [] }), c = () => s.current.empties.length > 0 || r.current.incorrect.length > 0 ? (u(), m(!0), !1) : !0, u = () => {
9679
+ const s = ur({ empties: [] }), c = () => s.current.empties.length > 0 || r.current.incorrect.length > 0 ? (u(), m(!0), !1) : !0, u = () => {
9680
9680
  const v = new CustomEvent(Wn, {
9681
9681
  detail: {
9682
9682
  ids: s.current.empties.map((y) => y.id)
@@ -9694,8 +9694,8 @@ const Ls = ({ validationsProp: e }) => {
9694
9694
  return x.id !== ((b = v == null ? void 0 : v.detail) == null ? void 0 : b.id);
9695
9695
  });
9696
9696
  }, p = () => ({
9697
- addEventListeners: () => document.addEventListener(yr, d),
9698
- removeEventListeners: () => document.removeEventListener(yr, d)
9697
+ addEventListeners: () => document.addEventListener(gr, d),
9698
+ removeEventListeners: () => document.removeEventListener(gr, d)
9699
9699
  }), [h, m] = fe(!1), g = /* @__PURE__ */ f.jsx(
9700
9700
  T1,
9701
9701
  {
@@ -9715,7 +9715,7 @@ const Ls = ({ validationsProp: e }) => {
9715
9715
  formIsValid: c,
9716
9716
  setValidations: n
9717
9717
  };
9718
- }, Pr = (e) => {
9718
+ }, Tr = (e) => {
9719
9719
  const t = [
9720
9720
  { id: 1, name: "Понедельник" },
9721
9721
  { id: 2, name: "Вторник" },
@@ -9813,7 +9813,7 @@ const Rd = ({
9813
9813
  var v;
9814
9814
  const [s, c] = fe(t ?? "");
9815
9815
  (((v = document.getElementById("root")) == null ? void 0 : v.clientWidth) ?? 0) - 80;
9816
- const { ConvertUTCDateToLocalDate: u, ParseDataTimeToRusLocale: d } = Pr(), { formIsValid: p, validationPopup: h } = Ls({}), m = () => {
9816
+ const { ConvertUTCDateToLocalDate: u, ParseDataTimeToRusLocale: d } = Tr(), { formIsValid: p, validationPopup: h } = Ls({}), m = () => {
9817
9817
  p() && (n(s), c(""));
9818
9818
  }, g = (y) => d(u(new Date(y.creationDate)));
9819
9819
  return De(() => {
@@ -9845,7 +9845,7 @@ const Rd = ({
9845
9845
  )) })
9846
9846
  ] }),
9847
9847
  /* @__PURE__ */ f.jsx("div", { className: "chat__input", children: /* @__PURE__ */ f.jsx(
9848
- br,
9848
+ yr,
9849
9849
  {
9850
9850
  required: !0,
9851
9851
  id: "chatMessage",
@@ -9868,7 +9868,7 @@ const Rd = ({
9868
9868
  ) })
9869
9869
  ] }) });
9870
9870
  }, Sd = (e, t) => {
9871
- const [n, r] = fe(Math.random()), o = dr(!0);
9871
+ const [n, r] = fe(Math.random()), o = ur(!0);
9872
9872
  De(() => {
9873
9873
  if (o.current) {
9874
9874
  o.current = !1, e(), r(Math.random());
@@ -9914,7 +9914,7 @@ const Rd = ({
9914
9914
  function O1(e) {
9915
9915
  return bt("MuiRating", e);
9916
9916
  }
9917
- const M1 = Tt("MuiRating", ["root", "sizeSmall", "sizeMedium", "sizeLarge", "readOnly", "disabled", "focusVisible", "visuallyHidden", "pristine", "label", "labelEmptyValueActive", "icon", "iconEmpty", "iconFilled", "iconHover", "iconFocus", "iconActive", "decimal"]), $r = M1, k1 = ["value"], _1 = ["className", "defaultValue", "disabled", "emptyIcon", "emptyLabelText", "getLabelText", "highlightSelectedOnly", "icon", "IconContainerComponent", "max", "name", "onChange", "onChangeActive", "onMouseLeave", "onMouseMove", "precision", "readOnly", "size", "value"];
9917
+ const M1 = Tt("MuiRating", ["root", "sizeSmall", "sizeMedium", "sizeLarge", "readOnly", "disabled", "focusVisible", "visuallyHidden", "pristine", "label", "labelEmptyValueActive", "icon", "iconEmpty", "iconFilled", "iconHover", "iconFocus", "iconActive", "decimal"]), Sr = M1, k1 = ["value"], _1 = ["className", "defaultValue", "disabled", "emptyIcon", "emptyLabelText", "getLabelText", "highlightSelectedOnly", "icon", "IconContainerComponent", "max", "name", "onChange", "onChangeActive", "onMouseLeave", "onMouseMove", "precision", "readOnly", "size", "value"];
9918
9918
  function R1(e, t, n) {
9919
9919
  return e < t ? t : e > n ? n : e;
9920
9920
  }
@@ -9958,7 +9958,7 @@ const $1 = (e) => {
9958
9958
  ownerState: n
9959
9959
  } = e;
9960
9960
  return [{
9961
- [`& .${$r.visuallyHidden}`]: t.visuallyHidden
9961
+ [`& .${Sr.visuallyHidden}`]: t.visuallyHidden
9962
9962
  }, t.root, t[`size${xe(n.size)}`], n.readOnly && t.readOnly];
9963
9963
  }
9964
9964
  })(({
@@ -9973,14 +9973,14 @@ const $1 = (e) => {
9973
9973
  cursor: "pointer",
9974
9974
  textAlign: "left",
9975
9975
  WebkitTapHighlightColor: "transparent",
9976
- [`&.${$r.disabled}`]: {
9976
+ [`&.${Sr.disabled}`]: {
9977
9977
  opacity: (e.vars || e).palette.action.disabledOpacity,
9978
9978
  pointerEvents: "none"
9979
9979
  },
9980
- [`&.${$r.focusVisible} .${$r.iconActive}`]: {
9980
+ [`&.${Sr.focusVisible} .${Sr.iconActive}`]: {
9981
9981
  outline: "1px solid #999"
9982
9982
  },
9983
- [`& .${$r.visuallyHidden}`]: tm
9983
+ [`& .${Sr.visuallyHidden}`]: tm
9984
9984
  }, t.size === "small" && {
9985
9985
  fontSize: e.typography.pxToRem(18)
9986
9986
  }, t.size === "large" && {
@@ -10075,7 +10075,7 @@ function Si(e) {
10075
10075
  ownerState: C,
10076
10076
  ratingValue: x,
10077
10077
  ratingValueRounded: b
10078
- } = e, T = i ? p === x : p <= x, M = p <= s, $ = p <= o, L = p === b, R = Er(), B = /* @__PURE__ */ f.jsx(j1, {
10078
+ } = e, T = i ? p === x : p <= x, M = p <= s, $ = p <= o, L = p === b, R = Cr(), B = /* @__PURE__ */ f.jsx(j1, {
10079
10079
  as: u,
10080
10080
  value: p,
10081
10081
  className: ye(t.icon, T ? t.iconFilled : t.iconEmpty, M && t.iconHover, $ && t.iconFocus, d && t.iconActive),
@@ -10171,7 +10171,7 @@ const jd = /* @__PURE__ */ w.forwardRef(function(t, n) {
10171
10171
  readOnly: x = !1,
10172
10172
  size: b = "medium",
10173
10173
  value: T
10174
- } = r, M = pe(r, _1), $ = Er(g), [L, R] = co({
10174
+ } = r, M = pe(r, _1), $ = Cr(g), [L, R] = co({
10175
10175
  controlled: T,
10176
10176
  default: a,
10177
10177
  name: "Rating"
@@ -10868,7 +10868,7 @@ function aa(e) {
10868
10868
  var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
10869
10869
  return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
10870
10870
  }
10871
- function xr(e) {
10871
+ function br(e) {
10872
10872
  J(1, arguments);
10873
10873
  var t = ee(e);
10874
10874
  return t.setHours(0, 0, 0, 0), t;
@@ -10876,7 +10876,7 @@ function xr(e) {
10876
10876
  var yx = 864e5;
10877
10877
  function bx(e, t) {
10878
10878
  J(2, arguments);
10879
- var n = xr(e), r = xr(t), o = n.getTime() - aa(n), a = r.getTime() - aa(r);
10879
+ var n = br(e), r = br(t), o = n.getTime() - aa(n), a = r.getTime() - aa(r);
10880
10880
  return Math.round((o - a) / yx);
10881
10881
  }
10882
10882
  function Wc(e, t) {
@@ -10969,7 +10969,7 @@ function kx(e) {
10969
10969
  var r = t.getTime(), o = n - r;
10970
10970
  return Math.floor(o / Mx) + 1;
10971
10971
  }
10972
- function wr(e) {
10972
+ function xr(e) {
10973
10973
  J(1, arguments);
10974
10974
  var t = 1, n = ee(e), r = n.getUTCDay(), o = (r < t ? 7 : 0) + r - t;
10975
10975
  return n.setUTCDate(n.getUTCDate() - o), n.setUTCHours(0, 0, 0, 0), n;
@@ -10978,22 +10978,22 @@ function qd(e) {
10978
10978
  J(1, arguments);
10979
10979
  var t = ee(e), n = t.getUTCFullYear(), r = /* @__PURE__ */ new Date(0);
10980
10980
  r.setUTCFullYear(n + 1, 0, 4), r.setUTCHours(0, 0, 0, 0);
10981
- var o = wr(r), a = /* @__PURE__ */ new Date(0);
10981
+ var o = xr(r), a = /* @__PURE__ */ new Date(0);
10982
10982
  a.setUTCFullYear(n, 0, 4), a.setUTCHours(0, 0, 0, 0);
10983
- var i = wr(a);
10983
+ var i = xr(a);
10984
10984
  return t.getTime() >= o.getTime() ? n + 1 : t.getTime() >= i.getTime() ? n : n - 1;
10985
10985
  }
10986
10986
  function _x(e) {
10987
10987
  J(1, arguments);
10988
10988
  var t = qd(e), n = /* @__PURE__ */ new Date(0);
10989
10989
  n.setUTCFullYear(t, 0, 4), n.setUTCHours(0, 0, 0, 0);
10990
- var r = wr(n);
10990
+ var r = xr(n);
10991
10991
  return r;
10992
10992
  }
10993
10993
  var Rx = 6048e5;
10994
10994
  function Gd(e) {
10995
10995
  J(1, arguments);
10996
- var t = ee(e), n = wr(t).getTime() - _x(t).getTime();
10996
+ var t = ee(e), n = xr(t).getTime() - _x(t).getTime();
10997
10997
  return Math.round(n / Rx) + 1;
10998
10998
  }
10999
10999
  function pn(e, t) {
@@ -11813,7 +11813,7 @@ var Vx = {
11813
11813
  return typeof a == "string" ? o = a : n === 1 ? o = a.one : o = a.other.replace("{{count}}", n.toString()), r != null && r.addSuffix ? r.comparison && r.comparison > 0 ? "in " + o : o + " ago" : o;
11814
11814
  };
11815
11815
  const Yx = Wx;
11816
- function cr(e) {
11816
+ function lr(e) {
11817
11817
  return function() {
11818
11818
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.width ? String(t.width) : e.defaultWidth, r = e.formats[n] || e.formats[e.defaultWidth];
11819
11819
  return r;
@@ -11835,15 +11835,15 @@ var zx = {
11835
11835
  medium: "{{date}}, {{time}}",
11836
11836
  short: "{{date}}, {{time}}"
11837
11837
  }, qx = {
11838
- date: cr({
11838
+ date: lr({
11839
11839
  formats: zx,
11840
11840
  defaultWidth: "full"
11841
11841
  }),
11842
- time: cr({
11842
+ time: lr({
11843
11843
  formats: Hx,
11844
11844
  defaultWidth: "full"
11845
11845
  }),
11846
- dateTime: cr({
11846
+ dateTime: lr({
11847
11847
  formats: Ux,
11848
11848
  defaultWidth: "full"
11849
11849
  })
@@ -12239,7 +12239,7 @@ function Lw(e, t) {
12239
12239
  }
12240
12240
  function Bw(e, t) {
12241
12241
  J(2, arguments);
12242
- var n = xr(e), r = xr(t);
12242
+ var n = br(e), r = br(t);
12243
12243
  return n.getTime() === r.getTime();
12244
12244
  }
12245
12245
  function Fw(e, t) {
@@ -12778,7 +12778,7 @@ var Zw = /* @__PURE__ */ function(e) {
12778
12778
  key: "set",
12779
12779
  value: function(o, a, i) {
12780
12780
  var s = /* @__PURE__ */ new Date(0);
12781
- return s.setUTCFullYear(i, 0, 4), s.setUTCHours(0, 0, 0, 0), wr(s);
12781
+ return s.setUTCFullYear(i, 0, 4), s.setUTCHours(0, 0, 0, 0), xr(s);
12782
12782
  }
12783
12783
  }]), n;
12784
12784
  }(Ne), tC = /* @__PURE__ */ function(e) {
@@ -13125,7 +13125,7 @@ var cC = /* @__PURE__ */ function(e) {
13125
13125
  }, {
13126
13126
  key: "set",
13127
13127
  value: function(o, a, i) {
13128
- return wr(lC(o, i));
13128
+ return xr(lC(o, i));
13129
13129
  }
13130
13130
  }]), n;
13131
13131
  }(Ne), uC = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], dC = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], fC = /* @__PURE__ */ function(e) {
@@ -14268,13 +14268,13 @@ function eE(e, t) {
14268
14268
  var n = e.match(KC);
14269
14269
  if (!n)
14270
14270
  return /* @__PURE__ */ new Date(NaN);
14271
- var r = !!n[4], o = Nr(n[1]), a = Nr(n[2]) - 1, i = Nr(n[3]), s = Nr(n[4]), c = Nr(n[5]) - 1;
14271
+ var r = !!n[4], o = $r(n[1]), a = $r(n[2]) - 1, i = $r(n[3]), s = $r(n[4]), c = $r(n[5]) - 1;
14272
14272
  if (r)
14273
14273
  return sE(t, s, c) ? rE(t, s, c) : /* @__PURE__ */ new Date(NaN);
14274
14274
  var u = /* @__PURE__ */ new Date(0);
14275
14275
  return !aE(t, a, i) || !iE(t, o) ? /* @__PURE__ */ new Date(NaN) : (u.setUTCFullYear(t, a, Math.max(o, i)), u);
14276
14276
  }
14277
- function Nr(e) {
14277
+ function $r(e) {
14278
14278
  return e ? parseInt(e) : 1;
14279
14279
  }
14280
14280
  function tE(e) {
@@ -14510,7 +14510,7 @@ class hE {
14510
14510
  default:
14511
14511
  return La(r, s);
14512
14512
  }
14513
- }, this.isAfter = (r, o) => _o(r, o), this.isBefore = (r, o) => nr(r, o), this.startOfDay = (r) => xr(r), this.endOfDay = (r) => Ni(r), this.getHours = (r) => $w(r), this.setHours = (r, o) => YC(r, o), this.setMinutes = (r, o) => zC(r, o), this.getSeconds = (r) => Aw(r), this.setSeconds = (r, o) => UC(r, o), this.isSameDay = (r, o) => Bw(r, o), this.isSameMonth = (r, o) => Vw(r, o), this.isSameYear = (r, o) => Fw(r, o), this.isSameHour = (r, o) => Ww(r, o), this.startOfYear = (r) => So(r), this.endOfYear = (r) => fi(r), this.startOfMonth = (r) => Ro(r), this.endOfMonth = (r) => ji(r), this.startOfWeek = (r) => pi(r, { locale: this.locale }), this.endOfWeek = (r) => di(r, { locale: this.locale }), this.getYear = (r) => Iw(r), this.setYear = (r, o) => qC(r, o), this.date = (r) => typeof r > "u" ? /* @__PURE__ */ new Date() : r === null ? null : new Date(r), this.toJsDate = (r) => r, this.parse = (r, o) => r === "" ? null : FC(r, o, /* @__PURE__ */ new Date(), { locale: this.locale }), this.format = (r, o) => this.formatByString(r, this.formats[o]), this.formatByString = (r, o) => kw(r, o, { locale: this.locale }), this.isEqual = (r, o) => r === null && o === null ? !0 : Lw(r, o), this.isNull = (r) => r === null, this.isAfterDay = (r, o) => _o(r, Ni(o)), this.isBeforeDay = (r, o) => nr(r, xr(o)), this.isBeforeYear = (r, o) => nr(r, So(o)), this.isAfterYear = (r, o) => _o(r, fi(o)), this.isWithinRange = (r, [o, a]) => dE(r, { start: o, end: a }), this.formatNumber = (r) => r, this.getMinutes = (r) => Nw(r), this.getDate = (r) => Rw(r), this.setDate = (r, o) => WC(r, o), this.getMonth = (r) => jw(r), this.getDaysInMonth = (r) => ef(r), this.setMonth = (r, o) => HC(r, o), this.getMeridiemText = (r) => r === "am" ? "AM" : "PM", this.getNextMonth = (r) => zo(r, 1), this.getPreviousMonth = (r) => zo(r, -1), this.getMonthArray = (r) => {
14513
+ }, this.isAfter = (r, o) => _o(r, o), this.isBefore = (r, o) => nr(r, o), this.startOfDay = (r) => br(r), this.endOfDay = (r) => Ni(r), this.getHours = (r) => $w(r), this.setHours = (r, o) => YC(r, o), this.setMinutes = (r, o) => zC(r, o), this.getSeconds = (r) => Aw(r), this.setSeconds = (r, o) => UC(r, o), this.isSameDay = (r, o) => Bw(r, o), this.isSameMonth = (r, o) => Vw(r, o), this.isSameYear = (r, o) => Fw(r, o), this.isSameHour = (r, o) => Ww(r, o), this.startOfYear = (r) => So(r), this.endOfYear = (r) => fi(r), this.startOfMonth = (r) => Ro(r), this.endOfMonth = (r) => ji(r), this.startOfWeek = (r) => pi(r, { locale: this.locale }), this.endOfWeek = (r) => di(r, { locale: this.locale }), this.getYear = (r) => Iw(r), this.setYear = (r, o) => qC(r, o), this.date = (r) => typeof r > "u" ? /* @__PURE__ */ new Date() : r === null ? null : new Date(r), this.toJsDate = (r) => r, this.parse = (r, o) => r === "" ? null : FC(r, o, /* @__PURE__ */ new Date(), { locale: this.locale }), this.format = (r, o) => this.formatByString(r, this.formats[o]), this.formatByString = (r, o) => kw(r, o, { locale: this.locale }), this.isEqual = (r, o) => r === null && o === null ? !0 : Lw(r, o), this.isNull = (r) => r === null, this.isAfterDay = (r, o) => _o(r, Ni(o)), this.isBeforeDay = (r, o) => nr(r, br(o)), this.isBeforeYear = (r, o) => nr(r, So(o)), this.isAfterYear = (r, o) => _o(r, fi(o)), this.isWithinRange = (r, [o, a]) => dE(r, { start: o, end: a }), this.formatNumber = (r) => r, this.getMinutes = (r) => Nw(r), this.getDate = (r) => Rw(r), this.setDate = (r, o) => WC(r, o), this.getMonth = (r) => jw(r), this.getDaysInMonth = (r) => ef(r), this.setMonth = (r, o) => HC(r, o), this.getMeridiemText = (r) => r === "am" ? "AM" : "PM", this.getNextMonth = (r) => zo(r, 1), this.getPreviousMonth = (r) => zo(r, -1), this.getMonthArray = (r) => {
14514
14514
  const a = [So(r)];
14515
14515
  for (; a.length < 12; ) {
14516
14516
  const i = a[a.length - 1];
@@ -14585,7 +14585,7 @@ class ca extends hE {
14585
14585
  }, this.getFormatHelperText = (n) => this.expandFormat(n).replace(/(aaa|aa|a)/g, "(a|p)m").toLocaleLowerCase();
14586
14586
  }
14587
14587
  }
14588
- function jr(e, t) {
14588
+ function Nr(e, t) {
14589
14589
  if (e.one !== void 0 && t === 1)
14590
14590
  return e.one;
14591
14591
  var n = t % 10, r = t % 100;
@@ -14593,7 +14593,7 @@ function jr(e, t) {
14593
14593
  }
14594
14594
  function yt(e) {
14595
14595
  return function(t, n) {
14596
- return n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? e.future ? jr(e.future, t) : "через " + jr(e.regular, t) : e.past ? jr(e.past, t) : jr(e.regular, t) + " назад" : jr(e.regular, t);
14596
+ return n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? e.future ? Nr(e.future, t) : "через " + Nr(e.regular, t) : e.past ? Nr(e.past, t) : Nr(e.regular, t) + " назад" : Nr(e.regular, t);
14597
14597
  };
14598
14598
  }
14599
14599
  var vE = {
@@ -14786,15 +14786,15 @@ var bE = {
14786
14786
  }, wE = {
14787
14787
  any: "{{date}}, {{time}}"
14788
14788
  }, CE = {
14789
- date: cr({
14789
+ date: lr({
14790
14790
  formats: bE,
14791
14791
  defaultWidth: "full"
14792
14792
  }),
14793
- time: cr({
14793
+ time: lr({
14794
14794
  formats: xE,
14795
14795
  defaultWidth: "full"
14796
14796
  }),
14797
- dateTime: cr({
14797
+ dateTime: lr({
14798
14798
  formats: wE,
14799
14799
  defaultWidth: "any"
14800
14800
  })
@@ -15073,7 +15073,7 @@ var JE = {
15073
15073
  }
15074
15074
  };
15075
15075
  const ua = JE;
15076
- var xn = /* @__PURE__ */ ((e) => (e[e.Textbox = 0] = "Textbox", e[e.RadiobuttonGroup = 1] = "RadiobuttonGroup", e[e.Date = 2] = "Date", e[e.Select = 3] = "Select", e[e.ParentBirthday = 4] = "ParentBirthday", e[e.TextLabel = 5] = "TextLabel", e[e.Checkbox = 6] = "Checkbox", e[e.SignificantDates = 7] = "SignificantDates", e))(xn || {}), Lr = /* @__PURE__ */ ((e) => (e[e.Email = 0] = "Email", e[e.Url = 1] = "Url", e[e.Date = 2] = "Date", e[e.Phone = 3] = "Phone", e))(Lr || {});
15076
+ var xn = /* @__PURE__ */ ((e) => (e[e.Textbox = 0] = "Textbox", e[e.RadiobuttonGroup = 1] = "RadiobuttonGroup", e[e.Date = 2] = "Date", e[e.Select = 3] = "Select", e[e.ParentBirthday = 4] = "ParentBirthday", e[e.TextLabel = 5] = "TextLabel", e[e.Checkbox = 6] = "Checkbox", e[e.SignificantDates = 7] = "SignificantDates", e))(xn || {}), Ir = /* @__PURE__ */ ((e) => (e[e.Email = 0] = "Email", e[e.Url = 1] = "Url", e[e.Date = 2] = "Date", e[e.Phone = 3] = "Phone", e))(Ir || {});
15077
15077
  function eT(e) {
15078
15078
  return bt("MuiTypography", e);
15079
15079
  }
@@ -15339,7 +15339,7 @@ const Jc = st(
15339
15339
  if (e === null)
15340
15340
  throw new Error("MUI: Can not find utils in context. It looks like you forgot to wrap your component in LocalizationProvider, or pass dateAdapter prop directly.");
15341
15341
  return e;
15342
- }, ot = () => bo().utils, Fa = () => bo().defaultDates, Dr = () => bo().localeText, xo = () => {
15342
+ }, ot = () => bo().utils, Fa = () => bo().defaultDates, Pr = () => bo().localeText, xo = () => {
15343
15343
  const e = ot();
15344
15344
  return w.useRef(e.date()).current;
15345
15345
  };
@@ -16660,7 +16660,7 @@ process.env.NODE_ENV !== "production" && (Tf.propTypes = {
16660
16660
  */
16661
16661
  sx: l.oneOfType([l.arrayOf(l.oneOfType([l.func, l.object, l.bool])), l.func, l.object])
16662
16662
  });
16663
- const Or = Tf, oP = Vt(/* @__PURE__ */ f.jsx("path", {
16663
+ const Dr = Tf, oP = Vt(/* @__PURE__ */ f.jsx("path", {
16664
16664
  d: "M7 10l5 5 5-5z"
16665
16665
  }), "ArrowDropDown"), aP = Vt(/* @__PURE__ */ f.jsx("path", {
16666
16666
  d: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"
@@ -16715,7 +16715,7 @@ const uP = ["children", "className", "components", "componentsProps", "isLeftDis
16715
16715
  theme: e
16716
16716
  }) => ({
16717
16717
  width: e.spacing(3)
16718
- })), nu = ae(Or, {
16718
+ })), nu = ae(Dr, {
16719
16719
  name: "MuiPickersArrowSwitcher",
16720
16720
  slot: "Button",
16721
16721
  overridesResolver: (e, t) => t.button
@@ -16877,7 +16877,7 @@ const wP = (e) => {
16877
16877
  overridesResolver: (e, t) => t.label
16878
16878
  })({
16879
16879
  marginRight: 6
16880
- }), PP = ae(Or, {
16880
+ }), PP = ae(Dr, {
16881
16881
  name: "MuiPickersCalendarHeader",
16882
16882
  slot: "SwitchViewButton",
16883
16883
  overridesResolver: (e, t) => t.switchViewButton
@@ -16925,7 +16925,7 @@ function MP(e) {
16925
16925
  rightArrowButtonText: y,
16926
16926
  getViewSwitchingButtonText: c
16927
16927
  });
16928
- const C = Dr(), x = u ?? C.previousMonth, b = y ?? C.nextMonth, T = c ?? C.calendarViewSwitchingButtonAriaLabel, M = ot(), $ = wP(t), L = r.switchViewButton || {}, R = () => h(M.getNextMonth(o), "left"), B = () => h(M.getPreviousMonth(o), "right"), K = gP(o, {
16928
+ const C = Pr(), x = u ?? C.previousMonth, b = y ?? C.nextMonth, T = c ?? C.calendarViewSwitchingButtonAriaLabel, M = ot(), $ = wP(t), L = r.switchViewButton || {}, R = () => h(M.getNextMonth(o), "left"), B = () => h(M.getPreviousMonth(o), "right"), K = gP(o, {
16929
16929
  disableFuture: i,
16930
16930
  maxDate: d
16931
16931
  }), W = yP(o, {
@@ -16988,7 +16988,7 @@ function MP(e) {
16988
16988
  })]
16989
16989
  });
16990
16990
  }
16991
- const Mr = /* @__PURE__ */ w.createContext(null);
16991
+ const Or = /* @__PURE__ */ w.createContext(null);
16992
16992
  function kP(e) {
16993
16993
  return lt("PrivatePickersYear", e);
16994
16994
  }
@@ -17067,7 +17067,7 @@ const or = st("PrivatePickersYear", ["root", "modeDesktop", "modeMobile", "yearB
17067
17067
  tabIndex: d,
17068
17068
  onFocus: p = ou,
17069
17069
  onBlur: h = ou
17070
- } = t, m = pe(t, _P), g = w.useRef(null), v = ht(g, n), y = w.useContext(Mr), E = D({}, t, {
17070
+ } = t, m = pe(t, _P), g = w.useRef(null), v = ht(g, n), y = w.useContext(Or), E = D({}, t, {
17071
17071
  wrapperVariant: y
17072
17072
  }), O = RP(E);
17073
17073
  return w.useEffect(() => {
@@ -17145,7 +17145,7 @@ const LP = ae("div", {
17145
17145
  onYearFocus: C,
17146
17146
  hasFocus: x,
17147
17147
  onFocusedViewChange: b
17148
- } = i, T = i, M = AP(T), $ = w.useMemo(() => u ?? a.startOfYear(r), [r, a, u]), L = w.useMemo(() => u != null ? a.getYear(u) : O ? null : a.getYear(r), [r, u, a, O]), R = w.useContext(Mr), B = w.useRef(null), [K, W] = w.useState(() => L || a.getYear(r)), [j, N] = co({
17148
+ } = i, T = i, M = AP(T), $ = w.useMemo(() => u ?? a.startOfYear(r), [r, a, u]), L = w.useMemo(() => u != null ? a.getYear(u) : O ? null : a.getYear(r), [r, u, a, O]), R = w.useContext(Or), B = w.useRef(null), [K, W] = w.useState(() => L || a.getYear(r)), [j, N] = co({
17149
17149
  name: "YearPicker",
17150
17150
  state: "hasFocus",
17151
17151
  controlled: x,
@@ -17312,7 +17312,7 @@ const zP = ae(Qs, {
17312
17312
  slot: "ViewTransitionContainer",
17313
17313
  overridesResolver: (e, t) => t.viewTransitionContainer
17314
17314
  })({}), kf = /* @__PURE__ */ w.forwardRef(function(t, n) {
17315
- const r = ot(), o = Er(), a = YP(t, "MuiCalendarPicker"), {
17315
+ const r = ot(), o = Cr(), a = YP(t, "MuiCalendarPicker"), {
17316
17316
  autoFocus: i,
17317
17317
  onViewChange: s,
17318
17318
  date: c,
@@ -17643,9 +17643,9 @@ process.env.NODE_ENV !== "production" && (kf.propTypes = {
17643
17643
  */
17644
17644
  views: l.arrayOf(l.oneOf(["day", "month", "year"]).isRequired)
17645
17645
  });
17646
- const Cr = 220, Cn = 36, ao = {
17647
- x: Cr / 2,
17648
- y: Cr / 2
17646
+ const wr = 220, Cn = 36, ao = {
17647
+ x: wr / 2,
17648
+ y: wr / 2
17649
17649
  }, _f = {
17650
17650
  x: ao.x,
17651
17651
  y: 0
@@ -17670,7 +17670,7 @@ const Cr = 220, Cn = 36, ao = {
17670
17670
  distance: o
17671
17671
  } = Rf(30, e, t);
17672
17672
  let a = r || 12;
17673
- return n ? a %= 12 : o < Cr / 2 - Cn && (a += 12, a %= 24), a;
17673
+ return n ? a %= 12 : o < wr / 2 - Cn && (a += 12, a %= 24), a;
17674
17674
  };
17675
17675
  function QP(e) {
17676
17676
  return lt("MuiClockPointer", e);
@@ -17738,7 +17738,7 @@ function n2(e) {
17738
17738
  }), u = JP(c), d = () => {
17739
17739
  let h = 360 / (o === "hours" ? 12 : 60) * a;
17740
17740
  return o === "hours" && a > 12 && (h -= 360), {
17741
- height: Math.round((r ? 0.26 : 0.4) * Cr),
17741
+ height: Math.round((r ? 0.26 : 0.4) * wr),
17742
17742
  transform: `rotateZ(${h}deg)`
17743
17743
  };
17744
17744
  };
@@ -17839,7 +17839,7 @@ const o2 = (e) => {
17839
17839
  top: "50%",
17840
17840
  left: "50%",
17841
17841
  transform: "translate(-50%, -50%)"
17842
- })), u2 = ae(Or, {
17842
+ })), u2 = ae(Dr, {
17843
17843
  name: "MuiClock",
17844
17844
  slot: "AmButton",
17845
17845
  overridesResolver: (e, t) => t.amButton
@@ -17857,7 +17857,7 @@ const o2 = (e) => {
17857
17857
  "&:hover": {
17858
17858
  backgroundColor: e.palette.primary.light
17859
17859
  }
17860
- })), d2 = ae(Or, {
17860
+ })), d2 = ae(Dr, {
17861
17861
  name: "MuiClock",
17862
17862
  slot: "PmButton",
17863
17863
  overridesResolver: (e, t) => t.pmButton
@@ -17898,7 +17898,7 @@ function f2(e) {
17898
17898
  disabled: y,
17899
17899
  readOnly: E,
17900
17900
  className: O
17901
- } = t, C = t, x = ot(), b = w.useContext(Mr), T = w.useRef(!1), M = o2(C), $ = u(v, g), L = !n && g === "hours" && (v < 1 || v > 12), R = (k, A) => {
17901
+ } = t, C = t, x = ot(), b = w.useContext(Or), T = w.useRef(!1), M = o2(C), $ = u(v, g), L = !n && g === "hours" && (v < 1 || v > 12), R = (k, A) => {
17902
17902
  y || E || u(k, g) || h(k, A);
17903
17903
  }, B = (k, A) => {
17904
17904
  let {
@@ -18053,14 +18053,14 @@ function Sf(e) {
18053
18053
  inner: a,
18054
18054
  label: i,
18055
18055
  selected: s
18056
- } = t, c = pe(t, h2), u = t, d = m2(u), p = o % 12 / 12 * Math.PI * 2 - Math.PI / 2, h = (Cr - Cn - 2) / 2 * (a ? 0.65 : 1), m = Math.round(Math.cos(p) * h), g = Math.round(Math.sin(p) * h);
18056
+ } = t, c = pe(t, h2), u = t, d = m2(u), p = o % 12 / 12 * Math.PI * 2 - Math.PI / 2, h = (wr - Cn - 2) / 2 * (a ? 0.65 : 1), m = Math.round(Math.cos(p) * h), g = Math.round(Math.sin(p) * h);
18057
18057
  return /* @__PURE__ */ f.jsx(v2, D({
18058
18058
  className: ye(n, d.root),
18059
18059
  "aria-disabled": r ? !0 : void 0,
18060
18060
  "aria-selected": s ? !0 : void 0,
18061
18061
  role: "option",
18062
18062
  style: {
18063
- transform: `translate(${m}px, ${g + (Cr - Cn) / 2}px`
18063
+ transform: `translate(${m}px, ${g + (wr - Cn) / 2}px`
18064
18064
  },
18065
18065
  ownerState: u
18066
18066
  }, c, {
@@ -18181,7 +18181,7 @@ const b2 = (e) => {
18181
18181
  getMinutesClockNumberText: m,
18182
18182
  getSecondsClockNumberText: g
18183
18183
  });
18184
- const j = Dr(), N = v ?? j.openPreviousView, S = C ?? j.openNextView, F = p ?? j.clockLabelText, Q = h ?? j.hoursClockNumberText, X = m ?? j.minutesClockNumberText, k = g ?? j.secondsClockNumberText, {
18184
+ const j = Pr(), N = v ?? j.openPreviousView, S = C ?? j.openNextView, F = p ?? j.clockLabelText, Q = h ?? j.hoursClockNumberText, X = m ?? j.minutesClockNumberText, k = g ?? j.secondsClockNumberText, {
18185
18185
  openView: A,
18186
18186
  setOpenView: z,
18187
18187
  nextView: Y,
@@ -18226,7 +18226,7 @@ const b2 = (e) => {
18226
18226
  default:
18227
18227
  throw new Error("not supported");
18228
18228
  }
18229
- }, [o, V, d, y, U, E, O, x, I]), _ = Er(), ne = w.useMemo(() => {
18229
+ }, [o, V, d, y, U, E, O, x, I]), _ = Cr(), ne = w.useMemo(() => {
18230
18230
  switch (A) {
18231
18231
  case "hours": {
18232
18232
  const ce = (me, Re) => {
@@ -18507,7 +18507,7 @@ const iu = Af;
18507
18507
  function D2(e) {
18508
18508
  return bt("MuiGrid", e);
18509
18509
  }
18510
- const O2 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], M2 = ["column-reverse", "column", "row-reverse", "row"], k2 = ["nowrap", "wrap-reverse", "wrap"], Ar = ["auto", !0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], _2 = Tt("MuiGrid", [
18510
+ const O2 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], M2 = ["column-reverse", "column", "row-reverse", "row"], k2 = ["nowrap", "wrap-reverse", "wrap"], jr = ["auto", !0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], _2 = Tt("MuiGrid", [
18511
18511
  "root",
18512
18512
  "container",
18513
18513
  "item",
@@ -18519,13 +18519,13 @@ const O2 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], M2 = ["column-reverse", "column",
18519
18519
  // wrap values
18520
18520
  ...k2.map((e) => `wrap-xs-${e}`),
18521
18521
  // grid sizes for all breakpoints
18522
- ...Ar.map((e) => `grid-xs-${e}`),
18523
- ...Ar.map((e) => `grid-sm-${e}`),
18524
- ...Ar.map((e) => `grid-md-${e}`),
18525
- ...Ar.map((e) => `grid-lg-${e}`),
18526
- ...Ar.map((e) => `grid-xl-${e}`)
18522
+ ...jr.map((e) => `grid-xs-${e}`),
18523
+ ...jr.map((e) => `grid-sm-${e}`),
18524
+ ...jr.map((e) => `grid-md-${e}`),
18525
+ ...jr.map((e) => `grid-lg-${e}`),
18526
+ ...jr.map((e) => `grid-xl-${e}`)
18527
18527
  ]), io = _2, R2 = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
18528
- function ur(e) {
18528
+ function cr(e) {
18529
18529
  const t = parseFloat(e);
18530
18530
  return `${t}${String(e).replace(String(t), "") || "px"}`;
18531
18531
  }
@@ -18564,7 +18564,7 @@ function S2({
18564
18564
  if (t.container && t.item && t.columnSpacing !== 0) {
18565
18565
  const d = e.spacing(t.columnSpacing);
18566
18566
  if (d !== "0px") {
18567
- const p = `calc(${c} + ${ur(d)})`;
18567
+ const p = `calc(${c} + ${cr(d)})`;
18568
18568
  u = {
18569
18569
  flexBasis: p,
18570
18570
  maxWidth: p
@@ -18634,9 +18634,9 @@ function N2({
18634
18634
  var u;
18635
18635
  const d = e.spacing(s);
18636
18636
  return d !== "0px" ? {
18637
- marginTop: `-${ur(d)}`,
18637
+ marginTop: `-${cr(d)}`,
18638
18638
  [`& > .${io.item}`]: {
18639
- paddingTop: ur(d)
18639
+ paddingTop: cr(d)
18640
18640
  }
18641
18641
  } : (u = i) != null && u.includes(c) ? {} : {
18642
18642
  marginTop: 0,
@@ -18672,10 +18672,10 @@ function j2({
18672
18672
  var u;
18673
18673
  const d = e.spacing(s);
18674
18674
  return d !== "0px" ? {
18675
- width: `calc(100% + ${ur(d)})`,
18676
- marginLeft: `-${ur(d)}`,
18675
+ width: `calc(100% + ${cr(d)})`,
18676
+ marginLeft: `-${cr(d)}`,
18677
18677
  [`& > .${io.item}`]: {
18678
- paddingLeft: ur(d)
18678
+ paddingLeft: cr(d)
18679
18679
  }
18680
18680
  } : (u = i) != null && u.includes(c) ? {} : {
18681
18681
  width: "100%",
@@ -19003,7 +19003,7 @@ const W2 = st("MuiPickersToolbar", ["root", "content", "penIconButton", "penIcon
19003
19003
  flex: 1
19004
19004
  }, !e.isLandscape && {
19005
19005
  alignItems: "center"
19006
- })), U2 = ae(Or, {
19006
+ })), U2 = ae(Dr, {
19007
19007
  name: "MuiPickersToolbar",
19008
19008
  slot: "PenIconButton",
19009
19009
  overridesResolver: (e, t) => [{
@@ -19027,7 +19027,7 @@ const W2 = st("MuiPickersToolbar", ["root", "content", "penIconButton", "penIcon
19027
19027
  toggleMobileKeyboardView: d,
19028
19028
  toolbarTitle: p,
19029
19029
  viewType: h = "calendar"
19030
- } = r, m = r, g = Dr(), v = Y2(m);
19030
+ } = r, m = r, g = Pr(), v = Y2(m);
19031
19031
  return /* @__PURE__ */ f.jsxs(z2, {
19032
19032
  ref: n,
19033
19033
  className: ye(v.root, a),
@@ -19093,7 +19093,7 @@ const X2 = ["parsedValue", "isLandscape", "isMobileKeyboardViewOpen", "onChange"
19093
19093
  toolbarPlaceholder: u = "––",
19094
19094
  toolbarTitle: d,
19095
19095
  views: p
19096
- } = r, h = pe(r, X2), m = ot(), g = Dr(), v = Q2(r), y = d ?? g.datePickerDefaultToolbarTitle, E = w.useMemo(() => o ? c ? m.formatByString(o, c) : Nf(p) ? m.format(o, "year") : jf(p) ? m.format(o, "month") : /en/.test(m.getCurrentLocaleCode()) ? m.format(o, "normalDateWithWeekday") : m.format(o, "normalDate") : u, [o, c, u, m, p]), O = r;
19096
+ } = r, h = pe(r, X2), m = ot(), g = Pr(), v = Q2(r), y = d ?? g.datePickerDefaultToolbarTitle, E = w.useMemo(() => o ? c ? m.formatByString(o, c) : Nf(p) ? m.format(o, "year") : jf(p) ? m.format(o, "month") : /en/.test(m.getCurrentLocaleCode()) ? m.format(o, "normalDateWithWeekday") : m.format(o, "normalDate") : u, [o, c, u, m, p]), O = r;
19097
19097
  return /* @__PURE__ */ f.jsx(Z2, D({
19098
19098
  ref: n,
19099
19099
  toolbarTitle: y,
@@ -19664,7 +19664,7 @@ const vD = Ff, gD = ["onAccept", "onClear", "onCancel", "onSetToday", "actions"]
19664
19664
  onCancel: r,
19665
19665
  onSetToday: o,
19666
19666
  actions: a
19667
- } = e, i = pe(e, gD), s = w.useContext(Mr), c = Dr(), u = typeof a == "function" ? a(s) : a;
19667
+ } = e, i = pe(e, gD), s = w.useContext(Or), c = Pr(), u = typeof a == "function" ? a(s) : a;
19668
19668
  if (u == null || u.length === 0)
19669
19669
  return null;
19670
19670
  const d = u == null ? void 0 : u.map((p) => {
@@ -19889,7 +19889,7 @@ function OD(e) {
19889
19889
  components: m,
19890
19890
  componentsProps: g
19891
19891
  } = e, v = w.useRef(null), y = ht(n.inputRef, v);
19892
- return /* @__PURE__ */ f.jsxs(Mr.Provider, {
19892
+ return /* @__PURE__ */ f.jsxs(Or.Provider, {
19893
19893
  value: "desktop",
19894
19894
  children: [/* @__PURE__ */ f.jsx(r, D({}, n, {
19895
19895
  inputRef: y
@@ -20062,10 +20062,10 @@ process.env.NODE_ENV !== "production" && (Yf.propTypes = {
20062
20062
  variant: l.oneOf(["filled", "outlined", "standard"])
20063
20063
  });
20064
20064
  const jD = Yf, AD = (e) => {
20065
- const [, t] = Rp((c) => c + 1, 0), n = dr(null), {
20065
+ const [, t] = Rp((c) => c + 1, 0), n = ur(null), {
20066
20066
  replace: r,
20067
20067
  append: o
20068
- } = e, a = r ? r(e.format(e.value)) : e.format(e.value), i = dr(!1), s = (c) => {
20068
+ } = e, a = r ? r(e.format(e.value)) : e.format(e.value), i = ur(!1), s = (c) => {
20069
20069
  if (process.env.NODE_ENV !== "production") {
20070
20070
  if (c.target.type === "number") {
20071
20071
  console.error("Rifm does not support input type=number, use type=tel instead.");
@@ -20266,7 +20266,7 @@ const BD = (e, t) => (n) => {
20266
20266
  openPicker: d,
20267
20267
  OpenPickerButtonProps: p,
20268
20268
  renderInput: h
20269
- } = t, m = pe(t, VD), g = Dr(), v = i ?? g.openDatePickerDialogue, y = ot(), E = FD(m), O = (s == null ? void 0 : s.position) || "end", C = o.OpenPickerIcon || Pf;
20269
+ } = t, m = pe(t, VD), g = Pr(), v = i ?? g.openDatePickerDialogue, y = ot(), E = FD(m), O = (s == null ? void 0 : s.position) || "end", C = o.OpenPickerIcon || Pf;
20270
20270
  return h(D({
20271
20271
  ref: n,
20272
20272
  inputRef: u,
@@ -20276,7 +20276,7 @@ const BD = (e, t) => (n) => {
20276
20276
  [`${O}Adornment`]: a ? void 0 : /* @__PURE__ */ f.jsx(jD, D({
20277
20277
  position: O
20278
20278
  }, s, {
20279
- children: /* @__PURE__ */ f.jsx(Or, D({
20279
+ children: /* @__PURE__ */ f.jsx(Dr, D({
20280
20280
  edge: O,
20281
20281
  disabled: m.disabled || m.readOnly,
20282
20282
  "aria-label": v(m.rawValue, y)
@@ -20370,7 +20370,7 @@ function XD(e) {
20370
20370
  dateRangeIcon: C,
20371
20371
  timeIcon: x,
20372
20372
  hideTabs: b
20373
- } = r, T = pe(r, HD), M = (t = T.components) == null ? void 0 : t.Tabs, $ = WD(O, p), L = w.useContext(Mr), R = UD(r), B = h ?? L !== "desktop", K = !b && typeof window < "u" && window.innerHeight > 667, W = w.useCallback((k, A) => {
20373
+ } = r, T = pe(r, HD), M = (t = T.components) == null ? void 0 : t.Tabs, $ = WD(O, p), L = w.useContext(Or), R = UD(r), B = h ?? L !== "desktop", K = !b && typeof window < "u" && window.innerHeight > 667, W = w.useCallback((k, A) => {
20374
20374
  c(k, L, A);
20375
20375
  }, [c, L]), j = w.useCallback((k) => {
20376
20376
  s && m(), u && u(k);
@@ -20969,7 +20969,7 @@ const Vi = ({ title: e, value: t, readonly: n, onChange: r, required: o, id: a,
20969
20969
  var u, d, p;
20970
20970
  let c;
20971
20971
  return (u = s.inputProps) != null && u.placeholder && (c = (p = (d = s.inputProps) == null ? void 0 : d.placeholder) == null ? void 0 : p.slice(), s.inputProps.placeholder = void 0), /* @__PURE__ */ f.jsx(
20972
- br,
20972
+ yr,
20973
20973
  {
20974
20974
  ...s,
20975
20975
  id: a,
@@ -21001,7 +21001,7 @@ var qf = tl.default = void 0, aO = oO(rt()), iO = f, sO = (0, aO.default)(/* @__
21001
21001
  }), "Delete");
21002
21002
  qf = tl.default = sO;
21003
21003
  const lO = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21004
- const [a, i] = fe(Math.random()), [s, c] = fe(e ?? [null]), { ToIsoWithoutTimeZone: u, ParseDataToRusLocale: d } = Pr();
21004
+ const [a, i] = fe(Math.random()), [s, c] = fe(e ?? [null]), { ToIsoWithoutTimeZone: u, ParseDataToRusLocale: d } = Tr();
21005
21005
  De(() => {
21006
21006
  r(s.filter((m) => !!m && Date.parse(m)).map((m) => u(m)).join(","));
21007
21007
  }, [s]);
@@ -21067,7 +21067,7 @@ const lO = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21067
21067
  const { cabinetUISettings: s } = de(tt), { currentMode: c } = de(hn), u = (g, v = !1) => {
21068
21068
  if (!o)
21069
21069
  return;
21070
- const y = new CustomEvent(yr, {
21070
+ const y = new CustomEvent(gr, {
21071
21071
  detail: {
21072
21072
  id: e,
21073
21073
  empty: !g,
@@ -21112,7 +21112,7 @@ const lO = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21112
21112
  const [o, a] = fe(!1), i = (v, y = !1) => {
21113
21113
  if (!e.validation.required)
21114
21114
  return;
21115
- const E = new CustomEvent(yr, {
21115
+ const E = new CustomEvent(gr, {
21116
21116
  detail: {
21117
21117
  id: e.id,
21118
21118
  empty: !v,
@@ -21148,7 +21148,7 @@ const lO = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21148
21148
  error: o || !1,
21149
21149
  required: (u = e == null ? void 0 : e.validation) == null ? void 0 : u.required,
21150
21150
  children: [
21151
- /* @__PURE__ */ f.jsx(ir, { id: `select-${e.id}`, children: e.title }),
21151
+ /* @__PURE__ */ f.jsx(Br, { id: `select-${e.id}`, children: e.title }),
21152
21152
  /* @__PURE__ */ f.jsx(
21153
21153
  Fr,
21154
21154
  {
@@ -21200,7 +21200,7 @@ const lO = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21200
21200
  if (!((x = e.validation) != null && x.required))
21201
21201
  return;
21202
21202
  O && c(!E);
21203
- const C = new CustomEvent(yr, {
21203
+ const C = new CustomEvent(gr, {
21204
21204
  detail: {
21205
21205
  id: e.id,
21206
21206
  empty: !E,
@@ -21235,7 +21235,7 @@ const lO = ({ dates: e, readonly: t, required: n, onChange: r, title: o }) => {
21235
21235
  required: (g = e == null ? void 0 : e.validation) == null ? void 0 : g.required,
21236
21236
  error: a.isError || s || !1,
21237
21237
  children: [
21238
- /* @__PURE__ */ f.jsx(ir, { id: `select-${e.id}`, children: e.title }),
21238
+ /* @__PURE__ */ f.jsx(Br, { id: `select-${e.id}`, children: e.title }),
21239
21239
  /* @__PURE__ */ f.jsx(
21240
21240
  Fr,
21241
21241
  {
@@ -21284,7 +21284,7 @@ function vO() {
21284
21284
  return (e == "x" ? t : t & 3 | 8).toString(16);
21285
21285
  });
21286
21286
  }
21287
- const Br = ({ date: e, onChange: t, availableDates: n }) => {
21287
+ const Lr = ({ date: e, onChange: t, availableDates: n }) => {
21288
21288
  const { showErrorAlert: r, closePopupById: o } = de(Wt), [a, i] = fe(e || {
21289
21289
  id: vO(),
21290
21290
  significantDateType: 0,
@@ -21299,7 +21299,7 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21299
21299
  r("Указаны не все обязательные данные");
21300
21300
  return;
21301
21301
  }
21302
- t == null || t(a), o(Br.name);
21302
+ t == null || t(a), o(Lr.name);
21303
21303
  };
21304
21304
  return /* @__PURE__ */ f.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "1em", width: "350px" }, children: [
21305
21305
  /* @__PURE__ */ f.jsxs(
@@ -21308,7 +21308,7 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21308
21308
  fullWidth: !0,
21309
21309
  variant: "standard",
21310
21310
  children: [
21311
- /* @__PURE__ */ f.jsx(ir, { id: "select_type", children: "Тип знаменательной даты" }),
21311
+ /* @__PURE__ */ f.jsx(Br, { id: "select_type", children: "Тип знаменательной даты" }),
21312
21312
  /* @__PURE__ */ f.jsxs(
21313
21313
  Fr,
21314
21314
  {
@@ -21350,7 +21350,7 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21350
21350
  fullWidth: !0,
21351
21351
  variant: "standard",
21352
21352
  children: [
21353
- /* @__PURE__ */ f.jsx(ir, { id: "select_date", children: "Знаменательная дата" }),
21353
+ /* @__PURE__ */ f.jsx(Br, { id: "select_date", children: "Знаменательная дата" }),
21354
21354
  /* @__PURE__ */ f.jsx(
21355
21355
  Fr,
21356
21356
  {
@@ -21393,7 +21393,7 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21393
21393
  var p, h, m;
21394
21394
  let d;
21395
21395
  return (p = u.inputProps) != null && p.placeholder && (d = (m = (h = u.inputProps) == null ? void 0 : h.placeholder) == null ? void 0 : m.slice(), u.inputProps.placeholder = void 0), /* @__PURE__ */ f.jsx(
21396
- br,
21396
+ yr,
21397
21397
  {
21398
21398
  ...u,
21399
21399
  id: "date",
@@ -21409,7 +21409,7 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21409
21409
  }
21410
21410
  ) }),
21411
21411
  /* @__PURE__ */ f.jsx(
21412
- br,
21412
+ yr,
21413
21413
  {
21414
21414
  id: "name",
21415
21415
  label: "Имя",
@@ -21426,7 +21426,7 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21426
21426
  fullWidth: !0,
21427
21427
  variant: "standard",
21428
21428
  children: [
21429
- /* @__PURE__ */ f.jsx(ir, { id: "select_sex", children: "Пол" }),
21429
+ /* @__PURE__ */ f.jsx(Br, { id: "select_sex", children: "Пол" }),
21430
21430
  /* @__PURE__ */ f.jsxs(
21431
21431
  Fr,
21432
21432
  {
@@ -21473,12 +21473,12 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21473
21473
  }, gO = ({ dates: e, onChange: t, availableDates: n }) => {
21474
21474
  const {
21475
21475
  ParseDataToRusLocaleFullYear: r
21476
- } = Pr(), { showNewPopup: o } = de(Wt), [a, i] = fe(e), s = () => {
21476
+ } = Tr(), { showNewPopup: o } = de(Wt), [a, i] = fe(e), s = () => {
21477
21477
  o({
21478
21478
  title: "Знаменательная дата",
21479
- id: Br.name,
21479
+ id: Lr.name,
21480
21480
  content: /* @__PURE__ */ f.jsx(
21481
- Br,
21481
+ Lr,
21482
21482
  {
21483
21483
  date: null,
21484
21484
  availableDates: n,
@@ -21491,9 +21491,9 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21491
21491
  }, c = (u) => {
21492
21492
  o({
21493
21493
  title: "Знаменательная дата",
21494
- id: Br.name,
21494
+ id: Lr.name,
21495
21495
  content: /* @__PURE__ */ f.jsx(
21496
- Br,
21496
+ Lr,
21497
21497
  {
21498
21498
  availableDates: n,
21499
21499
  date: u,
@@ -21504,14 +21504,13 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21504
21504
  )
21505
21505
  });
21506
21506
  };
21507
- return /* @__PURE__ */ f.jsxs(
21507
+ return /* @__PURE__ */ f.jsx(
21508
21508
  ar,
21509
21509
  {
21510
21510
  fullWidth: !0,
21511
21511
  variant: "standard",
21512
- children: [
21513
- /* @__PURE__ */ f.jsx(ir, { id: "select_date", children: "Знаменательные дата" }),
21514
- /* @__PURE__ */ f.jsx(Ln, { sx: { marginTop: "12px" }, color: "primary", onClick: () => s(), children: /* @__PURE__ */ f.jsx(pa, {}) }),
21512
+ children: /* @__PURE__ */ f.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "1em" }, children: [
21513
+ /* @__PURE__ */ f.jsx("div", { children: "Знаменательные дата" }),
21515
21514
  a.map((u, d) => {
21516
21515
  var p;
21517
21516
  return /* @__PURE__ */ f.jsx(
@@ -21524,15 +21523,16 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21524
21523
  return h.id.toLowerCase() === ((m = u.significantDateId) == null ? void 0 : m.toLowerCase());
21525
21524
  })) == null ? void 0 : p.name,
21526
21525
  fullWidth: !0,
21527
- value: a.map((h) => `${r(h.date)} ${h.name ?? ""}`).join(", "),
21526
+ value: `${r(u.date)} ${u.name ?? ""}`,
21528
21527
  InputProps: {
21529
21528
  endAdornment: /* @__PURE__ */ f.jsx(Vp, { sx: { cursor: "pointer" }, position: "end", children: /* @__PURE__ */ f.jsx(Gf, {}) })
21530
21529
  }
21531
21530
  },
21532
21531
  d
21533
21532
  );
21534
- })
21535
- ]
21533
+ }),
21534
+ /* @__PURE__ */ f.jsx("div", { style: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ f.jsx(Ln, { sx: { marginTop: "12px" }, color: "primary", onClick: () => s(), children: /* @__PURE__ */ f.jsx(pa, {}) }) })
21535
+ ] })
21536
21536
  }
21537
21537
  );
21538
21538
  }, yO = ({
@@ -21543,7 +21543,7 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21543
21543
  setControls: o
21544
21544
  }) => {
21545
21545
  var d, p, h, m, g, v, y, E, O;
21546
- const { ToIsoWithoutTimeZone: a } = Pr(), i = (C) => {
21546
+ const { ToIsoWithoutTimeZone: a } = Tr(), i = (C) => {
21547
21547
  Date.parse(C) && (C = a(C)), o((x) => x.map((b) => b.id === e.id ? { ...b, text: C } : b));
21548
21548
  }, s = (C) => {
21549
21549
  o((x) => x.map((b) => b.id === e.id ? { ...b, checked: C } : b));
@@ -21555,7 +21555,7 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21555
21555
  switch (e.type) {
21556
21556
  case xn.Textbox:
21557
21557
  return /* @__PURE__ */ f.jsx(
21558
- br,
21558
+ yr,
21559
21559
  {
21560
21560
  value: t,
21561
21561
  onChange: (C) => i(C.target.value),
@@ -21643,7 +21643,7 @@ const Br = ({ date: e, onChange: t, availableDates: n }) => {
21643
21643
  }, bO = (e) => {
21644
21644
  const t = () => {
21645
21645
  const r = new RegExp(/^\.*/);
21646
- return e.type !== null ? e.type === Lr.Email ? new RegExp(/^[\w.-]+@\w+([.-]?\w+)*(\.\w{2,3})+$/) : e.type === Lr.Url || e.type === Lr.Date ? r : e.type === Lr.Phone ? new RegExp(/^[+]?[\d]{10,11}$/) : r : r;
21646
+ return e.type !== null ? e.type === Ir.Email ? new RegExp(/^[\w.-]+@\w+([.-]?\w+)*(\.\w{2,3})+$/) : e.type === Ir.Url || e.type === Ir.Date ? r : e.type === Ir.Phone ? new RegExp(/^[+]?[\d]{10,11}$/) : r : r;
21647
21647
  }, n = (r) => {
21648
21648
  let o = !0;
21649
21649
  return e != null && e.minTextLength && (o = o && r.length >= (e == null ? void 0 : e.minTextLength)), e != null && e.maxTextLength && (o = o && r.length <= (e == null ? void 0 : e.maxTextLength)), o;
@@ -21961,7 +21961,7 @@ const Wi = ({ title: e, text: t }) => /* @__PURE__ */ f.jsx("div", { className:
21961
21961
  var s, c, u, d;
21962
21962
  const {
21963
21963
  currency: t
21964
- } = de(tt), [n, r] = fe(!1), { ParseDataToRusLocale: o } = Pr(), a = /* @__PURE__ */ f.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: ".5em" }, children: [
21964
+ } = de(tt), [n, r] = fe(!1), { ParseDataToRusLocale: o } = Tr(), a = /* @__PURE__ */ f.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: ".5em" }, children: [
21965
21965
  (s = e == null ? void 0 : e.items) == null ? void 0 : s.map((p, h) => {
21966
21966
  var m, g, v, y;
21967
21967
  return /* @__PURE__ */ f.jsx("div", { className: "purchase_element", children: /* @__PURE__ */ f.jsxs("div", { children: [
@@ -22099,7 +22099,7 @@ const oM = () => {
22099
22099
  return /* @__PURE__ */ f.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "1em" }, children: [
22100
22100
  u,
22101
22101
  /* @__PURE__ */ f.jsx("div", { children: /* @__PURE__ */ f.jsx(
22102
- br,
22102
+ yr,
22103
22103
  {
22104
22104
  multiline: !0,
22105
22105
  required: !0,
@@ -22170,7 +22170,7 @@ const oM = () => {
22170
22170
  ) });
22171
22171
  };
22172
22172
  const sM = ({ appeal: e }) => {
22173
- const { pageState: t, setPageState: n } = de(tt), r = t == null ? void 0 : t.data, { ParseDataToRusLocale: o } = Pr(), [a, i] = fe(!1);
22173
+ const { pageState: t, setPageState: n } = de(tt), r = t == null ? void 0 : t.data, { ParseDataToRusLocale: o } = Tr(), [a, i] = fe(!1);
22174
22174
  return De(() => {
22175
22175
  r && r.id === e.id && (i(!0), n(null));
22176
22176
  }, [r]), /* @__PURE__ */ f.jsxs("div", { children: [
@@ -22237,7 +22237,7 @@ var ip = dl.default = void 0, fM = dM(rt()), pM = f, hM = (0, fM.default)(/* @__
22237
22237
  }), "ContentCopy");
22238
22238
  ip = dl.default = hM;
22239
22239
  const mM = ({ text: e }) => {
22240
- const [t, n] = pt.useState(null), r = dr(null), o = () => {
22240
+ const [t, n] = pt.useState(null), r = ur(null), o = () => {
22241
22241
  navigator.clipboard.writeText(e == null ? void 0 : e.toString()).then(() => {
22242
22242
  n(r.current);
22243
22243
  });
@@ -23260,9 +23260,9 @@ export {
23260
23260
  lk as ErrorBoundary,
23261
23261
  Kf as FormController,
23262
23262
  ch as Header,
23263
- Or as IconButton,
23263
+ Dr as IconButton,
23264
23264
  ik as IconRating,
23265
- br as Input,
23265
+ yr as Input,
23266
23266
  yO as InputController,
23267
23267
  uh as Loader,
23268
23268
  Yn as LoadingContext,