fansunited-widgets-cdn 0.0.85 → 0.0.86-RC2
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/chunks/Alert-CuOsmojH.js +149 -0
- package/chunks/AspectRatio-D3Sgxj7p.js +125 -0
- package/chunks/Avatar-BTsEKfhc.js +186 -0
- package/chunks/Button-BV7YIFkS.js +858 -0
- package/chunks/Card-DRIT0wtY.js +129 -0
- package/chunks/CardContent-CD-WZh1l.js +60 -0
- package/chunks/ChevronRight-BrCKlr3T.js +11 -0
- package/chunks/Chip-6HLNTHMI.js +281 -0
- package/chunks/ClassicQuizWrapper-t04e9_6c.js +4883 -0
- package/chunks/CollectLeadForm-DtmR2Vuf-B_3JkHJC.js +1560 -0
- package/chunks/CollectLeadWrapper-CVAVswua.js +1294 -0
- package/chunks/DialogActions-C5kAgHal.js +45 -0
- package/chunks/DialogContent-MIXff4nd.js +60 -0
- package/chunks/EitherOrById-CAo8gPjm.js +1496 -0
- package/chunks/EitherOrPreviewWrapper-DFi2bviS.js +47 -0
- package/chunks/Error-DhQL89pn-BwTV1meb.js +418 -0
- package/chunks/EventGameWrapper-BxyLL3eA.js +7633 -0
- package/chunks/Grid-Dpv_ZL23.js +279 -0
- package/chunks/IconButton-Lt9Xks7c.js +207 -0
- package/chunks/Link-DLuj1USf.js +228 -0
- package/chunks/List-DLPlZGTP.js +397 -0
- package/chunks/ListItemDecorator-CE2eQLip.js +1882 -0
- package/chunks/MatchPredictionContainer-Ct6gXvLw.js +751 -0
- package/chunks/MatchQuizWrapper-Fu6RfWVn.js +11046 -0
- package/chunks/ModalDialog-Ci3hulZA.js +619 -0
- package/chunks/NotFoundSkeleton-BYJTzYJR-Be3R34nS.js +2764 -0
- package/chunks/OverlayLeadAfterCollection-DnqztPJ5-CpELr0AC.js +896 -0
- package/chunks/OverlayScoreStateSkeleton-C9FUhcnd-DMFELrvA.js +146 -0
- package/chunks/PersonalityQuizWrapper-MpUK4n3Y.js +34374 -0
- package/chunks/PlayerOfTheMatch-D4vuR7pz.js +1406 -0
- package/chunks/PollWrapper-CzKj8xxE.js +4198 -0
- package/chunks/Portal-BWqqFvVm-TuHZWjxn.js +12717 -0
- package/chunks/Portal-DA1mxzSo.js +41 -0
- package/chunks/PreviewQuizById-WWS_LyJR.js +4864 -0
- package/chunks/Select-p_cHpLhi.js +3418 -0
- package/chunks/Sheet-BaCzogZK.js +167 -0
- package/chunks/Snackbar-DHxnbCA3.js +358 -0
- package/chunks/Stack-Dgf2LXN0.js +117 -0
- package/chunks/Tabs-CSu_cWNi.js +784 -0
- package/chunks/TeamNextMatchPrediction-C7HilNqW.js +6 -0
- package/chunks/Tutorial-DFNZxmAx.js +427 -0
- package/chunks/createLucideIcon-B6NxpYkb.js +79 -0
- package/chunks/createSvgIcon-7h7XC877.js +119 -0
- package/chunks/createSvgIcon-DVA0KIUd.js +2490 -0
- package/chunks/dataAttributeParser-CF9vxaVN.js +28 -0
- package/chunks/default-quiz-bg-CTzaADn7.js +4 -0
- package/chunks/getReactElementRef-BD-S8A24.js +25 -0
- package/chunks/index-24AwmTVJ.js +85 -0
- package/chunks/index-3vJS8JzK.js +63 -0
- package/chunks/index-BSD7mvEU.js +57 -0
- package/chunks/index-BU6iona7.js +57 -0
- package/chunks/index-BqCHiyI6.js +59 -0
- package/chunks/index-C5qRf4TV.js +20 -0
- package/chunks/index-C9MpfjqV.js +35 -0
- package/chunks/index-CMmQs5A5.js +56 -0
- package/chunks/index-CicEY2Jv.js +5 -0
- package/chunks/index-DNeawo0R.js +17 -0
- package/chunks/index-DePIySlY.js +29 -0
- package/chunks/index-DoRYU_1L.js +41 -0
- package/chunks/index-DvgG9XJj.js +20 -0
- package/chunks/index-QpZE-92Y.js +33 -0
- package/chunks/index-rgFj976B.js +17 -0
- package/chunks/index-tzsdMoo-.js +16 -0
- package/chunks/index.es-CHqz6mjo.js +6162 -0
- package/chunks/init-BEkECL0v.js +32 -0
- package/chunks/main-XP7dqk6g.js +39843 -0
- package/chunks/resolveProps-BfYZubfk.js +37 -0
- package/chunks/users-D_xgC4iQ.js +16 -0
- package/chunks/variantColorInheritance-DI3wUohX.js +28 -0
- package/fu-widgets-loader.es.js +73 -0
- package/fu-widgets-loader.js +1 -0
- package/fu-widgets.es.js +4 -0
- package/fu-widgets.iife.js +621 -682
- package/manifest.json +84 -0
- package/package.json +9 -2
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { j as o, B as i } from "./main-XP7dqk6g.js";
|
|
2
|
+
import { o as C, Y as j, K as k, j as v } from "./Portal-BWqqFvVm-TuHZWjxn.js";
|
|
3
|
+
import { v as F } from "./NotFoundSkeleton-BYJTzYJR-Be3R34nS.js";
|
|
4
|
+
import { T as l } from "./Button-BV7YIFkS.js";
|
|
5
|
+
const T = (e) => ({
|
|
6
|
+
// Main container with background overlay
|
|
7
|
+
mainContainer: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
flexDirection: "column",
|
|
10
|
+
gap: "40px",
|
|
11
|
+
p: e.spacingScale.xl,
|
|
12
|
+
boxShadow: "md",
|
|
13
|
+
border: `${e.borderSize} solid ${e.borderColor}`,
|
|
14
|
+
overflow: "hidden",
|
|
15
|
+
backgroundImage: e.backgroundImage,
|
|
16
|
+
backgroundPosition: "center",
|
|
17
|
+
backgroundSize: "cover",
|
|
18
|
+
position: "relative",
|
|
19
|
+
borderRadius: e.mdBorderRadius,
|
|
20
|
+
minHeight: "250px",
|
|
21
|
+
"&::before": {
|
|
22
|
+
content: '""',
|
|
23
|
+
position: "absolute",
|
|
24
|
+
top: 0,
|
|
25
|
+
left: 0,
|
|
26
|
+
right: 0,
|
|
27
|
+
bottom: 0,
|
|
28
|
+
borderRadius: "inherit",
|
|
29
|
+
zIndex: 0,
|
|
30
|
+
background: e.imageBackgroundGradient
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
// Headline section wrapper
|
|
34
|
+
headlineSection: {
|
|
35
|
+
display: "flex",
|
|
36
|
+
justifyContent: "space-between",
|
|
37
|
+
flex: "1 0 0",
|
|
38
|
+
alignSelf: "stretch"
|
|
39
|
+
},
|
|
40
|
+
// Headline content container
|
|
41
|
+
headlineContent: {
|
|
42
|
+
display: "flex",
|
|
43
|
+
flexDirection: "column",
|
|
44
|
+
alignItems: "flex-start",
|
|
45
|
+
flex: "1 0 0",
|
|
46
|
+
gap: "16px"
|
|
47
|
+
},
|
|
48
|
+
// Headline content with z-index
|
|
49
|
+
headlineContentInner: {
|
|
50
|
+
zIndex: 10
|
|
51
|
+
},
|
|
52
|
+
// Headline typography
|
|
53
|
+
headlineText: {
|
|
54
|
+
fontWeight: 500,
|
|
55
|
+
lineHeight: "166%",
|
|
56
|
+
letterSpacing: "1px",
|
|
57
|
+
textAlign: { xs: "center", md: "left" },
|
|
58
|
+
color: e.secondaryColor,
|
|
59
|
+
opacity: "70%",
|
|
60
|
+
textTransform: "uppercase",
|
|
61
|
+
fontFamily: e.fontFamilySecondary,
|
|
62
|
+
fontSize: "0.75em"
|
|
63
|
+
},
|
|
64
|
+
// Content container
|
|
65
|
+
contentContainer: {
|
|
66
|
+
display: "flex",
|
|
67
|
+
flexDirection: "column",
|
|
68
|
+
gap: e.spacingScale["3xs"]
|
|
69
|
+
},
|
|
70
|
+
// Title typography
|
|
71
|
+
titleText: {
|
|
72
|
+
fontWeight: 700,
|
|
73
|
+
lineHeight: "133%",
|
|
74
|
+
letterSpacing: "0px",
|
|
75
|
+
textAlign: { xs: "center", md: "left" },
|
|
76
|
+
fontSize: "1.5em",
|
|
77
|
+
color: e.darkTextColor,
|
|
78
|
+
fontFamily: e.fontFamilyPrimary
|
|
79
|
+
},
|
|
80
|
+
// Description typography
|
|
81
|
+
descriptionText: {
|
|
82
|
+
fontWeight: 400,
|
|
83
|
+
lineHeight: "140%",
|
|
84
|
+
letterSpacing: "0.15px",
|
|
85
|
+
fontSize: "1.25em",
|
|
86
|
+
textAlign: { xs: "center", md: "left" },
|
|
87
|
+
color: e.secondaryColor,
|
|
88
|
+
opacity: "70%",
|
|
89
|
+
fontFamily: e.fontFamilyPrimary
|
|
90
|
+
}
|
|
91
|
+
}), D = ({
|
|
92
|
+
entity: e,
|
|
93
|
+
headline: d,
|
|
94
|
+
backgroundImage: c,
|
|
95
|
+
imageBackgroundGradient: x,
|
|
96
|
+
children: m,
|
|
97
|
+
rulesDisplay: g
|
|
98
|
+
}) => {
|
|
99
|
+
var a;
|
|
100
|
+
C();
|
|
101
|
+
const r = j(), s = k(), t = ((a = e.branding) == null ? void 0 : a.colors) || null, p = (t == null ? void 0 : t.secondaryColor) || r.colorSchemes.dark.textSecondary, h = r.customFontFamily.light.primary, y = r.customFontFamily.light.secondary, f = r.customRadius.light.md, u = r.border.light.size, b = (t == null ? void 0 : t.borderColor) || r.colorSchemes.dark.secondaryContainer, S = r.colorSchemes.dark.textColor, n = T({
|
|
102
|
+
spacingScale: s,
|
|
103
|
+
secondaryColor: p,
|
|
104
|
+
fontFamilyPrimary: h,
|
|
105
|
+
fontFamilySecondary: y,
|
|
106
|
+
mdBorderRadius: f,
|
|
107
|
+
borderSize: u,
|
|
108
|
+
borderColor: b,
|
|
109
|
+
darkTextColor: S,
|
|
110
|
+
backgroundImage: c,
|
|
111
|
+
imageBackgroundGradient: x
|
|
112
|
+
});
|
|
113
|
+
return /* @__PURE__ */ o.jsxs(i, { sx: n.mainContainer, children: [
|
|
114
|
+
/* @__PURE__ */ o.jsx(i, { children: /* @__PURE__ */ o.jsx(i, { sx: n.headlineSection, children: /* @__PURE__ */ o.jsx(i, { sx: n.headlineContent, children: /* @__PURE__ */ o.jsxs(i, { sx: n.headlineContentInner, children: [
|
|
115
|
+
/* @__PURE__ */ o.jsxs(
|
|
116
|
+
i,
|
|
117
|
+
{
|
|
118
|
+
sx: {
|
|
119
|
+
display: "flex",
|
|
120
|
+
alignItems: "center",
|
|
121
|
+
gap: s["3xs"]
|
|
122
|
+
},
|
|
123
|
+
children: [
|
|
124
|
+
/* @__PURE__ */ o.jsx(l, { level: "body-sm", sx: n.headlineText, children: d }),
|
|
125
|
+
/* @__PURE__ */ o.jsx(
|
|
126
|
+
F,
|
|
127
|
+
{
|
|
128
|
+
rulesDisplay: g,
|
|
129
|
+
isOverlayVariant: !0,
|
|
130
|
+
rules: e.rules || ""
|
|
131
|
+
}
|
|
132
|
+
)
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
),
|
|
136
|
+
/* @__PURE__ */ o.jsxs(i, { sx: n.contentContainer, children: [
|
|
137
|
+
/* @__PURE__ */ o.jsx(l, { level: "h4", sx: n.titleText, children: e.title }),
|
|
138
|
+
/* @__PURE__ */ o.jsx(l, { level: "body-lg", sx: n.descriptionText, children: v(e.description) })
|
|
139
|
+
] })
|
|
140
|
+
] }) }) }) }),
|
|
141
|
+
m
|
|
142
|
+
] });
|
|
143
|
+
};
|
|
144
|
+
export {
|
|
145
|
+
D as w
|
|
146
|
+
};
|