@telefonica/mistica 16.50.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 (202) hide show
  1. package/README.md +1 -1
  2. package/css/mistica.css +1 -1
  3. package/dist/accordion.css-mistica.js +6 -6
  4. package/dist/align.css-mistica.js +1 -1
  5. package/dist/autocomplete.css-mistica.js +1 -1
  6. package/dist/avatar.css-mistica.js +1 -1
  7. package/dist/badge.css-mistica.js +1 -1
  8. package/dist/box.css-mistica.js +13 -13
  9. package/dist/boxed.css-mistica.js +24 -24
  10. package/dist/button-group.css-mistica.js +1 -1
  11. package/dist/button-layout.css-mistica.js +14 -14
  12. package/dist/button.css-mistica.js +26 -26
  13. package/dist/callout.css-mistica.js +11 -11
  14. package/dist/card-cover.d.ts +3 -0
  15. package/dist/card-internal.css-mistica.js +23 -20
  16. package/dist/card-internal.css.d.ts +1 -0
  17. package/dist/card-internal.d.ts +15 -2
  18. package/dist/card-internal.js +300 -287
  19. package/dist/card-media.d.ts +3 -0
  20. package/dist/carousel.css-mistica.js +8 -8
  21. package/dist/checkbox.css-mistica.js +11 -11
  22. package/dist/chip.css-mistica.js +15 -15
  23. package/dist/circle.css-mistica.js +1 -1
  24. package/dist/community/advanced-data-card.css-mistica.js +6 -6
  25. package/dist/community/blocks.css-mistica.js +3 -3
  26. package/dist/community/example-component.css-mistica.js +2 -2
  27. package/dist/counter.css-mistica.js +1 -1
  28. package/dist/cover-hero-media.js +10 -6
  29. package/dist/cover-hero.css-mistica.js +2 -2
  30. package/dist/credit-card-number-field.css-mistica.js +3 -3
  31. package/dist/date-field.css-mistica.js +1 -1
  32. package/dist/date-time-picker.css-mistica.js +1 -1
  33. package/dist/dialog.css-mistica.js +4 -4
  34. package/dist/divider.css-mistica.js +5 -5
  35. package/dist/double-field.css-mistica.js +2 -2
  36. package/dist/drawer.css-mistica.js +1 -1
  37. package/dist/empty-state-card.css-mistica.js +1 -1
  38. package/dist/empty-state.css-mistica.js +5 -5
  39. package/dist/fade-in.css-mistica.js +1 -1
  40. package/dist/feedback.css-mistica.js +1 -1
  41. package/dist/fixed-footer-layout.css-mistica.js +2 -2
  42. package/dist/form.css-mistica.js +1 -1
  43. package/dist/grid-layout.css-mistica.js +3 -3
  44. package/dist/grid.css-mistica.js +120 -120
  45. package/dist/header.css-mistica.js +1 -1
  46. package/dist/hero.css-mistica.js +2 -2
  47. package/dist/horizontal-scroll.css-mistica.js +1 -1
  48. package/dist/icon-button.css-mistica.js +65 -62
  49. package/dist/icon-button.css.d.ts +1 -0
  50. package/dist/icon-button.js +43 -39
  51. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  52. package/dist/icons/icon-error.css-mistica.js +1 -1
  53. package/dist/image.css-mistica.js +11 -11
  54. package/dist/index.d.ts +1 -0
  55. package/dist/index.js +4 -0
  56. package/dist/inline.css-mistica.js +9 -9
  57. package/dist/list.css-mistica.js +1 -1
  58. package/dist/loading-bar.css-mistica.js +1 -1
  59. package/dist/loading-screen.css-mistica.js +4 -4
  60. package/dist/logo.css-mistica.js +5 -5
  61. package/dist/menu.css-mistica.js +13 -13
  62. package/dist/mosaic.css-mistica.js +1 -1
  63. package/dist/navigation-bar.css-mistica.js +18 -18
  64. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  65. package/dist/package-version.js +1 -1
  66. package/dist/pin-field.css-mistica.js +1 -1
  67. package/dist/popover.css-mistica.js +1 -1
  68. package/dist/progress-bar.css-mistica.js +6 -6
  69. package/dist/radio-button.css-mistica.js +19 -19
  70. package/dist/rating.css-mistica.js +2 -2
  71. package/dist/responsive-layout.css-mistica.js +6 -6
  72. package/dist/screen-reader-only.css-mistica.js +1 -1
  73. package/dist/select.css-mistica.js +15 -15
  74. package/dist/sheet-action-row.css-mistica.js +1 -1
  75. package/dist/sheet-common.css-mistica.js +1 -1
  76. package/dist/sheet-info.css-mistica.js +1 -1
  77. package/dist/skeletons.css-mistica.js +6 -6
  78. package/dist/skins/skin-contract.css-mistica.js +642 -642
  79. package/dist/skip-link.css-mistica.js +1 -1
  80. package/dist/slider.css-mistica.js +18 -18
  81. package/dist/snackbar.css-mistica.js +4 -4
  82. package/dist/spinner.css-mistica.js +1 -1
  83. package/dist/square.css-mistica.js +11 -0
  84. package/dist/square.css.d.ts +1 -0
  85. package/dist/square.d.ts +20 -0
  86. package/dist/square.js +82 -0
  87. package/dist/stack.css-mistica.js +5 -5
  88. package/dist/stacking-group.css-mistica.js +1 -1
  89. package/dist/stepper.css-mistica.js +2 -2
  90. package/dist/switch-component.css-mistica.js +35 -35
  91. package/dist/table.css-mistica.js +9 -9
  92. package/dist/tabs.css-mistica.js +17 -17
  93. package/dist/tag.css-mistica.js +1 -1
  94. package/dist/text-field-base.css-mistica.js +15 -15
  95. package/dist/text-field-components.css-mistica.js +3 -3
  96. package/dist/text-link.css-mistica.js +6 -6
  97. package/dist/text.css-mistica.js +6 -6
  98. package/dist/theme-context.css-mistica.js +1 -1
  99. package/dist/timeline.css-mistica.js +9 -9
  100. package/dist/timer.css-mistica.js +6 -6
  101. package/dist/tooltip.css-mistica.js +1 -1
  102. package/dist/touchable.css-mistica.js +1 -1
  103. package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
  104. package/dist/video.css-mistica.js +1 -1
  105. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  106. package/dist-es/accordion.css-mistica.js +6 -6
  107. package/dist-es/align.css-mistica.js +1 -1
  108. package/dist-es/autocomplete.css-mistica.js +1 -1
  109. package/dist-es/avatar.css-mistica.js +1 -1
  110. package/dist-es/badge.css-mistica.js +1 -1
  111. package/dist-es/box.css-mistica.js +13 -13
  112. package/dist-es/boxed.css-mistica.js +23 -23
  113. package/dist-es/button-group.css-mistica.js +1 -1
  114. package/dist-es/button-layout.css-mistica.js +14 -14
  115. package/dist-es/button.css-mistica.js +26 -26
  116. package/dist-es/callout.css-mistica.js +11 -11
  117. package/dist-es/card-internal.css-mistica.js +16 -16
  118. package/dist-es/card-internal.js +383 -370
  119. package/dist-es/carousel.css-mistica.js +8 -8
  120. package/dist-es/checkbox.css-mistica.js +11 -11
  121. package/dist-es/chip.css-mistica.js +15 -15
  122. package/dist-es/circle.css-mistica.js +1 -1
  123. package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
  124. package/dist-es/community/blocks.css-mistica.js +2 -2
  125. package/dist-es/community/example-component.css-mistica.js +2 -2
  126. package/dist-es/counter.css-mistica.js +1 -1
  127. package/dist-es/cover-hero-media.js +11 -7
  128. package/dist-es/cover-hero.css-mistica.js +2 -2
  129. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  130. package/dist-es/date-field.css-mistica.js +1 -1
  131. package/dist-es/date-time-picker.css-mistica.js +1 -1
  132. package/dist-es/dialog.css-mistica.js +4 -4
  133. package/dist-es/divider.css-mistica.js +5 -5
  134. package/dist-es/double-field.css-mistica.js +2 -2
  135. package/dist-es/drawer.css-mistica.js +1 -1
  136. package/dist-es/empty-state-card.css-mistica.js +1 -1
  137. package/dist-es/empty-state.css-mistica.js +5 -5
  138. package/dist-es/fade-in.css-mistica.js +1 -1
  139. package/dist-es/feedback.css-mistica.js +1 -1
  140. package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
  141. package/dist-es/form.css-mistica.js +1 -1
  142. package/dist-es/grid-layout.css-mistica.js +3 -3
  143. package/dist-es/grid.css-mistica.js +120 -120
  144. package/dist-es/header.css-mistica.js +1 -1
  145. package/dist-es/hero.css-mistica.js +2 -2
  146. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  147. package/dist-es/icon-button.css-mistica.js +55 -55
  148. package/dist-es/icon-button.js +56 -52
  149. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  150. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  151. package/dist-es/image.css-mistica.js +4 -4
  152. package/dist-es/index.js +2203 -2202
  153. package/dist-es/inline.css-mistica.js +9 -9
  154. package/dist-es/list.css-mistica.js +1 -1
  155. package/dist-es/loading-bar.css-mistica.js +1 -1
  156. package/dist-es/loading-screen.css-mistica.js +4 -4
  157. package/dist-es/logo.css-mistica.js +5 -5
  158. package/dist-es/menu.css-mistica.js +13 -13
  159. package/dist-es/mosaic.css-mistica.js +1 -1
  160. package/dist-es/navigation-bar.css-mistica.js +18 -18
  161. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  162. package/dist-es/package-version.js +1 -1
  163. package/dist-es/pin-field.css-mistica.js +1 -1
  164. package/dist-es/popover.css-mistica.js +1 -1
  165. package/dist-es/progress-bar.css-mistica.js +6 -6
  166. package/dist-es/radio-button.css-mistica.js +19 -19
  167. package/dist-es/rating.css-mistica.js +2 -2
  168. package/dist-es/responsive-layout.css-mistica.js +6 -6
  169. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  170. package/dist-es/select.css-mistica.js +15 -15
  171. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  172. package/dist-es/sheet-common.css-mistica.js +1 -1
  173. package/dist-es/sheet-info.css-mistica.js +1 -1
  174. package/dist-es/skeletons.css-mistica.js +6 -6
  175. package/dist-es/skins/skin-contract.css-mistica.js +642 -642
  176. package/dist-es/skip-link.css-mistica.js +1 -1
  177. package/dist-es/slider.css-mistica.js +18 -18
  178. package/dist-es/snackbar.css-mistica.js +4 -4
  179. package/dist-es/spinner.css-mistica.js +1 -1
  180. package/dist-es/square.css-mistica.js +2 -0
  181. package/dist-es/square.js +73 -0
  182. package/dist-es/stack.css-mistica.js +5 -5
  183. package/dist-es/stacking-group.css-mistica.js +1 -1
  184. package/dist-es/stepper.css-mistica.js +2 -2
  185. package/dist-es/style.css +1 -1
  186. package/dist-es/switch-component.css-mistica.js +35 -35
  187. package/dist-es/table.css-mistica.js +9 -9
  188. package/dist-es/tabs.css-mistica.js +17 -17
  189. package/dist-es/tag.css-mistica.js +1 -1
  190. package/dist-es/text-field-base.css-mistica.js +15 -15
  191. package/dist-es/text-field-components.css-mistica.js +3 -3
  192. package/dist-es/text-link.css-mistica.js +6 -6
  193. package/dist-es/text.css-mistica.js +6 -6
  194. package/dist-es/theme-context.css-mistica.js +1 -1
  195. package/dist-es/timeline.css-mistica.js +9 -9
  196. package/dist-es/timer.css-mistica.js +6 -6
  197. package/dist-es/tooltip.css-mistica.js +1 -1
  198. package/dist-es/touchable.css-mistica.js +1 -1
  199. package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
  200. package/dist-es/video.css-mistica.js +1 -1
  201. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  202. package/package.json +2 -2
