fansunited-widgets-cdn 0.0.86-RC7 → 0.0.86
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/chunks/{Alert-B6o66mYo.js → Alert-DyM0oQgv.js} +32 -32
- package/chunks/{CardContent-NCZhfGcZ.js → CardContent-JGV7AYRJ.js} +19 -18
- package/chunks/{ChevronRight-1pLZ7T0v.js → ChevronRight-BjivYvSo.js} +11 -11
- package/chunks/{ClassicQuizWrapper-n2epPO4k.js → ClassicQuizWrapper-ChR6VdmQ.js} +8 -9
- package/chunks/{CollectLeadForm-C_3plJtn-Dr8J3eDw.js → CollectLeadForm-iZpBeMTk-Be-1nl3u.js} +2 -2
- package/chunks/{CollectLeadWrapper-CCtTZAxL.js → CollectLeadWrapper-DWGnbQNs.js} +22 -23
- package/chunks/{EitherOrById-ClGwMK0b.js → EitherOrById-HLRwnSut.js} +65 -65
- package/chunks/{EitherOrPreviewWrapper-BYiKyYwi.js → EitherOrPreviewWrapper-Bhb40ehK.js} +10 -10
- package/chunks/{Error-BurPfBJw-DWYn31sK.js → Error-D0HPar1M-CvBCxjku.js} +3 -3
- package/chunks/{EventGameWrapper-BphusLTk.js → EventGameWrapper-FLrbgLNx.js} +95 -96
- package/chunks/{Grid-yjqNNhEx.js → Grid-BgTvl7U0.js} +37 -37
- package/chunks/{IconButton-D7onwgY0.js → IconButton-UDap3hOW.js} +21 -21
- package/chunks/{List-8Vy9IZiv.js → List-CaGDrvb1.js} +23 -23
- package/chunks/{MatchPredictionContainer-BGytBwLo.js → MatchPredictionContainer-CCryS3WW.js} +7 -7
- package/chunks/{MatchQuizWrapper-BGjldBpF.js → MatchQuizWrapper-CNPkFMYb.js} +149 -150
- package/chunks/{OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js → OverlayLeadAfterCollection-CwqTKIoQ-B249CJNS.js} +3 -3
- package/chunks/{OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js → OverlayScoreStateSkeleton-CR-b8BTk-CcF6Sgb_.js} +8 -8
- package/chunks/{PersonalityQuizWrapper-BgLFw5tM.js → PersonalityQuizWrapper-D0_OHdgC.js} +315 -314
- package/chunks/{PlayerOfTheMatch-CImBLG3T.js → PlayerOfTheMatch-KHUAoy28.js} +96 -96
- package/chunks/{PollWrapper-QpIKCCVF.js → PollWrapper-Dsi16RT3.js} +8 -9
- package/chunks/{Portal-DegkUXpU-ByGP9zS1.js → Portal-Cvhw2F3y-CfNE9zHV.js} +313 -314
- package/chunks/{PreviewQuizById-Ba6yhxKV.js → PreviewQuizById-DdmuvcAL.js} +1019 -996
- package/chunks/{Sheet-U5EnSrgg.js → Sheet-x5Z9YdFs.js} +35 -35
- package/chunks/{Stack-DbDi7kPO.js → Stack-DZB2vzbp.js} +36 -36
- package/chunks/{Tabs-leN3Fb8D--YMyy3EM.js → Tabs-DmfafFAr-bCryBf-H.js} +2 -2
- package/chunks/{TeamNextMatchPrediction-9VSQOCcC.js → TeamNextMatchPrediction-C-fToJvQ.js} +2 -2
- package/chunks/{Tutorial-CRJLOovs.js → Tutorial-BI9zKJw5.js} +72 -73
- package/chunks/{createLucideIcon-CMWOQsDL.js → createLucideIcon-89uTOJaq.js} +8 -8
- package/chunks/{createSvgIcon-D9D4a1R9.js → createSvgIcon-DsrdSWLs.js} +167 -167
- package/chunks/{default-quiz-bg-ADjjIfPj.js → default-quiz-bg-CbX4gLOf.js} +15 -14
- package/chunks/{index-UwW9niUj.js → index-BJtPwLU2.js} +1 -1
- package/chunks/{index-CPTAlr_t.js → index-BXdeff8G.js} +1 -1
- package/chunks/{index-Da0AXb_O.js → index-BwmaB0Jc.js} +1 -1
- package/chunks/{index-CviTG4Nv.js → index-CSM_gD0c.js} +1 -1
- package/chunks/{index-BycLbIYY.js → index-CfNoJqrf.js} +1 -1
- package/chunks/{index-C6KAc5B_.js → index-CowyrOBF.js} +1 -1
- package/chunks/{index-DUQ2LFod-Cw45tHim.js → index-CsLtqiB_-DH3NMQxW.js} +32 -29
- package/chunks/{index-DwR4J2nN.js → index-CtAJur0I.js} +1 -1
- package/chunks/{index-CILd3yUc.js → index-DBucbNfJ.js} +1 -1
- package/chunks/{index-CHV6tlpH.js → index-DRDXyva1.js} +9 -9
- package/chunks/{index-CvGJXa6l.js → index-DRsTGSlf.js} +1 -1
- package/chunks/{index-CK2RXrJm.js → index-DXh1obfA.js} +1 -1
- package/chunks/{index-B74jHeYm.js → index-Dbuicm10.js} +2 -2
- package/chunks/{index-BfVvJg5R.js → index-DoDwv4Hi.js} +1 -1
- package/chunks/{index-CiB_Gqim.js → index-SdhwlCm-.js} +1 -1
- package/chunks/{index-0ADq_9jd.js → index-TCdxAH9x.js} +1 -1
- package/chunks/{init-C-gCorsh.js → init-CxQCMVyG.js} +1 -1
- package/chunks/main-Cx-uBTln.js +51049 -0
- package/chunks/resolveProps-DfBmYyXU.js +1632 -0
- package/chunks/{users-CXdzg3DM.js → users-Bltqtuv-.js} +1 -1
- package/fu-widgets-loader.es.js +15 -17
- package/fu-widgets-loader.js +1 -1
- package/fu-widgets.es.js +2 -2
- package/fu-widgets.iife.js +290 -290
- package/manifest.json +52 -58
- package/package.json +1 -1
- package/chunks/index-CJqcqbHq.js +0 -5
- package/chunks/index.es-wHqA4PHm.js +0 -11480
- package/chunks/main-Bh6iw92_.js +0 -39827
- package/chunks/resolveProps-Bgg0H6c2.js +0 -1016
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { j as n, g as pe,
|
|
2
|
-
import {
|
|
3
|
-
import { I as ge } from "./IconButton-
|
|
4
|
-
import { C as Ge, a as je, S as Me } from "./ChevronRight-
|
|
5
|
-
import { c as Ae, C as de } from "./createLucideIcon-
|
|
6
|
-
import { C as Pe } from "./CardContent-
|
|
7
|
-
import { c as Le, C as Oe, S as Fe } from "./Sheet-
|
|
8
|
-
import { c as
|
|
9
|
-
import { S as N } from "./Stack-
|
|
1
|
+
import { j as n, g as pe, b as fe, r as g, _ as y, d as ie, e as te, t as h, f as be, a as Ee, h as De, i as Ie, k as Je } from "./main-Cx-uBTln.js";
|
|
2
|
+
import { s as $, u as ve, c as ne, d as he, e as le, f as Se, g as ye, h as Ye, i as Te, j as ke, B as D, b as ae, T as b, a as oe, C as Re } from "./resolveProps-DfBmYyXU.js";
|
|
3
|
+
import { I as ge } from "./IconButton-UDap3hOW.js";
|
|
4
|
+
import { C as Ge, a as je, S as Me } from "./ChevronRight-BjivYvSo.js";
|
|
5
|
+
import { c as Ae, C as de } from "./createLucideIcon-89uTOJaq.js";
|
|
6
|
+
import { C as Pe } from "./CardContent-JGV7AYRJ.js";
|
|
7
|
+
import { c as Le, C as Oe, S as Fe } from "./Sheet-x5Z9YdFs.js";
|
|
8
|
+
import { c as ce } from "./createSvgIcon-DsrdSWLs.js";
|
|
9
|
+
import { S as N } from "./Stack-DZB2vzbp.js";
|
|
10
10
|
const He = Le(/* @__PURE__ */ n.jsx("path", {
|
|
11
11
|
d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
|
|
12
12
|
}), "Person");
|
|
@@ -45,7 +45,7 @@ const ze = ["alt", "color", "size", "variant", "src", "srcSet", "children", "com
|
|
|
45
45
|
src: r,
|
|
46
46
|
srcSet: d
|
|
47
47
|
} = e, v = {
|
|
48
|
-
root: ["root", s && `variant${
|
|
48
|
+
root: ["root", s && `variant${te(s)}`, i && `color${te(i)}`, t && `size${te(t)}`],
|
|
49
49
|
img: [(r || d) && "img"],
|
|
50
50
|
fallback: ["fallback"]
|
|
51
51
|
};
|
|
@@ -144,12 +144,12 @@ const W = /* @__PURE__ */ g.forwardRef(function(t, s) {
|
|
|
144
144
|
variant: I = "soft",
|
|
145
145
|
src: A,
|
|
146
146
|
srcSet: x,
|
|
147
|
-
children:
|
|
147
|
+
children: c,
|
|
148
148
|
component: w,
|
|
149
149
|
slots: u = {},
|
|
150
150
|
slotProps: C = {}
|
|
151
151
|
} = i, E = ie(i, ze), Y = t.variant || (r == null ? void 0 : r.variant) || I, M = t.color || (r == null ? void 0 : r.color) || v, S = t.size || (r == null ? void 0 : r.size) || p;
|
|
152
|
-
let
|
|
152
|
+
let l = null;
|
|
153
153
|
const B = y({}, i, {
|
|
154
154
|
color: M,
|
|
155
155
|
size: S,
|
|
@@ -159,13 +159,13 @@ const W = /* @__PURE__ */ g.forwardRef(function(t, s) {
|
|
|
159
159
|
component: w,
|
|
160
160
|
slots: u,
|
|
161
161
|
slotProps: C
|
|
162
|
-
}), [m, J] =
|
|
162
|
+
}), [m, J] = ne("root", {
|
|
163
163
|
ref: s,
|
|
164
164
|
className: a.root,
|
|
165
165
|
elementType: We,
|
|
166
166
|
externalForwardedProps: o,
|
|
167
167
|
ownerState: B
|
|
168
|
-
}), [L, F] =
|
|
168
|
+
}), [L, F] = ne("img", {
|
|
169
169
|
additionalProps: {
|
|
170
170
|
alt: d,
|
|
171
171
|
src: A,
|
|
@@ -175,7 +175,7 @@ const W = /* @__PURE__ */ g.forwardRef(function(t, s) {
|
|
|
175
175
|
elementType: Ke,
|
|
176
176
|
externalForwardedProps: o,
|
|
177
177
|
ownerState: B
|
|
178
|
-
}), [K, X] =
|
|
178
|
+
}), [K, X] = ne("fallback", {
|
|
179
179
|
className: a.fallback,
|
|
180
180
|
elementType: Xe,
|
|
181
181
|
externalForwardedProps: o,
|
|
@@ -184,8 +184,8 @@ const W = /* @__PURE__ */ g.forwardRef(function(t, s) {
|
|
|
184
184
|
src: A,
|
|
185
185
|
srcSet: x
|
|
186
186
|
}));
|
|
187
|
-
return (A || x) && U !== "error" ?
|
|
188
|
-
children:
|
|
187
|
+
return (A || x) && U !== "error" ? l = /* @__PURE__ */ n.jsx(L, y({}, F)) : c != null ? l = c : d ? l = d[0] : l = /* @__PURE__ */ n.jsx(K, y({}, X)), /* @__PURE__ */ n.jsx(m, y({}, J, {
|
|
188
|
+
children: l
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
191
191
|
function Ve(e) {
|
|
@@ -200,7 +200,7 @@ const xe = fe("MuiLink", ["root", "disabled", "focusVisible", "colorPrimary", "c
|
|
|
200
200
|
focusVisible: d,
|
|
201
201
|
disabled: v
|
|
202
202
|
} = e, p = {
|
|
203
|
-
root: ["root", s && `color${
|
|
203
|
+
root: ["root", s && `color${te(s)}`, v && "disabled", d && "focusVisible", t, r && `underline${te(r)}`, i && `variant${te(i)}`],
|
|
204
204
|
startDecorator: ["startDecorator"],
|
|
205
205
|
endDecorator: ["endDecorator"]
|
|
206
206
|
};
|
|
@@ -340,10 +340,10 @@ const xe = fe("MuiLink", ["root", "disabled", "focusVisible", "colorPrimary", "c
|
|
|
340
340
|
color: r = "primary",
|
|
341
341
|
textColor: d,
|
|
342
342
|
variant: v
|
|
343
|
-
} = i, p = ie(i, qe), I = g.useContext(
|
|
343
|
+
} = i, p = ie(i, qe), I = g.useContext(le), A = g.useContext(Se), x = ye(y({}, p, {
|
|
344
344
|
color: d
|
|
345
345
|
})), {
|
|
346
|
-
children:
|
|
346
|
+
children: c,
|
|
347
347
|
disabled: w = !1,
|
|
348
348
|
onBlur: u,
|
|
349
349
|
onFocus: C,
|
|
@@ -351,7 +351,7 @@ const xe = fe("MuiLink", ["root", "disabled", "focusVisible", "colorPrimary", "c
|
|
|
351
351
|
overlay: Y = !1,
|
|
352
352
|
underline: M = "hover",
|
|
353
353
|
endDecorator: S,
|
|
354
|
-
startDecorator:
|
|
354
|
+
startDecorator: l,
|
|
355
355
|
component: B,
|
|
356
356
|
slots: a = {},
|
|
357
357
|
slotProps: o = {}
|
|
@@ -360,7 +360,7 @@ const xe = fe("MuiLink", ["root", "disabled", "focusVisible", "colorPrimary", "c
|
|
|
360
360
|
onBlur: F,
|
|
361
361
|
onFocus: K,
|
|
362
362
|
ref: X
|
|
363
|
-
} =
|
|
363
|
+
} = Ye(), [U, V] = g.useState(!1), q = Te(s, X), ee = (G) => {
|
|
364
364
|
F(G), L.current === !1 && V(!1), u && u(G);
|
|
365
365
|
}, T = (G) => {
|
|
366
366
|
K(G), L.current === !0 && V(!0), C && C(G);
|
|
@@ -377,7 +377,7 @@ const xe = fe("MuiLink", ["root", "disabled", "focusVisible", "colorPrimary", "c
|
|
|
377
377
|
component: B,
|
|
378
378
|
slots: a,
|
|
379
379
|
slotProps: o
|
|
380
|
-
}), [O, z] =
|
|
380
|
+
}), [O, z] = ne("root", {
|
|
381
381
|
additionalProps: {
|
|
382
382
|
onBlur: ee,
|
|
383
383
|
onFocus: T
|
|
@@ -387,25 +387,25 @@ const xe = fe("MuiLink", ["root", "disabled", "focusVisible", "colorPrimary", "c
|
|
|
387
387
|
elementType: nt,
|
|
388
388
|
externalForwardedProps: P,
|
|
389
389
|
ownerState: k
|
|
390
|
-
}), [_, R] =
|
|
390
|
+
}), [_, R] = ne("startDecorator", {
|
|
391
391
|
className: H.startDecorator,
|
|
392
392
|
elementType: et,
|
|
393
393
|
externalForwardedProps: P,
|
|
394
394
|
ownerState: k
|
|
395
|
-
}), [f, j] =
|
|
395
|
+
}), [f, j] = ne("endDecorator", {
|
|
396
396
|
className: H.endDecorator,
|
|
397
397
|
elementType: tt,
|
|
398
398
|
externalForwardedProps: P,
|
|
399
399
|
ownerState: k
|
|
400
400
|
});
|
|
401
|
-
return /* @__PURE__ */ n.jsx(
|
|
401
|
+
return /* @__PURE__ */ n.jsx(le.Provider, {
|
|
402
402
|
value: !0,
|
|
403
403
|
children: /* @__PURE__ */ n.jsxs(O, y({}, z, {
|
|
404
|
-
children: [
|
|
405
|
-
children:
|
|
406
|
-
})),
|
|
407
|
-
variant:
|
|
408
|
-
}) :
|
|
404
|
+
children: [l && /* @__PURE__ */ n.jsx(_, y({}, R, {
|
|
405
|
+
children: l
|
|
406
|
+
})), ke(c, ["Skeleton"]) ? /* @__PURE__ */ g.cloneElement(c, {
|
|
407
|
+
variant: c.props.variant || "inline"
|
|
408
|
+
}) : c, S && /* @__PURE__ */ n.jsx(f, y({}, j, {
|
|
409
409
|
children: S
|
|
410
410
|
}))]
|
|
411
411
|
}))
|
|
@@ -447,13 +447,13 @@ const it = [
|
|
|
447
447
|
const At = [
|
|
448
448
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
449
449
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
450
|
-
],
|
|
450
|
+
], ct = Ae("X", At), lt = ce([/* @__PURE__ */ n.jsx("path", {
|
|
451
451
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
452
452
|
}, "0"), /* @__PURE__ */ n.jsx("path", {
|
|
453
453
|
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
454
|
-
}, "1")], "AccessTime"), we =
|
|
454
|
+
}, "1")], "AccessTime"), we = ce(/* @__PURE__ */ n.jsx("path", {
|
|
455
455
|
d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61"
|
|
456
|
-
}), "FilterAlt"), me =
|
|
456
|
+
}), "FilterAlt"), me = ce(/* @__PURE__ */ n.jsx("path", {
|
|
457
457
|
d: "M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"
|
|
458
458
|
}), "Star"), gt = ({ backgroundImage: e, link: t, height: s = 150, minHeight: i = 150 }) => {
|
|
459
459
|
const r = /* @__PURE__ */ n.jsxs(
|
|
@@ -979,7 +979,7 @@ const At = [
|
|
|
979
979
|
defaultImagePlaceholderUrl: I,
|
|
980
980
|
showSignInCTA: A,
|
|
981
981
|
signInCTA: x,
|
|
982
|
-
voteCount:
|
|
982
|
+
voteCount: c
|
|
983
983
|
}) => {
|
|
984
984
|
const w = ut(s, i), u = (C) => (C.stopPropagation(), C.preventDefault(), d(e.id), !1);
|
|
985
985
|
return /* @__PURE__ */ n.jsxs(
|
|
@@ -1071,10 +1071,10 @@ const At = [
|
|
|
1071
1071
|
children: h("potm.minutes_played", { minutes: e.minutesPlayed })
|
|
1072
1072
|
}
|
|
1073
1073
|
) : /* @__PURE__ */ n.jsx(n.Fragment, {}),
|
|
1074
|
-
|
|
1075
|
-
|
|
1074
|
+
c ? /* @__PURE__ */ n.jsxs(b, { level: "body-sm", textColor: "text.secondary", children: [
|
|
1075
|
+
c,
|
|
1076
1076
|
" ",
|
|
1077
|
-
h("potm.votes", { count:
|
|
1077
|
+
h("potm.votes", { count: c })
|
|
1078
1078
|
] }) : /* @__PURE__ */ n.jsx(n.Fragment, {})
|
|
1079
1079
|
] }),
|
|
1080
1080
|
/* @__PURE__ */ n.jsx(Oe, { sx: { width: "100%", pb: 2 }, children: A && x ? /* @__PURE__ */ n.jsx(
|
|
@@ -1106,7 +1106,7 @@ const At = [
|
|
|
1106
1106
|
disabled: s !== i || v || p,
|
|
1107
1107
|
color: t ? "warning" : "primary",
|
|
1108
1108
|
variant: t ? "outlined" : "solid",
|
|
1109
|
-
startDecorator: t ? /* @__PURE__ */ n.jsx(
|
|
1109
|
+
startDecorator: t ? /* @__PURE__ */ n.jsx(ct, {}) : /* @__PURE__ */ n.jsx(me, {}),
|
|
1110
1110
|
sx: {
|
|
1111
1111
|
borderRadius: "full",
|
|
1112
1112
|
position: "relative",
|
|
@@ -1212,42 +1212,42 @@ const At = [
|
|
|
1212
1212
|
`mobile-${r.id}`
|
|
1213
1213
|
))
|
|
1214
1214
|
] }), Xt = (e) => {
|
|
1215
|
-
const [t, s] = g.useState(0), [i, r] = g.useState(0), [d, v] = g.useState(0), [p, I] = g.useState(!1), [A, x] = g.useState(0),
|
|
1215
|
+
const [t, s] = g.useState(0), [i, r] = g.useState(0), [d, v] = g.useState(0), [p, I] = g.useState(!1), [A, x] = g.useState(0), c = g.useRef(null), w = Math.abs(A) > 10, u = () => {
|
|
1216
1216
|
t > 0 && s(t - 1);
|
|
1217
1217
|
}, C = () => {
|
|
1218
1218
|
t < e - 1 && s(t + 1);
|
|
1219
|
-
}, E = (
|
|
1219
|
+
}, E = (l) => {
|
|
1220
1220
|
x(0), I(!0);
|
|
1221
|
-
const B = "touches" in
|
|
1221
|
+
const B = "touches" in l ? l.touches[0] ? l.touches[0].clientX : 0 : "clientX" in l ? l.clientX : 0;
|
|
1222
1222
|
r(B), v(B);
|
|
1223
|
-
}, Y = (
|
|
1223
|
+
}, Y = (l) => {
|
|
1224
1224
|
if (!p) return;
|
|
1225
|
-
const B = "touches" in
|
|
1225
|
+
const B = "touches" in l ? l.touches[0] ? l.touches[0].clientX : 0 : "clientX" in l ? l.clientX : 0;
|
|
1226
1226
|
v(B);
|
|
1227
1227
|
const a = B - i;
|
|
1228
1228
|
x(a);
|
|
1229
1229
|
}, M = () => {
|
|
1230
1230
|
if (p) {
|
|
1231
1231
|
if (w) {
|
|
1232
|
-
const
|
|
1233
|
-
|
|
1232
|
+
const l = i - d, B = 50;
|
|
1233
|
+
l > B && t < e - 1 ? s(t + 1) : l < -B && t > 0 && s(t - 1);
|
|
1234
1234
|
}
|
|
1235
1235
|
I(!1), x(0);
|
|
1236
1236
|
}
|
|
1237
1237
|
};
|
|
1238
1238
|
return g.useEffect(() => {
|
|
1239
|
-
const
|
|
1240
|
-
if (!
|
|
1239
|
+
const l = c.current;
|
|
1240
|
+
if (!l) return;
|
|
1241
1241
|
const B = (m) => E(m), a = (m) => Y(m), o = () => M();
|
|
1242
|
-
return
|
|
1243
|
-
|
|
1242
|
+
return l.addEventListener("touchstart", B), l.addEventListener("touchmove", a), l.addEventListener("touchend", o), () => {
|
|
1243
|
+
l.removeEventListener("touchstart", B), l.removeEventListener("touchmove", a), l.removeEventListener("touchend", o);
|
|
1244
1244
|
};
|
|
1245
1245
|
}, [p, i, d, t, e]), g.useEffect(() => {
|
|
1246
|
-
const
|
|
1246
|
+
const l = (B) => {
|
|
1247
1247
|
B.key === "ArrowLeft" ? u() : B.key === "ArrowRight" && C();
|
|
1248
1248
|
};
|
|
1249
|
-
return window.addEventListener("keydown",
|
|
1250
|
-
window.removeEventListener("keydown",
|
|
1249
|
+
return window.addEventListener("keydown", l), () => {
|
|
1250
|
+
window.removeEventListener("keydown", l);
|
|
1251
1251
|
};
|
|
1252
1252
|
}, [t, e]), {
|
|
1253
1253
|
activeIndex: t,
|
|
@@ -1255,17 +1255,17 @@ const At = [
|
|
|
1255
1255
|
handleDragStart: E,
|
|
1256
1256
|
handleDragMove: Y,
|
|
1257
1257
|
handleDragEnd: M,
|
|
1258
|
-
handleDotClick: (
|
|
1259
|
-
s(
|
|
1258
|
+
handleDotClick: (l) => {
|
|
1259
|
+
s(l);
|
|
1260
1260
|
},
|
|
1261
1261
|
goToPrevious: u,
|
|
1262
1262
|
goToNext: C,
|
|
1263
|
-
carouselRef:
|
|
1263
|
+
carouselRef: c,
|
|
1264
1264
|
isDragging: p,
|
|
1265
1265
|
isSignificantDrag: w
|
|
1266
1266
|
};
|
|
1267
1267
|
}, Ut = (e, t, s) => {
|
|
1268
|
-
var M, S,
|
|
1268
|
+
var M, S, l, B;
|
|
1269
1269
|
const [i, r] = g.useState([]), [d, v] = g.useState([]), [p, I] = g.useState([]), A = [
|
|
1270
1270
|
{
|
|
1271
1271
|
id: e.homeTeam.id,
|
|
@@ -1282,11 +1282,11 @@ const At = [
|
|
|
1282
1282
|
], x = (a) => {
|
|
1283
1283
|
const o = e.playerStats.find((m) => m.playerId === a);
|
|
1284
1284
|
return (o == null ? void 0 : o.minutesPlayed) || 0;
|
|
1285
|
-
},
|
|
1285
|
+
}, c = (a) => {
|
|
1286
1286
|
if (!t || !t.data) return 0;
|
|
1287
1287
|
const o = t.data.find((m) => m.playerId === a);
|
|
1288
1288
|
return o ? o.votes : 0;
|
|
1289
|
-
}, w = ((
|
|
1289
|
+
}, w = ((l = e.lineups.homeTeam.players) == null ? void 0 : l.filter((a) => a.type === "start").map((a) => {
|
|
1290
1290
|
var o;
|
|
1291
1291
|
return {
|
|
1292
1292
|
id: a.id,
|
|
@@ -1297,7 +1297,7 @@ const At = [
|
|
|
1297
1297
|
image: (o = a.assets) == null ? void 0 : o.headshot,
|
|
1298
1298
|
type: a.type,
|
|
1299
1299
|
minutesPlayed: x(a.id),
|
|
1300
|
-
votes:
|
|
1300
|
+
votes: c(a.id)
|
|
1301
1301
|
};
|
|
1302
1302
|
})) || [], u = ((B = e.lineups.awayTeam.players) == null ? void 0 : B.filter((a) => a.type === "start").map((a) => {
|
|
1303
1303
|
var o;
|
|
@@ -1310,7 +1310,7 @@ const At = [
|
|
|
1310
1310
|
image: (o = a.assets) == null ? void 0 : o.headshot,
|
|
1311
1311
|
type: a.type,
|
|
1312
1312
|
minutesPlayed: x(a.id),
|
|
1313
|
-
votes:
|
|
1313
|
+
votes: c(a.id)
|
|
1314
1314
|
};
|
|
1315
1315
|
})) || [], C = e.timeline.filter((a) => {
|
|
1316
1316
|
if (a.type === "substitution" && a.teamId === e.homeTeam.id)
|
|
@@ -1327,7 +1327,7 @@ const At = [
|
|
|
1327
1327
|
image: ((m = o == null ? void 0 : o.assets) == null ? void 0 : m.headshot) ?? "",
|
|
1328
1328
|
type: (o == null ? void 0 : o.type) ?? "",
|
|
1329
1329
|
minutesPlayed: x((o == null ? void 0 : o.id) ?? "") || 0,
|
|
1330
|
-
votes:
|
|
1330
|
+
votes: c((o == null ? void 0 : o.id) ?? "")
|
|
1331
1331
|
};
|
|
1332
1332
|
}) || [], E = e.timeline.filter((a) => {
|
|
1333
1333
|
if (a.type === "substitution" && a.teamId === e.awayTeam.id)
|
|
@@ -1344,7 +1344,7 @@ const At = [
|
|
|
1344
1344
|
image: ((m = o == null ? void 0 : o.assets) == null ? void 0 : m.headshot) || "",
|
|
1345
1345
|
type: (o == null ? void 0 : o.type) || "",
|
|
1346
1346
|
minutesPlayed: x((o == null ? void 0 : o.id) || "") || 0,
|
|
1347
|
-
votes:
|
|
1347
|
+
votes: c((o == null ? void 0 : o.id) || "")
|
|
1348
1348
|
};
|
|
1349
1349
|
}) || [];
|
|
1350
1350
|
return g.useEffect(() => {
|
|
@@ -1379,7 +1379,7 @@ const At = [
|
|
|
1379
1379
|
showSignInCTA: I,
|
|
1380
1380
|
signInCTA: A
|
|
1381
1381
|
}) => {
|
|
1382
|
-
const { players: x, teams:
|
|
1382
|
+
const { players: x, teams: c, getTeamLogo: w } = Ut(e, s, v), [u, C] = g.useState(d ?? "all"), [E, Y] = g.useState(t), [M, S] = g.useState(!1), [l, B] = g.useState(!1), [a, o] = g.useState(""), [m, J] = g.useState(Vt(s)), L = u === "all" ? x : x.filter((f) => f.team === u), { activeIndex: F, setActiveIndex: K, handleDragStart: X, handleDragMove: U, handleDragEnd: V, handleDotClick: q, goToPrevious: ee, goToNext: T, carouselRef: k } = Xt(L.length);
|
|
1383
1383
|
g.useEffect(() => {
|
|
1384
1384
|
Y(t);
|
|
1385
1385
|
}, [t]), g.useEffect(() => {
|
|
@@ -1418,11 +1418,11 @@ const At = [
|
|
|
1418
1418
|
B(!1);
|
|
1419
1419
|
}
|
|
1420
1420
|
}, O = (f) => {
|
|
1421
|
-
|
|
1421
|
+
l || X(f);
|
|
1422
1422
|
}, z = (f) => {
|
|
1423
|
-
|
|
1423
|
+
l || U(f);
|
|
1424
1424
|
}, _ = () => {
|
|
1425
|
-
|
|
1425
|
+
l || V();
|
|
1426
1426
|
}, R = (f) => {
|
|
1427
1427
|
if (m.has(f))
|
|
1428
1428
|
return m.get(f) || 0;
|
|
@@ -1431,7 +1431,7 @@ const At = [
|
|
|
1431
1431
|
return j ? j.votes : 0;
|
|
1432
1432
|
};
|
|
1433
1433
|
return /* @__PURE__ */ n.jsxs(N, { spacing: 2, children: [
|
|
1434
|
-
d.toLowerCase() === "all" && /* @__PURE__ */ n.jsx(Kt, { teams:
|
|
1434
|
+
d.toLowerCase() === "all" && /* @__PURE__ */ n.jsx(Kt, { teams: c, activeFilter: u, setActiveFilter: C, setActiveIndex: K }),
|
|
1435
1435
|
/* @__PURE__ */ n.jsxs(
|
|
1436
1436
|
D,
|
|
1437
1437
|
{
|
|
@@ -1453,7 +1453,7 @@ const At = [
|
|
|
1453
1453
|
activeIndex: F,
|
|
1454
1454
|
teamLogo: w(f.team),
|
|
1455
1455
|
handleVote: P,
|
|
1456
|
-
isVoting:
|
|
1456
|
+
isVoting: l,
|
|
1457
1457
|
isVotingClosed: r,
|
|
1458
1458
|
defaultImagePlaceholderUrl: p,
|
|
1459
1459
|
showSignInCTA: I,
|
|
@@ -1468,8 +1468,8 @@ const At = [
|
|
|
1468
1468
|
/* @__PURE__ */ n.jsx(Nt, { show: M, message: a })
|
|
1469
1469
|
] });
|
|
1470
1470
|
}, _t = ({ teams: e }) => {
|
|
1471
|
-
var i, r, d, v, p, I, A, x,
|
|
1472
|
-
const t =
|
|
1471
|
+
var i, r, d, v, p, I, A, x, c, w, u, C, E, Y;
|
|
1472
|
+
const t = be(), s = t === "abola_pt" ? "background.body" : "text.secondary";
|
|
1473
1473
|
return /* @__PURE__ */ n.jsxs(D, { sx: { mb: 4, textAlign: "center", position: "relative" }, children: [
|
|
1474
1474
|
/* @__PURE__ */ n.jsxs(N, { spacing: 2, sx: { mb: 2 }, children: [
|
|
1475
1475
|
/* @__PURE__ */ n.jsx(b, { level: "h4", children: h("potm.title") }),
|
|
@@ -1512,7 +1512,7 @@ const At = [
|
|
|
1512
1512
|
/* @__PURE__ */ n.jsxs(D, { sx: { display: { xs: "flex", lg: "none" }, alignItems: "center", justifyContent: "center", gap: 0.5, width: "100%" }, children: [
|
|
1513
1513
|
e.length > 0 && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1514
1514
|
/* @__PURE__ */ n.jsx(b, { fontWeight: "md", fontSize: "sm", textColor: s, children: ((A = e[0]) == null ? void 0 : A.code) || ((x = e[0]) == null ? void 0 : x.name.substring(0, 3)) }),
|
|
1515
|
-
/* @__PURE__ */ n.jsx(W, { src: (
|
|
1515
|
+
/* @__PURE__ */ n.jsx(W, { src: (c = e[0]) == null ? void 0 : c.logo, alt: (w = e[0]) == null ? void 0 : w.name, sx: { p: 0.5, bgcolor: "transparent", width: "28px", height: "28px" } })
|
|
1516
1516
|
] }),
|
|
1517
1517
|
/* @__PURE__ */ n.jsx(b, { fontSize: "xs", textColor: s, sx: { mx: 0.5 }, children: h("potm.vs") }),
|
|
1518
1518
|
e.length > 1 && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
@@ -1532,39 +1532,39 @@ const At = [
|
|
|
1532
1532
|
s && s.length > 0 && (A = e.filter((w) => s.includes(w.playerId)));
|
|
1533
1533
|
const x = A.reduce((w, u) => w + u.votes, 0);
|
|
1534
1534
|
v(x);
|
|
1535
|
-
const
|
|
1535
|
+
const c = [...A].sort((w, u) => w.winner && !u.winner ? -1 : !w.winner && u.winner ? 1 : u.votes - w.votes).slice(0, 3).map((w) => ({
|
|
1536
1536
|
...w,
|
|
1537
1537
|
percent: x > 0 ? w.votes / x * 100 : 0,
|
|
1538
1538
|
playerDetails: p(w.playerId, t)
|
|
1539
1539
|
}));
|
|
1540
|
-
r(
|
|
1540
|
+
r(c);
|
|
1541
1541
|
}, [e, t, s]);
|
|
1542
1542
|
const p = (A, x) => {
|
|
1543
1543
|
var C;
|
|
1544
|
-
let
|
|
1545
|
-
if (
|
|
1544
|
+
let c = x.lineups.homeTeam.players.find((E) => E.id === A);
|
|
1545
|
+
if (c || (c = x.lineups.awayTeam.players.find((E) => E.id === A)), !c) return;
|
|
1546
1546
|
const w = x.playerStats.find((E) => E.playerId === A), u = (w == null ? void 0 : w.minutesPlayed) || 0;
|
|
1547
1547
|
return {
|
|
1548
|
-
id:
|
|
1549
|
-
name:
|
|
1550
|
-
number:
|
|
1551
|
-
team:
|
|
1552
|
-
position:
|
|
1553
|
-
image: (C =
|
|
1554
|
-
type:
|
|
1548
|
+
id: c.id,
|
|
1549
|
+
name: c.name,
|
|
1550
|
+
number: c.shirtNumber || 0,
|
|
1551
|
+
team: c.id.includes(x.homeTeam.id) ? x.homeTeam.id : x.awayTeam.id,
|
|
1552
|
+
position: c.position || "Unknown",
|
|
1553
|
+
image: (C = c.assets) == null ? void 0 : C.headshot,
|
|
1554
|
+
type: c.type,
|
|
1555
1555
|
minutesPlayed: u
|
|
1556
1556
|
};
|
|
1557
1557
|
}, I = (A) => {
|
|
1558
|
-
var
|
|
1559
|
-
return t.lineups.homeTeam.players.some((u) => u.id === A) ? ((
|
|
1558
|
+
var c, w;
|
|
1559
|
+
return t.lineups.homeTeam.players.some((u) => u.id === A) ? ((c = t.homeTeam.assets) == null ? void 0 : c.logo) || Ce : ((w = t.awayTeam.assets) == null ? void 0 : w.logo) || Ce;
|
|
1560
1560
|
};
|
|
1561
1561
|
return i.length ? /* @__PURE__ */ n.jsxs(D, { sx: { pb: 4 }, children: [
|
|
1562
1562
|
/* @__PURE__ */ n.jsx(D, { sx: { mb: 4 }, children: /* @__PURE__ */ n.jsx(b, { level: "h3", textAlign: "center", children: h("potm.results_title") }) }),
|
|
1563
1563
|
/* @__PURE__ */ n.jsx(N, { direction: { xs: "column", sm: "row" }, spacing: 4, justifyContent: "center", alignItems: "stretch", children: i.map((A, x) => {
|
|
1564
1564
|
var B, a, o, m;
|
|
1565
|
-
const
|
|
1566
|
-
return A.playerDetails ? /* @__PURE__ */ n.jsxs(ae, { variant: "outlined", sx: Pt(
|
|
1567
|
-
/* @__PURE__ */ n.jsx(D, { sx: Lt(
|
|
1565
|
+
const c = A.winner === !0, w = i.filter((J) => !J.winner).indexOf(A), u = !c && w === 0, C = !c && w === 1, E = () => c ? "warning" : "neutral", Y = () => c ? "🏆" : u ? "🥈" : C ? "🥉" : "", M = i.filter((J) => J.winner === !0).length, S = c && M > 1, l = c ? i.filter((J) => J.winner === !0).indexOf(A) : void 0;
|
|
1566
|
+
return A.playerDetails ? /* @__PURE__ */ n.jsxs(ae, { variant: "outlined", sx: Pt(c, u, C, x, l), children: [
|
|
1567
|
+
/* @__PURE__ */ n.jsx(D, { sx: Lt(c), children: Y() }),
|
|
1568
1568
|
/* @__PURE__ */ n.jsx("img", { src: I(A.playerId), style: Ot, alt: "Team logo" }),
|
|
1569
1569
|
/* @__PURE__ */ n.jsx(
|
|
1570
1570
|
W,
|
|
@@ -1574,7 +1574,7 @@ const At = [
|
|
|
1574
1574
|
sx: Ft
|
|
1575
1575
|
}
|
|
1576
1576
|
),
|
|
1577
|
-
/* @__PURE__ */ n.jsx(D, { sx: { width: "100%", mb: 2, mt: 1, px: 1 }, children: /* @__PURE__ */ n.jsx(D, { sx: Ht(
|
|
1577
|
+
/* @__PURE__ */ n.jsx(D, { sx: { width: "100%", mb: 2, mt: 1, px: 1 }, children: /* @__PURE__ */ n.jsx(D, { sx: Ht(c), children: /* @__PURE__ */ n.jsx(D, { sx: Qt(c, A.percent) }) }) }),
|
|
1578
1578
|
/* @__PURE__ */ n.jsx(b, { level: "title-lg", sx: { mb: 0.5, textAlign: "center" }, children: ((o = A.playerDetails) == null ? void 0 : o.name) || ((m = A.playerDetails) == null ? void 0 : m.name) || "Unknown Player" }),
|
|
1579
1579
|
S && /* @__PURE__ */ n.jsx(
|
|
1580
1580
|
b,
|
|
@@ -1631,7 +1631,7 @@ const At = [
|
|
|
1631
1631
|
/* @__PURE__ */ n.jsx(b, { level: "h3", sx: yt, children: h("potm.voting_opens_soon") }),
|
|
1632
1632
|
/* @__PURE__ */ n.jsx(b, { level: "body-md", sx: Yt, children: h("potm.voting_upcoming_message") }),
|
|
1633
1633
|
/* @__PURE__ */ n.jsx(ae, { variant: "outlined", sx: Tt, children: /* @__PURE__ */ n.jsxs(N, { direction: "row", alignItems: "center", justifyContent: "center", sx: { position: "relative" }, children: [
|
|
1634
|
-
/* @__PURE__ */ n.jsx(
|
|
1634
|
+
/* @__PURE__ */ n.jsx(lt, { sx: kt }),
|
|
1635
1635
|
d ? /* @__PURE__ */ n.jsx(b, { level: "title-lg", color: "primary", children: h("potm.match_starting_soon") }) : /* @__PURE__ */ n.jsxs(N, { direction: "row", spacing: 2, sx: Rt, children: [
|
|
1636
1636
|
/* @__PURE__ */ n.jsx(se, { value: t, label: h("potm.days") }),
|
|
1637
1637
|
/* @__PURE__ */ n.jsx(re, {}),
|
|
@@ -1656,7 +1656,7 @@ const At = [
|
|
|
1656
1656
|
authRequirement: v
|
|
1657
1657
|
}) => {
|
|
1658
1658
|
var q, ee;
|
|
1659
|
-
const [p, I] = g.useState(!0), [A, x] = g.useState(null), [
|
|
1659
|
+
const [p, I] = g.useState(!0), [A, x] = g.useState(null), [c, w] = g.useState(null), [u, C] = g.useState(null), [E, Y] = g.useState(!1), [M, S] = g.useState(!1), [l, B] = g.useState(!1), [a, o] = g.useState(!1), m = Ee(), { isAuthenticated: J } = De(), { defaultImagePlaceholderUrl: L } = Ie(), F = Je(), K = (T) => {
|
|
1660
1660
|
const k = /* @__PURE__ */ new Date();
|
|
1661
1661
|
if (T.finishedAt) {
|
|
1662
1662
|
const O = new Date(T.finishedAt), z = new Date(O);
|
|
@@ -1720,7 +1720,7 @@ const At = [
|
|
|
1720
1720
|
}, [v, J]);
|
|
1721
1721
|
const U = async (T) => {
|
|
1722
1722
|
try {
|
|
1723
|
-
|
|
1723
|
+
c === T ? (await m.voting.deleteVoteForPlayerOfTheMatch(e), w(null)) : (await m.voting.voteForPlayerOfTheMatch(e, T), w(T));
|
|
1724
1724
|
const k = await m.voting.getResultsForPlayerOfTheMatch(e);
|
|
1725
1725
|
return C(k), !0;
|
|
1726
1726
|
} catch (k) {
|
|
@@ -1737,7 +1737,7 @@ const At = [
|
|
|
1737
1737
|
alignItems: "center",
|
|
1738
1738
|
height: 100
|
|
1739
1739
|
},
|
|
1740
|
-
children: /* @__PURE__ */ n.jsx(
|
|
1740
|
+
children: /* @__PURE__ */ n.jsx(Re, {})
|
|
1741
1741
|
}
|
|
1742
1742
|
);
|
|
1743
1743
|
if (!A)
|
|
@@ -1774,7 +1774,7 @@ const At = [
|
|
|
1774
1774
|
/* @__PURE__ */ n.jsx(D, { sx: { p: 2.5 }, children: M ? (
|
|
1775
1775
|
// For upcoming matches - show countdown
|
|
1776
1776
|
/* @__PURE__ */ n.jsx(nn, { match: A })
|
|
1777
|
-
) :
|
|
1777
|
+
) : l && u ? (
|
|
1778
1778
|
// For matches where voting period has ended - show results
|
|
1779
1779
|
/* @__PURE__ */ n.jsx(en, { results: u.data, match: A, showPlayers: i })
|
|
1780
1780
|
) : (
|
|
@@ -1783,7 +1783,7 @@ const At = [
|
|
|
1783
1783
|
qt,
|
|
1784
1784
|
{
|
|
1785
1785
|
match: A,
|
|
1786
|
-
userVote:
|
|
1786
|
+
userVote: c,
|
|
1787
1787
|
votingResults: u,
|
|
1788
1788
|
handleVote: U,
|
|
1789
1789
|
isVotingClosed: E,
|
|
@@ -1795,7 +1795,7 @@ const At = [
|
|
|
1795
1795
|
}
|
|
1796
1796
|
)
|
|
1797
1797
|
) }),
|
|
1798
|
-
/* @__PURE__ */ n.jsx(b, { level: "body-sm", textAlign: "center", sx: mt, children: M ? null :
|
|
1798
|
+
/* @__PURE__ */ n.jsx(b, { level: "body-sm", textAlign: "center", sx: mt, children: M ? null : l ? h("potm.voting_ended_message", { defaultValue: "Voting has ended. These are the final results." }) : E ? h("potm.voting_closed_message") : h("potm.helper_text") })
|
|
1799
1799
|
]
|
|
1800
1800
|
}
|
|
1801
1801
|
);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { j as n, r as M, R as Ko, a as _o,
|
|
2
|
-
import { X as pn, Y as cn, V as I, Q as G, D as J, R as X, J as eo, N as L, F as Z, c as Y, A as j, a as Ho, M as Io, _ as $o, E as bo, z as mo, O as gn, d as go, e as Do, C as l, T as W, b as K, I as dn, G as fn, $ as xn,
|
|
3
|
-
import { j as Cn, Z as Fn, q as Sn, Q as Bn, J as jn, r as Tn, s as Rn, K as hn, z as Qo, Y as kn, $ as zn, g as Go, U as Zo, b as Mo, X as Hn } from "./index-
|
|
4
|
-
import { w as bn } from "./CollectLeadForm-
|
|
5
|
-
import { j as Vn } from "./OverlayScoreStateSkeleton-
|
|
6
|
-
import { x as qn, f as Qn, y as In, b as Dn, u as vn, h as On } from "./OverlayLeadAfterCollection-
|
|
7
|
-
import { P as ho } from "./index.es-wHqA4PHm.js";
|
|
1
|
+
import { j as n, r as M, R as Ko, a as _o, m as on, h as nn, q as An, n as ln, o as en, i as tn, k as an, v as rn, w as sn, P as ho } from "./main-Cx-uBTln.js";
|
|
2
|
+
import { X as pn, Y as cn, V as I, Q as G, D as J, R as X, J as eo, N as L, F as Z, c as Y, A as j, a as Ho, M as Io, _ as $o, E as bo, z as mo, O as gn, d as go, e as Do, C as l, T as W, b as K, I as dn, G as fn, $ as xn, h as qo, W as co, i as Po, g as Un, w as Kn, f as mn, m as Pn, l as yn, n as un } from "./Portal-Cvhw2F3y-CfNE9zHV.js";
|
|
3
|
+
import { j as Cn, Z as Fn, q as Sn, Q as Bn, J as jn, r as Tn, s as Rn, K as hn, z as Qo, Y as kn, $ as zn, g as Go, U as Zo, b as Mo, X as Hn } from "./index-CsLtqiB_-DH3NMQxW.js";
|
|
4
|
+
import { w as bn } from "./CollectLeadForm-iZpBeMTk-Be-1nl3u.js";
|
|
5
|
+
import { j as Vn } from "./OverlayScoreStateSkeleton-CR-b8BTk-CcF6Sgb_.js";
|
|
6
|
+
import { x as qn, f as Qn, y as In, b as Dn, u as vn, h as On } from "./OverlayLeadAfterCollection-CwqTKIoQ-B249CJNS.js";
|
|
8
7
|
const Mn = (o) => {
|
|
9
8
|
var A, i, e;
|
|
10
9
|
return {
|
|
@@ -4161,7 +4160,7 @@ const mA = (o) => {
|
|
|
4161
4160
|
rulesDisplay: o.rulesDisplay
|
|
4162
4161
|
}
|
|
4163
4162
|
);
|
|
4164
|
-
}, PA = (o) => /* @__PURE__ */ n.jsx(pn, { packageName: "poll-vote", ...o, children: /* @__PURE__ */ n.jsx(mA, { ...o }) }), yA = PA,
|
|
4163
|
+
}, PA = (o) => /* @__PURE__ */ n.jsx(pn, { packageName: "poll-vote", ...o, children: /* @__PURE__ */ n.jsx(mA, { ...o }) }), yA = PA, TA = ({ pollId: o, layoutTemplate: A }) => {
|
|
4165
4164
|
const i = _o(), { language: e } = on(), { isAuthenticated: a } = nn(), { imagePosition: r, optionsLayout: t } = An(), s = ln(), p = en(), { defaultImagePlaceholderUrl: c } = tn(), U = an(), m = rn(), x = sn();
|
|
4166
4165
|
let y = {
|
|
4167
4166
|
entityId: o,
|
|
@@ -4190,5 +4189,5 @@ const mA = (o) => {
|
|
|
4190
4189
|
return /* @__PURE__ */ n.jsx(yA, { ...y });
|
|
4191
4190
|
};
|
|
4192
4191
|
export {
|
|
4193
|
-
|
|
4192
|
+
TA as default
|
|
4194
4193
|
};
|