@scbt-ecom/ui 0.7.12 → 0.7.14
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/client.js +4116 -4138
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +298 -272
- package/dist/hybrid.js.map +1 -1
- package/dist/{Notification-B1J5kH7h.js → style-B2uhcWlW.js} +2246 -2222
- package/dist/style-B2uhcWlW.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/widgets/Advantages.d.ts +5 -6
- package/dist/widgets/banner/Banner.d.ts +3 -3
- package/package.json +1 -1
- package/dist/Notification-B1J5kH7h.js.map +0 -1
package/dist/hybrid.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { p as z, j as t, c as a, H as
|
|
2
|
-
import { B as
|
|
1
|
+
import { p as z, j as t, c as a, H as y, a as x, I as f, L as ee, z as c, i as te, g as L, u as R, P as re } from "./style-B2uhcWlW.js";
|
|
2
|
+
import { B as lt, D as pt, d as mt, N as ut, b as xt } from "./style-B2uhcWlW.js";
|
|
3
3
|
import * as v from "react";
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e),
|
|
4
|
+
import { forwardRef as S } from "react";
|
|
5
|
+
const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), C = (o) => o.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), $e = (o, e = "dd.MM.yyyy") => z(o, e, /* @__PURE__ */ new Date()), V = ({ children: o, className: e, ...i }) => /* @__PURE__ */ t.jsx("section", { className: a("pb-16 desktop:pb-20", e), ...i, children: o }), g = ({ children: o, className: e, ...i }) => /* @__PURE__ */ t.jsx("div", { className: a("m-auto w-full px-4 desktop:max-w-[1188px]", e), ...i, children: o }), oe = x("grid", {
|
|
6
6
|
variants: {
|
|
7
7
|
columnCount: {
|
|
8
8
|
twoColumns: "grid-cols-[repeat(2,minmax(172px,_1fr))] desktop:grid-cols-[repeat(2,minmax(172px,_1fr))]",
|
|
9
9
|
threeColumns: "grid-cols-[repeat(3,minmax(172px,_1fr))] desktop:grid-cols-[repeat(3,minmax(312px,_1fr))]"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
}),
|
|
12
|
+
}), ne = x("grid", {
|
|
13
13
|
variants: {
|
|
14
14
|
columnCount: {
|
|
15
15
|
twoColumns: "",
|
|
@@ -42,7 +42,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
42
42
|
class: "grid-cols-[repeat(3,_auto)]"
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
|
-
}),
|
|
45
|
+
}), ie = x("grid", {
|
|
46
46
|
variants: {
|
|
47
47
|
columnCount: {
|
|
48
48
|
twoColumns: "",
|
|
@@ -55,7 +55,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
55
55
|
class: "overflow-x-scroll max-w-[368px] mb-1"
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
|
-
}),
|
|
58
|
+
}), ae = x("border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l mob-body-regular-l", {
|
|
59
59
|
variants: {
|
|
60
60
|
columnCount: {
|
|
61
61
|
twoColumns: "",
|
|
@@ -73,7 +73,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
73
73
|
class: "border-transparent border-0 p-0"
|
|
74
74
|
}
|
|
75
75
|
]
|
|
76
|
-
}),
|
|
76
|
+
}), Ue = ({
|
|
77
77
|
headTitle: o,
|
|
78
78
|
tableRows: e,
|
|
79
79
|
tableHead: i,
|
|
@@ -82,10 +82,10 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
82
82
|
classes: d
|
|
83
83
|
}) => {
|
|
84
84
|
const l = i && i.length > 0 ? "exist" : "notExist";
|
|
85
|
-
return /* @__PURE__ */ t.jsx(
|
|
86
|
-
/* @__PURE__ */ t.jsx(
|
|
87
|
-
/* @__PURE__ */ t.jsxs("div", { className: a(
|
|
88
|
-
/* @__PURE__ */ t.jsx("ul", { className: a(
|
|
85
|
+
return /* @__PURE__ */ t.jsx(g, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", d == null ? void 0 : d.tableRootWrapper), children: [
|
|
86
|
+
/* @__PURE__ */ t.jsx(y, { as: "h3", className: a("mob-title-bold-m pb-6 desktop:desk-title-bold-s", d == null ? void 0 : d.tableHeading), children: o }),
|
|
87
|
+
/* @__PURE__ */ t.jsxs("div", { className: a(ie({ columnCount: n }), d == null ? void 0 : d.tableBody), children: [
|
|
88
|
+
/* @__PURE__ */ t.jsx("ul", { className: a(oe({ columnCount: n }), d == null ? void 0 : d.tableTitlesContainer), children: i == null ? void 0 : i.map((m) => /* @__PURE__ */ t.jsx(
|
|
89
89
|
"li",
|
|
90
90
|
{
|
|
91
91
|
className: a(
|
|
@@ -96,11 +96,11 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
96
96
|
},
|
|
97
97
|
m
|
|
98
98
|
)) }),
|
|
99
|
-
/* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((m,
|
|
99
|
+
/* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((m, u) => /* @__PURE__ */ t.jsx("li", { className: a(ne({ columnCount: n, titlesExist: l }), d == null ? void 0 : d.tableBodyRow), children: m.map((b, s) => /* @__PURE__ */ t.jsx("p", { className: a(ae({ titlesExist: l, columnCount: n }), d == null ? void 0 : d.tableBodyCeil), children: b.text }, s)) }, u)) })
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-m desktop:desk-body-regular-l", d == null ? void 0 : d.tableAdditionalText), children: r })
|
|
102
102
|
] }) });
|
|
103
|
-
},
|
|
103
|
+
}, He = ({ linksList: o }) => /* @__PURE__ */ t.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: o.map((e) => /* @__PURE__ */ t.jsx(t.Fragment, { children: "path" in e ? /* @__PURE__ */ t.jsxs(
|
|
104
104
|
"div",
|
|
105
105
|
{
|
|
106
106
|
className: a(
|
|
@@ -122,7 +122,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
122
122
|
}
|
|
123
123
|
),
|
|
124
124
|
/* @__PURE__ */ t.jsx(
|
|
125
|
-
|
|
125
|
+
f,
|
|
126
126
|
{
|
|
127
127
|
name: "arrows/arrowRight",
|
|
128
128
|
className: a("size-4 text-icon-primary-default", { "!text-icon-disabled": e == null ? void 0 : e.isDisabled })
|
|
@@ -130,7 +130,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
130
130
|
)
|
|
131
131
|
]
|
|
132
132
|
}
|
|
133
|
-
) : /* @__PURE__ */ t.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }),
|
|
133
|
+
) : /* @__PURE__ */ t.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }), de = (o) => {
|
|
134
134
|
switch (o) {
|
|
135
135
|
case "ghost":
|
|
136
136
|
case "secondary":
|
|
@@ -141,7 +141,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
141
141
|
default:
|
|
142
142
|
return o;
|
|
143
143
|
}
|
|
144
|
-
},
|
|
144
|
+
}, le = x(
|
|
145
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",
|
|
146
146
|
{
|
|
147
147
|
variants: {
|
|
@@ -199,7 +199,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
199
199
|
isFull: !1
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
), j =
|
|
202
|
+
), j = S(
|
|
203
203
|
({
|
|
204
204
|
intent: o,
|
|
205
205
|
size: e,
|
|
@@ -209,26 +209,26 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
209
209
|
iconLeft: d,
|
|
210
210
|
iconRight: l,
|
|
211
211
|
disabled: m = !1,
|
|
212
|
-
isLoading:
|
|
213
|
-
isFull:
|
|
212
|
+
isLoading: u = !1,
|
|
213
|
+
isFull: b = !1,
|
|
214
214
|
textFormat: s,
|
|
215
215
|
...p
|
|
216
|
-
},
|
|
216
|
+
}, Y) => /* @__PURE__ */ t.jsx(
|
|
217
217
|
"button",
|
|
218
218
|
{
|
|
219
|
-
ref:
|
|
219
|
+
ref: Y,
|
|
220
220
|
type: n,
|
|
221
|
-
disabled: m ||
|
|
222
|
-
className: a(
|
|
221
|
+
disabled: m || u,
|
|
222
|
+
className: a(le({ intent: o, size: e, textFormat: s, isLoading: u, isFull: b }), i),
|
|
223
223
|
...p,
|
|
224
|
-
children:
|
|
224
|
+
children: u ? /* @__PURE__ */ t.jsx(ee, { size: "sm", intent: de(o) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
225
225
|
d && /* @__PURE__ */ t.jsx("span", { className: "flex size-5 items-center justify-center", children: d }),
|
|
226
226
|
r,
|
|
227
227
|
l && /* @__PURE__ */ t.jsx("span", { className: "flex size-5 items-center justify-center", children: l })
|
|
228
228
|
] })
|
|
229
229
|
}
|
|
230
230
|
)
|
|
231
|
-
),
|
|
231
|
+
), pe = x(
|
|
232
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",
|
|
233
233
|
{
|
|
234
234
|
variants: {
|
|
@@ -248,9 +248,9 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
248
248
|
size: "lg"
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
),
|
|
252
|
-
({ size: o, intent: e, children: i, classes: r, type: n = "button", ...d }, l) => /* @__PURE__ */ t.jsx("button", { ref: l, type: n, className: a(
|
|
253
|
-
),
|
|
251
|
+
), Ge = S(
|
|
252
|
+
({ size: o, intent: e, children: i, classes: r, type: n = "button", ...d }, l) => /* @__PURE__ */ t.jsx("button", { ref: l, type: n, className: a(pe({ intent: e, size: o }), r == null ? void 0 : r.button), ...d, children: /* @__PURE__ */ t.jsx("span", { className: a(r == null ? void 0 : r.icon), children: i }) })
|
|
253
|
+
), me = x(
|
|
254
254
|
"group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
|
|
255
255
|
{
|
|
256
256
|
variants: {
|
|
@@ -278,7 +278,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
278
278
|
size: "sm"
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
),
|
|
281
|
+
), ue = x("size-6", {
|
|
282
282
|
variants: {
|
|
283
283
|
intent: {
|
|
284
284
|
blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
|
|
@@ -293,7 +293,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
293
293
|
intent: "blue",
|
|
294
294
|
disabled: !1
|
|
295
295
|
}
|
|
296
|
-
}),
|
|
296
|
+
}), We = ({
|
|
297
297
|
Component: o = "a",
|
|
298
298
|
intent: e,
|
|
299
299
|
children: i,
|
|
@@ -302,10 +302,10 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
302
302
|
size: d,
|
|
303
303
|
icon: l = "arrows/arrowLink",
|
|
304
304
|
...m
|
|
305
|
-
}) => /* @__PURE__ */ t.jsxs(o, { className: a(
|
|
305
|
+
}) => /* @__PURE__ */ t.jsxs(o, { className: a(me({ intent: e, withIcon: r, disabled: n, size: d })), ...m, children: [
|
|
306
306
|
i,
|
|
307
|
-
r && /* @__PURE__ */ t.jsx(
|
|
308
|
-
] }),
|
|
307
|
+
r && /* @__PURE__ */ t.jsx(f, { name: l, className: a(ue({ intent: e, disabled: n })) })
|
|
308
|
+
] }), xe = x("size-8 transition-colors", {
|
|
309
309
|
variants: {
|
|
310
310
|
intent: {
|
|
311
311
|
outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -315,7 +315,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
315
315
|
defaultVariants: {
|
|
316
316
|
intent: "outline"
|
|
317
317
|
}
|
|
318
|
-
}),
|
|
318
|
+
}), fe = {
|
|
319
319
|
filled: "files/documentFilled",
|
|
320
320
|
outline: "files/documentOutline"
|
|
321
321
|
}, Ze = ({ text: o, size: e, sizeType: i, href: r, intent: n = "outline" }) => /* @__PURE__ */ t.jsxs(
|
|
@@ -329,7 +329,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
329
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]"
|
|
330
330
|
),
|
|
331
331
|
children: [
|
|
332
|
-
/* @__PURE__ */ t.jsx(
|
|
332
|
+
/* @__PURE__ */ t.jsx(f, { name: fe[n], className: a(xe({ intent: n })) }),
|
|
333
333
|
/* @__PURE__ */ t.jsxs("div", { className: a("flex flex-1 flex-col"), children: [
|
|
334
334
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-medium-l text-color-dark"), children: o }),
|
|
335
335
|
/* @__PURE__ */ t.jsxs("div", { className: a("desk-body-regular-m text-color-disabled"), children: [
|
|
@@ -340,10 +340,10 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
340
340
|
] })
|
|
341
341
|
]
|
|
342
342
|
}
|
|
343
|
-
),
|
|
343
|
+
), P = ({ phone: o, text: e, classes: i }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex w-max flex-col", i == null ? void 0 : i.wrapper), children: [
|
|
344
344
|
/* @__PURE__ */ t.jsx("a", { href: `tel:${o}`, className: a("desk-body-medium-l ml-auto text-color-dark", i == null ? void 0 : i.link), children: o }),
|
|
345
345
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", i == null ? void 0 : i.text), children: e })
|
|
346
|
-
] }),
|
|
346
|
+
] }), Xe = ({ topContent: o, bottomContent: e, progress: i, maxPercent: r = 100, classes: n }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", n == null ? void 0 : n.wrapper), children: [
|
|
347
347
|
o && /* @__PURE__ */ t.jsx("div", { className: a("mb-2 flex justify-between gap-5", n == null ? void 0 : n.topContent), children: o }),
|
|
348
348
|
/* @__PURE__ */ t.jsxs("div", { className: a("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", n == null ? void 0 : n.progressBar), children: [
|
|
349
349
|
/* @__PURE__ */ t.jsx(
|
|
@@ -365,13 +365,13 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
365
365
|
)
|
|
366
366
|
] }),
|
|
367
367
|
e && /* @__PURE__ */ t.jsx("div", { className: a("mt-2 flex justify-between gap-5", n == null ? void 0 : n.bottomContent), children: e })
|
|
368
|
-
] }),
|
|
369
|
-
main: /* @__PURE__ */ t.jsx(
|
|
370
|
-
white: /* @__PURE__ */ t.jsx(
|
|
371
|
-
gray: /* @__PURE__ */ t.jsx(
|
|
372
|
-
black: /* @__PURE__ */ t.jsx(
|
|
373
|
-
business: /* @__PURE__ */ t.jsx(
|
|
374
|
-
insurance: /* @__PURE__ */ t.jsx(
|
|
368
|
+
] }), qe = ({ className: o }) => /* @__PURE__ */ t.jsx("div", { className: a("skeleton-apply h-full w-full", o) }), ce = {
|
|
369
|
+
main: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoMain" }),
|
|
370
|
+
white: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoWhite" }),
|
|
371
|
+
gray: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoGray" }),
|
|
372
|
+
black: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoBlack" }),
|
|
373
|
+
business: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoBusiness" }),
|
|
374
|
+
insurance: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoInsurance" })
|
|
375
375
|
}, w = {
|
|
376
376
|
transparent: "transparent",
|
|
377
377
|
current: "currentColor",
|
|
@@ -406,7 +406,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
406
406
|
"purple-hover": "#52399d",
|
|
407
407
|
overlay: "#0000004d",
|
|
408
408
|
...w
|
|
409
|
-
},
|
|
409
|
+
}, M = {
|
|
410
410
|
dark: "#292929",
|
|
411
411
|
disabled: "#a9b6c5",
|
|
412
412
|
footer: "#c3c3c3",
|
|
@@ -435,7 +435,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
435
435
|
"skyblue-200": "#e7f3ff",
|
|
436
436
|
"skyblue-300": "#d9edff",
|
|
437
437
|
...w
|
|
438
|
-
},
|
|
438
|
+
}, h = {
|
|
439
439
|
"accent-default": "#2477ff",
|
|
440
440
|
"accent-hover": "#0053da",
|
|
441
441
|
"blue-grey-100": "#f3f4f7",
|
|
@@ -480,20 +480,20 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
480
480
|
white: "#ffffff",
|
|
481
481
|
"primary-disabled": "#809bc7",
|
|
482
482
|
...w
|
|
483
|
-
},
|
|
483
|
+
}, $ = {
|
|
484
484
|
none: "0",
|
|
485
485
|
sm: "4px",
|
|
486
486
|
md: "8px",
|
|
487
487
|
lg: "16px",
|
|
488
488
|
full: "9999px"
|
|
489
|
-
},
|
|
489
|
+
}, U = {
|
|
490
490
|
30: "30deg",
|
|
491
491
|
45: "45deg",
|
|
492
492
|
80: "80deg",
|
|
493
493
|
90: "90deg",
|
|
494
494
|
110: "110deg",
|
|
495
495
|
180: "180deg"
|
|
496
|
-
},
|
|
496
|
+
}, be = {
|
|
497
497
|
0: "0",
|
|
498
498
|
1: "1",
|
|
499
499
|
10: "10",
|
|
@@ -503,7 +503,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
503
503
|
250: "250",
|
|
504
504
|
500: "500",
|
|
505
505
|
1e3: "1000"
|
|
506
|
-
},
|
|
506
|
+
}, H = {
|
|
507
507
|
12: "12px",
|
|
508
508
|
14: "14px",
|
|
509
509
|
16: "16px",
|
|
@@ -513,7 +513,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
513
513
|
28: "28px",
|
|
514
514
|
32: "32px",
|
|
515
515
|
40: "40px"
|
|
516
|
-
},
|
|
516
|
+
}, G = {
|
|
517
517
|
16: "16px",
|
|
518
518
|
20: "20px",
|
|
519
519
|
22: "22px",
|
|
@@ -522,7 +522,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
522
522
|
32: "32px",
|
|
523
523
|
40: "40px",
|
|
524
524
|
48: "48px"
|
|
525
|
-
},
|
|
525
|
+
}, W = {
|
|
526
526
|
/* # Headline */
|
|
527
527
|
".mob-headline-bold-m": {
|
|
528
528
|
"@apply font-bold text-28 leading-32": ""
|
|
@@ -581,7 +581,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
581
581
|
".desk-body-regular-s": {
|
|
582
582
|
"@apply font-normal text-12 leading-16": ""
|
|
583
583
|
}
|
|
584
|
-
},
|
|
584
|
+
}, he = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, T = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, ge = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, k = {
|
|
585
585
|
REQUIRED: "Поле обязательно к заполнению",
|
|
586
586
|
MIN_LENGTH: "Минимальная длина символов должна быть не менее",
|
|
587
587
|
MAX_LENGTH: "Максимальная длина символов должна быть не более",
|
|
@@ -599,46 +599,46 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
599
599
|
name: r,
|
|
600
600
|
patronymic: d
|
|
601
601
|
};
|
|
602
|
-
},
|
|
603
|
-
|
|
604
|
-
code:
|
|
602
|
+
}, Je = c.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((o, e) => {
|
|
603
|
+
he.test(o) || e.addIssue({
|
|
604
|
+
code: c.ZodIssueCode.custom,
|
|
605
605
|
message: "Должна быть только кириллица"
|
|
606
606
|
});
|
|
607
607
|
const { surname: i, name: r, patronymic: n } = B(o);
|
|
608
608
|
(!i || !r) && e.addIssue({
|
|
609
|
-
code:
|
|
609
|
+
code: c.ZodIssueCode.custom,
|
|
610
610
|
message: "Введите имя и фамилию"
|
|
611
611
|
}), T.test(r) || e.addIssue({
|
|
612
|
-
code:
|
|
612
|
+
code: c.ZodIssueCode.custom,
|
|
613
613
|
message: "Неверно введено имя"
|
|
614
614
|
}), T.test(i) || e.addIssue({
|
|
615
|
-
code:
|
|
615
|
+
code: c.ZodIssueCode.custom,
|
|
616
616
|
message: "Неверно введена фамилия"
|
|
617
|
-
}), n && (
|
|
618
|
-
code:
|
|
617
|
+
}), n && (ge.test(n) || e.addIssue({
|
|
618
|
+
code: c.ZodIssueCode.custom,
|
|
619
619
|
message: "Неверно введено отчество"
|
|
620
620
|
}));
|
|
621
621
|
}).transform((o) => {
|
|
622
622
|
const { surname: e, name: i, patronymic: r } = B(o);
|
|
623
623
|
return {
|
|
624
|
-
surname:
|
|
625
|
-
name:
|
|
626
|
-
patronymic: r ?
|
|
624
|
+
surname: C(e),
|
|
625
|
+
name: C(i),
|
|
626
|
+
patronymic: r ? C(r) : void 0
|
|
627
627
|
};
|
|
628
|
-
}),
|
|
628
|
+
}), Qe = c.string().length(10, { message: k.INVALID_DATE }).superRefine((o, e) => {
|
|
629
629
|
const [i, r, n] = (o == null ? void 0 : o.split(".")) ?? "", d = z(`${i}/${r}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
630
630
|
+n <= 1950 && e.addIssue({
|
|
631
|
-
code:
|
|
631
|
+
code: c.ZodIssueCode.custom,
|
|
632
632
|
message: k.INVALID_DATE
|
|
633
|
-
}),
|
|
634
|
-
code:
|
|
633
|
+
}), te(d) || e.addIssue({
|
|
634
|
+
code: c.ZodIssueCode.custom,
|
|
635
635
|
message: k.INVALID_DATE
|
|
636
636
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
637
|
-
code:
|
|
637
|
+
code: c.ZodIssueCode.custom,
|
|
638
638
|
message: k.FUTURE_DATE_NOT_ALLOWED
|
|
639
639
|
});
|
|
640
640
|
});
|
|
641
|
-
var Z = {},
|
|
641
|
+
var Z = {}, X = {};
|
|
642
642
|
(function(o) {
|
|
643
643
|
Object.defineProperty(o, "__esModule", {
|
|
644
644
|
value: !0
|
|
@@ -665,7 +665,7 @@ var Z = {}, W = {};
|
|
|
665
665
|
return d.__isOptionsFunction = !0, d.__pluginFunction = r, d.__configFunction = n, d;
|
|
666
666
|
};
|
|
667
667
|
const i = e;
|
|
668
|
-
})(
|
|
668
|
+
})(X);
|
|
669
669
|
(function(o) {
|
|
670
670
|
Object.defineProperty(o, "__esModule", {
|
|
671
671
|
value: !0
|
|
@@ -675,7 +675,7 @@ var Z = {}, W = {};
|
|
|
675
675
|
return r;
|
|
676
676
|
}
|
|
677
677
|
});
|
|
678
|
-
const e = /* @__PURE__ */ i(
|
|
678
|
+
const e = /* @__PURE__ */ i(X);
|
|
679
679
|
function i(n) {
|
|
680
680
|
return n && n.__esModule ? n : {
|
|
681
681
|
default: n
|
|
@@ -684,14 +684,14 @@ var Z = {}, W = {};
|
|
|
684
684
|
const r = e.default;
|
|
685
685
|
})(Z);
|
|
686
686
|
let _ = Z;
|
|
687
|
-
var
|
|
688
|
-
const
|
|
687
|
+
var q = (_.__esModule ? _ : { default: _ }).default;
|
|
688
|
+
const D = /* @__PURE__ */ L(q), ye = q;
|
|
689
689
|
function F(o) {
|
|
690
690
|
return Object.fromEntries(
|
|
691
691
|
Object.entries(o).filter(([e]) => e !== "DEFAULT")
|
|
692
692
|
);
|
|
693
693
|
}
|
|
694
|
-
var
|
|
694
|
+
var se = ye(
|
|
695
695
|
({ addUtilities: o, matchUtilities: e, theme: i }) => {
|
|
696
696
|
o({
|
|
697
697
|
"@keyframes enter": i("keyframes.enter"),
|
|
@@ -847,7 +847,7 @@ var ye = ge(
|
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
849
|
);
|
|
850
|
-
const
|
|
850
|
+
const J = /* @__PURE__ */ L(se), Ke = {
|
|
851
851
|
theme: {
|
|
852
852
|
screens: {
|
|
853
853
|
mobile: { max: "1187px" },
|
|
@@ -856,20 +856,20 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
856
856
|
backgroundColor: {
|
|
857
857
|
color: N,
|
|
858
858
|
banner: O,
|
|
859
|
-
icon:
|
|
859
|
+
icon: h
|
|
860
860
|
},
|
|
861
861
|
textColor: {
|
|
862
|
-
icon:
|
|
863
|
-
color:
|
|
862
|
+
icon: h,
|
|
863
|
+
color: M
|
|
864
864
|
},
|
|
865
|
-
fill:
|
|
866
|
-
stroke:
|
|
865
|
+
fill: h,
|
|
866
|
+
stroke: h,
|
|
867
867
|
borderColor: I,
|
|
868
868
|
outlineColor: I,
|
|
869
|
-
borderRadius:
|
|
869
|
+
borderRadius: $,
|
|
870
870
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
871
|
-
fontSize:
|
|
872
|
-
lineHeight:
|
|
871
|
+
fontSize: H,
|
|
872
|
+
lineHeight: G,
|
|
873
873
|
gradientColorStops: N,
|
|
874
874
|
boxShadow: {
|
|
875
875
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
@@ -877,7 +877,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
877
877
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
878
878
|
},
|
|
879
879
|
extend: {
|
|
880
|
-
bgGradientDeg:
|
|
880
|
+
bgGradientDeg: U,
|
|
881
881
|
width: {
|
|
882
882
|
"popper-content": "var(--radix-popover-content-available-width)",
|
|
883
883
|
"popper-trigger": "var(--radix-popover-trigger-width)",
|
|
@@ -921,11 +921,11 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
921
921
|
}
|
|
922
922
|
},
|
|
923
923
|
plugins: [
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
o(
|
|
924
|
+
J,
|
|
925
|
+
D(({ addComponents: o }) => {
|
|
926
|
+
o(W);
|
|
927
927
|
}),
|
|
928
|
-
|
|
928
|
+
D(function({ matchUtilities: o, theme: e }) {
|
|
929
929
|
o(
|
|
930
930
|
{
|
|
931
931
|
"bg-deg-gradient": (i) => ({
|
|
@@ -938,7 +938,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
938
938
|
);
|
|
939
939
|
})
|
|
940
940
|
]
|
|
941
|
-
},
|
|
941
|
+
}, Ye = {
|
|
942
942
|
theme: {
|
|
943
943
|
extend: {
|
|
944
944
|
transitionDuration: {
|
|
@@ -978,7 +978,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
|
-
},
|
|
981
|
+
}, et = {
|
|
982
982
|
theme: {
|
|
983
983
|
screens: {
|
|
984
984
|
mobile: { max: "1187px" },
|
|
@@ -987,37 +987,37 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
987
987
|
backgroundColor: {
|
|
988
988
|
color: N,
|
|
989
989
|
banner: O,
|
|
990
|
-
icon:
|
|
990
|
+
icon: h
|
|
991
991
|
},
|
|
992
992
|
textColor: {
|
|
993
|
-
icon:
|
|
994
|
-
color:
|
|
993
|
+
icon: h,
|
|
994
|
+
color: M
|
|
995
995
|
},
|
|
996
|
-
fill:
|
|
997
|
-
stroke:
|
|
996
|
+
fill: h,
|
|
997
|
+
stroke: h,
|
|
998
998
|
borderColor: I,
|
|
999
999
|
outlineColor: I,
|
|
1000
|
-
borderRadius:
|
|
1000
|
+
borderRadius: $,
|
|
1001
1001
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
1002
|
-
fontSize:
|
|
1003
|
-
lineHeight:
|
|
1002
|
+
fontSize: H,
|
|
1003
|
+
lineHeight: G,
|
|
1004
1004
|
gradientColorStops: N,
|
|
1005
1005
|
boxShadow: {
|
|
1006
1006
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
1007
1007
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
1008
1008
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
1009
1009
|
},
|
|
1010
|
-
zIndex:
|
|
1010
|
+
zIndex: be,
|
|
1011
1011
|
extend: {
|
|
1012
|
-
bgGradientDeg:
|
|
1012
|
+
bgGradientDeg: U
|
|
1013
1013
|
}
|
|
1014
1014
|
},
|
|
1015
1015
|
plugins: [
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
o(
|
|
1016
|
+
J,
|
|
1017
|
+
D(({ addComponents: o }) => {
|
|
1018
|
+
o(W);
|
|
1019
1019
|
}),
|
|
1020
|
-
|
|
1020
|
+
D(function({ matchUtilities: o, theme: e }) {
|
|
1021
1021
|
o(
|
|
1022
1022
|
{
|
|
1023
1023
|
"bg-deg-gradient": (i) => ({
|
|
@@ -1030,7 +1030,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1030
1030
|
);
|
|
1031
1031
|
})
|
|
1032
1032
|
]
|
|
1033
|
-
},
|
|
1033
|
+
}, Q = ({ buttonsConfig: o, classes: e, className: i }) => {
|
|
1034
1034
|
var n;
|
|
1035
1035
|
const r = (o == null ? void 0 : o.secondary) && o.secondary.children;
|
|
1036
1036
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -1058,29 +1058,29 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1058
1058
|
]
|
|
1059
1059
|
}
|
|
1060
1060
|
);
|
|
1061
|
-
},
|
|
1061
|
+
}, K = ({ advantagesList: o, classes: e }) => /* @__PURE__ */ t.jsx(
|
|
1062
1062
|
"div",
|
|
1063
1063
|
{
|
|
1064
1064
|
className: a(
|
|
1065
1065
|
"flex w-[328px] flex-col gap-8 rounded-md bg-color-white p-6 shadow-sm desktop:w-full desktop:flex-row desktop:items-start desktop:gap-0 desktop:p-0 desktop:py-6",
|
|
1066
|
-
e == null ? void 0 : e.
|
|
1066
|
+
e == null ? void 0 : e.advantageWrapper
|
|
1067
1067
|
),
|
|
1068
1068
|
children: o == null ? void 0 : o.map(({ title: i, description: r }) => /* @__PURE__ */ t.jsxs(
|
|
1069
1069
|
"div",
|
|
1070
1070
|
{
|
|
1071
1071
|
className: a(
|
|
1072
1072
|
'after:content-[" "] relative flex h-full w-[285px] flex-col gap-2 after:absolute after:-bottom-4 after:left-1/2 after:h-[1px] after:w-[280px] after:-translate-x-1/2 after:bg-color-blue-grey-300 last:after:hidden desktop:px-8 desktop:after:bottom-auto desktop:after:left-auto desktop:after:right-0 desktop:after:top-1/2 desktop:after:h-10 desktop:after:w-[1px] desktop:after:-translate-y-1/2 desktop:after:translate-x-0',
|
|
1073
|
-
e == null ? void 0 : e.
|
|
1073
|
+
e == null ? void 0 : e.advantageItem
|
|
1074
1074
|
),
|
|
1075
1075
|
children: [
|
|
1076
|
-
/* @__PURE__ */ t.jsx(
|
|
1077
|
-
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.
|
|
1076
|
+
/* @__PURE__ */ t.jsx(y, { as: "h4", className: a("text-color-dark", e == null ? void 0 : e.advantageTitle), children: i }),
|
|
1077
|
+
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.advantageDescription), children: r })
|
|
1078
1078
|
]
|
|
1079
1079
|
},
|
|
1080
1080
|
i
|
|
1081
1081
|
))
|
|
1082
1082
|
}
|
|
1083
|
-
),
|
|
1083
|
+
), we = ({
|
|
1084
1084
|
headTitle: o,
|
|
1085
1085
|
subtitle: e,
|
|
1086
1086
|
buttonsConfig: i,
|
|
@@ -1088,119 +1088,145 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1088
1088
|
classes: n,
|
|
1089
1089
|
img: d,
|
|
1090
1090
|
imgSets: l
|
|
1091
|
-
}) =>
|
|
1092
|
-
/* @__PURE__ */ t.jsx(
|
|
1091
|
+
}) => {
|
|
1092
|
+
const { isDesktop: m, isMobile: u } = R(), b = /* @__PURE__ */ t.jsx(
|
|
1093
1093
|
"div",
|
|
1094
1094
|
{
|
|
1095
|
-
"data-id": "banner-
|
|
1096
|
-
className:
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1095
|
+
"data-id": "banner-advantages",
|
|
1096
|
+
className: a(
|
|
1097
|
+
"mt-4 flex items-center justify-center desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:mt-0 desktop:translate-x-1/2",
|
|
1098
|
+
n == null ? void 0 : n.advantageContainer
|
|
1099
|
+
),
|
|
1100
|
+
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(K, { classes: n, advantagesList: r })
|
|
1101
|
+
}
|
|
1102
|
+
);
|
|
1103
|
+
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1104
|
+
/* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: a("relative h-[552px] desktop:h-[456px]", n == null ? void 0 : n.section), children: [
|
|
1105
|
+
/* @__PURE__ */ t.jsx(
|
|
1106
|
+
"div",
|
|
1107
|
+
{
|
|
1108
|
+
"data-id": "banner-img-wrapper",
|
|
1109
|
+
className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]",
|
|
1110
|
+
children: /* @__PURE__ */ t.jsxs("picture", { children: [
|
|
1111
|
+
/* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: l == null ? void 0 : l.large, type: "image/avif" }),
|
|
1112
|
+
/* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: l == null ? void 0 : l.mob, type: (l == null ? void 0 : l.type) ?? "image/avif" }),
|
|
1113
|
+
/* @__PURE__ */ t.jsx(
|
|
1114
|
+
"img",
|
|
1115
|
+
{
|
|
1116
|
+
"data-id": "banner-image",
|
|
1117
|
+
src: d,
|
|
1118
|
+
alt: "Картинка баннера",
|
|
1119
|
+
className: a("h-full w-full object-cover object-center", n == null ? void 0 : n.image)
|
|
1120
|
+
}
|
|
1121
|
+
)
|
|
1122
|
+
] })
|
|
1123
|
+
}
|
|
1124
|
+
),
|
|
1125
|
+
/* @__PURE__ */ t.jsxs(g, { "data-id": "banner-container", className: a("h-full", n == null ? void 0 : n.container), children: [
|
|
1126
|
+
/* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: a("flex h-full", n == null ? void 0 : n.wrapper), children: /* @__PURE__ */ t.jsxs(
|
|
1127
|
+
"div",
|
|
1102
1128
|
{
|
|
1103
|
-
"data-id": "banner-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1129
|
+
"data-id": "banner-text-block",
|
|
1130
|
+
className: a("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", n == null ? void 0 : n.textBlock),
|
|
1131
|
+
children: [
|
|
1132
|
+
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1133
|
+
/* @__PURE__ */ t.jsx(y, { "data-id": "banner-title", as: "h1", className: a("text-color-white", n == null ? void 0 : n.title), children: o }),
|
|
1134
|
+
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-white", n == null ? void 0 : n.subtitle), children: e })
|
|
1135
|
+
] }),
|
|
1136
|
+
/* @__PURE__ */ t.jsx(
|
|
1137
|
+
Q,
|
|
1138
|
+
{
|
|
1139
|
+
className: "self-end desktop:self-center",
|
|
1140
|
+
"data-id": "banner-buttons-group",
|
|
1141
|
+
buttonsConfig: i,
|
|
1142
|
+
classes: n
|
|
1143
|
+
}
|
|
1144
|
+
)
|
|
1145
|
+
]
|
|
1107
1146
|
}
|
|
1108
|
-
)
|
|
1147
|
+
) }),
|
|
1148
|
+
m && b
|
|
1109
1149
|
] })
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
"div",
|
|
1115
|
-
{
|
|
1116
|
-
"data-id": "banner-text-block",
|
|
1117
|
-
className: a("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", n == null ? void 0 : n.textBlock),
|
|
1118
|
-
children: [
|
|
1119
|
-
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1120
|
-
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-white", n == null ? void 0 : n.title), children: o }),
|
|
1121
|
-
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-white", n == null ? void 0 : n.subtitle), children: e })
|
|
1122
|
-
] }),
|
|
1123
|
-
/* @__PURE__ */ t.jsx(
|
|
1124
|
-
J,
|
|
1125
|
-
{
|
|
1126
|
-
className: "self-end desktop:self-center",
|
|
1127
|
-
"data-id": "banner-buttons-group",
|
|
1128
|
-
buttonsConfig: i,
|
|
1129
|
-
classes: n
|
|
1130
|
-
}
|
|
1131
|
-
)
|
|
1132
|
-
]
|
|
1133
|
-
}
|
|
1134
|
-
) }),
|
|
1135
|
-
/* @__PURE__ */ t.jsx(
|
|
1136
|
-
"div",
|
|
1137
|
-
{
|
|
1138
|
-
"data-id": "banner-advantages",
|
|
1139
|
-
className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", n == null ? void 0 : n.advantage),
|
|
1140
|
-
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(Q, { "data-id": "banner-advantages-list", classes: n, advantagesList: r })
|
|
1141
|
-
}
|
|
1142
|
-
)
|
|
1143
|
-
] })
|
|
1144
|
-
] }), A = ({
|
|
1150
|
+
] }),
|
|
1151
|
+
u && b
|
|
1152
|
+
] });
|
|
1153
|
+
}, A = ({
|
|
1145
1154
|
headTitle: o,
|
|
1146
1155
|
subtitle: e,
|
|
1147
1156
|
buttonsConfig: i,
|
|
1148
1157
|
advantagesList: r,
|
|
1149
1158
|
classes: n,
|
|
1150
1159
|
img: d
|
|
1151
|
-
}) =>
|
|
1152
|
-
|
|
1153
|
-
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
|
|
1154
|
-
/* @__PURE__ */ t.jsxs("div", { "data-id": "banner-text-block", className: a("flex flex-col gap-4 pt-6 desktop:pt-0", n == null ? void 0 : n.textBlock), children: [
|
|
1155
|
-
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: o }),
|
|
1156
|
-
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: e })
|
|
1157
|
-
] }),
|
|
1158
|
-
/* @__PURE__ */ t.jsx(J, { buttonsConfig: i, classes: n })
|
|
1159
|
-
] }),
|
|
1160
|
-
/* @__PURE__ */ t.jsx(
|
|
1161
|
-
"div",
|
|
1162
|
-
{
|
|
1163
|
-
"data-id": "banner-image-wrapper",
|
|
1164
|
-
className: a("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", n == null ? void 0 : n.imageContainer),
|
|
1165
|
-
children: /* @__PURE__ */ t.jsx("img", { "data-id": "banner-image", src: d, alt: "Картинка баннера", className: a("h-full object-cover", n == null ? void 0 : n.image) })
|
|
1166
|
-
}
|
|
1167
|
-
)
|
|
1168
|
-
] }),
|
|
1169
|
-
/* @__PURE__ */ t.jsx(
|
|
1160
|
+
}) => {
|
|
1161
|
+
const { isDesktop: l, isMobile: m } = R(), u = /* @__PURE__ */ t.jsx(
|
|
1170
1162
|
"div",
|
|
1171
1163
|
{
|
|
1172
1164
|
"data-id": "banner-advantages",
|
|
1173
|
-
className: a(
|
|
1174
|
-
|
|
1165
|
+
className: a(
|
|
1166
|
+
"mt-4 flex items-center justify-center desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:mt-0 desktop:translate-x-1/2",
|
|
1167
|
+
n == null ? void 0 : n.advantageContainer
|
|
1168
|
+
),
|
|
1169
|
+
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(K, { classes: n, advantagesList: r })
|
|
1175
1170
|
}
|
|
1176
|
-
)
|
|
1177
|
-
|
|
1171
|
+
);
|
|
1172
|
+
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1173
|
+
/* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: a("relative bg-banner-skyblue-300 desktop:h-[456px]", n == null ? void 0 : n.section), children: /* @__PURE__ */ t.jsxs(g, { "data-id": "banner-container", className: a(n == null ? void 0 : n.container), children: [
|
|
1174
|
+
/* @__PURE__ */ t.jsxs("div", { "data-id": "banner", className: a("flex flex-col desktop:flex-row desktop:justify-between", n == null ? void 0 : n.wrapper), children: [
|
|
1175
|
+
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
|
|
1176
|
+
/* @__PURE__ */ t.jsxs("div", { "data-id": "banner-text-block", className: a("flex flex-col gap-4 pt-6 desktop:pt-0", n == null ? void 0 : n.textBlock), children: [
|
|
1177
|
+
/* @__PURE__ */ t.jsx(y, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: o }),
|
|
1178
|
+
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: e })
|
|
1179
|
+
] }),
|
|
1180
|
+
/* @__PURE__ */ t.jsx(Q, { buttonsConfig: i, classes: n })
|
|
1181
|
+
] }),
|
|
1182
|
+
/* @__PURE__ */ t.jsx(
|
|
1183
|
+
"div",
|
|
1184
|
+
{
|
|
1185
|
+
"data-id": "banner-image-wrapper",
|
|
1186
|
+
className: a("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", n == null ? void 0 : n.imageContainer),
|
|
1187
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1188
|
+
"img",
|
|
1189
|
+
{
|
|
1190
|
+
"data-id": "banner-image",
|
|
1191
|
+
src: d,
|
|
1192
|
+
alt: "Картинка баннера",
|
|
1193
|
+
className: a("h-full object-cover", n == null ? void 0 : n.image)
|
|
1194
|
+
}
|
|
1195
|
+
)
|
|
1196
|
+
}
|
|
1197
|
+
)
|
|
1198
|
+
] }),
|
|
1199
|
+
l && u
|
|
1200
|
+
] }) }),
|
|
1201
|
+
m && u
|
|
1202
|
+
] });
|
|
1203
|
+
}, tt = ({ bannerVariant: o, ...e }) => {
|
|
1178
1204
|
switch (o) {
|
|
1179
1205
|
case "sepatateImg":
|
|
1180
1206
|
return /* @__PURE__ */ t.jsx(A, { ...e });
|
|
1181
1207
|
case "fullImg":
|
|
1182
|
-
return /* @__PURE__ */ t.jsx(
|
|
1208
|
+
return /* @__PURE__ */ t.jsx(we, { ...e });
|
|
1183
1209
|
default:
|
|
1184
1210
|
return /* @__PURE__ */ t.jsx(A, { ...e });
|
|
1185
1211
|
}
|
|
1186
|
-
},
|
|
1212
|
+
}, ve = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1187
1213
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
1188
1214
|
/* @__PURE__ */ t.jsx("br", {}),
|
|
1189
1215
|
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
1190
|
-
] }),
|
|
1216
|
+
] }), ke = `Кредит на бизнес цели, срок 3, 6, 9, 12, 18, 24, 36, 48, 60 мес. Ставка – от 22,9%*. *Точная процентная ставка
|
|
1191
1217
|
устанавливается по соглашению сторон и определяется исходя из платёжеспособности и кредитоспособности клиента, а также
|
|
1192
1218
|
иных индивидуальных особенностей клиента. Сумма 100 000 – 50 000 000 руб. Кредит выдается на карту “Халва”, открытый в
|
|
1193
1219
|
Банке. Банк вправе отказать в предоставлении кредита без объяснения причины, а также запросить дополнительную информацию о
|
|
1194
1220
|
клиенте. Предварительное одобрение не влечет обязательств Банка по выдаче кредита. В некоторых случаях срок рассмотрения
|
|
1195
1221
|
заявки может составлять до 3 рабочих дней. Полный электронный документооборот при наличии открытого р/с в ПАО «Совкомбанк»
|
|
1196
|
-
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`,
|
|
1222
|
+
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`, je = [
|
|
1197
1223
|
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
1198
1224
|
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
1199
|
-
],
|
|
1225
|
+
], Ne = [
|
|
1200
1226
|
{ iconName: "social/vk", href: "/vk" },
|
|
1201
1227
|
{ iconName: "social/telegram", href: "/tg" },
|
|
1202
1228
|
{ iconName: "social/classmates", href: "/cl" }
|
|
1203
|
-
],
|
|
1229
|
+
], Ie = [
|
|
1204
1230
|
{
|
|
1205
1231
|
groupLabel: "Совкомбанк",
|
|
1206
1232
|
links: [
|
|
@@ -1277,16 +1303,16 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1277
1303
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
1278
1304
|
]
|
|
1279
1305
|
}
|
|
1280
|
-
],
|
|
1306
|
+
], De = ({ socialsLinks: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("mt-6 flex items-center gap-2", e == null ? void 0 : e.socialRoot), children: o == null ? void 0 : o.map(({ iconName: i, href: r }) => /* @__PURE__ */ t.jsx(
|
|
1281
1307
|
"a",
|
|
1282
1308
|
{
|
|
1283
1309
|
className: a("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
1284
1310
|
href: r,
|
|
1285
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1311
|
+
children: /* @__PURE__ */ t.jsx(f, { name: i, className: a("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1286
1312
|
},
|
|
1287
1313
|
r
|
|
1288
1314
|
)) }), Ce = ({ phones: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("flex flex-col items-end gap-4", e == null ? void 0 : e.phonesRoot), children: o == null ? void 0 : o.map(({ phone: i, text: r }) => /* @__PURE__ */ t.jsx(
|
|
1289
|
-
|
|
1315
|
+
P,
|
|
1290
1316
|
{
|
|
1291
1317
|
phone: i,
|
|
1292
1318
|
text: r,
|
|
@@ -1297,7 +1323,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1297
1323
|
}
|
|
1298
1324
|
},
|
|
1299
1325
|
i
|
|
1300
|
-
)) }),
|
|
1326
|
+
)) }), _e = ({ navigationLinks: o, 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: o == null ? void 0 : o.map(({ groupLabel: i, links: r }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
|
|
1301
1327
|
/* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m font-medium text-color-white", e == null ? void 0 : e.navLabel), children: i }),
|
|
1302
1328
|
/* @__PURE__ */ t.jsx("div", { className: a("flex flex-col gap-2", e == null ? void 0 : e.navWrapper), children: r == null ? void 0 : r.map(({ text: n, href: d }) => /* @__PURE__ */ t.jsx(
|
|
1303
1329
|
"a",
|
|
@@ -1311,7 +1337,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1311
1337
|
},
|
|
1312
1338
|
n
|
|
1313
1339
|
)) })
|
|
1314
|
-
] }, i)) }),
|
|
1340
|
+
] }, i)) }), Ee = ({ ligal: o, classes: e }) => {
|
|
1315
1341
|
const [i, r] = v.useState(!1), [n, d] = v.useState(!1), l = v.useRef(null);
|
|
1316
1342
|
return v.useEffect(() => {
|
|
1317
1343
|
const m = l.current;
|
|
@@ -1332,31 +1358,31 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1332
1358
|
}
|
|
1333
1359
|
)
|
|
1334
1360
|
] });
|
|
1335
|
-
},
|
|
1361
|
+
}, Te = ({ text: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m text-color-footer", e == null ? void 0 : e.text), children: o }), rt = ({
|
|
1336
1362
|
withSocial: o = !0,
|
|
1337
1363
|
withPhones: e = !0,
|
|
1338
1364
|
withNavLinks: i = !0,
|
|
1339
1365
|
withLigal: r = !0,
|
|
1340
1366
|
withCopyright: n = !0,
|
|
1341
1367
|
withSiteMap: d = !0,
|
|
1342
|
-
socialsLinks: l =
|
|
1343
|
-
phones: m =
|
|
1344
|
-
navigationLinks:
|
|
1345
|
-
ligal:
|
|
1346
|
-
copyright: s =
|
|
1368
|
+
socialsLinks: l = Ne,
|
|
1369
|
+
phones: m = je,
|
|
1370
|
+
navigationLinks: u = Ie,
|
|
1371
|
+
ligal: b = ke,
|
|
1372
|
+
copyright: s = ve,
|
|
1347
1373
|
classes: p
|
|
1348
|
-
}) => /* @__PURE__ */ t.jsx(
|
|
1374
|
+
}) => /* @__PURE__ */ t.jsx(V, { className: a("w-full", p == null ? void 0 : p.section), children: /* @__PURE__ */ t.jsx(g, { 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: [
|
|
1349
1375
|
/* @__PURE__ */ t.jsxs("div", { className: a("mb-8 flex items-center justify-between gap-6", p == null ? void 0 : p.footerHead), children: [
|
|
1350
1376
|
/* @__PURE__ */ t.jsxs("div", { className: a(p == null ? void 0 : p.footerSocialBlock), children: [
|
|
1351
|
-
/* @__PURE__ */ t.jsx("a", { href: "/", className: a(p == null ? void 0 : p.footerLogo), children: /* @__PURE__ */ t.jsx(
|
|
1352
|
-
o && /* @__PURE__ */ t.jsx(
|
|
1377
|
+
/* @__PURE__ */ t.jsx("a", { href: "/", className: a(p == null ? void 0 : p.footerLogo), children: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
|
|
1378
|
+
o && /* @__PURE__ */ t.jsx(De, { socialsLinks: l, classes: p })
|
|
1353
1379
|
] }),
|
|
1354
1380
|
e && /* @__PURE__ */ t.jsx(Ce, { phones: m, classes: p })
|
|
1355
1381
|
] }),
|
|
1356
|
-
i && /* @__PURE__ */ t.jsx(
|
|
1357
|
-
r && /* @__PURE__ */ t.jsx(
|
|
1382
|
+
i && /* @__PURE__ */ t.jsx(_e, { navigationLinks: u, classes: p }),
|
|
1383
|
+
r && /* @__PURE__ */ t.jsx(Ee, { ligal: b, classes: p }),
|
|
1358
1384
|
/* @__PURE__ */ t.jsxs("div", { className: "mt-6 flex items-start justify-between gap-6", children: [
|
|
1359
|
-
n && /* @__PURE__ */ t.jsx(
|
|
1385
|
+
n && /* @__PURE__ */ t.jsx(Te, { text: s, classes: p }),
|
|
1360
1386
|
d && /* @__PURE__ */ t.jsx(
|
|
1361
1387
|
"a",
|
|
1362
1388
|
{
|
|
@@ -1368,7 +1394,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1368
1394
|
}
|
|
1369
1395
|
)
|
|
1370
1396
|
] })
|
|
1371
|
-
] }) }) }),
|
|
1397
|
+
] }) }) }), Be = (o) => {
|
|
1372
1398
|
var e, i, r, n;
|
|
1373
1399
|
switch (o.variant) {
|
|
1374
1400
|
case "withButton":
|
|
@@ -1376,7 +1402,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1376
1402
|
case "withPhone":
|
|
1377
1403
|
const { phone: d, phoneText: l } = o;
|
|
1378
1404
|
return /* @__PURE__ */ t.jsx(
|
|
1379
|
-
|
|
1405
|
+
P,
|
|
1380
1406
|
{
|
|
1381
1407
|
phone: d,
|
|
1382
1408
|
text: l,
|
|
@@ -1390,9 +1416,9 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1390
1416
|
default:
|
|
1391
1417
|
return null;
|
|
1392
1418
|
}
|
|
1393
|
-
},
|
|
1419
|
+
}, ot = (o) => {
|
|
1394
1420
|
const { logoPath: e = "/", logoType: i = "main", classes: r } = o;
|
|
1395
|
-
return /* @__PURE__ */ t.jsx("header", { className: a("flex h-[72px] items-center justify-center bg-color-white", r == null ? void 0 : r.header), children: /* @__PURE__ */ t.jsx(
|
|
1421
|
+
return /* @__PURE__ */ t.jsx("header", { className: a("flex h-[72px] items-center justify-center bg-color-white", r == null ? void 0 : r.header), children: /* @__PURE__ */ t.jsx(g, { className: a(r == null ? void 0 : r.container), children: /* @__PURE__ */ t.jsxs("div", { className: a("flex items-center justify-between gap-5", r == null ? void 0 : r.wrapper), children: [
|
|
1396
1422
|
/* @__PURE__ */ t.jsx(
|
|
1397
1423
|
"a",
|
|
1398
1424
|
{
|
|
@@ -1403,12 +1429,12 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1403
1429
|
"flex items-center justify-center [&_svg]:w-[114px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1404
1430
|
r == null ? void 0 : r.logo
|
|
1405
1431
|
),
|
|
1406
|
-
children:
|
|
1432
|
+
children: ce[i]
|
|
1407
1433
|
}
|
|
1408
1434
|
),
|
|
1409
|
-
|
|
1435
|
+
Be(o)
|
|
1410
1436
|
] }) }) });
|
|
1411
|
-
},
|
|
1437
|
+
}, Fe = ({ title: o, description: e, index: i, classes: r }) => /* @__PURE__ */ t.jsxs(
|
|
1412
1438
|
"div",
|
|
1413
1439
|
{
|
|
1414
1440
|
className: a(
|
|
@@ -1427,13 +1453,13 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1427
1453
|
}
|
|
1428
1454
|
),
|
|
1429
1455
|
/* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4", r == null ? void 0 : r.textBlock), children: [
|
|
1430
|
-
/* @__PURE__ */ t.jsx(
|
|
1456
|
+
/* @__PURE__ */ t.jsx(y, { as: "h4", className: a("text-color-dark", r == null ? void 0 : r.title), children: o }),
|
|
1431
1457
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description), children: e })
|
|
1432
1458
|
] })
|
|
1433
1459
|
]
|
|
1434
1460
|
}
|
|
1435
|
-
),
|
|
1436
|
-
/* @__PURE__ */ t.jsx(
|
|
1461
|
+
), nt = ({ heading: o, stepsList: e, classes: i }) => /* @__PURE__ */ t.jsx(V, { children: /* @__PURE__ */ t.jsx(g, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-12", i == null ? void 0 : i.root), children: [
|
|
1462
|
+
/* @__PURE__ */ t.jsx(y, { as: "h2", className: a("text-color-dark", i == null ? void 0 : i.headline), children: o }),
|
|
1437
1463
|
/* @__PURE__ */ t.jsx(
|
|
1438
1464
|
"div",
|
|
1439
1465
|
{
|
|
@@ -1441,10 +1467,10 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1441
1467
|
"flex flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1442
1468
|
i == null ? void 0 : i.stepsWrapper
|
|
1443
1469
|
),
|
|
1444
|
-
children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(
|
|
1470
|
+
children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(Fe, { index: n + 1, ...r, classes: i }, r.title))
|
|
1445
1471
|
}
|
|
1446
1472
|
)
|
|
1447
|
-
] }) }) }),
|
|
1473
|
+
] }) }) }), Ae = x("", {
|
|
1448
1474
|
variants: {
|
|
1449
1475
|
intent: {
|
|
1450
1476
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -1460,7 +1486,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1460
1486
|
defaultVariants: {
|
|
1461
1487
|
intent: "twoItems"
|
|
1462
1488
|
}
|
|
1463
|
-
}),
|
|
1489
|
+
}), ze = x("desktop:max-h-[98px]", {
|
|
1464
1490
|
variants: {
|
|
1465
1491
|
intent: {
|
|
1466
1492
|
twoItems: "",
|
|
@@ -1492,7 +1518,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1492
1518
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1493
1519
|
}
|
|
1494
1520
|
]
|
|
1495
|
-
}),
|
|
1521
|
+
}), Le = x("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1496
1522
|
variants: {
|
|
1497
1523
|
intent: {
|
|
1498
1524
|
twoItems: 'last:border-none relative desktop:first:after:top-1/2 desktop:first:after:-translate-y-1/2 desktop:first:after:right-0 desktop:first:after:content-[""] desktop:first:after:block desktop:first:after:absolute desktop:first:after:w-[1px] desktop:first:after:h-[64px] desktop:first:after:bg-color-blue-grey-500 desktop:ml-8 desktop:pr-8 desktop:first:ml-0 desktop:last:pr-0 desktop:pb-3',
|
|
@@ -1502,7 +1528,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1502
1528
|
defaultVariants: {
|
|
1503
1529
|
intent: "twoItems"
|
|
1504
1530
|
}
|
|
1505
|
-
}),
|
|
1531
|
+
}), Re = x("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1506
1532
|
variants: {
|
|
1507
1533
|
intent: {
|
|
1508
1534
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -1528,16 +1554,16 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1528
1554
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1529
1555
|
}
|
|
1530
1556
|
]
|
|
1531
|
-
}),
|
|
1557
|
+
}), Se = ({ data: o, intent: e }) => {
|
|
1532
1558
|
const { title: i, description: r, popoverText: n } = o;
|
|
1533
|
-
return /* @__PURE__ */ t.jsx("li", { className: a(
|
|
1559
|
+
return /* @__PURE__ */ t.jsx("li", { className: a(Le({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
1534
1560
|
/* @__PURE__ */ t.jsxs("div", { className: a("mb-2 flex items-center gap-2"), children: [
|
|
1535
1561
|
/* @__PURE__ */ t.jsx("h4", { className: a("mob-title-bold-m text-color-dark"), children: i }),
|
|
1536
|
-
n && /* @__PURE__ */ t.jsx(
|
|
1562
|
+
n && /* @__PURE__ */ t.jsx(re, { triggerElement: /* @__PURE__ */ t.jsx(f, { className: a("size-4 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
|
|
1537
1563
|
] }),
|
|
1538
1564
|
/* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-l text-color-secondary"), children: r })
|
|
1539
1565
|
] }) });
|
|
1540
|
-
}, E = ({ intent: o, title: e, desktopHidden: i = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: a(
|
|
1566
|
+
}, E = ({ intent: o, title: e, desktopHidden: i = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: a(Ae({ intent: o, desktopHidden: i, mobileHidden: r })), children: e }), Ve = ({ textContent: o, intent: e, withButton: i }) => /* @__PURE__ */ t.jsx("ul", { className: a(ze({ intent: e, withButton: i })), children: o == null ? void 0 : o.map((r, n) => /* @__PURE__ */ t.jsx(Se, { intent: e, data: r }, n)) }), it = ({
|
|
1541
1567
|
title: o,
|
|
1542
1568
|
buttonConfig: e,
|
|
1543
1569
|
intent: i = "twoItems",
|
|
@@ -1545,9 +1571,9 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1545
1571
|
imageComponent: n,
|
|
1546
1572
|
classes: d
|
|
1547
1573
|
}) => {
|
|
1548
|
-
const l = !!e, m = i === "fourItems",
|
|
1549
|
-
return /* @__PURE__ */ t.jsx("section", { className: a(d == null ? void 0 : d.section), children: /* @__PURE__ */ t.jsxs(
|
|
1550
|
-
|
|
1574
|
+
const l = !!e, m = i === "fourItems", u = i === "twoItems";
|
|
1575
|
+
return /* @__PURE__ */ t.jsx("section", { className: a(d == null ? void 0 : d.section), children: /* @__PURE__ */ t.jsxs(g, { className: a(d == null ? void 0 : d.mainContainer), children: [
|
|
1576
|
+
u && /* @__PURE__ */ t.jsx(E, { intent: i, title: o }),
|
|
1551
1577
|
/* @__PURE__ */ t.jsxs(
|
|
1552
1578
|
"div",
|
|
1553
1579
|
{
|
|
@@ -1557,14 +1583,14 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1557
1583
|
),
|
|
1558
1584
|
children: [
|
|
1559
1585
|
m && /* @__PURE__ */ t.jsx(E, { intent: i, title: o, desktopHidden: !0 }),
|
|
1560
|
-
/* @__PURE__ */ t.jsx("div", { className: a(
|
|
1586
|
+
/* @__PURE__ */ t.jsx("div", { className: a(Re({ intent: i, withButton: l }), d == null ? void 0 : d.imgContainer), children: n }),
|
|
1561
1587
|
/* @__PURE__ */ t.jsxs(
|
|
1562
1588
|
"div",
|
|
1563
1589
|
{
|
|
1564
1590
|
className: a("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1565
1591
|
children: [
|
|
1566
1592
|
m && /* @__PURE__ */ t.jsx(E, { intent: i, title: o, mobileHidden: !0 }),
|
|
1567
|
-
/* @__PURE__ */ t.jsx(
|
|
1593
|
+
/* @__PURE__ */ t.jsx(Ve, { textContent: r, intent: i, withButton: l }),
|
|
1568
1594
|
l && /* @__PURE__ */ t.jsx(
|
|
1569
1595
|
j,
|
|
1570
1596
|
{
|
|
@@ -1584,55 +1610,55 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1584
1610
|
] }) });
|
|
1585
1611
|
};
|
|
1586
1612
|
export {
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1613
|
+
K as Advantages,
|
|
1614
|
+
lt as Badge,
|
|
1615
|
+
tt as Banner,
|
|
1590
1616
|
A as BannerWithSeparateImg,
|
|
1591
|
-
|
|
1617
|
+
He as Breadcrumbs,
|
|
1592
1618
|
j as Button,
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1619
|
+
Ge as ButtonIcon,
|
|
1620
|
+
We as CustomLink,
|
|
1621
|
+
pt as DADATA_BASE_CACHE_URL,
|
|
1622
|
+
mt as DADATA_BASE_CONSTANTS_URL,
|
|
1597
1623
|
Ze as Document,
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1624
|
+
rt as Footer,
|
|
1625
|
+
y as Heading,
|
|
1626
|
+
f as Icon,
|
|
1627
|
+
ee as Loader,
|
|
1628
|
+
it as LongBanner,
|
|
1629
|
+
ut as Notification,
|
|
1630
|
+
ot as PageHeader,
|
|
1631
|
+
P as PhoneView,
|
|
1632
|
+
Xe as ProgressBar,
|
|
1633
|
+
g as ResponsiveContainer,
|
|
1608
1634
|
T as RgxCheckForHyphen,
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1635
|
+
ge as RgxPatronymic,
|
|
1636
|
+
he as RgxUnicode,
|
|
1637
|
+
V as Section,
|
|
1638
|
+
qe as Skeleton,
|
|
1639
|
+
nt as Stepper,
|
|
1640
|
+
Ue as Table,
|
|
1615
1641
|
k as VALIDATION_MESSAGES,
|
|
1616
1642
|
N as allowedBackgroundColors,
|
|
1617
|
-
|
|
1643
|
+
U as allowedBackgroundDeg,
|
|
1618
1644
|
O as allowedBannersBackgroundColors,
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1645
|
+
$ as allowedBorderRadius,
|
|
1646
|
+
H as allowedFontSize,
|
|
1647
|
+
h as allowedIconsColors,
|
|
1648
|
+
G as allowedLineHeight,
|
|
1623
1649
|
I as allowedStrokeColors,
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1650
|
+
M as allowedTextColors,
|
|
1651
|
+
W as allowedTextStyles,
|
|
1652
|
+
be as allowedZIndex,
|
|
1653
|
+
C as capitalize,
|
|
1628
1654
|
a as cn,
|
|
1629
1655
|
Oe as deepCompare,
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1656
|
+
Ye as extendsPreset,
|
|
1657
|
+
$e as formatToDate,
|
|
1658
|
+
xt as isClient,
|
|
1659
|
+
et as resetPreset,
|
|
1660
|
+
Ke as tailwindConfigBase,
|
|
1661
|
+
Qe as zodCalendarValidate,
|
|
1662
|
+
Je as zodDadataFioValidate
|
|
1637
1663
|
};
|
|
1638
1664
|
//# sourceMappingURL=hybrid.js.map
|