import { __require as i } from "./index-utils10.js";
var a, h;
function o() {
  if (h) return a;
  h = 1;
  var s = i();
  function n() {
    this.handlers = [];
  }
  return n.prototype.use = function(e, u, r) {
    return this.handlers.push({
      fulfilled: e,
      rejected: u,
      synchronous: r ? r.synchronous : !1,
      runWhen: r ? r.runWhen : null
    }), this.handlers.length - 1;
  }, n.prototype.eject = function(e) {
    this.handlers[e] && (this.handlers[e] = null);
  }, n.prototype.clear = function() {
    this.handlers && (this.handlers = []);
  }, n.prototype.forEach = function(e) {
    s.forEach(this.handlers, function(r) {
      r !== null && e(r);
    });
  }, a = n, a;
}
export {
  o as __require
};
