/*! * 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(et){"use strict";var n,e,i;n={1:[function(t,i,r){},{}],2:[function(t,i,r){i.exports=e;var n=/\/|\./;function e(t,i){n.test(t)||(t="google/protobuf/"+t+".proto",i={nested:{google:{nested:{protobuf:{nested:i}}}}}),e[t]=i}e("any",{Any:{fields:{type_url:{type:"string",id:1},value:{type:"bytes",id:2}}}}),e("duration",{Duration:i={fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}}}),e("timestamp",{Timestamp:i}),e("empty",{Empty:{fields:{}}}),e("struct",{Struct:{fields:{fields:{keyType:"string",type:"Value",id:1}}},Value:{oneofs:{kind:{oneof:["nullValue","numberValue","stringValue","boolValue","structValue","listValue"]}},fields:{nullValue:{type:"NullValue",id:1,protoName:"null_value"},numberValue:{type:"double",id:2,protoName:"number_value"},stringValue:{type:"string",id:3,protoName:"string_value"},boolValue:{type:"bool",id:4,protoName:"bool_value"},structValue:{type:"Struct",id:5,protoName:"struct_value"},listValue:{type:"ListValue",id:6,protoName:"list_value"}}},NullValue:{values:{NULL_VALUE:0}},ListValue:{fields:{values:{rule:"repeated",type:"Value",id:1}}}}),e("wrappers",{DoubleValue:{fields:{value:{type:"double",id:1}}},FloatValue:{fields:{value:{type:"float",id:1}}},Int64Value:{fields:{value:{type:"int64",id:1}}},UInt64Value:{fields:{value:{type:"uint64",id:1}}},Int32Value:{fields:{value:{type:"int32",id:1}}},UInt32Value:{fields:{value:{type:"uint32",id:1}}},BoolValue:{fields:{value:{type:"bool",id:1}}},StringValue:{fields:{value:{type:"string",id:1}}},BytesValue:{fields:{value:{type:"bytes",id:1}}}}),e("field_mask",{FieldMask:{fields:{paths:{rule:"repeated",type:"string",id:1}}}}),e.get=function(t){return e[t]||null}},{}],3:[function(t,i,r){var v=t(6),p=t(27),b=t(28);function u(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,u=Object.keys(o),h=0;h>>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 w(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=b.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[u.keyType])("break")("k=r.%s()","string"===u.keyType?p(u):u.keyType)("continue")("case 2:")("if(u!==%i)",d.basic[h]===et?2:d.basic[h])("break"),d.basic[h]===et?s("v=types[%i].decode(r,r.uint32(),undefined,q+1,v)",n):s("v=r.%s()","string"===h?p(u):h),s("continue")("}")("r.skipType(u,q,t2)")("}"),a&&(s("if(types[%i].valuesById[v]===undefined){",n),b(s,"r.raw(s,r.pos)")("continue")("}")("if(%s===util.emptyObject)",f)("%s={}",f)),o=d.basic[h]===et?"v||new types["+n+"].ctor":"v",d.long[u.keyType]!==et?s('%s[typeof k==="object"?util.longToHash(k):k]=%s',f,o):("string"===u.keyType&&s('if(k==="__proto__")')("util.makeProp(%s,k)",f),s("%s[k]=%s",f,o))):u.repeated?(s("case %i:",u.id)("{"),d.packed[h]!==et&&(s("if(u===2){"),a?(s("var c2=r.uint32()+r.pos")("while(r.posutil.recursionLimit)")('throw Error("max depth exceeded")'),n=t.fieldsArray.slice().sort(c.compareFieldsById),e=0;e>>0,8|a.mapKey[s.keyType]):a.long[s.keyType]!==et?r("w.uint32(%i).fork().uint32(%i).%s(util.longFromKey(ks[i],%j))",(s.id<<3|2)>>>0,8|a.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|a.mapKey[s.keyType],s.keyType),h===et?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|h,u,i),r("}")("}")):s.repeated?(r("if(%s!=null&&%s.length){",i,i),s.packed&&a.packed[u]!==et?r("w.uint32(%i).%ss(%s)",(s.id<<3|2)>>>0,u,i):(r("for(var i=0;i<%s.length;++i)",i),h===et?l(r,s,o,i+"[i]"):r("w.uint32(%i).%s(%s[i])",(s.id<<3|h)>>>0,u,i)),r("}")):(s.required||(s.hasPresence||!(s.resolvedType instanceof f||a.basic[u]!==et)?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"===u?r("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!==false)",i,s.name,i):"string"===u?r('if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!=="")',i,s.name,i):"bytes"===u?r("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s.length)",i,s.name,i):"double"===u||"float"===u?r("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&!Object.is(%s,0))",i,s.name,i):a.long[u]!==et?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)),h===et?l(r,s,o,i):r("w.uint32(%i).%s(%s)",(s.id<<3|h)>>>0,u,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)}},{27:27,28:28,6:6}],6:[function(t,i,r){i.exports=s;var h=t(15),n=(s.prototype=Object.create(h.prototype,{constructor:{value:s,writable:!0,enumerable:!1,configurable:!0}}),s.className="Enum",t(14)),e=t(28);function s(t,i,r,n,e,s){if(h.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.s={},this.reserved=et,i)for(var o=Object.keys(i),u=0;u{var i=e.merge({},this.i);this.s[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.u=i.edition),t.h="proto3",t},s.prototype.toJSON=function(t){t=!!t&&!!t.keepComments;return e.toObject(["edition",this.f(),"options",this.options,"valuesOptions",this.valuesOptions,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:et,"comment",t?this.comment:et,"comments",t?this.comments:et])},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]!==et)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]!==et){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===et&&(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)}},{14:14,15:15,28:28}],7:[function(t,i,r){i.exports=o;var n,u=t(15),e=(o.prototype=Object.create(u.prototype,{constructor:{value:o,writable:!0,enumerable:!1,configurable:!0}}),o.className="Field",t(6)),h=t(27),f=t(28),a=/^(?:required|optional|repeated)$/;function o(t,i,r,n,e,s,o){if(f.isObject(n)?(o=e,s=n,n=e=et):f.isObject(e)&&(o=s,s=e,e=et),u.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!==et&&!a.test(n=n.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(e!==et&&!f.isString(e))throw TypeError("extend must be a string");this.rule=n&&"optional"!==n?n:et,this.type=r,this.id=i,this.extend=e||et,this.repeated="repeated"===n,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!f.Long&&h.long[r]!==et,this.bytes="bytes"===r,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this.comment=o,this.protoName=et,this.jsonName=et}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.u=i.edition),i.protoName&&(t.protoName=i.protoName),i.jsonName!==et?t.jsonName=i.jsonName:i.options&&i.options.json_name!==et&&(t.jsonName=i.options.json_name),t.h="proto3",t},Object.defineProperty(o.prototype,"required",{get:function(){return"LEGACY_REQUIRED"===this.i.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.i.message_encoding}}),Object.defineProperty(o.prototype,"packed",{get:function(){return"PACKED"===this.i.repeated_field_encoding}}),Object.defineProperty(o.prototype,"hasPresence",{get:function(){return!this.repeated&&!this.map&&(this.partOf||this.declaringField||this.extensionField||"IMPLICIT"!==this.i.field_presence)}}),o.prototype.setOption=function(t,i,r){return u.prototype.setOption.call(this,t,i,r)},o.prototype.toJSON=function(t){t=!!t&&!!t.keepComments;return f.toObject(["edition",this.f(),"rule","optional"!==this.rule&&this.rule||et,"type",this.type,"id",this.id,"extend",this.extend,"protoName",this.protoName!==this.name?this.protoName:et,"jsonName",this.jsonName!==f.jsonName(this.protoName||this.name)?this.jsonName:et,"options",this.options,"comment",t?this.comment:et])},o.prototype.resolve=function(){var t;return this.resolved?this:((this.typeDefault=h.defaults[this.type])===et?(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===et||!this.resolvedType||this.resolvedType instanceof e||delete this.options.packed,Object.keys(this.options).length||(this.options=et)),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.a&&(this.parent.a.prototype[this.name]=this.defaultValue),this.protoName===et&&(this.protoName=this.name),this.jsonName===et&&(this.jsonName=f.jsonName(this.protoName)),u.prototype.resolve.call(this))},o.prototype.c=function(t){var i;return"proto2"!==t&&"proto3"!==t?{}:(t={},"required"===this.rule&&(t.field_presence="LEGACY_REQUIRED"),this.parent&&h.defaults[this.type]===et&&(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.o=function(t){return u.prototype.o.call(this,this.u||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.l=function(t){n=t}},{15:15,27:27,28:28,6:6}],8:[function(t,i,n){(n=i.exports=t(9)).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(5),n.decoder=t(4),n.verifier=t(42),n.converter=t(3),n.ReflectionObject=t(15),n.Namespace=t(14),n.Root=t(20),n.Enum=t(6),n.Type=t(26),n.Field=t(7),n.OneOf=t(16),n.MapField=t(11),n.Service=t(24),n.Method=t(13),n.Message=t(12),n.wrappers=t(43),n.types=t(27),n.util=t(28),n.ReflectionObject.l(n.Root),n.Namespace.l(n.Type,n.Service,n.Enum),n.Root.l(n.Type,et,{}),n.Field.l(n.Type)},{11:11,12:12,13:13,14:14,15:15,16:16,20:20,24:24,26:26,27:27,28:28,3:3,4:4,42:42,43:43,5:5,6:6,7:7,9:9}],9:[function(t,i,r){function n(){r.util.LongBits.l(r.util.Long),r.Writer.l(r.BufferWriter),r.Reader.l(r.BufferReader)}r.build="minimal",r.Writer=t(44),r.BufferWriter=t(45),r.Reader=t(18),r.BufferReader=t(19),r.util=t(37),r.rpc=t(22),r.roots=t(21),r.configure=n,n()},{18:18,19:19,21:21,22:22,37:37,44:44,45:45}],10:[function(t,i,r){(r=i.exports=t(8)).build="full",r.tokenize=t(25),r.parse=t(17),r.common=t(2),r.Root.l(r.Type,r.parse,r.common)},{17:17,2:2,25:25,8:8}],11:[function(t,i,r){i.exports=s;var o=t(7),n=(s.prototype=Object.create(o.prototype,{constructor:{value:s,writable:!0,enumerable:!1,configurable:!0}}),s.className="MapField",t(27)),u=t(28);function s(t,i,r,n,e,s){if(o.call(this,t,i,n,et,et,e,s),!u.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!==et?t.jsonName=i.jsonName:i.options&&i.options.json_name!==et&&(t.jsonName=i.options.json_name),t},s.prototype.toJSON=function(t){t=!!t&&!!t.keepComments;return u.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"protoName",this.protoName!==this.name?this.protoName:et,"jsonName",this.jsonName!==u.jsonName(this.protoName||this.name)?this.jsonName:et,"options",this.options,"comment",t?this.comment:et])},s.prototype.resolve=function(){if(this.resolved)return this;if(n.mapKey[this.keyType]===et)throw Error("invalid key type: "+this.keyType);return o.prototype.resolve.call(this)},s.d=function(r,n,e){return"function"==typeof e?e=u.decorateType(e).name:e&&"object"==typeof e&&(e=u.decorateEnum(e).name),function(t,i){u.decorateType(t.constructor).add(new s(i,r,n,e))}}},{27:27,28:28,7:7}],12:[function(t,i,r){i.exports=e;var n=t(37);function e(t){if(t)for(var i=Object.keys(t),r=0;rf.recursionLimit)throw Error("max depth exceeded");return new c(t,i.options).addJSON(i.nested,r)},c.arrayToJSON=e,c.isReservedId=function(t,i){if(t)for(var r=0;r=i)return!0;return!1},c.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.m(i)})),this},c.prototype.lookup=function(t,i,r){if("boolean"==typeof i?(r=i,i=et):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.y(t,n);if(e&&(!i||~i.indexOf(e.constructor)))return e;if((e=this.root.g&&this.root.g["."+n])&&(!i||~i.indexOf(e.constructor)))return e;if(!r)for(var s=this;s.parent;){if((e=s.parent.y(t,n))&&(!i||~i.indexOf(e.constructor)))return e;s=s.parent}return null},c.prototype.y=function(t,i){if(Object.prototype.hasOwnProperty.call(this.p,i))return this.p[i];var r=this.get(t[0]),n=null;if(r)1===t.length?n=r:r instanceof c&&(t=t.slice(1),n=r.y(t,t.join(".")));else for(var e=0;eX.recursionLimit)throw Error("max depth exceeded");if(null!==(e=v())&&Q.test(e))return x(f=new B(e),function(t){if(!_(f,t,a)&&";"!==t){if("rpc"!==t)throw j(t);var i=f,r=l(),n=t;if(!Q.test(t=v()))throw j(t,"name");var e,s,o,u=t;if(b("("),b("stream",!0)&&(s=!0),!tt.test(t=v()))throw j(t);if(e=t,b(")"),b("returns"),b("("),b("stream",!0)&&(o=!0),!tt.test(t=v()))throw j(t);t=t,b(")");var h=new C(u,n,e,t,s,o);h.comment=r,x(h,function(t){if(";"!==t){if("option"!==t)throw j(t);S(h,t),b(";")}}),i.add(h)}}),n.add(f),n===m&&y.push(f),!0;throw j(e,"service name");case"extend":var s,o=t,n=i,u=r;if(null!==(n=v())&&tt.test(n))return s=n,x(null,function(t){switch(t){case"required":case"repeated":T(o,t,s,u+1);break;case"optional":T(o,"proto3"===w?"proto3_optional":"optional",s,u+1);break;default:if("proto2"===w||!tt.test(t))throw j(t);h(t),T(o,"optional",s,u+1)}}),!0;throw j(n,"reference")}return!1}function x(t,i,r){var n,e=u.line;if(t&&("string"!=typeof t.comment&&(t.comment=l()),t.filename=nt.filename),b("{",!0)){for(;"}"!==(n=v());)i(n);b(";",!0)}else r&&r(),b(";"),t&&("string"!=typeof t.comment||o)&&(t.comment=l(e)||t.comment)}function A(t,i,s){if((s=s===et?0:s)>X.nestingLimit)throw Error("max depth exceeded");if(null===(i=v())||!Q.test(i))throw j(i,"type name");var o=new R(i);x(o,function(t){if(!_(o,t,s))switch(t){case";":break;case"map":L(o);break;case"required":if("proto2"!==w)throw j(t);case"repeated":T(o,t,et,s+1);break;case"optional":if("proto3"===w)T(o,"proto3_optional",et,s+1);else{if("proto2"!==w)throw j(t);T(o,"optional",et,s+1)}break;case"oneof":var i=o,r=t,n=s+1;if(null===(r=v())||!Q.test(r))throw j(r,"name");var e=new M(g(r));x(e,function(t){"option"===t?(S(e,t),b(";")):(h(t),T(e,"optional",et,n))}),i.add(e);break;case"extensions":O(o.extensions||(o.extensions=[]));break;case"reserved":O(o.reserved||(o.reserved=[]),!0);break;default:if("proto2"===w||!tt.test(t))throw j(t);h(t),T(o,"optional",et,s+1)}}),t.add(o),t===m&&y.push(o)}function T(t,i,r,n){var e=v();if(null===e)throw j(e,"end of input");if("group"===e){var s=t,o=i,u=r,h=n;if((h=h===et?0:h)>X.nestingLimit)throw Error("max depth exceeded");if(2023<=w)throw j("group");var f,a,n=v();if(null!==n&&Q.test(n))return a=X.lcFirst(n),n===a&&(n=X.ucFirst(n)),b("="),l=k(v()),(f=new R(n)).group=!0,(a=new F(a,l,n,o,u)).filename=nt.filename,x(f,function(t){switch(t){case";":break;case"map":L(f);break;case"option":S(f,t),b(";");break;case"required":case"repeated":T(f,t,et,h+1);break;case"optional":T(f,"proto3"===w?"proto3_optional":"optional",et,h+1);break;case"message":A(f,0,h+1);break;case"enum":I(f);break;case"reserved":O(f.reserved||(f.reserved=[]),!0);break;case"export":case"local":if(w<"2024")throw j(t);switch(t=v()){case"message":case"enum":A(f,0,h+1);break;default:throw j(t)}break;default:throw j(t)}}),s.add(f).add(a),void(s===m&&(y.push(f),y.push(a)));throw j(n,"name")}for(;e.endsWith(".")||(p()||"").startsWith(".");){var c=v();if(null===c)throw j(c,"end of input");e+=c}if(!tt.test(e))throw j(e,"type");if(null===(l=v()))throw j(l,"end of input");if(!Q.test(l))throw j(l,"name");var o=l,l=g(l),d=(b("="),new F(l,k(v()),e,"proto3_optional"===i?"optional":i,r));o!==l&&(d.protoName=o),x(d,function(t){if("option"!==t)throw j(t);S(d,t),b(";")},function(){P(d)}),"proto3_optional"===i?(u=new M("_"+l),d.setOption("proto3_optional",!0),u.add(d),t.add(u)):t.add(d),t===m&&y.push(d)}function L(t){b("<");var i=v();if(z.mapKey[i]===et)throw j(i,"type");b(",");var r=v();if(!tt.test(r))throw j(r,"type");if(b(">"),null===(e=v())||!Q.test(e))throw j(e,"name");b("=");var n=e,e=g(e),s=new $(e,k(v()),i,r);n!==e&&(s.protoName=n),x(s,function(t){if("option"!==t)throw j(t);S(s,t),b(";")},function(){P(s)}),t.add(s)}function I(t,i){if(null===(i=v())||!Q.test(i))throw j(i,"name");var r=new D(i),n=[];x(r,function(t){switch(t){case";":break;case"option":S(r,t),b(";");break;case"reserved":O(r.reserved||(r.reserved=[]),!0,rt,!0),r.reserved===et&&(r.reserved=[]);break;default:n.push(function(t){if(!Q.test(t))throw j(t,"name");b("=");var i=k(v(),!0),r={options:et,getOption:function(t){return this.options[t]},setOption:function(t,i){U.prototype.setOption.call(r,t,i)},setParsedOption:function(){return et}};return x(r,function(t){if("option"!==t)throw j(t);S(r,t),b(";")},function(){P(r)}),{name:t,id:i,comment:r.comment,options:r.parsedOptions||r.options}}(t))}});for(var e=0;eX.recursionLimit)throw Error("max depth exceeded");if(b("{",!0)){for(var e,s,o,u,h={};!b("}",!0);){if(null===(c=v()))throw j(c,"end of input");if("["===c){var f=null===(c=v())?-1:c.lastIndexOf("/");if(null===c||!tt.test(f<0?c:c.slice(1+f)))throw j(c,"name");e="["+c+"]",b("]")}else{if(!Q.test(c))throw j(c,"name");e=c}if(b(":",!0),"{"===p())s=t(i,r+"."+e,n+1);else if("["===p()){if(s=[],b("[",!0)&&!b("]",!0)){for(;u="{"===p(),o=u?t(i,r+"."+e,n+1):E(!0),s.push(o),b(",",!0););b("]"),void 0===o||u||N(i,r+"."+e,o)}}else s=E(!0),N(i,r+"."+e,s);f=Object.prototype.hasOwnProperty.call(h,e)?h[e]:et;f&&(s=[].concat(f).concat(s)),"__proto__"!==e&&(h[e]=s),b(",",!0),b(";",!0)}return h}var a=E(!0);N(i,r,a);return a}(t,u),h=h&&"."===h[0]?h.slice(1):h;e=e&&"."===e[e.length-1]?e.slice(0,-1):e,s=e,u=u,o=h,(t=t).setParsedOption&&t.setParsedOption(s,u,o)}function N(t,i,r){m===t&&/^features\./.test(i)?a[i]=r:("json_name"===i&&t instanceof F&&(t.jsonName=r),t.setOption&&t.setOption(i,r))}function P(t){if(b("[",!0)){for(;S(t,"option"),b(",",!0););b("]")}}for(;null!==(c=v());)switch(c){case";":break;case"package":if(!f)throw j(c);if(n!==et)throw j("package");if(null===(n=v())||!tt.test(n))throw j(n,"name");m=m.define(n),b(";");break;case"import":!function(){var t,i;switch(p()){case"option":if(w<"2024")throw j("option");return v(),d(),b(";");case"weak":i=s=s||[],v();break;case"public":v();default:i=e=e||[]}t=d(),b(";"),i.push(t)}();break;case"syntax":if(!f)throw j(c);if(b("="),(w=d())<2023)throw j(w,"syntax");b(";");break;case"edition":if(!f)throw j(c);if(b("="),w=d(),!["2023","2024"].includes(w))throw j(w,"edition");b(";");break;case"option":S(m,c),b(";",!0);break;default:if(_(m,c,0)){f=!1;continue}throw j(c)}return y.forEach(i=>{i.u=w,Object.keys(a).forEach(t=>{i.getOption(t)===et&&i.setOption(t,a[t],!0)})}),nt.filename=null,{package:n,imports:e,weakImports:s,root:i}}},{11:11,13:13,15:15,16:16,20:20,24:24,25:25,26:26,27:27,28:28,6:6,7:7}],18:[function(t,i,r){i.exports=o;var n,a=t(37),e=a.LongBits,s=a.utf8;function c(t,i){return RangeError("index out of range: "+t.pos+" + "+(i||1)+" > "+t.len)}function o(t){this.buf=t,this.pos=0,this.len=t.length,this.view=null,this.discardUnknown=o.discardUnknown}function u(t){if((t=Array.isArray(t)?new Uint8Array(t):t)instanceof Uint8Array)return new o(t);throw Error("illegal buffer")}function h(){return a.Buffer?function(t){return(o.create=function(t){return a.Buffer.isBuffer(t)?new n(t):u(t)})(t)}:u}function f(){var t=new e(0,0),i=0;if(!(4=this.len)throw c(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*i)>>>0,this.buf[this.pos++]<128)return t}throw c(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 c(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 c(this,8);return new e(l(this.buf,this.pos+=4),l(this.buf,this.pos+=4))}o.create=h(),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,c(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 c(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 c(this,4);return l(this.buf,this.pos+=4)},o.prototype.sfixed32=function(){if(this.pos+4>this.len)throw c(this,4);return 0|l(this.buf,this.pos+=4)},o.prototype.float=function(){if(this.pos+4>this.len)throw c(this,4);var t=a.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},o.prototype.double=function(){if(this.pos+8>this.len)throw c(this,4);var t=a.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},o.prototype.uint32s=function(t){t===et&&(t=[]);for(var i=this.uint32()+this.pos;this.posthis.len)throw c(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 u=0;uthis.len)throw c(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 u=0;uthis.len)throw c(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 u=0;uthis.len)throw c(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 u=0;uthis.len)throw c(this,i);var e=i>>>3;t.length=n+e;for(var s=0;sthis.len)throw c(this,i);var e=i>>>3;t.length=n+e;for(var s=0;sthis.len)throw c(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 c(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 c(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 c(this,t);this.pos+=t}else do{if(this.pos>=this.len)throw c(this)}while(128&this.buf[this.pos++]);return this},o.recursionLimit=a.recursionLimit,o.discardUnknown=!0,o.prototype.skipType=function(t,i,r){if(o.recursionLimit<(i=i===et?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!==et&&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.l=function(t){n=t,o.create=h(),n.l();var i=a.Long?"toLong":"toNumber";a.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)}})}},{37:37}],19:[function(t,i,r){i.exports=s;var n=t(18),e=(s.prototype=Object.create(n.prototype,{constructor:{value:s,writable:!0,enumerable:!1,configurable:!0}}),t(37));function s(t){n.call(this,t)}s.l=function(){e.Buffer&&(s.prototype._=e.Buffer.prototype.slice)},s.prototype.raw=function(t,i){return this._.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.l()},{18:18,37:37}],20:[function(t,i,r){i.exports=h;var n,v,p,e=t(14),s=(h.prototype=Object.create(e.prototype,{constructor:{value:h,writable:!0,enumerable:!1,configurable:!0}}),h.className="Root",t(7)),o=t(6),u=t(16),b=t(28);function h(t){e.call(this,"",t),this.deferred=[],this.files=[],this.u="proto2",this.g={}}function w(){}h.fromJSON=function(t,i,r){if((r=r===et?0:r)>b.recursionLimit)throw Error("max depth exceeded");return i=i||new h,t.options&&i.setOptions(t.options),i.addJSON(t.nested,r).resolveAll()},h.prototype.resolvePath=b.path.resolve,h.prototype.fetch=b.fetch,h.prototype.load=function t(i,o,s){"function"==typeof o&&(s=o,o=et);var u=this;if(!s)return b.asPromise(t,u,i,o);var h=s===w;function f(t,i){if(s){if(h)throw t;i&&i.resolveAll();var r=s;s=null,r(t,i)}}function a(t){var i=t.lastIndexOf("google/protobuf/");if(-1b.recursionLimit)throw Error("max depth exceeded");if(b.isString(i)&&"{"==(i[0]||"")&&(i=JSON.parse(i)),b.isString(i)){v.filename=t;var n,e=v(i,u,o),s=0;if(e.imports)for(;su.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.m(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 h.Service(t,i,r),s=0;s]/g,k=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,_=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,x=/^ *[*/]+ */,A=/^\s*\*?\/*/,T=/\n/g,L=/\s/,n=/\\(.?)/g,e={0:"\0",r:"\r",n:"\n",t:"\t"};function I(t){return t.replace(n,function(t,i){switch(i){case"\\":case"":return i;default:return e[i]||""}})}function s(a,c){a=a.toString();var l=0,d=a.length,v=1,h=0,f={},p=[],b=null;function w(t){return Error("illegal "+t+" (line "+v+")")}function m(t){return a[0|t]||""}function y(t,i,r){var n,e={type:a[0|t++]||"",lineEmpty:!1,leading:r},r=c?2:3,s=t-r;do{if(--s<0||"\n"==(n=a[0|s]||"")){e.lineEmpty=!0;break}}while(" "===n||"\t"===n);for(var o=a.substring(t,i).split(T),u=0;ud.nestingLimit)throw Error("max depth exceeded");for(var n=new y(t,i.options),e=(n.extensions=i.extensions,n.reserved=i.reserved,Object.keys(i.fields)),s=0;s{t.o(i)}),this.fieldsArray.forEach(t=>{t.o(i)})),this},y.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},y.prototype.add=function(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);if(t instanceof a&&t.extend===et){if((this.A||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 u.prototype.add.call(this,t)},y.prototype.remove=function(t){if(t instanceof a&&t.extend===et){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 u.prototype.remove.call(this,t)},y.prototype.isReservedId=function(t){return u.isReservedId(this.reserved,t)},y.prototype.isReservedName=function(t){return u.isReservedName(this.reserved,t)},y.prototype.create=function(t){return new this.ctor(t)},y.prototype.setup=function(){for(var t=this.root,t=(t&&t.b&&((n=t.u||this.u)&&t.m(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&h)<<4,u=1;break;case 1:s[o++]=f[n|h>>4],n=(15&h)<<2,u=2;break;case 2:s[o++]=f[n|h>>6],s[o++]=f[63&h],u=0}8191>4,n=u,s=2;break;case 2:i[r++]=(15&n)<<4|(60&u)>>2,n=u,s=3;break;case 3:i[r++]=(3&n)<<6|u,s=0}}if(1===s)throw Error(a);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)}},{}],31:[function(t,i,r){i.exports=c;var n=t(39).reservedRe;function c(i,r){"string"==typeof i&&(r=i,i=et);var h=[];function f(t){if("string"!=typeof t){var i=a();if(c.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){u[0]=t,i[r]=h[0],i[r+1]=h[1],i[r+2]=h[2],i[r+3]=h[3]}function e(t,i,r){u[0]=t,i[r]=h[3],i[r+1]=h[2],i[r+2]=h[1],i[r+3]=h[0]}function s(t,i){return h[0]=t[i],h[1]=t[i+1],h[2]=t[i+2],h[3]=t[i+3],u[0]}function o(t,i){return h[3]=t[i],h[2]=t[i+1],h[1]=t[i+2],h[0]=t[i+3],u[0]}var u,h,f,a,c;function l(t,i,r,n,e,s){var o,u=n<0?1:0;0===(n=u?-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((u<<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((u<<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]=a[0],i[r+1]=a[1],i[r+2]=a[2],i[r+3]=a[3],i[r+4]=a[4],i[r+5]=a[5],i[r+6]=a[6],i[r+7]=a[7]}function p(t,i,r){f[0]=t,i[r]=a[7],i[r+1]=a[6],i[r+2]=a[5],i[r+3]=a[4],i[r+4]=a[3],i[r+5]=a[2],i[r+6]=a[1],i[r+7]=a[0]}function b(t,i){return a[0]=t[i],a[1]=t[i+1],a[2]=t[i+2],a[3]=t[i+3],a[4]=t[i+4],a[5]=t[i+5],a[6]=t[i+6],a[7]=t[i+7],f[0]}function w(t,i){return a[7]=t[i],a[6]=t[i+1],a[5]=t[i+2],a[4]=t[i+3],a[3]=t[i+4],a[2]=t[i+5],a[1]=t[i+6],a[0]=t[i+7],f[0]}return"undefined"!=typeof Float32Array?(u=new Float32Array([-0]),h=new Uint8Array(u.buffer),c=128===h[3],t.writeFloatLE=c?n:e,t.writeFloatBE=c?e:n,t.readFloatLE=c?s:o,t.readFloatBE=c?o:s):(t.writeFloatLE=i.bind(null,m),t.writeFloatBE=i.bind(null,y),t.readFloatLE=r.bind(null,g),t.readFloatBE=r.bind(null,j)),"undefined"!=typeof Float64Array?(f=new Float64Array([-0]),a=new Uint8Array(f.buffer),c=128===a[7],t.writeDoubleLE=c?v:p,t.writeDoubleBE=c?p:v,t.readDoubleLE=c?b:w,t.readDoubleBE=c?w:b):(t.writeDoubleLE=l.bind(null,m,0,4),t.writeDoubleBE=l.bind(null,y,4,0),t.readDoubleLE=d.bind(null,g,0,4),t.readDoubleBE=d.bind(null,j,4,0)),t}function m(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 y(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 g(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)},{}],35:[function(t,i,r){var n=null;try{(n=t(1))&&n.readFile&&n.readFileSync||(n=null)}catch(t){}i.exports=n},{1:1}],36:[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.l=function(t){n=t}},{}],37:[function(i,t,r){var o=r;function u(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 b(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}},{}],42:[function(t,i,r){i.exports=function(t){var i=h.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;eh.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,et,et,r+1))),!(t instanceof this.ctor)&&t instanceof u?(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)}}},{12:12,37:37}],44:[function(t,i,r){i.exports=s;var n,u=t(37),h=u.LongBits,e=u.base64,o=u.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 u.Buffer?function(){return(s.create=function(){return new n})()}:function(){return new s}}function a(t){return t<128?1:t<16384?2:t<2097152?3:t<268435456?4:5}function c(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=u.pool(s.alloc=function(t){return new Uint8Array(t)},Uint8Array.prototype.subarray),s.prototype.S=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.S(5);var i=this.pos;return this.pos=c(t,this.buf,i),this},s.prototype.int32=function(t){return(t|=0)<0?(this.S(10),l(h.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=h.from(t),i=(this.S(10),this.pos);return this.pos=l(t,this.buf,i),this},s.prototype.sint64=function(t){var t=h.from(t).zzEncode(),i=(this.S(10),this.pos);return this.pos=l(t,this.buf,i),this},s.prototype.bool=function(t){return this.S(1),this.buf[this.pos++]=t?1:0,this},s.prototype.sfixed32=s.prototype.fixed32=function(t){return this.S(4),d(t>>>0,this.buf,this.pos),this.pos+=4,this},s.prototype.sfixed64=s.prototype.fixed64=function(t){t=h.from(t);return this.S(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.S(4),u.float.writeFloatLE(t,this.buf,this.pos),this.pos+=4,this},s.prototype.double=function(t){return this.S(8),u.float.writeDoubleLE(t,this.buf,this.pos),this.pos+=8,this},s.prototype.bytes=function(t){var i,r=t.length>>>0;return r?(u.isString(t)&&(i=s.alloc(r=e.length(t)),e.decode(t,i,0),t=i),this.uint32(r),this.S(r),this.buf.set(t,this.pos),this.pos+=r):(this.S(1),this.buf[this.pos++]=0),this},s.prototype.raw=function(t){var i=t.length>>>0;return i&&(this.S(i),this.buf.set(t,this.pos),this.pos+=i),this},s.prototype.N=function(t,i){var r=a(i);return 1>>0,r,e);return this.N(n,e-n-1)},s.prototype.int32s=function(t){for(var i,r=t.length,n=(this.S(10*r+5),this.buf),e=this.pos,s=e+1,o=0;o>31)>>>0,r,e);return this.N(n,e-n-1)},s.prototype.int64s=s.prototype.uint64s=function(t){for(var i=t.length,r=(this.S(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.S(n),this.pos),s=v(this,r,128);if(s)for(u=0;u>>0;return this.uint32(i),i&&(this.S(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.S(3*n+5),i=this.pos,r=this.buf,this.N(i,n<40?s.utf8.write(t,r,i+1):e(t,r,i+1));n=s.Buffer.byteLength(t);this.uint32(n),this.S(n),e(t,this.buf,this.pos),this.pos+=n}else this.S(1),this.buf[this.pos++]=0;return this},o.l()},{37:37,44:44}]},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}([10][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