import { jsx as e } from "react/jsx-runtime";
import r from "../../components/YouTubeEmbed/youtubeEmbed.module.css";
import { cn as c } from "../../utils/cn/cn.es.js";
const s = ({ videoId: t, title: o, className: a }) => /* @__PURE__ */ e("div", { className: c(r.container, a), children: /* @__PURE__ */ e(
  "iframe",
  {
    src: `https://www.youtube.com/embed/${t}`,
    title: o || "Healthspan video",
    allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
    allowFullScreen: !0,
    className: r.iframe
  }
) });
export {
  s as YouTubeEmbed
};
