(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
module.exports = require("core-js/library/fn/array/from");

},{"core-js/library/fn/array/from":17}],2:[function(require,module,exports){
module.exports = require("core-js/library/fn/array/is-array");

},{"core-js/library/fn/array/is-array":18}],3:[function(require,module,exports){
module.exports = require("core-js/library/fn/get-iterator");

},{"core-js/library/fn/get-iterator":19}],4:[function(require,module,exports){
module.exports = require("core-js/library/fn/json/stringify");

},{"core-js/library/fn/json/stringify":20}],5:[function(require,module,exports){
module.exports = require("core-js/library/fn/object/assign");

},{"core-js/library/fn/object/assign":21}],6:[function(require,module,exports){
module.exports = require("core-js/library/fn/object/create");

},{"core-js/library/fn/object/create":22}],7:[function(require,module,exports){
module.exports = require("core-js/library/fn/object/define-property");

},{"core-js/library/fn/object/define-property":23}],8:[function(require,module,exports){
module.exports = require("core-js/library/fn/object/keys");

},{"core-js/library/fn/object/keys":24}],9:[function(require,module,exports){
module.exports = require("core-js/library/fn/parse-int");

},{"core-js/library/fn/parse-int":25}],10:[function(require,module,exports){
module.exports = require("core-js/library/fn/promise");

},{"core-js/library/fn/promise":26}],11:[function(require,module,exports){
module.exports = require("core-js/library/fn/set");

},{"core-js/library/fn/set":27}],12:[function(require,module,exports){
module.exports = require("core-js/library/fn/symbol");

},{"core-js/library/fn/symbol":28}],13:[function(require,module,exports){
function e(e) {
  if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  return e;
}

module.exports = e;

},{}],14:[function(require,module,exports){
var r = require("../core-js/object/assign");

function e() {
  return module.exports = e = r || function(r) {
    for (var e = 1; e < arguments.length; e++) {
      var o = arguments[e];
      for (var t in o) Object.prototype.hasOwnProperty.call(o, t) && (r[t] = o[t]);
    }
    return r;
  }, e.apply(this, arguments);
}

module.exports = e;

},{"../core-js/object/assign":5}],15:[function(require,module,exports){
var o = require("../core-js/object/create");

function t(t, r) {
  t.prototype = o(r.prototype), t.prototype.constructor = t, t.__proto__ = r;
}

module.exports = t;

},{"../core-js/object/create":6}],16:[function(require,module,exports){
function e(e) {
  return e && e.__esModule ? e : {
    default: e
  };
}

module.exports = e;

},{}],17:[function(require,module,exports){
require("../../modules/es6.string.iterator"), require("../../modules/es6.array.from"), 
module.exports = require("../../modules/_core").Array.from;

},{"../../modules/_core":43,"../../modules/es6.array.from":118,"../../modules/es6.string.iterator":129}],18:[function(require,module,exports){
require("../../modules/es6.array.is-array"), module.exports = require("../../modules/_core").Array.isArray;

},{"../../modules/_core":43,"../../modules/es6.array.is-array":119}],19:[function(require,module,exports){
require("../modules/web.dom.iterable"), require("../modules/es6.string.iterator"), 
module.exports = require("../modules/core.get-iterator");

},{"../modules/core.get-iterator":117,"../modules/es6.string.iterator":129,"../modules/web.dom.iterable":138}],20:[function(require,module,exports){
var r = require("../../modules/_core"), i = r.JSON || (r.JSON = {
  stringify: JSON.stringify
});

module.exports = function(r) {
  return i.stringify.apply(i, arguments);
};

},{"../../modules/_core":43}],21:[function(require,module,exports){
require("../../modules/es6.object.assign"), module.exports = require("../../modules/_core").Object.assign;

},{"../../modules/_core":43,"../../modules/es6.object.assign":121}],22:[function(require,module,exports){
require("../../modules/es6.object.create");

var e = require("../../modules/_core").Object;

module.exports = function(r, o) {
  return e.create(r, o);
};

},{"../../modules/_core":43,"../../modules/es6.object.create":122}],23:[function(require,module,exports){
require("../../modules/es6.object.define-property");

var e = require("../../modules/_core").Object;

module.exports = function(r, o, t) {
  return e.defineProperty(r, o, t);
};

},{"../../modules/_core":43,"../../modules/es6.object.define-property":123}],24:[function(require,module,exports){
require("../../modules/es6.object.keys"), module.exports = require("../../modules/_core").Object.keys;

},{"../../modules/_core":43,"../../modules/es6.object.keys":124}],25:[function(require,module,exports){
require("../modules/es6.parse-int"), module.exports = require("../modules/_core").parseInt;

},{"../modules/_core":43,"../modules/es6.parse-int":126}],26:[function(require,module,exports){
require("../modules/es6.object.to-string"), require("../modules/es6.string.iterator"), 
require("../modules/web.dom.iterable"), require("../modules/es6.promise"), require("../modules/es7.promise.finally"), 
require("../modules/es7.promise.try"), module.exports = require("../modules/_core").Promise;

},{"../modules/_core":43,"../modules/es6.object.to-string":125,"../modules/es6.promise":127,"../modules/es6.string.iterator":129,"../modules/es7.promise.finally":131,"../modules/es7.promise.try":132,"../modules/web.dom.iterable":138}],27:[function(require,module,exports){
require("../modules/es6.object.to-string"), require("../modules/es6.string.iterator"), 
require("../modules/web.dom.iterable"), require("../modules/es6.set"), require("../modules/es7.set.to-json"), 
require("../modules/es7.set.of"), require("../modules/es7.set.from"), module.exports = require("../modules/_core").Set;

},{"../modules/_core":43,"../modules/es6.object.to-string":125,"../modules/es6.set":128,"../modules/es6.string.iterator":129,"../modules/es7.set.from":133,"../modules/es7.set.of":134,"../modules/es7.set.to-json":135,"../modules/web.dom.iterable":138}],28:[function(require,module,exports){
require("../../modules/es6.symbol"), require("../../modules/es6.object.to-string"), 
require("../../modules/es7.symbol.async-iterator"), require("../../modules/es7.symbol.observable"), 
module.exports = require("../../modules/_core").Symbol;

},{"../../modules/_core":43,"../../modules/es6.object.to-string":125,"../../modules/es6.symbol":130,"../../modules/es7.symbol.async-iterator":136,"../../modules/es7.symbol.observable":137}],29:[function(require,module,exports){
module.exports = function(o) {
  if ("function" != typeof o) throw TypeError(o + " is not a function!");
  return o;
};

},{}],30:[function(require,module,exports){
module.exports = function() {};

},{}],31:[function(require,module,exports){
module.exports = function(o, n, r, i) {
  if (!(o instanceof n) || void 0 !== i && i in o) throw TypeError(r + ": incorrect invocation!");
  return o;
};

},{}],32:[function(require,module,exports){
var r = require("./_is-object");

module.exports = function(e) {
  if (!r(e)) throw TypeError(e + " is not an object!");
  return e;
};

},{"./_is-object":63}],33:[function(require,module,exports){
var r = require("./_for-of");

module.exports = function(e, o) {
  var u = [];
  return r(e, !1, u.push, u, o), u;
};

},{"./_for-of":53}],34:[function(require,module,exports){
var e = require("./_to-iobject"), r = require("./_to-length"), t = require("./_to-absolute-index");

module.exports = function(n) {
  return function(i, o, u) {
    var f, l = e(i), a = r(l.length), c = t(u, a);
    if (n && o != o) {
      for (;a > c; ) if ((f = l[c++]) != f) return !0;
    } else for (;a > c; c++) if ((n || c in l) && l[c] === o) return n || c || 0;
    return !n && -1;
  };
};

},{"./_to-absolute-index":104,"./_to-iobject":106,"./_to-length":107}],35:[function(require,module,exports){
var e = require("./_ctx"), r = require("./_iobject"), t = require("./_to-object"), i = require("./_to-length"), u = require("./_array-species-create");

module.exports = function(n, c) {
  var s = 1 == n, a = 2 == n, o = 3 == n, f = 4 == n, l = 6 == n, q = 5 == n || l, _ = c || u;
  return function(u, c, h) {
    for (var v, p, b = t(u), d = r(b), g = e(c, h, 3), j = i(d.length), x = 0, m = s ? _(u, j) : a ? _(u, 0) : void 0; j > x; x++) if ((q || x in d) && (p = g(v = d[x], x, b), 
    n)) if (s) m[x] = p; else if (p) switch (n) {
     case 3:
      return !0;

     case 5:
      return v;

     case 6:
      return x;

     case 2:
      m.push(v);
    } else if (f) return !1;
    return l ? -1 : o || f ? f : m;
  };
};

},{"./_array-species-create":37,"./_ctx":45,"./_iobject":60,"./_to-length":107,"./_to-object":108}],36:[function(require,module,exports){
var r = require("./_is-object"), e = require("./_is-array"), o = require("./_wks")("species");

module.exports = function(i) {
  var t;
  return e(i) && ("function" != typeof (t = i.constructor) || t !== Array && !e(t.prototype) || (t = void 0), 
  r(t) && null === (t = t[o]) && (t = void 0)), void 0 === t ? Array : t;
};

},{"./_is-array":62,"./_is-object":63,"./_wks":115}],37:[function(require,module,exports){
var r = require("./_array-species-constructor");

module.exports = function(e, n) {
  return new (r(e))(n);
};

},{"./_array-species-constructor":36}],38:[function(require,module,exports){
var e = require("./_cof"), t = require("./_wks")("toStringTag"), n = "Arguments" == e(function() {
  return arguments;
}()), r = function(e, t) {
  try {
    return e[t];
  } catch (e) {}
};

module.exports = function(u) {
  var o, c, i;
  return void 0 === u ? "Undefined" : null === u ? "Null" : "string" == typeof (c = r(o = Object(u), t)) ? c : n ? e(o) : "Object" == (i = e(o)) && "function" == typeof o.callee ? "Arguments" : i;
};

},{"./_cof":39,"./_wks":115}],39:[function(require,module,exports){
var r = {}.toString;

module.exports = function(t) {
  return r.call(t).slice(8, -1);
};

},{}],40:[function(require,module,exports){
"use strict";

var e = require("./_object-dp").f, r = require("./_object-create"), t = require("./_redefine-all"), i = require("./_ctx"), n = require("./_an-instance"), _ = require("./_for-of"), o = require("./_iter-define"), u = require("./_iter-step"), f = require("./_set-species"), s = require("./_descriptors"), l = require("./_meta").fastKey, c = require("./_validate-collection"), v = s ? "_s" : "size", a = function(e, r) {
  var t, i = l(r);
  if ("F" !== i) return e._i[i];
  for (t = e._f; t; t = t.n) if (t.k == r) return t;
};

module.exports = {
  getConstructor: function(o, u, f, l) {
    var h = o(function(e, t) {
      n(e, h, u, "_i"), e._t = u, e._i = r(null), e._f = void 0, e._l = void 0, e[v] = 0, 
      null != t && _(t, f, e[l], e);
    });
    return t(h.prototype, {
      clear: function() {
        for (var e = c(this, u), r = e._i, t = e._f; t; t = t.n) t.r = !0, t.p && (t.p = t.p.n = void 0), 
        delete r[t.i];
        e._f = e._l = void 0, e[v] = 0;
      },
      delete: function(e) {
        var r = c(this, u), t = a(r, e);
        if (t) {
          var i = t.n, n = t.p;
          delete r._i[t.i], t.r = !0, n && (n.n = i), i && (i.p = n), r._f == t && (r._f = i), 
          r._l == t && (r._l = n), r[v]--;
        }
        return !!t;
      },
      forEach: function(e) {
        c(this, u);
        for (var r, t = i(e, arguments.length > 1 ? arguments[1] : void 0, 3); r = r ? r.n : this._f; ) for (t(r.v, r.k, this); r && r.r; ) r = r.p;
      },
      has: function(e) {
        return !!a(c(this, u), e);
      }
    }), s && e(h.prototype, "size", {
      get: function() {
        return c(this, u)[v];
      }
    }), h;
  },
  def: function(e, r, t) {
    var i, n, _ = a(e, r);
    return _ ? _.v = t : (e._l = _ = {
      i: n = l(r, !0),
      k: r,
      v: t,
      p: i = e._l,
      n: void 0,
      r: !1
    }, e._f || (e._f = _), i && (i.n = _), e[v]++, "F" !== n && (e._i[n] = _)), e;
  },
  getEntry: a,
  setStrong: function(e, r, t) {
    o(e, r, function(e, t) {
      this._t = c(e, r), this._k = t, this._l = void 0;
    }, function() {
      for (var e = this._k, r = this._l; r && r.r; ) r = r.p;
      return this._t && (this._l = r = r ? r.n : this._t._f) ? u(0, "keys" == e ? r.k : "values" == e ? r.v : [ r.k, r.v ]) : (this._t = void 0, 
      u(1));
    }, t ? "entries" : "values", !t, !0), f(r);
  }
};

},{"./_an-instance":31,"./_ctx":45,"./_descriptors":47,"./_for-of":53,"./_iter-define":66,"./_iter-step":68,"./_meta":71,"./_object-create":75,"./_object-dp":76,"./_redefine-all":91,"./_set-species":95,"./_validate-collection":112}],41:[function(require,module,exports){
var r = require("./_classof"), e = require("./_array-from-iterable");

module.exports = function(t) {
  return function() {
    if (r(this) != t) throw TypeError(t + "#toJSON isn't generic");
    return e(this);
  };
};

},{"./_array-from-iterable":33,"./_classof":38}],42:[function(require,module,exports){
"use strict";

var e = require("./_global"), r = require("./_export"), t = require("./_meta"), i = require("./_fails"), o = require("./_hide"), n = require("./_redefine-all"), u = require("./_for-of"), s = require("./_an-instance"), a = require("./_is-object"), c = require("./_set-to-string-tag"), _ = require("./_object-dp").f, f = require("./_array-methods")(0), d = require("./_descriptors");

module.exports = function(p, l, q, h, g, y) {
  var v = e[p], E = v, b = g ? "set" : "add", m = E && E.prototype, x = {};
  return d && "function" == typeof E && (y || m.forEach && !i(function() {
    new E().entries().next();
  })) ? (E = l(function(e, r) {
    s(e, E, p, "_c"), e._c = new v(), null != r && u(r, g, e[b], e);
  }), f("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","), function(e) {
    var r = "add" == e || "set" == e;
    e in m && (!y || "clear" != e) && o(E.prototype, e, function(t, i) {
      if (s(this, E, e), !r && y && !a(t)) return "get" == e && void 0;
      var o = this._c[e](0 === t ? 0 : t, i);
      return r ? this : o;
    });
  }), y || _(E.prototype, "size", {
    get: function() {
      return this._c.size;
    }
  })) : (E = h.getConstructor(l, p, g, b), n(E.prototype, q), t.NEED = !0), c(E, p), 
  x[p] = E, r(r.G + r.W + r.F, x), y || h.setStrong(E, p, g), E;
};

},{"./_an-instance":31,"./_array-methods":35,"./_descriptors":47,"./_export":51,"./_fails":52,"./_for-of":53,"./_global":54,"./_hide":56,"./_is-object":63,"./_meta":71,"./_object-dp":76,"./_redefine-all":91,"./_set-to-string-tag":96}],43:[function(require,module,exports){
var e = module.exports = {
  version: "2.6.5"
};

"number" == typeof __e && (__e = e);

},{}],44:[function(require,module,exports){
"use strict";

var e = require("./_object-dp"), r = require("./_property-desc");

module.exports = function(t, i, o) {
  i in t ? e.f(t, i, r(0, o)) : t[i] = o;
};

},{"./_object-dp":76,"./_property-desc":90}],45:[function(require,module,exports){
var r = require("./_a-function");

module.exports = function(n, t, u) {
  if (r(n), void 0 === t) return n;
  switch (u) {
   case 1:
    return function(r) {
      return n.call(t, r);
    };

   case 2:
    return function(r, u) {
      return n.call(t, r, u);
    };

   case 3:
    return function(r, u, e) {
      return n.call(t, r, u, e);
    };
  }
  return function() {
    return n.apply(t, arguments);
  };
};

},{"./_a-function":29}],46:[function(require,module,exports){
module.exports = function(o) {
  if (null == o) throw TypeError("Can't call method on  " + o);
  return o;
};

},{}],47:[function(require,module,exports){
module.exports = !require("./_fails")(function() {
  return 7 != Object.defineProperty({}, "a", {
    get: function() {
      return 7;
    }
  }).a;
});

},{"./_fails":52}],48:[function(require,module,exports){
var e = require("./_is-object"), r = require("./_global").document, t = e(r) && e(r.createElement);

module.exports = function(e) {
  return t ? r.createElement(e) : {};
};

},{"./_global":54,"./_is-object":63}],49:[function(require,module,exports){
module.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");

},{}],50:[function(require,module,exports){
var e = require("./_object-keys"), r = require("./_object-gops"), o = require("./_object-pie");

module.exports = function(t) {
  var u = e(t), i = r.f;
  if (i) for (var c, f = i(t), a = o.f, l = 0; f.length > l; ) a.call(t, c = f[l++]) && u.push(c);
  return u;
};

},{"./_object-gops":81,"./_object-keys":84,"./_object-pie":85}],51:[function(require,module,exports){
var e = require("./_global"), r = require("./_core"), n = require("./_ctx"), t = require("./_hide"), i = require("./_has"), u = "prototype", o = function(c, a, f) {
  var l, s, p, h = c & o.F, v = c & o.G, q = c & o.S, w = c & o.P, _ = c & o.B, y = c & o.W, d = v ? r : r[a] || (r[a] = {}), F = d[u], g = v ? e : q ? e[a] : (e[a] || {})[u];
  for (l in v && (f = a), f) (s = !h && g && void 0 !== g[l]) && i(d, l) || (p = s ? g[l] : f[l], 
  d[l] = v && "function" != typeof g[l] ? f[l] : _ && s ? n(p, e) : y && g[l] == p ? function(e) {
    var r = function(r, n, t) {
      if (this instanceof e) {
        switch (arguments.length) {
         case 0:
          return new e();

         case 1:
          return new e(r);

         case 2:
          return new e(r, n);
        }
        return new e(r, n, t);
      }
      return e.apply(this, arguments);
    };
    return r[u] = e[u], r;
  }(p) : w && "function" == typeof p ? n(Function.call, p) : p, w && ((d.virtual || (d.virtual = {}))[l] = p, 
  c & o.R && F && !F[l] && t(F, l, p)));
};

o.F = 1, o.G = 2, o.S = 4, o.P = 8, o.B = 16, o.W = 32, o.U = 64, o.R = 128, module.exports = o;

},{"./_core":43,"./_ctx":45,"./_global":54,"./_has":55,"./_hide":56}],52:[function(require,module,exports){
module.exports = function(r) {
  try {
    return !!r();
  } catch (r) {
    return !0;
  }
};

},{}],53:[function(require,module,exports){
var e = require("./_ctx"), r = require("./_iter-call"), t = require("./_is-array-iter"), i = require("./_an-object"), o = require("./_to-length"), n = require("./core.get-iterator-method"), u = {}, a = {}, f = module.exports = function(f, l, c, q, _) {
  var h, s, d, g, p = _ ? function() {
    return f;
  } : n(f), v = e(c, q, l ? 2 : 1), x = 0;
  if ("function" != typeof p) throw TypeError(f + " is not iterable!");
  if (t(p)) {
    for (h = o(f.length); h > x; x++) if ((g = l ? v(i(s = f[x])[0], s[1]) : v(f[x])) === u || g === a) return g;
  } else for (d = p.call(f); !(s = d.next()).done; ) if ((g = r(d, v, s.value, l)) === u || g === a) return g;
};

f.BREAK = u, f.RETURN = a;

},{"./_an-object":32,"./_ctx":45,"./_is-array-iter":61,"./_iter-call":64,"./_to-length":107,"./core.get-iterator-method":116}],54:[function(require,module,exports){
var e = module.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")();

"number" == typeof __g && (__g = e);

},{}],55:[function(require,module,exports){
var r = {}.hasOwnProperty;

module.exports = function(e, n) {
  return r.call(e, n);
};

},{}],56:[function(require,module,exports){
var r = require("./_object-dp"), e = require("./_property-desc");

module.exports = require("./_descriptors") ? function(t, u, o) {
  return r.f(t, u, e(1, o));
} : function(r, e, t) {
  return r[e] = t, r;
};

},{"./_descriptors":47,"./_object-dp":76,"./_property-desc":90}],57:[function(require,module,exports){
var e = require("./_global").document;

module.exports = e && e.documentElement;

},{"./_global":54}],58:[function(require,module,exports){
module.exports = !require("./_descriptors") && !require("./_fails")(function() {
  return 7 != Object.defineProperty(require("./_dom-create")("div"), "a", {
    get: function() {
      return 7;
    }
  }).a;
});

},{"./_descriptors":47,"./_dom-create":48,"./_fails":52}],59:[function(require,module,exports){
module.exports = function(e, r, l) {
  var a = void 0 === l;
  switch (r.length) {
   case 0:
    return a ? e() : e.call(l);

   case 1:
    return a ? e(r[0]) : e.call(l, r[0]);

   case 2:
    return a ? e(r[0], r[1]) : e.call(l, r[0], r[1]);

   case 3:
    return a ? e(r[0], r[1], r[2]) : e.call(l, r[0], r[1], r[2]);

   case 4:
    return a ? e(r[0], r[1], r[2], r[3]) : e.call(l, r[0], r[1], r[2], r[3]);
  }
  return e.apply(l, r);
};

},{}],60:[function(require,module,exports){
var e = require("./_cof");

module.exports = Object("z").propertyIsEnumerable(0) ? Object : function(r) {
  return "String" == e(r) ? r.split("") : Object(r);
};

},{"./_cof":39}],61:[function(require,module,exports){
var r = require("./_iterators"), e = require("./_wks")("iterator"), t = Array.prototype;

module.exports = function(o) {
  return void 0 !== o && (r.Array === o || t[e] === o);
};

},{"./_iterators":69,"./_wks":115}],62:[function(require,module,exports){
var r = require("./_cof");

module.exports = Array.isArray || function(e) {
  return "Array" == r(e);
};

},{"./_cof":39}],63:[function(require,module,exports){
module.exports = function(o) {
  return "object" == typeof o ? null !== o : "function" == typeof o;
};

},{}],64:[function(require,module,exports){
var r = require("./_an-object");

module.exports = function(t, e, o, a) {
  try {
    return a ? e(r(o)[0], o[1]) : e(o);
  } catch (e) {
    var c = t.return;
    throw void 0 !== c && r(c.call(t)), e;
  }
};

},{"./_an-object":32}],65:[function(require,module,exports){
"use strict";

var e = require("./_object-create"), r = require("./_property-desc"), t = require("./_set-to-string-tag"), i = {};

require("./_hide")(i, require("./_wks")("iterator"), function() {
  return this;
}), module.exports = function(o, u, s) {
  o.prototype = e(i, {
    next: r(1, s)
  }), t(o, u + " Iterator");
};

},{"./_hide":56,"./_object-create":75,"./_property-desc":90,"./_set-to-string-tag":96,"./_wks":115}],66:[function(require,module,exports){
"use strict";

var e = require("./_library"), r = require("./_export"), t = require("./_redefine"), i = require("./_hide"), n = require("./_iterators"), u = require("./_iter-create"), o = require("./_set-to-string-tag"), s = require("./_object-gpo"), a = require("./_wks")("iterator"), c = !([].keys && "next" in [].keys()), f = "@@iterator", l = "keys", q = "values", y = function() {
  return this;
};

module.exports = function(_, p, h, k, v, w, d) {
  u(h, p, k);
  var x, b, g, j = function(e) {
    if (!c && e in I) return I[e];
    switch (e) {
     case l:
     case q:
      return function() {
        return new h(this, e);
      };
    }
    return function() {
      return new h(this, e);
    };
  }, m = p + " Iterator", A = v == q, F = !1, I = _.prototype, O = I[a] || I[f] || v && I[v], P = O || j(v), z = v ? A ? j("entries") : P : void 0, B = "Array" == p && I.entries || O;
  if (B && (g = s(B.call(new _()))) !== Object.prototype && g.next && (o(g, m, !0), 
  e || "function" == typeof g[a] || i(g, a, y)), A && O && O.name !== q && (F = !0, 
  P = function() {
    return O.call(this);
  }), e && !d || !c && !F && I[a] || i(I, a, P), n[p] = P, n[m] = y, v) if (x = {
    values: A ? P : j(q),
    keys: w ? P : j(l),
    entries: z
  }, d) for (b in x) b in I || t(I, b, x[b]); else r(r.P + r.F * (c || F), p, x);
  return x;
};

},{"./_export":51,"./_hide":56,"./_iter-create":65,"./_iterators":69,"./_library":70,"./_object-gpo":82,"./_redefine":92,"./_set-to-string-tag":96,"./_wks":115}],67:[function(require,module,exports){
var r = require("./_wks")("iterator"), t = !1;

try {
  var n = [ 7 ][r]();
  n.return = function() {
    t = !0;
  }, Array.from(n, function() {
    throw 2;
  });
} catch (r) {}

module.exports = function(n, e) {
  if (!e && !t) return !1;
  var u = !1;
  try {
    var o = [ 7 ], c = o[r]();
    c.next = function() {
      return {
        done: u = !0
      };
    }, o[r] = function() {
      return c;
    }, n(o);
  } catch (r) {}
  return u;
};

},{"./_wks":115}],68:[function(require,module,exports){
module.exports = function(e, n) {
  return {
    value: n,
    done: !!e
  };
};

},{}],69:[function(require,module,exports){
module.exports = {};

},{}],70:[function(require,module,exports){
module.exports = !0;

},{}],71:[function(require,module,exports){
var e = require("./_uid")("meta"), r = require("./_is-object"), t = require("./_has"), n = require("./_object-dp").f, i = 0, u = Object.isExtensible || function() {
  return !0;
}, f = !require("./_fails")(function() {
  return u(Object.preventExtensions({}));
}), o = function(r) {
  n(r, e, {
    value: {
      i: "O" + ++i,
      w: {}
    }
  });
}, s = function(n, i) {
  if (!r(n)) return "symbol" == typeof n ? n : ("string" == typeof n ? "S" : "P") + n;
  if (!t(n, e)) {
    if (!u(n)) return "F";
    if (!i) return "E";
    o(n);
  }
  return n[e].i;
}, c = function(r, n) {
  if (!t(r, e)) {
    if (!u(r)) return !0;
    if (!n) return !1;
    o(r);
  }
  return r[e].w;
}, E = function(r) {
  return f && a.NEED && u(r) && !t(r, e) && o(r), r;
}, a = module.exports = {
  KEY: e,
  NEED: !1,
  fastKey: s,
  getWeak: c,
  onFreeze: E
};

},{"./_fails":52,"./_has":55,"./_is-object":63,"./_object-dp":76,"./_uid":110}],72:[function(require,module,exports){
var e = require("./_global"), t = require("./_task").set, r = e.MutationObserver || e.WebKitMutationObserver, n = e.process, o = e.Promise, a = "process" == require("./_cof")(n);

module.exports = function() {
  var i, c, s, v = function() {
    var e, t;
    for (a && (e = n.domain) && e.exit(); i; ) {
      t = i.fn, i = i.next;
      try {
        t();
      } catch (e) {
        throw i ? s() : c = void 0, e;
      }
    }
    c = void 0, e && e.enter();
  };
  if (a) s = function() {
    n.nextTick(v);
  }; else if (!r || e.navigator && e.navigator.standalone) if (o && o.resolve) {
    var u = o.resolve(void 0);
    s = function() {
      u.then(v);
    };
  } else s = function() {
    t.call(e, v);
  }; else {
    var f = !0, l = document.createTextNode("");
    new r(v).observe(l, {
      characterData: !0
    }), s = function() {
      l.data = f = !f;
    };
  }
  return function(e) {
    var t = {
      fn: e,
      next: void 0
    };
    c && (c.next = t), i || (i = t, s()), c = t;
  };
};

},{"./_cof":39,"./_global":54,"./_task":103}],73:[function(require,module,exports){
"use strict";

var r = require("./_a-function");

function e(e) {
  var o, t;
  this.promise = new e(function(r, e) {
    if (void 0 !== o || void 0 !== t) throw TypeError("Bad Promise constructor");
    o = r, t = e;
  }), this.resolve = r(o), this.reject = r(t);
}

module.exports.f = function(r) {
  return new e(r);
};

},{"./_a-function":29}],74:[function(require,module,exports){
"use strict";

var e = require("./_object-keys"), r = require("./_object-gops"), t = require("./_object-pie"), o = require("./_to-object"), i = require("./_iobject"), c = Object.assign;

module.exports = !c || require("./_fails")(function() {
  var e = {}, r = {}, t = Symbol(), o = "abcdefghijklmnopqrst";
  return e[t] = 7, o.split("").forEach(function(e) {
    r[e] = e;
  }), 7 != c({}, e)[t] || Object.keys(c({}, r)).join("") != o;
}) ? function(c, n) {
  for (var u = o(c), s = arguments.length, a = 1, f = r.f, b = t.f; s > a; ) for (var j, l = i(arguments[a++]), q = f ? e(l).concat(f(l)) : e(l), _ = q.length, g = 0; _ > g; ) b.call(l, j = q[g++]) && (u[j] = l[j]);
  return u;
} : c;

},{"./_fails":52,"./_iobject":60,"./_object-gops":81,"./_object-keys":84,"./_object-pie":85,"./_to-object":108}],75:[function(require,module,exports){
var e = require("./_an-object"), r = require("./_object-dps"), t = require("./_enum-bug-keys"), n = require("./_shared-key")("IE_PROTO"), o = function() {}, i = "prototype", u = function() {
  var e, r = require("./_dom-create")("iframe"), n = t.length;
  for (r.style.display = "none", require("./_html").appendChild(r), r.src = "javascript:", 
  (e = r.contentWindow.document).open(), e.write("<script>document.F=Object<\/script>"), 
  e.close(), u = e.F; n--; ) delete u[i][t[n]];
  return u();
};

module.exports = Object.create || function(t, c) {
  var a;
  return null !== t ? (o[i] = e(t), a = new o(), o[i] = null, a[n] = t) : a = u(), 
  void 0 === c ? a : r(a, c);
};

},{"./_an-object":32,"./_dom-create":48,"./_enum-bug-keys":49,"./_html":57,"./_object-dps":77,"./_shared-key":97}],76:[function(require,module,exports){
var e = require("./_an-object"), r = require("./_ie8-dom-define"), t = require("./_to-primitive"), i = Object.defineProperty;

exports.f = require("./_descriptors") ? Object.defineProperty : function(o, n, u) {
  if (e(o), n = t(n, !0), e(u), r) try {
    return i(o, n, u);
  } catch (e) {}
  if ("get" in u || "set" in u) throw TypeError("Accessors not supported!");
  return "value" in u && (o[n] = u.value), o;
};

},{"./_an-object":32,"./_descriptors":47,"./_ie8-dom-define":58,"./_to-primitive":109}],77:[function(require,module,exports){
var e = require("./_object-dp"), r = require("./_an-object"), t = require("./_object-keys");

module.exports = require("./_descriptors") ? Object.defineProperties : function(o, i) {
  r(o);
  for (var u, c = t(i), n = c.length, s = 0; n > s; ) e.f(o, u = c[s++], i[u]);
  return o;
};

},{"./_an-object":32,"./_descriptors":47,"./_object-dp":76,"./_object-keys":84}],78:[function(require,module,exports){
var e = require("./_object-pie"), r = require("./_property-desc"), i = require("./_to-iobject"), t = require("./_to-primitive"), o = require("./_has"), c = require("./_ie8-dom-define"), u = Object.getOwnPropertyDescriptor;

exports.f = require("./_descriptors") ? u : function(p, q) {
  if (p = i(p), q = t(q, !0), c) try {
    return u(p, q);
  } catch (e) {}
  if (o(p, q)) return r(!e.f.call(p, q), p[q]);
};

},{"./_descriptors":47,"./_has":55,"./_ie8-dom-define":58,"./_object-pie":85,"./_property-desc":90,"./_to-iobject":106,"./_to-primitive":109}],79:[function(require,module,exports){
var e = require("./_to-iobject"), t = require("./_object-gopn").f, o = {}.toString, r = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], n = function(e) {
  try {
    return t(e);
  } catch (e) {
    return r.slice();
  }
};

module.exports.f = function(c) {
  return r && "[object Window]" == o.call(c) ? n(c) : t(e(c));
};

},{"./_object-gopn":80,"./_to-iobject":106}],80:[function(require,module,exports){
var e = require("./_object-keys-internal"), r = require("./_enum-bug-keys").concat("length", "prototype");

exports.f = Object.getOwnPropertyNames || function(t) {
  return e(t, r);
};

},{"./_enum-bug-keys":49,"./_object-keys-internal":83}],81:[function(require,module,exports){
exports.f = Object.getOwnPropertySymbols;

},{}],82:[function(require,module,exports){
var t = require("./_has"), e = require("./_to-object"), o = require("./_shared-key")("IE_PROTO"), r = Object.prototype;

module.exports = Object.getPrototypeOf || function(c) {
  return c = e(c), t(c, o) ? c[o] : "function" == typeof c.constructor && c instanceof c.constructor ? c.constructor.prototype : c instanceof Object ? r : null;
};

},{"./_has":55,"./_shared-key":97,"./_to-object":108}],83:[function(require,module,exports){
var r = require("./_has"), e = require("./_to-iobject"), u = require("./_array-includes")(!1), i = require("./_shared-key")("IE_PROTO");

module.exports = function(o, a) {
  var n, s = e(o), t = 0, h = [];
  for (n in s) n != i && r(s, n) && h.push(n);
  for (;a.length > t; ) r(s, n = a[t++]) && (~u(h, n) || h.push(n));
  return h;
};

},{"./_array-includes":34,"./_has":55,"./_shared-key":97,"./_to-iobject":106}],84:[function(require,module,exports){
var e = require("./_object-keys-internal"), r = require("./_enum-bug-keys");

module.exports = Object.keys || function(u) {
  return e(u, r);
};

},{"./_enum-bug-keys":49,"./_object-keys-internal":83}],85:[function(require,module,exports){
exports.f = {}.propertyIsEnumerable;

},{}],86:[function(require,module,exports){
var e = require("./_export"), r = require("./_core"), t = require("./_fails");

module.exports = function(c, i) {
  var o = (r.Object || {})[c] || Object[c], u = {};
  u[c] = i(o), e(e.S + e.F * t(function() {
    o(1);
  }), "Object", u);
};

},{"./_core":43,"./_export":51,"./_fails":52}],87:[function(require,module,exports){
var r = require("./_global").parseInt, e = require("./_string-trim").trim, t = require("./_string-ws"), i = /^[-+]?0[xX]/;

module.exports = 8 !== r(t + "08") || 22 !== r(t + "0x16") ? function(t, n) {
  var s = e(String(t), 3);
  return r(s, n >>> 0 || (i.test(s) ? 16 : 10));
} : r;

},{"./_global":54,"./_string-trim":101,"./_string-ws":102}],88:[function(require,module,exports){
module.exports = function(e) {
  try {
    return {
      e: !1,
      v: e()
    };
  } catch (e) {
    return {
      e: !0,
      v: e
    };
  }
};

},{}],89:[function(require,module,exports){
var r = require("./_an-object"), e = require("./_is-object"), i = require("./_new-promise-capability");

module.exports = function(o, t) {
  if (r(o), e(t) && t.constructor === o) return t;
  var u = i.f(o);
  return (0, u.resolve)(t), u.promise;
};

},{"./_an-object":32,"./_is-object":63,"./_new-promise-capability":73}],90:[function(require,module,exports){
module.exports = function(e, r) {
  return {
    enumerable: !(1 & e),
    configurable: !(2 & e),
    writable: !(4 & e),
    value: r
  };
};

},{}],91:[function(require,module,exports){
var r = require("./_hide");

module.exports = function(e, i, n) {
  for (var o in i) n && e[o] ? e[o] = i[o] : r(e, o, i[o]);
  return e;
};

},{"./_hide":56}],92:[function(require,module,exports){
module.exports = require("./_hide");

},{"./_hide":56}],93:[function(require,module,exports){
"use strict";

var r = require("./_export"), e = require("./_a-function"), u = require("./_ctx"), i = require("./_for-of");

module.exports = function(t) {
  r(r.S, t, {
    from: function(r) {
      var t, n, o, s, f = arguments[1];
      return e(this), (t = void 0 !== f) && e(f), null == r ? new this() : (n = [], t ? (o = 0, 
      s = u(f, arguments[2], 2), i(r, !1, function(r) {
        n.push(s(r, o++));
      })) : i(r, !1, n.push, n), new this(n));
    }
  });
};

},{"./_a-function":29,"./_ctx":45,"./_export":51,"./_for-of":53}],94:[function(require,module,exports){
"use strict";

var r = require("./_export");

module.exports = function(e) {
  r(r.S, e, {
    of: function() {
      for (var r = arguments.length, e = new Array(r); r--; ) e[r] = arguments[r];
      return new this(e);
    }
  });
};

},{"./_export":51}],95:[function(require,module,exports){
"use strict";

var e = require("./_global"), r = require("./_core"), i = require("./_object-dp"), t = require("./_descriptors"), u = require("./_wks")("species");

module.exports = function(o) {
  var c = "function" == typeof r[o] ? r[o] : e[o];
  t && c && !c[u] && i.f(c, u, {
    configurable: !0,
    get: function() {
      return this;
    }
  });
};

},{"./_core":43,"./_descriptors":47,"./_global":54,"./_object-dp":76,"./_wks":115}],96:[function(require,module,exports){
var e = require("./_object-dp").f, r = require("./_has"), o = require("./_wks")("toStringTag");

module.exports = function(t, u, i) {
  t && !r(t = i ? t : t.prototype, o) && e(t, o, {
    configurable: !0,
    value: u
  });
};

},{"./_has":55,"./_object-dp":76,"./_wks":115}],97:[function(require,module,exports){
var e = require("./_shared")("keys"), r = require("./_uid");

module.exports = function(u) {
  return e[u] || (e[u] = r(u));
};

},{"./_shared":98,"./_uid":110}],98:[function(require,module,exports){
var r = require("./_core"), e = require("./_global"), o = "__core-js_shared__", i = e[o] || (e[o] = {});

(module.exports = function(r, e) {
  return i[r] || (i[r] = void 0 !== e ? e : {});
})("versions", []).push({
  version: r.version,
  mode: require("./_library") ? "pure" : "global",
  copyright: "© 2019 Denis Pushkarev (zloirock.ru)"
});

},{"./_core":43,"./_global":54,"./_library":70}],99:[function(require,module,exports){
var r = require("./_an-object"), e = require("./_a-function"), u = require("./_wks")("species");

module.exports = function(n, o) {
  var i, t = r(n).constructor;
  return void 0 === t || null == (i = r(t)[u]) ? o : e(i);
};

},{"./_a-function":29,"./_an-object":32,"./_wks":115}],100:[function(require,module,exports){
var e = require("./_to-integer"), r = require("./_defined");

module.exports = function(t) {
  return function(n, i) {
    var o, u, c = String(r(n)), d = e(i), a = c.length;
    return d < 0 || d >= a ? t ? "" : void 0 : (o = c.charCodeAt(d)) < 55296 || o > 56319 || d + 1 === a || (u = c.charCodeAt(d + 1)) < 56320 || u > 57343 ? t ? c.charAt(d) : o : t ? c.slice(d, d + 2) : u - 56320 + (o - 55296 << 10) + 65536;
  };
};

},{"./_defined":46,"./_to-integer":105}],101:[function(require,module,exports){
var r = require("./_export"), e = require("./_defined"), i = require("./_fails"), n = require("./_string-ws"), t = "[" + n + "]", u = "​", o = RegExp("^" + t + t + "*"), p = RegExp(t + t + "*$"), a = function(e, t, o) {
  var p = {}, a = i(function() {
    return !!n[e]() || u[e]() != u;
  }), f = p[e] = a ? t(c) : n[e];
  o && (p[o] = f), r(r.P + r.F * a, "String", p);
}, c = a.trim = function(r, i) {
  return r = String(e(r)), 1 & i && (r = r.replace(o, "")), 2 & i && (r = r.replace(p, "")), 
  r;
};

module.exports = a;

},{"./_defined":46,"./_export":51,"./_fails":52,"./_string-ws":102}],102:[function(require,module,exports){
module.exports = "\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff";

},{}],103:[function(require,module,exports){
var e, t, n, i = require("./_ctx"), o = require("./_invoke"), r = require("./_html"), s = require("./_dom-create"), a = require("./_global"), c = a.process, u = a.setImmediate, p = a.clearImmediate, f = a.MessageChannel, l = a.Dispatch, d = 0, m = {}, h = "onreadystatechange", g = function() {
  var e = +this;
  if (m.hasOwnProperty(e)) {
    var t = m[e];
    delete m[e], t();
  }
}, v = function(e) {
  g.call(e.data);
};

u && p || (u = function(t) {
  for (var n = [], i = 1; arguments.length > i; ) n.push(arguments[i++]);
  return m[++d] = function() {
    o("function" == typeof t ? t : Function(t), n);
  }, e(d), d;
}, p = function(e) {
  delete m[e];
}, "process" == require("./_cof")(c) ? e = function(e) {
  c.nextTick(i(g, e, 1));
} : l && l.now ? e = function(e) {
  l.now(i(g, e, 1));
} : f ? (n = (t = new f()).port2, t.port1.onmessage = v, e = i(n.postMessage, n, 1)) : a.addEventListener && "function" == typeof postMessage && !a.importScripts ? (e = function(e) {
  a.postMessage(e + "", "*");
}, a.addEventListener("message", v, !1)) : e = h in s("script") ? function(e) {
  r.appendChild(s("script"))[h] = function() {
    r.removeChild(this), g.call(e);
  };
} : function(e) {
  setTimeout(i(g, e, 1), 0);
}), module.exports = {
  set: u,
  clear: p
};

},{"./_cof":39,"./_ctx":45,"./_dom-create":48,"./_global":54,"./_html":57,"./_invoke":59}],104:[function(require,module,exports){
var e = require("./_to-integer"), r = Math.max, t = Math.min;

module.exports = function(n, a) {
  return (n = e(n)) < 0 ? r(n + a, 0) : t(n, a);
};

},{"./_to-integer":105}],105:[function(require,module,exports){
var o = Math.ceil, r = Math.floor;

module.exports = function(t) {
  return isNaN(t = +t) ? 0 : (t > 0 ? r : o)(t);
};

},{}],106:[function(require,module,exports){
var e = require("./_iobject"), r = require("./_defined");

module.exports = function(i) {
  return e(r(i));
};

},{"./_defined":46,"./_iobject":60}],107:[function(require,module,exports){
var e = require("./_to-integer"), r = Math.min;

module.exports = function(t) {
  return t > 0 ? r(e(t), 9007199254740991) : 0;
};

},{"./_to-integer":105}],108:[function(require,module,exports){
var e = require("./_defined");

module.exports = function(r) {
  return Object(e(r));
};

},{"./_defined":46}],109:[function(require,module,exports){
var t = require("./_is-object");

module.exports = function(r, e) {
  if (!t(r)) return r;
  var o, n;
  if (e && "function" == typeof (o = r.toString) && !t(n = o.call(r))) return n;
  if ("function" == typeof (o = r.valueOf) && !t(n = o.call(r))) return n;
  if (!e && "function" == typeof (o = r.toString) && !t(n = o.call(r))) return n;
  throw TypeError("Can't convert object to primitive value");
};

},{"./_is-object":63}],110:[function(require,module,exports){
var o = 0, t = Math.random();

module.exports = function(n) {
  return "Symbol(".concat(void 0 === n ? "" : n, ")_", (++o + t).toString(36));
};

},{}],111:[function(require,module,exports){
var e = require("./_global"), r = e.navigator;

module.exports = r && r.userAgent || "";

},{"./_global":54}],112:[function(require,module,exports){
var r = require("./_is-object");

module.exports = function(e, i) {
  if (!r(e) || e._t !== i) throw TypeError("Incompatible receiver, " + i + " required!");
  return e;
};

},{"./_is-object":63}],113:[function(require,module,exports){
var r = require("./_global"), e = require("./_core"), o = require("./_library"), i = require("./_wks-ext"), l = require("./_object-dp").f;

module.exports = function(u) {
  var a = e.Symbol || (e.Symbol = o ? {} : r.Symbol || {});
  "_" == u.charAt(0) || u in a || l(a, u, {
    value: i.f(u)
  });
};

},{"./_core":43,"./_global":54,"./_library":70,"./_object-dp":76,"./_wks-ext":114}],114:[function(require,module,exports){
exports.f = require("./_wks");

},{"./_wks":115}],115:[function(require,module,exports){
var e = require("./_shared")("wks"), r = require("./_uid"), o = require("./_global").Symbol, u = "function" == typeof o, i = module.exports = function(i) {
  return e[i] || (e[i] = u && o[i] || (u ? o : r)("Symbol." + i));
};

i.store = e;

},{"./_global":54,"./_shared":98,"./_uid":110}],116:[function(require,module,exports){
var r = require("./_classof"), e = require("./_wks")("iterator"), t = require("./_iterators");

module.exports = require("./_core").getIteratorMethod = function(o) {
  if (null != o) return o[e] || o["@@iterator"] || t[r(o)];
};

},{"./_classof":38,"./_core":43,"./_iterators":69,"./_wks":115}],117:[function(require,module,exports){
var r = require("./_an-object"), e = require("./core.get-iterator-method");

module.exports = require("./_core").getIterator = function(t) {
  var o = e(t);
  if ("function" != typeof o) throw TypeError(t + " is not iterable!");
  return r(o.call(t));
};

},{"./_an-object":32,"./_core":43,"./core.get-iterator-method":116}],118:[function(require,module,exports){
"use strict";

var e = require("./_ctx"), r = require("./_export"), t = require("./_to-object"), i = require("./_iter-call"), o = require("./_is-array-iter"), u = require("./_to-length"), n = require("./_create-property"), a = require("./core.get-iterator-method");

r(r.S + r.F * !require("./_iter-detect")(function(e) {
  Array.from(e);
}), "Array", {
  from: function(r) {
    var l, c, f, q, _ = t(r), h = "function" == typeof this ? this : Array, v = arguments.length, y = v > 1 ? arguments[1] : void 0, d = void 0 !== y, s = 0, g = a(_);
    if (d && (y = e(y, v > 2 ? arguments[2] : void 0, 2)), null == g || h == Array && o(g)) for (c = new h(l = u(_.length)); l > s; s++) n(c, s, d ? y(_[s], s) : _[s]); else for (q = g.call(_), 
    c = new h(); !(f = q.next()).done; s++) n(c, s, d ? i(q, y, [ f.value, s ], !0) : f.value);
    return c.length = s, c;
  }
});

},{"./_create-property":44,"./_ctx":45,"./_export":51,"./_is-array-iter":61,"./_iter-call":64,"./_iter-detect":67,"./_to-length":107,"./_to-object":108,"./core.get-iterator-method":116}],119:[function(require,module,exports){
var r = require("./_export");

r(r.S, "Array", {
  isArray: require("./_is-array")
});

},{"./_export":51,"./_is-array":62}],120:[function(require,module,exports){
"use strict";

var e = require("./_add-to-unscopables"), r = require("./_iter-step"), t = require("./_iterators"), i = require("./_to-iobject");

module.exports = require("./_iter-define")(Array, "Array", function(e, r) {
  this._t = i(e), this._i = 0, this._k = r;
}, function() {
  var e = this._t, t = this._k, i = this._i++;
  return !e || i >= e.length ? (this._t = void 0, r(1)) : r(0, "keys" == t ? i : "values" == t ? e[i] : [ i, e[i] ]);
}, "values"), t.Arguments = t.Array, e("keys"), e("values"), e("entries");

},{"./_add-to-unscopables":30,"./_iter-define":66,"./_iter-step":68,"./_iterators":69,"./_to-iobject":106}],121:[function(require,module,exports){
var e = require("./_export");

e(e.S + e.F, "Object", {
  assign: require("./_object-assign")
});

},{"./_export":51,"./_object-assign":74}],122:[function(require,module,exports){
var e = require("./_export");

e(e.S, "Object", {
  create: require("./_object-create")
});

},{"./_export":51,"./_object-create":75}],123:[function(require,module,exports){
var e = require("./_export");

e(e.S + e.F * !require("./_descriptors"), "Object", {
  defineProperty: require("./_object-dp").f
});

},{"./_descriptors":47,"./_export":51,"./_object-dp":76}],124:[function(require,module,exports){
var e = require("./_to-object"), r = require("./_object-keys");

require("./_object-sap")("keys", function() {
  return function(t) {
    return r(e(t));
  };
});

},{"./_object-keys":84,"./_object-sap":86,"./_to-object":108}],125:[function(require,module,exports){

},{}],126:[function(require,module,exports){
var r = require("./_export"), e = require("./_parse-int");

r(r.G + r.F * (parseInt != e), {
  parseInt: e
});

},{"./_export":51,"./_parse-int":87}],127:[function(require,module,exports){
"use strict";

var e, r, t, i, n = require("./_library"), o = require("./_global"), c = require("./_ctx"), s = require("./_classof"), u = require("./_export"), a = require("./_is-object"), _ = require("./_a-function"), h = require("./_an-instance"), f = require("./_for-of"), l = require("./_species-constructor"), v = require("./_task").set, d = require("./_microtask")(), p = require("./_new-promise-capability"), m = require("./_perform"), q = require("./_user-agent"), y = require("./_promise-resolve"), j = "Promise", w = o.TypeError, g = o.process, x = g && g.versions, b = x && x.v8 || "", k = o[j], P = "process" == s(g), F = function() {}, S = r = p.f, E = !!function() {
  try {
    var e = k.resolve(1), r = (e.constructor = {})[require("./_wks")("species")] = function(e) {
      e(F, F);
    };
    return (P || "function" == typeof PromiseRejectionEvent) && e.then(F) instanceof r && 0 !== b.indexOf("6.6") && -1 === q.indexOf("Chrome/66");
  } catch (e) {}
}(), O = function(e) {
  var r;
  return !(!a(e) || "function" != typeof (r = e.then)) && r;
}, R = function(e, r) {
  if (!e._n) {
    e._n = !0;
    var t = e._c;
    d(function() {
      for (var i = e._v, n = 1 == e._s, o = 0, c = function(r) {
        var t, o, c, s = n ? r.ok : r.fail, u = r.resolve, a = r.reject, _ = r.domain;
        try {
          s ? (n || (2 == e._h && H(e), e._h = 1), !0 === s ? t = i : (_ && _.enter(), t = s(i), 
          _ && (_.exit(), c = !0)), t === r.promise ? a(w("Promise-chain cycle")) : (o = O(t)) ? o.call(t, u, a) : u(t)) : a(i);
        } catch (e) {
          _ && !c && _.exit(), a(e);
        }
      }; t.length > o; ) c(t[o++]);
      e._c = [], e._n = !1, r && !e._h && C(e);
    });
  }
}, C = function(e) {
  v.call(o, function() {
    var r, t, i, n = e._v, c = G(e);
    if (c && (r = m(function() {
      P ? g.emit("unhandledRejection", n, e) : (t = o.onunhandledrejection) ? t({
        promise: e,
        reason: n
      }) : (i = o.console) && i.error && i.error("Unhandled promise rejection", n);
    }), e._h = P || G(e) ? 2 : 1), e._a = void 0, c && r.e) throw r.v;
  });
}, G = function(e) {
  return 1 !== e._h && 0 === (e._a || e._c).length;
}, H = function(e) {
  v.call(o, function() {
    var r;
    P ? g.emit("rejectionHandled", e) : (r = o.onrejectionhandled) && r({
      promise: e,
      reason: e._v
    });
  });
}, T = function(e) {
  var r = this;
  r._d || (r._d = !0, (r = r._w || r)._v = e, r._s = 2, r._a || (r._a = r._c.slice()), 
  R(r, !0));
}, U = function(e) {
  var r, t = this;
  if (!t._d) {
    t._d = !0, t = t._w || t;
    try {
      if (t === e) throw w("Promise can't be resolved itself");
      (r = O(e)) ? d(function() {
        var i = {
          _w: t,
          _d: !1
        };
        try {
          r.call(e, c(U, i, 1), c(T, i, 1));
        } catch (e) {
          T.call(i, e);
        }
      }) : (t._v = e, t._s = 1, R(t, !1));
    } catch (e) {
      T.call({
        _w: t,
        _d: !1
      }, e);
    }
  }
};

E || (k = function(r) {
  h(this, k, j, "_h"), _(r), e.call(this);
  try {
    r(c(U, this, 1), c(T, this, 1));
  } catch (e) {
    T.call(this, e);
  }
}, (e = function(e) {
  this._c = [], this._a = void 0, this._s = 0, this._d = !1, this._v = void 0, this._h = 0, 
  this._n = !1;
}).prototype = require("./_redefine-all")(k.prototype, {
  then: function(e, r) {
    var t = S(l(this, k));
    return t.ok = "function" != typeof e || e, t.fail = "function" == typeof r && r, 
    t.domain = P ? g.domain : void 0, this._c.push(t), this._a && this._a.push(t), this._s && R(this, !1), 
    t.promise;
  },
  catch: function(e) {
    return this.then(void 0, e);
  }
}), t = function() {
  var r = new e();
  this.promise = r, this.resolve = c(U, r, 1), this.reject = c(T, r, 1);
}, p.f = S = function(e) {
  return e === k || e === i ? new t(e) : r(e);
}), u(u.G + u.W + u.F * !E, {
  Promise: k
}), require("./_set-to-string-tag")(k, j), require("./_set-species")(j), i = require("./_core")[j], 
u(u.S + u.F * !E, j, {
  reject: function(e) {
    var r = S(this);
    return (0, r.reject)(e), r.promise;
  }
}), u(u.S + u.F * (n || !E), j, {
  resolve: function(e) {
    return y(n && this === i ? k : this, e);
  }
}), u(u.S + u.F * !(E && require("./_iter-detect")(function(e) {
  k.all(e).catch(F);
})), j, {
  all: function(e) {
    var r = this, t = S(r), i = t.resolve, n = t.reject, o = m(function() {
      var t = [], o = 0, c = 1;
      f(e, !1, function(e) {
        var s = o++, u = !1;
        t.push(void 0), c++, r.resolve(e).then(function(e) {
          u || (u = !0, t[s] = e, --c || i(t));
        }, n);
      }), --c || i(t);
    });
    return o.e && n(o.v), t.promise;
  },
  race: function(e) {
    var r = this, t = S(r), i = t.reject, n = m(function() {
      f(e, !1, function(e) {
        r.resolve(e).then(t.resolve, i);
      });
    });
    return n.e && i(n.v), t.promise;
  }
});

},{"./_a-function":29,"./_an-instance":31,"./_classof":38,"./_core":43,"./_ctx":45,"./_export":51,"./_for-of":53,"./_global":54,"./_is-object":63,"./_iter-detect":67,"./_library":70,"./_microtask":72,"./_new-promise-capability":73,"./_perform":88,"./_promise-resolve":89,"./_redefine-all":91,"./_set-species":95,"./_set-to-string-tag":96,"./_species-constructor":99,"./_task":103,"./_user-agent":111,"./_wks":115}],128:[function(require,module,exports){
"use strict";

var e = require("./_collection-strong"), t = require("./_validate-collection"), r = "Set";

module.exports = require("./_collection")(r, function(e) {
  return function() {
    return e(this, arguments.length > 0 ? arguments[0] : void 0);
  };
}, {
  add: function(i) {
    return e.def(t(this, r), i = 0 === i ? 0 : i, i);
  }
}, e);

},{"./_collection":42,"./_collection-strong":40,"./_validate-collection":112}],129:[function(require,module,exports){
"use strict";

var i = require("./_string-at")(!0);

require("./_iter-define")(String, "String", function(i) {
  this._t = String(i), this._i = 0;
}, function() {
  var t, e = this._t, n = this._i;
  return n >= e.length ? {
    value: void 0,
    done: !0
  } : (t = i(e, n), this._i += t.length, {
    value: t,
    done: !1
  });
});

},{"./_iter-define":66,"./_string-at":100}],130:[function(require,module,exports){
"use strict";

var e = require("./_global"), r = require("./_has"), t = require("./_descriptors"), i = require("./_export"), n = require("./_redefine"), o = require("./_meta").KEY, u = require("./_fails"), s = require("./_shared"), f = require("./_set-to-string-tag"), a = require("./_uid"), c = require("./_wks"), l = require("./_wks-ext"), p = require("./_wks-define"), b = require("./_enum-keys"), h = require("./_is-array"), y = require("./_an-object"), _ = require("./_is-object"), q = require("./_to-iobject"), g = require("./_to-primitive"), m = require("./_property-desc"), v = require("./_object-create"), d = require("./_object-gopn-ext"), S = require("./_object-gopd"), j = require("./_object-dp"), O = require("./_object-keys"), k = S.f, w = j.f, P = d.f, E = e.Symbol, F = e.JSON, N = F && F.stringify, J = "prototype", x = c("_hidden"), I = c("toPrimitive"), T = {}.propertyIsEnumerable, C = s("symbol-registry"), M = s("symbols"), D = s("op-symbols"), G = Object[J], K = "function" == typeof E, Q = e.QObject, W = !Q || !Q[J] || !Q[J].findChild, Y = t && u(function() {
  return 7 != v(w({}, "a", {
    get: function() {
      return w(this, "a", {
        value: 7
      }).a;
    }
  })).a;
}) ? function(e, r, t) {
  var i = k(G, r);
  i && delete G[r], w(e, r, t), i && e !== G && w(G, r, i);
} : w, z = function(e) {
  var r = M[e] = v(E[J]);
  return r._k = e, r;
}, A = K && "symbol" == typeof E.iterator ? function(e) {
  return "symbol" == typeof e;
} : function(e) {
  return e instanceof E;
}, B = function(e, t, i) {
  return e === G && B(D, t, i), y(e), t = g(t, !0), y(i), r(M, t) ? (i.enumerable ? (r(e, x) && e[x][t] && (e[x][t] = !1), 
  i = v(i, {
    enumerable: m(0, !1)
  })) : (r(e, x) || w(e, x, m(1, {})), e[x][t] = !0), Y(e, t, i)) : w(e, t, i);
}, H = function(e, r) {
  y(e);
  for (var t, i = b(r = q(r)), n = 0, o = i.length; o > n; ) B(e, t = i[n++], r[t]);
  return e;
}, L = function(e, r) {
  return void 0 === r ? v(e) : H(v(e), r);
}, R = function(e) {
  var t = T.call(this, e = g(e, !0));
  return !(this === G && r(M, e) && !r(D, e)) && (!(t || !r(this, e) || !r(M, e) || r(this, x) && this[x][e]) || t);
}, U = function(e, t) {
  if (e = q(e), t = g(t, !0), e !== G || !r(M, t) || r(D, t)) {
    var i = k(e, t);
    return !i || !r(M, t) || r(e, x) && e[x][t] || (i.enumerable = !0), i;
  }
}, V = function(e) {
  for (var t, i = P(q(e)), n = [], u = 0; i.length > u; ) r(M, t = i[u++]) || t == x || t == o || n.push(t);
  return n;
}, X = function(e) {
  for (var t, i = e === G, n = P(i ? D : q(e)), o = [], u = 0; n.length > u; ) !r(M, t = n[u++]) || i && !r(G, t) || o.push(M[t]);
  return o;
};

K || (n((E = function() {
  if (this instanceof E) throw TypeError("Symbol is not a constructor!");
  var e = a(arguments.length > 0 ? arguments[0] : void 0), i = function(t) {
    this === G && i.call(D, t), r(this, x) && r(this[x], e) && (this[x][e] = !1), Y(this, e, m(1, t));
  };
  return t && W && Y(G, e, {
    configurable: !0,
    set: i
  }), z(e);
})[J], "toString", function() {
  return this._k;
}), S.f = U, j.f = B, require("./_object-gopn").f = d.f = V, require("./_object-pie").f = R, 
require("./_object-gops").f = X, t && !require("./_library") && n(G, "propertyIsEnumerable", R, !0), 
l.f = function(e) {
  return z(c(e));
}), i(i.G + i.W + i.F * !K, {
  Symbol: E
});

for (var Z = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), $ = 0; Z.length > $; ) c(Z[$++]);

for (var ee = O(c.store), re = 0; ee.length > re; ) p(ee[re++]);

i(i.S + i.F * !K, "Symbol", {
  for: function(e) {
    return r(C, e += "") ? C[e] : C[e] = E(e);
  },
  keyFor: function(e) {
    if (!A(e)) throw TypeError(e + " is not a symbol!");
    for (var r in C) if (C[r] === e) return r;
  },
  useSetter: function() {
    W = !0;
  },
  useSimple: function() {
    W = !1;
  }
}), i(i.S + i.F * !K, "Object", {
  create: L,
  defineProperty: B,
  defineProperties: H,
  getOwnPropertyDescriptor: U,
  getOwnPropertyNames: V,
  getOwnPropertySymbols: X
}), F && i(i.S + i.F * (!K || u(function() {
  var e = E();
  return "[null]" != N([ e ]) || "{}" != N({
    a: e
  }) || "{}" != N(Object(e));
})), "JSON", {
  stringify: function(e) {
    for (var r, t, i = [ e ], n = 1; arguments.length > n; ) i.push(arguments[n++]);
    if (t = r = i[1], (_(r) || void 0 !== e) && !A(e)) return h(r) || (r = function(e, r) {
      if ("function" == typeof t && (r = t.call(this, e, r)), !A(r)) return r;
    }), i[1] = r, N.apply(F, i);
  }
}), E[J][I] || require("./_hide")(E[J], I, E[J].valueOf), f(E, "Symbol"), f(Math, "Math", !0), 
f(e.JSON, "JSON", !0);

},{"./_an-object":32,"./_descriptors":47,"./_enum-keys":50,"./_export":51,"./_fails":52,"./_global":54,"./_has":55,"./_hide":56,"./_is-array":62,"./_is-object":63,"./_library":70,"./_meta":71,"./_object-create":75,"./_object-dp":76,"./_object-gopd":78,"./_object-gopn":80,"./_object-gopn-ext":79,"./_object-gops":81,"./_object-keys":84,"./_object-pie":85,"./_property-desc":90,"./_redefine":92,"./_set-to-string-tag":96,"./_shared":98,"./_to-iobject":106,"./_to-primitive":109,"./_uid":110,"./_wks":115,"./_wks-define":113,"./_wks-ext":114}],131:[function(require,module,exports){
"use strict";

var r = require("./_export"), e = require("./_core"), t = require("./_global"), n = require("./_species-constructor"), i = require("./_promise-resolve");

r(r.P + r.R, "Promise", {
  finally: function(r) {
    var o = n(this, e.Promise || t.Promise), u = "function" == typeof r;
    return this.then(u ? function(e) {
      return i(o, r()).then(function() {
        return e;
      });
    } : r, u ? function(e) {
      return i(o, r()).then(function() {
        throw e;
      });
    } : r);
  }
});

},{"./_core":43,"./_export":51,"./_global":54,"./_promise-resolve":89,"./_species-constructor":99}],132:[function(require,module,exports){
"use strict";

var r = require("./_export"), e = require("./_new-promise-capability"), i = require("./_perform");

r(r.S, "Promise", {
  try: function(r) {
    var t = e.f(this), o = i(r);
    return (o.e ? t.reject : t.resolve)(o.v), t.promise;
  }
});

},{"./_export":51,"./_new-promise-capability":73,"./_perform":88}],133:[function(require,module,exports){
require("./_set-collection-from")("Set");

},{"./_set-collection-from":93}],134:[function(require,module,exports){
require("./_set-collection-of")("Set");

},{"./_set-collection-of":94}],135:[function(require,module,exports){
var e = require("./_export");

e(e.P + e.R, "Set", {
  toJSON: require("./_collection-to-json")("Set")
});

},{"./_collection-to-json":41,"./_export":51}],136:[function(require,module,exports){
require("./_wks-define")("asyncIterator");

},{"./_wks-define":113}],137:[function(require,module,exports){
require("./_wks-define")("observable");

},{"./_wks-define":113}],138:[function(require,module,exports){
require("./es6.array.iterator");

for (var t = require("./_global"), e = require("./_hide"), i = require("./_iterators"), r = require("./_wks")("toStringTag"), s = "CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","), L = 0; L < s.length; L++) {
  var a = s[L], l = t[a], S = l && l.prototype;
  S && !S[r] && e(S, r, a), i[a] = i.Array;
}

},{"./_global":54,"./_hide":56,"./_iterators":69,"./_wks":115,"./es6.array.iterator":120}],139:[function(require,module,exports){
"use strict";

exports.byteLength = u, exports.toByteArray = i, exports.fromByteArray = d;

for (var r = [], t = [], e = "undefined" != typeof Uint8Array ? Uint8Array : Array, n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", o = 0, a = n.length; o < a; ++o) r[o] = n[o], 
t[n.charCodeAt(o)] = o;

function h(r) {
  var t = r.length;
  if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4");
  var e = r.indexOf("=");
  return -1 === e && (e = t), [ e, e === t ? 0 : 4 - e % 4 ];
}

function u(r) {
  var t = h(r), e = t[0], n = t[1];
  return 3 * (e + n) / 4 - n;
}

function c(r, t, e) {
  return 3 * (t + e) / 4 - e;
}

function i(r) {
  for (var n, o = h(r), a = o[0], u = o[1], i = new e(c(r, a, u)), f = 0, A = u > 0 ? a - 4 : a, d = 0; d < A; d += 4) n = t[r.charCodeAt(d)] << 18 | t[r.charCodeAt(d + 1)] << 12 | t[r.charCodeAt(d + 2)] << 6 | t[r.charCodeAt(d + 3)], 
  i[f++] = n >> 16 & 255, i[f++] = n >> 8 & 255, i[f++] = 255 & n;
  return 2 === u && (n = t[r.charCodeAt(d)] << 2 | t[r.charCodeAt(d + 1)] >> 4, i[f++] = 255 & n), 
  1 === u && (n = t[r.charCodeAt(d)] << 10 | t[r.charCodeAt(d + 1)] << 4 | t[r.charCodeAt(d + 2)] >> 2, 
  i[f++] = n >> 8 & 255, i[f++] = 255 & n), i;
}

function f(t) {
  return r[t >> 18 & 63] + r[t >> 12 & 63] + r[t >> 6 & 63] + r[63 & t];
}

function A(r, t, e) {
  for (var n, o = [], a = t; a < e; a += 3) n = (r[a] << 16 & 16711680) + (r[a + 1] << 8 & 65280) + (255 & r[a + 2]), 
  o.push(f(n));
  return o.join("");
}

function d(t) {
  for (var e, n = t.length, o = n % 3, a = [], h = 0, u = n - o; h < u; h += 16383) a.push(A(t, h, h + 16383 > u ? u : h + 16383));
  return 1 === o ? (e = t[n - 1], a.push(r[e >> 2] + r[e << 4 & 63] + "==")) : 2 === o && (e = (t[n - 2] << 8) + t[n - 1], 
  a.push(r[e >> 10] + r[e >> 4 & 63] + r[e << 2 & 63] + "=")), a.join("");
}

t["-".charCodeAt(0)] = 62, t["_".charCodeAt(0)] = 63;

},{}],140:[function(require,module,exports){

},{}],141:[function(require,module,exports){
"use strict";

var t = require("base64-js"), r = require("ieee754");

exports.Buffer = o, exports.SlowBuffer = g, exports.INSPECT_MAX_BYTES = 50;

var e = 2147483647;

function n() {
  try {
    var t = new Uint8Array(1);
    return t.__proto__ = {
      __proto__: Uint8Array.prototype,
      foo: function() {
        return 42;
      }
    }, 42 === t.foo();
  } catch (t) {
    return !1;
  }
}

function i(t) {
  if (t > e) throw new RangeError('The value "' + t + '" is invalid for option "size"');
  var r = new Uint8Array(t);
  return r.__proto__ = o.prototype, r;
}

function o(t, r, e) {
  if ("number" == typeof t) {
    if ("string" == typeof r) throw new TypeError('The "string" argument must be of type string. Received type number');
    return h(t);
  }
  return f(t, r, e);
}

function f(t, r, e) {
  if ("string" == typeof t) return a(t, r);
  if (ArrayBuffer.isView(t)) return p(t);
  if (null == t) throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t);
  if (Z(t, ArrayBuffer) || t && Z(t.buffer, ArrayBuffer)) return l(t, r, e);
  if ("number" == typeof t) throw new TypeError('The "value" argument must not be of type number. Received type number');
  var n = t.valueOf && t.valueOf();
  if (null != n && n !== t) return o.from(n, r, e);
  var i = c(t);
  if (i) return i;
  if ("undefined" != typeof Symbol && null != Symbol.toPrimitive && "function" == typeof t[Symbol.toPrimitive]) return o.from(t[Symbol.toPrimitive]("string"), r, e);
  throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t);
}

function u(t) {
  if ("number" != typeof t) throw new TypeError('"size" argument must be of type number');
  if (t < 0) throw new RangeError('The value "' + t + '" is invalid for option "size"');
}

function s(t, r, e) {
  return u(t), t <= 0 ? i(t) : void 0 !== r ? "string" == typeof e ? i(t).fill(r, e) : i(t).fill(r) : i(t);
}

function h(t) {
  return u(t), i(t < 0 ? 0 : 0 | y(t));
}

function a(t, r) {
  if ("string" == typeof r && "" !== r || (r = "utf8"), !o.isEncoding(r)) throw new TypeError("Unknown encoding: " + r);
  var e = 0 | w(t, r), n = i(e), f = n.write(t, r);
  return f !== e && (n = n.slice(0, f)), n;
}

function p(t) {
  for (var r = t.length < 0 ? 0 : 0 | y(t.length), e = i(r), n = 0; n < r; n += 1) e[n] = 255 & t[n];
  return e;
}

function l(t, r, e) {
  if (r < 0 || t.byteLength < r) throw new RangeError('"offset" is outside of buffer bounds');
  if (t.byteLength < r + (e || 0)) throw new RangeError('"length" is outside of buffer bounds');
  var n;
  return (n = void 0 === r && void 0 === e ? new Uint8Array(t) : void 0 === e ? new Uint8Array(t, r) : new Uint8Array(t, r, e)).__proto__ = o.prototype, 
  n;
}

function c(t) {
  if (o.isBuffer(t)) {
    var r = 0 | y(t.length), e = i(r);
    return 0 === e.length ? e : (t.copy(e, 0, 0, r), e);
  }
  return void 0 !== t.length ? "number" != typeof t.length || $(t.length) ? i(0) : p(t) : "Buffer" === t.type && Array.isArray(t.data) ? p(t.data) : void 0;
}

function y(t) {
  if (t >= e) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + e.toString(16) + " bytes");
  return 0 | t;
}

