@platform-x/hcltechx-mfe-wrapper 1.0.12 → 1.0.14

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.
Files changed (40) hide show
  1. package/ArticleVodListComponent-BKXBg22Y.mjs +36 -0
  2. package/ChallengeDetailComponent-Dv_LudnS.mjs +115 -0
  3. package/ChallengeSliderComponent-yvfp3ehJ.mjs +93 -0
  4. package/CommonContentComponent-CEHufGoM.mjs +86 -0
  5. package/{DailyMotion-BZjNPvk3.mjs → DailyMotion-BVL2PnO4.mjs} +2 -2
  6. package/EngagementHomeComponent-CsvCgXwx.mjs +108 -0
  7. package/{EventDetailComponent-Df_1taBU.mjs → EventDetailComponent-Cvlqw2tH.mjs} +52 -44
  8. package/EventList-CbAUuRYM.mjs +226769 -0
  9. package/{EventListComponent-C1zDY1AP.mjs → EventListComponent-BI2rzsKd.mjs} +42 -34
  10. package/{Facebook-BHl0o5cG.mjs → Facebook-CIgIth_K.mjs} +2 -2
  11. package/{FilePlayer-JeIW8e1J.mjs → FilePlayer-B-uogb5D.mjs} +2 -2
  12. package/{IndividualChallengeComponent-CK8bpdcZ.mjs → IndividualChallengeComponent-Brw0d-4R.mjs} +67 -59
  13. package/{Kaltura-DjJsXw7D.mjs → Kaltura-BOsL7fO-.mjs} +2 -2
  14. package/{Mixcloud-DRwkjeJj.mjs → Mixcloud-DHUTbpw0.mjs} +2 -2
  15. package/{Mux-DyccTvNJ.mjs → Mux-DK0X2BTT.mjs} +2 -2
  16. package/{Preview-DZRh-esT.mjs → Preview-CIJ3xp_6.mjs} +1 -1
  17. package/RecentCarousel-BrE1qBvp.mjs +340 -0
  18. package/Share-DEEl5DxK.mjs +2265 -0
  19. package/{SoundCloud-CYajXGkS.mjs → SoundCloud-4PeOIDGR.mjs} +2 -2
  20. package/{Streamable-BaA5JtO1.mjs → Streamable-Ce9q7xrY.mjs} +2 -2
  21. package/{Twitch-DlrNC75N.mjs → Twitch-BQxxLIOM.mjs} +2 -2
  22. package/{Vidyard-DGlSx5Xk.mjs → Vidyard-smgMZHrX.mjs} +2 -2
  23. package/{Vimeo-B85SToho.mjs → Vimeo-Cq5Swu9L.mjs} +2 -2
  24. package/{Wistia-DHEXn7G4.mjs → Wistia-BlOpWmsf.mjs} +2 -2
  25. package/{YouTube-D3UGMnS_.mjs → YouTube-CHNRVTxo.mjs} +2 -2
  26. package/{index-z8BTSHEw.mjs → index-CKbXg2l_.mjs} +4507 -3169
  27. package/{index-BaP6wSqD.mjs → index-kJrH8shi.mjs} +3 -3
  28. package/index.mjs +2 -2
  29. package/lib/utils/constants.d.ts +1 -0
  30. package/lib/utils/iframeKeycloak.d.ts +1 -2
  31. package/{mutateApi-yo_jpuR9.mjs → mutateApi-D6lDkc9e.mjs} +1 -1
  32. package/package.json +1 -1
  33. package/ArticleVodListComponent-4_5o-5Es.mjs +0 -28
  34. package/ChallengeDetailComponent-5H7PpaTj.mjs +0 -107
  35. package/ChallengeSliderComponent-C4bxxd8G.mjs +0 -85
  36. package/CommonContentComponent-TxA-VhEZ.mjs +0 -78
  37. package/EngagementHomeComponent-CgJwCnmg.mjs +0 -100
  38. package/EventList-Bx2LesqJ.mjs +0 -38484
  39. package/RecentCarousel-CIbUBGhk.mjs +0 -245
  40. package/Share-zuv2D0ca.mjs +0 -1905
