@helloimkostya/konsolpro-custom-ui-mini 0.0.409 → 0.0.410

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index-mini.js CHANGED
@@ -63,18 +63,19 @@ import * as Er from "@radix-ui/react-progress";
63
63
  import * as At from "@radix-ui/react-radio-group";
64
64
  import * as Dt from "@radix-ui/react-toggle-group";
65
65
  import * as ge from "@radix-ui/react-select";
66
+ import { useLocation as la, Link as da } from "react-router-dom";
66
67
  import * as qt from "@radix-ui/react-switch";
67
68
  import * as Ge from "@radix-ui/react-tabs";
68
- import { Toaster as la, toast as ae } from "sonner";
69
+ import { Toaster as ca, toast as ae } from "sonner";
69
70
  import * as Oe from "@radix-ui/react-tooltip";
70
71
  import { useFloating as Hr, autoUpdate as Kr, offset as Ur, flip as $r, shift as Yr, size as Zr, useTransitionStyles as Jr } from "@floating-ui/react";
71
72
  import { useCombobox as ue } from "downshift";
72
- import { flexRender as Qr, useReactTable as da, getSortedRowModel as ca, getCoreRowModel as ua } from "@tanstack/react-table";
73
+ import { flexRender as Qr, useReactTable as ua, getSortedRowModel as fa, getCoreRowModel as ma } from "@tanstack/react-table";
73
74
  function p(...e) {
74
75
  return ea(qn(e));
75
76
  }
76
77
  const wt = ["purple", "cyan", "blue", "volcano", "magenta"];
77
- function fa(e) {
78
+ function pa(e) {
78
79
  if (e == null)
79
80
  return "purple";
80
81
  const t = typeof e == "number" ? e : Number.parseInt(String(e), 10);
@@ -88,7 +89,7 @@ function A(e) {
88
89
  return { default: (yield e()).ReactComponent };
89
90
  }));
90
91
  }