function g(t) {
  return +t != t && (t = 0), o.alloc(+t);
}

function w(t, r) {
  if (o.isBuffer(t)) return t.length;
  if (ArrayBuffer.isView(t) || Z(t, ArrayBuffer)) return t.byteLength;
  if ("string" != typeof t) throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof t);
  var e = t.length, n = arguments.length > 2 && !0 === arguments[2];
  if (!n && 0 === e) return 0;
  for (var i = !1; ;) switch (r) {
   case "ascii":
   case "latin1":
   case "binary":
    return e;

   case "utf8":
   case "utf-8":
    return N(t).length;

   case "ucs2":
   case "ucs-2":
   case "utf16le":
   case "utf-16le":
    return 2 * e;

   case "hex":
    return e >>> 1;

   case "base64":
    return X(t).length;

   default:
    if (i) return n ? -1 : N(t).length;
    r = ("" + r).toLowerCase(), i = !0;
  }
}

function v(t, r, e) {
  var n = !1;
  if ((void 0 === r || r < 0) && (r = 0), r > this.length) return "";
  if ((void 0 === e || e > this.length) && (e = this.length), e <= 0) return "";
  if ((e >>>= 0) <= (r >>>= 0)) return "";
  for (t || (t = "utf8"); ;) switch (t) {
   case "hex":
    return k(this, r, e);

   case "utf8":
   case "utf-8":
    return S(this, r, e);

   case "ascii":
    return x(this, r, e);

   case "latin1":
   case "binary":
    return C(this, r, e);

   case "base64":
    return I(this, r, e);

   case "ucs2":
   case "ucs-2":
   case "utf16le":
   case "utf-16le":
    return O(this, r, e);

   default:
    if (n) throw new TypeError("Unknown encoding: " + t);
    t = (t + "").toLowerCase(), n = !0;
  }
}

