import "react";
import o from "./index-_virtual16.js";
import s from "./index-useTheme2.js";
import { jsx as m } from "react/jsx-runtime";
import l from "./index-GlobalStyles3.js";
function f({
  styles: e,
  themeId: t,
  defaultTheme: p = {}
}) {
  const r = s(p), n = typeof e == "function" ? e(t && r[t] || r) : e;
  return /* @__PURE__ */ m(l, {
    styles: n
  });
}
process.env.NODE_ENV !== "production" && (f.propTypes = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * @ignore
   */
  defaultTheme: o.object,
  /**
   * @ignore
   */
  styles: o.oneOfType([o.array, o.func, o.number, o.object, o.string, o.bool]),
  /**
   * @ignore
   */
  themeId: o.string
});
export {
  f as default
};
