import{a as x}from"/build/_shared/chunk-4BH6QGNO.js";import{O as n,Q as l,R as b,S as c,T as a}from"/build/_shared/chunk-NP7WDYXL.js";import{d as u,f as o,g as s}from"/build/_shared/chunk-NC4SVCXH.js";s();var d=u(x()),f=({name:t,label:m,...r})=>{let{getInputProps:i,error:p}=(0,d.useField)(t);return o.createElement(l,{isInvalid:!!p},o.createElement(a,{key:t,value:t,size:"lg",colorScheme:"yellow",mt:"5px",...i(),...r},o.createElement(c,{m:"0",display:"block"},m)),o.createElement(b,{w:"300px",minH:"10px"},p))};s();var e=u(x()),h=({children:t,...m})=>{let r=(0,e.useIsSubmitting)(),{isValid:i}=(0,e.useFormContext)();return o.createElement(n,{type:"submit",isDisabled:r||!i,isLoading:r,...m,mt:"1em"},t)};export{f as a,h as b};