@@ -11,19 +11,19 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  get CardActionIconButton () {
14
- return qt;
14
+ return Zt;
15
15
  },
16
16
  get CardActionSpinner () {
17
- return _t;
17
+ return Yt;
18
18
  },
19
19
  get InternalCard () {
20
- return Ii;
20
+ return Pi;
21
21
  },
22
22
  get TopActions () {
23
- return je;
23
+ return $e;
24
24
  },
25
25
  get useVideoWithControls () {
26
- return Wt;
26
+ return Qt;
27
27
  }
28
28
  });
29
29
  const _jsxruntime = require("react/jsx-runtime");
@@ -181,18 +181,18 @@ function _object_without_properties_loose(source, excluded) {
181
181
  }
182
182
  return target;
183
183
  }
184
- const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
185
- let { type: e, children: o, width: a, height: r, aspectRatio: n, "aria-label": p, "aria-labelledby": u, "aria-description": l, "aria-describedby": s, dataAttributes: d, backgroundColor: b, variant: k } = param;
186
- const S = a && r ? void 0 : (0, _aspectratiosupport.aspectRatioToNumber)(n), f = S ? (0, _css.applyCssVars)({
187
- [_cardinternalcssmistica.vars.aspectRatio]: String(S)
188
- }) : {}, y = b ? "none" : void 0, m = e === "naked";
184
+ const _t = /*#__PURE__*/ _react.forwardRef((param, p)=>{
185
+ 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;
186
+ const x = a && r ? void 0 : (0, _aspectratiosupport.aspectRatioToNumber)(n), f = x ? (0, _css.applyCssVars)({
187
+ [_cardinternalcssmistica.vars.aspectRatio]: String(x)
188
+ }) : {}, k = b ? "none" : void 0, c = e === "naked";
189
189
  return(// eslint-disable-next-line jsx-a11y/role-supports-aria-props
190
190
  /* @__PURE__ */ (0, _jsxruntime.jsx)("section", _object_spread_props(_object_spread({
191
- ref: h,
192
- "aria-label": p,
191
+ ref: p,
192
+ "aria-label": l,
193
193
  "aria-labelledby": u,
194
- "aria-description": l,
195
- "aria-describedby": s,
194
+ "aria-description": h,
195
+ "aria-describedby": m,
196
196
  className: (0, _classnames.default)(_cardinternalcssmistica.container)
197
197
  }, (0, _dom.getPrefixedDataAttributes)(d, "InternalCard")), {
198
198
  style: _object_spread({
@@ -211,11 +211,11 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
211
211
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.InternalBoxed, {
212
212
  width: "100%",
213
213
  height: "100%",
214
- variant: k,
214
+ variant: v,
215
215
  className: (0, _classnames.default)(_cardinternalcssmistica.boxed),
216
- background: m ? "transparent" : b,
217
- borderRadius: m ? "none" : _skincontractcssmistica.vars.borderRadii.container,
218
- border: m ? "none" : y,
216
+ background: c ? "transparent" : b,
217
+ borderRadius: c ? "none" : _skincontractcssmistica.vars.borderRadii.container,
218
+ border: c ? "none" : k,
219
219
  overflow: "visible",
220
220
  children: o
221
221
  })
@@ -255,7 +255,7 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
255
255
  }),
256
256
  children: n
257
257
  });
258
- }, jt = (param)=>{
258
+ }, Xt = (param)=>{
259
259
  let { video: e, src: o, srcSet: a, backgroundVariant: r } = param;
260
260
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
261
261
  variant: r,
@@ -278,14 +278,8 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
278
278
  })
279
279
  })
280
280
  });
