@telefonica/mistica 14.47.0 → 15.0.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 (88) hide show
  1. package/README.md +1 -3
  2. package/css/mistica.css +1 -1
  3. package/dist/accordion.d.ts +1 -6
  4. package/dist/button-fixed-footer-layout.js +9 -11
  5. package/dist/button-layout.css-mistica.js +10 -19
  6. package/dist/button-layout.css.d.ts +3 -6
  7. package/dist/button-layout.d.ts +5 -0
  8. package/dist/button-layout.js +41 -26
  9. package/dist/button.d.ts +0 -4
  10. package/dist/button.js +1 -1
  11. package/dist/card.d.ts +2 -0
  12. package/dist/card.js +220 -208
  13. package/dist/cvv-field.js +30 -29
  14. package/dist/dialog.js +31 -33
  15. package/dist/feedback.js +61 -79
  16. package/dist/form-context.js +49 -40
  17. package/dist/form.js +10 -10
  18. package/dist/icon-button.d.ts +0 -1
  19. package/dist/icons/icon-error.js +5 -5
  20. package/dist/icons/icon-info.js +5 -5
  21. package/dist/icons/icon-success.js +6 -7
  22. package/dist/image.js +36 -32
  23. package/dist/index.d.ts +3 -12
  24. package/dist/index.js +0 -20
  25. package/dist/list.d.ts +0 -4
  26. package/dist/logo.js +0 -1
  27. package/dist/package-version.js +1 -1
  28. package/dist/popover.d.ts +0 -4
  29. package/dist/popover.js +10 -11
  30. package/dist/select.d.ts +1 -0
  31. package/dist/select.js +65 -65
  32. package/dist/sheet.js +6 -8
  33. package/dist/skins/blau.js +1 -1
  34. package/dist/skins/constants.d.ts +0 -2
  35. package/dist/skins/constants.js +6 -12
  36. package/dist/skins/movistar.js +1 -1
  37. package/dist/skins/o2.js +1 -1
  38. package/dist/skins/telefonica.js +1 -1
  39. package/dist/skins/tu.js +1 -1
  40. package/dist/skins/types/index.d.ts +1 -1
  41. package/dist/skins/utils.js +4 -7
  42. package/dist/skins/vivo-new.js +1 -1
  43. package/dist/skins/vivo.js +1 -1
  44. package/dist/slider.d.ts +0 -8
  45. package/dist/slider.js +95 -97
  46. package/dist/tag.js +34 -39
  47. package/dist/tooltip.d.ts +0 -16
  48. package/dist/tooltip.js +78 -79
  49. package/dist-es/button-fixed-footer-layout.js +18 -20
  50. package/dist-es/button-layout.css-mistica.js +7 -7
  51. package/dist-es/button-layout.js +49 -34
  52. package/dist-es/button.js +1 -1
  53. package/dist-es/card.js +354 -342
  54. package/dist-es/cvv-field.js +55 -54
  55. package/dist-es/dialog.js +39 -41
  56. package/dist-es/feedback.js +102 -120
  57. package/dist-es/form-context.js +54 -45
  58. package/dist-es/form.js +13 -13
  59. package/dist-es/icons/icon-error.js +6 -6
  60. package/dist-es/icons/icon-info.js +6 -6
  61. package/dist-es/icons/icon-success.js +9 -10
  62. package/dist-es/image.js +38 -34
  63. package/dist-es/index.js +1767 -1769
  64. package/dist-es/logo.js +0 -1
  65. package/dist-es/package-version.js +1 -1
  66. package/dist-es/popover.js +27 -28
  67. package/dist-es/select.js +97 -97
  68. package/dist-es/sheet.js +9 -11
  69. package/dist-es/skins/blau.js +1 -1
  70. package/dist-es/skins/constants.js +2 -2
  71. package/dist-es/skins/movistar.js +1 -1
  72. package/dist-es/skins/o2.js +1 -1
  73. package/dist-es/skins/telefonica.js +1 -1
  74. package/dist-es/skins/tu.js +1 -1
  75. package/dist-es/skins/utils.js +17 -20
  76. package/dist-es/skins/vivo-new.js +1 -1
  77. package/dist-es/skins/vivo.js +1 -1
  78. package/dist-es/slider.js +117 -119
  79. package/dist-es/style.css +1 -1
  80. package/dist-es/tag.js +52 -57
  81. package/dist-es/tooltip.js +83 -84
  82. package/package.json +1 -1
  83. package/dist/skins/movistar-legacy.d.ts +0 -47
  84. package/dist/skins/movistar-legacy.js +0 -392
  85. package/dist/skins/o2-classic.d.ts +0 -56
  86. package/dist/skins/o2-classic.js +0 -324
  87. package/dist-es/skins/movistar-legacy.js +0 -375
  88. package/dist-es/skins/o2-classic.js +0 -307
package/dist/card.js CHANGED
@@ -11,37 +11,37 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  CardActionIconButton: function() {
14
- return Ue;
14
+ return Ze;
15
15
  },
16
16
  CardActionSpinner: function() {
17
- return er;
17
+ return ar;
18
18
  },
19
19
  CardActionsGroup: function() {
20
- return K;
20
+ return J;
21
21
  },
22
22
  DataCard: function() {
23
- return Dr;
23
+ return Pr;
24
24
  },
25
25
  DisplayDataCard: function() {
26
- return Pr;
26
+ return Gr;
27
27
  },
28
28
  DisplayMediaCard: function() {
29
- return Hr;
29
+ return Vr;
30
30
  },
31
31
  MediaCard: function() {
32
- return wr;
32
+ return zr;
33
33
  },
34
34
  NakedCard: function() {
35
- return Mr;
35
+ return Dr;
36
36
  },
37
37
  PosterCard: function() {
38
- return Vr;
38
+ return Er;
39
39
  },
40
40
  SmallNakedCard: function() {
41
- return zr;
41
+ return Or;
42
42
  },
43
43
  SnapCard: function() {
44
- return Or;
44
+ return Hr;
45
45
  }
46
46
  });
47
47
  const _jsxruntime = require("react/jsx-runtime");
@@ -197,17 +197,17 @@ function _object_without_properties_loose(source, excluded) {
197
197
  }
198
198
  return target;
199
199
  }
