@scbt-ecom/ui 0.7.12 → 0.7.13
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 +164 -147
- 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/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 g, a as u, I as x, L as Y, z as
|
|
2
|
-
import { B as
|
|
1
|
+
import { p as z, j as t, c as a, H as g, a as u, I as x, L as Y, z as c, i as ee, g as L, u as te, 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
4
|
import { forwardRef as R } from "react";
|
|
5
|
-
const
|
|
5
|
+
const Me = (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()), S = ({ children: o, className: e, ...i }) => /* @__PURE__ */ t.jsx("section", { className: a("pb-16 desktop:pb-20", e), ...i, children: o }), h = ({ 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 = u("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 = u("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 = u("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 = u("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,
|
|
@@ -84,8 +84,8 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
84
84
|
const l = i && i.length > 0 ? "exist" : "notExist";
|
|
85
85
|
return /* @__PURE__ */ t.jsx(h, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", d == null ? void 0 : d.tableRootWrapper), children: [
|
|
86
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: o }),
|
|
87
|
-
/* @__PURE__ */ t.jsxs("div", { className: a(
|
|
88
|
-
/* @__PURE__ */ t.jsx("ul", { className: a(
|
|
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, f) => /* @__PURE__ */ t.jsx("li", { className: a(ne({ columnCount: n, titlesExist: l }), d == null ? void 0 : d.tableBodyRow), children: m.map((y, s) => /* @__PURE__ */ t.jsx("p", { className: a(ae({ titlesExist: l, columnCount: n }), d == null ? void 0 : d.tableBodyCeil), children: y.text }, s)) }, f)) })
|
|
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(
|
|
@@ -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 = u(
|
|
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: {
|
|
@@ -209,7 +209,7 @@ 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:
|
|
212
|
+
isLoading: f = !1,
|
|
213
213
|
isFull: y = !1,
|
|
214
214
|
textFormat: s,
|
|
215
215
|
...p
|
|
@@ -218,17 +218,17 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
218
218
|
{
|
|
219
219
|
ref: K,
|
|
220
220
|
type: n,
|
|
221
|
-
disabled: m ||
|
|
222
|
-
className: a(
|
|
221
|
+
disabled: m || f,
|
|
222
|
+
className: a(le({ intent: o, size: e, textFormat: s, isLoading: f, isFull: y }), i),
|
|
223
223
|
...p,
|
|
224
|
-
children:
|
|
224
|
+
children: f ? /* @__PURE__ */ t.jsx(Y, { 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 = u(
|
|
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 = R(
|
|
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 = u(
|
|
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 = u("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
|
+
}), Ze = ({
|
|
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(x, { name: l, className: a(
|
|
308
|
-
] }),
|
|
307
|
+
r && /* @__PURE__ */ t.jsx(x, { name: l, className: a(ue({ intent: e, disabled: n })) })
|
|
308
|
+
] }), xe = u("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,10 +315,10 @@ 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
|
+
}, We = ({ text: o, size: e, sizeType: i, href: r, intent: n = "outline" }) => /* @__PURE__ */ t.jsxs(
|
|
322
322
|
"a",
|
|
323
323
|
{
|
|
324
324
|
href: r,
|
|
@@ -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(x, { name:
|
|
332
|
+
/* @__PURE__ */ t.jsx(x, { 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: [
|
|
@@ -343,7 +343,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
343
343
|
), V = ({ 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,7 +365,7 @@ 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
|
-
] }),
|
|
368
|
+
] }), qe = ({ className: o }) => /* @__PURE__ */ t.jsx("div", { className: a("skeleton-apply h-full w-full", o) }), ce = {
|
|
369
369
|
main: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoMain" }),
|
|
370
370
|
white: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoWhite" }),
|
|
371
371
|
gray: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoGray" }),
|
|
@@ -493,7 +493,7 @@ const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), D = (o) => o.split
|
|
|
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",
|
|
@@ -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,42 +599,42 @@ 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
633
|
}), ee(d) || e.addIssue({
|
|
634
|
-
code:
|
|
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
|
});
|
|
@@ -685,13 +685,13 @@ var Z = {}, W = {};
|
|
|
685
685
|
})(Z);
|
|
686
686
|
let _ = Z;
|
|
687
687
|
var X = (_.__esModule ? _ : { default: _ }).default;
|
|
688
|
-
const
|
|
688
|
+
const D = /* @__PURE__ */ L(X), ye = X;
|
|
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 q = /* @__PURE__ */ L(
|
|
850
|
+
const q = /* @__PURE__ */ L(se), Ke = {
|
|
851
851
|
theme: {
|
|
852
852
|
screens: {
|
|
853
853
|
mobile: { max: "1187px" },
|
|
@@ -922,10 +922,10 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
922
922
|
},
|
|
923
923
|
plugins: [
|
|
924
924
|
q,
|
|
925
|
-
|
|
925
|
+
D(({ addComponents: o }) => {
|
|
926
926
|
o(G);
|
|
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" },
|
|
@@ -1007,17 +1007,17 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
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
1012
|
bgGradientDeg: $
|
|
1013
1013
|
}
|
|
1014
1014
|
},
|
|
1015
1015
|
plugins: [
|
|
1016
1016
|
q,
|
|
1017
|
-
|
|
1017
|
+
D(({ addComponents: o }) => {
|
|
1018
1018
|
o(G);
|
|
1019
1019
|
}),
|
|
1020
|
-
|
|
1020
|
+
D(function({ matchUtilities: o, theme: e }) {
|
|
1021
1021
|
o(
|
|
1022
1022
|
{
|
|
1023
1023
|
"bg-deg-gradient": (i) => ({
|
|
@@ -1080,7 +1080,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1080
1080
|
i
|
|
1081
1081
|
))
|
|
1082
1082
|
}
|
|
1083
|
-
),
|
|
1083
|
+
), we = ({
|
|
1084
1084
|
headTitle: o,
|
|
1085
1085
|
subtitle: e,
|
|
1086
1086
|
buttonsConfig: i,
|
|
@@ -1148,59 +1148,76 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1148
1148
|
advantagesList: r,
|
|
1149
1149
|
classes: n,
|
|
1150
1150
|
img: d
|
|
1151
|
-
}) =>
|
|
1152
|
-
/* @__PURE__ */ t.
|
|
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(
|
|
1151
|
+
}) => {
|
|
1152
|
+
const l = /* @__PURE__ */ t.jsx(
|
|
1170
1153
|
"div",
|
|
1171
1154
|
{
|
|
1172
1155
|
"data-id": "banner-advantages",
|
|
1173
|
-
className: a(
|
|
1156
|
+
className: a(
|
|
1157
|
+
"mt-4 flex items-center justify-center desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:mt-0 desktop:translate-x-1/2",
|
|
1158
|
+
n == null ? void 0 : n.advantage
|
|
1159
|
+
),
|
|
1174
1160
|
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(Q, { classes: n, advantagesList: r })
|
|
1175
1161
|
}
|
|
1176
|
-
)
|
|
1177
|
-
|
|
1162
|
+
), { isDesktop: m, isMobile: f } = te();
|
|
1163
|
+
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1164
|
+
/* @__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(h, { "data-id": "banner-container", className: a(n == null ? void 0 : n.container), children: [
|
|
1165
|
+
/* @__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: [
|
|
1166
|
+
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
|
|
1167
|
+
/* @__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: [
|
|
1168
|
+
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: o }),
|
|
1169
|
+
/* @__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 })
|
|
1170
|
+
] }),
|
|
1171
|
+
/* @__PURE__ */ t.jsx(J, { buttonsConfig: i, classes: n })
|
|
1172
|
+
] }),
|
|
1173
|
+
/* @__PURE__ */ t.jsx(
|
|
1174
|
+
"div",
|
|
1175
|
+
{
|
|
1176
|
+
"data-id": "banner-image-wrapper",
|
|
1177
|
+
className: a("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", n == null ? void 0 : n.imageContainer),
|
|
1178
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1179
|
+
"img",
|
|
1180
|
+
{
|
|
1181
|
+
"data-id": "banner-image",
|
|
1182
|
+
src: d,
|
|
1183
|
+
alt: "Картинка баннера",
|
|
1184
|
+
className: a("h-full object-cover", n == null ? void 0 : n.image)
|
|
1185
|
+
}
|
|
1186
|
+
)
|
|
1187
|
+
}
|
|
1188
|
+
)
|
|
1189
|
+
] }),
|
|
1190
|
+
m && l
|
|
1191
|
+
] }) }),
|
|
1192
|
+
f && l
|
|
1193
|
+
] });
|
|
1194
|
+
}, tt = ({ bannerVariant: o, ...e }) => {
|
|
1178
1195
|
switch (o) {
|
|
1179
1196
|
case "sepatateImg":
|
|
1180
1197
|
return /* @__PURE__ */ t.jsx(A, { ...e });
|
|
1181
1198
|
case "fullImg":
|
|
1182
|
-
return /* @__PURE__ */ t.jsx(
|
|
1199
|
+
return /* @__PURE__ */ t.jsx(we, { ...e });
|
|
1183
1200
|
default:
|
|
1184
1201
|
return /* @__PURE__ */ t.jsx(A, { ...e });
|
|
1185
1202
|
}
|
|
1186
|
-
},
|
|
1203
|
+
}, ve = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1187
1204
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
1188
1205
|
/* @__PURE__ */ t.jsx("br", {}),
|
|
1189
1206
|
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
1190
|
-
] }),
|
|
1207
|
+
] }), ke = `Кредит на бизнес цели, срок 3, 6, 9, 12, 18, 24, 36, 48, 60 мес. Ставка – от 22,9%*. *Точная процентная ставка
|
|
1191
1208
|
устанавливается по соглашению сторон и определяется исходя из платёжеспособности и кредитоспособности клиента, а также
|
|
1192
1209
|
иных индивидуальных особенностей клиента. Сумма 100 000 – 50 000 000 руб. Кредит выдается на карту “Халва”, открытый в
|
|
1193
1210
|
Банке. Банк вправе отказать в предоставлении кредита без объяснения причины, а также запросить дополнительную информацию о
|
|
1194
1211
|
клиенте. Предварительное одобрение не влечет обязательств Банка по выдаче кредита. В некоторых случаях срок рассмотрения
|
|
1195
1212
|
заявки может составлять до 3 рабочих дней. Полный электронный документооборот при наличии открытого р/с в ПАО «Совкомбанк»
|
|
1196
|
-
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`,
|
|
1213
|
+
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`, je = [
|
|
1197
1214
|
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
1198
1215
|
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
1199
|
-
],
|
|
1216
|
+
], Ne = [
|
|
1200
1217
|
{ iconName: "social/vk", href: "/vk" },
|
|
1201
1218
|
{ iconName: "social/telegram", href: "/tg" },
|
|
1202
1219
|
{ iconName: "social/classmates", href: "/cl" }
|
|
1203
|
-
],
|
|
1220
|
+
], Ie = [
|
|
1204
1221
|
{
|
|
1205
1222
|
groupLabel: "Совкомбанк",
|
|
1206
1223
|
links: [
|
|
@@ -1277,7 +1294,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1277
1294
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
1278
1295
|
]
|
|
1279
1296
|
}
|
|
1280
|
-
],
|
|
1297
|
+
], 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
1298
|
"a",
|
|
1282
1299
|
{
|
|
1283
1300
|
className: a("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
@@ -1297,7 +1314,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1297
1314
|
}
|
|
1298
1315
|
},
|
|
1299
1316
|
i
|
|
1300
|
-
)) }),
|
|
1317
|
+
)) }), _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
1318
|
/* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m font-medium text-color-white", e == null ? void 0 : e.navLabel), children: i }),
|
|
1302
1319
|
/* @__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
1320
|
"a",
|
|
@@ -1311,7 +1328,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1311
1328
|
},
|
|
1312
1329
|
n
|
|
1313
1330
|
)) })
|
|
1314
|
-
] }, i)) }),
|
|
1331
|
+
] }, i)) }), Ee = ({ ligal: o, classes: e }) => {
|
|
1315
1332
|
const [i, r] = v.useState(!1), [n, d] = v.useState(!1), l = v.useRef(null);
|
|
1316
1333
|
return v.useEffect(() => {
|
|
1317
1334
|
const m = l.current;
|
|
@@ -1332,31 +1349,31 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1332
1349
|
}
|
|
1333
1350
|
)
|
|
1334
1351
|
] });
|
|
1335
|
-
},
|
|
1352
|
+
}, 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
1353
|
withSocial: o = !0,
|
|
1337
1354
|
withPhones: e = !0,
|
|
1338
1355
|
withNavLinks: i = !0,
|
|
1339
1356
|
withLigal: r = !0,
|
|
1340
1357
|
withCopyright: n = !0,
|
|
1341
1358
|
withSiteMap: d = !0,
|
|
1342
|
-
socialsLinks: l =
|
|
1343
|
-
phones: m =
|
|
1344
|
-
navigationLinks:
|
|
1345
|
-
ligal: y =
|
|
1346
|
-
copyright: s =
|
|
1359
|
+
socialsLinks: l = Ne,
|
|
1360
|
+
phones: m = je,
|
|
1361
|
+
navigationLinks: f = Ie,
|
|
1362
|
+
ligal: y = ke,
|
|
1363
|
+
copyright: s = ve,
|
|
1347
1364
|
classes: p
|
|
1348
1365
|
}) => /* @__PURE__ */ t.jsx(S, { 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: [
|
|
1349
1366
|
/* @__PURE__ */ t.jsxs("div", { className: a("mb-8 flex items-center justify-between gap-6", p == null ? void 0 : p.footerHead), children: [
|
|
1350
1367
|
/* @__PURE__ */ t.jsxs("div", { className: a(p == null ? void 0 : p.footerSocialBlock), children: [
|
|
1351
1368
|
/* @__PURE__ */ t.jsx("a", { href: "/", className: a(p == null ? void 0 : p.footerLogo), children: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
|
|
1352
|
-
o && /* @__PURE__ */ t.jsx(
|
|
1369
|
+
o && /* @__PURE__ */ t.jsx(De, { socialsLinks: l, classes: p })
|
|
1353
1370
|
] }),
|
|
1354
1371
|
e && /* @__PURE__ */ t.jsx(Ce, { phones: m, classes: p })
|
|
1355
1372
|
] }),
|
|
1356
|
-
i && /* @__PURE__ */ t.jsx(
|
|
1357
|
-
r && /* @__PURE__ */ t.jsx(
|
|
1373
|
+
i && /* @__PURE__ */ t.jsx(_e, { navigationLinks: f, classes: p }),
|
|
1374
|
+
r && /* @__PURE__ */ t.jsx(Ee, { ligal: y, classes: p }),
|
|
1358
1375
|
/* @__PURE__ */ t.jsxs("div", { className: "mt-6 flex items-start justify-between gap-6", children: [
|
|
1359
|
-
n && /* @__PURE__ */ t.jsx(
|
|
1376
|
+
n && /* @__PURE__ */ t.jsx(Te, { text: s, classes: p }),
|
|
1360
1377
|
d && /* @__PURE__ */ t.jsx(
|
|
1361
1378
|
"a",
|
|
1362
1379
|
{
|
|
@@ -1368,7 +1385,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1368
1385
|
}
|
|
1369
1386
|
)
|
|
1370
1387
|
] })
|
|
1371
|
-
] }) }) }),
|
|
1388
|
+
] }) }) }), Be = (o) => {
|
|
1372
1389
|
var e, i, r, n;
|
|
1373
1390
|
switch (o.variant) {
|
|
1374
1391
|
case "withButton":
|
|
@@ -1390,7 +1407,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1390
1407
|
default:
|
|
1391
1408
|
return null;
|
|
1392
1409
|
}
|
|
1393
|
-
},
|
|
1410
|
+
}, ot = (o) => {
|
|
1394
1411
|
const { logoPath: e = "/", logoType: i = "main", classes: r } = o;
|
|
1395
1412
|
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(h, { 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
1413
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1403,12 +1420,12 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1403
1420
|
"flex items-center justify-center [&_svg]:w-[114px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1404
1421
|
r == null ? void 0 : r.logo
|
|
1405
1422
|
),
|
|
1406
|
-
children:
|
|
1423
|
+
children: ce[i]
|
|
1407
1424
|
}
|
|
1408
1425
|
),
|
|
1409
|
-
|
|
1426
|
+
Be(o)
|
|
1410
1427
|
] }) }) });
|
|
1411
|
-
},
|
|
1428
|
+
}, Fe = ({ title: o, description: e, index: i, classes: r }) => /* @__PURE__ */ t.jsxs(
|
|
1412
1429
|
"div",
|
|
1413
1430
|
{
|
|
1414
1431
|
className: a(
|
|
@@ -1432,7 +1449,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1432
1449
|
] })
|
|
1433
1450
|
]
|
|
1434
1451
|
}
|
|
1435
|
-
),
|
|
1452
|
+
), nt = ({ heading: o, stepsList: e, classes: i }) => /* @__PURE__ */ t.jsx(S, { children: /* @__PURE__ */ t.jsx(h, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-12", i == null ? void 0 : i.root), children: [
|
|
1436
1453
|
/* @__PURE__ */ t.jsx(g, { as: "h2", className: a("text-color-dark", i == null ? void 0 : i.headline), children: o }),
|
|
1437
1454
|
/* @__PURE__ */ t.jsx(
|
|
1438
1455
|
"div",
|
|
@@ -1441,10 +1458,10 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1441
1458
|
"flex flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1442
1459
|
i == null ? void 0 : i.stepsWrapper
|
|
1443
1460
|
),
|
|
1444
|
-
children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(
|
|
1461
|
+
children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(Fe, { index: n + 1, ...r, classes: i }, r.title))
|
|
1445
1462
|
}
|
|
1446
1463
|
)
|
|
1447
|
-
] }) }) }),
|
|
1464
|
+
] }) }) }), Ae = u("", {
|
|
1448
1465
|
variants: {
|
|
1449
1466
|
intent: {
|
|
1450
1467
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -1460,7 +1477,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1460
1477
|
defaultVariants: {
|
|
1461
1478
|
intent: "twoItems"
|
|
1462
1479
|
}
|
|
1463
|
-
}),
|
|
1480
|
+
}), ze = u("desktop:max-h-[98px]", {
|
|
1464
1481
|
variants: {
|
|
1465
1482
|
intent: {
|
|
1466
1483
|
twoItems: "",
|
|
@@ -1492,7 +1509,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1492
1509
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1493
1510
|
}
|
|
1494
1511
|
]
|
|
1495
|
-
}),
|
|
1512
|
+
}), Le = u("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1496
1513
|
variants: {
|
|
1497
1514
|
intent: {
|
|
1498
1515
|
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 +1519,7 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1502
1519
|
defaultVariants: {
|
|
1503
1520
|
intent: "twoItems"
|
|
1504
1521
|
}
|
|
1505
|
-
}),
|
|
1522
|
+
}), Re = u("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1506
1523
|
variants: {
|
|
1507
1524
|
intent: {
|
|
1508
1525
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -1528,16 +1545,16 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1528
1545
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1529
1546
|
}
|
|
1530
1547
|
]
|
|
1531
|
-
}),
|
|
1548
|
+
}), Se = ({ data: o, intent: e }) => {
|
|
1532
1549
|
const { title: i, description: r, popoverText: n } = o;
|
|
1533
|
-
return /* @__PURE__ */ t.jsx("li", { className: a(
|
|
1550
|
+
return /* @__PURE__ */ t.jsx("li", { className: a(Le({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
1534
1551
|
/* @__PURE__ */ t.jsxs("div", { className: a("mb-2 flex items-center gap-2"), children: [
|
|
1535
1552
|
/* @__PURE__ */ t.jsx("h4", { className: a("mob-title-bold-m text-color-dark"), children: i }),
|
|
1536
|
-
n && /* @__PURE__ */ t.jsx(
|
|
1553
|
+
n && /* @__PURE__ */ t.jsx(re, { triggerElement: /* @__PURE__ */ t.jsx(x, { className: a("size-4 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
|
|
1537
1554
|
] }),
|
|
1538
1555
|
/* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-l text-color-secondary"), children: r })
|
|
1539
1556
|
] }) });
|
|
1540
|
-
}, E = ({ intent: o, title: e, desktopHidden: i = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: a(
|
|
1557
|
+
}, 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
1558
|
title: o,
|
|
1542
1559
|
buttonConfig: e,
|
|
1543
1560
|
intent: i = "twoItems",
|
|
@@ -1545,9 +1562,9 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1545
1562
|
imageComponent: n,
|
|
1546
1563
|
classes: d
|
|
1547
1564
|
}) => {
|
|
1548
|
-
const l = !!e, m = i === "fourItems",
|
|
1565
|
+
const l = !!e, m = i === "fourItems", f = i === "twoItems";
|
|
1549
1566
|
return /* @__PURE__ */ t.jsx("section", { className: a(d == null ? void 0 : d.section), children: /* @__PURE__ */ t.jsxs(h, { className: a(d == null ? void 0 : d.mainContainer), children: [
|
|
1550
|
-
|
|
1567
|
+
f && /* @__PURE__ */ t.jsx(E, { intent: i, title: o }),
|
|
1551
1568
|
/* @__PURE__ */ t.jsxs(
|
|
1552
1569
|
"div",
|
|
1553
1570
|
{
|
|
@@ -1557,14 +1574,14 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1557
1574
|
),
|
|
1558
1575
|
children: [
|
|
1559
1576
|
m && /* @__PURE__ */ t.jsx(E, { intent: i, title: o, desktopHidden: !0 }),
|
|
1560
|
-
/* @__PURE__ */ t.jsx("div", { className: a(
|
|
1577
|
+
/* @__PURE__ */ t.jsx("div", { className: a(Re({ intent: i, withButton: l }), d == null ? void 0 : d.imgContainer), children: n }),
|
|
1561
1578
|
/* @__PURE__ */ t.jsxs(
|
|
1562
1579
|
"div",
|
|
1563
1580
|
{
|
|
1564
1581
|
className: a("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1565
1582
|
children: [
|
|
1566
1583
|
m && /* @__PURE__ */ t.jsx(E, { intent: i, title: o, mobileHidden: !0 }),
|
|
1567
|
-
/* @__PURE__ */ t.jsx(
|
|
1584
|
+
/* @__PURE__ */ t.jsx(Ve, { textContent: r, intent: i, withButton: l }),
|
|
1568
1585
|
l && /* @__PURE__ */ t.jsx(
|
|
1569
1586
|
j,
|
|
1570
1587
|
{
|
|
@@ -1585,33 +1602,33 @@ const q = /* @__PURE__ */ L(ye), Qe = {
|
|
|
1585
1602
|
};
|
|
1586
1603
|
export {
|
|
1587
1604
|
Q as Advantages,
|
|
1588
|
-
|
|
1589
|
-
|
|
1605
|
+
lt as Badge,
|
|
1606
|
+
tt as Banner,
|
|
1590
1607
|
A as BannerWithSeparateImg,
|
|
1591
|
-
|
|
1608
|
+
He as Breadcrumbs,
|
|
1592
1609
|
j as Button,
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1610
|
+
Ge as ButtonIcon,
|
|
1611
|
+
Ze as CustomLink,
|
|
1612
|
+
pt as DADATA_BASE_CACHE_URL,
|
|
1613
|
+
mt as DADATA_BASE_CONSTANTS_URL,
|
|
1614
|
+
We as Document,
|
|
1615
|
+
rt as Footer,
|
|
1599
1616
|
g as Heading,
|
|
1600
1617
|
x as Icon,
|
|
1601
1618
|
Y as Loader,
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1619
|
+
it as LongBanner,
|
|
1620
|
+
ut as Notification,
|
|
1621
|
+
ot as PageHeader,
|
|
1605
1622
|
V as PhoneView,
|
|
1606
|
-
|
|
1623
|
+
Xe as ProgressBar,
|
|
1607
1624
|
h as ResponsiveContainer,
|
|
1608
1625
|
T as RgxCheckForHyphen,
|
|
1609
|
-
|
|
1610
|
-
|
|
1626
|
+
ge as RgxPatronymic,
|
|
1627
|
+
he as RgxUnicode,
|
|
1611
1628
|
S as Section,
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1629
|
+
qe as Skeleton,
|
|
1630
|
+
nt as Stepper,
|
|
1631
|
+
Ue as Table,
|
|
1615
1632
|
k as VALIDATION_MESSAGES,
|
|
1616
1633
|
N as allowedBackgroundColors,
|
|
1617
1634
|
$ as allowedBackgroundDeg,
|
|
@@ -1623,16 +1640,16 @@ export {
|
|
|
1623
1640
|
I as allowedStrokeColors,
|
|
1624
1641
|
P as allowedTextColors,
|
|
1625
1642
|
G as allowedTextStyles,
|
|
1626
|
-
|
|
1627
|
-
|
|
1643
|
+
be as allowedZIndex,
|
|
1644
|
+
C as capitalize,
|
|
1628
1645
|
a as cn,
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1646
|
+
Me as deepCompare,
|
|
1647
|
+
Ye as extendsPreset,
|
|
1648
|
+
$e as formatToDate,
|
|
1649
|
+
xt as isClient,
|
|
1650
|
+
et as resetPreset,
|
|
1651
|
+
Ke as tailwindConfigBase,
|
|
1652
|
+
Qe as zodCalendarValidate,
|
|
1653
|
+
Je as zodDadataFioValidate
|
|
1637
1654
|
};
|
|
1638
1655
|
//# sourceMappingURL=hybrid.js.map
|