"use client";
import { jsx as n } from "react/jsx-runtime";
import { EAnalyticsEventType as o, EAnalyticsEvent as r } from "../../../types/analytics/analytics.es.js";
import a from "../../../modules/FeaturedIn/featuredIn.module.css";
function m({ buttonLabel: c, buttonLink: i }) {
  const t = i || "https://app.gethealthspan.com/#/product/signup/6896e50bc0af7d4d26738948";
  return /* @__PURE__ */ n("a", { href: t, onClick: () => {
    var e;
    (e = window.eventBus) == null || e.emit("analytics", {
      event: r.ctaClicked,
      type: o.interaction,
      component: "FeaturedIn",
      element: "primary_button",
      payload: {
        link: t
      }
    });
  }, className: a.ctaFeaturedIn, children: /* @__PURE__ */ n("span", { className: a.ctaFeaturedInText, children: c }) });
}
export {
  m as CtaFeaturedIn
};