200
- const ke = (r, a)=>{
201
- const { texts: n } = (0, _hooks.useTheme)(), o = r ? [
200
+ const Ie = (r, a)=>{
201
+ const { texts: n } = (0, _hooks.useTheme)(), s = r ? [
202
202
  ...r
203
203
  ] : [];
204
- return a && o.push({
204
+ return a && s.push({
205
205
  label: n.closeButtonLabel,
206
206
  onPress: a,
207
207
  Icon: _iconcloseregular.default
208
- }), o;
209
- }, Ie = /*#__PURE__*/ _react.createContext("default"), Ue = (r)=>{
210
- const a = _react.useContext(Ie);
208
+ }), s;
209
+ }, xe = /*#__PURE__*/ _react.createContext("default"), Ze = (r)=>{
210
+ const a = _react.useContext(xe);
211
211
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
212
212
  isInverse: a === "inverse",
213
213
  children: r.Icon ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconbutton.InternalIconButton, _object_spread_props(_object_spread({}, r), {
@@ -233,11 +233,11 @@ const ke = (r, a)=>{
233
233
  hasInteractiveAreaBleed: !0
234
234
  }))
235
235
  });
236
- }, K = (param)=>{
237
- let { actions: r, padding: a = 16, onClose: n, type: o = "default" } = param;
238
- const c = ke(r, n);
239
- return c.length > 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(Ie.Provider, {
240
- value: o,
236
+ }, J = (param)=>{
237
+ let { actions: r, padding: a = 16, onClose: n, type: s = "default" } = param;
238
+ const c = Ie(r, n);
239
+ return c.length > 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(xe.Provider, {
240
+ value: s,
241
241
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
242
242
  style: {
243
243
  position: "absolute",
@@ -247,19 +247,19 @@ const ke = (r, a)=>{
247
247
  },
248
248
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_inline.default, {
249
249
  space: 16,
250
- children: c.map((d, l)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ (0, _jsxruntime.jsx)(Ue, _object_spread({}, d), l) : d)
250
+ children: c.map((d, l)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ (0, _jsxruntime.jsx)(Ze, _object_spread({}, d), l) : d)
251
251
  })
252
252
  })
253
253
  }) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {});
254
- }, Ye = (r)=>r ? typeof r == "number" ? r : ({
254
+ }, _e = (r)=>r ? typeof r == "number" ? r : ({
255
255
  "1:1": 1,
256
256
  "16:9": 16 / 9,
257
257
  "7:10": 7 / 10,
258
258
  "9:10": 9 / 10,
259
259
  auto: 0
260
- })[r] : 0, j = /*#__PURE__*/ _react.forwardRef((param, l)=>{
261
- let { children: r, width: a, height: n, aspectRatio: o, dataAttributes: c, className: t, "aria-label": d } = param;
262
- const u = a && n ? void 0 : Ye(o);
260
+ })[r] : 0, E = /*#__PURE__*/ _react.forwardRef((param, l)=>{
261
+ let { children: r, width: a, height: n, aspectRatio: s, dataAttributes: c, className: t, "aria-label": d } = param;
262
+ const p = a && n ? void 0 : _e(s);
263
263
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("section", _object_spread_props(_object_spread({}, (0, _dom.getPrefixedDataAttributes)(c)), {
264
264
  ref: l,
265
265
  "aria-label": d,
@@ -267,8 +267,8 @@ const ke = (r, a)=>{
267
267
  style: _object_spread({
268
268
  width: a || "100%",
269
269
  height: n || "100%"
270
- }, u ? (0, _css.applyCssVars)({
271
- [_cardcssmistica.vars.aspectRatio]: String(u)
270
+ }, p ? (0, _css.applyCssVars)({
271
+ [_cardcssmistica.vars.aspectRatio]: String(p)
272
272
  }) : {}),
273
273
  children: r
274
274
  }));
@@ -276,7 +276,7 @@ const ke = (r, a)=>{
276
276
  width: "100%",
277
277
  height: "100%",
278
278
  src: r || ""
279
- }), Ze = {
279
+ }), er = {
280
280
  loading: {
281
281
  showSpinner: "loadingTimeout",
282
282
  play: "playing",
@@ -302,32 +302,32 @@ const ke = (r, a)=>{
302
302
  error: {
303
303
  reset: "loading"
304
304
  }
305
- }, _e = (r, a)=>Ze[r][a] || r, er = (param)=>{
305
+ }, rr = (r, a)=>er[r][a] || r, ar = (param)=>{
306
306
  let { color: r } = param;
307
307
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_spinner.default, {
308
308
  color: r,
309
309
  size: 16,
310
310
  delay: "0"
311
311
  });
312
- }, rr = (param)=>{
312
+ }, ir = (param)=>{
313
313
  let { color: r } = param;
314
314
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconpausefilled.default, {
315
315
  color: r,
316
316
  size: 12
317
317
  });
318
- }, ar = (param)=>{
318
+ }, nr = (param)=>{
319
319
  let { color: r } = param;
320
320
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconplayfilled.default, {
321
321
  color: r,
322
322
  size: 12
323
323
  });
324
- }, xe = (r, a, n)=>{
325
- const { texts: o } = (0, _hooks.useTheme)(), c = _react.useRef(null), [t, d] = _react.useReducer(_e, "loading");
324
+ }, Se = (r, a, n)=>{
325
+ const { texts: s } = (0, _hooks.useTheme)(), c = _react.useRef(null), [t, d] = _react.useReducer(rr, "loading");
326
326
  _react.useEffect(()=>{
327
327
  var h;
328
- const s = setTimeout(()=>d("showSpinner"), 2e3);
328
+ const o = setTimeout(()=>d("showSpinner"), 2e3);
329
329
  return (h = c.current) == null || h.load(), ()=>{
330
- clearTimeout(s), d("reset");
330
+ clearTimeout(o), d("reset");
331
331
  };
332
332
  }, [
333
333
  r
@@ -345,23 +345,23 @@ const ke = (r, a)=>{
345
345
  n,
346
346
  r,
347
347
  a
348
- ]), u = ()=>{
349
- const s = c.current;
350
- s && (t === "loading" ? d("showSpinner") : t === "paused" ? s.play() : t === "playing" && s.pause());
348
+ ]), p = ()=>{
349
+ const o = c.current;
350
+ o && (t === "loading" ? d("showSpinner") : t === "paused" ? o.play() : t === "playing" && o.pause());
351
351
  };
352
352
  if (t === "error") return {
353
353
  video: l
354
354
  };
355
355
  const m = {
356
356
  uncheckedProps: {
357
- Icon: t === "loadingTimeout" && !(0, _platform.isRunningAcceptanceTest)() ? er : rr,
358
- label: t === "loadingTimeout" ? "" : o.pauseIconButtonLabel
357
+ Icon: t === "loadingTimeout" && !(0, _platform.isRunningAcceptanceTest)() ? ar : ir,
358
+ label: t === "loadingTimeout" ? "" : s.pauseIconButtonLabel
359
359
  },
360
360
  checkedProps: {
361
- Icon: ar,
362
- label: o.playIconButtonLabel
361
+ Icon: nr,
362
+ label: s.playIconButtonLabel
363
363
  },
364
- onChange: u,
364
+ onChange: p,
365
365
  disabled: t === "loadingTimeout",
366
366
  checked: t === "paused"
367
367
  };
@@ -370,8 +370,8 @@ const ke = (r, a)=>{
370
370
  videoAction: m
371
371
  };
372
372
  }, se = (param)=>{
373
- let { headline: r, pretitle: a, pretitleLinesMax: n, title: o, titleLinesMax: c, subtitle: t, subtitleLinesMax: d, description: l, descriptionLinesMax: u, extra: m, button: s, buttonLink: h } = param;
374
- const { textPresets: f } = (0, _hooks.useTheme)(), y = ()=>r ? typeof r == "string" ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_tag.default, {
373
+ let { headline: r, pretitle: a, pretitleLinesMax: n, title: s, titleLinesMax: c, subtitle: t, subtitleLinesMax: d, description: l, descriptionLinesMax: p, extra: m, button: o, buttonLink: h } = param;
374
+ const { textPresets: f } = (0, _hooks.useTheme)(), g = ()=>r ? typeof r == "string" ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_tag.default, {
375
375
  type: "promo",
376
376
  children: r
377
377
  }) : r : null;
@@ -388,11 +388,11 @@ const ke = (r, a)=>{
388
388
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
389
389
  space: 8,
390
390
  children: [
391
- (r || a || o || t) && /* @__PURE__ */ (0, _jsxruntime.jsx)("header", {
391
+ (r || a || s || t) && /* @__PURE__ */ (0, _jsxruntime.jsx)("header", {
392
392
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
393
393
  space: 8,
394
394
  children: [
395
- y(),
395
+ g(),
396
396
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
397
397
  space: 4,
398
398
  children: [
@@ -412,7 +412,7 @@ const ke = (r, a)=>{
412
412
  weight: f.cardTitle.weight,
413
413
  as: "h3",
414
414
  hyphens: "auto",
415
- children: o
415
+ children: s
416
416
  }),
417
417
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
418
418
  truncate: d,
@@ -427,7 +427,7 @@ const ke = (r, a)=>{
427
427
  })
428
428
  }),
429
429
  l && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
430
- truncate: u,
430
+ truncate: p,
431
431
  as: "p",
432
432
  regular: !0,
433
433
  color: _skincontractcssmistica.vars.colors.textSecondary,
@@ -441,17 +441,17 @@ const ke = (r, a)=>{
441
441
  })
442
442
  ]
443
443
  }),
444
- (s || h) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
444
+ (o || h) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
445
445
  className: _cardcssmistica.actions,
446
446
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
447
- primaryButton: s,
447
+ primaryButton: o,
448
448
  link: h
449
449
  })
450
450
  })
