fansunited-frontend-components 0.0.95 → 0.0.96

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 (104) hide show
  1. package/Betslip.d.ts +1 -2
  2. package/Betslip.d.ts.map +1 -1
  3. package/Betslip.js +4 -3
  4. package/ChanceGame.js +165 -163
  5. package/ChanceGameComponent.d.ts +1 -1
  6. package/ChanceGameComponent.d.ts.map +1 -1
  7. package/ClassicQuizPlay.d.ts +1 -1
  8. package/ClassicQuizPlay.d.ts.map +1 -1
  9. package/ClassicQuizPlay.js +4 -3
  10. package/CollectLead.d.ts +1 -1
  11. package/CollectLead.d.ts.map +1 -1
  12. package/CollectLead.js +37 -36
  13. package/CompetitionStatistics.d.ts +1 -2
  14. package/CompetitionStatistics.d.ts.map +1 -1
  15. package/CompetitionStatistics.js +458 -451
  16. package/CompetitorCard.d.ts +1 -2
  17. package/CompetitorCard.d.ts.map +1 -1
  18. package/CompetitorCard.js +1235 -1226
  19. package/Discussion.d.ts +1 -1
  20. package/Discussion.d.ts.map +1 -1
  21. package/Discussion.js +4 -3
  22. package/EitherOrPlay.d.ts +1 -1
  23. package/EitherOrPlay.d.ts.map +1 -1
  24. package/EitherOrPlay.js +4 -3
  25. package/EventCard.d.ts +1 -2
  26. package/EventCard.d.ts.map +1 -1
  27. package/EventCard.js +1249 -1244
  28. package/EventGamePlay.d.ts +1 -1
  29. package/EventGamePlay.d.ts.map +1 -1
  30. package/EventGamePlay.js +4 -3
  31. package/Leaderboard.d.ts +1 -1
  32. package/Leaderboard.d.ts.map +1 -1
  33. package/Leaderboard.js +482 -449
  34. package/List.d.ts +1 -2
  35. package/List.d.ts.map +1 -1
  36. package/List.js +258 -254
  37. package/MatchQuizPlay.d.ts +1 -1
  38. package/MatchQuizPlay.d.ts.map +1 -1
  39. package/MatchQuizPlay.js +4 -3
  40. package/Odds.d.ts +1 -2
  41. package/Odds.d.ts.map +1 -1
  42. package/Odds.js +35 -34
  43. package/PersonalityQuizPlay.d.ts +1 -1
  44. package/PersonalityQuizPlay.d.ts.map +1 -1
  45. package/PersonalityQuizPlay.js +4 -3
  46. package/PickThePair.js +102 -100
  47. package/PickThePairComponent.d.ts +1 -1
  48. package/PickThePairComponent.d.ts.map +1 -1
  49. package/PlayerOfTheMatch.d.ts +1 -2
  50. package/PlayerOfTheMatch.d.ts.map +1 -1
  51. package/PlayerOfTheMatch.js +1096 -1085
  52. package/PollVote.d.ts +1 -1
  53. package/PollVote.d.ts.map +1 -1
  54. package/PollVote.js +4 -3
  55. package/Predictor.d.ts +1 -2
  56. package/Predictor.d.ts.map +1 -1
  57. package/Predictor.js +4553 -4525
  58. package/README.md +1 -1
  59. package/Standings.d.ts +1 -2
  60. package/Standings.d.ts.map +1 -1
  61. package/Standings.js +404 -394
  62. package/TopX.d.ts +1 -2
  63. package/TopX.d.ts.map +1 -1
  64. package/TopX.js +5296 -5286
  65. package/chunks/{ChanceGameEmbedVariant-C3NGwvTF.js → ChanceGameEmbedVariant-CVys-3Zh.js} +1 -1
  66. package/chunks/{OddsSkeleton-Bav8FHHN.js → OddsSkeleton-ClJE2xhR.js} +5 -5
  67. package/chunks/{OddsStrip-CviVfQI4.js → OddsStrip-BnSp5TXa.js} +3 -3
  68. package/chunks/{PickOneOfX-a6Dv0-rR.js → PickOneOfX-DaJtkbCw.js} +6 -6
  69. package/chunks/index-Aq5MbUB9.js +4 -0
  70. package/chunks/index-BBQm_8LD.js +4 -0
  71. package/chunks/index-BC_sWWgc.js +4 -0
  72. package/chunks/index-DXKDJ1Vp.js +4 -0
  73. package/chunks/index-DjT5NrbA.js +4 -0
  74. package/chunks/index-DvLRehH6.js +4 -0
  75. package/chunks/index-aIMaxR-p.js +4 -0
  76. package/chunks/{main-Dj4Manb5.js → main-52Wff7qC.js} +1763 -1757
  77. package/chunks/{main-dwV_55lz.js → main-65WcUqAl.js} +615 -615
  78. package/chunks/{main-gexg6lc-.js → main-B58mi9jx.js} +349 -334
  79. package/chunks/{main-Dys2_Jt2.js → main-BIdXUTZS.js} +842 -827
  80. package/chunks/{main-CFwRpvUi.js → main-DD-NEzC7.js} +818 -817
  81. package/chunks/{main-DjiQz1dv.js → main-DUnfJPzY.js} +311 -311
  82. package/chunks/{main-eAQMCxQ7.js → main-DpCBqqg_.js} +322 -321
  83. package/chunks/{main-D9tFZv2q.js → main-Drznt1ak.js} +283 -282
  84. package/chunks/withVersionStamp-B6nArAj4.js +16 -0
  85. package/index.d.ts.map +1 -1
  86. package/index.js +45 -50
  87. package/package.json +57 -49
  88. package/withVersionStamp.d.ts +4 -0
  89. package/withVersionStamp.d.ts.map +1 -0
  90. package/chunks/3dicons-bookmark-fav-dynamic-color-BkMV51tL.js +0 -4
  91. package/chunks/3dicons-crow-dynamic-color-BnvCj9i8.js +0 -4
  92. package/chunks/3dicons-fire-dynamic-color-rNRL0kAe.js +0 -4
  93. package/chunks/3dicons-flag-dynamic-color-BscQxNXn.js +0 -4
  94. package/chunks/3dicons-medal-dynamic-color-CsR036OL.js +0 -4
  95. package/chunks/3dicons-rocket-dynamic-color-EiHCJ2rb.js +0 -4
  96. package/chunks/3dicons-target-dynamic-color-ChQzHpwv.js +0 -4
  97. package/chunks/3dicons-thumb-down-dynamic-color-NQLnsNFt.js +0 -4
  98. package/chunks/index-B1d9q8fX.js +0 -4
  99. package/chunks/index-BP0pvFJ4.js +0 -4
  100. package/chunks/index-CHZyL_g_.js +0 -4
  101. package/chunks/index-CeCUdRmF.js +0 -4
  102. package/chunks/index-Ckyyw-I8.js +0 -4
  103. package/chunks/index-DGvCP5G8.js +0 -4
  104. package/chunks/index-yjMVOgwO.js +0 -4