function d(t, r, e) {
  var n = t[r];
  t[r] = t[e], t[e] = n;
}

function b(t, r, e, n, i) {
  if (0 === t.length) return -1;
  if ("string" == typeof e ? (n = e, e = 0) : e > 2147483647 ? e = 2147483647 : e < -2147483648 && (e = -2147483648), 
  $(e = +e) && (e = i ? 0 : t.length - 1), e < 0 && (e = t.length + e), e >= t.length) {
    if (i) return -1;
    e = t.length - 1;
  } else if (e < 0) {
    if (!i) return -1;
    e = 0;
  }
  if ("string" == typeof r && (r = o.from(r, n)), o.isBuffer(r)) return 0 === r.length ? -1 : m(t, r, e, n, i);
  if ("number" == typeof r) return r &= 255, "function" == typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(t, r, e) : Uint8Array.prototype.lastIndexOf.call(t, r, e) : m(t, [ r ], e, n, i);
  throw new TypeError("val must be string, number or Buffer");
}

function m(t, r, e, n, i) {
  var o, f = 1, u = t.length, s = r.length;
  if (void 0 !== n && ("ucs2" === (n = String(n).toLowerCase()) || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) {
    if (t.length < 2 || r.length < 2) return -1;
    f = 2, u /= 2, s /= 2, e /= 2;
  }
  function h(t, r) {
    return 1 === f ? t[r] : t.readUInt16BE(r * f);
  }
  if (i) {
    var a = -1;
    for (o = e; o < u; o++) if (h(t, o) === h(r, -1 === a ? 0 : o - a)) {
      if (-1 === a && (a = o), o - a + 1 === s) return a * f;
    } else -1 !== a && (o -= o - a), a = -1;
  } else for (e + s > u && (e = u - s), o = e; o >= 0; o--) {
    for (var p = !0, l = 0; l < s; l++) if (h(t, o + l) !== h(r, l)) {
      p = !1;
      break;
    }
    if (p) return o;
  }
  return -1;
}

function E(t, r, e, n) {
  e = Number(e) || 0;
  var i = t.length - e;
  n ? (n = Number(n)) > i && (n = i) : n = i;
  var o = r.length;
  n > o / 2 && (n = o / 2);
  for (var f = 0; f < n; ++f) {
    var u = parseInt(r.substr(2 * f, 2), 16);
    if ($(u)) return f;
    t[e + f] = u;
  }
  return f;
}

function B(t, r, e, n) {
  return J(N(r, t.length - e), t, e, n);
}

function A(t, r, e, n) {
  return J(V(r), t, e, n);
}

function U(t, r, e, n) {
  return A(t, r, e, n);
}

function T(t, r, e, n) {
  return J(X(r), t, e, n);
}

function _(t, r, e, n) {
  return J(W(r, t.length - e), t, e, n);
}

function I(r, e, n) {
  return 0 === e && n === r.length ? t.fromByteArray(r) : t.fromByteArray(r.slice(e, n));
}

function S(t, r, e) {
  e = Math.min(t.length, e);
  for (var n = [], i = r; i < e; ) {
    var o, f, u, s, h = t[i], a = null, p = h > 239 ? 4 : h > 223 ? 3 : h > 191 ? 2 : 1;
    if (i + p <= e) switch (p) {
     case 1:
      h < 128 && (a = h);
      break;

     case 2:
      128 == (192 & (o = t[i + 1])) && (s = (31 & h) << 6 | 63 & o) > 127 && (a = s);
      break;

     case 3:
      o = t[i + 1], f = t[i + 2], 128 == (192 & o) && 128 == (192 & f) && (s = (15 & h) << 12 | (63 & o) << 6 | 63 & f) > 2047 && (s < 55296 || s > 57343) && (a = s);
      break;

     case 4:
      o = t[i + 1], f = t[i + 2], u = t[i + 3], 128 == (192 & o) && 128 == (192 & f) && 128 == (192 & u) && (s = (15 & h) << 18 | (63 & o) << 12 | (63 & f) << 6 | 63 & u) > 65535 && s < 1114112 && (a = s);
    }
    null === a ? (a = 65533, p = 1) : a > 65535 && (a -= 65536, n.push(a >>> 10 & 1023 | 55296), 
    a = 56320 | 1023 & a), n.push(a), i += p;
  }
  return L(n);
}

exports.kMaxLength = e, o.TYPED_ARRAY_SUPPORT = n(), o.TYPED_ARRAY_SUPPORT || "undefined" == typeof console || "function" != typeof console.error || console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."), 
Object.defineProperty(o.prototype, "parent", {
  enumerable: !0,
  get: function() {
    if (o.isBuffer(this)) return this.buffer;
  }
}), Object.defineProperty(o.prototype, "offset", {
  enumerable: !0,
  get: function() {
    if (o.isBuffer(this)) return this.byteOffset;
  }
}), "undefined" != typeof Symbol && null != Symbol.species && o[Symbol.species] === o && Object.defineProperty(o, Symbol.species, {
  value: null,
  configurable: !0,
  enumerable: !1,
  writable: !1
}), o.poolSize = 8192, o.from = function(t, r, e) {
  return f(t, r, e);
}, o.prototype.__proto__ = Uint8Array.prototype, o.__proto__ = Uint8Array, o.alloc = function(t, r, e) {
  return s(t, r, e);
}, o.allocUnsafe = function(t) {
  return h(t);
}, o.allocUnsafeSlow = function(t) {
  return h(t);
}, o.isBuffer = function(t) {
  return null != t && !0 === t._isBuffer && t !== o.prototype;
}, o.compare = function(t, r) {
  if (Z(t, Uint8Array) && (t = o.from(t, t.offset, t.byteLength)), Z(r, Uint8Array) && (r = o.from(r, r.offset, r.byteLength)), 
  !o.isBuffer(t) || !o.isBuffer(r)) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');
  if (t === r) return 0;
  for (var e = t.length, n = r.length, i = 0, f = Math.min(e, n); i < f; ++i) if (t[i] !== r[i]) {
    e = t[i], n = r[i];
    break;
  }
  return e < n ? -1 : n < e ? 1 : 0;
}, o.isEncoding = function(t) {
  switch (String(t).toLowerCase()) {
   case "hex":
   case "utf8":
   case "utf-8":
   case "ascii":
   case "latin1":
   case "binary":
   case "base64":
   case "ucs2":
   case "ucs-2":
   case "utf16le":
   case "utf-16le":
    return !0;

   default:
    return !1;
  }
}, o.concat = function(t, r) {
  if (!Array.isArray(t)) throw new TypeError('"list" argument must be an Array of Buffers');
  if (0 === t.length) return o.alloc(0);
  var e;
  if (void 0 === r) for (r = 0, e = 0; e < t.length; ++e) r += t[e].length;
  var n = o.allocUnsafe(r), i = 0;
  for (e = 0; e < t.length; ++e) {
    var f = t[e];
    if (Z(f, Uint8Array) && (f = o.from(f)), !o.isBuffer(f)) throw new TypeError('"list" argument must be an Array of Buffers');
    f.copy(n, i), i += f.length;
  }
  return n;
}, o.byteLength = w, o.prototype._isBuffer = !0, o.prototype.swap16 = function() {
  var t = this.length;
  if (t % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits");
  for (var r = 0; r < t; r += 2) d(this, r, r + 1);
  return this;
}, o.prototype.swap32 = function() {
  var t = this.length;
  if (t % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits");
  for (var r = 0; r < t; r += 4) d(this, r, r + 3), d(this, r + 1, r + 2);
  return this;
}, o.prototype.swap64 = function() {
  var t = this.length;
  if (t % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits");
  for (var r = 0; r < t; r += 8) d(this, r, r + 7), d(this, r + 1, r + 6), d(this, r + 2, r + 5), 
  d(this, r + 3, r + 4);
  return this;
}, o.prototype.toString = function() {
  var t = this.length;
  return 0 === t ? "" : 0 === arguments.length ? S(this, 0, t) : v.apply(this, arguments);
}, o.prototype.toLocaleString = o.prototype.toString, o.prototype.equals = function(t) {
  if (!o.isBuffer(t)) throw new TypeError("Argument must be a Buffer");
  return this === t || 0 === o.compare(this, t);
}, o.prototype.inspect = function() {
  var t = "", r = exports.INSPECT_MAX_BYTES;
  return t = this.toString("hex", 0, r).replace(/(.{2})/g, "$1 ").trim(), this.length > r && (t += " ... "), 
  "<Buffer " + t + ">";
}, o.prototype.compare = function(t, r, e, n, i) {
  if (Z(t, Uint8Array) && (t = o.from(t, t.offset, t.byteLength)), !o.isBuffer(t)) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof t);
  if (void 0 === r && (r = 0), void 0 === e && (e = t ? t.length : 0), void 0 === n && (n = 0), 
  void 0 === i && (i = this.length), r < 0 || e > t.length || n < 0 || i > this.length) throw new RangeError("out of range index");
  if (n >= i && r >= e) return 0;
  if (n >= i) return -1;
  if (r >= e) return 1;
  if (this === t) return 0;
  for (var f = (i >>>= 0) - (n >>>= 0), u = (e >>>= 0) - (r >>>= 0), s = Math.min(f, u), h = this.slice(n, i), a = t.slice(r, e), p = 0; p < s; ++p) if (h[p] !== a[p]) {
    f = h[p], u = a[p];
    break;
  }
  return f < u ? -1 : u < f ? 1 : 0;
}, o.prototype.includes = function(t, r, e) {
  return -1 !== this.indexOf(t, r, e);
}, o.prototype.indexOf = function(t, r, e) {
  return b(this, t, r, e, !0);
}, o.prototype.lastIndexOf = function(t, r, e) {
  return b(this, t, r, e, !1);
}, o.prototype.write = function(t, r, e, n) {
  if (void 0 === r) n = "utf8", e = this.length, r = 0; else if (void 0 === e && "string" == typeof r) n = r, 
  e = this.length, r = 0; else {
    if (!isFinite(r)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");
    r >>>= 0, isFinite(e) ? (e >>>= 0, void 0 === n && (n = "utf8")) : (n = e, e = void 0);
  }
  var i = this.length - r;
  if ((void 0 === e || e > i) && (e = i), t.length > 0 && (e < 0 || r < 0) || r > this.length) throw new RangeError("Attempt to write outside buffer bounds");
  n || (n = "utf8");
  for (var o = !1; ;) switch (n) {
   case "hex":
    return E(this, t, r, e);

   case "utf8":
   case "utf-8":
    return B(this, t, r, e);

   case "ascii":
    return A(this, t, r, e);

   case "latin1":
   case "binary":
    return U(this, t, r, e);

   case "base64":
    return T(this, t, r, e);

   case "ucs2":
   case "ucs-2":
   case "utf16le":
   case "utf-16le":
    return _(this, t, r, e);

   default:
    if (o) throw new TypeError("Unknown encoding: " + n);
    n = ("" + n).toLowerCase(), o = !0;
  }
}, o.prototype.toJSON = function() {
  return {
    type: "Buffer",
    data: Array.prototype.slice.call(this._arr || this, 0)
  };
};

var R = 4096;

function L(t) {
  var r = t.length;
  if (r <= R) return String.fromCharCode.apply(String, t);
  for (var e = "", n = 0; n < r; ) e += String.fromCharCode.apply(String, t.slice(n, n += R));
  return e;
}

function x(t, r, e) {
  var n = "";
  e = Math.min(t.length, e);
  for (var i = r; i < e; ++i) n += String.fromCharCode(127 & t[i]);
  return n;
}

function C(t, r, e) {
  var n = "";
  e = Math.min(t.length, e);
  for (var i = r; i < e; ++i) n += String.fromCharCode(t[i]);
  return n;
}

function k(t, r, e) {
  var n = t.length;
  (!r || r < 0) && (r = 0), (!e || e < 0 || e > n) && (e = n);
  for (var i = "", o = r; o < e; ++o) i += q(t[o]);
  return i;
}

function O(t, r, e) {
  for (var n = t.slice(r, e), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1]);
  return i;
}

function M(t, r, e) {
  if (t % 1 != 0 || t < 0) throw new RangeError("offset is not uint");
  if (t + r > e) throw new RangeError("Trying to access beyond buffer length");
}

function P(t, r, e, n, i, f) {
  if (!o.isBuffer(t)) throw new TypeError('"buffer" argument must be a Buffer instance');
  if (r > i || r < f) throw new RangeError('"value" argument is out of bounds');
  if (e + n > t.length) throw new RangeError("Index out of range");
}

function z(t, r, e, n, i, o) {
  if (e + n > t.length) throw new RangeError("Index out of range");
  if (e < 0) throw new RangeError("Index out of range");
}

function j(t, e, n, i, o) {
  return e = +e, n >>>= 0, o || z(t, e, n, 4, 3.4028234663852886e38, -3.4028234663852886e38), 
  r.write(t, e, n, i, 23, 4), n + 4;
}

function D(t, e, n, i, o) {
  return e = +e, n >>>= 0, o || z(t, e, n, 8, 1.7976931348623157e308, -1.7976931348623157e308), 
  r.write(t, e, n, i, 52, 8), n + 8;
}

o.prototype.slice = function(t, r) {
  var e = this.length;
  (t = ~~t) < 0 ? (t += e) < 0 && (t = 0) : t > e && (t = e), (r = void 0 === r ? e : ~~r) < 0 ? (r += e) < 0 && (r = 0) : r > e && (r = e), 
  r < t && (r = t);
  var n = this.subarray(t, r);
  return n.__proto__ = o.prototype, n;
}, o.prototype.readUIntLE = function(t, r, e) {
  t >>>= 0, r >>>= 0, e || M(t, r, this.length);
  for (var n = this[t], i = 1, o = 0; ++o < r && (i *= 256); ) n += this[t + o] * i;
  return n;
}, o.prototype.readUIntBE = function(t, r, e) {
  t >>>= 0, r >>>= 0, e || M(t, r, this.length);
  for (var n = this[t + --r], i = 1; r > 0 && (i *= 256); ) n += this[t + --r] * i;
  return n;
}, o.prototype.readUInt8 = function(t, r) {
  return t >>>= 0, r || M(t, 1, this.length), this[t];
}, o.prototype.readUInt16LE = function(t, r) {
  return t >>>= 0, r || M(t, 2, this.length), this[t] | this[t + 1] << 8;
}, o.prototype.readUInt16BE = function(t, r) {
  return t >>>= 0, r || M(t, 2, this.length), this[t] << 8 | this[t + 1];
}, o.prototype.readUInt32LE = function(t, r) {
  return t >>>= 0, r || M(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + 16777216 * this[t + 3];
}, o.prototype.readUInt32BE = function(t, r) {
  return t >>>= 0, r || M(t, 4, this.length), 16777216 * this[t] + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]);
}, o.prototype.readIntLE = function(t, r, e) {
  t >>>= 0, r >>>= 0, e || M(t, r, this.length);
  for (var n = this[t], i = 1, o = 0; ++o < r && (i *= 256); ) n += this[t + o] * i;
  return n >= (i *= 128) && (n -= Math.pow(2, 8 * r)), n;
}, o.prototype.readIntBE = function(t, r, e) {
  t >>>= 0, r >>>= 0, e || M(t, r, this.length);
  for (var n = r, i = 1, o = this[t + --n]; n > 0 && (i *= 256); ) o += this[t + --n] * i;
  return o >= (i *= 128) && (o -= Math.pow(2, 8 * r)), o;
}, o.prototype.readInt8 = function(t, r) {
  return t >>>= 0, r || M(t, 1, this.length), 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t];
}, o.prototype.readInt16LE = function(t, r) {
  t >>>= 0, r || M(t, 2, this.length);
  var e = this[t] | this[t + 1] << 8;
  return 32768 & e ? 4294901760 | e : e;
}, o.prototype.readInt16BE = function(t, r) {
  t >>>= 0, r || M(t, 2, this.length);
  var e = this[t + 1] | this[t] << 8;
  return 32768 & e ? 4294901760 | e : e;
}, o.prototype.readInt32LE = function(t, r) {
  return t >>>= 0, r || M(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24;
}, o.prototype.readInt32BE = function(t, r) {
  return t >>>= 0, r || M(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3];
}, o.prototype.readFloatLE = function(t, e) {
  return t >>>= 0, e || M(t, 4, this.length), r.read(this, t, !0, 23, 4);
}, o.prototype.readFloatBE = function(t, e) {
  return t >>>= 0, e || M(t, 4, this.length), r.read(this, t, !1, 23, 4);
}, o.prototype.readDoubleLE = function(t, e) {
  return t >>>= 0, e || M(t, 8, this.length), r.read(this, t, !0, 52, 8);
}, o.prototype.readDoubleBE = function(t, e) {
  return t >>>= 0, e || M(t, 8, this.length), r.read(this, t, !1, 52, 8);
}, o.prototype.writeUIntLE = function(t, r, e, n) {
  (t = +t, r >>>= 0, e >>>= 0, n) || P(this, t, r, e, Math.pow(2, 8 * e) - 1, 0);
  var i = 1, o = 0;
  for (this[r] = 255 & t; ++o < e && (i *= 256); ) this[r + o] = t / i & 255;
  return r + e;
}, o.prototype.writeUIntBE = function(t, r, e, n) {
  (t = +t, r >>>= 0, e >>>= 0, n) || P(this, t, r, e, Math.pow(2, 8 * e) - 1, 0);
  var i = e - 1, o = 1;
  for (this[r + i] = 255 & t; --i >= 0 && (o *= 256); ) this[r + i] = t / o & 255;
  return r + e;
}, o.prototype.writeUInt8 = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 1, 255, 0), this[r] = 255 & t, r + 1;
}, o.prototype.writeUInt16LE = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 2, 65535, 0), this[r] = 255 & t, this[r + 1] = t >>> 8, 
  r + 2;
}, o.prototype.writeUInt16BE = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 2, 65535, 0), this[r] = t >>> 8, this[r + 1] = 255 & t, 
  r + 2;
}, o.prototype.writeUInt32LE = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 4, 4294967295, 0), this[r + 3] = t >>> 24, 
  this[r + 2] = t >>> 16, this[r + 1] = t >>> 8, this[r] = 255 & t, r + 4;
}, o.prototype.writeUInt32BE = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 4, 4294967295, 0), this[r] = t >>> 24, 
  this[r + 1] = t >>> 16, this[r + 2] = t >>> 8, this[r + 3] = 255 & t, r + 4;
}, o.prototype.writeIntLE = function(t, r, e, n) {
  if (t = +t, r >>>= 0, !n) {
    var i = Math.pow(2, 8 * e - 1);
    P(this, t, r, e, i - 1, -i);
  }
  var o = 0, f = 1, u = 0;
  for (this[r] = 255 & t; ++o < e && (f *= 256); ) t < 0 && 0 === u && 0 !== this[r + o - 1] && (u = 1), 
  this[r + o] = (t / f >> 0) - u & 255;
  return r + e;
}, o.prototype.writeIntBE = function(t, r, e, n) {
  if (t = +t, r >>>= 0, !n) {
    var i = Math.pow(2, 8 * e - 1);
    P(this, t, r, e, i - 1, -i);
  }
  var o = e - 1, f = 1, u = 0;
  for (this[r + o] = 255 & t; --o >= 0 && (f *= 256); ) t < 0 && 0 === u && 0 !== this[r + o + 1] && (u = 1), 
  this[r + o] = (t / f >> 0) - u & 255;
  return r + e;
}, o.prototype.writeInt8 = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 1, 127, -128), t < 0 && (t = 255 + t + 1), 
  this[r] = 255 & t, r + 1;
}, o.prototype.writeInt16LE = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 2, 32767, -32768), this[r] = 255 & t, 
  this[r + 1] = t >>> 8, r + 2;
}, o.prototype.writeInt16BE = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 2, 32767, -32768), this[r] = t >>> 8, 
  this[r + 1] = 255 & t, r + 2;
}, o.prototype.writeInt32LE = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 4, 2147483647, -2147483648), this[r] = 255 & t, 
  this[r + 1] = t >>> 8, this[r + 2] = t >>> 16, this[r + 3] = t >>> 24, r + 4;
}, o.prototype.writeInt32BE = function(t, r, e) {
  return t = +t, r >>>= 0, e || P(this, t, r, 4, 2147483647, -2147483648), t < 0 && (t = 4294967295 + t + 1), 
  this[r] = t >>> 24, this[r + 1] = t >>> 16, this[r + 2] = t >>> 8, this[r + 3] = 255 & t, 
  r + 4;
}, o.prototype.writeFloatLE = function(t, r, e) {
  return j(this, t, r, !0, e);
}, o.prototype.writeFloatBE = function(t, r, e) {
  return j(this, t, r, !1, e);
}, o.prototype.writeDoubleLE = function(t, r, e) {
  return D(this, t, r, !0, e);
}, o.prototype.writeDoubleBE = function(t, r, e) {
  return D(this, t, r, !1, e);
}, o.prototype.copy = function(t, r, e, n) {
  if (!o.isBuffer(t)) throw new TypeError("argument should be a Buffer");
  if (e || (e = 0), n || 0 === n || (n = this.length), r >= t.length && (r = t.length), 
  r || (r = 0), n > 0 && n < e && (n = e), n === e) return 0;
  if (0 === t.length || 0 === this.length) return 0;
  if (r < 0) throw new RangeError("targetStart out of bounds");
  if (e < 0 || e >= this.length) throw new RangeError("Index out of range");
  if (n < 0) throw new RangeError("sourceEnd out of bounds");
  n > this.length && (n = this.length), t.length - r < n - e && (n = t.length - r + e);
  var i = n - e;
  if (this === t && "function" == typeof Uint8Array.prototype.copyWithin) this.copyWithin(r, e, n); else if (this === t && e < r && r < n) for (var f = i - 1; f >= 0; --f) t[f + r] = this[f + e]; else Uint8Array.prototype.set.call(t, this.subarray(e, n), r);
  return i;
}, o.prototype.fill = function(t, r, e, n) {
  if ("string" == typeof t) {
    if ("string" == typeof r ? (n = r, r = 0, e = this.length) : "string" == typeof e && (n = e, 
    e = this.length), void 0 !== n && "string" != typeof n) throw new TypeError("encoding must be a string");
    if ("string" == typeof n && !o.isEncoding(n)) throw new TypeError("Unknown encoding: " + n);
    if (1 === t.length) {
      var i = t.charCodeAt(0);
      ("utf8" === n && i < 128 || "latin1" === n) && (t = i);
    }
  } else "number" == typeof t && (t &= 255);
  if (r < 0 || this.length < r || this.length < e) throw new RangeError("Out of range index");
  if (e <= r) return this;
  var f;
  if (r >>>= 0, e = void 0 === e ? this.length : e >>> 0, t || (t = 0), "number" == typeof t) for (f = r; f < e; ++f) this[f] = t; else {
    var u = o.isBuffer(t) ? t : o.from(t, n), s = u.length;
    if (0 === s) throw new TypeError('The value "' + t + '" is invalid for argument "value"');
    for (f = 0; f < e - r; ++f) this[f + r] = u[f % s];
  }
  return this;
};

var F = /[^+\/0-9A-Za-z-_]/g;

function Y(t) {
  if ((t = (t = t.split("=")[0]).trim().replace(F, "")).length < 2) return "";
  for (;t.length % 4 != 0; ) t += "=";
  return t;
}

function q(t) {
  return t < 16 ? "0" + t.toString(16) : t.toString(16);
}

function N(t, r) {
  var e;
  r = r || 1 / 0;
  for (var n = t.length, i = null, o = [], f = 0; f < n; ++f) {
    if ((e = t.charCodeAt(f)) > 55295 && e < 57344) {
      if (!i) {
        if (e > 56319) {
          (r -= 3) > -1 && o.push(239, 191, 189);
          continue;
        }
        if (f + 1 === n) {
          (r -= 3) > -1 && o.push(239, 191, 189);
          continue;
        }
        i = e;
        continue;
      }
      if (e < 56320) {
        (r -= 3) > -1 && o.push(239, 191, 189), i = e;
        continue;
      }
      e = 65536 + (i - 55296 << 10 | e - 56320);
    } else i && (r -= 3) > -1 && o.push(239, 191, 189);
    if (i = null, e < 128) {
      if ((r -= 1) < 0) break;
      o.push(e);
    } else if (e < 2048) {
      if ((r -= 2) < 0) break;
      o.push(e >> 6 | 192, 63 & e | 128);
    } else if (e < 65536) {
      if ((r -= 3) < 0) break;
      o.push(e >> 12 | 224, e >> 6 & 63 | 128, 63 & e | 128);
    } else {
      if (!(e < 1114112)) throw new Error("Invalid code point");
      if ((r -= 4) < 0) break;
      o.push(e >> 18 | 240, e >> 12 & 63 | 128, e >> 6 & 63 | 128, 63 & e | 128);
    }
  }
  return o;
}

function V(t) {
  for (var r = [], e = 0; e < t.length; ++e) r.push(255 & t.charCodeAt(e));
  return r;
}

function W(t, r) {
  for (var e, n, i, o = [], f = 0; f < t.length && !((r -= 2) < 0); ++f) n = (e = t.charCodeAt(f)) >> 8, 
  i = e % 256, o.push(i), o.push(n);
  return o;
}

function X(r) {
  return t.toByteArray(Y(r));
}

function J(t, r, e, n) {
  for (var i = 0; i < n && !(i + e >= r.length || i >= t.length); ++i) r[i + e] = t[i];
  return i;
}

function Z(t, r) {
  return t instanceof r || null != t && null != t.constructor && null != t.constructor.name && t.constructor.name === r.name;
}

