@telefonica/mistica 16.51.0 → 16.52.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 (196) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.css-mistica.js +6 -6
  3. package/dist/align.css-mistica.js +1 -1
  4. package/dist/autocomplete.css-mistica.js +1 -1
  5. package/dist/avatar.css-mistica.js +1 -1
  6. package/dist/badge.css-mistica.js +1 -1
  7. package/dist/box.css-mistica.js +13 -13
  8. package/dist/boxed.css-mistica.js +24 -24
  9. package/dist/button-group.css-mistica.js +1 -1
  10. package/dist/button-layout.css-mistica.js +14 -14
  11. package/dist/button.css-mistica.js +26 -26
  12. package/dist/callout.css-mistica.js +11 -11
  13. package/dist/card-internal.css-mistica.js +23 -20
  14. package/dist/card-internal.css.d.ts +1 -0
  15. package/dist/card-internal.js +129 -134
  16. package/dist/carousel.css-mistica.js +8 -8
  17. package/dist/checkbox.css-mistica.js +11 -11
  18. package/dist/chip.css-mistica.js +15 -15
  19. package/dist/circle.css-mistica.js +1 -1
  20. package/dist/community/advanced-data-card.css-mistica.js +6 -6
  21. package/dist/community/blocks.css-mistica.js +3 -3
  22. package/dist/community/example-component.css-mistica.js +2 -2
  23. package/dist/counter.css-mistica.js +1 -1
  24. package/dist/cover-hero.css-mistica.js +2 -2
  25. package/dist/credit-card-number-field.css-mistica.js +3 -3
  26. package/dist/date-field.css-mistica.js +1 -1
  27. package/dist/date-time-picker.css-mistica.js +1 -1
  28. package/dist/dialog.css-mistica.js +4 -4
  29. package/dist/divider.css-mistica.js +5 -5
  30. package/dist/double-field.css-mistica.js +2 -2
  31. package/dist/drawer.css-mistica.js +1 -1
  32. package/dist/empty-state-card.css-mistica.js +1 -1
  33. package/dist/empty-state.css-mistica.js +5 -5
  34. package/dist/fade-in.css-mistica.js +1 -1
  35. package/dist/feedback.css-mistica.js +1 -1
  36. package/dist/fixed-footer-layout.css-mistica.js +2 -2
  37. package/dist/form.css-mistica.js +1 -1
  38. package/dist/grid-layout.css-mistica.js +3 -3
  39. package/dist/grid.css-mistica.js +120 -120
  40. package/dist/header.css-mistica.js +1 -1
  41. package/dist/hero.css-mistica.js +2 -2
  42. package/dist/horizontal-scroll.css-mistica.js +1 -1
  43. package/dist/icon-button.css-mistica.js +65 -62
  44. package/dist/icon-button.css.d.ts +1 -0
  45. package/dist/icon-button.js +43 -39
  46. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  47. package/dist/icons/icon-error.css-mistica.js +1 -1
  48. package/dist/image.css-mistica.js +11 -11
  49. package/dist/index.d.ts +1 -0
  50. package/dist/index.js +4 -0
  51. package/dist/inline.css-mistica.js +9 -9
  52. package/dist/list.css-mistica.js +1 -1
  53. package/dist/loading-bar.css-mistica.js +1 -1
  54. package/dist/loading-screen.css-mistica.js +4 -4
  55. package/dist/logo.css-mistica.js +5 -5
  56. package/dist/menu.css-mistica.js +13 -13
  57. package/dist/mosaic.css-mistica.js +1 -1
  58. package/dist/navigation-bar.css-mistica.js +18 -18
  59. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  60. package/dist/package-version.js +1 -1
  61. package/dist/pin-field.css-mistica.js +1 -1
  62. package/dist/popover.css-mistica.js +1 -1
  63. package/dist/progress-bar.css-mistica.js +6 -6
  64. package/dist/radio-button.css-mistica.js +19 -19
  65. package/dist/rating.css-mistica.js +2 -2
  66. package/dist/responsive-layout.css-mistica.js +6 -6
  67. package/dist/screen-reader-only.css-mistica.js +1 -1
  68. package/dist/select.css-mistica.js +15 -15
  69. package/dist/sheet-action-row.css-mistica.js +1 -1
  70. package/dist/sheet-common.css-mistica.js +1 -1
  71. package/dist/sheet-info.css-mistica.js +1 -1
  72. package/dist/skeletons.css-mistica.js +6 -6
  73. package/dist/skins/skin-contract.css-mistica.js +642 -642
  74. package/dist/skip-link.css-mistica.js +1 -1
  75. package/dist/slider.css-mistica.js +18 -18
  76. package/dist/snackbar.css-mistica.js +4 -4
  77. package/dist/spinner.css-mistica.js +1 -1
  78. package/dist/square.css-mistica.js +11 -0
  79. package/dist/square.css.d.ts +1 -0
  80. package/dist/square.d.ts +20 -0
  81. package/dist/square.js +82 -0
  82. package/dist/stack.css-mistica.js +5 -5
  83. package/dist/stacking-group.css-mistica.js +1 -1
  84. package/dist/stepper.css-mistica.js +2 -2
  85. package/dist/switch-component.css-mistica.js +35 -35
  86. package/dist/table.css-mistica.js +9 -9
  87. package/dist/tabs.css-mistica.js +17 -17
  88. package/dist/tag.css-mistica.js +1 -1
  89. package/dist/text-field-base.css-mistica.js +15 -15
  90. package/dist/text-field-components.css-mistica.js +3 -3
  91. package/dist/text-link.css-mistica.js +6 -6
  92. package/dist/text.css-mistica.js +6 -6
  93. package/dist/theme-context.css-mistica.js +1 -1
  94. package/dist/timeline.css-mistica.js +9 -9
  95. package/dist/timer.css-mistica.js +6 -6
  96. package/dist/tooltip.css-mistica.js +1 -1
  97. package/dist/touchable.css-mistica.js +1 -1
  98. package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
  99. package/dist/video.css-mistica.js +1 -1
  100. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  101. package/dist-es/accordion.css-mistica.js +6 -6
  102. package/dist-es/align.css-mistica.js +1 -1
  103. package/dist-es/autocomplete.css-mistica.js +1 -1
  104. package/dist-es/avatar.css-mistica.js +1 -1
  105. package/dist-es/badge.css-mistica.js +1 -1
  106. package/dist-es/box.css-mistica.js +13 -13
  107. package/dist-es/boxed.css-mistica.js +23 -23
  108. package/dist-es/button-group.css-mistica.js +1 -1
  109. package/dist-es/button-layout.css-mistica.js +14 -14
  110. package/dist-es/button.css-mistica.js +26 -26
  111. package/dist-es/callout.css-mistica.js +11 -11
  112. package/dist-es/card-internal.css-mistica.js +16 -16
  113. package/dist-es/card-internal.js +163 -168
  114. package/dist-es/carousel.css-mistica.js +8 -8
  115. package/dist-es/checkbox.css-mistica.js +11 -11
  116. package/dist-es/chip.css-mistica.js +15 -15
  117. package/dist-es/circle.css-mistica.js +1 -1
  118. package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
  119. package/dist-es/community/blocks.css-mistica.js +2 -2
  120. package/dist-es/community/example-component.css-mistica.js +2 -2
  121. package/dist-es/counter.css-mistica.js +1 -1
  122. package/dist-es/cover-hero.css-mistica.js +2 -2
  123. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  124. package/dist-es/date-field.css-mistica.js +1 -1
  125. package/dist-es/date-time-picker.css-mistica.js +1 -1
  126. package/dist-es/dialog.css-mistica.js +4 -4
  127. package/dist-es/divider.css-mistica.js +5 -5
  128. package/dist-es/double-field.css-mistica.js +2 -2
  129. package/dist-es/drawer.css-mistica.js +1 -1
  130. package/dist-es/empty-state-card.css-mistica.js +1 -1
  131. package/dist-es/empty-state.css-mistica.js +5 -5
  132. package/dist-es/fade-in.css-mistica.js +1 -1
  133. package/dist-es/feedback.css-mistica.js +1 -1
  134. package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
  135. package/dist-es/form.css-mistica.js +1 -1
  136. package/dist-es/grid-layout.css-mistica.js +3 -3
  137. package/dist-es/grid.css-mistica.js +120 -120
  138. package/dist-es/header.css-mistica.js +1 -1
  139. package/dist-es/hero.css-mistica.js +2 -2
  140. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  141. package/dist-es/icon-button.css-mistica.js +55 -55
  142. package/dist-es/icon-button.js +56 -52
  143. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  144. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  145. package/dist-es/image.css-mistica.js +4 -4
  146. package/dist-es/index.js +2203 -2202
  147. package/dist-es/inline.css-mistica.js +9 -9
  148. package/dist-es/list.css-mistica.js +1 -1
  149. package/dist-es/loading-bar.css-mistica.js +1 -1
  150. package/dist-es/loading-screen.css-mistica.js +4 -4
  151. package/dist-es/logo.css-mistica.js +5 -5
  152. package/dist-es/menu.css-mistica.js +13 -13
  153. package/dist-es/mosaic.css-mistica.js +1 -1
  154. package/dist-es/navigation-bar.css-mistica.js +18 -18
  155. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  156. package/dist-es/package-version.js +1 -1
  157. package/dist-es/pin-field.css-mistica.js +1 -1
  158. package/dist-es/popover.css-mistica.js +1 -1
  159. package/dist-es/progress-bar.css-mistica.js +6 -6
  160. package/dist-es/radio-button.css-mistica.js +19 -19
  161. package/dist-es/rating.css-mistica.js +2 -2
  162. package/dist-es/responsive-layout.css-mistica.js +6 -6
  163. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  164. package/dist-es/select.css-mistica.js +15 -15
  165. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  166. package/dist-es/sheet-common.css-mistica.js +1 -1
  167. package/dist-es/sheet-info.css-mistica.js +1 -1
  168. package/dist-es/skeletons.css-mistica.js +6 -6
  169. package/dist-es/skins/skin-contract.css-mistica.js +642 -642
  170. package/dist-es/skip-link.css-mistica.js +1 -1
  171. package/dist-es/slider.css-mistica.js +18 -18
  172. package/dist-es/snackbar.css-mistica.js +4 -4
  173. package/dist-es/spinner.css-mistica.js +1 -1
  174. package/dist-es/square.css-mistica.js +2 -0
  175. package/dist-es/square.js +73 -0
  176. package/dist-es/stack.css-mistica.js +5 -5
  177. package/dist-es/stacking-group.css-mistica.js +1 -1
  178. package/dist-es/stepper.css-mistica.js +2 -2
  179. package/dist-es/style.css +1 -1
  180. package/dist-es/switch-component.css-mistica.js +35 -35
  181. package/dist-es/table.css-mistica.js +9 -9
  182. package/dist-es/tabs.css-mistica.js +17 -17
  183. package/dist-es/tag.css-mistica.js +1 -1
  184. package/dist-es/text-field-base.css-mistica.js +15 -15
  185. package/dist-es/text-field-components.css-mistica.js +3 -3
  186. package/dist-es/text-link.css-mistica.js +6 -6
  187. package/dist-es/text.css-mistica.js +6 -6
  188. package/dist-es/theme-context.css-mistica.js +1 -1
  189. package/dist-es/timeline.css-mistica.js +9 -9
  190. package/dist-es/timer.css-mistica.js +6 -6
  191. package/dist-es/tooltip.css-mistica.js +1 -1
  192. package/dist-es/touchable.css-mistica.js +1 -1
  193. package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
  194. package/dist-es/video.css-mistica.js +1 -1
  195. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  196. package/package.json +1 -1
