import { _ as a } from "./index.es333.js";
import { p as n } from "./index.es464.js";
import { f } from "./index.es475.js";
import { g as m } from "./index.es391.js";
import { i as u } from "./index.es394.js";
import { s as p } from "./index.es511.js";
import { p as c } from "./index.es512.js";
var v = a, o = n, l = f, C = m, h = u, N = p, s = c, $ = o && o.prototype, P = !!o && l(function() {
  $.finally.call({ then: function() {
  } }, function() {
  });
});
v({ target: "Promise", proto: !0, real: !0, forced: P }, {
  finally: function(r) {
    var e = N(this, C("Promise")), i = h(r);
    return this.then(
      i ? function(t) {
        return s(e, r()).then(function() {
          return t;
        });
      } : r,
      i ? function(t) {
        return s(e, r()).then(function() {
          throw t;
        });
      } : r
    );
  }
});
//# sourceMappingURL=index.es451.js.map
