"use client";
const require_factory = require("../factory.cjs");
const require_use_password_input_context = require("./use-password-input-context.cjs");
let react = require("react");
let _zag_js_react = require("@zag-js/react");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/password-input/password-input-root-provider.tsx
var PasswordInputRootProvider = (0, react.forwardRef)((props, ref) => {
	const { value: passwordInput, ...localProps } = props;
	const mergedProps = (0, _zag_js_react.mergeProps)(passwordInput.getRootProps(), localProps);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_use_password_input_context.PasswordInputProvider, {
		value: passwordInput,
		children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.ark.div, {
			...mergedProps,
			ref
		})
	});
});
PasswordInputRootProvider.displayName = "PasswordInputRootProvider";
//#endregion
exports.PasswordInputRootProvider = PasswordInputRootProvider;
