fansunited-frontend-components 0.0.92 → 0.0.94
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 +139 -146
- package/ClassicQuizPlay.js +1 -1
- package/CollectLead.js +14 -20
- package/CompetitionStatistics.js +27 -27
- package/CompetitorCard.js +895 -891
- package/Discussion.js +1 -1
- package/EitherOrPlay.js +1 -1
- package/EventCard.js +1494 -1571
- package/EventGamePlay.js +1 -1
- package/Leaderboard.js +249 -257
- package/List.js +319 -436
- package/MatchQuizPlay.js +1 -1
- package/Odds.js +30 -30
- package/PersonalityQuizPlay.js +1 -1
- package/PickThePair.js +627 -693
- package/PlayerOfTheMatch.js +256 -279
- package/PollVote.js +1 -1
- package/Predictor.js +19443 -2
- package/README.md +2 -1
- package/Standings.js +94 -99
- package/TopX.js +5871 -6988
- package/chunks/ChanceGameEmbedVariant-C3NGwvTF.js +21 -0
- package/chunks/OddsSkeleton-Bav8FHHN.js +26 -0
- package/chunks/{OddsStrip-B159Nivm.js → OddsStrip-CviVfQI4.js} +51 -53
- package/chunks/{PickOneOfX-D9qlxKTD.js → PickOneOfX-a6Dv0-rR.js} +210 -212
- package/chunks/index-B1d9q8fX.js +4 -0
- package/chunks/index-BP0pvFJ4.js +4 -0
- package/chunks/index-CHZyL_g_.js +4 -0
- package/chunks/index-CeCUdRmF.js +4 -0
- package/chunks/index-Ckyyw-I8.js +4 -0
- package/chunks/index-DGvCP5G8.js +4 -0
- package/chunks/index-yjMVOgwO.js +4 -0
- package/chunks/{main-CcPVuc5G.js → main-CFwRpvUi.js} +219 -238
- package/chunks/{main-By2Fg4Us.js → main-D9tFZv2q.js} +272 -309
- package/chunks/{main-Db4YC1C9.js → main-Dj4Manb5.js} +386 -407
- package/chunks/{main-BhONg691.js → main-DjiQz1dv.js} +764 -1125
- package/chunks/{main-BoLNJccN.js → main-Dys2_Jt2.js} +1625 -1954
- package/chunks/{main-JAewg2VD.js → main-dwV_55lz.js} +409 -432
- package/chunks/main-eAQMCxQ7.js +1949 -0
- package/chunks/{main-CWfREbUv.js → main-gexg6lc-.js} +959 -977
- package/index.js +40 -44
- package/package.json +13 -5
- package/chunks/AccessTime-B7Q_InTi.js +0 -10
- package/chunks/AlertMessage-CTbc9daZ.js +0 -318
- package/chunks/Avatar-Ve0m4ut_.js +0 -353
- package/chunks/Button-x1sQVMH2.js +0 -665
- package/chunks/Card-DfxnA3Cz.js +0 -196
- package/chunks/CardActions-TMBAbk8a.js +0 -140
- package/chunks/CardContent-CLQHztIU.js +0 -106
- package/chunks/ChanceGameEmbedVariant-C3TKbPI4.js +0 -913
- package/chunks/CheckCircle-DW1VzjQO.js +0 -8
- package/chunks/Chip-BUoNpinI.js +0 -365
- package/chunks/CircularProgress-D88LgW2V.js +0 -317
- package/chunks/Close-BxLZcPtb.js +0 -9
- package/chunks/Close-DVx6f5-e.js +0 -8
- package/chunks/CollectLeadForm-DtUFKk99.js +0 -3419
- package/chunks/ConsentsList-BcIMKviP.js +0 -339
- package/chunks/DirectionScope-CK0duYt8.js +0 -36
- package/chunks/Divider-D_ALv2uC.js +0 -166
- package/chunks/Edit-CiKqhDom.js +0 -99
- package/chunks/EmojiEvents-BYoxruEl.js +0 -8
- package/chunks/FavoriteBorder-YhT6RHv5.js +0 -11
- package/chunks/FormControl-BNG04EhC.js +0 -656
- package/chunks/FormControlContext-Ct0huDDM.js +0 -6
- package/chunks/FormLabel-Bl7hTa8O.js +0 -130
- package/chunks/GlobalStyles-PokSS9bO.js +0 -12
- package/chunks/InlineSpinner-BhKW6lxZ.js +0 -28
- package/chunks/Input-B7kPqO0b.js +0 -391
- package/chunks/KeyboardArrowDown-OGGGLEnE.js +0 -8
- package/chunks/KeyboardArrowRight-DN7qrp17.js +0 -11
- package/chunks/KeyboardArrowUp-jvN5m_A0.js +0 -8
- package/chunks/Link-brb09X-6.js +0 -319
- package/chunks/ListItemButton-BFG5QJbo.js +0 -1151
- package/chunks/ModalClose-D3i-AyMB.js +0 -153
- package/chunks/ModalDialog-Be6w76fh.js +0 -880
- package/chunks/NotFoundSkeleton-BHRVG8yg.js +0 -83
- package/chunks/Notification-CC66HKXb.js +0 -614
- package/chunks/OddsSkeleton-BBOVhfsn.js +0 -137
- package/chunks/OverlayScoreStateSkeleton-D5rnBJ_w.js +0 -154
- package/chunks/OverlayScoreStateWrapperSkeleton-CTXzD0bm.js +0 -81
- package/chunks/OverlaySignInSkeleton-T8A_9Tco.js +0 -518
- package/chunks/OverlaySkeleton-y02LRXZy.js +0 -1193
- package/chunks/Person-BD-IO4aX.js +0 -8
- package/chunks/PersonOutline-Nxl_9g9S.js +0 -8
- package/chunks/Popper-CGfJHTbM.js +0 -1263
- package/chunks/Portal-DQQSLiON.js +0 -74
- package/chunks/Portal-X8O64KaQ.js +0 -66
- package/chunks/Predictor-BJBBwZ6R.js +0 -19513
- package/chunks/PrizeCard-B2tBhY45.js +0 -36400
- package/chunks/Search-jaDXe8g7.js +0 -14
- package/chunks/Select-CzBMHr7z.js +0 -1165
- package/chunks/Sheet-x-YGYOYz.js +0 -132
- package/chunks/SignInCta-3NFxIOuf.js +0 -79
- package/chunks/Spinner-_5U881sC.js +0 -39
- package/chunks/SportsSoccer-DLUgspA-.js +0 -20
- package/chunks/Stack-CDpKA1D-.js +0 -169
- package/chunks/StandardContentSkeleton-DaZftDxZ.js +0 -57
- package/chunks/Table-IJ9-D2DF.js +0 -394
- package/chunks/Tabs-iyOvjGfd.js +0 -1084
- package/chunks/Textarea-Dv_Z4l5j.js +0 -475
- package/chunks/TimerOutlined-jNsK__Zz.js +0 -8
- package/chunks/Tooltip-clSjN1oC.js +0 -535
- package/chunks/Typography-BsucZNXl.js +0 -775
- package/chunks/areArraysEqual-B3mXtHvh.js +0 -6
- package/chunks/colorInversionUtils-AoR_6ghW.js +0 -347
- package/chunks/createSvgIcon-BWoHeNkc.js +0 -2813
- package/chunks/createSvgIcon-DBkOhFdn.js +0 -206
- package/chunks/dividerClasses-BkQMLbsL.js +0 -9
- package/chunks/elementAcceptingRef-DjUfkpLB.js +0 -25
- package/chunks/enums-B1lTCQvC.js +0 -15
- package/chunks/formLabelClasses-N0g8NZ67.js +0 -9
- package/chunks/getReactElementRef-B3MFPBbS.js +0 -21
- package/chunks/helpers-CKFwVhwj.js +0 -558
- package/chunks/index-Bg5jypgn.js +0 -11
- package/chunks/index-Bnad45hB.js +0 -4
- package/chunks/index-C6rtfeRX.js +0 -4
- package/chunks/index-CFc0WTOi.js +0 -848
- package/chunks/index-C_kf8WZI.js +0 -4
- package/chunks/index-CaVpDbdC.js +0 -4
- package/chunks/index-DJJVbXn_.js +0 -4
- package/chunks/index-DQO7VDRC.js +0 -4
- package/chunks/index-Kgehqf8J.js +0 -4
- package/chunks/main-W_W6YBtr.js +0 -3280
- package/chunks/ownerWindow-PI509BpA.js +0 -7
- package/chunks/searchEntities-SJcoznz0.js +0 -38
- package/chunks/sportsEvents-CGX-WkNB.js +0 -27
- package/chunks/useButton-C9taTgFS.js +0 -106
- package/chunks/useConsents-BLhgfEDf.js +0 -1168
- package/chunks/useControlled-BYdyS7Pn.js +0 -31
- package/chunks/useEmbedCode-DCWnWGak.js +0 -31
- package/chunks/useEventCallback-C9W0M_8l.js +0 -14
- package/chunks/useForwardedInput-CkAnayh_.js +0 -180
- package/chunks/useImageVariant-B62O7iLC.js +0 -15
- package/chunks/useInfoPage-BHdgKdme.js +0 -50
- package/chunks/useParticipationDraft-Brnd_p3w.js +0 -307
- package/chunks/useSwitch-DLSSqtcZ.js +0 -66
- package/chunks/variantColorInheritance-DZr7CNx6.js +0 -30
- package/chunks/visuallyHidden-B8J7BVSJ.js +0 -14
|
@@ -1,518 +0,0 @@
|
|
|
1
|
-
import { jsxs as o, Fragment as G, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { i as D, c as A, d as P, u as W, f as $, g as M, e as O, j as V, B as i } from "./PrizeCard-B2tBhY45.js";
|
|
3
|
-
import { W as _ } from "./enums-B1lTCQvC.js";
|
|
4
|
-
import { h as N, g as U, a as k } from "./helpers-CKFwVhwj.js";
|
|
5
|
-
import { R as I } from "./OverlaySkeleton-y02LRXZy.js";
|
|
6
|
-
import { T as r } from "./Typography-BsucZNXl.js";
|
|
7
|
-
const q = (e) => {
|
|
8
|
-
var c, d, m;
|
|
9
|
-
return {
|
|
10
|
-
// Mobile headline with image background
|
|
11
|
-
mobileHeadlineWithImage: {
|
|
12
|
-
display: e.isMobile ? "flex" : "none",
|
|
13
|
-
flexDirection: "column",
|
|
14
|
-
justifyContent: "space-between",
|
|
15
|
-
gap: "10px",
|
|
16
|
-
backgroundImage: `url("${e.finalImage}")`,
|
|
17
|
-
backgroundSize: "cover",
|
|
18
|
-
backgroundPosition: "center",
|
|
19
|
-
borderTopLeftRadius: "5px",
|
|
20
|
-
borderTopRightRadius: "5px",
|
|
21
|
-
position: "relative",
|
|
22
|
-
minHeight: "210px",
|
|
23
|
-
overflow: "hidden",
|
|
24
|
-
height: "auto",
|
|
25
|
-
"&::before": {
|
|
26
|
-
content: '""',
|
|
27
|
-
position: "absolute",
|
|
28
|
-
width: "100%",
|
|
29
|
-
height: "100%",
|
|
30
|
-
background: e.imageBackgroundGradient,
|
|
31
|
-
borderTopLeftRadius: "5px",
|
|
32
|
-
borderTopRightRadius: "5px"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
// Content inside mobile headline with image
|
|
36
|
-
mobileHeadlineContent: {
|
|
37
|
-
zIndex: 1,
|
|
38
|
-
p: e.spacingScale.xl,
|
|
39
|
-
gap: e.spacingScale["2xl"],
|
|
40
|
-
display: "flex",
|
|
41
|
-
flexDirection: "column",
|
|
42
|
-
justifyContent: "space-between"
|
|
43
|
-
},
|
|
44
|
-
// Mobile headline without image
|
|
45
|
-
mobileHeadlineWithoutImage: {
|
|
46
|
-
display: e.isMobile ? "flex" : "none",
|
|
47
|
-
flex: "0.5",
|
|
48
|
-
flexDirection: "column",
|
|
49
|
-
justifyContent: "space-between",
|
|
50
|
-
p: e.spacingScale.lg,
|
|
51
|
-
gap: e.spacingScale["2xl"]
|
|
52
|
-
},
|
|
53
|
-
// Headline typography (mobile with image)
|
|
54
|
-
headlineTypographyMobileImage: {
|
|
55
|
-
fontWeight: 500,
|
|
56
|
-
lineHeight: "166%",
|
|
57
|
-
letterSpacing: "1px",
|
|
58
|
-
fontSize: "0.75em",
|
|
59
|
-
color: ((c = e.brandingColors) == null ? void 0 : c.secondaryColor) || e.darkTextColor,
|
|
60
|
-
opacity: "70%",
|
|
61
|
-
textTransform: "uppercase",
|
|
62
|
-
fontFamily: e.fontFamilySecondary,
|
|
63
|
-
textAlign: "center"
|
|
64
|
-
},
|
|
65
|
-
// Headline typography (mobile without image & desktop)
|
|
66
|
-
headlineTypography: {
|
|
67
|
-
fontWeight: 500,
|
|
68
|
-
lineHeight: "166%",
|
|
69
|
-
letterSpacing: "1px",
|
|
70
|
-
textTransform: "uppercase",
|
|
71
|
-
fontSize: "0.75em",
|
|
72
|
-
color: e.secondaryColor,
|
|
73
|
-
opacity: e.opacity,
|
|
74
|
-
fontFamily: e.fontFamilySecondary,
|
|
75
|
-
textAlign: "center"
|
|
76
|
-
},
|
|
77
|
-
// Title typography (mobile with image)
|
|
78
|
-
titleTypographyMobileImage: {
|
|
79
|
-
// CMS text of unknown language: let each block pick its own direction from
|
|
80
|
-
// its first strong character, so Latin punctuation is not displaced in RTL.
|
|
81
|
-
unicodeBidi: "plaintext",
|
|
82
|
-
fontWeight: 700,
|
|
83
|
-
lineHeight: "133%",
|
|
84
|
-
fontSize: "1.5em",
|
|
85
|
-
letterSpacing: "0.15px",
|
|
86
|
-
color: ((d = e.brandingColors) == null ? void 0 : d.contentColor) || e.darkTextColor,
|
|
87
|
-
fontFamily: e.fontFamilyPrimary,
|
|
88
|
-
textAlign: "center"
|
|
89
|
-
},
|
|
90
|
-
// Title typography (mobile without image)
|
|
91
|
-
titleTypography: {
|
|
92
|
-
// CMS text of unknown language: let each block pick its own direction from
|
|
93
|
-
// its first strong character, so Latin punctuation is not displaced in RTL.
|
|
94
|
-
unicodeBidi: "plaintext",
|
|
95
|
-
fontWeight: 700,
|
|
96
|
-
lineHeight: "133%",
|
|
97
|
-
letterSpacing: "0px",
|
|
98
|
-
fontSize: "1.5em",
|
|
99
|
-
color: e.textColor,
|
|
100
|
-
fontFamily: e.fontFamilyPrimary,
|
|
101
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
102
|
-
},
|
|
103
|
-
// Description typography (mobile with image)
|
|
104
|
-
descriptionTypographyMobileImage: {
|
|
105
|
-
// CMS text of unknown language: let each block pick its own direction from
|
|
106
|
-
// its first strong character, so Latin punctuation is not displaced in RTL.
|
|
107
|
-
unicodeBidi: "plaintext",
|
|
108
|
-
fontWeight: 400,
|
|
109
|
-
lineHeight: "140%",
|
|
110
|
-
fontSize: "1.25em",
|
|
111
|
-
letterSpacing: "0.15px",
|
|
112
|
-
color: ((m = e.brandingColors) == null ? void 0 : m.secondaryColor) || e.darkTextColor,
|
|
113
|
-
opacity: "70%",
|
|
114
|
-
fontFamily: e.fontFamilyPrimary,
|
|
115
|
-
textAlign: "center"
|
|
116
|
-
},
|
|
117
|
-
// Description typography (mobile without image)
|
|
118
|
-
descriptionTypography: {
|
|
119
|
-
// CMS text of unknown language: let each block pick its own direction from
|
|
120
|
-
// its first strong character, so Latin punctuation is not displaced in RTL.
|
|
121
|
-
unicodeBidi: "plaintext",
|
|
122
|
-
fontWeight: 400,
|
|
123
|
-
lineHeight: "140%",
|
|
124
|
-
letterSpacing: "0.15px",
|
|
125
|
-
fontSize: "1.25em",
|
|
126
|
-
color: e.secondaryColor,
|
|
127
|
-
opacity: e.opacity,
|
|
128
|
-
fontFamily: e.fontFamilyPrimary,
|
|
129
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
130
|
-
},
|
|
131
|
-
// Desktop title typography
|
|
132
|
-
titleTypographyDesktop: {
|
|
133
|
-
// CMS text of unknown language: let each block pick its own direction from
|
|
134
|
-
// its first strong character, so Latin punctuation is not displaced in RTL.
|
|
135
|
-
unicodeBidi: "plaintext",
|
|
136
|
-
fontWeight: 700,
|
|
137
|
-
lineHeight: "133%",
|
|
138
|
-
letterSpacing: "0px",
|
|
139
|
-
fontSize: "1.5em",
|
|
140
|
-
color: e.textColor,
|
|
141
|
-
fontFamily: e.fontFamilyPrimary
|
|
142
|
-
},
|
|
143
|
-
// Desktop description typography
|
|
144
|
-
descriptionTypographyDesktop: {
|
|
145
|
-
// CMS text of unknown language: let each block pick its own direction from
|
|
146
|
-
// its first strong character, so Latin punctuation is not displaced in RTL.
|
|
147
|
-
unicodeBidi: "plaintext",
|
|
148
|
-
fontWeight: 400,
|
|
149
|
-
lineHeight: "140%",
|
|
150
|
-
letterSpacing: "0.15px",
|
|
151
|
-
fontSize: "1.25em",
|
|
152
|
-
color: e.secondaryColor,
|
|
153
|
-
opacity: e.opacity,
|
|
154
|
-
fontFamily: e.fontFamilyPrimary
|
|
155
|
-
},
|
|
156
|
-
// Image container (left position)
|
|
157
|
-
imageContainerLeft: {
|
|
158
|
-
display: e.isMobile ? "none" : "block",
|
|
159
|
-
flex: "0.3",
|
|
160
|
-
borderTopLeftRadius: e.borderRadius.md,
|
|
161
|
-
borderBottomLeftRadius: e.borderRadius.md,
|
|
162
|
-
overflow: "hidden",
|
|
163
|
-
height: "auto",
|
|
164
|
-
position: "relative"
|
|
165
|
-
},
|
|
166
|
-
// Image container (right position)
|
|
167
|
-
imageContainerRight: {
|
|
168
|
-
display: e.isMobile ? "none" : "block",
|
|
169
|
-
flex: "0.3",
|
|
170
|
-
borderTopRightRadius: "5px",
|
|
171
|
-
borderBottomRightRadius: "5px",
|
|
172
|
-
overflow: "hidden",
|
|
173
|
-
height: "auto",
|
|
174
|
-
position: "relative"
|
|
175
|
-
},
|
|
176
|
-
// Main content area
|
|
177
|
-
mainContentArea: {
|
|
178
|
-
flex: e.isMobile ? "1" : e.finalImage ? "0.7" : "1",
|
|
179
|
-
display: e.isMobile ? "none" : "flex",
|
|
180
|
-
flexDirection: "column",
|
|
181
|
-
p: e.spacingScale.md,
|
|
182
|
-
gap: e.spacingScale["2xl"]
|
|
183
|
-
},
|
|
184
|
-
// Desktop headline container
|
|
185
|
-
desktopHeadlineContainer: {
|
|
186
|
-
display: e.isMobile ? "none" : "flex",
|
|
187
|
-
flexDirection: "column",
|
|
188
|
-
gap: e.spacingScale.xl,
|
|
189
|
-
textAlign: "center"
|
|
190
|
-
},
|
|
191
|
-
// Content container
|
|
192
|
-
contentContainer: {
|
|
193
|
-
display: "flex",
|
|
194
|
-
flexDirection: "column",
|
|
195
|
-
gap: e.spacingScale["3xs"]
|
|
196
|
-
},
|
|
197
|
-
// Sign in button container
|
|
198
|
-
signInButtonContainer: {
|
|
199
|
-
display: "flex",
|
|
200
|
-
flexDirection: "column",
|
|
201
|
-
justifyContent: "space-between",
|
|
202
|
-
alignItems: "center",
|
|
203
|
-
gap: e.spacingScale["2xl"]
|
|
204
|
-
},
|
|
205
|
-
// Branding container
|
|
206
|
-
brandingContainer: {
|
|
207
|
-
px: e.spacingScale.md
|
|
208
|
-
},
|
|
209
|
-
image: {
|
|
210
|
-
width: "100%",
|
|
211
|
-
height: "100%",
|
|
212
|
-
objectFit: "cover"
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
}, ie = ({
|
|
216
|
-
entity: e,
|
|
217
|
-
headline: c,
|
|
218
|
-
finalImage: d,
|
|
219
|
-
imagePosition: m = "left",
|
|
220
|
-
signInContent: h,
|
|
221
|
-
brandingContent: f,
|
|
222
|
-
rulesDisplay: u
|
|
223
|
-
}) => {
|
|
224
|
-
var w, z;
|
|
225
|
-
const b = D(), g = A(), s = P(), y = W().primary, F = W().secondary, R = $(), l = ((w = e.branding) == null ? void 0 : w.colors) || null, x = ((z = e.branding) == null ? void 0 : z.urls) || null, v = (l == null ? void 0 : l.contentColor) || M().textColor, H = (l == null ? void 0 : l.secondaryColor) || M().textColor, a = (l == null ? void 0 : l.backgroundColor) || M().surfaceVariant, p = "60%", j = O(
|
|
226
|
-
_.STANDARD
|
|
227
|
-
), B = V(m), t = q({
|
|
228
|
-
finalImage: d,
|
|
229
|
-
spacingScale: s,
|
|
230
|
-
borderRadius: R,
|
|
231
|
-
fontFamilyPrimary: y,
|
|
232
|
-
fontFamilySecondary: F,
|
|
233
|
-
textColor: v,
|
|
234
|
-
secondaryColor: H,
|
|
235
|
-
bgcolor: N(a || ""),
|
|
236
|
-
opacity: p,
|
|
237
|
-
brandingColors: l,
|
|
238
|
-
imagePosition: m,
|
|
239
|
-
darkTextColor: g.colorSchemes.dark.textColor,
|
|
240
|
-
imageBackgroundGradient: j,
|
|
241
|
-
isMobile: b
|
|
242
|
-
}), C = U(
|
|
243
|
-
x == null ? void 0 : x.primaryUrl,
|
|
244
|
-
x == null ? void 0 : x.secondaryUrl,
|
|
245
|
-
"image"
|
|
246
|
-
), L = (S, T) => typeof window > "u" ? C ? /* @__PURE__ */ n(
|
|
247
|
-
i,
|
|
248
|
-
{
|
|
249
|
-
component: "a",
|
|
250
|
-
href: C,
|
|
251
|
-
target: "_blank",
|
|
252
|
-
sx: T,
|
|
253
|
-
children: S
|
|
254
|
-
}
|
|
255
|
-
) : /* @__PURE__ */ n(i, { sx: T, children: S }) : C ? /* @__PURE__ */ n(
|
|
256
|
-
i,
|
|
257
|
-
{
|
|
258
|
-
sx: { ...T, cursor: "pointer" },
|
|
259
|
-
onClick: () => window.open(C, "_blank"),
|
|
260
|
-
children: S
|
|
261
|
-
}
|
|
262
|
-
) : /* @__PURE__ */ n(i, { sx: T, children: S });
|
|
263
|
-
return /* @__PURE__ */ o(G, { children: [
|
|
264
|
-
d ? L(
|
|
265
|
-
/* @__PURE__ */ o(i, { sx: t.mobileHeadlineContent, children: [
|
|
266
|
-
/* @__PURE__ */ o(i, { children: [
|
|
267
|
-
/* @__PURE__ */ o(i, { sx: { display: "flex", alignItems: "center", gap: s["3xs"] }, children: [
|
|
268
|
-
/* @__PURE__ */ n(
|
|
269
|
-
r,
|
|
270
|
-
{
|
|
271
|
-
level: "body-sm",
|
|
272
|
-
sx: t.headlineTypographyMobileImage,
|
|
273
|
-
children: c
|
|
274
|
-
}
|
|
275
|
-
),
|
|
276
|
-
/* @__PURE__ */ n(
|
|
277
|
-
I,
|
|
278
|
-
{
|
|
279
|
-
rulesDisplay: u,
|
|
280
|
-
rules: e.rules || ""
|
|
281
|
-
}
|
|
282
|
-
)
|
|
283
|
-
] }),
|
|
284
|
-
/* @__PURE__ */ o(i, { sx: t.contentContainer, children: [
|
|
285
|
-
/* @__PURE__ */ n(
|
|
286
|
-
r,
|
|
287
|
-
{
|
|
288
|
-
level: "body-lg",
|
|
289
|
-
sx: t.titleTypographyMobileImage,
|
|
290
|
-
children: e.title
|
|
291
|
-
}
|
|
292
|
-
),
|
|
293
|
-
/* @__PURE__ */ n(
|
|
294
|
-
r,
|
|
295
|
-
{
|
|
296
|
-
level: "body-md",
|
|
297
|
-
sx: t.descriptionTypographyMobileImage,
|
|
298
|
-
children: k(e.description)
|
|
299
|
-
}
|
|
300
|
-
)
|
|
301
|
-
] })
|
|
302
|
-
] }),
|
|
303
|
-
/* @__PURE__ */ o(i, { sx: t.signInButtonContainer, children: [
|
|
304
|
-
h,
|
|
305
|
-
f
|
|
306
|
-
] })
|
|
307
|
-
] }),
|
|
308
|
-
t.mobileHeadlineWithImage
|
|
309
|
-
) : /* @__PURE__ */ o(i, { sx: t.mobileHeadlineWithoutImage, children: [
|
|
310
|
-
/* @__PURE__ */ o(i, { children: [
|
|
311
|
-
/* @__PURE__ */ o(i, { sx: { display: "flex", alignItems: "center", gap: s["3xs"] }, children: [
|
|
312
|
-
/* @__PURE__ */ n(r, { level: "body-sm", sx: t.headlineTypography, children: c }),
|
|
313
|
-
/* @__PURE__ */ n(
|
|
314
|
-
I,
|
|
315
|
-
{
|
|
316
|
-
rulesDisplay: u,
|
|
317
|
-
rules: e.rules || ""
|
|
318
|
-
}
|
|
319
|
-
)
|
|
320
|
-
] }),
|
|
321
|
-
/* @__PURE__ */ o(i, { sx: t.contentContainer, children: [
|
|
322
|
-
/* @__PURE__ */ n(r, { level: "h4", sx: t.titleTypography, children: e.title }),
|
|
323
|
-
/* @__PURE__ */ n(r, { level: "body-md", sx: t.descriptionTypography, children: k(e.description) })
|
|
324
|
-
] })
|
|
325
|
-
] }),
|
|
326
|
-
/* @__PURE__ */ o(i, { sx: t.signInButtonContainer, children: [
|
|
327
|
-
h,
|
|
328
|
-
f
|
|
329
|
-
] })
|
|
330
|
-
] }),
|
|
331
|
-
d && B === "left" && /* @__PURE__ */ n(i, { sx: t.imageContainerLeft, children: /* @__PURE__ */ n("img", { src: d, alt: "Illustration", style: t.image }) }),
|
|
332
|
-
/* @__PURE__ */ n(i, { sx: t.mainContentArea, children: /* @__PURE__ */ o(i, { sx: t.desktopHeadlineContainer, children: [
|
|
333
|
-
/* @__PURE__ */ o(i, { sx: { display: "flex", flexDirection: "column", alignItems: "center", gap: s["3xs"] }, children: [
|
|
334
|
-
/* @__PURE__ */ o(i, { sx: { display: "flex", alignItems: "center", gap: s["3xs"] }, children: [
|
|
335
|
-
/* @__PURE__ */ n(r, { level: "body-sm", sx: t.headlineTypography, children: c }),
|
|
336
|
-
/* @__PURE__ */ n(
|
|
337
|
-
I,
|
|
338
|
-
{
|
|
339
|
-
rulesDisplay: u,
|
|
340
|
-
rules: e.rules || ""
|
|
341
|
-
}
|
|
342
|
-
)
|
|
343
|
-
] }),
|
|
344
|
-
/* @__PURE__ */ o(i, { sx: t.contentContainer, children: [
|
|
345
|
-
/* @__PURE__ */ n(r, { level: "h4", sx: t.titleTypographyDesktop, children: e.title }),
|
|
346
|
-
/* @__PURE__ */ n(
|
|
347
|
-
r,
|
|
348
|
-
{
|
|
349
|
-
level: "body-md",
|
|
350
|
-
sx: t.descriptionTypographyDesktop,
|
|
351
|
-
children: k(e.description)
|
|
352
|
-
}
|
|
353
|
-
)
|
|
354
|
-
] })
|
|
355
|
-
] }),
|
|
356
|
-
/* @__PURE__ */ n(i, { sx: t.signInButtonContainer, children: h }),
|
|
357
|
-
f
|
|
358
|
-
] }) }),
|
|
359
|
-
d && B === "right" && /* @__PURE__ */ n(i, { sx: t.imageContainerRight, children: /* @__PURE__ */ n("img", { src: d, alt: "Illustration", style: t.image }) })
|
|
360
|
-
] });
|
|
361
|
-
}, E = (e) => {
|
|
362
|
-
var c;
|
|
363
|
-
return {
|
|
364
|
-
// Main container with background overlay
|
|
365
|
-
mainContainer: {
|
|
366
|
-
display: "flex",
|
|
367
|
-
flexDirection: "column",
|
|
368
|
-
justifyContent: "space-between",
|
|
369
|
-
gap: "40px",
|
|
370
|
-
p: e.spacingScale.xl,
|
|
371
|
-
boxShadow: "md",
|
|
372
|
-
border: (c = e.brandingColors) != null && c.borderColor ? `${e.borderSize} solid ${e.brandingColors.borderColor}` : "none",
|
|
373
|
-
overflow: "hidden",
|
|
374
|
-
backgroundImage: e.backgroundImage,
|
|
375
|
-
backgroundSize: "cover",
|
|
376
|
-
backgroundPosition: "center",
|
|
377
|
-
position: "relative",
|
|
378
|
-
borderRadius: e.mdBorderRadius,
|
|
379
|
-
minHeight: "250px",
|
|
380
|
-
"&::before": {
|
|
381
|
-
content: '""',
|
|
382
|
-
position: "absolute",
|
|
383
|
-
background: e.imageBackgroundGradient,
|
|
384
|
-
top: 0,
|
|
385
|
-
left: 0,
|
|
386
|
-
right: 0,
|
|
387
|
-
bottom: 0,
|
|
388
|
-
borderRadius: "inherit",
|
|
389
|
-
zIndex: 0
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
// Headline section wrapper
|
|
393
|
-
headlineSection: {
|
|
394
|
-
display: "flex",
|
|
395
|
-
justifyContent: "space-between",
|
|
396
|
-
flex: "1 0 0",
|
|
397
|
-
alignSelf: "stretch"
|
|
398
|
-
},
|
|
399
|
-
// Headline content container
|
|
400
|
-
headlineContent: {
|
|
401
|
-
display: "flex",
|
|
402
|
-
flexDirection: "column",
|
|
403
|
-
alignItems: "flex-start",
|
|
404
|
-
flex: "1 0 0",
|
|
405
|
-
gap: "16px"
|
|
406
|
-
},
|
|
407
|
-
// Headline content with z-index
|
|
408
|
-
headlineContentInner: {
|
|
409
|
-
zIndex: 10
|
|
410
|
-
},
|
|
411
|
-
headlineText: {
|
|
412
|
-
fontWeight: 500,
|
|
413
|
-
lineHeight: "166%",
|
|
414
|
-
letterSpacing: "1px",
|
|
415
|
-
textAlign: e.isMobile ? "center" : "left",
|
|
416
|
-
color: e.secondaryColor,
|
|
417
|
-
opacity: "70%",
|
|
418
|
-
textTransform: "uppercase",
|
|
419
|
-
fontFamily: e.fontFamilySecondary,
|
|
420
|
-
fontSize: "0.75em"
|
|
421
|
-
},
|
|
422
|
-
// Content container
|
|
423
|
-
contentContainer: {
|
|
424
|
-
display: "flex",
|
|
425
|
-
flexDirection: "column",
|
|
426
|
-
gap: e.spacingScale["3xs"]
|
|
427
|
-
},
|
|
428
|
-
titleText: {
|
|
429
|
-
// CMS text of unknown language: let each block pick its own direction from
|
|
430
|
-
// its first strong character, so Latin punctuation is not displaced in RTL.
|
|
431
|
-
unicodeBidi: "plaintext",
|
|
432
|
-
fontWeight: 700,
|
|
433
|
-
lineHeight: "133%",
|
|
434
|
-
letterSpacing: "0px",
|
|
435
|
-
textAlign: e.isMobile ? "center" : "left",
|
|
436
|
-
fontSize: "1.5em",
|
|
437
|
-
color: e.darkTextColor,
|
|
438
|
-
fontFamily: e.fontFamilyPrimary
|
|
439
|
-
},
|
|
440
|
-
descriptionText: {
|
|
441
|
-
// CMS text of unknown language: let each block pick its own direction from
|
|
442
|
-
// its first strong character, so Latin punctuation is not displaced in RTL.
|
|
443
|
-
unicodeBidi: "plaintext",
|
|
444
|
-
fontWeight: 400,
|
|
445
|
-
lineHeight: "140%",
|
|
446
|
-
letterSpacing: "0.15px",
|
|
447
|
-
fontSize: "1.25em",
|
|
448
|
-
textAlign: e.isMobile ? "center" : "left",
|
|
449
|
-
color: e.secondaryColor,
|
|
450
|
-
opacity: "70%",
|
|
451
|
-
fontFamily: e.fontFamilyPrimary
|
|
452
|
-
},
|
|
453
|
-
// Bottom container
|
|
454
|
-
bottomContainer: {
|
|
455
|
-
display: "flex",
|
|
456
|
-
alignItems: "center",
|
|
457
|
-
justifyContent: "space-between",
|
|
458
|
-
flexDirection: e.isMobile ? "column-reverse" : "row",
|
|
459
|
-
gap: e.spacingScale.md
|
|
460
|
-
},
|
|
461
|
-
// Sign-in wrapper to always position at flex-end
|
|
462
|
-
signInWrapper: {
|
|
463
|
-
display: "flex",
|
|
464
|
-
justifyContent: "flex-end",
|
|
465
|
-
flex: 1
|
|
466
|
-
}
|
|
467
|
-
};
|
|
468
|
-
}, ne = ({
|
|
469
|
-
entity: e,
|
|
470
|
-
headline: c,
|
|
471
|
-
backgroundImage: d,
|
|
472
|
-
imageBackgroundGradient: m,
|
|
473
|
-
signInContent: h,
|
|
474
|
-
brandingContent: f,
|
|
475
|
-
rulesDisplay: u
|
|
476
|
-
}) => {
|
|
477
|
-
var p;
|
|
478
|
-
const b = D(), g = A(), s = P(), y = ((p = e.branding) == null ? void 0 : p.colors) || null, F = (y == null ? void 0 : y.contentColor) || g.colorSchemes.dark.textColor, R = g.customFontFamily.dark.primary, l = g.customFontFamily.dark.secondary, x = g.customRadius.dark.md, v = g.border.dark.size, H = g.colorSchemes.dark.textColor, a = E({
|
|
479
|
-
spacingScale: s,
|
|
480
|
-
brandingColors: y,
|
|
481
|
-
secondaryColor: F,
|
|
482
|
-
fontFamilyPrimary: R,
|
|
483
|
-
fontFamilySecondary: l,
|
|
484
|
-
mdBorderRadius: x,
|
|
485
|
-
borderSize: v,
|
|
486
|
-
darkTextColor: H,
|
|
487
|
-
backgroundImage: d,
|
|
488
|
-
imageBackgroundGradient: m,
|
|
489
|
-
isMobile: b
|
|
490
|
-
});
|
|
491
|
-
return /* @__PURE__ */ o(i, { sx: a.mainContainer, children: [
|
|
492
|
-
/* @__PURE__ */ n(i, { children: /* @__PURE__ */ n(i, { sx: a.headlineSection, children: /* @__PURE__ */ n(i, { sx: a.headlineContent, children: /* @__PURE__ */ o(i, { sx: { ...a.headlineContentInner, display: "flex", flexDirection: "column", alignItems: b ? "center" : "flex-start", gap: s["3xs"] }, children: [
|
|
493
|
-
/* @__PURE__ */ o(i, { sx: { display: "flex", alignItems: "center", gap: s["3xs"] }, children: [
|
|
494
|
-
/* @__PURE__ */ n(r, { level: "body-sm", sx: a.headlineText, children: c }),
|
|
495
|
-
/* @__PURE__ */ n(
|
|
496
|
-
I,
|
|
497
|
-
{
|
|
498
|
-
rulesDisplay: u,
|
|
499
|
-
isOverlayVariant: !0,
|
|
500
|
-
rules: e.rules || ""
|
|
501
|
-
}
|
|
502
|
-
)
|
|
503
|
-
] }),
|
|
504
|
-
/* @__PURE__ */ o(i, { sx: a.contentContainer, children: [
|
|
505
|
-
/* @__PURE__ */ n(r, { level: "h4", sx: a.titleText, children: e.title }),
|
|
506
|
-
/* @__PURE__ */ n(r, { level: "body-lg", sx: a.descriptionText, children: k(e.description) })
|
|
507
|
-
] })
|
|
508
|
-
] }) }) }) }),
|
|
509
|
-
/* @__PURE__ */ o(i, { sx: a.bottomContainer, children: [
|
|
510
|
-
f,
|
|
511
|
-
/* @__PURE__ */ n(i, { sx: a.signInWrapper, children: h })
|
|
512
|
-
] })
|
|
513
|
-
] });
|
|
514
|
-
};
|
|
515
|
-
export {
|
|
516
|
-
ne as O,
|
|
517
|
-
ie as S
|
|
518
|
-
};
|