281
- }, $t = {
281
+ }, Kt = {
282
282
  loading: {
283
- showSpinner: "loadingTimeout",
284
- play: "playing",
285
- pause: "paused",
286
- fail: "error"
287
- },
288
- loadingTimeout: {
289
283
  play: "playing",
290
284
  pause: "paused",
291
285
  fail: "error",
@@ -304,75 +298,88 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
304
298
  error: {
305
299
  reset: "loading"
306
300
  }
307
- }, Gt = (e, o)=>$t[e][o] || e, _t = (param)=>{
301
+ }, Wt = (e, o)=>Kt[e][o] || e, Yt = (param)=>{
308
302
  let { color: e } = param;
309
303
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_spinner.default, {
310
304
  color: e,
311
305
  size: 16,
312
306
  delay: "0"
313
307
  });
314
- }, Xt = (param)=>{
308
+ }, qt = (param)=>{
315
309
  let { color: e } = param;
316
310
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconpausefilled.default, {
317
311
  color: e,
318
312
  size: 12
319
313
  });
320
- }, Kt = (param)=>{
314
+ }, Jt = (param)=>{
321
315
  let { color: e } = param;
322
316
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconplayfilled.default, {
323
317
  color: e,
324
318
  size: 12
325
319
  });
326
- }, Wt = (e, o, a, r)=>{
327
- const { texts: n, t: p } = (0, _hooks.useTheme)(), u = _react.useRef(null), [l, s] = _react.useReducer(Gt, process.env.NODE_ENV === "test" ? "playing" : "loading");
320
+ }, Qt = (param)=>{
321
+ let { src: e, poster: o, ref: a, autoHeight: r, loop: n, autoPlay: l, dataAttributes: u } = param;
322
+ const { texts: h, t: m } = (0, _hooks.useTheme)(), d = _react.useRef(null), b = _react.useRef(!1), [v, p] = _react.useReducer(Wt, process.env.NODE_ENV === "test" ? "playing" : "loading");
328
323
  _react.useEffect(()=>{
329
- var _u_current;
330
- const h = setTimeout(()=>s("showSpinner"), 2e3);
331
- return (_u_current = u.current) === null || _u_current === void 0 ? void 0 : _u_current.load(), ()=>{
332
- clearTimeout(h), s("reset");
324
+ var _d_current;
325
+ return b.current = !1, (_d_current = d.current) === null || _d_current === void 0 ? void 0 : _d_current.load(), ()=>{
326
+ p("reset");
333
327
  };
334
328
  }, [
335
329
  e
336
330
  ]);
337
- const d = _react.useMemo(()=>e !== void 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_video.default, {
338
- ref: (0, _common.combineRefs)(u, a),
331
+ const x = _react.useMemo(()=>{
332
+ if (e === void 0) return;
333
+ const t = ()=>{
334
+ l === !1 && !b.current && (b.current = !0, p("pause"));
335
+ };
336
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(_video.default, {
337
+ ref: (0, _common.combineRefs)(d, a),
339
338
  src: e,
340
339
  poster: o,
341
340
  width: "100%",
342
341
  height: r ? void 0 : "100%",
343
- onError: ()=>s("fail"),
344
- onPause: ()=>s("pause"),
345
- onPlay: ()=>s("play")
346
- }) : void 0, [
342
+ loop: n,
343
+ autoPlay: l,
344
+ dataAttributes: u,
345
+ onLoad: t,
346
+ onError: ()=>p("fail"),
347
+ onPause: ()=>p("pause"),
348
+ onPlay: ()=>p("play")
349
+ });
350
+ }, [
347
351
  a,
348
352
  e,
349
353
  o,
350
- r
351
- ]), b = ()=>{
352
- const h = u.current;
353
- h && (l === "loading" ? s("showSpinner") : l === "paused" ? h.play() : l === "playing" && h.pause());
354
+ r,
355
+ n,
356
+ l,
357
+ u
358
+ ]), f = ()=>{
359
+ const t = d.current;
360
+ t && (v === "playing" ? t.pause() : t.play().then(()=>p("play"), ()=>{}));
354
361
  };
355
- if (l === "error") return {
356
- video: d
362
+ if (v === "error") return {
363
+ video: x
357
364
  };
358
- const k = d ? {
365
+ const k = v === "loading", c = x ? {
359
366
  uncheckedProps: {
360
- Icon: l === "loadingTimeout" && !(0, _platform.isRunningAcceptanceTest)() ? _t : Xt,
361
- label: l === "loadingTimeout" ? "" : n.pauseIconButtonLabel || p(_texttokens.pauseIconButtonLabel)
367
+ Icon: k && !(0, _platform.isRunningAcceptanceTest)() ? Yt : qt,
368
+ label: k ? "" : h.pauseIconButtonLabel || m(_texttokens.pauseIconButtonLabel)
362
369
  },
363
370
  checkedProps: {
364
- Icon: Kt,
365
- label: n.playIconButtonLabel || p(_texttokens.playIconButtonLabel)
371
+ Icon: Jt,
372
+ label: h.playIconButtonLabel || m(_texttokens.playIconButtonLabel)
366
373
  },
367
- onChange: b,
368
- disabled: (0, _platform.isRunningAcceptanceTest)() ? !1 : l === "loadingTimeout",
369
- checked: l === "paused"
374
+ onChange: f,
375
+ disabled: (0, _platform.isRunningAcceptanceTest)() ? !1 : k,
376
+ checked: v === "paused"
370
377
  } : void 0;
371
378
  return {
372
- video: d,
373
- videoAction: k
379
+ video: x,
380
+ videoAction: c
374
381
  };
375
- }, Yt = (param)=>{
382
+ }, Ut = (param)=>{
376
383
  let { size: e, buttonPrimary: o, buttonSecondary: a, buttonLink: r } = param;
377
384
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
378
385
  className: _cardinternalcssmistica.actionsContainerVariants[e],
@@ -382,7 +389,7 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
382
389
  link: r
383
390
  })
384
391
  });
385
- }, qt = (e)=>{
392
+ }, Zt = (e)=>{
386
393
  const o = (0, _themevariantcontext.useThemeVariant)();
387
394
  if (e.Icon) return /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconbutton.IconButton, _object_spread_props(_object_spread({}, e), {
388
395
  small: !0,
@@ -408,35 +415,35 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
408
415
  backgroundType: "transparent"
409
416
  })
410
417
  }));
411
- }, je = (param)=>{
412
- let { testid: e = "topActions", onClose: o, closeButtonLabel: a, actions: r, variant: n, containerStyles: p = {} } = param;
413
- const { texts: u, t: l } = (0, _hooks.useTheme)(), s = r ? [
418
+ }, $e = (param)=>{
419
+ let { testid: e = "topActions", onClose: o, closeButtonLabel: a, actions: r, variant: n, containerStyles: l = {} } = param;
420
+ const { texts: u, t: h } = (0, _hooks.useTheme)(), m = r ? [
414
421
  ...r
415
422
  ] : [];
416
- return o && s.push({
417
- label: a || u.closeButtonLabel || l(_texttokens.closeButtonLabel),
423
+ return o && m.push({
424
+ label: a || u.closeButtonLabel || h(_texttokens.closeButtonLabel),
418
425
  onPress: o,
419
426
  Icon: _iconcloseregular.default
420
- }), s.length === 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {}) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
427
+ }), m.length === 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {}) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
421
428
  variant: n,
422
429
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
423
430
  className: _cardinternalcssmistica.topActionsContainer,
424
- style: p,
431
+ style: l,
425
432
  "data-testid": e,
426
- children: s.map((d, b)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ (0, _jsxruntime.jsx)(qt, _object_spread({}, d), b) : d)
433
+ children: m.map((d, b)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ (0, _jsxruntime.jsx)(Zt, _object_spread({}, d), b) : d)
427
434
  })
428
435
  });
