fansunited-frontend-components 0.0.48 → 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 +45 -45
- package/ClassicQuizPlay.js +184 -183
- package/CollectLead.js +16 -15
- package/Discussion.js +1 -1
- package/EitherOrPlay.js +66 -65
- package/EventGamePlay.js +68 -67
- package/Leaderboard.js +22 -22
- package/MatchQuizPlay.js +82 -81
- package/PersonalityQuizPlay.js +77 -76
- package/PickThePair.js +42 -42
- package/PollVote.js +53 -52
- package/Predictor.js +75 -75
- package/README.md +272 -0
- package/chunks/{AlertMessage-D4Uc6n5U.js → AlertMessage-Ds45MBHB.js} +3 -3
- package/chunks/{ArrowRightAlt-wEs8SY1V.js → ArrowRightAlt-DKADQN2o.js} +1 -1
- package/chunks/{Avatar-BXHdXHLA.js → Avatar-K1EWhhkA.js} +2 -2
- package/chunks/{ChanceGameEmbedVariant-DfS5LPpp.js → ChanceGameEmbedVariant-DqFg4YKU.js} +31 -29
- package/chunks/{CheckCircle-CU2itira.js → CheckCircle-CV9iMpkZ.js} +1 -1
- package/chunks/{Close-DBt1nfGo.js → Close-BHp4N1-6.js} +1 -1
- package/chunks/{Close-C5SGTkPr.js → Close-C6Cw96SJ.js} +1 -1
- package/chunks/{CollectLeadForm-BqjgPYKX.js → CollectLeadForm-DnLKA8qz.js} +13 -13
- package/chunks/{Divider-Cbns9B3Y.js → Divider-BvUimRFw.js} +2 -2
- package/chunks/{Edit-BVP8fCB4.js → Edit-CZ3ni-Ur.js} +4 -4
- package/chunks/{EmojiEvents-D_ObJxNy.js → EmojiEvents-DpmLq98V.js} +1 -1
- package/chunks/{FavoriteBorder-_mUf1vas.js → FavoriteBorder-DUK_DrY4.js} +1 -1
- package/chunks/{FormControl-DLBvX-Sn.js → FormControl-BUItlVIg.js} +3 -3
- package/chunks/{FormLabel-jXtScWTI.js → FormLabel-CeTNPUn7.js} +2 -2
- package/chunks/{Input-Cha_dm3J.js → Input-MJCQcYzo.js} +2 -2
- package/chunks/{KeyboardArrowDown-C_8g8wLS.js → KeyboardArrowDown-SZpn2GhJ.js} +1 -1
- package/chunks/{ModalDialog-Co3jck0z.js → ModalDialog-Cfgv9UAA.js} +2 -2
- package/chunks/{NotFoundSkeleton-D5Jh3lnu.js → NotFoundSkeleton-Cs6DtD9u.js} +13 -12
- package/chunks/{Notification-r1Fm0If2.js → Notification-pcKtlRms.js} +4 -4
- package/chunks/{OverlayApiErrorSkeleton-BUuD0zL8.js → OverlayApiErrorSkeleton-Dl3s5Oaf.js} +20 -19
- package/chunks/{OverlayLeadAfterCollection-B-N1OjPu.js → OverlayLeadAfterCollection-F2TAV9wK.js} +14 -12
- package/chunks/{OverlayScoreStateSkeleton-Bd3-ZNlU.js → OverlayScoreStateSkeleton-LQ0svzeX.js} +3 -3
- package/chunks/{Person-K8GGMiAW.js → Person-BGdniS_p.js} +1 -1
- package/chunks/{PickOneOfX-CvIn7QOd.js → PickOneOfX-Ci4ZJf7G.js} +8 -7
- package/chunks/{Popper-Bti_HOMS.js → Popper-DOVSI4rJ.js} +1 -1
- package/chunks/{Portal-B-nN3a_R.js → Portal-Cs0dgwmH.js} +1 -1
- package/chunks/{index-Btf_jw7-.js → PrizeCard-DF3QxwQJ.js} +0 -1
- package/chunks/{Select-C2QtqgA7.js → Select-BHeTdOYr.js} +3 -3
- package/chunks/{Spinner-D7-MZe2m.js → Spinner-DbUB64Gj.js} +1 -1
- package/chunks/{SplitLeadAfterCollection-CyXBWAIK.js → SplitLeadAfterCollection-DSw6X5fx.js} +36 -34
- package/chunks/{Stack-CU36SsgA.js → Stack-BpHk5eb0.js} +1 -1
- package/chunks/{StandardContentSkeleton-CYduGHsc.js → StandardContentSkeleton-Bae1LLQ_.js} +1 -1
- package/chunks/{Tabs-CA-FqQfT.js → Tabs-hwJ7jsUl.js} +3 -3
- package/chunks/{Textarea-Cn4VvCBl.js → Textarea-zOtMdgc5.js} +3 -3
- package/chunks/{TimerOutlined-DOpryr42.js → TimerOutlined-DWE7f0YX.js} +1 -1
- package/chunks/{helpers-1jFObSvc.js → helpers-NuC1SzL3.js} +1 -1
- package/chunks/index-BaypiKlO.js +4 -0
- package/chunks/{main-Chqd9Wwn.js → main-hB01WcoP.js} +88 -88
- package/chunks/{useEventCallback-CkO2rd5W.js → useEventCallback-CizlfWBo.js} +1 -1
- package/chunks/{useForwardedInput-C3SP2QmS.js → useForwardedInput-RWDntqBU.js} +2 -2
- package/chunks/{useImageVariant-BJ722AFw.js → useImageVariant-Cex1eIqq.js} +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/chunks/index-CyODGG_P.js +0 -4
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as n, jsxs as u, Fragment as we } from "react/jsx-runtime";
|
|
2
|
-
import { t as de, s as B, v as H, _ as T, y as pe, z as me, A as $, P as o, X as D, E as ue, D as Ue, a8 as ie, R as xo, a7 as vo, S as Re, a9 as Co, aa as To, m as So, f as Ro, g as ko, C as wo, a as W, b as Je, c as Z, e as fe, i as Ge, I as le, T as C, B as l, j as Po, u as Xe, n as Ye, W as qe } from "./
|
|
3
|
-
import { g as Fo, s as K, a as zo } from "./helpers-
|
|
2
|
+
import { t as de, s as B, v as H, _ as T, y as pe, z as me, A as $, P as o, X as D, E as ue, D as Ue, a8 as ie, R as xo, a7 as vo, S as Re, a9 as Co, aa as To, m as So, f as Ro, g as ko, C as wo, a as W, b as Je, c as Z, e as fe, i as Ge, I as le, T as C, B as l, j as Po, u as Xe, n as Ye, W as qe } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
|
+
import { g as Fo, s as K, a as zo } from "./helpers-NuC1SzL3.js";
|
|
4
4
|
import * as x from "react";
|
|
5
5
|
import { useState as Io } from "react";
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import { C as Oo } from "./Close-BHp4N1-6.js";
|
|
8
|
+
import { u as Mo, a as _e } from "./useEventCallback-CizlfWBo.js";
|
|
9
|
+
import { P as Ho } from "./Popper-DOVSI4rJ.js";
|
|
10
|
+
import { m as Ao, b as jo, M as Do, a as Wo } from "./ModalDialog-Cfgv9UAA.js";
|
|
10
11
|
function $o(e) {
|
|
11
12
|
return de("MuiAspectRatio", e);
|
|
12
13
|
}
|
|
@@ -1404,7 +1405,7 @@ const ke = So(/* @__PURE__ */ n("path", {
|
|
|
1404
1405
|
overflow: "hidden"
|
|
1405
1406
|
}
|
|
1406
1407
|
};
|
|
1407
|
-
},
|
|
1408
|
+
}, ht = ({
|
|
1408
1409
|
entity: e,
|
|
1409
1410
|
headline: t,
|
|
1410
1411
|
finalImage: i,
|
|
@@ -1722,7 +1723,7 @@ const ke = So(/* @__PURE__ */ n("path", {
|
|
|
1722
1723
|
gap: "24px"
|
|
1723
1724
|
}
|
|
1724
1725
|
};
|
|
1725
|
-
},
|
|
1726
|
+
}, yt = ({
|
|
1726
1727
|
entity: e,
|
|
1727
1728
|
headline: t,
|
|
1728
1729
|
finalImage: i,
|
|
@@ -1774,7 +1775,7 @@ const ke = So(/* @__PURE__ */ n("path", {
|
|
|
1774
1775
|
] }) }) }) }),
|
|
1775
1776
|
/* @__PURE__ */ n(l, { sx: h.mainContentSection, children: a })
|
|
1776
1777
|
] });
|
|
1777
|
-
},
|
|
1778
|
+
}, bt = ({
|
|
1778
1779
|
notFoundTitle: e,
|
|
1779
1780
|
notFoundMessage: t
|
|
1780
1781
|
}) => {
|
|
@@ -1854,10 +1855,10 @@ const ke = So(/* @__PURE__ */ n("path", {
|
|
|
1854
1855
|
export {
|
|
1855
1856
|
Pe as A,
|
|
1856
1857
|
Qe as D,
|
|
1857
|
-
|
|
1858
|
-
|
|
1858
|
+
bt as N,
|
|
1859
|
+
yt as O,
|
|
1859
1860
|
Q as R,
|
|
1860
|
-
|
|
1861
|
+
ht as S,
|
|
1861
1862
|
ce as T,
|
|
1862
1863
|
Lo as a
|
|
1863
1864
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { S as le, a9 as ue, ad as P, P as e, ae as de, a8 as fe, _ as S, V as N, t as U, s as W, Q as j, v as H, Y as pe, ab as me, ac as ve, y as he, z as be, A as M, D as ke, X as x, E as ge, m as ye, b as Se, c as Ee, g as Ce, C as De, B as xe, T as $ } from "./
|
|
1
|
+
import { S as le, a9 as ue, ad as P, P as e, ae as de, a8 as fe, _ as S, V as N, t as U, s as W, Q as j, v as H, Y as pe, ab as me, ac as ve, y as he, z as be, A as M, D as ke, X as x, E as ge, m as ye, b as Se, c as Ee, g as Ce, C as De, B as xe, T as $ } from "./PrizeCard-DF3QxwQJ.js";
|
|
2
2
|
import { jsx as y, jsxs as q } from "react/jsx-runtime";
|
|
3
3
|
import Re from "react-dom";
|
|
4
|
-
import { C as Oe } from "./CheckCircle-
|
|
4
|
+
import { C as Oe } from "./CheckCircle-CV9iMpkZ.js";
|
|
5
5
|
import * as l from "react";
|
|
6
|
-
import { a as A } from "./useEventCallback-
|
|
7
|
-
import { e as Te } from "./ModalDialog-
|
|
6
|
+
import { a as A } from "./useEventCallback-CizlfWBo.js";
|
|
7
|
+
import { e as Te } from "./ModalDialog-Cfgv9UAA.js";
|
|
8
8
|
function I(o) {
|
|
9
9
|
return o.substring(2).toLowerCase();
|
|
10
10
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as t, jsxs as o, Fragment as u } from "react/jsx-runtime";
|
|
2
|
-
import { f as p, j as C, B as i, T as r, m as U, u as w, i as E, W as S, e as L, c as j, b as $, a as y, d as N, n as V } from "./
|
|
3
|
-
import { a as O } from "./AlertMessage-
|
|
4
|
-
import {
|
|
5
|
-
import { b as q } from "./useImageVariant-BJ722AFw.js";
|
|
2
|
+
import { f as p, j as C, B as i, T as r, m as U, u as w, i as E, W as S, e as L, c as j, b as $, a as y, d as N, n as V } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
|
+
import { a as O } from "./AlertMessage-Ds45MBHB.js";
|
|
4
|
+
import { s as h, e as Y, a as _ } from "./helpers-NuC1SzL3.js";
|
|
6
5
|
import "react";
|
|
7
|
-
import {
|
|
8
|
-
|
|
6
|
+
import { R as b } from "./NotFoundSkeleton-Cs6DtD9u.js";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import { b as q } from "./useImageVariant-Cex1eIqq.js";
|
|
9
|
+
const oe = ({
|
|
9
10
|
additionalCTA: e,
|
|
10
11
|
buttonStyle: l,
|
|
11
12
|
buttonContentStyle: a,
|
|
@@ -295,7 +296,7 @@ const le = ({
|
|
|
295
296
|
};
|
|
296
297
|
}, G = U(/* @__PURE__ */ t("path", {
|
|
297
298
|
d: "M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"
|
|
298
|
-
}), "Replay"),
|
|
299
|
+
}), "Replay"), ae = (e) => {
|
|
299
300
|
var W;
|
|
300
301
|
const l = ((W = e.entity.branding) == null ? void 0 : W.colors) || null, a = w(), s = E(), c = q(
|
|
301
302
|
{
|
|
@@ -352,7 +353,7 @@ const le = ({
|
|
|
352
353
|
}
|
|
353
354
|
),
|
|
354
355
|
/* @__PURE__ */ t(
|
|
355
|
-
|
|
356
|
+
b,
|
|
356
357
|
{
|
|
357
358
|
rulesDisplay: e.rulesDisplay,
|
|
358
359
|
rules: e.entity.rules || ""
|
|
@@ -375,7 +376,7 @@ const le = ({
|
|
|
375
376
|
{
|
|
376
377
|
level: "body-md",
|
|
377
378
|
sx: n.descriptionTypographyMobileImage,
|
|
378
|
-
children:
|
|
379
|
+
children: h(e.entity.description)
|
|
379
380
|
}
|
|
380
381
|
)
|
|
381
382
|
] })
|
|
@@ -392,7 +393,7 @@ const le = ({
|
|
|
392
393
|
children: [
|
|
393
394
|
/* @__PURE__ */ t(r, { level: "body-sm", sx: n.headlineTypography, children: e.headline }),
|
|
394
395
|
/* @__PURE__ */ t(
|
|
395
|
-
|
|
396
|
+
b,
|
|
396
397
|
{
|
|
397
398
|
rulesDisplay: e.rulesDisplay,
|
|
398
399
|
rules: e.entity.rules || ""
|
|
@@ -403,7 +404,7 @@ const le = ({
|
|
|
403
404
|
),
|
|
404
405
|
/* @__PURE__ */ o(i, { sx: n.contentContainer, children: [
|
|
405
406
|
/* @__PURE__ */ t(r, { level: "h4", sx: n.titleTypography, children: e.entity.title }),
|
|
406
|
-
/* @__PURE__ */ t(r, { level: "body-md", sx: n.descriptionTypography, children:
|
|
407
|
+
/* @__PURE__ */ t(r, { level: "body-md", sx: n.descriptionTypography, children: h(e.entity.description) })
|
|
407
408
|
] })
|
|
408
409
|
] }) }),
|
|
409
410
|
c && f === "left" && /* @__PURE__ */ t(i, { sx: n.imageContainerLeft, children: /* @__PURE__ */ t("img", { src: c, alt: "illustration", style: n.image }) }),
|
|
@@ -428,7 +429,7 @@ const le = ({
|
|
|
428
429
|
children: [
|
|
429
430
|
/* @__PURE__ */ t(r, { level: "body-sm", sx: n.headlineTypography, children: e.headline }),
|
|
430
431
|
/* @__PURE__ */ t(
|
|
431
|
-
|
|
432
|
+
b,
|
|
432
433
|
{
|
|
433
434
|
rulesDisplay: e.rulesDisplay,
|
|
434
435
|
rules: e.entity.rules || ""
|
|
@@ -444,7 +445,7 @@ const le = ({
|
|
|
444
445
|
{
|
|
445
446
|
level: "body-md",
|
|
446
447
|
sx: n.descriptionTypographyDesktop,
|
|
447
|
-
children:
|
|
448
|
+
children: h(e.entity.description)
|
|
448
449
|
}
|
|
449
450
|
)
|
|
450
451
|
] })
|
|
@@ -648,7 +649,7 @@ const le = ({
|
|
|
648
649
|
textTransform: "uppercase"
|
|
649
650
|
}
|
|
650
651
|
};
|
|
651
|
-
},
|
|
652
|
+
}, re = (e) => {
|
|
652
653
|
const l = L(), a = w(), s = E(), { t: c } = p(), g = V(
|
|
653
654
|
S.OVERLAY
|
|
654
655
|
), { brandingImage: T, brandingColors: d, brandingLogo: A } = Y(e.entity.branding || null), x = T || q(
|
|
@@ -691,7 +692,7 @@ const le = ({
|
|
|
691
692
|
children: [
|
|
692
693
|
/* @__PURE__ */ t(r, { level: "body-sm", sx: n.headlineText, children: e.headline }),
|
|
693
694
|
/* @__PURE__ */ t(
|
|
694
|
-
|
|
695
|
+
b,
|
|
695
696
|
{
|
|
696
697
|
rulesDisplay: e.rulesDisplay,
|
|
697
698
|
isOverlayVariant: !0,
|
|
@@ -703,7 +704,7 @@ const le = ({
|
|
|
703
704
|
),
|
|
704
705
|
/* @__PURE__ */ o(i, { sx: n.contentContainer, children: [
|
|
705
706
|
/* @__PURE__ */ t(r, { level: "h4", sx: n.titleText, children: e.entity.title }),
|
|
706
|
-
/* @__PURE__ */ t(r, { level: "body-lg", sx: n.descriptionText, children:
|
|
707
|
+
/* @__PURE__ */ t(r, { level: "body-lg", sx: n.descriptionText, children: h(e.entity.description) })
|
|
707
708
|
] })
|
|
708
709
|
] }) }) }) }),
|
|
709
710
|
/* @__PURE__ */ o(i, { sx: n.bottomSection, children: [
|
|
@@ -721,8 +722,8 @@ const le = ({
|
|
|
721
722
|
] });
|
|
722
723
|
};
|
|
723
724
|
export {
|
|
724
|
-
|
|
725
|
-
|
|
725
|
+
oe as A,
|
|
726
|
+
re as O,
|
|
726
727
|
G as R,
|
|
727
|
-
|
|
728
|
+
ae as S
|
|
728
729
|
};
|
package/chunks/{OverlayLeadAfterCollection-B-N1OjPu.js → OverlayLeadAfterCollection-F2TAV9wK.js}
RENAMED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as Z, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { i as w, u as L, e as z, c as q, b as J, a as W, n as ee, W as U, B as t, T as h } from "./
|
|
3
|
-
import { h as K, g as ne, s as H, e as te } from "./helpers-
|
|
4
|
-
import { R as A, S as ie, O as le } from "./NotFoundSkeleton-
|
|
5
|
-
import
|
|
2
|
+
import { i as w, u as L, e as z, c as q, b as J, a as W, n as ee, W as U, B as t, T as h } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
|
+
import { h as K, g as ne, s as H, e as te } from "./helpers-NuC1SzL3.js";
|
|
4
|
+
import { R as A, S as ie, O as le } from "./NotFoundSkeleton-Cs6DtD9u.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import { b as X, d as ae, a as oe } from "./useImageVariant-Cex1eIqq.js";
|
|
6
8
|
const re = (e) => {
|
|
7
9
|
var s, c, d;
|
|
8
10
|
return {
|
|
@@ -193,7 +195,7 @@ const re = (e) => {
|
|
|
193
195
|
objectFit: "cover"
|
|
194
196
|
}
|
|
195
197
|
};
|
|
196
|
-
},
|
|
198
|
+
}, ue = ({
|
|
197
199
|
entity: e,
|
|
198
200
|
headline: s,
|
|
199
201
|
finalImage: c,
|
|
@@ -440,7 +442,7 @@ const re = (e) => {
|
|
|
440
442
|
flex: 1
|
|
441
443
|
}
|
|
442
444
|
};
|
|
443
|
-
},
|
|
445
|
+
}, he = ({
|
|
444
446
|
entity: e,
|
|
445
447
|
headline: s,
|
|
446
448
|
backgroundImage: c,
|
|
@@ -486,7 +488,7 @@ const re = (e) => {
|
|
|
486
488
|
/* @__PURE__ */ n(t, { sx: o.signInWrapper, children: T })
|
|
487
489
|
] })
|
|
488
490
|
] });
|
|
489
|
-
},
|
|
491
|
+
}, be = (e) => {
|
|
490
492
|
var a, g, f, u, o, k, D;
|
|
491
493
|
const s = X(
|
|
492
494
|
{
|
|
@@ -571,7 +573,7 @@ const re = (e) => {
|
|
|
571
573
|
children: p()
|
|
572
574
|
}
|
|
573
575
|
) });
|
|
574
|
-
},
|
|
576
|
+
}, Ce = (e) => {
|
|
575
577
|
const s = L(), c = w(), d = e.defaultImagePlaceholder ? e.defaultImagePlaceholder : c ? ae : oe, { brandingImage: T, brandingColors: b, brandingLogo: C } = te(e.entity.branding || null), I = T || X(
|
|
576
578
|
{
|
|
577
579
|
images: e.entity.images || null,
|
|
@@ -668,8 +670,8 @@ const re = (e) => {
|
|
|
668
670
|
);
|
|
669
671
|
};
|
|
670
672
|
export {
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
673
|
+
he as O,
|
|
674
|
+
ue as S,
|
|
675
|
+
be as a,
|
|
676
|
+
Ce as b
|
|
675
677
|
};
|
package/chunks/{OverlayScoreStateSkeleton-Bd3-ZNlU.js → OverlayScoreStateSkeleton-LQ0svzeX.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { i as k, u as F, e as z, B as l, T as a } from "./
|
|
3
|
-
import { s as I } from "./helpers-
|
|
4
|
-
import { R as v } from "./NotFoundSkeleton-
|
|
2
|
+
import { i as k, u as F, e as z, B as l, T as a } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
|
+
import { s as I } from "./helpers-NuC1SzL3.js";
|
|
4
|
+
import { R as v } from "./NotFoundSkeleton-Cs6DtD9u.js";
|
|
5
5
|
const R = (e) => ({
|
|
6
6
|
// Main container with background overlay
|
|
7
7
|
mainContainer: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as k, s as B, v as $, Y as E, Z as R, _ as b, ab as I, ac as D, y as O, z as W, A as _, D as A, P as o, X as u, E as P, a5 as X, m as Y } from "./
|
|
1
|
+
import { t as k, s as B, v as $, Y as E, Z as R, _ as b, ab as I, ac as D, y as O, z as W, A as _, D as A, P as o, X as u, E as P, a5 as X, m as Y } from "./PrizeCard-DF3QxwQJ.js";
|
|
2
2
|
import * as F from "react";
|
|
3
3
|
import { jsx as g } from "react/jsx-runtime";
|
|
4
4
|
function j(e) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsxs as w, jsx as t, Fragment as q } from "react/jsx-runtime";
|
|
2
|
-
import { i as Q, a as tt, b as ot, c as rt, e as dt, B as d, T as D, j as ct, q as gt, H as mt } from "./
|
|
2
|
+
import { i as Q, a as tt, b as ot, c as rt, e as dt, B as d, T as D, j as ct, q as gt, H as mt } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
3
|
import { useState as Y, useEffect as ft, useRef as At } from "react";
|
|
4
|
+
import "react-dom";
|
|
4
5
|
const it = (e, y) => (o) => {
|
|
5
6
|
if (!y) return `${e}${o}`;
|
|
6
7
|
const n = parseInt(o, 16);
|
|
@@ -1697,7 +1698,7 @@ const jt = ({
|
|
|
1697
1698
|
]
|
|
1698
1699
|
}
|
|
1699
1700
|
);
|
|
1700
|
-
},
|
|
1701
|
+
}, ae = ({
|
|
1701
1702
|
infoPage: e,
|
|
1702
1703
|
enableReset: y = !1,
|
|
1703
1704
|
forceMobile: o = !1
|
|
@@ -2879,7 +2880,7 @@ const Ut = ({ isDark: e }) => /* @__PURE__ */ w("g", { children: [
|
|
|
2879
2880
|
]
|
|
2880
2881
|
}
|
|
2881
2882
|
);
|
|
2882
|
-
},
|
|
2883
|
+
}, le = ({
|
|
2883
2884
|
infoPage: e,
|
|
2884
2885
|
enableReset: y = !1,
|
|
2885
2886
|
forceMobile: o = !1
|
|
@@ -4132,7 +4133,7 @@ const te = ({
|
|
|
4132
4133
|
]
|
|
4133
4134
|
}
|
|
4134
4135
|
);
|
|
4135
|
-
},
|
|
4136
|
+
}, ce = ({
|
|
4136
4137
|
infoPage: e,
|
|
4137
4138
|
enableReset: y = !1,
|
|
4138
4139
|
forceMobile: o = !1
|
|
@@ -4192,11 +4193,11 @@ export {
|
|
|
4192
4193
|
Ft as D,
|
|
4193
4194
|
ee as F,
|
|
4194
4195
|
te as O,
|
|
4195
|
-
|
|
4196
|
+
ae as P,
|
|
4196
4197
|
nt as S,
|
|
4197
4198
|
Ot as W,
|
|
4198
|
-
|
|
4199
|
-
|
|
4199
|
+
ce as a,
|
|
4200
|
+
le as b,
|
|
4200
4201
|
it as c,
|
|
4201
4202
|
Dt as d,
|
|
4202
4203
|
jt as e,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as d, z as $e, au as At, av as Ct, _ as ee, S as Te, aw as Tt, ax as St, ad as Ge, ah as Dt, a3 as jt, ai as Je, af as Ke, E as $t } from "./
|
|
1
|
+
import { P as d, z as $e, au as At, av as Ct, _ as ee, S as Te, aw as Tt, ax as St, ad as Ge, ah as Dt, a3 as jt, ai as Je, af as Ke, E as $t } from "./PrizeCard-DF3QxwQJ.js";
|
|
2
2
|
import * as L from "react";
|
|
3
3
|
import { jsx as Se } from "react/jsx-runtime";
|
|
4
4
|
const Bt = d.oneOfType([d.func, d.object]), Mt = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as C, Fragment as y } from "react/jsx-runtime";
|
|
2
|
-
import { o as w, J as E, W as P, K as v, L as I, M as k, N as x, B as S } from "./
|
|
2
|
+
import { o as w, J as E, W as P, K as v, L as I, M as k, N as x, B as S } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
3
|
import n from "react";
|
|
4
4
|
import { createPortal as B } from "react-dom";
|
|
5
5
|
const p = (t) => {
|
|
@@ -22351,7 +22351,6 @@ uo("prize.description");
|
|
|
22351
22351
|
uo("prize.cta");
|
|
22352
22352
|
uo("prize.termsAndConditions");
|
|
22353
22353
|
uo("eitherOr.buttons.close");
|
|
22354
|
-
__CORE_VERSION__;
|
|
22355
22354
|
export {
|
|
22356
22355
|
Wr as $,
|
|
22357
22356
|
$e as A,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as d, S as ce, V as me, af as it, U as je, R as lt, s as Se, t as Le, v as K, Y as at, P as i, y as ke, z as ze, A as ee, D as qe, X as te, E as Ne } from "./
|
|
1
|
+
import { _ as d, S as ce, V as me, af as it, U as je, R as lt, s as Se, t as Le, v as K, Y as at, P as i, y as ke, z as ze, A as ee, D as qe, X as te, E as Ne } from "./PrizeCard-DF3QxwQJ.js";
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import { jsx as L, jsxs as et } from "react/jsx-runtime";
|
|
4
|
-
import { c as Lt, F as Rt } from "./CheckCircle-
|
|
5
|
-
import { P as Ot } from "./Popper-
|
|
4
|
+
import { c as Lt, F as Rt } from "./CheckCircle-CV9iMpkZ.js";
|
|
5
|
+
import { P as Ot } from "./Popper-DOVSI4rJ.js";
|
|
6
6
|
const Pt = {
|
|
7
7
|
border: 0,
|
|
8
8
|
clip: "rect(0 0 0 0)",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { a, B as l, at as n } from "./
|
|
2
|
+
import { a, B as l, at as n } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
3
|
const p = ({ my: t }) => {
|
|
4
4
|
const r = a(), o = r.palette.neutral.softBg, e = r.palette.neutral.solidBg;
|
|
5
5
|
return /* @__PURE__ */ s(
|
package/chunks/{SplitLeadAfterCollection-CyXBWAIK.js → SplitLeadAfterCollection-DSw6X5fx.js}
RENAMED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { i as N, u as V, e as $, c as v, b as G, B as a, T as k, W as E, a as J } from "./
|
|
3
|
-
import { s as K, h as O } from "./helpers-
|
|
4
|
-
import { R as Q } from "./NotFoundSkeleton-
|
|
5
|
-
import
|
|
6
|
-
import { S as
|
|
1
|
+
import { jsxs as c, Fragment as F, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { i as N, u as V, e as $, c as v, b as G, B as a, T as k, W as E, a as J } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
|
+
import { s as K, h as O } from "./helpers-NuC1SzL3.js";
|
|
4
|
+
import { R as Q } from "./NotFoundSkeleton-Cs6DtD9u.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import { S as X } from "./ChanceGameEmbedVariant-DqFg4YKU.js";
|
|
7
|
+
import { d as Y, a as Z, b as _ } from "./useImageVariant-Cex1eIqq.js";
|
|
8
|
+
import "react-dom";
|
|
7
9
|
const ee = (e) => ({
|
|
8
10
|
// Main headline section with background image
|
|
9
11
|
headlineSection: {
|
|
@@ -94,30 +96,30 @@ const ee = (e) => ({
|
|
|
94
96
|
flexDirection: "column",
|
|
95
97
|
gap: e.spacingScale["3xs"]
|
|
96
98
|
}
|
|
97
|
-
}),
|
|
99
|
+
}), se = ({
|
|
98
100
|
entity: e,
|
|
99
101
|
headline: T,
|
|
100
102
|
finalImage: d,
|
|
101
|
-
signInContent:
|
|
103
|
+
signInContent: p,
|
|
102
104
|
brandingContent: b,
|
|
103
105
|
rulesDisplay: i
|
|
104
106
|
}) => {
|
|
105
107
|
var u;
|
|
106
|
-
const s = N(), S = V(), m = $(),
|
|
108
|
+
const s = N(), S = V(), m = $(), r = v().primary, R = v().secondary, g = G(), o = ((u = e.branding) == null ? void 0 : u.colors) || null, C = (o == null ? void 0 : o.contentColor) || S.colorSchemes.dark.textColor, I = (o == null ? void 0 : o.secondaryColor) || S.colorSchemes.dark.textColor, l = ee({
|
|
107
109
|
finalImage: d,
|
|
108
110
|
spacingScale: m,
|
|
109
111
|
borderRadius: g,
|
|
110
|
-
fontFamilyPrimary:
|
|
111
|
-
fontFamilySecondary:
|
|
112
|
-
secondaryColor:
|
|
112
|
+
fontFamilyPrimary: r,
|
|
113
|
+
fontFamilySecondary: R,
|
|
114
|
+
secondaryColor: I,
|
|
113
115
|
contentColor: C,
|
|
114
116
|
opacity: "60%",
|
|
115
117
|
isMobile: s
|
|
116
118
|
});
|
|
117
|
-
return /* @__PURE__ */
|
|
118
|
-
/* @__PURE__ */ t(a, { sx: l.headlineSection, children: /* @__PURE__ */
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
/* @__PURE__ */
|
|
119
|
+
return /* @__PURE__ */ c(F, { children: [
|
|
120
|
+
/* @__PURE__ */ t(a, { sx: l.headlineSection, children: /* @__PURE__ */ c(a, { sx: l.headlineContent, children: [
|
|
121
|
+
/* @__PURE__ */ c(a, { sx: { display: "flex", flexDirection: "column", alignItems: s ? "center" : "flex-start", gap: m["3xs"] }, children: [
|
|
122
|
+
/* @__PURE__ */ c(a, { sx: { display: "flex", alignItems: "center", gap: m["3xs"] }, children: [
|
|
121
123
|
/* @__PURE__ */ t(k, { sx: l.headlineText, children: T }),
|
|
122
124
|
/* @__PURE__ */ t(
|
|
123
125
|
Q,
|
|
@@ -127,27 +129,27 @@ const ee = (e) => ({
|
|
|
127
129
|
}
|
|
128
130
|
)
|
|
129
131
|
] }),
|
|
130
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ c(a, { sx: l.contentContainer, children: [
|
|
131
133
|
/* @__PURE__ */ t(k, { sx: l.titleText, children: e.title }),
|
|
132
134
|
/* @__PURE__ */ t(k, { sx: l.descriptionText, children: K(e.description) })
|
|
133
135
|
] })
|
|
134
136
|
] }),
|
|
135
137
|
s ? /* @__PURE__ */ t(F, {}) : b
|
|
136
138
|
] }) }),
|
|
137
|
-
/* @__PURE__ */ t(a, { sx: l.mainContentArea, children: /* @__PURE__ */
|
|
138
|
-
|
|
139
|
+
/* @__PURE__ */ t(a, { sx: l.mainContentArea, children: /* @__PURE__ */ c(a, { sx: l.ctaWrapper, children: [
|
|
140
|
+
p,
|
|
139
141
|
s && b
|
|
140
142
|
] }) })
|
|
141
143
|
] });
|
|
142
|
-
},
|
|
144
|
+
}, de = (e) => {
|
|
143
145
|
var D, l, u, A, L, M, W;
|
|
144
|
-
const T = V(), d = N(),
|
|
146
|
+
const T = V(), d = N(), p = e.defaultImagePlaceholder ? e.defaultImagePlaceholder : d ? Y : Z, b = _(
|
|
145
147
|
{
|
|
146
148
|
images: e.entity.images || null,
|
|
147
|
-
imagePlaceholder:
|
|
149
|
+
imagePlaceholder: p
|
|
148
150
|
},
|
|
149
151
|
E.SPLIT
|
|
150
|
-
), i = ((D = e.entity.branding) == null ? void 0 : D.colors) || null, s = (i == null ? void 0 : i.borderColor) || null, S = (i == null ? void 0 : i.backgroundColor) || J().surfaceVariant, m = O(S),
|
|
152
|
+
), i = ((D = e.entity.branding) == null ? void 0 : D.colors) || null, s = (i == null ? void 0 : i.borderColor) || null, S = (i == null ? void 0 : i.backgroundColor) || J().surfaceVariant, m = O(S), r = $(), R = G(), g = d ? ((u = (l = e.entity.branding) == null ? void 0 : l.images) == null ? void 0 : u.mobileLogo) || ((L = (A = e.entity.branding) == null ? void 0 : A.images) == null ? void 0 : L.mainLogo) || "" : ((W = (M = e.entity.branding) == null ? void 0 : M.images) == null ? void 0 : W.mainLogo) || "", o = {
|
|
151
153
|
questionArea: {
|
|
152
154
|
width: "100%",
|
|
153
155
|
justifyContent: "center",
|
|
@@ -155,20 +157,20 @@ const ee = (e) => ({
|
|
|
155
157
|
flexDirection: "column"
|
|
156
158
|
},
|
|
157
159
|
questionAreaContent: {
|
|
158
|
-
p:
|
|
160
|
+
p: r.lg,
|
|
159
161
|
display: "flex",
|
|
160
162
|
flexDirection: "column",
|
|
161
163
|
justifyContent: "center",
|
|
162
164
|
gap: "16px"
|
|
163
165
|
},
|
|
164
166
|
leadContentContainer: {
|
|
165
|
-
p:
|
|
166
|
-
gap:
|
|
167
|
+
p: r.md,
|
|
168
|
+
gap: r.md,
|
|
167
169
|
display: "flex",
|
|
168
170
|
flexDirection: "column",
|
|
169
171
|
backdropFilter: "blur(4px)",
|
|
170
172
|
bgcolor: `rgba(${m.replace(/[^\d,]/g, "")}, 0.5)`,
|
|
171
|
-
borderRadius:
|
|
173
|
+
borderRadius: R.sm
|
|
172
174
|
}
|
|
173
175
|
}, C = (P) => {
|
|
174
176
|
var n, x, f, y, h;
|
|
@@ -183,10 +185,10 @@ const ee = (e) => ({
|
|
|
183
185
|
isCentered: !1
|
|
184
186
|
}
|
|
185
187
|
);
|
|
186
|
-
},
|
|
188
|
+
}, I = () => {
|
|
187
189
|
var x, f, y, h, j, B, w, z, H, U, q;
|
|
188
190
|
const { CollectLeadWrapper: P, entity: n } = e;
|
|
189
|
-
return /* @__PURE__ */
|
|
191
|
+
return /* @__PURE__ */ c(F, { children: [
|
|
190
192
|
/* @__PURE__ */ t(a, { sx: o.questionArea, children: /* @__PURE__ */ t(a, { sx: o.questionAreaContent, children: /* @__PURE__ */ t(a, { sx: o.leadContentContainer, children: /* @__PURE__ */ t(
|
|
191
193
|
P,
|
|
192
194
|
{
|
|
@@ -209,13 +211,13 @@ const ee = (e) => ({
|
|
|
209
211
|
isSubmittingParticipation: e.isSubmitting
|
|
210
212
|
}
|
|
211
213
|
) }) }) }),
|
|
212
|
-
g && d && /* @__PURE__ */ t(a, { sx: { mb:
|
|
214
|
+
g && d && /* @__PURE__ */ t(a, { sx: { mb: r.lg, px: r.lg }, children: C(
|
|
213
215
|
(i == null ? void 0 : i.contentColor) || T.colorSchemes.dark.textColor
|
|
214
216
|
) })
|
|
215
217
|
] });
|
|
216
218
|
};
|
|
217
219
|
return /* @__PURE__ */ t(e.MainCard, { brandingBorderColor: s, children: /* @__PURE__ */ t(
|
|
218
|
-
|
|
220
|
+
X,
|
|
219
221
|
{
|
|
220
222
|
entity: e.entity,
|
|
221
223
|
headline: e.headline,
|
|
@@ -223,11 +225,11 @@ const ee = (e) => ({
|
|
|
223
225
|
brandingLogo: g,
|
|
224
226
|
renderPresentedBy: C,
|
|
225
227
|
rulesDisplay: e.rulesDisplay,
|
|
226
|
-
children:
|
|
228
|
+
children: I()
|
|
227
229
|
}
|
|
228
230
|
) });
|
|
229
231
|
};
|
|
230
232
|
export {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
+
se as S,
|
|
234
|
+
de as a
|
|
233
235
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aj as C, P as e, ak as D, _ as T, al as g, am as f, an as N, ao as R, ap as E, a6 as F, z as _, D as B, aq as G, ar as b, E as w, as as $, v as M, y as U } from "./
|
|
1
|
+
import { aj as C, P as e, ak as D, _ as T, al as g, am as f, an as N, ao as R, ap as E, a6 as F, z as _, D as B, aq as G, ar as b, E as w, as as $, v as M, y as U } from "./PrizeCard-DF3QxwQJ.js";
|
|
2
2
|
import * as m from "react";
|
|
3
3
|
import { jsx as A } from "react/jsx-runtime";
|
|
4
4
|
const J = C(), L = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"], q = D(), z = J("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as c, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { i as g, B as i } from "./
|
|
2
|
+
import { i as g, B as i } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
3
|
const s = (e) => ({
|
|
4
4
|
// Image container (left position)
|
|
5
5
|
imageContainerLeft: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as p, R as G, S as Y, U as Z, V as Q, s as N, t as E, v as D, y as U, z as j, A as B, P as e, X as O, E as S, Y as ee, Z as A } from "./
|
|
1
|
+
import { _ as p, R as G, S as Y, U as Z, V as Q, s as N, t as E, v as D, y as U, z as j, A as B, P as e, X as O, E as S, Y as ee, Z as A } from "./PrizeCard-DF3QxwQJ.js";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import { u as w, C as X, b as q, l as oe, L as te, m as ne, c as ae, d as se, e as ie, f as re, g as le, R as ce, h as de, i as ue, s as pe, j as be } from "./Select-
|
|
3
|
+
import { u as w, C as X, b as q, l as oe, L as te, m as ne, c as ae, d as se, e as ie, f as re, g as le, R as ce, h as de, i as ue, s as pe, j as be } from "./Select-BHeTdOYr.js";
|
|
4
4
|
import { jsx as C } from "react/jsx-runtime";
|
|
5
|
-
import { u as fe } from "./useEventCallback-
|
|
5
|
+
import { u as fe } from "./useEventCallback-CizlfWBo.js";
|
|
6
6
|
function ve(o) {
|
|
7
7
|
const {
|
|
8
8
|
value: t,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a7 as de, S as L, _ as g, z as U, af as M, P as r, s as ue, t as pe, v as F, y as xe, A as E, X as A, E as fe } from "./
|
|
1
|
+
import { a7 as de, S as L, _ as g, z as U, af as M, P as r, s as ue, t as pe, v as F, y as xe, A as E, X as A, E as fe } from "./PrizeCard-DF3QxwQJ.js";
|
|
2
2
|
import * as f from "react";
|
|
3
|
-
import { u as ge, o as J } from "./useEventCallback-
|
|
4
|
-
import { u as he } from "./useForwardedInput-
|
|
3
|
+
import { u as ge, o as J } from "./useEventCallback-CizlfWBo.js";
|
|
4
|
+
import { u as he } from "./useForwardedInput-RWDntqBU.js";
|
|
5
5
|
import { jsxs as j, jsx as I } from "react/jsx-runtime";
|
|
6
6
|
function ve(a, e = 166) {
|
|
7
7
|
let p;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { m as c } from "./
|
|
2
|
+
import { m as c } from "./PrizeCard-DF3QxwQJ.js";
|
|
3
3
|
const t = c(/* @__PURE__ */ m("path", {
|
|
4
4
|
d: "M15 1H9v2h6zm-4 13h2V8h-2zm8.03-6.61 1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61M12 20c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"
|
|
5
5
|
}), "TimerOutlined");
|