fansunited-frontend-components 0.0.49 → 0.0.52

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.
Files changed (67) hide show
  1. package/Betslip.d.ts +5 -0
  2. package/Betslip.d.ts.map +1 -0
  3. package/Betslip.js +5 -0
  4. package/ChanceGame.js +87 -86
  5. package/ClassicQuizPlay.js +174 -173
  6. package/CollectLead.js +33 -32
  7. package/Discussion.js +1 -1
  8. package/EitherOrPlay.js +171 -170
  9. package/EventGamePlay.js +25 -24
  10. package/Leaderboard.js +88 -87
  11. package/MatchQuizPlay.js +28 -27
  12. package/PersonalityQuizPlay.js +21 -20
  13. package/PickThePair.js +87 -86
  14. package/PollVote.js +19 -18
  15. package/Predictor.js +4756 -4693
  16. package/README.md +523 -1
  17. package/chunks/{AlertMessage-Ds45MBHB.js → AlertMessage-CQ9WJHSb.js} +25 -24
  18. package/chunks/{ArrowRightAlt-DKADQN2o.js → ArrowRightAlt-C1U8SNu-.js} +5 -5
  19. package/chunks/{Avatar-K1EWhhkA.js → Avatar-COVJnfGS.js} +79 -78
  20. package/chunks/Button-COvmPv4P.js +2270 -0
  21. package/chunks/{ChanceGameEmbedVariant-DqFg4YKU.js → ChanceGameEmbedVariant-lfZlSATv.js} +44 -43
  22. package/chunks/{CheckCircle-CV9iMpkZ.js → CheckCircle-h7-xLUq-.js} +27 -26
  23. package/chunks/{Close-C6Cw96SJ.js → Close-BTC6xyyj.js} +1 -1
  24. package/chunks/{Close-BHp4N1-6.js → Close-DBaorsP1.js} +1 -1
  25. package/chunks/{CollectLeadForm-DnLKA8qz.js → CollectLeadForm-O7Cpe0ix.js} +128 -127
  26. package/chunks/{Divider-BvUimRFw.js → Divider-DBCeQt9x.js} +15 -14
  27. package/chunks/{Edit-CZ3ni-Ur.js → Edit-BwwxJdNv.js} +35 -34
  28. package/chunks/{EmojiEvents-DpmLq98V.js → EmojiEvents-DVPGlTU_.js} +3 -3
  29. package/chunks/{FavoriteBorder-DUK_DrY4.js → FavoriteBorder-BnhfbKy1.js} +1 -1
  30. package/chunks/{FormControl-BUItlVIg.js → FormControl-COjw1gQd.js} +38 -37
  31. package/chunks/{FormLabel-CeTNPUn7.js → FormLabel-e5_v5cjP.js} +18 -17
  32. package/chunks/{Input-MJCQcYzo.js → Input-er-Yyqtt.js} +17 -16
  33. package/chunks/{KeyboardArrowDown-SZpn2GhJ.js → KeyboardArrowDown-BeaYH92n.js} +1 -1
  34. package/chunks/{ModalDialog-Cfgv9UAA.js → ModalDialog-XkhZtgYm.js} +58 -57
  35. package/chunks/{NotFoundSkeleton-Cs6DtD9u.js → NotFoundSkeleton-C71TRYl5.js} +95 -94
  36. package/chunks/{Notification-pcKtlRms.js → Notification-CkPupg9q.js} +57 -56
  37. package/chunks/{OverlayApiErrorSkeleton-Dl3s5Oaf.js → OverlayApiErrorSkeleton-CkuDu9uV.js} +20 -19
  38. package/chunks/{OverlayLeadAfterCollection-F2TAV9wK.js → OverlayLeadAfterCollection-Dkxl4cKn.js} +28 -27
  39. package/chunks/{OverlayScoreStateSkeleton-LQ0svzeX.js → OverlayScoreStateSkeleton-RauDjIg5.js} +16 -15
  40. package/chunks/{Person-BGdniS_p.js → Person-WCt2MN5j.js} +32 -31
  41. package/chunks/{PickOneOfX-Ci4ZJf7G.js → PickOneOfX-DabfTR2W.js} +8 -7
  42. package/chunks/{Popper-DOVSI4rJ.js → Popper-OPgbZzY7.js} +127 -126
  43. package/chunks/{Portal-Cs0dgwmH.js → Portal-BQilulgu.js} +5 -5
  44. package/chunks/{PrizeCard-DF3QxwQJ.js → PrizeCard-DgHyperX.js} +5238 -6653
  45. package/chunks/{Select-BHeTdOYr.js → Select-9gmhEo71.js} +133 -132
  46. package/chunks/{Spinner-DbUB64Gj.js → Spinner-BoysVPn7.js} +12 -11
  47. package/chunks/{SplitLeadAfterCollection-DSw6X5fx.js → SplitLeadAfterCollection-C5oCDYT1.js} +15 -14
  48. package/chunks/{Stack-BpHk5eb0.js → Stack-INH9bhkC.js} +30 -29
  49. package/chunks/{StandardContentSkeleton-Bae1LLQ_.js → StandardContentSkeleton-DsAhzMfU.js} +1 -1
  50. package/chunks/{Tabs-hwJ7jsUl.js → Tabs-DaVatjCJ.js} +60 -59
  51. package/chunks/{Textarea-zOtMdgc5.js → Textarea-DeMxp3Zn.js} +48 -47
  52. package/chunks/{TimerOutlined-DWE7f0YX.js → TimerOutlined-DJh2vL3s.js} +3 -3
  53. package/chunks/{helpers-NuC1SzL3.js → helpers-Bd9FT9hj.js} +1 -1
  54. package/chunks/{index-D1K1OB4p.js → index-5MPtbA_r.js} +255 -239
  55. package/chunks/index-BjfKDjAM.js +4 -0
  56. package/chunks/main-DDb9jezz.js +1758 -0
  57. package/chunks/{main-hB01WcoP.js → main-DWw1vqVY.js} +38 -37
  58. package/chunks/{useEventCallback-CizlfWBo.js → useEventCallback-vbTEFVPa.js} +8 -7
  59. package/chunks/{useForwardedInput-RWDntqBU.js → useForwardedInput-DumYVfgj.js} +26 -25
  60. package/chunks/{useImageVariant-Cex1eIqq.js → useImageVariant-B1ObJh_B.js} +1 -1
  61. package/components.d.ts +2 -1
  62. package/components.d.ts.map +1 -1
  63. package/index.d.ts +1 -0
  64. package/index.d.ts.map +1 -1
  65. package/index.js +5 -3
  66. package/package.json +5 -1
  67. package/chunks/index-BaypiKlO.js +0 -4
@@ -1,24 +1,25 @@
1
1
  import { jsx as t, jsxs as A, Fragment as K } from "react/jsx-runtime";
2
2
  import Pe, { useState as G, useEffect as Re, useMemo as Oe } from "react";
