"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const deepMerge = require("../../utils/deep-merge/deep-merge.cjs");
require("react");
require("react/jsx-runtime");
const defaultCssVariablesResolver = require("./default-css-variables-resolver.cjs");
function getMergedVariables({ theme, generator }) {
  const defaultResolver = defaultCssVariablesResolver.defaultCssVariablesResolver(theme);
  const providerGenerator = generator == null ? void 0 : generator(theme);
  return providerGenerator ? deepMerge.deepMerge(defaultResolver, providerGenerator) : defaultResolver;
}
exports.getMergedVariables = getMergedVariables;