function $(t) {
  return t != t;
}

},{"base64-js":139,"ieee754":149}],142:[function(require,module,exports){
(function (Buffer){
function r(r) {
  return Array.isArray ? Array.isArray(r) : "[object Array]" === b(r);
}

function t(r) {
  return "boolean" == typeof r;
}

function n(r) {
  return null === r;
}

function e(r) {
  return null == r;
}

function o(r) {
  return "number" == typeof r;
}

function i(r) {
  return "string" == typeof r;
}

function u(r) {
  return "symbol" == typeof r;
}

function s(r) {
  return void 0 === r;
}

function f(r) {
  return "[object RegExp]" === b(r);
}

function p(r) {
  return "object" == typeof r && null !== r;
}

function c(r) {
  return "[object Date]" === b(r);
}

function l(r) {
  return "[object Error]" === b(r) || r instanceof Error;
}

function y(r) {
  return "function" == typeof r;
}

function x(r) {
  return null === r || "boolean" == typeof r || "number" == typeof r || "string" == typeof r || "symbol" == typeof r || void 0 === r;
}

function b(r) {
  return Object.prototype.toString.call(r);
}

exports.isArray = r, exports.isBoolean = t, exports.isNull = n, exports.isNullOrUndefined = e, 
exports.isNumber = o, exports.isString = i, exports.isSymbol = u, exports.isUndefined = s, 
exports.isRegExp = f, exports.isObject = p, exports.isDate = c, exports.isError = l, 
exports.isFunction = y, exports.isPrimitive = x, exports.isBuffer = Buffer.isBuffer;

}).call(this,{"isBuffer":require("../../is-buffer/index.js")})

},{"../../is-buffer/index.js":151}],143:[function(require,module,exports){
var e = Object.create || _, t = Object.keys || b, n = Function.prototype.bind || x;

function r() {
  this._events && Object.prototype.hasOwnProperty.call(this, "_events") || (this._events = e(null), 
  this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
}

module.exports = r, r.EventEmitter = r, r.prototype._events = void 0, r.prototype._maxListeners = void 0;

var i, s = 10;

try {
  var o = {};
  Object.defineProperty && Object.defineProperty(o, "x", {
    value: 0
  }), i = 0 === o.x;
} catch (e) {
  i = !1;
}

function u(e) {
  return void 0 === e._maxListeners ? r.defaultMaxListeners : e._maxListeners;
}

function l(e, t, n) {
  if (t) e.call(n); else for (var r = e.length, i = w(e, r), s = 0; s < r; ++s) i[s].call(n);
}

function a(e, t, n, r) {
  if (t) e.call(n, r); else for (var i = e.length, s = w(e, i), o = 0; o < i; ++o) s[o].call(n, r);
}

function f(e, t, n, r, i) {
  if (t) e.call(n, r, i); else for (var s = e.length, o = w(e, s), u = 0; u < s; ++u) o[u].call(n, r, i);
}

function h(e, t, n, r, i, s) {
  if (t) e.call(n, r, i, s); else for (var o = e.length, u = w(e, o), l = 0; l < o; ++l) u[l].call(n, r, i, s);
}

function c(e, t, n, r) {
  if (t) e.apply(n, r); else for (var i = e.length, s = w(e, i), o = 0; o < i; ++o) s[o].apply(n, r);
}

function p(t, n, r, i) {
  var s, o, l;
  if ("function" != typeof r) throw new TypeError('"listener" argument must be a function');
  if ((o = t._events) ? (o.newListener && (t.emit("newListener", n, r.listener ? r.listener : r), 
  o = t._events), l = o[n]) : (o = t._events = e(null), t._eventsCount = 0), l) {
    if ("function" == typeof l ? l = o[n] = i ? [ r, l ] : [ l, r ] : i ? l.unshift(r) : l.push(r), 
    !l.warned && (s = u(t)) && s > 0 && l.length > s) {
      l.warned = !0;
      var a = new Error("Possible EventEmitter memory leak detected. " + l.length + ' "' + String(n) + '" listeners added. Use emitter.setMaxListeners() to increase limit.');
      a.name = "MaxListenersExceededWarning", a.emitter = t, a.type = n, a.count = l.length, 
      "object" == typeof console && console.warn && console.warn("%s: %s", a.name, a.message);
    }
  } else l = o[n] = r, ++t._eventsCount;
  return t;
}

function v() {
  if (!this.fired) switch (this.target.removeListener(this.type, this.wrapFn), this.fired = !0, 
  arguments.length) {
   case 0:
    return this.listener.call(this.target);

   case 1:
    return this.listener.call(this.target, arguments[0]);

   case 2:
    return this.listener.call(this.target, arguments[0], arguments[1]);

   case 3:
    return this.listener.call(this.target, arguments[0], arguments[1], arguments[2]);

   default:
    for (var e = new Array(arguments.length), t = 0; t < e.length; ++t) e[t] = arguments[t];
    this.listener.apply(this.target, e);
  }
}

function y(e, t, r) {
  var i = {
    fired: !1,
    wrapFn: void 0,
    target: e,
    type: t,
    listener: r
  }, s = n.call(v, i);
  return s.listener = r, i.wrapFn = s, s;
}

function m(e, t, n) {
  var r = e._events;
  if (!r) return [];
  var i = r[t];
  return i ? "function" == typeof i ? n ? [ i.listener || i ] : [ i ] : n ? L(i) : w(i, i.length) : [];
}

function g(e) {
  var t = this._events;
  if (t) {
    var n = t[e];
    if ("function" == typeof n) return 1;
    if (n) return n.length;
  }
  return 0;
}

function d(e, t) {
  for (var n = t, r = n + 1, i = e.length; r < i; n += 1, r += 1) e[n] = e[r];
  e.pop();
}

function w(e, t) {
  for (var n = new Array(t), r = 0; r < t; ++r) n[r] = e[r];
  return n;
}

function L(e) {
  for (var t = new Array(e.length), n = 0; n < t.length; ++n) t[n] = e[n].listener || e[n];
  return t;
}

function _(e) {
  var t = function() {};
  return t.prototype = e, new t();
}

function b(e) {
  var t = [];
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.push(n);
  return n;
}

function x(e) {
  var t = this;
  return function() {
    return t.apply(e, arguments);
  };
}

i ? Object.defineProperty(r, "defaultMaxListeners", {
  enumerable: !0,
  get: function() {
    return s;
  },
  set: function(e) {
    if ("number" != typeof e || e < 0 || e != e) throw new TypeError('"defaultMaxListeners" must be a positive number');
    s = e;
  }
}) : r.defaultMaxListeners = s, r.prototype.setMaxListeners = function(e) {
  if ("number" != typeof e || e < 0 || isNaN(e)) throw new TypeError('"n" argument must be a positive number');
  return this._maxListeners = e, this;
}, r.prototype.getMaxListeners = function() {
  return u(this);
}, r.prototype.emit = function(e) {
  var t, n, r, i, s, o, u = "error" === e;
  if (o = this._events) u = u && null == o.error; else if (!u) return !1;
  if (u) {
    if (arguments.length > 1 && (t = arguments[1]), t instanceof Error) throw t;
    var p = new Error('Unhandled "error" event. (' + t + ")");
    throw p.context = t, p;
  }
  if (!(n = o[e])) return !1;
  var v = "function" == typeof n;
  switch (r = arguments.length) {
   case 1:
    l(n, v, this);
    break;

   case 2:
    a(n, v, this, arguments[1]);
    break;

   case 3:
    f(n, v, this, arguments[1], arguments[2]);
    break;

   case 4:
    h(n, v, this, arguments[1], arguments[2], arguments[3]);
    break;

   default:
    for (i = new Array(r - 1), s = 1; s < r; s++) i[s - 1] = arguments[s];
    c(n, v, this, i);
  }
  return !0;
}, r.prototype.addListener = function(e, t) {
  return p(this, e, t, !1);
}, r.prototype.on = r.prototype.addListener, r.prototype.prependListener = function(e, t) {
  return p(this, e, t, !0);
}, r.prototype.once = function(e, t) {
  if ("function" != typeof t) throw new TypeError('"listener" argument must be a function');
  return this.on(e, y(this, e, t)), this;
}, r.prototype.prependOnceListener = function(e, t) {
  if ("function" != typeof t) throw new TypeError('"listener" argument must be a function');
  return this.prependListener(e, y(this, e, t)), this;
}, r.prototype.removeListener = function(t, n) {
  var r, i, s, o, u;
  if ("function" != typeof n) throw new TypeError('"listener" argument must be a function');
  if (!(i = this._events)) return this;
  if (!(r = i[t])) return this;
  if (r === n || r.listener === n) 0 == --this._eventsCount ? this._events = e(null) : (delete i[t], 
  i.removeListener && this.emit("removeListener", t, r.listener || n)); else if ("function" != typeof r) {
    for (s = -1, o = r.length - 1; o >= 0; o--) if (r[o] === n || r[o].listener === n) {
      u = r[o].listener, s = o;
      break;
    }
    if (s < 0) return this;
    0 === s ? r.shift() : d(r, s), 1 === r.length && (i[t] = r[0]), i.removeListener && this.emit("removeListener", t, u || n);
  }
  return this;
}, r.prototype.removeAllListeners = function(n) {
  var r, i, s;
  if (!(i = this._events)) return this;
  if (!i.removeListener) return 0 === arguments.length ? (this._events = e(null), 
  this._eventsCount = 0) : i[n] && (0 == --this._eventsCount ? this._events = e(null) : delete i[n]), 
  this;
  if (0 === arguments.length) {
    var o, u = t(i);
    for (s = 0; s < u.length; ++s) "removeListener" !== (o = u[s]) && this.removeAllListeners(o);
    return this.removeAllListeners("removeListener"), this._events = e(null), this._eventsCount = 0, 
    this;
  }
  if ("function" == typeof (r = i[n])) this.removeListener(n, r); else if (r) for (s = r.length - 1; s >= 0; s--) this.removeListener(n, r[s]);
  return this;
}, r.prototype.listeners = function(e) {
  return m(this, e, !0);
}, r.prototype.rawListeners = function(e) {
  return m(this, e, !1);
}, r.listenerCount = function(e, t) {
  return "function" == typeof e.listenerCount ? e.listenerCount(t) : g.call(e, t);
}, r.prototype.listenerCount = g, r.prototype.eventNames = function() {
  return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
};

},{}],144:[function(require,module,exports){
(function (global){
global.TYPED_ARRAY_SUPPORT = !0, module.exports = require("buffer/");

}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

},{"buffer/":141}],145:[function(require,module,exports){
(function (process,Buffer){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property")), t = e(require("@babel/runtime-corejs2/core-js/array/from")), n = e(require("@babel/runtime-corejs2/core-js/set")), i = e(require("@babel/runtime-corejs2/helpers/assertThisInitialized")), o = e(require("@babel/runtime-corejs2/helpers/inheritsLoose")), u = e(require("@babel/runtime-corejs2/core-js/object/assign")), l = require("stream"), a = Process, s = a.platform, c = a.pointerSize, d = {
  S_IFMT: 61440,
  S_IFREG: 32768,
  S_IFDIR: 16384,
  S_IFCHR: 8192,
  S_IFBLK: 24576,
  S_IFIFO: 4096,
  S_IFLNK: 40960,
  S_IFSOCK: 49152,
  S_IRWXU: 448,
  S_IRUSR: 256,
  S_IWUSR: 128,
  S_IXUSR: 64,
  S_IRWXG: 56,
  S_IRGRP: 32,
  S_IWGRP: 16,
  S_IXGRP: 8,
  S_IRWXO: 7,
  S_IROTH: 4,
  S_IWOTH: 2,
  S_IXOTH: 1,
  DT_UNKNOWN: 0,
  DT_FIFO: 1,
  DT_CHR: 2,
  DT_DIR: 4,
  DT_BLK: 6,
  DT_REG: 8,
  DT_LNK: 10,
  DT_SOCK: 12,
  DT_WHT: 14
}, f = {
  darwin: {
    O_RDONLY: 0,
    O_WRONLY: 1,
    O_RDWR: 2,
    O_CREAT: 512,
    O_EXCL: 2048,
    O_NOCTTY: 131072,
    O_TRUNC: 1024,
    O_APPEND: 8,
    O_DIRECTORY: 1048576,
    O_NOFOLLOW: 256,
    O_SYNC: 128,
    O_DSYNC: 4194304,
    O_SYMLINK: 2097152,
    O_NONBLOCK: 4
  },
  linux: {
    O_RDONLY: 0,
    O_WRONLY: 1,
    O_RDWR: 2,
    O_CREAT: 64,
    O_EXCL: 128,
    O_NOCTTY: 256,
    O_TRUNC: 512,
    O_APPEND: 1024,
    O_DIRECTORY: 65536,
    O_NOATIME: 262144,
    O_NOFOLLOW: 131072,
    O_SYNC: 1052672,
    O_DSYNC: 4096,
    O_DIRECT: 16384,
    O_NONBLOCK: 2048
  }
}, _ = (0, u.default)({}, d, f[s] || {}), p = 0, O = 1, m = 2, S = 4, v = function(e) {
  function r(r) {
    var t;
    (t = e.call(this, {
      highWaterMark: 4194304
    }) || this)._input = null, t._readRequest = null;
    var n = Memory.allocUtf8String(r), o = J().open(n, _.O_RDONLY, 0);
    return -1 === o.value ? (t.emit("error", new Error("Unable to open file (" + P(o.errno) + ")")), 
    t.push(null), (0, i.default)(t)) : (t._input = new UnixInputStream(o.value, {
      autoClose: !0
    }), t);
  }
  (0, o.default)(r, e);
  var t = r.prototype;
  return t._read = function(e) {
    var r = this;
    null === this._readRequest && (this._readRequest = this._input.read(e).then(function(t) {
      if (r._readRequest = null, 0 === t.byteLength) return r._closeInput(), void r.push(null);
      r.push(Buffer.from(t)) && r._read(e);
    }).catch(function(e) {
      r._readRequest = null, r._closeInput(), r.push(null);
    }));
  }, t._closeInput = function() {
    null !== this._input && (this._input.close(), this._input = null);
  }, r;
}(l.Readable), U = function(e) {
  function r(r) {
    var t;
    (t = e.call(this, {
      highWaterMark: 4194304
    }) || this)._output = null, t._writeRequest = null;
    var n = Memory.allocUtf8String(r), o = _.O_WRONLY | _.O_CREAT, u = _.S_IRUSR | _.S_IWUSR | _.S_IRGRP | _.S_IROTH, l = J().open(n, o, u);
    return -1 === l.value ? (t.emit("error", new Error("Unable to open file (" + P(l.errno) + ")")), 
    t.push(null), (0, i.default)(t)) : (t._output = new UnixOutputStream(l.value, {
      autoClose: !0
    }), t.on("finish", function() {
      return t._closeOutput();
    }), t.on("error", function() {
      return t._closeOutput();
    }), t);
  }
  (0, o.default)(r, e);
  var t = r.prototype;
  return t._write = function(e, r, t) {
    var n = this;
    null === this._writeRequest && (this._writeRequest = this._output.writeAll(e).then(function(e) {
      n._writeRequest = null, t();
    }).catch(function(e) {
      n._writeRequest = null, t(e);
    }));
  }, t._closeOutput = function() {
    null !== this._output && (this._output.close(), this._output = null);
  }, r;
}(l.Writable), h = {
  "linux-32": {
    d_name: [ 11, "Utf8String" ],
    d_type: [ 10, "U8" ]
  },
  "linux-64": {
    d_name: [ 19, "Utf8String" ],
    d_type: [ 18, "U8" ]
  },
  "darwin-32": {
    d_name: [ 21, "Utf8String" ],
    d_type: [ 20, "U8" ]
  },
  "darwin-64": {
    d_name: [ 21, "Utf8String" ],
    d_type: [ 20, "U8" ]
  }
}, R = h[s + "-" + 8 * c];

function y(e) {
  var r = [];
  return w(e, function(e) {
    var t = I(e, "d_name");
    r.push(t);
  }), r;
}

function b(e) {
  var r = [];
  return w(e, function(e) {
    r.push({
      name: I(e, "d_name"),
      type: I(e, "d_type")
    });
  }), r;
}

function w(e, r) {
  var t = J(), n = t.opendir, i = t.opendir$INODE64, o = t.closedir, u = t.readdir, l = t.readdir$INODE64 || u, a = (i || n)(Memory.allocUtf8String(e)), s = a.value;
  if (s.isNull()) throw new Error("Unable to open directory (" + P(a.errno) + ")");
  try {
    for (var c; !(c = l(s)).isNull(); ) r(c);
  } finally {
    o(s);
  }
}

function I(e, r) {
  var t = R[r], n = t[0], i = t[1], o = ("string" == typeof i ? Memory["read" + i] : i)(e.add(n));
  return o instanceof Int64 || o instanceof UInt64 ? o.valueOf() : o;
}

function g(e, r) {
  void 0 === r && (r = {}), "string" == typeof r && (r = {
    encoding: r
  });
  var t = r.encoding, n = void 0 === t ? null : t, i = J(), o = i.open, u = i.close, l = i.lseek, a = i.read, s = o(Memory.allocUtf8String(e), _.O_RDONLY, 0), c = s.value;
  if (-1 === c) throw new Error("Unable to open file (" + P(s.errno) + ")");
  try {
    var d = l(c, 0, m).valueOf();
    l(c, 0, p);
    var f, O, v, U = Memory.alloc(d);
    do {
      v = -1 === (O = (f = a(c, U, d)).value.valueOf());
    } while (v && f.errno === S);
    if (v) throw new Error("Unable to read " + e + " (" + P(f.errno) + ")");
    if (O !== d.valueOf()) throw new Error("Short read");
    if ("utf8" === n) return Memory.readUtf8String(U, d);
    var h = Buffer.from(Memory.readByteArray(U, d));
    return null !== n ? h.toString(n) : h;
  } finally {
    u(c);
  }
}

function N(e) {
  var r = J(), t = Memory.allocUtf8String(e), n = W(e).size.valueOf(), i = Memory.alloc(n), o = r.readlink(t, i, n), u = o.value.valueOf();
  if (-1 === u) throw new Error("Unable to read link (" + P(o.errno) + ")");
  return Memory.readUtf8String(i, u);
}

function D(e) {
  var r = (0, J().unlink)(Memory.allocUtf8String(e));
  if (-1 === r.value) throw new Error("Unable to unlink (" + P(r.errno) + ")");
}

var M = new n.default([ "dev", "mode", "nlink", "uid", "gid", "rdev", "blksize", "ino", "size", "blocks", "atimeMs", "mtimeMs", "ctimeMs", "birthtimeMs", "atime", "mtime", "ctime", "birthtime" ]), T = {
  "darwin-32": {
    size: 108,
    fields: {
      dev: [ 0, "S32" ],
      mode: [ 4, "U16" ],
      nlink: [ 6, "U16" ],
      ino: [ 8, "U64" ],
      uid: [ 16, "U32" ],
      gid: [ 20, "U32" ],
      rdev: [ 24, "S32" ],
      atime: [ 28, Y ],
      mtime: [ 36, Y ],
      ctime: [ 44, Y ],
      birthtime: [ 52, Y ],
      size: [ 60, "S64" ],
      blocks: [ 68, "S64" ],
      blksize: [ 76, "S32" ]
    }
  },
  "darwin-64": {
    size: 144,
    fields: {
      dev: [ 0, "S32" ],
      mode: [ 4, "U16" ],
      nlink: [ 6, "U16" ],
      ino: [ 8, "U64" ],
      uid: [ 16, "U32" ],
      gid: [ 20, "U32" ],
      rdev: [ 24, "S32" ],
      atime: [ 32, j ],
      mtime: [ 48, j ],
      ctime: [ 64, j ],
      birthtime: [ 80, j ],
      size: [ 96, "S64" ],
      blocks: [ 104, "S64" ],
      blksize: [ 112, "S32" ]
    }
  },
  "linux-32": {
    size: 88,
    fields: {
      dev: [ 0, "U64" ],
      mode: [ 16, "U32" ],
      nlink: [ 20, "U32" ],
      ino: [ 12, "U32" ],
      uid: [ 24, "U32" ],
      gid: [ 28, "U32" ],
      rdev: [ 32, "U64" ],
      atime: [ 56, Y ],
      mtime: [ 64, Y ],
      ctime: [ 72, Y ],
      size: [ 44, "S32" ],
      blocks: [ 52, "S32" ],
      blksize: [ 48, "S32" ]
    }
  },
  "linux-64": {
    size: 144,
    fields: {
      dev: [ 0, "U64" ],
      mode: [ 24, "U32" ],
      nlink: [ 16, "U64" ],
      ino: [ 8, "U64" ],
      uid: [ 28, "U32" ],
      gid: [ 32, "U32" ],
      rdev: [ 40, "U64" ],
      atime: [ 72, j ],
      mtime: [ 88, j ],
      ctime: [ 104, j ],
      size: [ 48, "S64" ],
      blocks: [ 64, "S64" ],
      blksize: [ 56, "S64" ]
    }
  }
}, k = T[s + "-" + 8 * c] || null, E = 256;

function C() {}

function L(e) {
  var r = J();
  return q(r.stat64 || r.stat, e);
}

function W(e) {
  var r = J();
  return q(r.lstat64 || r.lstat, e);
}

function q(e, r) {
  if (null === k) throw new Error("Current OS is not yet supported; please open a PR");
  var n = Memory.alloc(E), i = e(Memory.allocUtf8String(r), n);
  if (0 !== i.value) throw new Error("Unable to stat " + r + " (" + P(i.errno) + ")");
  return new Proxy(new C(), {
    has: function(e, r) {
      return z(r);
    },
    get: function(e, r, t) {
      switch (r) {
       case "prototype":
       case "constructor":
       case "toString":
        return e[r];

       case "hasOwnProperty":
        return z;

       case "valueOf":
        return t;

       case "buffer":
        return n;

       default:
        var i = F.call(t, r);
        return null !== i ? i : void 0;
      }
    },
    set: function(e, r, t, n) {
      return !1;
    },
    ownKeys: function(e) {
      return (0, t.default)(M);
    },
    getOwnPropertyDescriptor: function(e, r) {
      return {
        writable: !1,
        configurable: !0,
        enumerable: !0
      };
    }
  });
}

function z(e) {
  return M.has(e);
}

function F(e) {
  var r = k.fields[e];
  if (void 0 === r) {
    if ("birthtime" === e) return F.call(this, "ctime");
    var t = e.lastIndexOf("Ms");
    return t === e.length - 2 ? F.call(this, e.substr(0, t)).getTime() : void 0;
  }
  var n = r[0], i = r[1], o = ("string" == typeof i ? Memory["read" + i] : i)(this.buffer.add(n));
  return o instanceof Int64 || o instanceof UInt64 ? o.valueOf() : o;
}

function Y(e) {
  var r = Memory.readU32(e), t = Memory.readU32(e.add(4));
  return new Date(1e3 * r + t / 1e6);
}

function j(e) {
  var r = Memory.readU64(e).valueOf(), t = Memory.readU64(e.add(8)).valueOf();
  return new Date(1e3 * r + t / 1e6);
}

function P(e) {
  return Memory.readUtf8String(J().strerror(e));
}

function x(e) {
  return function() {
    for (var r = arguments.length, t = new Array(r), n = 0; n < r; n++) t[n] = arguments[n];
    var i = t.length - 1, o = t.slice(0, i), u = t[i];
    process.nextTick(function() {
      try {
        var r = e.apply(void 0, o);
        u(null, r);
      } catch (e) {
        u(e);
      }
    });
  };
}

var K = SystemFunction, A = NativeFunction, B = 8 === c ? "int64" : "int32", X = "u" + B, G = "darwin" === s || 8 === c ? "int64" : "int32", H = [ [ "open", K, "int", [ "pointer", "int", "...", "int" ] ], [ "close", A, "int", [ "int" ] ], [ "lseek", A, G, [ "int", G, "int" ] ], [ "read", K, B, [ "int", "pointer", X ] ], [ "opendir", K, "pointer", [ "pointer" ] ], [ "opendir$INODE64", K, "pointer", [ "pointer" ] ], [ "closedir", A, "int", [ "pointer" ] ], [ "readdir", A, "pointer", [ "pointer" ] ], [ "readdir$INODE64", A, "pointer", [ "pointer" ] ], [ "readlink", K, B, [ "pointer", "pointer", X ] ], [ "unlink", K, "int", [ "pointer" ] ], [ "stat", K, "int", [ "pointer", "pointer" ] ], [ "stat64", K, "int", [ "pointer", "pointer" ] ], [ "lstat", K, "int", [ "pointer", "pointer" ] ], [ "lstat64", K, "int", [ "pointer", "pointer" ] ], [ "strerror", A, "pointer", [ "int" ] ] ], $ = null;

function J() {
  return null === $ && ($ = H.reduce(function(e, r) {
    return Q(e, r), e;
  }, {})), $;
}

function Q(e, t) {
  var n = t[0];
  (0, r.default)(e, n, {
    configurable: !0,
    get: function() {
      var i = t[1], o = t[2], u = t[3], l = null, a = Module.findExportByName(null, n);
      return null !== a && (l = new i(a, o, u)), (0, r.default)(e, n, {
        value: l
      }), l;
    }
  });
}

module.exports = {
  constants: _,
  createReadStream: function(e) {
    return new v(e);
  },
  createWriteStream: function(e) {
    return new U(e);
  },
  readdir: x(y),
  readdirSync: y,
  list: b,
  readFile: x(g),
  readFileSync: g,
  readlink: x(N),
  readlinkSync: N,
  unlink: x(D),
  unlinkSync: D,
  stat: x(L),
  statSync: L,
  lstat: x(W),
  lstatSync: W
};

}).call(this,require('_process'),require("buffer").Buffer)

},{"@babel/runtime-corejs2/core-js/array/from":1,"@babel/runtime-corejs2/core-js/object/assign":5,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/core-js/set":11,"@babel/runtime-corejs2/helpers/assertThisInitialized":13,"@babel/runtime-corejs2/helpers/inheritsLoose":15,"@babel/runtime-corejs2/helpers/interopRequireDefault":16,"_process":146,"buffer":144,"stream":170}],146:[function(require,module,exports){
"use strict";

var e = require("events"), r = module.exports = {};

function n() {}

r.nextTick = Script.nextTick, r.title = "Frida", r.browser = !0, r.env = {}, r.argv = [], 
r.version = "", r.versions = {}, r.EventEmitter = e, r.on = n, r.addListener = n, 
r.once = n, r.off = n, r.removeListener = n, r.removeAllListeners = n, r.emit = n, 
r.binding = function(e) {
  throw new Error("process.binding is not supported");
}, r.cwd = function() {
  return "/";
}, r.chdir = function(e) {
  throw new Error("process.chdir is not supported");
}, r.umask = function() {
  return 0;
};

},{"events":143}],147:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/promise")), n = e(require("@babel/runtime-corejs2/core-js/symbol")), u = require("./lib/ios"), i = (0, 
n.default)("ios"), t = (0, n.default)("unknown");

module.exports = function(e) {
  return l() === i ? u(e) : new r.default(function(e, r) {
    r(new Error("Not yet implemented for this OS"));
  });
};

var o = null;

function l() {
  return null === o && (o = s()), o;
}

function s() {
  return ObjC.available && "UIView" in ObjC.classes ? i : t;
}

},{"./lib/ios":148,"@babel/runtime-corejs2/core-js/promise":10,"@babel/runtime-corejs2/core-js/symbol":12,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],148:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), t = e(require("@babel/runtime-corejs2/core-js/promise")), n = 4 === Process.pointerSize ? "float" : "double", r = [ n, n ];

function i(e) {
  return new t.default(function(t, n) {
    function r() {
      try {
        var r = e();
        t(r);
      } catch (e) {
        n(e);
      }
    }
    o().NSThread.isMainThread() ? r() : ObjC.schedule(ObjC.mainQueue, r);
  });
}

module.exports = function(e) {
  return i(function() {
    var t = o();
    e || (e = t.UIWindow.keyWindow());
    var n = e.bounds(), r = n[1];
    t.UIGraphicsBeginImageContextWithOptions(r, 0, 0), e.drawViewHierarchyInRect_afterScreenUpdates_(n, !0);
    var i = t.UIGraphicsGetImageFromCurrentImageContext();
    t.UIGraphicsEndImageContext();
    var a = new ObjC.Object(t.UIImagePNGRepresentation(i));
    return Memory.readByteArray(a.bytes(), a.length());
  });
};

var a = null;

