fansunited-frontend-components 0.0.46 → 0.0.48

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/ChanceGame.js +109 -109
  2. package/ClassicQuizPlay.js +1484 -1549
  3. package/CollectLead.js +38 -39
  4. package/Discussion.js +1 -1
  5. package/EitherOrPlay.js +104 -105
  6. package/EventGamePlay.js +67 -68
  7. package/Leaderboard.js +53 -53
  8. package/MatchQuizPlay.js +81 -82
  9. package/PersonalityQuizPlay.js +1331 -45598
  10. package/PickThePair.js +116 -116
  11. package/PollVote.js +523 -548
  12. package/Predictor.js +10749 -10069
  13. package/chunks/3dicons-bookmark-fav-dynamic-color-BkMV51tL.js +4 -0
  14. package/chunks/3dicons-crow-dynamic-color-BnvCj9i8.js +4 -0
  15. package/chunks/3dicons-fire-dynamic-color-rNRL0kAe.js +4 -0
  16. package/chunks/3dicons-flag-dynamic-color-BscQxNXn.js +4 -0
  17. package/chunks/3dicons-medal-dynamic-color-CsR036OL.js +4 -0
  18. package/chunks/3dicons-rocket-dynamic-color-EiHCJ2rb.js +4 -0
  19. package/chunks/3dicons-target-dynamic-color-ChQzHpwv.js +4 -0
  20. package/chunks/3dicons-thumb-down-dynamic-color-NQLnsNFt.js +4 -0
  21. package/chunks/{AlertMessage-64RCwEsh.js → AlertMessage-D4Uc6n5U.js} +16 -16
  22. package/chunks/{ArrowRightAlt-C0AXuIst.js → ArrowRightAlt-wEs8SY1V.js} +1 -1
  23. package/chunks/{Avatar-B_Hp93C1.js → Avatar-BXHdXHLA.js} +24 -24
  24. package/chunks/{ChanceGameEmbedVariant-BcDObsQE.js → ChanceGameEmbedVariant-DfS5LPpp.js} +42 -44
  25. package/chunks/{CheckCircle-Dy3mN2eT.js → CheckCircle-CU2itira.js} +30 -30
  26. package/chunks/{Close-DokV0muh.js → Close-C5SGTkPr.js} +1 -1
  27. package/chunks/{Close-0GaMUCjQ.js → Close-DBt1nfGo.js} +3 -3
  28. package/chunks/{CollectLeadForm-2qL5vJFj.js → CollectLeadForm-BqjgPYKX.js} +133 -133
  29. package/chunks/{Divider-DObChK-L.js → Divider-Cbns9B3Y.js} +10 -10
  30. package/chunks/{Edit-DBoD7rs4.js → Edit-BVP8fCB4.js} +20 -20
  31. package/chunks/{EmojiEvents-DGOHng0a.js → EmojiEvents-D_ObJxNy.js} +4 -4
  32. package/chunks/{FavoriteBorder-CeZONWoR.js → FavoriteBorder-_mUf1vas.js} +1 -1
  33. package/chunks/{FormControl-Dd0WfUfb.js → FormControl-DLBvX-Sn.js} +47 -47
  34. package/chunks/{FormLabel-nzyYgGrU.js → FormLabel-jXtScWTI.js} +13 -13
  35. package/chunks/{Input-Di53xx2V.js → Input-Cha_dm3J.js} +13 -13
  36. package/chunks/{KeyboardArrowDown-Dhul7cxI.js → KeyboardArrowDown-C_8g8wLS.js} +5 -5
  37. package/chunks/{ModalDialog-7B9ik0vJ.js → ModalDialog-Co3jck0z.js} +42 -42
  38. package/chunks/{NotFoundSkeleton-Coe8XWvc.js → NotFoundSkeleton-D5Jh3lnu.js} +89 -90
  39. package/chunks/{Notification-DWwniUVj.js → Notification-r1Fm0If2.js} +27 -27
  40. package/chunks/{OverlayApiErrorSkeleton-HhJfCkat.js → OverlayApiErrorSkeleton-BUuD0zL8.js} +33 -34
  41. package/chunks/{OverlayLeadAfterCollection-93JuvCCE.js → OverlayLeadAfterCollection-B-N1OjPu.js} +15 -17
  42. package/chunks/{OverlayScoreStateSkeleton-C8mUCo57.js → OverlayScoreStateSkeleton-Bd3-ZNlU.js} +3 -3
  43. package/chunks/{Person-CZvIpU6r.js → Person-K8GGMiAW.js} +27 -27
  44. package/chunks/{PickOneOfX-CS_EiNNt.js → PickOneOfX-CvIn7QOd.js} +7 -8
  45. package/chunks/{Popper-1VAMXdsD.js → Popper-Bti_HOMS.js} +28 -28
  46. package/chunks/{Portal-4P2PknJu.js → Portal-B-nN3a_R.js} +8 -8
  47. package/chunks/{Select-CUBVzVwW.js → Select-C2QtqgA7.js} +139 -139
  48. package/chunks/{Spinner-Bx3PvLc8.js → Spinner-D7-MZe2m.js} +7 -7
  49. package/chunks/{SplitLeadAfterCollection-CEaElvyX.js → SplitLeadAfterCollection-CyXBWAIK.js} +41 -43
  50. package/chunks/{Stack-DoM9YeDC.js → Stack-CU36SsgA.js} +21 -21
  51. package/chunks/StandardContentSkeleton-CYduGHsc.js +57 -0
  52. package/chunks/{Tabs-BA00KgP5.js → Tabs-CA-FqQfT.js} +62 -62
  53. package/chunks/{Textarea-CNAi4g0q.js → Textarea-Cn4VvCBl.js} +42 -42
  54. package/chunks/{TimerOutlined-y83V0xbY.js → TimerOutlined-DOpryr42.js} +3 -3
  55. package/chunks/{helpers-DyGJ163I.js → helpers-1jFObSvc.js} +8 -8
  56. package/chunks/{PrizeCard-9vHGuVOX.js → index-Btf_jw7-.js} +1350 -1097
  57. package/chunks/index-CyODGG_P.js +4 -0
  58. package/chunks/{index-B2OgR4TV.js → index-D1K1OB4p.js} +144 -130
  59. package/chunks/{main-B2HQvYmS.js → main-Chqd9Wwn.js} +151 -151
  60. package/chunks/useEmbedCode-DCWnWGak.js +31 -0
  61. package/chunks/{useEventCallback-C2Rha97T.js → useEventCallback-CkO2rd5W.js} +5 -5
  62. package/chunks/{useForwardedInput-b4kij-du.js → useForwardedInput-C3SP2QmS.js} +16 -16
  63. package/chunks/{useImageVariant-BnDg20-v.js → useImageVariant-BJ722AFw.js} +3 -3
  64. package/index.d.ts.map +1 -1
  65. package/index.js +17 -12
  66. package/package.json +22 -2
  67. package/chunks/index-hNfWTkjq.js +0 -4
