import { s as Ee, R as z, r as O } from "./index-CQdU3574.js";
const Ae = /* @__PURE__ */ Ee("div")({
  name: "NumberOverlayEditorStyle",
  class: "gdg-n15fjm3e",
  propsAsIs: !1
});
function ve(e, a) {
  var r = {};
  for (var n in e)
    Object.prototype.hasOwnProperty.call(e, n) && a.indexOf(n) < 0 && (r[n] = e[n]);
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
    for (var t = 0, n = Object.getOwnPropertySymbols(e); t < n.length; t++)
      a.indexOf(n[t]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[t]) && (r[n[t]] = e[n[t]]);
  return r;
}
var Y;
(function(e) {
  e.event = "event", e.props = "prop";
})(Y || (Y = {}));
function $() {
}
function Oe(e) {
  var a, r = void 0;
  return function() {
    for (var n = [], t = arguments.length; t--; )
      n[t] = arguments[t];
    return a && n.length === a.length && n.every(function(i, l) {
      return i === a[l];
    }) || (a = n, r = e.apply(void 0, n)), r;
  };
}
function ee(e) {
  return !!(e || "").match(/\d/);
}
function H(e) {
  return e == null;
}
function Te(e) {
  return typeof e == "number" && isNaN(e);
}
function de(e) {
  return H(e) || Te(e) || typeof e == "number" && !isFinite(e);
}
function ge(e) {
  return e.replace(/[-[\]/{}()*+?.\\^$|]/g, "\\$&");
}
function Be(e) {
  switch (e) {
    case "lakh":
      return /(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;
    case "wan":
      return /(\d)(?=(\d{4})+(?!\d))/g;
    case "thousand":
    default:
      return /(\d)(?=(\d{3})+(?!\d))/g;
  }
}
function Fe(e, a, r) {
  var n = Be(r), t = e.search(/[1-9]/);
  return t = t === -1 ? e.length : t, e.substring(0, t) + e.substring(t, e.length).replace(n, "$1" + a);
}
function _e(e) {
  var a = O.useRef(e);
  a.current = e;
  var r = O.useRef(function() {
    for (var n = [], t = arguments.length; t--; )
      n[t] = arguments[t];
    return a.current.apply(a, n);
  });
  return r.current;
}
function oe(e, a) {
  a === void 0 && (a = !0);
  var r = e[0] === "-", n = r && a;
  e = e.replace("-", "");
  var t = e.split("."), i = t[0], l = t[1] || "";
  return {
    beforeDecimal: i,
    afterDecimal: l,
    hasNegation: r,
    addNegation: n
  };
}
function je(e) {
  if (!e)
    return e;
  var a = e[0] === "-";
  a && (e = e.substring(1, e.length));
  var r = e.split("."), n = r[0].replace(/^0+/, "") || "0", t = r[1] || "";
  return (a ? "-" : "") + n + (t ? "." + t : "");
}
function me(e, a, r) {
  for (var n = "", t = r ? "0" : "", i = 0; i <= a - 1; i++)
    n += e[i] || t;
  return n;
}
function le(e, a) {
  return Array(a + 1).join(e);
}
function he(e) {
  var a = e + "", r = a[0] === "-" ? "-" : "";
  r && (a = a.substring(1));
  var n = a.split(/[eE]/g), t = n[0], i = n[1];
  if (i = Number(i), !i)
    return r + t;
  t = t.replace(".", "");
  var l = 1 + i, S = t.length;
  return l < 0 ? t = "0." + le("0", Math.abs(l)) + t : l >= S ? t = t + le("0", l - S) : t = (t.substring(0, l) || "0") + "." + t.substring(l), r + t;
}
function fe(e, a, r) {
  if (["", "-"].indexOf(e) !== -1)
    return e;
  var n = (e.indexOf(".") !== -1 || r) && a, t = oe(e), i = t.beforeDecimal, l = t.afterDecimal, S = t.hasNegation, x = parseFloat("0." + (l || "0")), b = l.length <= a ? "0." + l : x.toFixed(a), h = b.split("."), v = i;
  i && Number(h[0]) && (v = i.split("").reverse().reduce(function(w, D, g) {
    return w.length > g ? (Number(w[0]) + Number(D)).toString() + w.substring(1, w.length) : D + w;
  }, h[0]));
  var m = me(h[1] || "", a, r), y = S ? "-" : "", s = n ? "." : "";
  return "" + y + v + s + m;
}
function Z(e, a) {
  if (e.value = e.value, e !== null) {
    if (e.createTextRange) {
      var r = e.createTextRange();
      return r.move("character", a), r.select(), !0;
    }
    return e.selectionStart || e.selectionStart === 0 ? (e.focus(), e.setSelectionRange(a, a), !0) : (e.focus(), !1);
  }
}
var Se = Oe(function(e, a) {
  for (var r = 0, n = 0, t = e.length, i = a.length; e[r] === a[r] && r < t; )
    r++;
  for (; e[t - 1 - n] === a[i - 1 - n] && i - n > r && t - n > r; )
    n++;
  return {
    from: { start: r, end: t - n },
    to: { start: r, end: i - n }
  };
});
function Le(e, a, r) {
  return Math.min(Math.max(e, a), r);
}
function ie(e) {
  return Math.max(e.selectionStart, e.selectionEnd);
}
function Me() {
  return typeof navigator < "u" && !(navigator.platform && /iPhone|iPod/.test(navigator.platform));
}
function ke(e) {
  return {
    from: {
      start: 0,
      end: 0
    },
    to: {
      start: 0,
      end: e.length
    },
    lastValue: ""
  };
}
function Pe(e) {
  var a = e.currentValue, r = e.formattedValue, n = e.currentValueIndex, t = e.formattedValueIndex;
  return a[n] === r[t];
}
function Ke(e, a, r, n, t, i, l) {
  l === void 0 && (l = Pe);
  var S = t.findIndex(function(P) {
    return P;
  }), x = e.slice(0, S);
  !a && !r.startsWith(x) && (a = x, r = x + r, n = n + x.length);
  for (var b = r.length, h = e.length, v = {}, m = new Array(b), y = 0; y < b; y++) {
    m[y] = -1;
    for (var s = 0, w = h; s < w; s++) {
      var D = l({
        currentValue: r,
        lastValue: a,
        formattedValue: e,
        currentValueIndex: y,
        formattedValueIndex: s
      });
      if (D && v[s] !== !0) {
        m[y] = s, v[s] = !0;
        break;
      }
    }
  }
  for (var g = n; g < b && (m[g] === -1 || !i(r[g])); )
    g++;
  var T = g === b || m[g] === -1 ? h : m[g];
  for (g = n - 1; g > 0 && m[g] === -1; )
    g--;
  var F = g === -1 || m[g] === -1 ? 0 : m[g] + 1;
  return F > T ? T : n - F < T - n ? F : T;
}
function ce(e, a, r, n) {
  var t = e.length;
  if (a = Le(a, 0, t), n === "left") {
    for (; a >= 0 && !r[a]; )
      a--;
    a === -1 && (a = r.indexOf(!0));
  } else {
    for (; a <= t && !r[a]; )
      a++;
    a > t && (a = r.lastIndexOf(!0));
  }
  return a === -1 && (a = t), a;
}
function We(e) {
  for (var a = Array.from({ length: e.length + 1 }).map(function() {
    return !0;
  }), r = 0, n = a.length; r < n; r++)
    a[r] = !!(ee(e[r]) || ee(e[r - 1]));
  return a;
}
function pe(e, a, r, n, t, i) {
  i === void 0 && (i = $);
  var l = _e(function(s, w) {
    var D, g;
    return de(s) ? (g = "", D = "") : typeof s == "number" || w ? (g = typeof s == "number" ? he(s) : s, D = n(g)) : (g = t(s, void 0), D = n(g)), { formattedValue: D, numAsString: g };
  }), S = O.useState(function() {
    return l(H(e) ? a : e, r);
  }), x = S[0], b = S[1], h = function(s, w) {
    s.formattedValue !== x.formattedValue && b({
      formattedValue: s.formattedValue,
      numAsString: s.value
    }), i(s, w);
  }, v = e, m = r;
  H(e) && (v = x.numAsString, m = !0);
  var y = l(v, m);
  return O.useMemo(function() {
    b(y);
  }, [y.formattedValue]), [x, h];
}
function Ue(e) {
  return e.replace(/[^0-9]/g, "");
}
function $e(e) {
  return e;
}
function Ge(e) {
  var a = e.type;
  a === void 0 && (a = "text");
  var r = e.displayType;
  r === void 0 && (r = "input");
  var n = e.customInput, t = e.renderText, i = e.getInputRef, l = e.format;
  l === void 0 && (l = $e);
  var S = e.removeFormatting;
  S === void 0 && (S = Ue);
  var x = e.defaultValue, b = e.valueIsNumericString, h = e.onValueChange, v = e.isAllowed, m = e.onChange;
  m === void 0 && (m = $);
  var y = e.onKeyDown;
  y === void 0 && (y = $);
  var s = e.onMouseUp;
  s === void 0 && (s = $);
  var w = e.onFocus;
  w === void 0 && (w = $);
  var D = e.onBlur;
  D === void 0 && (D = $);
  var g = e.value, T = e.getCaretBoundary;
  T === void 0 && (T = We);
  var F = e.isValidInputCharacter;
  F === void 0 && (F = ee);
  var P = e.isCharacterSame, L = ve(e, ["type", "displayType", "customInput", "renderText", "getInputRef", "format", "removeFormatting", "defaultValue", "valueIsNumericString", "onValueChange", "isAllowed", "onChange", "onKeyDown", "onMouseUp", "onFocus", "onBlur", "value", "getCaretBoundary", "isValidInputCharacter", "isCharacterSame"]), G = pe(g, x, !!b, l, S, h), K = G[0], V = K.formattedValue, M = K.numAsString, W = G[1], k = O.useRef({ formattedValue: V, numAsString: M }), q = function(o, u) {
    k.current = { formattedValue: o.formattedValue, numAsString: o.value }, W(o, u);
  }, U = O.useState(!1), J = U[0], Q = U[1], f = O.useRef(null), c = O.useRef({
    setCaretTimeout: null,
    focusTimeout: null
  });
  O.useEffect(function() {
    return Q(!0), function() {
      clearTimeout(c.current.setCaretTimeout), clearTimeout(c.current.focusTimeout);
    };
  }, []);
  var A = l, C = function(o, u) {
    var d = parseFloat(u);
    return {
      formattedValue: o,
      value: u,
      floatValue: isNaN(d) ? void 0 : d
    };
  }, R = function(o, u, d) {
    o.selectionStart === 0 && o.selectionEnd === o.value.length || (Z(o, u), c.current.setCaretTimeout = setTimeout(function() {
      o.value === d && o.selectionStart !== u && Z(o, u);
    }, 0));
  }, E = function(o, u, d) {
    return ce(o, u, T(o), d);
  }, B = function(o, u, d) {
    var I = T(u), _ = Ke(u, V, o, d, I, F, P);
    return _ = ce(u, _, I), _;
  }, ae = function(o) {
    var u = o.formattedValue;
    u === void 0 && (u = "");
    var d = o.input, I = o.source, _ = o.event, p = o.numAsString, N;
    if (d) {
      var j = o.inputValue || d.value, X = ie(d);
      d.value = u, N = B(j, u, X), N !== void 0 && R(d, N, u);
    }
    u !== V && q(C(u, p), { event: _, source: I });
  };
  O.useEffect(function() {
    var o = k.current, u = o.formattedValue, d = o.numAsString;
    V !== u && (V !== M || u !== d) && q(C(V, M), {
      event: void 0,
      source: Y.props
    });
  }, [V, M]);
  var ne = f.current ? ie(f.current) : void 0, re = typeof window < "u" ? O.useLayoutEffect : O.useEffect;
  re(function() {
    var o = f.current;
    if (V !== k.current.formattedValue && o) {
      var u = B(k.current.formattedValue, V, ne);
      o.value = V, R(o, u, V);
    }
  }, [V]);
  var ye = function(o, u, d) {
    var I = Se(V, o), _ = Object.assign(Object.assign({}, I), { lastValue: V }), p = S(o, _), N = A(p);
    if (p = S(N, void 0), v && !v(C(N, p))) {
      var j = u.target, X = ie(j), Re = B(o, V, X);
      return j.value = V, R(j, Re, V), !1;
    }
    return ae({
      formattedValue: N,
      numAsString: p,
      inputValue: o,
      event: u,
      source: d,
      input: u.target
    }), !0;
  }, be = function(o) {
    var u = o.target, d = u.value, I = ye(d, o, Y.event);
    I && m(o);
  }, Ve = function(o) {
    var u = o.target, d = o.key, I = u.selectionStart, _ = u.selectionEnd, p = u.value;
    p === void 0 && (p = "");
    var N;
    if (d === "ArrowLeft" || d === "Backspace" ? N = Math.max(I - 1, 0) : d === "ArrowRight" ? N = Math.min(I + 1, p.length) : d === "Delete" && (N = I), N === void 0 || I !== _) {
      y(o);
      return;
    }
    var j = N;
    if (d === "ArrowLeft" || d === "ArrowRight") {
      var X = d === "ArrowLeft" ? "left" : "right";
      j = E(p, N, X), j !== N && o.preventDefault();
    } else
      d === "Delete" && !F(p[N]) ? j = E(p, N, "right") : d === "Backspace" && !F(p[N]) && (j = E(p, N, "left"));
    j !== N && R(u, j, p), o.isUnitTestRun && R(u, j, p), y(o);
  }, Ne = function(o) {
    var u = o.target, d = function() {
      var I = u.selectionStart, _ = u.selectionEnd, p = u.value;
      if (p === void 0 && (p = ""), I === _) {
        var N = E(p, I);
        N !== I && R(u, N, p);
      }
    };
    d(), requestAnimationFrame(function() {
      d();
    }), s(o);
  }, we = function(o) {
    o.persist && o.persist();
    var u = o.target, d = o.currentTarget;
    f.current = u, c.current.focusTimeout = setTimeout(function() {
      var I = u.selectionStart, _ = u.selectionEnd, p = u.value;
      p === void 0 && (p = "");
      var N = E(p, I);
      N !== I && !(I === 0 && _ === p.length) && R(u, N, p), w(Object.assign(Object.assign({}, o), { currentTarget: d }));
    }, 0);
  }, De = function(o) {
    f.current = null, clearTimeout(c.current.focusTimeout), clearTimeout(c.current.setCaretTimeout), D(o);
  }, Ie = J && Me() ? "numeric" : void 0, ue = Object.assign({ inputMode: Ie }, L, {
    type: a,
    value: V,
    onChange: be,
    onKeyDown: Ve,
    onMouseUp: Ne,
    onFocus: we,
    onBlur: De
  });
  if (r === "text")
    return t ? z.createElement(z.Fragment, null, t(V, L) || null) : z.createElement("span", Object.assign({}, L, { ref: i }), V);
  if (n) {
    var Ce = n;
    return z.createElement(Ce, Object.assign({}, ue, { ref: i }));
  }
  return z.createElement("input", Object.assign({}, ue, { ref: i }));
}
function se(e, a) {
  var r = a.decimalScale, n = a.fixedDecimalScale, t = a.prefix;
  t === void 0 && (t = "");
  var i = a.suffix;
  i === void 0 && (i = "");
  var l = a.allowNegative, S = a.thousandsGroupStyle;
  if (S === void 0 && (S = "thousand"), e === "" || e === "-")
    return e;
  var x = te(a), b = x.thousandSeparator, h = x.decimalSeparator, v = r !== 0 && e.indexOf(".") !== -1 || r && n, m = oe(e, l), y = m.beforeDecimal, s = m.afterDecimal, w = m.addNegation;
  return r !== void 0 && (s = me(s, r, !!n)), b && (y = Fe(y, b, S)), t && (y = t + y), i && (s = s + i), w && (y = "-" + y), e = y + (v && h || "") + s, e;
}
function te(e) {
  var a = e.decimalSeparator;
  a === void 0 && (a = ".");
  var r = e.thousandSeparator, n = e.allowedDecimalSeparators;
  return r === !0 && (r = ","), n || (n = [a, "."]), {
    decimalSeparator: a,
    thousandSeparator: r,
    allowedDecimalSeparators: n
  };
}
function Ze(e, a) {
  e === void 0 && (e = "");
  var r = new RegExp("(-)"), n = new RegExp("(-)(.)*(-)"), t = r.test(e), i = n.test(e);
  return e = e.replace(/-/g, ""), t && !i && a && (e = "-" + e), e;
}
function qe(e, a) {
  return new RegExp("(^-)|[0-9]|" + ge(e), "g");
}
function ze(e, a, r) {
  return e === "" ? !0 : !(a != null && a.match(/\d/)) && !(r != null && r.match(/\d/)) && typeof e == "string" && !isNaN(Number(e));
}
function He(e, a, r) {
  var n;
  a === void 0 && (a = ke(e));
  var t = r.allowNegative, i = r.prefix;
  i === void 0 && (i = "");
  var l = r.suffix;
  l === void 0 && (l = "");
  var S = r.decimalScale, x = a.from, b = a.to, h = b.start, v = b.end, m = te(r), y = m.allowedDecimalSeparators, s = m.decimalSeparator, w = e[v] === s;
  if (ee(e) && (e === i || e === l) && a.lastValue === "")
    return e;
  if (v - h === 1 && y.indexOf(e[h]) !== -1) {
    var D = S === 0 ? "" : s;
    e = e.substring(0, h) + D + e.substring(h + 1, e.length);
  }
  var g = function(c, A, C) {
    var R = !1, E = !1;
    i.startsWith("-") ? R = !1 : c.startsWith("--") ? (R = !1, E = !0) : l.startsWith("-") && c.length === l.length ? R = !1 : c[0] === "-" && (R = !0);
    var B = R ? 1 : 0;
    return E && (B = 2), B && (c = c.substring(B), A -= B, C -= B), { value: c, start: A, end: C, hasNegation: R };
  }, T = g(e, h, v), F = T.hasNegation;
  n = T, e = n.value, h = n.start, v = n.end;
  var P = g(a.lastValue, x.start, x.end), L = P.start, G = P.end, K = P.value, V = e.substring(h, v);
  e.length && K.length && (L > K.length - l.length || G < i.length) && !(V && l.startsWith(V)) && (e = K);
  var M = 0;
  e.startsWith(i) ? M += i.length : h < i.length && (M = h), e = e.substring(M), v -= M;
  var W = e.length, k = e.length - l.length;
  e.endsWith(l) ? W = k : (v > k || v > e.length - l.length) && (W = v), e = e.substring(0, W), e = Ze(F ? "-" + e : e, t), e = (e.match(qe(s)) || []).join("");
  var q = e.indexOf(s);
  e = e.replace(new RegExp(ge(s), "g"), function(c, A) {
    return A === q ? "." : "";
  });
  var U = oe(e, t), J = U.beforeDecimal, Q = U.afterDecimal, f = U.addNegation;
  return b.end - b.start < x.end - x.start && J === "" && w && !parseFloat(Q) && (e = f ? "-" : ""), e;
}
function Je(e, a) {
  var r = a.prefix;
  r === void 0 && (r = "");
  var n = a.suffix;
  n === void 0 && (n = "");
  var t = Array.from({ length: e.length + 1 }).map(function() {
    return !0;
  }), i = e[0] === "-";
  t.fill(!1, 0, r.length + (i ? 1 : 0));
  var l = e.length;
  return t.fill(!1, l - n.length + 1, l + 1), t;
}
function Qe(e) {
  var a = te(e), r = a.thousandSeparator, n = a.decimalSeparator, t = e.prefix;
  t === void 0 && (t = "");
  var i = e.allowNegative;
  if (i === void 0 && (i = !0), r === n)
    throw new Error(`
        Decimal separator can't be same as thousand separator.
        thousandSeparator: ` + r + ` (thousandSeparator = {true} is same as thousandSeparator = ",")
        decimalSeparator: ` + n + ` (default value for decimalSeparator is .)
     `);
  return t.startsWith("-") && i && (console.error(`
      Prefix can't start with '-' when allowNegative is true.
      prefix: ` + t + `
      allowNegative: ` + i + `
    `), i = !1), Object.assign(Object.assign({}, e), { allowNegative: i });
}
function Xe(e) {
  e = Qe(e), e.decimalSeparator, e.allowedDecimalSeparators, e.thousandsGroupStyle;
  var a = e.suffix, r = e.allowNegative, n = e.allowLeadingZeros, t = e.onKeyDown;
  t === void 0 && (t = $);
  var i = e.onBlur;
  i === void 0 && (i = $);
  var l = e.thousandSeparator, S = e.decimalScale, x = e.fixedDecimalScale, b = e.prefix;
  b === void 0 && (b = "");
  var h = e.defaultValue, v = e.value, m = e.valueIsNumericString, y = e.onValueChange, s = ve(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), w = te(e), D = w.decimalSeparator, g = w.allowedDecimalSeparators, T = function(f) {
    return se(f, e);
  }, F = function(f, c) {
    return He(f, c, e);
  }, P = H(v) ? h : v, L = m ?? ze(P, b, a);
  H(v) ? H(h) || (L = L || typeof h == "number") : L = L || typeof v == "number";
  var G = function(f) {
    return de(f) ? f : (typeof f == "number" && (f = he(f)), L && typeof S == "number" ? fe(f, S, !!x) : f);
  }, K = pe(G(v), G(h), !!L, T, F, y), V = K[0], M = V.numAsString, W = V.formattedValue, k = K[1], q = function(f) {
    var c = f.target, A = f.key, C = c.selectionStart, R = c.selectionEnd, E = c.value;
    if (E === void 0 && (E = ""), C !== R) {
      t(f);
      return;
    }
    A === "Backspace" && E[0] === "-" && C === b.length + 1 && r && Z(c, 1), S && x && (A === "Backspace" && E[C - 1] === D ? (Z(c, C - 1), f.preventDefault()) : A === "Delete" && E[C] === D && f.preventDefault()), g != null && g.includes(A) && E[C] === D && Z(c, C + 1);
    var B = l === !0 ? "," : l;
    A === "Backspace" && E[C - 1] === B && Z(c, C - 1), A === "Delete" && E[C] === B && Z(c, C + 1), t(f);
  }, U = function(f) {
    var c = M;
    if (c.match(/\d/g) || (c = ""), n || (c = je(c)), x && S && (c = fe(c, S, x)), c !== M) {
      var A = se(c, e);
      k({
        formattedValue: A,
        value: c,
        floatValue: parseFloat(c)
      }, {
        event: f,
        source: Y.event
      });
    }
    i(f);
  }, J = function(f) {
    return f === D ? !0 : ee(f);
  }, Q = function(f) {
    var c = f.currentValue, A = f.lastValue, C = f.formattedValue, R = f.currentValueIndex, E = f.formattedValueIndex, B = c[R], ae = C[E], ne = Se(A, c), re = ne.to;
    return R >= re.start && R < re.end && g && g.includes(B) && ae === D ? !0 : B === ae;
  };
  return Object.assign(Object.assign({}, s), {
    value: W,
    valueIsNumericString: !1,
    isValidInputCharacter: J,
    isCharacterSame: Q,
    onValueChange: k,
    format: T,
    removeFormatting: F,
    getCaretBoundary: function(f) {
      return Je(f, e);
    },
    onKeyDown: q,
    onBlur: U
  });
}
function Ye(e) {
  var a = Xe(e);
  return z.createElement(Ge, Object.assign({}, a));
}
function xe() {
  var r, n, t;
  return ((t = (n = (r = Intl.NumberFormat()) == null ? void 0 : r.formatToParts(1.1)) == null ? void 0 : n.find((i) => i.type === "decimal")) == null ? void 0 : t.value) ?? ".";
}
function ea() {
  return xe() === "." ? "," : ".";
}
const ra = (e) => {
  const { value: a, onChange: r, disabled: n, highlight: t, validatedSelection: i, fixedDecimals: l, allowNegative: S, thousandSeparator: x, decimalSeparator: b } = e, h = O.useRef();
  return O.useLayoutEffect(() => {
    var v;
    if (i !== void 0) {
      const m = typeof i == "number" ? [i, null] : i;
      (v = h.current) == null || v.setSelectionRange(m[0], m[1]);
    }
  }, [i]), O.createElement(
    Ae,
    null,
    O.createElement(Ye, {
      autoFocus: !0,
      getInputRef: h,
      className: "gdg-input",
      onFocus: (v) => v.target.setSelectionRange(t ? 0 : v.target.value.length, v.target.value.length),
      disabled: n === !0,
      decimalScale: l,
      allowNegative: S,
      thousandSeparator: x ?? ea(),
      decimalSeparator: b ?? xe(),
      value: Object.is(a, -0) ? "-" : a ?? "",
      // decimalScale={3}
      // prefix={"$"}
      onValueChange: r
    })
  );
};
export {
  ra as default
};
//# sourceMappingURL=number-overlay-editor-GMOg_zfX.js.map
