'use client';
import 'react';
import { Global } from '../../../@emotion/react/dist/emotion-react.browser.esm.mjs';
import { jsx } from 'react/jsx-runtime';

function isEmpty$2(obj) {
  return obj === undefined || obj === null || Object.keys(obj).length === 0;
}
function GlobalStyles$2(props) {
  const {
    styles,
    defaultTheme = {}
  } = props;
  const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty$2(themeInput) ? defaultTheme : themeInput) : styles;
  return /*#__PURE__*/jsx(Global, {
    styles: globalStyles
  });
}

export { GlobalStyles$2 as default };
//# sourceMappingURL=GlobalStyles.mjs.map