3
- import { u as X, a as Q, b as J, c as Y, d as we, e as ae, B as o, T as k, i as j, f as U, g as Qe, C as Le, h as De, W as q, j as Z, k as at, l as ot, n as Ke, o as lt } from "./chunks/PrizeCard-DF3QxwQJ.js";
4
- import { P as rt } from "./chunks/Portal-Cs0dgwmH.js";
3
+ import { u as X, a as Q, b as J, c as Y, d as we, e as ae, B as o, i as j, f as U, g as Qe, C as Le, h as De, W as q, j as at, k as ot, m as Ke, n as lt } from "./chunks/PrizeCard-DgHyperX.js";
4
+ import { P as rt } from "./chunks/Portal-BQilulgu.js";
5
5
  import "react-dom";
6
- import { g as ct, e as ze, h as ue, s as st, a as Je, b as dt } from "./chunks/helpers-NuC1SzL3.js";
7
- import { S as _e } from "./chunks/Spinner-DbUB64Gj.js";
8
- import { S as mt, a as gt, b as Xe, C as Ne, c as Ge } from "./chunks/ChanceGameEmbedVariant-DqFg4YKU.js";
9
- import { s as ut, l as et } from "./chunks/index-D1K1OB4p.js";
10
- import { A as Be, O as yt } from "./chunks/ArrowRightAlt-DKADQN2o.js";
11
- import { A as Ae, O as ft, S as xt, N as ht } from "./chunks/NotFoundSkeleton-Cs6DtD9u.js";
12
- import { u as ye, d as de, a as me, b as le } from "./chunks/useImageVariant-Cex1eIqq.js";
13
- import { C as bt } from "./chunks/CollectLeadForm-DnLKA8qz.js";
14
- import { A as pe, R as ve, O as tt, S as nt } from "./chunks/OverlayApiErrorSkeleton-Dl3s5Oaf.js";
15
- import { S as Ze } from "./chunks/StandardContentSkeleton-Bae1LLQ_.js";
16
- import { T as Te, a as Fe, b as Ce, t as Ye, c as Ie } from "./chunks/Tabs-hwJ7jsUl.js";
17
- import { C as St } from "./chunks/CheckCircle-CV9iMpkZ.js";
18
- import { A as Ct, I as It, W as Pt } from "./chunks/AlertMessage-Ds45MBHB.js";
19
- import { S as zt } from "./chunks/Stack-BpHk5eb0.js";
20
- import { S as At, O as Tt, a as Ft, b as kt } from "./chunks/OverlayLeadAfterCollection-F2TAV9wK.js";
21
- import { S as Rt, a as wt } from "./chunks/SplitLeadAfterCollection-DSw6X5fx.js";
6
+ import { g as ct, e as ze, h as ue, s as st, a as Je, b as dt } from "./chunks/helpers-Bd9FT9hj.js";
7
+ import { S as _e } from "./chunks/Spinner-BoysVPn7.js";
8
+ import { S as mt, a as gt, b as Xe, C as Ne, c as Ge } from "./chunks/ChanceGameEmbedVariant-lfZlSATv.js";
9
+ import { s as ut, l as et } from "./chunks/index-5MPtbA_r.js";
10
+ import { A as Be, O as yt } from "./chunks/ArrowRightAlt-C1U8SNu-.js";
11
+ import { A as Ae, O as ft, S as xt, N as ht } from "./chunks/NotFoundSkeleton-C71TRYl5.js";
12
+ import { u as ye, d as de, a as me, b as le } from "./chunks/useImageVariant-B1ObJh_B.js";
13
+ import { T as k, B as Z } from "./chunks/Button-COvmPv4P.js";
14
+ import { C as bt } from "./chunks/CollectLeadForm-O7Cpe0ix.js";
15
+ import { A as pe, R as ve, O as tt, S as nt } from "./chunks/OverlayApiErrorSkeleton-CkuDu9uV.js";
16
+ import { S as Ze } from "./chunks/StandardContentSkeleton-DsAhzMfU.js";
17
+ import { T as Te, a as Fe, b as Ce, t as Ye, c as Ie } from "./chunks/Tabs-DaVatjCJ.js";
18
+ import { C as St } from "./chunks/CheckCircle-h7-xLUq-.js";
19
+ import { A as Ct, I as It, W as Pt } from "./chunks/AlertMessage-CQ9WJHSb.js";
20
+ import { S as zt } from "./chunks/Stack-INH9bhkC.js";
21
+ import { S as At, O as Tt, a as Ft, b as kt } from "./chunks/OverlayLeadAfterCollection-Dkxl4cKn.js";
22
+ import { S as Rt, a as wt } from "./chunks/SplitLeadAfterCollection-C5oCDYT1.js";
22
23
  const Qt = (e, n) => {
23
24
  const [c, a] = G(null), l = async () => {
24
25
  try {
@@ -5151,7 +5152,7 @@ const hn = (e) => {
5151
5152
  );
5152
5153
  }
5153
5154
  return ee();
5154
- }, bn = (e) => /* @__PURE__ */ t(rt, { packageName: "personality-quiz-play", ...e, children: /* @__PURE__ */ t(hn, { ...e }) }), jn = bn;
5155
+ }, bn = (e) => /* @__PURE__ */ t(rt, { packageName: "personality-quiz-play", ...e, children: /* @__PURE__ */ t(hn, { ...e }) }), Un = bn;
5155
5156
  export {
5156
- jn as PersonalityQuizPlay
5157
+ Un as PersonalityQuizPlay
5157
5158
  };
package/PickThePair.js CHANGED
@@ -1,14 +1,15 @@
1
- import { jsx as t, jsxs as w, Fragment as J } from "react/jsx-runtime";
2
- import { g as Ie, h as se, c as We, l as De } from "./chunks/helpers-NuC1SzL3.js";
3
- import K, { useMemo as me, useCallback as Le, useEffect as de, useState as G } from "react";
4
- import { f as ne, i as Z, h as ze, b as ee, a as X, d as ge, B as h, G as ae, c as re, p as Be, T as p, u as ue, e as te, j as ke, l as pe, W as fe, H as Ue, o as Ae, J as $e, K as _e, L as He, M as Oe, N as Ee } from "./chunks/PrizeCard-DF3QxwQJ.js";
5
- import { S as je } from "./chunks/Spinner-DbUB64Gj.js";
1
+ import { jsx as t, jsxs as w, Fragment as Q } from "react/jsx-runtime";
2
+ import { g as Ie, h as se, c as We, l as De } from "./chunks/helpers-Bd9FT9hj.js";
3
+ import K, { useMemo as me, useCallback as ze, useEffect as de, useState as G } from "react";
4
+ import { f as ne, i as Z, h as Le, b as ee, a as X, d as ge, B as h, x as ae, c as re, o as Be, u as ue, e as te, k as ke, W as fe, y as Ue, n as Ae, z as $e, A as _e, D as He, E as Ee, F as Oe } from "./chunks/PrizeCard-DgHyperX.js";
5
+ import { S as je } from "./chunks/Spinner-BoysVPn7.js";
6
6
  import { createPortal as Me } from "react-dom";
7
7
  import { u as Ne } from "./chunks/useInfoPage-BHdgKdme.js";
