import c from "./index-classCallCheck.js";
import m from "./index-createClass.js";
import n from "./index-assertThisInitialized.js";
import f from "./index-inherits.js";
import u from "./index-createSuper.js";
import s from "./index-defineProperty.js";
import { Parser as h } from "./index-Parser4.js";
import { mapValue as v, parseNDigits as g } from "./index-utils12.js";
var k = /* @__PURE__ */ (function(l) {
  f(o, l);
  var i = u(o);
  function o() {
    var e;
    c(this, o);
    for (var t = arguments.length, a = new Array(t), r = 0; r < t; r++)
      a[r] = arguments[r];
    return e = i.call.apply(i, [this].concat(a)), s(n(e), "priority", 30), s(n(e), "incompatibleTokens", ["t", "T"]), e;
  }
  return m(o, [{
    key: "parse",
    value: function(t, a) {
      var r = function(p) {
        return Math.floor(p * Math.pow(10, -a.length + 3));
      };
      return v(g(a.length, t), r);
    }
  }, {
    key: "set",
    value: function(t, a, r) {
      return t.setUTCMilliseconds(r), t;
    }
  }]), o;
})(h);
export {
  k as FractionOfSecondParser
};
