@scbt-ecom/ui 0.11.2 → 0.12.1

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,9 +1,9 @@
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 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";
4
+ import { j as i, c as d, I as P, a as O, R as A, B as J, z as D, g as he, H as xe, P as Re } from "./Advantages-1Y5pepJl.js";
5
+ import { A as zn, b as qn, L as Qn, i as $n, s as Vn } from "./Advantages-1Y5pepJl.js";
6
+ import * as z from "react";
7
7
  import { forwardRef as Be } from "react";
8
8
  const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()).join("-"), gn = (...a) => {
9
9
  const r = a.filter(Boolean);
@@ -42,7 +42,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
42
42
  )
43
43
  ]
44
44
  }
45
- ) : /* @__PURE__ */ i.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: r.label }) })) }), qe = O(
45
+ ) : /* @__PURE__ */ i.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: r.label }) })) }), ze = O(
46
46
  "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",
47
47
  {
48
48
  variants: {
@@ -63,8 +63,8 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
63
63
  }
64
64
  }
65
65
  ), vn = Be(
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 }) })
67
- ), ze = O(
66
+ ({ size: a, intent: r, children: e, classes: t, type: n = "button", ...o }, s) => /* @__PURE__ */ i.jsx("button", { ref: s, type: n, className: d(ze({ 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 }) })
67
+ ), qe = O(
68
68
  "group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
69
69
  {
70
70
  variants: {
@@ -116,7 +116,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
116
116
  size: o,
117
117
  icon: s = "arrows/arrowLink",
118
118
  ...u
119
- }) => /* @__PURE__ */ i.jsxs(a, { className: d(ze({ intent: r, withIcon: t, disabled: n, size: o })), ...u, children: [
119
+ }) => /* @__PURE__ */ i.jsxs(a, { className: d(qe({ intent: r, withIcon: t, disabled: n, size: o })), ...u, children: [
120
120
  e,
121
121
  t && /* @__PURE__ */ i.jsx(P, { name: s, className: d(Qe({ intent: r, disabled: n })) })
122
122
  ] }), $e = O("size-8 transition-colors", {
@@ -186,7 +186,24 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
186
186
  )
187
187
  ] }),
188
188
  r && /* @__PURE__ */ i.jsx("div", { className: d("mt-2 flex justify-between gap-5", n == null ? void 0 : n.bottomContent), children: r })
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 = {
189
+ ] }), Nn = ({ className: a }) => /* @__PURE__ */ i.jsx("div", { className: d("skeleton-apply h-full w-full", a) }), Ge = {
190
+ main: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoMain" }),
191
+ white: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoWhite" }),
192
+ gray: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoGray" }),
193
+ black: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoBlack" }),
194
+ business: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoBusiness" }),
195
+ insurance: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoInsurance" })
196
+ }, jn = ({ isVisible: a, classes: r }) => /* @__PURE__ */ i.jsx(
197
+ A,
198
+ {
199
+ className: d(
200
+ "fixed bottom-0 left-1/2 z-[60] w-full -translate-x-1/2 bg-color-white py-4 transition-transform desktop:hidden",
201
+ { "bottom-[-100%]": !a },
202
+ r == null ? void 0 : r.root
203
+ ),
204
+ children: /* @__PURE__ */ i.jsx(J, { size: "lg", className: d("m-auto w-full max-w-[328px]", r == null ? void 0 : r.button), children: "Оформить заявку" })
205
+ }
206
+ ), Xe = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, de = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, Ze = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, Y = {
190
207
  REQUIRED: "Поле обязательно к заполнению",
191
208
  MIN_LENGTH: "Минимальная длина символов должна быть не менее",
192
209
  MAX_LENGTH: "Максимальная длина символов должна быть не более",
@@ -197,35 +214,35 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
197
214
  INVALID_VALUE: "Поле заполнено некорректно",
198
215
  INVALID_DATE: "Введите корректную дату",
199
216
  FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
200
- }, Ze = (a) => {
217
+ }, Ue = (a) => {
201
218
  const r = a.trim().replace(/\s+/g, " ").split(" "), [e, t, ...n] = r, o = n == null ? void 0 : n.join(" ");
202
219
  return {
203
220
  surname: e,
204
221
  name: t,
205
222
  patronymic: o
206
223
  };
207
- }, jn = D.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((a, r) => {
208
- Ge.test(a) || r.addIssue({
224
+ }, In = D.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((a, r) => {
225
+ Xe.test(a) || r.addIssue({
209
226
  code: D.ZodIssueCode.custom,
210
227
  message: "Должна быть только кириллица"
211
228
  });
212
- const { surname: e, name: t, patronymic: n } = Ze(a);
229
+ const { surname: e, name: t, patronymic: n } = Ue(a);
213
230
  (!e || !t) && r.addIssue({
214
231
  code: D.ZodIssueCode.custom,
215
232
  message: "Введите имя и фамилию"
216
- }), se.test(t) || r.addIssue({
233
+ }), de.test(t) || r.addIssue({
217
234
  code: D.ZodIssueCode.custom,
218
235
  message: "Неверно введено имя"
219
- }), se.test(e) || r.addIssue({
236
+ }), de.test(e) || r.addIssue({
220
237
  code: D.ZodIssueCode.custom,
221
238
  message: "Неверно введена фамилия"
222
- }), n && (Xe.test(n) || r.addIssue({
239
+ }), n && (Ze.test(n) || r.addIssue({
223
240
  code: D.ZodIssueCode.custom,
224
241
  message: "Неверно введено отчество"
225
242
  }));
226
- }), we = 6048e5, Ue = 6e4, Je = 36e5, Ke = 1e3, de = Symbol.for("constructDateFrom");
243
+ }), we = 6048e5, Je = 6e4, Ke = 36e5, Se = 1e3, le = Symbol.for("constructDateFrom");
227
244
  function v(a, r) {
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);
245
+ return typeof a == "function" ? a(r) : a && typeof a == "object" && le in a ? a[le](r) : a instanceof Date ? new a.constructor(r) : new Date(r);
229
246
  }
230
247
  function T(a, r) {
231
248
  return v(r || a, a);
@@ -234,19 +251,19 @@ function ye(a, r, e) {
234
251
  const t = T(a, e == null ? void 0 : e.in);
235
252
  return isNaN(r) ? v((e == null ? void 0 : e.in) || a, NaN) : (r && t.setDate(t.getDate() + r), t);
236
253
  }
237
- let Se = {};
238
- function A() {
239
- return Se;
254
+ let et = {};
255
+ function R() {
256
+ return et;
240
257
  }
241
258
  function C(a, r) {
242
259
  var u, h, x, k;
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;
260
+ const e = R(), 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;
244
261
  return n.setDate(n.getDate() - s), n.setHours(0, 0, 0, 0), n;
245
262
  }
246
263
  function L(a, r) {
247
264
  return C(a, { ...r, weekStartsOn: 1 });
248
265
  }
249
- function et(a, r) {
266
+ function tt(a, r) {
250
267
  const e = T(a, r == null ? void 0 : r.in), t = e.getFullYear(), n = v(e, 0);
251
268
  n.setFullYear(t + 1, 0, 4), n.setHours(0, 0, 0, 0);
252
269
  const o = L(n), s = v(e, 0);
@@ -268,17 +285,17 @@ function ge(a) {
268
285
  );
269
286
  return e.setUTCFullYear(r.getFullYear()), +a - +e;
270
287
  }
271
- function tt(a, r) {
272
- const e = et(a, r), t = v(a, 0);
288
+ function rt(a, r) {
289
+ const e = tt(a, r), t = v(a, 0);
273
290
  return t.setFullYear(e, 0, 4), t.setHours(0, 0, 0, 0), L(t);
274
291
  }
275
- function rt(a) {
292
+ function nt(a) {
276
293
  return a instanceof Date || typeof a == "object" && Object.prototype.toString.call(a) === "[object Date]";
277
294
  }
278
- function nt(a) {
279
- return !(!rt(a) && typeof a != "number" || isNaN(+T(a)));
295
+ function at(a) {
296
+ return !(!nt(a) && typeof a != "number" || isNaN(+T(a)));
280
297
  }
281
- const at = {
298
+ const ot = {
282
299
  lessThanXSeconds: {
283
300
  one: "less than a second",
284
301
  other: "less than {{count}} seconds"
@@ -340,9 +357,9 @@ const at = {
340
357
  one: "almost 1 year",
341
358
  other: "almost {{count}} years"
342
359
  }
343
- }, ot = (a, r, e) => {
360
+ }, it = (a, r, e) => {
344
361
  let t;
345
- const n = at[a];
362
+ const n = ot[a];
346
363
  return typeof n == "string" ? t = n : r === 1 ? t = n.one : t = n.other.replace("{{count}}", r.toString()), e != null && e.addSuffix ? e.comparison && e.comparison > 0 ? "in " + t : t + " ago" : t;
347
364
  };
348
365
  function X(a) {
@@ -351,42 +368,42 @@ function X(a) {
351
368
  return a.formats[e] || a.formats[a.defaultWidth];
352
369
  };
353
370
  }
354
- const it = {
371
+ const st = {
355
372
  full: "EEEE, MMMM do, y",
356
373
  long: "MMMM do, y",
357
374
  medium: "MMM d, y",
358
375
  short: "MM/dd/yyyy"
359
- }, st = {
376
+ }, dt = {
360
377
  full: "h:mm:ss a zzzz",
361
378
  long: "h:mm:ss a z",
362
379
  medium: "h:mm:ss a",
363
380
  short: "h:mm a"
364
- }, dt = {
381
+ }, lt = {
365
382
  full: "{{date}} 'at' {{time}}",
366
383
  long: "{{date}} 'at' {{time}}",
367
384
  medium: "{{date}}, {{time}}",
368
385
  short: "{{date}}, {{time}}"
369
- }, lt = {
386
+ }, ut = {
370
387
  date: X({
371
- formats: it,
388
+ formats: st,
372
389
  defaultWidth: "full"
373
390
  }),
374
391
  time: X({
375
- formats: st,
392
+ formats: dt,
376
393
  defaultWidth: "full"
377
394
  }),
378
395
  dateTime: X({
379
- formats: dt,
396
+ formats: lt,
380
397
  defaultWidth: "full"
381
398
  })
382
- }, ut = {
399
+ }, ct = {
383
400
  lastWeek: "'last' eeee 'at' p",
384
401
  yesterday: "'yesterday at' p",
385
402
  today: "'today at' p",
386
403
  tomorrow: "'tomorrow at' p",
387
404
  nextWeek: "eeee 'at' p",
388
405
  other: "P"
389
- }, ct = (a, r, e, t) => ut[a];
406
+ }, ft = (a, r, e, t) => ct[a];
390
407
  function W(a) {
391
408
  return (r, e) => {
392
409
  const t = e != null && e.context ? String(e.context) : "standalone";
@@ -402,15 +419,15 @@ function W(a) {
402
419
  return n[o];
403
420
  };
404
421
  }
405
- const ft = {
422
+ const mt = {
406
423
  narrow: ["B", "A"],
407
424
  abbreviated: ["BC", "AD"],
408
425
  wide: ["Before Christ", "Anno Domini"]
409
- }, mt = {
426
+ }, ht = {
410
427
  narrow: ["1", "2", "3", "4"],
411
428
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
412
429
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
413
- }, ht = {
430
+ }, xt = {
414
431
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
415
432
  abbreviated: [
416
433
  "Jan",
@@ -440,7 +457,7 @@ const ft = {
440
457
  "November",
441
458
  "December"
442
459
  ]
443
- }, xt = {
460
+ }, pt = {
444
461
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
445
462
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
446
463
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -453,7 +470,7 @@ const ft = {
453
470
  "Friday",
454
471
  "Saturday"
455
472
  ]
456
- }, pt = {
473
+ }, bt = {
457
474
  narrow: {
458
475
  am: "a",
459
476
  pm: "p",
@@ -484,7 +501,7 @@ const ft = {
484
501
  evening: "evening",
485
502
  night: "night"
486
503
  }
487
- }, bt = {
504
+ }, wt = {
488
505
  narrow: {
489
506
  am: "a",
490
507
  pm: "p",
@@ -515,7 +532,7 @@ const ft = {
515
532
  evening: "in the evening",
516
533
  night: "at night"
517
534
  }
518
- }, wt = (a, r) => {
535
+ }, yt = (a, r) => {
519
536
  const e = Number(a), t = e % 100;
520
537
  if (t > 20 || t < 10)
521
538
  switch (t % 10) {
@@ -527,29 +544,29 @@ const ft = {
527
544
  return e + "rd";
528
545
  }
529
546
  return e + "th";
530
- }, yt = {
531
- ordinalNumber: wt,
547
+ }, gt = {
548
+ ordinalNumber: yt,
532
549
  era: W({
533
- values: ft,
550
+ values: mt,
534
551
  defaultWidth: "wide"
535
552
  }),
536
553
  quarter: W({
537
- values: mt,
554
+ values: ht,
538
555
  defaultWidth: "wide",
539
556
  argumentCallback: (a) => a - 1
540
557
  }),
541
558
  month: W({
542
- values: ht,
559
+ values: xt,
543
560
  defaultWidth: "wide"
544
561
  }),
545
562
  day: W({
546
- values: xt,
563
+ values: pt,
547
564
  defaultWidth: "wide"
548
565
  }),
549
566
  dayPeriod: W({
550
- values: pt,
567
+ values: bt,
551
568
  defaultWidth: "wide",
552
- formattingValues: bt,
569
+ formattingValues: wt,
553
570
  defaultFormattingWidth: "wide"
554
571
  })
555
572
  };
@@ -558,9 +575,9 @@ function H(a) {
558
575
  const t = e.width, n = t && a.matchPatterns[t] || a.matchPatterns[a.defaultMatchWidth], o = r.match(n);
559
576
  if (!o)
560
577
  return null;
561
- const s = o[0], u = t && a.parsePatterns[t] || a.parsePatterns[a.defaultParseWidth], h = Array.isArray(u) ? kt(u, (c) => c.test(s)) : (
578
+ const s = o[0], u = t && a.parsePatterns[t] || a.parsePatterns[a.defaultParseWidth], h = Array.isArray(u) ? vt(u, (c) => c.test(s)) : (
562
579
  // [TODO] -- I challenge you to fix the type
563
- gt(u, (c) => c.test(s))
580
+ kt(u, (c) => c.test(s))
564
581
  );
565
582
  let x;
566
583
  x = a.valueCallback ? a.valueCallback(h) : h, x = e.valueCallback ? (
@@ -571,17 +588,17 @@ function H(a) {
571
588
  return { value: x, rest: k };
572
589
  };
573
590
  }
574
- function gt(a, r) {
591
+ function kt(a, r) {
575
592
  for (const e in a)
576
593
  if (Object.prototype.hasOwnProperty.call(a, e) && r(a[e]))
577
594
  return e;
578
595
  }
579
- function kt(a, r) {
596
+ function vt(a, r) {
580
597
  for (let e = 0; e < a.length; e++)
581
598
  if (r(a[e]))
582
599
  return e;
583
600
  }
584
- function vt(a) {
601
+ function Dt(a) {
585
602
  return (r, e = {}) => {
586
603
  const t = r.match(a.matchPattern);
587
604
  if (!t) return null;
@@ -593,23 +610,23 @@ function vt(a) {
593
610
  return { value: s, rest: u };
594
611
  };
595
612
  }
596
- const Dt = /^(\d+)(th|st|nd|rd)?/i, Tt = /\d+/i, Pt = {
613
+ const Tt = /^(\d+)(th|st|nd|rd)?/i, Pt = /\d+/i, Nt = {
597
614
  narrow: /^(b|a)/i,
598
615
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
599
616
  wide: /^(before christ|before common era|anno domini|common era)/i
600
- }, Nt = {
601
- any: [/^b/i, /^(a|c)/i]
602
617
  }, jt = {
618
+ any: [/^b/i, /^(a|c)/i]
619
+ }, It = {
603
620
  narrow: /^[1234]/i,
604
621
  abbreviated: /^q[1234]/i,
605
622
  wide: /^[1234](th|st|nd|rd)? quarter/i
606
- }, It = {
607
- any: [/1/i, /2/i, /3/i, /4/i]
608
623
  }, _t = {
624
+ any: [/1/i, /2/i, /3/i, /4/i]
625
+ }, Mt = {
609
626
  narrow: /^[jfmasond]/i,
610
627
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
611
628
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
612
- }, Mt = {
629
+ }, Et = {
613
630
  narrow: [
614
631
  /^j/i,
615
632
  /^f/i,
@@ -638,18 +655,18 @@ const Dt = /^(\d+)(th|st|nd|rd)?/i, Tt = /\d+/i, Pt = {
638
655
  /^n/i,
639
656
  /^d/i
640
657
  ]
641
- }, Et = {
658
+ }, Ct = {
642
659
  narrow: /^[smtwf]/i,
643
660
  short: /^(su|mo|tu|we|th|fr|sa)/i,
644
661
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
645
662
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
646
- }, Ct = {
663
+ }, Ot = {
647
664
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
648
665
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
649
- }, Ot = {
666
+ }, Ft = {
650
667
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
651
668
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
652
- }, Ft = {
669
+ }, Yt = {
653
670
  any: {
654
671
  am: /^a/i,
655
672
  pm: /^p/i,
@@ -660,78 +677,78 @@ const Dt = /^(\d+)(th|st|nd|rd)?/i, Tt = /\d+/i, Pt = {
660
677
  evening: /evening/i,
661
678
  night: /night/i
662
679
  }
663
- }, Yt = {
664
- ordinalNumber: vt({
665
- matchPattern: Dt,
666
- parsePattern: Tt,
680
+ }, Lt = {
681
+ ordinalNumber: Dt({
682
+ matchPattern: Tt,
683
+ parsePattern: Pt,
667
684
  valueCallback: (a) => parseInt(a, 10)
668
685
  }),
669
686
  era: H({
670
- matchPatterns: Pt,
687
+ matchPatterns: Nt,
671
688
  defaultMatchWidth: "wide",
672
- parsePatterns: Nt,
689
+ parsePatterns: jt,
673
690
  defaultParseWidth: "any"
674
691
  }),
675
692
  quarter: H({
676
- matchPatterns: jt,
693
+ matchPatterns: It,
677
694
  defaultMatchWidth: "wide",
678
- parsePatterns: It,
695
+ parsePatterns: _t,
679
696
  defaultParseWidth: "any",
680
697
  valueCallback: (a) => a + 1
681
698
  }),
682
699
  month: H({
683
- matchPatterns: _t,
700
+ matchPatterns: Mt,
684
701
  defaultMatchWidth: "wide",
685
- parsePatterns: Mt,
702
+ parsePatterns: Et,
686
703
  defaultParseWidth: "any"
687
704
  }),
688
705
  day: H({
689
- matchPatterns: Et,
706
+ matchPatterns: Ct,
690
707
  defaultMatchWidth: "wide",
691
- parsePatterns: Ct,
708
+ parsePatterns: Ot,
692
709
  defaultParseWidth: "any"
693
710
  }),
694
711
  dayPeriod: H({
695
- matchPatterns: Ot,
712
+ matchPatterns: Ft,
696
713
  defaultMatchWidth: "any",
697
- parsePatterns: Ft,
714
+ parsePatterns: Yt,
698
715
  defaultParseWidth: "any"
699
716
  })
700
- }, Lt = {
717
+ }, Wt = {
701
718
  code: "en-US",
702
- formatDistance: ot,
703
- formatLong: lt,
704
- formatRelative: ct,
705
- localize: yt,
706
- match: Yt,
719
+ formatDistance: it,
720
+ formatLong: ut,
721
+ formatRelative: ft,
722
+ localize: gt,
723
+ match: Lt,
707
724
  options: {
708
725
  weekStartsOn: 0,
709
726
  firstWeekContainsDate: 1
710
727
  }
711
728
  };
712
- function Wt(a, r) {
713
- const e = T(a, r == null ? void 0 : r.in), t = +L(e) - +tt(e);
729
+ function Ht(a, r) {
730
+ const e = T(a, r == null ? void 0 : r.in), t = +L(e) - +rt(e);
714
731
  return Math.round(t / we) + 1;
715
732
  }
716
733
  function ke(a, r) {
717
734
  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);
735
+ const e = T(a, r == null ? void 0 : r.in), t = e.getFullYear(), n = R(), 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);
719
736
  s.setFullYear(t + 1, 0, o), s.setHours(0, 0, 0, 0);
720
737
  const u = C(s, r), h = v((r == null ? void 0 : r.in) || a, 0);
721
738
  h.setFullYear(t, 0, o), h.setHours(0, 0, 0, 0);
722
739
  const x = C(h, r);
723
740
  return +e >= +u ? t + 1 : +e >= +x ? t : t - 1;
724
741
  }
725
- function Ht(a, r) {
742
+ function At(a, r) {
726
743
  var u, h, x, k;
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);
744
+ const e = R(), 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);
728
745
  return o.setFullYear(n, 0, t), o.setHours(0, 0, 0, 0), C(o, r);
729
746
  }
730
- function At(a, r) {
731
- const e = T(a, r == null ? void 0 : r.in), t = +C(e, r) - +Ht(e, r);
747
+ function Rt(a, r) {
748
+ const e = T(a, r == null ? void 0 : r.in), t = +C(e, r) - +At(e, r);
732
749
  return Math.round(t / we) + 1;
733
750
  }
734
- const le = (a, r) => {
751
+ const ue = (a, r) => {
735
752
  switch (a) {
736
753
  case "P":
737
754
  return r.date({ width: "short" });
@@ -755,10 +772,10 @@ const le = (a, r) => {
755
772
  default:
756
773
  return r.time({ width: "full" });
757
774
  }
758
- }, Rt = (a, r) => {
775
+ }, Bt = (a, r) => {
759
776
  const e = a.match(/(P+)(p+)?/) || [], t = e[1], n = e[2];
760
777
  if (!n)
761
- return le(a, r);
778
+ return ue(a, r);
762
779
  let o;
763
780
  switch (t) {
764
781
  case "P":
@@ -775,34 +792,34 @@ const le = (a, r) => {
775
792
  o = r.dateTime({ width: "full" });
776
793
  break;
777
794
  }
778
- return o.replace("{{date}}", le(t, r)).replace("{{time}}", ve(n, r));
779
- }, ue = {
795
+ return o.replace("{{date}}", ue(t, r)).replace("{{time}}", ve(n, r));
796
+ }, ce = {
780
797
  p: ve,
781
- P: Rt
782
- }, Bt = /^D+$/, qt = /^Y+$/, zt = ["D", "DD", "YY", "YYYY"];
783
- function Qt(a) {
784
- return Bt.test(a);
785
- }
798
+ P: Bt
799
+ }, zt = /^D+$/, qt = /^Y+$/, Qt = ["D", "DD", "YY", "YYYY"];
786
800
  function $t(a) {
801
+ return zt.test(a);
802
+ }
803
+ function Vt(a) {
787
804
  return qt.test(a);
788
805
  }
789
- function ce(a, r, e) {
790
- const t = Vt(a, r, e);
791
- if (console.warn(t), zt.includes(a)) throw new RangeError(t);
806
+ function fe(a, r, e) {
807
+ const t = Gt(a, r, e);
808
+ if (console.warn(t), Qt.includes(a)) throw new RangeError(t);
792
809
  }
793
- function Vt(a, r, e) {
810
+ function Gt(a, r, e) {
794
811
  const t = a[0] === "Y" ? "years" : "days of the month";
795
812
  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`;
796
813
  }
797
- function Gt() {
798
- return Object.assign({}, A());
814
+ function Xt() {
815
+ return Object.assign({}, R());
799
816
  }
800
- function Xt(a, r) {
817
+ function Zt(a, r) {
801
818
  const e = T(a, r == null ? void 0 : r.in).getDay();
802
819
  return e === 0 ? 7 : e;
803
820
  }
804
- function Zt(a, r) {
805
- const e = Ut(r) ? new r(0) : v(r, 0);
821
+ function Ut(a, r) {
822
+ const e = Jt(r) ? new r(0) : v(r, 0);
806
823
  return e.setFullYear(a.getFullYear(), a.getMonth(), a.getDate()), e.setHours(
807
824
  a.getHours(),
808
825
  a.getMinutes(),
@@ -810,11 +827,11 @@ function Zt(a, r) {
810
827
  a.getMilliseconds()
811
828
  ), e;
812
829
  }
813
- function Ut(a) {
830
+ function Jt(a) {
814
831
  var r;
815
832
  return typeof a == "function" && ((r = a.prototype) == null ? void 0 : r.constructor) === a;
816
833
  }
817
- const Jt = 10;
834
+ const Kt = 10;
818
835
  class De {
819
836
  constructor() {
820
837
  l(this, "subPriority", 0);
@@ -823,7 +840,7 @@ class De {
823
840
  return !0;
824
841
  }
825
842
  }
826
- class Kt extends De {
843
+ class St extends De {
827
844
  constructor(r, e, t, n, o) {
828
845
  super(), this.value = r, this.validateValue = e, this.setValue = t, this.priority = n, o && (this.subPriority = o);
829
846
  }
@@ -834,22 +851,22 @@ class Kt extends De {
834
851
  return this.setValue(r, e, this.value, t);
835
852
  }
836
853
  }
837
- class St extends De {
854
+ class er extends De {
838
855
  constructor(e, t) {
839
856
  super();
840
- l(this, "priority", Jt);
857
+ l(this, "priority", Kt);
841
858
  l(this, "subPriority", -1);
842
859
  this.context = e || ((n) => v(t, n));
843
860
  }
844
861
  set(e, t) {
845
- return t.timestampIsSet ? e : v(e, Zt(e, this.context));
862
+ return t.timestampIsSet ? e : v(e, Ut(e, this.context));
846
863
  }
847
864
  }
848
865
  class m {
849
866
  run(r, e, t, n) {
850
867
  const o = this.parse(r, e, t, n);
851
868
  return o ? {
852
- setter: new Kt(
869
+ setter: new St(
853
870
  o.value,
854
871
  this.validate,
855
872
  this.set,
@@ -863,7 +880,7 @@ class m {
863
880
  return !0;
864
881
  }
865
882
  }
866
- class er extends m {
883
+ class tr extends m {
867
884
  constructor() {
868
885
  super(...arguments);
869
886
  l(this, "priority", 140);
@@ -955,7 +972,7 @@ function I(a, r) {
955
972
  };
956
973
  const t = e[1] === "+" ? 1 : -1, n = e[2] ? parseInt(e[2], 10) : 0, o = e[3] ? parseInt(e[3], 10) : 0, s = e[5] ? parseInt(e[5], 10) : 0;
957
974
  return {
958
- value: t * (n * Je + o * Ue + s * Ke),
975
+ value: t * (n * Ke + o * Je + s * Se),
959
976
  rest: r.slice(e[0].length)
960
977
  };
961
978
  }
@@ -990,7 +1007,7 @@ function q(a, r) {
990
1007
  return p(new RegExp("^-?\\d{1," + a + "}"), r);
991
1008
  }
992
1009
  }
993
- function J(a) {
1010
+ function K(a) {
994
1011
  switch (a) {
995
1012
  case "morning":
996
1013
  return 4;
@@ -1021,7 +1038,7 @@ function Pe(a, r) {
1021
1038
  function Ne(a) {
1022
1039
  return a % 400 === 0 || a % 4 === 0 && a % 100 !== 0;
1023
1040
  }
1024
- class tr extends m {
1041
+ class rr extends m {
1025
1042
  constructor() {
1026
1043
  super(...arguments);
1027
1044
  l(this, "priority", 130);
@@ -1062,7 +1079,7 @@ class tr extends m {
1062
1079
  return e.setFullYear(s, 0, 1), e.setHours(0, 0, 0, 0), e;
1063
1080
  }
1064
1081
  }
1065
- class rr extends m {
1082
+ class nr extends m {
1066
1083
  constructor() {
1067
1084
  super(...arguments);
1068
1085
  l(this, "priority", 130);
@@ -1121,7 +1138,7 @@ class rr extends m {
1121
1138
  return e.setFullYear(u, 0, o.firstWeekContainsDate), e.setHours(0, 0, 0, 0), C(e, o);
1122
1139
  }
1123
1140
  }
1124
- class nr extends m {
1141
+ class ar extends m {
1125
1142
  constructor() {
1126
1143
  super(...arguments);
1127
1144
  l(this, "priority", 130);
@@ -1151,7 +1168,7 @@ class nr extends m {
1151
1168
  return o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0), L(o);
1152
1169
  }
1153
1170
  }
1154
- class ar extends m {
1171
+ class or extends m {
1155
1172
  constructor() {
1156
1173
  super(...arguments);
1157
1174
  l(this, "priority", 130);
@@ -1164,7 +1181,7 @@ class ar extends m {
1164
1181
  return e.setFullYear(n, 0, 1), e.setHours(0, 0, 0, 0), e;
1165
1182
  }
1166
1183
  }
1167
- class or extends m {
1184
+ class ir extends m {
1168
1185
  constructor() {
1169
1186
  super(...arguments);
1170
1187
  l(this, "priority", 120);
@@ -1226,7 +1243,7 @@ class or extends m {
1226
1243
  return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
1227
1244
  }
1228
1245
  }
1229
- class ir extends m {
1246
+ class sr extends m {
1230
1247
  constructor() {
1231
1248
  super(...arguments);
1232
1249
  l(this, "priority", 120);
@@ -1288,7 +1305,7 @@ class ir extends m {
1288
1305
  return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
1289
1306
  }
1290
1307
  }
1291
- class sr extends m {
1308
+ class dr extends m {
1292
1309
  constructor() {
1293
1310
  super(...arguments);
1294
1311
  l(this, "incompatibleTokens", [
@@ -1350,7 +1367,7 @@ class sr extends m {
1350
1367
  return e.setMonth(n, 1), e.setHours(0, 0, 0, 0), e;
1351
1368
  }
1352
1369
  }
1353
- class dr extends m {
1370
+ class lr extends m {
1354
1371
  constructor() {
1355
1372
  super(...arguments);
1356
1373
  l(this, "priority", 110);
@@ -1412,11 +1429,11 @@ class dr extends m {
1412
1429
  return e.setMonth(n, 1), e.setHours(0, 0, 0, 0), e;
1413
1430
  }
1414
1431
  }
1415
- function lr(a, r, e) {
1416
- const t = T(a, e == null ? void 0 : e.in), n = At(t, e) - r;
1432
+ function ur(a, r, e) {
1433
+ const t = T(a, e == null ? void 0 : e.in), n = Rt(t, e) - r;
1417
1434
  return t.setDate(t.getDate() - n * 7), T(t, e == null ? void 0 : e.in);
1418
1435
  }
1419
- class ur extends m {
1436
+ class cr extends m {
1420
1437
  constructor() {
1421
1438
  super(...arguments);
1422
1439
  l(this, "priority", 100);
@@ -1450,14 +1467,14 @@ class ur extends m {
1450
1467
  return t >= 1 && t <= 53;
1451
1468
  }
1452
1469
  set(e, t, n, o) {
1453
- return C(lr(e, n, o), o);
1470
+ return C(ur(e, n, o), o);
1454
1471
  }
1455
1472
  }
1456
- function cr(a, r, e) {
1457
- const t = T(a, e == null ? void 0 : e.in), n = Wt(t, e) - r;
1473
+ function fr(a, r, e) {
1474
+ const t = T(a, e == null ? void 0 : e.in), n = Ht(t, e) - r;
1458
1475
  return t.setDate(t.getDate() - n * 7), t;
1459
1476
  }
1460
- class fr extends m {
1477
+ class mr extends m {
1461
1478
  constructor() {
1462
1479
  super(...arguments);
1463
1480
  l(this, "priority", 100);
@@ -1492,10 +1509,10 @@ class fr extends m {
1492
1509
  return t >= 1 && t <= 53;
1493
1510
  }
1494
1511
  set(e, t, n) {
1495
- return L(cr(e, n));
1512
+ return L(fr(e, n));
1496
1513
  }
1497
1514
  }
1498
- const mr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], hr = [
1515
+ const hr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], xr = [
1499
1516
  31,
1500
1517
  29,
1501
1518
  31,
@@ -1509,7 +1526,7 @@ const mr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], hr = [
1509
1526
  30,
1510
1527
  31
1511
1528
  ];
1512
- class xr extends m {
1529
+ class pr extends m {
1513
1530
  constructor() {
1514
1531
  super(...arguments);
1515
1532
  l(this, "priority", 90);
@@ -1541,13 +1558,13 @@ class xr extends m {
1541
1558
  }
1542
1559
  validate(e, t) {
1543
1560
  const n = e.getFullYear(), o = Ne(n), s = e.getMonth();
1544
- return o ? t >= 1 && t <= hr[s] : t >= 1 && t <= mr[s];
1561
+ return o ? t >= 1 && t <= xr[s] : t >= 1 && t <= hr[s];
1545
1562
  }
1546
1563
  set(e, t, n) {
1547
1564
  return e.setDate(n), e.setHours(0, 0, 0, 0), e;
1548
1565
  }
1549
1566
  }
1550
- class pr extends m {
1567
+ class br extends m {
1551
1568
  constructor() {
1552
1569
  super(...arguments);
1553
1570
  l(this, "priority", 90);
@@ -1589,12 +1606,12 @@ class pr extends m {
1589
1606
  return e.setMonth(0, n), e.setHours(0, 0, 0, 0), e;
1590
1607
  }
1591
1608
  }
1592
- function K(a, r, e) {
1609
+ function S(a, r, e) {
1593
1610
  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;
1611
+ const t = R(), 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;
1595
1612
  return ye(o, k, e);
1596
1613
  }
1597
- class br extends m {
1614
+ class wr extends m {
1598
1615
  constructor() {
1599
1616
  super(...arguments);
1600
1617
  l(this, "priority", 90);
@@ -1628,10 +1645,10 @@ class br extends m {
1628
1645
  return t >= 0 && t <= 6;
1629
1646
  }
1630
1647
  set(e, t, n, o) {
1631
- return e = K(e, n, o), e.setHours(0, 0, 0, 0), e;
1648
+ return e = S(e, n, o), e.setHours(0, 0, 0, 0), e;
1632
1649
  }
1633
1650
  }
1634
- class wr extends m {
1651
+ class yr extends m {
1635
1652
  constructor() {
1636
1653
  super(...arguments);
1637
1654
  l(this, "priority", 90);
@@ -1693,10 +1710,10 @@ class wr extends m {
1693
1710
  return t >= 0 && t <= 6;
1694
1711
  }
1695
1712
  set(e, t, n, o) {
1696
- return e = K(e, n, o), e.setHours(0, 0, 0, 0), e;
1713
+ return e = S(e, n, o), e.setHours(0, 0, 0, 0), e;
1697
1714
  }
1698
1715
  }
1699
- class yr extends m {
1716
+ class gr extends m {
1700
1717
  constructor() {
1701
1718
  super(...arguments);
1702
1719
  l(this, "priority", 90);
@@ -1758,14 +1775,14 @@ class yr extends m {
1758
1775
  return t >= 0 && t <= 6;
1759
1776
  }
1760
1777
  set(e, t, n, o) {
1761
- return e = K(e, n, o), e.setHours(0, 0, 0, 0), e;
1778
+ return e = S(e, n, o), e.setHours(0, 0, 0, 0), e;
1762
1779
  }
1763
1780
  }
1764
- function gr(a, r, e) {
1765
- const t = T(a, e == null ? void 0 : e.in), n = Xt(t, e), o = r - n;
1781
+ function kr(a, r, e) {
1782
+ const t = T(a, e == null ? void 0 : e.in), n = Zt(t, e), o = r - n;
1766
1783
  return ye(t, o, e);
1767
1784
  }
1768
- class kr extends m {
1785
+ class vr extends m {
1769
1786
  constructor() {
1770
1787
  super(...arguments);
1771
1788
  l(this, "priority", 90);
@@ -1852,10 +1869,10 @@ class kr extends m {
1852
1869
  return t >= 1 && t <= 7;
1853
1870
  }
1854
1871
  set(e, t, n) {
1855
- return e = gr(e, n), e.setHours(0, 0, 0, 0), e;
1872
+ return e = kr(e, n), e.setHours(0, 0, 0, 0), e;
1856
1873
  }
1857
1874
  }
1858
- class vr extends m {
1875
+ class Dr extends m {
1859
1876
  constructor() {
1860
1877
  super(...arguments);
1861
1878
  l(this, "priority", 80);
@@ -1893,10 +1910,10 @@ class vr extends m {
1893
1910
  }
1894
1911
  }
1895
1912
  set(e, t, n) {
1896
- return e.setHours(J(n), 0, 0, 0), e;
1913
+ return e.setHours(K(n), 0, 0, 0), e;
1897
1914
  }
1898
1915
  }
1899
- class Dr extends m {
1916
+ class Tr extends m {
1900
1917
  constructor() {
1901
1918
  super(...arguments);
1902
1919
  l(this, "priority", 80);
@@ -1934,10 +1951,10 @@ class Dr extends m {
1934
1951
  }
1935
1952
  }
1936
1953
  set(e, t, n) {
1937
- return e.setHours(J(n), 0, 0, 0), e;
1954
+ return e.setHours(K(n), 0, 0, 0), e;
1938
1955
  }
1939
1956
  }
1940
- class Tr extends m {
1957
+ class Pr extends m {
1941
1958
  constructor() {
1942
1959
  super(...arguments);
1943
1960
  l(this, "priority", 80);
@@ -1975,10 +1992,10 @@ class Tr extends m {
1975
1992
  }
1976
1993
  }
1977
1994
  set(e, t, n) {
1978
- return e.setHours(J(n), 0, 0, 0), e;
1995
+ return e.setHours(K(n), 0, 0, 0), e;
1979
1996
  }
1980
1997
  }
1981
- class Pr extends m {
1998
+ class Nr extends m {
1982
1999
  constructor() {
1983
2000
  super(...arguments);
1984
2001
  l(this, "priority", 70);
@@ -2002,7 +2019,7 @@ class Pr extends m {
2002
2019
  return o && n < 12 ? e.setHours(n + 12, 0, 0, 0) : !o && n === 12 ? e.setHours(0, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
2003
2020
  }
2004
2021
  }
2005
- class Nr extends m {
2022
+ class jr extends m {
2006
2023
  constructor() {
2007
2024
  super(...arguments);
2008
2025
  l(this, "priority", 70);
@@ -2025,7 +2042,7 @@ class Nr extends m {
2025
2042
  return e.setHours(n, 0, 0, 0), e;
2026
2043
  }
2027
2044
  }
2028
- class jr extends m {
2045
+ class Ir extends m {
2029
2046
  constructor() {
2030
2047
  super(...arguments);
2031
2048
  l(this, "priority", 70);
@@ -2048,7 +2065,7 @@ class jr extends m {
2048
2065
  return e.getHours() >= 12 && n < 12 ? e.setHours(n + 12, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
2049
2066
  }
2050
2067
  }
2051
- class Ir extends m {
2068
+ class _r extends m {
2052
2069
  constructor() {
2053
2070
  super(...arguments);
2054
2071
  l(this, "priority", 70);
@@ -2072,7 +2089,7 @@ class Ir extends m {
2072
2089
  return e.setHours(o, 0, 0, 0), e;
2073
2090
  }
2074
2091
  }
2075
- class _r extends m {
2092
+ class Mr extends m {
2076
2093
  constructor() {
2077
2094
  super(...arguments);
2078
2095
  l(this, "priority", 60);
@@ -2095,7 +2112,7 @@ class _r extends m {
2095
2112
  return e.setMinutes(n, 0, 0), e;
2096
2113
  }
2097
2114
  }
2098
- class Mr extends m {
2115
+ class Er extends m {
2099
2116
  constructor() {
2100
2117
  super(...arguments);
2101
2118
  l(this, "priority", 50);
@@ -2118,7 +2135,7 @@ class Mr extends m {
2118
2135
  return e.setSeconds(n, 0), e;
2119
2136
  }
2120
2137
  }
2121
- class Er extends m {
2138
+ class Cr extends m {
2122
2139
  constructor() {
2123
2140
  super(...arguments);
2124
2141
  l(this, "priority", 30);
@@ -2132,7 +2149,7 @@ class Er extends m {
2132
2149
  return e.setMilliseconds(n), e;
2133
2150
  }
2134
2151
  }
2135
- class Cr extends m {
2152
+ class Or extends m {
2136
2153
  constructor() {
2137
2154
  super(...arguments);
2138
2155
  l(this, "priority", 10);
@@ -2169,7 +2186,7 @@ class Cr extends m {
2169
2186
  );
2170
2187
  }
2171
2188
  }
2172
- class Or extends m {
2189
+ class Fr extends m {
2173
2190
  constructor() {
2174
2191
  super(...arguments);
2175
2192
  l(this, "priority", 10);
@@ -2206,7 +2223,7 @@ class Or extends m {
2206
2223
  );
2207
2224
  }
2208
2225
  }
2209
- class Fr extends m {
2226
+ class Yr extends m {
2210
2227
  constructor() {
2211
2228
  super(...arguments);
2212
2229
  l(this, "priority", 40);
@@ -2219,7 +2236,7 @@ class Fr extends m {
2219
2236
  return [v(e, n * 1e3), { timestampIsSet: !0 }];
2220
2237
  }
2221
2238
  }
2222
- class Yr extends m {
2239
+ class Lr extends m {
2223
2240
  constructor() {
2224
2241
  super(...arguments);
2225
2242
  l(this, "priority", 20);
@@ -2232,65 +2249,65 @@ class Yr extends m {
2232
2249
  return [v(e, n), { timestampIsSet: !0 }];
2233
2250
  }
2234
2251
  }
2235
- const Lr = {
2236
- G: new er(),
2237
- y: new tr(),
2238
- Y: new rr(),
2239
- R: new nr(),
2240
- u: new ar(),
2241
- Q: new or(),
2242
- q: new ir(),
2243
- M: new sr(),
2244
- L: new dr(),
2245
- w: new ur(),
2246
- I: new fr(),
2247
- d: new xr(),
2248
- D: new pr(),
2249
- E: new br(),
2250
- e: new wr(),
2251
- c: new yr(),
2252
- i: new kr(),
2253
- a: new vr(),
2254
- b: new Dr(),
2255
- B: new Tr(),
2256
- h: new Pr(),
2257
- H: new Nr(),
2258
- K: new jr(),
2259
- k: new Ir(),
2260
- m: new _r(),
2261
- s: new Mr(),
2262
- S: new Er(),
2263
- X: new Cr(),
2264
- x: new Or(),
2265
- t: new Fr(),
2266
- T: new Yr()
2267
- }, Wr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Hr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ar = /^'([^]*?)'?$/, Rr = /''/g, Br = /\S/, qr = /[a-zA-Z]/;
2268
- function zr(a, r, e, t) {
2269
- var ee, te, re, ne;
2270
- const n = () => v(e, NaN), o = Gt(), s = o.locale ?? Lt, u = o.firstWeekContainsDate ?? ((te = (ee = o.locale) == null ? void 0 : ee.options) == null ? void 0 : te.firstWeekContainsDate) ?? 1, h = o.weekStartsOn ?? ((ne = (re = o.locale) == null ? void 0 : re.options) == null ? void 0 : ne.weekStartsOn) ?? 0, x = {
2252
+ const Wr = {
2253
+ G: new tr(),
2254
+ y: new rr(),
2255
+ Y: new nr(),
2256
+ R: new ar(),
2257
+ u: new or(),
2258
+ Q: new ir(),
2259
+ q: new sr(),
2260
+ M: new dr(),
2261
+ L: new lr(),
2262
+ w: new cr(),
2263
+ I: new mr(),
2264
+ d: new pr(),
2265
+ D: new br(),
2266
+ E: new wr(),
2267
+ e: new yr(),
2268
+ c: new gr(),
2269
+ i: new vr(),
2270
+ a: new Dr(),
2271
+ b: new Tr(),
2272
+ B: new Pr(),
2273
+ h: new Nr(),
2274
+ H: new jr(),
2275
+ K: new Ir(),
2276
+ k: new _r(),
2277
+ m: new Mr(),
2278
+ s: new Er(),
2279
+ S: new Cr(),
2280
+ X: new Or(),
2281
+ x: new Fr(),
2282
+ t: new Yr(),
2283
+ T: new Lr()
2284
+ }, Hr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ar = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Rr = /^'([^]*?)'?$/, Br = /''/g, zr = /\S/, qr = /[a-zA-Z]/;
2285
+ function Qr(a, r, e, t) {
2286
+ var te, re, ne, ae;
2287
+ const n = () => v(e, NaN), o = Xt(), s = o.locale ?? Wt, u = o.firstWeekContainsDate ?? ((re = (te = o.locale) == null ? void 0 : te.options) == null ? void 0 : re.firstWeekContainsDate) ?? 1, h = o.weekStartsOn ?? ((ae = (ne = o.locale) == null ? void 0 : ne.options) == null ? void 0 : ae.weekStartsOn) ?? 0, x = {
2271
2288
  firstWeekContainsDate: u,
2272
2289
  weekStartsOn: h,
2273
2290
  locale: s
2274
- }, k = [new St(t == null ? void 0 : t.in, e)], c = r.match(Hr).map((f) => {
2291
+ }, k = [new er(t == null ? void 0 : t.in, e)], c = r.match(Ar).map((f) => {
2275
2292
  const b = f[0];
2276
- if (b in ue) {
2277
- const N = ue[b];
2293
+ if (b in ce) {
2294
+ const N = ce[b];
2278
2295
  return N(f, s.formatLong);
2279
2296
  }
2280
2297
  return f;
2281
- }).join("").match(Wr), _ = [];
2298
+ }).join("").match(Hr), _ = [];
2282
2299
  for (let f of c) {
2283
- $t(f) && ce(f, r, a), Qt(f) && ce(f, r, a);
2284
- const b = f[0], N = Lr[b];
2300
+ Vt(f) && fe(f, r, a), $t(f) && fe(f, r, a);
2301
+ const b = f[0], N = Wr[b];
2285
2302
  if (N) {
2286
- const { incompatibleTokens: ae } = N;
2287
- if (Array.isArray(ae)) {
2288
- const oe = _.find(
2289
- (ie) => ae.includes(ie.token) || ie.token === b
2303
+ const { incompatibleTokens: oe } = N;
2304
+ if (Array.isArray(oe)) {
2305
+ const ie = _.find(
2306
+ (se) => oe.includes(se.token) || se.token === b
2290
2307
  );
2291
- if (oe)
2308
+ if (ie)
2292
2309
  throw new RangeError(
2293
- `The format string mustn't contain \`${oe.fullToken}\` and \`${f}\` at the same time`
2310
+ `The format string mustn't contain \`${ie.fullToken}\` and \`${f}\` at the same time`
2294
2311
  );
2295
2312
  } else if (N.incompatibleTokens === "*" && _.length > 0)
2296
2313
  throw new RangeError(
@@ -2311,44 +2328,44 @@ function zr(a, r, e, t) {
2311
2328
  throw new RangeError(
2312
2329
  "Format string contains an unescaped latin alphabet character `" + b + "`"
2313
2330
  );
2314
- if (f === "''" ? f = "'" : b === "'" && (f = Qr(f)), a.indexOf(f) === 0)
2331
+ if (f === "''" ? f = "'" : b === "'" && (f = $r(f)), a.indexOf(f) === 0)
2315
2332
  a = a.slice(f.length);
2316
2333
  else
2317
2334
  return n();
2318
2335
  }
2319
2336
  }
2320
- if (a.length > 0 && Br.test(a))
2337
+ if (a.length > 0 && zr.test(a))
2321
2338
  return n();
2322
2339
  const F = k.map((f) => f.priority).sort((f, b) => b - f).filter((f, b, N) => N.indexOf(f) === b).map(
2323
2340
  (f) => k.filter((b) => b.priority === f).sort((b, N) => N.subPriority - b.subPriority)
2324
2341
  ).map((f) => f[0]);
2325
2342
  let M = T(e, t == null ? void 0 : t.in);
2326
2343
  if (isNaN(+M)) return n();
2327
- const S = {};
2344
+ const ee = {};
2328
2345
  for (const f of F) {
2329
2346
  if (!f.validate(M, x))
2330
2347
  return n();
2331
- const b = f.set(M, S, x);
2332
- Array.isArray(b) ? (M = b[0], Object.assign(S, b[1])) : M = b;
2348
+ const b = f.set(M, ee, x);
2349
+ Array.isArray(b) ? (M = b[0], Object.assign(ee, b[1])) : M = b;
2333
2350
  }
2334
2351
  return M;
2335
2352
  }
2336
- function Qr(a) {
2337
- return a.match(Ar)[1].replace(Rr, "'");
2353
+ function $r(a) {
2354
+ return a.match(Rr)[1].replace(Br, "'");
2338
2355
  }
2339
- const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r) => {
2340
- const [e, t, n] = (a == null ? void 0 : a.split(".")) ?? "", o = zr(`${e}/${t}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
2356
+ const _n = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r) => {
2357
+ const [e, t, n] = (a == null ? void 0 : a.split(".")) ?? "", o = Qr(`${e}/${t}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
2341
2358
  +n <= 1950 && r.addIssue({
2342
2359
  code: D.ZodIssueCode.custom,
2343
2360
  message: Y.INVALID_DATE
2344
- }), nt(o) || r.addIssue({
2361
+ }), at(o) || r.addIssue({
2345
2362
  code: D.ZodIssueCode.custom,
2346
2363
  message: Y.INVALID_DATE
2347
2364
  }), (/* @__PURE__ */ new Date()).getTime() < new Date(o).getTime() && r.addIssue({
2348
2365
  code: D.ZodIssueCode.custom,
2349
2366
  message: Y.FUTURE_DATE_NOT_ALLOWED
2350
2367
  });
2351
- }), _n = D.string().superRefine((a, r) => {
2368
+ }), Mn = D.string().superRefine((a, r) => {
2352
2369
  const e = a.charAt(0);
2353
2370
  ["3", "4", "5", "6", "9"].includes(e) || r.addIssue({
2354
2371
  code: D.ZodIssueCode.custom,
@@ -2357,19 +2374,19 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
2357
2374
  code: D.ZodIssueCode.custom,
2358
2375
  message: "Введите номер телефона полностью"
2359
2376
  });
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) => {
2377
+ }).transform((a) => `7${a}`), En = D.coerce.number().min(1e3, `${Y.FIX_LENGTH} 4`).max(9999, `${Y.FIX_LENGTH} 4`).nullable().superRefine((a, r) => {
2361
2378
  a === null && r.addIssue({
2362
2379
  code: D.ZodIssueCode.invalid_type,
2363
2380
  expected: "number",
2364
2381
  received: "null",
2365
2382
  message: `${Y.FIX_LENGTH} 4`
2366
2383
  });
2367
- }).default(null), R = {
2384
+ }).default(null), B = {
2368
2385
  transparent: "transparent",
2369
2386
  current: "currentColor",
2370
2387
  inherit: "inherit",
2371
2388
  initial: "initial"
2372
- }, z = {
2389
+ }, Q = {
2373
2390
  "blue-grey-100": "#f3f4f7",
2374
2391
  "blue-grey-200": "#eaedf1",
2375
2392
  "blue-grey-300": "#d4dbe2",
@@ -2397,7 +2414,7 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
2397
2414
  purple: "#5f40bd",
2398
2415
  "purple-hover": "#52399d",
2399
2416
  overlay: "#0000004d",
2400
- ...R
2417
+ ...B
2401
2418
  }, je = {
2402
2419
  dark: "#292929",
2403
2420
  disabled: "#a9b6c5",
@@ -2412,7 +2429,7 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
2412
2429
  white: "#ffffff",
2413
2430
  "primary-disabled": "#809bc7",
2414
2431
  "blue-grey-600": "#94a4b7",
2415
- ...R
2432
+ ...B
2416
2433
  }, Ie = {
2417
2434
  "barvcray-200": "#ebeef4",
2418
2435
  "barvcray-300": "#dde1e8",
@@ -2426,7 +2443,7 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
2426
2443
  "skyblue-100": "#f4f8fe",
2427
2444
  "skyblue-200": "#e7f3ff",
2428
2445
  "skyblue-300": "#d9edff",
2429
- ...R
2446
+ ...B
2430
2447
  }, E = {
2431
2448
  "accent-default": "#2477ff",
2432
2449
  "accent-hover": "#0053da",
@@ -2452,8 +2469,8 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
2452
2469
  white: "#ffffff",
2453
2470
  "primary-disabled": "#809bc7",
2454
2471
  footer: "#C3C3C3",
2455
- ...R
2456
- }, Q = {
2472
+ ...B
2473
+ }, $ = {
2457
2474
  "blue-grey-500": "#a9b6c5",
2458
2475
  "blue-grey-700": "#69809a",
2459
2476
  "blue-grey-800": "#5a6e85",
@@ -2471,7 +2488,7 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
2471
2488
  warning: "#f49f00",
2472
2489
  white: "#ffffff",
2473
2490
  "primary-disabled": "#809bc7",
2474
- ...R
2491
+ ...B
2475
2492
  }, _e = {
2476
2493
  none: "0",
2477
2494
  sm: "4px",
@@ -2485,7 +2502,7 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
2485
2502
  90: "90deg",
2486
2503
  110: "110deg",
2487
2504
  180: "180deg"
2488
- }, $r = {
2505
+ }, Vr = {
2489
2506
  0: "0",
2490
2507
  1: "1",
2491
2508
  10: "10",
@@ -2621,13 +2638,13 @@ var Fe = {}, Ye = {};
2621
2638
  })(Fe);
2622
2639
  let Z = Fe;
2623
2640
  var Le = (Z.__esModule ? Z : { default: Z }).default;
2624
- const $ = /* @__PURE__ */ me(Le), Vr = Le;
2625
- function fe(a) {
2641
+ const V = /* @__PURE__ */ he(Le), Gr = Le;
2642
+ function me(a) {
2626
2643
  return Object.fromEntries(
2627
2644
  Object.entries(a).filter(([r]) => r !== "DEFAULT")
2628
2645
  );
2629
2646
  }
2630
- var Gr = Vr(
2647
+ var Xr = Gr(
2631
2648
  ({ addUtilities: a, matchUtilities: r, theme: e }) => {
2632
2649
  a({
2633
2650
  "@keyframes enter": e("keyframes.enter"),
@@ -2698,13 +2715,13 @@ var Gr = Vr(
2698
2715
  { values: e("animationTranslate") }
2699
2716
  ), r(
2700
2717
  { duration: (t) => ({ animationDuration: t }) },
2701
- { values: fe(e("animationDuration")) }
2718
+ { values: me(e("animationDuration")) }
2702
2719
  ), r(
2703
2720
  { delay: (t) => ({ animationDelay: t }) },
2704
2721
  { values: e("animationDelay") }
2705
2722
  ), r(
2706
2723
  { ease: (t) => ({ animationTimingFunction: t }) },
2707
- { values: fe(e("animationTimingFunction")) }
2724
+ { values: me(e("animationTimingFunction")) }
2708
2725
  ), a({
2709
2726
  ".running": { animationPlayState: "running" },
2710
2727
  ".paused": { animationPlayState: "paused" }
@@ -2783,10 +2800,10 @@ var Gr = Vr(
2783
2800
  }
2784
2801
  }
2785
2802
  );
2786
- const We = /* @__PURE__ */ me(Gr), En = {
2803
+ const We = /* @__PURE__ */ he(Xr), Cn = {
2787
2804
  theme: {
2788
2805
  backgroundColor: {
2789
- color: z,
2806
+ color: Q,
2790
2807
  banner: Ie,
2791
2808
  icon: E
2792
2809
  },
@@ -2796,13 +2813,13 @@ const We = /* @__PURE__ */ me(Gr), En = {
2796
2813
  },
2797
2814
  fill: E,
2798
2815
  stroke: E,
2799
- borderColor: Q,
2800
- outlineColor: Q,
2816
+ borderColor: $,
2817
+ outlineColor: $,
2801
2818
  borderRadius: _e,
2802
2819
  fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
2803
2820
  fontSize: Ee,
2804
2821
  lineHeight: Ce,
2805
- gradientColorStops: z,
2822
+ gradientColorStops: Q,
2806
2823
  boxShadow: {
2807
2824
  sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
2808
2825
  md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
@@ -2864,10 +2881,10 @@ const We = /* @__PURE__ */ me(Gr), En = {
2864
2881
  },
2865
2882
  plugins: [
2866
2883
  We,
2867
- $(({ addComponents: a }) => {
2884
+ V(({ addComponents: a }) => {
2868
2885
  a(Oe);
2869
2886
  }),
2870
- $(function({ matchUtilities: a, theme: r }) {
2887
+ V(function({ matchUtilities: a, theme: r }) {
2871
2888
  a(
2872
2889
  {
2873
2890
  "bg-deg-gradient": (e) => ({
@@ -2880,7 +2897,7 @@ const We = /* @__PURE__ */ me(Gr), En = {
2880
2897
  );
2881
2898
  })
2882
2899
  ]
2883
- }, Cn = {
2900
+ }, On = {
2884
2901
  theme: {
2885
2902
  extend: {
2886
2903
  transitionDuration: {
@@ -2920,14 +2937,14 @@ const We = /* @__PURE__ */ me(Gr), En = {
2920
2937
  }
2921
2938
  }
2922
2939
  }
2923
- }, On = {
2940
+ }, Fn = {
2924
2941
  theme: {
2925
2942
  screens: {
2926
2943
  mobile: { max: "1187px" },
2927
2944
  desktop: "1188px"
2928
2945
  },
2929
2946
  backgroundColor: {
2930
- color: z,
2947
+ color: Q,
2931
2948
  banner: Ie,
2932
2949
  icon: E
2933
2950
  },
@@ -2937,29 +2954,29 @@ const We = /* @__PURE__ */ me(Gr), En = {
2937
2954
  },
2938
2955
  fill: E,
2939
2956
  stroke: E,
2940
- borderColor: Q,
2941
- outlineColor: Q,
2957
+ borderColor: $,
2958
+ outlineColor: $,
2942
2959
  borderRadius: _e,
2943
2960
  fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
2944
2961
  fontSize: Ee,
2945
2962
  lineHeight: Ce,
2946
- gradientColorStops: z,
2963
+ gradientColorStops: Q,
2947
2964
  boxShadow: {
2948
2965
  sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
2949
2966
  md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
2950
2967
  lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
2951
2968
  },
2952
- zIndex: $r,
2969
+ zIndex: Vr,
2953
2970
  extend: {
2954
2971
  bgGradientDeg: Me
2955
2972
  }
2956
2973
  },
2957
2974
  plugins: [
2958
2975
  We,
2959
- $(({ addComponents: a }) => {
2976
+ V(({ addComponents: a }) => {
2960
2977
  a(Oe);
2961
2978
  }),
2962
- $(function({ matchUtilities: a, theme: r }) {
2979
+ V(function({ matchUtilities: a, theme: r }) {
2963
2980
  a(
2964
2981
  {
2965
2982
  "bg-deg-gradient": (e) => ({
@@ -2973,32 +2990,25 @@ const We = /* @__PURE__ */ me(Gr), En = {
2973
2990
  })
2974
2991
  ]
2975
2992
  };
2976
- class Xr extends Error {
2993
+ class Zr extends Error {
2977
2994
  constructor(r) {
2978
2995
  super("ApiError: " + r.status), this.response = r;
2979
2996
  }
2980
2997
  }
2981
- const Zr = {
2998
+ const Ur = {
2982
2999
  "Content-Type": "application/json"
2983
- }, Fn = async ({ url: a, init: r, baseUrl: e }) => {
3000
+ }, Yn = async ({ url: a, init: r, baseUrl: e }) => {
2984
3001
  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}`, {
2985
3002
  headers: {
2986
- ...Zr,
3003
+ ...Ur,
2987
3004
  ...t
2988
3005
  },
2989
3006
  body: n,
2990
3007
  ...r
2991
3008
  });
2992
3009
  if (!o.ok)
2993
- throw new Xr(o);
3010
+ throw new Zr(o);
2994
3011
  return await o.json();
2995
- }, Ur = {
2996
- main: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoMain" }),
2997
- white: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoWhite" }),
2998
- gray: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoGray" }),
2999
- black: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoBlack" }),
3000
- business: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoBusiness" }),
3001
- insurance: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoInsurance" })
3002
3012
  }, Jr = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
3003
3013
  "© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
3004
3014
  /* @__PURE__ */ i.jsx("br", {}),
@@ -3130,8 +3140,8 @@ const Zr = {
3130
3140
  n
3131
3141
  )) })
3132
3142
  ] }, e)) }), on = ({ ligal: a, classes: r }) => {
3133
- const [e, t] = B.useState(!1), [n, o] = B.useState(!1), s = B.useRef(null);
3134
- return B.useEffect(() => {
3143
+ const [e, t] = z.useState(!1), [n, o] = z.useState(!1), s = z.useRef(null);
3144
+ return z.useEffect(() => {
3135
3145
  const u = s.current;
3136
3146
  u && o(u.scrollHeight > u.clientHeight);
3137
3147
  }, []), /* @__PURE__ */ i.jsxs("div", { className: d("mt-8 flex flex-col gap-4", r == null ? void 0 : r.ligalRoot), children: [
@@ -3150,7 +3160,7 @@ const Zr = {
3150
3160
  }
3151
3161
  )
3152
3162
  ] });
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 = ({
3163
+ }, 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 }), Ln = ({
3154
3164
  withSocial: a = !0,
3155
3165
  withPhones: r = !0,
3156
3166
  withNavLinks: e = !0,
@@ -3163,7 +3173,7 @@ const Zr = {
3163
3173
  ligal: x = Kr,
3164
3174
  copyright: k = Jr,
3165
3175
  classes: c
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: [
3176
+ }) => /* @__PURE__ */ i.jsx(pe, { className: d("w-full", c == null ? void 0 : c.section), children: /* @__PURE__ */ i.jsx(A, { 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: [
3167
3177
  /* @__PURE__ */ i.jsxs("div", { className: d("mb-8 flex items-center justify-between gap-6", c == null ? void 0 : c.footerHead), children: [
3168
3178
  /* @__PURE__ */ i.jsxs("div", { className: d(c == null ? void 0 : c.footerSocialBlock), children: [
3169
3179
  /* @__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]" }) }),
@@ -3190,16 +3200,16 @@ const Zr = {
3190
3200
  ] }) }) }), dn = (a) => {
3191
3201
  switch (a.variant) {
3192
3202
  case "withButton":
3193
- return /* @__PURE__ */ i.jsx(he, { intent: "secondary", size: "sm", ...a.buttonProps, children: "Оформить заявку" });
3203
+ return /* @__PURE__ */ i.jsx(J, { intent: "secondary", size: "sm", ...a.buttonProps, children: "Оформить заявку" });
3194
3204
  case "withPhone":
3195
3205
  const { phone: r, phoneText: e } = a;
3196
3206
  return /* @__PURE__ */ i.jsx(be, { phone: r, text: e, ...a.phoneProps });
3197
3207
  default:
3198
3208
  return null;
3199
3209
  }
3200
- }, Ln = (a) => {
3210
+ }, Wn = (a) => {
3201
3211
  const { logoPath: r = "/", logoType: e = "main", classes: t } = a;
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: [
3212
+ 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(A, { 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: [
3203
3213
  /* @__PURE__ */ i.jsx(
3204
3214
  "a",
3205
3215
  {
@@ -3211,7 +3221,7 @@ const Zr = {
3211
3221
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
3212
3222
  t == null ? void 0 : t.logo
3213
3223
  ),
3214
- children: Ur[e]
3224
+ children: Ge[e]
3215
3225
  }
3216
3226
  ),
3217
3227
  dn(a)
@@ -3240,7 +3250,7 @@ const Zr = {
3240
3250
  ] })
3241
3251
  ]
3242
3252
  }
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: [
3253
+ ), Hn = ({ heading: a, stepsList: r, classes: e }) => /* @__PURE__ */ i.jsx(pe, { children: /* @__PURE__ */ i.jsx(A, { children: /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col gap-12 desktop:items-start", e == null ? void 0 : e.root), children: [
3244
3254
  /* @__PURE__ */ i.jsx(xe, { as: "h2", className: d("text-color-dark", e == null ? void 0 : e.headline), children: a }),
3245
3255
  /* @__PURE__ */ i.jsx(
3246
3256
  "div",
@@ -3345,7 +3355,7 @@ const Zr = {
3345
3355
  ] }),
3346
3356
  /* @__PURE__ */ i.jsx("p", { className: d("mob-body-regular-l text-color-secondary"), children: t })
3347
3357
  ] }) });
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 = ({
3358
+ }, 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)) }), An = ({
3349
3359
  title: a,
3350
3360
  buttonConfig: r,
3351
3361
  intent: e = "twoItems",
@@ -3354,7 +3364,7 @@ const Zr = {
3354
3364
  classes: o
3355
3365
  }) => {
3356
3366
  const s = !!r, u = e === "fourItems", h = e === "twoItems";
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: [
3367
+ return /* @__PURE__ */ i.jsx("section", { className: d(o == null ? void 0 : o.section), children: /* @__PURE__ */ i.jsxs(A, { className: d(o == null ? void 0 : o.mainContainer), children: [
3358
3368
  h && /* @__PURE__ */ i.jsx(U, { intent: e, title: a }),
3359
3369
  /* @__PURE__ */ i.jsxs(
3360
3370
  "div",
@@ -3374,7 +3384,7 @@ const Zr = {
3374
3384
  u && /* @__PURE__ */ i.jsx(U, { intent: e, title: a, mobileHidden: !0 }),
3375
3385
  /* @__PURE__ */ i.jsx(xn, { textContent: t, intent: e, withButton: s }),
3376
3386
  s && /* @__PURE__ */ i.jsx(
3377
- he,
3387
+ J,
3378
3388
  {
3379
3389
  className: d("w-full px-4 desktop:w-max", o == null ? void 0 : o.button),
3380
3390
  size: "lg",
@@ -3392,55 +3402,56 @@ const Zr = {
3392
3402
  ] }) });
3393
3403
  };
3394
3404
  export {
3395
- Bn as Advantages,
3396
- Xr as ApiError,
3405
+ zn as Advantages,
3406
+ Zr as ApiError,
3397
3407
  qn as Badge,
3398
3408
  kn as Breadcrumbs,
3399
- he as Button,
3409
+ J as Button,
3400
3410
  vn as ButtonIcon,
3401
3411
  Dn as CustomLink,
3402
3412
  Tn as Document,
3403
- Yn as Footer,
3413
+ jn as FloatButton,
3414
+ Ln as Footer,
3404
3415
  xe as Heading,
3405
3416
  P as Icon,
3406
- zn as Loader,
3407
- Hn as LongBanner,
3408
- Ln as PageHeader,
3417
+ Qn as Loader,
3418
+ An as LongBanner,
3419
+ Wn as PageHeader,
3409
3420
  be as PhoneView,
3410
3421
  Pn as ProgressBar,
3411
- V as ResponsiveContainer,
3412
- se as RgxCheckForHyphen,
3413
- Xe as RgxPatronymic,
3414
- Ge as RgxUnicode,
3422
+ A as ResponsiveContainer,
3423
+ de as RgxCheckForHyphen,
3424
+ Ze as RgxPatronymic,
3425
+ Xe as RgxUnicode,
3415
3426
  pe as Section,
3416
3427
  Nn as Skeleton,
3417
- Wn as Stepper,
3428
+ Hn as Stepper,
3418
3429
  Y as VALIDATION_MESSAGES,
3419
- z as allowedBackgroundColors,
3430
+ Q as allowedBackgroundColors,
3420
3431
  Me as allowedBackgroundDeg,
3421
3432
  Ie as allowedBannersBackgroundColors,
3422
3433
  _e as allowedBorderRadius,
3423
3434
  Ee as allowedFontSize,
3424
3435
  E as allowedIconsColors,
3425
3436
  Ce as allowedLineHeight,
3426
- Q as allowedStrokeColors,
3437
+ $ as allowedStrokeColors,
3427
3438
  je as allowedTextColors,
3428
3439
  Oe as allowedTextStyles,
3429
- $r as allowedZIndex,
3430
- Fn as apiInstance,
3440
+ Vr as allowedZIndex,
3441
+ Yn as apiInstance,
3431
3442
  yn as capitalize,
3432
3443
  d as cn,
3433
- Zr as defaultHeaders,
3434
- Cn as extendsPreset,
3435
- Ze as formattedDadataFio,
3436
- Qn as isClient,
3444
+ Ur as defaultHeaders,
3445
+ On as extendsPreset,
3446
+ Ue as formattedDadataFio,
3447
+ $n as isClient,
3437
3448
  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
3449
+ Fn as resetPreset,
3450
+ Vn as scrollToElement,
3451
+ Cn as tailwindConfigBase,
3452
+ _n as zodCalendarValidate,
3453
+ In as zodDadataFioSchema,
3454
+ En as zodOtpCodeSchema,
3455
+ Mn as zodPhoneSchema
3445
3456
  };
3446
3457
  //# sourceMappingURL=hybrid.js.map