8
- import { N as Ve, S as Ye, O as qe } from "./chunks/NotFoundSkeleton-Cs6DtD9u.js";
9
- import { C as Xe } from "./chunks/CollectLeadForm-DnLKA8qz.js";
10
- import { b as he, d as Ge, a as Je } from "./chunks/useImageVariant-Cex1eIqq.js";
11
- import { T as Qe } from "./chunks/TimerOutlined-DWE7f0YX.js";
8
+ import { N as Ve, S as Ye, O as qe } from "./chunks/NotFoundSkeleton-C71TRYl5.js";
9
+ import { C as Xe } from "./chunks/CollectLeadForm-O7Cpe0ix.js";
10
+ import { b as he, d as Ge, a as Qe } from "./chunks/useImageVariant-B1ObJh_B.js";
11
+ import { T as p, B as pe } from "./chunks/Button-COvmPv4P.js";
12
+ import { T as Je } from "./chunks/TimerOutlined-DJh2vL3s.js";
12
13
  const xe = ({
13
14
  sdk: e,
14
15
  contentId: n,
@@ -29,7 +30,7 @@ const xe = ({
29
30
  isSubmittingParticipation: S = !1,
30
31
  onSuccessLabel: W
31
32
  }) => {
32
- const { t: R } = ne(), T = y ?? R("leads.header.title"), N = g ?? R("leads.header.description"), z = u ?? R("leads.buttons.submit"), L = x ?? R("leads.success.title"), I = b ?? R("leads.success.description"), U = a ? {
33
+ const { t: R } = ne(), T = y ?? R("leads.header.title"), N = g ?? R("leads.header.description"), L = u ?? R("leads.buttons.submit"), z = x ?? R("leads.success.title"), I = b ?? R("leads.success.description"), U = a ? {
33
34
  defaultLabel: W,
34
35
  onClick: a
35
36
  } : void 0, F = {
@@ -61,8 +62,8 @@ const xe = ({
61
62
  labels: {
62
63
  title: T,
63
64
  description: N,
64
- submitButtonLabel: z,
65
- successTitle: L,
65
+ submitButtonLabel: L,
66
+ successTitle: z,
66
67
  successDescription: I
67
68
  },
68
69
  syncWithProfile: P,
@@ -74,7 +75,7 @@ const xe = ({
74
75
  brandingBorderColor: n,
75
76
  state: r
76
77
  }) => {
77
- const c = Z(), i = ze(), s = r === "play" ? i : c, l = ee().md, d = n || X().secondaryContainer, o = ge().size + " solid " + d;
78
+ const c = Z(), i = Le(), s = r === "play" ? i : c, l = ee().md, d = n || X().secondaryContainer, o = ge().size + " solid " + d;
78
79
  return /* @__PURE__ */ t(
79
80
  h,
80
81
  {
@@ -521,12 +522,12 @@ const ve = ({
521
522
  disabled: o = !1,
522
523
  isTimeUp: y = !1
523
524
  }) => {
524
- const g = Z(), u = X(), x = ue(), b = te(), P = ee().xl, S = ge().size, W = (a == null ? void 0 : a.primary_color) || u.palette.primary.plainColor, R = (a == null ? void 0 : a.content_color) || x.colorSchemes.light.textColor, T = x.colorSchemes.dark.textColor, N = u.palette.success.plainColor, z = u.palette.danger.plainColor, I = et({
525
+ const g = Z(), u = X(), x = ue(), b = te(), P = ee().xl, S = ge().size, W = (a == null ? void 0 : a.primary_color) || u.palette.primary.plainColor, R = (a == null ? void 0 : a.content_color) || x.colorSchemes.light.textColor, T = x.colorSchemes.dark.textColor, N = u.palette.success.plainColor, L = u.palette.danger.plainColor, I = et({
525
526
  primaryColor: W,
526
527
  textColor: R,
527
528
  whiteTextColor: T,
528
529
  successColor: N,
529
- dangerColor: z,
530
+ dangerColor: L,
530
531
  optionBackground: "#FFFFFF",
531
532
  spacingScale: b,
532
533
  xlBorderRadius: P,
@@ -534,11 +535,11 @@ const ve = ({
534
535
  }), U = me(
535
536
  () => Fe(e, n),
536
537
  [e, n]
537
- ), F = (k) => e.find((f) => f.id === k), $ = (k) => r.some((f) => f.leftId === k), O = (k) => r.some((f) => f.rightId === k), _ = (k, f) => {
538
+ ), F = (k) => e.find((f) => f.id === k), $ = (k) => r.some((f) => f.leftId === k), E = (k) => r.some((f) => f.rightId === k), _ = (k, f) => {
538
539
  var B, j, M;
539
540
  const C = F(k);
540
541
  if (!C) return null;
541
- const m = f === "left" ? $(k) : O(k), v = f === "left" && c === k || f === "right" && i === k, H = (v || m) && C.images, A = g ? ((B = C.images) == null ? void 0 : B.mobile) || ((j = C.images) == null ? void 0 : j.main) : (M = C.images) == null ? void 0 : M.main, E = f === "left" ? C.optionA : C.optionB, V = () => {
542
+ const m = f === "left" ? $(k) : E(k), v = f === "left" && c === k || f === "right" && i === k, H = (v || m) && C.images, A = g ? ((B = C.images) == null ? void 0 : B.mobile) || ((j = C.images) == null ? void 0 : j.main) : (M = C.images) == null ? void 0 : M.main, O = f === "left" ? C.optionA : C.optionB, V = () => {
542
543
  o || s || y || (f === "left" ? l(k) : d(k));
543
544
  }, D = s && v, Y = s && !v;
544
545
  return /* @__PURE__ */ w(
@@ -556,18 +557,18 @@ const ve = ({
556
557
  {
557
558
  loading: "lazy",
558
559
  src: A,
559
- alt: E.title,
560
+ alt: O.title,
560
561
  style: { width: "100%", height: "100%", objectFit: "cover" }
561
562
  }
562
563
  ) }),
563
564
  /* @__PURE__ */ w(h, { sx: I.textContainer, children: [
564
- /* @__PURE__ */ t(p, { level: "body-md", sx: I.getOptionTitleStyle(f, v, m, D), children: E.title }),
565
- E.subtitle && /* @__PURE__ */ t(
565
+ /* @__PURE__ */ t(p, { level: "body-md", sx: I.getOptionTitleStyle(f, v, m, D), children: O.title }),
566
+ O.subtitle && /* @__PURE__ */ t(
566
567
  p,
567
568
  {
568
569
  level: "body-sm",
569
570
  sx: I.getOptionSubtitleStyle(f, v, m, D),
570
- children: E.subtitle
571
+ children: O.subtitle
571
572
  }
572
573
  )
573
574
  ] }),
@@ -576,7 +577,7 @@ const ve = ({
576
577
  {
577
578
  loading: "lazy",
578
579
  src: A,
579
- alt: E.title,
580
+ alt: O.title,
580
581
  style: { width: "100%", height: "100%", objectFit: "cover" }
581
582
  }
582
583
  ) })
@@ -603,7 +604,7 @@ const ve = ({
603
604
  transform: "scale(1)"
604
605
  }
605
606
  }
606
- }, x = Le(() => {
607
+ }, x = ze(() => {
607
608
  const S = e.timer - 1;
608
609
  e.onTimeUpdate(S);
609
610
  }, [e.onTimeUpdate, e.timer]);
@@ -651,7 +652,7 @@ const ve = ({
651
652
  },
652
653
  children: [
653
654
  /* @__PURE__ */ t(
654
- Qe,
655
+ Je,
655
656
  {
656
657
  sx: {
657
658
  width: "24px",
@@ -835,8 +836,8 @@ const ve = ({
835
836
  );
836
837
  }, tt = (e) => {
837
838
  const n = re().primary, r = ee().xl, c = X().palette.primary.onPrimary, i = e.selectedOptions.length === 0 || e.isVoting;
838
- return /* @__PURE__ */ t(J, { children: /* @__PURE__ */ t(
839
- ke,
839
+ return /* @__PURE__ */ t(Q, { children: /* @__PURE__ */ t(
840
+ pe,
840
841
  {
841
842
  variant: "soft",
842
843
  disabled: i,
@@ -898,8 +899,8 @@ const ve = ({
898
899
  }
899
900
  ) });
900
901
  }, nt = (e) => {
901
- var T, N, z, L, I, U, F, $, O, _, k, f, C, m, v, H, A, E, V, D, Y, B, j;
902
- const { t: n } = ne(), r = Z(), c = pe(), i = ((T = e.infoPage.branding) == null ? void 0 : T.colors) || null, s = r ? ((z = (N = e.infoPage.branding) == null ? void 0 : N.images) == null ? void 0 : z.mobile_logo) || ((I = (L = e.infoPage.branding) == null ? void 0 : L.images) == null ? void 0 : I.main_logo) || "" : ((F = (U = e.infoPage.branding) == null ? void 0 : U.images) == null ? void 0 : F.main_logo) || "", l = e.imagePosition || "left", [d, a] = G(!1), o = he(
902
+ var T, N, L, z, I, U, F, $, E, _, k, f, C, m, v, H, A, O, V, D, Y, B, j;
903
+ const { t: n } = ne(), r = Z(), c = ke(), i = ((T = e.infoPage.branding) == null ? void 0 : T.colors) || null, s = r ? ((L = (N = e.infoPage.branding) == null ? void 0 : N.images) == null ? void 0 : L.mobile_logo) || ((I = (z = e.infoPage.branding) == null ? void 0 : z.images) == null ? void 0 : I.main_logo) || "" : ((F = (U = e.infoPage.branding) == null ? void 0 : U.images) == null ? void 0 : F.main_logo) || "", l = e.imagePosition || "left", [d, a] = G(!1), o = he(
903
904
  {
904
905
  images: e.infoPage.images,
905
906
  imagePlaceholder: e.defaultImagePlaceholderUrl || ""
@@ -913,14 +914,14 @@ const ve = ({
913
914
  mdBorderRadius: b,
914
915
  isExtraSmall: y
915
916
  }), W = e.matchedPairs.length === e.pairData.pairs.length, R = (M) => {
916
- var q, Q, ie, oe, le;
917
+ var q, J, ie, oe, le;
917
918
  return /* @__PURE__ */ t(
918
919
  Re,
919
920
  {
920
921
  brandingLogo: s,
921
922
  textColor: M,
922
923
  label: ((q = e.infoPage.labels) == null ? void 0 : q.sponsor) || null,
923
- primaryUrl: (ie = (Q = e.infoPage.branding) == null ? void 0 : Q.urls) == null ? void 0 : ie.primary_url,
924
+ primaryUrl: (ie = (J = e.infoPage.branding) == null ? void 0 : J.urls) == null ? void 0 : ie.primary_url,
924
925
  secondaryUrl: (le = (oe = e.infoPage.branding) == null ? void 0 : oe.urls) == null ? void 0 : le.secondary_url
925
926
  }
926
927
  );
@@ -939,7 +940,7 @@ const ve = ({
939
940
  imagePosition: l,
940
941
  embedCodeContainerRef: void 0,
941
942
  hasEmbedCode: !1,
942
- children: /* @__PURE__ */ w(J, { children: [
943
+ children: /* @__PURE__ */ w(Q, { children: [
943
944
  (($ = e.infoPage.labels) == null ? void 0 : $.welcome) && /* @__PURE__ */ t(
944
945
  p,
945
946
  {
@@ -1008,7 +1009,7 @@ const ve = ({
1008
1009
  sdk: e.sdk,
1009
1010
  contentId: e.infoPage.id,
1010
1011
  contentType: e.infoPage.type,
1011
- onSuccessLabel: ((O = e.infoPage.labels) == null ? void 0 : O.buttonLabel) || n("pickThePair.buttons.submit"),
1012
+ onSuccessLabel: ((E = e.infoPage.labels) == null ? void 0 : E.buttonLabel) || n("pickThePair.buttons.submit"),
1012
1013
  contentName: e.infoPage.title,
1013
1014
  brandingColors: (_ = e.infoPage.branding) == null ? void 0 : _.colors,
1014
1015
  brandingUrls: (k = e.infoPage.branding) == null ? void 0 : k.urls,
@@ -1018,7 +1019,7 @@ const ve = ({
1018
1019
  leadTitle: (v = e.infoPage.labels) == null ? void 0 : v.leadTitle,
1019
1020
  leadDescription: (H = e.infoPage.labels) == null ? void 0 : H.leadDescription,
1020
1021
  leadCta: (A = e.infoPage.labels) == null ? void 0 : A.leadCta,
1021
- leadSuccessTitle: (E = e.infoPage.labels) == null ? void 0 : E.successTitle,
1022
+ leadSuccessTitle: (O = e.infoPage.labels) == null ? void 0 : O.successTitle,
1022
1023
  leadSuccessDescription: (V = e.infoPage.labels) == null ? void 0 : V.successDescription,
1023
1024
  syncWithProfile: (D = e.leads) == null ? void 0 : D.syncWithProfile,
1024
1025
  isSubmittingParticipation: !W || e.isChallengeMode && !e.meetsThreshold
@@ -1026,7 +1027,7 @@ const ve = ({
1026
1027
  ) }),
1027
1028
  R(g)
1028
1029
  ] }) })
1029
- ) : /* @__PURE__ */ w(J, { children: [
1030
+ ) : /* @__PURE__ */ w(Q, { children: [
1030
1031
  r && e.isTimeUp ? (
1031
1032
  // Mobile: Time's Up - Show only overlay with fixed height
1032
1033
  ((Y = e.infoPage.labels) == null ? void 0 : Y.timeUp) && /* @__PURE__ */ t(
@@ -1085,7 +1086,7 @@ const ve = ({
1085
1086
  {
1086
1087
  sx: s ? S.footerContainer : S.footerContainerNoLogo,
1087
1088
  children: [
1088
- s && !y ? R(g) : /* @__PURE__ */ t(J, {}),
1089
+ s && !y ? R(g) : /* @__PURE__ */ t(Q, {}),
1089
1090
  /* @__PURE__ */ t(
1090
1091
  tt,
1091
1092
  {
@@ -1099,7 +1100,7 @@ const ve = ({
1099
1100
  ]
1100
1101
  }
1101
1102
  ),
1102
- s && y ? R(g) : /* @__PURE__ */ t(J, {})
1103
+ s && y ? R(g) : /* @__PURE__ */ t(Q, {})
1103
1104
  ] })
1104
1105
  ] })
1105
1106
  }
@@ -1419,12 +1420,12 @@ const ve = ({
1419
1420
  disabled: o = !1,
1420
1421
  isTimeUp: y = !1
1421
1422
  }) => {
1422
- const g = Z(), u = ue(), x = X(), b = Ue(), P = te(), S = ee().xl, W = ge().size, R = (a == null ? void 0 : a.primary_color) || x.palette.primary.plainColor, T = (a == null ? void 0 : a.content_color) || u.colorSchemes.light.textColor, N = u.colorSchemes.dark.textColor, z = x.palette.success.plainColor, L = x.palette.danger.plainColor, I = b === "dark" ? "#FFFFFF" : x.onSurface, U = x.surface, F = ot({
1423
+ const g = Z(), u = ue(), x = X(), b = Ue(), P = te(), S = ee().xl, W = ge().size, R = (a == null ? void 0 : a.primary_color) || x.palette.primary.plainColor, T = (a == null ? void 0 : a.content_color) || u.colorSchemes.light.textColor, N = u.colorSchemes.dark.textColor, L = x.palette.success.plainColor, z = x.palette.danger.plainColor, I = b === "dark" ? "#FFFFFF" : x.onSurface, U = x.surface, F = ot({
1423
1424
  primaryColor: R,
1424
1425
  textColor: T,
1425
1426
  whiteTextColor: N,
1426
- successColor: z,
1427
- dangerColor: L,
1427
+ successColor: L,
1428
+ dangerColor: z,
1428
1429
  optionBackground: I,
1429
1430
  surface: U,
1430
1431
  mobile: g,
@@ -1434,11 +1435,11 @@ const ve = ({
1434
1435
  }), $ = me(
1435
1436
  () => Fe(e, n),
1436
1437
  [e, n]
1437
- ), O = (C) => e.find((m) => m.id === C), _ = (C) => r.some((m) => m.leftId === C), k = (C) => r.some((m) => m.rightId === C), f = (C, m) => {
1438
- var M, q, Q;
1439
- const v = O(C);
1438
+ ), E = (C) => e.find((m) => m.id === C), _ = (C) => r.some((m) => m.leftId === C), k = (C) => r.some((m) => m.rightId === C), f = (C, m) => {
1439
+ var M, q, J;
1440
+ const v = E(C);
1440
1441
  if (!v) return null;
1441
- const H = m === "left" ? _(C) : k(C), A = m === "left" && c === C || m === "right" && i === C, E = (A || H) && v.images, V = g ? ((M = v.images) == null ? void 0 : M.mobile) || ((q = v.images) == null ? void 0 : q.main) : (Q = v.images) == null ? void 0 : Q.main, D = m === "left" ? v.optionA : v.optionB, Y = () => {
1442
+ const H = m === "left" ? _(C) : k(C), A = m === "left" && c === C || m === "right" && i === C, O = (A || H) && v.images, V = g ? ((M = v.images) == null ? void 0 : M.mobile) || ((q = v.images) == null ? void 0 : q.main) : (J = v.images) == null ? void 0 : J.main, D = m === "left" ? v.optionA : v.optionB, Y = () => {
1442
1443
  o || s || y || (m === "left" ? l(C) : d(C));
1443
1444
  }, B = s && A, j = s && !A;
1444
1445
  return /* @__PURE__ */ w(
@@ -1451,7 +1452,7 @@ const ve = ({
1451
1452
  B && F.errorItem
1452
1453
  ],
1453
1454
  children: [
1454
- m === "right" && E && V && /* @__PURE__ */ t(h, { sx: F.getImageContainerStyle(H, B, m), children: /* @__PURE__ */ t(
1455
+ m === "right" && O && V && /* @__PURE__ */ t(h, { sx: F.getImageContainerStyle(H, B, m), children: /* @__PURE__ */ t(
1455
1456
  "img",
1456
1457
  {
1457
1458
  loading: "lazy",
@@ -1488,7 +1489,7 @@ const ve = ({
1488
1489
  }
1489
1490
  )
1490
1491
  ] }),
1491
- m === "left" && E && V && /* @__PURE__ */ t(h, { sx: F.getImageContainerStyle(H, B, m), children: /* @__PURE__ */ t(
1492
+ m === "left" && O && V && /* @__PURE__ */ t(h, { sx: F.getImageContainerStyle(H, B, m), children: /* @__PURE__ */ t(
1492
1493
  "img",
1493
1494
  {
1494
1495
  loading: "lazy",
@@ -1507,7 +1508,7 @@ const ve = ({
1507
1508
  /* @__PURE__ */ t(h, { sx: F.column, children: $.columnB.map((C) => f(C, "right")) })
1508
1509
  ] });
1509
1510
  }, at = (e) => {
1510
- var P, S, W, R, T, N, z, L, I, U, F, $, O, _, k, f, C, m, v, H, A, E, V, D, Y, B, j, M, q;
1511
+ var P, S, W, R, T, N, L, z, I, U, F, $, E, _, k, f, C, m, v, H, A, O, V, D, Y, B, j, M, q;
1511
1512
  const { t: n } = ne(), r = Z(), c = ((P = e.infoPage.branding) == null ? void 0 : P.colors) || null, i = he(
1512
1513
  {
1513
1514
  images: e.infoPage.images,
@@ -1608,13 +1609,13 @@ const ve = ({
1608
1609
  contentId: e.infoPage.id,
1609
1610
  onSuccessLabel: ((N = e.infoPage.labels) == null ? void 0 : N.buttonLabel) || n("pickThePair.buttons.submit"),
1610
1611
  contentName: e.infoPage.title,
1611
- brandingColors: (z = e.infoPage.branding) == null ? void 0 : z.colors,
1612
- brandingUrls: (L = e.infoPage.branding) == null ? void 0 : L.urls,
1612
+ brandingColors: (L = e.infoPage.branding) == null ? void 0 : L.colors,
1613
+ brandingUrls: (z = e.infoPage.branding) == null ? void 0 : z.urls,
1613
1614
  campaignId: (I = e.leads) == null ? void 0 : I.campaignId,
1614
1615
  campaignName: (U = e.leads) == null ? void 0 : U.campaignName,
1615
1616
  fields: (F = e.leads) == null ? void 0 : F.fields,
1616
1617
  leadTitle: ($ = e.infoPage.labels) == null ? void 0 : $.leadTitle,
1617
- leadDescription: (O = e.infoPage.labels) == null ? void 0 : O.leadDescription,
1618
+ leadDescription: (E = e.infoPage.labels) == null ? void 0 : E.leadDescription,
1618
1619
  leadCta: (_ = e.infoPage.labels) == null ? void 0 : _.buttonLabel,
1619
1620
  leadSuccessTitle: (k = e.infoPage.labels) == null ? void 0 : k.successTitle,
1620
1621
  leadSuccessDescription: (f = e.infoPage.labels) == null ? void 0 : f.successDescription,
@@ -1624,7 +1625,7 @@ const ve = ({
1624
1625
  ) }),
1625
1626
  (((v = (m = e.infoPage.branding) == null ? void 0 : m.images) == null ? void 0 : v.main_logo) || ((H = e.infoPage.labels) == null ? void 0 : H.disclaimer)) && /* @__PURE__ */ w(h, { sx: b.footer, children: [
1626
1627
  ((A = e.infoPage.labels) == null ? void 0 : A.disclaimer) && /* @__PURE__ */ t(p, { level: "body-sm", sx: b.disclaimer, children: e.infoPage.labels.disclaimer }),
1627
- ((V = (E = e.infoPage.branding) == null ? void 0 : E.images) == null ? void 0 : V.main_logo) && /* @__PURE__ */ t(
1628
+ ((V = (O = e.infoPage.branding) == null ? void 0 : O.images) == null ? void 0 : V.main_logo) && /* @__PURE__ */ t(
1628
1629
  "img",
1629
1630
  {
1630
1631
  src: r ? ((Y = (D = e.infoPage.branding) == null ? void 0 : D.images) == null ? void 0 : Y.mobile_logo) || ((j = (B = e.infoPage.branding) == null ? void 0 : B.images) == null ? void 0 : j.main_logo) : (q = (M = e.infoPage.branding) == null ? void 0 : M.images) == null ? void 0 : q.main_logo,
@@ -1733,14 +1734,14 @@ const ve = ({
1733
1734
  opacity: 0.9
1734
1735
  }
1735
1736
  }), ct = (e) => {
1736
- var $, O, _, k, f, C, m, v, H, A, E, V;
1737
- const [n, r] = K.useState(!1), c = te(), i = ue(), { t: s } = ne(), l = Z(), d = pe(), { brandingImage: a, brandingColors: o, brandingLogo: y } = We(e.infoPage.branding || null), g = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? Ge : Je, u = a || he(
1737
+ var $, E, _, k, f, C, m, v, H, A, O, V;
1738
+ const [n, r] = K.useState(!1), c = te(), i = ue(), { t: s } = ne(), l = Z(), d = ke(), { brandingImage: a, brandingColors: o, brandingLogo: y } = We(e.infoPage.branding || null), g = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? Ge : Qe, u = a || he(
1738
1739
  {
1739
1740
  images: e.infoPage.images,
1740
1741
  imagePlaceholder: g
1741
1742
  },
1742
1743
  fe.OVERLAY
1743
- ), x = i.customRadius.dark.md, b = (o == null ? void 0 : o.background_color) || ((O = ($ = i.colorSchemes) == null ? void 0 : $.dark) == null ? void 0 : O.surfaceVariant), P = (k = (_ = i.customRadius) == null ? void 0 : _.light) == null ? void 0 : k.xl, S = (o == null ? void 0 : o.primary_color) || ((v = (m = (C = (f = i.colorSchemes) == null ? void 0 : f.light) == null ? void 0 : C.palette) == null ? void 0 : m.primary) == null ? void 0 : v.plainColor), W = (V = (E = (A = (H = i.colorSchemes) == null ? void 0 : H.light) == null ? void 0 : A.palette) == null ? void 0 : E.primary) == null ? void 0 : V.onPrimary, R = i.customFontFamily.dark.primary, T = i.colorSchemes.dark.textColor, N = (o == null ? void 0 : o.content_color) || i.colorSchemes.dark.textColor, L = rt({
1744
+ ), x = i.customRadius.dark.md, b = (o == null ? void 0 : o.background_color) || ((E = ($ = i.colorSchemes) == null ? void 0 : $.dark) == null ? void 0 : E.surfaceVariant), P = (k = (_ = i.customRadius) == null ? void 0 : _.light) == null ? void 0 : k.xl, S = (o == null ? void 0 : o.primary_color) || ((v = (m = (C = (f = i.colorSchemes) == null ? void 0 : f.light) == null ? void 0 : C.palette) == null ? void 0 : m.primary) == null ? void 0 : v.plainColor), W = (V = (O = (A = (H = i.colorSchemes) == null ? void 0 : H.light) == null ? void 0 : A.palette) == null ? void 0 : O.primary) == null ? void 0 : V.onPrimary, R = i.customFontFamily.dark.primary, T = i.colorSchemes.dark.textColor, N = (o == null ? void 0 : o.content_color) || i.colorSchemes.dark.textColor, z = rt({
1744
1745
  spacingScale: c,
1745
1746
  mdBorderRadius: x,
1746
1747
  contentBgColor: b,
@@ -1766,9 +1767,9 @@ const ve = ({
1766
1767
  }
1767
1768
  );
1768
1769
  }, F = () => {
1769
- var D, Y, B, j, M, q, Q, ie, oe, le, Pe, Se, Ce, Te;
1770
- return /* @__PURE__ */ t(J, { children: n ? /* @__PURE__ */ w(J, { children: [
1771
- /* @__PURE__ */ t(h, { sx: L.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1770
+ var D, Y, B, j, M, q, J, ie, oe, le, Pe, Se, Ce, Te;
1771
+ return /* @__PURE__ */ t(Q, { children: n ? /* @__PURE__ */ w(Q, { children: [
1772
+ /* @__PURE__ */ t(h, { sx: z.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1772
1773
  xe,
1773
1774
  {
1774
1775
  sdk: e.sdk,
@@ -1781,7 +1782,7 @@ const ve = ({
1781
1782
  campaignId: (j = e.leads) == null ? void 0 : j.campaignId,
1782
1783
  campaignName: (M = e.leads) == null ? void 0 : M.campaignName,
1783
1784
  fields: (q = e.leads) == null ? void 0 : q.fields,
1784
- leadTitle: (Q = e.infoPage.labels) == null ? void 0 : Q.leadTitle,
1785
+ leadTitle: (J = e.infoPage.labels) == null ? void 0 : J.leadTitle,
1785
1786
  leadDescription: (ie = e.infoPage.labels) == null ? void 0 : ie.leadDescription,
1786
1787
  leadCta: (oe = e.infoPage.labels) == null ? void 0 : oe.leadCta,
1787
1788
  leadSuccessTitle: (le = e.infoPage.labels) == null ? void 0 : le.leadSuccessTitle,
@@ -1789,19 +1790,19 @@ const ve = ({
1789
1790
  syncWithProfile: (Se = e.leads) == null ? void 0 : Se.syncWithProfile
1790
1791
  }
1791
1792
  ) }),
1792
- y ? U() : /* @__PURE__ */ t(J, {})
1793
- ] }) : /* @__PURE__ */ w(J, { children: [
1793
+ y ? U() : /* @__PURE__ */ t(Q, {})
1794
+ ] }) : /* @__PURE__ */ w(Q, { children: [
1794
1795
  ((Ce = e.infoPage.labels) == null ? void 0 : Ce.welcome) && /* @__PURE__ */ t(
1795
1796
  p,
1796
1797
  {
1797
1798
  level: "body-md",
1798
1799
  sx: {
1799
- ...L.welcome
1800
+ ...z.welcome
1800
1801
  },
1801
1802
  children: e.infoPage.labels.welcome
1802
1803
  }
1803
1804
  ),
1804
- e.pairData.config.timeLimit > 0 && /* @__PURE__ */ t(h, { sx: L.stopwatchContainer, children: /* @__PURE__ */ t(
1805
+ e.pairData.config.timeLimit > 0 && /* @__PURE__ */ t(h, { sx: z.stopwatchContainer, children: /* @__PURE__ */ t(
1805
1806
  ye,
1806
1807
  {
1807
1808
  isRunning: e.isTimerRunning,
@@ -1811,7 +1812,7 @@ const ve = ({
1811
1812
  onTimeUpdate: e.onTimeUpdate
1812
1813
  }
1813
1814
  ) }),
1814
- e.isChallengeMode && /* @__PURE__ */ t(h, { sx: L.challengeStatsContainer, children: /* @__PURE__ */ t(
1815
+ e.isChallengeMode && /* @__PURE__ */ t(h, { sx: z.challengeStatsContainer, children: /* @__PURE__ */ t(
1815
1816
  be,
1816
1817
  {
1817
1818
  totalAttempts: e.totalAttempts,
@@ -1824,8 +1825,8 @@ const ve = ({
1824
1825
  bgcolor: b
1825
1826
  }
1826
1827
  ) }),
1827
- /* @__PURE__ */ w(h, { sx: L.contentContainerWithBackdrop, children: [
1828
- ((Te = e.infoPage.labels) == null ? void 0 : Te.instructions) && /* @__PURE__ */ t(p, { level: "body-lg", sx: L.instructions, children: e.infoPage.labels.instructions }),
1828
+ /* @__PURE__ */ w(h, { sx: z.contentContainerWithBackdrop, children: [
1829
+ ((Te = e.infoPage.labels) == null ? void 0 : Te.instructions) && /* @__PURE__ */ t(p, { level: "body-lg", sx: z.instructions, children: e.infoPage.labels.instructions }),
1829
1830
  /* @__PURE__ */ t(
1830
1831
  ve,
1831
1832
  {
@@ -1843,14 +1844,14 @@ const ve = ({
1843
1844
  }
1844
1845
  )
1845
1846
  ] }),
1846
- /* @__PURE__ */ w(h, { sx: L.bottomFooterContainer, children: [
1847
+ /* @__PURE__ */ w(h, { sx: z.bottomFooterContainer, children: [
1847
1848
  U(),
1848
1849
  e.leads && /* @__PURE__ */ t(
1849
- ke,
1850
+ pe,
1850
1851
  {
1851
1852
  variant: "soft",
1852
1853
  disabled: !I || e.isChallengeMode && !e.meetsThreshold || e.isTimeUp,
1853
- sx: L.continueButton,
1854
+ sx: z.continueButton,
1854
1855
  onClick: () => r(!0),
1855
1856
  children: /* @__PURE__ */ t(
1856
1857
  p,
@@ -1901,7 +1902,7 @@ const ve = ({
1901
1902
  const f = N();
1902
1903
  Ae(f);
1903
1904
  }, [e.language, T]);
1904
- const z = me(() => {
1905
+ const L = me(() => {
1905
1906
  if (!T || T.id === "not-found")
1906
1907
  return {
1907
1908
  pairs: [],
@@ -1927,9 +1928,9 @@ const ve = ({
1927
1928
  }
1928
1929
  }, [T]);
1929
1930
  de(() => {
1930
- z.config.timeLimit && z.config.timeLimit > 0 && (y(z.config.timeLimit), u(!0));
1931
- }, [z.config.timeLimit]);
1932
- const L = z.config.mode.toLowerCase() === "challenge", I = n.length, U = P > 0 ? I / P * 100 : 0, F = U >= z.config.successThresholdPercent;
1931
+ L.config.timeLimit && L.config.timeLimit > 0 && (y(L.config.timeLimit), u(!0));
1932
+ }, [L.config.timeLimit]);
1933
+ const z = L.config.mode.toLowerCase() === "challenge", I = n.length, U = P > 0 ? I / P * 100 : 0, F = U >= L.config.successThresholdPercent;
1933
1934
  if (!T)
1934
1935
  return /* @__PURE__ */ t(je, { my: 20 });
1935
1936
  if (T.id === "not-found")
@@ -1949,7 +1950,7 @@ const ve = ({
1949
1950
  ]), i(null), l(null)) : (S((m) => m + 1), R((m) => m + 1), i(f), a(!0), setTimeout(() => {
1950
1951
  a(!1), i(null), l(null);
1951
1952
  }, 800)) : i(f);
1952
- }, O = (f) => {
1953
+ }, E = (f) => {
1953
1954
  if (s === f) {
1954
1955
  l(null);
1955
1956
  return;
@@ -1973,7 +1974,7 @@ const ve = ({
1973
1974
  at,
1974
1975
  {
1975
1976
  infoPage: T,
1976
- pairData: z,
1977
+ pairData: L,
1977
1978
  matchedPairs: n,
1978
1979
  selectedLeft: c,
1979
1980
  selectedRight: s,
@@ -1988,9 +1989,9 @@ const ve = ({
1988
1989
  incorrectAttempts: W,
1989
1990
  accuracy: U,
1990
1991
  meetsThreshold: F,
1991
- isChallengeMode: L,
1992
+ isChallengeMode: z,
1992
1993
  onSelectLeft: $,
1993
- onSelectRight: O,
1994
+ onSelectRight: E,
1994
1995
  onSubmit: k,
1995
1996
  onTimeUpdate: _
1996
1997
  }
@@ -1998,7 +1999,7 @@ const ve = ({
1998
1999
  ct,
1999
2000
  {
2000
2001
  infoPage: T,
2001
- pairData: z,
2002
+ pairData: L,
2002
2003
  matchedPairs: n,
2003
2004
  selectedLeft: c,
2004
2005
  selectedRight: s,
@@ -2013,9 +2014,9 @@ const ve = ({
2013
2014
  incorrectAttempts: W,
2014
2015
  accuracy: U,
2015
2016
  meetsThreshold: F,
2016
- isChallengeMode: L,
2017
+ isChallengeMode: z,
2017
2018
  onSelectLeft: $,
2018
- onSelectRight: O,
2019
+ onSelectRight: E,
2019
2020
  onSubmit: k,
2020
2021
  onTimeUpdate: _
2021
2022
  }
@@ -2023,7 +2024,7 @@ const ve = ({
2023
2024
  nt,
2024
2025
  {
2025
2026
  infoPage: T,
2026
- pairData: z,
2027
+ pairData: L,
2027
2028
  matchedPairs: n,
2028
2029
  selectedLeft: c,
2029
2030
  selectedRight: s,
@@ -2039,9 +2040,9 @@ const ve = ({
2039
2040
  incorrectAttempts: W,
2040
2041
  accuracy: U,
2041
2042
  meetsThreshold: F,
2042
- isChallengeMode: L,
2043
+ isChallengeMode: z,
2043
2044
  onSelectLeft: $,
2044
- onSelectRight: O,
2045
+ onSelectRight: E,
2045
2046
  onSubmit: k,
2046
2047
  onTimeUpdate: _
2047
2048
  }
@@ -2068,13 +2069,13 @@ const ve = ({
2068
2069
  mode: e.template === ae.OVERLAY ? "dark" : a == null ? void 0 : a.mode
2069
2070
  }, y = /* @__PURE__ */ t(h, { ref: i }), g = n && i.current && l.current && d.current ? Me(
2070
2071
  /* @__PURE__ */ t(_e, { value: d.current, children: /* @__PURE__ */ t(He, { containerRef: i, children: /* @__PURE__ */ t(
2071
- Oe,
2072
+ Ee,
2072
2073
  {
2073
2074
  customTheme: o,
2074
2075
  mode: o == null ? void 0 : o.mode,
2075
2076
  shadowRootElement: l.current,
2076
2077
  children: /* @__PURE__ */ t(
2077
- Ee,
2078
+ Oe,
2078
2079
  {
2079
2080
  shadowRootElement: l.current,
2080
2081
  leadPhoneCountryCode: ((u = e.leads) == null ? void 0 : u.phoneCountryCode) || null,
@@ -2087,11 +2088,11 @@ const ve = ({
2087
2088
  ) }) }),
2088
2089
  l.current
2089
2090
  ) : null;
2090
- return /* @__PURE__ */ w(J, { children: [
2091
+ return /* @__PURE__ */ w(Q, { children: [
2091
2092
  y,
2092
2093
  g
2093
2094
  ] });
2094
- }, mt = (e) => /* @__PURE__ */ t(dt, { ...e, children: /* @__PURE__ */ t(st, { ...e }) }), kt = mt;
2095
+ }, mt = (e) => /* @__PURE__ */ t(dt, { ...e, children: /* @__PURE__ */ t(st, { ...e }) }), pt = mt;
2095
2096
  export {
2096
- kt as PickThePair
2097
+ pt as PickThePair
2097
2098
  };
package/PollVote.js CHANGED
@@ -1,23 +1,24 @@
1
1
  import { jsxs as x, Fragment as B, jsx as t } from "react/jsx-runtime";
2
2
  import Ie, { useState as J, useEffect as Me, useMemo as Xe } from "react";
3
- import { i as G, u as Z, e as ee, c as _, b as Y, a as F, n as Be, W as V, B as l, T as h, p as ot, f as N, d as je, g as Te, C as Ae, h as ze, j as p, l as at, m as rt, q as ct, o as st } from "./chunks/PrizeCard-DF3QxwQJ.js";
4
- import { P as dt } from "./chunks/Portal-Cs0dgwmH.js";
3
+ import { i as G, u as Z, e as ee, c as _, b as Y, a as F, m as Be, W as V, B as l, o as ot, f as N, d as je, g as Te, C as Ae, h as ze, k as at, l as rt, p as ct, n as st } from "./chunks/PrizeCard-DgHyperX.js";
4
+ import { P as dt } from "./chunks/Portal-BQilulgu.js";
5
5
  import "react-dom";
6
- import { h as Ce, s as He, g as gt, e as We, a as tt, b as mt } from "./chunks/helpers-NuC1SzL3.js";
7
- import { S as ut } from "./chunks/Spinner-DbUB64Gj.js";
8
- import { S as ft, a as xt, b as nt, C as Ze, c as et } from "./chunks/ChanceGameEmbedVariant-DqFg4YKU.js";
9
- import { n as yt, c as ht } from "./chunks/index-D1K1OB4p.js";
10
- import { R as Ee, A as Ue, O as bt, S as Ct, N as St } from "./chunks/NotFoundSkeleton-Cs6DtD9u.js";
11
- import { d as he, a as be, b as ie } from "./chunks/useImageVariant-Cex1eIqq.js";
6
+ import { h as Ce, s as He, g as gt, e as We, a as tt, b as mt } from "./chunks/helpers-Bd9FT9hj.js";
7
+ import { S as ut } from "./chunks/Spinner-BoysVPn7.js";
8
+ import { S as ft, a as xt, b as nt, C as Ze, c as et } from "./chunks/ChanceGameEmbedVariant-lfZlSATv.js";
9
+ import { n as yt, c as ht } from "./chunks/index-5MPtbA_r.js";
10
+ import { R as Ee, A as Ue, O as bt, S as Ct, N as St } from "./chunks/NotFoundSkeleton-C71TRYl5.js";
11
+ import { d as he, a as be, b as ie } from "./chunks/useImageVariant-B1ObJh_B.js";
12
12
  import { u as Oe } from "./chunks/useEmbedCode-DCWnWGak.js";
13
- import { C as It } from "./chunks/CollectLeadForm-DnLKA8qz.js";
14
- import { A as Ne, R as pe, O as lt, S as it } from "./chunks/OverlayApiErrorSkeleton-Dl3s5Oaf.js";
15
- import { C as Tt } from "./chunks/CheckCircle-CV9iMpkZ.js";
16
- import { A as At, I as Pt, W as kt } from "./chunks/AlertMessage-Ds45MBHB.js";
17
- import { S as vt } from "./chunks/Stack-BpHk5eb0.js";
18
- import { O as Ft } from "./chunks/OverlayScoreStateSkeleton-LQ0svzeX.js";
19
- import { S as Dt, O as Rt, a as Lt, b as wt } from "./chunks/OverlayLeadAfterCollection-F2TAV9wK.js";
20
- import { S as Bt, a as zt } from "./chunks/SplitLeadAfterCollection-DSw6X5fx.js";
13
+ import { T as h, B as p } from "./chunks/Button-COvmPv4P.js";
14
+ import { C as It } from "./chunks/CollectLeadForm-O7Cpe0ix.js";
15
+ import { A as Ne, R as pe, O as lt, S as it } from "./chunks/OverlayApiErrorSkeleton-CkuDu9uV.js";
16
+ import { C as Tt } from "./chunks/CheckCircle-h7-xLUq-.js";
17
+ import { A as At, I as Pt, W as kt } from "./chunks/AlertMessage-CQ9WJHSb.js";
18
+ import { S as vt } from "./chunks/Stack-INH9bhkC.js";
19
+ import { O as Ft } from "./chunks/OverlayScoreStateSkeleton-RauDjIg5.js";
20
+ import { S as Dt, O as Rt, a as Lt, b as wt } from "./chunks/OverlayLeadAfterCollection-Dkxl4cKn.js";
21
+ import { S as Bt, a as zt } from "./chunks/SplitLeadAfterCollection-C5oCDYT1.js";
21
22
  const Wt = (e) => {
22
23
  var n, o, i;
23
24
  return {
@@ -4231,7 +4232,7 @@ const un = (e) => {
4231
4232
  );
4232
4233
  }
4233
4234
  return Q();
4234
- }, fn = (e) => /* @__PURE__ */ t(dt, { packageName: "poll-vote", ...e, children: /* @__PURE__ */ t(un, { ...e }) }), Vn = fn;
4235
+ }, fn = (e) => /* @__PURE__ */ t(dt, { packageName: "poll-vote", ...e, children: /* @__PURE__ */ t(un, { ...e }) }), Hn = fn;
4235
4236
  export {
4236
- Vn as PollVote
4237
+ Hn as PollVote
4237
4238
  };