function o() {
  return null === a && (a = {
    UIWindow: ObjC.classes.UIWindow,
    NSThread: ObjC.classes.NSThread,
    UIGraphicsBeginImageContextWithOptions: new NativeFunction(Module.findExportByName("UIKit", "UIGraphicsBeginImageContextWithOptions"), "void", [ r, "bool", n ]),
    UIGraphicsEndImageContext: new NativeFunction(Module.findExportByName("UIKit", "UIGraphicsEndImageContext"), "void", []),
    UIGraphicsGetImageFromCurrentImageContext: new NativeFunction(Module.findExportByName("UIKit", "UIGraphicsGetImageFromCurrentImageContext"), "pointer", []),
    UIImagePNGRepresentation: new NativeFunction(Module.findExportByName("UIKit", "UIImagePNGRepresentation"), "pointer", [ "pointer" ])
  }), a;
}

},{"@babel/runtime-corejs2/core-js/promise":10,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],149:[function(require,module,exports){
exports.read = function(a, o, t, r, h) {
  var M, p, w = 8 * h - r - 1, f = (1 << w) - 1, e = f >> 1, i = -7, N = t ? h - 1 : 0, n = t ? -1 : 1, s = a[o + N];
  for (N += n, M = s & (1 << -i) - 1, s >>= -i, i += w; i > 0; M = 256 * M + a[o + N], 
  N += n, i -= 8) ;
  for (p = M & (1 << -i) - 1, M >>= -i, i += r; i > 0; p = 256 * p + a[o + N], N += n, 
  i -= 8) ;
  if (0 === M) M = 1 - e; else {
    if (M === f) return p ? NaN : 1 / 0 * (s ? -1 : 1);
    p += Math.pow(2, r), M -= e;
  }
  return (s ? -1 : 1) * p * Math.pow(2, M - r);
}, exports.write = function(a, o, t, r, h, M) {
  var p, w, f, e = 8 * M - h - 1, i = (1 << e) - 1, N = i >> 1, n = 23 === h ? Math.pow(2, -24) - Math.pow(2, -77) : 0, s = r ? 0 : M - 1, u = r ? 1 : -1, l = o < 0 || 0 === o && 1 / o < 0 ? 1 : 0;
  for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (w = isNaN(o) ? 1 : 0, p = i) : (p = Math.floor(Math.log(o) / Math.LN2), 
  o * (f = Math.pow(2, -p)) < 1 && (p--, f *= 2), (o += p + N >= 1 ? n / f : n * Math.pow(2, 1 - N)) * f >= 2 && (p++, 
  f /= 2), p + N >= i ? (w = 0, p = i) : p + N >= 1 ? (w = (o * f - 1) * Math.pow(2, h), 
  p += N) : (w = o * Math.pow(2, N - 1) * Math.pow(2, h), p = 0)); h >= 8; a[t + s] = 255 & w, 
  s += u, w /= 256, h -= 8) ;
  for (p = p << h | w, e += h; e > 0; a[t + s] = 255 & p, s += u, p /= 256, e -= 8) ;
  a[t + s - u] |= 128 * l;
};

},{}],150:[function(require,module,exports){
"function" == typeof Object.create ? module.exports = function(t, e) {
  t.super_ = e, t.prototype = Object.create(e.prototype, {
    constructor: {
      value: t,
      enumerable: !1,
      writable: !0,
      configurable: !0
    }
  });
} : module.exports = function(t, e) {
  t.super_ = e;
  var o = function() {};
  o.prototype = e.prototype, t.prototype = new o(), t.prototype.constructor = t;
};

},{}],151:[function(require,module,exports){
function t(t) {
  return !!t.constructor && "function" == typeof t.constructor.isBuffer && t.constructor.isBuffer(t);
}

function n(n) {
  return "function" == typeof n.readFloatLE && "function" == typeof n.slice && t(n.slice(0, 0));
}

module.exports = function(o) {
  return null != o && (t(o) || n(o) || !!o._isBuffer);
};

},{}],152:[function(require,module,exports){
var r = {}.toString;

module.exports = Array.isArray || function(t) {
  return "[object Array]" == r.call(t);
};

},{}],153:[function(require,module,exports){
(function (process){
"use strict";

function e(e, n, r, c) {
  if ("function" != typeof e) throw new TypeError('"callback" argument must be a function');
  var s, t, o = arguments.length;
  switch (o) {
   case 0:
   case 1:
    return process.nextTick(e);

   case 2:
    return process.nextTick(function() {
      e.call(null, n);
    });

   case 3:
    return process.nextTick(function() {
      e.call(null, n, r);
    });

   case 4:
    return process.nextTick(function() {
      e.call(null, n, r, c);
    });

   default:
    for (s = new Array(o - 1), t = 0; t < s.length; ) s[t++] = arguments[t];
    return process.nextTick(function() {
      e.apply(null, s);
    });
  }
}

!process.version || 0 === process.version.indexOf("v0.") || 0 === process.version.indexOf("v1.") && 0 !== process.version.indexOf("v1.8.") ? module.exports = {
  nextTick: e
} : module.exports = process;

}).call(this,require('_process'))

},{"_process":146}],154:[function(require,module,exports){
var t, e, n = module.exports = {};

function r() {
  throw new Error("setTimeout has not been defined");
}

function o() {
  throw new Error("clearTimeout has not been defined");
}

function i(e) {
  if (t === setTimeout) return setTimeout(e, 0);
  if ((t === r || !t) && setTimeout) return t = setTimeout, setTimeout(e, 0);
  try {
    return t(e, 0);
  } catch (n) {
    try {
      return t.call(null, e, 0);
    } catch (n) {
      return t.call(this, e, 0);
    }
  }
}

function u(t) {
  if (e === clearTimeout) return clearTimeout(t);
  if ((e === o || !e) && clearTimeout) return e = clearTimeout, clearTimeout(t);
  try {
    return e(t);
  } catch (n) {
    try {
      return e.call(null, t);
    } catch (n) {
      return e.call(this, t);
    }
  }
}

!function() {
  try {
    t = "function" == typeof setTimeout ? setTimeout : r;
  } catch (e) {
    t = r;
  }
  try {
    e = "function" == typeof clearTimeout ? clearTimeout : o;
  } catch (t) {
    e = o;
  }
}();

var c, s = [], l = !1, a = -1;

function f() {
  l && c && (l = !1, c.length ? s = c.concat(s) : a = -1, s.length && h());
}

function h() {
  if (!l) {
    var t = i(f);
    l = !0;
    for (var e = s.length; e; ) {
      for (c = s, s = []; ++a < e; ) c && c[a].run();
      a = -1, e = s.length;
    }
    c = null, l = !1, u(t);
  }
}

function m(t, e) {
  this.fun = t, this.array = e;
}

function p() {}

n.nextTick = function(t) {
  var e = new Array(arguments.length - 1);
  if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) e[n - 1] = arguments[n];
  s.push(new m(t, e)), 1 !== s.length || l || i(h);
}, m.prototype.run = function() {
  this.fun.apply(null, this.array);
}, n.title = "browser", n.browser = !0, n.env = {}, n.argv = [], n.version = "", 
n.versions = {}, n.on = p, n.addListener = p, n.once = p, n.off = p, n.removeListener = p, 
n.removeAllListeners = p, n.emit = p, n.prependListener = p, n.prependOnceListener = p, 
n.listeners = function(t) {
  return [];
}, n.binding = function(t) {
  throw new Error("process.binding is not supported");
}, n.cwd = function() {
  return "/";
}, n.chdir = function(t) {
  throw new Error("process.chdir is not supported");
}, n.umask = function() {
  return 0;
};

},{}],155:[function(require,module,exports){
module.exports = require("./lib/_stream_duplex.js");

},{"./lib/_stream_duplex.js":156}],156:[function(require,module,exports){
"use strict";

var e = require("process-nextick-args"), t = Object.keys || function(e) {
  var t = [];
  for (var r in e) t.push(r);
  return t;
};

module.exports = l;

var r = require("core-util-is");

r.inherits = require("inherits");

var i = require("./_stream_readable"), a = require("./_stream_writable");

r.inherits(l, i);

for (var o = t(a.prototype), s = 0; s < o.length; s++) {
  var n = o[s];
  l.prototype[n] || (l.prototype[n] = a.prototype[n]);
}

function l(e) {
  if (!(this instanceof l)) return new l(e);
  i.call(this, e), a.call(this, e), e && !1 === e.readable && (this.readable = !1), 
  e && !1 === e.writable && (this.writable = !1), this.allowHalfOpen = !0, e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1), 
  this.once("end", h);
}

function h() {
  this.allowHalfOpen || this._writableState.ended || e.nextTick(d, this);
}

function d(e) {
  e.end();
}

Object.defineProperty(l.prototype, "writableHighWaterMark", {
  enumerable: !1,
  get: function() {
    return this._writableState.highWaterMark;
  }
}), Object.defineProperty(l.prototype, "destroyed", {
  get: function() {
    return void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed && this._writableState.destroyed);
  },
  set: function(e) {
    void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed = e, 
    this._writableState.destroyed = e);
  }
}), l.prototype._destroy = function(t, r) {
  this.push(null), this.end(), e.nextTick(r, t);
};

},{"./_stream_readable":158,"./_stream_writable":160,"core-util-is":142,"inherits":150,"process-nextick-args":153}],157:[function(require,module,exports){
"use strict";

module.exports = i;

var r = require("./_stream_transform"), e = require("core-util-is");

function i(e) {
  if (!(this instanceof i)) return new i(e);
  r.call(this, e);
}

e.inherits = require("inherits"), e.inherits(i, r), i.prototype._transform = function(r, e, i) {
  i(null, r);
};

},{"./_stream_transform":159,"core-util-is":142,"inherits":150}],158:[function(require,module,exports){
(function (process,global){
"use strict";

var e = require("process-nextick-args");

module.exports = y;

var t, n = require("isarray");

y.ReadableState = v;

var r = require("events").EventEmitter, i = function(e, t) {
  return e.listeners(t).length;
}, a = require("./internal/streams/stream"), d = require("safe-buffer").Buffer, o = global.Uint8Array || function() {};

function s(e) {
  return d.from(e);
}

function l(e) {
  return d.isBuffer(e) || e instanceof o;
}

var u = require("core-util-is");

u.inherits = require("inherits");

var h = require("util"), p = void 0;

p = h && h.debuglog ? h.debuglog("stream") : function() {};

var f, c = require("./internal/streams/BufferList"), g = require("./internal/streams/destroy");

u.inherits(y, a);

var b = [ "error", "close", "destroy", "pause", "resume" ];

function m(e, t, r) {
  if ("function" == typeof e.prependListener) return e.prependListener(t, r);
  e._events && e._events[t] ? n(e._events[t]) ? e._events[t].unshift(r) : e._events[t] = [ r, e._events[t] ] : e.on(t, r);
}

function v(e, n) {
  e = e || {};
  var r = n instanceof (t = t || require("./_stream_duplex"));
  this.objectMode = !!e.objectMode, r && (this.objectMode = this.objectMode || !!e.readableObjectMode);
  var i = e.highWaterMark, a = e.readableHighWaterMark, d = this.objectMode ? 16 : 16384;
  this.highWaterMark = i || 0 === i ? i : r && (a || 0 === a) ? a : d, this.highWaterMark = Math.floor(this.highWaterMark), 
  this.buffer = new c(), this.length = 0, this.pipes = null, this.pipesCount = 0, 
  this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, 
  this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, 
  this.resumeScheduled = !1, this.destroyed = !1, this.defaultEncoding = e.defaultEncoding || "utf8", 
  this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, 
  e.encoding && (f || (f = require("string_decoder/").StringDecoder), this.decoder = new f(e.encoding), 
  this.encoding = e.encoding);
}

function y(e) {
  if (t = t || require("./_stream_duplex"), !(this instanceof y)) return new y(e);
  this._readableState = new v(e, this), this.readable = !0, e && ("function" == typeof e.read && (this._read = e.read), 
  "function" == typeof e.destroy && (this._destroy = e.destroy)), a.call(this);
}

function w(e, t, n, r, i) {
  var a, o = e._readableState;
  null === t ? (o.reading = !1, E(e, o)) : (i || (a = M(o, t)), a ? e.emit("error", a) : o.objectMode || t && t.length > 0 ? ("string" == typeof t || o.objectMode || Object.getPrototypeOf(t) === d.prototype || (t = s(t)), 
  r ? o.endEmitted ? e.emit("error", new Error("stream.unshift() after end event")) : _(e, o, t, !0) : o.ended ? e.emit("error", new Error("stream.push() after EOF")) : (o.reading = !1, 
  o.decoder && !n ? (t = o.decoder.write(t), o.objectMode || 0 !== t.length ? _(e, o, t, !1) : q(e, o)) : _(e, o, t, !1))) : r || (o.reading = !1));
  return S(o);
}

function _(e, t, n, r) {
  t.flowing && 0 === t.length && !t.sync ? (e.emit("data", n), e.read(0)) : (t.length += t.objectMode ? 1 : n.length, 
  r ? t.buffer.unshift(n) : t.buffer.push(n), t.needReadable && L(e)), q(e, t);
}

function M(e, t) {
  var n;
  return l(t) || "string" == typeof t || void 0 === t || e.objectMode || (n = new TypeError("Invalid non-string/buffer chunk")), 
  n;
}

function S(e) {
  return !e.ended && (e.needReadable || e.length < e.highWaterMark || 0 === e.length);
}

Object.defineProperty(y.prototype, "destroyed", {
  get: function() {
    return void 0 !== this._readableState && this._readableState.destroyed;
  },
  set: function(e) {
    this._readableState && (this._readableState.destroyed = e);
  }
}), y.prototype.destroy = g.destroy, y.prototype._undestroy = g.undestroy, y.prototype._destroy = function(e, t) {
  this.push(null), t(e);
}, y.prototype.push = function(e, t) {
  var n, r = this._readableState;
  return r.objectMode ? n = !0 : "string" == typeof e && ((t = t || r.defaultEncoding) !== r.encoding && (e = d.from(e, t), 
  t = ""), n = !0), w(this, e, t, !1, n);
}, y.prototype.unshift = function(e) {
  return w(this, e, null, !0, !1);
}, y.prototype.isPaused = function() {
  return !1 === this._readableState.flowing;
}, y.prototype.setEncoding = function(e) {
  return f || (f = require("string_decoder/").StringDecoder), this._readableState.decoder = new f(e), 
  this._readableState.encoding = e, this;
};

var k = 8388608;

function j(e) {
  return e >= k ? e = k : (e--, e |= e >>> 1, e |= e >>> 2, e |= e >>> 4, e |= e >>> 8, 
  e |= e >>> 16, e++), e;
}

function R(e, t) {
  return e <= 0 || 0 === t.length && t.ended ? 0 : t.objectMode ? 1 : e != e ? t.flowing && t.length ? t.buffer.head.data.length : t.length : (e > t.highWaterMark && (t.highWaterMark = j(e)), 
  e <= t.length ? e : t.ended ? t.length : (t.needReadable = !0, 0));
}

function E(e, t) {
  if (!t.ended) {
    if (t.decoder) {
      var n = t.decoder.end();
      n && n.length && (t.buffer.push(n), t.length += t.objectMode ? 1 : n.length);
    }
    t.ended = !0, L(e);
  }
}

function L(t) {
  var n = t._readableState;
  n.needReadable = !1, n.emittedReadable || (p("emitReadable", n.flowing), n.emittedReadable = !0, 
  n.sync ? e.nextTick(x, t) : x(t));
}

function x(e) {
  p("emit readable"), e.emit("readable"), U(e);
}

function q(t, n) {
  n.readingMore || (n.readingMore = !0, e.nextTick(W, t, n));
}

function W(e, t) {
  for (var n = t.length; !t.reading && !t.flowing && !t.ended && t.length < t.highWaterMark && (p("maybeReadMore read 0"), 
  e.read(0), n !== t.length); ) n = t.length;
  t.readingMore = !1;
}

function C(e) {
  return function() {
    var t = e._readableState;
    p("pipeOnDrain", t.awaitDrain), t.awaitDrain && t.awaitDrain--, 0 === t.awaitDrain && i(e, "data") && (t.flowing = !0, 
    U(e));
  };
}

function D(e) {
  p("readable nexttick read 0"), e.read(0);
}

function O(t, n) {
  n.resumeScheduled || (n.resumeScheduled = !0, e.nextTick(T, t, n));
}

function T(e, t) {
  t.reading || (p("resume read 0"), e.read(0)), t.resumeScheduled = !1, t.awaitDrain = 0, 
  e.emit("resume"), U(e), t.flowing && !t.reading && e.read(0);
}

function U(e) {
  var t = e._readableState;
  for (p("flow", t.flowing); t.flowing && null !== e.read(); ) ;
}

function P(e, t) {
  return 0 === t.length ? null : (t.objectMode ? n = t.buffer.shift() : !e || e >= t.length ? (n = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.head.data : t.buffer.concat(t.length), 
  t.buffer.clear()) : n = B(e, t.buffer, t.decoder), n);
  var n;
}

function B(e, t, n) {
  var r;
  return e < t.head.data.length ? (r = t.head.data.slice(0, e), t.head.data = t.head.data.slice(e)) : r = e === t.head.data.length ? t.shift() : n ? H(e, t) : I(e, t), 
  r;
}

function H(e, t) {
  var n = t.head, r = 1, i = n.data;
  for (e -= i.length; n = n.next; ) {
    var a = n.data, d = e > a.length ? a.length : e;
    if (d === a.length ? i += a : i += a.slice(0, e), 0 === (e -= d)) {
      d === a.length ? (++r, n.next ? t.head = n.next : t.head = t.tail = null) : (t.head = n, 
      n.data = a.slice(d));
      break;
    }
    ++r;
  }
  return t.length -= r, i;
}

function I(e, t) {
  var n = d.allocUnsafe(e), r = t.head, i = 1;
  for (r.data.copy(n), e -= r.data.length; r = r.next; ) {
    var a = r.data, o = e > a.length ? a.length : e;
    if (a.copy(n, n.length - e, 0, o), 0 === (e -= o)) {
      o === a.length ? (++i, r.next ? t.head = r.next : t.head = t.tail = null) : (t.head = r, 
      r.data = a.slice(o));
      break;
    }
    ++i;
  }
  return t.length -= i, n;
}

function A(t) {
  var n = t._readableState;
  if (n.length > 0) throw new Error('"endReadable()" called on non-empty stream');
  n.endEmitted || (n.ended = !0, e.nextTick(F, n, t));
}

function F(e, t) {
  e.endEmitted || 0 !== e.length || (e.endEmitted = !0, t.readable = !1, t.emit("end"));
}

function z(e, t) {
  for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n;
  return -1;
}

y.prototype.read = function(e) {
  p("read", e), e = parseInt(e, 10);
  var t = this._readableState, n = e;
  if (0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended)) return p("read: emitReadable", t.length, t.ended), 
  0 === t.length && t.ended ? A(this) : L(this), null;
  if (0 === (e = R(e, t)) && t.ended) return 0 === t.length && A(this), null;
  var r, i = t.needReadable;
  return p("need readable", i), (0 === t.length || t.length - e < t.highWaterMark) && p("length less than watermark", i = !0), 
  t.ended || t.reading ? p("reading or ended", i = !1) : i && (p("do read"), t.reading = !0, 
  t.sync = !0, 0 === t.length && (t.needReadable = !0), this._read(t.highWaterMark), 
  t.sync = !1, t.reading || (e = R(n, t))), null === (r = e > 0 ? P(e, t) : null) ? (t.needReadable = !0, 
  e = 0) : t.length -= e, 0 === t.length && (t.ended || (t.needReadable = !0), n !== e && t.ended && A(this)), 
  null !== r && this.emit("data", r), r;
}, y.prototype._read = function(e) {
  this.emit("error", new Error("_read() is not implemented"));
}, y.prototype.pipe = function(t, n) {
  var r = this, a = this._readableState;
  switch (a.pipesCount) {
   case 0:
    a.pipes = t;
    break;

   case 1:
    a.pipes = [ a.pipes, t ];
    break;

   default:
    a.pipes.push(t);
  }
  a.pipesCount += 1, p("pipe count=%d opts=%j", a.pipesCount, n);
  var d = (!n || !1 !== n.end) && t !== process.stdout && t !== process.stderr ? s : v;
  function o(e, n) {
    p("onunpipe"), e === r && n && !1 === n.hasUnpiped && (n.hasUnpiped = !0, p("cleanup"), 
    t.removeListener("close", g), t.removeListener("finish", b), t.removeListener("drain", l), 
    t.removeListener("error", c), t.removeListener("unpipe", o), r.removeListener("end", s), 
    r.removeListener("end", v), r.removeListener("data", f), u = !0, !a.awaitDrain || t._writableState && !t._writableState.needDrain || l());
  }
  function s() {
    p("onend"), t.end();
  }
  a.endEmitted ? e.nextTick(d) : r.once("end", d), t.on("unpipe", o);
  var l = C(r);
  t.on("drain", l);
  var u = !1;
  var h = !1;
  function f(e) {
    p("ondata"), h = !1, !1 !== t.write(e) || h || ((1 === a.pipesCount && a.pipes === t || a.pipesCount > 1 && -1 !== z(a.pipes, t)) && !u && (p("false write response, pause", r._readableState.awaitDrain), 
    r._readableState.awaitDrain++, h = !0), r.pause());
  }
  function c(e) {
    p("onerror", e), v(), t.removeListener("error", c), 0 === i(t, "error") && t.emit("error", e);
  }
  function g() {
    t.removeListener("finish", b), v();
  }
  function b() {
    p("onfinish"), t.removeListener("close", g), v();
  }
  function v() {
    p("unpipe"), r.unpipe(t);
  }
  return r.on("data", f), m(t, "error", c), t.once("close", g), t.once("finish", b), 
  t.emit("pipe", r), a.flowing || (p("pipe resume"), r.resume()), t;
}, y.prototype.unpipe = function(e) {
  var t = this._readableState, n = {
    hasUnpiped: !1
  };
  if (0 === t.pipesCount) return this;
  if (1 === t.pipesCount) return e && e !== t.pipes ? this : (e || (e = t.pipes), 
  t.pipes = null, t.pipesCount = 0, t.flowing = !1, e && e.emit("unpipe", this, n), 
  this);
  if (!e) {
    var r = t.pipes, i = t.pipesCount;
    t.pipes = null, t.pipesCount = 0, t.flowing = !1;
    for (var a = 0; a < i; a++) r[a].emit("unpipe", this, n);
    return this;
  }
  var d = z(t.pipes, e);
  return -1 === d ? this : (t.pipes.splice(d, 1), t.pipesCount -= 1, 1 === t.pipesCount && (t.pipes = t.pipes[0]), 
  e.emit("unpipe", this, n), this);
}, y.prototype.on = function(t, n) {
  var r = a.prototype.on.call(this, t, n);
  if ("data" === t) !1 !== this._readableState.flowing && this.resume(); else if ("readable" === t) {
    var i = this._readableState;
    i.endEmitted || i.readableListening || (i.readableListening = i.needReadable = !0, 
    i.emittedReadable = !1, i.reading ? i.length && L(this) : e.nextTick(D, this));
  }
  return r;
}, y.prototype.addListener = y.prototype.on, y.prototype.resume = function() {
  var e = this._readableState;
  return e.flowing || (p("resume"), e.flowing = !0, O(this, e)), this;
}, y.prototype.pause = function() {
  return p("call pause flowing=%j", this._readableState.flowing), !1 !== this._readableState.flowing && (p("pause"), 
  this._readableState.flowing = !1, this.emit("pause")), this;
}, y.prototype.wrap = function(e) {
  var t = this, n = this._readableState, r = !1;
  for (var i in e.on("end", function() {
    if (p("wrapped end"), n.decoder && !n.ended) {
      var e = n.decoder.end();
      e && e.length && t.push(e);
    }
    t.push(null);
  }), e.on("data", function(i) {
    (p("wrapped data"), n.decoder && (i = n.decoder.write(i)), n.objectMode && null == i) || (n.objectMode || i && i.length) && (t.push(i) || (r = !0, 
    e.pause()));
  }), e) void 0 === this[i] && "function" == typeof e[i] && (this[i] = function(t) {
    return function() {
      return e[t].apply(e, arguments);
    };
  }(i));
  for (var a = 0; a < b.length; a++) e.on(b[a], this.emit.bind(this, b[a]));
  return this._read = function(t) {
    p("wrapped _read", t), r && (r = !1, e.resume());
  }, this;
}, Object.defineProperty(y.prototype, "readableHighWaterMark", {
  enumerable: !1,
  get: function() {
    return this._readableState.highWaterMark;
  }
}), y._fromList = P;

}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

},{"./_stream_duplex":156,"./internal/streams/BufferList":161,"./internal/streams/destroy":162,"./internal/streams/stream":163,"_process":146,"core-util-is":142,"events":143,"inherits":150,"isarray":152,"process-nextick-args":153,"safe-buffer":169,"string_decoder/":164,"util":140}],159:[function(require,module,exports){
"use strict";

module.exports = n;

var t = require("./_stream_duplex"), r = require("core-util-is");

function e(t, r) {
  var e = this._transformState;
  e.transforming = !1;
  var n = e.writecb;
  if (!n) return this.emit("error", new Error("write callback called multiple times"));
  e.writechunk = null, e.writecb = null, null != r && this.push(r), n(t);
  var i = this._readableState;
  i.reading = !1, (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark);
}

function n(r) {
  if (!(this instanceof n)) return new n(r);
  t.call(this, r), this._transformState = {
    afterTransform: e.bind(this),
    needTransform: !1,
    transforming: !1,
    writecb: null,
    writechunk: null,
    writeencoding: null
  }, this._readableState.needReadable = !0, this._readableState.sync = !1, r && ("function" == typeof r.transform && (this._transform = r.transform), 
  "function" == typeof r.flush && (this._flush = r.flush)), this.on("prefinish", i);
}

function i() {
  var t = this;
  "function" == typeof this._flush ? this._flush(function(r, e) {
    a(t, r, e);
  }) : a(this, null, null);
}

function a(t, r, e) {
  if (r) return t.emit("error", r);
  if (null != e && t.push(e), t._writableState.length) throw new Error("Calling transform done when ws.length != 0");
  if (t._transformState.transforming) throw new Error("Calling transform done when still transforming");
  return t.push(null);
}

r.inherits = require("inherits"), r.inherits(n, t), n.prototype.push = function(r, e) {
  return this._transformState.needTransform = !1, t.prototype.push.call(this, r, e);
}, n.prototype._transform = function(t, r, e) {
  throw new Error("_transform() is not implemented");
}, n.prototype._write = function(t, r, e) {
  var n = this._transformState;
  if (n.writecb = e, n.writechunk = t, n.writeencoding = r, !n.transforming) {
    var i = this._readableState;
    (n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark);
  }
}, n.prototype._read = function(t) {
  var r = this._transformState;
  null !== r.writechunk && r.writecb && !r.transforming ? (r.transforming = !0, this._transform(r.writechunk, r.writeencoding, r.afterTransform)) : r.needTransform = !0;
}, n.prototype._destroy = function(r, e) {
  var n = this;
  t.prototype._destroy.call(this, r, function(t) {
    e(t), n.emit("close");
  });
};

},{"./_stream_duplex":156,"core-util-is":142,"inherits":150}],160:[function(require,module,exports){
(function (process,global,setImmediate){
"use strict";

var e = require("process-nextick-args");

function t(e, t, n) {
  this.chunk = e, this.encoding = t, this.callback = n, this.next = null;
}

function n(e) {
  var t = this;
  this.next = null, this.entry = null, this.finish = function() {
    T(t, e);
  };
}

module.exports = w;

var r, i = !process.browser && [ "v0.10", "v0.9." ].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : e.nextTick;

w.WritableState = p;

var o = require("core-util-is");

o.inherits = require("inherits");

var s = {
  deprecate: require("util-deprecate")
}, f = require("./internal/streams/stream"), u = require("safe-buffer").Buffer, a = global.Uint8Array || function() {};

function c(e) {
  return u.from(e);
}

function l(e) {
  return u.isBuffer(e) || e instanceof a;
}

var d, h = require("./internal/streams/destroy");

function b() {}

function p(e, t) {
  r = r || require("./_stream_duplex"), e = e || {};
  var i = t instanceof r;
  this.objectMode = !!e.objectMode, i && (this.objectMode = this.objectMode || !!e.writableObjectMode);
  var o = e.highWaterMark, s = e.writableHighWaterMark, f = this.objectMode ? 16 : 16384;
  this.highWaterMark = o || 0 === o ? o : i && (s || 0 === s) ? s : f, this.highWaterMark = Math.floor(this.highWaterMark), 
  this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, 
  this.destroyed = !1;
  var u = !1 === e.decodeStrings;
  this.decodeStrings = !u, this.defaultEncoding = e.defaultEncoding || "utf8", this.length = 0, 
  this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, 
  this.onwrite = function(e) {
    x(t, e);
  }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, 
  this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.bufferedRequestCount = 0, 
  this.corkedRequestsFree = new n(this);
}

function w(e) {
  if (r = r || require("./_stream_duplex"), !(d.call(w, this) || this instanceof r)) return new w(e);
  this._writableState = new p(e, this), this.writable = !0, e && ("function" == typeof e.write && (this._write = e.write), 
  "function" == typeof e.writev && (this._writev = e.writev), "function" == typeof e.destroy && (this._destroy = e.destroy), 
  "function" == typeof e.final && (this._final = e.final)), f.call(this);
}

function y(t, n) {
  var r = new Error("write after end");
  t.emit("error", r), e.nextTick(n, r);
}

function g(t, n, r, i) {
  var o = !0, s = !1;
  return null === r ? s = new TypeError("May not write null values to stream") : "string" == typeof r || void 0 === r || n.objectMode || (s = new TypeError("Invalid non-string/buffer chunk")), 
  s && (t.emit("error", s), e.nextTick(i, s), o = !1), o;
}

function k(e, t, n) {
  return e.objectMode || !1 === e.decodeStrings || "string" != typeof t || (t = u.from(t, n)), 
  t;
}

function v(e, t, n, r, i, o) {
  if (!n) {
    var s = k(t, r, i);
    r !== s && (n = !0, i = "buffer", r = s);
  }
  var f = t.objectMode ? 1 : r.length;
  t.length += f;
  var u = t.length < t.highWaterMark;
  if (u || (t.needDrain = !0), t.writing || t.corked) {
    var a = t.lastBufferedRequest;
    t.lastBufferedRequest = {
      chunk: r,
      encoding: i,
      isBuf: n,
      callback: o,
      next: null
    }, a ? a.next = t.lastBufferedRequest : t.bufferedRequest = t.lastBufferedRequest, 
    t.bufferedRequestCount += 1;
  } else q(e, t, !1, f, r, i, o);
  return u;
}

function q(e, t, n, r, i, o, s) {
  t.writelen = r, t.writecb = s, t.writing = !0, t.sync = !0, n ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite), 
  t.sync = !1;
}

function _(t, n, r, i, o) {
  --n.pendingcb, r ? (e.nextTick(o, i), e.nextTick(C, t, n), t._writableState.errorEmitted = !0, 
  t.emit("error", i)) : (o(i), t._writableState.errorEmitted = !0, t.emit("error", i), 
  C(t, n));
}

function m(e) {
  e.writing = !1, e.writecb = null, e.length -= e.writelen, e.writelen = 0;
}

function x(e, t) {
  var n = e._writableState, r = n.sync, o = n.writecb;
  if (m(n), t) _(e, n, r, t, o); else {
    var s = B(n);
    s || n.corked || n.bufferProcessing || !n.bufferedRequest || M(e, n), r ? i(R, e, n, s, o) : R(e, n, s, o);
  }
}

function R(e, t, n, r) {
  n || S(e, t), t.pendingcb--, r(), C(e, t);
}

function S(e, t) {
  0 === t.length && t.needDrain && (t.needDrain = !1, e.emit("drain"));
}

function M(e, t) {
  t.bufferProcessing = !0;
  var r = t.bufferedRequest;
  if (e._writev && r && r.next) {
    var i = t.bufferedRequestCount, o = new Array(i), s = t.corkedRequestsFree;
    s.entry = r;
    for (var f = 0, u = !0; r; ) o[f] = r, r.isBuf || (u = !1), r = r.next, f += 1;
    o.allBuffers = u, q(e, t, !0, t.length, o, "", s.finish), t.pendingcb++, t.lastBufferedRequest = null, 
    s.next ? (t.corkedRequestsFree = s.next, s.next = null) : t.corkedRequestsFree = new n(t), 
    t.bufferedRequestCount = 0;
  } else {
    for (;r; ) {
      var a = r.chunk, c = r.encoding, l = r.callback;
      if (q(e, t, !1, t.objectMode ? 1 : a.length, a, c, l), r = r.next, t.bufferedRequestCount--, 
      t.writing) break;
    }
    null === r && (t.lastBufferedRequest = null);
  }
  t.bufferedRequest = r, t.bufferProcessing = !1;
}

function B(e) {
  return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing;
}

function j(e, t) {
  e._final(function(n) {
    t.pendingcb--, n && e.emit("error", n), t.prefinished = !0, e.emit("prefinish"), 
    C(e, t);
  });
}

function E(t, n) {
  n.prefinished || n.finalCalled || ("function" == typeof t._final ? (n.pendingcb++, 
  n.finalCalled = !0, e.nextTick(j, t, n)) : (n.prefinished = !0, t.emit("prefinish")));
}

function C(e, t) {
  var n = B(t);
  return n && (E(e, t), 0 === t.pendingcb && (t.finished = !0, e.emit("finish"))), 
  n;
}

function P(t, n, r) {
  n.ending = !0, C(t, n), r && (n.finished ? e.nextTick(r) : t.once("finish", r)), 
  n.ended = !0, t.writable = !1;
}

function T(e, t, n) {
  var r = e.entry;
  for (e.entry = null; r; ) {
    var i = r.callback;
    t.pendingcb--, i(n), r = r.next;
  }
  t.corkedRequestsFree ? t.corkedRequestsFree.next = e : t.corkedRequestsFree = e;
}

o.inherits(w, f), p.prototype.getBuffer = function() {
  for (var e = this.bufferedRequest, t = []; e; ) t.push(e), e = e.next;
  return t;
}, function() {
  try {
    Object.defineProperty(p.prototype, "buffer", {
      get: s.deprecate(function() {
        return this.getBuffer();
      }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003")
    });
  } catch (e) {}
}(), "function" == typeof Symbol && Symbol.hasInstance && "function" == typeof Function.prototype[Symbol.hasInstance] ? (d = Function.prototype[Symbol.hasInstance], 
Object.defineProperty(w, Symbol.hasInstance, {
  value: function(e) {
    return !!d.call(this, e) || this === w && (e && e._writableState instanceof p);
  }
})) : d = function(e) {
  return e instanceof this;
}, w.prototype.pipe = function() {
  this.emit("error", new Error("Cannot pipe, not readable"));
}, w.prototype.write = function(e, t, n) {
  var r = this._writableState, i = !1, o = !r.objectMode && l(e);
  return o && !u.isBuffer(e) && (e = c(e)), "function" == typeof t && (n = t, t = null), 
  o ? t = "buffer" : t || (t = r.defaultEncoding), "function" != typeof n && (n = b), 
  r.ended ? y(this, n) : (o || g(this, r, e, n)) && (r.pendingcb++, i = v(this, r, o, e, t, n)), 
  i;
}, w.prototype.cork = function() {
  this._writableState.corked++;
}, w.prototype.uncork = function() {
  var e = this._writableState;
  e.corked && (e.corked--, e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || M(this, e));
}, w.prototype.setDefaultEncoding = function(e) {
  if ("string" == typeof e && (e = e.toLowerCase()), !([ "hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw" ].indexOf((e + "").toLowerCase()) > -1)) throw new TypeError("Unknown encoding: " + e);
  return this._writableState.defaultEncoding = e, this;
}, Object.defineProperty(w.prototype, "writableHighWaterMark", {
  enumerable: !1,
  get: function() {
    return this._writableState.highWaterMark;
  }
}), w.prototype._write = function(e, t, n) {
  n(new Error("_write() is not implemented"));
}, w.prototype._writev = null, w.prototype.end = function(e, t, n) {
  var r = this._writableState;
  "function" == typeof e ? (n = e, e = null, t = null) : "function" == typeof t && (n = t, 
  t = null), null != e && this.write(e, t), r.corked && (r.corked = 1, this.uncork()), 
  r.ending || r.finished || P(this, r, n);
}, Object.defineProperty(w.prototype, "destroyed", {
  get: function() {
    return void 0 !== this._writableState && this._writableState.destroyed;
  },
  set: function(e) {
    this._writableState && (this._writableState.destroyed = e);
  }
}), w.prototype.destroy = h.destroy, w.prototype._undestroy = h.undestroy, w.prototype._destroy = function(e, t) {
  this.end(), t(e);
};

}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("timers").setImmediate)

},{"./_stream_duplex":156,"./internal/streams/destroy":162,"./internal/streams/stream":163,"_process":146,"core-util-is":142,"inherits":150,"process-nextick-args":153,"safe-buffer":169,"timers":171,"util-deprecate":172}],161:[function(require,module,exports){
"use strict";

function t(t, n) {
  if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function");
}

var n = require("safe-buffer").Buffer, e = require("util");

function i(t, n, e) {
  t.copy(n, e);
}

module.exports = function() {
  function e() {
    t(this, e), this.head = null, this.tail = null, this.length = 0;
  }
  return e.prototype.push = function(t) {
    var n = {
      data: t,
      next: null
    };
    this.length > 0 ? this.tail.next = n : this.head = n, this.tail = n, ++this.length;
  }, e.prototype.unshift = function(t) {
    var n = {
      data: t,
      next: this.head
    };
    0 === this.length && (this.tail = n), this.head = n, ++this.length;
  }, e.prototype.shift = function() {
    if (0 !== this.length) {
      var t = this.head.data;
      return 1 === this.length ? this.head = this.tail = null : this.head = this.head.next, 
      --this.length, t;
    }
  }, e.prototype.clear = function() {
    this.head = this.tail = null, this.length = 0;
  }, e.prototype.join = function(t) {
    if (0 === this.length) return "";
    for (var n = this.head, e = "" + n.data; n = n.next; ) e += t + n.data;
    return e;
  }, e.prototype.concat = function(t) {
    if (0 === this.length) return n.alloc(0);
    if (1 === this.length) return this.head.data;
    for (var e = n.allocUnsafe(t >>> 0), h = this.head, a = 0; h; ) i(h.data, e, a), 
    a += h.data.length, h = h.next;
    return e;
  }, e;
}(), e && e.inspect && e.inspect.custom && (module.exports.prototype[e.inspect.custom] = function() {
  var t = e.inspect({
    length: this.length
  });
  return this.constructor.name + " " + t;
});

},{"safe-buffer":169,"util":140}],162:[function(require,module,exports){
"use strict";

var t = require("process-nextick-args");

function e(e, a) {
  var r = this, s = this._readableState && this._readableState.destroyed, d = this._writableState && this._writableState.destroyed;
  return s || d ? (a ? a(e) : !e || this._writableState && this._writableState.errorEmitted || t.nextTick(i, this, e), 
  this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), 
  this._destroy(e || null, function(e) {
    !a && e ? (t.nextTick(i, r, e), r._writableState && (r._writableState.errorEmitted = !0)) : a && a(e);
  }), this);
}

function a() {
  this._readableState && (this._readableState.destroyed = !1, this._readableState.reading = !1, 
  this._readableState.ended = !1, this._readableState.endEmitted = !1), this._writableState && (this._writableState.destroyed = !1, 
  this._writableState.ended = !1, this._writableState.ending = !1, this._writableState.finished = !1, 
  this._writableState.errorEmitted = !1);
}

function i(t, e) {
  t.emit("error", e);
}

module.exports = {
  destroy: e,
  undestroy: a
};

},{"process-nextick-args":153}],163:[function(require,module,exports){
module.exports = require("events").EventEmitter;

},{"events":143}],164:[function(require,module,exports){
"use strict";

var t = require("safe-buffer").Buffer, e = t.isEncoding || function(t) {
  switch ((t = "" + t) && t.toLowerCase()) {
   case "hex":
   case "utf8":
   case "utf-8":
   case "ascii":
   case "binary":
   case "base64":
   case "ucs2":
   case "ucs-2":
   case "utf16le":
   case "utf-16le":
   case "raw":
    return !0;

   default:
    return !1;
  }
};

function s(t) {
  if (!t) return "utf8";
  for (var e; ;) switch (t) {
   case "utf8":
   case "utf-8":
    return "utf8";

   case "ucs2":
   case "ucs-2":
   case "utf16le":
   case "utf-16le":
    return "utf16le";

   case "latin1":
   case "binary":
    return "latin1";

   case "base64":
   case "ascii":
   case "hex":
    return t;

   default:
    if (e) return;
    t = ("" + t).toLowerCase(), e = !0;
  }
}

function i(i) {
  var a = s(i);
  if ("string" != typeof a && (t.isEncoding === e || !e(i))) throw new Error("Unknown encoding: " + i);
  return a || i;
}

function a(e) {
  var s;
  switch (this.encoding = i(e), this.encoding) {
   case "utf16le":
    this.text = c, this.end = f, s = 4;
    break;

   case "utf8":
    this.fillLast = l, s = 4;
    break;

   case "base64":
    this.text = d, this.end = g, s = 3;
    break;

   default:
    return this.write = N, void (this.end = v);
  }
  this.lastNeed = 0, this.lastTotal = 0, this.lastChar = t.allocUnsafe(s);
}

function r(t) {
  return t <= 127 ? 0 : t >> 5 == 6 ? 2 : t >> 4 == 14 ? 3 : t >> 3 == 30 ? 4 : t >> 6 == 2 ? -1 : -2;
}

function n(t, e, s) {
  var i = e.length - 1;
  if (i < s) return 0;
  var a = r(e[i]);
  return a >= 0 ? (a > 0 && (t.lastNeed = a - 1), a) : --i < s || -2 === a ? 0 : (a = r(e[i])) >= 0 ? (a > 0 && (t.lastNeed = a - 2), 
  a) : --i < s || -2 === a ? 0 : (a = r(e[i])) >= 0 ? (a > 0 && (2 === a ? a = 0 : t.lastNeed = a - 3), 
  a) : 0;
}

function h(t, e, s) {
  if (128 != (192 & e[0])) return t.lastNeed = 0, "�";
  if (t.lastNeed > 1 && e.length > 1) {
    if (128 != (192 & e[1])) return t.lastNeed = 1, "�";
    if (t.lastNeed > 2 && e.length > 2 && 128 != (192 & e[2])) return t.lastNeed = 2, 
    "�";
  }
}

function l(t) {
  var e = this.lastTotal - this.lastNeed, s = h(this, t, e);
  return void 0 !== s ? s : this.lastNeed <= t.length ? (t.copy(this.lastChar, e, 0, this.lastNeed), 
  this.lastChar.toString(this.encoding, 0, this.lastTotal)) : (t.copy(this.lastChar, e, 0, t.length), 
  void (this.lastNeed -= t.length));
}

function u(t, e) {
  var s = n(this, t, e);
  if (!this.lastNeed) return t.toString("utf8", e);
  this.lastTotal = s;
  var i = t.length - (s - this.lastNeed);
  return t.copy(this.lastChar, 0, i), t.toString("utf8", e, i);
}

function o(t) {
  var e = t && t.length ? this.write(t) : "";
  return this.lastNeed ? e + "�" : e;
}

function c(t, e) {
  if ((t.length - e) % 2 == 0) {
    var s = t.toString("utf16le", e);
    if (s) {
      var i = s.charCodeAt(s.length - 1);
      if (i >= 55296 && i <= 56319) return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = t[t.length - 2], 
      this.lastChar[1] = t[t.length - 1], s.slice(0, -1);
    }
    return s;
  }
  return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = t[t.length - 1], 
  t.toString("utf16le", e, t.length - 1);
}

function f(t) {
  var e = t && t.length ? this.write(t) : "";
  if (this.lastNeed) {
    var s = this.lastTotal - this.lastNeed;
    return e + this.lastChar.toString("utf16le", 0, s);
  }
  return e;
}

function d(t, e) {
  var s = (t.length - e) % 3;
  return 0 === s ? t.toString("base64", e) : (this.lastNeed = 3 - s, this.lastTotal = 3, 
  1 === s ? this.lastChar[0] = t[t.length - 1] : (this.lastChar[0] = t[t.length - 2], 
  this.lastChar[1] = t[t.length - 1]), t.toString("base64", e, t.length - s));
}

function g(t) {
  var e = t && t.length ? this.write(t) : "";
  return this.lastNeed ? e + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : e;
}

function N(t) {
  return t.toString(this.encoding);
}

function v(t) {
  return t && t.length ? this.write(t) : "";
}

exports.StringDecoder = a, a.prototype.write = function(t) {
  if (0 === t.length) return "";
  var e, s;
  if (this.lastNeed) {
    if (void 0 === (e = this.fillLast(t))) return "";
    s = this.lastNeed, this.lastNeed = 0;
  } else s = 0;
  return s < t.length ? e ? e + this.text(t, s) : this.text(t, s) : e || "";
}, a.prototype.end = o, a.prototype.text = u, a.prototype.fillLast = function(t) {
  if (this.lastNeed <= t.length) return t.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), 
  this.lastChar.toString(this.encoding, 0, this.lastTotal);
  t.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, t.length), this.lastNeed -= t.length;
};

},{"safe-buffer":169}],165:[function(require,module,exports){
module.exports = require("./readable").PassThrough;

},{"./readable":166}],166:[function(require,module,exports){
exports = module.exports = require("./lib/_stream_readable.js"), exports.Stream = exports, 
exports.Readable = exports, exports.Writable = require("./lib/_stream_writable.js"), 
exports.Duplex = require("./lib/_stream_duplex.js"), exports.Transform = require("./lib/_stream_transform.js"), 
exports.PassThrough = require("./lib/_stream_passthrough.js");

},{"./lib/_stream_duplex.js":156,"./lib/_stream_passthrough.js":157,"./lib/_stream_readable.js":158,"./lib/_stream_transform.js":159,"./lib/_stream_writable.js":160}],167:[function(require,module,exports){
module.exports = require("./readable").Transform;

},{"./readable":166}],168:[function(require,module,exports){
module.exports = require("./lib/_stream_writable.js");

},{"./lib/_stream_writable.js":160}],169:[function(require,module,exports){
var r = require("buffer"), e = r.Buffer;

function n(r, e) {
  for (var n in r) e[n] = r[n];
}

function o(r, n, o) {
  return e(r, n, o);
}

e.from && e.alloc && e.allocUnsafe && e.allocUnsafeSlow ? module.exports = r : (n(r, exports), 
exports.Buffer = o), n(e, o), o.from = function(r, n, o) {
  if ("number" == typeof r) throw new TypeError("Argument must not be a number");
  return e(r, n, o);
}, o.alloc = function(r, n, o) {
  if ("number" != typeof r) throw new TypeError("Argument must be a number");
  var f = e(r);
  return void 0 !== n ? "string" == typeof o ? f.fill(n, o) : f.fill(n) : f.fill(0), 
  f;
}, o.allocUnsafe = function(r) {
  if ("number" != typeof r) throw new TypeError("Argument must be a number");
  return e(r);
}, o.allocUnsafeSlow = function(e) {
  if ("number" != typeof e) throw new TypeError("Argument must be a number");
  return r.SlowBuffer(e);
};

},{"buffer":144}],170:[function(require,module,exports){
module.exports = n;

var e = require("events").EventEmitter, r = require("inherits");

function n() {
  e.call(this);
}

r(n, e), n.Readable = require("readable-stream/readable.js"), n.Writable = require("readable-stream/writable.js"), 
n.Duplex = require("readable-stream/duplex.js"), n.Transform = require("readable-stream/transform.js"), 
n.PassThrough = require("readable-stream/passthrough.js"), n.Stream = n, n.prototype.pipe = function(r, n) {
  var o = this;
  function t(e) {
    r.writable && !1 === r.write(e) && o.pause && o.pause();
  }
  function s() {
    o.readable && o.resume && o.resume();
  }
  o.on("data", t), r.on("drain", s), r._isStdio || n && !1 === n.end || (o.on("end", a), 
  o.on("close", u));
  var i = !1;
  function a() {
    i || (i = !0, r.end());
  }
  function u() {
    i || (i = !0, "function" == typeof r.destroy && r.destroy());
  }
  function d(r) {
    if (l(), 0 === e.listenerCount(this, "error")) throw r;
  }
  function l() {
    o.removeListener("data", t), r.removeListener("drain", s), o.removeListener("end", a), 
    o.removeListener("close", u), o.removeListener("error", d), r.removeListener("error", d), 
    o.removeListener("end", l), o.removeListener("close", l), r.removeListener("close", l);
  }
  return o.on("error", d), r.on("error", d), o.on("end", l), o.on("close", l), r.on("close", l), 
  r.emit("pipe", o), r;
};

},{"events":143,"inherits":150,"readable-stream/duplex.js":155,"readable-stream/passthrough.js":165,"readable-stream/readable.js":166,"readable-stream/transform.js":167,"readable-stream/writable.js":168}],171:[function(require,module,exports){
(function (setImmediate,clearImmediate){
var e = require("process/browser.js").nextTick, t = Function.prototype.apply, o = Array.prototype.slice, i = {}, n = 0;

function r(e, t) {
  this._id = e, this._clearFn = t;
}

exports.setTimeout = function() {
  return new r(t.call(setTimeout, window, arguments), clearTimeout);
}, exports.setInterval = function() {
  return new r(t.call(setInterval, window, arguments), clearInterval);
}, exports.clearTimeout = exports.clearInterval = function(e) {
  e.close();
}, r.prototype.unref = r.prototype.ref = function() {}, r.prototype.close = function() {
  this._clearFn.call(window, this._id);
}, exports.enroll = function(e, t) {
  clearTimeout(e._idleTimeoutId), e._idleTimeout = t;
}, exports.unenroll = function(e) {
  clearTimeout(e._idleTimeoutId), e._idleTimeout = -1;
}, exports._unrefActive = exports.active = function(e) {
  clearTimeout(e._idleTimeoutId);
  var t = e._idleTimeout;
  t >= 0 && (e._idleTimeoutId = setTimeout(function() {
    e._onTimeout && e._onTimeout();
  }, t));
}, exports.setImmediate = "function" == typeof setImmediate ? setImmediate : function(t) {
  var r = n++, l = !(arguments.length < 2) && o.call(arguments, 1);
  return i[r] = !0, e(function() {
    i[r] && (l ? t.apply(null, l) : t.call(null), exports.clearImmediate(r));
  }), r;
}, exports.clearImmediate = "function" == typeof clearImmediate ? clearImmediate : function(e) {
  delete i[e];
};

}).call(this,require("timers").setImmediate,require("timers").clearImmediate)

},{"process/browser.js":154,"timers":171}],172:[function(require,module,exports){
(function (global){
function r(r, e) {
  if (t("noDeprecation")) return r;
  var o = !1;
  return function() {
    if (!o) {
      if (t("throwDeprecation")) throw new Error(e);
      t("traceDeprecation") ? console.trace(e) : console.warn(e), o = !0;
    }
    return r.apply(this, arguments);
  };
}

function t(r) {
  try {
    if (!global.localStorage) return !1;
  } catch (r) {
    return !1;
  }
  var t = global.localStorage[r];
  return null != t && "true" === String(t).toLowerCase();
}

module.exports = r;

}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

},{}],173:[function(require,module,exports){
module.exports = function(o) {
  return o && "object" == typeof o && "function" == typeof o.copy && "function" == typeof o.fill && "function" == typeof o.readUInt8;
};

},{}],174:[function(require,module,exports){
(function (process,global){
var e = /%[sdj%]/g;

exports.format = function(t) {
  if (!b(t)) {
    for (var r = [], o = 0; o < arguments.length; o++) r.push(n(arguments[o]));
    return r.join(" ");
  }
  o = 1;
  for (var i = arguments, s = i.length, u = String(t).replace(e, function(e) {
    if ("%%" === e) return "%";
    if (o >= s) return e;
    switch (e) {
     case "%s":
      return String(i[o++]);

     case "%d":
      return Number(i[o++]);

     case "%j":
      try {
        return JSON.stringify(i[o++]);
      } catch (e) {
        return "[Circular]";
      }

     default:
      return e;
    }
  }), c = i[o]; o < s; c = i[++o]) d(c) || !S(c) ? u += " " + c : u += " " + n(c);
  return u;
}, exports.deprecate = function(e, t) {
  if (v(global.process)) return function() {
    return exports.deprecate(e, t).apply(this, arguments);
  };
  if (!0 === process.noDeprecation) return e;
  var r = !1;
  return function() {
    if (!r) {
      if (process.throwDeprecation) throw new Error(t);
      process.traceDeprecation ? console.trace(t) : console.error(t), r = !0;
    }
    return e.apply(this, arguments);
  };
};

var t, r = {};

function n(e, t) {
  var r = {
    seen: [],
    stylize: i
  };
  return arguments.length >= 3 && (r.depth = arguments[2]), arguments.length >= 4 && (r.colors = arguments[3]), 
  y(t) ? r.showHidden = t : t && exports._extend(r, t), v(r.showHidden) && (r.showHidden = !1), 
  v(r.depth) && (r.depth = 2), v(r.colors) && (r.colors = !1), v(r.customInspect) && (r.customInspect = !0), 
  r.colors && (r.stylize = o), u(r, e, r.depth);
}

function o(e, t) {
  var r = n.styles[t];
  return r ? "[" + n.colors[r][0] + "m" + e + "[" + n.colors[r][1] + "m" : e;
}

function i(e, t) {
  return e;
}

function s(e) {
  var t = {};
  return e.forEach(function(e, r) {
    t[e] = !0;
  }), t;
}

function u(e, t, r) {
  if (e.customInspect && t && w(t.inspect) && t.inspect !== exports.inspect && (!t.constructor || t.constructor.prototype !== t)) {
    var n = t.inspect(r, e);
    return b(n) || (n = u(e, n, r)), n;
  }
  var o = c(e, t);
  if (o) return o;
  var i = Object.keys(t), y = s(i);
  if (e.showHidden && (i = Object.getOwnPropertyNames(t)), z(t) && (i.indexOf("message") >= 0 || i.indexOf("description") >= 0)) return p(t);
  if (0 === i.length) {
    if (w(t)) {
      var d = t.name ? ": " + t.name : "";
      return e.stylize("[Function" + d + "]", "special");
    }
    if (O(t)) return e.stylize(RegExp.prototype.toString.call(t), "regexp");
    if (j(t)) return e.stylize(Date.prototype.toString.call(t), "date");
    if (z(t)) return p(t);
  }
  var x, h = "", m = !1, v = [ "{", "}" ];
  (g(t) && (m = !0, v = [ "[", "]" ]), w(t)) && (h = " [Function" + (t.name ? ": " + t.name : "") + "]");
  return O(t) && (h = " " + RegExp.prototype.toString.call(t)), j(t) && (h = " " + Date.prototype.toUTCString.call(t)), 
  z(t) && (h = " " + p(t)), 0 !== i.length || m && 0 != t.length ? r < 0 ? O(t) ? e.stylize(RegExp.prototype.toString.call(t), "regexp") : e.stylize("[Object]", "special") : (e.seen.push(t), 
  x = m ? l(e, t, r, y, i) : i.map(function(n) {
    return a(e, t, r, y, n, m);
  }), e.seen.pop(), f(x, h, v)) : v[0] + h + v[1];
}

function c(e, t) {
  if (v(t)) return e.stylize("undefined", "undefined");
  if (b(t)) {
    var r = "'" + JSON.stringify(t).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
    return e.stylize(r, "string");
  }
  return h(t) ? e.stylize("" + t, "number") : y(t) ? e.stylize("" + t, "boolean") : d(t) ? e.stylize("null", "null") : void 0;
}

function p(e) {
  return "[" + Error.prototype.toString.call(e) + "]";
}

function l(e, t, r, n, o) {
  for (var i = [], s = 0, u = t.length; s < u; ++s) R(t, String(s)) ? i.push(a(e, t, r, n, String(s), !0)) : i.push("");
  return o.forEach(function(o) {
    o.match(/^\d+$/) || i.push(a(e, t, r, n, o, !0));
  }), i;
}

function a(e, t, r, n, o, i) {
  var s, c, p;
  if ((p = Object.getOwnPropertyDescriptor(t, o) || {
    value: t[o]
  }).get ? c = p.set ? e.stylize("[Getter/Setter]", "special") : e.stylize("[Getter]", "special") : p.set && (c = e.stylize("[Setter]", "special")), 
  R(n, o) || (s = "[" + o + "]"), c || (e.seen.indexOf(p.value) < 0 ? (c = d(r) ? u(e, p.value, null) : u(e, p.value, r - 1)).indexOf("\n") > -1 && (c = i ? c.split("\n").map(function(e) {
    return "  " + e;
  }).join("\n").substr(2) : "\n" + c.split("\n").map(function(e) {
    return "   " + e;
  }).join("\n")) : c = e.stylize("[Circular]", "special")), v(s)) {
    if (i && o.match(/^\d+$/)) return c;
    (s = JSON.stringify("" + o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (s = s.substr(1, s.length - 2), 
    s = e.stylize(s, "name")) : (s = s.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), 
    s = e.stylize(s, "string"));
  }
  return s + ": " + c;
}

function f(e, t, r) {
  return e.reduce(function(e, t) {
    return 0, t.indexOf("\n") >= 0 && 0, e + t.replace(/\u001b\[\d\d?m/g, "").length + 1;
  }, 0) > 60 ? r[0] + ("" === t ? "" : t + "\n ") + " " + e.join(",\n  ") + " " + r[1] : r[0] + t + " " + e.join(", ") + " " + r[1];
}

function g(e) {
  return Array.isArray(e);
}

function y(e) {
  return "boolean" == typeof e;
}

function d(e) {
  return null === e;
}

function x(e) {
  return null == e;
}

function h(e) {
  return "number" == typeof e;
}

function b(e) {
  return "string" == typeof e;
}

function m(e) {
  return "symbol" == typeof e;
}

function v(e) {
  return void 0 === e;
}

function O(e) {
  return S(e) && "[object RegExp]" === D(e);
}

function S(e) {
  return "object" == typeof e && null !== e;
}

function j(e) {
  return S(e) && "[object Date]" === D(e);
}

function z(e) {
  return S(e) && ("[object Error]" === D(e) || e instanceof Error);
}

function w(e) {
  return "function" == typeof e;
}

function E(e) {
  return null === e || "boolean" == typeof e || "number" == typeof e || "string" == typeof e || "symbol" == typeof e || void 0 === e;
}

function D(e) {
  return Object.prototype.toString.call(e);
}

function N(e) {
  return e < 10 ? "0" + e.toString(10) : e.toString(10);
}

exports.debuglog = function(e) {
  if (v(t) && (t = process.env.NODE_DEBUG || ""), e = e.toUpperCase(), !r[e]) if (new RegExp("\\b" + e + "\\b", "i").test(t)) {
    var n = process.pid;
    r[e] = function() {
      var t = exports.format.apply(exports, arguments);
      console.error("%s %d: %s", e, n, t);
    };
  } else r[e] = function() {};
  return r[e];
}, exports.inspect = n, n.colors = {
  bold: [ 1, 22 ],
  italic: [ 3, 23 ],
  underline: [ 4, 24 ],
  inverse: [ 7, 27 ],
  white: [ 37, 39 ],
  grey: [ 90, 39 ],
  black: [ 30, 39 ],
  blue: [ 34, 39 ],
  cyan: [ 36, 39 ],
  green: [ 32, 39 ],
  magenta: [ 35, 39 ],
  red: [ 31, 39 ],
  yellow: [ 33, 39 ]
}, n.styles = {
  special: "cyan",
  number: "yellow",
  boolean: "yellow",
  undefined: "grey",
  null: "bold",
  string: "green",
  date: "magenta",
  regexp: "red"
}, exports.isArray = g, exports.isBoolean = y, exports.isNull = d, exports.isNullOrUndefined = x, 
exports.isNumber = h, exports.isString = b, exports.isSymbol = m, exports.isUndefined = v, 
exports.isRegExp = O, exports.isObject = S, exports.isDate = j, exports.isError = z, 
exports.isFunction = w, exports.isPrimitive = E, exports.isBuffer = require("./support/isBuffer");

var A = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ];

function J() {
  var e = new Date(), t = [ N(e.getHours()), N(e.getMinutes()), N(e.getSeconds()) ].join(":");
  return [ e.getDate(), A[e.getMonth()], t ].join(" ");
}

function R(e, t) {
  return Object.prototype.hasOwnProperty.call(e, t);
}

exports.log = function() {
  console.log("%s - %s", J(), exports.format.apply(exports, arguments));
}, exports.inherits = require("inherits"), exports._extend = function(e, t) {
  if (!t || !S(t)) return e;
  for (var r = Object.keys(t), n = r.length; n--; ) e[r[n]] = t[r[n]];
  return e;
};

}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

},{"./support/isBuffer":173,"_process":146,"inherits":150}],175:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var t, o = require("../lib/color"), i = require("./lib/libjava");

!function(e) {
  e.monitor = function() {
    send(o.colors.yellowBright("Warning!") + " This module is still broken. A pull request fixing it would be awesome!");
    var e;
    return i.wrapJavaPerform(function() {
      var r = Java.use("android.content.ClipboardManager"), t = i.getApplicationContext(), a = t.getApplicationContext().getSystemService("clipboard"), n = Java.cast(a, r);
      setInterval(function() {
        var r = n.getPrimaryClip();
        if (!(null == r || r.getItemCount() <= 0)) {
          var i = r.getItemAt(0).coerceToText(t).toString();
          e !== i && (e = i, send(o.colors.blackBright("[pasteboard-monitor]") + " Data: " + o.colors.greenBright(e.toString())));
        }
      }, 5e3);
    });
  };
}(t = exports.clipboard || (exports.clipboard = {}));

},{"../lib/color":204,"./lib/libjava":181,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],176:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/get-iterator")), a = e(require("@babel/runtime-corejs2/core-js/array/is-array")), i = e(require("@babel/runtime-corejs2/core-js/object/define-property")), t = function(e) {
  if (e && e.__esModule) return e;
  var r = {};
  if (null != e) for (var a in e) Object.hasOwnProperty.call(e, a) && (r[a] = e[a]);
  return r.default = e, r;
};

(0, i.default)(exports, "__esModule", {
  value: !0
});

var n, u = t(require("fs")), o = require("../lib/helpers"), l = require("./lib/libjava");

!function(e) {
  e.exists = function(e) {
    return l.wrapJavaPerform(function() {
      return Java.use("java.io.File").$new(e).exists();
    });
  }, e.readable = function(e) {
    return l.wrapJavaPerform(function() {
      return Java.use("java.io.File").$new(e).canRead();
    });
  }, e.writable = function(e) {
    return l.wrapJavaPerform(function() {
      return Java.use("java.io.File").$new(e).canWrite();
    });
  }, e.pathIsFile = function(e) {
    return l.wrapJavaPerform(function() {
      return Java.use("java.io.File").$new(e).isFile();
    });
  }, e.pwd = function() {
    return l.wrapJavaPerform(function() {
      return l.getApplicationContext().getFilesDir().getAbsolutePath().toString();
    });
  }, e.readFile = function(e) {
    return u.readFileSync(e);
  }, e.writeFile = function(e, r) {
    var a = u.createWriteStream(e);
    a.on("error", function(e) {
      throw e;
    }), a.write(o.hexStringToBytes(r)), a.end();
  }, e.deleteFile = function(e) {
    return l.wrapJavaPerform(function() {
      return Java.use("java.io.File").$new(e).delete();
    });
  }, e.ls = function(e) {
    return l.wrapJavaPerform(function() {
      var i = Java.use("java.io.File").$new(e), t = {
        files: {},
        path: e,
        readable: i.canRead(),
        writable: i.canWrite()
      };
      if (!t.readable) return t;
      var n = i.listFiles(), u = (0, a.default)(n), o = 0;
      for (n = u ? n : (0, r.default)(n); ;) {
        var l;
        if (u) {
          if (o >= n.length) break;
          l = n[o++];
        } else {
          if ((o = n.next()).done) break;
          l = o.value;
        }
        var s = l;
        t.files[s.getName()] = {
          attributes: {
            isDirectory: s.isDirectory(),
            isFile: s.isFile(),
            isHidden: s.isHidden(),
            lastModified: s.lastModified(),
            size: s.length()
          },
          fileName: s.getName(),
          readable: s.canRead(),
          writable: s.canWrite()
        };
      }
      return t;
    });
  };
}(n = exports.androidfilesystem || (exports.androidfilesystem = {}));

},{"../lib/helpers":206,"./lib/libjava":181,"@babel/runtime-corejs2/core-js/array/is-array":2,"@babel/runtime-corejs2/core-js/get-iterator":3,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16,"fs":145}],177:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var o, n = require("../lib/color"), t = require("./lib/libjava");

