@scbt-ecom/ui 0.9.1 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hybrid.js CHANGED
@@ -1,11 +1,11 @@
1
1
  var Ve = Object.defineProperty;
2
2
  var Qe = (o, r, e) => r in o ? Ve(o, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[r] = e;
3
3
  var s = (o, r, e) => Qe(o, typeof r != "symbol" ? r + "" : r, e);
4
- import { j as i, c as d, H as A, a as D, I as T, L as $e, z as _, g as xe, u as be, P as Ge } from "./utils-tailwind-D1D1tL_o.js";
5
- import { B as to, N as ro, i as no } from "./utils-tailwind-D1D1tL_o.js";
4
+ import { j as i, c as d, H as W, a as T, I as N, L as $e, z as D, g as xe, u as be, P as Ge } from "./utils-tailwind-D1D1tL_o.js";
5
+ import { B as ro, N as no, i as oo } from "./utils-tailwind-D1D1tL_o.js";
6
6
  import * as z from "react";
7
7
  import { forwardRef as ye } from "react";
8
- const Mn = (o, r) => JSON.stringify(o) === JSON.stringify(r), In = (o) => o.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()).join("-"), we = 6048e5, Xe = 6e4, Ue = 36e5, Ze = 1e3, se = Symbol.for("constructDateFrom");
8
+ const In = (o, r) => JSON.stringify(o) === JSON.stringify(r), Mn = (o) => o.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()).join("-"), we = 6048e5, Xe = 6e4, Ue = 36e5, Ze = 1e3, se = Symbol.for("constructDateFrom");
9
9
  function v(o, r) {
10
10
  return typeof o == "function" ? o(r) : o && typeof o == "object" && se in o ? o[se](r) : o instanceof Date ? new o.constructor(r) : new Date(r);
11
11
  }
