made-in
Version:
Get GitHub projects created by users from a specific location.
700 lines (697 loc) • 141 kB
JavaScript
"use strict";
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _typeof2 = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (e) {
return typeof e === "undefined" ? "undefined" : _typeof(e);
} : function (e) {
return e && "function" == typeof Symbol && e.constructor === Symbol ? "symbol" : typeof e === "undefined" ? "undefined" : _typeof(e);
};!function (e) {
if ("object" === ("undefined" == typeof exports ? "undefined" : _typeof2(exports)) && "undefined" != typeof module) module.exports = e();else if ("function" == typeof define && define.amd) define([], e);else {
var t;t = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : this, t.madeIn = e();
}
}(function () {
var e;return function t(e, r, n) {
function o(s, a) {
if (!r[s]) {
if (!e[s]) {
var u = "function" == typeof require && require;if (!a && u) return u(s, !0);if (i) return i(s, !0);var f = new Error("Cannot find module '" + s + "'");throw f.code = "MODULE_NOT_FOUND", f;
}var c = r[s] = { exports: {} };e[s][0].call(c.exports, function (t) {
var r = e[s][1][t];return o(r ? r : t);
}, c, c.exports, t, e, r, n);
}return r[s].exports;
}for (var i = "function" == typeof require && require, s = 0; s < n.length; s++) {
o(n[s]);
}return o;
}({ 1: [function (e, t) {
function r(e, t) {
return l.isUndefined(t) ? "" + t : l.isNumber(t) && !isFinite(t) ? t.toString() : l.isFunction(t) || l.isRegExp(t) ? t.toString() : t;
}function n(e, t) {
return l.isString(e) ? e.length < t ? e : e.slice(0, t) : e;
}function o(e) {
return n(JSON.stringify(e.actual, r), 128) + " " + e.operator + " " + n(JSON.stringify(e.expected, r), 128);
}function i(e, t, r, n, o) {
throw new g.AssertionError({ message: r, actual: e, expected: t, operator: n, stackStartFunction: o });
}function s(e, t) {
e || i(e, !0, t, "==", g.ok);
}function a(e, t) {
if (e === t) return !0;if (l.isBuffer(e) && l.isBuffer(t)) {
if (e.length != t.length) return !1;for (var r = 0; r < e.length; r++) {
if (e[r] !== t[r]) return !1;
}return !0;
}return l.isDate(e) && l.isDate(t) ? e.getTime() === t.getTime() : l.isRegExp(e) && l.isRegExp(t) ? e.source === t.source && e.global === t.global && e.multiline === t.multiline && e.lastIndex === t.lastIndex && e.ignoreCase === t.ignoreCase : l.isObject(e) || l.isObject(t) ? f(e, t) : e == t;
}function u(e) {
return "[object Arguments]" == Object.prototype.toString.call(e);
}function f(e, t) {
if (l.isNullOrUndefined(e) || l.isNullOrUndefined(t)) return !1;if (e.prototype !== t.prototype) return !1;if (l.isPrimitive(e) || l.isPrimitive(t)) return e === t;var r = u(e),
n = u(t);if (r && !n || !r && n) return !1;if (r) return e = p.call(e), t = p.call(t), a(e, t);var o,
i,
s = y(e),
f = y(t);if (s.length != f.length) return !1;for (s.sort(), f.sort(), i = s.length - 1; i >= 0; i--) {
if (s[i] != f[i]) return !1;
}for (i = s.length - 1; i >= 0; i--) {
if (o = s[i], !a(e[o], t[o])) return !1;
}return !0;
}function c(e, t) {
return e && t ? "[object RegExp]" == Object.prototype.toString.call(t) ? t.test(e) : e instanceof t ? !0 : t.call({}, e) === !0 ? !0 : !1 : !1;
}function h(e, t, r, n) {
var o;l.isString(r) && (n = r, r = null);try {
t();
} catch (s) {
o = s;
}if (n = (r && r.name ? " (" + r.name + ")." : ".") + (n ? " " + n : "."), e && !o && i(o, r, "Missing expected exception" + n), !e && c(o, r) && i(o, r, "Got unwanted exception" + n), e && o && r && !c(o, r) || !e && o) throw o;
}var l = e("util/"),
p = Array.prototype.slice,
d = Object.prototype.hasOwnProperty,
g = t.exports = s;g.AssertionError = function (e) {
this.name = "AssertionError", this.actual = e.actual, this.expected = e.expected, this.operator = e.operator, e.message ? (this.message = e.message, this.generatedMessage = !1) : (this.message = o(this), this.generatedMessage = !0);var t = e.stackStartFunction || i;if (Error.captureStackTrace) Error.captureStackTrace(this, t);else {
var r = new Error();if (r.stack) {
var n = r.stack,
s = t.name,
a = n.indexOf("\n" + s);if (a >= 0) {
var u = n.indexOf("\n", a + 1);n = n.substring(u + 1);
}this.stack = n;
}
}
}, l.inherits(g.AssertionError, Error), g.fail = i, g.ok = s, g.equal = function (e, t, r) {
e != t && i(e, t, r, "==", g.equal);
}, g.notEqual = function (e, t, r) {
e == t && i(e, t, r, "!=", g.notEqual);
}, g.deepEqual = function (e, t, r) {
a(e, t) || i(e, t, r, "deepEqual", g.deepEqual);
}, g.notDeepEqual = function (e, t, r) {
a(e, t) && i(e, t, r, "notDeepEqual", g.notDeepEqual);
}, g.strictEqual = function (e, t, r) {
e !== t && i(e, t, r, "===", g.strictEqual);
}, g.notStrictEqual = function (e, t, r) {
e === t && i(e, t, r, "!==", g.notStrictEqual);
}, g["throws"] = function () {
h.apply(this, [!0].concat(p.call(arguments)));
}, g.doesNotThrow = function () {
h.apply(this, [!1].concat(p.call(arguments)));
}, g.ifError = function (e) {
if (e) throw e;
};var y = Object.keys || function (e) {
var t = [];for (var r in e) {
d.call(e, r) && t.push(r);
}return t;
};
}, { "util/": 36 }], 2: [function (e, t, r) {
function n() {
for (var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", t = 0, r = e.length; r > t; ++t) {
u[t] = e[t], f[e.charCodeAt(t)] = t;
}f["-".charCodeAt(0)] = 62, f["_".charCodeAt(0)] = 63;
}function o(e) {
var t,
r,
n,
o,
i,
s,
a = e.length;if (a % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4");i = "=" === e[a - 2] ? 2 : "=" === e[a - 1] ? 1 : 0, s = new c(3 * a / 4 - i), n = i > 0 ? a - 4 : a;var u = 0;for (t = 0, r = 0; n > t; t += 4, r += 3) {
o = f[e.charCodeAt(t)] << 18 | f[e.charCodeAt(t + 1)] << 12 | f[e.charCodeAt(t + 2)] << 6 | f[e.charCodeAt(t + 3)], s[u++] = o >> 16 & 255, s[u++] = o >> 8 & 255, s[u++] = 255 & o;
}return 2 === i ? (o = f[e.charCodeAt(t)] << 2 | f[e.charCodeAt(t + 1)] >> 4, s[u++] = 255 & o) : 1 === i && (o = f[e.charCodeAt(t)] << 10 | f[e.charCodeAt(t + 1)] << 4 | f[e.charCodeAt(t + 2)] >> 2, s[u++] = o >> 8 & 255, s[u++] = 255 & o), s;
}function i(e) {
return u[e >> 18 & 63] + u[e >> 12 & 63] + u[e >> 6 & 63] + u[63 & e];
}function s(e, t, r) {
for (var n, o = [], s = t; r > s; s += 3) {
n = (e[s] << 16) + (e[s + 1] << 8) + e[s + 2], o.push(i(n));
}return o.join("");
}function a(e) {
for (var t, r = e.length, n = r % 3, o = "", i = [], a = 16383, f = 0, c = r - n; c > f; f += a) {
i.push(s(e, f, f + a > c ? c : f + a));
}return 1 === n ? (t = e[r - 1], o += u[t >> 2], o += u[t << 4 & 63], o += "==") : 2 === n && (t = (e[r - 2] << 8) + e[r - 1], o += u[t >> 10], o += u[t >> 4 & 63], o += u[t << 2 & 63], o += "="), i.push(o), i.join("");
}r.toByteArray = o, r.fromByteArray = a;var u = [],
f = [],
c = "undefined" != typeof Uint8Array ? Uint8Array : Array;n();
}, {}], 3: [function () {}, {}], 4: [function (e, t, r) {
(function (t) {
var n = e("buffer"),
o = n.Buffer,
i = n.SlowBuffer,
s = n.kMaxLength || 2147483647;r.alloc = function (e, t, r) {
if ("function" == typeof o.alloc) return o.alloc(e, t, r);if ("number" == typeof r) throw new TypeError("encoding must not be number");if ("number" != typeof e) throw new TypeError("size must be a number");if (e > s) throw new RangeError("size is too large");var n = r,
i = t;void 0 === i && (n = void 0, i = 0);var a = new o(e);if ("string" == typeof i) for (var u = new o(i, n), f = u.length, c = -1; ++c < e;) {
a[c] = u[c % f];
} else a.fill(i);return a;
}, r.allocUnsafe = function (e) {
if ("function" == typeof o.allocUnsafe) return o.allocUnsafe(e);if ("number" != typeof e) throw new TypeError("size must be a number");if (e > s) throw new RangeError("size is too large");return new o(e);
}, r.from = function (e, r, n) {
if ("function" == typeof o.from && (!t.Uint8Array || Uint8Array.from !== o.from)) return o.from(e, r, n);if ("number" == typeof e) throw new TypeError('"value" argument must not be a number');if ("string" == typeof e) return new o(e, r);if ("undefined" != typeof ArrayBuffer && e instanceof ArrayBuffer) {
var i = r;if (1 === arguments.length) return new o(e);"undefined" == typeof i && (i = 0);var s = n;if ("undefined" == typeof s && (s = e.byteLength - i), i >= e.byteLength) throw new RangeError("'offset' is out of bounds");if (s > e.byteLength - i) throw new RangeError("'length' is out of bounds");return new o(e.slice(i, i + s));
}if (o.isBuffer(e)) {
var a = new o(e.length);return e.copy(a, 0, 0, e.length), a;
}if (e) {
if (Array.isArray(e) || "undefined" != typeof ArrayBuffer && e.buffer instanceof ArrayBuffer || "length" in e) return new o(e);if ("Buffer" === e.type && Array.isArray(e.data)) return new o(e.data);
}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");
}, r.allocUnsafeSlow = function (e) {
if ("function" == typeof o.allocUnsafeSlow) return o.allocUnsafeSlow(e);if ("number" != typeof e) throw new TypeError("size must be a number");if (e >= s) throw new RangeError("size is too large");return new i(e);
};
}).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
}, { buffer: 5 }], 5: [function (e, t, r) {
(function (t) {
function n() {
try {
var e = new Uint8Array(1);return e.__proto__ = { __proto__: Uint8Array.prototype, foo: function foo() {
return 42;
} }, 42 === e.foo() && "function" == typeof e.subarray && 0 === e.subarray(1, 1).byteLength;
} catch (t) {
return !1;
}
}function o() {
return s.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823;
}function i(e, t) {
if (o() < t) throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT ? (e = new Uint8Array(t), e.__proto__ = s.prototype) : (null === e && (e = new s(t)), e.length = t), e;
}function s(e, t, r) {
if (!(s.TYPED_ARRAY_SUPPORT || this instanceof s)) return new s(e, t, r);if ("number" == typeof e) {
if ("string" == typeof t) throw new Error("If encoding is specified then the first argument must be a string");return c(this, e);
}return a(this, e, t, r);
}function a(e, t, r, n) {
if ("number" == typeof t) throw new TypeError('"value" argument must not be a number');return "undefined" != typeof ArrayBuffer && t instanceof ArrayBuffer ? p(e, t, r, n) : "string" == typeof t ? h(e, t, r) : d(e, t);
}function u(e) {
if ("number" != typeof e) throw new TypeError('"size" argument must be a number');
}function f(e, t, r, n) {
return u(t), 0 >= t ? i(e, t) : void 0 !== r ? "string" == typeof n ? i(e, t).fill(r, n) : i(e, t).fill(r) : i(e, t);
}function c(e, t) {
if (u(t), e = i(e, 0 > t ? 0 : 0 | g(t)), !s.TYPED_ARRAY_SUPPORT) for (var r = 0; t > r; ++r) {
e[r] = 0;
}return e;
}function h(e, t, r) {
if (("string" != typeof r || "" === r) && (r = "utf8"), !s.isEncoding(r)) throw new TypeError('"encoding" must be a valid string encoding');var n = 0 | m(t, r);return e = i(e, n), e.write(t, r), e;
}function l(e, t) {
var r = 0 | g(t.length);e = i(e, r);for (var n = 0; r > n; n += 1) {
e[n] = 255 & t[n];
}return e;
}function p(e, t, r, n) {
if (t.byteLength, 0 > r || t.byteLength < r) throw new RangeError("'offset' is out of bounds");if (t.byteLength < r + (n || 0)) throw new RangeError("'length' is out of bounds");return t = void 0 === n ? new Uint8Array(t, r) : new Uint8Array(t, r, n), s.TYPED_ARRAY_SUPPORT ? (e = t, e.__proto__ = s.prototype) : e = l(e, t), e;
}function d(e, t) {
if (s.isBuffer(t)) {
var r = 0 | g(t.length);return e = i(e, r), 0 === e.length ? e : (t.copy(e, 0, 0, r), e);
}if (t) {
if ("undefined" != typeof ArrayBuffer && t.buffer instanceof ArrayBuffer || "length" in t) return "number" != typeof t.length || X(t.length) ? i(e, 0) : l(e, t);if ("Buffer" === t.type && Z(t.data)) return l(e, t.data);
}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");
}function g(e) {
if (e >= o()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o().toString(16) + " bytes");return 0 | e;
}function y(e) {
return +e != e && (e = 0), s.alloc(+e);
}function m(e, t) {
if (s.isBuffer(e)) return e.length;if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(e) || e instanceof ArrayBuffer)) return e.byteLength;"string" != typeof e && (e = "" + e);var r = e.length;if (0 === r) return 0;for (var n = !1;;) {
switch (t) {case "ascii":case "binary":case "raw":case "raws":
return r;case "utf8":case "utf-8":case void 0:
return H(e).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":
return 2 * r;case "hex":
return r >>> 1;case "base64":
return $(e).length;default:
if (n) return H(e).length;t = ("" + t).toLowerCase(), n = !0;}
}
}function v(e, t, r) {
var n = !1;if ((void 0 === t || 0 > t) && (t = 0), t > this.length) return "";if ((void 0 === r || r > this.length) && (r = this.length), 0 >= r) return "";if (r >>>= 0, t >>>= 0, t >= r) return "";for (e || (e = "utf8");;) {
switch (e) {case "hex":
return M(this, t, r);case "utf8":case "utf-8":
return k(this, t, r);case "ascii":
return C(this, t, r);case "binary":
return j(this, t, r);case "base64":
return O(this, t, r);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":
return L(this, t, r);default:
if (n) throw new TypeError("Unknown encoding: " + e);e = (e + "").toLowerCase(), n = !0;}
}
}function b(e, t, r) {
var n = e[t];e[t] = e[r], e[r] = n;
}function w(e, t, r, n) {
function o(e, t) {
return 1 === i ? e[t] : e.readUInt16BE(t * i);
}var i = 1,
s = e.length,
a = t.length;if (void 0 !== n && (n = String(n).toLowerCase(), "ucs2" === n || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) {
if (e.length < 2 || t.length < 2) return -1;i = 2, s /= 2, a /= 2, r /= 2;
}for (var u = -1, f = r; s > f; ++f) {
if (o(e, f) === o(t, -1 === u ? 0 : f - u)) {
if (-1 === u && (u = f), f - u + 1 === a) return u * i;
} else -1 !== u && (f -= f - u), u = -1;
}return -1;
}function _(e, t, r, n) {
r = Number(r) || 0;var o = e.length - r;n ? (n = Number(n), n > o && (n = o)) : n = o;var i = t.length;if (i % 2 !== 0) throw new Error("Invalid hex string");n > i / 2 && (n = i / 2);for (var s = 0; n > s; ++s) {
var a = parseInt(t.substr(2 * s, 2), 16);if (isNaN(a)) return s;e[r + s] = a;
}return s;
}function E(e, t, r, n) {
return J(H(t, e.length - r), e, r, n);
}function R(e, t, r, n) {
return J(W(t), e, r, n);
}function x(e, t, r, n) {
return R(e, t, r, n);
}function S(e, t, r, n) {
return J($(t), e, r, n);
}function A(e, t, r, n) {
return J(G(t, e.length - r), e, r, n);
}function O(e, t, r) {
return K.fromByteArray(0 === t && r === e.length ? e : e.slice(t, r));
}function k(e, t, r) {
r = Math.min(e.length, r);for (var n = [], o = t; r > o;) {
var i = e[o],
s = null,
a = i > 239 ? 4 : i > 223 ? 3 : i > 191 ? 2 : 1;if (r >= o + a) {
var u, f, c, h;switch (a) {case 1:
128 > i && (s = i);break;case 2:
u = e[o + 1], 128 === (192 & u) && (h = (31 & i) << 6 | 63 & u, h > 127 && (s = h));break;case 3:
u = e[o + 1], f = e[o + 2], 128 === (192 & u) && 128 === (192 & f) && (h = (15 & i) << 12 | (63 & u) << 6 | 63 & f, h > 2047 && (55296 > h || h > 57343) && (s = h));break;case 4:
u = e[o + 1], f = e[o + 2], c = e[o + 3], 128 === (192 & u) && 128 === (192 & f) && 128 === (192 & c) && (h = (15 & i) << 18 | (63 & u) << 12 | (63 & f) << 6 | 63 & c, h > 65535 && 1114112 > h && (s = h));}
}null === s ? (s = 65533, a = 1) : s > 65535 && (s -= 65536, n.push(s >>> 10 & 1023 | 55296), s = 56320 | 1023 & s), n.push(s), o += a;
}return T(n);
}function T(e) {
var t = e.length;if (Q >= t) return String.fromCharCode.apply(String, e);for (var r = "", n = 0; t > n;) {
r += String.fromCharCode.apply(String, e.slice(n, n += Q));
}return r;
}function C(e, t, r) {
var n = "";r = Math.min(e.length, r);for (var o = t; r > o; ++o) {
n += String.fromCharCode(127 & e[o]);
}return n;
}function j(e, t, r) {
var n = "";r = Math.min(e.length, r);for (var o = t; r > o; ++o) {
n += String.fromCharCode(e[o]);
}return n;
}function M(e, t, r) {
var n = e.length;(!t || 0 > t) && (t = 0), (!r || 0 > r || r > n) && (r = n);for (var o = "", i = t; r > i; ++i) {
o += F(e[i]);
}return o;
}function L(e, t, r) {
for (var n = e.slice(t, r), o = "", i = 0; i < n.length; i += 2) {
o += String.fromCharCode(n[i] + 256 * n[i + 1]);
}return o;
}function B(e, t, r) {
if (e % 1 !== 0 || 0 > e) throw new RangeError("offset is not uint");if (e + t > r) throw new RangeError("Trying to access beyond buffer length");
}function P(e, t, r, n, o, i) {
if (!s.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance');if (t > o || i > t) throw new RangeError('"value" argument is out of bounds');if (r + n > e.length) throw new RangeError("Index out of range");
}function U(e, t, r, n) {
0 > t && (t = 65535 + t + 1);for (var o = 0, i = Math.min(e.length - r, 2); i > o; ++o) {
e[r + o] = (t & 255 << 8 * (n ? o : 1 - o)) >>> 8 * (n ? o : 1 - o);
}
}function q(e, t, r, n) {
0 > t && (t = 4294967295 + t + 1);for (var o = 0, i = Math.min(e.length - r, 4); i > o; ++o) {
e[r + o] = t >>> 8 * (n ? o : 3 - o) & 255;
}
}function I(e, t, r, n) {
if (r + n > e.length) throw new RangeError("Index out of range");if (0 > r) throw new RangeError("Index out of range");
}function D(e, t, r, n, o) {
return o || I(e, t, r, 4, 3.4028234663852886e38, -3.4028234663852886e38), V.write(e, t, r, n, 23, 4), r + 4;
}function N(e, t, r, n, o) {
return o || I(e, t, r, 8, 1.7976931348623157e308, -1.7976931348623157e308), V.write(e, t, r, n, 52, 8), r + 8;
}function z(e) {
if (e = Y(e).replace(ee, ""), e.length < 2) return "";for (; e.length % 4 !== 0;) {
e += "=";
}return e;
}function Y(e) {
return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "");
}function F(e) {
return 16 > e ? "0" + e.toString(16) : e.toString(16);
}function H(e, t) {
t = t || 1 / 0;for (var r, n = e.length, o = null, i = [], s = 0; n > s; ++s) {
if (r = e.charCodeAt(s), r > 55295 && 57344 > r) {
if (!o) {
if (r > 56319) {
(t -= 3) > -1 && i.push(239, 191, 189);continue;
}if (s + 1 === n) {
(t -= 3) > -1 && i.push(239, 191, 189);continue;
}o = r;continue;
}if (56320 > r) {
(t -= 3) > -1 && i.push(239, 191, 189), o = r;continue;
}r = (o - 55296 << 10 | r - 56320) + 65536;
} else o && (t -= 3) > -1 && i.push(239, 191, 189);if (o = null, 128 > r) {
if ((t -= 1) < 0) break;i.push(r);
} else if (2048 > r) {
if ((t -= 2) < 0) break;i.push(r >> 6 | 192, 63 & r | 128);
} else if (65536 > r) {
if ((t -= 3) < 0) break;i.push(r >> 12 | 224, r >> 6 & 63 | 128, 63 & r | 128);
} else {
if (!(1114112 > r)) throw new Error("Invalid code point");if ((t -= 4) < 0) break;i.push(r >> 18 | 240, r >> 12 & 63 | 128, r >> 6 & 63 | 128, 63 & r | 128);
}
}return i;
}function W(e) {
for (var t = [], r = 0; r < e.length; ++r) {
t.push(255 & e.charCodeAt(r));
}return t;
}function G(e, t) {
for (var r, n, o, i = [], s = 0; s < e.length && !((t -= 2) < 0); ++s) {
r = e.charCodeAt(s), n = r >> 8, o = r % 256, i.push(o), i.push(n);
}return i;
}function $(e) {
return K.toByteArray(z(e));
}function J(e, t, r, n) {
for (var o = 0; n > o && !(o + r >= t.length || o >= e.length); ++o) {
t[o + r] = e[o];
}return o;
}function X(e) {
return e !== e;
}var K = e("base64-js"),
V = e("ieee754"),
Z = e("isarray");r.Buffer = s, r.SlowBuffer = y, r.INSPECT_MAX_BYTES = 50, s.TYPED_ARRAY_SUPPORT = void 0 !== t.TYPED_ARRAY_SUPPORT ? t.TYPED_ARRAY_SUPPORT : n(), r.kMaxLength = o(), s.poolSize = 8192, s._augment = function (e) {
return e.__proto__ = s.prototype, e;
}, s.from = function (e, t, r) {
return a(null, e, t, r);
}, s.TYPED_ARRAY_SUPPORT && (s.prototype.__proto__ = Uint8Array.prototype, s.__proto__ = Uint8Array, "undefined" != typeof Symbol && Symbol.species && s[Symbol.species] === s && Object.defineProperty(s, Symbol.species, { value: null, configurable: !0 })), s.alloc = function (e, t, r) {
return f(null, e, t, r);
}, s.allocUnsafe = function (e) {
return c(null, e);
}, s.allocUnsafeSlow = function (e) {
return c(null, e);
}, s.isBuffer = function (e) {
return !(null == e || !e._isBuffer);
}, s.compare = function (e, t) {
if (!s.isBuffer(e) || !s.isBuffer(t)) throw new TypeError("Arguments must be Buffers");if (e === t) return 0;for (var r = e.length, n = t.length, o = 0, i = Math.min(r, n); i > o; ++o) {
if (e[o] !== t[o]) {
r = e[o], n = t[o];break;
}
}return n > r ? -1 : r > n ? 1 : 0;
}, s.isEncoding = function (e) {
switch (String(e).toLowerCase()) {case "hex":case "utf8":case "utf-8":case "ascii":case "binary":case "base64":case "raw":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":
return !0;default:
return !1;}
}, s.concat = function (e, t) {
if (!Z(e)) throw new TypeError('"list" argument must be an Array of Buffers');if (0 === e.length) return s.alloc(0);var r;if (void 0 === t) for (t = 0, r = 0; r < e.length; ++r) {
t += e[r].length;
}var n = s.allocUnsafe(t),
o = 0;for (r = 0; r < e.length; ++r) {
var i = e[r];if (!s.isBuffer(i)) throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n, o), o += i.length;
}return n;
}, s.byteLength = m, s.prototype._isBuffer = !0, s.prototype.swap16 = function () {
var e = this.length;if (e % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits");for (var t = 0; e > t; t += 2) {
b(this, t, t + 1);
}return this;
}, s.prototype.swap32 = function () {
var e = this.length;if (e % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits");for (var t = 0; e > t; t += 4) {
b(this, t, t + 3), b(this, t + 1, t + 2);
}return this;
}, s.prototype.toString = function () {
var e = 0 | this.length;return 0 === e ? "" : 0 === arguments.length ? k(this, 0, e) : v.apply(this, arguments);
}, s.prototype.equals = function (e) {
if (!s.isBuffer(e)) throw new TypeError("Argument must be a Buffer");return this === e ? !0 : 0 === s.compare(this, e);
}, s.prototype.inspect = function () {
var e = "",
t = r.INSPECT_MAX_BYTES;return this.length > 0 && (e = this.toString("hex", 0, t).match(/.{2}/g).join(" "), this.length > t && (e += " ... ")), "<Buffer " + e + ">";
}, s.prototype.compare = function (e, t, r, n, o) {
if (!s.isBuffer(e)) throw new TypeError("Argument must be a Buffer");if (void 0 === t && (t = 0), void 0 === r && (r = e ? e.length : 0), void 0 === n && (n = 0), void 0 === o && (o = this.length), 0 > t || r > e.length || 0 > n || o > this.length) throw new RangeError("out of range index");if (n >= o && t >= r) return 0;if (n >= o) return -1;if (t >= r) return 1;if (t >>>= 0, r >>>= 0, n >>>= 0, o >>>= 0, this === e) return 0;for (var i = o - n, a = r - t, u = Math.min(i, a), f = this.slice(n, o), c = e.slice(t, r), h = 0; u > h; ++h) {
if (f[h] !== c[h]) {
i = f[h], a = c[h];break;
}
}return a > i ? -1 : i > a ? 1 : 0;
}, s.prototype.indexOf = function (e, t, r) {
if ("string" == typeof t ? (r = t, t = 0) : t > 2147483647 ? t = 2147483647 : -2147483648 > t && (t = -2147483648), t >>= 0, 0 === this.length) return -1;if (t >= this.length) return -1;if (0 > t && (t = Math.max(this.length + t, 0)), "string" == typeof e && (e = s.from(e, r)), s.isBuffer(e)) return 0 === e.length ? -1 : w(this, e, t, r);if ("number" == typeof e) return s.TYPED_ARRAY_SUPPORT && "function" === Uint8Array.prototype.indexOf ? Uint8Array.prototype.indexOf.call(this, e, t) : w(this, [e], t, r);throw new TypeError("val must be string, number or Buffer");
}, s.prototype.includes = function (e, t, r) {
return -1 !== this.indexOf(e, t, r);
}, s.prototype.write = function (e, t, r, n) {
if (void 0 === t) n = "utf8", r = this.length, t = 0;else if (void 0 === r && "string" == typeof t) n = t, r = this.length, t = 0;else {
if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t = 0 | t, isFinite(r) ? (r = 0 | r, void 0 === n && (n = "utf8")) : (n = r, r = void 0);
}var o = this.length - t;if ((void 0 === r || r > o) && (r = o), e.length > 0 && (0 > r || 0 > t) || t > this.length) throw new RangeError("Attempt to write outside buffer bounds");n || (n = "utf8");for (var i = !1;;) {
switch (n) {case "hex":
return _(this, e, t, r);case "utf8":case "utf-8":
return E(this, e, t, r);case "ascii":
return R(this, e, t, r);case "binary":
return x(this, e, t, r);case "base64":
return S(this, e, t, r);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":
return A(this, e, t, r);default:
if (i) throw new TypeError("Unknown encoding: " + n);n = ("" + n).toLowerCase(), i = !0;}
}
}, s.prototype.toJSON = function () {
return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) };
};var Q = 4096;s.prototype.slice = function (e, t) {
var r = this.length;e = ~~e, t = void 0 === t ? r : ~~t, 0 > e ? (e += r, 0 > e && (e = 0)) : e > r && (e = r), 0 > t ? (t += r, 0 > t && (t = 0)) : t > r && (t = r), e > t && (t = e);var n;if (s.TYPED_ARRAY_SUPPORT) n = this.subarray(e, t), n.__proto__ = s.prototype;else {
var o = t - e;n = new s(o, void 0);for (var i = 0; o > i; ++i) {
n[i] = this[i + e];
}
}return n;
}, s.prototype.readUIntLE = function (e, t, r) {
e = 0 | e, t = 0 | t, r || B(e, t, this.length);for (var n = this[e], o = 1, i = 0; ++i < t && (o *= 256);) {
n += this[e + i] * o;
}return n;
}, s.prototype.readUIntBE = function (e, t, r) {
e = 0 | e, t = 0 | t, r || B(e, t, this.length);for (var n = this[e + --t], o = 1; t > 0 && (o *= 256);) {
n += this[e + --t] * o;
}return n;
}, s.prototype.readUInt8 = function (e, t) {
return t || B(e, 1, this.length), this[e];
}, s.prototype.readUInt16LE = function (e, t) {
return t || B(e, 2, this.length), this[e] | this[e + 1] << 8;
}, s.prototype.readUInt16BE = function (e, t) {
return t || B(e, 2, this.length), this[e] << 8 | this[e + 1];
}, s.prototype.readUInt32LE = function (e, t) {
return t || B(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + 16777216 * this[e + 3];
}, s.prototype.readUInt32BE = function (e, t) {
return t || B(e, 4, this.length), 16777216 * this[e] + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
}, s.prototype.readIntLE = function (e, t, r) {
e = 0 | e, t = 0 | t, r || B(e, t, this.length);for (var n = this[e], o = 1, i = 0; ++i < t && (o *= 256);) {
n += this[e + i] * o;
}return o *= 128, n >= o && (n -= Math.pow(2, 8 * t)), n;
}, s.prototype.readIntBE = function (e, t, r) {
e = 0 | e, t = 0 | t, r || B(e, t, this.length);for (var n = t, o = 1, i = this[e + --n]; n > 0 && (o *= 256);) {
i += this[e + --n] * o;
}return o *= 128, i >= o && (i -= Math.pow(2, 8 * t)), i;
}, s.prototype.readInt8 = function (e, t) {
return t || B(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e];
}, s.prototype.readInt16LE = function (e, t) {
t || B(e, 2, this.length);var r = this[e] | this[e + 1] << 8;return 32768 & r ? 4294901760 | r : r;
}, s.prototype.readInt16BE = function (e, t) {
t || B(e, 2, this.length);var r = this[e + 1] | this[e] << 8;return 32768 & r ? 4294901760 | r : r;
}, s.prototype.readInt32LE = function (e, t) {
return t || B(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
}, s.prototype.readInt32BE = function (e, t) {
return t || B(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
}, s.prototype.readFloatLE = function (e, t) {
return t || B(e, 4, this.length), V.read(this, e, !0, 23, 4);
}, s.prototype.readFloatBE = function (e, t) {
return t || B(e, 4, this.length), V.read(this, e, !1, 23, 4);
}, s.prototype.readDoubleLE = function (e, t) {
return t || B(e, 8, this.length), V.read(this, e, !0, 52, 8);
}, s.prototype.readDoubleBE = function (e, t) {
return t || B(e, 8, this.length), V.read(this, e, !1, 52, 8);
}, s.prototype.writeUIntLE = function (e, t, r, n) {
if (e = +e, t = 0 | t, r = 0 | r, !n) {
var o = Math.pow(2, 8 * r) - 1;P(this, e, t, r, o, 0);
}var i = 1,
s = 0;for (this[t] = 255 & e; ++s < r && (i *= 256);) {
this[t + s] = e / i & 255;
}return t + r;
}, s.prototype.writeUIntBE = function (e, t, r, n) {
if (e = +e, t = 0 | t, r = 0 | r, !n) {
var o = Math.pow(2, 8 * r) - 1;P(this, e, t, r, o, 0);
}var i = r - 1,
s = 1;for (this[t + i] = 255 & e; --i >= 0 && (s *= 256);) {
this[t + i] = e / s & 255;
}return t + r;
}, s.prototype.writeUInt8 = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 1, 255, 0), s.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), this[t] = 255 & e, t + 1;
}, s.prototype.writeUInt16LE = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 2, 65535, 0), s.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : U(this, e, t, !0), t + 2;
}, s.prototype.writeUInt16BE = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 2, 65535, 0), s.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : U(this, e, t, !1), t + 2;
}, s.prototype.writeUInt32LE = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 4, 4294967295, 0), s.TYPED_ARRAY_SUPPORT ? (this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = 255 & e) : q(this, e, t, !0), t + 4;
}, s.prototype.writeUInt32BE = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 4, 4294967295, 0), s.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : q(this, e, t, !1), t + 4;
}, s.prototype.writeIntLE = function (e, t, r, n) {
if (e = +e, t = 0 | t, !n) {
var o = Math.pow(2, 8 * r - 1);P(this, e, t, r, o - 1, -o);
}var i = 0,
s = 1,
a = 0;for (this[t] = 255 & e; ++i < r && (s *= 256);) {
0 > e && 0 === a && 0 !== this[t + i - 1] && (a = 1), this[t + i] = (e / s >> 0) - a & 255;
}return t + r;
}, s.prototype.writeIntBE = function (e, t, r, n) {
if (e = +e, t = 0 | t, !n) {
var o = Math.pow(2, 8 * r - 1);P(this, e, t, r, o - 1, -o);
}var i = r - 1,
s = 1,
a = 0;for (this[t + i] = 255 & e; --i >= 0 && (s *= 256);) {
0 > e && 0 === a && 0 !== this[t + i + 1] && (a = 1), this[t + i] = (e / s >> 0) - a & 255;
}return t + r;
}, s.prototype.writeInt8 = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 1, 127, -128), s.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), 0 > e && (e = 255 + e + 1), this[t] = 255 & e, t + 1;
}, s.prototype.writeInt16LE = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 2, 32767, -32768), s.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : U(this, e, t, !0), t + 2;
}, s.prototype.writeInt16BE = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 2, 32767, -32768), s.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : U(this, e, t, !1), t + 2;
}, s.prototype.writeInt32LE = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 4, 2147483647, -2147483648), s.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24) : q(this, e, t, !0), t + 4;
}, s.prototype.writeInt32BE = function (e, t, r) {
return e = +e, t = 0 | t, r || P(this, e, t, 4, 2147483647, -2147483648), 0 > e && (e = 4294967295 + e + 1), s.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : q(this, e, t, !1), t + 4;
}, s.prototype.writeFloatLE = function (e, t, r) {
return D(this, e, t, !0, r);
}, s.prototype.writeFloatBE = function (e, t, r) {
return D(this, e, t, !1, r);
}, s.prototype.writeDoubleLE = function (e, t, r) {
return N(this, e, t, !0, r);
}, s.prototype.writeDoubleBE = function (e, t, r) {
return N(this, e, t, !1, r);
}, s.prototype.copy = function (e, t, r, n) {
if (r || (r = 0), n || 0 === n || (n = this.length), t >= e.length && (t = e.length), t || (t = 0), n > 0 && r > n && (n = r), n === r) return 0;if (0 === e.length || 0 === this.length) return 0;if (0 > t) throw new RangeError("targetStart out of bounds");if (0 > r || r >= this.length) throw new RangeError("sourceStart out of bounds");if (0 > n) throw new RangeError("sourceEnd out of bounds");n > this.length && (n = this.length), e.length - t < n - r && (n = e.length - t + r);var o,
i = n - r;if (this === e && t > r && n > t) for (o = i - 1; o >= 0; --o) {
e[o + t] = this[o + r];
} else if (1e3 > i || !s.TYPED_ARRAY_SUPPORT) for (o = 0; i > o; ++o) {
e[o + t] = this[o + r];
} else Uint8Array.prototype.set.call(e, this.subarray(r, r + i), t);return i;
}, s.prototype.fill = function (e, t, r, n) {
if ("string" == typeof e) {
if ("string" == typeof t ? (n = t, t = 0, r = this.length) : "string" == typeof r && (n = r, r = this.length), 1 === e.length) {
var o = e.charCodeAt(0);256 > o && (e = o);
}if (void 0 !== n && "string" != typeof n) throw new TypeError("encoding must be a string");if ("string" == typeof n && !s.isEncoding(n)) throw new TypeError("Unknown encoding: " + n);
} else "number" == typeof e && (e = 255 & e);if (0 > t || this.length < t || this.length < r) throw new RangeError("Out of range index");if (t >= r) return this;t >>>= 0, r = void 0 === r ? this.length : r >>> 0, e || (e = 0);var i;if ("number" == typeof e) for (i = t; r > i; ++i) {
this[i] = e;
} else {
var a = s.isBuffer(e) ? e : H(new s(e, n).toString()),
u = a.length;for (i = 0; r - t > i; ++i) {
this[i + t] = a[i % u];
}
}return this;
};var ee = /[^+\/0-9A-Za-z-_]/g;
}).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
}, { "base64-js": 2, ieee754: 10, isarray: 13 }], 6: [function (e, t) {
t.exports = { 100: "Continue", 101: "Switching Protocols", 102: "Processing", 200: "OK", 201: "Created", 202: "Accepted", 203: "Non-Authoritative Information", 204: "No Content", 205: "Reset Content", 206: "Partial Content", 207: "Multi-Status", 208: "Already Reported", 226: "IM Used", 300: "Multiple Choices", 301: "Moved Permanently", 302: "Found", 303: "See Other", 304: "Not Modified", 305: "Use Proxy", 307: "Temporary Redirect", 308: "Permanent Redirect", 400: "Bad Request", 401: "Unauthorized", 402: "Payment Required", 403: "Forbidden", 404: "Not Found", 405: "Method Not Allowed", 406: "Not Acceptable", 407: "Proxy Authentication Required", 408: "Request Timeout", 409: "Conflict", 410: "Gone", 411: "Length Required", 412: "Precondition Failed", 413: "Payload Too Large", 414: "URI Too Long", 415: "Unsupported Media Type", 416: "Range Not Satisfiable", 417: "Expectation Failed", 418: "I'm a teapot", 421: "Misdirected Request", 422: "Unprocessable Entity", 423: "Locked", 424: "Failed Dependency", 425: "Unordered Collection", 426: "Upgrade Required", 428: "Precondition Required", 429: "Too Many Requests", 431: "Request Header Fields Too Large", 500: "Internal Server Error", 501: "Not Implemented", 502: "Bad Gateway", 503: "Service Unavailable", 504: "Gateway Timeout", 505: "HTTP Version Not Supported", 506: "Variant Also Negotiates", 507: "Insufficient Storage", 508: "Loop Detected", 509: "Bandwidth Limit Exceeded", 510: "Not Extended", 511: "Network Authentication Required" };
}, {}], 7: [function (e, t, r) {
(function (e) {
function t(e) {
return Array.isArray ? Array.isArray(e) : "[object Array]" === y(e);
}function n(e) {
return "boolean" == typeof e;
}function o(e) {
return null === e;
}function i(e) {
return null == e;
}function s(e) {
return "number" == typeof e;
}function a(e) {
return "string" == typeof e;
}function u(e) {
return "symbol" === ("undefined" == typeof e ? "undefined" : _typeof2(e));
}function f(e) {
return void 0 === e;
}function c(e) {
return "[object RegExp]" === y(e);
}function h(e) {
return "object" === ("undefined" == typeof e ? "undefined" : _typeof2(e)) && null !== e;
}function l(e) {
return "[object Date]" === y(e);
}function p(e) {
return "[object Error]" === y(e) || e instanceof Error;
}function d(e) {
return "function" == typeof e;
}function g(e) {
return null === e || "boolean" == typeof e || "number" == typeof e || "string" == typeof e || "symbol" === ("undefined" == typeof e ? "undefined" : _typeof2(e)) || "undefined" == typeof e;
}function y(e) {
return Object.prototype.toString.call(e);
}r.isArray = t, r.isBoolean = n, r.isNull = o, r.isNullOrUndefined = i, r.isNumber = s, r.isString = a, r.isSymbol = u, r.isUndefined = f, r.isRegExp = c, r.isObject = h, r.isDate = l, r.isError = p, r.isFunction = d, r.isPrimitive = g, r.isBuffer = e.isBuffer;
}).call(this, { isBuffer: e("../../is-buffer/index.js") });
}, { "../../is-buffer/index.js": 12 }], 8: [function (e, t) {
function r() {
this._events = this._events || {}, this._maxListeners = this._maxListeners || void 0;
}function n(e) {
return "function" == typeof e;
}function o(e) {
return "number" == typeof e;
}function i(e) {
return "object" === ("undefined" == typeof e ? "undefined" : _typeof2(e)) && null !== e;
}function s(e) {
return void 0 === e;
}t.exports = r, r.EventEmitter = r, r.prototype._events = void 0, r.prototype._maxListeners = void 0, r.defaultMaxListeners = 10, r.prototype.setMaxListeners = function (e) {
if (!o(e) || 0 > e || isNaN(e)) throw TypeError("n must be a positive number");return this._maxListeners = e, this;
}, r.prototype.emit = function (e) {
var t, r, o, a, u, f;if (this._events || (this._events = {}), "error" === e && (!this._events.error || i(this._events.error) && !this._events.error.length)) {
if (t = arguments[1], t instanceof Error) throw t;var c = new Error('Uncaught, unspecified "error" event. (' + t + ")");throw c.context = t, c;
}if (r = this._events[e], s(r)) return !1;if (n(r)) switch (arguments.length) {case 1:
r.call(this);break;case 2:
r.call(this, arguments[1]);break;case 3:
r.call(this, arguments[1], arguments[2]);break;default:
a = Array.prototype.slice.call(arguments, 1), r.apply(this, a);} else if (i(r)) for (a = Array.prototype.slice.call(arguments, 1), f = r.slice(), o = f.length, u = 0; o > u; u++) {
f[u].apply(this, a);
}return !0;
}, r.prototype.addListener = function (e, t) {
var o;if (!n(t)) throw TypeError("listener must be a function");return this._events || (this._events = {}), this._events.newListener && this.emit("newListener", e, n(t.listener) ? t.listener : t), this._events[e] ? i(this._events[e]) ? this._events[e].push(t) : this._events[e] = [this._events[e], t] : this._events[e] = t, i(this._events[e]) && !this._events[e].warned && (o = s(this._maxListeners) ? r.defaultMaxListeners : this._maxListeners, o && o > 0 && this._events[e].length > o && (this._events[e].warned = !0, console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.", this._events[e].length), "function" == typeof console.trace && console.trace())), this;
}, r.prototype.on = r.prototype.addListener, r.prototype.once = function (e, t) {
function r() {
this.removeListener(e, r), o || (o = !0, t.apply(this, arguments));
}if (!n(t)) throw TypeError("listener must be a function");var o = !1;return r.listener = t, this.on(e, r), this;
}, r.prototype.removeListener = function (e, t) {
var r, o, s, a;if (!n(t)) throw TypeError("listener must be a function");if (!this._events || !this._events[e]) return this;if (r = this._events[e], s = r.length, o = -1, r === t || n(r.listener) && r.listener === t) delete this._events[e], this._events.removeListener && this.emit("removeListener", e, t);else if (i(r)) {
for (a = s; a-- > 0;) {
if (r[a] === t || r[a].listener && r[a].listener === t) {
o = a;break;
}
}if (0 > o) return this;
1 === r.length ? (r.length = 0, delete this._events[e]) : r.splice(o, 1), this._events.removeListener && this.emit("removeListener", e, t);
}return this;
}, r.prototype.removeAllListeners = function (e) {
var t, r;if (!this._events) return this;if (!this._events.removeListener) return 0 === arguments.length ? this._events = {} : this._events[e] && delete this._events[e], this;if (0 === arguments.length) {
for (t in this._events) {
"removeListener" !== t && this.removeAllListeners(t);
}return this.removeAllListeners("removeListener"), this._events = {}, this;
}if (r = this._events[e], n(r)) this.removeListener(e, r);else if (r) for (; r.length;) {
this.removeListener(e, r[r.length - 1]);
}return delete this._events[e], this;
}, r.prototype.listeners = function (e) {
var t;return t = this._events && this._events[e] ? n(this._events[e]) ? [this._events[e]] : this._events[e].slice() : [];
}, r.prototype.listenerCount = function (e) {
if (this._events) {
var t = this._events[e];if (n(t)) return 1;if (t) return t.length;
}return 0;
}, r.listenerCount = function (e, t) {
return e.listenerCount(t);
};
}, {}], 9: [function (e, t) {
var r = e("http"),
n = t.exports;for (var o in r) {
r.hasOwnProperty(o) && (n[o] = r[o]);
}n.request = function (e, t) {
return e || (e = {}), e.scheme = "https", e.protocol = "https:", r.request.call(this, e, t);
};
}, { http: 26 }], 10: [function (e, t, r) {
r.read = function (e, t, r, n, o) {
var i,
s,
a = 8 * o - n - 1,
u = (1 << a) - 1,
f = u >> 1,
c = -7,
h = r ? o - 1 : 0,
l = r ? -1 : 1,
p = e[t + h];for (h += l, i = p & (1 << -c) - 1, p >>= -c, c += a; c > 0; i = 256 * i + e[t + h], h += l, c -= 8) {}for (s = i & (1 << -c) - 1, i >>= -c, c += n; c > 0; s = 256 * s + e[t + h], h += l, c -= 8) {}if (0 === i) i = 1 - f;else {
if (i === u) return s ? 0 / 0 : (p ? -1 : 1) * (1 / 0);s += Math.pow(2, n), i -= f;
}return (p ? -1 : 1) * s * Math.pow(2, i - n);
}, r.write = function (e, t, r, n, o, i) {
var s,
a,
u,
f = 8 * i - o - 1,
c = (1 << f) - 1,
h = c >> 1,
l = 23 === o ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
p = n ? 0 : i - 1,
d = n ? 1 : -1,
g = 0 > t || 0 === t && 0 > 1 / t ? 1 : 0;for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (a = isNaN(t) ? 1 : 0, s = c) : (s = Math.floor(Math.log(t) / Math.LN2), t * (u = Math.pow(2, -s)) < 1 && (s--, u *= 2), t += s + h >= 1 ? l / u : l * Math.pow(2, 1 - h), t * u >= 2 && (s++, u /= 2), s + h >= c ? (a = 0, s = c) : s + h >= 1 ? (a = (t * u - 1) * Math.pow(2, o), s += h) : (a = t * Math.pow(2, h - 1) * Math.pow(2, o), s = 0)); o >= 8; e[r + p] = 255 & a, p += d, a /= 256, o -= 8) {}for (s = s << o | a, f += o; f > 0; e[r + p] = 255 & s, p += d, s /= 256, f -= 8) {}e[r + p - d] |= 128 * g;
};
}, {}], 11: [function (e, t) {
t.exports = "function" == typeof Object.create ? function (e, t) {
e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } });
} : function (e, t) {
e.super_ = t;var r = function r() {};r.prototype = t.prototype, e.prototype = new r(), e.prototype.constructor = e;
};
}, {}], 12: [function (e, t) {
t.exports = function (e) {
return !(null == e || !(e._isBuffer || e.constructor && "function" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e)));
};
}, {}], 13: [function (e, t) {
var r = {}.toString;t.exports = Array.isArray || function (e) {
return "[object Array]" == r.call(e);
};
}, {}], 14: [function (e, t) {
(function (e) {
function r(t, r, n, o) {
if ("function" != typeof t) throw new TypeError('"callback" argument must be a function');var i,
s,
a = arguments.length;switch (a) {case 0:case 1:
return e.nextTick(t);case 2:
return e.nextTick(function () {
t.call(null, r);
});case 3:
return e.nextTick(function () {
t.call(null, r, n);
});case 4:
return e.nextTick(function () {
t.call(null, r, n, o);
});default:
for (i = new Array(a - 1), s = 0; s < i.length;) {
i[s++] =