import { bI as u, p as n, cr as p, j as d, H as i, i as o, A as f } from "./index-G5Vdjjso.js";
import c from "./StringField-DJf6VVn5.js";
function $(a, r) {
  const s = u(r, ["children", "$$slots", "$$events", "$$legacy"]);
  let t = n(r, "defaultValue", 8);
  const l = (e) => e == null || isNaN(e) ? null : parseFloat(e);
  {
    let e = i(() => (o(t()), f(() => l(t()))));
    c(a, p(() => s, {
      type: "number",
      get defaultValue() {
        return d(e);
      }
    }));
  }
}
export {
  $ as default
};
