@platform-x/hcltechx-mfe-wrapper 2.0.11 → 2.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ArticleVodListComponent-DDlpAvkj.mjs → ArticleVodListComponent-DggJaF-f.mjs} +2 -2
- package/{ChallengeDetailComponent-Cp5WgZyn.mjs → ChallengeDetailComponent-CB8MJ0zD.mjs} +51 -50
- package/{ChallengeSliderComponent-sHMLVTzY.mjs → ChallengeSliderComponent-SeuU6g5y.mjs} +3 -3
- package/{CommonContentComponent-B3AlVAyo.mjs → CommonContentComponent-DL5KGR_X.mjs} +4 -4
- package/{DailyMotion-Ctf9dZNz.mjs → DailyMotion-3s94UGtP.mjs} +2 -2
- package/{EngagementHomeComponent-BzULVQ1b.mjs → EngagementHomeComponent-epGBwTBw.mjs} +3 -3
- package/{EventDetailComponent-BFrpAcbd.mjs → EventDetailComponent-D5huebRK.mjs} +3 -3
- package/{EventListComponent-DA8m-zwp.mjs → EventListComponent-ZbH-DwP5.mjs} +3 -3
- package/{ExperienceZone-CCpk3wfA.mjs → ExperienceZone-eti0XhBz.mjs} +11 -11
- package/{ExperienceZoneComponent-seQ8N-61.mjs → ExperienceZoneComponent-C4O9B3FU.mjs} +3 -3
- package/{Facebook-E9V-xmdL.mjs → Facebook-Cia9MnNd.mjs} +11 -11
- package/{FilePlayer-D873kxxw.mjs → FilePlayer-CbUVHwne.mjs} +2 -2
- package/IndividualChallengeComponent-B4iBAWJZ.mjs +203 -0
- package/{Kaltura-DzDUIYV-.mjs → Kaltura-Dj97hbwn.mjs} +2 -2
- package/{Mapping-jqmNMEpL.mjs → Mapping-B5imuw10.mjs} +2 -1
- package/{Mixcloud-eK72UFK5.mjs → Mixcloud-CoY484aX.mjs} +2 -2
- package/{Mux-B1dJXqDK.mjs → Mux-C3YpzaMp.mjs} +2 -2
- package/{PageComponent-CBbQ6FHA.mjs → PageComponent-DDHySinJ.mjs} +3 -3
- package/{Preview-BICB0ygt.mjs → Preview-Cktu5p3b.mjs} +1 -1
- package/{RecentCarousel-DOGZKmRG.mjs → RecentCarousel-ygzkbv9G.mjs} +2 -2
- package/{Share-LWrVflIo.mjs → Share-BbvVolH2.mjs} +431 -632
- package/{SoundCloud-BU2sORCw.mjs → SoundCloud-LxdlfpPn.mjs} +10 -10
- package/{Streamable-BJP2lWrh.mjs → Streamable-CxYrDH8v.mjs} +2 -2
- package/{ToggleButton-5x8XNrp0.mjs → ToggleButton-Db3EYbit.mjs} +100293 -100693
- package/{Twitch-CxK8NZDy.mjs → Twitch-B5IZxrzs.mjs} +2 -2
- package/{Vidyard-DPLjttlh.mjs → Vidyard-B9oCQERz.mjs} +2 -2
- package/{Vimeo-BSPddzKy.mjs → Vimeo-uyH6TMmB.mjs} +2 -2
- package/{Wistia-Dm7XoZWT.mjs → Wistia-DVIEG3f2.mjs} +2 -2
- package/{YouTube-BdUQm9tW.mjs → YouTube-CtIgO4mX.mjs} +2 -2
- package/{index-CXn1_dw9.mjs → index-BkW985f8.mjs} +5266 -3235
- package/index-CKypvltI.mjs +700 -0
- package/index.mjs +1 -1
- package/lib/services/ApiConfig.d.ts +1 -1
- package/lib/services/fetchQueries.d.ts +1 -1
- package/lib/utils/Mapping.d.ts +1 -0
- package/lib/utils/helper.d.ts +1 -0
- package/{mutateApi-Cy-kWAqz.mjs → mutateApi-c5LiaT_5.mjs} +1 -1
- package/package.json +1 -1
- package/IndividualChallengeComponent-DgecMDj1.mjs +0 -200
- package/index-Ctb_unxf.mjs +0 -64
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { d as
|
|
5
|
-
import {
|
|
1
|
+
import he, { jsx as a, jsxs as k, Fragment as we } from "react/jsx-runtime";
|
|
2
|
+
import * as pe from "react";
|
|
3
|
+
import fe, { forwardRef as ge, useState as M, useEffect as ne, useRef as me, useCallback as be } from "react";
|
|
4
|
+
import { d as ie, r as ve, i as xe, m as ye, h as ke, e as re, B as m, g as Ce, j as Se, T as _, P as Ae, S as R, k as Z, D as Le, l as _e, s as je, n as I } from "./ToggleButton-Db3EYbit.mjs";
|
|
5
|
+
import { d as Pe, e as Ee, h as Te, _ as z, u as Ne, i as We, j as Be, P as x, k as De, l as Oe, G as T, m as Re } from "./index-BkW985f8.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
function
|
|
8
|
-
return
|
|
7
|
+
function He(e) {
|
|
8
|
+
return Ee("MuiCardActions", e);
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
function qe(e) {
|
|
14
|
-
return pe("MuiCardActions", e);
|
|
15
|
-
}
|
|
16
|
-
he("MuiCardActions", ["root", "spacing"]);
|
|
17
|
-
const Qe = ["disableSpacing", "className"], Ye = (e) => {
|
|
10
|
+
Pe("MuiCardActions", ["root", "spacing"]);
|
|
11
|
+
const Me = ["disableSpacing", "className"], $e = (e) => {
|
|
18
12
|
const {
|
|
19
13
|
classes: t,
|
|
20
14
|
disableSpacing: n
|
|
21
15
|
} = e;
|
|
22
|
-
return
|
|
16
|
+
return De({
|
|
23
17
|
root: ["root", !n && "spacing"]
|
|
24
|
-
},
|
|
25
|
-
},
|
|
18
|
+
}, He, t);
|
|
19
|
+
}, Ue = Te("div", {
|
|
26
20
|
name: "MuiCardActions",
|
|
27
21
|
slot: "Root",
|
|
28
22
|
overridesResolver: (e, t) => {
|
|
@@ -33,7 +27,7 @@ const Qe = ["disableSpacing", "className"], Ye = (e) => {
|
|
|
33
27
|
}
|
|
34
28
|
})(({
|
|
35
29
|
ownerState: e
|
|
36
|
-
}) =>
|
|
30
|
+
}) => z({
|
|
37
31
|
display: "flex",
|
|
38
32
|
alignItems: "center",
|
|
39
33
|
padding: 8
|
|
@@ -41,23 +35,23 @@ const Qe = ["disableSpacing", "className"], Ye = (e) => {
|
|
|
41
35
|
"& > :not(:first-of-type)": {
|
|
42
36
|
marginLeft: 8
|
|
43
37
|
}
|
|
44
|
-
})),
|
|
45
|
-
const i =
|
|
38
|
+
})), oe = /* @__PURE__ */ pe.forwardRef(function(t, n) {
|
|
39
|
+
const i = Ne({
|
|
46
40
|
props: t,
|
|
47
41
|
name: "MuiCardActions"
|
|
48
42
|
}), {
|
|
49
|
-
disableSpacing:
|
|
43
|
+
disableSpacing: r = !1,
|
|
50
44
|
className: c
|
|
51
|
-
} = i,
|
|
52
|
-
disableSpacing:
|
|
53
|
-
}), s =
|
|
54
|
-
return /* @__PURE__ */ a(
|
|
55
|
-
className:
|
|
45
|
+
} = i, l = We(i, Me), u = z({}, i, {
|
|
46
|
+
disableSpacing: r
|
|
47
|
+
}), s = $e(u);
|
|
48
|
+
return /* @__PURE__ */ a(Ue, z({
|
|
49
|
+
className: Be(s.root, c),
|
|
56
50
|
ownerState: u,
|
|
57
51
|
ref: n
|
|
58
|
-
},
|
|
52
|
+
}, l));
|
|
59
53
|
});
|
|
60
|
-
process.env.NODE_ENV !== "production" && (
|
|
54
|
+
process.env.NODE_ENV !== "production" && (oe.propTypes = {
|
|
61
55
|
// ----------------------------- Warning --------------------------------
|
|
62
56
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
63
57
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -65,233 +59,38 @@ process.env.NODE_ENV !== "production" && (xe.propTypes = {
|
|
|
65
59
|
/**
|
|
66
60
|
* The content of the component.
|
|
67
61
|
*/
|
|
68
|
-
children:
|
|
62
|
+
children: x.node,
|
|
69
63
|
/**
|
|
70
64
|
* Override or extend the styles applied to the component.
|
|
71
65
|
*/
|
|
72
|
-
classes:
|
|
66
|
+
classes: x.object,
|
|
73
67
|
/**
|
|
74
68
|
* @ignore
|
|
75
69
|
*/
|
|
76
|
-
className:
|
|
70
|
+
className: x.string,
|
|
77
71
|
/**
|
|
78
72
|
* If `true`, the actions do not have additional margin.
|
|
79
73
|
* @default false
|
|
80
74
|
*/
|
|
81
|
-
disableSpacing:
|
|
82
|
-
/**
|
|
83
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
84
|
-
*/
|
|
85
|
-
sx: p.oneOfType([p.arrayOf(p.oneOfType([p.func, p.object, p.bool])), p.func, p.object])
|
|
86
|
-
});
|
|
87
|
-
function Ie(e) {
|
|
88
|
-
return pe("MuiSkeleton", e);
|
|
89
|
-
}
|
|
90
|
-
he("MuiSkeleton", ["root", "text", "rectangular", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
|
|
91
|
-
const Je = ["animation", "className", "component", "height", "style", "variant", "width"];
|
|
92
|
-
let U = (e) => e, te, ne, ie, oe;
|
|
93
|
-
const et = (e) => {
|
|
94
|
-
const {
|
|
95
|
-
classes: t,
|
|
96
|
-
variant: n,
|
|
97
|
-
animation: i,
|
|
98
|
-
hasChildren: o,
|
|
99
|
-
width: c,
|
|
100
|
-
height: d
|
|
101
|
-
} = e;
|
|
102
|
-
return be({
|
|
103
|
-
root: ["root", n, i, o && "withChildren", o && !c && "fitContent", o && !d && "heightAuto"]
|
|
104
|
-
}, Ie, t);
|
|
105
|
-
}, tt = ve(te || (te = U`
|
|
106
|
-
0% {
|
|
107
|
-
opacity: 1;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
50% {
|
|
111
|
-
opacity: 0.4;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
100% {
|
|
115
|
-
opacity: 1;
|
|
116
|
-
}
|
|
117
|
-
`)), nt = ve(ne || (ne = U`
|
|
118
|
-
0% {
|
|
119
|
-
transform: translateX(-100%);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
50% {
|
|
123
|
-
/* +0.5s of delay between each loop */
|
|
124
|
-
transform: translateX(100%);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
100% {
|
|
128
|
-
transform: translateX(100%);
|
|
129
|
-
}
|
|
130
|
-
`)), it = we("span", {
|
|
131
|
-
name: "MuiSkeleton",
|
|
132
|
-
slot: "Root",
|
|
133
|
-
overridesResolver: (e, t) => {
|
|
134
|
-
const {
|
|
135
|
-
ownerState: n
|
|
136
|
-
} = e;
|
|
137
|
-
return [t.root, t[n.variant], n.animation !== !1 && t[n.animation], n.hasChildren && t.withChildren, n.hasChildren && !n.width && t.fitContent, n.hasChildren && !n.height && t.heightAuto];
|
|
138
|
-
}
|
|
139
|
-
})(({
|
|
140
|
-
theme: e,
|
|
141
|
-
ownerState: t
|
|
142
|
-
}) => {
|
|
143
|
-
const n = Ge(e.shape.borderRadius) || "px", i = Xe(e.shape.borderRadius);
|
|
144
|
-
return j({
|
|
145
|
-
display: "block",
|
|
146
|
-
// Create a "on paper" color with sufficient contrast retaining the color
|
|
147
|
-
backgroundColor: e.vars ? e.vars.palette.Skeleton.bg : ze(e.palette.text.primary, e.palette.mode === "light" ? 0.11 : 0.13),
|
|
148
|
-
height: "1.2em"
|
|
149
|
-
}, t.variant === "text" && {
|
|
150
|
-
marginTop: 0,
|
|
151
|
-
marginBottom: 0,
|
|
152
|
-
height: "auto",
|
|
153
|
-
transformOrigin: "0 55%",
|
|
154
|
-
transform: "scale(1, 0.60)",
|
|
155
|
-
borderRadius: `${i}${n}/${Math.round(i / 0.6 * 10) / 10}${n}`,
|
|
156
|
-
"&:empty:before": {
|
|
157
|
-
content: '"\\00a0"'
|
|
158
|
-
}
|
|
159
|
-
}, t.variant === "circular" && {
|
|
160
|
-
borderRadius: "50%"
|
|
161
|
-
}, t.hasChildren && {
|
|
162
|
-
"& > *": {
|
|
163
|
-
visibility: "hidden"
|
|
164
|
-
}
|
|
165
|
-
}, t.hasChildren && !t.width && {
|
|
166
|
-
maxWidth: "fit-content"
|
|
167
|
-
}, t.hasChildren && !t.height && {
|
|
168
|
-
height: "auto"
|
|
169
|
-
});
|
|
170
|
-
}, ({
|
|
171
|
-
ownerState: e
|
|
172
|
-
}) => e.animation === "pulse" && ee(ie || (ie = U`
|
|
173
|
-
animation: ${0} 1.5s ease-in-out 0.5s infinite;
|
|
174
|
-
`), tt), ({
|
|
175
|
-
ownerState: e,
|
|
176
|
-
theme: t
|
|
177
|
-
}) => e.animation === "wave" && ee(oe || (oe = U`
|
|
178
|
-
position: relative;
|
|
179
|
-
overflow: hidden;
|
|
180
|
-
|
|
181
|
-
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
|
|
182
|
-
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
183
|
-
|
|
184
|
-
&::after {
|
|
185
|
-
animation: ${0} 1.6s linear 0.5s infinite;
|
|
186
|
-
background: linear-gradient(
|
|
187
|
-
90deg,
|
|
188
|
-
transparent,
|
|
189
|
-
${0},
|
|
190
|
-
transparent
|
|
191
|
-
);
|
|
192
|
-
content: '';
|
|
193
|
-
position: absolute;
|
|
194
|
-
transform: translateX(-100%); /* Avoid flash during server-side hydration */
|
|
195
|
-
bottom: 0;
|
|
196
|
-
left: 0;
|
|
197
|
-
right: 0;
|
|
198
|
-
top: 0;
|
|
199
|
-
}
|
|
200
|
-
`), nt, (t.vars || t).palette.action.hover)), E = /* @__PURE__ */ le.forwardRef(function(t, n) {
|
|
201
|
-
const i = fe({
|
|
202
|
-
props: t,
|
|
203
|
-
name: "MuiSkeleton"
|
|
204
|
-
}), {
|
|
205
|
-
animation: o = "pulse",
|
|
206
|
-
className: c,
|
|
207
|
-
component: d = "span",
|
|
208
|
-
height: u,
|
|
209
|
-
style: s,
|
|
210
|
-
variant: r = "text",
|
|
211
|
-
width: l
|
|
212
|
-
} = i, h = ge(i, Je), w = j({}, i, {
|
|
213
|
-
animation: o,
|
|
214
|
-
component: d,
|
|
215
|
-
variant: r,
|
|
216
|
-
hasChildren: !!h.children
|
|
217
|
-
}), x = et(w);
|
|
218
|
-
return /* @__PURE__ */ a(it, j({
|
|
219
|
-
as: d,
|
|
220
|
-
ref: n,
|
|
221
|
-
className: me(x.root, c),
|
|
222
|
-
ownerState: w
|
|
223
|
-
}, h, {
|
|
224
|
-
style: j({
|
|
225
|
-
width: l,
|
|
226
|
-
height: u
|
|
227
|
-
}, s)
|
|
228
|
-
}));
|
|
229
|
-
});
|
|
230
|
-
process.env.NODE_ENV !== "production" && (E.propTypes = {
|
|
231
|
-
// ----------------------------- Warning --------------------------------
|
|
232
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
233
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
234
|
-
// ----------------------------------------------------------------------
|
|
235
|
-
/**
|
|
236
|
-
* The animation.
|
|
237
|
-
* If `false` the animation effect is disabled.
|
|
238
|
-
* @default 'pulse'
|
|
239
|
-
*/
|
|
240
|
-
animation: p.oneOf(["pulse", "wave", !1]),
|
|
241
|
-
/**
|
|
242
|
-
* Optional children to infer width and height from.
|
|
243
|
-
*/
|
|
244
|
-
children: p.node,
|
|
245
|
-
/**
|
|
246
|
-
* Override or extend the styles applied to the component.
|
|
247
|
-
*/
|
|
248
|
-
classes: p.object,
|
|
249
|
-
/**
|
|
250
|
-
* @ignore
|
|
251
|
-
*/
|
|
252
|
-
className: p.string,
|
|
253
|
-
/**
|
|
254
|
-
* The component used for the root node.
|
|
255
|
-
* Either a string to use a HTML element or a component.
|
|
256
|
-
*/
|
|
257
|
-
component: p.elementType,
|
|
258
|
-
/**
|
|
259
|
-
* Height of the skeleton.
|
|
260
|
-
* Useful when you don't want to adapt the skeleton to a text element but for instance a card.
|
|
261
|
-
*/
|
|
262
|
-
height: p.oneOfType([p.number, p.string]),
|
|
263
|
-
/**
|
|
264
|
-
* @ignore
|
|
265
|
-
*/
|
|
266
|
-
style: p.object,
|
|
75
|
+
disableSpacing: x.bool,
|
|
267
76
|
/**
|
|
268
77
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
269
78
|
*/
|
|
270
|
-
sx:
|
|
271
|
-
/**
|
|
272
|
-
* The type of content that will be rendered.
|
|
273
|
-
* @default 'text'
|
|
274
|
-
*/
|
|
275
|
-
variant: p.oneOfType([p.oneOf(["circular", "rectangular", "text"]), p.string]),
|
|
276
|
-
/**
|
|
277
|
-
* Width of the skeleton.
|
|
278
|
-
* Useful when the skeleton is inside an inline element with no width of its own.
|
|
279
|
-
*/
|
|
280
|
-
width: p.oneOfType([p.number, p.string])
|
|
79
|
+
sx: x.oneOfType([x.arrayOf(x.oneOfType([x.func, x.object, x.bool])), x.func, x.object])
|
|
281
80
|
});
|
|
282
|
-
const
|
|
283
|
-
var
|
|
81
|
+
const Ve = "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", ze = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD6SURBVHgB7ZM9CsIwGIa/GI8gWkV0dyhdXHTxCN5APIl6E0dXN0fdxEmldFYqkrZnaD6ToRj736pbXwh88CbPEwIBqFLlr9H10UKusr0MTTuMiEsxThqN9tbznkztDWNkcI4b2WtaDxzHPuQWKHDwfZxb1mkX3sOYzVqt7h2ATNMkNBt+XENCXPdxzpLQsvC8EvoNPI+kFmzinJNgrtcpQsEQ8j6jsqhyi32z2SUiEwCcalr/Jm5xyQPX9fEMka/lLF5hZZrHZURQVpIGjwiKSrLgsYI4SafT3jL2+dEGg6Eh+l0aPFGgSsR4uF5Pm3Avf3bQJ8GrVPlNXpHyzr4dW2vdAAAAAElFTkSuQmCC", Fe = "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";
|
|
82
|
+
var F = { exports: {} }, K = { exports: {} }, N = 1e3, W = N * 60, B = W * 60, D = B * 24, Ge = D * 365.25, qe = function(e, t) {
|
|
284
83
|
t = t || {};
|
|
285
84
|
var n = typeof e;
|
|
286
85
|
if (n === "string" && e.length > 0)
|
|
287
|
-
return
|
|
86
|
+
return Xe(e);
|
|
288
87
|
if (n === "number" && isNaN(e) === !1)
|
|
289
|
-
return t.long ?
|
|
88
|
+
return t.long ? Ye(e) : Qe(e);
|
|
290
89
|
throw new Error(
|
|
291
90
|
"val is not a non-empty string or a valid number. val=" + JSON.stringify(e)
|
|
292
91
|
);
|
|
293
92
|
};
|
|
294
|
-
function
|
|
93
|
+
function Xe(e) {
|
|
295
94
|
if (e = String(e), !(e.length > 100)) {
|
|
296
95
|
var t = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
|
|
297
96
|
e
|
|
@@ -304,7 +103,7 @@ function ct(e) {
|
|
|
304
103
|
case "yrs":
|
|
305
104
|
case "yr":
|
|
306
105
|
case "y":
|
|
307
|
-
return n *
|
|
106
|
+
return n * Ge;
|
|
308
107
|
case "days":
|
|
309
108
|
case "day":
|
|
310
109
|
case "d":
|
|
@@ -326,7 +125,7 @@ function ct(e) {
|
|
|
326
125
|
case "secs":
|
|
327
126
|
case "sec":
|
|
328
127
|
case "s":
|
|
329
|
-
return n *
|
|
128
|
+
return n * N;
|
|
330
129
|
case "milliseconds":
|
|
331
130
|
case "millisecond":
|
|
332
131
|
case "msecs":
|
|
@@ -339,76 +138,76 @@ function ct(e) {
|
|
|
339
138
|
}
|
|
340
139
|
}
|
|
341
140
|
}
|
|
342
|
-
function
|
|
343
|
-
return e >= D ? Math.round(e / D) + "d" : e >= B ? Math.round(e / B) + "h" : e >= W ? Math.round(e / W) + "m" : e >=
|
|
141
|
+
function Qe(e) {
|
|
142
|
+
return e >= D ? Math.round(e / D) + "d" : e >= B ? Math.round(e / B) + "h" : e >= W ? Math.round(e / W) + "m" : e >= N ? Math.round(e / N) + "s" : e + "ms";
|
|
344
143
|
}
|
|
345
|
-
function
|
|
346
|
-
return
|
|
144
|
+
function Ye(e) {
|
|
145
|
+
return H(e, D, "day") || H(e, B, "hour") || H(e, W, "minute") || H(e, N, "second") || e + " ms";
|
|
347
146
|
}
|
|
348
|
-
function
|
|
147
|
+
function H(e, t, n) {
|
|
349
148
|
if (!(e < t))
|
|
350
149
|
return e < t * 1.5 ? Math.floor(e / t) + " " + n : Math.ceil(e / t) + " " + n + "s";
|
|
351
150
|
}
|
|
352
151
|
(function(e, t) {
|
|
353
|
-
t = e.exports =
|
|
152
|
+
t = e.exports = r.debug = r.default = r, t.coerce = s, t.disable = l, t.enable = c, t.enabled = u, t.humanize = qe, t.names = [], t.skips = [], t.formatters = {};
|
|
354
153
|
var n;
|
|
355
|
-
function i(
|
|
356
|
-
var
|
|
357
|
-
for (h in
|
|
358
|
-
|
|
359
|
-
return t.colors[Math.abs(
|
|
154
|
+
function i(o) {
|
|
155
|
+
var d = 0, h;
|
|
156
|
+
for (h in o)
|
|
157
|
+
d = (d << 5) - d + o.charCodeAt(h), d |= 0;
|
|
158
|
+
return t.colors[Math.abs(d) % t.colors.length];
|
|
360
159
|
}
|
|
361
|
-
function o
|
|
362
|
-
function
|
|
363
|
-
if (
|
|
364
|
-
var h =
|
|
365
|
-
h.diff =
|
|
366
|
-
for (var
|
|
367
|
-
|
|
368
|
-
|
|
160
|
+
function r(o) {
|
|
161
|
+
function d() {
|
|
162
|
+
if (d.enabled) {
|
|
163
|
+
var h = d, p = +/* @__PURE__ */ new Date(), v = p - (n || p);
|
|
164
|
+
h.diff = v, h.prev = n, h.curr = p, n = p;
|
|
165
|
+
for (var b = new Array(arguments.length), A = 0; A < b.length; A++)
|
|
166
|
+
b[A] = arguments[A];
|
|
167
|
+
b[0] = t.coerce(b[0]), typeof b[0] != "string" && b.unshift("%O");
|
|
369
168
|
var C = 0;
|
|
370
|
-
|
|
169
|
+
b[0] = b[0].replace(/%([a-zA-Z%])/g, function(S, U) {
|
|
371
170
|
if (S === "%%")
|
|
372
171
|
return S;
|
|
373
172
|
C++;
|
|
374
|
-
var
|
|
375
|
-
if (typeof
|
|
376
|
-
var
|
|
377
|
-
S =
|
|
173
|
+
var E = t.formatters[U];
|
|
174
|
+
if (typeof E == "function") {
|
|
175
|
+
var V = b[C];
|
|
176
|
+
S = E.call(h, V), b.splice(C, 1), C--;
|
|
378
177
|
}
|
|
379
178
|
return S;
|
|
380
|
-
}), t.formatArgs.call(h,
|
|
381
|
-
var
|
|
382
|
-
|
|
179
|
+
}), t.formatArgs.call(h, b);
|
|
180
|
+
var L = d.log || t.log || console.log.bind(console);
|
|
181
|
+
L.apply(h, b);
|
|
383
182
|
}
|
|
384
183
|
}
|
|
385
|
-
return
|
|
184
|
+
return d.namespace = o, d.enabled = t.enabled(o), d.useColors = t.useColors(), d.color = i(o), typeof t.init == "function" && t.init(d), d;
|
|
386
185
|
}
|
|
387
|
-
function c(
|
|
388
|
-
t.save(
|
|
389
|
-
for (var
|
|
390
|
-
|
|
186
|
+
function c(o) {
|
|
187
|
+
t.save(o), t.names = [], t.skips = [];
|
|
188
|
+
for (var d = (typeof o == "string" ? o : "").split(/[\s,]+/), h = d.length, p = 0; p < h; p++)
|
|
189
|
+
d[p] && (o = d[p].replace(/\*/g, ".*?"), o[0] === "-" ? t.skips.push(new RegExp("^" + o.substr(1) + "$")) : t.names.push(new RegExp("^" + o + "$")));
|
|
391
190
|
}
|
|
392
|
-
function
|
|
191
|
+
function l() {
|
|
393
192
|
t.enable("");
|
|
394
193
|
}
|
|
395
|
-
function u(
|
|
396
|
-
var
|
|
397
|
-
for (
|
|
398
|
-
if (t.skips[
|
|
194
|
+
function u(o) {
|
|
195
|
+
var d, h;
|
|
196
|
+
for (d = 0, h = t.skips.length; d < h; d++)
|
|
197
|
+
if (t.skips[d].test(o))
|
|
399
198
|
return !1;
|
|
400
|
-
for (
|
|
401
|
-
if (t.names[
|
|
199
|
+
for (d = 0, h = t.names.length; d < h; d++)
|
|
200
|
+
if (t.names[d].test(o))
|
|
402
201
|
return !0;
|
|
403
202
|
return !1;
|
|
404
203
|
}
|
|
405
|
-
function s(
|
|
406
|
-
return
|
|
204
|
+
function s(o) {
|
|
205
|
+
return o instanceof Error ? o.stack || o.message : o;
|
|
407
206
|
}
|
|
408
|
-
})(
|
|
409
|
-
var
|
|
207
|
+
})(K, K.exports);
|
|
208
|
+
var Ze = K.exports;
|
|
410
209
|
(function(e, t) {
|
|
411
|
-
t = e.exports =
|
|
210
|
+
t = e.exports = Ze, t.log = r, t.formatArgs = i, t.save = c, t.load = l, t.useColors = n, t.storage = typeof chrome < "u" && typeof chrome.storage < "u" ? chrome.storage.local : u(), t.colors = [
|
|
412
211
|
"lightseagreen",
|
|
413
212
|
"forestgreen",
|
|
414
213
|
"goldenrod",
|
|
@@ -426,22 +225,22 @@ var pt = G.exports;
|
|
|
426
225
|
t.formatters.j = function(s) {
|
|
427
226
|
try {
|
|
428
227
|
return JSON.stringify(s);
|
|
429
|
-
} catch (
|
|
430
|
-
return "[UnexpectedJSONParseError]: " +
|
|
228
|
+
} catch (o) {
|
|
229
|
+
return "[UnexpectedJSONParseError]: " + o.message;
|
|
431
230
|
}
|
|
432
231
|
};
|
|
433
232
|
function i(s) {
|
|
434
|
-
var
|
|
435
|
-
if (s[0] = (
|
|
436
|
-
var
|
|
437
|
-
s.splice(1, 0,
|
|
438
|
-
var h = 0,
|
|
439
|
-
s[0].replace(/%[a-zA-Z%]/g, function(
|
|
440
|
-
|
|
441
|
-
}), s.splice(
|
|
233
|
+
var o = this.useColors;
|
|
234
|
+
if (s[0] = (o ? "%c" : "") + this.namespace + (o ? " %c" : " ") + s[0] + (o ? "%c " : " ") + "+" + t.humanize(this.diff), !!o) {
|
|
235
|
+
var d = "color: " + this.color;
|
|
236
|
+
s.splice(1, 0, d, "color: inherit");
|
|
237
|
+
var h = 0, p = 0;
|
|
238
|
+
s[0].replace(/%[a-zA-Z%]/g, function(v) {
|
|
239
|
+
v !== "%%" && (h++, v === "%c" && (p = h));
|
|
240
|
+
}), s.splice(p, 0, d);
|
|
442
241
|
}
|
|
443
242
|
}
|
|
444
|
-
function
|
|
243
|
+
function r() {
|
|
445
244
|
return typeof console == "object" && console.log && Function.prototype.apply.call(console.log, console, arguments);
|
|
446
245
|
}
|
|
447
246
|
function c(s) {
|
|
@@ -450,7 +249,7 @@ var pt = G.exports;
|
|
|
450
249
|
} catch {
|
|
451
250
|
}
|
|
452
251
|
}
|
|
453
|
-
function
|
|
252
|
+
function l() {
|
|
454
253
|
var s;
|
|
455
254
|
try {
|
|
456
255
|
s = t.storage.debug;
|
|
@@ -458,65 +257,65 @@ var pt = G.exports;
|
|
|
458
257
|
}
|
|
459
258
|
return !s && typeof process < "u" && "env" in process && (s = process.env.DEBUG), s;
|
|
460
259
|
}
|
|
461
|
-
t.enable(
|
|
260
|
+
t.enable(l());
|
|
462
261
|
function u() {
|
|
463
262
|
try {
|
|
464
263
|
return window.localStorage;
|
|
465
264
|
} catch {
|
|
466
265
|
}
|
|
467
266
|
}
|
|
468
|
-
})(
|
|
469
|
-
var
|
|
470
|
-
function
|
|
267
|
+
})(F, F.exports);
|
|
268
|
+
var Ie = F.exports, J = Ie("jsonp"), Je = nt, et = 0;
|
|
269
|
+
function tt() {
|
|
471
270
|
}
|
|
472
|
-
function
|
|
271
|
+
function nt(e, t, n) {
|
|
473
272
|
typeof t == "function" && (n = t, t = {}), t || (t = {});
|
|
474
|
-
var i = t.prefix || "__jp",
|
|
475
|
-
|
|
273
|
+
var i = t.prefix || "__jp", r = t.name || i + et++, c = t.param || "callback", l = t.timeout != null ? t.timeout : 6e4, u = encodeURIComponent, s = document.getElementsByTagName("script")[0] || document.head, o, d;
|
|
274
|
+
l && (d = setTimeout(function() {
|
|
476
275
|
h(), n && n(new Error("Timeout"));
|
|
477
|
-
},
|
|
276
|
+
}, l));
|
|
478
277
|
function h() {
|
|
479
|
-
|
|
278
|
+
o.parentNode && o.parentNode.removeChild(o), window[r] = tt, d && clearTimeout(d);
|
|
480
279
|
}
|
|
481
|
-
function
|
|
482
|
-
window[
|
|
280
|
+
function p() {
|
|
281
|
+
window[r] && h();
|
|
483
282
|
}
|
|
484
|
-
return window[
|
|
485
|
-
|
|
486
|
-
}, e += (~e.indexOf("?") ? "&" : "?") + c + "=" + u(
|
|
283
|
+
return window[r] = function(v) {
|
|
284
|
+
J("jsonp got", v), h(), n && n(null, v);
|
|
285
|
+
}, e += (~e.indexOf("?") ? "&" : "?") + c + "=" + u(r), e = e.replace("?&", "?"), J('jsonp req "%s"', e), o = document.createElement("script"), o.src = e, s.parentNode.insertBefore(o, s), p;
|
|
487
286
|
}
|
|
488
|
-
const
|
|
489
|
-
var
|
|
287
|
+
const j = /* @__PURE__ */ Oe(Je);
|
|
288
|
+
var it = Object.defineProperty, rt = Object.defineProperties, ot = Object.getOwnPropertyDescriptors, $ = Object.getOwnPropertySymbols, ae = Object.prototype.hasOwnProperty, se = Object.prototype.propertyIsEnumerable, ee = (e, t, n) => t in e ? it(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, y = (e, t) => {
|
|
490
289
|
for (var n in t || (t = {}))
|
|
491
|
-
|
|
492
|
-
if (
|
|
493
|
-
for (var n of
|
|
494
|
-
|
|
290
|
+
ae.call(t, n) && ee(e, n, t[n]);
|
|
291
|
+
if ($)
|
|
292
|
+
for (var n of $(t))
|
|
293
|
+
se.call(t, n) && ee(e, n, t[n]);
|
|
495
294
|
return e;
|
|
496
|
-
},
|
|
295
|
+
}, G = (e, t) => rt(e, ot(t)), q = (e, t) => {
|
|
497
296
|
var n = {};
|
|
498
297
|
for (var i in e)
|
|
499
|
-
|
|
500
|
-
if (e != null &&
|
|
501
|
-
for (var i of
|
|
502
|
-
t.indexOf(i) < 0 &&
|
|
298
|
+
ae.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
|
|
299
|
+
if (e != null && $)
|
|
300
|
+
for (var i of $(e))
|
|
301
|
+
t.indexOf(i) < 0 && se.call(e, i) && (n[i] = e[i]);
|
|
503
302
|
return n;
|
|
504
303
|
};
|
|
505
|
-
function
|
|
304
|
+
function w(e) {
|
|
506
305
|
const t = Object.entries(e).filter(([, n]) => n != null).map(([n, i]) => `${encodeURIComponent(n)}=${encodeURIComponent(String(i))}`);
|
|
507
306
|
return t.length > 0 ? `?${t.join("&")}` : "";
|
|
508
307
|
}
|
|
509
|
-
const
|
|
308
|
+
const at = (e) => !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function", st = (e, t) => ({
|
|
510
309
|
left: window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - e / 2,
|
|
511
310
|
top: window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - t / 2
|
|
512
|
-
}),
|
|
311
|
+
}), dt = (e, t) => ({
|
|
513
312
|
top: (window.screen.height - t) / 2,
|
|
514
313
|
left: (window.screen.width - e) / 2
|
|
515
314
|
});
|
|
516
|
-
function
|
|
517
|
-
var i = t, { height:
|
|
315
|
+
function lt(e, t, n) {
|
|
316
|
+
var i = t, { height: r, width: c } = i, l = q(i, ["height", "width"]);
|
|
518
317
|
const u = y({
|
|
519
|
-
height:
|
|
318
|
+
height: r,
|
|
520
319
|
width: c,
|
|
521
320
|
location: "no",
|
|
522
321
|
toolbar: "no",
|
|
@@ -527,44 +326,44 @@ function At(e, t, n) {
|
|
|
527
326
|
resizable: "no",
|
|
528
327
|
centerscreen: "yes",
|
|
529
328
|
chrome: "yes"
|
|
530
|
-
},
|
|
329
|
+
}, l), s = window.open(
|
|
531
330
|
e,
|
|
532
331
|
"",
|
|
533
|
-
Object.keys(u).map((
|
|
332
|
+
Object.keys(u).map((o) => `${o}=${u[o]}`).join(", ")
|
|
534
333
|
);
|
|
535
334
|
if (n) {
|
|
536
|
-
const
|
|
335
|
+
const o = window.setInterval(() => {
|
|
537
336
|
try {
|
|
538
|
-
(s === null || s.closed) && (window.clearInterval(
|
|
539
|
-
} catch (
|
|
540
|
-
console.error(
|
|
337
|
+
(s === null || s.closed) && (window.clearInterval(o), n(s));
|
|
338
|
+
} catch (d) {
|
|
339
|
+
console.error(d);
|
|
541
340
|
}
|
|
542
341
|
}, 1e3);
|
|
543
342
|
}
|
|
544
343
|
return s;
|
|
545
344
|
}
|
|
546
|
-
function
|
|
345
|
+
function ct(e) {
|
|
547
346
|
var t = e, {
|
|
548
347
|
beforeOnClick: n,
|
|
549
348
|
children: i,
|
|
550
|
-
className:
|
|
349
|
+
className: r,
|
|
551
350
|
disabled: c,
|
|
552
|
-
disabledStyle:
|
|
351
|
+
disabledStyle: l = { opacity: 0.6 },
|
|
553
352
|
forwardedRef: u,
|
|
554
353
|
htmlTitle: s,
|
|
555
|
-
networkLink:
|
|
556
|
-
networkName:
|
|
354
|
+
networkLink: o,
|
|
355
|
+
networkName: d,
|
|
557
356
|
onClick: h,
|
|
558
|
-
onShareWindowClose:
|
|
559
|
-
openShareDialogOnClick:
|
|
560
|
-
opts:
|
|
357
|
+
onShareWindowClose: p,
|
|
358
|
+
openShareDialogOnClick: v = !0,
|
|
359
|
+
opts: b,
|
|
561
360
|
resetButtonStyle: A = !0,
|
|
562
361
|
style: C,
|
|
563
|
-
url:
|
|
362
|
+
url: L,
|
|
564
363
|
windowHeight: S = 400,
|
|
565
|
-
windowPosition:
|
|
566
|
-
windowWidth:
|
|
567
|
-
} = t,
|
|
364
|
+
windowPosition: U = "windowCenter",
|
|
365
|
+
windowWidth: E = 550
|
|
366
|
+
} = t, V = q(t, [
|
|
568
367
|
"beforeOnClick",
|
|
569
368
|
"children",
|
|
570
369
|
"className",
|
|
@@ -585,72 +384,72 @@ function _t(e) {
|
|
|
585
384
|
"windowPosition",
|
|
586
385
|
"windowWidth"
|
|
587
386
|
]);
|
|
588
|
-
const
|
|
589
|
-
const
|
|
387
|
+
const le = async (Q) => {
|
|
388
|
+
const Y = o(L, b);
|
|
590
389
|
if (!c) {
|
|
591
|
-
if (
|
|
592
|
-
const
|
|
593
|
-
|
|
390
|
+
if (Q.preventDefault(), n) {
|
|
391
|
+
const O = n();
|
|
392
|
+
at(O) && await O;
|
|
594
393
|
}
|
|
595
|
-
if (
|
|
596
|
-
const
|
|
394
|
+
if (v) {
|
|
395
|
+
const O = y({
|
|
597
396
|
height: S,
|
|
598
|
-
width:
|
|
599
|
-
},
|
|
600
|
-
|
|
397
|
+
width: E
|
|
398
|
+
}, U === "windowCenter" ? st(E, S) : dt(E, S));
|
|
399
|
+
lt(Y, O, p);
|
|
601
400
|
}
|
|
602
|
-
h && h(
|
|
401
|
+
h && h(Q, Y);
|
|
603
402
|
}
|
|
604
|
-
},
|
|
403
|
+
}, ce = ie(
|
|
605
404
|
"react-share__ShareButton",
|
|
606
405
|
{
|
|
607
406
|
"react-share__ShareButton--disabled": !!c,
|
|
608
407
|
disabled: !!c
|
|
609
408
|
},
|
|
610
|
-
|
|
611
|
-
),
|
|
409
|
+
r
|
|
410
|
+
), ue = y(y(A ? {
|
|
612
411
|
backgroundColor: "transparent",
|
|
613
412
|
border: "none",
|
|
614
413
|
padding: 0,
|
|
615
414
|
font: "inherit",
|
|
616
415
|
color: "inherit",
|
|
617
416
|
cursor: "pointer"
|
|
618
|
-
} : {}, C), c &&
|
|
417
|
+
} : {}, C), c && l);
|
|
619
418
|
return /* @__PURE__ */ a(
|
|
620
419
|
"button",
|
|
621
|
-
|
|
622
|
-
className:
|
|
623
|
-
onClick:
|
|
420
|
+
G(y({}, V), {
|
|
421
|
+
className: ce,
|
|
422
|
+
onClick: le,
|
|
624
423
|
ref: u,
|
|
625
|
-
style:
|
|
424
|
+
style: ue,
|
|
626
425
|
title: s,
|
|
627
426
|
children: i
|
|
628
427
|
})
|
|
629
428
|
);
|
|
630
429
|
}
|
|
631
|
-
function
|
|
632
|
-
function
|
|
430
|
+
function g(e, t, n, i) {
|
|
431
|
+
function r(c, l) {
|
|
633
432
|
const u = n(c), s = y({}, c);
|
|
634
|
-
return Object.keys(u).forEach((
|
|
635
|
-
delete s[
|
|
433
|
+
return Object.keys(u).forEach((d) => {
|
|
434
|
+
delete s[d];
|
|
636
435
|
}), /* @__PURE__ */ a(
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
forwardedRef:
|
|
436
|
+
ct,
|
|
437
|
+
G(y(y({}, i), s), {
|
|
438
|
+
forwardedRef: l,
|
|
640
439
|
networkName: e,
|
|
641
440
|
networkLink: t,
|
|
642
441
|
opts: n(c)
|
|
643
442
|
})
|
|
644
443
|
);
|
|
645
444
|
}
|
|
646
|
-
return
|
|
445
|
+
return r.displayName = `ShareButton-${e}`, ge(r);
|
|
647
446
|
}
|
|
648
|
-
function
|
|
649
|
-
return "mailto:" +
|
|
447
|
+
function ut(e, { subject: t, body: n, separator: i }) {
|
|
448
|
+
return "mailto:" + w({ subject: t, body: n ? n + i + e : e });
|
|
650
449
|
}
|
|
651
|
-
|
|
450
|
+
g(
|
|
652
451
|
"email",
|
|
653
|
-
|
|
452
|
+
ut,
|
|
654
453
|
(e) => ({
|
|
655
454
|
subject: e.subject,
|
|
656
455
|
body: e.body,
|
|
@@ -663,17 +462,17 @@ m(
|
|
|
663
462
|
}
|
|
664
463
|
}
|
|
665
464
|
);
|
|
666
|
-
function
|
|
667
|
-
return "https://www.facebook.com/dialog/send" +
|
|
465
|
+
function ht(e, { appId: t, redirectUri: n, to: i }) {
|
|
466
|
+
return "https://www.facebook.com/dialog/send" + w({
|
|
668
467
|
link: e,
|
|
669
468
|
redirect_uri: n || e,
|
|
670
469
|
app_id: t,
|
|
671
470
|
to: i
|
|
672
471
|
});
|
|
673
472
|
}
|
|
674
|
-
|
|
473
|
+
g(
|
|
675
474
|
"facebookmessenger",
|
|
676
|
-
|
|
475
|
+
ht,
|
|
677
476
|
(e) => ({
|
|
678
477
|
appId: e.appId,
|
|
679
478
|
redirectUri: e.redirectUri,
|
|
@@ -684,71 +483,71 @@ m(
|
|
|
684
483
|
windowHeight: 820
|
|
685
484
|
}
|
|
686
485
|
);
|
|
687
|
-
class
|
|
486
|
+
class wt extends Error {
|
|
688
487
|
constructor(t) {
|
|
689
488
|
super(t), this.name = "AssertionError";
|
|
690
489
|
}
|
|
691
490
|
}
|
|
692
|
-
function
|
|
491
|
+
function f(e, t) {
|
|
693
492
|
if (!e)
|
|
694
|
-
throw new
|
|
493
|
+
throw new wt(t);
|
|
695
494
|
}
|
|
696
|
-
function
|
|
697
|
-
return
|
|
495
|
+
function pt(e, { hashtag: t }) {
|
|
496
|
+
return f(e, "facebook.url"), "https://www.facebook.com/sharer/sharer.php" + w({ u: e, hashtag: t });
|
|
698
497
|
}
|
|
699
|
-
const
|
|
498
|
+
const ft = g(
|
|
700
499
|
"facebook",
|
|
701
|
-
|
|
500
|
+
pt,
|
|
702
501
|
(e) => ({ hashtag: e.hashtag }),
|
|
703
502
|
{
|
|
704
503
|
windowWidth: 550,
|
|
705
504
|
windowHeight: 400
|
|
706
505
|
}
|
|
707
|
-
),
|
|
708
|
-
function
|
|
709
|
-
const e =
|
|
710
|
-
return
|
|
506
|
+
), gt = ft;
|
|
507
|
+
function mt() {
|
|
508
|
+
const e = me(!1);
|
|
509
|
+
return ne(() => (e.current = !0, () => {
|
|
711
510
|
e.current = !1;
|
|
712
|
-
}), []),
|
|
511
|
+
}), []), be(() => e.current, []);
|
|
713
512
|
}
|
|
714
|
-
function
|
|
513
|
+
function bt(e) {
|
|
715
514
|
var t = e, {
|
|
716
|
-
children: n = (
|
|
515
|
+
children: n = (p) => p,
|
|
717
516
|
className: i,
|
|
718
|
-
getCount:
|
|
517
|
+
getCount: r,
|
|
719
518
|
url: c
|
|
720
|
-
} = t,
|
|
519
|
+
} = t, l = q(t, [
|
|
721
520
|
"children",
|
|
722
521
|
"className",
|
|
723
522
|
"getCount",
|
|
724
523
|
"url"
|
|
725
524
|
]);
|
|
726
|
-
const u =
|
|
727
|
-
return
|
|
728
|
-
h(!0),
|
|
729
|
-
u() && (
|
|
525
|
+
const u = mt(), [s, o] = M(void 0), [d, h] = M(!1);
|
|
526
|
+
return ne(() => {
|
|
527
|
+
h(!0), r(c, (p) => {
|
|
528
|
+
u() && (o(p), h(!1));
|
|
730
529
|
});
|
|
731
|
-
}, [c]), /* @__PURE__ */ a("span",
|
|
530
|
+
}, [c]), /* @__PURE__ */ a("span", G(y({ className: ie("react-share__ShareCount", i) }, l), { children: !d && s !== void 0 && n(s) }));
|
|
732
531
|
}
|
|
733
|
-
function
|
|
734
|
-
const t = (n) => /* @__PURE__ */ a(
|
|
532
|
+
function P(e) {
|
|
533
|
+
const t = (n) => /* @__PURE__ */ a(bt, y({ getCount: e }, n));
|
|
735
534
|
return t.displayName = `ShareCount(${e.name})`, t;
|
|
736
535
|
}
|
|
737
|
-
function
|
|
536
|
+
function vt(e, t) {
|
|
738
537
|
const n = `https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;
|
|
739
|
-
|
|
538
|
+
j(n, (i, r) => {
|
|
740
539
|
t(
|
|
741
|
-
!i &&
|
|
540
|
+
!i && r && r.og_object && r.og_object.engagement ? r.og_object.engagement.count : void 0
|
|
742
541
|
);
|
|
743
542
|
});
|
|
744
543
|
}
|
|
745
|
-
|
|
746
|
-
function
|
|
747
|
-
return
|
|
544
|
+
P(vt);
|
|
545
|
+
function xt(e, { title: t }) {
|
|
546
|
+
return f(e, "hatena.url"), `http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${t}`;
|
|
748
547
|
}
|
|
749
|
-
|
|
548
|
+
g(
|
|
750
549
|
"hatena",
|
|
751
|
-
|
|
550
|
+
xt,
|
|
752
551
|
(e) => ({
|
|
753
552
|
title: e.title
|
|
754
553
|
}),
|
|
@@ -758,27 +557,27 @@ m(
|
|
|
758
557
|
windowPosition: "windowCenter"
|
|
759
558
|
}
|
|
760
559
|
);
|
|
761
|
-
function
|
|
762
|
-
|
|
763
|
-
"https://bookmark.hatenaapis.com/count/entry" +
|
|
560
|
+
function yt(e, t) {
|
|
561
|
+
j(
|
|
562
|
+
"https://bookmark.hatenaapis.com/count/entry" + w({
|
|
764
563
|
url: e
|
|
765
564
|
}),
|
|
766
|
-
(i,
|
|
767
|
-
t(
|
|
565
|
+
(i, r) => {
|
|
566
|
+
t(r ?? void 0);
|
|
768
567
|
}
|
|
769
568
|
);
|
|
770
569
|
}
|
|
771
|
-
|
|
772
|
-
function
|
|
773
|
-
return
|
|
570
|
+
P(yt);
|
|
571
|
+
function kt(e, { title: t, description: n }) {
|
|
572
|
+
return f(e, "instapaper.url"), "http://www.instapaper.com/hello2" + w({
|
|
774
573
|
url: e,
|
|
775
574
|
title: t,
|
|
776
575
|
description: n
|
|
777
576
|
});
|
|
778
577
|
}
|
|
779
|
-
|
|
578
|
+
g(
|
|
780
579
|
"instapaper",
|
|
781
|
-
|
|
580
|
+
kt,
|
|
782
581
|
(e) => ({
|
|
783
582
|
title: e.title,
|
|
784
583
|
description: e.description
|
|
@@ -789,15 +588,15 @@ m(
|
|
|
789
588
|
windowPosition: "windowCenter"
|
|
790
589
|
}
|
|
791
590
|
);
|
|
792
|
-
function
|
|
793
|
-
return
|
|
591
|
+
function Ct(e, { title: t }) {
|
|
592
|
+
return f(e, "line.url"), "https://social-plugins.line.me/lineit/share" + w({
|
|
794
593
|
url: e,
|
|
795
594
|
text: t
|
|
796
595
|
});
|
|
797
596
|
}
|
|
798
|
-
|
|
597
|
+
g(
|
|
799
598
|
"line",
|
|
800
|
-
|
|
599
|
+
Ct,
|
|
801
600
|
(e) => ({
|
|
802
601
|
title: e.title
|
|
803
602
|
}),
|
|
@@ -806,27 +605,27 @@ m(
|
|
|
806
605
|
windowHeight: 500
|
|
807
606
|
}
|
|
808
607
|
);
|
|
809
|
-
function
|
|
810
|
-
return
|
|
608
|
+
function St(e, { title: t, summary: n, source: i }) {
|
|
609
|
+
return f(e, "linkedin.url"), "https://linkedin.com/shareArticle" + w({ url: e, mini: "true", title: t, summary: n, source: i });
|
|
811
610
|
}
|
|
812
|
-
const
|
|
611
|
+
const At = g(
|
|
813
612
|
"linkedin",
|
|
814
|
-
|
|
613
|
+
St,
|
|
815
614
|
({ title: e, summary: t, source: n }) => ({ title: e, summary: t, source: n }),
|
|
816
615
|
{
|
|
817
616
|
windowWidth: 750,
|
|
818
617
|
windowHeight: 600
|
|
819
618
|
}
|
|
820
|
-
),
|
|
821
|
-
function
|
|
822
|
-
return
|
|
619
|
+
), Lt = At;
|
|
620
|
+
function _t(e, { title: t, description: n }) {
|
|
621
|
+
return f(e, "livejournal.url"), "https://www.livejournal.com/update.bml" + w({
|
|
823
622
|
subject: t,
|
|
824
623
|
event: n
|
|
825
624
|
});
|
|
826
625
|
}
|
|
827
|
-
|
|
626
|
+
g(
|
|
828
627
|
"livejournal",
|
|
829
|
-
|
|
628
|
+
_t,
|
|
830
629
|
(e) => ({
|
|
831
630
|
title: e.title,
|
|
832
631
|
description: e.description
|
|
@@ -836,17 +635,17 @@ m(
|
|
|
836
635
|
windowHeight: 460
|
|
837
636
|
}
|
|
838
637
|
);
|
|
839
|
-
function
|
|
840
|
-
return
|
|
638
|
+
function jt(e, { title: t, description: n, imageUrl: i }) {
|
|
639
|
+
return f(e, "mailru.url"), "https://connect.mail.ru/share" + w({
|
|
841
640
|
url: e,
|
|
842
641
|
title: t,
|
|
843
642
|
description: n,
|
|
844
643
|
image_url: i
|
|
845
644
|
});
|
|
846
645
|
}
|
|
847
|
-
|
|
646
|
+
g(
|
|
848
647
|
"mailru",
|
|
849
|
-
|
|
648
|
+
jt,
|
|
850
649
|
(e) => ({
|
|
851
650
|
title: e.title,
|
|
852
651
|
description: e.description,
|
|
@@ -857,17 +656,17 @@ m(
|
|
|
857
656
|
windowHeight: 460
|
|
858
657
|
}
|
|
859
658
|
);
|
|
860
|
-
function
|
|
861
|
-
return
|
|
659
|
+
function Pt(e, { title: t, description: n, image: i }) {
|
|
660
|
+
return f(e, "ok.url"), "https://connect.ok.ru/offer" + w({
|
|
862
661
|
url: e,
|
|
863
662
|
title: t,
|
|
864
663
|
description: n,
|
|
865
664
|
imageUrl: i
|
|
866
665
|
});
|
|
867
666
|
}
|
|
868
|
-
|
|
667
|
+
g(
|
|
869
668
|
"ok",
|
|
870
|
-
|
|
669
|
+
Pt,
|
|
871
670
|
(e) => ({
|
|
872
671
|
title: e.title,
|
|
873
672
|
description: e.description,
|
|
@@ -879,42 +678,42 @@ m(
|
|
|
879
678
|
windowPosition: "screenCenter"
|
|
880
679
|
}
|
|
881
680
|
);
|
|
882
|
-
function
|
|
681
|
+
function Et(e, t) {
|
|
883
682
|
window.OK || (window.OK = {
|
|
884
683
|
Share: {
|
|
885
|
-
count: function(c,
|
|
684
|
+
count: function(c, l) {
|
|
886
685
|
var u, s;
|
|
887
|
-
(s = (u = window.OK.callbacks)[c]) == null || s.call(u,
|
|
686
|
+
(s = (u = window.OK.callbacks)[c]) == null || s.call(u, l);
|
|
888
687
|
}
|
|
889
688
|
},
|
|
890
689
|
callbacks: []
|
|
891
690
|
});
|
|
892
691
|
const n = "https://connect.ok.ru/dk", i = window.OK.callbacks.length;
|
|
893
692
|
return window.ODKL = {
|
|
894
|
-
updateCount(
|
|
895
|
-
var
|
|
896
|
-
const s =
|
|
897
|
-
(u = (
|
|
693
|
+
updateCount(r, c) {
|
|
694
|
+
var l, u;
|
|
695
|
+
const s = r === "" ? 0 : parseInt(r.replace("react-share-", ""), 10);
|
|
696
|
+
(u = (l = window.OK.callbacks)[s]) == null || u.call(l, c === "" ? void 0 : parseInt(c, 10));
|
|
898
697
|
}
|
|
899
|
-
}, window.OK.callbacks.push(t),
|
|
900
|
-
n +
|
|
698
|
+
}, window.OK.callbacks.push(t), j(
|
|
699
|
+
n + w({
|
|
901
700
|
"st.cmd": "extLike",
|
|
902
701
|
uid: `react-share-${i}`,
|
|
903
702
|
ref: e
|
|
904
703
|
})
|
|
905
704
|
);
|
|
906
705
|
}
|
|
907
|
-
|
|
908
|
-
function
|
|
909
|
-
return i ? `https://pinterest.com/pin/${i}/repin/x/` : (
|
|
706
|
+
P(Et);
|
|
707
|
+
function Tt(e, { media: t, description: n, pinId: i }) {
|
|
708
|
+
return i ? `https://pinterest.com/pin/${i}/repin/x/` : (f(e, "pinterest.url"), f(t, "pinterest.media"), "https://pinterest.com/pin/create/button/" + w({
|
|
910
709
|
url: e,
|
|
911
710
|
media: t,
|
|
912
711
|
description: n
|
|
913
712
|
}));
|
|
914
713
|
}
|
|
915
|
-
|
|
714
|
+
g(
|
|
916
715
|
"pinterest",
|
|
917
|
-
|
|
716
|
+
Tt,
|
|
918
717
|
(e) => ({
|
|
919
718
|
media: e.media,
|
|
920
719
|
description: e.description,
|
|
@@ -925,26 +724,26 @@ m(
|
|
|
925
724
|
windowHeight: 730
|
|
926
725
|
}
|
|
927
726
|
);
|
|
928
|
-
function
|
|
929
|
-
|
|
930
|
-
"https://api.pinterest.com/v1/urls/count.json" +
|
|
727
|
+
function Nt(e, t) {
|
|
728
|
+
j(
|
|
729
|
+
"https://api.pinterest.com/v1/urls/count.json" + w({
|
|
931
730
|
url: e
|
|
932
731
|
}),
|
|
933
|
-
(i,
|
|
934
|
-
t(
|
|
732
|
+
(i, r) => {
|
|
733
|
+
t(r ? r.count : void 0);
|
|
935
734
|
}
|
|
936
735
|
);
|
|
937
736
|
}
|
|
938
|
-
|
|
939
|
-
function
|
|
940
|
-
return
|
|
737
|
+
P(Nt);
|
|
738
|
+
function Wt(e, { title: t }) {
|
|
739
|
+
return f(e, "pocket.url"), "https://getpocket.com/save" + w({
|
|
941
740
|
url: e,
|
|
942
741
|
title: t
|
|
943
742
|
});
|
|
944
743
|
}
|
|
945
|
-
|
|
744
|
+
g(
|
|
946
745
|
"pocket",
|
|
947
|
-
|
|
746
|
+
Wt,
|
|
948
747
|
(e) => ({
|
|
949
748
|
title: e.title
|
|
950
749
|
}),
|
|
@@ -953,15 +752,15 @@ m(
|
|
|
953
752
|
windowHeight: 500
|
|
954
753
|
}
|
|
955
754
|
);
|
|
956
|
-
function
|
|
957
|
-
return
|
|
755
|
+
function Bt(e, { title: t }) {
|
|
756
|
+
return f(e, "reddit.url"), "https://www.reddit.com/submit" + w({
|
|
958
757
|
url: e,
|
|
959
758
|
title: t
|
|
960
759
|
});
|
|
961
760
|
}
|
|
962
|
-
|
|
761
|
+
g(
|
|
963
762
|
"reddit",
|
|
964
|
-
|
|
763
|
+
Bt,
|
|
965
764
|
(e) => ({
|
|
966
765
|
title: e.title
|
|
967
766
|
}),
|
|
@@ -971,15 +770,15 @@ m(
|
|
|
971
770
|
windowPosition: "windowCenter"
|
|
972
771
|
}
|
|
973
772
|
);
|
|
974
|
-
function
|
|
975
|
-
return
|
|
773
|
+
function Dt(e, { title: t }) {
|
|
774
|
+
return f(e, "gab.url"), "https://gab.com/compose" + w({
|
|
976
775
|
url: e,
|
|
977
776
|
text: t
|
|
978
777
|
});
|
|
979
778
|
}
|
|
980
|
-
|
|
779
|
+
g(
|
|
981
780
|
"gab",
|
|
982
|
-
|
|
781
|
+
Dt,
|
|
983
782
|
(e) => ({
|
|
984
783
|
title: e.title
|
|
985
784
|
}),
|
|
@@ -989,24 +788,24 @@ m(
|
|
|
989
788
|
windowPosition: "windowCenter"
|
|
990
789
|
}
|
|
991
790
|
);
|
|
992
|
-
function
|
|
791
|
+
function Ot(e, t) {
|
|
993
792
|
const n = `https://www.reddit.com/api/info.json?limit=1&url=${e}`;
|
|
994
|
-
|
|
793
|
+
j(n, { param: "jsonp" }, (i, r) => {
|
|
995
794
|
t(
|
|
996
|
-
!i &&
|
|
795
|
+
!i && r && r.data && r.data.children.length > 0 && r.data.children[0].data.score ? r.data.children[0].data.score : void 0
|
|
997
796
|
);
|
|
998
797
|
});
|
|
999
798
|
}
|
|
1000
|
-
|
|
1001
|
-
function
|
|
1002
|
-
return
|
|
799
|
+
P(Ot);
|
|
800
|
+
function Rt(e, { title: t }) {
|
|
801
|
+
return f(e, "telegram.url"), "https://telegram.me/share/url" + w({
|
|
1003
802
|
url: e,
|
|
1004
803
|
text: t
|
|
1005
804
|
});
|
|
1006
805
|
}
|
|
1007
|
-
|
|
806
|
+
g(
|
|
1008
807
|
"telegram",
|
|
1009
|
-
|
|
808
|
+
Rt,
|
|
1010
809
|
(e) => ({
|
|
1011
810
|
title: e.title
|
|
1012
811
|
}),
|
|
@@ -1015,23 +814,23 @@ m(
|
|
|
1015
814
|
windowHeight: 400
|
|
1016
815
|
}
|
|
1017
816
|
);
|
|
1018
|
-
function
|
|
817
|
+
function Ht(e, {
|
|
1019
818
|
title: t,
|
|
1020
819
|
caption: n,
|
|
1021
820
|
tags: i,
|
|
1022
|
-
posttype:
|
|
821
|
+
posttype: r
|
|
1023
822
|
}) {
|
|
1024
|
-
return
|
|
823
|
+
return f(e, "tumblr.url"), "https://www.tumblr.com/widgets/share/tool" + w({
|
|
1025
824
|
canonicalUrl: e,
|
|
1026
825
|
title: t,
|
|
1027
826
|
caption: n,
|
|
1028
827
|
tags: i,
|
|
1029
|
-
posttype:
|
|
828
|
+
posttype: r
|
|
1030
829
|
});
|
|
1031
830
|
}
|
|
1032
|
-
|
|
831
|
+
g(
|
|
1033
832
|
"tumblr",
|
|
1034
|
-
|
|
833
|
+
Ht,
|
|
1035
834
|
(e) => ({
|
|
1036
835
|
title: e.title,
|
|
1037
836
|
tags: (e.tags || []).join(","),
|
|
@@ -1043,34 +842,34 @@ m(
|
|
|
1043
842
|
windowHeight: 460
|
|
1044
843
|
}
|
|
1045
844
|
);
|
|
1046
|
-
function
|
|
1047
|
-
return
|
|
1048
|
-
"https://api.tumblr.com/v2/share/stats" +
|
|
845
|
+
function Mt(e, t) {
|
|
846
|
+
return j(
|
|
847
|
+
"https://api.tumblr.com/v2/share/stats" + w({
|
|
1049
848
|
url: e
|
|
1050
849
|
}),
|
|
1051
|
-
(i,
|
|
1052
|
-
t(!i &&
|
|
850
|
+
(i, r) => {
|
|
851
|
+
t(!i && r && r.response ? r.response.note_count : void 0);
|
|
1053
852
|
}
|
|
1054
853
|
);
|
|
1055
854
|
}
|
|
1056
|
-
|
|
1057
|
-
function
|
|
855
|
+
P(Mt);
|
|
856
|
+
function $t(e, {
|
|
1058
857
|
title: t,
|
|
1059
858
|
via: n,
|
|
1060
859
|
hashtags: i = [],
|
|
1061
|
-
related:
|
|
860
|
+
related: r = []
|
|
1062
861
|
}) {
|
|
1063
|
-
return
|
|
862
|
+
return f(e, "twitter.url"), f(Array.isArray(i), "twitter.hashtags is not an array"), f(Array.isArray(r), "twitter.related is not an array"), "https://twitter.com/intent/tweet" + w({
|
|
1064
863
|
url: e,
|
|
1065
864
|
text: t,
|
|
1066
865
|
via: n,
|
|
1067
866
|
hashtags: i.length > 0 ? i.join(",") : void 0,
|
|
1068
|
-
related:
|
|
867
|
+
related: r.length > 0 ? r.join(",") : void 0
|
|
1069
868
|
});
|
|
1070
869
|
}
|
|
1071
|
-
|
|
870
|
+
g(
|
|
1072
871
|
"twitter",
|
|
1073
|
-
|
|
872
|
+
$t,
|
|
1074
873
|
(e) => ({
|
|
1075
874
|
hashtags: e.hashtags,
|
|
1076
875
|
title: e.title,
|
|
@@ -1082,14 +881,14 @@ m(
|
|
|
1082
881
|
windowHeight: 400
|
|
1083
882
|
}
|
|
1084
883
|
);
|
|
1085
|
-
function
|
|
1086
|
-
return
|
|
884
|
+
function Ut(e, { title: t, separator: n }) {
|
|
885
|
+
return f(e, "viber.url"), "viber://forward" + w({
|
|
1087
886
|
text: t ? t + n + e : e
|
|
1088
887
|
});
|
|
1089
888
|
}
|
|
1090
|
-
|
|
889
|
+
g(
|
|
1091
890
|
"viber",
|
|
1092
|
-
|
|
891
|
+
Ut,
|
|
1093
892
|
(e) => ({
|
|
1094
893
|
title: e.title,
|
|
1095
894
|
separator: e.separator || " "
|
|
@@ -1099,18 +898,18 @@ m(
|
|
|
1099
898
|
windowHeight: 460
|
|
1100
899
|
}
|
|
1101
900
|
);
|
|
1102
|
-
function
|
|
1103
|
-
return
|
|
901
|
+
function Vt(e, { title: t, image: n, noParse: i, noVkLinks: r }) {
|
|
902
|
+
return f(e, "vk.url"), "https://vk.com/share.php" + w({
|
|
1104
903
|
url: e,
|
|
1105
904
|
title: t,
|
|
1106
905
|
image: n,
|
|
1107
906
|
noparse: i ? 1 : 0,
|
|
1108
|
-
no_vk_links:
|
|
907
|
+
no_vk_links: r ? 1 : 0
|
|
1109
908
|
});
|
|
1110
909
|
}
|
|
1111
|
-
|
|
910
|
+
g(
|
|
1112
911
|
"vk",
|
|
1113
|
-
|
|
912
|
+
Vt,
|
|
1114
913
|
(e) => ({
|
|
1115
914
|
title: e.title,
|
|
1116
915
|
image: e.image,
|
|
@@ -1122,34 +921,34 @@ m(
|
|
|
1122
921
|
windowHeight: 460
|
|
1123
922
|
}
|
|
1124
923
|
);
|
|
1125
|
-
function
|
|
924
|
+
function zt(e, t) {
|
|
1126
925
|
window.VK || (window.VK = {}), window.VK.Share = {
|
|
1127
926
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1128
|
-
count: (
|
|
1129
|
-
var
|
|
1130
|
-
return (u = (
|
|
927
|
+
count: (r, c) => {
|
|
928
|
+
var l, u;
|
|
929
|
+
return (u = (l = window.VK.callbacks) == null ? void 0 : l[r]) == null ? void 0 : u.call(l, c);
|
|
1131
930
|
}
|
|
1132
931
|
}, window.VK.callbacks = [];
|
|
1133
932
|
const n = "https://vk.com/share.php", i = window.VK.callbacks.length;
|
|
1134
|
-
return window.VK.callbacks.push(t),
|
|
1135
|
-
n +
|
|
933
|
+
return window.VK.callbacks.push(t), j(
|
|
934
|
+
n + w({
|
|
1136
935
|
act: "count",
|
|
1137
936
|
index: i,
|
|
1138
937
|
url: e
|
|
1139
938
|
})
|
|
1140
939
|
);
|
|
1141
940
|
}
|
|
1142
|
-
|
|
1143
|
-
function
|
|
1144
|
-
return
|
|
941
|
+
P(zt);
|
|
942
|
+
function Ft(e, { title: t, image: n }) {
|
|
943
|
+
return f(e, "weibo.url"), "http://service.weibo.com/share/share.php" + w({
|
|
1145
944
|
url: e,
|
|
1146
945
|
title: t,
|
|
1147
946
|
pic: n
|
|
1148
947
|
});
|
|
1149
948
|
}
|
|
1150
|
-
|
|
949
|
+
g(
|
|
1151
950
|
"weibo",
|
|
1152
|
-
|
|
951
|
+
Ft,
|
|
1153
952
|
(e) => ({
|
|
1154
953
|
title: e.title,
|
|
1155
954
|
image: e.image
|
|
@@ -1160,17 +959,17 @@ m(
|
|
|
1160
959
|
windowPosition: "screenCenter"
|
|
1161
960
|
}
|
|
1162
961
|
);
|
|
1163
|
-
function
|
|
962
|
+
function Kt() {
|
|
1164
963
|
return /(android|iphone|ipad|mobile)/i.test(navigator.userAgent);
|
|
1165
964
|
}
|
|
1166
|
-
function
|
|
1167
|
-
return
|
|
965
|
+
function Gt(e, { title: t, separator: n }) {
|
|
966
|
+
return f(e, "whatsapp.url"), "https://" + (Kt() ? "api" : "web") + ".whatsapp.com/send" + w({
|
|
1168
967
|
text: t ? t + n + e : e
|
|
1169
968
|
});
|
|
1170
969
|
}
|
|
1171
|
-
|
|
970
|
+
g(
|
|
1172
971
|
"whatsapp",
|
|
1173
|
-
|
|
972
|
+
Gt,
|
|
1174
973
|
(e) => ({
|
|
1175
974
|
title: e.title,
|
|
1176
975
|
separator: e.separator || " "
|
|
@@ -1180,16 +979,16 @@ m(
|
|
|
1180
979
|
windowHeight: 400
|
|
1181
980
|
}
|
|
1182
981
|
);
|
|
1183
|
-
function
|
|
1184
|
-
return
|
|
982
|
+
function qt(e, { quote: t, hashtag: n }) {
|
|
983
|
+
return f(e, "workplace.url"), "https://work.facebook.com/sharer.php" + w({
|
|
1185
984
|
u: e,
|
|
1186
985
|
quote: t,
|
|
1187
986
|
hashtag: n
|
|
1188
987
|
});
|
|
1189
988
|
}
|
|
1190
|
-
|
|
989
|
+
g(
|
|
1191
990
|
"workplace",
|
|
1192
|
-
|
|
991
|
+
qt,
|
|
1193
992
|
(e) => ({
|
|
1194
993
|
quote: e.quote,
|
|
1195
994
|
hashtag: e.hashtag
|
|
@@ -1199,25 +998,25 @@ m(
|
|
|
1199
998
|
windowHeight: 400
|
|
1200
999
|
}
|
|
1201
1000
|
);
|
|
1202
|
-
var
|
|
1203
|
-
Object.defineProperty(
|
|
1001
|
+
var X = {}, Xt = xe;
|
|
1002
|
+
Object.defineProperty(X, "__esModule", {
|
|
1204
1003
|
value: !0
|
|
1205
1004
|
});
|
|
1206
|
-
var
|
|
1005
|
+
var de = X.default = void 0, Qt = Xt(ve()), Yt = he, Zt = (0, Qt.default)(/* @__PURE__ */ (0, Yt.jsx)("circle", {
|
|
1207
1006
|
cx: "12",
|
|
1208
1007
|
cy: "12",
|
|
1209
1008
|
r: "8"
|
|
1210
1009
|
}), "FiberManualRecord");
|
|
1211
|
-
|
|
1212
|
-
const
|
|
1213
|
-
var t, n, i,
|
|
1010
|
+
de = X.default = Zt;
|
|
1011
|
+
const It = ye((e) => {
|
|
1012
|
+
var t, n, i, r, c, l, u, s, o;
|
|
1214
1013
|
return {
|
|
1215
1014
|
embedDesktopTabCardWp: {
|
|
1216
1015
|
boxShadow: "none !important",
|
|
1217
1016
|
overflow: "hidden",
|
|
1218
1017
|
borderRadius: `${(t = e == null ? void 0 : e.borderRadius) == null ? void 0 : t.value} !important`,
|
|
1219
1018
|
border: `1px solid ${(i = (n = e == null ? void 0 : e.palette) == null ? void 0 : n.customColor) == null ? void 0 : i.LINE}`,
|
|
1220
|
-
background: (c = (
|
|
1019
|
+
background: (c = (r = e == null ? void 0 : e.palette) == null ? void 0 : r.customColor) == null ? void 0 : c.BGLIGHT,
|
|
1221
1020
|
cursor: "pointer",
|
|
1222
1021
|
"& .card-container": {
|
|
1223
1022
|
width: "100%",
|
|
@@ -1230,7 +1029,7 @@ const fn = We((e) => {
|
|
|
1230
1029
|
overflow: "hidden",
|
|
1231
1030
|
display: "flex",
|
|
1232
1031
|
flexDirection: "column",
|
|
1233
|
-
background: (u = (
|
|
1032
|
+
background: (u = (l = e == null ? void 0 : e.palette) == null ? void 0 : l.customColor) == null ? void 0 : u.BGLIGHT,
|
|
1234
1033
|
"& .contentBox": {
|
|
1235
1034
|
flex: "1 0 auto",
|
|
1236
1035
|
padding: "20px 20px 0px 20px !important",
|
|
@@ -1240,7 +1039,7 @@ const fn = We((e) => {
|
|
|
1240
1039
|
overflow: "initial"
|
|
1241
1040
|
},
|
|
1242
1041
|
"& .cardActionWp": {
|
|
1243
|
-
borderTop: `1px solid ${(
|
|
1042
|
+
borderTop: `1px solid ${(o = (s = e == null ? void 0 : e.palette) == null ? void 0 : s.customColor) == null ? void 0 : o.LINE}`,
|
|
1244
1043
|
padding: "20px 0px",
|
|
1245
1044
|
display: "flex",
|
|
1246
1045
|
justifyContent: "start",
|
|
@@ -1257,7 +1056,7 @@ const fn = We((e) => {
|
|
|
1257
1056
|
}
|
|
1258
1057
|
}
|
|
1259
1058
|
};
|
|
1260
|
-
}),
|
|
1059
|
+
}), Jt = `
|
|
1261
1060
|
.doticon .Platform-x-SvgIcon-root{
|
|
1262
1061
|
font-size: 6px;
|
|
1263
1062
|
}
|
|
@@ -1276,21 +1075,21 @@ font-size: 6px;
|
|
|
1276
1075
|
overflow: hidden;
|
|
1277
1076
|
word-wrap: break-word;
|
|
1278
1077
|
}
|
|
1279
|
-
`,
|
|
1280
|
-
const t =
|
|
1078
|
+
`, en = ({ content: e }) => {
|
|
1079
|
+
const t = ke(e == null ? void 0 : e.Description) || "", n = It();
|
|
1281
1080
|
return /* @__PURE__ */ a(
|
|
1282
|
-
|
|
1081
|
+
re,
|
|
1283
1082
|
{
|
|
1284
1083
|
className: n.embedDesktopTabCardWp,
|
|
1285
1084
|
sx: {
|
|
1286
1085
|
margin: { xs: "8px 0px 8px 0", sm: "0" }
|
|
1287
1086
|
},
|
|
1288
1087
|
onClick: () => window.open(e == null ? void 0 : e.LandingPage, "_blank"),
|
|
1289
|
-
children: /* @__PURE__ */ k(
|
|
1290
|
-
/* @__PURE__ */ k(
|
|
1291
|
-
/* @__PURE__ */ a("style", { children:
|
|
1088
|
+
children: /* @__PURE__ */ k(T, { container: !0, children: [
|
|
1089
|
+
/* @__PURE__ */ k(T, { item: !0, xs: 12, className: "card-container", children: [
|
|
1090
|
+
/* @__PURE__ */ a("style", { children: Jt }),
|
|
1292
1091
|
(e == null ? void 0 : e.colorCode) !== void 0 && (e == null ? void 0 : e.colorCode) !== "" ? /* @__PURE__ */ a(
|
|
1293
|
-
|
|
1092
|
+
m,
|
|
1294
1093
|
{
|
|
1295
1094
|
sx: {
|
|
1296
1095
|
height: "100%",
|
|
@@ -1299,7 +1098,7 @@ font-size: 6px;
|
|
|
1299
1098
|
}
|
|
1300
1099
|
}
|
|
1301
1100
|
) : /* @__PURE__ */ a(
|
|
1302
|
-
|
|
1101
|
+
Ce,
|
|
1303
1102
|
{
|
|
1304
1103
|
component: "img",
|
|
1305
1104
|
image: e == null ? void 0 : e.Thumbnail,
|
|
@@ -1312,10 +1111,10 @@ font-size: 6px;
|
|
|
1312
1111
|
}
|
|
1313
1112
|
)
|
|
1314
1113
|
] }),
|
|
1315
|
-
/* @__PURE__ */ a(
|
|
1316
|
-
/* @__PURE__ */ k(
|
|
1114
|
+
/* @__PURE__ */ a(T, { item: !0, xs: 12, className: "card-content-area", children: /* @__PURE__ */ k(Se, { className: "contentBox", children: [
|
|
1115
|
+
/* @__PURE__ */ k(m, { className: "TopContentBox", children: [
|
|
1317
1116
|
/* @__PURE__ */ a(
|
|
1318
|
-
|
|
1117
|
+
_,
|
|
1319
1118
|
{
|
|
1320
1119
|
gutterBottom: !0,
|
|
1321
1120
|
variant: "h3bold",
|
|
@@ -1327,7 +1126,7 @@ font-size: 6px;
|
|
|
1327
1126
|
}
|
|
1328
1127
|
),
|
|
1329
1128
|
/* @__PURE__ */ a(
|
|
1330
|
-
|
|
1129
|
+
_,
|
|
1331
1130
|
{
|
|
1332
1131
|
variant: "p3regular",
|
|
1333
1132
|
sx: {
|
|
@@ -1338,10 +1137,10 @@ font-size: 6px;
|
|
|
1338
1137
|
}
|
|
1339
1138
|
)
|
|
1340
1139
|
] }),
|
|
1341
|
-
/* @__PURE__ */ k(
|
|
1342
|
-
/* @__PURE__ */ a(
|
|
1140
|
+
/* @__PURE__ */ k(oe, { className: "cardActionWp", children: [
|
|
1141
|
+
/* @__PURE__ */ a(_, { variant: "p4semibold", children: e == null ? void 0 : e.Author }),
|
|
1343
1142
|
/* @__PURE__ */ a(
|
|
1344
|
-
|
|
1143
|
+
_,
|
|
1345
1144
|
{
|
|
1346
1145
|
variant: "p4regular",
|
|
1347
1146
|
sx: {
|
|
@@ -1349,19 +1148,19 @@ font-size: 6px;
|
|
|
1349
1148
|
marginLeft: "8px"
|
|
1350
1149
|
},
|
|
1351
1150
|
className: "doticon",
|
|
1352
|
-
children: /* @__PURE__ */ a(
|
|
1151
|
+
children: /* @__PURE__ */ a(de, {})
|
|
1353
1152
|
}
|
|
1354
1153
|
),
|
|
1355
|
-
/* @__PURE__ */ a(
|
|
1154
|
+
/* @__PURE__ */ a(_, { variant: "p4regular", children: Ae(e == null ? void 0 : e.creationDate) })
|
|
1356
1155
|
] })
|
|
1357
1156
|
] }) })
|
|
1358
1157
|
] })
|
|
1359
1158
|
}
|
|
1360
1159
|
);
|
|
1361
1160
|
};
|
|
1362
|
-
function
|
|
1161
|
+
function te({ maxWidth: e = 350, maxHeight: t }) {
|
|
1363
1162
|
return /* @__PURE__ */ k(
|
|
1364
|
-
|
|
1163
|
+
re,
|
|
1365
1164
|
{
|
|
1366
1165
|
sx: {
|
|
1367
1166
|
maxWidth: e,
|
|
@@ -1371,16 +1170,16 @@ function se({ maxWidth: e = 350, maxHeight: t }) {
|
|
|
1371
1170
|
boxShadow: "none"
|
|
1372
1171
|
},
|
|
1373
1172
|
children: [
|
|
1374
|
-
/* @__PURE__ */ a(
|
|
1375
|
-
/* @__PURE__ */ a(
|
|
1376
|
-
/* @__PURE__ */ a(
|
|
1377
|
-
/* @__PURE__ */ a(
|
|
1173
|
+
/* @__PURE__ */ a(R, { sx: { height: 190, marginBottom: 2 }, animation: "wave", variant: "rectangular" }),
|
|
1174
|
+
/* @__PURE__ */ a(R, { animation: "wave", width: "40%", height: 15, style: { marginBottom: 15 } }),
|
|
1175
|
+
/* @__PURE__ */ a(R, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } }),
|
|
1176
|
+
/* @__PURE__ */ a(R, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } })
|
|
1378
1177
|
]
|
|
1379
1178
|
}
|
|
1380
1179
|
);
|
|
1381
1180
|
}
|
|
1382
|
-
const
|
|
1383
|
-
const [t, n] =
|
|
1181
|
+
const tn = ({ selectedItem: e }) => {
|
|
1182
|
+
const [t, n] = M(!1), i = {
|
|
1384
1183
|
Title: e == null ? void 0 : e.Title,
|
|
1385
1184
|
Description: e == null ? void 0 : e.Description,
|
|
1386
1185
|
Thumbnail: e == null ? void 0 : e.Thumbnail,
|
|
@@ -1389,22 +1188,22 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1389
1188
|
Page: e == null ? void 0 : e.Page,
|
|
1390
1189
|
LandingPage: e == null ? void 0 : e.LandingPage,
|
|
1391
1190
|
ContentURL: e == null ? void 0 : e.ContentURL
|
|
1392
|
-
},
|
|
1191
|
+
}, r = `
|
|
1393
1192
|
<iframe src="${i == null ? void 0 : i.Page}" width="360" height="203" style="border:none;overflow:hidden"></iframe>
|
|
1394
1193
|
`, c = `
|
|
1395
1194
|
<iframe src="${i == null ? void 0 : i.Page}" width="480" height="270" style="border:none;overflow:hidden"></iframe>
|
|
1396
|
-
`,
|
|
1195
|
+
`, l = (u) => {
|
|
1397
1196
|
navigator.clipboard.writeText(u), n(!0);
|
|
1398
1197
|
};
|
|
1399
1198
|
return /* @__PURE__ */ a(
|
|
1400
|
-
|
|
1199
|
+
m,
|
|
1401
1200
|
{
|
|
1402
1201
|
sx: {
|
|
1403
1202
|
overflowY: "auto"
|
|
1404
1203
|
},
|
|
1405
|
-
children: /* @__PURE__ */ k(
|
|
1204
|
+
children: /* @__PURE__ */ k(T, { container: !0, children: [
|
|
1406
1205
|
/* @__PURE__ */ a(
|
|
1407
|
-
|
|
1206
|
+
T,
|
|
1408
1207
|
{
|
|
1409
1208
|
item: !0,
|
|
1410
1209
|
xs: 12,
|
|
@@ -1416,7 +1215,7 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1416
1215
|
height: { xs: "520px", sm: "initial", md: "initial", em: "480px" }
|
|
1417
1216
|
},
|
|
1418
1217
|
children: /* @__PURE__ */ a(
|
|
1419
|
-
|
|
1218
|
+
m,
|
|
1420
1219
|
{
|
|
1421
1220
|
sx: {
|
|
1422
1221
|
width: { xs: "100%", md: "100%", lg: "100%" },
|
|
@@ -1430,13 +1229,13 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1430
1229
|
alignItems: "center"
|
|
1431
1230
|
},
|
|
1432
1231
|
className: "card1",
|
|
1433
|
-
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ a(
|
|
1232
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ a(en, { content: i }) : /* @__PURE__ */ a(te, { maxWidth: 480, maxHeight: 500 })
|
|
1434
1233
|
}
|
|
1435
1234
|
)
|
|
1436
1235
|
}
|
|
1437
1236
|
),
|
|
1438
1237
|
/* @__PURE__ */ a(
|
|
1439
|
-
|
|
1238
|
+
T,
|
|
1440
1239
|
{
|
|
1441
1240
|
item: !0,
|
|
1442
1241
|
xs: 12,
|
|
@@ -1453,7 +1252,7 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1453
1252
|
alignItems: "center"
|
|
1454
1253
|
},
|
|
1455
1254
|
children: /* @__PURE__ */ a(
|
|
1456
|
-
|
|
1255
|
+
m,
|
|
1457
1256
|
{
|
|
1458
1257
|
sx: {
|
|
1459
1258
|
padding: {
|
|
@@ -1463,17 +1262,17 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1463
1262
|
},
|
|
1464
1263
|
width: { xs: "360px", sm: "480px" }
|
|
1465
1264
|
},
|
|
1466
|
-
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ k(
|
|
1265
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ k(we, { children: [
|
|
1467
1266
|
/* @__PURE__ */ k(
|
|
1468
|
-
|
|
1267
|
+
m,
|
|
1469
1268
|
{
|
|
1470
1269
|
sx: {
|
|
1471
1270
|
marginBottom: { md: "25px", lg: "0" },
|
|
1472
1271
|
padding: { xs: "0 0 10px 0", md: "0" }
|
|
1473
1272
|
},
|
|
1474
1273
|
children: [
|
|
1475
|
-
/* @__PURE__ */ a(
|
|
1476
|
-
|
|
1274
|
+
/* @__PURE__ */ a(m, { children: /* @__PURE__ */ a(
|
|
1275
|
+
_,
|
|
1477
1276
|
{
|
|
1478
1277
|
variant: "h3bold",
|
|
1479
1278
|
color: "textColor1",
|
|
@@ -1483,8 +1282,8 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1483
1282
|
children: "Social Embed link"
|
|
1484
1283
|
}
|
|
1485
1284
|
) }),
|
|
1486
|
-
/* @__PURE__ */ a(
|
|
1487
|
-
|
|
1285
|
+
/* @__PURE__ */ a(m, { children: /* @__PURE__ */ a(
|
|
1286
|
+
_,
|
|
1488
1287
|
{
|
|
1489
1288
|
variant: "h7regular",
|
|
1490
1289
|
padding: 0,
|
|
@@ -1497,7 +1296,7 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1497
1296
|
}
|
|
1498
1297
|
),
|
|
1499
1298
|
/* @__PURE__ */ a(
|
|
1500
|
-
|
|
1299
|
+
m,
|
|
1501
1300
|
{
|
|
1502
1301
|
sx: {
|
|
1503
1302
|
height: { lg: "295px", xl: "225px" },
|
|
@@ -1513,11 +1312,11 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1513
1312
|
fontFamily: "Roboto Mono",
|
|
1514
1313
|
wordBreak: "break-word"
|
|
1515
1314
|
},
|
|
1516
|
-
children:
|
|
1315
|
+
children: r
|
|
1517
1316
|
}
|
|
1518
1317
|
),
|
|
1519
1318
|
/* @__PURE__ */ a(
|
|
1520
|
-
|
|
1319
|
+
m,
|
|
1521
1320
|
{
|
|
1522
1321
|
sx: {
|
|
1523
1322
|
height: { md: "215px", lg: "215px" },
|
|
@@ -1537,7 +1336,7 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1537
1336
|
}
|
|
1538
1337
|
),
|
|
1539
1338
|
/* @__PURE__ */ k(
|
|
1540
|
-
|
|
1339
|
+
m,
|
|
1541
1340
|
{
|
|
1542
1341
|
sx: {
|
|
1543
1342
|
display: "flex",
|
|
@@ -1545,7 +1344,7 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1545
1344
|
},
|
|
1546
1345
|
children: [
|
|
1547
1346
|
/* @__PURE__ */ a(
|
|
1548
|
-
|
|
1347
|
+
Z,
|
|
1549
1348
|
{
|
|
1550
1349
|
variant: "primaryButton1",
|
|
1551
1350
|
sx: {
|
|
@@ -1553,13 +1352,13 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1553
1352
|
margin: "0",
|
|
1554
1353
|
padding: "0"
|
|
1555
1354
|
},
|
|
1556
|
-
onClick: () =>
|
|
1355
|
+
onClick: () => l(c),
|
|
1557
1356
|
"data-testid": "copy-desktop-embedded-code",
|
|
1558
1357
|
children: t ? "Copied" : "Copy Code"
|
|
1559
1358
|
}
|
|
1560
1359
|
),
|
|
1561
1360
|
/* @__PURE__ */ a(
|
|
1562
|
-
|
|
1361
|
+
Z,
|
|
1563
1362
|
{
|
|
1564
1363
|
variant: "primaryButton1",
|
|
1565
1364
|
sx: {
|
|
@@ -1568,7 +1367,7 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1568
1367
|
display: { xs: "flex", md: "none" },
|
|
1569
1368
|
margin: { xs: "20px 0 0 0", md: 0 }
|
|
1570
1369
|
},
|
|
1571
|
-
onClick: () =>
|
|
1370
|
+
onClick: () => l(r),
|
|
1572
1371
|
"data-testid": "copy-mobile-embedded-code",
|
|
1573
1372
|
children: t ? "Copied" : "Copy Code"
|
|
1574
1373
|
}
|
|
@@ -1576,7 +1375,7 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1576
1375
|
]
|
|
1577
1376
|
}
|
|
1578
1377
|
)
|
|
1579
|
-
] }) : /* @__PURE__ */ a(
|
|
1378
|
+
] }) : /* @__PURE__ */ a(te, { maxWidth: 480, maxHeight: 500 })
|
|
1580
1379
|
}
|
|
1581
1380
|
)
|
|
1582
1381
|
}
|
|
@@ -1585,13 +1384,13 @@ const bn = ({ selectedItem: e }) => {
|
|
|
1585
1384
|
}
|
|
1586
1385
|
);
|
|
1587
1386
|
};
|
|
1588
|
-
function
|
|
1387
|
+
function nn({
|
|
1589
1388
|
isDialogOpen: e,
|
|
1590
1389
|
closeEmbedButtonHandle: t,
|
|
1591
1390
|
setSelectedItem: n
|
|
1592
1391
|
}) {
|
|
1593
|
-
return /* @__PURE__ */ a(
|
|
1594
|
-
|
|
1392
|
+
return /* @__PURE__ */ a(m, { className: "embedmodal", children: /* @__PURE__ */ k(
|
|
1393
|
+
Le,
|
|
1595
1394
|
{
|
|
1596
1395
|
fullWidth: !0,
|
|
1597
1396
|
open: e,
|
|
@@ -1613,7 +1412,7 @@ function vn({
|
|
|
1613
1412
|
},
|
|
1614
1413
|
children: [
|
|
1615
1414
|
/* @__PURE__ */ a(
|
|
1616
|
-
|
|
1415
|
+
m,
|
|
1617
1416
|
{
|
|
1618
1417
|
sx: {
|
|
1619
1418
|
paddingLeft: "20px",
|
|
@@ -1623,29 +1422,29 @@ function vn({
|
|
|
1623
1422
|
right: "-10px"
|
|
1624
1423
|
},
|
|
1625
1424
|
children: /* @__PURE__ */ a(
|
|
1626
|
-
|
|
1425
|
+
m,
|
|
1627
1426
|
{
|
|
1628
1427
|
sx: { textAlign: "right", cursor: "pointer", zIndex: "99999" },
|
|
1629
1428
|
mt: 1,
|
|
1630
1429
|
mr: 3,
|
|
1631
1430
|
onClick: t,
|
|
1632
|
-
children: /* @__PURE__ */ a(
|
|
1431
|
+
children: /* @__PURE__ */ a(_e, {})
|
|
1633
1432
|
}
|
|
1634
1433
|
)
|
|
1635
1434
|
}
|
|
1636
1435
|
),
|
|
1637
|
-
/* @__PURE__ */ a(
|
|
1436
|
+
/* @__PURE__ */ a(tn, { selectedItem: n })
|
|
1638
1437
|
]
|
|
1639
1438
|
}
|
|
1640
1439
|
) });
|
|
1641
1440
|
}
|
|
1642
|
-
const
|
|
1643
|
-
const t =
|
|
1441
|
+
const rn = (e) => {
|
|
1442
|
+
const t = Re(), { shareUrl: n = "", domainUrl: i = "", enablePreview: r, showRecentArticles: c } = e, l = () => {
|
|
1644
1443
|
if (e.whiteIcon)
|
|
1645
1444
|
return {
|
|
1646
1445
|
filter: "brightness(0) invert(1)"
|
|
1647
1446
|
};
|
|
1648
|
-
}, u = (
|
|
1447
|
+
}, u = (L = "#2d2d39") => ({
|
|
1649
1448
|
display: "flex",
|
|
1650
1449
|
justifyContent: "center",
|
|
1651
1450
|
alignItems: "center",
|
|
@@ -1659,32 +1458,32 @@ const xn = (e) => {
|
|
|
1659
1458
|
img: {
|
|
1660
1459
|
filter: "brightness(0) invert(1)"
|
|
1661
1460
|
},
|
|
1662
|
-
background:
|
|
1461
|
+
background: L
|
|
1663
1462
|
},
|
|
1664
1463
|
border: e.border
|
|
1665
1464
|
}), s = {
|
|
1666
1465
|
display: "flex",
|
|
1667
1466
|
justifyContent: "center",
|
|
1668
1467
|
alignItems: "center",
|
|
1669
|
-
cursor:
|
|
1670
|
-
},
|
|
1468
|
+
cursor: r ? "default" : "pointer"
|
|
1469
|
+
}, o = {
|
|
1671
1470
|
opacity: 1
|
|
1672
|
-
},
|
|
1673
|
-
"clipboard" in navigator && i ? (await navigator.clipboard.writeText(i),
|
|
1471
|
+
}, d = async () => {
|
|
1472
|
+
"clipboard" in navigator && i ? (await navigator.clipboard.writeText(i), je("URL copied successfully.")) : I(
|
|
1674
1473
|
"We have not been able to complete the requested action. Please try again later"
|
|
1675
1474
|
);
|
|
1676
1475
|
}, h = () => {
|
|
1677
|
-
}, [
|
|
1678
|
-
|
|
1476
|
+
}, [p, v] = M(!1), b = (L = "") => {
|
|
1477
|
+
L || I(
|
|
1679
1478
|
"We have not been able to complete the requested action. Please try again later"
|
|
1680
1479
|
);
|
|
1681
1480
|
}, A = () => {
|
|
1682
|
-
|
|
1481
|
+
v(!0);
|
|
1683
1482
|
}, C = () => {
|
|
1684
|
-
|
|
1483
|
+
v(!1);
|
|
1685
1484
|
};
|
|
1686
1485
|
return /* @__PURE__ */ k(
|
|
1687
|
-
|
|
1486
|
+
m,
|
|
1688
1487
|
{
|
|
1689
1488
|
sx: {
|
|
1690
1489
|
display: "flex",
|
|
@@ -1692,81 +1491,81 @@ const xn = (e) => {
|
|
|
1692
1491
|
},
|
|
1693
1492
|
children: [
|
|
1694
1493
|
/* @__PURE__ */ a(
|
|
1695
|
-
|
|
1494
|
+
gt,
|
|
1696
1495
|
{
|
|
1697
|
-
disabled:
|
|
1698
|
-
onClick: () => !
|
|
1496
|
+
disabled: r,
|
|
1497
|
+
onClick: () => !r && b(n),
|
|
1699
1498
|
onShareWindowClose: h,
|
|
1700
1499
|
url: n,
|
|
1701
1500
|
style: s,
|
|
1702
|
-
disabledStyle:
|
|
1501
|
+
disabledStyle: o,
|
|
1703
1502
|
"data-testid": "facebook-share",
|
|
1704
1503
|
children: /* @__PURE__ */ a(
|
|
1705
|
-
|
|
1504
|
+
m,
|
|
1706
1505
|
{
|
|
1707
1506
|
sx: {
|
|
1708
1507
|
...u("#1078f0"),
|
|
1709
|
-
cursor:
|
|
1508
|
+
cursor: r ? "default" : "pointer"
|
|
1710
1509
|
},
|
|
1711
|
-
onClick: () => !
|
|
1712
|
-
children: /* @__PURE__ */ a("img", { alt: "share1", width: 15, height: 15, src:
|
|
1510
|
+
onClick: () => !r && b(n),
|
|
1511
|
+
children: /* @__PURE__ */ a("img", { alt: "share1", width: 15, height: 15, src: Fe, style: { ...l() } })
|
|
1713
1512
|
}
|
|
1714
1513
|
)
|
|
1715
1514
|
}
|
|
1716
1515
|
),
|
|
1717
1516
|
/* @__PURE__ */ a(
|
|
1718
|
-
|
|
1517
|
+
Lt,
|
|
1719
1518
|
{
|
|
1720
|
-
disabled:
|
|
1519
|
+
disabled: r,
|
|
1721
1520
|
onShareWindowClose: h,
|
|
1722
1521
|
url: n,
|
|
1723
1522
|
style: s,
|
|
1724
|
-
disabledStyle:
|
|
1523
|
+
disabledStyle: o,
|
|
1725
1524
|
children: /* @__PURE__ */ a(
|
|
1726
|
-
|
|
1525
|
+
m,
|
|
1727
1526
|
{
|
|
1728
1527
|
sx: {
|
|
1729
1528
|
...u("#2d67b3"),
|
|
1730
|
-
cursor:
|
|
1529
|
+
cursor: r ? "default" : "pointer"
|
|
1731
1530
|
},
|
|
1732
|
-
onClick: () => !
|
|
1531
|
+
onClick: () => !r && b(n),
|
|
1733
1532
|
"data-testid": "linkedin-share",
|
|
1734
|
-
children: /* @__PURE__ */ a("img", { alt: "share4", width: 15, height: 15, src:
|
|
1533
|
+
children: /* @__PURE__ */ a("img", { alt: "share4", width: 15, height: 15, src: Ke, style: { ...l() } })
|
|
1735
1534
|
}
|
|
1736
1535
|
)
|
|
1737
1536
|
}
|
|
1738
1537
|
),
|
|
1739
1538
|
/* @__PURE__ */ a(
|
|
1740
|
-
|
|
1539
|
+
m,
|
|
1741
1540
|
{
|
|
1742
1541
|
sx: {
|
|
1743
1542
|
...u("#229af1"),
|
|
1744
|
-
cursor:
|
|
1543
|
+
cursor: r ? "default" : "pointer"
|
|
1745
1544
|
},
|
|
1746
|
-
onClick: () => !
|
|
1545
|
+
onClick: () => !r && d(),
|
|
1747
1546
|
"data-testid": "copy-clipboard-data",
|
|
1748
|
-
children: /* @__PURE__ */ a("img", { alt: "share5", width: 15, height: 15, src:
|
|
1547
|
+
children: /* @__PURE__ */ a("img", { alt: "share5", width: 15, height: 15, src: Ve, style: { ...l() } })
|
|
1749
1548
|
}
|
|
1750
1549
|
),
|
|
1751
1550
|
c && /* @__PURE__ */ a(
|
|
1752
|
-
|
|
1551
|
+
m,
|
|
1753
1552
|
{
|
|
1754
1553
|
sx: {
|
|
1755
1554
|
...u("#2d2d39"),
|
|
1756
|
-
cursor:
|
|
1555
|
+
cursor: r ? "default" : "pointer",
|
|
1757
1556
|
marginRight: 0
|
|
1758
1557
|
},
|
|
1759
1558
|
onClick: () => {
|
|
1760
|
-
!
|
|
1559
|
+
!r && A();
|
|
1761
1560
|
},
|
|
1762
1561
|
"data-testid": "preview-and-embed",
|
|
1763
|
-
children: /* @__PURE__ */ a("img", { alt: "share6", width: 15, height: 15, src:
|
|
1562
|
+
children: /* @__PURE__ */ a("img", { alt: "share6", width: 15, height: 15, src: ze, style: { ...l() } })
|
|
1764
1563
|
}
|
|
1765
1564
|
),
|
|
1766
|
-
|
|
1767
|
-
|
|
1565
|
+
p ? /* @__PURE__ */ a(
|
|
1566
|
+
nn,
|
|
1768
1567
|
{
|
|
1769
|
-
isDialogOpen:
|
|
1568
|
+
isDialogOpen: p,
|
|
1770
1569
|
closeEmbedButtonHandle: C,
|
|
1771
1570
|
setSelectedItem: e == null ? void 0 : e.embedData
|
|
1772
1571
|
}
|
|
@@ -1774,7 +1573,7 @@ const xn = (e) => {
|
|
|
1774
1573
|
]
|
|
1775
1574
|
}
|
|
1776
1575
|
);
|
|
1777
|
-
},
|
|
1576
|
+
}, cn = fe.memo(rn);
|
|
1778
1577
|
export {
|
|
1779
|
-
|
|
1578
|
+
cn as default
|
|
1780
1579
|
};
|