"use client";
import { jsx as o } from "react/jsx-runtime";
import { c } from "./cn-Bhsu1vx2.js";
const i = {
  lang: {
    ts: {
      classes: "",
      description: "TypeScript code"
    },
    tsx: {
      classes: "",
      description: "TypeScript JSX code"
    },
    jsonc: {
      classes: "",
      description: "JSON with comments"
    },
    bash: {
      classes: "",
      description: "Shell/Bash commands"
    },
    css: {
      classes: "",
      description: "CSS styles"
    }
  }
}, a = {
  lang: "ts"
};
function l({
  lang: s = a.lang
} = {}) {
  return c(
    // Base styles
    "m-0 w-auto rounded-none border-none bg-transparent p-0 font-mono text-sm leading-[20px] text-kumo-strong",
    // Apply lang-specific styles (currently none, but extensible)
    i.lang[s].classes
  );
}
function n({
  code: s,
  lang: e = a.lang,
  className: r,
  style: d
}) {
  return /* @__PURE__ */ o("pre", { className: c(l({ lang: e }), r), style: d, children: s });
}
n.displayName = "Code";
function t({ code: s, lang: e }) {
  return /* @__PURE__ */ o("div", { className: "min-w-0 rounded-md border border-kumo-fill bg-kumo-base [&>pre]:p-2.5!", children: /* @__PURE__ */ o(n, { lang: e, code: s }) });
}
t.displayName = "CodeBlock";
const u = Object.assign(n, {
  Block: t
}), C = t;
export {
  u as C,
  C as a
};
//# sourceMappingURL=code-T2wPDiM0.js.map