429
- }, Jt = (param)=>{
430
- let { type: e, size: o, asset: a, imageSrc: r, imageSrcSet: n, imageFit: p, imageAlt: u = "", video: l, mediaAspectRatio: s, mediaPosition: d, mediaWidth: b, circledImage: k } = param;
431
- const h = (0, _aspectratiosupport.aspectRatioToNumber)(s), S = e === "naked" && k ? {
436
+ }, ei = (param)=>{
437
+ 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;
438
+ const p = (0, _aspectratiosupport.aspectRatioToNumber)(m), x = e === "naked" && v ? {
432
439
  circular: !0
433
440
  } : {
434
441
  width: "100%",
435
- height: d === "top" && h === 0 ? void 0 : "100%"
436
- }, y = (()=>{
437
- if (l) return l;
442
+ height: d === "top" && p === 0 ? void 0 : "100%"
443
+ }, k = (()=>{
444
+ if (h) return h;
438
445
  if (r !== void 0 || n !== void 0) {
439
- const i = d === "left" || d === "right", c = {
446
+ const t = d === "left" || d === "right", s = {
440
447
  fit: {
441
448
  objectFit: "contain",
442
449
  objectPosition: `bottom ${d}`
@@ -453,25 +460,25 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
453
460
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_image.default, _object_spread(_object_spread_props(_object_spread({
454
461
  src: r || "",
455
462
  srcSet: n
456
- }, S), {
463
+ }, x), {
457
464
  dataAttributes: {
458
465
  testid: "image"
459
466
  },
460
467
  alt: u
461
- }), i ? c[p] : {}));
468
+ }), t ? s[l] : {}));
462
469
  }
463
470
  return null;
464
471
  })();
465
- if (!y) return /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {});
466
- const m = _object_spread({}, e === "naked" ? void 0 : (0, _css.applyCssVars)({
472
+ if (!k) return /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {});
473
+ const c = _object_spread({}, e === "naked" ? void 0 : (0, _css.applyCssVars)({
467
474
  [_imagecssmistica.vars.mediaBorderRadius]: "0px"
468
475
  }));
469
476
  return d === "top" ? /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
470
477
  children: [
471
478
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_aspectratiosupport.AspectRatioContainer, {
472
- aspectRatio: h,
473
- style: m,
474
- children: y
479
+ aspectRatio: p,
480
+ style: c,
481
+ children: k
475
482
  }),
476
483
  /* @__PURE__ */ (0, _jsxruntime.jsx)(ee, {
477
484
  absolute: !0,
@@ -483,14 +490,14 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
483
490
  }) : /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
484
491
  children: [
485
492
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
486
- style: _object_spread_props(_object_spread({}, m), {
493
+ style: _object_spread_props(_object_spread({}, c), {
487
494
  width: b,
488
495
  flexShrink: 0,
489
496
  flexGrow: 0,
490
497
  height: "100%",
491
498
  position: "relative"
492
499
  }),
493
- children: y
500
+ children: k
494
501
  }),
495
502
  d !== "right" && /* @__PURE__ */ (0, _jsxruntime.jsx)(ee, {
496
503
  absolute: !0,
@@ -500,49 +507,49 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
500
507
  })
501
508
  ]
502
509
  });
503
- }, Qt = (param)=>{
504
- let { type: e, size: o, variant: a, footerSlot: r, buttonPrimary: n, buttonSecondary: p, buttonLink: u, hasBackgroundImageOrVideo: l, footerVariant: s, footerBackgroundColor: d, footerDivider: b, externalVariant: k, overlayColor: h } = param;
505
- const S = !!(n || p || u), f = !!(n && p && u), y = {
510
+ }, ti = (param)=>{
511
+ 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;
512
+ const x = !!(n || l || u), f = !!(n && l && u), k = {
506
513
  default: _skincontractcssmistica.vars.colors.divider,
507
514
  brand: _skincontractcssmistica.vars.colors.dividerBrand,
508
515
  negative: _skincontractcssmistica.vars.colors.dividerNegative,
509
516
  media: _skincontractcssmistica.vars.colors.dividerBrand,
510
517
  alternative: _skincontractcssmistica.vars.colors.divider
511
- }[a], m = e === "naked", i = d || (s && s !== a ? s === "default" ? _skincontractcssmistica.vars.colors.backgroundContainer : k === "brand" || k === "media" || k === "negative" ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverBrand : _skincontractcssmistica.vars.colors.backgroundContainerBrand : void 0), c = b !== null && b !== void 0 ? b : !i;
518
+ }[a], c = e === "naked", t = d || (m && m !== a ? m === "default" ? _skincontractcssmistica.vars.colors.backgroundContainer : v === "brand" || v === "media" || v === "negative" ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverBrand : _skincontractcssmistica.vars.colors.backgroundContainerBrand : void 0), s = b !== null && b !== void 0 ? b : !t;
512
519
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_themevariantcontext.ThemeVariant, {
513
- variant: s || a,
520
+ variant: m || a,
514
521
  children: [
515
522
  /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {}),
516
523
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
517
524
  style: {
518
- background: i || (l ? h : void 0),
525
+ background: t || (h ? p : void 0),
519
526
  position: "relative",
520
- backdropFilter: l ? "blur(12px)" : void 0,
521
- borderBottomLeftRadius: m ? 0 : _skincontractcssmistica.vars.borderRadii.container,
522
- borderBottomRightRadius: m ? 0 : _skincontractcssmistica.vars.borderRadii.container
527
+ backdropFilter: h ? "blur(12px)" : void 0,
528
+ borderBottomLeftRadius: c ? 0 : _skincontractcssmistica.vars.borderRadii.container,
529
+ borderBottomRightRadius: c ? 0 : _skincontractcssmistica.vars.borderRadii.container
523
530
  },
524
531
  children: [
525
532
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
526
533
  style: {
527
- borderTop: c ? `1px solid ${y}` : void 0,
528
- marginRight: m ? 16 : 0
534
+ borderTop: s ? `1px solid ${k}` : void 0,
535
+ marginRight: c ? 16 : 0
529
536
  }
530
537
  }),
531
538
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
532
539
  "data-testid": "footer",
533
540
  className: (0, _classnames.default)({
534
- [_cardinternalcssmistica.containerPaddingXVariants[o]]: !m
541
+ [_cardinternalcssmistica.containerPaddingXVariants[o]]: !c
535
542
  }),
536
543
  style: {
537
544
  paddingTop: 16,
538
- paddingBottom: m ? 0 : 16,
539
- paddingRight: m ? 16 : void 0
545
+ paddingBottom: c ? 0 : 16,
546
+ paddingRight: c ? 16 : void 0
540
547
  },
541
548
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
542
549
  space: 16,
543
550
  children: [
544
551
  r,
545
- S && // @FIXME: We should use the ButtonGroup component
552
+ x && // @FIXME: We should use the ButtonGroup component
546
553
  // https://jira.tid.es/browse/WEB-2278
547
554
  // https://www.figma.com/design/koROdh3HpEPG2O8jG52Emh/%F0%9F%94%B8-Buttons-Specs?node-id=4337-1606&t=HtImvar8DMbivDqC-0
548
555
  (f ? /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
@@ -553,7 +560,7 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
553
560
  alignItems: "center",
554
561
  children: [
555
562
  n,
556
- p
563
+ l
557
564
  ]
558
565
  }),
559
566
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
@@ -568,7 +575,7 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
568
575
  alignItems: "center",
569
576
  children: [
570
577
  n,
571
- p,
578
+ l,
572
579
  u
573
580
  ]
574
581
  }))
@@ -579,127 +586,127 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
579
586
  })
580
587
  ]
581
588
  });