451
451
  ]
452
452
  });
453
- }, wr = /*#__PURE__*/ _react.forwardRef((_param, M)=>{
454
- var { media: r, icon: a, headline: n, pretitle: o, pretitleLinesMax: c, subtitle: t, subtitleLinesMax: d, title: l, titleLinesMax: u, description: m, descriptionLinesMax: s, extra: h, actions: f, button: y, buttonLink: S, dataAttributes: T, "aria-label": N, onClose: b } = _param, v = _object_without_properties(_param, [
453
+ }, zr = /*#__PURE__*/ _react.forwardRef((_param, A)=>{
454
+ var { media: r, icon: a, headline: n, pretitle: s, pretitleLinesMax: c, subtitle: t, subtitleLinesMax: d, title: l, titleLinesMax: p, description: m, descriptionLinesMax: o, extra: h, actions: f, button: g, buttonLink: S, dataAttributes: I, "aria-label": k, onClose: N } = _param, y = _object_without_properties(_param, [
455
455
  "media",
456
456
  "icon",
457
457
  "headline",
@@ -471,13 +471,13 @@ const ke = (r, a)=>{
471
471
  "aria-label",
472
472
  "onClose"
473
473
  ]);
474
- const A = v.href || v.to || v.onPress;
475
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(j, {
474
+ const R = y.href || y.to || y.onPress;
475
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(E, {
476
476
  dataAttributes: _object_spread({
477
477
  "component-name": "MediaCard"
478
- }, T),
479
- ref: M,
480
- "aria-label": N,
478
+ }, I),
479
+ ref: A,
480
+ "aria-label": k,
481
481
  className: _cardcssmistica.touchableContainer,
482
482
  children: [
483
483
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.Boxed, {
@@ -486,11 +486,11 @@ const ke = (r, a)=>{
486
486
  height: "100%",
487
487
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
488
488
  maybe: !0
489
- }, v), {
489
+ }, y), {
490
490
  className: _cardcssmistica.touchable,
491
- "aria-label": N,
491
+ "aria-label": k,
492
492
  children: [
493
- A && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
493
+ R && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
494
494
  className: _cardcssmistica.touchableMediaCardOverlay
495
495
  }),
496
496
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
@@ -506,16 +506,16 @@ const ke = (r, a)=>{
506
506
  className: _cardcssmistica.mediaCardContent,
507
507
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(se, {
508
508
  headline: n,
509
- pretitle: o,
509
+ pretitle: s,
510
510
  pretitleLinesMax: c,
511
511
  title: l,
512
- titleLinesMax: u,
512
+ titleLinesMax: p,
513
513
  subtitle: t,
514
514
  subtitleLinesMax: d,
515
515
  description: m,
516
- descriptionLinesMax: s,
516
+ descriptionLinesMax: o,
517
517
  extra: h,
518
- button: y,
518
+ button: g,
519
519
  buttonLink: S
520
520
  })
521
521
  }),
@@ -541,15 +541,15 @@ const ke = (r, a)=>{
541
541
  ]
542
542
  }))
543
543
  }),
544
- /* @__PURE__ */ (0, _jsxruntime.jsx)(K, {
545
- onClose: b,
544
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(J, {
545
+ onClose: N,
546
546
  actions: f,
547
547
  type: "media"
548
548
  })
549
549
  ]
550
550
  });
551
- }), Mr = /*#__PURE__*/ _react.forwardRef((_param, M)=>{
552
- var { media: r, icon: a, headline: n, pretitle: o, pretitleLinesMax: c, subtitle: t, subtitleLinesMax: d, title: l, titleLinesMax: u, description: m, descriptionLinesMax: s, extra: h, actions: f, button: y, buttonLink: S, dataAttributes: T, "aria-label": N, onClose: b } = _param, v = _object_without_properties(_param, [
551
+ }), Dr = /*#__PURE__*/ _react.forwardRef((_param, A)=>{
552
+ var { media: r, icon: a, headline: n, pretitle: s, pretitleLinesMax: c, subtitle: t, subtitleLinesMax: d, title: l, titleLinesMax: p, description: m, descriptionLinesMax: o, extra: h, actions: f, button: g, buttonLink: S, dataAttributes: I, "aria-label": k, onClose: N } = _param, y = _object_without_properties(_param, [
553
553
  "media",
554
554
  "icon",
555
555
  "headline",
@@ -569,20 +569,20 @@ const ke = (r, a)=>{
569
569
  "aria-label",
570
570
  "onClose"
571
571
  ]);
572
- const A = v.href || v.to || v.onPress, O = r && r.type === _image.default && r.props.circular;
573
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(j, {
574
- ref: M,
572
+ const R = y.href || y.to || y.onPress, D = r && r.type === _image.default && r.props.circular;
573
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(E, {
574
+ ref: A,
575
575
  dataAttributes: _object_spread({
576
576
  "component-name": "NakedCard"
577
- }, T),
578
- "aria-label": N,
579
- className: A ? _cardcssmistica.touchableContainer : void 0,
577
+ }, I),
578
+ "aria-label": k,
579
+ className: R ? _cardcssmistica.touchableContainer : void 0,
580
580
  children: [
581
581
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
582
582
  maybe: !0
583
- }, v), {
583
+ }, y), {
584
584
  className: _cardcssmistica.touchable,
585
- "aria-label": N,
585
+ "aria-label": k,
586
586
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
587
587
  className: _cardcssmistica.mediaCard,
588
588
  children: [
@@ -591,9 +591,9 @@ const ke = (r, a)=>{
591
591
  position: "relative"
592
592
  },
593
593
  children: [
594
- A && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
594
+ R && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
595
595
  className: (0, _classnames.default)(_cardcssmistica.touchableNakedMediaOverlay, {
596
- [_cardcssmistica.circularMediaOverlay]: O
596
+ [_cardcssmistica.circularMediaOverlay]: D
597
597
  })
598
598
  }),
599
599
  r
@@ -603,16 +603,16 @@ const ke = (r, a)=>{
603
603
  className: _cardcssmistica.nakedCardContent,
604
604
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(se, {
605
605
  headline: n,
606
- pretitle: o,
606
+ pretitle: s,
607
607
  pretitleLinesMax: c,
608
608
  title: l,
609
- titleLinesMax: u,
609
+ titleLinesMax: p,
610
610
  subtitle: t,
611
611
  subtitleLinesMax: d,
612
612
  description: m,
613
- descriptionLinesMax: s,
613
+ descriptionLinesMax: o,
614
614
  extra: h,
615
- button: y,
615
+ button: g,
616
616
  buttonLink: S
617
617
  })
618
618
  }),
@@ -636,15 +636,15 @@ const ke = (r, a)=>{
636
636
  ]
637
637
  })
638
638
  })),
