md-components-mdigial-azamat 0.0.19 → 0.0.24
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/AllComponents.js +5 -9
- package/dist/AnimatedSwiper/index.js +64 -42
- package/dist/Banner/Banner.js +2 -2
- package/dist/Banner/index.js +1 -1
- package/dist/Banner/types.js +1 -4
- package/dist/BannerAndText/index.js +27 -35
- package/dist/CardIconList/CardIconList.js +26 -71
- package/dist/CardIconList/index.js +2 -2
- package/dist/CardImageList/CardImageList.js +1 -1
- package/dist/CardImageList/index.js +1 -1
- package/dist/CardImageSecondary/CardImageSecondary.js +27 -48
- package/dist/CardImageSecondary/index.js +2 -2
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +4 -19
- package/dist/CardImageSecondaryList/index.js +1 -1
- package/dist/CardInfoTable/index.js +23 -3
- package/dist/Cards/CardImage/CardImage.js +32 -18
- package/dist/Cards/ColoredCard/index.js +23 -10
- package/dist/Cards/ContentCard/ContentCard.js +1 -1
- package/dist/Cards/ContentCard/index.js +1 -1
- package/dist/Cards/FeaturesCard/index.js +2 -1
- package/dist/Cards/WarningCard/WarningCard.js +1 -1
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/ContentCardList/ContentCardList.js +23 -2
- package/dist/ContentCardList/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBright/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/index.js +1 -1
- package/dist/Faq/Faq.js +20 -2
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1 -1
- package/dist/Faq/components/FeedbackForm/index.js +1 -1
- package/dist/Faq/index.js +1 -1
- package/dist/HeroPossibilityBanner/index.js +30 -19
- package/dist/InfoBanner/index.js +3 -2
- package/dist/InfoBannerList/InfoBannerList.js +3 -2
- package/dist/InfoBannerList/index.js +2 -2
- package/dist/InstructionList/InstructionList.js +1 -1
- package/dist/InstructionList/index.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +1 -1
- package/dist/IntroBanner/index.js +1 -1
- package/dist/MainBanner/MainBanner.js +1 -1
- package/dist/MainBanner/index.js +1 -1
- package/dist/MultiCards/index.js +5 -54
- package/dist/PageViewer/PageViewer.js +5 -7
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/Partners/Partners.js +21 -4
- package/dist/PartnersColors/PartnersColors.js +38 -20
- package/dist/PreviewList/PreviewList.js +1 -1
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +1 -1
- package/dist/PreviewList/components/PreviewCard/index.js +1 -1
- package/dist/PreviewList/index.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +29 -15
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +5 -5
- package/dist/Segments/Segments.js +15 -7
- package/dist/Space/Space.js +21 -0
- package/dist/Space/index.js +4 -0
- package/dist/StandartTable/components/CardWarning/index.js +1 -1
- package/dist/StandartTable/index.js +3 -2
- package/dist/Stepper/Stepper.js +2 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/SwiperList/SwiperList.js +39 -29
- package/dist/TasksBanner/TasksBanner.js +45 -28
- package/dist/TasksBannerList/TasksBannerList.js +26 -11
- package/dist/Types/FiledTypes.js +2 -2
- package/dist/Video/VideoList/VideoList.js +19 -10
- package/dist/Video/VideoListMini/VideoListMini.js +17 -8
- package/dist/VideoMainBanner/VideoMainBanner.js +3 -2
- package/dist/VideoMainBanner/index.js +1 -1
- package/dist/componentsMap-189b0c59.js +50 -0
- package/dist/{AllComponents-3adfe2a3.js → index-7e2966f2.js} +1774 -1319
- package/dist/index-a379154f.js +66 -0
- package/dist/main.js +60 -61
- package/package.json +1 -1
- package/dist/EmptyBox/EmptyBox.js +0 -5
- package/dist/componentsMap-4a48f9e0.js +0 -53
- package/dist/index-6e0f7db0.js +0 -52
- /package/dist/{EmptyBox → Space}/types.js +0 -0
|
@@ -1,67 +1,68 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs as x, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import "./ConfigProvider/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import * as
|
|
5
|
-
import W, { forwardRef as
|
|
6
|
-
import { c as
|
|
7
|
-
import { C as
|
|
8
|
-
import { I as
|
|
9
|
-
import {
|
|
10
|
-
import "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { CardImageVariant as ot } from "./Cards/CardImage/types.js";
|
|
21
|
-
import { FieldTypes as J } from "./Types/FiledTypes.js";
|
|
22
|
-
import { Collapse as ui } from "./Faq/components/Collapse/Collapse.js";
|
|
23
|
-
import { InstructionCard as gi } from "./InstructionList/components/InstructionCard/InstructionCard.js";
|
|
3
|
+
import { FieldTypes as b } from "./Types/FiledTypes.js";
|
|
4
|
+
import * as pt from "react";
|
|
5
|
+
import W, { forwardRef as Ct, useState as ki } from "react";
|
|
6
|
+
import { c as y, a as X } from "./cn-d8c04b28.js";
|
|
7
|
+
import { C as V } from "./ComponentContainer-0fcc2695.js";
|
|
8
|
+
import { I as $ } from "./index-60dfa873.js";
|
|
9
|
+
import { Segments as _i } from "./Segments/Segments.js";
|
|
10
|
+
import { VideoFull as yi } from "./Video/VideoFull/VideoFull.js";
|
|
11
|
+
import { VideoList as wi } from "./Video/VideoList/VideoList.js";
|
|
12
|
+
import { VideoListMini as vi } from "./Video/VideoListMini/VideoListMini.js";
|
|
13
|
+
import { HtmlContent as Ze } from "./HtmlContent/HtmlContent.js";
|
|
14
|
+
import { F as Fi, S as Be } from "./index-a379154f.js";
|
|
15
|
+
import { Partners as Ni } from "./Partners/Partners.js";
|
|
16
|
+
import { CardImage as Ci } from "./Cards/CardImage/CardImage.js";
|
|
17
|
+
import { CardImageVariant as mt } from "./Cards/CardImage/types.js";
|
|
18
|
+
import { Collapse as Li } from "./Faq/components/Collapse/Collapse.js";
|
|
19
|
+
import { InstructionCard as Di } from "./InstructionList/components/InstructionCard/InstructionCard.js";
|
|
24
20
|
import "./HeroPossibilityBanner/index.js";
|
|
25
|
-
import { PartnersColors as
|
|
26
|
-
import { W as
|
|
21
|
+
import { PartnersColors as Ti } from "./PartnersColors/PartnersColors.js";
|
|
22
|
+
import { W as Se, p as ne } from "./model-bc7ae7c3.js";
|
|
27
23
|
import "./Cards/ColoredCard/index.js";
|
|
28
|
-
import "./index
|
|
29
|
-
import "./
|
|
30
|
-
import
|
|
31
|
-
import "./
|
|
32
|
-
import
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { PromoPoster as _i } from "./PromoPoster/PromoPoster.js";
|
|
36
|
-
import { CardMarkedRow as yi } from "./StandartTable/components/CardMarkedRow/index.js";
|
|
37
|
-
import { TasksBannerList as wi } from "./TasksBannerList/TasksBannerList.js";
|
|
24
|
+
import Bi from "./AnimatedSwiper/index.js";
|
|
25
|
+
import { u as Fe } from "./useScreenSize-c1b64c02.js";
|
|
26
|
+
import { PromoPoster as Si } from "./PromoPoster/PromoPoster.js";
|
|
27
|
+
import { Space as Ei } from "./Space/Space.js";
|
|
28
|
+
import { CardMarkedRow as Ii } from "./StandartTable/components/CardMarkedRow/index.js";
|
|
29
|
+
import { SwiperList as Vi } from "./SwiperList/SwiperList.js";
|
|
30
|
+
import { TasksBannerList as Pi } from "./TasksBannerList/TasksBannerList.js";
|
|
38
31
|
var Y = /* @__PURE__ */ ((e) => (e.S = "s", e.M = "m", e.L = "l", e.XL = "xl", e))(Y || {}), B = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.SecondaryBlue = "secondaryBlue", e.Grey = "grey", e.Static = "static", e.Brand = "brand", e))(B || {});
|
|
39
|
-
const
|
|
32
|
+
const Ne = {
|
|
33
|
+
type: "button",
|
|
40
34
|
size: Y,
|
|
41
35
|
variant: B,
|
|
42
|
-
loading:
|
|
43
|
-
iconRight:
|
|
44
|
-
iconLeft:
|
|
45
|
-
className:
|
|
46
|
-
button_hex:
|
|
47
|
-
|
|
48
|
-
|
|
36
|
+
loading: b.BOOLEAN,
|
|
37
|
+
iconRight: b.COMPONENT,
|
|
38
|
+
iconLeft: b.COMPONENT,
|
|
39
|
+
className: b.CLASSNAME,
|
|
40
|
+
button_hex: b.COLOR,
|
|
41
|
+
title: b.NODE,
|
|
42
|
+
link: b.LINK
|
|
43
|
+
}, Lt = {
|
|
44
|
+
type: "buttons",
|
|
45
|
+
dataType: "array",
|
|
46
|
+
label: "Кнопки",
|
|
47
|
+
data: Ne
|
|
48
|
+
}, I = Ct(
|
|
49
49
|
({
|
|
50
50
|
children: e,
|
|
51
51
|
size: t = Y.XL,
|
|
52
52
|
variant: i = B.Primary,
|
|
53
|
-
loading:
|
|
54
|
-
iconRight:
|
|
55
|
-
iconLeft:
|
|
56
|
-
className:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
loading: a = !1,
|
|
54
|
+
iconRight: n,
|
|
55
|
+
iconLeft: s,
|
|
56
|
+
className: d,
|
|
57
|
+
title: p,
|
|
58
|
+
...v
|
|
59
|
+
}, L) => {
|
|
60
|
+
const F = {
|
|
60
61
|
[Y.S]: "",
|
|
61
62
|
[Y.M]: "px-[12px] py-[8px] rounded-[12px] text-[14px] h-[36px]",
|
|
62
63
|
[Y.L]: "px-[16px] py-[10px] rounded-[16px] text-[16px] h-[44px]",
|
|
63
64
|
[Y.XL]: "px-[20px] py-[16px] rounded-[16px] text-[16px] h-[56px]"
|
|
64
|
-
},
|
|
65
|
+
}, k = {
|
|
65
66
|
[B.Primary]: "bg-yellowLight hover:bg-yellowSaturated disabled:bg-yellowLight2 disabled:cursor-not-allowed",
|
|
66
67
|
[B.Secondary]: "bg-lightBlue hover:bg-grayBlue disabled:bg-white disabled:cursor-not-allowed",
|
|
67
68
|
[B.SecondaryBlue]: "bg-lightBlue text-blue hover:bg-grayBlue disabled:bg-white disabled:text-lightBlue5 disabled:cursor-not-allowed",
|
|
@@ -72,49 +73,60 @@ const vt = {
|
|
|
72
73
|
return /* @__PURE__ */ x(
|
|
73
74
|
"button",
|
|
74
75
|
{
|
|
75
|
-
className:
|
|
76
|
+
className: y(
|
|
76
77
|
"flex items-center justify-center gap-2 border-none font-i font-medium cursor-pointer w-fit ",
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
F[t],
|
|
79
|
+
k[i],
|
|
80
|
+
d
|
|
80
81
|
),
|
|
81
|
-
ref:
|
|
82
|
-
...
|
|
82
|
+
ref: L,
|
|
83
|
+
...v,
|
|
83
84
|
children: [
|
|
84
|
-
|
|
85
|
-
e,
|
|
86
|
-
|
|
85
|
+
a ? /* @__PURE__ */ r("span", { className: "flex justify-center items-center w-[22px] h-[22px] p-[2px] bg-transparent rounded-full border-2 border-[#0e0f11] border-t-transparent animate-spin" }) : s && /* @__PURE__ */ r("span", { className: "flex items-center", children: s }),
|
|
86
|
+
p || e,
|
|
87
|
+
n && /* @__PURE__ */ r("span", { className: "flex items-center", children: n })
|
|
87
88
|
]
|
|
88
89
|
}
|
|
89
90
|
);
|
|
90
91
|
}
|
|
91
92
|
);
|
|
92
|
-
|
|
93
|
-
const
|
|
93
|
+
I.displayName = "AppButton";
|
|
94
|
+
const Mi = {
|
|
95
|
+
type: "qr",
|
|
96
|
+
label: "QR Блок",
|
|
97
|
+
dataType: "object",
|
|
98
|
+
data: {
|
|
99
|
+
keys: {
|
|
100
|
+
banner_qr: b.LINK,
|
|
101
|
+
banner_qr_text: b.DESCRIPTION,
|
|
102
|
+
banner_title: b.TITLE,
|
|
103
|
+
color_text: b.COLOR,
|
|
104
|
+
button: Ne
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}, Ai = [
|
|
94
108
|
"bg_image",
|
|
95
109
|
"image",
|
|
96
110
|
"title",
|
|
97
111
|
"text_color",
|
|
98
112
|
"description",
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
], Ft = ({
|
|
113
|
+
Lt,
|
|
114
|
+
Mi
|
|
115
|
+
], Dt = ({
|
|
103
116
|
bg_image: e,
|
|
104
117
|
image: t,
|
|
105
118
|
title: i,
|
|
106
|
-
text_color:
|
|
107
|
-
description:
|
|
108
|
-
buttons:
|
|
109
|
-
variant: p,
|
|
119
|
+
text_color: a = "inherit",
|
|
120
|
+
description: n,
|
|
121
|
+
buttons: s,
|
|
110
122
|
qr: d
|
|
111
123
|
}) => {
|
|
112
|
-
var
|
|
113
|
-
const
|
|
114
|
-
return /* @__PURE__ */
|
|
124
|
+
var v, L, F;
|
|
125
|
+
const p = Fe(960);
|
|
126
|
+
return /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x(
|
|
115
127
|
"div",
|
|
116
128
|
{
|
|
117
|
-
className:
|
|
129
|
+
className: y(
|
|
118
130
|
"relative w-full h-fit flex max-tablet:flex-col justify-between gap-4 bg-cover bg-center rounded-[20px] overflow-hidden max-tablet:justify-start max-tablet:items-center"
|
|
119
131
|
),
|
|
120
132
|
style: {
|
|
@@ -122,69 +134,69 @@ const vi = [
|
|
|
122
134
|
},
|
|
123
135
|
children: [
|
|
124
136
|
/* @__PURE__ */ x("div", { className: " flex flex-col gap-4 w-[40%] max-tablet:w-full justify-center p-12 max-tablet:p-8", children: [
|
|
125
|
-
i && /* @__PURE__ */
|
|
137
|
+
i && /* @__PURE__ */ r(
|
|
126
138
|
"p",
|
|
127
139
|
{
|
|
128
|
-
className:
|
|
140
|
+
className: y(
|
|
129
141
|
"text-[32px] font-bold leading-[40px] text-left text-black m-0 max-tablet:text-center max-tablet:text-[24px] max-tablet:leading-[28px]"
|
|
130
142
|
),
|
|
131
|
-
style: { color:
|
|
143
|
+
style: { color: a },
|
|
132
144
|
children: i
|
|
133
145
|
}
|
|
134
146
|
),
|
|
135
|
-
|
|
147
|
+
n && /* @__PURE__ */ r(
|
|
136
148
|
"p",
|
|
137
149
|
{
|
|
138
|
-
className:
|
|
150
|
+
className: y(
|
|
139
151
|
"text-[18px] font-normal leading-[26px] text-left m-0 max-tablet:px-[24px] max-tablet:text-center max-tablet:text-[15px] max-tablet:leading-[22px]"
|
|
140
152
|
),
|
|
141
|
-
style: { color:
|
|
142
|
-
children:
|
|
153
|
+
style: { color: a },
|
|
154
|
+
children: n
|
|
143
155
|
}
|
|
144
156
|
),
|
|
145
|
-
|
|
157
|
+
!!s && /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: s == null ? void 0 : s.map((k, _) => /* @__PURE__ */ r(
|
|
146
158
|
"a",
|
|
147
159
|
{
|
|
148
|
-
href: (
|
|
149
|
-
className:
|
|
160
|
+
href: (k == null ? void 0 : k.link) || "#",
|
|
161
|
+
className: y("w-fit z-10 max-tablet:w-full"),
|
|
150
162
|
target: "_blank",
|
|
151
163
|
rel: "noopener noreferrer",
|
|
152
|
-
children: /* @__PURE__ */
|
|
153
|
-
|
|
164
|
+
children: /* @__PURE__ */ r(
|
|
165
|
+
I,
|
|
154
166
|
{
|
|
155
|
-
variant:
|
|
167
|
+
variant: k.variant,
|
|
156
168
|
className: "w-[200px] max-tablet:w-full",
|
|
157
|
-
|
|
169
|
+
title: k == null ? void 0 : k.title
|
|
158
170
|
}
|
|
159
171
|
)
|
|
160
172
|
},
|
|
161
|
-
|
|
173
|
+
_
|
|
162
174
|
)) }),
|
|
163
|
-
|
|
175
|
+
!!d && (p ? /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: /* @__PURE__ */ r(
|
|
164
176
|
"a",
|
|
165
177
|
{
|
|
166
|
-
href: ((
|
|
167
|
-
className:
|
|
178
|
+
href: ((v = d == null ? void 0 : d.button) == null ? void 0 : v.link) || "#",
|
|
179
|
+
className: y("w-fit z-10 max-tablet:w-full"),
|
|
168
180
|
target: "_blank",
|
|
169
181
|
rel: "noopener noreferrer",
|
|
170
|
-
children: /* @__PURE__ */
|
|
171
|
-
|
|
182
|
+
children: /* @__PURE__ */ r(
|
|
183
|
+
I,
|
|
172
184
|
{
|
|
173
|
-
variant: (
|
|
174
|
-
|
|
175
|
-
|
|
185
|
+
variant: (L = d == null ? void 0 : d.button) == null ? void 0 : L.variant,
|
|
186
|
+
title: (F = d == null ? void 0 : d.button) == null ? void 0 : F.title,
|
|
187
|
+
className: "w-[200px] max-tablet:w-full"
|
|
176
188
|
}
|
|
177
189
|
)
|
|
178
190
|
}
|
|
179
191
|
) }) : /* @__PURE__ */ x(
|
|
180
192
|
"div",
|
|
181
193
|
{
|
|
182
|
-
className:
|
|
194
|
+
className: y(
|
|
183
195
|
"bg-white rounded-[15px] items-center gap-[12px] p-[12px] flex w-[282px] mt-6"
|
|
184
196
|
),
|
|
185
197
|
children: [
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
-
|
|
198
|
+
/* @__PURE__ */ r(
|
|
199
|
+
$,
|
|
188
200
|
{
|
|
189
201
|
src: d == null ? void 0 : d.banner_qr,
|
|
190
202
|
alt: d == null ? void 0 : d.banner_qr_text,
|
|
@@ -192,10 +204,10 @@ const vi = [
|
|
|
192
204
|
height: 101
|
|
193
205
|
}
|
|
194
206
|
),
|
|
195
|
-
/* @__PURE__ */
|
|
207
|
+
/* @__PURE__ */ r(
|
|
196
208
|
"p",
|
|
197
209
|
{
|
|
198
|
-
className:
|
|
210
|
+
className: y(
|
|
199
211
|
"text-[15px] font-medium leading-[22px] text-center w-[60%] text-graySoft"
|
|
200
212
|
),
|
|
201
213
|
style: { color: d == null ? void 0 : d.color_text },
|
|
@@ -206,14 +218,14 @@ const vi = [
|
|
|
206
218
|
}
|
|
207
219
|
))
|
|
208
220
|
] }),
|
|
209
|
-
t && /* @__PURE__ */
|
|
210
|
-
|
|
221
|
+
t && /* @__PURE__ */ r(
|
|
222
|
+
$,
|
|
211
223
|
{
|
|
212
224
|
src: t,
|
|
213
225
|
alt: i,
|
|
214
|
-
width:
|
|
215
|
-
height:
|
|
216
|
-
className:
|
|
226
|
+
width: p ? 312 : 588,
|
|
227
|
+
height: p ? 218 : 400,
|
|
228
|
+
className: y("max-tablet:!w-full align-bottom items-end mt-auto"),
|
|
217
229
|
imageStyles: "object-contain object-bottom"
|
|
218
230
|
}
|
|
219
231
|
)
|
|
@@ -221,47 +233,105 @@ const vi = [
|
|
|
221
233
|
}
|
|
222
234
|
) });
|
|
223
235
|
};
|
|
224
|
-
|
|
225
|
-
const
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
236
|
+
Dt.propsToEdit = Ai;
|
|
237
|
+
const Oi = {
|
|
238
|
+
type: "banner_card",
|
|
239
|
+
label: "Баннер карточка",
|
|
240
|
+
dataType: "object",
|
|
241
|
+
data: {
|
|
242
|
+
keys: {
|
|
243
|
+
image: b.FILE
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}, Ri = {
|
|
247
|
+
type: "banner_card",
|
|
248
|
+
label: "Текстовая карточка",
|
|
249
|
+
dataType: "object",
|
|
250
|
+
data: {
|
|
251
|
+
keys: {
|
|
252
|
+
title: b.TITLE,
|
|
253
|
+
description: b.DESCRIPTION,
|
|
254
|
+
color_text: b.COLOR
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}, qi = [Oi, Ri, "turnover"], Tt = ({
|
|
258
|
+
banner_card: e,
|
|
259
|
+
text_card: t,
|
|
260
|
+
is_banner_first: i
|
|
261
|
+
}) => /* @__PURE__ */ r(V, { className: "p-0", children: /* @__PURE__ */ x("div", { className: "w-full h-full flex flex-col lg:flex-row items-stretch gap-[24px]", children: [
|
|
262
|
+
(e == null ? void 0 : e.image) && /* @__PURE__ */ r("div", { className: "w-auto rounded-[20px] h-full object-cover", children: /* @__PURE__ */ r(
|
|
263
|
+
$,
|
|
264
|
+
{
|
|
265
|
+
src: e == null ? void 0 : e.image,
|
|
266
|
+
alt: t == null ? void 0 : t.title,
|
|
267
|
+
className: "h-full"
|
|
268
|
+
}
|
|
269
|
+
) }),
|
|
270
|
+
t && /* @__PURE__ */ x(
|
|
271
|
+
"div",
|
|
272
|
+
{
|
|
273
|
+
className: y(
|
|
274
|
+
"w-full flex flex-col bg-white justify-center gap-[11px] rounded-[20px] p-[32px]",
|
|
275
|
+
{
|
|
276
|
+
"order-[-1]": !i
|
|
277
|
+
}
|
|
278
|
+
),
|
|
279
|
+
children: [
|
|
280
|
+
/* @__PURE__ */ r("p", { className: "font-inter text-[32px] leading-[40px] max-tablet:text-[24px] max-tablet:leading-[28px] font-bold", children: t.title }),
|
|
281
|
+
/* @__PURE__ */ r("p", { className: "text-graySoft text-[16px] leading-[24px]", children: t.description })
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
)
|
|
285
|
+
] }) });
|
|
286
|
+
Tt.propsToEdit = qi;
|
|
287
|
+
const $i = {
|
|
288
|
+
type: "data",
|
|
289
|
+
label: "Шаги",
|
|
290
|
+
dataType: "array",
|
|
291
|
+
data: {
|
|
292
|
+
text: b.DESCRIPTION,
|
|
293
|
+
icon: b.FILE
|
|
294
|
+
}
|
|
295
|
+
}, ji = [$i, "title", Ne], Bt = ({ data: e, title: t, button: i }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "flex items-center flex-col", children: [
|
|
296
|
+
t && /* @__PURE__ */ r("p", { className: "font-bold max-tablet:text-[26px] text-[44px] mb-12 max-tablet:leading-[32px] leading-[42px] font-variant-numeric font-feature-settings", children: t }),
|
|
297
|
+
/* @__PURE__ */ r("div", { className: "grid grid-cols-3 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((a, n) => {
|
|
298
|
+
const s = n + 1;
|
|
229
299
|
return /* @__PURE__ */ x(
|
|
230
300
|
"div",
|
|
231
301
|
{
|
|
232
302
|
className: "p-8 bg-white rounded-[20px] flex flex-col gap-6 items-center",
|
|
233
303
|
children: [
|
|
234
|
-
|
|
235
|
-
|
|
304
|
+
a.icon ? /* @__PURE__ */ r(
|
|
305
|
+
$,
|
|
236
306
|
{
|
|
237
|
-
src:
|
|
307
|
+
src: a.icon,
|
|
238
308
|
className: "w-[72px] h-[72px] rounded-full overflow-hidden"
|
|
239
309
|
}
|
|
240
|
-
) : /* @__PURE__ */
|
|
241
|
-
/* @__PURE__ */
|
|
310
|
+
) : /* @__PURE__ */ r("span", { className: "w-[72px] h-[72px] rounded-full bg-greenLight font-bold overflow-hidden flex items-center justify-center text-white text-[24px] leading-8 ", children: s }),
|
|
311
|
+
/* @__PURE__ */ r("p", { className: "text-blackBG text-[18px] leading-[26px] text-center", children: a.text })
|
|
242
312
|
]
|
|
243
313
|
},
|
|
244
|
-
|
|
314
|
+
n
|
|
245
315
|
);
|
|
246
316
|
}) }),
|
|
247
|
-
!!(i != null && i.length) && /* @__PURE__ */
|
|
317
|
+
!!(i != null && i.length) && /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6", children: i.map((a, n) => /* @__PURE__ */ r(
|
|
248
318
|
"a",
|
|
249
319
|
{
|
|
250
|
-
href: (
|
|
320
|
+
href: (a == null ? void 0 : a.link) || "#",
|
|
251
321
|
className: "w-fit z-10 max-tablet:w-full",
|
|
252
322
|
target: "_blank",
|
|
253
323
|
rel: "noopener noreferrer",
|
|
254
|
-
children: /* @__PURE__ */
|
|
324
|
+
children: /* @__PURE__ */ r(I, { variant: a.variant, children: a.text })
|
|
255
325
|
},
|
|
256
|
-
|
|
326
|
+
n
|
|
257
327
|
)) })
|
|
258
328
|
] }) });
|
|
259
|
-
|
|
260
|
-
const
|
|
329
|
+
Bt.propsToEdit = ji;
|
|
330
|
+
const Hi = ["data"], St = ({ data: e }) => {
|
|
261
331
|
var t;
|
|
262
332
|
return /* @__PURE__ */ x("div", { className: "rounded-[20px] overflow-hidden", children: [
|
|
263
|
-
/* @__PURE__ */
|
|
264
|
-
|
|
333
|
+
/* @__PURE__ */ r(
|
|
334
|
+
$,
|
|
265
335
|
{
|
|
266
336
|
src: e == null ? void 0 : e.image,
|
|
267
337
|
alt: e == null ? void 0 : e.title,
|
|
@@ -269,77 +339,239 @@ const Ni = ["data"], Ct = ({ data: e }) => {
|
|
|
269
339
|
}
|
|
270
340
|
),
|
|
271
341
|
/* @__PURE__ */ x("div", { className: "flex flex-col gap-[24px] bg-white p-[32px]", children: [
|
|
272
|
-
/* @__PURE__ */
|
|
273
|
-
/* @__PURE__ */
|
|
274
|
-
|
|
342
|
+
/* @__PURE__ */ r("p", { className: "text-[24px] leading-[32px] font-semibold", children: e == null ? void 0 : e.title }),
|
|
343
|
+
/* @__PURE__ */ r(
|
|
344
|
+
Ze,
|
|
275
345
|
{
|
|
276
346
|
data: e == null ? void 0 : e.description,
|
|
277
347
|
className: "text-graySoft text-[15px] leading-[22px]"
|
|
278
348
|
}
|
|
279
349
|
),
|
|
280
|
-
/* @__PURE__ */
|
|
350
|
+
/* @__PURE__ */ r("div", { className: "flex gap-12px items-center max-tablet:flex-col", children: (t = e == null ? void 0 : e.button) == null ? void 0 : t.map((i) => /* @__PURE__ */ r(
|
|
281
351
|
"a",
|
|
282
352
|
{
|
|
283
353
|
href: (i == null ? void 0 : i.link) || "#",
|
|
284
354
|
target: "_blank",
|
|
285
|
-
children: /* @__PURE__ */
|
|
355
|
+
children: /* @__PURE__ */ r(I, { variant: B.Grey, children: i == null ? void 0 : i.text })
|
|
286
356
|
}
|
|
287
357
|
)) })
|
|
288
358
|
] })
|
|
289
359
|
] });
|
|
290
360
|
};
|
|
291
|
-
|
|
292
|
-
const
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
361
|
+
St.propsToEdit = Hi;
|
|
362
|
+
const Ui = {
|
|
363
|
+
type: "cards",
|
|
364
|
+
label: "Карточки",
|
|
365
|
+
dataType: "array",
|
|
366
|
+
data: {
|
|
367
|
+
title: b.TITLE,
|
|
368
|
+
image: b.FILE,
|
|
369
|
+
description: b.DESCRIPTION,
|
|
370
|
+
button: Ne
|
|
371
|
+
}
|
|
372
|
+
}, Gi = ["title", Ui], Et = ({ title: e, cards: t }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "w-full flex flex-col items-center justify-center", children: [
|
|
373
|
+
e && /* @__PURE__ */ r(
|
|
374
|
+
"p",
|
|
375
|
+
{
|
|
376
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
299
377
|
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
378
|
+
children: e
|
|
379
|
+
}
|
|
380
|
+
),
|
|
381
|
+
/* @__PURE__ */ r("div", { className: "flex flex-row max-tablet:flex-col gap-[24px]", children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ r(
|
|
382
|
+
St,
|
|
383
|
+
{
|
|
384
|
+
data: i
|
|
385
|
+
},
|
|
386
|
+
i.id
|
|
387
|
+
)) })
|
|
388
|
+
] }) });
|
|
389
|
+
Et.propsToEdit = Gi;
|
|
390
|
+
const Zi = {
|
|
391
|
+
type: "cards",
|
|
392
|
+
label: "Карточки",
|
|
393
|
+
dataType: "array",
|
|
394
|
+
data: {
|
|
395
|
+
keys: {
|
|
396
|
+
title: b.TITLE,
|
|
397
|
+
description: b.DESCRIPTION,
|
|
398
|
+
image: b.FILE,
|
|
399
|
+
is_black: b.BOOLEAN,
|
|
400
|
+
variant: b.VARIANT
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}, zi = {
|
|
404
|
+
type: "multiHasText",
|
|
405
|
+
label: "Множественные текстовые карточки",
|
|
406
|
+
dataType: "boolean"
|
|
407
|
+
}, Wi = [Zi, "title", "size", "turnover", zi], ze = ({
|
|
408
|
+
cards: e,
|
|
409
|
+
title: t,
|
|
410
|
+
size: i = Be.SMALL,
|
|
411
|
+
turnover: a,
|
|
412
|
+
multiHasText: n = !1
|
|
413
|
+
}) => {
|
|
414
|
+
let s;
|
|
415
|
+
switch (i) {
|
|
416
|
+
case Be.SMALL:
|
|
417
|
+
s = "flex flex-row items-stretch max-tablet:flex-col";
|
|
418
|
+
break;
|
|
419
|
+
case Be.MEDIUM:
|
|
420
|
+
s = "grid grid-cols-3 items-stretch max-tablet:grid-cols-1";
|
|
421
|
+
break;
|
|
422
|
+
case Be.LARGE:
|
|
423
|
+
s = "grid grid-cols-2 items-stretch max-tablet:grid-cols-1";
|
|
424
|
+
break;
|
|
425
|
+
default:
|
|
426
|
+
s = "flex flex-row items-stretch max-tablet:flex-col";
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
return /* @__PURE__ */ r(V, { className: y("p-0", { "order-[-1]": a }), children: /* @__PURE__ */ x(
|
|
430
|
+
"div",
|
|
431
|
+
{
|
|
432
|
+
className: y("w-full h-full flex flex-col items-center gap-[24px]"),
|
|
433
|
+
children: [
|
|
434
|
+
t && /* @__PURE__ */ r(
|
|
435
|
+
"p",
|
|
436
|
+
{
|
|
437
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
438
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
439
|
+
children: t
|
|
440
|
+
}
|
|
441
|
+
),
|
|
442
|
+
/* @__PURE__ */ r(
|
|
443
|
+
"div",
|
|
444
|
+
{
|
|
445
|
+
className: `${s} gap-[24px] w-full ${n ? "grid grid-cols-2 max-tablet:flex h-full" : "flex flex-row max-tablet:flex-col"}`,
|
|
446
|
+
children: e == null ? void 0 : e.map((d, p) => /* @__PURE__ */ r(
|
|
447
|
+
Fi,
|
|
448
|
+
{
|
|
449
|
+
data: d,
|
|
450
|
+
size: i,
|
|
451
|
+
className: y(
|
|
452
|
+
{ "h-full": n },
|
|
453
|
+
{
|
|
454
|
+
"col-span-2": n && p === 0
|
|
455
|
+
}
|
|
456
|
+
)
|
|
457
|
+
},
|
|
458
|
+
p
|
|
459
|
+
))
|
|
460
|
+
}
|
|
461
|
+
)
|
|
462
|
+
]
|
|
463
|
+
}
|
|
464
|
+
) });
|
|
311
465
|
};
|
|
312
|
-
|
|
313
|
-
const
|
|
466
|
+
ze.propsToEdit = Wi;
|
|
467
|
+
const Qi = {
|
|
468
|
+
type: "banner_card",
|
|
469
|
+
label: "Баннер карточка",
|
|
470
|
+
dataType: "object",
|
|
471
|
+
data: {
|
|
472
|
+
keys: {
|
|
473
|
+
image: b.FILE
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}, Ji = {
|
|
477
|
+
type: "cards",
|
|
478
|
+
label: "Карточки функций",
|
|
479
|
+
dataType: "array",
|
|
480
|
+
data: {
|
|
481
|
+
title: b.TITLE,
|
|
482
|
+
description: b.DESCRIPTION,
|
|
483
|
+
icon: b.FILE
|
|
484
|
+
}
|
|
485
|
+
}, Xi = {
|
|
486
|
+
type: "text_card",
|
|
487
|
+
label: "Текстовая карточка",
|
|
488
|
+
dataType: "object",
|
|
489
|
+
data: {
|
|
490
|
+
keys: {
|
|
491
|
+
title: b.TITLE,
|
|
492
|
+
description: b.DESCRIPTION,
|
|
493
|
+
color_text: b.COLOR
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}, Yi = [
|
|
497
|
+
"title",
|
|
498
|
+
Qi,
|
|
499
|
+
Ji,
|
|
500
|
+
Xi,
|
|
501
|
+
"is_banner_first",
|
|
502
|
+
"is_cards_first"
|
|
503
|
+
], It = ({
|
|
504
|
+
title: e,
|
|
505
|
+
banner_card: t,
|
|
506
|
+
text_card: i,
|
|
507
|
+
cards: a,
|
|
508
|
+
is_banner_first: n,
|
|
509
|
+
is_cards_first: s
|
|
510
|
+
}) => /* @__PURE__ */ x(V, { className: "flex flex-col items-center gap-[24px]", children: [
|
|
511
|
+
e && /* @__PURE__ */ r(
|
|
512
|
+
"p",
|
|
513
|
+
{
|
|
514
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
515
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
516
|
+
children: e
|
|
517
|
+
}
|
|
518
|
+
),
|
|
519
|
+
/* @__PURE__ */ x(
|
|
520
|
+
"div",
|
|
521
|
+
{
|
|
522
|
+
className: `w-full flex ${!i || !t ? "flex-row max-tablet:flex-col" : "flex-col"} gap-[24px]`,
|
|
523
|
+
children: [
|
|
524
|
+
/* @__PURE__ */ r(
|
|
525
|
+
Tt,
|
|
526
|
+
{
|
|
527
|
+
banner_card: t,
|
|
528
|
+
text_card: i,
|
|
529
|
+
is_banner_first: n
|
|
530
|
+
}
|
|
531
|
+
),
|
|
532
|
+
/* @__PURE__ */ r(
|
|
533
|
+
ze,
|
|
534
|
+
{
|
|
535
|
+
cards: a,
|
|
536
|
+
is_cards_first: s,
|
|
537
|
+
multiHasText: !i
|
|
538
|
+
}
|
|
539
|
+
)
|
|
540
|
+
]
|
|
541
|
+
}
|
|
542
|
+
)
|
|
543
|
+
] });
|
|
544
|
+
It.propsToEdit = Yi;
|
|
545
|
+
const Ki = {
|
|
314
546
|
type: "cards",
|
|
315
547
|
dataType: "array",
|
|
316
548
|
label: "Карточки",
|
|
317
549
|
data: {
|
|
318
|
-
title:
|
|
319
|
-
description:
|
|
320
|
-
image:
|
|
321
|
-
is_black:
|
|
550
|
+
title: b.TITLE,
|
|
551
|
+
description: b.DESCRIPTION,
|
|
552
|
+
image: b.FILE,
|
|
553
|
+
is_black: b.BOOLEAN,
|
|
322
554
|
variant: {
|
|
323
555
|
options: [
|
|
324
556
|
{
|
|
325
557
|
label: "Large",
|
|
326
|
-
value:
|
|
558
|
+
value: mt.LARGE
|
|
327
559
|
},
|
|
328
560
|
{
|
|
329
561
|
label: "Small",
|
|
330
|
-
value:
|
|
562
|
+
value: mt.SMALL
|
|
331
563
|
}
|
|
332
564
|
],
|
|
333
|
-
type:
|
|
565
|
+
type: b.VARIANT
|
|
334
566
|
}
|
|
335
567
|
}
|
|
336
|
-
},
|
|
568
|
+
}, ea = [Ki, "title", "grid", Ne], Vt = ({
|
|
337
569
|
cards: e,
|
|
338
570
|
title: t,
|
|
339
571
|
grid: i,
|
|
340
|
-
button:
|
|
341
|
-
}) => /* @__PURE__ */
|
|
342
|
-
t && /* @__PURE__ */
|
|
572
|
+
button: a
|
|
573
|
+
}) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "w-full flex flex-col items-center gap-6", children: [
|
|
574
|
+
t && /* @__PURE__ */ r(
|
|
343
575
|
"p",
|
|
344
576
|
{
|
|
345
577
|
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
@@ -347,104 +579,104 @@ const Di = {
|
|
|
347
579
|
children: t
|
|
348
580
|
}
|
|
349
581
|
),
|
|
350
|
-
/* @__PURE__ */
|
|
582
|
+
/* @__PURE__ */ r(
|
|
351
583
|
"div",
|
|
352
584
|
{
|
|
353
|
-
className:
|
|
585
|
+
className: y(
|
|
354
586
|
`grid grid-cols-${i} items-stretch gap-6`,
|
|
355
587
|
"max-tablet:grid-cols-1"
|
|
356
588
|
),
|
|
357
|
-
children: e == null ? void 0 : e.map((
|
|
358
|
-
|
|
589
|
+
children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ r(
|
|
590
|
+
Ci,
|
|
359
591
|
{
|
|
360
|
-
data:
|
|
592
|
+
data: n
|
|
361
593
|
},
|
|
362
|
-
|
|
594
|
+
n == null ? void 0 : n.id
|
|
363
595
|
))
|
|
364
596
|
}
|
|
365
597
|
),
|
|
366
|
-
!!(
|
|
598
|
+
!!(a != null && a.length) && /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-4", children: a.map((n, s) => /* @__PURE__ */ r(
|
|
367
599
|
"a",
|
|
368
600
|
{
|
|
369
|
-
href: (
|
|
370
|
-
className:
|
|
601
|
+
href: (n == null ? void 0 : n.link) || "#",
|
|
602
|
+
className: y("w-fit z-10 max-tablet:w-full"),
|
|
371
603
|
target: "_blank",
|
|
372
604
|
rel: "noopener noreferrer",
|
|
373
|
-
children: /* @__PURE__ */
|
|
605
|
+
children: /* @__PURE__ */ r(I, { variant: n.variant, children: n.text })
|
|
374
606
|
},
|
|
375
|
-
|
|
607
|
+
s
|
|
376
608
|
)) })
|
|
377
609
|
] }) });
|
|
378
|
-
|
|
379
|
-
const
|
|
380
|
-
type: "buttons",
|
|
381
|
-
dataType: "array",
|
|
382
|
-
label: "Кнопки",
|
|
383
|
-
data: vt
|
|
384
|
-
}, Vi = [
|
|
610
|
+
Vt.propsToEdit = ea;
|
|
611
|
+
const ta = [
|
|
385
612
|
"title",
|
|
386
613
|
"description",
|
|
387
|
-
"buttons",
|
|
388
614
|
"image",
|
|
389
615
|
"image_mob",
|
|
390
616
|
"logo",
|
|
391
617
|
"grid",
|
|
392
|
-
|
|
393
|
-
],
|
|
618
|
+
Lt
|
|
619
|
+
], Pt = ({
|
|
394
620
|
title: e,
|
|
395
621
|
description: t,
|
|
396
622
|
buttons: i,
|
|
397
|
-
image:
|
|
398
|
-
image_mob:
|
|
399
|
-
logo:
|
|
400
|
-
grid:
|
|
623
|
+
image: a,
|
|
624
|
+
image_mob: n,
|
|
625
|
+
logo: s,
|
|
626
|
+
grid: d
|
|
401
627
|
}) => {
|
|
402
|
-
const
|
|
628
|
+
const p = (v, L) => L.length % 2 !== 0 && v === L.length - 1;
|
|
403
629
|
return /* @__PURE__ */ x("section", { children: [
|
|
404
|
-
/* @__PURE__ */ x(
|
|
405
|
-
|
|
406
|
-
|
|
630
|
+
/* @__PURE__ */ x(V, { className: "flex flex-col items-center", children: [
|
|
631
|
+
s && /* @__PURE__ */ r(
|
|
632
|
+
$,
|
|
407
633
|
{
|
|
408
|
-
src:
|
|
634
|
+
src: s,
|
|
409
635
|
alt: e,
|
|
410
636
|
className: "mb-[36px] mt-[40px] w-[427px] flex items-center h-[94px] max-tablet:w-[100%] max-tablet:h-[45px] max-tablet:my-[12px] max-tablet:mb-[24px]",
|
|
411
637
|
imageStyles: "h-full w-full max-tablet:object-contain"
|
|
412
638
|
}
|
|
413
639
|
),
|
|
414
|
-
/* @__PURE__ */
|
|
415
|
-
t && /* @__PURE__ */
|
|
416
|
-
/* @__PURE__ */
|
|
640
|
+
/* @__PURE__ */ r("h1", { className: "text-black2 text-[40px] font-bold leading-[50px] mb-[24px] text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[20px]", children: e }),
|
|
641
|
+
t && /* @__PURE__ */ r("p", { className: "text-black2 text-center text-[20px] font-normal leading-[25px] mb-[32px] w-[75%] max-tablet:text-[16px] max-tablet:leading-[20px] max-tablet:w-full", children: t }),
|
|
642
|
+
/* @__PURE__ */ r(
|
|
417
643
|
"div",
|
|
418
644
|
{
|
|
419
|
-
className: `grid grid-cols-${
|
|
645
|
+
className: `grid grid-cols-${d} items-center gap-[16px] mb-[60px]
|
|
420
646
|
max-tablet:grid-cols-1 max-tablet:w-full max-tablet:mb-[40px]`,
|
|
421
|
-
children: i == null ? void 0 : i.map((
|
|
647
|
+
children: i == null ? void 0 : i.map((v, L) => /* @__PURE__ */ r(
|
|
422
648
|
"a",
|
|
423
649
|
{
|
|
424
|
-
href:
|
|
425
|
-
className:
|
|
426
|
-
[`col-span-${
|
|
650
|
+
href: v == null ? void 0 : v.link,
|
|
651
|
+
className: y("flex items-center", {
|
|
652
|
+
[`col-span-${d}`]: p(L, i)
|
|
427
653
|
}),
|
|
428
654
|
target: "_blank",
|
|
429
|
-
children: /* @__PURE__ */
|
|
655
|
+
children: /* @__PURE__ */ r(
|
|
656
|
+
I,
|
|
657
|
+
{
|
|
658
|
+
className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]",
|
|
659
|
+
title: v == null ? void 0 : v.title
|
|
660
|
+
}
|
|
661
|
+
)
|
|
430
662
|
}
|
|
431
663
|
))
|
|
432
664
|
}
|
|
433
665
|
)
|
|
434
666
|
] }),
|
|
435
|
-
|
|
436
|
-
|
|
667
|
+
a && /* @__PURE__ */ r(
|
|
668
|
+
$,
|
|
437
669
|
{
|
|
438
|
-
src:
|
|
670
|
+
src: a,
|
|
439
671
|
alt: e,
|
|
440
672
|
className: "w-full h-[450px] max-mobile:h-[320px] mb-[64px] block max-mobile::block",
|
|
441
673
|
imageStyles: "w-full h-full object-contain max-mobile:object-cover"
|
|
442
674
|
}
|
|
443
675
|
),
|
|
444
|
-
|
|
445
|
-
|
|
676
|
+
n && /* @__PURE__ */ r(
|
|
677
|
+
$,
|
|
446
678
|
{
|
|
447
|
-
src:
|
|
679
|
+
src: n,
|
|
448
680
|
alt: e,
|
|
449
681
|
className: "w-full h-[280px] hidden max-mobile::block",
|
|
450
682
|
imageStyles: "w-full h-full object-contain max-mobile:object-cover"
|
|
@@ -452,51 +684,51 @@ const Bi = {
|
|
|
452
684
|
)
|
|
453
685
|
] });
|
|
454
686
|
};
|
|
455
|
-
|
|
456
|
-
var
|
|
457
|
-
const
|
|
458
|
-
var
|
|
687
|
+
Pt.propsToEdit = ta;
|
|
688
|
+
var Ce = (e) => e.type === "checkbox", be = (e) => e instanceof Date, U = (e) => e == null;
|
|
689
|
+
const Mt = (e) => typeof e == "object";
|
|
690
|
+
var A = (e) => !U(e) && !Array.isArray(e) && Mt(e) && !be(e), ia = (e) => A(e) && e.target ? Ce(e.target) ? e.target.checked : e.target.value : e, aa = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, la = (e, t) => e.has(aa(t)), ra = (e) => {
|
|
459
691
|
const t = e.constructor && e.constructor.prototype;
|
|
460
|
-
return
|
|
461
|
-
},
|
|
462
|
-
function
|
|
692
|
+
return A(t) && t.hasOwnProperty("isPrototypeOf");
|
|
693
|
+
}, We = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
694
|
+
function j(e) {
|
|
463
695
|
let t;
|
|
464
|
-
const i = Array.isArray(e),
|
|
696
|
+
const i = Array.isArray(e), a = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
465
697
|
if (e instanceof Date)
|
|
466
698
|
t = new Date(e);
|
|
467
699
|
else if (e instanceof Set)
|
|
468
700
|
t = new Set(e);
|
|
469
|
-
else if (!(
|
|
470
|
-
if (t = i ? [] : {}, !i && !
|
|
701
|
+
else if (!(We && (e instanceof Blob || a)) && (i || A(e)))
|
|
702
|
+
if (t = i ? [] : {}, !i && !ra(e))
|
|
471
703
|
t = e;
|
|
472
704
|
else
|
|
473
|
-
for (const
|
|
474
|
-
e.hasOwnProperty(
|
|
705
|
+
for (const n in e)
|
|
706
|
+
e.hasOwnProperty(n) && (t[n] = j(e[n]));
|
|
475
707
|
else
|
|
476
708
|
return e;
|
|
477
709
|
return t;
|
|
478
710
|
}
|
|
479
|
-
var
|
|
480
|
-
if (!t || !
|
|
711
|
+
var Me = (e) => /^\w*$/.test(e), O = (e) => e === void 0, Qe = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Je = (e) => Qe(e.replace(/["|']|\]/g, "").split(/\.|\[/)), f = (e, t, i) => {
|
|
712
|
+
if (!t || !A(e))
|
|
481
713
|
return i;
|
|
482
|
-
const
|
|
483
|
-
return
|
|
484
|
-
},
|
|
485
|
-
let
|
|
486
|
-
const
|
|
487
|
-
for (; ++
|
|
488
|
-
const
|
|
489
|
-
let
|
|
490
|
-
if (
|
|
491
|
-
const
|
|
492
|
-
|
|
714
|
+
const a = (Me(t) ? [t] : Je(t)).reduce((n, s) => U(n) ? n : n[s], e);
|
|
715
|
+
return O(a) || a === e ? O(e[t]) ? i : e[t] : a;
|
|
716
|
+
}, le = (e) => typeof e == "boolean", E = (e, t, i) => {
|
|
717
|
+
let a = -1;
|
|
718
|
+
const n = Me(t) ? [t] : Je(t), s = n.length, d = s - 1;
|
|
719
|
+
for (; ++a < s; ) {
|
|
720
|
+
const p = n[a];
|
|
721
|
+
let v = i;
|
|
722
|
+
if (a !== d) {
|
|
723
|
+
const L = e[p];
|
|
724
|
+
v = A(L) || Array.isArray(L) ? L : isNaN(+n[a + 1]) ? {} : [];
|
|
493
725
|
}
|
|
494
|
-
if (
|
|
726
|
+
if (p === "__proto__" || p === "constructor" || p === "prototype")
|
|
495
727
|
return;
|
|
496
|
-
e[
|
|
728
|
+
e[p] = v, e = e[p];
|
|
497
729
|
}
|
|
498
730
|
};
|
|
499
|
-
const
|
|
731
|
+
const ut = {
|
|
500
732
|
BLUR: "blur",
|
|
501
733
|
FOCUS_OUT: "focusout",
|
|
502
734
|
CHANGE: "change"
|
|
@@ -506,7 +738,7 @@ const ct = {
|
|
|
506
738
|
onSubmit: "onSubmit",
|
|
507
739
|
onTouched: "onTouched",
|
|
508
740
|
all: "all"
|
|
509
|
-
},
|
|
741
|
+
}, ce = {
|
|
510
742
|
max: "max",
|
|
511
743
|
min: "min",
|
|
512
744
|
maxLength: "maxLength",
|
|
@@ -514,121 +746,121 @@ const ct = {
|
|
|
514
746
|
pattern: "pattern",
|
|
515
747
|
required: "required",
|
|
516
748
|
validate: "validate"
|
|
517
|
-
},
|
|
518
|
-
|
|
519
|
-
const
|
|
749
|
+
}, At = W.createContext(null);
|
|
750
|
+
At.displayName = "HookFormContext";
|
|
751
|
+
const na = (e) => {
|
|
520
752
|
const { children: t, ...i } = e;
|
|
521
|
-
return W.createElement(
|
|
753
|
+
return W.createElement(At.Provider, { value: i }, t);
|
|
522
754
|
};
|
|
523
|
-
var
|
|
524
|
-
const
|
|
755
|
+
var sa = (e, t, i, a = !0) => {
|
|
756
|
+
const n = {
|
|
525
757
|
defaultValues: t._defaultValues
|
|
526
758
|
};
|
|
527
|
-
for (const
|
|
528
|
-
Object.defineProperty(
|
|
759
|
+
for (const s in e)
|
|
760
|
+
Object.defineProperty(n, s, {
|
|
529
761
|
get: () => {
|
|
530
|
-
const
|
|
531
|
-
return t._proxyFormState[
|
|
762
|
+
const d = s;
|
|
763
|
+
return t._proxyFormState[d] !== K.all && (t._proxyFormState[d] = !a || K.all), i && (i[d] = !0), e[d];
|
|
532
764
|
}
|
|
533
765
|
});
|
|
534
|
-
return
|
|
766
|
+
return n;
|
|
535
767
|
};
|
|
536
|
-
const
|
|
537
|
-
var
|
|
768
|
+
const oa = typeof window < "u" ? pt.useLayoutEffect : pt.useEffect;
|
|
769
|
+
var re = (e) => typeof e == "string", ca = (e, t, i, a, n) => re(e) ? (a && t.watch.add(e), f(i, e, n)) : Array.isArray(e) ? e.map((s) => (a && t.watch.add(s), f(i, s))) : (a && (t.watchAll = !0), i), da = (e, t, i, a, n) => t ? {
|
|
538
770
|
...i[e],
|
|
539
771
|
types: {
|
|
540
772
|
...i[e] && i[e].types ? i[e].types : {},
|
|
541
|
-
[
|
|
773
|
+
[a]: n || !0
|
|
542
774
|
}
|
|
543
|
-
} : {}, we = (e) => Array.isArray(e) ? e : [e],
|
|
775
|
+
} : {}, we = (e) => Array.isArray(e) ? e : [e], gt = () => {
|
|
544
776
|
let e = [];
|
|
545
777
|
return {
|
|
546
778
|
get observers() {
|
|
547
779
|
return e;
|
|
548
780
|
},
|
|
549
|
-
next: (
|
|
550
|
-
for (const
|
|
551
|
-
|
|
781
|
+
next: (n) => {
|
|
782
|
+
for (const s of e)
|
|
783
|
+
s.next && s.next(n);
|
|
552
784
|
},
|
|
553
|
-
subscribe: (
|
|
785
|
+
subscribe: (n) => (e.push(n), {
|
|
554
786
|
unsubscribe: () => {
|
|
555
|
-
e = e.filter((
|
|
787
|
+
e = e.filter((s) => s !== n);
|
|
556
788
|
}
|
|
557
789
|
}),
|
|
558
790
|
unsubscribe: () => {
|
|
559
791
|
e = [];
|
|
560
792
|
}
|
|
561
793
|
};
|
|
562
|
-
}, Ge = (e) =>
|
|
563
|
-
function
|
|
794
|
+
}, Ge = (e) => U(e) || !Mt(e);
|
|
795
|
+
function ue(e, t) {
|
|
564
796
|
if (Ge(e) || Ge(t))
|
|
565
797
|
return e === t;
|
|
566
798
|
if (be(e) && be(t))
|
|
567
799
|
return e.getTime() === t.getTime();
|
|
568
|
-
const i = Object.keys(e),
|
|
569
|
-
if (i.length !==
|
|
800
|
+
const i = Object.keys(e), a = Object.keys(t);
|
|
801
|
+
if (i.length !== a.length)
|
|
570
802
|
return !1;
|
|
571
|
-
for (const
|
|
572
|
-
const
|
|
573
|
-
if (!
|
|
803
|
+
for (const n of i) {
|
|
804
|
+
const s = e[n];
|
|
805
|
+
if (!a.includes(n))
|
|
574
806
|
return !1;
|
|
575
|
-
if (
|
|
576
|
-
const
|
|
577
|
-
if (be(
|
|
807
|
+
if (n !== "ref") {
|
|
808
|
+
const d = t[n];
|
|
809
|
+
if (be(s) && be(d) || A(s) && A(d) || Array.isArray(s) && Array.isArray(d) ? !ue(s, d) : s !== d)
|
|
578
810
|
return !1;
|
|
579
811
|
}
|
|
580
812
|
}
|
|
581
813
|
return !0;
|
|
582
814
|
}
|
|
583
|
-
var Z = (e) =>
|
|
584
|
-
if (!
|
|
815
|
+
var Z = (e) => A(e) && !Object.keys(e).length, Xe = (e) => e.type === "file", ee = (e) => typeof e == "function", Ie = (e) => {
|
|
816
|
+
if (!We)
|
|
585
817
|
return !1;
|
|
586
818
|
const t = e ? e.ownerDocument : 0;
|
|
587
819
|
return e instanceof (t && t.defaultView ? t.defaultView.HTMLElement : HTMLElement);
|
|
588
|
-
},
|
|
589
|
-
function
|
|
820
|
+
}, Ot = (e) => e.type === "select-multiple", Ye = (e) => e.type === "radio", pa = (e) => Ye(e) || Ce(e), Ue = (e) => Ie(e) && e.isConnected;
|
|
821
|
+
function ma(e, t) {
|
|
590
822
|
const i = t.slice(0, -1).length;
|
|
591
|
-
let
|
|
592
|
-
for (;
|
|
593
|
-
e =
|
|
823
|
+
let a = 0;
|
|
824
|
+
for (; a < i; )
|
|
825
|
+
e = O(e) ? a++ : e[t[a++]];
|
|
594
826
|
return e;
|
|
595
827
|
}
|
|
596
|
-
function
|
|
828
|
+
function ua(e) {
|
|
597
829
|
for (const t in e)
|
|
598
|
-
if (e.hasOwnProperty(t) && !
|
|
830
|
+
if (e.hasOwnProperty(t) && !O(e[t]))
|
|
599
831
|
return !1;
|
|
600
832
|
return !0;
|
|
601
833
|
}
|
|
602
834
|
function q(e, t) {
|
|
603
|
-
const i = Array.isArray(t) ? t :
|
|
604
|
-
return
|
|
835
|
+
const i = Array.isArray(t) ? t : Me(t) ? [t] : Je(t), a = i.length === 1 ? e : ma(e, i), n = i.length - 1, s = i[n];
|
|
836
|
+
return a && delete a[s], n !== 0 && (A(a) && Z(a) || Array.isArray(a) && ua(a)) && q(e, i.slice(0, -1)), e;
|
|
605
837
|
}
|
|
606
|
-
var
|
|
838
|
+
var Rt = (e) => {
|
|
607
839
|
for (const t in e)
|
|
608
840
|
if (ee(e[t]))
|
|
609
841
|
return !0;
|
|
610
842
|
return !1;
|
|
611
843
|
};
|
|
612
|
-
function
|
|
844
|
+
function Ve(e, t = {}) {
|
|
613
845
|
const i = Array.isArray(e);
|
|
614
|
-
if (
|
|
615
|
-
for (const
|
|
616
|
-
Array.isArray(e[
|
|
846
|
+
if (A(e) || i)
|
|
847
|
+
for (const a in e)
|
|
848
|
+
Array.isArray(e[a]) || A(e[a]) && !Rt(e[a]) ? (t[a] = Array.isArray(e[a]) ? [] : {}, Ve(e[a], t[a])) : U(e[a]) || (t[a] = !0);
|
|
617
849
|
return t;
|
|
618
850
|
}
|
|
619
|
-
function
|
|
620
|
-
const
|
|
621
|
-
if (
|
|
622
|
-
for (const
|
|
623
|
-
Array.isArray(e[
|
|
851
|
+
function qt(e, t, i) {
|
|
852
|
+
const a = Array.isArray(e);
|
|
853
|
+
if (A(e) || a)
|
|
854
|
+
for (const n in e)
|
|
855
|
+
Array.isArray(e[n]) || A(e[n]) && !Rt(e[n]) ? O(t) || Ge(i[n]) ? i[n] = Array.isArray(e[n]) ? Ve(e[n], []) : { ...Ve(e[n]) } : qt(e[n], U(t) ? {} : t[n], i[n]) : i[n] = !ue(e[n], t[n]);
|
|
624
856
|
return i;
|
|
625
857
|
}
|
|
626
|
-
var _e = (e, t) =>
|
|
627
|
-
const
|
|
858
|
+
var _e = (e, t) => qt(e, t, Ve(t));
|
|
859
|
+
const xt = {
|
|
628
860
|
value: !1,
|
|
629
861
|
isValid: !1
|
|
630
|
-
},
|
|
631
|
-
var
|
|
862
|
+
}, bt = { value: !0, isValid: !0 };
|
|
863
|
+
var $t = (e) => {
|
|
632
864
|
if (Array.isArray(e)) {
|
|
633
865
|
if (e.length > 1) {
|
|
634
866
|
const t = e.filter((i) => i && i.checked && !i.disabled).map((i) => i.value);
|
|
@@ -636,197 +868,197 @@ var It = (e) => {
|
|
|
636
868
|
}
|
|
637
869
|
return e[0].checked && !e[0].disabled ? (
|
|
638
870
|
// @ts-expect-error expected to work in the browser
|
|
639
|
-
e[0].attributes && !
|
|
640
|
-
) :
|
|
871
|
+
e[0].attributes && !O(e[0].attributes.value) ? O(e[0].value) || e[0].value === "" ? bt : { value: e[0].value, isValid: !0 } : bt
|
|
872
|
+
) : xt;
|
|
641
873
|
}
|
|
642
|
-
return
|
|
643
|
-
},
|
|
644
|
-
const
|
|
874
|
+
return xt;
|
|
875
|
+
}, jt = (e, { valueAsNumber: t, valueAsDate: i, setValueAs: a }) => O(e) ? e : t ? e === "" ? NaN : e && +e : i && re(e) ? new Date(e) : a ? a(e) : e;
|
|
876
|
+
const ft = {
|
|
645
877
|
isValid: !1,
|
|
646
878
|
value: null
|
|
647
879
|
};
|
|
648
|
-
var
|
|
880
|
+
var Ht = (e) => Array.isArray(e) ? e.reduce((t, i) => i && i.checked && !i.disabled ? {
|
|
649
881
|
isValid: !0,
|
|
650
882
|
value: i.value
|
|
651
|
-
} : t,
|
|
652
|
-
function
|
|
883
|
+
} : t, ft) : ft;
|
|
884
|
+
function ht(e) {
|
|
653
885
|
const t = e.ref;
|
|
654
|
-
return
|
|
886
|
+
return Xe(t) ? t.files : Ye(t) ? Ht(e.refs).value : Ot(t) ? [...t.selectedOptions].map(({ value: i }) => i) : Ce(t) ? $t(e.refs).value : jt(O(t.value) ? e.ref.value : t.value, e);
|
|
655
887
|
}
|
|
656
|
-
var
|
|
657
|
-
const
|
|
658
|
-
for (const
|
|
659
|
-
const
|
|
660
|
-
|
|
888
|
+
var ga = (e, t, i, a) => {
|
|
889
|
+
const n = {};
|
|
890
|
+
for (const s of e) {
|
|
891
|
+
const d = f(t, s);
|
|
892
|
+
d && E(n, s, d._f);
|
|
661
893
|
}
|
|
662
894
|
return {
|
|
663
895
|
criteriaMode: i,
|
|
664
896
|
names: [...e],
|
|
665
|
-
fields:
|
|
666
|
-
shouldUseNativeValidation:
|
|
897
|
+
fields: n,
|
|
898
|
+
shouldUseNativeValidation: a
|
|
667
899
|
};
|
|
668
|
-
},
|
|
900
|
+
}, Pe = (e) => e instanceof RegExp, ye = (e) => O(e) ? e : Pe(e) ? e.source : A(e) ? Pe(e.value) ? e.value.source : e.value : e, kt = (e) => ({
|
|
669
901
|
isOnSubmit: !e || e === K.onSubmit,
|
|
670
902
|
isOnBlur: e === K.onBlur,
|
|
671
903
|
isOnChange: e === K.onChange,
|
|
672
904
|
isOnAll: e === K.all,
|
|
673
905
|
isOnTouch: e === K.onTouched
|
|
674
906
|
});
|
|
675
|
-
const
|
|
676
|
-
var
|
|
677
|
-
const ve = (e, t, i,
|
|
678
|
-
for (const
|
|
679
|
-
const
|
|
680
|
-
if (
|
|
681
|
-
const { _f:
|
|
682
|
-
if (
|
|
683
|
-
if (
|
|
907
|
+
const _t = "AsyncFunction";
|
|
908
|
+
var xa = (e) => !!e && !!e.validate && !!(ee(e.validate) && e.validate.constructor.name === _t || A(e.validate) && Object.values(e.validate).find((t) => t.constructor.name === _t)), ba = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), yt = (e, t, i) => !i && (t.watchAll || t.watch.has(e) || [...t.watch].some((a) => e.startsWith(a) && /^\.\w+/.test(e.slice(a.length))));
|
|
909
|
+
const ve = (e, t, i, a) => {
|
|
910
|
+
for (const n of i || Object.keys(e)) {
|
|
911
|
+
const s = f(e, n);
|
|
912
|
+
if (s) {
|
|
913
|
+
const { _f: d, ...p } = s;
|
|
914
|
+
if (d) {
|
|
915
|
+
if (d.refs && d.refs[0] && t(d.refs[0], n) && !a)
|
|
684
916
|
return !0;
|
|
685
|
-
if (
|
|
917
|
+
if (d.ref && t(d.ref, d.name) && !a)
|
|
686
918
|
return !0;
|
|
687
|
-
if (ve(
|
|
919
|
+
if (ve(p, t))
|
|
688
920
|
break;
|
|
689
|
-
} else if (
|
|
921
|
+
} else if (A(p) && ve(p, t))
|
|
690
922
|
break;
|
|
691
923
|
}
|
|
692
924
|
}
|
|
693
925
|
};
|
|
694
|
-
function
|
|
695
|
-
const
|
|
696
|
-
if (
|
|
926
|
+
function wt(e, t, i) {
|
|
927
|
+
const a = f(e, i);
|
|
928
|
+
if (a || Me(i))
|
|
697
929
|
return {
|
|
698
|
-
error:
|
|
930
|
+
error: a,
|
|
699
931
|
name: i
|
|
700
932
|
};
|
|
701
|
-
const
|
|
702
|
-
for (;
|
|
703
|
-
const
|
|
704
|
-
if (
|
|
933
|
+
const n = i.split(".");
|
|
934
|
+
for (; n.length; ) {
|
|
935
|
+
const s = n.join("."), d = f(t, s), p = f(e, s);
|
|
936
|
+
if (d && !Array.isArray(d) && i !== s)
|
|
705
937
|
return { name: i };
|
|
706
|
-
if (
|
|
938
|
+
if (p && p.type)
|
|
707
939
|
return {
|
|
708
|
-
name:
|
|
709
|
-
error:
|
|
940
|
+
name: s,
|
|
941
|
+
error: p
|
|
710
942
|
};
|
|
711
|
-
if (
|
|
943
|
+
if (p && p.root && p.root.type)
|
|
712
944
|
return {
|
|
713
|
-
name: `${
|
|
714
|
-
error:
|
|
945
|
+
name: `${s}.root`,
|
|
946
|
+
error: p.root
|
|
715
947
|
};
|
|
716
|
-
|
|
948
|
+
n.pop();
|
|
717
949
|
}
|
|
718
950
|
return {
|
|
719
951
|
name: i
|
|
720
952
|
};
|
|
721
953
|
}
|
|
722
|
-
var
|
|
954
|
+
var fa = (e, t, i, a) => {
|
|
723
955
|
i(e);
|
|
724
|
-
const { name:
|
|
725
|
-
return Z(
|
|
726
|
-
},
|
|
727
|
-
const
|
|
728
|
-
return
|
|
729
|
-
},
|
|
730
|
-
function
|
|
731
|
-
if (
|
|
956
|
+
const { name: n, ...s } = e;
|
|
957
|
+
return Z(s) || Object.keys(s).length >= Object.keys(t).length || Object.keys(s).find((d) => t[d] === (!a || K.all));
|
|
958
|
+
}, ha = (e, t, i) => !e || !t || e === t || we(e).some((a) => a && (i ? a === t : a.startsWith(t) || t.startsWith(a))), ka = (e, t, i, a, n) => n.isOnAll ? !1 : !i && n.isOnTouch ? !(t || e) : (i ? a.isOnBlur : n.isOnBlur) ? !e : (i ? a.isOnChange : n.isOnChange) ? e : !0, _a = (e, t) => !Qe(f(e, t)).length && q(e, t), ya = (e, t, i) => {
|
|
959
|
+
const a = we(f(e, i));
|
|
960
|
+
return E(a, "root", t[i]), E(e, i, a), e;
|
|
961
|
+
}, Ee = (e) => re(e);
|
|
962
|
+
function vt(e, t, i = "validate") {
|
|
963
|
+
if (Ee(e) || Array.isArray(e) && e.every(Ee) || le(e) && !e)
|
|
732
964
|
return {
|
|
733
965
|
type: i,
|
|
734
|
-
message:
|
|
966
|
+
message: Ee(e) ? e : "",
|
|
735
967
|
ref: t
|
|
736
968
|
};
|
|
737
969
|
}
|
|
738
|
-
var he = (e) =>
|
|
970
|
+
var he = (e) => A(e) && !Pe(e) ? e : {
|
|
739
971
|
value: e,
|
|
740
972
|
message: ""
|
|
741
|
-
},
|
|
742
|
-
const { ref:
|
|
743
|
-
if (!
|
|
973
|
+
}, Ft = async (e, t, i, a, n, s) => {
|
|
974
|
+
const { ref: d, refs: p, required: v, maxLength: L, minLength: F, min: k, max: _, pattern: ge, validate: Q, name: P, valueAsNumber: de, mount: Ae } = e._f, C = f(i, P);
|
|
975
|
+
if (!Ae || t.has(P))
|
|
744
976
|
return {};
|
|
745
|
-
const
|
|
746
|
-
|
|
747
|
-
},
|
|
748
|
-
const
|
|
749
|
-
|
|
750
|
-
type:
|
|
751
|
-
message:
|
|
752
|
-
ref:
|
|
753
|
-
...xe(
|
|
977
|
+
const oe = p ? p[0] : d, te = (N) => {
|
|
978
|
+
n && oe.reportValidity && (oe.setCustomValidity(le(N) ? "" : N || ""), oe.reportValidity());
|
|
979
|
+
}, R = {}, Le = Ye(d), pe = Ce(d), Oe = Le || pe, J = (de || Xe(d)) && O(d.value) && O(C) || Ie(d) && d.value === "" || C === "" || Array.isArray(C) && !C.length, xe = da.bind(null, P, a, R), ie = (N, T, M, H = ce.maxLength, G = ce.minLength) => {
|
|
980
|
+
const ae = N ? T : M;
|
|
981
|
+
R[P] = {
|
|
982
|
+
type: N ? H : G,
|
|
983
|
+
message: ae,
|
|
984
|
+
ref: d,
|
|
985
|
+
...xe(N ? H : G, ae)
|
|
754
986
|
};
|
|
755
987
|
};
|
|
756
|
-
if (
|
|
757
|
-
const { value:
|
|
758
|
-
if (
|
|
759
|
-
type:
|
|
760
|
-
message:
|
|
761
|
-
ref:
|
|
762
|
-
...xe(
|
|
763
|
-
}, !
|
|
764
|
-
return
|
|
988
|
+
if (s ? !Array.isArray(C) || !C.length : v && (!Oe && (J || U(C)) || le(C) && !C || pe && !$t(p).isValid || Le && !Ht(p).isValid)) {
|
|
989
|
+
const { value: N, message: T } = Ee(v) ? { value: !!v, message: v } : he(v);
|
|
990
|
+
if (N && (R[P] = {
|
|
991
|
+
type: ce.required,
|
|
992
|
+
message: T,
|
|
993
|
+
ref: oe,
|
|
994
|
+
...xe(ce.required, T)
|
|
995
|
+
}, !a))
|
|
996
|
+
return te(T), R;
|
|
765
997
|
}
|
|
766
|
-
if (!
|
|
767
|
-
let
|
|
768
|
-
const
|
|
769
|
-
if (!
|
|
770
|
-
const
|
|
771
|
-
|
|
998
|
+
if (!J && (!U(k) || !U(_))) {
|
|
999
|
+
let N, T;
|
|
1000
|
+
const M = he(_), H = he(k);
|
|
1001
|
+
if (!U(C) && !isNaN(C)) {
|
|
1002
|
+
const G = d.valueAsNumber || C && +C;
|
|
1003
|
+
U(M.value) || (N = G > M.value), U(H.value) || (T = G < H.value);
|
|
772
1004
|
} else {
|
|
773
|
-
const
|
|
774
|
-
|
|
1005
|
+
const G = d.valueAsDate || new Date(C), ae = (De) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + De), ke = d.type == "time", fe = d.type == "week";
|
|
1006
|
+
re(M.value) && C && (N = ke ? ae(C) > ae(M.value) : fe ? C > M.value : G > new Date(M.value)), re(H.value) && C && (T = ke ? ae(C) < ae(H.value) : fe ? C < H.value : G < new Date(H.value));
|
|
775
1007
|
}
|
|
776
|
-
if ((
|
|
777
|
-
return
|
|
1008
|
+
if ((N || T) && (ie(!!N, M.message, H.message, ce.max, ce.min), !a))
|
|
1009
|
+
return te(R[P].message), R;
|
|
778
1010
|
}
|
|
779
|
-
if ((
|
|
780
|
-
const
|
|
781
|
-
if ((
|
|
782
|
-
return
|
|
1011
|
+
if ((L || F) && !J && (re(C) || s && Array.isArray(C))) {
|
|
1012
|
+
const N = he(L), T = he(F), M = !U(N.value) && C.length > +N.value, H = !U(T.value) && C.length < +T.value;
|
|
1013
|
+
if ((M || H) && (ie(M, N.message, T.message), !a))
|
|
1014
|
+
return te(R[P].message), R;
|
|
783
1015
|
}
|
|
784
|
-
if (
|
|
785
|
-
const { value:
|
|
786
|
-
if (
|
|
787
|
-
type:
|
|
788
|
-
message:
|
|
789
|
-
ref:
|
|
790
|
-
...xe(
|
|
791
|
-
}, !
|
|
792
|
-
return
|
|
1016
|
+
if (ge && !J && re(C)) {
|
|
1017
|
+
const { value: N, message: T } = he(ge);
|
|
1018
|
+
if (Pe(N) && !C.match(N) && (R[P] = {
|
|
1019
|
+
type: ce.pattern,
|
|
1020
|
+
message: T,
|
|
1021
|
+
ref: d,
|
|
1022
|
+
...xe(ce.pattern, T)
|
|
1023
|
+
}, !a))
|
|
1024
|
+
return te(T), R;
|
|
793
1025
|
}
|
|
794
|
-
if (
|
|
795
|
-
if (ee(
|
|
796
|
-
const
|
|
797
|
-
if (
|
|
798
|
-
...
|
|
799
|
-
...xe(
|
|
800
|
-
}, !
|
|
801
|
-
return
|
|
802
|
-
} else if (
|
|
803
|
-
let
|
|
804
|
-
for (const
|
|
805
|
-
if (!Z(
|
|
1026
|
+
if (Q) {
|
|
1027
|
+
if (ee(Q)) {
|
|
1028
|
+
const N = await Q(C, i), T = vt(N, oe);
|
|
1029
|
+
if (T && (R[P] = {
|
|
1030
|
+
...T,
|
|
1031
|
+
...xe(ce.validate, T.message)
|
|
1032
|
+
}, !a))
|
|
1033
|
+
return te(T.message), R;
|
|
1034
|
+
} else if (A(Q)) {
|
|
1035
|
+
let N = {};
|
|
1036
|
+
for (const T in Q) {
|
|
1037
|
+
if (!Z(N) && !a)
|
|
806
1038
|
break;
|
|
807
|
-
const
|
|
808
|
-
|
|
809
|
-
...
|
|
810
|
-
...xe(
|
|
811
|
-
},
|
|
1039
|
+
const M = vt(await Q[T](C, i), oe, T);
|
|
1040
|
+
M && (N = {
|
|
1041
|
+
...M,
|
|
1042
|
+
...xe(T, M.message)
|
|
1043
|
+
}, te(M.message), a && (R[P] = N));
|
|
812
1044
|
}
|
|
813
|
-
if (!Z(
|
|
814
|
-
ref:
|
|
815
|
-
...
|
|
816
|
-
}, !
|
|
817
|
-
return
|
|
1045
|
+
if (!Z(N) && (R[P] = {
|
|
1046
|
+
ref: oe,
|
|
1047
|
+
...N
|
|
1048
|
+
}, !a))
|
|
1049
|
+
return R;
|
|
818
1050
|
}
|
|
819
1051
|
}
|
|
820
|
-
return
|
|
1052
|
+
return te(!0), R;
|
|
821
1053
|
};
|
|
822
|
-
const
|
|
1054
|
+
const wa = {
|
|
823
1055
|
mode: K.onSubmit,
|
|
824
1056
|
reValidateMode: K.onChange,
|
|
825
1057
|
shouldFocusError: !0
|
|
826
1058
|
};
|
|
827
|
-
function
|
|
1059
|
+
function va(e = {}) {
|
|
828
1060
|
let t = {
|
|
829
|
-
...
|
|
1061
|
+
...wa,
|
|
830
1062
|
...e
|
|
831
1063
|
}, i = {
|
|
832
1064
|
submitCount: 0,
|
|
@@ -844,19 +1076,19 @@ function Yi(e = {}) {
|
|
|
844
1076
|
errors: t.errors || {},
|
|
845
1077
|
disabled: t.disabled || !1
|
|
846
1078
|
};
|
|
847
|
-
const
|
|
848
|
-
let
|
|
1079
|
+
const a = {};
|
|
1080
|
+
let n = A(t.defaultValues) || A(t.values) ? j(t.defaultValues || t.values) || {} : {}, s = t.shouldUnregister ? {} : j(n), d = {
|
|
849
1081
|
action: !1,
|
|
850
1082
|
mount: !1,
|
|
851
1083
|
watch: !1
|
|
852
|
-
},
|
|
1084
|
+
}, p = {
|
|
853
1085
|
mount: /* @__PURE__ */ new Set(),
|
|
854
1086
|
disabled: /* @__PURE__ */ new Set(),
|
|
855
1087
|
unMount: /* @__PURE__ */ new Set(),
|
|
856
1088
|
array: /* @__PURE__ */ new Set(),
|
|
857
1089
|
watch: /* @__PURE__ */ new Set()
|
|
858
|
-
},
|
|
859
|
-
const
|
|
1090
|
+
}, v, L = 0;
|
|
1091
|
+
const F = {
|
|
860
1092
|
isDirty: !1,
|
|
861
1093
|
dirtyFields: !1,
|
|
862
1094
|
validatingFields: !1,
|
|
@@ -866,354 +1098,354 @@ function Yi(e = {}) {
|
|
|
866
1098
|
errors: !1
|
|
867
1099
|
};
|
|
868
1100
|
let k = {
|
|
869
|
-
...
|
|
1101
|
+
...F
|
|
870
1102
|
};
|
|
871
|
-
const
|
|
872
|
-
array:
|
|
873
|
-
state:
|
|
874
|
-
},
|
|
875
|
-
clearTimeout(
|
|
876
|
-
},
|
|
877
|
-
if (!t.disabled && (
|
|
878
|
-
const
|
|
879
|
-
|
|
880
|
-
isValid:
|
|
1103
|
+
const _ = {
|
|
1104
|
+
array: gt(),
|
|
1105
|
+
state: gt()
|
|
1106
|
+
}, ge = t.criteriaMode === K.all, Q = (l) => (o) => {
|
|
1107
|
+
clearTimeout(L), L = setTimeout(l, o);
|
|
1108
|
+
}, P = async (l) => {
|
|
1109
|
+
if (!t.disabled && (F.isValid || k.isValid || l)) {
|
|
1110
|
+
const o = t.resolver ? Z((await pe()).errors) : await J(a, !0);
|
|
1111
|
+
o !== i.isValid && _.state.next({
|
|
1112
|
+
isValid: o
|
|
881
1113
|
});
|
|
882
1114
|
}
|
|
883
|
-
},
|
|
884
|
-
!t.disabled && (
|
|
885
|
-
c && (
|
|
886
|
-
}),
|
|
1115
|
+
}, de = (l, o) => {
|
|
1116
|
+
!t.disabled && (F.isValidating || F.validatingFields || k.isValidating || k.validatingFields) && ((l || Array.from(p.mount)).forEach((c) => {
|
|
1117
|
+
c && (o ? E(i.validatingFields, c, o) : q(i.validatingFields, c));
|
|
1118
|
+
}), _.state.next({
|
|
887
1119
|
validatingFields: i.validatingFields,
|
|
888
1120
|
isValidating: !Z(i.validatingFields)
|
|
889
1121
|
}));
|
|
890
|
-
},
|
|
1122
|
+
}, Ae = (l, o = [], c, g, u = !0, m = !0) => {
|
|
891
1123
|
if (g && c && !t.disabled) {
|
|
892
|
-
if (
|
|
893
|
-
const
|
|
894
|
-
u &&
|
|
1124
|
+
if (d.action = !0, m && Array.isArray(f(a, l))) {
|
|
1125
|
+
const h = c(f(a, l), g.argA, g.argB);
|
|
1126
|
+
u && E(a, l, h);
|
|
895
1127
|
}
|
|
896
|
-
if (m && Array.isArray(
|
|
897
|
-
const
|
|
898
|
-
u &&
|
|
1128
|
+
if (m && Array.isArray(f(i.errors, l))) {
|
|
1129
|
+
const h = c(f(i.errors, l), g.argA, g.argB);
|
|
1130
|
+
u && E(i.errors, l, h), _a(i.errors, l);
|
|
899
1131
|
}
|
|
900
|
-
if ((
|
|
901
|
-
const
|
|
902
|
-
u &&
|
|
1132
|
+
if ((F.touchedFields || k.touchedFields) && m && Array.isArray(f(i.touchedFields, l))) {
|
|
1133
|
+
const h = c(f(i.touchedFields, l), g.argA, g.argB);
|
|
1134
|
+
u && E(i.touchedFields, l, h);
|
|
903
1135
|
}
|
|
904
|
-
(
|
|
905
|
-
name:
|
|
906
|
-
isDirty:
|
|
1136
|
+
(F.dirtyFields || k.dirtyFields) && (i.dirtyFields = _e(n, s)), _.state.next({
|
|
1137
|
+
name: l,
|
|
1138
|
+
isDirty: ie(l, o),
|
|
907
1139
|
dirtyFields: i.dirtyFields,
|
|
908
1140
|
errors: i.errors,
|
|
909
1141
|
isValid: i.isValid
|
|
910
1142
|
});
|
|
911
1143
|
} else
|
|
912
|
-
|
|
913
|
-
},
|
|
914
|
-
|
|
1144
|
+
E(s, l, o);
|
|
1145
|
+
}, C = (l, o) => {
|
|
1146
|
+
E(i.errors, l, o), _.state.next({
|
|
915
1147
|
errors: i.errors
|
|
916
1148
|
});
|
|
917
|
-
},
|
|
918
|
-
i.errors =
|
|
1149
|
+
}, oe = (l) => {
|
|
1150
|
+
i.errors = l, _.state.next({
|
|
919
1151
|
errors: i.errors,
|
|
920
1152
|
isValid: !1
|
|
921
1153
|
});
|
|
922
|
-
},
|
|
923
|
-
const u =
|
|
1154
|
+
}, te = (l, o, c, g) => {
|
|
1155
|
+
const u = f(a, l);
|
|
924
1156
|
if (u) {
|
|
925
|
-
const m =
|
|
926
|
-
|
|
1157
|
+
const m = f(s, l, O(c) ? f(n, l) : c);
|
|
1158
|
+
O(m) || g && g.defaultChecked || o ? E(s, l, o ? m : ht(u._f)) : M(l, m), d.mount && P();
|
|
927
1159
|
}
|
|
928
|
-
},
|
|
929
|
-
let m = !1,
|
|
1160
|
+
}, R = (l, o, c, g, u) => {
|
|
1161
|
+
let m = !1, h = !1;
|
|
930
1162
|
const D = {
|
|
931
|
-
name:
|
|
1163
|
+
name: l
|
|
932
1164
|
};
|
|
933
1165
|
if (!t.disabled) {
|
|
934
1166
|
if (!c || g) {
|
|
935
|
-
(
|
|
936
|
-
const
|
|
937
|
-
|
|
1167
|
+
(F.isDirty || k.isDirty) && (h = i.isDirty, i.isDirty = D.isDirty = ie(), m = h !== D.isDirty);
|
|
1168
|
+
const S = ue(f(n, l), o);
|
|
1169
|
+
h = !!f(i.dirtyFields, l), S ? q(i.dirtyFields, l) : E(i.dirtyFields, l, !0), D.dirtyFields = i.dirtyFields, m = m || (F.dirtyFields || k.dirtyFields) && h !== !S;
|
|
938
1170
|
}
|
|
939
1171
|
if (c) {
|
|
940
|
-
const
|
|
941
|
-
|
|
1172
|
+
const S = f(i.touchedFields, l);
|
|
1173
|
+
S || (E(i.touchedFields, l, c), D.touchedFields = i.touchedFields, m = m || (F.touchedFields || k.touchedFields) && S !== c);
|
|
942
1174
|
}
|
|
943
|
-
m && u &&
|
|
1175
|
+
m && u && _.state.next(D);
|
|
944
1176
|
}
|
|
945
1177
|
return m ? D : {};
|
|
946
|
-
},
|
|
947
|
-
const u =
|
|
948
|
-
if (t.delayError && c ? (
|
|
949
|
-
const
|
|
1178
|
+
}, Le = (l, o, c, g) => {
|
|
1179
|
+
const u = f(i.errors, l), m = (F.isValid || k.isValid) && le(o) && i.isValid !== o;
|
|
1180
|
+
if (t.delayError && c ? (v = Q(() => C(l, c)), v(t.delayError)) : (clearTimeout(L), v = null, c ? E(i.errors, l, c) : q(i.errors, l)), (c ? !ue(u, c) : u) || !Z(g) || m) {
|
|
1181
|
+
const h = {
|
|
950
1182
|
...g,
|
|
951
|
-
...m &&
|
|
1183
|
+
...m && le(o) ? { isValid: o } : {},
|
|
952
1184
|
errors: i.errors,
|
|
953
|
-
name:
|
|
1185
|
+
name: l
|
|
954
1186
|
};
|
|
955
1187
|
i = {
|
|
956
1188
|
...i,
|
|
957
|
-
...
|
|
958
|
-
},
|
|
1189
|
+
...h
|
|
1190
|
+
}, _.state.next(h);
|
|
959
1191
|
}
|
|
960
|
-
},
|
|
961
|
-
|
|
962
|
-
const
|
|
963
|
-
return
|
|
964
|
-
},
|
|
965
|
-
const { errors:
|
|
966
|
-
if (
|
|
967
|
-
for (const c of
|
|
968
|
-
const g =
|
|
969
|
-
g ?
|
|
1192
|
+
}, pe = async (l) => {
|
|
1193
|
+
de(l, !0);
|
|
1194
|
+
const o = await t.resolver(s, t.context, ga(l || p.mount, a, t.criteriaMode, t.shouldUseNativeValidation));
|
|
1195
|
+
return de(l), o;
|
|
1196
|
+
}, Oe = async (l) => {
|
|
1197
|
+
const { errors: o } = await pe(l);
|
|
1198
|
+
if (l)
|
|
1199
|
+
for (const c of l) {
|
|
1200
|
+
const g = f(o, c);
|
|
1201
|
+
g ? E(i.errors, c, g) : q(i.errors, c);
|
|
970
1202
|
}
|
|
971
1203
|
else
|
|
972
|
-
i.errors =
|
|
973
|
-
return
|
|
974
|
-
},
|
|
1204
|
+
i.errors = o;
|
|
1205
|
+
return o;
|
|
1206
|
+
}, J = async (l, o, c = {
|
|
975
1207
|
valid: !0
|
|
976
1208
|
}) => {
|
|
977
|
-
for (const g in
|
|
978
|
-
const u =
|
|
1209
|
+
for (const g in l) {
|
|
1210
|
+
const u = l[g];
|
|
979
1211
|
if (u) {
|
|
980
|
-
const { _f: m, ...
|
|
1212
|
+
const { _f: m, ...h } = u;
|
|
981
1213
|
if (m) {
|
|
982
|
-
const D =
|
|
983
|
-
|
|
984
|
-
const z = await
|
|
985
|
-
if (
|
|
1214
|
+
const D = p.array.has(m.name), S = u._f && xa(u._f);
|
|
1215
|
+
S && F.validatingFields && de([g], !0);
|
|
1216
|
+
const z = await Ft(u, p.disabled, s, ge, t.shouldUseNativeValidation && !o, D);
|
|
1217
|
+
if (S && F.validatingFields && de([g]), z[m.name] && (c.valid = !1, o))
|
|
986
1218
|
break;
|
|
987
|
-
!
|
|
1219
|
+
!o && (f(z, m.name) ? D ? ya(i.errors, z, m.name) : E(i.errors, m.name, z[m.name]) : q(i.errors, m.name));
|
|
988
1220
|
}
|
|
989
|
-
!Z(
|
|
1221
|
+
!Z(h) && await J(h, o, c);
|
|
990
1222
|
}
|
|
991
1223
|
}
|
|
992
1224
|
return c.valid;
|
|
993
1225
|
}, xe = () => {
|
|
994
|
-
for (const
|
|
995
|
-
const
|
|
996
|
-
|
|
1226
|
+
for (const l of p.unMount) {
|
|
1227
|
+
const o = f(a, l);
|
|
1228
|
+
o && (o._f.refs ? o._f.refs.every((c) => !Ue(c)) : !Ue(o._f.ref)) && Re(l);
|
|
997
1229
|
}
|
|
998
|
-
|
|
999
|
-
},
|
|
1000
|
-
...
|
|
1001
|
-
}, c,
|
|
1002
|
-
const g =
|
|
1003
|
-
let u =
|
|
1230
|
+
p.unMount = /* @__PURE__ */ new Set();
|
|
1231
|
+
}, ie = (l, o) => !t.disabled && (l && o && E(s, l, o), !ue(De(), n)), N = (l, o, c) => ca(l, p, {
|
|
1232
|
+
...d.mount ? s : O(o) ? n : re(l) ? { [l]: o } : o
|
|
1233
|
+
}, c, o), T = (l) => Qe(f(d.mount ? s : n, l, t.shouldUnregister ? f(n, l, []) : [])), M = (l, o, c = {}) => {
|
|
1234
|
+
const g = f(a, l);
|
|
1235
|
+
let u = o;
|
|
1004
1236
|
if (g) {
|
|
1005
1237
|
const m = g._f;
|
|
1006
|
-
m && (!m.disabled &&
|
|
1007
|
-
(!
|
|
1008
|
-
}) : m.refs.forEach((
|
|
1009
|
-
name:
|
|
1010
|
-
values:
|
|
1238
|
+
m && (!m.disabled && E(s, l, jt(o, m)), u = Ie(m.ref) && U(o) ? "" : o, Ot(m.ref) ? [...m.ref.options].forEach((h) => h.selected = u.includes(h.value)) : m.refs ? Ce(m.ref) ? m.refs.forEach((h) => {
|
|
1239
|
+
(!h.defaultChecked || !h.disabled) && (Array.isArray(u) ? h.checked = !!u.find((D) => D === h.value) : h.checked = u === h.value || !!u);
|
|
1240
|
+
}) : m.refs.forEach((h) => h.checked = h.value === u) : Xe(m.ref) ? m.ref.value = "" : (m.ref.value = u, m.ref.type || _.state.next({
|
|
1241
|
+
name: l,
|
|
1242
|
+
values: j(s)
|
|
1011
1243
|
})));
|
|
1012
1244
|
}
|
|
1013
|
-
(c.shouldDirty || c.shouldTouch) &&
|
|
1014
|
-
},
|
|
1015
|
-
for (const g in
|
|
1016
|
-
if (!
|
|
1245
|
+
(c.shouldDirty || c.shouldTouch) && R(l, u, c.shouldTouch, c.shouldDirty, !0), c.shouldValidate && fe(l);
|
|
1246
|
+
}, H = (l, o, c) => {
|
|
1247
|
+
for (const g in o) {
|
|
1248
|
+
if (!o.hasOwnProperty(g))
|
|
1017
1249
|
return;
|
|
1018
|
-
const u =
|
|
1019
|
-
(
|
|
1250
|
+
const u = o[g], m = l + "." + g, h = f(a, m);
|
|
1251
|
+
(p.array.has(l) || A(u) || h && !h._f) && !be(u) ? H(m, u, c) : M(m, u, c);
|
|
1020
1252
|
}
|
|
1021
|
-
},
|
|
1022
|
-
const g =
|
|
1023
|
-
|
|
1024
|
-
name:
|
|
1025
|
-
values:
|
|
1026
|
-
}), (
|
|
1027
|
-
name:
|
|
1028
|
-
dirtyFields: _e(
|
|
1029
|
-
isDirty:
|
|
1030
|
-
})) : g && !g._f && !
|
|
1031
|
-
name:
|
|
1032
|
-
values:
|
|
1253
|
+
}, G = (l, o, c = {}) => {
|
|
1254
|
+
const g = f(a, l), u = p.array.has(l), m = j(o);
|
|
1255
|
+
E(s, l, m), u ? (_.array.next({
|
|
1256
|
+
name: l,
|
|
1257
|
+
values: j(s)
|
|
1258
|
+
}), (F.isDirty || F.dirtyFields || k.isDirty || k.dirtyFields) && c.shouldDirty && _.state.next({
|
|
1259
|
+
name: l,
|
|
1260
|
+
dirtyFields: _e(n, s),
|
|
1261
|
+
isDirty: ie(l, m)
|
|
1262
|
+
})) : g && !g._f && !U(m) ? H(l, m, c) : M(l, m, c), yt(l, p) && _.state.next({ ...i }), _.state.next({
|
|
1263
|
+
name: d.mount ? l : void 0,
|
|
1264
|
+
values: j(s)
|
|
1033
1265
|
});
|
|
1034
|
-
},
|
|
1035
|
-
|
|
1036
|
-
const
|
|
1037
|
-
let c =
|
|
1038
|
-
const u =
|
|
1039
|
-
g = Number.isNaN(
|
|
1040
|
-
},
|
|
1266
|
+
}, ae = async (l) => {
|
|
1267
|
+
d.mount = !0;
|
|
1268
|
+
const o = l.target;
|
|
1269
|
+
let c = o.name, g = !0;
|
|
1270
|
+
const u = f(a, c), m = (S) => {
|
|
1271
|
+
g = Number.isNaN(S) || be(S) && isNaN(S.getTime()) || ue(S, f(s, c, S));
|
|
1272
|
+
}, h = kt(t.mode), D = kt(t.reValidateMode);
|
|
1041
1273
|
if (u) {
|
|
1042
|
-
let
|
|
1043
|
-
const
|
|
1044
|
-
|
|
1045
|
-
const
|
|
1046
|
-
if (!
|
|
1274
|
+
let S, z;
|
|
1275
|
+
const Te = o.type ? ht(u._f) : ia(l), me = l.type === ut.BLUR || l.type === ut.FOCUS_OUT, bi = !ba(u._f) && !t.resolver && !f(i.errors, c) && !u._f.deps || ka(me, f(i.touchedFields, c), i.isSubmitted, D, h), je = yt(c, p, me);
|
|
1276
|
+
E(s, c, Te), me ? (u._f.onBlur && u._f.onBlur(l), v && v(0)) : u._f.onChange && u._f.onChange(l);
|
|
1277
|
+
const He = R(c, Te, me), fi = !Z(He) || je;
|
|
1278
|
+
if (!me && _.state.next({
|
|
1047
1279
|
name: c,
|
|
1048
|
-
type:
|
|
1049
|
-
values:
|
|
1050
|
-
}),
|
|
1051
|
-
return (
|
|
1052
|
-
if (!
|
|
1053
|
-
const { errors:
|
|
1054
|
-
if (m(
|
|
1055
|
-
const
|
|
1056
|
-
|
|
1280
|
+
type: l.type,
|
|
1281
|
+
values: j(s)
|
|
1282
|
+
}), bi)
|
|
1283
|
+
return (F.isValid || k.isValid) && (t.mode === "onBlur" ? me && P() : me || P()), fi && _.state.next({ name: c, ...je ? {} : He });
|
|
1284
|
+
if (!me && je && _.state.next({ ...i }), t.resolver) {
|
|
1285
|
+
const { errors: ct } = await pe([c]);
|
|
1286
|
+
if (m(Te), g) {
|
|
1287
|
+
const hi = wt(i.errors, a, c), dt = wt(ct, a, hi.name || c);
|
|
1288
|
+
S = dt.error, c = dt.name, z = Z(ct);
|
|
1057
1289
|
}
|
|
1058
1290
|
} else
|
|
1059
|
-
|
|
1060
|
-
g && (u._f.deps && fe(u._f.deps),
|
|
1291
|
+
de([c], !0), S = (await Ft(u, p.disabled, s, ge, t.shouldUseNativeValidation))[c], de([c]), m(Te), g && (S ? z = !1 : (F.isValid || k.isValid) && (z = await J(a, !0)));
|
|
1292
|
+
g && (u._f.deps && fe(u._f.deps), Le(c, z, S, He));
|
|
1061
1293
|
}
|
|
1062
|
-
}, ke = (
|
|
1063
|
-
if (
|
|
1064
|
-
return
|
|
1065
|
-
}, fe = async (
|
|
1294
|
+
}, ke = (l, o) => {
|
|
1295
|
+
if (f(i.errors, o) && l.focus)
|
|
1296
|
+
return l.focus(), 1;
|
|
1297
|
+
}, fe = async (l, o = {}) => {
|
|
1066
1298
|
let c, g;
|
|
1067
|
-
const u = we(
|
|
1299
|
+
const u = we(l);
|
|
1068
1300
|
if (t.resolver) {
|
|
1069
|
-
const m = await
|
|
1070
|
-
c = Z(m), g =
|
|
1301
|
+
const m = await Oe(O(l) ? l : u);
|
|
1302
|
+
c = Z(m), g = l ? !u.some((h) => f(m, h)) : c;
|
|
1071
1303
|
} else
|
|
1072
|
-
|
|
1073
|
-
const
|
|
1074
|
-
return await
|
|
1075
|
-
}))).every(Boolean), !(!g && !i.isValid) &&
|
|
1076
|
-
return
|
|
1077
|
-
...!
|
|
1078
|
-
...t.resolver || !
|
|
1304
|
+
l ? (g = (await Promise.all(u.map(async (m) => {
|
|
1305
|
+
const h = f(a, m);
|
|
1306
|
+
return await J(h && h._f ? { [m]: h } : h);
|
|
1307
|
+
}))).every(Boolean), !(!g && !i.isValid) && P()) : g = c = await J(a);
|
|
1308
|
+
return _.state.next({
|
|
1309
|
+
...!re(l) || (F.isValid || k.isValid) && c !== i.isValid ? {} : { name: l },
|
|
1310
|
+
...t.resolver || !l ? { isValid: c } : {},
|
|
1079
1311
|
errors: i.errors
|
|
1080
|
-
}),
|
|
1081
|
-
}, De = (
|
|
1082
|
-
const
|
|
1083
|
-
...
|
|
1312
|
+
}), o.shouldFocus && !g && ve(a, ke, l ? u : p.mount), g;
|
|
1313
|
+
}, De = (l) => {
|
|
1314
|
+
const o = {
|
|
1315
|
+
...d.mount ? s : n
|
|
1084
1316
|
};
|
|
1085
|
-
return
|
|
1086
|
-
},
|
|
1087
|
-
invalid: !!
|
|
1088
|
-
isDirty: !!
|
|
1089
|
-
error:
|
|
1090
|
-
isValidating: !!
|
|
1091
|
-
isTouched: !!
|
|
1092
|
-
}),
|
|
1093
|
-
|
|
1094
|
-
errors:
|
|
1317
|
+
return O(l) ? o : re(l) ? f(o, l) : l.map((c) => f(o, c));
|
|
1318
|
+
}, tt = (l, o) => ({
|
|
1319
|
+
invalid: !!f((o || i).errors, l),
|
|
1320
|
+
isDirty: !!f((o || i).dirtyFields, l),
|
|
1321
|
+
error: f((o || i).errors, l),
|
|
1322
|
+
isValidating: !!f(i.validatingFields, l),
|
|
1323
|
+
isTouched: !!f((o || i).touchedFields, l)
|
|
1324
|
+
}), ci = (l) => {
|
|
1325
|
+
l && we(l).forEach((o) => q(i.errors, o)), _.state.next({
|
|
1326
|
+
errors: l ? i.errors : {}
|
|
1095
1327
|
});
|
|
1096
|
-
},
|
|
1097
|
-
const g = (
|
|
1098
|
-
|
|
1099
|
-
...
|
|
1100
|
-
...
|
|
1328
|
+
}, it = (l, o, c) => {
|
|
1329
|
+
const g = (f(a, l, { _f: {} })._f || {}).ref, u = f(i.errors, l) || {}, { ref: m, message: h, type: D, ...S } = u;
|
|
1330
|
+
E(i.errors, l, {
|
|
1331
|
+
...S,
|
|
1332
|
+
...o,
|
|
1101
1333
|
ref: g
|
|
1102
|
-
}),
|
|
1103
|
-
name:
|
|
1334
|
+
}), _.state.next({
|
|
1335
|
+
name: l,
|
|
1104
1336
|
errors: i.errors,
|
|
1105
1337
|
isValid: !1
|
|
1106
1338
|
}), c && c.shouldFocus && g && g.focus && g.focus();
|
|
1107
|
-
},
|
|
1108
|
-
next: (c) =>
|
|
1109
|
-
}) :
|
|
1110
|
-
next: (
|
|
1111
|
-
|
|
1112
|
-
values: { ...
|
|
1339
|
+
}, di = (l, o) => ee(l) ? _.state.subscribe({
|
|
1340
|
+
next: (c) => l(N(void 0, o), c)
|
|
1341
|
+
}) : N(l, o, !0), at = (l) => _.state.subscribe({
|
|
1342
|
+
next: (o) => {
|
|
1343
|
+
ha(l.name, o.name, l.exact) && fa(o, l.formState || F, xi, l.reRenderRoot) && l.callback({
|
|
1344
|
+
values: { ...s },
|
|
1113
1345
|
...i,
|
|
1114
|
-
...
|
|
1346
|
+
...o
|
|
1115
1347
|
});
|
|
1116
1348
|
}
|
|
1117
|
-
}).unsubscribe,
|
|
1349
|
+
}).unsubscribe, pi = (l) => (d.mount = !0, k = {
|
|
1118
1350
|
...k,
|
|
1119
|
-
...
|
|
1120
|
-
},
|
|
1121
|
-
...
|
|
1351
|
+
...l.formState
|
|
1352
|
+
}, at({
|
|
1353
|
+
...l,
|
|
1122
1354
|
formState: k
|
|
1123
|
-
})),
|
|
1124
|
-
for (const c of
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
values:
|
|
1128
|
-
}),
|
|
1355
|
+
})), Re = (l, o = {}) => {
|
|
1356
|
+
for (const c of l ? we(l) : p.mount)
|
|
1357
|
+
p.mount.delete(c), p.array.delete(c), o.keepValue || (q(a, c), q(s, c)), !o.keepError && q(i.errors, c), !o.keepDirty && q(i.dirtyFields, c), !o.keepTouched && q(i.touchedFields, c), !o.keepIsValidating && q(i.validatingFields, c), !t.shouldUnregister && !o.keepDefaultValue && q(n, c);
|
|
1358
|
+
_.state.next({
|
|
1359
|
+
values: j(s)
|
|
1360
|
+
}), _.state.next({
|
|
1129
1361
|
...i,
|
|
1130
|
-
...
|
|
1131
|
-
}), !
|
|
1132
|
-
},
|
|
1133
|
-
(
|
|
1134
|
-
},
|
|
1135
|
-
let c =
|
|
1136
|
-
const g =
|
|
1137
|
-
return
|
|
1362
|
+
...o.keepDirty ? { isDirty: ie() } : {}
|
|
1363
|
+
}), !o.keepIsValid && P();
|
|
1364
|
+
}, lt = ({ disabled: l, name: o }) => {
|
|
1365
|
+
(le(l) && d.mount || l || p.disabled.has(o)) && (l ? p.disabled.add(o) : p.disabled.delete(o));
|
|
1366
|
+
}, qe = (l, o = {}) => {
|
|
1367
|
+
let c = f(a, l);
|
|
1368
|
+
const g = le(o.disabled) || le(t.disabled);
|
|
1369
|
+
return E(a, l, {
|
|
1138
1370
|
...c || {},
|
|
1139
1371
|
_f: {
|
|
1140
|
-
...c && c._f ? c._f : { ref: { name:
|
|
1141
|
-
name:
|
|
1372
|
+
...c && c._f ? c._f : { ref: { name: l } },
|
|
1373
|
+
name: l,
|
|
1142
1374
|
mount: !0,
|
|
1143
|
-
...
|
|
1375
|
+
...o
|
|
1144
1376
|
}
|
|
1145
|
-
}),
|
|
1146
|
-
disabled:
|
|
1147
|
-
name:
|
|
1148
|
-
}) :
|
|
1149
|
-
...g ? { disabled:
|
|
1377
|
+
}), p.mount.add(l), c ? lt({
|
|
1378
|
+
disabled: le(o.disabled) ? o.disabled : t.disabled,
|
|
1379
|
+
name: l
|
|
1380
|
+
}) : te(l, !0, o.value), {
|
|
1381
|
+
...g ? { disabled: o.disabled || t.disabled } : {},
|
|
1150
1382
|
...t.progressive ? {
|
|
1151
|
-
required: !!
|
|
1152
|
-
min: ye(
|
|
1153
|
-
max: ye(
|
|
1154
|
-
minLength: ye(
|
|
1155
|
-
maxLength: ye(
|
|
1156
|
-
pattern: ye(
|
|
1383
|
+
required: !!o.required,
|
|
1384
|
+
min: ye(o.min),
|
|
1385
|
+
max: ye(o.max),
|
|
1386
|
+
minLength: ye(o.minLength),
|
|
1387
|
+
maxLength: ye(o.maxLength),
|
|
1388
|
+
pattern: ye(o.pattern)
|
|
1157
1389
|
} : {},
|
|
1158
|
-
name:
|
|
1159
|
-
onChange:
|
|
1160
|
-
onBlur:
|
|
1390
|
+
name: l,
|
|
1391
|
+
onChange: ae,
|
|
1392
|
+
onBlur: ae,
|
|
1161
1393
|
ref: (u) => {
|
|
1162
1394
|
if (u) {
|
|
1163
|
-
|
|
1164
|
-
const m =
|
|
1165
|
-
if (
|
|
1395
|
+
qe(l, o), c = f(a, l);
|
|
1396
|
+
const m = O(u.value) && u.querySelectorAll && u.querySelectorAll("input,select,textarea")[0] || u, h = pa(m), D = c._f.refs || [];
|
|
1397
|
+
if (h ? D.find((S) => S === m) : m === c._f.ref)
|
|
1166
1398
|
return;
|
|
1167
|
-
|
|
1399
|
+
E(a, l, {
|
|
1168
1400
|
_f: {
|
|
1169
1401
|
...c._f,
|
|
1170
|
-
...
|
|
1402
|
+
...h ? {
|
|
1171
1403
|
refs: [
|
|
1172
|
-
...D.filter(
|
|
1404
|
+
...D.filter(Ue),
|
|
1173
1405
|
m,
|
|
1174
|
-
...Array.isArray(
|
|
1406
|
+
...Array.isArray(f(n, l)) ? [{}] : []
|
|
1175
1407
|
],
|
|
1176
|
-
ref: { type: m.type, name:
|
|
1408
|
+
ref: { type: m.type, name: l }
|
|
1177
1409
|
} : { ref: m }
|
|
1178
1410
|
}
|
|
1179
|
-
}),
|
|
1411
|
+
}), te(l, !1, void 0, m);
|
|
1180
1412
|
} else
|
|
1181
|
-
c =
|
|
1413
|
+
c = f(a, l, {}), c._f && (c._f.mount = !1), (t.shouldUnregister || o.shouldUnregister) && !(la(p.array, l) && d.action) && p.unMount.add(l);
|
|
1182
1414
|
}
|
|
1183
1415
|
};
|
|
1184
|
-
},
|
|
1185
|
-
|
|
1186
|
-
const g =
|
|
1187
|
-
g && (
|
|
1188
|
-
u.disabled = g._f.disabled ||
|
|
1416
|
+
}, $e = () => t.shouldFocusError && ve(a, ke, p.mount), mi = (l) => {
|
|
1417
|
+
le(l) && (_.state.next({ disabled: l }), ve(a, (o, c) => {
|
|
1418
|
+
const g = f(a, c);
|
|
1419
|
+
g && (o.disabled = g._f.disabled || l, Array.isArray(g._f.refs) && g._f.refs.forEach((u) => {
|
|
1420
|
+
u.disabled = g._f.disabled || l;
|
|
1189
1421
|
}));
|
|
1190
1422
|
}, 0, !1));
|
|
1191
|
-
},
|
|
1423
|
+
}, rt = (l, o) => async (c) => {
|
|
1192
1424
|
let g;
|
|
1193
1425
|
c && (c.preventDefault && c.preventDefault(), c.persist && c.persist());
|
|
1194
|
-
let u =
|
|
1195
|
-
if (
|
|
1426
|
+
let u = j(s);
|
|
1427
|
+
if (_.state.next({
|
|
1196
1428
|
isSubmitting: !0
|
|
1197
1429
|
}), t.resolver) {
|
|
1198
|
-
const { errors: m, values:
|
|
1199
|
-
i.errors = m, u =
|
|
1430
|
+
const { errors: m, values: h } = await pe();
|
|
1431
|
+
i.errors = m, u = h;
|
|
1200
1432
|
} else
|
|
1201
|
-
await
|
|
1202
|
-
if (
|
|
1203
|
-
for (const m of
|
|
1204
|
-
|
|
1433
|
+
await J(a);
|
|
1434
|
+
if (p.disabled.size)
|
|
1435
|
+
for (const m of p.disabled)
|
|
1436
|
+
E(u, m, void 0);
|
|
1205
1437
|
if (q(i.errors, "root"), Z(i.errors)) {
|
|
1206
|
-
|
|
1438
|
+
_.state.next({
|
|
1207
1439
|
errors: {}
|
|
1208
1440
|
});
|
|
1209
1441
|
try {
|
|
1210
|
-
await
|
|
1442
|
+
await l(u, c);
|
|
1211
1443
|
} catch (m) {
|
|
1212
1444
|
g = m;
|
|
1213
1445
|
}
|
|
1214
1446
|
} else
|
|
1215
|
-
|
|
1216
|
-
if (
|
|
1447
|
+
o && await o({ ...i.errors }, c), $e(), setTimeout($e);
|
|
1448
|
+
if (_.state.next({
|
|
1217
1449
|
isSubmitted: !0,
|
|
1218
1450
|
isSubmitting: !1,
|
|
1219
1451
|
isSubmitSuccessful: Z(i.errors) && !g,
|
|
@@ -1221,26 +1453,26 @@ function Yi(e = {}) {
|
|
|
1221
1453
|
errors: i.errors
|
|
1222
1454
|
}), g)
|
|
1223
1455
|
throw g;
|
|
1224
|
-
},
|
|
1225
|
-
|
|
1226
|
-
},
|
|
1227
|
-
const c =
|
|
1228
|
-
if (
|
|
1229
|
-
if (
|
|
1230
|
-
const
|
|
1231
|
-
...
|
|
1232
|
-
...Object.keys(_e(
|
|
1456
|
+
}, ui = (l, o = {}) => {
|
|
1457
|
+
f(a, l) && (O(o.defaultValue) ? G(l, j(f(n, l))) : (G(l, o.defaultValue), E(n, l, j(o.defaultValue))), o.keepTouched || q(i.touchedFields, l), o.keepDirty || (q(i.dirtyFields, l), i.isDirty = o.defaultValue ? ie(l, j(f(n, l))) : ie()), o.keepError || (q(i.errors, l), F.isValid && P()), _.state.next({ ...i }));
|
|
1458
|
+
}, nt = (l, o = {}) => {
|
|
1459
|
+
const c = l ? j(l) : n, g = j(c), u = Z(l), m = u ? n : g;
|
|
1460
|
+
if (o.keepDefaultValues || (n = c), !o.keepValues) {
|
|
1461
|
+
if (o.keepDirtyValues) {
|
|
1462
|
+
const h = /* @__PURE__ */ new Set([
|
|
1463
|
+
...p.mount,
|
|
1464
|
+
...Object.keys(_e(n, s))
|
|
1233
1465
|
]);
|
|
1234
|
-
for (const D of Array.from(
|
|
1235
|
-
|
|
1466
|
+
for (const D of Array.from(h))
|
|
1467
|
+
f(i.dirtyFields, D) ? E(m, D, f(s, D)) : G(D, f(m, D));
|
|
1236
1468
|
} else {
|
|
1237
|
-
if (
|
|
1238
|
-
for (const
|
|
1239
|
-
const D =
|
|
1469
|
+
if (We && O(l))
|
|
1470
|
+
for (const h of p.mount) {
|
|
1471
|
+
const D = f(a, h);
|
|
1240
1472
|
if (D && D._f) {
|
|
1241
|
-
const
|
|
1242
|
-
if (
|
|
1243
|
-
const z =
|
|
1473
|
+
const S = Array.isArray(D._f.refs) ? D._f.refs[0] : D._f.ref;
|
|
1474
|
+
if (Ie(S)) {
|
|
1475
|
+
const z = S.closest("form");
|
|
1244
1476
|
if (z) {
|
|
1245
1477
|
z.reset();
|
|
1246
1478
|
break;
|
|
@@ -1248,91 +1480,91 @@ function Yi(e = {}) {
|
|
|
1248
1480
|
}
|
|
1249
1481
|
}
|
|
1250
1482
|
}
|
|
1251
|
-
for (const
|
|
1252
|
-
|
|
1483
|
+
for (const h of p.mount)
|
|
1484
|
+
G(h, f(m, h));
|
|
1253
1485
|
}
|
|
1254
|
-
|
|
1486
|
+
s = j(m), _.array.next({
|
|
1255
1487
|
values: { ...m }
|
|
1256
|
-
}),
|
|
1488
|
+
}), _.state.next({
|
|
1257
1489
|
values: { ...m }
|
|
1258
1490
|
});
|
|
1259
1491
|
}
|
|
1260
|
-
|
|
1261
|
-
mount:
|
|
1492
|
+
p = {
|
|
1493
|
+
mount: o.keepDirtyValues ? p.mount : /* @__PURE__ */ new Set(),
|
|
1262
1494
|
unMount: /* @__PURE__ */ new Set(),
|
|
1263
1495
|
array: /* @__PURE__ */ new Set(),
|
|
1264
1496
|
disabled: /* @__PURE__ */ new Set(),
|
|
1265
1497
|
watch: /* @__PURE__ */ new Set(),
|
|
1266
1498
|
watchAll: !1,
|
|
1267
1499
|
focus: ""
|
|
1268
|
-
},
|
|
1269
|
-
submitCount:
|
|
1270
|
-
isDirty: u ? !1 :
|
|
1271
|
-
isSubmitted:
|
|
1272
|
-
dirtyFields: u ? {} :
|
|
1273
|
-
touchedFields:
|
|
1274
|
-
errors:
|
|
1275
|
-
isSubmitSuccessful:
|
|
1500
|
+
}, d.mount = !F.isValid || !!o.keepIsValid || !!o.keepDirtyValues, d.watch = !!t.shouldUnregister, _.state.next({
|
|
1501
|
+
submitCount: o.keepSubmitCount ? i.submitCount : 0,
|
|
1502
|
+
isDirty: u ? !1 : o.keepDirty ? i.isDirty : !!(o.keepDefaultValues && !ue(l, n)),
|
|
1503
|
+
isSubmitted: o.keepIsSubmitted ? i.isSubmitted : !1,
|
|
1504
|
+
dirtyFields: u ? {} : o.keepDirtyValues ? o.keepDefaultValues && s ? _e(n, s) : i.dirtyFields : o.keepDefaultValues && l ? _e(n, l) : o.keepDirty ? i.dirtyFields : {},
|
|
1505
|
+
touchedFields: o.keepTouched ? i.touchedFields : {},
|
|
1506
|
+
errors: o.keepErrors ? i.errors : {},
|
|
1507
|
+
isSubmitSuccessful: o.keepIsSubmitSuccessful ? i.isSubmitSuccessful : !1,
|
|
1276
1508
|
isSubmitting: !1
|
|
1277
1509
|
});
|
|
1278
|
-
},
|
|
1279
|
-
const c =
|
|
1510
|
+
}, st = (l, o) => nt(ee(l) ? l(s) : l, o), gi = (l, o = {}) => {
|
|
1511
|
+
const c = f(a, l), g = c && c._f;
|
|
1280
1512
|
if (g) {
|
|
1281
1513
|
const u = g.refs ? g.refs[0] : g.ref;
|
|
1282
|
-
u.focus && (u.focus(),
|
|
1514
|
+
u.focus && (u.focus(), o.shouldSelect && ee(u.select) && u.select());
|
|
1283
1515
|
}
|
|
1284
|
-
},
|
|
1516
|
+
}, xi = (l) => {
|
|
1285
1517
|
i = {
|
|
1286
1518
|
...i,
|
|
1287
|
-
...
|
|
1519
|
+
...l
|
|
1288
1520
|
};
|
|
1289
|
-
},
|
|
1521
|
+
}, ot = {
|
|
1290
1522
|
control: {
|
|
1291
|
-
register:
|
|
1292
|
-
unregister:
|
|
1293
|
-
getFieldState:
|
|
1294
|
-
handleSubmit:
|
|
1295
|
-
setError:
|
|
1296
|
-
_subscribe:
|
|
1297
|
-
_runSchema:
|
|
1298
|
-
_focusError:
|
|
1299
|
-
_getWatch:
|
|
1300
|
-
_getDirty:
|
|
1301
|
-
_setValid:
|
|
1302
|
-
_setFieldArray:
|
|
1303
|
-
_setDisabledField:
|
|
1304
|
-
_setErrors:
|
|
1305
|
-
_getFieldArray:
|
|
1306
|
-
_reset:
|
|
1307
|
-
_resetDefaultValues: () => ee(t.defaultValues) && t.defaultValues().then((
|
|
1308
|
-
|
|
1523
|
+
register: qe,
|
|
1524
|
+
unregister: Re,
|
|
1525
|
+
getFieldState: tt,
|
|
1526
|
+
handleSubmit: rt,
|
|
1527
|
+
setError: it,
|
|
1528
|
+
_subscribe: at,
|
|
1529
|
+
_runSchema: pe,
|
|
1530
|
+
_focusError: $e,
|
|
1531
|
+
_getWatch: N,
|
|
1532
|
+
_getDirty: ie,
|
|
1533
|
+
_setValid: P,
|
|
1534
|
+
_setFieldArray: Ae,
|
|
1535
|
+
_setDisabledField: lt,
|
|
1536
|
+
_setErrors: oe,
|
|
1537
|
+
_getFieldArray: T,
|
|
1538
|
+
_reset: nt,
|
|
1539
|
+
_resetDefaultValues: () => ee(t.defaultValues) && t.defaultValues().then((l) => {
|
|
1540
|
+
st(l, t.resetOptions), _.state.next({
|
|
1309
1541
|
isLoading: !1
|
|
1310
1542
|
});
|
|
1311
1543
|
}),
|
|
1312
1544
|
_removeUnmounted: xe,
|
|
1313
|
-
_disableForm:
|
|
1314
|
-
_subjects:
|
|
1315
|
-
_proxyFormState:
|
|
1545
|
+
_disableForm: mi,
|
|
1546
|
+
_subjects: _,
|
|
1547
|
+
_proxyFormState: F,
|
|
1316
1548
|
get _fields() {
|
|
1317
|
-
return
|
|
1549
|
+
return a;
|
|
1318
1550
|
},
|
|
1319
1551
|
get _formValues() {
|
|
1320
|
-
return
|
|
1552
|
+
return s;
|
|
1321
1553
|
},
|
|
1322
1554
|
get _state() {
|
|
1323
|
-
return
|
|
1555
|
+
return d;
|
|
1324
1556
|
},
|
|
1325
|
-
set _state(
|
|
1326
|
-
|
|
1557
|
+
set _state(l) {
|
|
1558
|
+
d = l;
|
|
1327
1559
|
},
|
|
1328
1560
|
get _defaultValues() {
|
|
1329
|
-
return
|
|
1561
|
+
return n;
|
|
1330
1562
|
},
|
|
1331
1563
|
get _names() {
|
|
1332
|
-
return
|
|
1564
|
+
return p;
|
|
1333
1565
|
},
|
|
1334
|
-
set _names(
|
|
1335
|
-
|
|
1566
|
+
set _names(l) {
|
|
1567
|
+
p = l;
|
|
1336
1568
|
},
|
|
1337
1569
|
get _formState() {
|
|
1338
1570
|
return i;
|
|
@@ -1340,35 +1572,35 @@ function Yi(e = {}) {
|
|
|
1340
1572
|
get _options() {
|
|
1341
1573
|
return t;
|
|
1342
1574
|
},
|
|
1343
|
-
set _options(
|
|
1575
|
+
set _options(l) {
|
|
1344
1576
|
t = {
|
|
1345
1577
|
...t,
|
|
1346
|
-
...
|
|
1578
|
+
...l
|
|
1347
1579
|
};
|
|
1348
1580
|
}
|
|
1349
1581
|
},
|
|
1350
|
-
subscribe:
|
|
1582
|
+
subscribe: pi,
|
|
1351
1583
|
trigger: fe,
|
|
1352
|
-
register:
|
|
1353
|
-
handleSubmit:
|
|
1354
|
-
watch:
|
|
1355
|
-
setValue:
|
|
1584
|
+
register: qe,
|
|
1585
|
+
handleSubmit: rt,
|
|
1586
|
+
watch: di,
|
|
1587
|
+
setValue: G,
|
|
1356
1588
|
getValues: De,
|
|
1357
|
-
reset:
|
|
1358
|
-
resetField:
|
|
1359
|
-
clearErrors:
|
|
1360
|
-
unregister:
|
|
1361
|
-
setError:
|
|
1362
|
-
setFocus:
|
|
1363
|
-
getFieldState:
|
|
1589
|
+
reset: st,
|
|
1590
|
+
resetField: ui,
|
|
1591
|
+
clearErrors: ci,
|
|
1592
|
+
unregister: Re,
|
|
1593
|
+
setError: it,
|
|
1594
|
+
setFocus: gi,
|
|
1595
|
+
getFieldState: tt
|
|
1364
1596
|
};
|
|
1365
1597
|
return {
|
|
1366
|
-
...
|
|
1367
|
-
formControl:
|
|
1598
|
+
...ot,
|
|
1599
|
+
formControl: ot
|
|
1368
1600
|
};
|
|
1369
1601
|
}
|
|
1370
|
-
function
|
|
1371
|
-
const t = W.useRef(void 0), i = W.useRef(void 0), [
|
|
1602
|
+
function Fa(e = {}) {
|
|
1603
|
+
const t = W.useRef(void 0), i = W.useRef(void 0), [a, n] = W.useState({
|
|
1372
1604
|
isDirty: !1,
|
|
1373
1605
|
isValidating: !1,
|
|
1374
1606
|
isLoading: ee(e.defaultValues),
|
|
@@ -1389,111 +1621,120 @@ function Ki(e = {}) {
|
|
|
1389
1621
|
if (e.formControl)
|
|
1390
1622
|
t.current = {
|
|
1391
1623
|
...e.formControl,
|
|
1392
|
-
formState:
|
|
1624
|
+
formState: a
|
|
1393
1625
|
}, e.defaultValues && !ee(e.defaultValues) && e.formControl.reset(e.defaultValues, e.resetOptions);
|
|
1394
1626
|
else {
|
|
1395
|
-
const { formControl:
|
|
1627
|
+
const { formControl: d, ...p } = va(e);
|
|
1396
1628
|
t.current = {
|
|
1397
|
-
...
|
|
1398
|
-
formState:
|
|
1629
|
+
...p,
|
|
1630
|
+
formState: a
|
|
1399
1631
|
};
|
|
1400
1632
|
}
|
|
1401
|
-
const
|
|
1402
|
-
return
|
|
1403
|
-
const
|
|
1404
|
-
formState:
|
|
1405
|
-
callback: () =>
|
|
1633
|
+
const s = t.current.control;
|
|
1634
|
+
return s._options = e, oa(() => {
|
|
1635
|
+
const d = s._subscribe({
|
|
1636
|
+
formState: s._proxyFormState,
|
|
1637
|
+
callback: () => n({ ...s._formState }),
|
|
1406
1638
|
reRenderRoot: !0
|
|
1407
1639
|
});
|
|
1408
|
-
return
|
|
1409
|
-
...
|
|
1640
|
+
return n((p) => ({
|
|
1641
|
+
...p,
|
|
1410
1642
|
isReady: !0
|
|
1411
|
-
})),
|
|
1412
|
-
}, [
|
|
1413
|
-
e.mode && (
|
|
1414
|
-
}, [
|
|
1415
|
-
e.errors && (
|
|
1416
|
-
}, [
|
|
1417
|
-
e.shouldUnregister &&
|
|
1418
|
-
values:
|
|
1643
|
+
})), s._formState.isReady = !0, d;
|
|
1644
|
+
}, [s]), W.useEffect(() => s._disableForm(e.disabled), [s, e.disabled]), W.useEffect(() => {
|
|
1645
|
+
e.mode && (s._options.mode = e.mode), e.reValidateMode && (s._options.reValidateMode = e.reValidateMode);
|
|
1646
|
+
}, [s, e.mode, e.reValidateMode]), W.useEffect(() => {
|
|
1647
|
+
e.errors && (s._setErrors(e.errors), s._focusError());
|
|
1648
|
+
}, [s, e.errors]), W.useEffect(() => {
|
|
1649
|
+
e.shouldUnregister && s._subjects.state.next({
|
|
1650
|
+
values: s._getWatch()
|
|
1419
1651
|
});
|
|
1420
|
-
}, [
|
|
1421
|
-
if (
|
|
1422
|
-
const
|
|
1423
|
-
|
|
1424
|
-
isDirty:
|
|
1652
|
+
}, [s, e.shouldUnregister]), W.useEffect(() => {
|
|
1653
|
+
if (s._proxyFormState.isDirty) {
|
|
1654
|
+
const d = s._getDirty();
|
|
1655
|
+
d !== a.isDirty && s._subjects.state.next({
|
|
1656
|
+
isDirty: d
|
|
1425
1657
|
});
|
|
1426
1658
|
}
|
|
1427
|
-
}, [
|
|
1428
|
-
e.values && !
|
|
1429
|
-
}, [
|
|
1430
|
-
|
|
1431
|
-
}), t.current.formState =
|
|
1659
|
+
}, [s, a.isDirty]), W.useEffect(() => {
|
|
1660
|
+
e.values && !ue(e.values, i.current) ? (s._reset(e.values, s._options.resetOptions), i.current = e.values, n((d) => ({ ...d }))) : s._resetDefaultValues();
|
|
1661
|
+
}, [s, e.values]), W.useEffect(() => {
|
|
1662
|
+
s._state.mount || (s._setValid(), s._state.mount = !0), s._state.watch && (s._state.watch = !1, s._subjects.state.next({ ...s._formState })), s._removeUnmounted();
|
|
1663
|
+
}), t.current.formState = sa(a, s), t.current;
|
|
1432
1664
|
}
|
|
1433
|
-
const
|
|
1434
|
-
const [i,
|
|
1665
|
+
const Na = ({ faqId: e, percent: t }) => {
|
|
1666
|
+
const [i, a] = ki(!1), n = Fa({
|
|
1435
1667
|
defaultValues: {
|
|
1436
1668
|
faq: e
|
|
1437
1669
|
}
|
|
1438
|
-
}), { handleSubmit:
|
|
1670
|
+
}), { handleSubmit: s, setValue: d, getValues: p } = n, v = (k) => {
|
|
1439
1671
|
try {
|
|
1440
|
-
|
|
1441
|
-
} catch (
|
|
1442
|
-
console.error("Error submitting feedback:",
|
|
1672
|
+
a(!0), console.log("Submitted:", k);
|
|
1673
|
+
} catch (_) {
|
|
1674
|
+
console.error("Error submitting feedback:", _);
|
|
1443
1675
|
} finally {
|
|
1444
|
-
|
|
1676
|
+
a(!1);
|
|
1445
1677
|
}
|
|
1446
|
-
},
|
|
1447
|
-
|
|
1448
|
-
},
|
|
1449
|
-
return /* @__PURE__ */
|
|
1678
|
+
}, L = (k) => {
|
|
1679
|
+
d("rate", k), s(v)();
|
|
1680
|
+
}, F = p("rate");
|
|
1681
|
+
return /* @__PURE__ */ r(na, { ...n, children: /* @__PURE__ */ r("form", { children: /* @__PURE__ */ x("div", { className: "mt-6 flex items-center gap-6 max-tablet:flex-col max-tablet:items-start", children: [
|
|
1450
1682
|
/* @__PURE__ */ x("div", { className: "border-l-2 border-green pl-6 mr-14 shrink-0", children: [
|
|
1451
|
-
/* @__PURE__ */
|
|
1452
|
-
/* @__PURE__ */
|
|
1683
|
+
/* @__PURE__ */ r("span", { className: "text-gray2 block text-[14px] leading-5", children: `${t}% считают ответ полезным` }),
|
|
1684
|
+
/* @__PURE__ */ r("p", { className: "text-blackBG text-[15px] leading-[22px]", children: "Ответ был полезным?" })
|
|
1453
1685
|
] }),
|
|
1454
1686
|
/* @__PURE__ */ x("div", { className: "flex items-center gap-4 w-full max-tablet::pt-4", children: [
|
|
1455
|
-
/* @__PURE__ */
|
|
1456
|
-
|
|
1687
|
+
/* @__PURE__ */ r(
|
|
1688
|
+
I,
|
|
1457
1689
|
{
|
|
1458
1690
|
size: Y.M,
|
|
1459
1691
|
variant: B.Secondary,
|
|
1460
1692
|
className: "w-[125px]",
|
|
1461
1693
|
disabled: i,
|
|
1462
|
-
onClick: () =>
|
|
1463
|
-
loading:
|
|
1694
|
+
onClick: () => L("yes"),
|
|
1695
|
+
loading: F === "yes" && i,
|
|
1464
1696
|
children: "Да"
|
|
1465
1697
|
}
|
|
1466
1698
|
),
|
|
1467
|
-
/* @__PURE__ */
|
|
1468
|
-
|
|
1699
|
+
/* @__PURE__ */ r(
|
|
1700
|
+
I,
|
|
1469
1701
|
{
|
|
1470
1702
|
size: Y.M,
|
|
1471
1703
|
variant: B.Secondary,
|
|
1472
1704
|
className: "w-[125px]",
|
|
1473
1705
|
disabled: i,
|
|
1474
|
-
onClick: () =>
|
|
1475
|
-
loading:
|
|
1706
|
+
onClick: () => L("no"),
|
|
1707
|
+
loading: F === "no" && i,
|
|
1476
1708
|
children: "Нет"
|
|
1477
1709
|
}
|
|
1478
1710
|
)
|
|
1479
1711
|
] })
|
|
1480
1712
|
] }) }) });
|
|
1481
|
-
},
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1713
|
+
}, Ca = {
|
|
1714
|
+
type: "data",
|
|
1715
|
+
label: "Вопрос",
|
|
1716
|
+
dataType: "array",
|
|
1717
|
+
data: {
|
|
1718
|
+
title: b.TITLE,
|
|
1719
|
+
description: b.HTML_CONTENT,
|
|
1720
|
+
percentage: b.NUMBER
|
|
1721
|
+
}
|
|
1722
|
+
}, La = [Ca, "title"], Ut = ({ data: e, title: t }) => e != null && e.length ? /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "w-full mx-auto flex flex-col gap-[48px] transition-all duration-1000 max-tablet:gap-[30px]", children: [
|
|
1723
|
+
t && /* @__PURE__ */ r("p", { className: "text-[44px] leading-[55px] font-bold text-center text-black2 max-tablet:text-[24px] max-tablet:leading-[30px] m-0", children: t }),
|
|
1724
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col bg-white p-12 rounded-[20px] max-tablet:p-6", children: e == null ? void 0 : e.map((i) => /* @__PURE__ */ r(
|
|
1725
|
+
Li,
|
|
1485
1726
|
{
|
|
1486
1727
|
title: i == null ? void 0 : i.title,
|
|
1487
1728
|
children: /* @__PURE__ */ x("div", { children: [
|
|
1488
|
-
/* @__PURE__ */
|
|
1489
|
-
|
|
1729
|
+
/* @__PURE__ */ r(
|
|
1730
|
+
Ze,
|
|
1490
1731
|
{
|
|
1491
1732
|
data: i == null ? void 0 : i.description,
|
|
1492
1733
|
className: "text-[18px] leading-[26px] text-blackBG "
|
|
1493
1734
|
}
|
|
1494
1735
|
),
|
|
1495
|
-
/* @__PURE__ */
|
|
1496
|
-
|
|
1736
|
+
/* @__PURE__ */ r(
|
|
1737
|
+
Na,
|
|
1497
1738
|
{
|
|
1498
1739
|
faqId: i == null ? void 0 : i.id,
|
|
1499
1740
|
percent: i == null ? void 0 : i.percentage
|
|
@@ -1505,36 +1746,36 @@ const ea = ({ faqId: e, percent: t }) => {
|
|
|
1505
1746
|
i == null ? void 0 : i.id
|
|
1506
1747
|
)) })
|
|
1507
1748
|
] }) }) : null;
|
|
1508
|
-
|
|
1509
|
-
const
|
|
1749
|
+
Ut.propsToEdit = La;
|
|
1750
|
+
const Da = ["title", "cards", "button"], Gt = ({
|
|
1510
1751
|
title: e,
|
|
1511
1752
|
cards: t,
|
|
1512
1753
|
button: i
|
|
1513
|
-
}) => /* @__PURE__ */ x(
|
|
1514
|
-
e && /* @__PURE__ */
|
|
1515
|
-
/* @__PURE__ */
|
|
1516
|
-
|
|
1754
|
+
}) => /* @__PURE__ */ x(V, { className: "flex flex-col items-center", children: [
|
|
1755
|
+
e && /* @__PURE__ */ r("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: e }),
|
|
1756
|
+
/* @__PURE__ */ r("div", { className: "flex items-stretch gap-[24px]", children: t == null ? void 0 : t.map((a) => /* @__PURE__ */ r(
|
|
1757
|
+
Di,
|
|
1517
1758
|
{
|
|
1518
|
-
data:
|
|
1759
|
+
data: a
|
|
1519
1760
|
},
|
|
1520
|
-
|
|
1761
|
+
a == null ? void 0 : a.id
|
|
1521
1762
|
)) }),
|
|
1522
|
-
(i == null ? void 0 : i.link) && (i == null ? void 0 : i.text) && /* @__PURE__ */
|
|
1763
|
+
(i == null ? void 0 : i.link) && (i == null ? void 0 : i.text) && /* @__PURE__ */ r(
|
|
1523
1764
|
"a",
|
|
1524
1765
|
{
|
|
1525
1766
|
href: i == null ? void 0 : i.link,
|
|
1526
1767
|
target: "_blank",
|
|
1527
1768
|
className: "mt-[24px]",
|
|
1528
|
-
children: /* @__PURE__ */
|
|
1769
|
+
children: /* @__PURE__ */ r(I, { children: i == null ? void 0 : i.text })
|
|
1529
1770
|
}
|
|
1530
1771
|
)
|
|
1531
1772
|
] });
|
|
1532
|
-
|
|
1533
|
-
const
|
|
1534
|
-
var t, i,
|
|
1773
|
+
Gt.propsToEdit = Da;
|
|
1774
|
+
const Ta = ["item"], Zt = ({ item: e }) => {
|
|
1775
|
+
var t, i, a;
|
|
1535
1776
|
return /* @__PURE__ */ x("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
|
|
1536
|
-
/* @__PURE__ */
|
|
1537
|
-
|
|
1777
|
+
/* @__PURE__ */ r("div", { className: "relative w-full h-[256px]", children: /* @__PURE__ */ r(
|
|
1778
|
+
$,
|
|
1538
1779
|
{
|
|
1539
1780
|
src: e == null ? void 0 : e.image,
|
|
1540
1781
|
alt: e == null ? void 0 : e.title,
|
|
@@ -1543,41 +1784,41 @@ const aa = ["item"], Ht = ({ item: e }) => {
|
|
|
1543
1784
|
}
|
|
1544
1785
|
) }),
|
|
1545
1786
|
/* @__PURE__ */ x("div", { className: "bg-white p-[32px] flex flex-col gap-[8px] h-full", children: [
|
|
1546
|
-
(e == null ? void 0 : e.title) && /* @__PURE__ */
|
|
1547
|
-
(e == null ? void 0 : e.subtitle) && /* @__PURE__ */
|
|
1548
|
-
(e == null ? void 0 : e.button.button_link) && ((t = e == null ? void 0 : e.button) == null ? void 0 : t.button_text) && /* @__PURE__ */
|
|
1787
|
+
(e == null ? void 0 : e.title) && /* @__PURE__ */ r("p", { className: "text-[24px] leading-[32px] font-bold", children: e == null ? void 0 : e.title }),
|
|
1788
|
+
(e == null ? void 0 : e.subtitle) && /* @__PURE__ */ r("p", { className: "text-[14px] leading-[20px] text-graySoft", children: e == null ? void 0 : e.subtitle }),
|
|
1789
|
+
(e == null ? void 0 : e.button.button_link) && ((t = e == null ? void 0 : e.button) == null ? void 0 : t.button_text) && /* @__PURE__ */ r(
|
|
1549
1790
|
"a",
|
|
1550
1791
|
{
|
|
1551
1792
|
href: (i = e == null ? void 0 : e.button) == null ? void 0 : i.button_link,
|
|
1552
1793
|
className: "mt-[24px]",
|
|
1553
|
-
children: /* @__PURE__ */
|
|
1794
|
+
children: /* @__PURE__ */ r(I, { variant: B.SecondaryBlue, children: (a = e == null ? void 0 : e.button) == null ? void 0 : a.button_text })
|
|
1554
1795
|
}
|
|
1555
1796
|
)
|
|
1556
1797
|
] })
|
|
1557
1798
|
] });
|
|
1558
1799
|
};
|
|
1559
|
-
|
|
1560
|
-
const
|
|
1800
|
+
Zt.propsToEdit = Ta;
|
|
1801
|
+
const Ba = ["title", "cards", "button_link", "button_text", "grid"], zt = ({
|
|
1561
1802
|
title: e,
|
|
1562
1803
|
cards: t,
|
|
1563
1804
|
button_link: i,
|
|
1564
|
-
button_text:
|
|
1565
|
-
grid:
|
|
1566
|
-
}) => /* @__PURE__ */ x(
|
|
1567
|
-
e && /* @__PURE__ */
|
|
1568
|
-
/* @__PURE__ */
|
|
1569
|
-
i &&
|
|
1805
|
+
button_text: a,
|
|
1806
|
+
grid: n = 3
|
|
1807
|
+
}) => /* @__PURE__ */ x(V, { className: "flex flex-col items-center", children: [
|
|
1808
|
+
e && /* @__PURE__ */ r("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: e }),
|
|
1809
|
+
/* @__PURE__ */ r("div", { className: `grid grid-cols-${n} items-stretch gap-[24px]`, children: t == null ? void 0 : t.map((s) => /* @__PURE__ */ r(Zt, { item: s })) }),
|
|
1810
|
+
i && a && /* @__PURE__ */ r(
|
|
1570
1811
|
"a",
|
|
1571
1812
|
{
|
|
1572
1813
|
href: i,
|
|
1573
1814
|
target: "_blank",
|
|
1574
1815
|
className: "mt-[24px]",
|
|
1575
|
-
children: /* @__PURE__ */
|
|
1816
|
+
children: /* @__PURE__ */ r(I, { children: a })
|
|
1576
1817
|
}
|
|
1577
1818
|
)
|
|
1578
1819
|
] });
|
|
1579
|
-
|
|
1580
|
-
const
|
|
1820
|
+
zt.propsToEdit = Ba;
|
|
1821
|
+
const Sa = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
1581
1822
|
"svg",
|
|
1582
1823
|
{
|
|
1583
1824
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1587,14 +1828,14 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1587
1828
|
fill: "none",
|
|
1588
1829
|
...t,
|
|
1589
1830
|
children: [
|
|
1590
|
-
/* @__PURE__ */
|
|
1831
|
+
/* @__PURE__ */ r(
|
|
1591
1832
|
"path",
|
|
1592
1833
|
{
|
|
1593
1834
|
d: "M0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",
|
|
1594
1835
|
fill: "#1B1E22"
|
|
1595
1836
|
}
|
|
1596
1837
|
),
|
|
1597
|
-
/* @__PURE__ */
|
|
1838
|
+
/* @__PURE__ */ r(
|
|
1598
1839
|
"path",
|
|
1599
1840
|
{
|
|
1600
1841
|
d: "M0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",
|
|
@@ -1602,7 +1843,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1602
1843
|
"fill-opacity": "0.2"
|
|
1603
1844
|
}
|
|
1604
1845
|
),
|
|
1605
|
-
/* @__PURE__ */
|
|
1846
|
+
/* @__PURE__ */ r(
|
|
1606
1847
|
"path",
|
|
1607
1848
|
{
|
|
1608
1849
|
"fill-rule": "evenodd",
|
|
@@ -1611,7 +1852,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1611
1852
|
fill: "white"
|
|
1612
1853
|
}
|
|
1613
1854
|
),
|
|
1614
|
-
/* @__PURE__ */
|
|
1855
|
+
/* @__PURE__ */ r(
|
|
1615
1856
|
"path",
|
|
1616
1857
|
{
|
|
1617
1858
|
"fill-rule": "evenodd",
|
|
@@ -1632,14 +1873,14 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1632
1873
|
y2: "48",
|
|
1633
1874
|
gradientUnits: "userSpaceOnUse",
|
|
1634
1875
|
children: [
|
|
1635
|
-
/* @__PURE__ */
|
|
1876
|
+
/* @__PURE__ */ r(
|
|
1636
1877
|
"stop",
|
|
1637
1878
|
{
|
|
1638
1879
|
"stop-color": "white",
|
|
1639
1880
|
"stop-opacity": "0"
|
|
1640
1881
|
}
|
|
1641
1882
|
),
|
|
1642
|
-
/* @__PURE__ */
|
|
1883
|
+
/* @__PURE__ */ r(
|
|
1643
1884
|
"stop",
|
|
1644
1885
|
{
|
|
1645
1886
|
offset: "1",
|
|
@@ -1659,15 +1900,15 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1659
1900
|
y2: "32",
|
|
1660
1901
|
gradientUnits: "userSpaceOnUse",
|
|
1661
1902
|
children: [
|
|
1662
|
-
/* @__PURE__ */
|
|
1663
|
-
/* @__PURE__ */
|
|
1903
|
+
/* @__PURE__ */ r("stop", { "stop-opacity": "0" }),
|
|
1904
|
+
/* @__PURE__ */ r("stop", { offset: "1" })
|
|
1664
1905
|
]
|
|
1665
1906
|
}
|
|
1666
1907
|
)
|
|
1667
1908
|
] })
|
|
1668
1909
|
]
|
|
1669
1910
|
}
|
|
1670
|
-
),
|
|
1911
|
+
), Ea = ({ size: e, color: t, ...i }) => /* @__PURE__ */ r(
|
|
1671
1912
|
"svg",
|
|
1672
1913
|
{
|
|
1673
1914
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1676,7 +1917,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1676
1917
|
viewBox: "0 0 20 22",
|
|
1677
1918
|
fill: "none",
|
|
1678
1919
|
...i,
|
|
1679
|
-
children: /* @__PURE__ */
|
|
1920
|
+
children: /* @__PURE__ */ r(
|
|
1680
1921
|
"path",
|
|
1681
1922
|
{
|
|
1682
1923
|
d: "M1.24254 17.9701L0.272393 18.2127L0.272393 18.2127L1.24254 17.9701ZM18.7575 17.9701L17.7873 17.7276V17.7276L18.7575 17.9701ZM17.6693 20.5764L17.0539 19.7882V19.7882L17.6693 20.5764ZM2.33073 20.5764L2.94614 19.7882H2.94614L2.33073 20.5764ZM7.17157 12.1716L6.46447 12.8787H6.46447L7.17157 12.1716ZM12.8284 12.1716L12.1213 11.4645L12.8284 12.1716ZM0.0298575 17.2425L0.272393 18.2127L2.21268 17.7276L1.97014 16.7575L0.0298575 17.2425ZM5.12311 22H14.8769V20H5.12311V22ZM19.7276 18.2127L19.9701 17.2425L18.0299 16.7575L17.7873 17.7276L19.7276 18.2127ZM14.8769 22C15.6025 22 16.235 22.0017 16.7508 21.94C17.2934 21.8751 17.8165 21.7302 18.2847 21.3646L17.0539 19.7882C16.9796 19.8462 16.8564 19.9131 16.5134 19.9541C16.1436 19.9983 15.6512 20 14.8769 20V22ZM17.7873 17.7276C17.5995 18.4788 17.4785 18.9561 17.3459 19.3041C17.2229 19.6269 17.1281 19.7302 17.0539 19.7882L18.2847 21.3646C18.7529 20.999 19.0203 20.5267 19.2149 20.0161C19.3998 19.5306 19.5516 18.9166 19.7276 18.2127L17.7873 17.7276ZM0.272393 18.2127C0.448378 18.9166 0.600166 19.5306 0.785121 20.0161C0.979652 20.5267 1.24708 20.999 1.71532 21.3646L2.94614 19.7882C2.87185 19.7302 2.77708 19.6269 2.65409 19.3041C2.52152 18.9561 2.40047 18.4788 2.21268 17.7276L0.272393 18.2127ZM5.12311 20C4.34881 20 3.85637 19.9983 3.48663 19.9541C3.14361 19.9131 3.02043 19.8462 2.94614 19.7882L1.71532 21.3646C2.18355 21.7302 2.70661 21.8751 3.24917 21.94C3.76501 22.0017 4.3975 22 5.12311 22V20ZM7.87868 11.4645L4.70711 8.29289L3.29289 9.70711L6.46447 12.8787L7.87868 11.4645ZM13.5355 12.8787L16.7071 9.70711L15.2929 8.29289L12.1213 11.4645L13.5355 12.8787ZM6.46447 12.8787C7.11114 13.5254 7.66578 14.083 8.16855 14.4666C8.69438 14.8678 9.27923 15.1716 10 15.1716V13.1716C9.89234 13.1716 9.72964 13.142 9.38171 12.8766C9.0107 12.5935 8.56534 12.1511 7.87868 11.4645L6.46447 12.8787ZM12.1213 11.4645C11.4347 12.1511 10.9893 12.5935 10.6183 12.8766C10.2704 13.142 10.1077 13.1716 10 13.1716V15.1716C10.7208 15.1716 11.3056 14.8678 11.8315 14.4666C12.3342 14.083 12.8889 13.5254 13.5355 12.8787L12.1213 11.4645ZM9 0V14H11V0H9Z",
|
|
@@ -1684,7 +1925,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1684
1925
|
}
|
|
1685
1926
|
)
|
|
1686
1927
|
}
|
|
1687
|
-
),
|
|
1928
|
+
), Ia = ({ size: e, color: t, ...i }) => /* @__PURE__ */ r(
|
|
1688
1929
|
"svg",
|
|
1689
1930
|
{
|
|
1690
1931
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1693,7 +1934,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1693
1934
|
viewBox: "0 0 66 82",
|
|
1694
1935
|
fill: "none",
|
|
1695
1936
|
...i,
|
|
1696
|
-
children: /* @__PURE__ */
|
|
1937
|
+
children: /* @__PURE__ */ r(
|
|
1697
1938
|
"path",
|
|
1698
1939
|
{
|
|
1699
1940
|
"fill-rule": "evenodd",
|
|
@@ -1703,7 +1944,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1703
1944
|
}
|
|
1704
1945
|
)
|
|
1705
1946
|
}
|
|
1706
|
-
),
|
|
1947
|
+
), Va = ({ size: e, ...t }) => /* @__PURE__ */ r(
|
|
1707
1948
|
"svg",
|
|
1708
1949
|
{
|
|
1709
1950
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1712,7 +1953,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1712
1953
|
viewBox: "0 0 38 38",
|
|
1713
1954
|
fill: "none",
|
|
1714
1955
|
...t,
|
|
1715
|
-
children: /* @__PURE__ */
|
|
1956
|
+
children: /* @__PURE__ */ r(
|
|
1716
1957
|
"path",
|
|
1717
1958
|
{
|
|
1718
1959
|
d: "M19 37.3334C8.88329 37.3334 0.666626 29.1001 0.666626 19.0001C0.666626 8.90008 8.88329 0.666748 19 0.666748C29.1166 0.666748 37.3333 8.88342 37.3333 19.0001C37.3333 29.1167 29.1166 37.3334 19 37.3334ZM20.6666 12.3334H17.3333V15.6667H20.6666V12.3334ZM20.6666 18.1667H17.3333V27.3334H20.6666V18.1667Z",
|
|
@@ -1720,7 +1961,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1720
1961
|
}
|
|
1721
1962
|
)
|
|
1722
1963
|
}
|
|
1723
|
-
),
|
|
1964
|
+
), Pa = ({ size: e, ...t }) => /* @__PURE__ */ r(
|
|
1724
1965
|
"svg",
|
|
1725
1966
|
{
|
|
1726
1967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1729,7 +1970,7 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1729
1970
|
viewBox: "0 0 38 38",
|
|
1730
1971
|
fill: "none",
|
|
1731
1972
|
...t,
|
|
1732
|
-
children: /* @__PURE__ */
|
|
1973
|
+
children: /* @__PURE__ */ r(
|
|
1733
1974
|
"path",
|
|
1734
1975
|
{
|
|
1735
1976
|
d: "M19 37.3334C8.88329 37.3334 0.666626 29.1001 0.666626 19.0001C0.666626 8.90008 8.88329 0.666748 19 0.666748C29.1166 0.666748 37.3333 8.88342 37.3333 19.0001C37.3333 29.1167 29.1166 37.3334 19 37.3334ZM20.6666 12.3334H17.3333V15.6667H20.6666V12.3334ZM20.6666 18.1667H17.3333V27.3334H20.6666V18.1667Z",
|
|
@@ -1737,89 +1978,89 @@ const na = ({ size: e, ...t }) => /* @__PURE__ */ x(
|
|
|
1737
1978
|
}
|
|
1738
1979
|
)
|
|
1739
1980
|
}
|
|
1740
|
-
),
|
|
1741
|
-
infoDark:
|
|
1742
|
-
infoCrown:
|
|
1743
|
-
infoLight:
|
|
1744
|
-
download:
|
|
1745
|
-
file:
|
|
1746
|
-
},
|
|
1981
|
+
), Nt = {
|
|
1982
|
+
infoDark: Va,
|
|
1983
|
+
infoCrown: Sa,
|
|
1984
|
+
infoLight: Pa,
|
|
1985
|
+
download: Ea,
|
|
1986
|
+
file: Ia
|
|
1987
|
+
}, Ma = {
|
|
1747
1988
|
sm: 12,
|
|
1748
1989
|
mx: 16,
|
|
1749
1990
|
lx: 20,
|
|
1750
1991
|
md: 24,
|
|
1751
1992
|
lg: 32
|
|
1752
|
-
},
|
|
1993
|
+
}, se = ({
|
|
1753
1994
|
name: e,
|
|
1754
1995
|
color: t = "currentColor",
|
|
1755
1996
|
size: i = "sm",
|
|
1756
|
-
...
|
|
1757
|
-
}) =>
|
|
1758
|
-
size: typeof i == "string" ?
|
|
1997
|
+
...a
|
|
1998
|
+
}) => Nt[e] && Nt[e]({
|
|
1999
|
+
size: typeof i == "string" ? Ma[i] : i,
|
|
1759
2000
|
color: t,
|
|
1760
2001
|
name: e,
|
|
1761
|
-
...
|
|
1762
|
-
}),
|
|
2002
|
+
...a
|
|
2003
|
+
}), Aa = ["title", "description", "button_text", "variant"], Wt = ({
|
|
1763
2004
|
title: e,
|
|
1764
2005
|
description: t,
|
|
1765
2006
|
button_text: i,
|
|
1766
|
-
variant:
|
|
1767
|
-
}) => /* @__PURE__ */
|
|
2007
|
+
variant: a
|
|
2008
|
+
}) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r(
|
|
1768
2009
|
"div",
|
|
1769
2010
|
{
|
|
1770
2011
|
className: "rounded-[24px] p-6",
|
|
1771
|
-
style: { background:
|
|
2012
|
+
style: { background: Se[a].background },
|
|
1772
2013
|
children: /* @__PURE__ */ x("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
1773
2014
|
/* @__PURE__ */ x("div", { className: "flex gap-4 items-center", children: [
|
|
1774
|
-
/* @__PURE__ */
|
|
1775
|
-
|
|
2015
|
+
/* @__PURE__ */ r(
|
|
2016
|
+
se,
|
|
1776
2017
|
{
|
|
1777
|
-
name:
|
|
2018
|
+
name: Se[a].icon,
|
|
1778
2019
|
size: 40
|
|
1779
2020
|
}
|
|
1780
2021
|
),
|
|
1781
2022
|
/* @__PURE__ */ x("div", { className: "flex flex-col gap-1", children: [
|
|
1782
|
-
/* @__PURE__ */
|
|
2023
|
+
/* @__PURE__ */ r(
|
|
1783
2024
|
"p",
|
|
1784
2025
|
{
|
|
1785
|
-
className:
|
|
1786
|
-
style: { color:
|
|
2026
|
+
className: y("text-[24px] leading-8 font-bold"),
|
|
2027
|
+
style: { color: Se[a].textColor },
|
|
1787
2028
|
children: e
|
|
1788
2029
|
}
|
|
1789
2030
|
),
|
|
1790
|
-
/* @__PURE__ */
|
|
2031
|
+
/* @__PURE__ */ r(
|
|
1791
2032
|
"p",
|
|
1792
2033
|
{
|
|
1793
2034
|
className: "text-[16px] leading-6",
|
|
1794
|
-
style: { color:
|
|
2035
|
+
style: { color: Se[a].textColor },
|
|
1795
2036
|
children: t
|
|
1796
2037
|
}
|
|
1797
2038
|
)
|
|
1798
2039
|
] })
|
|
1799
2040
|
] }),
|
|
1800
|
-
/* @__PURE__ */
|
|
2041
|
+
/* @__PURE__ */ r(I, { variant: B.Static, children: i })
|
|
1801
2042
|
] })
|
|
1802
2043
|
}
|
|
1803
2044
|
) });
|
|
1804
|
-
|
|
1805
|
-
const
|
|
2045
|
+
Wt.propsToEdit = Aa;
|
|
2046
|
+
const Oa = ["data"], Qt = ({
|
|
1806
2047
|
id: e,
|
|
1807
2048
|
title: t,
|
|
1808
2049
|
text: i,
|
|
1809
|
-
link:
|
|
1810
|
-
}) => /* @__PURE__ */
|
|
1811
|
-
/* @__PURE__ */
|
|
1812
|
-
/* @__PURE__ */
|
|
1813
|
-
/* @__PURE__ */
|
|
1814
|
-
/* @__PURE__ */
|
|
1815
|
-
|
|
1816
|
-
{
|
|
1817
|
-
iconRight: /* @__PURE__ */
|
|
1818
|
-
|
|
2050
|
+
link: a
|
|
2051
|
+
}) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "p-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-8", children: [
|
|
2052
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col ", children: /* @__PURE__ */ x("div", { children: [
|
|
2053
|
+
/* @__PURE__ */ r("p", { className: "text-[32px] leading-10 font-bold mb-4", children: t }),
|
|
2054
|
+
/* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: i }),
|
|
2055
|
+
/* @__PURE__ */ r("a", { href: a, children: /* @__PURE__ */ r(
|
|
2056
|
+
I,
|
|
2057
|
+
{
|
|
2058
|
+
iconRight: /* @__PURE__ */ r(
|
|
2059
|
+
se,
|
|
1819
2060
|
{
|
|
1820
2061
|
name: "download",
|
|
1821
2062
|
size: 20,
|
|
1822
|
-
color:
|
|
2063
|
+
color: ne.blackBG
|
|
1823
2064
|
}
|
|
1824
2065
|
),
|
|
1825
2066
|
className: "mt-8",
|
|
@@ -1827,66 +2068,66 @@ const ma = ["data"], jt = ({
|
|
|
1827
2068
|
}
|
|
1828
2069
|
) })
|
|
1829
2070
|
] }) }),
|
|
1830
|
-
/* @__PURE__ */
|
|
1831
|
-
|
|
2071
|
+
/* @__PURE__ */ r(
|
|
2072
|
+
se,
|
|
1832
2073
|
{
|
|
1833
2074
|
className: "flex-shrink-0",
|
|
1834
2075
|
name: "file",
|
|
1835
|
-
color:
|
|
2076
|
+
color: ne.greenLight,
|
|
1836
2077
|
size: 82
|
|
1837
2078
|
}
|
|
1838
2079
|
)
|
|
1839
2080
|
] }) });
|
|
1840
|
-
|
|
1841
|
-
const
|
|
2081
|
+
Qt.propsToEdit = Oa;
|
|
2082
|
+
const Ra = ["data"], Jt = ({ data: e }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ x("div", { className: "px-[48px] py-8 bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
|
|
1842
2083
|
/* @__PURE__ */ x("div", { className: "flex items-center gap-4 max-tablet:flex-col max-tablet:items-start", children: [
|
|
1843
|
-
/* @__PURE__ */
|
|
1844
|
-
|
|
2084
|
+
/* @__PURE__ */ r(
|
|
2085
|
+
se,
|
|
1845
2086
|
{
|
|
1846
2087
|
className: "flex-shrink-0",
|
|
1847
2088
|
name: "file",
|
|
1848
|
-
color:
|
|
2089
|
+
color: ne.greenLight,
|
|
1849
2090
|
size: 44
|
|
1850
2091
|
}
|
|
1851
2092
|
),
|
|
1852
2093
|
/* @__PURE__ */ x("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
|
|
1853
|
-
/* @__PURE__ */
|
|
1854
|
-
/* @__PURE__ */
|
|
2094
|
+
/* @__PURE__ */ r("p", { className: "text-[20px] leading-7 font-bold", children: t == null ? void 0 : t.title }),
|
|
2095
|
+
/* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: t == null ? void 0 : t.text })
|
|
1855
2096
|
] })
|
|
1856
2097
|
] }),
|
|
1857
|
-
/* @__PURE__ */
|
|
1858
|
-
|
|
2098
|
+
/* @__PURE__ */ r(
|
|
2099
|
+
I,
|
|
1859
2100
|
{
|
|
1860
2101
|
variant: B.Secondary,
|
|
1861
|
-
iconRight: /* @__PURE__ */
|
|
1862
|
-
|
|
2102
|
+
iconRight: /* @__PURE__ */ r(
|
|
2103
|
+
se,
|
|
1863
2104
|
{
|
|
1864
2105
|
name: "download",
|
|
1865
2106
|
size: 20,
|
|
1866
|
-
color:
|
|
2107
|
+
color: ne.blackBG
|
|
1867
2108
|
}
|
|
1868
2109
|
)
|
|
1869
2110
|
}
|
|
1870
2111
|
)
|
|
1871
2112
|
] })) }) });
|
|
1872
|
-
|
|
1873
|
-
const
|
|
2113
|
+
Jt.propsToEdit = Ra;
|
|
2114
|
+
const qa = ["data"], Xt = ({ data: e }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ x(
|
|
1874
2115
|
"div",
|
|
1875
2116
|
{
|
|
1876
2117
|
className: "p-[32px] bg-white rounded-[20px] flex justify-between gap-[40px]",
|
|
1877
2118
|
children: [
|
|
1878
|
-
/* @__PURE__ */
|
|
1879
|
-
/* @__PURE__ */
|
|
1880
|
-
/* @__PURE__ */
|
|
1881
|
-
/* @__PURE__ */
|
|
1882
|
-
|
|
2119
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col ", children: /* @__PURE__ */ x("div", { children: [
|
|
2120
|
+
/* @__PURE__ */ r("p", { className: "text-[24px] leading-8 font-bold mb-4", children: t == null ? void 0 : t.title }),
|
|
2121
|
+
/* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: t == null ? void 0 : t.text }),
|
|
2122
|
+
/* @__PURE__ */ r(
|
|
2123
|
+
I,
|
|
1883
2124
|
{
|
|
1884
|
-
iconRight: /* @__PURE__ */
|
|
1885
|
-
|
|
2125
|
+
iconRight: /* @__PURE__ */ r(
|
|
2126
|
+
se,
|
|
1886
2127
|
{
|
|
1887
2128
|
name: "download",
|
|
1888
2129
|
size: 20,
|
|
1889
|
-
color:
|
|
2130
|
+
color: ne.blackBG
|
|
1890
2131
|
}
|
|
1891
2132
|
),
|
|
1892
2133
|
className: "mt-8",
|
|
@@ -1895,12 +2136,12 @@ const ga = ["data"], $t = ({ data: e }) => /* @__PURE__ */ n(R, { children: /* @
|
|
|
1895
2136
|
}
|
|
1896
2137
|
)
|
|
1897
2138
|
] }) }),
|
|
1898
|
-
/* @__PURE__ */
|
|
1899
|
-
|
|
2139
|
+
/* @__PURE__ */ r(
|
|
2140
|
+
se,
|
|
1900
2141
|
{
|
|
1901
2142
|
className: "flex-shrink-0",
|
|
1902
2143
|
name: "file",
|
|
1903
|
-
color:
|
|
2144
|
+
color: ne.greenLight,
|
|
1904
2145
|
size: 48
|
|
1905
2146
|
}
|
|
1906
2147
|
)
|
|
@@ -1908,33 +2149,33 @@ const ga = ["data"], $t = ({ data: e }) => /* @__PURE__ */ n(R, { children: /* @
|
|
|
1908
2149
|
},
|
|
1909
2150
|
t == null ? void 0 : t.id
|
|
1910
2151
|
)) }) });
|
|
1911
|
-
|
|
1912
|
-
const
|
|
2152
|
+
Xt.propsToEdit = qa;
|
|
2153
|
+
const $a = ["data"], Yt = ({ data: e }) => /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-4 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ x(
|
|
1913
2154
|
"div",
|
|
1914
2155
|
{
|
|
1915
2156
|
className: "p-[24px] bg-white rounded-[20px] flex flex-col gap-8",
|
|
1916
2157
|
children: [
|
|
1917
|
-
/* @__PURE__ */
|
|
1918
|
-
|
|
2158
|
+
/* @__PURE__ */ r(
|
|
2159
|
+
se,
|
|
1919
2160
|
{
|
|
1920
2161
|
name: "file",
|
|
1921
|
-
color:
|
|
2162
|
+
color: ne.greenLight,
|
|
1922
2163
|
size: 44
|
|
1923
2164
|
}
|
|
1924
2165
|
),
|
|
1925
2166
|
/* @__PURE__ */ x("div", { className: "flex flex-col gap-4", children: [
|
|
1926
|
-
/* @__PURE__ */
|
|
1927
|
-
/* @__PURE__ */
|
|
2167
|
+
/* @__PURE__ */ r("p", { className: "text-[20px] leading-[28px] font-bold", children: t == null ? void 0 : t.title }),
|
|
2168
|
+
/* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: t == null ? void 0 : t.text })
|
|
1928
2169
|
] }),
|
|
1929
|
-
/* @__PURE__ */
|
|
1930
|
-
|
|
2170
|
+
/* @__PURE__ */ r(
|
|
2171
|
+
I,
|
|
1931
2172
|
{
|
|
1932
|
-
iconRight: /* @__PURE__ */
|
|
1933
|
-
|
|
2173
|
+
iconRight: /* @__PURE__ */ r(
|
|
2174
|
+
se,
|
|
1934
2175
|
{
|
|
1935
2176
|
name: "download",
|
|
1936
2177
|
size: 20,
|
|
1937
|
-
color:
|
|
2178
|
+
color: ne.blackBG
|
|
1938
2179
|
}
|
|
1939
2180
|
),
|
|
1940
2181
|
className: "w-full",
|
|
@@ -1946,60 +2187,147 @@ const xa = ["data"], Zt = ({ data: e }) => /* @__PURE__ */ n(R, { children: /* @
|
|
|
1946
2187
|
},
|
|
1947
2188
|
t == null ? void 0 : t.id
|
|
1948
2189
|
)) }) });
|
|
1949
|
-
|
|
1950
|
-
const
|
|
2190
|
+
Yt.propsToEdit = $a;
|
|
2191
|
+
const Kt = {
|
|
2192
|
+
type: "data",
|
|
2193
|
+
label: "Данные",
|
|
2194
|
+
dataType: "object",
|
|
2195
|
+
data: {
|
|
2196
|
+
keys: {
|
|
2197
|
+
title: b.TITLE,
|
|
2198
|
+
icon: b.FILE
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
}, ja = [Kt, "turnover"], ei = ({ data: e, turnover: t, imageStyles: i }) => /* @__PURE__ */ x(
|
|
2202
|
+
"div",
|
|
2203
|
+
{
|
|
2204
|
+
className: y(
|
|
2205
|
+
"flex flex-col items-center gap-[30px] bg-white rounded-[20px] flex-1",
|
|
2206
|
+
t && "flex-row max-tablet:flex-col"
|
|
2207
|
+
),
|
|
2208
|
+
children: [
|
|
2209
|
+
/* @__PURE__ */ r(
|
|
2210
|
+
"div",
|
|
2211
|
+
{
|
|
2212
|
+
className: y(
|
|
2213
|
+
"px-[24px] pt-[24px] w-full",
|
|
2214
|
+
t && "px-0 max-tablet:px-[24px]"
|
|
2215
|
+
),
|
|
2216
|
+
children: /* @__PURE__ */ r(
|
|
2217
|
+
"p",
|
|
2218
|
+
{
|
|
2219
|
+
className: y(
|
|
2220
|
+
"text-[24px] font-medium leading-[32px] text-bgBlack text-center m-0 break-words",
|
|
2221
|
+
t && "text-left pl-[24px] max-tablet:text-center",
|
|
2222
|
+
"max-tablet:text-[22px] max-tablet:leading-[26px]"
|
|
2223
|
+
),
|
|
2224
|
+
children: e == null ? void 0 : e.title
|
|
2225
|
+
}
|
|
2226
|
+
)
|
|
2227
|
+
}
|
|
2228
|
+
),
|
|
2229
|
+
(e == null ? void 0 : e.icon) && /* @__PURE__ */ r(
|
|
2230
|
+
$,
|
|
2231
|
+
{
|
|
2232
|
+
src: e.icon,
|
|
2233
|
+
alt: e.title || "image",
|
|
2234
|
+
className: y("w-full h-[164px]", i),
|
|
2235
|
+
imageStyles: "object-contain object-bottom"
|
|
2236
|
+
}
|
|
2237
|
+
)
|
|
2238
|
+
]
|
|
2239
|
+
}
|
|
2240
|
+
);
|
|
2241
|
+
ei.propsToEdit = ja;
|
|
2242
|
+
const Ha = {
|
|
2243
|
+
type: "cards",
|
|
2244
|
+
label: "Карточки",
|
|
2245
|
+
dataType: "array",
|
|
2246
|
+
data: {
|
|
2247
|
+
...Kt
|
|
2248
|
+
}
|
|
2249
|
+
}, Ua = ["title", Ha, "turnover"], ti = ({
|
|
2250
|
+
title: e,
|
|
2251
|
+
cards: t,
|
|
2252
|
+
turnover: i = !1
|
|
2253
|
+
}) => /* @__PURE__ */ x(V, { className: "flex flex-col items-stretch gap-[48px]", children: [
|
|
2254
|
+
e && /* @__PURE__ */ r("p", { className: "text-bgBlack text-center text-[44px] font-bold leading-[52px] m-0 max-tablet:text-[26px] max-tablet:leading-[32px]", children: e }),
|
|
2255
|
+
/* @__PURE__ */ r("div", { className: "flex gap-[24px] max-tablet:flex-col max-tablet:gap-[16px]", children: t == null ? void 0 : t.map((a, n) => /* @__PURE__ */ r(
|
|
2256
|
+
ei,
|
|
2257
|
+
{
|
|
2258
|
+
data: a,
|
|
2259
|
+
turnover: i
|
|
2260
|
+
},
|
|
2261
|
+
n
|
|
2262
|
+
)) })
|
|
2263
|
+
] });
|
|
2264
|
+
ti.propsToEdit = Ua;
|
|
2265
|
+
const ii = {
|
|
2266
|
+
type: "data",
|
|
2267
|
+
label: "Данные",
|
|
2268
|
+
dataType: "object",
|
|
2269
|
+
data: {
|
|
2270
|
+
keys: {
|
|
2271
|
+
title: b.TITLE,
|
|
2272
|
+
description: b.DESCRIPTION
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
}, Ga = [ii, "className"], Ke = ({ data: e, className: t }) => {
|
|
1951
2276
|
var i;
|
|
1952
2277
|
return /* @__PURE__ */ x(
|
|
1953
2278
|
"div",
|
|
1954
2279
|
{
|
|
1955
|
-
className:
|
|
2280
|
+
className: y(
|
|
1956
2281
|
"w-full grid grid-cols-[1fr_3fr] gap-[24px] py-[24px] border-b border-lightGray8 first:pt-0 first:pb-[24px] last:pt-[24px] last:pb-0 last:border-b-0",
|
|
1957
2282
|
"max-tablet:grid-cols-[140px_1fr] max-tablet:items-start max-tablet:gap-[12px] max-tablet:py-[16px] max-tablet:first:pt-0 max-tablet:first:pb-[16px] max-tablet:last:pt-[16px] max-tablet:last:pb-0 max-tablet:last:border-b-0",
|
|
1958
2283
|
t
|
|
1959
2284
|
),
|
|
1960
2285
|
children: [
|
|
1961
|
-
/* @__PURE__ */
|
|
1962
|
-
/* @__PURE__ */
|
|
2286
|
+
/* @__PURE__ */ r("p", { className: "text-[18px] leading-[26px] font-medium text-graySoft m-0 max-tablet:text-[13px] max-tablet:leading-[16px] max-tablet:w-[140px] max-tablet:break-words", children: e == null ? void 0 : e.title }),
|
|
2287
|
+
/* @__PURE__ */ r("div", { className: "grid grid-cols-3 gap-[24px] w-full max-tablet:grid-cols-1 max-tablet:gap-0 max-tablet:w-auto", children: (i = e == null ? void 0 : e.columns) == null ? void 0 : i.map((a) => /* @__PURE__ */ x(
|
|
1963
2288
|
"div",
|
|
1964
2289
|
{
|
|
1965
2290
|
className: "w-full flex flex-col gap-[8px] max-tablet:py-[16px] max-tablet:border-b max-tablet:border-lightGray8 first:max-tablet:pt-0 first:max-tablet:pb-[16px] last:max-tablet:pt-[16px] last:max-tablet:pb-0 last:max-tablet:border-b-0",
|
|
1966
2291
|
children: [
|
|
1967
|
-
(
|
|
1968
|
-
(
|
|
2292
|
+
(a == null ? void 0 : a.title) && /* @__PURE__ */ r("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words whitespace-pre-line", children: a == null ? void 0 : a.title }),
|
|
2293
|
+
(a == null ? void 0 : a.description) && /* @__PURE__ */ r("div", { className: "text-[14px] leading-[20px] text-graySoft whitespace-pre-line max-[420px]:whitespace-normal max-[420px]:break-words max-tablet:text-[13px] max-tablet:leading-[16px]", children: a == null ? void 0 : a.description })
|
|
1969
2294
|
]
|
|
1970
2295
|
},
|
|
1971
|
-
|
|
2296
|
+
a == null ? void 0 : a.id
|
|
1972
2297
|
)) })
|
|
1973
2298
|
]
|
|
1974
2299
|
}
|
|
1975
2300
|
);
|
|
1976
|
-
}
|
|
2301
|
+
};
|
|
2302
|
+
Ke.propsToEdit = Ga;
|
|
2303
|
+
Ke.displayName = "CardRowInfo";
|
|
2304
|
+
const Za = ({
|
|
1977
2305
|
data: e,
|
|
1978
2306
|
title: t,
|
|
1979
2307
|
description: i,
|
|
1980
|
-
image:
|
|
1981
|
-
className:
|
|
2308
|
+
image: a,
|
|
2309
|
+
className: n
|
|
1982
2310
|
}) => /* @__PURE__ */ x(
|
|
1983
2311
|
"div",
|
|
1984
2312
|
{
|
|
1985
|
-
className:
|
|
2313
|
+
className: y(
|
|
1986
2314
|
"w-full flex justify-between gap-[20px] bg-[#5f6e7b10] p-[32px] rounded-[20px]",
|
|
1987
2315
|
"max-tablet:flex-col max-tablet:items-stretch max-tablet:gap-[24px] max-tablet:p-[16px] max-tablet:h-fit",
|
|
1988
|
-
|
|
2316
|
+
n
|
|
1989
2317
|
),
|
|
1990
2318
|
children: [
|
|
1991
2319
|
/* @__PURE__ */ x(
|
|
1992
2320
|
"div",
|
|
1993
2321
|
{
|
|
1994
|
-
className:
|
|
2322
|
+
className: y(
|
|
1995
2323
|
"flex gap-[16px] items-center justify-center basis-[70%]",
|
|
1996
2324
|
"max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px] max-tablet:basis-full"
|
|
1997
2325
|
),
|
|
1998
2326
|
children: [
|
|
1999
|
-
((e == null ? void 0 : e.necessary_icon) ||
|
|
2000
|
-
|
|
2327
|
+
((e == null ? void 0 : e.necessary_icon) || a) && /* @__PURE__ */ r(
|
|
2328
|
+
$,
|
|
2001
2329
|
{
|
|
2002
|
-
src: (e == null ? void 0 : e.necessary_icon) ??
|
|
2330
|
+
src: (e == null ? void 0 : e.necessary_icon) ?? a ?? "",
|
|
2003
2331
|
alt: (e == null ? void 0 : e.necessary_title) ?? t ?? "",
|
|
2004
2332
|
width: 48,
|
|
2005
2333
|
height: 48,
|
|
@@ -2008,20 +2336,20 @@ const ba = ({ data: e, className: t }) => {
|
|
|
2008
2336
|
}
|
|
2009
2337
|
),
|
|
2010
2338
|
/* @__PURE__ */ x("div", { className: "box-border max-tablet:h-fit", children: [
|
|
2011
|
-
/* @__PURE__ */
|
|
2339
|
+
/* @__PURE__ */ r(
|
|
2012
2340
|
"p",
|
|
2013
2341
|
{
|
|
2014
|
-
className:
|
|
2342
|
+
className: y(
|
|
2015
2343
|
"text-[24px] font-bold leading-[32px] m-0",
|
|
2016
2344
|
"max-tablet:text-[18px] max-tablet:font-semibold max-tablet:leading-[26px]"
|
|
2017
2345
|
),
|
|
2018
2346
|
children: (e == null ? void 0 : e.necessary_title) || t
|
|
2019
2347
|
}
|
|
2020
2348
|
),
|
|
2021
|
-
((e == null ? void 0 : e.necessary_description) || i) && /* @__PURE__ */
|
|
2349
|
+
((e == null ? void 0 : e.necessary_description) || i) && /* @__PURE__ */ r(
|
|
2022
2350
|
"p",
|
|
2023
2351
|
{
|
|
2024
|
-
className:
|
|
2352
|
+
className: y(
|
|
2025
2353
|
"text-[15px] font-normal leading-[24px] m-0",
|
|
2026
2354
|
"max-tablet:text-[13px] max-tablet:leading-[16px]"
|
|
2027
2355
|
),
|
|
@@ -2032,13 +2360,13 @@ const ba = ({ data: e, className: t }) => {
|
|
|
2032
2360
|
]
|
|
2033
2361
|
}
|
|
2034
2362
|
),
|
|
2035
|
-
(e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */
|
|
2363
|
+
(e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ r(
|
|
2036
2364
|
"a",
|
|
2037
2365
|
{
|
|
2038
2366
|
href: e == null ? void 0 : e.necessary_button_link,
|
|
2039
2367
|
target: "_blank",
|
|
2040
|
-
children: /* @__PURE__ */
|
|
2041
|
-
|
|
2368
|
+
children: /* @__PURE__ */ r(
|
|
2369
|
+
I,
|
|
2042
2370
|
{
|
|
2043
2371
|
variant: B.Static,
|
|
2044
2372
|
size: Y.L,
|
|
@@ -2050,111 +2378,145 @@ const ba = ({ data: e, className: t }) => {
|
|
|
2050
2378
|
)
|
|
2051
2379
|
]
|
|
2052
2380
|
}
|
|
2053
|
-
),
|
|
2381
|
+
), za = {
|
|
2382
|
+
type: "table",
|
|
2383
|
+
label: "Таблица",
|
|
2384
|
+
dataType: "object",
|
|
2385
|
+
data: {
|
|
2386
|
+
keys: {
|
|
2387
|
+
warning: {
|
|
2388
|
+
keys: {
|
|
2389
|
+
warning_title: b.TITLE,
|
|
2390
|
+
warning_description: b.DESCRIPTION
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
}, Wa = {
|
|
2396
|
+
type: "rows",
|
|
2397
|
+
label: "Строки",
|
|
2398
|
+
dataType: "array",
|
|
2399
|
+
data: {
|
|
2400
|
+
...ii
|
|
2401
|
+
}
|
|
2402
|
+
}, Qa = ["title", za, Wa], et = Ct(
|
|
2054
2403
|
({ title: e, table: t, rows: i }) => {
|
|
2055
|
-
var
|
|
2056
|
-
return /* @__PURE__ */ x(
|
|
2057
|
-
e && /* @__PURE__ */
|
|
2404
|
+
var a, n, s;
|
|
2405
|
+
return /* @__PURE__ */ x(V, { children: [
|
|
2406
|
+
e && /* @__PURE__ */ r(
|
|
2058
2407
|
"p",
|
|
2059
2408
|
{
|
|
2060
|
-
className:
|
|
2409
|
+
className: y(
|
|
2061
2410
|
"text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
|
|
2062
2411
|
),
|
|
2063
2412
|
children: e
|
|
2064
2413
|
}
|
|
2065
2414
|
),
|
|
2066
2415
|
/* @__PURE__ */ x("div", { className: "bg-white p-8 rounded-[20px] md:p-6", children: [
|
|
2067
|
-
i == null ? void 0 : i.map((
|
|
2068
|
-
var
|
|
2069
|
-
return /* @__PURE__ */
|
|
2070
|
-
|
|
2416
|
+
i == null ? void 0 : i.map((d) => {
|
|
2417
|
+
var p;
|
|
2418
|
+
return /* @__PURE__ */ r(
|
|
2419
|
+
Ke,
|
|
2071
2420
|
{
|
|
2072
|
-
data:
|
|
2073
|
-
className:
|
|
2074
|
-
"border-none": (
|
|
2421
|
+
data: d,
|
|
2422
|
+
className: y("border-b border-gray-200 last:border-b-0", {
|
|
2423
|
+
"border-none": (p = t == null ? void 0 : t.warning) == null ? void 0 : p.warning_title
|
|
2075
2424
|
})
|
|
2076
2425
|
},
|
|
2077
|
-
|
|
2426
|
+
d == null ? void 0 : d.id
|
|
2078
2427
|
);
|
|
2079
2428
|
}),
|
|
2080
|
-
((
|
|
2081
|
-
|
|
2429
|
+
((a = t == null ? void 0 : t.warning) == null ? void 0 : a.warning_title) && /* @__PURE__ */ r(
|
|
2430
|
+
Za,
|
|
2082
2431
|
{
|
|
2083
2432
|
className: "!flex-auto [&_p:first-child]:text-[16px] [&_p:first-child]:leading-[24px] [&_p:last-child]:text-[15px] [&_p:last-child]:leading-[22px]",
|
|
2084
|
-
title: (
|
|
2085
|
-
description: (
|
|
2433
|
+
title: (n = t == null ? void 0 : t.warning) == null ? void 0 : n.warning_title,
|
|
2434
|
+
description: (s = t == null ? void 0 : t.warning) == null ? void 0 : s.warning_description
|
|
2086
2435
|
}
|
|
2087
2436
|
)
|
|
2088
2437
|
] })
|
|
2089
2438
|
] });
|
|
2090
2439
|
}
|
|
2091
2440
|
);
|
|
2092
|
-
|
|
2093
|
-
|
|
2441
|
+
et.propsToEdit = Qa;
|
|
2442
|
+
et.displayName = "CardInfoTable";
|
|
2443
|
+
const Ja = [
|
|
2444
|
+
"title",
|
|
2445
|
+
"description",
|
|
2446
|
+
"file",
|
|
2447
|
+
"icon",
|
|
2448
|
+
"button_text",
|
|
2449
|
+
"button_link",
|
|
2450
|
+
"variant",
|
|
2451
|
+
"buttonVariant",
|
|
2452
|
+
"className",
|
|
2453
|
+
"isDark",
|
|
2454
|
+
"linkClassName"
|
|
2455
|
+
], ai = ({
|
|
2094
2456
|
title: e,
|
|
2095
2457
|
description: t,
|
|
2096
2458
|
file: i,
|
|
2097
|
-
icon:
|
|
2098
|
-
button_text:
|
|
2099
|
-
button_link:
|
|
2100
|
-
variant:
|
|
2101
|
-
buttonVariant:
|
|
2102
|
-
className:
|
|
2103
|
-
isDark:
|
|
2104
|
-
linkClassName:
|
|
2459
|
+
icon: a,
|
|
2460
|
+
button_text: n,
|
|
2461
|
+
button_link: s,
|
|
2462
|
+
variant: d = "big",
|
|
2463
|
+
buttonVariant: p,
|
|
2464
|
+
className: v = "",
|
|
2465
|
+
isDark: L,
|
|
2466
|
+
linkClassName: F = ""
|
|
2105
2467
|
}) => {
|
|
2106
|
-
const k = Fe(960),
|
|
2468
|
+
const k = Fe(960), Q = d === "big" ? k ? 106 : 343 : k ? 106 : 64, P = p === B.Brand;
|
|
2107
2469
|
return /* @__PURE__ */ x(
|
|
2108
|
-
|
|
2470
|
+
V,
|
|
2109
2471
|
{
|
|
2110
2472
|
className: `flex justify-between items-center rounded-[20px]
|
|
2111
|
-
${
|
|
2112
|
-
${
|
|
2473
|
+
${d === "big" ? "p-[48px]" : "p-[32px] gap-[32px]"}
|
|
2474
|
+
${L ? "bg-black7" : "bg-white"}
|
|
2113
2475
|
max-tablet:flex-col max-tablet:items-start max-tablet:justify-start max-tablet:p-[24px] max-tablet:gap-[0] max-tablet:my-[48px] my-[88px]
|
|
2114
2476
|
max-tablet:relative w-[calc(100%-239px)]
|
|
2115
|
-
${
|
|
2477
|
+
${v}`,
|
|
2116
2478
|
children: [
|
|
2117
2479
|
/* @__PURE__ */ x("div", { className: "flex flex-col h-full w-full", children: [
|
|
2118
|
-
/* @__PURE__ */
|
|
2480
|
+
/* @__PURE__ */ r(
|
|
2119
2481
|
"p",
|
|
2120
2482
|
{
|
|
2121
2483
|
className: `font-[700]
|
|
2122
|
-
${
|
|
2123
|
-
${
|
|
2484
|
+
${L ? "text-[#f4f6f7]" : "text-[#0e0f11]"}
|
|
2485
|
+
${d === "big" ? "text-[32px] leading-[40px]" : "text-[24px] leading-[32px]"}
|
|
2124
2486
|
max-tablet:text-[24px] max-tablet:leading-[28px]
|
|
2125
2487
|
mb-[16px] max-tablet:mt-[24px] max-tablet:mb-[12px] max-tablet:text-center`,
|
|
2126
2488
|
children: e
|
|
2127
2489
|
}
|
|
2128
2490
|
),
|
|
2129
|
-
/* @__PURE__ */
|
|
2491
|
+
/* @__PURE__ */ r(
|
|
2130
2492
|
"p",
|
|
2131
2493
|
{
|
|
2132
2494
|
className: `font-[400] text-[16px] leading-[24px]
|
|
2133
|
-
${
|
|
2495
|
+
${L ? "text-[#f4f6f7]" : "text-[#40474f]"}
|
|
2134
2496
|
mb-[32px] max-tablet:mb-[24px] max-tablet:text-center`,
|
|
2135
2497
|
children: t
|
|
2136
2498
|
}
|
|
2137
2499
|
),
|
|
2138
|
-
/* @__PURE__ */
|
|
2500
|
+
/* @__PURE__ */ r(
|
|
2139
2501
|
"a",
|
|
2140
2502
|
{
|
|
2141
|
-
className: `mt-auto ${
|
|
2142
|
-
href: i ||
|
|
2503
|
+
className: `mt-auto ${F} w-fit max-tablet:w-full`,
|
|
2504
|
+
href: i || s || "#",
|
|
2143
2505
|
download: !0,
|
|
2144
2506
|
target: "_blank",
|
|
2145
2507
|
children: /* @__PURE__ */ x(
|
|
2146
|
-
|
|
2508
|
+
I,
|
|
2147
2509
|
{
|
|
2148
2510
|
className: "w-fit max-tablet:w-full flex items-center justify-center",
|
|
2149
|
-
variant:
|
|
2511
|
+
variant: p,
|
|
2150
2512
|
children: [
|
|
2151
|
-
|
|
2152
|
-
/* @__PURE__ */
|
|
2153
|
-
|
|
2513
|
+
n,
|
|
2514
|
+
/* @__PURE__ */ r(
|
|
2515
|
+
se,
|
|
2154
2516
|
{
|
|
2155
2517
|
name: "download",
|
|
2156
2518
|
size: 20,
|
|
2157
|
-
color:
|
|
2519
|
+
color: P ? ne.white : ne.blackBG
|
|
2158
2520
|
}
|
|
2159
2521
|
)
|
|
2160
2522
|
]
|
|
@@ -2163,14 +2525,14 @@ const ha = ({
|
|
|
2163
2525
|
}
|
|
2164
2526
|
)
|
|
2165
2527
|
] }),
|
|
2166
|
-
/* @__PURE__ */
|
|
2167
|
-
|
|
2528
|
+
/* @__PURE__ */ r(
|
|
2529
|
+
$,
|
|
2168
2530
|
{
|
|
2169
|
-
src:
|
|
2531
|
+
src: a,
|
|
2170
2532
|
alt: e,
|
|
2171
|
-
width:
|
|
2172
|
-
height:
|
|
2173
|
-
className:
|
|
2533
|
+
width: Q,
|
|
2534
|
+
height: Q,
|
|
2535
|
+
className: y(
|
|
2174
2536
|
"absolute top-1/2 right-6 w-[343px] !h-auto -translate-y-1/2 max-tablet:relative max-tablet:!h-[106px]",
|
|
2175
2537
|
"max-tablet:top-auto max-tablet:right-auto max-tablet:-translate-y-0 max-tablet:order-[-1] max-tablet:mx-auto"
|
|
2176
2538
|
),
|
|
@@ -2180,15 +2542,32 @@ const ha = ({
|
|
|
2180
2542
|
]
|
|
2181
2543
|
}
|
|
2182
2544
|
);
|
|
2183
|
-
}
|
|
2184
|
-
|
|
2545
|
+
};
|
|
2546
|
+
ai.propsToEdit = Ja;
|
|
2547
|
+
const Xa = {
|
|
2548
|
+
type: "data",
|
|
2549
|
+
label: "Данные баннера",
|
|
2550
|
+
dataType: "object",
|
|
2551
|
+
data: {
|
|
2552
|
+
keys: {
|
|
2553
|
+
banner_title: b.TITLE,
|
|
2554
|
+
banner_description: b.DESCRIPTION,
|
|
2555
|
+
banner_image: b.FILE,
|
|
2556
|
+
banner_bg_image: b.FILE,
|
|
2557
|
+
banner_bg_image_mob: b.FILE,
|
|
2558
|
+
banner_button_text: b.TITLE,
|
|
2559
|
+
banner_button_link: b.LINK
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2562
|
+
}, Ya = [Xa, "isTextLast", "isLight"], li = ({ data: e, isTextLast: t, isLight: i = !1 }) => {
|
|
2563
|
+
const n = Fe(960) ? e == null ? void 0 : e.banner_bg_image_mob : e == null ? void 0 : e.banner_bg_image;
|
|
2185
2564
|
return /* @__PURE__ */ x(
|
|
2186
2565
|
"div",
|
|
2187
2566
|
{
|
|
2188
|
-
className:
|
|
2567
|
+
className: y(
|
|
2189
2568
|
"relative w-full px-[48px] bg-cover bg-no-repeat flex items-center justify-between gap-[100px] max-tablet:h-fit max-tablet:flex-col max-tablet:p-0 max-tablet:gap-0 max-tablet:overflow-hidden rounded-[20px] overflow-hidden bg-center"
|
|
2190
2569
|
),
|
|
2191
|
-
style: { backgroundImage: `url(${
|
|
2570
|
+
style: { backgroundImage: `url(${n})` },
|
|
2192
2571
|
children: [
|
|
2193
2572
|
/* @__PURE__ */ x(
|
|
2194
2573
|
"div",
|
|
@@ -2200,106 +2579,130 @@ const ha = ({
|
|
|
2200
2579
|
}
|
|
2201
2580
|
),
|
|
2202
2581
|
children: [
|
|
2203
|
-
/* @__PURE__ */
|
|
2582
|
+
/* @__PURE__ */ r(
|
|
2204
2583
|
"p",
|
|
2205
2584
|
{
|
|
2206
|
-
className:
|
|
2585
|
+
className: y(
|
|
2207
2586
|
"text-[32px] leading-[40px] font-bold text-white4 max-tablet:text-[24px] max-tablet:leading-[28px] max-tablet:text-center",
|
|
2208
2587
|
{ "text-black5": i }
|
|
2209
2588
|
),
|
|
2210
2589
|
children: e == null ? void 0 : e.banner_title
|
|
2211
2590
|
}
|
|
2212
2591
|
),
|
|
2213
|
-
/* @__PURE__ */
|
|
2592
|
+
/* @__PURE__ */ r(
|
|
2214
2593
|
"p",
|
|
2215
2594
|
{
|
|
2216
|
-
className:
|
|
2595
|
+
className: y(
|
|
2217
2596
|
"text-[18px] leading-[26px] text-white4 max-tablet:text-[17px] max-tablet:leading-[24px] max-tablet:text-center",
|
|
2218
2597
|
{ "text-graySoft": i }
|
|
2219
2598
|
),
|
|
2220
2599
|
children: e == null ? void 0 : e.banner_description
|
|
2221
2600
|
}
|
|
2222
2601
|
),
|
|
2223
|
-
(e == null ? void 0 : e.banner_button_link) && /* @__PURE__ */
|
|
2602
|
+
(e == null ? void 0 : e.banner_button_link) && /* @__PURE__ */ r(
|
|
2224
2603
|
"a",
|
|
2225
2604
|
{
|
|
2226
2605
|
href: e == null ? void 0 : e.banner_button_link,
|
|
2227
2606
|
className: "max-tablet:absolute max-tablet:left-[50%] max-tablet:translate-x-[-50%] max-tablet:bottom-[24px] max-tablet:z-10",
|
|
2228
|
-
children: /* @__PURE__ */
|
|
2607
|
+
children: /* @__PURE__ */ r(I, { children: e == null ? void 0 : e.banner_button_text })
|
|
2229
2608
|
}
|
|
2230
2609
|
)
|
|
2231
2610
|
]
|
|
2232
2611
|
}
|
|
2233
2612
|
),
|
|
2234
|
-
(e == null ? void 0 : e.banner_image) && /* @__PURE__ */
|
|
2235
|
-
|
|
2613
|
+
(e == null ? void 0 : e.banner_image) && /* @__PURE__ */ r(
|
|
2614
|
+
$,
|
|
2236
2615
|
{
|
|
2237
2616
|
src: e == null ? void 0 : e.banner_image,
|
|
2238
2617
|
alt: e == null ? void 0 : e.banner_title,
|
|
2239
2618
|
width: 453,
|
|
2240
2619
|
height: 282,
|
|
2241
|
-
className:
|
|
2620
|
+
className: y("shrink-0")
|
|
2242
2621
|
}
|
|
2243
2622
|
)
|
|
2244
2623
|
]
|
|
2245
2624
|
}
|
|
2246
2625
|
);
|
|
2247
|
-
}
|
|
2626
|
+
};
|
|
2627
|
+
li.propsToEdit = Ya;
|
|
2628
|
+
const Ka = {
|
|
2629
|
+
type: "cards",
|
|
2630
|
+
label: "Карточки информации",
|
|
2631
|
+
dataType: "array",
|
|
2632
|
+
data: {
|
|
2633
|
+
title: b.TITLE,
|
|
2634
|
+
description: b.HTML_CONTENT,
|
|
2635
|
+
image: b.FILE,
|
|
2636
|
+
icon: b.FILE,
|
|
2637
|
+
is_black: b.BOOLEAN
|
|
2638
|
+
}
|
|
2639
|
+
}, el = ["title", Ka, "isLight", "isLightTitle"], ri = ({
|
|
2248
2640
|
title: e,
|
|
2249
2641
|
cards: t,
|
|
2250
2642
|
isLight: i,
|
|
2251
|
-
isLightTitle:
|
|
2643
|
+
isLightTitle: a
|
|
2252
2644
|
}) => {
|
|
2253
|
-
const
|
|
2254
|
-
return /* @__PURE__ */
|
|
2255
|
-
e && /* @__PURE__ */
|
|
2645
|
+
const n = Fe(960);
|
|
2646
|
+
return /* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: y("w-full"), children: [
|
|
2647
|
+
e && /* @__PURE__ */ r(
|
|
2256
2648
|
"p",
|
|
2257
2649
|
{
|
|
2258
|
-
className:
|
|
2650
|
+
className: y(
|
|
2259
2651
|
"text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]",
|
|
2260
|
-
{ "text-white4":
|
|
2652
|
+
{ "text-white4": a }
|
|
2261
2653
|
),
|
|
2262
2654
|
children: e
|
|
2263
2655
|
}
|
|
2264
2656
|
),
|
|
2265
|
-
/* @__PURE__ */
|
|
2266
|
-
|
|
2657
|
+
/* @__PURE__ */ r("div", { className: y("flex flex-col gap-[40px] w-full"), children: t == null ? void 0 : t.map((s, d) => /* @__PURE__ */ r(
|
|
2658
|
+
li,
|
|
2267
2659
|
{
|
|
2268
|
-
data:
|
|
2269
|
-
isTextLast:
|
|
2660
|
+
data: s,
|
|
2661
|
+
isTextLast: n ? !1 : d % 2 === 1,
|
|
2270
2662
|
isLight: i
|
|
2271
2663
|
},
|
|
2272
|
-
|
|
2664
|
+
d
|
|
2273
2665
|
)) })
|
|
2274
2666
|
] }) });
|
|
2275
|
-
}
|
|
2667
|
+
};
|
|
2668
|
+
ri.propsToEdit = el;
|
|
2669
|
+
const tl = [
|
|
2670
|
+
"title",
|
|
2671
|
+
"description",
|
|
2672
|
+
"image",
|
|
2673
|
+
"image_mob",
|
|
2674
|
+
"button_text",
|
|
2675
|
+
"button_link",
|
|
2676
|
+
"logo",
|
|
2677
|
+
"logo_second"
|
|
2678
|
+
], ni = ({
|
|
2276
2679
|
title: e,
|
|
2277
2680
|
description: t,
|
|
2278
2681
|
image: i,
|
|
2279
|
-
image_mob:
|
|
2280
|
-
button_text:
|
|
2281
|
-
button_link:
|
|
2282
|
-
logo:
|
|
2283
|
-
logo_second:
|
|
2682
|
+
image_mob: a,
|
|
2683
|
+
button_text: n,
|
|
2684
|
+
button_link: s,
|
|
2685
|
+
logo: d,
|
|
2686
|
+
logo_second: p
|
|
2284
2687
|
}) => {
|
|
2285
|
-
const
|
|
2688
|
+
const v = Fe(960);
|
|
2286
2689
|
return /* @__PURE__ */ x("div", { className: "relative flex items-center gap-[80px] w-full h-[527px] max-tablet:flex-col max-tablet:gap-[24px] max-tablet:h-auto", children: [
|
|
2287
|
-
/* @__PURE__ */
|
|
2690
|
+
/* @__PURE__ */ r(V, { className: "flex flex-col gap-[24px] max-w-[614px] max-tablet:items-center max-tablet:gap-[16px] max-tablet:mx-auto", children: /* @__PURE__ */ x("div", { className: "flex flex-col gap-[24px] max-tablet:gap-[16px] w-[614px] max-tablet:w-full", children: [
|
|
2288
2691
|
/* @__PURE__ */ x("div", { className: "flex mb-[12px] max-tablet:mb-[8px] max-tablet:mx-auto", children: [
|
|
2289
|
-
|
|
2290
|
-
|
|
2692
|
+
d && /* @__PURE__ */ r(
|
|
2693
|
+
$,
|
|
2291
2694
|
{
|
|
2292
|
-
src:
|
|
2695
|
+
src: d,
|
|
2293
2696
|
alt: "visa",
|
|
2294
2697
|
height: 40,
|
|
2295
2698
|
width: 135,
|
|
2296
2699
|
className: "h-[40px] max-tablet:!h-[32px] w-auto pr-[16px] border-r border-[#838795] first:pl-0 last:border-none object-contain"
|
|
2297
2700
|
}
|
|
2298
2701
|
),
|
|
2299
|
-
|
|
2300
|
-
|
|
2702
|
+
p && /* @__PURE__ */ r(
|
|
2703
|
+
$,
|
|
2301
2704
|
{
|
|
2302
|
-
src:
|
|
2705
|
+
src: p,
|
|
2303
2706
|
alt: "mbank",
|
|
2304
2707
|
height: 40,
|
|
2305
2708
|
width: 135,
|
|
@@ -2307,14 +2710,14 @@ const ha = ({
|
|
|
2307
2710
|
}
|
|
2308
2711
|
)
|
|
2309
2712
|
] }),
|
|
2310
|
-
/* @__PURE__ */
|
|
2311
|
-
/* @__PURE__ */
|
|
2312
|
-
|
|
2713
|
+
/* @__PURE__ */ r("h2", { className: "text-[44px] leading-[52px] font-[700] m-0 max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:text-center", children: e }),
|
|
2714
|
+
/* @__PURE__ */ r("span", { className: "text-[18px] leading-[26px] text-[#40474f] max-tablet:text-[17px] max-tablet:leading-[24px] max-tablet:text-center", children: t }),
|
|
2715
|
+
s && n && /* @__PURE__ */ r("a", { href: s, children: /* @__PURE__ */ r(I, { className: "mt-[24px] max-tablet:mt-[8px] max-tablet:mx-auto", children: n }) })
|
|
2313
2716
|
] }) }),
|
|
2314
|
-
i && /* @__PURE__ */
|
|
2315
|
-
|
|
2717
|
+
i && /* @__PURE__ */ r(
|
|
2718
|
+
$,
|
|
2316
2719
|
{
|
|
2317
|
-
src:
|
|
2720
|
+
src: v ? a : i,
|
|
2318
2721
|
alt: e,
|
|
2319
2722
|
width: 543,
|
|
2320
2723
|
height: 527,
|
|
@@ -2323,19 +2726,21 @@ const ha = ({
|
|
|
2323
2726
|
}
|
|
2324
2727
|
)
|
|
2325
2728
|
] });
|
|
2326
|
-
}
|
|
2729
|
+
};
|
|
2730
|
+
ni.propsToEdit = tl;
|
|
2731
|
+
const il = ({
|
|
2327
2732
|
data: e,
|
|
2328
2733
|
title: t,
|
|
2329
2734
|
description: i,
|
|
2330
|
-
image:
|
|
2331
|
-
className:
|
|
2735
|
+
image: a,
|
|
2736
|
+
className: n
|
|
2332
2737
|
}) => /* @__PURE__ */ x(
|
|
2333
2738
|
"div",
|
|
2334
2739
|
{
|
|
2335
2740
|
className: X(
|
|
2336
2741
|
"w-full flex justify-between gap-[20px] bg-gray2 rounded-[20px] p-[16px]",
|
|
2337
2742
|
"md:flex-col md:items-stretch md:gap-[24px] md:p-[16px]",
|
|
2338
|
-
|
|
2743
|
+
n
|
|
2339
2744
|
),
|
|
2340
2745
|
children: [
|
|
2341
2746
|
/* @__PURE__ */ x(
|
|
@@ -2346,10 +2751,10 @@ const ha = ({
|
|
|
2346
2751
|
"md:flex-col md:items-start md:gap-3 md:basis-full"
|
|
2347
2752
|
),
|
|
2348
2753
|
children: [
|
|
2349
|
-
((e == null ? void 0 : e.necessary_icon) ||
|
|
2350
|
-
|
|
2754
|
+
((e == null ? void 0 : e.necessary_icon) || a) && /* @__PURE__ */ r(
|
|
2755
|
+
$,
|
|
2351
2756
|
{
|
|
2352
|
-
src: (e == null ? void 0 : e.necessary_icon) ??
|
|
2757
|
+
src: (e == null ? void 0 : e.necessary_icon) ?? a ?? "",
|
|
2353
2758
|
alt: (e == null ? void 0 : e.necessary_title) ?? t ?? "",
|
|
2354
2759
|
width: 48,
|
|
2355
2760
|
height: 48,
|
|
@@ -2357,7 +2762,7 @@ const ha = ({
|
|
|
2357
2762
|
}
|
|
2358
2763
|
),
|
|
2359
2764
|
/* @__PURE__ */ x("div", { className: "box-border md:h-fit", children: [
|
|
2360
|
-
/* @__PURE__ */
|
|
2765
|
+
/* @__PURE__ */ r(
|
|
2361
2766
|
"p",
|
|
2362
2767
|
{
|
|
2363
2768
|
className: X(
|
|
@@ -2367,8 +2772,8 @@ const ha = ({
|
|
|
2367
2772
|
children: (e == null ? void 0 : e.necessary_title) || t
|
|
2368
2773
|
}
|
|
2369
2774
|
),
|
|
2370
|
-
((e == null ? void 0 : e.necessary_description) || i) && /* @__PURE__ */
|
|
2371
|
-
|
|
2775
|
+
((e == null ? void 0 : e.necessary_description) || i) && /* @__PURE__ */ r(
|
|
2776
|
+
Ze,
|
|
2372
2777
|
{
|
|
2373
2778
|
className: X(
|
|
2374
2779
|
"text-[15px] leading-[22px] text-[#5F6E7B] font-normal",
|
|
@@ -2381,13 +2786,13 @@ const ha = ({
|
|
|
2381
2786
|
]
|
|
2382
2787
|
}
|
|
2383
2788
|
),
|
|
2384
|
-
(e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */
|
|
2789
|
+
(e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ r(
|
|
2385
2790
|
"a",
|
|
2386
2791
|
{
|
|
2387
2792
|
href: e == null ? void 0 : e.necessary_button_link,
|
|
2388
2793
|
target: "_blank",
|
|
2389
|
-
children: /* @__PURE__ */
|
|
2390
|
-
|
|
2794
|
+
children: /* @__PURE__ */ r(
|
|
2795
|
+
I,
|
|
2391
2796
|
{
|
|
2392
2797
|
variant: B.Static,
|
|
2393
2798
|
size: Y.L,
|
|
@@ -2402,37 +2807,60 @@ const ha = ({
|
|
|
2402
2807
|
)
|
|
2403
2808
|
]
|
|
2404
2809
|
}
|
|
2405
|
-
),
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2810
|
+
), al = {
|
|
2811
|
+
type: "table",
|
|
2812
|
+
label: "Таблица",
|
|
2813
|
+
dataType: "object",
|
|
2814
|
+
data: {
|
|
2815
|
+
keys: {
|
|
2816
|
+
image: b.FILE,
|
|
2817
|
+
image_mob: b.FILE,
|
|
2818
|
+
warning: {
|
|
2819
|
+
warning_title: b.TITLE,
|
|
2820
|
+
warning_description: b.DESCRIPTION
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
}
|
|
2824
|
+
}, ll = {
|
|
2825
|
+
type: "rows",
|
|
2826
|
+
label: "Строки таблицы",
|
|
2827
|
+
dataType: "array",
|
|
2828
|
+
data: {
|
|
2829
|
+
title: b.TITLE,
|
|
2830
|
+
description: b.DESCRIPTION,
|
|
2831
|
+
is_marked: b.BOOLEAN
|
|
2832
|
+
}
|
|
2833
|
+
}, rl = ["title", al, ll], si = ({ title: e, table: t, rows: i }) => {
|
|
2834
|
+
var a;
|
|
2835
|
+
return /* @__PURE__ */ x(V, { children: [
|
|
2836
|
+
e && /* @__PURE__ */ r(
|
|
2409
2837
|
"p",
|
|
2410
2838
|
{
|
|
2411
|
-
className:
|
|
2839
|
+
className: y(
|
|
2412
2840
|
"text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
|
|
2413
2841
|
),
|
|
2414
2842
|
children: e
|
|
2415
2843
|
}
|
|
2416
2844
|
),
|
|
2417
2845
|
/* @__PURE__ */ x("div", { className: "bg-white rounded-[20px] overflow-hidden p-8 md:p-6", children: [
|
|
2418
|
-
/* @__PURE__ */
|
|
2846
|
+
/* @__PURE__ */ r(
|
|
2419
2847
|
"div",
|
|
2420
2848
|
{
|
|
2421
|
-
className:
|
|
2422
|
-
children: /* @__PURE__ */
|
|
2423
|
-
|
|
2849
|
+
className: y("overflow-x-auto whitespace-nowrap custom-scrollbar"),
|
|
2850
|
+
children: /* @__PURE__ */ r("div", { className: "bg-white rounded-[20px] w-full", children: i == null ? void 0 : i.map((n) => /* @__PURE__ */ r(
|
|
2851
|
+
Ii,
|
|
2424
2852
|
{
|
|
2425
|
-
data:
|
|
2426
|
-
className:
|
|
2853
|
+
data: n,
|
|
2854
|
+
className: y({
|
|
2427
2855
|
"border-b border-[#E6E8EB]": !(t != null && t.warning)
|
|
2428
2856
|
})
|
|
2429
2857
|
},
|
|
2430
|
-
|
|
2858
|
+
n == null ? void 0 : n.id
|
|
2431
2859
|
)) })
|
|
2432
2860
|
}
|
|
2433
2861
|
),
|
|
2434
|
-
((
|
|
2435
|
-
|
|
2862
|
+
((a = t == null ? void 0 : t.warning) == null ? void 0 : a.warning_description) && /* @__PURE__ */ r("div", { className: "mt-4", children: /* @__PURE__ */ r(
|
|
2863
|
+
il,
|
|
2436
2864
|
{
|
|
2437
2865
|
className: "!flex-[1_1_100%] bg-white",
|
|
2438
2866
|
title: t.warning.warning_title,
|
|
@@ -2441,25 +2869,47 @@ const ha = ({
|
|
|
2441
2869
|
) })
|
|
2442
2870
|
] })
|
|
2443
2871
|
] });
|
|
2444
|
-
}
|
|
2872
|
+
};
|
|
2873
|
+
si.propsToEdit = rl;
|
|
2874
|
+
const nl = {
|
|
2875
|
+
type: "buttons",
|
|
2876
|
+
label: "Кнопки",
|
|
2877
|
+
dataType: "array",
|
|
2878
|
+
data: {
|
|
2879
|
+
button_hex: b.COLOR,
|
|
2880
|
+
button_link: b.LINK,
|
|
2881
|
+
button_text: b.TITLE
|
|
2882
|
+
}
|
|
2883
|
+
}, sl = [
|
|
2884
|
+
"title",
|
|
2885
|
+
"description",
|
|
2886
|
+
"image",
|
|
2887
|
+
"image_mob",
|
|
2888
|
+
"logo",
|
|
2889
|
+
"animation",
|
|
2890
|
+
"animation_mob",
|
|
2891
|
+
nl,
|
|
2892
|
+
"isShadow",
|
|
2893
|
+
"grid"
|
|
2894
|
+
], oi = ({
|
|
2445
2895
|
title: e,
|
|
2446
2896
|
description: t,
|
|
2447
2897
|
image: i,
|
|
2448
|
-
image_mob:
|
|
2449
|
-
logo:
|
|
2450
|
-
animation:
|
|
2451
|
-
animation_mob:
|
|
2452
|
-
buttons:
|
|
2453
|
-
isShadow:
|
|
2454
|
-
grid:
|
|
2898
|
+
image_mob: a,
|
|
2899
|
+
logo: n,
|
|
2900
|
+
animation: s,
|
|
2901
|
+
animation_mob: d,
|
|
2902
|
+
buttons: p,
|
|
2903
|
+
isShadow: v = !1,
|
|
2904
|
+
grid: L
|
|
2455
2905
|
}) => {
|
|
2456
|
-
const
|
|
2906
|
+
const F = (k, _) => _.length % 2 !== 0 && k === _.length - 1;
|
|
2457
2907
|
return /* @__PURE__ */ x("div", { children: [
|
|
2458
|
-
/* @__PURE__ */
|
|
2459
|
-
|
|
2460
|
-
|
|
2908
|
+
/* @__PURE__ */ r(V, { children: /* @__PURE__ */ x("div", { className: "flex flex-col items-center pt-[40px] max-tablet:pt-[32px]", children: [
|
|
2909
|
+
n && /* @__PURE__ */ r(
|
|
2910
|
+
$,
|
|
2461
2911
|
{
|
|
2462
|
-
src:
|
|
2912
|
+
src: n,
|
|
2463
2913
|
alt: "mtravel logo",
|
|
2464
2914
|
className: X(
|
|
2465
2915
|
"mb-[36px] w-[427px] h-[94px] max-tablet:w-full max-tablet:h-[45px] max-tablet:mt-[12px] max-tablet:mb-[24px] xxl:!h-[131px] xxl:w-full xxl:mt-[12px] xxl:mb-[24px]"
|
|
@@ -2467,39 +2917,39 @@ const ha = ({
|
|
|
2467
2917
|
imageStyles: "h-full w-full object-contain"
|
|
2468
2918
|
}
|
|
2469
2919
|
),
|
|
2470
|
-
/* @__PURE__ */
|
|
2471
|
-
t && /* @__PURE__ */
|
|
2472
|
-
/* @__PURE__ */
|
|
2920
|
+
/* @__PURE__ */ r("h1", { className: "text-black2 text-[40px] font-bold leading-[50px] mb-[24px] text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[20px] xxl:text-[56px] xxl:leading-[66px]", children: e }),
|
|
2921
|
+
t && /* @__PURE__ */ r("p", { className: "text-black2 text-center text-[20px] font-normal leading-[25px] mb-[36px] w-[75%] max-tablet:text-[16px] max-tablet:leading-[20px] max-tablet:w-full", children: t }),
|
|
2922
|
+
/* @__PURE__ */ r(
|
|
2473
2923
|
"div",
|
|
2474
2924
|
{
|
|
2475
|
-
className: `grid grid-cols-${
|
|
2925
|
+
className: `grid grid-cols-${L} items-center gap-[16px] mb-[60px]
|
|
2476
2926
|
max-tablet:grid-cols-1 max-tablet:w-full max-tablet:mb-[40px]`,
|
|
2477
|
-
children:
|
|
2927
|
+
children: p == null ? void 0 : p.map((k, _) => /* @__PURE__ */ r(
|
|
2478
2928
|
"a",
|
|
2479
2929
|
{
|
|
2480
2930
|
href: k == null ? void 0 : k.button_link,
|
|
2481
|
-
className:
|
|
2482
|
-
[`col-span-${
|
|
2931
|
+
className: y("flex items-center", {
|
|
2932
|
+
[`col-span-${L}`]: F(_, p)
|
|
2483
2933
|
}),
|
|
2484
2934
|
target: "_blank",
|
|
2485
|
-
children: /* @__PURE__ */
|
|
2935
|
+
children: /* @__PURE__ */ r(I, { className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]", children: k == null ? void 0 : k.button_text })
|
|
2486
2936
|
}
|
|
2487
2937
|
))
|
|
2488
2938
|
}
|
|
2489
2939
|
)
|
|
2490
2940
|
] }) }),
|
|
2491
|
-
i && /* @__PURE__ */
|
|
2941
|
+
i && /* @__PURE__ */ r(
|
|
2492
2942
|
"div",
|
|
2493
2943
|
{
|
|
2494
2944
|
className: X(
|
|
2495
2945
|
"w-full h-[450px] max-tablet:w-full max-tablet:h-[280px] max-mobile:hidden xxl:h-[630px] xxl:w-full"
|
|
2496
2946
|
),
|
|
2497
|
-
children: /* @__PURE__ */
|
|
2947
|
+
children: /* @__PURE__ */ r(
|
|
2498
2948
|
"div",
|
|
2499
2949
|
{
|
|
2500
2950
|
className: X(
|
|
2501
2951
|
"h-[450px] xxl:h-[630px] xxl:w-full",
|
|
2502
|
-
|
|
2952
|
+
v && "w-fit h-full my-0 mx-auto block relative gradient-border"
|
|
2503
2953
|
),
|
|
2504
2954
|
children: /* @__PURE__ */ x(
|
|
2505
2955
|
"video",
|
|
@@ -2512,18 +2962,18 @@ const ha = ({
|
|
|
2512
2962
|
style: { background: "transparent" },
|
|
2513
2963
|
className: "h-full",
|
|
2514
2964
|
children: [
|
|
2515
|
-
/* @__PURE__ */
|
|
2965
|
+
/* @__PURE__ */ r(
|
|
2516
2966
|
"source",
|
|
2517
2967
|
{
|
|
2518
2968
|
type: "video/quicktime",
|
|
2519
|
-
src:
|
|
2969
|
+
src: d
|
|
2520
2970
|
}
|
|
2521
2971
|
),
|
|
2522
|
-
/* @__PURE__ */
|
|
2972
|
+
/* @__PURE__ */ r(
|
|
2523
2973
|
"source",
|
|
2524
2974
|
{
|
|
2525
2975
|
type: "video/webm",
|
|
2526
|
-
src:
|
|
2976
|
+
src: s
|
|
2527
2977
|
}
|
|
2528
2978
|
)
|
|
2529
2979
|
]
|
|
@@ -2533,24 +2983,24 @@ const ha = ({
|
|
|
2533
2983
|
)
|
|
2534
2984
|
}
|
|
2535
2985
|
),
|
|
2536
|
-
|
|
2986
|
+
a && /* @__PURE__ */ r(
|
|
2537
2987
|
"div",
|
|
2538
2988
|
{
|
|
2539
2989
|
className: X(
|
|
2540
2990
|
"hidden max-mobile:w-full max-mobile:h-[280px] max-mobile:block"
|
|
2541
2991
|
),
|
|
2542
2992
|
style: { background: "transparent" },
|
|
2543
|
-
children: /* @__PURE__ */
|
|
2993
|
+
children: /* @__PURE__ */ r(
|
|
2544
2994
|
"div",
|
|
2545
2995
|
{
|
|
2546
2996
|
className: X(
|
|
2547
2997
|
"h-[450px] xxl:h-[630px] xxl:w-full max-tablet:h-[280px]",
|
|
2548
|
-
|
|
2998
|
+
v && "w-fit h-full my-0 mx-auto block relative gradient-border"
|
|
2549
2999
|
),
|
|
2550
3000
|
children: /* @__PURE__ */ x(
|
|
2551
3001
|
"video",
|
|
2552
3002
|
{
|
|
2553
|
-
poster:
|
|
3003
|
+
poster: a,
|
|
2554
3004
|
autoPlay: !0,
|
|
2555
3005
|
loop: !0,
|
|
2556
3006
|
muted: !0,
|
|
@@ -2558,18 +3008,18 @@ const ha = ({
|
|
|
2558
3008
|
style: { background: "transparent" },
|
|
2559
3009
|
className: "w-full h-full object-contain align-middle max-700:object-cover",
|
|
2560
3010
|
children: [
|
|
2561
|
-
/* @__PURE__ */
|
|
3011
|
+
/* @__PURE__ */ r(
|
|
2562
3012
|
"source",
|
|
2563
3013
|
{
|
|
2564
3014
|
type: "video/quicktime",
|
|
2565
|
-
src:
|
|
3015
|
+
src: d
|
|
2566
3016
|
}
|
|
2567
3017
|
),
|
|
2568
|
-
/* @__PURE__ */
|
|
3018
|
+
/* @__PURE__ */ r(
|
|
2569
3019
|
"source",
|
|
2570
3020
|
{
|
|
2571
3021
|
type: "video/webm",
|
|
2572
|
-
src:
|
|
3022
|
+
src: s
|
|
2573
3023
|
}
|
|
2574
3024
|
)
|
|
2575
3025
|
]
|
|
@@ -2581,12 +3031,12 @@ const ha = ({
|
|
|
2581
3031
|
)
|
|
2582
3032
|
] });
|
|
2583
3033
|
};
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
3034
|
+
oi.propsToEdit = sl;
|
|
3035
|
+
var w = /* @__PURE__ */ ((e) => (e.Banner = "Banner", e.CardImageList = "CardImageList", e.Stepper = "Stepper", e.Segments = "Segments", e.Video = "VideoFull", e.VideoList = "VideoList", e.VideoListMini = "VideoListMini", e.ContentCardList = "ContentCardList", e.CardIconList = "CardIconList", e.MultiCards = "MultiCards", e.Partners = "Partners", e.PartnersColors = "PartnersColors", e.MainBanner = "MainBanner", e.WarningCard = "WarningCard", e.Faq = "Faq", e.DownloadFileBanner = "DownloadFileBanner", e.DownloadFileFull = "DownloadFileFull", e.DownloadFileHalf = "DownloadFileHalf", e.DownloadFileMini = "DownloadFileMini", e.InstructionList = "InstructionList", e.PreviewList = "PreviewList", e.SwiperList = "SwiperList", e.AnimatedSwiper = "AnimatedSwiper", e.InfoBannerList = "InfoBannerList", e.TasksBannerList = "TasksBannerList", e.VideoMainBanner = "VideoMainBanner", e.EmptyBox = "EmptyBox", e.PromoPoster = "PromoPoster", e.CardImageSecondaryList = "CardImageSecondaryList", e.CardInfoTable = "CardInfoTable", e.StandartTable = "StandartTable", e.IntroBanner = "IntroBanner", e.DownloadFileBright = "DownloadFileBright", e))(w || {});
|
|
3036
|
+
const ol = {
|
|
3037
|
+
key: w.Banner,
|
|
2587
3038
|
id: "1",
|
|
2588
3039
|
componentProps: {
|
|
2589
|
-
variant: Se.Buttons,
|
|
2590
3040
|
bg_image: "https://mbank.kg/media/market/Banner_bg.webp",
|
|
2591
3041
|
bg_image_mob: "https://mbank.kg/media/market/Banner_bg.webp",
|
|
2592
3042
|
image: "https://mbank.kg/_next/image?url=https%3A%2F%2Fmbank.kg%2Fmedia%2Fmarket%2FImage-2.webp&w=762&q=75",
|
|
@@ -2596,22 +3046,21 @@ const Na = {
|
|
|
2596
3046
|
description: "Присоединяйтесь к Market и начните выгодные покупки уже сегодня!",
|
|
2597
3047
|
buttons: [
|
|
2598
3048
|
{
|
|
2599
|
-
|
|
3049
|
+
title: "Начать",
|
|
2600
3050
|
link: "/start",
|
|
2601
3051
|
variant: B.Primary
|
|
2602
3052
|
},
|
|
2603
3053
|
{
|
|
2604
|
-
|
|
3054
|
+
title: "Узнать больше",
|
|
2605
3055
|
link: "/learn-more",
|
|
2606
3056
|
variant: B.Secondary
|
|
2607
3057
|
}
|
|
2608
3058
|
]
|
|
2609
3059
|
}
|
|
2610
|
-
},
|
|
2611
|
-
key:
|
|
3060
|
+
}, fr = {
|
|
3061
|
+
key: w.Banner,
|
|
2612
3062
|
id: "2",
|
|
2613
3063
|
componentProps: {
|
|
2614
|
-
variant: Se.Qr,
|
|
2615
3064
|
bg_image: "https://mbank.kg/media/market/Banner_bg.webp",
|
|
2616
3065
|
bg_image_mob: "https://mbank.kg/media/market/Banner_bg.webp",
|
|
2617
3066
|
image: "https://mbank.kg/_next/image?url=https%3A%2F%2Fmbank.kg%2Fmedia%2Fmarket%2FImage-2.webp&w=762&q=75",
|
|
@@ -2631,8 +3080,8 @@ const Na = {
|
|
|
2631
3080
|
}
|
|
2632
3081
|
}
|
|
2633
3082
|
}
|
|
2634
|
-
},
|
|
2635
|
-
key:
|
|
3083
|
+
}, cl = {
|
|
3084
|
+
key: w.CardImageList,
|
|
2636
3085
|
id: "3",
|
|
2637
3086
|
componentProps: {
|
|
2638
3087
|
cards: [
|
|
@@ -2663,8 +3112,8 @@ const Na = {
|
|
|
2663
3112
|
}
|
|
2664
3113
|
]
|
|
2665
3114
|
}
|
|
2666
|
-
},
|
|
2667
|
-
key:
|
|
3115
|
+
}, dl = {
|
|
3116
|
+
key: w.Stepper,
|
|
2668
3117
|
id: "4",
|
|
2669
3118
|
componentProps: {
|
|
2670
3119
|
title: "Stepper",
|
|
@@ -2681,8 +3130,8 @@ const Na = {
|
|
|
2681
3130
|
{ text: "Выберите товар, который Вы хотите взять в рассрочку", id: 3 }
|
|
2682
3131
|
]
|
|
2683
3132
|
}
|
|
2684
|
-
},
|
|
2685
|
-
key:
|
|
3133
|
+
}, pl = {
|
|
3134
|
+
key: w.Segments,
|
|
2686
3135
|
id: "5",
|
|
2687
3136
|
componentProps: {
|
|
2688
3137
|
data: [
|
|
@@ -2690,8 +3139,8 @@ const Na = {
|
|
|
2690
3139
|
{ title: "Segment 2", id: 2 }
|
|
2691
3140
|
]
|
|
2692
3141
|
}
|
|
2693
|
-
},
|
|
2694
|
-
key:
|
|
3142
|
+
}, ml = {
|
|
3143
|
+
key: w.Video,
|
|
2695
3144
|
id: "6",
|
|
2696
3145
|
componentProps: {
|
|
2697
3146
|
data: {
|
|
@@ -2699,8 +3148,8 @@ const Na = {
|
|
|
2699
3148
|
title: "Заголовок1"
|
|
2700
3149
|
}
|
|
2701
3150
|
}
|
|
2702
|
-
},
|
|
2703
|
-
key:
|
|
3151
|
+
}, ul = {
|
|
3152
|
+
key: w.VideoList,
|
|
2704
3153
|
id: "7",
|
|
2705
3154
|
componentProps: {
|
|
2706
3155
|
data: [
|
|
@@ -2714,8 +3163,8 @@ const Na = {
|
|
|
2714
3163
|
}
|
|
2715
3164
|
]
|
|
2716
3165
|
}
|
|
2717
|
-
},
|
|
2718
|
-
key:
|
|
3166
|
+
}, gl = {
|
|
3167
|
+
key: w.VideoListMini,
|
|
2719
3168
|
id: "8",
|
|
2720
3169
|
componentProps: {
|
|
2721
3170
|
data: [
|
|
@@ -2733,8 +3182,8 @@ const Na = {
|
|
|
2733
3182
|
}
|
|
2734
3183
|
]
|
|
2735
3184
|
}
|
|
2736
|
-
},
|
|
2737
|
-
key:
|
|
3185
|
+
}, xl = {
|
|
3186
|
+
key: w.ContentCardList,
|
|
2738
3187
|
id: "9",
|
|
2739
3188
|
componentProps: {
|
|
2740
3189
|
data: {
|
|
@@ -2800,8 +3249,8 @@ const Na = {
|
|
|
2800
3249
|
]
|
|
2801
3250
|
}
|
|
2802
3251
|
}
|
|
2803
|
-
},
|
|
2804
|
-
key:
|
|
3252
|
+
}, bl = {
|
|
3253
|
+
key: w.Partners,
|
|
2805
3254
|
id: "10",
|
|
2806
3255
|
componentProps: {
|
|
2807
3256
|
data: {
|
|
@@ -2851,8 +3300,8 @@ const Na = {
|
|
|
2851
3300
|
]
|
|
2852
3301
|
}
|
|
2853
3302
|
}
|
|
2854
|
-
},
|
|
2855
|
-
key:
|
|
3303
|
+
}, fl = {
|
|
3304
|
+
key: w.CardIconList,
|
|
2856
3305
|
id: "11",
|
|
2857
3306
|
componentProps: {
|
|
2858
3307
|
title: "Card Icon List",
|
|
@@ -2896,8 +3345,8 @@ const Na = {
|
|
|
2896
3345
|
],
|
|
2897
3346
|
size: "medium"
|
|
2898
3347
|
}
|
|
2899
|
-
},
|
|
2900
|
-
key:
|
|
3348
|
+
}, hr = {
|
|
3349
|
+
key: w.CardIconList,
|
|
2901
3350
|
id: "12",
|
|
2902
3351
|
componentProps: {
|
|
2903
3352
|
title: "Card Icon List",
|
|
@@ -2941,8 +3390,8 @@ const Na = {
|
|
|
2941
3390
|
],
|
|
2942
3391
|
size: "large"
|
|
2943
3392
|
}
|
|
2944
|
-
},
|
|
2945
|
-
key:
|
|
3393
|
+
}, hl = {
|
|
3394
|
+
key: w.MultiCards,
|
|
2946
3395
|
id: "13",
|
|
2947
3396
|
componentProps: {
|
|
2948
3397
|
title: "Multi Card List",
|
|
@@ -2995,8 +3444,8 @@ const Na = {
|
|
|
2995
3444
|
is_banner_first: !0,
|
|
2996
3445
|
is_cards_first: !0
|
|
2997
3446
|
}
|
|
2998
|
-
},
|
|
2999
|
-
key:
|
|
3447
|
+
}, kl = {
|
|
3448
|
+
key: w.PartnersColors,
|
|
3000
3449
|
id: "14",
|
|
3001
3450
|
componentProps: {
|
|
3002
3451
|
title: "С нами сотрудничают одни из самых крупных брендов",
|
|
@@ -3232,8 +3681,8 @@ const Na = {
|
|
|
3232
3681
|
}
|
|
3233
3682
|
]
|
|
3234
3683
|
}
|
|
3235
|
-
},
|
|
3236
|
-
key:
|
|
3684
|
+
}, _l = {
|
|
3685
|
+
key: w.MainBanner,
|
|
3237
3686
|
id: "15",
|
|
3238
3687
|
componentProps: {
|
|
3239
3688
|
id: 1,
|
|
@@ -3256,8 +3705,8 @@ const Na = {
|
|
|
3256
3705
|
logo: "https://mbank.kg/media/market/item-hero-image-logos.svg",
|
|
3257
3706
|
grid: 2
|
|
3258
3707
|
}
|
|
3259
|
-
},
|
|
3260
|
-
key:
|
|
3708
|
+
}, yl = {
|
|
3709
|
+
key: w.WarningCard,
|
|
3261
3710
|
id: "16",
|
|
3262
3711
|
componentProps: {
|
|
3263
3712
|
title: "Test",
|
|
@@ -3265,8 +3714,8 @@ const Na = {
|
|
|
3265
3714
|
button_text: "button text",
|
|
3266
3715
|
variant: "orange"
|
|
3267
3716
|
}
|
|
3268
|
-
},
|
|
3269
|
-
key:
|
|
3717
|
+
}, kr = {
|
|
3718
|
+
key: w.WarningCard,
|
|
3270
3719
|
id: "17",
|
|
3271
3720
|
componentProps: {
|
|
3272
3721
|
title: "Test",
|
|
@@ -3274,8 +3723,8 @@ const Na = {
|
|
|
3274
3723
|
button_text: "button text",
|
|
3275
3724
|
variant: "gray"
|
|
3276
3725
|
}
|
|
3277
|
-
},
|
|
3278
|
-
key:
|
|
3726
|
+
}, _r = {
|
|
3727
|
+
key: w.WarningCard,
|
|
3279
3728
|
id: "18",
|
|
3280
3729
|
componentProps: {
|
|
3281
3730
|
title: "Test",
|
|
@@ -3283,8 +3732,8 @@ const Na = {
|
|
|
3283
3732
|
button_text: "button text",
|
|
3284
3733
|
variant: "black"
|
|
3285
3734
|
}
|
|
3286
|
-
},
|
|
3287
|
-
key:
|
|
3735
|
+
}, wl = {
|
|
3736
|
+
key: w.Faq,
|
|
3288
3737
|
id: "19",
|
|
3289
3738
|
componentProps: {
|
|
3290
3739
|
title: "Часто задаваемые вопросы",
|
|
@@ -3303,8 +3752,8 @@ const Na = {
|
|
|
3303
3752
|
}
|
|
3304
3753
|
]
|
|
3305
3754
|
}
|
|
3306
|
-
},
|
|
3307
|
-
key:
|
|
3755
|
+
}, vl = {
|
|
3756
|
+
key: w.DownloadFileHalf,
|
|
3308
3757
|
id: "20",
|
|
3309
3758
|
componentProps: {
|
|
3310
3759
|
data: [
|
|
@@ -3322,8 +3771,8 @@ const Na = {
|
|
|
3322
3771
|
}
|
|
3323
3772
|
]
|
|
3324
3773
|
}
|
|
3325
|
-
},
|
|
3326
|
-
key:
|
|
3774
|
+
}, Fl = {
|
|
3775
|
+
key: w.DownloadFileBanner,
|
|
3327
3776
|
id: "21",
|
|
3328
3777
|
componentProps: {
|
|
3329
3778
|
id: "1",
|
|
@@ -3331,8 +3780,8 @@ const Na = {
|
|
|
3331
3780
|
text: "Помогает научить ребенка контролировать свои траты, копить и обращаться с деньгами",
|
|
3332
3781
|
link: "#"
|
|
3333
3782
|
}
|
|
3334
|
-
},
|
|
3335
|
-
key:
|
|
3783
|
+
}, Nl = {
|
|
3784
|
+
key: w.DownloadFileFull,
|
|
3336
3785
|
id: "22",
|
|
3337
3786
|
componentProps: {
|
|
3338
3787
|
data: [
|
|
@@ -3356,8 +3805,8 @@ const Na = {
|
|
|
3356
3805
|
}
|
|
3357
3806
|
]
|
|
3358
3807
|
}
|
|
3359
|
-
},
|
|
3360
|
-
key:
|
|
3808
|
+
}, Cl = {
|
|
3809
|
+
key: w.DownloadFileMini,
|
|
3361
3810
|
id: "23",
|
|
3362
3811
|
componentProps: {
|
|
3363
3812
|
data: [
|
|
@@ -3387,8 +3836,8 @@ const Na = {
|
|
|
3387
3836
|
}
|
|
3388
3837
|
]
|
|
3389
3838
|
}
|
|
3390
|
-
},
|
|
3391
|
-
key:
|
|
3839
|
+
}, Ll = {
|
|
3840
|
+
key: w.InstructionList,
|
|
3392
3841
|
id: "24",
|
|
3393
3842
|
componentProps: {
|
|
3394
3843
|
title: "Hero stepper screen",
|
|
@@ -3423,8 +3872,8 @@ const Na = {
|
|
|
3423
3872
|
link: "https://www.youtube.com/"
|
|
3424
3873
|
}
|
|
3425
3874
|
}
|
|
3426
|
-
},
|
|
3427
|
-
key:
|
|
3875
|
+
}, Dl = {
|
|
3876
|
+
key: w.PreviewList,
|
|
3428
3877
|
id: "25",
|
|
3429
3878
|
componentProps: {
|
|
3430
3879
|
title: "Hero blog",
|
|
@@ -3452,8 +3901,8 @@ const Na = {
|
|
|
3452
3901
|
],
|
|
3453
3902
|
grid: 2
|
|
3454
3903
|
}
|
|
3455
|
-
},
|
|
3456
|
-
key:
|
|
3904
|
+
}, Tl = {
|
|
3905
|
+
key: w.SwiperList,
|
|
3457
3906
|
id: "26",
|
|
3458
3907
|
componentProps: {
|
|
3459
3908
|
title: "Hero Gallery",
|
|
@@ -3518,8 +3967,8 @@ const Na = {
|
|
|
3518
3967
|
autoplayDelay: 2e3,
|
|
3519
3968
|
perViewScreens: 4
|
|
3520
3969
|
}
|
|
3521
|
-
},
|
|
3522
|
-
key:
|
|
3970
|
+
}, Bl = {
|
|
3971
|
+
key: w.AnimatedSwiper,
|
|
3523
3972
|
id: "27",
|
|
3524
3973
|
componentProps: {
|
|
3525
3974
|
title: "Анимированный свайпер",
|
|
@@ -3614,8 +4063,8 @@ const Na = {
|
|
|
3614
4063
|
isLight: !1,
|
|
3615
4064
|
isButton: !1
|
|
3616
4065
|
}
|
|
3617
|
-
},
|
|
3618
|
-
key:
|
|
4066
|
+
}, Sl = {
|
|
4067
|
+
key: w.InfoBannerList,
|
|
3619
4068
|
id: "28",
|
|
3620
4069
|
componentProps: {
|
|
3621
4070
|
title: "Премиальная карта для самых первых",
|
|
@@ -3702,8 +4151,8 @@ const Na = {
|
|
|
3702
4151
|
isLight: !1,
|
|
3703
4152
|
isLightTitle: !1
|
|
3704
4153
|
}
|
|
3705
|
-
},
|
|
3706
|
-
key:
|
|
4154
|
+
}, El = {
|
|
4155
|
+
key: w.TasksBannerList,
|
|
3707
4156
|
id: "29",
|
|
3708
4157
|
componentProps: {
|
|
3709
4158
|
title: "Задачи",
|
|
@@ -3783,8 +4232,8 @@ const Na = {
|
|
|
3783
4232
|
}
|
|
3784
4233
|
]
|
|
3785
4234
|
}
|
|
3786
|
-
},
|
|
3787
|
-
key:
|
|
4235
|
+
}, Il = {
|
|
4236
|
+
key: w.VideoMainBanner,
|
|
3788
4237
|
id: "30",
|
|
3789
4238
|
componentProps: {
|
|
3790
4239
|
title: "Марафон призов от MBANK",
|
|
@@ -3809,14 +4258,14 @@ const Na = {
|
|
|
3809
4258
|
grid: 2,
|
|
3810
4259
|
isShadow: !0
|
|
3811
4260
|
}
|
|
3812
|
-
},
|
|
3813
|
-
key:
|
|
4261
|
+
}, Vl = {
|
|
4262
|
+
key: w.EmptyBox,
|
|
3814
4263
|
id: "31",
|
|
3815
4264
|
componentProps: {
|
|
3816
4265
|
size: "100"
|
|
3817
4266
|
}
|
|
3818
|
-
},
|
|
3819
|
-
key:
|
|
4267
|
+
}, Pl = {
|
|
4268
|
+
key: w.PromoPoster,
|
|
3820
4269
|
id: "32",
|
|
3821
4270
|
componentProps: {
|
|
3822
4271
|
id: 1,
|
|
@@ -3841,8 +4290,8 @@ const Na = {
|
|
|
3841
4290
|
}
|
|
3842
4291
|
]
|
|
3843
4292
|
}
|
|
3844
|
-
},
|
|
3845
|
-
key:
|
|
4293
|
+
}, Ml = {
|
|
4294
|
+
key: w.CardImageSecondaryList,
|
|
3846
4295
|
id: "33",
|
|
3847
4296
|
componentProps: {
|
|
3848
4297
|
title: "На какие цели можно получить финансирование?",
|
|
@@ -3871,8 +4320,8 @@ const Na = {
|
|
|
3871
4320
|
],
|
|
3872
4321
|
isHorizontal: !1
|
|
3873
4322
|
}
|
|
3874
|
-
},
|
|
3875
|
-
key:
|
|
4323
|
+
}, Al = {
|
|
4324
|
+
key: w.CardInfoTable,
|
|
3876
4325
|
id: "34",
|
|
3877
4326
|
componentProps: {
|
|
3878
4327
|
title: "Условия финансирования",
|
|
@@ -3978,8 +4427,8 @@ const Na = {
|
|
|
3978
4427
|
}
|
|
3979
4428
|
]
|
|
3980
4429
|
}
|
|
3981
|
-
},
|
|
3982
|
-
key:
|
|
4430
|
+
}, Ol = {
|
|
4431
|
+
key: w.StandartTable,
|
|
3983
4432
|
id: "35",
|
|
3984
4433
|
componentProps: {
|
|
3985
4434
|
title: "Ознакомьтесь с условиями",
|
|
@@ -4227,8 +4676,8 @@ const Na = {
|
|
|
4227
4676
|
}
|
|
4228
4677
|
]
|
|
4229
4678
|
}
|
|
4230
|
-
},
|
|
4231
|
-
key:
|
|
4679
|
+
}, Rl = {
|
|
4680
|
+
key: w.IntroBanner,
|
|
4232
4681
|
id: "36",
|
|
4233
4682
|
componentProps: {
|
|
4234
4683
|
title: "Откройте путь в Барселону с Visa и MBANK!",
|
|
@@ -4242,8 +4691,8 @@ const Na = {
|
|
|
4242
4691
|
logo: "https://mbank.kg/media/standard/logo/Vector_1.svg",
|
|
4243
4692
|
logo_second: "https://mbank.kg/media/standard/logo_second/mbank_logo_full_tNoEfG4.svg"
|
|
4244
4693
|
}
|
|
4245
|
-
},
|
|
4246
|
-
key:
|
|
4694
|
+
}, ql = {
|
|
4695
|
+
key: w.DownloadFileBright,
|
|
4247
4696
|
id: "37",
|
|
4248
4697
|
componentProps: {
|
|
4249
4698
|
id: 1,
|
|
@@ -4253,147 +4702,153 @@ const Na = {
|
|
|
4253
4702
|
button_text: "Скачать",
|
|
4254
4703
|
button_link: "https://mbank.kg/media/documents/%D0%9F%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5_1_%D0%9F%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D0%B0_%D0%B0%D0%BA%D1%86%D0%B8%D0%B8__C%D0%BE%D0%B2%D0%B5%D1%80%D1%88%D0%B0%D0%B9_%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%B8-%D0%BE%D1%82%D0%BA%D1%80%D0%BE%D0%B9_%D0%BF%D1%83%D1%82%D1%8C_%D0%B2_%D0%91%D0%B0%D1%80%D1%81%D0%B5%D0%BB%D0%BE%D0%BD%D1%83__%D0%A4%D0%98%D0%9D%D0%90%D0%9B_YZc1tmj.pdf"
|
|
4255
4704
|
}
|
|
4256
|
-
},
|
|
4257
|
-
MainBanner: { key: "MainBanner", component:
|
|
4258
|
-
Banner: { key: "Banner", component:
|
|
4259
|
-
CardImageList: { key: "CardImageList", component:
|
|
4260
|
-
Stepper: { key: "Stepper", component:
|
|
4261
|
-
Segments: { key: "Segments", component:
|
|
4262
|
-
VideoFull: { key: "VideoFull", component:
|
|
4263
|
-
VideoList: { key: "VideoList", component:
|
|
4264
|
-
VideoListMini: { key: "VideoListMini", component:
|
|
4265
|
-
ContentCardList: { key: "ContentCardList", component:
|
|
4266
|
-
CardIconList: { key: "CardIconList", component:
|
|
4267
|
-
MultiCards: { key: "MultiCards", component:
|
|
4268
|
-
Partners: { key: "Partners", component:
|
|
4269
|
-
PartnersColors: { key: "PartnersColors", component:
|
|
4270
|
-
WarningCard: { key: "WarningCard", component:
|
|
4271
|
-
Faq: { key: "Faq", component:
|
|
4705
|
+
}, yr = {
|
|
4706
|
+
MainBanner: { key: "MainBanner", component: Pt },
|
|
4707
|
+
Banner: { key: "Banner", component: Dt },
|
|
4708
|
+
CardImageList: { key: "CardImageList", component: Vt },
|
|
4709
|
+
Stepper: { key: "Stepper", component: Bt },
|
|
4710
|
+
Segments: { key: "Segments", component: _i },
|
|
4711
|
+
VideoFull: { key: "VideoFull", component: yi },
|
|
4712
|
+
VideoList: { key: "VideoList", component: wi },
|
|
4713
|
+
VideoListMini: { key: "VideoListMini", component: vi },
|
|
4714
|
+
ContentCardList: { key: "ContentCardList", component: Et },
|
|
4715
|
+
CardIconList: { key: "CardIconList", component: ze },
|
|
4716
|
+
MultiCards: { key: "MultiCards", component: It },
|
|
4717
|
+
Partners: { key: "Partners", component: Ni },
|
|
4718
|
+
PartnersColors: { key: "PartnersColors", component: Ti },
|
|
4719
|
+
WarningCard: { key: "WarningCard", component: Wt },
|
|
4720
|
+
Faq: { key: "Faq", component: Ut },
|
|
4272
4721
|
DownloadFileBanner: {
|
|
4273
4722
|
key: "DownloadFileBanner",
|
|
4274
|
-
component:
|
|
4723
|
+
component: Qt
|
|
4275
4724
|
},
|
|
4276
|
-
DownloadFileHalf: { key: "DownloadFileHalf", component:
|
|
4277
|
-
DownloadFileFull: { key: "DownloadFileFull", component:
|
|
4278
|
-
DownloadFileMini: { key: "DownloadFileMini", component:
|
|
4279
|
-
InstructionList: { key: "InstructionList", component:
|
|
4280
|
-
PreviewList: { key: "PreviewList", component:
|
|
4281
|
-
SwiperList: { key: "SwiperList", component:
|
|
4282
|
-
AnimatedSwiper: { key: "AnimatedSwiper", component:
|
|
4283
|
-
InfoBannerList: { key: "InfoBannerList", component:
|
|
4284
|
-
TasksBannerList: { key: "TasksBannerList", component:
|
|
4285
|
-
VideoMainBanner: { key: "VideoMainBanner", component:
|
|
4286
|
-
|
|
4287
|
-
PromoPoster: { key: "PromoPoster", component:
|
|
4725
|
+
DownloadFileHalf: { key: "DownloadFileHalf", component: Xt },
|
|
4726
|
+
DownloadFileFull: { key: "DownloadFileFull", component: Jt },
|
|
4727
|
+
DownloadFileMini: { key: "DownloadFileMini", component: Yt },
|
|
4728
|
+
InstructionList: { key: "InstructionList", component: Gt },
|
|
4729
|
+
PreviewList: { key: "PreviewList", component: zt },
|
|
4730
|
+
SwiperList: { key: "SwiperList", component: Vi },
|
|
4731
|
+
AnimatedSwiper: { key: "AnimatedSwiper", component: Bi },
|
|
4732
|
+
InfoBannerList: { key: "InfoBannerList", component: ri },
|
|
4733
|
+
TasksBannerList: { key: "TasksBannerList", component: Pi },
|
|
4734
|
+
VideoMainBanner: { key: "VideoMainBanner", component: oi },
|
|
4735
|
+
Space: { key: "Space", component: Ei },
|
|
4736
|
+
PromoPoster: { key: "PromoPoster", component: Si },
|
|
4288
4737
|
CardImageSecondaryList: {
|
|
4289
4738
|
key: "CardImageSecondaryList",
|
|
4290
|
-
component:
|
|
4739
|
+
component: ti
|
|
4291
4740
|
},
|
|
4292
|
-
CardInfoTable: { key: "CardInfoTable", component:
|
|
4293
|
-
StandartTable: { key: "StandartTable", component:
|
|
4294
|
-
IntroBanner: { key: "IntroBanner", component:
|
|
4741
|
+
CardInfoTable: { key: "CardInfoTable", component: et },
|
|
4742
|
+
StandartTable: { key: "StandartTable", component: si },
|
|
4743
|
+
IntroBanner: { key: "IntroBanner", component: ni },
|
|
4295
4744
|
DownloadFileBright: {
|
|
4296
4745
|
key: "DownloadFileBright",
|
|
4297
|
-
component:
|
|
4746
|
+
component: ai
|
|
4298
4747
|
}
|
|
4299
|
-
},
|
|
4300
|
-
MainBanner:
|
|
4301
|
-
Banner:
|
|
4302
|
-
CardImageList:
|
|
4303
|
-
Stepper:
|
|
4304
|
-
Segments:
|
|
4305
|
-
VideoFull:
|
|
4306
|
-
VideoList:
|
|
4307
|
-
VideoListMini:
|
|
4308
|
-
ContentCardList:
|
|
4309
|
-
CardIconList:
|
|
4310
|
-
MultiCards:
|
|
4311
|
-
Partners:
|
|
4312
|
-
PartnersColors:
|
|
4313
|
-
WarningCard:
|
|
4314
|
-
Faq:
|
|
4315
|
-
DownloadFileBanner:
|
|
4316
|
-
DownloadFileHalf:
|
|
4317
|
-
DownloadFileFull:
|
|
4318
|
-
DownloadFileMini:
|
|
4319
|
-
InstructionList:
|
|
4320
|
-
PreviewList:
|
|
4321
|
-
SwiperList:
|
|
4322
|
-
AnimatedSwiper:
|
|
4323
|
-
InfoBannerList:
|
|
4324
|
-
TasksBannerList:
|
|
4325
|
-
VideoMainBanner:
|
|
4326
|
-
EmptyBox:
|
|
4327
|
-
PromoPoster:
|
|
4328
|
-
CardImageSecondaryList:
|
|
4329
|
-
CardInfoTable:
|
|
4330
|
-
StandartTable:
|
|
4331
|
-
IntroBanner:
|
|
4332
|
-
DownloadFileBright:
|
|
4748
|
+
}, wr = {
|
|
4749
|
+
MainBanner: _l.componentProps,
|
|
4750
|
+
Banner: ol.componentProps,
|
|
4751
|
+
CardImageList: cl.componentProps,
|
|
4752
|
+
Stepper: dl.componentProps,
|
|
4753
|
+
Segments: pl.componentProps,
|
|
4754
|
+
VideoFull: ml.componentProps,
|
|
4755
|
+
VideoList: ul.componentProps,
|
|
4756
|
+
VideoListMini: gl.componentProps,
|
|
4757
|
+
ContentCardList: xl.componentProps,
|
|
4758
|
+
CardIconList: fl.componentProps,
|
|
4759
|
+
MultiCards: hl.componentProps,
|
|
4760
|
+
Partners: bl.componentProps,
|
|
4761
|
+
PartnersColors: kl.componentProps,
|
|
4762
|
+
WarningCard: yl.componentProps,
|
|
4763
|
+
Faq: wl.componentProps,
|
|
4764
|
+
DownloadFileBanner: Fl.componentProps,
|
|
4765
|
+
DownloadFileHalf: vl.componentProps,
|
|
4766
|
+
DownloadFileFull: Nl.componentProps,
|
|
4767
|
+
DownloadFileMini: Cl.componentProps,
|
|
4768
|
+
InstructionList: Ll.componentProps,
|
|
4769
|
+
PreviewList: Dl.componentProps,
|
|
4770
|
+
SwiperList: Tl.componentProps,
|
|
4771
|
+
AnimatedSwiper: Bl.componentProps,
|
|
4772
|
+
InfoBannerList: Sl.componentProps,
|
|
4773
|
+
TasksBannerList: El.componentProps,
|
|
4774
|
+
VideoMainBanner: Il.componentProps,
|
|
4775
|
+
EmptyBox: Vl.componentProps,
|
|
4776
|
+
PromoPoster: Pl.componentProps,
|
|
4777
|
+
CardImageSecondaryList: Ml.componentProps,
|
|
4778
|
+
CardInfoTable: Al.componentProps,
|
|
4779
|
+
StandartTable: Ol.componentProps,
|
|
4780
|
+
IntroBanner: Rl.componentProps,
|
|
4781
|
+
DownloadFileBright: ql.componentProps
|
|
4333
4782
|
};
|
|
4334
4783
|
export {
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4784
|
+
Pl as $,
|
|
4785
|
+
yl as A,
|
|
4786
|
+
Dt as B,
|
|
4787
|
+
Vt as C,
|
|
4788
|
+
Qt as D,
|
|
4789
|
+
kr as E,
|
|
4790
|
+
Ut as F,
|
|
4791
|
+
_r as G,
|
|
4792
|
+
wl as H,
|
|
4793
|
+
Gt as I,
|
|
4794
|
+
vl as J,
|
|
4795
|
+
Fl as K,
|
|
4796
|
+
Nl as L,
|
|
4797
|
+
It as M,
|
|
4798
|
+
Cl as N,
|
|
4799
|
+
Ll as O,
|
|
4800
|
+
zt as P,
|
|
4801
|
+
hr as Q,
|
|
4802
|
+
Dl as R,
|
|
4803
|
+
Bt as S,
|
|
4804
|
+
Tl as T,
|
|
4805
|
+
Bl as U,
|
|
4806
|
+
oi as V,
|
|
4807
|
+
Wt as W,
|
|
4808
|
+
Sl as X,
|
|
4809
|
+
El as Y,
|
|
4810
|
+
Il as Z,
|
|
4811
|
+
Vl as _,
|
|
4812
|
+
Et as a,
|
|
4813
|
+
Ml as a0,
|
|
4814
|
+
Al as a1,
|
|
4815
|
+
Ol as a2,
|
|
4816
|
+
Rl as a3,
|
|
4817
|
+
ql as a4,
|
|
4818
|
+
Tt as a5,
|
|
4819
|
+
St as a6,
|
|
4820
|
+
Na as a7,
|
|
4821
|
+
Zt as a8,
|
|
4822
|
+
Ne as a9,
|
|
4823
|
+
wr as aa,
|
|
4824
|
+
yr as ab,
|
|
4825
|
+
Kt as ac,
|
|
4826
|
+
ei as ad,
|
|
4827
|
+
li as ae,
|
|
4828
|
+
il as af,
|
|
4829
|
+
ze as b,
|
|
4830
|
+
Pt as c,
|
|
4831
|
+
Xt as d,
|
|
4832
|
+
Jt as e,
|
|
4833
|
+
Yt as f,
|
|
4834
|
+
ri as g,
|
|
4835
|
+
ti as h,
|
|
4836
|
+
et as i,
|
|
4837
|
+
si as j,
|
|
4838
|
+
ni as k,
|
|
4839
|
+
ai as l,
|
|
4840
|
+
_l as m,
|
|
4841
|
+
ol as n,
|
|
4842
|
+
fr as o,
|
|
4843
|
+
cl as p,
|
|
4844
|
+
dl as q,
|
|
4845
|
+
pl as r,
|
|
4846
|
+
ml as s,
|
|
4847
|
+
ul as t,
|
|
4848
|
+
gl as u,
|
|
4849
|
+
xl as v,
|
|
4850
|
+
bl as w,
|
|
4851
|
+
fl as x,
|
|
4852
|
+
hl as y,
|
|
4853
|
+
kl as z
|
|
4399
4854
|
};
|