@platform-x/hcltechx-mfe-wrapper 1.0.10 → 1.0.11
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-CGYPjtbz.mjs → ArticleVodListComponent-55Amw117.mjs} +2 -2
- package/{ChallengeDetailComponent-wFgexfRN.mjs → ChallengeDetailComponent-CFgNIy40.mjs} +5 -5
- package/{ChallengeSliderComponent-DlJLxu-W.mjs → ChallengeSliderComponent-DxywQ1Yw.mjs} +5 -5
- package/{CommonContentComponent-D0ibizlD.mjs → CommonContentComponent-CZ4R-bl5.mjs} +3 -3
- package/{DailyMotion-BymA5jjr.mjs → DailyMotion-SSHst39J.mjs} +2 -2
- package/{EngagementHomeComponent-BBfNZ_oS.mjs → EngagementHomeComponent-DV2T5lXk.mjs} +5 -5
- package/{EventDetailComponent-BJZsXaXF.mjs → EventDetailComponent--tfRa3kB.mjs} +5 -5
- package/EventList-BgAnQPsa.mjs +38484 -0
- package/{EventListComponent-CgBi-ggY.mjs → EventListComponent-DafPg6Gl.mjs} +5 -5
- package/{Facebook-CRS16Qk1.mjs → Facebook-BW-swjny.mjs} +2 -2
- package/{FilePlayer-DboirD-Q.mjs → FilePlayer-F1fTGtr4.mjs} +2 -2
- package/{IndividualChallengeComponent-DdVYn_-J.mjs → IndividualChallengeComponent-DtonJm0x.mjs} +7 -7
- package/{Kaltura-D7rHQXnb.mjs → Kaltura-DFDmKzKV.mjs} +2 -2
- package/{Mixcloud-Ex-zINDP.mjs → Mixcloud-C26C0LJN.mjs} +2 -2
- package/{Mux-CYUdZreh.mjs → Mux-D4AN7rCD.mjs} +2 -2
- package/{Preview-Cd53GjOM.mjs → Preview-J16z8kBH.mjs} +1 -1
- package/{RecentCarousel-Fhcmu629.mjs → RecentCarousel-091dBxgP.mjs} +44 -50
- package/{Share-D2-0qFxQ.mjs → Share-CpUL9IEm.mjs} +487 -483
- package/{SoundCloud-1dVdVRXj.mjs → SoundCloud-NgtcEElL.mjs} +2 -2
- package/{Streamable-CJdBYsFW.mjs → Streamable-BcHnyLZJ.mjs} +2 -2
- package/{Twitch-B29GH4XF.mjs → Twitch-9_6JM-Q5.mjs} +2 -2
- package/{Vidyard-DcVp_Ejt.mjs → Vidyard-DBy4Ixeu.mjs} +2 -2
- package/{Vimeo-CAhSSPHl.mjs → Vimeo-DFCi-vSX.mjs} +2 -2
- package/{Wistia-cBv27QfD.mjs → Wistia-emX1iUcE.mjs} +2 -2
- package/{YouTube-pCMBQQyx.mjs → YouTube-DIq2uWeq.mjs} +2 -2
- package/{index-CXyS7w1_.mjs → index-AEiKTTFl.mjs} +2 -2
- package/{index-Bv4QVvQA.mjs → index-CIVj8pjz.mjs} +3459 -5285
- package/index.d.ts +0 -1
- package/index.mjs +2 -3
- package/lib/utils/SsoLogin.d.ts +2 -0
- package/lib/utils/iframeKeycloak.d.ts +5 -0
- package/{mutateApi-PTHF0lvY.mjs → mutateApi-dFWYRnAs.mjs} +18 -12
- package/package.json +1 -1
- package/EventList-hs_1aiMc.mjs +0 -219733
- /package/lib/utils/{MfeLogin.d.ts → old-SsoLogin.d.ts} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import Ne, { jsx as s, jsxs as k, Fragment as Te } from "react/jsx-runtime";
|
|
2
|
+
import * as z from "react";
|
|
3
|
+
import je, { forwardRef as Oe, useState as $, useEffect as me, useRef as Ee, useCallback as Re } from "react";
|
|
4
|
+
import { t as Pe, v as be, w as Be, x as De, m as Me, y as We, B as b, i as He, T as N, l as $e, z as se, D as Ue, F as Ve, G as ze, H as le } from "./EventList-BgAnQPsa.mjs";
|
|
5
|
+
import { b as F, c as K, s as G, d as X, _ as q, e as C, h as Q, P as r, i as Fe, j as Y, k as ve, l as Ke, m as de, g as Ge, G as E, u as Xe } from "./index-CIVj8pjz.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
function
|
|
7
|
+
function qe(e) {
|
|
8
8
|
return String(e).match(/[\d.\-+]*\s*(.*)/)[1] || "";
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function Qe(e) {
|
|
11
11
|
return parseFloat(e);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
return
|
|
13
|
+
function Ye(e) {
|
|
14
|
+
return K("MuiCard", e);
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
const
|
|
16
|
+
F("MuiCard", ["root"]);
|
|
17
|
+
const Ze = ["className", "raised"], Ie = (e) => {
|
|
18
18
|
const {
|
|
19
19
|
classes: t
|
|
20
20
|
} = e;
|
|
21
|
-
return
|
|
21
|
+
return Y({
|
|
22
22
|
root: ["root"]
|
|
23
|
-
},
|
|
24
|
-
},
|
|
23
|
+
}, Ye, t);
|
|
24
|
+
}, Je = G(Pe, {
|
|
25
25
|
name: "MuiCard",
|
|
26
26
|
slot: "Root",
|
|
27
27
|
overridesResolver: (e, t) => t.root
|
|
28
28
|
})(() => ({
|
|
29
29
|
overflow: "hidden"
|
|
30
|
-
})), te = /* @__PURE__ */
|
|
31
|
-
const o =
|
|
30
|
+
})), te = /* @__PURE__ */ z.forwardRef(function(t, n) {
|
|
31
|
+
const o = X({
|
|
32
32
|
props: t,
|
|
33
33
|
name: "MuiCard"
|
|
34
34
|
}), {
|
|
35
35
|
className: i,
|
|
36
|
-
raised:
|
|
37
|
-
} = o,
|
|
38
|
-
raised:
|
|
39
|
-
}),
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
-
className:
|
|
42
|
-
elevation:
|
|
36
|
+
raised: d = !1
|
|
37
|
+
} = o, c = q(o, Ze), h = C({}, o, {
|
|
38
|
+
raised: d
|
|
39
|
+
}), l = Ie(h);
|
|
40
|
+
return /* @__PURE__ */ s(Je, C({
|
|
41
|
+
className: Q(l.root, i),
|
|
42
|
+
elevation: d ? 8 : void 0,
|
|
43
43
|
ref: n,
|
|
44
|
-
ownerState:
|
|
45
|
-
},
|
|
44
|
+
ownerState: h
|
|
45
|
+
}, c));
|
|
46
46
|
});
|
|
47
47
|
process.env.NODE_ENV !== "production" && (te.propTypes = {
|
|
48
48
|
// ----------------------------- Warning --------------------------------
|
|
@@ -65,25 +65,25 @@ process.env.NODE_ENV !== "production" && (te.propTypes = {
|
|
|
65
65
|
* If `true`, the card will use raised styling.
|
|
66
66
|
* @default false
|
|
67
67
|
*/
|
|
68
|
-
raised:
|
|
68
|
+
raised: Fe(r.bool, (e) => e.raised && e.variant === "outlined" ? new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.') : null),
|
|
69
69
|
/**
|
|
70
70
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
71
71
|
*/
|
|
72
72
|
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
|
73
73
|
});
|
|
74
|
-
function
|
|
75
|
-
return
|
|
74
|
+
function et(e) {
|
|
75
|
+
return K("MuiCardActions", e);
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
const
|
|
77
|
+
F("MuiCardActions", ["root", "spacing"]);
|
|
78
|
+
const tt = ["disableSpacing", "className"], nt = (e) => {
|
|
79
79
|
const {
|
|
80
80
|
classes: t,
|
|
81
81
|
disableSpacing: n
|
|
82
82
|
} = e;
|
|
83
|
-
return
|
|
83
|
+
return Y({
|
|
84
84
|
root: ["root", !n && "spacing"]
|
|
85
|
-
},
|
|
86
|
-
},
|
|
85
|
+
}, et, t);
|
|
86
|
+
}, ot = G("div", {
|
|
87
87
|
name: "MuiCardActions",
|
|
88
88
|
slot: "Root",
|
|
89
89
|
overridesResolver: (e, t) => {
|
|
@@ -94,7 +94,7 @@ const it = ["disableSpacing", "className"], rt = (e) => {
|
|
|
94
94
|
}
|
|
95
95
|
})(({
|
|
96
96
|
ownerState: e
|
|
97
|
-
}) =>
|
|
97
|
+
}) => C({
|
|
98
98
|
display: "flex",
|
|
99
99
|
alignItems: "center",
|
|
100
100
|
padding: 8
|
|
@@ -102,23 +102,23 @@ const it = ["disableSpacing", "className"], rt = (e) => {
|
|
|
102
102
|
"& > :not(:first-of-type)": {
|
|
103
103
|
marginLeft: 8
|
|
104
104
|
}
|
|
105
|
-
})),
|
|
106
|
-
const o =
|
|
105
|
+
})), xe = /* @__PURE__ */ z.forwardRef(function(t, n) {
|
|
106
|
+
const o = X({
|
|
107
107
|
props: t,
|
|
108
108
|
name: "MuiCardActions"
|
|
109
109
|
}), {
|
|
110
110
|
disableSpacing: i = !1,
|
|
111
|
-
className:
|
|
112
|
-
} = o,
|
|
111
|
+
className: d
|
|
112
|
+
} = o, c = q(o, tt), h = C({}, o, {
|
|
113
113
|
disableSpacing: i
|
|
114
|
-
}),
|
|
115
|
-
return /* @__PURE__ */
|
|
116
|
-
className:
|
|
117
|
-
ownerState:
|
|
114
|
+
}), l = nt(h);
|
|
115
|
+
return /* @__PURE__ */ s(ot, C({
|
|
116
|
+
className: Q(l.root, d),
|
|
117
|
+
ownerState: h,
|
|
118
118
|
ref: n
|
|
119
|
-
},
|
|
119
|
+
}, c));
|
|
120
120
|
});
|
|
121
|
-
process.env.NODE_ENV !== "production" && (
|
|
121
|
+
process.env.NODE_ENV !== "production" && (xe.propTypes = {
|
|
122
122
|
// ----------------------------- Warning --------------------------------
|
|
123
123
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
124
124
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -145,18 +145,18 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
|
|
|
145
145
|
*/
|
|
146
146
|
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
|
147
147
|
});
|
|
148
|
-
function
|
|
149
|
-
return
|
|
148
|
+
function it(e) {
|
|
149
|
+
return K("MuiCardContent", e);
|
|
150
150
|
}
|
|
151
|
-
|
|
152
|
-
const
|
|
151
|
+
F("MuiCardContent", ["root"]);
|
|
152
|
+
const rt = ["className", "component"], at = (e) => {
|
|
153
153
|
const {
|
|
154
154
|
classes: t
|
|
155
155
|
} = e;
|
|
156
|
-
return
|
|
156
|
+
return Y({
|
|
157
157
|
root: ["root"]
|
|
158
|
-
},
|
|
159
|
-
},
|
|
158
|
+
}, it, t);
|
|
159
|
+
}, st = G("div", {
|
|
160
160
|
name: "MuiCardContent",
|
|
161
161
|
slot: "Root",
|
|
162
162
|
overridesResolver: (e, t) => t.root
|
|
@@ -165,24 +165,24 @@ const lt = ["className", "component"], dt = (e) => {
|
|
|
165
165
|
"&:last-child": {
|
|
166
166
|
paddingBottom: 24
|
|
167
167
|
}
|
|
168
|
-
})),
|
|
169
|
-
const o =
|
|
168
|
+
})), ye = /* @__PURE__ */ z.forwardRef(function(t, n) {
|
|
169
|
+
const o = X({
|
|
170
170
|
props: t,
|
|
171
171
|
name: "MuiCardContent"
|
|
172
172
|
}), {
|
|
173
173
|
className: i,
|
|
174
|
-
component:
|
|
175
|
-
} = o,
|
|
176
|
-
component:
|
|
177
|
-
}),
|
|
178
|
-
return /* @__PURE__ */
|
|
179
|
-
as:
|
|
180
|
-
className:
|
|
181
|
-
ownerState:
|
|
174
|
+
component: d = "div"
|
|
175
|
+
} = o, c = q(o, rt), h = C({}, o, {
|
|
176
|
+
component: d
|
|
177
|
+
}), l = at(h);
|
|
178
|
+
return /* @__PURE__ */ s(st, C({
|
|
179
|
+
as: d,
|
|
180
|
+
className: Q(l.root, i),
|
|
181
|
+
ownerState: h,
|
|
182
182
|
ref: n
|
|
183
|
-
},
|
|
183
|
+
}, c));
|
|
184
184
|
});
|
|
185
|
-
process.env.NODE_ENV !== "production" && (
|
|
185
|
+
process.env.NODE_ENV !== "production" && (ye.propTypes = {
|
|
186
186
|
// ----------------------------- Warning --------------------------------
|
|
187
187
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
188
188
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -209,25 +209,25 @@ process.env.NODE_ENV !== "production" && (Ce.propTypes = {
|
|
|
209
209
|
*/
|
|
210
210
|
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
|
211
211
|
});
|
|
212
|
-
function
|
|
213
|
-
return
|
|
212
|
+
function lt(e) {
|
|
213
|
+
return K("MuiSkeleton", e);
|
|
214
214
|
}
|
|
215
|
-
|
|
216
|
-
const
|
|
217
|
-
let
|
|
218
|
-
const
|
|
215
|
+
F("MuiSkeleton", ["root", "text", "rectangular", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
|
|
216
|
+
const dt = ["animation", "className", "component", "height", "style", "variant", "width"];
|
|
217
|
+
let U = (e) => e, ce, ue, he, pe;
|
|
218
|
+
const ct = (e) => {
|
|
219
219
|
const {
|
|
220
220
|
classes: t,
|
|
221
221
|
variant: n,
|
|
222
222
|
animation: o,
|
|
223
223
|
hasChildren: i,
|
|
224
|
-
width:
|
|
225
|
-
height:
|
|
224
|
+
width: d,
|
|
225
|
+
height: c
|
|
226
226
|
} = e;
|
|
227
|
-
return
|
|
228
|
-
root: ["root", n, o, i && "withChildren", i && !
|
|
229
|
-
},
|
|
230
|
-
},
|
|
227
|
+
return Y({
|
|
228
|
+
root: ["root", n, o, i && "withChildren", i && !d && "fitContent", i && !c && "heightAuto"]
|
|
229
|
+
}, lt, t);
|
|
230
|
+
}, ut = ve(ce || (ce = U`
|
|
231
231
|
0% {
|
|
232
232
|
opacity: 1;
|
|
233
233
|
}
|
|
@@ -239,7 +239,7 @@ const pt = (e) => {
|
|
|
239
239
|
100% {
|
|
240
240
|
opacity: 1;
|
|
241
241
|
}
|
|
242
|
-
`)),
|
|
242
|
+
`)), ht = ve(ue || (ue = U`
|
|
243
243
|
0% {
|
|
244
244
|
transform: translateX(-100%);
|
|
245
245
|
}
|
|
@@ -252,7 +252,7 @@ const pt = (e) => {
|
|
|
252
252
|
100% {
|
|
253
253
|
transform: translateX(100%);
|
|
254
254
|
}
|
|
255
|
-
`)),
|
|
255
|
+
`)), pt = G("span", {
|
|
256
256
|
name: "MuiSkeleton",
|
|
257
257
|
slot: "Root",
|
|
258
258
|
overridesResolver: (e, t) => {
|
|
@@ -265,11 +265,11 @@ const pt = (e) => {
|
|
|
265
265
|
theme: e,
|
|
266
266
|
ownerState: t
|
|
267
267
|
}) => {
|
|
268
|
-
const n =
|
|
269
|
-
return
|
|
268
|
+
const n = qe(e.shape.borderRadius) || "px", o = Qe(e.shape.borderRadius);
|
|
269
|
+
return C({
|
|
270
270
|
display: "block",
|
|
271
271
|
// Create a "on paper" color with sufficient contrast retaining the color
|
|
272
|
-
backgroundColor: e.vars ? e.vars.palette.Skeleton.bg :
|
|
272
|
+
backgroundColor: e.vars ? e.vars.palette.Skeleton.bg : Ke(e.palette.text.primary, e.palette.mode === "light" ? 0.11 : 0.13),
|
|
273
273
|
height: "1.2em"
|
|
274
274
|
}, t.variant === "text" && {
|
|
275
275
|
marginTop: 0,
|
|
@@ -294,12 +294,12 @@ const pt = (e) => {
|
|
|
294
294
|
});
|
|
295
295
|
}, ({
|
|
296
296
|
ownerState: e
|
|
297
|
-
}) => e.animation === "pulse" &&
|
|
297
|
+
}) => e.animation === "pulse" && de(he || (he = U`
|
|
298
298
|
animation: ${0} 1.5s ease-in-out 0.5s infinite;
|
|
299
|
-
`),
|
|
299
|
+
`), ut), ({
|
|
300
300
|
ownerState: e,
|
|
301
301
|
theme: t
|
|
302
|
-
}) => e.animation === "wave" &&
|
|
302
|
+
}) => e.animation === "wave" && de(pe || (pe = U`
|
|
303
303
|
position: relative;
|
|
304
304
|
overflow: hidden;
|
|
305
305
|
|
|
@@ -322,37 +322,37 @@ const pt = (e) => {
|
|
|
322
322
|
right: 0;
|
|
323
323
|
top: 0;
|
|
324
324
|
}
|
|
325
|
-
`),
|
|
326
|
-
const o =
|
|
325
|
+
`), ht, (t.vars || t).palette.action.hover)), R = /* @__PURE__ */ z.forwardRef(function(t, n) {
|
|
326
|
+
const o = X({
|
|
327
327
|
props: t,
|
|
328
328
|
name: "MuiSkeleton"
|
|
329
329
|
}), {
|
|
330
330
|
animation: i = "pulse",
|
|
331
|
-
className:
|
|
332
|
-
component:
|
|
333
|
-
height:
|
|
334
|
-
style:
|
|
335
|
-
variant:
|
|
336
|
-
width:
|
|
337
|
-
} = o, p =
|
|
331
|
+
className: d,
|
|
332
|
+
component: c = "span",
|
|
333
|
+
height: h,
|
|
334
|
+
style: l,
|
|
335
|
+
variant: a = "text",
|
|
336
|
+
width: u
|
|
337
|
+
} = o, p = q(o, dt), f = C({}, o, {
|
|
338
338
|
animation: i,
|
|
339
|
-
component:
|
|
340
|
-
variant:
|
|
339
|
+
component: c,
|
|
340
|
+
variant: a,
|
|
341
341
|
hasChildren: !!p.children
|
|
342
|
-
}), x =
|
|
343
|
-
return /* @__PURE__ */
|
|
344
|
-
as:
|
|
342
|
+
}), x = ct(f);
|
|
343
|
+
return /* @__PURE__ */ s(pt, C({
|
|
344
|
+
as: c,
|
|
345
345
|
ref: n,
|
|
346
|
-
className:
|
|
346
|
+
className: Q(x.root, d),
|
|
347
347
|
ownerState: f
|
|
348
348
|
}, p, {
|
|
349
|
-
style:
|
|
350
|
-
width:
|
|
351
|
-
height:
|
|
352
|
-
},
|
|
349
|
+
style: C({
|
|
350
|
+
width: u,
|
|
351
|
+
height: h
|
|
352
|
+
}, l)
|
|
353
353
|
}));
|
|
354
354
|
});
|
|
355
|
-
process.env.NODE_ENV !== "production" && (
|
|
355
|
+
process.env.NODE_ENV !== "production" && (R.propTypes = {
|
|
356
356
|
// ----------------------------- Warning --------------------------------
|
|
357
357
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
358
358
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -404,19 +404,19 @@ process.env.NODE_ENV !== "production" && (E.propTypes = {
|
|
|
404
404
|
*/
|
|
405
405
|
width: r.oneOfType([r.number, r.string])
|
|
406
406
|
});
|
|
407
|
-
const
|
|
408
|
-
var J = { exports: {} }, ee = { exports: {} }, P = 1e3,
|
|
407
|
+
const ft = "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", wt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD6SURBVHgB7ZM9CsIwGIa/GI8gWkV0dyhdXHTxCN5APIl6E0dXN0fdxEmldFYqkrZnaD6ToRj736pbXwh88CbPEwIBqFLlr9H10UKusr0MTTuMiEsxThqN9tbznkztDWNkcI4b2WtaDxzHPuQWKHDwfZxb1mkX3sOYzVqt7h2ATNMkNBt+XENCXPdxzpLQsvC8EvoNPI+kFmzinJNgrtcpQsEQ8j6jsqhyi32z2SUiEwCcalr/Jm5xyQPX9fEMka/lLF5hZZrHZURQVpIGjwiKSrLgsYI4SafT3jL2+dEGg6Eh+l0aPFGgSsR4uF5Pm3Avf3bQJ8GrVPlNXpHyzr4dW2vdAAAAAElFTkSuQmCC", gt = "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", mt = "data:image/svg+xml,%3csvg%20width='15'%20height='14'%20viewBox='0%200%2015%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.26%2014H0V4.455h3.26V14zM1.632%203.182C.73%203.182%200%202.468%200%201.59%200%20.712.73%200%201.631%200c.899%200%201.63.713%201.63%201.59%200%20.878-.731%201.592-1.63%201.592zM15%2014h-3.135V9.355c0-1.108-.021-2.533-1.63-2.533-1.632%200-1.883%201.206-1.883%202.452V14H5.217V4.448h3.01v1.305h.042c.419-.751%201.442-1.543%202.968-1.543C14.413%204.21%2015%206.19%2015%208.76V14z'%20fill='%232D2D39'/%3e%3c/svg%3e";
|
|
408
|
+
var J = { exports: {} }, ee = { exports: {} }, P = 1e3, B = P * 60, D = B * 60, M = D * 24, bt = M * 365.25, vt = function(e, t) {
|
|
409
409
|
t = t || {};
|
|
410
410
|
var n = typeof e;
|
|
411
411
|
if (n === "string" && e.length > 0)
|
|
412
|
-
return
|
|
412
|
+
return xt(e);
|
|
413
413
|
if (n === "number" && isNaN(e) === !1)
|
|
414
|
-
return t.long ?
|
|
414
|
+
return t.long ? kt(e) : yt(e);
|
|
415
415
|
throw new Error(
|
|
416
416
|
"val is not a non-empty string or a valid number. val=" + JSON.stringify(e)
|
|
417
417
|
);
|
|
418
418
|
};
|
|
419
|
-
function
|
|
419
|
+
function xt(e) {
|
|
420
420
|
if (e = String(e), !(e.length > 100)) {
|
|
421
421
|
var t = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
|
|
422
422
|
e
|
|
@@ -429,23 +429,23 @@ function Ct(e) {
|
|
|
429
429
|
case "yrs":
|
|
430
430
|
case "yr":
|
|
431
431
|
case "y":
|
|
432
|
-
return n *
|
|
432
|
+
return n * bt;
|
|
433
433
|
case "days":
|
|
434
434
|
case "day":
|
|
435
435
|
case "d":
|
|
436
|
-
return n *
|
|
436
|
+
return n * M;
|
|
437
437
|
case "hours":
|
|
438
438
|
case "hour":
|
|
439
439
|
case "hrs":
|
|
440
440
|
case "hr":
|
|
441
441
|
case "h":
|
|
442
|
-
return n *
|
|
442
|
+
return n * D;
|
|
443
443
|
case "minutes":
|
|
444
444
|
case "minute":
|
|
445
445
|
case "mins":
|
|
446
446
|
case "min":
|
|
447
447
|
case "m":
|
|
448
|
-
return n *
|
|
448
|
+
return n * B;
|
|
449
449
|
case "seconds":
|
|
450
450
|
case "second":
|
|
451
451
|
case "secs":
|
|
@@ -464,76 +464,76 @@ function Ct(e) {
|
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
|
-
function
|
|
468
|
-
return e >=
|
|
467
|
+
function yt(e) {
|
|
468
|
+
return e >= M ? Math.round(e / M) + "d" : e >= D ? Math.round(e / D) + "h" : e >= B ? Math.round(e / B) + "m" : e >= P ? Math.round(e / P) + "s" : e + "ms";
|
|
469
469
|
}
|
|
470
|
-
function
|
|
471
|
-
return
|
|
470
|
+
function kt(e) {
|
|
471
|
+
return H(e, M, "day") || H(e, D, "hour") || H(e, B, "minute") || H(e, P, "second") || e + " ms";
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function H(e, t, n) {
|
|
474
474
|
if (!(e < t))
|
|
475
475
|
return e < t * 1.5 ? Math.floor(e / t) + " " + n : Math.ceil(e / t) + " " + n + "s";
|
|
476
476
|
}
|
|
477
477
|
(function(e, t) {
|
|
478
|
-
t = e.exports = i.debug = i.default = i, t.coerce =
|
|
478
|
+
t = e.exports = i.debug = i.default = i, t.coerce = l, t.disable = c, t.enable = d, t.enabled = h, t.humanize = vt, t.names = [], t.skips = [], t.formatters = {};
|
|
479
479
|
var n;
|
|
480
|
-
function o(
|
|
481
|
-
var
|
|
482
|
-
for (p in
|
|
483
|
-
|
|
484
|
-
return t.colors[Math.abs(
|
|
480
|
+
function o(a) {
|
|
481
|
+
var u = 0, p;
|
|
482
|
+
for (p in a)
|
|
483
|
+
u = (u << 5) - u + a.charCodeAt(p), u |= 0;
|
|
484
|
+
return t.colors[Math.abs(u) % t.colors.length];
|
|
485
485
|
}
|
|
486
|
-
function i(
|
|
487
|
-
function
|
|
488
|
-
if (
|
|
489
|
-
var p =
|
|
486
|
+
function i(a) {
|
|
487
|
+
function u() {
|
|
488
|
+
if (u.enabled) {
|
|
489
|
+
var p = u, f = +/* @__PURE__ */ new Date(), x = f - (n || f);
|
|
490
490
|
p.diff = x, p.prev = n, p.curr = f, n = f;
|
|
491
|
-
for (var v = new Array(arguments.length),
|
|
492
|
-
v[
|
|
491
|
+
for (var v = new Array(arguments.length), _ = 0; _ < v.length; _++)
|
|
492
|
+
v[_] = arguments[_];
|
|
493
493
|
v[0] = t.coerce(v[0]), typeof v[0] != "string" && v.unshift("%O");
|
|
494
|
-
var
|
|
495
|
-
v[0] = v[0].replace(/%([a-zA-Z%])/g, function(
|
|
496
|
-
if (
|
|
497
|
-
return
|
|
498
|
-
|
|
499
|
-
var
|
|
500
|
-
if (typeof
|
|
501
|
-
var I = v[
|
|
502
|
-
|
|
494
|
+
var S = 0;
|
|
495
|
+
v[0] = v[0].replace(/%([a-zA-Z%])/g, function(A, Z) {
|
|
496
|
+
if (A === "%%")
|
|
497
|
+
return A;
|
|
498
|
+
S++;
|
|
499
|
+
var O = t.formatters[Z];
|
|
500
|
+
if (typeof O == "function") {
|
|
501
|
+
var I = v[S];
|
|
502
|
+
A = O.call(p, I), v.splice(S, 1), S--;
|
|
503
503
|
}
|
|
504
|
-
return
|
|
504
|
+
return A;
|
|
505
505
|
}), t.formatArgs.call(p, v);
|
|
506
|
-
var
|
|
507
|
-
|
|
506
|
+
var L = u.log || t.log || console.log.bind(console);
|
|
507
|
+
L.apply(p, v);
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
return
|
|
510
|
+
return u.namespace = a, u.enabled = t.enabled(a), u.useColors = t.useColors(), u.color = o(a), typeof t.init == "function" && t.init(u), u;
|
|
511
511
|
}
|
|
512
|
-
function a
|
|
513
|
-
t.save(
|
|
514
|
-
for (var
|
|
515
|
-
|
|
512
|
+
function d(a) {
|
|
513
|
+
t.save(a), t.names = [], t.skips = [];
|
|
514
|
+
for (var u = (typeof a == "string" ? a : "").split(/[\s,]+/), p = u.length, f = 0; f < p; f++)
|
|
515
|
+
u[f] && (a = u[f].replace(/\*/g, ".*?"), a[0] === "-" ? t.skips.push(new RegExp("^" + a.substr(1) + "$")) : t.names.push(new RegExp("^" + a + "$")));
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function c() {
|
|
518
518
|
t.enable("");
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
var
|
|
522
|
-
for (
|
|
523
|
-
if (t.skips[
|
|
520
|
+
function h(a) {
|
|
521
|
+
var u, p;
|
|
522
|
+
for (u = 0, p = t.skips.length; u < p; u++)
|
|
523
|
+
if (t.skips[u].test(a))
|
|
524
524
|
return !1;
|
|
525
|
-
for (
|
|
526
|
-
if (t.names[
|
|
525
|
+
for (u = 0, p = t.names.length; u < p; u++)
|
|
526
|
+
if (t.names[u].test(a))
|
|
527
527
|
return !0;
|
|
528
528
|
return !1;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
return
|
|
530
|
+
function l(a) {
|
|
531
|
+
return a instanceof Error ? a.stack || a.message : a;
|
|
532
532
|
}
|
|
533
533
|
})(ee, ee.exports);
|
|
534
|
-
var
|
|
534
|
+
var Ct = ee.exports;
|
|
535
535
|
(function(e, t) {
|
|
536
|
-
t = e.exports =
|
|
536
|
+
t = e.exports = Ct, t.log = i, t.formatArgs = o, t.save = d, t.load = c, t.useColors = n, t.storage = typeof chrome < "u" && typeof chrome.storage < "u" ? chrome.storage.local : h(), t.colors = [
|
|
537
537
|
"lightseagreen",
|
|
538
538
|
"forestgreen",
|
|
539
539
|
"goldenrod",
|
|
@@ -548,101 +548,101 @@ var _t = ee.exports;
|
|
|
548
548
|
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // double check webkit in userAgent just in case we are in a worker
|
|
549
549
|
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
550
550
|
}
|
|
551
|
-
t.formatters.j = function(
|
|
551
|
+
t.formatters.j = function(l) {
|
|
552
552
|
try {
|
|
553
|
-
return JSON.stringify(
|
|
554
|
-
} catch (
|
|
555
|
-
return "[UnexpectedJSONParseError]: " +
|
|
553
|
+
return JSON.stringify(l);
|
|
554
|
+
} catch (a) {
|
|
555
|
+
return "[UnexpectedJSONParseError]: " + a.message;
|
|
556
556
|
}
|
|
557
557
|
};
|
|
558
|
-
function o(
|
|
559
|
-
var
|
|
560
|
-
if (
|
|
561
|
-
var
|
|
562
|
-
|
|
558
|
+
function o(l) {
|
|
559
|
+
var a = this.useColors;
|
|
560
|
+
if (l[0] = (a ? "%c" : "") + this.namespace + (a ? " %c" : " ") + l[0] + (a ? "%c " : " ") + "+" + t.humanize(this.diff), !!a) {
|
|
561
|
+
var u = "color: " + this.color;
|
|
562
|
+
l.splice(1, 0, u, "color: inherit");
|
|
563
563
|
var p = 0, f = 0;
|
|
564
|
-
|
|
564
|
+
l[0].replace(/%[a-zA-Z%]/g, function(x) {
|
|
565
565
|
x !== "%%" && (p++, x === "%c" && (f = p));
|
|
566
|
-
}),
|
|
566
|
+
}), l.splice(f, 0, u);
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
function i() {
|
|
570
570
|
return typeof console == "object" && console.log && Function.prototype.apply.call(console.log, console, arguments);
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function d(l) {
|
|
573
573
|
try {
|
|
574
|
-
|
|
574
|
+
l == null ? t.storage.removeItem("debug") : t.storage.debug = l;
|
|
575
575
|
} catch {
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
function
|
|
579
|
-
var
|
|
578
|
+
function c() {
|
|
579
|
+
var l;
|
|
580
580
|
try {
|
|
581
|
-
|
|
581
|
+
l = t.storage.debug;
|
|
582
582
|
} catch {
|
|
583
583
|
}
|
|
584
|
-
return !
|
|
584
|
+
return !l && typeof process < "u" && "env" in process && (l = process.env.DEBUG), l;
|
|
585
585
|
}
|
|
586
|
-
t.enable(
|
|
587
|
-
function
|
|
586
|
+
t.enable(c());
|
|
587
|
+
function h() {
|
|
588
588
|
try {
|
|
589
589
|
return window.localStorage;
|
|
590
590
|
} catch {
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
})(J, J.exports);
|
|
594
|
-
var
|
|
594
|
+
var St = J.exports, fe = St("jsonp"), At = Nt, _t = 0;
|
|
595
595
|
function Lt() {
|
|
596
596
|
}
|
|
597
|
-
function
|
|
597
|
+
function Nt(e, t, n) {
|
|
598
598
|
typeof t == "function" && (n = t, t = {}), t || (t = {});
|
|
599
|
-
var o = t.prefix || "__jp", i = t.name || o +
|
|
600
|
-
|
|
599
|
+
var o = t.prefix || "__jp", i = t.name || o + _t++, d = t.param || "callback", c = t.timeout != null ? t.timeout : 6e4, h = encodeURIComponent, l = document.getElementsByTagName("script")[0] || document.head, a, u;
|
|
600
|
+
c && (u = setTimeout(function() {
|
|
601
601
|
p(), n && n(new Error("Timeout"));
|
|
602
|
-
},
|
|
602
|
+
}, c));
|
|
603
603
|
function p() {
|
|
604
|
-
|
|
604
|
+
a.parentNode && a.parentNode.removeChild(a), window[i] = Lt, u && clearTimeout(u);
|
|
605
605
|
}
|
|
606
606
|
function f() {
|
|
607
607
|
window[i] && p();
|
|
608
608
|
}
|
|
609
609
|
return window[i] = function(x) {
|
|
610
|
-
|
|
611
|
-
}, e += (~e.indexOf("?") ? "&" : "?") +
|
|
610
|
+
fe("jsonp got", x), p(), n && n(null, x);
|
|
611
|
+
}, e += (~e.indexOf("?") ? "&" : "?") + d + "=" + h(i), e = e.replace("?&", "?"), fe('jsonp req "%s"', e), a = document.createElement("script"), a.src = e, l.parentNode.insertBefore(a, l), f;
|
|
612
612
|
}
|
|
613
|
-
const
|
|
614
|
-
var
|
|
613
|
+
const T = /* @__PURE__ */ Ge(At);
|
|
614
|
+
var Tt = Object.defineProperty, jt = Object.defineProperties, Ot = Object.getOwnPropertyDescriptors, V = Object.getOwnPropertySymbols, ke = Object.prototype.hasOwnProperty, Ce = Object.prototype.propertyIsEnumerable, we = (e, t, n) => t in e ? Tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, y = (e, t) => {
|
|
615
615
|
for (var n in t || (t = {}))
|
|
616
|
-
|
|
617
|
-
if (
|
|
618
|
-
for (var n of
|
|
619
|
-
|
|
616
|
+
ke.call(t, n) && we(e, n, t[n]);
|
|
617
|
+
if (V)
|
|
618
|
+
for (var n of V(t))
|
|
619
|
+
Ce.call(t, n) && we(e, n, t[n]);
|
|
620
620
|
return e;
|
|
621
|
-
}, ne = (e, t) =>
|
|
621
|
+
}, ne = (e, t) => jt(e, Ot(t)), oe = (e, t) => {
|
|
622
622
|
var n = {};
|
|
623
623
|
for (var o in e)
|
|
624
|
-
|
|
625
|
-
if (e != null &&
|
|
626
|
-
for (var o of
|
|
627
|
-
t.indexOf(o) < 0 &&
|
|
624
|
+
ke.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
|
|
625
|
+
if (e != null && V)
|
|
626
|
+
for (var o of V(e))
|
|
627
|
+
t.indexOf(o) < 0 && Ce.call(e, o) && (n[o] = e[o]);
|
|
628
628
|
return n;
|
|
629
629
|
};
|
|
630
630
|
function w(e) {
|
|
631
631
|
const t = Object.entries(e).filter(([, n]) => n != null).map(([n, o]) => `${encodeURIComponent(n)}=${encodeURIComponent(String(o))}`);
|
|
632
632
|
return t.length > 0 ? `?${t.join("&")}` : "";
|
|
633
633
|
}
|
|
634
|
-
const
|
|
634
|
+
const Et = (e) => !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function", Rt = (e, t) => ({
|
|
635
635
|
left: window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - e / 2,
|
|
636
636
|
top: window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - t / 2
|
|
637
|
-
}),
|
|
637
|
+
}), Pt = (e, t) => ({
|
|
638
638
|
top: (window.screen.height - t) / 2,
|
|
639
639
|
left: (window.screen.width - e) / 2
|
|
640
640
|
});
|
|
641
|
-
function
|
|
642
|
-
var o = t, { height: i, width:
|
|
643
|
-
const
|
|
641
|
+
function Bt(e, t, n) {
|
|
642
|
+
var o = t, { height: i, width: d } = o, c = oe(o, ["height", "width"]);
|
|
643
|
+
const h = y({
|
|
644
644
|
height: i,
|
|
645
|
-
width:
|
|
645
|
+
width: d,
|
|
646
646
|
location: "no",
|
|
647
647
|
toolbar: "no",
|
|
648
648
|
status: "no",
|
|
@@ -652,43 +652,43 @@ function Wt(e, t, n) {
|
|
|
652
652
|
resizable: "no",
|
|
653
653
|
centerscreen: "yes",
|
|
654
654
|
chrome: "yes"
|
|
655
|
-
},
|
|
655
|
+
}, c), l = window.open(
|
|
656
656
|
e,
|
|
657
657
|
"",
|
|
658
|
-
Object.keys(
|
|
658
|
+
Object.keys(h).map((a) => `${a}=${h[a]}`).join(", ")
|
|
659
659
|
);
|
|
660
660
|
if (n) {
|
|
661
|
-
const
|
|
661
|
+
const a = window.setInterval(() => {
|
|
662
662
|
try {
|
|
663
|
-
(
|
|
664
|
-
} catch (
|
|
665
|
-
console.error(
|
|
663
|
+
(l === null || l.closed) && (window.clearInterval(a), n(l));
|
|
664
|
+
} catch (u) {
|
|
665
|
+
console.error(u);
|
|
666
666
|
}
|
|
667
667
|
}, 1e3);
|
|
668
668
|
}
|
|
669
|
-
return
|
|
669
|
+
return l;
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function Dt(e) {
|
|
672
672
|
var t = e, {
|
|
673
673
|
beforeOnClick: n,
|
|
674
674
|
children: o,
|
|
675
675
|
className: i,
|
|
676
|
-
disabled:
|
|
677
|
-
disabledStyle:
|
|
678
|
-
forwardedRef:
|
|
679
|
-
htmlTitle:
|
|
680
|
-
networkLink:
|
|
681
|
-
networkName:
|
|
676
|
+
disabled: d,
|
|
677
|
+
disabledStyle: c = { opacity: 0.6 },
|
|
678
|
+
forwardedRef: h,
|
|
679
|
+
htmlTitle: l,
|
|
680
|
+
networkLink: a,
|
|
681
|
+
networkName: u,
|
|
682
682
|
onClick: p,
|
|
683
683
|
onShareWindowClose: f,
|
|
684
684
|
openShareDialogOnClick: x = !0,
|
|
685
685
|
opts: v,
|
|
686
|
-
resetButtonStyle:
|
|
687
|
-
style:
|
|
688
|
-
url:
|
|
689
|
-
windowHeight:
|
|
690
|
-
windowPosition:
|
|
691
|
-
windowWidth:
|
|
686
|
+
resetButtonStyle: _ = !0,
|
|
687
|
+
style: S,
|
|
688
|
+
url: L,
|
|
689
|
+
windowHeight: A = 400,
|
|
690
|
+
windowPosition: Z = "windowCenter",
|
|
691
|
+
windowWidth: O = 550
|
|
692
692
|
} = t, I = oe(t, [
|
|
693
693
|
"beforeOnClick",
|
|
694
694
|
"children",
|
|
@@ -710,72 +710,72 @@ function Ht(e) {
|
|
|
710
710
|
"windowPosition",
|
|
711
711
|
"windowWidth"
|
|
712
712
|
]);
|
|
713
|
-
const
|
|
714
|
-
const ae =
|
|
715
|
-
if (!
|
|
713
|
+
const Ae = async (re) => {
|
|
714
|
+
const ae = a(L, v);
|
|
715
|
+
if (!d) {
|
|
716
716
|
if (re.preventDefault(), n) {
|
|
717
|
-
const
|
|
718
|
-
|
|
717
|
+
const W = n();
|
|
718
|
+
Et(W) && await W;
|
|
719
719
|
}
|
|
720
720
|
if (x) {
|
|
721
|
-
const
|
|
722
|
-
height:
|
|
723
|
-
width:
|
|
724
|
-
},
|
|
725
|
-
|
|
721
|
+
const W = y({
|
|
722
|
+
height: A,
|
|
723
|
+
width: O
|
|
724
|
+
}, Z === "windowCenter" ? Rt(O, A) : Pt(O, A));
|
|
725
|
+
Bt(ae, W, f);
|
|
726
726
|
}
|
|
727
727
|
p && p(re, ae);
|
|
728
728
|
}
|
|
729
|
-
},
|
|
729
|
+
}, _e = be(
|
|
730
730
|
"react-share__ShareButton",
|
|
731
731
|
{
|
|
732
|
-
"react-share__ShareButton--disabled": !!
|
|
733
|
-
disabled: !!
|
|
732
|
+
"react-share__ShareButton--disabled": !!d,
|
|
733
|
+
disabled: !!d
|
|
734
734
|
},
|
|
735
735
|
i
|
|
736
|
-
),
|
|
736
|
+
), Le = y(y(_ ? {
|
|
737
737
|
backgroundColor: "transparent",
|
|
738
738
|
border: "none",
|
|
739
739
|
padding: 0,
|
|
740
740
|
font: "inherit",
|
|
741
741
|
color: "inherit",
|
|
742
742
|
cursor: "pointer"
|
|
743
|
-
} : {},
|
|
744
|
-
return /* @__PURE__ */
|
|
743
|
+
} : {}, S), d && c);
|
|
744
|
+
return /* @__PURE__ */ s(
|
|
745
745
|
"button",
|
|
746
|
-
ne(
|
|
747
|
-
className:
|
|
748
|
-
onClick:
|
|
749
|
-
ref:
|
|
750
|
-
style:
|
|
751
|
-
title:
|
|
746
|
+
ne(y({}, I), {
|
|
747
|
+
className: _e,
|
|
748
|
+
onClick: Ae,
|
|
749
|
+
ref: h,
|
|
750
|
+
style: Le,
|
|
751
|
+
title: l,
|
|
752
752
|
children: o
|
|
753
753
|
})
|
|
754
754
|
);
|
|
755
755
|
}
|
|
756
756
|
function m(e, t, n, o) {
|
|
757
|
-
function i(
|
|
758
|
-
const
|
|
759
|
-
return Object.keys(
|
|
760
|
-
delete
|
|
761
|
-
}), /* @__PURE__ */
|
|
762
|
-
|
|
763
|
-
ne(
|
|
764
|
-
forwardedRef:
|
|
757
|
+
function i(d, c) {
|
|
758
|
+
const h = n(d), l = y({}, d);
|
|
759
|
+
return Object.keys(h).forEach((u) => {
|
|
760
|
+
delete l[u];
|
|
761
|
+
}), /* @__PURE__ */ s(
|
|
762
|
+
Dt,
|
|
763
|
+
ne(y(y({}, o), l), {
|
|
764
|
+
forwardedRef: c,
|
|
765
765
|
networkName: e,
|
|
766
766
|
networkLink: t,
|
|
767
|
-
opts: n(
|
|
767
|
+
opts: n(d)
|
|
768
768
|
})
|
|
769
769
|
);
|
|
770
770
|
}
|
|
771
|
-
return i.displayName = `ShareButton-${e}`,
|
|
771
|
+
return i.displayName = `ShareButton-${e}`, Oe(i);
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function Mt(e, { subject: t, body: n, separator: o }) {
|
|
774
774
|
return "mailto:" + w({ subject: t, body: n ? n + o + e : e });
|
|
775
775
|
}
|
|
776
776
|
m(
|
|
777
777
|
"email",
|
|
778
|
-
|
|
778
|
+
Mt,
|
|
779
779
|
(e) => ({
|
|
780
780
|
subject: e.subject,
|
|
781
781
|
body: e.body,
|
|
@@ -788,7 +788,7 @@ m(
|
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
790
|
);
|
|
791
|
-
function
|
|
791
|
+
function Wt(e, { appId: t, redirectUri: n, to: o }) {
|
|
792
792
|
return "https://www.facebook.com/dialog/send" + w({
|
|
793
793
|
link: e,
|
|
794
794
|
redirect_uri: n || e,
|
|
@@ -798,7 +798,7 @@ function Ut(e, { appId: t, redirectUri: n, to: o }) {
|
|
|
798
798
|
}
|
|
799
799
|
m(
|
|
800
800
|
"facebookmessenger",
|
|
801
|
-
|
|
801
|
+
Wt,
|
|
802
802
|
(e) => ({
|
|
803
803
|
appId: e.appId,
|
|
804
804
|
redirectUri: e.redirectUri,
|
|
@@ -809,71 +809,71 @@ m(
|
|
|
809
809
|
windowHeight: 820
|
|
810
810
|
}
|
|
811
811
|
);
|
|
812
|
-
class
|
|
812
|
+
class Ht extends Error {
|
|
813
813
|
constructor(t) {
|
|
814
814
|
super(t), this.name = "AssertionError";
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
817
|
function g(e, t) {
|
|
818
818
|
if (!e)
|
|
819
|
-
throw new
|
|
819
|
+
throw new Ht(t);
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function $t(e, { hashtag: t }) {
|
|
822
822
|
return g(e, "facebook.url"), "https://www.facebook.com/sharer/sharer.php" + w({ u: e, hashtag: t });
|
|
823
823
|
}
|
|
824
|
-
const
|
|
824
|
+
const Ut = m(
|
|
825
825
|
"facebook",
|
|
826
|
-
|
|
826
|
+
$t,
|
|
827
827
|
(e) => ({ hashtag: e.hashtag }),
|
|
828
828
|
{
|
|
829
829
|
windowWidth: 550,
|
|
830
830
|
windowHeight: 400
|
|
831
831
|
}
|
|
832
|
-
),
|
|
833
|
-
function
|
|
834
|
-
const e =
|
|
835
|
-
return
|
|
832
|
+
), Vt = Ut;
|
|
833
|
+
function zt() {
|
|
834
|
+
const e = Ee(!1);
|
|
835
|
+
return me(() => (e.current = !0, () => {
|
|
836
836
|
e.current = !1;
|
|
837
|
-
}), []),
|
|
837
|
+
}), []), Re(() => e.current, []);
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Ft(e) {
|
|
840
840
|
var t = e, {
|
|
841
841
|
children: n = (f) => f,
|
|
842
842
|
className: o,
|
|
843
843
|
getCount: i,
|
|
844
|
-
url:
|
|
845
|
-
} = t,
|
|
844
|
+
url: d
|
|
845
|
+
} = t, c = oe(t, [
|
|
846
846
|
"children",
|
|
847
847
|
"className",
|
|
848
848
|
"getCount",
|
|
849
849
|
"url"
|
|
850
850
|
]);
|
|
851
|
-
const
|
|
852
|
-
return
|
|
853
|
-
p(!0), i(
|
|
854
|
-
|
|
851
|
+
const h = zt(), [l, a] = $(void 0), [u, p] = $(!1);
|
|
852
|
+
return me(() => {
|
|
853
|
+
p(!0), i(d, (f) => {
|
|
854
|
+
h() && (a(f), p(!1));
|
|
855
855
|
});
|
|
856
|
-
}, [
|
|
856
|
+
}, [d]), /* @__PURE__ */ s("span", ne(y({ className: be("react-share__ShareCount", o) }, c), { children: !u && l !== void 0 && n(l) }));
|
|
857
857
|
}
|
|
858
858
|
function j(e) {
|
|
859
|
-
const t = (n) => /* @__PURE__ */
|
|
859
|
+
const t = (n) => /* @__PURE__ */ s(Ft, y({ getCount: e }, n));
|
|
860
860
|
return t.displayName = `ShareCount(${e.name})`, t;
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function Kt(e, t) {
|
|
863
863
|
const n = `https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;
|
|
864
|
-
|
|
864
|
+
T(n, (o, i) => {
|
|
865
865
|
t(
|
|
866
866
|
!o && i && i.og_object && i.og_object.engagement ? i.og_object.engagement.count : void 0
|
|
867
867
|
);
|
|
868
868
|
});
|
|
869
869
|
}
|
|
870
|
-
j(
|
|
871
|
-
function
|
|
870
|
+
j(Kt);
|
|
871
|
+
function Gt(e, { title: t }) {
|
|
872
872
|
return g(e, "hatena.url"), `http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${t}`;
|
|
873
873
|
}
|
|
874
874
|
m(
|
|
875
875
|
"hatena",
|
|
876
|
-
|
|
876
|
+
Gt,
|
|
877
877
|
(e) => ({
|
|
878
878
|
title: e.title
|
|
879
879
|
}),
|
|
@@ -883,8 +883,8 @@ m(
|
|
|
883
883
|
windowPosition: "windowCenter"
|
|
884
884
|
}
|
|
885
885
|
);
|
|
886
|
-
function
|
|
887
|
-
|
|
886
|
+
function Xt(e, t) {
|
|
887
|
+
T(
|
|
888
888
|
"https://bookmark.hatenaapis.com/count/entry" + w({
|
|
889
889
|
url: e
|
|
890
890
|
}),
|
|
@@ -893,8 +893,8 @@ function Yt(e, t) {
|
|
|
893
893
|
}
|
|
894
894
|
);
|
|
895
895
|
}
|
|
896
|
-
j(
|
|
897
|
-
function
|
|
896
|
+
j(Xt);
|
|
897
|
+
function qt(e, { title: t, description: n }) {
|
|
898
898
|
return g(e, "instapaper.url"), "http://www.instapaper.com/hello2" + w({
|
|
899
899
|
url: e,
|
|
900
900
|
title: t,
|
|
@@ -903,7 +903,7 @@ function Zt(e, { title: t, description: n }) {
|
|
|
903
903
|
}
|
|
904
904
|
m(
|
|
905
905
|
"instapaper",
|
|
906
|
-
|
|
906
|
+
qt,
|
|
907
907
|
(e) => ({
|
|
908
908
|
title: e.title,
|
|
909
909
|
description: e.description
|
|
@@ -914,7 +914,7 @@ m(
|
|
|
914
914
|
windowPosition: "windowCenter"
|
|
915
915
|
}
|
|
916
916
|
);
|
|
917
|
-
function
|
|
917
|
+
function Qt(e, { title: t }) {
|
|
918
918
|
return g(e, "line.url"), "https://social-plugins.line.me/lineit/share" + w({
|
|
919
919
|
url: e,
|
|
920
920
|
text: t
|
|
@@ -922,7 +922,7 @@ function It(e, { title: t }) {
|
|
|
922
922
|
}
|
|
923
923
|
m(
|
|
924
924
|
"line",
|
|
925
|
-
|
|
925
|
+
Qt,
|
|
926
926
|
(e) => ({
|
|
927
927
|
title: e.title
|
|
928
928
|
}),
|
|
@@ -931,19 +931,19 @@ m(
|
|
|
931
931
|
windowHeight: 500
|
|
932
932
|
}
|
|
933
933
|
);
|
|
934
|
-
function
|
|
934
|
+
function Yt(e, { title: t, summary: n, source: o }) {
|
|
935
935
|
return g(e, "linkedin.url"), "https://linkedin.com/shareArticle" + w({ url: e, mini: "true", title: t, summary: n, source: o });
|
|
936
936
|
}
|
|
937
|
-
const
|
|
937
|
+
const Zt = m(
|
|
938
938
|
"linkedin",
|
|
939
|
-
|
|
939
|
+
Yt,
|
|
940
940
|
({ title: e, summary: t, source: n }) => ({ title: e, summary: t, source: n }),
|
|
941
941
|
{
|
|
942
942
|
windowWidth: 750,
|
|
943
943
|
windowHeight: 600
|
|
944
944
|
}
|
|
945
|
-
),
|
|
946
|
-
function
|
|
945
|
+
), It = Zt;
|
|
946
|
+
function Jt(e, { title: t, description: n }) {
|
|
947
947
|
return g(e, "livejournal.url"), "https://www.livejournal.com/update.bml" + w({
|
|
948
948
|
subject: t,
|
|
949
949
|
event: n
|
|
@@ -951,7 +951,7 @@ function nn(e, { title: t, description: n }) {
|
|
|
951
951
|
}
|
|
952
952
|
m(
|
|
953
953
|
"livejournal",
|
|
954
|
-
|
|
954
|
+
Jt,
|
|
955
955
|
(e) => ({
|
|
956
956
|
title: e.title,
|
|
957
957
|
description: e.description
|
|
@@ -961,7 +961,7 @@ m(
|
|
|
961
961
|
windowHeight: 460
|
|
962
962
|
}
|
|
963
963
|
);
|
|
964
|
-
function
|
|
964
|
+
function en(e, { title: t, description: n, imageUrl: o }) {
|
|
965
965
|
return g(e, "mailru.url"), "https://connect.mail.ru/share" + w({
|
|
966
966
|
url: e,
|
|
967
967
|
title: t,
|
|
@@ -971,7 +971,7 @@ function on(e, { title: t, description: n, imageUrl: o }) {
|
|
|
971
971
|
}
|
|
972
972
|
m(
|
|
973
973
|
"mailru",
|
|
974
|
-
|
|
974
|
+
en,
|
|
975
975
|
(e) => ({
|
|
976
976
|
title: e.title,
|
|
977
977
|
description: e.description,
|
|
@@ -982,7 +982,7 @@ m(
|
|
|
982
982
|
windowHeight: 460
|
|
983
983
|
}
|
|
984
984
|
);
|
|
985
|
-
function
|
|
985
|
+
function tn(e, { title: t, description: n, image: o }) {
|
|
986
986
|
return g(e, "ok.url"), "https://connect.ok.ru/offer" + w({
|
|
987
987
|
url: e,
|
|
988
988
|
title: t,
|
|
@@ -992,7 +992,7 @@ function rn(e, { title: t, description: n, image: o }) {
|
|
|
992
992
|
}
|
|
993
993
|
m(
|
|
994
994
|
"ok",
|
|
995
|
-
|
|
995
|
+
tn,
|
|
996
996
|
(e) => ({
|
|
997
997
|
title: e.title,
|
|
998
998
|
description: e.description,
|
|
@@ -1004,24 +1004,24 @@ m(
|
|
|
1004
1004
|
windowPosition: "screenCenter"
|
|
1005
1005
|
}
|
|
1006
1006
|
);
|
|
1007
|
-
function
|
|
1007
|
+
function nn(e, t) {
|
|
1008
1008
|
window.OK || (window.OK = {
|
|
1009
1009
|
Share: {
|
|
1010
|
-
count: function(
|
|
1011
|
-
var
|
|
1012
|
-
(
|
|
1010
|
+
count: function(d, c) {
|
|
1011
|
+
var h, l;
|
|
1012
|
+
(l = (h = window.OK.callbacks)[d]) == null || l.call(h, c);
|
|
1013
1013
|
}
|
|
1014
1014
|
},
|
|
1015
1015
|
callbacks: []
|
|
1016
1016
|
});
|
|
1017
1017
|
const n = "https://connect.ok.ru/dk", o = window.OK.callbacks.length;
|
|
1018
1018
|
return window.ODKL = {
|
|
1019
|
-
updateCount(i,
|
|
1020
|
-
var
|
|
1021
|
-
const
|
|
1022
|
-
(
|
|
1019
|
+
updateCount(i, d) {
|
|
1020
|
+
var c, h;
|
|
1021
|
+
const l = i === "" ? 0 : parseInt(i.replace("react-share-", ""), 10);
|
|
1022
|
+
(h = (c = window.OK.callbacks)[l]) == null || h.call(c, d === "" ? void 0 : parseInt(d, 10));
|
|
1023
1023
|
}
|
|
1024
|
-
}, window.OK.callbacks.push(t),
|
|
1024
|
+
}, window.OK.callbacks.push(t), T(
|
|
1025
1025
|
n + w({
|
|
1026
1026
|
"st.cmd": "extLike",
|
|
1027
1027
|
uid: `react-share-${o}`,
|
|
@@ -1029,8 +1029,8 @@ function an(e, t) {
|
|
|
1029
1029
|
})
|
|
1030
1030
|
);
|
|
1031
1031
|
}
|
|
1032
|
-
j(
|
|
1033
|
-
function
|
|
1032
|
+
j(nn);
|
|
1033
|
+
function on(e, { media: t, description: n, pinId: o }) {
|
|
1034
1034
|
return o ? `https://pinterest.com/pin/${o}/repin/x/` : (g(e, "pinterest.url"), g(t, "pinterest.media"), "https://pinterest.com/pin/create/button/" + w({
|
|
1035
1035
|
url: e,
|
|
1036
1036
|
media: t,
|
|
@@ -1039,7 +1039,7 @@ function sn(e, { media: t, description: n, pinId: o }) {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
m(
|
|
1041
1041
|
"pinterest",
|
|
1042
|
-
|
|
1042
|
+
on,
|
|
1043
1043
|
(e) => ({
|
|
1044
1044
|
media: e.media,
|
|
1045
1045
|
description: e.description,
|
|
@@ -1050,8 +1050,8 @@ m(
|
|
|
1050
1050
|
windowHeight: 730
|
|
1051
1051
|
}
|
|
1052
1052
|
);
|
|
1053
|
-
function
|
|
1054
|
-
|
|
1053
|
+
function rn(e, t) {
|
|
1054
|
+
T(
|
|
1055
1055
|
"https://api.pinterest.com/v1/urls/count.json" + w({
|
|
1056
1056
|
url: e
|
|
1057
1057
|
}),
|
|
@@ -1060,8 +1060,8 @@ function ln(e, t) {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
);
|
|
1062
1062
|
}
|
|
1063
|
-
j(
|
|
1064
|
-
function
|
|
1063
|
+
j(rn);
|
|
1064
|
+
function an(e, { title: t }) {
|
|
1065
1065
|
return g(e, "pocket.url"), "https://getpocket.com/save" + w({
|
|
1066
1066
|
url: e,
|
|
1067
1067
|
title: t
|
|
@@ -1069,7 +1069,7 @@ function dn(e, { title: t }) {
|
|
|
1069
1069
|
}
|
|
1070
1070
|
m(
|
|
1071
1071
|
"pocket",
|
|
1072
|
-
|
|
1072
|
+
an,
|
|
1073
1073
|
(e) => ({
|
|
1074
1074
|
title: e.title
|
|
1075
1075
|
}),
|
|
@@ -1078,7 +1078,7 @@ m(
|
|
|
1078
1078
|
windowHeight: 500
|
|
1079
1079
|
}
|
|
1080
1080
|
);
|
|
1081
|
-
function
|
|
1081
|
+
function sn(e, { title: t }) {
|
|
1082
1082
|
return g(e, "reddit.url"), "https://www.reddit.com/submit" + w({
|
|
1083
1083
|
url: e,
|
|
1084
1084
|
title: t
|
|
@@ -1086,7 +1086,7 @@ function cn(e, { title: t }) {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
m(
|
|
1088
1088
|
"reddit",
|
|
1089
|
-
|
|
1089
|
+
sn,
|
|
1090
1090
|
(e) => ({
|
|
1091
1091
|
title: e.title
|
|
1092
1092
|
}),
|
|
@@ -1096,7 +1096,7 @@ m(
|
|
|
1096
1096
|
windowPosition: "windowCenter"
|
|
1097
1097
|
}
|
|
1098
1098
|
);
|
|
1099
|
-
function
|
|
1099
|
+
function ln(e, { title: t }) {
|
|
1100
1100
|
return g(e, "gab.url"), "https://gab.com/compose" + w({
|
|
1101
1101
|
url: e,
|
|
1102
1102
|
text: t
|
|
@@ -1104,7 +1104,7 @@ function un(e, { title: t }) {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
m(
|
|
1106
1106
|
"gab",
|
|
1107
|
-
|
|
1107
|
+
ln,
|
|
1108
1108
|
(e) => ({
|
|
1109
1109
|
title: e.title
|
|
1110
1110
|
}),
|
|
@@ -1114,16 +1114,16 @@ m(
|
|
|
1114
1114
|
windowPosition: "windowCenter"
|
|
1115
1115
|
}
|
|
1116
1116
|
);
|
|
1117
|
-
function
|
|
1117
|
+
function dn(e, t) {
|
|
1118
1118
|
const n = `https://www.reddit.com/api/info.json?limit=1&url=${e}`;
|
|
1119
|
-
|
|
1119
|
+
T(n, { param: "jsonp" }, (o, i) => {
|
|
1120
1120
|
t(
|
|
1121
1121
|
!o && i && i.data && i.data.children.length > 0 && i.data.children[0].data.score ? i.data.children[0].data.score : void 0
|
|
1122
1122
|
);
|
|
1123
1123
|
});
|
|
1124
1124
|
}
|
|
1125
|
-
j(
|
|
1126
|
-
function
|
|
1125
|
+
j(dn);
|
|
1126
|
+
function cn(e, { title: t }) {
|
|
1127
1127
|
return g(e, "telegram.url"), "https://telegram.me/share/url" + w({
|
|
1128
1128
|
url: e,
|
|
1129
1129
|
text: t
|
|
@@ -1131,7 +1131,7 @@ function pn(e, { title: t }) {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
m(
|
|
1133
1133
|
"telegram",
|
|
1134
|
-
|
|
1134
|
+
cn,
|
|
1135
1135
|
(e) => ({
|
|
1136
1136
|
title: e.title
|
|
1137
1137
|
}),
|
|
@@ -1140,7 +1140,7 @@ m(
|
|
|
1140
1140
|
windowHeight: 400
|
|
1141
1141
|
}
|
|
1142
1142
|
);
|
|
1143
|
-
function
|
|
1143
|
+
function un(e, {
|
|
1144
1144
|
title: t,
|
|
1145
1145
|
caption: n,
|
|
1146
1146
|
tags: o,
|
|
@@ -1156,7 +1156,7 @@ function fn(e, {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
m(
|
|
1158
1158
|
"tumblr",
|
|
1159
|
-
|
|
1159
|
+
un,
|
|
1160
1160
|
(e) => ({
|
|
1161
1161
|
title: e.title,
|
|
1162
1162
|
tags: (e.tags || []).join(","),
|
|
@@ -1168,8 +1168,8 @@ m(
|
|
|
1168
1168
|
windowHeight: 460
|
|
1169
1169
|
}
|
|
1170
1170
|
);
|
|
1171
|
-
function
|
|
1172
|
-
return
|
|
1171
|
+
function hn(e, t) {
|
|
1172
|
+
return T(
|
|
1173
1173
|
"https://api.tumblr.com/v2/share/stats" + w({
|
|
1174
1174
|
url: e
|
|
1175
1175
|
}),
|
|
@@ -1178,8 +1178,8 @@ function wn(e, t) {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
);
|
|
1180
1180
|
}
|
|
1181
|
-
j(
|
|
1182
|
-
function
|
|
1181
|
+
j(hn);
|
|
1182
|
+
function pn(e, {
|
|
1183
1183
|
title: t,
|
|
1184
1184
|
via: n,
|
|
1185
1185
|
hashtags: o = [],
|
|
@@ -1195,7 +1195,7 @@ function gn(e, {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
m(
|
|
1197
1197
|
"twitter",
|
|
1198
|
-
|
|
1198
|
+
pn,
|
|
1199
1199
|
(e) => ({
|
|
1200
1200
|
hashtags: e.hashtags,
|
|
1201
1201
|
title: e.title,
|
|
@@ -1207,14 +1207,14 @@ m(
|
|
|
1207
1207
|
windowHeight: 400
|
|
1208
1208
|
}
|
|
1209
1209
|
);
|
|
1210
|
-
function
|
|
1210
|
+
function fn(e, { title: t, separator: n }) {
|
|
1211
1211
|
return g(e, "viber.url"), "viber://forward" + w({
|
|
1212
1212
|
text: t ? t + n + e : e
|
|
1213
1213
|
});
|
|
1214
1214
|
}
|
|
1215
1215
|
m(
|
|
1216
1216
|
"viber",
|
|
1217
|
-
|
|
1217
|
+
fn,
|
|
1218
1218
|
(e) => ({
|
|
1219
1219
|
title: e.title,
|
|
1220
1220
|
separator: e.separator || " "
|
|
@@ -1224,7 +1224,7 @@ m(
|
|
|
1224
1224
|
windowHeight: 460
|
|
1225
1225
|
}
|
|
1226
1226
|
);
|
|
1227
|
-
function
|
|
1227
|
+
function wn(e, { title: t, image: n, noParse: o, noVkLinks: i }) {
|
|
1228
1228
|
return g(e, "vk.url"), "https://vk.com/share.php" + w({
|
|
1229
1229
|
url: e,
|
|
1230
1230
|
title: t,
|
|
@@ -1235,7 +1235,7 @@ function bn(e, { title: t, image: n, noParse: o, noVkLinks: i }) {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
m(
|
|
1237
1237
|
"vk",
|
|
1238
|
-
|
|
1238
|
+
wn,
|
|
1239
1239
|
(e) => ({
|
|
1240
1240
|
title: e.title,
|
|
1241
1241
|
image: e.image,
|
|
@@ -1247,16 +1247,16 @@ m(
|
|
|
1247
1247
|
windowHeight: 460
|
|
1248
1248
|
}
|
|
1249
1249
|
);
|
|
1250
|
-
function
|
|
1250
|
+
function gn(e, t) {
|
|
1251
1251
|
window.VK || (window.VK = {}), window.VK.Share = {
|
|
1252
1252
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1253
|
-
count: (i,
|
|
1254
|
-
var
|
|
1255
|
-
return (
|
|
1253
|
+
count: (i, d) => {
|
|
1254
|
+
var c, h;
|
|
1255
|
+
return (h = (c = window.VK.callbacks) == null ? void 0 : c[i]) == null ? void 0 : h.call(c, d);
|
|
1256
1256
|
}
|
|
1257
1257
|
}, window.VK.callbacks = [];
|
|
1258
1258
|
const n = "https://vk.com/share.php", o = window.VK.callbacks.length;
|
|
1259
|
-
return window.VK.callbacks.push(t),
|
|
1259
|
+
return window.VK.callbacks.push(t), T(
|
|
1260
1260
|
n + w({
|
|
1261
1261
|
act: "count",
|
|
1262
1262
|
index: o,
|
|
@@ -1264,8 +1264,8 @@ function vn(e, t) {
|
|
|
1264
1264
|
})
|
|
1265
1265
|
);
|
|
1266
1266
|
}
|
|
1267
|
-
j(
|
|
1268
|
-
function
|
|
1267
|
+
j(gn);
|
|
1268
|
+
function mn(e, { title: t, image: n }) {
|
|
1269
1269
|
return g(e, "weibo.url"), "http://service.weibo.com/share/share.php" + w({
|
|
1270
1270
|
url: e,
|
|
1271
1271
|
title: t,
|
|
@@ -1274,7 +1274,7 @@ function xn(e, { title: t, image: n }) {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
m(
|
|
1276
1276
|
"weibo",
|
|
1277
|
-
|
|
1277
|
+
mn,
|
|
1278
1278
|
(e) => ({
|
|
1279
1279
|
title: e.title,
|
|
1280
1280
|
image: e.image
|
|
@@ -1285,17 +1285,17 @@ m(
|
|
|
1285
1285
|
windowPosition: "screenCenter"
|
|
1286
1286
|
}
|
|
1287
1287
|
);
|
|
1288
|
-
function
|
|
1288
|
+
function bn() {
|
|
1289
1289
|
return /(android|iphone|ipad|mobile)/i.test(navigator.userAgent);
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return g(e, "whatsapp.url"), "https://" + (
|
|
1291
|
+
function vn(e, { title: t, separator: n }) {
|
|
1292
|
+
return g(e, "whatsapp.url"), "https://" + (bn() ? "api" : "web") + ".whatsapp.com/send" + w({
|
|
1293
1293
|
text: t ? t + n + e : e
|
|
1294
1294
|
});
|
|
1295
1295
|
}
|
|
1296
1296
|
m(
|
|
1297
1297
|
"whatsapp",
|
|
1298
|
-
|
|
1298
|
+
vn,
|
|
1299
1299
|
(e) => ({
|
|
1300
1300
|
title: e.title,
|
|
1301
1301
|
separator: e.separator || " "
|
|
@@ -1305,7 +1305,7 @@ m(
|
|
|
1305
1305
|
windowHeight: 400
|
|
1306
1306
|
}
|
|
1307
1307
|
);
|
|
1308
|
-
function
|
|
1308
|
+
function xn(e, { quote: t, hashtag: n }) {
|
|
1309
1309
|
return g(e, "workplace.url"), "https://work.facebook.com/sharer.php" + w({
|
|
1310
1310
|
u: e,
|
|
1311
1311
|
quote: t,
|
|
@@ -1314,7 +1314,7 @@ function Cn(e, { quote: t, hashtag: n }) {
|
|
|
1314
1314
|
}
|
|
1315
1315
|
m(
|
|
1316
1316
|
"workplace",
|
|
1317
|
-
|
|
1317
|
+
xn,
|
|
1318
1318
|
(e) => ({
|
|
1319
1319
|
quote: e.quote,
|
|
1320
1320
|
hashtag: e.hashtag
|
|
@@ -1324,25 +1324,25 @@ m(
|
|
|
1324
1324
|
windowHeight: 400
|
|
1325
1325
|
}
|
|
1326
1326
|
);
|
|
1327
|
-
var ie = {},
|
|
1327
|
+
var ie = {}, yn = De;
|
|
1328
1328
|
Object.defineProperty(ie, "__esModule", {
|
|
1329
1329
|
value: !0
|
|
1330
1330
|
});
|
|
1331
|
-
var
|
|
1331
|
+
var Se = ie.default = void 0, kn = yn(Be()), Cn = Ne, Sn = (0, kn.default)(/* @__PURE__ */ (0, Cn.jsx)("circle", {
|
|
1332
1332
|
cx: "12",
|
|
1333
1333
|
cy: "12",
|
|
1334
1334
|
r: "8"
|
|
1335
1335
|
}), "FiberManualRecord");
|
|
1336
|
-
|
|
1337
|
-
const
|
|
1338
|
-
var t, n, o, i,
|
|
1336
|
+
Se = ie.default = Sn;
|
|
1337
|
+
const An = Me((e) => {
|
|
1338
|
+
var t, n, o, i, d, c, h, l, a;
|
|
1339
1339
|
return {
|
|
1340
1340
|
embedDesktopTabCardWp: {
|
|
1341
1341
|
boxShadow: "none !important",
|
|
1342
1342
|
overflow: "hidden",
|
|
1343
1343
|
borderRadius: `${(t = e == null ? void 0 : e.borderRadius) == null ? void 0 : t.value} !important`,
|
|
1344
1344
|
border: `1px solid ${(o = (n = e == null ? void 0 : e.palette) == null ? void 0 : n.customColor) == null ? void 0 : o.LINE}`,
|
|
1345
|
-
background: (
|
|
1345
|
+
background: (d = (i = e == null ? void 0 : e.palette) == null ? void 0 : i.customColor) == null ? void 0 : d.BGLIGHT,
|
|
1346
1346
|
cursor: "pointer",
|
|
1347
1347
|
"& .card-container": {
|
|
1348
1348
|
width: "100%",
|
|
@@ -1355,7 +1355,7 @@ const Nn = He((e) => {
|
|
|
1355
1355
|
overflow: "hidden",
|
|
1356
1356
|
display: "flex",
|
|
1357
1357
|
flexDirection: "column",
|
|
1358
|
-
background: (
|
|
1358
|
+
background: (h = (c = e == null ? void 0 : e.palette) == null ? void 0 : c.customColor) == null ? void 0 : h.BGLIGHT,
|
|
1359
1359
|
"& .contentBox": {
|
|
1360
1360
|
flex: "1 0 auto",
|
|
1361
1361
|
padding: "20px 20px 0px 20px !important",
|
|
@@ -1365,7 +1365,7 @@ const Nn = He((e) => {
|
|
|
1365
1365
|
overflow: "initial"
|
|
1366
1366
|
},
|
|
1367
1367
|
"& .cardActionWp": {
|
|
1368
|
-
borderTop: `1px solid ${(
|
|
1368
|
+
borderTop: `1px solid ${(a = (l = e == null ? void 0 : e.palette) == null ? void 0 : l.customColor) == null ? void 0 : a.LINE}`,
|
|
1369
1369
|
padding: "20px 0px",
|
|
1370
1370
|
display: "flex",
|
|
1371
1371
|
justifyContent: "start",
|
|
@@ -1382,7 +1382,7 @@ const Nn = He((e) => {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
1384
1384
|
};
|
|
1385
|
-
}),
|
|
1385
|
+
}), _n = `
|
|
1386
1386
|
.doticon .Platform-x-SvgIcon-root{
|
|
1387
1387
|
font-size: 6px;
|
|
1388
1388
|
}
|
|
@@ -1402,8 +1402,8 @@ font-size: 6px;
|
|
|
1402
1402
|
word-wrap: break-word;
|
|
1403
1403
|
}
|
|
1404
1404
|
`, Ln = ({ content: e }) => {
|
|
1405
|
-
const t =
|
|
1406
|
-
return /* @__PURE__ */
|
|
1405
|
+
const t = We(e == null ? void 0 : e.Description) || "", n = An();
|
|
1406
|
+
return /* @__PURE__ */ s(
|
|
1407
1407
|
te,
|
|
1408
1408
|
{
|
|
1409
1409
|
className: n.embedDesktopTabCardWp,
|
|
@@ -1411,10 +1411,10 @@ font-size: 6px;
|
|
|
1411
1411
|
margin: { xs: "8px 0px 8px 0", sm: "0" }
|
|
1412
1412
|
},
|
|
1413
1413
|
onClick: () => window.open(e == null ? void 0 : e.LandingPage, "_blank"),
|
|
1414
|
-
children: /* @__PURE__ */
|
|
1415
|
-
/* @__PURE__ */
|
|
1416
|
-
/* @__PURE__ */
|
|
1417
|
-
(e == null ? void 0 : e.colorCode) !== void 0 && (e == null ? void 0 : e.colorCode) !== "" ? /* @__PURE__ */
|
|
1414
|
+
children: /* @__PURE__ */ k(E, { container: !0, children: [
|
|
1415
|
+
/* @__PURE__ */ k(E, { item: !0, xs: 12, className: "card-container", children: [
|
|
1416
|
+
/* @__PURE__ */ s("style", { children: _n }),
|
|
1417
|
+
(e == null ? void 0 : e.colorCode) !== void 0 && (e == null ? void 0 : e.colorCode) !== "" ? /* @__PURE__ */ s(
|
|
1418
1418
|
b,
|
|
1419
1419
|
{
|
|
1420
1420
|
sx: {
|
|
@@ -1423,8 +1423,8 @@ font-size: 6px;
|
|
|
1423
1423
|
background: e == null ? void 0 : e.colorCode
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
1426
|
-
) : /* @__PURE__ */
|
|
1427
|
-
|
|
1426
|
+
) : /* @__PURE__ */ s(
|
|
1427
|
+
He,
|
|
1428
1428
|
{
|
|
1429
1429
|
component: "img",
|
|
1430
1430
|
image: e == null ? void 0 : e.Thumbnail,
|
|
@@ -1437,10 +1437,10 @@ font-size: 6px;
|
|
|
1437
1437
|
}
|
|
1438
1438
|
)
|
|
1439
1439
|
] }),
|
|
1440
|
-
/* @__PURE__ */
|
|
1441
|
-
/* @__PURE__ */
|
|
1442
|
-
/* @__PURE__ */
|
|
1443
|
-
|
|
1440
|
+
/* @__PURE__ */ s(E, { item: !0, xs: 12, className: "card-content-area", children: /* @__PURE__ */ k(ye, { className: "contentBox", children: [
|
|
1441
|
+
/* @__PURE__ */ k(b, { className: "TopContentBox", children: [
|
|
1442
|
+
/* @__PURE__ */ s(
|
|
1443
|
+
N,
|
|
1444
1444
|
{
|
|
1445
1445
|
gutterBottom: !0,
|
|
1446
1446
|
variant: "h3bold",
|
|
@@ -1451,8 +1451,8 @@ font-size: 6px;
|
|
|
1451
1451
|
children: e == null ? void 0 : e.Title
|
|
1452
1452
|
}
|
|
1453
1453
|
),
|
|
1454
|
-
/* @__PURE__ */
|
|
1455
|
-
|
|
1454
|
+
/* @__PURE__ */ s(
|
|
1455
|
+
N,
|
|
1456
1456
|
{
|
|
1457
1457
|
variant: "p3regular",
|
|
1458
1458
|
sx: {
|
|
@@ -1463,10 +1463,10 @@ font-size: 6px;
|
|
|
1463
1463
|
}
|
|
1464
1464
|
)
|
|
1465
1465
|
] }),
|
|
1466
|
-
/* @__PURE__ */
|
|
1467
|
-
/* @__PURE__ */
|
|
1468
|
-
/* @__PURE__ */
|
|
1469
|
-
|
|
1466
|
+
/* @__PURE__ */ k(xe, { className: "cardActionWp", children: [
|
|
1467
|
+
/* @__PURE__ */ s(N, { variant: "p4semibold", children: e == null ? void 0 : e.Author }),
|
|
1468
|
+
/* @__PURE__ */ s(
|
|
1469
|
+
N,
|
|
1470
1470
|
{
|
|
1471
1471
|
variant: "p4regular",
|
|
1472
1472
|
sx: {
|
|
@@ -1474,18 +1474,18 @@ font-size: 6px;
|
|
|
1474
1474
|
marginLeft: "8px"
|
|
1475
1475
|
},
|
|
1476
1476
|
className: "doticon",
|
|
1477
|
-
children: /* @__PURE__ */
|
|
1477
|
+
children: /* @__PURE__ */ s(Se, {})
|
|
1478
1478
|
}
|
|
1479
1479
|
),
|
|
1480
|
-
/* @__PURE__ */
|
|
1480
|
+
/* @__PURE__ */ s(N, { variant: "p4regular", children: $e(e == null ? void 0 : e.creationDate) })
|
|
1481
1481
|
] })
|
|
1482
1482
|
] }) })
|
|
1483
1483
|
] })
|
|
1484
1484
|
}
|
|
1485
1485
|
);
|
|
1486
1486
|
};
|
|
1487
|
-
function
|
|
1488
|
-
return /* @__PURE__ */
|
|
1487
|
+
function ge({ maxWidth: e = 350, maxHeight: t }) {
|
|
1488
|
+
return /* @__PURE__ */ k(
|
|
1489
1489
|
te,
|
|
1490
1490
|
{
|
|
1491
1491
|
sx: {
|
|
@@ -1496,16 +1496,16 @@ function me({ maxWidth: e = 350, maxHeight: t }) {
|
|
|
1496
1496
|
boxShadow: "none"
|
|
1497
1497
|
},
|
|
1498
1498
|
children: [
|
|
1499
|
-
/* @__PURE__ */
|
|
1500
|
-
/* @__PURE__ */
|
|
1501
|
-
/* @__PURE__ */
|
|
1502
|
-
/* @__PURE__ */
|
|
1499
|
+
/* @__PURE__ */ s(R, { sx: { height: 190, marginBottom: 2 }, animation: "wave", variant: "rectangular" }),
|
|
1500
|
+
/* @__PURE__ */ s(R, { animation: "wave", width: "40%", height: 15, style: { marginBottom: 15 } }),
|
|
1501
|
+
/* @__PURE__ */ s(R, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } }),
|
|
1502
|
+
/* @__PURE__ */ s(R, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } })
|
|
1503
1503
|
]
|
|
1504
1504
|
}
|
|
1505
1505
|
);
|
|
1506
1506
|
}
|
|
1507
|
-
const
|
|
1508
|
-
const [t, n] =
|
|
1507
|
+
const Nn = ({ selectedItem: e }) => {
|
|
1508
|
+
const [t, n] = $(!1), o = {
|
|
1509
1509
|
Title: e == null ? void 0 : e.Title,
|
|
1510
1510
|
Description: e == null ? void 0 : e.Description,
|
|
1511
1511
|
Thumbnail: e == null ? void 0 : e.Thumbnail,
|
|
@@ -1514,22 +1514,22 @@ const On = ({ selectedItem: e }) => {
|
|
|
1514
1514
|
Page: e == null ? void 0 : e.Page,
|
|
1515
1515
|
LandingPage: e == null ? void 0 : e.LandingPage,
|
|
1516
1516
|
ContentURL: e == null ? void 0 : e.ContentURL
|
|
1517
|
-
},
|
|
1518
|
-
<iframe src="${
|
|
1519
|
-
`,
|
|
1520
|
-
<iframe src="${
|
|
1521
|
-
`,
|
|
1522
|
-
navigator.clipboard.writeText(
|
|
1517
|
+
}, i = `
|
|
1518
|
+
<iframe src="${o == null ? void 0 : o.Page}" width="360" height="203" style="border:none;overflow:hidden"></iframe>
|
|
1519
|
+
`, d = `
|
|
1520
|
+
<iframe src="${o == null ? void 0 : o.Page}" width="480" height="270" style="border:none;overflow:hidden"></iframe>
|
|
1521
|
+
`, c = (h) => {
|
|
1522
|
+
navigator.clipboard.writeText(h), n(!0);
|
|
1523
1523
|
};
|
|
1524
|
-
return /* @__PURE__ */
|
|
1524
|
+
return /* @__PURE__ */ s(
|
|
1525
1525
|
b,
|
|
1526
1526
|
{
|
|
1527
1527
|
sx: {
|
|
1528
1528
|
overflowY: "auto"
|
|
1529
1529
|
},
|
|
1530
|
-
children: /* @__PURE__ */
|
|
1531
|
-
/* @__PURE__ */
|
|
1532
|
-
|
|
1530
|
+
children: /* @__PURE__ */ k(E, { container: !0, children: [
|
|
1531
|
+
/* @__PURE__ */ s(
|
|
1532
|
+
E,
|
|
1533
1533
|
{
|
|
1534
1534
|
item: !0,
|
|
1535
1535
|
xs: 12,
|
|
@@ -1540,7 +1540,7 @@ const On = ({ selectedItem: e }) => {
|
|
|
1540
1540
|
alignItems: { xs: "start", md: "center" },
|
|
1541
1541
|
height: { xs: "520px", sm: "initial", md: "initial", em: "480px" }
|
|
1542
1542
|
},
|
|
1543
|
-
children: /* @__PURE__ */
|
|
1543
|
+
children: /* @__PURE__ */ s(
|
|
1544
1544
|
b,
|
|
1545
1545
|
{
|
|
1546
1546
|
sx: {
|
|
@@ -1555,13 +1555,13 @@ const On = ({ selectedItem: e }) => {
|
|
|
1555
1555
|
alignItems: "center"
|
|
1556
1556
|
},
|
|
1557
1557
|
className: "card1",
|
|
1558
|
-
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */
|
|
1558
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ s(Ln, { content: o }) : /* @__PURE__ */ s(ge, { maxWidth: 480, maxHeight: 500 })
|
|
1559
1559
|
}
|
|
1560
1560
|
)
|
|
1561
1561
|
}
|
|
1562
1562
|
),
|
|
1563
|
-
/* @__PURE__ */
|
|
1564
|
-
|
|
1563
|
+
/* @__PURE__ */ s(
|
|
1564
|
+
E,
|
|
1565
1565
|
{
|
|
1566
1566
|
item: !0,
|
|
1567
1567
|
xs: 12,
|
|
@@ -1577,7 +1577,7 @@ const On = ({ selectedItem: e }) => {
|
|
|
1577
1577
|
justifyContent: "center",
|
|
1578
1578
|
alignItems: "center"
|
|
1579
1579
|
},
|
|
1580
|
-
children: /* @__PURE__ */
|
|
1580
|
+
children: /* @__PURE__ */ s(
|
|
1581
1581
|
b,
|
|
1582
1582
|
{
|
|
1583
1583
|
sx: {
|
|
@@ -1588,8 +1588,8 @@ const On = ({ selectedItem: e }) => {
|
|
|
1588
1588
|
},
|
|
1589
1589
|
width: { xs: "360px", sm: "480px" }
|
|
1590
1590
|
},
|
|
1591
|
-
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */
|
|
1592
|
-
/* @__PURE__ */
|
|
1591
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ k(Te, { children: [
|
|
1592
|
+
/* @__PURE__ */ k(
|
|
1593
1593
|
b,
|
|
1594
1594
|
{
|
|
1595
1595
|
sx: {
|
|
@@ -1597,31 +1597,31 @@ const On = ({ selectedItem: e }) => {
|
|
|
1597
1597
|
padding: { xs: "0 0 10px 0", md: "0" }
|
|
1598
1598
|
},
|
|
1599
1599
|
children: [
|
|
1600
|
-
/* @__PURE__ */
|
|
1601
|
-
|
|
1600
|
+
/* @__PURE__ */ s(b, { children: /* @__PURE__ */ s(
|
|
1601
|
+
N,
|
|
1602
1602
|
{
|
|
1603
1603
|
variant: "h3bold",
|
|
1604
1604
|
color: "textColor1",
|
|
1605
1605
|
padding: 0,
|
|
1606
1606
|
margin: 0,
|
|
1607
1607
|
sx: { textTransform: "capitalize" },
|
|
1608
|
-
children:
|
|
1608
|
+
children: "Social Embed link"
|
|
1609
1609
|
}
|
|
1610
1610
|
) }),
|
|
1611
|
-
/* @__PURE__ */
|
|
1612
|
-
|
|
1611
|
+
/* @__PURE__ */ s(b, { children: /* @__PURE__ */ s(
|
|
1612
|
+
N,
|
|
1613
1613
|
{
|
|
1614
1614
|
variant: "h7regular",
|
|
1615
1615
|
padding: 0,
|
|
1616
1616
|
margin: 0,
|
|
1617
1617
|
sx: { color: "#89909a" },
|
|
1618
|
-
children:
|
|
1618
|
+
children: "Embed this content type anywhere on the web"
|
|
1619
1619
|
}
|
|
1620
1620
|
) })
|
|
1621
1621
|
]
|
|
1622
1622
|
}
|
|
1623
1623
|
),
|
|
1624
|
-
/* @__PURE__ */
|
|
1624
|
+
/* @__PURE__ */ s(
|
|
1625
1625
|
b,
|
|
1626
1626
|
{
|
|
1627
1627
|
sx: {
|
|
@@ -1638,10 +1638,10 @@ const On = ({ selectedItem: e }) => {
|
|
|
1638
1638
|
fontFamily: "Roboto Mono",
|
|
1639
1639
|
wordBreak: "break-word"
|
|
1640
1640
|
},
|
|
1641
|
-
children:
|
|
1641
|
+
children: i
|
|
1642
1642
|
}
|
|
1643
1643
|
),
|
|
1644
|
-
/* @__PURE__ */
|
|
1644
|
+
/* @__PURE__ */ s(
|
|
1645
1645
|
b,
|
|
1646
1646
|
{
|
|
1647
1647
|
sx: {
|
|
@@ -1658,10 +1658,10 @@ const On = ({ selectedItem: e }) => {
|
|
|
1658
1658
|
fontFamily: "Roboto Mono",
|
|
1659
1659
|
wordBreak: "break-word"
|
|
1660
1660
|
},
|
|
1661
|
-
children:
|
|
1661
|
+
children: d
|
|
1662
1662
|
}
|
|
1663
1663
|
),
|
|
1664
|
-
/* @__PURE__ */
|
|
1664
|
+
/* @__PURE__ */ k(
|
|
1665
1665
|
b,
|
|
1666
1666
|
{
|
|
1667
1667
|
sx: {
|
|
@@ -1669,7 +1669,7 @@ const On = ({ selectedItem: e }) => {
|
|
|
1669
1669
|
flexDirection: "row-reverse"
|
|
1670
1670
|
},
|
|
1671
1671
|
children: [
|
|
1672
|
-
/* @__PURE__ */
|
|
1672
|
+
/* @__PURE__ */ s(
|
|
1673
1673
|
se,
|
|
1674
1674
|
{
|
|
1675
1675
|
variant: "primaryButton1",
|
|
@@ -1678,12 +1678,12 @@ const On = ({ selectedItem: e }) => {
|
|
|
1678
1678
|
margin: "0",
|
|
1679
1679
|
padding: "0"
|
|
1680
1680
|
},
|
|
1681
|
-
onClick: () =>
|
|
1681
|
+
onClick: () => c(d),
|
|
1682
1682
|
"data-testid": "copy-desktop-embedded-code",
|
|
1683
|
-
children:
|
|
1683
|
+
children: t ? "Copied" : "Copy Code"
|
|
1684
1684
|
}
|
|
1685
1685
|
),
|
|
1686
|
-
/* @__PURE__ */
|
|
1686
|
+
/* @__PURE__ */ s(
|
|
1687
1687
|
se,
|
|
1688
1688
|
{
|
|
1689
1689
|
variant: "primaryButton1",
|
|
@@ -1693,15 +1693,15 @@ const On = ({ selectedItem: e }) => {
|
|
|
1693
1693
|
display: { xs: "flex", md: "none" },
|
|
1694
1694
|
margin: { xs: "20px 0 0 0", md: 0 }
|
|
1695
1695
|
},
|
|
1696
|
-
onClick: () =>
|
|
1696
|
+
onClick: () => c(i),
|
|
1697
1697
|
"data-testid": "copy-mobile-embedded-code",
|
|
1698
|
-
children:
|
|
1698
|
+
children: t ? "Copied" : "Copy Code"
|
|
1699
1699
|
}
|
|
1700
1700
|
)
|
|
1701
1701
|
]
|
|
1702
1702
|
}
|
|
1703
1703
|
)
|
|
1704
|
-
] }) : /* @__PURE__ */
|
|
1704
|
+
] }) : /* @__PURE__ */ s(ge, { maxWidth: 480, maxHeight: 500 })
|
|
1705
1705
|
}
|
|
1706
1706
|
)
|
|
1707
1707
|
}
|
|
@@ -1710,13 +1710,13 @@ const On = ({ selectedItem: e }) => {
|
|
|
1710
1710
|
}
|
|
1711
1711
|
);
|
|
1712
1712
|
};
|
|
1713
|
-
function
|
|
1713
|
+
function Tn({
|
|
1714
1714
|
isDialogOpen: e,
|
|
1715
1715
|
closeEmbedButtonHandle: t,
|
|
1716
1716
|
setSelectedItem: n
|
|
1717
1717
|
}) {
|
|
1718
|
-
return /* @__PURE__ */
|
|
1719
|
-
|
|
1718
|
+
return /* @__PURE__ */ s(b, { className: "embedmodal", children: /* @__PURE__ */ k(
|
|
1719
|
+
Ue,
|
|
1720
1720
|
{
|
|
1721
1721
|
fullWidth: !0,
|
|
1722
1722
|
open: e,
|
|
@@ -1737,7 +1737,7 @@ function Rn({
|
|
|
1737
1737
|
height: { xs: "100vh", sm: "auto" }
|
|
1738
1738
|
},
|
|
1739
1739
|
children: [
|
|
1740
|
-
/* @__PURE__ */
|
|
1740
|
+
/* @__PURE__ */ s(
|
|
1741
1741
|
b,
|
|
1742
1742
|
{
|
|
1743
1743
|
sx: {
|
|
@@ -1747,30 +1747,30 @@ function Rn({
|
|
|
1747
1747
|
position: "absolute",
|
|
1748
1748
|
right: "-10px"
|
|
1749
1749
|
},
|
|
1750
|
-
children: /* @__PURE__ */
|
|
1750
|
+
children: /* @__PURE__ */ s(
|
|
1751
1751
|
b,
|
|
1752
1752
|
{
|
|
1753
1753
|
sx: { textAlign: "right", cursor: "pointer", zIndex: "99999" },
|
|
1754
1754
|
mt: 1,
|
|
1755
1755
|
mr: 3,
|
|
1756
1756
|
onClick: t,
|
|
1757
|
-
children: /* @__PURE__ */
|
|
1757
|
+
children: /* @__PURE__ */ s(Ve, {})
|
|
1758
1758
|
}
|
|
1759
1759
|
)
|
|
1760
1760
|
}
|
|
1761
1761
|
),
|
|
1762
|
-
/* @__PURE__ */
|
|
1762
|
+
/* @__PURE__ */ s(Nn, { selectedItem: n })
|
|
1763
1763
|
]
|
|
1764
1764
|
}
|
|
1765
1765
|
) });
|
|
1766
1766
|
}
|
|
1767
|
-
const
|
|
1768
|
-
const
|
|
1767
|
+
const jn = (e) => {
|
|
1768
|
+
const t = Xe(), { shareUrl: n = "", domainUrl: o = "", enablePreview: i, showRecentArticles: d } = e, c = () => {
|
|
1769
1769
|
if (e.whiteIcon)
|
|
1770
1770
|
return {
|
|
1771
1771
|
filter: "brightness(0) invert(1)"
|
|
1772
1772
|
};
|
|
1773
|
-
},
|
|
1773
|
+
}, h = (L = "#2d2d39") => ({
|
|
1774
1774
|
display: "flex",
|
|
1775
1775
|
justifyContent: "center",
|
|
1776
1776
|
alignItems: "center",
|
|
@@ -1779,32 +1779,36 @@ const En = (e) => {
|
|
|
1779
1779
|
borderRadius: "3px",
|
|
1780
1780
|
cursor: "pointer",
|
|
1781
1781
|
marginRight: "12px",
|
|
1782
|
-
background: e.whiteIcon ? " " :
|
|
1782
|
+
background: e.whiteIcon ? " " : t.palette.textColor,
|
|
1783
1783
|
"&:hover": {
|
|
1784
1784
|
img: {
|
|
1785
1785
|
filter: "brightness(0) invert(1)"
|
|
1786
1786
|
},
|
|
1787
|
-
background:
|
|
1787
|
+
background: L
|
|
1788
1788
|
},
|
|
1789
1789
|
border: e.border
|
|
1790
1790
|
}), l = {
|
|
1791
1791
|
display: "flex",
|
|
1792
1792
|
justifyContent: "center",
|
|
1793
1793
|
alignItems: "center",
|
|
1794
|
-
cursor:
|
|
1795
|
-
},
|
|
1794
|
+
cursor: i ? "default" : "pointer"
|
|
1795
|
+
}, a = {
|
|
1796
1796
|
opacity: 1
|
|
1797
|
-
},
|
|
1798
|
-
"clipboard" in navigator &&
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1797
|
+
}, u = async () => {
|
|
1798
|
+
"clipboard" in navigator && o ? (await navigator.clipboard.writeText(o), ze("URL copied successfully.")) : le(
|
|
1799
|
+
"We have not been able to complete the requested action. Please try again later"
|
|
1800
|
+
);
|
|
1801
|
+
}, p = () => {
|
|
1802
|
+
}, [f, x] = $(!1), v = (L = "") => {
|
|
1803
|
+
L || le(
|
|
1804
|
+
"We have not been able to complete the requested action. Please try again later"
|
|
1805
|
+
);
|
|
1802
1806
|
}, _ = () => {
|
|
1803
|
-
|
|
1804
|
-
},
|
|
1805
|
-
|
|
1807
|
+
x(!0);
|
|
1808
|
+
}, S = () => {
|
|
1809
|
+
x(!1);
|
|
1806
1810
|
};
|
|
1807
|
-
return /* @__PURE__ */
|
|
1811
|
+
return /* @__PURE__ */ k(
|
|
1808
1812
|
b,
|
|
1809
1813
|
{
|
|
1810
1814
|
sx: {
|
|
@@ -1812,90 +1816,90 @@ const En = (e) => {
|
|
|
1812
1816
|
mt: "5px"
|
|
1813
1817
|
},
|
|
1814
1818
|
children: [
|
|
1815
|
-
/* @__PURE__ */
|
|
1816
|
-
|
|
1819
|
+
/* @__PURE__ */ s(
|
|
1820
|
+
Vt,
|
|
1817
1821
|
{
|
|
1818
|
-
disabled:
|
|
1819
|
-
onClick: () => !
|
|
1820
|
-
onShareWindowClose:
|
|
1821
|
-
url:
|
|
1822
|
+
disabled: i,
|
|
1823
|
+
onClick: () => !i && v(n),
|
|
1824
|
+
onShareWindowClose: p,
|
|
1825
|
+
url: n,
|
|
1822
1826
|
style: l,
|
|
1823
|
-
disabledStyle:
|
|
1827
|
+
disabledStyle: a,
|
|
1824
1828
|
"data-testid": "facebook-share",
|
|
1825
|
-
children: /* @__PURE__ */
|
|
1829
|
+
children: /* @__PURE__ */ s(
|
|
1826
1830
|
b,
|
|
1827
1831
|
{
|
|
1828
1832
|
sx: {
|
|
1829
|
-
...
|
|
1830
|
-
cursor:
|
|
1833
|
+
...h("#1078f0"),
|
|
1834
|
+
cursor: i ? "default" : "pointer"
|
|
1831
1835
|
},
|
|
1832
|
-
onClick: () => !
|
|
1833
|
-
children: /* @__PURE__ */
|
|
1836
|
+
onClick: () => !i && v(n),
|
|
1837
|
+
children: /* @__PURE__ */ s("img", { alt: "share1", width: 15, height: 15, src: gt, style: { ...c() } })
|
|
1834
1838
|
}
|
|
1835
1839
|
)
|
|
1836
1840
|
}
|
|
1837
1841
|
),
|
|
1838
|
-
/* @__PURE__ */
|
|
1839
|
-
|
|
1842
|
+
/* @__PURE__ */ s(
|
|
1843
|
+
It,
|
|
1840
1844
|
{
|
|
1841
|
-
disabled:
|
|
1842
|
-
onShareWindowClose:
|
|
1843
|
-
url:
|
|
1845
|
+
disabled: i,
|
|
1846
|
+
onShareWindowClose: p,
|
|
1847
|
+
url: n,
|
|
1844
1848
|
style: l,
|
|
1845
|
-
disabledStyle:
|
|
1846
|
-
children: /* @__PURE__ */
|
|
1849
|
+
disabledStyle: a,
|
|
1850
|
+
children: /* @__PURE__ */ s(
|
|
1847
1851
|
b,
|
|
1848
1852
|
{
|
|
1849
1853
|
sx: {
|
|
1850
|
-
...
|
|
1851
|
-
cursor:
|
|
1854
|
+
...h("#2d67b3"),
|
|
1855
|
+
cursor: i ? "default" : "pointer"
|
|
1852
1856
|
},
|
|
1853
|
-
onClick: () => !
|
|
1857
|
+
onClick: () => !i && v(n),
|
|
1854
1858
|
"data-testid": "linkedin-share",
|
|
1855
|
-
children: /* @__PURE__ */
|
|
1859
|
+
children: /* @__PURE__ */ s("img", { alt: "share4", width: 15, height: 15, src: mt, style: { ...c() } })
|
|
1856
1860
|
}
|
|
1857
1861
|
)
|
|
1858
1862
|
}
|
|
1859
1863
|
),
|
|
1860
|
-
/* @__PURE__ */
|
|
1864
|
+
/* @__PURE__ */ s(
|
|
1861
1865
|
b,
|
|
1862
1866
|
{
|
|
1863
1867
|
sx: {
|
|
1864
|
-
...
|
|
1865
|
-
cursor:
|
|
1868
|
+
...h("#229af1"),
|
|
1869
|
+
cursor: i ? "default" : "pointer"
|
|
1866
1870
|
},
|
|
1867
|
-
onClick: () => !
|
|
1871
|
+
onClick: () => !i && u(),
|
|
1868
1872
|
"data-testid": "copy-clipboard-data",
|
|
1869
|
-
children: /* @__PURE__ */
|
|
1873
|
+
children: /* @__PURE__ */ s("img", { alt: "share5", width: 15, height: 15, src: ft, style: { ...c() } })
|
|
1870
1874
|
}
|
|
1871
1875
|
),
|
|
1872
|
-
|
|
1876
|
+
d && /* @__PURE__ */ s(
|
|
1873
1877
|
b,
|
|
1874
1878
|
{
|
|
1875
1879
|
sx: {
|
|
1876
|
-
...
|
|
1877
|
-
cursor:
|
|
1880
|
+
...h("#2d2d39"),
|
|
1881
|
+
cursor: i ? "default" : "pointer",
|
|
1878
1882
|
marginRight: 0
|
|
1879
1883
|
},
|
|
1880
1884
|
onClick: () => {
|
|
1881
|
-
!
|
|
1885
|
+
!i && _();
|
|
1882
1886
|
},
|
|
1883
1887
|
"data-testid": "preview-and-embed",
|
|
1884
|
-
children: /* @__PURE__ */
|
|
1888
|
+
children: /* @__PURE__ */ s("img", { alt: "share6", width: 15, height: 15, src: wt, style: { ...c() } })
|
|
1885
1889
|
}
|
|
1886
1890
|
),
|
|
1887
|
-
|
|
1888
|
-
|
|
1891
|
+
f ? /* @__PURE__ */ s(
|
|
1892
|
+
Tn,
|
|
1889
1893
|
{
|
|
1890
|
-
isDialogOpen:
|
|
1891
|
-
closeEmbedButtonHandle:
|
|
1894
|
+
isDialogOpen: f,
|
|
1895
|
+
closeEmbedButtonHandle: S,
|
|
1892
1896
|
setSelectedItem: e == null ? void 0 : e.embedData
|
|
1893
1897
|
}
|
|
1894
1898
|
) : null
|
|
1895
1899
|
]
|
|
1896
1900
|
}
|
|
1897
1901
|
);
|
|
1898
|
-
},
|
|
1902
|
+
}, Dn = je.memo(jn);
|
|
1899
1903
|
export {
|
|
1900
|
-
|
|
1904
|
+
Dn as default
|
|
1901
1905
|
};
|