import{r,j as a}from"./vendor-ClLR6ncd.js";import{T as n}from"./index-OtVJl4GC.js";const u=/^[1-9]\d*$/,x=r.forwardRef(function({setter:t,...s},o){const i=r.useCallback(e=>{e===""?t(""):u.test(e)&&t(Number.parseInt(e))},[t]);return a.jsx(n,{ref:o,setter:i,...s})});export{x as N};