639
- /* @__PURE__ */ (0, _jsxruntime.jsx)(K, {
640
- onClose: b,
639
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(J, {
640
+ onClose: N,
641
641
  actions: f,
642
642
  type: "media"
643
643
  })
644
644
  ]
645
645
  });
646
- }), zr = /*#__PURE__*/ _react.forwardRef((_param, h)=>{
647
- var { media: r, title: a, titleLinesMax: n, subtitle: o, subtitleLinesMax: c, description: t, descriptionLinesMax: d, extra: l, dataAttributes: u, "aria-label": m } = _param, s = _object_without_properties(_param, [
646
+ }), Or = /*#__PURE__*/ _react.forwardRef((_param, h)=>{
647
+ var { media: r, title: a, titleLinesMax: n, subtitle: s, subtitleLinesMax: c, description: t, descriptionLinesMax: d, extra: l, dataAttributes: p, "aria-label": m } = _param, o = _object_without_properties(_param, [
648
648
  "media",
649
649
  "title",
650
650
  "titleLinesMax",
@@ -656,17 +656,17 @@ const ke = (r, a)=>{
656
656
  "dataAttributes",
657
657
  "aria-label"
658
658
  ]);
659
- const f = s.href || s.to || s.onPress, y = r && r.type === _image.default && r.props.circular;
660
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(j, {
659
+ const f = o.href || o.to || o.onPress, g = r && r.type === _image.default && r.props.circular;
660
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(E, {
661
661
  ref: h,
662
662
  dataAttributes: _object_spread({
663
663
  "component-name": "SmallNakedCard"
664
- }, u),
664
+ }, p),
665
665
  "aria-label": m,
666
666
  className: f ? _cardcssmistica.touchableContainer : void 0,
667
667
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
668
668
  maybe: !0
669
- }, s), {
669
+ }, o), {
670
670
  className: _cardcssmistica.touchable,
671
671
  "aria-label": m,
672
672
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
@@ -679,7 +679,7 @@ const ke = (r, a)=>{
679
679
  children: [
680
680
  f && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
681
681
  className: (0, _classnames.default)(_cardcssmistica.touchableNakedMediaOverlay, {
682
- [_cardcssmistica.circularMediaOverlay]: y
682
+ [_cardcssmistica.circularMediaOverlay]: g
683
683
  })
684
684
  }),
685
685
  r
@@ -700,12 +700,12 @@ const ke = (r, a)=>{
700
700
  hyphens: "auto",
701
701
  children: a
702
702
  }),
703
- o && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
703
+ s && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
704
704
  truncate: c,
705
705
  regular: !0,
706
706
  as: "p",
707
707
  hyphens: "auto",
708
- children: o
708
+ children: s
709
709
  })
710
710
  ]
711
711
  }),
@@ -728,8 +728,8 @@ const ke = (r, a)=>{
728
728
  })
729
729
  }))
730
730
  });