91
- const ma = {
92
+ const ha = {
92
93
  UnfoldIcon: A(() => S(null, null, function* () {
93
94
  return import("../chunks/unfold-icon-S3J7xXHf.js");
94
95
  })),
@@ -445,7 +446,7 @@ function V({
445
446
  className: r,
446
447
  size: a = 16
447
448
  }) {
448
- const o = ma[e];
449
+ const o = ha[e];
449
450
  return o ? /* @__PURE__ */ n(
450
451
  "div",
451
452
  {
@@ -463,7 +464,7 @@ function te(e) {
463
464
  return { default: (yield e()).ReactComponent };
464
465
  }));
465
466
  }
466
- const pa = {
467
+ const ga = {
467
468
  AlfaIcon: te(() => S(null, null, function* () {
468
469
  return import("../chunks/alfa-icon-Cx0WqCux.js");
469
470
  })),
@@ -544,8 +545,8 @@ const pa = {
544
545
  return import("../chunks/yandex-icon-CepqpI49.js");
545
546
  }))
546
547
  };
547
- function fl({ icon: e }) {
548
- const t = q(() => pa[e], [e]);
548
+ function hl({ icon: e }) {
549
+ const t = q(() => ga[e], [e]);
549
550
  return t ? /* @__PURE__ */ n(
550
551
  "div",
551
552
  {
@@ -564,7 +565,7 @@ function De(e) {
564
565
  return { default: (yield e()).ReactComponent };
565
566
  }));
566
567
  }
567
- const ha = {
568
+ const ba = {
568
569
  Normal: De(() => S(null, null, function* () {
569
570
  return import("../chunks/normal-icon-CYvIFN5j.js");
570
571
  })),
@@ -596,12 +597,12 @@ const ha = {
596
597
  return import("../chunks/accept-icon-X_bMUe5T.js");
597
598
  }))
598
599
  };
599
- function ml({
600
+ function gl({
600
601
  icon: e,
601
602
  color: t = "currentColor",
602
603
  size: r = 40
603
604
  }) {
604
- const a = q(() => ha[e], [e]);
605
+ const a = q(() => ba[e], [e]);
605
606
  return a ? /* @__PURE__ */ n(
606
607
  "div",
607
608
  {
@@ -753,7 +754,7 @@ const Xr = me(
753
754
  iconPosition: "start"
754
755
  }
755
756
  }
756
- ), ga = {
757
+ ), xa = {
757
758
  primary: {
758
759
  hover: "bg-primary-hover",
759
760
  focus: "bg-primary-hover",
@@ -856,7 +857,7 @@ const Xr = me(
856
857
  isLoading: d,
857
858
  iconPosition: s
858
859
  }),
859
- u && ((k = ga[t]) == null ? void 0 : k[u]),
860
+ u && ((k = xa[t]) == null ? void 0 : k[u]),
860
861
  e
861
862
  ),
862
863
  disabled: d || g,
@@ -982,7 +983,7 @@ const Rr = me("", {
982
983
  }
983
984
  );
984
985
  O.displayName = "Typography";
985
- const qr = Rt({}), ba = 384, en = v.forwardRef(
986
+ const qr = Rt({}), ya = 384, en = v.forwardRef(
986
987
  (c, l) => {
987
988
  var f = c, {
988
989
  closeOnItemClick: e = !0,
@@ -1043,7 +1044,7 @@ const rn = v.forwardRef(
1043
1044
  align: r = "start",
1044
1045
  side: a = "bottom",
1045
1046
  minWidth: o = 200,
1046
- maxHeight: i = ba,
1047
+ maxHeight: i = ya,
1047
1048
  sideOffset: s = 4,
1048
1049
  style: l
1049
1050
  } = u, c = L(u, [
@@ -1159,7 +1160,7 @@ const on = v.forwardRef((a, r) => {
1159
1160
  );
1160
1161
  });
1161
1162
  on.displayName = "DropdownSeparator";
1162
- function xa({
1163
+ function va({
1163
1164
  children: e,
1164
1165
  size: t = "md",
1165
1166
  disabled: r,
@@ -1198,20 +1199,20 @@ function xa({
1198
1199
  )
1199
1200
  ] });
1200
1201
  }
1201
- xa.displayName = "ActionsMenu";
1202
- const ya = v.forwardRef(
1202
+ va.displayName = "ActionsMenu";
1203
+ const wa = v.forwardRef(
1203
1204
  (e, t) => /* @__PURE__ */ n(nn, w({ ref: t }, e))
1204
1205
  );
1205
- ya.displayName = "ActionsMenuItem";
1206
- const va = v.forwardRef(
1206
+ wa.displayName = "ActionsMenuItem";
1207
+ const Na = v.forwardRef(
1207
1208
  (e, t) => /* @__PURE__ */ n(on, w({ ref: t }, e))
1208
1209
  );
1209
- va.displayName = "ActionsMenuSeparator";
1210
- const wa = v.forwardRef(
1210
+ Na.displayName = "ActionsMenuSeparator";
1211
+ const Ia = v.forwardRef(
1211
1212
  (e, t) => /* @__PURE__ */ n(an, w({ ref: t }, e))
1212
1213
  );
1213
- wa.displayName = "ActionsMenuLabel";
1214
- const Na = {
1214
+ Ia.displayName = "ActionsMenuLabel";
1215
+ const Ca = {
1215
1216
  error: {
1216
1217
  stripe: "bg-destructive",
1217
1218
  bg: "bg-red-50",
@@ -1236,7 +1237,7 @@ const Na = {
1236
1237
  icon: "text-yellow-500",
1237
1238
  iconName: "InfoFillIcon"
1238
1239
  }
1239
- }, Ia = v.forwardRef(
1240
+ }, ka = v.forwardRef(
1240
1241
  (x, u) => {
1241
1242
  var g = x, {
1242
1243
  variant: e,
@@ -1261,7 +1262,7 @@ const Na = {
1261
1262
  "className",
1262
1263
  "data-testid"
1263
1264
  ]);
1264
- const m = Na[e];
1265
+ const m = Ca[e];
1265
1266
  return /* @__PURE__ */ I(
1266
1267
  "div",
1267
1268
  F(w({
@@ -1331,7 +1332,7 @@ const Na = {
1331
1332
  );
1332
1333
  }
1333
1334
  );
1334
- Ia.displayName = "Alert";
1335
+ ka.displayName = "Alert";
1335
1336
  const lt = v.forwardRef((a, r) => {
1336
1337
  var o = a, { className: e } = o, t = L(o, ["className"]);
1337
1338
  return /* @__PURE__ */ n(
@@ -1346,7 +1347,7 @@ const lt = v.forwardRef((a, r) => {
1346
1347
  );
1347
1348
  });
1348
1349
  lt.displayName = we.displayName;
1349
- const Ca = v.forwardRef((a, r) => {
1350
+ const Sa = v.forwardRef((a, r) => {
1350
1351
  var o = a, { className: e } = o, t = L(o, ["className"]);
1351
1352
  return /* @__PURE__ */ I("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1352
1353
  /* @__PURE__ */ n(V, { icon: "SearchIcon" }),
@@ -1362,7 +1363,7 @@ const Ca = v.forwardRef((a, r) => {
1362
1363
  )
1363
1364
  ] });
1364
1365
  });
1365
- Ca.displayName = we.Input.displayName;
1366
+ Sa.displayName = we.Input.displayName;
1366
1367
  const dt = v.forwardRef((a, r) => {
1367
1368
  var o = a, { className: e } = o, t = L(o, ["className"]);
1368
1369
  return /* @__PURE__ */ n(
@@ -1396,7 +1397,7 @@ const ct = v.forwardRef((a, r) => {
1396
1397
  );
1397
1398
  });
1398
1399
  ct.displayName = we.Group.displayName;
1399
- const ka = v.forwardRef((a, r) => {
1400
+ const Ta = v.forwardRef((a, r) => {
1400
1401
  var o = a, { className: e } = o, t = L(o, ["className"]);
1401
1402
  return /* @__PURE__ */ n(
1402
1403
  we.Separator,
@@ -1406,7 +1407,7 @@ const ka = v.forwardRef((a, r) => {
1406
1407
  }, t)
1407
1408
  );
1408
1409
  });
1409
- ka.displayName = we.Separator.displayName;
1410
+ Ta.displayName = we.Separator.displayName;
1410
1411
  const Ft = v.forwardRef((a, r) => {
1411
1412
  var o = a, { className: e } = o, t = L(o, ["className"]);
1412
1413
  return /* @__PURE__ */ n(
@@ -1421,7 +1422,7 @@ const Ft = v.forwardRef((a, r) => {
1421
1422
  );
1422
1423
  });
1423
1424
  Ft.displayName = we.Item.displayName;
1424
- function Sa(r) {
1425
+ function Ma(r) {
1425
1426
  var a = r, {
1426
1427
  className: e
1427
1428
  } = a, t = L(a, [
@@ -1437,7 +1438,7 @@ function Sa(r) {
1437
1438
  }, t)
1438
1439
  );
1439
1440
  }
1440
- Sa.displayName = "CommandShortcut";
1441
+ Ma.displayName = "CommandShortcut";
1441
1442
  const Fe = v.forwardRef(
1442
1443
  (R, M) => {
1443
1444
  var k = R, {
@@ -1631,7 +1632,7 @@ const Fe = v.forwardRef(
1631
1632
  }
1632
1633
  );
1633
1634
  Fe.displayName = "Input";
1634
- const Ta = v.forwardRef(
1635
+ const Ea = v.forwardRef(
1635
1636
  (e, t) => {
1636
1637
  const [r, a] = v.useState(!1), o = v.useRef(null), f = e, { size: i = "md" } = f, s = L(f, ["size"]), l = v.useCallback(
1637
1638
  (d) => {
@@ -1671,7 +1672,7 @@ const Ta = v.forwardRef(
1671
1672
  );
1672
1673
  }
1673
1674
  );
1674
- Ta.displayName = "InputPassword";
1675
+ Ea.displayName = "InputPassword";
1675
1676
  const kt = v.forwardRef(
1676
1677
  (e, t) => {
1677
1678
  const d = e, {
@@ -1724,7 +1725,7 @@ const kt = v.forwardRef(
1724
1725
  }
1725
1726
  );
1726
1727
  kt.displayName = "InputSearch";
1727
- const Ma = v.forwardRef(
1728
+ const Ra = v.forwardRef(
1728
1729
  (e, t) => {
1729
1730
  const l = e, { size: r = "md", title: a, className: o, disabled: i } = l, s = L(l, ["size", "title", "className", "disabled"]);
1730
1731
  return /* @__PURE__ */ n("div", { className: "w-full", children: /* @__PURE__ */ n(
@@ -1744,8 +1745,8 @@ const Ma = v.forwardRef(
1744
1745
  ) });
1745
1746
  }
1746
1747
  );
1747
- Ma.displayName = "InputTitle";
1748
- const Ea = v.forwardRef(
1748
+ Ra.displayName = "InputTitle";
1749
+ const Aa = v.forwardRef(
1749
1750
  (e, t) => {
1750
1751
  const s = e, { size: r = "md", className: a } = s, o = L(s, ["size", "className"]), i = /* @__PURE__ */ n(
1751
1752
  "div",
@@ -1768,7 +1769,7 @@ const Ea = v.forwardRef(
1768
1769
  );
1769
1770
  }
1770
1771
  );
1771
- Ea.displayName = "InputLink";
1772
+ Aa.displayName = "InputLink";
1772
1773
  const $e = he.Root, Ye = he.Trigger, We = v.forwardRef((i, o) => {
1773
1774
  var s = i, { className: e, align: t = "center", sideOffset: r = 4 } = s, a = L(s, ["className", "align", "sideOffset"]);
1774
1775
  return /* @__PURE__ */ n(he.Portal, { children: /* @__PURE__ */ n(
@@ -1786,11 +1787,11 @@ const $e = he.Root, Ye = he.Trigger, We = v.forwardRef((i, o) => {
1786
1787
  ) });
1787
1788
  });
1788
1789
  We.displayName = he.Content.displayName;
1789
- function pl(t) {
1790
+ function bl(t) {
1790
1791
  var e = L(t, []);
1791
1792
  return /* @__PURE__ */ n(he.Anchor, w({ "data-slot": "popover-anchor" }, e));
1792
1793
  }
1793
- function hl({
1794
+ function xl({
1794
1795
  options: e,
1795
1796
  value: t,
1796
1797
  onValueChange: r,
@@ -1891,36 +1892,36 @@ function hl({
1891
1892
  )
1892
1893
  ] }) });
1893
1894
  }
1894
- const Ra = {
1895
+ const Da = {
1895
1896
  small: "h-6 w-6",
1896
1897
  default: "h-8 w-8",
1897
1898
  large: "h-10 w-10",
1898
1899
  extra: "h-12 w-12"
1899
- }, Aa = {
1900
+ }, Fa = {
1900
1901
  small: "rounded-[6px]",
1901
1902
  default: "rounded-[8px]",
1902
1903
  large: "rounded-[10px]",
1903
1904
  extra: "rounded-[12px]"
1904
- }, Da = {
1905
+ }, La = {
1905
1906
  small: "text-[12px]",
1906
1907
  default: "text-[12px]",
1907
1908
  large: "text-[16px]",
1908
1909
  extra: "text-[16px]"
1909
- }, Fa = {
1910
+ }, Pa = {
1910
1911
  purple: "bg-[var(--color-avatar-purple-bg)]",
1911
1912
  cyan: "bg-[var(--color-avatar-cyan-bg)]",
1912
1913
  blue: "bg-[var(--color-avatar-blue-bg)]",
1913
1914
  volcano: "bg-[var(--color-avatar-volcano-bg)]",
1914
1915
  magenta: "bg-[var(--color-avatar-magenta-bg)]"
1915
- }, La = {
1916
+ }, za = {
1916
1917
  purple: "text-[var(--color-avatar-purple-fg)]",
1917
1918
  cyan: "text-[var(--color-avatar-cyan-fg)]",
1918
1919
  blue: "text-[var(--color-avatar-blue-fg)]",
1919
1920
  volcano: "text-[var(--color-avatar-volcano-fg)]",
1920
1921
  magenta: "text-[var(--color-avatar-magenta-fg)]"
1921
- }, Pa = Ce.forwardRef((c, l) => {
1922
+ }, Ba = Ce.forwardRef((c, l) => {
1922
1923
  var f = c, { className: e, "data-testid": t, size: r = "default", shape: a = "circle", badge: o = !1, children: i } = f, s = L(f, ["className", "data-testid", "size", "shape", "badge", "children"]);
1923
- const d = a === "circle" ? "rounded-full" : Aa[r], u = {
1924
+ const d = a === "circle" ? "rounded-full" : Fa[r], u = {
1924
1925
  small: 8,
1925
1926
  default: 10,
1926
1927
  large: 12,
@@ -1937,7 +1938,7 @@ const Ra = {
1937
1938
  ref: l,
1938
1939
  className: p(
1939
1940
  "relative flex shrink-0",
1940
- Ra[r],
1941
+ Da[r],
1941
1942
  d,
1942
1943
  e
1943
1944
  ),
@@ -1957,8 +1958,8 @@ const Ra = {
1957
1958
  })
1958
1959
  );
1959
1960
  });
1960
- Pa.displayName = Ue.Root.displayName;
1961
- const za = Ce.forwardRef((a, r) => {
1961
+ Ba.displayName = Ue.Root.displayName;
1962
+ const Oa = Ce.forwardRef((a, r) => {
1962
1963
  var o = a, { className: e } = o, t = L(o, ["className"]);
1963
1964
  return /* @__PURE__ */ n(
1964
1965
  Ue.Image,
@@ -1971,15 +1972,15 @@ const za = Ce.forwardRef((a, r) => {
1971
1972
  }, t)
1972
1973
  );
1973
1974
  });
1974
- za.displayName = Ue.Image.displayName;
1975
- const Ba = Ce.forwardRef((c, l) => {
1975
+ Oa.displayName = Ue.Image.displayName;
1976
+ const _a = Ce.forwardRef((c, l) => {
1976
1977
  var f = c, { className: e, size: t = "default", colorVariant: r, userId: a, autoColor: o = !0, children: i } = f, s = L(f, ["className", "size", "colorVariant", "userId", "autoColor", "children"]);
1977
- const d = Da[t], u = Ce.useMemo(() => {
1978
+ const d = La[t], u = Ce.useMemo(() => {
1978
1979
  if (r)
1979
1980
  return r;
1980
1981
  if (o)
1981
- return fa(a);
1982
- }, [o, r, a]), x = u ? Fa[u] : "bg-muted", g = u ? La[u] : "text-foreground";
1982
+ return pa(a);
1983
+ }, [o, r, a]), x = u ? Pa[u] : "bg-muted", g = u ? za[u] : "text-foreground";
1983
1984
  return /* @__PURE__ */ n(
1984
1985
  Ue.Fallback,
1985
1986
  F(w({
@@ -1998,8 +1999,8 @@ const Ba = Ce.forwardRef((c, l) => {
1998
1999
  })
1999
2000
  );
2000
2001
  });
2001
- Ba.displayName = Ue.Fallback.displayName;
2002
- const Oa = new URL("../assets/alfa-BqdpLXjE.png", import.meta.url).href, _a = new URL("../assets/doc-CA2MQk3m.webp", import.meta.url).href, Ga = new URL("../assets/download-D4NtsTXF.webp", import.meta.url).href, Wa = new URL("../assets/headphones-b1FlU-5n.webp", import.meta.url).href, Va = new URL("../assets/magnifying-glass-DnHnztsH.webp", import.meta.url).href, ja = new URL("../assets/mandarin-O1JQvcin.png", import.meta.url).href, Ha = new URL("../assets/person-Dnyaeaax.webp", import.meta.url).href, Ka = new URL("../assets/plus-XlrU9iHE.webp", import.meta.url).href, Ua = new URL("../assets/pocket-DumMTe-y.webp", import.meta.url).href, $a = new URL("../assets/tbank-DHDEULnP.png", import.meta.url).href, Ya = new URL("../assets/torn-paper-Bxt8F9jg.webp", import.meta.url).href, Ke = v.forwardRef(
2002
+ _a.displayName = Ue.Fallback.displayName;
2003
+ const Ga = new URL("../assets/alfa-BqdpLXjE.png", import.meta.url).href, Wa = new URL("../assets/doc-CA2MQk3m.webp", import.meta.url).href, Va = new URL("../assets/download-D4NtsTXF.webp", import.meta.url).href, ja = new URL("../assets/headphones-b1FlU-5n.webp", import.meta.url).href, Ha = new URL("../assets/magnifying-glass-DnHnztsH.webp", import.meta.url).href, Ka = new URL("../assets/mandarin-O1JQvcin.png", import.meta.url).href, Ua = new URL("../assets/person-Dnyaeaax.webp", import.meta.url).href, $a = new URL("../assets/plus-XlrU9iHE.webp", import.meta.url).href, Ya = new URL("../assets/pocket-DumMTe-y.webp", import.meta.url).href, Za = new URL("../assets/tbank-DHDEULnP.png", import.meta.url).href, Ja = new URL("../assets/torn-paper-Bxt8F9jg.webp", import.meta.url).href, Ke = v.forwardRef(
2003
2004
  (x, u) => {
2004
2005
  var g = x, {
2005
2006
  className: e,
@@ -2103,7 +2104,7 @@ function Re(e) {
2103
2104
  function Ut(e) {
2104
2105
  return Se(e, "LLLL yyyy", { locale: ve });
2105
2106
  }
2106
- const Za = [
2107
+ const Qa = [
2107
2108
  "января",
2108
2109
  "февраля",
2109
2110
  "марта",
@@ -2117,10 +2118,10 @@ const Za = [
2117
2118
  "ноября",
2118
2119
  "декабря"
2119
2120
  ];
2120
- function Ja(e) {
2121
- return Za[e.getMonth()];
2121
+ function Xa(e) {
2122
+ return Qa[e.getMonth()];
2122
2123
  }
2123
- function gl(e) {
2124
+ function yl(e) {
2124
2125
  const [t, r, a] = e.split("-").map(Number);
2125
2126
  return new Date(t, r - 1, a);
2126
2127
  }
@@ -2132,7 +2133,7 @@ function It(e) {
2132
2133
  { year: a.getFullYear(), month: a.getMonth() }
2133
2134
  ];
2134
2135
  }
2135
- const Qa = ({
2136
+ const qa = ({
2136
2137
  date: e,
2137
2138
  selected: t,
2138
2139
  renderBadge: r,
@@ -2161,14 +2162,14 @@ const Qa = ({
2161
2162
  ]
2162
2163
  }
2163
2164
  );
2164
- }, ze = 78, ln = 768, Xa = 7, qa = ({
2165
+ }, ze = 78, ln = 768, eo = 7, to = ({
2165
2166
  date: e,
2166
2167
  selected: t,
2167
2168
  onClick: r,
2168
2169
  renderBadge: a,
2169
2170
  className: o = ""
2170
2171
  }) => {
2171
- const i = Se(e, "d", { locale: ve }), s = sn(e), l = Ja(e);
2172
+ const i = Se(e, "d", { locale: ve }), s = sn(e), l = Xa(e);
2172
2173
  return /* @__PURE__ */ n(
2173
2174
  "button",
2174
2175
  {
@@ -2197,7 +2198,7 @@ const Qa = ({
2197
2198
  ] })
2198
2199
  }
2199
2200
  );
2200
- }, bl = ({
2201
+ }, vl = ({
2201
2202
  dates: e,
2202
2203
  selectedDate: t,
2203
2204
  onDateSelect: r,
@@ -2229,7 +2230,7 @@ const Qa = ({
2229
2230
  [r]
2230
2231
  ), d = (u) => t ? Re(u).getTime() === Re(t).getTime() : !1;
2231
2232
  return /* @__PURE__ */ n("div", { className: p("overflow-hidden", i == null ? void 0 : i.root), ref: s, children: /* @__PURE__ */ n("div", { className: p("flex gap-1.5", i == null ? void 0 : i.content), children: e.map((u) => /* @__PURE__ */ n(
2232
- qa,
2233
+ to,
2233
2234
  {
2234
2235
  date: u,
2235
2236
  selected: d(u),
@@ -2244,19 +2245,19 @@ function ot(e) {
2244
2245
  const t = new Date(e);
2245
2246
  return t.setHours(0, 0, 0, 0), t;
2246
2247
  }
2247
- function eo(e, t) {
2248
+ function ro(e, t) {
2248
2249
  return new Date(e, t + 1, 0).getDate();
2249
2250
  }
2250
- function to(e) {
2251
+ function no(e) {
2251
2252
  const t = [];
2252
2253
  for (const r of e) {
2253
- const a = eo(r.year, r.month);
2254
+ const a = ro(r.year, r.month);
2254
2255
  for (let o = 1; o <= a; o++)
2255
2256
  t.push(ot(new Date(r.year, r.month, o)));
2256
2257
  }
2257
2258
  return t;
2258
2259
  }
2259
- function ro({
2260
+ function ao({
2260
2261
  value: e,
2261
2262
  defaultValue: t,
2262
2263
  months: r,
@@ -2267,7 +2268,7 @@ function ro({
2267
2268
  return r;
2268
2269
  const u = o.current;
2269
2270
  return [{ year: u.getFullYear(), month: u.getMonth() }];
2270
- }, [r]), f = q(() => to(c), [c]);
2271
+ }, [r]), f = q(() => no(c), [c]);
2271
2272
  return de(() => {
2272
2273
  const u = ot(e || t || o.current);
2273
2274
  u.getTime() !== s.getTime() && l(u);
@@ -2280,7 +2281,7 @@ function ro({
2280
2281
  }
2281
2282
  };
2282
2283
  }
2283
- const xl = (f) => {
2284
+ const wl = (f) => {
2284
2285
  var d = f, {
2285
2286
  onChange: e,
2286
2287
  dayClassName: t,
@@ -2300,12 +2301,12 @@ const xl = (f) => {
2300
2301
  "onScrollComplete",
2301
2302
  "testIds"
2302
2303
  ]);
2303
- const { days: u, selectedDate: x, setSelectedDate: g } = ro(F(w({}, c), {
2304
+ const { days: u, selectedDate: x, setSelectedDate: g } = ao(F(w({}, c), {
2304
2305
  onChange: e
2305
2306
  })), m = fe(null), y = $((N) => {
2306
2307
  const T = m.current;
2307
2308
  if (T) {
2308
- const E = Xa * ze;
2309
+ const E = eo * ze;
2309
2310
  T.scrollBy({ left: N > 0 ? E : -E, behavior: "smooth" });
2310
2311
  }
2311
2312
  }, []), b = (N) => N.getTime() === x.getTime(), h = $((N, T = !1) => {
@@ -2386,7 +2387,7 @@ const xl = (f) => {
2386
2387
  msOverflowStyle: "none"
2387
2388
  },
2388
2389
  children: /* @__PURE__ */ n("div", { className: "flex gap-2 pb-1 px-4 md:px-4", "data-testid": l == null ? void 0 : l.calendarStrip, children: u.map((N) => /* @__PURE__ */ n(
2389
- Qa,
2390
+ qa,
2390
2391
  {
2391
2392
  date: N,
2392
2393
  selected: b(N),
@@ -2711,7 +2712,7 @@ const ir = v.forwardRef(
2711
2712
  }
2712
2713
  );
2713
2714
  ir.displayName = "SelectTrigger";
2714
- const yl = ge.Group, no = v.forwardRef((i, o) => {
2715
+ const Nl = ge.Group, oo = v.forwardRef((i, o) => {
2715
2716
  var s = i, { className: e, children: t, placeholder: r } = s, a = L(s, ["className", "children", "placeholder"]);
2716
2717
  return /* @__PURE__ */ n(
2717
2718
  ge.Value,
@@ -2779,7 +2780,7 @@ const yl = ge.Group, no = v.forwardRef((i, o) => {
2779
2780
  }
2780
2781
  );
2781
2782
  sr.displayName = "SelectContent";
2782
- const ao = v.forwardRef((a, r) => {
2783
+ const io = v.forwardRef((a, r) => {
2783
2784
  var o = a, { className: e } = o, t = L(o, ["className"]);
2784
2785
  return /* @__PURE__ */ n(
2785
2786
  ge.Label,
@@ -2792,8 +2793,8 @@ const ao = v.forwardRef((a, r) => {
2792
2793
  }, t)
2793
2794
  );
2794
2795
  });
2795
- ao.displayName = "SelectLabel";
2796
- const oo = v.forwardRef((a, r) => {
2796
+ io.displayName = "SelectLabel";
2797
+ const so = v.forwardRef((a, r) => {
2797
2798
  var o = a, { className: e } = o, t = L(o, ["className"]);
2798
2799
  return /* @__PURE__ */ n(
2799
2800
  ge.Separator,
@@ -2803,8 +2804,8 @@ const oo = v.forwardRef((a, r) => {
2803
2804
  }, t)
2804
2805
  );
2805
2806
  });
2806
- oo.displayName = "SelectSeparator";
2807
- const io = ge.Root, so = v.forwardRef(
2807
+ so.displayName = "SelectSeparator";
2808
+ const lo = ge.Root, co = v.forwardRef(
2808
2809
  (d, f) => {
2809
2810
  var u = d, {
2810
2811
  children: e,
@@ -2863,14 +2864,14 @@ const io = ge.Root, so = v.forwardRef(
2863
2864
  );
2864
2865
  }
2865
2866
  );
2866
- so.displayName = "MultiSelect";
2867
+ co.displayName = "MultiSelect";
2867
2868
  ir.displayName = "SelectTrigger";
2868
2869
  sr.displayName = "SelectContent";
2869
2870
  or.displayName = "SelectItem";
2870
2871
  function Ar(e) {
2871
2872
  return Se(e, "yyyy-MM-dd");
2872
2873
  }
2873
- const vl = ({
2874
+ const Il = ({
2874
2875
  anchorDate: e,
2875
2876
  onChange: t,
2876
2877
  onMonthsChange: r,
@@ -2908,7 +2909,7 @@ const vl = ({
2908
2909
  }
2909
2910
  return Ut(c);
2910
2911
  }, [a, c]);
2911
- return /* @__PURE__ */ I(io, { value: g, onValueChange: m, children: [
2912
+ return /* @__PURE__ */ I(lo, { value: g, onValueChange: m, children: [
2912
2913
  /* @__PURE__ */ n(
2913
2914
  ir,
2914
2915
  {
@@ -2917,13 +2918,13 @@ const vl = ({
2917
2918
  transparent: !0,
2918
2919
  inlineSelect: !0,
2919
2920
  "data-testid": i == null ? void 0 : i.periodSelector,
2920
- children: /* @__PURE__ */ n(no, { children: /* @__PURE__ */ n(O, { variant: "h1", weight: "normal", children: y }) })
2921
+ children: /* @__PURE__ */ n(oo, { children: /* @__PURE__ */ n(O, { variant: "h1", weight: "normal", children: y }) })
2921
2922
  }
2922
2923
  ),
2923
2924
  /* @__PURE__ */ n(sr, { size: "lg", children: x.map((b) => /* @__PURE__ */ n(or, { value: b.value, children: b.label }, b.value)) })
2924
2925
  ] });
2925
2926
  };
2926
- function wl({
2927
+ function Cl({
2927
2928
  value: e,
2928
2929
  defaultValue: t,
2929
2930
  onChange: r
@@ -2963,19 +2964,19 @@ function wl({
2963
2964
  resetToToday: m
2964
2965
  };
2965
2966
  }
2966
- const lo = {
2967
- doc: _a,
2968
- download: Ga,
2969
- headphones: Wa,
2970
- "magnifying-glass": Va,
2971
- mandarin: ja,
2972
- person: Ha,
2973
- plus: Ka,
2974
- pocket: Ua,
2975
- "torn-paper": Ya,
2976
- tbank: $a,
2977
- alfa: Oa
2978
- }, co = v.forwardRef(
2967
+ const uo = {
2968
+ doc: Wa,
2969
+ download: Va,
2970
+ headphones: ja,
2971
+ "magnifying-glass": Ha,
2972
+ mandarin: Ka,
2973
+ person: Ua,
2974
+ plus: $a,
2975
+ pocket: Ya,
2976
+ "torn-paper": Ja,
2977
+ tbank: Za,
2978
+ alfa: Ga
2979
+ }, fo = v.forwardRef(
2979
2980
  (d, f) => {
2980
2981
  var u = d, {
2981
2982
  className: e,
@@ -2996,7 +2997,7 @@ const lo = {
2996
2997
  "onClose",
2997
2998
  "color"
2998
2999
  ]);
2999
- const x = typeof window != "undefined" && window.innerWidth < ln, g = i ? lo[i] : void 0;
3000
+ const x = typeof window != "undefined" && window.innerWidth < ln, g = i ? uo[i] : void 0;
3000
3001
  return t === "inline" ? /* @__PURE__ */ n(
3001
3002
  Ke,
3002
3003
  F(w({
@@ -3132,8 +3133,8 @@ const lo = {
3132
3133
  );
3133
3134
  }
3134
3135
  );
3135
- co.displayName = "Banner";
3136
- function Nl(s) {
3136
+ fo.displayName = "Banner";
3137
+ function kl(s) {
3137
3138
  var l = s, {
3138
3139
  items: e,
3139
3140
  renderSlide: t,
@@ -3161,7 +3162,7 @@ function Nl(s) {
3161
3162
  })
3162
3163
  );
3163
3164
  }
3164
- const uo = me(
3165
+ const mo = me(
3165
3166
  "group peer cursor-pointer border-border focus:border-primary focus:shadow-focus disabled:cursor-not-allowed shrink-0 rounded-sm border focus:outline-none flex items-center justify-center",
3166
3167
  {
3167
3168
  variants: {
@@ -3185,7 +3186,7 @@ const uo = me(
3185
3186
  isDisabled: !1
3186
3187
  }
3187
3188
  }
3188
- ), fo = me(
3189
+ ), po = me(
3189
3190
  "rounded-[2px] bg-primary shrink-0 group-hover:bg-primary-hover group-disabled:group-hover:bg-primary group-active:bg-primary-active",
3190
3191
  {
3191
3192
  variants: {
@@ -3196,7 +3197,7 @@ const uo = me(
3196
3197
  }
3197
3198
  }
3198
3199
  );
3199
- function mo(e) {
3200
+ function ho(e) {
3200
3201
  const {
3201
3202
  className: t,
3202
3203
  checkboxClassName: r,
@@ -3216,7 +3217,7 @@ function mo(e) {
3216
3217
  ref: f,
3217
3218
  id: g,
3218
3219
  className: p(
3219
- uo({ size: a, state: N(), isDisabled: m }),
3220
+ mo({ size: a, state: N(), isDisabled: m }),
3220
3221
  r || (o ? void 0 : t)
3221
3222
  ),
3222
3223
  disabled: m,
@@ -3224,7 +3225,7 @@ function mo(e) {
3224
3225
  onCheckedChange: T,
3225
3226
  "data-testid": d,
3226
3227
  children: /* @__PURE__ */ I(Mr.Indicator, { className: "flex h-full w-full items-center justify-center", children: [
3227
- C === "indeterminate" && /* @__PURE__ */ n("div", { className: fo({ size: a }) }),
3228
+ C === "indeterminate" && /* @__PURE__ */ n("div", { className: po({ size: a }) }),
3228
3229
  C === !0 && /* @__PURE__ */ n(V, { icon: "DoneIcon", size: u, className: "text-white" })
3229
3230
  ] })
3230
3231
  }
@@ -3246,13 +3247,13 @@ function mo(e) {
3246
3247
  ] }) : E;
3247
3248
  }
3248
3249
  const er = v.forwardRef(
3249
- (e, t) => /* @__PURE__ */ n(mo, F(w({}, e), { ref: t }))
3250
- ), po = {
3250
+ (e, t) => /* @__PURE__ */ n(ho, F(w({}, e), { ref: t }))
3251
+ ), go = {
3251
3252
  xs: "h-6 text-[12px]",
3252
3253
  sm: "h-8 text-[14px]",
3253
3254
  md: "h-9 text-[14px]",
3254
3255
  lg: "h-10 text-[16px]"
3255
- }, ho = v.forwardRef(
3256
+ }, bo = v.forwardRef(
3256
3257
  ({
3257
3258
  options: e,
3258
3259
  value: t,
@@ -3374,7 +3375,7 @@ const er = v.forwardRef(
3374
3375
  // Разные ховеры для выбранного и невыбранного элемента
3375
3376
  t !== R.value && "hover:bg-muted",
3376
3377
  t === R.value && "bg-primary-10 font-medium hover:bg-[#F3E5FF]",
3377
- po[a]
3378
+ go[a]
3378
3379
  ),
3379
3380
  onClick: () => {
3380
3381
  r(R.value), b(!1), N("");
@@ -3398,7 +3399,7 @@ const er = v.forwardRef(
3398
3399
  ] });
3399
3400
  }
3400
3401
  );
3401
- ho.displayName = "Combobox";
3402
+ bo.displayName = "Combobox";
3402
3403
  const un = Rt(null);
3403
3404
  function ft() {
3404
3405
  const e = Et(un);
@@ -3406,7 +3407,7 @@ function ft() {
3406
3407
  throw new Error("useComboboxPrimitiveContext must be used within ComboboxPrimitiveProvider");
3407
3408
  return e;
3408
3409
  }
3409
- function go({
3410
+ function xo({
3410
3411
  items: e,
3411
3412
  value: t = null,
3412
3413
  onChange: r,
@@ -3468,7 +3469,7 @@ function go({
3468
3469
  setInputValue: u
3469
3470
  });
3470
3471
  }
3471
- function bo(e, t) {
3472
+ function yo(e, t) {
3472
3473
  const { refs: r, floatingStyles: a, context: o } = Hr({
3473
3474
  open: e && !t,
3474
3475
  placement: "bottom-start",
@@ -3496,7 +3497,7 @@ function bo(e, t) {
3496
3497
  transitionStyles: s
3497
3498
  };
3498
3499
  }
3499
- function xo({
3500
+ function vo({
3500
3501
  children: e,
3501
3502
  items: t,
3502
3503
  value: r = null,
@@ -3519,7 +3520,7 @@ function xo({
3519
3520
  const C = $(x, []), N = q(() => r ? {
3520
3521
  value: r,
3521
3522
  label: C(r)
3522
- } : null, [r, C]), T = go({
3523
+ } : null, [r, C]), T = xo({
3523
3524
  items: t,
3524
3525
  value: N,
3525
3526
  onChange: a,
@@ -3529,7 +3530,7 @@ function xo({
3529
3530
  getLabel: C,
3530
3531
  isOpen: m,
3531
3532
  onOpenChange: y
3532
- }), E = bo(T.isOpen, g), M = q(() => ({
3533
+ }), E = yo(T.isOpen, g), M = q(() => ({
3533
3534
  // Combobox состояние
3534
3535
  getInputProps: T.getInputProps,
3535
3536
  getItemProps: T.getItemProps,
@@ -3574,7 +3575,7 @@ function xo({
3574
3575
  ]);
3575
3576
  return /* @__PURE__ */ n(un.Provider, { value: M, children: e });
3576
3577
  }
3577
- const yo = me("flex-col items-center justify-center", {
3578
+ const wo = me("flex-col items-center justify-center", {
3578
3579
  variants: {
3579
3580
  show: {
3580
3581
  true: "flex",
@@ -3587,7 +3588,7 @@ const yo = me("flex-col items-center justify-center", {
3587
3588
  }), Ve = v.forwardRef(
3588
3589
  (s, i) => {
3589
3590
  var l = s, { size: e = 16, show: t, children: r, className: a } = l, o = L(l, ["size", "show", "children", "className"]);
3590
- return /* @__PURE__ */ I("span", F(w({ ref: i, className: yo({ show: t }) }, o), { children: [
3591
+ return /* @__PURE__ */ I("span", F(w({ ref: i, className: wo({ show: t }) }, o), { children: [
3591
3592
  /* @__PURE__ */ n(
3592
3593
  V,
3593
3594
  {
@@ -3638,7 +3639,7 @@ const Lt = {
3638
3639
  function fn(e) {
3639
3640
  return Lt[e].iconSize;
3640
3641
  }
3641
- const vo = [
3642
+ const No = [
3642
3643
  "font-graphik",
3643
3644
  "relative",
3644
3645
  "flex",
@@ -3652,16 +3653,16 @@ const vo = [
3652
3653
  "outline-none",
3653
3654
  "select-none",
3654
3655
  "p-3"
3655
- ], wo = [
3656
+ ], Io = [
3656
3657
  "bg-primary-10",
3657
3658
  "font-medium",
3658
3659
  "hover:bg-[#F3E5FF]"
3659
- ], No = [
3660
+ ], Co = [
3660
3661
  "hover:bg-muted"
3661
- ], Io = [
3662
+ ], ko = [
3662
3663
  "data-[highlighted]:bg-primary-10",
3663
3664
  "data-[highlighted]:font-medium"
3664
- ], Co = [
3665
+ ], So = [
3665
3666
  "font-graphik",
3666
3667
  "flex-1",
3667
3668
  "border-0",
@@ -3672,14 +3673,14 @@ const vo = [
3672
3673
  "[&::-webkit-inner-spin-button]:appearance-none",
3673
3674
  "[&::-webkit-outer-spin-button]:appearance-none",
3674
3675
  "placeholder:text-muted-foreground"
3675
- ], ko = [
3676
+ ], To = [
3676
3677
  "relative",
3677
3678
  "flex",
3678
3679
  "items-center",
3679
3680
  "rounded-lg",
3680
3681
  "border-1",
3681
3682
  "border-solid"
3682
- ], So = [
3683
+ ], Mo = [
3683
3684
  "bg-background",
3684
3685
  "border-border",
3685
3686
  "hover:border-hover-input-primary",
@@ -3691,7 +3692,7 @@ const vo = [
3691
3692
  "disabled:focus-within:border-border",
3692
3693
  "disabled:focus-within:shadow-none",
3693
3694
  "disabled:hover:border-none"
3694
- ], To = [
3695
+ ], Eo = [
3695
3696
  "bg-background",
3696
3697
  "border-destructive",
3697
3698
  "hover:border-destructive",
@@ -3699,16 +3700,16 @@ const vo = [
3699
3700
  "focus-within:shadow-error",
3700
3701
  "data-[state=open]:border-destructive",
3701
3702
  "data-[state=open]:shadow-error"
3702
- ], Mo = [
3703
+ ], Ro = [
3703
3704
  "bg-input-disabled-background",
3704
3705
  "cursor-not-allowed"
3705
- ], Eo = [
3706
+ ], Ao = [
3706
3707
  "border-0",
3707
3708
  "bg-transparent",
3708
3709
  "hover:bg-transparent",
3709
3710
  "focus-within:border-0",
3710
3711
  "focus-within:shadow-none"
3711
- ], Ro = [
3712
+ ], Do = [
3712
3713
  "kp-floating-panel",
3713
3714
  "border-border",
3714
3715
  "z-[9999]",
@@ -3717,7 +3718,7 @@ const vo = [
3717
3718
  "rounded-lg",
3718
3719
  "border",
3719
3720
  "shadow-[0_2px_10px_rgba(0,0,0,0.1)]"
3720
- ], Ao = {
3721
+ ], Fo = {
3721
3722
  xs: "pr-2",
3722
3723
  sm: "pr-2",
3723
3724
  md: "pr-2.5",
@@ -3735,7 +3736,7 @@ const vo = [
3735
3736
  selectedItem: c,
3736
3737
  disabled: f
3737
3738
  } = ft();
3738
- return /* @__PURE__ */ n("div", { className: p("flex items-center gap-1.5", Ao[e]), children: i ? /* @__PURE__ */ n(Ve, { size: 12 }) : /* @__PURE__ */ I(pe, { children: [
3739
+ return /* @__PURE__ */ n("div", { className: p("flex items-center gap-1.5", Fo[e]), children: i ? /* @__PURE__ */ n(Ve, { size: 12 }) : /* @__PURE__ */ I(pe, { children: [
3739
3740
  a && /* @__PURE__ */ n(
3740
3741
  V,
3741
3742
  {
@@ -3779,16 +3780,16 @@ const vo = [
3779
3780
  mn.displayName = "ComboboxActions";
3780
3781
  function $t(e, t) {
3781
3782
  return p(
3782
- ...vo,
3783
- e ? wo : No,
3784
- ...Io,
3783
+ ...No,
3784
+ e ? Io : Co,
3785
+ ...ko,
3785
3786
  t
3786
3787
  );
3787
3788
  }
3788
3789
  function pn(e, t, r) {
3789
3790
  const a = Lt[e];
3790
3791
  return p(
3791
- ...Co,
3792
+ ...So,
3792
3793
  a.fontSize,
3793
3794
  a.paddingLeft,
3794
3795
  a.paddingRight,
@@ -3801,20 +3802,20 @@ function pn(e, t, r) {
3801
3802
  function hn(e, t, r, a, o) {
3802
3803
  const i = Lt[e];
3803
3804
  return p(
3804
- ...ko,
3805
+ ...To,
3805
3806
  i.height,
3806
3807
  {
3807
3808
  "w-full": t
3808
3809
  },
3809
3810
  // Стили в зависимости от состояния
3810
- !a && !r && !o && So,
3811
+ !a && !r && !o && Mo,
3811
3812
  a && !r && [
3812
3813
  "bg-background",
3813
3814
  "border-border",
3814
- ...Mo
3815
+ ...Ro
3815
3816
  ],
3816
- o && !a && !r && To,
3817
- r && Eo
3817
+ o && !a && !r && Eo,
3818
+ r && Ao
3818
3819
  );
3819
3820
  }
3820
3821
  function gn(e) {
@@ -3822,7 +3823,7 @@ function gn(e) {
3822
3823
  return p("mb-1.5", t.labelSize);
3823
3824
  }
3824
3825
  function bn(e, t) {
3825
- return p("hidden", e && Ro, t && "flex flex-col gap-2");
3826
+ return p("hidden", e && Do, t && "flex flex-col gap-2");
3826
3827
  }
3827
3828
  function Pt(e) {
3828
3829
  return e != null && e !== "";
@@ -3917,13 +3918,13 @@ function St(s) {
3917
3918
  children: t
3918
3919
  }
3919
3920
  ),
3920
- /* @__PURE__ */ n(Do, {}),
3921
+ /* @__PURE__ */ n(Lo, {}),
3921
3922
  /* @__PURE__ */ n(it.Corner, {})
3922
3923
  ]
3923
3924
  })
3924
3925
  );
3925
3926
  }
3926
- function Do(a) {
3927
+ function Lo(a) {
3927
3928
  var o = a, {
3928
3929
  className: e,
3929
3930
  orientation: t = "vertical"
@@ -3993,7 +3994,7 @@ function Yt(e) {
3993
3994
  }
3994
3995
  return String(e);
3995
3996
  }
3996
- function Fo({
3997
+ function Po({
3997
3998
  children: e,
3998
3999
  classNames: t
3999
4000
  }) {
@@ -4054,7 +4055,7 @@ function Fo({
4054
4055
  }))(e);
4055
4056
  return /* @__PURE__ */ n(pe, { children: c });
4056
4057
  }
4057
- const vn = Fo;
4058
+ const vn = Po;
4058
4059
  Object.defineProperty(vn, "displayName", {
4059
4060
  value: "ComboboxItemRenderer",
4060
4061
  writable: !1
@@ -4121,7 +4122,7 @@ function Nn(e, t) {
4121
4122
  }
4122
4123
  }), { items: i };
4123
4124
  }
4124
- function Lo({
4125
+ function zo({
4125
4126
  children: e,
4126
4127
  value: t,
4127
4128
  onChange: r,
@@ -4147,7 +4148,7 @@ function Lo({
4147
4148
  }) {
4148
4149
  const { items: M } = Nn(e, y), R = q(() => t, [t]);
4149
4150
  return /* @__PURE__ */ n(
4150
- xo,
4151
+ vo,
4151
4152
  {
4152
4153
  getLabel: y,
4153
4154
  items: M,
@@ -4196,7 +4197,7 @@ function Lo({
4196
4197
  }
4197
4198
  );
4198
4199
  }
4199
- const In = Lo;
4200
+ const In = zo;
4200
4201
  In.Item = dr;
4201
4202
  In.List = cr;
4202
4203
  const Cn = Rt(null);
@@ -4206,7 +4207,7 @@ function mt() {
4206
4207
  throw new Error("useComboboxMultiSelectContext must be used within ComboboxMultiSelectProvider");
4207
4208
  return e;
4208
4209
  }
4209
- function Po({
4210
+ function Bo({
4210
4211
  items: e,
4211
4212
  value: t = null,
4212
4213
  onChange: r,
@@ -4283,7 +4284,7 @@ function Po({
4283
4284
  setInputValue: h
4284
4285
  });
4285
4286
  }
4286
- function zo(e, t) {
4287
+ function Oo(e, t) {
4287
4288
  const { refs: r, floatingStyles: a, context: o } = Hr({
4288
4289
  open: e && !t,
4289
4290
  placement: "bottom-start",
@@ -4311,7 +4312,7 @@ function zo(e, t) {
4311
4312
  transitionStyles: s
4312
4313
  };
4313
4314
  }
4314
- function Bo({
4315
+ function _o({
4315
4316
  children: e,
4316
4317
  items: t,
4317
4318
  value: r,
@@ -4343,7 +4344,7 @@ function Bo({
4343
4344
  value: r,
4344
4345
  label: k(r)
4345
4346
  };
4346
- }, [r, k]), z = Po({
4347
+ }, [r, k]), z = Bo({
4347
4348
  items: t,
4348
4349
  value: D,
4349
4350
  onChange: a,
@@ -4357,7 +4358,7 @@ function Bo({
4357
4358
  keepOpenOnSelect: l,
4358
4359
  inputValueOnSelect: c,
4359
4360
  inputValueOnClose: f
4360
- }), G = zo(z.isOpen, N), j = q(() => ({
4361
+ }), G = Oo(z.isOpen, N), j = q(() => ({
4361
4362
  // Combobox состояние
4362
4363
  getInputProps: z.getInputProps,
4363
4364
  getItemProps: z.getItemProps,
@@ -4486,7 +4487,7 @@ function Zt(e) {
4486
4487
  }
4487
4488
  return String(e);
4488
4489
  }
4489
- function Oo({
4490
+ function Go({
4490
4491
  children: e,
4491
4492
  classNames: t
4492
4493
  }) {
@@ -4547,7 +4548,7 @@ function Oo({
4547
4548
  }))(e);
4548
4549
  return /* @__PURE__ */ n(pe, { children: f });
4549
4550
  }
4550
- const Tn = Oo;
4551
+ const Tn = Go;
4551
4552
  Object.defineProperty(Tn, "displayName", {
4552
4553
  value: "ComboboxItemRenderer",
4553
4554
  writable: !1
@@ -4579,7 +4580,7 @@ const Mn = v.forwardRef(
4579
4580
  }
4580
4581
  );
4581
4582
  Mn.displayName = "ComboboxMenu";
4582
- function _o(e) {
4583
+ function Wo(e) {
4583
4584
  if (e == null)
4584
4585
  return String(e);
4585
4586
  if (typeof e == "object")
@@ -4590,7 +4591,7 @@ function _o(e) {
4590
4591
  }
4591
4592
  return String(e);
4592
4593
  }
4593
- function Go({
4594
+ function Vo({
4594
4595
  selected: e,
4595
4596
  onRemove: t,
4596
4597
  getLabel: r,
@@ -4734,7 +4735,7 @@ function Go({
4734
4735
  }
4735
4736
  );
4736
4737
  }
4737
- function Wo({
4738
+ function jo({
4738
4739
  children: e,
4739
4740
  value: t = [],
4740
4741
  onChange: r,
@@ -4751,7 +4752,7 @@ function Wo({
4751
4752
  disabled: g = !1,
4752
4753
  "data-testid": m,
4753
4754
  getLabel: y = (k) => typeof k == "object" && k !== null && "label" in k ? k.label : "",
4754
- getKey: b = _o,
4755
+ getKey: b = Wo,
4755
4756
  loading: h = !1,
4756
4757
  isOpen: C,
4757
4758
  onOpenChange: N,
@@ -4774,7 +4775,7 @@ function Wo({
4774
4775
  j(B), a == null || a(B);
4775
4776
  }, [a]);
4776
4777
  return /* @__PURE__ */ n(
4777
- Bo,
4778
+ _o,
4778
4779
  {
4779
4780
  getLabel: y,
4780
4781
  items: k,
@@ -4812,7 +4813,7 @@ function Wo({
4812
4813
  ),
4813
4814
  /* @__PURE__ */ I(Sn, { children: [
4814
4815
  /* @__PURE__ */ n(
4815
- Go,
4816
+ Vo,
4816
4817
  {
4817
4818
  selected: D,
4818
4819
  onRemove: W,
@@ -4840,10 +4841,10 @@ function Wo({
4840
4841
  }
4841
4842
  );
4842
4843
  }
4843
- const En = Wo;
4844
+ const En = jo;
4844
4845
  En.Item = dr;
4845
4846
  En.List = cr;
4846
- const Vo = {
4847
+ const Ho = {
4847
4848
  show: !0,
4848
4849
  position: "outside",
4849
4850
  align: "center",
@@ -4856,7 +4857,7 @@ function Rn(e) {
4856
4857
  loop: !1,
4857
4858
  slidesToScroll: 1,
4858
4859
  containScroll: "trimSnaps"
4859
- }, a), i = w(w({}, Vo), t), [s, l] = ar(o), [c, f] = ee(r), [d, u] = ee(!1), [x, g] = ee(!1), m = $(() => {
4860
+ }, a), i = w(w({}, Ho), t), [s, l] = ar(o), [c, f] = ee(r), [d, u] = ee(!1), [x, g] = ee(!1), m = $(() => {
4860
4861
  l && (f(l.selectedScrollSnap()), u(l.canScrollNext()), g(l.canScrollPrev()));
4861
4862
  }, [l]);
4862
4863
  de(() => {
@@ -4894,11 +4895,11 @@ function zt() {
4894
4895
  throw new Error("Компоненты карусели должны использоваться внутри Carousel");
4895
4896
  return e;
4896
4897
  }
4897
- function jo({ children: e, className: t, options: r }) {
4898
+ function Ko({ children: e, className: t, options: r }) {
4898
4899
  const a = Rn(r);
4899
4900
  return /* @__PURE__ */ n(An.Provider, { value: a, children: /* @__PURE__ */ n("div", { className: p("relative w-full", t), children: e }) });
4900
4901
  }
4901
- function Ho({ items: e, className: t, slideClassName: r }) {
4902
+ function Uo({ items: e, className: t, slideClassName: r }) {
4902
4903
  const { emblaRef: a } = zt();
4903
4904
  return /* @__PURE__ */ n("div", { ref: a, className: p("overflow-hidden", t), children: /* @__PURE__ */ n("div", { className: "flex", children: e.map((o, i) => /* @__PURE__ */ n(
4904
4905
  "div",
@@ -4910,7 +4911,7 @@ function Ho({ items: e, className: t, slideClassName: r }) {
4910
4911
  i
4911
4912
  )) }) });
4912
4913
  }
4913
- function Ko({
4914
+ function $o({
4914
4915
  items: e,
4915
4916
  className: t,
4916
4917
  titleClassName: r,
@@ -4922,7 +4923,7 @@ function Ko({
4922
4923
  i.text && /* @__PURE__ */ n("div", { className: p(a), children: i.text })
4923
4924
  ] });
4924
4925
  }
4925
- function Uo({
4926
+ function Yo({
4926
4927
  item: e,
4927
4928
  className: t,
4928
4929
  titleClassName: r,
@@ -4966,7 +4967,7 @@ const Dn = me(
4966
4967
  }
4967
4968
  }
4968
4969
  );
4969
- function $o({
4970
+ function Zo({
4970
4971
  prevButton: e,
4971
4972
  nextButton: t,
4972
4973
  className: r,
@@ -5016,7 +5017,7 @@ function $o({
5016
5017
  }
5017
5018
  );
5018
5019
  }
5019
- function Yo({
5020
+ function Jo({
5020
5021
  onPrev: e,
5021
5022
  onNext: t,
5022
5023
  canScrollPrev: r,
@@ -5069,7 +5070,7 @@ function Yo({
5069
5070
  }
5070
5071
  );
5071
5072
  }
5072
- const Zo = me(
5073
+ const Qo = me(
5073
5074
  "flex gap-2 transition-all",
5074
5075
  {
5075
5076
  variants: {
@@ -5118,7 +5119,7 @@ function Fn({
5118
5119
  "div",
5119
5120
  {
5120
5121
  className: p(
5121
- Zo({ position: o, align: i }),
5122
+ Qo({ position: o, align: i }),
5122
5123
  s
5123
5124
  ),
5124
5125
  role: "tablist",
@@ -5145,7 +5146,7 @@ function Fn({
5145
5146
  }
5146
5147
  );
5147
5148
  }
5148
- function Jo({ className: e, count: t }) {
5149
+ function Xo({ className: e, count: t }) {
5149
5150
  const { active: r, onChange: a, indicatorOptions: o } = zt(), { show: i, position: s, align: l, className: c, activeClassName: f, inactiveClassName: d } = o;
5150
5151
  return /* @__PURE__ */ n(
5151
5152
  Fn,
@@ -5163,19 +5164,19 @@ function Jo({ className: e, count: t }) {
5163
5164
  );
5164
5165
  }
5165
5166
  const Nt = {
5166
- Root: jo,
5167
- Items: Ho,
5168
- Dots: Jo,
5167
+ Root: Ko,
5168
+ Items: Uo,
5169
+ Dots: Xo,
5169
5170
  DotsView: Fn,
5170
5171
  // Экспортируем view-компонент для использования вне контекста
5171
- Content: Ko,
5172
- ContentView: Uo,
5173
- Buttons: $o,
5172
+ Content: $o,
5173
+ ContentView: Yo,
5174
+ Buttons: Zo,
5174
5175
  // Добавляем компонент кнопок
5175
- ButtonsView: Yo
5176
+ ButtonsView: Jo
5176
5177
  // Экспортируем view-компонент кнопок для использования вне контекста
5177
5178
  };
5178
- function Il(x) {
5179
+ function Sl(x) {
5179
5180
  var g = x, {
5180
5181
  items: e,
5181
5182
  renderSlide: t,
@@ -5226,7 +5227,7 @@ function Il(x) {
5226
5227
  /* @__PURE__ */ n(Nt.Dots, { count: e.length })
5227
5228
  ] });
5228
5229
  }
5229
- function Cl({
5230
+ function Tl({
5230
5231
  items: e,
5231
5232
  options: t,
5232
5233
  renderItems: r,
@@ -5332,7 +5333,7 @@ function Tt(i) {
5332
5333
  }, o)
5333
5334
  );
5334
5335
  }
5335
- const Qo = new URL("../assets/document-approved-CkP0p152.webp", import.meta.url).href, Xo = new URL("../assets/document-sign-DtWnrhUb.webp", import.meta.url).href, qo = new URL("../assets/documents-refresh-Ct8s1Pc3.webp", import.meta.url).href, ei = new URL("../assets/status-error-CVSJeY0m.webp", import.meta.url).href, ti = new URL("../assets/status-success-CQUzL9Lb.webp", import.meta.url).href, ri = new URL("../assets/status-warning-qsHG0-rO.webp", import.meta.url).href, ni = new URL("../assets/user-add-BchFss_X.webp", import.meta.url).href, ai = new URL("../assets/user-approved-BKiSeYH5.webp", import.meta.url).href, oi = new URL("../assets/user-question-BrqYjUap.webp", import.meta.url).href, ii = new URL("../assets/wallet-B1cH4oVg.webp", import.meta.url).href, ur = me([
5336
+ const qo = new URL("../assets/document-approved-CkP0p152.webp", import.meta.url).href, ei = new URL("../assets/document-sign-DtWnrhUb.webp", import.meta.url).href, ti = new URL("../assets/documents-refresh-Ct8s1Pc3.webp", import.meta.url).href, ri = new URL("../assets/status-error-CVSJeY0m.webp", import.meta.url).href, ni = new URL("../assets/status-success-CQUzL9Lb.webp", import.meta.url).href, ai = new URL("../assets/status-warning-qsHG0-rO.webp", import.meta.url).href, oi = new URL("../assets/user-add-BchFss_X.webp", import.meta.url).href, ii = new URL("../assets/user-approved-BKiSeYH5.webp", import.meta.url).href, si = new URL("../assets/user-question-BrqYjUap.webp", import.meta.url).href, li = new URL("../assets/wallet-B1cH4oVg.webp", import.meta.url).href, ur = me([
5336
5337
  "transition-shadow duration-200"
5337
5338
  ], {
5338
5339
  variants: {
@@ -5364,7 +5365,7 @@ const Qo = new URL("../assets/document-approved-CkP0p152.webp", import.meta.url)
5364
5365
  return /* @__PURE__ */ n(le.Trigger, F(w({}, t), { asChild: !0, ref: r, className: p(e) }));
5365
5366
  });
5366
5367
  Ze.displayName = "Trigger";
5367
- const si = me(
5368
+ const di = me(
5368
5369
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 bg-[rgba(37,29,53,0.48)]"
5369
5370
  ), Je = v.forwardRef((o, a) => {
5370
5371
  var i = o, { className: e, style: t } = i, r = L(i, ["className", "style"]);
@@ -5373,12 +5374,12 @@ const si = me(
5373
5374
  F(w({}, r), {
5374
5375
  ref: a,
5375
5376
  style: (t == null ? void 0 : t.zIndex) !== void 0 ? t : F(w({}, t), { zIndex: 50 }),
5376
- className: p(si(), e)
5377
+ className: p(di(), e)
5377
5378
  })
5378
5379
  );
5379
5380
  });
5380
5381
  Je.displayName = "Overlay";
5381
- const li = me(
5382
+ const ci = me(
5382
5383
  [
5383
5384
  "flex flex-col",
5384
5385
  // Анимации и состояния
@@ -5466,7 +5467,7 @@ const li = me(
5466
5467
  i ? y.preventDefault() : l == null || l(y);
5467
5468
  },
5468
5469
  className: p(
5469
- li({ width: r, overflow: a, padding: d }),
5470
+ ci({ width: r, overflow: a, padding: d }),
5470
5471
  ur({ all: !0 }),
5471
5472
  e
5472
5473
  ),
@@ -5544,7 +5545,7 @@ const Bt = v.forwardRef((o, a) => {
5544
5545
  ) });
5545
5546
  });
5546
5547
  Bt.displayName = "Close";
5547
- const kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5548
+ const Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5548
5549
  __proto__: null,
5549
5550
  Close: Bt,
5550
5551
  Container: Qe,
@@ -5556,7 +5557,7 @@ const kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5556
5557
  Title: fr,
5557
5558
  Trigger: Ze
5558
5559
  }, Symbol.toStringTag, { value: "Module" })), Ot = v.createContext(null);
5559
- function Sl() {
5560
+ function El() {
5560
5561
  const e = v.useContext(Ot);
5561
5562
  if (!e)
5562
5563
  throw new Error(
@@ -5564,7 +5565,7 @@ function Sl() {
5564
5565
  );
5565
5566
  return e;
5566
5567
  }
5567
- function di(e) {
5568
+ function ui(e) {
5568
5569
  var M;
5569
5570
  const [t, r] = v.useState(null), [a, o] = v.useState(e.isVisibleClose), [i, s] = v.useState(!1), [l, c] = v.useState(!1), [f, d] = v.useState(e.hideFooter), [u, x] = v.useState(!1), [g, m] = v.useState(e.width), y = v.useContext(Ot), b = (M = y == null ? void 0 : y.nextBaseZIndex) != null ? M : e.baseZIndex, h = b + 1, C = b + 2, N = b + 3, T = v.useMemo(() => !l && i ? "top" : "none", [l, i]), E = v.useMemo(() => l && i ? "bottom" : "none", [l, i]);
5570
5571
  return v.useEffect(() => {
@@ -5607,17 +5608,17 @@ function di(e) {
5607
5608
  nextBaseZIndex: N
5608
5609
  };
5609
5610
  }
5610
- const ci = {
5611
- "document-approved": Qo,
5612
- "document-sign": Xo,
5613
- "documents-refresh": qo,
5614
- "status-error": ei,
5615
- "status-success": ti,
5616
- "status-warning": ri,
5617
- "user-add": ni,
5618
- "user-approved": ai,
5619
- "user-question": oi,
5620
- wallet: ii
5611
+ const fi = {
5612
+ "document-approved": qo,
5613
+ "document-sign": ei,
5614
+ "documents-refresh": ti,
5615
+ "status-error": ri,
5616
+ "status-success": ni,
5617
+ "status-warning": ai,
5618
+ "user-add": oi,
5619
+ "user-approved": ii,
5620
+ "user-question": si,
5621
+ wallet: li
5621
5622
  }, Ln = v.forwardRef(
5622
5623
  (o, a) => {
5623
5624
  var i = o, { className: e, shadow: t = "none" } = i, r = L(i, ["className", "shadow"]);
@@ -5640,15 +5641,15 @@ function pr() {
5640
5641
  throw new Error("useTeleporters должен использоваться внутри DialogBase");
5641
5642
  return e;
5642
5643
  }
5643
- function ui(e) {
5644
+ function mi(e) {
5644
5645
  const { FooterTeleporter: t } = pr();
5645
5646
  return /* @__PURE__ */ n(t.Source, w({}, e));
5646
5647
  }
5647
- function fi(e) {
5648
+ function pi(e) {
5648
5649
  const { TitleTeleporter: t } = pr();
5649
5650
  return /* @__PURE__ */ n(t.Source, w({}, e));
5650
5651
  }
5651
- function mi(e) {
5652
+ function hi(e) {
5652
5653
  const { ContentTeleporter: t } = pr(), r = v.useContext(Ot), a = r == null ? void 0 : r.statusImage;
5653
5654
  return a ? /* @__PURE__ */ I(t.Source, { children: [
5654
5655
  /* @__PURE__ */ n(
@@ -5662,7 +5663,7 @@ function mi(e) {
5662
5663
  /* @__PURE__ */ n(
5663
5664
  "img",
5664
5665
  {
5665
- src: ci[a],
5666
+ src: fi[a],
5666
5667
  alt: a,
5667
5668
  className: "w-full h-50 rounded-t-4xl"
5668
5669
  }
@@ -5698,7 +5699,7 @@ function se(g) {
5698
5699
  "statusImage",
5699
5700
  "dataTestId"
5700
5701
  ]);
5701
- const y = di({
5702
+ const y = ui({
5702
5703
  isVisibleClose: a,
5703
5704
  width: o,
5704
5705
  hideFooter: c,
@@ -5787,9 +5788,9 @@ function se(g) {
5787
5788
  se.displayName = "DialogBase";
5788
5789
  se.Trigger = Ze;
5789
5790
  se.Close = Bt;
5790
- se.Footer = ui;
5791
- se.Content = mi;
5792
- se.Title = fi;
5791
+ se.Footer = mi;
5792
+ se.Content = hi;
5793
+ se.Title = pi;
5793
5794
  se.Overlay = Je;
5794
5795
  se.Portal = ht;
5795
5796
  se.Dialog = pt;
@@ -5798,7 +5799,7 @@ se.Header = Ln;
5798
5799
  function _t() {
5799
5800
  return typeof window == "undefined" ? "desktop" : window.innerWidth < 768 ? "mobile" : "desktop";
5800
5801
  }
5801
- function Tl({
5802
+ function Rl({
5802
5803
  date: e,
5803
5804
  onSelect: t,
5804
5805
  disabled: r = !1,
@@ -6052,7 +6053,7 @@ function Tl({
6052
6053
  s && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1.5", textColor: "destructive", children: s })
6053
6054
  ] });
6054
6055
  }
6055
- const pi = {
6056
+ const gi = {
6056
6057
  ru: {
6057
6058
  selectPeriod: "Выберите период",
6058
6059
  reset: "Сбросить",
@@ -6073,7 +6074,7 @@ const pi = {
6073
6074
  reset: "Тоза кардан",
6074
6075
  placeholder: "рр.мм.сссс"
6075
6076
  }
6076
- }, hi = [
6077
+ }, bi = [
6077
6078
  "Yanvar",
6078
6079
  "Fevral",
6079
6080
  "Mart",
@@ -6086,7 +6087,7 @@ const pi = {
6086
6087
  "Oktabr",
6087
6088
  "Noyabr",
6088
6089
  "Dekabr"
6089
- ], gi = [
6090
+ ], xi = [
6090
6091
  "Yan",
6091
6092
  "Fev",
6092
6093
  "Mar",
@@ -6099,7 +6100,7 @@ const pi = {
6099
6100
  "Okt",
6100
6101
  "Noy",
6101
6102
  "Dek"
6102
- ], bi = [
6103
+ ], yi = [
6103
6104
  "Yakshanba",
6104
6105
  "Dushanba",
6105
6106
  "Seshanba",
@@ -6107,7 +6108,7 @@ const pi = {
6107
6108
  "Payshanba",
6108
6109
  "Juma",
6109
6110
  "Shanba"
6110
- ], xi = ["Yak", "Dush", "Sesh", "Chor", "Pay", "Jum", "Shan"], yi = [
6111
+ ], vi = ["Yak", "Dush", "Sesh", "Chor", "Pay", "Jum", "Shan"], wi = [
6111
6112
  "Январ",
6112
6113
  "Феврал",
6113
6114
  "Март",
@@ -6120,7 +6121,7 @@ const pi = {
6120
6121
  "Октябр",
6121
6122
  "Ноябр",
6122
6123
  "Декабр"
6123
- ], vi = [
6124
+ ], Ni = [
6124
6125
  "Янв",
6125
6126
  "Фев",
6126
6127
  "Мар",
@@ -6133,7 +6134,7 @@ const pi = {
6133
6134
  "Окт",
6134
6135
  "Ноя",
6135
6136
  "Дек"
6136
- ], wi = [
6137
+ ], Ii = [
6137
6138
  "Якшанбе",
6138
6139
  "Душанбе",
6139
6140
  "Сешанбе",
@@ -6141,13 +6142,13 @@ const pi = {
6141
6142
  "Панҷшанбе",
6142
6143
  "Ҷумъа",
6143
6144
  "Шанбе"
6144
- ], Ni = ["Якш", "Душ", "Сеш", "Чор", "Пан", "Ҷум", "Шан"], Ii = F(w({}, ve), {
6145
+ ], Ci = ["Якш", "Душ", "Сеш", "Чор", "Пан", "Ҷум", "Шан"], ki = F(w({}, ve), {
6145
6146
  code: "uz",
6146
6147
  localize: F(w({}, ve.localize), {
6147
- month: (e, t) => ((t == null ? void 0 : t.width) || "wide") === "abbreviated" ? gi[e] : hi[e],
6148
+ month: (e, t) => ((t == null ? void 0 : t.width) || "wide") === "abbreviated" ? xi[e] : bi[e],
6148
6149
  day: (e, t) => {
6149
6150
  const r = (t == null ? void 0 : t.width) || "wide";
6150
- return r === "short" || r === "abbreviated" || r === "narrow" ? xi[e] : bi[e];
6151
+ return r === "short" || r === "abbreviated" || r === "narrow" ? vi[e] : yi[e];
6151
6152
  },
6152
6153
  ordinalNumber: (e) => String(e)
6153
6154
  }),
@@ -6156,13 +6157,13 @@ const pi = {
6156
6157
  time: () => "HH:mm",
6157
6158
  dateTime: () => "dd.MM.yyyy HH:mm"
6158
6159
  })
6159
- }), Ci = F(w({}, ve), {
6160
+ }), Si = F(w({}, ve), {
6160
6161
  code: "tg",
6161
6162
  localize: F(w({}, ve.localize), {
6162
- month: (e, t) => ((t == null ? void 0 : t.width) || "wide") === "abbreviated" ? vi[e] : yi[e],
6163
+ month: (e, t) => ((t == null ? void 0 : t.width) || "wide") === "abbreviated" ? Ni[e] : wi[e],
6163
6164
  day: (e, t) => {
6164
6165
  const r = (t == null ? void 0 : t.width) || "wide";
6165
- return r === "short" || r === "abbreviated" || r === "narrow" ? Ni[e] : wi[e];
6166
+ return r === "short" || r === "abbreviated" || r === "narrow" ? Ci[e] : Ii[e];
6166
6167
  },
6167
6168
  ordinalNumber: (e) => String(e)
6168
6169
  }),
@@ -6172,19 +6173,19 @@ const pi = {
6172
6173
  dateTime: () => "dd.MM.yyyy HH:mm"
6173
6174
  })
6174
6175
  });
6175
- function ki(e) {
6176
+ function Ti(e) {
6176
6177
  switch (e) {
6177
6178
  case "en":
6178
6179
  return ra;
6179
6180
  case "uz":
6180
- return Ii;
6181
+ return ki;
6181
6182
  case "tg":
6182
- return Ci;
6183
+ return Si;
6183
6184
  default:
6184
6185
  return ve;
6185
6186
  }
6186
6187
  }
6187
- function Ml(y) {
6188
+ function Al(y) {
6188
6189
  var b = y, {
6189
6190
  className: e,
6190
6191
  value: t,
@@ -6216,7 +6217,7 @@ function Ml(y) {
6216
6217
  "disabledDays",
6217
6218
  "data-testid"
6218
6219
  ]);
6219
- const [h, C] = v.useState(t), [N, T] = v.useState(!1), E = _t(), M = pi[r], R = ki(r), k = {
6220
+ const [h, C] = v.useState(t), [N, T] = v.useState(!1), E = _t(), M = gi[r], R = Ti(r), k = {
6220
6221
  from: (o == null ? void 0 : o.from) || M.placeholder,
6221
6222
  to: (o == null ? void 0 : o.to) || M.placeholder
6222
6223
  }, D = v.useMemo(() => {
@@ -6513,7 +6514,7 @@ function Ml(y) {
6513
6514
  z() && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1.5", textColor: "destructive", children: P() })
6514
6515
  ] }));
6515
6516
  }
6516
- function Si({ className: e }) {
6517
+ function Mi({ className: e }) {
6517
6518
  return /* @__PURE__ */ n("div", { className: p("bg-default-background h-[1px] w-full", e) });
6518
6519
  }
6519
6520
  const zn = v.forwardRef(
@@ -6795,7 +6796,7 @@ const Bn = v.forwardRef(
6795
6796
  }
6796
6797
  );
6797
6798
  Bn.displayName = "Link";
6798
- const Ti = aa, On = v.forwardRef(
6799
+ const Ei = aa, On = v.forwardRef(
6799
6800
  (u, d) => {
6800
6801
  var x = u, {
6801
6802
  className: e,
@@ -6820,7 +6821,7 @@ const Ti = aa, On = v.forwardRef(
6820
6821
  ]);
6821
6822
  const g = v.useRef(null);
6822
6823
  return v.useImperativeHandle(d, () => g.current), /* @__PURE__ */ n(
6823
- Ti,
6824
+ Ei,
6824
6825
  F(w({
6825
6826
  mask: r,
6826
6827
  maskChar: a,
@@ -6845,11 +6846,11 @@ const Ti = aa, On = v.forwardRef(
6845
6846
  }
6846
6847
  );
6847
6848
  On.displayName = "MaskedInput";
6848
- const Mi = {
6849
+ const Ri = {
6849
6850
  sm: "md:w-100",
6850
6851
  md: "md:w-150",
6851
6852
  lg: "md:w-200"
6852
- }, El = le.Root, Rl = le.Trigger, Ei = le.Portal, Al = le.Close, _n = v.forwardRef((a, r) => {
6853
+ }, Dl = le.Root, Fl = le.Trigger, Ai = le.Portal, Ll = le.Close, _n = v.forwardRef((a, r) => {
6853
6854
  var o = a, { className: e } = o, t = L(o, ["className"]);
6854
6855
  return /* @__PURE__ */ n(
6855
6856
  le.Overlay,
@@ -6863,7 +6864,7 @@ const Mi = {
6863
6864
  );
6864
6865
  });
6865
6866
  _n.displayName = le.Overlay.displayName;
6866
- const Ri = v.forwardRef(
6867
+ const Di = v.forwardRef(
6867
6868
  (u, d) => {
6868
6869
  var x = u, {
6869
6870
  className: e,
@@ -6898,7 +6899,7 @@ const Ri = v.forwardRef(
6898
6899
  const h = g.current;
6899
6900
  h && h.removeEventListener("scroll", b);
6900
6901
  };
6901
- }, []), /* @__PURE__ */ I(Ei, { children: [
6902
+ }, []), /* @__PURE__ */ I(Ai, { children: [
6902
6903
  !s && /* @__PURE__ */ n(_n, {}),
6903
6904
  /* @__PURE__ */ n(
6904
6905
  le.Content,
@@ -6912,7 +6913,7 @@ const Ri = v.forwardRef(
6912
6913
  "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom right-0 bottom-0 left-0 rounded-t-xl md:[right:unset] md:[bottom:unset]",
6913
6914
  "md:data-[state=closed]:slide-out-to-left-1/2 md:data-[state=closed]:slide-out-to-top-[48%] md:data-[state=open]:slide-in-from-left-1/2 md:data-[state=open]:slide-in-from-top-[48%] md:top-[50%] md:left-[50%] md:translate-x-[-50%] md:translate-y-[-50%] md:rounded-4xl",
6914
6915
  "max-h-[100vh] overflow-hidden bg-white p-4 md:max-h-[calc(100vh-40px)] md:p-6",
6915
- Mi[c],
6916
+ Ri[c],
6916
6917
  { "p-0 md:p-0": o },
6917
6918
  { "w-full md:h-full md:max-h-full md:w-full": l },
6918
6919
  e
@@ -6980,8 +6981,8 @@ const Ri = v.forwardRef(
6980
6981
  ] });
6981
6982
  }
6982
6983
  );
6983
- Ri.displayName = le.Content.displayName;
6984
- function Ai(r) {
6984
+ Di.displayName = le.Content.displayName;
6985
+ function Fi(r) {
6985
6986
  var a = r, {
6986
6987
  className: e
6987
6988
  } = a, t = L(a, [
@@ -6989,8 +6990,8 @@ function Ai(r) {
6989
6990
  ]);
6990
6991
  return /* @__PURE__ */ n("div", w({ className: p("flex flex-col space-y-1.5", e) }, t));
6991
6992
  }
6992
- Ai.displayName = "DialogHeader";
6993
- const Di = v.forwardRef((a, r) => {
6993
+ Fi.displayName = "DialogHeader";
6994
+ const Li = v.forwardRef((a, r) => {
6994
6995
  var o = a, { className: e } = o, t = L(o, ["className"]);
6995
6996
  return /* @__PURE__ */ n(
6996
6997
  le.Title,
@@ -7006,8 +7007,8 @@ const Di = v.forwardRef((a, r) => {
7006
7007
  }, t)
7007
7008
  );
7008
7009
  });
7009
- Di.displayName = le.Title.displayName;
7010
- const Fi = v.forwardRef((a, r) => {
7010
+ Li.displayName = le.Title.displayName;
7011
+ const Pi = v.forwardRef((a, r) => {
7011
7012
  var o = a, { className: e } = o, t = L(o, ["className"]);
7012
7013
  return /* @__PURE__ */ n(
7013
7014
  le.Description,
@@ -7017,9 +7018,9 @@ const Fi = v.forwardRef((a, r) => {
7017
7018
  }, t)
7018
7019
  );
7019
7020
  });
7020
- Fi.displayName = le.Description.displayName;
7021
- const Li = 8, Pi = 37, zi = 39, Bi = 46, Oi = 32;
7022
- function _i(e) {
7021
+ Pi.displayName = le.Description.displayName;
7022
+ const zi = 8, Bi = 37, Oi = 39, _i = 46, Gi = 32;
7023
+ function Wi(e) {
7023
7024
  const d = e, {
7024
7025
  focus: t,
7025
7026
  isDisabled: r,
@@ -7067,7 +7068,7 @@ function _i(e) {
7067
7068
  }, c)
7068
7069
  );
7069
7070
  }
7070
- const Dl = Xn((e, t) => {
7071
+ const Pl = Xn((e, t) => {
7071
7072
  const {
7072
7073
  length: r = 6,
7073
7074
  onChange: a = () => {
@@ -7135,7 +7136,7 @@ const Dl = Xn((e, t) => {
7135
7136
  }
7136
7137
  _(Ne) && B(Ne);
7137
7138
  }, ne = (K) => {
7138
- s || (K.keyCode === Li || K.key === "Backspace" ? (K.preventDefault(), B(""), U()) : K.keyCode === Bi || K.key === "Delete" ? (K.preventDefault(), B("")) : K.keyCode === Pi || K.key === "ArrowLeft" ? (K.preventDefault(), U()) : K.keyCode === zi || K.key === "ArrowRight" ? (K.preventDefault(), J()) : (K.keyCode === Oi || K.key === " " || K.key === "Spacebar" || K.key === "Space") && K.preventDefault());
7139
+ s || (K.keyCode === zi || K.key === "Backspace" ? (K.preventDefault(), B(""), U()) : K.keyCode === _i || K.key === "Delete" ? (K.preventDefault(), B("")) : K.keyCode === Bi || K.key === "ArrowLeft" ? (K.preventDefault(), U()) : K.keyCode === Oi || K.key === "ArrowRight" ? (K.preventDefault(), J()) : (K.keyCode === Gi || K.key === " " || K.key === "Spacebar" || K.key === "Space") && K.preventDefault());
7139
7140
  }, be = (K) => {
7140
7141
  if (!s) {
7141
7142
  if (_(K.currentTarget.value)) {
@@ -7155,7 +7156,7 @@ const Dl = Xn((e, t) => {
7155
7156
  return /* @__PURE__ */ I("div", { className: "flex min-w-[303px] flex-col gap-2 md:min-w-[352px]", children: [
7156
7157
  d && /* @__PURE__ */ n(O, { variant: "h5", weight: "medium", children: d }),
7157
7158
  /* @__PURE__ */ n("div", { className: "flex w-full gap-2", children: Array.from({ length: r }).map((K, Y) => /* @__PURE__ */ n(
7158
- _i,
7159
+ Wi,
7159
7160
  {
7160
7161
  index: Y,
7161
7162
  masked: o,
@@ -7187,7 +7188,7 @@ const Dl = Xn((e, t) => {
7187
7188
  ] }) : /* @__PURE__ */ n(Bn, { onClick: P, children: g.resend }) })
7188
7189
  ] });
7189
7190
  }), Pr = (e, t, r) => Math.min(Math.max(e, t), r);
7190
- function Gi(e, t) {
7191
+ function Vi(e, t) {
7191
7192
  switch (e.type) {
7192
7193
  case "prev":
7193
7194
  return "prev-page";
@@ -7201,7 +7202,7 @@ function Gi(e, t) {
7201
7202
  return e.page === 1 ? "first-page" : e.page === t ? "last-page" : `page-${e.page}`;
7202
7203
  }
7203
7204
  }
7204
- function Wi(e, t) {
7205
+ function ji(e, t) {
7205
7206
  if (t <= 1)
7206
7207
  return [{ type: "page", page: 1 }];
7207
7208
  const r = 1, a = 1, o = Array.from({ length: r }, (d, u) => u + 1), i = Array.from({ length: r }, (d, u) => t - r + 1 + u), s = Math.max(
@@ -7221,7 +7222,7 @@ function Wi(e, t) {
7221
7222
  return f.has(u) ? !1 : (f.add(u), !0);
7222
7223
  });
7223
7224
  }
7224
- const Fl = ({
7225
+ const zl = ({
7225
7226
  current: e,
7226
7227
  total: t,
7227
7228
  pageSize: r = 10,
@@ -7234,7 +7235,7 @@ const Fl = ({
7234
7235
  }) => {
7235
7236
  var N, T;
7236
7237
  const f = Math.max(1, Math.ceil((t || 0) / (r || 10))), d = Pr(e || 1, 1, f), u = q(
7237
- () => [{ type: "prev" }, ...Wi(d, f), { type: "next" }],
7238
+ () => [{ type: "prev" }, ...ji(d, f), { type: "next" }],
7238
7239
  [d, f]
7239
7240
  ), [x, g] = ee("");
7240
7241
  if (s && f <= 1)
@@ -7266,7 +7267,7 @@ const Fl = ({
7266
7267
  }, h = (N = c == null ? void 0 : c.jump_to) != null ? N : "Перейти на", C = (T = c == null ? void 0 : c.page) != null ? T : "страницу";
7267
7268
  return /* @__PURE__ */ I("div", { className: p("flex items-center justify-between gap-3 flex-wrap", o), "data-testid": "paginator", children: [
7268
7269
  /* @__PURE__ */ n("div", { className: "flex items-center gap-1 flex-wrap", children: u.map((E, M) => {
7269
- const R = Gi(E, f), k = E.type === "page" && E.page === d, D = `${E.type}-${E.type === "page" ? E.page : M}`, z = E.type === "prev" || E.type === "next" ? /* @__PURE__ */ n(
7270
+ const R = Vi(E, f), k = E.type === "page" && E.page === d, D = `${E.type}-${E.type === "page" ? E.page : M}`, z = E.type === "prev" || E.type === "next" ? /* @__PURE__ */ n(
7270
7271
  Q,
7271
7272
  {
7272
7273
  variant: "text",
@@ -7332,7 +7333,7 @@ const Fl = ({
7332
7333
  /* @__PURE__ */ n(Q, { variant: "default", onClick: b, disabled: i, children: "OK" })
7333
7334
  ] })
7334
7335
  ] });
7335
- }, Vi = {
7336
+ }, Hi = {
7336
7337
  ru: {
7337
7338
  searchCountry: "Найти страну",
7338
7339
  notFound: "Ничего не найдено"
@@ -7349,9 +7350,9 @@ const Fl = ({
7349
7350
  searchCountry: "Ҷустуҷӯи кишвар",
7350
7351
  notFound: "Ҳеҷ чиз ёфт нашуд"
7351
7352
  }
7352
- }, ji = F(w({}, sa), {
7353
+ }, Ki = F(w({}, sa), {
7353
7354
  BY: "Беларусь"
7354
- }), Hi = {
7355
+ }), Ui = {
7355
7356
  ext: "иловагӣ",
7356
7357
  country: "Кишвари рақами телефон",
7357
7358
  phone: "Телефон",
@@ -7610,7 +7611,7 @@ const Fl = ({
7610
7611
  ZM: "Замбия",
7611
7612
  ZW: "Зимбабве",
7612
7613
  ZZ: "Байналмилалӣ"
7613
- }, Ki = {
7614
+ }, $i = {
7614
7615
  ext: "qo‘shimcha",
7615
7616
  country: "Telefon raqami davlati",
7616
7617
  phone: "Telefon",
@@ -7869,7 +7870,7 @@ const Fl = ({
7869
7870
  ZM: "Zambiya",
7870
7871
  ZW: "Zimbabve",
7871
7872
  ZZ: "Xalqaro"
7872
- }, Ui = {
7873
+ }, Yi = {
7873
7874
  AC: ["+247-####"],
7874
7875
  AD: ["+376-###-###"],
7875
7876
  AE: ["+\\971-##-###-####", "+\\971-#-###-####"],
@@ -8133,7 +8134,7 @@ function Br(e) {
8133
8134
  function Jt(e) {
8134
8135
  if (!e)
8135
8136
  return [zr];
8136
- const r = Ui[e];
8137
+ const r = Yi[e];
8137
8138
  return console.log("masks", r, Array.from(r).map(Br)), r ? Array.from(r).map(Br) : [zr];
8138
8139
  }
8139
8140
  const Gn = Ce.forwardRef(
@@ -8246,7 +8247,7 @@ const Gn = Ce.forwardRef(
8246
8247
  }
8247
8248
  );
8248
8249
  Gn.displayName = "InputComponent";
8249
- function $i(e) {
8250
+ function Zi(e) {
8250
8251
  return e || "";
8251
8252
  }
8252
8253
  const ut = "RU";
@@ -8282,7 +8283,7 @@ const _r = jr(
8282
8283
  /* @__PURE__ */ n("span", { className: "flex-1 text-[14px]", children: t }),
8283
8284
  /* @__PURE__ */ n("span", { className: "text-foreground/50", children: `+${Be.getCountryCallingCode(e)}` })
8284
8285
  ] })
8285
- ), Yi = jr(
8286
+ ), Ji = jr(
8286
8287
  ({
8287
8288
  disabled: e,
8288
8289
  value: t,
@@ -8468,7 +8469,7 @@ const _r = jr(
8468
8469
  ] })
8469
8470
  ] });
8470
8471
  }
8471
- ), Ll = Ce.forwardRef(
8472
+ ), Bl = Ce.forwardRef(
8472
8473
  (m, g) => {
8473
8474
  var y = m, {
8474
8475
  className: e,
@@ -8503,13 +8504,13 @@ const _r = jr(
8503
8504
  case "en":
8504
8505
  return ia;
8505
8506
  case "uz":
8506
- return Ki;
8507
+ return $i;
8507
8508
  case "tg":
8508
- return Hi;
8509
+ return Ui;
8509
8510
  default:
8510
- return ji;
8511
+ return Ki;
8511
8512
  }
8512
- })(), R = Vi[f];
8513
+ })(), R = Hi[f];
8513
8514
  Ce.useEffect(() => {
8514
8515
  if (i && i !== "+7") {
8515
8516
  const _ = Be.parsePhoneNumber(i);
@@ -8522,7 +8523,7 @@ const _r = jr(
8522
8523
  E(P), h(W[0]), N(W);
8523
8524
  }, [l, t, i]);
8524
8525
  const k = (P) => {
8525
- const W = $i(P), _ = Or(
8526
+ const W = Zi(P), _ = Or(
8526
8527
  W,
8527
8528
  T != null ? T : l
8528
8529
  );
@@ -8564,7 +8565,7 @@ const _r = jr(
8564
8565
  ),
8565
8566
  flagComponent: Mt,
8566
8567
  countryCallingCodeEditable: !1,
8567
- countrySelectComponent: Yi,
8568
+ countrySelectComponent: Ji,
8568
8569
  countrySelectProps: {
8569
8570
  defaultCountry: (j = T != null ? T : l) != null ? j : ut,
8570
8571
  locale: M,
@@ -8599,21 +8600,21 @@ const _r = jr(
8599
8600
  a && /* @__PURE__ */ n(O, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: a })
8600
8601
  ] });
8601
8602
  }
8602
- ), Zi = (r) => {
8603
+ ), Qi = (r) => {
8603
8604
  var a = r, {
8604
8605
  className: e
8605
8606
  } = a, t = L(a, [
8606
8607
  "className"
8607
8608
  ]);
8608
8609
  return /* @__PURE__ */ n(O, w({ variant: "h5", weight: "medium", className: e }, t));
8609
- }, Ji = (r) => {
8610
+ }, Xi = (r) => {
8610
8611
  var a = r, {
8611
8612
  className: e
8612
8613
  } = a, t = L(a, [
8613
8614
  "className"
8614
8615
  ]);
8615
8616
  return /* @__PURE__ */ n(O, w({ textColor: "secondary", className: e }, t));
8616
- }, Qi = ({ items: e, className: t }) => /* @__PURE__ */ n("div", { className: t, children: e.map((r, a) => /* @__PURE__ */ I("div", { className: "flex", children: [
8617
+ }, qi = ({ items: e, className: t }) => /* @__PURE__ */ n("div", { className: t, children: e.map((r, a) => /* @__PURE__ */ I("div", { className: "flex", children: [
8617
8618
  /* @__PURE__ */ I("div", { className: "relative mr-3 flex flex-col items-center", children: [
8618
8619
  /* @__PURE__ */ n(
8619
8620
  "div",
@@ -8631,10 +8632,10 @@ const _r = jr(
8631
8632
  r.title,
8632
8633
  r.additional
8633
8634
  ] })
8634
- ] }, a)) }), Wn = Qi;
8635
- Wn.Title = Zi;
8636
- Wn.Additional = Ji;
8637
- function Xi(a) {
8635
+ ] }, a)) }), Wn = qi;
8636
+ Wn.Title = Qi;
8637
+ Wn.Additional = Xi;
8638
+ function es(a) {
8638
8639
  var o = a, {
8639
8640
  className: e,
8640
8641
  value: t
@@ -8666,7 +8667,7 @@ function Xi(a) {
8666
8667
  })
8667
8668
  );
8668
8669
  }
8669
- const qi = me(
8670
+ const ts = me(
8670
8671
  "peer relative inline-flex shrink-0 items-center justify-center rounded-full border transition-colors focus:outline-none focus:shadow-focus disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:border-border cursor-pointer",
8671
8672
  {
8672
8673
  variants: {
@@ -8701,7 +8702,7 @@ const qi = me(
8701
8702
  }
8702
8703
  ]
8703
8704
  }
8704
- ), es = v.forwardRef(
8705
+ ), rs = v.forwardRef(
8705
8706
  (y, m) => {
8706
8707
  var b = y, {
8707
8708
  className: e,
@@ -8746,7 +8747,7 @@ const qi = me(
8746
8747
  At.Item,
8747
8748
  F(w({
8748
8749
  className: p(
8749
- qi({
8750
+ ts({
8750
8751
  size: t,
8751
8752
  isChecked: h,
8752
8753
  dotSize: t
@@ -8768,8 +8769,8 @@ const qi = me(
8768
8769
  );
8769
8770
  }
8770
8771
  );
8771
- es.displayName = At.Item.displayName;
8772
- const ts = v.forwardRef((s, i) => {
8772
+ rs.displayName = At.Item.displayName;
8773
+ const ns = v.forwardRef((s, i) => {
8773
8774
  var l = s, { className: e, label: t, error: r, size: a = "md" } = l, o = L(l, ["className", "label", "error", "size"]);
8774
8775
  return /* @__PURE__ */ I("div", { className: "w-full", children: [
8775
8776
  t && /* @__PURE__ */ n(
@@ -8795,8 +8796,8 @@ const ts = v.forwardRef((s, i) => {
8795
8796
  r && /* @__PURE__ */ n(O, { variant: "p2", className: "mt-1", textColor: "destructive", children: r })
8796
8797
  ] });
8797
8798
  });
8798
- ts.displayName = At.Root.displayName;
8799
- const rs = me(
8799
+ ns.displayName = At.Root.displayName;
8800
+ const as = me(
8800
8801
  "inline-flex items-center justify-center text-secondary-foreground bg-default-background p-0.5 gap-0 font-cofo",
8801
8802
  {
8802
8803
  variants: {
@@ -8876,7 +8877,7 @@ const rs = me(
8876
8877
  }
8877
8878
  );
8878
8879
  jn.displayName = Dt.Item.displayName;
8879
- const ns = v.forwardRef(
8880
+ const os = v.forwardRef(
8880
8881
  (f, c) => {
8881
8882
  var d = f, {
8882
8883
  className: e,
@@ -8907,7 +8908,7 @@ const ns = v.forwardRef(
8907
8908
  F(w({
8908
8909
  ref: c,
8909
8910
  type: "single",
8910
- className: p(rs({ size: t }), e),
8911
+ className: p(as({ size: t }), e),
8911
8912
  value: u,
8912
8913
  onValueChange: g,
8913
8914
  "data-testid": s
@@ -8917,8 +8918,8 @@ const ns = v.forwardRef(
8917
8918
  );
8918
8919
  }
8919
8920
  );
8920
- ns.displayName = Dt.Root.displayName;
8921
- const as = v.forwardRef(
8921
+ os.displayName = Dt.Root.displayName;
8922
+ const is = v.forwardRef(
8922
8923
  (u, d) => {
8923
8924
  var x = u, {
8924
8925
  className: e,
@@ -8977,8 +8978,80 @@ const as = v.forwardRef(
8977
8978
  );
8978
8979
  }
8979
8980
  );
8980
- as.displayName = "SingleSegment";
8981
- function Pl({ steps: e, currentStep: t, className: r }) {
8981
+ is.displayName = "SingleSegment";
8982
+ function Ol({
8983
+ brandTitle: e,
8984
+ navGroups: t,
8985
+ storageKey: r = "kp-app-sidebar-collapsed",
8986
+ className: a
8987
+ }) {
8988
+ const o = la(), [i, s] = v.useState(() => {
8989
+ try {
8990
+ return localStorage.getItem(r) === "true";
8991
+ } catch (c) {
8992
+ return !1;
8993
+ }
8994
+ }), l = () => {
8995
+ const c = !i;
8996
+ s(c);
8997
+ try {
8998
+ localStorage.setItem(r, String(c));
8999
+ } catch (f) {
9000
+ }
9001
+ };
9002
+ return /* @__PURE__ */ I(
9003
+ "aside",
9004
+ {
9005
+ className: p(
9006
+ "flex h-screen shrink-0 flex-col bg-sidebar text-sidebar-foreground transition-[width] duration-200",
9007
+ "pt-4 px-4 pb-0",
9008
+ i ? "w-16" : "w-[270px]",
9009
+ a
9010
+ ),
9011
+ children: [
9012
+ /* @__PURE__ */ n("div", { className: "flex h-12 shrink-0 items-center justify-between", children: !i && /* @__PURE__ */ n("span", { className: "text-base font-semibold text-default", children: e }) }),
9013
+ /* @__PURE__ */ n("nav", { className: "flex-1 overflow-y-auto py-2", children: t.map((c, f) => /* @__PURE__ */ I("div", { children: [
9014
+ f > 0 && /* @__PURE__ */ n("div", { className: "mx-2 my-2 h-px bg-border" }),
9015
+ /* @__PURE__ */ n("ul", { className: "space-y-0.5", children: c.items.map((d) => {
9016
+ const u = o.pathname === d.href;
9017
+ return /* @__PURE__ */ n("li", { children: /* @__PURE__ */ I(
9018
+ da,
9019
+ {
9020
+ to: d.href,
9021
+ className: p(
9022
+ "flex items-center gap-3 rounded-md px-2.5 py-1.5 text-sm transition-colors",
9023
+ u ? "bg-background font-medium text-default" : "text-default hover:bg-background",
9024
+ i && "justify-center px-0"
9025
+ ),
9026
+ title: i ? d.title : void 0,
9027
+ children: [
9028
+ !i && /* @__PURE__ */ I(pe, { children: [
9029
+ /* @__PURE__ */ n("span", { className: "flex-1", children: d.title }),
9030
+ d.count != null && d.count > 0 && /* @__PURE__ */ n("span", { className: "flex h-5 items-center rounded-md bg-background px-1.5 font-mono text-xs tracking-tight text-default", children: d.count })
9031
+ ] }),
9032
+ i && /* @__PURE__ */ n("span", { className: "text-xs font-medium text-secondary", children: d.title.charAt(0) })
9033
+ ]
9034
+ }
9035
+ ) }, d.href);
9036
+ }) })
9037
+ ] }, f)) }),
9038
+ /* @__PURE__ */ n("div", { className: "shrink-0 py-3", children: /* @__PURE__ */ n(
9039
+ Q,
9040
+ {
9041
+ type: "button",
9042
+ variant: "text",
9043
+ iconOnly: !0,
9044
+ icon: i ? "ArrowRightIcon" : "ArrowLeftIcon",
9045
+ className: "h-8 w-full text-secondary hover:bg-background",
9046
+ onClick: l,
9047
+ "aria-label": i ? "Развернуть меню" : "Свернуть меню"
9048
+ }
9049
+ ) })
9050
+ ]
9051
+ }
9052
+ );
9053
+ }
9054
+ function _l({ steps: e, currentStep: t, className: r }) {
8982
9055
  return /* @__PURE__ */ n("div", { className: p("relative flex w-full", r), children: /* @__PURE__ */ n(
8983
9056
  "div",
8984
9057
  {
@@ -9046,7 +9119,7 @@ function Pl({ steps: e, currentStep: t, className: r }) {
9046
9119
  }
9047
9120
  ) });
9048
9121
  }
9049
- const os = me(
9122
+ const ss = me(
9050
9123
  "peer inline-flex shrink-0 items-center justify-start rounded-full border-none border-transparent transition-colors duration-200 focus:outline-none focus:shadow-focus p-0.5 data-[state=checked]:justify-end cursor-pointer disabled:cursor-not-allowed",
9051
9124
  {
9052
9125
  variants: {
@@ -9086,7 +9159,7 @@ const os = me(
9086
9159
  }
9087
9160
  ]
9088
9161
  }
9089
- ), is = me(
9162
+ ), ls = me(
9090
9163
  "pointer-events-none block rounded-full border-0 bg-background shadow-lg transition-all duration-200 ease-in-out",
9091
9164
  {
9092
9165
  variants: {
@@ -9099,7 +9172,7 @@ const os = me(
9099
9172
  size: "md"
9100
9173
  }
9101
9174
  }
9102
- ), ss = v.forwardRef((d, f) => {
9175
+ ), ds = v.forwardRef((d, f) => {
9103
9176
  var u = d, { className: e, size: t, label: r, loading: a, checked: o, disabled: i, "data-testid": s, onCheckedChange: l } = u, c = L(u, ["className", "size", "label", "loading", "checked", "disabled", "data-testid", "onCheckedChange"]);
9104
9177
  const x = o || !1, g = i || !1, m = fe(void 0), y = (h) => {
9105
9178
  m.current = h;
@@ -9111,7 +9184,7 @@ const os = me(
9111
9184
  qt.Root,
9112
9185
  F(w({
9113
9186
  className: p(
9114
- os({
9187
+ ss({
9115
9188
  size: t,
9116
9189
  isChecked: x,
9117
9190
  isLoading: !!a,
@@ -9132,7 +9205,7 @@ const os = me(
9132
9205
  qt.Thumb,
9133
9206
  {
9134
9207
  className: p(
9135
- is({ size: t }),
9208
+ ls({ size: t }),
9136
9209
  a && "flex items-center justify-center"
9137
9210
  ),
9138
9211
  children: a && /* @__PURE__ */ n(
@@ -9159,11 +9232,11 @@ const os = me(
9159
9232
  )
9160
9233
  ] });
9161
9234
  });
9162
- ss.displayName = qt.Root.displayName;
9235
+ ds.displayName = qt.Root.displayName;
9163
9236
  function hr(e) {
9164
9237
  return e === "center" ? "text-center" : e === "right" ? "text-right" : "text-left";
9165
9238
  }
9166
- function ls(e) {
9239
+ function cs(e) {
9167
9240
  return e === "center" ? "justify-center" : e === "right" ? "justify-end" : "justify-start";
9168
9241
  }
9169
9242
  const Gr = new URL("../assets/empty-box-ByMlwLaV.png", import.meta.url).href;
@@ -9216,11 +9289,11 @@ function Hn({
9216
9289
  }
9217
9290
  );
9218
9291
  }
9219
- const ds = "4px 0 8px -6px rgba(0, 0, 0, 0.14)", cs = "-4px 0 8px -6px rgba(0, 0, 0, 0.14)";
9292
+ const us = "4px 0 8px -6px rgba(0, 0, 0, 0.14)", fs = "-4px 0 8px -6px rgba(0, 0, 0, 0.14)";
9220
9293
  function gr(e, t) {
9221
9294
  return t ? e ? `${e}, ${t}` : t : e;
9222
9295
  }
9223
- function us(e, t) {
9296
+ function ms(e, t) {
9224
9297
  let r = null, a = null;
9225
9298
  for (let o = 0; o < e.length; o += 1) {
9226
9299
  const i = e[o];
@@ -9235,7 +9308,7 @@ function us(e, t) {
9235
9308
  }
9236
9309
  return { lastLeftId: r, firstRightId: a };
9237
9310
  }
9238
- function fs(e, t) {
9311
+ function ps(e, t) {
9239
9312
  const r = {}, a = {};
9240
9313
  let o = 0;
9241
9314
  e.forEach((s, l) => {
@@ -9264,11 +9337,11 @@ function br(e, t, r) {
9264
9337
  }
9265
9338
  function xr(e, t, r, a) {
9266
9339
  if (e === "left" && r.lastLeftId === t && a.canScrollLeft)
9267
- return ds;
9340
+ return us;
9268
9341
  if (e === "right" && r.firstRightId === t && a.canScrollRight)
9269
- return cs;
9342
+ return fs;
9270
9343
  }
9271
- function ms({
9344
+ function hs({
9272
9345
  table: e,
9273
9346
  columnsCount: t,
9274
9347
  onRow: r,
@@ -9375,7 +9448,7 @@ function ms({
9375
9448
  );
9376
9449
  }) });
9377
9450
  }
9378
- function ps({ columns: e }) {
9451
+ function gs({ columns: e }) {
9379
9452
  return /* @__PURE__ */ n("colgroup", { children: e.map((t, r) => {
9380
9453
  var i, s, l;
9381
9454
  const a = typeof t.width == "number" ? t.width : typeof t.minWidth == "number" ? t.minWidth : void 0, o = typeof t.maxWidth == "number" ? t.maxWidth : void 0;
@@ -9392,7 +9465,7 @@ function ps({ columns: e }) {
9392
9465
  );
9393
9466
  }) });
9394
9467
  }
9395
- function hs(e, t) {
9468
+ function bs(e, t) {
9396
9469
  if (!t)
9397
9470
  return;
9398
9471
  const r = Array.isArray(t) ? t : t.split(".").filter(Boolean);
@@ -9407,7 +9480,7 @@ function hs(e, t) {
9407
9480
  function He(e, t) {
9408
9481
  return typeof e.dataIndex == "string" && e.dataIndex.length > 0 ? e.dataIndex : typeof e.columnKey == "string" && e.columnKey.length > 0 ? e.columnKey : typeof e.key == "string" && e.key.length > 0 ? e.key : `col_${t}`;
9409
9482
  }
9410
- function gs(e, t) {
9483
+ function xs(e, t) {
9411
9484
  var i, s, l, c;
9412
9485
  const r = He(e, t), a = typeof e.width == "number", o = {
9413
9486
  width: e.width,
@@ -9432,7 +9505,7 @@ function gs(e, t) {
9432
9505
  id: r,
9433
9506
  accessorFn: (f) => {
9434
9507
  var d;
9435
- return hs(f, (d = e.dataIndex) != null ? d : r);
9508
+ return bs(f, (d = e.dataIndex) != null ? d : r);
9436
9509
  },
9437
9510
  enableSorting: !!e.sorter,
9438
9511
  meta: o,
@@ -9443,7 +9516,7 @@ function gs(e, t) {
9443
9516
  }
9444
9517
  };
9445
9518
  }
9446
- function bs({
9519
+ function ys({
9447
9520
  table: e,
9448
9521
  columns: t,
9449
9522
  sorting: r,
@@ -9488,7 +9561,7 @@ function bs({
9488
9561
  )
9489
9562
  }),
9490
9563
  onClick: h,
9491
- children: /* @__PURE__ */ I("div", { className: p("flex w-full items-center gap-2", ls(d == null ? void 0 : d.align)), children: [
9564
+ children: /* @__PURE__ */ I("div", { className: p("flex w-full items-center gap-2", cs(d == null ? void 0 : d.align)), children: [
9492
9565
  E,
9493
9566
  u && /* @__PURE__ */ n("span", { title: g, className: "inline-flex items-center", children: /* @__PURE__ */ n(
9494
9567
  V,
@@ -9509,7 +9582,7 @@ function bs({
9509
9582
  );
9510
9583
  }) }, c.id)) });
9511
9584
  }
9512
- function xs({
9585
+ function vs({
9513
9586
  table: e,
9514
9587
  rowsCount: t,
9515
9588
  stickyOffsets: r,
@@ -9557,13 +9630,13 @@ function xs({
9557
9630
  }) }, `skeleton_${l}`);
9558
9631
  }) });
9559
9632
  }
9560
- const ys = {
9633
+ const ws = {
9561
9634
  hasOverflowX: !1,
9562
9635
  canScrollLeft: !1,
9563
9636
  canScrollRight: !1
9564
9637
  };
9565
- function vs(e, t) {
9566
- const [r, a] = ee(ys);
9638
+ function Ns(e, t) {
9639
+ const [r, a] = ee(ws);
9567
9640
  return de(() => {
9568
9641
  const o = e.current;
9569
9642
  if (!o)
@@ -9577,7 +9650,7 @@ function vs(e, t) {
9577
9650
  };
9578
9651
  }, [e, ...t]), r;
9579
9652
  }
9580
- function zl({
9653
+ function Gl({
9581
9654
  className: e,
9582
9655
  tableClassName: t,
9583
9656
  loading: r,
@@ -9625,10 +9698,10 @@ function zl({
9625
9698
  () => H.some((Z) => Z.fixed === "left" || Z.fixed === "right"),
9626
9699
  [H]
9627
9700
  ), be = q(
9628
- () => us(H, He),
9701
+ () => ms(H, He),
9629
9702
  [H]
9630
9703
  ), oe = q(
9631
- () => fs(H, He),
9704
+ () => ps(H, He),
9632
9705
  [H]
9633
9706
  ), Te = q(() => (Z, ie) => {
9634
9707
  if (typeof g == "function")
@@ -9710,7 +9783,7 @@ function zl({
9710
9783
  );
9711
9784
  }
9712
9785
  }
9713
- ] : [], ie = l.map((X, xe) => gs(X, xe));
9786
+ ] : [], ie = l.map((X, xe) => xs(X, xe));
9714
9787
  return [...Z, ...ie];
9715
9788
  }, [
9716
9789
  l,
@@ -9724,7 +9797,7 @@ function zl({
9724
9797
  ]), [Y, Ne] = ee(() => {
9725
9798
  const Z = l.findIndex((ke) => ke.defaultSortOrder), ie = Z >= 0 ? l[Z] : void 0, X = ie == null ? void 0 : ie.defaultSortOrder, xe = ie ? He(ie, Z) : void 0;
9726
9799
  return !xe || !X ? [] : [{ id: xe, desc: X === "descend" }];
9727
- }), Me = da(F(w({
9800
+ }), Me = ua(F(w({
9728
9801
  data: R,
9729
9802
  columns: K,
9730
9803
  state: { sorting: Y },
@@ -9739,9 +9812,9 @@ function zl({
9739
9812
  };
9740
9813
  s == null || s(void 0, void 0, ke, { action: "sort" });
9741
9814
  },
9742
- getCoreRowModel: ua(),
9815
+ getCoreRowModel: ma(),
9743
9816
  enableSortingRemoval: !0
9744
- }, x ? { getSortedRowModel: ca() } : {}), {
9817
+ }, x ? { getSortedRowModel: fa() } : {}), {
9745
9818
  getRowId: g ? (Z, ie) => {
9746
9819
  if (typeof g == "function")
9747
9820
  return String(g(Z));
@@ -9754,7 +9827,7 @@ function zl({
9754
9827
  }, [o == null ? void 0 : o.y]), Gt = q(() => H.reduce((Z, ie) => {
9755
9828
  const X = typeof ie.width == "number" ? ie.width : typeof ie.minWidth == "number" ? ie.minWidth : 0;
9756
9829
  return Z + X;
9757
- }, 0), [H]), Wt = q(() => (o == null ? void 0 : o.x) === "max-content" ? "max-content" : typeof (o == null ? void 0 : o.x) == "number" ? `${o.x}px` : typeof (o == null ? void 0 : o.x) == "string" ? o.x : Gt > 0 ? `${Gt}px` : "max-content", [o == null ? void 0 : o.x, Gt]), Vt = vs(z, [
9830
+ }, 0), [H]), Wt = q(() => (o == null ? void 0 : o.x) === "max-content" ? "max-content" : typeof (o == null ? void 0 : o.x) == "number" ? `${o.x}px` : typeof (o == null ? void 0 : o.x) == "string" ? o.x : Gt > 0 ? `${Gt}px` : "max-content", [o == null ? void 0 : o.x, Gt]), Vt = Ns(z, [
9758
9831
  H,
9759
9832
  Wt,
9760
9833
  re,
@@ -9792,9 +9865,9 @@ function zl({
9792
9865
  ),
9793
9866
  style: Wt ? { minWidth: Wt } : void 0,
9794
9867
  children: [
9795
- /* @__PURE__ */ n(ps, { columns: H }),
9868
+ /* @__PURE__ */ n(gs, { columns: H }),
9796
9869
  h && /* @__PURE__ */ n(
9797
- bs,
9870
+ ys,
9798
9871
  {
9799
9872
  table: Me,
9800
9873
  columns: l,
@@ -9807,7 +9880,7 @@ function zl({
9807
9880
  }
9808
9881
  ),
9809
9882
  k ? /* @__PURE__ */ n("tbody", { children: /* @__PURE__ */ n(
9810
- xs,
9883
+ vs,
9811
9884
  {
9812
9885
  table: Me,
9813
9886
  rowsCount: D,
@@ -9816,7 +9889,7 @@ function zl({
9816
9889
  scrollState: Vt
9817
9890
  }
9818
9891
  ) }) : /* @__PURE__ */ n(
9819
- ms,
9892
+ hs,
9820
9893
  {
9821
9894
  table: Me,
9822
9895
  columnsCount: H.length,
@@ -9838,7 +9911,7 @@ function zl({
9838
9911
  }
9839
9912
  );
9840
9913
  }
9841
- function ws({
9914
+ function Is({
9842
9915
  rowsCount: e,
9843
9916
  linesCount: t,
9844
9917
  className: r
@@ -9918,7 +9991,7 @@ function ws({
9918
9991
  `card_skeleton_${l}`
9919
9992
  )) });
9920
9993
  }
9921
- function Bl({
9994
+ function Wl({
9922
9995
  items: e,
9923
9996
  loading: t,
9924
9997
  loadingRows: r,
@@ -9930,7 +10003,7 @@ function Bl({
9930
10003
  }) {
9931
10004
  const c = !!t, f = Math.max(1, Math.floor(r != null ? r : 10)), d = e != null ? e : [];
9932
10005
  return c ? /* @__PURE__ */ n("div", { className: p("flex flex-col gap-3 p-3", a), "aria-busy": t, children: /* @__PURE__ */ n(
9933
- ws,
10006
+ Is,
9934
10007
  {
9935
10008
  rowsCount: f,
9936
10009
  linesCount: 6
@@ -9964,7 +10037,7 @@ function Bl({
9964
10037
  );
9965
10038
  }) });
9966
10039
  }
9967
- function Ol({
10040
+ function Vl({
9968
10041
  title: e,
9969
10042
  controls: t,
9970
10043
  onChange: r,
@@ -9999,7 +10072,7 @@ function Ol({
9999
10072
  children: [
10000
10073
  e && /* @__PURE__ */ I("div", { className: "px-3 pt-2", children: [
10001
10074
  /* @__PURE__ */ n(O, { weight: "bold", children: e }),
10002
- /* @__PURE__ */ n(Si, { className: "mt-2" })
10075
+ /* @__PURE__ */ n(Mi, { className: "mt-2" })
10003
10076
  ] }),
10004
10077
  /* @__PURE__ */ n("div", { className: "flex flex-col", "data-testid": o, children: t.map((l) => {
10005
10078
  const c = () => s(l.key, !l.enabled);
@@ -10031,7 +10104,7 @@ function Ol({
10031
10104
  )
10032
10105
  ] });
10033
10106
  }
10034
- const Ns = me(
10107
+ const Cs = me(
10035
10108
  "inline-flex items-center rounded-md bg-transparent w-full overflow-x-auto no-scrollbar",
10036
10109
  {
10037
10110
  variants: {
@@ -10042,7 +10115,7 @@ const Ns = me(
10042
10115
  },
10043
10116
  defaultVariants: { size: "md", variant: "default" }
10044
10117
  }
10045
- ), Is = me(
10118
+ ), ks = me(
10046
10119
  // ↳ border-0 — главное условие
10047
10120
  "cursor-pointer inline-flex items-center justify-center whitespace-nowrap rounded-full font-medium select-none transition-colors border border-transparent font-cofo",
10048
10121
  {
@@ -10058,18 +10131,18 @@ const Ns = me(
10058
10131
  },
10059
10132
  defaultVariants: { size: "md", variant: "default" }
10060
10133
  }
10061
- ), _l = Ge.Root, Cs = v.forwardRef((i, o) => {
10134
+ ), jl = Ge.Root, Ss = v.forwardRef((i, o) => {
10062
10135
  var s = i, { size: e = "md", variant: t = "default", className: r } = s, a = L(s, ["size", "variant", "className"]);
10063
10136
  return /* @__PURE__ */ n(
10064
10137
  Ge.List,
10065
10138
  w({
10066
10139
  ref: o,
10067
- className: p(Ns({ size: e, variant: t }), r)
10140
+ className: p(Cs({ size: e, variant: t }), r)
10068
10141
  }, a)
10069
10142
  );
10070
10143
  });
10071
- Cs.displayName = Ge.List.displayName;
10072
- const ks = v.forwardRef(
10144
+ Ss.displayName = Ge.List.displayName;
10145
+ const Ts = v.forwardRef(
10073
10146
  (d, f) => {
10074
10147
  var u = d, {
10075
10148
  size: e = "md",
@@ -10091,7 +10164,7 @@ const ks = v.forwardRef(
10091
10164
  "data-testid"
10092
10165
  ]);
10093
10166
  const x = p(
10094
- Is({ size: e, variant: t }),
10167
+ ks({ size: e, variant: t }),
10095
10168
  /* base (inactive) */
10096
10169
  t === "default" ? "bg-white border-border-tabs" : "bg-transparent text-gray-600 rounded-md w-full",
10097
10170
  /* hover / pressed (inactive) */
@@ -10130,8 +10203,8 @@ const ks = v.forwardRef(
10130
10203
  );
10131
10204
  }
10132
10205
  );
10133
- ks.displayName = Ge.Trigger.displayName;
10134
- const Ss = v.forwardRef((a, r) => {
10206
+ Ts.displayName = Ge.Trigger.displayName;
10207
+ const Ms = v.forwardRef((a, r) => {
10135
10208
  var o = a, { className: e } = o, t = L(o, ["className"]);
10136
10209
  return /* @__PURE__ */ n(
10137
10210
  Ge.Content,
@@ -10141,8 +10214,8 @@ const Ss = v.forwardRef((a, r) => {
10141
10214
  }, t)
10142
10215
  );
10143
10216
  });
10144
- Ss.displayName = Ge.Content.displayName;
10145
- const Ts = me(
10217
+ Ms.displayName = Ge.Content.displayName;
10218
+ const Es = me(
10146
10219
  "font-cofo flex flex-shrink-0 items-center justify-center w-fit rounded-md font-medium border-0 h-6 px-2 text-[14px] leading-[18px] min-w-max",
10147
10220
  {
10148
10221
  variants: {
@@ -10176,7 +10249,7 @@ const Ts = me(
10176
10249
  iconPosition: "start"
10177
10250
  }
10178
10251
  }
10179
- ), Ms = v.forwardRef(
10252
+ ), Rs = v.forwardRef(
10180
10253
  (u, d) => {
10181
10254
  var x = u, {
10182
10255
  color: e = "default",
@@ -10209,7 +10282,7 @@ const Ts = me(
10209
10282
  F(w({
10210
10283
  ref: d,
10211
10284
  className: p(
10212
- Ts({
10285
+ Es({
10213
10286
  color: e,
10214
10287
  iconOnly: r,
10215
10288
  iconPosition: a
@@ -10224,8 +10297,8 @@ const Ts = me(
10224
10297
  );
10225
10298
  }
10226
10299
  );
10227
- Ms.displayName = "Tag";
10228
- function Es(e, t, r, a) {
10300
+ Rs.displayName = "Tag";
10301
+ function As(e, t, r, a) {
10229
10302
  const o = fe(null), i = fe(0), s = fe(!1), l = fe(0);
10230
10303
  return de(() => {
10231
10304
  if (!e || !o.current)
@@ -10264,7 +10337,7 @@ function Es(e, t, r, a) {
10264
10337
  };
10265
10338
  }, [e, t, r, a]), o;
10266
10339
  }
10267
- const Rs = v.forwardRef(
10340
+ const Ds = v.forwardRef(
10268
10341
  (m, g) => {
10269
10342
  var y = m, {
10270
10343
  className: e,
@@ -10293,7 +10366,7 @@ const Rs = v.forwardRef(
10293
10366
  "disabled",
10294
10367
  "size"
10295
10368
  ]);
10296
- const b = Es(s, l, x.placeholder, x.value);
10369
+ const b = As(s, l, x.placeholder, x.value);
10297
10370
  return Vr(g, () => b.current, [b]), /* @__PURE__ */ I("div", { className: "w-full", children: [
10298
10371
  a && /* @__PURE__ */ n(O, { variant: "p2", weight: "medium", className: "mb-1.5", children: a }),
10299
10372
  /* @__PURE__ */ I(
@@ -10361,12 +10434,12 @@ const Rs = v.forwardRef(
10361
10434
  ] });
10362
10435
  }
10363
10436
  );
10364
- Rs.displayName = "Textarea";
10365
- function As(e, t) {
10437
+ Ds.displayName = "Textarea";
10438
+ function Fs(e, t) {
10366
10439
  return e === t ? "unchanged" : e.length > t.length ? "added" : e.length < t.length ? "removed" : "added";
10367
10440
  }
10368
- function Ds(e, t) {
10369
- const r = e.replace(/\D/g, ""), a = t.replace(/\D/g, ""), o = As(e, t);
10441
+ function Ls(e, t) {
10442
+ const r = e.replace(/\D/g, ""), a = t.replace(/\D/g, ""), o = Fs(e, t);
10370
10443
  return r.length === 0 ? "" : o === "removed" && r.length === 2 && a.length === 3 ? `${r}:` : o === "removed" && r.length === 2 && a.length === 2 && t.includes(":") ? r[0] : o === "removed" && r.length === 1 ? r : o === "added" && r.length === 2 && a.length === 1 ? `${r}:` : r.length === 1 || r.length === 2 ? r : r.length <= 4 ? `${r.slice(0, 2)}:${r.slice(2)}` : `${r.slice(0, 2)}:${r.slice(2, 4)}`;
10371
10444
  }
10372
10445
  function Wr(e) {
@@ -10377,7 +10450,7 @@ function Wr(e) {
10377
10450
  const [r, a] = e.split(":").map(Number);
10378
10451
  return r >= 0 && r <= 23 && a >= 0 && a <= 59;
10379
10452
  }
10380
- function Gl({
10453
+ function Hl({
10381
10454
  time: e,
10382
10455
  onSelect: t,
10383
10456
  disabled: r = !1,
@@ -10395,7 +10468,7 @@ function Gl({
10395
10468
  x(e || ""), g.current = e || "";
10396
10469
  }, [e]);
10397
10470
  const m = (b) => {
10398
- const h = Ds(b.target.value, g.current);
10471
+ const h = Ls(b.target.value, g.current);
10399
10472
  x(h), g.current = h, h.length === 5 && Wr(h) ? t == null || t(h) : h === "" && (t == null || t(void 0));
10400
10473
  }, y = (b) => {
10401
10474
  f == null || f(b), u && !Wr(u) && (x(""), t == null || t(void 0));
@@ -10458,10 +10531,10 @@ function Gl({
10458
10531
  s && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1.5", textColor: "destructive", children: s })
10459
10532
  ] });
10460
10533
  }
10461
- function Fs(e, t) {
10534
+ function Ps(e, t) {
10462
10535
  return e === t ? "unchanged" : e.length > t.length ? "added" : e.length < t.length ? "removed" : "added";
10463
10536
  }
10464
- function Wl({
10537
+ function Kl({
10465
10538
  value: e,
10466
10539
  onTimeChange: t,
10467
10540
  placeholder: r = {
@@ -10490,7 +10563,7 @@ function Wl({
10490
10563
  x((e == null ? void 0 : e.from) || ""), m((e == null ? void 0 : e.to) || ""), y.current = (e == null ? void 0 : e.from) || "", b.current = (e == null ? void 0 : e.to) || "";
10491
10564
  }, [e]);
10492
10565
  const M = (P, W) => {
10493
- const _ = P.replace(/\D/g, ""), J = W.replace(/\D/g, ""), U = Fs(P, W);
10566
+ const _ = P.replace(/\D/g, ""), J = W.replace(/\D/g, ""), U = Ps(P, W);
10494
10567
  return _.length === 0 ? "" : U === "removed" && _.length === 2 && J.length === 3 ? `${_}:` : U === "removed" && _.length === 2 && J.length === 2 && W.includes(":") ? _[0] : U === "removed" && _.length === 1 ? _ : U === "added" && _.length === 2 && J.length === 1 ? `${_}:` : _.length === 1 || _.length === 2 ? _ : _.length <= 4 ? `${_.slice(0, 2)}:${_.slice(2)}` : `${_.slice(0, 2)}:${_.slice(2, 4)}`;
10495
10568
  }, R = (P) => {
10496
10569
  if (!P)
@@ -10622,7 +10695,7 @@ function Wl({
10622
10695
  C() && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1.5", textColor: "destructive", children: E() })
10623
10696
  ] });
10624
10697
  }
10625
- const Vl = ({ items: e, className: t }) => /* @__PURE__ */ n("div", { className: t, children: e.map((r, a) => /* @__PURE__ */ I("div", { className: "flex", children: [
10698
+ const Ul = ({ items: e, className: t }) => /* @__PURE__ */ n("div", { className: t, children: e.map((r, a) => /* @__PURE__ */ I("div", { className: "flex", children: [
10626
10699
  /* @__PURE__ */ I("div", { className: "relative mr-4 flex flex-col items-center", children: [
10627
10700
  /* @__PURE__ */ n(
10628
10701
  "div",
@@ -10693,10 +10766,10 @@ function at(e, t, r) {
10693
10766
  const a = tr(e);
10694
10767
  return a.length === 0 ? (t && t(e), [r || "Произошла ошибка"]) : a;
10695
10768
  }
10696
- function Ls(e, t) {
10769
+ function zs(e, t) {
10697
10770
  return ae(e, t);
10698
10771
  }
10699
- const jl = Object.assign(Ls, {
10772
+ const $l = Object.assign(zs, {
10700
10773
  success: (e, t) => {
10701
10774
  const r = typeof e == "string" ? [(t == null ? void 0 : t.defaultMessage) || e] : at(
10702
10775
  e,
@@ -10864,10 +10937,10 @@ const jl = Object.assign(Ls, {
10864
10937
  }, o));
10865
10938
  }
10866
10939
  });
10867
- function Hl(t) {
10940
+ function Yl(t) {
10868
10941
  var e = L(t, []);
10869
10942
  return /* @__PURE__ */ n(
10870
- la,
10943
+ ca,
10871
10944
  w({
10872
10945
  visibleToasts: 1 / 0,
10873
10946
  gap: 4,
@@ -10897,8 +10970,8 @@ function Hl(t) {
10897
10970
  }, e)
10898
10971
  );
10899
10972
  }
10900
- const Kl = Oe.Provider, Ps = 120, Kn = v.createContext(null);
10901
- function zs() {
10973
+ const Zl = Oe.Provider, Bs = 120, Kn = v.createContext(null);
10974
+ function Os() {
10902
10975
  const [e, t] = v.useState(!1);
10903
10976
  return v.useEffect(() => {
10904
10977
  if (typeof window == "undefined")
@@ -10909,7 +10982,7 @@ function zs() {
10909
10982
  return a(), r.addEventListener("change", a), () => r.removeEventListener("change", a);
10910
10983
  }, []), e;
10911
10984
  }
10912
- function Ul(o) {
10985
+ function Jl(o) {
10913
10986
  var i = o, {
10914
10987
  open: e,
10915
10988
  defaultOpen: t,
@@ -10919,14 +10992,14 @@ function Ul(o) {
10919
10992
  "defaultOpen",
10920
10993
  "onOpenChange"
10921
10994
  ]);
10922
- const [s, l] = v.useState(!!t), c = e !== void 0, f = c ? e : s, d = zs(), u = v.useRef(0), x = v.useCallback(
10995
+ const [s, l] = v.useState(!!t), c = e !== void 0, f = c ? e : s, d = Os(), u = v.useRef(0), x = v.useCallback(
10923
10996
  (y) => {
10924
10997
  c || l(y), r == null || r(y);
10925
10998
  },
10926
10999
  [c, r]
10927
11000
  ), g = v.useCallback(
10928
11001
  (y) => {
10929
- d && !y && Date.now() - u.current < Ps || x(y);
11002
+ d && !y && Date.now() - u.current < Bs || x(y);
10930
11003
  },
10931
11004
  [d, x]
10932
11005
  ), m = v.useCallback(() => {
@@ -10941,15 +11014,15 @@ function Ul(o) {
10941
11014
  }, a)
10942
11015
  ) });
10943
11016
  }
10944
- const Bs = v.forwardRef((a, r) => {
11017
+ const _s = v.forwardRef((a, r) => {
10945
11018
  var o = a, { onPointerDown: e } = o, t = L(o, ["onPointerDown"]);
10946
11019
  const i = v.useContext(Kn), s = (l) => {
10947
11020
  e == null || e(l), !l.defaultPrevented && i != null && i.isTouchDevice && l.pointerType === "touch" && i.toggleByTouch();
10948
11021
  };
10949
11022
  return /* @__PURE__ */ n(Oe.Trigger, w({ ref: r, onPointerDown: s }, t));
10950
11023
  });
10951
- Bs.displayName = Oe.Trigger.displayName;
10952
- const Os = v.forwardRef(
11024
+ _s.displayName = Oe.Trigger.displayName;
11025
+ const Gs = v.forwardRef(
10953
11026
  (l, s) => {
10954
11027
  var c = l, {
10955
11028
  className: e,
@@ -11006,8 +11079,8 @@ const Os = v.forwardRef(
11006
11079
  ) });
11007
11080
  }
11008
11081
  );
11009
- Os.displayName = Oe.Content.displayName;
11010
- const _s = v.forwardRef(
11082
+ Gs.displayName = Oe.Content.displayName;
11083
+ const Ws = v.forwardRef(
11011
11084
  ({
11012
11085
  accept: e,
11013
11086
  multiple: t = !1,
@@ -11133,7 +11206,7 @@ const _s = v.forwardRef(
11133
11206
  ]
11134
11207
  }
11135
11208
  ),
11136
- x && /* @__PURE__ */ n("div", { className: "flex flex-col gap-3", children: /* @__PURE__ */ n(Xi, { value: u }) }),
11209
+ x && /* @__PURE__ */ n("div", { className: "flex flex-col gap-3", children: /* @__PURE__ */ n(es, { value: u }) }),
11137
11210
  d.length > 0 && /* @__PURE__ */ n("div", { className: "flex flex-col gap-2", children: d.map((B) => {
11138
11211
  const H = B.status === "error", re = H ? "FileErrorIcon" : "FileSuccessIcon";
11139
11212
  return /* @__PURE__ */ I(
@@ -11192,12 +11265,12 @@ const _s = v.forwardRef(
11192
11265
  );
11193
11266
  }
11194
11267
  );
11195
- _s.displayName = "Uploader";
11196
- function $l(t) {
11268
+ Ws.displayName = "Uploader";
11269
+ function Ql(t) {
11197
11270
  var e = L(t, []);
11198
11271
  return /* @__PURE__ */ n(st.Root, w({ "data-slot": "accordion" }, e));
11199
11272
  }
11200
- function Yl(r) {
11273
+ function Xl(r) {
11201
11274
  var a = r, {
11202
11275
  className: e
11203
11276
  } = a, t = L(a, [
@@ -11211,7 +11284,7 @@ function Yl(r) {
11211
11284
  }, t)
11212
11285
  );
11213
11286
  }
11214
- function Zl(i) {
11287
+ function ql(i) {
11215
11288
  var s = i, {
11216
11289
  className: e,
11217
11290
  children: t,
@@ -11258,7 +11331,7 @@ function Zl(i) {
11258
11331
  })
11259
11332
  ) });
11260
11333
  }
11261
- function Jl(a) {
11334
+ function ed(a) {
11262
11335
  var o = a, {
11263
11336
  className: e,
11264
11337
  children: t
@@ -11277,31 +11350,32 @@ function Jl(a) {
11277
11350
  );
11278
11351
  }
11279
11352
  export {
11280
- $l as Accordion,
11281
- Jl as AccordionContent,
11282
- Yl as AccordionItem,
11283
- Zl as AccordionTrigger,
11284
- xa as ActionsMenu,
11285
- ya as ActionsMenuItem,
11286
- wa as ActionsMenuLabel,
11287
- va as ActionsMenuSeparator,
11288
- Ia as Alert,
11289
- hl as Autocomplete,
11290
- Pa as Avatar,
11291
- Ba as AvatarFallback,
11292
- za as AvatarImage,
11293
- co as Banner,
11353
+ Ql as Accordion,
11354
+ ed as AccordionContent,
11355
+ Xl as AccordionItem,
11356
+ ql as AccordionTrigger,
11357
+ va as ActionsMenu,
11358
+ wa as ActionsMenuItem,
11359
+ Ia as ActionsMenuLabel,
11360
+ Na as ActionsMenuSeparator,
11361
+ ka as Alert,
11362
+ Ol as AppSidebar,
11363
+ xl as Autocomplete,
11364
+ Ba as Avatar,
11365
+ _a as AvatarFallback,
11366
+ Oa as AvatarImage,
11367
+ fo as Banner,
11294
11368
  Q as Button,
11295
11369
  ze as CARD_WIDTH,
11296
- Qa as CalendarDayCard,
11297
- xl as CalendarStrip,
11370
+ qa as CalendarDayCard,
11371
+ wl as CalendarStrip,
11298
11372
  Ke as Card,
11299
11373
  Nt as Carousel,
11300
- Yo as CarouselButtonsView,
11301
- Uo as CarouselContentView,
11374
+ Jo as CarouselButtonsView,
11375
+ Yo as CarouselContentView,
11302
11376
  Fn as CarouselDotsView,
11303
11377
  er as Checkbox,
11304
- ho as Combobox,
11378
+ bo as Combobox,
11305
11379
  mn as ComboboxActions,
11306
11380
  In as ComboboxBase,
11307
11381
  xn as ComboboxContainer,
@@ -11309,126 +11383,126 @@ export {
11309
11383
  vn as ComboboxItemRenderer,
11310
11384
  wn as ComboboxMenu,
11311
11385
  En as ComboboxMultiSelect,
11312
- xo as ComboboxPrimitiveProvider,
11386
+ vo as ComboboxPrimitiveProvider,
11313
11387
  lt as Command,
11314
11388
  Ct as CommandEmpty,
11315
11389
  ct as CommandGroup,
11316
- Ca as CommandInput,
11390
+ Sa as CommandInput,
11317
11391
  Ft as CommandItem,
11318
11392
  dt as CommandList,
11319
- ka as CommandSeparator,
11320
- Sa as CommandShortcut,
11393
+ Ta as CommandSeparator,
11394
+ Ma as CommandShortcut,
11321
11395
  _r as CountrySelectOption,
11322
- Tl as DatePicker,
11323
- Ml as DateRangePicker,
11324
- Il as DefaultCustomizableCarousel,
11325
- El as Dialog,
11396
+ Rl as DatePicker,
11397
+ Al as DateRangePicker,
11398
+ Sl as DefaultCustomizableCarousel,
11399
+ Dl as Dialog,
11326
11400
  se as DialogBase,
11327
- Al as DialogClose,
11328
- Ri as DialogContent,
11329
- Ai as DialogHeader,
11401
+ Ll as DialogClose,
11402
+ Di as DialogContent,
11403
+ Fi as DialogHeader,
11330
11404
  _n as DialogOverlay,
11331
- Ei as DialogPortal,
11332
- kl as DialogPrimitive,
11333
- Di as DialogTitle,
11334
- Rl as DialogTrigger,
11335
- Si as Divider,
11405
+ Ai as DialogPortal,
11406
+ Ml as DialogPrimitive,
11407
+ Li as DialogTitle,
11408
+ Fl as DialogTrigger,
11409
+ Mi as Divider,
11336
11410
  en as Dropdown,
11337
11411
  rn as DropdownContent,
11338
11412
  nn as DropdownItem,
11339
11413
  an as DropdownLabel,
11340
11414
  on as DropdownSeparator,
11341
11415
  tn as DropdownTrigger,
11342
- qa as EmblaCalendarCard,
11343
- bl as EmblaCalendarStrip,
11416
+ to as EmblaCalendarCard,
11417
+ vl as EmblaCalendarStrip,
11344
11418
  Mt as FlagComponent,
11345
- Cl as HeadlessCarousel,
11419
+ Tl as HeadlessCarousel,
11346
11420
  V as Icon,
11347
- fl as IconBanks,
11348
- ml as IconDocument,
11421
+ hl as IconBanks,
11422
+ gl as IconDocument,
11349
11423
  Fe as Input,
11350
- Ea as InputLink,
11424
+ Aa as InputLink,
11351
11425
  zn as InputNumber,
11352
- Ta as InputPassword,
11426
+ Ea as InputPassword,
11353
11427
  kt as InputSearch,
11354
- Ma as InputTitle,
11428
+ Ra as InputTitle,
11355
11429
  dr as Item,
11356
11430
  lr as ItemView,
11357
11431
  Bn as Link,
11358
11432
  cr as List,
11359
11433
  ln as MOBILE_BREAKPOINT,
11360
11434
  On as MaskedInput,
11361
- so as MultiSelect,
11362
- Dl as OtpInput,
11363
- Fl as Pagination,
11364
- Ll as PhoneInput,
11435
+ co as MultiSelect,
11436
+ Pl as OtpInput,
11437
+ zl as Pagination,
11438
+ Bl as PhoneInput,
11365
11439
  Wn as Pointline,
11366
11440
  $e as Popover,
11367
- pl as PopoverAnchor,
11441
+ bl as PopoverAnchor,
11368
11442
  We as PopoverContent,
11369
11443
  Ye as PopoverTrigger,
11370
- Xi as Progress,
11371
- es as Radio,
11372
- ts as RadioGroup,
11373
- Xa as SCROLL_WEEK_SIZE,
11374
- vl as ScheduleHeader,
11444
+ es as Progress,
11445
+ rs as Radio,
11446
+ ns as RadioGroup,
11447
+ eo as SCROLL_WEEK_SIZE,
11448
+ Il as ScheduleHeader,
11375
11449
  jn as SegmentItem,
11376
- ns as Segments,
11377
- io as Select,
11450
+ os as Segments,
11451
+ lo as Select,
11378
11452
  sr as SelectContent,
11379
- yl as SelectGroup,
11453
+ Nl as SelectGroup,
11380
11454
  or as SelectItem,
11381
- ao as SelectLabel,
11455
+ io as SelectLabel,
11382
11456
  cn as SelectScrollDownButton,
11383
11457
  dn as SelectScrollUpButton,
11384
- oo as SelectSeparator,
11458
+ so as SelectSeparator,
11385
11459
  ir as SelectTrigger,
11386
- no as SelectValue,
11387
- Nl as SimpleCarousel,
11388
- as as SingleSegment,
11460
+ oo as SelectValue,
11461
+ kl as SimpleCarousel,
11462
+ is as SingleSegment,
11389
11463
  Ve as Spinner,
11390
- Pl as Stepper,
11391
- ss as Switch,
11392
- zl as Table,
11393
- Bl as TableCards,
11394
- Ol as TableSettings,
11395
- _l as Tabs,
11396
- Ss as TabsContent,
11397
- Cs as TabsList,
11398
- ks as TabsTrigger,
11399
- Ms as Tag,
11400
- Rs as Textarea,
11401
- Gl as TimePicker,
11402
- Wl as TimeRangePicker,
11403
- Vl as Timeline,
11404
- Hl as Toaster,
11405
- Ul as Tooltip,
11406
- Os as TooltipContent,
11407
- Kl as TooltipProvider,
11408
- Bs as TooltipTrigger,
11464
+ _l as Stepper,
11465
+ ds as Switch,
11466
+ Gl as Table,
11467
+ Wl as TableCards,
11468
+ Vl as TableSettings,
11469
+ jl as Tabs,
11470
+ Ms as TabsContent,
11471
+ Ss as TabsList,
11472
+ Ts as TabsTrigger,
11473
+ Rs as Tag,
11474
+ Ds as Textarea,
11475
+ Hl as TimePicker,
11476
+ Kl as TimeRangePicker,
11477
+ Ul as Timeline,
11478
+ Yl as Toaster,
11479
+ Jl as Tooltip,
11480
+ Gs as TooltipContent,
11481
+ Zl as TooltipProvider,
11482
+ _s as TooltipTrigger,
11409
11483
  O as Typography,
11410
- _s as Uploader,
11484
+ Ws as Uploader,
11411
11485
  Xr as buttonVariants,
11412
- uo as checkboxVariants,
11413
- Ja as formatMonthGenitive,
11486
+ mo as checkboxVariants,
11487
+ Xa as formatMonthGenitive,
11414
11488
  Ut as formatMonthLong,
11415
11489
  sn as formatWeekdayShort,
11416
11490
  It as getThreeMonthsAround,
11417
- fo as indicatorVariants,
11418
- $i as normalizePhoneInput,
11419
- gl as parseDateString,
11420
- qi as radioVariants,
11421
- yo as spinnerVariants,
11491
+ po as indicatorVariants,
11492
+ Zi as normalizePhoneInput,
11493
+ yl as parseDateString,
11494
+ ts as radioVariants,
11495
+ wo as spinnerVariants,
11422
11496
  Re as startOfDay,
11423
- os as switchVariants,
11424
- Ts as tagVariants,
11425
- is as thumbVariants,
11426
- jl as toast,
11497
+ ss as switchVariants,
11498
+ Es as tagVariants,
11499
+ ls as thumbVariants,
11500
+ $l as toast,
11427
11501
  Rr as typographyVariants,
11428
11502
  Rn as useCarousel,
11429
11503
  zt as useCarouselContext,
11430
11504
  ft as useComboboxPrimitiveContext,
11431
- Sl as useDialogBaseCtx,
11432
- ro as useScheduleCalendar,
11433
- wl as useScheduleSync
11505
+ El as useDialogBaseCtx,
11506
+ ao as useScheduleCalendar,
11507
+ Cl as useScheduleSync
11434
11508
  };