582
- }, Ut = (param)=>{
583
- let { type: e, hasCustomBackground: o, headlineRef: a, size: r, variant: n, headline: p, title: u, titleAs: l = "h3", titleLinesMax: s, pretitle: d, pretitleAs: b, pretitleLinesMax: k, subtitle: h, subtitleLinesMax: S, description: f, descriptionLinesMax: y, withTextShadow: m } = param;
584
- const { textPresets: i, colorValues: c } = (0, _hooks.useTheme)(), M = (0, _themevariantcontext.useThemeVariant)(), z = {
589
+ }, ii = (param)=>{
590
+ 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;
591
+ const { textPresets: t, colorValues: s } = (0, _hooks.useTheme)(), M = (0, _themevariantcontext.useThemeVariant)(), z = {
585
592
  hyphens: "auto"
586
593
  }, E = {
587
594
  default: {
588
- pretitle: c.textPrimary,
589
- title: c.textPrimary,
590
- subtitle: c.textPrimary,
591
- description: c.textSecondary
595
+ pretitle: s.textPrimary,
596
+ title: s.textPrimary,
597
+ subtitle: s.textPrimary,
598
+ description: s.textSecondary
592
599
  },
593
600
  brand: {
594
- pretitle: c.textPrimaryBrand,
595
- title: c.textPrimaryBrand,
596
- subtitle: c.textPrimaryBrand,
597
- description: c.textSecondaryBrand
601
+ pretitle: s.textPrimaryBrand,
602
+ title: s.textPrimaryBrand,
603
+ subtitle: s.textPrimaryBrand,
604
+ description: s.textSecondaryBrand
598
605
  },
599
606
  negative: {
600
- pretitle: c.textPrimaryNegative,
601
- title: c.textPrimaryNegative,
602
- subtitle: c.textPrimaryNegative,
603
- description: c.textSecondaryNegative
607
+ pretitle: s.textPrimaryNegative,
608
+ title: s.textPrimaryNegative,
609
+ subtitle: s.textPrimaryNegative,
610
+ description: s.textSecondaryNegative
604
611
  },
605
612
  media: {
606
- pretitle: c.textPrimaryMedia,
607
- title: c.textPrimaryMedia,
608
- subtitle: c.textPrimaryMedia,
609
- description: e === "cover" && o ? c.textPrimaryMedia : c.textSecondaryMedia
613
+ pretitle: s.textPrimaryMedia,
614
+ title: s.textPrimaryMedia,
615
+ subtitle: s.textPrimaryMedia,
616
+ description: e === "cover" && o ? s.textPrimaryMedia : s.textSecondaryMedia
610
617
  }
611
- }, D = {
618
+ }, N = {
612
619
  snap: {
613
620
  pretitle: {
614
- mobileSize: i.cardPretitleSnap.size.mobile,
615
- desktopSize: i.cardPretitleSnap.size.desktop,
616
- mobileLineHeight: i.cardPretitleSnap.lineHeight.mobile,
617
- desktopLineHeight: i.cardPretitleSnap.lineHeight.desktop,
621
+ mobileSize: t.cardPretitleSnap.size.mobile,
622
+ desktopSize: t.cardPretitleSnap.size.desktop,
623
+ mobileLineHeight: t.cardPretitleSnap.lineHeight.mobile,
624
+ desktopLineHeight: t.cardPretitleSnap.lineHeight.desktop,
618
625
  weight: "regular"
619
626
  },
620
627
  title: {
621
- mobileSize: i.cardTitleSnap.size.mobile,
622
- desktopSize: i.cardTitleSnap.size.desktop,
623
- mobileLineHeight: i.cardTitleSnap.lineHeight.mobile,
624
- desktopLineHeight: i.cardTitleSnap.lineHeight.desktop,
625
- weight: i.cardTitle.weight
628
+ mobileSize: t.cardTitleSnap.size.mobile,
629
+ desktopSize: t.cardTitleSnap.size.desktop,
630
+ mobileLineHeight: t.cardTitleSnap.lineHeight.mobile,
631
+ desktopLineHeight: t.cardTitleSnap.lineHeight.desktop,
632
+ weight: t.cardTitle.weight
626
633
  },
627
634
  subtitle: {
628
- mobileSize: i.cardSubtitleSnap.size.mobile,
629
- desktopSize: i.cardSubtitleSnap.size.desktop,
630
- mobileLineHeight: i.cardSubtitleSnap.lineHeight.mobile,
631
- desktopLineHeight: i.cardSubtitleSnap.lineHeight.desktop,
635
+ mobileSize: t.cardSubtitleSnap.size.mobile,
636
+ desktopSize: t.cardSubtitleSnap.size.desktop,
637
+ mobileLineHeight: t.cardSubtitleSnap.lineHeight.mobile,
638
+ desktopLineHeight: t.cardSubtitleSnap.lineHeight.desktop,
632
639
  weight: "regular"
633
640
  },
634
641
  description: {
635
- mobileSize: i.cardDescriptionSnap.size.mobile,
636
- desktopSize: i.cardDescriptionSnap.size.desktop,
637
- mobileLineHeight: i.cardDescriptionSnap.lineHeight.mobile,
638
- desktopLineHeight: i.cardDescriptionSnap.lineHeight.desktop,
642
+ mobileSize: t.cardDescriptionSnap.size.mobile,
643
+ desktopSize: t.cardDescriptionSnap.size.desktop,
644
+ mobileLineHeight: t.cardDescriptionSnap.lineHeight.mobile,
645
+ desktopLineHeight: t.cardDescriptionSnap.lineHeight.desktop,
639
646
  weight: "regular"
640
647
  }
641
648
  },
642
649
  default: {
643
650
  pretitle: {
644
- mobileSize: i.cardPretitleDefault.size.mobile,
645
- desktopSize: i.cardPretitleDefault.size.desktop,
646
- mobileLineHeight: i.cardPretitleDefault.lineHeight.mobile,
647
- desktopLineHeight: i.cardPretitleDefault.lineHeight.desktop,
651
+ mobileSize: t.cardPretitleDefault.size.mobile,
652
+ desktopSize: t.cardPretitleDefault.size.desktop,
653
+ mobileLineHeight: t.cardPretitleDefault.lineHeight.mobile,
654
+ desktopLineHeight: t.cardPretitleDefault.lineHeight.desktop,
648
655
  weight: "regular"
649
656
  },
650
657
  title: {
651
- mobileSize: i.cardTitleDefault.size.mobile,
652
- desktopSize: i.cardTitleDefault.size.desktop,
653
- mobileLineHeight: i.cardTitleDefault.lineHeight.mobile,
654
- desktopLineHeight: i.cardTitleDefault.lineHeight.desktop,
655
- weight: i.cardTitle.weight
658
+ mobileSize: t.cardTitleDefault.size.mobile,
659
+ desktopSize: t.cardTitleDefault.size.desktop,
660
+ mobileLineHeight: t.cardTitleDefault.lineHeight.mobile,
661
+ desktopLineHeight: t.cardTitleDefault.lineHeight.desktop,
662
+ weight: t.cardTitle.weight
656
663
  },
657
664
  subtitle: {
658
- mobileSize: i.cardSubtitleDefault.size.mobile,
659
- desktopSize: i.cardSubtitleDefault.size.desktop,
660
- mobileLineHeight: i.cardSubtitleDefault.lineHeight.mobile,
661
- desktopLineHeight: i.cardSubtitleDefault.lineHeight.desktop,
665
+ mobileSize: t.cardSubtitleDefault.size.mobile,
666
+ desktopSize: t.cardSubtitleDefault.size.desktop,
667
+ mobileLineHeight: t.cardSubtitleDefault.lineHeight.mobile,
668
+ desktopLineHeight: t.cardSubtitleDefault.lineHeight.desktop,
662
669
  weight: "regular"
663
670
  },
664
671
  description: {
665
- mobileSize: i.cardDescriptionDefault.size.mobile,
666
- desktopSize: i.cardDescriptionDefault.size.desktop,
667
- mobileLineHeight: i.cardDescriptionDefault.lineHeight.mobile,
668
- desktopLineHeight: i.cardDescriptionDefault.lineHeight.desktop,
672
+ mobileSize: t.cardDescriptionDefault.size.mobile,
673
+ desktopSize: t.cardDescriptionDefault.size.desktop,
674
+ mobileLineHeight: t.cardDescriptionDefault.lineHeight.mobile,
675
+ desktopLineHeight: t.cardDescriptionDefault.lineHeight.desktop,
669
676
  weight: "regular"
670
677
  }
671
678
  },
672
679
  display: {
673
680
  pretitle: {
674
- mobileSize: i.text2.size.mobile,
675
- desktopSize: i.text2.size.desktop,
676
- mobileLineHeight: i.text2.lineHeight.mobile,
677
- desktopLineHeight: i.text2.lineHeight.desktop,
681
+ mobileSize: t.text2.size.mobile,
682
+ desktopSize: t.text2.size.desktop,
683
+ mobileLineHeight: t.text2.lineHeight.mobile,
684
+ desktopLineHeight: t.text2.lineHeight.desktop,
678
685
  weight: "regular"
679
686
  },
680
687
  title: {
681
- mobileSize: i.text6.size.mobile,
682
- desktopSize: i.text6.size.desktop,
683
- mobileLineHeight: i.text6.lineHeight.mobile,
684
- desktopLineHeight: i.text6.lineHeight.desktop,
685
- weight: i.text6.weight
688
+ mobileSize: t.text6.size.mobile,
689
+ desktopSize: t.text6.size.desktop,
690
+ mobileLineHeight: t.text6.lineHeight.mobile,
691
+ desktopLineHeight: t.text6.lineHeight.desktop,
692
+ weight: t.text6.weight
686
693
  },
687
694
  subtitle: {
688
- mobileSize: i.text2.size.mobile,
689
- desktopSize: i.text2.size.desktop,
690
- mobileLineHeight: i.text2.lineHeight.mobile,
691
- desktopLineHeight: i.text2.lineHeight.desktop,
695
+ mobileSize: t.text2.size.mobile,
696
+ desktopSize: t.text2.size.desktop,
697
+ mobileLineHeight: t.text2.lineHeight.mobile,
698
+ desktopLineHeight: t.text2.lineHeight.desktop,
692
699
  weight: "regular"
693
700
  },
694
701
  description: {
695
- mobileSize: i.text3.size.mobile,
696
- desktopSize: i.text3.size.desktop,
697
- mobileLineHeight: i.text3.lineHeight.mobile,
698
- desktopLineHeight: i.text3.lineHeight.desktop,
702
+ mobileSize: t.text3.size.mobile,
703
+ desktopSize: t.text3.size.desktop,
704
+ mobileLineHeight: t.text3.lineHeight.mobile,
705
+ desktopLineHeight: t.text3.lineHeight.desktop,
699
706
  weight: "regular"
700
707
  }
701
708
  }
702
- }, N = E[n] || E[M] || E.default, H = D[r] || D.default, P = m ? "0 0 15px rgba(0, 0, 0, 0.4)" : void 0, oe = p && // Read order 2. Visual order 1
709
+ }, 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
703
710
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
704
711
  style: {
705
712
  paddingBottom: 8,
@@ -707,22 +714,22 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
707
714
  },
708
715
  "data-testid": "headline",
709
716
  ref: a,
710
- children: typeof p == "string" ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_tag.default, {
717
+ children: typeof l == "string" ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_tag.default, {
711
718
  type: "promo",
712
- children: p
713
- }) : p
714
- }), C = d && // Read order: 3 or 1. Visual order 2
719
+ children: l
720
+ }) : l
721
+ }), T = d && // Read order: 3 or 1. Visual order 2
715
722
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
716
723
  style: {
717
724
  paddingBottom: 4,
718
725
  order: 2
719
726
  },
