/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/lib/util/createPlugin.js
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
var require_createPlugin = /* @__PURE__ */ require("../../../../../../../_virtual/_rolldown/runtime.cjs").__commonJSMin(((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	Object.defineProperty(exports, "default", {
		enumerable: true,
		get: function() {
			return _default;
		}
	});
	function createPlugin(plugin, config) {
		return {
			handler: plugin,
			config
		};
	}
	createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
		const optionsFunction = function(options) {
			return {
				__options: options,
				handler: pluginFunction(options),
				config: configFunction(options)
			};
		};
		optionsFunction.__isOptionsFunction = true;
		optionsFunction.__pluginFunction = pluginFunction;
		optionsFunction.__configFunction = configFunction;
		return optionsFunction;
	};
	const _default = createPlugin;
}));
require_createPlugin();
//#endregion
exports.require_createPlugin = require_createPlugin;
