@scbt-ecom/ui 0.7.2 → 0.7.4
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/Notification-B1J5kH7h.js +11626 -0
- package/dist/Notification-B1J5kH7h.js.map +1 -0
- package/dist/client.js +9148 -12048
- package/dist/client.js.map +1 -1
- package/dist/hybrid.d.ts +1 -0
- package/dist/hybrid.js +542 -388
- 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/dist/widgets/index.d.ts +1 -0
- package/dist/widgets/longBanner/index.d.ts +1 -1
- package/dist/widgets/pageHeader/PageHeader.d.ts +11 -0
- package/package.json +1 -1
- package/dist/Notification-BjaLuRjD.js +0 -8693
- package/dist/Notification-BjaLuRjD.js.map +0 -1
package/dist/hybrid.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { B as
|
|
3
|
-
import * as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
const
|
|
1
|
+
import { p as z, j as t, c as a, H as h, a as u, I as x, L as Y, z as c, i as ee, g as L, P as te } from "./Notification-B1J5kH7h.js";
|
|
2
|
+
import { B as dt, D as lt, d as pt, N as mt, b as ut } from "./Notification-B1J5kH7h.js";
|
|
3
|
+
import * as v from "react";
|
|
4
|
+
import { forwardRef as R } 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("-"), Me = (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 }), 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 }), re = 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
|
+
}), oe = u("grid", {
|
|
13
13
|
variants: {
|
|
14
14
|
columnCount: {
|
|
15
15
|
twoColumns: "",
|
|
@@ -42,7 +42,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
42
42
|
class: "grid-cols-[repeat(3,_auto)]"
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
|
-
}),
|
|
45
|
+
}), ne = u("grid", {
|
|
46
46
|
variants: {
|
|
47
47
|
columnCount: {
|
|
48
48
|
twoColumns: "",
|
|
@@ -55,7 +55,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
55
55
|
class: "overflow-x-scroll max-w-[368px] mb-1"
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
|
-
}),
|
|
58
|
+
}), ie = 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,34 +73,34 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
73
73
|
class: "border-transparent border-0 p-0"
|
|
74
74
|
}
|
|
75
75
|
]
|
|
76
|
-
}),
|
|
77
|
-
headTitle:
|
|
76
|
+
}), $e = ({
|
|
77
|
+
headTitle: o,
|
|
78
78
|
tableRows: e,
|
|
79
79
|
tableHead: i,
|
|
80
|
-
additionalText:
|
|
80
|
+
additionalText: r,
|
|
81
81
|
columnCount: n,
|
|
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(h, { 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(ne({ columnCount: n }), d == null ? void 0 : d.tableBody), children: [
|
|
88
|
+
/* @__PURE__ */ t.jsx("ul", { className: a(re({ 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(
|
|
92
92
|
"mob-body-regular-l border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l",
|
|
93
93
|
d == null ? void 0 : d.tableTitleRow
|
|
94
94
|
),
|
|
95
|
-
children:
|
|
95
|
+
children: m
|
|
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((
|
|
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(oe({ columnCount: n, titlesExist: l }), d == null ? void 0 : d.tableBodyRow), children: m.map((y, s) => /* @__PURE__ */ t.jsx("p", { className: a(ie({ titlesExist: l, columnCount: n }), d == null ? void 0 : d.tableBodyCeil), children: y.text }, s)) }, f)) })
|
|
100
100
|
] }),
|
|
101
|
-
/* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-m desktop:desk-body-regular-l", d == null ? void 0 : d.tableAdditionalText), children:
|
|
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
|
+
}, Ue = ({ 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 Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
122
122
|
}
|
|
123
123
|
),
|
|
124
124
|
/* @__PURE__ */ t.jsx(
|
|
125
|
-
|
|
125
|
+
x,
|
|
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,8 +130,8 @@ 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 }) })) }),
|
|
134
|
-
switch (
|
|
133
|
+
) : /* @__PURE__ */ t.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }), ae = (o) => {
|
|
134
|
+
switch (o) {
|
|
135
135
|
case "ghost":
|
|
136
136
|
case "secondary":
|
|
137
137
|
return "secondary";
|
|
@@ -139,9 +139,9 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
139
139
|
case "negative":
|
|
140
140
|
return "primary";
|
|
141
141
|
default:
|
|
142
|
-
return
|
|
142
|
+
return o;
|
|
143
143
|
}
|
|
144
|
-
},
|
|
144
|
+
}, de = 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: {
|
|
@@ -199,36 +199,36 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
199
199
|
isFull: !1
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
),
|
|
202
|
+
), j = R(
|
|
203
203
|
({
|
|
204
|
-
intent:
|
|
204
|
+
intent: o,
|
|
205
205
|
size: e,
|
|
206
206
|
className: i,
|
|
207
|
-
children:
|
|
207
|
+
children: r,
|
|
208
208
|
type: n = "button",
|
|
209
209
|
iconLeft: d,
|
|
210
210
|
iconRight: l,
|
|
211
|
-
disabled:
|
|
211
|
+
disabled: m = !1,
|
|
212
212
|
isLoading: f = !1,
|
|
213
213
|
isFull: y = !1,
|
|
214
|
-
textFormat:
|
|
214
|
+
textFormat: s,
|
|
215
215
|
...p
|
|
216
|
-
},
|
|
216
|
+
}, K) => /* @__PURE__ */ t.jsx(
|
|
217
217
|
"button",
|
|
218
218
|
{
|
|
219
|
-
ref:
|
|
219
|
+
ref: K,
|
|
220
220
|
type: n,
|
|
221
|
-
disabled:
|
|
222
|
-
className: a(
|
|
221
|
+
disabled: m || f,
|
|
222
|
+
className: a(de({ intent: o, size: e, textFormat: s, isLoading: f, isFull: y }), i),
|
|
223
223
|
...p,
|
|
224
|
-
children: f ? /* @__PURE__ */ t.jsx(
|
|
224
|
+
children: f ? /* @__PURE__ */ t.jsx(Y, { size: "sm", intent: ae(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
|
+
), le = 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 Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
248
248
|
size: "lg"
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
),
|
|
252
|
-
({ size:
|
|
253
|
-
),
|
|
251
|
+
), He = 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(le({ 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
|
+
), pe = 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 Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
278
278
|
size: "sm"
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
),
|
|
281
|
+
), me = 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,19 +293,19 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
293
293
|
intent: "blue",
|
|
294
294
|
disabled: !1
|
|
295
295
|
}
|
|
296
|
-
}),
|
|
297
|
-
Component:
|
|
296
|
+
}), Ge = ({
|
|
297
|
+
Component: o = "a",
|
|
298
298
|
intent: e,
|
|
299
299
|
children: i,
|
|
300
|
-
withIcon:
|
|
300
|
+
withIcon: r,
|
|
301
301
|
disabled: n,
|
|
302
302
|
size: d,
|
|
303
303
|
icon: l = "arrows/arrowLink",
|
|
304
|
-
...
|
|
305
|
-
}) => /* @__PURE__ */ t.jsxs(
|
|
304
|
+
...m
|
|
305
|
+
}) => /* @__PURE__ */ t.jsxs(o, { className: a(pe({ intent: e, withIcon: r, disabled: n, size: d })), ...m, children: [
|
|
306
306
|
i,
|
|
307
|
-
|
|
308
|
-
] }),
|
|
307
|
+
r && /* @__PURE__ */ t.jsx(x, { name: l, className: a(me({ intent: e, disabled: n })) })
|
|
308
|
+
] }), ue = 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,13 +315,13 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
315
315
|
defaultVariants: {
|
|
316
316
|
intent: "outline"
|
|
317
317
|
}
|
|
318
|
-
}),
|
|
318
|
+
}), xe = {
|
|
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(
|
|
322
322
|
"a",
|
|
323
323
|
{
|
|
324
|
-
href:
|
|
324
|
+
href: r,
|
|
325
325
|
target: "_blank",
|
|
326
326
|
rel: "noreferrer",
|
|
327
327
|
tabIndex: 0,
|
|
@@ -329,9 +329,9 @@ 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(
|
|
332
|
+
/* @__PURE__ */ t.jsx(x, { name: xe[n], className: a(ue({ intent: n })) }),
|
|
333
333
|
/* @__PURE__ */ t.jsxs("div", { className: a("flex flex-1 flex-col"), children: [
|
|
334
|
-
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-medium-l text-color-dark"), children:
|
|
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: [
|
|
336
336
|
e,
|
|
337
337
|
" ",
|
|
@@ -340,11 +340,11 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
340
340
|
] })
|
|
341
341
|
]
|
|
342
342
|
}
|
|
343
|
-
),
|
|
344
|
-
/* @__PURE__ */ t.jsx("a", { href: `tel:${
|
|
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
|
+
/* @__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
|
-
] }),
|
|
347
|
-
|
|
346
|
+
] }), We = ({ 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
|
+
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(
|
|
350
350
|
"div",
|
|
@@ -356,28 +356,28 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
356
356
|
/* @__PURE__ */ t.jsx(
|
|
357
357
|
"span",
|
|
358
358
|
{
|
|
359
|
-
style: { maxWidth: `${
|
|
359
|
+
style: { maxWidth: `${r}%` },
|
|
360
360
|
className: a(
|
|
361
|
-
"progressBar-apply absolute top-1/2
|
|
361
|
+
"progressBar-apply z-1 absolute top-1/2 h-full w-full -translate-y-1/2 animate-progress-loader rounded-md",
|
|
362
362
|
n == null ? void 0 : n.loader
|
|
363
363
|
)
|
|
364
364
|
}
|
|
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
|
+
] }), Xe = ({ className: o }) => /* @__PURE__ */ t.jsx("div", { className: a("skeleton-apply h-full w-full", o) }), fe = {
|
|
369
|
+
main: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoMain" }),
|
|
370
|
+
white: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoWhite" }),
|
|
371
|
+
gray: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoGray" }),
|
|
372
|
+
black: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoBlack" }),
|
|
373
|
+
business: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoBusiness" }),
|
|
374
|
+
insurance: /* @__PURE__ */ t.jsx(x, { name: "brandLogos/logoInsurance" })
|
|
375
375
|
}, w = {
|
|
376
376
|
transparent: "transparent",
|
|
377
377
|
current: "currentColor",
|
|
378
378
|
inherit: "inherit",
|
|
379
379
|
initial: "initial"
|
|
380
|
-
},
|
|
380
|
+
}, N = {
|
|
381
381
|
"blue-grey-100": "#f3f4f7",
|
|
382
382
|
"blue-grey-200": "#eaedf1",
|
|
383
383
|
"blue-grey-300": "#d4dbe2",
|
|
@@ -406,7 +406,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
406
406
|
"purple-hover": "#52399d",
|
|
407
407
|
overlay: "#0000004d",
|
|
408
408
|
...w
|
|
409
|
-
},
|
|
409
|
+
}, P = {
|
|
410
410
|
dark: "#292929",
|
|
411
411
|
disabled: "#a9b6c5",
|
|
412
412
|
footer: "#c3c3c3",
|
|
@@ -421,7 +421,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
421
421
|
"primary-disabled": "#809bc7",
|
|
422
422
|
"blue-grey-600": "#94a4b7",
|
|
423
423
|
...w
|
|
424
|
-
},
|
|
424
|
+
}, O = {
|
|
425
425
|
"barvcray-200": "#ebeef4",
|
|
426
426
|
"barvcray-300": "#dde1e8",
|
|
427
427
|
"greymint-200": "#deecee",
|
|
@@ -461,7 +461,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
461
461
|
"primary-disabled": "#809bc7",
|
|
462
462
|
footer: "#C3C3C3",
|
|
463
463
|
...w
|
|
464
|
-
},
|
|
464
|
+
}, I = {
|
|
465
465
|
"blue-grey-500": "#a9b6c5",
|
|
466
466
|
"blue-grey-700": "#69809a",
|
|
467
467
|
"blue-grey-800": "#5a6e85",
|
|
@@ -480,20 +480,20 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
480
480
|
white: "#ffffff",
|
|
481
481
|
"primary-disabled": "#809bc7",
|
|
482
482
|
...w
|
|
483
|
-
},
|
|
483
|
+
}, M = {
|
|
484
484
|
none: "0",
|
|
485
485
|
sm: "4px",
|
|
486
486
|
md: "8px",
|
|
487
487
|
lg: "16px",
|
|
488
488
|
full: "9999px"
|
|
489
|
-
},
|
|
489
|
+
}, $ = {
|
|
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
|
+
}, ce = {
|
|
497
497
|
0: "0",
|
|
498
498
|
1: "1",
|
|
499
499
|
10: "10",
|
|
@@ -503,7 +503,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
503
503
|
250: "250",
|
|
504
504
|
500: "500",
|
|
505
505
|
1e3: "1000"
|
|
506
|
-
},
|
|
506
|
+
}, U = {
|
|
507
507
|
12: "12px",
|
|
508
508
|
14: "14px",
|
|
509
509
|
16: "16px",
|
|
@@ -513,7 +513,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
513
513
|
28: "28px",
|
|
514
514
|
32: "32px",
|
|
515
515
|
40: "40px"
|
|
516
|
-
},
|
|
516
|
+
}, H = {
|
|
517
517
|
16: "16px",
|
|
518
518
|
20: "20px",
|
|
519
519
|
22: "22px",
|
|
@@ -581,7 +581,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
581
581
|
".desk-body-regular-s": {
|
|
582
582
|
"@apply font-normal text-12 leading-16": ""
|
|
583
583
|
}
|
|
584
|
-
},
|
|
584
|
+
}, be = /^[\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: "Максимальная длина символов должна быть не более",
|
|
@@ -592,108 +592,108 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
592
592
|
INVALID_VALUE: "Поле заполнено некорректно",
|
|
593
593
|
INVALID_DATE: "Введите корректную дату",
|
|
594
594
|
FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
|
|
595
|
-
},
|
|
596
|
-
const e =
|
|
595
|
+
}, B = (o) => {
|
|
596
|
+
const e = o.trim().replace(/\s+/g, " ").split(" "), [i, r, ...n] = e, d = n == null ? void 0 : n.join(" ");
|
|
597
597
|
return {
|
|
598
598
|
surname: i,
|
|
599
|
-
name:
|
|
599
|
+
name: r,
|
|
600
600
|
patronymic: d
|
|
601
601
|
};
|
|
602
|
-
},
|
|
603
|
-
|
|
604
|
-
code:
|
|
602
|
+
}, qe = c.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((o, e) => {
|
|
603
|
+
be.test(o) || e.addIssue({
|
|
604
|
+
code: c.ZodIssueCode.custom,
|
|
605
605
|
message: "Должна быть только кириллица"
|
|
606
606
|
});
|
|
607
|
-
const { surname: i, name:
|
|
608
|
-
(!i || !
|
|
609
|
-
code:
|
|
607
|
+
const { surname: i, name: r, patronymic: n } = B(o);
|
|
608
|
+
(!i || !r) && e.addIssue({
|
|
609
|
+
code: c.ZodIssueCode.custom,
|
|
610
610
|
message: "Введите имя и фамилию"
|
|
611
|
-
}), T.test(
|
|
612
|
-
code:
|
|
611
|
+
}), T.test(r) || e.addIssue({
|
|
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
|
-
}).transform((
|
|
622
|
-
const { surname: e, name: i, patronymic:
|
|
621
|
+
}).transform((o) => {
|
|
622
|
+
const { surname: e, name: i, patronymic: r } = B(o);
|
|
623
623
|
return {
|
|
624
|
-
surname:
|
|
625
|
-
name:
|
|
626
|
-
patronymic:
|
|
624
|
+
surname: C(e),
|
|
625
|
+
name: C(i),
|
|
626
|
+
patronymic: r ? C(r) : void 0
|
|
627
627
|
};
|
|
628
|
-
}),
|
|
629
|
-
const [i,
|
|
628
|
+
}), Je = c.string().length(10, { message: k.INVALID_DATE }).superRefine((o, e) => {
|
|
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:
|
|
632
|
-
message:
|
|
633
|
-
}),
|
|
634
|
-
code:
|
|
635
|
-
message:
|
|
631
|
+
code: c.ZodIssueCode.custom,
|
|
632
|
+
message: k.INVALID_DATE
|
|
633
|
+
}), ee(d) || e.addIssue({
|
|
634
|
+
code: c.ZodIssueCode.custom,
|
|
635
|
+
message: k.INVALID_DATE
|
|
636
636
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
637
|
-
code:
|
|
638
|
-
message:
|
|
637
|
+
code: c.ZodIssueCode.custom,
|
|
638
|
+
message: k.FUTURE_DATE_NOT_ALLOWED
|
|
639
639
|
});
|
|
640
640
|
});
|
|
641
|
-
var Z = {},
|
|
642
|
-
(function(
|
|
643
|
-
Object.defineProperty(
|
|
641
|
+
var Z = {}, W = {};
|
|
642
|
+
(function(o) {
|
|
643
|
+
Object.defineProperty(o, "__esModule", {
|
|
644
644
|
value: !0
|
|
645
|
-
}), Object.defineProperty(
|
|
645
|
+
}), Object.defineProperty(o, "default", {
|
|
646
646
|
enumerable: !0,
|
|
647
647
|
get: function() {
|
|
648
648
|
return i;
|
|
649
649
|
}
|
|
650
650
|
});
|
|
651
|
-
function e(
|
|
651
|
+
function e(r, n) {
|
|
652
652
|
return {
|
|
653
|
-
handler:
|
|
653
|
+
handler: r,
|
|
654
654
|
config: n
|
|
655
655
|
};
|
|
656
656
|
}
|
|
657
|
-
e.withOptions = function(
|
|
657
|
+
e.withOptions = function(r, n = () => ({})) {
|
|
658
658
|
const d = function(l) {
|
|
659
659
|
return {
|
|
660
660
|
__options: l,
|
|
661
|
-
handler:
|
|
661
|
+
handler: r(l),
|
|
662
662
|
config: n(l)
|
|
663
663
|
};
|
|
664
664
|
};
|
|
665
|
-
return d.__isOptionsFunction = !0, d.__pluginFunction =
|
|
665
|
+
return d.__isOptionsFunction = !0, d.__pluginFunction = r, d.__configFunction = n, d;
|
|
666
666
|
};
|
|
667
667
|
const i = e;
|
|
668
|
-
})(
|
|
669
|
-
(function(
|
|
670
|
-
Object.defineProperty(
|
|
668
|
+
})(W);
|
|
669
|
+
(function(o) {
|
|
670
|
+
Object.defineProperty(o, "__esModule", {
|
|
671
671
|
value: !0
|
|
672
|
-
}), Object.defineProperty(
|
|
672
|
+
}), Object.defineProperty(o, "default", {
|
|
673
673
|
enumerable: !0,
|
|
674
674
|
get: function() {
|
|
675
|
-
return
|
|
675
|
+
return r;
|
|
676
676
|
}
|
|
677
677
|
});
|
|
678
|
-
const e = /* @__PURE__ */ i(
|
|
678
|
+
const e = /* @__PURE__ */ i(W);
|
|
679
679
|
function i(n) {
|
|
680
680
|
return n && n.__esModule ? n : {
|
|
681
681
|
default: n
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
|
-
const
|
|
684
|
+
const r = e.default;
|
|
685
685
|
})(Z);
|
|
686
|
-
let
|
|
687
|
-
var
|
|
688
|
-
const D = /* @__PURE__ */
|
|
689
|
-
function F(
|
|
686
|
+
let _ = Z;
|
|
687
|
+
var X = (_.__esModule ? _ : { default: _ }).default;
|
|
688
|
+
const D = /* @__PURE__ */ L(X), he = X;
|
|
689
|
+
function F(o) {
|
|
690
690
|
return Object.fromEntries(
|
|
691
|
-
Object.entries(
|
|
691
|
+
Object.entries(o).filter(([e]) => e !== "DEFAULT")
|
|
692
692
|
);
|
|
693
693
|
}
|
|
694
|
-
var
|
|
695
|
-
({ addUtilities:
|
|
696
|
-
|
|
694
|
+
var ye = he(
|
|
695
|
+
({ addUtilities: o, matchUtilities: e, theme: i }) => {
|
|
696
|
+
o({
|
|
697
697
|
"@keyframes enter": i("keyframes.enter"),
|
|
698
698
|
"@keyframes exit": i("keyframes.exit"),
|
|
699
699
|
".animate-in": {
|
|
@@ -716,85 +716,85 @@ var ge = be(
|
|
|
716
716
|
}
|
|
717
717
|
}), e(
|
|
718
718
|
{
|
|
719
|
-
"fade-in": (
|
|
720
|
-
"fade-out": (
|
|
719
|
+
"fade-in": (r) => ({ "--tw-enter-opacity": r }),
|
|
720
|
+
"fade-out": (r) => ({ "--tw-exit-opacity": r })
|
|
721
721
|
},
|
|
722
722
|
{ values: i("animationOpacity") }
|
|
723
723
|
), e(
|
|
724
724
|
{
|
|
725
|
-
"zoom-in": (
|
|
726
|
-
"zoom-out": (
|
|
725
|
+
"zoom-in": (r) => ({ "--tw-enter-scale": r }),
|
|
726
|
+
"zoom-out": (r) => ({ "--tw-exit-scale": r })
|
|
727
727
|
},
|
|
728
728
|
{ values: i("animationScale") }
|
|
729
729
|
), e(
|
|
730
730
|
{
|
|
731
|
-
"spin-in": (
|
|
732
|
-
"spin-out": (
|
|
731
|
+
"spin-in": (r) => ({ "--tw-enter-rotate": r }),
|
|
732
|
+
"spin-out": (r) => ({ "--tw-exit-rotate": r })
|
|
733
733
|
},
|
|
734
734
|
{ values: i("animationRotate") }
|
|
735
735
|
), e(
|
|
736
736
|
{
|
|
737
|
-
"slide-in-from-top": (
|
|
738
|
-
"--tw-enter-translate-y": `-${
|
|
737
|
+
"slide-in-from-top": (r) => ({
|
|
738
|
+
"--tw-enter-translate-y": `-${r}`
|
|
739
739
|
}),
|
|
740
|
-
"slide-in-from-bottom": (
|
|
741
|
-
"--tw-enter-translate-y":
|
|
740
|
+
"slide-in-from-bottom": (r) => ({
|
|
741
|
+
"--tw-enter-translate-y": r
|
|
742
742
|
}),
|
|
743
|
-
"slide-in-from-left": (
|
|
744
|
-
"--tw-enter-translate-x": `-${
|
|
743
|
+
"slide-in-from-left": (r) => ({
|
|
744
|
+
"--tw-enter-translate-x": `-${r}`
|
|
745
745
|
}),
|
|
746
|
-
"slide-in-from-right": (
|
|
747
|
-
"--tw-enter-translate-x":
|
|
746
|
+
"slide-in-from-right": (r) => ({
|
|
747
|
+
"--tw-enter-translate-x": r
|
|
748
748
|
}),
|
|
749
|
-
"slide-out-to-top": (
|
|
750
|
-
"--tw-exit-translate-y": `-${
|
|
749
|
+
"slide-out-to-top": (r) => ({
|
|
750
|
+
"--tw-exit-translate-y": `-${r}`
|
|
751
751
|
}),
|
|
752
|
-
"slide-out-to-bottom": (
|
|
753
|
-
"--tw-exit-translate-y":
|
|
752
|
+
"slide-out-to-bottom": (r) => ({
|
|
753
|
+
"--tw-exit-translate-y": r
|
|
754
754
|
}),
|
|
755
|
-
"slide-out-to-left": (
|
|
756
|
-
"--tw-exit-translate-x": `-${
|
|
755
|
+
"slide-out-to-left": (r) => ({
|
|
756
|
+
"--tw-exit-translate-x": `-${r}`
|
|
757
757
|
}),
|
|
758
|
-
"slide-out-to-right": (
|
|
759
|
-
"--tw-exit-translate-x":
|
|
758
|
+
"slide-out-to-right": (r) => ({
|
|
759
|
+
"--tw-exit-translate-x": r
|
|
760
760
|
})
|
|
761
761
|
},
|
|
762
762
|
{ values: i("animationTranslate") }
|
|
763
763
|
), e(
|
|
764
|
-
{ duration: (
|
|
764
|
+
{ duration: (r) => ({ animationDuration: r }) },
|
|
765
765
|
{ values: F(i("animationDuration")) }
|
|
766
766
|
), e(
|
|
767
|
-
{ delay: (
|
|
767
|
+
{ delay: (r) => ({ animationDelay: r }) },
|
|
768
768
|
{ values: i("animationDelay") }
|
|
769
769
|
), e(
|
|
770
|
-
{ ease: (
|
|
770
|
+
{ ease: (r) => ({ animationTimingFunction: r }) },
|
|
771
771
|
{ values: F(i("animationTimingFunction")) }
|
|
772
|
-
),
|
|
772
|
+
), o({
|
|
773
773
|
".running": { animationPlayState: "running" },
|
|
774
774
|
".paused": { animationPlayState: "paused" }
|
|
775
775
|
}), e(
|
|
776
|
-
{ "fill-mode": (
|
|
776
|
+
{ "fill-mode": (r) => ({ animationFillMode: r }) },
|
|
777
777
|
{ values: i("animationFillMode") }
|
|
778
778
|
), e(
|
|
779
|
-
{ direction: (
|
|
779
|
+
{ direction: (r) => ({ animationDirection: r }) },
|
|
780
780
|
{ values: i("animationDirection") }
|
|
781
781
|
), e(
|
|
782
|
-
{ repeat: (
|
|
782
|
+
{ repeat: (r) => ({ animationIterationCount: r }) },
|
|
783
783
|
{ values: i("animationRepeat") }
|
|
784
784
|
);
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
787
|
theme: {
|
|
788
788
|
extend: {
|
|
789
|
-
animationDelay: ({ theme:
|
|
790
|
-
...
|
|
789
|
+
animationDelay: ({ theme: o }) => ({
|
|
790
|
+
...o("transitionDelay")
|
|
791
791
|
}),
|
|
792
|
-
animationDuration: ({ theme:
|
|
792
|
+
animationDuration: ({ theme: o }) => ({
|
|
793
793
|
0: "0ms",
|
|
794
|
-
...
|
|
794
|
+
...o("transitionDuration")
|
|
795
795
|
}),
|
|
796
|
-
animationTimingFunction: ({ theme:
|
|
797
|
-
...
|
|
796
|
+
animationTimingFunction: ({ theme: o }) => ({
|
|
797
|
+
...o("transitionTimingFunction")
|
|
798
798
|
}),
|
|
799
799
|
animationFillMode: {
|
|
800
800
|
none: "none",
|
|
@@ -808,21 +808,21 @@ var ge = be(
|
|
|
808
808
|
alternate: "alternate",
|
|
809
809
|
"alternate-reverse": "alternate-reverse"
|
|
810
810
|
},
|
|
811
|
-
animationOpacity: ({ theme:
|
|
811
|
+
animationOpacity: ({ theme: o }) => ({
|
|
812
812
|
DEFAULT: 0,
|
|
813
|
-
...
|
|
813
|
+
...o("opacity")
|
|
814
814
|
}),
|
|
815
|
-
animationTranslate: ({ theme:
|
|
815
|
+
animationTranslate: ({ theme: o }) => ({
|
|
816
816
|
DEFAULT: "100%",
|
|
817
|
-
...
|
|
817
|
+
...o("translate")
|
|
818
818
|
}),
|
|
819
|
-
animationScale: ({ theme:
|
|
819
|
+
animationScale: ({ theme: o }) => ({
|
|
820
820
|
DEFAULT: 0,
|
|
821
|
-
...
|
|
821
|
+
...o("scale")
|
|
822
822
|
}),
|
|
823
|
-
animationRotate: ({ theme:
|
|
823
|
+
animationRotate: ({ theme: o }) => ({
|
|
824
824
|
DEFAULT: "30deg",
|
|
825
|
-
...
|
|
825
|
+
...o("rotate")
|
|
826
826
|
}),
|
|
827
827
|
animationRepeat: {
|
|
828
828
|
0: "0",
|
|
@@ -847,37 +847,36 @@ var ge = be(
|
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
849
|
);
|
|
850
|
-
const
|
|
850
|
+
const q = /* @__PURE__ */ L(ye), Qe = {
|
|
851
851
|
theme: {
|
|
852
852
|
screens: {
|
|
853
|
-
mobile: "1187px",
|
|
854
853
|
desktop: "1188px"
|
|
855
854
|
},
|
|
856
855
|
backgroundColor: {
|
|
857
|
-
color:
|
|
858
|
-
banner:
|
|
856
|
+
color: N,
|
|
857
|
+
banner: O,
|
|
859
858
|
icon: b
|
|
860
859
|
},
|
|
861
860
|
textColor: {
|
|
862
861
|
icon: b,
|
|
863
|
-
color:
|
|
862
|
+
color: P
|
|
864
863
|
},
|
|
865
864
|
fill: b,
|
|
866
865
|
stroke: b,
|
|
867
|
-
borderColor:
|
|
868
|
-
outlineColor:
|
|
869
|
-
borderRadius:
|
|
866
|
+
borderColor: I,
|
|
867
|
+
outlineColor: I,
|
|
868
|
+
borderRadius: M,
|
|
870
869
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
871
|
-
fontSize:
|
|
872
|
-
lineHeight:
|
|
873
|
-
gradientColorStops:
|
|
870
|
+
fontSize: U,
|
|
871
|
+
lineHeight: H,
|
|
872
|
+
gradientColorStops: N,
|
|
874
873
|
boxShadow: {
|
|
875
874
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
876
875
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
877
876
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
878
877
|
},
|
|
879
878
|
extend: {
|
|
880
|
-
bgGradientDeg:
|
|
879
|
+
bgGradientDeg: $,
|
|
881
880
|
width: {
|
|
882
881
|
"popper-content": "var(--radix-popover-content-available-width)",
|
|
883
882
|
"popper-trigger": "var(--radix-popover-trigger-width)",
|
|
@@ -921,12 +920,12 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
921
920
|
}
|
|
922
921
|
},
|
|
923
922
|
plugins: [
|
|
924
|
-
|
|
925
|
-
D(({ addComponents:
|
|
926
|
-
|
|
923
|
+
q,
|
|
924
|
+
D(({ addComponents: o }) => {
|
|
925
|
+
o(G);
|
|
927
926
|
}),
|
|
928
|
-
D(function({ matchUtilities:
|
|
929
|
-
|
|
927
|
+
D(function({ matchUtilities: o, theme: e }) {
|
|
928
|
+
o(
|
|
930
929
|
{
|
|
931
930
|
"bg-deg-gradient": (i) => ({
|
|
932
931
|
"background-image": `linear-gradient(${i}, var(--tw-gradient-stops))`
|
|
@@ -938,7 +937,7 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
938
937
|
);
|
|
939
938
|
})
|
|
940
939
|
]
|
|
941
|
-
},
|
|
940
|
+
}, Ke = {
|
|
942
941
|
theme: {
|
|
943
942
|
extend: {
|
|
944
943
|
transitionDuration: {
|
|
@@ -978,46 +977,46 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
978
977
|
}
|
|
979
978
|
}
|
|
980
979
|
}
|
|
981
|
-
},
|
|
980
|
+
}, Ye = {
|
|
982
981
|
theme: {
|
|
983
982
|
screens: {
|
|
984
983
|
desktop: "1188px"
|
|
985
984
|
},
|
|
986
985
|
backgroundColor: {
|
|
987
|
-
color:
|
|
988
|
-
banner:
|
|
986
|
+
color: N,
|
|
987
|
+
banner: O,
|
|
989
988
|
icon: b
|
|
990
989
|
},
|
|
991
990
|
textColor: {
|
|
992
991
|
icon: b,
|
|
993
|
-
color:
|
|
992
|
+
color: P
|
|
994
993
|
},
|
|
995
994
|
fill: b,
|
|
996
995
|
stroke: b,
|
|
997
|
-
borderColor:
|
|
998
|
-
outlineColor:
|
|
999
|
-
borderRadius:
|
|
996
|
+
borderColor: I,
|
|
997
|
+
outlineColor: I,
|
|
998
|
+
borderRadius: M,
|
|
1000
999
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
1001
|
-
fontSize:
|
|
1002
|
-
lineHeight:
|
|
1003
|
-
gradientColorStops:
|
|
1000
|
+
fontSize: U,
|
|
1001
|
+
lineHeight: H,
|
|
1002
|
+
gradientColorStops: N,
|
|
1004
1003
|
boxShadow: {
|
|
1005
1004
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
1006
1005
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
1007
1006
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
1008
1007
|
},
|
|
1009
|
-
zIndex:
|
|
1008
|
+
zIndex: ce,
|
|
1010
1009
|
extend: {
|
|
1011
|
-
bgGradientDeg:
|
|
1010
|
+
bgGradientDeg: $
|
|
1012
1011
|
}
|
|
1013
1012
|
},
|
|
1014
1013
|
plugins: [
|
|
1015
|
-
|
|
1016
|
-
D(({ addComponents:
|
|
1017
|
-
|
|
1014
|
+
q,
|
|
1015
|
+
D(({ addComponents: o }) => {
|
|
1016
|
+
o(G);
|
|
1018
1017
|
}),
|
|
1019
|
-
D(function({ matchUtilities:
|
|
1020
|
-
|
|
1018
|
+
D(function({ matchUtilities: o, theme: e }) {
|
|
1019
|
+
o(
|
|
1021
1020
|
{
|
|
1022
1021
|
"bg-deg-gradient": (i) => ({
|
|
1023
1022
|
"background-image": `linear-gradient(${i}, var(--tw-gradient-stops))`
|
|
@@ -1029,42 +1028,42 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1029
1028
|
);
|
|
1030
1029
|
})
|
|
1031
1030
|
]
|
|
1032
|
-
},
|
|
1031
|
+
}, J = ({ buttonsConfig: o, classes: e, className: i }) => {
|
|
1033
1032
|
var n;
|
|
1034
|
-
const
|
|
1033
|
+
const r = (o == null ? void 0 : o.secondary) && o.secondary.children;
|
|
1035
1034
|
return /* @__PURE__ */ t.jsxs(
|
|
1036
1035
|
"div",
|
|
1037
1036
|
{
|
|
1038
1037
|
"data-id": "banner-buttons-group",
|
|
1039
1038
|
className: a(
|
|
1040
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",
|
|
1041
|
-
{ "flex items-center gap-4":
|
|
1040
|
+
{ "flex items-center gap-4": r },
|
|
1042
1041
|
e == null ? void 0 : e.group,
|
|
1043
1042
|
i
|
|
1044
1043
|
),
|
|
1045
1044
|
children: [
|
|
1046
|
-
/* @__PURE__ */ t.jsx(
|
|
1047
|
-
|
|
1048
|
-
|
|
1045
|
+
/* @__PURE__ */ t.jsx(j, { intent: "primary", ...o.primary, isFull: !0, className: a("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: o.primary.children }),
|
|
1046
|
+
r && /* @__PURE__ */ t.jsx(
|
|
1047
|
+
j,
|
|
1049
1048
|
{
|
|
1050
1049
|
intent: "secondary",
|
|
1051
|
-
...
|
|
1050
|
+
...o == null ? void 0 : o.secondary,
|
|
1052
1051
|
isFull: !0,
|
|
1053
1052
|
className: a("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
|
|
1054
|
-
children: (n =
|
|
1053
|
+
children: (n = o == null ? void 0 : o.secondary) == null ? void 0 : n.children
|
|
1055
1054
|
}
|
|
1056
1055
|
)
|
|
1057
1056
|
]
|
|
1058
1057
|
}
|
|
1059
1058
|
);
|
|
1060
|
-
},
|
|
1059
|
+
}, Q = ({ advantagesList: o, classes: e }) => /* @__PURE__ */ t.jsx(
|
|
1061
1060
|
"div",
|
|
1062
1061
|
{
|
|
1063
1062
|
className: a(
|
|
1064
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",
|
|
1065
1064
|
e == null ? void 0 : e.wrapper
|
|
1066
1065
|
),
|
|
1067
|
-
children:
|
|
1066
|
+
children: o == null ? void 0 : o.map(({ title: i, description: r }) => /* @__PURE__ */ t.jsxs(
|
|
1068
1067
|
"div",
|
|
1069
1068
|
{
|
|
1070
1069
|
className: a(
|
|
@@ -1072,79 +1071,18 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1072
1071
|
e == null ? void 0 : e.advantage
|
|
1073
1072
|
),
|
|
1074
1073
|
children: [
|
|
1075
|
-
/* @__PURE__ */ t.jsx(
|
|
1076
|
-
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.description), children:
|
|
1074
|
+
/* @__PURE__ */ t.jsx(h, { as: "h4", className: a("text-color-dark", e == null ? void 0 : e.title), children: i }),
|
|
1075
|
+
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.description), children: r })
|
|
1077
1076
|
]
|
|
1078
1077
|
},
|
|
1079
1078
|
i
|
|
1080
1079
|
))
|
|
1081
1080
|
}
|
|
1082
|
-
),
|
|
1083
|
-
headTitle:
|
|
1081
|
+
), se = ({
|
|
1082
|
+
headTitle: o,
|
|
1084
1083
|
subtitle: e,
|
|
1085
1084
|
buttonsConfig: i,
|
|
1086
|
-
advantagesList:
|
|
1087
|
-
classes: n,
|
|
1088
|
-
img: d
|
|
1089
|
-
}) => {
|
|
1090
|
-
const l = Object.keys(i).reduce((u, f) => f ? u + 1 : u, 0);
|
|
1091
|
-
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: [
|
|
1092
|
-
/* @__PURE__ */ t.jsxs(
|
|
1093
|
-
"div",
|
|
1094
|
-
{
|
|
1095
|
-
"data-id": "banner-grid",
|
|
1096
|
-
className: a("grid-mob-apply desktop:grid-desk-apply grid justify-center desktop:justify-normal", n == null ? void 0 : n.wrapper),
|
|
1097
|
-
children: [
|
|
1098
|
-
/* @__PURE__ */ t.jsxs(
|
|
1099
|
-
"div",
|
|
1100
|
-
{
|
|
1101
|
-
"data-id": "banner-text-block",
|
|
1102
|
-
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),
|
|
1103
|
-
children: [
|
|
1104
|
-
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: r }),
|
|
1105
|
-
/* @__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 })
|
|
1106
|
-
]
|
|
1107
|
-
}
|
|
1108
|
-
),
|
|
1109
|
-
/* @__PURE__ */ t.jsx(q, { buttonsConfig: i, classes: n }),
|
|
1110
|
-
/* @__PURE__ */ t.jsx(
|
|
1111
|
-
"div",
|
|
1112
|
-
{
|
|
1113
|
-
"data-id": "banner-image-wrapper",
|
|
1114
|
-
className: a(
|
|
1115
|
-
"grid-image-apply w-full desktop:h-full desktop:w-[550px]",
|
|
1116
|
-
{ "h-[450px]": l === 2 },
|
|
1117
|
-
{ "h-[410px]": l === 1 },
|
|
1118
|
-
n == null ? void 0 : n.imageContainer
|
|
1119
|
-
),
|
|
1120
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1121
|
-
"img",
|
|
1122
|
-
{
|
|
1123
|
-
"data-id": "banner-image",
|
|
1124
|
-
src: d,
|
|
1125
|
-
alt: "Картинка баннера",
|
|
1126
|
-
className: a("h-full w-full object-contain", n == null ? void 0 : n.image)
|
|
1127
|
-
}
|
|
1128
|
-
)
|
|
1129
|
-
}
|
|
1130
|
-
)
|
|
1131
|
-
]
|
|
1132
|
-
}
|
|
1133
|
-
),
|
|
1134
|
-
/* @__PURE__ */ t.jsx(
|
|
1135
|
-
"div",
|
|
1136
|
-
{
|
|
1137
|
-
"data-id": "banner-advantages",
|
|
1138
|
-
className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", n == null ? void 0 : n.advantages),
|
|
1139
|
-
children: o && (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t.jsx(J, { classes: n, advantagesList: o })
|
|
1140
|
-
}
|
|
1141
|
-
)
|
|
1142
|
-
] }) });
|
|
1143
|
-
}, he = ({
|
|
1144
|
-
headTitle: r,
|
|
1145
|
-
subtitle: e,
|
|
1146
|
-
buttonsConfig: i,
|
|
1147
|
-
advantagesList: o,
|
|
1085
|
+
advantagesList: r,
|
|
1148
1086
|
classes: n,
|
|
1149
1087
|
img: d,
|
|
1150
1088
|
imgSets: l
|
|
@@ -1169,7 +1107,7 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1169
1107
|
] })
|
|
1170
1108
|
}
|
|
1171
1109
|
),
|
|
1172
|
-
/* @__PURE__ */ t.jsxs(
|
|
1110
|
+
/* @__PURE__ */ t.jsxs(g, { "data-id": "banner-container", className: a("h-full pb-6", n == null ? void 0 : n.container), children: [
|
|
1173
1111
|
/* @__PURE__ */ t.jsxs(
|
|
1174
1112
|
"div",
|
|
1175
1113
|
{
|
|
@@ -1188,13 +1126,13 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1188
1126
|
n == null ? void 0 : n.textBlock
|
|
1189
1127
|
),
|
|
1190
1128
|
children: [
|
|
1191
|
-
/* @__PURE__ */ t.jsx(
|
|
1129
|
+
/* @__PURE__ */ t.jsx(h, { "data-id": "banner-title", as: "h1", className: a("text-color-white", n == null ? void 0 : n.title), children: o }),
|
|
1192
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 })
|
|
1193
1131
|
]
|
|
1194
1132
|
}
|
|
1195
1133
|
),
|
|
1196
1134
|
/* @__PURE__ */ t.jsx(
|
|
1197
|
-
|
|
1135
|
+
J,
|
|
1198
1136
|
{
|
|
1199
1137
|
className: "self-end desktop:self-center",
|
|
1200
1138
|
"data-id": "banner-buttons-group",
|
|
@@ -1210,20 +1148,81 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1210
1148
|
{
|
|
1211
1149
|
"data-id": "banner-advantages",
|
|
1212
1150
|
className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", n == null ? void 0 : n.advantages),
|
|
1213
|
-
children:
|
|
1151
|
+
children: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(Q, { "data-id": "banner-advantages-list", advantagesList: r })
|
|
1214
1152
|
}
|
|
1215
1153
|
)
|
|
1216
1154
|
] })
|
|
1217
|
-
] }),
|
|
1218
|
-
|
|
1155
|
+
] }), A = ({
|
|
1156
|
+
headTitle: o,
|
|
1157
|
+
subtitle: e,
|
|
1158
|
+
buttonsConfig: i,
|
|
1159
|
+
advantagesList: r,
|
|
1160
|
+
classes: n,
|
|
1161
|
+
img: d
|
|
1162
|
+
}) => {
|
|
1163
|
+
const l = Object.keys(i).reduce((m, f) => f ? m + 1 : m, 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(g, { "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(h, { "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
|
+
}
|
|
1181
|
+
),
|
|
1182
|
+
/* @__PURE__ */ t.jsx(J, { 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: r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ t.jsx(Q, { classes: n, advantagesList: r })
|
|
1213
|
+
}
|
|
1214
|
+
)
|
|
1215
|
+
] }) });
|
|
1216
|
+
}, et = ({ bannerVariant: o, ...e }) => {
|
|
1217
|
+
switch (o) {
|
|
1219
1218
|
case "sepatateImg":
|
|
1220
1219
|
return /* @__PURE__ */ t.jsx(A, { ...e });
|
|
1221
1220
|
case "fullImg":
|
|
1222
|
-
return /* @__PURE__ */ t.jsx(
|
|
1221
|
+
return /* @__PURE__ */ t.jsx(se, { ...e });
|
|
1223
1222
|
default:
|
|
1224
1223
|
return /* @__PURE__ */ t.jsx(A, { ...e });
|
|
1225
1224
|
}
|
|
1226
|
-
},
|
|
1225
|
+
}, we = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1227
1226
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
1228
1227
|
/* @__PURE__ */ t.jsx("br", {}),
|
|
1229
1228
|
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
@@ -1233,14 +1232,14 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1233
1232
|
Банке. Банк вправе отказать в предоставлении кредита без объяснения причины, а также запросить дополнительную информацию о
|
|
1234
1233
|
клиенте. Предварительное одобрение не влечет обязательств Банка по выдаче кредита. В некоторых случаях срок рассмотрения
|
|
1235
1234
|
заявки может составлять до 3 рабочих дней. Полный электронный документооборот при наличии открытого р/с в ПАО «Совкомбанк»
|
|
1236
|
-
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`,
|
|
1235
|
+
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`, ke = [
|
|
1237
1236
|
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
1238
1237
|
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
1239
|
-
],
|
|
1238
|
+
], je = [
|
|
1240
1239
|
{ iconName: "social/vk", href: "/vk" },
|
|
1241
1240
|
{ iconName: "social/telegram", href: "/tg" },
|
|
1242
1241
|
{ iconName: "social/classmates", href: "/cl" }
|
|
1243
|
-
],
|
|
1242
|
+
], Ne = [
|
|
1244
1243
|
{
|
|
1245
1244
|
groupLabel: "Совкомбанк",
|
|
1246
1245
|
links: [
|
|
@@ -1317,19 +1316,19 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1317
1316
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
1318
1317
|
]
|
|
1319
1318
|
}
|
|
1320
|
-
],
|
|
1319
|
+
], Ie = ({ 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(
|
|
1321
1320
|
"a",
|
|
1322
1321
|
{
|
|
1323
1322
|
className: a("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
1324
|
-
href:
|
|
1325
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1323
|
+
href: r,
|
|
1324
|
+
children: /* @__PURE__ */ t.jsx(x, { name: i, className: a("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1326
1325
|
},
|
|
1327
|
-
|
|
1328
|
-
)) }),
|
|
1329
|
-
|
|
1326
|
+
r
|
|
1327
|
+
)) }), De = ({ 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(
|
|
1328
|
+
V,
|
|
1330
1329
|
{
|
|
1331
1330
|
phone: i,
|
|
1332
|
-
text:
|
|
1331
|
+
text: r,
|
|
1333
1332
|
classes: {
|
|
1334
1333
|
wrapper: a(e == null ? void 0 : e.phoneWrapper),
|
|
1335
1334
|
text: a("text-color-footer", e == null ? void 0 : e.phoneText),
|
|
@@ -1337,9 +1336,9 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1337
1336
|
}
|
|
1338
1337
|
},
|
|
1339
1338
|
i
|
|
1340
|
-
)) }),
|
|
1339
|
+
)) }), Ce = ({ 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: [
|
|
1341
1340
|
/* @__PURE__ */ t.jsx("div", { className: a("desk-body-regular-m font-medium text-color-white", e == null ? void 0 : e.navLabel), children: i }),
|
|
1342
|
-
/* @__PURE__ */ t.jsx("div", { className: a("flex flex-col gap-2", e == null ? void 0 : e.navWrapper), children:
|
|
1341
|
+
/* @__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(
|
|
1343
1342
|
"a",
|
|
1344
1343
|
{
|
|
1345
1344
|
href: d,
|
|
@@ -1351,19 +1350,19 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1351
1350
|
},
|
|
1352
1351
|
n
|
|
1353
1352
|
)) })
|
|
1354
|
-
] }, i)) }), _e = ({ ligal:
|
|
1355
|
-
const [i,
|
|
1356
|
-
return
|
|
1357
|
-
const
|
|
1358
|
-
|
|
1353
|
+
] }, i)) }), _e = ({ ligal: o, classes: e }) => {
|
|
1354
|
+
const [i, r] = v.useState(!1), [n, d] = v.useState(!1), l = v.useRef(null);
|
|
1355
|
+
return v.useEffect(() => {
|
|
1356
|
+
const m = l.current;
|
|
1357
|
+
m && d(m.scrollHeight > m.clientHeight);
|
|
1359
1358
|
}, []), /* @__PURE__ */ t.jsxs("div", { className: a("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
|
|
1360
|
-
/* @__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:
|
|
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: o }),
|
|
1361
1360
|
n && /* @__PURE__ */ t.jsx(
|
|
1362
1361
|
"div",
|
|
1363
1362
|
{
|
|
1364
1363
|
tabIndex: 0,
|
|
1365
1364
|
role: "button",
|
|
1366
|
-
onClick: () =>
|
|
1365
|
+
onClick: () => r((m) => !m),
|
|
1367
1366
|
className: a(
|
|
1368
1367
|
"desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
|
|
1369
1368
|
e == null ? void 0 : e.ligalButton
|
|
@@ -1372,31 +1371,31 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1372
1371
|
}
|
|
1373
1372
|
)
|
|
1374
1373
|
] });
|
|
1375
|
-
},
|
|
1376
|
-
withSocial:
|
|
1374
|
+
}, Ee = ({ 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 }), tt = ({
|
|
1375
|
+
withSocial: o = !0,
|
|
1377
1376
|
withPhones: e = !0,
|
|
1378
1377
|
withNavLinks: i = !0,
|
|
1379
|
-
withLigal:
|
|
1378
|
+
withLigal: r = !0,
|
|
1380
1379
|
withCopyright: n = !0,
|
|
1381
1380
|
withSiteMap: d = !0,
|
|
1382
|
-
socialsLinks: l =
|
|
1383
|
-
phones:
|
|
1384
|
-
navigationLinks: f =
|
|
1381
|
+
socialsLinks: l = je,
|
|
1382
|
+
phones: m = ke,
|
|
1383
|
+
navigationLinks: f = Ne,
|
|
1385
1384
|
ligal: y = ve,
|
|
1386
|
-
copyright:
|
|
1385
|
+
copyright: s = we,
|
|
1387
1386
|
classes: p
|
|
1388
|
-
}) => /* @__PURE__ */ t.jsx(
|
|
1387
|
+
}) => /* @__PURE__ */ t.jsx(S, { 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: [
|
|
1389
1388
|
/* @__PURE__ */ t.jsxs("div", { className: a("mb-8 flex items-center justify-between gap-6", p == null ? void 0 : p.footerHead), children: [
|
|
1390
1389
|
/* @__PURE__ */ t.jsxs("div", { className: a(p == null ? void 0 : p.footerSocialBlock), children: [
|
|
1391
|
-
/* @__PURE__ */ t.jsx("a", { href: "/", className: a(p == null ? void 0 : p.footerLogo), children: /* @__PURE__ */ t.jsx(
|
|
1392
|
-
|
|
1390
|
+
/* @__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]" }) }),
|
|
1391
|
+
o && /* @__PURE__ */ t.jsx(Ie, { socialsLinks: l, classes: p })
|
|
1393
1392
|
] }),
|
|
1394
|
-
e && /* @__PURE__ */ t.jsx(
|
|
1393
|
+
e && /* @__PURE__ */ t.jsx(De, { phones: m, classes: p })
|
|
1395
1394
|
] }),
|
|
1396
|
-
i && /* @__PURE__ */ t.jsx(
|
|
1397
|
-
|
|
1395
|
+
i && /* @__PURE__ */ t.jsx(Ce, { navigationLinks: f, classes: p }),
|
|
1396
|
+
r && /* @__PURE__ */ t.jsx(_e, { ligal: y, classes: p }),
|
|
1398
1397
|
/* @__PURE__ */ t.jsxs("div", { className: "mt-6 flex items-start justify-between gap-6", children: [
|
|
1399
|
-
n && /* @__PURE__ */ t.jsx(
|
|
1398
|
+
n && /* @__PURE__ */ t.jsx(Ee, { text: s, classes: p }),
|
|
1400
1399
|
d && /* @__PURE__ */ t.jsx(
|
|
1401
1400
|
"a",
|
|
1402
1401
|
{
|
|
@@ -1408,37 +1407,52 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1408
1407
|
}
|
|
1409
1408
|
)
|
|
1410
1409
|
] })
|
|
1411
|
-
] }) }) }),
|
|
1412
|
-
|
|
1410
|
+
] }) }) }), Te = (o) => {
|
|
1411
|
+
var e, i, r, n;
|
|
1412
|
+
switch (o.variant) {
|
|
1413
1413
|
case "withButton":
|
|
1414
|
-
return /* @__PURE__ */ t.jsx(
|
|
1414
|
+
return /* @__PURE__ */ t.jsx(j, { intent: "secondary", size: "sm", className: (e = o.classes) == null ? void 0 : e.button, children: "Оформить заявку" });
|
|
1415
1415
|
case "withPhone":
|
|
1416
|
-
const { phone:
|
|
1417
|
-
return /* @__PURE__ */ t.jsx(
|
|
1416
|
+
const { phone: d, phoneText: l } = o;
|
|
1417
|
+
return /* @__PURE__ */ t.jsx(
|
|
1418
|
+
V,
|
|
1419
|
+
{
|
|
1420
|
+
phone: d,
|
|
1421
|
+
text: l,
|
|
1422
|
+
classes: {
|
|
1423
|
+
wrapper: (i = o.classes) == null ? void 0 : i.phoneWrapper,
|
|
1424
|
+
text: (r = o.classes) == null ? void 0 : r.phoneText,
|
|
1425
|
+
link: (n = o.classes) == null ? void 0 : n.phoneLink
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
);
|
|
1418
1429
|
default:
|
|
1419
1430
|
return null;
|
|
1420
1431
|
}
|
|
1421
|
-
},
|
|
1422
|
-
const { logoPath: e = "/", logoType: i = "main" } =
|
|
1423
|
-
return /* @__PURE__ */ t.jsx("header", { className: "flex h-[72px] items-center justify-center bg-color-
|
|
1432
|
+
}, rt = (o) => {
|
|
1433
|
+
const { logoPath: e = "/", logoType: i = "main", classes: r } = o;
|
|
1434
|
+
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: [
|
|
1424
1435
|
/* @__PURE__ */ t.jsx(
|
|
1425
1436
|
"a",
|
|
1426
1437
|
{
|
|
1427
1438
|
href: e,
|
|
1428
1439
|
target: "_blank",
|
|
1429
1440
|
rel: "noreferrer",
|
|
1430
|
-
className:
|
|
1431
|
-
|
|
1441
|
+
className: a(
|
|
1442
|
+
"flex items-center justify-center [&_svg]:w-[114px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1443
|
+
r == null ? void 0 : r.logo
|
|
1444
|
+
),
|
|
1445
|
+
children: fe[i]
|
|
1432
1446
|
}
|
|
1433
1447
|
),
|
|
1434
|
-
|
|
1448
|
+
Te(o)
|
|
1435
1449
|
] }) }) });
|
|
1436
|
-
},
|
|
1450
|
+
}, Be = ({ title: o, description: e, index: i, classes: r }) => /* @__PURE__ */ t.jsxs(
|
|
1437
1451
|
"div",
|
|
1438
1452
|
{
|
|
1439
1453
|
className: a(
|
|
1440
1454
|
"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",
|
|
1441
|
-
|
|
1455
|
+
r == null ? void 0 : r.singleStep
|
|
1442
1456
|
),
|
|
1443
1457
|
children: [
|
|
1444
1458
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1446,19 +1460,19 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1446
1460
|
{
|
|
1447
1461
|
className: a(
|
|
1448
1462
|
"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",
|
|
1449
|
-
|
|
1463
|
+
r == null ? void 0 : r.numeric
|
|
1450
1464
|
),
|
|
1451
1465
|
children: i
|
|
1452
1466
|
}
|
|
1453
1467
|
),
|
|
1454
|
-
/* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4",
|
|
1455
|
-
/* @__PURE__ */ t.jsx(
|
|
1456
|
-
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary",
|
|
1468
|
+
/* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-4", r == null ? void 0 : r.textBlock), children: [
|
|
1469
|
+
/* @__PURE__ */ t.jsx(h, { as: "h4", className: a("text-color-dark", r == null ? void 0 : r.title), children: o }),
|
|
1470
|
+
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description), children: e })
|
|
1457
1471
|
] })
|
|
1458
1472
|
]
|
|
1459
1473
|
}
|
|
1460
|
-
),
|
|
1461
|
-
/* @__PURE__ */ t.jsx(
|
|
1474
|
+
), ot = ({ heading: o, stepsList: e, classes: i }) => /* @__PURE__ */ t.jsx(S, { children: /* @__PURE__ */ t.jsx(g, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col gap-12", i == null ? void 0 : i.root), children: [
|
|
1475
|
+
/* @__PURE__ */ t.jsx(h, { as: "h2", className: a("text-color-dark", i == null ? void 0 : i.headline), children: o }),
|
|
1462
1476
|
/* @__PURE__ */ t.jsx(
|
|
1463
1477
|
"div",
|
|
1464
1478
|
{
|
|
@@ -1466,58 +1480,198 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1466
1480
|
"flex flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1467
1481
|
i == null ? void 0 : i.stepsWrapper
|
|
1468
1482
|
),
|
|
1469
|
-
children: e == null ? void 0 : e.map((
|
|
1483
|
+
children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(Be, { index: n + 1, ...r, classes: i }, r.title))
|
|
1470
1484
|
}
|
|
1471
1485
|
)
|
|
1472
|
-
] }) }) })
|
|
1486
|
+
] }) }) }), Fe = u("desktop:block", {
|
|
1487
|
+
variants: {
|
|
1488
|
+
intent: {
|
|
1489
|
+
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
1490
|
+
fourItems: "mob-title-bold-l desktop:desk-title-bold-l mb-8"
|
|
1491
|
+
},
|
|
1492
|
+
desktopHidden: {
|
|
1493
|
+
true: "desktop:hidden"
|
|
1494
|
+
},
|
|
1495
|
+
mobileHidden: {
|
|
1496
|
+
true: "hidden"
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
defaultVariants: {
|
|
1500
|
+
intent: "twoItems"
|
|
1501
|
+
}
|
|
1502
|
+
}), Ae = u("", {
|
|
1503
|
+
variants: {
|
|
1504
|
+
intent: {
|
|
1505
|
+
twoItems: "",
|
|
1506
|
+
fourItems: ""
|
|
1507
|
+
},
|
|
1508
|
+
withButton: {
|
|
1509
|
+
true: ""
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
compoundVariants: [
|
|
1513
|
+
{
|
|
1514
|
+
intent: "twoItems",
|
|
1515
|
+
withButton: !0,
|
|
1516
|
+
class: "mb-8 desktop:flex"
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
intent: "twoItems",
|
|
1520
|
+
withButton: !1,
|
|
1521
|
+
class: "desktop:flex"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
intent: "fourItems",
|
|
1525
|
+
withButton: !0,
|
|
1526
|
+
class: "desktop:grid grid-rows-2 mb-8 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
intent: "fourItems",
|
|
1530
|
+
withButton: !1,
|
|
1531
|
+
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1532
|
+
}
|
|
1533
|
+
]
|
|
1534
|
+
}), ze = u("border-blue-grey-500 pb-6 mb-6 border-b last:pb-0 last:mb-0", {
|
|
1535
|
+
variants: {
|
|
1536
|
+
intent: {
|
|
1537
|
+
twoItems: "last:border-none desktop:border-b-0 desktop:ml-8 desktop:border-r desktop:pr-8 desktop:first:ml-0 desktop:last:pr-0 desktop:pb-3 desktop:first:w-[292px]",
|
|
1538
|
+
fourItems: "last:border-none desktop:w-[264px] desktop:odd:border-b desktop:pb-0 desktop:odd:pb-3"
|
|
1539
|
+
}
|
|
1540
|
+
},
|
|
1541
|
+
defaultVariants: {
|
|
1542
|
+
intent: "twoItems"
|
|
1543
|
+
}
|
|
1544
|
+
}), Le = u("mx-auto desktop:m-0 mb-8 h-[172px] w-[280px]", {
|
|
1545
|
+
variants: {
|
|
1546
|
+
intent: {
|
|
1547
|
+
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
1548
|
+
fourItems: " "
|
|
1549
|
+
},
|
|
1550
|
+
withButton: {
|
|
1551
|
+
true: !0,
|
|
1552
|
+
false: !1
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
defaultVariants: {
|
|
1556
|
+
intent: "twoItems"
|
|
1557
|
+
},
|
|
1558
|
+
compoundVariants: [
|
|
1559
|
+
{
|
|
1560
|
+
intent: "fourItems",
|
|
1561
|
+
withButton: !0,
|
|
1562
|
+
class: "desktop:h-[360px] desktop:w-[500px]"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
intent: "fourItems",
|
|
1566
|
+
withButton: !1,
|
|
1567
|
+
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1568
|
+
}
|
|
1569
|
+
]
|
|
1570
|
+
}), Re = ({ data: o, intent: e }) => {
|
|
1571
|
+
const { title: i, description: r, popoverText: n } = o;
|
|
1572
|
+
return /* @__PURE__ */ t.jsx("li", { className: a(ze({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { children: [
|
|
1573
|
+
/* @__PURE__ */ t.jsxs("div", { className: a("mb-2 flex items-center gap-2"), children: [
|
|
1574
|
+
/* @__PURE__ */ t.jsx("h4", { className: a("mob-title-bold-m text-color-dark"), children: i }),
|
|
1575
|
+
n && /* @__PURE__ */ t.jsx(te, { triggerElement: /* @__PURE__ */ t.jsx(x, { className: a("size-4 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
|
|
1576
|
+
] }),
|
|
1577
|
+
/* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-l text-color-secondary"), children: r })
|
|
1578
|
+
] }) });
|
|
1579
|
+
}, E = ({ intent: o, title: e, desktopHidden: i = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: a(Fe({ intent: o, desktopHidden: i, mobileHidden: r })), children: e }), Se = ({ textContent: o, intent: e, withButton: i }) => /* @__PURE__ */ t.jsx("ul", { className: a(Ae({ intent: e, withButton: i })), children: o == null ? void 0 : o.map((r, n) => /* @__PURE__ */ t.jsx(Re, { intent: e, data: r }, n)) }), nt = ({
|
|
1580
|
+
title: o,
|
|
1581
|
+
buttonConfig: e,
|
|
1582
|
+
intent: i = "twoItems",
|
|
1583
|
+
textContent: r,
|
|
1584
|
+
imageComponent: n,
|
|
1585
|
+
classes: d
|
|
1586
|
+
}) => {
|
|
1587
|
+
const l = !!e, m = i === "fourItems", f = i === "twoItems";
|
|
1588
|
+
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: [
|
|
1589
|
+
f && /* @__PURE__ */ t.jsx(E, { intent: i, title: o }),
|
|
1590
|
+
/* @__PURE__ */ t.jsxs(
|
|
1591
|
+
"div",
|
|
1592
|
+
{
|
|
1593
|
+
className: a(
|
|
1594
|
+
"bg-banner-skyblue-100 px-6 pb-8 pt-6 desktop:flex desktop:flex-row-reverse desktop:justify-between desktop:px-0 desktop:py-0 desktop:pl-12",
|
|
1595
|
+
d == null ? void 0 : d.contentContainer
|
|
1596
|
+
),
|
|
1597
|
+
children: [
|
|
1598
|
+
m && /* @__PURE__ */ t.jsx(E, { intent: i, title: o, desktopHidden: !0 }),
|
|
1599
|
+
/* @__PURE__ */ t.jsx("div", { className: a(Le({ intent: i, withButton: l }), d == null ? void 0 : d.imgContainer), children: n }),
|
|
1600
|
+
/* @__PURE__ */ t.jsxs(
|
|
1601
|
+
"div",
|
|
1602
|
+
{
|
|
1603
|
+
className: a("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1604
|
+
children: [
|
|
1605
|
+
m && /* @__PURE__ */ t.jsx(E, { intent: i, title: o, mobileHidden: !0 }),
|
|
1606
|
+
/* @__PURE__ */ t.jsx(Se, { textContent: r, intent: i, withButton: l }),
|
|
1607
|
+
l && /* @__PURE__ */ t.jsx(
|
|
1608
|
+
j,
|
|
1609
|
+
{
|
|
1610
|
+
className: a("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
|
|
1611
|
+
size: "lg",
|
|
1612
|
+
onClick: e.onClick,
|
|
1613
|
+
intent: "secondary",
|
|
1614
|
+
children: e.text
|
|
1615
|
+
}
|
|
1616
|
+
)
|
|
1617
|
+
]
|
|
1618
|
+
}
|
|
1619
|
+
)
|
|
1620
|
+
]
|
|
1621
|
+
}
|
|
1622
|
+
)
|
|
1623
|
+
] }) });
|
|
1624
|
+
};
|
|
1473
1625
|
export {
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1626
|
+
Q as Advantages,
|
|
1627
|
+
dt as Badge,
|
|
1628
|
+
et as Banner,
|
|
1629
|
+
A as BannerWithSeparateImg,
|
|
1630
|
+
Ue as Breadcrumbs,
|
|
1631
|
+
j as Button,
|
|
1632
|
+
He as ButtonIcon,
|
|
1633
|
+
Ge as CustomLink,
|
|
1634
|
+
lt as DADATA_BASE_CACHE_URL,
|
|
1635
|
+
pt as DADATA_BASE_CONSTANTS_URL,
|
|
1636
|
+
Ze as Document,
|
|
1637
|
+
tt as Footer,
|
|
1638
|
+
h as Heading,
|
|
1639
|
+
x as Icon,
|
|
1640
|
+
Y as Loader,
|
|
1641
|
+
nt as LongBanner,
|
|
1642
|
+
mt as Notification,
|
|
1643
|
+
rt as PageHeader,
|
|
1644
|
+
V as PhoneView,
|
|
1645
|
+
We as ProgressBar,
|
|
1646
|
+
g as ResponsiveContainer,
|
|
1493
1647
|
T as RgxCheckForHyphen,
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1648
|
+
ge as RgxPatronymic,
|
|
1649
|
+
be as RgxUnicode,
|
|
1650
|
+
S as Section,
|
|
1651
|
+
Xe as Skeleton,
|
|
1652
|
+
ot as Stepper,
|
|
1653
|
+
$e as Table,
|
|
1654
|
+
k as VALIDATION_MESSAGES,
|
|
1655
|
+
N as allowedBackgroundColors,
|
|
1656
|
+
$ as allowedBackgroundDeg,
|
|
1657
|
+
O as allowedBannersBackgroundColors,
|
|
1658
|
+
M as allowedBorderRadius,
|
|
1659
|
+
U as allowedFontSize,
|
|
1506
1660
|
b as allowedIconsColors,
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1661
|
+
H as allowedLineHeight,
|
|
1662
|
+
I as allowedStrokeColors,
|
|
1663
|
+
P as allowedTextColors,
|
|
1510
1664
|
G as allowedTextStyles,
|
|
1511
|
-
|
|
1512
|
-
|
|
1665
|
+
ce as allowedZIndex,
|
|
1666
|
+
C as capitalize,
|
|
1513
1667
|
a as cn,
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1668
|
+
Oe as deepCompare,
|
|
1669
|
+
Ke as extendsPreset,
|
|
1670
|
+
Me as formatToDate,
|
|
1671
|
+
ut as isClient,
|
|
1672
|
+
Ye as resetPreset,
|
|
1673
|
+
Qe as tailwindConfigBase,
|
|
1674
|
+
Je as zodCalendarValidate,
|
|
1675
|
+
qe as zodDadataFioValidate
|
|
1522
1676
|
};
|
|
1523
1677
|
//# sourceMappingURL=hybrid.js.map
|