@@ -25,15 +25,15 @@ function O(o, r) {
25
25
  const e = H(), t = (r == null ? void 0 : r.weekStartsOn) ?? ((f = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : f.weekStartsOn) ?? e.weekStartsOn ?? ((b = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : b.weekStartsOn) ?? 0, n = j(o, r == null ? void 0 : r.in), a = n.getDay(), l = (a < t ? 7 : 0) + a - t;
26
26
  return n.setDate(n.getDate() - l), n.setHours(0, 0, 0, 0), n;
27
27
  }
28
- function W(o, r) {
28
+ function A(o, r) {
29
29
  return O(o, { ...r, weekStartsOn: 1 });
30
30
  }
31
31
  function Ke(o, r) {
32
32
  const e = j(o, r == null ? void 0 : r.in), t = e.getFullYear(), n = v(e, 0);
33
33
  n.setFullYear(t + 1, 0, 4), n.setHours(0, 0, 0, 0);
34
- const a = W(n), l = v(e, 0);
34
+ const a = A(n), l = v(e, 0);
35
35
  l.setFullYear(t, 0, 4), l.setHours(0, 0, 0, 0);
36
- const u = W(l);
36
+ const u = A(l);
37
37
  return e.getTime() >= a.getTime() ? t + 1 : e.getTime() >= u.getTime() ? t : t - 1;
38
38
  }
39
39
  function ke(o) {
@@ -52,7 +52,7 @@ function ke(o) {
52
52
  }
53
53
  function Se(o, r) {
54
54
  const e = Ke(o, r), t = v(o, 0);
55
- return t.setFullYear(e, 0, 4), t.setHours(0, 0, 0, 0), W(t);
55
+ return t.setFullYear(e, 0, 4), t.setHours(0, 0, 0, 0), A(t);
56
56
  }
57
57
  function et(o) {
58
58
  return o instanceof Date || typeof o == "object" && Object.prototype.toString.call(o) === "[object Date]";
@@ -420,18 +420,18 @@ const kt = /^(\d+)(th|st|nd|rd)?/i, vt = /\d+/i, jt = {
420
420
  /^n/i,
421
421
  /^d/i
422
422
  ]
423
- }, Mt = {
423
+ }, It = {
424
424
  narrow: /^[smtwf]/i,
425
425
  short: /^(su|mo|tu|we|th|fr|sa)/i,
426
426
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
427
427
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
428
- }, It = {
428
+ }, Mt = {
429
429
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
430
430
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
431
- }, Et = {
431
+ }, Ct = {
432
432
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
433
433
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
434
- }, Ct = {
434
+ }, Et = {
435
435
  any: {
436
436
  am: /^a/i,
437
437
  pm: /^p/i,
@@ -468,15 +468,15 @@ const kt = /^(\d+)(th|st|nd|rd)?/i, vt = /\d+/i, jt = {
468
468
  defaultParseWidth: "any"
469
469
  }),
470
470
  day: B({
471
- matchPatterns: Mt,
471
+ matchPatterns: It,
472
472
  defaultMatchWidth: "wide",
473
- parsePatterns: It,
473
+ parsePatterns: Mt,
474
474
  defaultParseWidth: "any"
475
475
  }),
476
476
  dayPeriod: B({
477
- matchPatterns: Et,
477
+ matchPatterns: Ct,
478
478
  defaultMatchWidth: "any",
479
- parsePatterns: Ct,
479
+ parsePatterns: Et,
480
480
  defaultParseWidth: "any"
481
481
  })
482
482
  }, Ft = {
@@ -492,25 +492,25 @@ const kt = /^(\d+)(th|st|nd|rd)?/i, vt = /\d+/i, jt = {
492
492
  }
493
493
  };
494
494
  function Yt(o, r) {
495
- const e = j(o, r == null ? void 0 : r.in), t = +W(e) - +Se(e);
495
+ const e = j(o, r == null ? void 0 : r.in), t = +A(e) - +Se(e);
496
496
  return Math.round(t / we) + 1;
497
497
  }
498
498
  function ve(o, r) {
499
- var b, c, N, F;
500
- const e = j(o, r == null ? void 0 : r.in), t = e.getFullYear(), n = H(), a = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((c = (b = r == null ? void 0 : r.locale) == null ? void 0 : b.options) == null ? void 0 : c.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((F = (N = n.locale) == null ? void 0 : N.options) == null ? void 0 : F.firstWeekContainsDate) ?? 1, l = v((r == null ? void 0 : r.in) || o, 0);
499
+ var b, c, P, F;
500
+ const e = j(o, r == null ? void 0 : r.in), t = e.getFullYear(), n = H(), a = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((c = (b = r == null ? void 0 : r.locale) == null ? void 0 : b.options) == null ? void 0 : c.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((F = (P = n.locale) == null ? void 0 : P.options) == null ? void 0 : F.firstWeekContainsDate) ?? 1, l = v((r == null ? void 0 : r.in) || o, 0);
501
501
  l.setFullYear(t + 1, 0, a), l.setHours(0, 0, 0, 0);
502
502
  const u = O(l, r), f = v((r == null ? void 0 : r.in) || o, 0);
503
503
  f.setFullYear(t, 0, a), f.setHours(0, 0, 0, 0);
504
504
  const m = O(f, r);
505
505
  return +e >= +u ? t + 1 : +e >= +m ? t : t - 1;
506
506
  }
507
- function Wt(o, r) {
507
+ function At(o, r) {
508
508
  var u, f, m, b;
509
509
  const e = H(), t = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((f = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((b = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, n = ve(o, r), a = v((r == null ? void 0 : r.in) || o, 0);
510
510
  return a.setFullYear(n, 0, t), a.setHours(0, 0, 0, 0), O(a, r);
511
511
  }
512
- function At(o, r) {
513
- const e = j(o, r == null ? void 0 : r.in), t = +O(e, r) - +Wt(e, r);
512
+ function Wt(o, r) {
513
+ const e = j(o, r == null ? void 0 : r.in), t = +O(e, r) - +At(e, r);
514
514
  return Math.round(t / we) + 1;
515
515
  }
516
516
  const ue = (o, r) => {
@@ -706,7 +706,7 @@ const g = {
706
706
  // 0 to 999, -0 to -999
707
707
  fourDigitsSigned: /^-?\d{1,4}/
708
708
  // 0 to 9999, -0 to -9999
709
- }, M = {
709
+ }, I = {
710
710
  basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
711
711
  basic: /^([+-])(\d{2})(\d{2})|Z/,
712
712
  basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
@@ -726,7 +726,7 @@ function x(o, r) {
726
726
  rest: r.slice(e[0].length)
727
727
  } : null;
728
728
  }
729
- function I(o, r) {
729
+ function M(o, r) {
730
730
  const e = r.match(o);
731
731
  if (!e)
732
732
  return null;
@@ -930,7 +930,7 @@ class tr extends p {
930
930
  }
931
931
  set(e, t, n) {
932
932
  const a = v(e, 0);
933
- return a.setFullYear(n, 0, 4), a.setHours(0, 0, 0, 0), W(a);
933
+ return a.setFullYear(n, 0, 4), a.setHours(0, 0, 0, 0), A(a);
934
934
  }
935
935
  }
936
936
  class rr extends p {
@@ -1195,7 +1195,7 @@ class ir extends p {
1195
1195
  }
1196
1196
  }
1197
1197
  function dr(o, r, e) {
1198
- const t = j(o, e == null ? void 0 : e.in), n = At(t, e) - r;
1198
+ const t = j(o, e == null ? void 0 : e.in), n = Wt(t, e) - r;
1199
1199
  return t.setDate(t.getDate() - n * 7), j(t, e == null ? void 0 : e.in);
1200
1200
  }
1201
1201
  class lr extends p {
@@ -1274,7 +1274,7 @@ class ur extends p {
1274
1274
  return t >= 1 && t <= 53;
1275
1275
  }
1276
1276
  set(e, t, n) {
1277
- return W(sr(e, n));
1277
+ return A(sr(e, n));
1278
1278
  }
1279
1279
  }
1280
1280
  const cr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], fr = [
@@ -1372,8 +1372,8 @@ class hr extends p {
1372
1372
  }
1373
1373
  }
1374
1374
  function ee(o, r, e) {
1375
- var c, N, F, E;
1376
- const t = H(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((N = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : N.weekStartsOn) ?? t.weekStartsOn ?? ((E = (F = t.locale) == null ? void 0 : F.options) == null ? void 0 : E.weekStartsOn) ?? 0, a = j(o, e == null ? void 0 : e.in), l = a.getDay(), f = (r % 7 + 7) % 7, m = 7 - n, b = r < 0 || r > 6 ? r - (l + m) % 7 : (f + m) % 7 - (l + m) % 7;
1375
+ var c, P, F, C;
1376
+ const t = H(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((P = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : P.weekStartsOn) ?? t.weekStartsOn ?? ((C = (F = t.locale) == null ? void 0 : F.options) == null ? void 0 : C.weekStartsOn) ?? 0, a = j(o, e == null ? void 0 : e.in), l = a.getDay(), f = (r % 7 + 7) % 7, m = 7 - n, b = r < 0 || r > 6 ? r - (l + m) % 7 : (f + m) % 7 - (l + m) % 7;
1377
1377
  return ge(a, b, e);
1378
1378
  }
1379
1379
  class pr extends p {
@@ -1900,7 +1900,7 @@ class _r extends p {
1900
1900
  return e.setSeconds(n, 0), e;
1901
1901
  }
1902
1902
  }
1903
- class Mr extends p {
1903
+ class Ir extends p {
1904
1904
  constructor() {
1905
1905
  super(...arguments);
1906
1906
  s(this, "priority", 30);
@@ -1914,7 +1914,7 @@ class Mr extends p {
1914
1914
  return e.setMilliseconds(n), e;
1915
1915
  }
1916
1916
  }
1917
- class Ir extends p {
1917
+ class Mr extends p {
1918
1918
  constructor() {
1919
1919
  super(...arguments);
1920
1920
  s(this, "priority", 10);
@@ -1923,25 +1923,25 @@ class Ir extends p {
1923
1923
  parse(e, t) {
1924
1924
  switch (t) {
1925
1925
  case "X":
1926
- return I(
1927
- M.basicOptionalMinutes,
1926
+ return M(
1927
+ I.basicOptionalMinutes,
1928
1928
  e
1929
1929
  );
1930
1930
  case "XX":
1931
- return I(M.basic, e);
1931
+ return M(I.basic, e);
1932
1932
  case "XXXX":
1933
- return I(
1934
- M.basicOptionalSeconds,
1933
+ return M(
1934
+ I.basicOptionalSeconds,
1935
1935
  e
1936
1936
  );
1937
1937
  case "XXXXX":
1938
- return I(
1939
- M.extendedOptionalSeconds,
1938
+ return M(
1939
+ I.extendedOptionalSeconds,
1940
1940
  e
1941
1941
  );
1942
1942
  case "XXX":
1943
1943
  default:
1944
- return I(M.extended, e);
1944
+ return M(I.extended, e);
1945
1945
  }
1946
1946
  }
1947
1947
  set(e, t, n) {
@@ -1951,7 +1951,7 @@ class Ir extends p {
1951
1951
  );
1952
1952
  }
1953
1953
  }
1954
- class Er extends p {
1954
+ class Cr extends p {
1955
1955
  constructor() {
1956
1956
  super(...arguments);
1957
1957
  s(this, "priority", 10);
@@ -1960,25 +1960,25 @@ class Er extends p {
1960
1960
  parse(e, t) {
1961
1961
  switch (t) {
1962
1962
  case "x":
1963
- return I(
1964
- M.basicOptionalMinutes,
1963
+ return M(
1964
+ I.basicOptionalMinutes,
1965
1965
  e
1966
1966
  );
1967
1967
  case "xx":
1968
- return I(M.basic, e);
1968
+ return M(I.basic, e);
1969
1969
  case "xxxx":
1970
- return I(
1971
- M.basicOptionalSeconds,
1970
+ return M(
1971
+ I.basicOptionalSeconds,
1972
1972
  e
1973
1973
  );
1974
1974
  case "xxxxx":
1975
- return I(
1976
- M.extendedOptionalSeconds,
1975
+ return M(
1976
+ I.extendedOptionalSeconds,
1977
1977
  e
1978
1978
  );
1979
1979
  case "xxx":
1980
1980
  default:
1981
- return I(M.extended, e);
1981
+ return M(I.extended, e);
1982
1982
  }
1983
1983
  }
1984
1984
  set(e, t, n) {
@@ -1988,7 +1988,7 @@ class Er extends p {
1988
1988
  );
1989
1989
  }
1990
1990
  }
1991
- class Cr extends p {
1991
+ class Er extends p {
1992
1992
  constructor() {
1993
1993
  super(...arguments);
1994
1994
  s(this, "priority", 40);
@@ -2041,12 +2041,12 @@ const Fr = {
2041
2041
  k: new Nr(),
2042
2042
  m: new Pr(),
2043
2043
  s: new _r(),
2044
- S: new Mr(),
2045
- X: new Ir(),
2046
- x: new Er(),
2047
- t: new Cr(),
2044
+ S: new Ir(),
2045
+ X: new Mr(),
2046
+ x: new Cr(),
2047
+ t: new Er(),
2048
2048
  T: new Or()
2049
- }, Yr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Wr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ar = /^'([^]*?)'?$/, Lr = /''/g, Br = /\S/, Hr = /[a-zA-Z]/;
2049
+ }, Yr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ar = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Wr = /^'([^]*?)'?$/, Lr = /''/g, Br = /\S/, Hr = /[a-zA-Z]/;
2050
2050
  function _e(o, r, e, t) {
2051
2051
  var re, ne, oe, ae;
2052
2052
  const n = () => v(e, NaN), a = Qt(), l = a.locale ?? Ft, u = a.firstWeekContainsDate ?? ((ne = (re = a.locale) == null ? void 0 : re.options) == null ? void 0 : ne.firstWeekContainsDate) ?? 1, f = a.weekStartsOn ?? ((ae = (oe = a.locale) == null ? void 0 : oe.options) == null ? void 0 : ae.weekStartsOn) ?? 0;
@@ -2056,33 +2056,33 @@ function _e(o, r, e, t) {
2056
2056
  firstWeekContainsDate: u,
2057
2057
  weekStartsOn: f,
2058
2058
  locale: l
2059
- }, b = [new Jt(t == null ? void 0 : t.in, e)], c = r.match(Wr).map((h) => {
2059
+ }, b = [new Jt(t == null ? void 0 : t.in, e)], c = r.match(Ar).map((h) => {
2060
2060
  const y = h[0];
2061
2061
  if (y in ce) {
2062
- const P = ce[y];
2063
- return P(h, l.formatLong);
2062
+ const _ = ce[y];
2063
+ return _(h, l.formatLong);
2064
2064
  }
2065
2065
  return h;
2066
- }).join("").match(Yr), N = [];
2066
+ }).join("").match(Yr), P = [];
2067
2067
  for (let h of c) {
2068
2068
  qt(h) && fe(h, r, o), zt(h) && fe(h, r, o);
2069
- const y = h[0], P = Fr[y];
2070
- if (P) {
2071
- const { incompatibleTokens: ie } = P;
2069
+ const y = h[0], _ = Fr[y];
2070
+ if (_) {
2071
+ const { incompatibleTokens: ie } = _;
2072
2072
  if (Array.isArray(ie)) {
2073
- const de = N.find(
2073
+ const de = P.find(
2074
2074
  (le) => ie.includes(le.token) || le.token === y
2075
2075
  );
2076
2076
  if (de)
2077
2077
  throw new RangeError(
2078
2078
  `The format string mustn't contain \`${de.fullToken}\` and \`${h}\` at the same time`
2079
2079
  );
2080
- } else if (P.incompatibleTokens === "*" && N.length > 0)
2080
+ } else if (_.incompatibleTokens === "*" && P.length > 0)
2081
2081
  throw new RangeError(
2082
2082
  `The format string mustn't contain \`${h}\` and any other token at the same time`
2083
2083
  );
2084
- N.push({ token: y, fullToken: h });
2085
- const U = P.run(
2084
+ P.push({ token: y, fullToken: h });
2085
+ const U = _.run(
2086
2086
  o,
2087
2087
  h,
2088
2088
  l.match,
@@ -2104,31 +2104,31 @@ function _e(o, r, e, t) {
2104
2104
  }
2105
2105
  if (o.length > 0 && Br.test(o))
2106
2106
  return n();
2107
- const F = b.map((h) => h.priority).sort((h, y) => y - h).filter((h, y, P) => P.indexOf(h) === y).map(
2108
- (h) => b.filter((y) => y.priority === h).sort((y, P) => P.subPriority - y.subPriority)
2107
+ const F = b.map((h) => h.priority).sort((h, y) => y - h).filter((h, y, _) => _.indexOf(h) === y).map(
2108
+ (h) => b.filter((y) => y.priority === h).sort((y, _) => _.subPriority - y.subPriority)
2109
2109
  ).map((h) => h[0]);
2110
- let E = j(e, t == null ? void 0 : t.in);
2111
- if (isNaN(+E)) return n();
2110
+ let C = j(e, t == null ? void 0 : t.in);
2111
+ if (isNaN(+C)) return n();
2112
2112
  const te = {};
2113
2113
  for (const h of F) {
2114
- if (!h.validate(E, m))
2114
+ if (!h.validate(C, m))
2115
2115
  return n();
2116
- const y = h.set(E, te, m);
2117
- Array.isArray(y) ? (E = y[0], Object.assign(te, y[1])) : E = y;
2116
+ const y = h.set(C, te, m);
2117
+ Array.isArray(y) ? (C = y[0], Object.assign(te, y[1])) : C = y;
2118
2118
  }
2119
- return E;
2119
+ return C;
2120
2120
  }
2121
2121
  function Rr(o) {
2122
- return o.match(Ar)[1].replace(Lr, "'");
2122
+ return o.match(Wr)[1].replace(Lr, "'");
2123
2123
  }
2124
- const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = ({ children: o, className: r, ...e }) => /* @__PURE__ */ i.jsx("section", { className: d("pb-16 desktop:pb-20", r), ...e, children: o }), Y = ({ children: o, offset: r = !0, className: e, ...t }) => /* @__PURE__ */ i.jsx("div", { className: d("m-auto w-full max-w-[636px] desktop:max-w-[1140px]", { "mobile:px-4": r }, e), ...t, children: o }), zr = D("grid", {
2124
+ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = ({ children: o, className: r, ...e }) => /* @__PURE__ */ i.jsx("section", { className: d("pb-16 desktop:pb-20", r), ...e, children: o }), Y = ({ children: o, offset: r = !0, className: e, ...t }) => /* @__PURE__ */ i.jsx("div", { className: d("m-auto w-full max-w-[636px] desktop:max-w-[1140px]", { "mobile:px-4": r }, e), ...t, children: o }), zr = T("grid", {
2125
2125
  variants: {
2126
2126
  columnCount: {
2127
2127
  twoColumns: "grid-cols-[repeat(2,minmax(172px,_1fr))] desktop:grid-cols-[repeat(2,minmax(172px,_1fr))]",
2128
2128
  threeColumns: "grid-cols-[repeat(3,minmax(172px,_1fr))] desktop:grid-cols-[repeat(3,minmax(312px,_1fr))]"
2129
2129
  }
2130
2130
  }
2131
- }), qr = D("grid", {
2131
+ }), qr = T("grid", {
2132
2132
  variants: {
2133
2133
  columnCount: {
2134
2134
  twoColumns: "",
@@ -2161,7 +2161,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2161
2161
  class: "grid-cols-[repeat(3,_auto)]"
2162
2162
  }
2163
2163
  ]
2164
- }), Vr = D("grid", {
2164
+ }), Vr = T("grid", {
2165
2165
  variants: {
2166
2166
  columnCount: {
2167
2167
  twoColumns: "",
@@ -2174,7 +2174,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2174
2174
  class: "overflow-x-scroll max-w-[368px] mb-1"
2175
2175
  }
2176
2176
  ]
2177
- }), Qr = D("border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l mob-body-regular-l", {
2177
+ }), Qr = T("border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l mob-body-regular-l", {
2178
2178
  variants: {
2179
2179
  columnCount: {
2180
2180
  twoColumns: "",
@@ -2192,7 +2192,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2192
2192
  class: "border-transparent border-0 p-0"
2193
2193
  }
2194
2194
  ]
2195
- }), Cn = ({
2195
+ }), En = ({
2196
2196
  headTitle: o,
2197
2197
  tableRows: r,
2198
2198
  tableHead: e,
@@ -2202,7 +2202,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2202
2202
  }) => {
2203
2203
  const l = e && e.length > 0 ? "exist" : "notExist";
2204
2204
  return /* @__PURE__ */ i.jsx(Y, { children: /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col", a == null ? void 0 : a.tableRootWrapper), children: [
2205
- /* @__PURE__ */ i.jsx(A, { as: "h3", className: d("mob-title-bold-m pb-6 desktop:desk-title-bold-s", a == null ? void 0 : a.tableHeading), children: o }),
2205
+ /* @__PURE__ */ i.jsx(W, { as: "h3", className: d("mob-title-bold-m pb-6 desktop:desk-title-bold-s", a == null ? void 0 : a.tableHeading), children: o }),
2206
2206
  /* @__PURE__ */ i.jsxs("div", { className: d(Vr({ columnCount: n }), a == null ? void 0 : a.tableBody), children: [
2207
2207
  /* @__PURE__ */ i.jsx("ul", { className: d(zr({ columnCount: n }), a == null ? void 0 : a.tableTitlesContainer), children: e == null ? void 0 : e.map((u) => /* @__PURE__ */ i.jsx(
2208
2208
  "li",
@@ -2241,7 +2241,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2241
2241
  }
2242
2242
  ),
2243
2243
  /* @__PURE__ */ i.jsx(
2244
- T,
2244
+ N,
2245
2245
  {
2246
2246
  name: "arrows/arrowRight",
2247
2247
  className: d("size-4 text-icon-primary-default", { "!text-icon-disabled": r == null ? void 0 : r.isDisabled })
@@ -2260,7 +2260,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2260
2260
  default:
2261
2261
  return o;
2262
2262
  }
2263
- }, Gr = D(
2263
+ }, Gr = T(
2264
2264
  "relative flex items-center justify-center gap-4 cursor-pointer rounded-sm w-max px-4 outline-offset-4 outline-transparent outline-2 desk-body-regular-l transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
2265
2265
  {
2266
2266
  variants: {
@@ -2332,10 +2332,10 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2332
2332
  isFull: m = !1,
2333
2333
  textFormat: b,
2334
2334
  ...c
2335
- }, N) => /* @__PURE__ */ i.jsx(
2335
+ }, P) => /* @__PURE__ */ i.jsx(
2336
2336
  "button",
2337
2337
  {
2338
- ref: N,
2338
+ ref: P,
2339
2339
  type: n,
2340
2340
  disabled: u || f,
2341
2341
  className: d(Gr({ intent: o, size: r, textFormat: b, isLoading: f, isFull: m }), e),
@@ -2347,7 +2347,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2347
2347
  ] })
2348
2348
  }
2349
2349
  )
2350
- ), Xr = D(
2350
+ ), Xr = T(
2351
2351
  "group flex items-center justify-center cursor-pointer rounded-full outline-offset-[3px] outline-transparent outline-2 transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
2352
2352
  {
2353
2353
  variants: {
@@ -2369,7 +2369,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2369
2369
  }
2370
2370
  ), Fn = ye(
2371
2371
  ({ size: o, intent: r, children: e, classes: t, type: n = "button", ...a }, l) => /* @__PURE__ */ i.jsx("button", { ref: l, type: n, className: d(Xr({ intent: r, size: o }), t == null ? void 0 : t.button), ...a, children: /* @__PURE__ */ i.jsx("span", { className: d(t == null ? void 0 : t.icon), children: e }) })
2372
- ), Ur = D(
2372
+ ), Ur = T(
2373
2373
  "group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
2374
2374
  {
2375
2375
  variants: {
@@ -2397,7 +2397,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2397
2397
  size: "sm"
2398
2398
  }
2399
2399
  }
2400
- ), Zr = D("size-6", {
2400
+ ), Zr = T("size-6", {
2401
2401
  variants: {
2402
2402
  intent: {
2403
2403
  blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
@@ -2423,8 +2423,8 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2423
2423
  ...u
2424
2424
  }) => /* @__PURE__ */ i.jsxs(o, { className: d(Ur({ intent: r, withIcon: t, disabled: n, size: a })), ...u, children: [
2425
2425
  e,
2426
- t && /* @__PURE__ */ i.jsx(T, { name: l, className: d(Zr({ intent: r, disabled: n })) })
2427
- ] }), Jr = D("size-8 transition-colors", {
2426
+ t && /* @__PURE__ */ i.jsx(N, { name: l, className: d(Zr({ intent: r, disabled: n })) })
2427
+ ] }), Jr = T("size-8 transition-colors", {
2428
2428
  variants: {
2429
2429
  intent: {
2430
2430
  outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
@@ -2437,7 +2437,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2437
2437
  }), Kr = {
2438
2438
  filled: "files/documentFilled",
2439
2439
  outline: "files/documentOutline"
2440
- }, Wn = ({ text: o, size: r, sizeType: e, href: t, intent: n = "outline" }) => /* @__PURE__ */ i.jsxs(
2440
+ }, An = ({ text: o, size: r, sizeType: e, href: t, intent: n = "outline" }) => /* @__PURE__ */ i.jsxs(
2441
2441
  "a",
2442
2442
  {
2443
2443
  href: t,
@@ -2448,7 +2448,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2448
2448
  "group flex cursor-pointer items-center gap-2 rounded-sm p-1 outline outline-2 outline-transparent transition-colors focus-within:outline-primary-focus desktop:max-w-[592px]"
2449
2449
  ),
2450
2450
  children: [
2451
- /* @__PURE__ */ i.jsx(T, { name: Kr[n], className: d(Jr({ intent: n })) }),
2451
+ /* @__PURE__ */ i.jsx(N, { name: Kr[n], className: d(Jr({ intent: n })) }),
2452
2452
  /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-1 flex-col"), children: [
2453
2453
  /* @__PURE__ */ i.jsx("p", { className: d("desk-body-medium-l text-color-dark"), children: o }),
2454
2454
  /* @__PURE__ */ i.jsxs("div", { className: d("desk-body-regular-m text-color-disabled"), children: [
@@ -2459,7 +2459,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2459
2459
  ] })
2460
2460
  ]
2461
2461
  }
2462
- ), Ie = ({ phone: o, text: r, classes: e }) => /* @__PURE__ */ i.jsxs("div", { className: d("flex w-max flex-col", e == null ? void 0 : e.wrapper), children: [
2462
+ ), Me = ({ phone: o, text: r, classes: e }) => /* @__PURE__ */ i.jsxs("div", { className: d("flex w-max flex-col", e == null ? void 0 : e.wrapper), children: [
2463
2463
  /* @__PURE__ */ i.jsx(
2464
2464
  "a",
2465
2465
  {
@@ -2469,7 +2469,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2469
2469
  }
2470
2470
  ),
2471
2471
  /* @__PURE__ */ i.jsx("p", { className: d("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.text), children: r })
2472
- ] }), An = ({ topContent: o, bottomContent: r, progress: e, maxPercent: t = 100, classes: n }) => /* @__PURE__ */ i.jsxs("div", { className: d("flex w-full flex-col", n == null ? void 0 : n.wrapper), children: [
2472
+ ] }), Wn = ({ topContent: o, bottomContent: r, progress: e, maxPercent: t = 100, classes: n }) => /* @__PURE__ */ i.jsxs("div", { className: d("flex w-full flex-col", n == null ? void 0 : n.wrapper), children: [
2473
2473
  o && /* @__PURE__ */ i.jsx("div", { className: d("mb-2 flex justify-between gap-5", n == null ? void 0 : n.topContent), children: o }),
2474
2474
  /* @__PURE__ */ i.jsxs("div", { className: d("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", n == null ? void 0 : n.progressBar), children: [
2475
2475
  /* @__PURE__ */ i.jsx(
@@ -2492,12 +2492,12 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2492
2492
  ] }),
2493
2493
  r && /* @__PURE__ */ i.jsx("div", { className: d("mt-2 flex justify-between gap-5", n == null ? void 0 : n.bottomContent), children: r })
2494
2494
  ] }), Ln = ({ className: o }) => /* @__PURE__ */ i.jsx("div", { className: d("skeleton-apply h-full w-full", o) }), Sr = {
2495
- main: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoMain" }),
2496
- white: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoWhite" }),
2497
- gray: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoGray" }),
2498
- black: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoBlack" }),
2499
- business: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoBusiness" }),
2500
- insurance: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoInsurance" })
2495
+ main: /* @__PURE__ */ i.jsx(N, { name: "brandLogos/logoMain" }),
2496
+ white: /* @__PURE__ */ i.jsx(N, { name: "brandLogos/logoWhite" }),
2497
+ gray: /* @__PURE__ */ i.jsx(N, { name: "brandLogos/logoGray" }),
2498
+ black: /* @__PURE__ */ i.jsx(N, { name: "brandLogos/logoBlack" }),
2499
+ business: /* @__PURE__ */ i.jsx(N, { name: "brandLogos/logoBusiness" }),
2500
+ insurance: /* @__PURE__ */ i.jsx(N, { name: "brandLogos/logoInsurance" })
2501
2501
  }, en = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, me = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, tn = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, q = {
2502
2502
  REQUIRED: "Поле обязательно к заполнению",
2503
2503
  MIN_LENGTH: "Минимальная длина символов должна быть не менее",
@@ -2516,38 +2516,47 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2516
2516
  name: t,
2517
2517
  patronymic: a
2518
2518
  };
2519
- }, Bn = _.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((o, r) => {
2519
+ }, Bn = D.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((o, r) => {
2520
2520
  en.test(o) || r.addIssue({
2521
- code: _.ZodIssueCode.custom,
2521
+ code: D.ZodIssueCode.custom,
2522
2522
  message: "Должна быть только кириллица"
2523
2523
  });
2524
2524
  const { surname: e, name: t, patronymic: n } = rn(o);
2525
2525
  (!e || !t) && r.addIssue({
2526
- code: _.ZodIssueCode.custom,
2526
+ code: D.ZodIssueCode.custom,
2527
2527
  message: "Введите имя и фамилию"
2528
2528
  }), me.test(t) || r.addIssue({
2529
- code: _.ZodIssueCode.custom,
2529
+ code: D.ZodIssueCode.custom,
2530
2530
  message: "Неверно введено имя"
2531
2531
  }), me.test(e) || r.addIssue({
2532
- code: _.ZodIssueCode.custom,
2532
+ code: D.ZodIssueCode.custom,
2533
2533
  message: "Неверно введена фамилия"
2534
2534
  }), n && (tn.test(n) || r.addIssue({
2535
- code: _.ZodIssueCode.custom,
2535
+ code: D.ZodIssueCode.custom,
2536
2536
  message: "Неверно введено отчество"
2537
2537
  }));
2538
- }), Hn = _.string().length(10, { message: q.INVALID_DATE }).superRefine((o, r) => {
2538
+ }), Hn = D.string().length(10, { message: q.INVALID_DATE }).superRefine((o, r) => {
2539
2539
  const [e, t, n] = (o == null ? void 0 : o.split(".")) ?? "", a = _e(`${e}/${t}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
2540
2540
  +n <= 1950 && r.addIssue({
2541
- code: _.ZodIssueCode.custom,
2541
+ code: D.ZodIssueCode.custom,
2542
2542
  message: q.INVALID_DATE
2543
2543
  }), tt(a) || r.addIssue({
2544
- code: _.ZodIssueCode.custom,
2544
+ code: D.ZodIssueCode.custom,
2545
2545
  message: q.INVALID_DATE
2546
2546
  }), (/* @__PURE__ */ new Date()).getTime() < new Date(a).getTime() && r.addIssue({
2547
- code: _.ZodIssueCode.custom,
2547
+ code: D.ZodIssueCode.custom,
2548
2548
  message: q.FUTURE_DATE_NOT_ALLOWED
2549
2549
  });
2550
- }), R = {
2550
+ }), Rn = D.string().superRefine((o, r) => {
2551
+ const e = o.charAt(0);
2552
+ ["3", "4", "5", "6", "9"].includes(e) || r.addIssue({
2553
+ code: D.ZodIssueCode.custom,
2554
+ message: "Код города/оператора должен начинаться с цифры 3, 4, 5, 6 или 9"
2555
+ }), o.length !== 10 && r.addIssue({
2556
+ code: D.ZodIssueCode.custom,
2557
+ message: "Введите номер телефона полностью"
2558
+ });
2559
+ }).transform((o) => `7${o}`), R = {
2551
2560
  transparent: "transparent",
2552
2561
  current: "currentColor",
2553
2562
  inherit: "inherit",
@@ -2581,7 +2590,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2581
2590
  "purple-hover": "#52399d",
2582
2591
  overlay: "#0000004d",
2583
2592
  ...R
2584
- }, Ee = {
2593
+ }, Ce = {
2585
2594
  dark: "#292929",
2586
2595
  disabled: "#a9b6c5",
2587
2596
  footer: "#c3c3c3",
@@ -2596,7 +2605,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2596
2605
  "primary-disabled": "#809bc7",
2597
2606
  "blue-grey-600": "#94a4b7",
2598
2607
  ...R
2599
- }, Ce = {
2608
+ }, Ee = {
2600
2609
  "barvcray-200": "#ebeef4",
2601
2610
  "barvcray-300": "#dde1e8",
2602
2611
  "greymint-200": "#deecee",
@@ -2610,7 +2619,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2610
2619
  "skyblue-200": "#e7f3ff",
2611
2620
  "skyblue-300": "#d9edff",
2612
2621
  ...R
2613
- }, C = {
2622
+ }, E = {
2614
2623
  "accent-default": "#2477ff",
2615
2624
  "accent-hover": "#0053da",
2616
2625
  "blue-grey-100": "#f3f4f7",
@@ -2688,7 +2697,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2688
2697
  28: "28px",
2689
2698
  32: "32px",
2690
2699
  40: "40px"
2691
- }, We = {
2700
+ }, Ae = {
2692
2701
  16: "16px",
2693
2702
  20: "20px",
2694
2703
  22: "22px",
@@ -2697,7 +2706,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2697
2706
  32: "32px",
2698
2707
  40: "40px",
2699
2708
  48: "48px"
2700
- }, Ae = {
2709
+ }, We = {
2701
2710
  /* # Headline */
2702
2711
  ".mob-headline-bold-m": {
2703
2712
  "@apply font-bold text-28 leading-32": ""
@@ -2756,7 +2765,7 @@ const En = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Me = (
2756
2765
  ".desk-body-regular-s": {
2757
2766
  "@apply font-normal text-12 leading-16": ""
2758
2767
  }
2759
- }, Rn = void 0, zn = void 0, qn = "https://urt-web-app1:4032/v1/cache/dadata", Vn = "https://urt-web-app1:4009/constants";
2768
+ }, zn = void 0, qn = void 0, Vn = "https://urt-web-app1:4032/v1/cache/dadata", Qn = "https://urt-web-app1:4009/constants";
2760
2769
  var Le = {}, Be = {};
2761
2770
  (function(o) {
2762
2771
  Object.defineProperty(o, "__esModule", {
@@ -2966,25 +2975,25 @@ var an = on(
2966
2975
  }
2967
2976
  }
2968
2977
  );
2969
- const Re = /* @__PURE__ */ xe(an), Qn = {
2978
+ const Re = /* @__PURE__ */ xe(an), $n = {
2970
2979
  theme: {
2971
2980
  backgroundColor: {
2972
2981
  color: $,
2973
- banner: Ce,
2974
- icon: C
2982
+ banner: Ee,
2983
+ icon: E
2975
2984
  },
2976
2985
  textColor: {
2977
- icon: C,
2978
- color: Ee
2986
+ icon: E,
2987
+ color: Ce
2979
2988
  },
2980
- fill: C,
2981
- stroke: C,
2989
+ fill: E,
2990
+ stroke: E,
2982
2991
  borderColor: G,
2983
2992
  outlineColor: G,
2984
2993
  borderRadius: Oe,
2985
2994
  fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
2986
2995
  fontSize: Ye,
2987
- lineHeight: We,
2996
+ lineHeight: Ae,
2988
2997
  gradientColorStops: $,
2989
2998
  boxShadow: {
2990
2999
  sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
@@ -3038,7 +3047,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3038
3047
  plugins: [
3039
3048
  Re,
3040
3049
  X(({ addComponents: o }) => {
3041
- o(Ae);
3050
+ o(We);
3042
3051
  }),
3043
3052
  X(function({ matchUtilities: o, theme: r }) {
3044
3053
  o(
@@ -3053,7 +3062,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3053
3062
  );
3054
3063
  })
3055
3064
  ]
3056
- }, $n = {
3065
+ }, Gn = {
3057
3066
  theme: {
3058
3067
  extend: {
3059
3068
  transitionDuration: {
@@ -3093,7 +3102,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3093
3102
  }
3094
3103
  }
3095
3104
  }
3096
- }, Gn = {
3105
+ }, Xn = {
3097
3106
  theme: {
3098
3107
  screens: {
3099
3108
  mobile: { max: "1187px" },
@@ -3101,21 +3110,21 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3101
3110
  },
3102
3111
  backgroundColor: {
3103
3112
  color: $,
3104
- banner: Ce,
3105
- icon: C
3113
+ banner: Ee,
3114
+ icon: E
3106
3115
  },
3107
3116
  textColor: {
3108
- icon: C,
3109
- color: Ee
3117
+ icon: E,
3118
+ color: Ce
3110
3119
  },
3111
- fill: C,
3112
- stroke: C,
3120
+ fill: E,
3121
+ stroke: E,
3113
3122
  borderColor: G,
3114
3123
  outlineColor: G,
3115
3124
  borderRadius: Oe,
3116
3125
  fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
3117
3126
  fontSize: Ye,
3118
- lineHeight: We,
3127
+ lineHeight: Ae,
3119
3128
  gradientColorStops: $,
3120
3129
  boxShadow: {
3121
3130
  sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
@@ -3130,7 +3139,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3130
3139
  plugins: [
3131
3140
  Re,
3132
3141
  X(({ addComponents: o }) => {
3133
- o(Ae);
3142
+ o(We);
3134
3143
  }),
3135
3144
  X(function({ matchUtilities: o, theme: r }) {
3136
3145
  o(
@@ -3188,7 +3197,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3188
3197
  r == null ? void 0 : r.advantageItem
3189
3198
  ),
3190
3199
  children: [
3191
- /* @__PURE__ */ i.jsx(A, { as: "h4", className: d("text-color-dark", r == null ? void 0 : r.advantageTitle), children: e }),
3200
+ /* @__PURE__ */ i.jsx(W, { as: "h4", className: d("text-color-dark", r == null ? void 0 : r.advantageTitle), children: e }),
3192
3201
  /* @__PURE__ */ i.jsx("p", { className: d("desk-body-regular-l text-color-secondary", r == null ? void 0 : r.advantageDescription), children: t })
3193
3202
  ]
3194
3203
  },
@@ -3245,7 +3254,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3245
3254
  className: d("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", n == null ? void 0 : n.textBlock),
3246
3255
  children: [
3247
3256
  /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-4", children: [
3248
- /* @__PURE__ */ i.jsx(A, { "data-id": "banner-title", as: "h1", className: d("text-color-white", n == null ? void 0 : n.title), children: o }),
3257
+ /* @__PURE__ */ i.jsx(W, { "data-id": "banner-title", as: "h1", className: d("text-color-white", n == null ? void 0 : n.title), children: o }),
3249
3258
  /* @__PURE__ */ i.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-white", n == null ? void 0 : n.subtitle), children: r })
3250
3259
  ] }),
3251
3260
  /* @__PURE__ */ i.jsx(
@@ -3290,7 +3299,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3290
3299
  /* @__PURE__ */ i.jsxs("div", { "data-id": "banner", className: d("flex flex-col desktop:flex-row desktop:justify-between", n == null ? void 0 : n.wrapper), children: [
3291
3300
  /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
3292
3301
  /* @__PURE__ */ i.jsxs("div", { "data-id": "banner-text-block", className: d("flex flex-col gap-4 pt-6 desktop:pt-0", n == null ? void 0 : n.textBlock), children: [
3293
- /* @__PURE__ */ i.jsx(A, { "data-id": "banner-title", as: "h1", className: d("text-color-dark", n == null ? void 0 : n.title), children: o }),
3302
+ /* @__PURE__ */ i.jsx(W, { "data-id": "banner-title", as: "h1", className: d("text-color-dark", n == null ? void 0 : n.title), children: o }),
3294
3303
  /* @__PURE__ */ i.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: r })
3295
3304
  ] }),
3296
3305
  /* @__PURE__ */ i.jsx(ze, { buttonsConfig: e, classes: n })
@@ -3320,7 +3329,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3320
3329
  ] }) }),
3321
3330
  f && m
3322
3331
  ] });
3323
- }, Xn = ({ bannerVariant: o, ...r }) => {
3332
+ }, Un = ({ bannerVariant: o, ...r }) => {
3324
3333
  switch (o) {
3325
3334
  case "separateImg":
3326
3335
  return /* @__PURE__ */ i.jsx(pe, { ...r });
@@ -3428,11 +3437,11 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3428
3437
  {
3429
3438
  className: d("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", r == null ? void 0 : r.socialLink),
3430
3439
  href: t,
3431
- children: /* @__PURE__ */ i.jsx(T, { name: e, className: d("h-full w-full text-icon-white", r == null ? void 0 : r.socialIcon) })
3440
+ children: /* @__PURE__ */ i.jsx(N, { name: e, className: d("h-full w-full text-icon-white", r == null ? void 0 : r.socialIcon) })
3432
3441
  },
3433
3442
  t
3434
3443
  )) }), hn = ({ phones: o, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("flex flex-col items-end gap-4", r == null ? void 0 : r.phonesRoot), children: o == null ? void 0 : o.map(({ phone: e, text: t }) => /* @__PURE__ */ i.jsx(
3435
- Ie,
3444
+ Me,
3436
3445
  {
3437
3446
  phone: e,
3438
3447
  text: t,
@@ -3478,7 +3487,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3478
3487
  }
3479
3488
  )
3480
3489
  ] });
3481
- }, bn = ({ text: o, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("desk-body-regular-m text-color-footer", r == null ? void 0 : r.text), children: o }), Un = ({
3490
+ }, bn = ({ text: o, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("desk-body-regular-m text-color-footer", r == null ? void 0 : r.text), children: o }), Zn = ({
3482
3491
  withSocial: o = !0,
3483
3492
  withPhones: r = !0,
3484
3493
  withNavLinks: e = !0,
@@ -3491,10 +3500,10 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3491
3500
  ligal: m = sn,
3492
3501
  copyright: b = ln,
3493
3502
  classes: c
3494
- }) => /* @__PURE__ */ i.jsx(Me, { className: d("w-full", c == null ? void 0 : c.section), children: /* @__PURE__ */ i.jsx(Y, { className: d(c == null ? void 0 : c.container), children: /* @__PURE__ */ i.jsxs("div", { className: d("bg-color-footer px-4 py-8 desktop:px-6 desktop:py-10", c == null ? void 0 : c.footerRoot), children: [
3503
+ }) => /* @__PURE__ */ i.jsx(Ie, { className: d("w-full", c == null ? void 0 : c.section), children: /* @__PURE__ */ i.jsx(Y, { className: d(c == null ? void 0 : c.container), children: /* @__PURE__ */ i.jsxs("div", { className: d("bg-color-footer px-4 py-8 desktop:px-6 desktop:py-10", c == null ? void 0 : c.footerRoot), children: [
3495
3504
  /* @__PURE__ */ i.jsxs("div", { className: d("mb-8 flex items-center justify-between gap-6", c == null ? void 0 : c.footerHead), children: [
3496
3505
  /* @__PURE__ */ i.jsxs("div", { className: d(c == null ? void 0 : c.footerSocialBlock), children: [
3497
- /* @__PURE__ */ i.jsx("a", { href: "/", className: d(c == null ? void 0 : c.footerLogo), children: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
3506
+ /* @__PURE__ */ i.jsx("a", { href: "/", className: d(c == null ? void 0 : c.footerLogo), children: /* @__PURE__ */ i.jsx(N, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
3498
3507
  o && /* @__PURE__ */ i.jsx(mn, { socialsLinks: l, classes: c })
3499
3508
  ] }),
3500
3509
  r && /* @__PURE__ */ i.jsx(hn, { phones: u, classes: c })
@@ -3522,7 +3531,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3522
3531
  case "withPhone":
3523
3532
  const { phone: a, phoneText: l } = o;
3524
3533
  return /* @__PURE__ */ i.jsx(
3525
- Ie,
3534
+ Me,
3526
3535
  {
3527
3536
  phone: a,
3528
3537
  text: l,
@@ -3536,7 +3545,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3536
3545
  default:
3537
3546
  return null;
3538
3547
  }
3539
- }, Zn = (o) => {
3548
+ }, Jn = (o) => {
3540
3549
  const { logoPath: r = "/", logoType: e = "main", classes: t } = o;
3541
3550
  return /* @__PURE__ */ i.jsx("header", { className: d("flex h-[72px] items-center justify-center bg-color-white", t == null ? void 0 : t.header), children: /* @__PURE__ */ i.jsx(Y, { className: d(t == null ? void 0 : t.container), children: /* @__PURE__ */ i.jsxs("div", { className: d("flex items-center justify-between gap-5", t == null ? void 0 : t.wrapper), children: [
3542
3551
  /* @__PURE__ */ i.jsx(
@@ -3573,13 +3582,13 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3573
3582
  }
3574
3583
  ),
3575
3584
  /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col gap-4", t == null ? void 0 : t.textBlock), children: [
3576
- /* @__PURE__ */ i.jsx(A, { as: "h4", className: d("text-color-dark", t == null ? void 0 : t.title), children: o }),
3585
+ /* @__PURE__ */ i.jsx(W, { as: "h4", className: d("text-color-dark", t == null ? void 0 : t.title), children: o }),
3577
3586
  /* @__PURE__ */ i.jsx("p", { className: d("desk-body-regular-l text-color-tetriary", t == null ? void 0 : t.description), children: r })
3578
3587
  ] })
3579
3588
  ]
3580
3589
  }
3581
- ), Jn = ({ heading: o, stepsList: r, classes: e }) => /* @__PURE__ */ i.jsx(Me, { children: /* @__PURE__ */ i.jsx(Y, { children: /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col gap-12", e == null ? void 0 : e.root), children: [
3582
- /* @__PURE__ */ i.jsx(A, { as: "h2", className: d("text-color-dark", e == null ? void 0 : e.headline), children: o }),
3590
+ ), Kn = ({ heading: o, stepsList: r, classes: e }) => /* @__PURE__ */ i.jsx(Ie, { children: /* @__PURE__ */ i.jsx(Y, { children: /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col gap-12", e == null ? void 0 : e.root), children: [
3591
+ /* @__PURE__ */ i.jsx(W, { as: "h2", className: d("text-color-dark", e == null ? void 0 : e.headline), children: o }),
3583
3592
  /* @__PURE__ */ i.jsx(
3584
3593
  "div",
3585
3594
  {
@@ -3590,7 +3599,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3590
3599
  children: r == null ? void 0 : r.map((t, n) => /* @__PURE__ */ i.jsx(wn, { index: n + 1, ...t, classes: e }, t.title))
3591
3600
  }
3592
3601
  )
3593
- ] }) }) }), gn = D("", {
3602
+ ] }) }) }), gn = T("", {
3594
3603
  variants: {
3595
3604
  intent: {
3596
3605
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -3606,7 +3615,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3606
3615
  defaultVariants: {
3607
3616
  intent: "twoItems"
3608
3617
  }
3609
- }), kn = D("desktop:max-h-[98px]", {
3618
+ }), kn = T("desktop:max-h-[98px]", {
3610
3619
  variants: {
3611
3620
  intent: {
3612
3621
  twoItems: "",
@@ -3638,7 +3647,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3638
3647
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
3639
3648
  }
3640
3649
  ]
3641
- }), vn = D("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
3650
+ }), vn = T("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
3642
3651
  variants: {
3643
3652
  intent: {
3644
3653
  twoItems: 'last:border-none relative desktop:first:after:top-1/2 desktop:first:after:-translate-y-1/2 desktop:first:after:right-0 desktop:first:after:content-[""] desktop:first:after:block desktop:first:after:absolute desktop:first:after:w-[1px] desktop:first:after:h-[64px] desktop:first:after:bg-color-blue-grey-500 desktop:ml-8 desktop:pr-8 desktop:first:ml-0 desktop:last:pr-0 desktop:pb-3',
@@ -3648,7 +3657,7 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3648
3657
  defaultVariants: {
3649
3658
  intent: "twoItems"
3650
3659
  }
3651
- }), jn = D("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
3660
+ }), jn = T("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
3652
3661
  variants: {
3653
3662
  intent: {
3654
3663
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -3679,11 +3688,11 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3679
3688
  return /* @__PURE__ */ i.jsx("li", { className: d(vn({ intent: r })), children: /* @__PURE__ */ i.jsxs("div", { className: "desktop:max-w-[264px]", children: [
3680
3689
  /* @__PURE__ */ i.jsxs("div", { className: d("mb-2 flex items-center gap-2"), children: [
3681
3690
  /* @__PURE__ */ i.jsx("h4", { className: d("mob-title-bold-m text-color-dark"), children: e }),
3682
- n && /* @__PURE__ */ i.jsx(Ge, { triggerElement: /* @__PURE__ */ i.jsx(T, { className: d("size-4 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
3691
+ n && /* @__PURE__ */ i.jsx(Ge, { triggerElement: /* @__PURE__ */ i.jsx(N, { className: d("size-4 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
3683
3692
  ] }),
3684
3693
  /* @__PURE__ */ i.jsx("p", { className: d("mob-body-regular-l text-color-secondary"), children: t })
3685
3694
  ] }) });
3686
- }, K = ({ intent: o, title: r, desktopHidden: e = !1, mobileHidden: t = !1 }) => /* @__PURE__ */ i.jsx("h2", { className: d(gn({ intent: o, desktopHidden: e, mobileHidden: t })), children: r }), Tn = ({ textContent: o, intent: r, withButton: e }) => /* @__PURE__ */ i.jsx("ul", { className: d(kn({ intent: r, withButton: e })), children: o == null ? void 0 : o.map((t, n) => /* @__PURE__ */ i.jsx(Dn, { intent: r, data: t }, n)) }), Kn = ({
3695
+ }, K = ({ intent: o, title: r, desktopHidden: e = !1, mobileHidden: t = !1 }) => /* @__PURE__ */ i.jsx("h2", { className: d(gn({ intent: o, desktopHidden: e, mobileHidden: t })), children: r }), Tn = ({ textContent: o, intent: r, withButton: e }) => /* @__PURE__ */ i.jsx("ul", { className: d(kn({ intent: r, withButton: e })), children: o == null ? void 0 : o.map((t, n) => /* @__PURE__ */ i.jsx(Dn, { intent: r, data: t }, n)) }), Sn = ({
3687
3696
  title: o,
3688
3697
  buttonConfig: r,
3689
3698
  intent: e = "twoItems",
@@ -3731,56 +3740,58 @@ const Re = /* @__PURE__ */ xe(an), Qn = {
3731
3740
  };
3732
3741
  export {
3733
3742
  qe as Advantages,
3734
- to as Badge,
3735
- Xn as Banner,
3743
+ ro as Badge,
3744
+ Un as Banner,
3736
3745
  pe as BannerWithSeparateImg,
3737
3746
  On as Breadcrumbs,
3738
3747
  Q as Button,
3739
3748
  Fn as ButtonIcon,
3740
3749
  Yn as CustomLink,
3741
- Rn as DADATA_BASE_CACHE_URL,
3742
- zn as DADATA_BASE_CONSTANTS_URL,
3743
- Wn as Document,
3744
- Un as Footer,
3745
- A as Heading,
3746
- T as Icon,
3750
+ zn as DADATA_BASE_CACHE_URL,
3751
+ qn as DADATA_BASE_CONSTANTS_URL,
3752
+ An as Document,
3753
+ Zn as Footer,
3754
+ W as Heading,
3755
+ N as Icon,
3747
3756
  $e as Loader,
3748
- Kn as LongBanner,
3749
- ro as Notification,
3750
- Zn as PageHeader,
3751
- Ie as PhoneView,
3752
- An as ProgressBar,
3757
+ Sn as LongBanner,
3758
+ no as Notification,
3759
+ Jn as PageHeader,
3760
+ Me as PhoneView,
3761
+ Wn as ProgressBar,
3753
3762
  Y as ResponsiveContainer,
3754
3763
  me as RgxCheckForHyphen,
3755
3764
  tn as RgxPatronymic,
3756
3765
  en as RgxUnicode,
3757
- Me as Section,
3766
+ Ie as Section,
3758
3767
  Ln as Skeleton,
3759
- Jn as Stepper,
3760
- Cn as Table,
3768
+ Kn as Stepper,
3769
+ En as Table,
3761
3770
  q as VALIDATION_MESSAGES,
3762
- qn as VITE_DADATA_BASE_CACHE_URL,
3763
- Vn as VITE_DADATA_BASE_CONSTANTS_URL,
3771
+ Vn as VITE_DADATA_BASE_CACHE_URL,
3772
+ Qn as VITE_DADATA_BASE_CONSTANTS_URL,
3764
3773
  $ as allowedBackgroundColors,
3765
3774
  Fe as allowedBackgroundDeg,
3766
- Ce as allowedBannersBackgroundColors,
3775
+ Ee as allowedBannersBackgroundColors,
3767
3776
  Oe as allowedBorderRadius,
3768
3777
  Ye as allowedFontSize,
3769
- C as allowedIconsColors,
3770
- We as allowedLineHeight,
3778
+ E as allowedIconsColors,
3779
+ Ae as allowedLineHeight,
3771
3780
  G as allowedStrokeColors,
3772
- Ee as allowedTextColors,
3773
- Ae as allowedTextStyles,
3781
+ Ce as allowedTextColors,
3782
+ We as allowedTextStyles,
3774
3783
  nn as allowedZIndex,
3775
- In as capitalize,
3784
+ Mn as capitalize,
3776
3785
  d as cn,
3777
- Mn as deepCompare,
3778
- $n as extendsPreset,
3779
- En as formatToDate,
3780
- no as isClient,
3781
- Gn as resetPreset,
3782
- Qn as tailwindConfigBase,
3786
+ In as deepCompare,
3787
+ Gn as extendsPreset,
3788
+ Cn as formatToDate,
3789
+ rn as formattedDadataFio,
3790
+ oo as isClient,
3791
+ Xn as resetPreset,
3792
+ $n as tailwindConfigBase,
3783
3793
  Hn as zodCalendarValidate,
3784
- Bn as zodDadataFioValidate
3794
+ Bn as zodDadataFioSchema,
3795
+ Rn as zodPhoneSchema
3785
3796
  };
3786
3797
  //# sourceMappingURL=hybrid.js.map