@platform-x/hcltechx-mfe-wrapper 2.0.51 → 2.0.52
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/{ArticleVodList-DifKyj2j.mjs → ArticleVodList-Cj_nAPnG.mjs} +380 -138
- package/ArticleVodListComponent-COHApmSr.mjs +37 -0
- package/{ChallengeDetailComponent-Bb6u7im2.mjs → ChallengeDetailComponent-kF-tb095.mjs} +52 -44
- package/CommonContentComponent-F8B9Upz1.mjs +80 -0
- package/{DailyMotion-Dey91jss.mjs → DailyMotion-0-c2CjmZ.mjs} +3 -3
- package/{EngagementHomeComponent-B5iw2CaU.mjs → EngagementHomeComponent-B6LFyKjA.mjs} +60 -52
- package/{EventDetailComponent-5QobRqFj.mjs → EventDetailComponent-Cl8k2wJl.mjs} +42 -34
- package/{EventList-CiJB-dKK.mjs → EventList-CxFoCi9G.mjs} +1282 -470
- package/EventListComponent-C3kGym6X.mjs +93 -0
- package/{Facebook-eIFUToML.mjs → Facebook-D3mBmxJ4.mjs} +1 -1
- package/{FilePlayer-EDwz8QU4.mjs → FilePlayer-ChxlE7Mq.mjs} +3 -3
- package/{FilterModal-r2a13GkO.mjs → FilterModal-Co-pXytt.mjs} +211 -82
- package/{IndividualChallengeComponent-CQTGgS8n.mjs → IndividualChallengeComponent-lcfNvAG2.mjs} +48 -40
- package/{Kaltura-B94y70_h.mjs → Kaltura-CVM_RV_2.mjs} +1 -1
- package/{Mixcloud-CnCgcv75.mjs → Mixcloud-CrAs0_VC.mjs} +1 -1
- package/{Mux-vhyxBen7.mjs → Mux-DUOqA2mZ.mjs} +1 -1
- package/PageComponent-C1KnYfvg.mjs +101 -0
- package/{Preview-BQ_tg9Wj.mjs → Preview-BAaYuYFo.mjs} +1 -1
- package/RecentCarousel-Ijkg2aEl.mjs +342 -0
- package/Share-DxWLmWXU.mjs +1938 -0
- package/{SoundCloud-Cwa5bJS2.mjs → SoundCloud-CJSQ2ZP7.mjs} +3 -3
- package/{Streamable-BkkLyDBR.mjs → Streamable-CcMyPRKJ.mjs} +1 -1
- package/{Twitch-3RqF10KP.mjs → Twitch-zIalaDyC.mjs} +4 -4
- package/{Vidyard-Dnbd00zE.mjs → Vidyard-DYZnDhS1.mjs} +3 -3
- package/{Vimeo-CCI5ewA8.mjs → Vimeo-B9h2Hwv0.mjs} +1 -1
- package/{Wistia-D9W_FxSf.mjs → Wistia-iTgHdNz1.mjs} +1 -1
- package/{YouTube-yAlNO0S7.mjs → YouTube-jcHqrx6u.mjs} +15 -15
- package/{index-CBJWSqeT.mjs → index-CFrb1iB4.mjs} +110260 -99007
- package/index-DpnyhOiJ.mjs +1235 -0
- package/index.mjs +2 -2
- package/package.json +2 -2
- package/ArticleVodListComponent-CDwOEo_k.mjs +0 -29
- package/CommonContentComponent-CxUdcNYu.mjs +0 -72
- package/EventListComponent-DvHss4F9.mjs +0 -85
- package/PageComponent-CuJp_uC6.mjs +0 -73
- package/RecentCarousel-Eh6SrAzN.mjs +0 -247
- package/Share-DVTnNMnX.mjs +0 -1578
- package/index-ZgQq4rGX.mjs +0 -704
|
@@ -0,0 +1,1938 @@
|
|
|
1
|
+
import { i as ue, k as pe, l as be, _ as z, u as fe, n as he, o as xe, P as k, p as ge, q as we, r as re, t as ke, v as Ce, w as ve, x as Ne, j as a, y as ne, G as V, B as x, z as Ee, A as ye, T as D, D as De, S as W, H as Z, J as Se, K as je, L as Ue, M as Ve, N as J } from "./index-CFrb1iB4.mjs";
|
|
2
|
+
import * as Te from "react";
|
|
3
|
+
import Ae, { forwardRef as Le, useState as O, useEffect as ie, useRef as Me, useCallback as _e } from "react";
|
|
4
|
+
import Pe, { jsx as _ } from "react/jsx-runtime";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
function We(e) {
|
|
7
|
+
return pe("MuiCardActions", e);
|
|
8
|
+
}
|
|
9
|
+
ue("MuiCardActions", ["root", "spacing"]);
|
|
10
|
+
const Be = ["disableSpacing", "className"], Oe = (e) => {
|
|
11
|
+
const {
|
|
12
|
+
classes: o,
|
|
13
|
+
disableSpacing: r
|
|
14
|
+
} = e;
|
|
15
|
+
return ge({
|
|
16
|
+
root: ["root", !r && "spacing"]
|
|
17
|
+
}, We, o);
|
|
18
|
+
}, Re = be("div", {
|
|
19
|
+
name: "MuiCardActions",
|
|
20
|
+
slot: "Root",
|
|
21
|
+
overridesResolver: (e, o) => {
|
|
22
|
+
const {
|
|
23
|
+
ownerState: r
|
|
24
|
+
} = e;
|
|
25
|
+
return [o.root, !r.disableSpacing && o.spacing];
|
|
26
|
+
}
|
|
27
|
+
})(({
|
|
28
|
+
ownerState: e
|
|
29
|
+
}) => z({
|
|
30
|
+
display: "flex",
|
|
31
|
+
alignItems: "center",
|
|
32
|
+
padding: 8
|
|
33
|
+
}, !e.disableSpacing && {
|
|
34
|
+
"& > :not(:first-of-type)": {
|
|
35
|
+
marginLeft: 8
|
|
36
|
+
}
|
|
37
|
+
})), ae = /* @__PURE__ */ Te.forwardRef(function(o, r) {
|
|
38
|
+
const n = fe({
|
|
39
|
+
props: o,
|
|
40
|
+
name: "MuiCardActions"
|
|
41
|
+
}), {
|
|
42
|
+
disableSpacing: i = !1,
|
|
43
|
+
className: c
|
|
44
|
+
} = n, d = he(n, Be), m = z({}, n, {
|
|
45
|
+
disableSpacing: i
|
|
46
|
+
}), l = Oe(m);
|
|
47
|
+
return /* @__PURE__ */ _(Re, z({
|
|
48
|
+
className: xe(l.root, c),
|
|
49
|
+
ownerState: m,
|
|
50
|
+
ref: r
|
|
51
|
+
}, d));
|
|
52
|
+
});
|
|
53
|
+
process.env.NODE_ENV !== "production" && (ae.propTypes = {
|
|
54
|
+
// ----------------------------- Warning --------------------------------
|
|
55
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
56
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
57
|
+
// ----------------------------------------------------------------------
|
|
58
|
+
/**
|
|
59
|
+
* The content of the component.
|
|
60
|
+
*/
|
|
61
|
+
children: k.node,
|
|
62
|
+
/**
|
|
63
|
+
* Override or extend the styles applied to the component.
|
|
64
|
+
*/
|
|
65
|
+
classes: k.object,
|
|
66
|
+
/**
|
|
67
|
+
* @ignore
|
|
68
|
+
*/
|
|
69
|
+
className: k.string,
|
|
70
|
+
/**
|
|
71
|
+
* If `true`, the actions do not have additional margin.
|
|
72
|
+
* @default false
|
|
73
|
+
*/
|
|
74
|
+
disableSpacing: k.bool,
|
|
75
|
+
/**
|
|
76
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
77
|
+
*/
|
|
78
|
+
sx: k.oneOfType([k.arrayOf(k.oneOfType([k.func, k.object, k.bool])), k.func, k.object])
|
|
79
|
+
});
|
|
80
|
+
const He = "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", $e = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD6SURBVHgB7ZM9CsIwGIa/GI8gWkV0dyhdXHTxCN5APIl6E0dXN0fdxEmldFYqkrZnaD6ToRj736pbXwh88CbPEwIBqFLlr9H10UKusr0MTTuMiEsxThqN9tbznkztDWNkcI4b2WtaDxzHPuQWKHDwfZxb1mkX3sOYzVqt7h2ATNMkNBt+XENCXPdxzpLQsvC8EvoNPI+kFmzinJNgrtcpQsEQ8j6jsqhyi32z2SUiEwCcalr/Jm5xyQPX9fEMka/lLF5hZZrHZURQVpIGjwiKSrLgsYI4SafT3jL2+dEGg6Eh+l0aPFGgSsR4uF5Pm3Avf3bQJ8GrVPlNXpHyzr4dW2vdAAAAAElFTkSuQmCC", ze = "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", Ke = "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";
|
|
81
|
+
var K = { exports: {} }, F = { exports: {} }, T = 1e3, A = T * 60, L = A * 60, M = L * 24, Fe = M * 365.25, Ge = function(e, o) {
|
|
82
|
+
o = o || {};
|
|
83
|
+
var r = typeof e;
|
|
84
|
+
if (r === "string" && e.length > 0)
|
|
85
|
+
return qe(e);
|
|
86
|
+
if (r === "number" && isNaN(e) === !1)
|
|
87
|
+
return o.long ? Qe(e) : Xe(e);
|
|
88
|
+
throw new Error(
|
|
89
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(e)
|
|
90
|
+
);
|
|
91
|
+
};
|
|
92
|
+
function qe(e) {
|
|
93
|
+
if (e = String(e), !(e.length > 100)) {
|
|
94
|
+
var o = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
|
|
95
|
+
e
|
|
96
|
+
);
|
|
97
|
+
if (o) {
|
|
98
|
+
var r = parseFloat(o[1]), n = (o[2] || "ms").toLowerCase();
|
|
99
|
+
switch (n) {
|
|
100
|
+
case "years":
|
|
101
|
+
case "year":
|
|
102
|
+
case "yrs":
|
|
103
|
+
case "yr":
|
|
104
|
+
case "y":
|
|
105
|
+
return r * Fe;
|
|
106
|
+
case "days":
|
|
107
|
+
case "day":
|
|
108
|
+
case "d":
|
|
109
|
+
return r * M;
|
|
110
|
+
case "hours":
|
|
111
|
+
case "hour":
|
|
112
|
+
case "hrs":
|
|
113
|
+
case "hr":
|
|
114
|
+
case "h":
|
|
115
|
+
return r * L;
|
|
116
|
+
case "minutes":
|
|
117
|
+
case "minute":
|
|
118
|
+
case "mins":
|
|
119
|
+
case "min":
|
|
120
|
+
case "m":
|
|
121
|
+
return r * A;
|
|
122
|
+
case "seconds":
|
|
123
|
+
case "second":
|
|
124
|
+
case "secs":
|
|
125
|
+
case "sec":
|
|
126
|
+
case "s":
|
|
127
|
+
return r * T;
|
|
128
|
+
case "milliseconds":
|
|
129
|
+
case "millisecond":
|
|
130
|
+
case "msecs":
|
|
131
|
+
case "msec":
|
|
132
|
+
case "ms":
|
|
133
|
+
return r;
|
|
134
|
+
default:
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
function Xe(e) {
|
|
141
|
+
return e >= M ? Math.round(e / M) + "d" : e >= L ? Math.round(e / L) + "h" : e >= A ? Math.round(e / A) + "m" : e >= T ? Math.round(e / T) + "s" : e + "ms";
|
|
142
|
+
}
|
|
143
|
+
function Qe(e) {
|
|
144
|
+
return B(e, M, "day") || B(e, L, "hour") || B(e, A, "minute") || B(e, T, "second") || e + " ms";
|
|
145
|
+
}
|
|
146
|
+
function B(e, o, r) {
|
|
147
|
+
if (!(e < o))
|
|
148
|
+
return e < o * 1.5 ? Math.floor(e / o) + " " + r : Math.ceil(e / o) + " " + r + "s";
|
|
149
|
+
}
|
|
150
|
+
(function(e, o) {
|
|
151
|
+
o = e.exports = i.debug = i.default = i, o.coerce = l, o.disable = d, o.enable = c, o.enabled = m, o.humanize = Ge, o.names = [], o.skips = [], o.formatters = {};
|
|
152
|
+
var r;
|
|
153
|
+
function n(t) {
|
|
154
|
+
var s = 0, u;
|
|
155
|
+
for (u in t)
|
|
156
|
+
s = (s << 5) - s + t.charCodeAt(u), s |= 0;
|
|
157
|
+
return o.colors[Math.abs(s) % o.colors.length];
|
|
158
|
+
}
|
|
159
|
+
function i(t) {
|
|
160
|
+
function s() {
|
|
161
|
+
if (s.enabled) {
|
|
162
|
+
var u = s, b = +/* @__PURE__ */ new Date(), w = b - (r || b);
|
|
163
|
+
u.diff = w, u.prev = r, u.curr = b, r = b;
|
|
164
|
+
for (var g = new Array(arguments.length), E = 0; E < g.length; E++)
|
|
165
|
+
g[E] = arguments[E];
|
|
166
|
+
g[0] = o.coerce(g[0]), typeof g[0] != "string" && g.unshift("%O");
|
|
167
|
+
var v = 0;
|
|
168
|
+
g[0] = g[0].replace(/%([a-zA-Z%])/g, function(N, H) {
|
|
169
|
+
if (N === "%%")
|
|
170
|
+
return N;
|
|
171
|
+
v++;
|
|
172
|
+
var U = o.formatters[H];
|
|
173
|
+
if (typeof U == "function") {
|
|
174
|
+
var $ = g[v];
|
|
175
|
+
N = U.call(u, $), g.splice(v, 1), v--;
|
|
176
|
+
}
|
|
177
|
+
return N;
|
|
178
|
+
}), o.formatArgs.call(u, g);
|
|
179
|
+
var y = s.log || o.log || console.log.bind(console);
|
|
180
|
+
y.apply(u, g);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return s.namespace = t, s.enabled = o.enabled(t), s.useColors = o.useColors(), s.color = n(t), typeof o.init == "function" && o.init(s), s;
|
|
184
|
+
}
|
|
185
|
+
function c(t) {
|
|
186
|
+
o.save(t), o.names = [], o.skips = [];
|
|
187
|
+
for (var s = (typeof t == "string" ? t : "").split(/[\s,]+/), u = s.length, b = 0; b < u; b++)
|
|
188
|
+
s[b] && (t = s[b].replace(/\*/g, ".*?"), t[0] === "-" ? o.skips.push(new RegExp("^" + t.substr(1) + "$")) : o.names.push(new RegExp("^" + t + "$")));
|
|
189
|
+
}
|
|
190
|
+
function d() {
|
|
191
|
+
o.enable("");
|
|
192
|
+
}
|
|
193
|
+
function m(t) {
|
|
194
|
+
var s, u;
|
|
195
|
+
for (s = 0, u = o.skips.length; s < u; s++)
|
|
196
|
+
if (o.skips[s].test(t))
|
|
197
|
+
return !1;
|
|
198
|
+
for (s = 0, u = o.names.length; s < u; s++)
|
|
199
|
+
if (o.names[s].test(t))
|
|
200
|
+
return !0;
|
|
201
|
+
return !1;
|
|
202
|
+
}
|
|
203
|
+
function l(t) {
|
|
204
|
+
return t instanceof Error ? t.stack || t.message : t;
|
|
205
|
+
}
|
|
206
|
+
})(F, F.exports);
|
|
207
|
+
var Ye = F.exports;
|
|
208
|
+
(function(e, o) {
|
|
209
|
+
o = e.exports = Ye, o.log = i, o.formatArgs = n, o.save = c, o.load = d, o.useColors = r, o.storage = typeof chrome < "u" && typeof chrome.storage < "u" ? chrome.storage.local : m(), o.colors = [
|
|
210
|
+
"lightseagreen",
|
|
211
|
+
"forestgreen",
|
|
212
|
+
"goldenrod",
|
|
213
|
+
"dodgerblue",
|
|
214
|
+
"darkorchid",
|
|
215
|
+
"crimson"
|
|
216
|
+
];
|
|
217
|
+
function r() {
|
|
218
|
+
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
|
|
219
|
+
typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // is firefox >= v31?
|
|
220
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
221
|
+
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
|
|
222
|
+
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
223
|
+
}
|
|
224
|
+
o.formatters.j = function(l) {
|
|
225
|
+
try {
|
|
226
|
+
return JSON.stringify(l);
|
|
227
|
+
} catch (t) {
|
|
228
|
+
return "[UnexpectedJSONParseError]: " + t.message;
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
function n(l) {
|
|
232
|
+
var t = this.useColors;
|
|
233
|
+
if (l[0] = (t ? "%c" : "") + this.namespace + (t ? " %c" : " ") + l[0] + (t ? "%c " : " ") + "+" + o.humanize(this.diff), !!t) {
|
|
234
|
+
var s = "color: " + this.color;
|
|
235
|
+
l.splice(1, 0, s, "color: inherit");
|
|
236
|
+
var u = 0, b = 0;
|
|
237
|
+
l[0].replace(/%[a-zA-Z%]/g, function(w) {
|
|
238
|
+
w !== "%%" && (u++, w === "%c" && (b = u));
|
|
239
|
+
}), l.splice(b, 0, s);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
function i() {
|
|
243
|
+
return typeof console == "object" && console.log && Function.prototype.apply.call(console.log, console, arguments);
|
|
244
|
+
}
|
|
245
|
+
function c(l) {
|
|
246
|
+
try {
|
|
247
|
+
l == null ? o.storage.removeItem("debug") : o.storage.debug = l;
|
|
248
|
+
} catch {
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
function d() {
|
|
252
|
+
var l;
|
|
253
|
+
try {
|
|
254
|
+
l = o.storage.debug;
|
|
255
|
+
} catch {
|
|
256
|
+
}
|
|
257
|
+
return !l && typeof process < "u" && "env" in process && (l = process.env.DEBUG), l;
|
|
258
|
+
}
|
|
259
|
+
o.enable(d());
|
|
260
|
+
function m() {
|
|
261
|
+
try {
|
|
262
|
+
return window.localStorage;
|
|
263
|
+
} catch {
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
})(K, K.exports);
|
|
267
|
+
var Ze = K.exports, I = Ze("jsonp"), Je = oo, Ie = 0;
|
|
268
|
+
function eo() {
|
|
269
|
+
}
|
|
270
|
+
function oo(e, o, r) {
|
|
271
|
+
typeof o == "function" && (r = o, o = {}), o || (o = {});
|
|
272
|
+
var n = o.prefix || "__jp", i = o.name || n + Ie++, c = o.param || "callback", d = o.timeout != null ? o.timeout : 6e4, m = encodeURIComponent, l = document.getElementsByTagName("script")[0] || document.head, t, s;
|
|
273
|
+
d && (s = setTimeout(function() {
|
|
274
|
+
u(), r && r(new Error("Timeout"));
|
|
275
|
+
}, d));
|
|
276
|
+
function u() {
|
|
277
|
+
t.parentNode && t.parentNode.removeChild(t), window[i] = eo, s && clearTimeout(s);
|
|
278
|
+
}
|
|
279
|
+
function b() {
|
|
280
|
+
window[i] && u();
|
|
281
|
+
}
|
|
282
|
+
return window[i] = function(w) {
|
|
283
|
+
I("jsonp got", w), u(), r && r(null, w);
|
|
284
|
+
}, e += (~e.indexOf("?") ? "&" : "?") + c + "=" + m(i), e = e.replace("?&", "?"), I('jsonp req "%s"', e), t = document.createElement("script"), t.src = e, l.parentNode.insertBefore(t, l), b;
|
|
285
|
+
}
|
|
286
|
+
const S = /* @__PURE__ */ we(Je);
|
|
287
|
+
var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors, R = Object.getOwnPropertySymbols, te = Object.prototype.hasOwnProperty, le = Object.prototype.propertyIsEnumerable, ee = (e, o, r) => o in e ? ro(e, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[o] = r, C = (e, o) => {
|
|
288
|
+
for (var r in o || (o = {}))
|
|
289
|
+
te.call(o, r) && ee(e, r, o[r]);
|
|
290
|
+
if (R)
|
|
291
|
+
for (var r of R(o))
|
|
292
|
+
le.call(o, r) && ee(e, r, o[r]);
|
|
293
|
+
return e;
|
|
294
|
+
}, G = (e, o) => no(e, io(o)), q = (e, o) => {
|
|
295
|
+
var r = {};
|
|
296
|
+
for (var n in e)
|
|
297
|
+
te.call(e, n) && o.indexOf(n) < 0 && (r[n] = e[n]);
|
|
298
|
+
if (e != null && R)
|
|
299
|
+
for (var n of R(e))
|
|
300
|
+
o.indexOf(n) < 0 && le.call(e, n) && (r[n] = e[n]);
|
|
301
|
+
return r;
|
|
302
|
+
};
|
|
303
|
+
function p(e) {
|
|
304
|
+
const o = Object.entries(e).filter(([, r]) => r != null).map(([r, n]) => `${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`);
|
|
305
|
+
return o.length > 0 ? `?${o.join("&")}` : "";
|
|
306
|
+
}
|
|
307
|
+
const ao = (e) => !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function", to = (e, o) => ({
|
|
308
|
+
left: window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - e / 2,
|
|
309
|
+
top: window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - o / 2
|
|
310
|
+
}), lo = (e, o) => ({
|
|
311
|
+
top: (window.screen.height - o) / 2,
|
|
312
|
+
left: (window.screen.width - e) / 2
|
|
313
|
+
});
|
|
314
|
+
function so(e, o, r) {
|
|
315
|
+
var n = o, { height: i, width: c } = n, d = q(n, ["height", "width"]);
|
|
316
|
+
const m = C({
|
|
317
|
+
height: i,
|
|
318
|
+
width: c,
|
|
319
|
+
location: "no",
|
|
320
|
+
toolbar: "no",
|
|
321
|
+
status: "no",
|
|
322
|
+
directories: "no",
|
|
323
|
+
menubar: "no",
|
|
324
|
+
scrollbars: "yes",
|
|
325
|
+
resizable: "no",
|
|
326
|
+
centerscreen: "yes",
|
|
327
|
+
chrome: "yes"
|
|
328
|
+
}, d), l = window.open(
|
|
329
|
+
e,
|
|
330
|
+
"",
|
|
331
|
+
Object.keys(m).map((t) => `${t}=${m[t]}`).join(", ")
|
|
332
|
+
);
|
|
333
|
+
if (r) {
|
|
334
|
+
const t = window.setInterval(() => {
|
|
335
|
+
try {
|
|
336
|
+
(l === null || l.closed) && (window.clearInterval(t), r(l));
|
|
337
|
+
} catch (s) {
|
|
338
|
+
console.error(s);
|
|
339
|
+
}
|
|
340
|
+
}, 1e3);
|
|
341
|
+
}
|
|
342
|
+
return l;
|
|
343
|
+
}
|
|
344
|
+
function co(e) {
|
|
345
|
+
var o = e, {
|
|
346
|
+
beforeOnClick: r,
|
|
347
|
+
children: n,
|
|
348
|
+
className: i,
|
|
349
|
+
disabled: c,
|
|
350
|
+
disabledStyle: d = { opacity: 0.6 },
|
|
351
|
+
forwardedRef: m,
|
|
352
|
+
htmlTitle: l,
|
|
353
|
+
networkLink: t,
|
|
354
|
+
networkName: s,
|
|
355
|
+
onClick: u,
|
|
356
|
+
onShareWindowClose: b,
|
|
357
|
+
openShareDialogOnClick: w = !0,
|
|
358
|
+
opts: g,
|
|
359
|
+
resetButtonStyle: E = !0,
|
|
360
|
+
style: v,
|
|
361
|
+
url: y,
|
|
362
|
+
windowHeight: N = 400,
|
|
363
|
+
windowPosition: H = "windowCenter",
|
|
364
|
+
windowWidth: U = 550
|
|
365
|
+
} = o, $ = q(o, [
|
|
366
|
+
"beforeOnClick",
|
|
367
|
+
"children",
|
|
368
|
+
"className",
|
|
369
|
+
"disabled",
|
|
370
|
+
"disabledStyle",
|
|
371
|
+
"forwardedRef",
|
|
372
|
+
"htmlTitle",
|
|
373
|
+
"networkLink",
|
|
374
|
+
"networkName",
|
|
375
|
+
"onClick",
|
|
376
|
+
"onShareWindowClose",
|
|
377
|
+
"openShareDialogOnClick",
|
|
378
|
+
"opts",
|
|
379
|
+
"resetButtonStyle",
|
|
380
|
+
"style",
|
|
381
|
+
"url",
|
|
382
|
+
"windowHeight",
|
|
383
|
+
"windowPosition",
|
|
384
|
+
"windowWidth"
|
|
385
|
+
]);
|
|
386
|
+
const de = async (Q) => {
|
|
387
|
+
const Y = t(y, g);
|
|
388
|
+
if (!c) {
|
|
389
|
+
if (Q.preventDefault(), r) {
|
|
390
|
+
const P = r();
|
|
391
|
+
ao(P) && await P;
|
|
392
|
+
}
|
|
393
|
+
if (w) {
|
|
394
|
+
const P = C({
|
|
395
|
+
height: N,
|
|
396
|
+
width: U
|
|
397
|
+
}, H === "windowCenter" ? to(U, N) : lo(U, N));
|
|
398
|
+
so(Y, P, b);
|
|
399
|
+
}
|
|
400
|
+
u && u(Q, Y);
|
|
401
|
+
}
|
|
402
|
+
}, ce = re(
|
|
403
|
+
"react-share__ShareButton",
|
|
404
|
+
{
|
|
405
|
+
"react-share__ShareButton--disabled": !!c,
|
|
406
|
+
disabled: !!c
|
|
407
|
+
},
|
|
408
|
+
i
|
|
409
|
+
), me = C(C(E ? {
|
|
410
|
+
backgroundColor: "transparent",
|
|
411
|
+
border: "none",
|
|
412
|
+
padding: 0,
|
|
413
|
+
font: "inherit",
|
|
414
|
+
color: "inherit",
|
|
415
|
+
cursor: "pointer"
|
|
416
|
+
} : {}, v), c && d);
|
|
417
|
+
return /* @__PURE__ */ _(
|
|
418
|
+
"button",
|
|
419
|
+
G(C({}, $), {
|
|
420
|
+
className: ce,
|
|
421
|
+
onClick: de,
|
|
422
|
+
ref: m,
|
|
423
|
+
style: me,
|
|
424
|
+
title: l,
|
|
425
|
+
children: n
|
|
426
|
+
})
|
|
427
|
+
);
|
|
428
|
+
}
|
|
429
|
+
function h(e, o, r, n) {
|
|
430
|
+
function i(c, d) {
|
|
431
|
+
const m = r(c), l = C({}, c);
|
|
432
|
+
return Object.keys(m).forEach((s) => {
|
|
433
|
+
delete l[s];
|
|
434
|
+
}), /* @__PURE__ */ _(
|
|
435
|
+
co,
|
|
436
|
+
G(C(C({}, n), l), {
|
|
437
|
+
forwardedRef: d,
|
|
438
|
+
networkName: e,
|
|
439
|
+
networkLink: o,
|
|
440
|
+
opts: r(c)
|
|
441
|
+
})
|
|
442
|
+
);
|
|
443
|
+
}
|
|
444
|
+
return i.displayName = `ShareButton-${e}`, Le(i);
|
|
445
|
+
}
|
|
446
|
+
function mo(e, { subject: o, body: r, separator: n }) {
|
|
447
|
+
return "mailto:" + p({ subject: o, body: r ? r + n + e : e });
|
|
448
|
+
}
|
|
449
|
+
h(
|
|
450
|
+
"email",
|
|
451
|
+
mo,
|
|
452
|
+
(e) => ({
|
|
453
|
+
subject: e.subject,
|
|
454
|
+
body: e.body,
|
|
455
|
+
separator: e.separator || " "
|
|
456
|
+
}),
|
|
457
|
+
{
|
|
458
|
+
openShareDialogOnClick: !1,
|
|
459
|
+
onClick: (e, o) => {
|
|
460
|
+
window.location.href = o;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
);
|
|
464
|
+
function uo(e, { appId: o, redirectUri: r, to: n }) {
|
|
465
|
+
return "https://www.facebook.com/dialog/send" + p({
|
|
466
|
+
link: e,
|
|
467
|
+
redirect_uri: r || e,
|
|
468
|
+
app_id: o,
|
|
469
|
+
to: n
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
h(
|
|
473
|
+
"facebookmessenger",
|
|
474
|
+
uo,
|
|
475
|
+
(e) => ({
|
|
476
|
+
appId: e.appId,
|
|
477
|
+
redirectUri: e.redirectUri,
|
|
478
|
+
to: e.to
|
|
479
|
+
}),
|
|
480
|
+
{
|
|
481
|
+
windowWidth: 1e3,
|
|
482
|
+
windowHeight: 820
|
|
483
|
+
}
|
|
484
|
+
);
|
|
485
|
+
class po extends Error {
|
|
486
|
+
constructor(o) {
|
|
487
|
+
super(o), this.name = "AssertionError";
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
function f(e, o) {
|
|
491
|
+
if (!e)
|
|
492
|
+
throw new po(o);
|
|
493
|
+
}
|
|
494
|
+
function bo(e, { hashtag: o }) {
|
|
495
|
+
return f(e, "facebook.url"), "https://www.facebook.com/sharer/sharer.php" + p({ u: e, hashtag: o });
|
|
496
|
+
}
|
|
497
|
+
const fo = h(
|
|
498
|
+
"facebook",
|
|
499
|
+
bo,
|
|
500
|
+
(e) => ({ hashtag: e.hashtag }),
|
|
501
|
+
{
|
|
502
|
+
windowWidth: 550,
|
|
503
|
+
windowHeight: 400
|
|
504
|
+
}
|
|
505
|
+
), ho = fo;
|
|
506
|
+
function xo() {
|
|
507
|
+
const e = Me(!1);
|
|
508
|
+
return ie(() => (e.current = !0, () => {
|
|
509
|
+
e.current = !1;
|
|
510
|
+
}), []), _e(() => e.current, []);
|
|
511
|
+
}
|
|
512
|
+
function go(e) {
|
|
513
|
+
var o = e, {
|
|
514
|
+
children: r = (b) => b,
|
|
515
|
+
className: n,
|
|
516
|
+
getCount: i,
|
|
517
|
+
url: c
|
|
518
|
+
} = o, d = q(o, [
|
|
519
|
+
"children",
|
|
520
|
+
"className",
|
|
521
|
+
"getCount",
|
|
522
|
+
"url"
|
|
523
|
+
]);
|
|
524
|
+
const m = xo(), [l, t] = O(void 0), [s, u] = O(!1);
|
|
525
|
+
return ie(() => {
|
|
526
|
+
u(!0), i(c, (b) => {
|
|
527
|
+
m() && (t(b), u(!1));
|
|
528
|
+
});
|
|
529
|
+
}, [c]), /* @__PURE__ */ _("span", G(C({ className: re("react-share__ShareCount", n) }, d), { children: !s && l !== void 0 && r(l) }));
|
|
530
|
+
}
|
|
531
|
+
function j(e) {
|
|
532
|
+
const o = (r) => /* @__PURE__ */ _(go, C({ getCount: e }, r));
|
|
533
|
+
return o.displayName = `ShareCount(${e.name})`, o;
|
|
534
|
+
}
|
|
535
|
+
function wo(e, o) {
|
|
536
|
+
const r = `https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;
|
|
537
|
+
S(r, (n, i) => {
|
|
538
|
+
o(
|
|
539
|
+
!n && i && i.og_object && i.og_object.engagement ? i.og_object.engagement.count : void 0
|
|
540
|
+
);
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
j(wo);
|
|
544
|
+
function ko(e, { title: o }) {
|
|
545
|
+
return f(e, "hatena.url"), `http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${o}`;
|
|
546
|
+
}
|
|
547
|
+
h(
|
|
548
|
+
"hatena",
|
|
549
|
+
ko,
|
|
550
|
+
(e) => ({
|
|
551
|
+
title: e.title
|
|
552
|
+
}),
|
|
553
|
+
{
|
|
554
|
+
windowWidth: 660,
|
|
555
|
+
windowHeight: 460,
|
|
556
|
+
windowPosition: "windowCenter"
|
|
557
|
+
}
|
|
558
|
+
);
|
|
559
|
+
function Co(e, o) {
|
|
560
|
+
S(
|
|
561
|
+
"https://bookmark.hatenaapis.com/count/entry" + p({
|
|
562
|
+
url: e
|
|
563
|
+
}),
|
|
564
|
+
(n, i) => {
|
|
565
|
+
o(i ?? void 0);
|
|
566
|
+
}
|
|
567
|
+
);
|
|
568
|
+
}
|
|
569
|
+
j(Co);
|
|
570
|
+
function vo(e, { title: o, description: r }) {
|
|
571
|
+
return f(e, "instapaper.url"), "http://www.instapaper.com/hello2" + p({
|
|
572
|
+
url: e,
|
|
573
|
+
title: o,
|
|
574
|
+
description: r
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
h(
|
|
578
|
+
"instapaper",
|
|
579
|
+
vo,
|
|
580
|
+
(e) => ({
|
|
581
|
+
title: e.title,
|
|
582
|
+
description: e.description
|
|
583
|
+
}),
|
|
584
|
+
{
|
|
585
|
+
windowWidth: 500,
|
|
586
|
+
windowHeight: 500,
|
|
587
|
+
windowPosition: "windowCenter"
|
|
588
|
+
}
|
|
589
|
+
);
|
|
590
|
+
function No(e, { title: o }) {
|
|
591
|
+
return f(e, "line.url"), "https://social-plugins.line.me/lineit/share" + p({
|
|
592
|
+
url: e,
|
|
593
|
+
text: o
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
h(
|
|
597
|
+
"line",
|
|
598
|
+
No,
|
|
599
|
+
(e) => ({
|
|
600
|
+
title: e.title
|
|
601
|
+
}),
|
|
602
|
+
{
|
|
603
|
+
windowWidth: 500,
|
|
604
|
+
windowHeight: 500
|
|
605
|
+
}
|
|
606
|
+
);
|
|
607
|
+
function Eo(e, { title: o, summary: r, source: n }) {
|
|
608
|
+
return f(e, "linkedin.url"), "https://linkedin.com/shareArticle" + p({ url: e, mini: "true", title: o, summary: r, source: n });
|
|
609
|
+
}
|
|
610
|
+
const yo = h(
|
|
611
|
+
"linkedin",
|
|
612
|
+
Eo,
|
|
613
|
+
({ title: e, summary: o, source: r }) => ({ title: e, summary: o, source: r }),
|
|
614
|
+
{
|
|
615
|
+
windowWidth: 750,
|
|
616
|
+
windowHeight: 600
|
|
617
|
+
}
|
|
618
|
+
), Do = yo;
|
|
619
|
+
function So(e, { title: o, description: r }) {
|
|
620
|
+
return f(e, "livejournal.url"), "https://www.livejournal.com/update.bml" + p({
|
|
621
|
+
subject: o,
|
|
622
|
+
event: r
|
|
623
|
+
});
|
|
624
|
+
}
|
|
625
|
+
h(
|
|
626
|
+
"livejournal",
|
|
627
|
+
So,
|
|
628
|
+
(e) => ({
|
|
629
|
+
title: e.title,
|
|
630
|
+
description: e.description
|
|
631
|
+
}),
|
|
632
|
+
{
|
|
633
|
+
windowWidth: 660,
|
|
634
|
+
windowHeight: 460
|
|
635
|
+
}
|
|
636
|
+
);
|
|
637
|
+
function jo(e, { title: o, description: r, imageUrl: n }) {
|
|
638
|
+
return f(e, "mailru.url"), "https://connect.mail.ru/share" + p({
|
|
639
|
+
url: e,
|
|
640
|
+
title: o,
|
|
641
|
+
description: r,
|
|
642
|
+
image_url: n
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
h(
|
|
646
|
+
"mailru",
|
|
647
|
+
jo,
|
|
648
|
+
(e) => ({
|
|
649
|
+
title: e.title,
|
|
650
|
+
description: e.description,
|
|
651
|
+
imageUrl: e.imageUrl
|
|
652
|
+
}),
|
|
653
|
+
{
|
|
654
|
+
windowWidth: 660,
|
|
655
|
+
windowHeight: 460
|
|
656
|
+
}
|
|
657
|
+
);
|
|
658
|
+
function Uo(e, { title: o, description: r, image: n }) {
|
|
659
|
+
return f(e, "ok.url"), "https://connect.ok.ru/offer" + p({
|
|
660
|
+
url: e,
|
|
661
|
+
title: o,
|
|
662
|
+
description: r,
|
|
663
|
+
imageUrl: n
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
h(
|
|
667
|
+
"ok",
|
|
668
|
+
Uo,
|
|
669
|
+
(e) => ({
|
|
670
|
+
title: e.title,
|
|
671
|
+
description: e.description,
|
|
672
|
+
image: e.image
|
|
673
|
+
}),
|
|
674
|
+
{
|
|
675
|
+
windowWidth: 588,
|
|
676
|
+
windowHeight: 480,
|
|
677
|
+
windowPosition: "screenCenter"
|
|
678
|
+
}
|
|
679
|
+
);
|
|
680
|
+
function Vo(e, o) {
|
|
681
|
+
window.OK || (window.OK = {
|
|
682
|
+
Share: {
|
|
683
|
+
count: function(c, d) {
|
|
684
|
+
var m, l;
|
|
685
|
+
(l = (m = window.OK.callbacks)[c]) == null || l.call(m, d);
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
callbacks: []
|
|
689
|
+
});
|
|
690
|
+
const r = "https://connect.ok.ru/dk", n = window.OK.callbacks.length;
|
|
691
|
+
return window.ODKL = {
|
|
692
|
+
updateCount(i, c) {
|
|
693
|
+
var d, m;
|
|
694
|
+
const l = i === "" ? 0 : parseInt(i.replace("react-share-", ""), 10);
|
|
695
|
+
(m = (d = window.OK.callbacks)[l]) == null || m.call(d, c === "" ? void 0 : parseInt(c, 10));
|
|
696
|
+
}
|
|
697
|
+
}, window.OK.callbacks.push(o), S(
|
|
698
|
+
r + p({
|
|
699
|
+
"st.cmd": "extLike",
|
|
700
|
+
uid: `react-share-${n}`,
|
|
701
|
+
ref: e
|
|
702
|
+
})
|
|
703
|
+
);
|
|
704
|
+
}
|
|
705
|
+
j(Vo);
|
|
706
|
+
function To(e, { media: o, description: r, pinId: n }) {
|
|
707
|
+
return n ? `https://pinterest.com/pin/${n}/repin/x/` : (f(e, "pinterest.url"), f(o, "pinterest.media"), "https://pinterest.com/pin/create/button/" + p({
|
|
708
|
+
url: e,
|
|
709
|
+
media: o,
|
|
710
|
+
description: r
|
|
711
|
+
}));
|
|
712
|
+
}
|
|
713
|
+
h(
|
|
714
|
+
"pinterest",
|
|
715
|
+
To,
|
|
716
|
+
(e) => ({
|
|
717
|
+
media: e.media,
|
|
718
|
+
description: e.description,
|
|
719
|
+
pinId: e.pinId
|
|
720
|
+
}),
|
|
721
|
+
{
|
|
722
|
+
windowWidth: 1e3,
|
|
723
|
+
windowHeight: 730
|
|
724
|
+
}
|
|
725
|
+
);
|
|
726
|
+
function Ao(e, o) {
|
|
727
|
+
S(
|
|
728
|
+
"https://api.pinterest.com/v1/urls/count.json" + p({
|
|
729
|
+
url: e
|
|
730
|
+
}),
|
|
731
|
+
(n, i) => {
|
|
732
|
+
o(i ? i.count : void 0);
|
|
733
|
+
}
|
|
734
|
+
);
|
|
735
|
+
}
|
|
736
|
+
j(Ao);
|
|
737
|
+
function Lo(e, { title: o }) {
|
|
738
|
+
return f(e, "pocket.url"), "https://getpocket.com/save" + p({
|
|
739
|
+
url: e,
|
|
740
|
+
title: o
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
h(
|
|
744
|
+
"pocket",
|
|
745
|
+
Lo,
|
|
746
|
+
(e) => ({
|
|
747
|
+
title: e.title
|
|
748
|
+
}),
|
|
749
|
+
{
|
|
750
|
+
windowWidth: 500,
|
|
751
|
+
windowHeight: 500
|
|
752
|
+
}
|
|
753
|
+
);
|
|
754
|
+
function Mo(e, { title: o }) {
|
|
755
|
+
return f(e, "reddit.url"), "https://www.reddit.com/submit" + p({
|
|
756
|
+
url: e,
|
|
757
|
+
title: o
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
h(
|
|
761
|
+
"reddit",
|
|
762
|
+
Mo,
|
|
763
|
+
(e) => ({
|
|
764
|
+
title: e.title
|
|
765
|
+
}),
|
|
766
|
+
{
|
|
767
|
+
windowWidth: 660,
|
|
768
|
+
windowHeight: 460,
|
|
769
|
+
windowPosition: "windowCenter"
|
|
770
|
+
}
|
|
771
|
+
);
|
|
772
|
+
function _o(e, { title: o }) {
|
|
773
|
+
return f(e, "gab.url"), "https://gab.com/compose" + p({
|
|
774
|
+
url: e,
|
|
775
|
+
text: o
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
h(
|
|
779
|
+
"gab",
|
|
780
|
+
_o,
|
|
781
|
+
(e) => ({
|
|
782
|
+
title: e.title
|
|
783
|
+
}),
|
|
784
|
+
{
|
|
785
|
+
windowWidth: 660,
|
|
786
|
+
windowHeight: 640,
|
|
787
|
+
windowPosition: "windowCenter"
|
|
788
|
+
}
|
|
789
|
+
);
|
|
790
|
+
function Po(e, o) {
|
|
791
|
+
const r = `https://www.reddit.com/api/info.json?limit=1&url=${e}`;
|
|
792
|
+
S(r, { param: "jsonp" }, (n, i) => {
|
|
793
|
+
o(
|
|
794
|
+
!n && i && i.data && i.data.children.length > 0 && i.data.children[0].data.score ? i.data.children[0].data.score : void 0
|
|
795
|
+
);
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
j(Po);
|
|
799
|
+
function Wo(e, { title: o }) {
|
|
800
|
+
return f(e, "telegram.url"), "https://telegram.me/share/url" + p({
|
|
801
|
+
url: e,
|
|
802
|
+
text: o
|
|
803
|
+
});
|
|
804
|
+
}
|
|
805
|
+
h(
|
|
806
|
+
"telegram",
|
|
807
|
+
Wo,
|
|
808
|
+
(e) => ({
|
|
809
|
+
title: e.title
|
|
810
|
+
}),
|
|
811
|
+
{
|
|
812
|
+
windowWidth: 550,
|
|
813
|
+
windowHeight: 400
|
|
814
|
+
}
|
|
815
|
+
);
|
|
816
|
+
function Bo(e, {
|
|
817
|
+
title: o,
|
|
818
|
+
caption: r,
|
|
819
|
+
tags: n,
|
|
820
|
+
posttype: i
|
|
821
|
+
}) {
|
|
822
|
+
return f(e, "tumblr.url"), "https://www.tumblr.com/widgets/share/tool" + p({
|
|
823
|
+
canonicalUrl: e,
|
|
824
|
+
title: o,
|
|
825
|
+
caption: r,
|
|
826
|
+
tags: n,
|
|
827
|
+
posttype: i
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
h(
|
|
831
|
+
"tumblr",
|
|
832
|
+
Bo,
|
|
833
|
+
(e) => ({
|
|
834
|
+
title: e.title,
|
|
835
|
+
tags: (e.tags || []).join(","),
|
|
836
|
+
caption: e.caption,
|
|
837
|
+
posttype: e.posttype || "link"
|
|
838
|
+
}),
|
|
839
|
+
{
|
|
840
|
+
windowWidth: 660,
|
|
841
|
+
windowHeight: 460
|
|
842
|
+
}
|
|
843
|
+
);
|
|
844
|
+
function Oo(e, o) {
|
|
845
|
+
return S(
|
|
846
|
+
"https://api.tumblr.com/v2/share/stats" + p({
|
|
847
|
+
url: e
|
|
848
|
+
}),
|
|
849
|
+
(n, i) => {
|
|
850
|
+
o(!n && i && i.response ? i.response.note_count : void 0);
|
|
851
|
+
}
|
|
852
|
+
);
|
|
853
|
+
}
|
|
854
|
+
j(Oo);
|
|
855
|
+
function Ro(e, {
|
|
856
|
+
title: o,
|
|
857
|
+
via: r,
|
|
858
|
+
hashtags: n = [],
|
|
859
|
+
related: i = []
|
|
860
|
+
}) {
|
|
861
|
+
return f(e, "twitter.url"), f(Array.isArray(n), "twitter.hashtags is not an array"), f(Array.isArray(i), "twitter.related is not an array"), "https://twitter.com/intent/tweet" + p({
|
|
862
|
+
url: e,
|
|
863
|
+
text: o,
|
|
864
|
+
via: r,
|
|
865
|
+
hashtags: n.length > 0 ? n.join(",") : void 0,
|
|
866
|
+
related: i.length > 0 ? i.join(",") : void 0
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
h(
|
|
870
|
+
"twitter",
|
|
871
|
+
Ro,
|
|
872
|
+
(e) => ({
|
|
873
|
+
hashtags: e.hashtags,
|
|
874
|
+
title: e.title,
|
|
875
|
+
via: e.via,
|
|
876
|
+
related: e.related
|
|
877
|
+
}),
|
|
878
|
+
{
|
|
879
|
+
windowWidth: 550,
|
|
880
|
+
windowHeight: 400
|
|
881
|
+
}
|
|
882
|
+
);
|
|
883
|
+
function Ho(e, { title: o, separator: r }) {
|
|
884
|
+
return f(e, "viber.url"), "viber://forward" + p({
|
|
885
|
+
text: o ? o + r + e : e
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
h(
|
|
889
|
+
"viber",
|
|
890
|
+
Ho,
|
|
891
|
+
(e) => ({
|
|
892
|
+
title: e.title,
|
|
893
|
+
separator: e.separator || " "
|
|
894
|
+
}),
|
|
895
|
+
{
|
|
896
|
+
windowWidth: 660,
|
|
897
|
+
windowHeight: 460
|
|
898
|
+
}
|
|
899
|
+
);
|
|
900
|
+
function $o(e, { title: o, image: r, noParse: n, noVkLinks: i }) {
|
|
901
|
+
return f(e, "vk.url"), "https://vk.com/share.php" + p({
|
|
902
|
+
url: e,
|
|
903
|
+
title: o,
|
|
904
|
+
image: r,
|
|
905
|
+
noparse: n ? 1 : 0,
|
|
906
|
+
no_vk_links: i ? 1 : 0
|
|
907
|
+
});
|
|
908
|
+
}
|
|
909
|
+
h(
|
|
910
|
+
"vk",
|
|
911
|
+
$o,
|
|
912
|
+
(e) => ({
|
|
913
|
+
title: e.title,
|
|
914
|
+
image: e.image,
|
|
915
|
+
noParse: e.noParse,
|
|
916
|
+
noVkLinks: e.noVkLinks
|
|
917
|
+
}),
|
|
918
|
+
{
|
|
919
|
+
windowWidth: 660,
|
|
920
|
+
windowHeight: 460
|
|
921
|
+
}
|
|
922
|
+
);
|
|
923
|
+
function zo(e, o) {
|
|
924
|
+
window.VK || (window.VK = {}), window.VK.Share = {
|
|
925
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
926
|
+
count: (i, c) => {
|
|
927
|
+
var d, m;
|
|
928
|
+
return (m = (d = window.VK.callbacks) == null ? void 0 : d[i]) == null ? void 0 : m.call(d, c);
|
|
929
|
+
}
|
|
930
|
+
}, window.VK.callbacks = [];
|
|
931
|
+
const r = "https://vk.com/share.php", n = window.VK.callbacks.length;
|
|
932
|
+
return window.VK.callbacks.push(o), S(
|
|
933
|
+
r + p({
|
|
934
|
+
act: "count",
|
|
935
|
+
index: n,
|
|
936
|
+
url: e
|
|
937
|
+
})
|
|
938
|
+
);
|
|
939
|
+
}
|
|
940
|
+
j(zo);
|
|
941
|
+
function Ko(e, { title: o, image: r }) {
|
|
942
|
+
return f(e, "weibo.url"), "http://service.weibo.com/share/share.php" + p({
|
|
943
|
+
url: e,
|
|
944
|
+
title: o,
|
|
945
|
+
pic: r
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
h(
|
|
949
|
+
"weibo",
|
|
950
|
+
Ko,
|
|
951
|
+
(e) => ({
|
|
952
|
+
title: e.title,
|
|
953
|
+
image: e.image
|
|
954
|
+
}),
|
|
955
|
+
{
|
|
956
|
+
windowWidth: 660,
|
|
957
|
+
windowHeight: 550,
|
|
958
|
+
windowPosition: "screenCenter"
|
|
959
|
+
}
|
|
960
|
+
);
|
|
961
|
+
function Fo() {
|
|
962
|
+
return /(android|iphone|ipad|mobile)/i.test(navigator.userAgent);
|
|
963
|
+
}
|
|
964
|
+
function Go(e, { title: o, separator: r }) {
|
|
965
|
+
return f(e, "whatsapp.url"), "https://" + (Fo() ? "api" : "web") + ".whatsapp.com/send" + p({
|
|
966
|
+
text: o ? o + r + e : e
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
h(
|
|
970
|
+
"whatsapp",
|
|
971
|
+
Go,
|
|
972
|
+
(e) => ({
|
|
973
|
+
title: e.title,
|
|
974
|
+
separator: e.separator || " "
|
|
975
|
+
}),
|
|
976
|
+
{
|
|
977
|
+
windowWidth: 550,
|
|
978
|
+
windowHeight: 400
|
|
979
|
+
}
|
|
980
|
+
);
|
|
981
|
+
function qo(e, { quote: o, hashtag: r }) {
|
|
982
|
+
return f(e, "workplace.url"), "https://work.facebook.com/sharer.php" + p({
|
|
983
|
+
u: e,
|
|
984
|
+
quote: o,
|
|
985
|
+
hashtag: r
|
|
986
|
+
});
|
|
987
|
+
}
|
|
988
|
+
h(
|
|
989
|
+
"workplace",
|
|
990
|
+
qo,
|
|
991
|
+
(e) => ({
|
|
992
|
+
quote: e.quote,
|
|
993
|
+
hashtag: e.hashtag
|
|
994
|
+
}),
|
|
995
|
+
{
|
|
996
|
+
windowWidth: 550,
|
|
997
|
+
windowHeight: 400
|
|
998
|
+
}
|
|
999
|
+
);
|
|
1000
|
+
var X = {}, Xo = Ce;
|
|
1001
|
+
Object.defineProperty(X, "__esModule", {
|
|
1002
|
+
value: !0
|
|
1003
|
+
});
|
|
1004
|
+
var se = X.default = void 0, Qo = Xo(ke()), Yo = Pe, Zo = (0, Qo.default)(/* @__PURE__ */ (0, Yo.jsx)("circle", {
|
|
1005
|
+
cx: "12",
|
|
1006
|
+
cy: "12",
|
|
1007
|
+
r: "8"
|
|
1008
|
+
}), "FiberManualRecord");
|
|
1009
|
+
se = X.default = Zo;
|
|
1010
|
+
const Jo = ve((e) => {
|
|
1011
|
+
var o, r, n, i, c, d, m, l, t;
|
|
1012
|
+
return {
|
|
1013
|
+
embedDesktopTabCardWp: {
|
|
1014
|
+
boxShadow: "none !important",
|
|
1015
|
+
overflow: "hidden",
|
|
1016
|
+
borderRadius: `${(o = e == null ? void 0 : e.borderRadius) == null ? void 0 : o.value} !important`,
|
|
1017
|
+
border: `1px solid ${(n = (r = e == null ? void 0 : e.palette) == null ? void 0 : r.customColor) == null ? void 0 : n.LINE}`,
|
|
1018
|
+
background: (c = (i = e == null ? void 0 : e.palette) == null ? void 0 : i.customColor) == null ? void 0 : c.BGLIGHT,
|
|
1019
|
+
cursor: "pointer",
|
|
1020
|
+
"& .card-container": {
|
|
1021
|
+
width: "100%",
|
|
1022
|
+
overflow: "hidden",
|
|
1023
|
+
[e.breakpoints.up("sm")]: {
|
|
1024
|
+
height: "270px"
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"& .card-content-area": {
|
|
1028
|
+
overflow: "hidden",
|
|
1029
|
+
display: "flex",
|
|
1030
|
+
flexDirection: "column",
|
|
1031
|
+
background: (m = (d = e == null ? void 0 : e.palette) == null ? void 0 : d.customColor) == null ? void 0 : m.BGLIGHT,
|
|
1032
|
+
"& .contentBox": {
|
|
1033
|
+
flex: "1 0 auto",
|
|
1034
|
+
padding: "20px 20px 0px 20px !important",
|
|
1035
|
+
overflow: "hidden",
|
|
1036
|
+
flexDirection: "column",
|
|
1037
|
+
[e.breakpoints.down("sm")]: {
|
|
1038
|
+
overflow: "initial"
|
|
1039
|
+
},
|
|
1040
|
+
"& .cardActionWp": {
|
|
1041
|
+
borderTop: `1px solid ${(t = (l = e == null ? void 0 : e.palette) == null ? void 0 : l.customColor) == null ? void 0 : t.LINE}`,
|
|
1042
|
+
padding: "20px 0px",
|
|
1043
|
+
display: "flex",
|
|
1044
|
+
justifyContent: "start",
|
|
1045
|
+
width: "100%",
|
|
1046
|
+
marginTop: "20px",
|
|
1047
|
+
[e.breakpoints.down("sm")]: {
|
|
1048
|
+
alignItems: "baseline"
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"& .TopContentBox": {
|
|
1052
|
+
width: "100%"
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
};
|
|
1058
|
+
}), Io = `
|
|
1059
|
+
.doticon .Platform-x-SvgIcon-root{
|
|
1060
|
+
font-size: 6px;
|
|
1061
|
+
}
|
|
1062
|
+
.doticon svg.MuiSvgIcon-root {
|
|
1063
|
+
font-size: 6px;
|
|
1064
|
+
}
|
|
1065
|
+
.embededtitle {
|
|
1066
|
+
display: -webkit-box;
|
|
1067
|
+
-webkit-box-orient: vertical;
|
|
1068
|
+
overflow: hidden;
|
|
1069
|
+
word-wrap: break-word;
|
|
1070
|
+
}
|
|
1071
|
+
.embededdesc {
|
|
1072
|
+
display: -webkit-box;
|
|
1073
|
+
-webkit-box-orient: vertical;
|
|
1074
|
+
overflow: hidden;
|
|
1075
|
+
word-wrap: break-word;
|
|
1076
|
+
}
|
|
1077
|
+
`, er = ({ content: e }) => {
|
|
1078
|
+
const o = Ne(e == null ? void 0 : e.Description) || "", r = Jo();
|
|
1079
|
+
return /* @__PURE__ */ a.jsxDEV(
|
|
1080
|
+
ne,
|
|
1081
|
+
{
|
|
1082
|
+
className: r.embedDesktopTabCardWp,
|
|
1083
|
+
sx: {
|
|
1084
|
+
margin: { xs: "8px 0px 8px 0", sm: "0" }
|
|
1085
|
+
},
|
|
1086
|
+
onClick: () => window.open(e == null ? void 0 : e.LandingPage, "_blank"),
|
|
1087
|
+
children: /* @__PURE__ */ a.jsxDEV(V, { container: !0, children: [
|
|
1088
|
+
/* @__PURE__ */ a.jsxDEV(V, { item: !0, xs: 12, className: "card-container", children: [
|
|
1089
|
+
/* @__PURE__ */ a.jsxDEV("style", { children: Io }, void 0, !1, {
|
|
1090
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1091
|
+
lineNumber: 62,
|
|
1092
|
+
columnNumber: 11
|
|
1093
|
+
}, void 0),
|
|
1094
|
+
(e == null ? void 0 : e.colorCode) !== void 0 && (e == null ? void 0 : e.colorCode) !== "" ? /* @__PURE__ */ a.jsxDEV(
|
|
1095
|
+
x,
|
|
1096
|
+
{
|
|
1097
|
+
sx: {
|
|
1098
|
+
height: "100%",
|
|
1099
|
+
width: "100%",
|
|
1100
|
+
background: e == null ? void 0 : e.colorCode
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
void 0,
|
|
1104
|
+
!1,
|
|
1105
|
+
{
|
|
1106
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1107
|
+
lineNumber: 64,
|
|
1108
|
+
columnNumber: 13
|
|
1109
|
+
},
|
|
1110
|
+
void 0
|
|
1111
|
+
) : /* @__PURE__ */ a.jsxDEV(
|
|
1112
|
+
Ee,
|
|
1113
|
+
{
|
|
1114
|
+
component: "img",
|
|
1115
|
+
image: e == null ? void 0 : e.Thumbnail,
|
|
1116
|
+
sx: {
|
|
1117
|
+
overflow: "hidden",
|
|
1118
|
+
height: "100%"
|
|
1119
|
+
},
|
|
1120
|
+
alt: "Image",
|
|
1121
|
+
className: "cardmediaimg"
|
|
1122
|
+
},
|
|
1123
|
+
void 0,
|
|
1124
|
+
!1,
|
|
1125
|
+
{
|
|
1126
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1127
|
+
lineNumber: 72,
|
|
1128
|
+
columnNumber: 13
|
|
1129
|
+
},
|
|
1130
|
+
void 0
|
|
1131
|
+
)
|
|
1132
|
+
] }, void 0, !0, {
|
|
1133
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1134
|
+
lineNumber: 61,
|
|
1135
|
+
columnNumber: 9
|
|
1136
|
+
}, void 0),
|
|
1137
|
+
/* @__PURE__ */ a.jsxDEV(V, { item: !0, xs: 12, className: "card-content-area", children: /* @__PURE__ */ a.jsxDEV(ye, { className: "contentBox", children: [
|
|
1138
|
+
/* @__PURE__ */ a.jsxDEV(x, { className: "TopContentBox", children: [
|
|
1139
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1140
|
+
D,
|
|
1141
|
+
{
|
|
1142
|
+
gutterBottom: !0,
|
|
1143
|
+
variant: "h3bold",
|
|
1144
|
+
className: "embededtitle",
|
|
1145
|
+
sx: {
|
|
1146
|
+
WebkitLineClamp: { xs: "2" }
|
|
1147
|
+
},
|
|
1148
|
+
children: e == null ? void 0 : e.Title
|
|
1149
|
+
},
|
|
1150
|
+
void 0,
|
|
1151
|
+
!1,
|
|
1152
|
+
{
|
|
1153
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1154
|
+
lineNumber: 87,
|
|
1155
|
+
columnNumber: 15
|
|
1156
|
+
},
|
|
1157
|
+
void 0
|
|
1158
|
+
),
|
|
1159
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1160
|
+
D,
|
|
1161
|
+
{
|
|
1162
|
+
variant: "p3regular",
|
|
1163
|
+
sx: {
|
|
1164
|
+
WebkitLineClamp: { xs: "2" }
|
|
1165
|
+
},
|
|
1166
|
+
className: "embededdesc",
|
|
1167
|
+
children: o
|
|
1168
|
+
},
|
|
1169
|
+
void 0,
|
|
1170
|
+
!1,
|
|
1171
|
+
{
|
|
1172
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1173
|
+
lineNumber: 96,
|
|
1174
|
+
columnNumber: 15
|
|
1175
|
+
},
|
|
1176
|
+
void 0
|
|
1177
|
+
)
|
|
1178
|
+
] }, void 0, !0, {
|
|
1179
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1180
|
+
lineNumber: 86,
|
|
1181
|
+
columnNumber: 13
|
|
1182
|
+
}, void 0),
|
|
1183
|
+
/* @__PURE__ */ a.jsxDEV(ae, { className: "cardActionWp", children: [
|
|
1184
|
+
/* @__PURE__ */ a.jsxDEV(D, { variant: "p4semibold", children: e == null ? void 0 : e.Author }, void 0, !1, {
|
|
1185
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1186
|
+
lineNumber: 106,
|
|
1187
|
+
columnNumber: 15
|
|
1188
|
+
}, void 0),
|
|
1189
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1190
|
+
D,
|
|
1191
|
+
{
|
|
1192
|
+
variant: "p4regular",
|
|
1193
|
+
sx: {
|
|
1194
|
+
display: { xs: "block", sm: "none" },
|
|
1195
|
+
marginLeft: "8px"
|
|
1196
|
+
},
|
|
1197
|
+
className: "doticon",
|
|
1198
|
+
children: /* @__PURE__ */ a.jsxDEV(se, {}, void 0, !1, {
|
|
1199
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1200
|
+
lineNumber: 114,
|
|
1201
|
+
columnNumber: 17
|
|
1202
|
+
}, void 0)
|
|
1203
|
+
},
|
|
1204
|
+
void 0,
|
|
1205
|
+
!1,
|
|
1206
|
+
{
|
|
1207
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1208
|
+
lineNumber: 107,
|
|
1209
|
+
columnNumber: 15
|
|
1210
|
+
},
|
|
1211
|
+
void 0
|
|
1212
|
+
),
|
|
1213
|
+
/* @__PURE__ */ a.jsxDEV(D, { variant: "p4regular", children: De(e == null ? void 0 : e.creationDate) }, void 0, !1, {
|
|
1214
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1215
|
+
lineNumber: 116,
|
|
1216
|
+
columnNumber: 15
|
|
1217
|
+
}, void 0)
|
|
1218
|
+
] }, void 0, !0, {
|
|
1219
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1220
|
+
lineNumber: 105,
|
|
1221
|
+
columnNumber: 13
|
|
1222
|
+
}, void 0)
|
|
1223
|
+
] }, void 0, !0, {
|
|
1224
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1225
|
+
lineNumber: 85,
|
|
1226
|
+
columnNumber: 11
|
|
1227
|
+
}, void 0) }, void 0, !1, {
|
|
1228
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1229
|
+
lineNumber: 84,
|
|
1230
|
+
columnNumber: 9
|
|
1231
|
+
}, void 0)
|
|
1232
|
+
] }, void 0, !0, {
|
|
1233
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1234
|
+
lineNumber: 60,
|
|
1235
|
+
columnNumber: 7
|
|
1236
|
+
}, void 0)
|
|
1237
|
+
},
|
|
1238
|
+
void 0,
|
|
1239
|
+
!1,
|
|
1240
|
+
{
|
|
1241
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbedDesktopTabCard/EmbedDesktopTabCard.tsx",
|
|
1242
|
+
lineNumber: 54,
|
|
1243
|
+
columnNumber: 5
|
|
1244
|
+
},
|
|
1245
|
+
void 0
|
|
1246
|
+
);
|
|
1247
|
+
};
|
|
1248
|
+
function oe({ maxWidth: e = 350, maxHeight: o }) {
|
|
1249
|
+
return /* @__PURE__ */ a.jsxDEV(
|
|
1250
|
+
ne,
|
|
1251
|
+
{
|
|
1252
|
+
sx: {
|
|
1253
|
+
maxWidth: e,
|
|
1254
|
+
maxHeight: o,
|
|
1255
|
+
m: 2,
|
|
1256
|
+
border: "none",
|
|
1257
|
+
boxShadow: "none"
|
|
1258
|
+
},
|
|
1259
|
+
children: [
|
|
1260
|
+
/* @__PURE__ */ a.jsxDEV(W, { sx: { height: 190, marginBottom: 2 }, animation: "wave", variant: "rectangular" }, void 0, !1, {
|
|
1261
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
|
|
1262
|
+
lineNumber: 18,
|
|
1263
|
+
columnNumber: 7
|
|
1264
|
+
}, this),
|
|
1265
|
+
/* @__PURE__ */ a.jsxDEV(W, { animation: "wave", width: "40%", height: 15, style: { marginBottom: 15 } }, void 0, !1, {
|
|
1266
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
|
|
1267
|
+
lineNumber: 19,
|
|
1268
|
+
columnNumber: 7
|
|
1269
|
+
}, this),
|
|
1270
|
+
/* @__PURE__ */ a.jsxDEV(W, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } }, void 0, !1, {
|
|
1271
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
|
|
1272
|
+
lineNumber: 20,
|
|
1273
|
+
columnNumber: 7
|
|
1274
|
+
}, this),
|
|
1275
|
+
/* @__PURE__ */ a.jsxDEV(W, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } }, void 0, !1, {
|
|
1276
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
|
|
1277
|
+
lineNumber: 21,
|
|
1278
|
+
columnNumber: 7
|
|
1279
|
+
}, this)
|
|
1280
|
+
]
|
|
1281
|
+
},
|
|
1282
|
+
void 0,
|
|
1283
|
+
!0,
|
|
1284
|
+
{
|
|
1285
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Skeleton/Skeleton.tsx",
|
|
1286
|
+
lineNumber: 10,
|
|
1287
|
+
columnNumber: 5
|
|
1288
|
+
},
|
|
1289
|
+
this
|
|
1290
|
+
);
|
|
1291
|
+
}
|
|
1292
|
+
const or = ({ selectedItem: e }) => {
|
|
1293
|
+
const [o, r] = O(!1), n = {
|
|
1294
|
+
Title: e == null ? void 0 : e.Title,
|
|
1295
|
+
Description: e == null ? void 0 : e.Description,
|
|
1296
|
+
Thumbnail: e == null ? void 0 : e.Thumbnail,
|
|
1297
|
+
Author: e == null ? void 0 : e.Author,
|
|
1298
|
+
creationDate: e == null ? void 0 : e.creationDate,
|
|
1299
|
+
Page: e == null ? void 0 : e.Page,
|
|
1300
|
+
LandingPage: e == null ? void 0 : e.LandingPage,
|
|
1301
|
+
ContentURL: e == null ? void 0 : e.ContentURL
|
|
1302
|
+
}, i = `
|
|
1303
|
+
<iframe src="${n == null ? void 0 : n.Page}" width="360" height="203" style="border:none;overflow:hidden"></iframe>
|
|
1304
|
+
`, c = `
|
|
1305
|
+
<iframe src="${n == null ? void 0 : n.Page}" width="480" height="270" style="border:none;overflow:hidden"></iframe>
|
|
1306
|
+
`, d = (m) => {
|
|
1307
|
+
navigator.clipboard.writeText(m), r(!0);
|
|
1308
|
+
};
|
|
1309
|
+
return /* @__PURE__ */ a.jsxDEV(
|
|
1310
|
+
x,
|
|
1311
|
+
{
|
|
1312
|
+
sx: {
|
|
1313
|
+
overflowY: "auto"
|
|
1314
|
+
},
|
|
1315
|
+
children: /* @__PURE__ */ a.jsxDEV(V, { container: !0, children: [
|
|
1316
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1317
|
+
V,
|
|
1318
|
+
{
|
|
1319
|
+
item: !0,
|
|
1320
|
+
xs: 12,
|
|
1321
|
+
em: 7,
|
|
1322
|
+
sx: {
|
|
1323
|
+
background: "#f5f6f8",
|
|
1324
|
+
display: "flex",
|
|
1325
|
+
alignItems: { xs: "start", md: "center" },
|
|
1326
|
+
height: { xs: "520px", sm: "initial", md: "initial", em: "480px" }
|
|
1327
|
+
},
|
|
1328
|
+
children: /* @__PURE__ */ a.jsxDEV(
|
|
1329
|
+
x,
|
|
1330
|
+
{
|
|
1331
|
+
sx: {
|
|
1332
|
+
width: { xs: "100%", md: "100%", lg: "100%" },
|
|
1333
|
+
padding: {
|
|
1334
|
+
xs: "56px 10px 0px 10px",
|
|
1335
|
+
md: "65px 0px"
|
|
1336
|
+
// lg: "82px 20px",
|
|
1337
|
+
},
|
|
1338
|
+
display: "flex",
|
|
1339
|
+
justifyContent: "center",
|
|
1340
|
+
alignItems: "center"
|
|
1341
|
+
},
|
|
1342
|
+
className: "card1",
|
|
1343
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ a.jsxDEV(er, { content: n }, void 0, !1, {
|
|
1344
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1345
|
+
lineNumber: 61,
|
|
1346
|
+
columnNumber: 15
|
|
1347
|
+
}, void 0) : /* @__PURE__ */ a.jsxDEV(oe, { maxWidth: 480, maxHeight: 500 }, void 0, !1, {
|
|
1348
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1349
|
+
lineNumber: 63,
|
|
1350
|
+
columnNumber: 15
|
|
1351
|
+
}, void 0)
|
|
1352
|
+
},
|
|
1353
|
+
void 0,
|
|
1354
|
+
!1,
|
|
1355
|
+
{
|
|
1356
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1357
|
+
lineNumber: 47,
|
|
1358
|
+
columnNumber: 11
|
|
1359
|
+
},
|
|
1360
|
+
void 0
|
|
1361
|
+
)
|
|
1362
|
+
},
|
|
1363
|
+
void 0,
|
|
1364
|
+
!1,
|
|
1365
|
+
{
|
|
1366
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1367
|
+
lineNumber: 37,
|
|
1368
|
+
columnNumber: 9
|
|
1369
|
+
},
|
|
1370
|
+
void 0
|
|
1371
|
+
),
|
|
1372
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1373
|
+
V,
|
|
1374
|
+
{
|
|
1375
|
+
item: !0,
|
|
1376
|
+
xs: 12,
|
|
1377
|
+
em: 5,
|
|
1378
|
+
sx: {
|
|
1379
|
+
padding: {
|
|
1380
|
+
xs: "30px 10px 0px 10px",
|
|
1381
|
+
sm: "30px 20px 0px 20px",
|
|
1382
|
+
md: "35px 25px",
|
|
1383
|
+
lg: "0px 25px 0px 20px"
|
|
1384
|
+
},
|
|
1385
|
+
display: "flex",
|
|
1386
|
+
justifyContent: "center",
|
|
1387
|
+
alignItems: "center"
|
|
1388
|
+
},
|
|
1389
|
+
children: /* @__PURE__ */ a.jsxDEV(
|
|
1390
|
+
x,
|
|
1391
|
+
{
|
|
1392
|
+
sx: {
|
|
1393
|
+
padding: {
|
|
1394
|
+
xs: "20px 0 0 0",
|
|
1395
|
+
md: "0"
|
|
1396
|
+
//lg: '20px 0px 0 0',
|
|
1397
|
+
},
|
|
1398
|
+
width: { xs: "360px", sm: "480px" }
|
|
1399
|
+
},
|
|
1400
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ a.jsxDEV(a.Fragment, { children: [
|
|
1401
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1402
|
+
x,
|
|
1403
|
+
{
|
|
1404
|
+
sx: {
|
|
1405
|
+
marginBottom: { md: "25px", lg: "0" },
|
|
1406
|
+
padding: { xs: "0 0 10px 0", md: "0" }
|
|
1407
|
+
},
|
|
1408
|
+
children: [
|
|
1409
|
+
/* @__PURE__ */ a.jsxDEV(x, { children: /* @__PURE__ */ a.jsxDEV(
|
|
1410
|
+
D,
|
|
1411
|
+
{
|
|
1412
|
+
variant: "h3bold",
|
|
1413
|
+
color: "textColor1",
|
|
1414
|
+
padding: 0,
|
|
1415
|
+
margin: 0,
|
|
1416
|
+
sx: { textTransform: "capitalize" },
|
|
1417
|
+
children: "Social Embed link"
|
|
1418
|
+
},
|
|
1419
|
+
void 0,
|
|
1420
|
+
!1,
|
|
1421
|
+
{
|
|
1422
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1423
|
+
lineNumber: 99,
|
|
1424
|
+
columnNumber: 21
|
|
1425
|
+
},
|
|
1426
|
+
void 0
|
|
1427
|
+
) }, void 0, !1, {
|
|
1428
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1429
|
+
lineNumber: 98,
|
|
1430
|
+
columnNumber: 19
|
|
1431
|
+
}, void 0),
|
|
1432
|
+
/* @__PURE__ */ a.jsxDEV(x, { children: /* @__PURE__ */ a.jsxDEV(
|
|
1433
|
+
D,
|
|
1434
|
+
{
|
|
1435
|
+
variant: "h7regular",
|
|
1436
|
+
padding: 0,
|
|
1437
|
+
margin: 0,
|
|
1438
|
+
sx: { color: "#89909a" },
|
|
1439
|
+
children: "Embed this content type anywhere on the web"
|
|
1440
|
+
},
|
|
1441
|
+
void 0,
|
|
1442
|
+
!1,
|
|
1443
|
+
{
|
|
1444
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1445
|
+
lineNumber: 109,
|
|
1446
|
+
columnNumber: 21
|
|
1447
|
+
},
|
|
1448
|
+
void 0
|
|
1449
|
+
) }, void 0, !1, {
|
|
1450
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1451
|
+
lineNumber: 108,
|
|
1452
|
+
columnNumber: 19
|
|
1453
|
+
}, void 0)
|
|
1454
|
+
]
|
|
1455
|
+
},
|
|
1456
|
+
void 0,
|
|
1457
|
+
!0,
|
|
1458
|
+
{
|
|
1459
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1460
|
+
lineNumber: 93,
|
|
1461
|
+
columnNumber: 17
|
|
1462
|
+
},
|
|
1463
|
+
void 0
|
|
1464
|
+
),
|
|
1465
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1466
|
+
x,
|
|
1467
|
+
{
|
|
1468
|
+
sx: {
|
|
1469
|
+
height: { lg: "295px", xl: "225px" },
|
|
1470
|
+
// height: "auto",
|
|
1471
|
+
overflowY: "auto",
|
|
1472
|
+
borderRadius: "5px",
|
|
1473
|
+
border: "solid 1px #ced3d9",
|
|
1474
|
+
flexGrow: " 0",
|
|
1475
|
+
margin: { lg: "18px 0 34px" },
|
|
1476
|
+
padding: "16px 20px 24px 25px",
|
|
1477
|
+
overflowWrap: "break-word",
|
|
1478
|
+
display: { xs: "block", md: "none" },
|
|
1479
|
+
fontFamily: "Roboto Mono",
|
|
1480
|
+
wordBreak: "break-word"
|
|
1481
|
+
},
|
|
1482
|
+
children: i
|
|
1483
|
+
},
|
|
1484
|
+
void 0,
|
|
1485
|
+
!1,
|
|
1486
|
+
{
|
|
1487
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1488
|
+
lineNumber: 118,
|
|
1489
|
+
columnNumber: 17
|
|
1490
|
+
},
|
|
1491
|
+
void 0
|
|
1492
|
+
),
|
|
1493
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1494
|
+
x,
|
|
1495
|
+
{
|
|
1496
|
+
sx: {
|
|
1497
|
+
height: { md: "215px", lg: "215px" },
|
|
1498
|
+
//height: 'auto',
|
|
1499
|
+
overflowY: "auto",
|
|
1500
|
+
borderRadius: "5px",
|
|
1501
|
+
border: "solid 1px #ced3d9",
|
|
1502
|
+
flexGrow: " 0",
|
|
1503
|
+
margin: { md: "15px 0" },
|
|
1504
|
+
padding: "16px 20px 24px 25px",
|
|
1505
|
+
overflowWrap: "break-word",
|
|
1506
|
+
display: { xs: "none", md: "block" },
|
|
1507
|
+
fontFamily: "Roboto Mono",
|
|
1508
|
+
wordBreak: "break-word"
|
|
1509
|
+
},
|
|
1510
|
+
children: c
|
|
1511
|
+
},
|
|
1512
|
+
void 0,
|
|
1513
|
+
!1,
|
|
1514
|
+
{
|
|
1515
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1516
|
+
lineNumber: 135,
|
|
1517
|
+
columnNumber: 17
|
|
1518
|
+
},
|
|
1519
|
+
void 0
|
|
1520
|
+
),
|
|
1521
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1522
|
+
x,
|
|
1523
|
+
{
|
|
1524
|
+
sx: {
|
|
1525
|
+
display: "flex",
|
|
1526
|
+
flexDirection: "row-reverse"
|
|
1527
|
+
},
|
|
1528
|
+
children: [
|
|
1529
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1530
|
+
Z,
|
|
1531
|
+
{
|
|
1532
|
+
variant: "primaryButton1",
|
|
1533
|
+
sx: {
|
|
1534
|
+
display: { xs: "none", md: "flex" },
|
|
1535
|
+
margin: "0",
|
|
1536
|
+
padding: "0"
|
|
1537
|
+
},
|
|
1538
|
+
onClick: () => d(c),
|
|
1539
|
+
"data-testid": "copy-desktop-embedded-code",
|
|
1540
|
+
children: o ? "Copied" : "Copy Code"
|
|
1541
|
+
},
|
|
1542
|
+
void 0,
|
|
1543
|
+
!1,
|
|
1544
|
+
{
|
|
1545
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1546
|
+
lineNumber: 157,
|
|
1547
|
+
columnNumber: 19
|
|
1548
|
+
},
|
|
1549
|
+
void 0
|
|
1550
|
+
),
|
|
1551
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1552
|
+
Z,
|
|
1553
|
+
{
|
|
1554
|
+
variant: "primaryButton1",
|
|
1555
|
+
sx: {
|
|
1556
|
+
padding: "0",
|
|
1557
|
+
minWidth: { xs: "100%" },
|
|
1558
|
+
display: { xs: "flex", md: "none" },
|
|
1559
|
+
margin: { xs: "20px 0 0 0", md: 0 }
|
|
1560
|
+
},
|
|
1561
|
+
onClick: () => d(i),
|
|
1562
|
+
"data-testid": "copy-mobile-embedded-code",
|
|
1563
|
+
children: o ? "Copied" : "Copy Code"
|
|
1564
|
+
},
|
|
1565
|
+
void 0,
|
|
1566
|
+
!1,
|
|
1567
|
+
{
|
|
1568
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1569
|
+
lineNumber: 168,
|
|
1570
|
+
columnNumber: 19
|
|
1571
|
+
},
|
|
1572
|
+
void 0
|
|
1573
|
+
)
|
|
1574
|
+
]
|
|
1575
|
+
},
|
|
1576
|
+
void 0,
|
|
1577
|
+
!0,
|
|
1578
|
+
{
|
|
1579
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1580
|
+
lineNumber: 152,
|
|
1581
|
+
columnNumber: 17
|
|
1582
|
+
},
|
|
1583
|
+
void 0
|
|
1584
|
+
)
|
|
1585
|
+
] }, void 0, !0, {
|
|
1586
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1587
|
+
lineNumber: 92,
|
|
1588
|
+
columnNumber: 15
|
|
1589
|
+
}, void 0) : /* @__PURE__ */ a.jsxDEV(oe, { maxWidth: 480, maxHeight: 500 }, void 0, !1, {
|
|
1590
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1591
|
+
lineNumber: 183,
|
|
1592
|
+
columnNumber: 15
|
|
1593
|
+
}, void 0)
|
|
1594
|
+
},
|
|
1595
|
+
void 0,
|
|
1596
|
+
!1,
|
|
1597
|
+
{
|
|
1598
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1599
|
+
lineNumber: 82,
|
|
1600
|
+
columnNumber: 11
|
|
1601
|
+
},
|
|
1602
|
+
void 0
|
|
1603
|
+
)
|
|
1604
|
+
},
|
|
1605
|
+
void 0,
|
|
1606
|
+
!1,
|
|
1607
|
+
{
|
|
1608
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1609
|
+
lineNumber: 67,
|
|
1610
|
+
columnNumber: 9
|
|
1611
|
+
},
|
|
1612
|
+
void 0
|
|
1613
|
+
)
|
|
1614
|
+
] }, void 0, !0, {
|
|
1615
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1616
|
+
lineNumber: 36,
|
|
1617
|
+
columnNumber: 7
|
|
1618
|
+
}, void 0)
|
|
1619
|
+
},
|
|
1620
|
+
void 0,
|
|
1621
|
+
!1,
|
|
1622
|
+
{
|
|
1623
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/CardContent.tsx",
|
|
1624
|
+
lineNumber: 32,
|
|
1625
|
+
columnNumber: 5
|
|
1626
|
+
},
|
|
1627
|
+
void 0
|
|
1628
|
+
);
|
|
1629
|
+
};
|
|
1630
|
+
function rr({
|
|
1631
|
+
isDialogOpen: e,
|
|
1632
|
+
closeEmbedButtonHandle: o,
|
|
1633
|
+
setSelectedItem: r
|
|
1634
|
+
}) {
|
|
1635
|
+
return /* @__PURE__ */ a.jsxDEV(x, { className: "embedmodal", children: /* @__PURE__ */ a.jsxDEV(
|
|
1636
|
+
Se,
|
|
1637
|
+
{
|
|
1638
|
+
fullWidth: !0,
|
|
1639
|
+
open: e,
|
|
1640
|
+
onClose: o,
|
|
1641
|
+
"aria-labelledby": "alert-dialog-title",
|
|
1642
|
+
"aria-describedby": "alert-dialog-description",
|
|
1643
|
+
PaperProps: {
|
|
1644
|
+
sx: {
|
|
1645
|
+
maxWidth: { xs: "97%", sm: "1080px" },
|
|
1646
|
+
width: "97%",
|
|
1647
|
+
margin: { xs: "0px" },
|
|
1648
|
+
overflow: "hidden",
|
|
1649
|
+
height: { md: "480px" }
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
sx: {
|
|
1653
|
+
display: "block",
|
|
1654
|
+
height: { xs: "100vh", sm: "auto" }
|
|
1655
|
+
},
|
|
1656
|
+
children: [
|
|
1657
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1658
|
+
x,
|
|
1659
|
+
{
|
|
1660
|
+
sx: {
|
|
1661
|
+
paddingLeft: "20px",
|
|
1662
|
+
marginTop: "8px",
|
|
1663
|
+
marginLeft: { xs: "initial", md: "auto" },
|
|
1664
|
+
position: "absolute",
|
|
1665
|
+
right: "-10px"
|
|
1666
|
+
},
|
|
1667
|
+
children: /* @__PURE__ */ a.jsxDEV(
|
|
1668
|
+
x,
|
|
1669
|
+
{
|
|
1670
|
+
sx: { textAlign: "right", cursor: "pointer", zIndex: "99999" },
|
|
1671
|
+
mt: 1,
|
|
1672
|
+
mr: 3,
|
|
1673
|
+
onClick: o,
|
|
1674
|
+
children: /* @__PURE__ */ a.jsxDEV(je, {}, void 0, !1, {
|
|
1675
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
|
|
1676
|
+
lineNumber: 59,
|
|
1677
|
+
columnNumber: 13
|
|
1678
|
+
}, this)
|
|
1679
|
+
},
|
|
1680
|
+
void 0,
|
|
1681
|
+
!1,
|
|
1682
|
+
{
|
|
1683
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
|
|
1684
|
+
lineNumber: 54,
|
|
1685
|
+
columnNumber: 11
|
|
1686
|
+
},
|
|
1687
|
+
this
|
|
1688
|
+
)
|
|
1689
|
+
},
|
|
1690
|
+
void 0,
|
|
1691
|
+
!1,
|
|
1692
|
+
{
|
|
1693
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
|
|
1694
|
+
lineNumber: 46,
|
|
1695
|
+
columnNumber: 9
|
|
1696
|
+
},
|
|
1697
|
+
this
|
|
1698
|
+
),
|
|
1699
|
+
/* @__PURE__ */ a.jsxDEV(or, { selectedItem: r }, void 0, !1, {
|
|
1700
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
|
|
1701
|
+
lineNumber: 62,
|
|
1702
|
+
columnNumber: 9
|
|
1703
|
+
}, this)
|
|
1704
|
+
]
|
|
1705
|
+
},
|
|
1706
|
+
void 0,
|
|
1707
|
+
!0,
|
|
1708
|
+
{
|
|
1709
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
|
|
1710
|
+
lineNumber: 27,
|
|
1711
|
+
columnNumber: 7
|
|
1712
|
+
},
|
|
1713
|
+
this
|
|
1714
|
+
) }, void 0, !1, {
|
|
1715
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/EmbededModal/EmbededModal.tsx",
|
|
1716
|
+
lineNumber: 26,
|
|
1717
|
+
columnNumber: 5
|
|
1718
|
+
}, this);
|
|
1719
|
+
}
|
|
1720
|
+
const nr = (e) => {
|
|
1721
|
+
const o = Ue(), { shareUrl: r = "", domainUrl: n = "", enablePreview: i, showRecentArticles: c } = e, d = () => {
|
|
1722
|
+
if (e.whiteIcon)
|
|
1723
|
+
return {
|
|
1724
|
+
filter: "brightness(0) invert(1)"
|
|
1725
|
+
};
|
|
1726
|
+
}, m = (y = "#2d2d39") => ({
|
|
1727
|
+
display: "flex",
|
|
1728
|
+
justifyContent: "center",
|
|
1729
|
+
alignItems: "center",
|
|
1730
|
+
height: "33px !important",
|
|
1731
|
+
width: "33px !important",
|
|
1732
|
+
borderRadius: "3px",
|
|
1733
|
+
cursor: "pointer",
|
|
1734
|
+
marginRight: "12px",
|
|
1735
|
+
background: e.whiteIcon ? " " : o.palette.textColor,
|
|
1736
|
+
"&:hover": {
|
|
1737
|
+
img: {
|
|
1738
|
+
filter: "brightness(0) invert(1)"
|
|
1739
|
+
},
|
|
1740
|
+
background: y
|
|
1741
|
+
},
|
|
1742
|
+
border: e.border
|
|
1743
|
+
}), l = {
|
|
1744
|
+
display: "flex",
|
|
1745
|
+
justifyContent: "center",
|
|
1746
|
+
alignItems: "center",
|
|
1747
|
+
cursor: i ? "default" : "pointer"
|
|
1748
|
+
}, t = {
|
|
1749
|
+
opacity: 1
|
|
1750
|
+
}, s = async () => {
|
|
1751
|
+
"clipboard" in navigator && n ? (await navigator.clipboard.writeText(n), Ve("URL copied successfully.")) : J(
|
|
1752
|
+
"We have not been able to complete the requested action. Please try again later"
|
|
1753
|
+
);
|
|
1754
|
+
}, u = () => {
|
|
1755
|
+
}, [b, w] = O(!1), g = (y = "") => {
|
|
1756
|
+
y || J(
|
|
1757
|
+
"We have not been able to complete the requested action. Please try again later"
|
|
1758
|
+
);
|
|
1759
|
+
}, E = () => {
|
|
1760
|
+
w(!0);
|
|
1761
|
+
}, v = () => {
|
|
1762
|
+
w(!1);
|
|
1763
|
+
};
|
|
1764
|
+
return /* @__PURE__ */ a.jsxDEV(
|
|
1765
|
+
x,
|
|
1766
|
+
{
|
|
1767
|
+
sx: {
|
|
1768
|
+
display: "flex",
|
|
1769
|
+
mt: "5px"
|
|
1770
|
+
},
|
|
1771
|
+
children: [
|
|
1772
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1773
|
+
ho,
|
|
1774
|
+
{
|
|
1775
|
+
disabled: i,
|
|
1776
|
+
onClick: () => !i && g(r),
|
|
1777
|
+
onShareWindowClose: u,
|
|
1778
|
+
url: r,
|
|
1779
|
+
style: l,
|
|
1780
|
+
disabledStyle: t,
|
|
1781
|
+
"data-testid": "facebook-share",
|
|
1782
|
+
children: /* @__PURE__ */ a.jsxDEV(
|
|
1783
|
+
x,
|
|
1784
|
+
{
|
|
1785
|
+
sx: {
|
|
1786
|
+
...m("#1078f0"),
|
|
1787
|
+
cursor: i ? "default" : "pointer"
|
|
1788
|
+
},
|
|
1789
|
+
onClick: () => !i && g(r),
|
|
1790
|
+
children: /* @__PURE__ */ a.jsxDEV("img", { alt: "share1", width: 15, height: 15, src: ze, style: { ...d() } }, void 0, !1, {
|
|
1791
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1792
|
+
lineNumber: 109,
|
|
1793
|
+
columnNumber: 11
|
|
1794
|
+
}, void 0)
|
|
1795
|
+
},
|
|
1796
|
+
void 0,
|
|
1797
|
+
!1,
|
|
1798
|
+
{
|
|
1799
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1800
|
+
lineNumber: 103,
|
|
1801
|
+
columnNumber: 9
|
|
1802
|
+
},
|
|
1803
|
+
void 0
|
|
1804
|
+
)
|
|
1805
|
+
},
|
|
1806
|
+
void 0,
|
|
1807
|
+
!1,
|
|
1808
|
+
{
|
|
1809
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1810
|
+
lineNumber: 95,
|
|
1811
|
+
columnNumber: 7
|
|
1812
|
+
},
|
|
1813
|
+
void 0
|
|
1814
|
+
),
|
|
1815
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1816
|
+
Do,
|
|
1817
|
+
{
|
|
1818
|
+
disabled: i,
|
|
1819
|
+
onShareWindowClose: u,
|
|
1820
|
+
url: r,
|
|
1821
|
+
style: l,
|
|
1822
|
+
disabledStyle: t,
|
|
1823
|
+
children: /* @__PURE__ */ a.jsxDEV(
|
|
1824
|
+
x,
|
|
1825
|
+
{
|
|
1826
|
+
sx: {
|
|
1827
|
+
...m("#2d67b3"),
|
|
1828
|
+
cursor: i ? "default" : "pointer"
|
|
1829
|
+
},
|
|
1830
|
+
onClick: () => !i && g(r),
|
|
1831
|
+
"data-testid": "linkedin-share",
|
|
1832
|
+
children: /* @__PURE__ */ a.jsxDEV("img", { alt: "share4", width: 15, height: 15, src: Ke, style: { ...d() } }, void 0, !1, {
|
|
1833
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1834
|
+
lineNumber: 125,
|
|
1835
|
+
columnNumber: 11
|
|
1836
|
+
}, void 0)
|
|
1837
|
+
},
|
|
1838
|
+
void 0,
|
|
1839
|
+
!1,
|
|
1840
|
+
{
|
|
1841
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1842
|
+
lineNumber: 118,
|
|
1843
|
+
columnNumber: 9
|
|
1844
|
+
},
|
|
1845
|
+
void 0
|
|
1846
|
+
)
|
|
1847
|
+
},
|
|
1848
|
+
void 0,
|
|
1849
|
+
!1,
|
|
1850
|
+
{
|
|
1851
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1852
|
+
lineNumber: 112,
|
|
1853
|
+
columnNumber: 7
|
|
1854
|
+
},
|
|
1855
|
+
void 0
|
|
1856
|
+
),
|
|
1857
|
+
/* @__PURE__ */ a.jsxDEV(
|
|
1858
|
+
x,
|
|
1859
|
+
{
|
|
1860
|
+
sx: {
|
|
1861
|
+
...m("#229af1"),
|
|
1862
|
+
cursor: i ? "default" : "pointer"
|
|
1863
|
+
},
|
|
1864
|
+
onClick: () => !i && s(),
|
|
1865
|
+
"data-testid": "copy-clipboard-data",
|
|
1866
|
+
children: /* @__PURE__ */ a.jsxDEV("img", { alt: "share5", width: 15, height: 15, src: He, style: { ...d() } }, void 0, !1, {
|
|
1867
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1868
|
+
lineNumber: 136,
|
|
1869
|
+
columnNumber: 9
|
|
1870
|
+
}, void 0)
|
|
1871
|
+
},
|
|
1872
|
+
void 0,
|
|
1873
|
+
!1,
|
|
1874
|
+
{
|
|
1875
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1876
|
+
lineNumber: 129,
|
|
1877
|
+
columnNumber: 7
|
|
1878
|
+
},
|
|
1879
|
+
void 0
|
|
1880
|
+
),
|
|
1881
|
+
c && /* @__PURE__ */ a.jsxDEV(
|
|
1882
|
+
x,
|
|
1883
|
+
{
|
|
1884
|
+
sx: {
|
|
1885
|
+
...m("#2d2d39"),
|
|
1886
|
+
cursor: i ? "default" : "pointer",
|
|
1887
|
+
marginRight: 0
|
|
1888
|
+
},
|
|
1889
|
+
onClick: () => {
|
|
1890
|
+
!i && E();
|
|
1891
|
+
},
|
|
1892
|
+
"data-testid": "preview-and-embed",
|
|
1893
|
+
children: /* @__PURE__ */ a.jsxDEV("img", { alt: "share6", width: 15, height: 15, src: $e, style: { ...d() } }, void 0, !1, {
|
|
1894
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1895
|
+
lineNumber: 150,
|
|
1896
|
+
columnNumber: 11
|
|
1897
|
+
}, void 0)
|
|
1898
|
+
},
|
|
1899
|
+
void 0,
|
|
1900
|
+
!1,
|
|
1901
|
+
{
|
|
1902
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1903
|
+
lineNumber: 140,
|
|
1904
|
+
columnNumber: 9
|
|
1905
|
+
},
|
|
1906
|
+
void 0
|
|
1907
|
+
),
|
|
1908
|
+
b ? /* @__PURE__ */ a.jsxDEV(
|
|
1909
|
+
rr,
|
|
1910
|
+
{
|
|
1911
|
+
isDialogOpen: b,
|
|
1912
|
+
closeEmbedButtonHandle: v,
|
|
1913
|
+
setSelectedItem: e == null ? void 0 : e.embedData
|
|
1914
|
+
},
|
|
1915
|
+
void 0,
|
|
1916
|
+
!1,
|
|
1917
|
+
{
|
|
1918
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1919
|
+
lineNumber: 154,
|
|
1920
|
+
columnNumber: 9
|
|
1921
|
+
},
|
|
1922
|
+
void 0
|
|
1923
|
+
) : null
|
|
1924
|
+
]
|
|
1925
|
+
},
|
|
1926
|
+
void 0,
|
|
1927
|
+
!0,
|
|
1928
|
+
{
|
|
1929
|
+
fileName: "C:/Users/kollatimurali.k/agora-poc/platformx-mono-repo-nx/libs/hc-prelems/src/lib/components/Share/Share.tsx",
|
|
1930
|
+
lineNumber: 90,
|
|
1931
|
+
columnNumber: 5
|
|
1932
|
+
},
|
|
1933
|
+
void 0
|
|
1934
|
+
);
|
|
1935
|
+
}, sr = Ae.memo(nr);
|
|
1936
|
+
export {
|
|
1937
|
+
sr as default
|
|
1938
|
+
};
|