@scbt-ecom/ui 0.10.4 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/{Advantages-BBrxgOvk.js → Advantages-BekdFZ62.js} +247 -238
  2. package/dist/Advantages-BekdFZ62.js.map +1 -0
  3. package/dist/client.d.ts +1 -0
  4. package/dist/client.js +8428 -8142
  5. package/dist/client.js.map +1 -1
  6. package/dist/hybrid.js +183 -168
  7. package/dist/hybrid.js.map +1 -1
  8. package/dist/shared/constants/designSystem/colors.d.ts +1 -1
  9. package/dist/shared/hooks/index.d.ts +0 -1
  10. package/dist/shared/ui/Loader.d.ts +1 -1
  11. package/dist/shared/ui/PhoneView.d.ts +7 -7
  12. package/dist/shared/ui/button/Button.d.ts +1 -2
  13. package/dist/shared/ui/button/model/helpers.d.ts +2 -2
  14. package/dist/shared/ui/formElements/InputOtpControl/InputOtpControl.d.ts +15 -0
  15. package/dist/shared/ui/formElements/InputOtpControl/index.d.ts +1 -0
  16. package/dist/shared/ui/formElements/InputOtpControl/ui/InputOtp.d.ts +11 -0
  17. package/dist/shared/ui/formElements/InputOtpControl/ui/InputOtpSlot.d.ts +13 -0
  18. package/dist/shared/ui/formElements/InputOtpControl/ui/index.d.ts +2 -0
  19. package/dist/shared/ui/formElements/index.d.ts +1 -0
  20. package/dist/shared/ui/index.d.ts +1 -1
  21. package/dist/shared/utils/index.d.ts +2 -0
  22. package/dist/shared/utils/mergeRefs.d.ts +2 -0
  23. package/dist/shared/utils/scrollToElement.d.ts +3 -0
  24. package/dist/shared/validation/zodValidation/index.d.ts +1 -0
  25. package/dist/shared/validation/zodValidation/otpCode.d.ts +2 -0
  26. package/dist/style.css +1 -1
  27. package/dist/widgets/benefit/Benefit.d.ts +10 -0
  28. package/dist/widgets/benefit/index.d.ts +1 -0
  29. package/dist/widgets/benefit/model/types.d.ts +7 -0
  30. package/dist/widgets/benefit/ui/BenefitItem.d.ts +13 -0
  31. package/dist/widgets/index.d.ts +1 -0
  32. package/dist/widgets/pageHeader/PageHeader.d.ts +1 -26
  33. package/dist/widgets/pageHeader/index.d.ts +1 -1
  34. package/dist/widgets/pageHeader/types.d.ts +24 -0
  35. package/dist/widgets/stepper/Stepper.d.ts +8 -8
  36. package/dist/widgets/stepper/ui/SingleStep.d.ts +8 -8
  37. package/package.json +2 -1
  38. package/dist/Advantages-BBrxgOvk.js.map +0 -1
  39. package/dist/shared/hooks/useCombineRef.d.ts +0 -5
package/dist/hybrid.js CHANGED
@@ -1,11 +1,18 @@
1
1
  var He = Object.defineProperty;