731
- }), Dr = /*#__PURE__*/ _react.forwardRef((_param, M)=>{
732
- var { icon: r, headline: a, pretitle: n, pretitleLinesMax: o, title: c, titleLinesMax: t, subtitle: d, subtitleLinesMax: l, description: u, descriptionLinesMax: m, extra: s, actions: h, button: f, buttonLink: y, dataAttributes: S, "aria-label": T, onClose: N, aspectRatio: b } = _param, v = _object_without_properties(_param, [
731
+ }), Pr = /*#__PURE__*/ _react.forwardRef((_param, A)=>{
732
+ var { icon: r, headline: a, pretitle: n, pretitleLinesMax: s, title: c, titleLinesMax: t, subtitle: d, subtitleLinesMax: l, description: p, descriptionLinesMax: m, extra: o, actions: h, button: f, buttonLink: g, dataAttributes: S, "aria-label": I, onClose: k, aspectRatio: N } = _param, y = _object_without_properties(_param, [
733
733
  "icon",
734
734
  "headline",
735
735
  "pretitle",
@@ -749,15 +749,15 @@ const ke = (r, a)=>{
749
749
  "onClose",
750
750
  "aspectRatio"
751
751
  ]);
752
- const A = !!r || !!a, O = v.href || v.to || v.onPress, H = ke(h, N);
753
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(j, {
752
+ const R = !!r || !!a, D = y.href || y.to || y.onPress, j = Ie(h, k);
753
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(E, {
754
754
  dataAttributes: _object_spread({
755
755
  "component-name": "DataCard"
756
756
  }, S),
757
- ref: M,
758
- "aria-label": T,
757
+ ref: A,
758
+ "aria-label": I,
759
759
  className: _cardcssmistica.touchableContainer,
760
- aspectRatio: b,
760
+ aspectRatio: N,
761
761
  children: [
762
762
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.Boxed, {
763
763
  className: _cardcssmistica.boxed,
@@ -765,11 +765,11 @@ const ke = (r, a)=>{
765
765
  minHeight: "100%",
766
766
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
767
767
  maybe: !0
768
- }, v), {
768
+ }, y), {
769
769
  className: _cardcssmistica.touchable,
770
- "aria-label": T,
770
+ "aria-label": I,
771
771
  children: [
772
- O && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
772
+ D && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
773
773
  className: _cardcssmistica.touchableCardOverlay
774
774
  }),
775
775
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
@@ -790,32 +790,32 @@ const ke = (r, a)=>{
790
790
  /* @__PURE__ */ (0, _jsxruntime.jsx)(se, {
791
791
  headline: a,
792
792
  pretitle: n,
793
- pretitleLinesMax: o,
793
+ pretitleLinesMax: s,
794
794
  title: c,
795
795
  titleLinesMax: t,
796
796
  subtitle: d,
797
797
  subtitleLinesMax: l,
798
- description: u,
798
+ description: p,
799
799
  descriptionLinesMax: m
800
800
  })
801
801
  ]
802
802
  }),
803
- !A && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
803
+ !R && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
804
804
  style: (0, _css.applyCssVars)({
805
- [_cardcssmistica.vars.topActionsCount]: String(H.length)
805
+ [_cardcssmistica.vars.topActionsCount]: String(j.length)
806
806
  }),
807
807
  className: _cardcssmistica.dataCardTopActionsWithoutIcon
808
808
  })
809
809
  ]
810
810
  }),
811
- s && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
812
- children: s
811
+ o && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
812
+ children: o
813
813
  }),
814
- (f || y) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
814
+ (f || g) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
815
815
  className: _cardcssmistica.actions,
816
816
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
817
817
  primaryButton: f,
818
- link: y
818
+ link: g
819
819
  })
820
820
  })
821
821
  ]
@@ -823,15 +823,15 @@ const ke = (r, a)=>{
823
823
  ]
824
824
  }))
825
825
  }),
826
- /* @__PURE__ */ (0, _jsxruntime.jsx)(K, {
827
- onClose: N,
826
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(J, {
827
+ onClose: k,
828
828
  actions: h,
829
829
  type: "default"
830
830
  })
831
831
  ]
832
832
  });
833
- }), Or = /*#__PURE__*/ _react.forwardRef((_param, h)=>{
834
- var { icon: r, title: a, titleLinesMax: n, subtitle: o, subtitleLinesMax: c, dataAttributes: t, "aria-label": d, extra: l, isInverse: u = !1, aspectRatio: m } = _param, s = _object_without_properties(_param, [
833
+ }), Hr = /*#__PURE__*/ _react.forwardRef((_param, h)=>{
834
+ var { icon: r, title: a, titleLinesMax: n, subtitle: s, subtitleLinesMax: c, dataAttributes: t, "aria-label": d, extra: l, isInverse: p = !1, aspectRatio: m } = _param, o = _object_without_properties(_param, [
835
835
  "icon",
836
836
  "title",
837
837
  "titleLinesMax",
@@ -843,8 +843,8 @@ const ke = (r, a)=>{
843
843
  "isInverse",
844
844
  "aspectRatio"
845
845
  ]);
846
- const f = s.href || s.to || s.onPress, y = u ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay;
847
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(j, {
846
+ const f = o.href || o.to || o.onPress, g = p ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay;
847
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(E, {
848
848
  dataAttributes: _object_spread({
849
849
  "component-name": "SnapCard"
850
850
  }, t),
@@ -853,17 +853,17 @@ const ke = (r, a)=>{
853
853
  aspectRatio: m,
854
854
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.Boxed, {
855
855
  className: _cardcssmistica.boxed,
856
- isInverse: u,
856
+ isInverse: p,
857
857
  width: "100%",
858
858
  minHeight: "100%",
859
859
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
860
860
  maybe: !0
861
- }, s), {
861
+ }, o), {
862
862
  className: _cardcssmistica.touchable,
863
863
  "aria-label": d,
864
864
  children: [
865
865
  f && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
866
- className: y
866
+ className: g
867
867
  }),
868
868
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("section", {
869
869
  className: _cardcssmistica.snapCard,
@@ -889,13 +889,13 @@ const ke = (r, a)=>{
889
889
  hyphens: "auto",
890
890
  children: a
891
891
  }),
892
- o && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
892
+ s && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
893
893
  truncate: c,
894
894
  regular: !0,
895
895
  color: _skincontractcssmistica.vars.colors.textSecondary,
896
896
  as: "p",
897
897
  hyphens: "auto",
898
- children: o
898
+ children: s
899
899
  })
900
900
  ]
901
901
  })
@@ -910,8 +910,8 @@ const ke = (r, a)=>{
910
910
  }))
911
911
  })