!function(e) {
  e.printInstances = function(e) {
    return t.wrapJavaPerform(function() {
      Java.choose(e, {
        onComplete: function() {
          n.colors.log("\nClass instance enumeration complete for " + n.colors.green(e));
        },
        onMatch: function(r) {
          n.colors.log(n.colors.greenBright(e) + ": " + r.toString());
        }
      });
    });
  };
}(o = exports.heap || (exports.heap = {}));

},{"../lib/color":204,"./lib/libjava":181,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],178:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/get-iterator")), a = e(require("@babel/runtime-corejs2/core-js/array/is-array")), t = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
});

var n, o = require("../lib/color"), i = require("../lib/jobs"), s = require("./lib/libjava");

!function(e) {
  var t = function(e) {
    var r = e.lastIndexOf(".");
    return [ e.substring(0, r), e.substring(r + 1) ];
  };
  e.getClasses = function() {
    return s.wrapJavaPerform(function() {
      return Java.enumerateLoadedClassesSync();
    });
  }, e.getClassMethods = function(e) {
    return s.wrapJavaPerform(function() {
      return Java.use(e).class.getDeclaredMethods().map(function(e) {
        return e.toGenericString();
      });
    });
  }, e.watchClass = function(e) {
    return s.wrapJavaPerform(function() {
      var r = Java.use(e), a = r.class.getDeclaredMethods().map(function(r) {
        for (var a = r.toGenericString(); a.includes("<"); ) a = a.replace(/<.*?>/g, "");
        return -1 !== a.indexOf(" throws ") && (a = a.substring(0, a.indexOf(" throws "))), 
        (a = (a = a.slice(a.lastIndexOf(" "))).replace(" " + e + ".", "")).split("(")[0];
      }).filter(function(e, r, a) {
        return a.indexOf(e) === r;
      }), t = {
        identifier: i.jobs.identifier(),
        implementations: [],
        type: "watch-class for: " + e
      };
      a.forEach(function(a) {
        r[a].overloads.forEach(function(r) {
          var n = r.argumentTypes.map(function(e) {
            return e.className;
          });
          send("Hooking " + o.colors.green(e) + "." + o.colors.greenBright(a) + "(" + o.colors.red(n.join(", ")) + ")"), 
          r.implementation = function() {
            return send(o.colors.blackBright("[" + t.identifier + "] ") + "Called " + o.colors.green(e) + "." + o.colors.greenBright(r.methodName) + "(" + o.colors.red(n.join(", ")) + ")"), 
            r.apply(this, arguments);
          }, t.implementations.push(r);
        });
      }), i.jobs.add(t);
    });
  }, e.watchMethod = function(e, n, c, u) {
    var l = t(e), d = l[0], v = l[1];
    return send("Attempting to watch class " + o.colors.green(d) + " and method " + o.colors.green(v) + "."), 
    s.wrapJavaPerform(function() {
      var t = Java.use("java.lang.Throwable"), s = Java.use(d);
      if (void 0 !== s[v]) {
        var l = {
          identifier: i.jobs.identifier(),
          implementations: [],
          type: "watch-method for: " + e
        };
        s[v].overloads.forEach(function(e) {
          var i = e.argumentTypes.map(function(e) {
            return e.className;
          });
          send("Hooking " + o.colors.green(d) + "." + o.colors.greenBright(v) + "(" + o.colors.red(i.join(", ")) + ")"), 
          e.implementation = function() {
            if (send(o.colors.blackBright("[" + l.identifier + "] ") + "Called " + o.colors.green(d) + "." + o.colors.greenBright(e.methodName) + "(" + o.colors.red(i.join(", ")) + ")"), 
            c && send(o.colors.blackBright("[" + l.identifier + "] ") + "Backtrace:\n\t" + t.$new().getStackTrace().map(function(e) {
              return e.toString() + "\n\t";
            }).join("")), n && i.length > 0) {
              var s = [], v = arguments, f = (0, a.default)(v), g = 0;
              for (v = f ? v : (0, r.default)(v); ;) {
                var p;
                if (f) {
                  if (g >= v.length) break;
                  p = v[g++];
                } else {
                  if ((g = v.next()).done) break;
                  p = g.value;
                }
                var m = p;
                s.push((m || "(none)").toString());
              }
              send(o.colors.blackBright("[" + l.identifier + "] ") + "Arguments " + o.colors.green(d) + "." + o.colors.greenBright(e.methodName) + "(" + o.colors.red(s.join(", ")) + ")");
            }
            var h = e.apply(this, arguments);
            if (u) {
              var y = (h || "(none)").toString();
              send(o.colors.blackBright("[" + l.identifier + "] ") + "Return Value: " + o.colors.red(y));
            }
            return h;
          }, l.implementations.push(e);
        }), i.jobs.add(l);
      } else send(o.colors.red("Error:") + " Unable to find method " + o.colors.redBright(v) + " in class " + o.colors.green(d));
    });
  }, e.getCurrentActivity = function() {
    return s.wrapJavaPerform(function() {
      var e, t = Java.use("android.app.ActivityThread"), n = Java.use("android.app.Activity"), o = Java.use("android.app.ActivityThread$ActivityClientRecord"), i = t.currentActivityThread().mActivities.value.values().toArray(), c = (0, 
      a.default)(i), u = 0;
      for (i = c ? i : (0, r.default)(i); ;) {
        var l;
        if (c) {
          if (u >= i.length) break;
          l = i[u++];
        } else {
          if ((u = i.next()).done) break;
          l = u.value;
        }
        var d = l, v = Java.cast(d, o);
        if (!v.paused.value) {
          e = Java.cast(Java.cast(v, o).activity.value, n);
          break;
        }
      }
      if (e) {
        var f = e.getFragmentManager().findFragmentById(s.R("content_frame", "id"));
        return {
          activity: e.$className,
          fragment: f.$className
        };
      }
      return {
        activity: null,
        fragment: null
      };
    });
  }, e.getActivities = function() {
    return s.wrapJavaPerform(function() {
      var e = Java.use("android.content.pm.PackageManager").GET_ACTIVITIES.value, r = s.getApplicationContext();
      return Array.prototype.concat(r.getPackageManager().getPackageInfo(r.getPackageName(), e).activities.value.map(function(e) {
        return e.name.value;
      }));
    });
  }, e.getServices = function() {
    return s.wrapJavaPerform(function() {
      var e = Java.use("android.app.ActivityThread"), r = Java.use("android.util.ArrayMap"), a = Java.use("android.content.pm.PackageManager").GET_SERVICES.value, t = e.currentApplication(), n = t.getApplicationContext(), o = [];
      return t.mLoadedApk.value.mServices.value.values().toArray().map(function(e) {
        Java.cast(e, r).keySet().toArray().map(function(e) {
          o.push(e.$className);
        });
      }), o = o.concat(n.getPackageManager().getPackageInfo(n.getPackageName(), a).services.value.map(function(e) {
        return e.name.value;
      }));
    });
  }, e.getBroadcastReceivers = function() {
    return s.wrapJavaPerform(function() {
      var e = Java.use("android.app.ActivityThread"), r = Java.use("android.util.ArrayMap"), a = Java.use("android.content.pm.PackageManager").GET_RECEIVERS.value, t = e.currentApplication(), n = t.getApplicationContext(), o = [];
      return t.mLoadedApk.value.mReceivers.value.values().toArray().map(function(e) {
        Java.cast(e, r).keySet().toArray().map(function(e) {
          o.push(e.$className);
        });
      }), o = o.concat(n.getPackageManager().getPackageInfo(n.getPackageName(), a).receivers.value.map(function(e) {
        return e.name.value;
      }));
    });
  }, e.setReturnValue = function(e, r) {
    var a = t(e), n = a[0], c = a[1];
    return send("Attempting to modify return value for class " + o.colors.green(n) + " and method " + o.colors.green(c) + "."), 
    s.wrapJavaPerform(function() {
      var a = {
        identifier: i.jobs.identifier(),
        implementations: [],
        type: "set-return for: " + e
      }, t = Java.use(n)[c], s = t.argumentTypes.map(function(e) {
        return e.className;
      });
      send("Hooking " + o.colors.green(n) + "." + o.colors.greenBright(c) + "(" + o.colors.red(s.join(", ")) + ")"), 
      t.implementation = function() {
        var e = t.apply(this, arguments);
        return e !== r && (send(o.colors.blackBright("[" + a.identifier + "] ") + "Return value was not " + o.colors.red(r.toString()) + ", setting to " + o.colors.green(r.toString()) + "."), 
        e = r), e;
      }, a.implementations.push(t), i.jobs.add(a);
    });
  };
}(n = exports.hooking || (exports.hooking = {}));

},{"../lib/color":204,"../lib/jobs":207,"./lib/libjava":181,"@babel/runtime-corejs2/core-js/array/is-array":2,"@babel/runtime-corejs2/core-js/get-iterator":3,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],179:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), t = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
});

var r, a = require("../lib/color"), s = require("./lib/libjava");

!function(e) {
  e.startActivity = function(e) {
    return s.wrapJavaPerform(function() {
      var t = s.getApplicationContext(), r = Java.use("android.content.Intent"), n = Java.use(e).class;
      send("Starting activity " + a.colors.green(e) + "...");
      var i = r.$new(t, n);
      i.setFlags(268435456), t.startActivity(i), send(a.colors.blackBright("Activity successfully asked to start."));
    });
  }, e.startService = function(e) {
    return s.wrapJavaPerform(function() {
      var t = s.getApplicationContext(), r = Java.use("android.content.Intent"), n = Java.use(e).class;
      send("Starting service " + a.colors.green(e) + "...");
      var i = r.$new(t, n);
      i.setFlags(268435456), t.startService(i), send(a.colors.blackBright("Service successfully asked to start."));
    });
  };
}(r = exports.intent || (exports.intent = {}));

},{"../lib/color":204,"./lib/libjava":181,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],180:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var t, a = require("../lib/color"), n = require("./lib/libjava");

!function(e) {
  e.list = function() {
    return n.wrapJavaPerform(function() {
      var e = [], r = Java.use("java.security.KeyStore").getInstance("AndroidKeyStore");
      r.load(null, null);
      for (var t = r.aliases(); t.hasMoreElements(); ) {
        var a = t.nextElement();
        e.push({
          alias: a.toString(),
          is_certificate: r.isCertificateEntry(a),
          is_key: r.isKeyEntry(a)
        });
      }
      return e;
    });
  }, e.clear = function() {
    return n.wrapJavaPerform(function() {
      var e = Java.use("java.security.KeyStore").getInstance("AndroidKeyStore");
      e.load(null, null);
      for (var r = e.aliases(); r.hasMoreElements(); ) e.deleteEntry(r.nextElement());
      send(a.colors.blackBright("Keystore entries cleared"));
    });
  };
}(t = exports.keystore || (exports.keystore = {}));

},{"../lib/color":204,"./lib/libjava":181,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],181:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/promise")), t = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
}), exports.wrapJavaPerform = function(e) {
  return new r.default(function(r, t) {
    Java.perform(function() {
      try {
        r(e());
      } catch (e) {
        t(e);
      }
    });
  });
}, exports.getApplicationContext = function() {
  return Java.use("android.app.ActivityThread").currentApplication().getApplicationContext();
}, exports.R = function(e, r) {
  var t = exports.getApplicationContext();
  return t.getResources().getIdentifier(e, r, t.getPackageName());
};

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/core-js/promise":10,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],182:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var n, t = require("../lib/color"), i = require("../lib/helpers"), a = require("../lib/jobs"), o = require("./lib/libjava");

