/*! * protobuf.js v8.7.1 (c) 2016, daniel wirtz * compiled mon, 13 jul 2026 11:04:12 utc * licensed under the bsd-3-clause license * see: https://github.com/dcodeio/protobuf.js for details */ !function(y){"use strict";var n,e,i;n={1:[function(t,i,r){},{}],2:[function(t,i,r){var v=t(5),b=t(23),p=t(24);function h(t,i,r,n,e){if(i.resolvedType)if(i.resolvedType instanceof v){var s=e?"m"+e+"[m"+e+".length]":"m"+n;t("switch(d%s){",n);for(var o=i.resolvedType.values,h=Object.keys(o),u=0;u>>0",n,n);break;case"int32":case"sint32":case"sfixed32":t("m%s=d%s|0",n,n);break;case"uint64":case"fixed64":f=!0;case"int64":case"sint64":case"sfixed64":t("if(util.Long)")("m%s=util.Long.fromValue(d%s,%j)",n,n,f)('else if(typeof d%s==="string")',n)("m%s=parseInt(d%s,10)",n,n)('else if(typeof d%s==="number")',n)("m%s=d%s",n,n)('else if(typeof d%s==="object")',n)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",n,n,n,f?"true":"");break;case"bytes":t('if(typeof d%s==="string")',n)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",n,n,n)("else if(d%s.length>=0)",n)("m%s=d%s",n,n);break;case"string":t("m%s=String(d%s)",n,n);break;case"bool":t("m%s=Boolean(d%s)",n,n)}}return t}function m(t,i,r,n,e){if(e=e||n,i.resolvedType)i.resolvedType instanceof v?t("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s",n,r,e,e,r,e,e):t("d%s=types[%i].toObject(m%s,o,q+1)",n,r,e);else{var s=!1;switch(i.type){case"double":case"float":t("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",n,e,e,e);break;case"uint64":case"fixed64":s=!0;case"int64":case"sint64":case"sfixed64":t('if(typeof BigInt!=="undefined"&&o.longs===BigInt)')('d%s=typeof m%s==="number"?BigInt(m%s):util.Long.fromBits(m%s.low>>>0,m%s.high>>>0,%j).toBigInt()',n,e,e,e,e,s)('else if(typeof m%s==="number")',e)("d%s=o.longs===String?String(m%s):m%s",n,e,e)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",n,e,e,e,s?"true":"",e);break;case"bytes":t("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",n,e,e,e,e);break;default:t("d%s=m%s",n,e)}}return t}r.fromObject=function(t){var i=t.fieldsArray,r=p.codegen(["d","q"])("if(d instanceof C)")("return d")("if(!util.isObject(d))")("throw TypeError(%j)",t.fullName+": object expected")("if(q===undefined)q=0")("if(q>util.recursionLimit)")('throw Error("max depth exceeded")');if(!i.length)return r("return new C");r("var m=new C");for(var n=0;nutil.recursionLimit)")('throw Error("max depth exceeded")')("var d={}"),n=[],e=[],s=[],o=0;oReader.recursionLimit)")('throw Error("max depth exceeded")')("var c=l===undefined?r.len:r.pos+l,m=g||new C"+(i?",k,v":r?",v":""))("while(r.pos>>=3){");for(n=0;n>>=3){")("case 1:")("if(u!==%i)",d.mapKey[h.keyType])("break")("k=r.%s()","string"===h.keyType?b(h):h.keyType)("continue")("case 2:")("if(u!==%i)",d.basic[u]===y?2:d.basic[u])("break"),d.basic[u]===y?s("v=types[%i].decode(r,r.uint32(),undefined,q+1,v)",n):s("v=r.%s()","string"===u?b(h):u),s("continue")("}")("r.skipType(u,q,t2)")("}"),c&&(s("if(types[%i].valuesById[v]===undefined){",n),p(s,"r.raw(s,r.pos)")("continue")("}")("if(%s===util.emptyObject)",f)("%s={}",f)),o=d.basic[u]===y?"v||new types["+n+"].ctor":"v",d.long[h.keyType]!==y?s('%s[typeof k==="object"?util.longToHash(k):k]=%s',f,o):("string"===h.keyType&&s('if(k==="__proto__")')("util.makeProp(%s,k)",f),s("%s[k]=%s",f,o))):h.repeated?(s("case %i:",h.id)("{"),d.packed[u]!==y&&(s("if(u===2){"),c?(s("var c2=r.uint32()+r.pos")("while(r.posutil.recursionLimit)")('throw Error("max depth exceeded")'),n=t.fieldsArray.slice().sort(a.compareFieldsById),e=0;e>>0,8|c.mapKey[s.keyType]):c.long[s.keyType]!==y?r("w.uint32(%i).fork().uint32(%i).%s(util.longFromKey(ks[i],%j))",(s.id<<3|2)>>>0,8|c.mapKey[s.keyType],s.keyType,"uint64"===s.keyType||"fixed64"===s.keyType):r("w.uint32(%i).fork().uint32(%i).%s(ks[i])",(s.id<<3|2)>>>0,8|c.mapKey[s.keyType],s.keyType),u===y?r("types[%i].encode(%s[ks[i]],w.uint32(18).fork(),q+1).ldelim().ldelim()",o,i):r(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|u,h,i),r("}")("}")):s.repeated?(r("if(%s!=null&&%s.length){",i,i),s.packed&&c.packed[h]!==y?r("w.uint32(%i).%ss(%s)",(s.id<<3|2)>>>0,h,i):(r("for(var i=0;i<%s.length;++i)",i),u===y?l(r,s,o,i+"[i]"):r("w.uint32(%i).%s(%s[i])",(s.id<<3|u)>>>0,h,i)),r("}")):(s.required||(s.hasPresence||!(s.resolvedType instanceof f||c.basic[h]!==y)?r("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",i,s.name):s.resolvedType instanceof f?r("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!==%j)",i,s.name,i,s.typeDefault):"bool"===h?r("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!==false)",i,s.name,i):"string"===h?r('if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!=="")',i,s.name,i):"bytes"===h?r("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s.length)",i,s.name,i):"double"===h||"float"===h?r("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&!Object.is(%s,0))",i,s.name,i):c.long[h]!==y?r('if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&(typeof %s==="object"?%s.low||%s.high:%s!==0))',i,s.name,i,i,i,i):r("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!==0)",i,s.name,i)),u===y?l(r,s,o,i):r("w.uint32(%i).%s(%s)",(s.id<<3|u)>>>0,h,i))}return r('if(m.$unknowns!=null&&Object.hasOwnProperty.call(m,"$unknowns"))')("for(var i=0;i>>0,(i.id<<3|4)>>>0):t("types[%i].encode(%s,w.uint32(%i).fork(),q+1).ldelim()",r,n,(i.id<<3|2)>>>0)}},{23:23,24:24,5:5}],5:[function(t,i,r){i.exports=s;var u=t(13),n=(s.prototype=Object.create(u.prototype,{constructor:{value:s,writable:!0,enumerable:!1,configurable:!0}}),s.className="Enum",t(12)),e=t(24);function s(t,i,r,n,e,s){if(u.call(this,t,r),i&&"object"!=typeof i)throw TypeError("values must be an object");if(this.valuesById=Object.create(null),this.values=Object.create(this.valuesById),this.comment=n,this.comments=e||{},this.valuesOptions=s,this.r={},this.reserved=y,i)for(var o=Object.keys(i),h=0;h{var i=e.merge({},this.t);this.r[t]=e.merge(i,this.valuesOptions&&this.valuesOptions[t]&&this.valuesOptions[t].features||{})}),this},s.fromJSON=function(t,i){t=new s(t,i.values,i.options,i.comment,i.comments,i.valuesOptions);return t.reserved=i.reserved,i.edition&&(t.e=i.edition),t.s="proto3",t},s.prototype.toJSON=function(t){t=!!t&&!!t.keepComments;return e.toObject(["edition",this.o(),"options",this.options,"valuesOptions",this.valuesOptions,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:y,"comment",t?this.comment:y,"comments",t?this.comments:y])},s.prototype.add=function(t,i,r,n){if(!e.isString(t))throw TypeError("name must be a string");if(!e.isInteger(i))throw TypeError("id must be an integer");if("__proto__"!==t){if(this.values[t]!==y)throw Error("duplicate name '"+t+"' in "+this);if(this.isReservedId(i))throw Error("id "+i+" is reserved in "+this);if(this.isReservedName(t))throw Error("name '"+t+"' is reserved in "+this);if(this.valuesById[i]!==y){if(!this.options||!this.options.allow_alias)throw Error("duplicate id "+i+" in "+this);this.values[t]=i}else this.valuesById[this.values[t]=i]=t;n&&(this.valuesOptions===y&&(this.valuesOptions={}),this.valuesOptions[t]=n||null),this.comments[t]=r||null}return this},s.prototype.remove=function(t){if(!e.isString(t))throw TypeError("name must be a string");var i=this.values[t];if(null==i)throw Error("name '"+t+"' does not exist in "+this);return delete this.valuesById[i],delete this.values[t],delete this.comments[t],this.valuesOptions&&delete this.valuesOptions[t],this},s.prototype.isReservedId=function(t){return n.isReservedId(this.reserved,t)},s.prototype.isReservedName=function(t){return n.isReservedName(this.reserved,t)}},{12:12,13:13,24:24}],6:[function(t,i,r){i.exports=o;var n,h=t(13),e=(o.prototype=Object.create(h.prototype,{constructor:{value:o,writable:!0,enumerable:!1,configurable:!0}}),o.className="Field",t(5)),u=t(23),f=t(24),c=/^(?:required|optional|repeated)$/;function o(t,i,r,n,e,s,o){if(f.isObject(n)?(o=e,s=n,n=e=y):f.isObject(e)&&(o=s,s=e,e=y),h.call(this,t,s),!f.isInteger(i)||i<0)throw TypeError("id must be a non-negative integer");if(!f.isString(r))throw TypeError("type must be a string");if(n!==y&&!c.test(n=n.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(e!==y&&!f.isString(e))throw TypeError("extend must be a string");this.rule=n&&"optional"!==n?n:y,this.type=r,this.id=i,this.extend=e||y,this.repeated="repeated"===n,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!f.Long&&u.long[r]!==y,this.bytes="bytes"===r,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this.comment=o,this.protoName=y,this.jsonName=y}o.fromJSON=function(t,i){t=new o(t,i.id,i.type,i.rule,i.extend,i.options,i.comment);return i.edition&&(t.e=i.edition),i.protoName&&(t.protoName=i.protoName),i.jsonName!==y?t.jsonName=i.jsonName:i.options&&i.options.json_name!==y&&(t.jsonName=i.options.json_name),t.s="proto3",t},Object.defineProperty(o.prototype,"required",{get:function(){return"LEGACY_REQUIRED"===this.t.field_presence}}),Object.defineProperty(o.prototype,"optional",{get:function(){return!this.required}}),Object.defineProperty(o.prototype,"delimited",{get:function(){return this.resolvedType instanceof n&&"DELIMITED"===this.t.message_encoding}}),Object.defineProperty(o.prototype,"packed",{get:function(){return"PACKED"===this.t.repeated_field_encoding}}),Object.defineProperty(o.prototype,"hasPresence",{get:function(){return!this.repeated&&!this.map&&(this.partOf||this.declaringField||this.extensionField||"IMPLICIT"!==this.t.field_presence)}}),o.prototype.setOption=function(t,i,r){return h.prototype.setOption.call(this,t,i,r)},o.prototype.toJSON=function(t){t=!!t&&!!t.keepComments;return f.toObject(["edition",this.o(),"rule","optional"!==this.rule&&this.rule||y,"type",this.type,"id",this.id,"extend",this.extend,"protoName",this.protoName!==this.name?this.protoName:y,"jsonName",this.jsonName!==f.jsonName(this.protoName||this.name)?this.jsonName:y,"options",this.options,"comment",t?this.comment:y])},o.prototype.resolve=function(){var t;return this.resolved?this:((this.typeDefault=u.defaults[this.type])===y?(this.resolvedType=(this.declaringField||this).parent.lookupTypeOrEnum(this.type),this.resolvedType instanceof n?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]):this.options&&this.options.proto3_optional&&(this.typeDefault=null),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof e&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(this.options.packed===y||!this.resolvedType||this.resolvedType instanceof e||delete this.options.packed,Object.keys(this.options).length||(this.options=y)),this.long?(this.typeDefault=f.Long.fromNumber(this.typeDefault,"uint64"===this.type||"fixed64"===this.type),Object.freeze&&Object.freeze(this.typeDefault)):this.bytes&&"string"==typeof this.typeDefault&&(f.base64.test(this.typeDefault)?f.base64.decode(this.typeDefault,t=f.newBuffer(f.base64.length(this.typeDefault)),0):f.utf8.write(this.typeDefault,t=f.newBuffer(f.utf8.length(this.typeDefault)),0),this.typeDefault=t),this.map?this.defaultValue=f.emptyObject:this.repeated?this.defaultValue=f.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof n&&this.parent.h&&(this.parent.h.prototype[this.name]=this.defaultValue),this.protoName===y&&(this.protoName=this.name),this.jsonName===y&&(this.jsonName=f.jsonName(this.protoName)),h.prototype.resolve.call(this))},o.prototype.u=function(t){var i;return"proto2"!==t&&"proto3"!==t?{}:(t={},"required"===this.rule&&(t.field_presence="LEGACY_REQUIRED"),this.parent&&u.defaults[this.type]===y&&(i=this.parent.get(this.type.split(".").pop()))&&i instanceof n&&i.group&&(t.message_encoding="DELIMITED"),!0===this.getOption("packed")?t.repeated_field_encoding="PACKED":!1===this.getOption("packed")&&(t.repeated_field_encoding="EXPANDED"),t)},o.prototype.n=function(t){return h.prototype.n.call(this,this.e||t)},o.d=function(r,n,e,s){return"function"==typeof n?n=f.decorateType(n).name:n&&"object"==typeof n&&(n=f.decorateEnum(n).name),function(t,i){f.decorateType(t.constructor).add(new o(i,r,n,e,{default:s}))}},o.f=function(t){n=t}},{13:13,23:23,24:24,5:5}],7:[function(t,i,n){(n=i.exports=t(8)).build="light",n.load=function(t,i,r){return(i="function"==typeof i?(r=i,new n.Root):i||new n.Root).load(t,r)},n.loadSync=function(t,i){return(i=i||new n.Root).loadSync(t)},n.encoder=t(4),n.decoder=t(3),n.verifier=t(38),n.converter=t(2),n.ReflectionObject=t(13),n.Namespace=t(12),n.Root=t(17),n.Enum=t(5),n.Type=t(22),n.Field=t(6),n.OneOf=t(14),n.MapField=t(9),n.Service=t(21),n.Method=t(11),n.Message=t(10),n.wrappers=t(39),n.types=t(23),n.util=t(24),n.ReflectionObject.f(n.Root),n.Namespace.f(n.Type,n.Service,n.Enum),n.Root.f(n.Type,y,{}),n.Field.f(n.Type)},{10:10,11:11,12:12,13:13,14:14,17:17,2:2,21:21,22:22,23:23,24:24,3:3,38:38,39:39,4:4,5:5,6:6,8:8,9:9}],8:[function(t,i,r){function n(){r.util.LongBits.f(r.util.Long),r.Writer.f(r.BufferWriter),r.Reader.f(r.BufferReader)}r.build="minimal",r.Writer=t(40),r.BufferWriter=t(41),r.Reader=t(15),r.BufferReader=t(16),r.util=t(33),r.rpc=t(19),r.roots=t(18),r.configure=n,n()},{15:15,16:16,18:18,19:19,33:33,40:40,41:41}],9:[function(t,i,r){i.exports=s;var o=t(6),n=(s.prototype=Object.create(o.prototype,{constructor:{value:s,writable:!0,enumerable:!1,configurable:!0}}),s.className="MapField",t(23)),h=t(24);function s(t,i,r,n,e,s){if(o.call(this,t,i,n,y,y,e,s),!h.isString(r))throw TypeError("keyType must be a string");this.keyType=r,this.resolvedKeyType=null,this.map=!0}s.fromJSON=function(t,i){t=new s(t,i.id,i.keyType,i.type,i.options,i.comment);return i.protoName&&(t.protoName=i.protoName),i.jsonName!==y?t.jsonName=i.jsonName:i.options&&i.options.json_name!==y&&(t.jsonName=i.options.json_name),t},s.prototype.toJSON=function(t){t=!!t&&!!t.keepComments;return h.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"protoName",this.protoName!==this.name?this.protoName:y,"jsonName",this.jsonName!==h.jsonName(this.protoName||this.name)?this.jsonName:y,"options",this.options,"comment",t?this.comment:y])},s.prototype.resolve=function(){if(this.resolved)return this;if(n.mapKey[this.keyType]===y)throw Error("invalid key type: "+this.keyType);return o.prototype.resolve.call(this)},s.d=function(r,n,e){return"function"==typeof e?e=h.decorateType(e).name:e&&"object"==typeof e&&(e=h.decorateEnum(e).name),function(t,i){h.decorateType(t.constructor).add(new s(i,r,n,e))}}},{23:23,24:24,6:6}],10:[function(t,i,r){i.exports=e;var n=t(33);function e(t){if(t)for(var i=Object.keys(t),r=0;rf.recursionLimit)throw Error("max depth exceeded");return new a(t,i.options).addJSON(i.nested,r)},a.arrayToJSON=e,a.isReservedId=function(t,i){if(t)for(var r=0;r=i)return!0;return!1},a.isReservedName=function(t,i){if(t)for(var r=0;rf.recursionLimit)throw Error("max depth exceeded");if(t)for(var r,n=Object.keys(t),e=0;ef.recursionLimit)throw Error("max depth exceeded");for(var r=this;0{t.b(i)})),this},a.prototype.lookup=function(t,i,r){if("boolean"==typeof i?(r=i,i=y):i&&!Array.isArray(i)&&(i=[i]),f.isString(t)&&t.length){if("."===t)return this.root;t=t.split(".")}else if(!t.length)return this;var n=t.join(".");if(""===t[0])return this.root.lookup(t.slice(1),i);var e=this.p(t,n);if(e&&(!i||~i.indexOf(e.constructor)))return e;if((e=this.root.m&&this.root.m["."+n])&&(!i||~i.indexOf(e.constructor)))return e;if(!r)for(var s=this;s.parent;){if((e=s.parent.p(t,n))&&(!i||~i.indexOf(e.constructor)))return e;s=s.parent}return null},a.prototype.p=function(t,i){if(Object.prototype.hasOwnProperty.call(this.a,i))return this.a[i];var r=this.get(t[0]),n=null;if(r)1===t.length?n=r:r instanceof a&&(t=t.slice(1),n=r.p(t,t.join(".")));else for(var e=0;e "+t.len)}function o(t){this.buf=t,this.pos=0,this.len=t.length,this.view=null,this.discardUnknown=o.discardUnknown}function h(t){if((t=Array.isArray(t)?new Uint8Array(t):t)instanceof Uint8Array)return new o(t);throw Error("illegal buffer")}function u(){return c.Buffer?function(t){return(o.create=function(t){return c.Buffer.isBuffer(t)?new n(t):h(t)})(t)}:h}function f(){var t=new e(0,0),i=0;if(!(4=this.len)throw a(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*i)>>>0,this.buf[this.pos++]<128)return t}throw a(this)}for(;i<4;++i)if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*i)>>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;if(i=0,4>>0,this.buf[this.pos++]<128)return t}else for(;i<5;++i){if(this.pos>=this.len)throw a(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*i+3)>>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}function l(t,i){return(t[i-4]|t[i-3]<<8|t[i-2]<<16|t[i-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw a(this,8);return new e(l(this.buf,this.pos+=4),l(this.buf,this.pos+=4))}o.create=u(),o.prototype.raw=function(t,i){return this.buf.subarray(t,i)},o.prototype.uint32=function(){var t=this.buf,i=this.pos,r=(127&t[i])>>>0;if(t[i++]<128)return this.pos=i,r;if(r=(r|(127&t[i])<<7)>>>0,t[i++]<128)return this.pos=i,r;if(r=(r|(127&t[i])<<14)>>>0,t[i++]<128)return this.pos=i,r;if(r=(r|(127&t[i])<<21)>>>0,t[i++]<128)return this.pos=i,r;if(r=(r|(15&t[i])<<28)>>>0,t[i++]<128)return this.pos=i,r;for(var n=0;n<5;++n){if(i>=this.len)throw this.pos=i,a(this);if(t[i++]<128)return this.pos=i,r}throw this.pos=i,Error("invalid varint encoding")},o.prototype.tag=function(){var t=this.buf,i=this.pos,r=(127&t[i])>>>0;if(t[i++]<128)return this.pos=i,r;if(r=(r|(127&t[i])<<7)>>>0,t[i++]<128)return this.pos=i,r;if(r=(r|(127&t[i])<<14)>>>0,t[i++]<128)return this.pos=i,r;if(r=(r|(127&t[i])<<21)>>>0,t[i++]<128)return this.pos=i,r;if(r=(r|(15&t[i])<<28)>>>0,t[i]<128&&0==(112&t[i]))return this.pos=i+1,r;throw this.pos=i+1,Error("invalid tag encoding")},o.prototype.int32=function(){return 0|this.uint32()},o.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)|0},o.prototype.bool=function(){for(var t,i=!1,r=0;r<10;++r){if(this.pos>=this.len)throw a(this);if(127&(t=this.buf[this.pos++])&&(i=!0),t<128)return i}throw Error("invalid varint encoding")},o.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return l(this.buf,this.pos+=4)},o.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return 0|l(this.buf,this.pos+=4)},o.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var t=c.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},o.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var t=c.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},o.prototype.uint32s=function(t){t===y&&(t=[]);for(var i=this.uint32()+this.pos;this.posthis.len)throw a(this,i);var n=i>>>2,e=t.length,s=this.pos,o=(t.length=e+n,v(this,n,128));if(o)for(var h=0;hthis.len)throw a(this,i);var n=i>>>2,e=t.length,s=this.pos,o=(t.length=e+n,v(this,n,128));if(o)for(var h=0;hthis.len)throw a(this,i);var n=i>>>2,e=t.length,s=this.pos,o=(t.length=e+n,v(this,n,8));if(o)for(var h=0;hthis.len)throw a(this,i);var n=i>>>3,e=t.length,s=this.pos,o=(t.length=e+n,v(this,n,8));if(o)for(var h=0;hthis.len)throw a(this,i);var e=i>>>3;t.length=n+e;for(var s=0;sthis.len)throw a(this,i);var e=i>>>3;t.length=n+e;for(var s=0;sthis.len)throw a(this,t);return this.pos=r,this.raw(i,r)},o.prototype.string=function(){var t=this.uint32(),i=this.pos,r=this.pos+t;if(r>this.len)throw a(this,t);return this.pos=r,s.read(this.buf,i,r)},o.prototype.stringVerify=function(){var t=this.uint32(),i=this.pos,r=this.pos+t;if(r>this.len)throw a(this,t);return this.pos=r,s.readStrict(this.buf,i,r)},o.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw a(this,t);this.pos+=t}else do{if(this.pos>=this.len)throw a(this)}while(128&this.buf[this.pos++]);return this},o.recursionLimit=c.recursionLimit,o.discardUnknown=!0,o.prototype.skipType=function(t,i,r){if(o.recursionLimit<(i=i===y?0:i))throw Error("max depth exceeded");if(0===r)throw Error("illegal tag: field number 0");switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){var n=this.tag(),e=n>>>3;if(!e)throw Error("illegal tag: field number 0");if(4===(t=7&n)){if(r!==y&&e!==r)throw Error("invalid end group tag");break}this.skipType(t,i+1,e)}break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this},o.f=function(t){n=t,o.create=u(),n.f();var i=c.Long?"toLong":"toNumber";c.merge(o.prototype,{int64:function(){return f.call(this)[i](!1)},uint64:function(){return f.call(this)[i](!0)},sint64:function(){return f.call(this).zzDecode()[i](!1)},fixed64:function(){return d.call(this)[i](!0)},sfixed64:function(){return d.call(this)[i](!1)}})}},{33:33}],16:[function(t,i,r){i.exports=s;var n=t(15),e=(s.prototype=Object.create(n.prototype,{constructor:{value:s,writable:!0,enumerable:!1,configurable:!0}}),t(33));function s(t){n.call(this,t)}s.f=function(){e.Buffer&&(s.prototype.j=e.Buffer.prototype.slice)},s.prototype.raw=function(t,i){return this.j.call(this.buf,t,i)},s.prototype.string=function(){var t=this.uint32(),i=this.pos,r=this.pos+t;if(r>this.len)throw RangeError("index out of range: "+this.pos+" + "+t+" > "+this.len);return this.pos=r,this.buf.utf8Slice?this.buf.utf8Slice(i,r):this.buf.toString("utf-8",i,r)},s.f()},{15:15,33:33}],17:[function(t,i,r){i.exports=u;var n,v,b,e=t(12),s=(u.prototype=Object.create(e.prototype,{constructor:{value:u,writable:!0,enumerable:!1,configurable:!0}}),u.className="Root",t(6)),o=t(5),h=t(14),p=t(24);function u(t){e.call(this,"",t),this.deferred=[],this.files=[],this.e="proto2",this.m={}}function m(){}u.fromJSON=function(t,i,r){if((r=r===y?0:r)>p.recursionLimit)throw Error("max depth exceeded");return i=i||new u,t.options&&i.setOptions(t.options),i.addJSON(t.nested,r).resolveAll()},u.prototype.resolvePath=p.path.resolve,u.prototype.fetch=p.fetch,u.prototype.load=function t(i,o,s){"function"==typeof o&&(s=o,o=y);var h=this;if(!s)return p.asPromise(t,h,i,o);var u=s===m;function f(t,i){if(s){if(u)throw t;i&&i.resolveAll();var r=s;s=null,r(t,i)}}function c(t){var i=t.lastIndexOf("google/protobuf/");if(-1p.recursionLimit)throw Error("max depth exceeded");if(p.isString(i)&&"{"==(i[0]||"")&&(i=JSON.parse(i)),p.isString(i)){v.filename=t;var n,e=v(i,h,o),s=0;if(e.imports)for(;sh.recursionLimit)throw Error("max depth exceeded");var n=new f(t,i.options);if(i.methods)for(var e=Object.keys(i.methods),s=0;s{t.b(i)})),this},f.prototype.add=function(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);return t instanceof o?"__proto__"===t.name?this:e((this.methods[t.name]=t).parent=this):n.prototype.add.call(this,t)},f.prototype.remove=function(t){if(t instanceof o){if(this.methods[t.name]!==t)throw Error(t+" is not a member of "+this);return delete this.methods[t.name],t.parent=null,e(this)}return n.prototype.remove.call(this,t)},f.prototype.create=function(t,i,r){for(var n,e=new u.Service(t,i,r),s=0;sd.nestingLimit)throw Error("max depth exceeded");for(var n=new g(t,i.options),e=(n.extensions=i.extensions,n.reserved=i.reserved,Object.keys(i.fields)),s=0;s{t.n(i)}),this.fieldsArray.forEach(t=>{t.n(i)})),this},g.prototype.get=function(t){return Object.prototype.hasOwnProperty.call(this.fields,t)?this.fields[t]:this.oneofs&&Object.prototype.hasOwnProperty.call(this.oneofs,t)?this.oneofs[t]:this.nested&&Object.prototype.hasOwnProperty.call(this.nested,t)?this.nested[t]:null},g.prototype.add=function(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);if(t instanceof c&&t.extend===y){if((this._||this.fieldsById)[t.id])throw Error("duplicate id "+t.id+" in "+this);if(this.isReservedId(t.id))throw Error("id "+t.id+" is reserved in "+this);if(this.isReservedName(t.name)||"$"==(t.name[0]||""))throw Error("name '"+t.name+"' is reserved in "+this);return"__proto__"===t.name?this:(t.parent&&t.parent.remove(t),(this.fields[t.name]=t).message=this,t.onAdd(this),n(this))}if(t instanceof f){if("$"==(t.name[0]||""))throw Error("name '"+t.name+"' is reserved in "+this);return"__proto__"===t.name?this:(this.oneofs||(this.oneofs={}),(this.oneofs[t.name]=t).onAdd(this),n(this))}return h.prototype.add.call(this,t)},g.prototype.remove=function(t){if(t instanceof c&&t.extend===y){if(d.remove(this.fields,t,t.name))return t.parent=null,t.onRemove(this),n(this);throw Error(t+" is not a member of "+this)}if(t instanceof f){if(d.remove(this.oneofs,t,t.name))return t.parent=null,t.onRemove(this),n(this);throw Error(t+" is not a member of "+this)}return h.prototype.remove.call(this,t)},g.prototype.isReservedId=function(t){return h.isReservedId(this.reserved,t)},g.prototype.isReservedName=function(t){return h.isReservedName(this.reserved,t)},g.prototype.create=function(t){return new this.ctor(t)},g.prototype.setup=function(){for(var t=this.root,t=(t&&t.l&&((n=t.e||this.e)&&t.b(n)),this.fullName),i=[],r=0;ro.recursionLimit)throw Error("max depth exceeded");return function t(i,r,n){var e=r.shift();if(!o.isUnsafeProperty(e))if(0>2],n=(3&u)<<4,h=1;break;case 1:s[o++]=f[n|u>>4],n=(15&u)<<2,h=2;break;case 2:s[o++]=f[n|u>>6],s[o++]=f[63&u],h=0}8191>4,n=h,s=2;break;case 2:i[r++]=(15&n)<<4|(60&h)>>2,n=h,s=3;break;case 3:i[r++]=(3&n)<<6|h,s=0}}if(1===s)throw Error(c);return r-e},/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/),s=/[-_]/,o=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2}(?:==)?|[A-Za-z0-9_-]{3}=?)?$/;r.test=function(t){return e.test(t)||s.test(t)&&o.test(t)}},{}],27:[function(t,i,r){i.exports=a;var n=t(35).reservedRe;function a(i,r){"string"==typeof i&&(r=i,i=y);var u=[];function f(t){if("string"!=typeof t){var i=c();if(a.verbose&&console.log("codegen: "+i),i="return "+i,t){for(var r=Object.keys(t),n=Array(r.length+1),e=Array(r.length),s=0;s>>0:i<11754943508222875e-54?(e<<31|Math.round(i/1401298464324817e-60))>>>0:(e<<31|127+(t=Math.floor(Math.log(i)/Math.LN2))<<23|8388607&Math.round(i*Math.pow(2,-t)*8388608))>>>0,r,n)}function r(t,i,r){t=t(i,r),i=2*(t>>31)+1,r=t>>>23&255,t&=8388607;return 255==r?t?NaN:1/0*i:0==r?1401298464324817e-60*i*t:i*Math.pow(2,r-150)*(8388608+t)}function n(t,i,r){h[0]=t,i[r]=u[0],i[r+1]=u[1],i[r+2]=u[2],i[r+3]=u[3]}function e(t,i,r){h[0]=t,i[r]=u[3],i[r+1]=u[2],i[r+2]=u[1],i[r+3]=u[0]}function s(t,i){return u[0]=t[i],u[1]=t[i+1],u[2]=t[i+2],u[3]=t[i+3],h[0]}function o(t,i){return u[3]=t[i],u[2]=t[i+1],u[1]=t[i+2],u[0]=t[i+3],h[0]}var h,u,f,c,a;function l(t,i,r,n,e,s){var o,h=n<0?1:0;0===(n=h?-n:n)?(t(0,e,s+i),t(0<1/n?0:2147483648,e,s+r)):isNaN(n)?(t(0,e,s+i),t(2146959360,e,s+r)):17976931348623157e292>>0,e,s+r)):n<22250738585072014e-324?(t((o=n/5e-324)>>>0,e,s+i),t((h<<31|o/4294967296)>>>0,e,s+r)):(t(4503599627370496*(o=n*Math.pow(2,-(n=1024===(n=Math.floor(Math.log(n)/Math.LN2))?1023:n)))>>>0,e,s+i),t((h<<31|n+1023<<20|1048576*o&1048575)>>>0,e,s+r))}function d(t,i,r,n,e){i=t(n,e+i),t=t(n,e+r),n=2*(t>>31)+1,e=t>>>20&2047,r=4294967296*(1048575&t)+i;return 2047==e?r?NaN:1/0*n:0==e?5e-324*n*r:n*Math.pow(2,e-1075)*(r+4503599627370496)}function v(t,i,r){f[0]=t,i[r]=c[0],i[r+1]=c[1],i[r+2]=c[2],i[r+3]=c[3],i[r+4]=c[4],i[r+5]=c[5],i[r+6]=c[6],i[r+7]=c[7]}function b(t,i,r){f[0]=t,i[r]=c[7],i[r+1]=c[6],i[r+2]=c[5],i[r+3]=c[4],i[r+4]=c[3],i[r+5]=c[2],i[r+6]=c[1],i[r+7]=c[0]}function p(t,i){return c[0]=t[i],c[1]=t[i+1],c[2]=t[i+2],c[3]=t[i+3],c[4]=t[i+4],c[5]=t[i+5],c[6]=t[i+6],c[7]=t[i+7],f[0]}function m(t,i){return c[7]=t[i],c[6]=t[i+1],c[5]=t[i+2],c[4]=t[i+3],c[3]=t[i+4],c[2]=t[i+5],c[1]=t[i+6],c[0]=t[i+7],f[0]}return"undefined"!=typeof Float32Array?(h=new Float32Array([-0]),u=new Uint8Array(h.buffer),a=128===u[3],t.writeFloatLE=a?n:e,t.writeFloatBE=a?e:n,t.readFloatLE=a?s:o,t.readFloatBE=a?o:s):(t.writeFloatLE=i.bind(null,w),t.writeFloatBE=i.bind(null,g),t.readFloatLE=r.bind(null,y),t.readFloatBE=r.bind(null,j)),"undefined"!=typeof Float64Array?(f=new Float64Array([-0]),c=new Uint8Array(f.buffer),a=128===c[7],t.writeDoubleLE=a?v:b,t.writeDoubleBE=a?b:v,t.readDoubleLE=a?p:m,t.readDoubleBE=a?m:p):(t.writeDoubleLE=l.bind(null,w,0,4),t.writeDoubleBE=l.bind(null,g,4,0),t.readDoubleLE=d.bind(null,y,0,4),t.readDoubleBE=d.bind(null,j,4,0)),t}function w(t,i,r){i[r]=255&t,i[r+1]=t>>>8&255,i[r+2]=t>>>16&255,i[r+3]=t>>>24}function g(t,i,r){i[r]=t>>>24,i[r+1]=t>>>16&255,i[r+2]=t>>>8&255,i[r+3]=255&t}function y(t,i){return(t[i]|t[i+1]<<8|t[i+2]<<16|t[i+3]<<24)>>>0}function j(t,i){return(t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3])>>>0}i.exports=n(n)},{}],31:[function(t,i,r){var n=null;try{(n=t(1))&&n.readFile&&n.readFileSync||(n=null)}catch(t){}i.exports=n},{1:1}],32:[function(t,i,r){var n;function e(t,i){this.lo=t>>>0,this.hi=i>>>0}var s=(i.exports=e).zero=new e(0,0),o=(s.toNumber=function(){return 0},s.zzEncode=s.zzDecode=function(){return this},s.length=function(){return 1},e.zeroHash="\0\0\0\0\0\0\0\0",e.fromNumber=function(t){var i,r;return 0===t?s:(r=(t=(i=t<0)?-t:t)>>>0,t=(t-r)/4294967296>>>0,i&&(t=~t>>>0,r=~r>>>0,4294967295<++r&&(r=0,4294967295<++t&&(t=0))),new e(r,t))},e.from=function(t){if("number"==typeof t)return e.fromNumber(t);if("string"==typeof t||t instanceof String){if(!n)return e.fromNumber(parseInt(t,10));t=n.fromString(t)}return t.low||t.high?new e(t.low>>>0,t.high>>>0):s},e.prototype.toNumber=function(t){var i;return!t&&this.hi>>>31?(t=1+~this.lo>>>0,i=~this.hi>>>0,-(t+4294967296*(i=t?i:i+1>>>0))):this.lo+4294967296*this.hi},e.prototype.toLong=function(t){return n?new n(0|this.lo,0|this.hi,!!t):{low:0|this.lo,high:0|this.hi,unsigned:!!t}},String.prototype.charCodeAt);e.fromHash=function(t){return"\0\0\0\0\0\0\0\0"===t?s:new e((o.call(t,0)|o.call(t,1)<<8|o.call(t,2)<<16|o.call(t,3)<<24)>>>0,(o.call(t,4)|o.call(t,5)<<8|o.call(t,6)<<16|o.call(t,7)<<24)>>>0)},e.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)},e.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this},e.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this},e.prototype.length=function(){var t=this.lo,i=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0==r?0==i?t<16384?t<128?1:2:t<2097152?3:4:i<16384?i<128?5:6:i<2097152?7:8:r<128?9:10},e.f=function(t){n=t}},{}],33:[function(i,t,r){var o=r;function h(t){return"__proto__"===t||"prototype"===t||"constructor"===t}function n(t){for(var i=(r="boolean"==typeof arguments[arguments.length-1])?arguments.length-1:arguments.length,r=r&&arguments[arguments.length-1],n=1;n>>=0;127>>=7;n.push(e);for(var s=0;s>>1,s=null,o=n;return function(t){if(t<1||e>10))+String.fromCharCode(56320+(1023&o)))}return n}function p(t,i,r,n){i=0===r&&n===i.length?i:i.subarray(r,n);return t.decode(i)}r.length=function(t){for(var i,r=0,n=0;n>6|192:(55296==(64512&n)&&56320==(64512&(e=t.charCodeAt(o+1)))?(++o,i[r++]=(n=65536+((1023&n)<<10)+(1023&e))>>18|240,i[r++]=n>>12&63|128):i[r++]=n>>12|224,i[r++]=n>>6&63|128),i[r++]=63&n|128);return r-s}},{}],38:[function(t,i,r){i.exports=function(t){var i=u.codegen(["m","q"])('if(typeof m!=="object"||m===null)')("return%j","object expected")("if(q===undefined)q=0")("if(q>util.recursionLimit)")("return%j","max depth exceeded"),r=t.oneofsArray,n={};r.length&&i("var p={}");for(var e=0;eu.recursionLimit)throw Error("max depth exceeded");var n,e,s="",o="";return i&&i.json&&t.type_url&&t.value&&(o=t.type_url.substring(1+t.type_url.lastIndexOf("/")),s=t.type_url.substring(0,1+t.type_url.lastIndexOf("/")),(n=this.lookup(o,[this.constructor]))&&(t=n.decode(t.value,y,y,r+1))),!(t instanceof this.ctor)&&t instanceof h?(n=t.$type.toObject(t,i,r+1),e="."===t.$type.fullName[0]?t.$type.fullName.slice(1):t.$type.fullName,n["@type"]=o=(s=""===s?"type.googleapis.com/":s)+e,n):this.toObject(t,i,r)}}},{10:10,33:33}],40:[function(t,i,r){i.exports=s;var n,h=t(33),u=h.LongBits,e=h.base64,o=h.utf8;function s(){this.pos=0,this.buf=this.constructor.alloc(64),this.view=null,this.states=null}Object.defineProperty(s.prototype,"len",{configurable:!0,enumerable:!0,get:function(){return this.pos}});function f(){return h.Buffer?function(){return(s.create=function(){return new n})()}:function(){return new s}}function c(t){return t<128?1:t<16384?2:t<2097152?3:t<268435456?4:5}function a(t,i,r){for(;127>>=7;return i[r]=t,r+1}function l(t,i,r){for(var n=t.lo,e=t.hi;e;)i[r++]=127&n|128,n=(n>>>7|e<<25)>>>0,e>>>=7;for(;127>>=7;return i[r]=n,r+1}function d(t,i,r){i[r]=255&t,i[r+1]=t>>>8&255,i[r+2]=t>>>16&255,i[r+3]=t>>>24}s.create=f(),s.alloc=h.pool(s.alloc=function(t){return new Uint8Array(t)},Uint8Array.prototype.subarray),s.prototype.T=function(t){var i,t=this.pos+t;t>this.buf.length&&(i=this.buf.length<<1,(t=this.constructor.alloc(i=i>>=0,this.T(5);var i=this.pos;return this.pos=a(t,this.buf,i),this},s.prototype.int32=function(t){return(t|=0)<0?(this.T(10),l(u.fromNumber(t),this.buf,this.pos),this.pos+=10,this):this.uint32(t)},s.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0)},s.prototype.int64=s.prototype.uint64=function(t){var t=u.from(t),i=(this.T(10),this.pos);return this.pos=l(t,this.buf,i),this},s.prototype.sint64=function(t){var t=u.from(t).zzEncode(),i=(this.T(10),this.pos);return this.pos=l(t,this.buf,i),this},s.prototype.bool=function(t){return this.T(1),this.buf[this.pos++]=t?1:0,this},s.prototype.sfixed32=s.prototype.fixed32=function(t){return this.T(4),d(t>>>0,this.buf,this.pos),this.pos+=4,this},s.prototype.sfixed64=s.prototype.fixed64=function(t){t=u.from(t);return this.T(8),d(t.lo,this.buf,this.pos),d(t.hi,this.buf,this.pos+4),this.pos+=8,this},s.prototype.float=function(t){return this.T(4),h.float.writeFloatLE(t,this.buf,this.pos),this.pos+=4,this},s.prototype.double=function(t){return this.T(8),h.float.writeDoubleLE(t,this.buf,this.pos),this.pos+=8,this},s.prototype.bytes=function(t){var i,r=t.length>>>0;return r?(h.isString(t)&&(i=s.alloc(r=e.length(t)),e.decode(t,i,0),t=i),this.uint32(r),this.T(r),this.buf.set(t,this.pos),this.pos+=r):(this.T(1),this.buf[this.pos++]=0),this},s.prototype.raw=function(t){var i=t.length>>>0;return i&&(this.T(i),this.buf.set(t,this.pos),this.pos+=i),this},s.prototype.L=function(t,i){var r=c(i);return 1>>0,r,e);return this.L(n,e-n-1)},s.prototype.int32s=function(t){for(var i,r=t.length,n=(this.T(10*r+5),this.buf),e=this.pos,s=e+1,o=0;o>31)>>>0,r,e);return this.L(n,e-n-1)},s.prototype.int64s=s.prototype.uint64s=function(t){for(var i=t.length,r=(this.T(10*i+5),this.buf),n=this.pos,e=n+1,s=0;s>>0,!0),n+=4;else for(var s=this.buf,o=0;o>>0,s,n),n+=4;return this.pos+=r,this},s.prototype.sfixed64s=s.prototype.fixed64s=function(t){var i,r=t.length,n=8*r,e=(this.uint32(n),this.T(n),this.pos),s=v(this,r,128);if(s)for(h=0;h>>0;return this.uint32(i),i&&(this.T(i),this.buf.set(t,this.pos),this.pos+=i),this},o.prototype.string=function(t){var i,r,n=t.length;if(n){if(n<128)return this.T(3*n+5),i=this.pos,r=this.buf,this.L(i,n<40?s.utf8.write(t,r,i+1):e(t,r,i+1));n=s.Buffer.byteLength(t);this.uint32(n),this.T(n),e(t,this.buf,this.pos),this.pos+=n}else this.T(1),this.buf[this.pos++]=0;return this},o.f()},{33:33,40:40}]},e={},(i=function t(i){var r=e[i];return r||n[i][0].call(r=e[i]={exports:{}},t,r,r.exports),r.exports}([7][0])).util.global.protobuf=i,"function"==typeof define&&define.amd&&define(["long"],function(t){return t&&t.isLong&&(i.util.Long=t,i.configure()),i}),"object"==typeof module&&module&&module.exports&&(module.exports=i)}(); //# sourceMappingURL=protobuf.min.js.map