@telefonica/mistica 16.2.0 → 16.3.0
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/css/mistica.css +1 -1
- package/dist/card.css-mistica.js +33 -21
- package/dist/card.css.d.ts +4 -0
- package/dist/card.js +235 -263
- package/dist/chip.css-mistica.js +19 -7
- package/dist/chip.css.d.ts +2 -0
- package/dist/chip.js +33 -49
- package/dist/community/advanced-data-card.css-mistica.js +24 -24
- package/dist/community/advanced-data-card.css.d.ts +1 -1
- package/dist/community/advanced-data-card.js +45 -48
- package/dist/empty-state-card.js +12 -11
- package/dist/hero.js +25 -19
- package/dist/highlighted-card.js +15 -14
- package/dist/list.css-mistica.js +21 -15
- package/dist/list.css.d.ts +2 -0
- package/dist/list.js +97 -96
- package/dist/menu.css-mistica.js +9 -9
- package/dist/menu.js +9 -10
- package/dist/package-version.js +1 -1
- package/dist/sheet-common.js +3 -2
- package/dist/table.js +52 -51
- package/dist/tag.css-mistica.js +1 -1
- package/dist/tag.js +9 -10
- package/dist/text-props.d.ts +60 -0
- package/dist/text-props.js +93 -0
- package/dist/text.d.ts +0 -62
- package/dist/text.js +156 -219
- package/dist/title.js +10 -9
- package/dist-es/card.css-mistica.js +4 -4
- package/dist-es/card.js +343 -371
- package/dist-es/chip.css-mistica.js +10 -4
- package/dist-es/chip.js +44 -60
- package/dist-es/community/advanced-data-card.css-mistica.js +7 -7
- package/dist-es/community/advanced-data-card.js +74 -77
- package/dist-es/empty-state-card.js +17 -16
- package/dist-es/hero.js +53 -47
- package/dist-es/highlighted-card.js +19 -18
- package/dist-es/list.css-mistica.js +2 -2
- package/dist-es/list.js +141 -140
- package/dist-es/menu.css-mistica.js +3 -3
- package/dist-es/menu.js +21 -22
- package/dist-es/package-version.js +1 -1
- package/dist-es/sheet-common.js +12 -11
- package/dist-es/style.css +1 -1
- package/dist-es/table.js +89 -88
- package/dist-es/tag.css-mistica.js +1 -1
- package/dist-es/tag.js +14 -15
- package/dist-es/text-props.js +52 -0
- package/dist-es/text.js +171 -231
- package/dist-es/title.js +14 -13
- package/package.json +3 -3
package/dist-es/card.js
CHANGED
|
@@ -78,59 +78,60 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
78
78
|
}
|
|
79
79
|
return target;
|
|
80
80
|
}
|
|
81
|
-
import { jsx as e, jsxs as s, Fragment as
|
|
81
|
+
import { jsx as e, jsxs as s, Fragment as Xe } from "react/jsx-runtime";
|
|
82
82
|
import * as B from "react";
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import { Text as
|
|
87
|
-
import {
|
|
88
|
-
import he from "./
|
|
83
|
+
import _e from "./tag.js";
|
|
84
|
+
import te from "./stack.js";
|
|
85
|
+
import Y from "./box.js";
|
|
86
|
+
import { Text as ne, Text2 as O, Text6 as $e, Text3 as qe } from "./text.js";
|
|
87
|
+
import { text2 as ge, text4 as xe } from "./text-props.js";
|
|
88
|
+
import { Boxed as he, InternalBoxed as Ce } from "./boxed.js";
|
|
89
|
+
import me from "./button-group.js";
|
|
89
90
|
import ue from "./image.js";
|
|
90
91
|
import { BaseTouchable as F } from "./touchable.js";
|
|
91
92
|
import { vars as v } from "./skins/skin-contract.css-mistica.js";
|
|
92
|
-
import { cardContainer as
|
|
93
|
-
import { vars as
|
|
93
|
+
import { cardContainer as Je, touchableContainer as L, boxed as Z, touchable as X, touchableMediaCardOverlay as Ke, mediaCard as ve, mediaCardContent as Qe, mediaCardAsset as Ne, touchableNakedMediaOverlay as Te, circularMediaOverlay as be, nakedCardContent as Be, touchableCardOverlay as ie, dataCard as Ue, vars as Re, dataCardTopActionsWithoutIcon as Ye, actions as Se, snapCard as Ze, displayCardContainer as we, displayCardBackground as Ae, displayCardContent as Ie, displayCardContentWrapper as Pe, displayCardGradient as ke, displayCardContentWithAsset as ea, displayCardContentWithTopContent as aa, posterCardContentWrapper as ra, cardContentContainer as ta, flexColumn as Me, touchableCardOverlayInverse as fe, touchableCardOverlayMedia as De } from "./card.css-mistica.js";
|
|
94
|
+
import { vars as H } from "./image.css-mistica.js";
|
|
94
95
|
import { useTheme as Q } from "./hooks.js";
|
|
95
|
-
import { IconButton as
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import
|
|
99
|
-
import { combineRefs as
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
-
import { useThemeVariant as
|
|
103
|
-
import
|
|
104
|
-
import
|
|
105
|
-
import { getPrefixedDataAttributes as
|
|
106
|
-
import { isRunningAcceptanceTest as
|
|
107
|
-
import { applyCssVars as
|
|
108
|
-
import { closeButtonLabel as
|
|
96
|
+
import { IconButton as na, ToggleIconButton as ia } from "./icon-button.js";
|
|
97
|
+
import oa from "./generated/mistica-icons/icon-close-regular.js";
|
|
98
|
+
import da from "./generated/mistica-icons/icon-pause-filled.js";
|
|
99
|
+
import la from "./generated/mistica-icons/icon-play-filled.js";
|
|
100
|
+
import { combineRefs as sa } from "./utils/common.js";
|
|
101
|
+
import ca from "./spinner.js";
|
|
102
|
+
import ha from "./video.js";
|
|
103
|
+
import { useThemeVariant as ma, useIsInverseVariant as ze, ThemeVariant as pe } from "./theme-variant-context.js";
|
|
104
|
+
import K from "classnames";
|
|
105
|
+
import Oe from "./inline.js";
|
|
106
|
+
import { getPrefixedDataAttributes as ua } from "./utils/dom.js";
|
|
107
|
+
import { isRunningAcceptanceTest as va } from "./utils/platform.js";
|
|
108
|
+
import { applyCssVars as G } from "./utils/css.js";
|
|
109
|
+
import { closeButtonLabel as fa, pauseIconButtonLabel as pa, playIconButtonLabel as ya } from "./text-tokens.js";
|
|
109
110
|
const M = ()=>{
|
|
110
|
-
const [a, r] = B.useState(""), t = B.useCallback((
|
|
111
|
-
|
|
111
|
+
const [a, r] = B.useState(""), t = B.useCallback((i)=>{
|
|
112
|
+
i && r((process.env.NODE_ENV === "test" ? i.textContent : i.innerText) || "");
|
|
112
113
|
}, []);
|
|
113
114
|
return {
|
|
114
115
|
text: a,
|
|
115
116
|
ref: t
|
|
116
117
|
};
|
|
117
|
-
},
|
|
118
|
-
const { texts:
|
|
118
|
+
}, je = (a, r, t)=>{
|
|
119
|
+
const { texts: i, t: o } = Q(), d = a ? [
|
|
119
120
|
...a
|
|
120
121
|
] : [];
|
|
121
122
|
return r && d.push({
|
|
122
|
-
label: t ||
|
|
123
|
+
label: t || i.closeButtonLabel || o(fa),
|
|
123
124
|
onPress: r,
|
|
124
|
-
Icon:
|
|
125
|
+
Icon: oa
|
|
125
126
|
}), d;
|
|
126
|
-
},
|
|
127
|
-
const r =
|
|
128
|
-
return a.Icon ? /* @__PURE__ */ e(
|
|
127
|
+
}, ga = (a)=>{
|
|
128
|
+
const r = ma();
|
|
129
|
+
return a.Icon ? /* @__PURE__ */ e(na, _object_spread_props(_object_spread({}, a), {
|
|
129
130
|
"aria-label": a.label,
|
|
130
131
|
small: !0,
|
|
131
132
|
type: "neutral",
|
|
132
133
|
backgroundType: "transparent"
|
|
133
|
-
})) : /* @__PURE__ */ e(
|
|
134
|
+
})) : /* @__PURE__ */ e(ia, _object_spread_props(_object_spread({}, a), {
|
|
134
135
|
checkedProps: _object_spread_props(_object_spread({}, a.checkedProps), {
|
|
135
136
|
"aria-label": a.checkedProps.label,
|
|
136
137
|
type: r === "media" ? "neutral" : "brand",
|
|
@@ -143,11 +144,11 @@ const M = ()=>{
|
|
|
143
144
|
}),
|
|
144
145
|
small: !0
|
|
145
146
|
}));
|
|
146
|
-
},
|
|
147
|
-
let { actions: a, padding: r = 16, onClose: t, variant:
|
|
148
|
-
const d =
|
|
147
|
+
}, P = (param)=>{
|
|
148
|
+
let { actions: a, padding: r = 16, onClose: t, variant: i = "default", closeButtonLabel: o } = param;
|
|
149
|
+
const d = je(a, t, o);
|
|
149
150
|
return d.length > 0 ? /* @__PURE__ */ e(pe, {
|
|
150
|
-
variant:
|
|
151
|
+
variant: i,
|
|
151
152
|
children: /* @__PURE__ */ e("div", {
|
|
152
153
|
style: {
|
|
153
154
|
position: "absolute",
|
|
@@ -155,34 +156,34 @@ const M = ()=>{
|
|
|
155
156
|
top: r,
|
|
156
157
|
zIndex: 3
|
|
157
158
|
},
|
|
158
|
-
children: /* @__PURE__ */ e(
|
|
159
|
+
children: /* @__PURE__ */ e(Oe, {
|
|
159
160
|
space: 16,
|
|
160
|
-
children: d.map((
|
|
161
|
+
children: d.map((n, m)=>"Icon" in n || "checkedProps" in n ? /* @__PURE__ */ e(ga, _object_spread({}, n), m) : n)
|
|
161
162
|
})
|
|
162
163
|
})
|
|
163
|
-
}) : /* @__PURE__ */ e(
|
|
164
|
-
},
|
|
164
|
+
}) : /* @__PURE__ */ e(Xe, {});
|
|
165
|
+
}, xa = (a)=>a ? typeof a == "number" ? a : ({
|
|
165
166
|
"1:1": 1,
|
|
166
167
|
"16:9": 16 / 9,
|
|
167
168
|
"7:10": 7 / 10,
|
|
168
169
|
"9:10": 9 / 10,
|
|
169
170
|
auto: 0
|
|
170
|
-
})[a] : 0,
|
|
171
|
-
let { children: a, width: r, height: t, aspectRatio:
|
|
172
|
-
const
|
|
173
|
-
return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({},
|
|
174
|
-
ref:
|
|
171
|
+
})[a] : 0, _ = /*#__PURE__*/ B.forwardRef((param, n)=>{
|
|
172
|
+
let { children: a, width: r, height: t, aspectRatio: i, dataAttributes: o, className: d, "aria-label": l } = param;
|
|
173
|
+
const m = r && t ? void 0 : xa(i);
|
|
174
|
+
return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({}, ua(o)), {
|
|
175
|
+
ref: n,
|
|
175
176
|
"aria-label": l,
|
|
176
|
-
className:
|
|
177
|
+
className: K(d, Je),
|
|
177
178
|
style: _object_spread({
|
|
178
179
|
width: r || "100%",
|
|
179
180
|
height: t || "100%"
|
|
180
|
-
},
|
|
181
|
-
[
|
|
181
|
+
}, m ? G({
|
|
182
|
+
[Re.aspectRatio]: String(m)
|
|
182
183
|
}) : {}),
|
|
183
184
|
children: a
|
|
184
185
|
}));
|
|
185
|
-
}),
|
|
186
|
+
}), Ve = (a)=>{
|
|
186
187
|
const r = typeof a == "string" ? a : a == null ? void 0 : a.src, t = typeof a == "string" || a == null ? void 0 : a.srcSet;
|
|
187
188
|
return /* @__PURE__ */ e(ue, {
|
|
188
189
|
width: "100%",
|
|
@@ -190,7 +191,7 @@ const M = ()=>{
|
|
|
190
191
|
src: r || "",
|
|
191
192
|
srcSet: t
|
|
192
193
|
});
|
|
193
|
-
},
|
|
194
|
+
}, Ca = {
|
|
194
195
|
loading: {
|
|
195
196
|
showSpinner: "loadingTimeout",
|
|
196
197
|
play: "playing",
|
|
@@ -216,87 +217,87 @@ const M = ()=>{
|
|
|
216
217
|
error: {
|
|
217
218
|
reset: "loading"
|
|
218
219
|
}
|
|
219
|
-
},
|
|
220
|
+
}, Na = (a, r)=>Ca[a][r] || a, Ta = (param)=>{
|
|
220
221
|
let { color: a } = param;
|
|
221
|
-
return /* @__PURE__ */ e(
|
|
222
|
+
return /* @__PURE__ */ e(ca, {
|
|
222
223
|
color: a,
|
|
223
224
|
size: 16,
|
|
224
225
|
delay: "0"
|
|
225
226
|
});
|
|
226
|
-
},
|
|
227
|
+
}, ba = (param)=>{
|
|
227
228
|
let { color: a } = param;
|
|
228
|
-
return /* @__PURE__ */ e(
|
|
229
|
+
return /* @__PURE__ */ e(da, {
|
|
229
230
|
color: a,
|
|
230
231
|
size: 12
|
|
231
232
|
});
|
|
232
|
-
},
|
|
233
|
+
}, Ba = (param)=>{
|
|
233
234
|
let { color: a } = param;
|
|
234
|
-
return /* @__PURE__ */ e(
|
|
235
|
+
return /* @__PURE__ */ e(la, {
|
|
235
236
|
color: a,
|
|
236
237
|
size: 12
|
|
237
238
|
});
|
|
238
|
-
},
|
|
239
|
-
const { texts:
|
|
239
|
+
}, Ee = (a, r, t)=>{
|
|
240
|
+
const { texts: i, t: o } = Q(), d = B.useRef(null), [l, n] = B.useReducer(Na, "loading");
|
|
240
241
|
B.useEffect(()=>{
|
|
241
242
|
var u;
|
|
242
|
-
const
|
|
243
|
+
const h = setTimeout(()=>n("showSpinner"), 2e3);
|
|
243
244
|
return (u = d.current) == null || u.load(), ()=>{
|
|
244
|
-
clearTimeout(
|
|
245
|
+
clearTimeout(h), n("reset");
|
|
245
246
|
};
|
|
246
247
|
}, [
|
|
247
248
|
a
|
|
248
249
|
]);
|
|
249
|
-
const
|
|
250
|
-
ref:
|
|
250
|
+
const m = B.useMemo(()=>a !== void 0 ? /* @__PURE__ */ e(ha, {
|
|
251
|
+
ref: sa(d, t),
|
|
251
252
|
src: a,
|
|
252
253
|
width: "100%",
|
|
253
254
|
height: "100%",
|
|
254
255
|
poster: r,
|
|
255
|
-
onError: ()=>
|
|
256
|
-
onPause: ()=>
|
|
257
|
-
onPlay: ()=>
|
|
256
|
+
onError: ()=>n("fail"),
|
|
257
|
+
onPause: ()=>n("pause"),
|
|
258
|
+
onPlay: ()=>n("play")
|
|
258
259
|
}) : void 0, [
|
|
259
260
|
t,
|
|
260
261
|
a,
|
|
261
262
|
r
|
|
262
263
|
]), c = ()=>{
|
|
263
|
-
const
|
|
264
|
-
|
|
264
|
+
const h = d.current;
|
|
265
|
+
h && (l === "loading" ? n("showSpinner") : l === "paused" ? h.play() : l === "playing" && h.pause());
|
|
265
266
|
};
|
|
266
267
|
if (l === "error") return {
|
|
267
|
-
video:
|
|
268
|
+
video: m
|
|
268
269
|
};
|
|
269
|
-
const p =
|
|
270
|
+
const p = m ? {
|
|
270
271
|
uncheckedProps: {
|
|
271
|
-
Icon: l === "loadingTimeout" && !
|
|
272
|
-
label: l === "loadingTimeout" ? "" :
|
|
272
|
+
Icon: l === "loadingTimeout" && !va() ? Ta : ba,
|
|
273
|
+
label: l === "loadingTimeout" ? "" : i.pauseIconButtonLabel || o(pa)
|
|
273
274
|
},
|
|
274
275
|
checkedProps: {
|
|
275
|
-
Icon:
|
|
276
|
-
label:
|
|
276
|
+
Icon: Ba,
|
|
277
|
+
label: i.playIconButtonLabel || o(ya)
|
|
277
278
|
},
|
|
278
279
|
onChange: c,
|
|
279
280
|
disabled: l === "loadingTimeout",
|
|
280
281
|
checked: l === "paused"
|
|
281
282
|
} : void 0;
|
|
282
283
|
return {
|
|
283
|
-
video:
|
|
284
|
+
video: m,
|
|
284
285
|
videoAction: p
|
|
285
286
|
};
|
|
286
|
-
},
|
|
287
|
-
let { headline: a, headlineRef: r, pretitle: t, pretitleLinesMax:
|
|
287
|
+
}, ye = (param)=>{
|
|
288
|
+
let { headline: a, headlineRef: r, pretitle: t, pretitleLinesMax: i, title: o, titleAs: d = "h3", titleLinesMax: l, subtitle: n, subtitleLinesMax: m, description: c, descriptionLinesMax: p, extra: h, extraRef: u, button: f, buttonLink: x } = param;
|
|
288
289
|
const { textPresets: b } = Q();
|
|
289
290
|
return /* @__PURE__ */ s("div", {
|
|
290
|
-
className:
|
|
291
|
+
className: ta,
|
|
291
292
|
children: [
|
|
292
293
|
/* @__PURE__ */ s("div", {
|
|
293
|
-
className:
|
|
294
|
+
className: Me,
|
|
294
295
|
children: [
|
|
295
296
|
o && /* @__PURE__ */ e("div", {
|
|
296
297
|
style: {
|
|
297
|
-
paddingBottom:
|
|
298
|
+
paddingBottom: n || c ? 4 : 0
|
|
298
299
|
},
|
|
299
|
-
children: /* @__PURE__ */ e(
|
|
300
|
+
children: /* @__PURE__ */ e(ne, _object_spread_props(_object_spread({}, xe), {
|
|
300
301
|
truncate: l,
|
|
301
302
|
weight: b.cardTitle.weight,
|
|
302
303
|
as: d,
|
|
@@ -311,7 +312,7 @@ const M = ()=>{
|
|
|
311
312
|
order: -2,
|
|
312
313
|
paddingBottom: 8
|
|
313
314
|
},
|
|
314
|
-
children: typeof a == "string" ? /* @__PURE__ */ e(
|
|
315
|
+
children: typeof a == "string" ? /* @__PURE__ */ e(_e, {
|
|
315
316
|
type: "promo",
|
|
316
317
|
children: a
|
|
317
318
|
}) : a
|
|
@@ -321,33 +322,33 @@ const M = ()=>{
|
|
|
321
322
|
order: -1,
|
|
322
323
|
paddingBottom: 4
|
|
323
324
|
},
|
|
324
|
-
children: /* @__PURE__ */ e(
|
|
325
|
-
truncate:
|
|
325
|
+
children: /* @__PURE__ */ e(O, {
|
|
326
|
+
truncate: i,
|
|
326
327
|
as: "div",
|
|
327
328
|
regular: !0,
|
|
328
329
|
hyphens: "auto",
|
|
329
330
|
children: t
|
|
330
331
|
})
|
|
331
332
|
}),
|
|
332
|
-
|
|
333
|
+
n && /* @__PURE__ */ e("div", {
|
|
333
334
|
style: {
|
|
334
335
|
paddingBottom: c ? 4 : 0
|
|
335
336
|
},
|
|
336
|
-
children: /* @__PURE__ */ e(
|
|
337
|
-
truncate:
|
|
337
|
+
children: /* @__PURE__ */ e(O, {
|
|
338
|
+
truncate: m,
|
|
338
339
|
as: "div",
|
|
339
340
|
regular: !0,
|
|
340
341
|
hyphens: "auto",
|
|
341
|
-
children:
|
|
342
|
+
children: n
|
|
342
343
|
})
|
|
343
344
|
}),
|
|
344
345
|
c && // this is tricky, when headline exists, the 8px padding is added by it.
|
|
345
346
|
// Otherwise, only 4px are added by title|pretitle|subtitle, so we need to add 4px more
|
|
346
347
|
/* @__PURE__ */ e("div", {
|
|
347
348
|
style: {
|
|
348
|
-
paddingTop: t || o ||
|
|
349
|
+
paddingTop: t || o || n ? 4 : 0
|
|
349
350
|
},
|
|
350
|
-
children: /* @__PURE__ */ e(
|
|
351
|
+
children: /* @__PURE__ */ e(O, {
|
|
351
352
|
truncate: p,
|
|
352
353
|
as: "p",
|
|
353
354
|
regular: !0,
|
|
@@ -356,23 +357,23 @@ const M = ()=>{
|
|
|
356
357
|
children: c
|
|
357
358
|
})
|
|
358
359
|
}),
|
|
359
|
-
|
|
360
|
+
h && /* @__PURE__ */ e("div", {
|
|
360
361
|
ref: u,
|
|
361
|
-
children:
|
|
362
|
+
children: h
|
|
362
363
|
})
|
|
363
364
|
]
|
|
364
365
|
}),
|
|
365
366
|
(f || x) && /* @__PURE__ */ e("div", {
|
|
366
|
-
className:
|
|
367
|
-
children: /* @__PURE__ */ e(
|
|
367
|
+
className: Se,
|
|
368
|
+
children: /* @__PURE__ */ e(me, {
|
|
368
369
|
primaryButton: f,
|
|
369
370
|
link: x
|
|
370
371
|
})
|
|
371
372
|
})
|
|
372
373
|
]
|
|
373
374
|
});
|
|
374
|
-
},
|
|
375
|
-
var { media: a, asset: r, headline: t, pretitle:
|
|
375
|
+
}, Pa = /*#__PURE__*/ B.forwardRef((_param, D)=>{
|
|
376
|
+
var { media: a, asset: r, headline: t, pretitle: i, pretitleLinesMax: o, subtitle: d, subtitleLinesMax: l, title: n, titleAs: m = "h3", titleLinesMax: c, description: p, descriptionLinesMax: h, extra: u, actions: f, button: x, buttonLink: b, dataAttributes: C, "aria-label": N, onClose: S, closeButtonLabel: T } = _param, y = _object_without_properties(_param, [
|
|
376
377
|
"media",
|
|
377
378
|
"asset",
|
|
378
379
|
"headline",
|
|
@@ -394,96 +395,86 @@ const M = ()=>{
|
|
|
394
395
|
"onClose",
|
|
395
396
|
"closeButtonLabel"
|
|
396
397
|
]);
|
|
397
|
-
const R = !!(y.href || y.to || y.onPress), { text: z, ref:
|
|
398
|
-
i,
|
|
399
|
-
z,
|
|
398
|
+
const R = !!(y.href || y.to || y.onPress), { text: z, ref: W } = M(), { text: j, ref: w } = M(), I = N || [
|
|
400
399
|
n,
|
|
400
|
+
z,
|
|
401
|
+
i,
|
|
401
402
|
d,
|
|
402
403
|
p,
|
|
403
|
-
|
|
404
|
+
j
|
|
404
405
|
].filter(Boolean).join(" ");
|
|
405
|
-
return /* @__PURE__ */ s(
|
|
406
|
+
return /* @__PURE__ */ s(_, {
|
|
406
407
|
dataAttributes: _object_spread({
|
|
407
408
|
"component-name": "MediaCard"
|
|
408
409
|
}, C),
|
|
409
410
|
ref: D,
|
|
410
|
-
"aria-label": R ? void 0 :
|
|
411
|
-
className:
|
|
411
|
+
"aria-label": R ? void 0 : N,
|
|
412
|
+
className: L,
|
|
412
413
|
children: [
|
|
413
|
-
/* @__PURE__ */ e(
|
|
414
|
-
className:
|
|
414
|
+
/* @__PURE__ */ e(he, {
|
|
415
|
+
className: Z,
|
|
415
416
|
width: "100%",
|
|
416
417
|
height: "100%",
|
|
417
418
|
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
418
419
|
maybe: !0
|
|
419
420
|
}, y), {
|
|
420
|
-
className:
|
|
421
|
-
"aria-label": R ?
|
|
421
|
+
className: X,
|
|
422
|
+
"aria-label": R ? I : void 0,
|
|
422
423
|
children: [
|
|
423
424
|
R && /* @__PURE__ */ e("div", {
|
|
424
|
-
className:
|
|
425
|
+
className: Ke
|
|
425
426
|
}),
|
|
426
427
|
/* @__PURE__ */ s("div", {
|
|
427
428
|
className: ve,
|
|
428
429
|
children: [
|
|
429
430
|
/* @__PURE__ */ e("div", {
|
|
430
|
-
style:
|
|
431
|
-
[
|
|
431
|
+
style: G({
|
|
432
|
+
[H.mediaBorderRadius]: "0px"
|
|
432
433
|
}),
|
|
433
434
|
children: a
|
|
434
435
|
}),
|
|
435
436
|
/* @__PURE__ */ e("div", {
|
|
436
|
-
className:
|
|
437
|
-
children: /* @__PURE__ */ e(
|
|
437
|
+
className: Qe,
|
|
438
|
+
children: /* @__PURE__ */ e(ye, {
|
|
438
439
|
headline: t,
|
|
439
|
-
headlineRef:
|
|
440
|
-
pretitle:
|
|
440
|
+
headlineRef: W,
|
|
441
|
+
pretitle: i,
|
|
441
442
|
pretitleLinesMax: o,
|
|
442
|
-
title:
|
|
443
|
-
titleAs:
|
|
443
|
+
title: n,
|
|
444
|
+
titleAs: m,
|
|
444
445
|
titleLinesMax: c,
|
|
445
446
|
subtitle: d,
|
|
446
447
|
subtitleLinesMax: l,
|
|
447
448
|
description: p,
|
|
448
|
-
descriptionLinesMax:
|
|
449
|
+
descriptionLinesMax: h,
|
|
449
450
|
extra: u,
|
|
450
451
|
extraRef: w,
|
|
451
452
|
button: x,
|
|
452
453
|
buttonLink: b
|
|
453
454
|
})
|
|
454
455
|
}),
|
|
455
|
-
r && /* @__PURE__ */ e(
|
|
456
|
-
className:
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
paddingTop: {
|
|
462
|
-
mobile: 16,
|
|
463
|
-
desktop: 24
|
|
464
|
-
},
|
|
465
|
-
children: /* @__PURE__ */ e("div", {
|
|
466
|
-
style: L({
|
|
467
|
-
[X.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
468
|
-
}),
|
|
469
|
-
children: r
|
|
470
|
-
})
|
|
456
|
+
r && /* @__PURE__ */ e("div", {
|
|
457
|
+
className: Ne,
|
|
458
|
+
style: G({
|
|
459
|
+
[H.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
460
|
+
}),
|
|
461
|
+
children: r
|
|
471
462
|
})
|
|
472
463
|
]
|
|
473
464
|
})
|
|
474
465
|
]
|
|
475
466
|
}))
|
|
476
467
|
}),
|
|
477
|
-
/* @__PURE__ */ e(
|
|
468
|
+
/* @__PURE__ */ e(P, {
|
|
478
469
|
onClose: S,
|
|
479
|
-
closeButtonLabel:
|
|
470
|
+
closeButtonLabel: T,
|
|
480
471
|
actions: f,
|
|
481
472
|
variant: "media"
|
|
482
473
|
})
|
|
483
474
|
]
|
|
484
475
|
});
|
|
485
|
-
}),
|
|
486
|
-
var { media: a, asset: r, headline: t, pretitle:
|
|
476
|
+
}), er = /*#__PURE__*/ B.forwardRef((_param, D)=>{
|
|
477
|
+
var { media: a, asset: r, headline: t, pretitle: i, pretitleLinesMax: o, subtitle: d, subtitleLinesMax: l, title: n, titleAs: m = "h3", titleLinesMax: c, description: p, descriptionLinesMax: h, extra: u, actions: f, button: x, buttonLink: b, dataAttributes: C, "aria-label": N, onClose: S, closeButtonLabel: T } = _param, y = _object_without_properties(_param, [
|
|
487
478
|
"media",
|
|
488
479
|
"asset",
|
|
489
480
|
"headline",
|
|
@@ -505,27 +496,27 @@ const M = ()=>{
|
|
|
505
496
|
"onClose",
|
|
506
497
|
"closeButtonLabel"
|
|
507
498
|
]);
|
|
508
|
-
const R = !!(y.href || y.to || y.onPress), z = a && a.type === ue && a.props.circular, { text:
|
|
509
|
-
i,
|
|
510
|
-
H,
|
|
499
|
+
const R = !!(y.href || y.to || y.onPress), z = a && a.type === ue && a.props.circular, { text: W, ref: j } = M(), { text: w, ref: I } = M(), k = N || [
|
|
511
500
|
n,
|
|
501
|
+
W,
|
|
502
|
+
i,
|
|
512
503
|
d,
|
|
513
504
|
p,
|
|
514
505
|
w
|
|
515
506
|
].filter(Boolean).join(" ");
|
|
516
|
-
return /* @__PURE__ */ s(
|
|
507
|
+
return /* @__PURE__ */ s(_, {
|
|
517
508
|
ref: D,
|
|
518
509
|
dataAttributes: _object_spread({
|
|
519
510
|
"component-name": "NakedCard"
|
|
520
511
|
}, C),
|
|
521
|
-
"aria-label": R ? void 0 :
|
|
522
|
-
className: R ?
|
|
512
|
+
"aria-label": R ? void 0 : N,
|
|
513
|
+
className: R ? L : void 0,
|
|
523
514
|
children: [
|
|
524
515
|
/* @__PURE__ */ e(F, _object_spread_props(_object_spread({
|
|
525
516
|
maybe: !0
|
|
526
517
|
}, y), {
|
|
527
|
-
className:
|
|
528
|
-
"aria-label": R ?
|
|
518
|
+
className: X,
|
|
519
|
+
"aria-label": R ? k : void 0,
|
|
529
520
|
children: /* @__PURE__ */ s("div", {
|
|
530
521
|
className: ve,
|
|
531
522
|
children: [
|
|
@@ -535,63 +526,53 @@ const M = ()=>{
|
|
|
535
526
|
},
|
|
536
527
|
children: [
|
|
537
528
|
R && /* @__PURE__ */ e("div", {
|
|
538
|
-
className:
|
|
539
|
-
[
|
|
529
|
+
className: K(Te, {
|
|
530
|
+
[be]: z
|
|
540
531
|
})
|
|
541
532
|
}),
|
|
542
533
|
a
|
|
543
534
|
]
|
|
544
535
|
}),
|
|
545
536
|
/* @__PURE__ */ e("div", {
|
|
546
|
-
className:
|
|
547
|
-
children: /* @__PURE__ */ e(
|
|
537
|
+
className: Be,
|
|
538
|
+
children: /* @__PURE__ */ e(ye, {
|
|
548
539
|
headline: t,
|
|
549
|
-
headlineRef:
|
|
550
|
-
pretitle:
|
|
540
|
+
headlineRef: j,
|
|
541
|
+
pretitle: i,
|
|
551
542
|
pretitleLinesMax: o,
|
|
552
|
-
title:
|
|
553
|
-
titleAs:
|
|
543
|
+
title: n,
|
|
544
|
+
titleAs: m,
|
|
554
545
|
titleLinesMax: c,
|
|
555
546
|
subtitle: d,
|
|
556
547
|
subtitleLinesMax: l,
|
|
557
548
|
description: p,
|
|
558
|
-
descriptionLinesMax:
|
|
549
|
+
descriptionLinesMax: h,
|
|
559
550
|
extra: u,
|
|
560
|
-
extraRef:
|
|
551
|
+
extraRef: I,
|
|
561
552
|
button: x,
|
|
562
553
|
buttonLink: b
|
|
563
554
|
})
|
|
564
555
|
}),
|
|
565
|
-
r && /* @__PURE__ */ e(
|
|
566
|
-
className:
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
paddingTop: {
|
|
572
|
-
mobile: 16,
|
|
573
|
-
desktop: 24
|
|
574
|
-
},
|
|
575
|
-
children: /* @__PURE__ */ e("div", {
|
|
576
|
-
style: L({
|
|
577
|
-
[X.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
578
|
-
}),
|
|
579
|
-
children: r
|
|
580
|
-
})
|
|
556
|
+
r && /* @__PURE__ */ e("div", {
|
|
557
|
+
className: Ne,
|
|
558
|
+
style: G({
|
|
559
|
+
[H.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
560
|
+
}),
|
|
561
|
+
children: r
|
|
581
562
|
})
|
|
582
563
|
]
|
|
583
564
|
})
|
|
584
565
|
})),
|
|
585
|
-
/* @__PURE__ */ e(
|
|
566
|
+
/* @__PURE__ */ e(P, {
|
|
586
567
|
onClose: S,
|
|
587
|
-
closeButtonLabel:
|
|
568
|
+
closeButtonLabel: T,
|
|
588
569
|
actions: f,
|
|
589
570
|
variant: "media"
|
|
590
571
|
})
|
|
591
572
|
]
|
|
592
573
|
});
|
|
593
|
-
}),
|
|
594
|
-
var { media: a, title: r, titleAs: t = "h3", titleLinesMax:
|
|
574
|
+
}), ar = /*#__PURE__*/ B.forwardRef((_param, u)=>{
|
|
575
|
+
var { media: a, title: r, titleAs: t = "h3", titleLinesMax: i, subtitle: o, subtitleLinesMax: d, description: l, descriptionLinesMax: n, extra: m, dataAttributes: c, "aria-label": p } = _param, h = _object_without_properties(_param, [
|
|
595
576
|
"media",
|
|
596
577
|
"title",
|
|
597
578
|
"titleAs",
|
|
@@ -604,23 +585,23 @@ const M = ()=>{
|
|
|
604
585
|
"dataAttributes",
|
|
605
586
|
"aria-label"
|
|
606
587
|
]);
|
|
607
|
-
const f = !!(
|
|
588
|
+
const f = !!(h.href || h.to || h.onPress), x = a && a.type === ue && a.props.circular, { textPresets: b } = Q(), { text: C, ref: N } = M(), S = p || [
|
|
608
589
|
r,
|
|
609
590
|
o,
|
|
610
591
|
l,
|
|
611
592
|
C
|
|
612
593
|
].filter(Boolean).join(" ");
|
|
613
|
-
return /* @__PURE__ */ e(
|
|
594
|
+
return /* @__PURE__ */ e(_, {
|
|
614
595
|
ref: u,
|
|
615
596
|
dataAttributes: _object_spread({
|
|
616
597
|
"component-name": "SmallNakedCard"
|
|
617
598
|
}, c),
|
|
618
599
|
"aria-label": f ? void 0 : p,
|
|
619
|
-
className: f ?
|
|
600
|
+
className: f ? L : void 0,
|
|
620
601
|
children: /* @__PURE__ */ e(F, _object_spread_props(_object_spread({
|
|
621
602
|
maybe: !0
|
|
622
|
-
},
|
|
623
|
-
className:
|
|
603
|
+
}, h), {
|
|
604
|
+
className: X,
|
|
624
605
|
"aria-label": f ? S : void 0,
|
|
625
606
|
children: /* @__PURE__ */ s("div", {
|
|
626
607
|
className: ve,
|
|
@@ -631,36 +612,36 @@ const M = ()=>{
|
|
|
631
612
|
},
|
|
632
613
|
children: [
|
|
633
614
|
f && /* @__PURE__ */ e("div", {
|
|
634
|
-
className:
|
|
635
|
-
[
|
|
615
|
+
className: K(Te, {
|
|
616
|
+
[be]: x
|
|
636
617
|
})
|
|
637
618
|
}),
|
|
638
619
|
a
|
|
639
620
|
]
|
|
640
621
|
}),
|
|
641
622
|
/* @__PURE__ */ s("div", {
|
|
642
|
-
className:
|
|
623
|
+
className: Be,
|
|
643
624
|
children: [
|
|
644
625
|
/* @__PURE__ */ e("div", {
|
|
645
|
-
children: /* @__PURE__ */ s(
|
|
626
|
+
children: /* @__PURE__ */ s(te, {
|
|
646
627
|
space: 4,
|
|
647
628
|
children: [
|
|
648
|
-
r && /* @__PURE__ */ e(
|
|
649
|
-
truncate:
|
|
629
|
+
r && /* @__PURE__ */ e(ne, _object_spread_props(_object_spread({}, ge), {
|
|
630
|
+
truncate: i,
|
|
650
631
|
weight: b.cardTitle.weight,
|
|
651
632
|
as: t,
|
|
652
633
|
hyphens: "auto",
|
|
653
634
|
children: r
|
|
654
635
|
})),
|
|
655
|
-
o && /* @__PURE__ */ e(
|
|
636
|
+
o && /* @__PURE__ */ e(O, {
|
|
656
637
|
truncate: d,
|
|
657
638
|
regular: !0,
|
|
658
639
|
as: "p",
|
|
659
640
|
hyphens: "auto",
|
|
660
641
|
children: o
|
|
661
642
|
}),
|
|
662
|
-
l && /* @__PURE__ */ e(
|
|
663
|
-
truncate:
|
|
643
|
+
l && /* @__PURE__ */ e(O, {
|
|
644
|
+
truncate: n,
|
|
664
645
|
regular: !0,
|
|
665
646
|
as: "p",
|
|
666
647
|
color: v.colors.textSecondary,
|
|
@@ -670,9 +651,9 @@ const M = ()=>{
|
|
|
670
651
|
]
|
|
671
652
|
})
|
|
672
653
|
}),
|
|
673
|
-
|
|
674
|
-
ref:
|
|
675
|
-
children:
|
|
654
|
+
m && /* @__PURE__ */ e("div", {
|
|
655
|
+
ref: N,
|
|
656
|
+
children: m
|
|
676
657
|
})
|
|
677
658
|
]
|
|
678
659
|
})
|
|
@@ -680,8 +661,8 @@ const M = ()=>{
|
|
|
680
661
|
})
|
|
681
662
|
}))
|
|
682
663
|
});
|
|
683
|
-
}),
|
|
684
|
-
var { asset: a, headline: r, pretitle: t, pretitleLinesMax:
|
|
664
|
+
}), rr = /*#__PURE__*/ B.forwardRef((_param, D)=>{
|
|
665
|
+
var { asset: a, headline: r, pretitle: t, pretitleLinesMax: i, title: o, titleAs: d = "h3", titleLinesMax: l, subtitle: n, subtitleLinesMax: m, description: c, descriptionLinesMax: p, extra: h, actions: u, button: f, buttonLink: x, dataAttributes: b, "aria-label": C, onClose: N, closeButtonLabel: S, aspectRatio: T } = _param, y = _object_without_properties(_param, [
|
|
685
666
|
"asset",
|
|
686
667
|
"headline",
|
|
687
668
|
"pretitle",
|
|
@@ -703,80 +684,80 @@ const M = ()=>{
|
|
|
703
684
|
"closeButtonLabel",
|
|
704
685
|
"aspectRatio"
|
|
705
686
|
]);
|
|
706
|
-
const R = !!a || !!r, z = !!(y.href || y.to || y.onPress), { text:
|
|
687
|
+
const R = !!a || !!r, z = !!(y.href || y.to || y.onPress), { text: W, ref: j } = M(), { text: w, ref: I } = M(), k = je(u, N), g = C || [
|
|
707
688
|
o,
|
|
708
|
-
|
|
689
|
+
W,
|
|
709
690
|
t,
|
|
710
691
|
c,
|
|
711
692
|
w
|
|
712
693
|
].filter(Boolean).join(" ");
|
|
713
|
-
return /* @__PURE__ */ s(
|
|
694
|
+
return /* @__PURE__ */ s(_, {
|
|
714
695
|
dataAttributes: _object_spread({
|
|
715
696
|
"component-name": "DataCard"
|
|
716
697
|
}, b),
|
|
717
698
|
ref: D,
|
|
718
699
|
"aria-label": z ? void 0 : C,
|
|
719
|
-
className:
|
|
720
|
-
aspectRatio:
|
|
700
|
+
className: L,
|
|
701
|
+
aspectRatio: T,
|
|
721
702
|
children: [
|
|
722
|
-
/* @__PURE__ */ e(
|
|
723
|
-
className:
|
|
703
|
+
/* @__PURE__ */ e(he, {
|
|
704
|
+
className: Z,
|
|
724
705
|
width: "100%",
|
|
725
706
|
minHeight: "100%",
|
|
726
707
|
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
727
708
|
maybe: !0
|
|
728
709
|
}, y), {
|
|
729
|
-
className:
|
|
710
|
+
className: X,
|
|
730
711
|
"aria-label": z ? g : void 0,
|
|
731
712
|
children: [
|
|
732
713
|
z && /* @__PURE__ */ e("div", {
|
|
733
|
-
className:
|
|
714
|
+
className: ie
|
|
734
715
|
}),
|
|
735
716
|
/* @__PURE__ */ s("div", {
|
|
736
|
-
className:
|
|
717
|
+
className: Ue,
|
|
737
718
|
children: [
|
|
738
|
-
/* @__PURE__ */ s(
|
|
719
|
+
/* @__PURE__ */ s(Oe, {
|
|
739
720
|
space: 0,
|
|
740
721
|
children: [
|
|
741
|
-
/* @__PURE__ */ s(
|
|
722
|
+
/* @__PURE__ */ s(te, {
|
|
742
723
|
space: 16,
|
|
743
724
|
children: [
|
|
744
725
|
a && /* @__PURE__ */ e("div", {
|
|
745
|
-
style:
|
|
746
|
-
[
|
|
726
|
+
style: G({
|
|
727
|
+
[H.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
747
728
|
}),
|
|
748
729
|
children: a
|
|
749
730
|
}),
|
|
750
|
-
/* @__PURE__ */ e(
|
|
731
|
+
/* @__PURE__ */ e(ye, {
|
|
751
732
|
headline: r,
|
|
752
|
-
headlineRef:
|
|
733
|
+
headlineRef: j,
|
|
753
734
|
pretitle: t,
|
|
754
|
-
pretitleLinesMax:
|
|
735
|
+
pretitleLinesMax: i,
|
|
755
736
|
title: o,
|
|
756
737
|
titleAs: d,
|
|
757
738
|
titleLinesMax: l,
|
|
758
|
-
subtitle:
|
|
759
|
-
subtitleLinesMax:
|
|
739
|
+
subtitle: n,
|
|
740
|
+
subtitleLinesMax: m,
|
|
760
741
|
description: c,
|
|
761
742
|
descriptionLinesMax: p
|
|
762
743
|
})
|
|
763
744
|
]
|
|
764
745
|
}),
|
|
765
746
|
!R && /* @__PURE__ */ e("div", {
|
|
766
|
-
style:
|
|
767
|
-
[
|
|
747
|
+
style: G({
|
|
748
|
+
[Re.topActionsCount]: String(k.length)
|
|
768
749
|
}),
|
|
769
|
-
className:
|
|
750
|
+
className: Ye
|
|
770
751
|
})
|
|
771
752
|
]
|
|
772
753
|
}),
|
|
773
|
-
|
|
774
|
-
ref:
|
|
775
|
-
children:
|
|
754
|
+
h && /* @__PURE__ */ e("div", {
|
|
755
|
+
ref: I,
|
|
756
|
+
children: h
|
|
776
757
|
}),
|
|
777
758
|
(f || x) && /* @__PURE__ */ e("div", {
|
|
778
|
-
className:
|
|
779
|
-
children: /* @__PURE__ */ e(
|
|
759
|
+
className: Se,
|
|
760
|
+
children: /* @__PURE__ */ e(me, {
|
|
780
761
|
primaryButton: f,
|
|
781
762
|
link: x
|
|
782
763
|
})
|
|
@@ -786,16 +767,16 @@ const M = ()=>{
|
|
|
786
767
|
]
|
|
787
768
|
}))
|
|
788
769
|
}),
|
|
789
|
-
/* @__PURE__ */ e(
|
|
790
|
-
onClose:
|
|
770
|
+
/* @__PURE__ */ e(P, {
|
|
771
|
+
onClose: N,
|
|
791
772
|
closeButtonLabel: S,
|
|
792
773
|
actions: u,
|
|
793
774
|
variant: "default"
|
|
794
775
|
})
|
|
795
776
|
]
|
|
796
777
|
});
|
|
797
|
-
}),
|
|
798
|
-
var { asset: a, title: r, titleAs: t = "h3", titleLinesMax:
|
|
778
|
+
}), tr = /*#__PURE__*/ B.forwardRef((_param, x)=>{
|
|
779
|
+
var { asset: a, title: r, titleAs: t = "h3", titleLinesMax: i, subtitle: o, subtitleLinesMax: d, description: l, descriptionLinesMax: n, dataAttributes: m, "aria-label": c, extra: p, isInverse: h = !1, aspectRatio: u } = _param, f = _object_without_properties(_param, [
|
|
799
780
|
"asset",
|
|
800
781
|
"title",
|
|
801
782
|
"titleAs",
|
|
@@ -810,59 +791,59 @@ const M = ()=>{
|
|
|
810
791
|
"isInverse",
|
|
811
792
|
"aspectRatio"
|
|
812
793
|
]);
|
|
813
|
-
const { textPresets: b } = Q(), C = !!(f.href || f.to || f.onPress),
|
|
794
|
+
const { textPresets: b } = Q(), C = !!(f.href || f.to || f.onPress), N = h ? fe : ie, { text: S, ref: T } = M(), y = c || [
|
|
814
795
|
r,
|
|
815
796
|
o,
|
|
816
797
|
l,
|
|
817
798
|
S
|
|
818
799
|
].filter(Boolean).join(" ");
|
|
819
|
-
return /* @__PURE__ */ e(
|
|
800
|
+
return /* @__PURE__ */ e(_, {
|
|
820
801
|
dataAttributes: _object_spread({
|
|
821
802
|
"component-name": "SnapCard"
|
|
822
|
-
},
|
|
803
|
+
}, m),
|
|
823
804
|
ref: x,
|
|
824
|
-
className:
|
|
805
|
+
className: L,
|
|
825
806
|
aspectRatio: u,
|
|
826
807
|
"aria-label": C ? void 0 : c,
|
|
827
|
-
children: /* @__PURE__ */ e(
|
|
828
|
-
className:
|
|
829
|
-
isInverse:
|
|
808
|
+
children: /* @__PURE__ */ e(he, {
|
|
809
|
+
className: Z,
|
|
810
|
+
isInverse: h,
|
|
830
811
|
width: "100%",
|
|
831
812
|
minHeight: "100%",
|
|
832
813
|
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
833
814
|
maybe: !0
|
|
834
815
|
}, f), {
|
|
835
|
-
className:
|
|
816
|
+
className: X,
|
|
836
817
|
"aria-label": C ? y : void 0,
|
|
837
818
|
children: [
|
|
838
819
|
C && /* @__PURE__ */ e("div", {
|
|
839
|
-
className:
|
|
820
|
+
className: N
|
|
840
821
|
}),
|
|
841
822
|
/* @__PURE__ */ s("section", {
|
|
842
|
-
className:
|
|
823
|
+
className: Ze,
|
|
843
824
|
children: [
|
|
844
825
|
/* @__PURE__ */ s("div", {
|
|
845
826
|
children: [
|
|
846
827
|
a && /* @__PURE__ */ e("div", {
|
|
847
|
-
style:
|
|
848
|
-
[
|
|
828
|
+
style: G({
|
|
829
|
+
[H.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
849
830
|
}),
|
|
850
|
-
children: /* @__PURE__ */ e(
|
|
831
|
+
children: /* @__PURE__ */ e(Y, {
|
|
851
832
|
paddingBottom: 16,
|
|
852
833
|
children: a
|
|
853
834
|
})
|
|
854
835
|
}),
|
|
855
|
-
/* @__PURE__ */ s(
|
|
836
|
+
/* @__PURE__ */ s(te, {
|
|
856
837
|
space: 4,
|
|
857
838
|
children: [
|
|
858
|
-
r && /* @__PURE__ */ e(
|
|
859
|
-
truncate:
|
|
839
|
+
r && /* @__PURE__ */ e(ne, _object_spread_props(_object_spread({}, ge), {
|
|
840
|
+
truncate: i,
|
|
860
841
|
weight: b.cardTitle.weight,
|
|
861
842
|
as: t,
|
|
862
843
|
hyphens: "auto",
|
|
863
844
|
children: r
|
|
864
845
|
})),
|
|
865
|
-
o && /* @__PURE__ */ e(
|
|
846
|
+
o && /* @__PURE__ */ e(O, {
|
|
866
847
|
truncate: d,
|
|
867
848
|
regular: !0,
|
|
868
849
|
color: v.colors.textPrimary,
|
|
@@ -870,8 +851,8 @@ const M = ()=>{
|
|
|
870
851
|
hyphens: "auto",
|
|
871
852
|
children: o
|
|
872
853
|
}),
|
|
873
|
-
l && /* @__PURE__ */ e(
|
|
874
|
-
truncate:
|
|
854
|
+
l && /* @__PURE__ */ e(O, {
|
|
855
|
+
truncate: n,
|
|
875
856
|
regular: !0,
|
|
876
857
|
color: v.colors.textSecondary,
|
|
877
858
|
as: "p",
|
|
@@ -883,7 +864,7 @@ const M = ()=>{
|
|
|
883
864
|
]
|
|
884
865
|
}),
|
|
885
866
|
p && /* @__PURE__ */ e("div", {
|
|
886
|
-
ref:
|
|
867
|
+
ref: T,
|
|
887
868
|
children: p
|
|
888
869
|
})
|
|
889
870
|
]
|
|
@@ -892,14 +873,14 @@ const M = ()=>{
|
|
|
892
873
|
}))
|
|
893
874
|
})
|
|
894
875
|
});
|
|
895
|
-
}),
|
|
896
|
-
let { title: a, headline: r, pretitle: t, subtitle:
|
|
876
|
+
}), We = (param)=>{
|
|
877
|
+
let { title: a, headline: r, pretitle: t, subtitle: i, description: o, extra: d, headlineRef: l, extraRef: n } = param;
|
|
897
878
|
return /* @__PURE__ */ s("div", {
|
|
898
|
-
className:
|
|
879
|
+
className: Me,
|
|
899
880
|
children: [
|
|
900
881
|
a && /* @__PURE__ */ e("div", {
|
|
901
882
|
style: {
|
|
902
|
-
paddingBottom:
|
|
883
|
+
paddingBottom: i || o ? 4 : 0
|
|
903
884
|
},
|
|
904
885
|
children: a
|
|
905
886
|
}),
|
|
@@ -919,28 +900,28 @@ const M = ()=>{
|
|
|
919
900
|
},
|
|
920
901
|
children: t
|
|
921
902
|
}),
|
|
922
|
-
|
|
903
|
+
i && /* @__PURE__ */ e("div", {
|
|
923
904
|
style: {
|
|
924
|
-
paddingBottom:
|
|
905
|
+
paddingBottom: i ? 4 : 0
|
|
925
906
|
},
|
|
926
|
-
children:
|
|
907
|
+
children: i
|
|
927
908
|
}),
|
|
928
909
|
o && // this is tricky, the padding between a headline and a description is 16px
|
|
929
910
|
// but the padding between a title|pretitle|subtitle and a description is 8px (4px + 4px)
|
|
930
911
|
/* @__PURE__ */ e("div", {
|
|
931
912
|
style: {
|
|
932
|
-
paddingTop: t || a ||
|
|
913
|
+
paddingTop: t || a || i ? 4 : 0
|
|
933
914
|
},
|
|
934
915
|
children: o
|
|
935
916
|
}),
|
|
936
917
|
d && /* @__PURE__ */ e("div", {
|
|
937
|
-
ref:
|
|
918
|
+
ref: n,
|
|
938
919
|
children: d
|
|
939
920
|
})
|
|
940
921
|
]
|
|
941
922
|
});
|
|
942
|
-
}, Ge = /*#__PURE__*/ B.forwardRef((_param,
|
|
943
|
-
var { isInverse: a, backgroundImage: r, backgroundVideo: t, backgroundVideoRef:
|
|
923
|
+
}, Ge = /*#__PURE__*/ B.forwardRef((_param, I)=>{
|
|
924
|
+
var { isInverse: a, backgroundImage: r, backgroundVideo: t, backgroundVideoRef: i, poster: o, asset: d, headline: l, pretitle: n, pretitleLinesMax: m, title: c, titleAs: p = "h3", titleLinesMax: h, description: u, descriptionLinesMax: f, extra: x, button: b, secondaryButton: C, onClose: N, closeButtonLabel: S, actions: T, buttonLink: y, dataAttributes: D, width: R, height: z, aspectRatio: W, "aria-label": j } = _param, w = _object_without_properties(_param, [
|
|
944
925
|
"isInverse",
|
|
945
926
|
"backgroundImage",
|
|
946
927
|
"backgroundVideo",
|
|
@@ -968,104 +949,103 @@ const M = ()=>{
|
|
|
968
949
|
"aspectRatio",
|
|
969
950
|
"aria-label"
|
|
970
951
|
]);
|
|
971
|
-
const
|
|
972
|
-
g && (
|
|
973
|
-
|
|
952
|
+
const k = r !== void 0, g = t !== void 0, A = Ve(r), { video: oe, videoAction: ee } = Ee(t, o, i), { text: ae, ref: de } = M(), { text: le, ref: se } = M();
|
|
953
|
+
g && (T = ee ? [
|
|
954
|
+
ee
|
|
974
955
|
] : []);
|
|
975
|
-
const
|
|
956
|
+
const re = ze(), V = k || g, E = V ? "0 0 16px rgba(0,0,0,0.4)" : void 0, $ = (T == null ? void 0 : T.length) || N, q = !!(w.href || w.to || w.onPress), ce = k || g ? De : a ? fe : ie, J = j || [
|
|
976
957
|
c,
|
|
977
|
-
|
|
978
|
-
|
|
958
|
+
ae,
|
|
959
|
+
n,
|
|
979
960
|
u,
|
|
980
961
|
le
|
|
981
962
|
].filter(Boolean).join(" ");
|
|
982
|
-
return /* @__PURE__ */ s(
|
|
963
|
+
return /* @__PURE__ */ s(_, {
|
|
983
964
|
dataAttributes: D,
|
|
984
|
-
ref:
|
|
965
|
+
ref: I,
|
|
985
966
|
width: R,
|
|
986
967
|
height: z,
|
|
987
|
-
aspectRatio:
|
|
988
|
-
"aria-label":
|
|
989
|
-
className:
|
|
968
|
+
aspectRatio: W,
|
|
969
|
+
"aria-label": q ? void 0 : j,
|
|
970
|
+
className: L,
|
|
990
971
|
children: [
|
|
991
|
-
/* @__PURE__ */ e(
|
|
972
|
+
/* @__PURE__ */ e(Ce, {
|
|
992
973
|
borderRadius: v.borderRadii.legacyDisplay,
|
|
993
|
-
className:
|
|
974
|
+
className: Z,
|
|
994
975
|
width: "100%",
|
|
995
976
|
minHeight: "100%",
|
|
996
977
|
isInverse: a,
|
|
997
|
-
background:
|
|
998
|
-
variant:
|
|
978
|
+
background: k || g ? re ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundContainer : void 0,
|
|
979
|
+
variant: k || g ? "media" : void 0,
|
|
999
980
|
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
1000
981
|
maybe: !0
|
|
1001
982
|
}, w), {
|
|
1002
|
-
className:
|
|
1003
|
-
"aria-label":
|
|
983
|
+
className: X,
|
|
984
|
+
"aria-label": q ? J : void 0,
|
|
1004
985
|
children: [
|
|
1005
|
-
|
|
986
|
+
q && /* @__PURE__ */ e("div", {
|
|
1006
987
|
className: ce
|
|
1007
988
|
}),
|
|
1008
989
|
/* @__PURE__ */ s("div", {
|
|
1009
|
-
className:
|
|
990
|
+
className: we,
|
|
1010
991
|
children: [
|
|
1011
|
-
(
|
|
1012
|
-
isInverse:
|
|
992
|
+
(k || g) && /* @__PURE__ */ e(pe, {
|
|
993
|
+
isInverse: re,
|
|
1013
994
|
children: /* @__PURE__ */ e("div", {
|
|
1014
|
-
className:
|
|
995
|
+
className: Ae,
|
|
1015
996
|
children: g ? oe : A
|
|
1016
997
|
})
|
|
1017
998
|
}),
|
|
1018
999
|
/* @__PURE__ */ s("div", {
|
|
1019
|
-
className:
|
|
1000
|
+
className: Ie,
|
|
1020
1001
|
style: {
|
|
1021
|
-
paddingTop:
|
|
1002
|
+
paddingTop: V && !d && !$ && !g ? 0 : 24
|
|
1022
1003
|
},
|
|
1023
1004
|
children: [
|
|
1024
1005
|
d ? /* @__PURE__ */ e("div", {
|
|
1025
|
-
style:
|
|
1026
|
-
[
|
|
1006
|
+
style: G({
|
|
1007
|
+
[H.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
1027
1008
|
}),
|
|
1028
|
-
children: /* @__PURE__ */ e(
|
|
1029
|
-
paddingBottom:
|
|
1009
|
+
children: /* @__PURE__ */ e(Y, {
|
|
1010
|
+
paddingBottom: V ? 0 : 40,
|
|
1030
1011
|
paddingX: 24,
|
|
1031
1012
|
children: d
|
|
1032
1013
|
})
|
|
1033
|
-
}) : /* @__PURE__ */ e(
|
|
1034
|
-
paddingBottom:
|
|
1014
|
+
}) : /* @__PURE__ */ e(Y, {
|
|
1015
|
+
paddingBottom: $ || g ? V ? 24 : 64 : 0
|
|
1035
1016
|
}),
|
|
1036
|
-
/* @__PURE__ */ e(
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
children: /* @__PURE__ */ s(re, {
|
|
1017
|
+
/* @__PURE__ */ e("div", {
|
|
1018
|
+
className: K(Pe, {
|
|
1019
|
+
[ke]: V
|
|
1020
|
+
}),
|
|
1021
|
+
children: /* @__PURE__ */ s(te, {
|
|
1042
1022
|
space: 24,
|
|
1043
1023
|
children: [
|
|
1044
|
-
/* @__PURE__ */ e(
|
|
1045
|
-
title: c ? /* @__PURE__ */ e(
|
|
1024
|
+
/* @__PURE__ */ e(We, {
|
|
1025
|
+
title: c ? /* @__PURE__ */ e($e, {
|
|
1046
1026
|
forceMobileSizes: !0,
|
|
1047
|
-
truncate:
|
|
1027
|
+
truncate: h,
|
|
1048
1028
|
as: p,
|
|
1049
|
-
textShadow:
|
|
1029
|
+
textShadow: E,
|
|
1050
1030
|
hyphens: "auto",
|
|
1051
1031
|
children: c
|
|
1052
1032
|
}) : void 0,
|
|
1053
1033
|
headline: l,
|
|
1054
|
-
pretitle:
|
|
1034
|
+
pretitle: n ? /* @__PURE__ */ e(O, {
|
|
1055
1035
|
forceMobileSizes: !0,
|
|
1056
|
-
truncate:
|
|
1036
|
+
truncate: m,
|
|
1057
1037
|
as: "div",
|
|
1058
1038
|
regular: !0,
|
|
1059
|
-
textShadow:
|
|
1060
|
-
children:
|
|
1039
|
+
textShadow: E,
|
|
1040
|
+
children: n
|
|
1061
1041
|
}) : void 0,
|
|
1062
|
-
description: u ? /* @__PURE__ */ e(
|
|
1042
|
+
description: u ? /* @__PURE__ */ e(qe, {
|
|
1063
1043
|
forceMobileSizes: !0,
|
|
1064
1044
|
truncate: f,
|
|
1065
1045
|
as: "p",
|
|
1066
1046
|
regular: !0,
|
|
1067
|
-
color:
|
|
1068
|
-
textShadow:
|
|
1047
|
+
color: V ? v.colors.textPrimary : v.colors.textSecondary,
|
|
1048
|
+
textShadow: E,
|
|
1069
1049
|
hyphens: "auto",
|
|
1070
1050
|
children: u
|
|
1071
1051
|
}) : void 0,
|
|
@@ -1073,7 +1053,7 @@ const M = ()=>{
|
|
|
1073
1053
|
headlineRef: de,
|
|
1074
1054
|
extraRef: se
|
|
1075
1055
|
}),
|
|
1076
|
-
(b || C || y) && /* @__PURE__ */ e(
|
|
1056
|
+
(b || C || y) && /* @__PURE__ */ e(me, {
|
|
1077
1057
|
primaryButton: b,
|
|
1078
1058
|
secondaryButton: C,
|
|
1079
1059
|
link: y
|
|
@@ -1088,15 +1068,15 @@ const M = ()=>{
|
|
|
1088
1068
|
]
|
|
1089
1069
|
}))
|
|
1090
1070
|
}),
|
|
1091
|
-
/* @__PURE__ */ e(
|
|
1092
|
-
onClose:
|
|
1071
|
+
/* @__PURE__ */ e(P, {
|
|
1072
|
+
onClose: N,
|
|
1093
1073
|
closeButtonLabel: S,
|
|
1094
|
-
actions:
|
|
1095
|
-
variant:
|
|
1074
|
+
actions: T,
|
|
1075
|
+
variant: k || g ? "media" : a ? "inverse" : "default"
|
|
1096
1076
|
})
|
|
1097
1077
|
]
|
|
1098
1078
|
});
|
|
1099
|
-
}),
|
|
1079
|
+
}), nr = /*#__PURE__*/ B.forwardRef((_param, t)=>{
|
|
1100
1080
|
var { dataAttributes: a } = _param, r = _object_without_properties(_param, [
|
|
1101
1081
|
"dataAttributes"
|
|
1102
1082
|
]);
|
|
@@ -1107,7 +1087,7 @@ const M = ()=>{
|
|
|
1107
1087
|
"component-name": "DisplayMediaCard"
|
|
1108
1088
|
}, a)
|
|
1109
1089
|
}));
|
|
1110
|
-
}),
|
|
1090
|
+
}), ir = /*#__PURE__*/ B.forwardRef((_param, t)=>{
|
|
1111
1091
|
var { dataAttributes: a } = _param, r = _object_without_properties(_param, [
|
|
1112
1092
|
"dataAttributes"
|
|
1113
1093
|
]);
|
|
@@ -1117,8 +1097,8 @@ const M = ()=>{
|
|
|
1117
1097
|
"component-name": "DisplayDataCard"
|
|
1118
1098
|
}, a)
|
|
1119
1099
|
}));
|
|
1120
|
-
}),
|
|
1121
|
-
var { dataAttributes: a, backgroundImage: r, backgroundVideo: t, poster:
|
|
1100
|
+
}), or = /*#__PURE__*/ B.forwardRef((_param, k)=>{
|
|
1101
|
+
var { dataAttributes: a, backgroundImage: r, backgroundVideo: t, poster: i, backgroundVideoRef: o, width: d, height: l, aspectRatio: n = "7:10", "aria-label": m, actions: c, onClose: p, closeButtonLabel: h, asset: u, headline: f, pretitle: x, pretitleLinesMax: b, title: C, titleAs: N = "h3", titleLinesMax: S, subtitle: T, subtitleLinesMax: y, description: D, descriptionLinesMax: R, extra: z, variant: W, isInverse: j, backgroundColor: w } = _param, I = _object_without_properties(_param, [
|
|
1122
1102
|
"dataAttributes",
|
|
1123
1103
|
"backgroundImage",
|
|
1124
1104
|
"backgroundVideo",
|
|
@@ -1147,36 +1127,36 @@ const M = ()=>{
|
|
|
1147
1127
|
"isInverse",
|
|
1148
1128
|
"backgroundColor"
|
|
1149
1129
|
]);
|
|
1150
|
-
const g = r !== void 0, A = t !== void 0, oe =
|
|
1151
|
-
A && (c =
|
|
1152
|
-
|
|
1130
|
+
const g = r !== void 0, A = t !== void 0, oe = Ve(r), { video: ee, videoAction: ae } = Ee(t, i, o), { text: de, ref: le } = M(), { text: se, ref: re } = M();
|
|
1131
|
+
A && (c = ae ? [
|
|
1132
|
+
ae
|
|
1153
1133
|
] : []);
|
|
1154
|
-
const
|
|
1134
|
+
const V = ze(), E = g || A, $ = E ? "0 0 16px rgba(0,0,0,0.4)" : void 0, q = (c == null ? void 0 : c.length) || p, { textPresets: ce } = Q(), J = !!(I.href || I.to || I.onPress), U = W || (j ? "inverse" : "default"), He = ()=>U === "media" || g || A ? V ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundContainer : w || ({
|
|
1155
1135
|
default: v.colors.backgroundContainer,
|
|
1156
|
-
inverse:
|
|
1136
|
+
inverse: V ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundBrand,
|
|
1157
1137
|
alternative: v.colors.backgroundAlternative
|
|
1158
|
-
})[U],
|
|
1138
|
+
})[U], Fe = g || A ? De : U === "inverse" ? fe : ie, Le = m || [
|
|
1159
1139
|
C,
|
|
1160
1140
|
de,
|
|
1161
1141
|
x,
|
|
1162
|
-
|
|
1142
|
+
T,
|
|
1163
1143
|
D,
|
|
1164
1144
|
se
|
|
1165
1145
|
].filter(Boolean).join(" ");
|
|
1166
|
-
return /* @__PURE__ */ s(
|
|
1146
|
+
return /* @__PURE__ */ s(_, {
|
|
1167
1147
|
width: d,
|
|
1168
1148
|
height: l,
|
|
1169
1149
|
dataAttributes: _object_spread({
|
|
1170
1150
|
"component-name": "PosterCard"
|
|
1171
1151
|
}, a),
|
|
1172
|
-
ref:
|
|
1173
|
-
aspectRatio:
|
|
1174
|
-
className:
|
|
1175
|
-
"aria-label":
|
|
1152
|
+
ref: k,
|
|
1153
|
+
aspectRatio: n,
|
|
1154
|
+
className: L,
|
|
1155
|
+
"aria-label": J ? void 0 : m,
|
|
1176
1156
|
children: [
|
|
1177
|
-
/* @__PURE__ */ e(
|
|
1157
|
+
/* @__PURE__ */ e(Ce, {
|
|
1178
1158
|
borderRadius: v.borderRadii.legacyDisplay,
|
|
1179
|
-
className:
|
|
1159
|
+
className: Z,
|
|
1180
1160
|
width: "100%",
|
|
1181
1161
|
minHeight: "100%",
|
|
1182
1162
|
isInverse: g || A || U === "inverse",
|
|
@@ -1184,90 +1164,82 @@ const M = ()=>{
|
|
|
1184
1164
|
variant: g || A ? "media" : void 0,
|
|
1185
1165
|
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
1186
1166
|
maybe: !0
|
|
1187
|
-
},
|
|
1188
|
-
className:
|
|
1189
|
-
"aria-label":
|
|
1167
|
+
}, I), {
|
|
1168
|
+
className: X,
|
|
1169
|
+
"aria-label": J ? Le : void 0,
|
|
1190
1170
|
children: [
|
|
1191
|
-
|
|
1192
|
-
className:
|
|
1171
|
+
J && /* @__PURE__ */ e("div", {
|
|
1172
|
+
className: Fe
|
|
1193
1173
|
}),
|
|
1194
1174
|
/* @__PURE__ */ s("div", {
|
|
1195
|
-
className:
|
|
1196
|
-
"aria-hidden":
|
|
1175
|
+
className: we,
|
|
1176
|
+
"aria-hidden": J,
|
|
1197
1177
|
children: [
|
|
1198
1178
|
(g || A) && /* @__PURE__ */ e(pe, {
|
|
1199
|
-
isInverse:
|
|
1179
|
+
isInverse: V,
|
|
1200
1180
|
children: /* @__PURE__ */ e("div", {
|
|
1201
|
-
className:
|
|
1202
|
-
children: A ?
|
|
1181
|
+
className: Ae,
|
|
1182
|
+
children: A ? ee : oe
|
|
1203
1183
|
})
|
|
1204
1184
|
}),
|
|
1205
|
-
/* @__PURE__ */ s(
|
|
1206
|
-
className:
|
|
1207
|
-
paddingTop: j && !u && !J && !A ? 0 : {
|
|
1208
|
-
mobile: u ? 16 : 24,
|
|
1209
|
-
desktop: 24
|
|
1210
|
-
},
|
|
1185
|
+
/* @__PURE__ */ s("div", {
|
|
1186
|
+
className: K(Ie, E && !u && !q && !A ? void 0 : u ? ea : aa),
|
|
1211
1187
|
children: [
|
|
1212
1188
|
u ? /* @__PURE__ */ e("div", {
|
|
1213
|
-
style:
|
|
1214
|
-
[
|
|
1189
|
+
style: G({
|
|
1190
|
+
[H.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
1215
1191
|
}),
|
|
1216
|
-
children: /* @__PURE__ */ e(
|
|
1217
|
-
paddingBottom:
|
|
1192
|
+
children: /* @__PURE__ */ e(Y, {
|
|
1193
|
+
paddingBottom: E ? 0 : 40,
|
|
1218
1194
|
paddingX: {
|
|
1219
1195
|
mobile: 16,
|
|
1220
1196
|
desktop: 24
|
|
1221
1197
|
},
|
|
1222
1198
|
children: u
|
|
1223
1199
|
})
|
|
1224
|
-
}) : /* @__PURE__ */ e(
|
|
1225
|
-
paddingBottom:
|
|
1200
|
+
}) : /* @__PURE__ */ e(Y, {
|
|
1201
|
+
paddingBottom: q || A ? E ? 24 : 64 : 0
|
|
1226
1202
|
}),
|
|
1227
|
-
/* @__PURE__ */ e(
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
paddingBottom: 24,
|
|
1234
|
-
className: j ? ke : void 0,
|
|
1235
|
-
children: /* @__PURE__ */ e(Ee, {
|
|
1236
|
-
title: C ? /* @__PURE__ */ e(te, _object_spread_props(_object_spread({}, ie.text4), {
|
|
1203
|
+
/* @__PURE__ */ e("div", {
|
|
1204
|
+
className: K(ra, {
|
|
1205
|
+
[ke]: E
|
|
1206
|
+
}),
|
|
1207
|
+
children: /* @__PURE__ */ e(We, {
|
|
1208
|
+
title: C ? /* @__PURE__ */ e(ne, _object_spread_props(_object_spread({}, xe), {
|
|
1237
1209
|
truncate: S,
|
|
1238
1210
|
weight: ce.cardTitle.weight,
|
|
1239
|
-
as:
|
|
1211
|
+
as: N,
|
|
1240
1212
|
children: C
|
|
1241
1213
|
})) : void 0,
|
|
1242
1214
|
headline: f,
|
|
1243
|
-
pretitle: x ? /* @__PURE__ */ e(
|
|
1215
|
+
pretitle: x ? /* @__PURE__ */ e(O, {
|
|
1244
1216
|
forceMobileSizes: !0,
|
|
1245
1217
|
truncate: b,
|
|
1246
1218
|
as: "div",
|
|
1247
1219
|
regular: !0,
|
|
1248
|
-
textShadow:
|
|
1220
|
+
textShadow: $,
|
|
1249
1221
|
children: x
|
|
1250
1222
|
}) : void 0,
|
|
1251
|
-
subtitle:
|
|
1223
|
+
subtitle: T ? /* @__PURE__ */ e(O, {
|
|
1252
1224
|
forceMobileSizes: !0,
|
|
1253
1225
|
truncate: y,
|
|
1254
1226
|
as: "div",
|
|
1255
1227
|
regular: !0,
|
|
1256
|
-
textShadow:
|
|
1257
|
-
children:
|
|
1228
|
+
textShadow: $,
|
|
1229
|
+
children: T
|
|
1258
1230
|
}) : void 0,
|
|
1259
|
-
description: D ? /* @__PURE__ */ e(
|
|
1231
|
+
description: D ? /* @__PURE__ */ e(O, {
|
|
1260
1232
|
forceMobileSizes: !0,
|
|
1261
1233
|
truncate: R,
|
|
1262
1234
|
as: "p",
|
|
1263
1235
|
regular: !0,
|
|
1264
|
-
textShadow:
|
|
1265
|
-
color:
|
|
1236
|
+
textShadow: $,
|
|
1237
|
+
color: E ? v.colors.textPrimary : v.colors.textSecondary,
|
|
1266
1238
|
children: D
|
|
1267
1239
|
}) : void 0,
|
|
1268
1240
|
headlineRef: le,
|
|
1269
1241
|
extra: z,
|
|
1270
|
-
extraRef:
|
|
1242
|
+
extraRef: re
|
|
1271
1243
|
})
|
|
1272
1244
|
})
|
|
1273
1245
|
]
|
|
@@ -1277,13 +1249,13 @@ const M = ()=>{
|
|
|
1277
1249
|
]
|
|
1278
1250
|
}))
|
|
1279
1251
|
}),
|
|
1280
|
-
/* @__PURE__ */ e(
|
|
1252
|
+
/* @__PURE__ */ e(P, {
|
|
1281
1253
|
onClose: p,
|
|
1282
|
-
closeButtonLabel:
|
|
1254
|
+
closeButtonLabel: h,
|
|
1283
1255
|
actions: c,
|
|
1284
1256
|
variant: g || A ? "media" : U === "inverse" ? "inverse" : "default"
|
|
1285
1257
|
})
|
|
1286
1258
|
]
|
|
1287
1259
|
});
|
|
1288
1260
|
});
|
|
1289
|
-
export {
|
|
1261
|
+
export { ga as CardActionIconButton, Ta as CardActionSpinner, P as CardActionsGroup, rr as DataCard, ir as DisplayDataCard, nr as DisplayMediaCard, Pa as MediaCard, er as NakedCard, or as PosterCard, ar as SmallNakedCard, tr as SnapCard, Ee as useVideoWithControls };
|