@@ -79,50 +79,50 @@ function _object_without_properties_loose(source, excluded) {
79
79
  return target;
80
80
  }
81
81
  import { jsx as i, jsxs as y, Fragment as Q } from "react/jsx-runtime";
82
- import * as D from "react";
83
- import { touchableCardOverlayInverse as ut, touchableCardOverlay as mt, contentContainer as gt, textContent as bt, containerPaddingXVariants as Z, containerPaddingBottomVariants as ft, containerPaddingTopVariants as ge, touchable as Ae, touchableContainer as vt, topActionsContainer as kt, vars as xt, boxed as yt, container as St, backgroundImageOrVideoContainer as Bt, actionsContainerVariants as Rt } from "./card-internal.css-mistica.js";
82
+ import * as I from "react";
83
+ import { touchableContent as ht, touchableCardOverlayInverse as mt, touchableCardOverlay as gt, contentContainer as bt, textContent as ft, containerPaddingXVariants as Z, containerPaddingBottomVariants as vt, containerPaddingTopVariants as ge, touchable as Ae, touchableContainer as kt, topActionsContainer as xt, vars as yt, boxed as St, container as Bt, backgroundImageOrVideoContainer as Rt, actionsContainerVariants as Ht } from "./card-internal.css-mistica.js";
84
84
  import { vars as te } from "./image.css-mistica.js";
85
- import { closeButtonLabel as Ht, playIconButtonLabel as wt, pauseIconButtonLabel as Lt } from "./text-tokens.js";
85
+ import { closeButtonLabel as wt, playIconButtonLabel as Lt, pauseIconButtonLabel as zt } from "./text-tokens.js";
86
86
  import { Text as J } from "./text.js";
87
87
  import { useInnerText as Ve, useTheme as ie } from "./hooks.js";
