"use client";
const require_factory = require("../factory.cjs");
const require_use_checkbox_context = require("./use-checkbox-context.cjs");
const require_use_field_context = require("../field/use-field-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/checkbox/checkbox-hidden-input.tsx
var CheckboxHiddenInput = (0, react.forwardRef)((props, ref) => {
	const mergedProps = (0, _zag_js_react.mergeProps)(require_use_checkbox_context.useCheckboxContext().getHiddenInputProps(), props);
	const field = require_use_field_context.useFieldContext();
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.ark.input, {
		"aria-describedby": field?.ariaDescribedby,
		...mergedProps,
		ref
	});
});
CheckboxHiddenInput.displayName = "CheckboxHiddenInput";
//#endregion
exports.CheckboxHiddenInput = CheckboxHiddenInput;
