@telefonica/mistica 14.7.1 → 14.8.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.
Files changed (147) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/avatar.css-mistica.js +1 -1
  3. package/dist/badge.css-mistica.js +1 -1
  4. package/dist/boxed.js +17 -18
  5. package/dist/button-group.css-mistica.js +3 -3
  6. package/dist/button-layout.css-mistica.js +8 -8
  7. package/dist/button.css-mistica.js +19 -19
  8. package/dist/callout.css-mistica.js +1 -1
  9. package/dist/card.css-mistica.js +11 -8
  10. package/dist/card.css.d.ts +4 -1
  11. package/dist/card.d.ts +29 -7
  12. package/dist/card.js +423 -291
  13. package/dist/carousel.css-mistica.js +13 -13
  14. package/dist/checkbox.css-mistica.js +10 -10
  15. package/dist/chip.css-mistica.js +3 -3
  16. package/dist/circle.css-mistica.js +2 -2
  17. package/dist/credit-card-number-field.css-mistica.js +3 -3
  18. package/dist/cvv-field.css-mistica.js +3 -3
  19. package/dist/dialog.css-mistica.js +6 -6
  20. package/dist/double-field.css-mistica.js +4 -4
  21. package/dist/empty-state-card.css-mistica.js +2 -2
  22. package/dist/empty-state.css-mistica.js +2 -2
  23. package/dist/feedback.css-mistica.js +5 -5
  24. package/dist/fixed-footer-layout.css-mistica.js +2 -2
  25. package/dist/fixed-footer-layout.js +16 -16
  26. package/dist/hero.css-mistica.js +3 -3
  27. package/dist/highlighted-card.css-mistica.js +4 -4
  28. package/dist/hooks.d.ts +1 -0
  29. package/dist/hooks.js +11 -10
  30. package/dist/icon-button.css-mistica.js +1 -1
  31. package/dist/icon-button.js +24 -20
  32. package/dist/image.css-mistica.js +1 -1
  33. package/dist/image.d.ts +6 -0
  34. package/dist/image.js +67 -52
  35. package/dist/list.css-mistica.js +8 -8
  36. package/dist/loading-bar.css-mistica.js +6 -6
  37. package/dist/maybe-dismissable.css-mistica.js +3 -3
  38. package/dist/menu.css-mistica.js +2 -2
  39. package/dist/navigation-bar.css-mistica.js +14 -14
  40. package/dist/navigation-breadcrumbs.css-mistica.js +2 -2
  41. package/dist/package-version.js +1 -1
  42. package/dist/password-field.css-mistica.js +2 -2
  43. package/dist/popover.css-mistica.js +9 -9
  44. package/dist/progress-bar.css-mistica.js +1 -1
  45. package/dist/radio-button.css-mistica.js +9 -9
  46. package/dist/responsive-layout.css-mistica.js +6 -6
  47. package/dist/screen-reader-only.css-mistica.js +1 -1
  48. package/dist/select.css-mistica.js +12 -12
  49. package/dist/skeletons.css-mistica.js +3 -3
  50. package/dist/skins/blau.js +5 -3
  51. package/dist/skins/movistar-legacy.js +2 -0
  52. package/dist/skins/movistar.js +3 -1
  53. package/dist/skins/o2-classic.js +2 -0
  54. package/dist/skins/o2.js +3 -1
  55. package/dist/skins/skin-contract.css-mistica.js +202 -200
  56. package/dist/skins/skin-contract.css.d.ts +2 -0
  57. package/dist/skins/telefonica.js +4 -2
  58. package/dist/skins/{types.d.ts → types/colors.d.ts} +1 -47
  59. package/dist/skins/types/index.d.ts +48 -0
  60. package/dist/skins/vivo.js +3 -1
  61. package/dist/snackbar.css-mistica.js +5 -5
  62. package/dist/spinner.css-mistica.js +1 -1
  63. package/dist/spinner.js +40 -60
  64. package/dist/sprinkles.css-mistica.js +329 -323
  65. package/dist/stepper.css-mistica.js +8 -8
  66. package/dist/switch-component.css-mistica.js +22 -22
  67. package/dist/tabs.css-mistica.js +15 -15
  68. package/dist/tag.css-mistica.js +2 -2
  69. package/dist/text-field-base.css-mistica.js +5 -5
  70. package/dist/text-field-components.css-mistica.js +9 -9
  71. package/dist/text-link.css-mistica.js +5 -5
  72. package/dist/tooltip.css-mistica.js +7 -7
  73. package/dist/touchable.css-mistica.js +1 -1
  74. package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
  75. package/dist/video.css-mistica.js +1 -1
  76. package/dist/video.d.ts +11 -4
  77. package/dist/video.js +116 -37
  78. package/dist-es/avatar.css-mistica.js +1 -1
  79. package/dist-es/badge.css-mistica.js +1 -1
  80. package/dist-es/boxed.js +27 -28
  81. package/dist-es/button-group.css-mistica.js +2 -2
  82. package/dist-es/button-layout.css-mistica.js +6 -6
  83. package/dist-es/button.css-mistica.js +9 -9
  84. package/dist-es/callout.css-mistica.js +1 -1
  85. package/dist-es/card.css-mistica.js +2 -2
  86. package/dist-es/card.js +464 -332
  87. package/dist-es/carousel.css-mistica.js +2 -2
  88. package/dist-es/checkbox.css-mistica.js +6 -6
  89. package/dist-es/chip.css-mistica.js +3 -3
  90. package/dist-es/circle.css-mistica.js +2 -2
  91. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  92. package/dist-es/cvv-field.css-mistica.js +2 -2
  93. package/dist-es/dialog.css-mistica.js +5 -5
  94. package/dist-es/double-field.css-mistica.js +4 -4
  95. package/dist-es/empty-state-card.css-mistica.js +2 -2
  96. package/dist-es/empty-state.css-mistica.js +2 -2
  97. package/dist-es/feedback.css-mistica.js +2 -2
  98. package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
  99. package/dist-es/fixed-footer-layout.js +30 -30
  100. package/dist-es/hero.css-mistica.js +2 -2
  101. package/dist-es/highlighted-card.css-mistica.js +4 -4
  102. package/dist-es/hooks.js +8 -8
  103. package/dist-es/icon-button.css-mistica.js +1 -1
  104. package/dist-es/icon-button.js +27 -23
  105. package/dist-es/image.css-mistica.js +1 -1
  106. package/dist-es/image.js +82 -69
  107. package/dist-es/list.css-mistica.js +2 -2
  108. package/dist-es/loading-bar.css-mistica.js +2 -2
  109. package/dist-es/maybe-dismissable.css-mistica.js +2 -2
  110. package/dist-es/menu.css-mistica.js +2 -2
  111. package/dist-es/navigation-bar.css-mistica.js +11 -11
  112. package/dist-es/navigation-breadcrumbs.css-mistica.js +2 -2
  113. package/dist-es/package-version.js +1 -1
  114. package/dist-es/password-field.css-mistica.js +2 -2
  115. package/dist-es/popover.css-mistica.js +2 -2
  116. package/dist-es/progress-bar.css-mistica.js +1 -1
  117. package/dist-es/radio-button.css-mistica.js +6 -6
  118. package/dist-es/responsive-layout.css-mistica.js +5 -5
  119. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  120. package/dist-es/select.css-mistica.js +9 -9
  121. package/dist-es/skeletons.css-mistica.js +2 -2
  122. package/dist-es/skins/blau.js +5 -3
  123. package/dist-es/skins/movistar-legacy.js +2 -0
  124. package/dist-es/skins/movistar.js +3 -1
  125. package/dist-es/skins/o2-classic.js +2 -0
  126. package/dist-es/skins/o2.js +3 -1
  127. package/dist-es/skins/skin-contract.css-mistica.js +202 -200
  128. package/dist-es/skins/telefonica.js +4 -2
  129. package/dist-es/skins/vivo.js +3 -1
  130. package/dist-es/snackbar.css-mistica.js +2 -2
  131. package/dist-es/spinner.css-mistica.js +1 -1
  132. package/dist-es/spinner.js +68 -88
  133. package/dist-es/sprinkles.css-mistica.js +329 -323
  134. package/dist-es/stepper.css-mistica.js +2 -2
  135. package/dist-es/style.css +1 -1
  136. package/dist-es/switch-component.css-mistica.js +19 -19
  137. package/dist-es/tabs.css-mistica.js +10 -10
  138. package/dist-es/tag.css-mistica.js +2 -2
  139. package/dist-es/text-field-base.css-mistica.js +2 -2
  140. package/dist-es/text-field-components.css-mistica.js +2 -2
  141. package/dist-es/text-link.css-mistica.js +5 -5
  142. package/dist-es/tooltip.css-mistica.js +3 -3
  143. package/dist-es/touchable.css-mistica.js +1 -1
  144. package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
  145. package/dist-es/video.css-mistica.js +1 -1
  146. package/dist-es/video.js +127 -48
  147. package/package.json +2 -2
