return t.fromNumber(parseInt(i, 10));
i = e.Long.fromString(i)
}
return i.low || i.high ? new t(i.low >>> 0,i.high >>> 0) : n
}
,
t.prototype.toNumber = function(e) {
if (!e && this.hi >>> 31) {
var t = 1 + ~this.lo >>> 0
, n = ~this.hi >>> 0;
return t || (n = n + 1 >>> 0),
-(t + 4294967296 * n)
}
return this.lo + 4294967296 * this.hi
}
,
t.prototype.toLong = function(t) {
return e.Long ? new e.Long(0 | this.lo,0 | this.hi,Boolean(t)) : {
low: 0 | this.lo,
high: 0 | this.hi,
unsigned: Boolean(t)
}
}
;
var r = String.prototype.charCodeAt;
return t.fromHash = function(e) {
return e === i ? n : new t((r.call(e, 0) | r.call(e, 1) << 8 | r.call(e, 2) << 16 | r.call(e, 3) << 24) >>> 0,(r.call(e, 4) | r.call(e, 5) << 8 | r.call(e, 6) << 16 | r.call(e, 7) << 24) >>> 0)
}
,
t.prototype.toHash = function() {
return String.fromCharCode(255 & this.lo, this.lo >>> 8 & 255, this.lo >>> 16 & 255, this.lo >>> 24, 255 & this.hi, this.hi >>> 8 & 255, this.hi >>> 16 & 255, this.hi >>> 24)
}
,
t.prototype.zzEncode = function() {
var e = this.hi >> 31;
return this.hi = ((this.hi << 1 | this.lo >>> 31) ^ e) >>> 0,
this.lo = (this.lo << 1 ^ e) >>> 0,
this
}
,
t.prototype.zzDecode = function() {
var e = -(1 & this.lo);
return this.lo = ((this.lo >>> 1 | this.hi << 31) ^ e) >>> 0,
this.hi = (this.hi >>> 1 ^ e) >>> 0,
this
}
,
t.prototype.length = function() {
var e = this.lo
, t = (this.lo >>> 28 | this.hi << 4) >>> 0
, n = this.hi >>> 24;
return 0 === n ? 0 === t ? e < 16384 ? e < 128 ? 1 : 2 : e < 2097152 ? 3 : 4 : t < 16384 ? t < 128 ? 5 : 6 : t < 2097152 ? 7 : 8 : n < 128 ? 9 : 10
}
,
longbits
}
function requireMinimal() {
return hasRequiredMinimal || (hasRequiredMinimal = 1,
function(e) {
var t = e;
function n(e, t, n) {
for (var i = Object.keys(t), r = 0; r < i.length; ++r)
void 0 !== e[i[r]] && n || (e[i[r]] = t[i[r]]);
return e
}
function i(e) {
function t(e, i) {
if (!(this instanceof t))
return new t(e,i);
Object.defineProperty(this, "message", {
get: function() {
return e
}
}),
Error.captureStackTrace ? Error.captureStackTrace(this, t) : Object.defineProperty(this, "stack", {
value: (new Error).stack || ""
}),
i && n(this, i)
}
return t.prototype = Object.create(Error.prototype, {
constructor: {
value: t,
writable: !0,
enumerable: !1,
configurable: !0
},
name: {
get: function() {
return e
},
set: void 0,
enumerable: !1,
configurable: !0
},
toString: {
value: function() {
return this.name + ": " + this.message
},
writable: !0,
enumerable: !1,
configurable: !0
}
}),
t
}
t.asPromise = requireAspromise(),
t.base64 = requireBase64(),
t.EventEmitter = requireEventemitter(),
t.float = requireFloat(),
t.inquire = requireInquire(),
t.utf8 = requireUtf8(),
t.pool = requirePool(),
t.LongBits = requireLongbits(),
t.isNode = Boolean(void 0 !== commonjsGlobal && commonjsGlobal && commonjsGlobal.process && commonjsGlobal.process.versions && commonjsGlobal.process.versions.node),
t.global = t.isNode && commonjsGlobal || "undefined" != typeof window && window || "undefined" != typeof self && self || commonjsGlobal,
t.emptyArray = Object.freeze ? Object.freeze([]) : [],
t.emptyObject = Object.freeze ? Object.freeze({}) : {},
t.isInteger = Number.isInteger || function(e) {
return "number" == typeof e && isFinite(e) && Math.floor(e) === e
}
,
t.isString = function(e) {
return "string" == typeof e || e instanceof String
}
,
t.isObject = function(e) {
return e && "object" == typeof e
}
,
t.isset = t.isSet = function(e, t) {
var n = e[t];
return !(null == n || !e.hasOwnProperty(t)) && ("object" != typeof n || (Array.isArray(n) ? n.length : Object.keys(n).length) > 0)
}
,
t.Buffer = function() {
try {
|