@@ -1,4 +1,4 @@
1
1
  import { ChanceGameProps } from "fansunited-frontend-core";
2
2
 
3
- export declare const ChanceGame: React.FC<ChanceGameProps>;
3
+ export declare const ChanceGame: import('react').FC<ChanceGameProps>;
4
4
  //# sourceMappingURL=ChanceGameComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChanceGameComponent.d.ts","sourceRoot":"","sources":["../../src/ChanceGameComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAuB,CAAC"}
1
+ {"version":3,"file":"ChanceGameComponent.d.ts","sourceRoot":"","sources":["../../src/ChanceGameComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD,eAAO,MAAM,UAAU,qCAAyD,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { ClassicQuizPlayProps } from "fansunited-frontend-core";
2
2
 
3
- export declare const ClassicQuizPlay: React.FC<ClassicQuizPlayProps>;
3
+ export declare const ClassicQuizPlay: import('react').FC<ClassicQuizPlayProps>;
4
4
  //# sourceMappingURL=ClassicQuizPlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClassicQuizPlay.d.ts","sourceRoot":"","sources":["../../src/ClassicQuizPlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAA4B,CAAC"}
1
+ {"version":3,"file":"ClassicQuizPlay.d.ts","sourceRoot":"","sources":["../../src/ClassicQuizPlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1D,eAAO,MAAM,eAAe,0CAAmE,CAAC"}
@@ -1,5 +1,6 @@
1
- import { M as a } from "./chunks/main-Dys2_Jt2.js";
2
- const o = a;
1
+ import { M as i } from "./chunks/main-BIdXUTZS.js";
2
+ import { w as o } from "./chunks/withVersionStamp-B6nArAj4.js";
3
+ const s = o(i);
3
4
  export {
4
- o as ClassicQuizPlay
5
+ s as ClassicQuizPlay
5
6
  };
package/CollectLead.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { CollectLeadProps } from "fansunited-frontend-core";
2
2
 
3
- export declare const CollectLead: React.FC<CollectLeadProps>;
3
+ export declare const CollectLead: import('react').FC<CollectLeadProps>;
4
4
  //# sourceMappingURL=CollectLead.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CollectLead.d.ts","sourceRoot":"","sources":["../../src/CollectLead.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAAwB,CAAC"}
1
+ {"version":3,"file":"CollectLead.d.ts","sourceRoot":"","sources":["../../src/CollectLead.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,eAAO,MAAM,WAAW,sCAA2D,CAAC"}
package/CollectLead.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import { jsx as n, jsxs as s, Fragment as r } from "react/jsx-runtime";
2
- import { useFontFamily as Y, isMobile as Q, getBrandingClickUrl as de, useConstantContext as J, CollectLeadForm as me, useInternalTheme as K, useSpacingScale as X, useImageBackgroundGradient as Z, WidgetTemplate as w, defaultBgVertical as le, defaultBg as ae, useImageVariant as ee, sanitizeBackgroundUrl as se, useCornerRadius as q, useColors as u, useBorderSize as ge, usePhysicalImagePosition as xe, hexToRgb as re, Portal as fe } from "fansunited-frontend-core";
2
+ import { useFontFamily as Y, isMobile as Q, getBrandingClickUrl as de, useConstantContext as J, CollectLeadForm as me, useInternalTheme as K, useSpacingScale as X, useImageBackgroundGradient as Z, WidgetTemplate as A, defaultBgVertical as le, defaultBg as ae, useImageVariant as ee, sanitizeBackgroundUrl as se, useCornerRadius as q, useColors as u, useBorderSize as ge, usePhysicalImagePosition as xe, hexToRgb as re, Portal as fe } from "fansunited-frontend-core";
3
3
  import { Box as o, Typography as y } from "@mui/joy";
4
4
  import { useTranslation as ye } from "react-i18next";
5
5
  import { createContext as ue } from "react";
6
+ import { w as he } from "./chunks/withVersionStamp-B6nArAj4.js";
6
7
  const te = (e) => {
7
8
  const i = Y().secondary, m = Q(), a = de(e.primaryUrl, e.secondaryUrl, "logo");
8
9
  if (!e.brandingLogo)
@@ -112,7 +113,7 @@ const te = (e) => {
112
113
  shadowRootElement: null,
113
114
  language: null,
114
115
  sdk: null
115
- }), he = ({
116
+ }), be = ({
116
117
  shadowRootElement: e,
117
118
  phoneCountryCode: i,
118
119
  images: m,
@@ -200,7 +201,7 @@ const te = (e) => {
200
201
  syncWithProfile: T
201
202
  }
202
203
  );
203
- }, be = (e) => ({
204
+ }, Ce = (e) => ({
204
205
  // Main container with background overlay
205
206
  mainContainer: {
206
207
  display: "flex",
@@ -383,22 +384,22 @@ const te = (e) => {
383
384
  display: "flex",
384
385
  alignItems: "center"
385
386
  }
386
- }), Ce = (e) => {
387
+ }), Se = (e) => {
387
388
  let i = (e == null ? void 0 : e.mainLogo) || null;
388
389
  return Q() && (i = (e == null ? void 0 : e.mobileLogo) || (e == null ? void 0 : e.mainLogo) || null), i;
389
- }, Se = () => {
390
- var R, l, U, M, I, L, D, z, H, v, B, W, C, x, h, A, G, E;
390
+ }, pe = () => {
391
+ var R, l, U, M, I, L, D, z, H, v, B, w, C, x, h, W, G, E;
391
392
  const e = J(_), i = K(), m = X(), a = Z(
392
- w.OVERLAY
393
- ), d = Q(), t = Ce(
393
+ A.OVERLAY
394
+ ), d = Q(), t = Se(
394
395
  ((R = e.branding) == null ? void 0 : R.images) || null
395
396
  ), f = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : d ? le : ae, b = ee(
396
397
  {
397
398
  images: e.images || null,
398
399
  imagePlaceholder: f
399
400
  },
400
- w.OVERLAY
401
- ), S = se(b), p = i.colorSchemes.dark.textColor, T = i.customFontFamily.dark.primary, k = i.customFontFamily.dark.secondary, j = i.customRadius.dark.md, N = (l = i.border) == null ? void 0 : l.dark.size, F = (M = (U = i.colorSchemes) == null ? void 0 : U.dark) == null ? void 0 : M.surfaceVariant, P = (L = (I = i.customRadius) == null ? void 0 : I.light) == null ? void 0 : L.xl, V = (v = (H = (z = (D = i.colorSchemes) == null ? void 0 : D.light) == null ? void 0 : z.palette) == null ? void 0 : H.primary) == null ? void 0 : v.plainColor, $ = (x = (C = (W = (B = i.colorSchemes) == null ? void 0 : B.light) == null ? void 0 : W.palette) == null ? void 0 : C.primary) == null ? void 0 : x.onPrimary, c = be({
401
+ A.OVERLAY
402
+ ), S = se(b), p = i.colorSchemes.dark.textColor, T = i.customFontFamily.dark.primary, k = i.customFontFamily.dark.secondary, j = i.customRadius.dark.md, N = (l = i.border) == null ? void 0 : l.dark.size, F = (M = (U = i.colorSchemes) == null ? void 0 : U.dark) == null ? void 0 : M.surfaceVariant, P = (L = (I = i.customRadius) == null ? void 0 : I.light) == null ? void 0 : L.xl, V = (v = (H = (z = (D = i.colorSchemes) == null ? void 0 : D.light) == null ? void 0 : z.palette) == null ? void 0 : H.primary) == null ? void 0 : v.plainColor, $ = (x = (C = (w = (B = i.colorSchemes) == null ? void 0 : B.light) == null ? void 0 : w.palette) == null ? void 0 : C.primary) == null ? void 0 : x.onPrimary, c = Ce({
402
403
  spacingScale: m,
403
404
  secondaryColor: p,
404
405
  fontFamilyPrimary: T,
@@ -424,7 +425,7 @@ const te = (e) => {
424
425
  );
425
426
  };
426
427
  return /* @__PURE__ */ s(o, { sx: c.mainContainer, children: [
427
- (h = e.labels) != null && h.title || (A = e.labels) != null && A.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */ n(o, { sx: c.headlineSection, children: /* @__PURE__ */ n(o, { sx: c.headlineContent, children: /* @__PURE__ */ n(o, { sx: c.headlineContentInner, children: /* @__PURE__ */ s(o, { sx: c.contentContainer, children: [
428
+ (h = e.labels) != null && h.title || (W = e.labels) != null && W.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */ n(o, { sx: c.headlineSection, children: /* @__PURE__ */ n(o, { sx: c.headlineContent, children: /* @__PURE__ */ n(o, { sx: c.headlineContentInner, children: /* @__PURE__ */ s(o, { sx: c.contentContainer, children: [
428
429
  (G = e.labels) != null && G.title ? /* @__PURE__ */ n(y, { level: "h4", sx: c.titleText, children: e.labels.title }) : /* @__PURE__ */ n(r, {}),
429
430
  (E = e.labels) != null && E.description ? /* @__PURE__ */ n(y, { level: "body-lg", sx: c.pollDescriptionText, children: e.labels.description }) : /* @__PURE__ */ n(r, {})
430
431
  ] }) }) }) }) }) : /* @__PURE__ */ n(r, {}),
@@ -452,7 +453,7 @@ const te = (e) => {
452
453
  children: e
453
454
  }
454
455
  );
455
- }, pe = (e) => ({
456
+ }, Te = (e) => ({
456
457
  // Mobile headline with image background
457
458
  mobileHeadlineWithImage: {
458
459
  display: { xs: "flex", md: "none" },
@@ -761,17 +762,17 @@ const te = (e) => {
761
762
  // Visual indicator for development (remove in production)
762
763
  // border: "1px dashed rgba(255,255,255,0.7)",
763
764
  }
764
- }), Te = (e) => {
765
- var I, L, D, z, H, v, B, W, C;
765
+ }), ke = (e) => {
766
+ var I, L, D, z, H, v, B, w, C;
766
767
  const i = J(_), m = K(), a = e.imagePosition || "left", d = ee(
767
768
  {
768
769
  images: i.images || null,
769
770
  imagePlaceholder: i.defaultImagePlaceholderUrl ? i.defaultImagePlaceholderUrl : ""
770
771
  },
771
- w.STANDARD
772
+ A.STANDARD
772
773
  ), t = Q(), f = t ? ((L = (I = i.branding) == null ? void 0 : I.images) == null ? void 0 : L.mobileLogo) || ((z = (D = i.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "" : ((v = (H = i.branding) == null ? void 0 : H.images) == null ? void 0 : v.mainLogo) || "", b = u().textColor, S = u().textSecondary, p = Y().secondary, T = "60%", k = Y().primary, j = u().surfaceVariant, N = q().md, F = q().sm, P = u().palette.primary.plainColor, V = u().palette.primary.onPrimary, $ = q().xl, c = X(), g = Z(
773
- w.STANDARD
774
- ), R = xe(a), l = pe({
774
+ A.STANDARD
775
+ ), R = xe(a), l = Te({
775
776
  finalImage: d,
776
777
  spacingScale: c,
777
778
  borderRadius: q(),
@@ -802,9 +803,9 @@ const te = (e) => {
802
803
  };
803
804
  return /* @__PURE__ */ s(ce, { children: [
804
805
  (() => {
805
- var x, h, A, G, E, O, ie, oe;
806
+ var x, h, W, G, E, O, ie, oe;
806
807
  return t ? d ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithImage, children: (x = i.labels) != null && x.title || (h = i.labels) != null && h.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineContent, children: /* @__PURE__ */ s(o, { sx: l.contentContainer, children: [
807
- (A = i.labels) != null && A.title ? /* @__PURE__ */ n(y, { sx: l.titleTypographyMobileImage, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
808
+ (W = i.labels) != null && W.title ? /* @__PURE__ */ n(y, { sx: l.titleTypographyMobileImage, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
808
809
  (G = i.labels) != null && G.description ? /* @__PURE__ */ n(y, { sx: l.descriptionTypographyMobileImage, children: i.labels.description }) : /* @__PURE__ */ n(r, {})
809
810
  ] }) }) : /* @__PURE__ */ n(r, {}) }) : (E = i.labels) != null && E.title || (O = i.labels) != null && O.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithoutImage, children: /* @__PURE__ */ s(o, { sx: l.contentContainer, children: [
810
811
  (ie = i.labels) != null && ie.title ? /* @__PURE__ */ n(y, { level: "h4", sx: l.titleTypography, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
@@ -813,7 +814,7 @@ const te = (e) => {
813
814
  })(),
814
815
  R === "left" && d ? /* @__PURE__ */ n(o, { sx: l.imageContainerLeft, children: /* @__PURE__ */ n(o, { sx: l.imageSafeArea }) }) : null,
815
816
  /* @__PURE__ */ s(o, { sx: l.mainContentArea, children: [
816
- !t && ((B = i.labels) != null && B.title || (W = i.labels) != null && W.description) ? /* @__PURE__ */ n(o, { sx: { px: c.md }, children: /* @__PURE__ */ n(o, { sx: l.desktopHeadlineContainer, children: /* @__PURE__ */ n(o, { children: /* @__PURE__ */ s(o, { sx: l.contentContainer, children: [
817
+ !t && ((B = i.labels) != null && B.title || (w = i.labels) != null && w.description) ? /* @__PURE__ */ n(o, { sx: { px: c.md }, children: /* @__PURE__ */ n(o, { sx: l.desktopHeadlineContainer, children: /* @__PURE__ */ n(o, { children: /* @__PURE__ */ s(o, { sx: l.contentContainer, children: [
817
818
  i.labels.title ? /* @__PURE__ */ n(y, { level: "h4", sx: l.titleTypographyDesktop, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
818
819
  (C = i.labels) != null && C.description ? /* @__PURE__ */ n(y, { sx: l.descriptionTypographyDesktop, children: i.labels.description }) : /* @__PURE__ */ n(r, {})
819
820
  ] }) }) }) }) : /* @__PURE__ */ n(r, {}),
@@ -822,7 +823,7 @@ const te = (e) => {
822
823
  ] }),
823
824
  R === "right" && d ? /* @__PURE__ */ n(o, { sx: l.imageContainerRight, children: /* @__PURE__ */ n(o, { sx: l.imageSafeArea }) }) : null
824
825
  ] });
825
- }, ke = (e) => ({
826
+ }, Fe = (e) => ({
826
827
  // Main headline section with background image
827
828
  headlineSection: {
828
829
  display: "flex",
@@ -1156,17 +1157,17 @@ const te = (e) => {
1156
1157
  presentedByMobile: {
1157
1158
  display: { xs: "block", md: "none" }
1158
1159
  }
1159
- }), Fe = () => {
1160
- var U, M, I, L, D, z, H, v, B, W;
1160
+ }), Pe = () => {
1161
+ var U, M, I, L, D, z, H, v, B, w;
1161
1162
  const e = J(_), i = K(), m = Q(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : m ? le : ae, d = ee(
1162
1163
  {
1163
1164
  images: e.images || null,
1164
1165
  imagePlaceholder: a
1165
1166
  },
1166
- w.SPLIT
1167
- ), t = m ? ((M = (U = e.branding) == null ? void 0 : U.images) == null ? void 0 : M.mobileLogo) || ((L = (I = e.branding) == null ? void 0 : I.images) == null ? void 0 : L.mainLogo) || "" : ((z = (D = e.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "", f = u().textColor, b = Y().secondary, S = "60%", p = Y().primary, T = q().xl, k = u().surfaceVariant, j = (v = (H = u().palette) == null ? void 0 : H.primary) == null ? void 0 : v.plainColor, N = (W = (B = u().palette) == null ? void 0 : B.primary) == null ? void 0 : W.onPrimary, F = u().textColor, P = X(), V = q(), $ = Z(
1168
- w.SPLIT
1169
- ), c = re(k || ""), g = ke({
1167
+ A.SPLIT
1168
+ ), t = m ? ((M = (U = e.branding) == null ? void 0 : U.images) == null ? void 0 : M.mobileLogo) || ((L = (I = e.branding) == null ? void 0 : I.images) == null ? void 0 : L.mainLogo) || "" : ((z = (D = e.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "", f = u().textColor, b = Y().secondary, S = "60%", p = Y().primary, T = q().xl, k = u().surfaceVariant, j = (v = (H = u().palette) == null ? void 0 : H.primary) == null ? void 0 : v.plainColor, N = (w = (B = u().palette) == null ? void 0 : B.primary) == null ? void 0 : w.onPrimary, F = u().textColor, P = X(), V = q(), $ = Z(
1169
+ A.SPLIT
1170
+ ), c = re(k || ""), g = Fe({
1170
1171
  finalImage: d,
1171
1172
  spacingScale: P,
1172
1173
  borderRadius: V,
@@ -1194,11 +1195,11 @@ const te = (e) => {
1194
1195
  };
1195
1196
  return /* @__PURE__ */ s(ce, { children: [
1196
1197
  (() => {
1197
- var C, x, h, A;
1198
+ var C, x, h, W;
1198
1199
  return /* @__PURE__ */ n(o, { sx: g.headlineSection, children: /* @__PURE__ */ s(o, { sx: g.headlineContent, children: [
1199
1200
  (C = e.labels) != null && C.title || (x = e.labels) != null && x.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */ s(o, { sx: g.contentContainer, children: [
1200
1201
  (h = e.labels) != null && h.title ? /* @__PURE__ */ n(y, { sx: g.pollTitleText, children: e.labels.title }) : /* @__PURE__ */ n(r, {}),
1201
- (A = e.labels) != null && A.description ? /* @__PURE__ */ n(y, { sx: g.pollDescriptionText, children: e.labels.description }) : /* @__PURE__ */ n(r, {})
1202
+ (W = e.labels) != null && W.description ? /* @__PURE__ */ n(y, { sx: g.pollDescriptionText, children: e.labels.description }) : /* @__PURE__ */ n(r, {})
1202
1203
  ] }) }) : /* @__PURE__ */ n(r, {}),
1203
1204
  t ? /* @__PURE__ */ n(o, { sx: g.presentedByDesktop, children: R(i.colorSchemes.dark.textColor) }) : /* @__PURE__ */ n(r, {})
1204
1205
  ] }) });
@@ -1215,10 +1216,10 @@ const te = (e) => {
1215
1216
  ] }) })
1216
1217
  ] });
1217
1218
  };
1218
- function Pe(e) {
1219
- return e.template === w.STANDARD;
1219
+ function Re(e) {
1220
+ return e.template === A.STANDARD;
1220
1221
  }
1221
- const Re = (e) => e.template === w.OVERLAY ? /* @__PURE__ */ n(Se, {}) : Pe(e) ? /* @__PURE__ */ n(Te, { imagePosition: e.imagePosition || "left" }) : /* @__PURE__ */ n(Fe, {}), Ie = (e) => {
1222
+ const Ie = (e) => e.template === A.OVERLAY ? /* @__PURE__ */ n(pe, {}) : Re(e) ? /* @__PURE__ */ n(ke, { imagePosition: e.imagePosition || "left" }) : /* @__PURE__ */ n(Pe, {}), Le = (e) => {
1222
1223
  var i;
1223
1224
  return /* @__PURE__ */ n(
1224
1225
  fe,
@@ -1227,7 +1228,7 @@ const Re = (e) => e.template === w.OVERLAY ? /* @__PURE__ */ n(Se, {}) : Pe(e) ?
1227
1228
  entityId: ((i = e.content) == null ? void 0 : i.id) || "",
1228
1229
  ...e,
1229
1230
  children: /* @__PURE__ */ n(
1230
- he,
1231
+ be,
1231
1232
  {
1232
1233
  phoneCountryCode: e.phoneCountryCode,
1233
1234
  language: e.language,
@@ -1244,12 +1245,12 @@ const Re = (e) => e.template === w.OVERLAY ? /* @__PURE__ */ n(Se, {}) : Pe(e) ?
1244
1245
  customFields: e.customFields,
1245
1246
  consents: e.consents,
1246
1247
  syncWithProfile: e.syncWithProfile,
1247
- children: /* @__PURE__ */ n(Re, { ...e })
1248
+ children: /* @__PURE__ */ n(Ie, { ...e })
1248
1249
  }
1249
1250
  )
1250
1251
  }
1251
1252
  );
1252
- }, Be = Ie;
1253
+ }, We = he(Le);
1253
1254
  export {
1254
- Be as CollectLead
1255
+ We as CollectLead
1255
1256
  };
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
1
  import { CompetitionStatisticsProps } from "fansunited-frontend-core";
3
2
 
4
- export declare const CompetitionStatistics: React.FC<CompetitionStatisticsProps>;
3
+ export declare const CompetitionStatistics: import('react').FC<CompetitionStatisticsProps>;
5
4
  //# sourceMappingURL=CompetitionStatistics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CompetitionStatistics.d.ts","sourceRoot":"","sources":["../../src/CompetitionStatistics.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CACvC,CAAC"}
1
+ {"version":3,"file":"CompetitionStatistics.d.ts","sourceRoot":"","sources":["../../src/CompetitionStatistics.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGhE,eAAO,MAAM,qBAAqB,gDAA+E,CAAC"}