fansunited-frontend-components 0.0.79 → 0.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Betslip.js +1 -1
- package/ChanceGame.js +12 -11
- package/ClassicQuizPlay.js +1 -1
- package/CollectLead.js +39 -38
- package/Discussion.js +1 -1
- package/EitherOrPlay.js +1 -1
- package/EventCard.js +61 -61
- package/EventGamePlay.js +1 -1
- package/Leaderboard.js +13 -13
- package/List.js +125 -124
- package/MatchQuizPlay.js +1 -1
- package/PersonalityQuizPlay.js +1 -1
- package/PickThePair.js +13 -12
- package/PlayerOfTheMatch.js +22 -22
- package/PollVote.js +1 -1
- package/Predictor.js +1 -1
- package/README.md +131 -16
- package/Standings.js +26 -26
- package/TopX.js +27 -27
- package/chunks/{AccessTime-B30dztb0.js → AccessTime-BoYoyig3.js} +1 -1
- package/chunks/{AlertMessage-DioJxnEH.js → AlertMessage-DBbObbCr.js} +13 -13
- package/chunks/{Avatar-BDK_vO0c.js → Avatar-Bs2ODH24.js} +25 -25
- package/chunks/{Button-CsvEgUxT.js → Button-By0gW9vl.js} +17 -17
- package/chunks/{Card-Bp7sboHu.js → Card-Bbq-568c.js} +17 -17
- package/chunks/{CardActions-ehD6I2GZ.js → CardActions-DntJimyi.js} +14 -14
- package/chunks/{CardContent-BZDBKTQD.js → CardContent-JrB_z1Or.js} +5 -5
- package/chunks/{ChanceGameEmbedVariant-DMI7i2Me.js → ChanceGameEmbedVariant-D8b8PZnU.js} +21 -20
- package/chunks/{CheckCircle-BXhOrVkK.js → CheckCircle-BVTGl0Ft.js} +1 -1
- package/chunks/{Chip-Bm-Ccjvy.js → Chip-WC9No4h9.js} +10 -10
- package/chunks/{Close-CG_aSJDO.js → Close-CKW5gQRw.js} +1 -1
- package/chunks/{Close-AaOgLIme.js → Close-tWsMMKfA.js} +1 -1
- package/chunks/{CollectLeadForm-DZe1Ymdq.js → CollectLeadForm-CwcEETPM.js} +90 -90
- package/chunks/{ConsentsList-DooBFFmw.js → ConsentsList-D1KKdfOJ.js} +39 -39
- package/chunks/{DirectionScope-oLk_U3C_.js → DirectionScope-BYGJWPAq.js} +1 -1
- package/chunks/{Divider-CAgadBhD.js → Divider-4Rcw4h05.js} +5 -5
- package/chunks/{Edit-kXDl-pRS.js → Edit-D7yPt8sV.js} +13 -13
- package/chunks/{EditOutlined-BX5qBF8L.js → EditOutlined-DvZLGuHA.js} +1 -1
- package/chunks/{EmojiEvents-xseHOk4b.js → EmojiEvents-YHRdPnXx.js} +1 -1
- package/chunks/{FavoriteBorder-BMOLtK7X.js → FavoriteBorder-BXLiJyTv.js} +1 -1
- package/chunks/{FormControl-BTDS6ct5.js → FormControl-yhrIQ7ci.js} +17 -17
- package/chunks/{FormLabel-Ddvg7Uaw.js → FormLabel-COGIjfEx.js} +10 -10
- package/chunks/{InlineSpinner-CvwR2FB_.js → InlineSpinner-CyqM_yQn.js} +2 -2
- package/chunks/{Input-aCtmZdRk.js → Input-Dm3GnI0X.js} +10 -10
- package/chunks/{KeyboardArrowDown-BFuNjWbC.js → KeyboardArrowDown-CCFl-_Cw.js} +1 -1
- package/chunks/{KeyboardArrowRight-DaukpNJR.js → KeyboardArrowRight-387qOqAR.js} +1 -1
- package/chunks/{Link-lifAyVr-.js → Link-ByX_uwKs.js} +16 -16
- package/chunks/{ListItemButton-BSg2RH3G.js → ListItemButton-CxWpt9SR.js} +52 -52
- package/chunks/{ModalClose-C-dgGCpP.js → ModalClose-Cm8vOuk-.js} +17 -17
- package/chunks/{ModalDialog-DyJQmPgR.js → ModalDialog-CXSBeWlQ.js} +42 -42
- package/chunks/{NotFoundSkeleton-CPrI2SnC.js → NotFoundSkeleton-BV0mXA7z.js} +40 -39
- package/chunks/{Notification-1ogsNUiX.js → Notification-preGSwrO.js} +12 -12
- package/chunks/{OverlayScoreStateSkeleton-DALoMahw.js → OverlayScoreStateSkeleton-CA4yxhzc.js} +4 -4
- package/chunks/{OverlayScoreStateWrapperSkeleton-BDDNd4hM.js → OverlayScoreStateWrapperSkeleton-BwDWj5VX.js} +1 -1
- package/chunks/{OverlaySignInSkeleton-BUiNvDRX.js → OverlaySignInSkeleton-C0gpFLV4.js} +11 -10
- package/chunks/{Person-CtBkSz4s.js → Person-DFs8t3vY.js} +1 -1
- package/chunks/{PersonOutline-ftsY5SqE.js → PersonOutline-BHHHU-iP.js} +1 -1
- package/chunks/{PickOneOfX-ASPYutVw.js → PickOneOfX-eEOpXC-f.js} +3 -3
- package/chunks/{Popper-Bj1kl7y_.js → Popper-BJbMQoEj.js} +19 -19
- package/chunks/{Portal-B5LOp_VA.js → Portal-0HYQP6vC.js} +9 -8
- package/chunks/{Portal-DxNZWqOV.js → Portal-Cd3abSBt.js} +2 -2
- package/chunks/{Predictor-o1ZtxfmB.js → Predictor-Db1YZFlF.js} +27 -27
- package/chunks/{PrizeCard-DG54vy2l.js → PrizeCard-YH9jftwY.js} +1773 -1611
- package/chunks/{Search-Jq0gJI9j.js → Search-CWYaTHth.js} +1 -1
- package/chunks/{Select-Dvq1fOJv.js → Select-osvV4zXY.js} +82 -82
- package/chunks/{Sheet-emOLchyd.js → Sheet-Bj4wdH5F.js} +14 -14
- package/chunks/{SignInCta-DUarOlDT.js → SignInCta-3q_FTCgs.js} +3 -3
- package/chunks/{Spinner-CfnxZwI6.js → Spinner-CP7juuny.js} +2 -2
- package/chunks/{Stack-Ck9Xjygq.js → Stack-DuL71jRI.js} +27 -27
- package/chunks/{StandardContentSkeleton-Bx2HVrwG.js → StandardContentSkeleton-CsYymZyn.js} +1 -1
- package/chunks/{Table-DU0BCrKV.js → Table-DvjSYLKy.js} +5 -5
- package/chunks/{Tabs-Dx0bzmUT.js → Tabs-D44eIyd1.js} +19 -19
- package/chunks/{Textarea-CrulPENr.js → Textarea-Cjks7P0A.js} +27 -27
- package/chunks/{TimerOutlined-C3LRF5_A.js → TimerOutlined-D-ySNoFF.js} +1 -1
- package/chunks/{Tooltip-C8hJsZr9.js → Tooltip-C9OhGeHY.js} +52 -52
- package/chunks/{Typography-ECqxGAdq.js → Typography-Ce4eGDV-.js} +29 -29
- package/chunks/{WorkspacePremiumOutlined-DZe6H7gK.js → WorkspacePremiumOutlined-mcdyqu4a.js} +1 -1
- package/chunks/{createSvgIcon-SFvnySaS.js → createSvgIcon-D2EzyIzB.js} +12 -12
- package/chunks/{createSvgIcon-ZK1E4tSQ.js → createSvgIcon-D9F_KILu.js} +40 -40
- package/chunks/{dividerClasses-vQL1-lZZ.js → dividerClasses-D7_NXMv_.js} +1 -1
- package/chunks/{elementAcceptingRef-BQjX8_HI.js → elementAcceptingRef-z3i9EgXj.js} +1 -1
- package/chunks/enums-B1lTCQvC.js +15 -0
- package/chunks/{formLabelClasses-C6bWt8jt.js → formLabelClasses-DWH0zNVd.js} +1 -1
- package/chunks/{helpers-DK7NIWA3.js → helpers-B4K14VMy.js} +1 -1
- package/chunks/index-7P5xWKpe.js +4 -0
- package/chunks/index-BU6n6VAs.js +4 -0
- package/chunks/index-BeAwxbb7.js +4 -0
- package/chunks/index-CYbzrOCD.js +4 -0
- package/chunks/{index-D5NQUqT3.js → index-D6_vWz9t.js} +1 -1
- package/chunks/index-DfmHCVlq.js +4 -0
- package/chunks/index-Do8G2ehs.js +4 -0
- package/chunks/index-bI2wtknX.js +4 -0
- package/chunks/{main-CsgyDzQn.js → main-3TaPwm3t.js} +21 -20
- package/chunks/{main-BFR2-Jev.js → main-ChI4MrZS.js} +3788 -1553
- package/chunks/{main-t-kBnJfd.js → main-Cn8QJIGS.js} +190 -189
- package/chunks/{main-CMaUkaQg.js → main-D1KgLv-3.js} +36 -35
- package/chunks/{main-BpEXHrXG.js → main-D3vY3EZB.js} +177 -176
- package/chunks/{main-DXZDk8yw.js → main-eplFgf8K.js} +3 -3
- package/chunks/{main-XzVztuyY.js → main-la4AkVWG.js} +32 -31
- package/chunks/{main-BqzP5wNI.js → main-ndsgeKK2.js} +43 -43
- package/chunks/{useButton-BuGBhKba.js → useButton-BkNIp1Dt.js} +2 -2
- package/chunks/{useConsents-CTrXjPMT.js → useConsents-G3YImrA0.js} +27 -26
- package/chunks/{useEventCallback-BL4OQp0i.js → useEventCallback-Bpmr_fht.js} +1 -1
- package/chunks/{useForwardedInput-87iBLSE1.js → useForwardedInput-BnX6YP2x.js} +27 -27
- package/chunks/{useImageVariant-BpkocGDo.js → useImageVariant-CHZmm8-4.js} +6 -5
- package/chunks/{useParticipationDraft-C39xos8n.js → useParticipationDraft-CLycICaf.js} +6 -6
- package/chunks/{useSwitch-wS7XLrgV.js → useSwitch-C5TzU7zu.js} +2 -2
- package/index.js +4 -4
- package/package.json +2 -2
- package/chunks/index--sCTbryp.js +0 -4
- package/chunks/index-629uVyFa.js +0 -4
- package/chunks/index-BJfy__18.js +0 -4
- package/chunks/index-DD09ekhb.js +0 -4
- package/chunks/index-Dbxw2Q2L.js +0 -4
- package/chunks/index-GkKP5Yym.js +0 -4
- package/chunks/index-Ke1RX9Pb.js +0 -4
package/Betslip.js
CHANGED
package/ChanceGame.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsx as t, jsxs as w, Fragment as re } from "react/jsx-runtime";
|
|
2
|
-
import { h as Ce, g as Ke, l as Je } from "./chunks/helpers-
|
|
2
|
+
import { h as Ce, g as Ke, l as Je } from "./chunks/helpers-B4K14VMy.js";
|
|
3
3
|
import Z, { useState as qe, useEffect as Qe } from "react";
|
|
4
|
-
import { i as J, k as Ze, f as ve, g as le, h as Se, B as d, a as se,
|
|
5
|
-
import {
|
|
4
|
+
import { i as J, k as Ze, f as ve, g as le, h as Se, B as d, a as se, u as we, d as xe, n as Te, c as $e, l as et, o as tt, p as ot, q as nt, r as rt, C as it, s as lt, E as at, t as st, w as ct } from "./chunks/PrizeCard-YH9jftwY.js";
|
|
5
|
+
import { C as ue, W as fe, a as ne } from "./chunks/enums-B1lTCQvC.js";
|
|
6
|
+
import { S as dt } from "./chunks/Spinner-CP7juuny.js";
|
|
6
7
|
import { createPortal as mt } from "react-dom";
|
|
7
8
|
import { u as ut } from "./chunks/useInfoPage-BHdgKdme.js";
|
|
8
|
-
import { N as ht, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-
|
|
9
|
-
import { u as xt, S as ie, c as Ee, D as Ge, C as ft, W as pt, a as gt, b as yt, d as bt, O as vt, F as St, P as be, e as wt, f as kt } from "./chunks/PickOneOfX-
|
|
10
|
-
import { u as pe } from "./chunks/useImageVariant-
|
|
11
|
-
import { T as B } from "./chunks/Typography-
|
|
12
|
-
import { B as he } from "./chunks/Button-
|
|
13
|
-
import { d as He, a as Me } from "./chunks/index-
|
|
9
|
+
import { N as ht, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-BV0mXA7z.js";
|
|
10
|
+
import { u as xt, S as ie, c as Ee, D as Ge, C as ft, W as pt, a as gt, b as yt, d as bt, O as vt, F as St, P as be, e as wt, f as kt } from "./chunks/PickOneOfX-eEOpXC-f.js";
|
|
11
|
+
import { u as pe } from "./chunks/useImageVariant-CHZmm8-4.js";
|
|
12
|
+
import { T as B } from "./chunks/Typography-Ce4eGDV-.js";
|
|
13
|
+
import { B as he } from "./chunks/Button-By0gW9vl.js";
|
|
14
|
+
import { d as He, a as Me } from "./chunks/index-D6_vWz9t.js";
|
|
14
15
|
const ke = ({
|
|
15
16
|
children: e,
|
|
16
17
|
brandingBorderColor: c,
|
|
@@ -1639,7 +1640,7 @@ const ke = ({
|
|
|
1639
1640
|
x,
|
|
1640
1641
|
b
|
|
1641
1642
|
] });
|
|
1642
|
-
}, Ct = (e) => /* @__PURE__ */ t(Bt, { ...e, children: /* @__PURE__ */ t(Dt, { ...e }) }),
|
|
1643
|
+
}, Ct = (e) => /* @__PURE__ */ t(Bt, { ...e, children: /* @__PURE__ */ t(Dt, { ...e }) }), jt = Ct;
|
|
1643
1644
|
export {
|
|
1644
|
-
|
|
1645
|
+
jt as ChanceGame
|
|
1645
1646
|
};
|
package/ClassicQuizPlay.js
CHANGED
package/CollectLead.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
1
|
+
import { jsx as n, jsxs as s, Fragment as r } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as de } from "react";
|
|
3
|
-
import { u as Y, i as Q, B as o, a as
|
|
4
|
-
import { P as xe } from "./chunks/Portal-
|
|
3
|
+
import { u as Y, i as Q, B as o, a as me, b as J, c as K, d as X, e as Z, f as q, g as u, h as se, j as ge } from "./chunks/PrizeCard-YH9jftwY.js";
|
|
4
|
+
import { P as xe } from "./chunks/Portal-0HYQP6vC.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
6
|
+
import { W as w } from "./chunks/enums-B1lTCQvC.js";
|
|
7
|
+
import { d as le, a as ae } from "./chunks/index-D6_vWz9t.js";
|
|
8
|
+
import { g as fe, s as ye, h as re } from "./chunks/helpers-B4K14VMy.js";
|
|
9
|
+
import { T as y } from "./chunks/Typography-Ce4eGDV-.js";
|
|
10
|
+
import { C as ue } from "./chunks/CollectLeadForm-CwcEETPM.js";
|
|
11
|
+
import { u as ee } from "./chunks/useImageVariant-CHZmm8-4.js";
|
|
11
12
|
const te = (e) => {
|
|
12
|
-
const i = Y().secondary,
|
|
13
|
+
const i = Y().secondary, m = Q(), a = fe(e.primaryUrl, e.secondaryUrl, "logo");
|
|
13
14
|
if (!e.brandingLogo)
|
|
14
15
|
return null;
|
|
15
16
|
const d = () => {
|
|
@@ -49,7 +50,7 @@ const te = (e) => {
|
|
|
49
50
|
children: t
|
|
50
51
|
}
|
|
51
52
|
) : t;
|
|
52
|
-
return
|
|
53
|
+
return m ? /* @__PURE__ */ s(
|
|
53
54
|
o,
|
|
54
55
|
{
|
|
55
56
|
sx: {
|
|
@@ -81,7 +82,7 @@ const te = (e) => {
|
|
|
81
82
|
f
|
|
82
83
|
]
|
|
83
84
|
}
|
|
84
|
-
) : /* @__PURE__ */
|
|
85
|
+
) : /* @__PURE__ */ s(
|
|
85
86
|
o,
|
|
86
87
|
{
|
|
87
88
|
sx: {
|
|
@@ -120,7 +121,7 @@ const te = (e) => {
|
|
|
120
121
|
}), he = ({
|
|
121
122
|
shadowRootElement: e,
|
|
122
123
|
phoneCountryCode: i,
|
|
123
|
-
images:
|
|
124
|
+
images: m,
|
|
124
125
|
content: a,
|
|
125
126
|
campaign: d,
|
|
126
127
|
branding: t,
|
|
@@ -140,7 +141,7 @@ const te = (e) => {
|
|
|
140
141
|
value: {
|
|
141
142
|
shadowRootElement: e,
|
|
142
143
|
phoneCountryCode: i,
|
|
143
|
-
images:
|
|
144
|
+
images: m,
|
|
144
145
|
content: a,
|
|
145
146
|
campaign: d,
|
|
146
147
|
branding: t,
|
|
@@ -157,9 +158,9 @@ const te = (e) => {
|
|
|
157
158
|
children: p
|
|
158
159
|
}
|
|
159
160
|
), ne = () => {
|
|
160
|
-
const { t: e } =
|
|
161
|
+
const { t: e } = me(), {
|
|
161
162
|
sdk: i,
|
|
162
|
-
content:
|
|
163
|
+
content: m,
|
|
163
164
|
branding: a,
|
|
164
165
|
campaign: d,
|
|
165
166
|
labels: t,
|
|
@@ -194,7 +195,7 @@ const te = (e) => {
|
|
|
194
195
|
ue,
|
|
195
196
|
{
|
|
196
197
|
sdk: i,
|
|
197
|
-
content:
|
|
198
|
+
content: m,
|
|
198
199
|
onSuccessCta: f,
|
|
199
200
|
branding: a,
|
|
200
201
|
campaign: d,
|
|
@@ -393,7 +394,7 @@ const te = (e) => {
|
|
|
393
394
|
return Q() && (i = (e == null ? void 0 : e.mobileLogo) || (e == null ? void 0 : e.mainLogo) || null), i;
|
|
394
395
|
}, Se = () => {
|
|
395
396
|
var R, l, U, M, I, L, D, z, H, v, B, W, C, x, h, A, G, E;
|
|
396
|
-
const e = J(_), i = K(),
|
|
397
|
+
const e = J(_), i = K(), m = X(), a = Z(
|
|
397
398
|
w.OVERLAY
|
|
398
399
|
), d = Q(), t = Ce(
|
|
399
400
|
((R = e.branding) == null ? void 0 : R.images) || null
|
|
@@ -404,7 +405,7 @@ const te = (e) => {
|
|
|
404
405
|
},
|
|
405
406
|
w.OVERLAY
|
|
406
407
|
), S = ye(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({
|
|
407
|
-
spacingScale:
|
|
408
|
+
spacingScale: m,
|
|
408
409
|
secondaryColor: p,
|
|
409
410
|
fontFamilyPrimary: T,
|
|
410
411
|
fontFamilySecondary: k,
|
|
@@ -428,18 +429,18 @@ const te = (e) => {
|
|
|
428
429
|
}
|
|
429
430
|
);
|
|
430
431
|
};
|
|
431
|
-
return /* @__PURE__ */
|
|
432
|
-
(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__ */
|
|
432
|
+
return /* @__PURE__ */ s(o, { sx: c.mainContainer, children: [
|
|
433
|
+
(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: [
|
|
433
434
|
(G = e.labels) != null && G.title ? /* @__PURE__ */ n(y, { level: "h4", sx: c.titleText, children: e.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
434
435
|
(E = e.labels) != null && E.description ? /* @__PURE__ */ n(y, { level: "body-lg", sx: c.pollDescriptionText, children: e.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
435
436
|
] }) }) }) }) }) : /* @__PURE__ */ n(r, {}),
|
|
436
|
-
/* @__PURE__ */
|
|
437
|
+
/* @__PURE__ */ s(o, { sx: c.mainContentSection, children: [
|
|
437
438
|
/* @__PURE__ */ n(o, { sx: c.contentContainerWithBackdrop, children: /* @__PURE__ */ n(ne, {}) }),
|
|
438
439
|
/* @__PURE__ */ n(o, { sx: c.bottomFooterContainer, children: g() })
|
|
439
440
|
] })
|
|
440
441
|
] });
|
|
441
442
|
}, ce = ({ children: e }) => {
|
|
442
|
-
const i = q().md,
|
|
443
|
+
const i = q().md, m = u().surface, a = u().secondaryContainer, t = se().size + " solid " + a;
|
|
443
444
|
return /* @__PURE__ */ n(
|
|
444
445
|
o,
|
|
445
446
|
{
|
|
@@ -451,7 +452,7 @@ const te = (e) => {
|
|
|
451
452
|
overflow: "hidden",
|
|
452
453
|
minHeight: "250px",
|
|
453
454
|
borderRadius: i,
|
|
454
|
-
background:
|
|
455
|
+
background: m,
|
|
455
456
|
border: t
|
|
456
457
|
},
|
|
457
458
|
children: e
|
|
@@ -768,7 +769,7 @@ const te = (e) => {
|
|
|
768
769
|
}
|
|
769
770
|
}), Te = (e) => {
|
|
770
771
|
var I, L, D, z, H, v, B, W, C;
|
|
771
|
-
const i = J(_),
|
|
772
|
+
const i = J(_), m = K(), a = e.imagePosition || "left", d = ee(
|
|
772
773
|
{
|
|
773
774
|
images: i.images || null,
|
|
774
775
|
imagePlaceholder: i.defaultImagePlaceholderUrl ? i.defaultImagePlaceholderUrl : ""
|
|
@@ -792,7 +793,7 @@ const te = (e) => {
|
|
|
792
793
|
buttonRadius: $,
|
|
793
794
|
opacity: T,
|
|
794
795
|
imagePosition: a,
|
|
795
|
-
darkTextColor:
|
|
796
|
+
darkTextColor: m.colorSchemes.dark.textColor,
|
|
796
797
|
imageBackgroundGradient: g
|
|
797
798
|
}), U = (x) => {
|
|
798
799
|
var h;
|
|
@@ -805,20 +806,20 @@ const te = (e) => {
|
|
|
805
806
|
}
|
|
806
807
|
);
|
|
807
808
|
};
|
|
808
|
-
return /* @__PURE__ */
|
|
809
|
+
return /* @__PURE__ */ s(ce, { children: [
|
|
809
810
|
(() => {
|
|
810
811
|
var x, h, A, G, E, O, ie, oe;
|
|
811
|
-
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__ */
|
|
812
|
+
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: [
|
|
812
813
|
(A = i.labels) != null && A.title ? /* @__PURE__ */ n(y, { sx: l.titleTypographyMobileImage, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
813
814
|
(G = i.labels) != null && G.description ? /* @__PURE__ */ n(y, { sx: l.descriptionTypographyMobileImage, children: i.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
814
|
-
] }) }) : /* @__PURE__ */ n(r, {}) }) : (E = i.labels) != null && E.title || (O = i.labels) != null && O.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithoutImage, children: /* @__PURE__ */
|
|
815
|
+
] }) }) : /* @__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: [
|
|
815
816
|
(ie = i.labels) != null && ie.title ? /* @__PURE__ */ n(y, { level: "h4", sx: l.titleTypography, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
816
817
|
(oe = i.labels) != null && oe.description ? /* @__PURE__ */ n(y, { sx: l.descriptionTypography, children: i.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
817
818
|
] }) }) : /* @__PURE__ */ n(r, {}) : /* @__PURE__ */ n(r, {});
|
|
818
819
|
})(),
|
|
819
820
|
R === "left" && d ? /* @__PURE__ */ n(o, { sx: l.imageContainerLeft, children: /* @__PURE__ */ n(o, { sx: l.imageSafeArea }) }) : null,
|
|
820
|
-
/* @__PURE__ */
|
|
821
|
-
!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__ */
|
|
821
|
+
/* @__PURE__ */ s(o, { sx: l.mainContentArea, children: [
|
|
822
|
+
!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: [
|
|
822
823
|
i.labels.title ? /* @__PURE__ */ n(y, { level: "h4", sx: l.titleTypographyDesktop, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
823
824
|
(C = i.labels) != null && C.description ? /* @__PURE__ */ n(y, { sx: l.descriptionTypographyDesktop, children: i.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
824
825
|
] }) }) }) }) : /* @__PURE__ */ n(r, {}),
|
|
@@ -1163,13 +1164,13 @@ const te = (e) => {
|
|
|
1163
1164
|
}
|
|
1164
1165
|
}), Fe = () => {
|
|
1165
1166
|
var U, M, I, L, D, z, H, v, B, W;
|
|
1166
|
-
const e = J(_), i = K(),
|
|
1167
|
+
const e = J(_), i = K(), m = Q(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : m ? le : ae, d = ee(
|
|
1167
1168
|
{
|
|
1168
1169
|
images: e.images || null,
|
|
1169
1170
|
imagePlaceholder: a
|
|
1170
1171
|
},
|
|
1171
1172
|
w.SPLIT
|
|
1172
|
-
), t =
|
|
1173
|
+
), 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(
|
|
1173
1174
|
w.SPLIT
|
|
1174
1175
|
), c = re(k || ""), g = ke({
|
|
1175
1176
|
finalImage: d,
|
|
@@ -1197,18 +1198,18 @@ const te = (e) => {
|
|
|
1197
1198
|
}
|
|
1198
1199
|
);
|
|
1199
1200
|
};
|
|
1200
|
-
return /* @__PURE__ */
|
|
1201
|
+
return /* @__PURE__ */ s(ce, { children: [
|
|
1201
1202
|
(() => {
|
|
1202
1203
|
var C, x, h, A;
|
|
1203
|
-
return /* @__PURE__ */ n(o, { sx: g.headlineSection, children: /* @__PURE__ */
|
|
1204
|
-
(C = e.labels) != null && C.title || (x = e.labels) != null && x.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */
|
|
1204
|
+
return /* @__PURE__ */ n(o, { sx: g.headlineSection, children: /* @__PURE__ */ s(o, { sx: g.headlineContent, children: [
|
|
1205
|
+
(C = e.labels) != null && C.title || (x = e.labels) != null && x.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */ s(o, { sx: g.contentContainer, children: [
|
|
1205
1206
|
(h = e.labels) != null && h.title ? /* @__PURE__ */ n(y, { sx: g.pollTitleText, children: e.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
1206
1207
|
(A = e.labels) != null && A.description ? /* @__PURE__ */ n(y, { sx: g.pollDescriptionText, children: e.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
1207
1208
|
] }) }) : /* @__PURE__ */ n(r, {}),
|
|
1208
1209
|
t ? /* @__PURE__ */ n(o, { sx: g.presentedByDesktop, children: R(i.colorSchemes.dark.textColor) }) : /* @__PURE__ */ n(r, {})
|
|
1209
1210
|
] }) });
|
|
1210
1211
|
})(),
|
|
1211
|
-
/* @__PURE__ */ n(o, { sx: g.questionArea, children: /* @__PURE__ */
|
|
1212
|
+
/* @__PURE__ */ n(o, { sx: g.questionArea, children: /* @__PURE__ */ s(o, { sx: g.questionAreaInner, children: [
|
|
1212
1213
|
/* @__PURE__ */ n(o, { sx: g.leadContentContainer, children: /* @__PURE__ */ n(ne, {}) }),
|
|
1213
1214
|
/* @__PURE__ */ n(
|
|
1214
1215
|
o,
|
|
@@ -1254,7 +1255,7 @@ const Re = (e) => e.template === w.OVERLAY ? /* @__PURE__ */ n(Se, {}) : Pe(e) ?
|
|
|
1254
1255
|
)
|
|
1255
1256
|
}
|
|
1256
1257
|
);
|
|
1257
|
-
},
|
|
1258
|
+
}, Ue = Ie;
|
|
1258
1259
|
export {
|
|
1259
|
-
|
|
1260
|
+
Ue as CollectLead
|
|
1260
1261
|
};
|
package/Discussion.js
CHANGED
package/EitherOrPlay.js
CHANGED