fansunited-frontend-components 0.0.47 → 0.0.49
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/ChanceGame.js +81 -81
- package/ClassicQuizPlay.js +1437 -1477
- package/CollectLead.js +32 -32
- package/Discussion.js +1 -1
- package/EitherOrPlay.js +60 -60
- package/EventGamePlay.js +22 -22
- package/Leaderboard.js +41 -41
- package/MatchQuizPlay.js +25 -25
- package/PersonalityQuizPlay.js +1330 -45792
- package/PickThePair.js +92 -92
- package/PollVote.js +55 -55
- package/Predictor.js +10543 -10053
- package/README.md +272 -0
- package/chunks/3dicons-bookmark-fav-dynamic-color-BkMV51tL.js +4 -0
- package/chunks/3dicons-crow-dynamic-color-BnvCj9i8.js +4 -0
- package/chunks/3dicons-fire-dynamic-color-rNRL0kAe.js +4 -0
- package/chunks/3dicons-flag-dynamic-color-BscQxNXn.js +4 -0
- package/chunks/3dicons-medal-dynamic-color-CsR036OL.js +4 -0
- package/chunks/3dicons-rocket-dynamic-color-EiHCJ2rb.js +4 -0
- package/chunks/3dicons-target-dynamic-color-ChQzHpwv.js +4 -0
- package/chunks/3dicons-thumb-down-dynamic-color-NQLnsNFt.js +4 -0
- package/chunks/{AlertMessage-DEQIOPix.js → AlertMessage-Ds45MBHB.js} +16 -16
- package/chunks/{ArrowRightAlt-B2nkus4s.js → ArrowRightAlt-DKADQN2o.js} +1 -1
- package/chunks/{Avatar-C9PZ4fZC.js → Avatar-K1EWhhkA.js} +24 -24
- package/chunks/{ChanceGameEmbedVariant-Bb_hUXEk.js → ChanceGameEmbedVariant-DqFg4YKU.js} +24 -24
- package/chunks/{CheckCircle-RcO0pr0f.js → CheckCircle-CV9iMpkZ.js} +30 -30
- package/chunks/{Close-QIefKug3.js → Close-BHp4N1-6.js} +3 -3
- package/chunks/{Close-CzCzTDc8.js → Close-C6Cw96SJ.js} +1 -1
- package/chunks/{CollectLeadForm-DFIhLeYH.js → CollectLeadForm-DnLKA8qz.js} +133 -133
- package/chunks/{Divider-DPp2a61F.js → Divider-BvUimRFw.js} +10 -10
- package/chunks/{Edit-Bb8BBw7A.js → Edit-CZ3ni-Ur.js} +20 -20
- package/chunks/{EmojiEvents-BhDSwudY.js → EmojiEvents-DpmLq98V.js} +4 -4
- package/chunks/{FavoriteBorder-B73FKZ3W.js → FavoriteBorder-DUK_DrY4.js} +1 -1
- package/chunks/{FormControl-DzsevPhU.js → FormControl-BUItlVIg.js} +47 -47
- package/chunks/{FormLabel-CYBeKW8B.js → FormLabel-CeTNPUn7.js} +13 -13
- package/chunks/{Input-eeZp8VCW.js → Input-MJCQcYzo.js} +13 -13
- package/chunks/{KeyboardArrowDown-BWtUKUIp.js → KeyboardArrowDown-SZpn2GhJ.js} +5 -5
- package/chunks/{ModalDialog-BF0aFU49.js → ModalDialog-Cfgv9UAA.js} +42 -42
- package/chunks/{NotFoundSkeleton-B_cooMQ9.js → NotFoundSkeleton-Cs6DtD9u.js} +83 -83
- package/chunks/{Notification-DAj7523J.js → Notification-pcKtlRms.js} +27 -27
- package/chunks/{OverlayApiErrorSkeleton-CiVtcOmG.js → OverlayApiErrorSkeleton-Dl3s5Oaf.js} +19 -19
- package/chunks/{OverlayLeadAfterCollection-Df7xGLgO.js → OverlayLeadAfterCollection-F2TAV9wK.js} +7 -7
- package/chunks/{OverlayScoreStateSkeleton-CHzX1Gf7.js → OverlayScoreStateSkeleton-LQ0svzeX.js} +3 -3
- package/chunks/{Person-C0oARTCn.js → Person-BGdniS_p.js} +27 -27
- package/chunks/{PickOneOfX-CXiNBq-I.js → PickOneOfX-Ci4ZJf7G.js} +1 -1
- package/chunks/{Popper-D4TcZDq1.js → Popper-DOVSI4rJ.js} +28 -28
- package/chunks/{Portal-BNrzAjXr.js → Portal-Cs0dgwmH.js} +8 -8
- package/chunks/{PrizeCard-B0HczmXj.js → PrizeCard-DF3QxwQJ.js} +690 -634
- package/chunks/{Select-BpXJGPDL.js → Select-BHeTdOYr.js} +139 -139
- package/chunks/{Spinner-VF7pS8cz.js → Spinner-DbUB64Gj.js} +7 -7
- package/chunks/{SplitLeadAfterCollection-BVHQGprp.js → SplitLeadAfterCollection-DSw6X5fx.js} +12 -12
- package/chunks/{Stack-DchTYx6z.js → Stack-BpHk5eb0.js} +21 -21
- package/chunks/StandardContentSkeleton-Bae1LLQ_.js +57 -0
- package/chunks/{Tabs-CDt4yvnj.js → Tabs-hwJ7jsUl.js} +62 -62
- package/chunks/{Textarea-DCPE5K26.js → Textarea-zOtMdgc5.js} +42 -42
- package/chunks/{TimerOutlined-azUFE6Ed.js → TimerOutlined-DWE7f0YX.js} +3 -3
- package/chunks/{helpers-CV2Mo9Pu.js → helpers-NuC1SzL3.js} +8 -8
- package/chunks/index-BaypiKlO.js +4 -0
- package/chunks/{index-B2OgR4TV.js → index-D1K1OB4p.js} +144 -130
- package/chunks/{main-BSaQcsoh.js → main-hB01WcoP.js} +89 -89
- package/chunks/{useEventCallback-BlWyXJSF.js → useEventCallback-CizlfWBo.js} +5 -5
- package/chunks/{useForwardedInput-BFETxKKi.js → useForwardedInput-RWDntqBU.js} +16 -16
- package/chunks/{useImageVariant-DalagjyR.js → useImageVariant-Cex1eIqq.js} +3 -3
- package/index.d.ts.map +1 -1
- package/index.js +17 -12
- package/package.json +1 -1
- package/chunks/index-DEdShMam.js +0 -4
package/CollectLead.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n, jsxs as g, Fragment as r } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as ce } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { P as
|
|
3
|
+
import { c as Y, i as Q, B as o, T as u, f as de, g as J, u as K, e as X, n as Z, W as w, b as U, a as h, d as se } from "./chunks/PrizeCard-DF3QxwQJ.js";
|
|
4
|
+
import { P as me } from "./chunks/Portal-Cs0dgwmH.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { g as ge, a as xe, h as oe } from "./chunks/helpers-
|
|
7
|
-
import { d as le, a as ae,
|
|
8
|
-
import { C as fe } from "./chunks/CollectLeadForm-
|
|
6
|
+
import { g as ge, a as xe, h as oe } from "./chunks/helpers-NuC1SzL3.js";
|
|
7
|
+
import { d as le, a as ae, b as ee } from "./chunks/useImageVariant-Cex1eIqq.js";
|
|
8
|
+
import { C as fe } from "./chunks/CollectLeadForm-DnLKA8qz.js";
|
|
9
9
|
const te = (e) => {
|
|
10
|
-
const i = Y().secondary,
|
|
10
|
+
const i = Y().secondary, s = Q(), a = ge(e.primaryUrl, e.secondaryUrl, "logo");
|
|
11
11
|
if (!e.brandingLogo)
|
|
12
12
|
return null;
|
|
13
13
|
const d = () => {
|
|
@@ -47,7 +47,7 @@ const te = (e) => {
|
|
|
47
47
|
children: t
|
|
48
48
|
}
|
|
49
49
|
) : t;
|
|
50
|
-
return
|
|
50
|
+
return s ? /* @__PURE__ */ g(
|
|
51
51
|
o,
|
|
52
52
|
{
|
|
53
53
|
sx: {
|
|
@@ -118,7 +118,7 @@ const te = (e) => {
|
|
|
118
118
|
}), ye = ({
|
|
119
119
|
shadowRootElement: e,
|
|
120
120
|
phoneCountryCode: i,
|
|
121
|
-
images:
|
|
121
|
+
images: s,
|
|
122
122
|
content: a,
|
|
123
123
|
campaign: d,
|
|
124
124
|
branding: t,
|
|
@@ -138,7 +138,7 @@ const te = (e) => {
|
|
|
138
138
|
value: {
|
|
139
139
|
shadowRootElement: e,
|
|
140
140
|
phoneCountryCode: i,
|
|
141
|
-
images:
|
|
141
|
+
images: s,
|
|
142
142
|
content: a,
|
|
143
143
|
campaign: d,
|
|
144
144
|
branding: t,
|
|
@@ -157,7 +157,7 @@ const te = (e) => {
|
|
|
157
157
|
), ne = () => {
|
|
158
158
|
const { t: e } = de(), {
|
|
159
159
|
sdk: i,
|
|
160
|
-
content:
|
|
160
|
+
content: s,
|
|
161
161
|
branding: a,
|
|
162
162
|
campaign: d,
|
|
163
163
|
labels: t,
|
|
@@ -166,7 +166,7 @@ const te = (e) => {
|
|
|
166
166
|
consents: C,
|
|
167
167
|
customFields: S,
|
|
168
168
|
syncWithProfile: p = !1
|
|
169
|
-
} =
|
|
169
|
+
} = J(_), T = {
|
|
170
170
|
title: t == null ? void 0 : t.formTitle,
|
|
171
171
|
description: t == null ? void 0 : t.formDescription,
|
|
172
172
|
fullNameLabel: t == null ? void 0 : t.formFullNameLabel,
|
|
@@ -192,7 +192,7 @@ const te = (e) => {
|
|
|
192
192
|
fe,
|
|
193
193
|
{
|
|
194
194
|
sdk: i,
|
|
195
|
-
content:
|
|
195
|
+
content: s,
|
|
196
196
|
onSuccessCta: f,
|
|
197
197
|
branding: a,
|
|
198
198
|
campaign: d,
|
|
@@ -390,8 +390,8 @@ const te = (e) => {
|
|
|
390
390
|
let i = (e == null ? void 0 : e.mainLogo) || null;
|
|
391
391
|
return Q() && (i = (e == null ? void 0 : e.mobileLogo) || (e == null ? void 0 : e.mainLogo) || null), i;
|
|
392
392
|
}, be = () => {
|
|
393
|
-
var l, $, q, P, R, I, L, D, z, H, v, B, y,
|
|
394
|
-
const e =
|
|
393
|
+
var l, $, q, P, R, I, L, D, z, H, v, B, y, m, W, A, G, E;
|
|
394
|
+
const e = J(_), i = K(), s = X(), a = Z(
|
|
395
395
|
w.OVERLAY
|
|
396
396
|
), d = Q(), t = he(
|
|
397
397
|
((l = e.branding) == null ? void 0 : l.images) || null
|
|
@@ -401,8 +401,8 @@ const te = (e) => {
|
|
|
401
401
|
imagePlaceholder: f
|
|
402
402
|
},
|
|
403
403
|
w.OVERLAY
|
|
404
|
-
), C = xe(b), S = i.colorSchemes.dark.textColor, p = i.customFontFamily.dark.primary, T = i.customFontFamily.dark.secondary, j = i.customRadius.dark.md, N = ($ = i.border) == null ? void 0 : $.dark.size, k = (P = (q = i.colorSchemes) == null ? void 0 : q.dark) == null ? void 0 : P.surfaceVariant, F = (I = (R = i.customRadius) == null ? void 0 : R.light) == null ? void 0 : I.xl, M = (H = (z = (D = (L = i.colorSchemes) == null ? void 0 : L.light) == null ? void 0 : D.palette) == null ? void 0 : z.primary) == null ? void 0 : H.plainColor, V = (
|
|
405
|
-
spacingScale:
|
|
404
|
+
), C = xe(b), S = i.colorSchemes.dark.textColor, p = i.customFontFamily.dark.primary, T = i.customFontFamily.dark.secondary, j = i.customRadius.dark.md, N = ($ = i.border) == null ? void 0 : $.dark.size, k = (P = (q = i.colorSchemes) == null ? void 0 : q.dark) == null ? void 0 : P.surfaceVariant, F = (I = (R = i.customRadius) == null ? void 0 : R.light) == null ? void 0 : I.xl, M = (H = (z = (D = (L = i.colorSchemes) == null ? void 0 : L.light) == null ? void 0 : D.palette) == null ? void 0 : z.primary) == null ? void 0 : H.plainColor, V = (m = (y = (B = (v = i.colorSchemes) == null ? void 0 : v.light) == null ? void 0 : B.palette) == null ? void 0 : y.primary) == null ? void 0 : m.onPrimary, c = ue({
|
|
405
|
+
spacingScale: s,
|
|
406
406
|
secondaryColor: S,
|
|
407
407
|
fontFamilyPrimary: p,
|
|
408
408
|
fontFamilySecondary: T,
|
|
@@ -437,7 +437,7 @@ const te = (e) => {
|
|
|
437
437
|
] })
|
|
438
438
|
] });
|
|
439
439
|
}, re = ({ children: e }) => {
|
|
440
|
-
const i = U().md,
|
|
440
|
+
const i = U().md, s = h().surface, a = h().secondaryContainer, t = se().size + " solid " + a;
|
|
441
441
|
return /* @__PURE__ */ n(
|
|
442
442
|
o,
|
|
443
443
|
{
|
|
@@ -449,7 +449,7 @@ const te = (e) => {
|
|
|
449
449
|
overflow: "hidden",
|
|
450
450
|
minHeight: "250px",
|
|
451
451
|
borderRadius: i,
|
|
452
|
-
background:
|
|
452
|
+
background: s,
|
|
453
453
|
border: t
|
|
454
454
|
},
|
|
455
455
|
children: e
|
|
@@ -766,13 +766,13 @@ const te = (e) => {
|
|
|
766
766
|
}
|
|
767
767
|
}), Se = (e) => {
|
|
768
768
|
var P, R, I, L, D, z, H, v, B;
|
|
769
|
-
const i =
|
|
769
|
+
const i = J(_), s = K(), a = e.imagePosition || "left", d = ee(
|
|
770
770
|
{
|
|
771
771
|
images: i.images || null,
|
|
772
772
|
imagePlaceholder: i.defaultImagePlaceholderUrl ? i.defaultImagePlaceholderUrl : ""
|
|
773
773
|
},
|
|
774
774
|
w.STANDARD
|
|
775
|
-
), t = Q(), f = t ? ((R = (P = i.branding) == null ? void 0 : P.images) == null ? void 0 : R.mobileLogo) || ((L = (I = i.branding) == null ? void 0 : I.images) == null ? void 0 : L.mainLogo) || "" : ((z = (D = i.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "", b = h().textColor, C = h().textSecondary, S = Y().secondary, p = "60%", T = Y().primary, j = h().surfaceVariant, N = U().md, k = U().sm, F = h().palette.primary.plainColor, M = h().palette.primary.onPrimary, V = U().xl, c =
|
|
775
|
+
), t = Q(), f = t ? ((R = (P = i.branding) == null ? void 0 : P.images) == null ? void 0 : R.mobileLogo) || ((L = (I = i.branding) == null ? void 0 : I.images) == null ? void 0 : L.mainLogo) || "" : ((z = (D = i.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "", b = h().textColor, C = h().textSecondary, S = Y().secondary, p = "60%", T = Y().primary, j = h().surfaceVariant, N = U().md, k = U().sm, F = h().palette.primary.plainColor, M = h().palette.primary.onPrimary, V = U().xl, c = X(), x = Z(
|
|
776
776
|
w.STANDARD
|
|
777
777
|
), l = Ce({
|
|
778
778
|
finalImage: d,
|
|
@@ -790,23 +790,23 @@ const te = (e) => {
|
|
|
790
790
|
buttonRadius: V,
|
|
791
791
|
opacity: p,
|
|
792
792
|
imagePosition: a,
|
|
793
|
-
darkTextColor:
|
|
793
|
+
darkTextColor: s.colorSchemes.dark.textColor,
|
|
794
794
|
imageBackgroundGradient: x
|
|
795
795
|
}), $ = (y) => {
|
|
796
|
-
var
|
|
796
|
+
var m;
|
|
797
797
|
return /* @__PURE__ */ n(
|
|
798
798
|
te,
|
|
799
799
|
{
|
|
800
800
|
brandingLogo: f,
|
|
801
801
|
textColor: y,
|
|
802
|
-
label: (
|
|
802
|
+
label: (m = i.labels) == null ? void 0 : m.presentedByLabel
|
|
803
803
|
}
|
|
804
804
|
);
|
|
805
805
|
};
|
|
806
806
|
return /* @__PURE__ */ g(re, { children: [
|
|
807
807
|
(() => {
|
|
808
|
-
var y,
|
|
809
|
-
return t ? d ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithImage, children: (y = i.labels) != null && y.title || (
|
|
808
|
+
var y, m, W, A, G, E, O, ie;
|
|
809
|
+
return t ? d ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithImage, children: (y = i.labels) != null && y.title || (m = i.labels) != null && m.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineContent, children: /* @__PURE__ */ g(o, { sx: l.contentContainer, children: [
|
|
810
810
|
(W = i.labels) != null && W.title ? /* @__PURE__ */ n(u, { sx: l.titleTypographyMobileImage, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
811
811
|
(A = i.labels) != null && A.description ? /* @__PURE__ */ n(u, { sx: l.descriptionTypographyMobileImage, children: i.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
812
812
|
] }) }) : /* @__PURE__ */ n(r, {}) }) : (G = i.labels) != null && G.title || (E = i.labels) != null && E.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithoutImage, children: /* @__PURE__ */ g(o, { sx: l.contentContainer, children: [
|
|
@@ -1161,13 +1161,13 @@ const te = (e) => {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
}), Te = () => {
|
|
1163
1163
|
var q, P, R, I, L, D, z, H, v, B;
|
|
1164
|
-
const e =
|
|
1164
|
+
const e = J(_), i = K(), s = Q(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : s ? le : ae, d = ee(
|
|
1165
1165
|
{
|
|
1166
1166
|
images: e.images || null,
|
|
1167
1167
|
imagePlaceholder: a
|
|
1168
1168
|
},
|
|
1169
1169
|
w.SPLIT
|
|
1170
|
-
), t =
|
|
1170
|
+
), t = s ? ((P = (q = e.branding) == null ? void 0 : q.images) == null ? void 0 : P.mobileLogo) || ((I = (R = e.branding) == null ? void 0 : R.images) == null ? void 0 : I.mainLogo) || "" : ((D = (L = e.branding) == null ? void 0 : L.images) == null ? void 0 : D.mainLogo) || "", f = h().textColor, b = Y().secondary, C = "60%", S = Y().primary, p = U().xl, T = h().surfaceVariant, j = (H = (z = h().palette) == null ? void 0 : z.primary) == null ? void 0 : H.plainColor, N = (B = (v = h().palette) == null ? void 0 : v.primary) == null ? void 0 : B.onPrimary, k = h().textColor, F = X(), M = U(), V = Z(
|
|
1171
1171
|
w.SPLIT
|
|
1172
1172
|
), c = oe(T || ""), x = pe({
|
|
1173
1173
|
finalImage: d,
|
|
@@ -1185,21 +1185,21 @@ const te = (e) => {
|
|
|
1185
1185
|
darkTextColor: i.colorSchemes.dark.textColor,
|
|
1186
1186
|
imageBackgroundGradient: V
|
|
1187
1187
|
}), l = (y) => {
|
|
1188
|
-
var
|
|
1188
|
+
var m;
|
|
1189
1189
|
return /* @__PURE__ */ n(
|
|
1190
1190
|
te,
|
|
1191
1191
|
{
|
|
1192
1192
|
brandingLogo: t,
|
|
1193
1193
|
textColor: y,
|
|
1194
|
-
label: (
|
|
1194
|
+
label: (m = e.labels) == null ? void 0 : m.presentedByLabel
|
|
1195
1195
|
}
|
|
1196
1196
|
);
|
|
1197
1197
|
};
|
|
1198
1198
|
return /* @__PURE__ */ g(re, { children: [
|
|
1199
1199
|
(() => {
|
|
1200
|
-
var y,
|
|
1200
|
+
var y, m, W, A;
|
|
1201
1201
|
return /* @__PURE__ */ n(o, { sx: x.headlineSection, children: /* @__PURE__ */ g(o, { sx: x.headlineContent, children: [
|
|
1202
|
-
(y = e.labels) != null && y.title || (
|
|
1202
|
+
(y = e.labels) != null && y.title || (m = e.labels) != null && m.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */ g(o, { sx: x.contentContainer, children: [
|
|
1203
1203
|
(W = e.labels) != null && W.title ? /* @__PURE__ */ n(u, { sx: x.pollTitleText, children: e.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
1204
1204
|
(A = e.labels) != null && A.description ? /* @__PURE__ */ n(u, { sx: x.pollDescriptionText, children: e.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
1205
1205
|
] }) }) : /* @__PURE__ */ n(r, {}),
|
|
@@ -1224,7 +1224,7 @@ function ke(e) {
|
|
|
1224
1224
|
const Fe = (e) => e.template === w.OVERLAY ? /* @__PURE__ */ n(be, {}) : ke(e) ? /* @__PURE__ */ n(Se, { imagePosition: e.imagePosition || "left" }) : /* @__PURE__ */ n(Te, {}), Pe = (e) => {
|
|
1225
1225
|
var i;
|
|
1226
1226
|
return /* @__PURE__ */ n(
|
|
1227
|
-
|
|
1227
|
+
me,
|
|
1228
1228
|
{
|
|
1229
1229
|
packageName: "collect-lead",
|
|
1230
1230
|
entityId: ((i = e.content) == null ? void 0 : i.id) || "",
|
package/Discussion.js
CHANGED
package/EitherOrPlay.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsx as t, jsxs as g, Fragment as De } from "react/jsx-runtime";
|
|
2
2
|
import { useState as D, useEffect as ge, useRef as qe, useCallback as Le } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { P as Vt } from "./chunks/Portal-
|
|
3
|
+
import { m as Ce, c as be, l as ze, B as r, T as x, f as se, i as xe, a as q, b as he, e as pe, j as me, Q as Ht, u as Me, d as jt, W as Se, n as St, o as Gt } from "./chunks/PrizeCard-DF3QxwQJ.js";
|
|
4
|
+
import { P as Vt } from "./chunks/Portal-Cs0dgwmH.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { S as He } from "./chunks/Spinner-
|
|
7
|
-
import { z as Nt } from "./chunks/index-
|
|
8
|
-
import { g as Yt, h as re, e as je, a as Ct } from "./chunks/helpers-
|
|
9
|
-
import { S as _t, N as qt, O as Kt } from "./chunks/NotFoundSkeleton-
|
|
10
|
-
import {
|
|
11
|
-
import { A as Ze, O as Zt } from "./chunks/ArrowRightAlt-
|
|
12
|
-
import { F as Fe, a as It } from "./chunks/FavoriteBorder-
|
|
13
|
-
import { E as Pe } from "./chunks/EmojiEvents-
|
|
14
|
-
import { C as Ne } from "./chunks/CheckCircle-
|
|
15
|
-
import { T as
|
|
16
|
-
import { S as we } from "./chunks/Stack-
|
|
17
|
-
import { A as
|
|
18
|
-
import { S as tn, T as nn, P as rn } from "./chunks/Person-
|
|
19
|
-
import { A as on } from "./chunks/Avatar-
|
|
20
|
-
import { t as vt, T as Pt, a as kt, b as Ee, c as We } from "./chunks/Tabs-
|
|
21
|
-
import { S as ln, a as an, O as sn, b as cn } from "./chunks/OverlayLeadAfterCollection-
|
|
22
|
-
import { C as dn } from "./chunks/CollectLeadForm-
|
|
6
|
+
import { S as He } from "./chunks/Spinner-DbUB64Gj.js";
|
|
7
|
+
import { z as Nt } from "./chunks/index-D1K1OB4p.js";
|
|
8
|
+
import { g as Yt, h as re, e as je, a as Ct } from "./chunks/helpers-NuC1SzL3.js";
|
|
9
|
+
import { S as _t, N as qt, O as Kt } from "./chunks/NotFoundSkeleton-Cs6DtD9u.js";
|
|
10
|
+
import { u as Xt, b as Ge, d as Ke, a as Xe } from "./chunks/useImageVariant-Cex1eIqq.js";
|
|
11
|
+
import { A as Ze, O as Zt } from "./chunks/ArrowRightAlt-DKADQN2o.js";
|
|
12
|
+
import { F as Fe, a as It } from "./chunks/FavoriteBorder-DUK_DrY4.js";
|
|
13
|
+
import { E as Pe } from "./chunks/EmojiEvents-DpmLq98V.js";
|
|
14
|
+
import { C as Ne } from "./chunks/CheckCircle-CV9iMpkZ.js";
|
|
15
|
+
import { T as Qt } from "./chunks/TimerOutlined-DWE7f0YX.js";
|
|
16
|
+
import { S as we } from "./chunks/Stack-BpHk5eb0.js";
|
|
17
|
+
import { A as Jt, S as Tt, O as en } from "./chunks/OverlayApiErrorSkeleton-Dl3s5Oaf.js";
|
|
18
|
+
import { S as tn, T as nn, P as rn } from "./chunks/Person-BGdniS_p.js";
|
|
19
|
+
import { A as on } from "./chunks/Avatar-K1EWhhkA.js";
|
|
20
|
+
import { t as vt, T as Pt, a as kt, b as Ee, c as We } from "./chunks/Tabs-hwJ7jsUl.js";
|
|
21
|
+
import { S as ln, a as an, O as sn, b as cn } from "./chunks/OverlayLeadAfterCollection-F2TAV9wK.js";
|
|
22
|
+
import { C as dn } from "./chunks/CollectLeadForm-DnLKA8qz.js";
|
|
23
23
|
const un = Ce([/* @__PURE__ */ t("path", {
|
|
24
24
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
25
25
|
}, "0"), /* @__PURE__ */ t("path", {
|
|
@@ -710,7 +710,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
710
710
|
},
|
|
711
711
|
children: [
|
|
712
712
|
/* @__PURE__ */ t(
|
|
713
|
-
|
|
713
|
+
Qt,
|
|
714
714
|
{
|
|
715
715
|
sx: {
|
|
716
716
|
width: "24px",
|
|
@@ -796,18 +796,18 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
796
796
|
}, G = () => {
|
|
797
797
|
const A = (l == null ? void 0 : l.currentStreak) ?? 0, V = C ? T : A % T, le = Math.floor(A / T) + 1;
|
|
798
798
|
return /* @__PURE__ */ g(r, { sx: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
799
|
-
Array.from({ length: T }, (fe,
|
|
799
|
+
Array.from({ length: T }, (fe, J) => /* @__PURE__ */ t(
|
|
800
800
|
r,
|
|
801
801
|
{
|
|
802
802
|
sx: {
|
|
803
803
|
flex: 1,
|
|
804
804
|
height: 4,
|
|
805
|
-
bgcolor:
|
|
805
|
+
bgcolor: J < V ? F : H ? `rgba(${H.replace(/[^\d,]/g, "")}, 0.2)` : `${F}33`,
|
|
806
806
|
borderRadius: "2px",
|
|
807
807
|
transition: "background-color 0.3s ease"
|
|
808
808
|
}
|
|
809
809
|
},
|
|
810
|
-
`streak-${
|
|
810
|
+
`streak-${J}`
|
|
811
811
|
)),
|
|
812
812
|
le > 1 && /* @__PURE__ */ g(
|
|
813
813
|
x,
|
|
@@ -827,7 +827,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
827
827
|
}
|
|
828
828
|
)
|
|
829
829
|
] });
|
|
830
|
-
},
|
|
830
|
+
}, Q = () => /* @__PURE__ */ t(
|
|
831
831
|
r,
|
|
832
832
|
{
|
|
833
833
|
sx: {
|
|
@@ -914,7 +914,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
914
914
|
optionIndex: 0
|
|
915
915
|
}
|
|
916
916
|
) }),
|
|
917
|
-
|
|
917
|
+
Q(),
|
|
918
918
|
/* @__PURE__ */ t(r, { sx: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ t(
|
|
919
919
|
Ue,
|
|
920
920
|
{
|
|
@@ -1045,7 +1045,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
1045
1045
|
T,
|
|
1046
1046
|
e.currentLives,
|
|
1047
1047
|
l
|
|
1048
|
-
), G = T > 0 ? U / T * 100 : 0,
|
|
1048
|
+
), G = T > 0 ? U / T * 100 : 0, Q = T > 0 ? N / T * 100 : 0, X = T > 0 ? Y / T * 100 : 0;
|
|
1049
1049
|
return /* @__PURE__ */ g(
|
|
1050
1050
|
r,
|
|
1051
1051
|
{
|
|
@@ -1326,11 +1326,11 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
1326
1326
|
}
|
|
1327
1327
|
}
|
|
1328
1328
|
),
|
|
1329
|
-
|
|
1329
|
+
Q > 0 && /* @__PURE__ */ t(
|
|
1330
1330
|
r,
|
|
1331
1331
|
{
|
|
1332
1332
|
sx: {
|
|
1333
|
-
width: `${
|
|
1333
|
+
width: `${Q}%`,
|
|
1334
1334
|
bgcolor: f,
|
|
1335
1335
|
transition: "width 0.7s ease 0.1s"
|
|
1336
1336
|
}
|
|
@@ -1530,7 +1530,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
),
|
|
1532
1532
|
/* @__PURE__ */ t(
|
|
1533
|
-
|
|
1533
|
+
Jt,
|
|
1534
1534
|
{
|
|
1535
1535
|
additionalCTA: h,
|
|
1536
1536
|
buttonStyle: {
|
|
@@ -1819,10 +1819,10 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
1819
1819
|
(async () => {
|
|
1820
1820
|
try {
|
|
1821
1821
|
if (!e) return;
|
|
1822
|
-
const [G,
|
|
1822
|
+
const [G, Q] = await Promise.all([
|
|
1823
1823
|
n.miniGames.getEitherOrResults(e.id),
|
|
1824
1824
|
n.profile.getOwn().getInfo().catch(() => null)
|
|
1825
|
-
]), X = (
|
|
1825
|
+
]), X = (Q == null ? void 0 : Q.id) ?? null;
|
|
1826
1826
|
if (F(X), X && G.standings.some(
|
|
1827
1827
|
(ee) => ee.userId === X
|
|
1828
1828
|
)) {
|
|
@@ -2088,7 +2088,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2088
2088
|
] }) }),
|
|
2089
2089
|
/* @__PURE__ */ t("tbody", { children: N.map((M, G) => {
|
|
2090
2090
|
var te, ie, ce;
|
|
2091
|
-
const
|
|
2091
|
+
const Q = v * Be + G, X = M.userId === "current" || R !== null && M.userId === R, oe = ((te = M.userModel) == null ? void 0 : te.avatar) || void 0, ee = ((ie = M.userModel) == null ? void 0 : ie.nickname) || ((ce = M.userModel) == null ? void 0 : ce.name) || d("common.labels.anonymous", "Anonymous");
|
|
2092
2092
|
return /* @__PURE__ */ g(
|
|
2093
2093
|
"tr",
|
|
2094
2094
|
{
|
|
@@ -2096,7 +2096,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2096
2096
|
children: [
|
|
2097
2097
|
/* @__PURE__ */ t("td", { style: z.tableCellPosition, children: /* @__PURE__ */ g(x, { sx: z.positionText, children: [
|
|
2098
2098
|
"#",
|
|
2099
|
-
|
|
2099
|
+
Q + 1
|
|
2100
2100
|
] }) }),
|
|
2101
2101
|
/* @__PURE__ */ t("td", { style: z.tableCellName, children: /* @__PURE__ */ g(r, { sx: z.nameCell, children: [
|
|
2102
2102
|
/* @__PURE__ */ t(on, { src: oe, sx: z.leaderboardAvatar, children: !oe && /* @__PURE__ */ t(rn, { sx: z.avatarIcon }) }),
|
|
@@ -2115,7 +2115,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2115
2115
|
/* @__PURE__ */ t("td", { style: z.tableCellPoints, children: /* @__PURE__ */ t(x, { sx: z.pointsText, children: M.personalBest }) })
|
|
2116
2116
|
]
|
|
2117
2117
|
},
|
|
2118
|
-
`${M.userId}-${
|
|
2118
|
+
`${M.userId}-${Q}`
|
|
2119
2119
|
);
|
|
2120
2120
|
}) })
|
|
2121
2121
|
]
|
|
@@ -2322,7 +2322,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2322
2322
|
Pt,
|
|
2323
2323
|
{
|
|
2324
2324
|
value: o,
|
|
2325
|
-
onChange: (
|
|
2325
|
+
onChange: (Q, X) => z(X),
|
|
2326
2326
|
sx: {
|
|
2327
2327
|
borderRadius: R,
|
|
2328
2328
|
width: "100%",
|
|
@@ -2851,9 +2851,9 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2851
2851
|
), M = m || (P ? Ke : Xe), G = Ge(
|
|
2852
2852
|
{ images: n == null ? void 0 : n.images, imagePlaceholder: M },
|
|
2853
2853
|
Se.OVERLAY
|
|
2854
|
-
),
|
|
2854
|
+
), Q = Y || G, X = Ct(Q), oe = St(
|
|
2855
2855
|
Se.OVERLAY
|
|
2856
|
-
), ee = S.customRadius.dark.sm, te = S.customRadius.dark.md, ie = (T == null ? void 0 : T.backgroundColor) || ((tt = (et = S.colorSchemes) == null ? void 0 : et.dark) == null ? void 0 : tt.surfaceVariant), ce = (rt = (nt = S.customRadius) == null ? void 0 : nt.light) == null ? void 0 : rt.xl, _ = (T == null ? void 0 : T.primaryColor) || ((at = (lt = (it = (ot = S.colorSchemes) == null ? void 0 : ot.light) == null ? void 0 : it.palette) == null ? void 0 : lt.primary) == null ? void 0 : at.plainColor), j = (ut = (dt = (ct = (st = S.colorSchemes) == null ? void 0 : st.light) == null ? void 0 : ct.palette) == null ? void 0 : dt.primary) == null ? void 0 : ut.onPrimary, w = S.customFontFamily.dark.primary, $ = S.colorSchemes.dark.textColor, A = S.colorSchemes.dark.surface, V = S.colorSchemes.dark.secondaryContainer, Z = S.colorSchemes.dark.surfaceTintDim, le = ((mt = re(Z || "")) == null ? void 0 : mt.replace(/[^\d,]/g, "")) ?? null, fe = re(_ || ""),
|
|
2856
|
+
), ee = S.customRadius.dark.sm, te = S.customRadius.dark.md, ie = (T == null ? void 0 : T.backgroundColor) || ((tt = (et = S.colorSchemes) == null ? void 0 : et.dark) == null ? void 0 : tt.surfaceVariant), ce = (rt = (nt = S.customRadius) == null ? void 0 : nt.light) == null ? void 0 : rt.xl, _ = (T == null ? void 0 : T.primaryColor) || ((at = (lt = (it = (ot = S.colorSchemes) == null ? void 0 : ot.light) == null ? void 0 : it.palette) == null ? void 0 : lt.primary) == null ? void 0 : at.plainColor), j = (ut = (dt = (ct = (st = S.colorSchemes) == null ? void 0 : st.light) == null ? void 0 : ct.palette) == null ? void 0 : dt.primary) == null ? void 0 : ut.onPrimary, w = S.customFontFamily.dark.primary, $ = S.colorSchemes.dark.textColor, A = S.colorSchemes.dark.surface, V = S.colorSchemes.dark.secondaryContainer, Z = S.colorSchemes.dark.surfaceTintDim, le = ((mt = re(Z || "")) == null ? void 0 : mt.replace(/[^\d,]/g, "")) ?? null, fe = re(_ || ""), J = zn({
|
|
2857
2857
|
spacingScale: C,
|
|
2858
2858
|
smBorderRadius: ee,
|
|
2859
2859
|
contentBgColor: ie,
|
|
@@ -2940,7 +2940,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2940
2940
|
}
|
|
2941
2941
|
)
|
|
2942
2942
|
] });
|
|
2943
|
-
}, Et = () => /* @__PURE__ */ t(r, { sx:
|
|
2943
|
+
}, Et = () => /* @__PURE__ */ t(r, { sx: J.dividerContainer, children: /* @__PURE__ */ t(
|
|
2944
2944
|
r,
|
|
2945
2945
|
{
|
|
2946
2946
|
sx: {
|
|
@@ -2960,8 +2960,8 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2960
2960
|
}
|
|
2961
2961
|
) }), Wt = () => {
|
|
2962
2962
|
var ne;
|
|
2963
|
-
return i ? /* @__PURE__ */ g(r, { sx:
|
|
2964
|
-
/* @__PURE__ */ t(r, { sx:
|
|
2963
|
+
return i ? /* @__PURE__ */ g(r, { sx: J.mainContentSection, children: [
|
|
2964
|
+
/* @__PURE__ */ t(r, { sx: J.timerContainer, children: /* @__PURE__ */ t(
|
|
2965
2965
|
Ot,
|
|
2966
2966
|
{
|
|
2967
2967
|
time: h,
|
|
@@ -2970,9 +2970,9 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2970
2970
|
},
|
|
2971
2971
|
`timer-${i.pairId}`
|
|
2972
2972
|
) }),
|
|
2973
|
-
/* @__PURE__ */ g(r, { sx:
|
|
2974
|
-
/* @__PURE__ */ g(r, { sx:
|
|
2975
|
-
/* @__PURE__ */ t(r, { sx:
|
|
2973
|
+
/* @__PURE__ */ g(r, { sx: J.contentContainerWithBackdrop, children: [
|
|
2974
|
+
/* @__PURE__ */ g(r, { sx: J.optionsContainer, children: [
|
|
2975
|
+
/* @__PURE__ */ t(r, { sx: J.optionWrapper, children: /* @__PURE__ */ t(
|
|
2976
2976
|
Ue,
|
|
2977
2977
|
{
|
|
2978
2978
|
option: i.optionOne,
|
|
@@ -2985,7 +2985,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2985
2985
|
}
|
|
2986
2986
|
) }),
|
|
2987
2987
|
Et(),
|
|
2988
|
-
/* @__PURE__ */ t(r, { sx:
|
|
2988
|
+
/* @__PURE__ */ t(r, { sx: J.optionWrapper, children: /* @__PURE__ */ t(
|
|
2989
2989
|
Ue,
|
|
2990
2990
|
{
|
|
2991
2991
|
option: i.optionTwo,
|
|
@@ -3040,7 +3040,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3040
3040
|
)
|
|
3041
3041
|
] })
|
|
3042
3042
|
] }),
|
|
3043
|
-
Re && /* @__PURE__ */ t(r, { sx:
|
|
3043
|
+
Re && /* @__PURE__ */ t(r, { sx: J.bottomFooterContainer, children: /* @__PURE__ */ t(
|
|
3044
3044
|
de,
|
|
3045
3045
|
{
|
|
3046
3046
|
brandingLogo: Re,
|
|
@@ -3050,7 +3050,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3050
3050
|
}
|
|
3051
3051
|
) })
|
|
3052
3052
|
] }) : null;
|
|
3053
|
-
},
|
|
3053
|
+
}, Qe = {
|
|
3054
3054
|
display: "flex",
|
|
3055
3055
|
flexDirection: "row",
|
|
3056
3056
|
justifyContent: "center",
|
|
@@ -3071,7 +3071,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3071
3071
|
opacity: "100%",
|
|
3072
3072
|
mb: "-1px"
|
|
3073
3073
|
}
|
|
3074
|
-
},
|
|
3074
|
+
}, Je = {
|
|
3075
3075
|
flex: 1,
|
|
3076
3076
|
display: "flex",
|
|
3077
3077
|
flexDirection: "column",
|
|
@@ -3096,7 +3096,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3096
3096
|
flexDirection: P ? "column" : "row"
|
|
3097
3097
|
},
|
|
3098
3098
|
children: [
|
|
3099
|
-
/* @__PURE__ */ t(Ee, { sx:
|
|
3099
|
+
/* @__PURE__ */ t(Ee, { sx: Qe, disableIndicator: !0, children: /* @__PURE__ */ g(
|
|
3100
3100
|
r,
|
|
3101
3101
|
{
|
|
3102
3102
|
sx: {
|
|
@@ -3124,7 +3124,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3124
3124
|
]
|
|
3125
3125
|
}
|
|
3126
3126
|
) }),
|
|
3127
|
-
/* @__PURE__ */ t(Ee, { sx:
|
|
3127
|
+
/* @__PURE__ */ t(Ee, { sx: Qe, disableIndicator: !0, children: /* @__PURE__ */ g(
|
|
3128
3128
|
r,
|
|
3129
3129
|
{
|
|
3130
3130
|
sx: {
|
|
@@ -3160,7 +3160,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3160
3160
|
{
|
|
3161
3161
|
value: 0,
|
|
3162
3162
|
sx: { p: 0, fontSize: "1em", display: "flex" },
|
|
3163
|
-
children: /* @__PURE__ */ t(r, { sx:
|
|
3163
|
+
children: /* @__PURE__ */ t(r, { sx: Je, children: /* @__PURE__ */ t(
|
|
3164
3164
|
_e,
|
|
3165
3165
|
{
|
|
3166
3166
|
stepInfo: s,
|
|
@@ -3178,7 +3178,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3178
3178
|
{
|
|
3179
3179
|
value: 1,
|
|
3180
3180
|
sx: { p: 0, fontSize: "1em", display: "flex" },
|
|
3181
|
-
children: /* @__PURE__ */ t(r, { sx:
|
|
3181
|
+
children: /* @__PURE__ */ t(r, { sx: Je, children: /* @__PURE__ */ t(
|
|
3182
3182
|
Lt,
|
|
3183
3183
|
{
|
|
3184
3184
|
game: n,
|
|
@@ -3345,7 +3345,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3345
3345
|
r,
|
|
3346
3346
|
{
|
|
3347
3347
|
sx: {
|
|
3348
|
-
...
|
|
3348
|
+
...J.filterScreenContainer,
|
|
3349
3349
|
justifyContent: Re ? "space-between" : "flex-end"
|
|
3350
3350
|
},
|
|
3351
3351
|
children: [
|
|
@@ -3362,10 +3362,10 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3362
3362
|
me,
|
|
3363
3363
|
{
|
|
3364
3364
|
variant: "soft",
|
|
3365
|
-
sx: { ...
|
|
3365
|
+
sx: { ...J.startButton, ...J.pulseAnimation },
|
|
3366
3366
|
endDecorator: /* @__PURE__ */ t(Ze, {}),
|
|
3367
3367
|
onClick: I,
|
|
3368
|
-
children: /* @__PURE__ */ t(x, { sx:
|
|
3368
|
+
children: /* @__PURE__ */ t(x, { sx: J.startButtonText, children: c("eitherOr.buttons.start") })
|
|
3369
3369
|
}
|
|
3370
3370
|
)
|
|
3371
3371
|
]
|
|
@@ -3395,7 +3395,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3395
3395
|
{
|
|
3396
3396
|
entity: n,
|
|
3397
3397
|
headline: c("eitherOr.headline"),
|
|
3398
|
-
finalImage:
|
|
3398
|
+
finalImage: Q,
|
|
3399
3399
|
rulesDisplay: y,
|
|
3400
3400
|
children: Mt()
|
|
3401
3401
|
}
|
|
@@ -3652,8 +3652,8 @@ const Dn = (e) => {
|
|
|
3652
3652
|
(le) => le !== w
|
|
3653
3653
|
) ?? null;
|
|
3654
3654
|
f({ isCorrect: V, selectedOption: w, correctOptionId: Z }), l($), setTimeout(() => {
|
|
3655
|
-
var
|
|
3656
|
-
const le = ((
|
|
3655
|
+
var J;
|
|
3656
|
+
const le = ((J = e.leads) == null ? void 0 : J.position) === "after" && (o == null ? void 0 : o.authRequirement) === "LEAD" && !k;
|
|
3657
3657
|
if ($.currentLives === 0) {
|
|
3658
3658
|
le ? R(!0) : i(K.RESULTS);
|
|
3659
3659
|
return;
|
|
@@ -3692,7 +3692,7 @@ const Dn = (e) => {
|
|
|
3692
3692
|
R(!1), E(!1), i(K.RESULTS);
|
|
3693
3693
|
}, [(ie = e.leads) == null ? void 0 : ie.position, e.entityId, e.sdk, o == null ? void 0 : o.time]), G = Le(() => {
|
|
3694
3694
|
i(K.TUTORIAL), d(null), l(null), a((o == null ? void 0 : o.time) ?? 10), y(null), f({ isCorrect: null, selectedOption: null }), v(!1), R(!1);
|
|
3695
|
-
}, [o == null ? void 0 : o.time]),
|
|
3695
|
+
}, [o == null ? void 0 : o.time]), Q = () => {
|
|
3696
3696
|
P(!1), S(!1), B(""), H(!1), z(!1), L(!I), i(K.TUTORIAL), d(null), l(null), y(null), f({ isCorrect: null, selectedOption: null }), v(!1), R(!1);
|
|
3697
3697
|
};
|
|
3698
3698
|
if (!o)
|
|
@@ -3737,7 +3737,7 @@ const Dn = (e) => {
|
|
|
3737
3737
|
defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
|
|
3738
3738
|
isApiError: C,
|
|
3739
3739
|
apiErrorMessage: c,
|
|
3740
|
-
toggleTryAgain:
|
|
3740
|
+
toggleTryAgain: Q,
|
|
3741
3741
|
rulesDisplay: e.rulesDisplay
|
|
3742
3742
|
}
|
|
3743
3743
|
) : /* @__PURE__ */ t(
|
|
@@ -3748,7 +3748,7 @@ const Dn = (e) => {
|
|
|
3748
3748
|
defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
|
|
3749
3749
|
isApiError: C,
|
|
3750
3750
|
apiErrorMessage: c,
|
|
3751
|
-
toggleTryAgain:
|
|
3751
|
+
toggleTryAgain: Q,
|
|
3752
3752
|
rulesDisplay: e.rulesDisplay
|
|
3753
3753
|
}
|
|
3754
3754
|
);
|
package/EventGamePlay.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsx as t, jsxs as m, Fragment as j } from "react/jsx-runtime";
|
|
2
2
|
import Je, { useState as Q, useEffect as je, useRef as At, createContext as zt, useCallback as et, useMemo as Ve } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { P as Bt } from "./chunks/Portal-
|
|
3
|
+
import { i as Y, b as J, a as p, d as He, B as i, c as q, T as x, e as ae, u as ue, I as De, f as ne, g as We, l as Se, C as It, r as Dt, k as Mt, j as Re, W as le, n as Ee, h as kt } from "./chunks/PrizeCard-DF3QxwQJ.js";
|
|
4
|
+
import { P as Bt } from "./chunks/Portal-Cs0dgwmH.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { g as Ht, h as N, e as tt, s as Le, a as Wt,
|
|
7
|
-
import { S as Ft } from "./chunks/Spinner-
|
|
8
|
-
import { a as $t, b as Lt, S as Ut, C as xt, c as yt } from "./chunks/ChanceGameEmbedVariant-
|
|
9
|
-
import { N as Xe } from "./chunks/Notification-
|
|
10
|
-
import { E as Vt,
|
|
11
|
-
import { T as ht, D as Nt, S as Tt, R as Ue, N as Ot, O as qt } from "./chunks/NotFoundSkeleton-
|
|
12
|
-
import {
|
|
13
|
-
import { K as Yt, a as _t, H as Zt, D as Xt, E as Kt } from "./chunks/Edit-
|
|
14
|
-
import { I as wt } from "./chunks/Input-
|
|
15
|
-
import { S as Qt, a as Jt } from "./chunks/Select-
|
|
16
|
-
import { C as en } from "./chunks/Close-
|
|
17
|
-
import {
|
|
18
|
-
import { S as Rt, T as pt, P as bt } from "./chunks/Person-
|
|
19
|
-
import { A as Qe, S as an, O as on } from "./chunks/OverlayApiErrorSkeleton-
|
|
20
|
-
import { C as ln } from "./chunks/CheckCircle-
|
|
21
|
-
import {
|
|
22
|
-
import { S as sn } from "./chunks/Stack-
|
|
23
|
-
import { T as mn, a as gn, b as St, t as Ct, c as vt } from "./chunks/Tabs-
|
|
24
|
-
import { A as Pt } from "./chunks/Avatar-
|
|
6
|
+
import { g as Ht, h as N, e as tt, s as Le, a as Wt, b as Et } from "./chunks/helpers-NuC1SzL3.js";
|
|
7
|
+
import { S as Ft } from "./chunks/Spinner-DbUB64Gj.js";
|
|
8
|
+
import { a as $t, b as Lt, S as Ut, C as xt, c as yt } from "./chunks/ChanceGameEmbedVariant-DqFg4YKU.js";
|
|
9
|
+
import { N as Xe } from "./chunks/Notification-pcKtlRms.js";
|
|
10
|
+
import { E as Vt, a as W, m as jt } from "./chunks/index-D1K1OB4p.js";
|
|
11
|
+
import { T as ht, D as Nt, S as Tt, R as Ue, N as Ot, O as qt } from "./chunks/NotFoundSkeleton-Cs6DtD9u.js";
|
|
12
|
+
import { b as Ce, d as Me, a as Be } from "./chunks/useImageVariant-Cex1eIqq.js";
|
|
13
|
+
import { K as Yt, a as _t, H as Zt, D as Xt, E as Kt } from "./chunks/Edit-CZ3ni-Ur.js";
|
|
14
|
+
import { I as wt } from "./chunks/Input-MJCQcYzo.js";
|
|
15
|
+
import { S as Qt, a as Jt } from "./chunks/Select-BHeTdOYr.js";
|
|
16
|
+
import { C as en } from "./chunks/Close-BHp4N1-6.js";
|
|
17
|
+
import { M as tn, a as nn } from "./chunks/ModalDialog-Cfgv9UAA.js";
|
|
18
|
+
import { S as Rt, T as pt, P as bt } from "./chunks/Person-BGdniS_p.js";
|
|
19
|
+
import { A as Qe, S as an, O as on } from "./chunks/OverlayApiErrorSkeleton-Dl3s5Oaf.js";
|
|
20
|
+
import { C as ln } from "./chunks/CheckCircle-CV9iMpkZ.js";
|
|
21
|
+
import { A as rn, I as cn, W as dn } from "./chunks/AlertMessage-Ds45MBHB.js";
|
|
22
|
+
import { S as sn } from "./chunks/Stack-BpHk5eb0.js";
|
|
23
|
+
import { T as mn, a as gn, b as St, t as Ct, c as vt } from "./chunks/Tabs-hwJ7jsUl.js";
|
|
24
|
+
import { A as Pt } from "./chunks/Avatar-K1EWhhkA.js";
|
|
25
25
|
import { C as un, a as fn } from "./chunks/chevron-right-B3IZtaMT.js";
|
|
26
|
-
import { O as xn } from "./chunks/OverlayScoreStateSkeleton-
|
|
26
|
+
import { O as xn } from "./chunks/OverlayScoreStateSkeleton-LQ0svzeX.js";
|
|
27
27
|
const yn = (e, n, a) => {
|
|
28
28
|
const [r, c] = Q(null), [d, f] = Q(null), o = async () => {
|
|
29
29
|
try {
|