!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes _fadeIn_187hy_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeInFromTop_187hy_1{0%{opacity:0;translate:0 -.5rem}to{opacity:1;translate:0}}@media (hover:hover){._card_187hy_20{transition:all .2s ease-in-out}._card_187hy_20:hover{transform:scale(1.03)}}._card_187hy_20 ._blogHighlightsPostCard_187hy_27 ._imageWrapper_187hy_27{border-radius:var(--border-radius)var(--border-radius)0 0;width:100%;height:13rem;position:relative;overflow:hidden}._card_187hy_20 ._blogHighlightsPostCard_187hy_27 ._imageWrapper_187hy_27:after{content:"";background:var(--image-overlay-color);position:absolute;top:0;bottom:0;left:0;right:0}._card_187hy_20 ._blogHighlightsPostCard_187hy_27 ._imageWrapper_187hy_27._imageWrapperEmptyState_187hy_40:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background:0 0!important}._card_187hy_20 ._blogHighlightsPostCard_187hy_27 ._imageWrapper_187hy_27 img{object-fit:cover;object-position:center;width:100%;height:100%}._card_187hy_20 ._blogHighlightsPostCard_187hy_27 ._cardFullText_187hy_52{padding:var(--card-padding);flex-direction:column;align-items:flex-start;display:flex}._card_187hy_20 ._blogHighlightsPostCard_187hy_27 ._title_187hy_58{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:700;display:-webkit-box;overflow:hidden}._card_187hy_20 ._blogHighlightsPostCard_187hy_27 ._createdAt_187hy_65{margin-top:.3rem;font-size:1rem}._card_187hy_20 ._blogHighlightsPostCard_187hy_27 ._description_187hy_69{color:var(--paragraph-color);word-break:break-word;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin-top:.5rem;line-height:1.3em;display:-webkit-box;overflow:hidden}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
import{j as e,V as a,H as s,J as l,n as t,x as i,K as r}from"./modal-DHjdkE9t.js";const c="_card_187hy_20",_="_blogHighlightsPostCard_187hy_27",d="_imageWrapper_187hy_27",n="_imageWrapperEmptyState_187hy_40",m="_cardFullText_187hy_52",h="_title_187hy_58",o="_createdAt_187hy_65",p="_description_187hy_69",g=({post:g,className:x,target:j,...y})=>{var N,u,v;if(!g)return e.jsx(a,{});const f=null==(N=g.post)?void 0:N.replace(/<\/?[^>]+(>|$)/g,"").replaceAll("&nbsp;","");return e.jsx(s,{removeDefaultPadding:!0,className:c,children:e.jsx(l,{className:x,to:g.link??"",target:j,children:e.jsxs("div",{className:_,...y,children:[e.jsx("div",{className:t(d,{[n]:!g.image}),children:g.image?e.jsx(i,{image:g.image,title:null==(u=g.image)?void 0:u.title,alt:null==(v=g.image)?void 0:v.alt,sizes:"300px"}):e.jsx(r,{redirectLink:g.link})}),e.jsxs("div",{className:m,children:[e.jsx("p",{className:h,children:g.title}),e.jsx("p",{className:o,children:g.createdAt}),e.jsx("p",{className:p,dangerouslySetInnerHTML:{__html:f}})]})]})})})};export{g as B};