fansunited-widgets-cdn 0.0.86-RC8 → 0.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{Alert-B6o66mYo.js → Alert-DyM0oQgv.js} +32 -32
- package/chunks/{CardContent-NCZhfGcZ.js → CardContent-JGV7AYRJ.js} +19 -18
- package/chunks/{ChevronRight-1pLZ7T0v.js → ChevronRight-BjivYvSo.js} +11 -11
- package/chunks/{ClassicQuizWrapper-n2epPO4k.js → ClassicQuizWrapper-ChR6VdmQ.js} +8 -9
- package/chunks/{CollectLeadForm-C_3plJtn-Dr8J3eDw.js → CollectLeadForm-iZpBeMTk-Be-1nl3u.js} +2 -2
- package/chunks/{CollectLeadWrapper-CCtTZAxL.js → CollectLeadWrapper-DWGnbQNs.js} +22 -23
- package/chunks/{EitherOrById-ClGwMK0b.js → EitherOrById-HLRwnSut.js} +65 -65
- package/chunks/{EitherOrPreviewWrapper-BYiKyYwi.js → EitherOrPreviewWrapper-Bhb40ehK.js} +10 -10
- package/chunks/{Error-BurPfBJw-DWYn31sK.js → Error-D0HPar1M-CvBCxjku.js} +3 -3
- package/chunks/{EventGameWrapper-BphusLTk.js → EventGameWrapper-FLrbgLNx.js} +95 -96
- package/chunks/{Grid-yjqNNhEx.js → Grid-BgTvl7U0.js} +37 -37
- package/chunks/{IconButton-D7onwgY0.js → IconButton-UDap3hOW.js} +21 -21
- package/chunks/{List-8Vy9IZiv.js → List-CaGDrvb1.js} +23 -23
- package/chunks/{MatchPredictionContainer-BGytBwLo.js → MatchPredictionContainer-CCryS3WW.js} +7 -7
- package/chunks/{MatchQuizWrapper-BGjldBpF.js → MatchQuizWrapper-CNPkFMYb.js} +149 -150
- package/chunks/{OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js → OverlayLeadAfterCollection-CwqTKIoQ-B249CJNS.js} +3 -3
- package/chunks/{OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js → OverlayScoreStateSkeleton-CR-b8BTk-CcF6Sgb_.js} +8 -8
- package/chunks/{PersonalityQuizWrapper-BgLFw5tM.js → PersonalityQuizWrapper-D0_OHdgC.js} +315 -314
- package/chunks/{PlayerOfTheMatch-CImBLG3T.js → PlayerOfTheMatch-KHUAoy28.js} +96 -96
- package/chunks/{PollWrapper-QpIKCCVF.js → PollWrapper-Dsi16RT3.js} +8 -9
- package/chunks/{Portal-DegkUXpU-ByGP9zS1.js → Portal-Cvhw2F3y-CfNE9zHV.js} +313 -314
- package/chunks/{PreviewQuizById-Ba6yhxKV.js → PreviewQuizById-DdmuvcAL.js} +1019 -996
- package/chunks/{Sheet-U5EnSrgg.js → Sheet-x5Z9YdFs.js} +35 -35
- package/chunks/{Stack-DbDi7kPO.js → Stack-DZB2vzbp.js} +36 -36
- package/chunks/{Tabs-leN3Fb8D--YMyy3EM.js → Tabs-DmfafFAr-bCryBf-H.js} +2 -2
- package/chunks/{TeamNextMatchPrediction-9VSQOCcC.js → TeamNextMatchPrediction-C-fToJvQ.js} +2 -2
- package/chunks/{Tutorial-CRJLOovs.js → Tutorial-BI9zKJw5.js} +72 -73
- package/chunks/{createLucideIcon-CMWOQsDL.js → createLucideIcon-89uTOJaq.js} +8 -8
- package/chunks/{createSvgIcon-D9D4a1R9.js → createSvgIcon-DsrdSWLs.js} +167 -167
- package/chunks/{default-quiz-bg-ADjjIfPj.js → default-quiz-bg-CbX4gLOf.js} +15 -14
- package/chunks/{index-UwW9niUj.js → index-BJtPwLU2.js} +1 -1
- package/chunks/{index-CPTAlr_t.js → index-BXdeff8G.js} +1 -1
- package/chunks/{index-Da0AXb_O.js → index-BwmaB0Jc.js} +1 -1
- package/chunks/{index-CviTG4Nv.js → index-CSM_gD0c.js} +1 -1
- package/chunks/{index-BycLbIYY.js → index-CfNoJqrf.js} +1 -1
- package/chunks/{index-C6KAc5B_.js → index-CowyrOBF.js} +1 -1
- package/chunks/{index-DUQ2LFod-Cw45tHim.js → index-CsLtqiB_-DH3NMQxW.js} +32 -29
- package/chunks/{index-DwR4J2nN.js → index-CtAJur0I.js} +1 -1
- package/chunks/{index-CILd3yUc.js → index-DBucbNfJ.js} +1 -1
- package/chunks/{index-CHV6tlpH.js → index-DRDXyva1.js} +9 -9
- package/chunks/{index-CvGJXa6l.js → index-DRsTGSlf.js} +1 -1
- package/chunks/{index-CK2RXrJm.js → index-DXh1obfA.js} +1 -1
- package/chunks/{index-B74jHeYm.js → index-Dbuicm10.js} +2 -2
- package/chunks/{index-BfVvJg5R.js → index-DoDwv4Hi.js} +1 -1
- package/chunks/{index-CiB_Gqim.js → index-SdhwlCm-.js} +1 -1
- package/chunks/{index-0ADq_9jd.js → index-TCdxAH9x.js} +1 -1
- package/chunks/{init-C-gCorsh.js → init-CxQCMVyG.js} +1 -1
- package/chunks/main-Cx-uBTln.js +51049 -0
- package/chunks/resolveProps-DfBmYyXU.js +1632 -0
- package/chunks/{users-CXdzg3DM.js → users-Bltqtuv-.js} +1 -1
- package/fu-widgets-loader.es.js +16 -17
- package/fu-widgets-loader.js +1 -1
- package/fu-widgets.es.js +2 -2
- package/fu-widgets.iife.js +290 -290
- package/manifest.json +52 -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,15 +1,15 @@
|
|
|
1
|
-
import { r as d,
|
|
2
|
-
import { u as
|
|
3
|
-
import {
|
|
4
|
-
import { P as zr, b as Ho, m as jr, c as En, d as Mr, M as Er, a as Br, I as Nr, e as ut, f as Pt, C as $o, g as Hr, F as Fr, h as Je, i as _r, j as Vr, G as pt, T as Wr } from "./Tutorial-
|
|
5
|
-
import { S as bo, I as Gr } from "./IconButton-
|
|
6
|
-
import { c as xo, a as Ur, g as Jr, S as rn } from "./Sheet-
|
|
7
|
-
import { S as qr, a as Kr, C as Yr } from "./CardContent-
|
|
8
|
-
import { o as an, u as ro, c as qt } from "./createSvgIcon-
|
|
9
|
-
import { A as Xr } from "./Alert-
|
|
10
|
-
import { S as He } from "./Stack-
|
|
11
|
-
import { a as Zr, u as Fo, C as Qr, g as Tt, V as Bn, c as Kt } from "./createLucideIcon-
|
|
12
|
-
import { A as Nn } from "./default-quiz-bg-
|
|
1
|
+
import { r as d, d as he, _ as p, z as xr, B as yr, T as Cr, C as Ir, D as Sr, E as uo, F as Jt, j as s, b as ke, g as Be, e as pe, t as ce, a as $n, u as Bo, G as Pr, h as Lr, i as Rr, s as Dr } from "./main-Cx-uBTln.js";
|
|
2
|
+
import { u as Or } from "./index-DRDXyva1.js";
|
|
3
|
+
import { p as kr, q as wr, i as rt, t as Tr, l as ft, v as go, d as we, w as Ar, u as ze, c as ne, s as U, m as dt, j as $r, r as zn, I as jn, b as Lt, B as Le, T as me, a as No, C as Mn } from "./resolveProps-DfBmYyXU.js";
|
|
4
|
+
import { P as zr, b as Ho, m as jr, c as En, d as Mr, M as Er, a as Br, I as Nr, e as ut, f as Pt, C as $o, g as Hr, F as Fr, h as Je, i as _r, j as Vr, G as pt, T as Wr } from "./Tutorial-BI9zKJw5.js";
|
|
5
|
+
import { S as bo, I as Gr } from "./IconButton-UDap3hOW.js";
|
|
6
|
+
import { c as xo, a as Ur, g as Jr, S as rn } from "./Sheet-x5Z9YdFs.js";
|
|
7
|
+
import { S as qr, a as Kr, C as Yr } from "./CardContent-JGV7AYRJ.js";
|
|
8
|
+
import { o as an, u as ro, c as qt } from "./createSvgIcon-DsrdSWLs.js";
|
|
9
|
+
import { A as Xr } from "./Alert-DyM0oQgv.js";
|
|
10
|
+
import { S as He } from "./Stack-DZB2vzbp.js";
|
|
11
|
+
import { a as Zr, u as Fo, C as Qr, g as Tt, V as Bn, c as Kt } from "./createLucideIcon-89uTOJaq.js";
|
|
12
|
+
import { A as Nn } from "./default-quiz-bg-CbX4gLOf.js";
|
|
13
13
|
function To({
|
|
14
14
|
controlled: e,
|
|
15
15
|
default: t,
|
|
@@ -46,19 +46,19 @@ function na(e) {
|
|
|
46
46
|
externalSlotProps: n,
|
|
47
47
|
ownerState: r,
|
|
48
48
|
skipResolvingSlotProps: i = !1
|
|
49
|
-
} = e, l = he(e, oa), a = i ? {} :
|
|
49
|
+
} = e, l = he(e, oa), a = i ? {} : kr(n, r), {
|
|
50
50
|
props: c,
|
|
51
51
|
internalRef: f
|
|
52
|
-
} =
|
|
52
|
+
} = wr(p({}, l, {
|
|
53
53
|
externalSlotProps: a
|
|
54
54
|
})), u = rt(f, a == null ? void 0 : a.ref, (t = e.additionalProps) == null ? void 0 : t.ref);
|
|
55
|
-
return
|
|
55
|
+
return Tr(o, p({}, c, {
|
|
56
56
|
ref: u
|
|
57
57
|
}), r);
|
|
58
58
|
}
|
|
59
59
|
const Hn = () => {
|
|
60
|
-
const e =
|
|
61
|
-
return e[
|
|
60
|
+
const e = xr(yr);
|
|
61
|
+
return e[Cr] || e;
|
|
62
62
|
};
|
|
63
63
|
function ln(e, t, o = (n, r) => n === r) {
|
|
64
64
|
return e.length === t.length && e.every((n, r) => o(n, t[r]));
|
|
@@ -80,7 +80,7 @@ function sa(e, t) {
|
|
|
80
80
|
return `${Fn}-${e}-${t}`;
|
|
81
81
|
}
|
|
82
82
|
function ca(e, t) {
|
|
83
|
-
const o =
|
|
83
|
+
const o = Ir[t];
|
|
84
84
|
return o ? la(o) : sa(e, t);
|
|
85
85
|
}
|
|
86
86
|
function da(e, t) {
|
|
@@ -191,7 +191,7 @@ function ma(e = {}) {
|
|
|
191
191
|
}, F = (W) => ($, ...w) => {
|
|
192
192
|
var M, _;
|
|
193
193
|
if (!S && ($.target || R.current) == null)
|
|
194
|
-
throw new Error(
|
|
194
|
+
throw new Error(Sr(17));
|
|
195
195
|
u == null || (M = u.onChange) == null || M.call(u, $), (_ = W.onChange) == null || _.call(W, $, ...w);
|
|
196
196
|
}, k = (W) => ($) => {
|
|
197
197
|
var w;
|
|
@@ -1706,7 +1706,7 @@ function Eo(e) {
|
|
|
1706
1706
|
function Xi(e) {
|
|
1707
1707
|
return e.nodeType !== void 0;
|
|
1708
1708
|
}
|
|
1709
|
-
const Zi = () =>
|
|
1709
|
+
const Zi = () => we({
|
|
1710
1710
|
root: ["root"]
|
|
1711
1711
|
}, ia(Ji)), Qi = {}, el = /* @__PURE__ */ d.forwardRef(function(t, o) {
|
|
1712
1712
|
var n;
|
|
@@ -2440,7 +2440,7 @@ function dl(e) {
|
|
|
2440
2440
|
te,
|
|
2441
2441
|
k
|
|
2442
2442
|
]), kt = ro((y) => {
|
|
2443
|
-
|
|
2443
|
+
Ar(Y, y), y && Qe();
|
|
2444
2444
|
});
|
|
2445
2445
|
d.useEffect(() => {
|
|
2446
2446
|
Qe();
|
|
@@ -2723,7 +2723,7 @@ function dl(e) {
|
|
|
2723
2723
|
function ul(e) {
|
|
2724
2724
|
return Be("MuiListItem", e);
|
|
2725
2725
|
}
|
|
2726
|
-
const mo =
|
|
2726
|
+
const mo = ke("MuiListItem", ["root", "startAction", "endAction", "nested", "nesting", "sticky", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantSoft", "variantOutlined", "variantSolid"]), vo = /* @__PURE__ */ d.createContext(!1), Yo = /* @__PURE__ */ d.createContext(!1), er = /* @__PURE__ */ d.createContext(!1), tr = /* @__PURE__ */ d.createContext(void 0), or = /* @__PURE__ */ d.createContext(void 0), Xo = /* @__PURE__ */ d.createContext(void 0), pl = ["component", "className", "children", "nested", "sticky", "variant", "color", "startAction", "endAction", "role", "slots", "slotProps"], fl = (e) => {
|
|
2727
2727
|
const {
|
|
2728
2728
|
sticky: t,
|
|
2729
2729
|
nested: o,
|
|
@@ -2735,7 +2735,7 @@ const mo = we("MuiListItem", ["root", "startAction", "endAction", "nested", "nes
|
|
|
2735
2735
|
startAction: ["startAction"],
|
|
2736
2736
|
endAction: ["endAction"]
|
|
2737
2737
|
};
|
|
2738
|
-
return
|
|
2738
|
+
return we(l, ul, {});
|
|
2739
2739
|
}, hl = U("li")(({
|
|
2740
2740
|
theme: e,
|
|
2741
2741
|
ownerState: t
|
|
@@ -2957,7 +2957,7 @@ function Zo(e) {
|
|
|
2957
2957
|
function bl(e) {
|
|
2958
2958
|
return Be("MuiList", e);
|
|
2959
2959
|
}
|
|
2960
|
-
const xl =
|
|
2960
|
+
const xl = ke("MuiList", ["root", "nesting", "scoped", "sizeSm", "sizeMd", "sizeLg", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid", "horizontal", "vertical"]), yl = /* @__PURE__ */ d.createContext(void 0), Cl = ["component", "className", "children", "size", "orientation", "wrap", "variant", "color", "role", "slots", "slotProps"], Il = (e) => {
|
|
2961
2961
|
const {
|
|
2962
2962
|
variant: t,
|
|
2963
2963
|
color: o,
|
|
@@ -2968,7 +2968,7 @@ const xl = we("MuiList", ["root", "nesting", "scoped", "sizeSm", "sizeMd", "size
|
|
|
2968
2968
|
} = e, a = {
|
|
2969
2969
|
root: ["root", i, t && `variant${pe(t)}`, o && `color${pe(o)}`, !l && !r && n && `size${pe(n)}`, l && `size${pe(l)}`, r && "nesting"]
|
|
2970
2970
|
};
|
|
2971
|
-
return
|
|
2971
|
+
return we(a, bl, {});
|
|
2972
2972
|
}, Qo = U("ul")(({
|
|
2973
2973
|
theme: e,
|
|
2974
2974
|
ownerState: t
|
|
@@ -2978,7 +2978,7 @@ const xl = we("MuiList", ["root", "nesting", "scoped", "sizeSm", "sizeMd", "size
|
|
|
2978
2978
|
p: n,
|
|
2979
2979
|
padding: r,
|
|
2980
2980
|
borderRadius: i
|
|
2981
|
-
} =
|
|
2981
|
+
} = zn({
|
|
2982
2982
|
theme: e,
|
|
2983
2983
|
ownerState: t
|
|
2984
2984
|
}, ["p", "padding", "borderRadius"]);
|
|
@@ -3139,7 +3139,7 @@ const xl = we("MuiList", ["root", "nesting", "scoped", "sizeSm", "sizeMd", "size
|
|
|
3139
3139
|
})
|
|
3140
3140
|
})
|
|
3141
3141
|
}));
|
|
3142
|
-
}), co =
|
|
3142
|
+
}), co = ke("MuiListItemButton", ["root", "horizontal", "vertical", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "focusVisible", "disabled", "selected", "variantPlain", "variantSoft", "variantOutlined", "variantSolid"]), Pl = /* @__PURE__ */ d.createContext("horizontal"), en = U("div")(({
|
|
3143
3143
|
theme: e,
|
|
3144
3144
|
ownerState: t
|
|
3145
3145
|
}) => {
|
|
@@ -3235,7 +3235,7 @@ const ar = xo(/* @__PURE__ */ s.jsx("path", {
|
|
|
3235
3235
|
function Dl(e) {
|
|
3236
3236
|
return Be("MuiChipDelete", e);
|
|
3237
3237
|
}
|
|
3238
|
-
|
|
3238
|
+
ke("MuiChipDelete", ["root", "disabled", "focusVisible", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantSolid", "variantSoft", "variantOutlined"]);
|
|
3239
3239
|
var Cn;
|
|
3240
3240
|
const Ol = ["children", "variant", "color", "disabled", "onKeyDown", "onDelete", "onClick", "component", "slots", "slotProps"], kl = ["onDelete"], wl = (e) => {
|
|
3241
3241
|
const {
|
|
@@ -3246,7 +3246,7 @@ const Ol = ["children", "variant", "color", "disabled", "onKeyDown", "onDelete",
|
|
|
3246
3246
|
} = e, i = {
|
|
3247
3247
|
root: ["root", r && "disabled", t && "focusVisible", o && `variant${pe(o)}`, n && `color${pe(n)}`]
|
|
3248
3248
|
};
|
|
3249
|
-
return
|
|
3249
|
+
return we(i, Dl, {});
|
|
3250
3250
|
}, Tl = U(bo, {
|
|
3251
3251
|
name: "JoyChipDelete",
|
|
3252
3252
|
slot: "Root",
|
|
@@ -3327,7 +3327,7 @@ const Ol = ["children", "variant", "color", "disabled", "onKeyDown", "onDelete",
|
|
|
3327
3327
|
function $l(e) {
|
|
3328
3328
|
return Be("MuiInput", e);
|
|
3329
3329
|
}
|
|
3330
|
-
const ir =
|
|
3330
|
+
const ir = ke("MuiInput", ["root", "input", "formControl", "focused", "disabled", "error", "adornedStart", "adornedEnd", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "sizeSm", "sizeMd", "sizeLg", "variantPlain", "variantOutlined", "variantSoft", "variantSolid", "fullWidth", "startDecorator", "endDecorator"]), Qt = /* @__PURE__ */ d.createContext(void 0), zl = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "defaultValue", "disabled", "disabledInProp", "error", "id", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "type", "value"];
|
|
3331
3331
|
function jl(e, t) {
|
|
3332
3332
|
var o;
|
|
3333
3333
|
const n = d.useContext(Qt), {
|
|
@@ -3418,7 +3418,7 @@ const Ml = ["propsToForward", "rootStateClasses", "inputStateClasses", "getRootP
|
|
|
3418
3418
|
startDecorator: ["startDecorator"],
|
|
3419
3419
|
endDecorator: ["endDecorator"]
|
|
3420
3420
|
};
|
|
3421
|
-
return
|
|
3421
|
+
return we(l, $l, {});
|
|
3422
3422
|
}, lr = U("div")(({
|
|
3423
3423
|
theme: e,
|
|
3424
3424
|
ownerState: t
|
|
@@ -3434,7 +3434,7 @@ const Ml = ["propsToForward", "rootStateClasses", "inputStateClasses", "getRootP
|
|
|
3434
3434
|
"--Input-focused": "0",
|
|
3435
3435
|
"--Input-focusedThickness": e.vars.focus.thickness,
|
|
3436
3436
|
"--Input-focusedHighlight": (n = e.vars.palette[t.color === "neutral" ? "primary" : t.color]) == null ? void 0 : n[500],
|
|
3437
|
-
[`&:not([${
|
|
3437
|
+
[`&:not([${jn}])`]: p({}, t.instanceColor && {
|
|
3438
3438
|
"--_Input-focusedHighlight": (r = e.vars.palette[t.instanceColor === "neutral" ? "primary" : t.instanceColor]) == null ? void 0 : r[500]
|
|
3439
3439
|
}, {
|
|
3440
3440
|
"--Input-focusedHighlight": `var(--_Input-focusedHighlight, ${e.vars.palette.focusVisible})`
|
|
@@ -3679,7 +3679,7 @@ const Ml = ["propsToForward", "rootStateClasses", "inputStateClasses", "getRootP
|
|
|
3679
3679
|
function _l(e) {
|
|
3680
3680
|
return Be("MuiListSubheader", e);
|
|
3681
3681
|
}
|
|
3682
|
-
|
|
3682
|
+
ke("MuiListSubheader", ["root", "sticky", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantSoft", "variantOutlined", "variantSolid"]);
|
|
3683
3683
|
const Vl = ["component", "className", "children", "id", "sticky", "variant", "color", "slots", "slotProps"], Wl = (e) => {
|
|
3684
3684
|
const {
|
|
3685
3685
|
variant: t,
|
|
@@ -3688,7 +3688,7 @@ const Vl = ["component", "className", "children", "id", "sticky", "variant", "co
|
|
|
3688
3688
|
} = e, r = {
|
|
3689
3689
|
root: ["root", n && "sticky", o && `color${pe(o)}`, t && `variant${pe(t)}`]
|
|
3690
3690
|
};
|
|
3691
|
-
return
|
|
3691
|
+
return we(r, _l, {});
|
|
3692
3692
|
}, Gl = U("div", {
|
|
3693
3693
|
name: "JoyListSubheader",
|
|
3694
3694
|
slot: "Root",
|
|
@@ -3720,7 +3720,7 @@ const Vl = ["component", "className", "children", "id", "sticky", "variant", "co
|
|
|
3720
3720
|
}, {
|
|
3721
3721
|
color: t.color ? `var(--_Link-color, rgba(${(o = e.vars.palette[t.color]) == null ? void 0 : o.mainChannel} / 1))` : e.vars.palette.text.tertiary
|
|
3722
3722
|
}, t.instanceColor && {
|
|
3723
|
-
[`&:not([${
|
|
3723
|
+
[`&:not([${jn}])`]: {
|
|
3724
3724
|
"--_Link-color": e.vars.palette.text.secondary
|
|
3725
3725
|
}
|
|
3726
3726
|
}, (n = e.variants[t.variant]) == null ? void 0 : n[t.color]);
|
|
@@ -3771,7 +3771,7 @@ const Vl = ["component", "className", "children", "id", "sticky", "variant", "co
|
|
|
3771
3771
|
function Jl(e) {
|
|
3772
3772
|
return Be("MuiAutocomplete", e);
|
|
3773
3773
|
}
|
|
3774
|
-
const bt =
|
|
3774
|
+
const bt = ke("MuiAutocomplete", ["root", "wrapper", "input", "startDecorator", "endDecorator", "formControl", "focused", "disabled", "error", "multiple", "limitTag", "hasPopupIcon", "hasClearIcon", "clearIndicator", "popupIndicator", "popupIndicatorOpen", "listbox", "option", "loading", "noOptions", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "sizeSm", "sizeMd", "sizeLg", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]), ur = U(Qo)(({
|
|
3775
3775
|
theme: e,
|
|
3776
3776
|
ownerState: t
|
|
3777
3777
|
}) => {
|
|
@@ -3814,7 +3814,7 @@ U(ur, {
|
|
|
3814
3814
|
function ql(e) {
|
|
3815
3815
|
return Be("MuiAutocompleteOption", e);
|
|
3816
3816
|
}
|
|
3817
|
-
|
|
3817
|
+
ke("MuiAutocompleteOption", ["root", "focused", "focusVisible", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantSoft", "variantOutlined", "variantSolid"]);
|
|
3818
3818
|
const Kl = ["children", "component", "color", "variant", "className", "slots", "slotProps"], Yl = (e) => {
|
|
3819
3819
|
const {
|
|
3820
3820
|
color: t,
|
|
@@ -3822,7 +3822,7 @@ const Kl = ["children", "component", "color", "variant", "className", "slots", "
|
|
|
3822
3822
|
} = e, n = {
|
|
3823
3823
|
root: ["root", t && `color${pe(t)}`, o && `variant${pe(o)}`]
|
|
3824
3824
|
};
|
|
3825
|
-
return
|
|
3825
|
+
return we(n, ql, {});
|
|
3826
3826
|
}, pr = U(en)(({
|
|
3827
3827
|
theme: e,
|
|
3828
3828
|
ownerState: t
|
|
@@ -3913,7 +3913,7 @@ const Ql = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete",
|
|
|
3913
3913
|
noOptions: ["noOptions"],
|
|
3914
3914
|
limitTag: ["limitTag"]
|
|
3915
3915
|
};
|
|
3916
|
-
return
|
|
3916
|
+
return we(u, Jl, {});
|
|
3917
3917
|
}, cs = U(lr, {
|
|
3918
3918
|
name: "JoyAutocomplete",
|
|
3919
3919
|
slot: "Root",
|
|
@@ -4412,8 +4412,8 @@ const Ql = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete",
|
|
|
4412
4412
|
function Is(e) {
|
|
4413
4413
|
return Be("MuiDialogActions", e);
|
|
4414
4414
|
}
|
|
4415
|
-
|
|
4416
|
-
const Ss = ["component", "children", "buttonFlex", "orientation", "slots", "slotProps"], Ps = () =>
|
|
4415
|
+
ke("MuiDialogActions", ["root"]);
|
|
4416
|
+
const Ss = ["component", "children", "buttonFlex", "orientation", "slots", "slotProps"], Ps = () => we({
|
|
4417
4417
|
root: ["root"]
|
|
4418
4418
|
}, Is, {}), Ls = U(Ur, {
|
|
4419
4419
|
name: "JoyDialogActions",
|
|
@@ -4452,11 +4452,11 @@ const Ss = ["component", "children", "buttonFlex", "orientation", "slots", "slot
|
|
|
4452
4452
|
function Ds(e) {
|
|
4453
4453
|
return Be("MuiDialogContent", e);
|
|
4454
4454
|
}
|
|
4455
|
-
|
|
4455
|
+
ke("MuiDialogContent", ["root"]);
|
|
4456
4456
|
function Os(e) {
|
|
4457
4457
|
return Be("MuiDialogTitle", e);
|
|
4458
4458
|
}
|
|
4459
|
-
const ks =
|
|
4459
|
+
const ks = ke("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"]), ws = ["component", "children", "orientation", "slots", "slotProps"], Ts = () => we({
|
|
4460
4460
|
root: ["root"]
|
|
4461
4461
|
}, Ds, {}), As = U(qr, {
|
|
4462
4462
|
name: "JoyDialogContent",
|
|
@@ -4509,7 +4509,7 @@ const ks = we("MuiDialogTitle", ["root", "h1", "h2", "h3", "h4", "title-lg", "ti
|
|
|
4509
4509
|
} = e, r = {
|
|
4510
4510
|
root: ["root", t, o && `color${pe(o)}`, n && `variant${pe(n)}`]
|
|
4511
4511
|
};
|
|
4512
|
-
return
|
|
4512
|
+
return we(r, Os, {});
|
|
4513
4513
|
}, Ms = U("h2", {
|
|
4514
4514
|
name: "JoyDialogTitle",
|
|
4515
4515
|
slot: "Root",
|
|
@@ -4584,7 +4584,7 @@ const ks = we("MuiDialogTitle", ["root", "h1", "h2", "h3", "h4", "title-lg", "ti
|
|
|
4584
4584
|
} = e, n = {
|
|
4585
4585
|
root: ["root", t, o && `inset${pe(o)}`]
|
|
4586
4586
|
};
|
|
4587
|
-
return
|
|
4587
|
+
return we(n, Jr, {});
|
|
4588
4588
|
}, Fs = U("hr", {
|
|
4589
4589
|
name: "JoyDivider",
|
|
4590
4590
|
slot: "Root",
|
|
@@ -4688,7 +4688,7 @@ fr.muiName = "Divider";
|
|
|
4688
4688
|
function _s(e) {
|
|
4689
4689
|
return Be("MuiFormControl", e);
|
|
4690
4690
|
}
|
|
4691
|
-
const Pn =
|
|
4691
|
+
const Pn = ke("MuiFormControl", ["root", "error", "disabled", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "sizeSm", "sizeMd", "sizeLg", "horizontal", "vertical"]), Vs = ke("MuiSwitch", ["root", "checked", "disabled", "action", "input", "thumb", "track", "focusVisible", "readOnly", "colorPrimary", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "sizeSm", "sizeMd", "sizeLg", "variantOutlined", "variantSoft", "variantSolid", "startDecorator", "endDecorator"]), Ws = ["id", "className", "component", "disabled", "required", "error", "color", "size", "orientation", "slots", "slotProps"], Gs = (e) => {
|
|
4692
4692
|
const {
|
|
4693
4693
|
disabled: t,
|
|
4694
4694
|
error: o,
|
|
@@ -4698,7 +4698,7 @@ const Pn = we("MuiFormControl", ["root", "error", "disabled", "colorPrimary", "c
|
|
|
4698
4698
|
} = e, l = {
|
|
4699
4699
|
root: ["root", i, t && "disabled", o && "error", r && `color${pe(r)}`, n && `size${pe(n)}`]
|
|
4700
4700
|
};
|
|
4701
|
-
return
|
|
4701
|
+
return we(l, _s, {});
|
|
4702
4702
|
}, Us = U("div", {
|
|
4703
4703
|
name: "JoyFormControl",
|
|
4704
4704
|
slot: "Root",
|
|
@@ -4807,8 +4807,8 @@ const Pn = we("MuiFormControl", ["root", "error", "disabled", "colorPrimary", "c
|
|
|
4807
4807
|
function Js(e) {
|
|
4808
4808
|
return Be("MuiFormLabel", e);
|
|
4809
4809
|
}
|
|
4810
|
-
|
|
4811
|
-
const qs = ["children", "component", "htmlFor", "id", "slots", "slotProps"], Ks = () =>
|
|
4810
|
+
ke("MuiFormLabel", ["root", "asterisk"]);
|
|
4811
|
+
const qs = ["children", "component", "htmlFor", "id", "slots", "slotProps"], Ks = () => we({
|
|
4812
4812
|
root: ["root"],
|
|
4813
4813
|
asterisk: ["asterisk"]
|
|
4814
4814
|
}, Js, {}), Ys = U("label", {
|
|
@@ -4885,8 +4885,8 @@ const qs = ["children", "component", "htmlFor", "id", "slots", "slotProps"], Ks
|
|
|
4885
4885
|
function Zs(e) {
|
|
4886
4886
|
return Be("MuiListItemContent", e);
|
|
4887
4887
|
}
|
|
4888
|
-
|
|
4889
|
-
const Qs = ["component", "className", "children", "slots", "slotProps"], ec = () =>
|
|
4888
|
+
ke("MuiListItemContent", ["root"]);
|
|
4889
|
+
const Qs = ["component", "className", "children", "slots", "slotProps"], ec = () => we({
|
|
4890
4890
|
root: ["root"]
|
|
4891
4891
|
}, Zs, {}), tc = U("div", {
|
|
4892
4892
|
name: "JoyListItemContent",
|
|
@@ -4923,8 +4923,8 @@ const Qs = ["component", "className", "children", "slots", "slotProps"], ec = ()
|
|
|
4923
4923
|
function oc(e) {
|
|
4924
4924
|
return Be("MuiListItemDecorator", e);
|
|
4925
4925
|
}
|
|
4926
|
-
|
|
4927
|
-
const nc = ["component", "className", "children", "slots", "slotProps"], rc = () =>
|
|
4926
|
+
ke("MuiListItemDecorator", ["root"]);
|
|
4927
|
+
const nc = ["component", "className", "children", "slots", "slotProps"], rc = () => we({
|
|
4928
4928
|
root: ["root"]
|
|
4929
4929
|
}, oc, {}), ac = U("span", {
|
|
4930
4930
|
name: "JoyListItemDecorator",
|
|
@@ -4973,7 +4973,7 @@ const nc = ["component", "className", "children", "slots", "slotProps"], rc = ()
|
|
|
4973
4973
|
function lc(e) {
|
|
4974
4974
|
return Be("MuiModalClose", e);
|
|
4975
4975
|
}
|
|
4976
|
-
|
|
4976
|
+
ke("MuiModalClose", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid", "sizeSm", "sizeMd", "sizeLg"]);
|
|
4977
4977
|
var Ln;
|
|
4978
4978
|
const sc = ["component", "color", "variant", "size", "onClick", "slots", "slotProps"], cc = (e) => {
|
|
4979
4979
|
const {
|
|
@@ -4985,7 +4985,7 @@ const sc = ["component", "color", "variant", "size", "onClick", "slots", "slotPr
|
|
|
4985
4985
|
} = e, l = {
|
|
4986
4986
|
root: ["root", n && "disabled", r && "focusVisible", t && `variant${pe(t)}`, o && `color${pe(o)}`, i && `size${pe(i)}`]
|
|
4987
4987
|
};
|
|
4988
|
-
return
|
|
4988
|
+
return we(l, lc, {});
|
|
4989
4989
|
}, dc = U(bo, {
|
|
4990
4990
|
name: "JoyModalClose",
|
|
4991
4991
|
slot: "Root",
|
|
@@ -5063,13 +5063,13 @@ const sc = ["component", "color", "variant", "size", "onClick", "slots", "slotPr
|
|
|
5063
5063
|
function fc(e) {
|
|
5064
5064
|
return Be("MuiOption", e);
|
|
5065
5065
|
}
|
|
5066
|
-
const hc =
|
|
5066
|
+
const hc = ke("MuiOption", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "focusVisible", "disabled", "selected", "highlighted", "variantPlain", "variantSoft", "variantOutlined", "variantSolid"]), mc = ["component", "children", "disabled", "value", "label", "variant", "color", "slots", "slotProps"], vc = (e) => {
|
|
5067
5067
|
const {
|
|
5068
5068
|
disabled: t,
|
|
5069
5069
|
highlighted: o,
|
|
5070
5070
|
selected: n
|
|
5071
5071
|
} = e;
|
|
5072
|
-
return
|
|
5072
|
+
return we({
|
|
5073
5073
|
root: ["root", t && "disabled", o && "highlighted", n && "selected"]
|
|
5074
5074
|
}, fc, {});
|
|
5075
5075
|
}, gc = U(en, {
|
|
@@ -5155,7 +5155,7 @@ const hc = we("MuiOption", ["root", "colorPrimary", "colorNeutral", "colorDanger
|
|
|
5155
5155
|
function yc(e) {
|
|
5156
5156
|
return Be("MuiSelect", e);
|
|
5157
5157
|
}
|
|
5158
|
-
const At =
|
|
5158
|
+
const At = ke("MuiSelect", ["root", "button", "indicator", "startDecorator", "endDecorator", "popper", "listbox", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid", "sizeSm", "sizeMd", "sizeLg", "focusVisible", "disabled", "expanded", "multiple"]);
|
|
5159
5159
|
var Dn;
|
|
5160
5160
|
const Cc = ["action", "autoFocus", "children", "defaultValue", "defaultListboxOpen", "disabled", "getSerializedValue", "placeholder", "listboxId", "listboxOpen", "onChange", "onListboxOpenChange", "onClose", "renderValue", "required", "value", "size", "variant", "color", "startDecorator", "endDecorator", "indicator", "aria-describedby", "aria-label", "aria-labelledby", "id", "name", "multiple", "slots", "slotProps"];
|
|
5161
5161
|
function Ic(e) {
|
|
@@ -5197,7 +5197,7 @@ const Sc = [{
|
|
|
5197
5197
|
indicator: ["indicator", l && "expanded"],
|
|
5198
5198
|
listbox: ["listbox", l && "expanded", o && "disabled"]
|
|
5199
5199
|
};
|
|
5200
|
-
return
|
|
5200
|
+
return we(c, yc, {});
|
|
5201
5201
|
}, Lc = U("div", {
|
|
5202
5202
|
name: "JoySelect",
|
|
5203
5203
|
slot: "Root",
|
|
@@ -5209,7 +5209,7 @@ const Sc = [{
|
|
|
5209
5209
|
var o, n, r, i, l;
|
|
5210
5210
|
const a = (o = e.variants[`${t.variant}`]) == null ? void 0 : o[t.color], {
|
|
5211
5211
|
borderRadius: c
|
|
5212
|
-
} =
|
|
5212
|
+
} = zn({
|
|
5213
5213
|
theme: e,
|
|
5214
5214
|
ownerState: t
|
|
5215
5215
|
}, ["borderRadius"]);
|
|
@@ -5717,7 +5717,7 @@ const Bc = [
|
|
|
5717
5717
|
opacity: 0.9
|
|
5718
5718
|
}
|
|
5719
5719
|
}, Fc = ce("prize.title"), _c = ce("prize.description"), Vc = ce("prize.cta"), Wc = ce("prize.termsAndConditions"), Gc = ce("common.close"), Uc = ({ title: e = Fc, description: t = _c, cta: o = Vc, rules: n = "" }) => {
|
|
5720
|
-
const [r, i] = d.useState(!1), l = Hn(), a =
|
|
5720
|
+
const [r, i] = d.useState(!1), l = Hn(), a = Or(l.breakpoints.down("sm"));
|
|
5721
5721
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
5722
5722
|
/* @__PURE__ */ s.jsxs(Lt, { variant: "soft", color: "success", sx: Ft.mainCard, children: [
|
|
5723
5723
|
/* @__PURE__ */ s.jsx(Le, { style: Ft.mainCardOverlay }),
|
|
@@ -6591,7 +6591,7 @@ const Zc = qt(/* @__PURE__ */ s.jsx("path", {
|
|
|
6591
6591
|
l(!1);
|
|
6592
6592
|
}
|
|
6593
6593
|
})();
|
|
6594
|
-
}, [e, t, o]), i ? /* @__PURE__ */ s.jsx(Le, { display: "flex", justifyContent: "center", alignItems: "center", minHeight: "200px", children: /* @__PURE__ */ s.jsx(
|
|
6594
|
+
}, [e, t, o]), i ? /* @__PURE__ */ s.jsx(Le, { display: "flex", justifyContent: "center", alignItems: "center", minHeight: "200px", children: /* @__PURE__ */ s.jsx(Mn, { size: "lg" }) }) : !t || !e ? null : /* @__PURE__ */ s.jsx(Le, { sx: { maxWidth: 1200, margin: "0 auto" }, children: /* @__PURE__ */ s.jsxs(Le, { sx: Je.wrapper, children: [
|
|
6595
6595
|
/* @__PURE__ */ s.jsxs(Lt, { variant: "soft", sx: Je.mainCard, children: [
|
|
6596
6596
|
/* @__PURE__ */ s.jsx(Le, { sx: Je.fieldPattern }),
|
|
6597
6597
|
/* @__PURE__ */ s.jsxs(He, { spacing: 4, sx: Je.mainContent, children: [
|
|
@@ -6641,7 +6641,7 @@ const Zc = qt(/* @__PURE__ */ s.jsx("path", {
|
|
|
6641
6641
|
const [i, l] = d.useState(pt.LOADING), [a, c] = d.useState(null), [f, u] = d.useState(null), [h, v] = d.useState(null), [m, x] = d.useState(10), [g, C] = d.useState(null), [P, L] = d.useState({
|
|
6642
6642
|
isCorrect: null,
|
|
6643
6643
|
selectedOption: null
|
|
6644
|
-
}), [S, I] = d.useState(!1), [R, D] = d.useState(!1), { position: O, fields: A, campaignId: j, campaignName: B } =
|
|
6644
|
+
}), [S, I] = d.useState(!1), [R, D] = d.useState(!1), { position: O, fields: A, campaignId: j, campaignName: B } = Pr(), { isAuthenticated: F } = Lr();
|
|
6645
6645
|
d.useEffect(() => {
|
|
6646
6646
|
(() => {
|
|
6647
6647
|
try {
|
|
@@ -6701,7 +6701,7 @@ const Zc = qt(/* @__PURE__ */ s.jsx("path", {
|
|
|
6701
6701
|
var w, M, _, le, re, fe, ee, J, q, ge, N, z, Y, oe;
|
|
6702
6702
|
switch (i) {
|
|
6703
6703
|
case pt.LOADING:
|
|
6704
|
-
return /* @__PURE__ */ s.jsx(Le, { display: "flex", justifyContent: "center", alignItems: "center", minHeight: 400, children: /* @__PURE__ */ s.jsx(
|
|
6704
|
+
return /* @__PURE__ */ s.jsx(Le, { display: "flex", justifyContent: "center", alignItems: "center", minHeight: 400, children: /* @__PURE__ */ s.jsx(Mn, {}) });
|
|
6705
6705
|
case pt.TUTORIAL:
|
|
6706
6706
|
return !S && (a == null ? void 0 : a.authRequirement) === "LEAD" && O === "before" ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
6707
6707
|
((w = a == null ? void 0 : a.images) == null ? void 0 : w.main) && /* @__PURE__ */ s.jsx(Nn, { ratio: 16 / 9, children: /* @__PURE__ */ s.jsx(Lt, { sx: { borderColor: "divider", "&:hover": { borderColor: "divider" } }, children: /* @__PURE__ */ s.jsx($o, { children: /* @__PURE__ */ s.jsx(
|
|
@@ -6795,7 +6795,7 @@ const Zc = qt(/* @__PURE__ */ s.jsx("path", {
|
|
|
6795
6795
|
}
|
|
6796
6796
|
);
|
|
6797
6797
|
}, ad = ({ initialGameId: e }) => {
|
|
6798
|
-
const t = $n(), { defaultImagePlaceholderUrl: o } =
|
|
6798
|
+
const t = $n(), { defaultImagePlaceholderUrl: o } = Rr(), n = Dr();
|
|
6799
6799
|
return /* @__PURE__ */ s.jsx(
|
|
6800
6800
|
rd,
|
|
6801
6801
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as i, j as e,
|
|
2
|
-
import { G as a, T as
|
|
3
|
-
import {
|
|
1
|
+
import { r as i, j as e, a as h } from "./main-Cx-uBTln.js";
|
|
2
|
+
import { G as a, T as m } from "./Tutorial-BI9zKJw5.js";
|
|
3
|
+
import { b as x, T as f, B as p, C as T } from "./resolveProps-DfBmYyXU.js";
|
|
4
4
|
const j = ({ gameId: s, sdk: n, url: o }) => {
|
|
5
5
|
const [c, l] = i.useState(a.LOADING), [t, u] = i.useState(null);
|
|
6
6
|
i.useEffect(() => {
|
|
@@ -19,10 +19,10 @@ const j = ({ gameId: s, sdk: n, url: o }) => {
|
|
|
19
19
|
const d = () => {
|
|
20
20
|
switch (c) {
|
|
21
21
|
case a.LOADING:
|
|
22
|
-
return /* @__PURE__ */ e.jsx(
|
|
22
|
+
return /* @__PURE__ */ e.jsx(p, { display: "flex", justifyContent: "center", alignItems: "center", minHeight: 400, children: /* @__PURE__ */ e.jsx(T, {}) });
|
|
23
23
|
case a.TUTORIAL:
|
|
24
24
|
return /* @__PURE__ */ e.jsx(
|
|
25
|
-
|
|
25
|
+
m,
|
|
26
26
|
{
|
|
27
27
|
onStart: () => {
|
|
28
28
|
location.href = o;
|
|
@@ -33,14 +33,14 @@ const j = ({ gameId: s, sdk: n, url: o }) => {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
if (c !== null)
|
|
36
|
-
return /* @__PURE__ */ e.jsxs(
|
|
37
|
-
(t == null ? void 0 : t.title) && /* @__PURE__ */ e.jsx(
|
|
36
|
+
return /* @__PURE__ */ e.jsxs(x, { variant: "outlined", sx: { borderColor: "divider", "&:hover": { borderColor: "divider" } }, children: [
|
|
37
|
+
(t == null ? void 0 : t.title) && /* @__PURE__ */ e.jsx(f, { level: "h3", textAlign: "center", sx: { mb: 2 }, children: t.title }),
|
|
38
38
|
d()
|
|
39
39
|
] });
|
|
40
|
-
},
|
|
41
|
-
const o =
|
|
40
|
+
}, A = ({ initialGameId: s, url: n }) => {
|
|
41
|
+
const o = h();
|
|
42
42
|
return /* @__PURE__ */ e.jsx(j, { gameId: s, sdk: o.miniGames, url: n });
|
|
43
43
|
};
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
A as default
|
|
46
46
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as P,
|
|
2
|
-
import { r as v, j as y } from "./main-
|
|
3
|
-
import { B as ke, k as Se } from "./index-
|
|
1
|
+
import { f as P, u as F, v as H, P as p, K as z, Z as Y, ad as S, a1 as N, aJ as ge, ag as J, aK as U, a3 as fe, aL as _, U as w, aE as ye, aw as ee, aM as re, aN as te, aO as oe, aP as K, a2 as Ce, ap as M, a4 as T, aQ as V, aR as xe } from "./Portal-Cvhw2F3y-CfNE9zHV.js";
|
|
2
|
+
import { r as v, j as y } from "./main-Cx-uBTln.js";
|
|
3
|
+
import { B as ke, k as Se } from "./index-CsLtqiB_-DH3NMQxW.js";
|
|
4
4
|
function Q(r) {
|
|
5
5
|
return r.substring(2).toLowerCase();
|
|
6
6
|
}
|