var t, o;
function v() {
  if (o)
    return t;
  o = 1;
  var f = "-".charCodeAt(0), c = "+".charCodeAt(0), u = ".".charCodeAt(0), d = "e".charCodeAt(0), h = "E".charCodeAt(0);
  return t = function(a) {
    for (var e = 0, l = a.length, n = !1, i = -1, s = !1, r; e < l; ) {
      if (r = a.charCodeAt(e), r >= 48 && r <= 57)
        s = !0;
      else if (r === d || r === h) {
        if (i > -1)
          break;
        i = e;
      } else if (r === u) {
        if (n)
          break;
        n = !0;
      } else if (r === c || r === f) {
        if (e !== 0)
          break;
      } else
        break;
      e += 1;
    }
    return i + 1 === e && e--, s ? {
      number: a.slice(0, e),
      unit: a.slice(e)
    } : !1;
  }, t;
}
export {
  v as __require
};
//# sourceMappingURL=unit.js.map