720
727
  "data-testid": "pretitle",
721
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, z, H.pretitle), {
728
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, z, w.pretitle), {
722
729
  as: b || "p",
723
- truncate: k,
724
- color: N.pretitle,
725
- textShadow: P,
730
+ truncate: v,
731
+ color: P.pretitle,
732
+ textShadow: A,
726
733
  children: d
727
734
  }))
728
735
  }), _ = u && // Read order: 1 or 3. Visual order 3
@@ -732,26 +739,26 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
732
739
  order: 3
733
740
  },
734
741
  "data-testid": "title",
735
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, z, H.title), {
736
- as: l,
737
- truncate: s,
738
- color: N.title,
739
- textShadow: P,
742
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, z, w.title), {
743
+ as: h,
744
+ truncate: m,
745
+ color: P.title,
746
+ textShadow: A,
740
747
  children: u
741
748
  }))
742
- }), re = h && // Read order: 4. Visual order 4
749
+ }), re = p && // Read order: 4. Visual order 4
743
750
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
744
751
  style: {
745
752
  paddingBottom: 0,
746
753
  order: 4
747
754
  },
748
755
  "data-testid": "subtitle",
749
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, z, H.subtitle), {
756
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, z, w.subtitle), {
750
757
  as: "p",
751
- truncate: S,
752
- color: N.subtitle,
753
- textShadow: P,
754
- children: h
758
+ truncate: x,
759
+ color: P.subtitle,
760
+ textShadow: A,
761
+ children: p
755
762
  }))
756
763
  }), ae = f && // Read order: 5. Visual order 5
757
764
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
@@ -760,18 +767,18 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
760
767
  order: 5
761
768
  },
762
769
  "data-testid": "description",
763
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, z, H.description), {
770
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, z, w.description), {
764
771
  as: "p",
765
- truncate: y,
766
- color: N.description,
767
- textShadow: P,
772
+ truncate: k,
773
+ color: P.description,
774
+ textShadow: A,
768
775
  children: f
769
776
  }))
770
- }), [X, K] = u && (0, _headings.isBiggerHeading)(l, b) ? [
777
+ }), [X, K] = u && (0, _headings.isBiggerHeading)(h, b) ? [
771
778
  _,
772
- C
779
+ T
773
780
  ] : [
774
- C,
781
+ T,
775
782
  _
776
783
  ];
777
784
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
@@ -787,11 +794,11 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
787
794
  ae
788
795
  ]
789
796
  });
