"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const useMantineColorScheme = require("./use-mantine-color-scheme.cjs");
const useColorScheme = require("../../../../../../../../@mantine_hooks@7.15.2_react@18.3.1/node_modules/@mantine/hooks/esm/use-color-scheme/use-color-scheme.cjs");
function useComputedColorScheme(defaultValue, options = { getInitialValueInEffect: true }) {
  const osColorScheme = useColorScheme.useColorScheme(defaultValue, options);
  const { colorScheme } = useMantineColorScheme.useMantineColorScheme();
  return colorScheme === "auto" ? osColorScheme : colorScheme;
}
exports.useComputedColorScheme = useComputedColorScheme;
