import { jsxs as t, jsx as i } from "react/jsx-runtime";
import { cn as l } from "../../utils/cn/cn.es.js";
import a from "../../components/Callback/callback.module.css";
import { TITLE_BY_SIZE_MOBILE as _, TITLE_BY_SIZE_DESKTOP as I, DESC_BY_SIZE_MOBILE as p, DESC_BY_SIZE_DESKTOP as S, PRICE_BY_SIZE_MOBILE as T, PRICE_BY_SIZE_DESKTOP as B, BUTTON_BY_SIZE as N } from "./constants.es.js";
import { Typography as e } from "../Typography/Typography.es.js";
import { Button as h } from "../Button/Button.es.js";
const Z = ({
  image: c,
  title: n,
  description: o,
  price: s,
  button: m,
  size: r = "lg",
  shape: d = "square"
}) => {
  const E = a[r] || "";
  return /* @__PURE__ */ t("div", { className: l(a.root, E), children: [
    /* @__PURE__ */ t("div", { className: a.productInfo, children: [
      /* @__PURE__ */ i(
        "img",
        {
          src: c,
          alt: "product image",
          className: l(a.productImage, { [a.circle]: d === "circle" })
        }
      ),
      /* @__PURE__ */ t("div", { className: a.textContainer, children: [
        /* @__PURE__ */ i("div", { className: a.titleContainer, children: /* @__PURE__ */ i(
          e,
          {
            defaultVariant: I[r],
            mobileVariant: _[r],
            className: a.title,
            children: n
          }
        ) }),
        /* @__PURE__ */ i("div", { className: a.divider }),
        /* @__PURE__ */ t("div", { className: a.descriptionContainer, children: [
          /* @__PURE__ */ i(
            e,
            {
              defaultVariant: S[r],
              mobileVariant: p[r],
              className: a.description,
              children: o
            }
          ),
          /* @__PURE__ */ t(
            e,
            {
              defaultVariant: B[r],
              mobileVariant: T[r],
              className: a.price,
              children: [
                "Starting at ",
                s
              ]
            }
          )
        ] })
      ] })
    ] }),
    /* @__PURE__ */ i("div", { className: a.buttonContainer, children: /* @__PURE__ */ i(h, { ...m, as: "a", size: N[r], children: "GET STARTED" }) })
  ] });
};
export {
  Z as Callback
};
