@flamingo-stack/openframe-frontend-core 0.0.694 → 0.0.695-2521.7725.1

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 (125) hide show
  1. package/dist/{chunk-N7HFUBOV.js → chunk-3BDYBEYK.js} +3 -3
  2. package/dist/{chunk-NDLFK57D.cjs → chunk-3J72BXGD.cjs} +147 -22
  3. package/dist/chunk-3J72BXGD.cjs.map +1 -0
  4. package/dist/{chunk-LHYOESIQ.js → chunk-3NSXPDPL.js} +3 -3
  5. package/dist/{chunk-SYLLPIGU.cjs → chunk-7GX4V7MN.cjs} +30 -30
  6. package/dist/{chunk-SYLLPIGU.cjs.map → chunk-7GX4V7MN.cjs.map} +1 -1
  7. package/dist/{chunk-FNGX5WZM.cjs → chunk-AHHENQRW.cjs} +415 -391
  8. package/dist/chunk-AHHENQRW.cjs.map +1 -0
  9. package/dist/{chunk-TBR3UTFY.js → chunk-AJ5ZDCIS.js} +4 -4
  10. package/dist/{chunk-TV5SZJ3N.js → chunk-AO7TLP4R.js} +6 -6
  11. package/dist/{chunk-LPFU6U7O.cjs → chunk-CU642HLR.cjs} +3 -3
  12. package/dist/{chunk-LPFU6U7O.cjs.map → chunk-CU642HLR.cjs.map} +1 -1
  13. package/dist/{chunk-O4RDXDVS.js → chunk-DCXRG62W.js} +7 -7
  14. package/dist/{chunk-JB25CCOB.cjs → chunk-ENMV42NB.cjs} +33 -33
  15. package/dist/{chunk-JB25CCOB.cjs.map → chunk-ENMV42NB.cjs.map} +1 -1
  16. package/dist/{chunk-BW6YBATM.js → chunk-IPVN2LW6.js} +18 -9
  17. package/dist/{chunk-BW6YBATM.js.map → chunk-IPVN2LW6.js.map} +1 -1
  18. package/dist/{chunk-XZILGCXJ.js → chunk-JEHDODI6.js} +146 -21
  19. package/dist/{chunk-XZILGCXJ.js.map → chunk-JEHDODI6.js.map} +1 -1
  20. package/dist/{chunk-ZCPMWXIB.cjs → chunk-KQVPZLSD.cjs} +20 -20
  21. package/dist/{chunk-ZCPMWXIB.cjs.map → chunk-KQVPZLSD.cjs.map} +1 -1
  22. package/dist/{chunk-ZUGAHQDB.cjs → chunk-LEG44J2T.cjs} +5 -5
  23. package/dist/{chunk-ZUGAHQDB.cjs.map → chunk-LEG44J2T.cjs.map} +1 -1
  24. package/dist/{chunk-KJHIFF6H.cjs → chunk-LO7D7DUK.cjs} +12 -12
  25. package/dist/{chunk-KJHIFF6H.cjs.map → chunk-LO7D7DUK.cjs.map} +1 -1
  26. package/dist/{chunk-KDUDL4PB.cjs → chunk-M74KK6HX.cjs} +32 -32
  27. package/dist/{chunk-KDUDL4PB.cjs.map → chunk-M74KK6HX.cjs.map} +1 -1
  28. package/dist/{chunk-7VO6NC67.js → chunk-NLZLJJPJ.js} +3 -3
  29. package/dist/{chunk-KBSL4FCL.cjs → chunk-OGKQRKB6.cjs} +6 -6
  30. package/dist/{chunk-KBSL4FCL.cjs.map → chunk-OGKQRKB6.cjs.map} +1 -1
  31. package/dist/{chunk-GWQCUC53.js → chunk-P2OSB37L.js} +3 -3
  32. package/dist/{chunk-2EQED5SZ.cjs → chunk-PSWUL5RH.cjs} +28 -28
  33. package/dist/{chunk-2EQED5SZ.cjs.map → chunk-PSWUL5RH.cjs.map} +1 -1
  34. package/dist/{chunk-SJFB4Z4L.cjs → chunk-QFCPRHLK.cjs} +81 -81
  35. package/dist/{chunk-SJFB4Z4L.cjs.map → chunk-QFCPRHLK.cjs.map} +1 -1
  36. package/dist/{chunk-42LIHMRA.js → chunk-RP2OFHAZ.js} +3 -3
  37. package/dist/{chunk-C27F6GBZ.cjs → chunk-RPF7JVLS.cjs} +188 -179
  38. package/dist/chunk-RPF7JVLS.cjs.map +1 -0
  39. package/dist/{chunk-Q2B2MGFU.cjs → chunk-RVIEJLJP.cjs} +7 -7
  40. package/dist/{chunk-Q2B2MGFU.cjs.map → chunk-RVIEJLJP.cjs.map} +1 -1
  41. package/dist/{chunk-UCXZRJIE.js → chunk-SP5YC4B7.js} +5 -5
  42. package/dist/{chunk-K5K2FRQK.cjs → chunk-SXGJRY2G.cjs} +10 -10
  43. package/dist/{chunk-K5K2FRQK.cjs.map → chunk-SXGJRY2G.cjs.map} +1 -1
  44. package/dist/{chunk-JISKS7RJ.cjs → chunk-TBBVQGOT.cjs} +22 -22
  45. package/dist/{chunk-JISKS7RJ.cjs.map → chunk-TBBVQGOT.cjs.map} +1 -1
  46. package/dist/{chunk-TXSQLORA.js → chunk-TNKSQ3OL.js} +3 -3
  47. package/dist/{chunk-K5GSLGV2.cjs → chunk-U2FFSB6N.cjs} +15 -15
  48. package/dist/{chunk-K5GSLGV2.cjs.map → chunk-U2FFSB6N.cjs.map} +1 -1
  49. package/dist/{chunk-HJZ3UTUE.cjs → chunk-UE5UOHRT.cjs} +59 -59
  50. package/dist/{chunk-HJZ3UTUE.cjs.map → chunk-UE5UOHRT.cjs.map} +1 -1
  51. package/dist/{chunk-TA3JJFEO.js → chunk-UEMECIGD.js} +2 -2
  52. package/dist/{chunk-6ZSDKDOV.js → chunk-UOWWETCM.js} +6 -6
  53. package/dist/{chunk-NOMECDMA.js → chunk-UUDQ6H6U.js} +5 -5
  54. package/dist/{chunk-QP54LMXJ.js → chunk-V4RAE4UE.js} +32 -8
  55. package/dist/chunk-V4RAE4UE.js.map +1 -0
  56. package/dist/{chunk-HBMGSGZY.js → chunk-W52K7U5J.js} +4 -4
  57. package/dist/{chunk-33L2IR62.js → chunk-ZXIAKS6J.js} +2 -2
  58. package/dist/components/case-studies/index.cjs +16 -16
  59. package/dist/components/case-studies/index.js +4 -4
  60. package/dist/components/chat/entity-cards/program-card.d.ts +4 -2
  61. package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
  62. package/dist/components/chat/index.cjs +3 -3
  63. package/dist/components/chat/index.js +2 -2
  64. package/dist/components/contact/index.cjs +5 -5
  65. package/dist/components/contact/index.js +4 -4
  66. package/dist/components/docs/index.cjs +8 -8
  67. package/dist/components/docs/index.js +7 -7
  68. package/dist/components/embeds/index.cjs +5 -5
  69. package/dist/components/embeds/index.js +4 -4
  70. package/dist/components/faq/index.cjs +5 -5
  71. package/dist/components/faq/index.js +4 -4
  72. package/dist/components/features/cards-strip.d.ts +5 -0
  73. package/dist/components/features/cards-strip.d.ts.map +1 -1
  74. package/dist/components/features/index.cjs +4 -4
  75. package/dist/components/features/index.js +3 -3
  76. package/dist/components/help-center-pages/index.cjs +91 -91
  77. package/dist/components/help-center-pages/index.js +15 -15
  78. package/dist/components/index.cjs +55 -55
  79. package/dist/components/index.js +15 -15
  80. package/dist/components/meeting-scheduler/index.cjs +41 -41
  81. package/dist/components/meeting-scheduler/index.js +3 -3
  82. package/dist/components/navigation/index.cjs +7 -7
  83. package/dist/components/navigation/index.js +6 -6
  84. package/dist/components/onboarding-guides/index.cjs +7 -7
  85. package/dist/components/onboarding-guides/index.js +6 -6
  86. package/dist/components/related-content/index.cjs +3 -3
  87. package/dist/components/related-content/index.js +2 -2
  88. package/dist/components/tickets/index.cjs +8 -8
  89. package/dist/components/tickets/index.js +7 -7
  90. package/dist/components/ui/dashboard-info-card.d.ts +6 -1
  91. package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
  92. package/dist/components/ui/feature-card.d.ts +4 -0
  93. package/dist/components/ui/feature-card.d.ts.map +1 -1
  94. package/dist/components/ui/feature-list.d.ts +10 -3
  95. package/dist/components/ui/feature-list.d.ts.map +1 -1
  96. package/dist/components/ui/index.cjs +4 -4
  97. package/dist/components/ui/index.js +3 -3
  98. package/dist/index.cjs +9 -9
  99. package/dist/index.js +7 -7
  100. package/package.json +1 -1
  101. package/src/components/chat/entity-cards/program-card.tsx +167 -20
  102. package/src/components/features/__tests__/cards-strip-reverse.test.tsx +127 -0
  103. package/src/components/features/cards-strip.tsx +29 -7
  104. package/src/components/ui/dashboard-info-card.tsx +13 -1
  105. package/src/components/ui/feature-card.tsx +17 -3
  106. package/src/components/ui/feature-list.tsx +29 -3
  107. package/dist/chunk-C27F6GBZ.cjs.map +0 -1
  108. package/dist/chunk-FNGX5WZM.cjs.map +0 -1
  109. package/dist/chunk-NDLFK57D.cjs.map +0 -1
  110. package/dist/chunk-QP54LMXJ.js.map +0 -1
  111. /package/dist/{chunk-N7HFUBOV.js.map → chunk-3BDYBEYK.js.map} +0 -0
  112. /package/dist/{chunk-LHYOESIQ.js.map → chunk-3NSXPDPL.js.map} +0 -0
  113. /package/dist/{chunk-TBR3UTFY.js.map → chunk-AJ5ZDCIS.js.map} +0 -0
  114. /package/dist/{chunk-TV5SZJ3N.js.map → chunk-AO7TLP4R.js.map} +0 -0
  115. /package/dist/{chunk-O4RDXDVS.js.map → chunk-DCXRG62W.js.map} +0 -0
  116. /package/dist/{chunk-7VO6NC67.js.map → chunk-NLZLJJPJ.js.map} +0 -0
  117. /package/dist/{chunk-GWQCUC53.js.map → chunk-P2OSB37L.js.map} +0 -0
  118. /package/dist/{chunk-42LIHMRA.js.map → chunk-RP2OFHAZ.js.map} +0 -0
  119. /package/dist/{chunk-UCXZRJIE.js.map → chunk-SP5YC4B7.js.map} +0 -0
  120. /package/dist/{chunk-TXSQLORA.js.map → chunk-TNKSQ3OL.js.map} +0 -0
  121. /package/dist/{chunk-TA3JJFEO.js.map → chunk-UEMECIGD.js.map} +0 -0
  122. /package/dist/{chunk-6ZSDKDOV.js.map → chunk-UOWWETCM.js.map} +0 -0
  123. /package/dist/{chunk-NOMECDMA.js.map → chunk-UUDQ6H6U.js.map} +0 -0
  124. /package/dist/{chunk-HBMGSGZY.js.map → chunk-W52K7U5J.js.map} +0 -0
  125. /package/dist/{chunk-33L2IR62.js.map → chunk-ZXIAKS6J.js.map} +0 -0