@@ -0,0 +1,2265 @@
1
+ import { c as $, d as z, e as F, h as K, _ as G, i as C, k as q, P as i, l as je, m as Q, n as xe, o as Pe, p as se, g as Te, j as r, G as V, u as Ue } from "./index-CKbXg2l_.mjs";
2
+ import * as Y from "react";
3
+ import Ve, { forwardRef as Ae, useState as B, useEffect as we, useRef as Me, useCallback as _e } from "react";
4
+ import Xe, { jsx as S } from "react/jsx-runtime";
5
+ import { t as Le, v as ke, w as Oe, x as Re, m as Be, y as We, B as w, i as He, T as j, l as $e, z as le, D as ze, F as Fe, G as Ke, H as de } from "./EventList-CbAUuRYM.mjs";
6
+ import "react-dom";
7
+ function Ge(e) {
8
+ return String(e).match(/[\d.\-+]*\s*(.*)/)[1] || "";
9
+ }
10
+ function qe(e) {
11
+ return parseFloat(e);
12
+ }
13
+ function Qe(e) {
14
+ return z("MuiCard", e);
15
+ }
16
+ $("MuiCard", ["root"]);
17
+ const Ye = ["className", "raised"], Ze = (e) => {
18
+ const {
19
+ classes: n
20
+ } = e;
21
+ return Q({
22
+ root: ["root"]
23
+ }, Qe, n);
24
+ }, Ie = F(Le, {
25
+ name: "MuiCard",
26
+ slot: "Root",
27
+ overridesResolver: (e, n) => n.root
28
+ })(() => ({
29
+ overflow: "hidden"
30
+ })), ne = /* @__PURE__ */ Y.forwardRef(function(n, o) {
31
+ const t = K({
32
+ props: n,
33
+ name: "MuiCard"
34
+ }), {
35
+ className: a,
36
+ raised: d = !1
37
+ } = t, c = G(t, Ye), u = C({}, t, {
38
+ raised: d
39
+ }), l = Ze(u);
40
+ return /* @__PURE__ */ S(Ie, C({
41
+ className: q(l.root, a),
42
+ elevation: d ? 8 : void 0,
43
+ ref: o,
44
+ ownerState: u
45
+ }, c));
46
+ });
47
+ process.env.NODE_ENV !== "production" && (ne.propTypes = {
48
+ // ----------------------------- Warning --------------------------------
49
+ // | These PropTypes are generated from the TypeScript type definitions |
50
+ // | To update them edit the d.ts file and run "yarn proptypes" |
51
+ // ----------------------------------------------------------------------
52
+ /**
53
+ * The content of the component.
54
+ */
55
+ children: i.node,
56
+ /**
57
+ * Override or extend the styles applied to the component.
58
+ */
59
+ classes: i.object,
60
+ /**
61
+ * @ignore
62
+ */
63
+ className: i.string,
64
+ /**
65
+ * If `true`, the card will use raised styling.
66
+ * @default false
67
+ */
68
+ raised: je(i.bool, (e) => e.raised && e.variant === "outlined" ? new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.') : null),
69
+ /**
70
+ * The system prop that allows defining system overrides as well as additional CSS styles.
71
+ */
72
+ sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
73
+ });
74
+ function Je(e) {
75
+ return z("MuiCardActions", e);
76
+ }
77
+ $("MuiCardActions", ["root", "spacing"]);
78
+ const en = ["disableSpacing", "className"], nn = (e) => {
79
+ const {
80
+ classes: n,
81
+ disableSpacing: o
82
+ } = e;
83
+ return Q({
84
+ root: ["root", !o && "spacing"]
85
+ }, Je, n);
86
+ }, on = F("div", {
87
+ name: "MuiCardActions",
88
+ slot: "Root",
89
+ overridesResolver: (e, n) => {
90
+ const {
91
+ ownerState: o
92
+ } = e;
93
+ return [n.root, !o.disableSpacing && n.spacing];
94
+ }
95
+ })(({
96
+ ownerState: e
97
+ }) => C({
98
+ display: "flex",
99
+ alignItems: "center",
100
+ padding: 8
101
+ }, !e.disableSpacing && {
102
+ "& > :not(:first-of-type)": {
103
+ marginLeft: 8
104
+ }
105
+ })), ge = /* @__PURE__ */ Y.forwardRef(function(n, o) {
106
+ const t = K({
107
+ props: n,
108
+ name: "MuiCardActions"
109
+ }), {
110
+ disableSpacing: a = !1,
111
+ className: d
112
+ } = t, c = G(t, en), u = C({}, t, {
113
+ disableSpacing: a
114
+ }), l = nn(u);
115
+ return /* @__PURE__ */ S(on, C({
116
+ className: q(l.root, d),
117
+ ownerState: u,
118
+ ref: o
119
+ }, c));
120
+ });
121
+ process.env.NODE_ENV !== "production" && (ge.propTypes = {
122
+ // ----------------------------- Warning --------------------------------
123
+ // | These PropTypes are generated from the TypeScript type definitions |
124
+ // | To update them edit the d.ts file and run "yarn proptypes" |
125
+ // ----------------------------------------------------------------------
126
+ /**
127
+ * The content of the component.
128
+ */
129
+ children: i.node,
130
+ /**
131
+ * Override or extend the styles applied to the component.
132
+ */
133
+ classes: i.object,
134
+ /**
135
+ * @ignore
136
+ */
137
+ className: i.string,
138
+ /**
139
+ * If `true`, the actions do not have additional margin.
140
+ * @default false
141
+ */
142
+ disableSpacing: i.bool,
143
+ /**
144
+ * The system prop that allows defining system overrides as well as additional CSS styles.
145
+ */
146
+ sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
147
+ });
148
+ function tn(e) {
149
+ return z("MuiCardContent", e);
150
+ }
151
+ $("MuiCardContent", ["root"]);
152
+ const an = ["className", "component"], rn = (e) => {
153
+ const {
154
+ classes: n
155
+ } = e;
156
+ return Q({
157
+ root: ["root"]
158
+ }, tn, n);
159
+ }, sn = F("div", {
160
+ name: "MuiCardContent",
161
+ slot: "Root",
162
+ overridesResolver: (e, n) => n.root
163
+ })(() => ({
164
+ padding: 16,
165
+ "&:last-child": {
166
+ paddingBottom: 24
167
+ }
168
+ })), ve = /* @__PURE__ */ Y.forwardRef(function(n, o) {
169
+ const t = K({
170
+ props: n,
171
+ name: "MuiCardContent"
172
+ }), {
173
+ className: a,
174
+ component: d = "div"
175
+ } = t, c = G(t, an), u = C({}, t, {
176
+ component: d
177
+ }), l = rn(u);
178
+ return /* @__PURE__ */ S(sn, C({
179
+ as: d,
180
+ className: q(l.root, a),
181
+ ownerState: u,
182
+ ref: o
183
+ }, c));
184
+ });
185
+ process.env.NODE_ENV !== "production" && (ve.propTypes = {
186
+ // ----------------------------- Warning --------------------------------
187
+ // | These PropTypes are generated from the TypeScript type definitions |
188
+ // | To update them edit the d.ts file and run "yarn proptypes" |
189
+ // ----------------------------------------------------------------------
190
+ /**
191
+ * The content of the component.
192
+ */
193
+ children: i.node,
194
+ /**
195
+ * Override or extend the styles applied to the component.
196
+ */
197
+ classes: i.object,
198
+ /**
199
+ * @ignore
200
+ */
201
+ className: i.string,
202
+ /**
203
+ * The component used for the root node.
204
+ * Either a string to use a HTML element or a component.
205
+ */
206
+ component: i.elementType,
207
+ /**
208
+ * The system prop that allows defining system overrides as well as additional CSS styles.
209
+ */
210
+ sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
211
+ });
212
+ function ln(e) {
213
+ return z("MuiSkeleton", e);
214
+ }
215
+ $("MuiSkeleton", ["root", "text", "rectangular", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
216
+ const dn = ["animation", "className", "component", "height", "style", "variant", "width"];
217
+ let W = (e) => e, ce, me, ue, pe;
218
+ const cn = (e) => {
219
+ const {
220
+ classes: n,
221
+ variant: o,
222
+ animation: t,
223
+ hasChildren: a,
224
+ width: d,
225
+ height: c
226
+ } = e;
227
+ return Q({
228
+ root: ["root", o, t, a && "withChildren", a && !d && "fitContent", a && !c && "heightAuto"]
229
+ }, ln, n);
230
+ }, mn = xe(ce || (ce = W`
231
+ 0% {
232
+ opacity: 1;
233
+ }
234
+
235
+ 50% {
236
+ opacity: 0.4;
237
+ }
238
+
239
+ 100% {
240
+ opacity: 1;
241
+ }
242
+ `)), un = xe(me || (me = W`
243
+ 0% {
244
+ transform: translateX(-100%);
245
+ }
246
+
247
+ 50% {
248
+ /* +0.5s of delay between each loop */
249
+ transform: translateX(100%);
250
+ }
251
+
252
+ 100% {
253
+ transform: translateX(100%);
254
+ }
255
+ `)), pn = F("span", {
256
+ name: "MuiSkeleton",
257
+ slot: "Root",
258
+ overridesResolver: (e, n) => {
259
+ const {
260
+ ownerState: o
261
+ } = e;
262
+ return [n.root, n[o.variant], o.animation !== !1 && n[o.animation], o.hasChildren && n.withChildren, o.hasChildren && !o.width && n.fitContent, o.hasChildren && !o.height && n.heightAuto];
263
+ }
264
+ })(({
265
+ theme: e,
266
+ ownerState: n
267
+ }) => {
268
+ const o = Ge(e.shape.borderRadius) || "px", t = qe(e.shape.borderRadius);
269
+ return C({
270
+ display: "block",
271
+ // Create a "on paper" color with sufficient contrast retaining the color
272
+ backgroundColor: e.vars ? e.vars.palette.Skeleton.bg : Pe(e.palette.text.primary, e.palette.mode === "light" ? 0.11 : 0.13),
273
+ height: "1.2em"
274
+ }, n.variant === "text" && {
275
+ marginTop: 0,
276
+ marginBottom: 0,
277
+ height: "auto",
278
+ transformOrigin: "0 55%",
279
+ transform: "scale(1, 0.60)",
280
+ borderRadius: `${t}${o}/${Math.round(t / 0.6 * 10) / 10}${o}`,
281
+ "&:empty:before": {
282
+ content: '"\\00a0"'
283
+ }
284
+ }, n.variant === "circular" && {
285
+ borderRadius: "50%"
286
+ }, n.hasChildren && {
287
+ "& > *": {
288
+ visibility: "hidden"
289
+ }
290
+ }, n.hasChildren && !n.width && {
291
+ maxWidth: "fit-content"
292
+ }, n.hasChildren && !n.height && {
293
+ height: "auto"
294
+ });
295
+ }, ({
296
+ ownerState: e
297
+ }) => e.animation === "pulse" && se(ue || (ue = W`
298
+ animation: ${0} 1.5s ease-in-out 0.5s infinite;
299
+ `), mn), ({
300
+ ownerState: e,
301
+ theme: n
302
+ }) => e.animation === "wave" && se(pe || (pe = W`
303
+ position: relative;
304
+ overflow: hidden;
305
+
306
+ /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
307
+ -webkit-mask-image: -webkit-radial-gradient(white, black);
308
+
309
+ &::after {
310
+ animation: ${0} 1.6s linear 0.5s infinite;
311
+ background: linear-gradient(
312
+ 90deg,
313
+ transparent,
314
+ ${0},
315
+ transparent
316
+ );
317
+ content: '';
318
+ position: absolute;
319
+ transform: translateX(-100%); /* Avoid flash during server-side hydration */
320
+ bottom: 0;
321
+ left: 0;
322
+ right: 0;
323
+ top: 0;
324
+ }
325
+ `), un, (n.vars || n).palette.action.hover)), A = /* @__PURE__ */ Y.forwardRef(function(n, o) {
326
+ const t = K({
327
+ props: n,
328
+ name: "MuiSkeleton"
329
+ }), {
330
+ animation: a = "pulse",
331
+ className: d,
332
+ component: c = "span",
333
+ height: u,
334
+ style: l,
335
+ variant: s = "text",
336
+ width: m
337
+ } = t, p = G(t, dn), f = C({}, t, {
338
+ animation: a,
339
+ component: c,
340
+ variant: s,
341
+ hasChildren: !!p.children
342
+ }), g = cn(f);
343
+ return /* @__PURE__ */ S(pn, C({
344
+ as: c,
345
+ ref: o,
346
+ className: q(g.root, d),
347
+ ownerState: f
348
+ }, p, {
349
+ style: C({
350
+ width: m,
351
+ height: u
352
+ }, l)
353
+ }));
354
+ });
355
+ process.env.NODE_ENV !== "production" && (A.propTypes = {
356
+ // ----------------------------- Warning --------------------------------
357
+ // | These PropTypes are generated from the TypeScript type definitions |
358
+ // | To update them edit the d.ts file and run "yarn proptypes" |
359
+ // ----------------------------------------------------------------------
360
+ /**
361
+ * The animation.
362
+ * If `false` the animation effect is disabled.
363
+ * @default 'pulse'
364
+ */
365
+ animation: i.oneOf(["pulse", "wave", !1]),
366
+ /**
367
+ * Optional children to infer width and height from.
368
+ */
369
+ children: i.node,
370
+ /**
371
+ * Override or extend the styles applied to the component.
372
+ */
373
+ classes: i.object,
374
+ /**
375
+ * @ignore
376
+ */
377
+ className: i.string,
378
+ /**
379
+ * The component used for the root node.
380
+ * Either a string to use a HTML element or a component.
381
+ */
382
+ component: i.elementType,
383
+ /**
384
+ * Height of the skeleton.
385
+ * Useful when you don't want to adapt the skeleton to a text element but for instance a card.
386
+ */
387
+ height: i.oneOfType([i.number, i.string]),
388
+ /**
389
+ * @ignore
390
+ */
391
+ style: i.object,
392
+ /**
393
+ * The system prop that allows defining system overrides as well as additional CSS styles.
394
+ */
395
+ sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
396
+ /**
397
+ * The type of content that will be rendered.
398
+ * @default 'text'
399
+ */
400
+ variant: i.oneOfType([i.oneOf(["circular", "rectangular", "text"]), i.string]),
401
+ /**
402
+ * Width of the skeleton.
403
+ * Useful when the skeleton is inside an inline element with no width of its own.
404
+ */
405
+ width: i.oneOfType([i.number, i.string])
406
+ });
407
+ const fn = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.828%209.41a.794.794%200%200%201-.556-.23.793.793%200%200%201%200-1.12l1.682-1.681a1.587%201.587%200%200%200%200-2.246l-1.127-1.127a1.635%201.635%200%200%200-2.245%200L7.9%204.688a.793.793%200%200%201-1.12-1.11l1.683-1.683a3.253%203.253%200%200%201%204.491%200l1.12%201.12a3.176%203.176%200%200%201%200%204.49L12.382%209.18a.793.793%200%200%201-.555.23zM4.536%2015.718a3.173%203.173%200%200%201-2.246-.928L1.171%2013.67a3.175%203.175%200%200%201%200-4.491l1.69-1.683a.793.793%200%200%201%201.111%201.12L2.29%2010.298a1.586%201.586%200%200%200%200%202.245l1.127%201.127a1.635%201.635%200%200%200%202.245%200l1.683-1.682a.793.793%200%201%201%201.119%201.11L6.78%2014.783a3.174%203.174%200%200%201-2.245.936z'%20fill='%232D2D39'/%3e%3cpath%20d='M5.099%2011.655a.793.793%200%200%201-.564-1.356L9.59%205.252a.794.794%200%201%201%201.119%201.127l-5.055%205.046a.793.793%200%200%201-.555.23z'%20fill='%232D2D39'/%3e%3c/svg%3e", bn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD6SURBVHgB7ZM9CsIwGIa/GI8gWkV0dyhdXHTxCN5APIl6E0dXN0fdxEmldFYqkrZnaD6ToRj736pbXwh88CbPEwIBqFLlr9H10UKusr0MTTuMiEsxThqN9tbznkztDWNkcI4b2WtaDxzHPuQWKHDwfZxb1mkX3sOYzVqt7h2ATNMkNBt+XENCXPdxzpLQsvC8EvoNPI+kFmzinJNgrtcpQsEQ8j6jsqhyi32z2SUiEwCcalr/Jm5xyQPX9fEMka/lLF5hZZrHZURQVpIGjwiKSrLgsYI4SafT3jL2+dEGg6Eh+l0aPFGgSsR4uF5Pm3Avf3bQJ8GrVPlNXpHyzr4dW2vdAAAAAElFTkSuQmCC", hn = "data:image/svg+xml,%3csvg%20width='9'%20height='16'%20viewBox='0%200%209%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.069%205.153H5.555V3.525c0-.612.41-.754.699-.754h1.774V.083L5.585.073c-2.713%200-3.33%202.005-3.33%203.288v1.792H.687v2.77h1.568v7.837h3.3V7.923H7.78l.288-2.77z'%20fill='%232D2D39'/%3e%3c/svg%3e", xn = "data:image/svg+xml,%3csvg%20width='15'%20height='14'%20viewBox='0%200%2015%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.26%2014H0V4.455h3.26V14zM1.632%203.182C.73%203.182%200%202.468%200%201.59%200%20.712.73%200%201.631%200c.899%200%201.63.713%201.63%201.59%200%20.878-.731%201.592-1.63%201.592zM15%2014h-3.135V9.355c0-1.108-.021-2.533-1.63-2.533-1.632%200-1.883%201.206-1.883%202.452V14H5.217V4.448h3.01v1.305h.042c.419-.751%201.442-1.543%202.968-1.543C14.413%204.21%2015%206.19%2015%208.76V14z'%20fill='%232D2D39'/%3e%3c/svg%3e";
408
+ var J = { exports: {} }, ee = { exports: {} }, M = 1e3, _ = M * 60, X = _ * 60, L = X * 24, wn = L * 365.25, kn = function(e, n) {
409
+ n = n || {};
410
+ var o = typeof e;
411
+ if (o === "string" && e.length > 0)
412
+ return gn(e);
413
+ if (o === "number" && isNaN(e) === !1)
414
+ return n.long ? Cn(e) : vn(e);
415
+ throw new Error(
416
+ "val is not a non-empty string or a valid number. val=" + JSON.stringify(e)
417
+ );
418
+ };
419
+ function gn(e) {
420
+ if (e = String(e), !(e.length > 100)) {
421
+ var n = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
422
+ e
423
+ );
424
+ if (n) {
425
+ var o = parseFloat(n[1]), t = (n[2] || "ms").toLowerCase();
426
+ switch (t) {
427
+ case "years":
428
+ case "year":
429
+ case "yrs":
430
+ case "yr":
431
+ case "y":
432
+ return o * wn;
433
+ case "days":
434
+ case "day":
435
+ case "d":
436
+ return o * L;
437
+ case "hours":
438
+ case "hour":
439
+ case "hrs":
440
+ case "hr":
441
+ case "h":
442
+ return o * X;
443
+ case "minutes":
444
+ case "minute":
445
+ case "mins":
446
+ case "min":
447
+ case "m":
448
+ return o * _;
449
+ case "seconds":
450
+ case "second":
451
+ case "secs":
452
+ case "sec":
453
+ case "s":
454
+ return o * M;
455
+ case "milliseconds":
456
+ case "millisecond":
457
+ case "msecs":
458
+ case "msec":
459
+ case "ms":
460
+ return o;
461
+ default:
462
+ return;
463
+ }
464
+ }
465
+ }
466
+ }
467
+ function vn(e) {
468
+ return e >= L ? Math.round(e / L) + "d" : e >= X ? Math.round(e / X) + "h" : e >= _ ? Math.round(e / _) + "m" : e >= M ? Math.round(e / M) + "s" : e + "ms";
469
+ }
470
+ function Cn(e) {
471
+ return R(e, L, "day") || R(e, X, "hour") || R(e, _, "minute") || R(e, M, "second") || e + " ms";
472
+ }
473
+ function R(e, n, o) {
474
+ if (!(e < n))
475
+ return e < n * 1.5 ? Math.floor(e / n) + " " + o : Math.ceil(e / n) + " " + o + "s";
476
+ }
477
+ (function(e, n) {
478
+ n = e.exports = a.debug = a.default = a, n.coerce = l, n.disable = c, n.enable = d, n.enabled = u, n.humanize = kn, n.names = [], n.skips = [], n.formatters = {};
479
+ var o;
480
+ function t(s) {
481
+ var m = 0, p;
482
+ for (p in s)
483
+ m = (m << 5) - m + s.charCodeAt(p), m |= 0;
484
+ return n.colors[Math.abs(m) % n.colors.length];
485
+ }
486
+ function a(s) {
487
+ function m() {
488
+ if (m.enabled) {
489
+ var p = m, f = +/* @__PURE__ */ new Date(), g = f - (o || f);
490
+ p.diff = g, p.prev = o, p.curr = f, o = f;
491
+ for (var k = new Array(arguments.length), D = 0; D < k.length; D++)
492
+ k[D] = arguments[D];
493
+ k[0] = n.coerce(k[0]), typeof k[0] != "string" && k.unshift("%O");
494
+ var N = 0;
495
+ k[0] = k[0].replace(/%([a-zA-Z%])/g, function(y, Z) {
496
+ if (y === "%%")
497
+ return y;
498
+ N++;
499
+ var U = n.formatters[Z];
500
+ if (typeof U == "function") {
501
+ var I = k[N];
502
+ y = U.call(p, I), k.splice(N, 1), N--;
503
+ }
504
+ return y;
505
+ }), n.formatArgs.call(p, k);
506
+ var E = m.log || n.log || console.log.bind(console);
507
+ E.apply(p, k);
508
+ }
509
+ }
510
+ return m.namespace = s, m.enabled = n.enabled(s), m.useColors = n.useColors(), m.color = t(s), typeof n.init == "function" && n.init(m), m;
511
+ }
512
+ function d(s) {
513
+ n.save(s), n.names = [], n.skips = [];
514
+ for (var m = (typeof s == "string" ? s : "").split(/[\s,]+/), p = m.length, f = 0; f < p; f++)
515
+ m[f] && (s = m[f].replace(/\*/g, ".*?"), s[0] === "-" ? n.skips.push(new RegExp("^" + s.substr(1) + "$")) : n.names.push(new RegExp("^" + s + "$")));
516
+ }
517
+ function c() {
518
+ n.enable("");
519
+ }
520
+ function u(s) {
521
+ var m, p;
522
+ for (m = 0, p = n.skips.length; m < p; m++)
523
+ if (n.skips[m].test(s))
524
+ return !1;
525
+ for (m = 0, p = n.names.length; m < p; m++)
526
+ if (n.names[m].test(s))
527
+ return !0;
528
+ return !1;
529
+ }
530
+ function l(s) {
531
+ return s instanceof Error ? s.stack || s.message : s;
532
+ }
533
+ })(ee, ee.exports);
534
+ var Nn = ee.exports;
535
+ (function(e, n) {
536
+ n = e.exports = Nn, n.log = a, n.formatArgs = t, n.save = d, n.load = c, n.useColors = o, n.storage = typeof chrome < "u" && typeof chrome.storage < "u" ? chrome.storage.local : u(), n.colors = [
537
+ "lightseagreen",
538
+ "forestgreen",
539
+ "goldenrod",
540
+ "dodgerblue",
541
+ "darkorchid",
542
+ "crimson"
543
+ ];
544
+ function o() {
545
+ return typeof window < "u" && window.process && window.process.type === "renderer" ? !0 : typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // is firebug? http://stackoverflow.com/a/398120/376773
546
+ typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // is firefox >= v31?
547
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
548
+ typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // double check webkit in userAgent just in case we are in a worker
549
+ typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
550
+ }
551
+ n.formatters.j = function(l) {
552
+ try {
553
+ return JSON.stringify(l);
554
+ } catch (s) {
555
+ return "[UnexpectedJSONParseError]: " + s.message;
556
+ }
557
+ };
558
+ function t(l) {
559
+ var s = this.useColors;
560
+ if (l[0] = (s ? "%c" : "") + this.namespace + (s ? " %c" : " ") + l[0] + (s ? "%c " : " ") + "+" + n.humanize(this.diff), !!s) {
561
+ var m = "color: " + this.color;
562
+ l.splice(1, 0, m, "color: inherit");
563
+ var p = 0, f = 0;
564
+ l[0].replace(/%[a-zA-Z%]/g, function(g) {
565
+ g !== "%%" && (p++, g === "%c" && (f = p));
566
+ }), l.splice(f, 0, m);
567
+ }
568
+ }
569
+ function a() {
570
+ return typeof console == "object" && console.log && Function.prototype.apply.call(console.log, console, arguments);
571
+ }
572
+ function d(l) {
573
+ try {
574
+ l == null ? n.storage.removeItem("debug") : n.storage.debug = l;
575
+ } catch {
576
+ }
577
+ }
578
+ function c() {
579
+ var l;
580
+ try {
581
+ l = n.storage.debug;
582
+ } catch {
583
+ }
584
+ return !l && typeof process < "u" && "env" in process && (l = process.env.DEBUG), l;
585
+ }
586
+ n.enable(c());
587
+ function u() {
588
+ try {
589
+ return window.localStorage;
590
+ } catch {
591
+ }
592
+ }
593
+ })(J, J.exports);
594
+ var yn = J.exports, fe = yn("jsonp"), Dn = jn, En = 0;
595
+ function Sn() {
596
+ }
597
+ function jn(e, n, o) {
598
+ typeof n == "function" && (o = n, n = {}), n || (n = {});
599
+ var t = n.prefix || "__jp", a = n.name || t + En++, d = n.param || "callback", c = n.timeout != null ? n.timeout : 6e4, u = encodeURIComponent, l = document.getElementsByTagName("script")[0] || document.head, s, m;
600
+ c && (m = setTimeout(function() {
601
+ p(), o && o(new Error("Timeout"));
602
+ }, c));
603
+ function p() {
604
+ s.parentNode && s.parentNode.removeChild(s), window[a] = Sn, m && clearTimeout(m);
605
+ }
606
+ function f() {
607
+ window[a] && p();
608
+ }
609
+ return window[a] = function(g) {
610
+ fe("jsonp got", g), p(), o && o(null, g);
611
+ }, e += (~e.indexOf("?") ? "&" : "?") + d + "=" + u(a), e = e.replace("?&", "?"), fe('jsonp req "%s"', e), s = document.createElement("script"), s.src = e, l.parentNode.insertBefore(s, l), f;
612
+ }
613
+ const P = /* @__PURE__ */ Te(Dn);
614
+ var Pn = Object.defineProperty, Tn = Object.defineProperties, Un = Object.getOwnPropertyDescriptors, H = Object.getOwnPropertySymbols, Ce = Object.prototype.hasOwnProperty, Ne = Object.prototype.propertyIsEnumerable, be = (e, n, o) => n in e ? Pn(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o, v = (e, n) => {
615
+ for (var o in n || (n = {}))
616
+ Ce.call(n, o) && be(e, o, n[o]);
617
+ if (H)
618
+ for (var o of H(n))
619
+ Ne.call(n, o) && be(e, o, n[o]);
620
+ return e;
621
+ }, oe = (e, n) => Tn(e, Un(n)), te = (e, n) => {
622
+ var o = {};
623
+ for (var t in e)
624
+ Ce.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
625
+ if (e != null && H)
626
+ for (var t of H(e))
627
+ n.indexOf(t) < 0 && Ne.call(e, t) && (o[t] = e[t]);
628
+ return o;
629
+ };
630
+ function b(e) {
631
+ const n = Object.entries(e).filter(([, o]) => o != null).map(([o, t]) => `${encodeURIComponent(o)}=${encodeURIComponent(String(t))}`);
632
+ return n.length > 0 ? `?${n.join("&")}` : "";
633
+ }
634
+ const Vn = (e) => !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function", An = (e, n) => ({
635
+ left: window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - e / 2,
636
+ top: window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - n / 2
637
+ }), Mn = (e, n) => ({
638
+ top: (window.screen.height - n) / 2,
639
+ left: (window.screen.width - e) / 2
640
+ });
641
+ function _n(e, n, o) {
642
+ var t = n, { height: a, width: d } = t, c = te(t, ["height", "width"]);
643
+ const u = v({
644
+ height: a,
645
+ width: d,
646
+ location: "no",
647
+ toolbar: "no",
648
+ status: "no",
649
+ directories: "no",
650
+ menubar: "no",
651
+ scrollbars: "yes",
652
+ resizable: "no",
653
+ centerscreen: "yes",
654
+ chrome: "yes"
655
+ }, c), l = window.open(
656
+ e,
657
+ "",
658
+ Object.keys(u).map((s) => `${s}=${u[s]}`).join(", ")
659
+ );
660
+ if (o) {
661
+ const s = window.setInterval(() => {
662
+ try {
663
+ (l === null || l.closed) && (window.clearInterval(s), o(l));
664
+ } catch (m) {
665
+ console.error(m);
666
+ }
667
+ }, 1e3);
668
+ }
669
+ return l;
670
+ }
671
+ function Xn(e) {
672
+ var n = e, {
673
+ beforeOnClick: o,
674
+ children: t,
675
+ className: a,
676
+ disabled: d,
677
+ disabledStyle: c = { opacity: 0.6 },
678
+ forwardedRef: u,
679
+ htmlTitle: l,
680
+ networkLink: s,
681
+ networkName: m,
682
+ onClick: p,
683
+ onShareWindowClose: f,
684
+ openShareDialogOnClick: g = !0,
685
+ opts: k,
686
+ resetButtonStyle: D = !0,
687
+ style: N,
688
+ url: E,
689
+ windowHeight: y = 400,
690
+ windowPosition: Z = "windowCenter",
691
+ windowWidth: U = 550
692
+ } = n, I = te(n, [
693
+ "beforeOnClick",
694
+ "children",
695
+ "className",
696
+ "disabled",
697
+ "disabledStyle",
698
+ "forwardedRef",
699
+ "htmlTitle",
700
+ "networkLink",
701
+ "networkName",
702
+ "onClick",
703
+ "onShareWindowClose",
704
+ "openShareDialogOnClick",
705
+ "opts",
706
+ "resetButtonStyle",
707
+ "style",
708
+ "url",
709
+ "windowHeight",
710
+ "windowPosition",
711
+ "windowWidth"
712
+ ]);
713
+ const De = async (re) => {
714
+ const ie = s(E, k);
715
+ if (!d) {
716
+ if (re.preventDefault(), o) {
717
+ const O = o();
718
+ Vn(O) && await O;
719
+ }
720
+ if (g) {
721
+ const O = v({
722
+ height: y,
723
+ width: U
724
+ }, Z === "windowCenter" ? An(U, y) : Mn(U, y));
725
+ _n(ie, O, f);
726
+ }
727
+ p && p(re, ie);
728
+ }
729
+ }, Ee = ke(
730
+ "react-share__ShareButton",
731
+ {
732
+ "react-share__ShareButton--disabled": !!d,
733
+ disabled: !!d
734
+ },
735
+ a
736
+ ), Se = v(v(D ? {
737
+ backgroundColor: "transparent",
738
+ border: "none",
739
+ padding: 0,
740
+ font: "inherit",
741
+ color: "inherit",
742
+ cursor: "pointer"
743
+ } : {}, N), d && c);
744
+ return /* @__PURE__ */ S(
745
+ "button",
746
+ oe(v({}, I), {
747
+ className: Ee,
748
+ onClick: De,
749
+ ref: u,
750
+ style: Se,
751
+ title: l,
752
+ children: t
753
+ })
754
+ );
755
+ }
756
+ function x(e, n, o, t) {
757
+ function a(d, c) {
758
+ const u = o(d), l = v({}, d);
759
+ return Object.keys(u).forEach((m) => {
760
+ delete l[m];
761
+ }), /* @__PURE__ */ S(
762
+ Xn,
763
+ oe(v(v({}, t), l), {
764
+ forwardedRef: c,
765
+ networkName: e,
766
+ networkLink: n,
767
+ opts: o(d)
768
+ })
769
+ );
770
+ }
771
+ return a.displayName = `ShareButton-${e}`, Ae(a);
772
+ }
773
+ function Ln(e, { subject: n, body: o, separator: t }) {
774
+ return "mailto:" + b({ subject: n, body: o ? o + t + e : e });
775
+ }
776
+ x(
777
+ "email",
778
+ Ln,
779
+ (e) => ({
780
+ subject: e.subject,
781
+ body: e.body,
782
+ separator: e.separator || " "
783
+ }),
784
+ {
785
+ openShareDialogOnClick: !1,
786
+ onClick: (e, n) => {
787
+ window.location.href = n;
788
+ }
789
+ }
790
+ );
791
+ function On(e, { appId: n, redirectUri: o, to: t }) {
792
+ return "https://www.facebook.com/dialog/send" + b({
793
+ link: e,
794
+ redirect_uri: o || e,
795
+ app_id: n,
796
+ to: t
797
+ });
798
+ }
799
+ x(
800
+ "facebookmessenger",
801
+ On,
802
+ (e) => ({
803
+ appId: e.appId,
804
+ redirectUri: e.redirectUri,
805
+ to: e.to
806
+ }),
807
+ {
808
+ windowWidth: 1e3,
809
+ windowHeight: 820
810
+ }
811
+ );
812
+ class Rn extends Error {
813
+ constructor(n) {
814
+ super(n), this.name = "AssertionError";
815
+ }
816
+ }
817
+ function h(e, n) {
818
+ if (!e)
819
+ throw new Rn(n);
820
+ }
821
+ function Bn(e, { hashtag: n }) {
822
+ return h(e, "facebook.url"), "https://www.facebook.com/sharer/sharer.php" + b({ u: e, hashtag: n });
823
+ }
824
+ const Wn = x(
825
+ "facebook",
826
+ Bn,
827
+ (e) => ({ hashtag: e.hashtag }),
828
+ {
829
+ windowWidth: 550,
830
+ windowHeight: 400
831
+ }
832
+ ), Hn = Wn;
833
+ function $n() {
834
+ const e = Me(!1);
835
+ return we(() => (e.current = !0, () => {
836
+ e.current = !1;
837
+ }), []), _e(() => e.current, []);
838
+ }
839
+ function zn(e) {
840
+ var n = e, {
841
+ children: o = (f) => f,
842
+ className: t,
843
+ getCount: a,
844
+ url: d
845
+ } = n, c = te(n, [
846
+ "children",
847
+ "className",
848
+ "getCount",
849
+ "url"
850
+ ]);
851
+ const u = $n(), [l, s] = B(void 0), [m, p] = B(!1);
852
+ return we(() => {
853
+ p(!0), a(d, (f) => {
854
+ u() && (s(f), p(!1));
855
+ });
856
+ }, [d]), /* @__PURE__ */ S("span", oe(v({ className: ke("react-share__ShareCount", t) }, c), { children: !m && l !== void 0 && o(l) }));
857
+ }
858
+ function T(e) {
859
+ const n = (o) => /* @__PURE__ */ S(zn, v({ getCount: e }, o));
860
+ return n.displayName = `ShareCount(${e.name})`, n;
861
+ }
862
+ function Fn(e, n) {
863
+ const o = `https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;
864
+ P(o, (t, a) => {
865
+ n(
866
+ !t && a && a.og_object && a.og_object.engagement ? a.og_object.engagement.count : void 0
867
+ );
868
+ });
869
+ }
870
+ T(Fn);
871
+ function Kn(e, { title: n }) {
872
+ return h(e, "hatena.url"), `http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${n}`;
873
+ }
874
+ x(
875
+ "hatena",
876
+ Kn,
877
+ (e) => ({
878
+ title: e.title
879
+ }),
880
+ {
881
+ windowWidth: 660,
882
+ windowHeight: 460,
883
+ windowPosition: "windowCenter"
884
+ }
885
+ );
886
+ function Gn(e, n) {
887
+ P(
888
+ "https://bookmark.hatenaapis.com/count/entry" + b({
889
+ url: e
890
+ }),
891
+ (t, a) => {
892
+ n(a ?? void 0);
893
+ }
894
+ );
895
+ }
896
+ T(Gn);
897
+ function qn(e, { title: n, description: o }) {
898
+ return h(e, "instapaper.url"), "http://www.instapaper.com/hello2" + b({
899
+ url: e,
900
+ title: n,
901
+ description: o
902
+ });
903
+ }
904
+ x(
905
+ "instapaper",
906
+ qn,
907
+ (e) => ({
908
+ title: e.title,
909
+ description: e.description
910
+ }),
911
+ {
912
+ windowWidth: 500,
913
+ windowHeight: 500,
914
+ windowPosition: "windowCenter"
915
+ }
916
+ );
917
+ function Qn(e, { title: n }) {
918
+ return h(e, "line.url"), "https://social-plugins.line.me/lineit/share" + b({
919
+ url: e,
920
+ text: n
921
+ });
922
+ }
923
+ x(
924
+ "line",
925
+ Qn,
926
+ (e) => ({
927
+ title: e.title
928
+ }),
929
+ {
930
+ windowWidth: 500,
931
+ windowHeight: 500
932
+ }
933
+ );
934
+ function Yn(e, { title: n, summary: o, source: t }) {
935
+ return h(e, "linkedin.url"), "https://linkedin.com/shareArticle" + b({ url: e, mini: "true", title: n, summary: o, source: t });
936
+ }
937
+ const Zn = x(
938
+ "linkedin",
939
+ Yn,
940
+ ({ title: e, summary: n, source: o }) => ({ title: e, summary: n, source: o }),
941
+ {
942
+ windowWidth: 750,
943
+ windowHeight: 600
944
+ }
945
+ ), In = Zn;
946
+ function Jn(e, { title: n, description: o }) {
947
+ return h(e, "livejournal.url"), "https://www.livejournal.com/update.bml" + b({
948
+ subject: n,
949
+ event: o
950
+ });
951
+ }
952
+ x(
953
+ "livejournal",
954
+ Jn,
955
+ (e) => ({
956
+ title: e.title,
957
+ description: e.description
958
+ }),
959
+ {
960
+ windowWidth: 660,
961
+ windowHeight: 460
962
+ }
963
+ );
964
+ function eo(e, { title: n, description: o, imageUrl: t }) {
965
+ return h(e, "mailru.url"), "https://connect.mail.ru/share" + b({
966
+ url: e,
967
+ title: n,
968
+ description: o,
969
+ image_url: t
970
+ });
971
+ }
972
+ x(
973
+ "mailru",
974
+ eo,
975
+ (e) => ({
976
+ title: e.title,
977
+ description: e.description,
978
+ imageUrl: e.imageUrl
979
+ }),
980
+ {
981
+ windowWidth: 660,
982
+ windowHeight: 460
983
+ }
984
+ );
985
+ function no(e, { title: n, description: o, image: t }) {
986
+ return h(e, "ok.url"), "https://connect.ok.ru/offer" + b({
987
+ url: e,
988
+ title: n,
989
+ description: o,
990
+ imageUrl: t
991
+ });
992
+ }
993
+ x(
994
+ "ok",
995
+ no,
996
+ (e) => ({
997
+ title: e.title,
998
+ description: e.description,
999
+ image: e.image
1000
+ }),
1001
+ {
1002
+ windowWidth: 588,
1003
+ windowHeight: 480,
1004
+ windowPosition: "screenCenter"
1005
+ }
1006
+ );
1007
+ function oo(e, n) {
1008
+ window.OK || (window.OK = {
1009
+ Share: {
1010
+ count: function(d, c) {
1011
+ var u, l;
1012
+ (l = (u = window.OK.callbacks)[d]) == null || l.call(u, c);
1013
+ }
1014
+ },
1015
+ callbacks: []
1016
+ });
1017
+ const o = "https://connect.ok.ru/dk", t = window.OK.callbacks.length;
1018
+ return window.ODKL = {
1019
+ updateCount(a, d) {
1020
+ var c, u;
1021
+ const l = a === "" ? 0 : parseInt(a.replace("react-share-", ""), 10);
1022
+ (u = (c = window.OK.callbacks)[l]) == null || u.call(c, d === "" ? void 0 : parseInt(d, 10));
1023
+ }
1024
+ }, window.OK.callbacks.push(n), P(
1025
+ o + b({
1026
+ "st.cmd": "extLike",
1027
+ uid: `react-share-${t}`,
1028
+ ref: e
1029
+ })
1030
+ );
1031
+ }
1032
+ T(oo);
1033
+ function to(e, { media: n, description: o, pinId: t }) {
1034
+ return t ? `https://pinterest.com/pin/${t}/repin/x/` : (h(e, "pinterest.url"), h(n, "pinterest.media"), "https://pinterest.com/pin/create/button/" + b({
1035
+ url: e,
1036
+ media: n,
1037
+ description: o
1038
+ }));
1039
+ }
1040
+ x(
1041
+ "pinterest",
1042
+ to,
1043
+ (e) => ({
1044
+ media: e.media,
1045
+ description: e.description,
1046
+ pinId: e.pinId
1047
+ }),
1048
+ {
1049
+ windowWidth: 1e3,
1050
+ windowHeight: 730
1051
+ }
1052
+ );
1053
+ function ao(e, n) {
1054
+ P(
1055
+ "https://api.pinterest.com/v1/urls/count.json" + b({
1056
+ url: e
1057
+ }),
1058
+ (t, a) => {
1059
+ n(a ? a.count : void 0);
1060
+ }
1061
+ );
1062
+ }
1063
+ T(ao);
1064
+ function ro(e, { title: n }) {
1065
+ return h(e, "pocket.url"), "https://getpocket.com/save" + b({
1066
+ url: e,
1067
+ title: n
1068
+ });
1069
+ }
1070
+ x(
1071
+ "pocket",
1072
+ ro,
1073
+ (e) => ({
1074
+ title: e.title
1075
+ }),
1076
+ {
1077
+ windowWidth: 500,
1078
+ windowHeight: 500
1079
+ }
1080
+ );
1081
+ function io(e, { title: n }) {
1082
+ return h(e, "reddit.url"), "https://www.reddit.com/submit" + b({
1083
+ url: e,
1084
+ title: n
1085
+ });
1086
+ }
1087
+ x(
1088
+ "reddit",
1089
+ io,
1090
+ (e) => ({
1091
+ title: e.title
1092
+ }),
1093
+ {
1094
+ windowWidth: 660,
1095
+ windowHeight: 460,
1096
+ windowPosition: "windowCenter"
1097
+ }
1098
+ );
1099
+ function so(e, { title: n }) {
1100
+ return h(e, "gab.url"), "https://gab.com/compose" + b({
1101
+ url: e,
1102
+ text: n
1103
+ });
1104
+ }
1105
+ x(
1106
+ "gab",
1107
+ so,
1108
+ (e) => ({
1109
+ title: e.title
1110
+ }),
1111
+ {
1112
+ windowWidth: 660,
1113
+ windowHeight: 640,
1114
+ windowPosition: "windowCenter"
1115
+ }
1116
+ );
1117
+ function lo(e, n) {
1118
+ const o = `https://www.reddit.com/api/info.json?limit=1&url=${e}`;
1119
+ P(o, { param: "jsonp" }, (t, a) => {
1120
+ n(
1121
+ !t && a && a.data && a.data.children.length > 0 && a.data.children[0].data.score ? a.data.children[0].data.score : void 0
1122
+ );
1123
+ });
1124
+ }
1125
+ T(lo);
1126
+ function co(e, { title: n }) {
1127
+ return h(e, "telegram.url"), "https://telegram.me/share/url" + b({
1128
+ url: e,
1129
+ text: n
1130
+ });
1131
+ }
1132
+ x(
1133
+ "telegram",
1134
+ co,
1135
+ (e) => ({
1136
+ title: e.title
1137
+ }),
1138
+ {
1139
+ windowWidth: 550,
1140
+ windowHeight: 400
1141
+ }
1142
+ );
1143
+ function mo(e, {
1144
+ title: n,
1145
+ caption: o,
1146
+ tags: t,
1147
+ posttype: a
1148
+ }) {
1149
+ return h(e, "tumblr.url"), "https://www.tumblr.com/widgets/share/tool" + b({
1150
+ canonicalUrl: e,
1151
+ title: n,
1152
+ caption: o,
1153
+ tags: t,
1154
+ posttype: a
1155
+ });
1156
+ }
1157
+ x(
1158
+ "tumblr",
1159
+ mo,
1160
+ (e) => ({
1161
+ title: e.title,
1162
+ tags: (e.tags || []).join(","),
1163
+ caption: e.caption,
1164
+ posttype: e.posttype || "link"
1165
+ }),
1166
+ {
1167
+ windowWidth: 660,
1168
+ windowHeight: 460
1169
+ }
1170
+ );
1171
+ function uo(e, n) {
1172
+ return P(
1173
+ "https://api.tumblr.com/v2/share/stats" + b({
1174
+ url: e
1175
+ }),
1176
+ (t, a) => {
1177
+ n(!t && a && a.response ? a.response.note_count : void 0);
1178
+ }
1179
+ );
1180
+ }
1181
+ T(uo);
1182
+ function po(e, {
1183
+ title: n,
1184
+ via: o,
1185
+ hashtags: t = [],
1186
+ related: a = []
1187
+ }) {
1188
+ return h(e, "twitter.url"), h(Array.isArray(t), "twitter.hashtags is not an array"), h(Array.isArray(a), "twitter.related is not an array"), "https://twitter.com/intent/tweet" + b({
1189
+ url: e,
1190
+ text: n,
1191
+ via: o,
1192
+ hashtags: t.length > 0 ? t.join(",") : void 0,
1193
+ related: a.length > 0 ? a.join(",") : void 0
1194
+ });
1195
+ }
1196
+ x(
1197
+ "twitter",
1198
+ po,
1199
+ (e) => ({
1200
+ hashtags: e.hashtags,
1201
+ title: e.title,
1202
+ via: e.via,
1203
+ related: e.related
1204
+ }),
1205
+ {
1206
+ windowWidth: 550,
1207
+ windowHeight: 400
1208
+ }
1209
+ );
1210
+ function fo(e, { title: n, separator: o }) {
1211
+ return h(e, "viber.url"), "viber://forward" + b({
1212
+ text: n ? n + o + e : e
1213
+ });
1214
+ }
1215
+ x(
1216
+ "viber",
1217
+ fo,
1218
+ (e) => ({
1219
+ title: e.title,
1220
+ separator: e.separator || " "
1221
+ }),
1222
+ {
1223
+ windowWidth: 660,
1224
+ windowHeight: 460
1225
+ }
1226
+ );
1227
+ function bo(e, { title: n, image: o, noParse: t, noVkLinks: a }) {
1228
+ return h(e, "vk.url"), "https://vk.com/share.php" + b({
1229
+ url: e,
1230
+ title: n,
1231
+ image: o,
1232
+ noparse: t ? 1 : 0,
1233
+ no_vk_links: a ? 1 : 0
1234
+ });
1235
+ }
1236
+ x(
1237
+ "vk",
1238
+ bo,
1239
+ (e) => ({
1240
+ title: e.title,
1241
+ image: e.image,
1242
+ noParse: e.noParse,
1243
+ noVkLinks: e.noVkLinks
1244
+ }),
1245
+ {
1246
+ windowWidth: 660,
1247
+ windowHeight: 460
1248
+ }
1249
+ );
1250
+ function ho(e, n) {
1251
+ window.VK || (window.VK = {}), window.VK.Share = {
1252
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1253
+ count: (a, d) => {
1254
+ var c, u;
1255
+ return (u = (c = window.VK.callbacks) == null ? void 0 : c[a]) == null ? void 0 : u.call(c, d);
1256
+ }
1257
+ }, window.VK.callbacks = [];
1258
+ const o = "https://vk.com/share.php", t = window.VK.callbacks.length;
1259
+ return window.VK.callbacks.push(n), P(
1260
+ o + b({
1261
+ act: "count",
1262
+ index: t,
1263
+ url: e
1264
+ })
1265
+ );
1266
+ }
1267
+ T(ho);
1268
+ function xo(e, { title: n, image: o }) {
1269
+ return h(e, "weibo.url"), "http://service.weibo.com/share/share.php" + b({
1270
+ url: e,
1271
+ title: n,
1272
+ pic: o
1273
+ });
1274
+ }
1275
+ x(
1276
+ "weibo",
1277
+ xo,
1278
+ (e) => ({
1279
+ title: e.title,
1280
+ image: e.image
1281
+ }),
1282
+ {
1283
+ windowWidth: 660,
1284
+ windowHeight: 550,
1285
+ windowPosition: "screenCenter"
1286
+ }
1287
+ );
1288
+ function wo() {
1289
+ return /(android|iphone|ipad|mobile)/i.test(navigator.userAgent);
1290
+ }
1291
+ function ko(e, { title: n, separator: o }) {
1292
+ return h(e, "whatsapp.url"), "https://" + (wo() ? "api" : "web") + ".whatsapp.com/send" + b({
1293
+ text: n ? n + o + e : e
1294
+ });
1295
+ }
1296
+ x(
1297
+ "whatsapp",
1298
+ ko,
1299
+ (e) => ({
1300
+ title: e.title,
1301
+ separator: e.separator || " "
1302
+ }),
1303
+ {
1304
+ windowWidth: 550,
1305
+ windowHeight: 400
1306
+ }
1307
+ );
1308
+ function go(e, { quote: n, hashtag: o }) {
1309
+ return h(e, "workplace.url"), "https://work.facebook.com/sharer.php" + b({
1310
+ u: e,
1311
+ quote: n,
1312
+ hashtag: o
1313
+ });
1314
+ }
1315
+ x(
1316
+ "workplace",
1317
+ go,
1318
+ (e) => ({
1319
+ quote: e.quote,
1320
+ hashtag: e.hashtag
1321
+ }),
1322
+ {
1323
+ windowWidth: 550,
1324
+ windowHeight: 400
1325
+ }
1326
+ );
1327
+ var ae = {}, vo = Re;
1328
+ Object.defineProperty(ae, "__esModule", {
1329
+ value: !0
1330
+ });
1331
+ var ye = ae.default = void 0, Co = vo(Oe()), No = Xe, yo = (0, Co.default)(/* @__PURE__ */ (0, No.jsx)("circle", {
1332
+ cx: "12",
1333
+ cy: "12",
1334
+ r: "8"
1335
+ }), "FiberManualRecord");
1336
+ ye = ae.default = yo;
1337
+ const Do = Be((e) => {
1338
+ var n, o, t, a, d, c, u, l, s;
1339
+ return {
1340
+ embedDesktopTabCardWp: {
1341
+ boxShadow: "none !important",
1342
+ overflow: "hidden",
1343
+ borderRadius: `${(n = e == null ? void 0 : e.borderRadius) == null ? void 0 : n.value} !important`,
1344
+ border: `1px solid ${(t = (o = e == null ? void 0 : e.palette) == null ? void 0 : o.customColor) == null ? void 0 : t.LINE}`,
1345
+ background: (d = (a = e == null ? void 0 : e.palette) == null ? void 0 : a.customColor) == null ? void 0 : d.BGLIGHT,
1346
+ cursor: "pointer",
1347
+ "& .card-container": {
1348
+ width: "100%",
1349
+ overflow: "hidden",
1350
+ [e.breakpoints.up("sm")]: {
1351
+ height: "270px"
1352
+ }
1353
+ },
1354
+ "& .card-content-area": {
1355
+ overflow: "hidden",
1356
+ display: "flex",
1357
+ flexDirection: "column",
1358
+ background: (u = (c = e == null ? void 0 : e.palette) == null ? void 0 : c.customColor) == null ? void 0 : u.BGLIGHT,
1359
+ "& .contentBox": {
1360
+ flex: "1 0 auto",
1361
+ padding: "20px 20px 0px 20px !important",
1362
+ overflow: "hidden",
1363
+ flexDirection: "column",
1364
+ [e.breakpoints.down("sm")]: {
1365
+ overflow: "initial"
1366
+ },
1367
+ "& .cardActionWp": {
1368
+ borderTop: `1px solid ${(s = (l = e == null ? void 0 : e.palette) == null ? void 0 : l.customColor) == null ? void 0 : s.LINE}`,
1369
+ padding: "20px 0px",
1370
+ display: "flex",
1371
+ justifyContent: "start",
1372
+ width: "100%",
1373
+ marginTop: "20px",
1374
+ [e.breakpoints.down("sm")]: {
1375
+ alignItems: "baseline"
1376
+ }
1377
+ },
1378
+ "& .TopContentBox": {
1379
+ width: "100%"
1380
+ }
1381
+ }
1382
+ }
1383
+ }
1384
+ };
1385
+ }), Eo = `
1386
+ .doticon .Platform-x-SvgIcon-root{
1387
+ font-size: 6px;
1388
+ }
1389
+ .doticon svg.MuiSvgIcon-root {
1390
+ font-size: 6px;
1391
+ }
1392
+ .embededtitle {
1393
+ display: -webkit-box;
1394
+ -webkit-box-orient: vertical;
1395
+ overflow: hidden;
1396
+ word-wrap: break-word;
1397
+ }
1398
+ .embededdesc {
1399
+ display: -webkit-box;
1400
+ -webkit-box-orient: vertical;
1401
+ overflow: hidden;
1402
+ word-wrap: break-word;
1403
+ }
1404
+ `, So = ({ content: e }) => {
1405
+ const n = We(e == null ? void 0 : e.Description) || "", o = Do();
1406
+ return /* @__PURE__ */ r.jsxDEV(
1407
+ ne,
1408
+ {
1409
+ className: o.embedDesktopTabCardWp,
1410
+ sx: {
1411
+ margin: { xs: "8px 0px 8px 0", sm: "0" }
1412
+ },
1413
+ onClick: () => window.open(e == null ? void 0 : e.LandingPage, "_blank"),
1414
+ children: /* @__PURE__ */ r.jsxDEV(V, { container: !0, children: [
1415
+ /* @__PURE__ */ r.jsxDEV(V, { item: !0, xs: 12, className: "card-container", children: [
1416
+ /* @__PURE__ */ r.jsxDEV("style", { children: Eo }, void 0, !1, {
1417
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1418
+ lineNumber: 62,
1419
+ columnNumber: 11
1420
+ }, void 0),
1421
+ (e == null ? void 0 : e.colorCode) !== void 0 && (e == null ? void 0 : e.colorCode) !== "" ? /* @__PURE__ */ r.jsxDEV(
1422
+ w,
1423
+ {
1424
+ sx: {
1425
+ height: "100%",
1426
+ width: "100%",
1427
+ background: e == null ? void 0 : e.colorCode
1428
+ }
1429
+ },
1430
+ void 0,
1431
+ !1,
1432
+ {
1433
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1434
+ lineNumber: 64,
1435
+ columnNumber: 13
1436
+ },
1437
+ void 0
1438
+ ) : /* @__PURE__ */ r.jsxDEV(
1439
+ He,
1440
+ {
1441
+ component: "img",
1442
+ image: e == null ? void 0 : e.Thumbnail,
1443
+ sx: {
1444
+ overflow: "hidden",
1445
+ height: "100%"
1446
+ },
1447
+ alt: "Image",
1448
+ className: "cardmediaimg"
1449
+ },
1450
+ void 0,
1451
+ !1,
1452
+ {
1453
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1454
+ lineNumber: 72,
1455
+ columnNumber: 13
1456
+ },
1457
+ void 0
1458
+ )
1459
+ ] }, void 0, !0, {
1460
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1461
+ lineNumber: 61,
1462
+ columnNumber: 9
1463
+ }, void 0),
1464
+ /* @__PURE__ */ r.jsxDEV(V, { item: !0, xs: 12, className: "card-content-area", children: /* @__PURE__ */ r.jsxDEV(ve, { className: "contentBox", children: [
1465
+ /* @__PURE__ */ r.jsxDEV(w, { className: "TopContentBox", children: [
1466
+ /* @__PURE__ */ r.jsxDEV(
1467
+ j,
1468
+ {
1469
+ gutterBottom: !0,
1470
+ variant: "h3bold",
1471
+ className: "embededtitle",
1472
+ sx: {
1473
+ WebkitLineClamp: { xs: "2" }
1474
+ },
1475
+ children: e == null ? void 0 : e.Title
1476
+ },
1477
+ void 0,
1478
+ !1,
1479
+ {
1480
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1481
+ lineNumber: 87,
1482
+ columnNumber: 15
1483
+ },
1484
+ void 0
1485
+ ),
1486
+ /* @__PURE__ */ r.jsxDEV(
1487
+ j,
1488
+ {
1489
+ variant: "p3regular",
1490
+ sx: {
1491
+ WebkitLineClamp: { xs: "2" }
1492
+ },
1493
+ className: "embededdesc",
1494
+ children: n
1495
+ },
1496
+ void 0,
1497
+ !1,
1498
+ {
1499
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1500
+ lineNumber: 96,
1501
+ columnNumber: 15
1502
+ },
1503
+ void 0
1504
+ )
1505
+ ] }, void 0, !0, {
1506
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1507
+ lineNumber: 86,
1508
+ columnNumber: 13
1509
+ }, void 0),
1510
+ /* @__PURE__ */ r.jsxDEV(ge, { className: "cardActionWp", children: [
1511
+ /* @__PURE__ */ r.jsxDEV(j, { variant: "p4semibold", children: e == null ? void 0 : e.Author }, void 0, !1, {
1512
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1513
+ lineNumber: 106,
1514
+ columnNumber: 15
1515
+ }, void 0),
1516
+ /* @__PURE__ */ r.jsxDEV(
1517
+ j,
1518
+ {
1519
+ variant: "p4regular",
1520
+ sx: {
1521
+ display: { xs: "block", sm: "none" },
1522
+ marginLeft: "8px"
1523
+ },
1524
+ className: "doticon",
1525
+ children: /* @__PURE__ */ r.jsxDEV(ye, {}, void 0, !1, {
1526
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1527
+ lineNumber: 114,
1528
+ columnNumber: 17
1529
+ }, void 0)
1530
+ },
1531
+ void 0,
1532
+ !1,
1533
+ {
1534
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1535
+ lineNumber: 107,
1536
+ columnNumber: 15
1537
+ },
1538
+ void 0
1539
+ ),
1540
+ /* @__PURE__ */ r.jsxDEV(j, { variant: "p4regular", children: $e(e == null ? void 0 : e.creationDate) }, void 0, !1, {
1541
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1542
+ lineNumber: 116,
1543
+ columnNumber: 15
1544
+ }, void 0)
1545
+ ] }, void 0, !0, {
1546
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1547
+ lineNumber: 105,
1548
+ columnNumber: 13
1549
+ }, void 0)
1550
+ ] }, void 0, !0, {
1551
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1552
+ lineNumber: 85,
1553
+ columnNumber: 11
1554
+ }, void 0) }, void 0, !1, {
1555
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1556
+ lineNumber: 84,
1557
+ columnNumber: 9
1558
+ }, void 0)
1559
+ ] }, void 0, !0, {
1560
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1561
+ lineNumber: 60,
1562
+ columnNumber: 7
1563
+ }, void 0)
1564
+ },
1565
+ void 0,
1566
+ !1,
1567
+ {
1568
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
1569
+ lineNumber: 54,
1570
+ columnNumber: 5
1571
+ },
1572
+ void 0
1573
+ );
1574
+ };
1575
+ function he({ maxWidth: e = 350, maxHeight: n }) {
1576
+ return /* @__PURE__ */ r.jsxDEV(
1577
+ ne,
1578
+ {
1579
+ sx: {
1580
+ maxWidth: e,
1581
+ maxHeight: n,
1582
+ m: 2,
1583
+ border: "none",
1584
+ boxShadow: "none"
1585
+ },
1586
+ children: [
1587
+ /* @__PURE__ */ r.jsxDEV(A, { sx: { height: 190, marginBottom: 2 }, animation: "wave", variant: "rectangular" }, void 0, !1, {
1588
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
1589
+ lineNumber: 18,
1590
+ columnNumber: 7
1591
+ }, this),
1592
+ /* @__PURE__ */ r.jsxDEV(A, { animation: "wave", width: "40%", height: 15, style: { marginBottom: 15 } }, void 0, !1, {
1593
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
1594
+ lineNumber: 19,
1595
+ columnNumber: 7
1596
+ }, this),
1597
+ /* @__PURE__ */ r.jsxDEV(A, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } }, void 0, !1, {
1598
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
1599
+ lineNumber: 20,
1600
+ columnNumber: 7
1601
+ }, this),
1602
+ /* @__PURE__ */ r.jsxDEV(A, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } }, void 0, !1, {
1603
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
1604
+ lineNumber: 21,
1605
+ columnNumber: 7
1606
+ }, this)
1607
+ ]
1608
+ },
1609
+ void 0,
1610
+ !0,
1611
+ {
1612
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
1613
+ lineNumber: 10,
1614
+ columnNumber: 5
1615
+ },
1616
+ this
1617
+ );
1618
+ }
1619
+ const jo = ({ selectedItem: e }) => {
1620
+ const [n, o] = B(!1), t = {
1621
+ Title: e == null ? void 0 : e.Title,
1622
+ Description: e == null ? void 0 : e.Description,
1623
+ Thumbnail: e == null ? void 0 : e.Thumbnail,
1624
+ Author: e == null ? void 0 : e.Author,
1625
+ creationDate: e == null ? void 0 : e.creationDate,
1626
+ Page: e == null ? void 0 : e.Page,
1627
+ LandingPage: e == null ? void 0 : e.LandingPage,
1628
+ ContentURL: e == null ? void 0 : e.ContentURL
1629
+ }, a = `
1630
+ <iframe src="${t == null ? void 0 : t.Page}" width="360" height="203" style="border:none;overflow:hidden"></iframe>
1631
+ `, d = `
1632
+ <iframe src="${t == null ? void 0 : t.Page}" width="480" height="270" style="border:none;overflow:hidden"></iframe>
1633
+ `, c = (u) => {
1634
+ navigator.clipboard.writeText(u), o(!0);
1635
+ };
1636
+ return /* @__PURE__ */ r.jsxDEV(
1637
+ w,
1638
+ {
1639
+ sx: {
1640
+ overflowY: "auto"
1641
+ },
1642
+ children: /* @__PURE__ */ r.jsxDEV(V, { container: !0, children: [
1643
+ /* @__PURE__ */ r.jsxDEV(
1644
+ V,
1645
+ {
1646
+ item: !0,
1647
+ xs: 12,
1648
+ em: 7,
1649
+ sx: {
1650
+ background: "#f5f6f8",
1651
+ display: "flex",
1652
+ alignItems: { xs: "start", md: "center" },
1653
+ height: { xs: "520px", sm: "initial", md: "initial", em: "480px" }
1654
+ },
1655
+ children: /* @__PURE__ */ r.jsxDEV(
1656
+ w,
1657
+ {
1658
+ sx: {
1659
+ width: { xs: "100%", md: "100%", lg: "100%" },
1660
+ padding: {
1661
+ xs: "56px 10px 0px 10px",
1662
+ md: "65px 0px"
1663
+ // lg: "82px 20px",
1664
+ },
1665
+ display: "flex",
1666
+ justifyContent: "center",
1667
+ alignItems: "center"
1668
+ },
1669
+ className: "card1",
1670
+ children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ r.jsxDEV(So, { content: t }, void 0, !1, {
1671
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1672
+ lineNumber: 61,
1673
+ columnNumber: 15
1674
+ }, void 0) : /* @__PURE__ */ r.jsxDEV(he, { maxWidth: 480, maxHeight: 500 }, void 0, !1, {
1675
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1676
+ lineNumber: 63,
1677
+ columnNumber: 15
1678
+ }, void 0)
1679
+ },
1680
+ void 0,
1681
+ !1,
1682
+ {
1683
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1684
+ lineNumber: 47,
1685
+ columnNumber: 11
1686
+ },
1687
+ void 0
1688
+ )
1689
+ },
1690
+ void 0,
1691
+ !1,
1692
+ {
1693
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1694
+ lineNumber: 37,
1695
+ columnNumber: 9
1696
+ },
1697
+ void 0
1698
+ ),
1699
+ /* @__PURE__ */ r.jsxDEV(
1700
+ V,
1701
+ {
1702
+ item: !0,
1703
+ xs: 12,
1704
+ em: 5,
1705
+ sx: {
1706
+ padding: {
1707
+ xs: "30px 10px 0px 10px",
1708
+ sm: "30px 20px 0px 20px",
1709
+ md: "35px 25px",
1710
+ lg: "0px 25px 0px 20px"
1711
+ },
1712
+ display: "flex",
1713
+ justifyContent: "center",
1714
+ alignItems: "center"
1715
+ },
1716
+ children: /* @__PURE__ */ r.jsxDEV(
1717
+ w,
1718
+ {
1719
+ sx: {
1720
+ padding: {
1721
+ xs: "20px 0 0 0",
1722
+ md: "0"
1723
+ //lg: '20px 0px 0 0',
1724
+ },
1725
+ width: { xs: "360px", sm: "480px" }
1726
+ },
1727
+ children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ r.jsxDEV(r.Fragment, { children: [
1728
+ /* @__PURE__ */ r.jsxDEV(
1729
+ w,
1730
+ {
1731
+ sx: {
1732
+ marginBottom: { md: "25px", lg: "0" },
1733
+ padding: { xs: "0 0 10px 0", md: "0" }
1734
+ },
1735
+ children: [
1736
+ /* @__PURE__ */ r.jsxDEV(w, { children: /* @__PURE__ */ r.jsxDEV(
1737
+ j,
1738
+ {
1739
+ variant: "h3bold",
1740
+ color: "textColor1",
1741
+ padding: 0,
1742
+ margin: 0,
1743
+ sx: { textTransform: "capitalize" },
1744
+ children: "Social Embed link"
1745
+ },
1746
+ void 0,
1747
+ !1,
1748
+ {
1749
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1750
+ lineNumber: 99,
1751
+ columnNumber: 21
1752
+ },
1753
+ void 0
1754
+ ) }, void 0, !1, {
1755
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1756
+ lineNumber: 98,
1757
+ columnNumber: 19
1758
+ }, void 0),
1759
+ /* @__PURE__ */ r.jsxDEV(w, { children: /* @__PURE__ */ r.jsxDEV(
1760
+ j,
1761
+ {
1762
+ variant: "h7regular",
1763
+ padding: 0,
1764
+ margin: 0,
1765
+ sx: { color: "#89909a" },
1766
+ children: "Embed this content type anywhere on the web"
1767
+ },
1768
+ void 0,
1769
+ !1,
1770
+ {
1771
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1772
+ lineNumber: 109,
1773
+ columnNumber: 21
1774
+ },
1775
+ void 0
1776
+ ) }, void 0, !1, {
1777
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1778
+ lineNumber: 108,
1779
+ columnNumber: 19
1780
+ }, void 0)
1781
+ ]
1782
+ },
1783
+ void 0,
1784
+ !0,
1785
+ {
1786
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1787
+ lineNumber: 93,
1788
+ columnNumber: 17
1789
+ },
1790
+ void 0
1791
+ ),
1792
+ /* @__PURE__ */ r.jsxDEV(
1793
+ w,
1794
+ {
1795
+ sx: {
1796
+ height: { lg: "295px", xl: "225px" },
1797
+ // height: "auto",
1798
+ overflowY: "auto",
1799
+ borderRadius: "5px",
1800
+ border: "solid 1px #ced3d9",
1801
+ flexGrow: " 0",
1802
+ margin: { lg: "18px 0 34px" },
1803
+ padding: "16px 20px 24px 25px",
1804
+ overflowWrap: "break-word",
1805
+ display: { xs: "block", md: "none" },
1806
+ fontFamily: "Roboto Mono",
1807
+ wordBreak: "break-word"
1808
+ },
1809
+ children: a
1810
+ },
1811
+ void 0,
1812
+ !1,
1813
+ {
1814
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1815
+ lineNumber: 118,
1816
+ columnNumber: 17
1817
+ },
1818
+ void 0
1819
+ ),
1820
+ /* @__PURE__ */ r.jsxDEV(
1821
+ w,
1822
+ {
1823
+ sx: {
1824
+ height: { md: "215px", lg: "215px" },
1825
+ //height: 'auto',
1826
+ overflowY: "auto",
1827
+ borderRadius: "5px",
1828
+ border: "solid 1px #ced3d9",
1829
+ flexGrow: " 0",
1830
+ margin: { md: "15px 0" },
1831
+ padding: "16px 20px 24px 25px",
1832
+ overflowWrap: "break-word",
1833
+ display: { xs: "none", md: "block" },
1834
+ fontFamily: "Roboto Mono",
1835
+ wordBreak: "break-word"
1836
+ },
1837
+ children: d
1838
+ },
1839
+ void 0,
1840
+ !1,
1841
+ {
1842
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1843
+ lineNumber: 135,
1844
+ columnNumber: 17
1845
+ },
1846
+ void 0
1847
+ ),
1848
+ /* @__PURE__ */ r.jsxDEV(
1849
+ w,
1850
+ {
1851
+ sx: {
1852
+ display: "flex",
1853
+ flexDirection: "row-reverse"
1854
+ },
1855
+ children: [
1856
+ /* @__PURE__ */ r.jsxDEV(
1857
+ le,
1858
+ {
1859
+ variant: "primaryButton1",
1860
+ sx: {
1861
+ display: { xs: "none", md: "flex" },
1862
+ margin: "0",
1863
+ padding: "0"
1864
+ },
1865
+ onClick: () => c(d),
1866
+ "data-testid": "copy-desktop-embedded-code",
1867
+ children: n ? "Copied" : "Copy Code"
1868
+ },
1869
+ void 0,
1870
+ !1,
1871
+ {
1872
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1873
+ lineNumber: 157,
1874
+ columnNumber: 19
1875
+ },
1876
+ void 0
1877
+ ),
1878
+ /* @__PURE__ */ r.jsxDEV(
1879
+ le,
1880
+ {
1881
+ variant: "primaryButton1",
1882
+ sx: {
1883
+ padding: "0",
1884
+ minWidth: { xs: "100%" },
1885
+ display: { xs: "flex", md: "none" },
1886
+ margin: { xs: "20px 0 0 0", md: 0 }
1887
+ },
1888
+ onClick: () => c(a),
1889
+ "data-testid": "copy-mobile-embedded-code",
1890
+ children: n ? "Copied" : "Copy Code"
1891
+ },
1892
+ void 0,
1893
+ !1,
1894
+ {
1895
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1896
+ lineNumber: 168,
1897
+ columnNumber: 19
1898
+ },
1899
+ void 0
1900
+ )
1901
+ ]
1902
+ },
1903
+ void 0,
1904
+ !0,
1905
+ {
1906
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1907
+ lineNumber: 152,
1908
+ columnNumber: 17
1909
+ },
1910
+ void 0
1911
+ )
1912
+ ] }, void 0, !0, {
1913
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1914
+ lineNumber: 92,
1915
+ columnNumber: 15
1916
+ }, void 0) : /* @__PURE__ */ r.jsxDEV(he, { maxWidth: 480, maxHeight: 500 }, void 0, !1, {
1917
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1918
+ lineNumber: 183,
1919
+ columnNumber: 15
1920
+ }, void 0)
1921
+ },
1922
+ void 0,
1923
+ !1,
1924
+ {
1925
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1926
+ lineNumber: 82,
1927
+ columnNumber: 11
1928
+ },
1929
+ void 0
1930
+ )
1931
+ },
1932
+ void 0,
1933
+ !1,
1934
+ {
1935
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1936
+ lineNumber: 67,
1937
+ columnNumber: 9
1938
+ },
1939
+ void 0
1940
+ )
1941
+ ] }, void 0, !0, {
1942
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1943
+ lineNumber: 36,
1944
+ columnNumber: 7
1945
+ }, void 0)
1946
+ },
1947
+ void 0,
1948
+ !1,
1949
+ {
1950
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
1951
+ lineNumber: 32,
1952
+ columnNumber: 5
1953
+ },
1954
+ void 0
1955
+ );
1956
+ };
1957
+ function Po({
1958
+ isDialogOpen: e,
1959
+ closeEmbedButtonHandle: n,
1960
+ setSelectedItem: o
1961
+ }) {
1962
+ return /* @__PURE__ */ r.jsxDEV(w, { className: "embedmodal", children: /* @__PURE__ */ r.jsxDEV(
1963
+ ze,
1964
+ {
1965
+ fullWidth: !0,
1966
+ open: e,
1967
+ onClose: n,
1968
+ "aria-labelledby": "alert-dialog-title",
1969
+ "aria-describedby": "alert-dialog-description",
1970
+ PaperProps: {
1971
+ sx: {
1972
+ maxWidth: { xs: "97%", sm: "1080px" },
1973
+ width: "97%",
1974
+ margin: { xs: "0px" },
1975
+ overflow: "hidden",
1976
+ height: { md: "480px" }
1977
+ }
1978
+ },
1979
+ sx: {
1980
+ display: "block",
1981
+ height: { xs: "100vh", sm: "auto" }
1982
+ },
1983
+ children: [
1984
+ /* @__PURE__ */ r.jsxDEV(
1985
+ w,
1986
+ {
1987
+ sx: {
1988
+ paddingLeft: "20px",
1989
+ marginTop: "8px",
1990
+ marginLeft: { xs: "initial", md: "auto" },
1991
+ position: "absolute",
1992
+ right: "-10px"
1993
+ },
1994
+ children: /* @__PURE__ */ r.jsxDEV(
1995
+ w,
1996
+ {
1997
+ sx: { textAlign: "right", cursor: "pointer", zIndex: "99999" },
1998
+ mt: 1,
1999
+ mr: 3,
2000
+ onClick: n,
2001
+ children: /* @__PURE__ */ r.jsxDEV(Fe, {}, void 0, !1, {
2002
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
2003
+ lineNumber: 59,
2004
+ columnNumber: 13
2005
+ }, this)
2006
+ },
2007
+ void 0,
2008
+ !1,
2009
+ {
2010
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
2011
+ lineNumber: 54,
2012
+ columnNumber: 11
2013
+ },
2014
+ this
2015
+ )
2016
+ },
2017
+ void 0,
2018
+ !1,
2019
+ {
2020
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
2021
+ lineNumber: 46,
2022
+ columnNumber: 9
2023
+ },
2024
+ this
2025
+ ),
2026
+ /* @__PURE__ */ r.jsxDEV(jo, { selectedItem: o }, void 0, !1, {
2027
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
2028
+ lineNumber: 62,
2029
+ columnNumber: 9
2030
+ }, this)
2031
+ ]
2032
+ },
2033
+ void 0,
2034
+ !0,
2035
+ {
2036
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
2037
+ lineNumber: 27,
2038
+ columnNumber: 7
2039
+ },
2040
+ this
2041
+ ) }, void 0, !1, {
2042
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
2043
+ lineNumber: 26,
2044
+ columnNumber: 5
2045
+ }, this);
2046
+ }
2047
+ const To = (e) => {
2048
+ const n = Ue(), { shareUrl: o = "", domainUrl: t = "", enablePreview: a, showRecentArticles: d } = e, c = () => {
2049
+ if (e.whiteIcon)
2050
+ return {
2051
+ filter: "brightness(0) invert(1)"
2052
+ };
2053
+ }, u = (E = "#2d2d39") => ({
2054
+ display: "flex",
2055
+ justifyContent: "center",
2056
+ alignItems: "center",
2057
+ height: "33px !important",
2058
+ width: "33px !important",
2059
+ borderRadius: "3px",
2060
+ cursor: "pointer",
2061
+ marginRight: "12px",
2062
+ background: e.whiteIcon ? " " : n.palette.textColor,
2063
+ "&:hover": {
2064
+ img: {
2065
+ filter: "brightness(0) invert(1)"
2066
+ },
2067
+ background: E
2068
+ },
2069
+ border: e.border
2070
+ }), l = {
2071
+ display: "flex",
2072
+ justifyContent: "center",
2073
+ alignItems: "center",
2074
+ cursor: a ? "default" : "pointer"
2075
+ }, s = {
2076
+ opacity: 1
2077
+ }, m = async () => {
2078
+ "clipboard" in navigator && t ? (await navigator.clipboard.writeText(t), Ke("URL copied successfully.")) : de(
2079
+ "We have not been able to complete the requested action. Please try again later"
2080
+ );
2081
+ }, p = () => {
2082
+ }, [f, g] = B(!1), k = (E = "") => {
2083
+ E || de(
2084
+ "We have not been able to complete the requested action. Please try again later"
2085
+ );
2086
+ }, D = () => {
2087
+ g(!0);
2088
+ }, N = () => {
2089
+ g(!1);
2090
+ };
2091
+ return /* @__PURE__ */ r.jsxDEV(
2092
+ w,
2093
+ {
2094
+ sx: {
2095
+ display: "flex",
2096
+ mt: "5px"
2097
+ },
2098
+ children: [
2099
+ /* @__PURE__ */ r.jsxDEV(
2100
+ Hn,
2101
+ {
2102
+ disabled: a,
2103
+ onClick: () => !a && k(o),
2104
+ onShareWindowClose: p,
2105
+ url: o,
2106
+ style: l,
2107
+ disabledStyle: s,
2108
+ "data-testid": "facebook-share",
2109
+ children: /* @__PURE__ */ r.jsxDEV(
2110
+ w,
2111
+ {
2112
+ sx: {
2113
+ ...u("#1078f0"),
2114
+ cursor: a ? "default" : "pointer"
2115
+ },
2116
+ onClick: () => !a && k(o),
2117
+ children: /* @__PURE__ */ r.jsxDEV("img", { alt: "share1", width: 15, height: 15, src: hn, style: { ...c() } }, void 0, !1, {
2118
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2119
+ lineNumber: 109,
2120
+ columnNumber: 11
2121
+ }, void 0)
2122
+ },
2123
+ void 0,
2124
+ !1,
2125
+ {
2126
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2127
+ lineNumber: 103,
2128
+ columnNumber: 9
2129
+ },
2130
+ void 0
2131
+ )
2132
+ },
2133
+ void 0,
2134
+ !1,
2135
+ {
2136
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2137
+ lineNumber: 95,
2138
+ columnNumber: 7
2139
+ },
2140
+ void 0
2141
+ ),
2142
+ /* @__PURE__ */ r.jsxDEV(
2143
+ In,
2144
+ {
2145
+ disabled: a,
2146
+ onShareWindowClose: p,
2147
+ url: o,
2148
+ style: l,
2149
+ disabledStyle: s,
2150
+ children: /* @__PURE__ */ r.jsxDEV(
2151
+ w,
2152
+ {
2153
+ sx: {
2154
+ ...u("#2d67b3"),
2155
+ cursor: a ? "default" : "pointer"
2156
+ },
2157
+ onClick: () => !a && k(o),
2158
+ "data-testid": "linkedin-share",
2159
+ children: /* @__PURE__ */ r.jsxDEV("img", { alt: "share4", width: 15, height: 15, src: xn, style: { ...c() } }, void 0, !1, {
2160
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2161
+ lineNumber: 125,
2162
+ columnNumber: 11
2163
+ }, void 0)
2164
+ },
2165
+ void 0,
2166
+ !1,
2167
+ {
2168
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2169
+ lineNumber: 118,
2170
+ columnNumber: 9
2171
+ },
2172
+ void 0
2173
+ )
2174
+ },
2175
+ void 0,
2176
+ !1,
2177
+ {
2178
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2179
+ lineNumber: 112,
2180
+ columnNumber: 7
2181
+ },
2182
+ void 0
2183
+ ),
2184
+ /* @__PURE__ */ r.jsxDEV(
2185
+ w,
2186
+ {
2187
+ sx: {
2188
+ ...u("#229af1"),
2189
+ cursor: a ? "default" : "pointer"
2190
+ },
2191
+ onClick: () => !a && m(),
2192
+ "data-testid": "copy-clipboard-data",
2193
+ children: /* @__PURE__ */ r.jsxDEV("img", { alt: "share5", width: 15, height: 15, src: fn, style: { ...c() } }, void 0, !1, {
2194
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2195
+ lineNumber: 136,
2196
+ columnNumber: 9
2197
+ }, void 0)
2198
+ },
2199
+ void 0,
2200
+ !1,
2201
+ {
2202
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2203
+ lineNumber: 129,
2204
+ columnNumber: 7
2205
+ },
2206
+ void 0
2207
+ ),
2208
+ d && /* @__PURE__ */ r.jsxDEV(
2209
+ w,
2210
+ {
2211
+ sx: {
2212
+ ...u("#2d2d39"),
2213
+ cursor: a ? "default" : "pointer",
2214
+ marginRight: 0
2215
+ },
2216
+ onClick: () => {
2217
+ !a && D();
2218
+ },
2219
+ "data-testid": "preview-and-embed",
2220
+ children: /* @__PURE__ */ r.jsxDEV("img", { alt: "share6", width: 15, height: 15, src: bn, style: { ...c() } }, void 0, !1, {
2221
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2222
+ lineNumber: 150,
2223
+ columnNumber: 11
2224
+ }, void 0)
2225
+ },
2226
+ void 0,
2227
+ !1,
2228
+ {
2229
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2230
+ lineNumber: 140,
2231
+ columnNumber: 9
2232
+ },
2233
+ void 0
2234
+ ),
2235
+ f ? /* @__PURE__ */ r.jsxDEV(
2236
+ Po,
2237
+ {
2238
+ isDialogOpen: f,
2239
+ closeEmbedButtonHandle: N,
2240
+ setSelectedItem: e == null ? void 0 : e.embedData
2241
+ },
2242
+ void 0,
2243
+ !1,
2244
+ {
2245
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2246
+ lineNumber: 154,
2247
+ columnNumber: 9
2248
+ },
2249
+ void 0
2250
+ ) : null
2251
+ ]
2252
+ },
2253
+ void 0,
2254
+ !0,
2255
+ {
2256
+ fileName: "/Users/manikandan.kanna/Desktop/PlatformX/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
2257
+ lineNumber: 90,
2258
+ columnNumber: 5
2259
+ },
2260
+ void 0
2261
+ );
2262
+ }, Xo = Ve.memo(To);
2263
+ export {
2264
+ Xo as default
2265
+ };