fansunited-widgets-cdn 0.0.86-RC8 → 0.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{Alert-B6o66mYo.js → Alert-9mNu8Mc0.js} +32 -32
- package/chunks/{CardContent-NCZhfGcZ.js → CardContent-DscfzeuS.js} +19 -18
- package/chunks/{ChevronRight-1pLZ7T0v.js → ChevronRight-Dp3uUQ9e.js} +11 -11
- package/chunks/{ClassicQuizWrapper-n2epPO4k.js → ClassicQuizWrapper-DKnk6Jbn.js} +8 -9
- package/chunks/{CollectLeadForm-C_3plJtn-Dr8J3eDw.js → CollectLeadForm-iZpBeMTk-agYOzLhF.js} +2 -2
- package/chunks/{CollectLeadWrapper-CCtTZAxL.js → CollectLeadWrapper-YFzUEmx9.js} +22 -23
- package/chunks/{EitherOrById-ClGwMK0b.js → EitherOrById-D-JHgdbL.js} +65 -65
- package/chunks/{EitherOrPreviewWrapper-BYiKyYwi.js → EitherOrPreviewWrapper-CeWnhkez.js} +10 -10
- package/chunks/{Error-BurPfBJw-DWYn31sK.js → Error-DRnLP9GC-DyNgW_L4.js} +3 -3
- package/chunks/{EventGameWrapper-BphusLTk.js → EventGameWrapper-yRtBxO_C.js} +3490 -3117
- package/chunks/{Grid-yjqNNhEx.js → Grid-DSE12r_N.js} +37 -37
- package/chunks/{IconButton-D7onwgY0.js → IconButton-CzQWRgrG.js} +21 -21
- package/chunks/{List-8Vy9IZiv.js → List-D1p_as40.js} +23 -23
- package/chunks/{MatchPredictionContainer-BGytBwLo.js → MatchPredictionContainer-CVjsgllW.js} +7 -7
- package/chunks/{MatchQuizWrapper-BGjldBpF.js → MatchQuizWrapper-CbD5M2Wo.js} +1197 -1190
- package/chunks/{OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js → OverlayLeadAfterCollection-Uxf4kZ42-txLJVNOw.js} +6 -6
- package/chunks/{OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js → OverlayScoreStateSkeleton-DD-LpNq6-CDGvi7Rx.js} +8 -8
- package/chunks/{PersonalityQuizWrapper-BgLFw5tM.js → PersonalityQuizWrapper-Dq7ucwct.js} +1359 -1318
- package/chunks/{PlayerOfTheMatch-CImBLG3T.js → PlayerOfTheMatch-N6lR4Yvg.js} +96 -96
- package/chunks/{PollWrapper-QpIKCCVF.js → PollWrapper-BztqlT7j.js} +8 -9
- package/chunks/{Portal-DegkUXpU-ByGP9zS1.js → Portal-Cvhw2F3y-CU1eTfkD.js} +313 -314
- package/chunks/{PreviewQuizById-Ba6yhxKV.js → PreviewQuizById-Bs5Y67aA.js} +1019 -996
- package/chunks/{Sheet-U5EnSrgg.js → Sheet-B9TtakEd.js} +35 -35
- package/chunks/{Stack-DbDi7kPO.js → Stack-hikS_o6M.js} +36 -36
- package/chunks/{Tabs-leN3Fb8D--YMyy3EM.js → Tabs-DmfafFAr-BiYbbqHP.js} +2 -2
- package/chunks/{TeamNextMatchPrediction-9VSQOCcC.js → TeamNextMatchPrediction-BoQ6Xxut.js} +2 -2
- package/chunks/{Tutorial-CRJLOovs.js → Tutorial-BnKZMnrU.js} +72 -73
- package/chunks/{createLucideIcon-CMWOQsDL.js → createLucideIcon-CAUCKclr.js} +8 -8
- package/chunks/{createSvgIcon-D9D4a1R9.js → createSvgIcon-DqH6kyRk.js} +167 -167
- package/chunks/{default-quiz-bg-ADjjIfPj.js → default-quiz-bg-D-_bYiBa.js} +15 -14
- package/chunks/{index-CiB_Gqim.js → index-BDSM3ZSY.js} +1 -1
- package/chunks/{index-B74jHeYm.js → index-BL-6bYjr.js} +2 -2
- package/chunks/{index-BfVvJg5R.js → index-BNwb-Lvr.js} +1 -1
- package/chunks/{index-CPTAlr_t.js → index-BRE9HGrj.js} +1 -1
- package/chunks/{index-CviTG4Nv.js → index-BjEfmr8T.js} +1 -1
- package/chunks/{index-DUQ2LFod-Cw45tHim.js → index-Bwmh7c-g-BHgL_SSg.js} +334 -291
- package/chunks/{index-C6KAc5B_.js → index-C1Ys-PBz.js} +1 -1
- package/chunks/{index-BycLbIYY.js → index-CNUarcba.js} +1 -1
- package/chunks/{index-CILd3yUc.js → index-CRneQWSC.js} +1 -1
- package/chunks/{index-DwR4J2nN.js → index-CigP9xnu.js} +1 -1
- package/chunks/{index-UwW9niUj.js → index-D2gHUkPX.js} +1 -1
- package/chunks/{index-Da0AXb_O.js → index-D5BAtJb9.js} +1 -1
- package/chunks/{index-CHV6tlpH.js → index-D_UY6ZuF.js} +9 -9
- package/chunks/{index-CK2RXrJm.js → index-DpF1i8sE.js} +1 -1
- package/chunks/{index-CvGJXa6l.js → index-qrrSqrdU.js} +1 -1
- package/chunks/{index-0ADq_9jd.js → index-wUUFLR8N.js} +1 -1
- package/chunks/{init-C-gCorsh.js → init-BR2mi8sg.js} +1 -1
- package/chunks/main-uhXEX2Kp.js +51049 -0
- package/chunks/resolveProps-BA473GCc.js +1632 -0
- package/chunks/{users-CXdzg3DM.js → users-D1F95dG3.js} +1 -1
- package/fu-widgets-loader.es.js +16 -17
- package/fu-widgets-loader.js +1 -1
- package/fu-widgets.es.js +2 -2
- package/fu-widgets.iife.js +296 -296
- package/manifest.json +52 -54
- package/package.json +1 -1
- package/chunks/index-CJqcqbHq.js +0 -5
- package/chunks/index.es-wHqA4PHm.js +0 -11480
- package/chunks/main-Bh6iw92_.js +0 -39827
- package/chunks/resolveProps-Bgg0H6c2.js +0 -1016
|
@@ -1,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-uhXEX2Kp.js";
|
|
2
|
+
import { A as H, C as m, b0 as oi, N as ie, F as Y, b as w, R as ce, D as de, J as tt, V as Q, c as re, e as ni, a as ue, Q as _e, h as z, s 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, P as V, K as ae, U, aJ as Ne, af as li, x 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-Cvhw2F3y-CU1eTfkD.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,36 +1198,39 @@ 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
|
-
}),
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1201
|
+
}), Tn = ({ my: e }) => {
|
|
1202
|
+
const t = H(), i = t.palette.neutral.softBg, o = t.palette.neutral.solidBg;
|
|
1203
|
+
return /* @__PURE__ */ n.jsx(
|
|
1204
|
+
m,
|
|
1205
|
+
{
|
|
1206
|
+
sx: {
|
|
1207
|
+
display: "flex",
|
|
1208
|
+
justifyContent: "center",
|
|
1209
|
+
alignItems: "center",
|
|
1210
|
+
width: "100%",
|
|
1211
|
+
height: "100%",
|
|
1212
|
+
my: e
|
|
1213
|
+
},
|
|
1214
|
+
children: /* @__PURE__ */ n.jsx(
|
|
1215
|
+
oi,
|
|
1216
|
+
{
|
|
1217
|
+
slotProps: {
|
|
1218
|
+
track: {
|
|
1219
|
+
sx: {
|
|
1220
|
+
stroke: i
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
progress: {
|
|
1224
|
+
sx: {
|
|
1225
|
+
stroke: o
|
|
1226
|
+
}
|
|
1224
1227
|
}
|
|
1225
1228
|
}
|
|
1226
1229
|
}
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1230
|
+
)
|
|
1231
|
+
}
|
|
1232
|
+
);
|
|
1233
|
+
}, En = ({
|
|
1231
1234
|
additionalCTA: e,
|
|
1232
1235
|
buttonStyle: t,
|
|
1233
1236
|
buttonContentStyle: i,
|
|
@@ -1753,7 +1756,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1753
1756
|
rulesDisplay: b
|
|
1754
1757
|
}) => {
|
|
1755
1758
|
var c, f;
|
|
1756
|
-
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(
|
|
1757
1760
|
Q.STANDARD
|
|
1758
1761
|
), u = bo({
|
|
1759
1762
|
finalImage: i,
|
|
@@ -1770,12 +1773,12 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1770
1773
|
imageBackgroundGradient: h,
|
|
1771
1774
|
isMobile: x
|
|
1772
1775
|
}), _ = wt(
|
|
1773
|
-
|
|
1774
|
-
|
|
1776
|
+
E == null ? void 0 : E.primaryUrl,
|
|
1777
|
+
E == null ? void 0 : E.secondaryUrl,
|
|
1775
1778
|
"image"
|
|
1776
1779
|
), C = () => {
|
|
1777
1780
|
_ && window.open(_, "_blank", "noopener,noreferrer");
|
|
1778
|
-
},
|
|
1781
|
+
}, T = (M, F) => _ ? typeof window > "u" ? /* @__PURE__ */ n.jsx(
|
|
1779
1782
|
m,
|
|
1780
1783
|
{
|
|
1781
1784
|
component: "a",
|
|
@@ -1825,11 +1828,11 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1825
1828
|
),
|
|
1826
1829
|
/* @__PURE__ */ n.jsxs(m, { sx: u.contentContainer, children: [
|
|
1827
1830
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: u.titleTypography, children: e.title }),
|
|
1828
|
-
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypography, children:
|
|
1831
|
+
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypography, children: z(e.description) })
|
|
1829
1832
|
] })
|
|
1830
1833
|
] }),
|
|
1831
1834
|
/* @__PURE__ */ n.jsx(Ze, { ratio: "16/9", sx: u.aspectRatioContainer, children: /* @__PURE__ */ n.jsx(m, { ref: s }) })
|
|
1832
|
-
] }) : i ?
|
|
1835
|
+
] }) : i ? T(
|
|
1833
1836
|
/* @__PURE__ */ n.jsxs(m, { sx: u.mobileHeadlineContent, children: [
|
|
1834
1837
|
/* @__PURE__ */ n.jsxs(m, { children: [
|
|
1835
1838
|
/* @__PURE__ */ n.jsxs(
|
|
@@ -1863,7 +1866,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1863
1866
|
),
|
|
1864
1867
|
/* @__PURE__ */ n.jsxs(m, { sx: u.contentContainer, children: [
|
|
1865
1868
|
/* @__PURE__ */ n.jsx(w, { sx: u.titleTypographyMobileImage, children: e.title }),
|
|
1866
|
-
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypographyMobileImage, children:
|
|
1869
|
+
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypographyMobileImage, children: z(e.description) })
|
|
1867
1870
|
] })
|
|
1868
1871
|
] }),
|
|
1869
1872
|
d && /* @__PURE__ */ n.jsx(m, { children: d })
|
|
@@ -1895,14 +1898,14 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1895
1898
|
),
|
|
1896
1899
|
/* @__PURE__ */ n.jsxs(m, { sx: u.contentContainer, children: [
|
|
1897
1900
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: u.titleTypography, children: e.title }),
|
|
1898
|
-
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypography, children:
|
|
1901
|
+
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypography, children: z(e.description) })
|
|
1899
1902
|
] })
|
|
1900
1903
|
] }),
|
|
1901
1904
|
d && /* @__PURE__ */ n.jsx(m, { children: d })
|
|
1902
1905
|
] }), P = !(x && d);
|
|
1903
1906
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1904
1907
|
x && N(),
|
|
1905
|
-
o === "left" && i ?
|
|
1908
|
+
o === "left" && i ? T(
|
|
1906
1909
|
/* @__PURE__ */ n.jsx(m, { sx: u.imageSafeArea }),
|
|
1907
1910
|
u.imageContainerLeft
|
|
1908
1911
|
) : null,
|
|
@@ -1948,7 +1951,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1948
1951
|
),
|
|
1949
1952
|
/* @__PURE__ */ n.jsxs(m, { sx: u.contentContainer, children: [
|
|
1950
1953
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: u.titleTypographyDesktop, children: e.title }),
|
|
1951
|
-
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypographyDesktop, children:
|
|
1954
|
+
/* @__PURE__ */ n.jsx(w, { sx: u.descriptionTypographyDesktop, children: z(e.description) })
|
|
1952
1955
|
] })
|
|
1953
1956
|
]
|
|
1954
1957
|
}
|
|
@@ -1957,7 +1960,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
1957
1960
|
] }) }),
|
|
1958
1961
|
a
|
|
1959
1962
|
] }),
|
|
1960
|
-
o === "right" && i ?
|
|
1963
|
+
o === "right" && i ? T(
|
|
1961
1964
|
/* @__PURE__ */ n.jsx(m, { sx: u.imageSafeArea }),
|
|
1962
1965
|
u.imageContainerRight
|
|
1963
1966
|
) : null
|
|
@@ -2151,12 +2154,12 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2151
2154
|
rulesDisplay: b
|
|
2152
2155
|
}) => {
|
|
2153
2156
|
var c, f;
|
|
2154
|
-
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(
|
|
2155
2158
|
Q.SPLIT
|
|
2156
2159
|
), C = vo({
|
|
2157
2160
|
finalImage: i,
|
|
2158
2161
|
spacingScale: R,
|
|
2159
|
-
borderRadius:
|
|
2162
|
+
borderRadius: E,
|
|
2160
2163
|
fontFamilyPrimary: O,
|
|
2161
2164
|
fontFamilySecondary: A,
|
|
2162
2165
|
secondaryColor: l,
|
|
@@ -2166,17 +2169,17 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2166
2169
|
darkTextColor: u,
|
|
2167
2170
|
imageBackgroundGradient: _,
|
|
2168
2171
|
isMobile: g
|
|
2169
|
-
}),
|
|
2172
|
+
}), T = wt(
|
|
2170
2173
|
I == null ? void 0 : I.primaryUrl,
|
|
2171
2174
|
I == null ? void 0 : I.secondaryUrl,
|
|
2172
2175
|
"image"
|
|
2173
2176
|
), N = () => {
|
|
2174
|
-
|
|
2175
|
-
}, P = (M, F) =>
|
|
2177
|
+
T && window.open(T, "_blank", "noopener,noreferrer");
|
|
2178
|
+
}, P = (M, F) => T ? typeof window > "u" ? /* @__PURE__ */ n.jsx(
|
|
2176
2179
|
m,
|
|
2177
2180
|
{
|
|
2178
2181
|
component: "a",
|
|
2179
|
-
href:
|
|
2182
|
+
href: T,
|
|
2180
2183
|
target: "_blank",
|
|
2181
2184
|
rel: "noopener noreferrer",
|
|
2182
2185
|
sx: {
|
|
@@ -2226,7 +2229,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2226
2229
|
),
|
|
2227
2230
|
/* @__PURE__ */ n.jsxs(m, { sx: C.contentContainer, children: [
|
|
2228
2231
|
/* @__PURE__ */ n.jsx(w, { sx: C.titleText, children: e.title }),
|
|
2229
|
-
/* @__PURE__ */ n.jsx(w, { sx: C.descriptionText, children:
|
|
2232
|
+
/* @__PURE__ */ n.jsx(w, { sx: C.descriptionText, children: z(e.description) })
|
|
2230
2233
|
] })
|
|
2231
2234
|
] }),
|
|
2232
2235
|
p && !g && d && /* @__PURE__ */ n.jsx(m, { children: d((S == null ? void 0 : S.contentColor) || u) })
|
|
@@ -2251,7 +2254,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2251
2254
|
),
|
|
2252
2255
|
/* @__PURE__ */ n.jsxs(m, { sx: C.contentContainer, children: [
|
|
2253
2256
|
/* @__PURE__ */ n.jsx(w, { sx: C.titleTextNoImage, children: e.title }),
|
|
2254
|
-
/* @__PURE__ */ n.jsx(w, { sx: C.descriptionTextNoImage, children:
|
|
2257
|
+
/* @__PURE__ */ n.jsx(w, { sx: C.descriptionTextNoImage, children: z(e.description) })
|
|
2255
2258
|
] })
|
|
2256
2259
|
] }),
|
|
2257
2260
|
p && !g && d && /* @__PURE__ */ n.jsx(m, { children: d(L) })
|
|
@@ -2300,7 +2303,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2300
2303
|
...C.descriptionTextNoImage,
|
|
2301
2304
|
textAlign: "center"
|
|
2302
2305
|
},
|
|
2303
|
-
children:
|
|
2306
|
+
children: z(e.description)
|
|
2304
2307
|
}
|
|
2305
2308
|
)
|
|
2306
2309
|
] })
|
|
@@ -2414,7 +2417,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2414
2417
|
var s, p;
|
|
2415
2418
|
const d = ce(), b = ie(), c = ue(
|
|
2416
2419
|
Q.OVERLAY
|
|
2417
|
-
), 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({
|
|
2418
2421
|
spacingScale: b,
|
|
2419
2422
|
brandingColors: f,
|
|
2420
2423
|
secondaryColor: x,
|
|
@@ -2426,8 +2429,8 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2426
2429
|
darkTextColor: O,
|
|
2427
2430
|
imageBackgroundGradient: c
|
|
2428
2431
|
});
|
|
2429
|
-
return /* @__PURE__ */ n.jsxs(m, { sx:
|
|
2430
|
-
/* @__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: [
|
|
2431
2434
|
/* @__PURE__ */ n.jsxs(
|
|
2432
2435
|
m,
|
|
2433
2436
|
{
|
|
@@ -2437,7 +2440,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2437
2440
|
gap: b["3xs"]
|
|
2438
2441
|
},
|
|
2439
2442
|
children: [
|
|
2440
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx:
|
|
2443
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx: E.headlineText, children: t }),
|
|
2441
2444
|
/* @__PURE__ */ n.jsx(
|
|
2442
2445
|
B,
|
|
2443
2446
|
{
|
|
@@ -2449,12 +2452,12 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2449
2452
|
]
|
|
2450
2453
|
}
|
|
2451
2454
|
),
|
|
2452
|
-
/* @__PURE__ */ n.jsxs(m, { sx:
|
|
2453
|
-
/* @__PURE__ */ n.jsx(w, { level: "h4", sx:
|
|
2454
|
-
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) })
|
|
2455
2458
|
] })
|
|
2456
2459
|
] }) }) }) }),
|
|
2457
|
-
/* @__PURE__ */ n.jsx(m, { sx:
|
|
2460
|
+
/* @__PURE__ */ n.jsx(m, { sx: E.mainContentSection, children: o })
|
|
2458
2461
|
] });
|
|
2459
2462
|
}, _o = (e) => {
|
|
2460
2463
|
var t, i, o;
|
|
@@ -2572,7 +2575,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2572
2575
|
var b;
|
|
2573
2576
|
const c = de(), f = Lt(), x = ce(), v = ie(), g = Y().primary, y = Y().secondary, R = re(), O = ue(
|
|
2574
2577
|
Q.SPLIT
|
|
2575
|
-
), A = ((b = e.branding) == null ? void 0 : b.colors) || null,
|
|
2578
|
+
), A = ((b = e.branding) == null ? void 0 : b.colors) || null, E = _o({
|
|
2576
2579
|
finalImage: i,
|
|
2577
2580
|
spacingScale: v,
|
|
2578
2581
|
borderRadius: R,
|
|
@@ -2586,8 +2589,8 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2586
2589
|
isTabulated: s,
|
|
2587
2590
|
alwaysShowImage: p
|
|
2588
2591
|
});
|
|
2589
|
-
return /* @__PURE__ */ n.jsxs(m, { sx:
|
|
2590
|
-
/* @__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: [
|
|
2591
2594
|
/* @__PURE__ */ n.jsxs(m, { children: [
|
|
2592
2595
|
/* @__PURE__ */ n.jsxs(
|
|
2593
2596
|
m,
|
|
@@ -2598,19 +2601,19 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2598
2601
|
gap: v["3xs"]
|
|
2599
2602
|
},
|
|
2600
2603
|
children: [
|
|
2601
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx:
|
|
2604
|
+
/* @__PURE__ */ n.jsx(w, { level: "body-sm", sx: E.headlineText, children: t }),
|
|
2602
2605
|
/* @__PURE__ */ n.jsx(B, { rulesDisplay: d, rules: e.rules || "" })
|
|
2603
2606
|
]
|
|
2604
2607
|
}
|
|
2605
2608
|
),
|
|
2606
|
-
/* @__PURE__ */ n.jsxs(m, { sx:
|
|
2607
|
-
/* @__PURE__ */ n.jsx(w, { level: "body-lg", sx:
|
|
2608
|
-
/* @__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) })
|
|
2609
2612
|
] })
|
|
2610
2613
|
] }),
|
|
2611
|
-
/* @__PURE__ */ n.jsx(m, { sx:
|
|
2614
|
+
/* @__PURE__ */ n.jsx(m, { sx: E.presentedByDesktop, children: o })
|
|
2612
2615
|
] }) }),
|
|
2613
|
-
/* @__PURE__ */ n.jsx(m, { sx:
|
|
2616
|
+
/* @__PURE__ */ n.jsx(m, { sx: E.questionArea, children: a })
|
|
2614
2617
|
] });
|
|
2615
2618
|
}, So = (e) => {
|
|
2616
2619
|
var t, i, o;
|
|
@@ -2895,7 +2898,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2895
2898
|
Q.STANDARD
|
|
2896
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(
|
|
2897
2900
|
Q.STANDARD
|
|
2898
|
-
), { 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({
|
|
2899
2902
|
finalImage: s,
|
|
2900
2903
|
spacingScale: p,
|
|
2901
2904
|
borderRadius: c,
|
|
@@ -2922,23 +2925,34 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2922
2925
|
] }) : /* @__PURE__ */ n.jsx(n.Fragment, {});
|
|
2923
2926
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
2924
2927
|
s ? /* @__PURE__ */ n.jsx(m, { sx: h.mobileHeadlineWithImage, children: /* @__PURE__ */ n.jsx(m, { sx: h.mobileHeadlineContent, children: /* @__PURE__ */ n.jsxs(m, { children: [
|
|
2925
|
-
/* @__PURE__ */ n.jsxs(
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
{
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
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
|
+
),
|
|
2942
2956
|
/* @__PURE__ */ n.jsxs(m, { sx: h.contentContainer, children: [
|
|
2943
2957
|
/* @__PURE__ */ n.jsx(
|
|
2944
2958
|
w,
|
|
@@ -2953,34 +2967,38 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2953
2967
|
{
|
|
2954
2968
|
level: "body-md",
|
|
2955
2969
|
sx: h.descriptionTypographyMobileImage,
|
|
2956
|
-
children:
|
|
2970
|
+
children: z(e.entity.description)
|
|
2957
2971
|
}
|
|
2958
2972
|
)
|
|
2959
2973
|
] })
|
|
2960
2974
|
] }) }) }) : /* @__PURE__ */ n.jsx(m, { sx: h.mobileHeadlineWithoutImage, children: /* @__PURE__ */ n.jsxs(m, { children: [
|
|
2961
|
-
/* @__PURE__ */ n.jsxs(
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
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
|
+
),
|
|
2971
2996
|
/* @__PURE__ */ n.jsxs(m, { sx: h.contentContainer, children: [
|
|
2972
2997
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: h.titleTypography, children: e.entity.title }),
|
|
2973
|
-
/* @__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) })
|
|
2974
2999
|
] })
|
|
2975
3000
|
] }) }),
|
|
2976
|
-
s && S === "left" && /* @__PURE__ */ n.jsx(m, { sx: h.imageContainerLeft, children: /* @__PURE__ */ n.jsx(
|
|
2977
|
-
"img",
|
|
2978
|
-
{
|
|
2979
|
-
src: s,
|
|
2980
|
-
alt: "illustration",
|
|
2981
|
-
style: h.image
|
|
2982
|
-
}
|
|
2983
|
-
) }),
|
|
3001
|
+
s && S === "left" && /* @__PURE__ */ n.jsx(m, { sx: h.imageContainerLeft, children: /* @__PURE__ */ n.jsx("img", { src: s, alt: "illustration", style: h.image }) }),
|
|
2984
3002
|
/* @__PURE__ */ n.jsxs(m, { sx: h.mainContentArea, children: [
|
|
2985
3003
|
/* @__PURE__ */ n.jsx(m, { sx: { px: p.md }, children: /* @__PURE__ */ n.jsx(m, { sx: h.desktopHeadlineContainer, children: /* @__PURE__ */ n.jsxs(
|
|
2986
3004
|
m,
|
|
@@ -2991,16 +3009,26 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
2991
3009
|
alignItems: "center"
|
|
2992
3010
|
},
|
|
2993
3011
|
children: [
|
|
2994
|
-
/* @__PURE__ */ n.jsxs(
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
}
|
|
3002
|
-
|
|
3003
|
-
|
|
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
|
+
),
|
|
3004
3032
|
/* @__PURE__ */ n.jsxs(m, { sx: h.contentContainer, children: [
|
|
3005
3033
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: h.titleTypographyDesktop, children: e.entity.title }),
|
|
3006
3034
|
/* @__PURE__ */ n.jsx(
|
|
@@ -3008,7 +3036,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3008
3036
|
{
|
|
3009
3037
|
level: "body-md",
|
|
3010
3038
|
sx: h.descriptionTypographyDesktop,
|
|
3011
|
-
children:
|
|
3039
|
+
children: z(e.entity.description)
|
|
3012
3040
|
}
|
|
3013
3041
|
)
|
|
3014
3042
|
] })
|
|
@@ -3028,16 +3056,9 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3028
3056
|
] }) }),
|
|
3029
3057
|
u()
|
|
3030
3058
|
] }),
|
|
3031
|
-
s && S === "right" && /* @__PURE__ */ n.jsx(m, { sx: h.imageContainerRight, children: /* @__PURE__ */ n.jsx(
|
|
3032
|
-
"img",
|
|
3033
|
-
{
|
|
3034
|
-
src: s,
|
|
3035
|
-
alt: "illustration",
|
|
3036
|
-
style: h.image
|
|
3037
|
-
}
|
|
3038
|
-
) })
|
|
3059
|
+
s && S === "right" && /* @__PURE__ */ n.jsx(m, { sx: h.imageContainerRight, children: /* @__PURE__ */ n.jsx("img", { src: s, alt: "illustration", style: h.image }) })
|
|
3039
3060
|
] });
|
|
3040
|
-
},
|
|
3061
|
+
}, To = (e) => {
|
|
3041
3062
|
var t, i, o;
|
|
3042
3063
|
return {
|
|
3043
3064
|
// Main headline section with background image
|
|
@@ -3210,7 +3231,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3210
3231
|
Q.SPLIT
|
|
3211
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(
|
|
3212
3233
|
Q.SPLIT
|
|
3213
|
-
),
|
|
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({
|
|
3214
3235
|
finalImage: s,
|
|
3215
3236
|
spacingScale: O,
|
|
3216
3237
|
borderRadius: re(),
|
|
@@ -3245,19 +3266,30 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3245
3266
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
3246
3267
|
/* @__PURE__ */ n.jsx(m, { sx: I.headlineSection, children: /* @__PURE__ */ n.jsxs(m, { sx: I.headlineContent, children: [
|
|
3247
3268
|
/* @__PURE__ */ n.jsxs(m, { children: [
|
|
3248
|
-
/* @__PURE__ */ n.jsxs(
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
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
|
+
),
|
|
3258
3290
|
/* @__PURE__ */ n.jsxs(m, { sx: I.contentContainer, children: [
|
|
3259
3291
|
/* @__PURE__ */ n.jsx(w, { level: "body-lg", sx: I.titleText, children: e.entity.title }),
|
|
3260
|
-
/* @__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) })
|
|
3261
3293
|
] })
|
|
3262
3294
|
] }),
|
|
3263
3295
|
/* @__PURE__ */ n.jsx(m, { sx: I.presentedByDesktop, children: e.renderPresentedBy(
|
|
@@ -3269,7 +3301,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3269
3301
|
it,
|
|
3270
3302
|
{
|
|
3271
3303
|
variant: "error",
|
|
3272
|
-
title:
|
|
3304
|
+
title: E,
|
|
3273
3305
|
message: S
|
|
3274
3306
|
}
|
|
3275
3307
|
),
|
|
@@ -3277,7 +3309,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3277
3309
|
/* @__PURE__ */ n.jsx(m, { sx: I.presentedByMobile, children: e.renderPresentedBy((a == null ? void 0 : a.contentColor) || R) })
|
|
3278
3310
|
] })
|
|
3279
3311
|
] });
|
|
3280
|
-
},
|
|
3312
|
+
}, Eo = (e) => {
|
|
3281
3313
|
var t;
|
|
3282
3314
|
return {
|
|
3283
3315
|
// Main container with background overlay
|
|
@@ -3472,7 +3504,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3472
3504
|
imagePlaceholder: e.defaultImagePlaceholderUrl || ""
|
|
3473
3505
|
},
|
|
3474
3506
|
Q.OVERLAY
|
|
3475
|
-
), 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({
|
|
3476
3508
|
spacingScale: t,
|
|
3477
3509
|
brandingColors: d,
|
|
3478
3510
|
secondaryColor: x,
|
|
@@ -3485,7 +3517,7 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3485
3517
|
imageBackgroundGradient: s,
|
|
3486
3518
|
contentBgColor: O,
|
|
3487
3519
|
onSurfaceColor: A,
|
|
3488
|
-
surfaceVariantColor:
|
|
3520
|
+
surfaceVariantColor: E,
|
|
3489
3521
|
textPrimary: S,
|
|
3490
3522
|
isMobile: o
|
|
3491
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: [
|
|
@@ -3494,20 +3526,31 @@ const $e = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
|
3494
3526
|
] }) }) }) }) : /* @__PURE__ */ n.jsx(n.Fragment, {});
|
|
3495
3527
|
return /* @__PURE__ */ n.jsxs(m, { sx: l.mainContainer, children: [
|
|
3496
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: [
|
|
3497
|
-
/* @__PURE__ */ n.jsxs(
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
}
|
|
3506
|
-
|
|
3507
|
-
|
|
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
|
+
),
|
|
3508
3551
|
/* @__PURE__ */ n.jsxs(m, { sx: l.contentContainer, children: [
|
|
3509
3552
|
/* @__PURE__ */ n.jsx(w, { level: "h4", sx: l.titleText, children: e.entity.title }),
|
|
3510
|
-
/* @__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) })
|
|
3511
3554
|
] })
|
|
3512
3555
|
] }) }) }) }),
|
|
3513
3556
|
/* @__PURE__ */ n.jsxs(m, { sx: l.bottomSection, children: [
|
|
@@ -3637,7 +3680,7 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3637
3680
|
}
|
|
3638
3681
|
function d(g, y, R, O, A) {
|
|
3639
3682
|
typeof y == "object" && (R = y.depth, O = y.prototype, A = y.includeNonEnumerable, y = y.circular);
|
|
3640
|
-
var
|
|
3683
|
+
var E = [], S = [], I = typeof Buffer < "u";
|
|
3641
3684
|
typeof y > "u" && (y = !0), typeof R > "u" && (R = 1 / 0);
|
|
3642
3685
|
function L(l, h) {
|
|
3643
3686
|
if (l === null) return null;
|
|
@@ -3646,11 +3689,11 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3646
3689
|
if (typeof l != "object") return l;
|
|
3647
3690
|
if (o(l, a)) u = new a();
|
|
3648
3691
|
else if (o(l, s)) u = new s();
|
|
3649
|
-
else if (o(l, p)) u = new p(function($,
|
|
3692
|
+
else if (o(l, p)) u = new p(function($, W) {
|
|
3650
3693
|
l.then(function(K) {
|
|
3651
3694
|
$(L(K, h - 1));
|
|
3652
3695
|
}, function(K) {
|
|
3653
|
-
|
|
3696
|
+
W(L(K, h - 1));
|
|
3654
3697
|
});
|
|
3655
3698
|
});
|
|
3656
3699
|
else if (d.__isArray(l)) u = [];
|
|
@@ -3661,27 +3704,27 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3661
3704
|
o(l, Error) ? u = Object.create(l) : typeof O > "u" ? (_ = Object.getPrototypeOf(l), u = Object.create(_)) : (u = Object.create(O), _ = O);
|
|
3662
3705
|
}
|
|
3663
3706
|
if (y) {
|
|
3664
|
-
var C =
|
|
3707
|
+
var C = E.indexOf(l);
|
|
3665
3708
|
if (C != -1) return S[C];
|
|
3666
|
-
|
|
3709
|
+
E.push(l), S.push(u);
|
|
3667
3710
|
}
|
|
3668
|
-
o(l, a) && l.forEach(function($,
|
|
3669
|
-
var K = L(
|
|
3711
|
+
o(l, a) && l.forEach(function($, W) {
|
|
3712
|
+
var K = L(W, h - 1), ne = L($, h - 1);
|
|
3670
3713
|
u.set(K, ne);
|
|
3671
3714
|
}), o(l, s) && l.forEach(function($) {
|
|
3672
|
-
var
|
|
3673
|
-
u.add(
|
|
3715
|
+
var W = L($, h - 1);
|
|
3716
|
+
u.add(W);
|
|
3674
3717
|
});
|
|
3675
|
-
for (var
|
|
3718
|
+
for (var T in l) {
|
|
3676
3719
|
var N;
|
|
3677
|
-
_ && (N = Object.getOwnPropertyDescriptor(_,
|
|
3720
|
+
_ && (N = Object.getOwnPropertyDescriptor(_, T)), !(N && N.set == null) && (u[T] = L(l[T], h - 1));
|
|
3678
3721
|
}
|
|
3679
|
-
if (Object.getOwnPropertySymbols) for (var P = Object.getOwnPropertySymbols(l),
|
|
3680
|
-
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);
|
|
3681
3724
|
F && !F.enumerable && !A || (u[M] = L(l[M], h - 1), F.enumerable || Object.defineProperty(u, M, { enumerable: !1 }));
|
|
3682
3725
|
}
|
|
3683
|
-
if (A) for (var se = Object.getOwnPropertyNames(l),
|
|
3684
|
-
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);
|
|
3685
3728
|
F && F.enumerable || (u[Z] = L(l[Z], h - 1), Object.defineProperty(u, Z, { enumerable: !1 }));
|
|
3686
3729
|
}
|
|
3687
3730
|
return u;
|
|
@@ -3762,10 +3805,10 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3762
3805
|
if (C !== void 0) _ = _ && C.error === void 0;
|
|
3763
3806
|
else if (!_) return !1;
|
|
3764
3807
|
if (_) {
|
|
3765
|
-
var
|
|
3766
|
-
if (h.length > 0 && (
|
|
3767
|
-
var N = new Error("Unhandled error." + (
|
|
3768
|
-
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;
|
|
3769
3812
|
}
|
|
3770
3813
|
var P = C[l];
|
|
3771
3814
|
if (P === void 0) return !1;
|
|
@@ -3774,9 +3817,9 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3774
3817
|
return !0;
|
|
3775
3818
|
};
|
|
3776
3819
|
function x(l, h, u, _) {
|
|
3777
|
-
var C,
|
|
3778
|
-
if (c(u),
|
|
3779
|
-
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) {
|
|
3780
3823
|
N.warned = !0;
|
|
3781
3824
|
var P = new Error("Possible EventEmitter memory leak detected. " + N.length + " " + String(h) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
3782
3825
|
P.name = "MaxListenersExceededWarning", P.emitter = l, P.type = h, P.count = N.length, s(P);
|
|
@@ -3800,13 +3843,13 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3800
3843
|
}, d.prototype.prependOnceListener = function(l, h) {
|
|
3801
3844
|
return c(h), this.prependListener(l, g(this, l, h)), this;
|
|
3802
3845
|
}, d.prototype.removeListener = function(l, h) {
|
|
3803
|
-
var u, _, C,
|
|
3846
|
+
var u, _, C, T, N;
|
|
3804
3847
|
if (c(h), _ = this._events, _ === void 0) return this;
|
|
3805
3848
|
if (u = _[l], u === void 0) return this;
|
|
3806
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));
|
|
3807
3850
|
else if (typeof u != "function") {
|
|
3808
|
-
for (C = -1,
|
|
3809
|
-
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;
|
|
3810
3853
|
break;
|
|
3811
3854
|
}
|
|
3812
3855
|
if (C < 0) return this;
|
|
@@ -3818,8 +3861,8 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3818
3861
|
if (u = this._events, u === void 0) return this;
|
|
3819
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;
|
|
3820
3863
|
if (arguments.length === 0) {
|
|
3821
|
-
var C = Object.keys(u),
|
|
3822
|
-
for (_ = 0; _ < C.length; ++_)
|
|
3864
|
+
var C = Object.keys(u), T;
|
|
3865
|
+
for (_ = 0; _ < C.length; ++_) T = C[_], T !== "removeListener" && this.removeAllListeners(T);
|
|
3823
3866
|
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
|
3824
3867
|
}
|
|
3825
3868
|
if (h = u[l], typeof h == "function") this.removeListener(l, h);
|
|
@@ -3830,7 +3873,7 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3830
3873
|
var _ = l._events;
|
|
3831
3874
|
if (_ === void 0) return [];
|
|
3832
3875
|
var C = _[h];
|
|
3833
|
-
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);
|
|
3834
3877
|
}
|
|
3835
3878
|
d.prototype.listeners = function(l) {
|
|
3836
3879
|
return y(this, l, !0);
|
|
@@ -3859,19 +3902,19 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3859
3902
|
for (; h + 1 < l.length; h++) l[h] = l[h + 1];
|
|
3860
3903
|
l.pop();
|
|
3861
3904
|
}
|
|
3862
|
-
function
|
|
3905
|
+
function E(l) {
|
|
3863
3906
|
for (var h = new Array(l.length), u = 0; u < h.length; ++u) h[u] = l[u].listener || l[u];
|
|
3864
3907
|
return h;
|
|
3865
3908
|
}
|
|
3866
3909
|
function S(l, h) {
|
|
3867
3910
|
return new Promise(function(u, _) {
|
|
3868
3911
|
function C(N) {
|
|
3869
|
-
l.removeListener(h,
|
|
3912
|
+
l.removeListener(h, T), _(N);
|
|
3870
3913
|
}
|
|
3871
|
-
function
|
|
3914
|
+
function T() {
|
|
3872
3915
|
typeof l.removeListener == "function" && l.removeListener("error", C), u([].slice.call(arguments));
|
|
3873
3916
|
}
|
|
3874
|
-
L(l, h,
|
|
3917
|
+
L(l, h, T, { once: !0 }), h !== "error" && I(l, C, { once: !0 });
|
|
3875
3918
|
});
|
|
3876
3919
|
}
|
|
3877
3920
|
function I(l, h, u) {
|
|
@@ -3879,8 +3922,8 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3879
3922
|
}
|
|
3880
3923
|
function L(l, h, u, _) {
|
|
3881
3924
|
if (typeof l.on == "function") _.once ? l.once(h, u) : l.on(h, u);
|
|
3882
|
-
else if (typeof l.addEventListener == "function") l.addEventListener(h, function C(
|
|
3883
|
-
_.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);
|
|
3884
3927
|
});
|
|
3885
3928
|
else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof l);
|
|
3886
3929
|
}
|
|
@@ -3927,13 +3970,13 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
3927
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;
|
|
3928
3971
|
}
|
|
3929
3972
|
mset(c) {
|
|
3930
|
-
var f, x, v, g, y, R, O, A,
|
|
3973
|
+
var f, x, v, g, y, R, O, A, E, S;
|
|
3931
3974
|
if (s(this, d), this.options.maxKeys > -1 && this.stats.keys + c.length >= this.options.maxKeys) throw f = this._error("ECACHEFULL"), f;
|
|
3932
3975
|
for (v = 0, O = c.length; v < O; v++) {
|
|
3933
|
-
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;
|
|
3934
3977
|
if ((x = this._isInvalidKey(y)) != null) throw x;
|
|
3935
3978
|
}
|
|
3936
|
-
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);
|
|
3937
3980
|
return !0;
|
|
3938
3981
|
}
|
|
3939
3982
|
del(c) {
|
|
@@ -4034,7 +4077,7 @@ var Rt, Ht, jo = Lo(() => {
|
|
|
4034
4077
|
var i;
|
|
4035
4078
|
i = t.exports = Vo(), i.version = "5.1.2";
|
|
4036
4079
|
}).call(e);
|
|
4037
|
-
}),
|
|
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 || {});
|
|
4038
4081
|
function It(e) {
|
|
4039
4082
|
this.message = e;
|
|
4040
4083
|
}
|
|
@@ -4044,7 +4087,7 @@ function Ot(e) {
|
|
|
4044
4087
|
this.message = e;
|
|
4045
4088
|
}
|
|
4046
4089
|
Ot.prototype = new Error(), Ot.prototype.name = "InvalidTokenError";
|
|
4047
|
-
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" };
|
|
4048
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");
|
|
4049
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 {
|
|
4050
4093
|
constructor(e) {
|
|
@@ -4057,26 +4100,26 @@ var Ko = ((e) => (e.INVALID_MATCH_ID = "Match id is invalid!", e.INVALID_PLAYER_
|
|
|
4057
4100
|
let i = await this.getData(), o = [...i.football.competitions];
|
|
4058
4101
|
o.push(...t), i.football.competitions = this.makeCompetitionsUnique(o), await this.setData(i);
|
|
4059
4102
|
}), r(this, "getCompetitionsLength", async () => (await this.getData()).football.competitions.length), r(this, "getEntityById", async (t = "", i = "") => (await this.getData()).football.ids.find((o) => {
|
|
4060
|
-
let a =
|
|
4103
|
+
let a = G[this.idSchema];
|
|
4061
4104
|
return o && `${o[a]}` === i && o.resource === t;
|
|
4062
4105
|
})), r(this, "getEntity", async (t, i, o) => {
|
|
4063
4106
|
let a = await this.getData();
|
|
4064
4107
|
return Array.isArray(t) ? a.football.ids.filter((s) => {
|
|
4065
|
-
let p =
|
|
4108
|
+
let p = G[o];
|
|
4066
4109
|
return s && t.includes(`${s[p]}`) && s.resource === i;
|
|
4067
4110
|
}) : a.football.ids.find((s) => {
|
|
4068
|
-
let p =
|
|
4111
|
+
let p = G[o];
|
|
4069
4112
|
return s && `${s[p]}` === t && s.resource === i;
|
|
4070
4113
|
});
|
|
4071
4114
|
}), r(this, "checkForExistingIdObjs", async (t, i) => {
|
|
4072
|
-
let o =
|
|
4115
|
+
let o = G[i], a = {};
|
|
4073
4116
|
for (let s of Object.keys(t)) {
|
|
4074
4117
|
let p = t[s], d = (await this.getEntity(p, s, i)).map((c) => c[o]), b = t[s].filter((c) => !d.includes(c));
|
|
4075
4118
|
a[s] = p.map((c) => b.includes(c) ? { id: c, exists: !1 } : { id: c, exists: !0 });
|
|
4076
4119
|
}
|
|
4077
4120
|
return a;
|
|
4078
4121
|
}), r(this, "getIdsByType", async (t, i, o) => {
|
|
4079
|
-
let a = await this.getData(), s =
|
|
4122
|
+
let a = await this.getData(), s = G[o], p = G[i], d = {};
|
|
4080
4123
|
return Object.keys(t).forEach((b) => {
|
|
4081
4124
|
let c = t[b], f = [];
|
|
4082
4125
|
a.football.ids.forEach((x) => {
|
|
@@ -4174,22 +4217,22 @@ var Je = "FansUnited", qe = { football: { ids: [], countries: [], competitions:
|
|
|
4174
4217
|
r(this, "idSchema", ""), r(this, "expirationProfileTimeout", 600), r(this, "expirationBadgesTimeout", 3600), r(this, "expirationClientFeaturesTimeout", 14400), r(this, "expirationFootballIdsTimeout", 604800), r(this, "clearData", async () => {
|
|
4175
4218
|
this.setData(qe);
|
|
4176
4219
|
}), r(this, "getEntityById", async (t = "", i = "") => this.getData().football.ids.find((o) => {
|
|
4177
|
-
let a =
|
|
4220
|
+
let a = G[this.idSchema];
|
|
4178
4221
|
return o && `${o[a]}` === i && o.resource === t;
|
|
4179
4222
|
})), r(this, "getEntity", (t, i, o) => Array.isArray(t) ? this.getData().football.ids.filter((a) => {
|
|
4180
|
-
let s =
|
|
4223
|
+
let s = G[o];
|
|
4181
4224
|
return a && t.includes(`${a[s]}`) && a.resource === i;
|
|
4182
4225
|
}) : this.getData().football.ids.find((a) => {
|
|
4183
|
-
let s =
|
|
4226
|
+
let s = G[o];
|
|
4184
4227
|
return a && `${a[s]}` === t && a.resource === i;
|
|
4185
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) => {
|
|
4186
|
-
let o =
|
|
4229
|
+
let o = G[i], a = {};
|
|
4187
4230
|
return Object.keys(t).forEach((s) => {
|
|
4188
4231
|
let p = t[s], d = this.getEntity(p, s, i).map((c) => c[o]), b = t[s].filter((c) => !d.includes(c));
|
|
4189
4232
|
a[s] = p.map((c) => b.includes(c) ? { id: c, exists: !1 } : { id: c, exists: !0 });
|
|
4190
4233
|
}), a;
|
|
4191
4234
|
}), r(this, "getIdsByType", async (t, i, o) => {
|
|
4192
|
-
let a =
|
|
4235
|
+
let a = G[o], s = G[i], p = {};
|
|
4193
4236
|
return Object.keys(t).forEach((d) => {
|
|
4194
4237
|
let b = t[d], c = [];
|
|
4195
4238
|
this.getData().football.ids.forEach((f) => {
|
|
@@ -4279,27 +4322,27 @@ var Qo = Mo(Ho()), j = class {
|
|
|
4279
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) => {
|
|
4280
4323
|
let o = j.nodeCache.get("ids");
|
|
4281
4324
|
return o ? o.find((a) => {
|
|
4282
|
-
let s =
|
|
4325
|
+
let s = G[this.idSchema];
|
|
4283
4326
|
return a && `${a[s]}` === i && a.resource === t;
|
|
4284
4327
|
}) : null;
|
|
4285
4328
|
}), r(this, "getEntity", async (t, i, o) => {
|
|
4286
4329
|
let a = j.nodeCache.get("ids");
|
|
4287
4330
|
return a ? Array.isArray(t) ? [] : null : Array.isArray(t) ? a.filter((s) => {
|
|
4288
|
-
let p =
|
|
4331
|
+
let p = G[o];
|
|
4289
4332
|
return s && t.includes(`${s[p]}`) && s.resource === i;
|
|
4290
4333
|
}) : a.find((s) => {
|
|
4291
|
-
let p =
|
|
4334
|
+
let p = G[o];
|
|
4292
4335
|
return s && `${s[p]}` === t && s.resource === i;
|
|
4293
4336
|
});
|
|
4294
4337
|
}), r(this, "checkForExistingIdObjs", async (t, i) => {
|
|
4295
|
-
let o =
|
|
4338
|
+
let o = G[i], a = {};
|
|
4296
4339
|
for (let s of Object.keys(t)) {
|
|
4297
4340
|
let p = t[s], d = (await this.getEntity(p, s, i)).map((c) => c[o]), b = t[s].filter((c) => !d.includes(c));
|
|
4298
4341
|
a[s] = p.map((c) => b.includes(c) ? { id: c, exists: !1 } : { id: c, exists: !0 });
|
|
4299
4342
|
}
|
|
4300
4343
|
return a;
|
|
4301
4344
|
}), r(this, "getIdsByType", async (t, i, o) => {
|
|
4302
|
-
let a =
|
|
4345
|
+
let a = G[o], s = G[i], p = j.nodeCache.get("ids"), d = {};
|
|
4303
4346
|
return p ? (Object.keys(t).forEach((b) => {
|
|
4304
4347
|
let c = t[b], f = [];
|
|
4305
4348
|
p.forEach((x) => {
|
|
@@ -4368,7 +4411,7 @@ var Qo = Mo(Ho()), j = class {
|
|
|
4368
4411
|
J(Dt, "instance"), J(Dt, "nodeCache", new Qo.default());
|
|
4369
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 {
|
|
4370
4413
|
constructor() {
|
|
4371
|
-
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);
|
|
4372
4415
|
}
|
|
4373
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 {
|
|
4374
4417
|
constructor() {
|
|
@@ -4384,7 +4427,7 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4384
4427
|
}
|
|
4385
4428
|
}, an = class {
|
|
4386
4429
|
constructor() {
|
|
4387
|
-
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);
|
|
4388
4431
|
}
|
|
4389
4432
|
}, jn = class extends an {
|
|
4390
4433
|
constructor() {
|
|
@@ -4400,7 +4443,7 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4400
4443
|
}
|
|
4401
4444
|
}, un = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIALLY_WON = "PARTIALLY_WON", e.CANCELED = "CANCELED", e))(un || {}), hn = class {
|
|
4402
4445
|
constructor() {
|
|
4403
|
-
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);
|
|
4404
4447
|
}
|
|
4405
4448
|
}, Vn = class extends hn {
|
|
4406
4449
|
constructor() {
|
|
@@ -4408,7 +4451,7 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4408
4451
|
}
|
|
4409
4452
|
}, pn = class {
|
|
4410
4453
|
constructor() {
|
|
4411
|
-
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);
|
|
4412
4455
|
}
|
|
4413
4456
|
}, Hn = class extends pn {
|
|
4414
4457
|
constructor() {
|
|
@@ -4418,7 +4461,7 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4418
4461
|
constructor() {
|
|
4419
4462
|
r(this, "id", null), r(this, "pollId", null), r(this, "optionId", null), r(this, "optionIds", []), r(this, "userId", null), r(this, "createdAt", null);
|
|
4420
4463
|
}
|
|
4421
|
-
},
|
|
4464
|
+
}, Gn = class extends fn {
|
|
4422
4465
|
constructor() {
|
|
4423
4466
|
super(...arguments), r(this, "previousVotes", []), r(this, "attempts", null);
|
|
4424
4467
|
}
|
|
@@ -4426,8 +4469,8 @@ var Zo = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
4426
4469
|
constructor() {
|
|
4427
4470
|
}
|
|
4428
4471
|
static createMatchMarketsResultsModel(e, t) {
|
|
4429
|
-
var i, o, a, s, p, d, b, c, f, x, v, g, y, R, O, A,
|
|
4430
|
-
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 };
|
|
4431
4474
|
}
|
|
4432
4475
|
}, he = et;
|
|
4433
4476
|
J(he, "createOneXTwoResult", (e, t) => {
|
|
@@ -4437,7 +4480,7 @@ J(he, "createOneXTwoResult", (e, t) => {
|
|
|
4437
4480
|
var t, i, o, a;
|
|
4438
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"];
|
|
4439
4482
|
}), J(he, "createHalfTimeFullTimeResult", (e) => {
|
|
4440
|
-
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;
|
|
4441
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)) {
|
|
4442
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";
|
|
4443
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";
|
|
@@ -4448,7 +4491,7 @@ J(he, "createOneXTwoResult", (e, t) => {
|
|
|
4448
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";
|
|
4449
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";
|
|
4450
4493
|
}
|
|
4451
|
-
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)) {
|
|
4452
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";
|
|
4453
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";
|
|
4454
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";
|
|
@@ -4484,11 +4527,12 @@ export {
|
|
|
4484
4527
|
$e as H,
|
|
4485
4528
|
wn as J,
|
|
4486
4529
|
On as K,
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4530
|
+
Nn as Q,
|
|
4531
|
+
En as U,
|
|
4532
|
+
Ze as W,
|
|
4533
|
+
An as X,
|
|
4490
4534
|
Rn as Y,
|
|
4491
|
-
|
|
4535
|
+
Ln as Z,
|
|
4492
4536
|
Vn as a,
|
|
4493
4537
|
B as b,
|
|
4494
4538
|
so as c,
|
|
@@ -4498,13 +4542,12 @@ export {
|
|
|
4498
4542
|
at as g,
|
|
4499
4543
|
Pn as h,
|
|
4500
4544
|
Fn as i,
|
|
4501
|
-
|
|
4502
|
-
|
|
4545
|
+
Tn as j,
|
|
4546
|
+
zi as k,
|
|
4503
4547
|
kn as n,
|
|
4504
4548
|
jn as o,
|
|
4505
|
-
|
|
4549
|
+
Dn as q,
|
|
4506
4550
|
Hn as r,
|
|
4507
|
-
|
|
4508
|
-
Mn as t
|
|
4509
|
-
Ze as z
|
|
4551
|
+
Gn as s,
|
|
4552
|
+
Mn as t
|
|
4510
4553
|
};
|