package/dist-es/card.js CHANGED
@@ -77,99 +77,178 @@ function _objectWithoutPropertiesLoose(source, excluded) {
77
77
  }
78
78
  return target;
79
79
  }
80
- import * as w from "react";
81
- import J from "./tag.js";
80
+ import * as C from "react";
81
+ import ce from "./tag.js";
82
82
  import f from "./stack.js";
83
- import N from "./box.js";
84
- import { Text2 as C, Text6 as K, Text3 as Q, Text as P } from "./text.js";
85
- import { Boxed as _, InternalBoxed as W } from "./boxed.js";
86
- import k from "./button-group.js";
87
- import { MediaBorderRadiusProvider as U } from "./image.js";
88
- import { BaseTouchable as V } from "./touchable.js";
89
- import { vars as S } from "./skins/skin-contract.css-mistica.js";
90
- import { boxed as D, mediaCard as Y, mediaCardContent as Z, dataCard as ee, actions as E, snapCardTouchableHover as re, snapCardTouchableHoverTransparent as ae, snapCard as ie, displayCard as X, displayCardGradient as j, cardActionIconButton as te, cardActionInverse as ne, cardAction as de } from "./card.css-mistica.js";
91
- import { useTheme as H } from "./hooks.js";
92
- import { sprinkles as z } from "./sprinkles.css-mistica.js";
93
- import oe from "./inline.js";
94
- import se from "./icon-button.js";
95
- import le from "./generated/mistica-icons/icon-close-regular.js";
83
+ import w from "./box.js";
84
+ import { Text2 as b, Text6 as he, Text3 as pe, Text as J } from "./text.js";
85
+ import { Boxed as j, InternalBoxed as K } from "./boxed.js";
86
+ import V from "./button-group.js";
87
+ import ue, { MediaBorderRadiusProvider as me } from "./image.js";
88
+ import { BaseTouchable as ge } from "./touchable.js";
89
+ import { vars as y } from "./skins/skin-contract.css-mistica.js";
90
+ import { boxed as P, mediaCard as fe, mediaCardContent as ve, dataCard as ye, actions as Q, snapCardTouchableHover as Ce, snapCardTouchableHoverTransparent as Te, snapCard as xe, videoAction as _, displayCardContainer as U, displayCardBackground as Y, displayCardContent as Z, displayCardGradient as $, cardActionIconButton as q, cardAction as Ie, cardActionInverse as Se } from "./card.css-mistica.js";
91
+ import { useTheme as G } from "./hooks.js";
92
+ import { sprinkles as X } from "./sprinkles.css-mistica.js";
93
+ import be from "./inline.js";
94
+ import Ne from "./icon-button.js";
95
+ import we from "./generated/mistica-icons/icon-close-regular.js";
96
+ import Ae from "./generated/mistica-icons/icon-pause-filled.js";
97
+ import Be from "./generated/mistica-icons/icon-play-filled.js";
98
+ import { combineRefs as Re } from "./utils/common.js";
99
+ import ze from "./spinner.js";
100
+ import De from "./video.js";
101
+ import { useIsInverseVariant as ee, ThemeVariant as re } from "./theme-variant-context.js";
96
102
  import { jsx as e, jsxs as t } from "./_virtual/jsx-runtime.js";
