import { g as y } from "./index.es341.js";
import { f as A } from "./index.es365.js";
import { f as M } from "./index.es371.js";
import { i as w } from "./index.es367.js";
import { h as D } from "./index.es373.js";
import { f as L } from "./index.es463.js";
import { h as O } from "./index.es520.js";
import { a as N } from "./index.es573.js";
import { d as T } from "./index.es521.js";
import { v as x } from "./index.es615.js";
import { e as _ } from "./index.es616.js";
import { e as k } from "./index.es579.js";
var a = y, F = A, P = M, u = w, q = D, E = L, g = O, B = N, d = T, G = x, H = _, R = k, c = a.setImmediate, v = a.clearImmediate, Y = a.process, i = a.Dispatch, j = a.Function, h = a.MessageChannel, z = a.String, s = 0, n = {}, I = "onreadystatechange", o, t, m, f;
E(function() {
  o = a.location;
});
var p = function(e) {
  if (q(n, e)) {
    var r = n[e];
    delete n[e], r();
  }
}, l = function(e) {
  return function() {
    p(e);
  };
}, C = function(e) {
  p(e.data);
}, S = function(e) {
  a.postMessage(z(e), o.protocol + "//" + o.host);
};
(!c || !v) && (c = function(r) {
  G(arguments.length, 1);
  var $ = u(r) ? r : j(r), b = B(arguments, 1);
  return n[++s] = function() {
    F($, void 0, b);
  }, t(s), s;
}, v = function(r) {
  delete n[r];
}, R ? t = function(e) {
  Y.nextTick(l(e));
} : i && i.now ? t = function(e) {
  i.now(l(e));
} : h && !H ? (m = new h(), f = m.port2, m.port1.onmessage = C, t = P(f.postMessage, f)) : a.addEventListener && u(a.postMessage) && !a.importScripts && o && o.protocol !== "file:" && !E(S) ? (t = S, a.addEventListener("message", C, !1)) : I in d("script") ? t = function(e) {
  g.appendChild(d("script"))[I] = function() {
    g.removeChild(this), p(e);
  };
} : t = function(e) {
  setTimeout(l(e), 0);
});
var ne = {
  set: c,
  clear: v
};
export {
  ne as t
};
//# sourceMappingURL=index.es582.js.map
