@platform-x/hcltechx-mfe-wrapper 1.0.8 → 1.0.10
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-BvG7HDYH.mjs → ArticleVodListComponent-CGYPjtbz.mjs} +2 -2
- package/{ChallengeDetailComponent-CPLD6qTT.mjs → ChallengeDetailComponent-wFgexfRN.mjs} +3 -3
- package/ChallengeSliderComponent-DlJLxu-W.mjs +85 -0
- package/{CommonContentComponent-Dkc8ecm8.mjs → CommonContentComponent-D0ibizlD.mjs} +3 -3
- package/{DailyMotion-6zDhMMgD.mjs → DailyMotion-BymA5jjr.mjs} +2 -2
- package/EngagementHomeComponent-BBfNZ_oS.mjs +100 -0
- package/{EventDetailComponent-Dsadtp-3.mjs → EventDetailComponent-BJZsXaXF.mjs} +3 -3
- package/EventList-hs_1aiMc.mjs +219733 -0
- package/{EventListComponent-Cvz8RtZS.mjs → EventListComponent-CgBi-ggY.mjs} +9 -9
- package/{Facebook-DKoF29ND.mjs → Facebook-CRS16Qk1.mjs} +2 -2
- package/{FilePlayer-Fjd_Z9UU.mjs → FilePlayer-DboirD-Q.mjs} +2 -2
- package/{IndividualChallengeComponent-fIqwP2bn.mjs → IndividualChallengeComponent-DdVYn_-J.mjs} +3 -3
- package/{Kaltura-DuyO59Kb.mjs → Kaltura-D7rHQXnb.mjs} +2 -2
- package/{Mixcloud-9i-39rwx.mjs → Mixcloud-Ex-zINDP.mjs} +2 -2
- package/{Mux-DsGaA37I.mjs → Mux-CYUdZreh.mjs} +2 -2
- package/{Preview-CiGhPvfR.mjs → Preview-Cd53GjOM.mjs} +1 -1
- package/{RecentCarousel-BBMHRLyu.mjs → RecentCarousel-Fhcmu629.mjs} +48 -48
- package/{Share-CDrNLk2X.mjs → Share-D2-0qFxQ.mjs} +78 -82
- package/{SoundCloud-BbfWgBQ5.mjs → SoundCloud-1dVdVRXj.mjs} +2 -2
- package/{Streamable-CqfHazZq.mjs → Streamable-CJdBYsFW.mjs} +2 -2
- package/{Twitch-BtOGB2Im.mjs → Twitch-B29GH4XF.mjs} +2 -2
- package/{Vidyard-D4jNAL5v.mjs → Vidyard-DcVp_Ejt.mjs} +2 -2
- package/{Vimeo-WzocafKt.mjs → Vimeo-CAhSSPHl.mjs} +2 -2
- package/{Wistia-Ba5fmEM7.mjs → Wistia-cBv27QfD.mjs} +2 -2
- package/{YouTube-DOp63wrf.mjs → YouTube-pCMBQQyx.mjs} +2 -2
- package/{index-CsZlaFxy.mjs → index-Bv4QVvQA.mjs} +1773 -1719
- package/index-CXyS7w1_.mjs +19 -0
- package/index.mjs +1 -1
- package/lib/prelems/Components/ChallengeSliderComponent.d.ts +2 -0
- package/lib/utils/componentMapping.d.ts +1 -0
- package/{mutateApi-BQthCwMO.mjs → mutateApi-PTHF0lvY.mjs} +1 -1
- package/package.json +1 -1
- package/EngagementHomeComponent-DxQ50FY8.mjs +0 -97
- package/EventList-DlHDYUR5.mjs +0 -37751
- package/index-DeykmZCh.mjs +0 -18
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Le, { jsx as d, jsxs as C, Fragment as Oe } from "react/jsx-runtime";
|
|
2
2
|
import * as F from "react";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { c as K, d as G, e as X, h as q, _ as Q, i as S, j as Y, P as r, k as Xe, l as Z, m as ye, n as qe, o as
|
|
3
|
+
import Re, { forwardRef as Ee, useState as U, useEffect as be, useRef as Pe, useCallback as Me } from "react";
|
|
4
|
+
import { v as Be, w as ve, x as De, y as We, m as He, z as $e, B as b, j as Ue, T, n as Ve, g as xe, D as se, F as ze, G as Fe, H as Ke, J as Ge, K as le, M as de } from "./EventList-hs_1aiMc.mjs";
|
|
5
|
+
import { c as K, d as G, e as X, h as q, _ as Q, i as S, j as Y, P as r, k as Xe, l as Z, m as ye, n as qe, o as ce, g as Qe, G as O, u as Ye } from "./index-Bv4QVvQA.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
function Ze(e) {
|
|
8
8
|
return String(e).match(/[\d.\-+]*\s*(.*)/)[1] || "";
|
|
@@ -21,7 +21,7 @@ const et = ["className", "raised"], tt = (e) => {
|
|
|
21
21
|
return Z({
|
|
22
22
|
root: ["root"]
|
|
23
23
|
}, Je, t);
|
|
24
|
-
}, nt = X(
|
|
24
|
+
}, nt = X(Be, {
|
|
25
25
|
name: "MuiCard",
|
|
26
26
|
slot: "Root",
|
|
27
27
|
overridesResolver: (e, t) => t.root
|
|
@@ -102,7 +102,7 @@ const it = ["disableSpacing", "className"], rt = (e) => {
|
|
|
102
102
|
"& > :not(:first-of-type)": {
|
|
103
103
|
marginLeft: 8
|
|
104
104
|
}
|
|
105
|
-
})),
|
|
105
|
+
})), ke = /* @__PURE__ */ F.forwardRef(function(t, n) {
|
|
106
106
|
const o = q({
|
|
107
107
|
props: t,
|
|
108
108
|
name: "MuiCardActions"
|
|
@@ -118,7 +118,7 @@ const it = ["disableSpacing", "className"], rt = (e) => {
|
|
|
118
118
|
ref: n
|
|
119
119
|
}, h));
|
|
120
120
|
});
|
|
121
|
-
process.env.NODE_ENV !== "production" && (
|
|
121
|
+
process.env.NODE_ENV !== "production" && (ke.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" |
|
|
@@ -165,7 +165,7 @@ const lt = ["className", "component"], dt = (e) => {
|
|
|
165
165
|
"&:last-child": {
|
|
166
166
|
paddingBottom: 24
|
|
167
167
|
}
|
|
168
|
-
})),
|
|
168
|
+
})), Ce = /* @__PURE__ */ F.forwardRef(function(t, n) {
|
|
169
169
|
const o = q({
|
|
170
170
|
props: t,
|
|
171
171
|
name: "MuiCardContent"
|
|
@@ -182,7 +182,7 @@ const lt = ["className", "component"], dt = (e) => {
|
|
|
182
182
|
ref: n
|
|
183
183
|
}, h));
|
|
184
184
|
});
|
|
185
|
-
process.env.NODE_ENV !== "production" && (
|
|
185
|
+
process.env.NODE_ENV !== "production" && (Ce.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" |
|
|
@@ -214,7 +214,7 @@ function ut(e) {
|
|
|
214
214
|
}
|
|
215
215
|
K("MuiSkeleton", ["root", "text", "rectangular", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
|
|
216
216
|
const ht = ["animation", "className", "component", "height", "style", "variant", "width"];
|
|
217
|
-
let V = (e) => e,
|
|
217
|
+
let V = (e) => e, ue, he, pe, fe;
|
|
218
218
|
const pt = (e) => {
|
|
219
219
|
const {
|
|
220
220
|
classes: t,
|
|
@@ -227,7 +227,7 @@ const pt = (e) => {
|
|
|
227
227
|
return Z({
|
|
228
228
|
root: ["root", n, o, i && "withChildren", i && !a && "fitContent", i && !h && "heightAuto"]
|
|
229
229
|
}, ut, t);
|
|
230
|
-
}, ft = ye(
|
|
230
|
+
}, ft = ye(ue || (ue = V`
|
|
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
|
-
`)), wt = ye(
|
|
242
|
+
`)), wt = ye(he || (he = V`
|
|
243
243
|
0% {
|
|
244
244
|
transform: translateX(-100%);
|
|
245
245
|
}
|
|
@@ -294,12 +294,12 @@ const pt = (e) => {
|
|
|
294
294
|
});
|
|
295
295
|
}, ({
|
|
296
296
|
ownerState: e
|
|
297
|
-
}) => e.animation === "pulse" &&
|
|
297
|
+
}) => e.animation === "pulse" && ce(pe || (pe = V`
|
|
298
298
|
animation: ${0} 1.5s ease-in-out 0.5s infinite;
|
|
299
299
|
`), ft), ({
|
|
300
300
|
ownerState: e,
|
|
301
301
|
theme: t
|
|
302
|
-
}) => e.animation === "wave" &&
|
|
302
|
+
}) => e.animation === "wave" && ce(fe || (fe = V`
|
|
303
303
|
position: relative;
|
|
304
304
|
overflow: hidden;
|
|
305
305
|
|
|
@@ -405,7 +405,7 @@ process.env.NODE_ENV !== "production" && (E.propTypes = {
|
|
|
405
405
|
width: r.oneOfType([r.number, r.string])
|
|
406
406
|
});
|
|
407
407
|
const mt = "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", bt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD6SURBVHgB7ZM9CsIwGIa/GI8gWkV0dyhdXHTxCN5APIl6E0dXN0fdxEmldFYqkrZnaD6ToRj736pbXwh88CbPEwIBqFLlr9H10UKusr0MTTuMiEsxThqN9tbznkztDWNkcI4b2WtaDxzHPuQWKHDwfZxb1mkX3sOYzVqt7h2ATNMkNBt+XENCXPdxzpLQsvC8EvoNPI+kFmzinJNgrtcpQsEQ8j6jsqhyi32z2SUiEwCcalr/Jm5xyQPX9fEMka/lLF5hZZrHZURQVpIGjwiKSrLgsYI4SafT3jL2+dEGg6Eh+l0aPFGgSsR4uF5Pm3Avf3bQJ8GrVPlNXpHyzr4dW2vdAAAAAElFTkSuQmCC", vt = "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", xt = "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,
|
|
408
|
+
var J = { exports: {} }, ee = { exports: {} }, P = 1e3, M = P * 60, B = M * 60, D = B * 24, yt = D * 365.25, kt = function(e, t) {
|
|
409
409
|
t = t || {};
|
|
410
410
|
var n = typeof e;
|
|
411
411
|
if (n === "string" && e.length > 0)
|
|
@@ -433,19 +433,19 @@ function Ct(e) {
|
|
|
433
433
|
case "days":
|
|
434
434
|
case "day":
|
|
435
435
|
case "d":
|
|
436
|
-
return n *
|
|
436
|
+
return n * D;
|
|
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 * B;
|
|
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 * M;
|
|
449
449
|
case "seconds":
|
|
450
450
|
case "second":
|
|
451
451
|
case "secs":
|
|
@@ -465,10 +465,10 @@ function Ct(e) {
|
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
function St(e) {
|
|
468
|
-
return e >=
|
|
468
|
+
return e >= D ? Math.round(e / D) + "d" : e >= B ? Math.round(e / B) + "h" : e >= M ? Math.round(e / M) + "m" : e >= P ? Math.round(e / P) + "s" : e + "ms";
|
|
469
469
|
}
|
|
470
470
|
function At(e) {
|
|
471
|
-
return $(e,
|
|
471
|
+
return $(e, D, "day") || $(e, B, "hour") || $(e, M, "minute") || $(e, P, "second") || e + " ms";
|
|
472
472
|
}
|
|
473
473
|
function $(e, t, n) {
|
|
474
474
|
if (!(e < t))
|
|
@@ -496,10 +496,10 @@ function $(e, t, n) {
|
|
|
496
496
|
if (y === "%%")
|
|
497
497
|
return y;
|
|
498
498
|
_++;
|
|
499
|
-
var
|
|
500
|
-
if (typeof
|
|
499
|
+
var L = t.formatters[W];
|
|
500
|
+
if (typeof L == "function") {
|
|
501
501
|
var I = v[_];
|
|
502
|
-
y =
|
|
502
|
+
y = L.call(p, I), v.splice(_, 1), _--;
|
|
503
503
|
}
|
|
504
504
|
return y;
|
|
505
505
|
}), t.formatArgs.call(p, v);
|
|
@@ -591,50 +591,50 @@ var _t = ee.exports;
|
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
})(J, J.exports);
|
|
594
|
-
var Tt = J.exports,
|
|
595
|
-
function
|
|
594
|
+
var Tt = J.exports, we = Tt("jsonp"), Nt = Ot, jt = 0;
|
|
595
|
+
function Lt() {
|
|
596
596
|
}
|
|
597
597
|
function Ot(e, t, n) {
|
|
598
598
|
typeof t == "function" && (n = t, t = {}), t || (t = {});
|
|
599
|
-
var o = t.prefix || "__jp", i = t.name || o +
|
|
599
|
+
var o = t.prefix || "__jp", i = t.name || o + jt++, a = t.param || "callback", h = t.timeout != null ? t.timeout : 6e4, u = encodeURIComponent, s = document.getElementsByTagName("script")[0] || document.head, l, c;
|
|
600
600
|
h && (c = setTimeout(function() {
|
|
601
601
|
p(), n && n(new Error("Timeout"));
|
|
602
602
|
}, h));
|
|
603
603
|
function p() {
|
|
604
|
-
l.parentNode && l.parentNode.removeChild(l), window[i] =
|
|
604
|
+
l.parentNode && l.parentNode.removeChild(l), window[i] = Lt, c && clearTimeout(c);
|
|
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("?") ? "&" : "?") + a + "=" + u(i), e = e.replace("?&", "?"),
|
|
610
|
+
we("jsonp got", x), p(), n && n(null, x);
|
|
611
|
+
}, e += (~e.indexOf("?") ? "&" : "?") + a + "=" + u(i), e = e.replace("?&", "?"), we('jsonp req "%s"', e), l = document.createElement("script"), l.src = e, s.parentNode.insertBefore(l, s), f;
|
|
612
612
|
}
|
|
613
613
|
const N = /* @__PURE__ */ Qe(Nt);
|
|
614
|
-
var Rt = Object.defineProperty, Et = Object.defineProperties, Pt = Object.getOwnPropertyDescriptors, z = Object.getOwnPropertySymbols,
|
|
614
|
+
var Rt = Object.defineProperty, Et = Object.defineProperties, Pt = Object.getOwnPropertyDescriptors, z = Object.getOwnPropertySymbols, Se = Object.prototype.hasOwnProperty, Ae = Object.prototype.propertyIsEnumerable, ge = (e, t, n) => t in e ? Rt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, k = (e, t) => {
|
|
615
615
|
for (var n in t || (t = {}))
|
|
616
|
-
|
|
616
|
+
Se.call(t, n) && ge(e, n, t[n]);
|
|
617
617
|
if (z)
|
|
618
618
|
for (var n of z(t))
|
|
619
|
-
|
|
619
|
+
Ae.call(t, n) && ge(e, n, t[n]);
|
|
620
620
|
return e;
|
|
621
621
|
}, ne = (e, t) => Et(e, Pt(t)), oe = (e, t) => {
|
|
622
622
|
var n = {};
|
|
623
623
|
for (var o in e)
|
|
624
|
-
|
|
624
|
+
Se.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
|
|
625
625
|
if (e != null && z)
|
|
626
626
|
for (var o of z(e))
|
|
627
|
-
t.indexOf(o) < 0 &&
|
|
627
|
+
t.indexOf(o) < 0 && Ae.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 Mt = (e) => !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function", Bt = (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
|
+
}), Dt = (e, t) => ({
|
|
638
638
|
top: (window.screen.height - t) / 2,
|
|
639
639
|
left: (window.screen.width - e) / 2
|
|
640
640
|
});
|
|
@@ -688,7 +688,7 @@ function Ht(e) {
|
|
|
688
688
|
url: R,
|
|
689
689
|
windowHeight: y = 400,
|
|
690
690
|
windowPosition: W = "windowCenter",
|
|
691
|
-
windowWidth:
|
|
691
|
+
windowWidth: L = 550
|
|
692
692
|
} = t, I = oe(t, [
|
|
693
693
|
"beforeOnClick",
|
|
694
694
|
"children",
|
|
@@ -710,23 +710,23 @@ function Ht(e) {
|
|
|
710
710
|
"windowPosition",
|
|
711
711
|
"windowWidth"
|
|
712
712
|
]);
|
|
713
|
-
const
|
|
713
|
+
const Te = async (re) => {
|
|
714
714
|
const ae = l(R, v);
|
|
715
715
|
if (!a) {
|
|
716
716
|
if (re.preventDefault(), n) {
|
|
717
717
|
const H = n();
|
|
718
|
-
|
|
718
|
+
Mt(H) && await H;
|
|
719
719
|
}
|
|
720
720
|
if (x) {
|
|
721
721
|
const H = k({
|
|
722
722
|
height: y,
|
|
723
|
-
width:
|
|
724
|
-
}, W === "windowCenter" ?
|
|
723
|
+
width: L
|
|
724
|
+
}, W === "windowCenter" ? Bt(L, y) : Dt(L, y));
|
|
725
725
|
Wt(ae, H, f);
|
|
726
726
|
}
|
|
727
727
|
p && p(re, ae);
|
|
728
728
|
}
|
|
729
|
-
},
|
|
729
|
+
}, Ne = ve(
|
|
730
730
|
"react-share__ShareButton",
|
|
731
731
|
{
|
|
732
732
|
"react-share__ShareButton--disabled": !!a,
|
|
@@ -744,8 +744,8 @@ function Ht(e) {
|
|
|
744
744
|
return /* @__PURE__ */ d(
|
|
745
745
|
"button",
|
|
746
746
|
ne(k({}, I), {
|
|
747
|
-
className:
|
|
748
|
-
onClick:
|
|
747
|
+
className: Ne,
|
|
748
|
+
onClick: Te,
|
|
749
749
|
ref: u,
|
|
750
750
|
style: je,
|
|
751
751
|
title: s,
|
|
@@ -768,7 +768,7 @@ function m(e, t, n, o) {
|
|
|
768
768
|
})
|
|
769
769
|
);
|
|
770
770
|
}
|
|
771
|
-
return i.displayName = `ShareButton-${e}`,
|
|
771
|
+
return i.displayName = `ShareButton-${e}`, Ee(i);
|
|
772
772
|
}
|
|
773
773
|
function $t(e, { subject: t, body: n, separator: o }) {
|
|
774
774
|
return "mailto:" + w({ subject: t, body: n ? n + o + e : e });
|
|
@@ -831,10 +831,10 @@ const Ft = m(
|
|
|
831
831
|
}
|
|
832
832
|
), Kt = Ft;
|
|
833
833
|
function Gt() {
|
|
834
|
-
const e =
|
|
834
|
+
const e = Pe(!1);
|
|
835
835
|
return be(() => (e.current = !0, () => {
|
|
836
836
|
e.current = !1;
|
|
837
|
-
}), []),
|
|
837
|
+
}), []), Me(() => e.current, []);
|
|
838
838
|
}
|
|
839
839
|
function Xt(e) {
|
|
840
840
|
var t = e, {
|
|
@@ -855,7 +855,7 @@ function Xt(e) {
|
|
|
855
855
|
});
|
|
856
856
|
}, [a]), /* @__PURE__ */ d("span", ne(k({ className: ve("react-share__ShareCount", o) }, h), { children: !c && s !== void 0 && n(s) }));
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function j(e) {
|
|
859
859
|
const t = (n) => /* @__PURE__ */ d(Xt, k({ getCount: e }, n));
|
|
860
860
|
return t.displayName = `ShareCount(${e.name})`, t;
|
|
861
861
|
}
|
|
@@ -867,7 +867,7 @@ function qt(e, t) {
|
|
|
867
867
|
);
|
|
868
868
|
});
|
|
869
869
|
}
|
|
870
|
-
|
|
870
|
+
j(qt);
|
|
871
871
|
function Qt(e, { title: t }) {
|
|
872
872
|
return g(e, "hatena.url"), `http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${t}`;
|
|
873
873
|
}
|
|
@@ -893,7 +893,7 @@ function Yt(e, t) {
|
|
|
893
893
|
}
|
|
894
894
|
);
|
|
895
895
|
}
|
|
896
|
-
|
|
896
|
+
j(Yt);
|
|
897
897
|
function Zt(e, { title: t, description: n }) {
|
|
898
898
|
return g(e, "instapaper.url"), "http://www.instapaper.com/hello2" + w({
|
|
899
899
|
url: e,
|
|
@@ -1029,7 +1029,7 @@ function an(e, t) {
|
|
|
1029
1029
|
})
|
|
1030
1030
|
);
|
|
1031
1031
|
}
|
|
1032
|
-
|
|
1032
|
+
j(an);
|
|
1033
1033
|
function sn(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,
|
|
@@ -1060,7 +1060,7 @@ function ln(e, t) {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
);
|
|
1062
1062
|
}
|
|
1063
|
-
|
|
1063
|
+
j(ln);
|
|
1064
1064
|
function dn(e, { title: t }) {
|
|
1065
1065
|
return g(e, "pocket.url"), "https://getpocket.com/save" + w({
|
|
1066
1066
|
url: e,
|
|
@@ -1122,7 +1122,7 @@ function hn(e, t) {
|
|
|
1122
1122
|
);
|
|
1123
1123
|
});
|
|
1124
1124
|
}
|
|
1125
|
-
|
|
1125
|
+
j(hn);
|
|
1126
1126
|
function pn(e, { title: t }) {
|
|
1127
1127
|
return g(e, "telegram.url"), "https://telegram.me/share/url" + w({
|
|
1128
1128
|
url: e,
|
|
@@ -1178,7 +1178,7 @@ function wn(e, t) {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
);
|
|
1180
1180
|
}
|
|
1181
|
-
|
|
1181
|
+
j(wn);
|
|
1182
1182
|
function gn(e, {
|
|
1183
1183
|
title: t,
|
|
1184
1184
|
via: n,
|
|
@@ -1264,7 +1264,7 @@ function vn(e, t) {
|
|
|
1264
1264
|
})
|
|
1265
1265
|
);
|
|
1266
1266
|
}
|
|
1267
|
-
|
|
1267
|
+
j(vn);
|
|
1268
1268
|
function xn(e, { title: t, image: n }) {
|
|
1269
1269
|
return g(e, "weibo.url"), "http://service.weibo.com/share/share.php" + w({
|
|
1270
1270
|
url: e,
|
|
@@ -1324,17 +1324,17 @@ m(
|
|
|
1324
1324
|
windowHeight: 400
|
|
1325
1325
|
}
|
|
1326
1326
|
);
|
|
1327
|
-
var ie = {}, Sn =
|
|
1327
|
+
var ie = {}, Sn = We;
|
|
1328
1328
|
Object.defineProperty(ie, "__esModule", {
|
|
1329
1329
|
value: !0
|
|
1330
1330
|
});
|
|
1331
|
-
var
|
|
1331
|
+
var _e = ie.default = void 0, An = Sn(De()), _n = Le, Tn = (0, An.default)(/* @__PURE__ */ (0, _n.jsx)("circle", {
|
|
1332
1332
|
cx: "12",
|
|
1333
1333
|
cy: "12",
|
|
1334
1334
|
r: "8"
|
|
1335
1335
|
}), "FiberManualRecord");
|
|
1336
|
-
|
|
1337
|
-
const Nn =
|
|
1336
|
+
_e = ie.default = Tn;
|
|
1337
|
+
const Nn = He((e) => {
|
|
1338
1338
|
var t, n, o, i, a, h, u, s, l;
|
|
1339
1339
|
return {
|
|
1340
1340
|
embedDesktopTabCardWp: {
|
|
@@ -1382,7 +1382,7 @@ const Nn = $e((e) => {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
1384
1384
|
};
|
|
1385
|
-
}),
|
|
1385
|
+
}), jn = `
|
|
1386
1386
|
.doticon .Platform-x-SvgIcon-root{
|
|
1387
1387
|
font-size: 6px;
|
|
1388
1388
|
}
|
|
@@ -1401,8 +1401,8 @@ font-size: 6px;
|
|
|
1401
1401
|
overflow: hidden;
|
|
1402
1402
|
word-wrap: break-word;
|
|
1403
1403
|
}
|
|
1404
|
-
`,
|
|
1405
|
-
const t =
|
|
1404
|
+
`, Ln = ({ content: e }) => {
|
|
1405
|
+
const t = $e(e == null ? void 0 : e.Description) || "", n = Nn();
|
|
1406
1406
|
return /* @__PURE__ */ d(
|
|
1407
1407
|
te,
|
|
1408
1408
|
{
|
|
@@ -1413,7 +1413,7 @@ font-size: 6px;
|
|
|
1413
1413
|
onClick: () => window.open(e == null ? void 0 : e.LandingPage, "_blank"),
|
|
1414
1414
|
children: /* @__PURE__ */ C(O, { container: !0, children: [
|
|
1415
1415
|
/* @__PURE__ */ C(O, { item: !0, xs: 12, className: "card-container", children: [
|
|
1416
|
-
/* @__PURE__ */ d("style", { children:
|
|
1416
|
+
/* @__PURE__ */ d("style", { children: jn }),
|
|
1417
1417
|
(e == null ? void 0 : e.colorCode) !== void 0 && (e == null ? void 0 : e.colorCode) !== "" ? /* @__PURE__ */ d(
|
|
1418
1418
|
b,
|
|
1419
1419
|
{
|
|
@@ -1424,7 +1424,7 @@ font-size: 6px;
|
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
1426
1426
|
) : /* @__PURE__ */ d(
|
|
1427
|
-
|
|
1427
|
+
Ue,
|
|
1428
1428
|
{
|
|
1429
1429
|
component: "img",
|
|
1430
1430
|
image: e == null ? void 0 : e.Thumbnail,
|
|
@@ -1437,7 +1437,7 @@ font-size: 6px;
|
|
|
1437
1437
|
}
|
|
1438
1438
|
)
|
|
1439
1439
|
] }),
|
|
1440
|
-
/* @__PURE__ */ d(O, { item: !0, xs: 12, className: "card-content-area", children: /* @__PURE__ */ C(
|
|
1440
|
+
/* @__PURE__ */ d(O, { item: !0, xs: 12, className: "card-content-area", children: /* @__PURE__ */ C(Ce, { className: "contentBox", children: [
|
|
1441
1441
|
/* @__PURE__ */ C(b, { className: "TopContentBox", children: [
|
|
1442
1442
|
/* @__PURE__ */ d(
|
|
1443
1443
|
T,
|
|
@@ -1463,7 +1463,7 @@ font-size: 6px;
|
|
|
1463
1463
|
}
|
|
1464
1464
|
)
|
|
1465
1465
|
] }),
|
|
1466
|
-
/* @__PURE__ */ C(
|
|
1466
|
+
/* @__PURE__ */ C(ke, { className: "cardActionWp", children: [
|
|
1467
1467
|
/* @__PURE__ */ d(T, { variant: "p4semibold", children: e == null ? void 0 : e.Author }),
|
|
1468
1468
|
/* @__PURE__ */ d(
|
|
1469
1469
|
T,
|
|
@@ -1474,17 +1474,17 @@ font-size: 6px;
|
|
|
1474
1474
|
marginLeft: "8px"
|
|
1475
1475
|
},
|
|
1476
1476
|
className: "doticon",
|
|
1477
|
-
children: /* @__PURE__ */ d(
|
|
1477
|
+
children: /* @__PURE__ */ d(_e, {})
|
|
1478
1478
|
}
|
|
1479
1479
|
),
|
|
1480
|
-
/* @__PURE__ */ d(T, { variant: "p4regular", children:
|
|
1480
|
+
/* @__PURE__ */ d(T, { variant: "p4regular", children: Ve(e == null ? void 0 : e.creationDate) })
|
|
1481
1481
|
] })
|
|
1482
1482
|
] }) })
|
|
1483
1483
|
] })
|
|
1484
1484
|
}
|
|
1485
1485
|
);
|
|
1486
1486
|
};
|
|
1487
|
-
function
|
|
1487
|
+
function me({ maxWidth: e = 350, maxHeight: t }) {
|
|
1488
1488
|
return /* @__PURE__ */ C(
|
|
1489
1489
|
te,
|
|
1490
1490
|
{
|
|
@@ -1555,7 +1555,7 @@ const On = ({ selectedItem: e }) => {
|
|
|
1555
1555
|
alignItems: "center"
|
|
1556
1556
|
},
|
|
1557
1557
|
className: "card1",
|
|
1558
|
-
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ d(
|
|
1558
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ d(Ln, { content: i }) : /* @__PURE__ */ d(me, { maxWidth: 480, maxHeight: 500 })
|
|
1559
1559
|
}
|
|
1560
1560
|
)
|
|
1561
1561
|
}
|
|
@@ -1588,7 +1588,7 @@ const On = ({ selectedItem: e }) => {
|
|
|
1588
1588
|
},
|
|
1589
1589
|
width: { xs: "360px", sm: "480px" }
|
|
1590
1590
|
},
|
|
1591
|
-
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ C(
|
|
1591
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ C(Oe, { children: [
|
|
1592
1592
|
/* @__PURE__ */ C(
|
|
1593
1593
|
b,
|
|
1594
1594
|
{
|
|
@@ -1701,7 +1701,7 @@ const On = ({ selectedItem: e }) => {
|
|
|
1701
1701
|
]
|
|
1702
1702
|
}
|
|
1703
1703
|
)
|
|
1704
|
-
] }) : /* @__PURE__ */ d(
|
|
1704
|
+
] }) : /* @__PURE__ */ d(me, { maxWidth: 480, maxHeight: 500 })
|
|
1705
1705
|
}
|
|
1706
1706
|
)
|
|
1707
1707
|
}
|
|
@@ -1716,7 +1716,7 @@ function Rn({
|
|
|
1716
1716
|
setSelectedItem: n
|
|
1717
1717
|
}) {
|
|
1718
1718
|
return /* @__PURE__ */ d(b, { className: "embedmodal", children: /* @__PURE__ */ C(
|
|
1719
|
-
|
|
1719
|
+
ze,
|
|
1720
1720
|
{
|
|
1721
1721
|
fullWidth: !0,
|
|
1722
1722
|
open: e,
|
|
@@ -1754,7 +1754,7 @@ function Rn({
|
|
|
1754
1754
|
mt: 1,
|
|
1755
1755
|
mr: 3,
|
|
1756
1756
|
onClick: t,
|
|
1757
|
-
children: /* @__PURE__ */ d(
|
|
1757
|
+
children: /* @__PURE__ */ d(Fe, {})
|
|
1758
1758
|
}
|
|
1759
1759
|
)
|
|
1760
1760
|
}
|
|
@@ -1765,10 +1765,6 @@ function Rn({
|
|
|
1765
1765
|
) });
|
|
1766
1766
|
}
|
|
1767
1767
|
const En = (e) => {
|
|
1768
|
-
ke.success(e);
|
|
1769
|
-
}, me = (e) => {
|
|
1770
|
-
ke.error(e);
|
|
1771
|
-
}, Pn = (e) => {
|
|
1772
1768
|
const { t } = xe(), n = Ye(), { shareUrl: o = "", domainUrl: i = "", enablePreview: a, showRecentArticles: h } = e, u = () => {
|
|
1773
1769
|
if (e.whiteIcon)
|
|
1774
1770
|
return {
|
|
@@ -1799,10 +1795,10 @@ const En = (e) => {
|
|
|
1799
1795
|
}, c = {
|
|
1800
1796
|
opacity: 1
|
|
1801
1797
|
}, p = async () => {
|
|
1802
|
-
"clipboard" in navigator && i ? (await navigator.clipboard.writeText(i),
|
|
1798
|
+
"clipboard" in navigator && i ? (await navigator.clipboard.writeText(i), Ke(t(Ge))) : le(t(de));
|
|
1803
1799
|
}, f = () => {
|
|
1804
1800
|
}, [x, v] = U(!1), A = (y = "") => {
|
|
1805
|
-
y ||
|
|
1801
|
+
y || le(t(de));
|
|
1806
1802
|
}, _ = () => {
|
|
1807
1803
|
v(!0);
|
|
1808
1804
|
}, R = () => {
|
|
@@ -1899,7 +1895,7 @@ const En = (e) => {
|
|
|
1899
1895
|
]
|
|
1900
1896
|
}
|
|
1901
1897
|
);
|
|
1902
|
-
},
|
|
1898
|
+
}, Hn = Re.memo(En);
|
|
1903
1899
|
export {
|
|
1904
|
-
|
|
1900
|
+
Hn as default
|
|
1905
1901
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as P } from "./index-
|
|
1
|
+
import { g as P } from "./index-Bv4QVvQA.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { u as b, p as v } from "./EventList-
|
|
3
|
+
import { u as b, p as v } from "./EventList-hs_1aiMc.mjs";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as m } from "./index-
|
|
1
|
+
import { g as m } from "./index-Bv4QVvQA.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { u as _, p as b } from "./EventList-
|
|
3
|
+
import { u as _, p as b } from "./EventList-hs_1aiMc.mjs";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as w } from "./index-
|
|
1
|
+
import { g as w } from "./index-Bv4QVvQA.mjs";
|
|
2
2
|
import D from "react";
|
|
3
|
-
import { u as C, p as N } from "./EventList-
|
|
3
|
+
import { u as C, p as N } from "./EventList-hs_1aiMc.mjs";
|
|
4
4
|
function I(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g } from "./index-
|
|
1
|
+
import { g } from "./index-Bv4QVvQA.mjs";
|
|
2
2
|
import v from "react";
|
|
3
|
-
import { u as b, p as O } from "./EventList-
|
|
3
|
+
import { u as b, p as O } from "./EventList-hs_1aiMc.mjs";
|
|
4
4
|
function V(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const o = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as d } from "./index-
|
|
1
|
+
import { g as d } from "./index-Bv4QVvQA.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { u as m, p as _ } from "./EventList-
|
|
3
|
+
import { u as m, p as _ } from "./EventList-hs_1aiMc.mjs";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const a = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as m } from "./index-
|
|
1
|
+
import { g as m } from "./index-Bv4QVvQA.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { u as v, p as w } from "./EventList-
|
|
3
|
+
import { u as v, p as w } from "./EventList-hs_1aiMc.mjs";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var a = 0; a < e.length; a++) {
|
|
6
6
|
const s = e[a];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as U } from "./index-
|
|
1
|
+
import { g as U } from "./index-Bv4QVvQA.mjs";
|
|
2
2
|
import I from "react";
|
|
3
|
-
import { u as L, p as M } from "./EventList-
|
|
3
|
+
import { u as L, p as M } from "./EventList-hs_1aiMc.mjs";
|
|
4
4
|
function Y(a, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const o = e[t];
|