"use strict";const e=require("react/jsx-runtime"),x=require("@chakra-ui/react"),i=require("./DateField-Cr3wqfe3.cjs.js"),h=require("@chakra-ui/react/styled-system"),g=require("./index-Dzrt5_tw.cjs.js"),S=require("./extract-style-props-DVhOcGEi.cjs.js"),{withProvider:I,withContext:t}=x.createSlotRecipeContext({key:"nimbusTimeInput"}),T=I("div","root"),j=t("div","leadingElement"),$=t("div","trailingElement"),b=t("div","segmentGroup"),P=t("div","segment"),s=o=>{const c=h.useRecipe({recipe:g.timeInputRecipe}),{leadingElement:n,trailingElement:r,...l}=o,[p,d]=c.splitVariantProps({...l}),[u,m]=S.extractStyleProps(d);return e.jsx(T,{asChild:!0,...p,...u,children:e.jsxs(i.$40825cdb76e74f70$export$5eaee2322dd727eb,{...m,children:[n&&e.jsx(j,{children:n}),e.jsx(b,{asChild:!0,children:e.jsx(i.$40825cdb76e74f70$export$7edc06cf1783b30f,{children:a=>e.jsx(P,{asChild:!0,children:e.jsx(i.$40825cdb76e74f70$export$336ab7fa954c4b5f,{segment:a})})})}),r&&e.jsx($,{children:r})]})})};s.displayName="TimeInput";exports.TimeInput=s;
//# sourceMappingURL=time-input-CqsOklvt.cjs.js.map