2
2
  var Ae = (a, r, e) => r in a ? He(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e;
3
3
  var l = (a, r, e) => Ae(a, typeof r != "symbol" ? r + "" : r, e);
4
- import { j as i, c as d, I as P, a as O, z as T, g as me, R as $, B as he, H as xe, P as Re } from "./Advantages-BBrxgOvk.js";
5
- import { A as An, b as Rn, L as Bn, i as qn } from "./Advantages-BBrxgOvk.js";
6
- import * as R from "react";
4
+ import { j as i, c as d, I as P, a as O, z as D, g as me, R as V, B as he, H as xe, P as Re } from "./Advantages-BekdFZ62.js";
5
+ import { A as Bn, b as qn, L as zn, i as Qn, s as $n } from "./Advantages-BekdFZ62.js";
6
+ import * as B from "react";
7
7
  import { forwardRef as Be } from "react";
8
- const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()).join("-"), pe = ({ children: a, className: r, ...e }) => /* @__PURE__ */ i.jsx("section", { className: d("pb-16 desktop:pb-20", r), ...e, children: a }), gn = ({ linksList: a }) => /* @__PURE__ */ i.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: a.map((r) => /* @__PURE__ */ i.jsx(i.Fragment, { children: "path" in r ? /* @__PURE__ */ i.jsxs(
8
+ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()).join("-"), gn = (...a) => {
9
+ const r = a.filter(Boolean);
10
+ return r.length <= 1 ? r[0] || null : function(t) {
11
+ r.forEach((n) => {
12
+ typeof n == "function" ? n(t) : n && (n.current = t);
13
+ });
14
+ };
15
+ }, pe = ({ children: a, className: r, ...e }) => /* @__PURE__ */ i.jsx("section", { className: d("pb-16 desktop:pb-20", r), ...e, children: a }), kn = ({ linksList: a }) => /* @__PURE__ */ i.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: a.map((r) => /* @__PURE__ */ i.jsx(i.Fragment, { children: "path" in r ? /* @__PURE__ */ i.jsxs(
9
16
  "div",
10
17
  {
11
18
  className: d(
@@ -55,7 +62,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
55
62
  size: "lg"
56
63
  }
57
64
  }
58
- ), kn = Be(
65
+ ), vn = Be(
59
66
  ({ size: a, intent: r, children: e, classes: t, type: n = "button", ...o }, s) => /* @__PURE__ */ i.jsx("button", { ref: s, type: n, className: d(qe({ intent: r, size: a }), t == null ? void 0 : t.button), ...o, children: /* @__PURE__ */ i.jsx("span", { className: d(t == null ? void 0 : t.icon), children: e }) })
60
67
  ), ze = O(
61
68
  "group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
@@ -100,7 +107,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
100
107
  intent: "blue",
101
108
  disabled: !1
102
109
  }
103
- }), vn = ({
110
+ }), Dn = ({
104
111
  Component: a = "a",
105
112
  intent: r,
106
113
  children: e,
@@ -112,7 +119,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
112
119
  }) => /* @__PURE__ */ i.jsxs(a, { className: d(ze({ intent: r, withIcon: t, disabled: n, size: o })), ...u, children: [
113
120
  e,
114
121
  t && /* @__PURE__ */ i.jsx(P, { name: s, className: d(Qe({ intent: r, disabled: n })) })
115
- ] }), Ve = O("size-8 transition-colors", {
122
+ ] }), $e = O("size-8 transition-colors", {
116
123
  variants: {
117
124
  intent: {
118
125
  outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
@@ -122,10 +129,10 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
122
129
  defaultVariants: {
123
130
  intent: "outline"
124
131
  }
125
- }), $e = {
132
+ }), Ve = {
126
133
  filled: "files/documentFilled",
127
134
  outline: "files/documentOutline"
128
- }, Dn = ({ text: a, size: r, sizeType: e, href: t, intent: n = "outline" }) => /* @__PURE__ */ i.jsxs(
135
+ }, Tn = ({ text: a, size: r, sizeType: e, href: t, intent: n = "outline" }) => /* @__PURE__ */ i.jsxs(
129
136
  "a",
130
137
  {
131
138
  href: t,
@@ -136,7 +143,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
136
143
  "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]"
137
144
  ),
138
145
  children: [
139
- /* @__PURE__ */ i.jsx(P, { name: $e[n], className: d(Ve({ intent: n })) }),
146
+ /* @__PURE__ */ i.jsx(P, { name: Ve[n], className: d($e({ intent: n })) }),
140
147
  /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-1 flex-col"), children: [
141
148
  /* @__PURE__ */ i.jsx("p", { className: d("desk-body-medium-l text-color-dark"), children: a }),
142
149
  /* @__PURE__ */ i.jsxs("div", { className: d("desk-body-regular-m text-color-disabled"), children: [
@@ -147,7 +154,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
147
154
  ] })
148
155
  ]
149
156
  }
150
- ), be = ({ phone: a, text: r, classes: e }) => /* @__PURE__ */ i.jsxs("div", { className: d("flex w-max flex-col", e == null ? void 0 : e.wrapper), children: [
157
+ ), be = ({ phone: a, text: r, classes: e, ...t }) => /* @__PURE__ */ i.jsxs("div", { className: d("flex w-max flex-col", e == null ? void 0 : e.wrapper), ...t, children: [
151
158
  /* @__PURE__ */ i.jsx(
152
159
  "a",
153
160
  {
@@ -157,7 +164,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
157
164
  }
158
165
  ),
159
166
  /* @__PURE__ */ i.jsx("p", { className: d("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.text), children: r })
160
- ] }), Tn = ({ topContent: a, 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: [
167
+ ] }), Pn = ({ topContent: a, 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: [
161
168
  a && /* @__PURE__ */ i.jsx("div", { className: d("mb-2 flex justify-between gap-5", n == null ? void 0 : n.topContent), children: a }),
162
169
  /* @__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: [
163
170
  /* @__PURE__ */ i.jsx(
@@ -179,7 +186,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
179
186
  )
180
187
  ] }),
181
188
  r && /* @__PURE__ */ i.jsx("div", { className: d("mt-2 flex justify-between gap-5", n == null ? void 0 : n.bottomContent), children: r })
182
- ] }), Pn = ({ className: a }) => /* @__PURE__ */ i.jsx("div", { className: d("skeleton-apply h-full w-full", a) }), Ge = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, se = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, Xe = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, B = {
189
+ ] }), Nn = ({ className: a }) => /* @__PURE__ */ i.jsx("div", { className: d("skeleton-apply h-full w-full", a) }), Ge = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, se = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, Xe = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, Y = {
183
190
  REQUIRED: "Поле обязательно к заполнению",
184
191
  MIN_LENGTH: "Минимальная длина символов должна быть не менее",
185
192
  MAX_LENGTH: "Максимальная длина символов должна быть не более",
@@ -197,58 +204,58 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
197
204
  name: t,
198
205
  patronymic: o
199
206
  };
200
- }, Nn = T.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((a, r) => {
207
+ }, jn = D.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((a, r) => {
201
208
  Ge.test(a) || r.addIssue({
202
- code: T.ZodIssueCode.custom,
209
+ code: D.ZodIssueCode.custom,
203
210
  message: "Должна быть только кириллица"
204
211
  });
205
212
  const { surname: e, name: t, patronymic: n } = Ze(a);
206
213
  (!e || !t) && r.addIssue({
207
- code: T.ZodIssueCode.custom,
214
+ code: D.ZodIssueCode.custom,
208
215
  message: "Введите имя и фамилию"
209
216
  }), se.test(t) || r.addIssue({
210
- code: T.ZodIssueCode.custom,
217
+ code: D.ZodIssueCode.custom,
211
218
  message: "Неверно введено имя"
212
219
  }), se.test(e) || r.addIssue({
213
- code: T.ZodIssueCode.custom,
220
+ code: D.ZodIssueCode.custom,
214
221
  message: "Неверно введена фамилия"
215
222
  }), n && (Xe.test(n) || r.addIssue({
216
- code: T.ZodIssueCode.custom,
223
+ code: D.ZodIssueCode.custom,
217
224
  message: "Неверно введено отчество"
218
225
  }));
219
226
  }), we = 6048e5, Ue = 6e4, Je = 36e5, Ke = 1e3, de = Symbol.for("constructDateFrom");
220
227
  function v(a, r) {
221
228
  return typeof a == "function" ? a(r) : a && typeof a == "object" && de in a ? a[de](r) : a instanceof Date ? new a.constructor(r) : new Date(r);
222
229
  }
223
- function D(a, r) {
230
+ function T(a, r) {
224
231
  return v(r || a, a);
225
232
  }
226
233
  function ye(a, r, e) {
227
- const t = D(a, e == null ? void 0 : e.in);
234
+ const t = T(a, e == null ? void 0 : e.in);
228
235
  return isNaN(r) ? v((e == null ? void 0 : e.in) || a, NaN) : (r && t.setDate(t.getDate() + r), t);
229
236
  }
230
237
  let Se = {};
231
- function H() {
238
+ function A() {
232
239
  return Se;
233
240
  }
234
241
  function C(a, r) {
235
242
  var u, h, x, k;
236
- const e = H(), t = (r == null ? void 0 : r.weekStartsOn) ?? ((h = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : h.weekStartsOn) ?? e.weekStartsOn ?? ((k = (x = e.locale) == null ? void 0 : x.options) == null ? void 0 : k.weekStartsOn) ?? 0, n = D(a, r == null ? void 0 : r.in), o = n.getDay(), s = (o < t ? 7 : 0) + o - t;
243
+ const e = A(), t = (r == null ? void 0 : r.weekStartsOn) ?? ((h = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : h.weekStartsOn) ?? e.weekStartsOn ?? ((k = (x = e.locale) == null ? void 0 : x.options) == null ? void 0 : k.weekStartsOn) ?? 0, n = T(a, r == null ? void 0 : r.in), o = n.getDay(), s = (o < t ? 7 : 0) + o - t;
237
244
  return n.setDate(n.getDate() - s), n.setHours(0, 0, 0, 0), n;
238
245
  }
239
- function Y(a, r) {
246
+ function L(a, r) {
240
247
  return C(a, { ...r, weekStartsOn: 1 });
241
248
  }
242
249
  function et(a, r) {
243
- const e = D(a, r == null ? void 0 : r.in), t = e.getFullYear(), n = v(e, 0);
250
+ const e = T(a, r == null ? void 0 : r.in), t = e.getFullYear(), n = v(e, 0);
244
251
  n.setFullYear(t + 1, 0, 4), n.setHours(0, 0, 0, 0);
245
- const o = Y(n), s = v(e, 0);
252
+ const o = L(n), s = v(e, 0);
246
253
  s.setFullYear(t, 0, 4), s.setHours(0, 0, 0, 0);
247
- const u = Y(s);
254
+ const u = L(s);
248
255
  return e.getTime() >= o.getTime() ? t + 1 : e.getTime() >= u.getTime() ? t : t - 1;
249
256
  }
250
257
  function ge(a) {
251
- const r = D(a), e = new Date(
258
+ const r = T(a), e = new Date(
252
259
  Date.UTC(
253
260
  r.getFullYear(),
254
261
  r.getMonth(),
@@ -263,13 +270,13 @@ function ge(a) {
263
270
  }
264
271
  function tt(a, r) {
265
272
  const e = et(a, r), t = v(a, 0);
266
- return t.setFullYear(e, 0, 4), t.setHours(0, 0, 0, 0), Y(t);
273
+ return t.setFullYear(e, 0, 4), t.setHours(0, 0, 0, 0), L(t);
267
274
  }
268
275
  function rt(a) {
269
276
  return a instanceof Date || typeof a == "object" && Object.prototype.toString.call(a) === "[object Date]";
270
277
  }
271
278
  function nt(a) {
272
- return !(!rt(a) && typeof a != "number" || isNaN(+D(a)));
279
+ return !(!rt(a) && typeof a != "number" || isNaN(+T(a)));
273
280
  }
274
281
  const at = {
275
282
  lessThanXSeconds: {
@@ -380,7 +387,7 @@ const it = {
380
387
  nextWeek: "eeee 'at' p",
381
388
  other: "P"
382
389
  }, ct = (a, r, e, t) => ut[a];
383
- function L(a) {
390
+ function W(a) {
384
391
  return (r, e) => {
385
392
  const t = e != null && e.context ? String(e.context) : "standalone";
386
393
  let n;
@@ -522,31 +529,31 @@ const ft = {
522
529
  return e + "th";
523
530
  }, yt = {
524
531
  ordinalNumber: wt,
525
- era: L({
532
+ era: W({
526
533
  values: ft,
527
534
  defaultWidth: "wide"
528
535
  }),
529
- quarter: L({
536
+ quarter: W({
530
537
  values: mt,
531
538
  defaultWidth: "wide",
532
539
  argumentCallback: (a) => a - 1
533
540
  }),
534
- month: L({
541
+ month: W({
535
542
  values: ht,
536
543
  defaultWidth: "wide"
537
544
  }),
538
- day: L({
545
+ day: W({
539
546
  values: xt,
540
547
  defaultWidth: "wide"
541
548
  }),
542
- dayPeriod: L({
549
+ dayPeriod: W({
543
550
  values: pt,
544
551
  defaultWidth: "wide",
545
552
  formattingValues: bt,
546
553
  defaultFormattingWidth: "wide"
547
554
  })
548
555
  };
549
- function W(a) {
556
+ function H(a) {
550
557
  return (r, e = {}) => {
551
558
  const t = e.width, n = t && a.matchPatterns[t] || a.matchPatterns[a.defaultMatchWidth], o = r.match(n);
552
559
  if (!o)
@@ -598,11 +605,11 @@ const Dt = /^(\d+)(th|st|nd|rd)?/i, Tt = /\d+/i, Pt = {
598
605
  wide: /^[1234](th|st|nd|rd)? quarter/i
599
606
  }, It = {
600
607
  any: [/1/i, /2/i, /3/i, /4/i]
601
- }, Mt = {
608
+ }, _t = {
602
609
  narrow: /^[jfmasond]/i,
603
610
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
604
611
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
605
- }, _t = {
612
+ }, Mt = {
606
613
  narrow: [
607
614
  /^j/i,
608
615
  /^f/i,
@@ -659,32 +666,32 @@ const Dt = /^(\d+)(th|st|nd|rd)?/i, Tt = /\d+/i, Pt = {
659
666
  parsePattern: Tt,
660
667
  valueCallback: (a) => parseInt(a, 10)
661
668
  }),
662
- era: W({
669
+ era: H({
663
670
  matchPatterns: Pt,
664
671
  defaultMatchWidth: "wide",
665
672
  parsePatterns: Nt,
666
673
  defaultParseWidth: "any"
667
674
  }),
668
- quarter: W({
675
+ quarter: H({
669
676
  matchPatterns: jt,
670
677
  defaultMatchWidth: "wide",
671
678
  parsePatterns: It,
672
679
  defaultParseWidth: "any",
673
680
  valueCallback: (a) => a + 1
674
681
  }),
675
- month: W({
676
- matchPatterns: Mt,
682
+ month: H({
683
+ matchPatterns: _t,
677
684
  defaultMatchWidth: "wide",
678
- parsePatterns: _t,
685
+ parsePatterns: Mt,
679
686
  defaultParseWidth: "any"
680
687
  }),
681
- day: W({
688
+ day: H({
682
689
  matchPatterns: Et,
683
690
  defaultMatchWidth: "wide",
684
691
  parsePatterns: Ct,
685
692
  defaultParseWidth: "any"
686
693
  }),
687
- dayPeriod: W({
694
+ dayPeriod: H({
688
695
  matchPatterns: Ot,
689
696
  defaultMatchWidth: "any",
690
697
  parsePatterns: Ft,
@@ -703,12 +710,12 @@ const Dt = /^(\d+)(th|st|nd|rd)?/i, Tt = /\d+/i, Pt = {
703
710
  }
704
711
  };
705
712
  function Wt(a, r) {
706
- const e = D(a, r == null ? void 0 : r.in), t = +Y(e) - +tt(e);
713
+ const e = T(a, r == null ? void 0 : r.in), t = +L(e) - +tt(e);
707
714
  return Math.round(t / we) + 1;
708
715
  }
709
716
  function ke(a, r) {
710
- var k, c, M, F;
711
- const e = D(a, r == null ? void 0 : r.in), t = e.getFullYear(), n = H(), o = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((c = (k = r == null ? void 0 : r.locale) == null ? void 0 : k.options) == null ? void 0 : c.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((F = (M = n.locale) == null ? void 0 : M.options) == null ? void 0 : F.firstWeekContainsDate) ?? 1, s = v((r == null ? void 0 : r.in) || a, 0);
717
+ var k, c, _, F;
718
+ const e = T(a, r == null ? void 0 : r.in), t = e.getFullYear(), n = A(), o = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((c = (k = r == null ? void 0 : r.locale) == null ? void 0 : k.options) == null ? void 0 : c.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((F = (_ = n.locale) == null ? void 0 : _.options) == null ? void 0 : F.firstWeekContainsDate) ?? 1, s = v((r == null ? void 0 : r.in) || a, 0);
712
719
  s.setFullYear(t + 1, 0, o), s.setHours(0, 0, 0, 0);
713
720
  const u = C(s, r), h = v((r == null ? void 0 : r.in) || a, 0);
714
721
  h.setFullYear(t, 0, o), h.setHours(0, 0, 0, 0);
@@ -717,11 +724,11 @@ function ke(a, r) {
717
724
  }
718
725
  function Ht(a, r) {
719
726
  var u, h, x, k;
720
- const e = H(), t = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((h = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : h.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((k = (x = e.locale) == null ? void 0 : x.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, n = ke(a, r), o = v((r == null ? void 0 : r.in) || a, 0);
727
+ const e = A(), t = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((h = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : h.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((k = (x = e.locale) == null ? void 0 : x.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, n = ke(a, r), o = v((r == null ? void 0 : r.in) || a, 0);
721
728
  return o.setFullYear(n, 0, t), o.setHours(0, 0, 0, 0), C(o, r);
722
729
  }
723
730
  function At(a, r) {
724
- const e = D(a, r == null ? void 0 : r.in), t = +C(e, r) - +Ht(e, r);
731
+ const e = T(a, r == null ? void 0 : r.in), t = +C(e, r) - +Ht(e, r);
725
732
  return Math.round(t / we) + 1;
726
733
  }
727
734
  const le = (a, r) => {
@@ -776,22 +783,22 @@ const le = (a, r) => {
776
783
  function Qt(a) {
777
784
  return Bt.test(a);
778
785
  }
779
- function Vt(a) {
786
+ function $t(a) {
780
787
  return qt.test(a);
781
788
  }
782
789
  function ce(a, r, e) {
783
- const t = $t(a, r, e);
790
+ const t = Vt(a, r, e);
784
791
  if (console.warn(t), zt.includes(a)) throw new RangeError(t);
785
792
  }
786
- function $t(a, r, e) {
793
+ function Vt(a, r, e) {
787
794
  const t = a[0] === "Y" ? "years" : "days of the month";
788
795
  return `Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${r}\`) for formatting ${t} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
789
796
  }
790
797
  function Gt() {
791
- return Object.assign({}, H());
798
+ return Object.assign({}, A());
792
799
  }
793
800
  function Xt(a, r) {
794
- const e = D(a, r == null ? void 0 : r.in).getDay();
801
+ const e = T(a, r == null ? void 0 : r.in).getDay();
795
802
  return e === 0 ? 7 : e;
796
803
  }
797
804
  function Zt(a, r) {
@@ -1141,7 +1148,7 @@ class nr extends m {
1141
1148
  }
1142
1149
  set(e, t, n) {
1143
1150
  const o = v(e, 0);
1144
- return o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0), Y(o);
1151
+ return o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0), L(o);
1145
1152
  }
1146
1153
  }
1147
1154
  class ar extends m {
@@ -1406,8 +1413,8 @@ class dr extends m {
1406
1413
  }
1407
1414
  }
1408
1415
  function lr(a, r, e) {
1409
- const t = D(a, e == null ? void 0 : e.in), n = At(t, e) - r;
1410
- return t.setDate(t.getDate() - n * 7), D(t, e == null ? void 0 : e.in);
1416
+ const t = T(a, e == null ? void 0 : e.in), n = At(t, e) - r;
1417
+ return t.setDate(t.getDate() - n * 7), T(t, e == null ? void 0 : e.in);
1411
1418
  }
1412
1419
  class ur extends m {
1413
1420
  constructor() {
@@ -1447,7 +1454,7 @@ class ur extends m {
1447
1454
  }
1448
1455
  }
1449
1456
  function cr(a, r, e) {
1450
- const t = D(a, e == null ? void 0 : e.in), n = Wt(t, e) - r;
1457
+ const t = T(a, e == null ? void 0 : e.in), n = Wt(t, e) - r;
1451
1458
  return t.setDate(t.getDate() - n * 7), t;
1452
1459
  }
1453
1460
  class fr extends m {
@@ -1485,7 +1492,7 @@ class fr extends m {
1485
1492
  return t >= 1 && t <= 53;
1486
1493
  }
1487
1494
  set(e, t, n) {
1488
- return Y(cr(e, n));
1495
+ return L(cr(e, n));
1489
1496
  }
1490
1497
  }
1491
1498
  const mr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], hr = [
@@ -1583,8 +1590,8 @@ class pr extends m {
1583
1590
  }
1584
1591
  }
1585
1592
  function K(a, r, e) {
1586
- var c, M, F, _;
1587
- const t = H(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((M = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : M.weekStartsOn) ?? t.weekStartsOn ?? ((_ = (F = t.locale) == null ? void 0 : F.options) == null ? void 0 : _.weekStartsOn) ?? 0, o = D(a, e == null ? void 0 : e.in), s = o.getDay(), h = (r % 7 + 7) % 7, x = 7 - n, k = r < 0 || r > 6 ? r - (s + x) % 7 : (h + x) % 7 - (s + x) % 7;
1593
+ var c, _, F, M;
1594
+ const t = A(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((_ = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : _.weekStartsOn) ?? t.weekStartsOn ?? ((M = (F = t.locale) == null ? void 0 : F.options) == null ? void 0 : M.weekStartsOn) ?? 0, o = T(a, e == null ? void 0 : e.in), s = o.getDay(), h = (r % 7 + 7) % 7, x = 7 - n, k = r < 0 || r > 6 ? r - (s + x) % 7 : (h + x) % 7 - (s + x) % 7;
1588
1595
  return ye(o, k, e);
1589
1596
  }
1590
1597
  class br extends m {
@@ -1755,7 +1762,7 @@ class yr extends m {
1755
1762
  }
1756
1763
  }
1757
1764
  function gr(a, r, e) {
1758
- const t = D(a, e == null ? void 0 : e.in), n = Xt(t, e), o = r - n;
1765
+ const t = T(a, e == null ? void 0 : e.in), n = Xt(t, e), o = r - n;
1759
1766
  return ye(t, o, e);
1760
1767
  }
1761
1768
  class kr extends m {
@@ -2065,7 +2072,7 @@ class Ir extends m {
2065
2072
  return e.setHours(o, 0, 0, 0), e;
2066
2073
  }
2067
2074
  }
2068
- class Mr extends m {
2075
+ class _r extends m {
2069
2076
  constructor() {
2070
2077
  super(...arguments);
2071
2078
  l(this, "priority", 60);
@@ -2088,7 +2095,7 @@ class Mr extends m {
2088
2095
  return e.setMinutes(n, 0, 0), e;
2089
2096
  }
2090
2097
  }
2091
- class _r extends m {
2098
+ class Mr extends m {
2092
2099
  constructor() {
2093
2100
  super(...arguments);
2094
2101
  l(this, "priority", 50);
@@ -2250,8 +2257,8 @@ const Lr = {
2250
2257
  H: new Nr(),
2251
2258
  K: new jr(),
2252
2259
  k: new Ir(),
2253
- m: new Mr(),
2254
- s: new _r(),
2260
+ m: new _r(),
2261
+ s: new Mr(),
2255
2262
  S: new Er(),
2256
2263
  X: new Cr(),
2257
2264
  x: new Or(),
@@ -2271,25 +2278,25 @@ function zr(a, r, e, t) {
2271
2278
  return N(f, s.formatLong);
2272
2279
  }
2273
2280
  return f;
2274
- }).join("").match(Wr), M = [];
2281
+ }).join("").match(Wr), _ = [];
2275
2282
  for (let f of c) {
2276
- Vt(f) && ce(f, r, a), Qt(f) && ce(f, r, a);
2283
+ $t(f) && ce(f, r, a), Qt(f) && ce(f, r, a);
2277
2284
  const b = f[0], N = Lr[b];
2278
2285
  if (N) {
2279
2286
  const { incompatibleTokens: ae } = N;
2280
2287
  if (Array.isArray(ae)) {
2281
- const oe = M.find(
2288
+ const oe = _.find(
2282
2289
  (ie) => ae.includes(ie.token) || ie.token === b
2283
2290
  );
2284
2291
  if (oe)
2285
2292
  throw new RangeError(
2286
2293
  `The format string mustn't contain \`${oe.fullToken}\` and \`${f}\` at the same time`
2287
2294
  );
2288
- } else if (N.incompatibleTokens === "*" && M.length > 0)
2295
+ } else if (N.incompatibleTokens === "*" && _.length > 0)
2289
2296
  throw new RangeError(
2290
2297
  `The format string mustn't contain \`${f}\` and any other token at the same time`
2291
2298
  );
2292
- M.push({ token: b, fullToken: f });
2299
+ _.push({ token: b, fullToken: f });
2293
2300
  const G = N.run(
2294
2301
  a,
2295
2302
  f,
@@ -2315,42 +2322,49 @@ function zr(a, r, e, t) {
2315
2322
  const F = k.map((f) => f.priority).sort((f, b) => b - f).filter((f, b, N) => N.indexOf(f) === b).map(
2316
2323
  (f) => k.filter((b) => b.priority === f).sort((b, N) => N.subPriority - b.subPriority)
2317
2324
  ).map((f) => f[0]);
2318
- let _ = D(e, t == null ? void 0 : t.in);
2319
- if (isNaN(+_)) return n();
2325
+ let M = T(e, t == null ? void 0 : t.in);
2326
+ if (isNaN(+M)) return n();
2320
2327
  const S = {};
2321
2328
  for (const f of F) {
2322
- if (!f.validate(_, x))
2329
+ if (!f.validate(M, x))
2323
2330
  return n();
2324
- const b = f.set(_, S, x);
2325
- Array.isArray(b) ? (_ = b[0], Object.assign(S, b[1])) : _ = b;
2331
+ const b = f.set(M, S, x);
2332
+ Array.isArray(b) ? (M = b[0], Object.assign(S, b[1])) : M = b;
2326
2333
  }
2327
- return _;
2334
+ return M;
2328
2335
  }
2329
2336
  function Qr(a) {
2330
2337
  return a.match(Ar)[1].replace(Rr, "'");
2331
2338
  }
2332
- const jn = T.string().length(10, { message: B.INVALID_DATE }).superRefine((a, r) => {
2339
+ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r) => {
2333
2340
  const [e, t, n] = (a == null ? void 0 : a.split(".")) ?? "", o = zr(`${e}/${t}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
2334
2341
  +n <= 1950 && r.addIssue({
2335
- code: T.ZodIssueCode.custom,
2336
- message: B.INVALID_DATE
2342
+ code: D.ZodIssueCode.custom,
2343
+ message: Y.INVALID_DATE
2337
2344
  }), nt(o) || r.addIssue({
2338
- code: T.ZodIssueCode.custom,
2339
- message: B.INVALID_DATE
2345
+ code: D.ZodIssueCode.custom,
2346
+ message: Y.INVALID_DATE
2340
2347
  }), (/* @__PURE__ */ new Date()).getTime() < new Date(o).getTime() && r.addIssue({
2341
- code: T.ZodIssueCode.custom,
2342
- message: B.FUTURE_DATE_NOT_ALLOWED
2348
+ code: D.ZodIssueCode.custom,
2349
+ message: Y.FUTURE_DATE_NOT_ALLOWED
2343
2350
  });
2344
- }), In = T.string().superRefine((a, r) => {
2351
+ }), _n = D.string().superRefine((a, r) => {
2345
2352
  const e = a.charAt(0);
2346
2353
  ["3", "4", "5", "6", "9"].includes(e) || r.addIssue({
2347
- code: T.ZodIssueCode.custom,
2354
+ code: D.ZodIssueCode.custom,
2348
2355
  message: "Код города/оператора должен начинаться с цифры 3, 4, 5, 6 или 9"
2349
2356
  }), a.length !== 10 && r.addIssue({
2350
- code: T.ZodIssueCode.custom,
2357
+ code: D.ZodIssueCode.custom,
2351
2358
  message: "Введите номер телефона полностью"
2352
2359
  });
2353
- }).transform((a) => `7${a}`), A = {
2360
+ }).transform((a) => `7${a}`), Mn = D.coerce.number().min(1e3, `${Y.FIX_LENGTH} 4`).max(9999, `${Y.FIX_LENGTH} 4`).nullable().superRefine((a, r) => {
2361
+ a === null && r.addIssue({
2362
+ code: D.ZodIssueCode.invalid_type,
2363
+ expected: "number",
2364
+ received: "null",
2365
+ message: `${Y.FIX_LENGTH} 4`
2366
+ });
2367
+ }).default(null), R = {
2354
2368
  transparent: "transparent",
2355
2369
  current: "currentColor",
2356
2370
  inherit: "inherit",
@@ -2379,11 +2393,11 @@ const jn = T.string().length(10, { message: B.INVALID_DATE }).superRefine((a, r)
2379
2393
  white: "#ffffff",
2380
2394
  "primary-disabled": "#809bc7",
2381
2395
  "secondary-disabled": "#FFB7BF",
2382
- dark: "#000000",
2396
+ dark: "#292929",
2383
2397
  purple: "#5f40bd",
2384
2398
  "purple-hover": "#52399d",
2385
2399
  overlay: "#0000004d",
2386
- ...A
2400
+ ...R
2387
2401
  }, je = {
2388
2402
  dark: "#292929",
2389
2403
  disabled: "#a9b6c5",
@@ -2398,7 +2412,7 @@ const jn = T.string().length(10, { message: B.INVALID_DATE }).superRefine((a, r)
2398
2412
  white: "#ffffff",
2399
2413
  "primary-disabled": "#809bc7",
2400
2414
  "blue-grey-600": "#94a4b7",
2401
- ...A
2415
+ ...R
2402
2416
  }, Ie = {
2403
2417
  "barvcray-200": "#ebeef4",
2404
2418
  "barvcray-300": "#dde1e8",
@@ -2412,7 +2426,7 @@ const jn = T.string().length(10, { message: B.INVALID_DATE }).superRefine((a, r)
2412
2426
  "skyblue-100": "#f4f8fe",
2413
2427
  "skyblue-200": "#e7f3ff",
2414
2428
  "skyblue-300": "#d9edff",
2415
- ...A
2429
+ ...R
2416
2430
  }, E = {
2417
2431
  "accent-default": "#2477ff",
2418
2432
  "accent-hover": "#0053da",
@@ -2438,7 +2452,7 @@ const jn = T.string().length(10, { message: B.INVALID_DATE }).superRefine((a, r)
2438
2452
  white: "#ffffff",
2439
2453
  "primary-disabled": "#809bc7",
2440
2454
  footer: "#C3C3C3",
2441
- ...A
2455
+ ...R
2442
2456
  }, Q = {
2443
2457
  "blue-grey-500": "#a9b6c5",
2444
2458
  "blue-grey-700": "#69809a",
@@ -2457,21 +2471,21 @@ const jn = T.string().length(10, { message: B.INVALID_DATE }).superRefine((a, r)
2457
2471
  warning: "#f49f00",
2458
2472
  white: "#ffffff",
2459
2473
  "primary-disabled": "#809bc7",
2460
- ...A
2461
- }, Me = {
2474
+ ...R
2475
+ }, _e = {
2462
2476
  none: "0",
2463
2477
  sm: "4px",
2464
2478
  md: "8px",
2465
2479
  lg: "16px",
2466
2480
  full: "9999px"
2467
- }, _e = {
2481
+ }, Me = {
2468
2482
  30: "30deg",
2469
2483
  45: "45deg",
2470
2484
  80: "80deg",
2471
2485
  90: "90deg",
2472
2486
  110: "110deg",
2473
2487
  180: "180deg"
2474
- }, Vr = {
2488
+ }, $r = {
2475
2489
  0: "0",
2476
2490
  1: "1",
2477
2491
  10: "10",
@@ -2607,13 +2621,13 @@ var Fe = {}, Ye = {};
2607
2621
  })(Fe);
2608
2622
  let Z = Fe;
2609
2623
  var Le = (Z.__esModule ? Z : { default: Z }).default;
2610
- const V = /* @__PURE__ */ me(Le), $r = Le;
2624
+ const $ = /* @__PURE__ */ me(Le), Vr = Le;
2611
2625
  function fe(a) {
2612
2626
  return Object.fromEntries(
2613
2627
  Object.entries(a).filter(([r]) => r !== "DEFAULT")
2614
2628
  );
2615
2629
  }
2616
- var Gr = $r(
2630
+ var Gr = Vr(
2617
2631
  ({ addUtilities: a, matchUtilities: r, theme: e }) => {
2618
2632
  a({
2619
2633
  "@keyframes enter": e("keyframes.enter"),
@@ -2769,7 +2783,7 @@ var Gr = $r(
2769
2783
  }
2770
2784
  }
2771
2785
  );
2772
- const We = /* @__PURE__ */ me(Gr), Mn = {
2786
+ const We = /* @__PURE__ */ me(Gr), En = {
2773
2787
  theme: {
2774
2788
  backgroundColor: {
2775
2789
  color: z,
@@ -2784,7 +2798,7 @@ const We = /* @__PURE__ */ me(Gr), Mn = {
2784
2798
  stroke: E,
2785
2799
  borderColor: Q,
2786
2800
  outlineColor: Q,
2787
- borderRadius: Me,
2801
+ borderRadius: _e,
2788
2802
  fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
2789
2803
  fontSize: Ee,
2790
2804
  lineHeight: Ce,
@@ -2795,7 +2809,7 @@ const We = /* @__PURE__ */ me(Gr), Mn = {
2795
2809
  lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
2796
2810
  },
2797
2811
  extend: {
2798
- bgGradientDeg: _e,
2812
+ bgGradientDeg: Me,
2799
2813
  width: {
2800
2814
  "popper-content": "var(--radix-popover-content-available-width)",
2801
2815
  "popper-trigger": "var(--radix-popover-trigger-width)",
@@ -2828,22 +2842,32 @@ const We = /* @__PURE__ */ me(Gr), Mn = {
2828
2842
  "100%": {
2829
2843
  backgroundPosition: "100% 100%"
2830
2844
  }
2845
+ },
2846
+ "caret-blink": {
2847
+ "0%,70%,100%": { opacity: "1" },
2848
+ "20%,50%": { opacity: "0" }
2849
+ },
2850
+ shine: {
2851
+ to: {
2852
+ "background-position-x": "-200%"
2853
+ }
2831
2854
  }
2832
2855
  },
2833
2856
  animation: {
2834
2857
  slideDown: "slideDown 0.3s cubic-bezier(0.87, 0, 0.13, 1)",
2835
2858
  slideUp: "slideUp 0.3s cubic-bezier(0.87, 0, 0.13, 1)",
2836
2859
  "scale-in": "scale-in 0.3s ease-in-out",
2837
- "progress-loader": "progress-loader 250s linear infinite"
2860
+ "progress-loader": "progress-loader 250s linear infinite",
2861
+ "caret-blink": "caret-blink 1.25s ease-out infinite"
2838
2862
  }
2839
2863
  }
2840
2864
  },
2841
2865
  plugins: [
2842
2866
  We,
2843
- V(({ addComponents: a }) => {
2867
+ $(({ addComponents: a }) => {
2844
2868
  a(Oe);
2845
2869
  }),
2846
- V(function({ matchUtilities: a, theme: r }) {
2870
+ $(function({ matchUtilities: a, theme: r }) {
2847
2871
  a(
2848
2872
  {
2849
2873
  "bg-deg-gradient": (e) => ({
@@ -2856,7 +2880,7 @@ const We = /* @__PURE__ */ me(Gr), Mn = {
2856
2880
  );
2857
2881
  })
2858
2882
  ]
2859
- }, _n = {
2883
+ }, Cn = {
2860
2884
  theme: {
2861
2885
  extend: {
2862
2886
  transitionDuration: {
@@ -2896,7 +2920,7 @@ const We = /* @__PURE__ */ me(Gr), Mn = {
2896
2920
  }
2897
2921
  }
2898
2922
  }
2899
- }, En = {
2923
+ }, On = {
2900
2924
  theme: {
2901
2925
  screens: {
2902
2926
  mobile: { max: "1187px" },
@@ -2915,7 +2939,7 @@ const We = /* @__PURE__ */ me(Gr), Mn = {
2915
2939
  stroke: E,
2916
2940
  borderColor: Q,
2917
2941
  outlineColor: Q,
2918
- borderRadius: Me,
2942
+ borderRadius: _e,
2919
2943
  fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
2920
2944
  fontSize: Ee,
2921
2945
  lineHeight: Ce,
@@ -2925,17 +2949,17 @@ const We = /* @__PURE__ */ me(Gr), Mn = {
2925
2949
  md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
2926
2950
  lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
2927
2951
  },
2928
- zIndex: Vr,
2952
+ zIndex: $r,
2929
2953
  extend: {
2930
- bgGradientDeg: _e
2954
+ bgGradientDeg: Me
2931
2955
  }
2932
2956
  },
2933
2957
  plugins: [
2934
2958
  We,
2935
- V(({ addComponents: a }) => {
2959
+ $(({ addComponents: a }) => {
2936
2960
  a(Oe);
2937
2961
  }),
2938
- V(function({ matchUtilities: a, theme: r }) {
2962
+ $(function({ matchUtilities: a, theme: r }) {
2939
2963
  a(
2940
2964
  {
2941
2965
  "bg-deg-gradient": (e) => ({
@@ -2956,7 +2980,7 @@ class Xr extends Error {
2956
2980
  }
2957
2981
  const Zr = {
2958
2982
  "Content-Type": "application/json"
2959
- }, Cn = async ({ url: a, init: r, baseUrl: e }) => {
2983
+ }, Fn = async ({ url: a, init: r, baseUrl: e }) => {
2960
2984
  const t = (r == null ? void 0 : r.headers) ?? {}, n = (r == null ? void 0 : r.body) && (r == null ? void 0 : r.body), o = await fetch(`${e}${a}`, {
2961
2985
  headers: {
2962
2986
  ...Zr,
@@ -3106,8 +3130,8 @@ const Zr = {
3106
3130
  n
3107
3131
  )) })
3108
3132
  ] }, e)) }), on = ({ ligal: a, classes: r }) => {
3109
- const [e, t] = R.useState(!1), [n, o] = R.useState(!1), s = R.useRef(null);
3110
- return R.useEffect(() => {
3133
+ const [e, t] = B.useState(!1), [n, o] = B.useState(!1), s = B.useRef(null);
3134
+ return B.useEffect(() => {
3111
3135
  const u = s.current;
3112
3136
  u && o(u.scrollHeight > u.clientHeight);
3113
3137
  }, []), /* @__PURE__ */ i.jsxs("div", { className: d("mt-8 flex flex-col gap-4", r == null ? void 0 : r.ligalRoot), children: [
@@ -3126,7 +3150,7 @@ const Zr = {
3126
3150
  }
3127
3151
  )
3128
3152
  ] });
3129
- }, sn = ({ text: a, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("desk-body-regular-m text-color-footer", r == null ? void 0 : r.text), children: a }), On = ({
3153
+ }, sn = ({ text: a, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("desk-body-regular-m text-color-footer", r == null ? void 0 : r.text), children: a }), Yn = ({
3130
3154
  withSocial: a = !0,
3131
3155
  withPhones: r = !0,
3132
3156
  withNavLinks: e = !0,
@@ -3139,7 +3163,7 @@ const Zr = {
3139
3163
  ligal: x = Kr,
3140
3164
  copyright: k = Jr,
3141
3165
  classes: c
3142
- }) => /* @__PURE__ */ i.jsx(pe, { className: d("w-full", c == null ? void 0 : c.section), children: /* @__PURE__ */ i.jsx($, { 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: [
3166
+ }) => /* @__PURE__ */ i.jsx(pe, { className: d("w-full", c == null ? void 0 : c.section), children: /* @__PURE__ */ i.jsx(V, { 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: [
3143
3167
  /* @__PURE__ */ i.jsxs("div", { className: d("mb-8 flex items-center justify-between gap-6", c == null ? void 0 : c.footerHead), children: [
3144
3168
  /* @__PURE__ */ i.jsxs("div", { className: d(c == null ? void 0 : c.footerSocialBlock), children: [
3145
3169
  /* @__PURE__ */ i.jsx("a", { "aria-label": "logo", href: "/", className: d(c == null ? void 0 : c.footerLogo), children: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
@@ -3164,30 +3188,18 @@ const Zr = {
3164
3188
  )
3165
3189
  ] })
3166
3190
  ] }) }) }), dn = (a) => {
3167
- var r, e, t, n;
3168
3191
  switch (a.variant) {
3169
3192
  case "withButton":
3170
- return /* @__PURE__ */ i.jsx(he, { intent: "secondary", size: "sm", className: (r = a.classes) == null ? void 0 : r.button, children: "Оформить заявку" });
3193
+ return /* @__PURE__ */ i.jsx(he, { intent: "secondary", size: "sm", ...a.buttonProps, children: "Оформить заявку" });
3171
3194
  case "withPhone":
3172
- const { phone: o, phoneText: s } = a;
3173
- return /* @__PURE__ */ i.jsx(
3174
- be,
3175
- {
3176
- phone: o,
3177
- text: s,
3178
- classes: {
3179
- wrapper: (e = a.classes) == null ? void 0 : e.phoneWrapper,
3180
- text: (t = a.classes) == null ? void 0 : t.phoneText,
3181
- link: (n = a.classes) == null ? void 0 : n.phoneLink
3182
- }
3183
- }
3184
- );
3195
+ const { phone: r, phoneText: e } = a;
3196
+ return /* @__PURE__ */ i.jsx(be, { phone: r, text: e, ...a.phoneProps });
3185
3197
  default:
3186
3198
  return null;
3187
3199
  }
3188
- }, Fn = (a) => {
3200
+ }, Ln = (a) => {
3189
3201
  const { logoPath: r = "/", logoType: e = "main", classes: t } = a;
3190
- 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($, { 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: [
3202
+ 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(V, { 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: [
3191
3203
  /* @__PURE__ */ i.jsx(
3192
3204
  "a",
3193
3205
  {
@@ -3196,7 +3208,7 @@ const Zr = {
3196
3208
  target: "_blank",
3197
3209
  rel: "noreferrer",
3198
3210
  className: d(
3199
- "flex items-center justify-center [&_svg]:w-[114px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
3211
+ "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
3200
3212
  t == null ? void 0 : t.logo
3201
3213
  ),
3202
3214
  children: Ur[e]
@@ -3208,7 +3220,7 @@ const Zr = {
3208
3220
  "div",
3209
3221
  {
3210
3222
  className: d(
3211
- "border-color-blue-grey-500 flex w-[328px] max-w-[328px] flex-col gap-6 rounded-md border border-solid p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
3223
+ "flex w-[328px] max-w-[328px] flex-col gap-6 rounded-md border border-solid border-blue-grey-500 p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
3212
3224
  t == null ? void 0 : t.singleStep
3213
3225
  ),
3214
3226
  children: [
@@ -3228,13 +3240,13 @@ const Zr = {
3228
3240
  ] })
3229
3241
  ]
3230
3242
  }
3231
- ), Yn = ({ heading: a, stepsList: r, classes: e }) => /* @__PURE__ */ i.jsx(pe, { children: /* @__PURE__ */ i.jsx($, { children: /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col gap-12", e == null ? void 0 : e.root), children: [
3243
+ ), Wn = ({ heading: a, stepsList: r, classes: e }) => /* @__PURE__ */ i.jsx(pe, { children: /* @__PURE__ */ i.jsx(V, { children: /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col gap-12 desktop:items-start", e == null ? void 0 : e.root), children: [
3232
3244
  /* @__PURE__ */ i.jsx(xe, { as: "h2", className: d("text-color-dark", e == null ? void 0 : e.headline), children: a }),
3233
3245
  /* @__PURE__ */ i.jsx(
3234
3246
  "div",
3235
3247
  {
3236
3248
  className: d(
3237
- "flex flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
3249
+ "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
3238
3250
  e == null ? void 0 : e.stepsWrapper
3239
3251
  ),
3240
3252
  children: r == null ? void 0 : r.map((t, n) => /* @__PURE__ */ i.jsx(ln, { index: n + 1, ...t, classes: e }, t.title))
@@ -3333,7 +3345,7 @@ const Zr = {
3333
3345
  ] }),
3334
3346
  /* @__PURE__ */ i.jsx("p", { className: d("mob-body-regular-l text-color-secondary"), children: t })
3335
3347
  ] }) });
3336
- }, U = ({ intent: a, title: r, desktopHidden: e = !1, mobileHidden: t = !1 }) => /* @__PURE__ */ i.jsx("h2", { className: d(un({ intent: a, desktopHidden: e, mobileHidden: t })), children: r }), xn = ({ textContent: a, intent: r, withButton: e }) => /* @__PURE__ */ i.jsx("ul", { className: d(cn({ intent: r, withButton: e })), children: a == null ? void 0 : a.map((t, n) => /* @__PURE__ */ i.jsx(hn, { intent: r, data: t }, n)) }), Ln = ({
3348
+ }, U = ({ intent: a, title: r, desktopHidden: e = !1, mobileHidden: t = !1 }) => /* @__PURE__ */ i.jsx("h2", { className: d(un({ intent: a, desktopHidden: e, mobileHidden: t })), children: r }), xn = ({ textContent: a, intent: r, withButton: e }) => /* @__PURE__ */ i.jsx("ul", { className: d(cn({ intent: r, withButton: e })), children: a == null ? void 0 : a.map((t, n) => /* @__PURE__ */ i.jsx(hn, { intent: r, data: t }, n)) }), Hn = ({
3337
3349
  title: a,
3338
3350
  buttonConfig: r,
3339
3351
  intent: e = "twoItems",
@@ -3342,7 +3354,7 @@ const Zr = {
3342
3354
  classes: o
3343
3355
  }) => {
3344
3356
  const s = !!r, u = e === "fourItems", h = e === "twoItems";
3345
- return /* @__PURE__ */ i.jsx("section", { className: d(o == null ? void 0 : o.section), children: /* @__PURE__ */ i.jsxs($, { className: d(o == null ? void 0 : o.mainContainer), children: [
3357
+ return /* @__PURE__ */ i.jsx("section", { className: d(o == null ? void 0 : o.section), children: /* @__PURE__ */ i.jsxs(V, { className: d(o == null ? void 0 : o.mainContainer), children: [
3346
3358
  h && /* @__PURE__ */ i.jsx(U, { intent: e, title: a }),
3347
3359
  /* @__PURE__ */ i.jsxs(
3348
3360
  "div",
@@ -3380,52 +3392,55 @@ const Zr = {
3380
3392
  ] }) });
3381
3393
  };
3382
3394
  export {
3383
- An as Advantages,
3395
+ Bn as Advantages,
3384
3396
  Xr as ApiError,
3385
- Rn as Badge,
3386
- gn as Breadcrumbs,
3397
+ qn as Badge,
3398
+ kn as Breadcrumbs,
3387
3399
  he as Button,
3388
- kn as ButtonIcon,
3389
- vn as CustomLink,
3390
- Dn as Document,
3391
- On as Footer,
3400
+ vn as ButtonIcon,
3401
+ Dn as CustomLink,
3402
+ Tn as Document,
3403
+ Yn as Footer,
3392
3404
  xe as Heading,
3393
3405
  P as Icon,
3394
- Bn as Loader,
3395
- Ln as LongBanner,
3396
- Fn as PageHeader,
3406
+ zn as Loader,
3407
+ Hn as LongBanner,
3408
+ Ln as PageHeader,
3397
3409
  be as PhoneView,
3398
- Tn as ProgressBar,
3399
- $ as ResponsiveContainer,
3410
+ Pn as ProgressBar,
3411
+ V as ResponsiveContainer,
3400
3412
  se as RgxCheckForHyphen,
3401
3413
  Xe as RgxPatronymic,
3402
3414
  Ge as RgxUnicode,
3403
3415
  pe as Section,
3404
- Pn as Skeleton,
3405
- Yn as Stepper,
3406
- B as VALIDATION_MESSAGES,
3416
+ Nn as Skeleton,
3417
+ Wn as Stepper,
3418
+ Y as VALIDATION_MESSAGES,
3407
3419
  z as allowedBackgroundColors,
3408
- _e as allowedBackgroundDeg,
3420
+ Me as allowedBackgroundDeg,
3409
3421
  Ie as allowedBannersBackgroundColors,
3410
- Me as allowedBorderRadius,
3422
+ _e as allowedBorderRadius,
3411
3423
  Ee as allowedFontSize,
3412
3424
  E as allowedIconsColors,
3413
3425
  Ce as allowedLineHeight,
3414
3426
  Q as allowedStrokeColors,
3415
3427
  je as allowedTextColors,
3416
3428
  Oe as allowedTextStyles,
3417
- Vr as allowedZIndex,
3418
- Cn as apiInstance,
3429
+ $r as allowedZIndex,
3430
+ Fn as apiInstance,
3419
3431
  yn as capitalize,
3420
3432
  d as cn,
3421
3433
  Zr as defaultHeaders,
3422
- _n as extendsPreset,
3434
+ Cn as extendsPreset,
3423
3435
  Ze as formattedDadataFio,
3424
- qn as isClient,
3425
- En as resetPreset,
3426
- Mn as tailwindConfigBase,
3427
- jn as zodCalendarValidate,
3428
- Nn as zodDadataFioSchema,
3429
- In as zodPhoneSchema
3436
+ Qn as isClient,
3437
+ gn as mergeRefs,
3438
+ On as resetPreset,
3439
+ $n as scrollToElement,
3440
+ En as tailwindConfigBase,
3441
+ In as zodCalendarValidate,
3442
+ jn as zodDadataFioSchema,
3443
+ Mn as zodOtpCodeSchema,
3444
+ _n as zodPhoneSchema
3430
3445
  };
3431
3446
  //# sourceMappingURL=hybrid.js.map