@platform-x/hcltechx-mfe-wrapper 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ArticleVodListComponent-labwXONw.mjs +39 -0
- package/ChallengeDetailComponent-B0mhcUHW.mjs +118 -0
- package/CommonContentComponent-XIY0Eqyp.mjs +86 -0
- package/{DailyMotion-Pq0OS_nv.mjs → DailyMotion-Bh6b_1ls.mjs} +2 -2
- package/EngagementHomeComponent-DUWRp7Rk.mjs +99 -0
- package/EventDetailComponent-DZHIR5sb.mjs +103 -0
- package/EventList-CrFIwonY.mjs +32151 -0
- package/{EventListComponent-SpgarpPb.mjs → EventListComponent-D8VOmErB.mjs} +42 -34
- package/{Facebook-DVoDyq2n.mjs → Facebook-r_ieGEWi.mjs} +2 -2
- package/{FilePlayer-TBmUK03G.mjs → FilePlayer-DPtnkI4h.mjs} +2 -2
- package/{Kaltura-CLaSL9Gw.mjs → Kaltura-Clw99-2t.mjs} +2 -2
- package/{Mixcloud-BIUEG_vf.mjs → Mixcloud-BQqSy7W9.mjs} +2 -2
- package/{Mux-D2H0Zcnl.mjs → Mux-C9Horywf.mjs} +2 -2
- package/{Preview-CqNeXEJq.mjs → Preview-BJ-Gf50H.mjs} +1 -1
- package/RecentCarousel-DXczqGTg.mjs +345 -0
- package/Share-841HxAfy.mjs +2603 -0
- package/{SoundCloud-CL3-ElQD.mjs → SoundCloud-UekA8rWW.mjs} +2 -2
- package/{Streamable-B6PCkCf3.mjs → Streamable-DlIJ8RtX.mjs} +2 -2
- package/{Twitch-T-goXjKL.mjs → Twitch-CvJR_NQ9.mjs} +2 -2
- package/{Vidyard-D8-XmjAR.mjs → Vidyard-Lj1xUYwG.mjs} +2 -2
- package/{Vimeo-jej0FY4O.mjs → Vimeo-CwmHUqrS.mjs} +2 -2
- package/{Wistia-CPzm8ZXT.mjs → Wistia-DdGRHB57.mjs} +2 -2
- package/{YouTube-VNohNZKu.mjs → YouTube-gou2t6Mz.mjs} +2 -2
- package/index-BgFUpOs6.mjs +21 -0
- package/{index-Dluh6sv-.mjs → index-DmoNrWks.mjs} +2359 -1510
- package/index.mjs +2 -2
- package/lib/login.d.ts +0 -0
- package/lib/prelems/Components/ArticleVodListComponent.d.ts +10 -0
- package/lib/services/fetchApi.d.ts +4 -3
- package/lib/services/fetchQueries.d.ts +3 -2
- package/lib/ssoLogin.d.ts +9 -0
- package/lib/utils/componentMapping.d.ts +5 -4
- package/{mutateApi-DOEWbC_3.mjs → mutateApi-Cl3UXuv1.mjs} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/BrightcovePlayer-B2Rrij5a.mjs +0 -177
- package/ChallengeDetailComponent-QSflL_pe.mjs +0 -89
- package/CommonContentComponent-D8PuLEle.mjs +0 -78
- package/EngagementHomeComponent-CO2rSsxl.mjs +0 -91
- package/EventDetailComponent-DMKfvnfx.mjs +0 -84
- package/EventList-BM7sWeX5.mjs +0 -22503
- package/RecentCarousel-DsRr-cur.mjs +0 -243
- package/Share-BTinEfR4.mjs +0 -2243
- package/index-BTIxC-e5.mjs +0 -20
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as
|
|
3
|
-
import { useState as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { j as T, s as r, f as _, a as b } from "./index-DmoNrWks.mjs";
|
|
2
|
+
import { d as G } from "./EventList-CrFIwonY.mjs";
|
|
3
|
+
import { useState as p, useEffect as k } from "react";
|
|
4
|
+
import { m as A } from "./mutateApi-Cl3UXuv1.mjs";
|
|
5
|
+
import "react-dom";
|
|
6
6
|
import "@mui/material";
|
|
7
|
-
import "@mui/styles";
|
|
8
7
|
import "@mui/system";
|
|
9
|
-
import "react-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
import "react/jsx-runtime";
|
|
9
|
+
import "@mui/styles";
|
|
10
|
+
const V = ({
|
|
11
|
+
data: g,
|
|
12
12
|
prelemAnalyticsProp: h,
|
|
13
13
|
prelemAuthoringHelper: d,
|
|
14
14
|
secondaryArgs: c,
|
|
15
15
|
userId: P,
|
|
16
|
-
filters:
|
|
17
|
-
relativePath:
|
|
16
|
+
filters: w,
|
|
17
|
+
relativePath: y
|
|
18
18
|
}) => {
|
|
19
|
-
const [
|
|
19
|
+
const [S, D] = p({}), [E, m] = p(!1), {
|
|
20
20
|
prelemBaseEndpoint: { language: f, site_host: u }
|
|
21
|
-
} = c, n = localStorage.getItem("userId") || P,
|
|
21
|
+
} = c, n = localStorage.getItem("userId") || P, x = async (i, t, l) => {
|
|
22
22
|
var s, o;
|
|
23
23
|
if (!n) {
|
|
24
24
|
r("User ID is not available. Please log in.");
|
|
@@ -26,15 +26,15 @@ const J = ({
|
|
|
26
26
|
}
|
|
27
27
|
try {
|
|
28
28
|
const e = {
|
|
29
|
-
input: { activity_type:
|
|
29
|
+
input: { activity_type: l, target: i.toString(), action: t },
|
|
30
30
|
user_id: n
|
|
31
|
-
}, a = await
|
|
32
|
-
((o = (s = a == null ? void 0 : a.data) == null ? void 0 : s.community_setPersonalGoal) == null ? void 0 : o.message) === "Created Successfully!!!" && t === "goal" ?
|
|
31
|
+
}, a = await A.setPersonalGoal(e, f, u);
|
|
32
|
+
((o = (s = a == null ? void 0 : a.data) == null ? void 0 : s.community_setPersonalGoal) == null ? void 0 : o.message) === "Created Successfully!!!" && t === "goal" ? b("Goal updated successfully!") : t !== "entry" && r("Something went wrong, please try after sometime !");
|
|
33
33
|
} catch (e) {
|
|
34
34
|
console.error("Error in update goal API:", e), r("Something went wrong, please try after sometime !");
|
|
35
35
|
}
|
|
36
|
-
},
|
|
37
|
-
var
|
|
36
|
+
}, v = async () => {
|
|
37
|
+
var i, t, l, s;
|
|
38
38
|
if (!n) {
|
|
39
39
|
r("User ID is not available. Please log in.");
|
|
40
40
|
return;
|
|
@@ -44,10 +44,10 @@ const J = ({
|
|
|
44
44
|
const o = {
|
|
45
45
|
date: "",
|
|
46
46
|
user_id: n
|
|
47
|
-
}, e = await
|
|
48
|
-
if (((
|
|
47
|
+
}, e = await _.fetchPersonalTracker(o, f, u);
|
|
48
|
+
if (((i = e == null ? void 0 : e.errors) == null ? void 0 : i.length) > 0)
|
|
49
49
|
r((t = e == null ? void 0 : e.errors[0]) == null ? void 0 : t.message);
|
|
50
|
-
else if ((
|
|
50
|
+
else if ((l = e == null ? void 0 : e.data) != null && l.community_fetchPersonalTracker) {
|
|
51
51
|
const { steps: a } = (s = e == null ? void 0 : e.data) == null ? void 0 : s.community_fetchPersonalTracker;
|
|
52
52
|
D(a);
|
|
53
53
|
} else
|
|
@@ -57,26 +57,34 @@ const J = ({
|
|
|
57
57
|
} finally {
|
|
58
58
|
m(!1);
|
|
59
59
|
}
|
|
60
|
-
},
|
|
61
|
-
stepsData:
|
|
60
|
+
}, I = {
|
|
61
|
+
stepsData: S,
|
|
62
62
|
loading: E,
|
|
63
|
-
updateGoals:
|
|
63
|
+
updateGoals: x
|
|
64
64
|
};
|
|
65
|
-
return
|
|
66
|
-
|
|
67
|
-
}, []), /* @__PURE__ */
|
|
68
|
-
|
|
65
|
+
return k(() => {
|
|
66
|
+
v();
|
|
67
|
+
}, []), /* @__PURE__ */ T.jsxDEV(
|
|
68
|
+
G,
|
|
69
69
|
{
|
|
70
|
-
content:
|
|
70
|
+
content: g,
|
|
71
71
|
analytics: h,
|
|
72
72
|
authoringHelper: d,
|
|
73
73
|
secondaryArgs: c,
|
|
74
|
-
stepsDetails:
|
|
75
|
-
filters:
|
|
76
|
-
relativePath:
|
|
77
|
-
}
|
|
74
|
+
stepsDetails: I,
|
|
75
|
+
filters: w,
|
|
76
|
+
relativePath: y
|
|
77
|
+
},
|
|
78
|
+
void 0,
|
|
79
|
+
!1,
|
|
80
|
+
{
|
|
81
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-wrapper/src/lib/prelems/Components/EventListComponent.tsx",
|
|
82
|
+
lineNumber: 87,
|
|
83
|
+
columnNumber: 5
|
|
84
|
+
},
|
|
85
|
+
void 0
|
|
78
86
|
);
|
|
79
87
|
};
|
|
80
88
|
export {
|
|
81
|
-
|
|
89
|
+
V as default
|
|
82
90
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as _ } from "./index-
|
|
1
|
+
import { g as _ } from "./index-DmoNrWks.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { u as P, p as m } from "./EventList-
|
|
3
|
+
import { u as P, p as m } from "./EventList-CrFIwonY.mjs";
|
|
4
4
|
function v(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const o = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as b } from "./index-
|
|
1
|
+
import { g as b } from "./index-DmoNrWks.mjs";
|
|
2
2
|
import _ from "react";
|
|
3
|
-
import { u as O, p as A } from "./EventList-
|
|
3
|
+
import { u as O, p as A } from "./EventList-CrFIwonY.mjs";
|
|
4
4
|
function R(s, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const i = e[t];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as f } from "./index-
|
|
1
|
+
import { g as f } from "./index-DmoNrWks.mjs";
|
|
2
2
|
import y from "react";
|
|
3
|
-
import { u as _, p as m } from "./EventList-
|
|
3
|
+
import { u as _, p as m } from "./EventList-CrFIwonY.mjs";
|
|
4
4
|
function P(r, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const o = e[t];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as f } from "./index-
|
|
1
|
+
import { g as f } from "./index-DmoNrWks.mjs";
|
|
2
2
|
import y from "react";
|
|
3
|
-
import { u as m, p as g } from "./EventList-
|
|
3
|
+
import { u as m, p as g } from "./EventList-CrFIwonY.mjs";
|
|
4
4
|
function v(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as P } from "./index-
|
|
1
|
+
import { g as P } from "./index-DmoNrWks.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { p as E } from "./EventList-
|
|
3
|
+
import { p as E } from "./EventList-CrFIwonY.mjs";
|
|
4
4
|
function b(r, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const i = e[t];
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { j as r } from "./index-DmoNrWks.mjs";
|
|
2
|
+
import { e as X, g as I, h as w, r as L, i as v, j as S, k as $, l as y, m as H, n as M, o as k, q as F } from "./EventList-CrFIwonY.mjs";
|
|
3
|
+
import { Box as l, Typography as x, CardMedia as U, Link as O } from "@mui/material";
|
|
4
|
+
import Y, { useState as G, useEffect as J } from "react";
|
|
5
|
+
import { makeStyles as K } from "@mui/styles";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "@mui/system";
|
|
8
|
+
import "react/jsx-runtime";
|
|
9
|
+
const Q = K(() => {
|
|
10
|
+
const n = X();
|
|
11
|
+
return {
|
|
12
|
+
recentCardsWrapper: {
|
|
13
|
+
"&.recentCardsBg": {
|
|
14
|
+
width: "100%",
|
|
15
|
+
overflow: "hidden",
|
|
16
|
+
[n.breakpoints.up("xs")]: {
|
|
17
|
+
marginBottom: 0
|
|
18
|
+
},
|
|
19
|
+
"& .PX-TopHeading": {
|
|
20
|
+
padding: "15px",
|
|
21
|
+
background: "#9964DD",
|
|
22
|
+
borderTopRightRadius: n.borderRadius.value,
|
|
23
|
+
borderTopLeftRadius: n.borderRadius.value,
|
|
24
|
+
"& h5": {
|
|
25
|
+
margin: 0,
|
|
26
|
+
color: "#fff"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"& .PX-CardBox": {
|
|
30
|
+
border: "1px solid #D1D1D1",
|
|
31
|
+
paddingBottom: "15px",
|
|
32
|
+
borderTop: "0",
|
|
33
|
+
borderBottomRightRadius: n.borderRadius.value,
|
|
34
|
+
borderBottomLeftRadius: n.borderRadius.value,
|
|
35
|
+
"& .PX-InnerBox": {
|
|
36
|
+
padding: "15px",
|
|
37
|
+
borderTop: "0",
|
|
38
|
+
borderBottomRightRadius: n.borderRadius.value,
|
|
39
|
+
borderBottomLeftRadius: n.borderRadius.value,
|
|
40
|
+
overflowY: "auto",
|
|
41
|
+
maxHeight: "700px",
|
|
42
|
+
"& .PX-CardWp": {
|
|
43
|
+
display: "flex",
|
|
44
|
+
border: "1px solid #E8E8E8",
|
|
45
|
+
padding: "10px",
|
|
46
|
+
borderRadius: n.borderRadius.value,
|
|
47
|
+
marginBottom: "10px",
|
|
48
|
+
cursor: "pointer",
|
|
49
|
+
"& .PX-MediaWp": {
|
|
50
|
+
minWidth: "160px",
|
|
51
|
+
minHeight: "108px",
|
|
52
|
+
marginRight: "15px",
|
|
53
|
+
maxWidth: "160px",
|
|
54
|
+
maxHeight: "108px",
|
|
55
|
+
position: "relative",
|
|
56
|
+
[n.breakpoints.down("lg")]: {
|
|
57
|
+
minWidth: "90px",
|
|
58
|
+
marginRight: "10px",
|
|
59
|
+
maxWidth: "90px"
|
|
60
|
+
},
|
|
61
|
+
[n.breakpoints.down("em")]: {
|
|
62
|
+
minWidth: "150px",
|
|
63
|
+
marginRight: "10px",
|
|
64
|
+
maxWidth: "150px"
|
|
65
|
+
},
|
|
66
|
+
[n.breakpoints.down("em")]: {
|
|
67
|
+
minWidth: "90px",
|
|
68
|
+
marginRight: "10px",
|
|
69
|
+
maxWidth: "90px"
|
|
70
|
+
},
|
|
71
|
+
"& picture": {
|
|
72
|
+
height: "100%",
|
|
73
|
+
"& img": {
|
|
74
|
+
width: "100%",
|
|
75
|
+
height: "100%",
|
|
76
|
+
objectFit: "cover",
|
|
77
|
+
borderRadius: "5px"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"& .PX-MidIcon": {
|
|
81
|
+
position: "absolute",
|
|
82
|
+
top: "0",
|
|
83
|
+
left: "0",
|
|
84
|
+
right: "0",
|
|
85
|
+
bottom: "0",
|
|
86
|
+
margin: "auto",
|
|
87
|
+
width: "24px",
|
|
88
|
+
height: "24px",
|
|
89
|
+
filter: "brightness(0) invert(1)",
|
|
90
|
+
"& img": {
|
|
91
|
+
width: "100%"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"& .PX-CardRightContent": {
|
|
96
|
+
"& p": {
|
|
97
|
+
margin: 0
|
|
98
|
+
},
|
|
99
|
+
"& .title": {
|
|
100
|
+
display: "-webkit-box",
|
|
101
|
+
WebkitBoxOrient: "vertical",
|
|
102
|
+
WebkitLineClamp: "3",
|
|
103
|
+
overflow: "hidden",
|
|
104
|
+
margin: "7px 0",
|
|
105
|
+
height: "57px"
|
|
106
|
+
},
|
|
107
|
+
"& .readmoreCta": {
|
|
108
|
+
display: "inline-flex",
|
|
109
|
+
alignItems: "center",
|
|
110
|
+
color: n.palette.prelemType3.CARDS.VARIANT1.TITLE,
|
|
111
|
+
textDecoration: "none",
|
|
112
|
+
"& h6": {
|
|
113
|
+
color: n.palette.prelemType3.CARDS.VARIANT1.TITLE,
|
|
114
|
+
display: "inline-block",
|
|
115
|
+
margin: 0
|
|
116
|
+
},
|
|
117
|
+
"& svg": {
|
|
118
|
+
fontSize: "18px",
|
|
119
|
+
marginLeft: "8px"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
}), ie = ({ isVideoLandingPage: n, data: R, secondaryArgs: a }) => {
|
|
130
|
+
const E = a == null ? void 0 : a.platform, D = Q(), { t: N } = I(), { gcpUrl: s, bucketName: m } = a, [z, j] = G([]), V = (e) => {
|
|
131
|
+
var o, p, u;
|
|
132
|
+
if (typeof window < "u") {
|
|
133
|
+
const i = e == null ? void 0 : e.current_page_url, t = ((o = e == null ? void 0 : e.content_type) == null ? void 0 : o.toLowerCase()) === "vod" ? "video" : "article";
|
|
134
|
+
(p = a == null ? void 0 : a.prelemBaseEndpoint) != null && p.language ? window.open(`/${(u = a == null ? void 0 : a.prelemBaseEndpoint) == null ? void 0 : u.language}/${t}${i}`) : window.open(`/${t}${i}`);
|
|
135
|
+
}
|
|
136
|
+
}, q = (e) => {
|
|
137
|
+
E !== "isAuthoring" && V(e);
|
|
138
|
+
}, P = {
|
|
139
|
+
dotPosition: "outside",
|
|
140
|
+
arrows: !1,
|
|
141
|
+
animationType: "slideIn",
|
|
142
|
+
itemsPerRow: {
|
|
143
|
+
lg: 3,
|
|
144
|
+
md: 3,
|
|
145
|
+
sm: 2,
|
|
146
|
+
xs: 1
|
|
147
|
+
}
|
|
148
|
+
}, C = () => {
|
|
149
|
+
const e = M(R, P.itemsPerRow);
|
|
150
|
+
e && j(e);
|
|
151
|
+
}, T = F(C, 100);
|
|
152
|
+
J(() => {
|
|
153
|
+
C();
|
|
154
|
+
const e = () => {
|
|
155
|
+
T();
|
|
156
|
+
};
|
|
157
|
+
return window.addEventListener("resize", e), () => {
|
|
158
|
+
window.removeEventListener("resize", e);
|
|
159
|
+
};
|
|
160
|
+
}, [R]);
|
|
161
|
+
const f = (e) => {
|
|
162
|
+
e.target.src !== k && (e.target.onerror = null, e.target.src = k);
|
|
163
|
+
};
|
|
164
|
+
return /* @__PURE__ */ r.jsxDEV(l, { className: `${D.recentCardsWrapper} recentCardsBg`, children: [
|
|
165
|
+
/* @__PURE__ */ r.jsxDEV(l, { className: "PX-TopHeading", children: /* @__PURE__ */ r.jsxDEV(x, { variant: "h5medium", children: N(n ? "related_videos" : "related_articles") }, void 0, !1, {
|
|
166
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
167
|
+
lineNumber: 75,
|
|
168
|
+
columnNumber: 9
|
|
169
|
+
}, void 0) }, void 0, !1, {
|
|
170
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
171
|
+
lineNumber: 74,
|
|
172
|
+
columnNumber: 7
|
|
173
|
+
}, void 0),
|
|
174
|
+
/* @__PURE__ */ r.jsxDEV(l, { className: "PX-CardBox", children: /* @__PURE__ */ r.jsxDEV(l, { className: "PX-InnerBox", children: z.map(
|
|
175
|
+
(e) => e == null ? void 0 : e.map((o, p) => {
|
|
176
|
+
var g, _;
|
|
177
|
+
const { original_image: u = {}, thumbnail: i } = o, { original_image_relative_path: t, ext: W } = u;
|
|
178
|
+
let h, c;
|
|
179
|
+
return ((g = o == null ? void 0 : o.content_type) == null ? void 0 : g.toLowerCase()) === "vod" ? (h = w(s, m, L(i)), c = w(s, m, i)) : (h = v(
|
|
180
|
+
s,
|
|
181
|
+
m,
|
|
182
|
+
t,
|
|
183
|
+
"webp"
|
|
184
|
+
), c = v(
|
|
185
|
+
s,
|
|
186
|
+
m,
|
|
187
|
+
t || i,
|
|
188
|
+
W
|
|
189
|
+
)), /* @__PURE__ */ r.jsxDEV(
|
|
190
|
+
l,
|
|
191
|
+
{
|
|
192
|
+
onClick: () => q(o),
|
|
193
|
+
className: "PX-CardWp",
|
|
194
|
+
"data-testid": "enable-vod-play",
|
|
195
|
+
children: [
|
|
196
|
+
/* @__PURE__ */ r.jsxDEV(l, { className: "PX-MediaWp", children: [
|
|
197
|
+
/* @__PURE__ */ r.jsxDEV(U, { component: "picture", children: [
|
|
198
|
+
S.map(({ breakpoint: d }, B) => /* @__PURE__ */ r.jsxDEV(Y.Fragment, { children: [
|
|
199
|
+
/* @__PURE__ */ r.jsxDEV(
|
|
200
|
+
"source",
|
|
201
|
+
{
|
|
202
|
+
onError: (b) => {
|
|
203
|
+
f(b);
|
|
204
|
+
},
|
|
205
|
+
media: `(min-width:${d}px)`,
|
|
206
|
+
srcSet: h
|
|
207
|
+
},
|
|
208
|
+
void 0,
|
|
209
|
+
!1,
|
|
210
|
+
{
|
|
211
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
212
|
+
lineNumber: 114,
|
|
213
|
+
columnNumber: 29
|
|
214
|
+
},
|
|
215
|
+
void 0
|
|
216
|
+
),
|
|
217
|
+
/* @__PURE__ */ r.jsxDEV(
|
|
218
|
+
"source",
|
|
219
|
+
{
|
|
220
|
+
onError: (b) => {
|
|
221
|
+
f(b);
|
|
222
|
+
},
|
|
223
|
+
media: `(min-width:${d}px)`,
|
|
224
|
+
srcSet: c
|
|
225
|
+
},
|
|
226
|
+
void 0,
|
|
227
|
+
!1,
|
|
228
|
+
{
|
|
229
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
230
|
+
lineNumber: 121,
|
|
231
|
+
columnNumber: 29
|
|
232
|
+
},
|
|
233
|
+
void 0
|
|
234
|
+
)
|
|
235
|
+
] }, B, !0, {
|
|
236
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
237
|
+
lineNumber: 113,
|
|
238
|
+
columnNumber: 27
|
|
239
|
+
}, void 0)),
|
|
240
|
+
/* @__PURE__ */ r.jsxDEV(
|
|
241
|
+
"img",
|
|
242
|
+
{
|
|
243
|
+
loading: "lazy",
|
|
244
|
+
alt: "cropped-img",
|
|
245
|
+
src: c,
|
|
246
|
+
onError: (d) => {
|
|
247
|
+
f(d);
|
|
248
|
+
},
|
|
249
|
+
className: "PX-CardImage"
|
|
250
|
+
},
|
|
251
|
+
void 0,
|
|
252
|
+
!1,
|
|
253
|
+
{
|
|
254
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
255
|
+
lineNumber: 131,
|
|
256
|
+
columnNumber: 23
|
|
257
|
+
},
|
|
258
|
+
void 0
|
|
259
|
+
)
|
|
260
|
+
] }, void 0, !0, {
|
|
261
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
262
|
+
lineNumber: 110,
|
|
263
|
+
columnNumber: 21
|
|
264
|
+
}, void 0),
|
|
265
|
+
((_ = o == null ? void 0 : o.content_type) == null ? void 0 : _.toLowerCase()) === "vod" ? /* @__PURE__ */ r.jsxDEV(l, { className: "PX-MidIcon", children: /* @__PURE__ */ r.jsxDEV("img", { alt: "", src: $ }, void 0, !1, {
|
|
266
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
267
|
+
lineNumber: 143,
|
|
268
|
+
columnNumber: 25
|
|
269
|
+
}, void 0) }, void 0, !1, {
|
|
270
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
271
|
+
lineNumber: 142,
|
|
272
|
+
columnNumber: 23
|
|
273
|
+
}, void 0) : (
|
|
274
|
+
// <Box className='PX-MidIcon'>
|
|
275
|
+
// <img alt='' src={ArticleIcon} />
|
|
276
|
+
// </Box>
|
|
277
|
+
null
|
|
278
|
+
)
|
|
279
|
+
] }, void 0, !0, {
|
|
280
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
281
|
+
lineNumber: 109,
|
|
282
|
+
columnNumber: 19
|
|
283
|
+
}, void 0),
|
|
284
|
+
/* @__PURE__ */ r.jsxDEV(l, { className: "PX-CardRightContent", children: [
|
|
285
|
+
/* @__PURE__ */ r.jsxDEV(x, { variant: "h7regular", children: y((o == null ? void 0 : o.publishedDate) || (o == null ? void 0 : o.published_date)) }, void 0, !1, {
|
|
286
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
287
|
+
lineNumber: 151,
|
|
288
|
+
columnNumber: 21
|
|
289
|
+
}, void 0),
|
|
290
|
+
/* @__PURE__ */ r.jsxDEV(x, { variant: "h6medium", className: "title", children: o == null ? void 0 : o.title }, void 0, !1, {
|
|
291
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
292
|
+
lineNumber: 154,
|
|
293
|
+
columnNumber: 21
|
|
294
|
+
}, void 0),
|
|
295
|
+
/* @__PURE__ */ r.jsxDEV(O, { href: "", className: "readmoreCta", children: [
|
|
296
|
+
/* @__PURE__ */ r.jsxDEV(x, { variant: "h6regular", children: "Read more" }, void 0, !1, {
|
|
297
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
298
|
+
lineNumber: 158,
|
|
299
|
+
columnNumber: 23
|
|
300
|
+
}, void 0),
|
|
301
|
+
/* @__PURE__ */ r.jsxDEV(H, {}, void 0, !1, {
|
|
302
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
303
|
+
lineNumber: 159,
|
|
304
|
+
columnNumber: 23
|
|
305
|
+
}, void 0)
|
|
306
|
+
] }, void 0, !0, {
|
|
307
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
308
|
+
lineNumber: 157,
|
|
309
|
+
columnNumber: 21
|
|
310
|
+
}, void 0)
|
|
311
|
+
] }, void 0, !0, {
|
|
312
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
313
|
+
lineNumber: 150,
|
|
314
|
+
columnNumber: 19
|
|
315
|
+
}, void 0)
|
|
316
|
+
]
|
|
317
|
+
},
|
|
318
|
+
p,
|
|
319
|
+
!0,
|
|
320
|
+
{
|
|
321
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
322
|
+
lineNumber: 104,
|
|
323
|
+
columnNumber: 17
|
|
324
|
+
},
|
|
325
|
+
void 0
|
|
326
|
+
);
|
|
327
|
+
})
|
|
328
|
+
) }, void 0, !1, {
|
|
329
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
330
|
+
lineNumber: 80,
|
|
331
|
+
columnNumber: 9
|
|
332
|
+
}, void 0) }, void 0, !1, {
|
|
333
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
334
|
+
lineNumber: 79,
|
|
335
|
+
columnNumber: 7
|
|
336
|
+
}, void 0)
|
|
337
|
+
] }, void 0, !0, {
|
|
338
|
+
fileName: "/home/sohail_quazi/actions-runner/_work/platformx-mono-repo-nx/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/RecentCarousel/RecentCarousel.tsx",
|
|
339
|
+
lineNumber: 73,
|
|
340
|
+
columnNumber: 5
|
|
341
|
+
}, void 0);
|
|
342
|
+
};
|
|
343
|
+
export {
|
|
344
|
+
ie as default
|
|
345
|
+
};
|