"use client";
const require_resolve_styles = require("./resolve-styles/resolve-styles.cjs");
const require_resolve_style = require("./resolve-style/resolve-style.cjs");
//#region packages/@mantine/core/src/core/styles-api/use-styles/get-style/get-style.ts
function getStyle({ theme, selector, options, props, stylesCtx, rootSelector, withStylesTransform, resolvedStyles, resolvedThemeStyles, resolvedVars, resolvedRootStyle }) {
	return {
		...resolvedThemeStyles[selector],
		...resolvedStyles[selector],
		...!withStylesTransform && require_resolve_styles.resolveStyles({
			theme,
			styles: options?.styles,
			props: options?.props || props,
			stylesCtx
		})[selector],
		...resolvedVars[selector],
		...rootSelector === selector ? resolvedRootStyle : null,
		...require_resolve_style.resolveStyle({
			style: options?.style,
			theme
		})
	};
}
//#endregion
exports.getStyle = getStyle;

//# sourceMappingURL=get-style.cjs.map