912
912
  });
913
- }), Se = /*#__PURE__*/ _react.forwardRef((_param, k)=>{
914
- var { isInverse: r, backgroundImage: a, backgroundVideo: n, backgroundVideoRef: o, poster: c, icon: t, headline: d, pretitle: l, pretitleLinesMax: u, title: m, titleLinesMax: s, description: h, descriptionLinesMax: f, extra: y, button: S, secondaryButton: T, onClose: N, actions: b, buttonLink: v, dataAttributes: M, width: A, height: O, aspectRatio: H, "aria-label": L } = _param, I = _object_without_properties(_param, [
913
+ }), Ae = /*#__PURE__*/ _react.forwardRef((_param, U)=>{
914
+ var { isInverse: r, backgroundImage: a, backgroundVideo: n, backgroundVideoRef: s, poster: c, icon: t, headline: d, pretitle: l, pretitleLinesMax: p, title: m, titleLinesMax: o, description: h, descriptionLinesMax: f, extra: g, button: S, secondaryButton: I, onClose: k, actions: N, buttonLink: y, dataAttributes: A, width: R, height: D, aspectRatio: j, "aria-label": F } = _param, M = _object_without_properties(_param, [
915
915
  "isInverse",
916
916
  "backgroundImage",
917
917
  "backgroundVideo",
@@ -937,18 +937,18 @@ const ke = (r, a)=>{
937
937
  "aspectRatio",
938
938
  "aria-label"
939
939
  ]);
940
- const P = a !== void 0, B = n !== void 0, Q = Be(a), { video: W, videoAction: z } = xe(n, c, o);
941
- B && (b = z ? [
942
- z
940
+ const x = a !== void 0, v = n !== void 0, Y = Be(a), { video: Z, videoAction: W } = Se(n, c, s);
941
+ v && (N = W ? [
942
+ W
943
943
  ] : []);
944
- const $ = (0, _themevariantcontext.useIsInverseVariant)(), R = P || B, q = R ? "0 0 16px rgba(0,0,0,0.4)" : void 0, U = (b == null ? void 0 : b.length) || N, F = I.href || I.to || I.onPress, _ = P || B ? _cardcssmistica.touchableCardOverlayMedia : r ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay;
945
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(j, {
946
- dataAttributes: M,
947
- ref: k,
948
- width: A,
949
- height: O,
950
- aspectRatio: H,
951
- "aria-label": L,
944
+ const X = (0, _themevariantcontext.useIsInverseVariant)(), C = x || v, O = C ? "0 0 16px rgba(0,0,0,0.4)" : void 0, $ = (N == null ? void 0 : N.length) || k, _ = M.href || M.to || M.onPress, ee = x || v ? _cardcssmistica.touchableCardOverlayMedia : r ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay;
945
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(E, {
946
+ dataAttributes: A,
947
+ ref: U,
948
+ width: R,
949
+ height: D,
950
+ aspectRatio: j,
951
+ "aria-label": F,
952
952
  className: _cardcssmistica.touchableContainer,
953
953
  children: [
954
954
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.InternalBoxed, {
@@ -957,30 +957,30 @@ const ke = (r, a)=>{
957
957
  width: "100%",
958
958
  minHeight: "100%",
959
959
  isInverse: r,
960
- background: P || B ? $ ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundContainer : void 0,
960
+ background: x || v ? X ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundContainer : void 0,
961
961
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
962
962
  maybe: !0
963
- }, I), {
963
+ }, M), {
964
964
  className: _cardcssmistica.touchable,
965
- "aria-label": L,
965
+ "aria-label": F,
966
966
  children: [
967
- F && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
968
- className: _
967
+ _ && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
968
+ className: ee
969
969
  }),
970
970
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
971
971
  className: _cardcssmistica.displayCardContainer,
972
972
  children: [
973
- (P || B) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
974
- isInverse: $,
973
+ (x || v) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
974
+ isInverse: X,
975
975
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
976
976
  className: _cardcssmistica.displayCardBackground,
977
- children: B ? W : Q
977
+ children: v ? Z : Y
978
978
  })
979
979
  }),
980
980
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
981
981
  className: _cardcssmistica.displayCardContent,
982
982
  style: {
983
- paddingTop: R && !t && !U && !B ? 0 : 24
983
+ paddingTop: C && !t && !$ && !v ? 0 : 24
984
984
  },
985
985
  children: [
986
986
  t ? /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
@@ -988,18 +988,18 @@ const ke = (r, a)=>{
988
988
  [_imagecssmistica.vars.mediaBorderRadius]: _skincontractcssmistica.vars.borderRadii.mediaSmall
989
989
  }),
990
990
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
991
- paddingBottom: R ? 0 : 40,
991
+ paddingBottom: C ? 0 : 40,
992
992
  paddingX: 24,
993
993
  children: t
994
994
  })
995
995
  }) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
996
- paddingBottom: U || B ? R ? 24 : 64 : 0
996
+ paddingBottom: $ || v ? C ? 24 : 64 : 0
997
997
  }),
998
998
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
999
999
  paddingX: 24,
1000
- paddingTop: R ? 40 : 0,
1000
+ paddingTop: C ? 40 : 0,
1001
1001
  paddingBottom: 24,
1002
- className: R ? _cardcssmistica.displayCardGradient : void 0,
1002
+ className: C ? _cardcssmistica.displayCardGradient : void 0,
1003
1003
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
1004
1004
  space: 24,
1005
1005
  children: [
@@ -1018,17 +1018,17 @@ const ke = (r, a)=>{
1018
1018
  children: [
1019
1019
  l && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1020
1020
  forceMobileSizes: !0,
1021
- truncate: u,
1021
+ truncate: p,
1022
1022
  as: "div",
1023
1023
  regular: !0,
1024
- textShadow: q,
1024
+ textShadow: O,
1025
1025
  children: l
1026
1026
  }),
1027
1027
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text6, {
1028
1028
  forceMobileSizes: !0,
1029
- truncate: s,
1029
+ truncate: o,
1030
1030
  as: "h3",
1031
- textShadow: q,
1031
+ textShadow: O,
1032
1032
  hyphens: "auto",
1033
1033
  children: m
1034
1034
  })
@@ -1042,20 +1042,20 @@ const ke = (r, a)=>{
1042
1042
  truncate: f,
1043
1043
  as: "p",
1044
1044
  regular: !0,
1045
- color: R ? _skincontractcssmistica.vars.colors.textPrimary : _skincontractcssmistica.vars.colors.textSecondary,
1046
- textShadow: q,
1045
+ color: C ? _skincontractcssmistica.vars.colors.textPrimary : _skincontractcssmistica.vars.colors.textSecondary,
1046
+ textShadow: O,
1047
1047
  hyphens: "auto",
1048
1048
  children: h
1049
1049
  })
1050
1050
  ]
