fansunited-widgets-cdn 0.0.86 → 0.0.88
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-DyM0oQgv.js → Alert-BRGMYEq4.js} +2 -2
- package/chunks/{CardContent-JGV7AYRJ.js → CardContent-CmcqVv-h.js} +2 -2
- package/chunks/{ChevronRight-BjivYvSo.js → ChevronRight-CNef_eBK.js} +3 -3
- package/chunks/{ClassicQuizWrapper-ChR6VdmQ.js → ClassicQuizWrapper-D_ozBc-c.js} +661 -651
- package/chunks/{CollectLeadForm-iZpBeMTk-Be-1nl3u.js → CollectLeadForm-XQUdk7mv-C_p6Cxc6.js} +2 -2
- package/chunks/{CollectLeadWrapper-DWGnbQNs.js → CollectLeadWrapper-3-Pb94JF.js} +3 -3
- package/chunks/{EitherOrById-HLRwnSut.js → EitherOrById-Btr_73xX.js} +12 -12
- package/chunks/{EitherOrPreviewWrapper-Bhb40ehK.js → EitherOrPreviewWrapper-C73yHLJb.js} +3 -3
- package/chunks/{Error-D0HPar1M-CvBCxjku.js → Error-Bv1kv7mw-BPgxL6KV.js} +17 -17
- package/chunks/{EventGameWrapper-FLrbgLNx.js → EventGameWrapper-mKlUcvRu.js} +3545 -3152
- package/chunks/{Grid-BgTvl7U0.js → Grid-DNWxRQ1G.js} +2 -2
- package/chunks/{IconButton-UDap3hOW.js → IconButton-DsLrjwH-.js} +2 -2
- package/chunks/{List-CaGDrvb1.js → List-Dm73Vn3b.js} +15 -15
- package/chunks/{MatchPredictionContainer-CCryS3WW.js → MatchPredictionContainer-CT_Lbz_m.js} +7 -7
- package/chunks/{MatchQuizWrapper-CNPkFMYb.js → MatchQuizWrapper-CI9wnLag.js} +1986 -1967
- package/chunks/{OverlayLeadAfterCollection-CwqTKIoQ-B249CJNS.js → OverlayLeadAfterCollection-t16QmZoD-CYf2_I6O.js} +17 -17
- package/chunks/{OverlayScoreStateSkeleton-CR-b8BTk-CcF6Sgb_.js → OverlayScoreStateSkeleton--HpHqZxi-3mRY-xML.js} +3 -3
- package/chunks/{PersonalityQuizWrapper-D0_OHdgC.js → PersonalityQuizWrapper-B8gjBbmz.js} +3548 -3462
- package/chunks/{PlayerOfTheMatch-KHUAoy28.js → PlayerOfTheMatch-BqNtI8ry.js} +9 -9
- package/chunks/{PollWrapper-Dsi16RT3.js → PollWrapper-Cp6khQSu.js} +584 -574
- package/chunks/{Portal-Cvhw2F3y-CfNE9zHV.js → Portal-B3p6WA9w-DcAFD2dm.js} +2190 -2144
- package/chunks/{PreviewQuizById-DdmuvcAL.js → PreviewQuizById-CegDMdwe.js} +7 -7
- package/chunks/{Sheet-x5Z9YdFs.js → Sheet-BH9eiY-i.js} +4 -4
- package/chunks/{Stack-DZB2vzbp.js → Stack-D1QQVS1a.js} +2 -2
- package/chunks/{Tabs-DmfafFAr-bCryBf-H.js → Tabs-BaP82CxE-D4llEgk_.js} +45 -45
- package/chunks/{TeamNextMatchPrediction-C-fToJvQ.js → TeamNextMatchPrediction-hAmhNxV2.js} +2 -2
- package/chunks/{Tutorial-BI9zKJw5.js → Tutorial-Dxss7mgg.js} +7 -7
- package/chunks/{createLucideIcon-89uTOJaq.js → createLucideIcon-yiOwru9K.js} +2 -2
- package/chunks/{createSvgIcon-DsrdSWLs.js → createSvgIcon-iucs-Yv6.js} +2 -2
- package/chunks/{default-quiz-bg-CbX4gLOf.js → default-quiz-bg-1QQ_UNHU.js} +2 -2
- package/chunks/{index-BJtPwLU2.js → index-3IdlOmJ0.js} +1 -1
- package/chunks/{index-CfNoJqrf.js → index-B1fBw1st.js} +1 -1
- package/chunks/{index-DRDXyva1.js → index-B3HMTMIS.js} +2 -2
- package/chunks/{index-SdhwlCm-.js → index-BJxjaH0c.js} +1 -1
- package/chunks/{index-DXh1obfA.js → index-BpOGEh_1.js} +1 -1
- package/chunks/{index-DoDwv4Hi.js → index-Bwem-sqg.js} +1 -1
- package/chunks/{index-TCdxAH9x.js → index-ByyHPMo9.js} +1 -1
- package/chunks/{index-CowyrOBF.js → index-C-UB5RS9.js} +1 -1
- package/chunks/{index-CsLtqiB_-DH3NMQxW.js → index-C1CcfTa8-BtbghbwC.js} +306 -266
- package/chunks/{index-BXdeff8G.js → index-CRNPfp1W.js} +1 -1
- package/chunks/{index-BwmaB0Jc.js → index-CkXYxO_E.js} +1 -1
- package/chunks/{index-DRsTGSlf.js → index-Cz3SMdyK.js} +1 -1
- package/chunks/{index-CSM_gD0c.js → index-Dd7vUcWq.js} +1 -1
- package/chunks/{index-DBucbNfJ.js → index-DfDQG_ih.js} +1 -1
- package/chunks/{index-CtAJur0I.js → index-DyT1u78W.js} +1 -1
- package/chunks/{index-Dbuicm10.js → index-rUcMDRCp.js} +2 -2
- package/chunks/{init-CxQCMVyG.js → init-BTRy3iPx.js} +1 -1
- package/chunks/{main-Cx-uBTln.js → main-DGIP-N_V.js} +8662 -8616
- package/chunks/{resolveProps-DfBmYyXU.js → resolveProps-CIvan4Tx.js} +1 -1
- package/chunks/{users-Bltqtuv-.js → users-CZQ6WO9Y.js} +1 -1
- package/fu-widgets.es.js +1 -1
- package/fu-widgets.iife.js +240 -240
- package/manifest.json +52 -52
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as n, r as D } from "./main-
|
|
2
|
-
import {
|
|
1
|
+
import { j as n, r as D } from "./main-DGIP-N_V.js";
|
|
2
|
+
import { b as H, C as m, b0 as oi, R as ie, F as Y, A as w, N as ce, D as de, J as tt, L as Q, c as re, e as ni, a as ue, Q as _e, h as z, r as it, M as ri, _ as At, f as ot, d as nt, G as wt, z as ai, i as si, S as Le, T as pe, E as Lt, u as Se, v as Te, x as V, K as ae, U, aJ as Ne, af as li, P as Qe, ag as je, aG as ci, a3 as ve, Z as Nt, a8 as di, b1 as ui, av as hi, a1 as Ee, ad as q, b2 as pi, aL as le, aK as fi, a4 as oe, ap as Re, aw as mi, aN as gi, aO as xi, aC as rt, b3 as Pt, b4 as Mt } from "./Portal-B3p6WA9w-DcAFD2dm.js";
|
|
3
3
|
var yi = Object.defineProperty, bi = (e, t, i) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, r = (e, t, i) => bi(e, typeof t != "symbol" ? t + "" : t, i);
|
|
4
4
|
const vi = Pt(Mt.element);
|
|
5
5
|
vi.isRequired = Pt(Mt.element.isRequired);
|
|
@@ -18,21 +18,21 @@ function Si(e) {
|
|
|
18
18
|
const t = parseInt(e.getAttribute("tabindex") || "", 10);
|
|
19
19
|
return Number.isNaN(t) ? e.contentEditable === "true" || (e.nodeName === "AUDIO" || e.nodeName === "VIDEO" || e.nodeName === "DETAILS") && e.getAttribute("tabindex") === null ? 0 : e.tabIndex : t;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Ti(e) {
|
|
22
22
|
if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name)
|
|
23
23
|
return !1;
|
|
24
24
|
const t = (o) => e.ownerDocument.querySelector(`input[type="radio"]${o}`);
|
|
25
25
|
let i = t(`[name="${e.name}"]:checked`);
|
|
26
26
|
return i || (i = t(`[name="${e.name}"]`)), i !== e;
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" ||
|
|
28
|
+
function Ei(e) {
|
|
29
|
+
return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Ti(e));
|
|
30
30
|
}
|
|
31
31
|
function Ri(e) {
|
|
32
32
|
const t = [], i = [];
|
|
33
33
|
return Array.from(e.querySelectorAll(_i)).forEach((o, a) => {
|
|
34
34
|
const s = Si(o);
|
|
35
|
-
s === -1 || !
|
|
35
|
+
s === -1 || !Ei(o) || (s === 0 ? t.push(o) : i.push({
|
|
36
36
|
documentOrder: a,
|
|
37
37
|
tabIndex: s,
|
|
38
38
|
node: o
|
|
@@ -85,8 +85,8 @@ function Oi(e) {
|
|
|
85
85
|
let u = [];
|
|
86
86
|
if ((S.activeElement === c.current || S.activeElement === f.current) && (u = s(y.current)), u.length > 0) {
|
|
87
87
|
var _, C;
|
|
88
|
-
const
|
|
89
|
-
typeof N != "string" && typeof P != "string" && (
|
|
88
|
+
const T = !!((_ = O.current) != null && _.shiftKey && ((C = O.current) == null ? void 0 : C.key) === "Tab"), N = u[0], P = u[u.length - 1];
|
|
89
|
+
typeof N != "string" && typeof P != "string" && (T ? P.focus() : N.focus());
|
|
90
90
|
} else
|
|
91
91
|
h.focus();
|
|
92
92
|
};
|
|
@@ -102,13 +102,13 @@ function Oi(e) {
|
|
|
102
102
|
x.current === null && (x.current = S.relatedTarget), g.current = !0, v.current = S.target;
|
|
103
103
|
const I = t.props.onFocus;
|
|
104
104
|
I && I(S);
|
|
105
|
-
},
|
|
105
|
+
}, E = (S) => {
|
|
106
106
|
x.current === null && (x.current = S.relatedTarget), g.current = !0;
|
|
107
107
|
};
|
|
108
108
|
return /* @__PURE__ */ n.jsxs(D.Fragment, {
|
|
109
109
|
children: [/* @__PURE__ */ n.jsx("div", {
|
|
110
110
|
tabIndex: d ? 0 : -1,
|
|
111
|
-
onFocus:
|
|
111
|
+
onFocus: E,
|
|
112
112
|
ref: c,
|
|
113
113
|
"data-testid": "sentinelStart"
|
|
114
114
|
}), /* @__PURE__ */ D.cloneElement(t, {
|
|
@@ -116,7 +116,7 @@ function Oi(e) {
|
|
|
116
116
|
onFocus: A
|
|
117
117
|
}), /* @__PURE__ */ n.jsx("div", {
|
|
118
118
|
tabIndex: d ? 0 : -1,
|
|
119
|
-
onFocus:
|
|
119
|
+
onFocus: E,
|
|
120
120
|
ref: f,
|
|
121
121
|
"data-testid": "sentinelEnd"
|
|
122
122
|
})]
|
|
@@ -264,7 +264,7 @@ function ki(e) {
|
|
|
264
264
|
onClose: c,
|
|
265
265
|
open: f,
|
|
266
266
|
rootRef: x
|
|
267
|
-
} = e, v = D.useRef({}), g = D.useRef(null), y = D.useRef(null), R = ve(y, x), [O, A] = D.useState(!f),
|
|
267
|
+
} = e, v = D.useRef({}), g = D.useRef(null), y = D.useRef(null), R = ve(y, x), [O, A] = D.useState(!f), E = Mi(b);
|
|
268
268
|
let S = !0;
|
|
269
269
|
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (S = !1);
|
|
270
270
|
const I = () => le(g.current), L = () => (v.current.modalRef = y.current, v.current.mount = g.current, v.current), l = () => {
|
|
@@ -282,9 +282,9 @@ function ki(e) {
|
|
|
282
282
|
D.useEffect(() => () => {
|
|
283
283
|
C();
|
|
284
284
|
}, [C]), D.useEffect(() => {
|
|
285
|
-
f ? h() : (!
|
|
286
|
-
}, [f, C,
|
|
287
|
-
const
|
|
285
|
+
f ? h() : (!E || !s) && C();
|
|
286
|
+
}, [f, C, E, s, h]);
|
|
287
|
+
const T = (P) => (M) => {
|
|
288
288
|
var F;
|
|
289
289
|
(F = P.onKeyDown) == null || F.call(P, M), !(M.key !== "Escape" || M.which === 229 || // Wait until IME is settled.
|
|
290
290
|
!u()) && (i || (M.stopPropagation(), c && c(M, "escapeKeyDown")));
|
|
@@ -300,7 +300,7 @@ function ki(e) {
|
|
|
300
300
|
return V({
|
|
301
301
|
role: "presentation"
|
|
302
302
|
}, F, {
|
|
303
|
-
onKeyDown:
|
|
303
|
+
onKeyDown: T(F),
|
|
304
304
|
ref: R
|
|
305
305
|
});
|
|
306
306
|
},
|
|
@@ -328,7 +328,7 @@ function ki(e) {
|
|
|
328
328
|
portalRef: _,
|
|
329
329
|
isTopModal: u,
|
|
330
330
|
exited: O,
|
|
331
|
-
hasTransition:
|
|
331
|
+
hasTransition: E
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
334
|
function Fi(e) {
|
|
@@ -343,8 +343,8 @@ const Vi = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
343
343
|
root: ["root"],
|
|
344
344
|
content: ["content", t && `variant${q(t)}`, i && `color${q(i)}`]
|
|
345
345
|
};
|
|
346
|
-
return
|
|
347
|
-
},
|
|
346
|
+
return Ee(o, Fi, {});
|
|
347
|
+
}, Gi = U("div", {
|
|
348
348
|
name: "JoyAspectRatio",
|
|
349
349
|
slot: "Root",
|
|
350
350
|
overridesResolver: (e, t) => t.root
|
|
@@ -365,7 +365,7 @@ const Vi = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
365
365
|
flexDirection: "column",
|
|
366
366
|
margin: "var(--AspectRatio-margin)"
|
|
367
367
|
};
|
|
368
|
-
}),
|
|
368
|
+
}), Wi = U("div", {
|
|
369
369
|
name: "JoyAspectRatio",
|
|
370
370
|
slot: "Content",
|
|
371
371
|
overridesResolver: (e, t) => t.content
|
|
@@ -420,7 +420,7 @@ const Vi = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
420
420
|
flex: x = !1,
|
|
421
421
|
slots: v = {},
|
|
422
422
|
slotProps: g = {}
|
|
423
|
-
} = i, y =
|
|
423
|
+
} = i, y = Te(i, Vi), R = V({}, i, {
|
|
424
424
|
flex: x,
|
|
425
425
|
minHeight: s,
|
|
426
426
|
maxHeight: p,
|
|
@@ -432,19 +432,19 @@ const Vi = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
432
432
|
component: f,
|
|
433
433
|
slots: v,
|
|
434
434
|
slotProps: g
|
|
435
|
-
}), [
|
|
435
|
+
}), [E, S] = ae("root", {
|
|
436
436
|
ref: t,
|
|
437
437
|
className: O.root,
|
|
438
|
-
elementType:
|
|
438
|
+
elementType: Gi,
|
|
439
439
|
externalForwardedProps: A,
|
|
440
440
|
ownerState: R
|
|
441
441
|
}), [I, L] = ae("content", {
|
|
442
442
|
className: O.content,
|
|
443
|
-
elementType:
|
|
443
|
+
elementType: Wi,
|
|
444
444
|
externalForwardedProps: A,
|
|
445
445
|
ownerState: R
|
|
446
446
|
});
|
|
447
|
-
return /* @__PURE__ */ n.jsx(
|
|
447
|
+
return /* @__PURE__ */ n.jsx(E, V({}, S, {
|
|
448
448
|
children: /* @__PURE__ */ n.jsx(I, V({}, L, {
|
|
449
449
|
children: D.Children.map(o, (l, h) => h === 0 && /* @__PURE__ */ D.isValidElement(l) ? /* @__PURE__ */ D.cloneElement(l, {
|
|
450
450
|
"data-first-child": ""
|
|
@@ -513,7 +513,7 @@ U(jt, {
|
|
|
513
513
|
slot: "Root",
|
|
514
514
|
overridesResolver: (e, t) => t.root
|
|
515
515
|
})({});
|
|
516
|
-
const
|
|
516
|
+
const zi = oe("MuiCardOverflow", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]);
|
|
517
517
|
oe("MuiCardContent", ["root"]);
|
|
518
518
|
const kt = U("div")(({
|
|
519
519
|
ownerState: e
|
|
@@ -526,7 +526,7 @@ const kt = U("div")(({
|
|
|
526
526
|
columnGap: "var(--Card-padding)",
|
|
527
527
|
rowGap: "max(2px, calc(0.1875 * var(--Card-padding)))",
|
|
528
528
|
padding: "var(--unstable_padding)",
|
|
529
|
-
[`.${
|
|
529
|
+
[`.${zi.root} > &`]: {
|
|
530
530
|
"--unstable_padding": "calc(var(--Card-padding) * 0.75) 0px"
|
|
531
531
|
}
|
|
532
532
|
}));
|
|
@@ -543,7 +543,7 @@ function Yi(e) {
|
|
|
543
543
|
return Re("MuiDialogContent", e);
|
|
544
544
|
}
|
|
545
545
|
oe("MuiDialogContent", ["root"]);
|
|
546
|
-
const Ft = /* @__PURE__ */ D.createContext(void 0), $i = oe("MuiDialogTitle", ["root", "h1", "h2", "h3", "h4", "title-lg", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body-xs", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]), Ki = ["component", "children", "orientation", "slots", "slotProps"], Xi = () =>
|
|
546
|
+
const Ft = /* @__PURE__ */ D.createContext(void 0), $i = oe("MuiDialogTitle", ["root", "h1", "h2", "h3", "h4", "title-lg", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body-xs", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]), Ki = ["component", "children", "orientation", "slots", "slotProps"], Xi = () => Ee({
|
|
547
547
|
root: ["root"]
|
|
548
548
|
}, Yi, {}), Ji = U(kt, {
|
|
549
549
|
name: "JoyDialogContent",
|
|
@@ -568,7 +568,7 @@ const Ft = /* @__PURE__ */ D.createContext(void 0), $i = oe("MuiDialogTitle", ["
|
|
|
568
568
|
orientation: p = "vertical",
|
|
569
569
|
slots: d = {},
|
|
570
570
|
slotProps: b = {}
|
|
571
|
-
} = i, c =
|
|
571
|
+
} = i, c = Te(i, Ki), f = V({}, c, {
|
|
572
572
|
component: a,
|
|
573
573
|
slots: d,
|
|
574
574
|
slotProps: b
|
|
@@ -597,7 +597,7 @@ const eo = /* @__PURE__ */ D.createContext(void 0), to = ["children", "container
|
|
|
597
597
|
const {
|
|
598
598
|
open: t
|
|
599
599
|
} = e;
|
|
600
|
-
return
|
|
600
|
+
return Ee({
|
|
601
601
|
root: ["root", !t && "hidden"],
|
|
602
602
|
backdrop: ["backdrop"]
|
|
603
603
|
}, Zi, {});
|
|
@@ -658,7 +658,7 @@ const eo = /* @__PURE__ */ D.createContext(void 0), to = ["children", "container
|
|
|
658
658
|
component: R,
|
|
659
659
|
slots: O = {},
|
|
660
660
|
slotProps: A = {}
|
|
661
|
-
} = i,
|
|
661
|
+
} = i, E = Te(i, to), S = V({}, i, {
|
|
662
662
|
disableAutoFocus: s,
|
|
663
663
|
disableEnforceFocus: p,
|
|
664
664
|
disableEscapeKeyDown: d,
|
|
@@ -675,11 +675,11 @@ const eo = /* @__PURE__ */ D.createContext(void 0), to = ["children", "container
|
|
|
675
675
|
isTopModal: u
|
|
676
676
|
} = ki(V({}, S, {
|
|
677
677
|
rootRef: t
|
|
678
|
-
})), _ = io(S), C = V({},
|
|
678
|
+
})), _ = io(S), C = V({}, E, {
|
|
679
679
|
component: R,
|
|
680
680
|
slots: O,
|
|
681
681
|
slotProps: A
|
|
682
|
-
}), [
|
|
682
|
+
}), [T, N] = ae("root", {
|
|
683
683
|
ref: l,
|
|
684
684
|
className: _.root,
|
|
685
685
|
elementType: no,
|
|
@@ -699,7 +699,7 @@ const eo = /* @__PURE__ */ D.createContext(void 0), to = ["children", "container
|
|
|
699
699
|
ref: h,
|
|
700
700
|
container: a,
|
|
701
701
|
disablePortal: b,
|
|
702
|
-
children: /* @__PURE__ */ n.jsxs(
|
|
702
|
+
children: /* @__PURE__ */ n.jsxs(T, V({}, N, {
|
|
703
703
|
children: [x ? null : /* @__PURE__ */ n.jsx(P, V({}, M)), /* @__PURE__ */ n.jsx(Oi, {
|
|
704
704
|
disableEnforceFocus: p,
|
|
705
705
|
disableAutoFocus: s,
|
|
@@ -722,7 +722,7 @@ const eo = /* @__PURE__ */ D.createContext(void 0), to = ["children", "container
|
|
|
722
722
|
} = e, s = {
|
|
723
723
|
root: ["root", t && `variant${q(t)}`, i && `color${q(i)}`, o && `size${q(o)}`, a && `layout${q(a)}`]
|
|
724
724
|
};
|
|
725
|
-
return
|
|
725
|
+
return Ee(s, Bi, {});
|
|
726
726
|
};
|
|
727
727
|
function _t(e, t) {
|
|
728
728
|
var i, o;
|
|
@@ -809,7 +809,7 @@ const uo = U(jt, {
|
|
|
809
809
|
minWidth: g,
|
|
810
810
|
slots: y = {},
|
|
811
811
|
slotProps: R = {}
|
|
812
|
-
} = i, O =
|
|
812
|
+
} = i, O = Te(i, lo), A = V({}, i, {
|
|
813
813
|
color: d,
|
|
814
814
|
component: b,
|
|
815
815
|
maxWidth: v,
|
|
@@ -818,7 +818,7 @@ const uo = U(jt, {
|
|
|
818
818
|
size: f,
|
|
819
819
|
variant: c,
|
|
820
820
|
invertedColors: s
|
|
821
|
-
}),
|
|
821
|
+
}), E = co(A), S = V({}, O, {
|
|
822
822
|
component: b,
|
|
823
823
|
slots: y,
|
|
824
824
|
slotProps: R
|
|
@@ -829,7 +829,7 @@ const uo = U(jt, {
|
|
|
829
829
|
describedBy: L
|
|
830
830
|
}), [d, c, I, L]), [h, u] = ae("root", {
|
|
831
831
|
ref: t,
|
|
832
|
-
className: Nt(
|
|
832
|
+
className: Nt(E.root, o),
|
|
833
833
|
elementType: uo,
|
|
834
834
|
externalForwardedProps: S,
|
|
835
835
|
ownerState: A,
|
|
@@ -849,13 +849,13 @@ const uo = U(jt, {
|
|
|
849
849
|
children: D.Children.map(a, (_, C) => {
|
|
850
850
|
if (!/* @__PURE__ */ D.isValidElement(_))
|
|
851
851
|
return _;
|
|
852
|
-
const
|
|
852
|
+
const T = {};
|
|
853
853
|
if (hi(_, ["Divider"])) {
|
|
854
|
-
|
|
854
|
+
T.inset = "inset" in _.props ? _.props.inset : "context";
|
|
855
855
|
const N = p === "vertical" ? "horizontal" : "vertical";
|
|
856
|
-
|
|
856
|
+
T.orientation = "orientation" in _.props ? _.props.orientation : N;
|
|
857
857
|
}
|
|
858
|
-
return C === 0 && (
|
|
858
|
+
return C === 0 && (T["data-first-child"] = ""), C === D.Children.count(a) - 1 && (T["data-last-child"] = ""), /* @__PURE__ */ D.cloneElement(_, T);
|
|
859
859
|
})
|
|
860
860
|
}))
|
|
861
861
|
})
|
|
@@ -877,7 +877,7 @@ const fo = ["children", "className", "component", "arrow", "describeChild", "dis
|
|
|
877
877
|
root: ["root", t && "tooltipArrow", p && "touch", a && `size${q(a)}`, o && `color${q(o)}`, i && `variant${q(i)}`, `tooltipPlacement${q(s.split("-")[0])}`],
|
|
878
878
|
arrow: ["arrow"]
|
|
879
879
|
};
|
|
880
|
-
return
|
|
880
|
+
return Ee(d, po, {});
|
|
881
881
|
}, go = U("div", {
|
|
882
882
|
name: "JoyTooltip",
|
|
883
883
|
slot: "Root",
|
|
@@ -1004,12 +1004,12 @@ let xe = {
|
|
|
1004
1004
|
x: 0,
|
|
1005
1005
|
y: 0
|
|
1006
1006
|
};
|
|
1007
|
-
function
|
|
1007
|
+
function Tt(e, t) {
|
|
1008
1008
|
return (i) => {
|
|
1009
1009
|
t && t(i), e(i);
|
|
1010
1010
|
};
|
|
1011
1011
|
}
|
|
1012
|
-
function
|
|
1012
|
+
function Et(e, t) {
|
|
1013
1013
|
return (i, ...o) => {
|
|
1014
1014
|
t && t(i, ...o), e(i, ...o);
|
|
1015
1015
|
};
|
|
@@ -1034,7 +1034,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1034
1034
|
enterTouchDelay: R = 700,
|
|
1035
1035
|
followCursor: O = !1,
|
|
1036
1036
|
id: A,
|
|
1037
|
-
leaveDelay:
|
|
1037
|
+
leaveDelay: E = 0,
|
|
1038
1038
|
leaveTouchDelay: S = 1500,
|
|
1039
1039
|
onClose: I,
|
|
1040
1040
|
onOpen: L,
|
|
@@ -1043,49 +1043,49 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1043
1043
|
direction: u,
|
|
1044
1044
|
keepMounted: _,
|
|
1045
1045
|
modifiers: C,
|
|
1046
|
-
placement:
|
|
1046
|
+
placement: T = "bottom",
|
|
1047
1047
|
title: N,
|
|
1048
1048
|
color: P = "neutral",
|
|
1049
1049
|
variant: M = "solid",
|
|
1050
1050
|
size: F = "md",
|
|
1051
1051
|
slots: se = {},
|
|
1052
1052
|
slotProps: Z = {}
|
|
1053
|
-
} = o, $ =
|
|
1053
|
+
} = o, $ = Te(o, fo), [W, K] = D.useState(), [ne, Gt] = D.useState(null), Ie = D.useRef(!1), Ve = x || O, lt = Ne(), He = Ne(), Oe = Ne(), ct = Ne(), [Wt, dt] = li({
|
|
1054
1054
|
controlled: l,
|
|
1055
1055
|
default: !1,
|
|
1056
1056
|
name: "Tooltip",
|
|
1057
1057
|
state: "open"
|
|
1058
1058
|
});
|
|
1059
|
-
let ee =
|
|
1060
|
-
const
|
|
1059
|
+
let ee = Wt;
|
|
1060
|
+
const Ge = Qe(A), fe = D.useRef(), De = je(() => {
|
|
1061
1061
|
fe.current !== void 0 && (document.body.style.WebkitUserSelect = fe.current, fe.current = void 0), ct.clear();
|
|
1062
1062
|
});
|
|
1063
1063
|
D.useEffect(() => De, [De]);
|
|
1064
1064
|
const ut = (k) => {
|
|
1065
1065
|
St.clear(), Pe = !0, dt(!0), L && !ee && L(k);
|
|
1066
1066
|
}, Ae = je((k) => {
|
|
1067
|
-
St.start(800 +
|
|
1067
|
+
St.start(800 + E, () => {
|
|
1068
1068
|
Pe = !1;
|
|
1069
1069
|
}), dt(!1), I && ee && I(k), lt.start(150, () => {
|
|
1070
1070
|
Ie.current = !1;
|
|
1071
1071
|
});
|
|
1072
1072
|
}), we = (k) => {
|
|
1073
|
-
Ie.current && k.type !== "touchstart" || (
|
|
1073
|
+
Ie.current && k.type !== "touchstart" || (W && W.removeAttribute("title"), He.clear(), Oe.clear(), g || Pe && y ? He.start(Pe ? y : g, () => {
|
|
1074
1074
|
ut(k);
|
|
1075
1075
|
}) : ut(k));
|
|
1076
|
-
},
|
|
1077
|
-
He.clear(), Oe.start(
|
|
1076
|
+
}, We = (k) => {
|
|
1077
|
+
He.clear(), Oe.start(E, () => {
|
|
1078
1078
|
Ae(k);
|
|
1079
1079
|
});
|
|
1080
1080
|
}, {
|
|
1081
1081
|
isFocusVisibleRef: ht,
|
|
1082
|
-
onBlur:
|
|
1082
|
+
onBlur: zt,
|
|
1083
1083
|
onFocus: Bt,
|
|
1084
1084
|
ref: Ut
|
|
1085
1085
|
} = ci(), [, pt] = D.useState(!1), ft = (k) => {
|
|
1086
|
-
|
|
1086
|
+
zt(k), ht.current === !1 && (pt(!1), We(k));
|
|
1087
1087
|
}, mt = (k) => {
|
|
1088
|
-
|
|
1088
|
+
W || K(k.currentTarget), Bt(k), ht.current === !0 && (pt(!0), we(k));
|
|
1089
1089
|
}, gt = (k) => {
|
|
1090
1090
|
Ie.current = !0;
|
|
1091
1091
|
const te = a.props;
|
|
@@ -1111,14 +1111,14 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1111
1111
|
}, [Ae, ee]);
|
|
1112
1112
|
const Kt = ve(K, t), Xt = ve(Ut, Kt), Jt = ve(a.ref, Xt);
|
|
1113
1113
|
typeof N != "number" && !N && (ee = !1);
|
|
1114
|
-
const
|
|
1114
|
+
const ze = D.useRef(null), qt = (k) => {
|
|
1115
1115
|
const te = a.props;
|
|
1116
1116
|
te.onMouseMove && te.onMouseMove(k), xe = {
|
|
1117
1117
|
x: k.clientX,
|
|
1118
1118
|
y: k.clientY
|
|
1119
|
-
},
|
|
1119
|
+
}, ze.current && ze.current.update();
|
|
1120
1120
|
}, me = {}, Be = typeof N == "string";
|
|
1121
|
-
b ? (me.title = !ee && Be && !f ? N : null, me["aria-describedby"] = ee ?
|
|
1121
|
+
b ? (me.title = !ee && Be && !f ? N : null, me["aria-describedby"] = ee ? Ge : null) : (me["aria-label"] = Be ? N : null, me["aria-labelledby"] = ee && !Be ? Ge : null);
|
|
1122
1122
|
const X = V({}, me, $, {
|
|
1123
1123
|
component: p
|
|
1124
1124
|
}, a.props, {
|
|
@@ -1128,11 +1128,11 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1128
1128
|
}, O ? {
|
|
1129
1129
|
onMouseMove: qt
|
|
1130
1130
|
} : {}), ge = {};
|
|
1131
|
-
v || (X.onTouchStart = Yt, X.onTouchEnd = $t), f || (X.onMouseOver =
|
|
1131
|
+
v || (X.onTouchStart = Yt, X.onTouchEnd = $t), f || (X.onMouseOver = Tt(we, X.onMouseOver), X.onMouseLeave = Tt(We, X.onMouseLeave), Ve || (ge.onMouseOver = we, ge.onMouseLeave = We)), c || (X.onFocus = Et(mt, X.onFocus), X.onBlur = Et(ft, X.onBlur), Ve || (ge.onFocus = mt, ge.onBlur = ft));
|
|
1132
1132
|
const Ue = V({}, o, {
|
|
1133
1133
|
arrow: d,
|
|
1134
1134
|
disableInteractive: Ve,
|
|
1135
|
-
placement:
|
|
1135
|
+
placement: T,
|
|
1136
1136
|
touch: Ie.current,
|
|
1137
1137
|
color: P,
|
|
1138
1138
|
variant: M,
|
|
@@ -1157,9 +1157,9 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
}, ...C || []], [ne, C]), [Zt, ei] = ae("root", {
|
|
1159
1159
|
additionalProps: V({
|
|
1160
|
-
id:
|
|
1161
|
-
popperRef:
|
|
1162
|
-
placement:
|
|
1160
|
+
id: Ge,
|
|
1161
|
+
popperRef: ze,
|
|
1162
|
+
placement: T,
|
|
1163
1163
|
anchorEl: O ? {
|
|
1164
1164
|
getBoundingClientRect: () => ({
|
|
1165
1165
|
top: xe.y,
|
|
@@ -1169,8 +1169,8 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1169
1169
|
width: 0,
|
|
1170
1170
|
height: 0
|
|
1171
1171
|
})
|
|
1172
|
-
} :
|
|
1173
|
-
open:
|
|
1172
|
+
} : W,
|
|
1173
|
+
open: W ? ee : !1,
|
|
1174
1174
|
disablePortal: h,
|
|
1175
1175
|
keepMounted: _,
|
|
1176
1176
|
direction: u,
|
|
@@ -1182,7 +1182,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1182
1182
|
externalForwardedProps: yt,
|
|
1183
1183
|
ownerState: Ue
|
|
1184
1184
|
}), [ti, ii] = ae("arrow", {
|
|
1185
|
-
ref:
|
|
1185
|
+
ref: Gt,
|
|
1186
1186
|
className: xt.arrow,
|
|
1187
1187
|
elementType: xo,
|
|
1188
1188
|
externalForwardedProps: yt,
|
|
@@ -1198,7 +1198,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1198
1198
|
children: [N, d ? /* @__PURE__ */ n.jsx(ti, V({}, ii)) : null]
|
|
1199
1199
|
}))]
|
|
1200
1200
|
});
|
|
1201
|
-
}),
|
|
1201
|
+
}), Tn = ({ my: e }) => {
|
|
1202
1202
|
const t = H(), i = t.palette.neutral.softBg, o = t.palette.neutral.solidBg;
|
|
1203
1203
|
return /* @__PURE__ */ n.jsx(
|
|
1204
1204
|
m,
|
|
@@ -1230,7 +1230,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1230
1230
|
)
|
|
1231
1231
|
}
|
|
1232
1232
|
);
|
|
1233
|
-
},
|
|
1233
|
+
}, En = ({
|
|
1234
1234
|
additionalCTA: e,
|
|
1235
1235
|
buttonStyle: t,
|
|
1236
1236
|
buttonContentStyle: i,
|
|
@@ -1756,7 +1756,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1756
1756
|
rulesDisplay: b
|
|
1757
1757
|
}) => {
|
|
1758
1758
|
var c, f;
|
|
1759
|
-
const x = de(), v = ce(), g = ie(), y = Y().primary, R = Y().secondary, O = re(), A = ((c = e.branding) == null ? void 0 : c.colors) || null,
|
|
1759
|
+
const x = de(), v = ce(), g = ie(), y = Y().primary, R = Y().secondary, O = re(), A = ((c = e.branding) == null ? void 0 : c.colors) || null, E = ((f = e.branding) == null ? void 0 : f.urls) || null, S = (A == null ? void 0 : A.contentColor) || H().textColor, I = (A == null ? void 0 : A.secondaryColor) || H().textColor, L = (A == null ? void 0 : A.backgroundColor) || H().surfaceVariant, l = "60%", h = ue(
|
|
1760
1760
|
Q.STANDARD
|
|
1761
1761
|
), u = bo({
|
|
1762
1762
|
finalImage: i,
|
|
@@ -1773,12 +1773,12 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1773
1773
|
imageBackgroundGradient: h,
|
|
1774
1774
|
isMobile: x
|
|
1775
1775
|
}), _ = wt(
|
|
1776
|
-
|
|
1777
|
-
|
|
1776
|
+
E == null ? void 0 : E.primaryUrl,
|
|
1777
|
+
E == null ? void 0 : E.secondaryUrl,
|
|
1778
1778
|
"image"
|
|
1779
1779
|
), C = () => {
|
|
1780
1780
|
_ && window.open(_, "_blank", "noopener,noreferrer");
|
|
1781
|
-
},
|
|
1781
|
+
}, T = (M, F) => _ ? typeof window > "u" ? /* @__PURE__ */ n.jsx(
|
|
1782
1782
|
m,
|
|
1783
1783
|
{
|
|
1784
1784
|
component: "a",
|
|
@@ -1828,11 +1828,11 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1828
1828
|
),
|
|
1829
1829
|
/* @__PURE__ */ n.jsxs(m, { sx: u.contentContainer, children: [
|
|
1830
1830
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: u.titleTypography, children: e.title }),
|
|
1831
|
-
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypography, children:
|
|
1831
|
+
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypography, children: z(e.description) })
|
|
1832
1832
|
] })
|
|
1833
1833
|
] }),
|
|
1834
1834
|
/* @__PURE__ */ n.jsx(Ze, { ratio: "16/9", sx: u.aspectRatioContainer, children: /* @__PURE__ */ n.jsx(m, { ref: s }) })
|
|
1835
|
-
] }) : i ?
|
|
1835
|
+
] }) : i ? T(
|
|
1836
1836
|
/* @__PURE__ */ n.jsxs(m, { sx: u.mobileHeadlineContent, children: [
|
|
1837
1837
|
/* @__PURE__ */ n.jsxs(m, { children: [
|
|
1838
1838
|
/* @__PURE__ */ n.jsxs(
|
|
@@ -1866,7 +1866,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1866
1866
|
),
|
|
1867
1867
|
/* @__PURE__ */ n.jsxs(m, { sx: u.contentContainer, children: [
|
|
1868
1868
|
/* @__PURE__ */ n.jsx(w, { sx: u.titleTypographyMobileImage, children: e.title }),
|
|
1869
|
-
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypographyMobileImage, children:
|
|
1869
|
+
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypographyMobileImage, children: z(e.description) })
|
|
1870
1870
|
] })
|
|
1871
1871
|
] }),
|
|
1872
1872
|
d && /* @__PURE__ */ n.jsx(m, { children: d })
|
|
@@ -1898,14 +1898,14 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1898
1898
|
),
|
|
1899
1899
|
/* @__PURE__ */ n.jsxs(m, { sx: u.contentContainer, children: [
|
|
1900
1900
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: u.titleTypography, children: e.title }),
|
|
1901
|
-
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypography, children:
|
|
1901
|
+
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypography, children: z(e.description) })
|
|
1902
1902
|
] })
|
|
1903
1903
|
] }),
|
|
1904
1904
|
d && /* @__PURE__ */ n.jsx(m, { children: d })
|
|
1905
1905
|
] }), P = !(x && d);
|
|
1906
1906
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1907
1907
|
x && N(),
|
|
1908
|
-
o === "left" && i ?
|
|
1908
|
+
o === "left" && i ? T(
|
|
1909
1909
|
/* @__PURE__ */ n.jsx(m, { sx: u.imageSafeArea }),
|
|
1910
1910
|
u.imageContainerLeft
|
|
1911
1911
|
) : null,
|
|
@@ -1951,7 +1951,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1951
1951
|
),
|
|
1952
1952
|
/* @__PURE__ */ n.jsxs(m, { sx: u.contentContainer, children: [
|
|
1953
1953
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: u.titleTypographyDesktop, children: e.title }),
|
|
1954
|
-
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypographyDesktop, children:
|
|
1954
|
+
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypographyDesktop, children: z(e.description) })
|
|
1955
1955
|
] })
|
|
1956
1956
|
]
|
|
1957
1957
|
}
|
|
@@ -1960,7 +1960,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1960
1960
|
] }) }),
|
|
1961
1961
|
a
|
|
1962
1962
|
] }),
|
|
1963
|
-
o === "right" && i ?
|
|
1963
|
+
o === "right" && i ? T(
|
|
1964
1964
|
/* @__PURE__ */ n.jsx(m, { sx: u.imageSafeArea }),
|
|
1965
1965
|
u.imageContainerRight
|
|
1966
1966
|
) : null
|
|
@@ -2154,12 +2154,12 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2154
2154
|
rulesDisplay: b
|
|
2155
2155
|
}) => {
|
|
2156
2156
|
var c, f;
|
|
2157
|
-
const x = de(), v = Lt(), g = e.type === "poll" || e.type === "match-quiz" ? v : x, y = ce(), R = ie(), O = Y().primary, A = Y().secondary,
|
|
2157
|
+
const x = de(), v = Lt(), g = e.type === "poll" || e.type === "match-quiz" ? v : x, y = ce(), R = ie(), O = Y().primary, A = Y().secondary, E = re(), S = ((c = e.branding) == null ? void 0 : c.colors) || null, I = ((f = e.branding) == null ? void 0 : f.urls) || null, L = (S == null ? void 0 : S.contentColor) || H().textColor, l = (S == null ? void 0 : S.secondaryColor) || H().textColor, h = (S == null ? void 0 : S.backgroundColor) || H().surfaceVariant, u = y.colorSchemes.dark.textColor, _ = ue(
|
|
2158
2158
|
Q.SPLIT
|
|
2159
2159
|
), C = vo({
|
|
2160
2160
|
finalImage: i,
|
|
2161
2161
|
spacingScale: R,
|
|
2162
|
-
borderRadius:
|
|
2162
|
+
borderRadius: E,
|
|
2163
2163
|
fontFamilyPrimary: O,
|
|
2164
2164
|
fontFamilySecondary: A,
|
|
2165
2165
|
secondaryColor: l,
|
|
@@ -2169,17 +2169,17 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2169
2169
|
darkTextColor: u,
|
|
2170
2170
|
imageBackgroundGradient: _,
|
|
2171
2171
|
isMobile: g
|
|
2172
|
-
}),
|
|
2172
|
+
}), T = wt(
|
|
2173
2173
|
I == null ? void 0 : I.primaryUrl,
|
|
2174
2174
|
I == null ? void 0 : I.secondaryUrl,
|
|
2175
2175
|
"image"
|
|
2176
2176
|
), N = () => {
|
|
2177
|
-
|
|
2178
|
-
}, P = (M, F) =>
|
|
2177
|
+
T && window.open(T, "_blank", "noopener,noreferrer");
|
|
2178
|
+
}, P = (M, F) => T ? typeof window > "u" ? /* @__PURE__ */ n.jsx(
|
|
2179
2179
|
m,
|
|
2180
2180
|
{
|
|
2181
2181
|
component: "a",
|
|
2182
|
-
href:
|
|
2182
|
+
href: T,
|
|
2183
2183
|
target: "_blank",
|
|
2184
2184
|
rel: "noopener noreferrer",
|
|
2185
2185
|
sx: {
|
|
@@ -2229,7 +2229,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2229
2229
|
),
|
|
2230
2230
|
/* @__PURE__ */ n.jsxs(m, { sx: C.contentContainer, children: [
|
|
2231
2231
|
/* @__PURE__ */ n.jsx(w, { sx: C.titleText, children: e.title }),
|
|
2232
|
-
/* @__PURE__ */ n.jsx(w, { sx: C.descriptionText, children:
|
|
2232
|
+
/* @__PURE__ */ n.jsx(w, { sx: C.descriptionText, children: z(e.description) })
|
|
2233
2233
|
] })
|
|
2234
2234
|
] }),
|
|
2235
2235
|
p && !g && d && /* @__PURE__ */ n.jsx(m, { children: d((S == null ? void 0 : S.contentColor) || u) })
|
|
@@ -2254,7 +2254,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2254
2254
|
),
|
|
2255
2255
|
/* @__PURE__ */ n.jsxs(m, { sx: C.contentContainer, children: [
|
|
2256
2256
|
/* @__PURE__ */ n.jsx(w, { sx: C.titleTextNoImage, children: e.title }),
|
|
2257
|
-
/* @__PURE__ */ n.jsx(w, { sx: C.descriptionTextNoImage, children:
|
|
2257
|
+
/* @__PURE__ */ n.jsx(w, { sx: C.descriptionTextNoImage, children: z(e.description) })
|
|
2258
2258
|
] })
|
|
2259
2259
|
] }),
|
|
2260
2260
|
p && !g && d && /* @__PURE__ */ n.jsx(m, { children: d(L) })
|
|
@@ -2303,7 +2303,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2303
2303
|
...C.descriptionTextNoImage,
|
|
2304
2304
|
textAlign: "center"
|
|
2305
2305
|
},
|
|
2306
|
-
children:
|
|
2306
|
+
children: z(e.description)
|
|
2307
2307
|
}
|
|
2308
2308
|
)
|
|
2309
2309
|
] })
|
|
@@ -2417,7 +2417,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2417
2417
|
var s, p;
|
|
2418
2418
|
const d = ce(), b = ie(), c = ue(
|
|
2419
2419
|
Q.OVERLAY
|
|
2420
|
-
), f = ((s = e.branding) == null ? void 0 : s.colors) || null, x = (f == null ? void 0 : f.contentColor) || d.colorSchemes.dark.textColor, v = d.customFontFamily.dark.primary, g = d.customFontFamily.dark.secondary, y = d.customRadius.dark.md, R = (p = d.border) == null ? void 0 : p.dark.size, O = d.colorSchemes.dark.textColor, A = At(i),
|
|
2420
|
+
), f = ((s = e.branding) == null ? void 0 : s.colors) || null, x = (f == null ? void 0 : f.contentColor) || d.colorSchemes.dark.textColor, v = d.customFontFamily.dark.primary, g = d.customFontFamily.dark.secondary, y = d.customRadius.dark.md, R = (p = d.border) == null ? void 0 : p.dark.size, O = d.colorSchemes.dark.textColor, A = At(i), E = Co({
|
|
2421
2421
|
spacingScale: b,
|
|
2422
2422
|
brandingColors: f,
|
|
2423
2423
|
secondaryColor: x,
|
|
@@ -2429,8 +2429,8 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2429
2429
|
darkTextColor: O,
|
|
2430
2430
|
imageBackgroundGradient: c
|
|
2431
2431
|
});
|
|
2432
|
-
return /* @__PURE__ */ n.jsxs(m, { sx:
|
|
2433
|
-
/* @__PURE__ */ n.jsx(m, { children: /* @__PURE__ */ n.jsx(m, { sx:
|
|
2432
|
+
return /* @__PURE__ */ n.jsxs(m, { sx: E.mainContainer, children: [
|
|
2433
|
+
/* @__PURE__ */ n.jsx(m, { children: /* @__PURE__ */ n.jsx(m, { sx: E.headlineSection, children: /* @__PURE__ */ n.jsx(m, { sx: E.headlineContent, children: /* @__PURE__ */ n.jsxs(m, { sx: E.headlineContentInner, children: [
|
|
2434
2434
|
/* @__PURE__ */ n.jsxs(
|
|
2435
2435
|
m,
|
|
2436
2436
|
{
|
|
@@ -2440,7 +2440,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2440
2440
|
gap: b["3xs"]
|
|
2441
2441
|
},
|
|
2442
2442
|
children: [
|
|
2443
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx:
|
|
2443
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx: E.headlineText, children: t }),
|
|
2444
2444
|
/* @__PURE__ */ n.jsx(
|
|
2445
2445
|
B,
|
|
2446
2446
|
{
|
|
@@ -2452,12 +2452,12 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2452
2452
|
]
|
|
2453
2453
|
}
|
|
2454
2454
|
),
|
|
2455
|
-
/* @__PURE__ */ n.jsxs(m, { sx:
|
|
2456
|
-
/* @__PURE__ */ n.jsx(w, { level: "h4", sx:
|
|
2457
|
-
e.description && /* @__PURE__ */ n.jsx(w, { level: "body-lg", sx:
|
|
2455
|
+
/* @__PURE__ */ n.jsxs(m, { sx: E.contentContainer, children: [
|
|
2456
|
+
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: E.titleText, children: e.title }),
|
|
2457
|
+
e.description && /* @__PURE__ */ n.jsx(w, { level: "body-lg", sx: E.descriptionText, children: z(e.description) })
|
|
2458
2458
|
] })
|
|
2459
2459
|
] }) }) }) }),
|
|
2460
|
-
/* @__PURE__ */ n.jsx(m, { sx:
|
|
2460
|
+
/* @__PURE__ */ n.jsx(m, { sx: E.mainContentSection, children: o })
|
|
2461
2461
|
] });
|
|
2462
2462
|
}, _o = (e) => {
|
|
2463
2463
|
var t, i, o;
|
|
@@ -2575,7 +2575,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2575
2575
|
var b;
|
|
2576
2576
|
const c = de(), f = Lt(), x = ce(), v = ie(), g = Y().primary, y = Y().secondary, R = re(), O = ue(
|
|
2577
2577
|
Q.SPLIT
|
|
2578
|
-
), A = ((b = e.branding) == null ? void 0 : b.colors) || null,
|
|
2578
|
+
), A = ((b = e.branding) == null ? void 0 : b.colors) || null, E = _o({
|
|
2579
2579
|
finalImage: i,
|
|
2580
2580
|
spacingScale: v,
|
|
2581
2581
|
borderRadius: R,
|
|
@@ -2589,8 +2589,8 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2589
2589
|
isTabulated: s,
|
|
2590
2590
|
alwaysShowImage: p
|
|
2591
2591
|
});
|
|
2592
|
-
return /* @__PURE__ */ n.jsxs(m, { sx:
|
|
2593
|
-
/* @__PURE__ */ n.jsx(m, { sx:
|
|
2592
|
+
return /* @__PURE__ */ n.jsxs(m, { sx: E.wrapper, children: [
|
|
2593
|
+
/* @__PURE__ */ n.jsx(m, { sx: E.desktopImageSection, children: /* @__PURE__ */ n.jsxs(m, { sx: E.imageSectionContent, children: [
|
|
2594
2594
|
/* @__PURE__ */ n.jsxs(m, { children: [
|
|
2595
2595
|
/* @__PURE__ */ n.jsxs(
|
|
2596
2596
|
m,
|
|
@@ -2601,19 +2601,19 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2601
2601
|
gap: v["3xs"]
|
|
2602
2602
|
},
|
|
2603
2603
|
children: [
|
|
2604
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx:
|
|
2604
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx: E.headlineText, children: t }),
|
|
2605
2605
|
/* @__PURE__ */ n.jsx(B, { rulesDisplay: d, rules: e.rules || "" })
|
|
2606
2606
|
]
|
|
2607
2607
|
}
|
|
2608
2608
|
),
|
|
2609
|
-
/* @__PURE__ */ n.jsxs(m, { sx:
|
|
2610
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-lg", sx:
|
|
2611
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-md", sx:
|
|
2609
|
+
/* @__PURE__ */ n.jsxs(m, { sx: E.contentContainer, children: [
|
|
2610
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-lg", sx: E.titleText, children: e.title }),
|
|
2611
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-md", sx: E.descriptionText, children: z(e.description) })
|
|
2612
2612
|
] })
|
|
2613
2613
|
] }),
|
|
2614
|
-
/* @__PURE__ */ n.jsx(m, { sx:
|
|
2614
|
+
/* @__PURE__ */ n.jsx(m, { sx: E.presentedByDesktop, children: o })
|
|
2615
2615
|
] }) }),
|
|
2616
|
-
/* @__PURE__ */ n.jsx(m, { sx:
|
|
2616
|
+
/* @__PURE__ */ n.jsx(m, { sx: E.questionArea, children: a })
|
|
2617
2617
|
] });
|
|
2618
2618
|
}, So = (e) => {
|
|
2619
2619
|
var t, i, o;
|
|
@@ -2898,7 +2898,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2898
2898
|
Q.STANDARD
|
|
2899
2899
|
), p = ie(), d = Y().primary, b = Y().secondary, c = re(), f = (i == null ? void 0 : i.contentColor) || H().textColor, x = H().textPrimary, v = (i == null ? void 0 : i.primaryColor) || H().palette.primary.plainColor, g = (i == null ? void 0 : i.secondaryColor) || H().textColor, y = ni().size, R = H().surface, O = H().onSurface, A = ue(
|
|
2900
2900
|
Q.STANDARD
|
|
2901
|
-
), { t:
|
|
2901
|
+
), { t: E } = _e(), S = e.imagePosition || "left", I = "60%", L = e.isApiError ? E("common.error.title") : E("common.authentication.accessRequired"), l = e.isApiError ? e.apiErrorMessage || E("common.error.message") : E("common.authentication.invalidOrMissingAuth"), h = So({
|
|
2902
2902
|
finalImage: s,
|
|
2903
2903
|
spacingScale: p,
|
|
2904
2904
|
borderRadius: c,
|
|
@@ -2925,23 +2925,34 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2925
2925
|
] }) : /* @__PURE__ */ n.jsx(n.Fragment, {});
|
|
2926
2926
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
2927
2927
|
s ? /* @__PURE__ */ n.jsx(m, { sx: h.mobileHeadlineWithImage, children: /* @__PURE__ */ n.jsx(m, { sx: h.mobileHeadlineContent, children: /* @__PURE__ */ n.jsxs(m, { children: [
|
|
2928
|
-
/* @__PURE__ */ n.jsxs(
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
{
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2928
|
+
/* @__PURE__ */ n.jsxs(
|
|
2929
|
+
m,
|
|
2930
|
+
{
|
|
2931
|
+
sx: {
|
|
2932
|
+
display: "flex",
|
|
2933
|
+
alignItems: "center",
|
|
2934
|
+
justifyContent: "center",
|
|
2935
|
+
gap: p["3xs"]
|
|
2936
|
+
},
|
|
2937
|
+
children: [
|
|
2938
|
+
/* @__PURE__ */ n.jsx(
|
|
2939
|
+
w,
|
|
2940
|
+
{
|
|
2941
|
+
level: "body-sm",
|
|
2942
|
+
sx: h.headlineTypographyMobileImage,
|
|
2943
|
+
children: e.headline
|
|
2944
|
+
}
|
|
2945
|
+
),
|
|
2946
|
+
/* @__PURE__ */ n.jsx(
|
|
2947
|
+
B,
|
|
2948
|
+
{
|
|
2949
|
+
rulesDisplay: e.rulesDisplay,
|
|
2950
|
+
rules: e.entity.rules || ""
|
|
2951
|
+
}
|
|
2952
|
+
)
|
|
2953
|
+
]
|
|
2954
|
+
}
|
|
2955
|
+
),
|
|
2945
2956
|
/* @__PURE__ */ n.jsxs(m, { sx: h.contentContainer, children: [
|
|
2946
2957
|
/* @__PURE__ */ n.jsx(
|
|
2947
2958
|
w,
|
|
@@ -2956,34 +2967,38 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2956
2967
|
{
|
|
2957
2968
|
level: "body-md",
|
|
2958
2969
|
sx: h.descriptionTypographyMobileImage,
|
|
2959
|
-
children:
|
|
2970
|
+
children: z(e.entity.description)
|
|
2960
2971
|
}
|
|
2961
2972
|
)
|
|
2962
2973
|
] })
|
|
2963
2974
|
] }) }) }) : /* @__PURE__ */ n.jsx(m, { sx: h.mobileHeadlineWithoutImage, children: /* @__PURE__ */ n.jsxs(m, { children: [
|
|
2964
|
-
/* @__PURE__ */ n.jsxs(
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2975
|
+
/* @__PURE__ */ n.jsxs(
|
|
2976
|
+
m,
|
|
2977
|
+
{
|
|
2978
|
+
sx: {
|
|
2979
|
+
display: "flex",
|
|
2980
|
+
alignItems: "center",
|
|
2981
|
+
justifyContent: "center",
|
|
2982
|
+
gap: p["3xs"]
|
|
2983
|
+
},
|
|
2984
|
+
children: [
|
|
2985
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx: h.headlineTypography, children: e.headline }),
|
|
2986
|
+
/* @__PURE__ */ n.jsx(
|
|
2987
|
+
B,
|
|
2988
|
+
{
|
|
2989
|
+
rulesDisplay: e.rulesDisplay,
|
|
2990
|
+
rules: e.entity.rules || ""
|
|
2991
|
+
}
|
|
2992
|
+
)
|
|
2993
|
+
]
|
|
2994
|
+
}
|
|
2995
|
+
),
|
|
2974
2996
|
/* @__PURE__ */ n.jsxs(m, { sx: h.contentContainer, children: [
|
|
2975
2997
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: h.titleTypography, children: e.entity.title }),
|
|
2976
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-md", sx: h.descriptionTypography, children:
|
|
2998
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-md", sx: h.descriptionTypography, children: z(e.entity.description) })
|
|
2977
2999
|
] })
|
|
2978
3000
|
] }) }),
|
|
2979
|
-
s && S === "left" && /* @__PURE__ */ n.jsx(m, { sx: h.imageContainerLeft, children: /* @__PURE__ */ n.jsx(
|
|
2980
|
-
"img",
|
|
2981
|
-
{
|
|
2982
|
-
src: s,
|
|
2983
|
-
alt: "illustration",
|
|
2984
|
-
style: h.image
|
|
2985
|
-
}
|
|
2986
|
-
) }),
|
|
3001
|
+
s && S === "left" && /* @__PURE__ */ n.jsx(m, { sx: h.imageContainerLeft, children: /* @__PURE__ */ n.jsx("img", { src: s, alt: "illustration", style: h.image }) }),
|
|
2987
3002
|
/* @__PURE__ */ n.jsxs(m, { sx: h.mainContentArea, children: [
|
|
2988
3003
|
/* @__PURE__ */ n.jsx(m, { sx: { px: p.md }, children: /* @__PURE__ */ n.jsx(m, { sx: h.desktopHeadlineContainer, children: /* @__PURE__ */ n.jsxs(
|
|
2989
3004
|
m,
|
|
@@ -2994,16 +3009,26 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2994
3009
|
alignItems: "center"
|
|
2995
3010
|
},
|
|
2996
3011
|
children: [
|
|
2997
|
-
/* @__PURE__ */ n.jsxs(
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
}
|
|
3005
|
-
|
|
3006
|
-
|
|
3012
|
+
/* @__PURE__ */ n.jsxs(
|
|
3013
|
+
m,
|
|
3014
|
+
{
|
|
3015
|
+
sx: {
|
|
3016
|
+
display: "flex",
|
|
3017
|
+
alignItems: "center",
|
|
3018
|
+
gap: p["3xs"]
|
|
3019
|
+
},
|
|
3020
|
+
children: [
|
|
3021
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx: h.headlineTypography, children: e.headline }),
|
|
3022
|
+
/* @__PURE__ */ n.jsx(
|
|
3023
|
+
B,
|
|
3024
|
+
{
|
|
3025
|
+
rulesDisplay: e.rulesDisplay,
|
|
3026
|
+
rules: e.entity.rules || ""
|
|
3027
|
+
}
|
|
3028
|
+
)
|
|
3029
|
+
]
|
|
3030
|
+
}
|
|
3031
|
+
),
|
|
3007
3032
|
/* @__PURE__ */ n.jsxs(m, { sx: h.contentContainer, children: [
|
|
3008
3033
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: h.titleTypographyDesktop, children: e.entity.title }),
|
|
3009
3034
|
/* @__PURE__ */ n.jsx(
|
|
@@ -3011,7 +3036,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3011
3036
|
{
|
|
3012
3037
|
level: "body-md",
|
|
3013
3038
|
sx: h.descriptionTypographyDesktop,
|
|
3014
|
-
children:
|
|
3039
|
+
children: z(e.entity.description)
|
|
3015
3040
|
}
|
|
3016
3041
|
)
|
|
3017
3042
|
] })
|
|
@@ -3031,16 +3056,9 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3031
3056
|
] }) }),
|
|
3032
3057
|
u()
|
|
3033
3058
|
] }),
|
|
3034
|
-
s && S === "right" && /* @__PURE__ */ n.jsx(m, { sx: h.imageContainerRight, children: /* @__PURE__ */ n.jsx(
|
|
3035
|
-
"img",
|
|
3036
|
-
{
|
|
3037
|
-
src: s,
|
|
3038
|
-
alt: "illustration",
|
|
3039
|
-
style: h.image
|
|
3040
|
-
}
|
|
3041
|
-
) })
|
|
3059
|
+
s && S === "right" && /* @__PURE__ */ n.jsx(m, { sx: h.imageContainerRight, children: /* @__PURE__ */ n.jsx("img", { src: s, alt: "illustration", style: h.image }) })
|
|
3042
3060
|
] });
|
|
3043
|
-
},
|
|
3061
|
+
}, To = (e) => {
|
|
3044
3062
|
var t, i, o;
|
|
3045
3063
|
return {
|
|
3046
3064
|
// Main headline section with background image
|
|
@@ -3213,7 +3231,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3213
3231
|
Q.SPLIT
|
|
3214
3232
|
), { t: p } = _e(), d = H().textPrimary, b = H().surface, c = H().onSurface, f = (a == null ? void 0 : a.backgroundColor) || H().surfaceVariant, x = re(), v = Y().secondary, g = Y().primary, y = re().md, R = H().textColor, O = ie(), A = ue(
|
|
3215
3233
|
Q.SPLIT
|
|
3216
|
-
),
|
|
3234
|
+
), E = e.isApiError ? p("common.error.title") : p("common.authentication.accessRequired"), S = e.isApiError ? e.apiErrorMessage || p("common.error.message") : p("common.authentication.invalidOrMissingAuth"), I = To({
|
|
3217
3235
|
finalImage: s,
|
|
3218
3236
|
spacingScale: O,
|
|
3219
3237
|
borderRadius: re(),
|
|
@@ -3248,19 +3266,30 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3248
3266
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
3249
3267
|
/* @__PURE__ */ n.jsx(m, { sx: I.headlineSection, children: /* @__PURE__ */ n.jsxs(m, { sx: I.headlineContent, children: [
|
|
3250
3268
|
/* @__PURE__ */ n.jsxs(m, { children: [
|
|
3251
|
-
/* @__PURE__ */ n.jsxs(
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3269
|
+
/* @__PURE__ */ n.jsxs(
|
|
3270
|
+
m,
|
|
3271
|
+
{
|
|
3272
|
+
sx: {
|
|
3273
|
+
display: "flex",
|
|
3274
|
+
alignItems: "center",
|
|
3275
|
+
justifyContent: o ? "center" : "left",
|
|
3276
|
+
gap: O["3xs"]
|
|
3277
|
+
},
|
|
3278
|
+
children: [
|
|
3279
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx: I.headlineText, children: e.headline }),
|
|
3280
|
+
/* @__PURE__ */ n.jsx(
|
|
3281
|
+
B,
|
|
3282
|
+
{
|
|
3283
|
+
rulesDisplay: e.rulesDisplay,
|
|
3284
|
+
rules: e.entity.rules || ""
|
|
3285
|
+
}
|
|
3286
|
+
)
|
|
3287
|
+
]
|
|
3288
|
+
}
|
|
3289
|
+
),
|
|
3261
3290
|
/* @__PURE__ */ n.jsxs(m, { sx: I.contentContainer, children: [
|
|
3262
3291
|
/* @__PURE__ */ n.jsx(w, { level: "body-lg", sx: I.titleText, children: e.entity.title }),
|
|
3263
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-md", sx: I.descriptionText, children:
|
|
3292
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-md", sx: I.descriptionText, children: z(e.entity.description) })
|
|
3264
3293
|
] })
|
|
3265
3294
|
] }),
|
|
3266
3295
|
/* @__PURE__ */ n.jsx(m, { sx: I.presentedByDesktop, children: e.renderPresentedBy(
|
|
@@ -3272,7 +3301,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3272
3301
|
it,
|
|
3273
3302
|
{
|
|
3274
3303
|
variant: "error",
|
|
3275
|
-
title:
|
|
3304
|
+
title: E,
|
|
3276
3305
|
message: S
|
|
3277
3306
|
}
|
|
3278
3307
|
),
|
|
@@ -3280,7 +3309,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3280
3309
|
/* @__PURE__ */ n.jsx(m, { sx: I.presentedByMobile, children: e.renderPresentedBy((a == null ? void 0 : a.contentColor) || R) })
|
|
3281
3310
|
] })
|
|
3282
3311
|
] });
|
|
3283
|
-
},
|
|
3312
|
+
}, Eo = (e) => {
|
|
3284
3313
|
var t;
|
|
3285
3314
|
return {
|
|
3286
3315
|
// Main container with background overlay
|
|
@@ -3475,7 +3504,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3475
3504
|
imagePlaceholder: e.defaultImagePlaceholderUrl || ""
|
|
3476
3505
|
},
|
|
3477
3506
|
Q.OVERLAY
|
|
3478
|
-
), f = At(c), x = (d == null ? void 0 : d.contentColor) || i.colorSchemes.dark.textColor, v = i.customFontFamily.dark.primary, g = i.customFontFamily.dark.secondary, y = i.customRadius.dark, R = i.border.dark.size, O = (d == null ? void 0 : d.backgroundColor) || i.colorSchemes.dark.surfaceVariant, A = i.colorSchemes.dark.onSurface,
|
|
3507
|
+
), f = At(c), x = (d == null ? void 0 : d.contentColor) || i.colorSchemes.dark.textColor, v = i.customFontFamily.dark.primary, g = i.customFontFamily.dark.secondary, y = i.customRadius.dark, R = i.border.dark.size, O = (d == null ? void 0 : d.backgroundColor) || i.colorSchemes.dark.surfaceVariant, A = i.colorSchemes.dark.onSurface, E = i.colorSchemes.dark.surfaceVariant, S = i.colorSchemes.dark.textPrimary, I = e.isApiError ? a("common.error.title") : a("common.authentication.accessRequired"), L = e.isApiError ? e.apiErrorMessage || a("common.error.message") : a("common.authentication.invalidOrMissingAuth"), l = Eo({
|
|
3479
3508
|
spacingScale: t,
|
|
3480
3509
|
brandingColors: d,
|
|
3481
3510
|
secondaryColor: x,
|
|
@@ -3488,7 +3517,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3488
3517
|
imageBackgroundGradient: s,
|
|
3489
3518
|
contentBgColor: O,
|
|
3490
3519
|
onSurfaceColor: A,
|
|
3491
|
-
surfaceVariantColor:
|
|
3520
|
+
surfaceVariantColor: E,
|
|
3492
3521
|
textPrimary: S,
|
|
3493
3522
|
isMobile: o
|
|
3494
3523
|
}), h = () => e.isApiError ? /* @__PURE__ */ n.jsx(m, { sx: l.ctaSection, children: /* @__PURE__ */ n.jsx(m, { sx: l.buttonsContainer, children: /* @__PURE__ */ n.jsx(pe, { sx: l.tryAgainButton, onClick: e.toggleTryAgain, children: /* @__PURE__ */ n.jsxs(m, { sx: l.tryAgainButtonContent, children: [
|
|
@@ -3497,20 +3526,31 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3497
3526
|
] }) }) }) }) : /* @__PURE__ */ n.jsx(n.Fragment, {});
|
|
3498
3527
|
return /* @__PURE__ */ n.jsxs(m, { sx: l.mainContainer, children: [
|
|
3499
3528
|
/* @__PURE__ */ n.jsx(m, { children: /* @__PURE__ */ n.jsx(m, { sx: l.headlineSection, children: /* @__PURE__ */ n.jsx(m, { sx: l.headlineContent, children: /* @__PURE__ */ n.jsxs(m, { sx: l.headlineContentInner, children: [
|
|
3500
|
-
/* @__PURE__ */ n.jsxs(
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
}
|
|
3509
|
-
|
|
3510
|
-
|
|
3529
|
+
/* @__PURE__ */ n.jsxs(
|
|
3530
|
+
m,
|
|
3531
|
+
{
|
|
3532
|
+
sx: {
|
|
3533
|
+
display: "flex",
|
|
3534
|
+
alignItems: "center",
|
|
3535
|
+
justifyContent: o ? "center" : "left",
|
|
3536
|
+
gap: t["3xs"]
|
|
3537
|
+
},
|
|
3538
|
+
children: [
|
|
3539
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx: l.headlineText, children: e.headline }),
|
|
3540
|
+
/* @__PURE__ */ n.jsx(
|
|
3541
|
+
B,
|
|
3542
|
+
{
|
|
3543
|
+
rulesDisplay: e.rulesDisplay,
|
|
3544
|
+
isOverlayVariant: !0,
|
|
3545
|
+
rules: e.entity.rules || ""
|
|
3546
|
+
}
|
|
3547
|
+
)
|
|
3548
|
+
]
|
|
3549
|
+
}
|
|
3550
|
+
),
|
|
3511
3551
|
/* @__PURE__ */ n.jsxs(m, { sx: l.contentContainer, children: [
|
|
3512
3552
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: l.titleText, children: e.entity.title }),
|
|
3513
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-lg", sx: l.descriptionText, children:
|
|
3553
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-lg", sx: l.descriptionText, children: z(e.entity.description) })
|
|
3514
3554
|
] })
|
|
3515
3555
|
] }) }) }) }),
|
|
3516
3556
|
/* @__PURE__ */ n.jsxs(m, { sx: l.bottomSection, children: [
|
|
@@ -3640,7 +3680,7 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3640
3680
|
}
|
|
3641
3681
|
function d(g, y, R, O, A) {
|
|
3642
3682
|
typeof y == "object" && (R = y.depth, O = y.prototype, A = y.includeNonEnumerable, y = y.circular);
|
|
3643
|
-
var
|
|
3683
|
+
var E = [], S = [], I = typeof Buffer < "u";
|
|
3644
3684
|
typeof y > "u" && (y = !0), typeof R > "u" && (R = 1 / 0);
|
|
3645
3685
|
function L(l, h) {
|
|
3646
3686
|
if (l === null) return null;
|
|
@@ -3649,11 +3689,11 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3649
3689
|
if (typeof l != "object") return l;
|
|
3650
3690
|
if (o(l, a)) u = new a();
|
|
3651
3691
|
else if (o(l, s)) u = new s();
|
|
3652
|
-
else if (o(l, p)) u = new p(function($,
|
|
3692
|
+
else if (o(l, p)) u = new p(function($, W) {
|
|
3653
3693
|
l.then(function(K) {
|
|
3654
3694
|
$(L(K, h - 1));
|
|
3655
3695
|
}, function(K) {
|
|
3656
|
-
|
|
3696
|
+
W(L(K, h - 1));
|
|
3657
3697
|
});
|
|
3658
3698
|
});
|
|
3659
3699
|
else if (d.__isArray(l)) u = [];
|
|
@@ -3664,27 +3704,27 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3664
3704
|
o(l, Error) ? u = Object.create(l) : typeof O > "u" ? (_ = Object.getPrototypeOf(l), u = Object.create(_)) : (u = Object.create(O), _ = O);
|
|
3665
3705
|
}
|
|
3666
3706
|
if (y) {
|
|
3667
|
-
var C =
|
|
3707
|
+
var C = E.indexOf(l);
|
|
3668
3708
|
if (C != -1) return S[C];
|
|
3669
|
-
|
|
3709
|
+
E.push(l), S.push(u);
|
|
3670
3710
|
}
|
|
3671
|
-
o(l, a) && l.forEach(function($,
|
|
3672
|
-
var K = L(
|
|
3711
|
+
o(l, a) && l.forEach(function($, W) {
|
|
3712
|
+
var K = L(W, h - 1), ne = L($, h - 1);
|
|
3673
3713
|
u.set(K, ne);
|
|
3674
3714
|
}), o(l, s) && l.forEach(function($) {
|
|
3675
|
-
var
|
|
3676
|
-
u.add(
|
|
3715
|
+
var W = L($, h - 1);
|
|
3716
|
+
u.add(W);
|
|
3677
3717
|
});
|
|
3678
|
-
for (var
|
|
3718
|
+
for (var T in l) {
|
|
3679
3719
|
var N;
|
|
3680
|
-
_ && (N = Object.getOwnPropertyDescriptor(_,
|
|
3720
|
+
_ && (N = Object.getOwnPropertyDescriptor(_, T)), !(N && N.set == null) && (u[T] = L(l[T], h - 1));
|
|
3681
3721
|
}
|
|
3682
|
-
if (Object.getOwnPropertySymbols) for (var P = Object.getOwnPropertySymbols(l),
|
|
3683
|
-
var M = P[
|
|
3722
|
+
if (Object.getOwnPropertySymbols) for (var P = Object.getOwnPropertySymbols(l), T = 0; T < P.length; T++) {
|
|
3723
|
+
var M = P[T], F = Object.getOwnPropertyDescriptor(l, M);
|
|
3684
3724
|
F && !F.enumerable && !A || (u[M] = L(l[M], h - 1), F.enumerable || Object.defineProperty(u, M, { enumerable: !1 }));
|
|
3685
3725
|
}
|
|
3686
|
-
if (A) for (var se = Object.getOwnPropertyNames(l),
|
|
3687
|
-
var Z = se[
|
|
3726
|
+
if (A) for (var se = Object.getOwnPropertyNames(l), T = 0; T < se.length; T++) {
|
|
3727
|
+
var Z = se[T], F = Object.getOwnPropertyDescriptor(l, Z);
|
|
3688
3728
|
F && F.enumerable || (u[Z] = L(l[Z], h - 1), Object.defineProperty(u, Z, { enumerable: !1 }));
|
|
3689
3729
|
}
|
|
3690
3730
|
return u;
|
|
@@ -3765,10 +3805,10 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3765
3805
|
if (C !== void 0) _ = _ && C.error === void 0;
|
|
3766
3806
|
else if (!_) return !1;
|
|
3767
3807
|
if (_) {
|
|
3768
|
-
var
|
|
3769
|
-
if (h.length > 0 && (
|
|
3770
|
-
var N = new Error("Unhandled error." + (
|
|
3771
|
-
throw N.context =
|
|
3808
|
+
var T;
|
|
3809
|
+
if (h.length > 0 && (T = h[0]), T instanceof Error) throw T;
|
|
3810
|
+
var N = new Error("Unhandled error." + (T ? " (" + T.message + ")" : ""));
|
|
3811
|
+
throw N.context = T, N;
|
|
3772
3812
|
}
|
|
3773
3813
|
var P = C[l];
|
|
3774
3814
|
if (P === void 0) return !1;
|
|
@@ -3777,9 +3817,9 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3777
3817
|
return !0;
|
|
3778
3818
|
};
|
|
3779
3819
|
function x(l, h, u, _) {
|
|
3780
|
-
var C,
|
|
3781
|
-
if (c(u),
|
|
3782
|
-
else if (typeof N == "function" ? N =
|
|
3820
|
+
var C, T, N;
|
|
3821
|
+
if (c(u), T = l._events, T === void 0 ? (T = l._events = /* @__PURE__ */ Object.create(null), l._eventsCount = 0) : (T.newListener !== void 0 && (l.emit("newListener", h, u.listener ? u.listener : u), T = l._events), N = T[h]), N === void 0) N = T[h] = u, ++l._eventsCount;
|
|
3822
|
+
else if (typeof N == "function" ? N = T[h] = _ ? [u, N] : [N, u] : _ ? N.unshift(u) : N.push(u), C = f(l), C > 0 && N.length > C && !N.warned) {
|
|
3783
3823
|
N.warned = !0;
|
|
3784
3824
|
var P = new Error("Possible EventEmitter memory leak detected. " + N.length + " " + String(h) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
3785
3825
|
P.name = "MaxListenersExceededWarning", P.emitter = l, P.type = h, P.count = N.length, s(P);
|
|
@@ -3803,13 +3843,13 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3803
3843
|
}, d.prototype.prependOnceListener = function(l, h) {
|
|
3804
3844
|
return c(h), this.prependListener(l, g(this, l, h)), this;
|
|
3805
3845
|
}, d.prototype.removeListener = function(l, h) {
|
|
3806
|
-
var u, _, C,
|
|
3846
|
+
var u, _, C, T, N;
|
|
3807
3847
|
if (c(h), _ = this._events, _ === void 0) return this;
|
|
3808
3848
|
if (u = _[l], u === void 0) return this;
|
|
3809
3849
|
if (u === h || u.listener === h) --this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete _[l], _.removeListener && this.emit("removeListener", l, u.listener || h));
|
|
3810
3850
|
else if (typeof u != "function") {
|
|
3811
|
-
for (C = -1,
|
|
3812
|
-
N = u[
|
|
3851
|
+
for (C = -1, T = u.length - 1; T >= 0; T--) if (u[T] === h || u[T].listener === h) {
|
|
3852
|
+
N = u[T].listener, C = T;
|
|
3813
3853
|
break;
|
|
3814
3854
|
}
|
|
3815
3855
|
if (C < 0) return this;
|
|
@@ -3821,8 +3861,8 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3821
3861
|
if (u = this._events, u === void 0) return this;
|
|
3822
3862
|
if (u.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : u[l] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete u[l]), this;
|
|
3823
3863
|
if (arguments.length === 0) {
|
|
3824
|
-
var C = Object.keys(u),
|
|
3825
|
-
for (_ = 0; _ < C.length; ++_)
|
|
3864
|
+
var C = Object.keys(u), T;
|
|
3865
|
+
for (_ = 0; _ < C.length; ++_) T = C[_], T !== "removeListener" && this.removeAllListeners(T);
|
|
3826
3866
|
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
|
3827
3867
|
}
|
|
3828
3868
|
if (h = u[l], typeof h == "function") this.removeListener(l, h);
|
|
@@ -3833,7 +3873,7 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3833
3873
|
var _ = l._events;
|
|
3834
3874
|
if (_ === void 0) return [];
|
|
3835
3875
|
var C = _[h];
|
|
3836
|
-
return C === void 0 ? [] : typeof C == "function" ? u ? [C.listener || C] : [C] : u ?
|
|
3876
|
+
return C === void 0 ? [] : typeof C == "function" ? u ? [C.listener || C] : [C] : u ? E(C) : O(C, C.length);
|
|
3837
3877
|
}
|
|
3838
3878
|
d.prototype.listeners = function(l) {
|
|
3839
3879
|
return y(this, l, !0);
|
|
@@ -3862,19 +3902,19 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3862
3902
|
for (; h + 1 < l.length; h++) l[h] = l[h + 1];
|
|
3863
3903
|
l.pop();
|
|
3864
3904
|
}
|
|
3865
|
-
function
|
|
3905
|
+
function E(l) {
|
|
3866
3906
|
for (var h = new Array(l.length), u = 0; u < h.length; ++u) h[u] = l[u].listener || l[u];
|
|
3867
3907
|
return h;
|
|
3868
3908
|
}
|
|
3869
3909
|
function S(l, h) {
|
|
3870
3910
|
return new Promise(function(u, _) {
|
|
3871
3911
|
function C(N) {
|
|
3872
|
-
l.removeListener(h,
|
|
3912
|
+
l.removeListener(h, T), _(N);
|
|
3873
3913
|
}
|
|
3874
|
-
function
|
|
3914
|
+
function T() {
|
|
3875
3915
|
typeof l.removeListener == "function" && l.removeListener("error", C), u([].slice.call(arguments));
|
|
3876
3916
|
}
|
|
3877
|
-
L(l, h,
|
|
3917
|
+
L(l, h, T, { once: !0 }), h !== "error" && I(l, C, { once: !0 });
|
|
3878
3918
|
});
|
|
3879
3919
|
}
|
|
3880
3920
|
function I(l, h, u) {
|
|
@@ -3882,8 +3922,8 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3882
3922
|
}
|
|
3883
3923
|
function L(l, h, u, _) {
|
|
3884
3924
|
if (typeof l.on == "function") _.once ? l.once(h, u) : l.on(h, u);
|
|
3885
|
-
else if (typeof l.addEventListener == "function") l.addEventListener(h, function C(
|
|
3886
|
-
_.once && l.removeEventListener(h, C), u(
|
|
3925
|
+
else if (typeof l.addEventListener == "function") l.addEventListener(h, function C(T) {
|
|
3926
|
+
_.once && l.removeEventListener(h, C), u(T);
|
|
3887
3927
|
});
|
|
3888
3928
|
else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof l);
|
|
3889
3929
|
}
|
|
@@ -3930,13 +3970,13 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3930
3970
|
return y = !1, this.data[c] && (y = !0, this.stats.vsize -= this._getValLength(this._unwrap(this.data[c], !1))), this.data[c] = this._wrap(f, x), this.stats.vsize += this._getValLength(f), y || (this.stats.ksize += this._getKeyLength(c), this.stats.keys++), this.emit("set", c, f), !0;
|
|
3931
3971
|
}
|
|
3932
3972
|
mset(c) {
|
|
3933
|
-
var f, x, v, g, y, R, O, A,
|
|
3973
|
+
var f, x, v, g, y, R, O, A, E, S;
|
|
3934
3974
|
if (s(this, d), this.options.maxKeys > -1 && this.stats.keys + c.length >= this.options.maxKeys) throw f = this._error("ECACHEFULL"), f;
|
|
3935
3975
|
for (v = 0, O = c.length; v < O; v++) {
|
|
3936
|
-
if (R = c[v], { key: y, val: S, ttl:
|
|
3976
|
+
if (R = c[v], { key: y, val: S, ttl: E } = R, E && typeof E != "number") throw f = this._error("ETTLTYPE"), f;
|
|
3937
3977
|
if ((x = this._isInvalidKey(y)) != null) throw x;
|
|
3938
3978
|
}
|
|
3939
|
-
for (g = 0, A = c.length; g < A; g++) R = c[g], { key: y, val: S, ttl:
|
|
3979
|
+
for (g = 0, A = c.length; g < A; g++) R = c[g], { key: y, val: S, ttl: E } = R, this.set(y, S, E);
|
|
3940
3980
|
return !0;
|
|
3941
3981
|
}
|
|
3942
3982
|
del(c) {
|
|
@@ -4037,7 +4077,7 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
4037
4077
|
var i;
|
|
4038
4078
|
i = t.exports = Vo(), i.version = "5.1.2";
|
|
4039
4079
|
}).call(e);
|
|
4040
|
-
}),
|
|
4080
|
+
}), Go = ((e) => (e.EN = "en", e.BG = "bg", e.RO = "ro", e.EL = "el", e.SK = "sk", e.PT = "pt", e.SR = "sr", e.HU = "hu", e.SV = "sv", e.ES = "es", e.FR = "fr", e.NL = "nl", e.DE = "de", e.IT = "it", e.AR = "ar", e))(Go || {}), Wo = ((e) => (e.DEV = "dev", e.PROD = "prod", e.STAGING = "staging", e))(Wo || {}), zo = ((e) => (e.NATIVE = "native", e.ENETPULSE = "enetpulse", e.SPORTRADAR = "sportradar", e.SPORTAL_365 = "sportal365", e.API_FOOTBALL = "api_football", e))(zo || {}), Bo = ((e) => (e.DEFAULT = "default", e.STANDARD = "standard", e))(Bo || {}), Uo = ((e) => (e.FT_1X2 = "FT_1X2", e.HT_1X2 = "HT_1X2", e.BOTH_TEAMS_SCORE = "BOTH_TEAMS_SCORE", e.DOUBLE_CHANCE = "DOUBLE_CHANCE", e.HT_FT = "HT_FT", e.PLAYER_SCORE = "PLAYER_SCORE", e.PLAYER_YELLOW_CARD = "PLAYER_YELLOW_CARD", e.PLAYER_RED_CARD = "PLAYER_RED_CARD", e.RED_CARD_MATCH = "RED_CARD_MATCH", e.PENALTY_MATCH = "PENALTY_MATCH", e.PLAYER_SCORE_FIRST_GOAL = "PLAYER_SCORE_FIRST_GOAL", e.CORNERS_MATCH = "CORNERS_MATCH", e.CORRECT_SCORE = "CORRECT_SCORE", e.CORRECT_SCORE_ADVANCED = "CORRECT_SCORE_ADVANCED", e.CORRECT_SCORE_HT = "CORRECT_SCORE_HT", e.PLAYER_SCORE_HATTRICK = "PLAYER_SCORE_HATTRICK", e.PLAYER_SCORE_TWICE = "PLAYER_SCORE_TWICE", e.OVER_GOALS_0_5 = "OVER_GOALS_0_5", e.OVER_GOALS_1_5 = "OVER_GOALS_1_5", e.OVER_GOALS_2_5 = "OVER_GOALS_2_5", e.OVER_GOALS_3_5 = "OVER_GOALS_3_5", e.OVER_GOALS_4_5 = "OVER_GOALS_4_5", e.OVER_GOALS_5_5 = "OVER_GOALS_5_5", e.OVER_GOALS_6_5 = "OVER_GOALS_6_5", e.OVER_CORNERS_6_5 = "OVER_CORNERS_6_5", e.OVER_CORNERS_7_5 = "OVER_CORNERS_7_5", e.OVER_CORNERS_8_5 = "OVER_CORNERS_8_5", e.OVER_CORNERS_9_5 = "OVER_CORNERS_9_5", e.OVER_CORNERS_10_5 = "OVER_CORNERS_10_5", e.OVER_CORNERS_11_5 = "OVER_CORNERS_11_5", e.OVER_CORNERS_12_5 = "OVER_CORNERS_12_5", e.OVER_CORNERS_13_5 = "OVER_CORNERS_13_5", e))(Uo || {});
|
|
4041
4081
|
function It(e) {
|
|
4042
4082
|
this.message = e;
|
|
4043
4083
|
}
|
|
@@ -4047,7 +4087,7 @@ function Ot(e) {
|
|
|
4047
4087
|
this.message = e;
|
|
4048
4088
|
}
|
|
4049
4089
|
Ot.prototype = new Error(), Ot.prototype.name = "InvalidTokenError";
|
|
4050
|
-
var Yo = ((e) => (e[e.BAD_METHOD_CALL = 400] = "BAD_METHOD_CALL", e[e.UNAUTHORIZED = 401] = "UNAUTHORIZED", e[e.NOT_FOUND = 404] = "NOT_FOUND", e[e.PRECONDITION_FAILED = 412] = "PRECONDITION_FAILED", e))(Yo || {}), $o = ((e) => (e.INVALID_TEMPLATE = "INVALID_TEMPLATE", e.INVALID_PREDICTION = "INVALID_PREDICTION", e.INVALID_MARKET = "INVALID_MARKET", e.INVALID_FIELD = "INVALID_FIELD", e.INVALID_TYPE = "INVALID_TYPE", e.EXCEEDED_LENGTH = "EXCEEDED_LENGTH", e.INVALID_TOKEN = "invalid_token", e.UNAUTHORIZED = "unauthorized", e.INVALID_FILTERS = "invalid_filters", e.INVALID_AVATAR = "invalid_avatar", e.INVALID_METHOD_CALL = "invalid_method_call", e.INVALID_LIMIT = "invalid_limit", e.INVALID_TEMPLATE_GROUP_ID = "invalid_template_group_id", e.INVALID_TEMPLATE_GROUP_FILTERS = "invalid_template_group_filters", e.INVALID_PAGE_NUMBER = "invalid_page_number", e.INVALID_DISCUSSION_IDS = "invalid_discussion_ids", e.ID_MAPPING_NOT_FOUND = "id_mapping_not_found", e.INVALID_COMPETITION_ID = "invalid_competition_id", e.INVALID_TEAM_ID = "invalid_team_id", e.INVALID_IDS = "invalid_ids", e.INVALID_INPUT_PROVIDER = "invalid_input_provider", e.INVALID_OUTPUT_PROVIDER = "invalid_output_provider", e.INVALID_MATCH_SUMMARY = "invalid_match_summary", e.INVALID_MATCH_SUMMARY_PREDICTIONS = "invalid_match_summary_predictions", e.INVALID_MATCH_SUMMARY_PREDICTIONS_KEYS = "invalid_match_summary_predictions_keys", e.ENTITY_IDS_NOT_FOUND = "entity_ids_not_found", e.MATCH_IDS_NOT_FOUND = "match_ids_not_found", e.INVALID_MATCH_IDS = "invalid_match_ids", e.ODD_CLIENT_CONFIGURATION_NOT_FOUND = "odd_client_configuration_not_found", e))($o || {}),
|
|
4090
|
+
var Yo = ((e) => (e[e.BAD_METHOD_CALL = 400] = "BAD_METHOD_CALL", e[e.UNAUTHORIZED = 401] = "UNAUTHORIZED", e[e.NOT_FOUND = 404] = "NOT_FOUND", e[e.PRECONDITION_FAILED = 412] = "PRECONDITION_FAILED", e))(Yo || {}), $o = ((e) => (e.INVALID_TEMPLATE = "INVALID_TEMPLATE", e.INVALID_PREDICTION = "INVALID_PREDICTION", e.INVALID_MARKET = "INVALID_MARKET", e.INVALID_FIELD = "INVALID_FIELD", e.INVALID_TYPE = "INVALID_TYPE", e.EXCEEDED_LENGTH = "EXCEEDED_LENGTH", e.INVALID_TOKEN = "invalid_token", e.UNAUTHORIZED = "unauthorized", e.INVALID_FILTERS = "invalid_filters", e.INVALID_AVATAR = "invalid_avatar", e.INVALID_METHOD_CALL = "invalid_method_call", e.INVALID_LIMIT = "invalid_limit", e.INVALID_TEMPLATE_GROUP_ID = "invalid_template_group_id", e.INVALID_TEMPLATE_GROUP_FILTERS = "invalid_template_group_filters", e.INVALID_PAGE_NUMBER = "invalid_page_number", e.INVALID_DISCUSSION_IDS = "invalid_discussion_ids", e.ID_MAPPING_NOT_FOUND = "id_mapping_not_found", e.INVALID_COMPETITION_ID = "invalid_competition_id", e.INVALID_TEAM_ID = "invalid_team_id", e.INVALID_IDS = "invalid_ids", e.INVALID_INPUT_PROVIDER = "invalid_input_provider", e.INVALID_OUTPUT_PROVIDER = "invalid_output_provider", e.INVALID_MATCH_SUMMARY = "invalid_match_summary", e.INVALID_MATCH_SUMMARY_PREDICTIONS = "invalid_match_summary_predictions", e.INVALID_MATCH_SUMMARY_PREDICTIONS_KEYS = "invalid_match_summary_predictions_keys", e.ENTITY_IDS_NOT_FOUND = "entity_ids_not_found", e.MATCH_IDS_NOT_FOUND = "match_ids_not_found", e.INVALID_MATCH_IDS = "invalid_match_ids", e.ODD_CLIENT_CONFIGURATION_NOT_FOUND = "odd_client_configuration_not_found", e))($o || {}), G = { native: "id", sportradar: "sportradar_id", sportal365: "sportal365_id", enetpulse: "enetpulse_id", api_football: "api_football_id" };
|
|
4051
4091
|
(/* @__PURE__ */ new Map()).set("FT_1X2", "fullTimeOneXTwo").set("HT_1X2", "halfTimeOneXTwo").set("BOTH_TEAMS_SCORE", "bothTeamsScore").set("DOUBLE_CHANCE", "doubleChance").set("HT_FT", "halfTimeFullTime").set("PLAYER_SCORE", "playerScore").set("PLAYER_YELLOW_CARD", "playerYellowCard").set("PLAYER_RED_CARD", "playerRedCard").set("RED_CARD_MATCH", "redCardMatch").set("PENALTY_MATCH", "penaltyMatch").set("PLAYER_SCORE_FIRST_GOAL", "playerScoreFirstGoal").set("CORNERS_MATCH", "cornersMatch").set("CORRECT_SCORE", "correctScore").set("CORRECT_SCORE_ADVANCED", "correctScoreAdvanced").set("CORRECT_SCORE_HT", "correctScoreHalfTime").set("PLAYER_SCORE_HATTRICK", "playerScoreHattrick").set("PLAYER_SCORE_TWICE", "playerScoreTwice").set("OVER_GOALS_0_5", "overZeroPointFiveGoals").set("OVER_GOALS_1_5", "overOnePointFiveGoals").set("OVER_GOALS_2_5", "overTwoPointFiveGoals").set("OVER_GOALS_3_5", "overThreePointFiveGoals").set("OVER_GOALS_4_5", "overFourPointFiveGoals").set("OVER_GOALS_5_5", "overFivePointFiveGoals").set("OVER_GOALS_6_5", "overSixPointFiveGoals").set("OVER_CORNERS_6_5", "overSixPointFiveCorners").set("OVER_CORNERS_7_5", "overSevenPointFiveCorners").set("OVER_CORNERS_8_5", "overEightPointFiveCorners").set("OVER_CORNERS_9_5", "overNinePointFiveCorners").set("OVER_CORNERS_10_5", "overTenPointFiveCorners").set("OVER_CORNERS_11_5", "overElevenPointFiveCorners").set("OVER_CORNERS_12_5", "overTwelvePointFiveCorners").set("OVER_CORNERS_13_5", "overThirteenPointFiveCorners");
|
|
4052
4092
|
var Ko = ((e) => (e.INVALID_MATCH_ID = "Match id is invalid!", e.INVALID_PLAYER_ID = "Player id is invalid!", e.QUERY_PARAM_MATCH_IDS_EXCEEDED = "Maximum matchIds in PredictionFilters should be 10 or less.", e.QUERY_PARAM_FILTERS_LIMIT_EXCEEDED = "Maximum limit for filtering games is 50 or less.", e.INVALID_FIXTURES_FIELD = "Fixtures field is invalid. For more information please visit our documentation", e.INVALID_TOKEN = "Invalid JWT token is provided", e.EXPIRED_TOKEN = "The provided JWT token is expired", e.ENTITIES_NEEDED = "At least one of footballCompetitions, footballTeams or footballPlayers properties should be provided for filters.", e.ENTITIES_FOLLOWS_FILTERS_EXCEEDED = "Maximum length per entity should be 24 or less.", e.INVALID_TYPE = "You have provided invalid type. The valid type is ", e.INVALID_VALUE = "You have provided invalid value. The valid value is ", e.INVALID_AVATAR = "Invalid URL syntax for avatar image.", e.INVALID_GET_PROFILES_METHOD_CALL = "The method 'getByIds' from Profile namespace is not called correctly. You need to provide 'profileIds' OR 'search' parameters to the method, but you can't use both of them or neither of them.", e.INVALID_LIMIT = "Invalid limit. The maximum limit is: ", e.INVALID_LIMIT_TYPE = "Invalid limit type. The proper type is number.", e.FILTER_COMBINATION_ERROR = "You need to use both 'entityIds' and 'entityType' filters together", e.INVALID_ENTITY_TYPE = "Invalid 'entityType' filter. Please use one of the following valid options: competition, team, or player", e.INVALID_TEMPLATE_GROUP_ID = "There is no group in this template with the provided groupId", e.INVALID_TEMPLATE_GROUP_FILTERS = "The provided template group has no filters", e.INVALID_PAGE_NUMBER = "Invalid page number provided. Use number between 1 and max number of pages.", e.INVALID_DISCUSSION_IDS = "Invalid discussion ids argument. Please provide at least one discussion id in an array", e.EXCEEDED_DISCUSSION_IDS = "Maximum number of discussion ids exceeded. The maximum number of discussion ids is 50. You can use 'getPostsCountExtended' method for more than 50 discussion ids.", e.EXCEEDED_EXTENDED_DISCUSSION_IDS = "Maximum number of discussion ids exceeded. The maximum number of discussion ids is: ", e.ID_MAPPING_NOT_FOUND = "No ID mappings are available for the provided ID. ID argument: ", e.INVALID_PARAM = "Invalid parameter provided. Please check the following parameter: ", e.INVALID_COMPETITION_ID = "Invalid competition ID provided. Please provide a valid competition ID.", e.INVALID_TEAM_ID = "Invalid team ID provided. Please provide a valid team ID.", e.INVALID_OR_EMPTY_IDS = "Invalid or empty IDs provided. Please provide at least one ID.", e.INVALID_PROVIDER = "Invalid provider. The valid providers are: 'native', 'enetpulse', 'sportal365', 'sportradar' and 'api_football'.", e.INVALID_OUTPUT_PROVIDER = "Invalid output provider. The output can not be the same as the input provider.", e.MATCH_SUMMARY_REQUIRED = "Match summary is required.", e.MATCH_SUMMARY_PREDICTIONS_REQUIRED = "Predictions in match summary are required.", e.INVALID_MATCH_SUMMARY_PREDICTIONS_KEYS = "Keys in predictions in match summary are invalid. The valid ones are: ", e.INVALID_COLLECT_LEAD_METHOD_CALL = "The method 'collectLead' from Profile namespace is not called correctly. You need to provide 'requestBody' parameter to the method.", e.REQUIRED_FIXTURES_FIELD = "Fixtures field is required and should contain at least one fixtures object. For more information please visit our documentation", e.INVALID_TIEBREAKER_FIELD = "Tiebreaker field is invalid. It should contain statTotal key with integer value. For more information please visit our documentation", e.ENTITY_IDS_NOT_FOUND = "Some of the sport entity IDs were not found for the provided id schema", e.MATCH_IDS_NOT_FOUND = "Some of the match IDs were not found for the provided id schema", e.INVALID_STANDING_PREDICTION_ARGUMENT = "The prediction argument is invalid. For more information please visit our documentation", e.INVALID_MAP_PLAYERS_ROLES_KEYS = "The keys in the players roles map are not part of the valid keys. The valid keys are: ", e.INVALID_MAP_PLAYERS_ROLES_VALUES = "The values in the map are not valid. The valid ones are: ", e.INVALID_MATCH_IDS = "Match IDs are invalid!", e.MISSING_ODD_CLIENT_CONFIGURATION = "Odds namespace requires oddClient configuration to be set", e.INVALID_COLLECT_CONSENTS_METHOD_CALL = "The method 'collectConsents' from Profile namespace is not called correctly. You need to provide 'consents' parameter to the method.", e))(Ko || {}), Xo = ((e) => (e.LIKE = "like", e.DISLIKE = "dislike", e.PAGE_VIEW = "page_view", e.CONTENT_CONSUMED = "content_consumed", e.SHARE = "share", e.COMMENT = "comment", e.CLICK_AD = "click_ad", e.PREDICTION_MADE = "prediction_made", e.CONVERT = "convert", e.MANAGE_INTERESTS = "manage_interests", e.GAME_PARTICIPATION = "game_participation", e.ARTICLE_CONSUMED = "article_consumed", e.VIDEO_CONSUMED = "video_consumed", e.SHORT_VIDEO_CONSUMED = "short_video_consumed", e.LONG_VIDEO_CONSUMED = "long_video_consumed", e.AUDIO_CONSUMED = "audio_consumed", e.GALLERY_CONSUMED = "gallery_consumed", e.IMAGE_CONSUMED = "image_consumed", e.POLL_PARTICIPATION = "poll_participation", e))(Xo || {}), Xe = "FansUnited", Me = { football: { ids: [], countries: [], competitions: [], expirations: { ids: 0 } }, profile: { info: {}, statistics: {}, badges: null, countries: [], expirations: { profile: 0, statistics: 0, badges: 0 } }, client: { features: {}, expirations: { features: 0 } } }, ye = class {
|
|
4053
4093
|
constructor(e) {
|
|
@@ -4060,26 +4100,26 @@ var Ko = ((e) => (e.INVALID_MATCH_ID = "Match id is invalid!", e.INVALID_PLAYER_
|
|
|
4060
4100
|
let i = await this.getData(), o = [...i.football.competitions];
|
|
4061
4101
|
o.push(...t), i.football.competitions = this.makeCompetitionsUnique(o), await this.setData(i);
|
|
4062
4102
|
}), r(this, "getCompetitionsLength", async () => (await this.getData()).football.competitions.length), r(this, "getEntityById", async (t = "", i = "") => (await this.getData()).football.ids.find((o) => {
|
|
4063
|
-
let a =
|
|
4103
|
+
let a = G[this.idSchema];
|
|
4064
4104
|
return o && `${o[a]}` === i && o.resource === t;
|
|
4065
4105
|
})), r(this, "getEntity", async (t, i, o) => {
|
|
4066
4106
|
let a = await this.getData();
|
|
4067
4107
|
return Array.isArray(t) ? a.football.ids.filter((s) => {
|
|
4068
|
-
let p =
|
|
4108
|
+
let p = G[o];
|
|
4069
4109
|
return s && t.includes(`${s[p]}`) && s.resource === i;
|
|
4070
4110
|
}) : a.football.ids.find((s) => {
|
|
4071
|
-
let p =
|
|
4111
|
+
let p = G[o];
|
|
4072
4112
|
return s && `${s[p]}` === t && s.resource === i;
|
|
4073
4113
|
});
|
|
4074
4114
|
}), r(this, "checkForExistingIdObjs", async (t, i) => {
|
|
4075
|
-
let o =
|
|
4115
|
+
let o = G[i], a = {};
|
|
4076
4116
|
for (let s of Object.keys(t)) {
|
|
4077
4117
|
let p = t[s], d = (await this.getEntity(p, s, i)).map((c) => c[o]), b = t[s].filter((c) => !d.includes(c));
|
|
4078
4118
|
a[s] = p.map((c) => b.includes(c) ? { id: c, exists: !1 } : { id: c, exists: !0 });
|
|
4079
4119
|
}
|
|
4080
4120
|
return a;
|
|
4081
4121
|
}), r(this, "getIdsByType", async (t, i, o) => {
|
|
4082
|
-
let a = await this.getData(), s =
|
|
4122
|
+
let a = await this.getData(), s = G[o], p = G[i], d = {};
|
|
4083
4123
|
return Object.keys(t).forEach((b) => {
|
|
4084
4124
|
let c = t[b], f = [];
|
|
4085
4125
|
a.football.ids.forEach((x) => {
|
|
@@ -4177,22 +4217,22 @@ var Je = "FansUnited", qe = { football: { ids: [], countries: [], competitions:
|
|
|
4177
4217
|
r(this, "idSchema", ""), r(this, "expirationProfileTimeout", 600), r(this, "expirationBadgesTimeout", 3600), r(this, "expirationClientFeaturesTimeout", 14400), r(this, "expirationFootballIdsTimeout", 604800), r(this, "clearData", async () => {
|
|
4178
4218
|
this.setData(qe);
|
|
4179
4219
|
}), r(this, "getEntityById", async (t = "", i = "") => this.getData().football.ids.find((o) => {
|
|
4180
|
-
let a =
|
|
4220
|
+
let a = G[this.idSchema];
|
|
4181
4221
|
return o && `${o[a]}` === i && o.resource === t;
|
|
4182
4222
|
})), r(this, "getEntity", (t, i, o) => Array.isArray(t) ? this.getData().football.ids.filter((a) => {
|
|
4183
|
-
let s =
|
|
4223
|
+
let s = G[o];
|
|
4184
4224
|
return a && t.includes(`${a[s]}`) && a.resource === i;
|
|
4185
4225
|
}) : this.getData().football.ids.find((a) => {
|
|
4186
|
-
let s =
|
|
4226
|
+
let s = G[o];
|
|
4187
4227
|
return a && `${a[s]}` === t && a.resource === i;
|
|
4188
4228
|
})), r(this, "getEntityByNativeId", (t = "", i = "") => this.getData().football.ids.find((o) => o && `${o.id}` === i && o.resource === t)), r(this, "checkForExistingIdObjs", async (t, i) => {
|
|
4189
|
-
let o =
|
|
4229
|
+
let o = G[i], a = {};
|
|
4190
4230
|
return Object.keys(t).forEach((s) => {
|
|
4191
4231
|
let p = t[s], d = this.getEntity(p, s, i).map((c) => c[o]), b = t[s].filter((c) => !d.includes(c));
|
|
4192
4232
|
a[s] = p.map((c) => b.includes(c) ? { id: c, exists: !1 } : { id: c, exists: !0 });
|
|
4193
4233
|
}), a;
|
|
4194
4234
|
}), r(this, "getIdsByType", async (t, i, o) => {
|
|
4195
|
-
let a =
|
|
4235
|
+
let a = G[o], s = G[i], p = {};
|
|
4196
4236
|
return Object.keys(t).forEach((d) => {
|
|
4197
4237
|
let b = t[d], c = [];
|
|
4198
4238
|
this.getData().football.ids.forEach((f) => {
|
|
@@ -4282,27 +4322,27 @@ var Qo = Mo(Ho()), j = class {
|
|
|
4282
4322
|
r(this, "profileTTL", 600), r(this, "clientTTL", 14400), r(this, "profileBadgesTTL", 3600), r(this, "idMappingsExpiration", 0), r(this, "idSchema", ""), r(this, "clearData", async () => j.nodeCache.flushAll()), r(this, "getEntityById", async (t, i) => {
|
|
4283
4323
|
let o = j.nodeCache.get("ids");
|
|
4284
4324
|
return o ? o.find((a) => {
|
|
4285
|
-
let s =
|
|
4325
|
+
let s = G[this.idSchema];
|
|
4286
4326
|
return a && `${a[s]}` === i && a.resource === t;
|
|
4287
4327
|
}) : null;
|
|
4288
4328
|
}), r(this, "getEntity", async (t, i, o) => {
|
|
4289
4329
|
let a = j.nodeCache.get("ids");
|
|
4290
4330
|
return a ? Array.isArray(t) ? [] : null : Array.isArray(t) ? a.filter((s) => {
|
|
4291
|
-
let p =
|
|
4331
|
+
let p = G[o];
|
|
4292
4332
|
return s && t.includes(`${s[p]}`) && s.resource === i;
|
|
4293
4333
|
}) : a.find((s) => {
|
|
4294
|
-
let p =
|
|
4334
|
+
let p = G[o];
|
|
4295
4335
|
return s && `${s[p]}` === t && s.resource === i;
|
|
4296
4336
|
});
|
|
4297
4337
|
}), r(this, "checkForExistingIdObjs", async (t, i) => {
|
|
4298
|
-
let o =
|
|
4338
|
+
let o = G[i], a = {};
|
|
4299
4339
|
for (let s of Object.keys(t)) {
|
|
4300
4340
|
let p = t[s], d = (await this.getEntity(p, s, i)).map((c) => c[o]), b = t[s].filter((c) => !d.includes(c));
|
|
4301
4341
|
a[s] = p.map((c) => b.includes(c) ? { id: c, exists: !1 } : { id: c, exists: !0 });
|
|
4302
4342
|
}
|
|
4303
4343
|
return a;
|
|
4304
4344
|
}), r(this, "getIdsByType", async (t, i, o) => {
|
|
4305
|
-
let a =
|
|
4345
|
+
let a = G[o], s = G[i], p = j.nodeCache.get("ids"), d = {};
|
|
4306
4346
|
return p ? (Object.keys(t).forEach((b) => {
|
|
4307
4347
|
let c = t[b], f = [];
|
|
4308
4348
|
p.forEach((x) => {
|
|
@@ -4371,7 +4411,7 @@ var Qo = Mo(Ho()), j = class {
|
|
|
4371
4411
|
J(Dt, "instance"), J(Dt, "nodeCache", new Qo.default());
|
|
4372
4412
|
var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIALLY_WON = "PARTIALLY_WON", e.CANCELED = "CANCELED", e))(Zo || {}), en = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIALLY_WON = "PARTIALLY_WON", e.CANCELED = "CANCELED", e))(en || {}), Pn = class {
|
|
4373
4413
|
constructor() {
|
|
4374
|
-
r(this, "id", null), r(this, "title", null), r(this, "description", null), r(this, "images", null), r(this, "rules", null), r(this, "customFields", null), r(this, "type", "EVENT"), r(this, "status", null), r(this, "related", []), r(this, "tiebreaker", null), r(this, "predictionsCutoff", null), r(this, "fixtures", []), r(this, "createdAt", null), r(this, "updatedAt", null);
|
|
4414
|
+
r(this, "id", null), r(this, "title", null), r(this, "description", null), r(this, "images", null), r(this, "rules", null), r(this, "customFields", null), r(this, "type", "EVENT"), r(this, "status", null), r(this, "related", []), r(this, "tiebreaker", null), r(this, "predictionsCutoff", null), r(this, "fixtures", []), r(this, "branding", null), r(this, "brandingId", null), r(this, "createdAt", null), r(this, "updatedAt", null);
|
|
4375
4415
|
}
|
|
4376
4416
|
}, tn = ((e) => (e.BOOLEAN = "BOOLEAN", e.NUMBER = "NUMBER", e.ENUM = "ENUM", e.FREE_INPUT = "FREE_INPUT", e))(tn || {}), on = ((e) => (e.PARTICIPANT_ONE = "PARTICIPANT_ONE", e.PARTICIPANT_TWO = "PARTICIPANT_TWO", e.DRAW = "DRAW", e))(on || {}), nn = ((e) => (e.OPEN = "OPEN", e.LIVE = "LIVE", e.PENDING = "PENDING", e.CANCELED = "CANCELED", e.CLOSED = "CLOSED", e.SETTLED = "SETTLED", e))(nn || {}), Mn = class {
|
|
4377
4417
|
constructor() {
|
|
@@ -4387,7 +4427,7 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4387
4427
|
}
|
|
4388
4428
|
}, an = class {
|
|
4389
4429
|
constructor() {
|
|
4390
|
-
r(this, "id", null), r(this, "title", null), r(this, "alternativeTitle", null), r(this, "description", null), r(this, "type", null), r(this, "images", new st()), r(this, "participationCount", null), r(this, "questionsCount", null), r(this, "status", null), r(this, "language", null), r(this, "authRequirement", null), r(this, "flags", null), r(this, "customFields", null), r(this, "labels", null), r(this, "branding", null), r(this, "related", []), r(this, "time", null), r(this, "points", null), r(this, "scored", !1), r(this, "maxAttempts", null), r(this, "averageScore", null), r(this, "perfectScore", null), r(this, "adContent", null), r(this, "context", null), r(this, "createdAt", null), r(this, "updatedAt", null);
|
|
4430
|
+
r(this, "id", null), r(this, "title", null), r(this, "alternativeTitle", null), r(this, "description", null), r(this, "type", null), r(this, "images", new st()), r(this, "participationCount", null), r(this, "questionsCount", null), r(this, "status", null), r(this, "language", null), r(this, "authRequirement", null), r(this, "flags", null), r(this, "customFields", null), r(this, "labels", null), r(this, "branding", null), r(this, "brandingId", null), r(this, "related", []), r(this, "time", null), r(this, "points", null), r(this, "scored", !1), r(this, "maxAttempts", null), r(this, "averageScore", null), r(this, "perfectScore", null), r(this, "adContent", null), r(this, "context", null), r(this, "createdAt", null), r(this, "updatedAt", null);
|
|
4391
4431
|
}
|
|
4392
4432
|
}, jn = class extends an {
|
|
4393
4433
|
constructor() {
|
|
@@ -4403,7 +4443,7 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4403
4443
|
}
|
|
4404
4444
|
}, un = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIALLY_WON = "PARTIALLY_WON", e.CANCELED = "CANCELED", e))(un || {}), hn = class {
|
|
4405
4445
|
constructor() {
|
|
4406
|
-
r(this, "id", null), r(this, "title", null), r(this, "description", null), r(this, "type", null), r(this, "status", null), r(this, "authRequirement", null), r(this, "scheduleOpenAt", null), r(this, "predictionsCutoff", null), r(this, "fixtures", []), r(this, "tiebreaker", new rn()), r(this, "participantsCount", 0), r(this, "related", []), r(this, "excludedProfileIds", null), r(this, "rules", null), r(this, "labels", null), r(this, "customFields", null), r(this, "branding", null), r(this, "flags", null), r(this, "images", new st()), r(this, "createdAt", null), r(this, "updatedAt", null);
|
|
4446
|
+
r(this, "id", null), r(this, "title", null), r(this, "description", null), r(this, "type", null), r(this, "status", null), r(this, "authRequirement", null), r(this, "scheduleOpenAt", null), r(this, "predictionsCutoff", null), r(this, "fixtures", []), r(this, "tiebreaker", new rn()), r(this, "participantsCount", 0), r(this, "related", []), r(this, "excludedProfileIds", null), r(this, "rules", null), r(this, "labels", null), r(this, "customFields", null), r(this, "branding", null), r(this, "brandingId", null), r(this, "flags", null), r(this, "images", new st()), r(this, "createdAt", null), r(this, "updatedAt", null);
|
|
4407
4447
|
}
|
|
4408
4448
|
}, Vn = class extends hn {
|
|
4409
4449
|
constructor() {
|
|
@@ -4411,7 +4451,7 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4411
4451
|
}
|
|
4412
4452
|
}, pn = class {
|
|
4413
4453
|
constructor() {
|
|
4414
|
-
r(this, "id", null), r(this, "title", null), r(this, "alternativeTitle", null), r(this, "description", null), r(this, "type", null), r(this, "images", new st()), r(this, "status", null), r(this, "language", null), r(this, "authRequirement", null), r(this, "totalVotes", null), r(this, "flags", []), r(this, "customFields", null), r(this, "branding", null), r(this, "embedCode", null), r(this, "labels", null), r(this, "adContent", null), r(this, "context", null), r(this, "options", []), r(this, "related", []), r(this, "preferencesEnabled", !1), r(this, "multipleChoice", !1), r(this, "maxMultipleChoiceOptions", null), r(this, "participationCount", 0), r(this, "maxAttempts", 0), r(this, "externalActivity", null), r(this, "createdAt", null), r(this, "updatedAt", null);
|
|
4454
|
+
r(this, "id", null), r(this, "title", null), r(this, "alternativeTitle", null), r(this, "description", null), r(this, "type", null), r(this, "images", new st()), r(this, "status", null), r(this, "language", null), r(this, "authRequirement", null), r(this, "totalVotes", null), r(this, "flags", []), r(this, "customFields", null), r(this, "branding", null), r(this, "brandingId", null), r(this, "embedCode", null), r(this, "labels", null), r(this, "adContent", null), r(this, "context", null), r(this, "options", []), r(this, "related", []), r(this, "preferencesEnabled", !1), r(this, "multipleChoice", !1), r(this, "maxMultipleChoiceOptions", null), r(this, "participationCount", 0), r(this, "maxAttempts", 0), r(this, "externalActivity", null), r(this, "createdAt", null), r(this, "updatedAt", null);
|
|
4415
4455
|
}
|
|
4416
4456
|
}, Hn = class extends pn {
|
|
4417
4457
|
constructor() {
|
|
@@ -4421,7 +4461,7 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4421
4461
|
constructor() {
|
|
4422
4462
|
r(this, "id", null), r(this, "pollId", null), r(this, "optionId", null), r(this, "optionIds", []), r(this, "userId", null), r(this, "createdAt", null);
|
|
4423
4463
|
}
|
|
4424
|
-
},
|
|
4464
|
+
}, Gn = class extends fn {
|
|
4425
4465
|
constructor() {
|
|
4426
4466
|
super(...arguments), r(this, "previousVotes", []), r(this, "attempts", null);
|
|
4427
4467
|
}
|
|
@@ -4429,8 +4469,8 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4429
4469
|
constructor() {
|
|
4430
4470
|
}
|
|
4431
4471
|
static createMatchMarketsResultsModel(e, t) {
|
|
4432
|
-
var i, o, a, s, p, d, b, c, f, x, v, g, y, R, O, A,
|
|
4433
|
-
return { FT_1X2: this.createOneXTwoResult(e.scores, "full_time"), HT_1X2: this.createOneXTwoResult(e.scores, "half_time"), BOTH_TEAMS_SCORE: e.scores.ftScore.homeGoals > 0 && e.scores.ftScore.awayGoals > 0, DOUBLE_CHANCE: this.createDoubleChanceResult(e.scores), HT_FT: this.createHalfTimeFullTimeResult(e.scores), RED_CARD_MATCH: this.createMarketResultByCriteria(e, "red_card"), PENALTY_MATCH: this.createMarketResultByCriteria(e, "penalty"), CORNERS_MATCH: isNaN(((o = (i = e.stats) == null ? void 0 : i.corners) == null ? void 0 : o.homeTeam) + ((s = (a = e.stats) == null ? void 0 : a.corners) == null ? void 0 : s.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam, PLAYER_YELLOW_CARD: this.createPlayersMarketsResults(e, t, "yellow_card"), PLAYER_RED_CARD: this.createPlayersMarketsResults(e, t, "red_card"), PLAYER_SCORE_FIRST_GOAL: this.createPlayersMarketsResults(e, t, "first_goal"), PLAYER_SCORE: this.createPlayersMarketsResults(e, t, "one_goal"), PLAYER_SCORE_TWICE: this.createPlayersMarketsResults(e, t, "two_goals"), PLAYER_SCORE_HATTRICK: this.createPlayersMarketsResults(e, t, "hattrick"), CORRECT_SCORE: { homeGoals: e.scores.ftScore.homeGoals, awayGoals: e.scores.ftScore.awayGoals }, CORRECT_SCORE_ADVANCED: { homeGoals: e.scores.ftScore.homeGoals, awayGoals: e.scores.ftScore.awayGoals }, CORRECT_SCORE_HT: { homeGoals: e.scores.htScore.homeGoals, awayGoals: e.scores.htScore.awayGoals }, OVER_GOALS_0_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 0, OVER_GOALS_1_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 1, OVER_GOALS_2_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 2, OVER_GOALS_3_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 3, OVER_GOALS_4_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 4, OVER_GOALS_5_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 5, OVER_GOALS_6_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 6, OVER_CORNERS_6_5: isNaN(((d = (p = e.stats) == null ? void 0 : p.corners) == null ? void 0 : d.homeTeam) + ((c = (b = e.stats) == null ? void 0 : b.corners) == null ? void 0 : c.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 6, OVER_CORNERS_7_5: isNaN(((x = (f = e.stats) == null ? void 0 : f.corners) == null ? void 0 : x.homeTeam) + ((g = (v = e.stats) == null ? void 0 : v.corners) == null ? void 0 : g.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 7, OVER_CORNERS_8_5: isNaN(((R = (y = e.stats) == null ? void 0 : y.corners) == null ? void 0 : R.homeTeam) + ((A = (O = e.stats) == null ? void 0 : O.corners) == null ? void 0 : A.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 8, OVER_CORNERS_9_5: isNaN(((S = (
|
|
4472
|
+
var i, o, a, s, p, d, b, c, f, x, v, g, y, R, O, A, E, S, I, L, l, h, u, _, C, T, N, P, M, F, se, Z, $, W, K, ne;
|
|
4473
|
+
return { FT_1X2: this.createOneXTwoResult(e.scores, "full_time"), HT_1X2: this.createOneXTwoResult(e.scores, "half_time"), BOTH_TEAMS_SCORE: e.scores.ftScore.homeGoals > 0 && e.scores.ftScore.awayGoals > 0, DOUBLE_CHANCE: this.createDoubleChanceResult(e.scores), HT_FT: this.createHalfTimeFullTimeResult(e.scores), RED_CARD_MATCH: this.createMarketResultByCriteria(e, "red_card"), PENALTY_MATCH: this.createMarketResultByCriteria(e, "penalty"), CORNERS_MATCH: isNaN(((o = (i = e.stats) == null ? void 0 : i.corners) == null ? void 0 : o.homeTeam) + ((s = (a = e.stats) == null ? void 0 : a.corners) == null ? void 0 : s.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam, PLAYER_YELLOW_CARD: this.createPlayersMarketsResults(e, t, "yellow_card"), PLAYER_RED_CARD: this.createPlayersMarketsResults(e, t, "red_card"), PLAYER_SCORE_FIRST_GOAL: this.createPlayersMarketsResults(e, t, "first_goal"), PLAYER_SCORE: this.createPlayersMarketsResults(e, t, "one_goal"), PLAYER_SCORE_TWICE: this.createPlayersMarketsResults(e, t, "two_goals"), PLAYER_SCORE_HATTRICK: this.createPlayersMarketsResults(e, t, "hattrick"), CORRECT_SCORE: { homeGoals: e.scores.ftScore.homeGoals, awayGoals: e.scores.ftScore.awayGoals }, CORRECT_SCORE_ADVANCED: { homeGoals: e.scores.ftScore.homeGoals, awayGoals: e.scores.ftScore.awayGoals }, CORRECT_SCORE_HT: { homeGoals: e.scores.htScore.homeGoals, awayGoals: e.scores.htScore.awayGoals }, OVER_GOALS_0_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 0, OVER_GOALS_1_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 1, OVER_GOALS_2_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 2, OVER_GOALS_3_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 3, OVER_GOALS_4_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 4, OVER_GOALS_5_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 5, OVER_GOALS_6_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 6, OVER_CORNERS_6_5: isNaN(((d = (p = e.stats) == null ? void 0 : p.corners) == null ? void 0 : d.homeTeam) + ((c = (b = e.stats) == null ? void 0 : b.corners) == null ? void 0 : c.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 6, OVER_CORNERS_7_5: isNaN(((x = (f = e.stats) == null ? void 0 : f.corners) == null ? void 0 : x.homeTeam) + ((g = (v = e.stats) == null ? void 0 : v.corners) == null ? void 0 : g.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 7, OVER_CORNERS_8_5: isNaN(((R = (y = e.stats) == null ? void 0 : y.corners) == null ? void 0 : R.homeTeam) + ((A = (O = e.stats) == null ? void 0 : O.corners) == null ? void 0 : A.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 8, OVER_CORNERS_9_5: isNaN(((S = (E = e.stats) == null ? void 0 : E.corners) == null ? void 0 : S.homeTeam) + ((L = (I = e.stats) == null ? void 0 : I.corners) == null ? void 0 : L.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 9, OVER_CORNERS_10_5: isNaN(((h = (l = e.stats) == null ? void 0 : l.corners) == null ? void 0 : h.homeTeam) + ((_ = (u = e.stats) == null ? void 0 : u.corners) == null ? void 0 : _.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 10, OVER_CORNERS_11_5: isNaN(((T = (C = e.stats) == null ? void 0 : C.corners) == null ? void 0 : T.homeTeam) + ((P = (N = e.stats) == null ? void 0 : N.corners) == null ? void 0 : P.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 11, OVER_CORNERS_12_5: isNaN(((F = (M = e.stats) == null ? void 0 : M.corners) == null ? void 0 : F.homeTeam) + ((Z = (se = e.stats) == null ? void 0 : se.corners) == null ? void 0 : Z.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 12, OVER_CORNERS_13_5: isNaN(((W = ($ = e.stats) == null ? void 0 : $.corners) == null ? void 0 : W.homeTeam) + ((ne = (K = e.stats) == null ? void 0 : K.corners) == null ? void 0 : ne.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 13 };
|
|
4434
4474
|
}
|
|
4435
4475
|
}, he = et;
|
|
4436
4476
|
J(he, "createOneXTwoResult", (e, t) => {
|
|
@@ -4440,7 +4480,7 @@ J(he, "createOneXTwoResult", (e, t) => {
|
|
|
4440
4480
|
var t, i, o, a;
|
|
4441
4481
|
return ((t = e == null ? void 0 : e.ftScore) == null ? void 0 : t.homeGoals) > ((i = e == null ? void 0 : e.ftScore) == null ? void 0 : i.awayGoals) ? ["1x", "12"] : ((o = e == null ? void 0 : e.ftScore) == null ? void 0 : o.homeGoals) === ((a = e == null ? void 0 : e.ftScore) == null ? void 0 : a.awayGoals) ? ["1x", "x2"] : ["x2", "12"];
|
|
4442
4482
|
}), J(he, "createHalfTimeFullTimeResult", (e) => {
|
|
4443
|
-
var t, i, o, a, s, p, d, b, c, f, x, v, g, y, R, O, A,
|
|
4483
|
+
var t, i, o, a, s, p, d, b, c, f, x, v, g, y, R, O, A, E, S, I, L, l, h, u;
|
|
4444
4484
|
if (((t = e == null ? void 0 : e.htScore) == null ? void 0 : t.homeGoals) > ((i = e == null ? void 0 : e.htScore) == null ? void 0 : i.awayGoals)) {
|
|
4445
4485
|
if (((o = e == null ? void 0 : e.ftScore) == null ? void 0 : o.homeGoals) > ((a = e == null ? void 0 : e.ftScore) == null ? void 0 : a.awayGoals)) return "1/1";
|
|
4446
4486
|
if (((s = e == null ? void 0 : e.ftScore) == null ? void 0 : s.homeGoals) === ((p = e == null ? void 0 : e.ftScore) == null ? void 0 : p.awayGoals)) return "1/x";
|
|
@@ -4451,7 +4491,7 @@ J(he, "createOneXTwoResult", (e, t) => {
|
|
|
4451
4491
|
if (((g = e == null ? void 0 : e.ftScore) == null ? void 0 : g.homeGoals) === ((y = e == null ? void 0 : e.ftScore) == null ? void 0 : y.awayGoals)) return "x/x";
|
|
4452
4492
|
if (((R = e == null ? void 0 : e.ftScore) == null ? void 0 : R.homeGoals) < ((O = e == null ? void 0 : e.ftScore) == null ? void 0 : O.awayGoals)) return "x/2";
|
|
4453
4493
|
}
|
|
4454
|
-
if (((A = e == null ? void 0 : e.htScore) == null ? void 0 : A.homeGoals) < ((
|
|
4494
|
+
if (((A = e == null ? void 0 : e.htScore) == null ? void 0 : A.homeGoals) < ((E = e == null ? void 0 : e.htScore) == null ? void 0 : E.awayGoals)) {
|
|
4455
4495
|
if (((S = e == null ? void 0 : e.ftScore) == null ? void 0 : S.homeGoals) > ((I = e == null ? void 0 : e.ftScore) == null ? void 0 : I.awayGoals)) return "2/1";
|
|
4456
4496
|
if (((L = e == null ? void 0 : e.ftScore) == null ? void 0 : L.homeGoals) === ((l = e == null ? void 0 : e.ftScore) == null ? void 0 : l.awayGoals)) return "2/x";
|
|
4457
4497
|
if (((h = e == null ? void 0 : e.ftScore) == null ? void 0 : h.homeGoals) < ((u = e == null ? void 0 : e.ftScore) == null ? void 0 : u.awayGoals)) return "2/2";
|
|
@@ -4487,11 +4527,12 @@ export {
|
|
|
4487
4527
|
$e as H,
|
|
4488
4528
|
wn as J,
|
|
4489
4529
|
On as K,
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4530
|
+
Nn as Q,
|
|
4531
|
+
En as U,
|
|
4532
|
+
Ze as W,
|
|
4533
|
+
An as X,
|
|
4493
4534
|
Rn as Y,
|
|
4494
|
-
|
|
4535
|
+
Ln as Z,
|
|
4495
4536
|
Vn as a,
|
|
4496
4537
|
B as b,
|
|
4497
4538
|
so as c,
|
|
@@ -4501,13 +4542,12 @@ export {
|
|
|
4501
4542
|
at as g,
|
|
4502
4543
|
Pn as h,
|
|
4503
4544
|
Fn as i,
|
|
4504
|
-
|
|
4505
|
-
|
|
4545
|
+
Tn as j,
|
|
4546
|
+
zi as k,
|
|
4506
4547
|
kn as n,
|
|
4507
4548
|
jn as o,
|
|
4508
|
-
|
|
4549
|
+
Dn as q,
|
|
4509
4550
|
Hn as r,
|
|
4510
|
-
|
|
4511
|
-
Mn as t
|
|
4512
|
-
Ze as z
|
|
4551
|
+
Gn as s,
|
|
4552
|
+
Mn as t
|
|
4513
4553
|
};
|