@@ -3668,6 +3668,7 @@ function programItemToStripProfile(item) {
3668
3668
  import { ExternalLink as ExternalLink2, Clock as Clock2, Play as Play3, Video as Video2 } from "lucide-react";
3669
3669
  import { useState as useState6 } from "react";
3670
3670
  import { Fragment as Fragment9, jsx as jsx31, jsxs as jsxs21 } from "react/jsx-runtime";
3671
+ var MIN_WIDE_RATIO2 = 1.3;
3671
3672
  function ProgramCardSkeleton({ size = "default" }) {
3672
3673
  if (size === "sm") {
3673
3674
  return /* @__PURE__ */ jsxs21("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
@@ -3779,6 +3780,117 @@ function MediaGallery({ images, title }) {
3779
3780
  )
3780
3781
  ] });
3781
3782
  }
3783
+ function ProgramEditorialCard({
3784
+ feature,
3785
+ href,
3786
+ target,
3787
+ rel,
3788
+ title,
3789
+ description,
3790
+ cover,
3791
+ eyebrow,
3792
+ date,
3793
+ typeMeta,
3794
+ profile,
3795
+ className
3796
+ }) {
3797
+ const [measured, setMeasured] = useState6(null);
3798
+ const isWide = measured?.src === cover ? measured.isWide : null;
3799
+ const edgeColor = useImageEdgeColor(feature && isWide === false ? cover : null, "var(--color-bg-surface)");
3800
+ const frame = "group overflow-hidden rounded-lg border border-ods-border bg-ods-card no-underline transition-colors duration-200 hover:border-ods-accent";
3801
+ const meta = /* @__PURE__ */ jsxs21("div", { className: "flex flex-wrap items-center gap-x-[var(--spacing-system-s)] gap-y-[var(--spacing-system-xxs)] text-h6", children: [
3802
+ date && /* @__PURE__ */ jsx31("span", { className: "text-ods-flamingo-pink", children: date }),
3803
+ [typeMeta, feature ? null : profile?.name].filter((part) => !!part).map((part) => /* @__PURE__ */ jsxs21("span", { className: "flex items-center gap-[var(--spacing-system-s)] text-ods-text-secondary", children: [
3804
+ /* @__PURE__ */ jsx31("span", { "aria-hidden": "true", children: "\u2022" }),
3805
+ part
3806
+ ] }, part))
3807
+ ] });
3808
+ if (!feature) {
3809
+ return /* @__PURE__ */ jsxs21(
3810
+ "a",
3811
+ {
3812
+ href,
3813
+ target,
3814
+ rel,
3815
+ "aria-label": `Open ${title}`,
3816
+ className: cn(
3817
+ frame,
3818
+ "grid grid-cols-[88px_minmax(0,1fr)] items-center gap-[var(--spacing-system-m)] p-[var(--spacing-system-m)] sm:grid-cols-[120px_minmax(0,1fr)] sm:gap-[var(--spacing-system-l)]",
3819
+ className
3820
+ ),
3821
+ children: [
3822
+ /* @__PURE__ */ jsx31("span", { className: "relative block aspect-square w-full overflow-hidden rounded-md bg-ods-bg", children: cover && /* @__PURE__ */ jsx31(next_image_default, { src: cover, alt: "", fill: true, sizes: "120px", className: "object-cover", unoptimized: true }) }),
3823
+ /* @__PURE__ */ jsxs21("span", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xs)]", children: [
3824
+ /* @__PURE__ */ jsx31("span", { className: "line-clamp-2 text-ods-text-primary text-h3", children: title }),
3825
+ meta,
3826
+ description && /* @__PURE__ */ jsx31("span", { className: "line-clamp-2 text-ods-text-secondary text-h6", children: description })
3827
+ ] })
3828
+ ]
3829
+ }
3830
+ );
3831
+ }
3832
+ return /* @__PURE__ */ jsxs21(
3833
+ "a",
3834
+ {
3835
+ href,
3836
+ target,
3837
+ rel,
3838
+ "aria-label": `Open ${title}`,
3839
+ className: cn(frame, "flex flex-col", className),
3840
+ children: [
3841
+ /* @__PURE__ */ jsx31(
3842
+ "span",
3843
+ {
3844
+ className: "relative block aspect-video w-full overflow-hidden bg-ods-bg transition-colors duration-300",
3845
+ style: isWide === false ? { backgroundColor: edgeColor } : void 0,
3846
+ children: cover && /* @__PURE__ */ jsx31(
3847
+ next_image_default,
3848
+ {
3849
+ src: cover,
3850
+ alt: "",
3851
+ fill: true,
3852
+ sizes: "(min-width: 1024px) 640px, 100vw",
3853
+ className: isWide === false ? "object-contain" : "object-cover",
3854
+ unoptimized: true,
3855
+ onLoad: (e) => {
3856
+ const img = e.currentTarget;
3857
+ if (img.naturalWidth > 0 && img.naturalHeight > 0) {
3858
+ setMeasured({ src: cover, isWide: img.naturalWidth / img.naturalHeight >= MIN_WIDE_RATIO2 });
3859
+ }
3860
+ }
3861
+ }
3862
+ )
3863
+ }
3864
+ ),
3865
+ /* @__PURE__ */ jsxs21("span", { className: "flex flex-col gap-[var(--spacing-system-s)] p-[var(--spacing-system-l)]", children: [
3866
+ eyebrow && /* @__PURE__ */ jsx31("span", { className: "text-ods-text-secondary text-h5", children: eyebrow }),
3867
+ /* @__PURE__ */ jsx31("span", { className: "line-clamp-2 text-ods-text-primary text-h3", children: title }),
3868
+ meta,
3869
+ description && /* @__PURE__ */ jsx31("span", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: description }),
3870
+ profile && /* @__PURE__ */ jsxs21("span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-s)] pt-[var(--spacing-system-xs)]", children: [
3871
+ /* @__PURE__ */ jsx31(
3872
+ SquareAvatar,
3873
+ {
3874
+ variant: "round",
3875
+ src: profile.avatarUrl || void 0,
3876
+ alt: profile.name,
3877
+ fallback: profile.name.charAt(0).toUpperCase(),
3878
+ size: "sm"
3879
+ }
3880
+ ),
3881
+ /* @__PURE__ */ jsxs21("span", { className: "truncate text-h6", children: [
3882
+ /* @__PURE__ */ jsx31("span", { className: "text-ods-text-primary", children: profile.name }),
3883
+ profile.subtitle && /* @__PURE__ */ jsxs21("span", { className: "text-ods-text-secondary", children: [
3884
+ " \xB7 ",
3885
+ profile.subtitle
3886
+ ] })
3887
+ ] })
3888
+ ] })
3889
+ ] })
3890
+ ]
3891
+ }
3892
+ );
3893
+ }
3782
3894
  function ProgramCard({
3783
3895
  config,
3784
3896
  item,
@@ -3792,6 +3904,7 @@ function ProgramCard({
3792
3904
  targetPlatform,
3793
3905
  placeholderUrl: placeholderUrlProp,
3794
3906
  wholeCardClickable = false,
3907
+ eyebrow,
3795
3908
  className
3796
3909
  }) {
3797
3910
  const { target, rel } = useEntityCardLink({
@@ -3803,13 +3916,12 @@ function ProgramCard({
3803
3916
  const placeholderUrl = useEntityCardPlaceholder({
3804
3917
  title: item.title,
3805
3918
  placeholderUrl: placeholderUrlProp,
3806
- aspect: size === "sm" ? "square" : "wide"
3919
+ aspect: size === "sm" || size === "row" ? "square" : "wide"
3807
3920
  });
3808
3921
  const coverImage = item.cover_url;
3809
3922
  const images = media.filter((m) => isImageMedia(m));
3810
3923
  const hosts = getHosts(item.hosts);
3811
3924
  const accentColor = "var(--color-accent-primary)";
3812
- const isScheduled = "status" in item && item.status === "scheduled";
3813
3925
  const {
3814
3926
  at: zonedDate,
3815
3927
  typeMeta: compactTypeMetaValue,
@@ -3838,6 +3950,25 @@ function ProgramCard({
3838
3950
  }
3839
3951
  );
3840
3952
  }
3953
+ if (size === "feature" || size === "row") {
3954
+ return /* @__PURE__ */ jsx31(
3955
+ ProgramEditorialCard,
3956
+ {
3957
+ feature: size === "feature",
3958
+ href,
3959
+ target,
3960
+ rel,
3961
+ title: item.title,
3962
+ description: item.description,
3963
+ cover: coverImage || placeholderUrl || null,
3964
+ eyebrow,
3965
+ date: formatProgramDate(zonedDate, "weekday"),
3966
+ typeMeta: compactTypeMetaValue,
3967
+ profile: programItemToStripProfile(item),
3968
+ className
3969
+ }
3970
+ );
3971
+ }
3841
3972
  if (size === "sm") {
3842
3973
  const itemDate = compactDate;
3843
3974
  const compactCover = coverImage || placeholderUrl || null;
@@ -3846,10 +3977,7 @@ function ProgramCard({
3846
3977
  (s) => typeof s === "string" && s.length > 0
3847
3978
  );
3848
3979
  return /* @__PURE__ */ jsxs21("a", { href, target, rel, className: cn(COMPACT_CARD_OUTER, className), children: [
3849
- /* @__PURE__ */ jsxs21("span", { className: COMPACT_CARD_IMAGE_SLOT, children: [
3850
- compactCover ? /* @__PURE__ */ jsx31(next_image_default, { src: compactCover, alt: item.title, fill: true, sizes: "56px", className: "object-contain", unoptimized: true }) : /* @__PURE__ */ jsx31("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: config.type === "podcast" ? /* @__PURE__ */ jsx31(Play3, { className: "h-4 w-4" }) : config.type === "webinar" ? /* @__PURE__ */ jsx31(Video2, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx31(Clock2, { className: "h-4 w-4" }) }),
3851
- config.type === "podcast" && !isScheduled && compactCover && /* @__PURE__ */ jsx31("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx31(Play3, { className: "h-4 w-4 text-ods-text-on-dark", fill: "white" }) })
3852
- ] }),
3980
+ /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_IMAGE_SLOT, children: compactCover ? /* @__PURE__ */ jsx31(next_image_default, { src: compactCover, alt: item.title, fill: true, sizes: "56px", className: "object-contain", unoptimized: true }) : /* @__PURE__ */ jsx31("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: config.type === "podcast" ? /* @__PURE__ */ jsx31(Play3, { className: "h-4 w-4" }) : config.type === "webinar" ? /* @__PURE__ */ jsx31(Video2, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx31(Clock2, { className: "h-4 w-4" }) }) }),
3853
3981
  /* @__PURE__ */ jsxs21("span", { className: COMPACT_CARD_TEXT_COL, children: [
3854
3982
  /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx31("span", { className: cn(COMPACT_CARD_TITLE, "font-heading"), children: item.title }) }),
3855
3983
  /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx31("span", { className: "truncate text-ods-accent text-h6", children: subtitleParts.join(" \xB7 ") }) }),
@@ -3888,20 +4016,17 @@ function ProgramCard({
3888
4016
  return null;
3889
4017
  };
3890
4018
  const cardHeader = /* @__PURE__ */ jsx31("div", { className: "flex-1 border-ods-border p-6", children: /* @__PURE__ */ jsxs21("div", { className: "flex flex-col gap-4 md:flex-row md:gap-6", children: [
3891
- coverImage && /* @__PURE__ */ jsx31("div", { className: "flex w-full flex-shrink-0 items-center md:w-[180px]", children: /* @__PURE__ */ jsxs21("div", { className: "relative overflow-hidden rounded-lg", children: [
3892
- /* @__PURE__ */ jsx31(
3893
- next_image_default,
3894
- {
3895
- src: coverImage,
3896
- alt: item.title,
3897
- width: 180,
3898
- height: 180,
3899
- className: "h-auto w-full rounded-lg object-contain",
3900
- unoptimized: true
3901
- }
3902
- ),
3903
- config.type === "podcast" && !isScheduled && /* @__PURE__ */ jsx31("div", { className: "absolute inset-0 flex items-center justify-center rounded-lg bg-black/40 opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ jsx31(Play3, { className: "h-10 w-10 text-ods-text-on-dark", fill: "white" }) })
3904
- ] }) }),
4019
+ coverImage && /* @__PURE__ */ jsx31("div", { className: "flex w-full flex-shrink-0 items-center md:w-[180px]", children: /* @__PURE__ */ jsx31("div", { className: "relative overflow-hidden rounded-lg", children: /* @__PURE__ */ jsx31(
4020
+ next_image_default,
4021
+ {
4022
+ src: coverImage,
4023
+ alt: item.title,
4024
+ width: 180,
4025
+ height: 180,
4026
+ className: "h-auto w-full rounded-lg object-contain",
4027
+ unoptimized: true
4028
+ }
4029
+ ) }) }),
3905
4030
  /* @__PURE__ */ jsxs21("div", { className: "flex min-w-0 flex-1 flex-col", children: [
3906
4031
  /* @__PURE__ */ jsx31("h3", { className: "mb-3 line-clamp-2 flex min-h-[3rem] items-center text-ods-text-primary text-h2 md:min-h-[3.5rem]", children: item.title }),
3907
4032
  /* @__PURE__ */ jsxs21("div", { className: "mb-4 flex flex-col gap-2 md:flex-row md:items-center md:gap-4", children: [
@@ -4369,4 +4494,4 @@ export {
4369
4494
  canonicalContentRefType,
4370
4495
  buildListUrl
4371
4496
  };
4372
- //# sourceMappingURL=chunk-XZILGCXJ.js.map
4497
+ //# sourceMappingURL=chunk-JEHDODI6.js.map