1051
1051
  }),
1052
- y
1052
+ g
1053
1053
  ]
1054
1054
  }),
1055
- (S || T || v) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
1055
+ (S || I || y) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
1056
1056
  primaryButton: S,
1057
- secondaryButton: T,
1058
- link: v
1057
+ secondaryButton: I,
1058
+ link: y
1059
1059
  })
1060
1060
  ]
1061
1061
  })
@@ -1067,36 +1067,36 @@ const ke = (r, a)=>{
1067
1067
  ]
1068
1068
  }))
1069
1069
  }),
1070
- /* @__PURE__ */ (0, _jsxruntime.jsx)(K, {
1071
- onClose: N,
1072
- actions: b,
1073
- type: P || B ? "media" : r ? "inverse" : "default"
1070
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(J, {
1071
+ onClose: k,
1072
+ actions: N,
1073
+ type: x || v ? "media" : r ? "inverse" : "default"
1074
1074
  })
1075
1075
  ]
1076
1076
  });
1077
- }), Hr = /*#__PURE__*/ _react.forwardRef((_param, n)=>{
1077
+ }), Vr = /*#__PURE__*/ _react.forwardRef((_param, n)=>{
1078
1078
  var { dataAttributes: r } = _param, a = _object_without_properties(_param, [
1079
1079
  "dataAttributes"
1080
1080
  ]);
1081
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(Se, _object_spread_props(_object_spread({}, a), {
1081
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(Ae, _object_spread_props(_object_spread({}, a), {
1082
1082
  ref: n,
1083
1083
  isInverse: !0,
1084
1084
  dataAttributes: _object_spread({
1085
1085
  "component-name": "DisplayMediaCard"
1086
1086
  }, r)
1087
1087
  }));
1088
- }), Pr = /*#__PURE__*/ _react.forwardRef((_param, n)=>{
1088
+ }), Gr = /*#__PURE__*/ _react.forwardRef((_param, n)=>{
1089
1089
  var { dataAttributes: r } = _param, a = _object_without_properties(_param, [
1090
1090
  "dataAttributes"
1091
1091
  ]);
1092
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(Se, _object_spread_props(_object_spread({}, a), {
1092
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(Ae, _object_spread_props(_object_spread({}, a), {
1093
1093
  ref: n,
1094
1094
  dataAttributes: _object_spread({
1095
1095
  "component-name": "DisplayDataCard"
1096
1096
  }, r)
1097
1097
  }));
1098
- }), Vr = /*#__PURE__*/ _react.forwardRef((_param, L)=>{
1099
- var { dataAttributes: r, backgroundImage: a, backgroundVideo: n, poster: o, backgroundVideoRef: c, width: t, height: d, aspectRatio: l = "7:10", ariaLabel: u, actions: m, onClose: s, icon: h, headline: f, pretitle: y, pretitleLinesMax: S, title: T, titleLinesMax: N, description: b, descriptionLinesMax: v, variant: M, isInverse: A, backgroundColor: O } = _param, H = _object_without_properties(_param, [
1098
+ }), Er = /*#__PURE__*/ _react.forwardRef((_param, U)=>{
1099
+ var { dataAttributes: r, backgroundImage: a, backgroundVideo: n, poster: s, backgroundVideoRef: c, width: t, height: d, aspectRatio: l = "7:10", ariaLabel: p, actions: m, onClose: o, icon: h, headline: f, pretitle: g, pretitleLinesMax: S, title: I, titleLinesMax: k, subtitle: N, subtitleLinesMax: y, description: A, descriptionLinesMax: R, variant: D, isInverse: j, backgroundColor: F } = _param, M = _object_without_properties(_param, [
1100
1100
  "dataAttributes",
1101
1101
  "backgroundImage",
1102
1102
  "backgroundVideo",
@@ -1114,30 +1114,32 @@ const ke = (r, a)=>{
1114
1114
  "pretitleLinesMax",
1115
1115
  "title",
1116
1116
  "titleLinesMax",
1117
+ "subtitle",
1118
+ "subtitleLinesMax",
1117
1119
  "description",
1118
1120
  "descriptionLinesMax",
1119
1121
  "variant",
1120
1122
  "isInverse",
1121
1123
  "backgroundColor"
1122
1124
  ]);
1123
- const I = a !== void 0, k = n !== void 0, P = Be(a), { video: B, videoAction: Q } = xe(n, o, c);
1124
- k && (m = Q ? [
1125
- Q
1125
+ const x = a !== void 0, v = n !== void 0, Y = Be(a), { video: Z, videoAction: W } = Se(n, s, c);
1126
+ v && (m = W ? [
1127
+ W
1126
1128
  ] : []);
1127
- const W = (0, _themevariantcontext.useIsInverseVariant)(), z = I || k, $ = z ? "0 0 16px rgba(0,0,0,0.4)" : void 0, R = (m == null ? void 0 : m.length) || s, { textPresets: q } = (0, _hooks.useTheme)(), U = H.href || H.to || H.onPress, F = M || (A ? "inverse" : "default"), _ = ()=>O || ({
1129
+ const X = (0, _themevariantcontext.useIsInverseVariant)(), C = x || v, O = C ? "0 0 16px rgba(0,0,0,0.4)" : void 0, $ = (m == null ? void 0 : m.length) || o, { textPresets: _ } = (0, _hooks.useTheme)(), ee = M.href || M.to || M.onPress, K = D || (j ? "inverse" : "default"), Re = ()=>F || ({
1128
1130
  default: _skincontractcssmistica.vars.colors.backgroundContainer,
1129
- inverse: W ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundBrand,
1131
+ inverse: X ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundBrand,
1130
1132
  alternative: _skincontractcssmistica.vars.colors.backgroundAlternative
1131
- })[F], Ae = I || k ? _cardcssmistica.touchableCardOverlayMedia : F === "inverse" ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay;
1132
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(j, {
1133
+ })[K], we = x || v ? _cardcssmistica.touchableCardOverlayMedia : K === "inverse" ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay;
1134
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(E, {
1133
1135
  width: t,
1134
1136
  height: d,
1135
1137
  dataAttributes: _object_spread({
1136
1138
  "component-name": "PosterCard"
1137
1139
  }, r),
1138
- ref: L,
1140
+ ref: U,
1139
1141
  aspectRatio: l,
1140
- "aria-label": u,
1142
+ "aria-label": p,
1141
1143
  className: _cardcssmistica.touchableContainer,
1142
1144
  children: [
1143
1145
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.InternalBoxed, {
@@ -1145,30 +1147,30 @@ const ke = (r, a)=>{
1145
1147
  className: _cardcssmistica.boxed,
1146
1148
  width: "100%",
1147
1149
  minHeight: "100%",
1148
- isInverse: I || k || F === "inverse",
1149
- background: I || k ? W ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundContainer : _(),
1150
+ isInverse: x || v || K === "inverse",
1151
+ background: x || v ? X ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundContainer : Re(),
1150
1152
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
1151
1153
  maybe: !0
1152
- }, H), {
1154
+ }, M), {
1153
1155
  className: _cardcssmistica.touchable,
1154
- "aria-label": u,
1156
+ "aria-label": p,
1155
1157
  children: [
1156
- U && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1157
- className: Ae
1158
+ ee && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1159
+ className: we
1158
1160
  }),
1159
1161
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
1160
1162
  className: _cardcssmistica.displayCardContainer,
1161
1163
  children: [
1162
- (I || k) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
1163
- isInverse: W,
1164
+ (x || v) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
1165
+ isInverse: X,
1164
1166
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1165
1167
  className: _cardcssmistica.displayCardBackground,
1166
- children: k ? B : P
1168
+ children: v ? Z : Y
1167
1169
  })
1168
1170
  }),
1169
1171
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_box.default, {
1170
1172
  className: _cardcssmistica.displayCardContent,
1171
- paddingTop: z && !h && !R && !k ? 0 : {
1173
+ paddingTop: C && !h && !$ && !v ? 0 : {
1172
1174
  mobile: h ? 16 : 24,
1173
1175
  desktop: 24
1174
1176
  },
@@ -1178,7 +1180,7 @@ const ke = (r, a)=>{
1178
1180
  [_imagecssmistica.vars.mediaBorderRadius]: _skincontractcssmistica.vars.borderRadii.mediaSmall
1179
1181
  }),
1180
1182
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
1181
- paddingBottom: z ? 0 : 40,
1183
+ paddingBottom: C ? 0 : 40,
1182
1184
  paddingX: {
1183
1185
  mobile: 16,
1184
1186
  desktop: 24
@@ -1186,23 +1188,23 @@ const ke = (r, a)=>{
1186
1188
  children: h
1187
1189
  })
1188
1190
  }) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
1189
- paddingBottom: R || k ? z ? 24 : 64 : 0
1191
+ paddingBottom: $ || v ? C ? 24 : 64 : 0
1190
1192
  }),
1191
1193
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
1192
1194
  paddingX: {
1193
1195
  mobile: 16,
1194
1196
  desktop: 24
1195
1197
  },
1196
- paddingTop: z ? 40 : 0,
1198
+ paddingTop: C ? 40 : 0,
1197
1199
  paddingBottom: 24,
1198
- className: z ? _cardcssmistica.displayCardGradient : void 0,
1200
+ className: C ? _cardcssmistica.displayCardGradient : void 0,
1199
1201
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_stack.default, {
1200
1202
  space: 24,
1201
1203
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1202
1204
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
1203
1205
  space: 8,
1204
1206
  children: [
1205
- (f || y || T) && /* @__PURE__ */ (0, _jsxruntime.jsx)("header", {
1207
+ (f || g || I || N) && /* @__PURE__ */ (0, _jsxruntime.jsx)("header", {
1206
1208
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
1207
1209
  space: 16,
1208
1210
  children: [
@@ -1210,39 +1212,49 @@ const ke = (r, a)=>{
1210
1212
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
1211
1213
  space: 4,
1212
1214
  children: [
1213
- y && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1215
+ g && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1214
1216
  forceMobileSizes: !0,
1215
1217
  truncate: S,
1216
1218
  as: "div",
1217
1219
  regular: !0,
1218
- textShadow: $,
1220
+ textShadow: O,
1219
1221
  hyphens: "auto",
1220
- children: y
1222
+ children: g
1221
1223
  }),
1222
1224
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, {
1223
1225
  desktopSize: 20,
1224
1226
  mobileSize: 18,
1225
1227
  mobileLineHeight: "24px",
1226
1228
  desktopLineHeight: "28px",
1227
- truncate: N,
1228
- weight: q.cardTitle.weight,
1229
+ truncate: k,
1230
+ weight: _.cardTitle.weight,
1229
1231
  as: "h3",
1230
1232
  hyphens: "auto",
1231
- children: T
1233
+ children: I
1234
+ }),
1235
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1236
+ forceMobileSizes: !0,
1237
+ truncate: y,
1238
+ as: "div",
1239
+ regular: !0,
1240
+ textShadow: O,
1241
+ hyphens: "auto",
1242
+ children: N
1232
1243
  })
1233
1244
  ]
1234
1245
  })
1235
1246
  ]
1236
1247
  })
1237
1248
  }),
1238
- b && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1249
+ A && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1239
1250
  forceMobileSizes: !0,
1240
- truncate: v,
1251
+ truncate: R,
1241
1252
  as: "p",
1242
1253
  regular: !0,
1243
- textShadow: $,
1254
+ textShadow: O,
1244
1255
  hyphens: "auto",
1245
- children: b
1256
+ color: C ? _skincontractcssmistica.vars.colors.textPrimary : _skincontractcssmistica.vars.colors.textSecondary,
1257
+ children: A
1246
1258
  })
1247
1259
  ]
1248
1260
  })
@@ -1256,10 +1268,10 @@ const ke = (r, a)=>{
1256
1268
  ]
1257
1269
  }))
1258
1270
  }),
1259
- /* @__PURE__ */ (0, _jsxruntime.jsx)(K, {
1260
- onClose: s,
1271
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(J, {
1272
+ onClose: o,
1261
1273
  actions: m,
1262
- type: I || k ? "media" : F === "inverse" ? "inverse" : "default"
1274
+ type: x || v ? "media" : K === "inverse" ? "inverse" : "default"
1263
1275
  })
1264
1276
  ]
1265
1277
  });