@scbt-ecom/ui 0.7.1 → 0.7.3
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 +1 -1
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +193 -194
- package/dist/hybrid.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/widgets/banner/index.d.ts +1 -0
- package/dist/widgets/banner/ui/banners/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/hybrid.js
CHANGED
|
@@ -2,7 +2,7 @@ import { p as B, j as t, c as a, H as g, a as c, I as m, L as K, z as x, i as Y,
|
|
|
2
2
|
import { B as Ke, D as Ye, d as et, N as tt, b as rt } from "./Notification-BjaLuRjD.js";
|
|
3
3
|
import * as s from "react";
|
|
4
4
|
import { forwardRef as L } from "react";
|
|
5
|
-
const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Be = (r, e = "dd.MM.yyyy") => B(r, e, /* @__PURE__ */ new Date()), R = ({ children: r, className: e, ...
|
|
5
|
+
const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Be = (r, e = "dd.MM.yyyy") => B(r, e, /* @__PURE__ */ new Date()), R = ({ children: r, className: e, ...i }) => /* @__PURE__ */ t.jsx("section", { className: a("pb-16 desktop:pb-20", e), ...i, children: r }), h = ({ children: r, className: e, ...i }) => /* @__PURE__ */ t.jsx("div", { className: a("m-auto w-full px-4 desktop:max-w-[1188px]", e), ...i, children: r }), ee = c("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))]",
|
|
@@ -52,7 +52,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
52
52
|
compoundVariants: [
|
|
53
53
|
{
|
|
54
54
|
columnCount: "threeColumns",
|
|
55
|
-
class: "
|
|
55
|
+
class: "overflow-x-scroll max-w-[368px] mb-1"
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
58
|
}), oe = c("border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l mob-body-regular-l", {
|
|
@@ -76,16 +76,16 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
76
76
|
}), ze = ({
|
|
77
77
|
headTitle: r,
|
|
78
78
|
tableRows: e,
|
|
79
|
-
tableHead:
|
|
79
|
+
tableHead: i,
|
|
80
80
|
additionalText: o,
|
|
81
|
-
columnCount:
|
|
81
|
+
columnCount: n,
|
|
82
82
|
classes: d
|
|
83
83
|
}) => {
|
|
84
|
-
const l =
|
|
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: r }),
|
|
87
|
-
/* @__PURE__ */ t.jsxs("div", { className: a(re({ columnCount:
|
|
88
|
-
/* @__PURE__ */ t.jsx("ul", { className: a(ee({ columnCount:
|
|
87
|
+
/* @__PURE__ */ t.jsxs("div", { className: a(re({ columnCount: n }), d == null ? void 0 : d.tableBody), children: [
|
|
88
|
+
/* @__PURE__ */ t.jsx("ul", { className: a(ee({ columnCount: n }), d == null ? void 0 : d.tableTitlesContainer), children: i == null ? void 0 : i.map((u) => /* @__PURE__ */ t.jsx(
|
|
89
89
|
"li",
|
|
90
90
|
{
|
|
91
91
|
className: a(
|
|
@@ -96,7 +96,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
96
96
|
},
|
|
97
97
|
u
|
|
98
98
|
)) }),
|
|
99
|
-
/* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((u, f) => /* @__PURE__ */ t.jsx("li", { className: a(te({ columnCount:
|
|
99
|
+
/* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((u, f) => /* @__PURE__ */ t.jsx("li", { className: a(te({ columnCount: n, titlesExist: l }), d == null ? void 0 : d.tableBodyRow), children: u.map((y, v) => /* @__PURE__ */ t.jsx("p", { className: a(oe({ titlesExist: l, columnCount: n }), d == null ? void 0 : d.tableBodyCeil), children: y.text }, v)) }, 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: o })
|
|
102
102
|
] }) });
|
|
@@ -130,7 +130,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.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 }) })) }), ne = (r) => {
|
|
134
134
|
switch (r) {
|
|
135
135
|
case "ghost":
|
|
136
136
|
case "secondary":
|
|
@@ -141,7 +141,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
141
141
|
default:
|
|
142
142
|
return r;
|
|
143
143
|
}
|
|
144
|
-
},
|
|
144
|
+
}, ie = c(
|
|
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: {
|
|
@@ -203,9 +203,9 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
203
203
|
({
|
|
204
204
|
intent: r,
|
|
205
205
|
size: e,
|
|
206
|
-
className:
|
|
206
|
+
className: i,
|
|
207
207
|
children: o,
|
|
208
|
-
type:
|
|
208
|
+
type: n = "button",
|
|
209
209
|
iconLeft: d,
|
|
210
210
|
iconRight: l,
|
|
211
211
|
disabled: u = !1,
|
|
@@ -217,11 +217,11 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
217
217
|
"button",
|
|
218
218
|
{
|
|
219
219
|
ref: Q,
|
|
220
|
-
type:
|
|
220
|
+
type: n,
|
|
221
221
|
disabled: u || f,
|
|
222
|
-
className: a(
|
|
222
|
+
className: a(ie({ intent: r, size: e, textFormat: v, isLoading: f, isFull: y }), i),
|
|
223
223
|
...p,
|
|
224
|
-
children: f ? /* @__PURE__ */ t.jsx(K, { size: "sm", intent:
|
|
224
|
+
children: f ? /* @__PURE__ */ t.jsx(K, { size: "sm", intent: ne(r) }) : /* @__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
|
o,
|
|
227
227
|
l && /* @__PURE__ */ t.jsx("span", { className: "flex size-5 items-center justify-center", children: l })
|
|
@@ -249,7 +249,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
), Re = L(
|
|
252
|
-
({ size: r, intent: e, children:
|
|
252
|
+
({ size: r, intent: e, children: i, classes: o, type: n = "button", ...d }, l) => /* @__PURE__ */ t.jsx("button", { ref: l, type: n, className: a(ae({ intent: e, size: r }), o == null ? void 0 : o.button), ...d, children: /* @__PURE__ */ t.jsx("span", { className: a(o == null ? void 0 : o.icon), children: i }) })
|
|
253
253
|
), de = c(
|
|
254
254
|
"group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
|
|
255
255
|
{
|
|
@@ -296,15 +296,15 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
296
296
|
}), Se = ({
|
|
297
297
|
Component: r = "a",
|
|
298
298
|
intent: e,
|
|
299
|
-
children:
|
|
299
|
+
children: i,
|
|
300
300
|
withIcon: o,
|
|
301
|
-
disabled:
|
|
301
|
+
disabled: n,
|
|
302
302
|
size: d,
|
|
303
303
|
icon: l = "arrows/arrowLink",
|
|
304
304
|
...u
|
|
305
|
-
}) => /* @__PURE__ */ t.jsxs(r, { className: a(de({ intent: e, withIcon: o, disabled:
|
|
306
|
-
|
|
307
|
-
o && /* @__PURE__ */ t.jsx(m, { name: l, className: a(le({ intent: e, disabled:
|
|
305
|
+
}) => /* @__PURE__ */ t.jsxs(r, { className: a(de({ intent: e, withIcon: o, disabled: n, size: d })), ...u, children: [
|
|
306
|
+
i,
|
|
307
|
+
o && /* @__PURE__ */ t.jsx(m, { name: l, className: a(le({ intent: e, disabled: n })) })
|
|
308
308
|
] }), pe = c("size-8 transition-colors", {
|
|
309
309
|
variants: {
|
|
310
310
|
intent: {
|
|
@@ -318,7 +318,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
318
318
|
}), ue = {
|
|
319
319
|
filled: "files/documentFilled",
|
|
320
320
|
outline: "files/documentOutline"
|
|
321
|
-
}, Oe = ({ text: r, size: e, sizeType:
|
|
321
|
+
}, Oe = ({ text: r, size: e, sizeType: i, href: o, intent: n = "outline" }) => /* @__PURE__ */ t.jsxs(
|
|
322
322
|
"a",
|
|
323
323
|
{
|
|
324
324
|
href: o,
|
|
@@ -329,28 +329,28 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.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(m, { name: ue[
|
|
332
|
+
/* @__PURE__ */ t.jsx(m, { name: ue[n], className: a(pe({ 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: r }),
|
|
335
335
|
/* @__PURE__ */ t.jsxs("div", { className: a("desk-body-regular-m text-color-disabled"), children: [
|
|
336
336
|
e,
|
|
337
337
|
" ",
|
|
338
|
-
|
|
338
|
+
i
|
|
339
339
|
] })
|
|
340
340
|
] })
|
|
341
341
|
]
|
|
342
342
|
}
|
|
343
|
-
), S = ({ phone: r, text: e, classes:
|
|
344
|
-
/* @__PURE__ */ t.jsx("a", { href: `tel:${r}`, className: a("desk-body-medium-l ml-auto text-color-dark",
|
|
345
|
-
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary",
|
|
346
|
-
] }), Pe = ({ topContent: r, bottomContent: e, progress:
|
|
347
|
-
r && /* @__PURE__ */ t.jsx("div", { className: a("mb-2 flex justify-between gap-5",
|
|
348
|
-
/* @__PURE__ */ t.jsxs("div", { className: a("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]",
|
|
343
|
+
), S = ({ phone: r, text: e, classes: i }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex w-max flex-col", i == null ? void 0 : i.wrapper), children: [
|
|
344
|
+
/* @__PURE__ */ t.jsx("a", { href: `tel:${r}`, className: a("desk-body-medium-l ml-auto text-color-dark", i == null ? void 0 : i.link), children: r }),
|
|
345
|
+
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", i == null ? void 0 : i.text), children: e })
|
|
346
|
+
] }), Pe = ({ topContent: r, bottomContent: e, progress: i, maxPercent: o = 100, classes: n }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", n == null ? void 0 : n.wrapper), children: [
|
|
347
|
+
r && /* @__PURE__ */ t.jsx("div", { className: a("mb-2 flex justify-between gap-5", n == null ? void 0 : n.topContent), children: r }),
|
|
348
|
+
/* @__PURE__ */ t.jsxs("div", { className: a("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", n == null ? void 0 : n.progressBar), children: [
|
|
349
349
|
/* @__PURE__ */ t.jsx(
|
|
350
350
|
"div",
|
|
351
351
|
{
|
|
352
|
-
style: { width: `${
|
|
353
|
-
className: a("relative z-10 h-2 rounded-md bg-color-positive transition-all",
|
|
352
|
+
style: { width: `${i}%` },
|
|
353
|
+
className: a("relative z-10 h-2 rounded-md bg-color-positive transition-all", n == null ? void 0 : n.progress)
|
|
354
354
|
}
|
|
355
355
|
),
|
|
356
356
|
/* @__PURE__ */ t.jsx(
|
|
@@ -358,13 +358,13 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
358
358
|
{
|
|
359
359
|
style: { maxWidth: `${o}%` },
|
|
360
360
|
className: a(
|
|
361
|
-
"progressBar-apply absolute top-1/2
|
|
362
|
-
|
|
361
|
+
"progressBar-apply z-1 absolute top-1/2 h-full w-full -translate-y-1/2 animate-progress-loader rounded-md",
|
|
362
|
+
n == null ? void 0 : n.loader
|
|
363
363
|
)
|
|
364
364
|
}
|
|
365
365
|
)
|
|
366
366
|
] }),
|
|
367
|
-
e && /* @__PURE__ */ t.jsx("div", { className: a("mt-2 flex justify-between gap-5",
|
|
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
|
] }), Ve = ({ className: r }) => /* @__PURE__ */ t.jsx("div", { className: a("skeleton-apply h-full w-full", r) }), me = {
|
|
369
369
|
main: /* @__PURE__ */ t.jsx(m, { name: "brandLogos/logoMain" }),
|
|
370
370
|
white: /* @__PURE__ */ t.jsx(m, { name: "brandLogos/logoWhite" }),
|
|
@@ -593,9 +593,9 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
593
593
|
INVALID_DATE: "Введите корректную дату",
|
|
594
594
|
FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
|
|
595
595
|
}, I = (r) => {
|
|
596
|
-
const e = r.trim().replace(/\s+/g, " ").split(" "), [
|
|
596
|
+
const e = r.trim().replace(/\s+/g, " ").split(" "), [i, o, ...n] = e, d = n == null ? void 0 : n.join(" ");
|
|
597
597
|
return {
|
|
598
|
-
surname:
|
|
598
|
+
surname: i,
|
|
599
599
|
name: o,
|
|
600
600
|
patronymic: d
|
|
601
601
|
};
|
|
@@ -604,30 +604,30 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
604
604
|
code: x.ZodIssueCode.custom,
|
|
605
605
|
message: "Должна быть только кириллица"
|
|
606
606
|
});
|
|
607
|
-
const { surname:
|
|
608
|
-
(!
|
|
607
|
+
const { surname: i, name: o, patronymic: n } = I(r);
|
|
608
|
+
(!i || !o) && e.addIssue({
|
|
609
609
|
code: x.ZodIssueCode.custom,
|
|
610
610
|
message: "Введите имя и фамилию"
|
|
611
611
|
}), T.test(o) || e.addIssue({
|
|
612
612
|
code: x.ZodIssueCode.custom,
|
|
613
613
|
message: "Неверно введено имя"
|
|
614
|
-
}), T.test(
|
|
614
|
+
}), T.test(i) || e.addIssue({
|
|
615
615
|
code: x.ZodIssueCode.custom,
|
|
616
616
|
message: "Неверно введена фамилия"
|
|
617
|
-
}),
|
|
617
|
+
}), n && (ce.test(n) || e.addIssue({
|
|
618
618
|
code: x.ZodIssueCode.custom,
|
|
619
619
|
message: "Неверно введено отчество"
|
|
620
620
|
}));
|
|
621
621
|
}).transform((r) => {
|
|
622
|
-
const { surname: e, name:
|
|
622
|
+
const { surname: e, name: i, patronymic: o } = I(r);
|
|
623
623
|
return {
|
|
624
624
|
surname: _(e),
|
|
625
|
-
name: _(
|
|
625
|
+
name: _(i),
|
|
626
626
|
patronymic: o ? _(o) : void 0
|
|
627
627
|
};
|
|
628
628
|
}), $e = x.string().length(10, { message: j.INVALID_DATE }).superRefine((r, e) => {
|
|
629
|
-
const [
|
|
630
|
-
+
|
|
629
|
+
const [i, o, n] = (r == null ? void 0 : r.split(".")) ?? "", d = B(`${i}/${o}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
630
|
+
+n <= 1950 && e.addIssue({
|
|
631
631
|
code: x.ZodIssueCode.custom,
|
|
632
632
|
message: j.INVALID_DATE
|
|
633
633
|
}), Y(d) || e.addIssue({
|
|
@@ -645,26 +645,26 @@ var Z = {}, H = {};
|
|
|
645
645
|
}), Object.defineProperty(r, "default", {
|
|
646
646
|
enumerable: !0,
|
|
647
647
|
get: function() {
|
|
648
|
-
return
|
|
648
|
+
return i;
|
|
649
649
|
}
|
|
650
650
|
});
|
|
651
|
-
function e(o,
|
|
651
|
+
function e(o, n) {
|
|
652
652
|
return {
|
|
653
653
|
handler: o,
|
|
654
|
-
config:
|
|
654
|
+
config: n
|
|
655
655
|
};
|
|
656
656
|
}
|
|
657
|
-
e.withOptions = function(o,
|
|
657
|
+
e.withOptions = function(o, n = () => ({})) {
|
|
658
658
|
const d = function(l) {
|
|
659
659
|
return {
|
|
660
660
|
__options: l,
|
|
661
661
|
handler: o(l),
|
|
662
|
-
config:
|
|
662
|
+
config: n(l)
|
|
663
663
|
};
|
|
664
664
|
};
|
|
665
|
-
return d.__isOptionsFunction = !0, d.__pluginFunction = o, d.__configFunction =
|
|
665
|
+
return d.__isOptionsFunction = !0, d.__pluginFunction = o, d.__configFunction = n, d;
|
|
666
666
|
};
|
|
667
|
-
const
|
|
667
|
+
const i = e;
|
|
668
668
|
})(H);
|
|
669
669
|
(function(r) {
|
|
670
670
|
Object.defineProperty(r, "__esModule", {
|
|
@@ -675,10 +675,10 @@ var Z = {}, H = {};
|
|
|
675
675
|
return o;
|
|
676
676
|
}
|
|
677
677
|
});
|
|
678
|
-
const e = /* @__PURE__ */
|
|
679
|
-
function n
|
|
680
|
-
return
|
|
681
|
-
default:
|
|
678
|
+
const e = /* @__PURE__ */ i(H);
|
|
679
|
+
function i(n) {
|
|
680
|
+
return n && n.__esModule ? n : {
|
|
681
|
+
default: n
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
684
|
const o = e.default;
|
|
@@ -692,13 +692,13 @@ function F(r) {
|
|
|
692
692
|
);
|
|
693
693
|
}
|
|
694
694
|
var ge = be(
|
|
695
|
-
({ addUtilities: r, matchUtilities: e, theme:
|
|
695
|
+
({ addUtilities: r, matchUtilities: e, theme: i }) => {
|
|
696
696
|
r({
|
|
697
|
-
"@keyframes enter":
|
|
698
|
-
"@keyframes exit":
|
|
697
|
+
"@keyframes enter": i("keyframes.enter"),
|
|
698
|
+
"@keyframes exit": i("keyframes.exit"),
|
|
699
699
|
".animate-in": {
|
|
700
700
|
animationName: "enter",
|
|
701
|
-
animationDuration:
|
|
701
|
+
animationDuration: i("animationDuration.DEFAULT"),
|
|
702
702
|
"--tw-enter-opacity": "initial",
|
|
703
703
|
"--tw-enter-scale": "initial",
|
|
704
704
|
"--tw-enter-rotate": "initial",
|
|
@@ -707,7 +707,7 @@ var ge = be(
|
|
|
707
707
|
},
|
|
708
708
|
".animate-out": {
|
|
709
709
|
animationName: "exit",
|
|
710
|
-
animationDuration:
|
|
710
|
+
animationDuration: i("animationDuration.DEFAULT"),
|
|
711
711
|
"--tw-exit-opacity": "initial",
|
|
712
712
|
"--tw-exit-scale": "initial",
|
|
713
713
|
"--tw-exit-rotate": "initial",
|
|
@@ -719,19 +719,19 @@ var ge = be(
|
|
|
719
719
|
"fade-in": (o) => ({ "--tw-enter-opacity": o }),
|
|
720
720
|
"fade-out": (o) => ({ "--tw-exit-opacity": o })
|
|
721
721
|
},
|
|
722
|
-
{ values:
|
|
722
|
+
{ values: i("animationOpacity") }
|
|
723
723
|
), e(
|
|
724
724
|
{
|
|
725
725
|
"zoom-in": (o) => ({ "--tw-enter-scale": o }),
|
|
726
726
|
"zoom-out": (o) => ({ "--tw-exit-scale": o })
|
|
727
727
|
},
|
|
728
|
-
{ values:
|
|
728
|
+
{ values: i("animationScale") }
|
|
729
729
|
), e(
|
|
730
730
|
{
|
|
731
731
|
"spin-in": (o) => ({ "--tw-enter-rotate": o }),
|
|
732
732
|
"spin-out": (o) => ({ "--tw-exit-rotate": o })
|
|
733
733
|
},
|
|
734
|
-
{ values:
|
|
734
|
+
{ values: i("animationRotate") }
|
|
735
735
|
), e(
|
|
736
736
|
{
|
|
737
737
|
"slide-in-from-top": (o) => ({
|
|
@@ -759,28 +759,28 @@ var ge = be(
|
|
|
759
759
|
"--tw-exit-translate-x": o
|
|
760
760
|
})
|
|
761
761
|
},
|
|
762
|
-
{ values:
|
|
762
|
+
{ values: i("animationTranslate") }
|
|
763
763
|
), e(
|
|
764
764
|
{ duration: (o) => ({ animationDuration: o }) },
|
|
765
|
-
{ values: F(
|
|
765
|
+
{ values: F(i("animationDuration")) }
|
|
766
766
|
), e(
|
|
767
767
|
{ delay: (o) => ({ animationDelay: o }) },
|
|
768
|
-
{ values:
|
|
768
|
+
{ values: i("animationDelay") }
|
|
769
769
|
), e(
|
|
770
770
|
{ ease: (o) => ({ animationTimingFunction: o }) },
|
|
771
|
-
{ values: F(
|
|
771
|
+
{ values: F(i("animationTimingFunction")) }
|
|
772
772
|
), r({
|
|
773
773
|
".running": { animationPlayState: "running" },
|
|
774
774
|
".paused": { animationPlayState: "paused" }
|
|
775
775
|
}), e(
|
|
776
776
|
{ "fill-mode": (o) => ({ animationFillMode: o }) },
|
|
777
|
-
{ values:
|
|
777
|
+
{ values: i("animationFillMode") }
|
|
778
778
|
), e(
|
|
779
779
|
{ direction: (o) => ({ animationDirection: o }) },
|
|
780
|
-
{ values:
|
|
780
|
+
{ values: i("animationDirection") }
|
|
781
781
|
), e(
|
|
782
782
|
{ repeat: (o) => ({ animationIterationCount: o }) },
|
|
783
|
-
{ values:
|
|
783
|
+
{ values: i("animationRepeat") }
|
|
784
784
|
);
|
|
785
785
|
},
|
|
786
786
|
{
|
|
@@ -850,7 +850,6 @@ var ge = be(
|
|
|
850
850
|
const X = /* @__PURE__ */ z(ge), Ue = {
|
|
851
851
|
theme: {
|
|
852
852
|
screens: {
|
|
853
|
-
mobile: "1187px",
|
|
854
853
|
desktop: "1188px"
|
|
855
854
|
},
|
|
856
855
|
backgroundColor: {
|
|
@@ -928,8 +927,8 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
928
927
|
D(function({ matchUtilities: r, theme: e }) {
|
|
929
928
|
r(
|
|
930
929
|
{
|
|
931
|
-
"bg-deg-gradient": (
|
|
932
|
-
"background-image": `linear-gradient(${
|
|
930
|
+
"bg-deg-gradient": (i) => ({
|
|
931
|
+
"background-image": `linear-gradient(${i}, var(--tw-gradient-stops))`
|
|
933
932
|
})
|
|
934
933
|
},
|
|
935
934
|
{
|
|
@@ -981,7 +980,6 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
981
980
|
}, Ze = {
|
|
982
981
|
theme: {
|
|
983
982
|
screens: {
|
|
984
|
-
mobile: "1187px",
|
|
985
983
|
desktop: "1188px"
|
|
986
984
|
},
|
|
987
985
|
backgroundColor: {
|
|
@@ -1020,8 +1018,8 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1020
1018
|
D(function({ matchUtilities: r, theme: e }) {
|
|
1021
1019
|
r(
|
|
1022
1020
|
{
|
|
1023
|
-
"bg-deg-gradient": (
|
|
1024
|
-
"background-image": `linear-gradient(${
|
|
1021
|
+
"bg-deg-gradient": (i) => ({
|
|
1022
|
+
"background-image": `linear-gradient(${i}, var(--tw-gradient-stops))`
|
|
1025
1023
|
})
|
|
1026
1024
|
},
|
|
1027
1025
|
{
|
|
@@ -1030,18 +1028,18 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1030
1028
|
);
|
|
1031
1029
|
})
|
|
1032
1030
|
]
|
|
1033
|
-
}, q = ({ buttonsConfig: r, classes: e, className:
|
|
1034
|
-
var
|
|
1031
|
+
}, q = ({ buttonsConfig: r, classes: e, className: i }) => {
|
|
1032
|
+
var n;
|
|
1035
1033
|
const o = (r == null ? void 0 : r.secondary) && r.secondary.children;
|
|
1036
1034
|
return /* @__PURE__ */ t.jsxs(
|
|
1037
1035
|
"div",
|
|
1038
1036
|
{
|
|
1039
1037
|
"data-id": "banner-buttons-group",
|
|
1040
1038
|
className: a(
|
|
1041
|
-
"grid-buttons-apply absolute bottom-6 flex w-full
|
|
1039
|
+
"grid-buttons-apply absolute bottom-6 flex w-full max-w-[328px] flex-col justify-self-center desktop:static desktop:max-w-full desktop:flex-row desktop:justify-normal",
|
|
1042
1040
|
{ "flex items-center gap-4": o },
|
|
1043
1041
|
e == null ? void 0 : e.group,
|
|
1044
|
-
|
|
1042
|
+
i
|
|
1045
1043
|
),
|
|
1046
1044
|
children: [
|
|
1047
1045
|
/* @__PURE__ */ t.jsx(E, { intent: "primary", ...r.primary, isFull: !0, className: a("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: r.primary.children }),
|
|
@@ -1052,7 +1050,7 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1052
1050
|
...r == null ? void 0 : r.secondary,
|
|
1053
1051
|
isFull: !0,
|
|
1054
1052
|
className: a("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
|
|
1055
|
-
children: (
|
|
1053
|
+
children: (n = r == null ? void 0 : r.secondary) == null ? void 0 : n.children
|
|
1056
1054
|
}
|
|
1057
1055
|
)
|
|
1058
1056
|
]
|
|
@@ -1062,94 +1060,33 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1062
1060
|
"div",
|
|
1063
1061
|
{
|
|
1064
1062
|
className: a(
|
|
1065
|
-
"flex w-[328px] flex-col gap-8 rounded-md bg-color-white shadow-sm
|
|
1063
|
+
"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
1064
|
e == null ? void 0 : e.wrapper
|
|
1067
1065
|
),
|
|
1068
|
-
children: r == null ? void 0 : r.map(({ title:
|
|
1066
|
+
children: r == null ? void 0 : r.map(({ title: i, description: o }) => /* @__PURE__ */ t.jsxs(
|
|
1069
1067
|
"div",
|
|
1070
1068
|
{
|
|
1071
1069
|
className: a(
|
|
1072
|
-
'after:content-[" "] relative flex h-full w-[285px] flex-col gap-2 after:absolute after:h-[1px] after:w-[280px] after:bg-color-blue-grey-300 last:after:hidden
|
|
1070
|
+
'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
1071
|
e == null ? void 0 : e.advantage
|
|
1074
1072
|
),
|
|
1075
1073
|
children: [
|
|
1076
|
-
/* @__PURE__ */ t.jsx(g, { as: "h4", className: a("text-color-dark", e == null ? void 0 : e.title), children:
|
|
1074
|
+
/* @__PURE__ */ t.jsx(g, { as: "h4", className: a("text-color-dark", e == null ? void 0 : e.title), children: i }),
|
|
1077
1075
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.description), children: o })
|
|
1078
1076
|
]
|
|
1079
1077
|
},
|
|
1080
|
-
|
|
1078
|
+
i
|
|
1081
1079
|
))
|
|
1082
1080
|
}
|
|
1083
|
-
),
|
|
1081
|
+
), he = ({
|
|
1084
1082
|
headTitle: r,
|
|
1085
1083
|
subtitle: e,
|
|
1086
|
-
buttonsConfig:
|
|
1084
|
+
buttonsConfig: i,
|
|
1087
1085
|
advantagesList: o,
|
|
1088
|
-
classes:
|
|
1089
|
-
img: d
|
|
1090
|
-
}) => {
|
|
1091
|
-
const l = Object.keys(n).reduce((u, f) => f ? u + 1 : u, 0);
|
|
1092
|
-
return /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: a("relative bg-banner-skyblue-300 pb-6 desktop:h-[456px]", i == null ? void 0 : i.section), children: /* @__PURE__ */ t.jsxs(h, { "data-id": "banner-container", className: a(i == null ? void 0 : i.container), children: [
|
|
1093
|
-
/* @__PURE__ */ t.jsxs(
|
|
1094
|
-
"div",
|
|
1095
|
-
{
|
|
1096
|
-
"data-id": "banner-grid",
|
|
1097
|
-
className: a("grid-mob-apply desktop:grid-desk-apply grid mobile:justify-center", i == null ? void 0 : i.wrapper),
|
|
1098
|
-
children: [
|
|
1099
|
-
/* @__PURE__ */ t.jsxs(
|
|
1100
|
-
"div",
|
|
1101
|
-
{
|
|
1102
|
-
"data-id": "banner-text-block",
|
|
1103
|
-
className: a("grid-text-apply mb-2 flex flex-col gap-4 pt-6 desktop:pb-10 desktop:pt-20", i == null ? void 0 : i.textBlock),
|
|
1104
|
-
children: [
|
|
1105
|
-
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", i == null ? void 0 : i.title), children: r }),
|
|
1106
|
-
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle), children: e })
|
|
1107
|
-
]
|
|
1108
|
-
}
|
|
1109
|
-
),
|
|
1110
|
-
/* @__PURE__ */ t.jsx(q, { buttonsConfig: n, classes: i }),
|
|
1111
|
-
/* @__PURE__ */ t.jsx(
|
|
1112
|
-
"div",
|
|
1113
|
-
{
|
|
1114
|
-
"data-id": "banner-image-wrapper",
|
|
1115
|
-
className: a(
|
|
1116
|
-
"grid-image-apply w-full desktop:h-full desktop:w-[550px]",
|
|
1117
|
-
{ "h-[450px]": l === 2 },
|
|
1118
|
-
{ "h-[410px]": l === 1 },
|
|
1119
|
-
i == null ? void 0 : i.imageContainer
|
|
1120
|
-
),
|
|
1121
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1122
|
-
"img",
|
|
1123
|
-
{
|
|
1124
|
-
"data-id": "banner-image",
|
|
1125
|
-
src: d,
|
|
1126
|
-
alt: "Картинка баннера",
|
|
1127
|
-
className: a("h-full w-full object-contain", i == null ? void 0 : i.image)
|
|
1128
|
-
}
|
|
1129
|
-
)
|
|
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]", i == null ? void 0 : i.advantages),
|
|
1140
|
-
children: o && (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t.jsx(J, { classes: i, advantagesList: o })
|
|
1141
|
-
}
|
|
1142
|
-
)
|
|
1143
|
-
] }) });
|
|
1144
|
-
}, he = ({
|
|
1145
|
-
headTitle: r,
|
|
1146
|
-
subtitle: e,
|
|
1147
|
-
buttonsConfig: n,
|
|
1148
|
-
advantagesList: o,
|
|
1149
|
-
classes: i,
|
|
1086
|
+
classes: n,
|
|
1150
1087
|
img: d,
|
|
1151
1088
|
imgSets: l
|
|
1152
|
-
}) => /* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: a("relative h-[552px] desktop:h-[456px]",
|
|
1089
|
+
}) => /* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: a("relative h-[552px] desktop:h-[456px]", n == null ? void 0 : n.section), children: [
|
|
1153
1090
|
/* @__PURE__ */ t.jsx(
|
|
1154
1091
|
"div",
|
|
1155
1092
|
{
|
|
@@ -1164,20 +1101,20 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1164
1101
|
"data-id": "banner-image",
|
|
1165
1102
|
src: d,
|
|
1166
1103
|
alt: "Картинка баннера",
|
|
1167
|
-
className: a("h-full w-full object-cover object-center",
|
|
1104
|
+
className: a("h-full w-full object-cover object-center", n == null ? void 0 : n.image)
|
|
1168
1105
|
}
|
|
1169
1106
|
)
|
|
1170
1107
|
] })
|
|
1171
1108
|
}
|
|
1172
1109
|
),
|
|
1173
|
-
/* @__PURE__ */ t.jsxs(h, { "data-id": "banner-container", className: a("h-full pb-6",
|
|
1110
|
+
/* @__PURE__ */ t.jsxs(h, { "data-id": "banner-container", className: a("h-full pb-6", n == null ? void 0 : n.container), children: [
|
|
1174
1111
|
/* @__PURE__ */ t.jsxs(
|
|
1175
1112
|
"div",
|
|
1176
1113
|
{
|
|
1177
1114
|
"data-id": "banner-grid",
|
|
1178
1115
|
className: a(
|
|
1179
1116
|
"grid-mob-full-img-apply desktop:grid-desk-full-img-apply grid h-full grid-rows-[repeat(2,_min-content)]",
|
|
1180
|
-
|
|
1117
|
+
n == null ? void 0 : n.wrapper
|
|
1181
1118
|
),
|
|
1182
1119
|
children: [
|
|
1183
1120
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -1185,22 +1122,22 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1185
1122
|
{
|
|
1186
1123
|
"data-id": "banner-text-block",
|
|
1187
1124
|
className: a(
|
|
1188
|
-
"grid-text-apply flex flex-col gap-4 pt-6
|
|
1189
|
-
|
|
1125
|
+
"grid-text-apply flex w-[328px] flex-col gap-4 pt-6 desktop:w-full desktop:pb-10 desktop:pt-20",
|
|
1126
|
+
n == null ? void 0 : n.textBlock
|
|
1190
1127
|
),
|
|
1191
1128
|
children: [
|
|
1192
|
-
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-white",
|
|
1193
|
-
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-white",
|
|
1129
|
+
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-white", n == null ? void 0 : n.title), children: r }),
|
|
1130
|
+
/* @__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 })
|
|
1194
1131
|
]
|
|
1195
1132
|
}
|
|
1196
1133
|
),
|
|
1197
1134
|
/* @__PURE__ */ t.jsx(
|
|
1198
1135
|
q,
|
|
1199
1136
|
{
|
|
1200
|
-
className: "
|
|
1137
|
+
className: "self-end desktop:self-center",
|
|
1201
1138
|
"data-id": "banner-buttons-group",
|
|
1202
|
-
buttonsConfig:
|
|
1203
|
-
classes:
|
|
1139
|
+
buttonsConfig: i,
|
|
1140
|
+
classes: n
|
|
1204
1141
|
}
|
|
1205
1142
|
)
|
|
1206
1143
|
]
|
|
@@ -1210,12 +1147,73 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1210
1147
|
"div",
|
|
1211
1148
|
{
|
|
1212
1149
|
"data-id": "banner-advantages",
|
|
1213
|
-
className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]",
|
|
1150
|
+
className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", n == null ? void 0 : n.advantages),
|
|
1214
1151
|
children: o && (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t.jsx(J, { "data-id": "banner-advantages-list", advantagesList: o })
|
|
1215
1152
|
}
|
|
1216
1153
|
)
|
|
1217
1154
|
] })
|
|
1218
|
-
] }),
|
|
1155
|
+
] }), A = ({
|
|
1156
|
+
headTitle: r,
|
|
1157
|
+
subtitle: e,
|
|
1158
|
+
buttonsConfig: i,
|
|
1159
|
+
advantagesList: o,
|
|
1160
|
+
classes: n,
|
|
1161
|
+
img: d
|
|
1162
|
+
}) => {
|
|
1163
|
+
const l = Object.keys(i).reduce((u, f) => f ? u + 1 : u, 0);
|
|
1164
|
+
return /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: a("relative bg-banner-skyblue-300 pb-6 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(
|
|
1166
|
+
"div",
|
|
1167
|
+
{
|
|
1168
|
+
"data-id": "banner-grid",
|
|
1169
|
+
className: a("grid-mob-apply desktop:grid-desk-apply grid justify-center desktop:justify-normal", n == null ? void 0 : n.wrapper),
|
|
1170
|
+
children: [
|
|
1171
|
+
/* @__PURE__ */ t.jsxs(
|
|
1172
|
+
"div",
|
|
1173
|
+
{
|
|
1174
|
+
"data-id": "banner-text-block",
|
|
1175
|
+
className: a("grid-text-apply mb-2 flex flex-col gap-4 pt-6 desktop:pb-10 desktop:pt-20", n == null ? void 0 : n.textBlock),
|
|
1176
|
+
children: [
|
|
1177
|
+
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: r }),
|
|
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
|
+
}
|
|
1181
|
+
),
|
|
1182
|
+
/* @__PURE__ */ t.jsx(q, { buttonsConfig: i, classes: n }),
|
|
1183
|
+
/* @__PURE__ */ t.jsx(
|
|
1184
|
+
"div",
|
|
1185
|
+
{
|
|
1186
|
+
"data-id": "banner-image-wrapper",
|
|
1187
|
+
className: a(
|
|
1188
|
+
"grid-image-apply w-full desktop:h-full desktop:w-[550px]",
|
|
1189
|
+
{ "h-[450px]": l === 2 },
|
|
1190
|
+
{ "h-[410px]": l === 1 },
|
|
1191
|
+
n == null ? void 0 : n.imageContainer
|
|
1192
|
+
),
|
|
1193
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1194
|
+
"img",
|
|
1195
|
+
{
|
|
1196
|
+
"data-id": "banner-image",
|
|
1197
|
+
src: d,
|
|
1198
|
+
alt: "Картинка баннера",
|
|
1199
|
+
className: a("h-full w-full object-contain", n == null ? void 0 : n.image)
|
|
1200
|
+
}
|
|
1201
|
+
)
|
|
1202
|
+
}
|
|
1203
|
+
)
|
|
1204
|
+
]
|
|
1205
|
+
}
|
|
1206
|
+
),
|
|
1207
|
+
/* @__PURE__ */ t.jsx(
|
|
1208
|
+
"div",
|
|
1209
|
+
{
|
|
1210
|
+
"data-id": "banner-advantages",
|
|
1211
|
+
className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", n == null ? void 0 : n.advantages),
|
|
1212
|
+
children: o && (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t.jsx(J, { classes: n, advantagesList: o })
|
|
1213
|
+
}
|
|
1214
|
+
)
|
|
1215
|
+
] }) });
|
|
1216
|
+
}, He = ({ bannerVariant: r, ...e }) => {
|
|
1219
1217
|
switch (r) {
|
|
1220
1218
|
case "sepatateImg":
|
|
1221
1219
|
return /* @__PURE__ */ t.jsx(A, { ...e });
|
|
@@ -1318,18 +1316,18 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1318
1316
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
1319
1317
|
]
|
|
1320
1318
|
}
|
|
1321
|
-
], ke = ({ socialsLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("mt-6 flex items-center gap-2", e == null ? void 0 : e.socialRoot), children: r == null ? void 0 : r.map(({ iconName:
|
|
1319
|
+
], ke = ({ socialsLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("mt-6 flex items-center gap-2", e == null ? void 0 : e.socialRoot), children: r == null ? void 0 : r.map(({ iconName: i, href: o }) => /* @__PURE__ */ t.jsx(
|
|
1322
1320
|
"a",
|
|
1323
1321
|
{
|
|
1324
1322
|
className: a("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
1325
1323
|
href: o,
|
|
1326
|
-
children: /* @__PURE__ */ t.jsx(m, { name:
|
|
1324
|
+
children: /* @__PURE__ */ t.jsx(m, { name: i, className: a("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1327
1325
|
},
|
|
1328
1326
|
o
|
|
1329
|
-
)) }), Ne = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("flex flex-col items-end gap-4", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone:
|
|
1327
|
+
)) }), Ne = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("flex flex-col items-end gap-4", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone: i, text: o }) => /* @__PURE__ */ t.jsx(
|
|
1330
1328
|
S,
|
|
1331
1329
|
{
|
|
1332
|
-
phone:
|
|
1330
|
+
phone: i,
|
|
1333
1331
|
text: o,
|
|
1334
1332
|
classes: {
|
|
1335
1333
|
wrapper: a(e == null ? void 0 : e.phoneWrapper),
|
|
@@ -1337,10 +1335,10 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1337
1335
|
link: a("text-color-white", e == null ? void 0 : e.phoneLink)
|
|
1338
1336
|
}
|
|
1339
1337
|
},
|
|
1340
|
-
|
|
1341
|
-
)) }), De = ({ navigationLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("grid grid-cols-4 gap-10 border-y border-blue-grey-500 py-8 pt-8", e == null ? void 0 : e.navRoot), children: r == null ? void 0 : r.map(({ groupLabel:
|
|
1342
|
-
/* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m font-medium text-color-white", e == null ? void 0 : e.navLabel), children:
|
|
1343
|
-
/* @__PURE__ */ t.jsx("div", { className: a("flex flex-col gap-2", e == null ? void 0 : e.navWrapper), children: o == null ? void 0 : o.map(({ text:
|
|
1338
|
+
i
|
|
1339
|
+
)) }), De = ({ navigationLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("grid grid-cols-4 gap-10 border-y border-blue-grey-500 py-8 pt-8", e == null ? void 0 : e.navRoot), children: r == null ? void 0 : r.map(({ groupLabel: i, links: o }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
|
|
1340
|
+
/* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m font-medium text-color-white", e == null ? void 0 : e.navLabel), children: i }),
|
|
1341
|
+
/* @__PURE__ */ t.jsx("div", { className: a("flex flex-col gap-2", e == null ? void 0 : e.navWrapper), children: o == null ? void 0 : o.map(({ text: n, href: d }) => /* @__PURE__ */ t.jsx(
|
|
1344
1342
|
"a",
|
|
1345
1343
|
{
|
|
1346
1344
|
href: d,
|
|
@@ -1348,18 +1346,18 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1348
1346
|
"desk-body-regular-m cursor-pointer text-color-white transition-colors hover:text-color-footer",
|
|
1349
1347
|
e == null ? void 0 : e.navLink
|
|
1350
1348
|
),
|
|
1351
|
-
children:
|
|
1349
|
+
children: n
|
|
1352
1350
|
},
|
|
1353
|
-
|
|
1351
|
+
n
|
|
1354
1352
|
)) })
|
|
1355
|
-
] },
|
|
1356
|
-
const [
|
|
1353
|
+
] }, i)) }), _e = ({ ligal: r, classes: e }) => {
|
|
1354
|
+
const [i, o] = s.useState(!1), [n, d] = s.useState(!1), l = s.useRef(null);
|
|
1357
1355
|
return s.useEffect(() => {
|
|
1358
1356
|
const u = l.current;
|
|
1359
1357
|
u && d(u.scrollHeight > u.clientHeight);
|
|
1360
1358
|
}, []), /* @__PURE__ */ t.jsxs("div", { className: a("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
|
|
1361
|
-
/* @__PURE__ */ t.jsx("p", { ref: l, className: a("desk-body-regular-m text-color-footer", { "line-clamp-3": !
|
|
1362
|
-
|
|
1359
|
+
/* @__PURE__ */ t.jsx("p", { ref: l, className: a("desk-body-regular-m text-color-footer", { "line-clamp-3": !i }, e == null ? void 0 : e.ligal), children: r }),
|
|
1360
|
+
n && /* @__PURE__ */ t.jsx(
|
|
1363
1361
|
"div",
|
|
1364
1362
|
{
|
|
1365
1363
|
tabIndex: 0,
|
|
@@ -1376,9 +1374,9 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1376
1374
|
}, Ce = ({ text: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m text-color-footer", e == null ? void 0 : e.text), children: r }), We = ({
|
|
1377
1375
|
withSocial: r = !0,
|
|
1378
1376
|
withPhones: e = !0,
|
|
1379
|
-
withNavLinks:
|
|
1377
|
+
withNavLinks: i = !0,
|
|
1380
1378
|
withLigal: o = !0,
|
|
1381
|
-
withCopyright:
|
|
1379
|
+
withCopyright: n = !0,
|
|
1382
1380
|
withSiteMap: d = !0,
|
|
1383
1381
|
socialsLinks: l = se,
|
|
1384
1382
|
phones: u = we,
|
|
@@ -1394,10 +1392,10 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1394
1392
|
] }),
|
|
1395
1393
|
e && /* @__PURE__ */ t.jsx(Ne, { phones: u, classes: p })
|
|
1396
1394
|
] }),
|
|
1397
|
-
|
|
1395
|
+
i && /* @__PURE__ */ t.jsx(De, { navigationLinks: f, classes: p }),
|
|
1398
1396
|
o && /* @__PURE__ */ t.jsx(_e, { ligal: y, classes: p }),
|
|
1399
1397
|
/* @__PURE__ */ t.jsxs("div", { className: "mt-6 flex items-start justify-between gap-6", children: [
|
|
1400
|
-
|
|
1398
|
+
n && /* @__PURE__ */ t.jsx(Ce, { text: v, classes: p }),
|
|
1401
1399
|
d && /* @__PURE__ */ t.jsx(
|
|
1402
1400
|
"a",
|
|
1403
1401
|
{
|
|
@@ -1414,13 +1412,13 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1414
1412
|
case "withButton":
|
|
1415
1413
|
return /* @__PURE__ */ t.jsx(E, { intent: "secondary", size: "sm", children: "Оформить заявку" });
|
|
1416
1414
|
case "withPhone":
|
|
1417
|
-
const { phone: e, phoneText:
|
|
1418
|
-
return /* @__PURE__ */ t.jsx(S, { phone: e, text:
|
|
1415
|
+
const { phone: e, phoneText: i } = r;
|
|
1416
|
+
return /* @__PURE__ */ t.jsx(S, { phone: e, text: i });
|
|
1419
1417
|
default:
|
|
1420
1418
|
return null;
|
|
1421
1419
|
}
|
|
1422
1420
|
}, Xe = (r) => {
|
|
1423
|
-
const { logoPath: e = "/", logoType:
|
|
1421
|
+
const { logoPath: e = "/", logoType: i = "main" } = r;
|
|
1424
1422
|
return /* @__PURE__ */ t.jsx("header", { className: "flex h-[72px] items-center justify-center bg-color-blue-grey-200", children: /* @__PURE__ */ t.jsx(h, { children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-between gap-5", children: [
|
|
1425
1423
|
/* @__PURE__ */ t.jsx(
|
|
1426
1424
|
"a",
|
|
@@ -1428,17 +1426,17 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1428
1426
|
href: e,
|
|
1429
1427
|
target: "_blank",
|
|
1430
1428
|
rel: "noreferrer",
|
|
1431
|
-
className: "flex items-center justify-center [&_svg]:h-[32px] [&_svg]:w-[192px]",
|
|
1432
|
-
children: me[
|
|
1429
|
+
className: "flex items-center justify-center [&_svg]:w-[114px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1430
|
+
children: me[i]
|
|
1433
1431
|
}
|
|
1434
1432
|
),
|
|
1435
1433
|
Ee(r)
|
|
1436
1434
|
] }) }) });
|
|
1437
|
-
}, Te = ({ title: r, description: e, index:
|
|
1435
|
+
}, Te = ({ title: r, description: e, index: i, classes: o }) => /* @__PURE__ */ t.jsxs(
|
|
1438
1436
|
"div",
|
|
1439
1437
|
{
|
|
1440
1438
|
className: a(
|
|
1441
|
-
"
|
|
1439
|
+
"border-color-blue-grey-500 flex w-[328px] max-w-[328px] flex-col gap-6 rounded-md border border-solid p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
|
|
1442
1440
|
o == null ? void 0 : o.singleStep
|
|
1443
1441
|
),
|
|
1444
1442
|
children: [
|
|
@@ -1449,7 +1447,7 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1449
1447
|
"mob-headline-bold-s flex size-10 items-center justify-center rounded-sm bg-color-blue-grey-500 text-color-white desktop:desk-title-bold-l desktop:size-12",
|
|
1450
1448
|
o == null ? void 0 : o.numeric
|
|
1451
1449
|
),
|
|
1452
|
-
children:
|
|
1450
|
+
children: i
|
|
1453
1451
|
}
|
|
1454
1452
|
),
|
|
1455
1453
|
/* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4", o == null ? void 0 : o.textBlock), children: [
|
|
@@ -1458,16 +1456,16 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1458
1456
|
] })
|
|
1459
1457
|
]
|
|
1460
1458
|
}
|
|
1461
|
-
), qe = ({ heading: r, stepsList: e, classes:
|
|
1462
|
-
/* @__PURE__ */ t.jsx(g, { as: "h2", className: a("text-color-dark",
|
|
1459
|
+
), qe = ({ heading: r, stepsList: e, classes: i }) => /* @__PURE__ */ t.jsx(R, { children: /* @__PURE__ */ t.jsx(h, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-12", i == null ? void 0 : i.root), children: [
|
|
1460
|
+
/* @__PURE__ */ t.jsx(g, { as: "h2", className: a("text-color-dark", i == null ? void 0 : i.headline), children: r }),
|
|
1463
1461
|
/* @__PURE__ */ t.jsx(
|
|
1464
1462
|
"div",
|
|
1465
1463
|
{
|
|
1466
1464
|
className: a(
|
|
1467
1465
|
"flex flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1468
|
-
|
|
1466
|
+
i == null ? void 0 : i.stepsWrapper
|
|
1469
1467
|
),
|
|
1470
|
-
children: e == null ? void 0 : e.map((o,
|
|
1468
|
+
children: e == null ? void 0 : e.map((o, n) => /* @__PURE__ */ t.jsx(Te, { index: n + 1, ...o, classes: i }, o.title))
|
|
1471
1469
|
}
|
|
1472
1470
|
)
|
|
1473
1471
|
] }) }) });
|
|
@@ -1475,6 +1473,7 @@ export {
|
|
|
1475
1473
|
J as Advantages,
|
|
1476
1474
|
Ke as Badge,
|
|
1477
1475
|
He as Banner,
|
|
1476
|
+
A as BannerWithSeparateImg,
|
|
1478
1477
|
Le as Breadcrumbs,
|
|
1479
1478
|
E as Button,
|
|
1480
1479
|
Re as ButtonIcon,
|