"use client";
const require_use_date_input_context = require("./use-date-input-context.cjs");
const require_use_date_input_segment_group_props_context = require("./use-date-input-segment-group-props-context.cjs");
let react = require("react");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/date-input/date-input-segment-context.tsx
var DateInputSegmentContext = (props) => {
	const dateInput = require_use_date_input_context.useDateInputContext();
	const segmentGroupProps = require_use_date_input_segment_group_props_context.useDateInputSegmentGroupPropsContext();
	return dateInput.getSegments(segmentGroupProps).map((segment, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react.Fragment, { children: props.children(segment) }, `${segment.type}-${index}`));
};
//#endregion
exports.DateInputSegmentContext = DateInputSegmentContext;