88
88
  import { useThemeVariant as be, normalizeVariant as Fe, ThemeVariant as fe } from "./theme-variant-context.js";
89
- import zt from "./tag.js";
89
+ import Tt from "./tag.js";
90
90
  import Oe from "./stack.js";
91
91
  import Ge from "./image.js";
92
- import Tt from "./video.js";
92
+ import Ct from "./video.js";
93
93
  import Me from "./inline.js";
94
- import Ct from "./spinner.js";
94
+ import Dt from "./spinner.js";
95
95
  import It from "./generated/mistica-icons/icon-play-filled.js";
96
- import Dt from "./generated/mistica-icons/icon-pause-filled.js";
97
- import Nt from "./generated/mistica-icons/icon-close-regular.js";
98
- import { getPrefixedDataAttributes as Pt } from "./utils/dom.js";
96
+ import Nt from "./generated/mistica-icons/icon-pause-filled.js";
97
+ import Pt from "./generated/mistica-icons/icon-close-regular.js";
98
+ import { getPrefixedDataAttributes as At } from "./utils/dom.js";
99
99
  import { applyCssVars as G } from "./utils/css.js";
100
- import { InternalBoxed as At } from "./boxed.js";
101
- import { BaseTouchable as Vt } from "./touchable.js";
102
- import { aspectRatioToNumber as ve, AspectRatioContainer as Ft } from "./utils/aspect-ratio-support.js";
100
+ import { InternalBoxed as Vt } from "./boxed.js";
101
+ import { BaseTouchable as Ft } from "./touchable.js";
102
+ import { aspectRatioToNumber as ve, AspectRatioContainer as Ot } from "./utils/aspect-ratio-support.js";
103
103
  import { vars as g } from "./skins/skin-contract.css-mistica.js";
104
- import { IconButton as Ot, ToggleIconButton as Mt } from "./icon-button.js";
105
- import { combineRefs as Et } from "./utils/common.js";
104
+ import { IconButton as Mt, ToggleIconButton as Et } from "./icon-button.js";
105
+ import { combineRefs as $t } from "./utils/common.js";
106
106
  import { isRunningAcceptanceTest as Ee } from "./utils/platform.js";
107
107
  import L from "classnames";
108
108
  import jt from "./button-group.js";
109
109
  import { isBiggerHeading as _e } from "./utils/headings.js";
110
- import { applyAlpha as $t } from "./utils/color.js";
111
- const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
112
- let { type: e, children: o, width: a, height: r, aspectRatio: n, "aria-label": s, "aria-labelledby": h, "aria-description": u, "aria-describedby": m, dataAttributes: d, backgroundColor: b, variant: v } = param;
110
+ import { applyAlpha as Gt } from "./utils/color.js";
111
+ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
112
+ let { type: e, children: o, width: a, height: r, aspectRatio: n, "aria-label": l, "aria-labelledby": u, "aria-description": h, "aria-describedby": m, dataAttributes: d, backgroundColor: b, variant: v } = param;
113
113
  const x = a && r ? void 0 : ve(n), f = x ? G({
114
- [xt.aspectRatio]: String(x)
114
+ [yt.aspectRatio]: String(x)
115
115
  }) : {}, k = b ? "none" : void 0, c = e === "naked";
