@scbt-ecom/ui 0.5.1 → 0.6.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.
package/dist/hybrid.js CHANGED
@@ -1,14 +1,15 @@
1
- import { p as k, j as n, c as l, H as U, a as u, I as D, L as Z, z as s, i as G, g as j } from "./Notification-D96eGdIz.js";
2
- import { B as Ae, D as Fe, d as Ie, N as Le, b as ze } from "./Notification-D96eGdIz.js";
3
- import { forwardRef as T } from "react";
4
- const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join("-"), pe = (e, t = "dd.MM.yyyy") => k(e, t, /* @__PURE__ */ new Date()), me = ({ children: e, className: t, ...o }) => /* @__PURE__ */ n.jsx("section", { className: l("pb-16 desktop:pb-20", t), ...o, children: e }), H = ({ children: e, className: t, ...o }) => /* @__PURE__ */ n.jsx("div", { className: l("m-auto w-full px-4 desktop:max-w-[1188px]", t), ...o, children: e }), W = u("grid", {
1
+ import { p as B, j as t, c as a, H as g, a as c, I as m, L as K, z as x, i as Y, g as z } from "./Notification-BjaLuRjD.js";
2
+ import { B as Ke, D as Ye, d as et, N as tt, b as rt } from "./Notification-BjaLuRjD.js";
3
+ import * as s from "react";
4
+ import { forwardRef as L } from "react";
5
+ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Be = (r, e = "dd.MM.yyyy") => B(r, e, /* @__PURE__ */ new Date()), R = ({ children: r, className: e, ...n }) => /* @__PURE__ */ t.jsx("section", { className: a("pb-16 desktop:pb-20", e), ...n, children: r }), h = ({ children: r, className: e, ...n }) => /* @__PURE__ */ t.jsx("div", { className: a("m-auto w-full px-4 desktop:max-w-[1188px]", e), ...n, children: r }), ee = c("grid", {
5
6
  variants: {
6
7
  columnCount: {
7
8
  twoColumns: "grid-cols-[repeat(2,minmax(172px,_1fr))] desktop:grid-cols-[repeat(2,minmax(172px,_1fr))]",
8
9
  threeColumns: "grid-cols-[repeat(3,minmax(172px,_1fr))] desktop:grid-cols-[repeat(3,minmax(312px,_1fr))]"
9
10
  }
10
11
  }
11
- }), X = u("grid", {
12
+ }), te = c("grid", {
12
13
  variants: {
13
14
  columnCount: {
14
15
  twoColumns: "",
@@ -41,7 +42,7 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
41
42
  class: "grid-cols-[repeat(3,_auto)]"
42
43
  }
43
44
  ]
44
- }), q = u("grid", {
45
+ }), re = c("grid", {
45
46
  variants: {
46
47
  columnCount: {
47
48
  twoColumns: "",
@@ -54,7 +55,7 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
54
55
  class: "mobile:overflow-x-scroll mobile:max-w-[368px] mb-1"
55
56
  }
56
57
  ]
57
- }), J = u("border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l mob-body-regular-l", {
58
+ }), oe = c("border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l mob-body-regular-l", {
58
59
  variants: {
59
60
  columnCount: {
60
61
  twoColumns: "",
@@ -72,65 +73,65 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
72
73
  class: "border-transparent border-0 p-0"
73
74
  }
74
75
  ]
75
- }), fe = ({
76
- headTitle: e,
77
- tableRows: t,
78
- tableHead: o,
79
- additionalText: r,
80
- columnCount: a,
81
- classes: i
76
+ }), ze = ({
77
+ headTitle: r,
78
+ tableRows: e,
79
+ tableHead: n,
80
+ additionalText: o,
81
+ columnCount: i,
82
+ classes: d
82
83
  }) => {
83
- const d = o && o.length > 0 ? "exist" : "notExist";
84
- return /* @__PURE__ */ n.jsx(H, { children: /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col", i == null ? void 0 : i.tableRootWrapper), children: [
85
- /* @__PURE__ */ n.jsx(U, { as: "h3", className: l("mob-title-bold-m pb-6 desktop:desk-title-bold-s", i == null ? void 0 : i.tableHeading), children: e }),
86
- /* @__PURE__ */ n.jsxs("div", { className: l(q({ columnCount: a }), i == null ? void 0 : i.tableBody), children: [
87
- /* @__PURE__ */ n.jsx("ul", { className: l(W({ columnCount: a }), i == null ? void 0 : i.tableTitlesContainer), children: o == null ? void 0 : o.map((c) => /* @__PURE__ */ n.jsx(
84
+ const l = n && n.length > 0 ? "exist" : "notExist";
85
+ return /* @__PURE__ */ t.jsx(h, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", d == null ? void 0 : d.tableRootWrapper), children: [
86
+ /* @__PURE__ */ t.jsx(g, { as: "h3", className: a("mob-title-bold-m pb-6 desktop:desk-title-bold-s", d == null ? void 0 : d.tableHeading), children: r }),
87
+ /* @__PURE__ */ t.jsxs("div", { className: a(re({ columnCount: i }), d == null ? void 0 : d.tableBody), children: [
88
+ /* @__PURE__ */ t.jsx("ul", { className: a(ee({ columnCount: i }), d == null ? void 0 : d.tableTitlesContainer), children: n == null ? void 0 : n.map((u) => /* @__PURE__ */ t.jsx(
88
89
  "li",
89
90
  {
90
- className: l(
91
+ className: a(
91
92
  "mob-body-regular-l border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l",
92
- i == null ? void 0 : i.tableTitleRow
93
+ d == null ? void 0 : d.tableTitleRow
93
94
  ),
94
- children: c
95
+ children: u
95
96
  },
96
- c
97
+ u
97
98
  )) }),
98
- /* @__PURE__ */ n.jsx("ul", { className: l("mb-4 flex flex-col", i == null ? void 0 : i.tableBodyContainer), children: t.map((c, m) => /* @__PURE__ */ n.jsx("li", { className: l(X({ columnCount: a, titlesExist: d }), i == null ? void 0 : i.tableBodyRow), children: c.map((v, h) => /* @__PURE__ */ n.jsx("p", { className: l(J({ titlesExist: d, columnCount: a }), i == null ? void 0 : i.tableBodyCeil), children: v.text }, h)) }, m)) })
99
+ /* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((u, f) => /* @__PURE__ */ t.jsx("li", { className: a(te({ columnCount: i, titlesExist: l }), d == null ? void 0 : d.tableBodyRow), children: u.map((y, v) => /* @__PURE__ */ t.jsx("p", { className: a(oe({ titlesExist: l, columnCount: i }), d == null ? void 0 : d.tableBodyCeil), children: y.text }, v)) }, f)) })
99
100
  ] }),
100
- /* @__PURE__ */ n.jsx("p", { className: l("mob-body-regular-m desktop:desk-body-regular-l", i == null ? void 0 : i.tableAdditionalText), children: r })
101
+ /* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-m desktop:desk-body-regular-l", d == null ? void 0 : d.tableAdditionalText), children: o })
101
102
  ] }) });
102
- }, be = ({ linksList: e }) => /* @__PURE__ */ n.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: e.map((t) => /* @__PURE__ */ n.jsx(n.Fragment, { children: "path" in t ? /* @__PURE__ */ n.jsxs(
103
+ }, Le = ({ linksList: r }) => /* @__PURE__ */ t.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: r.map((e) => /* @__PURE__ */ t.jsx(t.Fragment, { children: "path" in e ? /* @__PURE__ */ t.jsxs(
103
104
  "div",
104
105
  {
105
- className: l(
106
+ className: a(
106
107
  "flex items-center gap-1 rounded-sm border-2 border-solid border-transparent px-1 focus-within:border-primary-focus",
107
- { "pointer-events-none !border-transparent": t == null ? void 0 : t.isDisabled }
108
+ { "pointer-events-none !border-transparent": e == null ? void 0 : e.isDisabled }
108
109
  ),
109
110
  children: [
110
- /* @__PURE__ */ n.jsx(
111
+ /* @__PURE__ */ t.jsx(
111
112
  "a",
112
113
  {
113
- href: t.path,
114
+ href: e.path,
114
115
  target: "_blank",
115
116
  rel: "noreferrer",
116
- className: l(
117
+ className: a(
117
118
  "desk-body-regular-m text-color-primary-default outline-none hover:text-color-primary-hover focus:text-color-primary-default",
118
- { "!text-color-disabled": t == null ? void 0 : t.isDisabled }
119
+ { "!text-color-disabled": e == null ? void 0 : e.isDisabled }
119
120
  ),
120
- children: t.label
121
+ children: e.label
121
122
  }
122
123
  ),
123
- /* @__PURE__ */ n.jsx(
124
- D,
124
+ /* @__PURE__ */ t.jsx(
125
+ m,
125
126
  {
126
127
  name: "arrows/arrowRight",
127
- className: l("size-4 text-icon-primary-default", { "!text-icon-disabled": t == null ? void 0 : t.isDisabled })
128
+ className: a("size-4 text-icon-primary-default", { "!text-icon-disabled": e == null ? void 0 : e.isDisabled })
128
129
  }
129
130
  )
130
131
  ]
131
132
  }
132
- ) : /* @__PURE__ */ n.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: t.label }) })) }), Q = (e) => {
133
- switch (e) {
133
+ ) : /* @__PURE__ */ t.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }), ie = (r) => {
134
+ switch (r) {
134
135
  case "ghost":
135
136
  case "secondary":
136
137
  return "secondary";
@@ -138,9 +139,9 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
138
139
  case "negative":
139
140
  return "primary";
140
141
  default:
141
- return e;
142
+ return r;
142
143
  }
143
- }, K = u(
144
+ }, ne = c(
144
145
  "relative flex items-center justify-center gap-4 cursor-pointer rounded-sm w-max px-4 outline-offset-4 outline-transparent outline-2 desk-body-regular-l transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
145
146
  {
146
147
  variants: {
@@ -198,36 +199,36 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
198
199
  isFull: !1
199
200
  }
200
201
  }
201
- ), ge = T(
202
+ ), E = L(
202
203
  ({
203
- intent: e,
204
- size: t,
205
- className: o,
206
- children: r,
207
- type: a = "button",
208
- iconLeft: i,
209
- iconRight: d,
210
- disabled: c = !1,
211
- isLoading: m = !1,
212
- isFull: v = !1,
213
- textFormat: h,
214
- ...M
215
- }, P) => /* @__PURE__ */ n.jsx(
204
+ intent: r,
205
+ size: e,
206
+ className: n,
207
+ children: o,
208
+ type: i = "button",
209
+ iconLeft: d,
210
+ iconRight: l,
211
+ disabled: u = !1,
212
+ isLoading: f = !1,
213
+ isFull: y = !1,
214
+ textFormat: v,
215
+ ...p
216
+ }, Q) => /* @__PURE__ */ t.jsx(
216
217
  "button",
217
218
  {
218
- ref: P,
219
- type: a,
220
- disabled: c || m,
221
- className: l(K({ intent: e, size: t, textFormat: h, isLoading: m, isFull: v }), o),
222
- ...M,
223
- children: m ? /* @__PURE__ */ n.jsx(Z, { size: "sm", intent: Q(e) }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
224
- i && /* @__PURE__ */ n.jsx("span", { className: "flex size-5 items-center justify-center", children: i }),
225
- r,
226
- d && /* @__PURE__ */ n.jsx("span", { className: "flex size-5 items-center justify-center", children: d })
219
+ ref: Q,
220
+ type: i,
221
+ disabled: u || f,
222
+ className: a(ne({ intent: r, size: e, textFormat: v, isLoading: f, isFull: y }), n),
223
+ ...p,
224
+ children: f ? /* @__PURE__ */ t.jsx(K, { size: "sm", intent: ie(r) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
225
+ d && /* @__PURE__ */ t.jsx("span", { className: "flex size-5 items-center justify-center", children: d }),
226
+ o,
227
+ l && /* @__PURE__ */ t.jsx("span", { className: "flex size-5 items-center justify-center", children: l })
227
228
  ] })
228
229
  }
229
230
  )
230
- ), Y = u(
231
+ ), ae = c(
231
232
  "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",
232
233
  {
233
234
  variants: {
@@ -247,9 +248,9 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
247
248
  size: "lg"
248
249
  }
249
250
  }
250
- ), xe = T(
251
- ({ size: e, intent: t, children: o, classes: r, type: a = "button", ...i }, d) => /* @__PURE__ */ n.jsx("button", { ref: d, type: a, className: l(Y({ intent: t, size: e }), r == null ? void 0 : r.button), ...i, children: /* @__PURE__ */ n.jsx("span", { className: l(r == null ? void 0 : r.icon), children: o }) })
252
- ), ee = u(
251
+ ), Re = L(
252
+ ({ size: r, intent: e, children: n, classes: o, type: i = "button", ...d }, l) => /* @__PURE__ */ t.jsx("button", { ref: l, type: i, className: a(ae({ intent: e, size: r }), o == null ? void 0 : o.button), ...d, children: /* @__PURE__ */ t.jsx("span", { className: a(o == null ? void 0 : o.icon), children: n }) })
253
+ ), de = c(
253
254
  "group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
254
255
  {
255
256
  variants: {
@@ -277,7 +278,7 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
277
278
  size: "sm"
278
279
  }
279
280
  }
280
- ), te = u("size-6", {
281
+ ), le = c("size-6", {
281
282
  variants: {
282
283
  intent: {
283
284
  blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
@@ -292,19 +293,19 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
292
293
  intent: "blue",
293
294
  disabled: !1
294
295
  }
295
- }), ye = ({
296
- Component: e = "a",
297
- intent: t,
298
- children: o,
299
- withIcon: r,
300
- disabled: a,
301
- size: i,
302
- icon: d = "arrows/arrowLink",
303
- ...c
304
- }) => /* @__PURE__ */ n.jsxs(e, { className: l(ee({ intent: t, withIcon: r, disabled: a, size: i })), ...c, children: [
305
- o,
306
- r && /* @__PURE__ */ n.jsx(D, { name: d, className: l(te({ intent: t, disabled: a })) })
307
- ] }), re = u("size-8 transition-colors", {
296
+ }), Se = ({
297
+ Component: r = "a",
298
+ intent: e,
299
+ children: n,
300
+ withIcon: o,
301
+ disabled: i,
302
+ size: d,
303
+ icon: l = "arrows/arrowLink",
304
+ ...u
305
+ }) => /* @__PURE__ */ t.jsxs(r, { className: a(de({ intent: e, withIcon: o, disabled: i, size: d })), ...u, children: [
306
+ n,
307
+ o && /* @__PURE__ */ t.jsx(m, { name: l, className: a(le({ intent: e, disabled: i })) })
308
+ ] }), pe = c("size-8 transition-colors", {
308
309
  variants: {
309
310
  intent: {
310
311
  outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
@@ -314,62 +315,69 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
314
315
  defaultVariants: {
315
316
  intent: "outline"
316
317
  }
317
- }), oe = {
318
+ }), ue = {
318
319
  filled: "files/documentFilled",
319
320
  outline: "files/documentOutline"
320
- }, ve = ({ text: e, size: t, sizeType: o, href: r, intent: a = "outline" }) => /* @__PURE__ */ n.jsxs(
321
+ }, Oe = ({ text: r, size: e, sizeType: n, href: o, intent: i = "outline" }) => /* @__PURE__ */ t.jsxs(
321
322
  "a",
322
323
  {
323
- href: r,
324
+ href: o,
324
325
  target: "_blank",
325
326
  rel: "noreferrer",
326
327
  tabIndex: 0,
327
- className: l(
328
+ className: a(
328
329
  "group flex max-w-[288px] 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]"
329
330
  ),
330
331
  children: [
331
- /* @__PURE__ */ n.jsx(D, { name: oe[a], className: l(re({ intent: a })) }),
332
- /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-1 flex-col"), children: [
333
- /* @__PURE__ */ n.jsx("p", { className: l("desk-body-medium-l text-color-dark"), children: e }),
334
- /* @__PURE__ */ n.jsxs("div", { className: l("desk-body-regular-m text-color-disabled"), children: [
335
- t,
332
+ /* @__PURE__ */ t.jsx(m, { name: ue[i], className: a(pe({ intent: i })) }),
333
+ /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-1 flex-col"), children: [
334
+ /* @__PURE__ */ t.jsx("p", { className: a("desk-body-medium-l text-color-dark"), children: r }),
335
+ /* @__PURE__ */ t.jsxs("div", { className: a("desk-body-regular-m text-color-disabled"), children: [
336
+ e,
336
337
  " ",
337
- o
338
+ n
338
339
  ] })
339
340
  ] })
340
341
  ]
341
342
  }
342
- ), he = ({ phone: e, text: t, classes: o }) => /* @__PURE__ */ n.jsxs("div", { className: l("flex w-max flex-col", o == null ? void 0 : o.wrapper), children: [
343
- /* @__PURE__ */ n.jsx("a", { href: `tel:${e}`, className: l("desk-body-medium-l ml-auto text-color-dark", o == null ? void 0 : o.link), children: e }),
344
- /* @__PURE__ */ n.jsx("p", { className: l("desk-body-regular-l text-color-tetriary", o == null ? void 0 : o.text), children: t })
345
- ] }), we = ({ topContent: e, bottomContent: t, progress: o, maxPercent: r = 100, classes: a }) => /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col", a == null ? void 0 : a.wrapper), children: [
346
- e && /* @__PURE__ */ n.jsx("div", { className: l("mb-2 flex justify-between gap-5", a == null ? void 0 : a.topContent), children: e }),
347
- /* @__PURE__ */ n.jsxs("div", { className: l("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", a == null ? void 0 : a.progressBar), children: [
348
- /* @__PURE__ */ n.jsx(
343
+ ), S = ({ phone: r, text: e, classes: n }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex w-max flex-col", n == null ? void 0 : n.wrapper), children: [
344
+ /* @__PURE__ */ t.jsx("a", { href: `tel:${r}`, className: a("desk-body-medium-l ml-auto text-color-dark", n == null ? void 0 : n.link), children: r }),
345
+ /* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.text), children: e })
346
+ ] }), Pe = ({ topContent: r, bottomContent: e, progress: n, maxPercent: o = 100, classes: i }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", i == null ? void 0 : i.wrapper), children: [
347
+ r && /* @__PURE__ */ t.jsx("div", { className: a("mb-2 flex justify-between gap-5", i == null ? void 0 : i.topContent), children: r }),
348
+ /* @__PURE__ */ t.jsxs("div", { className: a("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", i == null ? void 0 : i.progressBar), children: [
349
+ /* @__PURE__ */ t.jsx(
349
350
  "div",
350
351
  {
351
- style: { width: `${o}%` },
352
- className: l("relative z-10 h-2 rounded-md bg-color-positive transition-all", a == null ? void 0 : a.progress)
352
+ style: { width: `${n}%` },
353
+ className: a("relative z-10 h-2 rounded-md bg-color-positive transition-all", i == null ? void 0 : i.progress)
353
354
  }
354
355
  ),
355
- /* @__PURE__ */ n.jsx(
356
+ /* @__PURE__ */ t.jsx(
356
357
  "span",
357
358
  {
358
- style: { maxWidth: `${r}%` },
359
- className: l(
359
+ style: { maxWidth: `${o}%` },
360
+ className: a(
360
361
  "progressBar-apply absolute top-1/2 z-1 h-full w-full -translate-y-1/2 animate-progress-loader rounded-md",
361
- a == null ? void 0 : a.loader
362
+ i == null ? void 0 : i.loader
362
363
  )
363
364
  }
364
365
  )
365
366
  ] }),
366
- t && /* @__PURE__ */ n.jsx("div", { className: l("mt-2 flex justify-between gap-5", a == null ? void 0 : a.bottomContent), children: t })
367
- ] }), Ce = ({ className: e }) => /* @__PURE__ */ n.jsx("div", { className: l("skeleton-apply h-full w-full", e) }), f = {
367
+ e && /* @__PURE__ */ t.jsx("div", { className: a("mt-2 flex justify-between gap-5", i == null ? void 0 : i.bottomContent), children: e })
368
+ ] }), Ve = ({ className: r }) => /* @__PURE__ */ t.jsx("div", { className: a("skeleton-apply h-full w-full", r) }), me = {
369
+ main: /* @__PURE__ */ t.jsx(m, { name: "brandLogos/logoMain" }),
370
+ white: /* @__PURE__ */ t.jsx(m, { name: "brandLogos/logoWhite" }),
371
+ gray: /* @__PURE__ */ t.jsx(m, { name: "brandLogos/logoGray" }),
372
+ black: /* @__PURE__ */ t.jsx(m, { name: "brandLogos/logoBlack" }),
373
+ business: /* @__PURE__ */ t.jsx(m, { name: "brandLogos/logoBusiness" }),
374
+ insurance: /* @__PURE__ */ t.jsx(m, { name: "brandLogos/logoInsurance" })
375
+ }, w = {
368
376
  transparent: "transparent",
369
377
  current: "currentColor",
370
378
  inherit: "inherit",
371
379
  initial: "initial"
372
- }, g = {
380
+ }, k = {
373
381
  "blue-grey-100": "#f3f4f7",
374
382
  "blue-grey-200": "#eaedf1",
375
383
  "blue-grey-300": "#d4dbe2",
@@ -397,8 +405,8 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
397
405
  purple: "#5f40bd",
398
406
  "purple-hover": "#52399d",
399
407
  overlay: "#0000004d",
400
- ...f
401
- }, A = {
408
+ ...w
409
+ }, O = {
402
410
  dark: "#292929",
403
411
  disabled: "#a9b6c5",
404
412
  footer: "#c3c3c3",
@@ -412,8 +420,8 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
412
420
  white: "#ffffff",
413
421
  "primary-disabled": "#809bc7",
414
422
  "blue-grey-600": "#94a4b7",
415
- ...f
416
- }, F = {
423
+ ...w
424
+ }, P = {
417
425
  "barvcray-200": "#ebeef4",
418
426
  "barvcray-300": "#dde1e8",
419
427
  "greymint-200": "#deecee",
@@ -426,8 +434,8 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
426
434
  "skyblue-100": "#f4f8fe",
427
435
  "skyblue-200": "#e7f3ff",
428
436
  "skyblue-300": "#d9edff",
429
- ...f
430
- }, p = {
437
+ ...w
438
+ }, b = {
431
439
  "accent-default": "#2477ff",
432
440
  "accent-hover": "#0053da",
433
441
  "blue-grey-100": "#f3f4f7",
@@ -452,8 +460,8 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
452
460
  white: "#ffffff",
453
461
  "primary-disabled": "#809bc7",
454
462
  footer: "#C3C3C3",
455
- ...f
456
- }, x = {
463
+ ...w
464
+ }, N = {
457
465
  "blue-grey-500": "#a9b6c5",
458
466
  "blue-grey-700": "#69809a",
459
467
  "blue-grey-800": "#5a6e85",
@@ -471,21 +479,21 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
471
479
  warning: "#f49f00",
472
480
  white: "#ffffff",
473
481
  "primary-disabled": "#809bc7",
474
- ...f
475
- }, I = {
482
+ ...w
483
+ }, V = {
476
484
  none: "0",
477
485
  sm: "4px",
478
486
  md: "8px",
479
487
  lg: "16px",
480
488
  full: "9999px"
481
- }, L = {
489
+ }, M = {
482
490
  30: "30deg",
483
491
  45: "45deg",
484
492
  80: "80deg",
485
493
  90: "90deg",
486
494
  110: "110deg",
487
495
  180: "180deg"
488
- }, ae = {
496
+ }, xe = {
489
497
  0: "0",
490
498
  1: "1",
491
499
  10: "10",
@@ -495,7 +503,7 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
495
503
  250: "250",
496
504
  500: "500",
497
505
  1e3: "1000"
498
- }, z = {
506
+ }, $ = {
499
507
  12: "12px",
500
508
  14: "14px",
501
509
  16: "16px",
@@ -505,7 +513,7 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
505
513
  28: "28px",
506
514
  32: "32px",
507
515
  40: "40px"
508
- }, S = {
516
+ }, U = {
509
517
  16: "16px",
510
518
  20: "20px",
511
519
  22: "22px",
@@ -514,7 +522,7 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
514
522
  32: "32px",
515
523
  40: "40px",
516
524
  48: "48px"
517
- }, B = {
525
+ }, G = {
518
526
  /* # Headline */
519
527
  ".mob-headline-bold-m": {
520
528
  "@apply font-bold text-28 leading-32": ""
@@ -573,7 +581,7 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
573
581
  ".desk-body-regular-s": {
574
582
  "@apply font-normal text-12 leading-16": ""
575
583
  }
576
- }, ie = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, N = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, ne = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, b = {
584
+ }, fe = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, T = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, ce = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, j = {
577
585
  REQUIRED: "Поле обязательно к заполнению",
578
586
  MIN_LENGTH: "Минимальная длина символов должна быть не менее",
579
587
  MAX_LENGTH: "Максимальная длина символов должна быть не более",
@@ -584,113 +592,113 @@ const ce = (e, t) => JSON.stringify(e) === JSON.stringify(t), w = (e) => e.split
584
592
  INVALID_VALUE: "Поле заполнено некорректно",
585
593
  INVALID_DATE: "Введите корректную дату",
586
594
  FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
587
- }, E = (e) => {
588
- const t = e.trim().replace(/\s+/g, " ").split(" "), [o, r, ...a] = t, i = a == null ? void 0 : a.join(" ");
595
+ }, I = (r) => {
596
+ const e = r.trim().replace(/\s+/g, " ").split(" "), [n, o, ...i] = e, d = i == null ? void 0 : i.join(" ");
589
597
  return {
590
- surname: o,
591
- name: r,
592
- patronymic: i
598
+ surname: n,
599
+ name: o,
600
+ patronymic: d
593
601
  };
594
- }, De = s.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((e, t) => {
595
- ie.test(e) || t.addIssue({
596
- code: s.ZodIssueCode.custom,
602
+ }, Me = x.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((r, e) => {
603
+ fe.test(r) || e.addIssue({
604
+ code: x.ZodIssueCode.custom,
597
605
  message: "Должна быть только кириллица"
598
606
  });
599
- const { surname: o, name: r, patronymic: a } = E(e);
600
- (!o || !r) && t.addIssue({
601
- code: s.ZodIssueCode.custom,
607
+ const { surname: n, name: o, patronymic: i } = I(r);
608
+ (!n || !o) && e.addIssue({
609
+ code: x.ZodIssueCode.custom,
602
610
  message: "Введите имя и фамилию"
603
- }), N.test(r) || t.addIssue({
604
- code: s.ZodIssueCode.custom,
611
+ }), T.test(o) || e.addIssue({
612
+ code: x.ZodIssueCode.custom,
605
613
  message: "Неверно введено имя"
606
- }), N.test(o) || t.addIssue({
607
- code: s.ZodIssueCode.custom,
614
+ }), T.test(n) || e.addIssue({
615
+ code: x.ZodIssueCode.custom,
608
616
  message: "Неверно введена фамилия"
609
- }), a && (ne.test(a) || t.addIssue({
610
- code: s.ZodIssueCode.custom,
617
+ }), i && (ce.test(i) || e.addIssue({
618
+ code: x.ZodIssueCode.custom,
611
619
  message: "Неверно введено отчество"
612
620
  }));
613
- }).transform((e) => {
614
- const { surname: t, name: o, patronymic: r } = E(e);
621
+ }).transform((r) => {
622
+ const { surname: e, name: n, patronymic: o } = I(r);
615
623
  return {
616
- surname: w(t),
617
- name: w(o),
618
- patronymic: r ? w(r) : void 0
624
+ surname: _(e),
625
+ name: _(n),
626
+ patronymic: o ? _(o) : void 0
619
627
  };
620
- }), Ne = s.string().length(10, { message: b.INVALID_DATE }).superRefine((e, t) => {
621
- const [o, r, a] = (e == null ? void 0 : e.split(".")) ?? "", i = k(`${o}/${r}/${a}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
622
- +a <= 1950 && t.addIssue({
623
- code: s.ZodIssueCode.custom,
624
- message: b.INVALID_DATE
625
- }), G(i) || t.addIssue({
626
- code: s.ZodIssueCode.custom,
627
- message: b.INVALID_DATE
628
- }), (/* @__PURE__ */ new Date()).getTime() < new Date(i).getTime() && t.addIssue({
629
- code: s.ZodIssueCode.custom,
630
- message: b.FUTURE_DATE_NOT_ALLOWED
628
+ }), $e = x.string().length(10, { message: j.INVALID_DATE }).superRefine((r, e) => {
629
+ const [n, o, i] = (r == null ? void 0 : r.split(".")) ?? "", d = B(`${n}/${o}/${i}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
630
+ +i <= 1950 && e.addIssue({
631
+ code: x.ZodIssueCode.custom,
632
+ message: j.INVALID_DATE
633
+ }), Y(d) || e.addIssue({
634
+ code: x.ZodIssueCode.custom,
635
+ message: j.INVALID_DATE
636
+ }), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
637
+ code: x.ZodIssueCode.custom,
638
+ message: j.FUTURE_DATE_NOT_ALLOWED
631
639
  });
632
640
  });
633
- var R = {}, O = {};
634
- (function(e) {
635
- Object.defineProperty(e, "__esModule", {
641
+ var Z = {}, H = {};
642
+ (function(r) {
643
+ Object.defineProperty(r, "__esModule", {
636
644
  value: !0
637
- }), Object.defineProperty(e, "default", {
645
+ }), Object.defineProperty(r, "default", {
638
646
  enumerable: !0,
639
647
  get: function() {
640
- return o;
648
+ return n;
641
649
  }
642
650
  });
643
- function t(r, a) {
651
+ function e(o, i) {
644
652
  return {
645
- handler: r,
646
- config: a
653
+ handler: o,
654
+ config: i
647
655
  };
648
656
  }
649
- t.withOptions = function(r, a = () => ({})) {
650
- const i = function(d) {
657
+ e.withOptions = function(o, i = () => ({})) {
658
+ const d = function(l) {
651
659
  return {
652
- __options: d,
653
- handler: r(d),
654
- config: a(d)
660
+ __options: l,
661
+ handler: o(l),
662
+ config: i(l)
655
663
  };
656
664
  };
657
- return i.__isOptionsFunction = !0, i.__pluginFunction = r, i.__configFunction = a, i;
665
+ return d.__isOptionsFunction = !0, d.__pluginFunction = o, d.__configFunction = i, d;
658
666
  };
659
- const o = t;
660
- })(O);
661
- (function(e) {
662
- Object.defineProperty(e, "__esModule", {
667
+ const n = e;
668
+ })(H);
669
+ (function(r) {
670
+ Object.defineProperty(r, "__esModule", {
663
671
  value: !0
664
- }), Object.defineProperty(e, "default", {
672
+ }), Object.defineProperty(r, "default", {
665
673
  enumerable: !0,
666
674
  get: function() {
667
- return r;
675
+ return o;
668
676
  }
669
677
  });
670
- const t = /* @__PURE__ */ o(O);
671
- function o(a) {
672
- return a && a.__esModule ? a : {
673
- default: a
678
+ const e = /* @__PURE__ */ n(H);
679
+ function n(i) {
680
+ return i && i.__esModule ? i : {
681
+ default: i
674
682
  };
675
683
  }
676
- const r = t.default;
677
- })(R);
678
- let C = R;
679
- var V = (C.__esModule ? C : { default: C }).default;
680
- const y = /* @__PURE__ */ j(V), le = V;
681
- function _(e) {
684
+ const o = e.default;
685
+ })(Z);
686
+ let C = Z;
687
+ var W = (C.__esModule ? C : { default: C }).default;
688
+ const D = /* @__PURE__ */ z(W), be = W;
689
+ function F(r) {
682
690
  return Object.fromEntries(
683
- Object.entries(e).filter(([t]) => t !== "DEFAULT")
691
+ Object.entries(r).filter(([e]) => e !== "DEFAULT")
684
692
  );
685
693
  }
686
- var de = le(
687
- ({ addUtilities: e, matchUtilities: t, theme: o }) => {
688
- e({
689
- "@keyframes enter": o("keyframes.enter"),
690
- "@keyframes exit": o("keyframes.exit"),
694
+ var ge = be(
695
+ ({ addUtilities: r, matchUtilities: e, theme: n }) => {
696
+ r({
697
+ "@keyframes enter": n("keyframes.enter"),
698
+ "@keyframes exit": n("keyframes.exit"),
691
699
  ".animate-in": {
692
700
  animationName: "enter",
693
- animationDuration: o("animationDuration.DEFAULT"),
701
+ animationDuration: n("animationDuration.DEFAULT"),
694
702
  "--tw-enter-opacity": "initial",
695
703
  "--tw-enter-scale": "initial",
696
704
  "--tw-enter-rotate": "initial",
@@ -699,94 +707,94 @@ var de = le(
699
707
  },
700
708
  ".animate-out": {
701
709
  animationName: "exit",
702
- animationDuration: o("animationDuration.DEFAULT"),
710
+ animationDuration: n("animationDuration.DEFAULT"),
703
711
  "--tw-exit-opacity": "initial",
704
712
  "--tw-exit-scale": "initial",
705
713
  "--tw-exit-rotate": "initial",
706
714
  "--tw-exit-translate-x": "initial",
707
715
  "--tw-exit-translate-y": "initial"
708
716
  }
709
- }), t(
717
+ }), e(
710
718
  {
711
- "fade-in": (r) => ({ "--tw-enter-opacity": r }),
712
- "fade-out": (r) => ({ "--tw-exit-opacity": r })
719
+ "fade-in": (o) => ({ "--tw-enter-opacity": o }),
720
+ "fade-out": (o) => ({ "--tw-exit-opacity": o })
713
721
  },
714
- { values: o("animationOpacity") }
715
- ), t(
722
+ { values: n("animationOpacity") }
723
+ ), e(
716
724
  {
717
- "zoom-in": (r) => ({ "--tw-enter-scale": r }),
718
- "zoom-out": (r) => ({ "--tw-exit-scale": r })
725
+ "zoom-in": (o) => ({ "--tw-enter-scale": o }),
726
+ "zoom-out": (o) => ({ "--tw-exit-scale": o })
719
727
  },
720
- { values: o("animationScale") }
721
- ), t(
728
+ { values: n("animationScale") }
729
+ ), e(
722
730
  {
723
- "spin-in": (r) => ({ "--tw-enter-rotate": r }),
724
- "spin-out": (r) => ({ "--tw-exit-rotate": r })
731
+ "spin-in": (o) => ({ "--tw-enter-rotate": o }),
732
+ "spin-out": (o) => ({ "--tw-exit-rotate": o })
725
733
  },
726
- { values: o("animationRotate") }
727
- ), t(
734
+ { values: n("animationRotate") }
735
+ ), e(
728
736
  {
729
- "slide-in-from-top": (r) => ({
730
- "--tw-enter-translate-y": `-${r}`
737
+ "slide-in-from-top": (o) => ({
738
+ "--tw-enter-translate-y": `-${o}`
731
739
  }),
732
- "slide-in-from-bottom": (r) => ({
733
- "--tw-enter-translate-y": r
740
+ "slide-in-from-bottom": (o) => ({
741
+ "--tw-enter-translate-y": o
734
742
  }),
735
- "slide-in-from-left": (r) => ({
736
- "--tw-enter-translate-x": `-${r}`
743
+ "slide-in-from-left": (o) => ({
744
+ "--tw-enter-translate-x": `-${o}`
737
745
  }),
738
- "slide-in-from-right": (r) => ({
739
- "--tw-enter-translate-x": r
746
+ "slide-in-from-right": (o) => ({
747
+ "--tw-enter-translate-x": o
740
748
  }),
741
- "slide-out-to-top": (r) => ({
742
- "--tw-exit-translate-y": `-${r}`
749
+ "slide-out-to-top": (o) => ({
750
+ "--tw-exit-translate-y": `-${o}`
743
751
  }),
744
- "slide-out-to-bottom": (r) => ({
745
- "--tw-exit-translate-y": r
752
+ "slide-out-to-bottom": (o) => ({
753
+ "--tw-exit-translate-y": o
746
754
  }),
747
- "slide-out-to-left": (r) => ({
748
- "--tw-exit-translate-x": `-${r}`
755
+ "slide-out-to-left": (o) => ({
756
+ "--tw-exit-translate-x": `-${o}`
749
757
  }),
750
- "slide-out-to-right": (r) => ({
751
- "--tw-exit-translate-x": r
758
+ "slide-out-to-right": (o) => ({
759
+ "--tw-exit-translate-x": o
752
760
  })
753
761
  },
754
- { values: o("animationTranslate") }
755
- ), t(
756
- { duration: (r) => ({ animationDuration: r }) },
757
- { values: _(o("animationDuration")) }
758
- ), t(
759
- { delay: (r) => ({ animationDelay: r }) },
760
- { values: o("animationDelay") }
761
- ), t(
762
- { ease: (r) => ({ animationTimingFunction: r }) },
763
- { values: _(o("animationTimingFunction")) }
764
- ), e({
762
+ { values: n("animationTranslate") }
763
+ ), e(
764
+ { duration: (o) => ({ animationDuration: o }) },
765
+ { values: F(n("animationDuration")) }
766
+ ), e(
767
+ { delay: (o) => ({ animationDelay: o }) },
768
+ { values: n("animationDelay") }
769
+ ), e(
770
+ { ease: (o) => ({ animationTimingFunction: o }) },
771
+ { values: F(n("animationTimingFunction")) }
772
+ ), r({
765
773
  ".running": { animationPlayState: "running" },
766
774
  ".paused": { animationPlayState: "paused" }
767
- }), t(
768
- { "fill-mode": (r) => ({ animationFillMode: r }) },
769
- { values: o("animationFillMode") }
770
- ), t(
771
- { direction: (r) => ({ animationDirection: r }) },
772
- { values: o("animationDirection") }
773
- ), t(
774
- { repeat: (r) => ({ animationIterationCount: r }) },
775
- { values: o("animationRepeat") }
775
+ }), e(
776
+ { "fill-mode": (o) => ({ animationFillMode: o }) },
777
+ { values: n("animationFillMode") }
778
+ ), e(
779
+ { direction: (o) => ({ animationDirection: o }) },
780
+ { values: n("animationDirection") }
781
+ ), e(
782
+ { repeat: (o) => ({ animationIterationCount: o }) },
783
+ { values: n("animationRepeat") }
776
784
  );
777
785
  },
778
786
  {
779
787
  theme: {
780
788
  extend: {
781
- animationDelay: ({ theme: e }) => ({
782
- ...e("transitionDelay")
789
+ animationDelay: ({ theme: r }) => ({
790
+ ...r("transitionDelay")
783
791
  }),
784
- animationDuration: ({ theme: e }) => ({
792
+ animationDuration: ({ theme: r }) => ({
785
793
  0: "0ms",
786
- ...e("transitionDuration")
794
+ ...r("transitionDuration")
787
795
  }),
788
- animationTimingFunction: ({ theme: e }) => ({
789
- ...e("transitionTimingFunction")
796
+ animationTimingFunction: ({ theme: r }) => ({
797
+ ...r("transitionTimingFunction")
790
798
  }),
791
799
  animationFillMode: {
792
800
  none: "none",
@@ -800,21 +808,21 @@ var de = le(
800
808
  alternate: "alternate",
801
809
  "alternate-reverse": "alternate-reverse"
802
810
  },
803
- animationOpacity: ({ theme: e }) => ({
811
+ animationOpacity: ({ theme: r }) => ({
804
812
  DEFAULT: 0,
805
- ...e("opacity")
813
+ ...r("opacity")
806
814
  }),
807
- animationTranslate: ({ theme: e }) => ({
815
+ animationTranslate: ({ theme: r }) => ({
808
816
  DEFAULT: "100%",
809
- ...e("translate")
817
+ ...r("translate")
810
818
  }),
811
- animationScale: ({ theme: e }) => ({
819
+ animationScale: ({ theme: r }) => ({
812
820
  DEFAULT: 0,
813
- ...e("scale")
821
+ ...r("scale")
814
822
  }),
815
- animationRotate: ({ theme: e }) => ({
823
+ animationRotate: ({ theme: r }) => ({
816
824
  DEFAULT: "30deg",
817
- ...e("rotate")
825
+ ...r("rotate")
818
826
  }),
819
827
  animationRepeat: {
820
828
  0: "0",
@@ -839,37 +847,37 @@ var de = le(
839
847
  }
840
848
  }
841
849
  );
842
- const $ = /* @__PURE__ */ j(de), Ee = {
850
+ const X = /* @__PURE__ */ z(ge), Ue = {
843
851
  theme: {
844
852
  screens: {
845
853
  mobile: { max: "1187px" },
846
854
  desktop: "1188px"
847
855
  },
848
856
  backgroundColor: {
849
- color: g,
850
- banner: F,
851
- icon: p
857
+ color: k,
858
+ banner: P,
859
+ icon: b
852
860
  },
853
861
  textColor: {
854
- icon: p,
855
- color: A
862
+ icon: b,
863
+ color: O
856
864
  },
857
- fill: p,
858
- stroke: p,
859
- borderColor: x,
860
- outlineColor: x,
861
- borderRadius: I,
865
+ fill: b,
866
+ stroke: b,
867
+ borderColor: N,
868
+ outlineColor: N,
869
+ borderRadius: V,
862
870
  fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
863
- fontSize: z,
864
- lineHeight: S,
865
- gradientColorStops: g,
871
+ fontSize: $,
872
+ lineHeight: U,
873
+ gradientColorStops: k,
866
874
  boxShadow: {
867
875
  sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
868
876
  md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
869
877
  lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
870
878
  },
871
879
  extend: {
872
- bgGradientDeg: L,
880
+ bgGradientDeg: M,
873
881
  width: {
874
882
  "popper-content": "var(--radix-popover-content-available-width)",
875
883
  "popper-trigger": "var(--radix-popover-trigger-width)",
@@ -914,24 +922,24 @@ const $ = /* @__PURE__ */ j(de), Ee = {
914
922
  },
915
923
  plugins: [
916
924
  // eslint-disable-next-line global-require
917
- $,
918
- y(({ addComponents: e }) => {
919
- e(B);
925
+ X,
926
+ D(({ addComponents: r }) => {
927
+ r(G);
920
928
  }),
921
- y(function({ matchUtilities: e, theme: t }) {
922
- e(
929
+ D(function({ matchUtilities: r, theme: e }) {
930
+ r(
923
931
  {
924
- "bg-deg-gradient": (o) => ({
925
- "background-image": `linear-gradient(${o}, var(--tw-gradient-stops))`
932
+ "bg-deg-gradient": (n) => ({
933
+ "background-image": `linear-gradient(${n}, var(--tw-gradient-stops))`
926
934
  })
927
935
  },
928
936
  {
929
- values: Object.assign(t("bgGradientDeg", {}), {})
937
+ values: Object.assign(e("bgGradientDeg", {}), {})
930
938
  }
931
939
  );
932
940
  })
933
941
  ]
934
- }, _e = {
942
+ }, Ge = {
935
943
  theme: {
936
944
  extend: {
937
945
  transitionDuration: {
@@ -971,102 +979,547 @@ const $ = /* @__PURE__ */ j(de), Ee = {
971
979
  }
972
980
  }
973
981
  }
974
- }, ke = {
982
+ }, Ze = {
975
983
  theme: {
976
984
  screens: {
977
985
  mobile: { max: "1187px" },
978
986
  desktop: "1188px"
979
987
  },
980
988
  backgroundColor: {
981
- color: g,
982
- banner: F,
983
- icon: p
989
+ color: k,
990
+ banner: P,
991
+ icon: b
984
992
  },
985
993
  textColor: {
986
- icon: p,
987
- color: A
994
+ icon: b,
995
+ color: O
988
996
  },
989
- fill: p,
990
- stroke: p,
991
- borderColor: x,
992
- outlineColor: x,
993
- borderRadius: I,
997
+ fill: b,
998
+ stroke: b,
999
+ borderColor: N,
1000
+ outlineColor: N,
1001
+ borderRadius: V,
994
1002
  fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
995
- fontSize: z,
996
- lineHeight: S,
997
- gradientColorStops: g,
1003
+ fontSize: $,
1004
+ lineHeight: U,
1005
+ gradientColorStops: k,
998
1006
  boxShadow: {
999
1007
  sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
1000
1008
  md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
1001
1009
  lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
1002
1010
  },
1003
- zIndex: ae,
1011
+ zIndex: xe,
1004
1012
  extend: {
1005
- bgGradientDeg: L
1013
+ bgGradientDeg: M
1006
1014
  }
1007
1015
  },
1008
1016
  plugins: [
1009
- $,
1010
- y(({ addComponents: e }) => {
1011
- e(B);
1017
+ X,
1018
+ D(({ addComponents: r }) => {
1019
+ r(G);
1012
1020
  }),
1013
- y(function({ matchUtilities: e, theme: t }) {
1014
- e(
1021
+ D(function({ matchUtilities: r, theme: e }) {
1022
+ r(
1015
1023
  {
1016
- "bg-deg-gradient": (o) => ({
1017
- "background-image": `linear-gradient(${o}, var(--tw-gradient-stops))`
1024
+ "bg-deg-gradient": (n) => ({
1025
+ "background-image": `linear-gradient(${n}, var(--tw-gradient-stops))`
1018
1026
  })
1019
1027
  },
1020
1028
  {
1021
- values: Object.assign(t("bgGradientDeg", {}), {})
1029
+ values: Object.assign(e("bgGradientDeg", {}), {})
1022
1030
  }
1023
1031
  );
1024
1032
  })
1025
1033
  ]
1026
- };
1034
+ }, q = ({ buttonsConfig: r, classes: e, className: n }) => {
1035
+ var i;
1036
+ const o = (r == null ? void 0 : r.secondary) && r.secondary.children;
1037
+ return /* @__PURE__ */ t.jsxs(
1038
+ "div",
1039
+ {
1040
+ "data-id": "banner-buttons-group",
1041
+ className: a(
1042
+ "grid-buttons-apply absolute bottom-6 flex w-full flex-col mobile:max-w-[328px] mobile:justify-self-center desktop:static desktop:flex-row",
1043
+ { "flex items-center gap-4": o },
1044
+ e == null ? void 0 : e.group,
1045
+ n
1046
+ ),
1047
+ children: [
1048
+ /* @__PURE__ */ t.jsx(E, { intent: "primary", ...r.primary, isFull: !0, className: a("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: r.primary.children }),
1049
+ o && /* @__PURE__ */ t.jsx(
1050
+ E,
1051
+ {
1052
+ intent: "secondary",
1053
+ ...r == null ? void 0 : r.secondary,
1054
+ isFull: !0,
1055
+ className: a("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
1056
+ children: (i = r == null ? void 0 : r.secondary) == null ? void 0 : i.children
1057
+ }
1058
+ )
1059
+ ]
1060
+ }
1061
+ );
1062
+ }, J = ({ advantagesList: r, classes: e }) => /* @__PURE__ */ t.jsx(
1063
+ "div",
1064
+ {
1065
+ className: a(
1066
+ "flex w-[328px] flex-col gap-8 rounded-md bg-color-white shadow-sm mobile:p-6 desktop:w-full desktop:flex-row desktop:items-start desktop:gap-0 desktop:py-6",
1067
+ e == null ? void 0 : e.wrapper
1068
+ ),
1069
+ children: r == null ? void 0 : r.map(({ title: n, description: o }) => /* @__PURE__ */ t.jsxs(
1070
+ "div",
1071
+ {
1072
+ className: a(
1073
+ 'after:content-[" "] relative flex h-full w-[285px] flex-col gap-2 after:absolute after:h-[1px] after:w-[280px] after:bg-color-blue-grey-300 last:after:hidden mobile:after:-bottom-4 mobile:after:left-1/2 mobile:after:-translate-x-1/2 desktop:px-8 desktop:after:right-0 desktop:after:top-1/2 desktop:after:h-10 desktop:after:w-[1px] desktop:after:-translate-y-1/2',
1074
+ e == null ? void 0 : e.advantage
1075
+ ),
1076
+ children: [
1077
+ /* @__PURE__ */ t.jsx(g, { as: "h4", className: a("text-color-dark", e == null ? void 0 : e.title), children: n }),
1078
+ /* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.description), children: o })
1079
+ ]
1080
+ },
1081
+ n
1082
+ ))
1083
+ }
1084
+ ), A = ({
1085
+ headTitle: r,
1086
+ subtitle: e,
1087
+ buttonsConfig: n,
1088
+ advantagesList: o,
1089
+ classes: i,
1090
+ img: d
1091
+ }) => {
1092
+ const l = Object.keys(n).reduce((u, f) => f ? u + 1 : u, 0);
1093
+ return /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: a("relative bg-banner-skyblue-300 pb-6 desktop:h-[456px]", i == null ? void 0 : i.section), children: /* @__PURE__ */ t.jsxs(h, { "data-id": "banner-container", className: a(i == null ? void 0 : i.container), children: [
1094
+ /* @__PURE__ */ t.jsxs(
1095
+ "div",
1096
+ {
1097
+ "data-id": "banner-grid",
1098
+ className: a("grid-mob-apply desktop:grid-desk-apply grid mobile:justify-center", i == null ? void 0 : i.wrapper),
1099
+ children: [
1100
+ /* @__PURE__ */ t.jsxs(
1101
+ "div",
1102
+ {
1103
+ "data-id": "banner-text-block",
1104
+ className: a("grid-text-apply mb-2 flex flex-col gap-4 pt-6 desktop:pb-10 desktop:pt-20", i == null ? void 0 : i.textBlock),
1105
+ children: [
1106
+ /* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", i == null ? void 0 : i.title), children: r }),
1107
+ /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle), children: e })
1108
+ ]
1109
+ }
1110
+ ),
1111
+ /* @__PURE__ */ t.jsx(q, { buttonsConfig: n, classes: i }),
1112
+ /* @__PURE__ */ t.jsx(
1113
+ "div",
1114
+ {
1115
+ "data-id": "banner-image-wrapper",
1116
+ className: a(
1117
+ "grid-image-apply w-full desktop:h-full desktop:w-[550px]",
1118
+ { "h-[450px]": l === 2 },
1119
+ { "h-[410px]": l === 1 },
1120
+ i == null ? void 0 : i.imageContainer
1121
+ ),
1122
+ children: /* @__PURE__ */ t.jsx(
1123
+ "img",
1124
+ {
1125
+ "data-id": "banner-image",
1126
+ src: d,
1127
+ alt: r,
1128
+ className: a("h-full w-full object-contain", i == null ? void 0 : i.image)
1129
+ }
1130
+ )
1131
+ }
1132
+ )
1133
+ ]
1134
+ }
1135
+ ),
1136
+ /* @__PURE__ */ t.jsx(
1137
+ "div",
1138
+ {
1139
+ "data-id": "banner-advantages",
1140
+ className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", i == null ? void 0 : i.advantages),
1141
+ children: o && (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t.jsx(J, { advantagesList: o })
1142
+ }
1143
+ )
1144
+ ] }) });
1145
+ }, he = ({
1146
+ headTitle: r,
1147
+ subtitle: e,
1148
+ buttonsConfig: n,
1149
+ advantagesList: o,
1150
+ classes: i,
1151
+ img: d,
1152
+ imgSets: l
1153
+ }) => /* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: a("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.section), children: [
1154
+ /* @__PURE__ */ t.jsx(
1155
+ "div",
1156
+ {
1157
+ "data-id": "banner-img-wrapper",
1158
+ className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]",
1159
+ children: /* @__PURE__ */ t.jsxs("picture", { children: [
1160
+ /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: l == null ? void 0 : l.large, type: "image/avif" }),
1161
+ /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: l == null ? void 0 : l.mob, type: (l == null ? void 0 : l.type) ?? "image/avif" }),
1162
+ /* @__PURE__ */ t.jsx(
1163
+ "img",
1164
+ {
1165
+ "data-id": "banner-image",
1166
+ src: d,
1167
+ alt: r,
1168
+ className: a("h-full w-full object-cover object-center", i == null ? void 0 : i.image)
1169
+ }
1170
+ )
1171
+ ] })
1172
+ }
1173
+ ),
1174
+ /* @__PURE__ */ t.jsxs(h, { "data-id": "banner-container", className: a("h-full pb-6", i == null ? void 0 : i.container), children: [
1175
+ /* @__PURE__ */ t.jsxs(
1176
+ "div",
1177
+ {
1178
+ "data-id": "banner-grid",
1179
+ className: a(
1180
+ "grid-mob-full-img-apply desktop:grid-desk-full-img-apply grid h-full grid-rows-[repeat(2,_min-content)]",
1181
+ i == null ? void 0 : i.wrapper
1182
+ ),
1183
+ children: [
1184
+ /* @__PURE__ */ t.jsxs(
1185
+ "div",
1186
+ {
1187
+ "data-id": "banner-text-block",
1188
+ className: a(
1189
+ "grid-text-apply flex flex-col gap-4 pt-6 mobile:w-[328px] desktop:pb-10 desktop:pt-20",
1190
+ i == null ? void 0 : i.textBlock
1191
+ ),
1192
+ children: [
1193
+ /* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-white", i == null ? void 0 : i.title), children: r }),
1194
+ /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-white", i == null ? void 0 : i.subtitle), children: e })
1195
+ ]
1196
+ }
1197
+ ),
1198
+ /* @__PURE__ */ t.jsx(
1199
+ q,
1200
+ {
1201
+ className: "mobile:self-end",
1202
+ "data-id": "banner-buttons-group",
1203
+ buttonsConfig: n,
1204
+ classes: i
1205
+ }
1206
+ )
1207
+ ]
1208
+ }
1209
+ ),
1210
+ /* @__PURE__ */ t.jsx(
1211
+ "div",
1212
+ {
1213
+ "data-id": "banner-advantages",
1214
+ className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", i == null ? void 0 : i.advantages),
1215
+ children: o && (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t.jsx(J, { "data-id": "banner-advantages-list", advantagesList: o })
1216
+ }
1217
+ )
1218
+ ] })
1219
+ ] }), He = ({ bannerVariant: r, ...e }) => {
1220
+ switch (r) {
1221
+ case "sepatateImg":
1222
+ return /* @__PURE__ */ t.jsx(A, { ...e });
1223
+ case "fullImg":
1224
+ return /* @__PURE__ */ t.jsx(he, { ...e });
1225
+ default:
1226
+ return /* @__PURE__ */ t.jsx(A, { ...e });
1227
+ }
1228
+ }, ye = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1229
+ "© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
1230
+ /* @__PURE__ */ t.jsx("br", {}),
1231
+ " Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
1232
+ ] }), ve = `Кредит на бизнес цели, срок 3, 6, 9, 12, 18, 24, 36, 48, 60 мес. Ставка – от 22,9%*. *Точная процентная ставка
1233
+ устанавливается по соглашению сторон и определяется исходя из платёжеспособности и кредитоспособности клиента, а также
1234
+ иных индивидуальных особенностей клиента. Сумма 100 000 – 50 000 000 руб. Кредит выдается на карту “Халва”, открытый в
1235
+ Банке. Банк вправе отказать в предоставлении кредита без объяснения причины, а также запросить дополнительную информацию о
1236
+ клиенте. Предварительное одобрение не влечет обязательств Банка по выдаче кредита. В некоторых случаях срок рассмотрения
1237
+ заявки может составлять до 3 рабочих дней. Полный электронный документооборот при наличии открытого р/с в ПАО «Совкомбанк»
1238
+ и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`, we = [
1239
+ { phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
1240
+ { phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
1241
+ ], se = [
1242
+ { iconName: "social/vk", href: "/vk" },
1243
+ { iconName: "social/telegram", href: "/tg" },
1244
+ { iconName: "social/classmates", href: "/cl" }
1245
+ ], je = [
1246
+ {
1247
+ groupLabel: "Совкомбанк",
1248
+ links: [
1249
+ { text: "О банке", href: "/" },
1250
+ { text: "Реквизиты и лицензии", href: "/" },
1251
+ { text: "Пресс-центр", href: "/" },
1252
+ { text: "Удостоверяющий центр ПАО «Совкомбанк»", href: "/" },
1253
+ { text: "Работа у нас", href: "/" },
1254
+ { text: "Контакты", href: "/" },
1255
+ { text: "Раскрытие информации", href: "/" },
1256
+ { text: "Страница раскрытия информации в Интерфакс", href: "/" },
1257
+ { text: "Реализация залогового имущества", href: "/" },
1258
+ { text: "Клиентам и партнерам", href: "/" },
1259
+ { text: "Биометрия", href: "/" },
1260
+ { text: "Стандарты безопасности", href: "/" },
1261
+ { text: "Информация о процентных ставках по договорам банковского вклада с физическими лицами", href: "/" },
1262
+ { text: "ООО «Совком Финанс»", href: "/" },
1263
+ { text: "Безопасность", href: "/" }
1264
+ ]
1265
+ },
1266
+ {
1267
+ groupLabel: "Сервисы",
1268
+ links: [
1269
+ { text: "Подарочная карта «Халва»", href: "/" },
1270
+ { text: "Страховые продукты", href: "/" },
1271
+ { text: "МультиЮрист", href: "/" },
1272
+ { text: "Единая социальная карта «Уралочка»", href: "/" },
1273
+ { text: "Единая Карта Жителя Мурманской области", href: "/" },
1274
+ { text: "Безопасные расчёты", href: "/" },
1275
+ { text: "Улучшение кредитной истории", href: "/" },
1276
+ { text: "Дистанционные сервисы Совкомбанка", href: "/" },
1277
+ { text: "Программы реструктуризации долга", href: "/" }
1278
+ ]
1279
+ },
1280
+ {
1281
+ groupLabel: "Услуги банка",
1282
+ links: [
1283
+ { text: "Карты", href: "/" },
1284
+ { text: "Кредиты", href: "/" },
1285
+ { text: "Кредиты наличными", href: "/" },
1286
+ { text: "Ипотека", href: "/" },
1287
+ { text: "Автокредиты", href: "/" },
1288
+ { text: "Кредитный калькулятор", href: "/" },
1289
+ { text: "Вклады", href: "/" },
1290
+ { text: "Инвестиции", href: "/" },
1291
+ { text: "Платежи", href: "/" },
1292
+ { text: "Сервисы", href: "/" },
1293
+ { text: "Малому бизнесу и ИП", href: "/" },
1294
+ { text: "Корпоративным клиентам", href: "/" },
1295
+ { text: "CIB", href: "/" },
1296
+ { text: "Драгоценные металлы в слитках", href: "/" },
1297
+ { text: "Счета в драгоценных металлах", href: "/" }
1298
+ ]
1299
+ },
1300
+ {
1301
+ groupLabel: "Клиентам других банков",
1302
+ links: [
1303
+ { text: "Держателям карт рассрочки Банка Хоум Кредит", href: "/" },
1304
+ { text: "ПАО КБ «Восточный»", href: "/" },
1305
+ { text: "Держателям карт «Совесть»", href: "/" },
1306
+ { text: "АО «Нордеа Банк»", href: "/" },
1307
+ { text: "ЗАО «ДжиИ Мани банк»", href: "/" },
1308
+ { text: "АО «Меткомбанк»", href: "/" },
1309
+ { text: "АКБ «РосЕвроБанк» (АО)", href: "/" },
1310
+ { text: "ПАО «Татфондбанк»", href: "/" },
1311
+ { text: "АО АКБ «Экспресс-Волга»", href: "/" },
1312
+ { text: "АО «ВКАБАНК»", href: "/" },
1313
+ { text: "ООО «ОНЕЙ БАНК»", href: "/" },
1314
+ { text: "АО «Евразийский»", href: "/" },
1315
+ { text: "АО «НФК»", href: "/" },
1316
+ { text: "ООО «РТС-Капитал»", href: "/" },
1317
+ { text: "ООО «ИК Септем Капитал»", href: "/" },
1318
+ { text: "Помощь", href: "/" },
1319
+ { text: "Офисы и банкоматы", href: "/" }
1320
+ ]
1321
+ }
1322
+ ], ke = ({ socialsLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("mt-6 flex items-center gap-2", e == null ? void 0 : e.socialRoot), children: r == null ? void 0 : r.map(({ iconName: n, href: o }) => /* @__PURE__ */ t.jsx(
1323
+ "a",
1324
+ {
1325
+ className: a("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
1326
+ href: o,
1327
+ children: /* @__PURE__ */ t.jsx(m, { name: n, className: a("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
1328
+ },
1329
+ o
1330
+ )) }), Ne = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("flex flex-col items-end gap-4", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone: n, text: o }) => /* @__PURE__ */ t.jsx(
1331
+ S,
1332
+ {
1333
+ phone: n,
1334
+ text: o,
1335
+ classes: {
1336
+ wrapper: a(e == null ? void 0 : e.phoneWrapper),
1337
+ text: a("text-color-footer", e == null ? void 0 : e.phoneText),
1338
+ link: a("text-color-white", e == null ? void 0 : e.phoneLink)
1339
+ }
1340
+ },
1341
+ n
1342
+ )) }), De = ({ navigationLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("grid grid-cols-4 gap-10 border-y border-blue-grey-500 py-8 pt-8", e == null ? void 0 : e.navRoot), children: r == null ? void 0 : r.map(({ groupLabel: n, links: o }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
1343
+ /* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m font-medium text-color-white", e == null ? void 0 : e.navLabel), children: n }),
1344
+ /* @__PURE__ */ t.jsx("div", { className: a("flex flex-col gap-2", e == null ? void 0 : e.navWrapper), children: o == null ? void 0 : o.map(({ text: i, href: d }) => /* @__PURE__ */ t.jsx(
1345
+ "a",
1346
+ {
1347
+ href: d,
1348
+ className: a(
1349
+ "desk-body-regular-m cursor-pointer text-color-white transition-colors hover:text-color-footer",
1350
+ e == null ? void 0 : e.navLink
1351
+ ),
1352
+ children: i
1353
+ },
1354
+ i
1355
+ )) })
1356
+ ] }, n)) }), _e = ({ ligal: r, classes: e }) => {
1357
+ const [n, o] = s.useState(!1), [i, d] = s.useState(!1), l = s.useRef(null);
1358
+ return s.useEffect(() => {
1359
+ const u = l.current;
1360
+ u && d(u.scrollHeight > u.clientHeight);
1361
+ }, []), /* @__PURE__ */ t.jsxs("div", { className: a("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
1362
+ /* @__PURE__ */ t.jsx("p", { ref: l, className: a("desk-body-regular-m text-color-footer", { "line-clamp-3": !n }, e == null ? void 0 : e.ligal), children: r }),
1363
+ i && /* @__PURE__ */ t.jsx(
1364
+ "div",
1365
+ {
1366
+ tabIndex: 0,
1367
+ role: "button",
1368
+ onClick: () => o((u) => !u),
1369
+ className: a(
1370
+ "desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
1371
+ e == null ? void 0 : e.ligalButton
1372
+ ),
1373
+ children: "Подробнее"
1374
+ }
1375
+ )
1376
+ ] });
1377
+ }, Ce = ({ text: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m text-color-footer", e == null ? void 0 : e.text), children: r }), We = ({
1378
+ withSocial: r = !0,
1379
+ withPhones: e = !0,
1380
+ withNavLinks: n = !0,
1381
+ withLigal: o = !0,
1382
+ withCopyright: i = !0,
1383
+ withSiteMap: d = !0,
1384
+ socialsLinks: l = se,
1385
+ phones: u = we,
1386
+ navigationLinks: f = je,
1387
+ ligal: y = ve,
1388
+ copyright: v = ye,
1389
+ classes: p
1390
+ }) => /* @__PURE__ */ t.jsx(R, { className: a("w-full", p == null ? void 0 : p.section), children: /* @__PURE__ */ t.jsx(h, { className: a(p == null ? void 0 : p.container), children: /* @__PURE__ */ t.jsxs("div", { className: a("bg-color-footer px-4 py-8 desktop:px-6 desktop:py-10", p == null ? void 0 : p.footerRoot), children: [
1391
+ /* @__PURE__ */ t.jsxs("div", { className: a("mb-8 flex items-center justify-between gap-6", p == null ? void 0 : p.footerHead), children: [
1392
+ /* @__PURE__ */ t.jsxs("div", { className: a(p == null ? void 0 : p.footerSocialBlock), children: [
1393
+ /* @__PURE__ */ t.jsx("a", { href: "/", className: a(p == null ? void 0 : p.footerLogo), children: /* @__PURE__ */ t.jsx(m, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
1394
+ r && /* @__PURE__ */ t.jsx(ke, { socialsLinks: l, classes: p })
1395
+ ] }),
1396
+ e && /* @__PURE__ */ t.jsx(Ne, { phones: u, classes: p })
1397
+ ] }),
1398
+ n && /* @__PURE__ */ t.jsx(De, { navigationLinks: f, classes: p }),
1399
+ o && /* @__PURE__ */ t.jsx(_e, { ligal: y, classes: p }),
1400
+ /* @__PURE__ */ t.jsxs("div", { className: "mt-6 flex items-start justify-between gap-6", children: [
1401
+ i && /* @__PURE__ */ t.jsx(Ce, { text: v, classes: p }),
1402
+ d && /* @__PURE__ */ t.jsx(
1403
+ "a",
1404
+ {
1405
+ href: "https://sovcombank.ru/site-map",
1406
+ target: "_blank",
1407
+ rel: "noreferrer",
1408
+ className: "desk-body-regular-m text-color-white",
1409
+ children: "Карта сайта"
1410
+ }
1411
+ )
1412
+ ] })
1413
+ ] }) }) }), Ee = (r) => {
1414
+ switch (r.variant) {
1415
+ case "withButton":
1416
+ return /* @__PURE__ */ t.jsx(E, { intent: "secondary", size: "sm", children: "Оформить заявку" });
1417
+ case "withPhone":
1418
+ const { phone: e, phoneText: n } = r;
1419
+ return /* @__PURE__ */ t.jsx(S, { phone: e, text: n });
1420
+ default:
1421
+ return null;
1422
+ }
1423
+ }, Xe = (r) => {
1424
+ const { logoPath: e = "/", logoType: n = "main" } = r;
1425
+ return /* @__PURE__ */ t.jsx("header", { className: "flex h-[72px] items-center justify-center bg-color-blue-grey-200", children: /* @__PURE__ */ t.jsx(h, { children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-between gap-5", children: [
1426
+ /* @__PURE__ */ t.jsx(
1427
+ "a",
1428
+ {
1429
+ href: e,
1430
+ target: "_blank",
1431
+ rel: "noreferrer",
1432
+ className: "flex items-center justify-center [&_svg]:h-[32px] [&_svg]:w-[192px]",
1433
+ children: me[n]
1434
+ }
1435
+ ),
1436
+ Ee(r)
1437
+ ] }) }) });
1438
+ }, Te = ({ title: r, description: e, index: n, classes: o }) => /* @__PURE__ */ t.jsxs(
1439
+ "div",
1440
+ {
1441
+ className: a(
1442
+ "mobile:border-color-blue-grey-500 flex w-[328px] max-w-[328px] flex-col gap-6 mobile:rounded-md mobile:border mobile:border-solid mobile:p-4 desktop:w-[348px] desktop:max-w-[348px]",
1443
+ o == null ? void 0 : o.singleStep
1444
+ ),
1445
+ children: [
1446
+ /* @__PURE__ */ t.jsx(
1447
+ "div",
1448
+ {
1449
+ className: a(
1450
+ "mob-headline-bold-s flex size-10 items-center justify-center rounded-sm bg-color-blue-grey-500 text-color-white desktop:desk-title-bold-l desktop:size-12",
1451
+ o == null ? void 0 : o.numeric
1452
+ ),
1453
+ children: n
1454
+ }
1455
+ ),
1456
+ /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4", o == null ? void 0 : o.textBlock), children: [
1457
+ /* @__PURE__ */ t.jsx(g, { as: "h4", className: a("text-color-dark", o == null ? void 0 : o.title), children: r }),
1458
+ /* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", o == null ? void 0 : o.description), children: e })
1459
+ ] })
1460
+ ]
1461
+ }
1462
+ ), qe = ({ heading: r, stepsList: e, classes: n }) => /* @__PURE__ */ t.jsx(R, { children: /* @__PURE__ */ t.jsx(h, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-12", n == null ? void 0 : n.root), children: [
1463
+ /* @__PURE__ */ t.jsx(g, { as: "h2", className: a("text-color-dark", n == null ? void 0 : n.headline), children: r }),
1464
+ /* @__PURE__ */ t.jsx(
1465
+ "div",
1466
+ {
1467
+ className: a(
1468
+ "flex flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
1469
+ n == null ? void 0 : n.stepsWrapper
1470
+ ),
1471
+ children: e == null ? void 0 : e.map((o, i) => /* @__PURE__ */ t.jsx(Te, { index: i + 1, ...o, classes: n }, o.title))
1472
+ }
1473
+ )
1474
+ ] }) }) });
1027
1475
  export {
1028
- Ae as Badge,
1029
- be as Breadcrumbs,
1030
- ge as Button,
1031
- xe as ButtonIcon,
1032
- ye as CustomLink,
1033
- Fe as DADATA_BASE_CACHE_URL,
1034
- Ie as DADATA_BASE_CONSTANTS_URL,
1035
- ve as Document,
1036
- U as Heading,
1037
- D as Icon,
1038
- Z as Loader,
1039
- Le as Notification,
1040
- he as PhoneView,
1041
- we as ProgressBar,
1042
- H as ResponsiveContainer,
1043
- N as RgxCheckForHyphen,
1044
- ne as RgxPatronymic,
1045
- ie as RgxUnicode,
1046
- me as Section,
1047
- Ce as Skeleton,
1048
- fe as Table,
1049
- b as VALIDATION_MESSAGES,
1050
- g as allowedBackgroundColors,
1051
- L as allowedBackgroundDeg,
1052
- F as allowedBannersBackgroundColors,
1053
- I as allowedBorderRadius,
1054
- z as allowedFontSize,
1055
- p as allowedIconsColors,
1056
- S as allowedLineHeight,
1057
- x as allowedStrokeColors,
1058
- A as allowedTextColors,
1059
- B as allowedTextStyles,
1060
- ae as allowedZIndex,
1061
- w as capitalize,
1062
- l as cn,
1063
- ce as deepCompare,
1064
- _e as extendsPreset,
1065
- pe as formatToDate,
1066
- ze as isClient,
1067
- ke as resetPreset,
1068
- Ee as tailwindConfigBase,
1069
- Ne as zodCalendarValidate,
1070
- De as zodDadataFioValidate
1476
+ J as Advantages,
1477
+ Ke as Badge,
1478
+ He as Banner,
1479
+ Le as Breadcrumbs,
1480
+ E as Button,
1481
+ Re as ButtonIcon,
1482
+ Se as CustomLink,
1483
+ Ye as DADATA_BASE_CACHE_URL,
1484
+ et as DADATA_BASE_CONSTANTS_URL,
1485
+ Oe as Document,
1486
+ We as Footer,
1487
+ g as Heading,
1488
+ m as Icon,
1489
+ K as Loader,
1490
+ tt as Notification,
1491
+ Xe as PageHeader,
1492
+ S as PhoneView,
1493
+ Pe as ProgressBar,
1494
+ h as ResponsiveContainer,
1495
+ T as RgxCheckForHyphen,
1496
+ ce as RgxPatronymic,
1497
+ fe as RgxUnicode,
1498
+ R as Section,
1499
+ Ve as Skeleton,
1500
+ qe as Stepper,
1501
+ ze as Table,
1502
+ j as VALIDATION_MESSAGES,
1503
+ k as allowedBackgroundColors,
1504
+ M as allowedBackgroundDeg,
1505
+ P as allowedBannersBackgroundColors,
1506
+ V as allowedBorderRadius,
1507
+ $ as allowedFontSize,
1508
+ b as allowedIconsColors,
1509
+ U as allowedLineHeight,
1510
+ N as allowedStrokeColors,
1511
+ O as allowedTextColors,
1512
+ G as allowedTextStyles,
1513
+ xe as allowedZIndex,
1514
+ _ as capitalize,
1515
+ a as cn,
1516
+ Ae as deepCompare,
1517
+ Ge as extendsPreset,
1518
+ Be as formatToDate,
1519
+ rt as isClient,
1520
+ Ze as resetPreset,
1521
+ Ue as tailwindConfigBase,
1522
+ $e as zodCalendarValidate,
1523
+ Me as zodDadataFioValidate
1071
1524
  };
1072
1525
  //# sourceMappingURL=hybrid.js.map