790
- }, Zt = [
797
+ }, oi = [
791
798
  _skincontractcssmistica.vars.colors.cardContentOverlay,
792
799
  _skincontractcssmistica.vars.colors.cardFooterOverlay
793
- ], ei = /rgba\([^,]+,\s*[^,]+,\s*[^,]+,\s*([^)]+)\)/g, $e = (e, o)=>e.replace(ei, (a, r)=>(0, _color.applyAlpha)(o, parseFloat(r))), Ii = /*#__PURE__*/ _react.forwardRef((_param, Je)=>{
794
- var { type: e, size: o, backgroundColor: a, imageSrc: r, imageSrcSet: n, imageAlt: p = "", imageFit: u = "fill-center", videoSrc: l, videoRef: s, media: d, mediaAspectRatio: b = "auto", mediaPosition: k = "top", mediaWidth: h = 150, circledImage: S, asset: f, headline: y, title: m, titleAs: i = "h3", titleLinesMax: c, pretitle: M, pretitleAs: z, pretitleLinesMax: E, subtitle: D, subtitleLinesMax: N, description: H, descriptionLinesMax: P, dataAttributes: oe, variant: C, 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 } = _param, A = _object_without_properties(_param, [
800
+ ], ri = /rgba\([^,]+,\s*[^,]+,\s*[^,]+,\s*([^)]+)\)/g, je = (e, o)=>e.replace(ri, (a, r)=>(0, _color.applyAlpha)(o, parseFloat(r))), Pi = /*#__PURE__*/ _react.forwardRef((_param, Ze)=>{
801
+ 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, [
795
802
  "type",
796
803
  "size",
797
804
  "backgroundColor",
@@ -840,32 +847,43 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
840
847
  "aria-labelledby",
841
848
  "aria-description",
842
849
  "aria-describedby",
843
- "gradientOverlayColor"
850
+ "gradientOverlayColor",
851
+ "videoLoop",
852
+ "videoAutoPlay",
853
+ "videoDataAttributes"
844
854
  ]);
845
- const { text: we, ref: Qe } = (0, _hooks.useInnerText)(), { text: He, ref: Ue } = (0, _hooks.useInnerText)(), B = !!(A.href || A.to || A.onPress), ce = !!(ne || de || le), { colorValues: Te } = (0, _hooks.useTheme)(), pe = e === "media" || e === "naked", Ze = pe && (r !== void 0 || n !== void 0), ze = pe && l !== void 0, Ce = Ze || ze, ue = pe && !!d && !Ce, R = Ce || ue, w = e === "naked", x = R ? k : "top", Ie = e === "naked" && S ? 1 : b, he = e === "cover" && (r !== void 0 || n !== void 0), Y = e === "cover" && l !== void 0, Le = !!a || he || Y, V = he || Y, et = ze || Y, { video: De, videoAction: me } = Wt(et ? l : void 0, r, s, e === "cover" || x !== "top" ? !1 : (0, _aspectratiosupport.aspectRatioToNumber)(Ie) === 0), j = (0, _themevariantcontext.useThemeVariant)(), tt = C ? (0, _themevariantcontext.normalizeVariant)(C) : j, I = C && (0, _themevariantcontext.normalizeVariant)(C) || (e === "cover" && Le ? "media" : "default"), it = I === "brand" ? _cardinternalcssmistica.touchableCardOverlayInverse : _cardinternalcssmistica.touchableCardOverlay, L = Xe && (ce || !!ke) || ce && B, Ne = !L && ce, q = ((xe === null || xe === void 0 ? void 0 : xe.length) || 0) + (ye ? 1 : 0), Pe = me ? q + 1 : q, ot = f && !(R && x === "left"), rt = e !== "cover" && Pe > 0 && !ot && !y, $ = e === "cover" || e === "data" && o === "display", F = _skincontractcssmistica.vars.borderRadii.container, at = he || Y ? "transparent" : a || (I === "media" ? j === "brand" || j === "media" || j === "negative" ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverBrand : _skincontractcssmistica.vars.colors.backgroundBrand : I === "alternative" ? _skincontractcssmistica.vars.colors.backgroundAlternative : void 0), nt = Se || (se ? void 0 : (m && (0, _headings.isBiggerHeading)(i, z) ? [
846
- m,
847
- p,
848
- He,
855
+ const { text: He, ref: et } = (0, _hooks.useInnerText)(), { text: we, ref: tt } = (0, _hooks.useInnerText)(), B = !!(V.href || V.to || V.onPress), ce = !!(ne || de || le), { colorValues: Le } = (0, _hooks.useTheme)(), 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({
856
+ src: ot ? h : void 0,
857
+ poster: r,
858
+ ref: m,
859
+ autoHeight: e === "cover" || S !== "top" ? !1 : (0, _aspectratiosupport.aspectRatioToNumber)(Ce) === 0,
860
+ loop: Je,
861
+ autoPlay: Qe,
862
+ dataAttributes: Ue
863
+ }), $ = (0, _themevariantcontext.useThemeVariant)(), rt = T ? (0, _themevariantcontext.normalizeVariant)(T) : $, C = T && (0, _themevariantcontext.normalizeVariant)(T) || (e === "cover" && De ? "media" : "default"), at = C === "brand" ? _cardinternalcssmistica.touchableCardOverlayInverse : _cardinternalcssmistica.touchableCardOverlay, 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 = _skincontractcssmistica.vars.borderRadii.container, lt = he || Y ? "transparent" : a || (C === "media" ? $ === "brand" || $ === "media" || $ === "negative" ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverBrand : _skincontractcssmistica.vars.colors.backgroundBrand : C === "alternative" ? _skincontractcssmistica.vars.colors.backgroundAlternative : void 0), st = Se || (se ? void 0 : (c && (0, _headings.isBiggerHeading)(t, z) ? [
864
+ c,
865
+ l,
866
+ we,
849
867
  M,
850
- D,
851
- H,
852
- we
868
+ N,
869
+ w,
870
+ He
853
871
  ] : [
854
872
  M,
855
- He,
856
- m,
857
- p,
858
- D,
859
- H,
860
- we
861
- ]).filter(Boolean).join(" ")), dt = ()=>W === "transparent" ? [
873
+ we,
874
+ c,
875
+ l,
876
+ N,
877
+ w,
878
+ He
879
+ ]).filter(Boolean).join(" ")), ct = ()=>W === "transparent" ? [
862
880
  "transparent",
863
881
  "transparent"
864
882
  ] : W ? [
865
- $e(Te.cardContentOverlay, W),
866
- $e(Te.cardFooterOverlay, W)
867
- ] : Zt, [lt, st] = dt();
868
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(Et, {
883
+ je(Le.cardContentOverlay, W),
884
+ je(Le.cardFooterOverlay, W)
885
+ ] : oi, [pt, ut] = ct();
886
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_t, {
869
887
  "aria-label": B ? void 0 : Se,
870
888
  "aria-labelledby": B ? void 0 : se,
871
889
  "aria-description": B ? void 0 : Be,
@@ -873,23 +891,23 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
873
891
  type: e,
874
892
  size: o,
875
893
  dataAttributes: oe,
876
- ref: Je,
877
- variant: I,
894
+ ref: Ze,
895
+ variant: C,
878
896
  width: _,
879
897
  height: re,
880
898
  aspectRatio: ae,
881
- backgroundColor: at,
899
+ backgroundColor: lt,
882
900
  children: [
883
- V && /* @__PURE__ */ (0, _jsxruntime.jsx)(jt, {
884
- video: De,
901
+ F && /* @__PURE__ */ (0, _jsxruntime.jsx)(Xt, {
902
+ video: Ie,
885
903
  src: r,
886
904
  srcSet: n,
887
- backgroundVariant: tt
905
+ backgroundVariant: rt
888
906
  }),
889
907
  me && // The video action is placed first in the card reading order, so it is placed outside the other topActions container
890
908
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
891
909
  "data-testid": "videoAction",
892
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(je, {
910
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)($e, {
893
911
  testid: "videoAction",
894
912
  variant: "media",
895
913
  actions: [
@@ -898,37 +916,32 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
898
916
  containerStyles: {
899
917
  position: "absolute",
900
918
  top: 16,
901
- left: x === "left" ? typeof h == "number" ? `calc(${h}px - 48px)` : `calc(${h} - 48px)` : "auto",
902
- right: x !== "left" ? q * 48 + 16 : "auto"
919
+ left: S === "left" ? typeof p == "number" ? `calc(${p}px - 48px)` : `calc(${p} - 48px)` : "auto",
920
+ right: S !== "left" ? q * 48 + 16 : "auto"
903
921
  }
904
922
  })
905
923
  }),
906
924
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
907
925
  maybe: !0,
908
- "aria-label": B ? nt : void 0,
926
+ "aria-label": B ? st : void 0,
909
927
  "aria-labelledby": B ? se : void 0,
910
928
  "aria-description": B ? Be : void 0,
911
929
  "aria-describedby": B ? Re : void 0,
912
930
  className: (0, _classnames.default)(_cardinternalcssmistica.touchable, _cardinternalcssmistica.touchableContainer)
913
- }, A), {
914
- style: {
915
- flexDirection: x === "top" ? "column" : x === "left" ? "row" : "row-reverse",
916
- justifyItems: "stretch",
917
- borderTopLeftRadius: w && !R ? 0 : `calc(${F} - 1px)`,
918
- borderTopRightRadius: w && !R ? 0 : `calc(${F} - 1px)`,
919
- borderBottomLeftRadius: L || w ? 0 : `calc(${F} - 1px)`,
920
- borderBottomRightRadius: L || w ? 0 : `calc(${F} - 1px)`,
921
- overflow: "hidden",
922
- zIndex: 1
923
- },
931
+ }, V), {
924
932
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
933
+ role: V.href || V.to ? "text" : void 0,
934
+ className: _cardinternalcssmistica.touchableContent,
925
935
  style: {
926
- display: "contents"
936
+ flexDirection: S === "top" ? "column" : S === "left" ? "row" : "row-reverse",
937
+ borderTopLeftRadius: H && !R ? 0 : `calc(${O} - 1px)`,
938
+ borderTopRightRadius: H && !R ? 0 : `calc(${O} - 1px)`,
939
+ borderBottomLeftRadius: D || H ? 0 : `calc(${O} - 1px)`,
940
+ borderBottomRightRadius: D || H ? 0 : `calc(${O} - 1px)`
927
941
  },
928
- role: A.href || A.to ? "text" : void 0,
929
942
  children: [
930
943
  B && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
931
- className: it
944
+ className: at
932
945
  }),
933
946
  ue && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
934
947
  style: _object_spread({
@@ -946,33 +959,33 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
946
959
  asset: f,
947
960
  type: e
948
961
  }),
949
- R && /* @__PURE__ */ (0, _jsxruntime.jsx)(Jt, {
962
+ R && /* @__PURE__ */ (0, _jsxruntime.jsx)(ei, {
950
963
  type: e,
951
964
  size: o,
952
- mediaAspectRatio: Ie,
953
- mediaPosition: x,
965
+ mediaAspectRatio: Ce,
966
+ mediaPosition: S,
954
967
  asset: f,
955
- video: De,
968
+ video: Ie,
956
969
  imageFit: u,
957
970
  imageSrc: r,
958
971
  imageSrcSet: n,
959
- imageAlt: p,
960
- mediaWidth: h,
961
- circledImage: S
972
+ imageAlt: l,
973
+ mediaWidth: p,
974
+ circledImage: x
962
975
  }),
963
976
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
964
977
  "aria-hidden": B,
965
978
  "data-testid": "body",
966
979
  className: (0, _classnames.default)(_cardinternalcssmistica.touchable, {
967
- [_cardinternalcssmistica.containerPaddingTopVariants[o]]: !!f && e !== "naked" && (!R || x === "right")
980
+ [_cardinternalcssmistica.containerPaddingTopVariants[o]]: !!f && e !== "naked" && (!R || S === "right")
968
981
  }),
969
982
  children: [
970
- (!R || x === "right") && /* @__PURE__ */ (0, _jsxruntime.jsx)(ee, {
983
+ (!R || S === "right") && /* @__PURE__ */ (0, _jsxruntime.jsx)(ee, {
971
984
  size: o,
972
985
  asset: f,
973
986
  type: e
974
987
  }),
975
- $ && /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {
988
+ j && /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {
976
989
  minHeight: e === "cover" && Pe > 0 && !f ? 56 : 0
977
990
  }),
978
991
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
@@ -980,15 +993,15 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
980
993
  style: {
981
994
  display: "flex",
982
995
  flexDirection: "column",
983
- height: $ ? void 0 : "100%",
984
- background: V ? lt : void 0,
996
+ height: j ? void 0 : "100%",
997
+ background: F ? pt : void 0,
985
998
  // padding overrides for specific cases
986
- paddingTop: $ && V ? 40 : f || w && x !== "top" ? 16 : w && !R ? 0 : void 0,
987
- paddingLeft: w && (x !== "left" || !R) ? 0 : void 0,
988
- paddingRight: w && x !== "right" ? 16 : void 0,
989
- paddingBottom: L ? 16 : w ? 0 : void 0,
990
- borderBottomLeftRadius: L ? 0 : F,
991
- borderBottomRightRadius: L ? 0 : F
999
+ paddingTop: j && F ? 40 : f || H && S !== "top" ? 16 : H && !R ? 0 : void 0,
1000
+ paddingLeft: H && (S !== "left" || !R) ? 0 : void 0,
1001
+ paddingRight: H && S !== "right" ? 16 : void 0,
1002
+ paddingBottom: D ? 16 : H ? 0 : void 0,
1003
+ borderBottomLeftRadius: D ? 0 : O,
1004
+ borderBottomRightRadius: D ? 0 : O
992
1005
  },
993
1006
  children: [
994
1007
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
@@ -996,27 +1009,27 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
996
1009
  children: [
997
1010
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
998
1011
  className: _cardinternalcssmistica.textContent,
999
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(Ut, {
1012
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(ii, {
1000
1013
  type: e,
1001
- hasCustomBackground: Le,
1002
- headlineRef: Ue,
1003
- variant: I,
1014
+ hasCustomBackground: De,
1015
+ headlineRef: tt,
1016
+ variant: C,
1004
1017
  size: o,
1005
- headline: y,
1018
+ headline: k,
1006
1019
  pretitle: M,
1007
1020
  pretitleAs: z,
1008
1021
  pretitleLinesMax: E,
1009
- title: m,
1010
- titleAs: i,
1011
- titleLinesMax: c,
1012
- subtitle: D,
1013
- subtitleLinesMax: N,
1014
- description: H,
1015
- descriptionLinesMax: P,
1016
- withTextShadow: V
1022
+ title: c,
1023
+ titleAs: t,
1024
+ titleLinesMax: s,
1025
+ subtitle: N,
1026
+ subtitleLinesMax: P,
1027
+ description: w,
1028
+ descriptionLinesMax: A,
1029
+ withTextShadow: F
1017
1030
  })
1018
1031
  }),
1019
- rt && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1032
+ dt && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1020
1033
  style: {
1021
1034
  flexShrink: 0,
1022
1035
  flexGrow: 0,
@@ -1027,14 +1040,14 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
1027
1040
  })
1028
1041
  ]
1029
1042
  }),
1030
- !$ && K === "bottom" && /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {}),
1043
+ !j && K === "bottom" && /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {}),
1031
1044
  X && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1032
- ref: Qe,
1045
+ ref: et,
1033
1046
  "data-testid": "slot",
1034
1047
  children: X
1035
1048
  }),
1036
- !$ && K === "content" && Ne && /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {}),
1037
- Ne && /* @__PURE__ */ (0, _jsxruntime.jsx)(Yt, {
1049
+ !j && K === "content" && Ne && /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {}),
1050
+ Ne && /* @__PURE__ */ (0, _jsxruntime.jsx)(Ut, {
1038
1051
  size: o,
1039
1052
  buttonPrimary: ne,
1040
1053
  buttonSecondary: de,
@@ -1047,9 +1060,9 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
1047
1060
  ]
1048
1061
  })
1049
1062
  })),
1050
- L && /* @__PURE__ */ (0, _jsxruntime.jsx)(Qt, {
1063
+ D && /* @__PURE__ */ (0, _jsxruntime.jsx)(ti, {
1051
1064
  type: e,
1052
- variant: I,
1065
+ variant: C,
1053
1066
  footerVariant: We,
1054
1067
  footerBackgroundColor: Ke,
1055
1068
  footerDivider: Ye,
@@ -1058,15 +1071,15 @@ const Et = /*#__PURE__*/ _react.forwardRef((param, h)=>{
1058
1071
  buttonPrimary: ne,
1059
1072
  buttonSecondary: de,
1060
1073
  buttonLink: le,
1061
- hasBackgroundImageOrVideo: V,
1062
- externalVariant: j,
1063
- overlayColor: st
1074
+ hasBackgroundImageOrVideo: F,
1075
+ externalVariant: $,
1076
+ overlayColor: ut
1064
1077
  }),
1065
- /* @__PURE__ */ (0, _jsxruntime.jsx)(je, {
1078
+ /* @__PURE__ */ (0, _jsxruntime.jsx)($e, {
1066
1079
  onClose: ye,
1067
1080
  closeButtonLabel: qe,
1068
1081
  actions: xe,
1069
- variant: V || R && x !== "left" ? "media" : I
1082
+ variant: F || R && S !== "left" ? "media" : C
1070
1083
  })
1071
1084
  ]
1072
1085
  });