md-components-mdigial-azamat 0.0.45 → 0.0.46
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 +167 -33
- package/dist/AllComponentsInfo.js +95 -0
- package/dist/AnimatedSwiper/index.js +139 -10
- package/dist/AnimatedSwiper/info.js +11 -0
- package/dist/Banner/Banner.js +4 -3
- package/dist/Banner/info.js +11 -0
- package/dist/BannerAndText/index.js +2 -1
- package/dist/BannerAndText/info.js +11 -0
- package/dist/CardIconList/CardIconList.js +3 -2
- package/dist/CardIconList/info.js +11 -0
- package/dist/CardImageList/CardImageList.js +4 -3
- package/dist/CardImageList/info.js +11 -0
- package/dist/CardImageSecondary/CardImageSecondary.js +2 -1
- package/dist/CardImageSecondary/info.js +11 -0
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +2 -1
- package/dist/CardImageSecondaryList/info.js +11 -0
- package/dist/CardInfoTable/index.js +4 -3
- package/dist/CardInfoTable/info.js +11 -0
- package/dist/Cards/CardImage/CardImage.js +2 -1
- package/dist/Cards/CardImage/info.js +11 -0
- package/dist/Cards/ColoredCard/index.js +2 -1
- package/dist/Cards/ColoredCard/info.js +11 -0
- package/dist/Cards/ContentCard/ContentCard.js +36 -35
- package/dist/Cards/ContentCard/info.js +11 -0
- package/dist/Cards/FeaturesCard/index.js +3 -2
- package/dist/Cards/FeaturesCard/info.js +11 -0
- package/dist/Cards/WarningCard/WarningCard.js +7 -6
- package/dist/Cards/WarningCard/info.js +11 -0
- package/dist/ContentCardList/ContentCardList.js +23 -19
- package/dist/ContentCardList/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +3 -2
- package/dist/DownloadFile/components/DownloadFileBanner/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileBright/index.js +3 -2
- package/dist/DownloadFile/components/DownloadFileBright/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +4 -3
- package/dist/DownloadFile/components/DownloadFileFull/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +4 -3
- package/dist/DownloadFile/components/DownloadFileHalf/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +5 -4
- package/dist/DownloadFile/components/DownloadFileMini/info.js +11 -0
- package/dist/Faq/Faq.js +2 -1
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +2 -2
- package/dist/Faq/info.js +11 -0
- package/dist/Footer/Footer.js +96 -54
- package/dist/Footer/info.js +10 -0
- package/dist/Header/Header.js +60 -6
- package/dist/Header/components/HeaderCard/HeaderCard.js +2 -2
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +1 -1
- package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +52 -44
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +71 -9
- package/dist/Header/components/HeaderMobile/index.js +1 -1
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +157 -11
- package/dist/Header/components/HeaderSearch/index.js +2 -2
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +8 -7
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +11 -11
- package/dist/Header/components/SelectLanguage/SelectLanguage.js +1 -1
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +11 -10
- package/dist/Header/index.js +2 -2
- package/dist/Header/info.js +10 -0
- package/dist/HeroPossibilityBanner/index.js +2 -1
- package/dist/HeroPossibilityBanner/info.js +11 -0
- package/dist/HtmlContent/HtmlContent.js +2 -1
- package/dist/HtmlContent/info.js +10 -0
- package/dist/InfoBanner/index.js +3 -2
- package/dist/InfoBanner/info.js +11 -0
- package/dist/InfoBannerList/InfoBannerList.js +49 -7
- package/dist/InfoBannerList/index.js +2 -2
- package/dist/InfoBannerList/info.js +11 -0
- package/dist/InstructionList/InstructionList.js +31 -7
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +80 -46
- package/dist/InstructionList/components/InstructionCard/index.js +1 -1
- package/dist/InstructionList/index.js +1 -1
- package/dist/InstructionList/info.js +11 -0
- package/dist/IntroBanner/IntroBanner.js +3 -2
- package/dist/IntroBanner/info.js +11 -0
- package/dist/MainBanner/MainBanner.js +4 -3
- package/dist/MainBanner/info.js +11 -0
- package/dist/MultiCards/index.js +2 -1
- package/dist/MultiCards/info.js +11 -0
- package/dist/PageViewer/PageViewer.js +4 -43
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/Partners/Partners.js +2 -1
- package/dist/Partners/info.js +11 -0
- package/dist/PartnersColors/PartnersColors.js +2 -1
- package/dist/PartnersColors/info.js +11 -0
- package/dist/PreviewList/PreviewList.js +31 -6
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -45
- package/dist/PreviewList/components/PreviewCard/index.js +2 -2
- package/dist/PreviewList/index.js +1 -1
- package/dist/PreviewList/info.js +11 -0
- package/dist/PromoPoster/PromoPoster.js +45 -7
- package/dist/PromoPoster/info.js +11 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/Segments/Segments.js +2 -1
- package/dist/Segments/info.js +11 -0
- package/dist/Space/Space.js +2 -1
- package/dist/Space/info.js +11 -0
- package/dist/StandartTable/components/CardMarkedRow/index.js +88 -46
- package/dist/StandartTable/components/CardWarning/index.js +2 -2
- package/dist/StandartTable/index.js +76 -7
- package/dist/StandartTable/info.js +11 -0
- package/dist/Stepper/Stepper.js +4 -3
- package/dist/Stepper/info.js +11 -0
- package/dist/SwiperList/SwiperList.js +119 -10
- package/dist/SwiperList/index.js +1 -1
- package/dist/SwiperList/info.js +11 -0
- package/dist/TasksBanner/TasksBanner.js +132 -9
- package/dist/TasksBanner/index.js +2 -2
- package/dist/TasksBanner/info.js +11 -0
- package/dist/TasksBannerList/TasksBannerList.js +36 -5
- package/dist/TasksBannerList/index.js +2 -2
- package/dist/TasksBannerList/info.js +11 -0
- package/dist/Video/VideoFull/VideoFull.js +2 -1
- package/dist/Video/VideoFull/info.js +11 -0
- package/dist/Video/VideoList/VideoList.js +2 -1
- package/dist/Video/VideoList/info.js +11 -0
- package/dist/Video/VideoListMini/VideoListMini.js +2 -1
- package/dist/Video/VideoListMini/info.js +11 -0
- package/dist/VideoMainBanner/VideoMainBanner.js +3 -2
- package/dist/VideoMainBanner/info.js +11 -0
- package/dist/assets/TasksBanner.css +1 -0
- package/dist/assets/{index2.css → navigation.css} +1 -1
- package/dist/clientApi-642fea4b.js +25 -0
- package/dist/componentsMap-b3ef1658.js +75 -0
- package/dist/{const-637b0dca.js → const-53dff524.js} +3 -3
- package/dist/createBoolean-56064b0d.js +12 -0
- package/dist/{data.mock-483400cb.js → data.mock-2412b65a.js} +94 -96
- package/dist/{index-6af94f99.js → index-10605794.js} +1 -1
- package/dist/index-1a32da94.js +4 -0
- package/dist/{index-815f0132.js → index-b4c61de3.js} +9 -8
- package/dist/index.module-c8833286.js +83 -0
- package/dist/{languages-list-8419e560.js → languages-list-87ab3324.js} +2 -2
- package/dist/main.js +88 -81
- package/dist/mousewheel-2cf27f39.js +153 -0
- package/dist/navigation-48c90d3b.js +183 -0
- package/dist/routes-76228734.js +109 -0
- package/dist/{swiper-react-0815edaf.js → swiper-react-bfbb44d6.js} +507 -654
- package/package.json +1 -1
- package/dist/componentsMap-0e7046ee.js +0 -67
- package/dist/index-3a534581.js +0 -261
- package/dist/index-aa718078.js +0 -1229
- package/dist/routes-382632ac.js +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as p, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { FieldTypes as i } from "./Types/FiledTypes.js";
|
|
3
3
|
import { I as t } from "./index-2265d593.js";
|
|
4
4
|
import { c as x } from "./cn-6a4bf187.js";
|
|
@@ -20,8 +20,8 @@ const r = {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}, c = [m, "size", "className"], f = ({ data: e, size: l, className: n }) => {
|
|
23
|
-
const
|
|
24
|
-
return /* @__PURE__ */
|
|
23
|
+
const o = l === r.SMALL ? 32 : 40;
|
|
24
|
+
return /* @__PURE__ */ p(
|
|
25
25
|
"div",
|
|
26
26
|
{
|
|
27
27
|
className: x(
|
|
@@ -31,17 +31,17 @@ const r = {
|
|
|
31
31
|
n
|
|
32
32
|
),
|
|
33
33
|
children: [
|
|
34
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ p("div", { className: "flex flex-col items-start gap-[32px]", children: [
|
|
35
35
|
(e == null ? void 0 : e.image) && /* @__PURE__ */ s(
|
|
36
36
|
t,
|
|
37
37
|
{
|
|
38
38
|
src: e == null ? void 0 : e.image,
|
|
39
39
|
alt: e == null ? void 0 : e.title,
|
|
40
|
-
width:
|
|
41
|
-
height:
|
|
40
|
+
width: o,
|
|
41
|
+
height: o
|
|
42
42
|
}
|
|
43
43
|
),
|
|
44
|
-
/* @__PURE__ */
|
|
44
|
+
/* @__PURE__ */ p("div", { className: "flex items-start flex-col gap-[12px]", children: [
|
|
45
45
|
/* @__PURE__ */ s("div", { className: "text-[24px] leading-[32px] font-bold", children: e == null ? void 0 : e.title }),
|
|
46
46
|
/* @__PURE__ */ s("div", { className: "text-[14px] leading-[20px] text-graySoft", children: e == null ? void 0 : e.description })
|
|
47
47
|
] })
|
|
@@ -62,5 +62,6 @@ const r = {
|
|
|
62
62
|
f.propsToEdit = c;
|
|
63
63
|
export {
|
|
64
64
|
f as F,
|
|
65
|
-
r as S
|
|
65
|
+
r as S,
|
|
66
|
+
c as p
|
|
66
67
|
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { L as S } from "./languages-list-87ab3324.js";
|
|
2
|
+
import { c as U } from "./clientApi-642fea4b.js";
|
|
3
|
+
import { useRef as c, useEffect as P, useMemo as q } from "react";
|
|
4
|
+
const j = {
|
|
5
|
+
getHeaderSections(i, n) {
|
|
6
|
+
const u = n ? `?page_type=${n}` : "";
|
|
7
|
+
return U.get(`v2/header/${u}`, {
|
|
8
|
+
headers: {
|
|
9
|
+
"Accept-Language": i || S.RU
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
searchHeader(i, n) {
|
|
14
|
+
return U.get(`v2/search/?search=${encodeURIComponent(i)}`, {
|
|
15
|
+
headers: {
|
|
16
|
+
"Accept-Language": n || S.RU
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
function k(i, n, u, l) {
|
|
22
|
+
var W = this, a = c(null), o = c(0), A = c(0), t = c(null), f = c([]), s = c(), m = c(), F = c(i), p = c(!0);
|
|
23
|
+
F.current = i;
|
|
24
|
+
var x = typeof window < "u", g = !n && n !== 0 && x;
|
|
25
|
+
if (typeof i != "function")
|
|
26
|
+
throw new TypeError("Expected a function");
|
|
27
|
+
n = +n || 0;
|
|
28
|
+
var y = !!(u = u || {}).leading, H = !("trailing" in u) || !!u.trailing, d = "maxWait" in u, L = "debounceOnServer" in u && !!u.debounceOnServer, R = d ? Math.max(+u.maxWait || 0, n) : null;
|
|
29
|
+
P(function() {
|
|
30
|
+
return p.current = !0, function() {
|
|
31
|
+
p.current = !1;
|
|
32
|
+
};
|
|
33
|
+
}, []);
|
|
34
|
+
var $ = q(function() {
|
|
35
|
+
var T = function(r) {
|
|
36
|
+
var e = f.current, w = s.current;
|
|
37
|
+
return f.current = s.current = null, o.current = r, A.current = A.current || r, m.current = F.current.apply(w, e);
|
|
38
|
+
}, v = function(r, e) {
|
|
39
|
+
g && cancelAnimationFrame(t.current), t.current = g ? requestAnimationFrame(r) : setTimeout(r, e);
|
|
40
|
+
}, E = function(r) {
|
|
41
|
+
if (!p.current)
|
|
42
|
+
return !1;
|
|
43
|
+
var e = r - a.current;
|
|
44
|
+
return !a.current || e >= n || e < 0 || d && r - o.current >= R;
|
|
45
|
+
}, M = function(r) {
|
|
46
|
+
return t.current = null, H && f.current ? T(r) : (f.current = s.current = null, m.current);
|
|
47
|
+
}, D = function r() {
|
|
48
|
+
var e = Date.now();
|
|
49
|
+
if (y && A.current === o.current && b(), E(e))
|
|
50
|
+
return M(e);
|
|
51
|
+
if (p.current) {
|
|
52
|
+
var w = n - (e - a.current), O = d ? Math.min(w, R - (e - o.current)) : w;
|
|
53
|
+
v(r, O);
|
|
54
|
+
}
|
|
55
|
+
}, b = function() {
|
|
56
|
+
l && l({});
|
|
57
|
+
}, h = function() {
|
|
58
|
+
if (x || L) {
|
|
59
|
+
var r = Date.now(), e = E(r);
|
|
60
|
+
if (f.current = [].slice.call(arguments), s.current = W, a.current = r, e) {
|
|
61
|
+
if (!t.current && p.current)
|
|
62
|
+
return o.current = a.current, v(D, n), y ? T(a.current) : m.current;
|
|
63
|
+
if (d)
|
|
64
|
+
return v(D, n), T(a.current);
|
|
65
|
+
}
|
|
66
|
+
return t.current || v(D, n), m.current;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
return h.cancel = function() {
|
|
70
|
+
var r = t.current;
|
|
71
|
+
r && (g ? cancelAnimationFrame(t.current) : clearTimeout(t.current)), o.current = 0, f.current = a.current = s.current = t.current = null, r && l && l({});
|
|
72
|
+
}, h.isPending = function() {
|
|
73
|
+
return !!t.current;
|
|
74
|
+
}, h.flush = function() {
|
|
75
|
+
return t.current ? M(Date.now()) : m.current;
|
|
76
|
+
}, h;
|
|
77
|
+
}, [y, d, n, R, H, g, x, L, l]);
|
|
78
|
+
return $;
|
|
79
|
+
}
|
|
80
|
+
export {
|
|
81
|
+
j as H,
|
|
82
|
+
k as c
|
|
83
|
+
};
|
package/dist/main.js
CHANGED
|
@@ -1,89 +1,96 @@
|
|
|
1
1
|
import { ConfigProvider as e } from "./ConfigProvider/index.js";
|
|
2
|
-
import { Banner as
|
|
3
|
-
import { BannerAndText as
|
|
4
|
-
import {
|
|
5
|
-
import { Footer as
|
|
6
|
-
import { Stepper as
|
|
7
|
-
import { Segments as
|
|
8
|
-
import { VideoFull as
|
|
9
|
-
import { VideoList as
|
|
10
|
-
import { VideoListMini as
|
|
11
|
-
import { ContentCardList as
|
|
12
|
-
import { CardIconList as
|
|
13
|
-
import { MultiCards as
|
|
14
|
-
import { Partners as
|
|
15
|
-
import { CardImageList as
|
|
16
|
-
import { MainBanner as
|
|
17
|
-
import { Faq as
|
|
18
|
-
import { HtmlContent as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
2
|
+
import { Banner as p } from "./Banner/Banner.js";
|
|
3
|
+
import { BannerAndText as f } from "./BannerAndText/index.js";
|
|
4
|
+
import { Header as x } from "./Header/Header.js";
|
|
5
|
+
import { Footer as i } from "./Footer/Footer.js";
|
|
6
|
+
import { Stepper as s } from "./Stepper/Stepper.js";
|
|
7
|
+
import { Segments as C } from "./Segments/Segments.js";
|
|
8
|
+
import { VideoFull as P } from "./Video/VideoFull/VideoFull.js";
|
|
9
|
+
import { VideoList as I } from "./Video/VideoList/VideoList.js";
|
|
10
|
+
import { VideoListMini as w } from "./Video/VideoListMini/VideoListMini.js";
|
|
11
|
+
import { ContentCardList as L } from "./ContentCardList/ContentCardList.js";
|
|
12
|
+
import { CardIconList as M } from "./CardIconList/CardIconList.js";
|
|
13
|
+
import { MultiCards as S } from "./MultiCards/index.js";
|
|
14
|
+
import { Partners as A } from "./Partners/Partners.js";
|
|
15
|
+
import { CardImageList as b } from "./CardImageList/CardImageList.js";
|
|
16
|
+
import { MainBanner as y } from "./MainBanner/MainBanner.js";
|
|
17
|
+
import { Faq as k } from "./Faq/Faq.js";
|
|
18
|
+
import { HtmlContent as E } from "./HtmlContent/HtmlContent.js";
|
|
19
|
+
import { InstructionList as Z } from "./InstructionList/InstructionList.js";
|
|
20
|
+
import { HeroPossibilityBanner as j } from "./HeroPossibilityBanner/index.js";
|
|
21
|
+
import { PartnersColors as G } from "./PartnersColors/PartnersColors.js";
|
|
22
|
+
import { PreviewList as K } from "./PreviewList/PreviewList.js";
|
|
23
|
+
import { CardImage as O } from "./Cards/CardImage/CardImage.js";
|
|
24
|
+
import { ContentCard as R } from "./Cards/ContentCard/ContentCard.js";
|
|
25
|
+
import { WarningCard as X } from "./Cards/WarningCard/WarningCard.js";
|
|
26
|
+
import { ColoredCard as _ } from "./Cards/ColoredCard/index.js";
|
|
27
|
+
import { F as rr, S as or } from "./index-b4c61de3.js";
|
|
28
|
+
import { DownloadFileBanner as tr } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
29
|
+
import { DownloadFileFull as mr } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
30
|
+
import { DownloadFileHalf as nr } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
31
|
+
import { DownloadFileMini as ar } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
30
32
|
import { Collapse as lr } from "./Faq/components/Collapse/Collapse.js";
|
|
31
|
-
import { FeedbackForm as
|
|
32
|
-
import { PlusMinusIcon as
|
|
33
|
+
import { FeedbackForm as dr } from "./Faq/components/FeedbackForm/FeedbackForm.js";
|
|
34
|
+
import { PlusMinusIcon as Fr } from "./Faq/components/PlusMinusIcon/PlusMinusIcon.js";
|
|
35
|
+
import { InstructionCard as ur } from "./InstructionList/components/InstructionCard/InstructionCard.js";
|
|
33
36
|
import { InstructionModal as cr } from "./InstructionList/components/InstructionModal/InstructionModal.js";
|
|
34
|
-
import { PartnerCard as
|
|
35
|
-
import { PartnerTab as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
37
|
+
import { PartnerCard as Br } from "./PartnersColors/components/PartnerCard/PartnerCard.js";
|
|
38
|
+
import { PartnerTab as gr } from "./PartnersColors/components/PartnerTab/PartnerTab.js";
|
|
39
|
+
import { PreviewCard as Dr } from "./PreviewList/components/PreviewCard/PreviewCard.js";
|
|
40
|
+
import { VideoPlayer as Vr } from "./Video/components/VideoPlayer/VideoPlayer.js";
|
|
41
|
+
import { PageViewer as Hr } from "./PageViewer/PageViewer.js";
|
|
42
|
+
import { FieldTypes as vr } from "./Types/FiledTypes.js";
|
|
43
|
+
import { B as Tr } from "./const-53dff524.js";
|
|
44
|
+
import { Space as qr } from "./Space/Space.js";
|
|
45
|
+
import { AllComponents as Wr, AllComponentsData as Zr } from "./AllComponents.js";
|
|
46
|
+
import { AllComponentsInfo as jr } from "./AllComponentsInfo.js";
|
|
41
47
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
Wr as AllComponents,
|
|
49
|
+
Zr as AllComponentsData,
|
|
50
|
+
jr as AllComponentsInfo,
|
|
51
|
+
p as Banner,
|
|
52
|
+
f as BannerAndText,
|
|
53
|
+
Tr as ButtonProps,
|
|
54
|
+
M as CardIconList,
|
|
55
|
+
O as CardImage,
|
|
56
|
+
b as CardImageList,
|
|
50
57
|
lr as Collapse,
|
|
51
|
-
|
|
58
|
+
_ as ColoredCard,
|
|
52
59
|
e as ConfigProvider,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
60
|
+
R as ContentCard,
|
|
61
|
+
L as ContentCardList,
|
|
62
|
+
tr as DownloadFileBanner,
|
|
63
|
+
mr as DownloadFileFull,
|
|
64
|
+
nr as DownloadFileHalf,
|
|
65
|
+
ar as DownloadFileMini,
|
|
66
|
+
k as Faq,
|
|
67
|
+
rr as FeaturesCard,
|
|
68
|
+
dr as FeedbackForm,
|
|
69
|
+
vr as FieldTypes,
|
|
70
|
+
i as Footer,
|
|
71
|
+
x as Header,
|
|
72
|
+
j as HeroPossibilityBanner,
|
|
73
|
+
E as HtmlContent,
|
|
74
|
+
ur as InstructionCard,
|
|
75
|
+
Z as InstructionList,
|
|
69
76
|
cr as InstructionModal,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
77
|
+
y as MainBanner,
|
|
78
|
+
S as MultiCards,
|
|
79
|
+
Hr as PageViewer,
|
|
80
|
+
Br as PartnerCard,
|
|
81
|
+
gr as PartnerTab,
|
|
82
|
+
A as Partners,
|
|
83
|
+
G as PartnersColors,
|
|
84
|
+
Fr as PlusMinusIcon,
|
|
85
|
+
Dr as PreviewCard,
|
|
86
|
+
K as PreviewList,
|
|
87
|
+
or as SIZE,
|
|
88
|
+
C as Segments,
|
|
89
|
+
qr as Space,
|
|
90
|
+
s as Stepper,
|
|
91
|
+
P as VideoFull,
|
|
92
|
+
I as VideoList,
|
|
93
|
+
w as VideoListMini,
|
|
94
|
+
Vr as VideoPlayer,
|
|
95
|
+
X as WarningCard
|
|
89
96
|
};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { g as N, n as D, c as g } from "./swiper-react-bfbb44d6.js";
|
|
2
|
+
function k(S) {
|
|
3
|
+
let {
|
|
4
|
+
swiper: e,
|
|
5
|
+
extendParams: Y,
|
|
6
|
+
on: I,
|
|
7
|
+
emit: T
|
|
8
|
+
} = S;
|
|
9
|
+
const L = N();
|
|
10
|
+
Y({
|
|
11
|
+
mousewheel: {
|
|
12
|
+
enabled: !1,
|
|
13
|
+
releaseOnEdges: !1,
|
|
14
|
+
invert: !1,
|
|
15
|
+
forceToAxis: !1,
|
|
16
|
+
sensitivity: 1,
|
|
17
|
+
eventsTarget: "container",
|
|
18
|
+
thresholdDelta: null,
|
|
19
|
+
thresholdTime: null,
|
|
20
|
+
noMousewheelClass: "swiper-no-mousewheel"
|
|
21
|
+
}
|
|
22
|
+
}), e.mousewheel = {
|
|
23
|
+
enabled: !1
|
|
24
|
+
};
|
|
25
|
+
let h, w = g(), u;
|
|
26
|
+
const i = [];
|
|
27
|
+
function _(t) {
|
|
28
|
+
let o = 0, r = 0, a = 0, l = 0;
|
|
29
|
+
return "detail" in t && (r = t.detail), "wheelDelta" in t && (r = -t.wheelDelta / 120), "wheelDeltaY" in t && (r = -t.wheelDeltaY / 120), "wheelDeltaX" in t && (o = -t.wheelDeltaX / 120), "axis" in t && t.axis === t.HORIZONTAL_AXIS && (o = r, r = 0), a = o * 10, l = r * 10, "deltaY" in t && (l = t.deltaY), "deltaX" in t && (a = t.deltaX), t.shiftKey && !a && (a = l, l = 0), (a || l) && t.deltaMode && (t.deltaMode === 1 ? (a *= 40, l *= 40) : (a *= 800, l *= 800)), a && !o && (o = a < 1 ? -1 : 1), l && !r && (r = l < 1 ? -1 : 1), {
|
|
30
|
+
spinX: o,
|
|
31
|
+
spinY: r,
|
|
32
|
+
pixelX: a,
|
|
33
|
+
pixelY: l
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function G() {
|
|
37
|
+
e.enabled && (e.mouseEntered = !0);
|
|
38
|
+
}
|
|
39
|
+
function O() {
|
|
40
|
+
e.enabled && (e.mouseEntered = !1);
|
|
41
|
+
}
|
|
42
|
+
function y(t) {
|
|
43
|
+
return e.params.mousewheel.thresholdDelta && t.delta < e.params.mousewheel.thresholdDelta || e.params.mousewheel.thresholdTime && g() - w < e.params.mousewheel.thresholdTime ? !1 : t.delta >= 6 && g() - w < 60 ? !0 : (t.direction < 0 ? (!e.isEnd || e.params.loop) && !e.animating && (e.slideNext(), T("scroll", t.raw)) : (!e.isBeginning || e.params.loop) && !e.animating && (e.slidePrev(), T("scroll", t.raw)), w = new L.Date().getTime(), !1);
|
|
44
|
+
}
|
|
45
|
+
function A(t) {
|
|
46
|
+
const s = e.params.mousewheel;
|
|
47
|
+
if (t.direction < 0) {
|
|
48
|
+
if (e.isEnd && !e.params.loop && s.releaseOnEdges)
|
|
49
|
+
return !0;
|
|
50
|
+
} else if (e.isBeginning && !e.params.loop && s.releaseOnEdges)
|
|
51
|
+
return !0;
|
|
52
|
+
return !1;
|
|
53
|
+
}
|
|
54
|
+
function E(t) {
|
|
55
|
+
let s = t, b = !0;
|
|
56
|
+
if (!e.enabled || t.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))
|
|
57
|
+
return;
|
|
58
|
+
const f = e.params.mousewheel;
|
|
59
|
+
e.params.cssMode && s.preventDefault();
|
|
60
|
+
let o = e.el;
|
|
61
|
+
e.params.mousewheel.eventsTarget !== "container" && (o = document.querySelector(e.params.mousewheel.eventsTarget));
|
|
62
|
+
const r = o && o.contains(s.target);
|
|
63
|
+
if (!e.mouseEntered && !r && !f.releaseOnEdges)
|
|
64
|
+
return !0;
|
|
65
|
+
s.originalEvent && (s = s.originalEvent);
|
|
66
|
+
let a = 0;
|
|
67
|
+
const l = e.rtlTranslate ? -1 : 1, d = _(s);
|
|
68
|
+
if (f.forceToAxis)
|
|
69
|
+
if (e.isHorizontal())
|
|
70
|
+
if (Math.abs(d.pixelX) > Math.abs(d.pixelY))
|
|
71
|
+
a = -d.pixelX * l;
|
|
72
|
+
else
|
|
73
|
+
return !0;
|
|
74
|
+
else if (Math.abs(d.pixelY) > Math.abs(d.pixelX))
|
|
75
|
+
a = -d.pixelY;
|
|
76
|
+
else
|
|
77
|
+
return !0;
|
|
78
|
+
else
|
|
79
|
+
a = Math.abs(d.pixelX) > Math.abs(d.pixelY) ? -d.pixelX * l : -d.pixelY;
|
|
80
|
+
if (a === 0)
|
|
81
|
+
return !0;
|
|
82
|
+
f.invert && (a = -a);
|
|
83
|
+
let c = e.getTranslate() + a * f.sensitivity;
|
|
84
|
+
if (c >= e.minTranslate() && (c = e.minTranslate()), c <= e.maxTranslate() && (c = e.maxTranslate()), b = e.params.loop ? !0 : !(c === e.minTranslate() || c === e.maxTranslate()), b && e.params.nested && s.stopPropagation(), !e.params.freeMode || !e.params.freeMode.enabled) {
|
|
85
|
+
const n = {
|
|
86
|
+
time: g(),
|
|
87
|
+
delta: Math.abs(a),
|
|
88
|
+
direction: Math.sign(a),
|
|
89
|
+
raw: t
|
|
90
|
+
};
|
|
91
|
+
i.length >= 2 && i.shift();
|
|
92
|
+
const m = i.length ? i[i.length - 1] : void 0;
|
|
93
|
+
if (i.push(n), m ? (n.direction !== m.direction || n.delta > m.delta || n.time > m.time + 150) && y(n) : y(n), A(n))
|
|
94
|
+
return !0;
|
|
95
|
+
} else {
|
|
96
|
+
const n = {
|
|
97
|
+
time: g(),
|
|
98
|
+
delta: Math.abs(a),
|
|
99
|
+
direction: Math.sign(a)
|
|
100
|
+
}, m = u && n.time < u.time + 500 && n.delta <= u.delta && n.direction === u.direction;
|
|
101
|
+
if (!m) {
|
|
102
|
+
u = void 0;
|
|
103
|
+
let p = e.getTranslate() + a * f.sensitivity;
|
|
104
|
+
const C = e.isBeginning, B = e.isEnd;
|
|
105
|
+
if (p >= e.minTranslate() && (p = e.minTranslate()), p <= e.maxTranslate() && (p = e.maxTranslate()), e.setTransition(0), e.setTranslate(p), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses(), (!C && e.isBeginning || !B && e.isEnd) && e.updateSlidesClasses(), e.params.loop && e.loopFix({
|
|
106
|
+
direction: n.direction < 0 ? "next" : "prev",
|
|
107
|
+
byMousewheel: !0
|
|
108
|
+
}), e.params.freeMode.sticky) {
|
|
109
|
+
clearTimeout(h), h = void 0, i.length >= 15 && i.shift();
|
|
110
|
+
const M = i.length ? i[i.length - 1] : void 0, P = i[0];
|
|
111
|
+
if (i.push(n), M && (n.delta > M.delta || n.direction !== M.direction))
|
|
112
|
+
i.splice(0);
|
|
113
|
+
else if (i.length >= 15 && n.time - P.time < 500 && P.delta - n.delta >= 1 && n.delta <= 6) {
|
|
114
|
+
const X = a > 0 ? 0.8 : 0.2;
|
|
115
|
+
u = n, i.splice(0), h = D(() => {
|
|
116
|
+
e.destroyed || !e.params || e.slideToClosest(e.params.speed, !0, void 0, X);
|
|
117
|
+
}, 0);
|
|
118
|
+
}
|
|
119
|
+
h || (h = D(() => {
|
|
120
|
+
if (e.destroyed || !e.params)
|
|
121
|
+
return;
|
|
122
|
+
const X = 0.5;
|
|
123
|
+
u = n, i.splice(0), e.slideToClosest(e.params.speed, !0, void 0, X);
|
|
124
|
+
}, 500));
|
|
125
|
+
}
|
|
126
|
+
if (m || T("scroll", s), e.params.autoplay && e.params.autoplay.disableOnInteraction && e.autoplay.stop(), f.releaseOnEdges && (p === e.minTranslate() || p === e.maxTranslate()))
|
|
127
|
+
return !0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return s.preventDefault ? s.preventDefault() : s.returnValue = !1, !1;
|
|
131
|
+
}
|
|
132
|
+
function H(t) {
|
|
133
|
+
let s = e.el;
|
|
134
|
+
e.params.mousewheel.eventsTarget !== "container" && (s = document.querySelector(e.params.mousewheel.eventsTarget)), s[t]("mouseenter", G), s[t]("mouseleave", O), s[t]("wheel", E);
|
|
135
|
+
}
|
|
136
|
+
function v() {
|
|
137
|
+
return e.params.cssMode ? (e.wrapperEl.removeEventListener("wheel", E), !0) : e.mousewheel.enabled ? !1 : (H("addEventListener"), e.mousewheel.enabled = !0, !0);
|
|
138
|
+
}
|
|
139
|
+
function x() {
|
|
140
|
+
return e.params.cssMode ? (e.wrapperEl.addEventListener(event, E), !0) : e.mousewheel.enabled ? (H("removeEventListener"), e.mousewheel.enabled = !1, !0) : !1;
|
|
141
|
+
}
|
|
142
|
+
I("init", () => {
|
|
143
|
+
!e.params.mousewheel.enabled && e.params.cssMode && x(), e.params.mousewheel.enabled && v();
|
|
144
|
+
}), I("destroy", () => {
|
|
145
|
+
e.params.cssMode && v(), e.mousewheel.enabled && x();
|
|
146
|
+
}), Object.assign(e.mousewheel, {
|
|
147
|
+
enable: v,
|
|
148
|
+
disable: x
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
export {
|
|
152
|
+
k as M
|
|
153
|
+
};
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { d as C } from "./swiper-react-bfbb44d6.js";
|
|
2
|
+
import { jsx as E } from "react/jsx-runtime";
|
|
3
|
+
import './assets/navigation.css';function H(y) {
|
|
4
|
+
let {
|
|
5
|
+
swiper: e,
|
|
6
|
+
extendParams: f,
|
|
7
|
+
on: s,
|
|
8
|
+
emit: r,
|
|
9
|
+
params: u
|
|
10
|
+
} = y;
|
|
11
|
+
e.autoplay = {
|
|
12
|
+
running: !1,
|
|
13
|
+
paused: !1,
|
|
14
|
+
timeLeft: 0
|
|
15
|
+
}, f({
|
|
16
|
+
autoplay: {
|
|
17
|
+
enabled: !1,
|
|
18
|
+
delay: 3e3,
|
|
19
|
+
waitForTransition: !0,
|
|
20
|
+
disableOnInteraction: !1,
|
|
21
|
+
stopOnLastSlide: !1,
|
|
22
|
+
reverseDirection: !1,
|
|
23
|
+
pauseOnMouseEnter: !1
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
let m, L, b = u && u.autoplay ? u.autoplay.delay : 3e3, h = u && u.autoplay ? u.autoplay.delay : 3e3, n, c = (/* @__PURE__ */ new Date()).getTime(), D, w, p, O, S, o, M;
|
|
27
|
+
function x(t) {
|
|
28
|
+
!e || e.destroyed || !e.wrapperEl || t.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", x), !(M || t.detail && t.detail.bySwiperTouchMove) && l());
|
|
29
|
+
}
|
|
30
|
+
const A = () => {
|
|
31
|
+
if (e.destroyed || !e.autoplay.running)
|
|
32
|
+
return;
|
|
33
|
+
e.autoplay.paused ? D = !0 : D && (h = n, D = !1);
|
|
34
|
+
const t = e.autoplay.paused ? n : c + h - (/* @__PURE__ */ new Date()).getTime();
|
|
35
|
+
e.autoplay.timeLeft = t, r("autoplayTimeLeft", t, t / b), L = requestAnimationFrame(() => {
|
|
36
|
+
A();
|
|
37
|
+
});
|
|
38
|
+
}, N = () => {
|
|
39
|
+
let t;
|
|
40
|
+
return e.virtual && e.params.virtual.enabled ? t = e.slides.find((a) => a.classList.contains("swiper-slide-active")) : t = e.slides[e.activeIndex], t ? parseInt(t.getAttribute("data-swiper-autoplay"), 10) : void 0;
|
|
41
|
+
}, T = (t) => {
|
|
42
|
+
if (e.destroyed || !e.autoplay.running)
|
|
43
|
+
return;
|
|
44
|
+
cancelAnimationFrame(L), A();
|
|
45
|
+
let i = typeof t > "u" ? e.params.autoplay.delay : t;
|
|
46
|
+
b = e.params.autoplay.delay, h = e.params.autoplay.delay;
|
|
47
|
+
const a = N();
|
|
48
|
+
!Number.isNaN(a) && a > 0 && typeof t > "u" && (i = a, b = a, h = a), n = i;
|
|
49
|
+
const v = e.params.speed, B = () => {
|
|
50
|
+
!e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(v, !0, !0), r("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, v, !0, !0), r("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(v, !0, !0), r("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, v, !0, !0), r("autoplay")), e.params.cssMode && (c = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
|
|
51
|
+
T();
|
|
52
|
+
})));
|
|
53
|
+
};
|
|
54
|
+
return i > 0 ? (clearTimeout(m), m = setTimeout(() => {
|
|
55
|
+
B();
|
|
56
|
+
}, i)) : requestAnimationFrame(() => {
|
|
57
|
+
B();
|
|
58
|
+
}), i;
|
|
59
|
+
}, F = () => {
|
|
60
|
+
c = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, T(), r("autoplayStart");
|
|
61
|
+
}, g = () => {
|
|
62
|
+
e.autoplay.running = !1, clearTimeout(m), cancelAnimationFrame(L), r("autoplayStop");
|
|
63
|
+
}, d = (t, i) => {
|
|
64
|
+
if (e.destroyed || !e.autoplay.running)
|
|
65
|
+
return;
|
|
66
|
+
clearTimeout(m), t || (o = !0);
|
|
67
|
+
const a = () => {
|
|
68
|
+
r("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", x) : l();
|
|
69
|
+
};
|
|
70
|
+
if (e.autoplay.paused = !0, i) {
|
|
71
|
+
S && (n = e.params.autoplay.delay), S = !1, a();
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
n = (n || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - c), !(e.isEnd && n < 0 && !e.params.loop) && (n < 0 && (n = 0), a());
|
|
75
|
+
}, l = () => {
|
|
76
|
+
e.isEnd && n < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (c = (/* @__PURE__ */ new Date()).getTime(), o ? (o = !1, T(n)) : T(), e.autoplay.paused = !1, r("autoplayResume"));
|
|
77
|
+
}, I = () => {
|
|
78
|
+
if (e.destroyed || !e.autoplay.running)
|
|
79
|
+
return;
|
|
80
|
+
const t = C();
|
|
81
|
+
t.visibilityState === "hidden" && (o = !0, d(!0)), t.visibilityState === "visible" && l();
|
|
82
|
+
}, P = (t) => {
|
|
83
|
+
t.pointerType === "mouse" && (o = !0, M = !0, !(e.animating || e.autoplay.paused) && d(!0));
|
|
84
|
+
}, k = (t) => {
|
|
85
|
+
t.pointerType === "mouse" && (M = !1, e.autoplay.paused && l());
|
|
86
|
+
}, j = () => {
|
|
87
|
+
e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", P), e.el.addEventListener("pointerleave", k));
|
|
88
|
+
}, R = () => {
|
|
89
|
+
e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", P), e.el.removeEventListener("pointerleave", k));
|
|
90
|
+
}, q = () => {
|
|
91
|
+
C().addEventListener("visibilitychange", I);
|
|
92
|
+
}, _ = () => {
|
|
93
|
+
C().removeEventListener("visibilitychange", I);
|
|
94
|
+
};
|
|
95
|
+
s("init", () => {
|
|
96
|
+
e.params.autoplay.enabled && (j(), q(), F());
|
|
97
|
+
}), s("destroy", () => {
|
|
98
|
+
R(), _(), e.autoplay.running && g();
|
|
99
|
+
}), s("_freeModeStaticRelease", () => {
|
|
100
|
+
(p || o) && l();
|
|
101
|
+
}), s("_freeModeNoMomentumRelease", () => {
|
|
102
|
+
e.params.autoplay.disableOnInteraction ? g() : d(!0, !0);
|
|
103
|
+
}), s("beforeTransitionStart", (t, i, a) => {
|
|
104
|
+
e.destroyed || !e.autoplay.running || (a || !e.params.autoplay.disableOnInteraction ? d(!0, !0) : g());
|
|
105
|
+
}), s("sliderFirstMove", () => {
|
|
106
|
+
if (!(e.destroyed || !e.autoplay.running)) {
|
|
107
|
+
if (e.params.autoplay.disableOnInteraction) {
|
|
108
|
+
g();
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
w = !0, p = !1, o = !1, O = setTimeout(() => {
|
|
112
|
+
o = !0, p = !0, d(!0);
|
|
113
|
+
}, 200);
|
|
114
|
+
}
|
|
115
|
+
}), s("touchEnd", () => {
|
|
116
|
+
if (!(e.destroyed || !e.autoplay.running || !w)) {
|
|
117
|
+
if (clearTimeout(O), clearTimeout(m), e.params.autoplay.disableOnInteraction) {
|
|
118
|
+
p = !1, w = !1;
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
p && e.params.cssMode && l(), p = !1, w = !1;
|
|
122
|
+
}
|
|
123
|
+
}), s("slideChange", () => {
|
|
124
|
+
e.destroyed || !e.autoplay.running || (S = !0);
|
|
125
|
+
}), Object.assign(e.autoplay, {
|
|
126
|
+
start: F,
|
|
127
|
+
stop: g,
|
|
128
|
+
pause: d,
|
|
129
|
+
resume: l
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
const J = ({
|
|
133
|
+
color: y = "#40474F",
|
|
134
|
+
size: e = 24,
|
|
135
|
+
...f
|
|
136
|
+
}) => /* @__PURE__ */ E(
|
|
137
|
+
"svg",
|
|
138
|
+
{
|
|
139
|
+
width: e,
|
|
140
|
+
height: e,
|
|
141
|
+
viewBox: "0 0 24 24",
|
|
142
|
+
fill: "none",
|
|
143
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
144
|
+
...f,
|
|
145
|
+
children: /* @__PURE__ */ E(
|
|
146
|
+
"path",
|
|
147
|
+
{
|
|
148
|
+
d: "M17 22L8.41418 13.4142C7.74752 12.7476 7.41418 12.4142 7.41418 12C7.41418 11.5858 7.74752 11.2525 8.41418 10.5858L17 2",
|
|
149
|
+
stroke: y,
|
|
150
|
+
"stroke-width": "2",
|
|
151
|
+
"stroke-linejoin": "round"
|
|
152
|
+
}
|
|
153
|
+
)
|
|
154
|
+
}
|
|
155
|
+
), K = ({
|
|
156
|
+
color: y = "#40474F",
|
|
157
|
+
size: e = 24,
|
|
158
|
+
...f
|
|
159
|
+
}) => /* @__PURE__ */ E(
|
|
160
|
+
"svg",
|
|
161
|
+
{
|
|
162
|
+
width: e,
|
|
163
|
+
height: e,
|
|
164
|
+
viewBox: "0 0 24 24",
|
|
165
|
+
fill: "none",
|
|
166
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
167
|
+
...f,
|
|
168
|
+
children: /* @__PURE__ */ E(
|
|
169
|
+
"path",
|
|
170
|
+
{
|
|
171
|
+
d: "M7 22L15.5858 13.4142C16.2524 12.7476 16.5858 12.4142 16.5858 12C16.5858 11.5858 16.2525 11.2525 15.5858 10.5858L7 2",
|
|
172
|
+
stroke: y,
|
|
173
|
+
"stroke-width": "2",
|
|
174
|
+
"stroke-linejoin": "round"
|
|
175
|
+
}
|
|
176
|
+
)
|
|
177
|
+
}
|
|
178
|
+
);
|
|
179
|
+
export {
|
|
180
|
+
H as A,
|
|
181
|
+
J as C,
|
|
182
|
+
K as a
|
|
183
|
+
};
|