import{j as m}from"./index-DnB1XXdB.js";import{S as u}from"./Switch-DO6l0lT9.js";import"./Checkbox-BEJf4qTi.js";function f({disabled:r,field:{onBlur:n,...t},form:{isSubmitting:o},onBlur:e,helperText:l,...i}){return{variant:i.variant,disabled:r??o,onBlur:e??function(a){n(a??t.name)},...t,...i}}function d(r){return m.jsx(u,{...f(r)})}export{d as F};