!function(e) {
  var r = !1;
  e.disable = function(e) {
    e && (send(t.colors.yellow("Quiet mode enabled. Not reporting invocations.")), r = !0);
    var n, s = {
      identifier: a.jobs.identifier(),
      implementations: [],
      type: "android-sslpinning-disable"
    };
    s.implementations.push((n = s.identifier, o.wrapJavaPerform(function() {
      var e = Java.use("javax.net.ssl.X509TrustManager"), a = Java.use("javax.net.ssl.SSLContext"), o = [ Java.registerClass({
        implements: [ e ],
        methods: {
          checkClientTrusted: function(e, r) {},
          checkServerTrusted: function(e, r) {},
          getAcceptedIssuers: function() {
            return [];
          }
        },
        name: "com.sensepost.test.TrustManager"
      }).$new() ];
      send(t.colors.blackBright("Custom TrustManager ready, overriding SSLContext.init()"));
      var s = a.init.overload("[Ljavax.net.ssl.KeyManager;", "[Ljavax.net.ssl.TrustManager;", "java.security.SecureRandom");
      return s.implementation = function(e, a, c) {
        i.qsend(r, t.colors.blackBright("[" + n + "] ") + "Called " + t.colors.green("SSLContext.init()") + ", overriding TrustManager with empty one."), 
        s.call(this, e, o, c);
      }, s;
    }))), s.implementations.push(function(e) {
      return o.wrapJavaPerform(function() {
        try {
          var n = Java.use("okhttp3.CertificatePinner");
          send(t.colors.blackBright("Found okhttp3.CertificatePinner, overriding CertificatePinner.check()"));
          var a = n.check.overload("java.lang.String", "java.util.List");
          return a.implementation = function() {
            i.qsend(r, t.colors.blackBright("[" + e + "] ") + "Called " + t.colors.green("OkHTTP 3.x CertificatePinner.check()") + ", not throwing an exception.");
          }, a;
        } catch (e) {
          if (0 === e.message.indexOf("ClassNotFoundException")) throw new Error(e);
        }
      });
    }(s.identifier)), s.implementations.push(function(e) {
      return o.wrapJavaPerform(function() {
        try {
          var n = Java.use("appcelerator.https.PinningTrustManager");
          send(t.colors.blackBright("Found appcelerator.https.PinningTrustManager, overriding PinningTrustManager.checkServerTrusted()"));
          var a = n.checkServerTrusted;
          return a.implementation = function() {
            i.qsend(r, t.colors.blackBright("[" + e + "] ") + "Called " + t.colors.green("PinningTrustManager.checkServerTrusted()") + ", not throwing an exception.");
          }, a;
        } catch (e) {
          if (0 === e.message.indexOf("ClassNotFoundException")) throw new Error(e);
        }
      });
    }(s.identifier)), s.implementations.push(function(e) {
      return o.wrapJavaPerform(function() {
        try {
          var n = Java.use("com.android.org.conscrypt.TrustManagerImpl");
          send(t.colors.blackBright("Found com.android.org.conscrypt.TrustManagerImpl, overriding TrustManagerImpl.verifyChain()"));
          var a = n.verifyChain;
          return a.implementation = function(n, a, o, s, c, u) {
            return i.qsend(r, t.colors.blackBright("[" + e + "] ") + "Called (Android 7+) " + t.colors.green("TrustManagerImpl.verifyChain()") + ", not throwing an exception."), 
            n;
          }, a;
        } catch (e) {
          if (0 === e.message.indexOf("ClassNotFoundException")) throw new Error(e);
        }
      });
    }(s.identifier)), s.implementations.push(function(e) {
      return o.wrapJavaPerform(function() {
        try {
          var n = Java.use("java.util.ArrayList"), a = Java.use("com.android.org.conscrypt.TrustManagerImpl");
          send(t.colors.blackBright("Found com.android.org.conscrypt.TrustManagerImpl, overriding TrustManagerImpl.checkTrustedRecursive()"));
          var o = a.checkTrustedRecursive;
          return o.implementation = function(a, o, s, c, u, l) {
            return i.qsend(r, t.colors.blackBright("[" + e + "] ") + "Called (Android 7+) " + t.colors.green("TrustManagerImpl.checkTrustedRecursive()") + ", not throwing an exception."), 
            n.$new();
          }, o;
        } catch (e) {
          if (0 === e.message.indexOf("ClassNotFoundException")) throw new Error(e);
        }
      });
    }(s.identifier)), a.jobs.add(s);
  };
}(n = exports.sslpinning || (exports.sslpinning = {}));

},{"../lib/color":204,"../lib/helpers":206,"../lib/jobs":207,"./lib/libjava":181,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],183:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), i = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, i.default)(exports, "__esModule", {
  value: !0
});

var t, n = require("../lib/color"), s = require("../lib/jobs"), r = require("./lib/libjava");

!function(e) {
  var i = [ "/data/local/bin/su", "/data/local/su", "/data/local/xbin/su", "/dev/com.koushikdutta.superuser.daemon/", "/sbin/su", "/system/app/Superuser.apk", "/system/bin/failsafe/su", "/system/bin/su", "/system/etc/init.d/99SuperSUDaemon", "/system/sd/xbin/su", "/system/xbin/busybox", "/system/xbin/daemonsu", "/system/xbin/su" ], t = function(e, i) {
    return r.wrapJavaPerform(function() {
      var t = Java.use("java.lang.String").contains;
      return t.implementation = function(t) {
        return "test-keys" !== t ? this.apply(this, arguments) : e ? (send(n.colors.blackBright("[" + i + "] ") + 'Marking "test-keys" check as ' + n.colors.green("successful") + "."), 
        !0) : (send(n.colors.blackBright("[" + i + "] ") + 'Marking "test-keys" check as ' + n.colors.green("failed") + "."), 
        !1);
      }, t;
    });
  }, a = function(e, i) {
    return r.wrapJavaPerform(function() {
      var t = Java.use("java.lang.Runtime"), s = Java.use("java.io.IOException"), r = t.exec.overload("java.lang.String");
      return r.implementation = function(t) {
        if (t.endsWith("su")) {
          if (e) return send(n.colors.blackBright("[" + i + "] ") + "Check for 'su' using command exec detected, allowing."), 
          this.apply(this, arguments);
          throw send(n.colors.blackBright("[" + i + "] ") + "Check for 'su' using command exec detected, throwing IOException."), 
          s.$new("objection anti-root");
        }
        return this.apply(this, arguments);
      }, r;
    });
  }, o = function(e, t) {
    return r.wrapJavaPerform(function() {
      var s = Java.use("java.io.File").exists;
      return s.implementation = function(s) {
        var r = this.getAbsolutePath();
        return i.indexOf(r) >= 0 ? e ? (send(n.colors.blackBright("[" + t + "] ") + "File existence check for " + r + " detected, marking as " + n.colors.green("true") + "."), 
        !0) : (send(n.colors.blackBright("[" + t + "] ") + "File existence check for " + r + " detected, marking as " + n.colors.green("false") + "."), 
        !1) : this.apply(this, arguments);
      }, s;
    });
  };
  e.disable = function() {
    var e = {
      identifier: s.jobs.identifier(),
      implementations: [],
      type: "root-detection-disable"
    };
    e.implementations.push(t(!1, e.identifier)), e.implementations.push(a(!1, e.identifier)), 
    e.implementations.push(o(!1, e.identifier)), s.jobs.add(e);
  }, e.enable = function() {
    var e = {
      identifier: s.jobs.identifier(),
      implementations: [],
      type: "root-detection-enable"
    };
    e.implementations.push(t(!0, e.identifier)), e.implementations.push(a(!0, e.identifier)), 
    e.implementations.push(o(!0, e.identifier)), s.jobs.add(e);
  };
}(t = exports.root || (exports.root = {}));

},{"../lib/color":204,"../lib/jobs":207,"./lib/libjava":181,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],184:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var a, n = require("./lib/libjava");

!function(e) {
  e.execute = function(e) {
    return n.wrapJavaPerform(function() {
      for (var r, a = Java.use("java.lang.Runtime"), n = Java.use("java.io.InputStreamReader"), t = Java.use("java.io.BufferedReader"), u = Java.use("java.lang.StringBuilder"), i = a.getRuntime().exec(e), o = n.$new(i.getErrorStream()), l = t.$new(o), d = u.$new(); null != (r = l.readLine()); ) d.append(r + "\n");
      var s = n.$new(i.getInputStream());
      l = t.$new(s);
      var v = u.$new();
      for (r = ""; null != (r = l.readLine()); ) v.append(r + "\n");
      return {
        command: e,
        stdErr: d.toString(),
        stdOut: v.toString()
      };
    });
  };
}(a = exports.androidshell || (exports.androidshell = {}));

},{"./lib/libjava":181,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],185:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), a = e(require("@babel/runtime-corejs2/core-js/get-iterator")), r = e(require("@babel/runtime-corejs2/core-js/array/is-array")), t = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
});

var i, u = require("../lib/color"), v = require("./lib/libjava");

!function(e) {
  e.screenshot = function() {
    return v.wrapJavaPerform(function() {
      var e, t, i = Java.use("android.app.ActivityThread"), u = Java.use("android.app.Activity"), v = Java.use("android.app.ActivityThread$ActivityClientRecord"), s = Java.use("android.graphics.Bitmap"), n = Java.use("java.io.ByteArrayOutputStream"), o = Java.use("android.graphics.Bitmap$CompressFormat"), c = i.currentActivityThread().mActivities.value.values().toArray(), d = c, l = (0, 
      r.default)(d), p = 0;
      for (d = l ? d : (0, a.default)(d); ;) {
        var f;
        if (l) {
          if (p >= d.length) break;
          f = d[p++];
        } else {
          if ((p = d.next()).done) break;
          f = p.value;
        }
        var b = f, y = Java.cast(c[b], v);
        if (!y.paused.value) {
          t = Java.cast(Java.cast(y, v).activity.value, u);
          break;
        }
      }
      if (t) {
        var g = t.getWindow().getDecorView().getRootView();
        g.setDrawingCacheEnabled(!0);
        var J = s.createBitmap(g.getDrawingCache());
        g.setDrawingCacheEnabled(!1);
        var h = n.$new();
        J.compress(o.PNG.value, 100, h), e = h.buf.value;
      }
      return e;
    });
  }, e.setFlagSecure = function(e) {
    return v.wrapJavaPerform(function() {
      var t, i = Java.use("android.app.ActivityThread"), v = Java.use("android.app.Activity"), s = Java.use("android.app.ActivityThread$ActivityClientRecord"), n = i.currentActivityThread().mActivities.value.values().toArray(), o = (0, 
      r.default)(n), c = 0;
      for (n = o ? n : (0, a.default)(n); ;) {
        var d;
        if (o) {
          if (c >= n.length) break;
          d = n[c++];
        } else {
          if ((c = n.next()).done) break;
          d = c.value;
        }
        var l = d, p = Java.cast(l, s);
        if (!p.paused.value) {
          t = Java.cast(Java.cast(p, s).activity.value, v);
          break;
        }
      }
      t && (t.getWindow(), Java.scheduleOnMainThread(function() {
        t.getWindow().setFlags(e ? 8192 : 0, 8192), send("FLAG_SECURE set to " + u.colors.green(e.toString()));
      }));
    });
  };
}(i = exports.userinterface || (exports.userinterface = {}));

},{"../lib/color":204,"./lib/libjava":181,"@babel/runtime-corejs2/core-js/array/is-array":2,"@babel/runtime-corejs2/core-js/get-iterator":3,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],186:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var t, i = require("../android/lib/libjava"), a = require("../ios/lib/constants"), n = require("../ios/lib/helpers"), o = require("../lib/constants");

!function(e) {
  var r = function(e) {
    var r = n.getNSFileManager().URLsForDirectory_inDomains_(e, a.NSUserDomainMask).lastObject();
    return r ? r.path().toString() : "";
  };
  e.runtime = function() {
    return ObjC.available ? o.DeviceType.IOS : Java.available ? o.DeviceType.ANDROID : o.DeviceType.UNKNOWN;
  }, e.frida = function() {
    return {
      arch: Process.arch,
      debugger: Process.isDebuggerAttached(),
      filename: Script.fileName,
      heap: Frida.heapSize,
      platform: Process.platform,
      runtime: Script.runtime,
      version: Frida.version
    };
  }, e.iosPackage = function() {
    var e = ObjC.classes.UIDevice;
    return {
      applicationName: n.getNSMainBundle().objectForInfoDictionaryKey_("CFBundleIdentifier").toString(),
      deviceName: e.currentDevice().name().toString(),
      identifierForVendor: e.currentDevice().identifierForVendor().toString(),
      model: e.currentDevice().model().toString(),
      systemName: e.currentDevice().systemName().toString(),
      systemVersion: e.currentDevice().systemVersion().toString()
    };
  }, e.iosPaths = function() {
    return {
      BundlePath: n.getNSMainBundle().bundlePath().toString(),
      CachesDirectory: r(a.NSSearchPaths.NSCachesDirectory),
      DocumentDirectory: r(a.NSSearchPaths.NSDocumentDirectory),
      LibraryDirectory: r(a.NSSearchPaths.NSLibraryDirectory)
    };
  }, e.androidPackage = function() {
    return i.wrapJavaPerform(function() {
      var e = Java.use("android.os.Build");
      return {
        application_name: i.getApplicationContext().getPackageName(),
        board: e.BOARD.value.toString(),
        brand: e.BRAND.value.toString(),
        device: e.DEVICE.value.toString(),
        host: e.HOST.value.toString(),
        id: e.ID.value.toString(),
        model: e.MODEL.value.toString(),
        product: e.PRODUCT.value.toString(),
        user: e.USER.value.toString(),
        version: Java.androidVersion
      };
    });
  }, e.androidPaths = function() {
    return i.wrapJavaPerform(function() {
      var e = i.getApplicationContext();
      return {
        cacheDirectory: e.getCacheDir().getAbsolutePath().toString(),
        codeCacheDirectory: "getCodeCacheDir" in e ? e.getCodeCacheDir().getAbsolutePath().toString() : "n/a",
        externalCacheDirectory: e.getExternalCacheDir().getAbsolutePath().toString(),
        filesDirectory: e.getFilesDir().getAbsolutePath().toString(),
        obbDir: e.getObbDir().getAbsolutePath().toString(),
        packageCodePath: e.getPackageCodePath().toString()
      };
    });
  };
}(t = exports.environment || (exports.environment = {}));

},{"../android/lib/libjava":181,"../ios/lib/constants":196,"../ios/lib/helpers":197,"../lib/constants":205,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],187:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var t, n = require("../lib/color");

!function(e) {
  e.listModules = function() {
    return Process.enumerateModules();
  }, e.listExports = function(e) {
    var r = Process.enumerateModules().filter(function(r) {
      return r.name === e;
    });
    return r.length <= 0 ? null : r[0].enumerateExports();
  }, e.listRanges = function(e) {
    return void 0 === e && (e = "rw-"), Process.enumerateRanges(e);
  }, e.dump = function(e, r) {
    return new NativePointer(e).readByteArray(r);
  }, e.search = function(r, t) {
    void 0 === t && (t = !1);
    var o = e.listRanges("rw-").map(function(e) {
      return Memory.scanSync(e.base, e.size, r).map(function(e) {
        return t || n.colors.log(hexdump(e.address, {
          ansi: !0,
          header: !1,
          length: 48
        })), e.address.toString();
      });
    });
    return [].concat.apply([], o);
  }, e.write = function(e, r) {
    new NativePointer(e).writeByteArray(r);
  };
}(t = exports.memory || (exports.memory = {}));

},{"../lib/color":204,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],188:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
}), exports.ping = function() {
  return !0;
};

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],189:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/helpers/extends")), i = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, i.default)(exports, "__esModule", {
  value: !0
});

var u = require("./generic/ping"), o = require("./rpc/android"), n = require("./rpc/environment"), t = require("./rpc/ios"), p = require("./rpc/jobs"), s = require("./rpc/memory");

rpc.exports = (0, r.default)({}, o.android, t.ios, n.env, p.jobs, s.memory, {
  ping: function() {
    return u.ping();
  }
});

},{"./generic/ping":188,"./rpc/android":208,"./rpc/environment":209,"./rpc/ios":210,"./rpc/jobs":211,"./rpc/memory":212,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/extends":14,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],190:[function(require,module,exports){
"use strict";

var e, r = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), t = r(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
}), function(e) {
  e.get = function() {
    var e = [], r = ObjC.classes.NSHTTPCookieStorage.sharedHTTPCookieStorage().cookies();
    if (r.count() <= 0) return e;
    for (var t = 0; t < r.count(); t++) {
      var o = r.objectAtIndex_(t), i = {
        domain: o.domain().toString(),
        expiresDate: o.expiresDate() ? o.expiresDate().toString() : "null",
        isHTTPOnly: o.isHTTPOnly().toString(),
        isSecure: o.isSecure().toString(),
        name: o.name().toString(),
        path: o.path().toString(),
        value: o.value().toString(),
        version: o.version().toString()
      };
      e.push(i);
    }
    return e;
  };
}(e = exports.binarycookies || (exports.binarycookies = {}));

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],191:[function(require,module,exports){
"use strict";

var e, r = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), t = r(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
}), function(e) {
  e.dump = function() {
    var e = [], r = ObjC.classes.NSURLCredentialStorage.sharedCredentialStorage().allCredentials();
    if (r.count() <= 0) return e;
    for (var t, o = r.keyEnumerator(); null !== (t = o.nextObject()); ) for (var a = r.objectForKey_(t).keyEnumerator(), n = void 0; null !== (n = a.nextObject()); ) {
      var s = r.objectForKey_(t).objectForKey_(n), u = {
        authMethod: t.authenticationMethod().toString(),
        host: t.host().toString(),
        password: s.password().toString(),
        port: t.port(),
        protocol: t.protocol().toString(),
        user: s.user().toString()
      };
      e.push(u);
    }
    return e;
  };
}(e = exports.credentialstorage || (exports.credentialstorage = {}));

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],192:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property")), t = function(e) {
  if (e && e.__esModule) return e;
  var r = {};
  if (null != e) for (var t in e) Object.hasOwnProperty.call(e, t) && (r[t] = e[t]);
  return r.default = e, r;
};

(0, r.default)(exports, "__esModule", {
  value: !0
});

var i, a = t(require("fs")), n = require("../lib/helpers"), l = require("./lib/helpers"), s = ObjC.classes.NSString;

!function(e) {
  var r, t = function() {
    return void 0 === r ? r = l.getNSFileManager() : r;
  };
  e.exists = function(e) {
    var r = t(), i = s.stringWithString_(e);
    return r.fileExistsAtPath_(i);
  }, e.readable = function(e) {
    var r = t(), i = s.stringWithString_(e);
    return r.isReadableFileAtPath_(i);
  }, e.writable = function(e) {
    var r = t(), i = s.stringWithString_(e);
    return r.isWritableFileAtPath_(i);
  }, e.pathIsFile = function(e) {
    var r = t(), i = Memory.alloc(Process.pointerSize);
    return r.fileExistsAtPath_isDirectory_(e, i), 0 === i.readInt();
  }, e.pwd = function() {
    return ObjC.classes.NSBundle.mainBundle().bundlePath().toString();
  }, e.readFile = function(e) {
    return a.readFileSync(e);
  }, e.writeFile = function(e, r) {
    var t = a.createWriteStream(e);
    t.on("error", function(e) {
      throw e;
    }), t.write(n.hexStringToBytes(r)), t.end();
  }, e.ls = function(e) {
    var r = t(), i = s.stringWithString_(e), a = {
      files: {},
      path: "" + e,
      readable: r.isReadableFileAtPath_(i),
      writable: r.isWritableFileAtPath_(i)
    };
    if (!a.readable) return a;
    for (var n = r.contentsOfDirectoryAtPath_error_(e, NULL), l = n.count(), o = 0; o < l; o++) {
      var u = n.objectAtIndex_(o), f = {
        attributes: {},
        fileName: u.toString(),
        readable: void 0,
        writable: void 0
      }, b = [ e, "/", u ].join(""), c = s.stringWithString_(b);
      f.readable = r.isReadableFileAtPath_(c), f.writable = r.isWritableFileAtPath_(c);
      var d = r.attributesOfItemAtPath_error_(c, NULL);
      if (d) for (var h = d.keyEnumerator(), _ = void 0; null !== (_ = h.nextObject()); ) {
        var v = d.objectForKey_(_);
        f.attributes[_] = v.toString();
      }
      a.files[u] = f;
    }
    return a;
  };
}(i = exports.iosfilesystem || (exports.iosfilesystem = {}));

},{"../lib/helpers":206,"./lib/helpers":197,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16,"fs":145}],193:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/keys")), o = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, o.default)(exports, "__esModule", {
  value: !0
});

var s, t = require("../lib/color"), n = require("../lib/jobs");

!function(e) {
  e.getClasses = function() {
    return ObjC.classes;
  }, e.getClassMethods = function(e, r) {
    return void 0 === ObjC.classes[e] ? [] : r ? ObjC.classes[e].$methods : ObjC.classes[e].$ownMethods;
  }, e.searchMethods = function(e) {
    var o = [];
    return (0, r.default)(ObjC.classes).forEach(function(r) {
      ObjC.classes[r].$ownMethods.forEach(function(s) {
        -1 !== s.toLowerCase().indexOf(e) && o.push("[" + ObjC.classes[r].$className + " " + s + "]");
      });
    }), o;
  }, e.watchClass = function(e, r) {
    var o = ObjC.classes[e];
    if (o) {
      var s = {
        identifier: n.jobs.identifier(),
        invocations: [],
        type: "watch-class-methods for: " + e
      };
      (r ? o.$methods : o.$ownMethods).map(function(e) {
        return Interceptor.attach(o[e].implementation, {
          onEnter: function(e) {
            var r = new ObjC.Object(e[0]);
            send(t.colors.blackBright("[" + s.identifier + "] ") + "Called: " + t.colors.green("[" + r.$className + " " + ObjC.selectorAsString(e[1]) + "]") + " (Kind: " + t.colors.cyan(r.$kind) + ") (Super: " + t.colors.cyan(r.$superClass.$className) + ")");
          }
        });
      }).forEach(function(e) {
        s.invocations.push(e);
      }), n.jobs.add(s);
    } else send(t.colors.red("Error!") + " Unable to find class " + t.colors.redBright(e) + "!");
  }, e.watchMethod = function(e, r, o, s) {
    var i = new ApiResolver("objc"), a = {
      address: void 0,
      name: void 0
    };
    try {
      a = i.enumerateMatches(e)[0];
    } catch (r) {
      return void send(t.colors.red("Error!") + " Unable to find address for selector " + t.colors.redBright("" + e) + "! The error was:\n" + t.colors.red(r));
    }
    if (a.address) {
      var c = {
        identifier: n.jobs.identifier(),
        invocations: [],
        type: "watch-method for: " + e
      };
      send("Found selector at " + t.colors.green(a.address.toString()) + " as " + t.colors.green(a.name));
      var d = Interceptor.attach(a.address, {
        onEnter: function(s) {
          var n = (e.match(/:/g) || []).length, i = new ObjC.Object(s[0]);
          if (send(t.colors.blackBright("[" + c.identifier + "] ") + "Called: " + t.colors.green("" + e) + " " + t.colors.blue("" + n) + " arguments(Kind: " + t.colors.cyan(i.$kind) + ") (Super: " + t.colors.cyan(i.$superClass.$className) + ")"), 
          o && send(t.colors.blackBright("[" + c.identifier + "] ") + (t.colors.green("" + e) + " Backtrace:\n\t") + Thread.backtrace(this.context, Backtracer.ACCURATE).map(DebugSymbol.fromAddress).join("\n\t")), 
          r && n > 0) {
            var a = ObjC.selectorAsString(s[1]).split(":").filter(function(e) {
              return e;
            }).map(function(e, r) {
              var o = new ObjC.Object(s[r + 2]);
              return e + ": " + t.colors.greenBright("" + o);
            });
            send(t.colors.blackBright("[" + c.identifier + "] ") + "Argument dump: [" + t.colors.green(i.$className) + " " + a.join(" ") + "]");
          }
        },
        onLeave: function(e) {
          s && send(t.colors.blackBright("[" + c.identifier + "] ") + "Return Value: " + t.colors.red(e.toString()));
        }
      });
      c.invocations.push(d), n.jobs.add(c);
    } else send(t.colors.red("Error!") + " Unable to find address for selector " + t.colors.redBright("" + e) + "!");
  }, e.setMethodReturn = function(e, r) {
    var o = new NativePointer(1), s = new NativePointer(0), i = new ApiResolver("objc"), a = {
      address: void 0,
      name: void 0
    };
    try {
      a = i.enumerateMatches(e)[0];
    } catch (r) {
      return void send(t.colors.red("Error!") + " Unable to find address for selector " + t.colors.redBright("" + e) + "! The error was:\n" + t.colors.red(r));
    }
    if (a.address) {
      var c = {
        identifier: n.jobs.identifier(),
        invocations: [],
        type: "set-method-return for: " + e
      };
      send("Found selector at " + t.colors.green(a.address.toString()) + " as " + t.colors.green(a.name));
      var d = Interceptor.attach(a.address, {
        onLeave: function(n) {
          switch (r) {
           case !0:
            if (n.equals(o)) return;
            send(t.colors.blackBright("[" + c.identifier + "] ") + (t.colors.green(e) + " ") + "Return value was: " + t.colors.red(n.toString()) + ", overriding to " + t.colors.green(o.toString())), 
            n.replace(o);
            break;

           case !1:
            if (n.equals(s)) return;
            send(t.colors.blackBright("[" + c.identifier + "] ") + (t.colors.green(e) + " ") + "Return value was: " + t.colors.red(n.toString()) + ", overriding to " + t.colors.green(s.toString())), 
            n.replace(s);
          }
        }
      });
      c.invocations.push(d), n.jobs.add(c);
    } else send(t.colors.red("Error!") + " Unable to find address for selector " + t.colors.redBright("" + e) + "!");
  };
}(s = exports.hooking || (exports.hooking = {}));

},{"../lib/color":204,"../lib/jobs":207,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/core-js/object/keys":8,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],194:[function(require,module,exports){
"use strict";

var i = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), e = i(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, e.default)(exports, "__esModule", {
  value: !0
});

var t, r = require("../lib/color"), s = require("../lib/jobs"), a = [ "/Applications/Cydia.app", "/Applications/FakeCarrier.app", "/Applications/Icy.app", "/Applications/IntelliScreen.app", "/Applications/MxTube.app", "/Applications/RockApp.app", "/Applications/SBSetttings.app", "/Applications/WinterBoard.app", "/Applications/blackra1n.app", "/Library/MobileSubstrate/DynamicLibraries/Veency.plist", "/Library/MobileSubstrate/MobileSubstrate.dylib", "/System/Library/LaunchDaemons/com.ikey.bbot.plist", "/System/Library/LaunchDaemons/com.saurik.Cy@dia.Startup.plist", "/bin/bash", "/bin/sh", "/etc/apt", "/etc/ssh/sshd_config", "/private/var/stash", "/private/var/tmp/cydia.log", "/usr/bin/cycript", "/usr/bin/ssh", "/usr/bin/sshd", "/usr/libexec/sftp-server", "/usr/libexec/sftp-server", "/usr/libexec/ssh-keysign", "/usr/sbin/sshd", "/var/cache/apt", "/var/lib/cydia", "/var/log/syslog", "/var/tmp/cydia.log" ];

!function(i) {
  var e = function(i, e) {
    return Interceptor.attach(ObjC.classes.NSFileManager["- fileExistsAtPath:"].implementation, {
      onEnter: function(i) {
        this.is_common_path = !1, this.path = new ObjC.Object(i[2]).toString(), a.indexOf(this.path) >= 0 && (this.is_common_path = !0);
      },
      onLeave: function(t) {
        if (this.is_common_path) switch (i) {
         case !0:
          if (!t.isNull()) return;
          send(r.colors.blackBright("[" + e + "] ") + "fileExistsAtPath: check for " + r.colors.green(this.path) + " failed with: " + r.colors.red(t.toString()) + ", marking it as successful."), 
          t.replace(new NativePointer(1));
          break;

         case !1:
          if (t.isNull()) return;
          send(r.colors.blackBright("[" + e + "] ") + "fileExistsAtPath: check for " + r.colors.green(this.path) + " was successful with: " + r.colors.red(t.toString()) + ", marking it as failed."), 
          t.replace(new NativePointer(0));
        }
      }
    });
  }, t = function(i, e) {
    var t = Module.findExportByName("libSystem.B.dylib", "fork");
    return t ? Interceptor.attach(t, {
      onLeave: function(t) {
        switch (i) {
         case !0:
          if (!t.isNull()) return;
          send(r.colors.blackBright("[" + e + "] ") + "Call to " + r.colors.green("libSystem.B.dylib::fork()") + " failed with " + r.colors.red(t.toString()) + " marking it as successful."), 
          t.replace(new NativePointer(1));
          break;

         case !1:
          if (t.isNull()) return;
          send(r.colors.blackBright("[" + e + "] ") + "Call to " + r.colors.green("libSystem.B.dylib::fork()") + " was successful with " + r.colors.red(t.toString()) + " marking it as failed."), 
          t.replace(new NativePointer(0));
        }
      }
    }) : new InvocationListener();
  };
  i.disable = function() {
    var i = {
      identifier: s.jobs.identifier(),
      invocations: [],
      type: "ios-jailbreak-disable"
    };
    i.invocations.push(e(!1, i.identifier)), i.invocations.push(t(!1, i.identifier)), 
    s.jobs.add(i);
  }, i.enable = function() {
    var i = {
      identifier: s.jobs.identifier(),
      invocations: [],
      type: "ios-jailbreak-enable"
    };
    i.invocations.push(e(!0, i.identifier)), i.invocations.push(t(!0, i.identifier)), 
    s.jobs.add(i);
  };
}(t = exports.iosjailbreak || (exports.iosjailbreak = {}));

},{"../lib/color":204,"../lib/jobs":207,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],195:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), t = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
});

var c, r = require("../lib/helpers"), o = require("./lib/constants"), a = require("./lib/helpers"), i = require("./lib/libobjc"), s = ObjC.classes, n = s.NSMutableDictionary, S = s.NSString, k = 4, l = [ o.kSec.kSecClassKey, o.kSec.kSecClassIdentity, o.kSec.kSecClassCertificate, o.kSec.kSecClassGenericPassword, o.kSec.kSecClassInternetPassword ];

