import { e as createAstro, c as createComponent, m as maybeRenderHead, b as addAttribute, f as renderSlot, a as renderTemplate, r as renderComponent, F as Fragment, u as unescapeHTML } from './astro/server_BfDhyAjM.mjs';
import 'kleur/colors';
import { twMerge } from 'tailwind-merge';
import 'clsx';
const $$Astro$1 = createAstro("https://www.radio.org.tr");
const $$Background = createComponent(($$result, $$props, $$slots) => {
const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
Astro2.self = $$Background;
const { isDark = false } = Astro2.props;
return renderTemplate`${maybeRenderHead()}
${renderSlot($$result, $$slots["default"])}
`;
}, "/Users/bugracanata/Developer/[Telsiz]/ARC-Web-Sitesi/src/components/ui/Background.astro", void 0);
const $$Astro = createAstro("https://www.radio.org.tr");
const $$WidgetWrapper = createComponent(($$result, $$props, $$slots) => {
const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
Astro2.self = $$WidgetWrapper;
const { id, isDark = false, containerClass = "", bg, as = "section" } = Astro2.props;
const WrapperTag = as;
return renderTemplate`${renderComponent($$result, "WrapperTag", WrapperTag, { "class": "relative not-prose scroll-mt-[72px]", ...id ? { id } : {} }, { "default": ($$result2) => renderTemplate` ${maybeRenderHead()} ${renderSlot($$result2, $$slots["bg"], renderTemplate` ${bg ? renderTemplate`${renderComponent($$result2, "Fragment", Fragment, {}, { "default": ($$result3) => renderTemplate`${unescapeHTML(bg)}` })}` : renderTemplate`${renderComponent($$result2, "Background", $$Background, { "isDark": isDark })}`} `)}
${renderSlot($$result2, $$slots["default"])}
` })}`;
}, "/Users/bugracanata/Developer/[Telsiz]/ARC-Web-Sitesi/src/components/ui/WidgetWrapper.astro", void 0);
export { $$WidgetWrapper as $ };