import { e as createAstro, c as createComponent, r as renderComponent, a as renderTemplate, m as maybeRenderHead, u as unescapeHTML } from './astro/server_BfDhyAjM.mjs'; import 'kleur/colors'; import { $ as $$Grid } from './Grid_BMXKJk6W.mjs'; import { d as getBlogPermalink } from './permalinks_BMxSf01e.mjs'; import { d as findLatestPosts } from './blog_J6XM7OAu.mjs'; import { $ as $$WidgetWrapper } from './WidgetWrapper_C6M78dTL.mjs'; import { b as $$Button } from './PageLayout_CDwIBOQs.mjs'; const $$Astro = createAstro("https://www.radio.org.tr"); const $$BlogLatestPosts = createComponent(async ($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$Astro, $$props, $$slots); Astro2.self = $$BlogLatestPosts; const { title = await Astro2.slots.render("title"), linkText = "T\xFCm yaz\u0131lar\u0131 g\xF6r\xFCnt\xFCle", linkUrl = getBlogPermalink(), information = await Astro2.slots.render("information"), count = 4, id, isDark = false, classes = {}, bg = await Astro2.slots.render("bg") } = Astro2.props; const posts = await findLatestPosts({ count }) ; return renderTemplate`${renderTemplate`${renderComponent($$result, "WidgetWrapper", $$WidgetWrapper, { "id": id, "isDark": isDark, "containerClass": classes?.container, "bg": bg }, { "default": async ($$result2) => renderTemplate`${maybeRenderHead()}
${unescapeHTML(information)}
`}