package/ChanceGame.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { jsx as t, jsxs as w, Fragment as re } from "react/jsx-runtime";
2
- import { h as Ce, g as Je, l as Ke } from "./chunks/helpers-DyGJ163I.js";
3
- import Q, { useState as qe, useEffect as Ze } from "react";
4
- import { m as K, ab as Qe, t as ve, k as ie, a0 as Se, B as m, Z as se, ag as ue, r as we, o as xe, T as D, $ as he, ah as Te, W as fe, n as $e, ai as et, i as tt, ac as ne, g as ot, C as nt, h as rt, E as lt, j as it } from "./chunks/PrizeCard-9vHGuVOX.js";
5
- import { S as at } from "./chunks/Spinner-Bx3PvLc8.js";
6
- import { createPortal as st } from "react-dom";
7
- import { u as ct } from "./chunks/useInfoPage-BHdgKdme.js";
8
- import { N as dt, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-Coe8XWvc.js";
9
- import { u as mt, S as le, c as Ee, D as Ge, C as ut, W as ht, d as xt, e as ft, f as pt, O as gt, F as bt, b as ye, a as yt, P as vt } from "./chunks/PickOneOfX-CS_EiNNt.js";
10
- import { u as pe, d as He, a as Ne } from "./chunks/useImageVariant-BnDg20-v.js";
2
+ import { i as K, h as Je, b as ve, a as ie, d as Se, B as m, f as se, O as ue, c as we, e as xe, T as D, j as he, H as Ce, W as fe, u as Te, p as Ke, o as qe, F as ne, J as Qe, K as Ze, L as et, M as tt, N as ot } from "./chunks/index-Btf_jw7-.js";
3
+ import Z, { useState as nt, useEffect as rt } from "react";
4
+ import { S as lt } from "./chunks/Spinner-D7-MZe2m.js";
5
+ import { N as it, S as $e, O as Ae } from "./chunks/NotFoundSkeleton-D5Jh3lnu.js";
6
+ import { u as at, S as le, c as Ie, D as Ee, C as st, W as ct, d as dt, e as mt, f as ut, O as ht, F as xt, b as ye, a as ft, P as pt } from "./chunks/PickOneOfX-CvIn7QOd.js";
7
+ import { h as Ge, g as gt, l as bt } from "./chunks/helpers-1jFObSvc.js";
8
+ import { b as pe, d as He, a as Ne } from "./chunks/useImageVariant-BJ722AFw.js";
9
+ import { u as yt } from "./chunks/useInfoPage-BHdgKdme.js";
10
+ import { createPortal as vt } from "react-dom";
11
11
  const ke = ({
12
12
  children: e,
13
13
  brandingBorderColor: s,
14
14
  state: a
15
15
  }) => {
16
- const r = K(), x = Qe(), o = a === "play" ? x : r, c = ve().md, d = s || ie().secondaryContainer, l = Se().size + " solid " + d;
16
+ const r = K(), x = Je(), o = a === "play" ? x : r, c = ve().md, d = s || ie().secondaryContainer, l = Se().size + " solid " + d;
17
17
  return /* @__PURE__ */ t(
18
18
  m,
19
19
  {
@@ -35,14 +35,14 @@ const ke = ({
35
35
  template: e
36
36
  }) => {
37
37
  const { t: s } = se(), a = /* @__PURE__ */ t(
38
- dt,
38
+ it,
39
39
  {
40
40
  notFoundTitle: s("chanceGame.chanceGameNotFound"),
41
41
  notFoundMessage: s("chanceGame.chanceGameNotFoundDescription")
42
42
  }
43
43
  );
44
44
  return e === ue.EMBED ? a : /* @__PURE__ */ t(ke, { brandingBorderColor: null, children: a });
45
- }, Ve = ({
45
+ }, Me = ({
46
46
  infoPage: e,
47
47
  enableReset: s = !1,
48
48
  contentColor: a,
@@ -53,11 +53,11 @@ const ke = ({
53
53
  dangerColor: d,
54
54
  brandingLogo: n,
55
55
  isDark: l = !1,
56
- showTitleBlock: F = !1,
56
+ showTitleBlock: z = !1,
57
57
  variant: O
58
58
  }) => {
59
- var G, q, V;
60
- const p = K(), S = ie(), g = ve(), i = we(), u = xe(), _ = Se(), y = O === "standard", h = O === "overlay", C = y || h, E = JSON.parse(e.body), M = E.segments || [], f = e.labels || {}, L = E.mode || ((G = E.config) == null ? void 0 : G.mode) || "fair", H = ((q = E.config) == null ? void 0 : q.pace) || "normal", W = ((V = E.config) == null ? void 0 : V.decorations) ?? !1, B = Ee(r, l), {
59
+ var G, q, M;
60
+ const p = K(), S = ie(), g = ve(), i = we(), u = xe(), _ = Se(), y = O === "standard", h = O === "overlay", C = y || h, E = JSON.parse(e.body), V = E.segments || [], f = e.labels || {}, L = E.mode || ((G = E.config) == null ? void 0 : G.mode) || "fair", H = ((q = E.config) == null ? void 0 : q.pace) || "normal", W = ((M = E.config) == null ? void 0 : M.decorations) ?? !1, B = Ie(r, l), {
61
61
  isSpinning: T,
62
62
  finalRotation: N,
63
63
  selectedSegment: b,
@@ -65,7 +65,7 @@ const ke = ({
65
65
  showResultScreen: R,
66
66
  showInlineResult: k,
67
67
  hasEntered: $,
68
- confettiActive: z,
68
+ confettiActive: F,
69
69
  spinDuration: j,
70
70
  shakeAnimationDuration: P,
71
71
  confettiVelocityMultiplier: U,
@@ -73,9 +73,9 @@ const ke = ({
73
73
  handleSpin: I,
74
74
  handleReset: v,
75
75
  onConfettiComplete: ee
76
- } = mt({ segments: M, mode: L, pace: H }), te = C ? p ? "260px" : "340px" : p ? "320px" : "450px", Y = () => /* @__PURE__ */ w(re, { children: [
76
+ } = at({ segments: V, mode: L, pace: H }), te = C ? p ? "260px" : "340px" : p ? "320px" : "450px", Y = () => /* @__PURE__ */ w(re, { children: [
77
77
  W && /* @__PURE__ */ t(
78
- Ge,
78
+ Ee,
79
79
  {
80
80
  primaryColor: r,
81
81
  isDark: l,
@@ -83,9 +83,9 @@ const ke = ({
83
83
  }
84
84
  ),
85
85
  /* @__PURE__ */ t(
86
- ut,
86
+ st,
87
87
  {
88
- active: z,
88
+ active: F,
89
89
  primaryColor: r,
90
90
  velocityMultiplier: U,
91
91
  gravity: A,
@@ -107,7 +107,7 @@ const ke = ({
107
107
  }
108
108
  ),
109
109
  !R && /* @__PURE__ */ w(re, { children: [
110
- F && (e.title || e.subtitle) && /* @__PURE__ */ w(
110
+ z && (e.title || e.subtitle) && /* @__PURE__ */ w(
111
111
  m,
112
112
  {
113
113
  sx: {
@@ -248,7 +248,7 @@ const ke = ({
248
248
  display: "flex",
249
249
  alignItems: "center",
250
250
  justifyContent: "center",
251
- cursor: T || z || k || !R && !k && b !== null ? "default" : "pointer",
251
+ cursor: T || F || k || !R && !k && b !== null ? "default" : "pointer",
252
252
  userSelect: "none",
253
253
  zIndex: 1,
254
254
  // Entrance animation
@@ -269,17 +269,17 @@ const ke = ({
269
269
  },
270
270
  children: [
271
271
  /* @__PURE__ */ t(
272
- ht,
272
+ ct,
273
273
  {
274
- segmentCount: M.length,
274
+ segmentCount: V.length,
275
275
  decorations: W,
276
276
  primaryColor: r
277
277
  }
278
278
  ),
279
279
  /* @__PURE__ */ t(
280
- xt,
280
+ dt,
281
281
  {
282
- segments: M,
282
+ segments: V,
283
283
  secondaryColor: x,
284
284
  primaryColor: r,
285
285
  onPrimaryColor: o,
@@ -312,7 +312,7 @@ const ke = ({
312
312
  }
313
313
  ),
314
314
  /* @__PURE__ */ t(
315
- ft,
315
+ mt,
316
316
  {
317
317
  primaryColor: r,
318
318
  dangerColor: d,
@@ -358,7 +358,7 @@ const ke = ({
358
358
  he,
359
359
  {
360
360
  variant: "soft",
361
- disabled: T || z || !R && !k && b !== null,
361
+ disabled: T || F || !R && !k && b !== null,
362
362
  onClick: I,
363
363
  sx: {
364
364
  borderRadius: g.xl,
@@ -451,7 +451,7 @@ const ke = ({
451
451
  ] })
452
452
  ] });
453
453
  if (y) {
454
- const Z = Ce(c), oe = Z ? Z.replace(/[^\d,]/g, "") : "";
454
+ const Q = Ge(c), oe = Q ? Q.replace(/[^\d,]/g, "") : "";
455
455
  return /* @__PURE__ */ w(
456
456
  m,
457
457
  {
@@ -642,15 +642,15 @@ const ke = ({
642
642
  defaultImagePlaceholderUrl: r
643
643
  }) => {
644
644
  var u, _;
645
- const { t: x } = se(), o = K(), c = ie(), d = Te() === "dark", n = pe(
645
+ const { t: x } = se(), o = K(), c = ie(), d = Ce() === "dark", n = pe(
646
646
  {
647
647
  images: e.images,
648
648
  imagePlaceholder: r || ""
649
649
  },
650
650
  fe.STANDARD
651
- ), l = (u = e.branding) == null ? void 0 : u.colors, F = (l == null ? void 0 : l.primary_color) || c.palette.primary.plainColor, O = (l == null ? void 0 : l.secondary_color) || c.palette.danger.plainColor, p = (l == null ? void 0 : l.border_color) || null, S = (l == null ? void 0 : l.background_color) || c.surfaceVariant || "", g = (_ = e.branding) == null ? void 0 : _.images, i = o ? (g == null ? void 0 : g.mobile_logo) || (g == null ? void 0 : g.main_logo) || "" : (g == null ? void 0 : g.main_logo) || "";
651
+ ), l = (u = e.branding) == null ? void 0 : u.colors, z = (l == null ? void 0 : l.primary_color) || c.palette.primary.plainColor, O = (l == null ? void 0 : l.secondary_color) || c.palette.danger.plainColor, p = (l == null ? void 0 : l.border_color) || null, S = (l == null ? void 0 : l.background_color) || c.surfaceVariant || "", g = (_ = e.branding) == null ? void 0 : _.images, i = o ? (g == null ? void 0 : g.mobile_logo) || (g == null ? void 0 : g.main_logo) || "" : (g == null ? void 0 : g.main_logo) || "";
652
652
  return /* @__PURE__ */ t(ke, { brandingBorderColor: p, children: /* @__PURE__ */ t(
653
- Ae,
653
+ $e,
654
654
  {
655
655
  entity: {
656
656
  ...e,
@@ -662,18 +662,18 @@ const ke = ({
662
662
  finalImage: n,
663
663
  imagePosition: a,
664
664
  children: /* @__PURE__ */ t(
665
- Ve,
665
+ Me,
666
666
  {
667
667
  infoPage: e,
668
668
  enableReset: s,
669
669
  contentColor: (l == null ? void 0 : l.content_color) || c.textColor,
670
- primaryColor: F,
670
+ primaryColor: z,
671
671
  secondaryColor: O,
672
672
  onPrimaryColor: c.palette.primary.onPrimary,
673
673
  borderColor: p || void 0,
674
674
  backgroundColor: S,
675
675
  dangerColor: c.palette.danger.plainColor,
676
- shimmerColor: F,
676
+ shimmerColor: z,
677
677
  brandingLogo: i,
678
678
  isDark: d,
679
679
  showTitleBlock: !1,
@@ -682,7 +682,7 @@ const ke = ({
682
682
  )
683
683
  }
684
684
  ) });
685
- }, Me = ({
685
+ }, Ve = ({
686
686
  infoPage: e,
687
687
  enableReset: s = !1,
688
688
  contentColor: a,
@@ -693,14 +693,14 @@ const ke = ({
693
693
  dangerColor: d,
694
694
  cardBaseColor: n,
695
695
  shimmerColor: l,
696
- brandingLogo: F = "",
696
+ brandingLogo: z = "",
697
697
  isDark: O = !1,
698
698
  showTitleBlock: p = !1,
699
699
  variant: S,
700
700
  compactCards: g = !1
701
701
  }) => {
702
- var Fe, We, _e, Oe;
703
- const i = K(), u = ie(), _ = ve(), y = we(), h = xe(), C = Se(), E = n || c, M = l || r, f = S === "standard", L = S === "overlay", H = f ? Ce(c) : "", W = H ? H.replace(/[^\d,]/g, "") : "", B = g ? i ? 80 : 110 : i ? 100 : 140, T = g ? i ? 104 : 143 : i ? 130 : 180, N = g ? i ? 90 : 130 : i ? 120 : 180, b = g ? i ? "16px" : "32px" : i ? "24px" : "48px", X = g ? i ? "12px" : "32px" : i ? "16px" : "48px", R = Ee(r, O), k = JSON.parse(e.body), $ = k.segments || [], z = e.labels || {}, j = k.mode || ((Fe = k.config) == null ? void 0 : Fe.mode) || "fair", P = ((We = k.config) == null ? void 0 : We.pace) || "normal", U = ((_e = k.config) == null ? void 0 : _e.revealAll) ?? !1, A = ((Oe = k.config) == null ? void 0 : Oe.decorations) ?? !1, I = $.some((ae) => {
702
+ var ze, We, _e, Oe;
703
+ const i = K(), u = ie(), _ = ve(), y = we(), h = xe(), C = Se(), E = n || c, V = l || r, f = S === "standard", L = S === "overlay", H = f ? Ge(c) : "", W = H ? H.replace(/[^\d,]/g, "") : "", B = g ? i ? 80 : 110 : i ? 100 : 140, T = g ? i ? 104 : 143 : i ? 130 : 180, N = g ? i ? 90 : 130 : i ? 120 : 180, b = g ? i ? "16px" : "32px" : i ? "24px" : "48px", X = g ? i ? "12px" : "32px" : i ? "16px" : "48px", R = Ie(r, O), k = JSON.parse(e.body), $ = k.segments || [], F = e.labels || {}, j = k.mode || ((ze = k.config) == null ? void 0 : ze.mode) || "fair", P = ((We = k.config) == null ? void 0 : We.pace) || "normal", U = ((_e = k.config) == null ? void 0 : _e.revealAll) ?? !1, A = ((Oe = k.config) == null ? void 0 : Oe.decorations) ?? !1, I = $.some((ae) => {
704
704
  var J;
705
705
  return (J = ae.images) == null ? void 0 : J.idle;
706
706
  }), {
@@ -710,8 +710,8 @@ const ke = ({
710
710
  showResultScreen: Y,
711
711
  showInlineResult: G,
712
712
  showLoseAnimation: q,
713
- hasEntered: V,
714
- flippedCards: Z,
713
+ hasEntered: M,
714
+ flippedCards: Q,
715
715
  crossfadedCards: oe,
716
716
  revealedOtherCards: ce,
717
717
  flipDuration: Xe,
@@ -719,9 +719,9 @@ const ke = ({
719
719
  loseAnimationDuration: Pe,
720
720
  handlePick: Re,
721
721
  handleReset: ge
722
- } = pt({ segments: $, mode: j, pace: P, revealAll: U }), ze = () => /* @__PURE__ */ w(re, { children: [
722
+ } = ut({ segments: $, mode: j, pace: P, revealAll: U }), Fe = () => /* @__PURE__ */ w(re, { children: [
723
723
  A && /* @__PURE__ */ t(
724
- Ge,
724
+ Ee,
725
725
  {
726
726
  primaryColor: r,
727
727
  isDark: O,
@@ -738,7 +738,7 @@ const ke = ({
738
738
  primaryColor: r,
739
739
  onPrimaryColor: x,
740
740
  borderColor: o,
741
- disclaimer: f ? void 0 : z.disclaimer,
741
+ disclaimer: f ? void 0 : F.disclaimer,
742
742
  enableReset: s,
743
743
  onReset: ge
744
744
  }
@@ -835,7 +835,7 @@ const ke = ({
835
835
  }
836
836
  ),
837
837
  /* @__PURE__ */ w(m, { children: [
838
- !f && z.welcome && /* @__PURE__ */ t(
838
+ !f && F.welcome && /* @__PURE__ */ t(
839
839
  D,
840
840
  {
841
841
  level: "body-md",
@@ -847,10 +847,10 @@ const ke = ({
847
847
  textAlign: "center",
848
848
  mb: L ? 0 : h.md
849
849
  },
850
- children: z.welcome
850
+ children: F.welcome
851
851
  }
852
852
  ),
853
- z.instructions && !G && /* @__PURE__ */ t(
853
+ F.instructions && !G && /* @__PURE__ */ t(
854
854
  D,
855
855
  {
856
856
  level: f ? "body-sm" : "body-md",
@@ -863,7 +863,7 @@ const ke = ({
863
863
  opacity: 0.7,
864
864
  maxWidth: f ? "400px" : "600px"
865
865
  },
866
- children: z.instructions
866
+ children: F.instructions
867
867
  }
868
868
  )
869
869
  ] }),
@@ -928,7 +928,7 @@ const ke = ({
928
928
  perspective: "1200px"
929
929
  },
930
930
  children: (ee ?? $).map((ae, J) => {
931
- const be = `card-${J}`, de = v !== null, Be = Z.has(be), me = ce.has(be), Ue = de && !Be && !me, De = oe.has(be), Ye = de && !De && !me;
931
+ const be = `card-${J}`, de = v !== null, Be = Q.has(be), me = ce.has(be), Ue = de && !Be && !me, De = oe.has(be), Ye = de && !De && !me;
932
932
  return /* @__PURE__ */ t(
933
933
  m,
934
934
  {
@@ -937,12 +937,12 @@ const ke = ({
937
937
  justifyContent: "center",
938
938
  alignItems: "center",
939
939
  // Staggered deal-in entrance
940
- opacity: V ? 1 : 0,
941
- transform: V ? "translateY(0) scale(1) rotateX(0deg)" : "translateY(30px) scale(0.9) rotateX(10deg)",
940
+ opacity: M ? 1 : 0,
941
+ transform: M ? "translateY(0) scale(1) rotateX(0deg)" : "translateY(30px) scale(0.9) rotateX(10deg)",
942
942
  transition: `all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) ${J * 100}ms`
943
943
  },
944
944
  children: I ? /* @__PURE__ */ t(
945
- gt,
945
+ ht,
946
946
  {
947
947
  segment: ae,
948
948
  index: J,
@@ -952,7 +952,7 @@ const ke = ({
952
952
  isOtherRevealed: me,
953
953
  shouldDim: Ye,
954
954
  isRevealed: de,
955
- hasEntered: V,
955
+ hasEntered: M,
956
956
  objectSize: N,
957
957
  crossfadeDuration: je,
958
958
  isStandard: f,
@@ -961,7 +961,7 @@ const ke = ({
961
961
  onPick: () => Re(J, !0)
962
962
  }
963
963
  ) : /* @__PURE__ */ t(
964
- bt,
964
+ xt,
965
965
  {
966
966
  segment: ae,
967
967
  index: J,
@@ -971,18 +971,18 @@ const ke = ({
971
971
  shouldDim: Ue,
972
972
  isRevealed: de,
973
973
  showLoseAnimation: q,
974
- hasEntered: V,
974
+ hasEntered: M,
975
975
  cardWidth: B,
976
976
  cardHeight: T,
977
977
  flipDuration: Xe,
978
978
  loseAnimationDuration: Pe,
979
979
  cardBaseColor: E,
980
- shimmerColor: M,
980
+ shimmerColor: V,
981
981
  primaryColor: r,
982
982
  contentColor: a,
983
983
  dangerColor: d,
984
984
  borderColor: o,
985
- brandingLogo: F,
985
+ brandingLogo: z,
986
986
  compactCards: g,
987
987
  onPick: () => Re(J, !1)
988
988
  }
@@ -1073,7 +1073,7 @@ const ke = ({
1073
1073
  boxSizing: "border-box"
1074
1074
  },
1075
1075
  children: [
1076
- !Y && z.welcome && /* @__PURE__ */ t(
1076
+ !Y && F.welcome && /* @__PURE__ */ t(
1077
1077
  D,
1078
1078
  {
1079
1079
  level: "body-md",
@@ -1085,7 +1085,7 @@ const ke = ({
1085
1085
  textAlign: "center",
1086
1086
  px: h.md
1087
1087
  },
1088
- children: z.welcome
1088
+ children: F.welcome
1089
1089
  }
1090
1090
  ),
1091
1091
  /* @__PURE__ */ t(
@@ -1124,7 +1124,7 @@ const ke = ({
1124
1124
  position: "relative",
1125
1125
  overflow: "hidden"
1126
1126
  },
1127
- children: ze()
1127
+ children: Fe()
1128
1128
  }
1129
1129
  ),
1130
1130
  G && (v == null ? void 0 : v.results) && /* @__PURE__ */ t(
@@ -1140,7 +1140,7 @@ const ke = ({
1140
1140
  sx: { mb: h.md }
1141
1141
  }
1142
1142
  ),
1143
- (F || z.disclaimer) && /* @__PURE__ */ w(
1143
+ (z || F.disclaimer) && /* @__PURE__ */ w(
1144
1144
  m,
1145
1145
  {
1146
1146
  sx: {
@@ -1150,7 +1150,7 @@ const ke = ({
1150
1150
  gap: h.md
1151
1151
  },
1152
1152
  children: [
1153
- z.disclaimer && /* @__PURE__ */ t(
1153
+ F.disclaimer && /* @__PURE__ */ t(
1154
1154
  D,
1155
1155
  {
1156
1156
  level: "body-sm",
@@ -1164,13 +1164,13 @@ const ke = ({
1164
1164
  maxWidth: "900px",
1165
1165
  lineHeight: 1.4
1166
1166
  },
1167
- children: z.disclaimer
1167
+ children: F.disclaimer
1168
1168
  }
1169
1169
  ),
1170
- F && I && /* @__PURE__ */ t(
1170
+ z && I && /* @__PURE__ */ t(
1171
1171
  "img",
1172
1172
  {
1173
- src: F,
1173
+ src: z,
1174
1174
  alt: "Brand Logo",
1175
1175
  style: {
1176
1176
  height: "auto",
@@ -1204,7 +1204,7 @@ const ke = ({
1204
1204
  overflow: "auto",
1205
1205
  boxSizing: "border-box"
1206
1206
  },
1207
- children: ze()
1207
+ children: Fe()
1208
1208
  }
1209
1209
  );
1210
1210
  }, kt = ({
@@ -1214,15 +1214,15 @@ const ke = ({
1214
1214
  defaultImagePlaceholderUrl: r
1215
1215
  }) => {
1216
1216
  var i, u, _;
1217
- const { t: x } = se(), o = K(), c = ie(), d = Te() === "dark", n = pe(
1217
+ const { t: x } = se(), o = K(), c = ie(), d = Ce() === "dark", n = pe(
1218
1218
  {
1219
1219
  images: e.images,
1220
1220
  imagePlaceholder: r || ""
1221
1221
  },
1222
1222
  fe.STANDARD
1223
- ), l = (i = e.branding) == null ? void 0 : i.colors, F = (l == null ? void 0 : l.primary_color) || c.palette.primary.plainColor, O = (l == null ? void 0 : l.border_color) || null, p = (l == null ? void 0 : l.background_color) || c.surfaceVariant || "", S = (u = e.branding) == null ? void 0 : u.images, g = o ? (S == null ? void 0 : S.mobile_logo) || (S == null ? void 0 : S.main_logo) || "" : (S == null ? void 0 : S.main_logo) || "";
1223
+ ), l = (i = e.branding) == null ? void 0 : i.colors, z = (l == null ? void 0 : l.primary_color) || c.palette.primary.plainColor, O = (l == null ? void 0 : l.border_color) || null, p = (l == null ? void 0 : l.background_color) || c.surfaceVariant || "", S = (u = e.branding) == null ? void 0 : u.images, g = o ? (S == null ? void 0 : S.mobile_logo) || (S == null ? void 0 : S.main_logo) || "" : (S == null ? void 0 : S.main_logo) || "";
1224
1224
  return /* @__PURE__ */ t(ke, { brandingBorderColor: O, children: /* @__PURE__ */ t(
1225
- Ae,
1225
+ $e,
1226
1226
  {
1227
1227
  entity: {
1228
1228
  ...e,
@@ -1236,18 +1236,18 @@ const ke = ({
1236
1236
  finalImage: n,
1237
1237
  imagePosition: a,
1238
1238
  children: /* @__PURE__ */ t(
1239
- Me,
1239
+ Ve,
1240
1240
  {
1241
1241
  infoPage: e,
1242
1242
  enableReset: s,
1243
1243
  contentColor: (l == null ? void 0 : l.content_color) || c.textPrimary,
1244
- primaryColor: F,
1244
+ primaryColor: z,
1245
1245
  onPrimaryColor: (l == null ? void 0 : l.content_color) || c.palette.primary.onPrimary || c.surface,
1246
1246
  borderColor: O || void 0,
1247
1247
  backgroundColor: p,
1248
1248
  dangerColor: c.palette.danger.plainColor,
1249
1249
  cardBaseColor: p,
1250
- shimmerColor: F,
1250
+ shimmerColor: z,
1251
1251
  brandingLogo: g,
1252
1252
  isDark: d,
1253
1253
  showTitleBlock: !1,
@@ -1305,14 +1305,14 @@ const ke = ({
1305
1305
  enableReset: s = !1,
1306
1306
  defaultImagePlaceholderUrl: a
1307
1307
  }) => {
1308
- var f, L, H, W, B, T, N, b, X, R, k, $, z, j, P, U, A, I, v;
1309
- const { t: r } = se(), x = K(), o = $e(), c = xe(), d = ((f = e.branding) == null ? void 0 : f.colors) || null, n = (L = e.branding) == null ? void 0 : L.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", F = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? He : Ne), p = l || pe(
1308
+ var f, L, H, W, B, T, N, b, X, R, k, $, F, j, P, U, A, I, v;
1309
+ const { t: r } = se(), x = K(), o = Te(), c = xe(), d = ((f = e.branding) == null ? void 0 : f.colors) || null, n = (L = e.branding) == null ? void 0 : L.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", z = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? He : Ne), p = l || pe(
1310
1310
  {
1311
1311
  images: e.images,
1312
1312
  imagePlaceholder: O
1313
1313
  },
1314
1314
  fe.OVERLAY
1315
- ), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((T = (B = (W = (H = o.colorSchemes) == null ? void 0 : H.light) == null ? void 0 : W.palette) == null ? void 0 : B.primary) == null ? void 0 : T.plainColor), u = (R = (X = (b = (N = o.colorSchemes) == null ? void 0 : N.light) == null ? void 0 : b.palette) == null ? void 0 : X.primary) == null ? void 0 : R.onPrimary, _ = (d == null ? void 0 : d.background_color) || (($ = (k = o.colorSchemes) == null ? void 0 : k.dark) == null ? void 0 : $.surfaceVariant), y = (U = (P = (j = (z = o.colorSchemes) == null ? void 0 : z.light) == null ? void 0 : j.palette) == null ? void 0 : P.danger) == null ? void 0 : U.plainColor, h = o.customFontFamily.dark.primary, C = o.customRadius.dark.md, E = (I = (A = o.customRadius) == null ? void 0 : A.light) == null ? void 0 : I.xl, M = Le({
1315
+ ), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((T = (B = (W = (H = o.colorSchemes) == null ? void 0 : H.light) == null ? void 0 : W.palette) == null ? void 0 : B.primary) == null ? void 0 : T.plainColor), u = (R = (X = (b = (N = o.colorSchemes) == null ? void 0 : N.light) == null ? void 0 : b.palette) == null ? void 0 : X.primary) == null ? void 0 : R.onPrimary, _ = (d == null ? void 0 : d.background_color) || (($ = (k = o.colorSchemes) == null ? void 0 : k.dark) == null ? void 0 : $.surfaceVariant), y = (U = (P = (j = (F = o.colorSchemes) == null ? void 0 : F.light) == null ? void 0 : j.palette) == null ? void 0 : P.danger) == null ? void 0 : U.plainColor, h = o.customFontFamily.dark.primary, C = o.customRadius.dark.md, E = (I = (A = o.customRadius) == null ? void 0 : A.light) == null ? void 0 : I.xl, V = Le({
1316
1316
  spacingScale: c,
1317
1317
  mdBorderRadius: C,
1318
1318
  contentBgColor: _,
@@ -1325,7 +1325,7 @@ const ke = ({
1325
1325
  textColor: g
1326
1326
  });
1327
1327
  return /* @__PURE__ */ t(
1328
- Ie,
1328
+ Ae,
1329
1329
  {
1330
1330
  entity: {
1331
1331
  ...e,
@@ -1337,8 +1337,8 @@ const ke = ({
1337
1337
  count: ((v = JSON.parse(e.body).segments) == null ? void 0 : v.length) || 0
1338
1338
  }),
1339
1339
  finalImage: p,
1340
- children: /* @__PURE__ */ t(m, { sx: M.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1341
- Me,
1340
+ children: /* @__PURE__ */ t(m, { sx: V.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1341
+ Ve,
1342
1342
  {
1343
1343
  infoPage: e,
1344
1344
  enableReset: s,
@@ -1349,7 +1349,7 @@ const ke = ({
1349
1349
  dangerColor: y,
1350
1350
  cardBaseColor: _,
1351
1351
  shimmerColor: i,
1352
- brandingLogo: F,
1352
+ brandingLogo: z,
1353
1353
  isDark: !0,
1354
1354
  showTitleBlock: !1,
1355
1355
  variant: "overlay",
@@ -1358,8 +1358,8 @@ const ke = ({
1358
1358
  ) })
1359
1359
  }
1360
1360
  );
1361
- }, zt = (e) => {
1362
- const s = we().secondary, a = et(), r = e.isSplitVariant && a, x = K(), o = Je(e.primaryUrl, e.secondaryUrl, "logo");
1361
+ }, Ft = (e) => {
1362
+ const s = we().secondary, a = Ke(), r = e.isSplitVariant && a, x = K(), o = gt(e.primaryUrl, e.secondaryUrl, "logo");
1363
1363
  if (!e.brandingLogo)
1364
1364
  return null;
1365
1365
  const c = () => {
@@ -1463,23 +1463,23 @@ const ke = ({
1463
1463
  ]
1464
1464
  }
1465
1465
  );
1466
- }, Ft = ({
1466
+ }, zt = ({
1467
1467
  infoPage: e,
1468
1468
  enableReset: s = !1,
1469
1469
  defaultImagePlaceholderUrl: a
1470
1470
  }) => {
1471
- var L, H, W, B, T, N, b, X, R, k, $, z, j, P, U, A, I, v, ee, te, Y, G, q, V, Z, oe, ce;
1472
- const { t: r } = se(), x = K(), o = $e(), c = xe(), d = ((L = e.branding) == null ? void 0 : L.colors) || null, n = (H = e.branding) == null ? void 0 : H.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", F = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? He : Ne), p = l || pe(
1471
+ var L, H, W, B, T, N, b, X, R, k, $, F, j, P, U, A, I, v, ee, te, Y, G, q, M, Q, oe, ce;
1472
+ const { t: r } = se(), x = K(), o = Te(), c = xe(), d = ((L = e.branding) == null ? void 0 : L.colors) || null, n = (H = e.branding) == null ? void 0 : H.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", z = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? He : Ne), p = l || pe(
1473
1473
  {
1474
1474
  images: e.images,
1475
1475
  imagePlaceholder: O
1476
1476
  },
1477
1477
  fe.OVERLAY
1478
- ), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((N = (T = (B = (W = o.colorSchemes) == null ? void 0 : W.light) == null ? void 0 : B.palette) == null ? void 0 : T.primary) == null ? void 0 : N.plainColor), u = (d == null ? void 0 : d.secondary_color) || ((k = (R = (X = (b = o.colorSchemes) == null ? void 0 : b.light) == null ? void 0 : X.palette) == null ? void 0 : R.danger) == null ? void 0 : k.plainColor), _ = (P = (j = (z = ($ = o.colorSchemes) == null ? void 0 : $.light) == null ? void 0 : z.palette) == null ? void 0 : j.primary) == null ? void 0 : P.onPrimary, y = (d == null ? void 0 : d.background_color) || ((A = (U = o.colorSchemes) == null ? void 0 : U.dark) == null ? void 0 : A.surfaceVariant), h = (te = (ee = (v = (I = o.colorSchemes) == null ? void 0 : I.light) == null ? void 0 : v.palette) == null ? void 0 : ee.danger) == null ? void 0 : te.plainColor, C = o.customFontFamily.dark.primary, E = o.customRadius.dark.md, M = (G = (Y = o.customRadius) == null ? void 0 : Y.light) == null ? void 0 : G.xl, f = Le({
1478
+ ), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((N = (T = (B = (W = o.colorSchemes) == null ? void 0 : W.light) == null ? void 0 : B.palette) == null ? void 0 : T.primary) == null ? void 0 : N.plainColor), u = (d == null ? void 0 : d.secondary_color) || ((k = (R = (X = (b = o.colorSchemes) == null ? void 0 : b.light) == null ? void 0 : X.palette) == null ? void 0 : R.danger) == null ? void 0 : k.plainColor), _ = (P = (j = (F = ($ = o.colorSchemes) == null ? void 0 : $.light) == null ? void 0 : F.palette) == null ? void 0 : j.primary) == null ? void 0 : P.onPrimary, y = (d == null ? void 0 : d.background_color) || ((A = (U = o.colorSchemes) == null ? void 0 : U.dark) == null ? void 0 : A.surfaceVariant), h = (te = (ee = (v = (I = o.colorSchemes) == null ? void 0 : I.light) == null ? void 0 : v.palette) == null ? void 0 : ee.danger) == null ? void 0 : te.plainColor, C = o.customFontFamily.dark.primary, E = o.customRadius.dark.md, V = (G = (Y = o.customRadius) == null ? void 0 : Y.light) == null ? void 0 : G.xl, f = Le({
1479
1479
  spacingScale: c,
1480
1480
  mdBorderRadius: E,
1481
1481
  contentBgColor: y,
1482
- buttonRadius: M,
1482
+ buttonRadius: V,
1483
1483
  primaryColor: i,
1484
1484
  onPrimaryColor: _,
1485
1485
  fontFamilyPrimary: C,
@@ -1488,7 +1488,7 @@ const ke = ({
1488
1488
  textColor: g
1489
1489
  });
1490
1490
  return /* @__PURE__ */ w(
1491
- Ie,
1491
+ Ae,
1492
1492
  {
1493
1493
  entity: {
1494
1494
  ...e,
@@ -1500,7 +1500,7 @@ const ke = ({
1500
1500
  finalImage: p,
1501
1501
  children: [
1502
1502
  /* @__PURE__ */ t(m, { sx: f.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1503
- Ve,
1503
+ Me,
1504
1504
  {
1505
1505
  infoPage: e,
1506
1506
  enableReset: s,
@@ -1511,19 +1511,19 @@ const ke = ({
1511
1511
  backgroundColor: y,
1512
1512
  dangerColor: h,
1513
1513
  shimmerColor: i,
1514
- brandingLogo: F,
1514
+ brandingLogo: z,
1515
1515
  isDark: !0,
1516
1516
  showTitleBlock: !1,
1517
1517
  variant: "overlay"
1518
1518
  }
1519
1519
  ) }),
1520
1520
  /* @__PURE__ */ t(
1521
- zt,
1521
+ Ft,
1522
1522
  {
1523
- brandingLogo: F,
1523
+ brandingLogo: z,
1524
1524
  textColor: S,
1525
1525
  label: ((q = e.labels) == null ? void 0 : q.sponsor) || null,
1526
- primaryUrl: (Z = (V = e.branding) == null ? void 0 : V.urls) == null ? void 0 : Z.primary_url,
1526
+ primaryUrl: (Q = (M = e.branding) == null ? void 0 : M.urls) == null ? void 0 : Q.primary_url,
1527
1527
  secondaryUrl: (ce = (oe = e.branding) == null ? void 0 : oe.urls) == null ? void 0 : ce.secondary_url
1528
1528
  }
1529
1529
  )
@@ -1531,21 +1531,21 @@ const ke = ({
1531
1531
  }
1532
1532
  );
1533
1533
  }, Wt = (e) => {
1534
- const { infoPage: s } = ct(e.entityId, "chance-game", e.sdk), a = () => {
1534
+ const { infoPage: s } = yt(e.entityId, "chance-game", e.sdk), a = () => {
1535
1535
  if (s && s.id !== "not-found") {
1536
- const o = Object.keys(Ke);
1536
+ const o = Object.keys(bt);
1537
1537
  if (s.language && o.includes(s.language))
1538
1538
  return s.language;
1539
1539
  if (s.language)
1540
1540
  return "en";
1541
1541
  }
1542
1542
  return e.language || "en";
1543
- }, [r, x] = qe(!1);
1544
- if (Ze(() => {
1543
+ }, [r, x] = nt(!1);
1544
+ if (rt(() => {
1545
1545
  const o = a();
1546
- tt(o).then(() => x(!0));
1546
+ qe(o).then(() => x(!0));
1547
1547
  }, [e.language, s]), !s || !r)
1548
- return /* @__PURE__ */ t(at, { my: 20 });
1548
+ return /* @__PURE__ */ t(lt, { my: 20 });
1549
1549
  if (s.id === "not-found")
1550
1550
  return /* @__PURE__ */ t(St, { template: e.template });
1551
1551
  if (e.template === ue.STANDARD) {
@@ -1575,23 +1575,23 @@ const ke = ({
1575
1575
  defaultImagePlaceholderUrl: o
1576
1576
  }
1577
1577
  ) : /* @__PURE__ */ t(
1578
- Ft,
1578
+ zt,
1579
1579
  {
1580
1580
  infoPage: s,
1581
1581
  defaultImagePlaceholderUrl: o
1582
1582
  }
1583
1583
  );
1584
1584
  }
1585
- return e.variant === ne.PENALTY_SHOOTOUT ? /* @__PURE__ */ t(ye, { infoPage: s }) : e.variant === ne.PICK_ONE_OF_X ? /* @__PURE__ */ t(yt, { infoPage: s }) : /* @__PURE__ */ t(vt, { infoPage: s });
1585
+ return e.variant === ne.PENALTY_SHOOTOUT ? /* @__PURE__ */ t(ye, { infoPage: s }) : e.variant === ne.PICK_ONE_OF_X ? /* @__PURE__ */ t(ft, { infoPage: s }) : /* @__PURE__ */ t(pt, { infoPage: s });
1586
1586
  }, _t = (e) => {
1587
- const [s, a] = Q.useState(!1), r = Q.useRef(
1587
+ const [s, a] = Z.useState(!1), r = Z.useRef(
1588
1588
  `chance-game-shadow-root-${Math.random().toString(36).substring(2, 11)}`
1589
- ), x = Q.useRef(null), o = Q.useRef(null), c = Q.useRef(null), d = Q.useRef(null);
1590
- Q.useEffect(() => {
1589
+ ), x = Z.useRef(null), o = Z.useRef(null), c = Z.useRef(null), d = Z.useRef(null);
1590
+ Z.useEffect(() => {
1591
1591
  if (x.current)
1592
1592
  return x.current.shadowRoot ? (o.current = x.current.shadowRoot, c.current = o.current.getElementById(
1593
1593
  r.current
1594
- ), c.current || (c.current = document.createElement("div"), c.current.id = r.current, o.current.appendChild(c.current))) : (o.current = x.current.attachShadow({ mode: "open" }), c.current = document.createElement("div"), c.current.id = r.current, o.current.appendChild(c.current)), d.current || (d.current = ot({
1594
+ ), c.current || (c.current = document.createElement("div"), c.current.id = r.current, o.current.appendChild(c.current))) : (o.current = x.current.attachShadow({ mode: "open" }), c.current = document.createElement("div"), c.current.id = r.current, o.current.appendChild(c.current)), d.current || (d.current = Qe({
1595
1595
  key: "chance-game-css",
1596
1596
  prepend: !0,
1597
1597
  container: o.current
@@ -1602,15 +1602,15 @@ const ke = ({
1602
1602
  const n = e.themeOptions, l = {
1603
1603
  ...n,
1604
1604
  mode: e.template === ue.OVERLAY ? "dark" : n == null ? void 0 : n.mode
1605
- }, F = /* @__PURE__ */ t(m, { ref: x }), O = s && x.current && c.current && d.current ? st(
1606
- /* @__PURE__ */ t(nt, { value: d.current, children: /* @__PURE__ */ t(rt, { containerRef: x, children: /* @__PURE__ */ t(
1607
- lt,
1605
+ }, z = /* @__PURE__ */ t(m, { ref: x }), O = s && x.current && c.current && d.current ? vt(
1606
+ /* @__PURE__ */ t(Ze, { value: d.current, children: /* @__PURE__ */ t(et, { containerRef: x, children: /* @__PURE__ */ t(
1607
+ tt,
1608
1608
  {
1609
1609
  customTheme: l,
1610
1610
  mode: l == null ? void 0 : l.mode,
1611
1611
  shadowRootElement: c.current,
1612
1612
  children: /* @__PURE__ */ t(
1613
- it,
1613
+ ot,
1614
1614
  {
1615
1615
  shadowRootElement: c.current,
1616
1616
  leadPhoneCountryCode: null,
@@ -1624,7 +1624,7 @@ const ke = ({
1624
1624
  c.current
1625
1625
  ) : null;
1626
1626
  return /* @__PURE__ */ w(re, { children: [
1627
- F,
1627
+ z,
1628
1628
  O
1629
1629
  ] });
1630
1630
  }, Ot = (e) => /* @__PURE__ */ t(_t, { ...e, children: /* @__PURE__ */ t(Wt, { ...e }) }), Nt = Ot;