"use client";
import { j as o } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import { Stack as e } from "@mantine/core";
import t from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import l from "../../assets/platformIcons/linux-icon.png.mjs";
import p from "../../assets/platformIcons/mac-icon.png.mjs";
import f from "../../assets/platformIcons/web-icon.png.mjs";
import x from "../../assets/platformIcons/windows-icon.png.mjs";
import { platformLabels as d } from "../../common/types.mjs";
import s from "./PlatformContainer.module.scss.mjs";
const j = {
  windows: x,
  linux: l,
  darwin: p,
  web: f
};
function L({
  platformName: r,
  children: i,
  className: m,
  ...n
}) {
  const a = d[r], c = j[r];
  return /* @__PURE__ */ o.jsxs("div", { className: t(s.root, m), ...n, children: [
    /* @__PURE__ */ o.jsxs(e, { children: [
      /* @__PURE__ */ o.jsx("img", { src: c, alt: r, className: s.image }),
      /* @__PURE__ */ o.jsx("div", { className: t("title", s.title), children: a })
    ] }),
    i
  ] });
}
export {
  L as PlatformContainer
};
//# sourceMappingURL=index.mjs.map
