"use client";
import { j } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import { forwardRef as p } from "react";
import { Tabs as u } from "@mantine/core";
import C from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import n from "./Tabs.module.scss.mjs";
function E(t, o) {
  const f = {};
  f[n.secondary] = (o == null ? void 0 : o.tab) === "secondary";
  const x = {};
  return x[n.outline] = (o == null ? void 0 : o.list) === "outline", {
    tab: C(n.tab, f, t == null ? void 0 : t.tab),
    list: C(n.list, x, t == null ? void 0 : t.list),
    panel: C(n.panel, t == null ? void 0 : t.panel),
    root: t == null ? void 0 : t.root
  };
}
const l = p(
  ({ children: t, ...o }, f) => /* @__PURE__ */ j.jsx(u, { unstyled: !0, ...o, ref: f, children: t })
);
l.List = u.List;
l.Tab = u.Tab;
l.Panel = u.Panel;
l.displayName = u.displayName;
export {
  l as Tabs,
  E as getTabsClassNames
};
//# sourceMappingURL=index.mjs.map