116
116
  return(// aria-description should be vaild, but this eslint rule is complaining about it
117
117
  // eslint-disable-next-line jsx-a11y/role-supports-aria-props
118
118
  /* @__PURE__ */ i("section", _object_spread_props(_object_spread({
119
119
  ref: p,
120
- "aria-label": s,
121
- "aria-labelledby": h,
122
- "aria-description": u,
120
+ "aria-label": l,
121
+ "aria-labelledby": u,
122
+ "aria-description": h,
123
123
  "aria-describedby": m,
124
- className: L(St)
125
- }, Pt(d, "InternalCard")), {
124
+ className: L(Bt)
125
+ }, At(d, "InternalCard")), {
126
126
  style: _object_spread({
127
127
  width: a || "100%",
128
128
  height: r || "100%",
@@ -136,11 +136,11 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
136
136
  position: "relative",
137
137
  minHeight: "100%"
138
138
  },
139
- children: /* @__PURE__ */ i(At, {
139
+ children: /* @__PURE__ */ i(Vt, {
140
140
  width: "100%",
141
141
  height: "100%",
142
142
  variant: v,
143
- className: L(yt),
143
+ className: L(St),
144
144
  background: c ? "transparent" : b,
145
145
  borderRadius: c ? "none" : g.borderRadii.container,
146
146
  border: c ? "none" : k,
@@ -183,12 +183,12 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
183
183
  }),
184
184
  children: n
185
185
  });
186
- }, _t = (param)=>{
186
+ }, Xt = (param)=>{
187
187
  let { video: e, src: o, srcSet: a, backgroundVariant: r } = param;
188
188
  return /* @__PURE__ */ i(fe, {
189
189
  variant: r,
190
190
  children: /* @__PURE__ */ i("div", {
191
- className: Bt,
191
+ className: Rt,
192
192
  style: G({
193
193
  [te.mediaBorderRadius]: "0px",
194
194
  borderRadius: g.borderRadii.container,
@@ -206,7 +206,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
206
206
  })
207
207
  })
208
208
  });
209
- }, Xt = {
209
+ }, Kt = {
210
210
  loading: {
211
211
  play: "playing",
212
212
  pause: "paused",
@@ -226,29 +226,29 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
226
226
  error: {
227
227
  reset: "loading"
228
228
  }
229
- }, Kt = (e, o)=>Xt[e][o] || e, Wt = (param)=>{
229
+ }, Wt = (e, o)=>Kt[e][o] || e, Yt = (param)=>{
230
230
  let { color: e } = param;
231
- return /* @__PURE__ */ i(Ct, {
231
+ return /* @__PURE__ */ i(Dt, {
232
232
  color: e,
233
233
  size: 16,
234
234
  delay: "0"
235
235
  });
236
- }, Yt = (param)=>{
236
+ }, qt = (param)=>{
237
237
  let { color: e } = param;
238
- return /* @__PURE__ */ i(Dt, {
238
+ return /* @__PURE__ */ i(Nt, {
239
239
  color: e,
240
240
  size: 12
241
241
  });
242
- }, qt = (param)=>{
242
+ }, Jt = (param)=>{
243
243
  let { color: e } = param;
244
244
  return /* @__PURE__ */ i(It, {
245
245
  color: e,
246
246
  size: 12
247
247
  });
248
- }, Jt = (param)=>{
249
- let { src: e, poster: o, ref: a, autoHeight: r, loop: n, autoPlay: s, dataAttributes: h } = param;
250
- const { texts: u, t: m } = ie(), d = D.useRef(null), b = D.useRef(!1), [v, p] = D.useReducer(Kt, process.env.NODE_ENV === "test" ? "playing" : "loading");
251
- D.useEffect(()=>{
248
+ }, Qt = (param)=>{
249
+ let { src: e, poster: o, ref: a, autoHeight: r, loop: n, autoPlay: l, dataAttributes: u } = param;
250
+ const { texts: h, t: m } = ie(), d = I.useRef(null), b = I.useRef(!1), [v, p] = I.useReducer(Wt, process.env.NODE_ENV === "test" ? "playing" : "loading");
251
+ I.useEffect(()=>{
252
252
  var _d_current;
253
253
  return b.current = !1, (_d_current = d.current) === null || _d_current === void 0 ? void 0 : _d_current.load(), ()=>{
254
254
  p("reset");
@@ -256,20 +256,20 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
256
256
  }, [
257
257
  e
258
258
  ]);
259
- const x = D.useMemo(()=>{
259
+ const x = I.useMemo(()=>{
260
260
  if (e === void 0) return;
261
261
  const t = ()=>{
262
- s === !1 && !b.current && (b.current = !0, p("pause"));
262
+ l === !1 && !b.current && (b.current = !0, p("pause"));
263
263
  };
264
- return /* @__PURE__ */ i(Tt, {
265
- ref: Et(d, a),
264
+ return /* @__PURE__ */ i(Ct, {
265
+ ref: $t(d, a),
266
266
  src: e,
267
267
  poster: o,
268
268
  width: "100%",
269
269
  height: r ? void 0 : "100%",
270
270
  loop: n,
271
- autoPlay: s,
272
- dataAttributes: h,
271
+ autoPlay: l,
272
+ dataAttributes: u,
273
273
  onLoad: t,
274
274
  onError: ()=>p("fail"),
275
275
  onPause: ()=>p("pause"),
@@ -281,8 +281,8 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
281
281
  o,
282
282
  r,
283
283
  n,
284
- s,
285
- h
284
+ l,
285
+ u
286
286
  ]), f = ()=>{
287
287
  const t = d.current;
288
288
  t && (v === "playing" ? t.pause() : t.play().then(()=>p("play"), ()=>{}));
@@ -292,12 +292,12 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
292
292
  };
293
293
  const k = v === "loading", c = x ? {
294
294
  uncheckedProps: {
295
- Icon: k && !Ee() ? Wt : Yt,
296
- label: k ? "" : u.pauseIconButtonLabel || m(Lt)
295
+ Icon: k && !Ee() ? Yt : qt,
296
+ label: k ? "" : h.pauseIconButtonLabel || m(zt)
297
297
  },
298
298
  checkedProps: {
299
- Icon: qt,
300
- label: u.playIconButtonLabel || m(wt)
299
+ Icon: Jt,
300
+ label: h.playIconButtonLabel || m(Lt)
301
301
  },
302
302
  onChange: f,
303
303
  disabled: Ee() ? !1 : k,
@@ -307,19 +307,19 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
307
307
  video: x,
308
308
  videoAction: c
309
309
  };
310
- }, Qt = (param)=>{
310
+ }, Ut = (param)=>{
311
311
  let { size: e, buttonPrimary: o, buttonSecondary: a, buttonLink: r } = param;
312
312
  return /* @__PURE__ */ i("div", {
313
- className: Rt[e],
313
+ className: Ht[e],
314
314
  children: /* @__PURE__ */ i(jt, {
315
315
  primaryButton: o,
316
316
  secondaryButton: a,
317
317
  link: r
318
318
  })
319
319
  });
320
- }, Ut = (e)=>{
320
+ }, Zt = (e)=>{
321
321
  const o = be();
322
- if (e.Icon) return /* @__PURE__ */ i(Ot, _object_spread_props(_object_spread({}, e), {
322
+ if (e.Icon) return /* @__PURE__ */ i(Mt, _object_spread_props(_object_spread({}, e), {
323
323
  small: !0,
324
324
  "aria-label": e.label,
325
325
  type: "neutral",
@@ -329,7 +329,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
329
329
  "checkedProps",
330
330
  "uncheckedProps"
331
331
  ]);
332
- return /* @__PURE__ */ i(Mt, _object_spread_props(_object_spread({
332
+ return /* @__PURE__ */ i(Et, _object_spread_props(_object_spread({
333
333
  small: !0
334
334
  }, n), {
335
335
  checkedProps: _object_spread_props(_object_spread({}, a), {
@@ -343,35 +343,35 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
343
343
  backgroundType: "transparent"
344
344
  })
345
345
  }));
346
- }, je = (param)=>{
347
- let { testid: e = "topActions", onClose: o, closeButtonLabel: a, actions: r, variant: n, containerStyles: s = {} } = param;
348
- const { texts: h, t: u } = ie(), m = r ? [
346
+ }, $e = (param)=>{
347
+ let { testid: e = "topActions", onClose: o, closeButtonLabel: a, actions: r, variant: n, containerStyles: l = {} } = param;
348
+ const { texts: u, t: h } = ie(), m = r ? [
349
349
  ...r
350
350
  ] : [];
351
351
  return o && m.push({
352
- label: a || h.closeButtonLabel || u(Ht),
352
+ label: a || u.closeButtonLabel || h(wt),
353
353
  onPress: o,
354
- Icon: Nt
354
+ Icon: Pt
355
355
  }), m.length === 0 ? /* @__PURE__ */ i(Q, {}) : /* @__PURE__ */ i(fe, {
356
356
  variant: n,
357
357
  children: /* @__PURE__ */ i("div", {
358
- className: kt,
359
- style: s,
358
+ className: xt,
359
+ style: l,
360
360
  "data-testid": e,
361
- children: m.map((d, b)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ i(Ut, _object_spread({}, d), b) : d)
361
+ children: m.map((d, b)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ i(Zt, _object_spread({}, d), b) : d)
362
362
  })
363
363
  });
364
- }, Zt = (param)=>{
365
- let { type: e, size: o, asset: a, imageSrc: r, imageSrcSet: n, imageFit: s, imageAlt: h = "", video: u, mediaAspectRatio: m, mediaPosition: d, mediaWidth: b, circledImage: v } = param;
364
+ }, ei = (param)=>{
365
+ let { type: e, size: o, asset: a, imageSrc: r, imageSrcSet: n, imageFit: l, imageAlt: u = "", video: h, mediaAspectRatio: m, mediaPosition: d, mediaWidth: b, circledImage: v } = param;
366
366
  const p = ve(m), x = e === "naked" && v ? {
367
367
  circular: !0
368
368
  } : {
369
369
  width: "100%",
370
370
  height: d === "top" && p === 0 ? void 0 : "100%"
371
371
  }, k = (()=>{
372
- if (u) return u;
372
+ if (h) return h;
373
373
  if (r !== void 0 || n !== void 0) {
374
- const t = d === "left" || d === "right", l = {
374
+ const t = d === "left" || d === "right", s = {
375
375
  fit: {
376
376
  objectFit: "contain",
377
377
  objectPosition: `bottom ${d}`
@@ -392,8 +392,8 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
392
392
  dataAttributes: {
393
393
  testid: "image"
394
394
  },
395
- alt: h
396
- }), t ? l[s] : {}));
395
+ alt: u
396
+ }), t ? s[l] : {}));
397
397
  }
398
398
  return null;
399
399
  })();
@@ -403,7 +403,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
403
403
  }));
404
404
  return d === "top" ? /* @__PURE__ */ y(Q, {
405
405
  children: [
406
- /* @__PURE__ */ i(Ft, {
406
+ /* @__PURE__ */ i(Ot, {
407
407
  aspectRatio: p,
408
408
  style: c,
409
409
  children: k
@@ -435,31 +435,31 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
435
435
  })
436
436
  ]
437
437
  });
438
- }, ei = (param)=>{
439
- let { type: e, size: o, variant: a, footerSlot: r, buttonPrimary: n, buttonSecondary: s, buttonLink: h, hasBackgroundImageOrVideo: u, footerVariant: m, footerBackgroundColor: d, footerDivider: b, externalVariant: v, overlayColor: p } = param;
440
- const x = !!(n || s || h), f = !!(n && s && h), k = {
438
+ }, ti = (param)=>{
439
+ let { type: e, size: o, variant: a, footerSlot: r, buttonPrimary: n, buttonSecondary: l, buttonLink: u, hasBackgroundImageOrVideo: h, footerVariant: m, footerBackgroundColor: d, footerDivider: b, externalVariant: v, overlayColor: p } = param;
440
+ const x = !!(n || l || u), f = !!(n && l && u), k = {
441
441
  default: g.colors.divider,
442
442
  brand: g.colors.dividerBrand,
443
443
  negative: g.colors.dividerNegative,
444
444
  media: g.colors.dividerBrand,
445
445
  alternative: g.colors.divider
446
- }[a], c = e === "naked", t = d || (m && m !== a ? m === "default" ? g.colors.backgroundContainer : v === "brand" || v === "media" || v === "negative" ? g.colors.backgroundContainerBrandOverBrand : g.colors.backgroundContainerBrand : void 0), l = b !== null && b !== void 0 ? b : !t;
446
+ }[a], c = e === "naked", t = d || (m && m !== a ? m === "default" ? g.colors.backgroundContainer : v === "brand" || v === "media" || v === "negative" ? g.colors.backgroundContainerBrandOverBrand : g.colors.backgroundContainerBrand : void 0), s = b !== null && b !== void 0 ? b : !t;
447
447
  return /* @__PURE__ */ y(fe, {
448
448
  variant: m || a,
449
449
  children: [
450
450
  /* @__PURE__ */ i(U, {}),
451
451
  /* @__PURE__ */ y("div", {
452
452
  style: {
453
- background: t || (u ? p : void 0),
453
+ background: t || (h ? p : void 0),
454
454
  position: "relative",
455
- backdropFilter: u ? "blur(12px)" : void 0,
455
+ backdropFilter: h ? "blur(12px)" : void 0,
456
456
  borderBottomLeftRadius: c ? 0 : g.borderRadii.container,
457
457
  borderBottomRightRadius: c ? 0 : g.borderRadii.container
458
458
  },
459
459
  children: [
460
460
  /* @__PURE__ */ i("div", {
461
461
  style: {
462
- borderTop: l ? `1px solid ${k}` : void 0,
462
+ borderTop: s ? `1px solid ${k}` : void 0,
463
463
  marginRight: c ? 16 : 0
464
464
  }
465
465
  }),
@@ -488,14 +488,14 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
488
488
  alignItems: "center",
489
489
  children: [
490
490
  n,
491
- s
491
+ l
492
492
  ]
493
493
  }),
494
494
  /* @__PURE__ */ i("div", {
495
495
  style: {
496
496
  marginLeft: -12
497
497
  },
498
- children: h
498
+ children: u
499
499
  })
500
500
  ]
501
501
  }) : /* @__PURE__ */ y(Me, {
@@ -503,8 +503,8 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
503
503
  alignItems: "center",
504
504
  children: [
505
505
  n,
506
- s,
507
- h
506
+ l,
507
+ u
508
508
  ]
509
509
  }))
510
510
  ]
@@ -514,34 +514,34 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
514
514
  })
515
515
  ]
516
516
  });
517
- }, ti = (param)=>{
518
- let { type: e, hasCustomBackground: o, headlineRef: a, size: r, variant: n, headline: s, title: h, titleAs: u = "h3", titleLinesMax: m, pretitle: d, pretitleAs: b, pretitleLinesMax: v, subtitle: p, subtitleLinesMax: x, description: f, descriptionLinesMax: k, withTextShadow: c } = param;
519
- const { textPresets: t, colorValues: l } = ie(), M = be(), z = {
517
+ }, ii = (param)=>{
518
+ let { type: e, hasCustomBackground: o, headlineRef: a, size: r, variant: n, headline: l, title: u, titleAs: h = "h3", titleLinesMax: m, pretitle: d, pretitleAs: b, pretitleLinesMax: v, subtitle: p, subtitleLinesMax: x, description: f, descriptionLinesMax: k, withTextShadow: c } = param;
519
+ const { textPresets: t, colorValues: s } = ie(), M = be(), z = {
520
520
  hyphens: "auto"
521
521
  }, E = {
522
522
  default: {
523
- pretitle: l.textPrimary,
524
- title: l.textPrimary,
525
- subtitle: l.textPrimary,
526
- description: l.textSecondary
523
+ pretitle: s.textPrimary,
524
+ title: s.textPrimary,
525
+ subtitle: s.textPrimary,
526
+ description: s.textSecondary
527
527
  },
528
528
  brand: {
529
- pretitle: l.textPrimaryBrand,
530
- title: l.textPrimaryBrand,
531
- subtitle: l.textPrimaryBrand,
532
- description: l.textSecondaryBrand
529
+ pretitle: s.textPrimaryBrand,
530
+ title: s.textPrimaryBrand,
531
+ subtitle: s.textPrimaryBrand,
532
+ description: s.textSecondaryBrand
533
533
  },
534
534
  negative: {
535
- pretitle: l.textPrimaryNegative,
536
- title: l.textPrimaryNegative,
537
- subtitle: l.textPrimaryNegative,
538
- description: l.textSecondaryNegative
535
+ pretitle: s.textPrimaryNegative,
536
+ title: s.textPrimaryNegative,
537
+ subtitle: s.textPrimaryNegative,
538
+ description: s.textSecondaryNegative
539
539
  },
540
540
  media: {
541
- pretitle: l.textPrimaryMedia,
542
- title: l.textPrimaryMedia,
543
- subtitle: l.textPrimaryMedia,
544
- description: e === "cover" && o ? l.textPrimaryMedia : l.textSecondaryMedia
541
+ pretitle: s.textPrimaryMedia,
542
+ title: s.textPrimaryMedia,
543
+ subtitle: s.textPrimaryMedia,
544
+ description: e === "cover" && o ? s.textPrimaryMedia : s.textSecondaryMedia
545
545
  }
546
546
  }, N = {
547
547
  snap: {
@@ -634,7 +634,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
634
634
  weight: "regular"
635
635
  }
636
636
  }
637
- }, P = E[n] || E[M] || E.default, w = N[r] || N.default, A = c ? "0 0 15px rgba(0, 0, 0, 0.4)" : void 0, oe = s && // Read order 2. Visual order 1
637
+ }, P = E[n] || E[M] || E.default, w = N[r] || N.default, A = c ? "0 0 15px rgba(0, 0, 0, 0.4)" : void 0, oe = l && // Read order 2. Visual order 1
638
638
  /* @__PURE__ */ i("div", {
639
639
  style: {
640
640
  paddingBottom: 8,
@@ -642,10 +642,10 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
642
642
  },
643
643
  "data-testid": "headline",
644
644
  ref: a,
645
- children: typeof s == "string" ? /* @__PURE__ */ i(zt, {
645
+ children: typeof l == "string" ? /* @__PURE__ */ i(Tt, {
646
646
  type: "promo",
647
- children: s
648
- }) : s
647
+ children: l
648
+ }) : l
649
649
  }), T = d && // Read order: 3 or 1. Visual order 2
650
650
  /* @__PURE__ */ i("div", {
651
651
  style: {
@@ -660,7 +660,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
660
660
  textShadow: A,
661
661
  children: d
662
662
  }))
663
- }), _ = h && // Read order: 1 or 3. Visual order 3
663
+ }), _ = u && // Read order: 1 or 3. Visual order 3
664
664
  /* @__PURE__ */ i("div", {
665
665
  style: {
666
666
  paddingBottom: 4,
@@ -668,11 +668,11 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
668
668
  },
669
669
  "data-testid": "title",
670
670
  children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, z, w.title), {
671
- as: u,
671
+ as: h,
672
672
  truncate: m,
673
673
  color: P.title,
674
674
  textShadow: A,
675
- children: h
675
+ children: u
676
676
  }))
677
677
  }), re = p && // Read order: 4. Visual order 4
678
678
  /* @__PURE__ */ i("div", {
@@ -702,7 +702,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
702
702
  textShadow: A,
703
703
  children: f
704
704
  }))
705
- }), [X, K] = h && _e(u, b) ? [
705
+ }), [X, K] = u && _e(h, b) ? [
706
706
  _,
707
707
  T
708
708
  ] : [
@@ -722,11 +722,11 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
722
722
  ae
723
723
  ]
724
724
  });
725
- }, ii = [
725
+ }, oi = [
726
726
  g.colors.cardContentOverlay,
727
727
  g.colors.cardFooterOverlay
728
- ], oi = /rgba\([^,]+,\s*[^,]+,\s*[^,]+,\s*([^)]+)\)/g, $e = (e, o)=>e.replace(oi, (a, r)=>$t(o, parseFloat(r))), Ni = /*#__PURE__*/ D.forwardRef((_param, Ze)=>{
729
- var { type: e, size: o, backgroundColor: a, imageSrc: r, imageSrcSet: n, imageAlt: s = "", imageFit: h = "fill-center", videoSrc: u, videoRef: m, media: d, mediaAspectRatio: b = "auto", mediaPosition: v = "top", mediaWidth: p = 150, circledImage: x, asset: f, headline: k, title: c, titleAs: t = "h3", titleLinesMax: l, pretitle: M, pretitleAs: z, pretitleLinesMax: E, subtitle: N, subtitleLinesMax: P, description: w, descriptionLinesMax: A, dataAttributes: oe, variant: T, width: _, height: re, aspectRatio: ae, slot: X, slotAlignment: K = "content", buttonPrimary: ne, buttonSecondary: de, buttonLink: se, showFooter: Xe, footerBackgroundColor: Ke, footerVariant: We, footerSlot: ke, footerDivider: Ye, topActions: xe, onClose: ye, closeButtonLabel: qe, "aria-label": Se, "aria-labelledby": le, "aria-description": Be, "aria-describedby": Re, gradientOverlayColor: W, videoLoop: Je, videoAutoPlay: Qe, videoDataAttributes: Ue } = _param, V = _object_without_properties(_param, [
728
+ ], ri = /rgba\([^,]+,\s*[^,]+,\s*[^,]+,\s*([^)]+)\)/g, je = (e, o)=>e.replace(ri, (a, r)=>Gt(o, parseFloat(r))), Pi = /*#__PURE__*/ I.forwardRef((_param, Ze)=>{
729
+ var { type: e, size: o, backgroundColor: a, imageSrc: r, imageSrcSet: n, imageAlt: l = "", imageFit: u = "fill-center", videoSrc: h, videoRef: m, media: d, mediaAspectRatio: b = "auto", mediaPosition: v = "top", mediaWidth: p = 150, circledImage: x, asset: f, headline: k, title: c, titleAs: t = "h3", titleLinesMax: s, pretitle: M, pretitleAs: z, pretitleLinesMax: E, subtitle: N, subtitleLinesMax: P, description: w, descriptionLinesMax: A, dataAttributes: oe, variant: T, width: _, height: re, aspectRatio: ae, slot: X, slotAlignment: K = "content", buttonPrimary: ne, buttonSecondary: de, buttonLink: le, showFooter: Xe, footerBackgroundColor: Ke, footerVariant: We, footerSlot: ke, footerDivider: Ye, topActions: xe, onClose: ye, closeButtonLabel: qe, "aria-label": Se, "aria-labelledby": se, "aria-description": Be, "aria-describedby": Re, gradientOverlayColor: W, videoLoop: Je, videoAutoPlay: Qe, videoDataAttributes: Ue } = _param, V = _object_without_properties(_param, [
730
730
  "type",
731
731
  "size",
732
732
  "backgroundColor",
@@ -780,17 +780,17 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
780
780
  "videoAutoPlay",
781
781
  "videoDataAttributes"
782
782
  ]);
783
- const { text: He, ref: et } = Ve(), { text: we, ref: tt } = Ve(), B = !!(V.href || V.to || V.onPress), ce = !!(ne || de || se), { colorValues: Le } = ie(), pe = e === "media" || e === "naked", it = pe && (r !== void 0 || n !== void 0), ze = pe && u !== void 0, Te = it || ze, he = pe && !!d && !Te, R = Te || he, H = e === "naked", S = R ? v : "top", Ce = e === "naked" && x ? 1 : b, ue = e === "cover" && (r !== void 0 || n !== void 0), Y = e === "cover" && u !== void 0, Ie = !!a || ue || Y, F = ue || Y, ot = ze || Y, { video: De, videoAction: me } = Jt({
784
- src: ot ? u : void 0,
783
+ const { text: He, ref: et } = Ve(), { text: we, ref: tt } = Ve(), B = !!(V.href || V.to || V.onPress), ce = !!(ne || de || le), { colorValues: Le } = ie(), pe = e === "media" || e === "naked", it = pe && (r !== void 0 || n !== void 0), ze = pe && h !== void 0, Te = it || ze, ue = pe && !!d && !Te, R = Te || ue, H = e === "naked", S = R ? v : "top", Ce = e === "naked" && x ? 1 : b, he = e === "cover" && (r !== void 0 || n !== void 0), Y = e === "cover" && h !== void 0, De = !!a || he || Y, F = he || Y, ot = ze || Y, { video: Ie, videoAction: me } = Qt({
784
+ src: ot ? h : void 0,
785
785
  poster: r,
786
786
  ref: m,
787
787
  autoHeight: e === "cover" || S !== "top" ? !1 : ve(Ce) === 0,
788
788
  loop: Je,
789
789
  autoPlay: Qe,
790
790
  dataAttributes: Ue
791
- }), j = be(), rt = T ? Fe(T) : j, C = T && Fe(T) || (e === "cover" && Ie ? "media" : "default"), at = C === "brand" ? ut : mt, I = Xe && (ce || !!ke) || ce && B, Ne = !I && ce, q = ((xe === null || xe === void 0 ? void 0 : xe.length) || 0) + (ye ? 1 : 0), Pe = me ? q + 1 : q, nt = f && !(R && S === "left"), dt = e !== "cover" && Pe > 0 && !nt && !k, $ = e === "cover" || e === "data" && o === "display", O = g.borderRadii.container, st = ue || Y ? "transparent" : a || (C === "media" ? j === "brand" || j === "media" || j === "negative" ? g.colors.backgroundContainerBrandOverBrand : g.colors.backgroundBrand : C === "alternative" ? g.colors.backgroundAlternative : void 0), lt = Se || (le ? void 0 : (c && _e(t, z) ? [
791
+ }), $ = be(), rt = T ? Fe(T) : $, C = T && Fe(T) || (e === "cover" && De ? "media" : "default"), at = C === "brand" ? mt : gt, D = Xe && (ce || !!ke) || ce && B, Ne = !D && ce, q = ((xe === null || xe === void 0 ? void 0 : xe.length) || 0) + (ye ? 1 : 0), Pe = me ? q + 1 : q, nt = f && !(R && S === "left"), dt = e !== "cover" && Pe > 0 && !nt && !k, j = e === "cover" || e === "data" && o === "display", O = g.borderRadii.container, lt = he || Y ? "transparent" : a || (C === "media" ? $ === "brand" || $ === "media" || $ === "negative" ? g.colors.backgroundContainerBrandOverBrand : g.colors.backgroundBrand : C === "alternative" ? g.colors.backgroundAlternative : void 0), st = Se || (se ? void 0 : (c && _e(t, z) ? [
792
792
  c,
793
- s,
793
+ l,
794
794
  we,
795
795
  M,
796
796
  N,
@@ -800,7 +800,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
800
800
  M,
801
801
  we,
802
802
  c,
803
- s,
803
+ l,
804
804
  N,
805
805
  w,
806
806
  He
@@ -808,12 +808,12 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
808
808
  "transparent",
809
809
  "transparent"
810
810
  ] : W ? [
811
- $e(Le.cardContentOverlay, W),
812
- $e(Le.cardFooterOverlay, W)
813
- ] : ii, [pt, ht] = ct();
814
- return /* @__PURE__ */ y(Gt, {
811
+ je(Le.cardContentOverlay, W),
812
+ je(Le.cardFooterOverlay, W)
813
+ ] : oi, [pt, ut] = ct();
814
+ return /* @__PURE__ */ y(_t, {
815
815
  "aria-label": B ? void 0 : Se,
816
- "aria-labelledby": B ? void 0 : le,
816
+ "aria-labelledby": B ? void 0 : se,
817
817
  "aria-description": B ? void 0 : Be,
818
818
  "aria-describedby": B ? void 0 : Re,
819
819
  type: e,
@@ -824,10 +824,10 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
824
824
  width: _,
825
825
  height: re,
826
826
  aspectRatio: ae,
827
- backgroundColor: st,
827
+ backgroundColor: lt,
828
828
  children: [
829
- F && /* @__PURE__ */ i(_t, {
830
- video: De,
829
+ F && /* @__PURE__ */ i(Xt, {
830
+ video: Ie,
831
831
  src: r,
832
832
  srcSet: n,
833
833
  backgroundVariant: rt
@@ -835,7 +835,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
835
835
  me && // The video action is placed first in the card reading order, so it is placed outside the other topActions container
836
836
  /* @__PURE__ */ i("div", {
837
837
  "data-testid": "videoAction",
838
- children: /* @__PURE__ */ i(je, {
838
+ children: /* @__PURE__ */ i($e, {
839
839
  testid: "videoAction",
840
840
  variant: "media",
841
841
  actions: [
@@ -849,34 +849,29 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
849
849
  }
850
850
  })
851
851
  }),
852
- /* @__PURE__ */ i(Vt, _object_spread_props(_object_spread({
852
+ /* @__PURE__ */ i(Ft, _object_spread_props(_object_spread({
853
853
  maybe: !0,
854
- "aria-label": B ? lt : void 0,
855
- "aria-labelledby": B ? le : void 0,
854
+ "aria-label": B ? st : void 0,
855
+ "aria-labelledby": B ? se : void 0,
856
856
  "aria-description": B ? Be : void 0,
857
857
  "aria-describedby": B ? Re : void 0,
858
- className: L(Ae, vt)
858
+ className: L(Ae, kt)
859
859
  }, V), {
860
- style: {
861
- flexDirection: S === "top" ? "column" : S === "left" ? "row" : "row-reverse",
862
- justifyItems: "stretch",
863
- borderTopLeftRadius: H && !R ? 0 : `calc(${O} - 1px)`,
864
- borderTopRightRadius: H && !R ? 0 : `calc(${O} - 1px)`,
865
- borderBottomLeftRadius: I || H ? 0 : `calc(${O} - 1px)`,
866
- borderBottomRightRadius: I || H ? 0 : `calc(${O} - 1px)`,
867
- overflow: "hidden",
868
- zIndex: 1
869
- },
870
860
  children: /* @__PURE__ */ y("div", {
861
+ role: V.href || V.to ? "text" : void 0,
862
+ className: ht,
871
863
  style: {
872
- display: "contents"
864
+ flexDirection: S === "top" ? "column" : S === "left" ? "row" : "row-reverse",
865
+ borderTopLeftRadius: H && !R ? 0 : `calc(${O} - 1px)`,
866
+ borderTopRightRadius: H && !R ? 0 : `calc(${O} - 1px)`,
867
+ borderBottomLeftRadius: D || H ? 0 : `calc(${O} - 1px)`,
868
+ borderBottomRightRadius: D || H ? 0 : `calc(${O} - 1px)`
873
869
  },
874
- role: V.href || V.to ? "text" : void 0,
875
870
  children: [
876
871
  B && /* @__PURE__ */ i("div", {
877
872
  className: at
878
873
  }),
879
- he && /* @__PURE__ */ i("div", {
874
+ ue && /* @__PURE__ */ i("div", {
880
875
  style: _object_spread({
881
876
  // for some reason, this width is required to pass headless screenshot tests
882
877
  // otherwise, it gets 0px width and the media is not visible
@@ -886,23 +881,23 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
886
881
  })),
887
882
  children: d
888
883
  }),
889
- he && /* @__PURE__ */ i(ee, {
884
+ ue && /* @__PURE__ */ i(ee, {
890
885
  absolute: !0,
891
886
  size: o,
892
887
  asset: f,
893
888
  type: e
894
889
  }),
895
- R && /* @__PURE__ */ i(Zt, {
890
+ R && /* @__PURE__ */ i(ei, {
896
891
  type: e,
897
892
  size: o,
898
893
  mediaAspectRatio: Ce,
899
894
  mediaPosition: S,
900
895
  asset: f,
901
- video: De,
902
- imageFit: h,
896
+ video: Ie,
897
+ imageFit: u,
903
898
  imageSrc: r,
904
899
  imageSrcSet: n,
905
- imageAlt: s,
900
+ imageAlt: l,
906
901
  mediaWidth: p,
907
902
  circledImage: x
908
903
  }),
@@ -918,33 +913,33 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
918
913
  asset: f,
919
914
  type: e
920
915
  }),
921
- $ && /* @__PURE__ */ i(U, {
916
+ j && /* @__PURE__ */ i(U, {
922
917
  minHeight: e === "cover" && Pe > 0 && !f ? 56 : 0
923
918
  }),
924
919
  /* @__PURE__ */ y("div", {
925
- className: L(Z[o], ft[o], ge[o]),
920
+ className: L(Z[o], vt[o], ge[o]),
926
921
  style: {
927
922
  display: "flex",
928
923
  flexDirection: "column",
929
- height: $ ? void 0 : "100%",
924
+ height: j ? void 0 : "100%",
930
925
  background: F ? pt : void 0,
931
926
  // padding overrides for specific cases
932
- paddingTop: $ && F ? 40 : f || H && S !== "top" ? 16 : H && !R ? 0 : void 0,
927
+ paddingTop: j && F ? 40 : f || H && S !== "top" ? 16 : H && !R ? 0 : void 0,
933
928
  paddingLeft: H && (S !== "left" || !R) ? 0 : void 0,
934
929
  paddingRight: H && S !== "right" ? 16 : void 0,
935
- paddingBottom: I ? 16 : H ? 0 : void 0,
936
- borderBottomLeftRadius: I ? 0 : O,
937
- borderBottomRightRadius: I ? 0 : O
930
+ paddingBottom: D ? 16 : H ? 0 : void 0,
931
+ borderBottomLeftRadius: D ? 0 : O,
932
+ borderBottomRightRadius: D ? 0 : O
938
933
  },
939
934
  children: [
940
935
  /* @__PURE__ */ y("div", {
941
- className: gt,
936
+ className: bt,
942
937
  children: [
943
938
  /* @__PURE__ */ i("div", {
944
- className: bt,
945
- children: /* @__PURE__ */ i(ti, {
939
+ className: ft,
940
+ children: /* @__PURE__ */ i(ii, {
946
941
  type: e,
947
- hasCustomBackground: Ie,
942
+ hasCustomBackground: De,
948
943
  headlineRef: tt,
949
944
  variant: C,
950
945
  size: o,
@@ -954,7 +949,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
954
949
  pretitleLinesMax: E,
955
950
  title: c,
956
951
  titleAs: t,
957
- titleLinesMax: l,
952
+ titleLinesMax: s,
958
953
  subtitle: N,
959
954
  subtitleLinesMax: P,
960
955
  description: w,
@@ -973,18 +968,18 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
973
968
  })
974
969
  ]
975
970
  }),
976
- !$ && K === "bottom" && /* @__PURE__ */ i(U, {}),
971
+ !j && K === "bottom" && /* @__PURE__ */ i(U, {}),
977
972
  X && /* @__PURE__ */ i("div", {
978
973
  ref: et,
979
974
  "data-testid": "slot",
980
975
  children: X
981
976
  }),
982
- !$ && K === "content" && Ne && /* @__PURE__ */ i(U, {}),
983
- Ne && /* @__PURE__ */ i(Qt, {
977
+ !j && K === "content" && Ne && /* @__PURE__ */ i(U, {}),
978
+ Ne && /* @__PURE__ */ i(Ut, {
984
979
  size: o,
985
980
  buttonPrimary: ne,
986
981
  buttonSecondary: de,
987
- buttonLink: se
982
+ buttonLink: le
988
983
  })
989
984
  ]
990
985
  })
@@ -993,7 +988,7 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
993
988
  ]
994
989
  })
995
990
  })),
996
- I && /* @__PURE__ */ i(ei, {
991
+ D && /* @__PURE__ */ i(ti, {
997
992
  type: e,
998
993
  variant: C,
999
994
  footerVariant: We,
@@ -1003,12 +998,12 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
1003
998
  footerSlot: ke,
1004
999
  buttonPrimary: ne,
1005
1000
  buttonSecondary: de,
1006
- buttonLink: se,
1001
+ buttonLink: le,
1007
1002
  hasBackgroundImageOrVideo: F,
1008
- externalVariant: j,
1009
- overlayColor: ht
1003
+ externalVariant: $,
1004
+ overlayColor: ut
1010
1005
  }),
1011
- /* @__PURE__ */ i(je, {
1006
+ /* @__PURE__ */ i($e, {
1012
1007
  onClose: ye,
1013
1008
  closeButtonLabel: qe,
1014
1009
  actions: xe,
@@ -1017,4 +1012,4 @@ const Gt = /*#__PURE__*/ D.forwardRef((param, p)=>{
1017
1012
  ]
1018
1013
  });
1019
1014
  });
1020
- export { Ut as CardActionIconButton, Wt as CardActionSpinner, Ni as InternalCard, je as TopActions, Jt as useVideoWithControls };
1015
+ export { Zt as CardActionIconButton, Yt as CardActionSpinner, Pi as InternalCard, $e as TopActions, Qt as useVideoWithControls };