@scbt-ecom/ui 0.16.3 → 0.17.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/CustomLink-DmCJLTWC.js +4090 -0
- package/dist/CustomLink-DmCJLTWC.js.map +1 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +7 -0
- package/dist/_commonjsHelpers-C6fGbg64.js.map +1 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +26 -0
- package/dist/api.js.map +1 -0
- package/dist/cn-DIfn7EPB.js +2276 -0
- package/dist/cn-DIfn7EPB.js.map +1 -0
- package/dist/configs.d.ts +2 -0
- package/dist/configs.js +615 -0
- package/dist/configs.js.map +1 -0
- package/dist/exports/api.d.ts +1 -0
- package/dist/exports/configs.d.ts +1 -0
- package/dist/exports/hooks.d.ts +1 -0
- package/dist/exports/types.d.ts +1 -0
- package/dist/exports/ui.d.ts +1 -0
- package/dist/exports/utils.d.ts +1 -0
- package/dist/exports/validation.d.ts +1 -0
- package/dist/exports/widgets.d.ts +1 -0
- package/dist/hooks.d.ts +2 -0
- package/dist/hooks.js +115 -0
- package/dist/hooks.js.map +1 -0
- package/dist/isClient-C9aZtt2Q.js +5 -0
- package/dist/isClient-C9aZtt2Q.js.map +1 -0
- package/dist/parse-Bv7rNn_R.js +5103 -0
- package/dist/parse-Bv7rNn_R.js.map +1 -0
- package/dist/scrollToElement-B-reg4jF.js +12 -0
- package/dist/scrollToElement-B-reg4jF.js.map +1 -0
- package/dist/shared/hooks/useDevice/index.d.ts +1 -0
- package/dist/shared/ui/button/Button.d.ts +1 -1
- package/dist/shared/ui/formElements/controlled/index.d.ts +1 -1
- package/dist/shared/ui/notification/ui/CustomToast.d.ts +1 -1
- package/dist/shared/ui/select/Select.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/ui.d.ts +2 -0
- package/dist/{client.js → ui.js} +10483 -11775
- package/dist/ui.js.map +1 -0
- package/dist/useDebounce-m2rLy7nL.js +1110 -0
- package/dist/useDebounce-m2rLy7nL.js.map +1 -0
- package/dist/useDevice-L83kSsN7.js +28 -0
- package/dist/useDevice-L83kSsN7.js.map +1 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +19 -0
- package/dist/utils.js.map +1 -0
- package/dist/validation.d.ts +2 -0
- package/dist/validation.js +82 -0
- package/dist/validation.js.map +1 -0
- package/dist/widgets/banner/ui/banners/BannerImageFull.d.ts +1 -1
- package/dist/widgets/banner/ui/banners/BannerWithSeparateImg.d.ts +1 -1
- package/dist/widgets.d.ts +2 -0
- package/dist/widgets.js +828 -0
- package/dist/widgets.js.map +1 -0
- package/package.json +27 -7
- package/dist/client.js.map +0 -1
- package/dist/hybrid.js +0 -1350
- package/dist/hybrid.js.map +0 -1
- package/dist/index-CexXWplL.js +0 -11391
- package/dist/index-CexXWplL.js.map +0 -1
- /package/dist/shared/hooks/{useDevice.d.ts → useDevice/useDevice.d.ts} +0 -0
package/dist/hybrid.js
DELETED
|
@@ -1,1350 +0,0 @@
|
|
|
1
|
-
import { j as n, c as i, I as u, a as x, R as g, B as N, z as f, p as O, i as U, g as _, H as C, P as Z } from "./index-CexXWplL.js";
|
|
2
|
-
import { b as Qe, L as Je, d as Ke, s as Ye } from "./index-CexXWplL.js";
|
|
3
|
-
import { forwardRef as G } from "react";
|
|
4
|
-
const Ce = (t) => t.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Le = (...t) => {
|
|
5
|
-
const e = t.filter(Boolean);
|
|
6
|
-
return e.length <= 1 ? e[0] || null : function(r) {
|
|
7
|
-
e.forEach((a) => {
|
|
8
|
-
typeof a == "function" ? a(r) : a && (a.current = r);
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
}, W = ({ 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(
|
|
12
|
-
"div",
|
|
13
|
-
{
|
|
14
|
-
className: i(
|
|
15
|
-
"flex items-center gap-1 rounded-sm border-2 border-solid border-transparent px-1 focus-within:border-primary-focus",
|
|
16
|
-
{ "pointer-events-none !border-transparent": e == null ? void 0 : e.isDisabled }
|
|
17
|
-
),
|
|
18
|
-
children: [
|
|
19
|
-
/* @__PURE__ */ n.jsx(
|
|
20
|
-
"a",
|
|
21
|
-
{
|
|
22
|
-
href: e.path,
|
|
23
|
-
target: "_blank",
|
|
24
|
-
rel: "noreferrer",
|
|
25
|
-
className: i(
|
|
26
|
-
"desk-body-regular-m text-color-primary-default outline-none hover:text-color-primary-hover focus:text-color-primary-default",
|
|
27
|
-
{ "!text-color-disabled": e == null ? void 0 : e.isDisabled }
|
|
28
|
-
),
|
|
29
|
-
children: e.label
|
|
30
|
-
}
|
|
31
|
-
),
|
|
32
|
-
/* @__PURE__ */ n.jsx(
|
|
33
|
-
u,
|
|
34
|
-
{
|
|
35
|
-
name: "arrows/arrowRight",
|
|
36
|
-
className: i("size-4 text-icon-primary-default", { "!text-icon-disabled": e == null ? void 0 : e.isDisabled })
|
|
37
|
-
}
|
|
38
|
-
)
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
) : /* @__PURE__ */ n.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: e.label }) })) }), X = x(
|
|
42
|
-
"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",
|
|
43
|
-
{
|
|
44
|
-
variants: {
|
|
45
|
-
intent: {
|
|
46
|
-
primary: "text-icon-white bg-color-primary-default hover:bg-color-primary-hover active:bg-color-primary-hover focus:bg-color-primary-hover focus:outline-primary-focus disabled:bg-color-primary-disabled",
|
|
47
|
-
secondary: "text-icon-primary-default bg-color-transparent border border-solid outline-offset-4 border-primary-default hover:bg-color-primary-tr-hover hover:text-icon-primary-default hover:border-primary-hover active:bg-color-primary-tr-pressed active:border-primary-hover active:text-icon-primary-hover focus:bg-color-primary-tr-focus focus:outline-primary-focus disabled:bg-color-blue-grey-200 disabled:border-transparent disabled:text-icon-primary-disabled",
|
|
48
|
-
ghost: "text-icon-primary-default bg-color-transparent hover:bg-color-primary-tr-hover focus:bg-color-primary-tr-focus focus:outline-primary-focus active:text-icon-primary-hover active:bg-color-primary-tr-pressed disabled:bg-color-transparent disabled:text-icon-primary-disabled"
|
|
49
|
-
},
|
|
50
|
-
size: {
|
|
51
|
-
sm: "size-8",
|
|
52
|
-
md: "size-10",
|
|
53
|
-
lg: "size-12"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
defaultVariants: {
|
|
57
|
-
intent: "primary",
|
|
58
|
-
size: "lg"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
), Ee = G(
|
|
62
|
-
({ size: t, intent: e, children: o, classes: r, type: a = "button", ...d }, p) => /* @__PURE__ */ n.jsx("button", { ref: p, type: a, className: i(X({ 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 }) })
|
|
63
|
-
), q = x(
|
|
64
|
-
"group outline-none transition-colors duration-100 p-[2px] rounded-sm border border-solid border-transparent",
|
|
65
|
-
{
|
|
66
|
-
variants: {
|
|
67
|
-
intent: {
|
|
68
|
-
blue: "text-color-primary-default hover:text-color-primary-hover focus:text-color-primary-default focus:border-primary-focus",
|
|
69
|
-
white: "text-color-white hover:text-color-footer focus:text-color-white focus:border-primary-focus"
|
|
70
|
-
},
|
|
71
|
-
withUnderline: {
|
|
72
|
-
true: "underline underline-offset-4",
|
|
73
|
-
false: ""
|
|
74
|
-
},
|
|
75
|
-
withIcon: {
|
|
76
|
-
true: "flex items-center gap-1",
|
|
77
|
-
false: ""
|
|
78
|
-
},
|
|
79
|
-
disabled: {
|
|
80
|
-
true: "!text-color-primary-disabled pointer-events-none !border-transparent",
|
|
81
|
-
false: ""
|
|
82
|
-
},
|
|
83
|
-
size: {
|
|
84
|
-
sm: "desk-body-regular-m",
|
|
85
|
-
md: "desk-body-regular-l"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
defaultVariants: {
|
|
89
|
-
intent: "blue",
|
|
90
|
-
withIcon: !0,
|
|
91
|
-
disabled: !1,
|
|
92
|
-
size: "sm",
|
|
93
|
-
withUnderline: !1
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
), Q = x("size-6", {
|
|
97
|
-
variants: {
|
|
98
|
-
intent: {
|
|
99
|
-
blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
|
|
100
|
-
white: "text-icon-white group-hover:text-icon-footer group-focus:text-icon-white"
|
|
101
|
-
},
|
|
102
|
-
disabled: {
|
|
103
|
-
true: "!text-icon-primary-disabled pointer-events-none",
|
|
104
|
-
false: ""
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
defaultVariants: {
|
|
108
|
-
intent: "blue",
|
|
109
|
-
disabled: !1
|
|
110
|
-
}
|
|
111
|
-
}), L = ({
|
|
112
|
-
intent: t,
|
|
113
|
-
children: e,
|
|
114
|
-
withIcon: o,
|
|
115
|
-
disabled: r,
|
|
116
|
-
size: a,
|
|
117
|
-
icon: d = "arrows/arrowLink",
|
|
118
|
-
classes: p,
|
|
119
|
-
withUnderline: s,
|
|
120
|
-
...b
|
|
121
|
-
}) => /* @__PURE__ */ n.jsxs("a", { className: i(q({ intent: t, withIcon: o, withUnderline: s, disabled: r, size: a }), p == null ? void 0 : p.link), ...b, children: [
|
|
122
|
-
e,
|
|
123
|
-
o && /* @__PURE__ */ n.jsx(u, { name: d, className: i(Q({ intent: t, disabled: r }), p == null ? void 0 : p.icon) })
|
|
124
|
-
] }), J = x("size-8 transition-colors", {
|
|
125
|
-
variants: {
|
|
126
|
-
intent: {
|
|
127
|
-
outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
128
|
-
filled: "text-icon-primary-default group-hover:text-icon-primary-hover"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
defaultVariants: {
|
|
132
|
-
intent: "outline"
|
|
133
|
-
}
|
|
134
|
-
}), K = {
|
|
135
|
-
filled: "files/documentFilled",
|
|
136
|
-
outline: "files/documentOutline"
|
|
137
|
-
}, Fe = ({ text: t, size: e, sizeType: o, href: r, intent: a = "outline" }) => /* @__PURE__ */ n.jsxs(
|
|
138
|
-
"a",
|
|
139
|
-
{
|
|
140
|
-
href: r,
|
|
141
|
-
target: "_blank",
|
|
142
|
-
rel: "noreferrer",
|
|
143
|
-
tabIndex: 0,
|
|
144
|
-
className: i(
|
|
145
|
-
"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]"
|
|
146
|
-
),
|
|
147
|
-
children: [
|
|
148
|
-
/* @__PURE__ */ n.jsx(u, { name: K[a], className: i(J({ intent: a })) }),
|
|
149
|
-
/* @__PURE__ */ n.jsxs("div", { className: i("flex flex-1 flex-col"), children: [
|
|
150
|
-
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-medium-l text-color-dark"), children: t }),
|
|
151
|
-
/* @__PURE__ */ n.jsxs("div", { className: i("desk-body-regular-m text-color-disabled"), children: [
|
|
152
|
-
e,
|
|
153
|
-
" ",
|
|
154
|
-
o
|
|
155
|
-
] })
|
|
156
|
-
] })
|
|
157
|
-
]
|
|
158
|
-
}
|
|
159
|
-
), 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: [
|
|
160
|
-
/* @__PURE__ */ n.jsx(
|
|
161
|
-
"a",
|
|
162
|
-
{
|
|
163
|
-
href: `tel:${t}`,
|
|
164
|
-
className: i("mob-body-medium-l ml-auto text-color-dark desktop:desk-body-medium-l", o == null ? void 0 : o.link),
|
|
165
|
-
children: t
|
|
166
|
-
}
|
|
167
|
-
),
|
|
168
|
-
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-regular-s text-color-tetriary", o == null ? void 0 : o.text), children: e })
|
|
169
|
-
] }), ze = ({ 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: [
|
|
170
|
-
t && /* @__PURE__ */ n.jsx("div", { className: i("mb-2 flex justify-between gap-5", a == null ? void 0 : a.topContent), children: t }),
|
|
171
|
-
/* @__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: [
|
|
172
|
-
/* @__PURE__ */ n.jsx(
|
|
173
|
-
"div",
|
|
174
|
-
{
|
|
175
|
-
style: { width: `${o}%` },
|
|
176
|
-
className: i("relative z-10 h-2 rounded-md bg-color-positive transition-all", a == null ? void 0 : a.progress)
|
|
177
|
-
}
|
|
178
|
-
),
|
|
179
|
-
/* @__PURE__ */ n.jsx(
|
|
180
|
-
"span",
|
|
181
|
-
{
|
|
182
|
-
style: { maxWidth: `${r}%` },
|
|
183
|
-
className: i(
|
|
184
|
-
"progressBar-apply z-1 absolute top-1/2 h-full w-full -translate-y-1/2 animate-progress-loader rounded-md",
|
|
185
|
-
a == null ? void 0 : a.loader
|
|
186
|
-
)
|
|
187
|
-
}
|
|
188
|
-
)
|
|
189
|
-
] }),
|
|
190
|
-
e && /* @__PURE__ */ n.jsx("div", { className: i("mt-2 flex justify-between gap-5", a == null ? void 0 : a.bottomContent), children: e })
|
|
191
|
-
] }), Ae = ({ className: t }) => /* @__PURE__ */ n.jsx("div", { className: i("skeleton-apply h-full w-full", t) }), Y = {
|
|
192
|
-
main: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoMain" }),
|
|
193
|
-
white: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoWhite" }),
|
|
194
|
-
gray: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoGray" }),
|
|
195
|
-
black: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoBlack" }),
|
|
196
|
-
business: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoBusiness" }),
|
|
197
|
-
insurance: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoInsurance" })
|
|
198
|
-
}, Be = ({ isVisible: t, classes: e, children: o, buttonProps: r }) => /* @__PURE__ */ n.jsxs(
|
|
199
|
-
g,
|
|
200
|
-
{
|
|
201
|
-
className: i(
|
|
202
|
-
"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",
|
|
203
|
-
{ "translate-y-[100%]": !t },
|
|
204
|
-
e == null ? void 0 : e.root
|
|
205
|
-
),
|
|
206
|
-
children: [
|
|
207
|
-
o,
|
|
208
|
-
/* @__PURE__ */ n.jsx(N, { size: "lg", className: i("m-auto w-full", e == null ? void 0 : e.button), ...r, children: "Оформить заявку" })
|
|
209
|
-
]
|
|
210
|
-
}
|
|
211
|
-
), ee = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, I = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, te = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, c = {
|
|
212
|
-
REQUIRED: "Поле обязательно к заполнению",
|
|
213
|
-
MIN_LENGTH: "Минимальная длина символов должна быть не менее",
|
|
214
|
-
MAX_LENGTH: "Максимальная длина символов должна быть не более",
|
|
215
|
-
FIX_LENGTH: "Длина символов должна быть равна",
|
|
216
|
-
MAX_LENGTH_ELEMENTS: "Максимальное количество элементов должно быть не более",
|
|
217
|
-
MIN_LENGTH_ELEMENTS: "Минимальное количество элементов должно быть не менее",
|
|
218
|
-
FIX_LENGTH_ELEMENTS: "Количество элементов должно быть равно",
|
|
219
|
-
INVALID_VALUE: "Поле заполнено некорректно",
|
|
220
|
-
INVALID_DATE: "Введите корректную дату",
|
|
221
|
-
FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
|
|
222
|
-
}, re = (t) => {
|
|
223
|
-
const e = t.trim().replace(/\s+/g, " ").split(" "), [o, r, ...a] = e, d = a == null ? void 0 : a.join(" ");
|
|
224
|
-
return {
|
|
225
|
-
surname: o,
|
|
226
|
-
name: r,
|
|
227
|
-
patronymic: d
|
|
228
|
-
};
|
|
229
|
-
}, Se = f.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((t, e) => {
|
|
230
|
-
t === "" && e.addIssue({
|
|
231
|
-
code: f.ZodIssueCode.custom,
|
|
232
|
-
message: "Введите имя и фамилию"
|
|
233
|
-
}), ee.test(t) || e.addIssue({
|
|
234
|
-
code: f.ZodIssueCode.custom,
|
|
235
|
-
message: "Должна быть только кириллица"
|
|
236
|
-
});
|
|
237
|
-
const { surname: o, name: r, patronymic: a } = re(t);
|
|
238
|
-
(!o || !r) && e.addIssue({
|
|
239
|
-
code: f.ZodIssueCode.custom,
|
|
240
|
-
message: "Введите имя и фамилию"
|
|
241
|
-
}), I.test(r) || e.addIssue({
|
|
242
|
-
code: f.ZodIssueCode.custom,
|
|
243
|
-
message: "Неверно введено имя"
|
|
244
|
-
}), I.test(o) || e.addIssue({
|
|
245
|
-
code: f.ZodIssueCode.custom,
|
|
246
|
-
message: "Неверно введена фамилия"
|
|
247
|
-
}), a && (te.test(a) || e.addIssue({
|
|
248
|
-
code: f.ZodIssueCode.custom,
|
|
249
|
-
message: "Неверно введено отчество"
|
|
250
|
-
}));
|
|
251
|
-
}), Re = f.string().length(10, { message: c.INVALID_DATE }).superRefine((t, e) => {
|
|
252
|
-
const [o, r, a] = (t == null ? void 0 : t.split(".")) ?? "", d = O(`${o}/${r}/${a}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
253
|
-
+a <= 1950 && e.addIssue({
|
|
254
|
-
code: f.ZodIssueCode.custom,
|
|
255
|
-
message: c.INVALID_DATE
|
|
256
|
-
}), U(d) || e.addIssue({
|
|
257
|
-
code: f.ZodIssueCode.custom,
|
|
258
|
-
message: c.INVALID_DATE
|
|
259
|
-
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
260
|
-
code: f.ZodIssueCode.custom,
|
|
261
|
-
message: c.FUTURE_DATE_NOT_ALLOWED
|
|
262
|
-
});
|
|
263
|
-
}), Pe = f.string().superRefine((t, e) => {
|
|
264
|
-
const o = t.charAt(0);
|
|
265
|
-
["3", "4", "5", "6", "9"].includes(o) || e.addIssue({
|
|
266
|
-
code: f.ZodIssueCode.custom,
|
|
267
|
-
message: "Код города/оператора должен начинаться с цифры 3, 4, 5, 6 или 9"
|
|
268
|
-
}), t.length !== 10 && e.addIssue({
|
|
269
|
-
code: f.ZodIssueCode.custom,
|
|
270
|
-
message: "Введите номер телефона полностью"
|
|
271
|
-
});
|
|
272
|
-
}).transform((t) => `7${t}`), $e = f.coerce.number().min(1e3, `${c.FIX_LENGTH} 4`).max(9999, `${c.FIX_LENGTH} 4`).nullable().superRefine((t, e) => {
|
|
273
|
-
t === null && e.addIssue({
|
|
274
|
-
code: f.ZodIssueCode.invalid_type,
|
|
275
|
-
expected: "number",
|
|
276
|
-
received: "null",
|
|
277
|
-
message: `${c.FIX_LENGTH} 4`
|
|
278
|
-
});
|
|
279
|
-
}).default(null), h = {
|
|
280
|
-
transparent: "transparent",
|
|
281
|
-
current: "currentColor",
|
|
282
|
-
inherit: "inherit",
|
|
283
|
-
initial: "initial"
|
|
284
|
-
}, y = {
|
|
285
|
-
"blue-grey-100": "#f3f4f7",
|
|
286
|
-
"blue-grey-200": "#eaedf1",
|
|
287
|
-
"blue-grey-300": "#d4dbe2",
|
|
288
|
-
"blue-grey-500": "#a9b6c5",
|
|
289
|
-
footer: "#40465a",
|
|
290
|
-
negative: "#f42500",
|
|
291
|
-
"negative-light": "#ffd2ca",
|
|
292
|
-
positive: "#76bc21",
|
|
293
|
-
"positive-light": "#e4f6ce",
|
|
294
|
-
"primary-default": "#003790",
|
|
295
|
-
"primary-focus": "#2477ff",
|
|
296
|
-
"primary-hover": "#042e73",
|
|
297
|
-
"primary-light-default": "#f0f4f9",
|
|
298
|
-
"primary-tr-focus": "#0037901f",
|
|
299
|
-
"primary-tr-hover": "#00379014",
|
|
300
|
-
"primary-tr-pressed": "#00379033",
|
|
301
|
-
"secondary-default": "#fc5055",
|
|
302
|
-
"secondary-hover": "#f12f34",
|
|
303
|
-
warning: "#f49f00",
|
|
304
|
-
"warning-light": "#ffeecc",
|
|
305
|
-
white: "#ffffff",
|
|
306
|
-
"primary-disabled": "#809bc7",
|
|
307
|
-
"secondary-disabled": "#FFB7BF",
|
|
308
|
-
dark: "#292929",
|
|
309
|
-
purple: "#5f40bd",
|
|
310
|
-
"purple-hover": "#52399d",
|
|
311
|
-
overlay: "#0000004d",
|
|
312
|
-
...h
|
|
313
|
-
}, E = {
|
|
314
|
-
dark: "#292929",
|
|
315
|
-
disabled: "#a9b6c5",
|
|
316
|
-
footer: "#c3c3c3",
|
|
317
|
-
negative: "#f42500",
|
|
318
|
-
positive: "#76bc21",
|
|
319
|
-
"primary-default": "#003790",
|
|
320
|
-
"primary-hover": "#042e73",
|
|
321
|
-
secondary: "#40465a",
|
|
322
|
-
tetriary: "#5a6e85",
|
|
323
|
-
warning: "#f49f00",
|
|
324
|
-
white: "#ffffff",
|
|
325
|
-
"primary-disabled": "#809bc7",
|
|
326
|
-
"blue-grey-600": "#94a4b7",
|
|
327
|
-
...h
|
|
328
|
-
}, F = {
|
|
329
|
-
"barvcray-200": "#ebeef4",
|
|
330
|
-
"barvcray-300": "#dde1e8",
|
|
331
|
-
"greymint-200": "#deecee",
|
|
332
|
-
"lavender-100": "#f7f7ff",
|
|
333
|
-
"lavender-200": "#ecedfa",
|
|
334
|
-
"lavender-300": "#d0d3f1",
|
|
335
|
-
"lightblue-300": "#bed3ec",
|
|
336
|
-
"mint-200": "#e4f5ed",
|
|
337
|
-
"salmon-200": "#faecec",
|
|
338
|
-
"skyblue-100": "#f4f8fe",
|
|
339
|
-
"skyblue-200": "#e7f3ff",
|
|
340
|
-
"skyblue-300": "#d9edff",
|
|
341
|
-
...h
|
|
342
|
-
}, m = {
|
|
343
|
-
"accent-default": "#2477ff",
|
|
344
|
-
"accent-hover": "#0053da",
|
|
345
|
-
"blue-grey-100": "#f3f4f7",
|
|
346
|
-
"blue-grey-600": "#94a4b7",
|
|
347
|
-
"blue-grey-700": "#69809a",
|
|
348
|
-
"blue-grey-800": "#5a6e85",
|
|
349
|
-
"dark-default": "#292929",
|
|
350
|
-
"dark-hover": "#535353",
|
|
351
|
-
disabled: "#a9b6c5",
|
|
352
|
-
"negative-default": "#f42500",
|
|
353
|
-
"negative-hover": "#c31e00",
|
|
354
|
-
"positive-default": "#76bc21",
|
|
355
|
-
"positive-hover": "#598d19",
|
|
356
|
-
"primary-default": "#003790",
|
|
357
|
-
"primary-hover": "#042e73",
|
|
358
|
-
"secondary-dark-default": "#f12f34",
|
|
359
|
-
"secondary-dark-hover": "#c40309",
|
|
360
|
-
"secondary-default": "#fc5055",
|
|
361
|
-
"secondary-hover": "#f12f34",
|
|
362
|
-
"warning-default": "#f49f00",
|
|
363
|
-
"warning-hover": "#d68b00",
|
|
364
|
-
white: "#ffffff",
|
|
365
|
-
"primary-disabled": "#809bc7",
|
|
366
|
-
footer: "#C3C3C3",
|
|
367
|
-
...h
|
|
368
|
-
}, w = {
|
|
369
|
-
"blue-grey-500": "#a9b6c5",
|
|
370
|
-
"blue-grey-700": "#69809a",
|
|
371
|
-
"blue-grey-800": "#5a6e85",
|
|
372
|
-
dark: "#292929",
|
|
373
|
-
negative: "#f42500",
|
|
374
|
-
positive: "#76bc21",
|
|
375
|
-
"primary-default": "#003790",
|
|
376
|
-
"primary-focus": "#2477ff",
|
|
377
|
-
"primary-hover": "#042e73",
|
|
378
|
-
"primary-light": "#f0f4f9",
|
|
379
|
-
"secondary-default": "#fc5055",
|
|
380
|
-
"secondary-hover": "#f12f34",
|
|
381
|
-
"warm-grey-200": "#e4e4e4",
|
|
382
|
-
"warm-grey-300": "#c3c3c3",
|
|
383
|
-
warning: "#f49f00",
|
|
384
|
-
white: "#ffffff",
|
|
385
|
-
"primary-disabled": "#809bc7",
|
|
386
|
-
...h
|
|
387
|
-
}, z = {
|
|
388
|
-
none: "0",
|
|
389
|
-
sm: "4px",
|
|
390
|
-
md: "8px",
|
|
391
|
-
lg: "16px",
|
|
392
|
-
full: "9999px"
|
|
393
|
-
}, A = {
|
|
394
|
-
30: "30deg",
|
|
395
|
-
45: "45deg",
|
|
396
|
-
80: "80deg",
|
|
397
|
-
90: "90deg",
|
|
398
|
-
110: "110deg",
|
|
399
|
-
180: "180deg"
|
|
400
|
-
}, oe = {
|
|
401
|
-
0: "0",
|
|
402
|
-
1: "1",
|
|
403
|
-
10: "10",
|
|
404
|
-
30: "30",
|
|
405
|
-
50: "50",
|
|
406
|
-
100: "100",
|
|
407
|
-
250: "250",
|
|
408
|
-
500: "500",
|
|
409
|
-
1e3: "1000"
|
|
410
|
-
}, B = {
|
|
411
|
-
12: "12px",
|
|
412
|
-
14: "14px",
|
|
413
|
-
16: "16px",
|
|
414
|
-
18: "18px",
|
|
415
|
-
20: "20px",
|
|
416
|
-
24: "24px",
|
|
417
|
-
28: "28px",
|
|
418
|
-
32: "32px",
|
|
419
|
-
40: "40px"
|
|
420
|
-
}, S = {
|
|
421
|
-
16: "16px",
|
|
422
|
-
20: "20px",
|
|
423
|
-
22: "22px",
|
|
424
|
-
24: "24px",
|
|
425
|
-
30: "30px",
|
|
426
|
-
32: "32px",
|
|
427
|
-
40: "40px",
|
|
428
|
-
48: "48px"
|
|
429
|
-
}, R = {
|
|
430
|
-
/* # Headline */
|
|
431
|
-
".mob-headline-bold-m": {
|
|
432
|
-
"@apply font-bold text-28 leading-32": ""
|
|
433
|
-
},
|
|
434
|
-
".mob-headline-bold-s": {
|
|
435
|
-
"@apply font-bold text-24 leading-30": ""
|
|
436
|
-
},
|
|
437
|
-
/* # Title */
|
|
438
|
-
".mob-title-bold-l": {
|
|
439
|
-
"@apply font-bold text-20 leading-24": ""
|
|
440
|
-
},
|
|
441
|
-
".mob-title-bold-m": {
|
|
442
|
-
"@apply font-bold text-18 leading-22": ""
|
|
443
|
-
},
|
|
444
|
-
/* # Body */
|
|
445
|
-
".mob-body-medium-l": {
|
|
446
|
-
"@apply font-medium text-16 leading-22": ""
|
|
447
|
-
},
|
|
448
|
-
".mob-body-regular-l": {
|
|
449
|
-
"@apply font-normal text-16 leading-22": ""
|
|
450
|
-
},
|
|
451
|
-
".mob-body-medium-m": {
|
|
452
|
-
"@apply font-medium text-14 leading-20": ""
|
|
453
|
-
},
|
|
454
|
-
".mob-body-regular-m": {
|
|
455
|
-
"@apply font-normal text-14 leading-20": ""
|
|
456
|
-
},
|
|
457
|
-
".mob-body-regular-s": {
|
|
458
|
-
"@apply font-normal text-12 leading-20": ""
|
|
459
|
-
},
|
|
460
|
-
/* -------- Desktop Typography -------- */
|
|
461
|
-
/* # Headline */
|
|
462
|
-
".desk-headline-bold-l": {
|
|
463
|
-
"@apply font-bold text-40 leading-48": ""
|
|
464
|
-
},
|
|
465
|
-
".desk-headline-bold-m": {
|
|
466
|
-
"@apply font-bold text-32 leading-40": ""
|
|
467
|
-
},
|
|
468
|
-
/* # Title */
|
|
469
|
-
".desk-title-bold-l": {
|
|
470
|
-
"@apply font-bold text-24 leading-30": ""
|
|
471
|
-
},
|
|
472
|
-
".desk-title-bold-s": {
|
|
473
|
-
"@apply font-bold text-18 leading-22": ""
|
|
474
|
-
},
|
|
475
|
-
/* # Body */
|
|
476
|
-
".desk-body-medium-l": {
|
|
477
|
-
"@apply font-medium text-16 leading-22": ""
|
|
478
|
-
},
|
|
479
|
-
".desk-body-regular-l": {
|
|
480
|
-
"@apply font-normal text-16 leading-22": ""
|
|
481
|
-
},
|
|
482
|
-
".desk-body-regular-m": {
|
|
483
|
-
"@apply font-normal text-14 leading-20": ""
|
|
484
|
-
},
|
|
485
|
-
".desk-body-regular-s": {
|
|
486
|
-
"@apply font-normal text-12 leading-16": ""
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
var P = {}, $ = {};
|
|
490
|
-
(function(t) {
|
|
491
|
-
Object.defineProperty(t, "__esModule", {
|
|
492
|
-
value: !0
|
|
493
|
-
}), Object.defineProperty(t, "default", {
|
|
494
|
-
enumerable: !0,
|
|
495
|
-
get: function() {
|
|
496
|
-
return o;
|
|
497
|
-
}
|
|
498
|
-
});
|
|
499
|
-
function e(r, a) {
|
|
500
|
-
return {
|
|
501
|
-
handler: r,
|
|
502
|
-
config: a
|
|
503
|
-
};
|
|
504
|
-
}
|
|
505
|
-
e.withOptions = function(r, a = () => ({})) {
|
|
506
|
-
const d = function(p) {
|
|
507
|
-
return {
|
|
508
|
-
__options: p,
|
|
509
|
-
handler: r(p),
|
|
510
|
-
config: a(p)
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
return d.__isOptionsFunction = !0, d.__pluginFunction = r, d.__configFunction = a, d;
|
|
514
|
-
};
|
|
515
|
-
const o = e;
|
|
516
|
-
})($);
|
|
517
|
-
(function(t) {
|
|
518
|
-
Object.defineProperty(t, "__esModule", {
|
|
519
|
-
value: !0
|
|
520
|
-
}), Object.defineProperty(t, "default", {
|
|
521
|
-
enumerable: !0,
|
|
522
|
-
get: function() {
|
|
523
|
-
return r;
|
|
524
|
-
}
|
|
525
|
-
});
|
|
526
|
-
const e = /* @__PURE__ */ o($);
|
|
527
|
-
function o(a) {
|
|
528
|
-
return a && a.__esModule ? a : {
|
|
529
|
-
default: a
|
|
530
|
-
};
|
|
531
|
-
}
|
|
532
|
-
const r = e.default;
|
|
533
|
-
})(P);
|
|
534
|
-
let k = P;
|
|
535
|
-
var H = (k.__esModule ? k : { default: k }).default;
|
|
536
|
-
const v = /* @__PURE__ */ _(H), ne = H;
|
|
537
|
-
function D(t) {
|
|
538
|
-
return Object.fromEntries(
|
|
539
|
-
Object.entries(t).filter(([e]) => e !== "DEFAULT")
|
|
540
|
-
);
|
|
541
|
-
}
|
|
542
|
-
var ie = ne(
|
|
543
|
-
({ addUtilities: t, matchUtilities: e, theme: o }) => {
|
|
544
|
-
t({
|
|
545
|
-
"@keyframes enter": o("keyframes.enter"),
|
|
546
|
-
"@keyframes exit": o("keyframes.exit"),
|
|
547
|
-
".animate-in": {
|
|
548
|
-
animationName: "enter",
|
|
549
|
-
animationDuration: o("animationDuration.DEFAULT"),
|
|
550
|
-
"--tw-enter-opacity": "initial",
|
|
551
|
-
"--tw-enter-scale": "initial",
|
|
552
|
-
"--tw-enter-rotate": "initial",
|
|
553
|
-
"--tw-enter-translate-x": "initial",
|
|
554
|
-
"--tw-enter-translate-y": "initial"
|
|
555
|
-
},
|
|
556
|
-
".animate-out": {
|
|
557
|
-
animationName: "exit",
|
|
558
|
-
animationDuration: o("animationDuration.DEFAULT"),
|
|
559
|
-
"--tw-exit-opacity": "initial",
|
|
560
|
-
"--tw-exit-scale": "initial",
|
|
561
|
-
"--tw-exit-rotate": "initial",
|
|
562
|
-
"--tw-exit-translate-x": "initial",
|
|
563
|
-
"--tw-exit-translate-y": "initial"
|
|
564
|
-
}
|
|
565
|
-
}), e(
|
|
566
|
-
{
|
|
567
|
-
"fade-in": (r) => ({ "--tw-enter-opacity": r }),
|
|
568
|
-
"fade-out": (r) => ({ "--tw-exit-opacity": r })
|
|
569
|
-
},
|
|
570
|
-
{ values: o("animationOpacity") }
|
|
571
|
-
), e(
|
|
572
|
-
{
|
|
573
|
-
"zoom-in": (r) => ({ "--tw-enter-scale": r }),
|
|
574
|
-
"zoom-out": (r) => ({ "--tw-exit-scale": r })
|
|
575
|
-
},
|
|
576
|
-
{ values: o("animationScale") }
|
|
577
|
-
), e(
|
|
578
|
-
{
|
|
579
|
-
"spin-in": (r) => ({ "--tw-enter-rotate": r }),
|
|
580
|
-
"spin-out": (r) => ({ "--tw-exit-rotate": r })
|
|
581
|
-
},
|
|
582
|
-
{ values: o("animationRotate") }
|
|
583
|
-
), e(
|
|
584
|
-
{
|
|
585
|
-
"slide-in-from-top": (r) => ({
|
|
586
|
-
"--tw-enter-translate-y": `-${r}`
|
|
587
|
-
}),
|
|
588
|
-
"slide-in-from-bottom": (r) => ({
|
|
589
|
-
"--tw-enter-translate-y": r
|
|
590
|
-
}),
|
|
591
|
-
"slide-in-from-left": (r) => ({
|
|
592
|
-
"--tw-enter-translate-x": `-${r}`
|
|
593
|
-
}),
|
|
594
|
-
"slide-in-from-right": (r) => ({
|
|
595
|
-
"--tw-enter-translate-x": r
|
|
596
|
-
}),
|
|
597
|
-
"slide-out-to-top": (r) => ({
|
|
598
|
-
"--tw-exit-translate-y": `-${r}`
|
|
599
|
-
}),
|
|
600
|
-
"slide-out-to-bottom": (r) => ({
|
|
601
|
-
"--tw-exit-translate-y": r
|
|
602
|
-
}),
|
|
603
|
-
"slide-out-to-left": (r) => ({
|
|
604
|
-
"--tw-exit-translate-x": `-${r}`
|
|
605
|
-
}),
|
|
606
|
-
"slide-out-to-right": (r) => ({
|
|
607
|
-
"--tw-exit-translate-x": r
|
|
608
|
-
})
|
|
609
|
-
},
|
|
610
|
-
{ values: o("animationTranslate") }
|
|
611
|
-
), e(
|
|
612
|
-
{ duration: (r) => ({ animationDuration: r }) },
|
|
613
|
-
{ values: D(o("animationDuration")) }
|
|
614
|
-
), e(
|
|
615
|
-
{ delay: (r) => ({ animationDelay: r }) },
|
|
616
|
-
{ values: o("animationDelay") }
|
|
617
|
-
), e(
|
|
618
|
-
{ ease: (r) => ({ animationTimingFunction: r }) },
|
|
619
|
-
{ values: D(o("animationTimingFunction")) }
|
|
620
|
-
), t({
|
|
621
|
-
".running": { animationPlayState: "running" },
|
|
622
|
-
".paused": { animationPlayState: "paused" }
|
|
623
|
-
}), e(
|
|
624
|
-
{ "fill-mode": (r) => ({ animationFillMode: r }) },
|
|
625
|
-
{ values: o("animationFillMode") }
|
|
626
|
-
), e(
|
|
627
|
-
{ direction: (r) => ({ animationDirection: r }) },
|
|
628
|
-
{ values: o("animationDirection") }
|
|
629
|
-
), e(
|
|
630
|
-
{ repeat: (r) => ({ animationIterationCount: r }) },
|
|
631
|
-
{ values: o("animationRepeat") }
|
|
632
|
-
);
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
theme: {
|
|
636
|
-
extend: {
|
|
637
|
-
animationDelay: ({ theme: t }) => ({
|
|
638
|
-
...t("transitionDelay")
|
|
639
|
-
}),
|
|
640
|
-
animationDuration: ({ theme: t }) => ({
|
|
641
|
-
0: "0ms",
|
|
642
|
-
...t("transitionDuration")
|
|
643
|
-
}),
|
|
644
|
-
animationTimingFunction: ({ theme: t }) => ({
|
|
645
|
-
...t("transitionTimingFunction")
|
|
646
|
-
}),
|
|
647
|
-
animationFillMode: {
|
|
648
|
-
none: "none",
|
|
649
|
-
forwards: "forwards",
|
|
650
|
-
backwards: "backwards",
|
|
651
|
-
both: "both"
|
|
652
|
-
},
|
|
653
|
-
animationDirection: {
|
|
654
|
-
normal: "normal",
|
|
655
|
-
reverse: "reverse",
|
|
656
|
-
alternate: "alternate",
|
|
657
|
-
"alternate-reverse": "alternate-reverse"
|
|
658
|
-
},
|
|
659
|
-
animationOpacity: ({ theme: t }) => ({
|
|
660
|
-
DEFAULT: 0,
|
|
661
|
-
...t("opacity")
|
|
662
|
-
}),
|
|
663
|
-
animationTranslate: ({ theme: t }) => ({
|
|
664
|
-
DEFAULT: "100%",
|
|
665
|
-
...t("translate")
|
|
666
|
-
}),
|
|
667
|
-
animationScale: ({ theme: t }) => ({
|
|
668
|
-
DEFAULT: 0,
|
|
669
|
-
...t("scale")
|
|
670
|
-
}),
|
|
671
|
-
animationRotate: ({ theme: t }) => ({
|
|
672
|
-
DEFAULT: "30deg",
|
|
673
|
-
...t("rotate")
|
|
674
|
-
}),
|
|
675
|
-
animationRepeat: {
|
|
676
|
-
0: "0",
|
|
677
|
-
1: "1",
|
|
678
|
-
infinite: "infinite"
|
|
679
|
-
},
|
|
680
|
-
keyframes: {
|
|
681
|
-
enter: {
|
|
682
|
-
from: {
|
|
683
|
-
opacity: "var(--tw-enter-opacity, 1)",
|
|
684
|
-
transform: "translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))"
|
|
685
|
-
}
|
|
686
|
-
},
|
|
687
|
-
exit: {
|
|
688
|
-
to: {
|
|
689
|
-
opacity: "var(--tw-exit-opacity, 1)",
|
|
690
|
-
transform: "translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))"
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
);
|
|
698
|
-
const V = /* @__PURE__ */ _(ie), He = {
|
|
699
|
-
theme: {
|
|
700
|
-
backgroundColor: {
|
|
701
|
-
color: y,
|
|
702
|
-
banner: F,
|
|
703
|
-
icon: m
|
|
704
|
-
},
|
|
705
|
-
textColor: {
|
|
706
|
-
icon: m,
|
|
707
|
-
color: E
|
|
708
|
-
},
|
|
709
|
-
fill: m,
|
|
710
|
-
stroke: m,
|
|
711
|
-
borderColor: w,
|
|
712
|
-
outlineColor: w,
|
|
713
|
-
borderRadius: z,
|
|
714
|
-
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
715
|
-
fontSize: B,
|
|
716
|
-
lineHeight: S,
|
|
717
|
-
gradientColorStops: y,
|
|
718
|
-
boxShadow: {
|
|
719
|
-
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
720
|
-
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
721
|
-
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
722
|
-
},
|
|
723
|
-
extend: {
|
|
724
|
-
bgGradientDeg: A,
|
|
725
|
-
width: {
|
|
726
|
-
"popper-content": "var(--radix-popover-content-available-width)",
|
|
727
|
-
"popper-trigger": "var(--radix-popover-trigger-width)",
|
|
728
|
-
"autocomplete-input": "var(--input-width)",
|
|
729
|
-
"select-trigger": "var(--button-width)"
|
|
730
|
-
},
|
|
731
|
-
transitionDuration: {
|
|
732
|
-
DEFAULT: "0.3s",
|
|
733
|
-
12: "0.12s",
|
|
734
|
-
15: "0.15s",
|
|
735
|
-
2: "2s"
|
|
736
|
-
},
|
|
737
|
-
transitionTimingFunction: {
|
|
738
|
-
DEFAULT: "ease-in-out"
|
|
739
|
-
},
|
|
740
|
-
keyframes: {
|
|
741
|
-
slideDown: {
|
|
742
|
-
from: { height: "0px" },
|
|
743
|
-
to: { height: "var(--radix-accordion-content-height)" }
|
|
744
|
-
},
|
|
745
|
-
slideUp: {
|
|
746
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
747
|
-
to: { height: "0px" }
|
|
748
|
-
},
|
|
749
|
-
"scale-in": {
|
|
750
|
-
from: { opacity: "0", scale: "0" },
|
|
751
|
-
to: { opacity: "1", scale: "1" }
|
|
752
|
-
},
|
|
753
|
-
"progress-loader": {
|
|
754
|
-
"100%": {
|
|
755
|
-
backgroundPosition: "100% 100%"
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
"caret-blink": {
|
|
759
|
-
"0%,70%,100%": { opacity: "1" },
|
|
760
|
-
"20%,50%": { opacity: "0" }
|
|
761
|
-
},
|
|
762
|
-
shine: {
|
|
763
|
-
to: {
|
|
764
|
-
"background-position-x": "-200%"
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
animation: {
|
|
769
|
-
slideDown: "slideDown 0.3s cubic-bezier(0.87, 0, 0.13, 1)",
|
|
770
|
-
slideUp: "slideUp 0.3s cubic-bezier(0.87, 0, 0.13, 1)",
|
|
771
|
-
"scale-in": "scale-in 0.3s ease-in-out",
|
|
772
|
-
"progress-loader": "progress-loader 250s linear infinite",
|
|
773
|
-
"caret-blink": "caret-blink 1.25s ease-out infinite"
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
},
|
|
777
|
-
plugins: [
|
|
778
|
-
V,
|
|
779
|
-
v(({ addComponents: t }) => {
|
|
780
|
-
t(R);
|
|
781
|
-
}),
|
|
782
|
-
v(function({ matchUtilities: t, theme: e }) {
|
|
783
|
-
t(
|
|
784
|
-
{
|
|
785
|
-
"bg-deg-gradient": (o) => ({
|
|
786
|
-
"background-image": `linear-gradient(${o}, var(--tw-gradient-stops))`
|
|
787
|
-
})
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
values: Object.assign(e("bgGradientDeg", {}), {})
|
|
791
|
-
}
|
|
792
|
-
);
|
|
793
|
-
})
|
|
794
|
-
]
|
|
795
|
-
}, Ve = {
|
|
796
|
-
theme: {
|
|
797
|
-
extend: {
|
|
798
|
-
transitionDuration: {
|
|
799
|
-
DEFAULT: "0.3s",
|
|
800
|
-
12: "0.12s",
|
|
801
|
-
15: "0.15s",
|
|
802
|
-
2: "2s",
|
|
803
|
-
333: "333s"
|
|
804
|
-
},
|
|
805
|
-
transitionTimingFunction: {
|
|
806
|
-
DEFAULT: "ease-in-out"
|
|
807
|
-
},
|
|
808
|
-
keyframes: {
|
|
809
|
-
slideDown: {
|
|
810
|
-
from: { height: "0px" },
|
|
811
|
-
to: { height: "var(--radix-accordion-content-height)" }
|
|
812
|
-
},
|
|
813
|
-
slideUp: {
|
|
814
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
815
|
-
to: { height: "0px" }
|
|
816
|
-
},
|
|
817
|
-
"scale-in": {
|
|
818
|
-
from: { opacity: "0", scale: "0" },
|
|
819
|
-
to: { opacity: "1", scale: "1" }
|
|
820
|
-
},
|
|
821
|
-
"progress-loader": {
|
|
822
|
-
"100%": {
|
|
823
|
-
backgroundPosition: "100% 100%"
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
},
|
|
827
|
-
animation: {
|
|
828
|
-
slideDown: "slideDown 0.3s cubic-bezier(0.87, 0, 0.13, 1)",
|
|
829
|
-
slideUp: "slideUp 0.3s cubic-bezier(0.87, 0, 0.13, 1)",
|
|
830
|
-
"scale-in": "scale-in 0.3s ease-in-out",
|
|
831
|
-
"progress-loader": "progress-loader 250s linear infinite"
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
}, Me = {
|
|
836
|
-
theme: {
|
|
837
|
-
screens: {
|
|
838
|
-
mobile: { max: "1187px" },
|
|
839
|
-
desktop: "1188px"
|
|
840
|
-
},
|
|
841
|
-
backgroundColor: {
|
|
842
|
-
color: y,
|
|
843
|
-
banner: F,
|
|
844
|
-
icon: m
|
|
845
|
-
},
|
|
846
|
-
textColor: {
|
|
847
|
-
icon: m,
|
|
848
|
-
color: E
|
|
849
|
-
},
|
|
850
|
-
fill: m,
|
|
851
|
-
stroke: m,
|
|
852
|
-
borderColor: w,
|
|
853
|
-
outlineColor: w,
|
|
854
|
-
borderRadius: z,
|
|
855
|
-
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
856
|
-
fontSize: B,
|
|
857
|
-
lineHeight: S,
|
|
858
|
-
gradientColorStops: y,
|
|
859
|
-
boxShadow: {
|
|
860
|
-
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
861
|
-
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
862
|
-
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
863
|
-
},
|
|
864
|
-
zIndex: oe,
|
|
865
|
-
extend: {
|
|
866
|
-
bgGradientDeg: A
|
|
867
|
-
}
|
|
868
|
-
},
|
|
869
|
-
plugins: [
|
|
870
|
-
V,
|
|
871
|
-
v(({ addComponents: t }) => {
|
|
872
|
-
t(R);
|
|
873
|
-
}),
|
|
874
|
-
v(function({ matchUtilities: t, theme: e }) {
|
|
875
|
-
t(
|
|
876
|
-
{
|
|
877
|
-
"bg-deg-gradient": (o) => ({
|
|
878
|
-
"background-image": `linear-gradient(${o}, var(--tw-gradient-stops))`
|
|
879
|
-
})
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
values: Object.assign(e("bgGradientDeg", {}), {})
|
|
883
|
-
}
|
|
884
|
-
);
|
|
885
|
-
})
|
|
886
|
-
]
|
|
887
|
-
};
|
|
888
|
-
class ae extends Error {
|
|
889
|
-
constructor(e) {
|
|
890
|
-
super("ApiError: " + e.status), this.response = e;
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
const de = {
|
|
894
|
-
"Content-Type": "application/json"
|
|
895
|
-
}, Oe = async ({ url: t, init: e, baseUrl: o }) => {
|
|
896
|
-
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}`, {
|
|
897
|
-
headers: {
|
|
898
|
-
...de,
|
|
899
|
-
...r
|
|
900
|
-
},
|
|
901
|
-
body: a,
|
|
902
|
-
...e
|
|
903
|
-
});
|
|
904
|
-
if (!d.ok)
|
|
905
|
-
throw new ae(d);
|
|
906
|
-
return await d.json();
|
|
907
|
-
}, le = /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
908
|
-
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
909
|
-
/* @__PURE__ */ n.jsx("br", { className: "mobile:hidden" }),
|
|
910
|
-
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
911
|
-
] }), pe = [
|
|
912
|
-
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
913
|
-
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
914
|
-
], fe = [
|
|
915
|
-
{ iconName: "social/vk", href: "https://vk.com/sovcombank" },
|
|
916
|
-
{ iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
|
|
917
|
-
{ iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
|
|
918
|
-
], ue = [
|
|
919
|
-
{
|
|
920
|
-
groupLabel: "Совкомбанк",
|
|
921
|
-
links: [
|
|
922
|
-
{ text: "О банке", href: "/" },
|
|
923
|
-
{ text: "Реквизиты и лицензии", href: "/" },
|
|
924
|
-
{ text: "Пресс-центр", href: "/" },
|
|
925
|
-
{ text: "Удостоверяющий центр ПАО «Совкомбанк»", href: "/" },
|
|
926
|
-
{ text: "Работа у нас", href: "/" },
|
|
927
|
-
{ text: "Контакты", href: "/" },
|
|
928
|
-
{ text: "Раскрытие информации", href: "/" },
|
|
929
|
-
{ text: "Страница раскрытия информации в Интерфакс", href: "/" },
|
|
930
|
-
{ text: "Реализация залогового имущества", href: "/" },
|
|
931
|
-
{ text: "Клиентам и партнерам", href: "/" },
|
|
932
|
-
{ text: "Биометрия", href: "/" },
|
|
933
|
-
{ text: "Стандарты безопасности", href: "/" },
|
|
934
|
-
{ text: "Информация о процентных ставках по договорам банковского вклада с физическими лицами", href: "/" },
|
|
935
|
-
{ text: "ООО «Совком Финанс»", href: "/" },
|
|
936
|
-
{ text: "Безопасность", href: "/" }
|
|
937
|
-
]
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
groupLabel: "Сервисы",
|
|
941
|
-
links: [
|
|
942
|
-
{ text: "Подарочная карта «Халва»", href: "/" },
|
|
943
|
-
{ text: "Страховые продукты", href: "/" },
|
|
944
|
-
{ text: "МультиЮрист", href: "/" },
|
|
945
|
-
{ text: "Единая социальная карта «Уралочка»", href: "/" },
|
|
946
|
-
{ text: "Единая Карта Жителя Мурманской области", href: "/" },
|
|
947
|
-
{ text: "Безопасные расчёты", href: "/" },
|
|
948
|
-
{ text: "Улучшение кредитной истории", href: "/" },
|
|
949
|
-
{ text: "Дистанционные сервисы Совкомбанка", href: "/" },
|
|
950
|
-
{ text: "Программы реструктуризации долга", href: "/" }
|
|
951
|
-
]
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
groupLabel: "Услуги банка",
|
|
955
|
-
links: [
|
|
956
|
-
{ text: "Карты", href: "/" },
|
|
957
|
-
{ text: "Кредиты", href: "/" },
|
|
958
|
-
{ text: "Кредиты наличными", href: "/" },
|
|
959
|
-
{ text: "Ипотека", href: "/" },
|
|
960
|
-
{ text: "Автокредиты", href: "/" },
|
|
961
|
-
{ text: "Кредитный калькулятор", href: "/" },
|
|
962
|
-
{ text: "Вклады", href: "/" },
|
|
963
|
-
{ text: "Инвестиции", href: "/" },
|
|
964
|
-
{ text: "Платежи", href: "/" },
|
|
965
|
-
{ text: "Сервисы", href: "/" },
|
|
966
|
-
{ text: "Малому бизнесу и ИП", href: "/" },
|
|
967
|
-
{ text: "Корпоративным клиентам", href: "/" },
|
|
968
|
-
{ text: "CIB", href: "/" },
|
|
969
|
-
{ text: "Драгоценные металлы в слитках", href: "/" },
|
|
970
|
-
{ text: "Счета в драгоценных металлах", href: "/" }
|
|
971
|
-
]
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
groupLabel: "Клиентам других банков",
|
|
975
|
-
links: [
|
|
976
|
-
{ text: "Держателям карт рассрочки Банка Хоум Кредит", href: "/" },
|
|
977
|
-
{ text: "ПАО КБ «Восточный»", href: "/" },
|
|
978
|
-
{ text: "Держателям карт «Совесть»", href: "/" },
|
|
979
|
-
{ text: "АО «Нордеа Банк»", href: "/" },
|
|
980
|
-
{ text: "ЗАО «ДжиИ Мани банк»", href: "/" },
|
|
981
|
-
{ text: "АО «Меткомбанк»", href: "/" },
|
|
982
|
-
{ text: "АКБ «РосЕвроБанк» (АО)", href: "/" },
|
|
983
|
-
{ text: "ПАО «Татфондбанк»", href: "/" },
|
|
984
|
-
{ text: "АО АКБ «Экспресс-Волга»", href: "/" },
|
|
985
|
-
{ text: "АО «ВКАБАНК»", href: "/" },
|
|
986
|
-
{ text: "ООО «ОНЕЙ БАНК»", href: "/" },
|
|
987
|
-
{ text: "АО «Евразийский»", href: "/" },
|
|
988
|
-
{ text: "АО «НФК»", href: "/" },
|
|
989
|
-
{ text: "ООО «РТС-Капитал»", href: "/" },
|
|
990
|
-
{ text: "ООО «ИК Септем Капитал»", href: "/" },
|
|
991
|
-
{ text: "Помощь", href: "/" },
|
|
992
|
-
{ text: "Офисы и банкоматы", href: "/" }
|
|
993
|
-
]
|
|
994
|
-
}
|
|
995
|
-
], me = ({ 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(
|
|
996
|
-
"a",
|
|
997
|
-
{
|
|
998
|
-
className: i("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
999
|
-
href: r,
|
|
1000
|
-
"aria-label": o.replace("social/", ""),
|
|
1001
|
-
children: /* @__PURE__ */ n.jsx(u, { name: o, className: i("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1002
|
-
},
|
|
1003
|
-
r
|
|
1004
|
-
)) }), xe = ({ 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(
|
|
1005
|
-
T,
|
|
1006
|
-
{
|
|
1007
|
-
phone: o,
|
|
1008
|
-
text: r,
|
|
1009
|
-
classes: {
|
|
1010
|
-
wrapper: i(e == null ? void 0 : e.phoneWrapper),
|
|
1011
|
-
text: i("text-color-footer", e == null ? void 0 : e.phoneText),
|
|
1012
|
-
link: i("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
o
|
|
1016
|
-
)) }), ce = ({ navigationLinks: t, classes: e }) => /* @__PURE__ */ n.jsx(
|
|
1017
|
-
"div",
|
|
1018
|
-
{
|
|
1019
|
-
className: i(
|
|
1020
|
-
"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",
|
|
1021
|
-
e == null ? void 0 : e.navRoot
|
|
1022
|
-
),
|
|
1023
|
-
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: [
|
|
1024
|
-
/* @__PURE__ */ n.jsx("div", { className: i("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: o }),
|
|
1025
|
-
/* @__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(
|
|
1026
|
-
L,
|
|
1027
|
-
{
|
|
1028
|
-
href: d,
|
|
1029
|
-
"aria-label": a,
|
|
1030
|
-
intent: "white",
|
|
1031
|
-
classes: {
|
|
1032
|
-
link: e == null ? void 0 : e.navLink,
|
|
1033
|
-
icon: e == null ? void 0 : e.navLinkIcon
|
|
1034
|
-
},
|
|
1035
|
-
children: a
|
|
1036
|
-
},
|
|
1037
|
-
a
|
|
1038
|
-
)) })
|
|
1039
|
-
] }, o))
|
|
1040
|
-
}
|
|
1041
|
-
), se = ({ 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 }), be = ({ classes: t }) => /* @__PURE__ */ n.jsx(
|
|
1042
|
-
"a",
|
|
1043
|
-
{
|
|
1044
|
-
"aria-label": "logo",
|
|
1045
|
-
href: "https://sovcombank.ru/",
|
|
1046
|
-
className: i("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", t == null ? void 0 : t.footerLogo),
|
|
1047
|
-
children: /* @__PURE__ */ n.jsx(u, { name: "brandLogos/logoWhite", className: i("size-full", t == null ? void 0 : t.footerLogoIcon) })
|
|
1048
|
-
}
|
|
1049
|
-
), ge = ({ classes: t }) => /* @__PURE__ */ n.jsx(
|
|
1050
|
-
L,
|
|
1051
|
-
{
|
|
1052
|
-
intent: "white",
|
|
1053
|
-
href: "https://sovcombank.ru/site-map",
|
|
1054
|
-
target: "_blank",
|
|
1055
|
-
"aria-label": "site-map",
|
|
1056
|
-
rel: "noreferrer",
|
|
1057
|
-
classes: {
|
|
1058
|
-
link: i("mobile:mt-6", t == null ? void 0 : t.siteMapLink),
|
|
1059
|
-
icon: t == null ? void 0 : t.siteMapLinkIcon
|
|
1060
|
-
},
|
|
1061
|
-
children: "Карта сайта"
|
|
1062
|
-
}
|
|
1063
|
-
), Ue = ({
|
|
1064
|
-
renderBlocks: { withSocial: t = !0, withPhones: e = !0, withNavLinks: o = !0, withCopyright: r = !0, withSiteMap: a = !0 } = {},
|
|
1065
|
-
socialsLinks: d = fe,
|
|
1066
|
-
phones: p = pe,
|
|
1067
|
-
navigationLinks: s = ue,
|
|
1068
|
-
ligal: b,
|
|
1069
|
-
copyright: M = le,
|
|
1070
|
-
classes: l
|
|
1071
|
-
}) => /* @__PURE__ */ n.jsx("footer", { className: i("w-full bg-color-footer py-8 desktop:py-10", l == null ? void 0 : l.root), children: /* @__PURE__ */ n.jsx(g, { className: i(l == null ? void 0 : l.footerContainer), children: /* @__PURE__ */ n.jsxs("div", { className: i("mobile:pb-[176px]", l == null ? void 0 : l.footerWrapper), children: [
|
|
1072
|
-
/* @__PURE__ */ n.jsxs(
|
|
1073
|
-
"div",
|
|
1074
|
-
{
|
|
1075
|
-
className: i(
|
|
1076
|
-
"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",
|
|
1077
|
-
l == null ? void 0 : l.footerHead
|
|
1078
|
-
),
|
|
1079
|
-
children: [
|
|
1080
|
-
/* @__PURE__ */ n.jsxs("div", { className: i(l == null ? void 0 : l.footerSocialBlock), children: [
|
|
1081
|
-
/* @__PURE__ */ n.jsx(be, { classes: l }),
|
|
1082
|
-
t && /* @__PURE__ */ n.jsx(me, { socialsLinks: d, classes: l })
|
|
1083
|
-
] }),
|
|
1084
|
-
e && /* @__PURE__ */ n.jsx(xe, { phones: p, classes: l })
|
|
1085
|
-
]
|
|
1086
|
-
}
|
|
1087
|
-
),
|
|
1088
|
-
o && /* @__PURE__ */ n.jsx(ce, { navigationLinks: s, classes: l }),
|
|
1089
|
-
b && b,
|
|
1090
|
-
/* @__PURE__ */ n.jsxs("div", { className: "flex flex-col-reverse items-start justify-between gap-4 desktop:flex-row desktop:gap-6", children: [
|
|
1091
|
-
r && /* @__PURE__ */ n.jsx(se, { text: M, classes: l, withSiteMap: a }),
|
|
1092
|
-
a && /* @__PURE__ */ n.jsx(ge, { classes: l })
|
|
1093
|
-
] })
|
|
1094
|
-
] }) }) }), he = (t) => {
|
|
1095
|
-
switch (t.variant) {
|
|
1096
|
-
case "withButton":
|
|
1097
|
-
return /* @__PURE__ */ n.jsx(N, { intent: "secondary", size: "sm", ...t.buttonProps, children: "Оформить заявку" });
|
|
1098
|
-
case "withPhone":
|
|
1099
|
-
const { phone: e, phoneText: o } = t;
|
|
1100
|
-
return /* @__PURE__ */ n.jsx(T, { phone: e, text: o, ...t.phoneProps });
|
|
1101
|
-
default:
|
|
1102
|
-
return null;
|
|
1103
|
-
}
|
|
1104
|
-
}, Ze = (t) => {
|
|
1105
|
-
const { logoPath: e = "/", logoType: o = "main", classes: r } = t;
|
|
1106
|
-
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: [
|
|
1107
|
-
/* @__PURE__ */ n.jsx(
|
|
1108
|
-
"a",
|
|
1109
|
-
{
|
|
1110
|
-
href: e,
|
|
1111
|
-
"aria-label": "logo",
|
|
1112
|
-
target: "_blank",
|
|
1113
|
-
rel: "noreferrer",
|
|
1114
|
-
className: i(
|
|
1115
|
-
"flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
1116
|
-
r == null ? void 0 : r.logo
|
|
1117
|
-
),
|
|
1118
|
-
children: Y[o]
|
|
1119
|
-
}
|
|
1120
|
-
),
|
|
1121
|
-
he(t)
|
|
1122
|
-
] }) }) });
|
|
1123
|
-
}, ye = ({ title: t, description: e, index: o, classes: r }) => /* @__PURE__ */ n.jsxs(
|
|
1124
|
-
"div",
|
|
1125
|
-
{
|
|
1126
|
-
className: i(
|
|
1127
|
-
"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",
|
|
1128
|
-
r == null ? void 0 : r.singleStep
|
|
1129
|
-
),
|
|
1130
|
-
children: [
|
|
1131
|
-
/* @__PURE__ */ n.jsx(
|
|
1132
|
-
"div",
|
|
1133
|
-
{
|
|
1134
|
-
className: i(
|
|
1135
|
-
"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",
|
|
1136
|
-
r == null ? void 0 : r.numeric
|
|
1137
|
-
),
|
|
1138
|
-
children: o
|
|
1139
|
-
}
|
|
1140
|
-
),
|
|
1141
|
-
/* @__PURE__ */ n.jsxs("div", { className: i("flex flex-col gap-4", r == null ? void 0 : r.textBlock), children: [
|
|
1142
|
-
/* @__PURE__ */ n.jsx(C, { as: "h4", className: i("text-color-dark", r == null ? void 0 : r.title), children: t }),
|
|
1143
|
-
/* @__PURE__ */ n.jsx("p", { className: i("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description), children: e })
|
|
1144
|
-
] })
|
|
1145
|
-
]
|
|
1146
|
-
}
|
|
1147
|
-
), Ge = ({ heading: t, stepsList: e, classes: o }) => /* @__PURE__ */ n.jsx(W, { 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: [
|
|
1148
|
-
/* @__PURE__ */ n.jsx(C, { as: "h2", className: i("text-color-dark", o == null ? void 0 : o.headline), children: t }),
|
|
1149
|
-
/* @__PURE__ */ n.jsx(
|
|
1150
|
-
"div",
|
|
1151
|
-
{
|
|
1152
|
-
className: i(
|
|
1153
|
-
"flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
1154
|
-
o == null ? void 0 : o.stepsWrapper
|
|
1155
|
-
),
|
|
1156
|
-
children: e == null ? void 0 : e.map((r, a) => /* @__PURE__ */ n.jsx(ye, { index: a + 1, ...r, classes: o }, r.title))
|
|
1157
|
-
}
|
|
1158
|
-
)
|
|
1159
|
-
] }) }) }), we = x("", {
|
|
1160
|
-
variants: {
|
|
1161
|
-
intent: {
|
|
1162
|
-
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
1163
|
-
fourItems: "mob-title-bold-l desktop:desk-title-bold-l mb-8"
|
|
1164
|
-
},
|
|
1165
|
-
desktopHidden: {
|
|
1166
|
-
true: "desktop:hidden"
|
|
1167
|
-
},
|
|
1168
|
-
mobileHidden: {
|
|
1169
|
-
true: "mobile:hidden"
|
|
1170
|
-
}
|
|
1171
|
-
},
|
|
1172
|
-
defaultVariants: {
|
|
1173
|
-
intent: "twoItems"
|
|
1174
|
-
}
|
|
1175
|
-
}), ve = x("desktop:max-h-[98px]", {
|
|
1176
|
-
variants: {
|
|
1177
|
-
intent: {
|
|
1178
|
-
twoItems: "",
|
|
1179
|
-
fourItems: ""
|
|
1180
|
-
},
|
|
1181
|
-
withButton: {
|
|
1182
|
-
true: ""
|
|
1183
|
-
}
|
|
1184
|
-
},
|
|
1185
|
-
compoundVariants: [
|
|
1186
|
-
{
|
|
1187
|
-
intent: "twoItems",
|
|
1188
|
-
withButton: !0,
|
|
1189
|
-
class: "mb-8 desktop:flex"
|
|
1190
|
-
},
|
|
1191
|
-
{
|
|
1192
|
-
intent: "twoItems",
|
|
1193
|
-
withButton: !1,
|
|
1194
|
-
class: "desktop:flex"
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
intent: "fourItems",
|
|
1198
|
-
withButton: !0,
|
|
1199
|
-
class: "desktop:grid grid-rows-2 mb-8 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
intent: "fourItems",
|
|
1203
|
-
withButton: !1,
|
|
1204
|
-
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1205
|
-
}
|
|
1206
|
-
]
|
|
1207
|
-
}), ke = x("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1208
|
-
variants: {
|
|
1209
|
-
intent: {
|
|
1210
|
-
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',
|
|
1211
|
-
fourItems: " mobile:last:border-none desktop:w-[264px] desktop:odd:border-b desktop:pb-0 desktop:odd:pb-3"
|
|
1212
|
-
}
|
|
1213
|
-
},
|
|
1214
|
-
defaultVariants: {
|
|
1215
|
-
intent: "twoItems"
|
|
1216
|
-
}
|
|
1217
|
-
}), je = x("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1218
|
-
variants: {
|
|
1219
|
-
intent: {
|
|
1220
|
-
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
1221
|
-
fourItems: " "
|
|
1222
|
-
},
|
|
1223
|
-
withButton: {
|
|
1224
|
-
true: !0,
|
|
1225
|
-
false: !1
|
|
1226
|
-
}
|
|
1227
|
-
},
|
|
1228
|
-
defaultVariants: {
|
|
1229
|
-
intent: "twoItems"
|
|
1230
|
-
},
|
|
1231
|
-
compoundVariants: [
|
|
1232
|
-
{
|
|
1233
|
-
intent: "fourItems",
|
|
1234
|
-
withButton: !0,
|
|
1235
|
-
class: "desktop:h-[360px] desktop:w-[500px]"
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
intent: "fourItems",
|
|
1239
|
-
withButton: !1,
|
|
1240
|
-
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1241
|
-
}
|
|
1242
|
-
]
|
|
1243
|
-
}), Ne = ({ data: t, intent: e }) => {
|
|
1244
|
-
const { title: o, description: r, popoverText: a } = t;
|
|
1245
|
-
return /* @__PURE__ */ n.jsx("li", { className: i(ke({ intent: e })), children: /* @__PURE__ */ n.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
1246
|
-
/* @__PURE__ */ n.jsxs("div", { className: i("mb-2 flex items-center gap-2"), children: [
|
|
1247
|
-
/* @__PURE__ */ n.jsx("h4", { className: i("mob-title-bold-m text-color-dark"), children: o }),
|
|
1248
|
-
a && /* @__PURE__ */ n.jsx(Z, { triggerElement: /* @__PURE__ */ n.jsx(u, { className: i("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: a })
|
|
1249
|
-
] }),
|
|
1250
|
-
/* @__PURE__ */ n.jsx("p", { className: i("mob-body-regular-l text-color-secondary"), children: r })
|
|
1251
|
-
] }) });
|
|
1252
|
-
}, j = ({ intent: t, title: e, desktopHidden: o = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ n.jsx("h2", { className: i(we({ intent: t, desktopHidden: o, mobileHidden: r })), children: e }), Ie = ({ textContent: t, intent: e, withButton: o }) => /* @__PURE__ */ n.jsx("ul", { className: i(ve({ intent: e, withButton: o })), children: t == null ? void 0 : t.map((r, a) => /* @__PURE__ */ n.jsx(Ne, { intent: e, data: r }, a)) }), We = ({
|
|
1253
|
-
title: t,
|
|
1254
|
-
buttonConfig: e,
|
|
1255
|
-
intent: o = "twoItems",
|
|
1256
|
-
textContent: r,
|
|
1257
|
-
imageComponent: a,
|
|
1258
|
-
classes: d
|
|
1259
|
-
}) => {
|
|
1260
|
-
const p = !!e, s = o === "fourItems", b = o === "twoItems";
|
|
1261
|
-
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: [
|
|
1262
|
-
b && /* @__PURE__ */ n.jsx(j, { intent: o, title: t }),
|
|
1263
|
-
/* @__PURE__ */ n.jsxs(
|
|
1264
|
-
"div",
|
|
1265
|
-
{
|
|
1266
|
-
className: i(
|
|
1267
|
-
"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",
|
|
1268
|
-
d == null ? void 0 : d.contentContainer
|
|
1269
|
-
),
|
|
1270
|
-
children: [
|
|
1271
|
-
s && /* @__PURE__ */ n.jsx(j, { intent: o, title: t, desktopHidden: !0 }),
|
|
1272
|
-
/* @__PURE__ */ n.jsx("div", { className: i(je({ intent: o, withButton: p }), d == null ? void 0 : d.imgContainer), children: a }),
|
|
1273
|
-
/* @__PURE__ */ n.jsxs(
|
|
1274
|
-
"div",
|
|
1275
|
-
{
|
|
1276
|
-
className: i("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1277
|
-
children: [
|
|
1278
|
-
s && /* @__PURE__ */ n.jsx(j, { intent: o, title: t, mobileHidden: !0 }),
|
|
1279
|
-
/* @__PURE__ */ n.jsx(Ie, { textContent: r, intent: o, withButton: p }),
|
|
1280
|
-
p && /* @__PURE__ */ n.jsx(
|
|
1281
|
-
N,
|
|
1282
|
-
{
|
|
1283
|
-
className: i("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
|
|
1284
|
-
size: "lg",
|
|
1285
|
-
onClick: e.onClick,
|
|
1286
|
-
intent: "secondary",
|
|
1287
|
-
children: e.text
|
|
1288
|
-
}
|
|
1289
|
-
)
|
|
1290
|
-
]
|
|
1291
|
-
}
|
|
1292
|
-
)
|
|
1293
|
-
]
|
|
1294
|
-
}
|
|
1295
|
-
)
|
|
1296
|
-
] }) });
|
|
1297
|
-
};
|
|
1298
|
-
export {
|
|
1299
|
-
ae as ApiError,
|
|
1300
|
-
Qe as Badge,
|
|
1301
|
-
Te as Breadcrumbs,
|
|
1302
|
-
N as Button,
|
|
1303
|
-
Ee as ButtonIcon,
|
|
1304
|
-
L as CustomLink,
|
|
1305
|
-
Fe as Document,
|
|
1306
|
-
Be as FloatButton,
|
|
1307
|
-
Ue as Footer,
|
|
1308
|
-
C as Heading,
|
|
1309
|
-
u as Icon,
|
|
1310
|
-
Je as Loader,
|
|
1311
|
-
We as LongBanner,
|
|
1312
|
-
Ze as PageHeader,
|
|
1313
|
-
T as PhoneView,
|
|
1314
|
-
ze as ProgressBar,
|
|
1315
|
-
g as ResponsiveContainer,
|
|
1316
|
-
I as RgxCheckForHyphen,
|
|
1317
|
-
te as RgxPatronymic,
|
|
1318
|
-
ee as RgxUnicode,
|
|
1319
|
-
W as Section,
|
|
1320
|
-
Ae as Skeleton,
|
|
1321
|
-
Ge as Stepper,
|
|
1322
|
-
c as VALIDATION_MESSAGES,
|
|
1323
|
-
y as allowedBackgroundColors,
|
|
1324
|
-
A as allowedBackgroundDeg,
|
|
1325
|
-
F as allowedBannersBackgroundColors,
|
|
1326
|
-
z as allowedBorderRadius,
|
|
1327
|
-
B as allowedFontSize,
|
|
1328
|
-
m as allowedIconsColors,
|
|
1329
|
-
S as allowedLineHeight,
|
|
1330
|
-
w as allowedStrokeColors,
|
|
1331
|
-
E as allowedTextColors,
|
|
1332
|
-
R as allowedTextStyles,
|
|
1333
|
-
oe as allowedZIndex,
|
|
1334
|
-
Oe as apiInstance,
|
|
1335
|
-
Ce as capitalize,
|
|
1336
|
-
i as cn,
|
|
1337
|
-
de as defaultHeaders,
|
|
1338
|
-
Ve as extendsPreset,
|
|
1339
|
-
re as formattedDadataFio,
|
|
1340
|
-
Ke as isClient,
|
|
1341
|
-
Le as mergeRefs,
|
|
1342
|
-
Me as resetPreset,
|
|
1343
|
-
Ye as scrollToElement,
|
|
1344
|
-
He as tailwindConfigBase,
|
|
1345
|
-
Re as zodCalendarValidate,
|
|
1346
|
-
Se as zodDadataFioSchema,
|
|
1347
|
-
$e as zodOtpCodeSchema,
|
|
1348
|
-
Pe as zodPhoneSchema
|
|
1349
|
-
};
|
|
1350
|
-
//# sourceMappingURL=hybrid.js.map
|