97
- const O = (param)=>/* @__PURE__ */ {
98
- let { actions: a , isInverse: r } = param;
99
- return e(oe, {
103
+ const ie = (param)=>/* @__PURE__ */ {
104
+ let { actions: r , isInverse: i } = param;
105
+ return e(be, {
100
106
  space: 0,
101
- children: a.map((param, o)=>/* @__PURE__ */ {
102
- let { onPress: i , label: n , Icon: c } = param;
103
- return e(se, {
107
+ children: r.map((param, a)=>{
108
+ let { onPress: n , label: s , Icon: l , iconSize: o = 20 , iconColor: p = y.colors.neutralHigh , iconBackground: c = Ie , iconBackgroundInverse: d = Se } = param;
109
+ return l ? /* @__PURE__ */ e(Ne, {
104
110
  size: 48,
105
- onPress: i,
106
- "aria-label": n,
107
- className: te,
111
+ onPress: n,
112
+ "aria-label": s,
113
+ className: q,
108
114
  style: {
109
115
  display: "flex"
110
116
  },
111
117
  children: /* @__PURE__ */ e("div", {
112
- className: r ? ne : de,
113
- children: /* @__PURE__ */ e(c, {
114
- color: S.colors.neutralHigh,
115
- size: 20
118
+ className: i ? d : c,
119
+ children: /* @__PURE__ */ e(l, {
120
+ color: p,
121
+ size: o
116
122
  })
117
123
  })
118
- }, o);
124
+ }, a) : /* @__PURE__ */ e("div", {
125
+ className: q
126
+ }, a);
119
127
  })
120
128
  });
121
- }, L = (a, r)=>{
122
- const { texts: i } = H(), n = a ? [
123
- ...a
129
+ }, ne = (r, i)=>{
130
+ const { texts: n } = G(), s = r ? [
131
+ ...r
124
132
  ] : [];
125
- return r && n.push({
126
- label: i.closeButtonLabel,
127
- onPress: r,
128
- Icon: le
129
- }), n;
130
- }, ce = {
133
+ return i && s.push({
134
+ label: n.closeButtonLabel,
135
+ onPress: i,
136
+ Icon: we
137
+ }), s;
138
+ }, Pe = {
131
139
  "1:1": "1",
132
140
  "16:9": "16 / 9",
133
141
  "7:10": "7 / 10",
134
142
  "9:10": "9 / 10",
135
143
  auto: "auto"
136
- }, G = (param)=>{
137
- let { children: a , width: r = "100%" , height: i = "100%" , minWidth: n , minHeight: c , aspectRatio: o , actions: d , onClose: h , isInverse: p , "aria-label": s } = param;
138
- const l = L(d, h), m = l.length > 0, u = o ? typeof o == "number" ? String(o) : ce[o] : void 0;
144
+ }, F = (param)=>{
145
+ let { children: r , width: i = "100%" , height: n = "100%" , minWidth: s , minHeight: l , aspectRatio: o , actions: p , onClose: c , isInverse: d , "aria-label": a } = param;
146
+ const h = ne(p, c), u = h.length > 0, m = o ? typeof o == "number" ? String(o) : Pe[o] : void 0;
139
147
  return /* @__PURE__ */ t("section", {
140
- "aria-label": s,
148
+ "aria-label": a,
141
149
  style: {
142
- width: r,
143
- height: i,
144
- minWidth: n,
145
- minHeight: c,
146
- aspectRatio: u,
150
+ width: i,
151
+ height: n,
152
+ minWidth: s,
153
+ minHeight: l,
154
+ aspectRatio: m,
147
155
  position: "relative"
148
156
  },
149
157
  children: [
150
- a,
151
- m && /* @__PURE__ */ e("div", {
158
+ r,
159
+ u && /* @__PURE__ */ e("div", {
152
160
  style: {
153
161
  position: "absolute",
154
162
  right: 8,
155
163
  top: 8,
156
164
  zIndex: 2
157
165
  },
158
- children: /* @__PURE__ */ e(O, {
159
- actions: l,
160
- isInverse: p
166
+ children: /* @__PURE__ */ e(ie, {
167
+ actions: h,
168
+ isInverse: d
161
169
  })
162
170
  })
163
171
  ]
164
172
  });
165
- }, $ = (param)=>{
166
- let { headline: a , pretitle: r , pretitleLinesMax: i , title: n , titleLinesMax: c , subtitle: o , subtitleLinesMax: d , description: h , descriptionLinesMax: p , extra: s , button: l , buttonLink: m } = param;
167
- const { textPresets: u } = H(), y = ()=>a ? typeof a == "string" ? /* @__PURE__ */ e(J, {
173
+ }, ae = (r)=>/* @__PURE__ */ e(ue, {
174
+ width: "100%",
175
+ height: "100%",
176
+ src: r != null ? r : "//:0"
177
+ }), Me = {
178
+ loading: {
179
+ showSpinner: "loadingTimeout",
180
+ play: "playing",
181
+ pause: "paused",
182
+ fail: "error"
183
+ },
184
+ loadingTimeout: {
185
+ play: "playing",
186
+ pause: "paused",
187
+ fail: "error",
188
+ reset: "loading"
189
+ },
190
+ playing: {
191
+ pause: "paused",
192
+ reset: "loading"
193
+ },
194
+ paused: {
195
+ play: "playing",
196
+ reset: "loading"
197
+ },
198
+ error: {
199
+ reset: "loading"
200
+ }
201
+ }, He = (r, i)=>Me[r][i] || r, oe = (r)=>{
202
+ switch(r){
203
+ case "playing":
204
+ return Ae;
205
+ case "paused":
206
+ case "loading":
207
+ return Be;
208
+ case "loadingTimeout":
209
+ return ze;
210
+ default:
211
+ return;
212
+ }
213
+ }, te = (r, i, n)=>{
214
+ const s = C.useRef(null), [l, o] = C.useReducer(He, "loading");
215
+ return C.useEffect(()=>{
216
+ var a;
217
+ const d = setTimeout(()=>o("showSpinner"), 2e3);
218
+ return (a = s.current) == null || a.load(), ()=>{
219
+ clearTimeout(d), o("reset");
220
+ };
221
+ }, [
222
+ r
223
+ ]), {
224
+ video: C.useMemo(()=>r ? /* @__PURE__ */ e(De, {
225
+ ref: Re(s, n),
226
+ src: r,
227
+ width: "100%",
228
+ height: "100%",
229
+ poster: i,
230
+ onError: ()=>o("fail"),
231
+ onPause: ()=>o("pause"),
232
+ onPlay: ()=>o("play")
233
+ }) : void 0, [
234
+ n,
235
+ r,
236
+ i
237
+ ]),
238
+ videoStatus: l,
239
+ onVideoControlPress: ()=>{
240
+ const d = s.current;
241
+ d && (l === "loading" ? o("showSpinner") : l === "paused" ? d.play() : l === "playing" && d.pause());
242
+ }
243
+ };
244
+ }, se = (param)=>{
245
+ let { headline: r , pretitle: i , pretitleLinesMax: n , title: s , titleLinesMax: l , subtitle: o , subtitleLinesMax: p , description: c , descriptionLinesMax: d , extra: a , button: h , buttonLink: u } = param;
246
+ const { textPresets: m } = G(), v = ()=>r ? typeof r == "string" ? /* @__PURE__ */ e(ce, {
168
247
  type: "promo",
169
- children: a
170
- }) : a : null;
248
+ children: r
249
+ }) : r : null;
171
250
  return /* @__PURE__ */ t("div", {
172
- className: z({
251
+ className: X({
173
252
  display: "flex",
174
253
  flex: 1,
175
254
  justifyContent: "space-between",
@@ -181,34 +260,34 @@ const O = (param)=>/* @__PURE__ */ {
181
260
  /* @__PURE__ */ t(f, {
182
261
  space: 8,
183
262
  children: [
184
- (a || r || n || o) && /* @__PURE__ */ e("header", {
263
+ (r || i || s || o) && /* @__PURE__ */ e("header", {
185
264
  children: /* @__PURE__ */ t(f, {
186
265
  space: 8,
187
266
  children: [
188
- y(),
267
+ v(),
189
268
  /* @__PURE__ */ t(f, {
190
269
  space: 4,
191
270
  children: [
192
- r && /* @__PURE__ */ e(C, {
193
- truncate: i,
271
+ i && /* @__PURE__ */ e(b, {
272
+ truncate: n,
194
273
  as: "div",
195
274
  regular: !0,
196
275
  hyphens: "auto",
197
- children: r
276
+ children: i
198
277
  }),
199
- /* @__PURE__ */ e(P, {
278
+ /* @__PURE__ */ e(J, {
200
279
  mobileSize: 18,
201
280
  mobileLineHeight: "24px",
202
281
  desktopSize: 20,
203
282
  desktopLineHeight: "28px",
204
- truncate: c,
205
- weight: u.cardTitle.weight,
283
+ truncate: l,
284
+ weight: m.cardTitle.weight,
206
285
  as: "h3",
207
286
  hyphens: "auto",
208
- children: n
287
+ children: s
209
288
  }),
210
- /* @__PURE__ */ e(C, {
211
- truncate: d,
289
+ /* @__PURE__ */ e(b, {
290
+ truncate: p,
212
291
  as: "div",
213
292
  regular: !0,
214
293
  hyphens: "auto",
@@ -219,150 +298,150 @@ const O = (param)=>/* @__PURE__ */ {
219
298
  ]
220
299
  })
221
300
  }),
222
- h && /* @__PURE__ */ e(C, {
223
- truncate: p,
301
+ c && /* @__PURE__ */ e(b, {
302
+ truncate: d,
224
303
  as: "p",
225
304
  regular: !0,
226
- color: S.colors.textSecondary,
305
+ color: y.colors.textSecondary,
227
306
  hyphens: "auto",
228
- children: h
307
+ children: c
229
308
  })
230
309
  ]
231
310
  }),
232
- s && /* @__PURE__ */ e("div", {
233
- children: s
311
+ a && /* @__PURE__ */ e("div", {
312
+ children: a
234
313
  })
235
314
  ]
236
315
  }),
237
- (l || m) && /* @__PURE__ */ e("div", {
238
- className: E,
239
- children: /* @__PURE__ */ e(k, {
240
- primaryButton: l,
241
- link: m
316
+ (h || u) && /* @__PURE__ */ e("div", {
317
+ className: Q,
318
+ children: /* @__PURE__ */ e(V, {
319
+ primaryButton: h,
320
+ link: u
242
321
  })
243
322
  })
244
323
  ]
245
324
  });
246
- }, De = /*#__PURE__*/ w.forwardRef((param, v)=>/* @__PURE__ */ {
247
- let { media: a , headline: r , pretitle: i , pretitleLinesMax: n , subtitle: c , subtitleLinesMax: o , title: d , titleLinesMax: h , description: p , descriptionLinesMax: s , extra: l , actions: m , button: u , buttonLink: y , dataAttributes: g , "aria-label": b , onClose: T } = param;
248
- return e(G, {
249
- onClose: T,
250
- actions: m,
251
- "aria-label": b,
325
+ }, or = /*#__PURE__*/ C.forwardRef((param, g)=>/* @__PURE__ */ {
326
+ let { media: r , headline: i , pretitle: n , pretitleLinesMax: s , subtitle: l , subtitleLinesMax: o , title: p , titleLinesMax: c , description: d , descriptionLinesMax: a , extra: h , actions: u , button: m , buttonLink: v , dataAttributes: I , "aria-label": T , onClose: x } = param;
327
+ return e(F, {
328
+ onClose: x,
329
+ actions: u,
330
+ "aria-label": T,
252
331
  isInverse: !0,
253
- children: /* @__PURE__ */ e(_, {
254
- className: D,
332
+ children: /* @__PURE__ */ e(j, {
333
+ className: P,
255
334
  dataAttributes: _objectSpread({
256
335
  "component-name": "MediaCard"
257
- }, g),
258
- ref: v,
336
+ }, I),
337
+ ref: g,
259
338
  width: "100%",
260
339
  height: "100%",
261
340
  children: /* @__PURE__ */ t("div", {
262
- className: Y,
341
+ className: fe,
263
342
  children: [
264
- /* @__PURE__ */ e(U, {
343
+ /* @__PURE__ */ e(me, {
265
344
  value: !1,
266
- children: a
345
+ children: r
267
346
  }),
268
347
  /* @__PURE__ */ e("div", {
269
- className: Z,
270
- children: /* @__PURE__ */ e($, {
271
- headline: r,
272
- pretitle: i,
273
- pretitleLinesMax: n,
274
- title: d,
275
- titleLinesMax: h,
276
- subtitle: c,
348
+ className: ve,
349
+ children: /* @__PURE__ */ e(se, {
350
+ headline: i,
351
+ pretitle: n,
352
+ pretitleLinesMax: s,
353
+ title: p,
354
+ titleLinesMax: c,
355
+ subtitle: l,
277
356
  subtitleLinesMax: o,
278
- description: p,
279
- descriptionLinesMax: s,
280
- extra: l,
281
- button: u,
282
- buttonLink: y
357
+ description: d,
358
+ descriptionLinesMax: a,
359
+ extra: h,
360
+ button: m,
361
+ buttonLink: v
283
362
  })
284
363
  })
285
364
  ]
286
365
  })
287
366
  })
288
367
  });
289
- }), He = /*#__PURE__*/ w.forwardRef((param, v)=>{
290
- let { icon: a , headline: r , pretitle: i , pretitleLinesMax: n , title: c , titleLinesMax: o , subtitle: d , subtitleLinesMax: h , description: p , descriptionLinesMax: s , extra: l , actions: m , button: u , buttonLink: y , dataAttributes: g , "aria-label": b , onClose: T } = param;
291
- const A = L(m, T), R = A.length > 0, B = !!a, I = {
368
+ }), tr = /*#__PURE__*/ C.forwardRef((param, g)=>{
369
+ let { icon: r , headline: i , pretitle: n , pretitleLinesMax: s , title: l , titleLinesMax: o , subtitle: p , subtitleLinesMax: c , description: d , descriptionLinesMax: a , extra: h , actions: u , button: m , buttonLink: v , dataAttributes: I , "aria-label": T , onClose: x } = param;
370
+ const N = ne(u, x), z = N.length > 0, A = !!r, D = {
292
371
  position: "absolute",
293
372
  top: 8,
294
373
  right: 8,
295
374
  zIndex: 2
296
- }, x = {
375
+ }, B = {
297
376
  marginRight: -8,
298
377
  marginTop: -16
299
378
  };
300
379
  return /* @__PURE__ */ e("section", {
301
- "aria-label": b,
380
+ "aria-label": T,
302
381
  style: {
303
382
  height: "100%",
304
383
  position: "relative"
305
384
  },
306
- children: /* @__PURE__ */ e(_, {
307
- className: D,
385
+ children: /* @__PURE__ */ e(j, {
386
+ className: P,
308
387
  dataAttributes: _objectSpread({
309
388
  "component-name": "DataCard"
310
- }, g),
311
- ref: v,
389
+ }, I),
390
+ ref: g,
312
391
  width: "100%",
313
392
  height: "100%",
314
393
  children: /* @__PURE__ */ t("div", {
315
- className: ee,
394
+ className: ye,
316
395
  children: [
317
396
  /* @__PURE__ */ t("div", {
318
- className: z({
397
+ className: X({
319
398
  display: "flex"
320
399
  }),
321
400
  children: [
322
401
  /* @__PURE__ */ t(f, {
323
402
  space: 16,
324
- className: z({
403
+ className: X({
325
404
  flex: 1
326
405
  }),
327
406
  children: [
328
- B ? a : null,
329
- /* @__PURE__ */ e($, {
330
- headline: r,
331
- pretitle: i,
332
- pretitleLinesMax: n,
333
- title: c,
407
+ A ? r : null,
408
+ /* @__PURE__ */ e(se, {
409
+ headline: i,
410
+ pretitle: n,
411
+ pretitleLinesMax: s,
412
+ title: l,
334
413
  titleLinesMax: o,
335
- subtitle: d,
336
- subtitleLinesMax: h,
337
- description: p,
338
- descriptionLinesMax: s
414
+ subtitle: p,
415
+ subtitleLinesMax: c,
416
+ description: d,
417
+ descriptionLinesMax: a
339
418
  })
340
419
  ]
341
420
  }),
342
- R && /* @__PURE__ */ e("div", {
343
- style: B ? I : x,
344
- children: /* @__PURE__ */ e(O, {
345
- actions: A
421
+ z && /* @__PURE__ */ e("div", {
422
+ style: A ? D : B,
423
+ children: /* @__PURE__ */ e(ie, {
424
+ actions: N
346
425
  })
347
426
  })
348
427
  ]
349
428
  }),
350
- l && /* @__PURE__ */ e("div", {
351
- children: l
429
+ h && /* @__PURE__ */ e("div", {
430
+ children: h
352
431
  }),
353
- (u || y) && /* @__PURE__ */ e("div", {
354
- className: E,
355
- children: /* @__PURE__ */ e(k, {
356
- primaryButton: u,
357
- link: y
432
+ (m || v) && /* @__PURE__ */ e("div", {
433
+ className: Q,
434
+ children: /* @__PURE__ */ e(V, {
435
+ primaryButton: m,
436
+ link: v
358
437
  })
359
438
  })
360
439
  ]
361
440
  })
362
441
  })
363
442
  });
364
- }), Ie = /*#__PURE__*/ w.forwardRef((_param, l)=>{
365
- var { icon: a , title: r , titleLinesMax: i , subtitle: n , subtitleLinesMax: c , dataAttributes: o , "aria-label": d , extra: h , isInverse: p = !1 } = _param, s = _objectWithoutProperties(_param, [
443
+ }), sr = /*#__PURE__*/ C.forwardRef((_param, h)=>{
444
+ var { icon: r , title: i , titleLinesMax: n , subtitle: s , subtitleLinesMax: l , dataAttributes: o , "aria-label": p , extra: c , isInverse: d = !1 } = _param, a = _objectWithoutProperties(_param, [
366
445
  "icon",
367
446
  "title",
368
447
  "titleLinesMax",
@@ -373,281 +452,334 @@ const O = (param)=>/* @__PURE__ */ {
373
452
  "extra",
374
453
  "isInverse"
375
454
  ]);
376
- const { isDarkMode: m } = H(), u = Boolean(s.to || s.href || s.onPress);
377
- return /* @__PURE__ */ e(_, {
378
- className: D,
455
+ const { isDarkMode: u } = G(), m = Boolean(a.to || a.href || a.onPress);
456
+ return /* @__PURE__ */ e(j, {
457
+ className: P,
379
458
  dataAttributes: _objectSpread({
380
459
  "component-name": "SnapCard"
381
460
  }, o),
382
- ref: l,
383
- isInverse: p,
461
+ ref: h,
462
+ isInverse: d,
384
463
  width: "100%",
385
464
  height: "100%",
386
- children: /* @__PURE__ */ e(V, _objectSpreadProps(_objectSpread({
465
+ children: /* @__PURE__ */ e(ge, _objectSpreadProps(_objectSpread({
387
466
  maybe: !0
388
- }, s), {
389
- className: u && !p && !m ? re : ae,
390
- "aria-label": d,
467
+ }, a), {
468
+ className: m && !d && !u ? Ce : Te,
469
+ "aria-label": p,
391
470
  children: /* @__PURE__ */ t("section", {
392
- className: ie,
471
+ className: xe,
393
472
  children: [
394
473
  /* @__PURE__ */ t("div", {
395
474
  children: [
396
- a && /* @__PURE__ */ e(N, {
475
+ r && /* @__PURE__ */ e(w, {
397
476
  paddingBottom: 16,
398
- children: a
477
+ children: r
399
478
  }),
400
479
  /* @__PURE__ */ t(f, {
401
480
  space: 4,
402
481
  children: [
403
- r && /* @__PURE__ */ e(C, {
404
- truncate: i,
482
+ i && /* @__PURE__ */ e(b, {
483
+ truncate: n,
405
484
  as: "h3",
406
485
  regular: !0,
407
486
  hyphens: "auto",
408
- children: r
487
+ children: i
409
488
  }),
410
- n && /* @__PURE__ */ e(C, {
411
- truncate: c,
489
+ s && /* @__PURE__ */ e(b, {
490
+ truncate: l,
412
491
  regular: !0,
413
- color: S.colors.textSecondary,
492
+ color: y.colors.textSecondary,
414
493
  as: "p",
415
494
  hyphens: "auto",
416
- children: n
495
+ children: s
417
496
  })
418
497
  ]
419
498
  })
420
499
  ]
421
500
  }),
422
- h && /* @__PURE__ */ e("div", {
423
- children: h
501
+ c && /* @__PURE__ */ e("div", {
502
+ children: c
424
503
  })
425
504
  ]
426
505
  })
427
506
  }))
428
507
  });
429
- }), q = /*#__PURE__*/ w.forwardRef((param, I)=>{
430
- let { isInverse: a , backgroundImage: r , icon: i , headline: n , pretitle: c , pretitleLinesMax: o , title: d , titleLinesMax: h , description: p , descriptionLinesMax: s , extra: l , button: m , secondaryButton: u , onClose: y , actions: g , buttonLink: b , dataAttributes: T , width: v , height: A , aspectRatio: R , "aria-label": B } = param;
431
- const x = !!r, M = x ? "0 0 16px rgba(0,0,0,0.4)" : void 0, F = (g == null ? void 0 : g.length) || y;
432
- return /* @__PURE__ */ e(G, {
433
- width: v,
434
- height: A,
435
- aspectRatio: R,
436
- onClose: y,
508
+ }), de = /*#__PURE__*/ C.forwardRef((param, M)=>{
509
+ let { isInverse: r , backgroundImage: i , backgroundVideo: n , backgroundVideoRef: s , poster: l , icon: o , headline: p , pretitle: c , pretitleLinesMax: d , title: a , titleLinesMax: h , description: u , descriptionLinesMax: m , extra: v , button: I , secondaryButton: T , onClose: x , actions: g , buttonLink: N , dataAttributes: z , width: A , height: D , aspectRatio: B , "aria-label": W } = param;
510
+ const S = ae(i), { video: H , videoStatus: E , onVideoControlPress: k } = te(n, l, s);
511
+ n && (g = [
512
+ {
513
+ Icon: oe(E),
514
+ onPress: k,
515
+ label: "Video controls",
516
+ iconSize: E === "loadingTimeout" ? 16 : 12,
517
+ iconColor: y.colors.inverse,
518
+ iconBackground: _,
519
+ iconBackgroundInverse: _
520
+ }
521
+ ]);
522
+ const L = ee(), R = !!i || !!n, O = R ? "0 0 16px rgba(0,0,0,0.4)" : void 0, le = (g == null ? void 0 : g.length) || x;
523
+ return /* @__PURE__ */ e(F, {
524
+ width: A,
525
+ height: D,
526
+ aspectRatio: B,
527
+ onClose: x,
437
528
  actions: g,
438
- "aria-label": B,
439
- isInverse: a,
440
- children: /* @__PURE__ */ e(W, {
441
- borderRadius: S.borderRadii.legacyDisplay,
442
- className: D,
443
- dataAttributes: T,
444
- ref: I,
529
+ "aria-label": W,
530
+ isInverse: r,
531
+ children: /* @__PURE__ */ e(K, {
532
+ borderRadius: y.borderRadii.legacyDisplay,
533
+ className: P,
534
+ dataAttributes: z,
535
+ ref: M,
445
536
  width: "100%",
446
537
  minHeight: "100%",
447
- isInverse: a,
448
- background: a && r ? S.colors.backgroundContainer : void 0,
538
+ isInverse: r,
539
+ background: i || n ? L ? y.colors.backgroundContainerBrandOverInverse : y.colors.backgroundContainer : void 0,
449
540
  children: /* @__PURE__ */ t("div", {
450
- className: X,
451
- style: {
452
- backgroundImage: r ? `url("${CSS.escape(r)}")` : void 0,
453
- paddingTop: x && !i && !F ? 0 : 24
454
- },
541
+ className: U,
455
542
  children: [
456
- i ? /* @__PURE__ */ e(N, {
457
- paddingBottom: x ? 0 : 40,
458
- paddingX: 24,
459
- children: i
460
- }) : /* @__PURE__ */ e(N, {
461
- paddingBottom: (g == null ? void 0 : g.length) || y ? x ? 24 : 64 : 0
543
+ /* @__PURE__ */ e(re, {
544
+ isInverse: L,
545
+ children: /* @__PURE__ */ e("div", {
546
+ className: Y,
547
+ style: {
548
+ zIndex: 0
549
+ },
550
+ children: n ? H : i ? S : void 0
551
+ })
462
552
  }),
463
- /* @__PURE__ */ e(N, {
464
- paddingX: 24,
465
- paddingTop: x ? 40 : 0,
466
- paddingBottom: 24,
467
- className: x ? j : void 0,
468
- children: /* @__PURE__ */ t(f, {
469
- space: 24,
470
- children: [
471
- /* @__PURE__ */ t("div", {
553
+ /* @__PURE__ */ t("div", {
554
+ className: Z,
555
+ style: {
556
+ paddingTop: R && !o && !le ? 0 : 24,
557
+ zIndex: 1
558
+ },
559
+ children: [
560
+ o ? /* @__PURE__ */ e(w, {
561
+ paddingBottom: R ? 0 : 40,
562
+ paddingX: 24,
563
+ children: o
564
+ }) : /* @__PURE__ */ e(w, {
565
+ paddingBottom: (g == null ? void 0 : g.length) || x ? R ? 24 : 64 : 0
566
+ }),
567
+ /* @__PURE__ */ e(w, {
568
+ paddingX: 24,
569
+ paddingTop: R ? 40 : 0,
570
+ paddingBottom: 24,
571
+ className: R ? $ : void 0,
572
+ children: /* @__PURE__ */ t(f, {
573
+ space: 24,
472
574
  children: [
473
- /* @__PURE__ */ t(f, {
474
- space: 8,
575
+ /* @__PURE__ */ t("div", {
475
576
  children: [
476
- (n || c || d) && /* @__PURE__ */ e("header", {
477
- children: /* @__PURE__ */ t(f, {
478
- space: 16,
479
- children: [
480
- n,
481
- /* @__PURE__ */ t(f, {
482
- space: 4,
577
+ /* @__PURE__ */ t(f, {
578
+ space: 8,
579
+ children: [
580
+ (p || c || a) && /* @__PURE__ */ e("header", {
581
+ children: /* @__PURE__ */ t(f, {
582
+ space: 16,
483
583
  children: [
484
- c && /* @__PURE__ */ e(C, {
485
- forceMobileSizes: !0,
486
- truncate: o,
487
- as: "div",
488
- regular: !0,
489
- textShadow: M,
490
- hyphens: "auto",
491
- children: c
492
- }),
493
- /* @__PURE__ */ e(K, {
494
- forceMobileSizes: !0,
495
- truncate: h,
496
- as: "h3",
497
- textShadow: M,
498
- hyphens: "auto",
499
- children: d
584
+ p,
585
+ /* @__PURE__ */ t(f, {
586
+ space: 4,
587
+ children: [
588
+ c && /* @__PURE__ */ e(b, {
589
+ forceMobileSizes: !0,
590
+ truncate: d,
591
+ as: "div",
592
+ regular: !0,
593
+ textShadow: O,
594
+ children: c
595
+ }),
596
+ /* @__PURE__ */ e(he, {
597
+ forceMobileSizes: !0,
598
+ truncate: h,
599
+ as: "h3",
600
+ textShadow: O,
601
+ hyphens: "auto",
602
+ children: a
603
+ })
604
+ ]
500
605
  })
501
606
  ]
502
607
  })
503
- ]
504
- })
608
+ }),
609
+ u && /* @__PURE__ */ e(pe, {
610
+ forceMobileSizes: !0,
611
+ truncate: m,
612
+ as: "p",
613
+ regular: !0,
614
+ color: y.colors.textSecondary,
615
+ textShadow: O,
616
+ hyphens: "auto",
617
+ children: u
618
+ })
619
+ ]
505
620
  }),
506
- p && /* @__PURE__ */ e(Q, {
507
- forceMobileSizes: !0,
508
- truncate: s,
509
- as: "p",
510
- regular: !0,
511
- color: S.colors.textSecondary,
512
- textShadow: M,
513
- hyphens: "auto",
514
- children: p
515
- })
621
+ v
516
622
  ]
517
623
  }),
518
- l
624
+ (I || T || N) && /* @__PURE__ */ e(V, {
625
+ primaryButton: I,
626
+ secondaryButton: T,
627
+ link: N
628
+ })
519
629
  ]
520
- }),
521
- (m || u || b) && /* @__PURE__ */ e(k, {
522
- primaryButton: m,
523
- secondaryButton: u,
524
- link: b
525
630
  })
526
- ]
527
- })
631
+ })
632
+ ]
528
633
  })
529
634
  ]
530
635
  })
531
636
  })
532
637
  });
533
- }), Me = /*#__PURE__*/ w.forwardRef((_param, i)=>/* @__PURE__ */ {
534
- var { dataAttributes: a } = _param, r = _objectWithoutProperties(_param, [
638
+ }), dr = /*#__PURE__*/ C.forwardRef((_param, n)=>/* @__PURE__ */ {
639
+ var { dataAttributes: r } = _param, i = _objectWithoutProperties(_param, [
535
640
  "dataAttributes"
536
641
  ]);
537
- return e(q, _objectSpreadProps(_objectSpread({}, r), {
538
- ref: i,
642
+ return e(de, _objectSpreadProps(_objectSpread({}, i), {
643
+ ref: n,
539
644
  isInverse: !0,
540
- dataAttributes: _objectSpreadProps(_objectSpread({}, a), {
645
+ dataAttributes: _objectSpreadProps(_objectSpread({}, r), {
541
646
  "component-name": "DisplayMediaCard"
542
647
  })
543
648
  }));
544
- }), ze = /*#__PURE__*/ w.forwardRef((_param, i)=>/* @__PURE__ */ {
545
- var { dataAttributes: a } = _param, r = _objectWithoutProperties(_param, [
649
+ }), lr = /*#__PURE__*/ C.forwardRef((_param, n)=>/* @__PURE__ */ {
650
+ var { dataAttributes: r } = _param, i = _objectWithoutProperties(_param, [
546
651
  "dataAttributes"
547
652
  ]);
548
- return e(q, _objectSpreadProps(_objectSpread({}, r), {
549
- ref: i,
550
- dataAttributes: _objectSpreadProps(_objectSpread({}, a), {
653
+ return e(de, _objectSpreadProps(_objectSpread({}, i), {
654
+ ref: n,
655
+ dataAttributes: _objectSpreadProps(_objectSpread({}, r), {
551
656
  "component-name": "DisplayDataCard"
552
657
  })
553
658
  }));
554
- }), he = 140, pe = 112, _e = /*#__PURE__*/ w.forwardRef((param, T)=>{
555
- let { dataAttributes: a , backgroundImage: r , width: i , height: n , aspectRatio: c = "7:10" , ariaLabel: o , actions: d , onClose: h , icon: p , headline: s , pretitle: l , pretitleLinesMax: m , title: u , titleLinesMax: y , description: g , descriptionLinesMax: b } = param;
556
- const v = !!r, A = v ? "0 0 16px rgba(0,0,0,0.4)" : void 0, R = (d == null ? void 0 : d.length) || h, { textPresets: B } = H();
557
- return /* @__PURE__ */ e(G, {
558
- width: i,
559
- height: n,
560
- minWidth: he,
561
- minHeight: pe,
659
+ }), Ee = 140, _e = 112, cr = /*#__PURE__*/ C.forwardRef((param, z)=>{
660
+ let { dataAttributes: r , backgroundImage: i , backgroundVideo: n , poster: s , backgroundVideoRef: l , width: o , height: p , aspectRatio: c = "7:10" , ariaLabel: d , actions: a , onClose: h , icon: u , headline: m , pretitle: v , pretitleLinesMax: I , title: T , titleLinesMax: x , description: g , descriptionLinesMax: N } = param;
661
+ const A = ae(i), { video: D , videoStatus: B , onVideoControlPress: W } = te(n, s, l);
662
+ n && (a = [
663
+ {
664
+ Icon: oe(B),
665
+ onPress: W,
666
+ label: "Video controls",
667
+ iconSize: B === "loadingTimeout" ? 16 : 12,
668
+ iconColor: y.colors.inverse,
669
+ iconBackground: _,
670
+ iconBackgroundInverse: _
671
+ }
672
+ ]);
673
+ const M = ee(), S = !!i || !!n, H = S ? "0 0 16px rgba(0,0,0,0.4)" : void 0, E = (a == null ? void 0 : a.length) || h, { textPresets: k } = G();
674
+ return /* @__PURE__ */ e(F, {
675
+ width: o,
676
+ height: p,
677
+ minWidth: Ee,
678
+ minHeight: _e,
562
679
  aspectRatio: c,
563
680
  onClose: h,
564
- actions: d,
565
- "aria-label": o,
681
+ actions: a,
682
+ "aria-label": d,
566
683
  isInverse: !0,
567
- children: /* @__PURE__ */ e(W, {
568
- borderRadius: S.borderRadii.legacyDisplay,
569
- className: D,
570
- dataAttributes: a,
571
- ref: T,
684
+ children: /* @__PURE__ */ e(K, {
685
+ borderRadius: y.borderRadii.legacyDisplay,
686
+ className: P,
687
+ dataAttributes: r,
688
+ ref: z,
572
689
  width: "100%",
573
690
  minHeight: "100%",
574
691
  isInverse: !0,
575
- background: r ? S.colors.backgroundContainer : void 0,
692
+ background: i || n ? M ? y.colors.backgroundContainerBrandOverInverse : y.colors.backgroundContainer : void 0,
576
693
  children: /* @__PURE__ */ t("div", {
577
- className: X,
578
- style: {
579
- backgroundImage: r ? `url("${CSS.escape(r)}")` : void 0,
580
- paddingTop: v && !p && !R ? 0 : 24
581
- },
694
+ className: U,
582
695
  children: [
583
- p ? /* @__PURE__ */ e(N, {
584
- paddingBottom: v ? 0 : 40,
585
- paddingX: 24,
586
- children: p
587
- }) : /* @__PURE__ */ e(N, {
588
- paddingBottom: (d == null ? void 0 : d.length) || h ? v ? 24 : 64 : 0
696
+ /* @__PURE__ */ e(re, {
697
+ isInverse: M,
698
+ children: /* @__PURE__ */ e("div", {
699
+ className: Y,
700
+ style: {
701
+ zIndex: 0
702
+ },
703
+ children: n ? D : i ? A : void 0
704
+ })
589
705
  }),
590
- /* @__PURE__ */ e(N, {
591
- paddingX: 16,
592
- paddingTop: v ? 40 : 0,
593
- paddingBottom: 24,
594
- className: v ? j : void 0,
595
- children: /* @__PURE__ */ e(f, {
596
- space: 24,
597
- children: /* @__PURE__ */ e("div", {
598
- children: /* @__PURE__ */ t(f, {
599
- space: 8,
600
- children: [
601
- (s || l || u) && /* @__PURE__ */ e("header", {
602
- children: /* @__PURE__ */ t(f, {
603
- space: 16,
604
- children: [
605
- s,
606
- /* @__PURE__ */ t(f, {
607
- space: 4,
706
+ /* @__PURE__ */ t("div", {
707
+ className: Z,
708
+ style: {
709
+ paddingTop: S && !u && !E ? 0 : 24,
710
+ zIndex: 1
711
+ },
712
+ children: [
713
+ u ? /* @__PURE__ */ e(w, {
714
+ paddingBottom: S ? 0 : 40,
715
+ paddingX: 24,
716
+ children: u
717
+ }) : /* @__PURE__ */ e(w, {
718
+ paddingBottom: (a == null ? void 0 : a.length) || h ? S ? 24 : 64 : 0
719
+ }),
720
+ /* @__PURE__ */ e(w, {
721
+ paddingX: 16,
722
+ paddingTop: S ? 40 : 0,
723
+ paddingBottom: 24,
724
+ className: S ? $ : void 0,
725
+ children: /* @__PURE__ */ e(f, {
726
+ space: 24,
727
+ children: /* @__PURE__ */ e("div", {
728
+ children: /* @__PURE__ */ t(f, {
729
+ space: 8,
730
+ children: [
731
+ (m || v || T) && /* @__PURE__ */ e("header", {
732
+ children: /* @__PURE__ */ t(f, {
733
+ space: 16,
608
734
  children: [
609
- l && /* @__PURE__ */ e(C, {
610
- forceMobileSizes: !0,
611
- truncate: m,
612
- as: "div",
613
- regular: !0,
614
- textShadow: A,
615
- hyphens: "auto",
616
- children: l
617
- }),
618
- /* @__PURE__ */ e(P, {
619
- desktopSize: 20,
620
- mobileSize: 18,
621
- mobileLineHeight: "24px",
622
- desktopLineHeight: "28px",
623
- truncate: y,
624
- weight: B.cardTitle.weight,
625
- as: "h3",
626
- hyphens: "auto",
627
- children: u
735
+ m,
736
+ /* @__PURE__ */ t(f, {
737
+ space: 4,
738
+ children: [
739
+ v && /* @__PURE__ */ e(b, {
740
+ forceMobileSizes: !0,
741
+ truncate: I,
742
+ as: "div",
743
+ regular: !0,
744
+ textShadow: H,
745
+ hyphens: "auto",
746
+ children: v
747
+ }),
748
+ /* @__PURE__ */ e(J, {
749
+ desktopSize: 20,
750
+ mobileSize: 18,
751
+ mobileLineHeight: "24px",
752
+ desktopLineHeight: "28px",
753
+ truncate: x,
754
+ weight: k.cardTitle.weight,
755
+ as: "h3",
756
+ hyphens: "auto",
757
+ children: T
758
+ })
759
+ ]
628
760
  })
629
761
  ]
630
762
  })
631
- ]
632
- })
633
- }),
634
- g && /* @__PURE__ */ e(C, {
635
- forceMobileSizes: !0,
636
- truncate: b,
637
- as: "p",
638
- regular: !0,
639
- textShadow: A,
640
- hyphens: "auto",
641
- children: g
763
+ }),
764
+ g && /* @__PURE__ */ e(b, {
765
+ forceMobileSizes: !0,
766
+ truncate: N,
767
+ as: "p",
768
+ regular: !0,
769
+ textShadow: H,
770
+ hyphens: "auto",
771
+ children: g
772
+ })
773
+ ]
642
774
  })
643
- ]
775
+ })
644
776
  })
645
777
  })
646
- })
778
+ ]
647
779
  })
648
780
  ]
649
781
  })
650
782
  })
651
783
  });
652
784
  });
653
- export { He as DataCard, ze as DisplayDataCard, Me as DisplayMediaCard, De as MediaCard, _e as PosterCard, Ie as SnapCard };
785
+ export { tr as DataCard, lr as DisplayDataCard, dr as DisplayMediaCard, or as MediaCard, cr as PosterCard, sr as SnapCard };