!function(e) {
  e.empty = function() {
    var e = n.alloc().init();
    l.forEach(function(t) {
      e.setObject_forKey_(t, o.kSec.kSecClass), i.libObjc.SecItemDelete(e);
    });
  }, e.list = function() {
    var e = ObjC.classes.__NSCFBoolean.numberWithBool_(!0), c = n.alloc().init();
    return c.setObject_forKey_(e, o.kSec.kSecReturnAttributes), c.setObject_forKey_(e, o.kSec.kSecReturnData), 
    c.setObject_forKey_(e, o.kSec.kSecReturnRef), c.setObject_forKey_(o.kSec.kSecMatchLimitAll, o.kSec.kSecMatchLimit), 
    [].concat.apply([], l.map(function(e) {
      var s = [];
      c.setObject_forKey_(e, o.kSec.kSecClass);
      var n = Memory.alloc(Process.pointerSize);
      if (i.libObjc.SecItemCopyMatching(c, n).isNull()) {
        var S = new ObjC.Object(n.readPointer());
        if (!(S.length <= 0)) {
          for (var k = 0; k < S.count(); k++) {
            var l = S.objectAtIndex_(k);
            s.push({
              access_control: l.containsKey_(o.kSec.kSecAttrAccessControl) ? t(l) : "",
              accessible_attribute: r.reverseEnumLookup(o.kSec, a.dataToString(l.objectForKey_(o.kSec.kSecAttrAccessible))),
              account: a.dataToString(l.objectForKey_(o.kSec.kSecAttrAccount)),
              alias: a.dataToString(l.objectForKey_(o.kSec.kSecAttrAlias)),
              comment: a.dataToString(l.objectForKey_(o.kSec.kSecAttrComment)),
              create_date: a.dataToString(l.objectForKey_(o.kSec.kSecAttrCreationDate)),
              creator: a.dataToString(l.objectForKey_(o.kSec.kSecAttrCreator)),
              custom_icon: a.dataToString(l.objectForKey_(o.kSec.kSecAttrHasCustomIcon)),
              data: "keys" !== e ? a.dataToString(l.objectForKey_(o.kSec.kSecValueData)) : "(Key data not displayed)",
              description: a.dataToString(l.objectForKey_(o.kSec.kSecAttrDescription)),
              entitlement_group: a.dataToString(l.objectForKey_(o.kSec.kSecAttrAccessGroup)),
              generic: a.dataToString(l.objectForKey_(o.kSec.kSecAttrGeneric)),
              invisible: a.dataToString(l.objectForKey_(o.kSec.kSecAttrIsInvisible)),
              item_class: r.reverseEnumLookup(o.kSec, e),
              label: a.dataToString(l.objectForKey_(o.kSec.kSecAttrLabel)),
              modification_date: a.dataToString(l.objectForKey_(o.kSec.kSecAttrModificationDate)),
              negative: a.dataToString(l.objectForKey_(o.kSec.kSecAttrIsNegative)),
              protected: a.dataToString(l.objectForKey_(o.kSec.kSecProtectedDataItemAttr)),
              script_code: a.dataToString(l.objectForKey_(o.kSec.kSecAttrScriptCode)),
              service: a.dataToString(l.objectForKey_(o.kSec.kSecAttrService)),
              type: a.dataToString(l.objectForKey_(o.kSec.kSecAttrType))
            });
          }
          return s;
        }
      }
    }).filter(function(e) {
      return void 0 !== e;
    }));
  }, e.add = function(e, t) {
    var c = S.stringWithString_(t).dataUsingEncoding_(k), r = S.stringWithString_(e).dataUsingEncoding_(k), a = n.alloc().init();
    return a.setObject_forKey_(o.kSec.kSecClassGenericPassword, o.kSec.kSecClass), a.setObject_forKey_(r, o.kSec.kSecAttrService), 
    a.setObject_forKey_(c, o.kSec.kSecValueData), i.libObjc.SecItemAdd(a, NULL).isNull();
  };
  var t = function(e) {
    var t = new ObjC.Object(i.libObjc.SecAccessControlGetConstraints(e.objectForKey_(o.kSec.kSecAttrAccessControl)));
    if (t.handle.isNull()) return "None";
    for (var c, r = [], s = t.keyEnumerator(); null !== (c = s.nextObject()); ) {
      var n = t.objectForKey_(c);
      switch (a.dataToString(c)) {
       case "dacl":
        break;

       case "osgn":
        r.push("kSecAttrKeyClassPrivate");

       case "od":
        for (var S = n, k = S.keyEnumerator(), l = void 0; null !== (l = k.nextObject()); ) switch (a.dataToString(l)) {
         case "cpo":
          r.push("kSecAccessControlUserPresence");
          break;

         case "cup":
          r.push("kSecAccessControlDevicePasscode");
          break;

         case "pkofn":
          1 === S.objectForKey_("pkofn") ? r.push("Or") : r.push("And");
          break;

         case "cbio":
          1 === S.objectForKey_("cbio").count() ? r.push("kSecAccessControlBiometryAny") : r.push("kSecAccessControlBiometryCurrentSet");
        }
        break;

       case "prp":
        r.push("kSecAccessControlApplicationPassword");
      }
    }
    return r.join(" ");
  };
}(c = exports.ioskeychain || (exports.ioskeychain = {}));

},{"../lib/helpers":206,"./lib/constants":196,"./lib/helpers":197,"./lib/libobjc":198,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],196:[function(require,module,exports){
"use strict";

var e, t, r = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), c = r(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, c.default)(exports, "__esModule", {
  value: !0
}), function(e) {
  e.kSecReturnAttributes = "r_Attributes", e.kSecReturnData = "r_Data", e.kSecReturnRef = "r_Ref", 
  e.kSecMatchLimit = "m_Limit", e.kSecMatchLimitAll = "m_LimitAll", e.kSecClass = "class", 
  e.kSecClassKey = "keys", e.kSecClassIdentity = "idnt", e.kSecClassCertificate = "cert", 
  e.kSecClassGenericPassword = "genp", e.kSecClassInternetPassword = "inet", e.kSecAttrService = "svce", 
  e.kSecAttrAccount = "acct", e.kSecAttrAccessGroup = "agrp", e.kSecAttrLabel = "labl", 
  e.kSecAttrCreationDate = "cdat", e.kSecAttrAccessControl = "accc", e.kSecAttrGeneric = "gena", 
  e.kSecAttrSynchronizable = "sync", e.kSecAttrModificationDate = "mdat", e.kSecAttrServer = "srvr", 
  e.kSecAttrDescription = "desc", e.kSecAttrComment = "icmt", e.kSecAttrCreator = "crtr", 
  e.kSecAttrType = "type", e.kSecAttrScriptCode = "scrp", e.kSecAttrAlias = "alis", 
  e.kSecAttrIsInvisible = "invi", e.kSecAttrIsNegative = "nega", e.kSecAttrHasCustomIcon = "cusi", 
  e.kSecProtectedDataItemAttr = "prot", e.kSecAttrAccessible = "pdmn", e.kSecAttrAccessibleWhenUnlocked = "ak", 
  e.kSecAttrAccessibleAfterFirstUnlock = "ck", e.kSecAttrAccessibleAlways = "dk", 
  e.kSecAttrAccessibleWhenUnlockedThisDeviceOnly = "aku", e.kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly = "akpu", 
  e.kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly = "cku", e.kSecAttrAccessibleAlwaysThisDeviceOnly = "dku", 
  e.kSecValueData = "v_Data";
}(e = exports.kSec || (exports.kSec = {})), function(e) {
  e[e.NSApplicationDirectory = 1] = "NSApplicationDirectory", e[e.NSDemoApplicationDirectory = 2] = "NSDemoApplicationDirectory", 
  e[e.NSDeveloperApplicationDirectory = 3] = "NSDeveloperApplicationDirectory", e[e.NSAdminApplicationDirectory = 4] = "NSAdminApplicationDirectory", 
  e[e.NSLibraryDirectory = 5] = "NSLibraryDirectory", e[e.NSDeveloperDirectory = 6] = "NSDeveloperDirectory", 
  e[e.NSUserDirectory = 7] = "NSUserDirectory", e[e.NSDocumentationDirectory = 8] = "NSDocumentationDirectory", 
  e[e.NSDocumentDirectory = 9] = "NSDocumentDirectory", e[e.NSCoreServiceDirectory = 10] = "NSCoreServiceDirectory", 
  e[e.NSAutosavedInformationDirectory = 11] = "NSAutosavedInformationDirectory", e[e.NSDesktopDirectory = 12] = "NSDesktopDirectory", 
  e[e.NSCachesDirectory = 13] = "NSCachesDirectory", e[e.NSApplicationSupportDirectory = 14] = "NSApplicationSupportDirectory";
}(t = exports.NSSearchPaths || (exports.NSSearchPaths = {})), exports.NSUserDomainMask = 1;

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],197:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/json/stringify")), t = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
}), exports.unArchiveDataAndGetString = function(e) {
  try {
    var t = ObjC.classes.NSKeyedUnarchiver.unarchiveTopLevelObjectWithData_error_(e, NULL);
    if (null === t) return "";
    switch (t.$className) {
     case "__NSDictionary":
     case "__NSDictionaryI":
      for (var a, n = new ObjC.Object(t), c = n.keyEnumerator(), i = {}; null !== (a = c.nextObject()); ) i[a] = "" + n.objectForKey_(a);
      return (0, r.default)(i);

     default:
      return "";
    }
  } catch (r) {
    return e.toString();
  }
}, exports.dataToString = function(e) {
  if (null === e) return "";
  try {
    var r = new ObjC.Object(e);
    switch (r.$className) {
     case "__NSCFData":
      try {
        var t = exports.unArchiveDataAndGetString(r);
        if (t.length > 0) return t;
      } catch (e) {}
      try {
        var a = r.readUtf8String(r.length());
        if (a.length > 0) return a;
      } catch (e) {}

     case "__NSCFNumber":
      return r.integerValue();

     case "NSTaggedPointerString":
     case "__NSDate":
     case "__NSCFString":
     case "__NSTaggedDate":
      return r.toString();

     default:
      return "(could not get string for class: " + r.$className + ")";
    }
  } catch (e) {
    return "(failed to decode)";
  }
}, exports.getNSFileManager = function() {
  return ObjC.classes.NSFileManager.defaultManager();
}, exports.getNSMainBundle = function() {
  return ObjC.classes.NSBundle.mainBundle();
};

},{"@babel/runtime-corejs2/core-js/json/stringify":4,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],198:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), t = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
});

var r = {
  SecAccessControlGetConstraints: {
    argTypes: [ "pointer" ],
    exportName: "SecAccessControlGetConstraints",
    moduleName: "Security",
    retType: "pointer"
  },
  SecItemAdd: {
    argTypes: [ "pointer", "pointer" ],
    exportName: "SecItemAdd",
    moduleName: "Security",
    retType: "pointer"
  },
  SecItemCopyMatching: {
    argTypes: [ "pointer", "pointer" ],
    exportName: "SecItemCopyMatching",
    moduleName: "Security",
    retType: "pointer"
  },
  SecItemDelete: {
    argTypes: [ "pointer" ],
    exportName: "SecItemDelete",
    moduleName: "Security",
    retType: "pointer"
  },
  SSLCreateContext: {
    argTypes: [ "pointer", "int", "int" ],
    exportName: "SSLCreateContext",
    moduleName: "Security",
    retType: "pointer"
  },
  SSLHandshake: {
    argTypes: [ "pointer" ],
    exportName: "SSLHandshake",
    moduleName: "Security",
    retType: "int"
  },
  SSLSetSessionOption: {
    argTypes: [ "pointer", "int", "bool" ],
    exportName: "SSLSetSessionOption",
    moduleName: "Security",
    retType: "int"
  },
  nw_tls_create_peer_trust: {
    argTypes: [ "pointer", "bool", "pointer" ],
    exportName: "nw_tls_create_peer_trust",
    moduleName: "libnetwork.dylib",
    retType: "int"
  },
  tls_helper_create_peer_trust: {
    argTypes: [ "pointer", "bool", "pointer" ],
    exportName: "tls_helper_create_peer_trust",
    moduleName: "libcoretls_cfhelpers.dylib",
    retType: "int"
  }
}, o = {
  SecAccessControlGetConstraints: null,
  SecItemAdd: null,
  SecItemCopyMatching: null,
  SecItemDelete: null,
  SSLCreateContext: null,
  SSLHandshake: null,
  SSLSetSessionOption: null,
  nw_tls_create_peer_trust: null,
  tls_helper_create_peer_trust: null
};

exports.libObjc = new Proxy(o, {
  get: function(e, t) {
    return null === e[t] && (e[t] = new NativeFunction(Module.findExportByName(r[t].moduleName, r[t].exportName), r[t].retType, r[t].argTypes)), 
    e[t];
  }
});

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],199:[function(require,module,exports){
"use strict";

var e, r = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), t = r(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, t.default)(exports, "__esModule", {
  value: !0
}), function(e) {
  e.get = function() {
    return ObjC.classes.NSUserDefaults.alloc().init().dictionaryRepresentation().toString();
  };
}(e = exports.nsuserdefaults || (exports.nsuserdefaults = {}));

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],200:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var t, o = require("../lib/color");

!function(e) {
  e.monitor = function() {
    var e = ObjC.classes.UIPasteboard.generalPasteboard(), r = "";
    setInterval(function() {
      var t = e.string().toString();
      t !== r && (r = t, send(o.colors.blackBright("[pasteboard-monitor]") + " Data: " + o.colors.greenBright(r.toString())));
    }, 5e3);
  };
}(t = exports.pasteboard || (exports.pasteboard = {}));

},{"../lib/color":204,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],201:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), n = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, n.default)(exports, "__esModule", {
  value: !0
});

var t, r = require("../lib/color"), i = require("../lib/helpers"), o = require("../lib/jobs"), l = require("./lib/libobjc");

!function(e) {
  var n = !1;
  e.disable = function(e) {
    e && (send("Quiet mode enabled. Not reporting invocations."), n = !0);
    var t, s, c, a, d = {
      identifier: o.jobs.identifier(),
      invocations: [],
      replacements: [],
      type: "ios-sslpinning-disable"
    };
    send(r.colors.blackBright("Hooking common framework methods")), (t = d.identifier, 
    s = ObjC.classes, c = s.AFHTTPSessionManager, a = s.AFSecurityPolicy, c && a ? (send(r.colors.blackBright("[" + t + "] ") + "Found AFNetworking library. Hooking known pinning methods."), 
    [ Interceptor.attach(a["- setSSLPinningMode:"].implementation, {
      onEnter: function(e) {
        i.qsend(n, r.colors.blackBright("[" + t + "] ") + "[AFNetworking] Called " + r.colors.green("-[AFSecurityPolicy setSSLPinningMode:]") + " with mode " + r.colors.red(e[2].toString())), 
        e[2].isNull() || (i.qsend(n, r.colors.blackBright("[" + t + "] ") + "[AFNetworking] " + r.colors.blueBright("Altered ") + r.colors.green("-[AFSecurityPolicy setSSLPinningMode:]") + " mode to " + r.colors.green("0x0")), 
        e[2] = new NativePointer(0));
      }
    }), Interceptor.attach(a["- setAllowInvalidCertificates:"].implementation, {
      onEnter: function(e) {
        i.qsend(n, r.colors.blackBright("[" + t + "] ") + "[AFNetworking] Called " + r.colors.green("-[AFSecurityPolicy setAllowInvalidCertificates:]") + " with allow " + r.colors.red(e[2].toString())), 
        e[2].equals(new NativePointer(0)) && (i.qsend(n, r.colors.blackBright("[" + t + "] ") + "[AFNetworking] " + r.colors.blueBright("Altered ") + r.colors.green("-[AFSecurityPolicy setAllowInvalidCertificates:]") + " allow to " + r.colors.green("0x1")), 
        e[2] = new NativePointer(1));
      }
    }), Interceptor.attach(a["+ policyWithPinningMode:"].implementation, {
      onEnter: function(e) {
        i.qsend(n, r.colors.blackBright("[" + t + "] ") + "[AFNetworking] Called " + r.colors.green("+[AFSecurityPolicy policyWithPinningMode:]") + " with mode " + r.colors.red(e[2].toString())), 
        e[2].isNull() || (i.qsend(n, r.colors.blackBright("[" + t + "] ") + "[AFNetworking] " + r.colors.blueBright("Altered ") + r.colors.green("+[AFSecurityPolicy policyWithPinningMode:]") + " mode to " + r.colors.green("0x0")), 
        e[2] = new NativePointer(0));
      }
    }), Interceptor.attach(a["+ policyWithPinningMode:withPinnedCertificates:"].implementation, {
      onEnter: function(e) {
        i.qsend(n, r.colors.blackBright("[" + t + "] ") + "[AFNetworking] Called " + r.colors.green("+[AFSecurityPolicy policyWithPinningMode:withPinnedCertificates:]") + " with mode " + r.colors.red(e[2].toString())), 
        e[2].isNull() || (i.qsend(n, r.colors.blackBright("[" + t + "] ") + "[AFNetworking] " + r.colors.blueBright("Altered ") + r.colors.green("+[AFSecurityPolicy policyWithPinningMode:withPinnedCertificates:]") + " mode to " + r.colors.green("0x0")), 
        e[2] = new NativePointer(0));
      }
    }) ]) : []).forEach(function(e) {
      d.invocations.push(e);
    }), function(e) {
      var t = ObjC.classes.NSURLCredential, o = new ApiResolver("objc").enumerateMatches("-[* URLSession:didReceiveChallenge:completionHandler:]");
      return o.length <= 0 ? [] : (send(r.colors.blackBright("[" + e + "] ") + "Found NSURLSession based classes. Hooking known pinning methods."), 
      o.map(function(o) {
        return Interceptor.attach(o.address, {
          onEnter: function(o) {
            var l = new ObjC.Object(o[0]), s = ObjC.selectorAsString(o[1]), c = new ObjC.Object(o[3]);
            i.qsend(n, r.colors.blackBright("[" + e + "] ") + "[AFNetworking] Called " + r.colors.green("-[" + l + " " + s + "]") + ", ensuring pinning is passed");
            var a = new ObjC.Block(o[4]), d = a.implementation;
            a.implementation = function() {
              var e = t.credentialForTrust_(c.protectionSpace().serverTrust());
              c.sender().useCredential_forAuthenticationChallenge_(e, c), d(0, e);
            };
          }
        });
      }));
    }(d.identifier).forEach(function(e) {
      d.invocations.push(e);
    }), d.invocations.push(function(e) {
      if (ObjC.classes.TSKPinningValidator) return send(r.colors.blackBright("[" + e + "] ") + "Found TrustKit. Hooking known pinning methods."), 
      Interceptor.attach(ObjC.classes.TSKPinningValidator["- evaluateTrust:forHostname:"].implementation, {
        onLeave: function(t) {
          i.qsend(n, r.colors.blackBright("[" + e + "] ") + "[TrustKit] Called " + r.colors.green("-[TSKPinningValidator evaluateTrust:forHostname:]") + " with result " + r.colors.red(t.toString())), 
          t.isNull() || (i.qsend(n, r.colors.blackBright("[" + e + "] ") + "[TrustKit] " + r.colors.blueBright("Altered ") + r.colors.green("-[TSKPinningValidator evaluateTrust:forHostname:]") + " mode to " + r.colors.green("0x0")), 
          t.replace(new NativePointer(0)));
        }
      });
    }(d.identifier)), send(r.colors.blackBright("Hooking lower level SSL methods")), 
    d.replacements.push(function(e) {
      var t = l.libObjc.SSLSetSessionOption;
      return Interceptor.replace(t, new NativeCallback(function(o, l, s) {
        return 0 === l ? (i.qsend(n, r.colors.blackBright("[" + e + "] ") + "Called " + r.colors.green("SSLSetSessionOption()") + ", removing ability to modify kSSLSessionOptionBreakOnServerAuth."), 
        0) : t(o, l, s);
      }, "int", [ "pointer", "int", "bool" ])), t;
    }(d.identifier)), d.replacements.push(function(e) {
      var t = l.libObjc.SSLSetSessionOption, o = l.libObjc.SSLCreateContext;
      return Interceptor.replace(o, new NativeCallback(function(l, s, c) {
        var a = o(l, s, c);
        return t(a, 0, 1), i.qsend(n, r.colors.blackBright("[" + e + "] ") + "Called " + r.colors.green("SSLCreateContext()") + ", setting kSSLSessionOptionBreakOnServerAuth to disable cert validation."), 
        a;
      }, "pointer", [ "pointer", "int", "int" ])), o;
    }(d.identifier)), d.replacements.push(function(e) {
      var t = l.libObjc.SSLHandshake;
      return Interceptor.replace(t, new NativeCallback(function(o) {
        var l = t(o);
        return -9481 === l ? (i.qsend(n, r.colors.blackBright("[" + e + "] ") + "Called " + r.colors.green("SSLHandshake()") + ", calling again to skip certificate validation."), 
        t(o)) : l;
      }, "int", [ "pointer" ])), t;
    }(d.identifier)), send(r.colors.blackBright("Hooking lower level TLS methods")), 
    d.replacements.push(function(e) {
      var t = l.libObjc.tls_helper_create_peer_trust;
      return t.isNull() ? null : (Interceptor.replace(t, new NativeCallback(function(t, o, l) {
        return i.qsend(n, r.colors.blackBright("[" + e + "] ") + "Called " + r.colors.green("tls_helper_create_peer_trust()") + ", returning noErr."), 
        0;
      }, "int", [ "pointer", "bool", "pointer" ])), t);
    }(d.identifier)), d.invocations.push(function(e) {
      var t = l.libObjc.nw_tls_create_peer_trust;
      return t.isNull() ? null : Interceptor.attach(t, {
        onEnter: function() {
          i.qsend(n, r.colors.blackBright("[" + e + "] ") + "Called " + r.colors.green("nw_tls_create_peer_trust()") + ", " + r.colors.red("no working bypass implemented yet."));
        }
      });
    }(d.identifier)), o.jobs.add(d);
  };
}(t = exports.sslpinning || (exports.sslpinning = {}));

},{"../lib/color":204,"../lib/helpers":206,"../lib/jobs":207,"./lib/libobjc":198,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],202:[function(require,module,exports){
"use strict";

var e, t = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = t(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
}), function(e) {
  e.read = function(e) {
    return ObjC.classes.NSMutableDictionary.alloc().initWithContentsOfFile_(e).toString();
  }, e.write = function(e, t) {};
}(e = exports.plist || (exports.plist = {}));

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],203:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var i, t = require("frida-screenshot"), o = require("../lib/color"), n = require("../lib/jobs");

!function(e) {
  e.screenshot = function() {
    return t();
  }, e.dump = function() {
    return ObjC.classes.UIWindow.keyWindow().recursiveDescription().toString();
  }, e.alert = function(e) {
    var r = ObjC.classes, i = r.UIAlertController, t = r.UIAlertAction, o = r.UIApplication, n = new ObjC.Block({
      argTypes: [ "object" ],
      implementation: function() {},
      retType: "void"
    });
    ObjC.schedule(ObjC.mainQueue, function() {
      var r = i.alertControllerWithTitle_message_preferredStyle_("Alert", e, 1), s = t.actionWithTitle_style_handler_("OK", 0, n);
      r.addAction_(s), o.sharedApplication().keyWindow().rootViewController().presentViewController_animated_completion_(r, !0, NULL);
    });
  }, e.biometricsBypass = function() {
    var e = {
      identifier: n.jobs.identifier(),
      invocations: [],
      type: "ios-biometrics-disable"
    }, r = Interceptor.attach(ObjC.classes.LAContext["- evaluatePolicy:localizedReason:reply:"].implementation, {
      onEnter: function(r) {
        var i = new ObjC.Object(r[3]);
        send(o.colors.blackBright("[" + e.identifier + "] ") + "Localized Reason for auth requirement: " + o.colors.green(i.toString()));
        var t = new ObjC.Block(r[4]), n = t.implementation;
        t.implementation = function(r, i) {
          send(o.colors.blackBright("[" + e.identifier + "] ") + "OS authentication response: " + o.colors.red(r)), 
          !0 == !r && (send(o.colors.blackBright("[" + e.identifier + "] ") + o.colors.greenBright("Marking OS response as True instead")), 
          r = !0), n(r, i), send(o.colors.blackBright("[" + e.identifier + "] ") + o.colors.green("Biometrics bypass hook complete"));
        };
      }
    });
    e.invocations.push(r), n.jobs.add(e);
  };
}(i = exports.userinterface || (exports.userinterface = {}));

},{"../lib/color":204,"../lib/jobs":207,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16,"frida-screenshot":147}],204:[function(require,module,exports){
"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), _defineProperty = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/define-property")), colors;

(0, _defineProperty.default)(exports, "__esModule", {
  value: !0
}), function(colors) {
  var base = "[%dm", reset = "[39m";
  colors.black = function(o) {
    return colors.ansify(30, o);
  }, colors.blue = function(o) {
    return colors.ansify(34, o);
  }, colors.cyan = function(o) {
    return colors.ansify(36, o);
  }, colors.green = function(o) {
    return colors.ansify(32, o);
  }, colors.magenta = function(o) {
    return colors.ansify(35, o);
  }, colors.red = function(o) {
    return colors.ansify(31, o);
  }, colors.white = function(o) {
    return colors.ansify(37, o);
  }, colors.yellow = function(o) {
    return colors.ansify(33, o);
  }, colors.blackBright = function(o) {
    return colors.ansify(90, o);
  }, colors.redBright = function(o) {
    return colors.ansify(91, o);
  }, colors.greenBright = function(o) {
    return colors.ansify(92, o);
  }, colors.yellowBright = function(o) {
    return colors.ansify(93, o);
  }, colors.blueBright = function(o) {
    return colors.ansify(94, o);
  }, colors.cyanBright = function(o) {
    return colors.ansify(96, o);
  }, colors.whiteBright = function(o) {
    return colors.ansify(97, o);
  }, colors.ansify = function(o) {
    for (var r = arguments.length, e = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++) e[n - 1] = arguments[n];
    return base.replace("%d", o.toString()) + e.join("") + reset;
  }, colors.clog = function(color) {
    for (var _len2 = arguments.length, msg = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) msg[_key2 - 1] = arguments[_key2];
    return eval("console").log(colors.ansify.apply(colors, [ color ].concat(msg)));
  }, colors.log = function() {
    for (var _len3 = arguments.length, msg = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) msg[_key3] = arguments[_key3];
    return eval("console").log(msg.join(""));
  }, colors.qlog = function(o) {
    if (!1 === o) {
      for (var r = arguments.length, e = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++) e[n - 1] = arguments[n];
      colors.log.apply(colors, e);
    }
  };
}(colors = exports.colors || (exports.colors = {}));

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],205:[function(require,module,exports){
"use strict";

var e, r = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), o = r(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, o.default)(exports, "__esModule", {
  value: !0
}), function(e) {
  e.IOS = "ios", e.ANDROID = "android", e.UNKNOWN = "unknown";
}(e = exports.DeviceType || (exports.DeviceType = {}));

},{"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],206:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/parse-int")), o = e(require("@babel/runtime-corejs2/core-js/object/define-property")), t = function(e) {
  return e && e.__esModule ? e : {
    default: e
  };
};

(0, o.default)(exports, "__esModule", {
  value: !0
});

var u = t(require("util")), n = require("./color");

function s(e, r) {
  for (var o in e) if (Object.hasOwnProperty.call(e, o) && e[o] === r) return o;
}

exports.reverseEnumLookup = s, exports.hexStringToBytes = function(e) {
  for (var o = [], t = 0, u = e.length; t < u; t += 2) o.push((0, r.default)(e.substr(t, 2), 16));
  return new Uint8Array(o);
}, exports.qsend = function(e, r) {
  !1 === e && send(r);
}, exports.debugDump = function(e, r) {
  void 0 === r && (r = 2), n.colors.log(n.colors.blackBright("\n[start debugDump]")), 
  n.colors.log(u.default.inspect(e, !0, r, !0)), n.colors.log(n.colors.blackBright("[end debugDump]\n"));
};

},{"./color":204,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/core-js/parse-int":9,"@babel/runtime-corejs2/helpers/interopRequireDefault":16,"util":174}],207:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), n = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, n.default)(exports, "__esModule", {
  value: !0
});

var t, r = require("./color");

!function(e) {
  var n = [];
  e.identifier = function() {
    return Math.random().toString(36).substring(2, 15);
  }, e.all = function() {
    return n;
  }, e.add = function(e) {
    send("Registering job " + r.colors.blueBright("" + e.identifier) + ". Type: " + r.colors.greenBright("" + e.type)), 
    n.push(e);
  }, e.hasIdent = function(e) {
    return n.filter(function(n) {
      if (n.identifier === e) return !0;
    }).length > 0;
  }, e.hasType = function(e) {
    return n.filter(function(n) {
      if (n.type === e) return !0;
    }).length > 0;
  }, e.kill = function(e) {
    return n.forEach(function(t) {
      t.identifier === e && (t.invocations && t.invocations.length > 0 && t.invocations.forEach(function(e) {
        e.detach();
      }), t.replacements && t.replacements.length > 0 && t.replacements.forEach(function(e) {
        Interceptor.revert(e);
      }), t.implementations && t.implementations.length > 0 && t.implementations.forEach(function(e) {
        e.implementation = null;
      }), n = n.filter(function(e) {
        return e.identifier !== t.identifier;
      }));
    }), !0;
  };
}(t = exports.jobs || (exports.jobs = {}));

},{"./color":204,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],208:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), n = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, n.default)(exports, "__esModule", {
  value: !0
});

var i = require("../android/clipboard"), r = require("../android/filesystem"), t = require("../android/heap"), o = require("../android/hooking"), d = require("../android/intent"), a = require("../android/keystore"), s = require("../android/pinning"), u = require("../android/root"), l = require("../android/shell"), c = require("../android/userinterface");

exports.android = {
  androidMonitorClipboard: function() {
    return i.clipboard.monitor();
  },
  androidShellExec: function(e) {
    return l.androidshell.execute(e);
  },
  androidFileCwd: function() {
    return r.androidfilesystem.pwd();
  },
  androidFileDelete: function(e) {
    return r.androidfilesystem.deleteFile(e);
  },
  androidFileDownload: function(e) {
    return r.androidfilesystem.readFile(e);
  },
  androidFileExists: function(e) {
    return r.androidfilesystem.exists(e);
  },
  androidFileLs: function(e) {
    return r.androidfilesystem.ls(e);
  },
  androidFilePathIsFile: function(e) {
    return r.androidfilesystem.pathIsFile(e);
  },
  androidFileReadable: function(e) {
    return r.androidfilesystem.readable(e);
  },
  androidFileUpload: function(e, n) {
    return r.androidfilesystem.writeFile(e, n);
  },
  androidFileWritable: function(e) {
    return r.androidfilesystem.writable(e);
  },
  androidHookingGetClassMethods: function(e) {
    return o.hooking.getClassMethods(e);
  },
  androidHookingGetClasses: function() {
    return o.hooking.getClasses();
  },
  androidHookingGetCurrentActivity: function() {
    return o.hooking.getCurrentActivity();
  },
  androidHookingListActivities: function() {
    return o.hooking.getActivities();
  },
  androidHookingListBroadcastReceivers: function() {
    return o.hooking.getBroadcastReceivers();
  },
  androidHookingListServices: function() {
    return o.hooking.getServices();
  },
  androidHookingSetMethodReturn: function(e, n) {
    return o.hooking.setReturnValue(e, n);
  },
  androidHookingWatchClass: function(e) {
    return o.hooking.watchClass(e);
  },
  androidHookingWatchMethod: function(e, n, i, r) {
    return o.hooking.watchMethod(e, n, i, r);
  },
  androidLivePrintClassInstances: function(e) {
    return t.heap.printInstances(e);
  },
  androidIntentStartActivity: function(e) {
    return d.intent.startActivity(e);
  },
  androidIntentStartService: function(e) {
    return d.intent.startService(e);
  },
  androidKeystoreClear: function() {
    return a.keystore.clear();
  },
  androidKeystoreList: function() {
    return a.keystore.list();
  },
  androidSslPinningDisable: function(e) {
    return s.sslpinning.disable(e);
  },
  androidRootDetectionDisable: function() {
    return u.root.disable();
  },
  androidRootDetectionEnable: function() {
    return u.root.enable();
  },
  androidUiScreenshot: function() {
    return c.userinterface.screenshot();
  },
  androidUiSetFlagSecure: function(e) {
    return c.userinterface.setFlagSecure(e);
  }
};

},{"../android/clipboard":175,"../android/filesystem":176,"../android/heap":177,"../android/hooking":178,"../android/intent":179,"../android/keystore":180,"../android/pinning":182,"../android/root":183,"../android/shell":184,"../android/userinterface":185,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],209:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), n = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, n.default)(exports, "__esModule", {
  value: !0
});

var r = require("../generic/environment");

exports.env = {
  envAndroid: function() {
    return r.environment.androidPackage();
  },
  envAndroidPaths: function() {
    return r.environment.androidPaths();
  },
  envFrida: function() {
    return r.environment.frida();
  },
  envIos: function() {
    return r.environment.iosPackage();
  },
  envIosPaths: function() {
    return r.environment.iosPaths();
  },
  envRuntime: function() {
    return r.environment.runtime();
  }
};

},{"../generic/environment":186,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],210:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), i = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, i.default)(exports, "__esModule", {
  value: !0
});

var s = require("../ios/binarycookies"), o = require("../ios/credentialstorage"), r = require("../ios/filesystem"), n = require("../ios/hooking"), t = require("../ios/jailbreak"), u = require("../ios/keychain"), a = require("../ios/nsuserdefaults"), l = require("../ios/pasteboard"), c = require("../ios/pinning"), f = require("../ios/plist"), d = require("../ios/userinterface");

exports.ios = {
  iosCookiesGet: function() {
    return s.binarycookies.get();
  },
  iosCredentialStorage: function() {
    return o.credentialstorage.dump();
  },
  iosFileCwd: function() {
    return r.iosfilesystem.pwd();
  },
  iosFileDownload: function(e) {
    return r.iosfilesystem.readFile(e);
  },
  iosFileExists: function(e) {
    return r.iosfilesystem.exists(e);
  },
  iosFileLs: function(e) {
    return r.iosfilesystem.ls(e);
  },
  iosFilePathIsFile: function(e) {
    return r.iosfilesystem.pathIsFile(e);
  },
  iosFileReadable: function(e) {
    return r.iosfilesystem.readable(e);
  },
  iosFileUpload: function(e, i) {
    return r.iosfilesystem.writeFile(e, i);
  },
  iosFileWritable: function(e) {
    return r.iosfilesystem.writable(e);
  },
  iosHookingGetClassMethods: function(e, i) {
    return n.hooking.getClassMethods(e, i);
  },
  iosHookingGetClasses: function() {
    return n.hooking.getClasses();
  },
  iosHookingSearchMethods: function(e) {
    return n.hooking.searchMethods(e);
  },
  iosHookingSetReturnValue: function(e, i) {
    return n.hooking.setMethodReturn(e, i);
  },
  iosHookingWatchClass: function(e, i) {
    return n.hooking.watchClass(e, i);
  },
  iosHookingWatchMethod: function(e, i, s, o) {
    return n.hooking.watchMethod(e, i, s, o);
  },
  iosJailbreakDisable: function() {
    return t.iosjailbreak.disable();
  },
  iosJailbreakEnable: function() {
    return t.iosjailbreak.enable();
  },
  iosPlistRead: function(e) {
    return f.plist.read(e);
  },
  iosUiAlert: function(e) {
    return d.userinterface.alert(e);
  },
  iosUiBiometricsBypass: function() {
    return d.userinterface.biometricsBypass();
  },
  iosUiScreenshot: function() {
    return d.userinterface.screenshot();
  },
  iosUiWindowDump: function() {
    return d.userinterface.dump();
  },
  iosPinningDisable: function(e) {
    return c.sslpinning.disable(e);
  },
  iosMonitorPasteboard: function() {
    return l.pasteboard.monitor();
  },
  iosKeychainAdd: function(e, i) {
    return u.ioskeychain.add(e, i);
  },
  iosKeychainEmpty: function() {
    return u.ioskeychain.empty();
  },
  iosKeychainList: function() {
    return u.ioskeychain.list();
  },
  iosNsuserDefaultsGet: function() {
    return a.nsuserdefaults.get();
  }
};

},{"../ios/binarycookies":190,"../ios/credentialstorage":191,"../ios/filesystem":192,"../ios/hooking":193,"../ios/jailbreak":194,"../ios/keychain":195,"../ios/nsuserdefaults":199,"../ios/pasteboard":200,"../ios/pinning":201,"../ios/plist":202,"../ios/userinterface":203,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],211:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var o = require("../lib/jobs");

exports.jobs = {
  jobsGet: function() {
    return o.jobs.all();
  },
  jobsKill: function(e) {
    return o.jobs.kill(e);
  }
};

},{"../lib/jobs":207,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}],212:[function(require,module,exports){
"use strict";

var e = require("@babel/runtime-corejs2/helpers/interopRequireDefault"), r = e(require("@babel/runtime-corejs2/core-js/object/define-property"));

(0, r.default)(exports, "__esModule", {
  value: !0
});

var o = require("../generic/memory");

exports.memory = {
  memoryDump: function(e, r) {
    return o.memory.dump(e, r);
  },
  memoryListExports: function(e) {
    return o.memory.listExports(e);
  },
  memoryListModules: function() {
    return o.memory.listModules();
  },
  memoryListRanges: function(e) {
    return o.memory.listRanges(e);
  },
  memorySearch: function(e, r) {
    return o.memory.search(e, r);
  },
  memoryWrite: function(e, r) {
    return o.memory.write(e, r);
  }
};

},{"../generic/memory":187,"@babel/runtime-corejs2/core-js/object/define-property":7,"@babel/runtime-corejs2/helpers/interopRequireDefault":16}]},{},[189])

