"use client";
const require_factory = require("../factory.cjs");
const require_use_tags_input_context = require("./use-tags-input-context.cjs");
const require_use_tags_input_item_props_context = require("./use-tags-input-item-props-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/tags-input/tags-input-item-input.tsx
var TagsInputItemInput = (0, react.forwardRef)((props, ref) => {
	const tagsInput = require_use_tags_input_context.useTagsInputContext();
	const itemProps = require_use_tags_input_item_props_context.useTagsInputItemPropsContext();
	const mergedProps = (0, _zag_js_react.mergeProps)(tagsInput.getItemInputProps(itemProps), props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.ark.input, {
		...mergedProps,
		ref
	});
});
TagsInputItemInput.displayName = "TagsInputItemInput";
//#endregion
exports.TagsInputItemInput = TagsInputItemInput;
