@scbt-ecom/ui 0.14.1 → 0.15.1
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 +7041 -7026
- package/dist/client.js.map +1 -1
- package/dist/hybrid.d.ts +1 -0
- package/dist/hybrid.js +453 -419
- package/dist/hybrid.js.map +1 -1
- package/dist/{index-BJGvyDqg.js → index-CexXWplL.js} +22 -2
- package/dist/index-CexXWplL.js.map +1 -0
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/useFieldsProgress.d.ts +14 -0
- package/dist/shared/ui/CustomLink.d.ts +7 -2
- package/dist/shared/ui/Ligal.d.ts +12 -0
- package/dist/shared/ui/icon/sprite.gen.d.ts +1 -0
- package/dist/shared/ui/index.d.ts +1 -0
- package/dist/sprites/logos.svg +1 -0
- package/dist/style.css +1 -1
- package/dist/widgets/authProvider/AuthProvider.d.ts +3 -0
- package/dist/widgets/authProvider/index.d.ts +2 -0
- package/dist/widgets/authProvider/model/helpers.d.ts +5 -0
- package/dist/widgets/authProvider/model/types.d.ts +75 -0
- package/dist/widgets/authProvider/ui/Esia.d.ts +2 -0
- package/dist/widgets/authProvider/ui/MobileId.d.ts +2 -0
- package/dist/widgets/authProvider/ui/index.d.ts +2 -0
- package/dist/widgets/authProvider/ui/ui/AuthWrapper.d.ts +11 -0
- package/dist/widgets/authProvider/ui/ui/EsiaLogo.d.ts +2 -0
- package/dist/widgets/authProvider/ui/ui/Links.d.ts +11 -0
- package/dist/widgets/authProvider/ui/ui/index.d.ts +3 -0
- package/dist/widgets/baseForm/BaseForm.d.ts +3 -0
- package/dist/widgets/baseForm/index.d.ts +1 -0
- package/dist/widgets/footer/Footer.d.ts +16 -15
- package/dist/widgets/footer/model/defaultValues.d.ts +0 -1
- package/dist/widgets/footer/ui/Copyright.d.ts +4 -3
- package/dist/widgets/footer/ui/FooterLogo.d.ts +8 -0
- package/dist/widgets/footer/ui/NavLinks.d.ts +7 -6
- package/dist/widgets/footer/ui/PhonesBlock.d.ts +5 -5
- package/dist/widgets/footer/ui/SiteMap.d.ts +8 -0
- package/dist/widgets/footer/ui/SocialLinks.d.ts +4 -4
- package/dist/widgets/footer/ui/index.d.ts +7 -5
- package/dist/widgets/index.d.ts +9 -7
- package/package.json +1 -1
- package/dist/index-BJGvyDqg.js.map +0 -1
- package/dist/widgets/footer/ui/Ligal.d.ts +0 -12
package/dist/hybrid.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { b as Ke, L as Ye, d as et, s as tt } from "./index-
|
|
3
|
-
import * as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
const
|
|
6
|
-
const e =
|
|
7
|
-
return e.length <= 1 ? e[0] || null : function(
|
|
8
|
-
e.forEach((
|
|
9
|
-
typeof
|
|
1
|
+
import { j as n, c as i, I as m, a as c, R as g, B as I, z as f, p as U, i as Z, g as _, H as L, P as G } from "./index-CexXWplL.js";
|
|
2
|
+
import { b as Ke, L as Ye, d as et, s as tt } from "./index-CexXWplL.js";
|
|
3
|
+
import * as y from "react";
|
|
4
|
+
import { forwardRef as W } from "react";
|
|
5
|
+
const Le = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Ee = (...t) => {
|
|
6
|
+
const e = t.filter(Boolean);
|
|
7
|
+
return e.length <= 1 ? e[0] || null : function(r) {
|
|
8
|
+
e.forEach((a) => {
|
|
9
|
+
typeof a == "function" ? a(r) : a && (a.current = r);
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
},
|
|
12
|
+
}, X = ({ children: t, className: e, ...o }) => /* @__PURE__ */ n.jsx("section", { className: i("pb-16 desktop:pb-20", e), ...o, children: t }), Te = ({ linksList: t }) => /* @__PURE__ */ n.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: t.map((e) => /* @__PURE__ */ n.jsx(n.Fragment, { children: "path" in e ? /* @__PURE__ */ n.jsxs(
|
|
13
13
|
"div",
|
|
14
14
|
{
|
|
15
|
-
className:
|
|
15
|
+
className: i(
|
|
16
16
|
"flex items-center gap-1 rounded-sm border-2 border-solid border-transparent px-1 focus-within:border-primary-focus",
|
|
17
17
|
{ "pointer-events-none !border-transparent": e == null ? void 0 : e.isDisabled }
|
|
18
18
|
),
|
|
19
19
|
children: [
|
|
20
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ n.jsx(
|
|
21
21
|
"a",
|
|
22
22
|
{
|
|
23
23
|
href: e.path,
|
|
24
24
|
target: "_blank",
|
|
25
25
|
rel: "noreferrer",
|
|
26
|
-
className:
|
|
26
|
+
className: i(
|
|
27
27
|
"desk-body-regular-m text-color-primary-default outline-none hover:text-color-primary-hover focus:text-color-primary-default",
|
|
28
28
|
{ "!text-color-disabled": e == null ? void 0 : e.isDisabled }
|
|
29
29
|
),
|
|
30
30
|
children: e.label
|
|
31
31
|
}
|
|
32
32
|
),
|
|
33
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ n.jsx(
|
|
34
34
|
m,
|
|
35
35
|
{
|
|
36
36
|
name: "arrows/arrowRight",
|
|
37
|
-
className:
|
|
37
|
+
className: i("size-4 text-icon-primary-default", { "!text-icon-disabled": e == null ? void 0 : e.isDisabled })
|
|
38
38
|
}
|
|
39
39
|
)
|
|
40
40
|
]
|
|
41
41
|
}
|
|
42
|
-
) : /* @__PURE__ */
|
|
42
|
+
) : /* @__PURE__ */ n.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }), q = c(
|
|
43
43
|
"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",
|
|
44
44
|
{
|
|
45
45
|
variants: {
|
|
@@ -59,16 +59,20 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
59
59
|
size: "lg"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
), Fe =
|
|
63
|
-
({ size:
|
|
64
|
-
), Q =
|
|
65
|
-
"group
|
|
62
|
+
), Fe = W(
|
|
63
|
+
({ size: t, intent: e, children: o, classes: r, type: a = "button", ...d }, l) => /* @__PURE__ */ n.jsx("button", { ref: l, type: a, className: i(q({ intent: e, size: t }), r == null ? void 0 : r.button), ...d, children: /* @__PURE__ */ n.jsx("span", { className: i(r == null ? void 0 : r.icon), children: o }) })
|
|
64
|
+
), Q = c(
|
|
65
|
+
"group outline-none transition-colors duration-100 p-[2px] rounded-sm border border-solid border-transparent",
|
|
66
66
|
{
|
|
67
67
|
variants: {
|
|
68
68
|
intent: {
|
|
69
69
|
blue: "text-color-primary-default hover:text-color-primary-hover focus:text-color-primary-default focus:border-primary-focus",
|
|
70
70
|
white: "text-color-white hover:text-color-footer focus:text-color-white focus:border-primary-focus"
|
|
71
71
|
},
|
|
72
|
+
withUnderline: {
|
|
73
|
+
true: "underline underline-offset-4",
|
|
74
|
+
false: ""
|
|
75
|
+
},
|
|
72
76
|
withIcon: {
|
|
73
77
|
true: "flex items-center gap-1",
|
|
74
78
|
false: ""
|
|
@@ -86,10 +90,11 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
86
90
|
intent: "blue",
|
|
87
91
|
withIcon: !0,
|
|
88
92
|
disabled: !1,
|
|
89
|
-
size: "sm"
|
|
93
|
+
size: "sm",
|
|
94
|
+
withUnderline: !1
|
|
90
95
|
}
|
|
91
96
|
}
|
|
92
|
-
), J =
|
|
97
|
+
), J = c("size-6", {
|
|
93
98
|
variants: {
|
|
94
99
|
intent: {
|
|
95
100
|
blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
|
|
@@ -104,19 +109,20 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
104
109
|
intent: "blue",
|
|
105
110
|
disabled: !1
|
|
106
111
|
}
|
|
107
|
-
}),
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
112
|
+
}), E = ({
|
|
113
|
+
intent: t,
|
|
114
|
+
children: e,
|
|
115
|
+
withIcon: o,
|
|
116
|
+
disabled: r,
|
|
117
|
+
size: a,
|
|
118
|
+
icon: d = "arrows/arrowLink",
|
|
119
|
+
classes: l,
|
|
120
|
+
withUnderline: u,
|
|
121
|
+
...b
|
|
122
|
+
}) => /* @__PURE__ */ n.jsxs("a", { className: i(Q({ intent: t, withIcon: o, withUnderline: u, disabled: r, size: a }), l == null ? void 0 : l.link), ...b, children: [
|
|
123
|
+
e,
|
|
124
|
+
o && /* @__PURE__ */ n.jsx(m, { name: d, className: i(J({ intent: t, disabled: r }), l == null ? void 0 : l.icon) })
|
|
125
|
+
] }), K = c("size-8 transition-colors", {
|
|
120
126
|
variants: {
|
|
121
127
|
intent: {
|
|
122
128
|
outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -129,78 +135,106 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
129
135
|
}), Y = {
|
|
130
136
|
filled: "files/documentFilled",
|
|
131
137
|
outline: "files/documentOutline"
|
|
132
|
-
}, ze = ({ text:
|
|
138
|
+
}, ze = ({ text: t, size: e, sizeType: o, href: r, intent: a = "outline" }) => /* @__PURE__ */ n.jsxs(
|
|
133
139
|
"a",
|
|
134
140
|
{
|
|
135
|
-
href:
|
|
141
|
+
href: r,
|
|
136
142
|
target: "_blank",
|
|
137
143
|
rel: "noreferrer",
|
|
138
144
|
tabIndex: 0,
|
|
139
|
-
className:
|
|
145
|
+
className: i(
|
|
140
146
|
"group flex 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]"
|
|
141
147
|
),
|
|
142
148
|
children: [
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
/* @__PURE__ */
|
|
145
|
-
/* @__PURE__ */
|
|
146
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ n.jsx(m, { name: Y[a], className: i(K({ intent: a })) }),
|
|
150
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("flex flex-1 flex-col"), children: [
|
|
151
|
+
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-medium-l text-color-dark"), children: t }),
|
|
152
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("desk-body-regular-m text-color-disabled"), children: [
|
|
147
153
|
e,
|
|
148
154
|
" ",
|
|
149
|
-
|
|
155
|
+
o
|
|
150
156
|
] })
|
|
151
157
|
] })
|
|
152
158
|
]
|
|
153
159
|
}
|
|
154
|
-
),
|
|
155
|
-
/* @__PURE__ */
|
|
160
|
+
), T = ({ phone: t, text: e, classes: o, ...r }) => /* @__PURE__ */ n.jsxs("div", { className: i("flex w-max flex-col", o == null ? void 0 : o.wrapper), ...r, children: [
|
|
161
|
+
/* @__PURE__ */ n.jsx(
|
|
156
162
|
"a",
|
|
157
163
|
{
|
|
158
|
-
href: `tel:${
|
|
159
|
-
className:
|
|
160
|
-
children:
|
|
164
|
+
href: `tel:${t}`,
|
|
165
|
+
className: i("mob-body-medium-l ml-auto text-color-dark desktop:desk-body-medium-l", o == null ? void 0 : o.link),
|
|
166
|
+
children: t
|
|
161
167
|
}
|
|
162
168
|
),
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
-
] }),
|
|
165
|
-
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-regular-s text-color-tetriary", o == null ? void 0 : o.text), children: e })
|
|
170
|
+
] }), Ae = ({ topContent: t, bottomContent: e, progress: o, maxPercent: r = 100, classes: a }) => /* @__PURE__ */ n.jsxs("div", { className: i("flex w-full flex-col", a == null ? void 0 : a.wrapper), children: [
|
|
171
|
+
t && /* @__PURE__ */ n.jsx("div", { className: i("mb-2 flex justify-between gap-5", a == null ? void 0 : a.topContent), children: t }),
|
|
172
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", a == null ? void 0 : a.progressBar), children: [
|
|
173
|
+
/* @__PURE__ */ n.jsx(
|
|
168
174
|
"div",
|
|
169
175
|
{
|
|
170
|
-
style: { width: `${
|
|
171
|
-
className:
|
|
176
|
+
style: { width: `${o}%` },
|
|
177
|
+
className: i("relative z-10 h-2 rounded-md bg-color-positive transition-all", a == null ? void 0 : a.progress)
|
|
172
178
|
}
|
|
173
179
|
),
|
|
174
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ n.jsx(
|
|
175
181
|
"span",
|
|
176
182
|
{
|
|
177
|
-
style: { maxWidth: `${
|
|
178
|
-
className:
|
|
183
|
+
style: { maxWidth: `${r}%` },
|
|
184
|
+
className: i(
|
|
179
185
|
"progressBar-apply z-1 absolute top-1/2 h-full w-full -translate-y-1/2 animate-progress-loader rounded-md",
|
|
180
|
-
|
|
186
|
+
a == null ? void 0 : a.loader
|
|
181
187
|
)
|
|
182
188
|
}
|
|
183
189
|
)
|
|
184
190
|
] }),
|
|
185
|
-
e && /* @__PURE__ */
|
|
186
|
-
] }),
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
e && /* @__PURE__ */ n.jsx("div", { className: i("mt-2 flex justify-between gap-5", a == null ? void 0 : a.bottomContent), children: e })
|
|
192
|
+
] }), Be = ({ className: t }) => /* @__PURE__ */ n.jsx("div", { className: i("skeleton-apply h-full w-full", t) }), Se = ({ text: t, classes: e }) => {
|
|
193
|
+
const [o, r] = y.useState(!1), [a, d] = y.useState(!1), l = y.useRef(null);
|
|
194
|
+
return y.useEffect(() => {
|
|
195
|
+
const u = l.current;
|
|
196
|
+
u && d(u.scrollHeight > u.clientHeight);
|
|
197
|
+
}, []), /* @__PURE__ */ n.jsxs("div", { className: i("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
|
|
198
|
+
/* @__PURE__ */ n.jsx(
|
|
199
|
+
"p",
|
|
200
|
+
{
|
|
201
|
+
ref: l,
|
|
202
|
+
className: i("desk-body-regular-m text-color-footer", { "line-clamp-3": !o }, e == null ? void 0 : e.ligalText),
|
|
203
|
+
children: t
|
|
204
|
+
}
|
|
205
|
+
),
|
|
206
|
+
a && /* @__PURE__ */ n.jsx(
|
|
207
|
+
"div",
|
|
208
|
+
{
|
|
209
|
+
tabIndex: 0,
|
|
210
|
+
role: "button",
|
|
211
|
+
onClick: () => r((u) => !u),
|
|
212
|
+
className: i(
|
|
213
|
+
"desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
|
|
214
|
+
e == null ? void 0 : e.ligalButton
|
|
215
|
+
),
|
|
216
|
+
children: "Подробнее"
|
|
217
|
+
}
|
|
218
|
+
)
|
|
219
|
+
] });
|
|
220
|
+
}, ee = {
|
|
221
|
+
main: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoMain" }),
|
|
222
|
+
white: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoWhite" }),
|
|
223
|
+
gray: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoGray" }),
|
|
224
|
+
black: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoBlack" }),
|
|
225
|
+
business: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoBusiness" }),
|
|
226
|
+
insurance: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoInsurance" })
|
|
227
|
+
}, Re = ({ isVisible: t, classes: e, children: o, buttonProps: r }) => /* @__PURE__ */ n.jsxs(
|
|
194
228
|
g,
|
|
195
229
|
{
|
|
196
|
-
className:
|
|
230
|
+
className: i(
|
|
197
231
|
"fixed bottom-0 left-1/2 z-[60] w-full max-w-[604px] -translate-x-1/2 translate-y-0 rounded-t-lg bg-color-white px-6 py-4 shadow-[0px_-6px_8px_0px_#2929290A] transition-transform duration-1000 desktop:hidden",
|
|
198
|
-
{ "translate-y-[100%]": !
|
|
232
|
+
{ "translate-y-[100%]": !t },
|
|
199
233
|
e == null ? void 0 : e.root
|
|
200
234
|
),
|
|
201
235
|
children: [
|
|
202
|
-
|
|
203
|
-
/* @__PURE__ */
|
|
236
|
+
o,
|
|
237
|
+
/* @__PURE__ */ n.jsx(I, { size: "lg", className: i("m-auto w-full", e == null ? void 0 : e.button), ...r, children: "Оформить заявку" })
|
|
204
238
|
]
|
|
205
239
|
}
|
|
206
240
|
), te = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, D = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, re = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, s = {
|
|
@@ -214,69 +248,69 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
214
248
|
INVALID_VALUE: "Поле заполнено некорректно",
|
|
215
249
|
INVALID_DATE: "Введите корректную дату",
|
|
216
250
|
FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
|
|
217
|
-
}, oe = (
|
|
218
|
-
const e =
|
|
251
|
+
}, oe = (t) => {
|
|
252
|
+
const e = t.trim().replace(/\s+/g, " ").split(" "), [o, r, ...a] = e, d = a == null ? void 0 : a.join(" ");
|
|
219
253
|
return {
|
|
220
|
-
surname:
|
|
221
|
-
name:
|
|
254
|
+
surname: o,
|
|
255
|
+
name: r,
|
|
222
256
|
patronymic: d
|
|
223
257
|
};
|
|
224
|
-
}, Pe =
|
|
225
|
-
|
|
226
|
-
code:
|
|
258
|
+
}, Pe = f.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((t, e) => {
|
|
259
|
+
t === "" && e.addIssue({
|
|
260
|
+
code: f.ZodIssueCode.custom,
|
|
227
261
|
message: "Введите имя и фамилию"
|
|
228
|
-
}), te.test(
|
|
229
|
-
code:
|
|
262
|
+
}), te.test(t) || e.addIssue({
|
|
263
|
+
code: f.ZodIssueCode.custom,
|
|
230
264
|
message: "Должна быть только кириллица"
|
|
231
265
|
});
|
|
232
|
-
const { surname:
|
|
233
|
-
(!
|
|
234
|
-
code:
|
|
266
|
+
const { surname: o, name: r, patronymic: a } = oe(t);
|
|
267
|
+
(!o || !r) && e.addIssue({
|
|
268
|
+
code: f.ZodIssueCode.custom,
|
|
235
269
|
message: "Введите имя и фамилию"
|
|
236
|
-
}), D.test(
|
|
237
|
-
code:
|
|
270
|
+
}), D.test(r) || e.addIssue({
|
|
271
|
+
code: f.ZodIssueCode.custom,
|
|
238
272
|
message: "Неверно введено имя"
|
|
239
|
-
}), D.test(
|
|
240
|
-
code:
|
|
273
|
+
}), D.test(o) || e.addIssue({
|
|
274
|
+
code: f.ZodIssueCode.custom,
|
|
241
275
|
message: "Неверно введена фамилия"
|
|
242
|
-
}),
|
|
243
|
-
code:
|
|
276
|
+
}), a && (re.test(a) || e.addIssue({
|
|
277
|
+
code: f.ZodIssueCode.custom,
|
|
244
278
|
message: "Неверно введено отчество"
|
|
245
279
|
}));
|
|
246
|
-
}), $e =
|
|
247
|
-
const [
|
|
248
|
-
+
|
|
249
|
-
code:
|
|
280
|
+
}), $e = f.string().length(10, { message: s.INVALID_DATE }).superRefine((t, e) => {
|
|
281
|
+
const [o, r, a] = (t == null ? void 0 : t.split(".")) ?? "", d = U(`${o}/${r}/${a}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
282
|
+
+a <= 1950 && e.addIssue({
|
|
283
|
+
code: f.ZodIssueCode.custom,
|
|
250
284
|
message: s.INVALID_DATE
|
|
251
|
-
}),
|
|
252
|
-
code:
|
|
285
|
+
}), Z(d) || e.addIssue({
|
|
286
|
+
code: f.ZodIssueCode.custom,
|
|
253
287
|
message: s.INVALID_DATE
|
|
254
288
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
255
|
-
code:
|
|
289
|
+
code: f.ZodIssueCode.custom,
|
|
256
290
|
message: s.FUTURE_DATE_NOT_ALLOWED
|
|
257
291
|
});
|
|
258
|
-
}), He =
|
|
259
|
-
const
|
|
260
|
-
["3", "4", "5", "6", "9"].includes(
|
|
261
|
-
code:
|
|
292
|
+
}), He = f.string().superRefine((t, e) => {
|
|
293
|
+
const o = t.charAt(0);
|
|
294
|
+
["3", "4", "5", "6", "9"].includes(o) || e.addIssue({
|
|
295
|
+
code: f.ZodIssueCode.custom,
|
|
262
296
|
message: "Код города/оператора должен начинаться с цифры 3, 4, 5, 6 или 9"
|
|
263
|
-
}),
|
|
264
|
-
code:
|
|
297
|
+
}), t.length !== 10 && e.addIssue({
|
|
298
|
+
code: f.ZodIssueCode.custom,
|
|
265
299
|
message: "Введите номер телефона полностью"
|
|
266
300
|
});
|
|
267
|
-
}).transform((
|
|
268
|
-
|
|
269
|
-
code:
|
|
301
|
+
}).transform((t) => `7${t}`), Ve = f.coerce.number().min(1e3, `${s.FIX_LENGTH} 4`).max(9999, `${s.FIX_LENGTH} 4`).nullable().superRefine((t, e) => {
|
|
302
|
+
t === null && e.addIssue({
|
|
303
|
+
code: f.ZodIssueCode.invalid_type,
|
|
270
304
|
expected: "number",
|
|
271
305
|
received: "null",
|
|
272
306
|
message: `${s.FIX_LENGTH} 4`
|
|
273
307
|
});
|
|
274
|
-
}).default(null),
|
|
308
|
+
}).default(null), h = {
|
|
275
309
|
transparent: "transparent",
|
|
276
310
|
current: "currentColor",
|
|
277
311
|
inherit: "inherit",
|
|
278
312
|
initial: "initial"
|
|
279
|
-
},
|
|
313
|
+
}, w = {
|
|
280
314
|
"blue-grey-100": "#f3f4f7",
|
|
281
315
|
"blue-grey-200": "#eaedf1",
|
|
282
316
|
"blue-grey-300": "#d4dbe2",
|
|
@@ -304,7 +338,7 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
304
338
|
purple: "#5f40bd",
|
|
305
339
|
"purple-hover": "#52399d",
|
|
306
340
|
overlay: "#0000004d",
|
|
307
|
-
...
|
|
341
|
+
...h
|
|
308
342
|
}, F = {
|
|
309
343
|
dark: "#292929",
|
|
310
344
|
disabled: "#a9b6c5",
|
|
@@ -319,8 +353,8 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
319
353
|
white: "#ffffff",
|
|
320
354
|
"primary-disabled": "#809bc7",
|
|
321
355
|
"blue-grey-600": "#94a4b7",
|
|
322
|
-
...
|
|
323
|
-
},
|
|
356
|
+
...h
|
|
357
|
+
}, z = {
|
|
324
358
|
"barvcray-200": "#ebeef4",
|
|
325
359
|
"barvcray-300": "#dde1e8",
|
|
326
360
|
"greymint-200": "#deecee",
|
|
@@ -333,8 +367,8 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
333
367
|
"skyblue-100": "#f4f8fe",
|
|
334
368
|
"skyblue-200": "#e7f3ff",
|
|
335
369
|
"skyblue-300": "#d9edff",
|
|
336
|
-
...
|
|
337
|
-
},
|
|
370
|
+
...h
|
|
371
|
+
}, x = {
|
|
338
372
|
"accent-default": "#2477ff",
|
|
339
373
|
"accent-hover": "#0053da",
|
|
340
374
|
"blue-grey-100": "#f3f4f7",
|
|
@@ -359,8 +393,8 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
359
393
|
white: "#ffffff",
|
|
360
394
|
"primary-disabled": "#809bc7",
|
|
361
395
|
footer: "#C3C3C3",
|
|
362
|
-
...
|
|
363
|
-
},
|
|
396
|
+
...h
|
|
397
|
+
}, v = {
|
|
364
398
|
"blue-grey-500": "#a9b6c5",
|
|
365
399
|
"blue-grey-700": "#69809a",
|
|
366
400
|
"blue-grey-800": "#5a6e85",
|
|
@@ -378,8 +412,8 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
378
412
|
warning: "#f49f00",
|
|
379
413
|
white: "#ffffff",
|
|
380
414
|
"primary-disabled": "#809bc7",
|
|
381
|
-
...
|
|
382
|
-
},
|
|
415
|
+
...h
|
|
416
|
+
}, A = {
|
|
383
417
|
none: "0",
|
|
384
418
|
sm: "4px",
|
|
385
419
|
md: "8px",
|
|
@@ -482,66 +516,66 @@ const Ee = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
|
482
516
|
}
|
|
483
517
|
};
|
|
484
518
|
var $ = {}, H = {};
|
|
485
|
-
(function(
|
|
486
|
-
Object.defineProperty(
|
|
519
|
+
(function(t) {
|
|
520
|
+
Object.defineProperty(t, "__esModule", {
|
|
487
521
|
value: !0
|
|
488
|
-
}), Object.defineProperty(
|
|
522
|
+
}), Object.defineProperty(t, "default", {
|
|
489
523
|
enumerable: !0,
|
|
490
524
|
get: function() {
|
|
491
|
-
return
|
|
525
|
+
return o;
|
|
492
526
|
}
|
|
493
527
|
});
|
|
494
|
-
function e(
|
|
528
|
+
function e(r, a) {
|
|
495
529
|
return {
|
|
496
|
-
handler:
|
|
497
|
-
config:
|
|
530
|
+
handler: r,
|
|
531
|
+
config: a
|
|
498
532
|
};
|
|
499
533
|
}
|
|
500
|
-
e.withOptions = function(
|
|
501
|
-
const d = function(
|
|
534
|
+
e.withOptions = function(r, a = () => ({})) {
|
|
535
|
+
const d = function(l) {
|
|
502
536
|
return {
|
|
503
|
-
__options:
|
|
504
|
-
handler:
|
|
505
|
-
config:
|
|
537
|
+
__options: l,
|
|
538
|
+
handler: r(l),
|
|
539
|
+
config: a(l)
|
|
506
540
|
};
|
|
507
541
|
};
|
|
508
|
-
return d.__isOptionsFunction = !0, d.__pluginFunction =
|
|
542
|
+
return d.__isOptionsFunction = !0, d.__pluginFunction = r, d.__configFunction = a, d;
|
|
509
543
|
};
|
|
510
|
-
const
|
|
544
|
+
const o = e;
|
|
511
545
|
})(H);
|
|
512
|
-
(function(
|
|
513
|
-
Object.defineProperty(
|
|
546
|
+
(function(t) {
|
|
547
|
+
Object.defineProperty(t, "__esModule", {
|
|
514
548
|
value: !0
|
|
515
|
-
}), Object.defineProperty(
|
|
549
|
+
}), Object.defineProperty(t, "default", {
|
|
516
550
|
enumerable: !0,
|
|
517
551
|
get: function() {
|
|
518
|
-
return
|
|
552
|
+
return r;
|
|
519
553
|
}
|
|
520
554
|
});
|
|
521
|
-
const e = /* @__PURE__ */
|
|
522
|
-
function
|
|
523
|
-
return
|
|
524
|
-
default:
|
|
555
|
+
const e = /* @__PURE__ */ o(H);
|
|
556
|
+
function o(a) {
|
|
557
|
+
return a && a.__esModule ? a : {
|
|
558
|
+
default: a
|
|
525
559
|
};
|
|
526
560
|
}
|
|
527
|
-
const
|
|
561
|
+
const r = e.default;
|
|
528
562
|
})($);
|
|
529
563
|
let j = $;
|
|
530
564
|
var V = (j.__esModule ? j : { default: j }).default;
|
|
531
|
-
const
|
|
532
|
-
function C(
|
|
565
|
+
const k = /* @__PURE__ */ _(V), ie = V;
|
|
566
|
+
function C(t) {
|
|
533
567
|
return Object.fromEntries(
|
|
534
|
-
Object.entries(
|
|
568
|
+
Object.entries(t).filter(([e]) => e !== "DEFAULT")
|
|
535
569
|
);
|
|
536
570
|
}
|
|
537
|
-
var
|
|
538
|
-
({ addUtilities:
|
|
539
|
-
|
|
540
|
-
"@keyframes enter":
|
|
541
|
-
"@keyframes exit":
|
|
571
|
+
var ae = ie(
|
|
572
|
+
({ addUtilities: t, matchUtilities: e, theme: o }) => {
|
|
573
|
+
t({
|
|
574
|
+
"@keyframes enter": o("keyframes.enter"),
|
|
575
|
+
"@keyframes exit": o("keyframes.exit"),
|
|
542
576
|
".animate-in": {
|
|
543
577
|
animationName: "enter",
|
|
544
|
-
animationDuration:
|
|
578
|
+
animationDuration: o("animationDuration.DEFAULT"),
|
|
545
579
|
"--tw-enter-opacity": "initial",
|
|
546
580
|
"--tw-enter-scale": "initial",
|
|
547
581
|
"--tw-enter-rotate": "initial",
|
|
@@ -550,7 +584,7 @@ var ie = ae(
|
|
|
550
584
|
},
|
|
551
585
|
".animate-out": {
|
|
552
586
|
animationName: "exit",
|
|
553
|
-
animationDuration:
|
|
587
|
+
animationDuration: o("animationDuration.DEFAULT"),
|
|
554
588
|
"--tw-exit-opacity": "initial",
|
|
555
589
|
"--tw-exit-scale": "initial",
|
|
556
590
|
"--tw-exit-rotate": "initial",
|
|
@@ -559,85 +593,85 @@ var ie = ae(
|
|
|
559
593
|
}
|
|
560
594
|
}), e(
|
|
561
595
|
{
|
|
562
|
-
"fade-in": (
|
|
563
|
-
"fade-out": (
|
|
596
|
+
"fade-in": (r) => ({ "--tw-enter-opacity": r }),
|
|
597
|
+
"fade-out": (r) => ({ "--tw-exit-opacity": r })
|
|
564
598
|
},
|
|
565
|
-
{ values:
|
|
599
|
+
{ values: o("animationOpacity") }
|
|
566
600
|
), e(
|
|
567
601
|
{
|
|
568
|
-
"zoom-in": (
|
|
569
|
-
"zoom-out": (
|
|
602
|
+
"zoom-in": (r) => ({ "--tw-enter-scale": r }),
|
|
603
|
+
"zoom-out": (r) => ({ "--tw-exit-scale": r })
|
|
570
604
|
},
|
|
571
|
-
{ values:
|
|
605
|
+
{ values: o("animationScale") }
|
|
572
606
|
), e(
|
|
573
607
|
{
|
|
574
|
-
"spin-in": (
|
|
575
|
-
"spin-out": (
|
|
608
|
+
"spin-in": (r) => ({ "--tw-enter-rotate": r }),
|
|
609
|
+
"spin-out": (r) => ({ "--tw-exit-rotate": r })
|
|
576
610
|
},
|
|
577
|
-
{ values:
|
|
611
|
+
{ values: o("animationRotate") }
|
|
578
612
|
), e(
|
|
579
613
|
{
|
|
580
|
-
"slide-in-from-top": (
|
|
581
|
-
"--tw-enter-translate-y": `-${
|
|
614
|
+
"slide-in-from-top": (r) => ({
|
|
615
|
+
"--tw-enter-translate-y": `-${r}`
|
|
582
616
|
}),
|
|
583
|
-
"slide-in-from-bottom": (
|
|
584
|
-
"--tw-enter-translate-y":
|
|
617
|
+
"slide-in-from-bottom": (r) => ({
|
|
618
|
+
"--tw-enter-translate-y": r
|
|
585
619
|
}),
|
|
586
|
-
"slide-in-from-left": (
|
|
587
|
-
"--tw-enter-translate-x": `-${
|
|
620
|
+
"slide-in-from-left": (r) => ({
|
|
621
|
+
"--tw-enter-translate-x": `-${r}`
|
|
588
622
|
}),
|
|
589
|
-
"slide-in-from-right": (
|
|
590
|
-
"--tw-enter-translate-x":
|
|
623
|
+
"slide-in-from-right": (r) => ({
|
|
624
|
+
"--tw-enter-translate-x": r
|
|
591
625
|
}),
|
|
592
|
-
"slide-out-to-top": (
|
|
593
|
-
"--tw-exit-translate-y": `-${
|
|
626
|
+
"slide-out-to-top": (r) => ({
|
|
627
|
+
"--tw-exit-translate-y": `-${r}`
|
|
594
628
|
}),
|
|
595
|
-
"slide-out-to-bottom": (
|
|
596
|
-
"--tw-exit-translate-y":
|
|
629
|
+
"slide-out-to-bottom": (r) => ({
|
|
630
|
+
"--tw-exit-translate-y": r
|
|
597
631
|
}),
|
|
598
|
-
"slide-out-to-left": (
|
|
599
|
-
"--tw-exit-translate-x": `-${
|
|
632
|
+
"slide-out-to-left": (r) => ({
|
|
633
|
+
"--tw-exit-translate-x": `-${r}`
|
|
600
634
|
}),
|
|
601
|
-
"slide-out-to-right": (
|
|
602
|
-
"--tw-exit-translate-x":
|
|
635
|
+
"slide-out-to-right": (r) => ({
|
|
636
|
+
"--tw-exit-translate-x": r
|
|
603
637
|
})
|
|
604
638
|
},
|
|
605
|
-
{ values:
|
|
639
|
+
{ values: o("animationTranslate") }
|
|
606
640
|
), e(
|
|
607
|
-
{ duration: (
|
|
608
|
-
{ values: C(
|
|
641
|
+
{ duration: (r) => ({ animationDuration: r }) },
|
|
642
|
+
{ values: C(o("animationDuration")) }
|
|
609
643
|
), e(
|
|
610
|
-
{ delay: (
|
|
611
|
-
{ values:
|
|
644
|
+
{ delay: (r) => ({ animationDelay: r }) },
|
|
645
|
+
{ values: o("animationDelay") }
|
|
612
646
|
), e(
|
|
613
|
-
{ ease: (
|
|
614
|
-
{ values: C(
|
|
615
|
-
),
|
|
647
|
+
{ ease: (r) => ({ animationTimingFunction: r }) },
|
|
648
|
+
{ values: C(o("animationTimingFunction")) }
|
|
649
|
+
), t({
|
|
616
650
|
".running": { animationPlayState: "running" },
|
|
617
651
|
".paused": { animationPlayState: "paused" }
|
|
618
652
|
}), e(
|
|
619
|
-
{ "fill-mode": (
|
|
620
|
-
{ values:
|
|
653
|
+
{ "fill-mode": (r) => ({ animationFillMode: r }) },
|
|
654
|
+
{ values: o("animationFillMode") }
|
|
621
655
|
), e(
|
|
622
|
-
{ direction: (
|
|
623
|
-
{ values:
|
|
656
|
+
{ direction: (r) => ({ animationDirection: r }) },
|
|
657
|
+
{ values: o("animationDirection") }
|
|
624
658
|
), e(
|
|
625
|
-
{ repeat: (
|
|
626
|
-
{ values:
|
|
659
|
+
{ repeat: (r) => ({ animationIterationCount: r }) },
|
|
660
|
+
{ values: o("animationRepeat") }
|
|
627
661
|
);
|
|
628
662
|
},
|
|
629
663
|
{
|
|
630
664
|
theme: {
|
|
631
665
|
extend: {
|
|
632
|
-
animationDelay: ({ theme:
|
|
633
|
-
...
|
|
666
|
+
animationDelay: ({ theme: t }) => ({
|
|
667
|
+
...t("transitionDelay")
|
|
634
668
|
}),
|
|
635
|
-
animationDuration: ({ theme:
|
|
669
|
+
animationDuration: ({ theme: t }) => ({
|
|
636
670
|
0: "0ms",
|
|
637
|
-
...
|
|
671
|
+
...t("transitionDuration")
|
|
638
672
|
}),
|
|
639
|
-
animationTimingFunction: ({ theme:
|
|
640
|
-
...
|
|
673
|
+
animationTimingFunction: ({ theme: t }) => ({
|
|
674
|
+
...t("transitionTimingFunction")
|
|
641
675
|
}),
|
|
642
676
|
animationFillMode: {
|
|
643
677
|
none: "none",
|
|
@@ -651,21 +685,21 @@ var ie = ae(
|
|
|
651
685
|
alternate: "alternate",
|
|
652
686
|
"alternate-reverse": "alternate-reverse"
|
|
653
687
|
},
|
|
654
|
-
animationOpacity: ({ theme:
|
|
688
|
+
animationOpacity: ({ theme: t }) => ({
|
|
655
689
|
DEFAULT: 0,
|
|
656
|
-
...
|
|
690
|
+
...t("opacity")
|
|
657
691
|
}),
|
|
658
|
-
animationTranslate: ({ theme:
|
|
692
|
+
animationTranslate: ({ theme: t }) => ({
|
|
659
693
|
DEFAULT: "100%",
|
|
660
|
-
...
|
|
694
|
+
...t("translate")
|
|
661
695
|
}),
|
|
662
|
-
animationScale: ({ theme:
|
|
696
|
+
animationScale: ({ theme: t }) => ({
|
|
663
697
|
DEFAULT: 0,
|
|
664
|
-
...
|
|
698
|
+
...t("scale")
|
|
665
699
|
}),
|
|
666
|
-
animationRotate: ({ theme:
|
|
700
|
+
animationRotate: ({ theme: t }) => ({
|
|
667
701
|
DEFAULT: "30deg",
|
|
668
|
-
...
|
|
702
|
+
...t("rotate")
|
|
669
703
|
}),
|
|
670
704
|
animationRepeat: {
|
|
671
705
|
0: "0",
|
|
@@ -690,26 +724,26 @@ var ie = ae(
|
|
|
690
724
|
}
|
|
691
725
|
}
|
|
692
726
|
);
|
|
693
|
-
const
|
|
727
|
+
const M = /* @__PURE__ */ _(ae), Me = {
|
|
694
728
|
theme: {
|
|
695
729
|
backgroundColor: {
|
|
696
|
-
color:
|
|
697
|
-
banner:
|
|
698
|
-
icon:
|
|
730
|
+
color: w,
|
|
731
|
+
banner: z,
|
|
732
|
+
icon: x
|
|
699
733
|
},
|
|
700
734
|
textColor: {
|
|
701
|
-
icon:
|
|
735
|
+
icon: x,
|
|
702
736
|
color: F
|
|
703
737
|
},
|
|
704
|
-
fill:
|
|
705
|
-
stroke:
|
|
706
|
-
borderColor:
|
|
707
|
-
outlineColor:
|
|
708
|
-
borderRadius:
|
|
738
|
+
fill: x,
|
|
739
|
+
stroke: x,
|
|
740
|
+
borderColor: v,
|
|
741
|
+
outlineColor: v,
|
|
742
|
+
borderRadius: A,
|
|
709
743
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
710
744
|
fontSize: S,
|
|
711
745
|
lineHeight: R,
|
|
712
|
-
gradientColorStops:
|
|
746
|
+
gradientColorStops: w,
|
|
713
747
|
boxShadow: {
|
|
714
748
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
715
749
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
@@ -770,15 +804,15 @@ const O = /* @__PURE__ */ _(ie), Oe = {
|
|
|
770
804
|
}
|
|
771
805
|
},
|
|
772
806
|
plugins: [
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
807
|
+
M,
|
|
808
|
+
k(({ addComponents: t }) => {
|
|
809
|
+
t(P);
|
|
776
810
|
}),
|
|
777
|
-
|
|
778
|
-
|
|
811
|
+
k(function({ matchUtilities: t, theme: e }) {
|
|
812
|
+
t(
|
|
779
813
|
{
|
|
780
|
-
"bg-deg-gradient": (
|
|
781
|
-
"background-image": `linear-gradient(${
|
|
814
|
+
"bg-deg-gradient": (o) => ({
|
|
815
|
+
"background-image": `linear-gradient(${o}, var(--tw-gradient-stops))`
|
|
782
816
|
})
|
|
783
817
|
},
|
|
784
818
|
{
|
|
@@ -787,7 +821,7 @@ const O = /* @__PURE__ */ _(ie), Oe = {
|
|
|
787
821
|
);
|
|
788
822
|
})
|
|
789
823
|
]
|
|
790
|
-
},
|
|
824
|
+
}, Oe = {
|
|
791
825
|
theme: {
|
|
792
826
|
extend: {
|
|
793
827
|
transitionDuration: {
|
|
@@ -827,30 +861,30 @@ const O = /* @__PURE__ */ _(ie), Oe = {
|
|
|
827
861
|
}
|
|
828
862
|
}
|
|
829
863
|
}
|
|
830
|
-
},
|
|
864
|
+
}, Ue = {
|
|
831
865
|
theme: {
|
|
832
866
|
screens: {
|
|
833
867
|
mobile: { max: "1187px" },
|
|
834
868
|
desktop: "1188px"
|
|
835
869
|
},
|
|
836
870
|
backgroundColor: {
|
|
837
|
-
color:
|
|
838
|
-
banner:
|
|
839
|
-
icon:
|
|
871
|
+
color: w,
|
|
872
|
+
banner: z,
|
|
873
|
+
icon: x
|
|
840
874
|
},
|
|
841
875
|
textColor: {
|
|
842
|
-
icon:
|
|
876
|
+
icon: x,
|
|
843
877
|
color: F
|
|
844
878
|
},
|
|
845
|
-
fill:
|
|
846
|
-
stroke:
|
|
847
|
-
borderColor:
|
|
848
|
-
outlineColor:
|
|
849
|
-
borderRadius:
|
|
879
|
+
fill: x,
|
|
880
|
+
stroke: x,
|
|
881
|
+
borderColor: v,
|
|
882
|
+
outlineColor: v,
|
|
883
|
+
borderRadius: A,
|
|
850
884
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
851
885
|
fontSize: S,
|
|
852
886
|
lineHeight: R,
|
|
853
|
-
gradientColorStops:
|
|
887
|
+
gradientColorStops: w,
|
|
854
888
|
boxShadow: {
|
|
855
889
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
856
890
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
@@ -862,15 +896,15 @@ const O = /* @__PURE__ */ _(ie), Oe = {
|
|
|
862
896
|
}
|
|
863
897
|
},
|
|
864
898
|
plugins: [
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
899
|
+
M,
|
|
900
|
+
k(({ addComponents: t }) => {
|
|
901
|
+
t(P);
|
|
868
902
|
}),
|
|
869
|
-
|
|
870
|
-
|
|
903
|
+
k(function({ matchUtilities: t, theme: e }) {
|
|
904
|
+
t(
|
|
871
905
|
{
|
|
872
|
-
"bg-deg-gradient": (
|
|
873
|
-
"background-image": `linear-gradient(${
|
|
906
|
+
"bg-deg-gradient": (o) => ({
|
|
907
|
+
"background-image": `linear-gradient(${o}, var(--tw-gradient-stops))`
|
|
874
908
|
})
|
|
875
909
|
},
|
|
876
910
|
{
|
|
@@ -887,36 +921,30 @@ class de extends Error {
|
|
|
887
921
|
}
|
|
888
922
|
const le = {
|
|
889
923
|
"Content-Type": "application/json"
|
|
890
|
-
},
|
|
891
|
-
const
|
|
924
|
+
}, Ze = async ({ url: t, init: e, baseUrl: o }) => {
|
|
925
|
+
const r = (e == null ? void 0 : e.headers) ?? {}, a = (e == null ? void 0 : e.body) && (e == null ? void 0 : e.body), d = await fetch(`${o}${t}`, {
|
|
892
926
|
headers: {
|
|
893
927
|
...le,
|
|
894
|
-
...
|
|
928
|
+
...r
|
|
895
929
|
},
|
|
896
|
-
body:
|
|
930
|
+
body: a,
|
|
897
931
|
...e
|
|
898
932
|
});
|
|
899
933
|
if (!d.ok)
|
|
900
934
|
throw new de(d);
|
|
901
935
|
return await d.json();
|
|
902
|
-
},
|
|
936
|
+
}, pe = /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
903
937
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
904
|
-
/* @__PURE__ */
|
|
938
|
+
/* @__PURE__ */ n.jsx("br", { className: "mobile:hidden" }),
|
|
905
939
|
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
906
|
-
] }),
|
|
907
|
-
устанавливается по соглашению сторон и определяется исходя из платёжеспособности и кредитоспособности клиента, а также
|
|
908
|
-
иных индивидуальных особенностей клиента. Сумма 100 000 – 50 000 000 руб. Кредит выдается на карту “Халва”, открытый в
|
|
909
|
-
Банке. Банк вправе отказать в предоставлении кредита без объяснения причины, а также запросить дополнительную информацию о
|
|
910
|
-
клиенте. Предварительное одобрение не влечет обязательств Банка по выдаче кредита. В некоторых случаях срок рассмотрения
|
|
911
|
-
заявки может составлять до 3 рабочих дней. Полный электронный документооборот при наличии открытого р/с в ПАО «Совкомбанк»
|
|
912
|
-
и действующей ЭЦП. Условия рекламы действительны на 20.02.2024г.`, ue = [
|
|
940
|
+
] }), fe = [
|
|
913
941
|
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
914
942
|
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
943
|
+
], ue = [
|
|
944
|
+
{ iconName: "social/vk", href: "https://vk.com/sovcombank" },
|
|
945
|
+
{ iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
|
|
946
|
+
{ iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
|
|
915
947
|
], me = [
|
|
916
|
-
{ iconName: "social/vk", href: "/vk" },
|
|
917
|
-
{ iconName: "social/telegram", href: "/tg" },
|
|
918
|
-
{ iconName: "social/classmates", href: "/cl" }
|
|
919
|
-
], ce = [
|
|
920
948
|
{
|
|
921
949
|
groupLabel: "Совкомбанк",
|
|
922
950
|
links: [
|
|
@@ -993,166 +1021,171 @@ const le = {
|
|
|
993
1021
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
994
1022
|
]
|
|
995
1023
|
}
|
|
996
|
-
], xe = ({ socialsLinks:
|
|
1024
|
+
], xe = ({ socialsLinks: t, classes: e }) => /* @__PURE__ */ n.jsx("div", { className: i("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: t == null ? void 0 : t.map(({ iconName: o, href: r }) => /* @__PURE__ */ n.jsx(
|
|
997
1025
|
"a",
|
|
998
1026
|
{
|
|
999
|
-
className:
|
|
1000
|
-
href:
|
|
1001
|
-
"aria-label":
|
|
1002
|
-
children: /* @__PURE__ */
|
|
1027
|
+
className: i("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
1028
|
+
href: r,
|
|
1029
|
+
"aria-label": o.replace("social/", ""),
|
|
1030
|
+
children: /* @__PURE__ */ n.jsx(m, { name: o, className: i("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1003
1031
|
},
|
|
1004
|
-
|
|
1005
|
-
)) }),
|
|
1006
|
-
|
|
1032
|
+
r
|
|
1033
|
+
)) }), ce = ({ phones: t, classes: e }) => /* @__PURE__ */ n.jsx("div", { className: i("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: t == null ? void 0 : t.map(({ phone: o, text: r }) => /* @__PURE__ */ n.jsx(
|
|
1034
|
+
T,
|
|
1007
1035
|
{
|
|
1008
|
-
phone:
|
|
1009
|
-
text:
|
|
1036
|
+
phone: o,
|
|
1037
|
+
text: r,
|
|
1010
1038
|
classes: {
|
|
1011
|
-
wrapper:
|
|
1012
|
-
text:
|
|
1013
|
-
link:
|
|
1039
|
+
wrapper: i(e == null ? void 0 : e.phoneWrapper),
|
|
1040
|
+
text: i("text-color-footer", e == null ? void 0 : e.phoneText),
|
|
1041
|
+
link: i("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
|
|
1014
1042
|
}
|
|
1015
1043
|
},
|
|
1016
|
-
|
|
1017
|
-
)) }),
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1044
|
+
o
|
|
1045
|
+
)) }), se = ({ navigationLinks: t, classes: e }) => /* @__PURE__ */ n.jsx(
|
|
1046
|
+
"div",
|
|
1047
|
+
{
|
|
1048
|
+
className: i(
|
|
1049
|
+
"mt-6 grid grid-cols-1 gap-6 border-b border-blue-grey-500 pb-6 desktop:my-8 desktop:grid-cols-4 desktop:gap-10 desktop:pb-8",
|
|
1050
|
+
e == null ? void 0 : e.navRoot
|
|
1051
|
+
),
|
|
1052
|
+
children: t == null ? void 0 : t.map(({ groupLabel: o, links: r }) => /* @__PURE__ */ n.jsxs("div", { className: i("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
|
|
1053
|
+
/* @__PURE__ */ n.jsx("div", { className: i("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: o }),
|
|
1054
|
+
/* @__PURE__ */ n.jsx("div", { className: i("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: r == null ? void 0 : r.map(({ text: a, href: d }) => /* @__PURE__ */ n.jsx(
|
|
1055
|
+
E,
|
|
1056
|
+
{
|
|
1057
|
+
href: d,
|
|
1058
|
+
"aria-label": a,
|
|
1059
|
+
intent: "white",
|
|
1060
|
+
classes: {
|
|
1061
|
+
link: e == null ? void 0 : e.navLink,
|
|
1062
|
+
icon: e == null ? void 0 : e.navLinkIcon
|
|
1063
|
+
},
|
|
1064
|
+
children: a
|
|
1065
|
+
},
|
|
1066
|
+
a
|
|
1067
|
+
)) })
|
|
1068
|
+
] }, o))
|
|
1069
|
+
}
|
|
1070
|
+
), be = ({ text: t, classes: e, withSiteMap: o }) => /* @__PURE__ */ n.jsx("div", { className: i("desk-body-regular-m text-color-footer", { "mt-6 desktop:mt-8": !o }, e == null ? void 0 : e.copyRight), children: t }), ge = ({ classes: t }) => /* @__PURE__ */ n.jsx(
|
|
1071
|
+
"a",
|
|
1072
|
+
{
|
|
1073
|
+
"aria-label": "logo",
|
|
1074
|
+
href: "https://sovcombank.ru/",
|
|
1075
|
+
className: i("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", t == null ? void 0 : t.footerLogo),
|
|
1076
|
+
children: /* @__PURE__ */ n.jsx(m, { name: "brandLogos/logoWhite", className: i("size-full", t == null ? void 0 : t.footerLogoIcon) })
|
|
1077
|
+
}
|
|
1078
|
+
), he = ({ classes: t }) => /* @__PURE__ */ n.jsx(
|
|
1079
|
+
E,
|
|
1080
|
+
{
|
|
1081
|
+
intent: "white",
|
|
1082
|
+
href: "https://sovcombank.ru/site-map",
|
|
1083
|
+
target: "_blank",
|
|
1084
|
+
"aria-label": "site-map",
|
|
1085
|
+
rel: "noreferrer",
|
|
1086
|
+
classes: {
|
|
1087
|
+
link: i("mobile:mt-6", t == null ? void 0 : t.siteMapLink),
|
|
1088
|
+
icon: t == null ? void 0 : t.siteMapLinkIcon
|
|
1089
|
+
},
|
|
1090
|
+
children: "Карта сайта"
|
|
1091
|
+
}
|
|
1092
|
+
), Ge = ({
|
|
1093
|
+
renderBlocks: { withSocial: t = !0, withPhones: e = !0, withNavLinks: o = !0, withCopyright: r = !0, withSiteMap: a = !0 } = {},
|
|
1094
|
+
socialsLinks: d = ue,
|
|
1095
|
+
phones: l = fe,
|
|
1096
|
+
navigationLinks: u = me,
|
|
1097
|
+
ligal: b,
|
|
1098
|
+
copyright: O = pe,
|
|
1099
|
+
classes: p
|
|
1100
|
+
}) => /* @__PURE__ */ n.jsx("footer", { className: i("w-full bg-color-footer py-8 desktop:py-10", p == null ? void 0 : p.root), children: /* @__PURE__ */ n.jsx(g, { className: i(p == null ? void 0 : p.footerContainer), children: /* @__PURE__ */ n.jsxs("div", { className: i("mobile:pb-[176px]", p == null ? void 0 : p.footerWrapper), children: [
|
|
1101
|
+
/* @__PURE__ */ n.jsxs(
|
|
1102
|
+
"div",
|
|
1021
1103
|
{
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
e == null ? void 0 : e.navLink
|
|
1104
|
+
className: i(
|
|
1105
|
+
"flex flex-col items-start justify-between gap-4 border-b border-solid border-blue-grey-500 pb-6 desktop:flex-row desktop:gap-6 desktop:pb-8",
|
|
1106
|
+
p == null ? void 0 : p.footerHead
|
|
1026
1107
|
),
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
{
|
|
1042
|
-
tabIndex: 0,
|
|
1043
|
-
role: "button",
|
|
1044
|
-
onClick: () => t((u) => !u),
|
|
1045
|
-
className: a(
|
|
1046
|
-
"desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
|
|
1047
|
-
e == null ? void 0 : e.ligalButton
|
|
1048
|
-
),
|
|
1049
|
-
children: "Подробнее"
|
|
1050
|
-
}
|
|
1051
|
-
)
|
|
1052
|
-
] });
|
|
1053
|
-
}, he = ({ text: r, classes: e }) => /* @__PURE__ */ o.jsx("div", { className: a("desk-body-regular-m text-color-footer", e == null ? void 0 : e.text), children: r }), Ue = ({
|
|
1054
|
-
withSocial: r = !0,
|
|
1055
|
-
withPhones: e = !0,
|
|
1056
|
-
withNavLinks: n = !0,
|
|
1057
|
-
withLigal: t = !0,
|
|
1058
|
-
withCopyright: i = !0,
|
|
1059
|
-
withSiteMap: d = !0,
|
|
1060
|
-
socialsLinks: f = me,
|
|
1061
|
-
phones: u = ue,
|
|
1062
|
-
navigationLinks: k = ce,
|
|
1063
|
-
ligal: M = pe,
|
|
1064
|
-
copyright: Z = fe,
|
|
1065
|
-
classes: l
|
|
1066
|
-
}) => /* @__PURE__ */ o.jsx(T, { className: a("w-full", l == null ? void 0 : l.section), children: /* @__PURE__ */ o.jsx(g, { className: a(l == null ? void 0 : l.container), children: /* @__PURE__ */ o.jsxs("div", { className: a("bg-color-footer px-4 py-8 desktop:px-6 desktop:py-10", l == null ? void 0 : l.footerRoot), children: [
|
|
1067
|
-
/* @__PURE__ */ o.jsxs("div", { className: a("mb-8 flex items-center justify-between gap-6", l == null ? void 0 : l.footerHead), children: [
|
|
1068
|
-
/* @__PURE__ */ o.jsxs("div", { className: a(l == null ? void 0 : l.footerSocialBlock), children: [
|
|
1069
|
-
/* @__PURE__ */ o.jsx("a", { "aria-label": "logo", href: "/", className: a(l == null ? void 0 : l.footerLogo), children: /* @__PURE__ */ o.jsx(m, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
|
|
1070
|
-
r && /* @__PURE__ */ o.jsx(xe, { socialsLinks: f, classes: l })
|
|
1071
|
-
] }),
|
|
1072
|
-
e && /* @__PURE__ */ o.jsx(se, { phones: u, classes: l })
|
|
1073
|
-
] }),
|
|
1074
|
-
n && /* @__PURE__ */ o.jsx(ge, { navigationLinks: k, classes: l }),
|
|
1075
|
-
t && /* @__PURE__ */ o.jsx(be, { ligal: M, classes: l }),
|
|
1076
|
-
/* @__PURE__ */ o.jsxs("div", { className: "mt-6 flex items-start justify-between gap-6", children: [
|
|
1077
|
-
i && /* @__PURE__ */ o.jsx(he, { text: Z, classes: l }),
|
|
1078
|
-
d && /* @__PURE__ */ o.jsx(
|
|
1079
|
-
"a",
|
|
1080
|
-
{
|
|
1081
|
-
href: "https://sovcombank.ru/site-map",
|
|
1082
|
-
target: "_blank",
|
|
1083
|
-
"aria-label": "site-map",
|
|
1084
|
-
rel: "noreferrer",
|
|
1085
|
-
className: "desk-body-regular-m text-color-white",
|
|
1086
|
-
children: "Карта сайта"
|
|
1087
|
-
}
|
|
1088
|
-
)
|
|
1108
|
+
children: [
|
|
1109
|
+
/* @__PURE__ */ n.jsxs("div", { className: i(p == null ? void 0 : p.footerSocialBlock), children: [
|
|
1110
|
+
/* @__PURE__ */ n.jsx(ge, { classes: p }),
|
|
1111
|
+
t && /* @__PURE__ */ n.jsx(xe, { socialsLinks: d, classes: p })
|
|
1112
|
+
] }),
|
|
1113
|
+
e && /* @__PURE__ */ n.jsx(ce, { phones: l, classes: p })
|
|
1114
|
+
]
|
|
1115
|
+
}
|
|
1116
|
+
),
|
|
1117
|
+
o && /* @__PURE__ */ n.jsx(se, { navigationLinks: u, classes: p }),
|
|
1118
|
+
b && b,
|
|
1119
|
+
/* @__PURE__ */ n.jsxs("div", { className: "flex flex-col-reverse items-start justify-between gap-4 desktop:flex-row desktop:gap-6", children: [
|
|
1120
|
+
r && /* @__PURE__ */ n.jsx(be, { text: O, classes: p, withSiteMap: a }),
|
|
1121
|
+
a && /* @__PURE__ */ n.jsx(he, { classes: p })
|
|
1089
1122
|
] })
|
|
1090
|
-
] }) }) }), ye = (
|
|
1091
|
-
switch (
|
|
1123
|
+
] }) }) }), ye = (t) => {
|
|
1124
|
+
switch (t.variant) {
|
|
1092
1125
|
case "withButton":
|
|
1093
|
-
return /* @__PURE__ */
|
|
1126
|
+
return /* @__PURE__ */ n.jsx(I, { intent: "secondary", size: "sm", ...t.buttonProps, children: "Оформить заявку" });
|
|
1094
1127
|
case "withPhone":
|
|
1095
|
-
const { phone: e, phoneText:
|
|
1096
|
-
return /* @__PURE__ */
|
|
1128
|
+
const { phone: e, phoneText: o } = t;
|
|
1129
|
+
return /* @__PURE__ */ n.jsx(T, { phone: e, text: o, ...t.phoneProps });
|
|
1097
1130
|
default:
|
|
1098
1131
|
return null;
|
|
1099
1132
|
}
|
|
1100
|
-
}, We = (
|
|
1101
|
-
const { logoPath: e = "/", logoType:
|
|
1102
|
-
return /* @__PURE__ */
|
|
1103
|
-
/* @__PURE__ */
|
|
1133
|
+
}, We = (t) => {
|
|
1134
|
+
const { logoPath: e = "/", logoType: o = "main", classes: r } = t;
|
|
1135
|
+
return /* @__PURE__ */ n.jsx("header", { className: i("flex h-[72px] items-center justify-center bg-color-white", r == null ? void 0 : r.header), children: /* @__PURE__ */ n.jsx(g, { className: i(r == null ? void 0 : r.container), children: /* @__PURE__ */ n.jsxs("div", { className: i("flex items-center justify-between gap-5", r == null ? void 0 : r.wrapper), children: [
|
|
1136
|
+
/* @__PURE__ */ n.jsx(
|
|
1104
1137
|
"a",
|
|
1105
1138
|
{
|
|
1106
1139
|
href: e,
|
|
1107
1140
|
"aria-label": "logo",
|
|
1108
1141
|
target: "_blank",
|
|
1109
1142
|
rel: "noreferrer",
|
|
1110
|
-
className:
|
|
1143
|
+
className: i(
|
|
1111
1144
|
"flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1112
|
-
|
|
1145
|
+
r == null ? void 0 : r.logo
|
|
1113
1146
|
),
|
|
1114
|
-
children: ee[
|
|
1147
|
+
children: ee[o]
|
|
1115
1148
|
}
|
|
1116
1149
|
),
|
|
1117
|
-
ye(
|
|
1150
|
+
ye(t)
|
|
1118
1151
|
] }) }) });
|
|
1119
|
-
}, we = ({ title:
|
|
1152
|
+
}, we = ({ title: t, description: e, index: o, classes: r }) => /* @__PURE__ */ n.jsxs(
|
|
1120
1153
|
"div",
|
|
1121
1154
|
{
|
|
1122
|
-
className:
|
|
1155
|
+
className: i(
|
|
1123
1156
|
"flex w-[328px] max-w-[328px] flex-col gap-6 rounded-md border border-solid border-blue-grey-500 p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
|
|
1124
|
-
|
|
1157
|
+
r == null ? void 0 : r.singleStep
|
|
1125
1158
|
),
|
|
1126
1159
|
children: [
|
|
1127
|
-
/* @__PURE__ */
|
|
1160
|
+
/* @__PURE__ */ n.jsx(
|
|
1128
1161
|
"div",
|
|
1129
1162
|
{
|
|
1130
|
-
className:
|
|
1163
|
+
className: i(
|
|
1131
1164
|
"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",
|
|
1132
|
-
|
|
1165
|
+
r == null ? void 0 : r.numeric
|
|
1133
1166
|
),
|
|
1134
|
-
children:
|
|
1167
|
+
children: o
|
|
1135
1168
|
}
|
|
1136
1169
|
),
|
|
1137
|
-
/* @__PURE__ */
|
|
1138
|
-
/* @__PURE__ */
|
|
1139
|
-
/* @__PURE__ */
|
|
1170
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("flex flex-col gap-4", r == null ? void 0 : r.textBlock), children: [
|
|
1171
|
+
/* @__PURE__ */ n.jsx(L, { as: "h4", className: i("text-color-dark", r == null ? void 0 : r.title), children: t }),
|
|
1172
|
+
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description), children: e })
|
|
1140
1173
|
] })
|
|
1141
1174
|
]
|
|
1142
1175
|
}
|
|
1143
|
-
), Xe = ({ heading:
|
|
1144
|
-
/* @__PURE__ */
|
|
1145
|
-
/* @__PURE__ */
|
|
1176
|
+
), Xe = ({ heading: t, stepsList: e, classes: o }) => /* @__PURE__ */ n.jsx(X, { children: /* @__PURE__ */ n.jsx(g, { children: /* @__PURE__ */ n.jsxs("div", { className: i("flex flex-col gap-12 desktop:items-start", o == null ? void 0 : o.root), children: [
|
|
1177
|
+
/* @__PURE__ */ n.jsx(L, { as: "h2", className: i("text-color-dark", o == null ? void 0 : o.headline), children: t }),
|
|
1178
|
+
/* @__PURE__ */ n.jsx(
|
|
1146
1179
|
"div",
|
|
1147
1180
|
{
|
|
1148
|
-
className:
|
|
1181
|
+
className: i(
|
|
1149
1182
|
"flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1150
|
-
|
|
1183
|
+
o == null ? void 0 : o.stepsWrapper
|
|
1151
1184
|
),
|
|
1152
|
-
children: e == null ? void 0 : e.map((
|
|
1185
|
+
children: e == null ? void 0 : e.map((r, a) => /* @__PURE__ */ n.jsx(we, { index: a + 1, ...r, classes: o }, r.title))
|
|
1153
1186
|
}
|
|
1154
1187
|
)
|
|
1155
|
-
] }) }) }), ve =
|
|
1188
|
+
] }) }) }), ve = c("", {
|
|
1156
1189
|
variants: {
|
|
1157
1190
|
intent: {
|
|
1158
1191
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -1168,7 +1201,7 @@ const le = {
|
|
|
1168
1201
|
defaultVariants: {
|
|
1169
1202
|
intent: "twoItems"
|
|
1170
1203
|
}
|
|
1171
|
-
}), ke =
|
|
1204
|
+
}), ke = c("desktop:max-h-[98px]", {
|
|
1172
1205
|
variants: {
|
|
1173
1206
|
intent: {
|
|
1174
1207
|
twoItems: "",
|
|
@@ -1200,7 +1233,7 @@ const le = {
|
|
|
1200
1233
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1201
1234
|
}
|
|
1202
1235
|
]
|
|
1203
|
-
}), je =
|
|
1236
|
+
}), je = c("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1204
1237
|
variants: {
|
|
1205
1238
|
intent: {
|
|
1206
1239
|
twoItems: 'last:border-none relative desktop:first:after:top-1/2 desktop:first:after:-translate-y-1/2 desktop:first:after:right-0 desktop:first:after:content-[""] desktop:first:after:block desktop:first:after:absolute desktop:first:after:w-[1px] desktop:first:after:h-[64px] desktop:first:after:bg-color-blue-grey-500 desktop:ml-8 desktop:pr-8 desktop:first:ml-0 desktop:last:pr-0 desktop:pb-3',
|
|
@@ -1210,7 +1243,7 @@ const le = {
|
|
|
1210
1243
|
defaultVariants: {
|
|
1211
1244
|
intent: "twoItems"
|
|
1212
1245
|
}
|
|
1213
|
-
}), Ne =
|
|
1246
|
+
}), Ne = c("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1214
1247
|
variants: {
|
|
1215
1248
|
intent: {
|
|
1216
1249
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -1236,47 +1269,47 @@ const le = {
|
|
|
1236
1269
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1237
1270
|
}
|
|
1238
1271
|
]
|
|
1239
|
-
}), Ie = ({ data:
|
|
1240
|
-
const { title:
|
|
1241
|
-
return /* @__PURE__ */
|
|
1242
|
-
/* @__PURE__ */
|
|
1243
|
-
/* @__PURE__ */
|
|
1244
|
-
|
|
1272
|
+
}), Ie = ({ data: t, intent: e }) => {
|
|
1273
|
+
const { title: o, description: r, popoverText: a } = t;
|
|
1274
|
+
return /* @__PURE__ */ n.jsx("li", { className: i(je({ intent: e })), children: /* @__PURE__ */ n.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
1275
|
+
/* @__PURE__ */ n.jsxs("div", { className: i("mb-2 flex items-center gap-2"), children: [
|
|
1276
|
+
/* @__PURE__ */ n.jsx("h4", { className: i("mob-title-bold-m text-color-dark"), children: o }),
|
|
1277
|
+
a && /* @__PURE__ */ n.jsx(G, { triggerElement: /* @__PURE__ */ n.jsx(m, { className: i("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: a })
|
|
1245
1278
|
] }),
|
|
1246
|
-
/* @__PURE__ */
|
|
1279
|
+
/* @__PURE__ */ n.jsx("p", { className: i("mob-body-regular-l text-color-secondary"), children: r })
|
|
1247
1280
|
] }) });
|
|
1248
|
-
}, N = ({ intent:
|
|
1249
|
-
title:
|
|
1281
|
+
}, N = ({ intent: t, title: e, desktopHidden: o = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ n.jsx("h2", { className: i(ve({ intent: t, desktopHidden: o, mobileHidden: r })), children: e }), De = ({ textContent: t, intent: e, withButton: o }) => /* @__PURE__ */ n.jsx("ul", { className: i(ke({ intent: e, withButton: o })), children: t == null ? void 0 : t.map((r, a) => /* @__PURE__ */ n.jsx(Ie, { intent: e, data: r }, a)) }), qe = ({
|
|
1282
|
+
title: t,
|
|
1250
1283
|
buttonConfig: e,
|
|
1251
|
-
intent:
|
|
1252
|
-
textContent:
|
|
1253
|
-
imageComponent:
|
|
1284
|
+
intent: o = "twoItems",
|
|
1285
|
+
textContent: r,
|
|
1286
|
+
imageComponent: a,
|
|
1254
1287
|
classes: d
|
|
1255
1288
|
}) => {
|
|
1256
|
-
const
|
|
1257
|
-
return /* @__PURE__ */
|
|
1258
|
-
|
|
1259
|
-
/* @__PURE__ */
|
|
1289
|
+
const l = !!e, u = o === "fourItems", b = o === "twoItems";
|
|
1290
|
+
return /* @__PURE__ */ n.jsx("section", { className: i(d == null ? void 0 : d.section), children: /* @__PURE__ */ n.jsxs(g, { className: i(d == null ? void 0 : d.mainContainer), children: [
|
|
1291
|
+
b && /* @__PURE__ */ n.jsx(N, { intent: o, title: t }),
|
|
1292
|
+
/* @__PURE__ */ n.jsxs(
|
|
1260
1293
|
"div",
|
|
1261
1294
|
{
|
|
1262
|
-
className:
|
|
1295
|
+
className: i(
|
|
1263
1296
|
"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",
|
|
1264
1297
|
d == null ? void 0 : d.contentContainer
|
|
1265
1298
|
),
|
|
1266
1299
|
children: [
|
|
1267
|
-
u && /* @__PURE__ */
|
|
1268
|
-
/* @__PURE__ */
|
|
1269
|
-
/* @__PURE__ */
|
|
1300
|
+
u && /* @__PURE__ */ n.jsx(N, { intent: o, title: t, desktopHidden: !0 }),
|
|
1301
|
+
/* @__PURE__ */ n.jsx("div", { className: i(Ne({ intent: o, withButton: l }), d == null ? void 0 : d.imgContainer), children: a }),
|
|
1302
|
+
/* @__PURE__ */ n.jsxs(
|
|
1270
1303
|
"div",
|
|
1271
1304
|
{
|
|
1272
|
-
className:
|
|
1305
|
+
className: i("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1273
1306
|
children: [
|
|
1274
|
-
u && /* @__PURE__ */
|
|
1275
|
-
/* @__PURE__ */
|
|
1276
|
-
|
|
1307
|
+
u && /* @__PURE__ */ n.jsx(N, { intent: o, title: t, mobileHidden: !0 }),
|
|
1308
|
+
/* @__PURE__ */ n.jsx(De, { textContent: r, intent: o, withButton: l }),
|
|
1309
|
+
l && /* @__PURE__ */ n.jsx(
|
|
1277
1310
|
I,
|
|
1278
1311
|
{
|
|
1279
|
-
className:
|
|
1312
|
+
className: i("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
|
|
1280
1313
|
size: "lg",
|
|
1281
1314
|
onClick: e.onClick,
|
|
1282
1315
|
intent: "secondary",
|
|
@@ -1294,50 +1327,51 @@ const le = {
|
|
|
1294
1327
|
export {
|
|
1295
1328
|
de as ApiError,
|
|
1296
1329
|
Ke as Badge,
|
|
1297
|
-
|
|
1330
|
+
Te as Breadcrumbs,
|
|
1298
1331
|
I as Button,
|
|
1299
1332
|
Fe as ButtonIcon,
|
|
1300
|
-
|
|
1333
|
+
E as CustomLink,
|
|
1301
1334
|
ze as Document,
|
|
1302
1335
|
Re as FloatButton,
|
|
1303
|
-
|
|
1304
|
-
|
|
1336
|
+
Ge as Footer,
|
|
1337
|
+
L as Heading,
|
|
1305
1338
|
m as Icon,
|
|
1339
|
+
Se as Ligal,
|
|
1306
1340
|
Ye as Loader,
|
|
1307
1341
|
qe as LongBanner,
|
|
1308
1342
|
We as PageHeader,
|
|
1309
|
-
|
|
1310
|
-
|
|
1343
|
+
T as PhoneView,
|
|
1344
|
+
Ae as ProgressBar,
|
|
1311
1345
|
g as ResponsiveContainer,
|
|
1312
1346
|
D as RgxCheckForHyphen,
|
|
1313
1347
|
re as RgxPatronymic,
|
|
1314
1348
|
te as RgxUnicode,
|
|
1315
|
-
|
|
1316
|
-
|
|
1349
|
+
X as Section,
|
|
1350
|
+
Be as Skeleton,
|
|
1317
1351
|
Xe as Stepper,
|
|
1318
1352
|
s as VALIDATION_MESSAGES,
|
|
1319
|
-
|
|
1353
|
+
w as allowedBackgroundColors,
|
|
1320
1354
|
B as allowedBackgroundDeg,
|
|
1321
|
-
|
|
1322
|
-
|
|
1355
|
+
z as allowedBannersBackgroundColors,
|
|
1356
|
+
A as allowedBorderRadius,
|
|
1323
1357
|
S as allowedFontSize,
|
|
1324
|
-
|
|
1358
|
+
x as allowedIconsColors,
|
|
1325
1359
|
R as allowedLineHeight,
|
|
1326
|
-
|
|
1360
|
+
v as allowedStrokeColors,
|
|
1327
1361
|
F as allowedTextColors,
|
|
1328
1362
|
P as allowedTextStyles,
|
|
1329
1363
|
ne as allowedZIndex,
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1364
|
+
Ze as apiInstance,
|
|
1365
|
+
Le as capitalize,
|
|
1366
|
+
i as cn,
|
|
1333
1367
|
le as defaultHeaders,
|
|
1334
|
-
|
|
1368
|
+
Oe as extendsPreset,
|
|
1335
1369
|
oe as formattedDadataFio,
|
|
1336
1370
|
et as isClient,
|
|
1337
|
-
|
|
1338
|
-
|
|
1371
|
+
Ee as mergeRefs,
|
|
1372
|
+
Ue as resetPreset,
|
|
1339
1373
|
tt as scrollToElement,
|
|
1340
|
-
|
|
1374
|
+
Me as tailwindConfigBase,
|
|
1341
1375
|
$e as zodCalendarValidate,
|
|
1342
1376
|
Pe as zodDadataFioSchema,
|
|
1343
1377
|
Ve as zodOtpCodeSchema,
|