"use client";
import { jsxs as m, jsx as o } from "react/jsx-runtime";
import e from "../../modules/LongevityPathways/longevityPathways.module.css";
import { cn as s } from "../../utils/cn/cn.es.js";
import { HighlightedTitle as l } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
import { ComplexImageCarousel as c } from "../../components/ComplexImageCarousel/ComplexImageCarousel.es.js";
const f = ({ view: t, label: i, title: r, carousel: a }) => /* @__PURE__ */ m("section", { className: e.root, children: [
  /* @__PURE__ */ o(
    "div",
    {
      className: s(e.header, {
        [e.complex]: t === "complex"
      }),
      children: /* @__PURE__ */ o(
        l,
        {
          title: r,
          label: i,
          className: e.title,
          defaultVariant: "displayMd",
          mobileVariant: "headingLg"
        }
      )
    }
  ),
  /* @__PURE__ */ o(c, { images: a, view: t })
] });
export {
  f as LongevityPathways
};
