@ckeditor/ckeditor-cloud-services-collaboration 54.1.0 → 54.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/services.js CHANGED
@@ -20,48 +20,48 @@
20
20
  *
21
21
  *
22
22
  */
23
- import $protobuf from'protobufjs/minimal.js';import{io}from'socket.io-client';import _0x4c722b from'url-parse';import{EmitterMixin,ObservableMixin,priorities,global,Collection}from'@ckeditor/ckeditor5-utils';import{Decoder as _0x2deba6,Encoder as _0x471e78,PacketType}from'socket.io-parser';import{v4}from'uuid';class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x3daf6a){}}class Message extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x1f2743){super();}static['fromJSON'](object){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends Message{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x16d9b3){super(),this['id']=_0x16d9b3;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](data){return new GetUserMessage(data['id']);}}class GetUserResponse extends Message{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(attributes){super(),this['attributes']=attributes;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x323365=>({'key':_0x323365,'value':JSON['stringify'](this['attributes'][_0x323365])}))};}static['fromJSON'](data){const attributes=data['attributes']['reduce']((result,_0x128bb8)=>(result[_0x128bb8['key']]=_0x128bb8['value']?JSON['parse'](_0x128bb8['value']):null,result),{});return new GetUserResponse(attributes);}}const messages=/* #__PURE__ -- @preserve */
24
- ((()=>{var _0x2be071=$protobuf['Reader'],$Writer=$protobuf['Writer'],$util=$protobuf['util'],$root=$protobuf['roots']['default']||($protobuf['roots']['default']={});return $root['StringStringPacketDataMessage']=(function(){function StringStringPacketDataMessage(properties){if(properties){for(var _0xfb0760=Object['keys'](properties),_0x373932=0x0;_0x373932<_0xfb0760['length'];++_0x373932)null!=properties[_0xfb0760[_0x373932]]&&'__proto__'!==_0xfb0760[_0x373932]&&(this[_0xfb0760[_0x373932]]=properties[_0xfb0760[_0x373932]]);}}return StringStringPacketDataMessage['prototype']['data']='',StringStringPacketDataMessage['prototype']['data1']='',StringStringPacketDataMessage['create']=function(properties){return new StringStringPacketDataMessage(properties);},StringStringPacketDataMessage['encode']=function(_0x23a67c,writer){return writer||(writer=$Writer['create']()),null!=_0x23a67c['data']&&Object['hasOwnProperty']['call'](_0x23a67c,'data')&&writer['uint32'](0xa)['string'](_0x23a67c['data']),null!=_0x23a67c['data1']&&Object['hasOwnProperty']['call'](_0x23a67c,'data1')&&writer['uint32'](0x12)['string'](_0x23a67c['data1']),writer;},StringStringPacketDataMessage['encodeDelimited']=function(_0x4ed2bb,writer){return this['encode'](_0x4ed2bb,writer)['ldelim']();},StringStringPacketDataMessage['decode']=function(_0x5656dd,length,_0x1e5853,_0x5dc083){if(_0x5656dd instanceof _0x2be071||(_0x5656dd=_0x2be071['create'](_0x5656dd)),void 0x0===_0x5dc083&&(_0x5dc083=0x0),_0x5dc083>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1cd5c3=void 0x0===length?_0x5656dd['len']:_0x5656dd['pos']+length,_0x243edf=new $root['StringStringPacketDataMessage']();_0x5656dd['pos']<_0x1cd5c3;){var tag=_0x5656dd['uint32']();if(tag===_0x1e5853)break;switch(tag>>>0x3){case 0x1:_0x243edf['data']=_0x5656dd['string']();break;case 0x2:_0x243edf['data1']=_0x5656dd['string']();break;default:_0x5656dd['skipType'](0x7&tag,_0x5dc083);}}return _0x243edf;},StringStringPacketDataMessage['decodeDelimited']=function(_0x3de6e4){return _0x3de6e4 instanceof _0x2be071||(_0x3de6e4=new _0x2be071(_0x3de6e4)),this['decode'](_0x3de6e4,_0x3de6e4['uint32']());},StringStringPacketDataMessage['verify']=function(_0x4d7035,_0x337e3c){return'object'!=typeof _0x4d7035||null===_0x4d7035?'object\x20expected':(void 0x0===_0x337e3c&&(_0x337e3c=0x0),_0x337e3c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4d7035['data']&&_0x4d7035['hasOwnProperty']('data')&&!$util['isString'](_0x4d7035['data'])?'data:\x20string\x20expected':null!=_0x4d7035['data1']&&_0x4d7035['hasOwnProperty']('data1')&&!$util['isString'](_0x4d7035['data1'])?'data1:\x20string\x20expected':null);},StringStringPacketDataMessage['fromObject']=function(object,_0x391c49){if(object instanceof $root['StringStringPacketDataMessage'])return object;if(void 0x0===_0x391c49&&(_0x391c49=0x0),_0x391c49>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x44ae43=new $root['StringStringPacketDataMessage']();return null!=object['data']&&(_0x44ae43['data']=String(object['data'])),null!=object['data1']&&(_0x44ae43['data1']=String(object['data1'])),_0x44ae43;},StringStringPacketDataMessage['toObject']=function(_0x3c9942,options){options||(options={});var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x3c9942['data']&&_0x3c9942['hasOwnProperty']('data')&&(object['data']=_0x3c9942['data']),null!=_0x3c9942['data1']&&_0x3c9942['hasOwnProperty']('data1')&&(object['data1']=_0x3c9942['data1']),object;},StringStringPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringStringPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringStringPacketDataMessage';},StringStringPacketDataMessage;}()),$root['StringObjectPacketDataMessage']=(function(){function StringObjectPacketDataMessage(properties){if(properties){for(var _0x5cf14e=Object['keys'](properties),_0x4d0ec3=0x0;_0x4d0ec3<_0x5cf14e['length'];++_0x4d0ec3)null!=properties[_0x5cf14e[_0x4d0ec3]]&&'__proto__'!==_0x5cf14e[_0x4d0ec3]&&(this[_0x5cf14e[_0x4d0ec3]]=properties[_0x5cf14e[_0x4d0ec3]]);}}return StringObjectPacketDataMessage['prototype']['data']='',StringObjectPacketDataMessage['prototype']['data1']='',StringObjectPacketDataMessage['create']=function(properties){return new StringObjectPacketDataMessage(properties);},StringObjectPacketDataMessage['encode']=function(_0x33a993,writer){return writer||(writer=$Writer['create']()),null!=_0x33a993['data']&&Object['hasOwnProperty']['call'](_0x33a993,'data')&&writer['uint32'](0xa)['string'](_0x33a993['data']),null!=_0x33a993['data1']&&Object['hasOwnProperty']['call'](_0x33a993,'data1')&&writer['uint32'](0x12)['string'](_0x33a993['data1']),writer;},StringObjectPacketDataMessage['encodeDelimited']=function(_0x4ccce6,writer){return this['encode'](_0x4ccce6,writer)['ldelim']();},StringObjectPacketDataMessage['decode']=function(_0xe8bec6,length,_0x16c415,_0x3bddf5){if(_0xe8bec6 instanceof _0x2be071||(_0xe8bec6=_0x2be071['create'](_0xe8bec6)),void 0x0===_0x3bddf5&&(_0x3bddf5=0x0),_0x3bddf5>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3fd1b0=void 0x0===length?_0xe8bec6['len']:_0xe8bec6['pos']+length,_0x5c4275=new $root['StringObjectPacketDataMessage']();_0xe8bec6['pos']<_0x3fd1b0;){var tag=_0xe8bec6['uint32']();if(tag===_0x16c415)break;switch(tag>>>0x3){case 0x1:_0x5c4275['data']=_0xe8bec6['string']();break;case 0x2:_0x5c4275['data1']=_0xe8bec6['string']();break;default:_0xe8bec6['skipType'](0x7&tag,_0x3bddf5);}}return _0x5c4275;},StringObjectPacketDataMessage['decodeDelimited']=function(_0x3676d8){return _0x3676d8 instanceof _0x2be071||(_0x3676d8=new _0x2be071(_0x3676d8)),this['decode'](_0x3676d8,_0x3676d8['uint32']());},StringObjectPacketDataMessage['verify']=function(_0x3be5dd,_0xeeeb32){return'object'!=typeof _0x3be5dd||null===_0x3be5dd?'object\x20expected':(void 0x0===_0xeeeb32&&(_0xeeeb32=0x0),_0xeeeb32>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3be5dd['data']&&_0x3be5dd['hasOwnProperty']('data')&&!$util['isString'](_0x3be5dd['data'])?'data:\x20string\x20expected':null!=_0x3be5dd['data1']&&_0x3be5dd['hasOwnProperty']('data1')&&!$util['isString'](_0x3be5dd['data1'])?'data1:\x20string\x20expected':null);},StringObjectPacketDataMessage['fromObject']=function(object,_0x56fb04){if(object instanceof $root['StringObjectPacketDataMessage'])return object;if(void 0x0===_0x56fb04&&(_0x56fb04=0x0),_0x56fb04>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x6b5400=new $root['StringObjectPacketDataMessage']();return null!=object['data']&&(_0x6b5400['data']=String(object['data'])),null!=object['data1']&&(_0x6b5400['data1']=String(object['data1'])),_0x6b5400;},StringObjectPacketDataMessage['toObject']=function(_0x134ba6,options){options||(options={});var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x134ba6['data']&&_0x134ba6['hasOwnProperty']('data')&&(object['data']=_0x134ba6['data']),null!=_0x134ba6['data1']&&_0x134ba6['hasOwnProperty']('data1')&&(object['data1']=_0x134ba6['data1']),object;},StringObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringObjectPacketDataMessage';},StringObjectPacketDataMessage;}()),$root['StringNumberPacketDataMessage']=(function(){function StringNumberPacketDataMessage(properties){if(properties){for(var _0x106954=Object['keys'](properties),_0x5f4eda=0x0;_0x5f4eda<_0x106954['length'];++_0x5f4eda)null!=properties[_0x106954[_0x5f4eda]]&&'__proto__'!==_0x106954[_0x5f4eda]&&(this[_0x106954[_0x5f4eda]]=properties[_0x106954[_0x5f4eda]]);}}return StringNumberPacketDataMessage['prototype']['data']='',StringNumberPacketDataMessage['prototype']['data1']=0x0,StringNumberPacketDataMessage['create']=function(properties){return new StringNumberPacketDataMessage(properties);},StringNumberPacketDataMessage['encode']=function(_0xaaed06,writer){return writer||(writer=$Writer['create']()),null!=_0xaaed06['data']&&Object['hasOwnProperty']['call'](_0xaaed06,'data')&&writer['uint32'](0xa)['string'](_0xaaed06['data']),null!=_0xaaed06['data1']&&Object['hasOwnProperty']['call'](_0xaaed06,'data1')&&writer['uint32'](0x10)['uint32'](_0xaaed06['data1']),writer;},StringNumberPacketDataMessage['encodeDelimited']=function(_0x3e4d1e,writer){return this['encode'](_0x3e4d1e,writer)['ldelim']();},StringNumberPacketDataMessage['decode']=function(_0xa59504,length,_0x1f529e,_0x368f5d){if(_0xa59504 instanceof _0x2be071||(_0xa59504=_0x2be071['create'](_0xa59504)),void 0x0===_0x368f5d&&(_0x368f5d=0x0),_0x368f5d>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x26ac03=void 0x0===length?_0xa59504['len']:_0xa59504['pos']+length,_0x47505f=new $root['StringNumberPacketDataMessage']();_0xa59504['pos']<_0x26ac03;){var tag=_0xa59504['uint32']();if(tag===_0x1f529e)break;switch(tag>>>0x3){case 0x1:_0x47505f['data']=_0xa59504['string']();break;case 0x2:_0x47505f['data1']=_0xa59504['uint32']();break;default:_0xa59504['skipType'](0x7&tag,_0x368f5d);}}return _0x47505f;},StringNumberPacketDataMessage['decodeDelimited']=function(_0x56fc50){return _0x56fc50 instanceof _0x2be071||(_0x56fc50=new _0x2be071(_0x56fc50)),this['decode'](_0x56fc50,_0x56fc50['uint32']());},StringNumberPacketDataMessage['verify']=function(_0x62bedc,_0x310b2c){return'object'!=typeof _0x62bedc||null===_0x62bedc?'object\x20expected':(void 0x0===_0x310b2c&&(_0x310b2c=0x0),_0x310b2c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x62bedc['data']&&_0x62bedc['hasOwnProperty']('data')&&!$util['isString'](_0x62bedc['data'])?'data:\x20string\x20expected':null!=_0x62bedc['data1']&&_0x62bedc['hasOwnProperty']('data1')&&!$util['isInteger'](_0x62bedc['data1'])?'data1:\x20integer\x20expected':null);},StringNumberPacketDataMessage['fromObject']=function(object,_0x3b39f3){if(object instanceof $root['StringNumberPacketDataMessage'])return object;if(void 0x0===_0x3b39f3&&(_0x3b39f3=0x0),_0x3b39f3>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d467a=new $root['StringNumberPacketDataMessage']();return null!=object['data']&&(_0x2d467a['data']=String(object['data'])),null!=object['data1']&&(_0x2d467a['data1']=object['data1']>>>0x0),_0x2d467a;},StringNumberPacketDataMessage['toObject']=function(_0x3df4fa,options){options||(options={});var object={};return options['defaults']&&(object['data']='',object['data1']=0x0),null!=_0x3df4fa['data']&&_0x3df4fa['hasOwnProperty']('data')&&(object['data']=_0x3df4fa['data']),null!=_0x3df4fa['data1']&&_0x3df4fa['hasOwnProperty']('data1')&&(object['data1']=_0x3df4fa['data1']),object;},StringNumberPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringNumberPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringNumberPacketDataMessage';},StringNumberPacketDataMessage;}()),$root['StringBytesPacketDataMessage']=(function(){function StringBytesPacketDataMessage(properties){if(properties){for(var _0x493e4b=Object['keys'](properties),_0xa89e0a=0x0;_0xa89e0a<_0x493e4b['length'];++_0xa89e0a)null!=properties[_0x493e4b[_0xa89e0a]]&&'__proto__'!==_0x493e4b[_0xa89e0a]&&(this[_0x493e4b[_0xa89e0a]]=properties[_0x493e4b[_0xa89e0a]]);}}return StringBytesPacketDataMessage['prototype']['data']='',StringBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),StringBytesPacketDataMessage['create']=function(properties){return new StringBytesPacketDataMessage(properties);},StringBytesPacketDataMessage['encode']=function(_0x2b6ea6,writer){return writer||(writer=$Writer['create']()),null!=_0x2b6ea6['data']&&Object['hasOwnProperty']['call'](_0x2b6ea6,'data')&&writer['uint32'](0xa)['string'](_0x2b6ea6['data']),null!=_0x2b6ea6['data1']&&Object['hasOwnProperty']['call'](_0x2b6ea6,'data1')&&writer['uint32'](0x12)['bytes'](_0x2b6ea6['data1']),writer;},StringBytesPacketDataMessage['encodeDelimited']=function(_0x3dc466,writer){return this['encode'](_0x3dc466,writer)['ldelim']();},StringBytesPacketDataMessage['decode']=function(_0x25f6c7,length,_0xb3591a,_0x2bb576){if(_0x25f6c7 instanceof _0x2be071||(_0x25f6c7=_0x2be071['create'](_0x25f6c7)),void 0x0===_0x2bb576&&(_0x2bb576=0x0),_0x2bb576>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5843c5=void 0x0===length?_0x25f6c7['len']:_0x25f6c7['pos']+length,_0x500c38=new $root['StringBytesPacketDataMessage']();_0x25f6c7['pos']<_0x5843c5;){var tag=_0x25f6c7['uint32']();if(tag===_0xb3591a)break;switch(tag>>>0x3){case 0x1:_0x500c38['data']=_0x25f6c7['string']();break;case 0x2:_0x500c38['data1']=_0x25f6c7['bytes']();break;default:_0x25f6c7['skipType'](0x7&tag,_0x2bb576);}}return _0x500c38;},StringBytesPacketDataMessage['decodeDelimited']=function(_0x4ceb09){return _0x4ceb09 instanceof _0x2be071||(_0x4ceb09=new _0x2be071(_0x4ceb09)),this['decode'](_0x4ceb09,_0x4ceb09['uint32']());},StringBytesPacketDataMessage['verify']=function(_0x29c698,_0xe1933f){return'object'!=typeof _0x29c698||null===_0x29c698?'object\x20expected':(void 0x0===_0xe1933f&&(_0xe1933f=0x0),_0xe1933f>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x29c698['data']&&_0x29c698['hasOwnProperty']('data')&&!$util['isString'](_0x29c698['data'])?'data:\x20string\x20expected':null!=_0x29c698['data1']&&_0x29c698['hasOwnProperty']('data1')&&!(_0x29c698['data1']&&'number'==typeof _0x29c698['data1']['length']||$util['isString'](_0x29c698['data1']))?'data1:\x20buffer\x20expected':null);},StringBytesPacketDataMessage['fromObject']=function(object,_0x58ab1e){if(object instanceof $root['StringBytesPacketDataMessage'])return object;if(void 0x0===_0x58ab1e&&(_0x58ab1e=0x0),_0x58ab1e>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x25f518=new $root['StringBytesPacketDataMessage']();return null!=object['data']&&(_0x25f518['data']=String(object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x25f518['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x25f518['data1']=object['data1'])),_0x25f518;},StringBytesPacketDataMessage['toObject']=function(_0x5a25c2,options){options||(options={});var object={};return options['defaults']&&(object['data']='',options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x5a25c2['data']&&_0x5a25c2['hasOwnProperty']('data')&&(object['data']=_0x5a25c2['data']),null!=_0x5a25c2['data1']&&_0x5a25c2['hasOwnProperty']('data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x5a25c2['data1'],0x0,_0x5a25c2['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x5a25c2['data1']):_0x5a25c2['data1']),object;},StringBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringBytesPacketDataMessage';},StringBytesPacketDataMessage;}()),$root['PacketOptionsMessage']=(function(){function PacketOptionsMessage(properties){if(this['rooms']=[],this['except']=[],properties){for(var _0x13083c=Object['keys'](properties),_0x37aa3d=0x0;_0x37aa3d<_0x13083c['length'];++_0x37aa3d)null!=properties[_0x13083c[_0x37aa3d]]&&'__proto__'!==_0x13083c[_0x37aa3d]&&(this[_0x13083c[_0x37aa3d]]=properties[_0x13083c[_0x37aa3d]]);}}return PacketOptionsMessage['prototype']['flags']='',PacketOptionsMessage['prototype']['rooms']=$util['emptyArray'],PacketOptionsMessage['prototype']['except']=$util['emptyArray'],PacketOptionsMessage['create']=function(properties){return new PacketOptionsMessage(properties);},PacketOptionsMessage['encode']=function(_0x4417fa,writer){if(writer||(writer=$Writer['create']()),null!=_0x4417fa['flags']&&Object['hasOwnProperty']['call'](_0x4417fa,'flags')&&writer['uint32'](0xa)['string'](_0x4417fa['flags']),null!=_0x4417fa['rooms']&&_0x4417fa['rooms']['length']){for(var _0x585d5f=0x0;_0x585d5f<_0x4417fa['rooms']['length'];++_0x585d5f)writer['uint32'](0x12)['string'](_0x4417fa['rooms'][_0x585d5f]);}if(null!=_0x4417fa['except']&&_0x4417fa['except']['length']){for(_0x585d5f=0x0;_0x585d5f<_0x4417fa['except']['length'];++_0x585d5f)writer['uint32'](0x1a)['string'](_0x4417fa['except'][_0x585d5f]);}return writer;},PacketOptionsMessage['encodeDelimited']=function(_0x45871d,writer){return this['encode'](_0x45871d,writer)['ldelim']();},PacketOptionsMessage['decode']=function(_0x1649b2,length,_0x2191e9,_0x460453){if(_0x1649b2 instanceof _0x2be071||(_0x1649b2=_0x2be071['create'](_0x1649b2)),void 0x0===_0x460453&&(_0x460453=0x0),_0x460453>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x173d51=void 0x0===length?_0x1649b2['len']:_0x1649b2['pos']+length,_0x3c6de2=new $root['PacketOptionsMessage']();_0x1649b2['pos']<_0x173d51;){var tag=_0x1649b2['uint32']();if(tag===_0x2191e9)break;switch(tag>>>0x3){case 0x1:_0x3c6de2['flags']=_0x1649b2['string']();break;case 0x2:_0x3c6de2['rooms']&&_0x3c6de2['rooms']['length']||(_0x3c6de2['rooms']=[]),_0x3c6de2['rooms']['push'](_0x1649b2['string']());break;case 0x3:_0x3c6de2['except']&&_0x3c6de2['except']['length']||(_0x3c6de2['except']=[]),_0x3c6de2['except']['push'](_0x1649b2['string']());break;default:_0x1649b2['skipType'](0x7&tag,_0x460453);}}return _0x3c6de2;},PacketOptionsMessage['decodeDelimited']=function(_0x186aa9){return _0x186aa9 instanceof _0x2be071||(_0x186aa9=new _0x2be071(_0x186aa9)),this['decode'](_0x186aa9,_0x186aa9['uint32']());},PacketOptionsMessage['verify']=function(_0x46d0f9,_0x26c3fb){if('object'!=typeof _0x46d0f9||null===_0x46d0f9)return'object\x20expected';if(void 0x0===_0x26c3fb&&(_0x26c3fb=0x0),_0x26c3fb>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x46d0f9['flags']&&_0x46d0f9['hasOwnProperty']('flags')&&!$util['isString'](_0x46d0f9['flags']))return'flags:\x20string\x20expected';if(null!=_0x46d0f9['rooms']&&_0x46d0f9['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x46d0f9['rooms']))return'rooms:\x20array\x20expected';for(var _0x247ff5=0x0;_0x247ff5<_0x46d0f9['rooms']['length'];++_0x247ff5)if(!$util['isString'](_0x46d0f9['rooms'][_0x247ff5]))return'rooms:\x20string[]\x20expected';}if(null!=_0x46d0f9['except']&&_0x46d0f9['hasOwnProperty']('except')){if(!Array['isArray'](_0x46d0f9['except']))return'except:\x20array\x20expected';for(_0x247ff5=0x0;_0x247ff5<_0x46d0f9['except']['length'];++_0x247ff5)if(!$util['isString'](_0x46d0f9['except'][_0x247ff5]))return'except:\x20string[]\x20expected';}return null;},PacketOptionsMessage['fromObject']=function(object,_0x40dc69){if(object instanceof $root['PacketOptionsMessage'])return object;if(void 0x0===_0x40dc69&&(_0x40dc69=0x0),_0x40dc69>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4320c5=new $root['PacketOptionsMessage']();if(null!=object['flags']&&(_0x4320c5['flags']=String(object['flags'])),object['rooms']){if(!Array['isArray'](object['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x4320c5['rooms']=[];for(var _0x43c303=0x0;_0x43c303<object['rooms']['length'];++_0x43c303)_0x4320c5['rooms'][_0x43c303]=String(object['rooms'][_0x43c303]);}if(object['except']){if(!Array['isArray'](object['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');_0x4320c5['except']=[];for(_0x43c303=0x0;_0x43c303<object['except']['length'];++_0x43c303)_0x4320c5['except'][_0x43c303]=String(object['except'][_0x43c303]);}return _0x4320c5;},PacketOptionsMessage['toObject']=function(_0xab0fc0,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['rooms']=[],object['except']=[]),options['defaults']&&(object['flags']=''),null!=_0xab0fc0['flags']&&_0xab0fc0['hasOwnProperty']('flags')&&(object['flags']=_0xab0fc0['flags']),_0xab0fc0['rooms']&&_0xab0fc0['rooms']['length']){object['rooms']=[];for(var _0x5789b8=0x0;_0x5789b8<_0xab0fc0['rooms']['length'];++_0x5789b8)object['rooms'][_0x5789b8]=_0xab0fc0['rooms'][_0x5789b8];}if(_0xab0fc0['except']&&_0xab0fc0['except']['length']){object['except']=[];for(_0x5789b8=0x0;_0x5789b8<_0xab0fc0['except']['length'];++_0x5789b8)object['except'][_0x5789b8]=_0xab0fc0['except'][_0x5789b8];}return object;},PacketOptionsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},PacketOptionsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/PacketOptionsMessage';},PacketOptionsMessage;}()),$root['PacketMessage']=(function(){function PacketMessage(properties){if(properties){for(var _0x26c88e=Object['keys'](properties),_0x40a6c5=0x0;_0x40a6c5<_0x26c88e['length'];++_0x40a6c5)null!=properties[_0x26c88e[_0x40a6c5]]&&'__proto__'!==_0x26c88e[_0x40a6c5]&&(this[_0x26c88e[_0x40a6c5]]=properties[_0x26c88e[_0x40a6c5]]);}}return PacketMessage['prototype']['type']=0x0,PacketMessage['prototype']['id']=0x0,PacketMessage['prototype']['nsp']='',PacketMessage['prototype']['data']=$util['newBuffer']([]),PacketMessage['prototype']['options']=$util['newBuffer']([]),PacketMessage['create']=function(properties){return new PacketMessage(properties);},PacketMessage['encode']=function(_0x7a22f5,writer){return writer||(writer=$Writer['create']()),null!=_0x7a22f5['type']&&Object['hasOwnProperty']['call'](_0x7a22f5,'type')&&writer['uint32'](0x8)['uint32'](_0x7a22f5['type']),null!=_0x7a22f5['id']&&Object['hasOwnProperty']['call'](_0x7a22f5,'id')&&writer['uint32'](0x10)['uint32'](_0x7a22f5['id']),null!=_0x7a22f5['nsp']&&Object['hasOwnProperty']['call'](_0x7a22f5,'nsp')&&writer['uint32'](0x1a)['string'](_0x7a22f5['nsp']),null!=_0x7a22f5['data']&&Object['hasOwnProperty']['call'](_0x7a22f5,'data')&&writer['uint32'](0x22)['bytes'](_0x7a22f5['data']),null!=_0x7a22f5['options']&&Object['hasOwnProperty']['call'](_0x7a22f5,'options')&&writer['uint32'](0x2a)['bytes'](_0x7a22f5['options']),writer;},PacketMessage['encodeDelimited']=function(_0x34b7f6,writer){return this['encode'](_0x34b7f6,writer)['ldelim']();},PacketMessage['decode']=function(_0x5cb77f,length,_0x17d0c4,_0x590b7b){if(_0x5cb77f instanceof _0x2be071||(_0x5cb77f=_0x2be071['create'](_0x5cb77f)),void 0x0===_0x590b7b&&(_0x590b7b=0x0),_0x590b7b>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3d7475=void 0x0===length?_0x5cb77f['len']:_0x5cb77f['pos']+length,_0x30daeb=new $root['PacketMessage']();_0x5cb77f['pos']<_0x3d7475;){var tag=_0x5cb77f['uint32']();if(tag===_0x17d0c4)break;switch(tag>>>0x3){case 0x1:_0x30daeb['type']=_0x5cb77f['uint32']();break;case 0x2:_0x30daeb['id']=_0x5cb77f['uint32']();break;case 0x3:_0x30daeb['nsp']=_0x5cb77f['string']();break;case 0x4:_0x30daeb['data']=_0x5cb77f['bytes']();break;case 0x5:_0x30daeb['options']=_0x5cb77f['bytes']();break;default:_0x5cb77f['skipType'](0x7&tag,_0x590b7b);}}return _0x30daeb;},PacketMessage['decodeDelimited']=function(_0x35437f){return _0x35437f instanceof _0x2be071||(_0x35437f=new _0x2be071(_0x35437f)),this['decode'](_0x35437f,_0x35437f['uint32']());},PacketMessage['verify']=function(_0xe8734a,_0x41042f){return'object'!=typeof _0xe8734a||null===_0xe8734a?'object\x20expected':(void 0x0===_0x41042f&&(_0x41042f=0x0),_0x41042f>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xe8734a['type']&&_0xe8734a['hasOwnProperty']('type')&&!$util['isInteger'](_0xe8734a['type'])?'type:\x20integer\x20expected':null!=_0xe8734a['id']&&_0xe8734a['hasOwnProperty']('id')&&!$util['isInteger'](_0xe8734a['id'])?'id:\x20integer\x20expected':null!=_0xe8734a['nsp']&&_0xe8734a['hasOwnProperty']('nsp')&&!$util['isString'](_0xe8734a['nsp'])?'nsp:\x20string\x20expected':null!=_0xe8734a['data']&&_0xe8734a['hasOwnProperty']('data')&&!(_0xe8734a['data']&&'number'==typeof _0xe8734a['data']['length']||$util['isString'](_0xe8734a['data']))?'data:\x20buffer\x20expected':null!=_0xe8734a['options']&&_0xe8734a['hasOwnProperty']('options')&&!(_0xe8734a['options']&&'number'==typeof _0xe8734a['options']['length']||$util['isString'](_0xe8734a['options']))?'options:\x20buffer\x20expected':null);},PacketMessage['fromObject']=function(object,_0x59c64c){if(object instanceof $root['PacketMessage'])return object;if(void 0x0===_0x59c64c&&(_0x59c64c=0x0),_0x59c64c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x301797=new $root['PacketMessage']();return null!=object['type']&&(_0x301797['type']=object['type']>>>0x0),null!=object['id']&&(_0x301797['id']=object['id']>>>0x0),null!=object['nsp']&&(_0x301797['nsp']=String(object['nsp'])),null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x301797['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x301797['data']=object['data'])),null!=object['options']&&('string'==typeof object['options']?$util['base64']['decode'](object['options'],_0x301797['options']=$util['newBuffer']($util['base64']['length'](object['options'])),0x0):object['options']['length']>=0x0&&(_0x301797['options']=object['options'])),_0x301797;},PacketMessage['toObject']=function(_0x3e102a,options){options||(options={});var object={};return options['defaults']&&(object['type']=0x0,object['id']=0x0,object['nsp']='',options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data']))),options['bytes']===String?object['options']='':(object['options']=[],options['bytes']!==Array&&(object['options']=$util['newBuffer'](object['options'])))),null!=_0x3e102a['type']&&_0x3e102a['hasOwnProperty']('type')&&(object['type']=_0x3e102a['type']),null!=_0x3e102a['id']&&_0x3e102a['hasOwnProperty']('id')&&(object['id']=_0x3e102a['id']),null!=_0x3e102a['nsp']&&_0x3e102a['hasOwnProperty']('nsp')&&(object['nsp']=_0x3e102a['nsp']),null!=_0x3e102a['data']&&_0x3e102a['hasOwnProperty']('data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x3e102a['data'],0x0,_0x3e102a['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x3e102a['data']):_0x3e102a['data']),null!=_0x3e102a['options']&&_0x3e102a['hasOwnProperty']('options')&&(object['options']=options['bytes']===String?$util['base64']['encode'](_0x3e102a['options'],0x0,_0x3e102a['options']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x3e102a['options']):_0x3e102a['options']),object;},PacketMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},PacketMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/PacketMessage';},PacketMessage;}()),$root['ObjectObjectPacketDataMessage']=(function(){function ObjectObjectPacketDataMessage(properties){if(properties){for(var _0x9c0a10=Object['keys'](properties),_0x2c411c=0x0;_0x2c411c<_0x9c0a10['length'];++_0x2c411c)null!=properties[_0x9c0a10[_0x2c411c]]&&'__proto__'!==_0x9c0a10[_0x2c411c]&&(this[_0x9c0a10[_0x2c411c]]=properties[_0x9c0a10[_0x2c411c]]);}}return ObjectObjectPacketDataMessage['prototype']['data']='',ObjectObjectPacketDataMessage['prototype']['data1']='',ObjectObjectPacketDataMessage['create']=function(properties){return new ObjectObjectPacketDataMessage(properties);},ObjectObjectPacketDataMessage['encode']=function(_0x5ca29f,writer){return writer||(writer=$Writer['create']()),null!=_0x5ca29f['data']&&Object['hasOwnProperty']['call'](_0x5ca29f,'data')&&writer['uint32'](0xa)['string'](_0x5ca29f['data']),null!=_0x5ca29f['data1']&&Object['hasOwnProperty']['call'](_0x5ca29f,'data1')&&writer['uint32'](0x12)['string'](_0x5ca29f['data1']),writer;},ObjectObjectPacketDataMessage['encodeDelimited']=function(_0x3f8fe1,writer){return this['encode'](_0x3f8fe1,writer)['ldelim']();},ObjectObjectPacketDataMessage['decode']=function(_0x412fcb,length,_0x486dee,_0xda9651){if(_0x412fcb instanceof _0x2be071||(_0x412fcb=_0x2be071['create'](_0x412fcb)),void 0x0===_0xda9651&&(_0xda9651=0x0),_0xda9651>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x20c4b0=void 0x0===length?_0x412fcb['len']:_0x412fcb['pos']+length,_0x51f5c3=new $root['ObjectObjectPacketDataMessage']();_0x412fcb['pos']<_0x20c4b0;){var tag=_0x412fcb['uint32']();if(tag===_0x486dee)break;switch(tag>>>0x3){case 0x1:_0x51f5c3['data']=_0x412fcb['string']();break;case 0x2:_0x51f5c3['data1']=_0x412fcb['string']();break;default:_0x412fcb['skipType'](0x7&tag,_0xda9651);}}return _0x51f5c3;},ObjectObjectPacketDataMessage['decodeDelimited']=function(_0x2b2d71){return _0x2b2d71 instanceof _0x2be071||(_0x2b2d71=new _0x2be071(_0x2b2d71)),this['decode'](_0x2b2d71,_0x2b2d71['uint32']());},ObjectObjectPacketDataMessage['verify']=function(_0x507fa7,_0x2780ae){return'object'!=typeof _0x507fa7||null===_0x507fa7?'object\x20expected':(void 0x0===_0x2780ae&&(_0x2780ae=0x0),_0x2780ae>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x507fa7['data']&&_0x507fa7['hasOwnProperty']('data')&&!$util['isString'](_0x507fa7['data'])?'data:\x20string\x20expected':null!=_0x507fa7['data1']&&_0x507fa7['hasOwnProperty']('data1')&&!$util['isString'](_0x507fa7['data1'])?'data1:\x20string\x20expected':null);},ObjectObjectPacketDataMessage['fromObject']=function(object,_0x15d7ad){if(object instanceof $root['ObjectObjectPacketDataMessage'])return object;if(void 0x0===_0x15d7ad&&(_0x15d7ad=0x0),_0x15d7ad>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x315fdd=new $root['ObjectObjectPacketDataMessage']();return null!=object['data']&&(_0x315fdd['data']=String(object['data'])),null!=object['data1']&&(_0x315fdd['data1']=String(object['data1'])),_0x315fdd;},ObjectObjectPacketDataMessage['toObject']=function(_0x6f732f,options){options||(options={});var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x6f732f['data']&&_0x6f732f['hasOwnProperty']('data')&&(object['data']=_0x6f732f['data']),null!=_0x6f732f['data1']&&_0x6f732f['hasOwnProperty']('data1')&&(object['data1']=_0x6f732f['data1']),object;},ObjectObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ObjectObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ObjectObjectPacketDataMessage';},ObjectObjectPacketDataMessage;}()),$root['ObjectBufferPacketDataMessage']=(function(){function ObjectBufferPacketDataMessage(properties){if(properties){for(var _0x56b58a=Object['keys'](properties),_0x4f3f3d=0x0;_0x4f3f3d<_0x56b58a['length'];++_0x4f3f3d)null!=properties[_0x56b58a[_0x4f3f3d]]&&'__proto__'!==_0x56b58a[_0x4f3f3d]&&(this[_0x56b58a[_0x4f3f3d]]=properties[_0x56b58a[_0x4f3f3d]]);}}return ObjectBufferPacketDataMessage['prototype']['data']='',ObjectBufferPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),ObjectBufferPacketDataMessage['create']=function(properties){return new ObjectBufferPacketDataMessage(properties);},ObjectBufferPacketDataMessage['encode']=function(_0x19d12a,writer){return writer||(writer=$Writer['create']()),null!=_0x19d12a['data']&&Object['hasOwnProperty']['call'](_0x19d12a,'data')&&writer['uint32'](0xa)['string'](_0x19d12a['data']),null!=_0x19d12a['data1']&&Object['hasOwnProperty']['call'](_0x19d12a,'data1')&&writer['uint32'](0x12)['bytes'](_0x19d12a['data1']),writer;},ObjectBufferPacketDataMessage['encodeDelimited']=function(_0x44af14,writer){return this['encode'](_0x44af14,writer)['ldelim']();},ObjectBufferPacketDataMessage['decode']=function(_0x443c6d,length,_0x9d487d,_0x5ec126){if(_0x443c6d instanceof _0x2be071||(_0x443c6d=_0x2be071['create'](_0x443c6d)),void 0x0===_0x5ec126&&(_0x5ec126=0x0),_0x5ec126>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x40f3f3=void 0x0===length?_0x443c6d['len']:_0x443c6d['pos']+length,_0x4c07ac=new $root['ObjectBufferPacketDataMessage']();_0x443c6d['pos']<_0x40f3f3;){var tag=_0x443c6d['uint32']();if(tag===_0x9d487d)break;switch(tag>>>0x3){case 0x1:_0x4c07ac['data']=_0x443c6d['string']();break;case 0x2:_0x4c07ac['data1']=_0x443c6d['bytes']();break;default:_0x443c6d['skipType'](0x7&tag,_0x5ec126);}}return _0x4c07ac;},ObjectBufferPacketDataMessage['decodeDelimited']=function(_0x4f7580){return _0x4f7580 instanceof _0x2be071||(_0x4f7580=new _0x2be071(_0x4f7580)),this['decode'](_0x4f7580,_0x4f7580['uint32']());},ObjectBufferPacketDataMessage['verify']=function(_0xa92975,_0xc3d497){return'object'!=typeof _0xa92975||null===_0xa92975?'object\x20expected':(void 0x0===_0xc3d497&&(_0xc3d497=0x0),_0xc3d497>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xa92975['data']&&_0xa92975['hasOwnProperty']('data')&&!$util['isString'](_0xa92975['data'])?'data:\x20string\x20expected':null!=_0xa92975['data1']&&_0xa92975['hasOwnProperty']('data1')&&!(_0xa92975['data1']&&'number'==typeof _0xa92975['data1']['length']||$util['isString'](_0xa92975['data1']))?'data1:\x20buffer\x20expected':null);},ObjectBufferPacketDataMessage['fromObject']=function(object,_0x4dae1a){if(object instanceof $root['ObjectBufferPacketDataMessage'])return object;if(void 0x0===_0x4dae1a&&(_0x4dae1a=0x0),_0x4dae1a>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x7989ca=new $root['ObjectBufferPacketDataMessage']();return null!=object['data']&&(_0x7989ca['data']=String(object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x7989ca['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x7989ca['data1']=object['data1'])),_0x7989ca;},ObjectBufferPacketDataMessage['toObject']=function(_0x5dff5e,options){options||(options={});var object={};return options['defaults']&&(object['data']='',options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x5dff5e['data']&&_0x5dff5e['hasOwnProperty']('data')&&(object['data']=_0x5dff5e['data']),null!=_0x5dff5e['data1']&&_0x5dff5e['hasOwnProperty']('data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x5dff5e['data1'],0x0,_0x5dff5e['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x5dff5e['data1']):_0x5dff5e['data1']),object;},ObjectBufferPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ObjectBufferPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ObjectBufferPacketDataMessage';},ObjectBufferPacketDataMessage;}()),$root['NumberStringPacketDataMessage']=(function(){function NumberStringPacketDataMessage(properties){if(properties){for(var _0x3e06a4=Object['keys'](properties),_0x1cc7fe=0x0;_0x1cc7fe<_0x3e06a4['length'];++_0x1cc7fe)null!=properties[_0x3e06a4[_0x1cc7fe]]&&'__proto__'!==_0x3e06a4[_0x1cc7fe]&&(this[_0x3e06a4[_0x1cc7fe]]=properties[_0x3e06a4[_0x1cc7fe]]);}}return NumberStringPacketDataMessage['prototype']['data']=0x0,NumberStringPacketDataMessage['prototype']['data1']='',NumberStringPacketDataMessage['create']=function(properties){return new NumberStringPacketDataMessage(properties);},NumberStringPacketDataMessage['encode']=function(_0x2eaa00,writer){return writer||(writer=$Writer['create']()),null!=_0x2eaa00['data']&&Object['hasOwnProperty']['call'](_0x2eaa00,'data')&&writer['uint32'](0x8)['uint32'](_0x2eaa00['data']),null!=_0x2eaa00['data1']&&Object['hasOwnProperty']['call'](_0x2eaa00,'data1')&&writer['uint32'](0x12)['string'](_0x2eaa00['data1']),writer;},NumberStringPacketDataMessage['encodeDelimited']=function(_0x47b162,writer){return this['encode'](_0x47b162,writer)['ldelim']();},NumberStringPacketDataMessage['decode']=function(_0xfededd,length,_0x3b8110,_0x546b51){if(_0xfededd instanceof _0x2be071||(_0xfededd=_0x2be071['create'](_0xfededd)),void 0x0===_0x546b51&&(_0x546b51=0x0),_0x546b51>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x51a46e=void 0x0===length?_0xfededd['len']:_0xfededd['pos']+length,_0x388767=new $root['NumberStringPacketDataMessage']();_0xfededd['pos']<_0x51a46e;){var tag=_0xfededd['uint32']();if(tag===_0x3b8110)break;switch(tag>>>0x3){case 0x1:_0x388767['data']=_0xfededd['uint32']();break;case 0x2:_0x388767['data1']=_0xfededd['string']();break;default:_0xfededd['skipType'](0x7&tag,_0x546b51);}}return _0x388767;},NumberStringPacketDataMessage['decodeDelimited']=function(_0x8d837d){return _0x8d837d instanceof _0x2be071||(_0x8d837d=new _0x2be071(_0x8d837d)),this['decode'](_0x8d837d,_0x8d837d['uint32']());},NumberStringPacketDataMessage['verify']=function(_0x5ebbaa,_0x10ced6){return'object'!=typeof _0x5ebbaa||null===_0x5ebbaa?'object\x20expected':(void 0x0===_0x10ced6&&(_0x10ced6=0x0),_0x10ced6>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5ebbaa['data']&&_0x5ebbaa['hasOwnProperty']('data')&&!$util['isInteger'](_0x5ebbaa['data'])?'data:\x20integer\x20expected':null!=_0x5ebbaa['data1']&&_0x5ebbaa['hasOwnProperty']('data1')&&!$util['isString'](_0x5ebbaa['data1'])?'data1:\x20string\x20expected':null);},NumberStringPacketDataMessage['fromObject']=function(object,_0x239729){if(object instanceof $root['NumberStringPacketDataMessage'])return object;if(void 0x0===_0x239729&&(_0x239729=0x0),_0x239729>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xcce5f4=new $root['NumberStringPacketDataMessage']();return null!=object['data']&&(_0xcce5f4['data']=object['data']>>>0x0),null!=object['data1']&&(_0xcce5f4['data1']=String(object['data1'])),_0xcce5f4;},NumberStringPacketDataMessage['toObject']=function(_0xebf7d1,options){options||(options={});var object={};return options['defaults']&&(object['data']=0x0,object['data1']=''),null!=_0xebf7d1['data']&&_0xebf7d1['hasOwnProperty']('data')&&(object['data']=_0xebf7d1['data']),null!=_0xebf7d1['data1']&&_0xebf7d1['hasOwnProperty']('data1')&&(object['data1']=_0xebf7d1['data1']),object;},NumberStringPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberStringPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberStringPacketDataMessage';},NumberStringPacketDataMessage;}()),$root['NumberObjectPacketDataMessage']=(function(){function NumberObjectPacketDataMessage(properties){if(properties){for(var _0x33887b=Object['keys'](properties),_0x1871f4=0x0;_0x1871f4<_0x33887b['length'];++_0x1871f4)null!=properties[_0x33887b[_0x1871f4]]&&'__proto__'!==_0x33887b[_0x1871f4]&&(this[_0x33887b[_0x1871f4]]=properties[_0x33887b[_0x1871f4]]);}}return NumberObjectPacketDataMessage['prototype']['data']=0x0,NumberObjectPacketDataMessage['prototype']['data1']='',NumberObjectPacketDataMessage['create']=function(properties){return new NumberObjectPacketDataMessage(properties);},NumberObjectPacketDataMessage['encode']=function(_0x362d45,writer){return writer||(writer=$Writer['create']()),null!=_0x362d45['data']&&Object['hasOwnProperty']['call'](_0x362d45,'data')&&writer['uint32'](0x8)['uint32'](_0x362d45['data']),null!=_0x362d45['data1']&&Object['hasOwnProperty']['call'](_0x362d45,'data1')&&writer['uint32'](0x12)['string'](_0x362d45['data1']),writer;},NumberObjectPacketDataMessage['encodeDelimited']=function(_0x15c795,writer){return this['encode'](_0x15c795,writer)['ldelim']();},NumberObjectPacketDataMessage['decode']=function(_0x1f1f3b,length,_0x259e14,_0x9c06d2){if(_0x1f1f3b instanceof _0x2be071||(_0x1f1f3b=_0x2be071['create'](_0x1f1f3b)),void 0x0===_0x9c06d2&&(_0x9c06d2=0x0),_0x9c06d2>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x35bed2=void 0x0===length?_0x1f1f3b['len']:_0x1f1f3b['pos']+length,_0x31bc36=new $root['NumberObjectPacketDataMessage']();_0x1f1f3b['pos']<_0x35bed2;){var tag=_0x1f1f3b['uint32']();if(tag===_0x259e14)break;switch(tag>>>0x3){case 0x1:_0x31bc36['data']=_0x1f1f3b['uint32']();break;case 0x2:_0x31bc36['data1']=_0x1f1f3b['string']();break;default:_0x1f1f3b['skipType'](0x7&tag,_0x9c06d2);}}return _0x31bc36;},NumberObjectPacketDataMessage['decodeDelimited']=function(_0x1b1655){return _0x1b1655 instanceof _0x2be071||(_0x1b1655=new _0x2be071(_0x1b1655)),this['decode'](_0x1b1655,_0x1b1655['uint32']());},NumberObjectPacketDataMessage['verify']=function(_0x23ae5e,_0x222a64){return'object'!=typeof _0x23ae5e||null===_0x23ae5e?'object\x20expected':(void 0x0===_0x222a64&&(_0x222a64=0x0),_0x222a64>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x23ae5e['data']&&_0x23ae5e['hasOwnProperty']('data')&&!$util['isInteger'](_0x23ae5e['data'])?'data:\x20integer\x20expected':null!=_0x23ae5e['data1']&&_0x23ae5e['hasOwnProperty']('data1')&&!$util['isString'](_0x23ae5e['data1'])?'data1:\x20string\x20expected':null);},NumberObjectPacketDataMessage['fromObject']=function(object,_0x398082){if(object instanceof $root['NumberObjectPacketDataMessage'])return object;if(void 0x0===_0x398082&&(_0x398082=0x0),_0x398082>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x50f9e5=new $root['NumberObjectPacketDataMessage']();return null!=object['data']&&(_0x50f9e5['data']=object['data']>>>0x0),null!=object['data1']&&(_0x50f9e5['data1']=String(object['data1'])),_0x50f9e5;},NumberObjectPacketDataMessage['toObject']=function(_0x37bb34,options){options||(options={});var object={};return options['defaults']&&(object['data']=0x0,object['data1']=''),null!=_0x37bb34['data']&&_0x37bb34['hasOwnProperty']('data')&&(object['data']=_0x37bb34['data']),null!=_0x37bb34['data1']&&_0x37bb34['hasOwnProperty']('data1')&&(object['data1']=_0x37bb34['data1']),object;},NumberObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberObjectPacketDataMessage';},NumberObjectPacketDataMessage;}()),$root['NumberNumberPacketDataMessage']=(function(){function NumberNumberPacketDataMessage(properties){if(properties){for(var _0xb2d1e6=Object['keys'](properties),_0x273dd6=0x0;_0x273dd6<_0xb2d1e6['length'];++_0x273dd6)null!=properties[_0xb2d1e6[_0x273dd6]]&&'__proto__'!==_0xb2d1e6[_0x273dd6]&&(this[_0xb2d1e6[_0x273dd6]]=properties[_0xb2d1e6[_0x273dd6]]);}}return NumberNumberPacketDataMessage['prototype']['data']=0x0,NumberNumberPacketDataMessage['prototype']['data1']=0x0,NumberNumberPacketDataMessage['create']=function(properties){return new NumberNumberPacketDataMessage(properties);},NumberNumberPacketDataMessage['encode']=function(_0x4535e1,writer){return writer||(writer=$Writer['create']()),null!=_0x4535e1['data']&&Object['hasOwnProperty']['call'](_0x4535e1,'data')&&writer['uint32'](0x8)['uint32'](_0x4535e1['data']),null!=_0x4535e1['data1']&&Object['hasOwnProperty']['call'](_0x4535e1,'data1')&&writer['uint32'](0x10)['uint32'](_0x4535e1['data1']),writer;},NumberNumberPacketDataMessage['encodeDelimited']=function(_0x1eca1a,writer){return this['encode'](_0x1eca1a,writer)['ldelim']();},NumberNumberPacketDataMessage['decode']=function(_0x4fa991,length,_0x216dc1,_0x17dd91){if(_0x4fa991 instanceof _0x2be071||(_0x4fa991=_0x2be071['create'](_0x4fa991)),void 0x0===_0x17dd91&&(_0x17dd91=0x0),_0x17dd91>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3db983=void 0x0===length?_0x4fa991['len']:_0x4fa991['pos']+length,_0x1e8a31=new $root['NumberNumberPacketDataMessage']();_0x4fa991['pos']<_0x3db983;){var tag=_0x4fa991['uint32']();if(tag===_0x216dc1)break;switch(tag>>>0x3){case 0x1:_0x1e8a31['data']=_0x4fa991['uint32']();break;case 0x2:_0x1e8a31['data1']=_0x4fa991['uint32']();break;default:_0x4fa991['skipType'](0x7&tag,_0x17dd91);}}return _0x1e8a31;},NumberNumberPacketDataMessage['decodeDelimited']=function(_0x4d5bc7){return _0x4d5bc7 instanceof _0x2be071||(_0x4d5bc7=new _0x2be071(_0x4d5bc7)),this['decode'](_0x4d5bc7,_0x4d5bc7['uint32']());},NumberNumberPacketDataMessage['verify']=function(_0x47e839,_0x100a4a){return'object'!=typeof _0x47e839||null===_0x47e839?'object\x20expected':(void 0x0===_0x100a4a&&(_0x100a4a=0x0),_0x100a4a>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x47e839['data']&&_0x47e839['hasOwnProperty']('data')&&!$util['isInteger'](_0x47e839['data'])?'data:\x20integer\x20expected':null!=_0x47e839['data1']&&_0x47e839['hasOwnProperty']('data1')&&!$util['isInteger'](_0x47e839['data1'])?'data1:\x20integer\x20expected':null);},NumberNumberPacketDataMessage['fromObject']=function(object,_0x1ba8cd){if(object instanceof $root['NumberNumberPacketDataMessage'])return object;if(void 0x0===_0x1ba8cd&&(_0x1ba8cd=0x0),_0x1ba8cd>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4319c5=new $root['NumberNumberPacketDataMessage']();return null!=object['data']&&(_0x4319c5['data']=object['data']>>>0x0),null!=object['data1']&&(_0x4319c5['data1']=object['data1']>>>0x0),_0x4319c5;},NumberNumberPacketDataMessage['toObject']=function(_0x1921fa,options){options||(options={});var object={};return options['defaults']&&(object['data']=0x0,object['data1']=0x0),null!=_0x1921fa['data']&&_0x1921fa['hasOwnProperty']('data')&&(object['data']=_0x1921fa['data']),null!=_0x1921fa['data1']&&_0x1921fa['hasOwnProperty']('data1')&&(object['data1']=_0x1921fa['data1']),object;},NumberNumberPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberNumberPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberNumberPacketDataMessage';},NumberNumberPacketDataMessage;}()),$root['NumberBytesPacketDataMessage']=(function(){function NumberBytesPacketDataMessage(properties){if(properties){for(var _0x10b830=Object['keys'](properties),_0x4c1be5=0x0;_0x4c1be5<_0x10b830['length'];++_0x4c1be5)null!=properties[_0x10b830[_0x4c1be5]]&&'__proto__'!==_0x10b830[_0x4c1be5]&&(this[_0x10b830[_0x4c1be5]]=properties[_0x10b830[_0x4c1be5]]);}}return NumberBytesPacketDataMessage['prototype']['data']=0x0,NumberBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),NumberBytesPacketDataMessage['create']=function(properties){return new NumberBytesPacketDataMessage(properties);},NumberBytesPacketDataMessage['encode']=function(_0x5423a9,writer){return writer||(writer=$Writer['create']()),null!=_0x5423a9['data']&&Object['hasOwnProperty']['call'](_0x5423a9,'data')&&writer['uint32'](0x8)['uint32'](_0x5423a9['data']),null!=_0x5423a9['data1']&&Object['hasOwnProperty']['call'](_0x5423a9,'data1')&&writer['uint32'](0x12)['bytes'](_0x5423a9['data1']),writer;},NumberBytesPacketDataMessage['encodeDelimited']=function(_0xc4c499,writer){return this['encode'](_0xc4c499,writer)['ldelim']();},NumberBytesPacketDataMessage['decode']=function(_0x36ab03,length,_0x419b5d,_0x77e279){if(_0x36ab03 instanceof _0x2be071||(_0x36ab03=_0x2be071['create'](_0x36ab03)),void 0x0===_0x77e279&&(_0x77e279=0x0),_0x77e279>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5e2031=void 0x0===length?_0x36ab03['len']:_0x36ab03['pos']+length,_0x12e23f=new $root['NumberBytesPacketDataMessage']();_0x36ab03['pos']<_0x5e2031;){var tag=_0x36ab03['uint32']();if(tag===_0x419b5d)break;switch(tag>>>0x3){case 0x1:_0x12e23f['data']=_0x36ab03['uint32']();break;case 0x2:_0x12e23f['data1']=_0x36ab03['bytes']();break;default:_0x36ab03['skipType'](0x7&tag,_0x77e279);}}return _0x12e23f;},NumberBytesPacketDataMessage['decodeDelimited']=function(_0xf4e53f){return _0xf4e53f instanceof _0x2be071||(_0xf4e53f=new _0x2be071(_0xf4e53f)),this['decode'](_0xf4e53f,_0xf4e53f['uint32']());},NumberBytesPacketDataMessage['verify']=function(_0x55e83d,_0x37e980){return'object'!=typeof _0x55e83d||null===_0x55e83d?'object\x20expected':(void 0x0===_0x37e980&&(_0x37e980=0x0),_0x37e980>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x55e83d['data']&&_0x55e83d['hasOwnProperty']('data')&&!$util['isInteger'](_0x55e83d['data'])?'data:\x20integer\x20expected':null!=_0x55e83d['data1']&&_0x55e83d['hasOwnProperty']('data1')&&!(_0x55e83d['data1']&&'number'==typeof _0x55e83d['data1']['length']||$util['isString'](_0x55e83d['data1']))?'data1:\x20buffer\x20expected':null);},NumberBytesPacketDataMessage['fromObject']=function(object,_0x15d7cf){if(object instanceof $root['NumberBytesPacketDataMessage'])return object;if(void 0x0===_0x15d7cf&&(_0x15d7cf=0x0),_0x15d7cf>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xec57f3=new $root['NumberBytesPacketDataMessage']();return null!=object['data']&&(_0xec57f3['data']=object['data']>>>0x0),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0xec57f3['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0xec57f3['data1']=object['data1'])),_0xec57f3;},NumberBytesPacketDataMessage['toObject']=function(_0x1ab3f5,options){options||(options={});var object={};return options['defaults']&&(object['data']=0x0,options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x1ab3f5['data']&&_0x1ab3f5['hasOwnProperty']('data')&&(object['data']=_0x1ab3f5['data']),null!=_0x1ab3f5['data1']&&_0x1ab3f5['hasOwnProperty']('data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x1ab3f5['data1'],0x0,_0x1ab3f5['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x1ab3f5['data1']):_0x1ab3f5['data1']),object;},NumberBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberBytesPacketDataMessage';},NumberBytesPacketDataMessage;}()),$root['BytesBytesPacketDataMessage']=(function(){function BytesBytesPacketDataMessage(properties){if(properties){for(var _0x4c1518=Object['keys'](properties),_0x196ecf=0x0;_0x196ecf<_0x4c1518['length'];++_0x196ecf)null!=properties[_0x4c1518[_0x196ecf]]&&'__proto__'!==_0x4c1518[_0x196ecf]&&(this[_0x4c1518[_0x196ecf]]=properties[_0x4c1518[_0x196ecf]]);}}return BytesBytesPacketDataMessage['prototype']['data']=$util['newBuffer']([]),BytesBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),BytesBytesPacketDataMessage['create']=function(properties){return new BytesBytesPacketDataMessage(properties);},BytesBytesPacketDataMessage['encode']=function(_0x1dfea3,writer){return writer||(writer=$Writer['create']()),null!=_0x1dfea3['data']&&Object['hasOwnProperty']['call'](_0x1dfea3,'data')&&writer['uint32'](0xa)['bytes'](_0x1dfea3['data']),null!=_0x1dfea3['data1']&&Object['hasOwnProperty']['call'](_0x1dfea3,'data1')&&writer['uint32'](0x12)['bytes'](_0x1dfea3['data1']),writer;},BytesBytesPacketDataMessage['encodeDelimited']=function(_0x27601c,writer){return this['encode'](_0x27601c,writer)['ldelim']();},BytesBytesPacketDataMessage['decode']=function(_0x45fe55,length,_0x44f61a,_0x2cc0e4){if(_0x45fe55 instanceof _0x2be071||(_0x45fe55=_0x2be071['create'](_0x45fe55)),void 0x0===_0x2cc0e4&&(_0x2cc0e4=0x0),_0x2cc0e4>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2aca15=void 0x0===length?_0x45fe55['len']:_0x45fe55['pos']+length,_0x2720ae=new $root['BytesBytesPacketDataMessage']();_0x45fe55['pos']<_0x2aca15;){var tag=_0x45fe55['uint32']();if(tag===_0x44f61a)break;switch(tag>>>0x3){case 0x1:_0x2720ae['data']=_0x45fe55['bytes']();break;case 0x2:_0x2720ae['data1']=_0x45fe55['bytes']();break;default:_0x45fe55['skipType'](0x7&tag,_0x2cc0e4);}}return _0x2720ae;},BytesBytesPacketDataMessage['decodeDelimited']=function(_0x5e6848){return _0x5e6848 instanceof _0x2be071||(_0x5e6848=new _0x2be071(_0x5e6848)),this['decode'](_0x5e6848,_0x5e6848['uint32']());},BytesBytesPacketDataMessage['verify']=function(_0x109972,_0x1bd132){return'object'!=typeof _0x109972||null===_0x109972?'object\x20expected':(void 0x0===_0x1bd132&&(_0x1bd132=0x0),_0x1bd132>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x109972['data']&&_0x109972['hasOwnProperty']('data')&&!(_0x109972['data']&&'number'==typeof _0x109972['data']['length']||$util['isString'](_0x109972['data']))?'data:\x20buffer\x20expected':null!=_0x109972['data1']&&_0x109972['hasOwnProperty']('data1')&&!(_0x109972['data1']&&'number'==typeof _0x109972['data1']['length']||$util['isString'](_0x109972['data1']))?'data1:\x20buffer\x20expected':null);},BytesBytesPacketDataMessage['fromObject']=function(object,_0xa18629){if(object instanceof $root['BytesBytesPacketDataMessage'])return object;if(void 0x0===_0xa18629&&(_0xa18629=0x0),_0xa18629>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c816b=new $root['BytesBytesPacketDataMessage']();return null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x4c816b['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x4c816b['data']=object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x4c816b['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x4c816b['data1']=object['data1'])),_0x4c816b;},BytesBytesPacketDataMessage['toObject']=function(_0x47b65f,options){options||(options={});var object={};return options['defaults']&&(options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data']))),options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x47b65f['data']&&_0x47b65f['hasOwnProperty']('data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x47b65f['data'],0x0,_0x47b65f['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x47b65f['data']):_0x47b65f['data']),null!=_0x47b65f['data1']&&_0x47b65f['hasOwnProperty']('data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x47b65f['data1'],0x0,_0x47b65f['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x47b65f['data1']):_0x47b65f['data1']),object;},BytesBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},BytesBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/BytesBytesPacketDataMessage';},BytesBytesPacketDataMessage;}()),$root['ChannelMessage']=(function(){function _0x3aba82(properties){if(properties){for(var _0x1a134f=Object['keys'](properties),_0x2e72bb=0x0;_0x2e72bb<_0x1a134f['length'];++_0x2e72bb)null!=properties[_0x1a134f[_0x2e72bb]]&&'__proto__'!==_0x1a134f[_0x2e72bb]&&(this[_0x1a134f[_0x2e72bb]]=properties[_0x1a134f[_0x2e72bb]]);}}return _0x3aba82['prototype']['type']=0x0,_0x3aba82['prototype']['socketId']='',_0x3aba82['prototype']['data']=$util['newBuffer']([]),_0x3aba82['create']=function(properties){return new _0x3aba82(properties);},_0x3aba82['encode']=function(_0x12998d,writer){return writer||(writer=$Writer['create']()),null!=_0x12998d['type']&&Object['hasOwnProperty']['call'](_0x12998d,'type')&&writer['uint32'](0x8)['uint32'](_0x12998d['type']),null!=_0x12998d['socketId']&&Object['hasOwnProperty']['call'](_0x12998d,'socketId')&&writer['uint32'](0x12)['string'](_0x12998d['socketId']),null!=_0x12998d['data']&&Object['hasOwnProperty']['call'](_0x12998d,'data')&&writer['uint32'](0x1a)['bytes'](_0x12998d['data']),writer;},_0x3aba82['encodeDelimited']=function(_0x274223,writer){return this['encode'](_0x274223,writer)['ldelim']();},_0x3aba82['decode']=function(_0x487d62,length,_0x233a9c,_0x40a625){if(_0x487d62 instanceof _0x2be071||(_0x487d62=_0x2be071['create'](_0x487d62)),void 0x0===_0x40a625&&(_0x40a625=0x0),_0x40a625>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xd9f655=void 0x0===length?_0x487d62['len']:_0x487d62['pos']+length,_0x4b8bb5=new $root['ChannelMessage']();_0x487d62['pos']<_0xd9f655;){var tag=_0x487d62['uint32']();if(tag===_0x233a9c)break;switch(tag>>>0x3){case 0x1:_0x4b8bb5['type']=_0x487d62['uint32']();break;case 0x2:_0x4b8bb5['socketId']=_0x487d62['string']();break;case 0x3:_0x4b8bb5['data']=_0x487d62['bytes']();break;default:_0x487d62['skipType'](0x7&tag,_0x40a625);}}return _0x4b8bb5;},_0x3aba82['decodeDelimited']=function(_0x275ea3){return _0x275ea3 instanceof _0x2be071||(_0x275ea3=new _0x2be071(_0x275ea3)),this['decode'](_0x275ea3,_0x275ea3['uint32']());},_0x3aba82['verify']=function(_0x4c5563,_0x381c5a){return'object'!=typeof _0x4c5563||null===_0x4c5563?'object\x20expected':(void 0x0===_0x381c5a&&(_0x381c5a=0x0),_0x381c5a>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4c5563['type']&&_0x4c5563['hasOwnProperty']('type')&&!$util['isInteger'](_0x4c5563['type'])?'type:\x20integer\x20expected':null!=_0x4c5563['socketId']&&_0x4c5563['hasOwnProperty']('socketId')&&!$util['isString'](_0x4c5563['socketId'])?'socketId:\x20string\x20expected':null!=_0x4c5563['data']&&_0x4c5563['hasOwnProperty']('data')&&!(_0x4c5563['data']&&'number'==typeof _0x4c5563['data']['length']||$util['isString'](_0x4c5563['data']))?'data:\x20buffer\x20expected':null);},_0x3aba82['fromObject']=function(object,_0x5baabf){if(object instanceof $root['ChannelMessage'])return object;if(void 0x0===_0x5baabf&&(_0x5baabf=0x0),_0x5baabf>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x33c74b=new $root['ChannelMessage']();return null!=object['type']&&(_0x33c74b['type']=object['type']>>>0x0),null!=object['socketId']&&(_0x33c74b['socketId']=String(object['socketId'])),null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x33c74b['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x33c74b['data']=object['data'])),_0x33c74b;},_0x3aba82['toObject']=function(_0x38ba01,options){options||(options={});var object={};return options['defaults']&&(object['type']=0x0,object['socketId']='',options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data'])))),null!=_0x38ba01['type']&&_0x38ba01['hasOwnProperty']('type')&&(object['type']=_0x38ba01['type']),null!=_0x38ba01['socketId']&&_0x38ba01['hasOwnProperty']('socketId')&&(object['socketId']=_0x38ba01['socketId']),null!=_0x38ba01['data']&&_0x38ba01['hasOwnProperty']('data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x38ba01['data'],0x0,_0x38ba01['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x38ba01['data']):_0x38ba01['data']),object;},_0x3aba82['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},_0x3aba82['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ChannelMessage';},_0x3aba82;}()),$root['ChannelDisconnectedMessage']=(function(){function ChannelDisconnectedMessage(properties){if(properties){for(var _0x40e102=Object['keys'](properties),_0x5686f8=0x0;_0x5686f8<_0x40e102['length'];++_0x5686f8)null!=properties[_0x40e102[_0x5686f8]]&&'__proto__'!==_0x40e102[_0x5686f8]&&(this[_0x40e102[_0x5686f8]]=properties[_0x40e102[_0x5686f8]]);}}return ChannelDisconnectedMessage['create']=function(properties){return new ChannelDisconnectedMessage(properties);},ChannelDisconnectedMessage['encode']=function(_0x57f9dc,writer){return writer||(writer=$Writer['create']()),writer;},ChannelDisconnectedMessage['encodeDelimited']=function(_0xa5c583,writer){return this['encode'](_0xa5c583,writer)['ldelim']();},ChannelDisconnectedMessage['decode']=function(_0x486663,length,_0x4ddbd5,_0x3dd62e){if(_0x486663 instanceof _0x2be071||(_0x486663=_0x2be071['create'](_0x486663)),void 0x0===_0x3dd62e&&(_0x3dd62e=0x0),_0x3dd62e>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x29f6ac=void 0x0===length?_0x486663['len']:_0x486663['pos']+length,_0x28df91=new $root['ChannelDisconnectedMessage']();_0x486663['pos']<_0x29f6ac;){var tag=_0x486663['uint32']();if(tag===_0x4ddbd5)break;_0x486663['skipType'](0x7&tag,_0x3dd62e);}return _0x28df91;},ChannelDisconnectedMessage['decodeDelimited']=function(_0x39b0d4){return _0x39b0d4 instanceof _0x2be071||(_0x39b0d4=new _0x2be071(_0x39b0d4)),this['decode'](_0x39b0d4,_0x39b0d4['uint32']());},ChannelDisconnectedMessage['verify']=function(_0x6cde9f,_0x5236c5){return'object'!=typeof _0x6cde9f||null===_0x6cde9f?'object\x20expected':(void 0x0===_0x5236c5&&(_0x5236c5=0x0),_0x5236c5>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null);},ChannelDisconnectedMessage['fromObject']=function(object,_0x5ad4a0){if(object instanceof $root['ChannelDisconnectedMessage'])return object;if(void 0x0===_0x5ad4a0&&(_0x5ad4a0=0x0),_0x5ad4a0>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');return new $root['ChannelDisconnectedMessage']();},ChannelDisconnectedMessage['toObject']=function(){return{};},ChannelDisconnectedMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ChannelDisconnectedMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ChannelDisconnectedMessage';},ChannelDisconnectedMessage;}()),$root['GetUserResponse']=(function(){function GetUserResponse(properties){if(this['attributes']=[],properties){for(var _0x5280d0=Object['keys'](properties),_0x3ce117=0x0;_0x3ce117<_0x5280d0['length'];++_0x3ce117)null!=properties[_0x5280d0[_0x3ce117]]&&'__proto__'!==_0x5280d0[_0x3ce117]&&(this[_0x5280d0[_0x3ce117]]=properties[_0x5280d0[_0x3ce117]]);}}return GetUserResponse['prototype']['attributes']=$util['emptyArray'],GetUserResponse['create']=function(properties){return new GetUserResponse(properties);},GetUserResponse['encode']=function(_0x20fbfe,writer){if(writer||(writer=$Writer['create']()),null!=_0x20fbfe['attributes']&&_0x20fbfe['attributes']['length']){for(var _0x20e956=0x0;_0x20e956<_0x20fbfe['attributes']['length'];++_0x20e956)$root['KeyValueDescriptor']['encode'](_0x20fbfe['attributes'][_0x20e956],writer['uint32'](0xa)['fork']())['ldelim']();}return writer;},GetUserResponse['encodeDelimited']=function(_0x427485,writer){return this['encode'](_0x427485,writer)['ldelim']();},GetUserResponse['decode']=function(_0x2fc8e2,length,_0x5f260a,_0x3bf887){if(_0x2fc8e2 instanceof _0x2be071||(_0x2fc8e2=_0x2be071['create'](_0x2fc8e2)),void 0x0===_0x3bf887&&(_0x3bf887=0x0),_0x3bf887>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2d38f7=void 0x0===length?_0x2fc8e2['len']:_0x2fc8e2['pos']+length,_0x568f38=new $root['GetUserResponse']();_0x2fc8e2['pos']<_0x2d38f7;){var tag=_0x2fc8e2['uint32']();if(tag===_0x5f260a)break;if(tag>>>0x3==0x1)_0x568f38['attributes']&&_0x568f38['attributes']['length']||(_0x568f38['attributes']=[]),_0x568f38['attributes']['push']($root['KeyValueDescriptor']['decode'](_0x2fc8e2,_0x2fc8e2['uint32'](),void 0x0,_0x3bf887+0x1));else _0x2fc8e2['skipType'](0x7&tag,_0x3bf887);}return _0x568f38;},GetUserResponse['decodeDelimited']=function(_0x301479){return _0x301479 instanceof _0x2be071||(_0x301479=new _0x2be071(_0x301479)),this['decode'](_0x301479,_0x301479['uint32']());},GetUserResponse['verify']=function(_0x141798,_0x39d3af){if('object'!=typeof _0x141798||null===_0x141798)return'object\x20expected';if(void 0x0===_0x39d3af&&(_0x39d3af=0x0),_0x39d3af>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x141798['attributes']&&_0x141798['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x141798['attributes']))return'attributes:\x20array\x20expected';for(var _0x2fe80a=0x0;_0x2fe80a<_0x141798['attributes']['length'];++_0x2fe80a){var _0x1f3e41=$root['KeyValueDescriptor']['verify'](_0x141798['attributes'][_0x2fe80a],_0x39d3af+0x1);if(_0x1f3e41)return'attributes.'+_0x1f3e41;}}return null;},GetUserResponse['fromObject']=function(object,_0x4fb078){if(object instanceof $root['GetUserResponse'])return object;if(void 0x0===_0x4fb078&&(_0x4fb078=0x0),_0x4fb078>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x20d944=new $root['GetUserResponse']();if(object['attributes']){if(!Array['isArray'](object['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x20d944['attributes']=[];for(var _0x30c26c=0x0;_0x30c26c<object['attributes']['length'];++_0x30c26c){if('object'!=typeof object['attributes'][_0x30c26c])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x20d944['attributes'][_0x30c26c]=$root['KeyValueDescriptor']['fromObject'](object['attributes'][_0x30c26c],_0x4fb078+0x1);}}return _0x20d944;},GetUserResponse['toObject']=function(_0x277ffe,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['attributes']=[]),_0x277ffe['attributes']&&_0x277ffe['attributes']['length']){object['attributes']=[];for(var _0x23ba1d=0x0;_0x23ba1d<_0x277ffe['attributes']['length'];++_0x23ba1d)object['attributes'][_0x23ba1d]=$root['KeyValueDescriptor']['toObject'](_0x277ffe['attributes'][_0x23ba1d],options);}return object;},GetUserResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetUserResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetUserResponse';},GetUserResponse;}()),$root['GetManyUsersResponse']=(function(){function GetManyUsersResponse(properties){if(this['users']=[],properties){for(var _0x43f7e5=Object['keys'](properties),_0x380042=0x0;_0x380042<_0x43f7e5['length'];++_0x380042)null!=properties[_0x43f7e5[_0x380042]]&&'__proto__'!==_0x43f7e5[_0x380042]&&(this[_0x43f7e5[_0x380042]]=properties[_0x43f7e5[_0x380042]]);}}return GetManyUsersResponse['prototype']['users']=$util['emptyArray'],GetManyUsersResponse['create']=function(properties){return new GetManyUsersResponse(properties);},GetManyUsersResponse['encode']=function(_0x39f3c6,writer){if(writer||(writer=$Writer['create']()),null!=_0x39f3c6['users']&&_0x39f3c6['users']['length']){for(var _0x35892c=0x0;_0x35892c<_0x39f3c6['users']['length'];++_0x35892c)$root['UserDescriptor']['encode'](_0x39f3c6['users'][_0x35892c],writer['uint32'](0xa)['fork']())['ldelim']();}return writer;},GetManyUsersResponse['encodeDelimited']=function(_0x1e3709,writer){return this['encode'](_0x1e3709,writer)['ldelim']();},GetManyUsersResponse['decode']=function(_0x6697d2,length,_0x7d29ff,_0x255b63){if(_0x6697d2 instanceof _0x2be071||(_0x6697d2=_0x2be071['create'](_0x6697d2)),void 0x0===_0x255b63&&(_0x255b63=0x0),_0x255b63>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4149e9=void 0x0===length?_0x6697d2['len']:_0x6697d2['pos']+length,_0x450aa8=new $root['GetManyUsersResponse']();_0x6697d2['pos']<_0x4149e9;){var tag=_0x6697d2['uint32']();if(tag===_0x7d29ff)break;if(tag>>>0x3==0x1)_0x450aa8['users']&&_0x450aa8['users']['length']||(_0x450aa8['users']=[]),_0x450aa8['users']['push']($root['UserDescriptor']['decode'](_0x6697d2,_0x6697d2['uint32'](),void 0x0,_0x255b63+0x1));else _0x6697d2['skipType'](0x7&tag,_0x255b63);}return _0x450aa8;},GetManyUsersResponse['decodeDelimited']=function(_0x2c9e54){return _0x2c9e54 instanceof _0x2be071||(_0x2c9e54=new _0x2be071(_0x2c9e54)),this['decode'](_0x2c9e54,_0x2c9e54['uint32']());},GetManyUsersResponse['verify']=function(_0x47c208,_0x1fec49){if('object'!=typeof _0x47c208||null===_0x47c208)return'object\x20expected';if(void 0x0===_0x1fec49&&(_0x1fec49=0x0),_0x1fec49>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x47c208['users']&&_0x47c208['hasOwnProperty']('users')){if(!Array['isArray'](_0x47c208['users']))return'users:\x20array\x20expected';for(var _0x1466a1=0x0;_0x1466a1<_0x47c208['users']['length'];++_0x1466a1){var _0x5a693e=$root['UserDescriptor']['verify'](_0x47c208['users'][_0x1466a1],_0x1fec49+0x1);if(_0x5a693e)return'users.'+_0x5a693e;}}return null;},GetManyUsersResponse['fromObject']=function(object,_0x93aff8){if(object instanceof $root['GetManyUsersResponse'])return object;if(void 0x0===_0x93aff8&&(_0x93aff8=0x0),_0x93aff8>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x322c85=new $root['GetManyUsersResponse']();if(object['users']){if(!Array['isArray'](object['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x322c85['users']=[];for(var _0x4c1ae7=0x0;_0x4c1ae7<object['users']['length'];++_0x4c1ae7){if('object'!=typeof object['users'][_0x4c1ae7])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x322c85['users'][_0x4c1ae7]=$root['UserDescriptor']['fromObject'](object['users'][_0x4c1ae7],_0x93aff8+0x1);}}return _0x322c85;},GetManyUsersResponse['toObject']=function(_0x3e93f3,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['users']=[]),_0x3e93f3['users']&&_0x3e93f3['users']['length']){object['users']=[];for(var _0x3b082e=0x0;_0x3b082e<_0x3e93f3['users']['length'];++_0x3b082e)object['users'][_0x3b082e]=$root['UserDescriptor']['toObject'](_0x3e93f3['users'][_0x3b082e],options);}return object;},GetManyUsersResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetManyUsersResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetManyUsersResponse';},GetManyUsersResponse;}()),$root['GetUserMessage']=(function(){function GetUserMessage(properties){if(properties){for(var _0x42c2ad=Object['keys'](properties),_0x152944=0x0;_0x152944<_0x42c2ad['length'];++_0x152944)null!=properties[_0x42c2ad[_0x152944]]&&'__proto__'!==_0x42c2ad[_0x152944]&&(this[_0x42c2ad[_0x152944]]=properties[_0x42c2ad[_0x152944]]);}}return GetUserMessage['prototype']['id']='',GetUserMessage['create']=function(properties){return new GetUserMessage(properties);},GetUserMessage['encode']=function(_0x5f5797,writer){return writer||(writer=$Writer['create']()),null!=_0x5f5797['id']&&Object['hasOwnProperty']['call'](_0x5f5797,'id')&&writer['uint32'](0xa)['string'](_0x5f5797['id']),writer;},GetUserMessage['encodeDelimited']=function(_0x3b1006,writer){return this['encode'](_0x3b1006,writer)['ldelim']();},GetUserMessage['decode']=function(_0x189f57,length,_0x24cf09,_0x42b3bf){if(_0x189f57 instanceof _0x2be071||(_0x189f57=_0x2be071['create'](_0x189f57)),void 0x0===_0x42b3bf&&(_0x42b3bf=0x0),_0x42b3bf>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x32c73c=void 0x0===length?_0x189f57['len']:_0x189f57['pos']+length,_0xd59dc=new $root['GetUserMessage']();_0x189f57['pos']<_0x32c73c;){var tag=_0x189f57['uint32']();if(tag===_0x24cf09)break;if(tag>>>0x3==0x1)_0xd59dc['id']=_0x189f57['string']();else _0x189f57['skipType'](0x7&tag,_0x42b3bf);}return _0xd59dc;},GetUserMessage['decodeDelimited']=function(_0x5e24fe){return _0x5e24fe instanceof _0x2be071||(_0x5e24fe=new _0x2be071(_0x5e24fe)),this['decode'](_0x5e24fe,_0x5e24fe['uint32']());},GetUserMessage['verify']=function(_0x56ec15,_0x180302){return'object'!=typeof _0x56ec15||null===_0x56ec15?'object\x20expected':(void 0x0===_0x180302&&(_0x180302=0x0),_0x180302>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x56ec15['id']&&_0x56ec15['hasOwnProperty']('id')&&!$util['isString'](_0x56ec15['id'])?'id:\x20string\x20expected':null);},GetUserMessage['fromObject']=function(object,_0x1acda7){if(object instanceof $root['GetUserMessage'])return object;if(void 0x0===_0x1acda7&&(_0x1acda7=0x0),_0x1acda7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x312d8e=new $root['GetUserMessage']();return null!=object['id']&&(_0x312d8e['id']=String(object['id'])),_0x312d8e;},GetUserMessage['toObject']=function(_0x3ebb6d,options){options||(options={});var object={};return options['defaults']&&(object['id']=''),null!=_0x3ebb6d['id']&&_0x3ebb6d['hasOwnProperty']('id')&&(object['id']=_0x3ebb6d['id']),object;},GetUserMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetUserMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetUserMessage';},GetUserMessage;}()),$root['GetManyUsersMessage']=(function(){function GetManyUsersMessage(properties){if(this['ids']=[],properties){for(var _0x53c63b=Object['keys'](properties),_0x4e291f=0x0;_0x4e291f<_0x53c63b['length'];++_0x4e291f)null!=properties[_0x53c63b[_0x4e291f]]&&'__proto__'!==_0x53c63b[_0x4e291f]&&(this[_0x53c63b[_0x4e291f]]=properties[_0x53c63b[_0x4e291f]]);}}return GetManyUsersMessage['prototype']['ids']=$util['emptyArray'],GetManyUsersMessage['create']=function(properties){return new GetManyUsersMessage(properties);},GetManyUsersMessage['encode']=function(_0x68205e,writer){if(writer||(writer=$Writer['create']()),null!=_0x68205e['ids']&&_0x68205e['ids']['length']){for(var _0x46c48f=0x0;_0x46c48f<_0x68205e['ids']['length'];++_0x46c48f)writer['uint32'](0xa)['string'](_0x68205e['ids'][_0x46c48f]);}return writer;},GetManyUsersMessage['encodeDelimited']=function(_0x35ec8b,writer){return this['encode'](_0x35ec8b,writer)['ldelim']();},GetManyUsersMessage['decode']=function(_0x48fca7,length,_0x2bce5c,_0x3ff964){if(_0x48fca7 instanceof _0x2be071||(_0x48fca7=_0x2be071['create'](_0x48fca7)),void 0x0===_0x3ff964&&(_0x3ff964=0x0),_0x3ff964>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1b66a7=void 0x0===length?_0x48fca7['len']:_0x48fca7['pos']+length,_0x28df83=new $root['GetManyUsersMessage']();_0x48fca7['pos']<_0x1b66a7;){var tag=_0x48fca7['uint32']();if(tag===_0x2bce5c)break;if(tag>>>0x3==0x1)_0x28df83['ids']&&_0x28df83['ids']['length']||(_0x28df83['ids']=[]),_0x28df83['ids']['push'](_0x48fca7['string']());else _0x48fca7['skipType'](0x7&tag,_0x3ff964);}return _0x28df83;},GetManyUsersMessage['decodeDelimited']=function(_0x40c6ee){return _0x40c6ee instanceof _0x2be071||(_0x40c6ee=new _0x2be071(_0x40c6ee)),this['decode'](_0x40c6ee,_0x40c6ee['uint32']());},GetManyUsersMessage['verify']=function(_0x3b409d,_0x4e4ad3){if('object'!=typeof _0x3b409d||null===_0x3b409d)return'object\x20expected';if(void 0x0===_0x4e4ad3&&(_0x4e4ad3=0x0),_0x4e4ad3>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3b409d['ids']&&_0x3b409d['hasOwnProperty']('ids')){if(!Array['isArray'](_0x3b409d['ids']))return'ids:\x20array\x20expected';for(var _0xdbb515=0x0;_0xdbb515<_0x3b409d['ids']['length'];++_0xdbb515)if(!$util['isString'](_0x3b409d['ids'][_0xdbb515]))return'ids:\x20string[]\x20expected';}return null;},GetManyUsersMessage['fromObject']=function(object,_0x2a4a25){if(object instanceof $root['GetManyUsersMessage'])return object;if(void 0x0===_0x2a4a25&&(_0x2a4a25=0x0),_0x2a4a25>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4763f3=new $root['GetManyUsersMessage']();if(object['ids']){if(!Array['isArray'](object['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x4763f3['ids']=[];for(var _0xaa903a=0x0;_0xaa903a<object['ids']['length'];++_0xaa903a)_0x4763f3['ids'][_0xaa903a]=String(object['ids'][_0xaa903a]);}return _0x4763f3;},GetManyUsersMessage['toObject']=function(_0x1a1779,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['ids']=[]),_0x1a1779['ids']&&_0x1a1779['ids']['length']){object['ids']=[];for(var _0x25d417=0x0;_0x25d417<_0x1a1779['ids']['length'];++_0x25d417)object['ids'][_0x25d417]=_0x1a1779['ids'][_0x25d417];}return object;},GetManyUsersMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetManyUsersMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetManyUsersMessage';},GetManyUsersMessage;}()),$root['UserDescriptor']=(function(){function UserDescriptor(properties){if(this['attributes']=[],properties){for(var _0x43ff58=Object['keys'](properties),_0x397cfe=0x0;_0x397cfe<_0x43ff58['length'];++_0x397cfe)null!=properties[_0x43ff58[_0x397cfe]]&&'__proto__'!==_0x43ff58[_0x397cfe]&&(this[_0x43ff58[_0x397cfe]]=properties[_0x43ff58[_0x397cfe]]);}}return UserDescriptor['prototype']['attributes']=$util['emptyArray'],UserDescriptor['create']=function(properties){return new UserDescriptor(properties);},UserDescriptor['encode']=function(_0x580189,writer){if(writer||(writer=$Writer['create']()),null!=_0x580189['attributes']&&_0x580189['attributes']['length']){for(var _0x2aa7c9=0x0;_0x2aa7c9<_0x580189['attributes']['length'];++_0x2aa7c9)$root['KeyValueDescriptor']['encode'](_0x580189['attributes'][_0x2aa7c9],writer['uint32'](0xa)['fork']())['ldelim']();}return writer;},UserDescriptor['encodeDelimited']=function(_0x2ff58f,writer){return this['encode'](_0x2ff58f,writer)['ldelim']();},UserDescriptor['decode']=function(_0x50f01c,length,_0x1a6477,_0x4e438b){if(_0x50f01c instanceof _0x2be071||(_0x50f01c=_0x2be071['create'](_0x50f01c)),void 0x0===_0x4e438b&&(_0x4e438b=0x0),_0x4e438b>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x58d910=void 0x0===length?_0x50f01c['len']:_0x50f01c['pos']+length,_0x286430=new $root['UserDescriptor']();_0x50f01c['pos']<_0x58d910;){var tag=_0x50f01c['uint32']();if(tag===_0x1a6477)break;if(tag>>>0x3==0x1)_0x286430['attributes']&&_0x286430['attributes']['length']||(_0x286430['attributes']=[]),_0x286430['attributes']['push']($root['KeyValueDescriptor']['decode'](_0x50f01c,_0x50f01c['uint32'](),void 0x0,_0x4e438b+0x1));else _0x50f01c['skipType'](0x7&tag,_0x4e438b);}return _0x286430;},UserDescriptor['decodeDelimited']=function(_0x444474){return _0x444474 instanceof _0x2be071||(_0x444474=new _0x2be071(_0x444474)),this['decode'](_0x444474,_0x444474['uint32']());},UserDescriptor['verify']=function(_0x46a9ea,_0x3a43dd){if('object'!=typeof _0x46a9ea||null===_0x46a9ea)return'object\x20expected';if(void 0x0===_0x3a43dd&&(_0x3a43dd=0x0),_0x3a43dd>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x46a9ea['attributes']&&_0x46a9ea['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x46a9ea['attributes']))return'attributes:\x20array\x20expected';for(var _0x29d964=0x0;_0x29d964<_0x46a9ea['attributes']['length'];++_0x29d964){var _0x1883b8=$root['KeyValueDescriptor']['verify'](_0x46a9ea['attributes'][_0x29d964],_0x3a43dd+0x1);if(_0x1883b8)return'attributes.'+_0x1883b8;}}return null;},UserDescriptor['fromObject']=function(object,_0x1ff783){if(object instanceof $root['UserDescriptor'])return object;if(void 0x0===_0x1ff783&&(_0x1ff783=0x0),_0x1ff783>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x6593e3=new $root['UserDescriptor']();if(object['attributes']){if(!Array['isArray'](object['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x6593e3['attributes']=[];for(var _0x39c70d=0x0;_0x39c70d<object['attributes']['length'];++_0x39c70d){if('object'!=typeof object['attributes'][_0x39c70d])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x6593e3['attributes'][_0x39c70d]=$root['KeyValueDescriptor']['fromObject'](object['attributes'][_0x39c70d],_0x1ff783+0x1);}}return _0x6593e3;},UserDescriptor['toObject']=function(_0x23e49a,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['attributes']=[]),_0x23e49a['attributes']&&_0x23e49a['attributes']['length']){object['attributes']=[];for(var _0x2ba478=0x0;_0x2ba478<_0x23e49a['attributes']['length'];++_0x2ba478)object['attributes'][_0x2ba478]=$root['KeyValueDescriptor']['toObject'](_0x23e49a['attributes'][_0x2ba478],options);}return object;},UserDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},UserDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/UserDescriptor';},UserDescriptor;}()),$root['TrackChangesGetSuggestionResponse']=(function(){function TrackChangesGetSuggestionResponse(properties){if(properties){for(var _0x4eaf28=Object['keys'](properties),_0x365c54=0x0;_0x365c54<_0x4eaf28['length'];++_0x365c54)null!=properties[_0x4eaf28[_0x365c54]]&&'__proto__'!==_0x4eaf28[_0x365c54]&&(this[_0x4eaf28[_0x365c54]]=properties[_0x4eaf28[_0x365c54]]);}}return TrackChangesGetSuggestionResponse['prototype']['id']='',TrackChangesGetSuggestionResponse['prototype']['authorId']='',TrackChangesGetSuggestionResponse['prototype']['type']='',TrackChangesGetSuggestionResponse['prototype']['createdAt']='',TrackChangesGetSuggestionResponse['prototype']['data']='',TrackChangesGetSuggestionResponse['prototype']['hasComments']=!0x1,TrackChangesGetSuggestionResponse['prototype']['state']='',TrackChangesGetSuggestionResponse['prototype']['attributes']='',TrackChangesGetSuggestionResponse['create']=function(properties){return new TrackChangesGetSuggestionResponse(properties);},TrackChangesGetSuggestionResponse['encode']=function(_0x49b363,writer){return writer||(writer=$Writer['create']()),null!=_0x49b363['id']&&Object['hasOwnProperty']['call'](_0x49b363,'id')&&writer['uint32'](0xa)['string'](_0x49b363['id']),null!=_0x49b363['authorId']&&Object['hasOwnProperty']['call'](_0x49b363,'authorId')&&writer['uint32'](0x12)['string'](_0x49b363['authorId']),null!=_0x49b363['type']&&Object['hasOwnProperty']['call'](_0x49b363,'type')&&writer['uint32'](0x1a)['string'](_0x49b363['type']),null!=_0x49b363['createdAt']&&Object['hasOwnProperty']['call'](_0x49b363,'createdAt')&&writer['uint32'](0x22)['string'](_0x49b363['createdAt']),null!=_0x49b363['data']&&Object['hasOwnProperty']['call'](_0x49b363,'data')&&writer['uint32'](0x2a)['string'](_0x49b363['data']),null!=_0x49b363['hasComments']&&Object['hasOwnProperty']['call'](_0x49b363,'hasComments')&&writer['uint32'](0x30)['bool'](_0x49b363['hasComments']),null!=_0x49b363['state']&&Object['hasOwnProperty']['call'](_0x49b363,'state')&&writer['uint32'](0x3a)['string'](_0x49b363['state']),null!=_0x49b363['attributes']&&Object['hasOwnProperty']['call'](_0x49b363,'attributes')&&writer['uint32'](0x42)['string'](_0x49b363['attributes']),writer;},TrackChangesGetSuggestionResponse['encodeDelimited']=function(_0x16314b,writer){return this['encode'](_0x16314b,writer)['ldelim']();},TrackChangesGetSuggestionResponse['decode']=function(_0x2a4f64,length,_0x4ec658,_0x597700){if(_0x2a4f64 instanceof _0x2be071||(_0x2a4f64=_0x2be071['create'](_0x2a4f64)),void 0x0===_0x597700&&(_0x597700=0x0),_0x597700>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x526564=void 0x0===length?_0x2a4f64['len']:_0x2a4f64['pos']+length,_0x21b488=new $root['TrackChangesGetSuggestionResponse']();_0x2a4f64['pos']<_0x526564;){var tag=_0x2a4f64['uint32']();if(tag===_0x4ec658)break;switch(tag>>>0x3){case 0x1:_0x21b488['id']=_0x2a4f64['string']();break;case 0x2:_0x21b488['authorId']=_0x2a4f64['string']();break;case 0x3:_0x21b488['type']=_0x2a4f64['string']();break;case 0x4:_0x21b488['createdAt']=_0x2a4f64['string']();break;case 0x5:_0x21b488['data']=_0x2a4f64['string']();break;case 0x6:_0x21b488['hasComments']=_0x2a4f64['bool']();break;case 0x7:_0x21b488['state']=_0x2a4f64['string']();break;case 0x8:_0x21b488['attributes']=_0x2a4f64['string']();break;default:_0x2a4f64['skipType'](0x7&tag,_0x597700);}}return _0x21b488;},TrackChangesGetSuggestionResponse['decodeDelimited']=function(_0x2c6d44){return _0x2c6d44 instanceof _0x2be071||(_0x2c6d44=new _0x2be071(_0x2c6d44)),this['decode'](_0x2c6d44,_0x2c6d44['uint32']());},TrackChangesGetSuggestionResponse['verify']=function(_0x8abc4e,_0x4cd5ac){return'object'!=typeof _0x8abc4e||null===_0x8abc4e?'object\x20expected':(void 0x0===_0x4cd5ac&&(_0x4cd5ac=0x0),_0x4cd5ac>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x8abc4e['id']&&_0x8abc4e['hasOwnProperty']('id')&&!$util['isString'](_0x8abc4e['id'])?'id:\x20string\x20expected':null!=_0x8abc4e['authorId']&&_0x8abc4e['hasOwnProperty']('authorId')&&!$util['isString'](_0x8abc4e['authorId'])?'authorId:\x20string\x20expected':null!=_0x8abc4e['type']&&_0x8abc4e['hasOwnProperty']('type')&&!$util['isString'](_0x8abc4e['type'])?'type:\x20string\x20expected':null!=_0x8abc4e['createdAt']&&_0x8abc4e['hasOwnProperty']('createdAt')&&!$util['isString'](_0x8abc4e['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x8abc4e['data']&&_0x8abc4e['hasOwnProperty']('data')&&!$util['isString'](_0x8abc4e['data'])?'data:\x20string\x20expected':null!=_0x8abc4e['hasComments']&&_0x8abc4e['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x8abc4e['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x8abc4e['state']&&_0x8abc4e['hasOwnProperty']('state')&&!$util['isString'](_0x8abc4e['state'])?'state:\x20string\x20expected':null!=_0x8abc4e['attributes']&&_0x8abc4e['hasOwnProperty']('attributes')&&!$util['isString'](_0x8abc4e['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesGetSuggestionResponse['fromObject']=function(object,_0x2feb6b){if(object instanceof $root['TrackChangesGetSuggestionResponse'])return object;if(void 0x0===_0x2feb6b&&(_0x2feb6b=0x0),_0x2feb6b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5664b2=new $root['TrackChangesGetSuggestionResponse']();return null!=object['id']&&(_0x5664b2['id']=String(object['id'])),null!=object['authorId']&&(_0x5664b2['authorId']=String(object['authorId'])),null!=object['type']&&(_0x5664b2['type']=String(object['type'])),null!=object['createdAt']&&(_0x5664b2['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0x5664b2['data']=String(object['data'])),null!=object['hasComments']&&(_0x5664b2['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0x5664b2['state']=String(object['state'])),null!=object['attributes']&&(_0x5664b2['attributes']=String(object['attributes'])),_0x5664b2;},TrackChangesGetSuggestionResponse['toObject']=function(_0x136ac7,options){options||(options={});var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x136ac7['id']&&_0x136ac7['hasOwnProperty']('id')&&(object['id']=_0x136ac7['id']),null!=_0x136ac7['authorId']&&_0x136ac7['hasOwnProperty']('authorId')&&(object['authorId']=_0x136ac7['authorId']),null!=_0x136ac7['type']&&_0x136ac7['hasOwnProperty']('type')&&(object['type']=_0x136ac7['type']),null!=_0x136ac7['createdAt']&&_0x136ac7['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x136ac7['createdAt']),null!=_0x136ac7['data']&&_0x136ac7['hasOwnProperty']('data')&&(object['data']=_0x136ac7['data']),null!=_0x136ac7['hasComments']&&_0x136ac7['hasOwnProperty']('hasComments')&&(object['hasComments']=_0x136ac7['hasComments']),null!=_0x136ac7['state']&&_0x136ac7['hasOwnProperty']('state')&&(object['state']=_0x136ac7['state']),null!=_0x136ac7['attributes']&&_0x136ac7['hasOwnProperty']('attributes')&&(object['attributes']=_0x136ac7['attributes']),object;},TrackChangesGetSuggestionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetSuggestionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetSuggestionResponse';},TrackChangesGetSuggestionResponse;}()),$root['TrackChangesGetAllSuggestionsResponse']=(function(){function TrackChangesGetAllSuggestionsResponse(properties){if(this['suggestions']=[],this['suggestionsV2']=[],properties){for(var _0x18fa9d=Object['keys'](properties),_0x350cff=0x0;_0x350cff<_0x18fa9d['length'];++_0x350cff)null!=properties[_0x18fa9d[_0x350cff]]&&'__proto__'!==_0x18fa9d[_0x350cff]&&(this[_0x18fa9d[_0x350cff]]=properties[_0x18fa9d[_0x350cff]]);}}return TrackChangesGetAllSuggestionsResponse['prototype']['suggestions']=$util['emptyArray'],TrackChangesGetAllSuggestionsResponse['prototype']['suggestionsV2']=$util['emptyArray'],TrackChangesGetAllSuggestionsResponse['create']=function(properties){return new TrackChangesGetAllSuggestionsResponse(properties);},TrackChangesGetAllSuggestionsResponse['encode']=function(_0x125af9,writer){if(writer||(writer=$Writer['create']()),null!=_0x125af9['suggestions']&&_0x125af9['suggestions']['length']){for(var _0x302041=0x0;_0x302041<_0x125af9['suggestions']['length'];++_0x302041)writer['uint32'](0xa)['string'](_0x125af9['suggestions'][_0x302041]);}if(null!=_0x125af9['suggestionsV2']&&_0x125af9['suggestionsV2']['length']){for(_0x302041=0x0;_0x302041<_0x125af9['suggestionsV2']['length'];++_0x302041)$root['SuggestionDescriptor']['encode'](_0x125af9['suggestionsV2'][_0x302041],writer['uint32'](0x12)['fork']())['ldelim']();}return writer;},TrackChangesGetAllSuggestionsResponse['encodeDelimited']=function(_0x5be435,writer){return this['encode'](_0x5be435,writer)['ldelim']();},TrackChangesGetAllSuggestionsResponse['decode']=function(_0x2f73de,length,_0x484505,_0x174a81){if(_0x2f73de instanceof _0x2be071||(_0x2f73de=_0x2be071['create'](_0x2f73de)),void 0x0===_0x174a81&&(_0x174a81=0x0),_0x174a81>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1c842c=void 0x0===length?_0x2f73de['len']:_0x2f73de['pos']+length,_0x52fa64=new $root['TrackChangesGetAllSuggestionsResponse']();_0x2f73de['pos']<_0x1c842c;){var tag=_0x2f73de['uint32']();if(tag===_0x484505)break;switch(tag>>>0x3){case 0x1:_0x52fa64['suggestions']&&_0x52fa64['suggestions']['length']||(_0x52fa64['suggestions']=[]),_0x52fa64['suggestions']['push'](_0x2f73de['string']());break;case 0x2:_0x52fa64['suggestionsV2']&&_0x52fa64['suggestionsV2']['length']||(_0x52fa64['suggestionsV2']=[]),_0x52fa64['suggestionsV2']['push']($root['SuggestionDescriptor']['decode'](_0x2f73de,_0x2f73de['uint32'](),void 0x0,_0x174a81+0x1));break;default:_0x2f73de['skipType'](0x7&tag,_0x174a81);}}return _0x52fa64;},TrackChangesGetAllSuggestionsResponse['decodeDelimited']=function(_0x469e20){return _0x469e20 instanceof _0x2be071||(_0x469e20=new _0x2be071(_0x469e20)),this['decode'](_0x469e20,_0x469e20['uint32']());},TrackChangesGetAllSuggestionsResponse['verify']=function(_0x3afeb8,_0xb0b192){if('object'!=typeof _0x3afeb8||null===_0x3afeb8)return'object\x20expected';if(void 0x0===_0xb0b192&&(_0xb0b192=0x0),_0xb0b192>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3afeb8['suggestions']&&_0x3afeb8['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x3afeb8['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x4d11a9=0x0;_0x4d11a9<_0x3afeb8['suggestions']['length'];++_0x4d11a9)if(!$util['isString'](_0x3afeb8['suggestions'][_0x4d11a9]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x3afeb8['suggestionsV2']&&_0x3afeb8['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x3afeb8['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x4d11a9=0x0;_0x4d11a9<_0x3afeb8['suggestionsV2']['length'];++_0x4d11a9){var _0x1dcef0=$root['SuggestionDescriptor']['verify'](_0x3afeb8['suggestionsV2'][_0x4d11a9],_0xb0b192+0x1);if(_0x1dcef0)return'suggestionsV2.'+_0x1dcef0;}}return null;},TrackChangesGetAllSuggestionsResponse['fromObject']=function(object,_0x28bbf8){if(object instanceof $root['TrackChangesGetAllSuggestionsResponse'])return object;if(void 0x0===_0x28bbf8&&(_0x28bbf8=0x0),_0x28bbf8>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xbee21c=new $root['TrackChangesGetAllSuggestionsResponse']();if(object['suggestions']){if(!Array['isArray'](object['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0xbee21c['suggestions']=[];for(var _0x3912dc=0x0;_0x3912dc<object['suggestions']['length'];++_0x3912dc)_0xbee21c['suggestions'][_0x3912dc]=String(object['suggestions'][_0x3912dc]);}if(object['suggestionsV2']){if(!Array['isArray'](object['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');_0xbee21c['suggestionsV2']=[];for(_0x3912dc=0x0;_0x3912dc<object['suggestionsV2']['length'];++_0x3912dc){if('object'!=typeof object['suggestionsV2'][_0x3912dc])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0xbee21c['suggestionsV2'][_0x3912dc]=$root['SuggestionDescriptor']['fromObject'](object['suggestionsV2'][_0x3912dc],_0x28bbf8+0x1);}}return _0xbee21c;},TrackChangesGetAllSuggestionsResponse['toObject']=function(_0x51a252,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['suggestions']=[],object['suggestionsV2']=[]),_0x51a252['suggestions']&&_0x51a252['suggestions']['length']){object['suggestions']=[];for(var _0x2dc4cb=0x0;_0x2dc4cb<_0x51a252['suggestions']['length'];++_0x2dc4cb)object['suggestions'][_0x2dc4cb]=_0x51a252['suggestions'][_0x2dc4cb];}if(_0x51a252['suggestionsV2']&&_0x51a252['suggestionsV2']['length']){object['suggestionsV2']=[];for(_0x2dc4cb=0x0;_0x2dc4cb<_0x51a252['suggestionsV2']['length'];++_0x2dc4cb)object['suggestionsV2'][_0x2dc4cb]=$root['SuggestionDescriptor']['toObject'](_0x51a252['suggestionsV2'][_0x2dc4cb],options);}return object;},TrackChangesGetAllSuggestionsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetAllSuggestionsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetAllSuggestionsResponse';},TrackChangesGetAllSuggestionsResponse;}()),$root['TrackChangesConnectResponse']=(function(){function TrackChangesConnectResponse(properties){if(this['suggestions']=[],this['suggestionsV2']=[],properties){for(var _0x5c12b1=Object['keys'](properties),_0x1d8775=0x0;_0x1d8775<_0x5c12b1['length'];++_0x1d8775)null!=properties[_0x5c12b1[_0x1d8775]]&&'__proto__'!==_0x5c12b1[_0x1d8775]&&(this[_0x5c12b1[_0x1d8775]]=properties[_0x5c12b1[_0x1d8775]]);}}return TrackChangesConnectResponse['prototype']['channel']='',TrackChangesConnectResponse['prototype']['suggestions']=$util['emptyArray'],TrackChangesConnectResponse['prototype']['suggestionsV2']=$util['emptyArray'],TrackChangesConnectResponse['create']=function(properties){return new TrackChangesConnectResponse(properties);},TrackChangesConnectResponse['encode']=function(_0x341375,writer){if(writer||(writer=$Writer['create']()),null!=_0x341375['channel']&&Object['hasOwnProperty']['call'](_0x341375,'channel')&&writer['uint32'](0xa)['string'](_0x341375['channel']),null!=_0x341375['suggestions']&&_0x341375['suggestions']['length']){for(var _0x4f7f5b=0x0;_0x4f7f5b<_0x341375['suggestions']['length'];++_0x4f7f5b)writer['uint32'](0x12)['string'](_0x341375['suggestions'][_0x4f7f5b]);}if(null!=_0x341375['suggestionsV2']&&_0x341375['suggestionsV2']['length']){for(_0x4f7f5b=0x0;_0x4f7f5b<_0x341375['suggestionsV2']['length'];++_0x4f7f5b)$root['SuggestionDescriptor']['encode'](_0x341375['suggestionsV2'][_0x4f7f5b],writer['uint32'](0x1a)['fork']())['ldelim']();}return writer;},TrackChangesConnectResponse['encodeDelimited']=function(_0x88d31,writer){return this['encode'](_0x88d31,writer)['ldelim']();},TrackChangesConnectResponse['decode']=function(_0x2784ba,length,_0x3ac38b,_0x525b67){if(_0x2784ba instanceof _0x2be071||(_0x2784ba=_0x2be071['create'](_0x2784ba)),void 0x0===_0x525b67&&(_0x525b67=0x0),_0x525b67>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1895a4=void 0x0===length?_0x2784ba['len']:_0x2784ba['pos']+length,_0x2692d7=new $root['TrackChangesConnectResponse']();_0x2784ba['pos']<_0x1895a4;){var tag=_0x2784ba['uint32']();if(tag===_0x3ac38b)break;switch(tag>>>0x3){case 0x1:_0x2692d7['channel']=_0x2784ba['string']();break;case 0x2:_0x2692d7['suggestions']&&_0x2692d7['suggestions']['length']||(_0x2692d7['suggestions']=[]),_0x2692d7['suggestions']['push'](_0x2784ba['string']());break;case 0x3:_0x2692d7['suggestionsV2']&&_0x2692d7['suggestionsV2']['length']||(_0x2692d7['suggestionsV2']=[]),_0x2692d7['suggestionsV2']['push']($root['SuggestionDescriptor']['decode'](_0x2784ba,_0x2784ba['uint32'](),void 0x0,_0x525b67+0x1));break;default:_0x2784ba['skipType'](0x7&tag,_0x525b67);}}return _0x2692d7;},TrackChangesConnectResponse['decodeDelimited']=function(_0x40a094){return _0x40a094 instanceof _0x2be071||(_0x40a094=new _0x2be071(_0x40a094)),this['decode'](_0x40a094,_0x40a094['uint32']());},TrackChangesConnectResponse['verify']=function(_0x12d519,_0x3dd762){if('object'!=typeof _0x12d519||null===_0x12d519)return'object\x20expected';if(void 0x0===_0x3dd762&&(_0x3dd762=0x0),_0x3dd762>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x12d519['channel']&&_0x12d519['hasOwnProperty']('channel')&&!$util['isString'](_0x12d519['channel']))return'channel:\x20string\x20expected';if(null!=_0x12d519['suggestions']&&_0x12d519['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x12d519['suggestions']))return'suggestions:\x20array\x20expected';for(var _0xbcc94d=0x0;_0xbcc94d<_0x12d519['suggestions']['length'];++_0xbcc94d)if(!$util['isString'](_0x12d519['suggestions'][_0xbcc94d]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x12d519['suggestionsV2']&&_0x12d519['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x12d519['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0xbcc94d=0x0;_0xbcc94d<_0x12d519['suggestionsV2']['length'];++_0xbcc94d){var _0x31173e=$root['SuggestionDescriptor']['verify'](_0x12d519['suggestionsV2'][_0xbcc94d],_0x3dd762+0x1);if(_0x31173e)return'suggestionsV2.'+_0x31173e;}}return null;},TrackChangesConnectResponse['fromObject']=function(object,_0x3f71c9){if(object instanceof $root['TrackChangesConnectResponse'])return object;if(void 0x0===_0x3f71c9&&(_0x3f71c9=0x0),_0x3f71c9>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xa12b82=new $root['TrackChangesConnectResponse']();if(null!=object['channel']&&(_0xa12b82['channel']=String(object['channel'])),object['suggestions']){if(!Array['isArray'](object['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0xa12b82['suggestions']=[];for(var _0x3d8159=0x0;_0x3d8159<object['suggestions']['length'];++_0x3d8159)_0xa12b82['suggestions'][_0x3d8159]=String(object['suggestions'][_0x3d8159]);}if(object['suggestionsV2']){if(!Array['isArray'](object['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');_0xa12b82['suggestionsV2']=[];for(_0x3d8159=0x0;_0x3d8159<object['suggestionsV2']['length'];++_0x3d8159){if('object'!=typeof object['suggestionsV2'][_0x3d8159])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0xa12b82['suggestionsV2'][_0x3d8159]=$root['SuggestionDescriptor']['fromObject'](object['suggestionsV2'][_0x3d8159],_0x3f71c9+0x1);}}return _0xa12b82;},TrackChangesConnectResponse['toObject']=function(_0x2765e4,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['suggestions']=[],object['suggestionsV2']=[]),options['defaults']&&(object['channel']=''),null!=_0x2765e4['channel']&&_0x2765e4['hasOwnProperty']('channel')&&(object['channel']=_0x2765e4['channel']),_0x2765e4['suggestions']&&_0x2765e4['suggestions']['length']){object['suggestions']=[];for(var _0x4ecd62=0x0;_0x4ecd62<_0x2765e4['suggestions']['length'];++_0x4ecd62)object['suggestions'][_0x4ecd62]=_0x2765e4['suggestions'][_0x4ecd62];}if(_0x2765e4['suggestionsV2']&&_0x2765e4['suggestionsV2']['length']){object['suggestionsV2']=[];for(_0x4ecd62=0x0;_0x4ecd62<_0x2765e4['suggestionsV2']['length'];++_0x4ecd62)object['suggestionsV2'][_0x4ecd62]=$root['SuggestionDescriptor']['toObject'](_0x2765e4['suggestionsV2'][_0x4ecd62],options);}return object;},TrackChangesConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesConnectResponse';},TrackChangesConnectResponse;}()),$root['TrackChangesAddSuggestionResponse']=(function(){function TrackChangesAddSuggestionResponse(properties){if(properties){for(var _0x195666=Object['keys'](properties),_0x12b85e=0x0;_0x12b85e<_0x195666['length'];++_0x12b85e)null!=properties[_0x195666[_0x12b85e]]&&'__proto__'!==_0x195666[_0x12b85e]&&(this[_0x195666[_0x12b85e]]=properties[_0x195666[_0x12b85e]]);}}return TrackChangesAddSuggestionResponse['prototype']['id']='',TrackChangesAddSuggestionResponse['prototype']['authorId']='',TrackChangesAddSuggestionResponse['prototype']['type']='',TrackChangesAddSuggestionResponse['prototype']['createdAt']='',TrackChangesAddSuggestionResponse['prototype']['data']='',TrackChangesAddSuggestionResponse['prototype']['hasComments']=!0x1,TrackChangesAddSuggestionResponse['prototype']['state']='',TrackChangesAddSuggestionResponse['prototype']['attributes']='',TrackChangesAddSuggestionResponse['create']=function(properties){return new TrackChangesAddSuggestionResponse(properties);},TrackChangesAddSuggestionResponse['encode']=function(_0x687c10,writer){return writer||(writer=$Writer['create']()),null!=_0x687c10['id']&&Object['hasOwnProperty']['call'](_0x687c10,'id')&&writer['uint32'](0xa)['string'](_0x687c10['id']),null!=_0x687c10['authorId']&&Object['hasOwnProperty']['call'](_0x687c10,'authorId')&&writer['uint32'](0x12)['string'](_0x687c10['authorId']),null!=_0x687c10['type']&&Object['hasOwnProperty']['call'](_0x687c10,'type')&&writer['uint32'](0x1a)['string'](_0x687c10['type']),null!=_0x687c10['createdAt']&&Object['hasOwnProperty']['call'](_0x687c10,'createdAt')&&writer['uint32'](0x22)['string'](_0x687c10['createdAt']),null!=_0x687c10['data']&&Object['hasOwnProperty']['call'](_0x687c10,'data')&&writer['uint32'](0x2a)['string'](_0x687c10['data']),null!=_0x687c10['hasComments']&&Object['hasOwnProperty']['call'](_0x687c10,'hasComments')&&writer['uint32'](0x30)['bool'](_0x687c10['hasComments']),null!=_0x687c10['state']&&Object['hasOwnProperty']['call'](_0x687c10,'state')&&writer['uint32'](0x3a)['string'](_0x687c10['state']),null!=_0x687c10['attributes']&&Object['hasOwnProperty']['call'](_0x687c10,'attributes')&&writer['uint32'](0x42)['string'](_0x687c10['attributes']),writer;},TrackChangesAddSuggestionResponse['encodeDelimited']=function(_0x481712,writer){return this['encode'](_0x481712,writer)['ldelim']();},TrackChangesAddSuggestionResponse['decode']=function(_0x476bbb,length,_0x4fa82e,_0x28aff1){if(_0x476bbb instanceof _0x2be071||(_0x476bbb=_0x2be071['create'](_0x476bbb)),void 0x0===_0x28aff1&&(_0x28aff1=0x0),_0x28aff1>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x72dc73=void 0x0===length?_0x476bbb['len']:_0x476bbb['pos']+length,_0x3db74f=new $root['TrackChangesAddSuggestionResponse']();_0x476bbb['pos']<_0x72dc73;){var tag=_0x476bbb['uint32']();if(tag===_0x4fa82e)break;switch(tag>>>0x3){case 0x1:_0x3db74f['id']=_0x476bbb['string']();break;case 0x2:_0x3db74f['authorId']=_0x476bbb['string']();break;case 0x3:_0x3db74f['type']=_0x476bbb['string']();break;case 0x4:_0x3db74f['createdAt']=_0x476bbb['string']();break;case 0x5:_0x3db74f['data']=_0x476bbb['string']();break;case 0x6:_0x3db74f['hasComments']=_0x476bbb['bool']();break;case 0x7:_0x3db74f['state']=_0x476bbb['string']();break;case 0x8:_0x3db74f['attributes']=_0x476bbb['string']();break;default:_0x476bbb['skipType'](0x7&tag,_0x28aff1);}}return _0x3db74f;},TrackChangesAddSuggestionResponse['decodeDelimited']=function(_0x3ea99a){return _0x3ea99a instanceof _0x2be071||(_0x3ea99a=new _0x2be071(_0x3ea99a)),this['decode'](_0x3ea99a,_0x3ea99a['uint32']());},TrackChangesAddSuggestionResponse['verify']=function(_0x571f2c,_0x2b5e60){return'object'!=typeof _0x571f2c||null===_0x571f2c?'object\x20expected':(void 0x0===_0x2b5e60&&(_0x2b5e60=0x0),_0x2b5e60>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x571f2c['id']&&_0x571f2c['hasOwnProperty']('id')&&!$util['isString'](_0x571f2c['id'])?'id:\x20string\x20expected':null!=_0x571f2c['authorId']&&_0x571f2c['hasOwnProperty']('authorId')&&!$util['isString'](_0x571f2c['authorId'])?'authorId:\x20string\x20expected':null!=_0x571f2c['type']&&_0x571f2c['hasOwnProperty']('type')&&!$util['isString'](_0x571f2c['type'])?'type:\x20string\x20expected':null!=_0x571f2c['createdAt']&&_0x571f2c['hasOwnProperty']('createdAt')&&!$util['isString'](_0x571f2c['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x571f2c['data']&&_0x571f2c['hasOwnProperty']('data')&&!$util['isString'](_0x571f2c['data'])?'data:\x20string\x20expected':null!=_0x571f2c['hasComments']&&_0x571f2c['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x571f2c['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x571f2c['state']&&_0x571f2c['hasOwnProperty']('state')&&!$util['isString'](_0x571f2c['state'])?'state:\x20string\x20expected':null!=_0x571f2c['attributes']&&_0x571f2c['hasOwnProperty']('attributes')&&!$util['isString'](_0x571f2c['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesAddSuggestionResponse['fromObject']=function(object,_0x11288b){if(object instanceof $root['TrackChangesAddSuggestionResponse'])return object;if(void 0x0===_0x11288b&&(_0x11288b=0x0),_0x11288b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5807fe=new $root['TrackChangesAddSuggestionResponse']();return null!=object['id']&&(_0x5807fe['id']=String(object['id'])),null!=object['authorId']&&(_0x5807fe['authorId']=String(object['authorId'])),null!=object['type']&&(_0x5807fe['type']=String(object['type'])),null!=object['createdAt']&&(_0x5807fe['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0x5807fe['data']=String(object['data'])),null!=object['hasComments']&&(_0x5807fe['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0x5807fe['state']=String(object['state'])),null!=object['attributes']&&(_0x5807fe['attributes']=String(object['attributes'])),_0x5807fe;},TrackChangesAddSuggestionResponse['toObject']=function(_0x2b2e14,options){options||(options={});var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x2b2e14['id']&&_0x2b2e14['hasOwnProperty']('id')&&(object['id']=_0x2b2e14['id']),null!=_0x2b2e14['authorId']&&_0x2b2e14['hasOwnProperty']('authorId')&&(object['authorId']=_0x2b2e14['authorId']),null!=_0x2b2e14['type']&&_0x2b2e14['hasOwnProperty']('type')&&(object['type']=_0x2b2e14['type']),null!=_0x2b2e14['createdAt']&&_0x2b2e14['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x2b2e14['createdAt']),null!=_0x2b2e14['data']&&_0x2b2e14['hasOwnProperty']('data')&&(object['data']=_0x2b2e14['data']),null!=_0x2b2e14['hasComments']&&_0x2b2e14['hasOwnProperty']('hasComments')&&(object['hasComments']=_0x2b2e14['hasComments']),null!=_0x2b2e14['state']&&_0x2b2e14['hasOwnProperty']('state')&&(object['state']=_0x2b2e14['state']),null!=_0x2b2e14['attributes']&&_0x2b2e14['hasOwnProperty']('attributes')&&(object['attributes']=_0x2b2e14['attributes']),object;},TrackChangesAddSuggestionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesAddSuggestionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesAddSuggestionResponse';},TrackChangesAddSuggestionResponse;}()),$root['TrackChangesUpdateSuggestionMessage']=(function(){function TrackChangesUpdateSuggestionMessage(properties){if(properties){for(var _0x599798=Object['keys'](properties),_0x4338f5=0x0;_0x4338f5<_0x599798['length'];++_0x4338f5)null!=properties[_0x599798[_0x4338f5]]&&'__proto__'!==_0x599798[_0x4338f5]&&(this[_0x599798[_0x4338f5]]=properties[_0x599798[_0x4338f5]]);}}return TrackChangesUpdateSuggestionMessage['prototype']['id']='',TrackChangesUpdateSuggestionMessage['prototype']['documentId']='',TrackChangesUpdateSuggestionMessage['prototype']['hasComments']=!0x1,TrackChangesUpdateSuggestionMessage['prototype']['isHasCommentsModified']=!0x1,TrackChangesUpdateSuggestionMessage['prototype']['state']='',TrackChangesUpdateSuggestionMessage['prototype']['attributes']='',TrackChangesUpdateSuggestionMessage['create']=function(properties){return new TrackChangesUpdateSuggestionMessage(properties);},TrackChangesUpdateSuggestionMessage['encode']=function(_0xd0cc75,writer){return writer||(writer=$Writer['create']()),null!=_0xd0cc75['id']&&Object['hasOwnProperty']['call'](_0xd0cc75,'id')&&writer['uint32'](0xa)['string'](_0xd0cc75['id']),null!=_0xd0cc75['documentId']&&Object['hasOwnProperty']['call'](_0xd0cc75,'documentId')&&writer['uint32'](0x12)['string'](_0xd0cc75['documentId']),null!=_0xd0cc75['hasComments']&&Object['hasOwnProperty']['call'](_0xd0cc75,'hasComments')&&writer['uint32'](0x18)['bool'](_0xd0cc75['hasComments']),null!=_0xd0cc75['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0xd0cc75,'isHasCommentsModified')&&writer['uint32'](0x20)['bool'](_0xd0cc75['isHasCommentsModified']),null!=_0xd0cc75['state']&&Object['hasOwnProperty']['call'](_0xd0cc75,'state')&&writer['uint32'](0x2a)['string'](_0xd0cc75['state']),null!=_0xd0cc75['attributes']&&Object['hasOwnProperty']['call'](_0xd0cc75,'attributes')&&writer['uint32'](0x32)['string'](_0xd0cc75['attributes']),writer;},TrackChangesUpdateSuggestionMessage['encodeDelimited']=function(_0x3697b3,writer){return this['encode'](_0x3697b3,writer)['ldelim']();},TrackChangesUpdateSuggestionMessage['decode']=function(_0x254962,length,_0x3d3193,_0x353ec7){if(_0x254962 instanceof _0x2be071||(_0x254962=_0x2be071['create'](_0x254962)),void 0x0===_0x353ec7&&(_0x353ec7=0x0),_0x353ec7>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4d1f47=void 0x0===length?_0x254962['len']:_0x254962['pos']+length,_0x1604d7=new $root['TrackChangesUpdateSuggestionMessage']();_0x254962['pos']<_0x4d1f47;){var tag=_0x254962['uint32']();if(tag===_0x3d3193)break;switch(tag>>>0x3){case 0x1:_0x1604d7['id']=_0x254962['string']();break;case 0x2:_0x1604d7['documentId']=_0x254962['string']();break;case 0x3:_0x1604d7['hasComments']=_0x254962['bool']();break;case 0x4:_0x1604d7['isHasCommentsModified']=_0x254962['bool']();break;case 0x5:_0x1604d7['state']=_0x254962['string']();break;case 0x6:_0x1604d7['attributes']=_0x254962['string']();break;default:_0x254962['skipType'](0x7&tag,_0x353ec7);}}return _0x1604d7;},TrackChangesUpdateSuggestionMessage['decodeDelimited']=function(_0x5da8c0){return _0x5da8c0 instanceof _0x2be071||(_0x5da8c0=new _0x2be071(_0x5da8c0)),this['decode'](_0x5da8c0,_0x5da8c0['uint32']());},TrackChangesUpdateSuggestionMessage['verify']=function(_0x39848f,_0x3a39c0){return'object'!=typeof _0x39848f||null===_0x39848f?'object\x20expected':(void 0x0===_0x3a39c0&&(_0x3a39c0=0x0),_0x3a39c0>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x39848f['id']&&_0x39848f['hasOwnProperty']('id')&&!$util['isString'](_0x39848f['id'])?'id:\x20string\x20expected':null!=_0x39848f['documentId']&&_0x39848f['hasOwnProperty']('documentId')&&!$util['isString'](_0x39848f['documentId'])?'documentId:\x20string\x20expected':null!=_0x39848f['hasComments']&&_0x39848f['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x39848f['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x39848f['isHasCommentsModified']&&_0x39848f['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x39848f['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x39848f['state']&&_0x39848f['hasOwnProperty']('state')&&!$util['isString'](_0x39848f['state'])?'state:\x20string\x20expected':null!=_0x39848f['attributes']&&_0x39848f['hasOwnProperty']('attributes')&&!$util['isString'](_0x39848f['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesUpdateSuggestionMessage['fromObject']=function(object,_0x4fbe36){if(object instanceof $root['TrackChangesUpdateSuggestionMessage'])return object;if(void 0x0===_0x4fbe36&&(_0x4fbe36=0x0),_0x4fbe36>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd354da=new $root['TrackChangesUpdateSuggestionMessage']();return null!=object['id']&&(_0xd354da['id']=String(object['id'])),null!=object['documentId']&&(_0xd354da['documentId']=String(object['documentId'])),null!=object['hasComments']&&(_0xd354da['hasComments']=Boolean(object['hasComments'])),null!=object['isHasCommentsModified']&&(_0xd354da['isHasCommentsModified']=Boolean(object['isHasCommentsModified'])),null!=object['state']&&(_0xd354da['state']=String(object['state'])),null!=object['attributes']&&(_0xd354da['attributes']=String(object['attributes'])),_0xd354da;},TrackChangesUpdateSuggestionMessage['toObject']=function(_0x515795,options){options||(options={});var object={};return options['defaults']&&(object['id']='',object['documentId']='',object['hasComments']=!0x1,object['isHasCommentsModified']=!0x1,object['state']='',object['attributes']=''),null!=_0x515795['id']&&_0x515795['hasOwnProperty']('id')&&(object['id']=_0x515795['id']),null!=_0x515795['documentId']&&_0x515795['hasOwnProperty']('documentId')&&(object['documentId']=_0x515795['documentId']),null!=_0x515795['hasComments']&&_0x515795['hasOwnProperty']('hasComments')&&(object['hasComments']=_0x515795['hasComments']),null!=_0x515795['isHasCommentsModified']&&_0x515795['hasOwnProperty']('isHasCommentsModified')&&(object['isHasCommentsModified']=_0x515795['isHasCommentsModified']),null!=_0x515795['state']&&_0x515795['hasOwnProperty']('state')&&(object['state']=_0x515795['state']),null!=_0x515795['attributes']&&_0x515795['hasOwnProperty']('attributes')&&(object['attributes']=_0x515795['attributes']),object;},TrackChangesUpdateSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesUpdateSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesUpdateSuggestionMessage';},TrackChangesUpdateSuggestionMessage;}()),$root['TrackChangesGetSuggestionMessage']=(function(){function TrackChangesGetSuggestionMessage(properties){if(properties){for(var _0x386a1c=Object['keys'](properties),_0x13b7a9=0x0;_0x13b7a9<_0x386a1c['length'];++_0x13b7a9)null!=properties[_0x386a1c[_0x13b7a9]]&&'__proto__'!==_0x386a1c[_0x13b7a9]&&(this[_0x386a1c[_0x13b7a9]]=properties[_0x386a1c[_0x13b7a9]]);}}return TrackChangesGetSuggestionMessage['prototype']['id']='',TrackChangesGetSuggestionMessage['prototype']['documentId']='',TrackChangesGetSuggestionMessage['create']=function(properties){return new TrackChangesGetSuggestionMessage(properties);},TrackChangesGetSuggestionMessage['encode']=function(_0x2413a7,writer){return writer||(writer=$Writer['create']()),null!=_0x2413a7['id']&&Object['hasOwnProperty']['call'](_0x2413a7,'id')&&writer['uint32'](0xa)['string'](_0x2413a7['id']),null!=_0x2413a7['documentId']&&Object['hasOwnProperty']['call'](_0x2413a7,'documentId')&&writer['uint32'](0x12)['string'](_0x2413a7['documentId']),writer;},TrackChangesGetSuggestionMessage['encodeDelimited']=function(_0x3c9646,writer){return this['encode'](_0x3c9646,writer)['ldelim']();},TrackChangesGetSuggestionMessage['decode']=function(_0x31f0cb,length,_0x2ba9df,_0x75cd08){if(_0x31f0cb instanceof _0x2be071||(_0x31f0cb=_0x2be071['create'](_0x31f0cb)),void 0x0===_0x75cd08&&(_0x75cd08=0x0),_0x75cd08>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5e6fc1=void 0x0===length?_0x31f0cb['len']:_0x31f0cb['pos']+length,_0x45a3c5=new $root['TrackChangesGetSuggestionMessage']();_0x31f0cb['pos']<_0x5e6fc1;){var tag=_0x31f0cb['uint32']();if(tag===_0x2ba9df)break;switch(tag>>>0x3){case 0x1:_0x45a3c5['id']=_0x31f0cb['string']();break;case 0x2:_0x45a3c5['documentId']=_0x31f0cb['string']();break;default:_0x31f0cb['skipType'](0x7&tag,_0x75cd08);}}return _0x45a3c5;},TrackChangesGetSuggestionMessage['decodeDelimited']=function(_0x51db5f){return _0x51db5f instanceof _0x2be071||(_0x51db5f=new _0x2be071(_0x51db5f)),this['decode'](_0x51db5f,_0x51db5f['uint32']());},TrackChangesGetSuggestionMessage['verify']=function(_0x1cc6f9,_0x54b978){return'object'!=typeof _0x1cc6f9||null===_0x1cc6f9?'object\x20expected':(void 0x0===_0x54b978&&(_0x54b978=0x0),_0x54b978>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1cc6f9['id']&&_0x1cc6f9['hasOwnProperty']('id')&&!$util['isString'](_0x1cc6f9['id'])?'id:\x20string\x20expected':null!=_0x1cc6f9['documentId']&&_0x1cc6f9['hasOwnProperty']('documentId')&&!$util['isString'](_0x1cc6f9['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesGetSuggestionMessage['fromObject']=function(object,_0x52a75b){if(object instanceof $root['TrackChangesGetSuggestionMessage'])return object;if(void 0x0===_0x52a75b&&(_0x52a75b=0x0),_0x52a75b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x162146=new $root['TrackChangesGetSuggestionMessage']();return null!=object['id']&&(_0x162146['id']=String(object['id'])),null!=object['documentId']&&(_0x162146['documentId']=String(object['documentId'])),_0x162146;},TrackChangesGetSuggestionMessage['toObject']=function(_0x2cbdfe,options){options||(options={});var object={};return options['defaults']&&(object['id']='',object['documentId']=''),null!=_0x2cbdfe['id']&&_0x2cbdfe['hasOwnProperty']('id')&&(object['id']=_0x2cbdfe['id']),null!=_0x2cbdfe['documentId']&&_0x2cbdfe['hasOwnProperty']('documentId')&&(object['documentId']=_0x2cbdfe['documentId']),object;},TrackChangesGetSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetSuggestionMessage';},TrackChangesGetSuggestionMessage;}()),$root['TrackChangesGetAllSuggestionMessage']=(function(){function TrackChangesGetAllSuggestionMessage(properties){if(properties){for(var _0x5940bb=Object['keys'](properties),_0x40455e=0x0;_0x40455e<_0x5940bb['length'];++_0x40455e)null!=properties[_0x5940bb[_0x40455e]]&&'__proto__'!==_0x5940bb[_0x40455e]&&(this[_0x5940bb[_0x40455e]]=properties[_0x5940bb[_0x40455e]]);}}return TrackChangesGetAllSuggestionMessage['prototype']['documentId']='',TrackChangesGetAllSuggestionMessage['create']=function(properties){return new TrackChangesGetAllSuggestionMessage(properties);},TrackChangesGetAllSuggestionMessage['encode']=function(_0x4eb7d2,writer){return writer||(writer=$Writer['create']()),null!=_0x4eb7d2['documentId']&&Object['hasOwnProperty']['call'](_0x4eb7d2,'documentId')&&writer['uint32'](0xa)['string'](_0x4eb7d2['documentId']),writer;},TrackChangesGetAllSuggestionMessage['encodeDelimited']=function(_0x2f1a3b,writer){return this['encode'](_0x2f1a3b,writer)['ldelim']();},TrackChangesGetAllSuggestionMessage['decode']=function(_0x2ca0c5,length,_0x5683cc,_0x26c96c){if(_0x2ca0c5 instanceof _0x2be071||(_0x2ca0c5=_0x2be071['create'](_0x2ca0c5)),void 0x0===_0x26c96c&&(_0x26c96c=0x0),_0x26c96c>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ffb9d=void 0x0===length?_0x2ca0c5['len']:_0x2ca0c5['pos']+length,_0xbd02f5=new $root['TrackChangesGetAllSuggestionMessage']();_0x2ca0c5['pos']<_0x4ffb9d;){var tag=_0x2ca0c5['uint32']();if(tag===_0x5683cc)break;if(tag>>>0x3==0x1)_0xbd02f5['documentId']=_0x2ca0c5['string']();else _0x2ca0c5['skipType'](0x7&tag,_0x26c96c);}return _0xbd02f5;},TrackChangesGetAllSuggestionMessage['decodeDelimited']=function(_0x4fb665){return _0x4fb665 instanceof _0x2be071||(_0x4fb665=new _0x2be071(_0x4fb665)),this['decode'](_0x4fb665,_0x4fb665['uint32']());},TrackChangesGetAllSuggestionMessage['verify']=function(_0x1a9076,_0x4016ea){return'object'!=typeof _0x1a9076||null===_0x1a9076?'object\x20expected':(void 0x0===_0x4016ea&&(_0x4016ea=0x0),_0x4016ea>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1a9076['documentId']&&_0x1a9076['hasOwnProperty']('documentId')&&!$util['isString'](_0x1a9076['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesGetAllSuggestionMessage['fromObject']=function(object,_0x59b5bb){if(object instanceof $root['TrackChangesGetAllSuggestionMessage'])return object;if(void 0x0===_0x59b5bb&&(_0x59b5bb=0x0),_0x59b5bb>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x221fac=new $root['TrackChangesGetAllSuggestionMessage']();return null!=object['documentId']&&(_0x221fac['documentId']=String(object['documentId'])),_0x221fac;},TrackChangesGetAllSuggestionMessage['toObject']=function(_0x493ba4,options){options||(options={});var object={};return options['defaults']&&(object['documentId']=''),null!=_0x493ba4['documentId']&&_0x493ba4['hasOwnProperty']('documentId')&&(object['documentId']=_0x493ba4['documentId']),object;},TrackChangesGetAllSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetAllSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetAllSuggestionMessage';},TrackChangesGetAllSuggestionMessage;}()),$root['TrackChangesConnectMessage']=(function(){function TrackChangesConnectMessage(properties){if(properties){for(var _0x262112=Object['keys'](properties),_0xbcd64c=0x0;_0xbcd64c<_0x262112['length'];++_0xbcd64c)null!=properties[_0x262112[_0xbcd64c]]&&'__proto__'!==_0x262112[_0xbcd64c]&&(this[_0x262112[_0xbcd64c]]=properties[_0x262112[_0xbcd64c]]);}}return TrackChangesConnectMessage['prototype']['documentId']='',TrackChangesConnectMessage['create']=function(properties){return new TrackChangesConnectMessage(properties);},TrackChangesConnectMessage['encode']=function(_0x35e769,writer){return writer||(writer=$Writer['create']()),null!=_0x35e769['documentId']&&Object['hasOwnProperty']['call'](_0x35e769,'documentId')&&writer['uint32'](0xa)['string'](_0x35e769['documentId']),writer;},TrackChangesConnectMessage['encodeDelimited']=function(_0x315743,writer){return this['encode'](_0x315743,writer)['ldelim']();},TrackChangesConnectMessage['decode']=function(_0x341efd,length,_0x4b4323,_0x112323){if(_0x341efd instanceof _0x2be071||(_0x341efd=_0x2be071['create'](_0x341efd)),void 0x0===_0x112323&&(_0x112323=0x0),_0x112323>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4a4821=void 0x0===length?_0x341efd['len']:_0x341efd['pos']+length,_0x409102=new $root['TrackChangesConnectMessage']();_0x341efd['pos']<_0x4a4821;){var tag=_0x341efd['uint32']();if(tag===_0x4b4323)break;if(tag>>>0x3==0x1)_0x409102['documentId']=_0x341efd['string']();else _0x341efd['skipType'](0x7&tag,_0x112323);}return _0x409102;},TrackChangesConnectMessage['decodeDelimited']=function(_0x576a30){return _0x576a30 instanceof _0x2be071||(_0x576a30=new _0x2be071(_0x576a30)),this['decode'](_0x576a30,_0x576a30['uint32']());},TrackChangesConnectMessage['verify']=function(_0x4cabc4,_0x556e69){return'object'!=typeof _0x4cabc4||null===_0x4cabc4?'object\x20expected':(void 0x0===_0x556e69&&(_0x556e69=0x0),_0x556e69>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4cabc4['documentId']&&_0x4cabc4['hasOwnProperty']('documentId')&&!$util['isString'](_0x4cabc4['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesConnectMessage['fromObject']=function(object,_0x57a0a6){if(object instanceof $root['TrackChangesConnectMessage'])return object;if(void 0x0===_0x57a0a6&&(_0x57a0a6=0x0),_0x57a0a6>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2f7245=new $root['TrackChangesConnectMessage']();return null!=object['documentId']&&(_0x2f7245['documentId']=String(object['documentId'])),_0x2f7245;},TrackChangesConnectMessage['toObject']=function(_0x3ea9a9,options){options||(options={});var object={};return options['defaults']&&(object['documentId']=''),null!=_0x3ea9a9['documentId']&&_0x3ea9a9['hasOwnProperty']('documentId')&&(object['documentId']=_0x3ea9a9['documentId']),object;},TrackChangesConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesConnectMessage';},TrackChangesConnectMessage;}()),$root['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function TrackChangesBatchUpdateSuggestionsStateMessage(properties){if(this['ids']=[],properties){for(var _0x492a43=Object['keys'](properties),_0x18bb06=0x0;_0x18bb06<_0x492a43['length'];++_0x18bb06)null!=properties[_0x492a43[_0x18bb06]]&&'__proto__'!==_0x492a43[_0x18bb06]&&(this[_0x492a43[_0x18bb06]]=properties[_0x492a43[_0x18bb06]]);}}return TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['ids']=$util['emptyArray'],TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['documentId']='',TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['state']='',TrackChangesBatchUpdateSuggestionsStateMessage['create']=function(properties){return new TrackChangesBatchUpdateSuggestionsStateMessage(properties);},TrackChangesBatchUpdateSuggestionsStateMessage['encode']=function(_0x4ef61,writer){if(writer||(writer=$Writer['create']()),null!=_0x4ef61['ids']&&_0x4ef61['ids']['length']){for(var _0x395f6c=0x0;_0x395f6c<_0x4ef61['ids']['length'];++_0x395f6c)writer['uint32'](0xa)['string'](_0x4ef61['ids'][_0x395f6c]);}return null!=_0x4ef61['documentId']&&Object['hasOwnProperty']['call'](_0x4ef61,'documentId')&&writer['uint32'](0x12)['string'](_0x4ef61['documentId']),null!=_0x4ef61['state']&&Object['hasOwnProperty']['call'](_0x4ef61,'state')&&writer['uint32'](0x1a)['string'](_0x4ef61['state']),writer;},TrackChangesBatchUpdateSuggestionsStateMessage['encodeDelimited']=function(_0x3f57ac,writer){return this['encode'](_0x3f57ac,writer)['ldelim']();},TrackChangesBatchUpdateSuggestionsStateMessage['decode']=function(_0x2f3eb7,length,_0x3126d9,_0x544bbe){if(_0x2f3eb7 instanceof _0x2be071||(_0x2f3eb7=_0x2be071['create'](_0x2f3eb7)),void 0x0===_0x544bbe&&(_0x544bbe=0x0),_0x544bbe>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x439ae9=void 0x0===length?_0x2f3eb7['len']:_0x2f3eb7['pos']+length,_0x4e6072=new $root['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x2f3eb7['pos']<_0x439ae9;){var tag=_0x2f3eb7['uint32']();if(tag===_0x3126d9)break;switch(tag>>>0x3){case 0x1:_0x4e6072['ids']&&_0x4e6072['ids']['length']||(_0x4e6072['ids']=[]),_0x4e6072['ids']['push'](_0x2f3eb7['string']());break;case 0x2:_0x4e6072['documentId']=_0x2f3eb7['string']();break;case 0x3:_0x4e6072['state']=_0x2f3eb7['string']();break;default:_0x2f3eb7['skipType'](0x7&tag,_0x544bbe);}}return _0x4e6072;},TrackChangesBatchUpdateSuggestionsStateMessage['decodeDelimited']=function(_0x37b2e8){return _0x37b2e8 instanceof _0x2be071||(_0x37b2e8=new _0x2be071(_0x37b2e8)),this['decode'](_0x37b2e8,_0x37b2e8['uint32']());},TrackChangesBatchUpdateSuggestionsStateMessage['verify']=function(_0x156478,_0x2c8c81){if('object'!=typeof _0x156478||null===_0x156478)return'object\x20expected';if(void 0x0===_0x2c8c81&&(_0x2c8c81=0x0),_0x2c8c81>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x156478['ids']&&_0x156478['hasOwnProperty']('ids')){if(!Array['isArray'](_0x156478['ids']))return'ids:\x20array\x20expected';for(var _0x994ed3=0x0;_0x994ed3<_0x156478['ids']['length'];++_0x994ed3)if(!$util['isString'](_0x156478['ids'][_0x994ed3]))return'ids:\x20string[]\x20expected';}return null!=_0x156478['documentId']&&_0x156478['hasOwnProperty']('documentId')&&!$util['isString'](_0x156478['documentId'])?'documentId:\x20string\x20expected':null!=_0x156478['state']&&_0x156478['hasOwnProperty']('state')&&!$util['isString'](_0x156478['state'])?'state:\x20string\x20expected':null;},TrackChangesBatchUpdateSuggestionsStateMessage['fromObject']=function(object,_0xce8066){if(object instanceof $root['TrackChangesBatchUpdateSuggestionsStateMessage'])return object;if(void 0x0===_0xce8066&&(_0xce8066=0x0),_0xce8066>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x299749=new $root['TrackChangesBatchUpdateSuggestionsStateMessage']();if(object['ids']){if(!Array['isArray'](object['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x299749['ids']=[];for(var _0x2ae693=0x0;_0x2ae693<object['ids']['length'];++_0x2ae693)_0x299749['ids'][_0x2ae693]=String(object['ids'][_0x2ae693]);}return null!=object['documentId']&&(_0x299749['documentId']=String(object['documentId'])),null!=object['state']&&(_0x299749['state']=String(object['state'])),_0x299749;},TrackChangesBatchUpdateSuggestionsStateMessage['toObject']=function(_0x87d3af,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['ids']=[]),options['defaults']&&(object['documentId']='',object['state']=''),_0x87d3af['ids']&&_0x87d3af['ids']['length']){object['ids']=[];for(var _0x438fd7=0x0;_0x438fd7<_0x87d3af['ids']['length'];++_0x438fd7)object['ids'][_0x438fd7]=_0x87d3af['ids'][_0x438fd7];}return null!=_0x87d3af['documentId']&&_0x87d3af['hasOwnProperty']('documentId')&&(object['documentId']=_0x87d3af['documentId']),null!=_0x87d3af['state']&&_0x87d3af['hasOwnProperty']('state')&&(object['state']=_0x87d3af['state']),object;},TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesBatchUpdateSuggestionsStateMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesBatchUpdateSuggestionsStateMessage';},TrackChangesBatchUpdateSuggestionsStateMessage;}()),$root['TrackChangesAddSuggestionMessage']=(function(){function TrackChangesAddSuggestionMessage(properties){if(properties){for(var _0x5bc415=Object['keys'](properties),_0x5f0966=0x0;_0x5f0966<_0x5bc415['length'];++_0x5f0966)null!=properties[_0x5bc415[_0x5f0966]]&&'__proto__'!==_0x5bc415[_0x5f0966]&&(this[_0x5bc415[_0x5f0966]]=properties[_0x5bc415[_0x5f0966]]);}}return TrackChangesAddSuggestionMessage['prototype']['id']='',TrackChangesAddSuggestionMessage['prototype']['documentId']='',TrackChangesAddSuggestionMessage['prototype']['type']='',TrackChangesAddSuggestionMessage['prototype']['data']='',TrackChangesAddSuggestionMessage['prototype']['originalSuggestionId']='',TrackChangesAddSuggestionMessage['prototype']['attributes']='',TrackChangesAddSuggestionMessage['create']=function(properties){return new TrackChangesAddSuggestionMessage(properties);},TrackChangesAddSuggestionMessage['encode']=function(_0x3c0a69,writer){return writer||(writer=$Writer['create']()),null!=_0x3c0a69['id']&&Object['hasOwnProperty']['call'](_0x3c0a69,'id')&&writer['uint32'](0xa)['string'](_0x3c0a69['id']),null!=_0x3c0a69['documentId']&&Object['hasOwnProperty']['call'](_0x3c0a69,'documentId')&&writer['uint32'](0x12)['string'](_0x3c0a69['documentId']),null!=_0x3c0a69['type']&&Object['hasOwnProperty']['call'](_0x3c0a69,'type')&&writer['uint32'](0x1a)['string'](_0x3c0a69['type']),null!=_0x3c0a69['data']&&Object['hasOwnProperty']['call'](_0x3c0a69,'data')&&writer['uint32'](0x22)['string'](_0x3c0a69['data']),null!=_0x3c0a69['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x3c0a69,'originalSuggestionId')&&writer['uint32'](0x2a)['string'](_0x3c0a69['originalSuggestionId']),null!=_0x3c0a69['attributes']&&Object['hasOwnProperty']['call'](_0x3c0a69,'attributes')&&writer['uint32'](0x32)['string'](_0x3c0a69['attributes']),writer;},TrackChangesAddSuggestionMessage['encodeDelimited']=function(_0x52eb21,writer){return this['encode'](_0x52eb21,writer)['ldelim']();},TrackChangesAddSuggestionMessage['decode']=function(_0x45a63e,length,_0x52c311,_0x194076){if(_0x45a63e instanceof _0x2be071||(_0x45a63e=_0x2be071['create'](_0x45a63e)),void 0x0===_0x194076&&(_0x194076=0x0),_0x194076>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41c1a7=void 0x0===length?_0x45a63e['len']:_0x45a63e['pos']+length,_0x3e0a03=new $root['TrackChangesAddSuggestionMessage']();_0x45a63e['pos']<_0x41c1a7;){var tag=_0x45a63e['uint32']();if(tag===_0x52c311)break;switch(tag>>>0x3){case 0x1:_0x3e0a03['id']=_0x45a63e['string']();break;case 0x2:_0x3e0a03['documentId']=_0x45a63e['string']();break;case 0x3:_0x3e0a03['type']=_0x45a63e['string']();break;case 0x4:_0x3e0a03['data']=_0x45a63e['string']();break;case 0x5:_0x3e0a03['originalSuggestionId']=_0x45a63e['string']();break;case 0x6:_0x3e0a03['attributes']=_0x45a63e['string']();break;default:_0x45a63e['skipType'](0x7&tag,_0x194076);}}return _0x3e0a03;},TrackChangesAddSuggestionMessage['decodeDelimited']=function(_0x1a34df){return _0x1a34df instanceof _0x2be071||(_0x1a34df=new _0x2be071(_0x1a34df)),this['decode'](_0x1a34df,_0x1a34df['uint32']());},TrackChangesAddSuggestionMessage['verify']=function(_0x4599d9,_0x87f739){return'object'!=typeof _0x4599d9||null===_0x4599d9?'object\x20expected':(void 0x0===_0x87f739&&(_0x87f739=0x0),_0x87f739>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4599d9['id']&&_0x4599d9['hasOwnProperty']('id')&&!$util['isString'](_0x4599d9['id'])?'id:\x20string\x20expected':null!=_0x4599d9['documentId']&&_0x4599d9['hasOwnProperty']('documentId')&&!$util['isString'](_0x4599d9['documentId'])?'documentId:\x20string\x20expected':null!=_0x4599d9['type']&&_0x4599d9['hasOwnProperty']('type')&&!$util['isString'](_0x4599d9['type'])?'type:\x20string\x20expected':null!=_0x4599d9['data']&&_0x4599d9['hasOwnProperty']('data')&&!$util['isString'](_0x4599d9['data'])?'data:\x20string\x20expected':null!=_0x4599d9['originalSuggestionId']&&_0x4599d9['hasOwnProperty']('originalSuggestionId')&&!$util['isString'](_0x4599d9['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x4599d9['attributes']&&_0x4599d9['hasOwnProperty']('attributes')&&!$util['isString'](_0x4599d9['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesAddSuggestionMessage['fromObject']=function(object,_0x1291e5){if(object instanceof $root['TrackChangesAddSuggestionMessage'])return object;if(void 0x0===_0x1291e5&&(_0x1291e5=0x0),_0x1291e5>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x39779d=new $root['TrackChangesAddSuggestionMessage']();return null!=object['id']&&(_0x39779d['id']=String(object['id'])),null!=object['documentId']&&(_0x39779d['documentId']=String(object['documentId'])),null!=object['type']&&(_0x39779d['type']=String(object['type'])),null!=object['data']&&(_0x39779d['data']=String(object['data'])),null!=object['originalSuggestionId']&&(_0x39779d['originalSuggestionId']=String(object['originalSuggestionId'])),null!=object['attributes']&&(_0x39779d['attributes']=String(object['attributes'])),_0x39779d;},TrackChangesAddSuggestionMessage['toObject']=function(_0x54dd51,options){options||(options={});var object={};return options['defaults']&&(object['id']='',object['documentId']='',object['type']='',object['data']='',object['originalSuggestionId']='',object['attributes']=''),null!=_0x54dd51['id']&&_0x54dd51['hasOwnProperty']('id')&&(object['id']=_0x54dd51['id']),null!=_0x54dd51['documentId']&&_0x54dd51['hasOwnProperty']('documentId')&&(object['documentId']=_0x54dd51['documentId']),null!=_0x54dd51['type']&&_0x54dd51['hasOwnProperty']('type')&&(object['type']=_0x54dd51['type']),null!=_0x54dd51['data']&&_0x54dd51['hasOwnProperty']('data')&&(object['data']=_0x54dd51['data']),null!=_0x54dd51['originalSuggestionId']&&_0x54dd51['hasOwnProperty']('originalSuggestionId')&&(object['originalSuggestionId']=_0x54dd51['originalSuggestionId']),null!=_0x54dd51['attributes']&&_0x54dd51['hasOwnProperty']('attributes')&&(object['attributes']=_0x54dd51['attributes']),object;},TrackChangesAddSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesAddSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesAddSuggestionMessage';},TrackChangesAddSuggestionMessage;}()),$root['SuggestionDescriptor']=(function(){function SuggestionDescriptor(properties){if(properties){for(var _0x341fee=Object['keys'](properties),_0x38e39d=0x0;_0x38e39d<_0x341fee['length'];++_0x38e39d)null!=properties[_0x341fee[_0x38e39d]]&&'__proto__'!==_0x341fee[_0x38e39d]&&(this[_0x341fee[_0x38e39d]]=properties[_0x341fee[_0x38e39d]]);}}return SuggestionDescriptor['prototype']['id']='',SuggestionDescriptor['prototype']['authorId']='',SuggestionDescriptor['prototype']['type']='',SuggestionDescriptor['prototype']['createdAt']='',SuggestionDescriptor['prototype']['data']='',SuggestionDescriptor['prototype']['hasComments']=!0x1,SuggestionDescriptor['prototype']['state']='',SuggestionDescriptor['prototype']['attributes']='',SuggestionDescriptor['create']=function(properties){return new SuggestionDescriptor(properties);},SuggestionDescriptor['encode']=function(_0x552a27,writer){return writer||(writer=$Writer['create']()),null!=_0x552a27['id']&&Object['hasOwnProperty']['call'](_0x552a27,'id')&&writer['uint32'](0xa)['string'](_0x552a27['id']),null!=_0x552a27['authorId']&&Object['hasOwnProperty']['call'](_0x552a27,'authorId')&&writer['uint32'](0x12)['string'](_0x552a27['authorId']),null!=_0x552a27['type']&&Object['hasOwnProperty']['call'](_0x552a27,'type')&&writer['uint32'](0x1a)['string'](_0x552a27['type']),null!=_0x552a27['createdAt']&&Object['hasOwnProperty']['call'](_0x552a27,'createdAt')&&writer['uint32'](0x22)['string'](_0x552a27['createdAt']),null!=_0x552a27['data']&&Object['hasOwnProperty']['call'](_0x552a27,'data')&&writer['uint32'](0x2a)['string'](_0x552a27['data']),null!=_0x552a27['hasComments']&&Object['hasOwnProperty']['call'](_0x552a27,'hasComments')&&writer['uint32'](0x30)['bool'](_0x552a27['hasComments']),null!=_0x552a27['state']&&Object['hasOwnProperty']['call'](_0x552a27,'state')&&writer['uint32'](0x3a)['string'](_0x552a27['state']),null!=_0x552a27['attributes']&&Object['hasOwnProperty']['call'](_0x552a27,'attributes')&&writer['uint32'](0x42)['string'](_0x552a27['attributes']),writer;},SuggestionDescriptor['encodeDelimited']=function(_0x3c489c,writer){return this['encode'](_0x3c489c,writer)['ldelim']();},SuggestionDescriptor['decode']=function(_0x49b5a9,length,_0x313fa6,_0x4ecf88){if(_0x49b5a9 instanceof _0x2be071||(_0x49b5a9=_0x2be071['create'](_0x49b5a9)),void 0x0===_0x4ecf88&&(_0x4ecf88=0x0),_0x4ecf88>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5f04f3=void 0x0===length?_0x49b5a9['len']:_0x49b5a9['pos']+length,_0x684f12=new $root['SuggestionDescriptor']();_0x49b5a9['pos']<_0x5f04f3;){var tag=_0x49b5a9['uint32']();if(tag===_0x313fa6)break;switch(tag>>>0x3){case 0x1:_0x684f12['id']=_0x49b5a9['string']();break;case 0x2:_0x684f12['authorId']=_0x49b5a9['string']();break;case 0x3:_0x684f12['type']=_0x49b5a9['string']();break;case 0x4:_0x684f12['createdAt']=_0x49b5a9['string']();break;case 0x5:_0x684f12['data']=_0x49b5a9['string']();break;case 0x6:_0x684f12['hasComments']=_0x49b5a9['bool']();break;case 0x7:_0x684f12['state']=_0x49b5a9['string']();break;case 0x8:_0x684f12['attributes']=_0x49b5a9['string']();break;default:_0x49b5a9['skipType'](0x7&tag,_0x4ecf88);}}return _0x684f12;},SuggestionDescriptor['decodeDelimited']=function(_0x4148a0){return _0x4148a0 instanceof _0x2be071||(_0x4148a0=new _0x2be071(_0x4148a0)),this['decode'](_0x4148a0,_0x4148a0['uint32']());},SuggestionDescriptor['verify']=function(_0x592018,_0x3aec8d){return'object'!=typeof _0x592018||null===_0x592018?'object\x20expected':(void 0x0===_0x3aec8d&&(_0x3aec8d=0x0),_0x3aec8d>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x592018['id']&&_0x592018['hasOwnProperty']('id')&&!$util['isString'](_0x592018['id'])?'id:\x20string\x20expected':null!=_0x592018['authorId']&&_0x592018['hasOwnProperty']('authorId')&&!$util['isString'](_0x592018['authorId'])?'authorId:\x20string\x20expected':null!=_0x592018['type']&&_0x592018['hasOwnProperty']('type')&&!$util['isString'](_0x592018['type'])?'type:\x20string\x20expected':null!=_0x592018['createdAt']&&_0x592018['hasOwnProperty']('createdAt')&&!$util['isString'](_0x592018['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x592018['data']&&_0x592018['hasOwnProperty']('data')&&!$util['isString'](_0x592018['data'])?'data:\x20string\x20expected':null!=_0x592018['hasComments']&&_0x592018['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x592018['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x592018['state']&&_0x592018['hasOwnProperty']('state')&&!$util['isString'](_0x592018['state'])?'state:\x20string\x20expected':null!=_0x592018['attributes']&&_0x592018['hasOwnProperty']('attributes')&&!$util['isString'](_0x592018['attributes'])?'attributes:\x20string\x20expected':null);},SuggestionDescriptor['fromObject']=function(object,_0x3fd77c){if(object instanceof $root['SuggestionDescriptor'])return object;if(void 0x0===_0x3fd77c&&(_0x3fd77c=0x0),_0x3fd77c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x93774d=new $root['SuggestionDescriptor']();return null!=object['id']&&(_0x93774d['id']=String(object['id'])),null!=object['authorId']&&(_0x93774d['authorId']=String(object['authorId'])),null!=object['type']&&(_0x93774d['type']=String(object['type'])),null!=object['createdAt']&&(_0x93774d['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0x93774d['data']=String(object['data'])),null!=object['hasComments']&&(_0x93774d['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0x93774d['state']=String(object['state'])),null!=object['attributes']&&(_0x93774d['attributes']=String(object['attributes'])),_0x93774d;},SuggestionDescriptor['toObject']=function(_0x30b7c0,options){options||(options={});var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x30b7c0['id']&&_0x30b7c0['hasOwnProperty']('id')&&(object['id']=_0x30b7c0['id']),null!=_0x30b7c0['authorId']&&_0x30b7c0['hasOwnProperty']('authorId')&&(object['authorId']=_0x30b7c0['authorId']),null!=_0x30b7c0['type']&&_0x30b7c0['hasOwnProperty']('type')&&(object['type']=_0x30b7c0['type']),null!=_0x30b7c0['createdAt']&&_0x30b7c0['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x30b7c0['createdAt']),null!=_0x30b7c0['data']&&_0x30b7c0['hasOwnProperty']('data')&&(object['data']=_0x30b7c0['data']),null!=_0x30b7c0['hasComments']&&_0x30b7c0['hasOwnProperty']('hasComments')&&(object['hasComments']=_0x30b7c0['hasComments']),null!=_0x30b7c0['state']&&_0x30b7c0['hasOwnProperty']('state')&&(object['state']=_0x30b7c0['state']),null!=_0x30b7c0['attributes']&&_0x30b7c0['hasOwnProperty']('attributes')&&(object['attributes']=_0x30b7c0['attributes']),object;},SuggestionDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SuggestionDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SuggestionDescriptor';},SuggestionDescriptor;}()),$root['SessionsConnectResponse']=(function(){function SessionsConnectResponse(properties){if(this['sockets']=[],properties){for(var _0x594752=Object['keys'](properties),_0x2fb98d=0x0;_0x2fb98d<_0x594752['length'];++_0x2fb98d)null!=properties[_0x594752[_0x2fb98d]]&&'__proto__'!==_0x594752[_0x2fb98d]&&(this[_0x594752[_0x2fb98d]]=properties[_0x594752[_0x2fb98d]]);}}return SessionsConnectResponse['prototype']['channel']='',SessionsConnectResponse['prototype']['sockets']=$util['emptyArray'],SessionsConnectResponse['create']=function(properties){return new SessionsConnectResponse(properties);},SessionsConnectResponse['encode']=function(_0x50f362,writer){if(writer||(writer=$Writer['create']()),null!=_0x50f362['channel']&&Object['hasOwnProperty']['call'](_0x50f362,'channel')&&writer['uint32'](0xa)['string'](_0x50f362['channel']),null!=_0x50f362['sockets']&&_0x50f362['sockets']['length']){for(var _0x59bd92=0x0;_0x59bd92<_0x50f362['sockets']['length'];++_0x59bd92)$root['SessionsSocketDescriptor']['encode'](_0x50f362['sockets'][_0x59bd92],writer['uint32'](0x12)['fork']())['ldelim']();}return writer;},SessionsConnectResponse['encodeDelimited']=function(_0x11f3de,writer){return this['encode'](_0x11f3de,writer)['ldelim']();},SessionsConnectResponse['decode']=function(_0x54b752,length,_0x363c74,_0x4daa01){if(_0x54b752 instanceof _0x2be071||(_0x54b752=_0x2be071['create'](_0x54b752)),void 0x0===_0x4daa01&&(_0x4daa01=0x0),_0x4daa01>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d2cc0=void 0x0===length?_0x54b752['len']:_0x54b752['pos']+length,_0x30d676=new $root['SessionsConnectResponse']();_0x54b752['pos']<_0x5d2cc0;){var tag=_0x54b752['uint32']();if(tag===_0x363c74)break;switch(tag>>>0x3){case 0x1:_0x30d676['channel']=_0x54b752['string']();break;case 0x2:_0x30d676['sockets']&&_0x30d676['sockets']['length']||(_0x30d676['sockets']=[]),_0x30d676['sockets']['push']($root['SessionsSocketDescriptor']['decode'](_0x54b752,_0x54b752['uint32'](),void 0x0,_0x4daa01+0x1));break;default:_0x54b752['skipType'](0x7&tag,_0x4daa01);}}return _0x30d676;},SessionsConnectResponse['decodeDelimited']=function(_0x4ea5eb){return _0x4ea5eb instanceof _0x2be071||(_0x4ea5eb=new _0x2be071(_0x4ea5eb)),this['decode'](_0x4ea5eb,_0x4ea5eb['uint32']());},SessionsConnectResponse['verify']=function(_0x979b48,_0x12e538){if('object'!=typeof _0x979b48||null===_0x979b48)return'object\x20expected';if(void 0x0===_0x12e538&&(_0x12e538=0x0),_0x12e538>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x979b48['channel']&&_0x979b48['hasOwnProperty']('channel')&&!$util['isString'](_0x979b48['channel']))return'channel:\x20string\x20expected';if(null!=_0x979b48['sockets']&&_0x979b48['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x979b48['sockets']))return'sockets:\x20array\x20expected';for(var _0x3918c8=0x0;_0x3918c8<_0x979b48['sockets']['length'];++_0x3918c8){var _0x533951=$root['SessionsSocketDescriptor']['verify'](_0x979b48['sockets'][_0x3918c8],_0x12e538+0x1);if(_0x533951)return'sockets.'+_0x533951;}}return null;},SessionsConnectResponse['fromObject']=function(object,_0x272e0c){if(object instanceof $root['SessionsConnectResponse'])return object;if(void 0x0===_0x272e0c&&(_0x272e0c=0x0),_0x272e0c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1e9a24=new $root['SessionsConnectResponse']();if(null!=object['channel']&&(_0x1e9a24['channel']=String(object['channel'])),object['sockets']){if(!Array['isArray'](object['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x1e9a24['sockets']=[];for(var _0x50d6d0=0x0;_0x50d6d0<object['sockets']['length'];++_0x50d6d0){if('object'!=typeof object['sockets'][_0x50d6d0])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x1e9a24['sockets'][_0x50d6d0]=$root['SessionsSocketDescriptor']['fromObject'](object['sockets'][_0x50d6d0],_0x272e0c+0x1);}}return _0x1e9a24;},SessionsConnectResponse['toObject']=function(_0x413186,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['sockets']=[]),options['defaults']&&(object['channel']=''),null!=_0x413186['channel']&&_0x413186['hasOwnProperty']('channel')&&(object['channel']=_0x413186['channel']),_0x413186['sockets']&&_0x413186['sockets']['length']){object['sockets']=[];for(var _0x292e3a=0x0;_0x292e3a<_0x413186['sockets']['length'];++_0x292e3a)object['sockets'][_0x292e3a]=$root['SessionsSocketDescriptor']['toObject'](_0x413186['sockets'][_0x292e3a],options);}return object;},SessionsConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsConnectResponse';},SessionsConnectResponse;}()),$root['SocketDisconnectMessage']=(function(){function SocketDisconnectMessage(properties){if(properties){for(var _0x7cfd1a=Object['keys'](properties),_0xb591b3=0x0;_0xb591b3<_0x7cfd1a['length'];++_0xb591b3)null!=properties[_0x7cfd1a[_0xb591b3]]&&'__proto__'!==_0x7cfd1a[_0xb591b3]&&(this[_0x7cfd1a[_0xb591b3]]=properties[_0x7cfd1a[_0xb591b3]]);}}return SocketDisconnectMessage['prototype']['id']='',SocketDisconnectMessage['create']=function(properties){return new SocketDisconnectMessage(properties);},SocketDisconnectMessage['encode']=function(_0x2b6c26,writer){return writer||(writer=$Writer['create']()),null!=_0x2b6c26['id']&&Object['hasOwnProperty']['call'](_0x2b6c26,'id')&&writer['uint32'](0xa)['string'](_0x2b6c26['id']),writer;},SocketDisconnectMessage['encodeDelimited']=function(_0x48bd3b,writer){return this['encode'](_0x48bd3b,writer)['ldelim']();},SocketDisconnectMessage['decode']=function(_0x1b6d45,length,_0x180cb8,_0x4fb933){if(_0x1b6d45 instanceof _0x2be071||(_0x1b6d45=_0x2be071['create'](_0x1b6d45)),void 0x0===_0x4fb933&&(_0x4fb933=0x0),_0x4fb933>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x38a136=void 0x0===length?_0x1b6d45['len']:_0x1b6d45['pos']+length,_0x4503fa=new $root['SocketDisconnectMessage']();_0x1b6d45['pos']<_0x38a136;){var tag=_0x1b6d45['uint32']();if(tag===_0x180cb8)break;if(tag>>>0x3==0x1)_0x4503fa['id']=_0x1b6d45['string']();else _0x1b6d45['skipType'](0x7&tag,_0x4fb933);}return _0x4503fa;},SocketDisconnectMessage['decodeDelimited']=function(_0x256781){return _0x256781 instanceof _0x2be071||(_0x256781=new _0x2be071(_0x256781)),this['decode'](_0x256781,_0x256781['uint32']());},SocketDisconnectMessage['verify']=function(_0x58eafc,_0x423bf1){return'object'!=typeof _0x58eafc||null===_0x58eafc?'object\x20expected':(void 0x0===_0x423bf1&&(_0x423bf1=0x0),_0x423bf1>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x58eafc['id']&&_0x58eafc['hasOwnProperty']('id')&&!$util['isString'](_0x58eafc['id'])?'id:\x20string\x20expected':null);},SocketDisconnectMessage['fromObject']=function(object,_0x256ac5){if(object instanceof $root['SocketDisconnectMessage'])return object;if(void 0x0===_0x256ac5&&(_0x256ac5=0x0),_0x256ac5>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x45f5a9=new $root['SocketDisconnectMessage']();return null!=object['id']&&(_0x45f5a9['id']=String(object['id'])),_0x45f5a9;},SocketDisconnectMessage['toObject']=function(_0x569811,options){options||(options={});var object={};return options['defaults']&&(object['id']=''),null!=_0x569811['id']&&_0x569811['hasOwnProperty']('id')&&(object['id']=_0x569811['id']),object;},SocketDisconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SocketDisconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SocketDisconnectMessage';},SocketDisconnectMessage;}()),$root['SocketConnectMessage']=(function(){function SocketConnectMessage(properties){if(this['permissions']=[],properties){for(var _0x3327ae=Object['keys'](properties),_0x402885=0x0;_0x402885<_0x3327ae['length'];++_0x402885)null!=properties[_0x3327ae[_0x402885]]&&'__proto__'!==_0x3327ae[_0x402885]&&(this[_0x3327ae[_0x402885]]=properties[_0x3327ae[_0x402885]]);}}return SocketConnectMessage['prototype']['id']='',SocketConnectMessage['prototype']['userId']='',SocketConnectMessage['prototype']['role']='',SocketConnectMessage['prototype']['permissions']=$util['emptyArray'],SocketConnectMessage['create']=function(properties){return new SocketConnectMessage(properties);},SocketConnectMessage['encode']=function(_0x569cfc,writer){if(writer||(writer=$Writer['create']()),null!=_0x569cfc['id']&&Object['hasOwnProperty']['call'](_0x569cfc,'id')&&writer['uint32'](0xa)['string'](_0x569cfc['id']),null!=_0x569cfc['userId']&&Object['hasOwnProperty']['call'](_0x569cfc,'userId')&&writer['uint32'](0x12)['string'](_0x569cfc['userId']),null!=_0x569cfc['role']&&Object['hasOwnProperty']['call'](_0x569cfc,'role')&&writer['uint32'](0x1a)['string'](_0x569cfc['role']),null!=_0x569cfc['permissions']&&_0x569cfc['permissions']['length']){for(var _0x49071a=0x0;_0x49071a<_0x569cfc['permissions']['length'];++_0x49071a)writer['uint32'](0x22)['string'](_0x569cfc['permissions'][_0x49071a]);}return writer;},SocketConnectMessage['encodeDelimited']=function(_0x505038,writer){return this['encode'](_0x505038,writer)['ldelim']();},SocketConnectMessage['decode']=function(_0x4b864a,length,_0x1edbef,_0xa386f7){if(_0x4b864a instanceof _0x2be071||(_0x4b864a=_0x2be071['create'](_0x4b864a)),void 0x0===_0xa386f7&&(_0xa386f7=0x0),_0xa386f7>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x176ae4=void 0x0===length?_0x4b864a['len']:_0x4b864a['pos']+length,_0x599653=new $root['SocketConnectMessage']();_0x4b864a['pos']<_0x176ae4;){var tag=_0x4b864a['uint32']();if(tag===_0x1edbef)break;switch(tag>>>0x3){case 0x1:_0x599653['id']=_0x4b864a['string']();break;case 0x2:_0x599653['userId']=_0x4b864a['string']();break;case 0x3:_0x599653['role']=_0x4b864a['string']();break;case 0x4:_0x599653['permissions']&&_0x599653['permissions']['length']||(_0x599653['permissions']=[]),_0x599653['permissions']['push'](_0x4b864a['string']());break;default:_0x4b864a['skipType'](0x7&tag,_0xa386f7);}}return _0x599653;},SocketConnectMessage['decodeDelimited']=function(_0x3e3ff7){return _0x3e3ff7 instanceof _0x2be071||(_0x3e3ff7=new _0x2be071(_0x3e3ff7)),this['decode'](_0x3e3ff7,_0x3e3ff7['uint32']());},SocketConnectMessage['verify']=function(_0x3d1213,_0x1b273f){if('object'!=typeof _0x3d1213||null===_0x3d1213)return'object\x20expected';if(void 0x0===_0x1b273f&&(_0x1b273f=0x0),_0x1b273f>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3d1213['id']&&_0x3d1213['hasOwnProperty']('id')&&!$util['isString'](_0x3d1213['id']))return'id:\x20string\x20expected';if(null!=_0x3d1213['userId']&&_0x3d1213['hasOwnProperty']('userId')&&!$util['isString'](_0x3d1213['userId']))return'userId:\x20string\x20expected';if(null!=_0x3d1213['role']&&_0x3d1213['hasOwnProperty']('role')&&!$util['isString'](_0x3d1213['role']))return'role:\x20string\x20expected';if(null!=_0x3d1213['permissions']&&_0x3d1213['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x3d1213['permissions']))return'permissions:\x20array\x20expected';for(var _0x25f1a4=0x0;_0x25f1a4<_0x3d1213['permissions']['length'];++_0x25f1a4)if(!$util['isString'](_0x3d1213['permissions'][_0x25f1a4]))return'permissions:\x20string[]\x20expected';}return null;},SocketConnectMessage['fromObject']=function(object,_0x36d003){if(object instanceof $root['SocketConnectMessage'])return object;if(void 0x0===_0x36d003&&(_0x36d003=0x0),_0x36d003>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5cc492=new $root['SocketConnectMessage']();if(null!=object['id']&&(_0x5cc492['id']=String(object['id'])),null!=object['userId']&&(_0x5cc492['userId']=String(object['userId'])),null!=object['role']&&(_0x5cc492['role']=String(object['role'])),object['permissions']){if(!Array['isArray'](object['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x5cc492['permissions']=[];for(var _0x42f1d7=0x0;_0x42f1d7<object['permissions']['length'];++_0x42f1d7)_0x5cc492['permissions'][_0x42f1d7]=String(object['permissions'][_0x42f1d7]);}return _0x5cc492;},SocketConnectMessage['toObject']=function(_0x59086a,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['permissions']=[]),options['defaults']&&(object['id']='',object['userId']='',object['role']=''),null!=_0x59086a['id']&&_0x59086a['hasOwnProperty']('id')&&(object['id']=_0x59086a['id']),null!=_0x59086a['userId']&&_0x59086a['hasOwnProperty']('userId')&&(object['userId']=_0x59086a['userId']),null!=_0x59086a['role']&&_0x59086a['hasOwnProperty']('role')&&(object['role']=_0x59086a['role']),_0x59086a['permissions']&&_0x59086a['permissions']['length']){object['permissions']=[];for(var _0x53e9e6=0x0;_0x53e9e6<_0x59086a['permissions']['length'];++_0x53e9e6)object['permissions'][_0x53e9e6]=_0x59086a['permissions'][_0x53e9e6];}return object;},SocketConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SocketConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SocketConnectMessage';},SocketConnectMessage;}()),$root['SessionsConnectMessage']=(function(){function SessionsConnectMessage(properties){if(properties){for(var _0x2a5f14=Object['keys'](properties),_0x237bf4=0x0;_0x237bf4<_0x2a5f14['length'];++_0x237bf4)null!=properties[_0x2a5f14[_0x237bf4]]&&'__proto__'!==_0x2a5f14[_0x237bf4]&&(this[_0x2a5f14[_0x237bf4]]=properties[_0x2a5f14[_0x237bf4]]);}}return SessionsConnectMessage['prototype']['id']='',SessionsConnectMessage['prototype']['sessionType']=0x0,SessionsConnectMessage['create']=function(properties){return new SessionsConnectMessage(properties);},SessionsConnectMessage['encode']=function(_0x2ffcd0,writer){return writer||(writer=$Writer['create']()),null!=_0x2ffcd0['id']&&Object['hasOwnProperty']['call'](_0x2ffcd0,'id')&&writer['uint32'](0xa)['string'](_0x2ffcd0['id']),null!=_0x2ffcd0['sessionType']&&Object['hasOwnProperty']['call'](_0x2ffcd0,'sessionType')&&writer['uint32'](0x10)['uint32'](_0x2ffcd0['sessionType']),writer;},SessionsConnectMessage['encodeDelimited']=function(_0x311901,writer){return this['encode'](_0x311901,writer)['ldelim']();},SessionsConnectMessage['decode']=function(_0x523748,length,_0x4fb310,_0x4a7d21){if(_0x523748 instanceof _0x2be071||(_0x523748=_0x2be071['create'](_0x523748)),void 0x0===_0x4a7d21&&(_0x4a7d21=0x0),_0x4a7d21>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x903a2f=void 0x0===length?_0x523748['len']:_0x523748['pos']+length,_0x4d0b58=new $root['SessionsConnectMessage']();_0x523748['pos']<_0x903a2f;){var tag=_0x523748['uint32']();if(tag===_0x4fb310)break;switch(tag>>>0x3){case 0x1:_0x4d0b58['id']=_0x523748['string']();break;case 0x2:_0x4d0b58['sessionType']=_0x523748['uint32']();break;default:_0x523748['skipType'](0x7&tag,_0x4a7d21);}}return _0x4d0b58;},SessionsConnectMessage['decodeDelimited']=function(_0x2443e2){return _0x2443e2 instanceof _0x2be071||(_0x2443e2=new _0x2be071(_0x2443e2)),this['decode'](_0x2443e2,_0x2443e2['uint32']());},SessionsConnectMessage['verify']=function(_0x2b8ad4,_0x3d24a0){return'object'!=typeof _0x2b8ad4||null===_0x2b8ad4?'object\x20expected':(void 0x0===_0x3d24a0&&(_0x3d24a0=0x0),_0x3d24a0>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2b8ad4['id']&&_0x2b8ad4['hasOwnProperty']('id')&&!$util['isString'](_0x2b8ad4['id'])?'id:\x20string\x20expected':null!=_0x2b8ad4['sessionType']&&_0x2b8ad4['hasOwnProperty']('sessionType')&&!$util['isInteger'](_0x2b8ad4['sessionType'])?'sessionType:\x20integer\x20expected':null);},SessionsConnectMessage['fromObject']=function(object,_0x20a091){if(object instanceof $root['SessionsConnectMessage'])return object;if(void 0x0===_0x20a091&&(_0x20a091=0x0),_0x20a091>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xda8663=new $root['SessionsConnectMessage']();return null!=object['id']&&(_0xda8663['id']=String(object['id'])),null!=object['sessionType']&&(_0xda8663['sessionType']=object['sessionType']>>>0x0),_0xda8663;},SessionsConnectMessage['toObject']=function(_0x34975e,options){options||(options={});var object={};return options['defaults']&&(object['id']='',object['sessionType']=0x0),null!=_0x34975e['id']&&_0x34975e['hasOwnProperty']('id')&&(object['id']=_0x34975e['id']),null!=_0x34975e['sessionType']&&_0x34975e['hasOwnProperty']('sessionType')&&(object['sessionType']=_0x34975e['sessionType']),object;},SessionsConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsConnectMessage';},SessionsConnectMessage;}()),$root['SessionsSocketDescriptor']=(function(){function SessionsSocketDescriptor(properties){if(this['permissions']=[],properties){for(var _0x2b247b=Object['keys'](properties),_0x3e23ca=0x0;_0x3e23ca<_0x2b247b['length'];++_0x3e23ca)null!=properties[_0x2b247b[_0x3e23ca]]&&'__proto__'!==_0x2b247b[_0x3e23ca]&&(this[_0x2b247b[_0x3e23ca]]=properties[_0x2b247b[_0x3e23ca]]);}}return SessionsSocketDescriptor['prototype']['session']='',SessionsSocketDescriptor['prototype']['user']='',SessionsSocketDescriptor['prototype']['role']='',SessionsSocketDescriptor['prototype']['permissions']=$util['emptyArray'],SessionsSocketDescriptor['create']=function(properties){return new SessionsSocketDescriptor(properties);},SessionsSocketDescriptor['encode']=function(_0xc7dbcf,writer){if(writer||(writer=$Writer['create']()),null!=_0xc7dbcf['session']&&Object['hasOwnProperty']['call'](_0xc7dbcf,'session')&&writer['uint32'](0xa)['string'](_0xc7dbcf['session']),null!=_0xc7dbcf['user']&&Object['hasOwnProperty']['call'](_0xc7dbcf,'user')&&writer['uint32'](0x12)['string'](_0xc7dbcf['user']),null!=_0xc7dbcf['role']&&Object['hasOwnProperty']['call'](_0xc7dbcf,'role')&&writer['uint32'](0x1a)['string'](_0xc7dbcf['role']),null!=_0xc7dbcf['permissions']&&_0xc7dbcf['permissions']['length']){for(var _0x1a193c=0x0;_0x1a193c<_0xc7dbcf['permissions']['length'];++_0x1a193c)writer['uint32'](0x22)['string'](_0xc7dbcf['permissions'][_0x1a193c]);}return writer;},SessionsSocketDescriptor['encodeDelimited']=function(_0x22e5d0,writer){return this['encode'](_0x22e5d0,writer)['ldelim']();},SessionsSocketDescriptor['decode']=function(_0x463456,length,_0x5b6e62,_0x224581){if(_0x463456 instanceof _0x2be071||(_0x463456=_0x2be071['create'](_0x463456)),void 0x0===_0x224581&&(_0x224581=0x0),_0x224581>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x596dea=void 0x0===length?_0x463456['len']:_0x463456['pos']+length,_0x3fc446=new $root['SessionsSocketDescriptor']();_0x463456['pos']<_0x596dea;){var tag=_0x463456['uint32']();if(tag===_0x5b6e62)break;switch(tag>>>0x3){case 0x1:_0x3fc446['session']=_0x463456['string']();break;case 0x2:_0x3fc446['user']=_0x463456['string']();break;case 0x3:_0x3fc446['role']=_0x463456['string']();break;case 0x4:_0x3fc446['permissions']&&_0x3fc446['permissions']['length']||(_0x3fc446['permissions']=[]),_0x3fc446['permissions']['push'](_0x463456['string']());break;default:_0x463456['skipType'](0x7&tag,_0x224581);}}return _0x3fc446;},SessionsSocketDescriptor['decodeDelimited']=function(_0x511214){return _0x511214 instanceof _0x2be071||(_0x511214=new _0x2be071(_0x511214)),this['decode'](_0x511214,_0x511214['uint32']());},SessionsSocketDescriptor['verify']=function(_0x20ffe9,_0x48ee27){if('object'!=typeof _0x20ffe9||null===_0x20ffe9)return'object\x20expected';if(void 0x0===_0x48ee27&&(_0x48ee27=0x0),_0x48ee27>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x20ffe9['session']&&_0x20ffe9['hasOwnProperty']('session')&&!$util['isString'](_0x20ffe9['session']))return'session:\x20string\x20expected';if(null!=_0x20ffe9['user']&&_0x20ffe9['hasOwnProperty']('user')&&!$util['isString'](_0x20ffe9['user']))return'user:\x20string\x20expected';if(null!=_0x20ffe9['role']&&_0x20ffe9['hasOwnProperty']('role')&&!$util['isString'](_0x20ffe9['role']))return'role:\x20string\x20expected';if(null!=_0x20ffe9['permissions']&&_0x20ffe9['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x20ffe9['permissions']))return'permissions:\x20array\x20expected';for(var _0x5b7370=0x0;_0x5b7370<_0x20ffe9['permissions']['length'];++_0x5b7370)if(!$util['isString'](_0x20ffe9['permissions'][_0x5b7370]))return'permissions:\x20string[]\x20expected';}return null;},SessionsSocketDescriptor['fromObject']=function(object,_0x20ddda){if(object instanceof $root['SessionsSocketDescriptor'])return object;if(void 0x0===_0x20ddda&&(_0x20ddda=0x0),_0x20ddda>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1f9739=new $root['SessionsSocketDescriptor']();if(null!=object['session']&&(_0x1f9739['session']=String(object['session'])),null!=object['user']&&(_0x1f9739['user']=String(object['user'])),null!=object['role']&&(_0x1f9739['role']=String(object['role'])),object['permissions']){if(!Array['isArray'](object['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x1f9739['permissions']=[];for(var _0xaf35a1=0x0;_0xaf35a1<object['permissions']['length'];++_0xaf35a1)_0x1f9739['permissions'][_0xaf35a1]=String(object['permissions'][_0xaf35a1]);}return _0x1f9739;},SessionsSocketDescriptor['toObject']=function(_0x435133,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['permissions']=[]),options['defaults']&&(object['session']='',object['user']='',object['role']=''),null!=_0x435133['session']&&_0x435133['hasOwnProperty']('session')&&(object['session']=_0x435133['session']),null!=_0x435133['user']&&_0x435133['hasOwnProperty']('user')&&(object['user']=_0x435133['user']),null!=_0x435133['role']&&_0x435133['hasOwnProperty']('role')&&(object['role']=_0x435133['role']),_0x435133['permissions']&&_0x435133['permissions']['length']){object['permissions']=[];for(var _0x54dc12=0x0;_0x54dc12<_0x435133['permissions']['length'];++_0x54dc12)object['permissions'][_0x54dc12]=_0x435133['permissions'][_0x54dc12];}return object;},SessionsSocketDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsSocketDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsSocketDescriptor';},SessionsSocketDescriptor;}()),$root['RevisionHistoryUpdateRevisionsResponse']=(function(){function RevisionHistoryUpdateRevisionsResponse(properties){if(properties){for(var _0x42a2cb=Object['keys'](properties),_0x444e5f=0x0;_0x444e5f<_0x42a2cb['length'];++_0x444e5f)null!=properties[_0x42a2cb[_0x444e5f]]&&'__proto__'!==_0x42a2cb[_0x444e5f]&&(this[_0x42a2cb[_0x444e5f]]=properties[_0x42a2cb[_0x444e5f]]);}}return RevisionHistoryUpdateRevisionsResponse['prototype']['requestId']=0x0,RevisionHistoryUpdateRevisionsResponse['create']=function(properties){return new RevisionHistoryUpdateRevisionsResponse(properties);},RevisionHistoryUpdateRevisionsResponse['encode']=function(_0x49ff61,writer){return writer||(writer=$Writer['create']()),null!=_0x49ff61['requestId']&&Object['hasOwnProperty']['call'](_0x49ff61,'requestId')&&writer['uint32'](0x8)['uint32'](_0x49ff61['requestId']),writer;},RevisionHistoryUpdateRevisionsResponse['encodeDelimited']=function(_0x59a0d8,writer){return this['encode'](_0x59a0d8,writer)['ldelim']();},RevisionHistoryUpdateRevisionsResponse['decode']=function(_0x5256dc,length,_0x39876d,_0x1aab73){if(_0x5256dc instanceof _0x2be071||(_0x5256dc=_0x2be071['create'](_0x5256dc)),void 0x0===_0x1aab73&&(_0x1aab73=0x0),_0x1aab73>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x29e8f6=void 0x0===length?_0x5256dc['len']:_0x5256dc['pos']+length,_0xf91b8c=new $root['RevisionHistoryUpdateRevisionsResponse']();_0x5256dc['pos']<_0x29e8f6;){var tag=_0x5256dc['uint32']();if(tag===_0x39876d)break;if(tag>>>0x3==0x1)_0xf91b8c['requestId']=_0x5256dc['uint32']();else _0x5256dc['skipType'](0x7&tag,_0x1aab73);}return _0xf91b8c;},RevisionHistoryUpdateRevisionsResponse['decodeDelimited']=function(_0x35ddf4){return _0x35ddf4 instanceof _0x2be071||(_0x35ddf4=new _0x2be071(_0x35ddf4)),this['decode'](_0x35ddf4,_0x35ddf4['uint32']());},RevisionHistoryUpdateRevisionsResponse['verify']=function(_0xe22bb7,_0x3629e4){return'object'!=typeof _0xe22bb7||null===_0xe22bb7?'object\x20expected':(void 0x0===_0x3629e4&&(_0x3629e4=0x0),_0x3629e4>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xe22bb7['requestId']&&_0xe22bb7['hasOwnProperty']('requestId')&&!$util['isInteger'](_0xe22bb7['requestId'])?'requestId:\x20integer\x20expected':null);},RevisionHistoryUpdateRevisionsResponse['fromObject']=function(object,_0x2a95b7){if(object instanceof $root['RevisionHistoryUpdateRevisionsResponse'])return object;if(void 0x0===_0x2a95b7&&(_0x2a95b7=0x0),_0x2a95b7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x536a07=new $root['RevisionHistoryUpdateRevisionsResponse']();return null!=object['requestId']&&(_0x536a07['requestId']=object['requestId']>>>0x0),_0x536a07;},RevisionHistoryUpdateRevisionsResponse['toObject']=function(_0x6d4538,options){options||(options={});var object={};return options['defaults']&&(object['requestId']=0x0),null!=_0x6d4538['requestId']&&_0x6d4538['hasOwnProperty']('requestId')&&(object['requestId']=_0x6d4538['requestId']),object;},RevisionHistoryUpdateRevisionsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryUpdateRevisionsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryUpdateRevisionsResponse';},RevisionHistoryUpdateRevisionsResponse;}()),$root['RevisionHistoryGetRevisionResponse']=(function(){function RevisionHistoryGetRevisionResponse(properties){if(properties){for(var _0x465fa1=Object['keys'](properties),_0x2fd58d=0x0;_0x2fd58d<_0x465fa1['length'];++_0x2fd58d)null!=properties[_0x465fa1[_0x2fd58d]]&&'__proto__'!==_0x465fa1[_0x2fd58d]&&(this[_0x465fa1[_0x2fd58d]]=properties[_0x465fa1[_0x2fd58d]]);}}return RevisionHistoryGetRevisionResponse['prototype']['revisionId']='',RevisionHistoryGetRevisionResponse['prototype']['name']='',RevisionHistoryGetRevisionResponse['prototype']['creatorId']='',RevisionHistoryGetRevisionResponse['prototype']['authorsIds']='',RevisionHistoryGetRevisionResponse['prototype']['diffData']='',RevisionHistoryGetRevisionResponse['prototype']['createdAt']='',RevisionHistoryGetRevisionResponse['prototype']['attributes']='',RevisionHistoryGetRevisionResponse['prototype']['toVersion']=0x0,RevisionHistoryGetRevisionResponse['prototype']['fromVersion']=0x0,RevisionHistoryGetRevisionResponse['prototype']['isEmptyCurrent']=!0x1,RevisionHistoryGetRevisionResponse['create']=function(properties){return new RevisionHistoryGetRevisionResponse(properties);},RevisionHistoryGetRevisionResponse['encode']=function(_0x588144,writer){return writer||(writer=$Writer['create']()),null!=_0x588144['revisionId']&&Object['hasOwnProperty']['call'](_0x588144,'revisionId')&&writer['uint32'](0xa)['string'](_0x588144['revisionId']),null!=_0x588144['name']&&Object['hasOwnProperty']['call'](_0x588144,'name')&&writer['uint32'](0x12)['string'](_0x588144['name']),null!=_0x588144['creatorId']&&Object['hasOwnProperty']['call'](_0x588144,'creatorId')&&writer['uint32'](0x1a)['string'](_0x588144['creatorId']),null!=_0x588144['authorsIds']&&Object['hasOwnProperty']['call'](_0x588144,'authorsIds')&&writer['uint32'](0x22)['string'](_0x588144['authorsIds']),null!=_0x588144['diffData']&&Object['hasOwnProperty']['call'](_0x588144,'diffData')&&writer['uint32'](0x2a)['string'](_0x588144['diffData']),null!=_0x588144['createdAt']&&Object['hasOwnProperty']['call'](_0x588144,'createdAt')&&writer['uint32'](0x32)['string'](_0x588144['createdAt']),null!=_0x588144['attributes']&&Object['hasOwnProperty']['call'](_0x588144,'attributes')&&writer['uint32'](0x3a)['string'](_0x588144['attributes']),null!=_0x588144['toVersion']&&Object['hasOwnProperty']['call'](_0x588144,'toVersion')&&writer['uint32'](0x40)['uint32'](_0x588144['toVersion']),null!=_0x588144['fromVersion']&&Object['hasOwnProperty']['call'](_0x588144,'fromVersion')&&writer['uint32'](0x48)['uint32'](_0x588144['fromVersion']),null!=_0x588144['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x588144,'isEmptyCurrent')&&writer['uint32'](0x50)['bool'](_0x588144['isEmptyCurrent']),writer;},RevisionHistoryGetRevisionResponse['encodeDelimited']=function(_0x18ec79,writer){return this['encode'](_0x18ec79,writer)['ldelim']();},RevisionHistoryGetRevisionResponse['decode']=function(_0x1d9f0d,length,_0x2e9b9d,_0x4d4921){if(_0x1d9f0d instanceof _0x2be071||(_0x1d9f0d=_0x2be071['create'](_0x1d9f0d)),void 0x0===_0x4d4921&&(_0x4d4921=0x0),_0x4d4921>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xcedf50=void 0x0===length?_0x1d9f0d['len']:_0x1d9f0d['pos']+length,_0x34d269=new $root['RevisionHistoryGetRevisionResponse']();_0x1d9f0d['pos']<_0xcedf50;){var tag=_0x1d9f0d['uint32']();if(tag===_0x2e9b9d)break;switch(tag>>>0x3){case 0x1:_0x34d269['revisionId']=_0x1d9f0d['string']();break;case 0x2:_0x34d269['name']=_0x1d9f0d['string']();break;case 0x3:_0x34d269['creatorId']=_0x1d9f0d['string']();break;case 0x4:_0x34d269['authorsIds']=_0x1d9f0d['string']();break;case 0x5:_0x34d269['diffData']=_0x1d9f0d['string']();break;case 0x6:_0x34d269['createdAt']=_0x1d9f0d['string']();break;case 0x7:_0x34d269['attributes']=_0x1d9f0d['string']();break;case 0x8:_0x34d269['toVersion']=_0x1d9f0d['uint32']();break;case 0x9:_0x34d269['fromVersion']=_0x1d9f0d['uint32']();break;case 0xa:_0x34d269['isEmptyCurrent']=_0x1d9f0d['bool']();break;default:_0x1d9f0d['skipType'](0x7&tag,_0x4d4921);}}return _0x34d269;},RevisionHistoryGetRevisionResponse['decodeDelimited']=function(_0x4e968f){return _0x4e968f instanceof _0x2be071||(_0x4e968f=new _0x2be071(_0x4e968f)),this['decode'](_0x4e968f,_0x4e968f['uint32']());},RevisionHistoryGetRevisionResponse['verify']=function(_0x319c7d,_0x1561d4){return'object'!=typeof _0x319c7d||null===_0x319c7d?'object\x20expected':(void 0x0===_0x1561d4&&(_0x1561d4=0x0),_0x1561d4>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x319c7d['revisionId']&&_0x319c7d['hasOwnProperty']('revisionId')&&!$util['isString'](_0x319c7d['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x319c7d['name']&&_0x319c7d['hasOwnProperty']('name')&&!$util['isString'](_0x319c7d['name'])?'name:\x20string\x20expected':null!=_0x319c7d['creatorId']&&_0x319c7d['hasOwnProperty']('creatorId')&&!$util['isString'](_0x319c7d['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x319c7d['authorsIds']&&_0x319c7d['hasOwnProperty']('authorsIds')&&!$util['isString'](_0x319c7d['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x319c7d['diffData']&&_0x319c7d['hasOwnProperty']('diffData')&&!$util['isString'](_0x319c7d['diffData'])?'diffData:\x20string\x20expected':null!=_0x319c7d['createdAt']&&_0x319c7d['hasOwnProperty']('createdAt')&&!$util['isString'](_0x319c7d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x319c7d['attributes']&&_0x319c7d['hasOwnProperty']('attributes')&&!$util['isString'](_0x319c7d['attributes'])?'attributes:\x20string\x20expected':null!=_0x319c7d['toVersion']&&_0x319c7d['hasOwnProperty']('toVersion')&&!$util['isInteger'](_0x319c7d['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x319c7d['fromVersion']&&_0x319c7d['hasOwnProperty']('fromVersion')&&!$util['isInteger'](_0x319c7d['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x319c7d['isEmptyCurrent']&&_0x319c7d['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x319c7d['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},RevisionHistoryGetRevisionResponse['fromObject']=function(object,_0xda35f){if(object instanceof $root['RevisionHistoryGetRevisionResponse'])return object;if(void 0x0===_0xda35f&&(_0xda35f=0x0),_0xda35f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x18d95a=new $root['RevisionHistoryGetRevisionResponse']();return null!=object['revisionId']&&(_0x18d95a['revisionId']=String(object['revisionId'])),null!=object['name']&&(_0x18d95a['name']=String(object['name'])),null!=object['creatorId']&&(_0x18d95a['creatorId']=String(object['creatorId'])),null!=object['authorsIds']&&(_0x18d95a['authorsIds']=String(object['authorsIds'])),null!=object['diffData']&&(_0x18d95a['diffData']=String(object['diffData'])),null!=object['createdAt']&&(_0x18d95a['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x18d95a['attributes']=String(object['attributes'])),null!=object['toVersion']&&(_0x18d95a['toVersion']=object['toVersion']>>>0x0),null!=object['fromVersion']&&(_0x18d95a['fromVersion']=object['fromVersion']>>>0x0),null!=object['isEmptyCurrent']&&(_0x18d95a['isEmptyCurrent']=Boolean(object['isEmptyCurrent'])),_0x18d95a;},RevisionHistoryGetRevisionResponse['toObject']=function(_0x258976,options){options||(options={});var object={};return options['defaults']&&(object['revisionId']='',object['name']='',object['creatorId']='',object['authorsIds']='',object['diffData']='',object['createdAt']='',object['attributes']='',object['toVersion']=0x0,object['fromVersion']=0x0,object['isEmptyCurrent']=!0x1),null!=_0x258976['revisionId']&&_0x258976['hasOwnProperty']('revisionId')&&(object['revisionId']=_0x258976['revisionId']),null!=_0x258976['name']&&_0x258976['hasOwnProperty']('name')&&(object['name']=_0x258976['name']),null!=_0x258976['creatorId']&&_0x258976['hasOwnProperty']('creatorId')&&(object['creatorId']=_0x258976['creatorId']),null!=_0x258976['authorsIds']&&_0x258976['hasOwnProperty']('authorsIds')&&(object['authorsIds']=_0x258976['authorsIds']),null!=_0x258976['diffData']&&_0x258976['hasOwnProperty']('diffData')&&(object['diffData']=_0x258976['diffData']),null!=_0x258976['createdAt']&&_0x258976['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x258976['createdAt']),null!=_0x258976['attributes']&&_0x258976['hasOwnProperty']('attributes')&&(object['attributes']=_0x258976['attributes']),null!=_0x258976['toVersion']&&_0x258976['hasOwnProperty']('toVersion')&&(object['toVersion']=_0x258976['toVersion']),null!=_0x258976['fromVersion']&&_0x258976['hasOwnProperty']('fromVersion')&&(object['fromVersion']=_0x258976['fromVersion']),null!=_0x258976['isEmptyCurrent']&&_0x258976['hasOwnProperty']('isEmptyCurrent')&&(object['isEmptyCurrent']=_0x258976['isEmptyCurrent']),object;},RevisionHistoryGetRevisionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryGetRevisionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryGetRevisionResponse';},RevisionHistoryGetRevisionResponse;}()),$root['RevisionHistoryConnectResponse']=(function(){function RevisionHistoryConnectResponse(properties){if(this['revisions']=[],properties){for(var _0x82e76a=Object['keys'](properties),_0x42082c=0x0;_0x42082c<_0x82e76a['length'];++_0x42082c)null!=properties[_0x82e76a[_0x42082c]]&&'__proto__'!==_0x82e76a[_0x42082c]&&(this[_0x82e76a[_0x42082c]]=properties[_0x82e76a[_0x42082c]]);}}return RevisionHistoryConnectResponse['prototype']['channel']='',RevisionHistoryConnectResponse['prototype']['requestId']=0x0,RevisionHistoryConnectResponse['prototype']['revisions']=$util['emptyArray'],RevisionHistoryConnectResponse['create']=function(properties){return new RevisionHistoryConnectResponse(properties);},RevisionHistoryConnectResponse['encode']=function(_0x37cd72,writer){if(writer||(writer=$Writer['create']()),null!=_0x37cd72['channel']&&Object['hasOwnProperty']['call'](_0x37cd72,'channel')&&writer['uint32'](0xa)['string'](_0x37cd72['channel']),null!=_0x37cd72['requestId']&&Object['hasOwnProperty']['call'](_0x37cd72,'requestId')&&writer['uint32'](0x10)['uint32'](_0x37cd72['requestId']),null!=_0x37cd72['revisions']&&_0x37cd72['revisions']['length']){for(var _0x24caca=0x0;_0x24caca<_0x37cd72['revisions']['length'];++_0x24caca)$root['RevisionDescriptor']['encode'](_0x37cd72['revisions'][_0x24caca],writer['uint32'](0x1a)['fork']())['ldelim']();}return writer;},RevisionHistoryConnectResponse['encodeDelimited']=function(_0x1b5771,writer){return this['encode'](_0x1b5771,writer)['ldelim']();},RevisionHistoryConnectResponse['decode']=function(_0x2ba938,length,_0x3f06be,_0x46212d){if(_0x2ba938 instanceof _0x2be071||(_0x2ba938=_0x2be071['create'](_0x2ba938)),void 0x0===_0x46212d&&(_0x46212d=0x0),_0x46212d>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x34403a=void 0x0===length?_0x2ba938['len']:_0x2ba938['pos']+length,_0x15d13f=new $root['RevisionHistoryConnectResponse']();_0x2ba938['pos']<_0x34403a;){var tag=_0x2ba938['uint32']();if(tag===_0x3f06be)break;switch(tag>>>0x3){case 0x1:_0x15d13f['channel']=_0x2ba938['string']();break;case 0x2:_0x15d13f['requestId']=_0x2ba938['uint32']();break;case 0x3:_0x15d13f['revisions']&&_0x15d13f['revisions']['length']||(_0x15d13f['revisions']=[]),_0x15d13f['revisions']['push']($root['RevisionDescriptor']['decode'](_0x2ba938,_0x2ba938['uint32'](),void 0x0,_0x46212d+0x1));break;default:_0x2ba938['skipType'](0x7&tag,_0x46212d);}}return _0x15d13f;},RevisionHistoryConnectResponse['decodeDelimited']=function(_0x1a3603){return _0x1a3603 instanceof _0x2be071||(_0x1a3603=new _0x2be071(_0x1a3603)),this['decode'](_0x1a3603,_0x1a3603['uint32']());},RevisionHistoryConnectResponse['verify']=function(_0x16cbdc,_0x1b5fb1){if('object'!=typeof _0x16cbdc||null===_0x16cbdc)return'object\x20expected';if(void 0x0===_0x1b5fb1&&(_0x1b5fb1=0x0),_0x1b5fb1>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x16cbdc['channel']&&_0x16cbdc['hasOwnProperty']('channel')&&!$util['isString'](_0x16cbdc['channel']))return'channel:\x20string\x20expected';if(null!=_0x16cbdc['requestId']&&_0x16cbdc['hasOwnProperty']('requestId')&&!$util['isInteger'](_0x16cbdc['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x16cbdc['revisions']&&_0x16cbdc['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x16cbdc['revisions']))return'revisions:\x20array\x20expected';for(var _0x1afe94=0x0;_0x1afe94<_0x16cbdc['revisions']['length'];++_0x1afe94){var _0x4c1a3b=$root['RevisionDescriptor']['verify'](_0x16cbdc['revisions'][_0x1afe94],_0x1b5fb1+0x1);if(_0x4c1a3b)return'revisions.'+_0x4c1a3b;}}return null;},RevisionHistoryConnectResponse['fromObject']=function(object,_0x4ccf3d){if(object instanceof $root['RevisionHistoryConnectResponse'])return object;if(void 0x0===_0x4ccf3d&&(_0x4ccf3d=0x0),_0x4ccf3d>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4b815b=new $root['RevisionHistoryConnectResponse']();if(null!=object['channel']&&(_0x4b815b['channel']=String(object['channel'])),null!=object['requestId']&&(_0x4b815b['requestId']=object['requestId']>>>0x0),object['revisions']){if(!Array['isArray'](object['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x4b815b['revisions']=[];for(var _0x1b0ae9=0x0;_0x1b0ae9<object['revisions']['length'];++_0x1b0ae9){if('object'!=typeof object['revisions'][_0x1b0ae9])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x4b815b['revisions'][_0x1b0ae9]=$root['RevisionDescriptor']['fromObject'](object['revisions'][_0x1b0ae9],_0x4ccf3d+0x1);}}return _0x4b815b;},RevisionHistoryConnectResponse['toObject']=function(_0x2c2be7,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['revisions']=[]),options['defaults']&&(object['channel']='',object['requestId']=0x0),null!=_0x2c2be7['channel']&&_0x2c2be7['hasOwnProperty']('channel')&&(object['channel']=_0x2c2be7['channel']),null!=_0x2c2be7['requestId']&&_0x2c2be7['hasOwnProperty']('requestId')&&(object['requestId']=_0x2c2be7['requestId']),_0x2c2be7['revisions']&&_0x2c2be7['revisions']['length']){object['revisions']=[];for(var _0x47d6fa=0x0;_0x47d6fa<_0x2c2be7['revisions']['length'];++_0x47d6fa)object['revisions'][_0x47d6fa]=$root['RevisionDescriptor']['toObject'](_0x2c2be7['revisions'][_0x47d6fa],options);}return object;},RevisionHistoryConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryConnectResponse';},RevisionHistoryConnectResponse;}()),$root['RevisionHistoryUpdateRevisionsMessage']=(function(){function RevisionHistoryUpdateRevisionsMessage(properties){if(this['revisions']=[],properties){for(var _0x9b7b10=Object['keys'](properties),_0x42e061=0x0;_0x42e061<_0x9b7b10['length'];++_0x42e061)null!=properties[_0x9b7b10[_0x42e061]]&&'__proto__'!==_0x9b7b10[_0x42e061]&&(this[_0x9b7b10[_0x42e061]]=properties[_0x9b7b10[_0x42e061]]);}}return RevisionHistoryUpdateRevisionsMessage['prototype']['documentId']='',RevisionHistoryUpdateRevisionsMessage['prototype']['requestId']=0x0,RevisionHistoryUpdateRevisionsMessage['prototype']['revisions']=$util['emptyArray'],RevisionHistoryUpdateRevisionsMessage['create']=function(properties){return new RevisionHistoryUpdateRevisionsMessage(properties);},RevisionHistoryUpdateRevisionsMessage['encode']=function(_0x49de68,writer){if(writer||(writer=$Writer['create']()),null!=_0x49de68['documentId']&&Object['hasOwnProperty']['call'](_0x49de68,'documentId')&&writer['uint32'](0xa)['string'](_0x49de68['documentId']),null!=_0x49de68['requestId']&&Object['hasOwnProperty']['call'](_0x49de68,'requestId')&&writer['uint32'](0x10)['uint32'](_0x49de68['requestId']),null!=_0x49de68['revisions']&&_0x49de68['revisions']['length']){for(var _0x119e27=0x0;_0x119e27<_0x49de68['revisions']['length'];++_0x119e27)$root['RevisionDescriptor']['encode'](_0x49de68['revisions'][_0x119e27],writer['uint32'](0x1a)['fork']())['ldelim']();}return writer;},RevisionHistoryUpdateRevisionsMessage['encodeDelimited']=function(_0x4d2b47,writer){return this['encode'](_0x4d2b47,writer)['ldelim']();},RevisionHistoryUpdateRevisionsMessage['decode']=function(_0x54e14c,length,_0x16b03f,_0x2c8665){if(_0x54e14c instanceof _0x2be071||(_0x54e14c=_0x2be071['create'](_0x54e14c)),void 0x0===_0x2c8665&&(_0x2c8665=0x0),_0x2c8665>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xbcfbaa=void 0x0===length?_0x54e14c['len']:_0x54e14c['pos']+length,_0x83a08c=new $root['RevisionHistoryUpdateRevisionsMessage']();_0x54e14c['pos']<_0xbcfbaa;){var tag=_0x54e14c['uint32']();if(tag===_0x16b03f)break;switch(tag>>>0x3){case 0x1:_0x83a08c['documentId']=_0x54e14c['string']();break;case 0x2:_0x83a08c['requestId']=_0x54e14c['uint32']();break;case 0x3:_0x83a08c['revisions']&&_0x83a08c['revisions']['length']||(_0x83a08c['revisions']=[]),_0x83a08c['revisions']['push']($root['RevisionDescriptor']['decode'](_0x54e14c,_0x54e14c['uint32'](),void 0x0,_0x2c8665+0x1));break;default:_0x54e14c['skipType'](0x7&tag,_0x2c8665);}}return _0x83a08c;},RevisionHistoryUpdateRevisionsMessage['decodeDelimited']=function(_0x3b38d6){return _0x3b38d6 instanceof _0x2be071||(_0x3b38d6=new _0x2be071(_0x3b38d6)),this['decode'](_0x3b38d6,_0x3b38d6['uint32']());},RevisionHistoryUpdateRevisionsMessage['verify']=function(_0xa9b3a2,_0x592b3f){if('object'!=typeof _0xa9b3a2||null===_0xa9b3a2)return'object\x20expected';if(void 0x0===_0x592b3f&&(_0x592b3f=0x0),_0x592b3f>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xa9b3a2['documentId']&&_0xa9b3a2['hasOwnProperty']('documentId')&&!$util['isString'](_0xa9b3a2['documentId']))return'documentId:\x20string\x20expected';if(null!=_0xa9b3a2['requestId']&&_0xa9b3a2['hasOwnProperty']('requestId')&&!$util['isInteger'](_0xa9b3a2['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0xa9b3a2['revisions']&&_0xa9b3a2['hasOwnProperty']('revisions')){if(!Array['isArray'](_0xa9b3a2['revisions']))return'revisions:\x20array\x20expected';for(var _0x5f2995=0x0;_0x5f2995<_0xa9b3a2['revisions']['length'];++_0x5f2995){var _0xe27a78=$root['RevisionDescriptor']['verify'](_0xa9b3a2['revisions'][_0x5f2995],_0x592b3f+0x1);if(_0xe27a78)return'revisions.'+_0xe27a78;}}return null;},RevisionHistoryUpdateRevisionsMessage['fromObject']=function(object,_0xea8191){if(object instanceof $root['RevisionHistoryUpdateRevisionsMessage'])return object;if(void 0x0===_0xea8191&&(_0xea8191=0x0),_0xea8191>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x237b93=new $root['RevisionHistoryUpdateRevisionsMessage']();if(null!=object['documentId']&&(_0x237b93['documentId']=String(object['documentId'])),null!=object['requestId']&&(_0x237b93['requestId']=object['requestId']>>>0x0),object['revisions']){if(!Array['isArray'](object['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x237b93['revisions']=[];for(var _0x55b300=0x0;_0x55b300<object['revisions']['length'];++_0x55b300){if('object'!=typeof object['revisions'][_0x55b300])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x237b93['revisions'][_0x55b300]=$root['RevisionDescriptor']['fromObject'](object['revisions'][_0x55b300],_0xea8191+0x1);}}return _0x237b93;},RevisionHistoryUpdateRevisionsMessage['toObject']=function(_0xc2c8f9,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['revisions']=[]),options['defaults']&&(object['documentId']='',object['requestId']=0x0),null!=_0xc2c8f9['documentId']&&_0xc2c8f9['hasOwnProperty']('documentId')&&(object['documentId']=_0xc2c8f9['documentId']),null!=_0xc2c8f9['requestId']&&_0xc2c8f9['hasOwnProperty']('requestId')&&(object['requestId']=_0xc2c8f9['requestId']),_0xc2c8f9['revisions']&&_0xc2c8f9['revisions']['length']){object['revisions']=[];for(var _0x54b375=0x0;_0x54b375<_0xc2c8f9['revisions']['length'];++_0x54b375)object['revisions'][_0x54b375]=$root['RevisionDescriptor']['toObject'](_0xc2c8f9['revisions'][_0x54b375],options);}return object;},RevisionHistoryUpdateRevisionsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryUpdateRevisionsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryUpdateRevisionsMessage';},RevisionHistoryUpdateRevisionsMessage;}()),$root['RevisionHistoryReconnectMessage']=(function(){function RevisionHistoryReconnectMessage(properties){if(properties){for(var _0x1e8b40=Object['keys'](properties),_0x4e03d1=0x0;_0x4e03d1<_0x1e8b40['length'];++_0x4e03d1)null!=properties[_0x1e8b40[_0x4e03d1]]&&'__proto__'!==_0x1e8b40[_0x4e03d1]&&(this[_0x1e8b40[_0x4e03d1]]=properties[_0x1e8b40[_0x4e03d1]]);}}return RevisionHistoryReconnectMessage['prototype']['documentId']='',RevisionHistoryReconnectMessage['prototype']['requestId']=0x0,RevisionHistoryReconnectMessage['create']=function(properties){return new RevisionHistoryReconnectMessage(properties);},RevisionHistoryReconnectMessage['encode']=function(_0x2ac7e1,writer){return writer||(writer=$Writer['create']()),null!=_0x2ac7e1['documentId']&&Object['hasOwnProperty']['call'](_0x2ac7e1,'documentId')&&writer['uint32'](0xa)['string'](_0x2ac7e1['documentId']),null!=_0x2ac7e1['requestId']&&Object['hasOwnProperty']['call'](_0x2ac7e1,'requestId')&&writer['uint32'](0x10)['uint32'](_0x2ac7e1['requestId']),writer;},RevisionHistoryReconnectMessage['encodeDelimited']=function(_0x4904ac,writer){return this['encode'](_0x4904ac,writer)['ldelim']();},RevisionHistoryReconnectMessage['decode']=function(_0x45703f,length,_0x3af81f,_0x230c79){if(_0x45703f instanceof _0x2be071||(_0x45703f=_0x2be071['create'](_0x45703f)),void 0x0===_0x230c79&&(_0x230c79=0x0),_0x230c79>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4c07af=void 0x0===length?_0x45703f['len']:_0x45703f['pos']+length,_0x301b89=new $root['RevisionHistoryReconnectMessage']();_0x45703f['pos']<_0x4c07af;){var tag=_0x45703f['uint32']();if(tag===_0x3af81f)break;switch(tag>>>0x3){case 0x1:_0x301b89['documentId']=_0x45703f['string']();break;case 0x2:_0x301b89['requestId']=_0x45703f['uint32']();break;default:_0x45703f['skipType'](0x7&tag,_0x230c79);}}return _0x301b89;},RevisionHistoryReconnectMessage['decodeDelimited']=function(_0x21e07a){return _0x21e07a instanceof _0x2be071||(_0x21e07a=new _0x2be071(_0x21e07a)),this['decode'](_0x21e07a,_0x21e07a['uint32']());},RevisionHistoryReconnectMessage['verify']=function(_0x51a08c,_0x13affc){return'object'!=typeof _0x51a08c||null===_0x51a08c?'object\x20expected':(void 0x0===_0x13affc&&(_0x13affc=0x0),_0x13affc>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x51a08c['documentId']&&_0x51a08c['hasOwnProperty']('documentId')&&!$util['isString'](_0x51a08c['documentId'])?'documentId:\x20string\x20expected':null!=_0x51a08c['requestId']&&_0x51a08c['hasOwnProperty']('requestId')&&!$util['isInteger'](_0x51a08c['requestId'])?'requestId:\x20integer\x20expected':null);},RevisionHistoryReconnectMessage['fromObject']=function(object,_0x6329a4){if(object instanceof $root['RevisionHistoryReconnectMessage'])return object;if(void 0x0===_0x6329a4&&(_0x6329a4=0x0),_0x6329a4>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x56a709=new $root['RevisionHistoryReconnectMessage']();return null!=object['documentId']&&(_0x56a709['documentId']=String(object['documentId'])),null!=object['requestId']&&(_0x56a709['requestId']=object['requestId']>>>0x0),_0x56a709;},RevisionHistoryReconnectMessage['toObject']=function(_0x53f3ac,options){options||(options={});var object={};return options['defaults']&&(object['documentId']='',object['requestId']=0x0),null!=_0x53f3ac['documentId']&&_0x53f3ac['hasOwnProperty']('documentId')&&(object['documentId']=_0x53f3ac['documentId']),null!=_0x53f3ac['requestId']&&_0x53f3ac['hasOwnProperty']('requestId')&&(object['requestId']=_0x53f3ac['requestId']),object;},RevisionHistoryReconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryReconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryReconnectMessage';},RevisionHistoryReconnectMessage;}()),$root['RevisionHistoryGetRevisionMessage']=(function(){function RevisionHistoryGetRevisionMessage(properties){if(properties){for(var _0x154249=Object['keys'](properties),_0x52cd7a=0x0;_0x52cd7a<_0x154249['length'];++_0x52cd7a)null!=properties[_0x154249[_0x52cd7a]]&&'__proto__'!==_0x154249[_0x52cd7a]&&(this[_0x154249[_0x52cd7a]]=properties[_0x154249[_0x52cd7a]]);}}return RevisionHistoryGetRevisionMessage['prototype']['documentId']='',RevisionHistoryGetRevisionMessage['prototype']['revisionId']='',RevisionHistoryGetRevisionMessage['create']=function(properties){return new RevisionHistoryGetRevisionMessage(properties);},RevisionHistoryGetRevisionMessage['encode']=function(_0x513ffe,writer){return writer||(writer=$Writer['create']()),null!=_0x513ffe['documentId']&&Object['hasOwnProperty']['call'](_0x513ffe,'documentId')&&writer['uint32'](0xa)['string'](_0x513ffe['documentId']),null!=_0x513ffe['revisionId']&&Object['hasOwnProperty']['call'](_0x513ffe,'revisionId')&&writer['uint32'](0x12)['string'](_0x513ffe['revisionId']),writer;},RevisionHistoryGetRevisionMessage['encodeDelimited']=function(_0x568a24,writer){return this['encode'](_0x568a24,writer)['ldelim']();},RevisionHistoryGetRevisionMessage['decode']=function(_0x4c7490,length,_0x2c28d7,_0x1dc136){if(_0x4c7490 instanceof _0x2be071||(_0x4c7490=_0x2be071['create'](_0x4c7490)),void 0x0===_0x1dc136&&(_0x1dc136=0x0),_0x1dc136>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x44cfb6=void 0x0===length?_0x4c7490['len']:_0x4c7490['pos']+length,_0x387189=new $root['RevisionHistoryGetRevisionMessage']();_0x4c7490['pos']<_0x44cfb6;){var tag=_0x4c7490['uint32']();if(tag===_0x2c28d7)break;switch(tag>>>0x3){case 0x1:_0x387189['documentId']=_0x4c7490['string']();break;case 0x2:_0x387189['revisionId']=_0x4c7490['string']();break;default:_0x4c7490['skipType'](0x7&tag,_0x1dc136);}}return _0x387189;},RevisionHistoryGetRevisionMessage['decodeDelimited']=function(_0x38a936){return _0x38a936 instanceof _0x2be071||(_0x38a936=new _0x2be071(_0x38a936)),this['decode'](_0x38a936,_0x38a936['uint32']());},RevisionHistoryGetRevisionMessage['verify']=function(_0x27ab0c,_0x17bbc1){return'object'!=typeof _0x27ab0c||null===_0x27ab0c?'object\x20expected':(void 0x0===_0x17bbc1&&(_0x17bbc1=0x0),_0x17bbc1>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x27ab0c['documentId']&&_0x27ab0c['hasOwnProperty']('documentId')&&!$util['isString'](_0x27ab0c['documentId'])?'documentId:\x20string\x20expected':null!=_0x27ab0c['revisionId']&&_0x27ab0c['hasOwnProperty']('revisionId')&&!$util['isString'](_0x27ab0c['revisionId'])?'revisionId:\x20string\x20expected':null);},RevisionHistoryGetRevisionMessage['fromObject']=function(object,_0xb63a0f){if(object instanceof $root['RevisionHistoryGetRevisionMessage'])return object;if(void 0x0===_0xb63a0f&&(_0xb63a0f=0x0),_0xb63a0f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x225a0d=new $root['RevisionHistoryGetRevisionMessage']();return null!=object['documentId']&&(_0x225a0d['documentId']=String(object['documentId'])),null!=object['revisionId']&&(_0x225a0d['revisionId']=String(object['revisionId'])),_0x225a0d;},RevisionHistoryGetRevisionMessage['toObject']=function(_0x563491,options){options||(options={});var object={};return options['defaults']&&(object['documentId']='',object['revisionId']=''),null!=_0x563491['documentId']&&_0x563491['hasOwnProperty']('documentId')&&(object['documentId']=_0x563491['documentId']),null!=_0x563491['revisionId']&&_0x563491['hasOwnProperty']('revisionId')&&(object['revisionId']=_0x563491['revisionId']),object;},RevisionHistoryGetRevisionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryGetRevisionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryGetRevisionMessage';},RevisionHistoryGetRevisionMessage;}()),$root['RevisionHistoryConnectMessage']=(function(){function RevisionHistoryConnectMessage(properties){if(properties){for(var _0x4b1fa4=Object['keys'](properties),_0x25d93c=0x0;_0x25d93c<_0x4b1fa4['length'];++_0x25d93c)null!=properties[_0x4b1fa4[_0x25d93c]]&&'__proto__'!==_0x4b1fa4[_0x25d93c]&&(this[_0x4b1fa4[_0x25d93c]]=properties[_0x4b1fa4[_0x25d93c]]);}}return RevisionHistoryConnectMessage['prototype']['documentId']='',RevisionHistoryConnectMessage['create']=function(properties){return new RevisionHistoryConnectMessage(properties);},RevisionHistoryConnectMessage['encode']=function(_0x2f5397,writer){return writer||(writer=$Writer['create']()),null!=_0x2f5397['documentId']&&Object['hasOwnProperty']['call'](_0x2f5397,'documentId')&&writer['uint32'](0xa)['string'](_0x2f5397['documentId']),writer;},RevisionHistoryConnectMessage['encodeDelimited']=function(_0xa2955e,writer){return this['encode'](_0xa2955e,writer)['ldelim']();},RevisionHistoryConnectMessage['decode']=function(_0x3d4063,length,_0x2116f9,_0x46e5ae){if(_0x3d4063 instanceof _0x2be071||(_0x3d4063=_0x2be071['create'](_0x3d4063)),void 0x0===_0x46e5ae&&(_0x46e5ae=0x0),_0x46e5ae>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x388e93=void 0x0===length?_0x3d4063['len']:_0x3d4063['pos']+length,_0x3c1e46=new $root['RevisionHistoryConnectMessage']();_0x3d4063['pos']<_0x388e93;){var tag=_0x3d4063['uint32']();if(tag===_0x2116f9)break;if(tag>>>0x3==0x1)_0x3c1e46['documentId']=_0x3d4063['string']();else _0x3d4063['skipType'](0x7&tag,_0x46e5ae);}return _0x3c1e46;},RevisionHistoryConnectMessage['decodeDelimited']=function(_0x12d1f6){return _0x12d1f6 instanceof _0x2be071||(_0x12d1f6=new _0x2be071(_0x12d1f6)),this['decode'](_0x12d1f6,_0x12d1f6['uint32']());},RevisionHistoryConnectMessage['verify']=function(_0x20be4b,_0x4435bf){return'object'!=typeof _0x20be4b||null===_0x20be4b?'object\x20expected':(void 0x0===_0x4435bf&&(_0x4435bf=0x0),_0x4435bf>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x20be4b['documentId']&&_0x20be4b['hasOwnProperty']('documentId')&&!$util['isString'](_0x20be4b['documentId'])?'documentId:\x20string\x20expected':null);},RevisionHistoryConnectMessage['fromObject']=function(object,_0x26ca63){if(object instanceof $root['RevisionHistoryConnectMessage'])return object;if(void 0x0===_0x26ca63&&(_0x26ca63=0x0),_0x26ca63>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1344ba=new $root['RevisionHistoryConnectMessage']();return null!=object['documentId']&&(_0x1344ba['documentId']=String(object['documentId'])),_0x1344ba;},RevisionHistoryConnectMessage['toObject']=function(_0x26e41a,options){options||(options={});var object={};return options['defaults']&&(object['documentId']=''),null!=_0x26e41a['documentId']&&_0x26e41a['hasOwnProperty']('documentId')&&(object['documentId']=_0x26e41a['documentId']),object;},RevisionHistoryConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryConnectMessage';},RevisionHistoryConnectMessage;}()),$root['RevisionDescriptor']=(function(){function RevisionDescriptor(properties){if(properties){for(var _0x4b7511=Object['keys'](properties),_0x1e27ca=0x0;_0x1e27ca<_0x4b7511['length'];++_0x1e27ca)null!=properties[_0x4b7511[_0x1e27ca]]&&'__proto__'!==_0x4b7511[_0x1e27ca]&&(this[_0x4b7511[_0x1e27ca]]=properties[_0x4b7511[_0x1e27ca]]);}}return RevisionDescriptor['prototype']['revisionId']='',RevisionDescriptor['prototype']['name']='',RevisionDescriptor['prototype']['creatorId']='',RevisionDescriptor['prototype']['authorsIds']='',RevisionDescriptor['prototype']['diffData']='',RevisionDescriptor['prototype']['createdAt']='',RevisionDescriptor['prototype']['attributes']='',RevisionDescriptor['prototype']['toVersion']=0x0,RevisionDescriptor['prototype']['fromVersion']=0x0,RevisionDescriptor['prototype']['isEmptyCurrent']=!0x1,RevisionDescriptor['create']=function(properties){return new RevisionDescriptor(properties);},RevisionDescriptor['encode']=function(_0x17aefd,writer){return writer||(writer=$Writer['create']()),null!=_0x17aefd['revisionId']&&Object['hasOwnProperty']['call'](_0x17aefd,'revisionId')&&writer['uint32'](0xa)['string'](_0x17aefd['revisionId']),null!=_0x17aefd['name']&&Object['hasOwnProperty']['call'](_0x17aefd,'name')&&writer['uint32'](0x12)['string'](_0x17aefd['name']),null!=_0x17aefd['creatorId']&&Object['hasOwnProperty']['call'](_0x17aefd,'creatorId')&&writer['uint32'](0x1a)['string'](_0x17aefd['creatorId']),null!=_0x17aefd['authorsIds']&&Object['hasOwnProperty']['call'](_0x17aefd,'authorsIds')&&writer['uint32'](0x22)['string'](_0x17aefd['authorsIds']),null!=_0x17aefd['diffData']&&Object['hasOwnProperty']['call'](_0x17aefd,'diffData')&&writer['uint32'](0x2a)['string'](_0x17aefd['diffData']),null!=_0x17aefd['createdAt']&&Object['hasOwnProperty']['call'](_0x17aefd,'createdAt')&&writer['uint32'](0x32)['string'](_0x17aefd['createdAt']),null!=_0x17aefd['attributes']&&Object['hasOwnProperty']['call'](_0x17aefd,'attributes')&&writer['uint32'](0x3a)['string'](_0x17aefd['attributes']),null!=_0x17aefd['toVersion']&&Object['hasOwnProperty']['call'](_0x17aefd,'toVersion')&&writer['uint32'](0x40)['uint32'](_0x17aefd['toVersion']),null!=_0x17aefd['fromVersion']&&Object['hasOwnProperty']['call'](_0x17aefd,'fromVersion')&&writer['uint32'](0x48)['uint32'](_0x17aefd['fromVersion']),null!=_0x17aefd['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x17aefd,'isEmptyCurrent')&&writer['uint32'](0x50)['bool'](_0x17aefd['isEmptyCurrent']),writer;},RevisionDescriptor['encodeDelimited']=function(_0x50e47e,writer){return this['encode'](_0x50e47e,writer)['ldelim']();},RevisionDescriptor['decode']=function(_0x13af20,length,_0x277540,_0x4ce394){if(_0x13af20 instanceof _0x2be071||(_0x13af20=_0x2be071['create'](_0x13af20)),void 0x0===_0x4ce394&&(_0x4ce394=0x0),_0x4ce394>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3fdcfa=void 0x0===length?_0x13af20['len']:_0x13af20['pos']+length,_0x397b0f=new $root['RevisionDescriptor']();_0x13af20['pos']<_0x3fdcfa;){var tag=_0x13af20['uint32']();if(tag===_0x277540)break;switch(tag>>>0x3){case 0x1:_0x397b0f['revisionId']=_0x13af20['string']();break;case 0x2:_0x397b0f['name']=_0x13af20['string']();break;case 0x3:_0x397b0f['creatorId']=_0x13af20['string']();break;case 0x4:_0x397b0f['authorsIds']=_0x13af20['string']();break;case 0x5:_0x397b0f['diffData']=_0x13af20['string']();break;case 0x6:_0x397b0f['createdAt']=_0x13af20['string']();break;case 0x7:_0x397b0f['attributes']=_0x13af20['string']();break;case 0x8:_0x397b0f['toVersion']=_0x13af20['uint32']();break;case 0x9:_0x397b0f['fromVersion']=_0x13af20['uint32']();break;case 0xa:_0x397b0f['isEmptyCurrent']=_0x13af20['bool']();break;default:_0x13af20['skipType'](0x7&tag,_0x4ce394);}}return _0x397b0f;},RevisionDescriptor['decodeDelimited']=function(_0x3b3a5e){return _0x3b3a5e instanceof _0x2be071||(_0x3b3a5e=new _0x2be071(_0x3b3a5e)),this['decode'](_0x3b3a5e,_0x3b3a5e['uint32']());},RevisionDescriptor['verify']=function(_0x33dcc4,_0x2eb33b){return'object'!=typeof _0x33dcc4||null===_0x33dcc4?'object\x20expected':(void 0x0===_0x2eb33b&&(_0x2eb33b=0x0),_0x2eb33b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x33dcc4['revisionId']&&_0x33dcc4['hasOwnProperty']('revisionId')&&!$util['isString'](_0x33dcc4['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x33dcc4['name']&&_0x33dcc4['hasOwnProperty']('name')&&!$util['isString'](_0x33dcc4['name'])?'name:\x20string\x20expected':null!=_0x33dcc4['creatorId']&&_0x33dcc4['hasOwnProperty']('creatorId')&&!$util['isString'](_0x33dcc4['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x33dcc4['authorsIds']&&_0x33dcc4['hasOwnProperty']('authorsIds')&&!$util['isString'](_0x33dcc4['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x33dcc4['diffData']&&_0x33dcc4['hasOwnProperty']('diffData')&&!$util['isString'](_0x33dcc4['diffData'])?'diffData:\x20string\x20expected':null!=_0x33dcc4['createdAt']&&_0x33dcc4['hasOwnProperty']('createdAt')&&!$util['isString'](_0x33dcc4['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x33dcc4['attributes']&&_0x33dcc4['hasOwnProperty']('attributes')&&!$util['isString'](_0x33dcc4['attributes'])?'attributes:\x20string\x20expected':null!=_0x33dcc4['toVersion']&&_0x33dcc4['hasOwnProperty']('toVersion')&&!$util['isInteger'](_0x33dcc4['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x33dcc4['fromVersion']&&_0x33dcc4['hasOwnProperty']('fromVersion')&&!$util['isInteger'](_0x33dcc4['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x33dcc4['isEmptyCurrent']&&_0x33dcc4['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x33dcc4['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},RevisionDescriptor['fromObject']=function(object,_0x3826c1){if(object instanceof $root['RevisionDescriptor'])return object;if(void 0x0===_0x3826c1&&(_0x3826c1=0x0),_0x3826c1>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5f4d0e=new $root['RevisionDescriptor']();return null!=object['revisionId']&&(_0x5f4d0e['revisionId']=String(object['revisionId'])),null!=object['name']&&(_0x5f4d0e['name']=String(object['name'])),null!=object['creatorId']&&(_0x5f4d0e['creatorId']=String(object['creatorId'])),null!=object['authorsIds']&&(_0x5f4d0e['authorsIds']=String(object['authorsIds'])),null!=object['diffData']&&(_0x5f4d0e['diffData']=String(object['diffData'])),null!=object['createdAt']&&(_0x5f4d0e['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x5f4d0e['attributes']=String(object['attributes'])),null!=object['toVersion']&&(_0x5f4d0e['toVersion']=object['toVersion']>>>0x0),null!=object['fromVersion']&&(_0x5f4d0e['fromVersion']=object['fromVersion']>>>0x0),null!=object['isEmptyCurrent']&&(_0x5f4d0e['isEmptyCurrent']=Boolean(object['isEmptyCurrent'])),_0x5f4d0e;},RevisionDescriptor['toObject']=function(_0x1928da,options){options||(options={});var object={};return options['defaults']&&(object['revisionId']='',object['name']='',object['creatorId']='',object['authorsIds']='',object['diffData']='',object['createdAt']='',object['attributes']='',object['toVersion']=0x0,object['fromVersion']=0x0,object['isEmptyCurrent']=!0x1),null!=_0x1928da['revisionId']&&_0x1928da['hasOwnProperty']('revisionId')&&(object['revisionId']=_0x1928da['revisionId']),null!=_0x1928da['name']&&_0x1928da['hasOwnProperty']('name')&&(object['name']=_0x1928da['name']),null!=_0x1928da['creatorId']&&_0x1928da['hasOwnProperty']('creatorId')&&(object['creatorId']=_0x1928da['creatorId']),null!=_0x1928da['authorsIds']&&_0x1928da['hasOwnProperty']('authorsIds')&&(object['authorsIds']=_0x1928da['authorsIds']),null!=_0x1928da['diffData']&&_0x1928da['hasOwnProperty']('diffData')&&(object['diffData']=_0x1928da['diffData']),null!=_0x1928da['createdAt']&&_0x1928da['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x1928da['createdAt']),null!=_0x1928da['attributes']&&_0x1928da['hasOwnProperty']('attributes')&&(object['attributes']=_0x1928da['attributes']),null!=_0x1928da['toVersion']&&_0x1928da['hasOwnProperty']('toVersion')&&(object['toVersion']=_0x1928da['toVersion']),null!=_0x1928da['fromVersion']&&_0x1928da['hasOwnProperty']('fromVersion')&&(object['fromVersion']=_0x1928da['fromVersion']),null!=_0x1928da['isEmptyCurrent']&&_0x1928da['hasOwnProperty']('isEmptyCurrent')&&(object['isEmptyCurrent']=_0x1928da['isEmptyCurrent']),object;},RevisionDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionDescriptor';},RevisionDescriptor;}()),$root['IsEditorBundleUploadedResponse']=(function(){function IsEditorBundleUploadedResponse(properties){if(properties){for(var _0x1c67b8=Object['keys'](properties),_0x81beee=0x0;_0x81beee<_0x1c67b8['length'];++_0x81beee)null!=properties[_0x1c67b8[_0x81beee]]&&'__proto__'!==_0x1c67b8[_0x81beee]&&(this[_0x1c67b8[_0x81beee]]=properties[_0x1c67b8[_0x81beee]]);}}return IsEditorBundleUploadedResponse['prototype']['isUploaded']=!0x1,IsEditorBundleUploadedResponse['create']=function(properties){return new IsEditorBundleUploadedResponse(properties);},IsEditorBundleUploadedResponse['encode']=function(_0x190d0f,writer){return writer||(writer=$Writer['create']()),null!=_0x190d0f['isUploaded']&&Object['hasOwnProperty']['call'](_0x190d0f,'isUploaded')&&writer['uint32'](0x8)['bool'](_0x190d0f['isUploaded']),writer;},IsEditorBundleUploadedResponse['encodeDelimited']=function(_0x272e26,writer){return this['encode'](_0x272e26,writer)['ldelim']();},IsEditorBundleUploadedResponse['decode']=function(_0x582eda,length,_0x2f8ebb,_0x47d8bb){if(_0x582eda instanceof _0x2be071||(_0x582eda=_0x2be071['create'](_0x582eda)),void 0x0===_0x47d8bb&&(_0x47d8bb=0x0),_0x47d8bb>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4698b0=void 0x0===length?_0x582eda['len']:_0x582eda['pos']+length,_0x262b25=new $root['IsEditorBundleUploadedResponse']();_0x582eda['pos']<_0x4698b0;){var tag=_0x582eda['uint32']();if(tag===_0x2f8ebb)break;if(tag>>>0x3==0x1)_0x262b25['isUploaded']=_0x582eda['bool']();else _0x582eda['skipType'](0x7&tag,_0x47d8bb);}return _0x262b25;},IsEditorBundleUploadedResponse['decodeDelimited']=function(_0xda0d){return _0xda0d instanceof _0x2be071||(_0xda0d=new _0x2be071(_0xda0d)),this['decode'](_0xda0d,_0xda0d['uint32']());},IsEditorBundleUploadedResponse['verify']=function(_0x165d03,_0x4aaea2){return'object'!=typeof _0x165d03||null===_0x165d03?'object\x20expected':(void 0x0===_0x4aaea2&&(_0x4aaea2=0x0),_0x4aaea2>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x165d03['isUploaded']&&_0x165d03['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x165d03['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},IsEditorBundleUploadedResponse['fromObject']=function(object,_0x1fddb2){if(object instanceof $root['IsEditorBundleUploadedResponse'])return object;if(void 0x0===_0x1fddb2&&(_0x1fddb2=0x0),_0x1fddb2>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x576817=new $root['IsEditorBundleUploadedResponse']();return null!=object['isUploaded']&&(_0x576817['isUploaded']=Boolean(object['isUploaded'])),_0x576817;},IsEditorBundleUploadedResponse['toObject']=function(_0x8abf4e,options){options||(options={});var object={};return options['defaults']&&(object['isUploaded']=!0x1),null!=_0x8abf4e['isUploaded']&&_0x8abf4e['hasOwnProperty']('isUploaded')&&(object['isUploaded']=_0x8abf4e['isUploaded']),object;},IsEditorBundleUploadedResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},IsEditorBundleUploadedResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/IsEditorBundleUploadedResponse';},IsEditorBundleUploadedResponse;}()),$root['IsEditorBundleUploadedMessage']=(function(){function IsEditorBundleUploadedMessage(properties){if(properties){for(var _0xbf0647=Object['keys'](properties),_0x336e83=0x0;_0x336e83<_0xbf0647['length'];++_0x336e83)null!=properties[_0xbf0647[_0x336e83]]&&'__proto__'!==_0xbf0647[_0x336e83]&&(this[_0xbf0647[_0x336e83]]=properties[_0xbf0647[_0x336e83]]);}}return IsEditorBundleUploadedMessage['prototype']['bundleVersion']='',IsEditorBundleUploadedMessage['create']=function(properties){return new IsEditorBundleUploadedMessage(properties);},IsEditorBundleUploadedMessage['encode']=function(_0x467f90,writer){return writer||(writer=$Writer['create']()),null!=_0x467f90['bundleVersion']&&Object['hasOwnProperty']['call'](_0x467f90,'bundleVersion')&&writer['uint32'](0xa)['string'](_0x467f90['bundleVersion']),writer;},IsEditorBundleUploadedMessage['encodeDelimited']=function(_0xb2b02e,writer){return this['encode'](_0xb2b02e,writer)['ldelim']();},IsEditorBundleUploadedMessage['decode']=function(_0x333075,length,_0x4c3973,_0x5c9e26){if(_0x333075 instanceof _0x2be071||(_0x333075=_0x2be071['create'](_0x333075)),void 0x0===_0x5c9e26&&(_0x5c9e26=0x0),_0x5c9e26>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x400fd7=void 0x0===length?_0x333075['len']:_0x333075['pos']+length,_0x108232=new $root['IsEditorBundleUploadedMessage']();_0x333075['pos']<_0x400fd7;){var tag=_0x333075['uint32']();if(tag===_0x4c3973)break;if(tag>>>0x3==0x1)_0x108232['bundleVersion']=_0x333075['string']();else _0x333075['skipType'](0x7&tag,_0x5c9e26);}return _0x108232;},IsEditorBundleUploadedMessage['decodeDelimited']=function(_0x3e14b2){return _0x3e14b2 instanceof _0x2be071||(_0x3e14b2=new _0x2be071(_0x3e14b2)),this['decode'](_0x3e14b2,_0x3e14b2['uint32']());},IsEditorBundleUploadedMessage['verify']=function(_0x469ddf,_0xb30cc5){return'object'!=typeof _0x469ddf||null===_0x469ddf?'object\x20expected':(void 0x0===_0xb30cc5&&(_0xb30cc5=0x0),_0xb30cc5>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x469ddf['bundleVersion']&&_0x469ddf['hasOwnProperty']('bundleVersion')&&!$util['isString'](_0x469ddf['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},IsEditorBundleUploadedMessage['fromObject']=function(object,_0x22a4f5){if(object instanceof $root['IsEditorBundleUploadedMessage'])return object;if(void 0x0===_0x22a4f5&&(_0x22a4f5=0x0),_0x22a4f5>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x492abb=new $root['IsEditorBundleUploadedMessage']();return null!=object['bundleVersion']&&(_0x492abb['bundleVersion']=String(object['bundleVersion'])),_0x492abb;},IsEditorBundleUploadedMessage['toObject']=function(_0x4e5f3b,options){options||(options={});var object={};return options['defaults']&&(object['bundleVersion']=''),null!=_0x4e5f3b['bundleVersion']&&_0x4e5f3b['hasOwnProperty']('bundleVersion')&&(object['bundleVersion']=_0x4e5f3b['bundleVersion']),object;},IsEditorBundleUploadedMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},IsEditorBundleUploadedMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/IsEditorBundleUploadedMessage';},IsEditorBundleUploadedMessage;}()),$root['KeyValueDescriptor']=(function(){function KeyValueDescriptor(properties){if(properties){for(var _0x11a886=Object['keys'](properties),_0x1fed4e=0x0;_0x1fed4e<_0x11a886['length'];++_0x1fed4e)null!=properties[_0x11a886[_0x1fed4e]]&&'__proto__'!==_0x11a886[_0x1fed4e]&&(this[_0x11a886[_0x1fed4e]]=properties[_0x11a886[_0x1fed4e]]);}}return KeyValueDescriptor['prototype']['key']='',KeyValueDescriptor['prototype']['value']='',KeyValueDescriptor['create']=function(properties){return new KeyValueDescriptor(properties);},KeyValueDescriptor['encode']=function(_0x5b00c9,writer){return writer||(writer=$Writer['create']()),null!=_0x5b00c9['key']&&Object['hasOwnProperty']['call'](_0x5b00c9,'key')&&writer['uint32'](0xa)['string'](_0x5b00c9['key']),null!=_0x5b00c9['value']&&Object['hasOwnProperty']['call'](_0x5b00c9,'value')&&writer['uint32'](0x12)['string'](_0x5b00c9['value']),writer;},KeyValueDescriptor['encodeDelimited']=function(_0x1e4819,writer){return this['encode'](_0x1e4819,writer)['ldelim']();},KeyValueDescriptor['decode']=function(_0x2d04a2,length,_0x4ed8db,_0x33056e){if(_0x2d04a2 instanceof _0x2be071||(_0x2d04a2=_0x2be071['create'](_0x2d04a2)),void 0x0===_0x33056e&&(_0x33056e=0x0),_0x33056e>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3c7dc3=void 0x0===length?_0x2d04a2['len']:_0x2d04a2['pos']+length,_0x31a670=new $root['KeyValueDescriptor']();_0x2d04a2['pos']<_0x3c7dc3;){var tag=_0x2d04a2['uint32']();if(tag===_0x4ed8db)break;switch(tag>>>0x3){case 0x1:_0x31a670['key']=_0x2d04a2['string']();break;case 0x2:_0x31a670['value']=_0x2d04a2['string']();break;default:_0x2d04a2['skipType'](0x7&tag,_0x33056e);}}return _0x31a670;},KeyValueDescriptor['decodeDelimited']=function(_0x537603){return _0x537603 instanceof _0x2be071||(_0x537603=new _0x2be071(_0x537603)),this['decode'](_0x537603,_0x537603['uint32']());},KeyValueDescriptor['verify']=function(_0x4b7bdc,_0x12b02d){return'object'!=typeof _0x4b7bdc||null===_0x4b7bdc?'object\x20expected':(void 0x0===_0x12b02d&&(_0x12b02d=0x0),_0x12b02d>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4b7bdc['key']&&_0x4b7bdc['hasOwnProperty']('key')&&!$util['isString'](_0x4b7bdc['key'])?'key:\x20string\x20expected':null!=_0x4b7bdc['value']&&_0x4b7bdc['hasOwnProperty']('value')&&!$util['isString'](_0x4b7bdc['value'])?'value:\x20string\x20expected':null);},KeyValueDescriptor['fromObject']=function(object,_0x112ff3){if(object instanceof $root['KeyValueDescriptor'])return object;if(void 0x0===_0x112ff3&&(_0x112ff3=0x0),_0x112ff3>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1474d5=new $root['KeyValueDescriptor']();return null!=object['key']&&(_0x1474d5['key']=String(object['key'])),null!=object['value']&&(_0x1474d5['value']=String(object['value'])),_0x1474d5;},KeyValueDescriptor['toObject']=function(_0x37cce2,options){options||(options={});var object={};return options['defaults']&&(object['key']='',object['value']=''),null!=_0x37cce2['key']&&_0x37cce2['hasOwnProperty']('key')&&(object['key']=_0x37cce2['key']),null!=_0x37cce2['value']&&_0x37cce2['hasOwnProperty']('value')&&(object['value']=_0x37cce2['value']),object;},KeyValueDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},KeyValueDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/KeyValueDescriptor';},KeyValueDescriptor;}()),$root['CommentsV2GetDocumentThreadsResponse']=(function(){function CommentsV2GetDocumentThreadsResponse(properties){if(this['threads']=[],this['threadsV2']=[],properties){for(var _0x376870=Object['keys'](properties),_0x4130bb=0x0;_0x4130bb<_0x376870['length'];++_0x4130bb)null!=properties[_0x376870[_0x4130bb]]&&'__proto__'!==_0x376870[_0x4130bb]&&(this[_0x376870[_0x4130bb]]=properties[_0x376870[_0x4130bb]]);}}return CommentsV2GetDocumentThreadsResponse['prototype']['threads']=$util['emptyArray'],CommentsV2GetDocumentThreadsResponse['prototype']['threadsV2']=$util['emptyArray'],CommentsV2GetDocumentThreadsResponse['create']=function(properties){return new CommentsV2GetDocumentThreadsResponse(properties);},CommentsV2GetDocumentThreadsResponse['encode']=function(_0x5e9d93,writer){if(writer||(writer=$Writer['create']()),null!=_0x5e9d93['threads']&&_0x5e9d93['threads']['length']){for(var _0x77649b=0x0;_0x77649b<_0x5e9d93['threads']['length'];++_0x77649b)writer['uint32'](0xa)['string'](_0x5e9d93['threads'][_0x77649b]);}if(null!=_0x5e9d93['threadsV2']&&_0x5e9d93['threadsV2']['length']){for(_0x77649b=0x0;_0x77649b<_0x5e9d93['threadsV2']['length'];++_0x77649b)$root['CommentsThreadDescriptor']['encode'](_0x5e9d93['threadsV2'][_0x77649b],writer['uint32'](0x12)['fork']())['ldelim']();}return writer;},CommentsV2GetDocumentThreadsResponse['encodeDelimited']=function(_0x7fcd0d,writer){return this['encode'](_0x7fcd0d,writer)['ldelim']();},CommentsV2GetDocumentThreadsResponse['decode']=function(_0x4a7a49,length,_0x2506c5,_0x19c214){if(_0x4a7a49 instanceof _0x2be071||(_0x4a7a49=_0x2be071['create'](_0x4a7a49)),void 0x0===_0x19c214&&(_0x19c214=0x0),_0x19c214>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x844f79=void 0x0===length?_0x4a7a49['len']:_0x4a7a49['pos']+length,_0x3c764e=new $root['CommentsV2GetDocumentThreadsResponse']();_0x4a7a49['pos']<_0x844f79;){var tag=_0x4a7a49['uint32']();if(tag===_0x2506c5)break;switch(tag>>>0x3){case 0x1:_0x3c764e['threads']&&_0x3c764e['threads']['length']||(_0x3c764e['threads']=[]),_0x3c764e['threads']['push'](_0x4a7a49['string']());break;case 0x2:_0x3c764e['threadsV2']&&_0x3c764e['threadsV2']['length']||(_0x3c764e['threadsV2']=[]),_0x3c764e['threadsV2']['push']($root['CommentsThreadDescriptor']['decode'](_0x4a7a49,_0x4a7a49['uint32'](),void 0x0,_0x19c214+0x1));break;default:_0x4a7a49['skipType'](0x7&tag,_0x19c214);}}return _0x3c764e;},CommentsV2GetDocumentThreadsResponse['decodeDelimited']=function(_0x5a0ee4){return _0x5a0ee4 instanceof _0x2be071||(_0x5a0ee4=new _0x2be071(_0x5a0ee4)),this['decode'](_0x5a0ee4,_0x5a0ee4['uint32']());},CommentsV2GetDocumentThreadsResponse['verify']=function(_0x51d4a1,_0x4bfe0e){if('object'!=typeof _0x51d4a1||null===_0x51d4a1)return'object\x20expected';if(void 0x0===_0x4bfe0e&&(_0x4bfe0e=0x0),_0x4bfe0e>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x51d4a1['threads']&&_0x51d4a1['hasOwnProperty']('threads')){if(!Array['isArray'](_0x51d4a1['threads']))return'threads:\x20array\x20expected';for(var _0xfcd974=0x0;_0xfcd974<_0x51d4a1['threads']['length'];++_0xfcd974)if(!$util['isString'](_0x51d4a1['threads'][_0xfcd974]))return'threads:\x20string[]\x20expected';}if(null!=_0x51d4a1['threadsV2']&&_0x51d4a1['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x51d4a1['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0xfcd974=0x0;_0xfcd974<_0x51d4a1['threadsV2']['length'];++_0xfcd974){var _0x4ea3ed=$root['CommentsThreadDescriptor']['verify'](_0x51d4a1['threadsV2'][_0xfcd974],_0x4bfe0e+0x1);if(_0x4ea3ed)return'threadsV2.'+_0x4ea3ed;}}return null;},CommentsV2GetDocumentThreadsResponse['fromObject']=function(object,_0x3c076f){if(object instanceof $root['CommentsV2GetDocumentThreadsResponse'])return object;if(void 0x0===_0x3c076f&&(_0x3c076f=0x0),_0x3c076f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x35ee1b=new $root['CommentsV2GetDocumentThreadsResponse']();if(object['threads']){if(!Array['isArray'](object['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x35ee1b['threads']=[];for(var _0xd4721c=0x0;_0xd4721c<object['threads']['length'];++_0xd4721c)_0x35ee1b['threads'][_0xd4721c]=String(object['threads'][_0xd4721c]);}if(object['threadsV2']){if(!Array['isArray'](object['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');_0x35ee1b['threadsV2']=[];for(_0xd4721c=0x0;_0xd4721c<object['threadsV2']['length'];++_0xd4721c){if('object'!=typeof object['threadsV2'][_0xd4721c])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x35ee1b['threadsV2'][_0xd4721c]=$root['CommentsThreadDescriptor']['fromObject'](object['threadsV2'][_0xd4721c],_0x3c076f+0x1);}}return _0x35ee1b;},CommentsV2GetDocumentThreadsResponse['toObject']=function(_0x466d4a,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['threads']=[],object['threadsV2']=[]),_0x466d4a['threads']&&_0x466d4a['threads']['length']){object['threads']=[];for(var _0x308c0c=0x0;_0x308c0c<_0x466d4a['threads']['length'];++_0x308c0c)object['threads'][_0x308c0c]=_0x466d4a['threads'][_0x308c0c];}if(_0x466d4a['threadsV2']&&_0x466d4a['threadsV2']['length']){object['threadsV2']=[];for(_0x308c0c=0x0;_0x308c0c<_0x466d4a['threadsV2']['length'];++_0x308c0c)object['threadsV2'][_0x308c0c]=$root['CommentsThreadDescriptor']['toObject'](_0x466d4a['threadsV2'][_0x308c0c],options);}return object;},CommentsV2GetDocumentThreadsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetDocumentThreadsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetDocumentThreadsResponse';},CommentsV2GetDocumentThreadsResponse;}()),$root['CommentsV2GetCommentThreadResponse']=(function(){function CommentsV2GetCommentThreadResponse(properties){if(this['comments']=[],this['commentsV2']=[],properties){for(var _0x2e195f=Object['keys'](properties),_0x3813ac=0x0;_0x3813ac<_0x2e195f['length'];++_0x3813ac)null!=properties[_0x2e195f[_0x3813ac]]&&'__proto__'!==_0x2e195f[_0x3813ac]&&(this[_0x2e195f[_0x3813ac]]=properties[_0x2e195f[_0x3813ac]]);}}return CommentsV2GetCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2GetCommentThreadResponse['prototype']['comments']=$util['emptyArray'],CommentsV2GetCommentThreadResponse['prototype']['commentsV2']=$util['emptyArray'],CommentsV2GetCommentThreadResponse['prototype']['resolvedAt']='',CommentsV2GetCommentThreadResponse['prototype']['resolvedBy']='',CommentsV2GetCommentThreadResponse['prototype']['context']='',CommentsV2GetCommentThreadResponse['prototype']['createdAt']='',CommentsV2GetCommentThreadResponse['prototype']['deletedAt']='',CommentsV2GetCommentThreadResponse['prototype']['attributes']='',CommentsV2GetCommentThreadResponse['prototype']['unlinkedAt']='',CommentsV2GetCommentThreadResponse['create']=function(properties){return new CommentsV2GetCommentThreadResponse(properties);},CommentsV2GetCommentThreadResponse['encode']=function(_0x19decc,writer){if(writer||(writer=$Writer['create']()),null!=_0x19decc['commentThreadId']&&Object['hasOwnProperty']['call'](_0x19decc,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x19decc['commentThreadId']),null!=_0x19decc['comments']&&_0x19decc['comments']['length']){for(var _0x58f362=0x0;_0x58f362<_0x19decc['comments']['length'];++_0x58f362)writer['uint32'](0x12)['string'](_0x19decc['comments'][_0x58f362]);}if(null!=_0x19decc['commentsV2']&&_0x19decc['commentsV2']['length']){for(_0x58f362=0x0;_0x58f362<_0x19decc['commentsV2']['length'];++_0x58f362)$root['CommentDescriptor']['encode'](_0x19decc['commentsV2'][_0x58f362],writer['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x19decc['resolvedAt']&&Object['hasOwnProperty']['call'](_0x19decc,'resolvedAt')&&writer['uint32'](0x22)['string'](_0x19decc['resolvedAt']),null!=_0x19decc['resolvedBy']&&Object['hasOwnProperty']['call'](_0x19decc,'resolvedBy')&&writer['uint32'](0x2a)['string'](_0x19decc['resolvedBy']),null!=_0x19decc['context']&&Object['hasOwnProperty']['call'](_0x19decc,'context')&&writer['uint32'](0x32)['string'](_0x19decc['context']),null!=_0x19decc['createdAt']&&Object['hasOwnProperty']['call'](_0x19decc,'createdAt')&&writer['uint32'](0x3a)['string'](_0x19decc['createdAt']),null!=_0x19decc['deletedAt']&&Object['hasOwnProperty']['call'](_0x19decc,'deletedAt')&&writer['uint32'](0x42)['string'](_0x19decc['deletedAt']),null!=_0x19decc['attributes']&&Object['hasOwnProperty']['call'](_0x19decc,'attributes')&&writer['uint32'](0x4a)['string'](_0x19decc['attributes']),null!=_0x19decc['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x19decc,'unlinkedAt')&&writer['uint32'](0x52)['string'](_0x19decc['unlinkedAt']),writer;},CommentsV2GetCommentThreadResponse['encodeDelimited']=function(_0x4a49e,writer){return this['encode'](_0x4a49e,writer)['ldelim']();},CommentsV2GetCommentThreadResponse['decode']=function(_0x54e58f,length,_0xc3d94d,_0x5064a1){if(_0x54e58f instanceof _0x2be071||(_0x54e58f=_0x2be071['create'](_0x54e58f)),void 0x0===_0x5064a1&&(_0x5064a1=0x0),_0x5064a1>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x899d76=void 0x0===length?_0x54e58f['len']:_0x54e58f['pos']+length,_0x8d26c2=new $root['CommentsV2GetCommentThreadResponse']();_0x54e58f['pos']<_0x899d76;){var tag=_0x54e58f['uint32']();if(tag===_0xc3d94d)break;switch(tag>>>0x3){case 0x1:_0x8d26c2['commentThreadId']=_0x54e58f['string']();break;case 0x2:_0x8d26c2['comments']&&_0x8d26c2['comments']['length']||(_0x8d26c2['comments']=[]),_0x8d26c2['comments']['push'](_0x54e58f['string']());break;case 0x3:_0x8d26c2['commentsV2']&&_0x8d26c2['commentsV2']['length']||(_0x8d26c2['commentsV2']=[]),_0x8d26c2['commentsV2']['push']($root['CommentDescriptor']['decode'](_0x54e58f,_0x54e58f['uint32'](),void 0x0,_0x5064a1+0x1));break;case 0x4:_0x8d26c2['resolvedAt']=_0x54e58f['string']();break;case 0x5:_0x8d26c2['resolvedBy']=_0x54e58f['string']();break;case 0x6:_0x8d26c2['context']=_0x54e58f['string']();break;case 0x7:_0x8d26c2['createdAt']=_0x54e58f['string']();break;case 0x8:_0x8d26c2['deletedAt']=_0x54e58f['string']();break;case 0x9:_0x8d26c2['attributes']=_0x54e58f['string']();break;case 0xa:_0x8d26c2['unlinkedAt']=_0x54e58f['string']();break;default:_0x54e58f['skipType'](0x7&tag,_0x5064a1);}}return _0x8d26c2;},CommentsV2GetCommentThreadResponse['decodeDelimited']=function(_0x9e52dd){return _0x9e52dd instanceof _0x2be071||(_0x9e52dd=new _0x2be071(_0x9e52dd)),this['decode'](_0x9e52dd,_0x9e52dd['uint32']());},CommentsV2GetCommentThreadResponse['verify']=function(_0x561528,_0x39faa6){if('object'!=typeof _0x561528||null===_0x561528)return'object\x20expected';if(void 0x0===_0x39faa6&&(_0x39faa6=0x0),_0x39faa6>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x561528['commentThreadId']&&_0x561528['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x561528['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x561528['comments']&&_0x561528['hasOwnProperty']('comments')){if(!Array['isArray'](_0x561528['comments']))return'comments:\x20array\x20expected';for(var _0x348bb6=0x0;_0x348bb6<_0x561528['comments']['length'];++_0x348bb6)if(!$util['isString'](_0x561528['comments'][_0x348bb6]))return'comments:\x20string[]\x20expected';}if(null!=_0x561528['commentsV2']&&_0x561528['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x561528['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x348bb6=0x0;_0x348bb6<_0x561528['commentsV2']['length'];++_0x348bb6){var _0x278488=$root['CommentDescriptor']['verify'](_0x561528['commentsV2'][_0x348bb6],_0x39faa6+0x1);if(_0x278488)return'commentsV2.'+_0x278488;}}return null!=_0x561528['resolvedAt']&&_0x561528['hasOwnProperty']('resolvedAt')&&!$util['isString'](_0x561528['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x561528['resolvedBy']&&_0x561528['hasOwnProperty']('resolvedBy')&&!$util['isString'](_0x561528['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x561528['context']&&_0x561528['hasOwnProperty']('context')&&!$util['isString'](_0x561528['context'])?'context:\x20string\x20expected':null!=_0x561528['createdAt']&&_0x561528['hasOwnProperty']('createdAt')&&!$util['isString'](_0x561528['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x561528['deletedAt']&&_0x561528['hasOwnProperty']('deletedAt')&&!$util['isString'](_0x561528['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x561528['attributes']&&_0x561528['hasOwnProperty']('attributes')&&!$util['isString'](_0x561528['attributes'])?'attributes:\x20string\x20expected':null!=_0x561528['unlinkedAt']&&_0x561528['hasOwnProperty']('unlinkedAt')&&!$util['isString'](_0x561528['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},CommentsV2GetCommentThreadResponse['fromObject']=function(object,_0x3bb6f8){if(object instanceof $root['CommentsV2GetCommentThreadResponse'])return object;if(void 0x0===_0x3bb6f8&&(_0x3bb6f8=0x0),_0x3bb6f8>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x559a1f=new $root['CommentsV2GetCommentThreadResponse']();if(null!=object['commentThreadId']&&(_0x559a1f['commentThreadId']=String(object['commentThreadId'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x559a1f['comments']=[];for(var _0x12b2d8=0x0;_0x12b2d8<object['comments']['length'];++_0x12b2d8)_0x559a1f['comments'][_0x12b2d8]=String(object['comments'][_0x12b2d8]);}if(object['commentsV2']){if(!Array['isArray'](object['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');_0x559a1f['commentsV2']=[];for(_0x12b2d8=0x0;_0x12b2d8<object['commentsV2']['length'];++_0x12b2d8){if('object'!=typeof object['commentsV2'][_0x12b2d8])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x559a1f['commentsV2'][_0x12b2d8]=$root['CommentDescriptor']['fromObject'](object['commentsV2'][_0x12b2d8],_0x3bb6f8+0x1);}}return null!=object['resolvedAt']&&(_0x559a1f['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x559a1f['resolvedBy']=String(object['resolvedBy'])),null!=object['context']&&(_0x559a1f['context']=String(object['context'])),null!=object['createdAt']&&(_0x559a1f['createdAt']=String(object['createdAt'])),null!=object['deletedAt']&&(_0x559a1f['deletedAt']=String(object['deletedAt'])),null!=object['attributes']&&(_0x559a1f['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x559a1f['unlinkedAt']=String(object['unlinkedAt'])),_0x559a1f;},CommentsV2GetCommentThreadResponse['toObject']=function(_0x47d9a3,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[],object['commentsV2']=[]),options['defaults']&&(object['commentThreadId']='',object['resolvedAt']='',object['resolvedBy']='',object['context']='',object['createdAt']='',object['deletedAt']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x47d9a3['commentThreadId']&&_0x47d9a3['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x47d9a3['commentThreadId']),_0x47d9a3['comments']&&_0x47d9a3['comments']['length']){object['comments']=[];for(var _0x58ed5c=0x0;_0x58ed5c<_0x47d9a3['comments']['length'];++_0x58ed5c)object['comments'][_0x58ed5c]=_0x47d9a3['comments'][_0x58ed5c];}if(_0x47d9a3['commentsV2']&&_0x47d9a3['commentsV2']['length']){object['commentsV2']=[];for(_0x58ed5c=0x0;_0x58ed5c<_0x47d9a3['commentsV2']['length'];++_0x58ed5c)object['commentsV2'][_0x58ed5c]=$root['CommentDescriptor']['toObject'](_0x47d9a3['commentsV2'][_0x58ed5c],options);}return null!=_0x47d9a3['resolvedAt']&&_0x47d9a3['hasOwnProperty']('resolvedAt')&&(object['resolvedAt']=_0x47d9a3['resolvedAt']),null!=_0x47d9a3['resolvedBy']&&_0x47d9a3['hasOwnProperty']('resolvedBy')&&(object['resolvedBy']=_0x47d9a3['resolvedBy']),null!=_0x47d9a3['context']&&_0x47d9a3['hasOwnProperty']('context')&&(object['context']=_0x47d9a3['context']),null!=_0x47d9a3['createdAt']&&_0x47d9a3['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x47d9a3['createdAt']),null!=_0x47d9a3['deletedAt']&&_0x47d9a3['hasOwnProperty']('deletedAt')&&(object['deletedAt']=_0x47d9a3['deletedAt']),null!=_0x47d9a3['attributes']&&_0x47d9a3['hasOwnProperty']('attributes')&&(object['attributes']=_0x47d9a3['attributes']),null!=_0x47d9a3['unlinkedAt']&&_0x47d9a3['hasOwnProperty']('unlinkedAt')&&(object['unlinkedAt']=_0x47d9a3['unlinkedAt']),object;},CommentsV2GetCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetCommentThreadResponse';},CommentsV2GetCommentThreadResponse;}()),$root['CommentsV2ConnectResponse']=(function(){function CommentsV2ConnectResponse(properties){if(this['threads']=[],this['threadsV2']=[],properties){for(var _0x5a29e4=Object['keys'](properties),_0x377271=0x0;_0x377271<_0x5a29e4['length'];++_0x377271)null!=properties[_0x5a29e4[_0x377271]]&&'__proto__'!==_0x5a29e4[_0x377271]&&(this[_0x5a29e4[_0x377271]]=properties[_0x5a29e4[_0x377271]]);}}return CommentsV2ConnectResponse['prototype']['channel']='',CommentsV2ConnectResponse['prototype']['threads']=$util['emptyArray'],CommentsV2ConnectResponse['prototype']['threadsV2']=$util['emptyArray'],CommentsV2ConnectResponse['create']=function(properties){return new CommentsV2ConnectResponse(properties);},CommentsV2ConnectResponse['encode']=function(_0x1b4aa2,writer){if(writer||(writer=$Writer['create']()),null!=_0x1b4aa2['channel']&&Object['hasOwnProperty']['call'](_0x1b4aa2,'channel')&&writer['uint32'](0xa)['string'](_0x1b4aa2['channel']),null!=_0x1b4aa2['threads']&&_0x1b4aa2['threads']['length']){for(var _0x404f83=0x0;_0x404f83<_0x1b4aa2['threads']['length'];++_0x404f83)writer['uint32'](0x12)['string'](_0x1b4aa2['threads'][_0x404f83]);}if(null!=_0x1b4aa2['threadsV2']&&_0x1b4aa2['threadsV2']['length']){for(_0x404f83=0x0;_0x404f83<_0x1b4aa2['threadsV2']['length'];++_0x404f83)$root['CommentsThreadDescriptor']['encode'](_0x1b4aa2['threadsV2'][_0x404f83],writer['uint32'](0x1a)['fork']())['ldelim']();}return writer;},CommentsV2ConnectResponse['encodeDelimited']=function(_0x1bc63c,writer){return this['encode'](_0x1bc63c,writer)['ldelim']();},CommentsV2ConnectResponse['decode']=function(_0x3c4383,length,_0x10671d,_0x363fdb){if(_0x3c4383 instanceof _0x2be071||(_0x3c4383=_0x2be071['create'](_0x3c4383)),void 0x0===_0x363fdb&&(_0x363fdb=0x0),_0x363fdb>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x40b3d0=void 0x0===length?_0x3c4383['len']:_0x3c4383['pos']+length,_0x355db5=new $root['CommentsV2ConnectResponse']();_0x3c4383['pos']<_0x40b3d0;){var tag=_0x3c4383['uint32']();if(tag===_0x10671d)break;switch(tag>>>0x3){case 0x1:_0x355db5['channel']=_0x3c4383['string']();break;case 0x2:_0x355db5['threads']&&_0x355db5['threads']['length']||(_0x355db5['threads']=[]),_0x355db5['threads']['push'](_0x3c4383['string']());break;case 0x3:_0x355db5['threadsV2']&&_0x355db5['threadsV2']['length']||(_0x355db5['threadsV2']=[]),_0x355db5['threadsV2']['push']($root['CommentsThreadDescriptor']['decode'](_0x3c4383,_0x3c4383['uint32'](),void 0x0,_0x363fdb+0x1));break;default:_0x3c4383['skipType'](0x7&tag,_0x363fdb);}}return _0x355db5;},CommentsV2ConnectResponse['decodeDelimited']=function(_0x26c4a6){return _0x26c4a6 instanceof _0x2be071||(_0x26c4a6=new _0x2be071(_0x26c4a6)),this['decode'](_0x26c4a6,_0x26c4a6['uint32']());},CommentsV2ConnectResponse['verify']=function(_0x54e92c,_0x4bfa0c){if('object'!=typeof _0x54e92c||null===_0x54e92c)return'object\x20expected';if(void 0x0===_0x4bfa0c&&(_0x4bfa0c=0x0),_0x4bfa0c>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x54e92c['channel']&&_0x54e92c['hasOwnProperty']('channel')&&!$util['isString'](_0x54e92c['channel']))return'channel:\x20string\x20expected';if(null!=_0x54e92c['threads']&&_0x54e92c['hasOwnProperty']('threads')){if(!Array['isArray'](_0x54e92c['threads']))return'threads:\x20array\x20expected';for(var _0x4fb42f=0x0;_0x4fb42f<_0x54e92c['threads']['length'];++_0x4fb42f)if(!$util['isString'](_0x54e92c['threads'][_0x4fb42f]))return'threads:\x20string[]\x20expected';}if(null!=_0x54e92c['threadsV2']&&_0x54e92c['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x54e92c['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x4fb42f=0x0;_0x4fb42f<_0x54e92c['threadsV2']['length'];++_0x4fb42f){var _0x4b16ad=$root['CommentsThreadDescriptor']['verify'](_0x54e92c['threadsV2'][_0x4fb42f],_0x4bfa0c+0x1);if(_0x4b16ad)return'threadsV2.'+_0x4b16ad;}}return null;},CommentsV2ConnectResponse['fromObject']=function(object,_0x57b247){if(object instanceof $root['CommentsV2ConnectResponse'])return object;if(void 0x0===_0x57b247&&(_0x57b247=0x0),_0x57b247>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x55cfe1=new $root['CommentsV2ConnectResponse']();if(null!=object['channel']&&(_0x55cfe1['channel']=String(object['channel'])),object['threads']){if(!Array['isArray'](object['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x55cfe1['threads']=[];for(var _0x5bc7db=0x0;_0x5bc7db<object['threads']['length'];++_0x5bc7db)_0x55cfe1['threads'][_0x5bc7db]=String(object['threads'][_0x5bc7db]);}if(object['threadsV2']){if(!Array['isArray'](object['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');_0x55cfe1['threadsV2']=[];for(_0x5bc7db=0x0;_0x5bc7db<object['threadsV2']['length'];++_0x5bc7db){if('object'!=typeof object['threadsV2'][_0x5bc7db])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x55cfe1['threadsV2'][_0x5bc7db]=$root['CommentsThreadDescriptor']['fromObject'](object['threadsV2'][_0x5bc7db],_0x57b247+0x1);}}return _0x55cfe1;},CommentsV2ConnectResponse['toObject']=function(_0x188c25,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['threads']=[],object['threadsV2']=[]),options['defaults']&&(object['channel']=''),null!=_0x188c25['channel']&&_0x188c25['hasOwnProperty']('channel')&&(object['channel']=_0x188c25['channel']),_0x188c25['threads']&&_0x188c25['threads']['length']){object['threads']=[];for(var _0x5db825=0x0;_0x5db825<_0x188c25['threads']['length'];++_0x5db825)object['threads'][_0x5db825]=_0x188c25['threads'][_0x5db825];}if(_0x188c25['threadsV2']&&_0x188c25['threadsV2']['length']){object['threadsV2']=[];for(_0x5db825=0x0;_0x5db825<_0x188c25['threadsV2']['length'];++_0x5db825)object['threadsV2'][_0x5db825]=$root['CommentsThreadDescriptor']['toObject'](_0x188c25['threadsV2'][_0x5db825],options);}return object;},CommentsV2ConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ConnectResponse';},CommentsV2ConnectResponse;}()),$root['CommentsV2AddCommentResponse']=(function(){function CommentsV2AddCommentResponse(properties){if(properties){for(var _0x1705f8=Object['keys'](properties),_0x23c304=0x0;_0x23c304<_0x1705f8['length'];++_0x23c304)null!=properties[_0x1705f8[_0x23c304]]&&'__proto__'!==_0x1705f8[_0x23c304]&&(this[_0x1705f8[_0x23c304]]=properties[_0x1705f8[_0x23c304]]);}}return CommentsV2AddCommentResponse['prototype']['commentThreadId']='',CommentsV2AddCommentResponse['prototype']['commentId']='',CommentsV2AddCommentResponse['prototype']['createdAt']='',CommentsV2AddCommentResponse['create']=function(properties){return new CommentsV2AddCommentResponse(properties);},CommentsV2AddCommentResponse['encode']=function(_0x4cbde3,writer){return writer||(writer=$Writer['create']()),null!=_0x4cbde3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4cbde3,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x4cbde3['commentThreadId']),null!=_0x4cbde3['commentId']&&Object['hasOwnProperty']['call'](_0x4cbde3,'commentId')&&writer['uint32'](0x12)['string'](_0x4cbde3['commentId']),null!=_0x4cbde3['createdAt']&&Object['hasOwnProperty']['call'](_0x4cbde3,'createdAt')&&writer['uint32'](0x1a)['string'](_0x4cbde3['createdAt']),writer;},CommentsV2AddCommentResponse['encodeDelimited']=function(_0x5d98e6,writer){return this['encode'](_0x5d98e6,writer)['ldelim']();},CommentsV2AddCommentResponse['decode']=function(_0x2ed2a6,length,_0x49cc87,_0x4d48e0){if(_0x2ed2a6 instanceof _0x2be071||(_0x2ed2a6=_0x2be071['create'](_0x2ed2a6)),void 0x0===_0x4d48e0&&(_0x4d48e0=0x0),_0x4d48e0>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8b812c=void 0x0===length?_0x2ed2a6['len']:_0x2ed2a6['pos']+length,_0x16a70f=new $root['CommentsV2AddCommentResponse']();_0x2ed2a6['pos']<_0x8b812c;){var tag=_0x2ed2a6['uint32']();if(tag===_0x49cc87)break;switch(tag>>>0x3){case 0x1:_0x16a70f['commentThreadId']=_0x2ed2a6['string']();break;case 0x2:_0x16a70f['commentId']=_0x2ed2a6['string']();break;case 0x3:_0x16a70f['createdAt']=_0x2ed2a6['string']();break;default:_0x2ed2a6['skipType'](0x7&tag,_0x4d48e0);}}return _0x16a70f;},CommentsV2AddCommentResponse['decodeDelimited']=function(_0x23c00e){return _0x23c00e instanceof _0x2be071||(_0x23c00e=new _0x2be071(_0x23c00e)),this['decode'](_0x23c00e,_0x23c00e['uint32']());},CommentsV2AddCommentResponse['verify']=function(_0x1982bd,_0x4be592){return'object'!=typeof _0x1982bd||null===_0x1982bd?'object\x20expected':(void 0x0===_0x4be592&&(_0x4be592=0x0),_0x4be592>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1982bd['commentThreadId']&&_0x1982bd['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x1982bd['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1982bd['commentId']&&_0x1982bd['hasOwnProperty']('commentId')&&!$util['isString'](_0x1982bd['commentId'])?'commentId:\x20string\x20expected':null!=_0x1982bd['createdAt']&&_0x1982bd['hasOwnProperty']('createdAt')&&!$util['isString'](_0x1982bd['createdAt'])?'createdAt:\x20string\x20expected':null);},CommentsV2AddCommentResponse['fromObject']=function(object,_0x55b243){if(object instanceof $root['CommentsV2AddCommentResponse'])return object;if(void 0x0===_0x55b243&&(_0x55b243=0x0),_0x55b243>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x245261=new $root['CommentsV2AddCommentResponse']();return null!=object['commentThreadId']&&(_0x245261['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x245261['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x245261['createdAt']=String(object['createdAt'])),_0x245261;},CommentsV2AddCommentResponse['toObject']=function(_0xa773ff,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['createdAt']=''),null!=_0xa773ff['commentThreadId']&&_0xa773ff['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0xa773ff['commentThreadId']),null!=_0xa773ff['commentId']&&_0xa773ff['hasOwnProperty']('commentId')&&(object['commentId']=_0xa773ff['commentId']),null!=_0xa773ff['createdAt']&&_0xa773ff['hasOwnProperty']('createdAt')&&(object['createdAt']=_0xa773ff['createdAt']),object;},CommentsV2AddCommentResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentResponse';},CommentsV2AddCommentResponse;}()),$root['CommentsV2ResolveCommentThreadResponse']=(function(){function CommentsV2ResolveCommentThreadResponse(properties){if(properties){for(var _0x2c5192=Object['keys'](properties),_0xafb566=0x0;_0xafb566<_0x2c5192['length'];++_0xafb566)null!=properties[_0x2c5192[_0xafb566]]&&'__proto__'!==_0x2c5192[_0xafb566]&&(this[_0x2c5192[_0xafb566]]=properties[_0x2c5192[_0xafb566]]);}}return CommentsV2ResolveCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2ResolveCommentThreadResponse['prototype']['documentId']='',CommentsV2ResolveCommentThreadResponse['prototype']['resolvedAt']='',CommentsV2ResolveCommentThreadResponse['prototype']['resolvedBy']='',CommentsV2ResolveCommentThreadResponse['create']=function(properties){return new CommentsV2ResolveCommentThreadResponse(properties);},CommentsV2ResolveCommentThreadResponse['encode']=function(_0x248201,writer){return writer||(writer=$Writer['create']()),null!=_0x248201['commentThreadId']&&Object['hasOwnProperty']['call'](_0x248201,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x248201['commentThreadId']),null!=_0x248201['documentId']&&Object['hasOwnProperty']['call'](_0x248201,'documentId')&&writer['uint32'](0x12)['string'](_0x248201['documentId']),null!=_0x248201['resolvedAt']&&Object['hasOwnProperty']['call'](_0x248201,'resolvedAt')&&writer['uint32'](0x1a)['string'](_0x248201['resolvedAt']),null!=_0x248201['resolvedBy']&&Object['hasOwnProperty']['call'](_0x248201,'resolvedBy')&&writer['uint32'](0x22)['string'](_0x248201['resolvedBy']),writer;},CommentsV2ResolveCommentThreadResponse['encodeDelimited']=function(_0x465755,writer){return this['encode'](_0x465755,writer)['ldelim']();},CommentsV2ResolveCommentThreadResponse['decode']=function(_0x4b3204,length,_0x45d54c,_0x76030f){if(_0x4b3204 instanceof _0x2be071||(_0x4b3204=_0x2be071['create'](_0x4b3204)),void 0x0===_0x76030f&&(_0x76030f=0x0),_0x76030f>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x462577=void 0x0===length?_0x4b3204['len']:_0x4b3204['pos']+length,_0x52f37e=new $root['CommentsV2ResolveCommentThreadResponse']();_0x4b3204['pos']<_0x462577;){var tag=_0x4b3204['uint32']();if(tag===_0x45d54c)break;switch(tag>>>0x3){case 0x1:_0x52f37e['commentThreadId']=_0x4b3204['string']();break;case 0x2:_0x52f37e['documentId']=_0x4b3204['string']();break;case 0x3:_0x52f37e['resolvedAt']=_0x4b3204['string']();break;case 0x4:_0x52f37e['resolvedBy']=_0x4b3204['string']();break;default:_0x4b3204['skipType'](0x7&tag,_0x76030f);}}return _0x52f37e;},CommentsV2ResolveCommentThreadResponse['decodeDelimited']=function(_0x529ed9){return _0x529ed9 instanceof _0x2be071||(_0x529ed9=new _0x2be071(_0x529ed9)),this['decode'](_0x529ed9,_0x529ed9['uint32']());},CommentsV2ResolveCommentThreadResponse['verify']=function(_0x10e0fb,_0x1b5840){return'object'!=typeof _0x10e0fb||null===_0x10e0fb?'object\x20expected':(void 0x0===_0x1b5840&&(_0x1b5840=0x0),_0x1b5840>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x10e0fb['commentThreadId']&&_0x10e0fb['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x10e0fb['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x10e0fb['documentId']&&_0x10e0fb['hasOwnProperty']('documentId')&&!$util['isString'](_0x10e0fb['documentId'])?'documentId:\x20string\x20expected':null!=_0x10e0fb['resolvedAt']&&_0x10e0fb['hasOwnProperty']('resolvedAt')&&!$util['isString'](_0x10e0fb['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x10e0fb['resolvedBy']&&_0x10e0fb['hasOwnProperty']('resolvedBy')&&!$util['isString'](_0x10e0fb['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},CommentsV2ResolveCommentThreadResponse['fromObject']=function(object,_0x5f35b9){if(object instanceof $root['CommentsV2ResolveCommentThreadResponse'])return object;if(void 0x0===_0x5f35b9&&(_0x5f35b9=0x0),_0x5f35b9>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c0341=new $root['CommentsV2ResolveCommentThreadResponse']();return null!=object['commentThreadId']&&(_0x4c0341['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x4c0341['documentId']=String(object['documentId'])),null!=object['resolvedAt']&&(_0x4c0341['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x4c0341['resolvedBy']=String(object['resolvedBy'])),_0x4c0341;},CommentsV2ResolveCommentThreadResponse['toObject']=function(_0x3e8fb7,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['resolvedAt']='',object['resolvedBy']=''),null!=_0x3e8fb7['commentThreadId']&&_0x3e8fb7['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x3e8fb7['commentThreadId']),null!=_0x3e8fb7['documentId']&&_0x3e8fb7['hasOwnProperty']('documentId')&&(object['documentId']=_0x3e8fb7['documentId']),null!=_0x3e8fb7['resolvedAt']&&_0x3e8fb7['hasOwnProperty']('resolvedAt')&&(object['resolvedAt']=_0x3e8fb7['resolvedAt']),null!=_0x3e8fb7['resolvedBy']&&_0x3e8fb7['hasOwnProperty']('resolvedBy')&&(object['resolvedBy']=_0x3e8fb7['resolvedBy']),object;},CommentsV2ResolveCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ResolveCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ResolveCommentThreadResponse';},CommentsV2ResolveCommentThreadResponse;}()),$root['CommentsV2AddCommentThreadResponse']=(function(){function CommentsV2AddCommentThreadResponse(properties){if(this['comments']=[],properties){for(var _0x3813cb=Object['keys'](properties),_0x4d5ae2=0x0;_0x4d5ae2<_0x3813cb['length'];++_0x4d5ae2)null!=properties[_0x3813cb[_0x4d5ae2]]&&'__proto__'!==_0x3813cb[_0x4d5ae2]&&(this[_0x3813cb[_0x4d5ae2]]=properties[_0x3813cb[_0x4d5ae2]]);}}return CommentsV2AddCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2AddCommentThreadResponse['prototype']['createdAt']='',CommentsV2AddCommentThreadResponse['prototype']['comments']=$util['emptyArray'],CommentsV2AddCommentThreadResponse['create']=function(properties){return new CommentsV2AddCommentThreadResponse(properties);},CommentsV2AddCommentThreadResponse['encode']=function(_0xcba9bc,writer){if(writer||(writer=$Writer['create']()),null!=_0xcba9bc['commentThreadId']&&Object['hasOwnProperty']['call'](_0xcba9bc,'commentThreadId')&&writer['uint32'](0xa)['string'](_0xcba9bc['commentThreadId']),null!=_0xcba9bc['createdAt']&&Object['hasOwnProperty']['call'](_0xcba9bc,'createdAt')&&writer['uint32'](0x12)['string'](_0xcba9bc['createdAt']),null!=_0xcba9bc['comments']&&_0xcba9bc['comments']['length']){for(var _0xfb8d4f=0x0;_0xfb8d4f<_0xcba9bc['comments']['length'];++_0xfb8d4f)$root['CommentThreadAddedCommentDescriptor']['encode'](_0xcba9bc['comments'][_0xfb8d4f],writer['uint32'](0x1a)['fork']())['ldelim']();}return writer;},CommentsV2AddCommentThreadResponse['encodeDelimited']=function(_0x422624,writer){return this['encode'](_0x422624,writer)['ldelim']();},CommentsV2AddCommentThreadResponse['decode']=function(_0x55e47b,length,_0x28d313,_0x13971b){if(_0x55e47b instanceof _0x2be071||(_0x55e47b=_0x2be071['create'](_0x55e47b)),void 0x0===_0x13971b&&(_0x13971b=0x0),_0x13971b>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5c7bac=void 0x0===length?_0x55e47b['len']:_0x55e47b['pos']+length,_0x192514=new $root['CommentsV2AddCommentThreadResponse']();_0x55e47b['pos']<_0x5c7bac;){var tag=_0x55e47b['uint32']();if(tag===_0x28d313)break;switch(tag>>>0x3){case 0x1:_0x192514['commentThreadId']=_0x55e47b['string']();break;case 0x2:_0x192514['createdAt']=_0x55e47b['string']();break;case 0x3:_0x192514['comments']&&_0x192514['comments']['length']||(_0x192514['comments']=[]),_0x192514['comments']['push']($root['CommentThreadAddedCommentDescriptor']['decode'](_0x55e47b,_0x55e47b['uint32'](),void 0x0,_0x13971b+0x1));break;default:_0x55e47b['skipType'](0x7&tag,_0x13971b);}}return _0x192514;},CommentsV2AddCommentThreadResponse['decodeDelimited']=function(_0x3effcf){return _0x3effcf instanceof _0x2be071||(_0x3effcf=new _0x2be071(_0x3effcf)),this['decode'](_0x3effcf,_0x3effcf['uint32']());},CommentsV2AddCommentThreadResponse['verify']=function(_0x587903,_0x34a4c8){if('object'!=typeof _0x587903||null===_0x587903)return'object\x20expected';if(void 0x0===_0x34a4c8&&(_0x34a4c8=0x0),_0x34a4c8>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x587903['commentThreadId']&&_0x587903['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x587903['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x587903['createdAt']&&_0x587903['hasOwnProperty']('createdAt')&&!$util['isString'](_0x587903['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x587903['comments']&&_0x587903['hasOwnProperty']('comments')){if(!Array['isArray'](_0x587903['comments']))return'comments:\x20array\x20expected';for(var _0x4341d1=0x0;_0x4341d1<_0x587903['comments']['length'];++_0x4341d1){var _0x179152=$root['CommentThreadAddedCommentDescriptor']['verify'](_0x587903['comments'][_0x4341d1],_0x34a4c8+0x1);if(_0x179152)return'comments.'+_0x179152;}}return null;},CommentsV2AddCommentThreadResponse['fromObject']=function(object,_0x37a9c8){if(object instanceof $root['CommentsV2AddCommentThreadResponse'])return object;if(void 0x0===_0x37a9c8&&(_0x37a9c8=0x0),_0x37a9c8>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3ed92a=new $root['CommentsV2AddCommentThreadResponse']();if(null!=object['commentThreadId']&&(_0x3ed92a['commentThreadId']=String(object['commentThreadId'])),null!=object['createdAt']&&(_0x3ed92a['createdAt']=String(object['createdAt'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x3ed92a['comments']=[];for(var _0x3a9c59=0x0;_0x3a9c59<object['comments']['length'];++_0x3a9c59){if('object'!=typeof object['comments'][_0x3a9c59])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x3ed92a['comments'][_0x3a9c59]=$root['CommentThreadAddedCommentDescriptor']['fromObject'](object['comments'][_0x3a9c59],_0x37a9c8+0x1);}}return _0x3ed92a;},CommentsV2AddCommentThreadResponse['toObject']=function(_0x230b35,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['commentThreadId']='',object['createdAt']=''),null!=_0x230b35['commentThreadId']&&_0x230b35['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x230b35['commentThreadId']),null!=_0x230b35['createdAt']&&_0x230b35['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x230b35['createdAt']),_0x230b35['comments']&&_0x230b35['comments']['length']){object['comments']=[];for(var _0x3e5e05=0x0;_0x3e5e05<_0x230b35['comments']['length'];++_0x3e5e05)object['comments'][_0x3e5e05]=$root['CommentThreadAddedCommentDescriptor']['toObject'](_0x230b35['comments'][_0x3e5e05],options);}return object;},CommentsV2AddCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentThreadResponse';},CommentsV2AddCommentThreadResponse;}()),$root['CommentsV2UpdateCommentMessage']=(function(){function CommentsV2UpdateCommentMessage(properties){if(properties){for(var _0x59b337=Object['keys'](properties),_0x147945=0x0;_0x147945<_0x59b337['length'];++_0x147945)null!=properties[_0x59b337[_0x147945]]&&'__proto__'!==_0x59b337[_0x147945]&&(this[_0x59b337[_0x147945]]=properties[_0x59b337[_0x147945]]);}}return CommentsV2UpdateCommentMessage['prototype']['commentThreadId']='',CommentsV2UpdateCommentMessage['prototype']['commentId']='',CommentsV2UpdateCommentMessage['prototype']['content']='',CommentsV2UpdateCommentMessage['prototype']['documentId']='',CommentsV2UpdateCommentMessage['prototype']['attributes']='',CommentsV2UpdateCommentMessage['prototype']['isAttributesUpdated']=!0x1,CommentsV2UpdateCommentMessage['prototype']['commentThread']=null,CommentsV2UpdateCommentMessage['create']=function(properties){return new CommentsV2UpdateCommentMessage(properties);},CommentsV2UpdateCommentMessage['encode']=function(_0x17a87a,writer){return writer||(writer=$Writer['create']()),null!=_0x17a87a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x17a87a,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x17a87a['commentThreadId']),null!=_0x17a87a['commentId']&&Object['hasOwnProperty']['call'](_0x17a87a,'commentId')&&writer['uint32'](0x12)['string'](_0x17a87a['commentId']),null!=_0x17a87a['content']&&Object['hasOwnProperty']['call'](_0x17a87a,'content')&&writer['uint32'](0x1a)['string'](_0x17a87a['content']),null!=_0x17a87a['documentId']&&Object['hasOwnProperty']['call'](_0x17a87a,'documentId')&&writer['uint32'](0x22)['string'](_0x17a87a['documentId']),null!=_0x17a87a['attributes']&&Object['hasOwnProperty']['call'](_0x17a87a,'attributes')&&writer['uint32'](0x2a)['string'](_0x17a87a['attributes']),null!=_0x17a87a['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x17a87a,'isAttributesUpdated')&&writer['uint32'](0x30)['bool'](_0x17a87a['isAttributesUpdated']),null!=_0x17a87a['commentThread']&&Object['hasOwnProperty']['call'](_0x17a87a,'commentThread')&&$root['CommentsThreadDescriptor']['encode'](_0x17a87a['commentThread'],writer['uint32'](0x3a)['fork']())['ldelim'](),writer;},CommentsV2UpdateCommentMessage['encodeDelimited']=function(_0x3555fa,writer){return this['encode'](_0x3555fa,writer)['ldelim']();},CommentsV2UpdateCommentMessage['decode']=function(_0x19dd11,length,_0x17255c,_0x4bec30){if(_0x19dd11 instanceof _0x2be071||(_0x19dd11=_0x2be071['create'](_0x19dd11)),void 0x0===_0x4bec30&&(_0x4bec30=0x0),_0x4bec30>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ecc1=void 0x0===length?_0x19dd11['len']:_0x19dd11['pos']+length,_0x2a9fc7=new $root['CommentsV2UpdateCommentMessage']();_0x19dd11['pos']<_0x4ecc1;){var tag=_0x19dd11['uint32']();if(tag===_0x17255c)break;switch(tag>>>0x3){case 0x1:_0x2a9fc7['commentThreadId']=_0x19dd11['string']();break;case 0x2:_0x2a9fc7['commentId']=_0x19dd11['string']();break;case 0x3:_0x2a9fc7['content']=_0x19dd11['string']();break;case 0x4:_0x2a9fc7['documentId']=_0x19dd11['string']();break;case 0x5:_0x2a9fc7['attributes']=_0x19dd11['string']();break;case 0x6:_0x2a9fc7['isAttributesUpdated']=_0x19dd11['bool']();break;case 0x7:_0x2a9fc7['commentThread']=$root['CommentsThreadDescriptor']['decode'](_0x19dd11,_0x19dd11['uint32'](),void 0x0,_0x4bec30+0x1);break;default:_0x19dd11['skipType'](0x7&tag,_0x4bec30);}}return _0x2a9fc7;},CommentsV2UpdateCommentMessage['decodeDelimited']=function(_0x42ca47){return _0x42ca47 instanceof _0x2be071||(_0x42ca47=new _0x2be071(_0x42ca47)),this['decode'](_0x42ca47,_0x42ca47['uint32']());},CommentsV2UpdateCommentMessage['verify']=function(_0x50adbb,_0x16f171){if('object'!=typeof _0x50adbb||null===_0x50adbb)return'object\x20expected';if(void 0x0===_0x16f171&&(_0x16f171=0x0),_0x16f171>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x50adbb['commentThreadId']&&_0x50adbb['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x50adbb['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x50adbb['commentId']&&_0x50adbb['hasOwnProperty']('commentId')&&!$util['isString'](_0x50adbb['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x50adbb['content']&&_0x50adbb['hasOwnProperty']('content')&&!$util['isString'](_0x50adbb['content']))return'content:\x20string\x20expected';if(null!=_0x50adbb['documentId']&&_0x50adbb['hasOwnProperty']('documentId')&&!$util['isString'](_0x50adbb['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x50adbb['attributes']&&_0x50adbb['hasOwnProperty']('attributes')&&!$util['isString'](_0x50adbb['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x50adbb['isAttributesUpdated']&&_0x50adbb['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x50adbb['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x50adbb['commentThread']&&_0x50adbb['hasOwnProperty']('commentThread')){var _0x3ebe2a=$root['CommentsThreadDescriptor']['verify'](_0x50adbb['commentThread'],_0x16f171+0x1);if(_0x3ebe2a)return'commentThread.'+_0x3ebe2a;}return null;},CommentsV2UpdateCommentMessage['fromObject']=function(object,_0x3c4105){if(object instanceof $root['CommentsV2UpdateCommentMessage'])return object;if(void 0x0===_0x3c4105&&(_0x3c4105=0x0),_0x3c4105>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x399c37=new $root['CommentsV2UpdateCommentMessage']();if(null!=object['commentThreadId']&&(_0x399c37['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x399c37['commentId']=String(object['commentId'])),null!=object['content']&&(_0x399c37['content']=String(object['content'])),null!=object['documentId']&&(_0x399c37['documentId']=String(object['documentId'])),null!=object['attributes']&&(_0x399c37['attributes']=String(object['attributes'])),null!=object['isAttributesUpdated']&&(_0x399c37['isAttributesUpdated']=Boolean(object['isAttributesUpdated'])),null!=object['commentThread']){if('object'!=typeof object['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x399c37['commentThread']=$root['CommentsThreadDescriptor']['fromObject'](object['commentThread'],_0x3c4105+0x1);}return _0x399c37;},CommentsV2UpdateCommentMessage['toObject']=function(_0x22d07,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['content']='',object['documentId']='',object['attributes']='',object['isAttributesUpdated']=!0x1,object['commentThread']=null),null!=_0x22d07['commentThreadId']&&_0x22d07['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x22d07['commentThreadId']),null!=_0x22d07['commentId']&&_0x22d07['hasOwnProperty']('commentId')&&(object['commentId']=_0x22d07['commentId']),null!=_0x22d07['content']&&_0x22d07['hasOwnProperty']('content')&&(object['content']=_0x22d07['content']),null!=_0x22d07['documentId']&&_0x22d07['hasOwnProperty']('documentId')&&(object['documentId']=_0x22d07['documentId']),null!=_0x22d07['attributes']&&_0x22d07['hasOwnProperty']('attributes')&&(object['attributes']=_0x22d07['attributes']),null!=_0x22d07['isAttributesUpdated']&&_0x22d07['hasOwnProperty']('isAttributesUpdated')&&(object['isAttributesUpdated']=_0x22d07['isAttributesUpdated']),null!=_0x22d07['commentThread']&&_0x22d07['hasOwnProperty']('commentThread')&&(object['commentThread']=$root['CommentsThreadDescriptor']['toObject'](_0x22d07['commentThread'],options)),object;},CommentsV2UpdateCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2UpdateCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2UpdateCommentMessage';},CommentsV2UpdateCommentMessage;}()),$root['CommentsV2RemoveCommentThreadMessage']=(function(){function CommentsV2RemoveCommentThreadMessage(properties){if(properties){for(var _0xc27acf=Object['keys'](properties),_0x41b1dd=0x0;_0x41b1dd<_0xc27acf['length'];++_0x41b1dd)null!=properties[_0xc27acf[_0x41b1dd]]&&'__proto__'!==_0xc27acf[_0x41b1dd]&&(this[_0xc27acf[_0x41b1dd]]=properties[_0xc27acf[_0x41b1dd]]);}}return CommentsV2RemoveCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2RemoveCommentThreadMessage['prototype']['documentId']='',CommentsV2RemoveCommentThreadMessage['create']=function(properties){return new CommentsV2RemoveCommentThreadMessage(properties);},CommentsV2RemoveCommentThreadMessage['encode']=function(_0x4d5972,writer){return writer||(writer=$Writer['create']()),null!=_0x4d5972['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4d5972,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x4d5972['commentThreadId']),null!=_0x4d5972['documentId']&&Object['hasOwnProperty']['call'](_0x4d5972,'documentId')&&writer['uint32'](0x12)['string'](_0x4d5972['documentId']),writer;},CommentsV2RemoveCommentThreadMessage['encodeDelimited']=function(_0x2da5ee,writer){return this['encode'](_0x2da5ee,writer)['ldelim']();},CommentsV2RemoveCommentThreadMessage['decode']=function(_0x17362b,length,_0xb2ebff,_0x5be75a){if(_0x17362b instanceof _0x2be071||(_0x17362b=_0x2be071['create'](_0x17362b)),void 0x0===_0x5be75a&&(_0x5be75a=0x0),_0x5be75a>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x30b0f0=void 0x0===length?_0x17362b['len']:_0x17362b['pos']+length,_0x194b95=new $root['CommentsV2RemoveCommentThreadMessage']();_0x17362b['pos']<_0x30b0f0;){var tag=_0x17362b['uint32']();if(tag===_0xb2ebff)break;switch(tag>>>0x3){case 0x1:_0x194b95['commentThreadId']=_0x17362b['string']();break;case 0x2:_0x194b95['documentId']=_0x17362b['string']();break;default:_0x17362b['skipType'](0x7&tag,_0x5be75a);}}return _0x194b95;},CommentsV2RemoveCommentThreadMessage['decodeDelimited']=function(_0x5eaf46){return _0x5eaf46 instanceof _0x2be071||(_0x5eaf46=new _0x2be071(_0x5eaf46)),this['decode'](_0x5eaf46,_0x5eaf46['uint32']());},CommentsV2RemoveCommentThreadMessage['verify']=function(_0xf8e774,_0x32323e){return'object'!=typeof _0xf8e774||null===_0xf8e774?'object\x20expected':(void 0x0===_0x32323e&&(_0x32323e=0x0),_0x32323e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xf8e774['commentThreadId']&&_0xf8e774['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0xf8e774['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xf8e774['documentId']&&_0xf8e774['hasOwnProperty']('documentId')&&!$util['isString'](_0xf8e774['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2RemoveCommentThreadMessage['fromObject']=function(object,_0x2b20a3){if(object instanceof $root['CommentsV2RemoveCommentThreadMessage'])return object;if(void 0x0===_0x2b20a3&&(_0x2b20a3=0x0),_0x2b20a3>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x130e9e=new $root['CommentsV2RemoveCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x130e9e['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x130e9e['documentId']=String(object['documentId'])),_0x130e9e;},CommentsV2RemoveCommentThreadMessage['toObject']=function(_0x40a4c2,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x40a4c2['commentThreadId']&&_0x40a4c2['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x40a4c2['commentThreadId']),null!=_0x40a4c2['documentId']&&_0x40a4c2['hasOwnProperty']('documentId')&&(object['documentId']=_0x40a4c2['documentId']),object;},CommentsV2RemoveCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2RemoveCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2RemoveCommentThreadMessage';},CommentsV2RemoveCommentThreadMessage;}()),$root['CommentsV2RemoveCommentMessage']=(function(){function CommentsV2RemoveCommentMessage(properties){if(properties){for(var _0x4ceabe=Object['keys'](properties),_0xd2bc27=0x0;_0xd2bc27<_0x4ceabe['length'];++_0xd2bc27)null!=properties[_0x4ceabe[_0xd2bc27]]&&'__proto__'!==_0x4ceabe[_0xd2bc27]&&(this[_0x4ceabe[_0xd2bc27]]=properties[_0x4ceabe[_0xd2bc27]]);}}return CommentsV2RemoveCommentMessage['prototype']['commentThreadId']='',CommentsV2RemoveCommentMessage['prototype']['commentId']='',CommentsV2RemoveCommentMessage['prototype']['documentId']='',CommentsV2RemoveCommentMessage['create']=function(properties){return new CommentsV2RemoveCommentMessage(properties);},CommentsV2RemoveCommentMessage['encode']=function(_0x420565,writer){return writer||(writer=$Writer['create']()),null!=_0x420565['commentThreadId']&&Object['hasOwnProperty']['call'](_0x420565,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x420565['commentThreadId']),null!=_0x420565['commentId']&&Object['hasOwnProperty']['call'](_0x420565,'commentId')&&writer['uint32'](0x12)['string'](_0x420565['commentId']),null!=_0x420565['documentId']&&Object['hasOwnProperty']['call'](_0x420565,'documentId')&&writer['uint32'](0x1a)['string'](_0x420565['documentId']),writer;},CommentsV2RemoveCommentMessage['encodeDelimited']=function(_0x2b7eb3,writer){return this['encode'](_0x2b7eb3,writer)['ldelim']();},CommentsV2RemoveCommentMessage['decode']=function(_0x5469a3,length,_0x2298b0,_0x5d7458){if(_0x5469a3 instanceof _0x2be071||(_0x5469a3=_0x2be071['create'](_0x5469a3)),void 0x0===_0x5d7458&&(_0x5d7458=0x0),_0x5d7458>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x26bbf9=void 0x0===length?_0x5469a3['len']:_0x5469a3['pos']+length,_0x4a33ff=new $root['CommentsV2RemoveCommentMessage']();_0x5469a3['pos']<_0x26bbf9;){var tag=_0x5469a3['uint32']();if(tag===_0x2298b0)break;switch(tag>>>0x3){case 0x1:_0x4a33ff['commentThreadId']=_0x5469a3['string']();break;case 0x2:_0x4a33ff['commentId']=_0x5469a3['string']();break;case 0x3:_0x4a33ff['documentId']=_0x5469a3['string']();break;default:_0x5469a3['skipType'](0x7&tag,_0x5d7458);}}return _0x4a33ff;},CommentsV2RemoveCommentMessage['decodeDelimited']=function(_0x83c3e4){return _0x83c3e4 instanceof _0x2be071||(_0x83c3e4=new _0x2be071(_0x83c3e4)),this['decode'](_0x83c3e4,_0x83c3e4['uint32']());},CommentsV2RemoveCommentMessage['verify']=function(_0x5cc017,_0x4e5eb0){return'object'!=typeof _0x5cc017||null===_0x5cc017?'object\x20expected':(void 0x0===_0x4e5eb0&&(_0x4e5eb0=0x0),_0x4e5eb0>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5cc017['commentThreadId']&&_0x5cc017['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x5cc017['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5cc017['commentId']&&_0x5cc017['hasOwnProperty']('commentId')&&!$util['isString'](_0x5cc017['commentId'])?'commentId:\x20string\x20expected':null!=_0x5cc017['documentId']&&_0x5cc017['hasOwnProperty']('documentId')&&!$util['isString'](_0x5cc017['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2RemoveCommentMessage['fromObject']=function(object,_0x544d64){if(object instanceof $root['CommentsV2RemoveCommentMessage'])return object;if(void 0x0===_0x544d64&&(_0x544d64=0x0),_0x544d64>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4a6bfa=new $root['CommentsV2RemoveCommentMessage']();return null!=object['commentThreadId']&&(_0x4a6bfa['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x4a6bfa['commentId']=String(object['commentId'])),null!=object['documentId']&&(_0x4a6bfa['documentId']=String(object['documentId'])),_0x4a6bfa;},CommentsV2RemoveCommentMessage['toObject']=function(_0x49a6ba,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['documentId']=''),null!=_0x49a6ba['commentThreadId']&&_0x49a6ba['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x49a6ba['commentThreadId']),null!=_0x49a6ba['commentId']&&_0x49a6ba['hasOwnProperty']('commentId')&&(object['commentId']=_0x49a6ba['commentId']),null!=_0x49a6ba['documentId']&&_0x49a6ba['hasOwnProperty']('documentId')&&(object['documentId']=_0x49a6ba['documentId']),object;},CommentsV2RemoveCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2RemoveCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2RemoveCommentMessage';},CommentsV2RemoveCommentMessage;}()),$root['CommentsV2GetDocumentThreadsMessage']=(function(){function CommentsV2GetDocumentThreadsMessage(properties){if(properties){for(var _0x7af9af=Object['keys'](properties),_0x7b35ac=0x0;_0x7b35ac<_0x7af9af['length'];++_0x7b35ac)null!=properties[_0x7af9af[_0x7b35ac]]&&'__proto__'!==_0x7af9af[_0x7b35ac]&&(this[_0x7af9af[_0x7b35ac]]=properties[_0x7af9af[_0x7b35ac]]);}}return CommentsV2GetDocumentThreadsMessage['prototype']['documentId']='',CommentsV2GetDocumentThreadsMessage['create']=function(properties){return new CommentsV2GetDocumentThreadsMessage(properties);},CommentsV2GetDocumentThreadsMessage['encode']=function(_0x160f8a,writer){return writer||(writer=$Writer['create']()),null!=_0x160f8a['documentId']&&Object['hasOwnProperty']['call'](_0x160f8a,'documentId')&&writer['uint32'](0xa)['string'](_0x160f8a['documentId']),writer;},CommentsV2GetDocumentThreadsMessage['encodeDelimited']=function(_0x18e599,writer){return this['encode'](_0x18e599,writer)['ldelim']();},CommentsV2GetDocumentThreadsMessage['decode']=function(_0x4261b5,length,_0x2ab4b9,_0x25a0cd){if(_0x4261b5 instanceof _0x2be071||(_0x4261b5=_0x2be071['create'](_0x4261b5)),void 0x0===_0x25a0cd&&(_0x25a0cd=0x0),_0x25a0cd>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e01ea=void 0x0===length?_0x4261b5['len']:_0x4261b5['pos']+length,_0x481ff1=new $root['CommentsV2GetDocumentThreadsMessage']();_0x4261b5['pos']<_0x1e01ea;){var tag=_0x4261b5['uint32']();if(tag===_0x2ab4b9)break;if(tag>>>0x3==0x1)_0x481ff1['documentId']=_0x4261b5['string']();else _0x4261b5['skipType'](0x7&tag,_0x25a0cd);}return _0x481ff1;},CommentsV2GetDocumentThreadsMessage['decodeDelimited']=function(_0x492058){return _0x492058 instanceof _0x2be071||(_0x492058=new _0x2be071(_0x492058)),this['decode'](_0x492058,_0x492058['uint32']());},CommentsV2GetDocumentThreadsMessage['verify']=function(_0x3a7d53,_0x5de755){return'object'!=typeof _0x3a7d53||null===_0x3a7d53?'object\x20expected':(void 0x0===_0x5de755&&(_0x5de755=0x0),_0x5de755>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3a7d53['documentId']&&_0x3a7d53['hasOwnProperty']('documentId')&&!$util['isString'](_0x3a7d53['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2GetDocumentThreadsMessage['fromObject']=function(object,_0xe324d4){if(object instanceof $root['CommentsV2GetDocumentThreadsMessage'])return object;if(void 0x0===_0xe324d4&&(_0xe324d4=0x0),_0xe324d4>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x177651=new $root['CommentsV2GetDocumentThreadsMessage']();return null!=object['documentId']&&(_0x177651['documentId']=String(object['documentId'])),_0x177651;},CommentsV2GetDocumentThreadsMessage['toObject']=function(_0x1153b5,options){options||(options={});var object={};return options['defaults']&&(object['documentId']=''),null!=_0x1153b5['documentId']&&_0x1153b5['hasOwnProperty']('documentId')&&(object['documentId']=_0x1153b5['documentId']),object;},CommentsV2GetDocumentThreadsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetDocumentThreadsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetDocumentThreadsMessage';},CommentsV2GetDocumentThreadsMessage;}()),$root['CommentsV2GetCommentThreadMessage']=(function(){function CommentsV2GetCommentThreadMessage(properties){if(properties){for(var _0x40a0b6=Object['keys'](properties),_0x355afe=0x0;_0x355afe<_0x40a0b6['length'];++_0x355afe)null!=properties[_0x40a0b6[_0x355afe]]&&'__proto__'!==_0x40a0b6[_0x355afe]&&(this[_0x40a0b6[_0x355afe]]=properties[_0x40a0b6[_0x355afe]]);}}return CommentsV2GetCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2GetCommentThreadMessage['prototype']['documentId']='',CommentsV2GetCommentThreadMessage['create']=function(properties){return new CommentsV2GetCommentThreadMessage(properties);},CommentsV2GetCommentThreadMessage['encode']=function(_0x487810,writer){return writer||(writer=$Writer['create']()),null!=_0x487810['commentThreadId']&&Object['hasOwnProperty']['call'](_0x487810,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x487810['commentThreadId']),null!=_0x487810['documentId']&&Object['hasOwnProperty']['call'](_0x487810,'documentId')&&writer['uint32'](0x12)['string'](_0x487810['documentId']),writer;},CommentsV2GetCommentThreadMessage['encodeDelimited']=function(_0x481ab3,writer){return this['encode'](_0x481ab3,writer)['ldelim']();},CommentsV2GetCommentThreadMessage['decode']=function(_0x65bd33,length,_0x3371c7,_0x1792ff){if(_0x65bd33 instanceof _0x2be071||(_0x65bd33=_0x2be071['create'](_0x65bd33)),void 0x0===_0x1792ff&&(_0x1792ff=0x0),_0x1792ff>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3df3f8=void 0x0===length?_0x65bd33['len']:_0x65bd33['pos']+length,_0x4e40d9=new $root['CommentsV2GetCommentThreadMessage']();_0x65bd33['pos']<_0x3df3f8;){var tag=_0x65bd33['uint32']();if(tag===_0x3371c7)break;switch(tag>>>0x3){case 0x1:_0x4e40d9['commentThreadId']=_0x65bd33['string']();break;case 0x2:_0x4e40d9['documentId']=_0x65bd33['string']();break;default:_0x65bd33['skipType'](0x7&tag,_0x1792ff);}}return _0x4e40d9;},CommentsV2GetCommentThreadMessage['decodeDelimited']=function(_0xdccecc){return _0xdccecc instanceof _0x2be071||(_0xdccecc=new _0x2be071(_0xdccecc)),this['decode'](_0xdccecc,_0xdccecc['uint32']());},CommentsV2GetCommentThreadMessage['verify']=function(_0x18be33,_0x19059f){return'object'!=typeof _0x18be33||null===_0x18be33?'object\x20expected':(void 0x0===_0x19059f&&(_0x19059f=0x0),_0x19059f>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x18be33['commentThreadId']&&_0x18be33['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x18be33['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x18be33['documentId']&&_0x18be33['hasOwnProperty']('documentId')&&!$util['isString'](_0x18be33['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2GetCommentThreadMessage['fromObject']=function(object,_0x436ab1){if(object instanceof $root['CommentsV2GetCommentThreadMessage'])return object;if(void 0x0===_0x436ab1&&(_0x436ab1=0x0),_0x436ab1>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d45d1=new $root['CommentsV2GetCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x2d45d1['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x2d45d1['documentId']=String(object['documentId'])),_0x2d45d1;},CommentsV2GetCommentThreadMessage['toObject']=function(_0x5013e8,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x5013e8['commentThreadId']&&_0x5013e8['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x5013e8['commentThreadId']),null!=_0x5013e8['documentId']&&_0x5013e8['hasOwnProperty']('documentId')&&(object['documentId']=_0x5013e8['documentId']),object;},CommentsV2GetCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetCommentThreadMessage';},CommentsV2GetCommentThreadMessage;}()),$root['CommentsV2ConnectMessage']=(function(){function CommentsV2ConnectMessage(properties){if(properties){for(var _0x1cd42f=Object['keys'](properties),_0x5cad80=0x0;_0x5cad80<_0x1cd42f['length'];++_0x5cad80)null!=properties[_0x1cd42f[_0x5cad80]]&&'__proto__'!==_0x1cd42f[_0x5cad80]&&(this[_0x1cd42f[_0x5cad80]]=properties[_0x1cd42f[_0x5cad80]]);}}return CommentsV2ConnectMessage['prototype']['documentId']='',CommentsV2ConnectMessage['create']=function(properties){return new CommentsV2ConnectMessage(properties);},CommentsV2ConnectMessage['encode']=function(_0x1d84a8,writer){return writer||(writer=$Writer['create']()),null!=_0x1d84a8['documentId']&&Object['hasOwnProperty']['call'](_0x1d84a8,'documentId')&&writer['uint32'](0xa)['string'](_0x1d84a8['documentId']),writer;},CommentsV2ConnectMessage['encodeDelimited']=function(_0x2ea6c6,writer){return this['encode'](_0x2ea6c6,writer)['ldelim']();},CommentsV2ConnectMessage['decode']=function(_0x3dad94,length,_0x25ddfd,_0x3a6b31){if(_0x3dad94 instanceof _0x2be071||(_0x3dad94=_0x2be071['create'](_0x3dad94)),void 0x0===_0x3a6b31&&(_0x3a6b31=0x0),_0x3a6b31>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xded116=void 0x0===length?_0x3dad94['len']:_0x3dad94['pos']+length,_0x36e1b3=new $root['CommentsV2ConnectMessage']();_0x3dad94['pos']<_0xded116;){var tag=_0x3dad94['uint32']();if(tag===_0x25ddfd)break;if(tag>>>0x3==0x1)_0x36e1b3['documentId']=_0x3dad94['string']();else _0x3dad94['skipType'](0x7&tag,_0x3a6b31);}return _0x36e1b3;},CommentsV2ConnectMessage['decodeDelimited']=function(_0x4d8907){return _0x4d8907 instanceof _0x2be071||(_0x4d8907=new _0x2be071(_0x4d8907)),this['decode'](_0x4d8907,_0x4d8907['uint32']());},CommentsV2ConnectMessage['verify']=function(_0x2d08ff,_0x1b073c){return'object'!=typeof _0x2d08ff||null===_0x2d08ff?'object\x20expected':(void 0x0===_0x1b073c&&(_0x1b073c=0x0),_0x1b073c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2d08ff['documentId']&&_0x2d08ff['hasOwnProperty']('documentId')&&!$util['isString'](_0x2d08ff['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2ConnectMessage['fromObject']=function(object,_0x2181da){if(object instanceof $root['CommentsV2ConnectMessage'])return object;if(void 0x0===_0x2181da&&(_0x2181da=0x0),_0x2181da>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x54b14e=new $root['CommentsV2ConnectMessage']();return null!=object['documentId']&&(_0x54b14e['documentId']=String(object['documentId'])),_0x54b14e;},CommentsV2ConnectMessage['toObject']=function(_0xf17d7a,options){options||(options={});var object={};return options['defaults']&&(object['documentId']=''),null!=_0xf17d7a['documentId']&&_0xf17d7a['hasOwnProperty']('documentId')&&(object['documentId']=_0xf17d7a['documentId']),object;},CommentsV2ConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ConnectMessage';},CommentsV2ConnectMessage;}()),$root['CommentsV2AddCommentMessage']=(function(){function CommentsV2AddCommentMessage(properties){if(properties){for(var _0x2cbfa9=Object['keys'](properties),_0xeb54e=0x0;_0xeb54e<_0x2cbfa9['length'];++_0xeb54e)null!=properties[_0x2cbfa9[_0xeb54e]]&&'__proto__'!==_0x2cbfa9[_0xeb54e]&&(this[_0x2cbfa9[_0xeb54e]]=properties[_0x2cbfa9[_0xeb54e]]);}}return CommentsV2AddCommentMessage['prototype']['commentThreadId']='',CommentsV2AddCommentMessage['prototype']['content']='',CommentsV2AddCommentMessage['prototype']['documentId']='',CommentsV2AddCommentMessage['prototype']['commentId']='',CommentsV2AddCommentMessage['prototype']['createdAt']='',CommentsV2AddCommentMessage['prototype']['userId']='',CommentsV2AddCommentMessage['prototype']['attributes']='',CommentsV2AddCommentMessage['prototype']['commentThread']=null,CommentsV2AddCommentMessage['create']=function(properties){return new CommentsV2AddCommentMessage(properties);},CommentsV2AddCommentMessage['encode']=function(_0x38b126,writer){return writer||(writer=$Writer['create']()),null!=_0x38b126['commentThreadId']&&Object['hasOwnProperty']['call'](_0x38b126,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x38b126['commentThreadId']),null!=_0x38b126['content']&&Object['hasOwnProperty']['call'](_0x38b126,'content')&&writer['uint32'](0x12)['string'](_0x38b126['content']),null!=_0x38b126['documentId']&&Object['hasOwnProperty']['call'](_0x38b126,'documentId')&&writer['uint32'](0x1a)['string'](_0x38b126['documentId']),null!=_0x38b126['commentId']&&Object['hasOwnProperty']['call'](_0x38b126,'commentId')&&writer['uint32'](0x22)['string'](_0x38b126['commentId']),null!=_0x38b126['createdAt']&&Object['hasOwnProperty']['call'](_0x38b126,'createdAt')&&writer['uint32'](0x2a)['string'](_0x38b126['createdAt']),null!=_0x38b126['userId']&&Object['hasOwnProperty']['call'](_0x38b126,'userId')&&writer['uint32'](0x32)['string'](_0x38b126['userId']),null!=_0x38b126['attributes']&&Object['hasOwnProperty']['call'](_0x38b126,'attributes')&&writer['uint32'](0x3a)['string'](_0x38b126['attributes']),null!=_0x38b126['commentThread']&&Object['hasOwnProperty']['call'](_0x38b126,'commentThread')&&$root['CommentsThreadDescriptor']['encode'](_0x38b126['commentThread'],writer['uint32'](0x42)['fork']())['ldelim'](),writer;},CommentsV2AddCommentMessage['encodeDelimited']=function(_0x13ae7e,writer){return this['encode'](_0x13ae7e,writer)['ldelim']();},CommentsV2AddCommentMessage['decode']=function(_0x232180,length,_0x544e60,_0x1cb6cc){if(_0x232180 instanceof _0x2be071||(_0x232180=_0x2be071['create'](_0x232180)),void 0x0===_0x1cb6cc&&(_0x1cb6cc=0x0),_0x1cb6cc>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2c49e1=void 0x0===length?_0x232180['len']:_0x232180['pos']+length,_0x2190ae=new $root['CommentsV2AddCommentMessage']();_0x232180['pos']<_0x2c49e1;){var tag=_0x232180['uint32']();if(tag===_0x544e60)break;switch(tag>>>0x3){case 0x1:_0x2190ae['commentThreadId']=_0x232180['string']();break;case 0x2:_0x2190ae['content']=_0x232180['string']();break;case 0x3:_0x2190ae['documentId']=_0x232180['string']();break;case 0x4:_0x2190ae['commentId']=_0x232180['string']();break;case 0x5:_0x2190ae['createdAt']=_0x232180['string']();break;case 0x6:_0x2190ae['userId']=_0x232180['string']();break;case 0x7:_0x2190ae['attributes']=_0x232180['string']();break;case 0x8:_0x2190ae['commentThread']=$root['CommentsThreadDescriptor']['decode'](_0x232180,_0x232180['uint32'](),void 0x0,_0x1cb6cc+0x1);break;default:_0x232180['skipType'](0x7&tag,_0x1cb6cc);}}return _0x2190ae;},CommentsV2AddCommentMessage['decodeDelimited']=function(_0x166814){return _0x166814 instanceof _0x2be071||(_0x166814=new _0x2be071(_0x166814)),this['decode'](_0x166814,_0x166814['uint32']());},CommentsV2AddCommentMessage['verify']=function(_0x2d5d01,_0x269aff){if('object'!=typeof _0x2d5d01||null===_0x2d5d01)return'object\x20expected';if(void 0x0===_0x269aff&&(_0x269aff=0x0),_0x269aff>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2d5d01['commentThreadId']&&_0x2d5d01['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x2d5d01['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2d5d01['content']&&_0x2d5d01['hasOwnProperty']('content')&&!$util['isString'](_0x2d5d01['content']))return'content:\x20string\x20expected';if(null!=_0x2d5d01['documentId']&&_0x2d5d01['hasOwnProperty']('documentId')&&!$util['isString'](_0x2d5d01['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2d5d01['commentId']&&_0x2d5d01['hasOwnProperty']('commentId')&&!$util['isString'](_0x2d5d01['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x2d5d01['createdAt']&&_0x2d5d01['hasOwnProperty']('createdAt')&&!$util['isString'](_0x2d5d01['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x2d5d01['userId']&&_0x2d5d01['hasOwnProperty']('userId')&&!$util['isString'](_0x2d5d01['userId']))return'userId:\x20string\x20expected';if(null!=_0x2d5d01['attributes']&&_0x2d5d01['hasOwnProperty']('attributes')&&!$util['isString'](_0x2d5d01['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x2d5d01['commentThread']&&_0x2d5d01['hasOwnProperty']('commentThread')){var _0x4a5473=$root['CommentsThreadDescriptor']['verify'](_0x2d5d01['commentThread'],_0x269aff+0x1);if(_0x4a5473)return'commentThread.'+_0x4a5473;}return null;},CommentsV2AddCommentMessage['fromObject']=function(object,_0x5d6329){if(object instanceof $root['CommentsV2AddCommentMessage'])return object;if(void 0x0===_0x5d6329&&(_0x5d6329=0x0),_0x5d6329>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3e8570=new $root['CommentsV2AddCommentMessage']();if(null!=object['commentThreadId']&&(_0x3e8570['commentThreadId']=String(object['commentThreadId'])),null!=object['content']&&(_0x3e8570['content']=String(object['content'])),null!=object['documentId']&&(_0x3e8570['documentId']=String(object['documentId'])),null!=object['commentId']&&(_0x3e8570['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x3e8570['createdAt']=String(object['createdAt'])),null!=object['userId']&&(_0x3e8570['userId']=String(object['userId'])),null!=object['attributes']&&(_0x3e8570['attributes']=String(object['attributes'])),null!=object['commentThread']){if('object'!=typeof object['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x3e8570['commentThread']=$root['CommentsThreadDescriptor']['fromObject'](object['commentThread'],_0x5d6329+0x1);}return _0x3e8570;},CommentsV2AddCommentMessage['toObject']=function(_0x4b313f,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['content']='',object['documentId']='',object['commentId']='',object['createdAt']='',object['userId']='',object['attributes']='',object['commentThread']=null),null!=_0x4b313f['commentThreadId']&&_0x4b313f['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x4b313f['commentThreadId']),null!=_0x4b313f['content']&&_0x4b313f['hasOwnProperty']('content')&&(object['content']=_0x4b313f['content']),null!=_0x4b313f['documentId']&&_0x4b313f['hasOwnProperty']('documentId')&&(object['documentId']=_0x4b313f['documentId']),null!=_0x4b313f['commentId']&&_0x4b313f['hasOwnProperty']('commentId')&&(object['commentId']=_0x4b313f['commentId']),null!=_0x4b313f['createdAt']&&_0x4b313f['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x4b313f['createdAt']),null!=_0x4b313f['userId']&&_0x4b313f['hasOwnProperty']('userId')&&(object['userId']=_0x4b313f['userId']),null!=_0x4b313f['attributes']&&_0x4b313f['hasOwnProperty']('attributes')&&(object['attributes']=_0x4b313f['attributes']),null!=_0x4b313f['commentThread']&&_0x4b313f['hasOwnProperty']('commentThread')&&(object['commentThread']=$root['CommentsThreadDescriptor']['toObject'](_0x4b313f['commentThread'],options)),object;},CommentsV2AddCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentMessage';},CommentsV2AddCommentMessage;}()),$root['CommentsV2UpdateCommentThreadMessage']=(function(){function CommentsV2UpdateCommentThreadMessage(properties){if(properties){for(var _0x19d2d4=Object['keys'](properties),_0x527509=0x0;_0x527509<_0x19d2d4['length'];++_0x527509)null!=properties[_0x19d2d4[_0x527509]]&&'__proto__'!==_0x19d2d4[_0x527509]&&(this[_0x19d2d4[_0x527509]]=properties[_0x19d2d4[_0x527509]]);}}return CommentsV2UpdateCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2UpdateCommentThreadMessage['prototype']['documentId']='',CommentsV2UpdateCommentThreadMessage['prototype']['context']='',CommentsV2UpdateCommentThreadMessage['prototype']['attributes']='',CommentsV2UpdateCommentThreadMessage['prototype']['unlinkedAt']='',CommentsV2UpdateCommentThreadMessage['create']=function(properties){return new CommentsV2UpdateCommentThreadMessage(properties);},CommentsV2UpdateCommentThreadMessage['encode']=function(_0x5b5f04,writer){return writer||(writer=$Writer['create']()),null!=_0x5b5f04['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5b5f04,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x5b5f04['commentThreadId']),null!=_0x5b5f04['documentId']&&Object['hasOwnProperty']['call'](_0x5b5f04,'documentId')&&writer['uint32'](0x12)['string'](_0x5b5f04['documentId']),null!=_0x5b5f04['context']&&Object['hasOwnProperty']['call'](_0x5b5f04,'context')&&writer['uint32'](0x1a)['string'](_0x5b5f04['context']),null!=_0x5b5f04['attributes']&&Object['hasOwnProperty']['call'](_0x5b5f04,'attributes')&&writer['uint32'](0x22)['string'](_0x5b5f04['attributes']),null!=_0x5b5f04['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5b5f04,'unlinkedAt')&&writer['uint32'](0x2a)['string'](_0x5b5f04['unlinkedAt']),writer;},CommentsV2UpdateCommentThreadMessage['encodeDelimited']=function(_0x3a1a54,writer){return this['encode'](_0x3a1a54,writer)['ldelim']();},CommentsV2UpdateCommentThreadMessage['decode']=function(_0x1bc3cd,length,_0x582649,_0x58969d){if(_0x1bc3cd instanceof _0x2be071||(_0x1bc3cd=_0x2be071['create'](_0x1bc3cd)),void 0x0===_0x58969d&&(_0x58969d=0x0),_0x58969d>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5b95a1=void 0x0===length?_0x1bc3cd['len']:_0x1bc3cd['pos']+length,_0x346258=new $root['CommentsV2UpdateCommentThreadMessage']();_0x1bc3cd['pos']<_0x5b95a1;){var tag=_0x1bc3cd['uint32']();if(tag===_0x582649)break;switch(tag>>>0x3){case 0x1:_0x346258['commentThreadId']=_0x1bc3cd['string']();break;case 0x2:_0x346258['documentId']=_0x1bc3cd['string']();break;case 0x3:_0x346258['context']=_0x1bc3cd['string']();break;case 0x4:_0x346258['attributes']=_0x1bc3cd['string']();break;case 0x5:_0x346258['unlinkedAt']=_0x1bc3cd['string']();break;default:_0x1bc3cd['skipType'](0x7&tag,_0x58969d);}}return _0x346258;},CommentsV2UpdateCommentThreadMessage['decodeDelimited']=function(_0x14666e){return _0x14666e instanceof _0x2be071||(_0x14666e=new _0x2be071(_0x14666e)),this['decode'](_0x14666e,_0x14666e['uint32']());},CommentsV2UpdateCommentThreadMessage['verify']=function(_0x153915,_0x47e4c0){return'object'!=typeof _0x153915||null===_0x153915?'object\x20expected':(void 0x0===_0x47e4c0&&(_0x47e4c0=0x0),_0x47e4c0>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x153915['commentThreadId']&&_0x153915['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x153915['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x153915['documentId']&&_0x153915['hasOwnProperty']('documentId')&&!$util['isString'](_0x153915['documentId'])?'documentId:\x20string\x20expected':null!=_0x153915['context']&&_0x153915['hasOwnProperty']('context')&&!$util['isString'](_0x153915['context'])?'context:\x20string\x20expected':null!=_0x153915['attributes']&&_0x153915['hasOwnProperty']('attributes')&&!$util['isString'](_0x153915['attributes'])?'attributes:\x20string\x20expected':null!=_0x153915['unlinkedAt']&&_0x153915['hasOwnProperty']('unlinkedAt')&&!$util['isString'](_0x153915['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},CommentsV2UpdateCommentThreadMessage['fromObject']=function(object,_0x318fd7){if(object instanceof $root['CommentsV2UpdateCommentThreadMessage'])return object;if(void 0x0===_0x318fd7&&(_0x318fd7=0x0),_0x318fd7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x280e88=new $root['CommentsV2UpdateCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x280e88['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x280e88['documentId']=String(object['documentId'])),null!=object['context']&&(_0x280e88['context']=String(object['context'])),null!=object['attributes']&&(_0x280e88['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x280e88['unlinkedAt']=String(object['unlinkedAt'])),_0x280e88;},CommentsV2UpdateCommentThreadMessage['toObject']=function(_0x3aee4b,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['context']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x3aee4b['commentThreadId']&&_0x3aee4b['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x3aee4b['commentThreadId']),null!=_0x3aee4b['documentId']&&_0x3aee4b['hasOwnProperty']('documentId')&&(object['documentId']=_0x3aee4b['documentId']),null!=_0x3aee4b['context']&&_0x3aee4b['hasOwnProperty']('context')&&(object['context']=_0x3aee4b['context']),null!=_0x3aee4b['attributes']&&_0x3aee4b['hasOwnProperty']('attributes')&&(object['attributes']=_0x3aee4b['attributes']),null!=_0x3aee4b['unlinkedAt']&&_0x3aee4b['hasOwnProperty']('unlinkedAt')&&(object['unlinkedAt']=_0x3aee4b['unlinkedAt']),object;},CommentsV2UpdateCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2UpdateCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2UpdateCommentThreadMessage';},CommentsV2UpdateCommentThreadMessage;}()),$root['CommentsV2ResolveCommentThreadMessage']=(function(){function CommentsV2ResolveCommentThreadMessage(properties){if(properties){for(var _0x45009f=Object['keys'](properties),_0x5c9395=0x0;_0x5c9395<_0x45009f['length'];++_0x5c9395)null!=properties[_0x45009f[_0x5c9395]]&&'__proto__'!==_0x45009f[_0x5c9395]&&(this[_0x45009f[_0x5c9395]]=properties[_0x45009f[_0x5c9395]]);}}return CommentsV2ResolveCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2ResolveCommentThreadMessage['prototype']['documentId']='',CommentsV2ResolveCommentThreadMessage['prototype']['resolvedBy']='',CommentsV2ResolveCommentThreadMessage['prototype']['resolvedAt']='',CommentsV2ResolveCommentThreadMessage['create']=function(properties){return new CommentsV2ResolveCommentThreadMessage(properties);},CommentsV2ResolveCommentThreadMessage['encode']=function(_0xc86dc4,writer){return writer||(writer=$Writer['create']()),null!=_0xc86dc4['commentThreadId']&&Object['hasOwnProperty']['call'](_0xc86dc4,'commentThreadId')&&writer['uint32'](0xa)['string'](_0xc86dc4['commentThreadId']),null!=_0xc86dc4['documentId']&&Object['hasOwnProperty']['call'](_0xc86dc4,'documentId')&&writer['uint32'](0x12)['string'](_0xc86dc4['documentId']),null!=_0xc86dc4['resolvedBy']&&Object['hasOwnProperty']['call'](_0xc86dc4,'resolvedBy')&&writer['uint32'](0x1a)['string'](_0xc86dc4['resolvedBy']),null!=_0xc86dc4['resolvedAt']&&Object['hasOwnProperty']['call'](_0xc86dc4,'resolvedAt')&&writer['uint32'](0x22)['string'](_0xc86dc4['resolvedAt']),writer;},CommentsV2ResolveCommentThreadMessage['encodeDelimited']=function(_0xfe05aa,writer){return this['encode'](_0xfe05aa,writer)['ldelim']();},CommentsV2ResolveCommentThreadMessage['decode']=function(_0x1189c2,length,_0x51345f,_0x137b46){if(_0x1189c2 instanceof _0x2be071||(_0x1189c2=_0x2be071['create'](_0x1189c2)),void 0x0===_0x137b46&&(_0x137b46=0x0),_0x137b46>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3da28d=void 0x0===length?_0x1189c2['len']:_0x1189c2['pos']+length,_0x45b613=new $root['CommentsV2ResolveCommentThreadMessage']();_0x1189c2['pos']<_0x3da28d;){var tag=_0x1189c2['uint32']();if(tag===_0x51345f)break;switch(tag>>>0x3){case 0x1:_0x45b613['commentThreadId']=_0x1189c2['string']();break;case 0x2:_0x45b613['documentId']=_0x1189c2['string']();break;case 0x3:_0x45b613['resolvedBy']=_0x1189c2['string']();break;case 0x4:_0x45b613['resolvedAt']=_0x1189c2['string']();break;default:_0x1189c2['skipType'](0x7&tag,_0x137b46);}}return _0x45b613;},CommentsV2ResolveCommentThreadMessage['decodeDelimited']=function(_0x3ad862){return _0x3ad862 instanceof _0x2be071||(_0x3ad862=new _0x2be071(_0x3ad862)),this['decode'](_0x3ad862,_0x3ad862['uint32']());},CommentsV2ResolveCommentThreadMessage['verify']=function(_0x4034b1,_0x4265b0){return'object'!=typeof _0x4034b1||null===_0x4034b1?'object\x20expected':(void 0x0===_0x4265b0&&(_0x4265b0=0x0),_0x4265b0>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4034b1['commentThreadId']&&_0x4034b1['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x4034b1['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4034b1['documentId']&&_0x4034b1['hasOwnProperty']('documentId')&&!$util['isString'](_0x4034b1['documentId'])?'documentId:\x20string\x20expected':null!=_0x4034b1['resolvedBy']&&_0x4034b1['hasOwnProperty']('resolvedBy')&&!$util['isString'](_0x4034b1['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x4034b1['resolvedAt']&&_0x4034b1['hasOwnProperty']('resolvedAt')&&!$util['isString'](_0x4034b1['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},CommentsV2ResolveCommentThreadMessage['fromObject']=function(object,_0x365715){if(object instanceof $root['CommentsV2ResolveCommentThreadMessage'])return object;if(void 0x0===_0x365715&&(_0x365715=0x0),_0x365715>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5b5012=new $root['CommentsV2ResolveCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x5b5012['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x5b5012['documentId']=String(object['documentId'])),null!=object['resolvedBy']&&(_0x5b5012['resolvedBy']=String(object['resolvedBy'])),null!=object['resolvedAt']&&(_0x5b5012['resolvedAt']=String(object['resolvedAt'])),_0x5b5012;},CommentsV2ResolveCommentThreadMessage['toObject']=function(_0xe8355d,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['resolvedBy']='',object['resolvedAt']=''),null!=_0xe8355d['commentThreadId']&&_0xe8355d['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0xe8355d['commentThreadId']),null!=_0xe8355d['documentId']&&_0xe8355d['hasOwnProperty']('documentId')&&(object['documentId']=_0xe8355d['documentId']),null!=_0xe8355d['resolvedBy']&&_0xe8355d['hasOwnProperty']('resolvedBy')&&(object['resolvedBy']=_0xe8355d['resolvedBy']),null!=_0xe8355d['resolvedAt']&&_0xe8355d['hasOwnProperty']('resolvedAt')&&(object['resolvedAt']=_0xe8355d['resolvedAt']),object;},CommentsV2ResolveCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ResolveCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ResolveCommentThreadMessage';},CommentsV2ResolveCommentThreadMessage;}()),$root['CommentsV2ReopenCommentThreadMessage']=(function(){function CommentsV2ReopenCommentThreadMessage(properties){if(properties){for(var _0x1d7df1=Object['keys'](properties),_0x206ab3=0x0;_0x206ab3<_0x1d7df1['length'];++_0x206ab3)null!=properties[_0x1d7df1[_0x206ab3]]&&'__proto__'!==_0x1d7df1[_0x206ab3]&&(this[_0x1d7df1[_0x206ab3]]=properties[_0x1d7df1[_0x206ab3]]);}}return CommentsV2ReopenCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2ReopenCommentThreadMessage['prototype']['documentId']='',CommentsV2ReopenCommentThreadMessage['create']=function(properties){return new CommentsV2ReopenCommentThreadMessage(properties);},CommentsV2ReopenCommentThreadMessage['encode']=function(_0x3daa12,writer){return writer||(writer=$Writer['create']()),null!=_0x3daa12['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3daa12,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x3daa12['commentThreadId']),null!=_0x3daa12['documentId']&&Object['hasOwnProperty']['call'](_0x3daa12,'documentId')&&writer['uint32'](0x12)['string'](_0x3daa12['documentId']),writer;},CommentsV2ReopenCommentThreadMessage['encodeDelimited']=function(_0x4fd476,writer){return this['encode'](_0x4fd476,writer)['ldelim']();},CommentsV2ReopenCommentThreadMessage['decode']=function(_0x4fb26e,length,_0x454529,_0x4178f1){if(_0x4fb26e instanceof _0x2be071||(_0x4fb26e=_0x2be071['create'](_0x4fb26e)),void 0x0===_0x4178f1&&(_0x4178f1=0x0),_0x4178f1>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4811bb=void 0x0===length?_0x4fb26e['len']:_0x4fb26e['pos']+length,_0x2430aa=new $root['CommentsV2ReopenCommentThreadMessage']();_0x4fb26e['pos']<_0x4811bb;){var tag=_0x4fb26e['uint32']();if(tag===_0x454529)break;switch(tag>>>0x3){case 0x1:_0x2430aa['commentThreadId']=_0x4fb26e['string']();break;case 0x2:_0x2430aa['documentId']=_0x4fb26e['string']();break;default:_0x4fb26e['skipType'](0x7&tag,_0x4178f1);}}return _0x2430aa;},CommentsV2ReopenCommentThreadMessage['decodeDelimited']=function(_0x32fd50){return _0x32fd50 instanceof _0x2be071||(_0x32fd50=new _0x2be071(_0x32fd50)),this['decode'](_0x32fd50,_0x32fd50['uint32']());},CommentsV2ReopenCommentThreadMessage['verify']=function(_0x34fb8d,_0x56ee7b){return'object'!=typeof _0x34fb8d||null===_0x34fb8d?'object\x20expected':(void 0x0===_0x56ee7b&&(_0x56ee7b=0x0),_0x56ee7b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x34fb8d['commentThreadId']&&_0x34fb8d['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x34fb8d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x34fb8d['documentId']&&_0x34fb8d['hasOwnProperty']('documentId')&&!$util['isString'](_0x34fb8d['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2ReopenCommentThreadMessage['fromObject']=function(object,_0x2ae7b2){if(object instanceof $root['CommentsV2ReopenCommentThreadMessage'])return object;if(void 0x0===_0x2ae7b2&&(_0x2ae7b2=0x0),_0x2ae7b2>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5df481=new $root['CommentsV2ReopenCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x5df481['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x5df481['documentId']=String(object['documentId'])),_0x5df481;},CommentsV2ReopenCommentThreadMessage['toObject']=function(_0x30adba,options){options||(options={});var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x30adba['commentThreadId']&&_0x30adba['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x30adba['commentThreadId']),null!=_0x30adba['documentId']&&_0x30adba['hasOwnProperty']('documentId')&&(object['documentId']=_0x30adba['documentId']),object;},CommentsV2ReopenCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ReopenCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ReopenCommentThreadMessage';},CommentsV2ReopenCommentThreadMessage;}()),$root['CommentsV2AddCommentThreadMessage']=(function(){function CommentsV2AddCommentThreadMessage(properties){if(this['comments']=[],properties){for(var _0x92681d=Object['keys'](properties),_0x31b1e8=0x0;_0x31b1e8<_0x92681d['length'];++_0x31b1e8)null!=properties[_0x92681d[_0x31b1e8]]&&'__proto__'!==_0x92681d[_0x31b1e8]&&(this[_0x92681d[_0x31b1e8]]=properties[_0x92681d[_0x31b1e8]]);}}return CommentsV2AddCommentThreadMessage['prototype']['documentId']='',CommentsV2AddCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2AddCommentThreadMessage['prototype']['context']='',CommentsV2AddCommentThreadMessage['prototype']['createdAt']='',CommentsV2AddCommentThreadMessage['prototype']['resolvedAt']='',CommentsV2AddCommentThreadMessage['prototype']['resolvedBy']='',CommentsV2AddCommentThreadMessage['prototype']['attributes']='',CommentsV2AddCommentThreadMessage['prototype']['deletedAt']='',CommentsV2AddCommentThreadMessage['prototype']['comments']=$util['emptyArray'],CommentsV2AddCommentThreadMessage['create']=function(properties){return new CommentsV2AddCommentThreadMessage(properties);},CommentsV2AddCommentThreadMessage['encode']=function(_0x450d39,writer){if(writer||(writer=$Writer['create']()),null!=_0x450d39['documentId']&&Object['hasOwnProperty']['call'](_0x450d39,'documentId')&&writer['uint32'](0xa)['string'](_0x450d39['documentId']),null!=_0x450d39['commentThreadId']&&Object['hasOwnProperty']['call'](_0x450d39,'commentThreadId')&&writer['uint32'](0x12)['string'](_0x450d39['commentThreadId']),null!=_0x450d39['context']&&Object['hasOwnProperty']['call'](_0x450d39,'context')&&writer['uint32'](0x1a)['string'](_0x450d39['context']),null!=_0x450d39['createdAt']&&Object['hasOwnProperty']['call'](_0x450d39,'createdAt')&&writer['uint32'](0x22)['string'](_0x450d39['createdAt']),null!=_0x450d39['resolvedAt']&&Object['hasOwnProperty']['call'](_0x450d39,'resolvedAt')&&writer['uint32'](0x2a)['string'](_0x450d39['resolvedAt']),null!=_0x450d39['resolvedBy']&&Object['hasOwnProperty']['call'](_0x450d39,'resolvedBy')&&writer['uint32'](0x32)['string'](_0x450d39['resolvedBy']),null!=_0x450d39['attributes']&&Object['hasOwnProperty']['call'](_0x450d39,'attributes')&&writer['uint32'](0x3a)['string'](_0x450d39['attributes']),null!=_0x450d39['deletedAt']&&Object['hasOwnProperty']['call'](_0x450d39,'deletedAt')&&writer['uint32'](0x42)['string'](_0x450d39['deletedAt']),null!=_0x450d39['comments']&&_0x450d39['comments']['length']){for(var _0x4a3369=0x0;_0x4a3369<_0x450d39['comments']['length'];++_0x4a3369)$root['CommentDescriptor']['encode'](_0x450d39['comments'][_0x4a3369],writer['uint32'](0x4a)['fork']())['ldelim']();}return writer;},CommentsV2AddCommentThreadMessage['encodeDelimited']=function(_0x432f6d,writer){return this['encode'](_0x432f6d,writer)['ldelim']();},CommentsV2AddCommentThreadMessage['decode']=function(_0x433173,length,_0x5a8ef7,_0x4d85ba){if(_0x433173 instanceof _0x2be071||(_0x433173=_0x2be071['create'](_0x433173)),void 0x0===_0x4d85ba&&(_0x4d85ba=0x0),_0x4d85ba>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1ec770=void 0x0===length?_0x433173['len']:_0x433173['pos']+length,_0x481fca=new $root['CommentsV2AddCommentThreadMessage']();_0x433173['pos']<_0x1ec770;){var tag=_0x433173['uint32']();if(tag===_0x5a8ef7)break;switch(tag>>>0x3){case 0x1:_0x481fca['documentId']=_0x433173['string']();break;case 0x2:_0x481fca['commentThreadId']=_0x433173['string']();break;case 0x3:_0x481fca['context']=_0x433173['string']();break;case 0x4:_0x481fca['createdAt']=_0x433173['string']();break;case 0x5:_0x481fca['resolvedAt']=_0x433173['string']();break;case 0x6:_0x481fca['resolvedBy']=_0x433173['string']();break;case 0x7:_0x481fca['attributes']=_0x433173['string']();break;case 0x8:_0x481fca['deletedAt']=_0x433173['string']();break;case 0x9:_0x481fca['comments']&&_0x481fca['comments']['length']||(_0x481fca['comments']=[]),_0x481fca['comments']['push']($root['CommentDescriptor']['decode'](_0x433173,_0x433173['uint32'](),void 0x0,_0x4d85ba+0x1));break;default:_0x433173['skipType'](0x7&tag,_0x4d85ba);}}return _0x481fca;},CommentsV2AddCommentThreadMessage['decodeDelimited']=function(_0x3d29fb){return _0x3d29fb instanceof _0x2be071||(_0x3d29fb=new _0x2be071(_0x3d29fb)),this['decode'](_0x3d29fb,_0x3d29fb['uint32']());},CommentsV2AddCommentThreadMessage['verify']=function(_0x3ff15f,_0x3d27c2){if('object'!=typeof _0x3ff15f||null===_0x3ff15f)return'object\x20expected';if(void 0x0===_0x3d27c2&&(_0x3d27c2=0x0),_0x3d27c2>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3ff15f['documentId']&&_0x3ff15f['hasOwnProperty']('documentId')&&!$util['isString'](_0x3ff15f['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3ff15f['commentThreadId']&&_0x3ff15f['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x3ff15f['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3ff15f['context']&&_0x3ff15f['hasOwnProperty']('context')&&!$util['isString'](_0x3ff15f['context']))return'context:\x20string\x20expected';if(null!=_0x3ff15f['createdAt']&&_0x3ff15f['hasOwnProperty']('createdAt')&&!$util['isString'](_0x3ff15f['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3ff15f['resolvedAt']&&_0x3ff15f['hasOwnProperty']('resolvedAt')&&!$util['isString'](_0x3ff15f['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x3ff15f['resolvedBy']&&_0x3ff15f['hasOwnProperty']('resolvedBy')&&!$util['isString'](_0x3ff15f['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x3ff15f['attributes']&&_0x3ff15f['hasOwnProperty']('attributes')&&!$util['isString'](_0x3ff15f['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3ff15f['deletedAt']&&_0x3ff15f['hasOwnProperty']('deletedAt')&&!$util['isString'](_0x3ff15f['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x3ff15f['comments']&&_0x3ff15f['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3ff15f['comments']))return'comments:\x20array\x20expected';for(var _0x55bb48=0x0;_0x55bb48<_0x3ff15f['comments']['length'];++_0x55bb48){var _0x4f99df=$root['CommentDescriptor']['verify'](_0x3ff15f['comments'][_0x55bb48],_0x3d27c2+0x1);if(_0x4f99df)return'comments.'+_0x4f99df;}}return null;},CommentsV2AddCommentThreadMessage['fromObject']=function(object,_0x26ed36){if(object instanceof $root['CommentsV2AddCommentThreadMessage'])return object;if(void 0x0===_0x26ed36&&(_0x26ed36=0x0),_0x26ed36>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2bf6cd=new $root['CommentsV2AddCommentThreadMessage']();if(null!=object['documentId']&&(_0x2bf6cd['documentId']=String(object['documentId'])),null!=object['commentThreadId']&&(_0x2bf6cd['commentThreadId']=String(object['commentThreadId'])),null!=object['context']&&(_0x2bf6cd['context']=String(object['context'])),null!=object['createdAt']&&(_0x2bf6cd['createdAt']=String(object['createdAt'])),null!=object['resolvedAt']&&(_0x2bf6cd['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x2bf6cd['resolvedBy']=String(object['resolvedBy'])),null!=object['attributes']&&(_0x2bf6cd['attributes']=String(object['attributes'])),null!=object['deletedAt']&&(_0x2bf6cd['deletedAt']=String(object['deletedAt'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x2bf6cd['comments']=[];for(var _0x3d1ae9=0x0;_0x3d1ae9<object['comments']['length'];++_0x3d1ae9){if('object'!=typeof object['comments'][_0x3d1ae9])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x2bf6cd['comments'][_0x3d1ae9]=$root['CommentDescriptor']['fromObject'](object['comments'][_0x3d1ae9],_0x26ed36+0x1);}}return _0x2bf6cd;},CommentsV2AddCommentThreadMessage['toObject']=function(_0x41b145,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['documentId']='',object['commentThreadId']='',object['context']='',object['createdAt']='',object['resolvedAt']='',object['resolvedBy']='',object['attributes']='',object['deletedAt']=''),null!=_0x41b145['documentId']&&_0x41b145['hasOwnProperty']('documentId')&&(object['documentId']=_0x41b145['documentId']),null!=_0x41b145['commentThreadId']&&_0x41b145['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x41b145['commentThreadId']),null!=_0x41b145['context']&&_0x41b145['hasOwnProperty']('context')&&(object['context']=_0x41b145['context']),null!=_0x41b145['createdAt']&&_0x41b145['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x41b145['createdAt']),null!=_0x41b145['resolvedAt']&&_0x41b145['hasOwnProperty']('resolvedAt')&&(object['resolvedAt']=_0x41b145['resolvedAt']),null!=_0x41b145['resolvedBy']&&_0x41b145['hasOwnProperty']('resolvedBy')&&(object['resolvedBy']=_0x41b145['resolvedBy']),null!=_0x41b145['attributes']&&_0x41b145['hasOwnProperty']('attributes')&&(object['attributes']=_0x41b145['attributes']),null!=_0x41b145['deletedAt']&&_0x41b145['hasOwnProperty']('deletedAt')&&(object['deletedAt']=_0x41b145['deletedAt']),_0x41b145['comments']&&_0x41b145['comments']['length']){object['comments']=[];for(var _0x4eaa6f=0x0;_0x4eaa6f<_0x41b145['comments']['length'];++_0x4eaa6f)object['comments'][_0x4eaa6f]=$root['CommentDescriptor']['toObject'](_0x41b145['comments'][_0x4eaa6f],options);}return object;},CommentsV2AddCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentThreadMessage';},CommentsV2AddCommentThreadMessage;}()),$root['CommentThreadAddedCommentDescriptor']=(function(){function CommentThreadAddedCommentDescriptor(properties){if(properties){for(var _0x4a91a7=Object['keys'](properties),_0x1e9dbc=0x0;_0x1e9dbc<_0x4a91a7['length'];++_0x1e9dbc)null!=properties[_0x4a91a7[_0x1e9dbc]]&&'__proto__'!==_0x4a91a7[_0x1e9dbc]&&(this[_0x4a91a7[_0x1e9dbc]]=properties[_0x4a91a7[_0x1e9dbc]]);}}return CommentThreadAddedCommentDescriptor['prototype']['commentId']='',CommentThreadAddedCommentDescriptor['prototype']['createdAt']='',CommentThreadAddedCommentDescriptor['create']=function(properties){return new CommentThreadAddedCommentDescriptor(properties);},CommentThreadAddedCommentDescriptor['encode']=function(_0x10c1c0,writer){return writer||(writer=$Writer['create']()),null!=_0x10c1c0['commentId']&&Object['hasOwnProperty']['call'](_0x10c1c0,'commentId')&&writer['uint32'](0xa)['string'](_0x10c1c0['commentId']),null!=_0x10c1c0['createdAt']&&Object['hasOwnProperty']['call'](_0x10c1c0,'createdAt')&&writer['uint32'](0x12)['string'](_0x10c1c0['createdAt']),writer;},CommentThreadAddedCommentDescriptor['encodeDelimited']=function(_0x5366e2,writer){return this['encode'](_0x5366e2,writer)['ldelim']();},CommentThreadAddedCommentDescriptor['decode']=function(_0x201567,length,_0x1071b1,_0x133b05){if(_0x201567 instanceof _0x2be071||(_0x201567=_0x2be071['create'](_0x201567)),void 0x0===_0x133b05&&(_0x133b05=0x0),_0x133b05>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x43cd0c=void 0x0===length?_0x201567['len']:_0x201567['pos']+length,_0x5702f7=new $root['CommentThreadAddedCommentDescriptor']();_0x201567['pos']<_0x43cd0c;){var tag=_0x201567['uint32']();if(tag===_0x1071b1)break;switch(tag>>>0x3){case 0x1:_0x5702f7['commentId']=_0x201567['string']();break;case 0x2:_0x5702f7['createdAt']=_0x201567['string']();break;default:_0x201567['skipType'](0x7&tag,_0x133b05);}}return _0x5702f7;},CommentThreadAddedCommentDescriptor['decodeDelimited']=function(_0x4bae01){return _0x4bae01 instanceof _0x2be071||(_0x4bae01=new _0x2be071(_0x4bae01)),this['decode'](_0x4bae01,_0x4bae01['uint32']());},CommentThreadAddedCommentDescriptor['verify']=function(_0x126844,_0x3b3234){return'object'!=typeof _0x126844||null===_0x126844?'object\x20expected':(void 0x0===_0x3b3234&&(_0x3b3234=0x0),_0x3b3234>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x126844['commentId']&&_0x126844['hasOwnProperty']('commentId')&&!$util['isString'](_0x126844['commentId'])?'commentId:\x20string\x20expected':null!=_0x126844['createdAt']&&_0x126844['hasOwnProperty']('createdAt')&&!$util['isString'](_0x126844['createdAt'])?'createdAt:\x20string\x20expected':null);},CommentThreadAddedCommentDescriptor['fromObject']=function(object,_0x4d8bc5){if(object instanceof $root['CommentThreadAddedCommentDescriptor'])return object;if(void 0x0===_0x4d8bc5&&(_0x4d8bc5=0x0),_0x4d8bc5>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5be356=new $root['CommentThreadAddedCommentDescriptor']();return null!=object['commentId']&&(_0x5be356['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x5be356['createdAt']=String(object['createdAt'])),_0x5be356;},CommentThreadAddedCommentDescriptor['toObject']=function(_0x3450d1,options){options||(options={});var object={};return options['defaults']&&(object['commentId']='',object['createdAt']=''),null!=_0x3450d1['commentId']&&_0x3450d1['hasOwnProperty']('commentId')&&(object['commentId']=_0x3450d1['commentId']),null!=_0x3450d1['createdAt']&&_0x3450d1['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x3450d1['createdAt']),object;},CommentThreadAddedCommentDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentThreadAddedCommentDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentThreadAddedCommentDescriptor';},CommentThreadAddedCommentDescriptor;}()),$root['CommentsThreadDescriptor']=(function(){function CommentsThreadDescriptor(properties){if(this['comments']=[],properties){for(var _0x4436dc=Object['keys'](properties),_0x807bb=0x0;_0x807bb<_0x4436dc['length'];++_0x807bb)null!=properties[_0x4436dc[_0x807bb]]&&'__proto__'!==_0x4436dc[_0x807bb]&&(this[_0x4436dc[_0x807bb]]=properties[_0x4436dc[_0x807bb]]);}}return CommentsThreadDescriptor['prototype']['commentThreadId']='',CommentsThreadDescriptor['prototype']['comments']=$util['emptyArray'],CommentsThreadDescriptor['prototype']['resolvedAt']='',CommentsThreadDescriptor['prototype']['resolvedBy']='',CommentsThreadDescriptor['prototype']['context']='',CommentsThreadDescriptor['prototype']['createdAt']='',CommentsThreadDescriptor['prototype']['deletedAt']='',CommentsThreadDescriptor['prototype']['attributes']='',CommentsThreadDescriptor['prototype']['unlinkedAt']='',CommentsThreadDescriptor['create']=function(properties){return new CommentsThreadDescriptor(properties);},CommentsThreadDescriptor['encode']=function(_0x977c10,writer){if(writer||(writer=$Writer['create']()),null!=_0x977c10['commentThreadId']&&Object['hasOwnProperty']['call'](_0x977c10,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x977c10['commentThreadId']),null!=_0x977c10['comments']&&_0x977c10['comments']['length']){for(var _0x551256=0x0;_0x551256<_0x977c10['comments']['length'];++_0x551256)$root['CommentDescriptor']['encode'](_0x977c10['comments'][_0x551256],writer['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x977c10['resolvedAt']&&Object['hasOwnProperty']['call'](_0x977c10,'resolvedAt')&&writer['uint32'](0x1a)['string'](_0x977c10['resolvedAt']),null!=_0x977c10['resolvedBy']&&Object['hasOwnProperty']['call'](_0x977c10,'resolvedBy')&&writer['uint32'](0x22)['string'](_0x977c10['resolvedBy']),null!=_0x977c10['context']&&Object['hasOwnProperty']['call'](_0x977c10,'context')&&writer['uint32'](0x2a)['string'](_0x977c10['context']),null!=_0x977c10['createdAt']&&Object['hasOwnProperty']['call'](_0x977c10,'createdAt')&&writer['uint32'](0x32)['string'](_0x977c10['createdAt']),null!=_0x977c10['deletedAt']&&Object['hasOwnProperty']['call'](_0x977c10,'deletedAt')&&writer['uint32'](0x3a)['string'](_0x977c10['deletedAt']),null!=_0x977c10['attributes']&&Object['hasOwnProperty']['call'](_0x977c10,'attributes')&&writer['uint32'](0x42)['string'](_0x977c10['attributes']),null!=_0x977c10['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x977c10,'unlinkedAt')&&writer['uint32'](0x4a)['string'](_0x977c10['unlinkedAt']),writer;},CommentsThreadDescriptor['encodeDelimited']=function(_0x29442b,writer){return this['encode'](_0x29442b,writer)['ldelim']();},CommentsThreadDescriptor['decode']=function(_0x20e958,length,_0xdf10f,_0x3229a1){if(_0x20e958 instanceof _0x2be071||(_0x20e958=_0x2be071['create'](_0x20e958)),void 0x0===_0x3229a1&&(_0x3229a1=0x0),_0x3229a1>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3210a3=void 0x0===length?_0x20e958['len']:_0x20e958['pos']+length,_0x548dc2=new $root['CommentsThreadDescriptor']();_0x20e958['pos']<_0x3210a3;){var tag=_0x20e958['uint32']();if(tag===_0xdf10f)break;switch(tag>>>0x3){case 0x1:_0x548dc2['commentThreadId']=_0x20e958['string']();break;case 0x2:_0x548dc2['comments']&&_0x548dc2['comments']['length']||(_0x548dc2['comments']=[]),_0x548dc2['comments']['push']($root['CommentDescriptor']['decode'](_0x20e958,_0x20e958['uint32'](),void 0x0,_0x3229a1+0x1));break;case 0x3:_0x548dc2['resolvedAt']=_0x20e958['string']();break;case 0x4:_0x548dc2['resolvedBy']=_0x20e958['string']();break;case 0x5:_0x548dc2['context']=_0x20e958['string']();break;case 0x6:_0x548dc2['createdAt']=_0x20e958['string']();break;case 0x7:_0x548dc2['deletedAt']=_0x20e958['string']();break;case 0x8:_0x548dc2['attributes']=_0x20e958['string']();break;case 0x9:_0x548dc2['unlinkedAt']=_0x20e958['string']();break;default:_0x20e958['skipType'](0x7&tag,_0x3229a1);}}return _0x548dc2;},CommentsThreadDescriptor['decodeDelimited']=function(_0x542b03){return _0x542b03 instanceof _0x2be071||(_0x542b03=new _0x2be071(_0x542b03)),this['decode'](_0x542b03,_0x542b03['uint32']());},CommentsThreadDescriptor['verify']=function(_0x286f1a,_0x26ddf4){if('object'!=typeof _0x286f1a||null===_0x286f1a)return'object\x20expected';if(void 0x0===_0x26ddf4&&(_0x26ddf4=0x0),_0x26ddf4>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x286f1a['commentThreadId']&&_0x286f1a['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x286f1a['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x286f1a['comments']&&_0x286f1a['hasOwnProperty']('comments')){if(!Array['isArray'](_0x286f1a['comments']))return'comments:\x20array\x20expected';for(var _0xe6e91b=0x0;_0xe6e91b<_0x286f1a['comments']['length'];++_0xe6e91b){var _0x2258d7=$root['CommentDescriptor']['verify'](_0x286f1a['comments'][_0xe6e91b],_0x26ddf4+0x1);if(_0x2258d7)return'comments.'+_0x2258d7;}}return null!=_0x286f1a['resolvedAt']&&_0x286f1a['hasOwnProperty']('resolvedAt')&&!$util['isString'](_0x286f1a['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x286f1a['resolvedBy']&&_0x286f1a['hasOwnProperty']('resolvedBy')&&!$util['isString'](_0x286f1a['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x286f1a['context']&&_0x286f1a['hasOwnProperty']('context')&&!$util['isString'](_0x286f1a['context'])?'context:\x20string\x20expected':null!=_0x286f1a['createdAt']&&_0x286f1a['hasOwnProperty']('createdAt')&&!$util['isString'](_0x286f1a['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x286f1a['deletedAt']&&_0x286f1a['hasOwnProperty']('deletedAt')&&!$util['isString'](_0x286f1a['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x286f1a['attributes']&&_0x286f1a['hasOwnProperty']('attributes')&&!$util['isString'](_0x286f1a['attributes'])?'attributes:\x20string\x20expected':null!=_0x286f1a['unlinkedAt']&&_0x286f1a['hasOwnProperty']('unlinkedAt')&&!$util['isString'](_0x286f1a['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},CommentsThreadDescriptor['fromObject']=function(object,_0xef0976){if(object instanceof $root['CommentsThreadDescriptor'])return object;if(void 0x0===_0xef0976&&(_0xef0976=0x0),_0xef0976>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5912f1=new $root['CommentsThreadDescriptor']();if(null!=object['commentThreadId']&&(_0x5912f1['commentThreadId']=String(object['commentThreadId'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x5912f1['comments']=[];for(var _0x761cc=0x0;_0x761cc<object['comments']['length'];++_0x761cc){if('object'!=typeof object['comments'][_0x761cc])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x5912f1['comments'][_0x761cc]=$root['CommentDescriptor']['fromObject'](object['comments'][_0x761cc],_0xef0976+0x1);}}return null!=object['resolvedAt']&&(_0x5912f1['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x5912f1['resolvedBy']=String(object['resolvedBy'])),null!=object['context']&&(_0x5912f1['context']=String(object['context'])),null!=object['createdAt']&&(_0x5912f1['createdAt']=String(object['createdAt'])),null!=object['deletedAt']&&(_0x5912f1['deletedAt']=String(object['deletedAt'])),null!=object['attributes']&&(_0x5912f1['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x5912f1['unlinkedAt']=String(object['unlinkedAt'])),_0x5912f1;},CommentsThreadDescriptor['toObject']=function(_0x25ef39,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['commentThreadId']='',object['resolvedAt']='',object['resolvedBy']='',object['context']='',object['createdAt']='',object['deletedAt']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x25ef39['commentThreadId']&&_0x25ef39['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x25ef39['commentThreadId']),_0x25ef39['comments']&&_0x25ef39['comments']['length']){object['comments']=[];for(var _0x54d0bf=0x0;_0x54d0bf<_0x25ef39['comments']['length'];++_0x54d0bf)object['comments'][_0x54d0bf]=$root['CommentDescriptor']['toObject'](_0x25ef39['comments'][_0x54d0bf],options);}return null!=_0x25ef39['resolvedAt']&&_0x25ef39['hasOwnProperty']('resolvedAt')&&(object['resolvedAt']=_0x25ef39['resolvedAt']),null!=_0x25ef39['resolvedBy']&&_0x25ef39['hasOwnProperty']('resolvedBy')&&(object['resolvedBy']=_0x25ef39['resolvedBy']),null!=_0x25ef39['context']&&_0x25ef39['hasOwnProperty']('context')&&(object['context']=_0x25ef39['context']),null!=_0x25ef39['createdAt']&&_0x25ef39['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x25ef39['createdAt']),null!=_0x25ef39['deletedAt']&&_0x25ef39['hasOwnProperty']('deletedAt')&&(object['deletedAt']=_0x25ef39['deletedAt']),null!=_0x25ef39['attributes']&&_0x25ef39['hasOwnProperty']('attributes')&&(object['attributes']=_0x25ef39['attributes']),null!=_0x25ef39['unlinkedAt']&&_0x25ef39['hasOwnProperty']('unlinkedAt')&&(object['unlinkedAt']=_0x25ef39['unlinkedAt']),object;},CommentsThreadDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsThreadDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsThreadDescriptor';},CommentsThreadDescriptor;}()),$root['CommentDescriptor']=(function(){function CommentDescriptor(properties){if(properties){for(var _0x80634c=Object['keys'](properties),_0x5e3172=0x0;_0x5e3172<_0x80634c['length'];++_0x5e3172)null!=properties[_0x80634c[_0x5e3172]]&&'__proto__'!==_0x80634c[_0x5e3172]&&(this[_0x80634c[_0x5e3172]]=properties[_0x80634c[_0x5e3172]]);}}return CommentDescriptor['prototype']['commentId']='',CommentDescriptor['prototype']['commentThreadId']='',CommentDescriptor['prototype']['userId']='',CommentDescriptor['prototype']['content']='',CommentDescriptor['prototype']['documentId']='',CommentDescriptor['prototype']['createdAt']='',CommentDescriptor['prototype']['attributes']='',CommentDescriptor['create']=function(properties){return new CommentDescriptor(properties);},CommentDescriptor['encode']=function(_0x283958,writer){return writer||(writer=$Writer['create']()),null!=_0x283958['commentId']&&Object['hasOwnProperty']['call'](_0x283958,'commentId')&&writer['uint32'](0xa)['string'](_0x283958['commentId']),null!=_0x283958['commentThreadId']&&Object['hasOwnProperty']['call'](_0x283958,'commentThreadId')&&writer['uint32'](0x12)['string'](_0x283958['commentThreadId']),null!=_0x283958['userId']&&Object['hasOwnProperty']['call'](_0x283958,'userId')&&writer['uint32'](0x1a)['string'](_0x283958['userId']),null!=_0x283958['content']&&Object['hasOwnProperty']['call'](_0x283958,'content')&&writer['uint32'](0x22)['string'](_0x283958['content']),null!=_0x283958['documentId']&&Object['hasOwnProperty']['call'](_0x283958,'documentId')&&writer['uint32'](0x2a)['string'](_0x283958['documentId']),null!=_0x283958['createdAt']&&Object['hasOwnProperty']['call'](_0x283958,'createdAt')&&writer['uint32'](0x32)['string'](_0x283958['createdAt']),null!=_0x283958['attributes']&&Object['hasOwnProperty']['call'](_0x283958,'attributes')&&writer['uint32'](0x3a)['string'](_0x283958['attributes']),writer;},CommentDescriptor['encodeDelimited']=function(_0x1eb268,writer){return this['encode'](_0x1eb268,writer)['ldelim']();},CommentDescriptor['decode']=function(_0x3a85c6,length,_0x567f1d,_0x56b019){if(_0x3a85c6 instanceof _0x2be071||(_0x3a85c6=_0x2be071['create'](_0x3a85c6)),void 0x0===_0x56b019&&(_0x56b019=0x0),_0x56b019>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5093e0=void 0x0===length?_0x3a85c6['len']:_0x3a85c6['pos']+length,_0x12ee6e=new $root['CommentDescriptor']();_0x3a85c6['pos']<_0x5093e0;){var tag=_0x3a85c6['uint32']();if(tag===_0x567f1d)break;switch(tag>>>0x3){case 0x1:_0x12ee6e['commentId']=_0x3a85c6['string']();break;case 0x2:_0x12ee6e['commentThreadId']=_0x3a85c6['string']();break;case 0x3:_0x12ee6e['userId']=_0x3a85c6['string']();break;case 0x4:_0x12ee6e['content']=_0x3a85c6['string']();break;case 0x5:_0x12ee6e['documentId']=_0x3a85c6['string']();break;case 0x6:_0x12ee6e['createdAt']=_0x3a85c6['string']();break;case 0x7:_0x12ee6e['attributes']=_0x3a85c6['string']();break;default:_0x3a85c6['skipType'](0x7&tag,_0x56b019);}}return _0x12ee6e;},CommentDescriptor['decodeDelimited']=function(_0x2cdba0){return _0x2cdba0 instanceof _0x2be071||(_0x2cdba0=new _0x2be071(_0x2cdba0)),this['decode'](_0x2cdba0,_0x2cdba0['uint32']());},CommentDescriptor['verify']=function(_0x186f36,_0x2ad6e5){return'object'!=typeof _0x186f36||null===_0x186f36?'object\x20expected':(void 0x0===_0x2ad6e5&&(_0x2ad6e5=0x0),_0x2ad6e5>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x186f36['commentId']&&_0x186f36['hasOwnProperty']('commentId')&&!$util['isString'](_0x186f36['commentId'])?'commentId:\x20string\x20expected':null!=_0x186f36['commentThreadId']&&_0x186f36['hasOwnProperty']('commentThreadId')&&!$util['isString'](_0x186f36['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x186f36['userId']&&_0x186f36['hasOwnProperty']('userId')&&!$util['isString'](_0x186f36['userId'])?'userId:\x20string\x20expected':null!=_0x186f36['content']&&_0x186f36['hasOwnProperty']('content')&&!$util['isString'](_0x186f36['content'])?'content:\x20string\x20expected':null!=_0x186f36['documentId']&&_0x186f36['hasOwnProperty']('documentId')&&!$util['isString'](_0x186f36['documentId'])?'documentId:\x20string\x20expected':null!=_0x186f36['createdAt']&&_0x186f36['hasOwnProperty']('createdAt')&&!$util['isString'](_0x186f36['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x186f36['attributes']&&_0x186f36['hasOwnProperty']('attributes')&&!$util['isString'](_0x186f36['attributes'])?'attributes:\x20string\x20expected':null);},CommentDescriptor['fromObject']=function(object,_0x5e5fd3){if(object instanceof $root['CommentDescriptor'])return object;if(void 0x0===_0x5e5fd3&&(_0x5e5fd3=0x0),_0x5e5fd3>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3c32ed=new $root['CommentDescriptor']();return null!=object['commentId']&&(_0x3c32ed['commentId']=String(object['commentId'])),null!=object['commentThreadId']&&(_0x3c32ed['commentThreadId']=String(object['commentThreadId'])),null!=object['userId']&&(_0x3c32ed['userId']=String(object['userId'])),null!=object['content']&&(_0x3c32ed['content']=String(object['content'])),null!=object['documentId']&&(_0x3c32ed['documentId']=String(object['documentId'])),null!=object['createdAt']&&(_0x3c32ed['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x3c32ed['attributes']=String(object['attributes'])),_0x3c32ed;},CommentDescriptor['toObject']=function(_0x460b3e,options){options||(options={});var object={};return options['defaults']&&(object['commentId']='',object['commentThreadId']='',object['userId']='',object['content']='',object['documentId']='',object['createdAt']='',object['attributes']=''),null!=_0x460b3e['commentId']&&_0x460b3e['hasOwnProperty']('commentId')&&(object['commentId']=_0x460b3e['commentId']),null!=_0x460b3e['commentThreadId']&&_0x460b3e['hasOwnProperty']('commentThreadId')&&(object['commentThreadId']=_0x460b3e['commentThreadId']),null!=_0x460b3e['userId']&&_0x460b3e['hasOwnProperty']('userId')&&(object['userId']=_0x460b3e['userId']),null!=_0x460b3e['content']&&_0x460b3e['hasOwnProperty']('content')&&(object['content']=_0x460b3e['content']),null!=_0x460b3e['documentId']&&_0x460b3e['hasOwnProperty']('documentId')&&(object['documentId']=_0x460b3e['documentId']),null!=_0x460b3e['createdAt']&&_0x460b3e['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x460b3e['createdAt']),null!=_0x460b3e['attributes']&&_0x460b3e['hasOwnProperty']('attributes')&&(object['attributes']=_0x460b3e['attributes']),object;},CommentDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentDescriptor';},CommentDescriptor;}()),$root['GetDocumentDetailsResponse']=(function(){function GetDocumentDetailsResponse(properties){if(properties){for(var _0x5e4f9e=Object['keys'](properties),_0x1b6da6=0x0;_0x1b6da6<_0x5e4f9e['length'];++_0x1b6da6)null!=properties[_0x5e4f9e[_0x1b6da6]]&&'__proto__'!==_0x5e4f9e[_0x1b6da6]&&(this[_0x5e4f9e[_0x1b6da6]]=properties[_0x5e4f9e[_0x1b6da6]]);}}return GetDocumentDetailsResponse['prototype']['lastDocumentSessionId']='',GetDocumentDetailsResponse['prototype']['lastDocumentSessionOperationId']='',GetDocumentDetailsResponse['prototype']['currentDocumentSessionId']='',GetDocumentDetailsResponse['prototype']['currentDocumentSessionVersion']=0x0,GetDocumentDetailsResponse['prototype']['currentDocumentSessionOperationId']='',GetDocumentDetailsResponse['create']=function(properties){return new GetDocumentDetailsResponse(properties);},GetDocumentDetailsResponse['encode']=function(_0x6059cd,writer){return writer||(writer=$Writer['create']()),null!=_0x6059cd['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x6059cd,'lastDocumentSessionId')&&writer['uint32'](0xa)['string'](_0x6059cd['lastDocumentSessionId']),null!=_0x6059cd['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x6059cd,'lastDocumentSessionOperationId')&&writer['uint32'](0x12)['string'](_0x6059cd['lastDocumentSessionOperationId']),null!=_0x6059cd['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x6059cd,'currentDocumentSessionId')&&writer['uint32'](0x1a)['string'](_0x6059cd['currentDocumentSessionId']),null!=_0x6059cd['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x6059cd,'currentDocumentSessionVersion')&&writer['uint32'](0x20)['uint32'](_0x6059cd['currentDocumentSessionVersion']),null!=_0x6059cd['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x6059cd,'currentDocumentSessionOperationId')&&writer['uint32'](0x2a)['string'](_0x6059cd['currentDocumentSessionOperationId']),writer;},GetDocumentDetailsResponse['encodeDelimited']=function(_0x1dacf0,writer){return this['encode'](_0x1dacf0,writer)['ldelim']();},GetDocumentDetailsResponse['decode']=function(_0x4e4f35,length,_0x35b3e9,_0x3de197){if(_0x4e4f35 instanceof _0x2be071||(_0x4e4f35=_0x2be071['create'](_0x4e4f35)),void 0x0===_0x3de197&&(_0x3de197=0x0),_0x3de197>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x311419=void 0x0===length?_0x4e4f35['len']:_0x4e4f35['pos']+length,_0x23cb85=new $root['GetDocumentDetailsResponse']();_0x4e4f35['pos']<_0x311419;){var tag=_0x4e4f35['uint32']();if(tag===_0x35b3e9)break;switch(tag>>>0x3){case 0x1:_0x23cb85['lastDocumentSessionId']=_0x4e4f35['string']();break;case 0x2:_0x23cb85['lastDocumentSessionOperationId']=_0x4e4f35['string']();break;case 0x3:_0x23cb85['currentDocumentSessionId']=_0x4e4f35['string']();break;case 0x4:_0x23cb85['currentDocumentSessionVersion']=_0x4e4f35['uint32']();break;case 0x5:_0x23cb85['currentDocumentSessionOperationId']=_0x4e4f35['string']();break;default:_0x4e4f35['skipType'](0x7&tag,_0x3de197);}}return _0x23cb85;},GetDocumentDetailsResponse['decodeDelimited']=function(_0x46157b){return _0x46157b instanceof _0x2be071||(_0x46157b=new _0x2be071(_0x46157b)),this['decode'](_0x46157b,_0x46157b['uint32']());},GetDocumentDetailsResponse['verify']=function(_0x158f51,_0x1f6256){return'object'!=typeof _0x158f51||null===_0x158f51?'object\x20expected':(void 0x0===_0x1f6256&&(_0x1f6256=0x0),_0x1f6256>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x158f51['lastDocumentSessionId']&&_0x158f51['hasOwnProperty']('lastDocumentSessionId')&&!$util['isString'](_0x158f51['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x158f51['lastDocumentSessionOperationId']&&_0x158f51['hasOwnProperty']('lastDocumentSessionOperationId')&&!$util['isString'](_0x158f51['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x158f51['currentDocumentSessionId']&&_0x158f51['hasOwnProperty']('currentDocumentSessionId')&&!$util['isString'](_0x158f51['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x158f51['currentDocumentSessionVersion']&&_0x158f51['hasOwnProperty']('currentDocumentSessionVersion')&&!$util['isInteger'](_0x158f51['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x158f51['currentDocumentSessionOperationId']&&_0x158f51['hasOwnProperty']('currentDocumentSessionOperationId')&&!$util['isString'](_0x158f51['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},GetDocumentDetailsResponse['fromObject']=function(object,_0x5848fc){if(object instanceof $root['GetDocumentDetailsResponse'])return object;if(void 0x0===_0x5848fc&&(_0x5848fc=0x0),_0x5848fc>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x286531=new $root['GetDocumentDetailsResponse']();return null!=object['lastDocumentSessionId']&&(_0x286531['lastDocumentSessionId']=String(object['lastDocumentSessionId'])),null!=object['lastDocumentSessionOperationId']&&(_0x286531['lastDocumentSessionOperationId']=String(object['lastDocumentSessionOperationId'])),null!=object['currentDocumentSessionId']&&(_0x286531['currentDocumentSessionId']=String(object['currentDocumentSessionId'])),null!=object['currentDocumentSessionVersion']&&(_0x286531['currentDocumentSessionVersion']=object['currentDocumentSessionVersion']>>>0x0),null!=object['currentDocumentSessionOperationId']&&(_0x286531['currentDocumentSessionOperationId']=String(object['currentDocumentSessionOperationId'])),_0x286531;},GetDocumentDetailsResponse['toObject']=function(_0x5984fc,options){options||(options={});var object={};return options['defaults']&&(object['lastDocumentSessionId']='',object['lastDocumentSessionOperationId']='',object['currentDocumentSessionId']='',object['currentDocumentSessionVersion']=0x0,object['currentDocumentSessionOperationId']=''),null!=_0x5984fc['lastDocumentSessionId']&&_0x5984fc['hasOwnProperty']('lastDocumentSessionId')&&(object['lastDocumentSessionId']=_0x5984fc['lastDocumentSessionId']),null!=_0x5984fc['lastDocumentSessionOperationId']&&_0x5984fc['hasOwnProperty']('lastDocumentSessionOperationId')&&(object['lastDocumentSessionOperationId']=_0x5984fc['lastDocumentSessionOperationId']),null!=_0x5984fc['currentDocumentSessionId']&&_0x5984fc['hasOwnProperty']('currentDocumentSessionId')&&(object['currentDocumentSessionId']=_0x5984fc['currentDocumentSessionId']),null!=_0x5984fc['currentDocumentSessionVersion']&&_0x5984fc['hasOwnProperty']('currentDocumentSessionVersion')&&(object['currentDocumentSessionVersion']=_0x5984fc['currentDocumentSessionVersion']),null!=_0x5984fc['currentDocumentSessionOperationId']&&_0x5984fc['hasOwnProperty']('currentDocumentSessionOperationId')&&(object['currentDocumentSessionOperationId']=_0x5984fc['currentDocumentSessionOperationId']),object;},GetDocumentDetailsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetDocumentDetailsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetDocumentDetailsResponse';},GetDocumentDetailsResponse;}()),$root['CollaborativeEditingResponse']=(function(){function CollaborativeEditingResponse(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x2d68e7=Object['keys'](properties),_0x2a2726=0x0;_0x2a2726<_0x2d68e7['length'];++_0x2a2726)null!=properties[_0x2d68e7[_0x2a2726]]&&'__proto__'!==_0x2d68e7[_0x2a2726]&&(this[_0x2d68e7[_0x2a2726]]=properties[_0x2d68e7[_0x2a2726]]);}}return CollaborativeEditingResponse['prototype']['version']=0x0,CollaborativeEditingResponse['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['types']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['lastOperationId']='',CollaborativeEditingResponse['prototype']['lastOperationAcceptedAt']='',CollaborativeEditingResponse['create']=function(properties){return new CollaborativeEditingResponse(properties);},CollaborativeEditingResponse['encode']=function(_0x5eb1dd,writer){if(writer||(writer=$Writer['create']()),null!=_0x5eb1dd['version']&&Object['hasOwnProperty']['call'](_0x5eb1dd,'version')&&writer['uint32'](0x8)['uint32'](_0x5eb1dd['version']),null!=_0x5eb1dd['buffers']&&_0x5eb1dd['buffers']['length']){for(var _0x1146fa=0x0;_0x1146fa<_0x5eb1dd['buffers']['length'];++_0x1146fa)writer['uint32'](0x12)['bytes'](_0x5eb1dd['buffers'][_0x1146fa]);}if(null!=_0x5eb1dd['types']&&_0x5eb1dd['types']['length']){writer['uint32'](0x1a)['fork']();for(_0x1146fa=0x0;_0x1146fa<_0x5eb1dd['types']['length'];++_0x1146fa)writer['uint32'](_0x5eb1dd['types'][_0x1146fa]);writer['ldelim']();}if(null!=_0x5eb1dd['metadata']&&_0x5eb1dd['metadata']['length']){for(_0x1146fa=0x0;_0x1146fa<_0x5eb1dd['metadata']['length'];++_0x1146fa)$root['OperationMetadataDescriptor']['encode'](_0x5eb1dd['metadata'][_0x1146fa],writer['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x5eb1dd['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5eb1dd,'lastOperationId')&&writer['uint32'](0x32)['string'](_0x5eb1dd['lastOperationId']),null!=_0x5eb1dd['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x5eb1dd,'lastOperationAcceptedAt')&&writer['uint32'](0x3a)['string'](_0x5eb1dd['lastOperationAcceptedAt']),writer;},CollaborativeEditingResponse['encodeDelimited']=function(_0xf26e05,writer){return this['encode'](_0xf26e05,writer)['ldelim']();},CollaborativeEditingResponse['decode']=function(_0x27a1cc,length,_0x5ad64e,_0x50fbe0){if(_0x27a1cc instanceof _0x2be071||(_0x27a1cc=_0x2be071['create'](_0x27a1cc)),void 0x0===_0x50fbe0&&(_0x50fbe0=0x0),_0x50fbe0>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5178fc=void 0x0===length?_0x27a1cc['len']:_0x27a1cc['pos']+length,_0x3dbf56=new $root['CollaborativeEditingResponse']();_0x27a1cc['pos']<_0x5178fc;){var tag=_0x27a1cc['uint32']();if(tag===_0x5ad64e)break;switch(tag>>>0x3){case 0x1:_0x3dbf56['version']=_0x27a1cc['uint32']();break;case 0x2:_0x3dbf56['buffers']&&_0x3dbf56['buffers']['length']||(_0x3dbf56['buffers']=[]),_0x3dbf56['buffers']['push'](_0x27a1cc['bytes']());break;case 0x3:if(_0x3dbf56['types']&&_0x3dbf56['types']['length']||(_0x3dbf56['types']=[]),0x2==(0x7&tag)){for(var _0x40f412=_0x27a1cc['uint32']()+_0x27a1cc['pos'];_0x27a1cc['pos']<_0x40f412;)_0x3dbf56['types']['push'](_0x27a1cc['uint32']());}else _0x3dbf56['types']['push'](_0x27a1cc['uint32']());break;case 0x5:_0x3dbf56['metadata']&&_0x3dbf56['metadata']['length']||(_0x3dbf56['metadata']=[]),_0x3dbf56['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x27a1cc,_0x27a1cc['uint32'](),void 0x0,_0x50fbe0+0x1));break;case 0x6:_0x3dbf56['lastOperationId']=_0x27a1cc['string']();break;case 0x7:_0x3dbf56['lastOperationAcceptedAt']=_0x27a1cc['string']();break;default:_0x27a1cc['skipType'](0x7&tag,_0x50fbe0);}}return _0x3dbf56;},CollaborativeEditingResponse['decodeDelimited']=function(_0x2085ca){return _0x2085ca instanceof _0x2be071||(_0x2085ca=new _0x2be071(_0x2085ca)),this['decode'](_0x2085ca,_0x2085ca['uint32']());},CollaborativeEditingResponse['verify']=function(_0x553c62,_0x36df20){if('object'!=typeof _0x553c62||null===_0x553c62)return'object\x20expected';if(void 0x0===_0x36df20&&(_0x36df20=0x0),_0x36df20>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x553c62['version']&&_0x553c62['hasOwnProperty']('version')&&!$util['isInteger'](_0x553c62['version']))return'version:\x20integer\x20expected';if(null!=_0x553c62['buffers']&&_0x553c62['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x553c62['buffers']))return'buffers:\x20array\x20expected';for(var _0x36f4ac=0x0;_0x36f4ac<_0x553c62['buffers']['length'];++_0x36f4ac)if(!(_0x553c62['buffers'][_0x36f4ac]&&'number'==typeof _0x553c62['buffers'][_0x36f4ac]['length']||$util['isString'](_0x553c62['buffers'][_0x36f4ac])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x553c62['types']&&_0x553c62['hasOwnProperty']('types')){if(!Array['isArray'](_0x553c62['types']))return'types:\x20array\x20expected';for(_0x36f4ac=0x0;_0x36f4ac<_0x553c62['types']['length'];++_0x36f4ac)if(!$util['isInteger'](_0x553c62['types'][_0x36f4ac]))return'types:\x20integer[]\x20expected';}if(null!=_0x553c62['metadata']&&_0x553c62['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x553c62['metadata']))return'metadata:\x20array\x20expected';for(_0x36f4ac=0x0;_0x36f4ac<_0x553c62['metadata']['length'];++_0x36f4ac){var _0x37c46e=$root['OperationMetadataDescriptor']['verify'](_0x553c62['metadata'][_0x36f4ac],_0x36df20+0x1);if(_0x37c46e)return'metadata.'+_0x37c46e;}}return null!=_0x553c62['lastOperationId']&&_0x553c62['hasOwnProperty']('lastOperationId')&&!$util['isString'](_0x553c62['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x553c62['lastOperationAcceptedAt']&&_0x553c62['hasOwnProperty']('lastOperationAcceptedAt')&&!$util['isString'](_0x553c62['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},CollaborativeEditingResponse['fromObject']=function(object,_0x3906f7){if(object instanceof $root['CollaborativeEditingResponse'])return object;if(void 0x0===_0x3906f7&&(_0x3906f7=0x0),_0x3906f7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2acce1=new $root['CollaborativeEditingResponse']();if(null!=object['version']&&(_0x2acce1['version']=object['version']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x2acce1['buffers']=[];for(var _0x544c9d=0x0;_0x544c9d<object['buffers']['length'];++_0x544c9d)'string'==typeof object['buffers'][_0x544c9d]?$util['base64']['decode'](object['buffers'][_0x544c9d],_0x2acce1['buffers'][_0x544c9d]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x544c9d])),0x0):object['buffers'][_0x544c9d]['length']>=0x0&&(_0x2acce1['buffers'][_0x544c9d]=object['buffers'][_0x544c9d]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');_0x2acce1['types']=[];for(_0x544c9d=0x0;_0x544c9d<object['types']['length'];++_0x544c9d)_0x2acce1['types'][_0x544c9d]=object['types'][_0x544c9d]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');_0x2acce1['metadata']=[];for(_0x544c9d=0x0;_0x544c9d<object['metadata']['length'];++_0x544c9d){if('object'!=typeof object['metadata'][_0x544c9d])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x2acce1['metadata'][_0x544c9d]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x544c9d],_0x3906f7+0x1);}}return null!=object['lastOperationId']&&(_0x2acce1['lastOperationId']=String(object['lastOperationId'])),null!=object['lastOperationAcceptedAt']&&(_0x2acce1['lastOperationAcceptedAt']=String(object['lastOperationAcceptedAt'])),_0x2acce1;},CollaborativeEditingResponse['toObject']=function(_0x22932e,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['version']=0x0,object['lastOperationId']='',object['lastOperationAcceptedAt']=''),null!=_0x22932e['version']&&_0x22932e['hasOwnProperty']('version')&&(object['version']=_0x22932e['version']),_0x22932e['buffers']&&_0x22932e['buffers']['length']){object['buffers']=[];for(var _0x1de95e=0x0;_0x1de95e<_0x22932e['buffers']['length'];++_0x1de95e)object['buffers'][_0x1de95e]=options['bytes']===String?$util['base64']['encode'](_0x22932e['buffers'][_0x1de95e],0x0,_0x22932e['buffers'][_0x1de95e]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x22932e['buffers'][_0x1de95e]):_0x22932e['buffers'][_0x1de95e];}if(_0x22932e['types']&&_0x22932e['types']['length']){object['types']=[];for(_0x1de95e=0x0;_0x1de95e<_0x22932e['types']['length'];++_0x1de95e)object['types'][_0x1de95e]=_0x22932e['types'][_0x1de95e];}if(_0x22932e['metadata']&&_0x22932e['metadata']['length']){object['metadata']=[];for(_0x1de95e=0x0;_0x1de95e<_0x22932e['metadata']['length'];++_0x1de95e)object['metadata'][_0x1de95e]=$root['OperationMetadataDescriptor']['toObject'](_0x22932e['metadata'][_0x1de95e],options);}return null!=_0x22932e['lastOperationId']&&_0x22932e['hasOwnProperty']('lastOperationId')&&(object['lastOperationId']=_0x22932e['lastOperationId']),null!=_0x22932e['lastOperationAcceptedAt']&&_0x22932e['hasOwnProperty']('lastOperationAcceptedAt')&&(object['lastOperationAcceptedAt']=_0x22932e['lastOperationAcceptedAt']),object;},CollaborativeEditingResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingResponse';},CollaborativeEditingResponse;}()),$root['CollaborativeEditingConnectResponse']=(function(){function CollaborativeEditingConnectResponse(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x4ade56=Object['keys'](properties),_0x206663=0x0;_0x206663<_0x4ade56['length'];++_0x206663)null!=properties[_0x4ade56[_0x206663]]&&'__proto__'!==_0x4ade56[_0x206663]&&(this[_0x4ade56[_0x206663]]=properties[_0x4ade56[_0x206663]]);}}return CollaborativeEditingConnectResponse['prototype']['channel']='',CollaborativeEditingConnectResponse['prototype']['offset']=0x0,CollaborativeEditingConnectResponse['prototype']['version']=0x0,CollaborativeEditingConnectResponse['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['types']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['initData']='',CollaborativeEditingConnectResponse['prototype']['isInitialized']=!0x1,CollaborativeEditingConnectResponse['prototype']['sessionId']='',CollaborativeEditingConnectResponse['prototype']['lastOperationId']='',CollaborativeEditingConnectResponse['prototype']['sessionCreatedAt']='',CollaborativeEditingConnectResponse['create']=function(properties){return new CollaborativeEditingConnectResponse(properties);},CollaborativeEditingConnectResponse['encode']=function(_0x15c8d3,writer){if(writer||(writer=$Writer['create']()),null!=_0x15c8d3['channel']&&Object['hasOwnProperty']['call'](_0x15c8d3,'channel')&&writer['uint32'](0xa)['string'](_0x15c8d3['channel']),null!=_0x15c8d3['offset']&&Object['hasOwnProperty']['call'](_0x15c8d3,'offset')&&writer['uint32'](0x10)['uint32'](_0x15c8d3['offset']),null!=_0x15c8d3['version']&&Object['hasOwnProperty']['call'](_0x15c8d3,'version')&&writer['uint32'](0x18)['uint32'](_0x15c8d3['version']),null!=_0x15c8d3['buffers']&&_0x15c8d3['buffers']['length']){for(var _0x2b9b7c=0x0;_0x2b9b7c<_0x15c8d3['buffers']['length'];++_0x2b9b7c)writer['uint32'](0x22)['bytes'](_0x15c8d3['buffers'][_0x2b9b7c]);}if(null!=_0x15c8d3['types']&&_0x15c8d3['types']['length']){writer['uint32'](0x2a)['fork']();for(_0x2b9b7c=0x0;_0x2b9b7c<_0x15c8d3['types']['length'];++_0x2b9b7c)writer['uint32'](_0x15c8d3['types'][_0x2b9b7c]);writer['ldelim']();}if(null!=_0x15c8d3['metadata']&&_0x15c8d3['metadata']['length']){for(_0x2b9b7c=0x0;_0x2b9b7c<_0x15c8d3['metadata']['length'];++_0x2b9b7c)$root['OperationMetadataDescriptor']['encode'](_0x15c8d3['metadata'][_0x2b9b7c],writer['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x15c8d3['initData']&&Object['hasOwnProperty']['call'](_0x15c8d3,'initData')&&writer['uint32'](0x42)['string'](_0x15c8d3['initData']),null!=_0x15c8d3['isInitialized']&&Object['hasOwnProperty']['call'](_0x15c8d3,'isInitialized')&&writer['uint32'](0x48)['bool'](_0x15c8d3['isInitialized']),null!=_0x15c8d3['sessionId']&&Object['hasOwnProperty']['call'](_0x15c8d3,'sessionId')&&writer['uint32'](0x52)['string'](_0x15c8d3['sessionId']),null!=_0x15c8d3['lastOperationId']&&Object['hasOwnProperty']['call'](_0x15c8d3,'lastOperationId')&&writer['uint32'](0x5a)['string'](_0x15c8d3['lastOperationId']),null!=_0x15c8d3['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x15c8d3,'sessionCreatedAt')&&writer['uint32'](0x62)['string'](_0x15c8d3['sessionCreatedAt']),writer;},CollaborativeEditingConnectResponse['encodeDelimited']=function(_0x47ea80,writer){return this['encode'](_0x47ea80,writer)['ldelim']();},CollaborativeEditingConnectResponse['decode']=function(_0x43c83,length,_0x1a5ae0,_0x3a88ad){if(_0x43c83 instanceof _0x2be071||(_0x43c83=_0x2be071['create'](_0x43c83)),void 0x0===_0x3a88ad&&(_0x3a88ad=0x0),_0x3a88ad>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x153648=void 0x0===length?_0x43c83['len']:_0x43c83['pos']+length,_0x2ac583=new $root['CollaborativeEditingConnectResponse']();_0x43c83['pos']<_0x153648;){var tag=_0x43c83['uint32']();if(tag===_0x1a5ae0)break;switch(tag>>>0x3){case 0x1:_0x2ac583['channel']=_0x43c83['string']();break;case 0x2:_0x2ac583['offset']=_0x43c83['uint32']();break;case 0x3:_0x2ac583['version']=_0x43c83['uint32']();break;case 0x4:_0x2ac583['buffers']&&_0x2ac583['buffers']['length']||(_0x2ac583['buffers']=[]),_0x2ac583['buffers']['push'](_0x43c83['bytes']());break;case 0x5:if(_0x2ac583['types']&&_0x2ac583['types']['length']||(_0x2ac583['types']=[]),0x2==(0x7&tag)){for(var _0x2aa182=_0x43c83['uint32']()+_0x43c83['pos'];_0x43c83['pos']<_0x2aa182;)_0x2ac583['types']['push'](_0x43c83['uint32']());}else _0x2ac583['types']['push'](_0x43c83['uint32']());break;case 0x7:_0x2ac583['metadata']&&_0x2ac583['metadata']['length']||(_0x2ac583['metadata']=[]),_0x2ac583['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x43c83,_0x43c83['uint32'](),void 0x0,_0x3a88ad+0x1));break;case 0x8:_0x2ac583['initData']=_0x43c83['string']();break;case 0x9:_0x2ac583['isInitialized']=_0x43c83['bool']();break;case 0xa:_0x2ac583['sessionId']=_0x43c83['string']();break;case 0xb:_0x2ac583['lastOperationId']=_0x43c83['string']();break;case 0xc:_0x2ac583['sessionCreatedAt']=_0x43c83['string']();break;default:_0x43c83['skipType'](0x7&tag,_0x3a88ad);}}return _0x2ac583;},CollaborativeEditingConnectResponse['decodeDelimited']=function(_0x3aca4b){return _0x3aca4b instanceof _0x2be071||(_0x3aca4b=new _0x2be071(_0x3aca4b)),this['decode'](_0x3aca4b,_0x3aca4b['uint32']());},CollaborativeEditingConnectResponse['verify']=function(_0x495041,_0x52457b){if('object'!=typeof _0x495041||null===_0x495041)return'object\x20expected';if(void 0x0===_0x52457b&&(_0x52457b=0x0),_0x52457b>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x495041['channel']&&_0x495041['hasOwnProperty']('channel')&&!$util['isString'](_0x495041['channel']))return'channel:\x20string\x20expected';if(null!=_0x495041['offset']&&_0x495041['hasOwnProperty']('offset')&&!$util['isInteger'](_0x495041['offset']))return'offset:\x20integer\x20expected';if(null!=_0x495041['version']&&_0x495041['hasOwnProperty']('version')&&!$util['isInteger'](_0x495041['version']))return'version:\x20integer\x20expected';if(null!=_0x495041['buffers']&&_0x495041['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x495041['buffers']))return'buffers:\x20array\x20expected';for(var _0x2c5e8b=0x0;_0x2c5e8b<_0x495041['buffers']['length'];++_0x2c5e8b)if(!(_0x495041['buffers'][_0x2c5e8b]&&'number'==typeof _0x495041['buffers'][_0x2c5e8b]['length']||$util['isString'](_0x495041['buffers'][_0x2c5e8b])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x495041['types']&&_0x495041['hasOwnProperty']('types')){if(!Array['isArray'](_0x495041['types']))return'types:\x20array\x20expected';for(_0x2c5e8b=0x0;_0x2c5e8b<_0x495041['types']['length'];++_0x2c5e8b)if(!$util['isInteger'](_0x495041['types'][_0x2c5e8b]))return'types:\x20integer[]\x20expected';}if(null!=_0x495041['metadata']&&_0x495041['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x495041['metadata']))return'metadata:\x20array\x20expected';for(_0x2c5e8b=0x0;_0x2c5e8b<_0x495041['metadata']['length'];++_0x2c5e8b){var _0x24a064=$root['OperationMetadataDescriptor']['verify'](_0x495041['metadata'][_0x2c5e8b],_0x52457b+0x1);if(_0x24a064)return'metadata.'+_0x24a064;}}return null!=_0x495041['initData']&&_0x495041['hasOwnProperty']('initData')&&!$util['isString'](_0x495041['initData'])?'initData:\x20string\x20expected':null!=_0x495041['isInitialized']&&_0x495041['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x495041['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x495041['sessionId']&&_0x495041['hasOwnProperty']('sessionId')&&!$util['isString'](_0x495041['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x495041['lastOperationId']&&_0x495041['hasOwnProperty']('lastOperationId')&&!$util['isString'](_0x495041['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x495041['sessionCreatedAt']&&_0x495041['hasOwnProperty']('sessionCreatedAt')&&!$util['isString'](_0x495041['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},CollaborativeEditingConnectResponse['fromObject']=function(object,_0x1ac244){if(object instanceof $root['CollaborativeEditingConnectResponse'])return object;if(void 0x0===_0x1ac244&&(_0x1ac244=0x0),_0x1ac244>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4d24fb=new $root['CollaborativeEditingConnectResponse']();if(null!=object['channel']&&(_0x4d24fb['channel']=String(object['channel'])),null!=object['offset']&&(_0x4d24fb['offset']=object['offset']>>>0x0),null!=object['version']&&(_0x4d24fb['version']=object['version']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x4d24fb['buffers']=[];for(var _0x2df892=0x0;_0x2df892<object['buffers']['length'];++_0x2df892)'string'==typeof object['buffers'][_0x2df892]?$util['base64']['decode'](object['buffers'][_0x2df892],_0x4d24fb['buffers'][_0x2df892]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x2df892])),0x0):object['buffers'][_0x2df892]['length']>=0x0&&(_0x4d24fb['buffers'][_0x2df892]=object['buffers'][_0x2df892]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');_0x4d24fb['types']=[];for(_0x2df892=0x0;_0x2df892<object['types']['length'];++_0x2df892)_0x4d24fb['types'][_0x2df892]=object['types'][_0x2df892]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');_0x4d24fb['metadata']=[];for(_0x2df892=0x0;_0x2df892<object['metadata']['length'];++_0x2df892){if('object'!=typeof object['metadata'][_0x2df892])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x4d24fb['metadata'][_0x2df892]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x2df892],_0x1ac244+0x1);}}return null!=object['initData']&&(_0x4d24fb['initData']=String(object['initData'])),null!=object['isInitialized']&&(_0x4d24fb['isInitialized']=Boolean(object['isInitialized'])),null!=object['sessionId']&&(_0x4d24fb['sessionId']=String(object['sessionId'])),null!=object['lastOperationId']&&(_0x4d24fb['lastOperationId']=String(object['lastOperationId'])),null!=object['sessionCreatedAt']&&(_0x4d24fb['sessionCreatedAt']=String(object['sessionCreatedAt'])),_0x4d24fb;},CollaborativeEditingConnectResponse['toObject']=function(_0x4d11ba,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['channel']='',object['offset']=0x0,object['version']=0x0,object['initData']='',object['isInitialized']=!0x1,object['sessionId']='',object['lastOperationId']='',object['sessionCreatedAt']=''),null!=_0x4d11ba['channel']&&_0x4d11ba['hasOwnProperty']('channel')&&(object['channel']=_0x4d11ba['channel']),null!=_0x4d11ba['offset']&&_0x4d11ba['hasOwnProperty']('offset')&&(object['offset']=_0x4d11ba['offset']),null!=_0x4d11ba['version']&&_0x4d11ba['hasOwnProperty']('version')&&(object['version']=_0x4d11ba['version']),_0x4d11ba['buffers']&&_0x4d11ba['buffers']['length']){object['buffers']=[];for(var _0x236fac=0x0;_0x236fac<_0x4d11ba['buffers']['length'];++_0x236fac)object['buffers'][_0x236fac]=options['bytes']===String?$util['base64']['encode'](_0x4d11ba['buffers'][_0x236fac],0x0,_0x4d11ba['buffers'][_0x236fac]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x4d11ba['buffers'][_0x236fac]):_0x4d11ba['buffers'][_0x236fac];}if(_0x4d11ba['types']&&_0x4d11ba['types']['length']){object['types']=[];for(_0x236fac=0x0;_0x236fac<_0x4d11ba['types']['length'];++_0x236fac)object['types'][_0x236fac]=_0x4d11ba['types'][_0x236fac];}if(_0x4d11ba['metadata']&&_0x4d11ba['metadata']['length']){object['metadata']=[];for(_0x236fac=0x0;_0x236fac<_0x4d11ba['metadata']['length'];++_0x236fac)object['metadata'][_0x236fac]=$root['OperationMetadataDescriptor']['toObject'](_0x4d11ba['metadata'][_0x236fac],options);}return null!=_0x4d11ba['initData']&&_0x4d11ba['hasOwnProperty']('initData')&&(object['initData']=_0x4d11ba['initData']),null!=_0x4d11ba['isInitialized']&&_0x4d11ba['hasOwnProperty']('isInitialized')&&(object['isInitialized']=_0x4d11ba['isInitialized']),null!=_0x4d11ba['sessionId']&&_0x4d11ba['hasOwnProperty']('sessionId')&&(object['sessionId']=_0x4d11ba['sessionId']),null!=_0x4d11ba['lastOperationId']&&_0x4d11ba['hasOwnProperty']('lastOperationId')&&(object['lastOperationId']=_0x4d11ba['lastOperationId']),null!=_0x4d11ba['sessionCreatedAt']&&_0x4d11ba['hasOwnProperty']('sessionCreatedAt')&&(object['sessionCreatedAt']=_0x4d11ba['sessionCreatedAt']),object;},CollaborativeEditingConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingConnectResponse';},CollaborativeEditingConnectResponse;}()),$root['GetDocumentDetailsMessage']=(function(){function GetDocumentDetailsMessage(properties){if(properties){for(var _0x143a3e=Object['keys'](properties),_0x4d7f64=0x0;_0x4d7f64<_0x143a3e['length'];++_0x4d7f64)null!=properties[_0x143a3e[_0x4d7f64]]&&'__proto__'!==_0x143a3e[_0x4d7f64]&&(this[_0x143a3e[_0x4d7f64]]=properties[_0x143a3e[_0x4d7f64]]);}}return GetDocumentDetailsMessage['prototype']['documentId']='',GetDocumentDetailsMessage['prototype']['environmentId']='',GetDocumentDetailsMessage['create']=function(properties){return new GetDocumentDetailsMessage(properties);},GetDocumentDetailsMessage['encode']=function(_0x24b8ce,writer){return writer||(writer=$Writer['create']()),null!=_0x24b8ce['documentId']&&Object['hasOwnProperty']['call'](_0x24b8ce,'documentId')&&writer['uint32'](0xa)['string'](_0x24b8ce['documentId']),null!=_0x24b8ce['environmentId']&&Object['hasOwnProperty']['call'](_0x24b8ce,'environmentId')&&writer['uint32'](0x12)['string'](_0x24b8ce['environmentId']),writer;},GetDocumentDetailsMessage['encodeDelimited']=function(_0xd18f54,writer){return this['encode'](_0xd18f54,writer)['ldelim']();},GetDocumentDetailsMessage['decode']=function(_0x4b644f,length,_0x39e85c,_0x3a60ad){if(_0x4b644f instanceof _0x2be071||(_0x4b644f=_0x2be071['create'](_0x4b644f)),void 0x0===_0x3a60ad&&(_0x3a60ad=0x0),_0x3a60ad>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x443862=void 0x0===length?_0x4b644f['len']:_0x4b644f['pos']+length,_0x2b3c85=new $root['GetDocumentDetailsMessage']();_0x4b644f['pos']<_0x443862;){var tag=_0x4b644f['uint32']();if(tag===_0x39e85c)break;switch(tag>>>0x3){case 0x1:_0x2b3c85['documentId']=_0x4b644f['string']();break;case 0x2:_0x2b3c85['environmentId']=_0x4b644f['string']();break;default:_0x4b644f['skipType'](0x7&tag,_0x3a60ad);}}return _0x2b3c85;},GetDocumentDetailsMessage['decodeDelimited']=function(_0x108cf7){return _0x108cf7 instanceof _0x2be071||(_0x108cf7=new _0x2be071(_0x108cf7)),this['decode'](_0x108cf7,_0x108cf7['uint32']());},GetDocumentDetailsMessage['verify']=function(_0x5376ab,_0x53bceb){return'object'!=typeof _0x5376ab||null===_0x5376ab?'object\x20expected':(void 0x0===_0x53bceb&&(_0x53bceb=0x0),_0x53bceb>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5376ab['documentId']&&_0x5376ab['hasOwnProperty']('documentId')&&!$util['isString'](_0x5376ab['documentId'])?'documentId:\x20string\x20expected':null!=_0x5376ab['environmentId']&&_0x5376ab['hasOwnProperty']('environmentId')&&!$util['isString'](_0x5376ab['environmentId'])?'environmentId:\x20string\x20expected':null);},GetDocumentDetailsMessage['fromObject']=function(object,_0x3fecdb){if(object instanceof $root['GetDocumentDetailsMessage'])return object;if(void 0x0===_0x3fecdb&&(_0x3fecdb=0x0),_0x3fecdb>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x16be72=new $root['GetDocumentDetailsMessage']();return null!=object['documentId']&&(_0x16be72['documentId']=String(object['documentId'])),null!=object['environmentId']&&(_0x16be72['environmentId']=String(object['environmentId'])),_0x16be72;},GetDocumentDetailsMessage['toObject']=function(_0x3ae7f1,options){options||(options={});var object={};return options['defaults']&&(object['documentId']='',object['environmentId']=''),null!=_0x3ae7f1['documentId']&&_0x3ae7f1['hasOwnProperty']('documentId')&&(object['documentId']=_0x3ae7f1['documentId']),null!=_0x3ae7f1['environmentId']&&_0x3ae7f1['hasOwnProperty']('environmentId')&&(object['environmentId']=_0x3ae7f1['environmentId']),object;},GetDocumentDetailsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetDocumentDetailsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetDocumentDetailsMessage';},GetDocumentDetailsMessage;}()),$root['CollaborativeEditingUpdateMessage']=(function(){function CollaborativeEditingUpdateMessage(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x544d02=Object['keys'](properties),_0x489e25=0x0;_0x489e25<_0x544d02['length'];++_0x489e25)null!=properties[_0x544d02[_0x489e25]]&&'__proto__'!==_0x544d02[_0x489e25]&&(this[_0x544d02[_0x489e25]]=properties[_0x544d02[_0x489e25]]);}}return CollaborativeEditingUpdateMessage['prototype']['id']='',CollaborativeEditingUpdateMessage['prototype']['baseVersion']=0x0,CollaborativeEditingUpdateMessage['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['types']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['lastOperationId']='',CollaborativeEditingUpdateMessage['create']=function(properties){return new CollaborativeEditingUpdateMessage(properties);},CollaborativeEditingUpdateMessage['encode']=function(_0x3bab73,writer){if(writer||(writer=$Writer['create']()),null!=_0x3bab73['id']&&Object['hasOwnProperty']['call'](_0x3bab73,'id')&&writer['uint32'](0xa)['string'](_0x3bab73['id']),null!=_0x3bab73['baseVersion']&&Object['hasOwnProperty']['call'](_0x3bab73,'baseVersion')&&writer['uint32'](0x10)['uint32'](_0x3bab73['baseVersion']),null!=_0x3bab73['buffers']&&_0x3bab73['buffers']['length']){for(var _0x98b31=0x0;_0x98b31<_0x3bab73['buffers']['length'];++_0x98b31)writer['uint32'](0x1a)['bytes'](_0x3bab73['buffers'][_0x98b31]);}if(null!=_0x3bab73['types']&&_0x3bab73['types']['length']){writer['uint32'](0x22)['fork']();for(_0x98b31=0x0;_0x98b31<_0x3bab73['types']['length'];++_0x98b31)writer['uint32'](_0x3bab73['types'][_0x98b31]);writer['ldelim']();}if(null!=_0x3bab73['metadata']&&_0x3bab73['metadata']['length']){for(_0x98b31=0x0;_0x98b31<_0x3bab73['metadata']['length'];++_0x98b31)$root['OperationMetadataDescriptor']['encode'](_0x3bab73['metadata'][_0x98b31],writer['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x3bab73['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3bab73,'lastOperationId')&&writer['uint32'](0x3a)['string'](_0x3bab73['lastOperationId']),writer;},CollaborativeEditingUpdateMessage['encodeDelimited']=function(_0x1408e3,writer){return this['encode'](_0x1408e3,writer)['ldelim']();},CollaborativeEditingUpdateMessage['decode']=function(_0x90350a,length,_0x3f924b,_0x5c0f51){if(_0x90350a instanceof _0x2be071||(_0x90350a=_0x2be071['create'](_0x90350a)),void 0x0===_0x5c0f51&&(_0x5c0f51=0x0),_0x5c0f51>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x33824c=void 0x0===length?_0x90350a['len']:_0x90350a['pos']+length,_0x23993f=new $root['CollaborativeEditingUpdateMessage']();_0x90350a['pos']<_0x33824c;){var tag=_0x90350a['uint32']();if(tag===_0x3f924b)break;switch(tag>>>0x3){case 0x1:_0x23993f['id']=_0x90350a['string']();break;case 0x2:_0x23993f['baseVersion']=_0x90350a['uint32']();break;case 0x3:_0x23993f['buffers']&&_0x23993f['buffers']['length']||(_0x23993f['buffers']=[]),_0x23993f['buffers']['push'](_0x90350a['bytes']());break;case 0x4:if(_0x23993f['types']&&_0x23993f['types']['length']||(_0x23993f['types']=[]),0x2==(0x7&tag)){for(var _0xa23347=_0x90350a['uint32']()+_0x90350a['pos'];_0x90350a['pos']<_0xa23347;)_0x23993f['types']['push'](_0x90350a['uint32']());}else _0x23993f['types']['push'](_0x90350a['uint32']());break;case 0x6:_0x23993f['metadata']&&_0x23993f['metadata']['length']||(_0x23993f['metadata']=[]),_0x23993f['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x90350a,_0x90350a['uint32'](),void 0x0,_0x5c0f51+0x1));break;case 0x7:_0x23993f['lastOperationId']=_0x90350a['string']();break;default:_0x90350a['skipType'](0x7&tag,_0x5c0f51);}}return _0x23993f;},CollaborativeEditingUpdateMessage['decodeDelimited']=function(_0x323e1f){return _0x323e1f instanceof _0x2be071||(_0x323e1f=new _0x2be071(_0x323e1f)),this['decode'](_0x323e1f,_0x323e1f['uint32']());},CollaborativeEditingUpdateMessage['verify']=function(_0x25b948,_0x15f76c){if('object'!=typeof _0x25b948||null===_0x25b948)return'object\x20expected';if(void 0x0===_0x15f76c&&(_0x15f76c=0x0),_0x15f76c>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x25b948['id']&&_0x25b948['hasOwnProperty']('id')&&!$util['isString'](_0x25b948['id']))return'id:\x20string\x20expected';if(null!=_0x25b948['baseVersion']&&_0x25b948['hasOwnProperty']('baseVersion')&&!$util['isInteger'](_0x25b948['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x25b948['buffers']&&_0x25b948['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x25b948['buffers']))return'buffers:\x20array\x20expected';for(var _0x44ce2d=0x0;_0x44ce2d<_0x25b948['buffers']['length'];++_0x44ce2d)if(!(_0x25b948['buffers'][_0x44ce2d]&&'number'==typeof _0x25b948['buffers'][_0x44ce2d]['length']||$util['isString'](_0x25b948['buffers'][_0x44ce2d])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x25b948['types']&&_0x25b948['hasOwnProperty']('types')){if(!Array['isArray'](_0x25b948['types']))return'types:\x20array\x20expected';for(_0x44ce2d=0x0;_0x44ce2d<_0x25b948['types']['length'];++_0x44ce2d)if(!$util['isInteger'](_0x25b948['types'][_0x44ce2d]))return'types:\x20integer[]\x20expected';}if(null!=_0x25b948['metadata']&&_0x25b948['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x25b948['metadata']))return'metadata:\x20array\x20expected';for(_0x44ce2d=0x0;_0x44ce2d<_0x25b948['metadata']['length'];++_0x44ce2d){var _0x376ef7=$root['OperationMetadataDescriptor']['verify'](_0x25b948['metadata'][_0x44ce2d],_0x15f76c+0x1);if(_0x376ef7)return'metadata.'+_0x376ef7;}}return null!=_0x25b948['lastOperationId']&&_0x25b948['hasOwnProperty']('lastOperationId')&&!$util['isString'](_0x25b948['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},CollaborativeEditingUpdateMessage['fromObject']=function(object,_0x3bf8cd){if(object instanceof $root['CollaborativeEditingUpdateMessage'])return object;if(void 0x0===_0x3bf8cd&&(_0x3bf8cd=0x0),_0x3bf8cd>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1bb10f=new $root['CollaborativeEditingUpdateMessage']();if(null!=object['id']&&(_0x1bb10f['id']=String(object['id'])),null!=object['baseVersion']&&(_0x1bb10f['baseVersion']=object['baseVersion']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x1bb10f['buffers']=[];for(var _0x27acd1=0x0;_0x27acd1<object['buffers']['length'];++_0x27acd1)'string'==typeof object['buffers'][_0x27acd1]?$util['base64']['decode'](object['buffers'][_0x27acd1],_0x1bb10f['buffers'][_0x27acd1]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x27acd1])),0x0):object['buffers'][_0x27acd1]['length']>=0x0&&(_0x1bb10f['buffers'][_0x27acd1]=object['buffers'][_0x27acd1]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');_0x1bb10f['types']=[];for(_0x27acd1=0x0;_0x27acd1<object['types']['length'];++_0x27acd1)_0x1bb10f['types'][_0x27acd1]=object['types'][_0x27acd1]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');_0x1bb10f['metadata']=[];for(_0x27acd1=0x0;_0x27acd1<object['metadata']['length'];++_0x27acd1){if('object'!=typeof object['metadata'][_0x27acd1])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x1bb10f['metadata'][_0x27acd1]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x27acd1],_0x3bf8cd+0x1);}}return null!=object['lastOperationId']&&(_0x1bb10f['lastOperationId']=String(object['lastOperationId'])),_0x1bb10f;},CollaborativeEditingUpdateMessage['toObject']=function(_0x34bf22,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['id']='',object['baseVersion']=0x0,object['lastOperationId']=''),null!=_0x34bf22['id']&&_0x34bf22['hasOwnProperty']('id')&&(object['id']=_0x34bf22['id']),null!=_0x34bf22['baseVersion']&&_0x34bf22['hasOwnProperty']('baseVersion')&&(object['baseVersion']=_0x34bf22['baseVersion']),_0x34bf22['buffers']&&_0x34bf22['buffers']['length']){object['buffers']=[];for(var _0x4ee290=0x0;_0x4ee290<_0x34bf22['buffers']['length'];++_0x4ee290)object['buffers'][_0x4ee290]=options['bytes']===String?$util['base64']['encode'](_0x34bf22['buffers'][_0x4ee290],0x0,_0x34bf22['buffers'][_0x4ee290]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x34bf22['buffers'][_0x4ee290]):_0x34bf22['buffers'][_0x4ee290];}if(_0x34bf22['types']&&_0x34bf22['types']['length']){object['types']=[];for(_0x4ee290=0x0;_0x4ee290<_0x34bf22['types']['length'];++_0x4ee290)object['types'][_0x4ee290]=_0x34bf22['types'][_0x4ee290];}if(_0x34bf22['metadata']&&_0x34bf22['metadata']['length']){object['metadata']=[];for(_0x4ee290=0x0;_0x4ee290<_0x34bf22['metadata']['length'];++_0x4ee290)object['metadata'][_0x4ee290]=$root['OperationMetadataDescriptor']['toObject'](_0x34bf22['metadata'][_0x4ee290],options);}return null!=_0x34bf22['lastOperationId']&&_0x34bf22['hasOwnProperty']('lastOperationId')&&(object['lastOperationId']=_0x34bf22['lastOperationId']),object;},CollaborativeEditingUpdateMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingUpdateMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingUpdateMessage';},CollaborativeEditingUpdateMessage;}()),$root['CollaborativeEditingReconnectMessage']=(function(){function CollaborativeEditingReconnectMessage(properties){if(properties){for(var _0x123acf=Object['keys'](properties),_0x4e341c=0x0;_0x4e341c<_0x123acf['length'];++_0x4e341c)null!=properties[_0x123acf[_0x4e341c]]&&'__proto__'!==_0x123acf[_0x4e341c]&&(this[_0x123acf[_0x4e341c]]=properties[_0x123acf[_0x4e341c]]);}}return CollaborativeEditingReconnectMessage['prototype']['id']='',CollaborativeEditingReconnectMessage['prototype']['bundleVersion']='',CollaborativeEditingReconnectMessage['prototype']['lastKnowVersion']=0x0,CollaborativeEditingReconnectMessage['create']=function(properties){return new CollaborativeEditingReconnectMessage(properties);},CollaborativeEditingReconnectMessage['encode']=function(_0x140120,writer){return writer||(writer=$Writer['create']()),null!=_0x140120['id']&&Object['hasOwnProperty']['call'](_0x140120,'id')&&writer['uint32'](0xa)['string'](_0x140120['id']),null!=_0x140120['bundleVersion']&&Object['hasOwnProperty']['call'](_0x140120,'bundleVersion')&&writer['uint32'](0x12)['string'](_0x140120['bundleVersion']),null!=_0x140120['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x140120,'lastKnowVersion')&&writer['uint32'](0x18)['uint32'](_0x140120['lastKnowVersion']),writer;},CollaborativeEditingReconnectMessage['encodeDelimited']=function(_0x5aeae4,writer){return this['encode'](_0x5aeae4,writer)['ldelim']();},CollaborativeEditingReconnectMessage['decode']=function(_0xcbab03,length,_0x1bea2c,_0x5dd73e){if(_0xcbab03 instanceof _0x2be071||(_0xcbab03=_0x2be071['create'](_0xcbab03)),void 0x0===_0x5dd73e&&(_0x5dd73e=0x0),_0x5dd73e>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x44c638=void 0x0===length?_0xcbab03['len']:_0xcbab03['pos']+length,_0x289bc0=new $root['CollaborativeEditingReconnectMessage']();_0xcbab03['pos']<_0x44c638;){var tag=_0xcbab03['uint32']();if(tag===_0x1bea2c)break;switch(tag>>>0x3){case 0x1:_0x289bc0['id']=_0xcbab03['string']();break;case 0x2:_0x289bc0['bundleVersion']=_0xcbab03['string']();break;case 0x3:_0x289bc0['lastKnowVersion']=_0xcbab03['uint32']();break;default:_0xcbab03['skipType'](0x7&tag,_0x5dd73e);}}return _0x289bc0;},CollaborativeEditingReconnectMessage['decodeDelimited']=function(_0x11d0fe){return _0x11d0fe instanceof _0x2be071||(_0x11d0fe=new _0x2be071(_0x11d0fe)),this['decode'](_0x11d0fe,_0x11d0fe['uint32']());},CollaborativeEditingReconnectMessage['verify']=function(_0x4b992b,_0x2385c0){return'object'!=typeof _0x4b992b||null===_0x4b992b?'object\x20expected':(void 0x0===_0x2385c0&&(_0x2385c0=0x0),_0x2385c0>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4b992b['id']&&_0x4b992b['hasOwnProperty']('id')&&!$util['isString'](_0x4b992b['id'])?'id:\x20string\x20expected':null!=_0x4b992b['bundleVersion']&&_0x4b992b['hasOwnProperty']('bundleVersion')&&!$util['isString'](_0x4b992b['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x4b992b['lastKnowVersion']&&_0x4b992b['hasOwnProperty']('lastKnowVersion')&&!$util['isInteger'](_0x4b992b['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},CollaborativeEditingReconnectMessage['fromObject']=function(object,_0x22ba9f){if(object instanceof $root['CollaborativeEditingReconnectMessage'])return object;if(void 0x0===_0x22ba9f&&(_0x22ba9f=0x0),_0x22ba9f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4e104d=new $root['CollaborativeEditingReconnectMessage']();return null!=object['id']&&(_0x4e104d['id']=String(object['id'])),null!=object['bundleVersion']&&(_0x4e104d['bundleVersion']=String(object['bundleVersion'])),null!=object['lastKnowVersion']&&(_0x4e104d['lastKnowVersion']=object['lastKnowVersion']>>>0x0),_0x4e104d;},CollaborativeEditingReconnectMessage['toObject']=function(_0x3e75ba,options){options||(options={});var object={};return options['defaults']&&(object['id']='',object['bundleVersion']='',object['lastKnowVersion']=0x0),null!=_0x3e75ba['id']&&_0x3e75ba['hasOwnProperty']('id')&&(object['id']=_0x3e75ba['id']),null!=_0x3e75ba['bundleVersion']&&_0x3e75ba['hasOwnProperty']('bundleVersion')&&(object['bundleVersion']=_0x3e75ba['bundleVersion']),null!=_0x3e75ba['lastKnowVersion']&&_0x3e75ba['hasOwnProperty']('lastKnowVersion')&&(object['lastKnowVersion']=_0x3e75ba['lastKnowVersion']),object;},CollaborativeEditingReconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingReconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingReconnectMessage';},CollaborativeEditingReconnectMessage;}()),$root['CollaborativeEditingConnectMessage']=(function(){function CollaborativeEditingConnectMessage(properties){if(this['buffers']=[],this['types']=[],properties){for(var _0x1604e0=Object['keys'](properties),_0x59cc90=0x0;_0x59cc90<_0x1604e0['length'];++_0x59cc90)null!=properties[_0x1604e0[_0x59cc90]]&&'__proto__'!==_0x1604e0[_0x59cc90]&&(this[_0x1604e0[_0x59cc90]]=properties[_0x1604e0[_0x59cc90]]);}}return CollaborativeEditingConnectMessage['prototype']['id']='',CollaborativeEditingConnectMessage['prototype']['bundleVersion']='',CollaborativeEditingConnectMessage['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingConnectMessage['prototype']['types']=$util['emptyArray'],CollaborativeEditingConnectMessage['prototype']['lastOperationId']='',CollaborativeEditingConnectMessage['create']=function(properties){return new CollaborativeEditingConnectMessage(properties);},CollaborativeEditingConnectMessage['encode']=function(_0x2da389,writer){if(writer||(writer=$Writer['create']()),null!=_0x2da389['id']&&Object['hasOwnProperty']['call'](_0x2da389,'id')&&writer['uint32'](0xa)['string'](_0x2da389['id']),null!=_0x2da389['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2da389,'bundleVersion')&&writer['uint32'](0x12)['string'](_0x2da389['bundleVersion']),null!=_0x2da389['buffers']&&_0x2da389['buffers']['length']){for(var _0x15e73e=0x0;_0x15e73e<_0x2da389['buffers']['length'];++_0x15e73e)writer['uint32'](0x1a)['bytes'](_0x2da389['buffers'][_0x15e73e]);}if(null!=_0x2da389['types']&&_0x2da389['types']['length']){writer['uint32'](0x22)['fork']();for(_0x15e73e=0x0;_0x15e73e<_0x2da389['types']['length'];++_0x15e73e)writer['uint32'](_0x2da389['types'][_0x15e73e]);writer['ldelim']();}return null!=_0x2da389['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2da389,'lastOperationId')&&writer['uint32'](0x2a)['string'](_0x2da389['lastOperationId']),writer;},CollaborativeEditingConnectMessage['encodeDelimited']=function(_0x274525,writer){return this['encode'](_0x274525,writer)['ldelim']();},CollaborativeEditingConnectMessage['decode']=function(_0x320ef9,length,_0x27f536,_0x5871ba){if(_0x320ef9 instanceof _0x2be071||(_0x320ef9=_0x2be071['create'](_0x320ef9)),void 0x0===_0x5871ba&&(_0x5871ba=0x0),_0x5871ba>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3133c2=void 0x0===length?_0x320ef9['len']:_0x320ef9['pos']+length,_0x51ea8f=new $root['CollaborativeEditingConnectMessage']();_0x320ef9['pos']<_0x3133c2;){var tag=_0x320ef9['uint32']();if(tag===_0x27f536)break;switch(tag>>>0x3){case 0x1:_0x51ea8f['id']=_0x320ef9['string']();break;case 0x2:_0x51ea8f['bundleVersion']=_0x320ef9['string']();break;case 0x3:_0x51ea8f['buffers']&&_0x51ea8f['buffers']['length']||(_0x51ea8f['buffers']=[]),_0x51ea8f['buffers']['push'](_0x320ef9['bytes']());break;case 0x4:if(_0x51ea8f['types']&&_0x51ea8f['types']['length']||(_0x51ea8f['types']=[]),0x2==(0x7&tag)){for(var _0x1f7fad=_0x320ef9['uint32']()+_0x320ef9['pos'];_0x320ef9['pos']<_0x1f7fad;)_0x51ea8f['types']['push'](_0x320ef9['uint32']());}else _0x51ea8f['types']['push'](_0x320ef9['uint32']());break;case 0x5:_0x51ea8f['lastOperationId']=_0x320ef9['string']();break;default:_0x320ef9['skipType'](0x7&tag,_0x5871ba);}}return _0x51ea8f;},CollaborativeEditingConnectMessage['decodeDelimited']=function(_0x102fb2){return _0x102fb2 instanceof _0x2be071||(_0x102fb2=new _0x2be071(_0x102fb2)),this['decode'](_0x102fb2,_0x102fb2['uint32']());},CollaborativeEditingConnectMessage['verify']=function(_0x3fe2eb,_0x1e401c){if('object'!=typeof _0x3fe2eb||null===_0x3fe2eb)return'object\x20expected';if(void 0x0===_0x1e401c&&(_0x1e401c=0x0),_0x1e401c>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3fe2eb['id']&&_0x3fe2eb['hasOwnProperty']('id')&&!$util['isString'](_0x3fe2eb['id']))return'id:\x20string\x20expected';if(null!=_0x3fe2eb['bundleVersion']&&_0x3fe2eb['hasOwnProperty']('bundleVersion')&&!$util['isString'](_0x3fe2eb['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x3fe2eb['buffers']&&_0x3fe2eb['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x3fe2eb['buffers']))return'buffers:\x20array\x20expected';for(var _0x1897db=0x0;_0x1897db<_0x3fe2eb['buffers']['length'];++_0x1897db)if(!(_0x3fe2eb['buffers'][_0x1897db]&&'number'==typeof _0x3fe2eb['buffers'][_0x1897db]['length']||$util['isString'](_0x3fe2eb['buffers'][_0x1897db])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x3fe2eb['types']&&_0x3fe2eb['hasOwnProperty']('types')){if(!Array['isArray'](_0x3fe2eb['types']))return'types:\x20array\x20expected';for(_0x1897db=0x0;_0x1897db<_0x3fe2eb['types']['length'];++_0x1897db)if(!$util['isInteger'](_0x3fe2eb['types'][_0x1897db]))return'types:\x20integer[]\x20expected';}return null!=_0x3fe2eb['lastOperationId']&&_0x3fe2eb['hasOwnProperty']('lastOperationId')&&!$util['isString'](_0x3fe2eb['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},CollaborativeEditingConnectMessage['fromObject']=function(object,_0x38d6a6){if(object instanceof $root['CollaborativeEditingConnectMessage'])return object;if(void 0x0===_0x38d6a6&&(_0x38d6a6=0x0),_0x38d6a6>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x384bd3=new $root['CollaborativeEditingConnectMessage']();if(null!=object['id']&&(_0x384bd3['id']=String(object['id'])),null!=object['bundleVersion']&&(_0x384bd3['bundleVersion']=String(object['bundleVersion'])),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x384bd3['buffers']=[];for(var _0x4731c8=0x0;_0x4731c8<object['buffers']['length'];++_0x4731c8)'string'==typeof object['buffers'][_0x4731c8]?$util['base64']['decode'](object['buffers'][_0x4731c8],_0x384bd3['buffers'][_0x4731c8]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x4731c8])),0x0):object['buffers'][_0x4731c8]['length']>=0x0&&(_0x384bd3['buffers'][_0x4731c8]=object['buffers'][_0x4731c8]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');_0x384bd3['types']=[];for(_0x4731c8=0x0;_0x4731c8<object['types']['length'];++_0x4731c8)_0x384bd3['types'][_0x4731c8]=object['types'][_0x4731c8]>>>0x0;}return null!=object['lastOperationId']&&(_0x384bd3['lastOperationId']=String(object['lastOperationId'])),_0x384bd3;},CollaborativeEditingConnectMessage['toObject']=function(_0x2858d,options){options||(options={});var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[]),options['defaults']&&(object['id']='',object['bundleVersion']='',object['lastOperationId']=''),null!=_0x2858d['id']&&_0x2858d['hasOwnProperty']('id')&&(object['id']=_0x2858d['id']),null!=_0x2858d['bundleVersion']&&_0x2858d['hasOwnProperty']('bundleVersion')&&(object['bundleVersion']=_0x2858d['bundleVersion']),_0x2858d['buffers']&&_0x2858d['buffers']['length']){object['buffers']=[];for(var _0x2f2aec=0x0;_0x2f2aec<_0x2858d['buffers']['length'];++_0x2f2aec)object['buffers'][_0x2f2aec]=options['bytes']===String?$util['base64']['encode'](_0x2858d['buffers'][_0x2f2aec],0x0,_0x2858d['buffers'][_0x2f2aec]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x2858d['buffers'][_0x2f2aec]):_0x2858d['buffers'][_0x2f2aec];}if(_0x2858d['types']&&_0x2858d['types']['length']){object['types']=[];for(_0x2f2aec=0x0;_0x2f2aec<_0x2858d['types']['length'];++_0x2f2aec)object['types'][_0x2f2aec]=_0x2858d['types'][_0x2f2aec];}return null!=_0x2858d['lastOperationId']&&_0x2858d['hasOwnProperty']('lastOperationId')&&(object['lastOperationId']=_0x2858d['lastOperationId']),object;},CollaborativeEditingConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingConnectMessage';},CollaborativeEditingConnectMessage;}()),$root['OperationMetadataDescriptor']=(function(){function OperationMetadataDescriptor(properties){if(properties){for(var _0x55add8=Object['keys'](properties),_0x1b7a83=0x0;_0x1b7a83<_0x55add8['length'];++_0x1b7a83)null!=properties[_0x55add8[_0x1b7a83]]&&'__proto__'!==_0x55add8[_0x1b7a83]&&(this[_0x55add8[_0x1b7a83]]=properties[_0x55add8[_0x1b7a83]]);}}return OperationMetadataDescriptor['prototype']['userId']='',OperationMetadataDescriptor['prototype']['type']='',OperationMetadataDescriptor['prototype']['createdAt']='',OperationMetadataDescriptor['create']=function(properties){return new OperationMetadataDescriptor(properties);},OperationMetadataDescriptor['encode']=function(_0x1da538,writer){return writer||(writer=$Writer['create']()),null!=_0x1da538['userId']&&Object['hasOwnProperty']['call'](_0x1da538,'userId')&&writer['uint32'](0xa)['string'](_0x1da538['userId']),null!=_0x1da538['type']&&Object['hasOwnProperty']['call'](_0x1da538,'type')&&writer['uint32'](0x12)['string'](_0x1da538['type']),null!=_0x1da538['createdAt']&&Object['hasOwnProperty']['call'](_0x1da538,'createdAt')&&writer['uint32'](0x1a)['string'](_0x1da538['createdAt']),writer;},OperationMetadataDescriptor['encodeDelimited']=function(_0x49b407,writer){return this['encode'](_0x49b407,writer)['ldelim']();},OperationMetadataDescriptor['decode']=function(_0x150214,length,_0x4914d6,_0x28abe2){if(_0x150214 instanceof _0x2be071||(_0x150214=_0x2be071['create'](_0x150214)),void 0x0===_0x28abe2&&(_0x28abe2=0x0),_0x28abe2>_0x2be071['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3d1351=void 0x0===length?_0x150214['len']:_0x150214['pos']+length,_0x91eda5=new $root['OperationMetadataDescriptor']();_0x150214['pos']<_0x3d1351;){var tag=_0x150214['uint32']();if(tag===_0x4914d6)break;switch(tag>>>0x3){case 0x1:_0x91eda5['userId']=_0x150214['string']();break;case 0x2:_0x91eda5['type']=_0x150214['string']();break;case 0x3:_0x91eda5['createdAt']=_0x150214['string']();break;default:_0x150214['skipType'](0x7&tag,_0x28abe2);}}return _0x91eda5;},OperationMetadataDescriptor['decodeDelimited']=function(_0x334043){return _0x334043 instanceof _0x2be071||(_0x334043=new _0x2be071(_0x334043)),this['decode'](_0x334043,_0x334043['uint32']());},OperationMetadataDescriptor['verify']=function(_0x12278a,_0x4aab1c){return'object'!=typeof _0x12278a||null===_0x12278a?'object\x20expected':(void 0x0===_0x4aab1c&&(_0x4aab1c=0x0),_0x4aab1c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x12278a['userId']&&_0x12278a['hasOwnProperty']('userId')&&!$util['isString'](_0x12278a['userId'])?'userId:\x20string\x20expected':null!=_0x12278a['type']&&_0x12278a['hasOwnProperty']('type')&&!$util['isString'](_0x12278a['type'])?'type:\x20string\x20expected':null!=_0x12278a['createdAt']&&_0x12278a['hasOwnProperty']('createdAt')&&!$util['isString'](_0x12278a['createdAt'])?'createdAt:\x20string\x20expected':null);},OperationMetadataDescriptor['fromObject']=function(object,_0x1e519e){if(object instanceof $root['OperationMetadataDescriptor'])return object;if(void 0x0===_0x1e519e&&(_0x1e519e=0x0),_0x1e519e>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x582d79=new $root['OperationMetadataDescriptor']();return null!=object['userId']&&(_0x582d79['userId']=String(object['userId'])),null!=object['type']&&(_0x582d79['type']=String(object['type'])),null!=object['createdAt']&&(_0x582d79['createdAt']=String(object['createdAt'])),_0x582d79;},OperationMetadataDescriptor['toObject']=function(_0x2e6341,options){options||(options={});var object={};return options['defaults']&&(object['userId']='',object['type']='',object['createdAt']=''),null!=_0x2e6341['userId']&&_0x2e6341['hasOwnProperty']('userId')&&(object['userId']=_0x2e6341['userId']),null!=_0x2e6341['type']&&_0x2e6341['hasOwnProperty']('type')&&(object['type']=_0x2e6341['type']),null!=_0x2e6341['createdAt']&&_0x2e6341['hasOwnProperty']('createdAt')&&(object['createdAt']=_0x2e6341['createdAt']),object;},OperationMetadataDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},OperationMetadataDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/OperationMetadataDescriptor';},OperationMetadataDescriptor;}()),$root;})());class MessagesCompressor{static['decode'](_0x33fab8,_0x4e5995){const data=_getType(_0x4e5995)['decode']('undefined'==typeof window?_0x33fab8:new Uint8Array(_0x33fab8));return _0x4e5995['fromJSON']({...data});}static['encode'](_0x2893db){const protobufMessage=_getType(_0x2893db['constructor']),data=_0x2893db['toJSON'](),_0x2ef308=protobufMessage['verify'](data);if(_0x2ef308)throw Error(_0x2ef308);return protobufMessage['encode'](protobufMessage['create'](data))['finish']();}}function _getType(_0x248955){return messages[_0x248955['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends Message{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x3e16ec){super(),this['ids']=_0x3e16ec;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](data){return new GetManyUsersMessage(data['ids']);}}class GetManyUsersResponse extends Message{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0xca79d9){super(),this['users']=_0xca79d9;}['toJSON'](){return{'users':this['users']['map'](_userToJson)};}static['fromJSON'](data){return new GetManyUsersResponse(data['users']['map'](_userFromJson));}}function _userToJson(_0x18bbd9){return{'attributes':Object['keys'](_0x18bbd9)['map'](_0x2749ba=>({'key':_0x2749ba,'value':JSON['stringify'](_0x18bbd9[_0x2749ba])}))};}function _userFromJson(data){return data['attributes']['reduce']((result,_0x364cc7)=>(result[_0x364cc7['key']]=_0x364cc7['value']?JSON['parse'](_0x364cc7['value']):null,result),{});}class User{static ['_SERVICE']=0x2;constructor(attributes={}){this['_attributes']=new Map();for(const _0x51e2a9 of Object['keys'](attributes))'id'!==_0x51e2a9?(this['_attributes']['set'](_0x51e2a9,attributes[_0x51e2a9]),Object['defineProperty'](this,_0x51e2a9,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x51e2a9)})):this['id']=attributes['id'];}static['fromData'](data){return new User(data);}static async['get'](wsGateway,_0x15b265){const _0x3e621b=new GetUserMessage(_0x15b265);try{const _0x4da9ca=await wsGateway['_sendRequest'](User['_SERVICE'],GetUserMessage['TYPE'],MessagesCompressor['encode'](_0x3e621b)),getUserResponse=MessagesCompressor['decode'](_0x4da9ca,GetUserResponse);return new User(getUserResponse['attributes']);}catch{return new User({'id':_0x15b265});}}static async['getMany'](wsGateway,_0x2e558c){const _0x1a9754=new GetManyUsersMessage(_0x2e558c);try{const _0x27f748=await wsGateway['_sendRequest'](User['_SERVICE'],GetManyUsersMessage['TYPE'],MessagesCompressor['encode'](_0x1a9754));return MessagesCompressor['decode'](_0x27f748,GetManyUsersResponse)['users']['map'](_0x39291b=>new User(_0x39291b));}catch{return _0x2e558c['map'](_0x50ba79=>new User({'id':_0x50ba79}));}}}class ChannelMessage extends Message{['type'];['socketId'];['data'];static ['DESCRIPTOR_NAME']='ChannelMessage';static ['DESCRIPTOR']={'fields':{'type':{'type':'uint32','id':0x1},'socketId':{'type':'string','id':0x2},'data':{'type':'bytes','id':0x3}}};constructor(type,socketId,data){super(),this['type']=type,this['socketId']=socketId,this['data']=data;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](data){return new ChannelMessage(data['type'],data['socketId'],data['data']);}}class Channel extends/* #__PURE__ -- @preserve */
25
- EmitterMixin(){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x17de55,_wsGateway,_socket){super(),this['_channelName']=_0x17de55,this['_wsGateway']=_wsGateway,this['_socket']=_socket,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](eventName,_0x2d4b0d=!0x1){let fullEventName='';return _0x2d4b0d&&(fullEventName+='all:'),fullEventName+='event',eventName&&(fullEventName+=':'+eventName),fullEventName;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x5d8707=>{const _0x5226cc=MessagesCompressor['decode'](_0x5d8707,ChannelMessage);this['fire'](this['getEventName'](_0x5226cc['type'],!0x0),_0x5226cc['data'],_0x5226cc['socketId']),_0x5226cc['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x5226cc['type']),_0x5226cc['data'],_0x5226cc['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x44fcf4,context,_0x39ecac=null,data={}){super('cloud-services-internal-error:\x20'+_0x44fcf4),this['context']=context,this['code']=_0x39ecac,this['data']=data,this['name']='CKEditorError';}static['fromPublicError'](_0x390e53){return new CKEditorCloudServicesError(function(_0x242098){let _0x1b5235='cloud-services-error:\x20'+_0x242098['message'];return _0x242098['data']&&(_0x1b5235+='\x0aError\x20data:\x20'+JSON['stringify'](_0x242098['data'])),_0x242098['explanation']&&(_0x1b5235+='\x0aExplanation:\x20'+_0x242098['explanation']),_0x242098['action']&&(_0x1b5235+='\x0aAction:\x20'+_0x242098['action']),_0x242098['traceId']&&(_0x1b5235+='\x0aTraceId:\x20'+_0x242098['traceId']),_0x242098['code']&&(_0x1b5235+='\x0aCode:\x20'+_0x242098['code']),_0x1b5235;}(_0x390e53),_0x390e53);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x12094e,_0x52c8a8){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x12094e,this['code']=_0x52c8a8['code'],this['traceId']=_0x52c8a8['traceId'],this['data']=_0x52c8a8['data'];}static['fromPublicError'](_0x15b70d){return new CKEditorCloudServicesServerError(function(_0x54036e){let _0x34da80='cloud-services-server-error:\x20'+_0x54036e['message'];return _0x54036e['explanation']&&(_0x34da80+='\x0aExplanation:\x20'+_0x54036e['explanation']),_0x54036e['action']&&(_0x34da80+='\x0aAction:\x20'+_0x54036e['action']),_0x54036e['traceId']&&(_0x34da80+='\x0aTraceId:\x20'+_0x54036e['traceId']),_0x54036e['code']&&(_0x34da80+='\x0aCode:\x20'+_0x54036e['code']),_0x34da80;}(_0x15b70d),_0x15b70d);}}class PacketOptionsMessage extends Message{['flags'];['rooms'];['except'];static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
26
- ((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x4e8497,_0x14afe1=[],except=[]){super(),this['flags']=_0x4e8497,this['rooms']=_0x14afe1,this['except']=except;}['toJSON'](){return{'flags':this['flags']?JSON['stringify'](this['flags']):void 0x0,'rooms':this['rooms']?.['length']?this['rooms']:void 0x0,'except':this['except']?.['length']?this['except']:void 0x0};}static['fromJSON'](data){return new PacketOptionsMessage(data['flags']&&JSON['parse'](data['flags']),data['rooms'],data['except']);}}const IS_NODE=/* #__PURE__ -- @preserve */
27
- ((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static['getPacketType'](...types){let _0xaaf660=0x0;for(let _0x1f9132=0x0;_0x1f9132<types['length'];_0x1f9132++){_0xaaf660+=types[_0x1f9132]*Math['pow'](0xa,types['length']-_0x1f9132-0x1);}return _0xaaf660;}static['getType'](_0xecb264){if(ParserUtils['isBuffer'](_0xecb264))return MessageDataTypes_BUFFER;const type=typeof _0xecb264;return'string'===type?MessageDataTypes_STRING:'number'===type?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x228014){return IS_NODE&&Buffer['isBuffer'](_0x228014)||_0x228014 instanceof ArrayBuffer||_0x228014 instanceof Uint8Array||this['_isBufferView'](_0x228014);}static['_isBufferView'](_0x9318c0){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x9318c0):_0x9318c0['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends Message{['data'];['data1'];static['create'](data,data1){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
23
+ import $protobuf from'protobufjs/minimal.js';import{io}from'socket.io-client';import _0x134184 from'url-parse';import{EmitterMixin,ObservableMixin,priorities,global,Collection}from'@ckeditor/ckeditor5-utils';import{Decoder as _0x5eefe0,Encoder as _0x33e544,PacketType}from'socket.io-parser';import{v4}from'uuid';class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x34590a){}}class Message extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x3b6bc6){super();}static['fromJSON'](object){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends Message{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x30a518){super(),this['id']=_0x30a518;}toJSON(){return{'id':this['id']};}static['fromJSON'](data){return new GetUserMessage(data['id']);}}class GetUserResponse extends Message{attributes;static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(attributes){super(),this['attributes']=attributes;}toJSON(){return{'attributes':Object['keys'](this['attributes'])['map'](_0x5d67e4=>({'key':_0x5d67e4,'value':JSON['stringify'](this['attributes'][_0x5d67e4])}))};}static['fromJSON'](data){const attributes=data['attributes']['reduce']((result,_0x112dc9)=>(result[_0x112dc9['key']]=_0x112dc9['value']?JSON['parse'](_0x112dc9['value']):null,result),{});return new GetUserResponse(attributes);}}const messages=/* #__PURE__ -- @preserve */
24
+ ((()=>{var _0x470ccf=$protobuf['Reader'],$Writer=$protobuf['Writer'],$util=$protobuf['util'],$root=$protobuf['roots']['default']||($protobuf['roots']['default']={});return $root['StringStringPacketDataMessage']=(function(){function StringStringPacketDataMessage(properties){if(properties){for(var _0x2be0f5=Object['keys'](properties),_0x3312fc=0x0;_0x3312fc<_0x2be0f5['length'];++_0x3312fc)null!=properties[_0x2be0f5[_0x3312fc]]&&'__proto__'!==_0x2be0f5[_0x3312fc]&&(this[_0x2be0f5[_0x3312fc]]=properties[_0x2be0f5[_0x3312fc]]);}}return StringStringPacketDataMessage['prototype']['data']='',StringStringPacketDataMessage['prototype']['data1']='',StringStringPacketDataMessage['create']=function(properties){return new StringStringPacketDataMessage(properties);},StringStringPacketDataMessage['encode']=function(_0x522ed0,writer,_0x318d26){if(writer||(writer=$Writer['create']()),void 0x0===_0x318d26&&(_0x318d26=0x0),_0x318d26>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x522ed0['data']&&Object['hasOwnProperty']['call'](_0x522ed0,'data')&&writer['uint32'](0xa)['string'](_0x522ed0['data']),null!=_0x522ed0['data1']&&Object['hasOwnProperty']['call'](_0x522ed0,'data1')&&writer['uint32'](0x12)['string'](_0x522ed0['data1']),writer;},StringStringPacketDataMessage['encodeDelimited']=function(_0x29089b,writer){return this['encode'](_0x29089b,writer)['ldelim']();},StringStringPacketDataMessage['decode']=function(_0x7a2372,length,_0x45a72a,_0x346c2e){if(_0x7a2372 instanceof _0x470ccf||(_0x7a2372=_0x470ccf['create'](_0x7a2372)),void 0x0===_0x346c2e&&(_0x346c2e=0x0),_0x346c2e>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4831b1=void 0x0===length?_0x7a2372['len']:_0x7a2372['pos']+length,_0x1d3440=new $root['StringStringPacketDataMessage']();_0x7a2372['pos']<_0x4831b1;){var tag=_0x7a2372['uint32']();if(tag===_0x45a72a)break;switch(tag>>>0x3){case 0x1:_0x1d3440['data']=_0x7a2372['string']();break;case 0x2:_0x1d3440['data1']=_0x7a2372['string']();break;default:_0x7a2372['skipType'](0x7&tag,_0x346c2e);}}return _0x1d3440;},StringStringPacketDataMessage['decodeDelimited']=function(_0x392e1d){return _0x392e1d instanceof _0x470ccf||(_0x392e1d=new _0x470ccf(_0x392e1d)),this['decode'](_0x392e1d,_0x392e1d['uint32']());},StringStringPacketDataMessage['verify']=function(_0x540155,_0x5f186e){return'object'!=typeof _0x540155||null===_0x540155?'object\x20expected':(void 0x0===_0x5f186e&&(_0x5f186e=0x0),_0x5f186e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x540155['data']&&Object['hasOwnProperty']['call'](_0x540155,'data')&&!$util['isString'](_0x540155['data'])?'data:\x20string\x20expected':null!=_0x540155['data1']&&Object['hasOwnProperty']['call'](_0x540155,'data1')&&!$util['isString'](_0x540155['data1'])?'data1:\x20string\x20expected':null);},StringStringPacketDataMessage['fromObject']=function(object,_0xdc6e3e){if(object instanceof $root['StringStringPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0xdc6e3e&&(_0xdc6e3e=0x0),_0xdc6e3e>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2760bb=new $root['StringStringPacketDataMessage']();return null!=object['data']&&(_0x2760bb['data']=String(object['data'])),null!=object['data1']&&(_0x2760bb['data1']=String(object['data1'])),_0x2760bb;},StringStringPacketDataMessage['toObject']=function(_0x4e53ac,options,_0x51ff84){if(options||(options={}),void 0x0===_0x51ff84&&(_0x51ff84=0x0),_0x51ff84>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x4e53ac['data']&&Object['hasOwnProperty']['call'](_0x4e53ac,'data')&&(object['data']=_0x4e53ac['data']),null!=_0x4e53ac['data1']&&Object['hasOwnProperty']['call'](_0x4e53ac,'data1')&&(object['data1']=_0x4e53ac['data1']),object;},StringStringPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringStringPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringStringPacketDataMessage';},StringStringPacketDataMessage;}()),$root['StringObjectPacketDataMessage']=(function(){function StringObjectPacketDataMessage(properties){if(properties){for(var _0x41db2b=Object['keys'](properties),_0x1b80f0=0x0;_0x1b80f0<_0x41db2b['length'];++_0x1b80f0)null!=properties[_0x41db2b[_0x1b80f0]]&&'__proto__'!==_0x41db2b[_0x1b80f0]&&(this[_0x41db2b[_0x1b80f0]]=properties[_0x41db2b[_0x1b80f0]]);}}return StringObjectPacketDataMessage['prototype']['data']='',StringObjectPacketDataMessage['prototype']['data1']='',StringObjectPacketDataMessage['create']=function(properties){return new StringObjectPacketDataMessage(properties);},StringObjectPacketDataMessage['encode']=function(_0x927cda,writer,_0x5953d7){if(writer||(writer=$Writer['create']()),void 0x0===_0x5953d7&&(_0x5953d7=0x0),_0x5953d7>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x927cda['data']&&Object['hasOwnProperty']['call'](_0x927cda,'data')&&writer['uint32'](0xa)['string'](_0x927cda['data']),null!=_0x927cda['data1']&&Object['hasOwnProperty']['call'](_0x927cda,'data1')&&writer['uint32'](0x12)['string'](_0x927cda['data1']),writer;},StringObjectPacketDataMessage['encodeDelimited']=function(_0x2ecc14,writer){return this['encode'](_0x2ecc14,writer)['ldelim']();},StringObjectPacketDataMessage['decode']=function(_0x1aa4fb,length,_0x27a6cc,_0xbdf9d4){if(_0x1aa4fb instanceof _0x470ccf||(_0x1aa4fb=_0x470ccf['create'](_0x1aa4fb)),void 0x0===_0xbdf9d4&&(_0xbdf9d4=0x0),_0xbdf9d4>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x25b85b=void 0x0===length?_0x1aa4fb['len']:_0x1aa4fb['pos']+length,_0x2890c7=new $root['StringObjectPacketDataMessage']();_0x1aa4fb['pos']<_0x25b85b;){var tag=_0x1aa4fb['uint32']();if(tag===_0x27a6cc)break;switch(tag>>>0x3){case 0x1:_0x2890c7['data']=_0x1aa4fb['string']();break;case 0x2:_0x2890c7['data1']=_0x1aa4fb['string']();break;default:_0x1aa4fb['skipType'](0x7&tag,_0xbdf9d4);}}return _0x2890c7;},StringObjectPacketDataMessage['decodeDelimited']=function(_0x5b43fd){return _0x5b43fd instanceof _0x470ccf||(_0x5b43fd=new _0x470ccf(_0x5b43fd)),this['decode'](_0x5b43fd,_0x5b43fd['uint32']());},StringObjectPacketDataMessage['verify']=function(_0x35ec43,_0x37984c){return'object'!=typeof _0x35ec43||null===_0x35ec43?'object\x20expected':(void 0x0===_0x37984c&&(_0x37984c=0x0),_0x37984c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x35ec43['data']&&Object['hasOwnProperty']['call'](_0x35ec43,'data')&&!$util['isString'](_0x35ec43['data'])?'data:\x20string\x20expected':null!=_0x35ec43['data1']&&Object['hasOwnProperty']['call'](_0x35ec43,'data1')&&!$util['isString'](_0x35ec43['data1'])?'data1:\x20string\x20expected':null);},StringObjectPacketDataMessage['fromObject']=function(object,_0x1b337f){if(object instanceof $root['StringObjectPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x1b337f&&(_0x1b337f=0x0),_0x1b337f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3818c5=new $root['StringObjectPacketDataMessage']();return null!=object['data']&&(_0x3818c5['data']=String(object['data'])),null!=object['data1']&&(_0x3818c5['data1']=String(object['data1'])),_0x3818c5;},StringObjectPacketDataMessage['toObject']=function(_0x3a866f,options,_0xe12e53){if(options||(options={}),void 0x0===_0xe12e53&&(_0xe12e53=0x0),_0xe12e53>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x3a866f['data']&&Object['hasOwnProperty']['call'](_0x3a866f,'data')&&(object['data']=_0x3a866f['data']),null!=_0x3a866f['data1']&&Object['hasOwnProperty']['call'](_0x3a866f,'data1')&&(object['data1']=_0x3a866f['data1']),object;},StringObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringObjectPacketDataMessage';},StringObjectPacketDataMessage;}()),$root['StringNumberPacketDataMessage']=(function(){function StringNumberPacketDataMessage(properties){if(properties){for(var _0x1130e2=Object['keys'](properties),_0x25fa9e=0x0;_0x25fa9e<_0x1130e2['length'];++_0x25fa9e)null!=properties[_0x1130e2[_0x25fa9e]]&&'__proto__'!==_0x1130e2[_0x25fa9e]&&(this[_0x1130e2[_0x25fa9e]]=properties[_0x1130e2[_0x25fa9e]]);}}return StringNumberPacketDataMessage['prototype']['data']='',StringNumberPacketDataMessage['prototype']['data1']=0x0,StringNumberPacketDataMessage['create']=function(properties){return new StringNumberPacketDataMessage(properties);},StringNumberPacketDataMessage['encode']=function(_0x3a5bbd,writer,_0x3c8d7e){if(writer||(writer=$Writer['create']()),void 0x0===_0x3c8d7e&&(_0x3c8d7e=0x0),_0x3c8d7e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3a5bbd['data']&&Object['hasOwnProperty']['call'](_0x3a5bbd,'data')&&writer['uint32'](0xa)['string'](_0x3a5bbd['data']),null!=_0x3a5bbd['data1']&&Object['hasOwnProperty']['call'](_0x3a5bbd,'data1')&&writer['uint32'](0x10)['uint32'](_0x3a5bbd['data1']),writer;},StringNumberPacketDataMessage['encodeDelimited']=function(_0x5e52f8,writer){return this['encode'](_0x5e52f8,writer)['ldelim']();},StringNumberPacketDataMessage['decode']=function(_0x357e36,length,_0x382ef6,_0x2b37ab){if(_0x357e36 instanceof _0x470ccf||(_0x357e36=_0x470ccf['create'](_0x357e36)),void 0x0===_0x2b37ab&&(_0x2b37ab=0x0),_0x2b37ab>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5413b1=void 0x0===length?_0x357e36['len']:_0x357e36['pos']+length,_0x17a4f2=new $root['StringNumberPacketDataMessage']();_0x357e36['pos']<_0x5413b1;){var tag=_0x357e36['uint32']();if(tag===_0x382ef6)break;switch(tag>>>0x3){case 0x1:_0x17a4f2['data']=_0x357e36['string']();break;case 0x2:_0x17a4f2['data1']=_0x357e36['uint32']();break;default:_0x357e36['skipType'](0x7&tag,_0x2b37ab);}}return _0x17a4f2;},StringNumberPacketDataMessage['decodeDelimited']=function(_0x2164fb){return _0x2164fb instanceof _0x470ccf||(_0x2164fb=new _0x470ccf(_0x2164fb)),this['decode'](_0x2164fb,_0x2164fb['uint32']());},StringNumberPacketDataMessage['verify']=function(_0x4c1d7c,_0x529685){return'object'!=typeof _0x4c1d7c||null===_0x4c1d7c?'object\x20expected':(void 0x0===_0x529685&&(_0x529685=0x0),_0x529685>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4c1d7c['data']&&Object['hasOwnProperty']['call'](_0x4c1d7c,'data')&&!$util['isString'](_0x4c1d7c['data'])?'data:\x20string\x20expected':null!=_0x4c1d7c['data1']&&Object['hasOwnProperty']['call'](_0x4c1d7c,'data1')&&!$util['isInteger'](_0x4c1d7c['data1'])?'data1:\x20integer\x20expected':null);},StringNumberPacketDataMessage['fromObject']=function(object,_0x459026){if(object instanceof $root['StringNumberPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x459026&&(_0x459026=0x0),_0x459026>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x24cf57=new $root['StringNumberPacketDataMessage']();return null!=object['data']&&(_0x24cf57['data']=String(object['data'])),null!=object['data1']&&(_0x24cf57['data1']=object['data1']>>>0x0),_0x24cf57;},StringNumberPacketDataMessage['toObject']=function(_0x17bbbb,options,_0x3ea80c){if(options||(options={}),void 0x0===_0x3ea80c&&(_0x3ea80c=0x0),_0x3ea80c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=0x0),null!=_0x17bbbb['data']&&Object['hasOwnProperty']['call'](_0x17bbbb,'data')&&(object['data']=_0x17bbbb['data']),null!=_0x17bbbb['data1']&&Object['hasOwnProperty']['call'](_0x17bbbb,'data1')&&(object['data1']=_0x17bbbb['data1']),object;},StringNumberPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringNumberPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringNumberPacketDataMessage';},StringNumberPacketDataMessage;}()),$root['StringBytesPacketDataMessage']=(function(){function StringBytesPacketDataMessage(properties){if(properties){for(var _0x131c44=Object['keys'](properties),_0x459234=0x0;_0x459234<_0x131c44['length'];++_0x459234)null!=properties[_0x131c44[_0x459234]]&&'__proto__'!==_0x131c44[_0x459234]&&(this[_0x131c44[_0x459234]]=properties[_0x131c44[_0x459234]]);}}return StringBytesPacketDataMessage['prototype']['data']='',StringBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),StringBytesPacketDataMessage['create']=function(properties){return new StringBytesPacketDataMessage(properties);},StringBytesPacketDataMessage['encode']=function(_0x234f16,writer,_0x279127){if(writer||(writer=$Writer['create']()),void 0x0===_0x279127&&(_0x279127=0x0),_0x279127>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x234f16['data']&&Object['hasOwnProperty']['call'](_0x234f16,'data')&&writer['uint32'](0xa)['string'](_0x234f16['data']),null!=_0x234f16['data1']&&Object['hasOwnProperty']['call'](_0x234f16,'data1')&&writer['uint32'](0x12)['bytes'](_0x234f16['data1']),writer;},StringBytesPacketDataMessage['encodeDelimited']=function(_0x58535d,writer){return this['encode'](_0x58535d,writer)['ldelim']();},StringBytesPacketDataMessage['decode']=function(_0x180dd4,length,_0x4a16fd,_0x5442bf){if(_0x180dd4 instanceof _0x470ccf||(_0x180dd4=_0x470ccf['create'](_0x180dd4)),void 0x0===_0x5442bf&&(_0x5442bf=0x0),_0x5442bf>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2dab36=void 0x0===length?_0x180dd4['len']:_0x180dd4['pos']+length,_0x41b3f7=new $root['StringBytesPacketDataMessage']();_0x180dd4['pos']<_0x2dab36;){var tag=_0x180dd4['uint32']();if(tag===_0x4a16fd)break;switch(tag>>>0x3){case 0x1:_0x41b3f7['data']=_0x180dd4['string']();break;case 0x2:_0x41b3f7['data1']=_0x180dd4['bytes']();break;default:_0x180dd4['skipType'](0x7&tag,_0x5442bf);}}return _0x41b3f7;},StringBytesPacketDataMessage['decodeDelimited']=function(_0x430a6c){return _0x430a6c instanceof _0x470ccf||(_0x430a6c=new _0x470ccf(_0x430a6c)),this['decode'](_0x430a6c,_0x430a6c['uint32']());},StringBytesPacketDataMessage['verify']=function(_0x25fbd0,_0x3764a6){return'object'!=typeof _0x25fbd0||null===_0x25fbd0?'object\x20expected':(void 0x0===_0x3764a6&&(_0x3764a6=0x0),_0x3764a6>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x25fbd0['data']&&Object['hasOwnProperty']['call'](_0x25fbd0,'data')&&!$util['isString'](_0x25fbd0['data'])?'data:\x20string\x20expected':null!=_0x25fbd0['data1']&&Object['hasOwnProperty']['call'](_0x25fbd0,'data1')&&!(_0x25fbd0['data1']&&'number'==typeof _0x25fbd0['data1']['length']||$util['isString'](_0x25fbd0['data1']))?'data1:\x20buffer\x20expected':null);},StringBytesPacketDataMessage['fromObject']=function(object,_0x4d0115){if(object instanceof $root['StringBytesPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.StringBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x4d0115&&(_0x4d0115=0x0),_0x4d0115>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e4e48=new $root['StringBytesPacketDataMessage']();return null!=object['data']&&(_0x5e4e48['data']=String(object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x5e4e48['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x5e4e48['data1']=object['data1'])),_0x5e4e48;},StringBytesPacketDataMessage['toObject']=function(_0x99e58d,options,_0x311e9a){if(options||(options={}),void 0x0===_0x311e9a&&(_0x311e9a=0x0),_0x311e9a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x99e58d['data']&&Object['hasOwnProperty']['call'](_0x99e58d,'data')&&(object['data']=_0x99e58d['data']),null!=_0x99e58d['data1']&&Object['hasOwnProperty']['call'](_0x99e58d,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x99e58d['data1'],0x0,_0x99e58d['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x99e58d['data1']):_0x99e58d['data1']),object;},StringBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},StringBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/StringBytesPacketDataMessage';},StringBytesPacketDataMessage;}()),$root['PacketOptionsMessage']=(function(){function PacketOptionsMessage(properties){if(this['rooms']=[],this['except']=[],properties){for(var _0x3e18a0=Object['keys'](properties),_0x42b233=0x0;_0x42b233<_0x3e18a0['length'];++_0x42b233)null!=properties[_0x3e18a0[_0x42b233]]&&'__proto__'!==_0x3e18a0[_0x42b233]&&(this[_0x3e18a0[_0x42b233]]=properties[_0x3e18a0[_0x42b233]]);}}return PacketOptionsMessage['prototype']['flags']='',PacketOptionsMessage['prototype']['rooms']=$util['emptyArray'],PacketOptionsMessage['prototype']['except']=$util['emptyArray'],PacketOptionsMessage['create']=function(properties){return new PacketOptionsMessage(properties);},PacketOptionsMessage['encode']=function(_0x5b217f,writer,_0x58a38a){if(writer||(writer=$Writer['create']()),void 0x0===_0x58a38a&&(_0x58a38a=0x0),_0x58a38a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5b217f['flags']&&Object['hasOwnProperty']['call'](_0x5b217f,'flags')&&writer['uint32'](0xa)['string'](_0x5b217f['flags']),null!=_0x5b217f['rooms']&&_0x5b217f['rooms']['length']){for(var _0x36e6a3=0x0;_0x36e6a3<_0x5b217f['rooms']['length'];++_0x36e6a3)writer['uint32'](0x12)['string'](_0x5b217f['rooms'][_0x36e6a3]);}if(null!=_0x5b217f['except']&&_0x5b217f['except']['length']){for(_0x36e6a3=0x0;_0x36e6a3<_0x5b217f['except']['length'];++_0x36e6a3)writer['uint32'](0x1a)['string'](_0x5b217f['except'][_0x36e6a3]);}return writer;},PacketOptionsMessage['encodeDelimited']=function(_0x198180,writer){return this['encode'](_0x198180,writer)['ldelim']();},PacketOptionsMessage['decode']=function(_0x194363,length,_0x483ab8,_0x438193){if(_0x194363 instanceof _0x470ccf||(_0x194363=_0x470ccf['create'](_0x194363)),void 0x0===_0x438193&&(_0x438193=0x0),_0x438193>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x55948b=void 0x0===length?_0x194363['len']:_0x194363['pos']+length,_0x33f059=new $root['PacketOptionsMessage']();_0x194363['pos']<_0x55948b;){var tag=_0x194363['uint32']();if(tag===_0x483ab8)break;switch(tag>>>0x3){case 0x1:_0x33f059['flags']=_0x194363['string']();break;case 0x2:_0x33f059['rooms']&&_0x33f059['rooms']['length']||(_0x33f059['rooms']=[]),_0x33f059['rooms']['push'](_0x194363['string']());break;case 0x3:_0x33f059['except']&&_0x33f059['except']['length']||(_0x33f059['except']=[]),_0x33f059['except']['push'](_0x194363['string']());break;default:_0x194363['skipType'](0x7&tag,_0x438193);}}return _0x33f059;},PacketOptionsMessage['decodeDelimited']=function(_0x5dcb34){return _0x5dcb34 instanceof _0x470ccf||(_0x5dcb34=new _0x470ccf(_0x5dcb34)),this['decode'](_0x5dcb34,_0x5dcb34['uint32']());},PacketOptionsMessage['verify']=function(_0x117c78,_0x388339){if('object'!=typeof _0x117c78||null===_0x117c78)return'object\x20expected';if(void 0x0===_0x388339&&(_0x388339=0x0),_0x388339>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x117c78['flags']&&Object['hasOwnProperty']['call'](_0x117c78,'flags')&&!$util['isString'](_0x117c78['flags']))return'flags:\x20string\x20expected';if(null!=_0x117c78['rooms']&&Object['hasOwnProperty']['call'](_0x117c78,'rooms')){if(!Array['isArray'](_0x117c78['rooms']))return'rooms:\x20array\x20expected';for(var _0x5205fd=0x0;_0x5205fd<_0x117c78['rooms']['length'];++_0x5205fd)if(!$util['isString'](_0x117c78['rooms'][_0x5205fd]))return'rooms:\x20string[]\x20expected';}if(null!=_0x117c78['except']&&Object['hasOwnProperty']['call'](_0x117c78,'except')){if(!Array['isArray'](_0x117c78['except']))return'except:\x20array\x20expected';for(_0x5205fd=0x0;_0x5205fd<_0x117c78['except']['length'];++_0x5205fd)if(!$util['isString'](_0x117c78['except'][_0x5205fd]))return'except:\x20string[]\x20expected';}return null;},PacketOptionsMessage['fromObject']=function(object,_0x2629d0){if(object instanceof $root['PacketOptionsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.PacketOptionsMessage:\x20object\x20expected');if(void 0x0===_0x2629d0&&(_0x2629d0=0x0),_0x2629d0>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2b9a02=new $root['PacketOptionsMessage']();if(null!=object['flags']&&(_0x2b9a02['flags']=String(object['flags'])),object['rooms']){if(!Array['isArray'](object['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x2b9a02['rooms']=[];for(var _0x463746=0x0;_0x463746<object['rooms']['length'];++_0x463746)_0x2b9a02['rooms'][_0x463746]=String(object['rooms'][_0x463746]);}if(object['except']){if(!Array['isArray'](object['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');_0x2b9a02['except']=[];for(_0x463746=0x0;_0x463746<object['except']['length'];++_0x463746)_0x2b9a02['except'][_0x463746]=String(object['except'][_0x463746]);}return _0x2b9a02;},PacketOptionsMessage['toObject']=function(_0x18f5d2,options,_0x4c9482){if(options||(options={}),void 0x0===_0x4c9482&&(_0x4c9482=0x0),_0x4c9482>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['rooms']=[],object['except']=[]),options['defaults']&&(object['flags']=''),null!=_0x18f5d2['flags']&&Object['hasOwnProperty']['call'](_0x18f5d2,'flags')&&(object['flags']=_0x18f5d2['flags']),_0x18f5d2['rooms']&&_0x18f5d2['rooms']['length']){object['rooms']=[];for(var _0x802539=0x0;_0x802539<_0x18f5d2['rooms']['length'];++_0x802539)object['rooms'][_0x802539]=_0x18f5d2['rooms'][_0x802539];}if(_0x18f5d2['except']&&_0x18f5d2['except']['length']){object['except']=[];for(_0x802539=0x0;_0x802539<_0x18f5d2['except']['length'];++_0x802539)object['except'][_0x802539]=_0x18f5d2['except'][_0x802539];}return object;},PacketOptionsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},PacketOptionsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/PacketOptionsMessage';},PacketOptionsMessage;}()),$root['PacketMessage']=(function(){function PacketMessage(properties){if(properties){for(var _0x4f98cb=Object['keys'](properties),_0x4990f1=0x0;_0x4990f1<_0x4f98cb['length'];++_0x4990f1)null!=properties[_0x4f98cb[_0x4990f1]]&&'__proto__'!==_0x4f98cb[_0x4990f1]&&(this[_0x4f98cb[_0x4990f1]]=properties[_0x4f98cb[_0x4990f1]]);}}return PacketMessage['prototype']['type']=0x0,PacketMessage['prototype']['id']=0x0,PacketMessage['prototype']['nsp']='',PacketMessage['prototype']['data']=$util['newBuffer']([]),PacketMessage['prototype']['options']=$util['newBuffer']([]),PacketMessage['create']=function(properties){return new PacketMessage(properties);},PacketMessage['encode']=function(_0x3ba90f,writer,_0x4836e8){if(writer||(writer=$Writer['create']()),void 0x0===_0x4836e8&&(_0x4836e8=0x0),_0x4836e8>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3ba90f['type']&&Object['hasOwnProperty']['call'](_0x3ba90f,'type')&&writer['uint32'](0x8)['uint32'](_0x3ba90f['type']),null!=_0x3ba90f['id']&&Object['hasOwnProperty']['call'](_0x3ba90f,'id')&&writer['uint32'](0x10)['uint32'](_0x3ba90f['id']),null!=_0x3ba90f['nsp']&&Object['hasOwnProperty']['call'](_0x3ba90f,'nsp')&&writer['uint32'](0x1a)['string'](_0x3ba90f['nsp']),null!=_0x3ba90f['data']&&Object['hasOwnProperty']['call'](_0x3ba90f,'data')&&writer['uint32'](0x22)['bytes'](_0x3ba90f['data']),null!=_0x3ba90f['options']&&Object['hasOwnProperty']['call'](_0x3ba90f,'options')&&writer['uint32'](0x2a)['bytes'](_0x3ba90f['options']),writer;},PacketMessage['encodeDelimited']=function(_0x5177b4,writer){return this['encode'](_0x5177b4,writer)['ldelim']();},PacketMessage['decode']=function(_0x44bd5c,length,_0x2bf478,_0x1575e0){if(_0x44bd5c instanceof _0x470ccf||(_0x44bd5c=_0x470ccf['create'](_0x44bd5c)),void 0x0===_0x1575e0&&(_0x1575e0=0x0),_0x1575e0>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3b9813=void 0x0===length?_0x44bd5c['len']:_0x44bd5c['pos']+length,_0x19773f=new $root['PacketMessage']();_0x44bd5c['pos']<_0x3b9813;){var tag=_0x44bd5c['uint32']();if(tag===_0x2bf478)break;switch(tag>>>0x3){case 0x1:_0x19773f['type']=_0x44bd5c['uint32']();break;case 0x2:_0x19773f['id']=_0x44bd5c['uint32']();break;case 0x3:_0x19773f['nsp']=_0x44bd5c['string']();break;case 0x4:_0x19773f['data']=_0x44bd5c['bytes']();break;case 0x5:_0x19773f['options']=_0x44bd5c['bytes']();break;default:_0x44bd5c['skipType'](0x7&tag,_0x1575e0);}}return _0x19773f;},PacketMessage['decodeDelimited']=function(_0x196727){return _0x196727 instanceof _0x470ccf||(_0x196727=new _0x470ccf(_0x196727)),this['decode'](_0x196727,_0x196727['uint32']());},PacketMessage['verify']=function(_0x2f2855,_0x3a07e7){return'object'!=typeof _0x2f2855||null===_0x2f2855?'object\x20expected':(void 0x0===_0x3a07e7&&(_0x3a07e7=0x0),_0x3a07e7>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2f2855['type']&&Object['hasOwnProperty']['call'](_0x2f2855,'type')&&!$util['isInteger'](_0x2f2855['type'])?'type:\x20integer\x20expected':null!=_0x2f2855['id']&&Object['hasOwnProperty']['call'](_0x2f2855,'id')&&!$util['isInteger'](_0x2f2855['id'])?'id:\x20integer\x20expected':null!=_0x2f2855['nsp']&&Object['hasOwnProperty']['call'](_0x2f2855,'nsp')&&!$util['isString'](_0x2f2855['nsp'])?'nsp:\x20string\x20expected':null!=_0x2f2855['data']&&Object['hasOwnProperty']['call'](_0x2f2855,'data')&&!(_0x2f2855['data']&&'number'==typeof _0x2f2855['data']['length']||$util['isString'](_0x2f2855['data']))?'data:\x20buffer\x20expected':null!=_0x2f2855['options']&&Object['hasOwnProperty']['call'](_0x2f2855,'options')&&!(_0x2f2855['options']&&'number'==typeof _0x2f2855['options']['length']||$util['isString'](_0x2f2855['options']))?'options:\x20buffer\x20expected':null);},PacketMessage['fromObject']=function(object,_0x44d599){if(object instanceof $root['PacketMessage'])return object;if(!$util['isObject'](object))throw TypeError('.PacketMessage:\x20object\x20expected');if(void 0x0===_0x44d599&&(_0x44d599=0x0),_0x44d599>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xf1adf6=new $root['PacketMessage']();return null!=object['type']&&(_0xf1adf6['type']=object['type']>>>0x0),null!=object['id']&&(_0xf1adf6['id']=object['id']>>>0x0),null!=object['nsp']&&(_0xf1adf6['nsp']=String(object['nsp'])),null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0xf1adf6['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0xf1adf6['data']=object['data'])),null!=object['options']&&('string'==typeof object['options']?$util['base64']['decode'](object['options'],_0xf1adf6['options']=$util['newBuffer']($util['base64']['length'](object['options'])),0x0):object['options']['length']>=0x0&&(_0xf1adf6['options']=object['options'])),_0xf1adf6;},PacketMessage['toObject']=function(_0x4b31c8,options,_0x46f24d){if(options||(options={}),void 0x0===_0x46f24d&&(_0x46f24d=0x0),_0x46f24d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['type']=0x0,object['id']=0x0,object['nsp']='',options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data']))),options['bytes']===String?object['options']='':(object['options']=[],options['bytes']!==Array&&(object['options']=$util['newBuffer'](object['options'])))),null!=_0x4b31c8['type']&&Object['hasOwnProperty']['call'](_0x4b31c8,'type')&&(object['type']=_0x4b31c8['type']),null!=_0x4b31c8['id']&&Object['hasOwnProperty']['call'](_0x4b31c8,'id')&&(object['id']=_0x4b31c8['id']),null!=_0x4b31c8['nsp']&&Object['hasOwnProperty']['call'](_0x4b31c8,'nsp')&&(object['nsp']=_0x4b31c8['nsp']),null!=_0x4b31c8['data']&&Object['hasOwnProperty']['call'](_0x4b31c8,'data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x4b31c8['data'],0x0,_0x4b31c8['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x4b31c8['data']):_0x4b31c8['data']),null!=_0x4b31c8['options']&&Object['hasOwnProperty']['call'](_0x4b31c8,'options')&&(object['options']=options['bytes']===String?$util['base64']['encode'](_0x4b31c8['options'],0x0,_0x4b31c8['options']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x4b31c8['options']):_0x4b31c8['options']),object;},PacketMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},PacketMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/PacketMessage';},PacketMessage;}()),$root['ObjectObjectPacketDataMessage']=(function(){function ObjectObjectPacketDataMessage(properties){if(properties){for(var _0x9f2f22=Object['keys'](properties),_0x2dc9e5=0x0;_0x2dc9e5<_0x9f2f22['length'];++_0x2dc9e5)null!=properties[_0x9f2f22[_0x2dc9e5]]&&'__proto__'!==_0x9f2f22[_0x2dc9e5]&&(this[_0x9f2f22[_0x2dc9e5]]=properties[_0x9f2f22[_0x2dc9e5]]);}}return ObjectObjectPacketDataMessage['prototype']['data']='',ObjectObjectPacketDataMessage['prototype']['data1']='',ObjectObjectPacketDataMessage['create']=function(properties){return new ObjectObjectPacketDataMessage(properties);},ObjectObjectPacketDataMessage['encode']=function(_0x4779ac,writer,_0x58d86b){if(writer||(writer=$Writer['create']()),void 0x0===_0x58d86b&&(_0x58d86b=0x0),_0x58d86b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4779ac['data']&&Object['hasOwnProperty']['call'](_0x4779ac,'data')&&writer['uint32'](0xa)['string'](_0x4779ac['data']),null!=_0x4779ac['data1']&&Object['hasOwnProperty']['call'](_0x4779ac,'data1')&&writer['uint32'](0x12)['string'](_0x4779ac['data1']),writer;},ObjectObjectPacketDataMessage['encodeDelimited']=function(_0x217016,writer){return this['encode'](_0x217016,writer)['ldelim']();},ObjectObjectPacketDataMessage['decode']=function(_0x3b5c7b,length,_0x2ffab,_0x3757f3){if(_0x3b5c7b instanceof _0x470ccf||(_0x3b5c7b=_0x470ccf['create'](_0x3b5c7b)),void 0x0===_0x3757f3&&(_0x3757f3=0x0),_0x3757f3>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x566b31=void 0x0===length?_0x3b5c7b['len']:_0x3b5c7b['pos']+length,_0x447127=new $root['ObjectObjectPacketDataMessage']();_0x3b5c7b['pos']<_0x566b31;){var tag=_0x3b5c7b['uint32']();if(tag===_0x2ffab)break;switch(tag>>>0x3){case 0x1:_0x447127['data']=_0x3b5c7b['string']();break;case 0x2:_0x447127['data1']=_0x3b5c7b['string']();break;default:_0x3b5c7b['skipType'](0x7&tag,_0x3757f3);}}return _0x447127;},ObjectObjectPacketDataMessage['decodeDelimited']=function(_0xea9fbd){return _0xea9fbd instanceof _0x470ccf||(_0xea9fbd=new _0x470ccf(_0xea9fbd)),this['decode'](_0xea9fbd,_0xea9fbd['uint32']());},ObjectObjectPacketDataMessage['verify']=function(_0x2fe07d,_0x409d80){return'object'!=typeof _0x2fe07d||null===_0x2fe07d?'object\x20expected':(void 0x0===_0x409d80&&(_0x409d80=0x0),_0x409d80>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2fe07d['data']&&Object['hasOwnProperty']['call'](_0x2fe07d,'data')&&!$util['isString'](_0x2fe07d['data'])?'data:\x20string\x20expected':null!=_0x2fe07d['data1']&&Object['hasOwnProperty']['call'](_0x2fe07d,'data1')&&!$util['isString'](_0x2fe07d['data1'])?'data1:\x20string\x20expected':null);},ObjectObjectPacketDataMessage['fromObject']=function(object,_0x52418b){if(object instanceof $root['ObjectObjectPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.ObjectObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x52418b&&(_0x52418b=0x0),_0x52418b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2674dc=new $root['ObjectObjectPacketDataMessage']();return null!=object['data']&&(_0x2674dc['data']=String(object['data'])),null!=object['data1']&&(_0x2674dc['data1']=String(object['data1'])),_0x2674dc;},ObjectObjectPacketDataMessage['toObject']=function(_0x340c03,options,_0x80d3b){if(options||(options={}),void 0x0===_0x80d3b&&(_0x80d3b=0x0),_0x80d3b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',object['data1']=''),null!=_0x340c03['data']&&Object['hasOwnProperty']['call'](_0x340c03,'data')&&(object['data']=_0x340c03['data']),null!=_0x340c03['data1']&&Object['hasOwnProperty']['call'](_0x340c03,'data1')&&(object['data1']=_0x340c03['data1']),object;},ObjectObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ObjectObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ObjectObjectPacketDataMessage';},ObjectObjectPacketDataMessage;}()),$root['ObjectBufferPacketDataMessage']=(function(){function ObjectBufferPacketDataMessage(properties){if(properties){for(var _0x46e797=Object['keys'](properties),_0x36e51b=0x0;_0x36e51b<_0x46e797['length'];++_0x36e51b)null!=properties[_0x46e797[_0x36e51b]]&&'__proto__'!==_0x46e797[_0x36e51b]&&(this[_0x46e797[_0x36e51b]]=properties[_0x46e797[_0x36e51b]]);}}return ObjectBufferPacketDataMessage['prototype']['data']='',ObjectBufferPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),ObjectBufferPacketDataMessage['create']=function(properties){return new ObjectBufferPacketDataMessage(properties);},ObjectBufferPacketDataMessage['encode']=function(_0x9f55e3,writer,_0x280a45){if(writer||(writer=$Writer['create']()),void 0x0===_0x280a45&&(_0x280a45=0x0),_0x280a45>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x9f55e3['data']&&Object['hasOwnProperty']['call'](_0x9f55e3,'data')&&writer['uint32'](0xa)['string'](_0x9f55e3['data']),null!=_0x9f55e3['data1']&&Object['hasOwnProperty']['call'](_0x9f55e3,'data1')&&writer['uint32'](0x12)['bytes'](_0x9f55e3['data1']),writer;},ObjectBufferPacketDataMessage['encodeDelimited']=function(_0x279789,writer){return this['encode'](_0x279789,writer)['ldelim']();},ObjectBufferPacketDataMessage['decode']=function(_0x5e79ab,length,_0x9ed948,_0x131da9){if(_0x5e79ab instanceof _0x470ccf||(_0x5e79ab=_0x470ccf['create'](_0x5e79ab)),void 0x0===_0x131da9&&(_0x131da9=0x0),_0x131da9>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x127ac9=void 0x0===length?_0x5e79ab['len']:_0x5e79ab['pos']+length,_0x4d3010=new $root['ObjectBufferPacketDataMessage']();_0x5e79ab['pos']<_0x127ac9;){var tag=_0x5e79ab['uint32']();if(tag===_0x9ed948)break;switch(tag>>>0x3){case 0x1:_0x4d3010['data']=_0x5e79ab['string']();break;case 0x2:_0x4d3010['data1']=_0x5e79ab['bytes']();break;default:_0x5e79ab['skipType'](0x7&tag,_0x131da9);}}return _0x4d3010;},ObjectBufferPacketDataMessage['decodeDelimited']=function(_0x1098b7){return _0x1098b7 instanceof _0x470ccf||(_0x1098b7=new _0x470ccf(_0x1098b7)),this['decode'](_0x1098b7,_0x1098b7['uint32']());},ObjectBufferPacketDataMessage['verify']=function(_0x5cde0b,_0x1f424e){return'object'!=typeof _0x5cde0b||null===_0x5cde0b?'object\x20expected':(void 0x0===_0x1f424e&&(_0x1f424e=0x0),_0x1f424e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5cde0b['data']&&Object['hasOwnProperty']['call'](_0x5cde0b,'data')&&!$util['isString'](_0x5cde0b['data'])?'data:\x20string\x20expected':null!=_0x5cde0b['data1']&&Object['hasOwnProperty']['call'](_0x5cde0b,'data1')&&!(_0x5cde0b['data1']&&'number'==typeof _0x5cde0b['data1']['length']||$util['isString'](_0x5cde0b['data1']))?'data1:\x20buffer\x20expected':null);},ObjectBufferPacketDataMessage['fromObject']=function(object,_0x528091){if(object instanceof $root['ObjectBufferPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.ObjectBufferPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x528091&&(_0x528091=0x0),_0x528091>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5bd69d=new $root['ObjectBufferPacketDataMessage']();return null!=object['data']&&(_0x5bd69d['data']=String(object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x5bd69d['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x5bd69d['data1']=object['data1'])),_0x5bd69d;},ObjectBufferPacketDataMessage['toObject']=function(_0x3259ab,options,_0x2a5d39){if(options||(options={}),void 0x0===_0x2a5d39&&(_0x2a5d39=0x0),_0x2a5d39>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']='',options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x3259ab['data']&&Object['hasOwnProperty']['call'](_0x3259ab,'data')&&(object['data']=_0x3259ab['data']),null!=_0x3259ab['data1']&&Object['hasOwnProperty']['call'](_0x3259ab,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x3259ab['data1'],0x0,_0x3259ab['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x3259ab['data1']):_0x3259ab['data1']),object;},ObjectBufferPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ObjectBufferPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ObjectBufferPacketDataMessage';},ObjectBufferPacketDataMessage;}()),$root['NumberStringPacketDataMessage']=(function(){function NumberStringPacketDataMessage(properties){if(properties){for(var _0x26059d=Object['keys'](properties),_0x5136f6=0x0;_0x5136f6<_0x26059d['length'];++_0x5136f6)null!=properties[_0x26059d[_0x5136f6]]&&'__proto__'!==_0x26059d[_0x5136f6]&&(this[_0x26059d[_0x5136f6]]=properties[_0x26059d[_0x5136f6]]);}}return NumberStringPacketDataMessage['prototype']['data']=0x0,NumberStringPacketDataMessage['prototype']['data1']='',NumberStringPacketDataMessage['create']=function(properties){return new NumberStringPacketDataMessage(properties);},NumberStringPacketDataMessage['encode']=function(_0x3783c1,writer,_0x19bbb6){if(writer||(writer=$Writer['create']()),void 0x0===_0x19bbb6&&(_0x19bbb6=0x0),_0x19bbb6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3783c1['data']&&Object['hasOwnProperty']['call'](_0x3783c1,'data')&&writer['uint32'](0x8)['uint32'](_0x3783c1['data']),null!=_0x3783c1['data1']&&Object['hasOwnProperty']['call'](_0x3783c1,'data1')&&writer['uint32'](0x12)['string'](_0x3783c1['data1']),writer;},NumberStringPacketDataMessage['encodeDelimited']=function(_0x4b26ca,writer){return this['encode'](_0x4b26ca,writer)['ldelim']();},NumberStringPacketDataMessage['decode']=function(_0x54cbd3,length,_0x3d2c38,_0x554e30){if(_0x54cbd3 instanceof _0x470ccf||(_0x54cbd3=_0x470ccf['create'](_0x54cbd3)),void 0x0===_0x554e30&&(_0x554e30=0x0),_0x554e30>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2048ae=void 0x0===length?_0x54cbd3['len']:_0x54cbd3['pos']+length,_0x26f98e=new $root['NumberStringPacketDataMessage']();_0x54cbd3['pos']<_0x2048ae;){var tag=_0x54cbd3['uint32']();if(tag===_0x3d2c38)break;switch(tag>>>0x3){case 0x1:_0x26f98e['data']=_0x54cbd3['uint32']();break;case 0x2:_0x26f98e['data1']=_0x54cbd3['string']();break;default:_0x54cbd3['skipType'](0x7&tag,_0x554e30);}}return _0x26f98e;},NumberStringPacketDataMessage['decodeDelimited']=function(_0x36d76f){return _0x36d76f instanceof _0x470ccf||(_0x36d76f=new _0x470ccf(_0x36d76f)),this['decode'](_0x36d76f,_0x36d76f['uint32']());},NumberStringPacketDataMessage['verify']=function(_0x132c27,_0x6a9410){return'object'!=typeof _0x132c27||null===_0x132c27?'object\x20expected':(void 0x0===_0x6a9410&&(_0x6a9410=0x0),_0x6a9410>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x132c27['data']&&Object['hasOwnProperty']['call'](_0x132c27,'data')&&!$util['isInteger'](_0x132c27['data'])?'data:\x20integer\x20expected':null!=_0x132c27['data1']&&Object['hasOwnProperty']['call'](_0x132c27,'data1')&&!$util['isString'](_0x132c27['data1'])?'data1:\x20string\x20expected':null);},NumberStringPacketDataMessage['fromObject']=function(object,_0x50253d){if(object instanceof $root['NumberStringPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x50253d&&(_0x50253d=0x0),_0x50253d>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x78a0f8=new $root['NumberStringPacketDataMessage']();return null!=object['data']&&(_0x78a0f8['data']=object['data']>>>0x0),null!=object['data1']&&(_0x78a0f8['data1']=String(object['data1'])),_0x78a0f8;},NumberStringPacketDataMessage['toObject']=function(_0x6893f4,options,_0x29b933){if(options||(options={}),void 0x0===_0x29b933&&(_0x29b933=0x0),_0x29b933>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,object['data1']=''),null!=_0x6893f4['data']&&Object['hasOwnProperty']['call'](_0x6893f4,'data')&&(object['data']=_0x6893f4['data']),null!=_0x6893f4['data1']&&Object['hasOwnProperty']['call'](_0x6893f4,'data1')&&(object['data1']=_0x6893f4['data1']),object;},NumberStringPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberStringPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberStringPacketDataMessage';},NumberStringPacketDataMessage;}()),$root['NumberObjectPacketDataMessage']=(function(){function NumberObjectPacketDataMessage(properties){if(properties){for(var _0x29498c=Object['keys'](properties),_0x3f5d29=0x0;_0x3f5d29<_0x29498c['length'];++_0x3f5d29)null!=properties[_0x29498c[_0x3f5d29]]&&'__proto__'!==_0x29498c[_0x3f5d29]&&(this[_0x29498c[_0x3f5d29]]=properties[_0x29498c[_0x3f5d29]]);}}return NumberObjectPacketDataMessage['prototype']['data']=0x0,NumberObjectPacketDataMessage['prototype']['data1']='',NumberObjectPacketDataMessage['create']=function(properties){return new NumberObjectPacketDataMessage(properties);},NumberObjectPacketDataMessage['encode']=function(_0x2dc2b4,writer,_0x185c3b){if(writer||(writer=$Writer['create']()),void 0x0===_0x185c3b&&(_0x185c3b=0x0),_0x185c3b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2dc2b4['data']&&Object['hasOwnProperty']['call'](_0x2dc2b4,'data')&&writer['uint32'](0x8)['uint32'](_0x2dc2b4['data']),null!=_0x2dc2b4['data1']&&Object['hasOwnProperty']['call'](_0x2dc2b4,'data1')&&writer['uint32'](0x12)['string'](_0x2dc2b4['data1']),writer;},NumberObjectPacketDataMessage['encodeDelimited']=function(_0x4815f6,writer){return this['encode'](_0x4815f6,writer)['ldelim']();},NumberObjectPacketDataMessage['decode']=function(_0x4a1395,length,_0x55a0c5,_0x3074a7){if(_0x4a1395 instanceof _0x470ccf||(_0x4a1395=_0x470ccf['create'](_0x4a1395)),void 0x0===_0x3074a7&&(_0x3074a7=0x0),_0x3074a7>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4346d1=void 0x0===length?_0x4a1395['len']:_0x4a1395['pos']+length,_0x15bb11=new $root['NumberObjectPacketDataMessage']();_0x4a1395['pos']<_0x4346d1;){var tag=_0x4a1395['uint32']();if(tag===_0x55a0c5)break;switch(tag>>>0x3){case 0x1:_0x15bb11['data']=_0x4a1395['uint32']();break;case 0x2:_0x15bb11['data1']=_0x4a1395['string']();break;default:_0x4a1395['skipType'](0x7&tag,_0x3074a7);}}return _0x15bb11;},NumberObjectPacketDataMessage['decodeDelimited']=function(_0x15ebb9){return _0x15ebb9 instanceof _0x470ccf||(_0x15ebb9=new _0x470ccf(_0x15ebb9)),this['decode'](_0x15ebb9,_0x15ebb9['uint32']());},NumberObjectPacketDataMessage['verify']=function(_0x5b4d32,_0x268712){return'object'!=typeof _0x5b4d32||null===_0x5b4d32?'object\x20expected':(void 0x0===_0x268712&&(_0x268712=0x0),_0x268712>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5b4d32['data']&&Object['hasOwnProperty']['call'](_0x5b4d32,'data')&&!$util['isInteger'](_0x5b4d32['data'])?'data:\x20integer\x20expected':null!=_0x5b4d32['data1']&&Object['hasOwnProperty']['call'](_0x5b4d32,'data1')&&!$util['isString'](_0x5b4d32['data1'])?'data1:\x20string\x20expected':null);},NumberObjectPacketDataMessage['fromObject']=function(object,_0xae7a3f){if(object instanceof $root['NumberObjectPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0xae7a3f&&(_0xae7a3f=0x0),_0xae7a3f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5f0bb3=new $root['NumberObjectPacketDataMessage']();return null!=object['data']&&(_0x5f0bb3['data']=object['data']>>>0x0),null!=object['data1']&&(_0x5f0bb3['data1']=String(object['data1'])),_0x5f0bb3;},NumberObjectPacketDataMessage['toObject']=function(_0x59bf7c,options,_0x21d25a){if(options||(options={}),void 0x0===_0x21d25a&&(_0x21d25a=0x0),_0x21d25a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,object['data1']=''),null!=_0x59bf7c['data']&&Object['hasOwnProperty']['call'](_0x59bf7c,'data')&&(object['data']=_0x59bf7c['data']),null!=_0x59bf7c['data1']&&Object['hasOwnProperty']['call'](_0x59bf7c,'data1')&&(object['data1']=_0x59bf7c['data1']),object;},NumberObjectPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberObjectPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberObjectPacketDataMessage';},NumberObjectPacketDataMessage;}()),$root['NumberNumberPacketDataMessage']=(function(){function NumberNumberPacketDataMessage(properties){if(properties){for(var _0x2557ff=Object['keys'](properties),_0x53419=0x0;_0x53419<_0x2557ff['length'];++_0x53419)null!=properties[_0x2557ff[_0x53419]]&&'__proto__'!==_0x2557ff[_0x53419]&&(this[_0x2557ff[_0x53419]]=properties[_0x2557ff[_0x53419]]);}}return NumberNumberPacketDataMessage['prototype']['data']=0x0,NumberNumberPacketDataMessage['prototype']['data1']=0x0,NumberNumberPacketDataMessage['create']=function(properties){return new NumberNumberPacketDataMessage(properties);},NumberNumberPacketDataMessage['encode']=function(_0xfa0e2f,writer,_0x2fca0d){if(writer||(writer=$Writer['create']()),void 0x0===_0x2fca0d&&(_0x2fca0d=0x0),_0x2fca0d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xfa0e2f['data']&&Object['hasOwnProperty']['call'](_0xfa0e2f,'data')&&writer['uint32'](0x8)['uint32'](_0xfa0e2f['data']),null!=_0xfa0e2f['data1']&&Object['hasOwnProperty']['call'](_0xfa0e2f,'data1')&&writer['uint32'](0x10)['uint32'](_0xfa0e2f['data1']),writer;},NumberNumberPacketDataMessage['encodeDelimited']=function(_0x2aac19,writer){return this['encode'](_0x2aac19,writer)['ldelim']();},NumberNumberPacketDataMessage['decode']=function(_0x14d30f,length,_0x591a64,_0x451b0e){if(_0x14d30f instanceof _0x470ccf||(_0x14d30f=_0x470ccf['create'](_0x14d30f)),void 0x0===_0x451b0e&&(_0x451b0e=0x0),_0x451b0e>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x28a2fc=void 0x0===length?_0x14d30f['len']:_0x14d30f['pos']+length,_0x32f708=new $root['NumberNumberPacketDataMessage']();_0x14d30f['pos']<_0x28a2fc;){var tag=_0x14d30f['uint32']();if(tag===_0x591a64)break;switch(tag>>>0x3){case 0x1:_0x32f708['data']=_0x14d30f['uint32']();break;case 0x2:_0x32f708['data1']=_0x14d30f['uint32']();break;default:_0x14d30f['skipType'](0x7&tag,_0x451b0e);}}return _0x32f708;},NumberNumberPacketDataMessage['decodeDelimited']=function(_0x763313){return _0x763313 instanceof _0x470ccf||(_0x763313=new _0x470ccf(_0x763313)),this['decode'](_0x763313,_0x763313['uint32']());},NumberNumberPacketDataMessage['verify']=function(_0xe9b62f,_0x43d629){return'object'!=typeof _0xe9b62f||null===_0xe9b62f?'object\x20expected':(void 0x0===_0x43d629&&(_0x43d629=0x0),_0x43d629>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xe9b62f['data']&&Object['hasOwnProperty']['call'](_0xe9b62f,'data')&&!$util['isInteger'](_0xe9b62f['data'])?'data:\x20integer\x20expected':null!=_0xe9b62f['data1']&&Object['hasOwnProperty']['call'](_0xe9b62f,'data1')&&!$util['isInteger'](_0xe9b62f['data1'])?'data1:\x20integer\x20expected':null);},NumberNumberPacketDataMessage['fromObject']=function(object,_0x356000){if(object instanceof $root['NumberNumberPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x356000&&(_0x356000=0x0),_0x356000>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x74ce44=new $root['NumberNumberPacketDataMessage']();return null!=object['data']&&(_0x74ce44['data']=object['data']>>>0x0),null!=object['data1']&&(_0x74ce44['data1']=object['data1']>>>0x0),_0x74ce44;},NumberNumberPacketDataMessage['toObject']=function(_0x32c036,options,_0x259869){if(options||(options={}),void 0x0===_0x259869&&(_0x259869=0x0),_0x259869>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,object['data1']=0x0),null!=_0x32c036['data']&&Object['hasOwnProperty']['call'](_0x32c036,'data')&&(object['data']=_0x32c036['data']),null!=_0x32c036['data1']&&Object['hasOwnProperty']['call'](_0x32c036,'data1')&&(object['data1']=_0x32c036['data1']),object;},NumberNumberPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberNumberPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberNumberPacketDataMessage';},NumberNumberPacketDataMessage;}()),$root['NumberBytesPacketDataMessage']=(function(){function NumberBytesPacketDataMessage(properties){if(properties){for(var _0x3dac52=Object['keys'](properties),_0x2a3de4=0x0;_0x2a3de4<_0x3dac52['length'];++_0x2a3de4)null!=properties[_0x3dac52[_0x2a3de4]]&&'__proto__'!==_0x3dac52[_0x2a3de4]&&(this[_0x3dac52[_0x2a3de4]]=properties[_0x3dac52[_0x2a3de4]]);}}return NumberBytesPacketDataMessage['prototype']['data']=0x0,NumberBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),NumberBytesPacketDataMessage['create']=function(properties){return new NumberBytesPacketDataMessage(properties);},NumberBytesPacketDataMessage['encode']=function(_0x3a5b93,writer,_0x2e1257){if(writer||(writer=$Writer['create']()),void 0x0===_0x2e1257&&(_0x2e1257=0x0),_0x2e1257>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3a5b93['data']&&Object['hasOwnProperty']['call'](_0x3a5b93,'data')&&writer['uint32'](0x8)['uint32'](_0x3a5b93['data']),null!=_0x3a5b93['data1']&&Object['hasOwnProperty']['call'](_0x3a5b93,'data1')&&writer['uint32'](0x12)['bytes'](_0x3a5b93['data1']),writer;},NumberBytesPacketDataMessage['encodeDelimited']=function(_0x436484,writer){return this['encode'](_0x436484,writer)['ldelim']();},NumberBytesPacketDataMessage['decode']=function(_0x546195,length,_0x5d2aa5,_0x30eaed){if(_0x546195 instanceof _0x470ccf||(_0x546195=_0x470ccf['create'](_0x546195)),void 0x0===_0x30eaed&&(_0x30eaed=0x0),_0x30eaed>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2dab33=void 0x0===length?_0x546195['len']:_0x546195['pos']+length,_0x328551=new $root['NumberBytesPacketDataMessage']();_0x546195['pos']<_0x2dab33;){var tag=_0x546195['uint32']();if(tag===_0x5d2aa5)break;switch(tag>>>0x3){case 0x1:_0x328551['data']=_0x546195['uint32']();break;case 0x2:_0x328551['data1']=_0x546195['bytes']();break;default:_0x546195['skipType'](0x7&tag,_0x30eaed);}}return _0x328551;},NumberBytesPacketDataMessage['decodeDelimited']=function(_0x45a40f){return _0x45a40f instanceof _0x470ccf||(_0x45a40f=new _0x470ccf(_0x45a40f)),this['decode'](_0x45a40f,_0x45a40f['uint32']());},NumberBytesPacketDataMessage['verify']=function(_0x524508,_0x59d41a){return'object'!=typeof _0x524508||null===_0x524508?'object\x20expected':(void 0x0===_0x59d41a&&(_0x59d41a=0x0),_0x59d41a>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x524508['data']&&Object['hasOwnProperty']['call'](_0x524508,'data')&&!$util['isInteger'](_0x524508['data'])?'data:\x20integer\x20expected':null!=_0x524508['data1']&&Object['hasOwnProperty']['call'](_0x524508,'data1')&&!(_0x524508['data1']&&'number'==typeof _0x524508['data1']['length']||$util['isString'](_0x524508['data1']))?'data1:\x20buffer\x20expected':null);},NumberBytesPacketDataMessage['fromObject']=function(object,_0x3811ad){if(object instanceof $root['NumberBytesPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.NumberBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x3811ad&&(_0x3811ad=0x0),_0x3811ad>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x515f4e=new $root['NumberBytesPacketDataMessage']();return null!=object['data']&&(_0x515f4e['data']=object['data']>>>0x0),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x515f4e['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x515f4e['data1']=object['data1'])),_0x515f4e;},NumberBytesPacketDataMessage['toObject']=function(_0x387b08,options,_0x3bb43c){if(options||(options={}),void 0x0===_0x3bb43c&&(_0x3bb43c=0x0),_0x3bb43c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['data']=0x0,options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x387b08['data']&&Object['hasOwnProperty']['call'](_0x387b08,'data')&&(object['data']=_0x387b08['data']),null!=_0x387b08['data1']&&Object['hasOwnProperty']['call'](_0x387b08,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x387b08['data1'],0x0,_0x387b08['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x387b08['data1']):_0x387b08['data1']),object;},NumberBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},NumberBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/NumberBytesPacketDataMessage';},NumberBytesPacketDataMessage;}()),$root['BytesBytesPacketDataMessage']=(function(){function BytesBytesPacketDataMessage(properties){if(properties){for(var _0x45c300=Object['keys'](properties),_0x33f396=0x0;_0x33f396<_0x45c300['length'];++_0x33f396)null!=properties[_0x45c300[_0x33f396]]&&'__proto__'!==_0x45c300[_0x33f396]&&(this[_0x45c300[_0x33f396]]=properties[_0x45c300[_0x33f396]]);}}return BytesBytesPacketDataMessage['prototype']['data']=$util['newBuffer']([]),BytesBytesPacketDataMessage['prototype']['data1']=$util['newBuffer']([]),BytesBytesPacketDataMessage['create']=function(properties){return new BytesBytesPacketDataMessage(properties);},BytesBytesPacketDataMessage['encode']=function(_0x1a51dd,writer,_0x4f2bb7){if(writer||(writer=$Writer['create']()),void 0x0===_0x4f2bb7&&(_0x4f2bb7=0x0),_0x4f2bb7>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1a51dd['data']&&Object['hasOwnProperty']['call'](_0x1a51dd,'data')&&writer['uint32'](0xa)['bytes'](_0x1a51dd['data']),null!=_0x1a51dd['data1']&&Object['hasOwnProperty']['call'](_0x1a51dd,'data1')&&writer['uint32'](0x12)['bytes'](_0x1a51dd['data1']),writer;},BytesBytesPacketDataMessage['encodeDelimited']=function(_0x4bd52f,writer){return this['encode'](_0x4bd52f,writer)['ldelim']();},BytesBytesPacketDataMessage['decode']=function(_0x26f7e6,length,_0x3e9dee,_0x3ed195){if(_0x26f7e6 instanceof _0x470ccf||(_0x26f7e6=_0x470ccf['create'](_0x26f7e6)),void 0x0===_0x3ed195&&(_0x3ed195=0x0),_0x3ed195>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ef4d8=void 0x0===length?_0x26f7e6['len']:_0x26f7e6['pos']+length,_0x81443c=new $root['BytesBytesPacketDataMessage']();_0x26f7e6['pos']<_0x4ef4d8;){var tag=_0x26f7e6['uint32']();if(tag===_0x3e9dee)break;switch(tag>>>0x3){case 0x1:_0x81443c['data']=_0x26f7e6['bytes']();break;case 0x2:_0x81443c['data1']=_0x26f7e6['bytes']();break;default:_0x26f7e6['skipType'](0x7&tag,_0x3ed195);}}return _0x81443c;},BytesBytesPacketDataMessage['decodeDelimited']=function(_0xf24eb9){return _0xf24eb9 instanceof _0x470ccf||(_0xf24eb9=new _0x470ccf(_0xf24eb9)),this['decode'](_0xf24eb9,_0xf24eb9['uint32']());},BytesBytesPacketDataMessage['verify']=function(_0x20f8a0,_0x517496){return'object'!=typeof _0x20f8a0||null===_0x20f8a0?'object\x20expected':(void 0x0===_0x517496&&(_0x517496=0x0),_0x517496>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x20f8a0['data']&&Object['hasOwnProperty']['call'](_0x20f8a0,'data')&&!(_0x20f8a0['data']&&'number'==typeof _0x20f8a0['data']['length']||$util['isString'](_0x20f8a0['data']))?'data:\x20buffer\x20expected':null!=_0x20f8a0['data1']&&Object['hasOwnProperty']['call'](_0x20f8a0,'data1')&&!(_0x20f8a0['data1']&&'number'==typeof _0x20f8a0['data1']['length']||$util['isString'](_0x20f8a0['data1']))?'data1:\x20buffer\x20expected':null);},BytesBytesPacketDataMessage['fromObject']=function(object,_0x533114){if(object instanceof $root['BytesBytesPacketDataMessage'])return object;if(!$util['isObject'](object))throw TypeError('.BytesBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x533114&&(_0x533114=0x0),_0x533114>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x22e69a=new $root['BytesBytesPacketDataMessage']();return null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x22e69a['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x22e69a['data']=object['data'])),null!=object['data1']&&('string'==typeof object['data1']?$util['base64']['decode'](object['data1'],_0x22e69a['data1']=$util['newBuffer']($util['base64']['length'](object['data1'])),0x0):object['data1']['length']>=0x0&&(_0x22e69a['data1']=object['data1'])),_0x22e69a;},BytesBytesPacketDataMessage['toObject']=function(_0x430834,options,_0x217ba6){if(options||(options={}),void 0x0===_0x217ba6&&(_0x217ba6=0x0),_0x217ba6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data']))),options['bytes']===String?object['data1']='':(object['data1']=[],options['bytes']!==Array&&(object['data1']=$util['newBuffer'](object['data1'])))),null!=_0x430834['data']&&Object['hasOwnProperty']['call'](_0x430834,'data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x430834['data'],0x0,_0x430834['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x430834['data']):_0x430834['data']),null!=_0x430834['data1']&&Object['hasOwnProperty']['call'](_0x430834,'data1')&&(object['data1']=options['bytes']===String?$util['base64']['encode'](_0x430834['data1'],0x0,_0x430834['data1']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x430834['data1']):_0x430834['data1']),object;},BytesBytesPacketDataMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},BytesBytesPacketDataMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/BytesBytesPacketDataMessage';},BytesBytesPacketDataMessage;}()),$root['ChannelMessage']=(function(){function _0x1d517c(properties){if(properties){for(var _0x46e6d4=Object['keys'](properties),_0x42012f=0x0;_0x42012f<_0x46e6d4['length'];++_0x42012f)null!=properties[_0x46e6d4[_0x42012f]]&&'__proto__'!==_0x46e6d4[_0x42012f]&&(this[_0x46e6d4[_0x42012f]]=properties[_0x46e6d4[_0x42012f]]);}}return _0x1d517c['prototype']['type']=0x0,_0x1d517c['prototype']['socketId']='',_0x1d517c['prototype']['data']=$util['newBuffer']([]),_0x1d517c['create']=function(properties){return new _0x1d517c(properties);},_0x1d517c['encode']=function(_0x1e3c10,writer,_0x43fbf5){if(writer||(writer=$Writer['create']()),void 0x0===_0x43fbf5&&(_0x43fbf5=0x0),_0x43fbf5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1e3c10['type']&&Object['hasOwnProperty']['call'](_0x1e3c10,'type')&&writer['uint32'](0x8)['uint32'](_0x1e3c10['type']),null!=_0x1e3c10['socketId']&&Object['hasOwnProperty']['call'](_0x1e3c10,'socketId')&&writer['uint32'](0x12)['string'](_0x1e3c10['socketId']),null!=_0x1e3c10['data']&&Object['hasOwnProperty']['call'](_0x1e3c10,'data')&&writer['uint32'](0x1a)['bytes'](_0x1e3c10['data']),writer;},_0x1d517c['encodeDelimited']=function(_0x536e3f,writer){return this['encode'](_0x536e3f,writer)['ldelim']();},_0x1d517c['decode']=function(_0xd8bd65,length,_0x27833c,_0x437d43){if(_0xd8bd65 instanceof _0x470ccf||(_0xd8bd65=_0x470ccf['create'](_0xd8bd65)),void 0x0===_0x437d43&&(_0x437d43=0x0),_0x437d43>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3d2635=void 0x0===length?_0xd8bd65['len']:_0xd8bd65['pos']+length,_0x34d029=new $root['ChannelMessage']();_0xd8bd65['pos']<_0x3d2635;){var tag=_0xd8bd65['uint32']();if(tag===_0x27833c)break;switch(tag>>>0x3){case 0x1:_0x34d029['type']=_0xd8bd65['uint32']();break;case 0x2:_0x34d029['socketId']=_0xd8bd65['string']();break;case 0x3:_0x34d029['data']=_0xd8bd65['bytes']();break;default:_0xd8bd65['skipType'](0x7&tag,_0x437d43);}}return _0x34d029;},_0x1d517c['decodeDelimited']=function(_0x51e156){return _0x51e156 instanceof _0x470ccf||(_0x51e156=new _0x470ccf(_0x51e156)),this['decode'](_0x51e156,_0x51e156['uint32']());},_0x1d517c['verify']=function(_0x13769e,_0x18917e){return'object'!=typeof _0x13769e||null===_0x13769e?'object\x20expected':(void 0x0===_0x18917e&&(_0x18917e=0x0),_0x18917e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x13769e['type']&&Object['hasOwnProperty']['call'](_0x13769e,'type')&&!$util['isInteger'](_0x13769e['type'])?'type:\x20integer\x20expected':null!=_0x13769e['socketId']&&Object['hasOwnProperty']['call'](_0x13769e,'socketId')&&!$util['isString'](_0x13769e['socketId'])?'socketId:\x20string\x20expected':null!=_0x13769e['data']&&Object['hasOwnProperty']['call'](_0x13769e,'data')&&!(_0x13769e['data']&&'number'==typeof _0x13769e['data']['length']||$util['isString'](_0x13769e['data']))?'data:\x20buffer\x20expected':null);},_0x1d517c['fromObject']=function(object,_0x16d61d){if(object instanceof $root['ChannelMessage'])return object;if(!$util['isObject'](object))throw TypeError('.ChannelMessage:\x20object\x20expected');if(void 0x0===_0x16d61d&&(_0x16d61d=0x0),_0x16d61d>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x7a3661=new $root['ChannelMessage']();return null!=object['type']&&(_0x7a3661['type']=object['type']>>>0x0),null!=object['socketId']&&(_0x7a3661['socketId']=String(object['socketId'])),null!=object['data']&&('string'==typeof object['data']?$util['base64']['decode'](object['data'],_0x7a3661['data']=$util['newBuffer']($util['base64']['length'](object['data'])),0x0):object['data']['length']>=0x0&&(_0x7a3661['data']=object['data'])),_0x7a3661;},_0x1d517c['toObject']=function(_0x426429,options,_0x4c019a){if(options||(options={}),void 0x0===_0x4c019a&&(_0x4c019a=0x0),_0x4c019a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['type']=0x0,object['socketId']='',options['bytes']===String?object['data']='':(object['data']=[],options['bytes']!==Array&&(object['data']=$util['newBuffer'](object['data'])))),null!=_0x426429['type']&&Object['hasOwnProperty']['call'](_0x426429,'type')&&(object['type']=_0x426429['type']),null!=_0x426429['socketId']&&Object['hasOwnProperty']['call'](_0x426429,'socketId')&&(object['socketId']=_0x426429['socketId']),null!=_0x426429['data']&&Object['hasOwnProperty']['call'](_0x426429,'data')&&(object['data']=options['bytes']===String?$util['base64']['encode'](_0x426429['data'],0x0,_0x426429['data']['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x426429['data']):_0x426429['data']),object;},_0x1d517c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},_0x1d517c['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ChannelMessage';},_0x1d517c;}()),$root['ChannelDisconnectedMessage']=(function(){function ChannelDisconnectedMessage(properties){if(properties){for(var _0x2d9534=Object['keys'](properties),_0x7c005d=0x0;_0x7c005d<_0x2d9534['length'];++_0x7c005d)null!=properties[_0x2d9534[_0x7c005d]]&&'__proto__'!==_0x2d9534[_0x7c005d]&&(this[_0x2d9534[_0x7c005d]]=properties[_0x2d9534[_0x7c005d]]);}}return ChannelDisconnectedMessage['create']=function(properties){return new ChannelDisconnectedMessage(properties);},ChannelDisconnectedMessage['encode']=function(_0x12084c,writer,_0x4a4102){if(writer||(writer=$Writer['create']()),void 0x0===_0x4a4102&&(_0x4a4102=0x0),_0x4a4102>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return writer;},ChannelDisconnectedMessage['encodeDelimited']=function(_0x22017d,writer){return this['encode'](_0x22017d,writer)['ldelim']();},ChannelDisconnectedMessage['decode']=function(_0x234117,length,_0x106f16,_0x4b17b1){if(_0x234117 instanceof _0x470ccf||(_0x234117=_0x470ccf['create'](_0x234117)),void 0x0===_0x4b17b1&&(_0x4b17b1=0x0),_0x4b17b1>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3ec8ce=void 0x0===length?_0x234117['len']:_0x234117['pos']+length,_0x19c7af=new $root['ChannelDisconnectedMessage']();_0x234117['pos']<_0x3ec8ce;){var tag=_0x234117['uint32']();if(tag===_0x106f16)break;_0x234117['skipType'](0x7&tag,_0x4b17b1);}return _0x19c7af;},ChannelDisconnectedMessage['decodeDelimited']=function(_0x3483b5){return _0x3483b5 instanceof _0x470ccf||(_0x3483b5=new _0x470ccf(_0x3483b5)),this['decode'](_0x3483b5,_0x3483b5['uint32']());},ChannelDisconnectedMessage['verify']=function(_0x2666ae,_0x14d83e){return'object'!=typeof _0x2666ae||null===_0x2666ae?'object\x20expected':(void 0x0===_0x14d83e&&(_0x14d83e=0x0),_0x14d83e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null);},ChannelDisconnectedMessage['fromObject']=function(object,_0x205b3a){return object instanceof $root['ChannelDisconnectedMessage']?object:new $root['ChannelDisconnectedMessage']();},ChannelDisconnectedMessage['toObject']=function(){return{};},ChannelDisconnectedMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},ChannelDisconnectedMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/ChannelDisconnectedMessage';},ChannelDisconnectedMessage;}()),$root['GetUserResponse']=(function(){function GetUserResponse(properties){if(this['attributes']=[],properties){for(var _0x546048=Object['keys'](properties),_0x30b83d=0x0;_0x30b83d<_0x546048['length'];++_0x30b83d)null!=properties[_0x546048[_0x30b83d]]&&'__proto__'!==_0x546048[_0x30b83d]&&(this[_0x546048[_0x30b83d]]=properties[_0x546048[_0x30b83d]]);}}return GetUserResponse['prototype']['attributes']=$util['emptyArray'],GetUserResponse['create']=function(properties){return new GetUserResponse(properties);},GetUserResponse['encode']=function(_0x18b61f,writer,_0x4ad16e){if(writer||(writer=$Writer['create']()),void 0x0===_0x4ad16e&&(_0x4ad16e=0x0),_0x4ad16e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x18b61f['attributes']&&_0x18b61f['attributes']['length']){for(var _0x1fc769=0x0;_0x1fc769<_0x18b61f['attributes']['length'];++_0x1fc769)$root['KeyValueDescriptor']['encode'](_0x18b61f['attributes'][_0x1fc769],writer['uint32'](0xa)['fork'](),_0x4ad16e+0x1)['ldelim']();}return writer;},GetUserResponse['encodeDelimited']=function(_0x46d554,writer){return this['encode'](_0x46d554,writer)['ldelim']();},GetUserResponse['decode']=function(_0x43b8c5,length,_0x166461,_0x63a52f){if(_0x43b8c5 instanceof _0x470ccf||(_0x43b8c5=_0x470ccf['create'](_0x43b8c5)),void 0x0===_0x63a52f&&(_0x63a52f=0x0),_0x63a52f>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x726064=void 0x0===length?_0x43b8c5['len']:_0x43b8c5['pos']+length,_0x2b080d=new $root['GetUserResponse']();_0x43b8c5['pos']<_0x726064;){var tag=_0x43b8c5['uint32']();if(tag===_0x166461)break;if(tag>>>0x3==0x1)_0x2b080d['attributes']&&_0x2b080d['attributes']['length']||(_0x2b080d['attributes']=[]),_0x2b080d['attributes']['push']($root['KeyValueDescriptor']['decode'](_0x43b8c5,_0x43b8c5['uint32'](),void 0x0,_0x63a52f+0x1));else _0x43b8c5['skipType'](0x7&tag,_0x63a52f);}return _0x2b080d;},GetUserResponse['decodeDelimited']=function(_0x45ac20){return _0x45ac20 instanceof _0x470ccf||(_0x45ac20=new _0x470ccf(_0x45ac20)),this['decode'](_0x45ac20,_0x45ac20['uint32']());},GetUserResponse['verify']=function(_0xa77091,_0x2d8f59){if('object'!=typeof _0xa77091||null===_0xa77091)return'object\x20expected';if(void 0x0===_0x2d8f59&&(_0x2d8f59=0x0),_0x2d8f59>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xa77091['attributes']&&Object['hasOwnProperty']['call'](_0xa77091,'attributes')){if(!Array['isArray'](_0xa77091['attributes']))return'attributes:\x20array\x20expected';for(var _0xdb5580=0x0;_0xdb5580<_0xa77091['attributes']['length'];++_0xdb5580){var _0x325f75=$root['KeyValueDescriptor']['verify'](_0xa77091['attributes'][_0xdb5580],_0x2d8f59+0x1);if(_0x325f75)return'attributes.'+_0x325f75;}}return null;},GetUserResponse['fromObject']=function(object,_0xd6ee76){if(object instanceof $root['GetUserResponse'])return object;if(!$util['isObject'](object))throw TypeError('.GetUserResponse:\x20object\x20expected');if(void 0x0===_0xd6ee76&&(_0xd6ee76=0x0),_0xd6ee76>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x114532=new $root['GetUserResponse']();if(object['attributes']){if(!Array['isArray'](object['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x114532['attributes']=[];for(var _0x4578c2=0x0;_0x4578c2<object['attributes']['length'];++_0x4578c2){if(!$util['isObject'](object['attributes'][_0x4578c2]))throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x114532['attributes'][_0x4578c2]=$root['KeyValueDescriptor']['fromObject'](object['attributes'][_0x4578c2],_0xd6ee76+0x1);}}return _0x114532;},GetUserResponse['toObject']=function(_0x44bf5e,options,_0x334ed3){if(options||(options={}),void 0x0===_0x334ed3&&(_0x334ed3=0x0),_0x334ed3>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['attributes']=[]),_0x44bf5e['attributes']&&_0x44bf5e['attributes']['length']){object['attributes']=[];for(var _0x2a1014=0x0;_0x2a1014<_0x44bf5e['attributes']['length'];++_0x2a1014)object['attributes'][_0x2a1014]=$root['KeyValueDescriptor']['toObject'](_0x44bf5e['attributes'][_0x2a1014],options,_0x334ed3+0x1);}return object;},GetUserResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetUserResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetUserResponse';},GetUserResponse;}()),$root['GetManyUsersResponse']=(function(){function GetManyUsersResponse(properties){if(this['users']=[],properties){for(var _0x2f4ac3=Object['keys'](properties),_0x3f4639=0x0;_0x3f4639<_0x2f4ac3['length'];++_0x3f4639)null!=properties[_0x2f4ac3[_0x3f4639]]&&'__proto__'!==_0x2f4ac3[_0x3f4639]&&(this[_0x2f4ac3[_0x3f4639]]=properties[_0x2f4ac3[_0x3f4639]]);}}return GetManyUsersResponse['prototype']['users']=$util['emptyArray'],GetManyUsersResponse['create']=function(properties){return new GetManyUsersResponse(properties);},GetManyUsersResponse['encode']=function(_0x5c66b6,writer,_0x4a585f){if(writer||(writer=$Writer['create']()),void 0x0===_0x4a585f&&(_0x4a585f=0x0),_0x4a585f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5c66b6['users']&&_0x5c66b6['users']['length']){for(var _0x13ba12=0x0;_0x13ba12<_0x5c66b6['users']['length'];++_0x13ba12)$root['UserDescriptor']['encode'](_0x5c66b6['users'][_0x13ba12],writer['uint32'](0xa)['fork'](),_0x4a585f+0x1)['ldelim']();}return writer;},GetManyUsersResponse['encodeDelimited']=function(_0x4405bf,writer){return this['encode'](_0x4405bf,writer)['ldelim']();},GetManyUsersResponse['decode']=function(_0x7e641,length,_0x5d5d0d,_0x3e55a9){if(_0x7e641 instanceof _0x470ccf||(_0x7e641=_0x470ccf['create'](_0x7e641)),void 0x0===_0x3e55a9&&(_0x3e55a9=0x0),_0x3e55a9>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x240a8f=void 0x0===length?_0x7e641['len']:_0x7e641['pos']+length,_0xa61d11=new $root['GetManyUsersResponse']();_0x7e641['pos']<_0x240a8f;){var tag=_0x7e641['uint32']();if(tag===_0x5d5d0d)break;if(tag>>>0x3==0x1)_0xa61d11['users']&&_0xa61d11['users']['length']||(_0xa61d11['users']=[]),_0xa61d11['users']['push']($root['UserDescriptor']['decode'](_0x7e641,_0x7e641['uint32'](),void 0x0,_0x3e55a9+0x1));else _0x7e641['skipType'](0x7&tag,_0x3e55a9);}return _0xa61d11;},GetManyUsersResponse['decodeDelimited']=function(_0xdd2fef){return _0xdd2fef instanceof _0x470ccf||(_0xdd2fef=new _0x470ccf(_0xdd2fef)),this['decode'](_0xdd2fef,_0xdd2fef['uint32']());},GetManyUsersResponse['verify']=function(_0x568f63,_0x31cc07){if('object'!=typeof _0x568f63||null===_0x568f63)return'object\x20expected';if(void 0x0===_0x31cc07&&(_0x31cc07=0x0),_0x31cc07>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x568f63['users']&&Object['hasOwnProperty']['call'](_0x568f63,'users')){if(!Array['isArray'](_0x568f63['users']))return'users:\x20array\x20expected';for(var _0x3b24ec=0x0;_0x3b24ec<_0x568f63['users']['length'];++_0x3b24ec){var _0x1510a8=$root['UserDescriptor']['verify'](_0x568f63['users'][_0x3b24ec],_0x31cc07+0x1);if(_0x1510a8)return'users.'+_0x1510a8;}}return null;},GetManyUsersResponse['fromObject']=function(object,_0x1eec01){if(object instanceof $root['GetManyUsersResponse'])return object;if(!$util['isObject'](object))throw TypeError('.GetManyUsersResponse:\x20object\x20expected');if(void 0x0===_0x1eec01&&(_0x1eec01=0x0),_0x1eec01>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x30c634=new $root['GetManyUsersResponse']();if(object['users']){if(!Array['isArray'](object['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x30c634['users']=[];for(var _0x4f339c=0x0;_0x4f339c<object['users']['length'];++_0x4f339c){if(!$util['isObject'](object['users'][_0x4f339c]))throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x30c634['users'][_0x4f339c]=$root['UserDescriptor']['fromObject'](object['users'][_0x4f339c],_0x1eec01+0x1);}}return _0x30c634;},GetManyUsersResponse['toObject']=function(_0x9d51c4,options,_0x963955){if(options||(options={}),void 0x0===_0x963955&&(_0x963955=0x0),_0x963955>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['users']=[]),_0x9d51c4['users']&&_0x9d51c4['users']['length']){object['users']=[];for(var _0x4d276a=0x0;_0x4d276a<_0x9d51c4['users']['length'];++_0x4d276a)object['users'][_0x4d276a]=$root['UserDescriptor']['toObject'](_0x9d51c4['users'][_0x4d276a],options,_0x963955+0x1);}return object;},GetManyUsersResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetManyUsersResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetManyUsersResponse';},GetManyUsersResponse;}()),$root['GetUserMessage']=(function(){function GetUserMessage(properties){if(properties){for(var _0x2902ea=Object['keys'](properties),_0x37f995=0x0;_0x37f995<_0x2902ea['length'];++_0x37f995)null!=properties[_0x2902ea[_0x37f995]]&&'__proto__'!==_0x2902ea[_0x37f995]&&(this[_0x2902ea[_0x37f995]]=properties[_0x2902ea[_0x37f995]]);}}return GetUserMessage['prototype']['id']='',GetUserMessage['create']=function(properties){return new GetUserMessage(properties);},GetUserMessage['encode']=function(_0xb5881,writer,_0x24f560){if(writer||(writer=$Writer['create']()),void 0x0===_0x24f560&&(_0x24f560=0x0),_0x24f560>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xb5881['id']&&Object['hasOwnProperty']['call'](_0xb5881,'id')&&writer['uint32'](0xa)['string'](_0xb5881['id']),writer;},GetUserMessage['encodeDelimited']=function(_0x5a04fc,writer){return this['encode'](_0x5a04fc,writer)['ldelim']();},GetUserMessage['decode']=function(_0x2a90a3,length,_0x4b76fd,_0x1eaa8e){if(_0x2a90a3 instanceof _0x470ccf||(_0x2a90a3=_0x470ccf['create'](_0x2a90a3)),void 0x0===_0x1eaa8e&&(_0x1eaa8e=0x0),_0x1eaa8e>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x21912a=void 0x0===length?_0x2a90a3['len']:_0x2a90a3['pos']+length,_0x409b0a=new $root['GetUserMessage']();_0x2a90a3['pos']<_0x21912a;){var tag=_0x2a90a3['uint32']();if(tag===_0x4b76fd)break;if(tag>>>0x3==0x1)_0x409b0a['id']=_0x2a90a3['string']();else _0x2a90a3['skipType'](0x7&tag,_0x1eaa8e);}return _0x409b0a;},GetUserMessage['decodeDelimited']=function(_0x564188){return _0x564188 instanceof _0x470ccf||(_0x564188=new _0x470ccf(_0x564188)),this['decode'](_0x564188,_0x564188['uint32']());},GetUserMessage['verify']=function(_0x3293b2,_0x261e93){return'object'!=typeof _0x3293b2||null===_0x3293b2?'object\x20expected':(void 0x0===_0x261e93&&(_0x261e93=0x0),_0x261e93>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3293b2['id']&&Object['hasOwnProperty']['call'](_0x3293b2,'id')&&!$util['isString'](_0x3293b2['id'])?'id:\x20string\x20expected':null);},GetUserMessage['fromObject']=function(object,_0x1dfb63){if(object instanceof $root['GetUserMessage'])return object;if(!$util['isObject'](object))throw TypeError('.GetUserMessage:\x20object\x20expected');if(void 0x0===_0x1dfb63&&(_0x1dfb63=0x0),_0x1dfb63>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2b6bb2=new $root['GetUserMessage']();return null!=object['id']&&(_0x2b6bb2['id']=String(object['id'])),_0x2b6bb2;},GetUserMessage['toObject']=function(_0x296c32,options,_0x4318c0){if(options||(options={}),void 0x0===_0x4318c0&&(_0x4318c0=0x0),_0x4318c0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']=''),null!=_0x296c32['id']&&Object['hasOwnProperty']['call'](_0x296c32,'id')&&(object['id']=_0x296c32['id']),object;},GetUserMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetUserMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetUserMessage';},GetUserMessage;}()),$root['GetManyUsersMessage']=(function(){function GetManyUsersMessage(properties){if(this['ids']=[],properties){for(var _0x59f760=Object['keys'](properties),_0x381822=0x0;_0x381822<_0x59f760['length'];++_0x381822)null!=properties[_0x59f760[_0x381822]]&&'__proto__'!==_0x59f760[_0x381822]&&(this[_0x59f760[_0x381822]]=properties[_0x59f760[_0x381822]]);}}return GetManyUsersMessage['prototype']['ids']=$util['emptyArray'],GetManyUsersMessage['create']=function(properties){return new GetManyUsersMessage(properties);},GetManyUsersMessage['encode']=function(_0x1986fd,writer,_0x4799a6){if(writer||(writer=$Writer['create']()),void 0x0===_0x4799a6&&(_0x4799a6=0x0),_0x4799a6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1986fd['ids']&&_0x1986fd['ids']['length']){for(var _0x4c4bd9=0x0;_0x4c4bd9<_0x1986fd['ids']['length'];++_0x4c4bd9)writer['uint32'](0xa)['string'](_0x1986fd['ids'][_0x4c4bd9]);}return writer;},GetManyUsersMessage['encodeDelimited']=function(_0x26fa8b,writer){return this['encode'](_0x26fa8b,writer)['ldelim']();},GetManyUsersMessage['decode']=function(_0x4d7683,length,_0x39b519,_0x36afd2){if(_0x4d7683 instanceof _0x470ccf||(_0x4d7683=_0x470ccf['create'](_0x4d7683)),void 0x0===_0x36afd2&&(_0x36afd2=0x0),_0x36afd2>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2e2205=void 0x0===length?_0x4d7683['len']:_0x4d7683['pos']+length,_0x57c978=new $root['GetManyUsersMessage']();_0x4d7683['pos']<_0x2e2205;){var tag=_0x4d7683['uint32']();if(tag===_0x39b519)break;if(tag>>>0x3==0x1)_0x57c978['ids']&&_0x57c978['ids']['length']||(_0x57c978['ids']=[]),_0x57c978['ids']['push'](_0x4d7683['string']());else _0x4d7683['skipType'](0x7&tag,_0x36afd2);}return _0x57c978;},GetManyUsersMessage['decodeDelimited']=function(_0x39255d){return _0x39255d instanceof _0x470ccf||(_0x39255d=new _0x470ccf(_0x39255d)),this['decode'](_0x39255d,_0x39255d['uint32']());},GetManyUsersMessage['verify']=function(_0x2a98c6,_0x35a596){if('object'!=typeof _0x2a98c6||null===_0x2a98c6)return'object\x20expected';if(void 0x0===_0x35a596&&(_0x35a596=0x0),_0x35a596>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2a98c6['ids']&&Object['hasOwnProperty']['call'](_0x2a98c6,'ids')){if(!Array['isArray'](_0x2a98c6['ids']))return'ids:\x20array\x20expected';for(var _0x273c3b=0x0;_0x273c3b<_0x2a98c6['ids']['length'];++_0x273c3b)if(!$util['isString'](_0x2a98c6['ids'][_0x273c3b]))return'ids:\x20string[]\x20expected';}return null;},GetManyUsersMessage['fromObject']=function(object,_0x18e047){if(object instanceof $root['GetManyUsersMessage'])return object;if(!$util['isObject'](object))throw TypeError('.GetManyUsersMessage:\x20object\x20expected');if(void 0x0===_0x18e047&&(_0x18e047=0x0),_0x18e047>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5ed528=new $root['GetManyUsersMessage']();if(object['ids']){if(!Array['isArray'](object['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x5ed528['ids']=[];for(var _0x379826=0x0;_0x379826<object['ids']['length'];++_0x379826)_0x5ed528['ids'][_0x379826]=String(object['ids'][_0x379826]);}return _0x5ed528;},GetManyUsersMessage['toObject']=function(_0x10d4b4,options,_0x1dd233){if(options||(options={}),void 0x0===_0x1dd233&&(_0x1dd233=0x0),_0x1dd233>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['ids']=[]),_0x10d4b4['ids']&&_0x10d4b4['ids']['length']){object['ids']=[];for(var _0x5d91b4=0x0;_0x5d91b4<_0x10d4b4['ids']['length'];++_0x5d91b4)object['ids'][_0x5d91b4]=_0x10d4b4['ids'][_0x5d91b4];}return object;},GetManyUsersMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetManyUsersMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetManyUsersMessage';},GetManyUsersMessage;}()),$root['UserDescriptor']=(function(){function UserDescriptor(properties){if(this['attributes']=[],properties){for(var _0x12909a=Object['keys'](properties),_0x393bc6=0x0;_0x393bc6<_0x12909a['length'];++_0x393bc6)null!=properties[_0x12909a[_0x393bc6]]&&'__proto__'!==_0x12909a[_0x393bc6]&&(this[_0x12909a[_0x393bc6]]=properties[_0x12909a[_0x393bc6]]);}}return UserDescriptor['prototype']['attributes']=$util['emptyArray'],UserDescriptor['create']=function(properties){return new UserDescriptor(properties);},UserDescriptor['encode']=function(_0x1e3799,writer,_0x20912b){if(writer||(writer=$Writer['create']()),void 0x0===_0x20912b&&(_0x20912b=0x0),_0x20912b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1e3799['attributes']&&_0x1e3799['attributes']['length']){for(var _0x2aadd8=0x0;_0x2aadd8<_0x1e3799['attributes']['length'];++_0x2aadd8)$root['KeyValueDescriptor']['encode'](_0x1e3799['attributes'][_0x2aadd8],writer['uint32'](0xa)['fork'](),_0x20912b+0x1)['ldelim']();}return writer;},UserDescriptor['encodeDelimited']=function(_0x3f1f3d,writer){return this['encode'](_0x3f1f3d,writer)['ldelim']();},UserDescriptor['decode']=function(_0x50ab3,length,_0x3704a0,_0x4853c1){if(_0x50ab3 instanceof _0x470ccf||(_0x50ab3=_0x470ccf['create'](_0x50ab3)),void 0x0===_0x4853c1&&(_0x4853c1=0x0),_0x4853c1>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27633b=void 0x0===length?_0x50ab3['len']:_0x50ab3['pos']+length,_0x219f7b=new $root['UserDescriptor']();_0x50ab3['pos']<_0x27633b;){var tag=_0x50ab3['uint32']();if(tag===_0x3704a0)break;if(tag>>>0x3==0x1)_0x219f7b['attributes']&&_0x219f7b['attributes']['length']||(_0x219f7b['attributes']=[]),_0x219f7b['attributes']['push']($root['KeyValueDescriptor']['decode'](_0x50ab3,_0x50ab3['uint32'](),void 0x0,_0x4853c1+0x1));else _0x50ab3['skipType'](0x7&tag,_0x4853c1);}return _0x219f7b;},UserDescriptor['decodeDelimited']=function(_0x464fe2){return _0x464fe2 instanceof _0x470ccf||(_0x464fe2=new _0x470ccf(_0x464fe2)),this['decode'](_0x464fe2,_0x464fe2['uint32']());},UserDescriptor['verify']=function(_0x489d37,_0x5f99b2){if('object'!=typeof _0x489d37||null===_0x489d37)return'object\x20expected';if(void 0x0===_0x5f99b2&&(_0x5f99b2=0x0),_0x5f99b2>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x489d37['attributes']&&Object['hasOwnProperty']['call'](_0x489d37,'attributes')){if(!Array['isArray'](_0x489d37['attributes']))return'attributes:\x20array\x20expected';for(var _0x10ca57=0x0;_0x10ca57<_0x489d37['attributes']['length'];++_0x10ca57){var _0x2f0aa5=$root['KeyValueDescriptor']['verify'](_0x489d37['attributes'][_0x10ca57],_0x5f99b2+0x1);if(_0x2f0aa5)return'attributes.'+_0x2f0aa5;}}return null;},UserDescriptor['fromObject']=function(object,_0x3dbf89){if(object instanceof $root['UserDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.UserDescriptor:\x20object\x20expected');if(void 0x0===_0x3dbf89&&(_0x3dbf89=0x0),_0x3dbf89>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x26c05a=new $root['UserDescriptor']();if(object['attributes']){if(!Array['isArray'](object['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x26c05a['attributes']=[];for(var _0x3d0323=0x0;_0x3d0323<object['attributes']['length'];++_0x3d0323){if(!$util['isObject'](object['attributes'][_0x3d0323]))throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x26c05a['attributes'][_0x3d0323]=$root['KeyValueDescriptor']['fromObject'](object['attributes'][_0x3d0323],_0x3dbf89+0x1);}}return _0x26c05a;},UserDescriptor['toObject']=function(_0xb33329,options,_0x550eed){if(options||(options={}),void 0x0===_0x550eed&&(_0x550eed=0x0),_0x550eed>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['attributes']=[]),_0xb33329['attributes']&&_0xb33329['attributes']['length']){object['attributes']=[];for(var _0x1272ef=0x0;_0x1272ef<_0xb33329['attributes']['length'];++_0x1272ef)object['attributes'][_0x1272ef]=$root['KeyValueDescriptor']['toObject'](_0xb33329['attributes'][_0x1272ef],options,_0x550eed+0x1);}return object;},UserDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},UserDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/UserDescriptor';},UserDescriptor;}()),$root['TrackChangesGetSuggestionResponse']=(function(){function TrackChangesGetSuggestionResponse(properties){if(properties){for(var _0x23c8de=Object['keys'](properties),_0x304692=0x0;_0x304692<_0x23c8de['length'];++_0x304692)null!=properties[_0x23c8de[_0x304692]]&&'__proto__'!==_0x23c8de[_0x304692]&&(this[_0x23c8de[_0x304692]]=properties[_0x23c8de[_0x304692]]);}}return TrackChangesGetSuggestionResponse['prototype']['id']='',TrackChangesGetSuggestionResponse['prototype']['authorId']='',TrackChangesGetSuggestionResponse['prototype']['type']='',TrackChangesGetSuggestionResponse['prototype']['createdAt']='',TrackChangesGetSuggestionResponse['prototype']['data']='',TrackChangesGetSuggestionResponse['prototype']['hasComments']=!0x1,TrackChangesGetSuggestionResponse['prototype']['state']='',TrackChangesGetSuggestionResponse['prototype']['attributes']='',TrackChangesGetSuggestionResponse['create']=function(properties){return new TrackChangesGetSuggestionResponse(properties);},TrackChangesGetSuggestionResponse['encode']=function(_0x5d3804,writer,_0x535d91){if(writer||(writer=$Writer['create']()),void 0x0===_0x535d91&&(_0x535d91=0x0),_0x535d91>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5d3804['id']&&Object['hasOwnProperty']['call'](_0x5d3804,'id')&&writer['uint32'](0xa)['string'](_0x5d3804['id']),null!=_0x5d3804['authorId']&&Object['hasOwnProperty']['call'](_0x5d3804,'authorId')&&writer['uint32'](0x12)['string'](_0x5d3804['authorId']),null!=_0x5d3804['type']&&Object['hasOwnProperty']['call'](_0x5d3804,'type')&&writer['uint32'](0x1a)['string'](_0x5d3804['type']),null!=_0x5d3804['createdAt']&&Object['hasOwnProperty']['call'](_0x5d3804,'createdAt')&&writer['uint32'](0x22)['string'](_0x5d3804['createdAt']),null!=_0x5d3804['data']&&Object['hasOwnProperty']['call'](_0x5d3804,'data')&&writer['uint32'](0x2a)['string'](_0x5d3804['data']),null!=_0x5d3804['hasComments']&&Object['hasOwnProperty']['call'](_0x5d3804,'hasComments')&&writer['uint32'](0x30)['bool'](_0x5d3804['hasComments']),null!=_0x5d3804['state']&&Object['hasOwnProperty']['call'](_0x5d3804,'state')&&writer['uint32'](0x3a)['string'](_0x5d3804['state']),null!=_0x5d3804['attributes']&&Object['hasOwnProperty']['call'](_0x5d3804,'attributes')&&writer['uint32'](0x42)['string'](_0x5d3804['attributes']),writer;},TrackChangesGetSuggestionResponse['encodeDelimited']=function(_0x69f2c9,writer){return this['encode'](_0x69f2c9,writer)['ldelim']();},TrackChangesGetSuggestionResponse['decode']=function(_0x3e6b64,length,_0x70a81b,_0x345c45){if(_0x3e6b64 instanceof _0x470ccf||(_0x3e6b64=_0x470ccf['create'](_0x3e6b64)),void 0x0===_0x345c45&&(_0x345c45=0x0),_0x345c45>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x23eb7d=void 0x0===length?_0x3e6b64['len']:_0x3e6b64['pos']+length,_0xec4eb2=new $root['TrackChangesGetSuggestionResponse']();_0x3e6b64['pos']<_0x23eb7d;){var tag=_0x3e6b64['uint32']();if(tag===_0x70a81b)break;switch(tag>>>0x3){case 0x1:_0xec4eb2['id']=_0x3e6b64['string']();break;case 0x2:_0xec4eb2['authorId']=_0x3e6b64['string']();break;case 0x3:_0xec4eb2['type']=_0x3e6b64['string']();break;case 0x4:_0xec4eb2['createdAt']=_0x3e6b64['string']();break;case 0x5:_0xec4eb2['data']=_0x3e6b64['string']();break;case 0x6:_0xec4eb2['hasComments']=_0x3e6b64['bool']();break;case 0x7:_0xec4eb2['state']=_0x3e6b64['string']();break;case 0x8:_0xec4eb2['attributes']=_0x3e6b64['string']();break;default:_0x3e6b64['skipType'](0x7&tag,_0x345c45);}}return _0xec4eb2;},TrackChangesGetSuggestionResponse['decodeDelimited']=function(_0x59b8a7){return _0x59b8a7 instanceof _0x470ccf||(_0x59b8a7=new _0x470ccf(_0x59b8a7)),this['decode'](_0x59b8a7,_0x59b8a7['uint32']());},TrackChangesGetSuggestionResponse['verify']=function(_0x1d526d,_0x3fc3c1){return'object'!=typeof _0x1d526d||null===_0x1d526d?'object\x20expected':(void 0x0===_0x3fc3c1&&(_0x3fc3c1=0x0),_0x3fc3c1>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1d526d['id']&&Object['hasOwnProperty']['call'](_0x1d526d,'id')&&!$util['isString'](_0x1d526d['id'])?'id:\x20string\x20expected':null!=_0x1d526d['authorId']&&Object['hasOwnProperty']['call'](_0x1d526d,'authorId')&&!$util['isString'](_0x1d526d['authorId'])?'authorId:\x20string\x20expected':null!=_0x1d526d['type']&&Object['hasOwnProperty']['call'](_0x1d526d,'type')&&!$util['isString'](_0x1d526d['type'])?'type:\x20string\x20expected':null!=_0x1d526d['createdAt']&&Object['hasOwnProperty']['call'](_0x1d526d,'createdAt')&&!$util['isString'](_0x1d526d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1d526d['data']&&Object['hasOwnProperty']['call'](_0x1d526d,'data')&&!$util['isString'](_0x1d526d['data'])?'data:\x20string\x20expected':null!=_0x1d526d['hasComments']&&Object['hasOwnProperty']['call'](_0x1d526d,'hasComments')&&'boolean'!=typeof _0x1d526d['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1d526d['state']&&Object['hasOwnProperty']['call'](_0x1d526d,'state')&&!$util['isString'](_0x1d526d['state'])?'state:\x20string\x20expected':null!=_0x1d526d['attributes']&&Object['hasOwnProperty']['call'](_0x1d526d,'attributes')&&!$util['isString'](_0x1d526d['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesGetSuggestionResponse['fromObject']=function(object,_0x3814ea){if(object instanceof $root['TrackChangesGetSuggestionResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x3814ea&&(_0x3814ea=0x0),_0x3814ea>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xb8e45c=new $root['TrackChangesGetSuggestionResponse']();return null!=object['id']&&(_0xb8e45c['id']=String(object['id'])),null!=object['authorId']&&(_0xb8e45c['authorId']=String(object['authorId'])),null!=object['type']&&(_0xb8e45c['type']=String(object['type'])),null!=object['createdAt']&&(_0xb8e45c['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0xb8e45c['data']=String(object['data'])),null!=object['hasComments']&&(_0xb8e45c['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0xb8e45c['state']=String(object['state'])),null!=object['attributes']&&(_0xb8e45c['attributes']=String(object['attributes'])),_0xb8e45c;},TrackChangesGetSuggestionResponse['toObject']=function(_0x33a8fa,options,_0x4363f9){if(options||(options={}),void 0x0===_0x4363f9&&(_0x4363f9=0x0),_0x4363f9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x33a8fa['id']&&Object['hasOwnProperty']['call'](_0x33a8fa,'id')&&(object['id']=_0x33a8fa['id']),null!=_0x33a8fa['authorId']&&Object['hasOwnProperty']['call'](_0x33a8fa,'authorId')&&(object['authorId']=_0x33a8fa['authorId']),null!=_0x33a8fa['type']&&Object['hasOwnProperty']['call'](_0x33a8fa,'type')&&(object['type']=_0x33a8fa['type']),null!=_0x33a8fa['createdAt']&&Object['hasOwnProperty']['call'](_0x33a8fa,'createdAt')&&(object['createdAt']=_0x33a8fa['createdAt']),null!=_0x33a8fa['data']&&Object['hasOwnProperty']['call'](_0x33a8fa,'data')&&(object['data']=_0x33a8fa['data']),null!=_0x33a8fa['hasComments']&&Object['hasOwnProperty']['call'](_0x33a8fa,'hasComments')&&(object['hasComments']=_0x33a8fa['hasComments']),null!=_0x33a8fa['state']&&Object['hasOwnProperty']['call'](_0x33a8fa,'state')&&(object['state']=_0x33a8fa['state']),null!=_0x33a8fa['attributes']&&Object['hasOwnProperty']['call'](_0x33a8fa,'attributes')&&(object['attributes']=_0x33a8fa['attributes']),object;},TrackChangesGetSuggestionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetSuggestionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetSuggestionResponse';},TrackChangesGetSuggestionResponse;}()),$root['TrackChangesGetAllSuggestionsResponse']=(function(){function TrackChangesGetAllSuggestionsResponse(properties){if(this['suggestions']=[],this['suggestionsV2']=[],properties){for(var _0x3d2192=Object['keys'](properties),_0x35b34e=0x0;_0x35b34e<_0x3d2192['length'];++_0x35b34e)null!=properties[_0x3d2192[_0x35b34e]]&&'__proto__'!==_0x3d2192[_0x35b34e]&&(this[_0x3d2192[_0x35b34e]]=properties[_0x3d2192[_0x35b34e]]);}}return TrackChangesGetAllSuggestionsResponse['prototype']['suggestions']=$util['emptyArray'],TrackChangesGetAllSuggestionsResponse['prototype']['suggestionsV2']=$util['emptyArray'],TrackChangesGetAllSuggestionsResponse['create']=function(properties){return new TrackChangesGetAllSuggestionsResponse(properties);},TrackChangesGetAllSuggestionsResponse['encode']=function(_0x32987b,writer,_0x1ab2e0){if(writer||(writer=$Writer['create']()),void 0x0===_0x1ab2e0&&(_0x1ab2e0=0x0),_0x1ab2e0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x32987b['suggestions']&&_0x32987b['suggestions']['length']){for(var _0x598766=0x0;_0x598766<_0x32987b['suggestions']['length'];++_0x598766)writer['uint32'](0xa)['string'](_0x32987b['suggestions'][_0x598766]);}if(null!=_0x32987b['suggestionsV2']&&_0x32987b['suggestionsV2']['length']){for(_0x598766=0x0;_0x598766<_0x32987b['suggestionsV2']['length'];++_0x598766)$root['SuggestionDescriptor']['encode'](_0x32987b['suggestionsV2'][_0x598766],writer['uint32'](0x12)['fork'](),_0x1ab2e0+0x1)['ldelim']();}return writer;},TrackChangesGetAllSuggestionsResponse['encodeDelimited']=function(_0x223ced,writer){return this['encode'](_0x223ced,writer)['ldelim']();},TrackChangesGetAllSuggestionsResponse['decode']=function(_0x381342,length,_0x463cb1,_0x59d668){if(_0x381342 instanceof _0x470ccf||(_0x381342=_0x470ccf['create'](_0x381342)),void 0x0===_0x59d668&&(_0x59d668=0x0),_0x59d668>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1de998=void 0x0===length?_0x381342['len']:_0x381342['pos']+length,_0x15fe44=new $root['TrackChangesGetAllSuggestionsResponse']();_0x381342['pos']<_0x1de998;){var tag=_0x381342['uint32']();if(tag===_0x463cb1)break;switch(tag>>>0x3){case 0x1:_0x15fe44['suggestions']&&_0x15fe44['suggestions']['length']||(_0x15fe44['suggestions']=[]),_0x15fe44['suggestions']['push'](_0x381342['string']());break;case 0x2:_0x15fe44['suggestionsV2']&&_0x15fe44['suggestionsV2']['length']||(_0x15fe44['suggestionsV2']=[]),_0x15fe44['suggestionsV2']['push']($root['SuggestionDescriptor']['decode'](_0x381342,_0x381342['uint32'](),void 0x0,_0x59d668+0x1));break;default:_0x381342['skipType'](0x7&tag,_0x59d668);}}return _0x15fe44;},TrackChangesGetAllSuggestionsResponse['decodeDelimited']=function(_0x24906b){return _0x24906b instanceof _0x470ccf||(_0x24906b=new _0x470ccf(_0x24906b)),this['decode'](_0x24906b,_0x24906b['uint32']());},TrackChangesGetAllSuggestionsResponse['verify']=function(_0x47f4f0,_0x4f4f7f){if('object'!=typeof _0x47f4f0||null===_0x47f4f0)return'object\x20expected';if(void 0x0===_0x4f4f7f&&(_0x4f4f7f=0x0),_0x4f4f7f>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x47f4f0['suggestions']&&Object['hasOwnProperty']['call'](_0x47f4f0,'suggestions')){if(!Array['isArray'](_0x47f4f0['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x5e880b=0x0;_0x5e880b<_0x47f4f0['suggestions']['length'];++_0x5e880b)if(!$util['isString'](_0x47f4f0['suggestions'][_0x5e880b]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x47f4f0['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x47f4f0,'suggestionsV2')){if(!Array['isArray'](_0x47f4f0['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x5e880b=0x0;_0x5e880b<_0x47f4f0['suggestionsV2']['length'];++_0x5e880b){var _0x728ed0=$root['SuggestionDescriptor']['verify'](_0x47f4f0['suggestionsV2'][_0x5e880b],_0x4f4f7f+0x1);if(_0x728ed0)return'suggestionsV2.'+_0x728ed0;}}return null;},TrackChangesGetAllSuggestionsResponse['fromObject']=function(object,_0x5e1d9f){if(object instanceof $root['TrackChangesGetAllSuggestionsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetAllSuggestionsResponse:\x20object\x20expected');if(void 0x0===_0x5e1d9f&&(_0x5e1d9f=0x0),_0x5e1d9f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x338fd6=new $root['TrackChangesGetAllSuggestionsResponse']();if(object['suggestions']){if(!Array['isArray'](object['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x338fd6['suggestions']=[];for(var _0x3b9574=0x0;_0x3b9574<object['suggestions']['length'];++_0x3b9574)_0x338fd6['suggestions'][_0x3b9574]=String(object['suggestions'][_0x3b9574]);}if(object['suggestionsV2']){if(!Array['isArray'](object['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');_0x338fd6['suggestionsV2']=[];for(_0x3b9574=0x0;_0x3b9574<object['suggestionsV2']['length'];++_0x3b9574){if(!$util['isObject'](object['suggestionsV2'][_0x3b9574]))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x338fd6['suggestionsV2'][_0x3b9574]=$root['SuggestionDescriptor']['fromObject'](object['suggestionsV2'][_0x3b9574],_0x5e1d9f+0x1);}}return _0x338fd6;},TrackChangesGetAllSuggestionsResponse['toObject']=function(_0xba8391,options,_0x544bfd){if(options||(options={}),void 0x0===_0x544bfd&&(_0x544bfd=0x0),_0x544bfd>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['suggestions']=[],object['suggestionsV2']=[]),_0xba8391['suggestions']&&_0xba8391['suggestions']['length']){object['suggestions']=[];for(var _0x387209=0x0;_0x387209<_0xba8391['suggestions']['length'];++_0x387209)object['suggestions'][_0x387209]=_0xba8391['suggestions'][_0x387209];}if(_0xba8391['suggestionsV2']&&_0xba8391['suggestionsV2']['length']){object['suggestionsV2']=[];for(_0x387209=0x0;_0x387209<_0xba8391['suggestionsV2']['length'];++_0x387209)object['suggestionsV2'][_0x387209]=$root['SuggestionDescriptor']['toObject'](_0xba8391['suggestionsV2'][_0x387209],options,_0x544bfd+0x1);}return object;},TrackChangesGetAllSuggestionsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetAllSuggestionsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetAllSuggestionsResponse';},TrackChangesGetAllSuggestionsResponse;}()),$root['TrackChangesConnectResponse']=(function(){function TrackChangesConnectResponse(properties){if(this['suggestions']=[],this['suggestionsV2']=[],properties){for(var _0x2c6ceb=Object['keys'](properties),_0x46cd90=0x0;_0x46cd90<_0x2c6ceb['length'];++_0x46cd90)null!=properties[_0x2c6ceb[_0x46cd90]]&&'__proto__'!==_0x2c6ceb[_0x46cd90]&&(this[_0x2c6ceb[_0x46cd90]]=properties[_0x2c6ceb[_0x46cd90]]);}}return TrackChangesConnectResponse['prototype']['channel']='',TrackChangesConnectResponse['prototype']['suggestions']=$util['emptyArray'],TrackChangesConnectResponse['prototype']['suggestionsV2']=$util['emptyArray'],TrackChangesConnectResponse['create']=function(properties){return new TrackChangesConnectResponse(properties);},TrackChangesConnectResponse['encode']=function(_0x49671e,writer,_0x592f08){if(writer||(writer=$Writer['create']()),void 0x0===_0x592f08&&(_0x592f08=0x0),_0x592f08>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x49671e['channel']&&Object['hasOwnProperty']['call'](_0x49671e,'channel')&&writer['uint32'](0xa)['string'](_0x49671e['channel']),null!=_0x49671e['suggestions']&&_0x49671e['suggestions']['length']){for(var _0x209551=0x0;_0x209551<_0x49671e['suggestions']['length'];++_0x209551)writer['uint32'](0x12)['string'](_0x49671e['suggestions'][_0x209551]);}if(null!=_0x49671e['suggestionsV2']&&_0x49671e['suggestionsV2']['length']){for(_0x209551=0x0;_0x209551<_0x49671e['suggestionsV2']['length'];++_0x209551)$root['SuggestionDescriptor']['encode'](_0x49671e['suggestionsV2'][_0x209551],writer['uint32'](0x1a)['fork'](),_0x592f08+0x1)['ldelim']();}return writer;},TrackChangesConnectResponse['encodeDelimited']=function(_0x3dd971,writer){return this['encode'](_0x3dd971,writer)['ldelim']();},TrackChangesConnectResponse['decode']=function(_0x352586,length,_0x5c83d6,_0x3d74c5){if(_0x352586 instanceof _0x470ccf||(_0x352586=_0x470ccf['create'](_0x352586)),void 0x0===_0x3d74c5&&(_0x3d74c5=0x0),_0x3d74c5>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x18f48d=void 0x0===length?_0x352586['len']:_0x352586['pos']+length,_0x5660b4=new $root['TrackChangesConnectResponse']();_0x352586['pos']<_0x18f48d;){var tag=_0x352586['uint32']();if(tag===_0x5c83d6)break;switch(tag>>>0x3){case 0x1:_0x5660b4['channel']=_0x352586['string']();break;case 0x2:_0x5660b4['suggestions']&&_0x5660b4['suggestions']['length']||(_0x5660b4['suggestions']=[]),_0x5660b4['suggestions']['push'](_0x352586['string']());break;case 0x3:_0x5660b4['suggestionsV2']&&_0x5660b4['suggestionsV2']['length']||(_0x5660b4['suggestionsV2']=[]),_0x5660b4['suggestionsV2']['push']($root['SuggestionDescriptor']['decode'](_0x352586,_0x352586['uint32'](),void 0x0,_0x3d74c5+0x1));break;default:_0x352586['skipType'](0x7&tag,_0x3d74c5);}}return _0x5660b4;},TrackChangesConnectResponse['decodeDelimited']=function(_0x210125){return _0x210125 instanceof _0x470ccf||(_0x210125=new _0x470ccf(_0x210125)),this['decode'](_0x210125,_0x210125['uint32']());},TrackChangesConnectResponse['verify']=function(_0x5c48c2,_0x49a2f9){if('object'!=typeof _0x5c48c2||null===_0x5c48c2)return'object\x20expected';if(void 0x0===_0x49a2f9&&(_0x49a2f9=0x0),_0x49a2f9>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5c48c2['channel']&&Object['hasOwnProperty']['call'](_0x5c48c2,'channel')&&!$util['isString'](_0x5c48c2['channel']))return'channel:\x20string\x20expected';if(null!=_0x5c48c2['suggestions']&&Object['hasOwnProperty']['call'](_0x5c48c2,'suggestions')){if(!Array['isArray'](_0x5c48c2['suggestions']))return'suggestions:\x20array\x20expected';for(var _0xa641ff=0x0;_0xa641ff<_0x5c48c2['suggestions']['length'];++_0xa641ff)if(!$util['isString'](_0x5c48c2['suggestions'][_0xa641ff]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x5c48c2['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x5c48c2,'suggestionsV2')){if(!Array['isArray'](_0x5c48c2['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0xa641ff=0x0;_0xa641ff<_0x5c48c2['suggestionsV2']['length'];++_0xa641ff){var _0x40cd2b=$root['SuggestionDescriptor']['verify'](_0x5c48c2['suggestionsV2'][_0xa641ff],_0x49a2f9+0x1);if(_0x40cd2b)return'suggestionsV2.'+_0x40cd2b;}}return null;},TrackChangesConnectResponse['fromObject']=function(object,_0x22e007){if(object instanceof $root['TrackChangesConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesConnectResponse:\x20object\x20expected');if(void 0x0===_0x22e007&&(_0x22e007=0x0),_0x22e007>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x462230=new $root['TrackChangesConnectResponse']();if(null!=object['channel']&&(_0x462230['channel']=String(object['channel'])),object['suggestions']){if(!Array['isArray'](object['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x462230['suggestions']=[];for(var _0x5d73a1=0x0;_0x5d73a1<object['suggestions']['length'];++_0x5d73a1)_0x462230['suggestions'][_0x5d73a1]=String(object['suggestions'][_0x5d73a1]);}if(object['suggestionsV2']){if(!Array['isArray'](object['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');_0x462230['suggestionsV2']=[];for(_0x5d73a1=0x0;_0x5d73a1<object['suggestionsV2']['length'];++_0x5d73a1){if(!$util['isObject'](object['suggestionsV2'][_0x5d73a1]))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x462230['suggestionsV2'][_0x5d73a1]=$root['SuggestionDescriptor']['fromObject'](object['suggestionsV2'][_0x5d73a1],_0x22e007+0x1);}}return _0x462230;},TrackChangesConnectResponse['toObject']=function(_0x18746e,options,_0x3ca4b7){if(options||(options={}),void 0x0===_0x3ca4b7&&(_0x3ca4b7=0x0),_0x3ca4b7>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['suggestions']=[],object['suggestionsV2']=[]),options['defaults']&&(object['channel']=''),null!=_0x18746e['channel']&&Object['hasOwnProperty']['call'](_0x18746e,'channel')&&(object['channel']=_0x18746e['channel']),_0x18746e['suggestions']&&_0x18746e['suggestions']['length']){object['suggestions']=[];for(var _0x48d5b0=0x0;_0x48d5b0<_0x18746e['suggestions']['length'];++_0x48d5b0)object['suggestions'][_0x48d5b0]=_0x18746e['suggestions'][_0x48d5b0];}if(_0x18746e['suggestionsV2']&&_0x18746e['suggestionsV2']['length']){object['suggestionsV2']=[];for(_0x48d5b0=0x0;_0x48d5b0<_0x18746e['suggestionsV2']['length'];++_0x48d5b0)object['suggestionsV2'][_0x48d5b0]=$root['SuggestionDescriptor']['toObject'](_0x18746e['suggestionsV2'][_0x48d5b0],options,_0x3ca4b7+0x1);}return object;},TrackChangesConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesConnectResponse';},TrackChangesConnectResponse;}()),$root['TrackChangesAddSuggestionResponse']=(function(){function TrackChangesAddSuggestionResponse(properties){if(properties){for(var _0x4ead61=Object['keys'](properties),_0x23bbeb=0x0;_0x23bbeb<_0x4ead61['length'];++_0x23bbeb)null!=properties[_0x4ead61[_0x23bbeb]]&&'__proto__'!==_0x4ead61[_0x23bbeb]&&(this[_0x4ead61[_0x23bbeb]]=properties[_0x4ead61[_0x23bbeb]]);}}return TrackChangesAddSuggestionResponse['prototype']['id']='',TrackChangesAddSuggestionResponse['prototype']['authorId']='',TrackChangesAddSuggestionResponse['prototype']['type']='',TrackChangesAddSuggestionResponse['prototype']['createdAt']='',TrackChangesAddSuggestionResponse['prototype']['data']='',TrackChangesAddSuggestionResponse['prototype']['hasComments']=!0x1,TrackChangesAddSuggestionResponse['prototype']['state']='',TrackChangesAddSuggestionResponse['prototype']['attributes']='',TrackChangesAddSuggestionResponse['create']=function(properties){return new TrackChangesAddSuggestionResponse(properties);},TrackChangesAddSuggestionResponse['encode']=function(_0x2a32f1,writer,_0x3f0407){if(writer||(writer=$Writer['create']()),void 0x0===_0x3f0407&&(_0x3f0407=0x0),_0x3f0407>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2a32f1['id']&&Object['hasOwnProperty']['call'](_0x2a32f1,'id')&&writer['uint32'](0xa)['string'](_0x2a32f1['id']),null!=_0x2a32f1['authorId']&&Object['hasOwnProperty']['call'](_0x2a32f1,'authorId')&&writer['uint32'](0x12)['string'](_0x2a32f1['authorId']),null!=_0x2a32f1['type']&&Object['hasOwnProperty']['call'](_0x2a32f1,'type')&&writer['uint32'](0x1a)['string'](_0x2a32f1['type']),null!=_0x2a32f1['createdAt']&&Object['hasOwnProperty']['call'](_0x2a32f1,'createdAt')&&writer['uint32'](0x22)['string'](_0x2a32f1['createdAt']),null!=_0x2a32f1['data']&&Object['hasOwnProperty']['call'](_0x2a32f1,'data')&&writer['uint32'](0x2a)['string'](_0x2a32f1['data']),null!=_0x2a32f1['hasComments']&&Object['hasOwnProperty']['call'](_0x2a32f1,'hasComments')&&writer['uint32'](0x30)['bool'](_0x2a32f1['hasComments']),null!=_0x2a32f1['state']&&Object['hasOwnProperty']['call'](_0x2a32f1,'state')&&writer['uint32'](0x3a)['string'](_0x2a32f1['state']),null!=_0x2a32f1['attributes']&&Object['hasOwnProperty']['call'](_0x2a32f1,'attributes')&&writer['uint32'](0x42)['string'](_0x2a32f1['attributes']),writer;},TrackChangesAddSuggestionResponse['encodeDelimited']=function(_0x532e45,writer){return this['encode'](_0x532e45,writer)['ldelim']();},TrackChangesAddSuggestionResponse['decode']=function(_0xad4492,length,_0x2875c6,_0x204794){if(_0xad4492 instanceof _0x470ccf||(_0xad4492=_0x470ccf['create'](_0xad4492)),void 0x0===_0x204794&&(_0x204794=0x0),_0x204794>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xd836ca=void 0x0===length?_0xad4492['len']:_0xad4492['pos']+length,_0x32395e=new $root['TrackChangesAddSuggestionResponse']();_0xad4492['pos']<_0xd836ca;){var tag=_0xad4492['uint32']();if(tag===_0x2875c6)break;switch(tag>>>0x3){case 0x1:_0x32395e['id']=_0xad4492['string']();break;case 0x2:_0x32395e['authorId']=_0xad4492['string']();break;case 0x3:_0x32395e['type']=_0xad4492['string']();break;case 0x4:_0x32395e['createdAt']=_0xad4492['string']();break;case 0x5:_0x32395e['data']=_0xad4492['string']();break;case 0x6:_0x32395e['hasComments']=_0xad4492['bool']();break;case 0x7:_0x32395e['state']=_0xad4492['string']();break;case 0x8:_0x32395e['attributes']=_0xad4492['string']();break;default:_0xad4492['skipType'](0x7&tag,_0x204794);}}return _0x32395e;},TrackChangesAddSuggestionResponse['decodeDelimited']=function(_0x4a2623){return _0x4a2623 instanceof _0x470ccf||(_0x4a2623=new _0x470ccf(_0x4a2623)),this['decode'](_0x4a2623,_0x4a2623['uint32']());},TrackChangesAddSuggestionResponse['verify']=function(_0x4d463e,_0x14458b){return'object'!=typeof _0x4d463e||null===_0x4d463e?'object\x20expected':(void 0x0===_0x14458b&&(_0x14458b=0x0),_0x14458b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4d463e['id']&&Object['hasOwnProperty']['call'](_0x4d463e,'id')&&!$util['isString'](_0x4d463e['id'])?'id:\x20string\x20expected':null!=_0x4d463e['authorId']&&Object['hasOwnProperty']['call'](_0x4d463e,'authorId')&&!$util['isString'](_0x4d463e['authorId'])?'authorId:\x20string\x20expected':null!=_0x4d463e['type']&&Object['hasOwnProperty']['call'](_0x4d463e,'type')&&!$util['isString'](_0x4d463e['type'])?'type:\x20string\x20expected':null!=_0x4d463e['createdAt']&&Object['hasOwnProperty']['call'](_0x4d463e,'createdAt')&&!$util['isString'](_0x4d463e['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4d463e['data']&&Object['hasOwnProperty']['call'](_0x4d463e,'data')&&!$util['isString'](_0x4d463e['data'])?'data:\x20string\x20expected':null!=_0x4d463e['hasComments']&&Object['hasOwnProperty']['call'](_0x4d463e,'hasComments')&&'boolean'!=typeof _0x4d463e['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x4d463e['state']&&Object['hasOwnProperty']['call'](_0x4d463e,'state')&&!$util['isString'](_0x4d463e['state'])?'state:\x20string\x20expected':null!=_0x4d463e['attributes']&&Object['hasOwnProperty']['call'](_0x4d463e,'attributes')&&!$util['isString'](_0x4d463e['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesAddSuggestionResponse['fromObject']=function(object,_0x1ef491){if(object instanceof $root['TrackChangesAddSuggestionResponse'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesAddSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x1ef491&&(_0x1ef491=0x0),_0x1ef491>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1ebbb2=new $root['TrackChangesAddSuggestionResponse']();return null!=object['id']&&(_0x1ebbb2['id']=String(object['id'])),null!=object['authorId']&&(_0x1ebbb2['authorId']=String(object['authorId'])),null!=object['type']&&(_0x1ebbb2['type']=String(object['type'])),null!=object['createdAt']&&(_0x1ebbb2['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0x1ebbb2['data']=String(object['data'])),null!=object['hasComments']&&(_0x1ebbb2['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0x1ebbb2['state']=String(object['state'])),null!=object['attributes']&&(_0x1ebbb2['attributes']=String(object['attributes'])),_0x1ebbb2;},TrackChangesAddSuggestionResponse['toObject']=function(_0x39dbf4,options,_0x3643e3){if(options||(options={}),void 0x0===_0x3643e3&&(_0x3643e3=0x0),_0x3643e3>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x39dbf4['id']&&Object['hasOwnProperty']['call'](_0x39dbf4,'id')&&(object['id']=_0x39dbf4['id']),null!=_0x39dbf4['authorId']&&Object['hasOwnProperty']['call'](_0x39dbf4,'authorId')&&(object['authorId']=_0x39dbf4['authorId']),null!=_0x39dbf4['type']&&Object['hasOwnProperty']['call'](_0x39dbf4,'type')&&(object['type']=_0x39dbf4['type']),null!=_0x39dbf4['createdAt']&&Object['hasOwnProperty']['call'](_0x39dbf4,'createdAt')&&(object['createdAt']=_0x39dbf4['createdAt']),null!=_0x39dbf4['data']&&Object['hasOwnProperty']['call'](_0x39dbf4,'data')&&(object['data']=_0x39dbf4['data']),null!=_0x39dbf4['hasComments']&&Object['hasOwnProperty']['call'](_0x39dbf4,'hasComments')&&(object['hasComments']=_0x39dbf4['hasComments']),null!=_0x39dbf4['state']&&Object['hasOwnProperty']['call'](_0x39dbf4,'state')&&(object['state']=_0x39dbf4['state']),null!=_0x39dbf4['attributes']&&Object['hasOwnProperty']['call'](_0x39dbf4,'attributes')&&(object['attributes']=_0x39dbf4['attributes']),object;},TrackChangesAddSuggestionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesAddSuggestionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesAddSuggestionResponse';},TrackChangesAddSuggestionResponse;}()),$root['TrackChangesUpdateSuggestionMessage']=(function(){function TrackChangesUpdateSuggestionMessage(properties){if(properties){for(var _0x47b339=Object['keys'](properties),_0x336237=0x0;_0x336237<_0x47b339['length'];++_0x336237)null!=properties[_0x47b339[_0x336237]]&&'__proto__'!==_0x47b339[_0x336237]&&(this[_0x47b339[_0x336237]]=properties[_0x47b339[_0x336237]]);}}return TrackChangesUpdateSuggestionMessage['prototype']['id']='',TrackChangesUpdateSuggestionMessage['prototype']['documentId']='',TrackChangesUpdateSuggestionMessage['prototype']['hasComments']=!0x1,TrackChangesUpdateSuggestionMessage['prototype']['isHasCommentsModified']=!0x1,TrackChangesUpdateSuggestionMessage['prototype']['state']='',TrackChangesUpdateSuggestionMessage['prototype']['attributes']='',TrackChangesUpdateSuggestionMessage['create']=function(properties){return new TrackChangesUpdateSuggestionMessage(properties);},TrackChangesUpdateSuggestionMessage['encode']=function(_0x42a4b0,writer,_0x2a9dbc){if(writer||(writer=$Writer['create']()),void 0x0===_0x2a9dbc&&(_0x2a9dbc=0x0),_0x2a9dbc>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x42a4b0['id']&&Object['hasOwnProperty']['call'](_0x42a4b0,'id')&&writer['uint32'](0xa)['string'](_0x42a4b0['id']),null!=_0x42a4b0['documentId']&&Object['hasOwnProperty']['call'](_0x42a4b0,'documentId')&&writer['uint32'](0x12)['string'](_0x42a4b0['documentId']),null!=_0x42a4b0['hasComments']&&Object['hasOwnProperty']['call'](_0x42a4b0,'hasComments')&&writer['uint32'](0x18)['bool'](_0x42a4b0['hasComments']),null!=_0x42a4b0['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x42a4b0,'isHasCommentsModified')&&writer['uint32'](0x20)['bool'](_0x42a4b0['isHasCommentsModified']),null!=_0x42a4b0['state']&&Object['hasOwnProperty']['call'](_0x42a4b0,'state')&&writer['uint32'](0x2a)['string'](_0x42a4b0['state']),null!=_0x42a4b0['attributes']&&Object['hasOwnProperty']['call'](_0x42a4b0,'attributes')&&writer['uint32'](0x32)['string'](_0x42a4b0['attributes']),writer;},TrackChangesUpdateSuggestionMessage['encodeDelimited']=function(_0x32d780,writer){return this['encode'](_0x32d780,writer)['ldelim']();},TrackChangesUpdateSuggestionMessage['decode']=function(_0x55e980,length,_0x20f369,_0x5ba1c8){if(_0x55e980 instanceof _0x470ccf||(_0x55e980=_0x470ccf['create'](_0x55e980)),void 0x0===_0x5ba1c8&&(_0x5ba1c8=0x0),_0x5ba1c8>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xc195e9=void 0x0===length?_0x55e980['len']:_0x55e980['pos']+length,_0x34e9b1=new $root['TrackChangesUpdateSuggestionMessage']();_0x55e980['pos']<_0xc195e9;){var tag=_0x55e980['uint32']();if(tag===_0x20f369)break;switch(tag>>>0x3){case 0x1:_0x34e9b1['id']=_0x55e980['string']();break;case 0x2:_0x34e9b1['documentId']=_0x55e980['string']();break;case 0x3:_0x34e9b1['hasComments']=_0x55e980['bool']();break;case 0x4:_0x34e9b1['isHasCommentsModified']=_0x55e980['bool']();break;case 0x5:_0x34e9b1['state']=_0x55e980['string']();break;case 0x6:_0x34e9b1['attributes']=_0x55e980['string']();break;default:_0x55e980['skipType'](0x7&tag,_0x5ba1c8);}}return _0x34e9b1;},TrackChangesUpdateSuggestionMessage['decodeDelimited']=function(_0x474fea){return _0x474fea instanceof _0x470ccf||(_0x474fea=new _0x470ccf(_0x474fea)),this['decode'](_0x474fea,_0x474fea['uint32']());},TrackChangesUpdateSuggestionMessage['verify']=function(_0x5ed4ef,_0x1cee05){return'object'!=typeof _0x5ed4ef||null===_0x5ed4ef?'object\x20expected':(void 0x0===_0x1cee05&&(_0x1cee05=0x0),_0x1cee05>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5ed4ef['id']&&Object['hasOwnProperty']['call'](_0x5ed4ef,'id')&&!$util['isString'](_0x5ed4ef['id'])?'id:\x20string\x20expected':null!=_0x5ed4ef['documentId']&&Object['hasOwnProperty']['call'](_0x5ed4ef,'documentId')&&!$util['isString'](_0x5ed4ef['documentId'])?'documentId:\x20string\x20expected':null!=_0x5ed4ef['hasComments']&&Object['hasOwnProperty']['call'](_0x5ed4ef,'hasComments')&&'boolean'!=typeof _0x5ed4ef['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x5ed4ef['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x5ed4ef,'isHasCommentsModified')&&'boolean'!=typeof _0x5ed4ef['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x5ed4ef['state']&&Object['hasOwnProperty']['call'](_0x5ed4ef,'state')&&!$util['isString'](_0x5ed4ef['state'])?'state:\x20string\x20expected':null!=_0x5ed4ef['attributes']&&Object['hasOwnProperty']['call'](_0x5ed4ef,'attributes')&&!$util['isString'](_0x5ed4ef['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesUpdateSuggestionMessage['fromObject']=function(object,_0x1eaf12){if(object instanceof $root['TrackChangesUpdateSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesUpdateSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x1eaf12&&(_0x1eaf12=0x0),_0x1eaf12>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3c074b=new $root['TrackChangesUpdateSuggestionMessage']();return null!=object['id']&&(_0x3c074b['id']=String(object['id'])),null!=object['documentId']&&(_0x3c074b['documentId']=String(object['documentId'])),null!=object['hasComments']&&(_0x3c074b['hasComments']=Boolean(object['hasComments'])),null!=object['isHasCommentsModified']&&(_0x3c074b['isHasCommentsModified']=Boolean(object['isHasCommentsModified'])),null!=object['state']&&(_0x3c074b['state']=String(object['state'])),null!=object['attributes']&&(_0x3c074b['attributes']=String(object['attributes'])),_0x3c074b;},TrackChangesUpdateSuggestionMessage['toObject']=function(_0x5be325,options,_0x178d2d){if(options||(options={}),void 0x0===_0x178d2d&&(_0x178d2d=0x0),_0x178d2d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['documentId']='',object['hasComments']=!0x1,object['isHasCommentsModified']=!0x1,object['state']='',object['attributes']=''),null!=_0x5be325['id']&&Object['hasOwnProperty']['call'](_0x5be325,'id')&&(object['id']=_0x5be325['id']),null!=_0x5be325['documentId']&&Object['hasOwnProperty']['call'](_0x5be325,'documentId')&&(object['documentId']=_0x5be325['documentId']),null!=_0x5be325['hasComments']&&Object['hasOwnProperty']['call'](_0x5be325,'hasComments')&&(object['hasComments']=_0x5be325['hasComments']),null!=_0x5be325['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x5be325,'isHasCommentsModified')&&(object['isHasCommentsModified']=_0x5be325['isHasCommentsModified']),null!=_0x5be325['state']&&Object['hasOwnProperty']['call'](_0x5be325,'state')&&(object['state']=_0x5be325['state']),null!=_0x5be325['attributes']&&Object['hasOwnProperty']['call'](_0x5be325,'attributes')&&(object['attributes']=_0x5be325['attributes']),object;},TrackChangesUpdateSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesUpdateSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesUpdateSuggestionMessage';},TrackChangesUpdateSuggestionMessage;}()),$root['TrackChangesGetSuggestionMessage']=(function(){function TrackChangesGetSuggestionMessage(properties){if(properties){for(var _0x335fac=Object['keys'](properties),_0x49d727=0x0;_0x49d727<_0x335fac['length'];++_0x49d727)null!=properties[_0x335fac[_0x49d727]]&&'__proto__'!==_0x335fac[_0x49d727]&&(this[_0x335fac[_0x49d727]]=properties[_0x335fac[_0x49d727]]);}}return TrackChangesGetSuggestionMessage['prototype']['id']='',TrackChangesGetSuggestionMessage['prototype']['documentId']='',TrackChangesGetSuggestionMessage['create']=function(properties){return new TrackChangesGetSuggestionMessage(properties);},TrackChangesGetSuggestionMessage['encode']=function(_0x122536,writer,_0x4b8474){if(writer||(writer=$Writer['create']()),void 0x0===_0x4b8474&&(_0x4b8474=0x0),_0x4b8474>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x122536['id']&&Object['hasOwnProperty']['call'](_0x122536,'id')&&writer['uint32'](0xa)['string'](_0x122536['id']),null!=_0x122536['documentId']&&Object['hasOwnProperty']['call'](_0x122536,'documentId')&&writer['uint32'](0x12)['string'](_0x122536['documentId']),writer;},TrackChangesGetSuggestionMessage['encodeDelimited']=function(_0x14b8ce,writer){return this['encode'](_0x14b8ce,writer)['ldelim']();},TrackChangesGetSuggestionMessage['decode']=function(_0x37e279,length,_0x3b9dbd,_0x103792){if(_0x37e279 instanceof _0x470ccf||(_0x37e279=_0x470ccf['create'](_0x37e279)),void 0x0===_0x103792&&(_0x103792=0x0),_0x103792>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x540888=void 0x0===length?_0x37e279['len']:_0x37e279['pos']+length,_0x23aeb3=new $root['TrackChangesGetSuggestionMessage']();_0x37e279['pos']<_0x540888;){var tag=_0x37e279['uint32']();if(tag===_0x3b9dbd)break;switch(tag>>>0x3){case 0x1:_0x23aeb3['id']=_0x37e279['string']();break;case 0x2:_0x23aeb3['documentId']=_0x37e279['string']();break;default:_0x37e279['skipType'](0x7&tag,_0x103792);}}return _0x23aeb3;},TrackChangesGetSuggestionMessage['decodeDelimited']=function(_0x3bb3ae){return _0x3bb3ae instanceof _0x470ccf||(_0x3bb3ae=new _0x470ccf(_0x3bb3ae)),this['decode'](_0x3bb3ae,_0x3bb3ae['uint32']());},TrackChangesGetSuggestionMessage['verify']=function(_0x5a53b9,_0x10d33d){return'object'!=typeof _0x5a53b9||null===_0x5a53b9?'object\x20expected':(void 0x0===_0x10d33d&&(_0x10d33d=0x0),_0x10d33d>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5a53b9['id']&&Object['hasOwnProperty']['call'](_0x5a53b9,'id')&&!$util['isString'](_0x5a53b9['id'])?'id:\x20string\x20expected':null!=_0x5a53b9['documentId']&&Object['hasOwnProperty']['call'](_0x5a53b9,'documentId')&&!$util['isString'](_0x5a53b9['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesGetSuggestionMessage['fromObject']=function(object,_0x22537f){if(object instanceof $root['TrackChangesGetSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x22537f&&(_0x22537f=0x0),_0x22537f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x638988=new $root['TrackChangesGetSuggestionMessage']();return null!=object['id']&&(_0x638988['id']=String(object['id'])),null!=object['documentId']&&(_0x638988['documentId']=String(object['documentId'])),_0x638988;},TrackChangesGetSuggestionMessage['toObject']=function(_0x2cdf5c,options,_0x5950fb){if(options||(options={}),void 0x0===_0x5950fb&&(_0x5950fb=0x0),_0x5950fb>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['documentId']=''),null!=_0x2cdf5c['id']&&Object['hasOwnProperty']['call'](_0x2cdf5c,'id')&&(object['id']=_0x2cdf5c['id']),null!=_0x2cdf5c['documentId']&&Object['hasOwnProperty']['call'](_0x2cdf5c,'documentId')&&(object['documentId']=_0x2cdf5c['documentId']),object;},TrackChangesGetSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetSuggestionMessage';},TrackChangesGetSuggestionMessage;}()),$root['TrackChangesGetAllSuggestionMessage']=(function(){function TrackChangesGetAllSuggestionMessage(properties){if(properties){for(var _0xb52871=Object['keys'](properties),_0x53a1aa=0x0;_0x53a1aa<_0xb52871['length'];++_0x53a1aa)null!=properties[_0xb52871[_0x53a1aa]]&&'__proto__'!==_0xb52871[_0x53a1aa]&&(this[_0xb52871[_0x53a1aa]]=properties[_0xb52871[_0x53a1aa]]);}}return TrackChangesGetAllSuggestionMessage['prototype']['documentId']='',TrackChangesGetAllSuggestionMessage['create']=function(properties){return new TrackChangesGetAllSuggestionMessage(properties);},TrackChangesGetAllSuggestionMessage['encode']=function(_0x5c97c8,writer,_0x2c5bde){if(writer||(writer=$Writer['create']()),void 0x0===_0x2c5bde&&(_0x2c5bde=0x0),_0x2c5bde>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5c97c8['documentId']&&Object['hasOwnProperty']['call'](_0x5c97c8,'documentId')&&writer['uint32'](0xa)['string'](_0x5c97c8['documentId']),writer;},TrackChangesGetAllSuggestionMessage['encodeDelimited']=function(_0x2c7b69,writer){return this['encode'](_0x2c7b69,writer)['ldelim']();},TrackChangesGetAllSuggestionMessage['decode']=function(_0xa524b6,length,_0x388df2,_0x48836f){if(_0xa524b6 instanceof _0x470ccf||(_0xa524b6=_0x470ccf['create'](_0xa524b6)),void 0x0===_0x48836f&&(_0x48836f=0x0),_0x48836f>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2a16f3=void 0x0===length?_0xa524b6['len']:_0xa524b6['pos']+length,_0x12ee0e=new $root['TrackChangesGetAllSuggestionMessage']();_0xa524b6['pos']<_0x2a16f3;){var tag=_0xa524b6['uint32']();if(tag===_0x388df2)break;if(tag>>>0x3==0x1)_0x12ee0e['documentId']=_0xa524b6['string']();else _0xa524b6['skipType'](0x7&tag,_0x48836f);}return _0x12ee0e;},TrackChangesGetAllSuggestionMessage['decodeDelimited']=function(_0x5d4a26){return _0x5d4a26 instanceof _0x470ccf||(_0x5d4a26=new _0x470ccf(_0x5d4a26)),this['decode'](_0x5d4a26,_0x5d4a26['uint32']());},TrackChangesGetAllSuggestionMessage['verify']=function(_0x45453a,_0xc604b8){return'object'!=typeof _0x45453a||null===_0x45453a?'object\x20expected':(void 0x0===_0xc604b8&&(_0xc604b8=0x0),_0xc604b8>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x45453a['documentId']&&Object['hasOwnProperty']['call'](_0x45453a,'documentId')&&!$util['isString'](_0x45453a['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesGetAllSuggestionMessage['fromObject']=function(object,_0x121d36){if(object instanceof $root['TrackChangesGetAllSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesGetAllSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x121d36&&(_0x121d36=0x0),_0x121d36>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d9a10=new $root['TrackChangesGetAllSuggestionMessage']();return null!=object['documentId']&&(_0x2d9a10['documentId']=String(object['documentId'])),_0x2d9a10;},TrackChangesGetAllSuggestionMessage['toObject']=function(_0x9aa6b2,options,_0x52ba70){if(options||(options={}),void 0x0===_0x52ba70&&(_0x52ba70=0x0),_0x52ba70>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x9aa6b2['documentId']&&Object['hasOwnProperty']['call'](_0x9aa6b2,'documentId')&&(object['documentId']=_0x9aa6b2['documentId']),object;},TrackChangesGetAllSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesGetAllSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesGetAllSuggestionMessage';},TrackChangesGetAllSuggestionMessage;}()),$root['TrackChangesConnectMessage']=(function(){function TrackChangesConnectMessage(properties){if(properties){for(var _0x134fd5=Object['keys'](properties),_0x2e5d0d=0x0;_0x2e5d0d<_0x134fd5['length'];++_0x2e5d0d)null!=properties[_0x134fd5[_0x2e5d0d]]&&'__proto__'!==_0x134fd5[_0x2e5d0d]&&(this[_0x134fd5[_0x2e5d0d]]=properties[_0x134fd5[_0x2e5d0d]]);}}return TrackChangesConnectMessage['prototype']['documentId']='',TrackChangesConnectMessage['create']=function(properties){return new TrackChangesConnectMessage(properties);},TrackChangesConnectMessage['encode']=function(_0x57b7b0,writer,_0x594e97){if(writer||(writer=$Writer['create']()),void 0x0===_0x594e97&&(_0x594e97=0x0),_0x594e97>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x57b7b0['documentId']&&Object['hasOwnProperty']['call'](_0x57b7b0,'documentId')&&writer['uint32'](0xa)['string'](_0x57b7b0['documentId']),writer;},TrackChangesConnectMessage['encodeDelimited']=function(_0x2d7e5c,writer){return this['encode'](_0x2d7e5c,writer)['ldelim']();},TrackChangesConnectMessage['decode']=function(_0x4ab4e6,length,_0x43ea1e,_0x2c16f4){if(_0x4ab4e6 instanceof _0x470ccf||(_0x4ab4e6=_0x470ccf['create'](_0x4ab4e6)),void 0x0===_0x2c16f4&&(_0x2c16f4=0x0),_0x2c16f4>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x50ae8a=void 0x0===length?_0x4ab4e6['len']:_0x4ab4e6['pos']+length,_0x237137=new $root['TrackChangesConnectMessage']();_0x4ab4e6['pos']<_0x50ae8a;){var tag=_0x4ab4e6['uint32']();if(tag===_0x43ea1e)break;if(tag>>>0x3==0x1)_0x237137['documentId']=_0x4ab4e6['string']();else _0x4ab4e6['skipType'](0x7&tag,_0x2c16f4);}return _0x237137;},TrackChangesConnectMessage['decodeDelimited']=function(_0x665827){return _0x665827 instanceof _0x470ccf||(_0x665827=new _0x470ccf(_0x665827)),this['decode'](_0x665827,_0x665827['uint32']());},TrackChangesConnectMessage['verify']=function(_0x1569d8,_0x2e502a){return'object'!=typeof _0x1569d8||null===_0x1569d8?'object\x20expected':(void 0x0===_0x2e502a&&(_0x2e502a=0x0),_0x2e502a>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1569d8['documentId']&&Object['hasOwnProperty']['call'](_0x1569d8,'documentId')&&!$util['isString'](_0x1569d8['documentId'])?'documentId:\x20string\x20expected':null);},TrackChangesConnectMessage['fromObject']=function(object,_0x19f81c){if(object instanceof $root['TrackChangesConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesConnectMessage:\x20object\x20expected');if(void 0x0===_0x19f81c&&(_0x19f81c=0x0),_0x19f81c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x228d05=new $root['TrackChangesConnectMessage']();return null!=object['documentId']&&(_0x228d05['documentId']=String(object['documentId'])),_0x228d05;},TrackChangesConnectMessage['toObject']=function(_0x4a10eb,options,_0x4d489f){if(options||(options={}),void 0x0===_0x4d489f&&(_0x4d489f=0x0),_0x4d489f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x4a10eb['documentId']&&Object['hasOwnProperty']['call'](_0x4a10eb,'documentId')&&(object['documentId']=_0x4a10eb['documentId']),object;},TrackChangesConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesConnectMessage';},TrackChangesConnectMessage;}()),$root['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function TrackChangesBatchUpdateSuggestionsStateMessage(properties){if(this['ids']=[],properties){for(var _0x117f0c=Object['keys'](properties),_0x220319=0x0;_0x220319<_0x117f0c['length'];++_0x220319)null!=properties[_0x117f0c[_0x220319]]&&'__proto__'!==_0x117f0c[_0x220319]&&(this[_0x117f0c[_0x220319]]=properties[_0x117f0c[_0x220319]]);}}return TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['ids']=$util['emptyArray'],TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['documentId']='',TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['state']='',TrackChangesBatchUpdateSuggestionsStateMessage['create']=function(properties){return new TrackChangesBatchUpdateSuggestionsStateMessage(properties);},TrackChangesBatchUpdateSuggestionsStateMessage['encode']=function(_0x392a60,writer,_0x4f7cda){if(writer||(writer=$Writer['create']()),void 0x0===_0x4f7cda&&(_0x4f7cda=0x0),_0x4f7cda>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x392a60['ids']&&_0x392a60['ids']['length']){for(var _0x4a2168=0x0;_0x4a2168<_0x392a60['ids']['length'];++_0x4a2168)writer['uint32'](0xa)['string'](_0x392a60['ids'][_0x4a2168]);}return null!=_0x392a60['documentId']&&Object['hasOwnProperty']['call'](_0x392a60,'documentId')&&writer['uint32'](0x12)['string'](_0x392a60['documentId']),null!=_0x392a60['state']&&Object['hasOwnProperty']['call'](_0x392a60,'state')&&writer['uint32'](0x1a)['string'](_0x392a60['state']),writer;},TrackChangesBatchUpdateSuggestionsStateMessage['encodeDelimited']=function(_0x5dd668,writer){return this['encode'](_0x5dd668,writer)['ldelim']();},TrackChangesBatchUpdateSuggestionsStateMessage['decode']=function(_0xadcb24,length,_0x17efc3,_0x91db0e){if(_0xadcb24 instanceof _0x470ccf||(_0xadcb24=_0x470ccf['create'](_0xadcb24)),void 0x0===_0x91db0e&&(_0x91db0e=0x0),_0x91db0e>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x383ec9=void 0x0===length?_0xadcb24['len']:_0xadcb24['pos']+length,_0x37acfb=new $root['TrackChangesBatchUpdateSuggestionsStateMessage']();_0xadcb24['pos']<_0x383ec9;){var tag=_0xadcb24['uint32']();if(tag===_0x17efc3)break;switch(tag>>>0x3){case 0x1:_0x37acfb['ids']&&_0x37acfb['ids']['length']||(_0x37acfb['ids']=[]),_0x37acfb['ids']['push'](_0xadcb24['string']());break;case 0x2:_0x37acfb['documentId']=_0xadcb24['string']();break;case 0x3:_0x37acfb['state']=_0xadcb24['string']();break;default:_0xadcb24['skipType'](0x7&tag,_0x91db0e);}}return _0x37acfb;},TrackChangesBatchUpdateSuggestionsStateMessage['decodeDelimited']=function(_0x2bd62f){return _0x2bd62f instanceof _0x470ccf||(_0x2bd62f=new _0x470ccf(_0x2bd62f)),this['decode'](_0x2bd62f,_0x2bd62f['uint32']());},TrackChangesBatchUpdateSuggestionsStateMessage['verify']=function(_0x52ea69,_0xc9bef4){if('object'!=typeof _0x52ea69||null===_0x52ea69)return'object\x20expected';if(void 0x0===_0xc9bef4&&(_0xc9bef4=0x0),_0xc9bef4>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x52ea69['ids']&&Object['hasOwnProperty']['call'](_0x52ea69,'ids')){if(!Array['isArray'](_0x52ea69['ids']))return'ids:\x20array\x20expected';for(var _0xb55ff4=0x0;_0xb55ff4<_0x52ea69['ids']['length'];++_0xb55ff4)if(!$util['isString'](_0x52ea69['ids'][_0xb55ff4]))return'ids:\x20string[]\x20expected';}return null!=_0x52ea69['documentId']&&Object['hasOwnProperty']['call'](_0x52ea69,'documentId')&&!$util['isString'](_0x52ea69['documentId'])?'documentId:\x20string\x20expected':null!=_0x52ea69['state']&&Object['hasOwnProperty']['call'](_0x52ea69,'state')&&!$util['isString'](_0x52ea69['state'])?'state:\x20string\x20expected':null;},TrackChangesBatchUpdateSuggestionsStateMessage['fromObject']=function(object,_0x2a6c76){if(object instanceof $root['TrackChangesBatchUpdateSuggestionsStateMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage:\x20object\x20expected');if(void 0x0===_0x2a6c76&&(_0x2a6c76=0x0),_0x2a6c76>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x11cf3c=new $root['TrackChangesBatchUpdateSuggestionsStateMessage']();if(object['ids']){if(!Array['isArray'](object['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x11cf3c['ids']=[];for(var _0x215802=0x0;_0x215802<object['ids']['length'];++_0x215802)_0x11cf3c['ids'][_0x215802]=String(object['ids'][_0x215802]);}return null!=object['documentId']&&(_0x11cf3c['documentId']=String(object['documentId'])),null!=object['state']&&(_0x11cf3c['state']=String(object['state'])),_0x11cf3c;},TrackChangesBatchUpdateSuggestionsStateMessage['toObject']=function(_0x472106,options,_0x19e972){if(options||(options={}),void 0x0===_0x19e972&&(_0x19e972=0x0),_0x19e972>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['ids']=[]),options['defaults']&&(object['documentId']='',object['state']=''),_0x472106['ids']&&_0x472106['ids']['length']){object['ids']=[];for(var _0x435683=0x0;_0x435683<_0x472106['ids']['length'];++_0x435683)object['ids'][_0x435683]=_0x472106['ids'][_0x435683];}return null!=_0x472106['documentId']&&Object['hasOwnProperty']['call'](_0x472106,'documentId')&&(object['documentId']=_0x472106['documentId']),null!=_0x472106['state']&&Object['hasOwnProperty']['call'](_0x472106,'state')&&(object['state']=_0x472106['state']),object;},TrackChangesBatchUpdateSuggestionsStateMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesBatchUpdateSuggestionsStateMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesBatchUpdateSuggestionsStateMessage';},TrackChangesBatchUpdateSuggestionsStateMessage;}()),$root['TrackChangesAddSuggestionMessage']=(function(){function TrackChangesAddSuggestionMessage(properties){if(properties){for(var _0x56c32c=Object['keys'](properties),_0x258134=0x0;_0x258134<_0x56c32c['length'];++_0x258134)null!=properties[_0x56c32c[_0x258134]]&&'__proto__'!==_0x56c32c[_0x258134]&&(this[_0x56c32c[_0x258134]]=properties[_0x56c32c[_0x258134]]);}}return TrackChangesAddSuggestionMessage['prototype']['id']='',TrackChangesAddSuggestionMessage['prototype']['documentId']='',TrackChangesAddSuggestionMessage['prototype']['type']='',TrackChangesAddSuggestionMessage['prototype']['data']='',TrackChangesAddSuggestionMessage['prototype']['originalSuggestionId']='',TrackChangesAddSuggestionMessage['prototype']['attributes']='',TrackChangesAddSuggestionMessage['create']=function(properties){return new TrackChangesAddSuggestionMessage(properties);},TrackChangesAddSuggestionMessage['encode']=function(_0x368d08,writer,_0xa2d3da){if(writer||(writer=$Writer['create']()),void 0x0===_0xa2d3da&&(_0xa2d3da=0x0),_0xa2d3da>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x368d08['id']&&Object['hasOwnProperty']['call'](_0x368d08,'id')&&writer['uint32'](0xa)['string'](_0x368d08['id']),null!=_0x368d08['documentId']&&Object['hasOwnProperty']['call'](_0x368d08,'documentId')&&writer['uint32'](0x12)['string'](_0x368d08['documentId']),null!=_0x368d08['type']&&Object['hasOwnProperty']['call'](_0x368d08,'type')&&writer['uint32'](0x1a)['string'](_0x368d08['type']),null!=_0x368d08['data']&&Object['hasOwnProperty']['call'](_0x368d08,'data')&&writer['uint32'](0x22)['string'](_0x368d08['data']),null!=_0x368d08['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x368d08,'originalSuggestionId')&&writer['uint32'](0x2a)['string'](_0x368d08['originalSuggestionId']),null!=_0x368d08['attributes']&&Object['hasOwnProperty']['call'](_0x368d08,'attributes')&&writer['uint32'](0x32)['string'](_0x368d08['attributes']),writer;},TrackChangesAddSuggestionMessage['encodeDelimited']=function(_0x902d7b,writer){return this['encode'](_0x902d7b,writer)['ldelim']();},TrackChangesAddSuggestionMessage['decode']=function(_0xf104ad,length,_0x5668d0,_0x43c0c0){if(_0xf104ad instanceof _0x470ccf||(_0xf104ad=_0x470ccf['create'](_0xf104ad)),void 0x0===_0x43c0c0&&(_0x43c0c0=0x0),_0x43c0c0>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x146b8c=void 0x0===length?_0xf104ad['len']:_0xf104ad['pos']+length,_0x17dcfd=new $root['TrackChangesAddSuggestionMessage']();_0xf104ad['pos']<_0x146b8c;){var tag=_0xf104ad['uint32']();if(tag===_0x5668d0)break;switch(tag>>>0x3){case 0x1:_0x17dcfd['id']=_0xf104ad['string']();break;case 0x2:_0x17dcfd['documentId']=_0xf104ad['string']();break;case 0x3:_0x17dcfd['type']=_0xf104ad['string']();break;case 0x4:_0x17dcfd['data']=_0xf104ad['string']();break;case 0x5:_0x17dcfd['originalSuggestionId']=_0xf104ad['string']();break;case 0x6:_0x17dcfd['attributes']=_0xf104ad['string']();break;default:_0xf104ad['skipType'](0x7&tag,_0x43c0c0);}}return _0x17dcfd;},TrackChangesAddSuggestionMessage['decodeDelimited']=function(_0x560ee7){return _0x560ee7 instanceof _0x470ccf||(_0x560ee7=new _0x470ccf(_0x560ee7)),this['decode'](_0x560ee7,_0x560ee7['uint32']());},TrackChangesAddSuggestionMessage['verify']=function(_0x338faa,_0x1127e9){return'object'!=typeof _0x338faa||null===_0x338faa?'object\x20expected':(void 0x0===_0x1127e9&&(_0x1127e9=0x0),_0x1127e9>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x338faa['id']&&Object['hasOwnProperty']['call'](_0x338faa,'id')&&!$util['isString'](_0x338faa['id'])?'id:\x20string\x20expected':null!=_0x338faa['documentId']&&Object['hasOwnProperty']['call'](_0x338faa,'documentId')&&!$util['isString'](_0x338faa['documentId'])?'documentId:\x20string\x20expected':null!=_0x338faa['type']&&Object['hasOwnProperty']['call'](_0x338faa,'type')&&!$util['isString'](_0x338faa['type'])?'type:\x20string\x20expected':null!=_0x338faa['data']&&Object['hasOwnProperty']['call'](_0x338faa,'data')&&!$util['isString'](_0x338faa['data'])?'data:\x20string\x20expected':null!=_0x338faa['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x338faa,'originalSuggestionId')&&!$util['isString'](_0x338faa['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x338faa['attributes']&&Object['hasOwnProperty']['call'](_0x338faa,'attributes')&&!$util['isString'](_0x338faa['attributes'])?'attributes:\x20string\x20expected':null);},TrackChangesAddSuggestionMessage['fromObject']=function(object,_0x1bd028){if(object instanceof $root['TrackChangesAddSuggestionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.TrackChangesAddSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x1bd028&&(_0x1bd028=0x0),_0x1bd028>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21e140=new $root['TrackChangesAddSuggestionMessage']();return null!=object['id']&&(_0x21e140['id']=String(object['id'])),null!=object['documentId']&&(_0x21e140['documentId']=String(object['documentId'])),null!=object['type']&&(_0x21e140['type']=String(object['type'])),null!=object['data']&&(_0x21e140['data']=String(object['data'])),null!=object['originalSuggestionId']&&(_0x21e140['originalSuggestionId']=String(object['originalSuggestionId'])),null!=object['attributes']&&(_0x21e140['attributes']=String(object['attributes'])),_0x21e140;},TrackChangesAddSuggestionMessage['toObject']=function(_0x230e16,options,_0x2a7197){if(options||(options={}),void 0x0===_0x2a7197&&(_0x2a7197=0x0),_0x2a7197>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['documentId']='',object['type']='',object['data']='',object['originalSuggestionId']='',object['attributes']=''),null!=_0x230e16['id']&&Object['hasOwnProperty']['call'](_0x230e16,'id')&&(object['id']=_0x230e16['id']),null!=_0x230e16['documentId']&&Object['hasOwnProperty']['call'](_0x230e16,'documentId')&&(object['documentId']=_0x230e16['documentId']),null!=_0x230e16['type']&&Object['hasOwnProperty']['call'](_0x230e16,'type')&&(object['type']=_0x230e16['type']),null!=_0x230e16['data']&&Object['hasOwnProperty']['call'](_0x230e16,'data')&&(object['data']=_0x230e16['data']),null!=_0x230e16['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x230e16,'originalSuggestionId')&&(object['originalSuggestionId']=_0x230e16['originalSuggestionId']),null!=_0x230e16['attributes']&&Object['hasOwnProperty']['call'](_0x230e16,'attributes')&&(object['attributes']=_0x230e16['attributes']),object;},TrackChangesAddSuggestionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},TrackChangesAddSuggestionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/TrackChangesAddSuggestionMessage';},TrackChangesAddSuggestionMessage;}()),$root['SuggestionDescriptor']=(function(){function SuggestionDescriptor(properties){if(properties){for(var _0x87658c=Object['keys'](properties),_0x13bb34=0x0;_0x13bb34<_0x87658c['length'];++_0x13bb34)null!=properties[_0x87658c[_0x13bb34]]&&'__proto__'!==_0x87658c[_0x13bb34]&&(this[_0x87658c[_0x13bb34]]=properties[_0x87658c[_0x13bb34]]);}}return SuggestionDescriptor['prototype']['id']='',SuggestionDescriptor['prototype']['authorId']='',SuggestionDescriptor['prototype']['type']='',SuggestionDescriptor['prototype']['createdAt']='',SuggestionDescriptor['prototype']['data']='',SuggestionDescriptor['prototype']['hasComments']=!0x1,SuggestionDescriptor['prototype']['state']='',SuggestionDescriptor['prototype']['attributes']='',SuggestionDescriptor['create']=function(properties){return new SuggestionDescriptor(properties);},SuggestionDescriptor['encode']=function(_0x20e3e8,writer,_0x439e29){if(writer||(writer=$Writer['create']()),void 0x0===_0x439e29&&(_0x439e29=0x0),_0x439e29>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x20e3e8['id']&&Object['hasOwnProperty']['call'](_0x20e3e8,'id')&&writer['uint32'](0xa)['string'](_0x20e3e8['id']),null!=_0x20e3e8['authorId']&&Object['hasOwnProperty']['call'](_0x20e3e8,'authorId')&&writer['uint32'](0x12)['string'](_0x20e3e8['authorId']),null!=_0x20e3e8['type']&&Object['hasOwnProperty']['call'](_0x20e3e8,'type')&&writer['uint32'](0x1a)['string'](_0x20e3e8['type']),null!=_0x20e3e8['createdAt']&&Object['hasOwnProperty']['call'](_0x20e3e8,'createdAt')&&writer['uint32'](0x22)['string'](_0x20e3e8['createdAt']),null!=_0x20e3e8['data']&&Object['hasOwnProperty']['call'](_0x20e3e8,'data')&&writer['uint32'](0x2a)['string'](_0x20e3e8['data']),null!=_0x20e3e8['hasComments']&&Object['hasOwnProperty']['call'](_0x20e3e8,'hasComments')&&writer['uint32'](0x30)['bool'](_0x20e3e8['hasComments']),null!=_0x20e3e8['state']&&Object['hasOwnProperty']['call'](_0x20e3e8,'state')&&writer['uint32'](0x3a)['string'](_0x20e3e8['state']),null!=_0x20e3e8['attributes']&&Object['hasOwnProperty']['call'](_0x20e3e8,'attributes')&&writer['uint32'](0x42)['string'](_0x20e3e8['attributes']),writer;},SuggestionDescriptor['encodeDelimited']=function(_0x5b8535,writer){return this['encode'](_0x5b8535,writer)['ldelim']();},SuggestionDescriptor['decode']=function(_0x4f21eb,length,_0x459708,_0x12c4b0){if(_0x4f21eb instanceof _0x470ccf||(_0x4f21eb=_0x470ccf['create'](_0x4f21eb)),void 0x0===_0x12c4b0&&(_0x12c4b0=0x0),_0x12c4b0>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2ee488=void 0x0===length?_0x4f21eb['len']:_0x4f21eb['pos']+length,_0x5e1e81=new $root['SuggestionDescriptor']();_0x4f21eb['pos']<_0x2ee488;){var tag=_0x4f21eb['uint32']();if(tag===_0x459708)break;switch(tag>>>0x3){case 0x1:_0x5e1e81['id']=_0x4f21eb['string']();break;case 0x2:_0x5e1e81['authorId']=_0x4f21eb['string']();break;case 0x3:_0x5e1e81['type']=_0x4f21eb['string']();break;case 0x4:_0x5e1e81['createdAt']=_0x4f21eb['string']();break;case 0x5:_0x5e1e81['data']=_0x4f21eb['string']();break;case 0x6:_0x5e1e81['hasComments']=_0x4f21eb['bool']();break;case 0x7:_0x5e1e81['state']=_0x4f21eb['string']();break;case 0x8:_0x5e1e81['attributes']=_0x4f21eb['string']();break;default:_0x4f21eb['skipType'](0x7&tag,_0x12c4b0);}}return _0x5e1e81;},SuggestionDescriptor['decodeDelimited']=function(_0x750181){return _0x750181 instanceof _0x470ccf||(_0x750181=new _0x470ccf(_0x750181)),this['decode'](_0x750181,_0x750181['uint32']());},SuggestionDescriptor['verify']=function(_0x1e18f5,_0x5511d3){return'object'!=typeof _0x1e18f5||null===_0x1e18f5?'object\x20expected':(void 0x0===_0x5511d3&&(_0x5511d3=0x0),_0x5511d3>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1e18f5['id']&&Object['hasOwnProperty']['call'](_0x1e18f5,'id')&&!$util['isString'](_0x1e18f5['id'])?'id:\x20string\x20expected':null!=_0x1e18f5['authorId']&&Object['hasOwnProperty']['call'](_0x1e18f5,'authorId')&&!$util['isString'](_0x1e18f5['authorId'])?'authorId:\x20string\x20expected':null!=_0x1e18f5['type']&&Object['hasOwnProperty']['call'](_0x1e18f5,'type')&&!$util['isString'](_0x1e18f5['type'])?'type:\x20string\x20expected':null!=_0x1e18f5['createdAt']&&Object['hasOwnProperty']['call'](_0x1e18f5,'createdAt')&&!$util['isString'](_0x1e18f5['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1e18f5['data']&&Object['hasOwnProperty']['call'](_0x1e18f5,'data')&&!$util['isString'](_0x1e18f5['data'])?'data:\x20string\x20expected':null!=_0x1e18f5['hasComments']&&Object['hasOwnProperty']['call'](_0x1e18f5,'hasComments')&&'boolean'!=typeof _0x1e18f5['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1e18f5['state']&&Object['hasOwnProperty']['call'](_0x1e18f5,'state')&&!$util['isString'](_0x1e18f5['state'])?'state:\x20string\x20expected':null!=_0x1e18f5['attributes']&&Object['hasOwnProperty']['call'](_0x1e18f5,'attributes')&&!$util['isString'](_0x1e18f5['attributes'])?'attributes:\x20string\x20expected':null);},SuggestionDescriptor['fromObject']=function(object,_0x48bac7){if(object instanceof $root['SuggestionDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.SuggestionDescriptor:\x20object\x20expected');if(void 0x0===_0x48bac7&&(_0x48bac7=0x0),_0x48bac7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x41bcc0=new $root['SuggestionDescriptor']();return null!=object['id']&&(_0x41bcc0['id']=String(object['id'])),null!=object['authorId']&&(_0x41bcc0['authorId']=String(object['authorId'])),null!=object['type']&&(_0x41bcc0['type']=String(object['type'])),null!=object['createdAt']&&(_0x41bcc0['createdAt']=String(object['createdAt'])),null!=object['data']&&(_0x41bcc0['data']=String(object['data'])),null!=object['hasComments']&&(_0x41bcc0['hasComments']=Boolean(object['hasComments'])),null!=object['state']&&(_0x41bcc0['state']=String(object['state'])),null!=object['attributes']&&(_0x41bcc0['attributes']=String(object['attributes'])),_0x41bcc0;},SuggestionDescriptor['toObject']=function(_0x36dc3d,options,_0xeea4c6){if(options||(options={}),void 0x0===_0xeea4c6&&(_0xeea4c6=0x0),_0xeea4c6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['authorId']='',object['type']='',object['createdAt']='',object['data']='',object['hasComments']=!0x1,object['state']='',object['attributes']=''),null!=_0x36dc3d['id']&&Object['hasOwnProperty']['call'](_0x36dc3d,'id')&&(object['id']=_0x36dc3d['id']),null!=_0x36dc3d['authorId']&&Object['hasOwnProperty']['call'](_0x36dc3d,'authorId')&&(object['authorId']=_0x36dc3d['authorId']),null!=_0x36dc3d['type']&&Object['hasOwnProperty']['call'](_0x36dc3d,'type')&&(object['type']=_0x36dc3d['type']),null!=_0x36dc3d['createdAt']&&Object['hasOwnProperty']['call'](_0x36dc3d,'createdAt')&&(object['createdAt']=_0x36dc3d['createdAt']),null!=_0x36dc3d['data']&&Object['hasOwnProperty']['call'](_0x36dc3d,'data')&&(object['data']=_0x36dc3d['data']),null!=_0x36dc3d['hasComments']&&Object['hasOwnProperty']['call'](_0x36dc3d,'hasComments')&&(object['hasComments']=_0x36dc3d['hasComments']),null!=_0x36dc3d['state']&&Object['hasOwnProperty']['call'](_0x36dc3d,'state')&&(object['state']=_0x36dc3d['state']),null!=_0x36dc3d['attributes']&&Object['hasOwnProperty']['call'](_0x36dc3d,'attributes')&&(object['attributes']=_0x36dc3d['attributes']),object;},SuggestionDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SuggestionDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SuggestionDescriptor';},SuggestionDescriptor;}()),$root['SessionsConnectResponse']=(function(){function SessionsConnectResponse(properties){if(this['sockets']=[],properties){for(var _0x32f9da=Object['keys'](properties),_0x12b215=0x0;_0x12b215<_0x32f9da['length'];++_0x12b215)null!=properties[_0x32f9da[_0x12b215]]&&'__proto__'!==_0x32f9da[_0x12b215]&&(this[_0x32f9da[_0x12b215]]=properties[_0x32f9da[_0x12b215]]);}}return SessionsConnectResponse['prototype']['channel']='',SessionsConnectResponse['prototype']['sockets']=$util['emptyArray'],SessionsConnectResponse['create']=function(properties){return new SessionsConnectResponse(properties);},SessionsConnectResponse['encode']=function(_0x3462b7,writer,_0x25caaa){if(writer||(writer=$Writer['create']()),void 0x0===_0x25caaa&&(_0x25caaa=0x0),_0x25caaa>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3462b7['channel']&&Object['hasOwnProperty']['call'](_0x3462b7,'channel')&&writer['uint32'](0xa)['string'](_0x3462b7['channel']),null!=_0x3462b7['sockets']&&_0x3462b7['sockets']['length']){for(var _0x5b18f7=0x0;_0x5b18f7<_0x3462b7['sockets']['length'];++_0x5b18f7)$root['SessionsSocketDescriptor']['encode'](_0x3462b7['sockets'][_0x5b18f7],writer['uint32'](0x12)['fork'](),_0x25caaa+0x1)['ldelim']();}return writer;},SessionsConnectResponse['encodeDelimited']=function(_0x3e0cbd,writer){return this['encode'](_0x3e0cbd,writer)['ldelim']();},SessionsConnectResponse['decode']=function(_0x4dd5e5,length,_0x58d5b7,_0x2f39a7){if(_0x4dd5e5 instanceof _0x470ccf||(_0x4dd5e5=_0x470ccf['create'](_0x4dd5e5)),void 0x0===_0x2f39a7&&(_0x2f39a7=0x0),_0x2f39a7>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x311769=void 0x0===length?_0x4dd5e5['len']:_0x4dd5e5['pos']+length,_0x2209cd=new $root['SessionsConnectResponse']();_0x4dd5e5['pos']<_0x311769;){var tag=_0x4dd5e5['uint32']();if(tag===_0x58d5b7)break;switch(tag>>>0x3){case 0x1:_0x2209cd['channel']=_0x4dd5e5['string']();break;case 0x2:_0x2209cd['sockets']&&_0x2209cd['sockets']['length']||(_0x2209cd['sockets']=[]),_0x2209cd['sockets']['push']($root['SessionsSocketDescriptor']['decode'](_0x4dd5e5,_0x4dd5e5['uint32'](),void 0x0,_0x2f39a7+0x1));break;default:_0x4dd5e5['skipType'](0x7&tag,_0x2f39a7);}}return _0x2209cd;},SessionsConnectResponse['decodeDelimited']=function(_0x33a3c7){return _0x33a3c7 instanceof _0x470ccf||(_0x33a3c7=new _0x470ccf(_0x33a3c7)),this['decode'](_0x33a3c7,_0x33a3c7['uint32']());},SessionsConnectResponse['verify']=function(_0x589980,_0x31d91f){if('object'!=typeof _0x589980||null===_0x589980)return'object\x20expected';if(void 0x0===_0x31d91f&&(_0x31d91f=0x0),_0x31d91f>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x589980['channel']&&Object['hasOwnProperty']['call'](_0x589980,'channel')&&!$util['isString'](_0x589980['channel']))return'channel:\x20string\x20expected';if(null!=_0x589980['sockets']&&Object['hasOwnProperty']['call'](_0x589980,'sockets')){if(!Array['isArray'](_0x589980['sockets']))return'sockets:\x20array\x20expected';for(var _0x169272=0x0;_0x169272<_0x589980['sockets']['length'];++_0x169272){var _0x55e32c=$root['SessionsSocketDescriptor']['verify'](_0x589980['sockets'][_0x169272],_0x31d91f+0x1);if(_0x55e32c)return'sockets.'+_0x55e32c;}}return null;},SessionsConnectResponse['fromObject']=function(object,_0x3f6a28){if(object instanceof $root['SessionsConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.SessionsConnectResponse:\x20object\x20expected');if(void 0x0===_0x3f6a28&&(_0x3f6a28=0x0),_0x3f6a28>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3a6f11=new $root['SessionsConnectResponse']();if(null!=object['channel']&&(_0x3a6f11['channel']=String(object['channel'])),object['sockets']){if(!Array['isArray'](object['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x3a6f11['sockets']=[];for(var _0x4e5221=0x0;_0x4e5221<object['sockets']['length'];++_0x4e5221){if(!$util['isObject'](object['sockets'][_0x4e5221]))throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x3a6f11['sockets'][_0x4e5221]=$root['SessionsSocketDescriptor']['fromObject'](object['sockets'][_0x4e5221],_0x3f6a28+0x1);}}return _0x3a6f11;},SessionsConnectResponse['toObject']=function(_0xd63197,options,_0x20fb03){if(options||(options={}),void 0x0===_0x20fb03&&(_0x20fb03=0x0),_0x20fb03>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['sockets']=[]),options['defaults']&&(object['channel']=''),null!=_0xd63197['channel']&&Object['hasOwnProperty']['call'](_0xd63197,'channel')&&(object['channel']=_0xd63197['channel']),_0xd63197['sockets']&&_0xd63197['sockets']['length']){object['sockets']=[];for(var _0x2196f0=0x0;_0x2196f0<_0xd63197['sockets']['length'];++_0x2196f0)object['sockets'][_0x2196f0]=$root['SessionsSocketDescriptor']['toObject'](_0xd63197['sockets'][_0x2196f0],options,_0x20fb03+0x1);}return object;},SessionsConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsConnectResponse';},SessionsConnectResponse;}()),$root['SocketDisconnectMessage']=(function(){function SocketDisconnectMessage(properties){if(properties){for(var _0x709e8d=Object['keys'](properties),_0xb626af=0x0;_0xb626af<_0x709e8d['length'];++_0xb626af)null!=properties[_0x709e8d[_0xb626af]]&&'__proto__'!==_0x709e8d[_0xb626af]&&(this[_0x709e8d[_0xb626af]]=properties[_0x709e8d[_0xb626af]]);}}return SocketDisconnectMessage['prototype']['id']='',SocketDisconnectMessage['create']=function(properties){return new SocketDisconnectMessage(properties);},SocketDisconnectMessage['encode']=function(_0x35d7d0,writer,_0x512388){if(writer||(writer=$Writer['create']()),void 0x0===_0x512388&&(_0x512388=0x0),_0x512388>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x35d7d0['id']&&Object['hasOwnProperty']['call'](_0x35d7d0,'id')&&writer['uint32'](0xa)['string'](_0x35d7d0['id']),writer;},SocketDisconnectMessage['encodeDelimited']=function(_0x4afaae,writer){return this['encode'](_0x4afaae,writer)['ldelim']();},SocketDisconnectMessage['decode']=function(_0xa56204,length,_0x444b95,_0x4bb3b8){if(_0xa56204 instanceof _0x470ccf||(_0xa56204=_0x470ccf['create'](_0xa56204)),void 0x0===_0x4bb3b8&&(_0x4bb3b8=0x0),_0x4bb3b8>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x596f3b=void 0x0===length?_0xa56204['len']:_0xa56204['pos']+length,_0x131beb=new $root['SocketDisconnectMessage']();_0xa56204['pos']<_0x596f3b;){var tag=_0xa56204['uint32']();if(tag===_0x444b95)break;if(tag>>>0x3==0x1)_0x131beb['id']=_0xa56204['string']();else _0xa56204['skipType'](0x7&tag,_0x4bb3b8);}return _0x131beb;},SocketDisconnectMessage['decodeDelimited']=function(_0x4815ba){return _0x4815ba instanceof _0x470ccf||(_0x4815ba=new _0x470ccf(_0x4815ba)),this['decode'](_0x4815ba,_0x4815ba['uint32']());},SocketDisconnectMessage['verify']=function(_0x34fef7,_0x778220){return'object'!=typeof _0x34fef7||null===_0x34fef7?'object\x20expected':(void 0x0===_0x778220&&(_0x778220=0x0),_0x778220>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x34fef7['id']&&Object['hasOwnProperty']['call'](_0x34fef7,'id')&&!$util['isString'](_0x34fef7['id'])?'id:\x20string\x20expected':null);},SocketDisconnectMessage['fromObject']=function(object,_0x2e5c42){if(object instanceof $root['SocketDisconnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.SocketDisconnectMessage:\x20object\x20expected');if(void 0x0===_0x2e5c42&&(_0x2e5c42=0x0),_0x2e5c42>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x43e225=new $root['SocketDisconnectMessage']();return null!=object['id']&&(_0x43e225['id']=String(object['id'])),_0x43e225;},SocketDisconnectMessage['toObject']=function(_0x2bb3e9,options,_0x5e5607){if(options||(options={}),void 0x0===_0x5e5607&&(_0x5e5607=0x0),_0x5e5607>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']=''),null!=_0x2bb3e9['id']&&Object['hasOwnProperty']['call'](_0x2bb3e9,'id')&&(object['id']=_0x2bb3e9['id']),object;},SocketDisconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SocketDisconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SocketDisconnectMessage';},SocketDisconnectMessage;}()),$root['SocketConnectMessage']=(function(){function SocketConnectMessage(properties){if(this['permissions']=[],properties){for(var _0x2afb4d=Object['keys'](properties),_0x5c4ef3=0x0;_0x5c4ef3<_0x2afb4d['length'];++_0x5c4ef3)null!=properties[_0x2afb4d[_0x5c4ef3]]&&'__proto__'!==_0x2afb4d[_0x5c4ef3]&&(this[_0x2afb4d[_0x5c4ef3]]=properties[_0x2afb4d[_0x5c4ef3]]);}}return SocketConnectMessage['prototype']['id']='',SocketConnectMessage['prototype']['userId']='',SocketConnectMessage['prototype']['role']='',SocketConnectMessage['prototype']['permissions']=$util['emptyArray'],SocketConnectMessage['create']=function(properties){return new SocketConnectMessage(properties);},SocketConnectMessage['encode']=function(_0x1525e1,writer,_0x573a75){if(writer||(writer=$Writer['create']()),void 0x0===_0x573a75&&(_0x573a75=0x0),_0x573a75>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1525e1['id']&&Object['hasOwnProperty']['call'](_0x1525e1,'id')&&writer['uint32'](0xa)['string'](_0x1525e1['id']),null!=_0x1525e1['userId']&&Object['hasOwnProperty']['call'](_0x1525e1,'userId')&&writer['uint32'](0x12)['string'](_0x1525e1['userId']),null!=_0x1525e1['role']&&Object['hasOwnProperty']['call'](_0x1525e1,'role')&&writer['uint32'](0x1a)['string'](_0x1525e1['role']),null!=_0x1525e1['permissions']&&_0x1525e1['permissions']['length']){for(var _0x394d69=0x0;_0x394d69<_0x1525e1['permissions']['length'];++_0x394d69)writer['uint32'](0x22)['string'](_0x1525e1['permissions'][_0x394d69]);}return writer;},SocketConnectMessage['encodeDelimited']=function(_0x57b066,writer){return this['encode'](_0x57b066,writer)['ldelim']();},SocketConnectMessage['decode']=function(_0x19995d,length,_0x3d1932,_0x45504c){if(_0x19995d instanceof _0x470ccf||(_0x19995d=_0x470ccf['create'](_0x19995d)),void 0x0===_0x45504c&&(_0x45504c=0x0),_0x45504c>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x31c5db=void 0x0===length?_0x19995d['len']:_0x19995d['pos']+length,_0x47f865=new $root['SocketConnectMessage']();_0x19995d['pos']<_0x31c5db;){var tag=_0x19995d['uint32']();if(tag===_0x3d1932)break;switch(tag>>>0x3){case 0x1:_0x47f865['id']=_0x19995d['string']();break;case 0x2:_0x47f865['userId']=_0x19995d['string']();break;case 0x3:_0x47f865['role']=_0x19995d['string']();break;case 0x4:_0x47f865['permissions']&&_0x47f865['permissions']['length']||(_0x47f865['permissions']=[]),_0x47f865['permissions']['push'](_0x19995d['string']());break;default:_0x19995d['skipType'](0x7&tag,_0x45504c);}}return _0x47f865;},SocketConnectMessage['decodeDelimited']=function(_0x1fcdf3){return _0x1fcdf3 instanceof _0x470ccf||(_0x1fcdf3=new _0x470ccf(_0x1fcdf3)),this['decode'](_0x1fcdf3,_0x1fcdf3['uint32']());},SocketConnectMessage['verify']=function(_0x10c931,_0x52d248){if('object'!=typeof _0x10c931||null===_0x10c931)return'object\x20expected';if(void 0x0===_0x52d248&&(_0x52d248=0x0),_0x52d248>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x10c931['id']&&Object['hasOwnProperty']['call'](_0x10c931,'id')&&!$util['isString'](_0x10c931['id']))return'id:\x20string\x20expected';if(null!=_0x10c931['userId']&&Object['hasOwnProperty']['call'](_0x10c931,'userId')&&!$util['isString'](_0x10c931['userId']))return'userId:\x20string\x20expected';if(null!=_0x10c931['role']&&Object['hasOwnProperty']['call'](_0x10c931,'role')&&!$util['isString'](_0x10c931['role']))return'role:\x20string\x20expected';if(null!=_0x10c931['permissions']&&Object['hasOwnProperty']['call'](_0x10c931,'permissions')){if(!Array['isArray'](_0x10c931['permissions']))return'permissions:\x20array\x20expected';for(var _0x29770b=0x0;_0x29770b<_0x10c931['permissions']['length'];++_0x29770b)if(!$util['isString'](_0x10c931['permissions'][_0x29770b]))return'permissions:\x20string[]\x20expected';}return null;},SocketConnectMessage['fromObject']=function(object,_0x2d37e0){if(object instanceof $root['SocketConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.SocketConnectMessage:\x20object\x20expected');if(void 0x0===_0x2d37e0&&(_0x2d37e0=0x0),_0x2d37e0>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c596c=new $root['SocketConnectMessage']();if(null!=object['id']&&(_0x4c596c['id']=String(object['id'])),null!=object['userId']&&(_0x4c596c['userId']=String(object['userId'])),null!=object['role']&&(_0x4c596c['role']=String(object['role'])),object['permissions']){if(!Array['isArray'](object['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x4c596c['permissions']=[];for(var _0x1da669=0x0;_0x1da669<object['permissions']['length'];++_0x1da669)_0x4c596c['permissions'][_0x1da669]=String(object['permissions'][_0x1da669]);}return _0x4c596c;},SocketConnectMessage['toObject']=function(_0x1e90d2,options,_0x37bae9){if(options||(options={}),void 0x0===_0x37bae9&&(_0x37bae9=0x0),_0x37bae9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['permissions']=[]),options['defaults']&&(object['id']='',object['userId']='',object['role']=''),null!=_0x1e90d2['id']&&Object['hasOwnProperty']['call'](_0x1e90d2,'id')&&(object['id']=_0x1e90d2['id']),null!=_0x1e90d2['userId']&&Object['hasOwnProperty']['call'](_0x1e90d2,'userId')&&(object['userId']=_0x1e90d2['userId']),null!=_0x1e90d2['role']&&Object['hasOwnProperty']['call'](_0x1e90d2,'role')&&(object['role']=_0x1e90d2['role']),_0x1e90d2['permissions']&&_0x1e90d2['permissions']['length']){object['permissions']=[];for(var _0x33b9cb=0x0;_0x33b9cb<_0x1e90d2['permissions']['length'];++_0x33b9cb)object['permissions'][_0x33b9cb]=_0x1e90d2['permissions'][_0x33b9cb];}return object;},SocketConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SocketConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SocketConnectMessage';},SocketConnectMessage;}()),$root['SessionsConnectMessage']=(function(){function SessionsConnectMessage(properties){if(properties){for(var _0x120ff4=Object['keys'](properties),_0x16eb1a=0x0;_0x16eb1a<_0x120ff4['length'];++_0x16eb1a)null!=properties[_0x120ff4[_0x16eb1a]]&&'__proto__'!==_0x120ff4[_0x16eb1a]&&(this[_0x120ff4[_0x16eb1a]]=properties[_0x120ff4[_0x16eb1a]]);}}return SessionsConnectMessage['prototype']['id']='',SessionsConnectMessage['prototype']['sessionType']=0x0,SessionsConnectMessage['create']=function(properties){return new SessionsConnectMessage(properties);},SessionsConnectMessage['encode']=function(_0x322d43,writer,_0x4ac6e8){if(writer||(writer=$Writer['create']()),void 0x0===_0x4ac6e8&&(_0x4ac6e8=0x0),_0x4ac6e8>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x322d43['id']&&Object['hasOwnProperty']['call'](_0x322d43,'id')&&writer['uint32'](0xa)['string'](_0x322d43['id']),null!=_0x322d43['sessionType']&&Object['hasOwnProperty']['call'](_0x322d43,'sessionType')&&writer['uint32'](0x10)['uint32'](_0x322d43['sessionType']),writer;},SessionsConnectMessage['encodeDelimited']=function(_0x42756b,writer){return this['encode'](_0x42756b,writer)['ldelim']();},SessionsConnectMessage['decode']=function(_0x31c4b4,length,_0x4bfc33,_0x4929ad){if(_0x31c4b4 instanceof _0x470ccf||(_0x31c4b4=_0x470ccf['create'](_0x31c4b4)),void 0x0===_0x4929ad&&(_0x4929ad=0x0),_0x4929ad>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1a59be=void 0x0===length?_0x31c4b4['len']:_0x31c4b4['pos']+length,_0x1e349a=new $root['SessionsConnectMessage']();_0x31c4b4['pos']<_0x1a59be;){var tag=_0x31c4b4['uint32']();if(tag===_0x4bfc33)break;switch(tag>>>0x3){case 0x1:_0x1e349a['id']=_0x31c4b4['string']();break;case 0x2:_0x1e349a['sessionType']=_0x31c4b4['uint32']();break;default:_0x31c4b4['skipType'](0x7&tag,_0x4929ad);}}return _0x1e349a;},SessionsConnectMessage['decodeDelimited']=function(_0x341280){return _0x341280 instanceof _0x470ccf||(_0x341280=new _0x470ccf(_0x341280)),this['decode'](_0x341280,_0x341280['uint32']());},SessionsConnectMessage['verify']=function(_0x4d491c,_0x4a43dd){return'object'!=typeof _0x4d491c||null===_0x4d491c?'object\x20expected':(void 0x0===_0x4a43dd&&(_0x4a43dd=0x0),_0x4a43dd>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4d491c['id']&&Object['hasOwnProperty']['call'](_0x4d491c,'id')&&!$util['isString'](_0x4d491c['id'])?'id:\x20string\x20expected':null!=_0x4d491c['sessionType']&&Object['hasOwnProperty']['call'](_0x4d491c,'sessionType')&&!$util['isInteger'](_0x4d491c['sessionType'])?'sessionType:\x20integer\x20expected':null);},SessionsConnectMessage['fromObject']=function(object,_0x433ec1){if(object instanceof $root['SessionsConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.SessionsConnectMessage:\x20object\x20expected');if(void 0x0===_0x433ec1&&(_0x433ec1=0x0),_0x433ec1>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x37a33e=new $root['SessionsConnectMessage']();return null!=object['id']&&(_0x37a33e['id']=String(object['id'])),null!=object['sessionType']&&(_0x37a33e['sessionType']=object['sessionType']>>>0x0),_0x37a33e;},SessionsConnectMessage['toObject']=function(_0x3aef77,options,_0x3e5433){if(options||(options={}),void 0x0===_0x3e5433&&(_0x3e5433=0x0),_0x3e5433>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['sessionType']=0x0),null!=_0x3aef77['id']&&Object['hasOwnProperty']['call'](_0x3aef77,'id')&&(object['id']=_0x3aef77['id']),null!=_0x3aef77['sessionType']&&Object['hasOwnProperty']['call'](_0x3aef77,'sessionType')&&(object['sessionType']=_0x3aef77['sessionType']),object;},SessionsConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsConnectMessage';},SessionsConnectMessage;}()),$root['SessionsSocketDescriptor']=(function(){function SessionsSocketDescriptor(properties){if(this['permissions']=[],properties){for(var _0x21b00d=Object['keys'](properties),_0x18e5e3=0x0;_0x18e5e3<_0x21b00d['length'];++_0x18e5e3)null!=properties[_0x21b00d[_0x18e5e3]]&&'__proto__'!==_0x21b00d[_0x18e5e3]&&(this[_0x21b00d[_0x18e5e3]]=properties[_0x21b00d[_0x18e5e3]]);}}return SessionsSocketDescriptor['prototype']['session']='',SessionsSocketDescriptor['prototype']['user']='',SessionsSocketDescriptor['prototype']['role']='',SessionsSocketDescriptor['prototype']['permissions']=$util['emptyArray'],SessionsSocketDescriptor['create']=function(properties){return new SessionsSocketDescriptor(properties);},SessionsSocketDescriptor['encode']=function(_0x595212,writer,_0x2db002){if(writer||(writer=$Writer['create']()),void 0x0===_0x2db002&&(_0x2db002=0x0),_0x2db002>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x595212['session']&&Object['hasOwnProperty']['call'](_0x595212,'session')&&writer['uint32'](0xa)['string'](_0x595212['session']),null!=_0x595212['user']&&Object['hasOwnProperty']['call'](_0x595212,'user')&&writer['uint32'](0x12)['string'](_0x595212['user']),null!=_0x595212['role']&&Object['hasOwnProperty']['call'](_0x595212,'role')&&writer['uint32'](0x1a)['string'](_0x595212['role']),null!=_0x595212['permissions']&&_0x595212['permissions']['length']){for(var _0xfc6f3e=0x0;_0xfc6f3e<_0x595212['permissions']['length'];++_0xfc6f3e)writer['uint32'](0x22)['string'](_0x595212['permissions'][_0xfc6f3e]);}return writer;},SessionsSocketDescriptor['encodeDelimited']=function(_0x17ce2b,writer){return this['encode'](_0x17ce2b,writer)['ldelim']();},SessionsSocketDescriptor['decode']=function(_0x4edd01,length,_0x3cc527,_0x3215dd){if(_0x4edd01 instanceof _0x470ccf||(_0x4edd01=_0x470ccf['create'](_0x4edd01)),void 0x0===_0x3215dd&&(_0x3215dd=0x0),_0x3215dd>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x585cb5=void 0x0===length?_0x4edd01['len']:_0x4edd01['pos']+length,_0x27e83b=new $root['SessionsSocketDescriptor']();_0x4edd01['pos']<_0x585cb5;){var tag=_0x4edd01['uint32']();if(tag===_0x3cc527)break;switch(tag>>>0x3){case 0x1:_0x27e83b['session']=_0x4edd01['string']();break;case 0x2:_0x27e83b['user']=_0x4edd01['string']();break;case 0x3:_0x27e83b['role']=_0x4edd01['string']();break;case 0x4:_0x27e83b['permissions']&&_0x27e83b['permissions']['length']||(_0x27e83b['permissions']=[]),_0x27e83b['permissions']['push'](_0x4edd01['string']());break;default:_0x4edd01['skipType'](0x7&tag,_0x3215dd);}}return _0x27e83b;},SessionsSocketDescriptor['decodeDelimited']=function(_0x4c3b83){return _0x4c3b83 instanceof _0x470ccf||(_0x4c3b83=new _0x470ccf(_0x4c3b83)),this['decode'](_0x4c3b83,_0x4c3b83['uint32']());},SessionsSocketDescriptor['verify']=function(_0x164625,_0x59dd2e){if('object'!=typeof _0x164625||null===_0x164625)return'object\x20expected';if(void 0x0===_0x59dd2e&&(_0x59dd2e=0x0),_0x59dd2e>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x164625['session']&&Object['hasOwnProperty']['call'](_0x164625,'session')&&!$util['isString'](_0x164625['session']))return'session:\x20string\x20expected';if(null!=_0x164625['user']&&Object['hasOwnProperty']['call'](_0x164625,'user')&&!$util['isString'](_0x164625['user']))return'user:\x20string\x20expected';if(null!=_0x164625['role']&&Object['hasOwnProperty']['call'](_0x164625,'role')&&!$util['isString'](_0x164625['role']))return'role:\x20string\x20expected';if(null!=_0x164625['permissions']&&Object['hasOwnProperty']['call'](_0x164625,'permissions')){if(!Array['isArray'](_0x164625['permissions']))return'permissions:\x20array\x20expected';for(var _0x40f8bb=0x0;_0x40f8bb<_0x164625['permissions']['length'];++_0x40f8bb)if(!$util['isString'](_0x164625['permissions'][_0x40f8bb]))return'permissions:\x20string[]\x20expected';}return null;},SessionsSocketDescriptor['fromObject']=function(object,_0x5d18e7){if(object instanceof $root['SessionsSocketDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.SessionsSocketDescriptor:\x20object\x20expected');if(void 0x0===_0x5d18e7&&(_0x5d18e7=0x0),_0x5d18e7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x14f0d5=new $root['SessionsSocketDescriptor']();if(null!=object['session']&&(_0x14f0d5['session']=String(object['session'])),null!=object['user']&&(_0x14f0d5['user']=String(object['user'])),null!=object['role']&&(_0x14f0d5['role']=String(object['role'])),object['permissions']){if(!Array['isArray'](object['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x14f0d5['permissions']=[];for(var _0x31d4b1=0x0;_0x31d4b1<object['permissions']['length'];++_0x31d4b1)_0x14f0d5['permissions'][_0x31d4b1]=String(object['permissions'][_0x31d4b1]);}return _0x14f0d5;},SessionsSocketDescriptor['toObject']=function(_0xf3a58d,options,_0x2cca7c){if(options||(options={}),void 0x0===_0x2cca7c&&(_0x2cca7c=0x0),_0x2cca7c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['permissions']=[]),options['defaults']&&(object['session']='',object['user']='',object['role']=''),null!=_0xf3a58d['session']&&Object['hasOwnProperty']['call'](_0xf3a58d,'session')&&(object['session']=_0xf3a58d['session']),null!=_0xf3a58d['user']&&Object['hasOwnProperty']['call'](_0xf3a58d,'user')&&(object['user']=_0xf3a58d['user']),null!=_0xf3a58d['role']&&Object['hasOwnProperty']['call'](_0xf3a58d,'role')&&(object['role']=_0xf3a58d['role']),_0xf3a58d['permissions']&&_0xf3a58d['permissions']['length']){object['permissions']=[];for(var _0x5f3cbc=0x0;_0x5f3cbc<_0xf3a58d['permissions']['length'];++_0x5f3cbc)object['permissions'][_0x5f3cbc]=_0xf3a58d['permissions'][_0x5f3cbc];}return object;},SessionsSocketDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},SessionsSocketDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/SessionsSocketDescriptor';},SessionsSocketDescriptor;}()),$root['RevisionHistoryUpdateRevisionsResponse']=(function(){function RevisionHistoryUpdateRevisionsResponse(properties){if(properties){for(var _0x364fa3=Object['keys'](properties),_0x45915f=0x0;_0x45915f<_0x364fa3['length'];++_0x45915f)null!=properties[_0x364fa3[_0x45915f]]&&'__proto__'!==_0x364fa3[_0x45915f]&&(this[_0x364fa3[_0x45915f]]=properties[_0x364fa3[_0x45915f]]);}}return RevisionHistoryUpdateRevisionsResponse['prototype']['requestId']=0x0,RevisionHistoryUpdateRevisionsResponse['create']=function(properties){return new RevisionHistoryUpdateRevisionsResponse(properties);},RevisionHistoryUpdateRevisionsResponse['encode']=function(_0x31a82d,writer,_0x56ff79){if(writer||(writer=$Writer['create']()),void 0x0===_0x56ff79&&(_0x56ff79=0x0),_0x56ff79>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x31a82d['requestId']&&Object['hasOwnProperty']['call'](_0x31a82d,'requestId')&&writer['uint32'](0x8)['uint32'](_0x31a82d['requestId']),writer;},RevisionHistoryUpdateRevisionsResponse['encodeDelimited']=function(_0x1cce24,writer){return this['encode'](_0x1cce24,writer)['ldelim']();},RevisionHistoryUpdateRevisionsResponse['decode']=function(_0x163eda,length,_0x42122c,_0x280fb4){if(_0x163eda instanceof _0x470ccf||(_0x163eda=_0x470ccf['create'](_0x163eda)),void 0x0===_0x280fb4&&(_0x280fb4=0x0),_0x280fb4>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ba91a=void 0x0===length?_0x163eda['len']:_0x163eda['pos']+length,_0x32e25a=new $root['RevisionHistoryUpdateRevisionsResponse']();_0x163eda['pos']<_0x4ba91a;){var tag=_0x163eda['uint32']();if(tag===_0x42122c)break;if(tag>>>0x3==0x1)_0x32e25a['requestId']=_0x163eda['uint32']();else _0x163eda['skipType'](0x7&tag,_0x280fb4);}return _0x32e25a;},RevisionHistoryUpdateRevisionsResponse['decodeDelimited']=function(_0x4d6526){return _0x4d6526 instanceof _0x470ccf||(_0x4d6526=new _0x470ccf(_0x4d6526)),this['decode'](_0x4d6526,_0x4d6526['uint32']());},RevisionHistoryUpdateRevisionsResponse['verify']=function(_0x3e1c96,_0x1650d3){return'object'!=typeof _0x3e1c96||null===_0x3e1c96?'object\x20expected':(void 0x0===_0x1650d3&&(_0x1650d3=0x0),_0x1650d3>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3e1c96['requestId']&&Object['hasOwnProperty']['call'](_0x3e1c96,'requestId')&&!$util['isInteger'](_0x3e1c96['requestId'])?'requestId:\x20integer\x20expected':null);},RevisionHistoryUpdateRevisionsResponse['fromObject']=function(object,_0x74e275){if(object instanceof $root['RevisionHistoryUpdateRevisionsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryUpdateRevisionsResponse:\x20object\x20expected');if(void 0x0===_0x74e275&&(_0x74e275=0x0),_0x74e275>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xc050ad=new $root['RevisionHistoryUpdateRevisionsResponse']();return null!=object['requestId']&&(_0xc050ad['requestId']=object['requestId']>>>0x0),_0xc050ad;},RevisionHistoryUpdateRevisionsResponse['toObject']=function(_0x3d7a45,options,_0x5020ec){if(options||(options={}),void 0x0===_0x5020ec&&(_0x5020ec=0x0),_0x5020ec>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['requestId']=0x0),null!=_0x3d7a45['requestId']&&Object['hasOwnProperty']['call'](_0x3d7a45,'requestId')&&(object['requestId']=_0x3d7a45['requestId']),object;},RevisionHistoryUpdateRevisionsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryUpdateRevisionsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryUpdateRevisionsResponse';},RevisionHistoryUpdateRevisionsResponse;}()),$root['RevisionHistoryGetRevisionResponse']=(function(){function RevisionHistoryGetRevisionResponse(properties){if(properties){for(var _0x432ebc=Object['keys'](properties),_0x1ef416=0x0;_0x1ef416<_0x432ebc['length'];++_0x1ef416)null!=properties[_0x432ebc[_0x1ef416]]&&'__proto__'!==_0x432ebc[_0x1ef416]&&(this[_0x432ebc[_0x1ef416]]=properties[_0x432ebc[_0x1ef416]]);}}return RevisionHistoryGetRevisionResponse['prototype']['revisionId']='',RevisionHistoryGetRevisionResponse['prototype']['name']='',RevisionHistoryGetRevisionResponse['prototype']['creatorId']='',RevisionHistoryGetRevisionResponse['prototype']['authorsIds']='',RevisionHistoryGetRevisionResponse['prototype']['diffData']='',RevisionHistoryGetRevisionResponse['prototype']['createdAt']='',RevisionHistoryGetRevisionResponse['prototype']['attributes']='',RevisionHistoryGetRevisionResponse['prototype']['toVersion']=0x0,RevisionHistoryGetRevisionResponse['prototype']['fromVersion']=0x0,RevisionHistoryGetRevisionResponse['prototype']['isEmptyCurrent']=!0x1,RevisionHistoryGetRevisionResponse['create']=function(properties){return new RevisionHistoryGetRevisionResponse(properties);},RevisionHistoryGetRevisionResponse['encode']=function(_0x5235f5,writer,_0x1ec7e6){if(writer||(writer=$Writer['create']()),void 0x0===_0x1ec7e6&&(_0x1ec7e6=0x0),_0x1ec7e6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5235f5['revisionId']&&Object['hasOwnProperty']['call'](_0x5235f5,'revisionId')&&writer['uint32'](0xa)['string'](_0x5235f5['revisionId']),null!=_0x5235f5['name']&&Object['hasOwnProperty']['call'](_0x5235f5,'name')&&writer['uint32'](0x12)['string'](_0x5235f5['name']),null!=_0x5235f5['creatorId']&&Object['hasOwnProperty']['call'](_0x5235f5,'creatorId')&&writer['uint32'](0x1a)['string'](_0x5235f5['creatorId']),null!=_0x5235f5['authorsIds']&&Object['hasOwnProperty']['call'](_0x5235f5,'authorsIds')&&writer['uint32'](0x22)['string'](_0x5235f5['authorsIds']),null!=_0x5235f5['diffData']&&Object['hasOwnProperty']['call'](_0x5235f5,'diffData')&&writer['uint32'](0x2a)['string'](_0x5235f5['diffData']),null!=_0x5235f5['createdAt']&&Object['hasOwnProperty']['call'](_0x5235f5,'createdAt')&&writer['uint32'](0x32)['string'](_0x5235f5['createdAt']),null!=_0x5235f5['attributes']&&Object['hasOwnProperty']['call'](_0x5235f5,'attributes')&&writer['uint32'](0x3a)['string'](_0x5235f5['attributes']),null!=_0x5235f5['toVersion']&&Object['hasOwnProperty']['call'](_0x5235f5,'toVersion')&&writer['uint32'](0x40)['uint32'](_0x5235f5['toVersion']),null!=_0x5235f5['fromVersion']&&Object['hasOwnProperty']['call'](_0x5235f5,'fromVersion')&&writer['uint32'](0x48)['uint32'](_0x5235f5['fromVersion']),null!=_0x5235f5['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x5235f5,'isEmptyCurrent')&&writer['uint32'](0x50)['bool'](_0x5235f5['isEmptyCurrent']),writer;},RevisionHistoryGetRevisionResponse['encodeDelimited']=function(_0x329012,writer){return this['encode'](_0x329012,writer)['ldelim']();},RevisionHistoryGetRevisionResponse['decode']=function(_0x3ab7ec,length,_0x5cd4e5,_0x935e6a){if(_0x3ab7ec instanceof _0x470ccf||(_0x3ab7ec=_0x470ccf['create'](_0x3ab7ec)),void 0x0===_0x935e6a&&(_0x935e6a=0x0),_0x935e6a>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x511022=void 0x0===length?_0x3ab7ec['len']:_0x3ab7ec['pos']+length,_0xa6ddf3=new $root['RevisionHistoryGetRevisionResponse']();_0x3ab7ec['pos']<_0x511022;){var tag=_0x3ab7ec['uint32']();if(tag===_0x5cd4e5)break;switch(tag>>>0x3){case 0x1:_0xa6ddf3['revisionId']=_0x3ab7ec['string']();break;case 0x2:_0xa6ddf3['name']=_0x3ab7ec['string']();break;case 0x3:_0xa6ddf3['creatorId']=_0x3ab7ec['string']();break;case 0x4:_0xa6ddf3['authorsIds']=_0x3ab7ec['string']();break;case 0x5:_0xa6ddf3['diffData']=_0x3ab7ec['string']();break;case 0x6:_0xa6ddf3['createdAt']=_0x3ab7ec['string']();break;case 0x7:_0xa6ddf3['attributes']=_0x3ab7ec['string']();break;case 0x8:_0xa6ddf3['toVersion']=_0x3ab7ec['uint32']();break;case 0x9:_0xa6ddf3['fromVersion']=_0x3ab7ec['uint32']();break;case 0xa:_0xa6ddf3['isEmptyCurrent']=_0x3ab7ec['bool']();break;default:_0x3ab7ec['skipType'](0x7&tag,_0x935e6a);}}return _0xa6ddf3;},RevisionHistoryGetRevisionResponse['decodeDelimited']=function(_0x5064f2){return _0x5064f2 instanceof _0x470ccf||(_0x5064f2=new _0x470ccf(_0x5064f2)),this['decode'](_0x5064f2,_0x5064f2['uint32']());},RevisionHistoryGetRevisionResponse['verify']=function(_0xef91f,_0xf26695){return'object'!=typeof _0xef91f||null===_0xef91f?'object\x20expected':(void 0x0===_0xf26695&&(_0xf26695=0x0),_0xf26695>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xef91f['revisionId']&&Object['hasOwnProperty']['call'](_0xef91f,'revisionId')&&!$util['isString'](_0xef91f['revisionId'])?'revisionId:\x20string\x20expected':null!=_0xef91f['name']&&Object['hasOwnProperty']['call'](_0xef91f,'name')&&!$util['isString'](_0xef91f['name'])?'name:\x20string\x20expected':null!=_0xef91f['creatorId']&&Object['hasOwnProperty']['call'](_0xef91f,'creatorId')&&!$util['isString'](_0xef91f['creatorId'])?'creatorId:\x20string\x20expected':null!=_0xef91f['authorsIds']&&Object['hasOwnProperty']['call'](_0xef91f,'authorsIds')&&!$util['isString'](_0xef91f['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0xef91f['diffData']&&Object['hasOwnProperty']['call'](_0xef91f,'diffData')&&!$util['isString'](_0xef91f['diffData'])?'diffData:\x20string\x20expected':null!=_0xef91f['createdAt']&&Object['hasOwnProperty']['call'](_0xef91f,'createdAt')&&!$util['isString'](_0xef91f['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xef91f['attributes']&&Object['hasOwnProperty']['call'](_0xef91f,'attributes')&&!$util['isString'](_0xef91f['attributes'])?'attributes:\x20string\x20expected':null!=_0xef91f['toVersion']&&Object['hasOwnProperty']['call'](_0xef91f,'toVersion')&&!$util['isInteger'](_0xef91f['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0xef91f['fromVersion']&&Object['hasOwnProperty']['call'](_0xef91f,'fromVersion')&&!$util['isInteger'](_0xef91f['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0xef91f['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0xef91f,'isEmptyCurrent')&&'boolean'!=typeof _0xef91f['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},RevisionHistoryGetRevisionResponse['fromObject']=function(object,_0x20f926){if(object instanceof $root['RevisionHistoryGetRevisionResponse'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryGetRevisionResponse:\x20object\x20expected');if(void 0x0===_0x20f926&&(_0x20f926=0x0),_0x20f926>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x32426a=new $root['RevisionHistoryGetRevisionResponse']();return null!=object['revisionId']&&(_0x32426a['revisionId']=String(object['revisionId'])),null!=object['name']&&(_0x32426a['name']=String(object['name'])),null!=object['creatorId']&&(_0x32426a['creatorId']=String(object['creatorId'])),null!=object['authorsIds']&&(_0x32426a['authorsIds']=String(object['authorsIds'])),null!=object['diffData']&&(_0x32426a['diffData']=String(object['diffData'])),null!=object['createdAt']&&(_0x32426a['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x32426a['attributes']=String(object['attributes'])),null!=object['toVersion']&&(_0x32426a['toVersion']=object['toVersion']>>>0x0),null!=object['fromVersion']&&(_0x32426a['fromVersion']=object['fromVersion']>>>0x0),null!=object['isEmptyCurrent']&&(_0x32426a['isEmptyCurrent']=Boolean(object['isEmptyCurrent'])),_0x32426a;},RevisionHistoryGetRevisionResponse['toObject']=function(_0x2687b7,options,_0x561307){if(options||(options={}),void 0x0===_0x561307&&(_0x561307=0x0),_0x561307>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['revisionId']='',object['name']='',object['creatorId']='',object['authorsIds']='',object['diffData']='',object['createdAt']='',object['attributes']='',object['toVersion']=0x0,object['fromVersion']=0x0,object['isEmptyCurrent']=!0x1),null!=_0x2687b7['revisionId']&&Object['hasOwnProperty']['call'](_0x2687b7,'revisionId')&&(object['revisionId']=_0x2687b7['revisionId']),null!=_0x2687b7['name']&&Object['hasOwnProperty']['call'](_0x2687b7,'name')&&(object['name']=_0x2687b7['name']),null!=_0x2687b7['creatorId']&&Object['hasOwnProperty']['call'](_0x2687b7,'creatorId')&&(object['creatorId']=_0x2687b7['creatorId']),null!=_0x2687b7['authorsIds']&&Object['hasOwnProperty']['call'](_0x2687b7,'authorsIds')&&(object['authorsIds']=_0x2687b7['authorsIds']),null!=_0x2687b7['diffData']&&Object['hasOwnProperty']['call'](_0x2687b7,'diffData')&&(object['diffData']=_0x2687b7['diffData']),null!=_0x2687b7['createdAt']&&Object['hasOwnProperty']['call'](_0x2687b7,'createdAt')&&(object['createdAt']=_0x2687b7['createdAt']),null!=_0x2687b7['attributes']&&Object['hasOwnProperty']['call'](_0x2687b7,'attributes')&&(object['attributes']=_0x2687b7['attributes']),null!=_0x2687b7['toVersion']&&Object['hasOwnProperty']['call'](_0x2687b7,'toVersion')&&(object['toVersion']=_0x2687b7['toVersion']),null!=_0x2687b7['fromVersion']&&Object['hasOwnProperty']['call'](_0x2687b7,'fromVersion')&&(object['fromVersion']=_0x2687b7['fromVersion']),null!=_0x2687b7['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x2687b7,'isEmptyCurrent')&&(object['isEmptyCurrent']=_0x2687b7['isEmptyCurrent']),object;},RevisionHistoryGetRevisionResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryGetRevisionResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryGetRevisionResponse';},RevisionHistoryGetRevisionResponse;}()),$root['RevisionHistoryConnectResponse']=(function(){function RevisionHistoryConnectResponse(properties){if(this['revisions']=[],properties){for(var _0x24a64e=Object['keys'](properties),_0x28a4a5=0x0;_0x28a4a5<_0x24a64e['length'];++_0x28a4a5)null!=properties[_0x24a64e[_0x28a4a5]]&&'__proto__'!==_0x24a64e[_0x28a4a5]&&(this[_0x24a64e[_0x28a4a5]]=properties[_0x24a64e[_0x28a4a5]]);}}return RevisionHistoryConnectResponse['prototype']['channel']='',RevisionHistoryConnectResponse['prototype']['requestId']=0x0,RevisionHistoryConnectResponse['prototype']['revisions']=$util['emptyArray'],RevisionHistoryConnectResponse['create']=function(properties){return new RevisionHistoryConnectResponse(properties);},RevisionHistoryConnectResponse['encode']=function(_0x1b8bbc,writer,_0x1ba1c5){if(writer||(writer=$Writer['create']()),void 0x0===_0x1ba1c5&&(_0x1ba1c5=0x0),_0x1ba1c5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1b8bbc['channel']&&Object['hasOwnProperty']['call'](_0x1b8bbc,'channel')&&writer['uint32'](0xa)['string'](_0x1b8bbc['channel']),null!=_0x1b8bbc['requestId']&&Object['hasOwnProperty']['call'](_0x1b8bbc,'requestId')&&writer['uint32'](0x10)['uint32'](_0x1b8bbc['requestId']),null!=_0x1b8bbc['revisions']&&_0x1b8bbc['revisions']['length']){for(var _0x336dc8=0x0;_0x336dc8<_0x1b8bbc['revisions']['length'];++_0x336dc8)$root['RevisionDescriptor']['encode'](_0x1b8bbc['revisions'][_0x336dc8],writer['uint32'](0x1a)['fork'](),_0x1ba1c5+0x1)['ldelim']();}return writer;},RevisionHistoryConnectResponse['encodeDelimited']=function(_0x7a6698,writer){return this['encode'](_0x7a6698,writer)['ldelim']();},RevisionHistoryConnectResponse['decode']=function(_0xa46d78,length,_0x11475b,_0x41706d){if(_0xa46d78 instanceof _0x470ccf||(_0xa46d78=_0x470ccf['create'](_0xa46d78)),void 0x0===_0x41706d&&(_0x41706d=0x0),_0x41706d>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5e0c26=void 0x0===length?_0xa46d78['len']:_0xa46d78['pos']+length,_0x2814ba=new $root['RevisionHistoryConnectResponse']();_0xa46d78['pos']<_0x5e0c26;){var tag=_0xa46d78['uint32']();if(tag===_0x11475b)break;switch(tag>>>0x3){case 0x1:_0x2814ba['channel']=_0xa46d78['string']();break;case 0x2:_0x2814ba['requestId']=_0xa46d78['uint32']();break;case 0x3:_0x2814ba['revisions']&&_0x2814ba['revisions']['length']||(_0x2814ba['revisions']=[]),_0x2814ba['revisions']['push']($root['RevisionDescriptor']['decode'](_0xa46d78,_0xa46d78['uint32'](),void 0x0,_0x41706d+0x1));break;default:_0xa46d78['skipType'](0x7&tag,_0x41706d);}}return _0x2814ba;},RevisionHistoryConnectResponse['decodeDelimited']=function(_0x3158a2){return _0x3158a2 instanceof _0x470ccf||(_0x3158a2=new _0x470ccf(_0x3158a2)),this['decode'](_0x3158a2,_0x3158a2['uint32']());},RevisionHistoryConnectResponse['verify']=function(_0x3438cb,_0x1297dd){if('object'!=typeof _0x3438cb||null===_0x3438cb)return'object\x20expected';if(void 0x0===_0x1297dd&&(_0x1297dd=0x0),_0x1297dd>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3438cb['channel']&&Object['hasOwnProperty']['call'](_0x3438cb,'channel')&&!$util['isString'](_0x3438cb['channel']))return'channel:\x20string\x20expected';if(null!=_0x3438cb['requestId']&&Object['hasOwnProperty']['call'](_0x3438cb,'requestId')&&!$util['isInteger'](_0x3438cb['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x3438cb['revisions']&&Object['hasOwnProperty']['call'](_0x3438cb,'revisions')){if(!Array['isArray'](_0x3438cb['revisions']))return'revisions:\x20array\x20expected';for(var _0x4d1727=0x0;_0x4d1727<_0x3438cb['revisions']['length'];++_0x4d1727){var _0x324cb1=$root['RevisionDescriptor']['verify'](_0x3438cb['revisions'][_0x4d1727],_0x1297dd+0x1);if(_0x324cb1)return'revisions.'+_0x324cb1;}}return null;},RevisionHistoryConnectResponse['fromObject']=function(object,_0x4bf2d7){if(object instanceof $root['RevisionHistoryConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryConnectResponse:\x20object\x20expected');if(void 0x0===_0x4bf2d7&&(_0x4bf2d7=0x0),_0x4bf2d7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ca560=new $root['RevisionHistoryConnectResponse']();if(null!=object['channel']&&(_0x2ca560['channel']=String(object['channel'])),null!=object['requestId']&&(_0x2ca560['requestId']=object['requestId']>>>0x0),object['revisions']){if(!Array['isArray'](object['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x2ca560['revisions']=[];for(var _0x5efb43=0x0;_0x5efb43<object['revisions']['length'];++_0x5efb43){if(!$util['isObject'](object['revisions'][_0x5efb43]))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x2ca560['revisions'][_0x5efb43]=$root['RevisionDescriptor']['fromObject'](object['revisions'][_0x5efb43],_0x4bf2d7+0x1);}}return _0x2ca560;},RevisionHistoryConnectResponse['toObject']=function(_0x37a557,options,_0x22710c){if(options||(options={}),void 0x0===_0x22710c&&(_0x22710c=0x0),_0x22710c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['revisions']=[]),options['defaults']&&(object['channel']='',object['requestId']=0x0),null!=_0x37a557['channel']&&Object['hasOwnProperty']['call'](_0x37a557,'channel')&&(object['channel']=_0x37a557['channel']),null!=_0x37a557['requestId']&&Object['hasOwnProperty']['call'](_0x37a557,'requestId')&&(object['requestId']=_0x37a557['requestId']),_0x37a557['revisions']&&_0x37a557['revisions']['length']){object['revisions']=[];for(var _0x198a7f=0x0;_0x198a7f<_0x37a557['revisions']['length'];++_0x198a7f)object['revisions'][_0x198a7f]=$root['RevisionDescriptor']['toObject'](_0x37a557['revisions'][_0x198a7f],options,_0x22710c+0x1);}return object;},RevisionHistoryConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryConnectResponse';},RevisionHistoryConnectResponse;}()),$root['RevisionHistoryUpdateRevisionsMessage']=(function(){function RevisionHistoryUpdateRevisionsMessage(properties){if(this['revisions']=[],properties){for(var _0x10a47c=Object['keys'](properties),_0x5bc434=0x0;_0x5bc434<_0x10a47c['length'];++_0x5bc434)null!=properties[_0x10a47c[_0x5bc434]]&&'__proto__'!==_0x10a47c[_0x5bc434]&&(this[_0x10a47c[_0x5bc434]]=properties[_0x10a47c[_0x5bc434]]);}}return RevisionHistoryUpdateRevisionsMessage['prototype']['documentId']='',RevisionHistoryUpdateRevisionsMessage['prototype']['requestId']=0x0,RevisionHistoryUpdateRevisionsMessage['prototype']['revisions']=$util['emptyArray'],RevisionHistoryUpdateRevisionsMessage['create']=function(properties){return new RevisionHistoryUpdateRevisionsMessage(properties);},RevisionHistoryUpdateRevisionsMessage['encode']=function(_0x11d0d2,writer,_0x1d7dd1){if(writer||(writer=$Writer['create']()),void 0x0===_0x1d7dd1&&(_0x1d7dd1=0x0),_0x1d7dd1>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x11d0d2['documentId']&&Object['hasOwnProperty']['call'](_0x11d0d2,'documentId')&&writer['uint32'](0xa)['string'](_0x11d0d2['documentId']),null!=_0x11d0d2['requestId']&&Object['hasOwnProperty']['call'](_0x11d0d2,'requestId')&&writer['uint32'](0x10)['uint32'](_0x11d0d2['requestId']),null!=_0x11d0d2['revisions']&&_0x11d0d2['revisions']['length']){for(var _0x33d75c=0x0;_0x33d75c<_0x11d0d2['revisions']['length'];++_0x33d75c)$root['RevisionDescriptor']['encode'](_0x11d0d2['revisions'][_0x33d75c],writer['uint32'](0x1a)['fork'](),_0x1d7dd1+0x1)['ldelim']();}return writer;},RevisionHistoryUpdateRevisionsMessage['encodeDelimited']=function(_0x33cf5e,writer){return this['encode'](_0x33cf5e,writer)['ldelim']();},RevisionHistoryUpdateRevisionsMessage['decode']=function(_0x41b8b7,length,_0x22b449,_0x3789db){if(_0x41b8b7 instanceof _0x470ccf||(_0x41b8b7=_0x470ccf['create'](_0x41b8b7)),void 0x0===_0x3789db&&(_0x3789db=0x0),_0x3789db>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4a5d45=void 0x0===length?_0x41b8b7['len']:_0x41b8b7['pos']+length,_0x50c712=new $root['RevisionHistoryUpdateRevisionsMessage']();_0x41b8b7['pos']<_0x4a5d45;){var tag=_0x41b8b7['uint32']();if(tag===_0x22b449)break;switch(tag>>>0x3){case 0x1:_0x50c712['documentId']=_0x41b8b7['string']();break;case 0x2:_0x50c712['requestId']=_0x41b8b7['uint32']();break;case 0x3:_0x50c712['revisions']&&_0x50c712['revisions']['length']||(_0x50c712['revisions']=[]),_0x50c712['revisions']['push']($root['RevisionDescriptor']['decode'](_0x41b8b7,_0x41b8b7['uint32'](),void 0x0,_0x3789db+0x1));break;default:_0x41b8b7['skipType'](0x7&tag,_0x3789db);}}return _0x50c712;},RevisionHistoryUpdateRevisionsMessage['decodeDelimited']=function(_0x5786aa){return _0x5786aa instanceof _0x470ccf||(_0x5786aa=new _0x470ccf(_0x5786aa)),this['decode'](_0x5786aa,_0x5786aa['uint32']());},RevisionHistoryUpdateRevisionsMessage['verify']=function(_0x5dcf74,_0x2e3f0e){if('object'!=typeof _0x5dcf74||null===_0x5dcf74)return'object\x20expected';if(void 0x0===_0x2e3f0e&&(_0x2e3f0e=0x0),_0x2e3f0e>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5dcf74['documentId']&&Object['hasOwnProperty']['call'](_0x5dcf74,'documentId')&&!$util['isString'](_0x5dcf74['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x5dcf74['requestId']&&Object['hasOwnProperty']['call'](_0x5dcf74,'requestId')&&!$util['isInteger'](_0x5dcf74['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x5dcf74['revisions']&&Object['hasOwnProperty']['call'](_0x5dcf74,'revisions')){if(!Array['isArray'](_0x5dcf74['revisions']))return'revisions:\x20array\x20expected';for(var _0x1aba0d=0x0;_0x1aba0d<_0x5dcf74['revisions']['length'];++_0x1aba0d){var _0x3567ad=$root['RevisionDescriptor']['verify'](_0x5dcf74['revisions'][_0x1aba0d],_0x2e3f0e+0x1);if(_0x3567ad)return'revisions.'+_0x3567ad;}}return null;},RevisionHistoryUpdateRevisionsMessage['fromObject']=function(object,_0x22fc5c){if(object instanceof $root['RevisionHistoryUpdateRevisionsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryUpdateRevisionsMessage:\x20object\x20expected');if(void 0x0===_0x22fc5c&&(_0x22fc5c=0x0),_0x22fc5c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5de7e7=new $root['RevisionHistoryUpdateRevisionsMessage']();if(null!=object['documentId']&&(_0x5de7e7['documentId']=String(object['documentId'])),null!=object['requestId']&&(_0x5de7e7['requestId']=object['requestId']>>>0x0),object['revisions']){if(!Array['isArray'](object['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x5de7e7['revisions']=[];for(var _0x103666=0x0;_0x103666<object['revisions']['length'];++_0x103666){if(!$util['isObject'](object['revisions'][_0x103666]))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x5de7e7['revisions'][_0x103666]=$root['RevisionDescriptor']['fromObject'](object['revisions'][_0x103666],_0x22fc5c+0x1);}}return _0x5de7e7;},RevisionHistoryUpdateRevisionsMessage['toObject']=function(_0x1c2830,options,_0x5eabf1){if(options||(options={}),void 0x0===_0x5eabf1&&(_0x5eabf1=0x0),_0x5eabf1>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['revisions']=[]),options['defaults']&&(object['documentId']='',object['requestId']=0x0),null!=_0x1c2830['documentId']&&Object['hasOwnProperty']['call'](_0x1c2830,'documentId')&&(object['documentId']=_0x1c2830['documentId']),null!=_0x1c2830['requestId']&&Object['hasOwnProperty']['call'](_0x1c2830,'requestId')&&(object['requestId']=_0x1c2830['requestId']),_0x1c2830['revisions']&&_0x1c2830['revisions']['length']){object['revisions']=[];for(var _0x501793=0x0;_0x501793<_0x1c2830['revisions']['length'];++_0x501793)object['revisions'][_0x501793]=$root['RevisionDescriptor']['toObject'](_0x1c2830['revisions'][_0x501793],options,_0x5eabf1+0x1);}return object;},RevisionHistoryUpdateRevisionsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryUpdateRevisionsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryUpdateRevisionsMessage';},RevisionHistoryUpdateRevisionsMessage;}()),$root['RevisionHistoryReconnectMessage']=(function(){function RevisionHistoryReconnectMessage(properties){if(properties){for(var _0x1241a4=Object['keys'](properties),_0x3d9cde=0x0;_0x3d9cde<_0x1241a4['length'];++_0x3d9cde)null!=properties[_0x1241a4[_0x3d9cde]]&&'__proto__'!==_0x1241a4[_0x3d9cde]&&(this[_0x1241a4[_0x3d9cde]]=properties[_0x1241a4[_0x3d9cde]]);}}return RevisionHistoryReconnectMessage['prototype']['documentId']='',RevisionHistoryReconnectMessage['prototype']['requestId']=0x0,RevisionHistoryReconnectMessage['create']=function(properties){return new RevisionHistoryReconnectMessage(properties);},RevisionHistoryReconnectMessage['encode']=function(_0x14f71a,writer,_0x19c3eb){if(writer||(writer=$Writer['create']()),void 0x0===_0x19c3eb&&(_0x19c3eb=0x0),_0x19c3eb>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x14f71a['documentId']&&Object['hasOwnProperty']['call'](_0x14f71a,'documentId')&&writer['uint32'](0xa)['string'](_0x14f71a['documentId']),null!=_0x14f71a['requestId']&&Object['hasOwnProperty']['call'](_0x14f71a,'requestId')&&writer['uint32'](0x10)['uint32'](_0x14f71a['requestId']),writer;},RevisionHistoryReconnectMessage['encodeDelimited']=function(_0x2de14c,writer){return this['encode'](_0x2de14c,writer)['ldelim']();},RevisionHistoryReconnectMessage['decode']=function(_0x33c6ac,length,_0x11ecca,_0x5ac15f){if(_0x33c6ac instanceof _0x470ccf||(_0x33c6ac=_0x470ccf['create'](_0x33c6ac)),void 0x0===_0x5ac15f&&(_0x5ac15f=0x0),_0x5ac15f>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x30f7ec=void 0x0===length?_0x33c6ac['len']:_0x33c6ac['pos']+length,_0x3944a2=new $root['RevisionHistoryReconnectMessage']();_0x33c6ac['pos']<_0x30f7ec;){var tag=_0x33c6ac['uint32']();if(tag===_0x11ecca)break;switch(tag>>>0x3){case 0x1:_0x3944a2['documentId']=_0x33c6ac['string']();break;case 0x2:_0x3944a2['requestId']=_0x33c6ac['uint32']();break;default:_0x33c6ac['skipType'](0x7&tag,_0x5ac15f);}}return _0x3944a2;},RevisionHistoryReconnectMessage['decodeDelimited']=function(_0x352fff){return _0x352fff instanceof _0x470ccf||(_0x352fff=new _0x470ccf(_0x352fff)),this['decode'](_0x352fff,_0x352fff['uint32']());},RevisionHistoryReconnectMessage['verify']=function(_0x26e28b,_0x118c0e){return'object'!=typeof _0x26e28b||null===_0x26e28b?'object\x20expected':(void 0x0===_0x118c0e&&(_0x118c0e=0x0),_0x118c0e>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x26e28b['documentId']&&Object['hasOwnProperty']['call'](_0x26e28b,'documentId')&&!$util['isString'](_0x26e28b['documentId'])?'documentId:\x20string\x20expected':null!=_0x26e28b['requestId']&&Object['hasOwnProperty']['call'](_0x26e28b,'requestId')&&!$util['isInteger'](_0x26e28b['requestId'])?'requestId:\x20integer\x20expected':null);},RevisionHistoryReconnectMessage['fromObject']=function(object,_0x497e6c){if(object instanceof $root['RevisionHistoryReconnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryReconnectMessage:\x20object\x20expected');if(void 0x0===_0x497e6c&&(_0x497e6c=0x0),_0x497e6c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5df3b5=new $root['RevisionHistoryReconnectMessage']();return null!=object['documentId']&&(_0x5df3b5['documentId']=String(object['documentId'])),null!=object['requestId']&&(_0x5df3b5['requestId']=object['requestId']>>>0x0),_0x5df3b5;},RevisionHistoryReconnectMessage['toObject']=function(_0x370cb6,options,_0x132a8b){if(options||(options={}),void 0x0===_0x132a8b&&(_0x132a8b=0x0),_0x132a8b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']='',object['requestId']=0x0),null!=_0x370cb6['documentId']&&Object['hasOwnProperty']['call'](_0x370cb6,'documentId')&&(object['documentId']=_0x370cb6['documentId']),null!=_0x370cb6['requestId']&&Object['hasOwnProperty']['call'](_0x370cb6,'requestId')&&(object['requestId']=_0x370cb6['requestId']),object;},RevisionHistoryReconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryReconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryReconnectMessage';},RevisionHistoryReconnectMessage;}()),$root['RevisionHistoryGetRevisionMessage']=(function(){function RevisionHistoryGetRevisionMessage(properties){if(properties){for(var _0x5985a4=Object['keys'](properties),_0x33e01f=0x0;_0x33e01f<_0x5985a4['length'];++_0x33e01f)null!=properties[_0x5985a4[_0x33e01f]]&&'__proto__'!==_0x5985a4[_0x33e01f]&&(this[_0x5985a4[_0x33e01f]]=properties[_0x5985a4[_0x33e01f]]);}}return RevisionHistoryGetRevisionMessage['prototype']['documentId']='',RevisionHistoryGetRevisionMessage['prototype']['revisionId']='',RevisionHistoryGetRevisionMessage['create']=function(properties){return new RevisionHistoryGetRevisionMessage(properties);},RevisionHistoryGetRevisionMessage['encode']=function(_0xd61876,writer,_0x5e2520){if(writer||(writer=$Writer['create']()),void 0x0===_0x5e2520&&(_0x5e2520=0x0),_0x5e2520>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xd61876['documentId']&&Object['hasOwnProperty']['call'](_0xd61876,'documentId')&&writer['uint32'](0xa)['string'](_0xd61876['documentId']),null!=_0xd61876['revisionId']&&Object['hasOwnProperty']['call'](_0xd61876,'revisionId')&&writer['uint32'](0x12)['string'](_0xd61876['revisionId']),writer;},RevisionHistoryGetRevisionMessage['encodeDelimited']=function(_0x26409d,writer){return this['encode'](_0x26409d,writer)['ldelim']();},RevisionHistoryGetRevisionMessage['decode']=function(_0x1dcd53,length,_0x385933,_0x5845cd){if(_0x1dcd53 instanceof _0x470ccf||(_0x1dcd53=_0x470ccf['create'](_0x1dcd53)),void 0x0===_0x5845cd&&(_0x5845cd=0x0),_0x5845cd>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1b7dc5=void 0x0===length?_0x1dcd53['len']:_0x1dcd53['pos']+length,_0x34fb07=new $root['RevisionHistoryGetRevisionMessage']();_0x1dcd53['pos']<_0x1b7dc5;){var tag=_0x1dcd53['uint32']();if(tag===_0x385933)break;switch(tag>>>0x3){case 0x1:_0x34fb07['documentId']=_0x1dcd53['string']();break;case 0x2:_0x34fb07['revisionId']=_0x1dcd53['string']();break;default:_0x1dcd53['skipType'](0x7&tag,_0x5845cd);}}return _0x34fb07;},RevisionHistoryGetRevisionMessage['decodeDelimited']=function(_0x55d658){return _0x55d658 instanceof _0x470ccf||(_0x55d658=new _0x470ccf(_0x55d658)),this['decode'](_0x55d658,_0x55d658['uint32']());},RevisionHistoryGetRevisionMessage['verify']=function(_0x3700d1,_0xe5cda5){return'object'!=typeof _0x3700d1||null===_0x3700d1?'object\x20expected':(void 0x0===_0xe5cda5&&(_0xe5cda5=0x0),_0xe5cda5>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3700d1['documentId']&&Object['hasOwnProperty']['call'](_0x3700d1,'documentId')&&!$util['isString'](_0x3700d1['documentId'])?'documentId:\x20string\x20expected':null!=_0x3700d1['revisionId']&&Object['hasOwnProperty']['call'](_0x3700d1,'revisionId')&&!$util['isString'](_0x3700d1['revisionId'])?'revisionId:\x20string\x20expected':null);},RevisionHistoryGetRevisionMessage['fromObject']=function(object,_0x58bb5f){if(object instanceof $root['RevisionHistoryGetRevisionMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryGetRevisionMessage:\x20object\x20expected');if(void 0x0===_0x58bb5f&&(_0x58bb5f=0x0),_0x58bb5f>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xb7dfa7=new $root['RevisionHistoryGetRevisionMessage']();return null!=object['documentId']&&(_0xb7dfa7['documentId']=String(object['documentId'])),null!=object['revisionId']&&(_0xb7dfa7['revisionId']=String(object['revisionId'])),_0xb7dfa7;},RevisionHistoryGetRevisionMessage['toObject']=function(_0x4e079c,options,_0x1dbf7f){if(options||(options={}),void 0x0===_0x1dbf7f&&(_0x1dbf7f=0x0),_0x1dbf7f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']='',object['revisionId']=''),null!=_0x4e079c['documentId']&&Object['hasOwnProperty']['call'](_0x4e079c,'documentId')&&(object['documentId']=_0x4e079c['documentId']),null!=_0x4e079c['revisionId']&&Object['hasOwnProperty']['call'](_0x4e079c,'revisionId')&&(object['revisionId']=_0x4e079c['revisionId']),object;},RevisionHistoryGetRevisionMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryGetRevisionMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryGetRevisionMessage';},RevisionHistoryGetRevisionMessage;}()),$root['RevisionHistoryConnectMessage']=(function(){function RevisionHistoryConnectMessage(properties){if(properties){for(var _0x19b9c3=Object['keys'](properties),_0x3b8a86=0x0;_0x3b8a86<_0x19b9c3['length'];++_0x3b8a86)null!=properties[_0x19b9c3[_0x3b8a86]]&&'__proto__'!==_0x19b9c3[_0x3b8a86]&&(this[_0x19b9c3[_0x3b8a86]]=properties[_0x19b9c3[_0x3b8a86]]);}}return RevisionHistoryConnectMessage['prototype']['documentId']='',RevisionHistoryConnectMessage['create']=function(properties){return new RevisionHistoryConnectMessage(properties);},RevisionHistoryConnectMessage['encode']=function(_0x1a6326,writer,_0xd5eb7a){if(writer||(writer=$Writer['create']()),void 0x0===_0xd5eb7a&&(_0xd5eb7a=0x0),_0xd5eb7a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1a6326['documentId']&&Object['hasOwnProperty']['call'](_0x1a6326,'documentId')&&writer['uint32'](0xa)['string'](_0x1a6326['documentId']),writer;},RevisionHistoryConnectMessage['encodeDelimited']=function(_0x97f079,writer){return this['encode'](_0x97f079,writer)['ldelim']();},RevisionHistoryConnectMessage['decode']=function(_0x36cd42,length,_0xc2a43b,_0xf8ba6e){if(_0x36cd42 instanceof _0x470ccf||(_0x36cd42=_0x470ccf['create'](_0x36cd42)),void 0x0===_0xf8ba6e&&(_0xf8ba6e=0x0),_0xf8ba6e>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x21b437=void 0x0===length?_0x36cd42['len']:_0x36cd42['pos']+length,_0x28bf2f=new $root['RevisionHistoryConnectMessage']();_0x36cd42['pos']<_0x21b437;){var tag=_0x36cd42['uint32']();if(tag===_0xc2a43b)break;if(tag>>>0x3==0x1)_0x28bf2f['documentId']=_0x36cd42['string']();else _0x36cd42['skipType'](0x7&tag,_0xf8ba6e);}return _0x28bf2f;},RevisionHistoryConnectMessage['decodeDelimited']=function(_0x33af23){return _0x33af23 instanceof _0x470ccf||(_0x33af23=new _0x470ccf(_0x33af23)),this['decode'](_0x33af23,_0x33af23['uint32']());},RevisionHistoryConnectMessage['verify']=function(_0x1b6a8f,_0x41f56b){return'object'!=typeof _0x1b6a8f||null===_0x1b6a8f?'object\x20expected':(void 0x0===_0x41f56b&&(_0x41f56b=0x0),_0x41f56b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1b6a8f['documentId']&&Object['hasOwnProperty']['call'](_0x1b6a8f,'documentId')&&!$util['isString'](_0x1b6a8f['documentId'])?'documentId:\x20string\x20expected':null);},RevisionHistoryConnectMessage['fromObject']=function(object,_0x442efd){if(object instanceof $root['RevisionHistoryConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionHistoryConnectMessage:\x20object\x20expected');if(void 0x0===_0x442efd&&(_0x442efd=0x0),_0x442efd>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd290a4=new $root['RevisionHistoryConnectMessage']();return null!=object['documentId']&&(_0xd290a4['documentId']=String(object['documentId'])),_0xd290a4;},RevisionHistoryConnectMessage['toObject']=function(_0x1ee9f6,options,_0x4fd777){if(options||(options={}),void 0x0===_0x4fd777&&(_0x4fd777=0x0),_0x4fd777>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x1ee9f6['documentId']&&Object['hasOwnProperty']['call'](_0x1ee9f6,'documentId')&&(object['documentId']=_0x1ee9f6['documentId']),object;},RevisionHistoryConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionHistoryConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionHistoryConnectMessage';},RevisionHistoryConnectMessage;}()),$root['RevisionDescriptor']=(function(){function RevisionDescriptor(properties){if(properties){for(var _0x57dfbb=Object['keys'](properties),_0x55cbfd=0x0;_0x55cbfd<_0x57dfbb['length'];++_0x55cbfd)null!=properties[_0x57dfbb[_0x55cbfd]]&&'__proto__'!==_0x57dfbb[_0x55cbfd]&&(this[_0x57dfbb[_0x55cbfd]]=properties[_0x57dfbb[_0x55cbfd]]);}}return RevisionDescriptor['prototype']['revisionId']='',RevisionDescriptor['prototype']['name']='',RevisionDescriptor['prototype']['creatorId']='',RevisionDescriptor['prototype']['authorsIds']='',RevisionDescriptor['prototype']['diffData']='',RevisionDescriptor['prototype']['createdAt']='',RevisionDescriptor['prototype']['attributes']='',RevisionDescriptor['prototype']['toVersion']=0x0,RevisionDescriptor['prototype']['fromVersion']=0x0,RevisionDescriptor['prototype']['isEmptyCurrent']=!0x1,RevisionDescriptor['create']=function(properties){return new RevisionDescriptor(properties);},RevisionDescriptor['encode']=function(_0x207d6a,writer,_0x3ec2ba){if(writer||(writer=$Writer['create']()),void 0x0===_0x3ec2ba&&(_0x3ec2ba=0x0),_0x3ec2ba>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x207d6a['revisionId']&&Object['hasOwnProperty']['call'](_0x207d6a,'revisionId')&&writer['uint32'](0xa)['string'](_0x207d6a['revisionId']),null!=_0x207d6a['name']&&Object['hasOwnProperty']['call'](_0x207d6a,'name')&&writer['uint32'](0x12)['string'](_0x207d6a['name']),null!=_0x207d6a['creatorId']&&Object['hasOwnProperty']['call'](_0x207d6a,'creatorId')&&writer['uint32'](0x1a)['string'](_0x207d6a['creatorId']),null!=_0x207d6a['authorsIds']&&Object['hasOwnProperty']['call'](_0x207d6a,'authorsIds')&&writer['uint32'](0x22)['string'](_0x207d6a['authorsIds']),null!=_0x207d6a['diffData']&&Object['hasOwnProperty']['call'](_0x207d6a,'diffData')&&writer['uint32'](0x2a)['string'](_0x207d6a['diffData']),null!=_0x207d6a['createdAt']&&Object['hasOwnProperty']['call'](_0x207d6a,'createdAt')&&writer['uint32'](0x32)['string'](_0x207d6a['createdAt']),null!=_0x207d6a['attributes']&&Object['hasOwnProperty']['call'](_0x207d6a,'attributes')&&writer['uint32'](0x3a)['string'](_0x207d6a['attributes']),null!=_0x207d6a['toVersion']&&Object['hasOwnProperty']['call'](_0x207d6a,'toVersion')&&writer['uint32'](0x40)['uint32'](_0x207d6a['toVersion']),null!=_0x207d6a['fromVersion']&&Object['hasOwnProperty']['call'](_0x207d6a,'fromVersion')&&writer['uint32'](0x48)['uint32'](_0x207d6a['fromVersion']),null!=_0x207d6a['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x207d6a,'isEmptyCurrent')&&writer['uint32'](0x50)['bool'](_0x207d6a['isEmptyCurrent']),writer;},RevisionDescriptor['encodeDelimited']=function(_0x3e96a1,writer){return this['encode'](_0x3e96a1,writer)['ldelim']();},RevisionDescriptor['decode']=function(_0xa47b2b,length,_0x58a7d5,_0x49134e){if(_0xa47b2b instanceof _0x470ccf||(_0xa47b2b=_0x470ccf['create'](_0xa47b2b)),void 0x0===_0x49134e&&(_0x49134e=0x0),_0x49134e>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xfb6b34=void 0x0===length?_0xa47b2b['len']:_0xa47b2b['pos']+length,_0x3ee182=new $root['RevisionDescriptor']();_0xa47b2b['pos']<_0xfb6b34;){var tag=_0xa47b2b['uint32']();if(tag===_0x58a7d5)break;switch(tag>>>0x3){case 0x1:_0x3ee182['revisionId']=_0xa47b2b['string']();break;case 0x2:_0x3ee182['name']=_0xa47b2b['string']();break;case 0x3:_0x3ee182['creatorId']=_0xa47b2b['string']();break;case 0x4:_0x3ee182['authorsIds']=_0xa47b2b['string']();break;case 0x5:_0x3ee182['diffData']=_0xa47b2b['string']();break;case 0x6:_0x3ee182['createdAt']=_0xa47b2b['string']();break;case 0x7:_0x3ee182['attributes']=_0xa47b2b['string']();break;case 0x8:_0x3ee182['toVersion']=_0xa47b2b['uint32']();break;case 0x9:_0x3ee182['fromVersion']=_0xa47b2b['uint32']();break;case 0xa:_0x3ee182['isEmptyCurrent']=_0xa47b2b['bool']();break;default:_0xa47b2b['skipType'](0x7&tag,_0x49134e);}}return _0x3ee182;},RevisionDescriptor['decodeDelimited']=function(_0x50144c){return _0x50144c instanceof _0x470ccf||(_0x50144c=new _0x470ccf(_0x50144c)),this['decode'](_0x50144c,_0x50144c['uint32']());},RevisionDescriptor['verify']=function(_0x156d76,_0x18427d){return'object'!=typeof _0x156d76||null===_0x156d76?'object\x20expected':(void 0x0===_0x18427d&&(_0x18427d=0x0),_0x18427d>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x156d76['revisionId']&&Object['hasOwnProperty']['call'](_0x156d76,'revisionId')&&!$util['isString'](_0x156d76['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x156d76['name']&&Object['hasOwnProperty']['call'](_0x156d76,'name')&&!$util['isString'](_0x156d76['name'])?'name:\x20string\x20expected':null!=_0x156d76['creatorId']&&Object['hasOwnProperty']['call'](_0x156d76,'creatorId')&&!$util['isString'](_0x156d76['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x156d76['authorsIds']&&Object['hasOwnProperty']['call'](_0x156d76,'authorsIds')&&!$util['isString'](_0x156d76['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x156d76['diffData']&&Object['hasOwnProperty']['call'](_0x156d76,'diffData')&&!$util['isString'](_0x156d76['diffData'])?'diffData:\x20string\x20expected':null!=_0x156d76['createdAt']&&Object['hasOwnProperty']['call'](_0x156d76,'createdAt')&&!$util['isString'](_0x156d76['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x156d76['attributes']&&Object['hasOwnProperty']['call'](_0x156d76,'attributes')&&!$util['isString'](_0x156d76['attributes'])?'attributes:\x20string\x20expected':null!=_0x156d76['toVersion']&&Object['hasOwnProperty']['call'](_0x156d76,'toVersion')&&!$util['isInteger'](_0x156d76['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x156d76['fromVersion']&&Object['hasOwnProperty']['call'](_0x156d76,'fromVersion')&&!$util['isInteger'](_0x156d76['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x156d76['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x156d76,'isEmptyCurrent')&&'boolean'!=typeof _0x156d76['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},RevisionDescriptor['fromObject']=function(object,_0x23ad25){if(object instanceof $root['RevisionDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.RevisionDescriptor:\x20object\x20expected');if(void 0x0===_0x23ad25&&(_0x23ad25=0x0),_0x23ad25>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x592233=new $root['RevisionDescriptor']();return null!=object['revisionId']&&(_0x592233['revisionId']=String(object['revisionId'])),null!=object['name']&&(_0x592233['name']=String(object['name'])),null!=object['creatorId']&&(_0x592233['creatorId']=String(object['creatorId'])),null!=object['authorsIds']&&(_0x592233['authorsIds']=String(object['authorsIds'])),null!=object['diffData']&&(_0x592233['diffData']=String(object['diffData'])),null!=object['createdAt']&&(_0x592233['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x592233['attributes']=String(object['attributes'])),null!=object['toVersion']&&(_0x592233['toVersion']=object['toVersion']>>>0x0),null!=object['fromVersion']&&(_0x592233['fromVersion']=object['fromVersion']>>>0x0),null!=object['isEmptyCurrent']&&(_0x592233['isEmptyCurrent']=Boolean(object['isEmptyCurrent'])),_0x592233;},RevisionDescriptor['toObject']=function(_0x5ca23b,options,_0x1066f1){if(options||(options={}),void 0x0===_0x1066f1&&(_0x1066f1=0x0),_0x1066f1>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['revisionId']='',object['name']='',object['creatorId']='',object['authorsIds']='',object['diffData']='',object['createdAt']='',object['attributes']='',object['toVersion']=0x0,object['fromVersion']=0x0,object['isEmptyCurrent']=!0x1),null!=_0x5ca23b['revisionId']&&Object['hasOwnProperty']['call'](_0x5ca23b,'revisionId')&&(object['revisionId']=_0x5ca23b['revisionId']),null!=_0x5ca23b['name']&&Object['hasOwnProperty']['call'](_0x5ca23b,'name')&&(object['name']=_0x5ca23b['name']),null!=_0x5ca23b['creatorId']&&Object['hasOwnProperty']['call'](_0x5ca23b,'creatorId')&&(object['creatorId']=_0x5ca23b['creatorId']),null!=_0x5ca23b['authorsIds']&&Object['hasOwnProperty']['call'](_0x5ca23b,'authorsIds')&&(object['authorsIds']=_0x5ca23b['authorsIds']),null!=_0x5ca23b['diffData']&&Object['hasOwnProperty']['call'](_0x5ca23b,'diffData')&&(object['diffData']=_0x5ca23b['diffData']),null!=_0x5ca23b['createdAt']&&Object['hasOwnProperty']['call'](_0x5ca23b,'createdAt')&&(object['createdAt']=_0x5ca23b['createdAt']),null!=_0x5ca23b['attributes']&&Object['hasOwnProperty']['call'](_0x5ca23b,'attributes')&&(object['attributes']=_0x5ca23b['attributes']),null!=_0x5ca23b['toVersion']&&Object['hasOwnProperty']['call'](_0x5ca23b,'toVersion')&&(object['toVersion']=_0x5ca23b['toVersion']),null!=_0x5ca23b['fromVersion']&&Object['hasOwnProperty']['call'](_0x5ca23b,'fromVersion')&&(object['fromVersion']=_0x5ca23b['fromVersion']),null!=_0x5ca23b['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x5ca23b,'isEmptyCurrent')&&(object['isEmptyCurrent']=_0x5ca23b['isEmptyCurrent']),object;},RevisionDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},RevisionDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/RevisionDescriptor';},RevisionDescriptor;}()),$root['IsEditorBundleUploadedResponse']=(function(){function IsEditorBundleUploadedResponse(properties){if(properties){for(var _0x76e5cd=Object['keys'](properties),_0x50ced0=0x0;_0x50ced0<_0x76e5cd['length'];++_0x50ced0)null!=properties[_0x76e5cd[_0x50ced0]]&&'__proto__'!==_0x76e5cd[_0x50ced0]&&(this[_0x76e5cd[_0x50ced0]]=properties[_0x76e5cd[_0x50ced0]]);}}return IsEditorBundleUploadedResponse['prototype']['isUploaded']=!0x1,IsEditorBundleUploadedResponse['create']=function(properties){return new IsEditorBundleUploadedResponse(properties);},IsEditorBundleUploadedResponse['encode']=function(_0xa0604d,writer,_0x17809a){if(writer||(writer=$Writer['create']()),void 0x0===_0x17809a&&(_0x17809a=0x0),_0x17809a>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xa0604d['isUploaded']&&Object['hasOwnProperty']['call'](_0xa0604d,'isUploaded')&&writer['uint32'](0x8)['bool'](_0xa0604d['isUploaded']),writer;},IsEditorBundleUploadedResponse['encodeDelimited']=function(_0x519178,writer){return this['encode'](_0x519178,writer)['ldelim']();},IsEditorBundleUploadedResponse['decode']=function(_0x3f48e6,length,_0x3943f7,_0x18a834){if(_0x3f48e6 instanceof _0x470ccf||(_0x3f48e6=_0x470ccf['create'](_0x3f48e6)),void 0x0===_0x18a834&&(_0x18a834=0x0),_0x18a834>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x374440=void 0x0===length?_0x3f48e6['len']:_0x3f48e6['pos']+length,_0xe09f4e=new $root['IsEditorBundleUploadedResponse']();_0x3f48e6['pos']<_0x374440;){var tag=_0x3f48e6['uint32']();if(tag===_0x3943f7)break;if(tag>>>0x3==0x1)_0xe09f4e['isUploaded']=_0x3f48e6['bool']();else _0x3f48e6['skipType'](0x7&tag,_0x18a834);}return _0xe09f4e;},IsEditorBundleUploadedResponse['decodeDelimited']=function(_0xca1e85){return _0xca1e85 instanceof _0x470ccf||(_0xca1e85=new _0x470ccf(_0xca1e85)),this['decode'](_0xca1e85,_0xca1e85['uint32']());},IsEditorBundleUploadedResponse['verify']=function(_0x544857,_0x2f1bb1){return'object'!=typeof _0x544857||null===_0x544857?'object\x20expected':(void 0x0===_0x2f1bb1&&(_0x2f1bb1=0x0),_0x2f1bb1>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x544857['isUploaded']&&Object['hasOwnProperty']['call'](_0x544857,'isUploaded')&&'boolean'!=typeof _0x544857['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},IsEditorBundleUploadedResponse['fromObject']=function(object,_0x46635d){if(object instanceof $root['IsEditorBundleUploadedResponse'])return object;if(!$util['isObject'](object))throw TypeError('.IsEditorBundleUploadedResponse:\x20object\x20expected');if(void 0x0===_0x46635d&&(_0x46635d=0x0),_0x46635d>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5ac0c3=new $root['IsEditorBundleUploadedResponse']();return null!=object['isUploaded']&&(_0x5ac0c3['isUploaded']=Boolean(object['isUploaded'])),_0x5ac0c3;},IsEditorBundleUploadedResponse['toObject']=function(_0x20fc30,options,_0x57d5c9){if(options||(options={}),void 0x0===_0x57d5c9&&(_0x57d5c9=0x0),_0x57d5c9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['isUploaded']=!0x1),null!=_0x20fc30['isUploaded']&&Object['hasOwnProperty']['call'](_0x20fc30,'isUploaded')&&(object['isUploaded']=_0x20fc30['isUploaded']),object;},IsEditorBundleUploadedResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},IsEditorBundleUploadedResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/IsEditorBundleUploadedResponse';},IsEditorBundleUploadedResponse;}()),$root['IsEditorBundleUploadedMessage']=(function(){function IsEditorBundleUploadedMessage(properties){if(properties){for(var _0x11b955=Object['keys'](properties),_0x4ac912=0x0;_0x4ac912<_0x11b955['length'];++_0x4ac912)null!=properties[_0x11b955[_0x4ac912]]&&'__proto__'!==_0x11b955[_0x4ac912]&&(this[_0x11b955[_0x4ac912]]=properties[_0x11b955[_0x4ac912]]);}}return IsEditorBundleUploadedMessage['prototype']['bundleVersion']='',IsEditorBundleUploadedMessage['create']=function(properties){return new IsEditorBundleUploadedMessage(properties);},IsEditorBundleUploadedMessage['encode']=function(_0x324755,writer,_0x265772){if(writer||(writer=$Writer['create']()),void 0x0===_0x265772&&(_0x265772=0x0),_0x265772>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x324755['bundleVersion']&&Object['hasOwnProperty']['call'](_0x324755,'bundleVersion')&&writer['uint32'](0xa)['string'](_0x324755['bundleVersion']),writer;},IsEditorBundleUploadedMessage['encodeDelimited']=function(_0x44d542,writer){return this['encode'](_0x44d542,writer)['ldelim']();},IsEditorBundleUploadedMessage['decode']=function(_0xef12a3,length,_0x351794,_0x1551e1){if(_0xef12a3 instanceof _0x470ccf||(_0xef12a3=_0x470ccf['create'](_0xef12a3)),void 0x0===_0x1551e1&&(_0x1551e1=0x0),_0x1551e1>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1179be=void 0x0===length?_0xef12a3['len']:_0xef12a3['pos']+length,_0x22c767=new $root['IsEditorBundleUploadedMessage']();_0xef12a3['pos']<_0x1179be;){var tag=_0xef12a3['uint32']();if(tag===_0x351794)break;if(tag>>>0x3==0x1)_0x22c767['bundleVersion']=_0xef12a3['string']();else _0xef12a3['skipType'](0x7&tag,_0x1551e1);}return _0x22c767;},IsEditorBundleUploadedMessage['decodeDelimited']=function(_0x4584ff){return _0x4584ff instanceof _0x470ccf||(_0x4584ff=new _0x470ccf(_0x4584ff)),this['decode'](_0x4584ff,_0x4584ff['uint32']());},IsEditorBundleUploadedMessage['verify']=function(_0x107c3d,_0x434f20){return'object'!=typeof _0x107c3d||null===_0x107c3d?'object\x20expected':(void 0x0===_0x434f20&&(_0x434f20=0x0),_0x434f20>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x107c3d['bundleVersion']&&Object['hasOwnProperty']['call'](_0x107c3d,'bundleVersion')&&!$util['isString'](_0x107c3d['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},IsEditorBundleUploadedMessage['fromObject']=function(object,_0x44b005){if(object instanceof $root['IsEditorBundleUploadedMessage'])return object;if(!$util['isObject'](object))throw TypeError('.IsEditorBundleUploadedMessage:\x20object\x20expected');if(void 0x0===_0x44b005&&(_0x44b005=0x0),_0x44b005>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x44f43e=new $root['IsEditorBundleUploadedMessage']();return null!=object['bundleVersion']&&(_0x44f43e['bundleVersion']=String(object['bundleVersion'])),_0x44f43e;},IsEditorBundleUploadedMessage['toObject']=function(_0x377b99,options,_0x3076b6){if(options||(options={}),void 0x0===_0x3076b6&&(_0x3076b6=0x0),_0x3076b6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['bundleVersion']=''),null!=_0x377b99['bundleVersion']&&Object['hasOwnProperty']['call'](_0x377b99,'bundleVersion')&&(object['bundleVersion']=_0x377b99['bundleVersion']),object;},IsEditorBundleUploadedMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},IsEditorBundleUploadedMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/IsEditorBundleUploadedMessage';},IsEditorBundleUploadedMessage;}()),$root['KeyValueDescriptor']=(function(){function KeyValueDescriptor(properties){if(properties){for(var _0x41ce89=Object['keys'](properties),_0x2ae3c8=0x0;_0x2ae3c8<_0x41ce89['length'];++_0x2ae3c8)null!=properties[_0x41ce89[_0x2ae3c8]]&&'__proto__'!==_0x41ce89[_0x2ae3c8]&&(this[_0x41ce89[_0x2ae3c8]]=properties[_0x41ce89[_0x2ae3c8]]);}}return KeyValueDescriptor['prototype']['key']='',KeyValueDescriptor['prototype']['value']='',KeyValueDescriptor['create']=function(properties){return new KeyValueDescriptor(properties);},KeyValueDescriptor['encode']=function(_0x18c9e8,writer,_0x85cc91){if(writer||(writer=$Writer['create']()),void 0x0===_0x85cc91&&(_0x85cc91=0x0),_0x85cc91>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x18c9e8['key']&&Object['hasOwnProperty']['call'](_0x18c9e8,'key')&&writer['uint32'](0xa)['string'](_0x18c9e8['key']),null!=_0x18c9e8['value']&&Object['hasOwnProperty']['call'](_0x18c9e8,'value')&&writer['uint32'](0x12)['string'](_0x18c9e8['value']),writer;},KeyValueDescriptor['encodeDelimited']=function(_0x5539ce,writer){return this['encode'](_0x5539ce,writer)['ldelim']();},KeyValueDescriptor['decode']=function(_0x55012f,length,_0x29f433,_0x53704c){if(_0x55012f instanceof _0x470ccf||(_0x55012f=_0x470ccf['create'](_0x55012f)),void 0x0===_0x53704c&&(_0x53704c=0x0),_0x53704c>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2f1bfb=void 0x0===length?_0x55012f['len']:_0x55012f['pos']+length,_0x108740=new $root['KeyValueDescriptor']();_0x55012f['pos']<_0x2f1bfb;){var tag=_0x55012f['uint32']();if(tag===_0x29f433)break;switch(tag>>>0x3){case 0x1:_0x108740['key']=_0x55012f['string']();break;case 0x2:_0x108740['value']=_0x55012f['string']();break;default:_0x55012f['skipType'](0x7&tag,_0x53704c);}}return _0x108740;},KeyValueDescriptor['decodeDelimited']=function(_0x342a7e){return _0x342a7e instanceof _0x470ccf||(_0x342a7e=new _0x470ccf(_0x342a7e)),this['decode'](_0x342a7e,_0x342a7e['uint32']());},KeyValueDescriptor['verify']=function(_0x251336,_0x86aee4){return'object'!=typeof _0x251336||null===_0x251336?'object\x20expected':(void 0x0===_0x86aee4&&(_0x86aee4=0x0),_0x86aee4>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x251336['key']&&Object['hasOwnProperty']['call'](_0x251336,'key')&&!$util['isString'](_0x251336['key'])?'key:\x20string\x20expected':null!=_0x251336['value']&&Object['hasOwnProperty']['call'](_0x251336,'value')&&!$util['isString'](_0x251336['value'])?'value:\x20string\x20expected':null);},KeyValueDescriptor['fromObject']=function(object,_0x85de76){if(object instanceof $root['KeyValueDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.KeyValueDescriptor:\x20object\x20expected');if(void 0x0===_0x85de76&&(_0x85de76=0x0),_0x85de76>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x33b05d=new $root['KeyValueDescriptor']();return null!=object['key']&&(_0x33b05d['key']=String(object['key'])),null!=object['value']&&(_0x33b05d['value']=String(object['value'])),_0x33b05d;},KeyValueDescriptor['toObject']=function(_0x1b5fe8,options,_0x11a644){if(options||(options={}),void 0x0===_0x11a644&&(_0x11a644=0x0),_0x11a644>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['key']='',object['value']=''),null!=_0x1b5fe8['key']&&Object['hasOwnProperty']['call'](_0x1b5fe8,'key')&&(object['key']=_0x1b5fe8['key']),null!=_0x1b5fe8['value']&&Object['hasOwnProperty']['call'](_0x1b5fe8,'value')&&(object['value']=_0x1b5fe8['value']),object;},KeyValueDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},KeyValueDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/KeyValueDescriptor';},KeyValueDescriptor;}()),$root['CommentsV2GetDocumentThreadsResponse']=(function(){function CommentsV2GetDocumentThreadsResponse(properties){if(this['threads']=[],this['threadsV2']=[],properties){for(var _0x5efa4f=Object['keys'](properties),_0xc69c4a=0x0;_0xc69c4a<_0x5efa4f['length'];++_0xc69c4a)null!=properties[_0x5efa4f[_0xc69c4a]]&&'__proto__'!==_0x5efa4f[_0xc69c4a]&&(this[_0x5efa4f[_0xc69c4a]]=properties[_0x5efa4f[_0xc69c4a]]);}}return CommentsV2GetDocumentThreadsResponse['prototype']['threads']=$util['emptyArray'],CommentsV2GetDocumentThreadsResponse['prototype']['threadsV2']=$util['emptyArray'],CommentsV2GetDocumentThreadsResponse['create']=function(properties){return new CommentsV2GetDocumentThreadsResponse(properties);},CommentsV2GetDocumentThreadsResponse['encode']=function(_0x440018,writer,_0xc7da5c){if(writer||(writer=$Writer['create']()),void 0x0===_0xc7da5c&&(_0xc7da5c=0x0),_0xc7da5c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x440018['threads']&&_0x440018['threads']['length']){for(var _0x4c2dc3=0x0;_0x4c2dc3<_0x440018['threads']['length'];++_0x4c2dc3)writer['uint32'](0xa)['string'](_0x440018['threads'][_0x4c2dc3]);}if(null!=_0x440018['threadsV2']&&_0x440018['threadsV2']['length']){for(_0x4c2dc3=0x0;_0x4c2dc3<_0x440018['threadsV2']['length'];++_0x4c2dc3)$root['CommentsThreadDescriptor']['encode'](_0x440018['threadsV2'][_0x4c2dc3],writer['uint32'](0x12)['fork'](),_0xc7da5c+0x1)['ldelim']();}return writer;},CommentsV2GetDocumentThreadsResponse['encodeDelimited']=function(_0x33cd9c,writer){return this['encode'](_0x33cd9c,writer)['ldelim']();},CommentsV2GetDocumentThreadsResponse['decode']=function(_0x2fb268,length,_0x47c4f5,_0x2dd9e4){if(_0x2fb268 instanceof _0x470ccf||(_0x2fb268=_0x470ccf['create'](_0x2fb268)),void 0x0===_0x2dd9e4&&(_0x2dd9e4=0x0),_0x2dd9e4>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x26cbcd=void 0x0===length?_0x2fb268['len']:_0x2fb268['pos']+length,_0x1876ce=new $root['CommentsV2GetDocumentThreadsResponse']();_0x2fb268['pos']<_0x26cbcd;){var tag=_0x2fb268['uint32']();if(tag===_0x47c4f5)break;switch(tag>>>0x3){case 0x1:_0x1876ce['threads']&&_0x1876ce['threads']['length']||(_0x1876ce['threads']=[]),_0x1876ce['threads']['push'](_0x2fb268['string']());break;case 0x2:_0x1876ce['threadsV2']&&_0x1876ce['threadsV2']['length']||(_0x1876ce['threadsV2']=[]),_0x1876ce['threadsV2']['push']($root['CommentsThreadDescriptor']['decode'](_0x2fb268,_0x2fb268['uint32'](),void 0x0,_0x2dd9e4+0x1));break;default:_0x2fb268['skipType'](0x7&tag,_0x2dd9e4);}}return _0x1876ce;},CommentsV2GetDocumentThreadsResponse['decodeDelimited']=function(_0x1df719){return _0x1df719 instanceof _0x470ccf||(_0x1df719=new _0x470ccf(_0x1df719)),this['decode'](_0x1df719,_0x1df719['uint32']());},CommentsV2GetDocumentThreadsResponse['verify']=function(_0x257464,_0x2a4b6a){if('object'!=typeof _0x257464||null===_0x257464)return'object\x20expected';if(void 0x0===_0x2a4b6a&&(_0x2a4b6a=0x0),_0x2a4b6a>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x257464['threads']&&Object['hasOwnProperty']['call'](_0x257464,'threads')){if(!Array['isArray'](_0x257464['threads']))return'threads:\x20array\x20expected';for(var _0x48bd80=0x0;_0x48bd80<_0x257464['threads']['length'];++_0x48bd80)if(!$util['isString'](_0x257464['threads'][_0x48bd80]))return'threads:\x20string[]\x20expected';}if(null!=_0x257464['threadsV2']&&Object['hasOwnProperty']['call'](_0x257464,'threadsV2')){if(!Array['isArray'](_0x257464['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x48bd80=0x0;_0x48bd80<_0x257464['threadsV2']['length'];++_0x48bd80){var _0x59347c=$root['CommentsThreadDescriptor']['verify'](_0x257464['threadsV2'][_0x48bd80],_0x2a4b6a+0x1);if(_0x59347c)return'threadsV2.'+_0x59347c;}}return null;},CommentsV2GetDocumentThreadsResponse['fromObject']=function(object,_0x197b44){if(object instanceof $root['CommentsV2GetDocumentThreadsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetDocumentThreadsResponse:\x20object\x20expected');if(void 0x0===_0x197b44&&(_0x197b44=0x0),_0x197b44>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1b5da9=new $root['CommentsV2GetDocumentThreadsResponse']();if(object['threads']){if(!Array['isArray'](object['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x1b5da9['threads']=[];for(var _0x429737=0x0;_0x429737<object['threads']['length'];++_0x429737)_0x1b5da9['threads'][_0x429737]=String(object['threads'][_0x429737]);}if(object['threadsV2']){if(!Array['isArray'](object['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');_0x1b5da9['threadsV2']=[];for(_0x429737=0x0;_0x429737<object['threadsV2']['length'];++_0x429737){if(!$util['isObject'](object['threadsV2'][_0x429737]))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x1b5da9['threadsV2'][_0x429737]=$root['CommentsThreadDescriptor']['fromObject'](object['threadsV2'][_0x429737],_0x197b44+0x1);}}return _0x1b5da9;},CommentsV2GetDocumentThreadsResponse['toObject']=function(_0xaae83c,options,_0x402c76){if(options||(options={}),void 0x0===_0x402c76&&(_0x402c76=0x0),_0x402c76>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['threads']=[],object['threadsV2']=[]),_0xaae83c['threads']&&_0xaae83c['threads']['length']){object['threads']=[];for(var _0x5810c8=0x0;_0x5810c8<_0xaae83c['threads']['length'];++_0x5810c8)object['threads'][_0x5810c8]=_0xaae83c['threads'][_0x5810c8];}if(_0xaae83c['threadsV2']&&_0xaae83c['threadsV2']['length']){object['threadsV2']=[];for(_0x5810c8=0x0;_0x5810c8<_0xaae83c['threadsV2']['length'];++_0x5810c8)object['threadsV2'][_0x5810c8]=$root['CommentsThreadDescriptor']['toObject'](_0xaae83c['threadsV2'][_0x5810c8],options,_0x402c76+0x1);}return object;},CommentsV2GetDocumentThreadsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetDocumentThreadsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetDocumentThreadsResponse';},CommentsV2GetDocumentThreadsResponse;}()),$root['CommentsV2GetCommentThreadResponse']=(function(){function CommentsV2GetCommentThreadResponse(properties){if(this['comments']=[],this['commentsV2']=[],properties){for(var _0x373c84=Object['keys'](properties),_0x268a59=0x0;_0x268a59<_0x373c84['length'];++_0x268a59)null!=properties[_0x373c84[_0x268a59]]&&'__proto__'!==_0x373c84[_0x268a59]&&(this[_0x373c84[_0x268a59]]=properties[_0x373c84[_0x268a59]]);}}return CommentsV2GetCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2GetCommentThreadResponse['prototype']['comments']=$util['emptyArray'],CommentsV2GetCommentThreadResponse['prototype']['commentsV2']=$util['emptyArray'],CommentsV2GetCommentThreadResponse['prototype']['resolvedAt']='',CommentsV2GetCommentThreadResponse['prototype']['resolvedBy']='',CommentsV2GetCommentThreadResponse['prototype']['context']='',CommentsV2GetCommentThreadResponse['prototype']['createdAt']='',CommentsV2GetCommentThreadResponse['prototype']['deletedAt']='',CommentsV2GetCommentThreadResponse['prototype']['attributes']='',CommentsV2GetCommentThreadResponse['prototype']['unlinkedAt']='',CommentsV2GetCommentThreadResponse['create']=function(properties){return new CommentsV2GetCommentThreadResponse(properties);},CommentsV2GetCommentThreadResponse['encode']=function(_0x5c51ee,writer,_0x1f4600){if(writer||(writer=$Writer['create']()),void 0x0===_0x1f4600&&(_0x1f4600=0x0),_0x1f4600>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5c51ee['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5c51ee,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x5c51ee['commentThreadId']),null!=_0x5c51ee['comments']&&_0x5c51ee['comments']['length']){for(var _0x25101a=0x0;_0x25101a<_0x5c51ee['comments']['length'];++_0x25101a)writer['uint32'](0x12)['string'](_0x5c51ee['comments'][_0x25101a]);}if(null!=_0x5c51ee['commentsV2']&&_0x5c51ee['commentsV2']['length']){for(_0x25101a=0x0;_0x25101a<_0x5c51ee['commentsV2']['length'];++_0x25101a)$root['CommentDescriptor']['encode'](_0x5c51ee['commentsV2'][_0x25101a],writer['uint32'](0x1a)['fork'](),_0x1f4600+0x1)['ldelim']();}return null!=_0x5c51ee['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5c51ee,'resolvedAt')&&writer['uint32'](0x22)['string'](_0x5c51ee['resolvedAt']),null!=_0x5c51ee['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5c51ee,'resolvedBy')&&writer['uint32'](0x2a)['string'](_0x5c51ee['resolvedBy']),null!=_0x5c51ee['context']&&Object['hasOwnProperty']['call'](_0x5c51ee,'context')&&writer['uint32'](0x32)['string'](_0x5c51ee['context']),null!=_0x5c51ee['createdAt']&&Object['hasOwnProperty']['call'](_0x5c51ee,'createdAt')&&writer['uint32'](0x3a)['string'](_0x5c51ee['createdAt']),null!=_0x5c51ee['deletedAt']&&Object['hasOwnProperty']['call'](_0x5c51ee,'deletedAt')&&writer['uint32'](0x42)['string'](_0x5c51ee['deletedAt']),null!=_0x5c51ee['attributes']&&Object['hasOwnProperty']['call'](_0x5c51ee,'attributes')&&writer['uint32'](0x4a)['string'](_0x5c51ee['attributes']),null!=_0x5c51ee['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5c51ee,'unlinkedAt')&&writer['uint32'](0x52)['string'](_0x5c51ee['unlinkedAt']),writer;},CommentsV2GetCommentThreadResponse['encodeDelimited']=function(_0x313930,writer){return this['encode'](_0x313930,writer)['ldelim']();},CommentsV2GetCommentThreadResponse['decode']=function(_0x437100,length,_0x39d4af,_0x4e9e04){if(_0x437100 instanceof _0x470ccf||(_0x437100=_0x470ccf['create'](_0x437100)),void 0x0===_0x4e9e04&&(_0x4e9e04=0x0),_0x4e9e04>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x626a32=void 0x0===length?_0x437100['len']:_0x437100['pos']+length,_0x562450=new $root['CommentsV2GetCommentThreadResponse']();_0x437100['pos']<_0x626a32;){var tag=_0x437100['uint32']();if(tag===_0x39d4af)break;switch(tag>>>0x3){case 0x1:_0x562450['commentThreadId']=_0x437100['string']();break;case 0x2:_0x562450['comments']&&_0x562450['comments']['length']||(_0x562450['comments']=[]),_0x562450['comments']['push'](_0x437100['string']());break;case 0x3:_0x562450['commentsV2']&&_0x562450['commentsV2']['length']||(_0x562450['commentsV2']=[]),_0x562450['commentsV2']['push']($root['CommentDescriptor']['decode'](_0x437100,_0x437100['uint32'](),void 0x0,_0x4e9e04+0x1));break;case 0x4:_0x562450['resolvedAt']=_0x437100['string']();break;case 0x5:_0x562450['resolvedBy']=_0x437100['string']();break;case 0x6:_0x562450['context']=_0x437100['string']();break;case 0x7:_0x562450['createdAt']=_0x437100['string']();break;case 0x8:_0x562450['deletedAt']=_0x437100['string']();break;case 0x9:_0x562450['attributes']=_0x437100['string']();break;case 0xa:_0x562450['unlinkedAt']=_0x437100['string']();break;default:_0x437100['skipType'](0x7&tag,_0x4e9e04);}}return _0x562450;},CommentsV2GetCommentThreadResponse['decodeDelimited']=function(_0x1885ff){return _0x1885ff instanceof _0x470ccf||(_0x1885ff=new _0x470ccf(_0x1885ff)),this['decode'](_0x1885ff,_0x1885ff['uint32']());},CommentsV2GetCommentThreadResponse['verify']=function(_0x313c8e,_0x4c097e){if('object'!=typeof _0x313c8e||null===_0x313c8e)return'object\x20expected';if(void 0x0===_0x4c097e&&(_0x4c097e=0x0),_0x4c097e>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x313c8e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x313c8e,'commentThreadId')&&!$util['isString'](_0x313c8e['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x313c8e['comments']&&Object['hasOwnProperty']['call'](_0x313c8e,'comments')){if(!Array['isArray'](_0x313c8e['comments']))return'comments:\x20array\x20expected';for(var _0x59def2=0x0;_0x59def2<_0x313c8e['comments']['length'];++_0x59def2)if(!$util['isString'](_0x313c8e['comments'][_0x59def2]))return'comments:\x20string[]\x20expected';}if(null!=_0x313c8e['commentsV2']&&Object['hasOwnProperty']['call'](_0x313c8e,'commentsV2')){if(!Array['isArray'](_0x313c8e['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x59def2=0x0;_0x59def2<_0x313c8e['commentsV2']['length'];++_0x59def2){var _0x324f81=$root['CommentDescriptor']['verify'](_0x313c8e['commentsV2'][_0x59def2],_0x4c097e+0x1);if(_0x324f81)return'commentsV2.'+_0x324f81;}}return null!=_0x313c8e['resolvedAt']&&Object['hasOwnProperty']['call'](_0x313c8e,'resolvedAt')&&!$util['isString'](_0x313c8e['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x313c8e['resolvedBy']&&Object['hasOwnProperty']['call'](_0x313c8e,'resolvedBy')&&!$util['isString'](_0x313c8e['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x313c8e['context']&&Object['hasOwnProperty']['call'](_0x313c8e,'context')&&!$util['isString'](_0x313c8e['context'])?'context:\x20string\x20expected':null!=_0x313c8e['createdAt']&&Object['hasOwnProperty']['call'](_0x313c8e,'createdAt')&&!$util['isString'](_0x313c8e['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x313c8e['deletedAt']&&Object['hasOwnProperty']['call'](_0x313c8e,'deletedAt')&&!$util['isString'](_0x313c8e['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x313c8e['attributes']&&Object['hasOwnProperty']['call'](_0x313c8e,'attributes')&&!$util['isString'](_0x313c8e['attributes'])?'attributes:\x20string\x20expected':null!=_0x313c8e['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x313c8e,'unlinkedAt')&&!$util['isString'](_0x313c8e['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},CommentsV2GetCommentThreadResponse['fromObject']=function(object,_0x34c15e){if(object instanceof $root['CommentsV2GetCommentThreadResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x34c15e&&(_0x34c15e=0x0),_0x34c15e>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x222eae=new $root['CommentsV2GetCommentThreadResponse']();if(null!=object['commentThreadId']&&(_0x222eae['commentThreadId']=String(object['commentThreadId'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x222eae['comments']=[];for(var _0x49a3eb=0x0;_0x49a3eb<object['comments']['length'];++_0x49a3eb)_0x222eae['comments'][_0x49a3eb]=String(object['comments'][_0x49a3eb]);}if(object['commentsV2']){if(!Array['isArray'](object['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');_0x222eae['commentsV2']=[];for(_0x49a3eb=0x0;_0x49a3eb<object['commentsV2']['length'];++_0x49a3eb){if(!$util['isObject'](object['commentsV2'][_0x49a3eb]))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x222eae['commentsV2'][_0x49a3eb]=$root['CommentDescriptor']['fromObject'](object['commentsV2'][_0x49a3eb],_0x34c15e+0x1);}}return null!=object['resolvedAt']&&(_0x222eae['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x222eae['resolvedBy']=String(object['resolvedBy'])),null!=object['context']&&(_0x222eae['context']=String(object['context'])),null!=object['createdAt']&&(_0x222eae['createdAt']=String(object['createdAt'])),null!=object['deletedAt']&&(_0x222eae['deletedAt']=String(object['deletedAt'])),null!=object['attributes']&&(_0x222eae['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x222eae['unlinkedAt']=String(object['unlinkedAt'])),_0x222eae;},CommentsV2GetCommentThreadResponse['toObject']=function(_0x3247db,options,_0x1cb596){if(options||(options={}),void 0x0===_0x1cb596&&(_0x1cb596=0x0),_0x1cb596>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[],object['commentsV2']=[]),options['defaults']&&(object['commentThreadId']='',object['resolvedAt']='',object['resolvedBy']='',object['context']='',object['createdAt']='',object['deletedAt']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x3247db['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3247db,'commentThreadId')&&(object['commentThreadId']=_0x3247db['commentThreadId']),_0x3247db['comments']&&_0x3247db['comments']['length']){object['comments']=[];for(var _0xc97b13=0x0;_0xc97b13<_0x3247db['comments']['length'];++_0xc97b13)object['comments'][_0xc97b13]=_0x3247db['comments'][_0xc97b13];}if(_0x3247db['commentsV2']&&_0x3247db['commentsV2']['length']){object['commentsV2']=[];for(_0xc97b13=0x0;_0xc97b13<_0x3247db['commentsV2']['length'];++_0xc97b13)object['commentsV2'][_0xc97b13]=$root['CommentDescriptor']['toObject'](_0x3247db['commentsV2'][_0xc97b13],options,_0x1cb596+0x1);}return null!=_0x3247db['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3247db,'resolvedAt')&&(object['resolvedAt']=_0x3247db['resolvedAt']),null!=_0x3247db['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3247db,'resolvedBy')&&(object['resolvedBy']=_0x3247db['resolvedBy']),null!=_0x3247db['context']&&Object['hasOwnProperty']['call'](_0x3247db,'context')&&(object['context']=_0x3247db['context']),null!=_0x3247db['createdAt']&&Object['hasOwnProperty']['call'](_0x3247db,'createdAt')&&(object['createdAt']=_0x3247db['createdAt']),null!=_0x3247db['deletedAt']&&Object['hasOwnProperty']['call'](_0x3247db,'deletedAt')&&(object['deletedAt']=_0x3247db['deletedAt']),null!=_0x3247db['attributes']&&Object['hasOwnProperty']['call'](_0x3247db,'attributes')&&(object['attributes']=_0x3247db['attributes']),null!=_0x3247db['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x3247db,'unlinkedAt')&&(object['unlinkedAt']=_0x3247db['unlinkedAt']),object;},CommentsV2GetCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetCommentThreadResponse';},CommentsV2GetCommentThreadResponse;}()),$root['CommentsV2ConnectResponse']=(function(){function CommentsV2ConnectResponse(properties){if(this['threads']=[],this['threadsV2']=[],properties){for(var _0x1f0cb7=Object['keys'](properties),_0x46cd33=0x0;_0x46cd33<_0x1f0cb7['length'];++_0x46cd33)null!=properties[_0x1f0cb7[_0x46cd33]]&&'__proto__'!==_0x1f0cb7[_0x46cd33]&&(this[_0x1f0cb7[_0x46cd33]]=properties[_0x1f0cb7[_0x46cd33]]);}}return CommentsV2ConnectResponse['prototype']['channel']='',CommentsV2ConnectResponse['prototype']['threads']=$util['emptyArray'],CommentsV2ConnectResponse['prototype']['threadsV2']=$util['emptyArray'],CommentsV2ConnectResponse['create']=function(properties){return new CommentsV2ConnectResponse(properties);},CommentsV2ConnectResponse['encode']=function(_0x4cd25e,writer,_0x23564d){if(writer||(writer=$Writer['create']()),void 0x0===_0x23564d&&(_0x23564d=0x0),_0x23564d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4cd25e['channel']&&Object['hasOwnProperty']['call'](_0x4cd25e,'channel')&&writer['uint32'](0xa)['string'](_0x4cd25e['channel']),null!=_0x4cd25e['threads']&&_0x4cd25e['threads']['length']){for(var _0x568fd0=0x0;_0x568fd0<_0x4cd25e['threads']['length'];++_0x568fd0)writer['uint32'](0x12)['string'](_0x4cd25e['threads'][_0x568fd0]);}if(null!=_0x4cd25e['threadsV2']&&_0x4cd25e['threadsV2']['length']){for(_0x568fd0=0x0;_0x568fd0<_0x4cd25e['threadsV2']['length'];++_0x568fd0)$root['CommentsThreadDescriptor']['encode'](_0x4cd25e['threadsV2'][_0x568fd0],writer['uint32'](0x1a)['fork'](),_0x23564d+0x1)['ldelim']();}return writer;},CommentsV2ConnectResponse['encodeDelimited']=function(_0x5c5ed5,writer){return this['encode'](_0x5c5ed5,writer)['ldelim']();},CommentsV2ConnectResponse['decode']=function(_0x2398c2,length,_0x5cfc11,_0xccf4ad){if(_0x2398c2 instanceof _0x470ccf||(_0x2398c2=_0x470ccf['create'](_0x2398c2)),void 0x0===_0xccf4ad&&(_0xccf4ad=0x0),_0xccf4ad>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1c6b5e=void 0x0===length?_0x2398c2['len']:_0x2398c2['pos']+length,_0x1ad454=new $root['CommentsV2ConnectResponse']();_0x2398c2['pos']<_0x1c6b5e;){var tag=_0x2398c2['uint32']();if(tag===_0x5cfc11)break;switch(tag>>>0x3){case 0x1:_0x1ad454['channel']=_0x2398c2['string']();break;case 0x2:_0x1ad454['threads']&&_0x1ad454['threads']['length']||(_0x1ad454['threads']=[]),_0x1ad454['threads']['push'](_0x2398c2['string']());break;case 0x3:_0x1ad454['threadsV2']&&_0x1ad454['threadsV2']['length']||(_0x1ad454['threadsV2']=[]),_0x1ad454['threadsV2']['push']($root['CommentsThreadDescriptor']['decode'](_0x2398c2,_0x2398c2['uint32'](),void 0x0,_0xccf4ad+0x1));break;default:_0x2398c2['skipType'](0x7&tag,_0xccf4ad);}}return _0x1ad454;},CommentsV2ConnectResponse['decodeDelimited']=function(_0x53b769){return _0x53b769 instanceof _0x470ccf||(_0x53b769=new _0x470ccf(_0x53b769)),this['decode'](_0x53b769,_0x53b769['uint32']());},CommentsV2ConnectResponse['verify']=function(_0x276e7f,_0x424238){if('object'!=typeof _0x276e7f||null===_0x276e7f)return'object\x20expected';if(void 0x0===_0x424238&&(_0x424238=0x0),_0x424238>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x276e7f['channel']&&Object['hasOwnProperty']['call'](_0x276e7f,'channel')&&!$util['isString'](_0x276e7f['channel']))return'channel:\x20string\x20expected';if(null!=_0x276e7f['threads']&&Object['hasOwnProperty']['call'](_0x276e7f,'threads')){if(!Array['isArray'](_0x276e7f['threads']))return'threads:\x20array\x20expected';for(var _0x39f05e=0x0;_0x39f05e<_0x276e7f['threads']['length'];++_0x39f05e)if(!$util['isString'](_0x276e7f['threads'][_0x39f05e]))return'threads:\x20string[]\x20expected';}if(null!=_0x276e7f['threadsV2']&&Object['hasOwnProperty']['call'](_0x276e7f,'threadsV2')){if(!Array['isArray'](_0x276e7f['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x39f05e=0x0;_0x39f05e<_0x276e7f['threadsV2']['length'];++_0x39f05e){var _0x17abef=$root['CommentsThreadDescriptor']['verify'](_0x276e7f['threadsV2'][_0x39f05e],_0x424238+0x1);if(_0x17abef)return'threadsV2.'+_0x17abef;}}return null;},CommentsV2ConnectResponse['fromObject']=function(object,_0x124378){if(object instanceof $root['CommentsV2ConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ConnectResponse:\x20object\x20expected');if(void 0x0===_0x124378&&(_0x124378=0x0),_0x124378>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1af34e=new $root['CommentsV2ConnectResponse']();if(null!=object['channel']&&(_0x1af34e['channel']=String(object['channel'])),object['threads']){if(!Array['isArray'](object['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x1af34e['threads']=[];for(var _0xae0f47=0x0;_0xae0f47<object['threads']['length'];++_0xae0f47)_0x1af34e['threads'][_0xae0f47]=String(object['threads'][_0xae0f47]);}if(object['threadsV2']){if(!Array['isArray'](object['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');_0x1af34e['threadsV2']=[];for(_0xae0f47=0x0;_0xae0f47<object['threadsV2']['length'];++_0xae0f47){if(!$util['isObject'](object['threadsV2'][_0xae0f47]))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x1af34e['threadsV2'][_0xae0f47]=$root['CommentsThreadDescriptor']['fromObject'](object['threadsV2'][_0xae0f47],_0x124378+0x1);}}return _0x1af34e;},CommentsV2ConnectResponse['toObject']=function(_0x4f932f,options,_0x5a24d7){if(options||(options={}),void 0x0===_0x5a24d7&&(_0x5a24d7=0x0),_0x5a24d7>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['threads']=[],object['threadsV2']=[]),options['defaults']&&(object['channel']=''),null!=_0x4f932f['channel']&&Object['hasOwnProperty']['call'](_0x4f932f,'channel')&&(object['channel']=_0x4f932f['channel']),_0x4f932f['threads']&&_0x4f932f['threads']['length']){object['threads']=[];for(var _0x18a0c5=0x0;_0x18a0c5<_0x4f932f['threads']['length'];++_0x18a0c5)object['threads'][_0x18a0c5]=_0x4f932f['threads'][_0x18a0c5];}if(_0x4f932f['threadsV2']&&_0x4f932f['threadsV2']['length']){object['threadsV2']=[];for(_0x18a0c5=0x0;_0x18a0c5<_0x4f932f['threadsV2']['length'];++_0x18a0c5)object['threadsV2'][_0x18a0c5]=$root['CommentsThreadDescriptor']['toObject'](_0x4f932f['threadsV2'][_0x18a0c5],options,_0x5a24d7+0x1);}return object;},CommentsV2ConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ConnectResponse';},CommentsV2ConnectResponse;}()),$root['CommentsV2AddCommentResponse']=(function(){function CommentsV2AddCommentResponse(properties){if(properties){for(var _0x833cc1=Object['keys'](properties),_0x45538d=0x0;_0x45538d<_0x833cc1['length'];++_0x45538d)null!=properties[_0x833cc1[_0x45538d]]&&'__proto__'!==_0x833cc1[_0x45538d]&&(this[_0x833cc1[_0x45538d]]=properties[_0x833cc1[_0x45538d]]);}}return CommentsV2AddCommentResponse['prototype']['commentThreadId']='',CommentsV2AddCommentResponse['prototype']['commentId']='',CommentsV2AddCommentResponse['prototype']['createdAt']='',CommentsV2AddCommentResponse['create']=function(properties){return new CommentsV2AddCommentResponse(properties);},CommentsV2AddCommentResponse['encode']=function(_0x57b6d4,writer,_0xb31373){if(writer||(writer=$Writer['create']()),void 0x0===_0xb31373&&(_0xb31373=0x0),_0xb31373>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x57b6d4['commentThreadId']&&Object['hasOwnProperty']['call'](_0x57b6d4,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x57b6d4['commentThreadId']),null!=_0x57b6d4['commentId']&&Object['hasOwnProperty']['call'](_0x57b6d4,'commentId')&&writer['uint32'](0x12)['string'](_0x57b6d4['commentId']),null!=_0x57b6d4['createdAt']&&Object['hasOwnProperty']['call'](_0x57b6d4,'createdAt')&&writer['uint32'](0x1a)['string'](_0x57b6d4['createdAt']),writer;},CommentsV2AddCommentResponse['encodeDelimited']=function(_0x2c132d,writer){return this['encode'](_0x2c132d,writer)['ldelim']();},CommentsV2AddCommentResponse['decode']=function(_0x23be2a,length,_0x33862d,_0x1ca36f){if(_0x23be2a instanceof _0x470ccf||(_0x23be2a=_0x470ccf['create'](_0x23be2a)),void 0x0===_0x1ca36f&&(_0x1ca36f=0x0),_0x1ca36f>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x52a319=void 0x0===length?_0x23be2a['len']:_0x23be2a['pos']+length,_0x3f73ac=new $root['CommentsV2AddCommentResponse']();_0x23be2a['pos']<_0x52a319;){var tag=_0x23be2a['uint32']();if(tag===_0x33862d)break;switch(tag>>>0x3){case 0x1:_0x3f73ac['commentThreadId']=_0x23be2a['string']();break;case 0x2:_0x3f73ac['commentId']=_0x23be2a['string']();break;case 0x3:_0x3f73ac['createdAt']=_0x23be2a['string']();break;default:_0x23be2a['skipType'](0x7&tag,_0x1ca36f);}}return _0x3f73ac;},CommentsV2AddCommentResponse['decodeDelimited']=function(_0x3c67b1){return _0x3c67b1 instanceof _0x470ccf||(_0x3c67b1=new _0x470ccf(_0x3c67b1)),this['decode'](_0x3c67b1,_0x3c67b1['uint32']());},CommentsV2AddCommentResponse['verify']=function(_0x5a34ec,_0x2d972a){return'object'!=typeof _0x5a34ec||null===_0x5a34ec?'object\x20expected':(void 0x0===_0x2d972a&&(_0x2d972a=0x0),_0x2d972a>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5a34ec['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5a34ec,'commentThreadId')&&!$util['isString'](_0x5a34ec['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5a34ec['commentId']&&Object['hasOwnProperty']['call'](_0x5a34ec,'commentId')&&!$util['isString'](_0x5a34ec['commentId'])?'commentId:\x20string\x20expected':null!=_0x5a34ec['createdAt']&&Object['hasOwnProperty']['call'](_0x5a34ec,'createdAt')&&!$util['isString'](_0x5a34ec['createdAt'])?'createdAt:\x20string\x20expected':null);},CommentsV2AddCommentResponse['fromObject']=function(object,_0x3b1ea2){if(object instanceof $root['CommentsV2AddCommentResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentResponse:\x20object\x20expected');if(void 0x0===_0x3b1ea2&&(_0x3b1ea2=0x0),_0x3b1ea2>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ac9fb=new $root['CommentsV2AddCommentResponse']();return null!=object['commentThreadId']&&(_0x2ac9fb['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x2ac9fb['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x2ac9fb['createdAt']=String(object['createdAt'])),_0x2ac9fb;},CommentsV2AddCommentResponse['toObject']=function(_0x1e06f1,options,_0x7e9750){if(options||(options={}),void 0x0===_0x7e9750&&(_0x7e9750=0x0),_0x7e9750>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['createdAt']=''),null!=_0x1e06f1['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1e06f1,'commentThreadId')&&(object['commentThreadId']=_0x1e06f1['commentThreadId']),null!=_0x1e06f1['commentId']&&Object['hasOwnProperty']['call'](_0x1e06f1,'commentId')&&(object['commentId']=_0x1e06f1['commentId']),null!=_0x1e06f1['createdAt']&&Object['hasOwnProperty']['call'](_0x1e06f1,'createdAt')&&(object['createdAt']=_0x1e06f1['createdAt']),object;},CommentsV2AddCommentResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentResponse';},CommentsV2AddCommentResponse;}()),$root['CommentsV2ResolveCommentThreadResponse']=(function(){function CommentsV2ResolveCommentThreadResponse(properties){if(properties){for(var _0x421ce4=Object['keys'](properties),_0x326ab3=0x0;_0x326ab3<_0x421ce4['length'];++_0x326ab3)null!=properties[_0x421ce4[_0x326ab3]]&&'__proto__'!==_0x421ce4[_0x326ab3]&&(this[_0x421ce4[_0x326ab3]]=properties[_0x421ce4[_0x326ab3]]);}}return CommentsV2ResolveCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2ResolveCommentThreadResponse['prototype']['documentId']='',CommentsV2ResolveCommentThreadResponse['prototype']['resolvedAt']='',CommentsV2ResolveCommentThreadResponse['prototype']['resolvedBy']='',CommentsV2ResolveCommentThreadResponse['create']=function(properties){return new CommentsV2ResolveCommentThreadResponse(properties);},CommentsV2ResolveCommentThreadResponse['encode']=function(_0x11fcc0,writer,_0x3c826d){if(writer||(writer=$Writer['create']()),void 0x0===_0x3c826d&&(_0x3c826d=0x0),_0x3c826d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x11fcc0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x11fcc0,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x11fcc0['commentThreadId']),null!=_0x11fcc0['documentId']&&Object['hasOwnProperty']['call'](_0x11fcc0,'documentId')&&writer['uint32'](0x12)['string'](_0x11fcc0['documentId']),null!=_0x11fcc0['resolvedAt']&&Object['hasOwnProperty']['call'](_0x11fcc0,'resolvedAt')&&writer['uint32'](0x1a)['string'](_0x11fcc0['resolvedAt']),null!=_0x11fcc0['resolvedBy']&&Object['hasOwnProperty']['call'](_0x11fcc0,'resolvedBy')&&writer['uint32'](0x22)['string'](_0x11fcc0['resolvedBy']),writer;},CommentsV2ResolveCommentThreadResponse['encodeDelimited']=function(_0x2dbfcc,writer){return this['encode'](_0x2dbfcc,writer)['ldelim']();},CommentsV2ResolveCommentThreadResponse['decode']=function(_0x25ee0f,length,_0x1867a4,_0x33441f){if(_0x25ee0f instanceof _0x470ccf||(_0x25ee0f=_0x470ccf['create'](_0x25ee0f)),void 0x0===_0x33441f&&(_0x33441f=0x0),_0x33441f>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8f6c8a=void 0x0===length?_0x25ee0f['len']:_0x25ee0f['pos']+length,_0x42b787=new $root['CommentsV2ResolveCommentThreadResponse']();_0x25ee0f['pos']<_0x8f6c8a;){var tag=_0x25ee0f['uint32']();if(tag===_0x1867a4)break;switch(tag>>>0x3){case 0x1:_0x42b787['commentThreadId']=_0x25ee0f['string']();break;case 0x2:_0x42b787['documentId']=_0x25ee0f['string']();break;case 0x3:_0x42b787['resolvedAt']=_0x25ee0f['string']();break;case 0x4:_0x42b787['resolvedBy']=_0x25ee0f['string']();break;default:_0x25ee0f['skipType'](0x7&tag,_0x33441f);}}return _0x42b787;},CommentsV2ResolveCommentThreadResponse['decodeDelimited']=function(_0x34ca44){return _0x34ca44 instanceof _0x470ccf||(_0x34ca44=new _0x470ccf(_0x34ca44)),this['decode'](_0x34ca44,_0x34ca44['uint32']());},CommentsV2ResolveCommentThreadResponse['verify']=function(_0x3b1123,_0x39b11c){return'object'!=typeof _0x3b1123||null===_0x3b1123?'object\x20expected':(void 0x0===_0x39b11c&&(_0x39b11c=0x0),_0x39b11c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3b1123['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3b1123,'commentThreadId')&&!$util['isString'](_0x3b1123['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3b1123['documentId']&&Object['hasOwnProperty']['call'](_0x3b1123,'documentId')&&!$util['isString'](_0x3b1123['documentId'])?'documentId:\x20string\x20expected':null!=_0x3b1123['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3b1123,'resolvedAt')&&!$util['isString'](_0x3b1123['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x3b1123['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3b1123,'resolvedBy')&&!$util['isString'](_0x3b1123['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},CommentsV2ResolveCommentThreadResponse['fromObject']=function(object,_0x1d9161){if(object instanceof $root['CommentsV2ResolveCommentThreadResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ResolveCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x1d9161&&(_0x1d9161=0x0),_0x1d9161>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x54cced=new $root['CommentsV2ResolveCommentThreadResponse']();return null!=object['commentThreadId']&&(_0x54cced['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x54cced['documentId']=String(object['documentId'])),null!=object['resolvedAt']&&(_0x54cced['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x54cced['resolvedBy']=String(object['resolvedBy'])),_0x54cced;},CommentsV2ResolveCommentThreadResponse['toObject']=function(_0x499b0f,options,_0x21dbb4){if(options||(options={}),void 0x0===_0x21dbb4&&(_0x21dbb4=0x0),_0x21dbb4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['resolvedAt']='',object['resolvedBy']=''),null!=_0x499b0f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x499b0f,'commentThreadId')&&(object['commentThreadId']=_0x499b0f['commentThreadId']),null!=_0x499b0f['documentId']&&Object['hasOwnProperty']['call'](_0x499b0f,'documentId')&&(object['documentId']=_0x499b0f['documentId']),null!=_0x499b0f['resolvedAt']&&Object['hasOwnProperty']['call'](_0x499b0f,'resolvedAt')&&(object['resolvedAt']=_0x499b0f['resolvedAt']),null!=_0x499b0f['resolvedBy']&&Object['hasOwnProperty']['call'](_0x499b0f,'resolvedBy')&&(object['resolvedBy']=_0x499b0f['resolvedBy']),object;},CommentsV2ResolveCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ResolveCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ResolveCommentThreadResponse';},CommentsV2ResolveCommentThreadResponse;}()),$root['CommentsV2AddCommentThreadResponse']=(function(){function CommentsV2AddCommentThreadResponse(properties){if(this['comments']=[],properties){for(var _0x4494fb=Object['keys'](properties),_0x30542f=0x0;_0x30542f<_0x4494fb['length'];++_0x30542f)null!=properties[_0x4494fb[_0x30542f]]&&'__proto__'!==_0x4494fb[_0x30542f]&&(this[_0x4494fb[_0x30542f]]=properties[_0x4494fb[_0x30542f]]);}}return CommentsV2AddCommentThreadResponse['prototype']['commentThreadId']='',CommentsV2AddCommentThreadResponse['prototype']['createdAt']='',CommentsV2AddCommentThreadResponse['prototype']['comments']=$util['emptyArray'],CommentsV2AddCommentThreadResponse['create']=function(properties){return new CommentsV2AddCommentThreadResponse(properties);},CommentsV2AddCommentThreadResponse['encode']=function(_0x21fbb0,writer,_0x5b0f75){if(writer||(writer=$Writer['create']()),void 0x0===_0x5b0f75&&(_0x5b0f75=0x0),_0x5b0f75>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x21fbb0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x21fbb0,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x21fbb0['commentThreadId']),null!=_0x21fbb0['createdAt']&&Object['hasOwnProperty']['call'](_0x21fbb0,'createdAt')&&writer['uint32'](0x12)['string'](_0x21fbb0['createdAt']),null!=_0x21fbb0['comments']&&_0x21fbb0['comments']['length']){for(var _0x3f5fb1=0x0;_0x3f5fb1<_0x21fbb0['comments']['length'];++_0x3f5fb1)$root['CommentThreadAddedCommentDescriptor']['encode'](_0x21fbb0['comments'][_0x3f5fb1],writer['uint32'](0x1a)['fork'](),_0x5b0f75+0x1)['ldelim']();}return writer;},CommentsV2AddCommentThreadResponse['encodeDelimited']=function(_0x14c6c9,writer){return this['encode'](_0x14c6c9,writer)['ldelim']();},CommentsV2AddCommentThreadResponse['decode']=function(_0x554953,length,_0x466081,_0x33a601){if(_0x554953 instanceof _0x470ccf||(_0x554953=_0x470ccf['create'](_0x554953)),void 0x0===_0x33a601&&(_0x33a601=0x0),_0x33a601>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3cfa87=void 0x0===length?_0x554953['len']:_0x554953['pos']+length,_0x50aeb2=new $root['CommentsV2AddCommentThreadResponse']();_0x554953['pos']<_0x3cfa87;){var tag=_0x554953['uint32']();if(tag===_0x466081)break;switch(tag>>>0x3){case 0x1:_0x50aeb2['commentThreadId']=_0x554953['string']();break;case 0x2:_0x50aeb2['createdAt']=_0x554953['string']();break;case 0x3:_0x50aeb2['comments']&&_0x50aeb2['comments']['length']||(_0x50aeb2['comments']=[]),_0x50aeb2['comments']['push']($root['CommentThreadAddedCommentDescriptor']['decode'](_0x554953,_0x554953['uint32'](),void 0x0,_0x33a601+0x1));break;default:_0x554953['skipType'](0x7&tag,_0x33a601);}}return _0x50aeb2;},CommentsV2AddCommentThreadResponse['decodeDelimited']=function(_0x433b30){return _0x433b30 instanceof _0x470ccf||(_0x433b30=new _0x470ccf(_0x433b30)),this['decode'](_0x433b30,_0x433b30['uint32']());},CommentsV2AddCommentThreadResponse['verify']=function(_0xd172b3,_0x47b2eb){if('object'!=typeof _0xd172b3||null===_0xd172b3)return'object\x20expected';if(void 0x0===_0x47b2eb&&(_0x47b2eb=0x0),_0x47b2eb>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xd172b3['commentThreadId']&&Object['hasOwnProperty']['call'](_0xd172b3,'commentThreadId')&&!$util['isString'](_0xd172b3['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0xd172b3['createdAt']&&Object['hasOwnProperty']['call'](_0xd172b3,'createdAt')&&!$util['isString'](_0xd172b3['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0xd172b3['comments']&&Object['hasOwnProperty']['call'](_0xd172b3,'comments')){if(!Array['isArray'](_0xd172b3['comments']))return'comments:\x20array\x20expected';for(var _0xf4ad32=0x0;_0xf4ad32<_0xd172b3['comments']['length'];++_0xf4ad32){var _0x4ff5b2=$root['CommentThreadAddedCommentDescriptor']['verify'](_0xd172b3['comments'][_0xf4ad32],_0x47b2eb+0x1);if(_0x4ff5b2)return'comments.'+_0x4ff5b2;}}return null;},CommentsV2AddCommentThreadResponse['fromObject']=function(object,_0x5e59a1){if(object instanceof $root['CommentsV2AddCommentThreadResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x5e59a1&&(_0x5e59a1=0x0),_0x5e59a1>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x11dba7=new $root['CommentsV2AddCommentThreadResponse']();if(null!=object['commentThreadId']&&(_0x11dba7['commentThreadId']=String(object['commentThreadId'])),null!=object['createdAt']&&(_0x11dba7['createdAt']=String(object['createdAt'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x11dba7['comments']=[];for(var _0x38c6ac=0x0;_0x38c6ac<object['comments']['length'];++_0x38c6ac){if(!$util['isObject'](object['comments'][_0x38c6ac]))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x11dba7['comments'][_0x38c6ac]=$root['CommentThreadAddedCommentDescriptor']['fromObject'](object['comments'][_0x38c6ac],_0x5e59a1+0x1);}}return _0x11dba7;},CommentsV2AddCommentThreadResponse['toObject']=function(_0x1a7f50,options,_0x26dd15){if(options||(options={}),void 0x0===_0x26dd15&&(_0x26dd15=0x0),_0x26dd15>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['commentThreadId']='',object['createdAt']=''),null!=_0x1a7f50['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1a7f50,'commentThreadId')&&(object['commentThreadId']=_0x1a7f50['commentThreadId']),null!=_0x1a7f50['createdAt']&&Object['hasOwnProperty']['call'](_0x1a7f50,'createdAt')&&(object['createdAt']=_0x1a7f50['createdAt']),_0x1a7f50['comments']&&_0x1a7f50['comments']['length']){object['comments']=[];for(var _0x352ec4=0x0;_0x352ec4<_0x1a7f50['comments']['length'];++_0x352ec4)object['comments'][_0x352ec4]=$root['CommentThreadAddedCommentDescriptor']['toObject'](_0x1a7f50['comments'][_0x352ec4],options,_0x26dd15+0x1);}return object;},CommentsV2AddCommentThreadResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentThreadResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentThreadResponse';},CommentsV2AddCommentThreadResponse;}()),$root['CommentsV2UpdateCommentMessage']=(function(){function CommentsV2UpdateCommentMessage(properties){if(properties){for(var _0x8a92e1=Object['keys'](properties),_0x23e835=0x0;_0x23e835<_0x8a92e1['length'];++_0x23e835)null!=properties[_0x8a92e1[_0x23e835]]&&'__proto__'!==_0x8a92e1[_0x23e835]&&(this[_0x8a92e1[_0x23e835]]=properties[_0x8a92e1[_0x23e835]]);}}return CommentsV2UpdateCommentMessage['prototype']['commentThreadId']='',CommentsV2UpdateCommentMessage['prototype']['commentId']='',CommentsV2UpdateCommentMessage['prototype']['content']='',CommentsV2UpdateCommentMessage['prototype']['documentId']='',CommentsV2UpdateCommentMessage['prototype']['attributes']='',CommentsV2UpdateCommentMessage['prototype']['isAttributesUpdated']=!0x1,CommentsV2UpdateCommentMessage['prototype']['commentThread']=null,CommentsV2UpdateCommentMessage['create']=function(properties){return new CommentsV2UpdateCommentMessage(properties);},CommentsV2UpdateCommentMessage['encode']=function(_0x365b38,writer,_0x339f0c){if(writer||(writer=$Writer['create']()),void 0x0===_0x339f0c&&(_0x339f0c=0x0),_0x339f0c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x365b38['commentThreadId']&&Object['hasOwnProperty']['call'](_0x365b38,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x365b38['commentThreadId']),null!=_0x365b38['commentId']&&Object['hasOwnProperty']['call'](_0x365b38,'commentId')&&writer['uint32'](0x12)['string'](_0x365b38['commentId']),null!=_0x365b38['content']&&Object['hasOwnProperty']['call'](_0x365b38,'content')&&writer['uint32'](0x1a)['string'](_0x365b38['content']),null!=_0x365b38['documentId']&&Object['hasOwnProperty']['call'](_0x365b38,'documentId')&&writer['uint32'](0x22)['string'](_0x365b38['documentId']),null!=_0x365b38['attributes']&&Object['hasOwnProperty']['call'](_0x365b38,'attributes')&&writer['uint32'](0x2a)['string'](_0x365b38['attributes']),null!=_0x365b38['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x365b38,'isAttributesUpdated')&&writer['uint32'](0x30)['bool'](_0x365b38['isAttributesUpdated']),null!=_0x365b38['commentThread']&&Object['hasOwnProperty']['call'](_0x365b38,'commentThread')&&$root['CommentsThreadDescriptor']['encode'](_0x365b38['commentThread'],writer['uint32'](0x3a)['fork'](),_0x339f0c+0x1)['ldelim'](),writer;},CommentsV2UpdateCommentMessage['encodeDelimited']=function(_0x2cc80c,writer){return this['encode'](_0x2cc80c,writer)['ldelim']();},CommentsV2UpdateCommentMessage['decode']=function(_0x500939,length,_0x3445f7,_0xea02b6){if(_0x500939 instanceof _0x470ccf||(_0x500939=_0x470ccf['create'](_0x500939)),void 0x0===_0xea02b6&&(_0xea02b6=0x0),_0xea02b6>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1ba311=void 0x0===length?_0x500939['len']:_0x500939['pos']+length,_0x2f24ef=new $root['CommentsV2UpdateCommentMessage']();_0x500939['pos']<_0x1ba311;){var tag=_0x500939['uint32']();if(tag===_0x3445f7)break;switch(tag>>>0x3){case 0x1:_0x2f24ef['commentThreadId']=_0x500939['string']();break;case 0x2:_0x2f24ef['commentId']=_0x500939['string']();break;case 0x3:_0x2f24ef['content']=_0x500939['string']();break;case 0x4:_0x2f24ef['documentId']=_0x500939['string']();break;case 0x5:_0x2f24ef['attributes']=_0x500939['string']();break;case 0x6:_0x2f24ef['isAttributesUpdated']=_0x500939['bool']();break;case 0x7:_0x2f24ef['commentThread']=$root['CommentsThreadDescriptor']['decode'](_0x500939,_0x500939['uint32'](),void 0x0,_0xea02b6+0x1);break;default:_0x500939['skipType'](0x7&tag,_0xea02b6);}}return _0x2f24ef;},CommentsV2UpdateCommentMessage['decodeDelimited']=function(_0xb54ed8){return _0xb54ed8 instanceof _0x470ccf||(_0xb54ed8=new _0x470ccf(_0xb54ed8)),this['decode'](_0xb54ed8,_0xb54ed8['uint32']());},CommentsV2UpdateCommentMessage['verify']=function(_0x2e07b6,_0x5b5a9e){if('object'!=typeof _0x2e07b6||null===_0x2e07b6)return'object\x20expected';if(void 0x0===_0x5b5a9e&&(_0x5b5a9e=0x0),_0x5b5a9e>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2e07b6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2e07b6,'commentThreadId')&&!$util['isString'](_0x2e07b6['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2e07b6['commentId']&&Object['hasOwnProperty']['call'](_0x2e07b6,'commentId')&&!$util['isString'](_0x2e07b6['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x2e07b6['content']&&Object['hasOwnProperty']['call'](_0x2e07b6,'content')&&!$util['isString'](_0x2e07b6['content']))return'content:\x20string\x20expected';if(null!=_0x2e07b6['documentId']&&Object['hasOwnProperty']['call'](_0x2e07b6,'documentId')&&!$util['isString'](_0x2e07b6['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2e07b6['attributes']&&Object['hasOwnProperty']['call'](_0x2e07b6,'attributes')&&!$util['isString'](_0x2e07b6['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x2e07b6['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x2e07b6,'isAttributesUpdated')&&'boolean'!=typeof _0x2e07b6['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x2e07b6['commentThread']&&Object['hasOwnProperty']['call'](_0x2e07b6,'commentThread')){var _0x53a20e=$root['CommentsThreadDescriptor']['verify'](_0x2e07b6['commentThread'],_0x5b5a9e+0x1);if(_0x53a20e)return'commentThread.'+_0x53a20e;}return null;},CommentsV2UpdateCommentMessage['fromObject']=function(object,_0x4a06a9){if(object instanceof $root['CommentsV2UpdateCommentMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2UpdateCommentMessage:\x20object\x20expected');if(void 0x0===_0x4a06a9&&(_0x4a06a9=0x0),_0x4a06a9>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x361476=new $root['CommentsV2UpdateCommentMessage']();if(null!=object['commentThreadId']&&(_0x361476['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x361476['commentId']=String(object['commentId'])),null!=object['content']&&(_0x361476['content']=String(object['content'])),null!=object['documentId']&&(_0x361476['documentId']=String(object['documentId'])),null!=object['attributes']&&(_0x361476['attributes']=String(object['attributes'])),null!=object['isAttributesUpdated']&&(_0x361476['isAttributesUpdated']=Boolean(object['isAttributesUpdated'])),null!=object['commentThread']){if(!$util['isObject'](object['commentThread']))throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x361476['commentThread']=$root['CommentsThreadDescriptor']['fromObject'](object['commentThread'],_0x4a06a9+0x1);}return _0x361476;},CommentsV2UpdateCommentMessage['toObject']=function(_0x12cc2a,options,_0x345709){if(options||(options={}),void 0x0===_0x345709&&(_0x345709=0x0),_0x345709>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['content']='',object['documentId']='',object['attributes']='',object['isAttributesUpdated']=!0x1,object['commentThread']=null),null!=_0x12cc2a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x12cc2a,'commentThreadId')&&(object['commentThreadId']=_0x12cc2a['commentThreadId']),null!=_0x12cc2a['commentId']&&Object['hasOwnProperty']['call'](_0x12cc2a,'commentId')&&(object['commentId']=_0x12cc2a['commentId']),null!=_0x12cc2a['content']&&Object['hasOwnProperty']['call'](_0x12cc2a,'content')&&(object['content']=_0x12cc2a['content']),null!=_0x12cc2a['documentId']&&Object['hasOwnProperty']['call'](_0x12cc2a,'documentId')&&(object['documentId']=_0x12cc2a['documentId']),null!=_0x12cc2a['attributes']&&Object['hasOwnProperty']['call'](_0x12cc2a,'attributes')&&(object['attributes']=_0x12cc2a['attributes']),null!=_0x12cc2a['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x12cc2a,'isAttributesUpdated')&&(object['isAttributesUpdated']=_0x12cc2a['isAttributesUpdated']),null!=_0x12cc2a['commentThread']&&Object['hasOwnProperty']['call'](_0x12cc2a,'commentThread')&&(object['commentThread']=$root['CommentsThreadDescriptor']['toObject'](_0x12cc2a['commentThread'],options,_0x345709+0x1)),object;},CommentsV2UpdateCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2UpdateCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2UpdateCommentMessage';},CommentsV2UpdateCommentMessage;}()),$root['CommentsV2RemoveCommentThreadMessage']=(function(){function CommentsV2RemoveCommentThreadMessage(properties){if(properties){for(var _0x28696f=Object['keys'](properties),_0x56f800=0x0;_0x56f800<_0x28696f['length'];++_0x56f800)null!=properties[_0x28696f[_0x56f800]]&&'__proto__'!==_0x28696f[_0x56f800]&&(this[_0x28696f[_0x56f800]]=properties[_0x28696f[_0x56f800]]);}}return CommentsV2RemoveCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2RemoveCommentThreadMessage['prototype']['documentId']='',CommentsV2RemoveCommentThreadMessage['create']=function(properties){return new CommentsV2RemoveCommentThreadMessage(properties);},CommentsV2RemoveCommentThreadMessage['encode']=function(_0xcd83fb,writer,_0x1baaed){if(writer||(writer=$Writer['create']()),void 0x0===_0x1baaed&&(_0x1baaed=0x0),_0x1baaed>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xcd83fb['commentThreadId']&&Object['hasOwnProperty']['call'](_0xcd83fb,'commentThreadId')&&writer['uint32'](0xa)['string'](_0xcd83fb['commentThreadId']),null!=_0xcd83fb['documentId']&&Object['hasOwnProperty']['call'](_0xcd83fb,'documentId')&&writer['uint32'](0x12)['string'](_0xcd83fb['documentId']),writer;},CommentsV2RemoveCommentThreadMessage['encodeDelimited']=function(_0x25a394,writer){return this['encode'](_0x25a394,writer)['ldelim']();},CommentsV2RemoveCommentThreadMessage['decode']=function(_0x8be5b7,length,_0x3a5b08,_0x4170bf){if(_0x8be5b7 instanceof _0x470ccf||(_0x8be5b7=_0x470ccf['create'](_0x8be5b7)),void 0x0===_0x4170bf&&(_0x4170bf=0x0),_0x4170bf>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x6f9312=void 0x0===length?_0x8be5b7['len']:_0x8be5b7['pos']+length,_0x3f919e=new $root['CommentsV2RemoveCommentThreadMessage']();_0x8be5b7['pos']<_0x6f9312;){var tag=_0x8be5b7['uint32']();if(tag===_0x3a5b08)break;switch(tag>>>0x3){case 0x1:_0x3f919e['commentThreadId']=_0x8be5b7['string']();break;case 0x2:_0x3f919e['documentId']=_0x8be5b7['string']();break;default:_0x8be5b7['skipType'](0x7&tag,_0x4170bf);}}return _0x3f919e;},CommentsV2RemoveCommentThreadMessage['decodeDelimited']=function(_0x5cdb6b){return _0x5cdb6b instanceof _0x470ccf||(_0x5cdb6b=new _0x470ccf(_0x5cdb6b)),this['decode'](_0x5cdb6b,_0x5cdb6b['uint32']());},CommentsV2RemoveCommentThreadMessage['verify']=function(_0x1dd75a,_0xa82674){return'object'!=typeof _0x1dd75a||null===_0x1dd75a?'object\x20expected':(void 0x0===_0xa82674&&(_0xa82674=0x0),_0xa82674>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1dd75a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1dd75a,'commentThreadId')&&!$util['isString'](_0x1dd75a['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1dd75a['documentId']&&Object['hasOwnProperty']['call'](_0x1dd75a,'documentId')&&!$util['isString'](_0x1dd75a['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2RemoveCommentThreadMessage['fromObject']=function(object,_0x22f253){if(object instanceof $root['CommentsV2RemoveCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2RemoveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x22f253&&(_0x22f253=0x0),_0x22f253>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x477a1f=new $root['CommentsV2RemoveCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x477a1f['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x477a1f['documentId']=String(object['documentId'])),_0x477a1f;},CommentsV2RemoveCommentThreadMessage['toObject']=function(_0x550b43,options,_0x3093f4){if(options||(options={}),void 0x0===_0x3093f4&&(_0x3093f4=0x0),_0x3093f4>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x550b43['commentThreadId']&&Object['hasOwnProperty']['call'](_0x550b43,'commentThreadId')&&(object['commentThreadId']=_0x550b43['commentThreadId']),null!=_0x550b43['documentId']&&Object['hasOwnProperty']['call'](_0x550b43,'documentId')&&(object['documentId']=_0x550b43['documentId']),object;},CommentsV2RemoveCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2RemoveCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2RemoveCommentThreadMessage';},CommentsV2RemoveCommentThreadMessage;}()),$root['CommentsV2RemoveCommentMessage']=(function(){function CommentsV2RemoveCommentMessage(properties){if(properties){for(var _0x340722=Object['keys'](properties),_0x4d589=0x0;_0x4d589<_0x340722['length'];++_0x4d589)null!=properties[_0x340722[_0x4d589]]&&'__proto__'!==_0x340722[_0x4d589]&&(this[_0x340722[_0x4d589]]=properties[_0x340722[_0x4d589]]);}}return CommentsV2RemoveCommentMessage['prototype']['commentThreadId']='',CommentsV2RemoveCommentMessage['prototype']['commentId']='',CommentsV2RemoveCommentMessage['prototype']['documentId']='',CommentsV2RemoveCommentMessage['create']=function(properties){return new CommentsV2RemoveCommentMessage(properties);},CommentsV2RemoveCommentMessage['encode']=function(_0x295c8c,writer,_0x2f6a77){if(writer||(writer=$Writer['create']()),void 0x0===_0x2f6a77&&(_0x2f6a77=0x0),_0x2f6a77>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x295c8c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x295c8c,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x295c8c['commentThreadId']),null!=_0x295c8c['commentId']&&Object['hasOwnProperty']['call'](_0x295c8c,'commentId')&&writer['uint32'](0x12)['string'](_0x295c8c['commentId']),null!=_0x295c8c['documentId']&&Object['hasOwnProperty']['call'](_0x295c8c,'documentId')&&writer['uint32'](0x1a)['string'](_0x295c8c['documentId']),writer;},CommentsV2RemoveCommentMessage['encodeDelimited']=function(_0x5a08df,writer){return this['encode'](_0x5a08df,writer)['ldelim']();},CommentsV2RemoveCommentMessage['decode']=function(_0x2a7d6a,length,_0xa8d07f,_0x15bd5b){if(_0x2a7d6a instanceof _0x470ccf||(_0x2a7d6a=_0x470ccf['create'](_0x2a7d6a)),void 0x0===_0x15bd5b&&(_0x15bd5b=0x0),_0x15bd5b>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1ca3b2=void 0x0===length?_0x2a7d6a['len']:_0x2a7d6a['pos']+length,_0x5532c1=new $root['CommentsV2RemoveCommentMessage']();_0x2a7d6a['pos']<_0x1ca3b2;){var tag=_0x2a7d6a['uint32']();if(tag===_0xa8d07f)break;switch(tag>>>0x3){case 0x1:_0x5532c1['commentThreadId']=_0x2a7d6a['string']();break;case 0x2:_0x5532c1['commentId']=_0x2a7d6a['string']();break;case 0x3:_0x5532c1['documentId']=_0x2a7d6a['string']();break;default:_0x2a7d6a['skipType'](0x7&tag,_0x15bd5b);}}return _0x5532c1;},CommentsV2RemoveCommentMessage['decodeDelimited']=function(_0x3132a0){return _0x3132a0 instanceof _0x470ccf||(_0x3132a0=new _0x470ccf(_0x3132a0)),this['decode'](_0x3132a0,_0x3132a0['uint32']());},CommentsV2RemoveCommentMessage['verify']=function(_0x5b224e,_0x1a123d){return'object'!=typeof _0x5b224e||null===_0x5b224e?'object\x20expected':(void 0x0===_0x1a123d&&(_0x1a123d=0x0),_0x1a123d>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5b224e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5b224e,'commentThreadId')&&!$util['isString'](_0x5b224e['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5b224e['commentId']&&Object['hasOwnProperty']['call'](_0x5b224e,'commentId')&&!$util['isString'](_0x5b224e['commentId'])?'commentId:\x20string\x20expected':null!=_0x5b224e['documentId']&&Object['hasOwnProperty']['call'](_0x5b224e,'documentId')&&!$util['isString'](_0x5b224e['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2RemoveCommentMessage['fromObject']=function(object,_0x500d9a){if(object instanceof $root['CommentsV2RemoveCommentMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2RemoveCommentMessage:\x20object\x20expected');if(void 0x0===_0x500d9a&&(_0x500d9a=0x0),_0x500d9a>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x594b22=new $root['CommentsV2RemoveCommentMessage']();return null!=object['commentThreadId']&&(_0x594b22['commentThreadId']=String(object['commentThreadId'])),null!=object['commentId']&&(_0x594b22['commentId']=String(object['commentId'])),null!=object['documentId']&&(_0x594b22['documentId']=String(object['documentId'])),_0x594b22;},CommentsV2RemoveCommentMessage['toObject']=function(_0x17f0c7,options,_0x3dc65d){if(options||(options={}),void 0x0===_0x3dc65d&&(_0x3dc65d=0x0),_0x3dc65d>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['commentId']='',object['documentId']=''),null!=_0x17f0c7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x17f0c7,'commentThreadId')&&(object['commentThreadId']=_0x17f0c7['commentThreadId']),null!=_0x17f0c7['commentId']&&Object['hasOwnProperty']['call'](_0x17f0c7,'commentId')&&(object['commentId']=_0x17f0c7['commentId']),null!=_0x17f0c7['documentId']&&Object['hasOwnProperty']['call'](_0x17f0c7,'documentId')&&(object['documentId']=_0x17f0c7['documentId']),object;},CommentsV2RemoveCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2RemoveCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2RemoveCommentMessage';},CommentsV2RemoveCommentMessage;}()),$root['CommentsV2GetDocumentThreadsMessage']=(function(){function CommentsV2GetDocumentThreadsMessage(properties){if(properties){for(var _0xa11944=Object['keys'](properties),_0x12a8d6=0x0;_0x12a8d6<_0xa11944['length'];++_0x12a8d6)null!=properties[_0xa11944[_0x12a8d6]]&&'__proto__'!==_0xa11944[_0x12a8d6]&&(this[_0xa11944[_0x12a8d6]]=properties[_0xa11944[_0x12a8d6]]);}}return CommentsV2GetDocumentThreadsMessage['prototype']['documentId']='',CommentsV2GetDocumentThreadsMessage['create']=function(properties){return new CommentsV2GetDocumentThreadsMessage(properties);},CommentsV2GetDocumentThreadsMessage['encode']=function(_0x32cb26,writer,_0x26cd24){if(writer||(writer=$Writer['create']()),void 0x0===_0x26cd24&&(_0x26cd24=0x0),_0x26cd24>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x32cb26['documentId']&&Object['hasOwnProperty']['call'](_0x32cb26,'documentId')&&writer['uint32'](0xa)['string'](_0x32cb26['documentId']),writer;},CommentsV2GetDocumentThreadsMessage['encodeDelimited']=function(_0x26e524,writer){return this['encode'](_0x26e524,writer)['ldelim']();},CommentsV2GetDocumentThreadsMessage['decode']=function(_0x34026d,length,_0x50bb8f,_0x15f86b){if(_0x34026d instanceof _0x470ccf||(_0x34026d=_0x470ccf['create'](_0x34026d)),void 0x0===_0x15f86b&&(_0x15f86b=0x0),_0x15f86b>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x535f33=void 0x0===length?_0x34026d['len']:_0x34026d['pos']+length,_0x4c13ca=new $root['CommentsV2GetDocumentThreadsMessage']();_0x34026d['pos']<_0x535f33;){var tag=_0x34026d['uint32']();if(tag===_0x50bb8f)break;if(tag>>>0x3==0x1)_0x4c13ca['documentId']=_0x34026d['string']();else _0x34026d['skipType'](0x7&tag,_0x15f86b);}return _0x4c13ca;},CommentsV2GetDocumentThreadsMessage['decodeDelimited']=function(_0x510ad3){return _0x510ad3 instanceof _0x470ccf||(_0x510ad3=new _0x470ccf(_0x510ad3)),this['decode'](_0x510ad3,_0x510ad3['uint32']());},CommentsV2GetDocumentThreadsMessage['verify']=function(_0x29e2ff,_0x276cf7){return'object'!=typeof _0x29e2ff||null===_0x29e2ff?'object\x20expected':(void 0x0===_0x276cf7&&(_0x276cf7=0x0),_0x276cf7>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x29e2ff['documentId']&&Object['hasOwnProperty']['call'](_0x29e2ff,'documentId')&&!$util['isString'](_0x29e2ff['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2GetDocumentThreadsMessage['fromObject']=function(object,_0x12a6a7){if(object instanceof $root['CommentsV2GetDocumentThreadsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetDocumentThreadsMessage:\x20object\x20expected');if(void 0x0===_0x12a6a7&&(_0x12a6a7=0x0),_0x12a6a7>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x23309f=new $root['CommentsV2GetDocumentThreadsMessage']();return null!=object['documentId']&&(_0x23309f['documentId']=String(object['documentId'])),_0x23309f;},CommentsV2GetDocumentThreadsMessage['toObject']=function(_0x2f778e,options,_0x1df4e8){if(options||(options={}),void 0x0===_0x1df4e8&&(_0x1df4e8=0x0),_0x1df4e8>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x2f778e['documentId']&&Object['hasOwnProperty']['call'](_0x2f778e,'documentId')&&(object['documentId']=_0x2f778e['documentId']),object;},CommentsV2GetDocumentThreadsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetDocumentThreadsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetDocumentThreadsMessage';},CommentsV2GetDocumentThreadsMessage;}()),$root['CommentsV2GetCommentThreadMessage']=(function(){function CommentsV2GetCommentThreadMessage(properties){if(properties){for(var _0x2bbe8f=Object['keys'](properties),_0x47d186=0x0;_0x47d186<_0x2bbe8f['length'];++_0x47d186)null!=properties[_0x2bbe8f[_0x47d186]]&&'__proto__'!==_0x2bbe8f[_0x47d186]&&(this[_0x2bbe8f[_0x47d186]]=properties[_0x2bbe8f[_0x47d186]]);}}return CommentsV2GetCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2GetCommentThreadMessage['prototype']['documentId']='',CommentsV2GetCommentThreadMessage['create']=function(properties){return new CommentsV2GetCommentThreadMessage(properties);},CommentsV2GetCommentThreadMessage['encode']=function(_0x1b08b6,writer,_0xda6c60){if(writer||(writer=$Writer['create']()),void 0x0===_0xda6c60&&(_0xda6c60=0x0),_0xda6c60>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1b08b6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1b08b6,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x1b08b6['commentThreadId']),null!=_0x1b08b6['documentId']&&Object['hasOwnProperty']['call'](_0x1b08b6,'documentId')&&writer['uint32'](0x12)['string'](_0x1b08b6['documentId']),writer;},CommentsV2GetCommentThreadMessage['encodeDelimited']=function(_0x3ed0ed,writer){return this['encode'](_0x3ed0ed,writer)['ldelim']();},CommentsV2GetCommentThreadMessage['decode']=function(_0x42613c,length,_0x4c6512,_0x278027){if(_0x42613c instanceof _0x470ccf||(_0x42613c=_0x470ccf['create'](_0x42613c)),void 0x0===_0x278027&&(_0x278027=0x0),_0x278027>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2e5635=void 0x0===length?_0x42613c['len']:_0x42613c['pos']+length,_0x23e0df=new $root['CommentsV2GetCommentThreadMessage']();_0x42613c['pos']<_0x2e5635;){var tag=_0x42613c['uint32']();if(tag===_0x4c6512)break;switch(tag>>>0x3){case 0x1:_0x23e0df['commentThreadId']=_0x42613c['string']();break;case 0x2:_0x23e0df['documentId']=_0x42613c['string']();break;default:_0x42613c['skipType'](0x7&tag,_0x278027);}}return _0x23e0df;},CommentsV2GetCommentThreadMessage['decodeDelimited']=function(_0x326901){return _0x326901 instanceof _0x470ccf||(_0x326901=new _0x470ccf(_0x326901)),this['decode'](_0x326901,_0x326901['uint32']());},CommentsV2GetCommentThreadMessage['verify']=function(_0x505bf8,_0x109361){return'object'!=typeof _0x505bf8||null===_0x505bf8?'object\x20expected':(void 0x0===_0x109361&&(_0x109361=0x0),_0x109361>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x505bf8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x505bf8,'commentThreadId')&&!$util['isString'](_0x505bf8['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x505bf8['documentId']&&Object['hasOwnProperty']['call'](_0x505bf8,'documentId')&&!$util['isString'](_0x505bf8['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2GetCommentThreadMessage['fromObject']=function(object,_0x8f8dc6){if(object instanceof $root['CommentsV2GetCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2GetCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x8f8dc6&&(_0x8f8dc6=0x0),_0x8f8dc6>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1965e3=new $root['CommentsV2GetCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x1965e3['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x1965e3['documentId']=String(object['documentId'])),_0x1965e3;},CommentsV2GetCommentThreadMessage['toObject']=function(_0x558f67,options,_0x4a36f6){if(options||(options={}),void 0x0===_0x4a36f6&&(_0x4a36f6=0x0),_0x4a36f6>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x558f67['commentThreadId']&&Object['hasOwnProperty']['call'](_0x558f67,'commentThreadId')&&(object['commentThreadId']=_0x558f67['commentThreadId']),null!=_0x558f67['documentId']&&Object['hasOwnProperty']['call'](_0x558f67,'documentId')&&(object['documentId']=_0x558f67['documentId']),object;},CommentsV2GetCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2GetCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2GetCommentThreadMessage';},CommentsV2GetCommentThreadMessage;}()),$root['CommentsV2ConnectMessage']=(function(){function CommentsV2ConnectMessage(properties){if(properties){for(var _0x1aa31d=Object['keys'](properties),_0x3d4bcb=0x0;_0x3d4bcb<_0x1aa31d['length'];++_0x3d4bcb)null!=properties[_0x1aa31d[_0x3d4bcb]]&&'__proto__'!==_0x1aa31d[_0x3d4bcb]&&(this[_0x1aa31d[_0x3d4bcb]]=properties[_0x1aa31d[_0x3d4bcb]]);}}return CommentsV2ConnectMessage['prototype']['documentId']='',CommentsV2ConnectMessage['create']=function(properties){return new CommentsV2ConnectMessage(properties);},CommentsV2ConnectMessage['encode']=function(_0x2267ee,writer,_0x3cf370){if(writer||(writer=$Writer['create']()),void 0x0===_0x3cf370&&(_0x3cf370=0x0),_0x3cf370>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2267ee['documentId']&&Object['hasOwnProperty']['call'](_0x2267ee,'documentId')&&writer['uint32'](0xa)['string'](_0x2267ee['documentId']),writer;},CommentsV2ConnectMessage['encodeDelimited']=function(_0x4022f8,writer){return this['encode'](_0x4022f8,writer)['ldelim']();},CommentsV2ConnectMessage['decode']=function(_0x2d408f,length,_0x2a1d61,_0x4cb18e){if(_0x2d408f instanceof _0x470ccf||(_0x2d408f=_0x470ccf['create'](_0x2d408f)),void 0x0===_0x4cb18e&&(_0x4cb18e=0x0),_0x4cb18e>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x551baa=void 0x0===length?_0x2d408f['len']:_0x2d408f['pos']+length,_0xff4fd2=new $root['CommentsV2ConnectMessage']();_0x2d408f['pos']<_0x551baa;){var tag=_0x2d408f['uint32']();if(tag===_0x2a1d61)break;if(tag>>>0x3==0x1)_0xff4fd2['documentId']=_0x2d408f['string']();else _0x2d408f['skipType'](0x7&tag,_0x4cb18e);}return _0xff4fd2;},CommentsV2ConnectMessage['decodeDelimited']=function(_0x44c81d){return _0x44c81d instanceof _0x470ccf||(_0x44c81d=new _0x470ccf(_0x44c81d)),this['decode'](_0x44c81d,_0x44c81d['uint32']());},CommentsV2ConnectMessage['verify']=function(_0x1cb601,_0x3a643b){return'object'!=typeof _0x1cb601||null===_0x1cb601?'object\x20expected':(void 0x0===_0x3a643b&&(_0x3a643b=0x0),_0x3a643b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1cb601['documentId']&&Object['hasOwnProperty']['call'](_0x1cb601,'documentId')&&!$util['isString'](_0x1cb601['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2ConnectMessage['fromObject']=function(object,_0x2fe127){if(object instanceof $root['CommentsV2ConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ConnectMessage:\x20object\x20expected');if(void 0x0===_0x2fe127&&(_0x2fe127=0x0),_0x2fe127>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x6fe94a=new $root['CommentsV2ConnectMessage']();return null!=object['documentId']&&(_0x6fe94a['documentId']=String(object['documentId'])),_0x6fe94a;},CommentsV2ConnectMessage['toObject']=function(_0x25e1f9,options,_0x1e2605){if(options||(options={}),void 0x0===_0x1e2605&&(_0x1e2605=0x0),_0x1e2605>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']=''),null!=_0x25e1f9['documentId']&&Object['hasOwnProperty']['call'](_0x25e1f9,'documentId')&&(object['documentId']=_0x25e1f9['documentId']),object;},CommentsV2ConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ConnectMessage';},CommentsV2ConnectMessage;}()),$root['CommentsV2AddCommentMessage']=(function(){function CommentsV2AddCommentMessage(properties){if(properties){for(var _0x3adf20=Object['keys'](properties),_0x33f93c=0x0;_0x33f93c<_0x3adf20['length'];++_0x33f93c)null!=properties[_0x3adf20[_0x33f93c]]&&'__proto__'!==_0x3adf20[_0x33f93c]&&(this[_0x3adf20[_0x33f93c]]=properties[_0x3adf20[_0x33f93c]]);}}return CommentsV2AddCommentMessage['prototype']['commentThreadId']='',CommentsV2AddCommentMessage['prototype']['content']='',CommentsV2AddCommentMessage['prototype']['documentId']='',CommentsV2AddCommentMessage['prototype']['commentId']='',CommentsV2AddCommentMessage['prototype']['createdAt']='',CommentsV2AddCommentMessage['prototype']['userId']='',CommentsV2AddCommentMessage['prototype']['attributes']='',CommentsV2AddCommentMessage['prototype']['commentThread']=null,CommentsV2AddCommentMessage['create']=function(properties){return new CommentsV2AddCommentMessage(properties);},CommentsV2AddCommentMessage['encode']=function(_0x32c699,writer,_0x2f6186){if(writer||(writer=$Writer['create']()),void 0x0===_0x2f6186&&(_0x2f6186=0x0),_0x2f6186>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x32c699['commentThreadId']&&Object['hasOwnProperty']['call'](_0x32c699,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x32c699['commentThreadId']),null!=_0x32c699['content']&&Object['hasOwnProperty']['call'](_0x32c699,'content')&&writer['uint32'](0x12)['string'](_0x32c699['content']),null!=_0x32c699['documentId']&&Object['hasOwnProperty']['call'](_0x32c699,'documentId')&&writer['uint32'](0x1a)['string'](_0x32c699['documentId']),null!=_0x32c699['commentId']&&Object['hasOwnProperty']['call'](_0x32c699,'commentId')&&writer['uint32'](0x22)['string'](_0x32c699['commentId']),null!=_0x32c699['createdAt']&&Object['hasOwnProperty']['call'](_0x32c699,'createdAt')&&writer['uint32'](0x2a)['string'](_0x32c699['createdAt']),null!=_0x32c699['userId']&&Object['hasOwnProperty']['call'](_0x32c699,'userId')&&writer['uint32'](0x32)['string'](_0x32c699['userId']),null!=_0x32c699['attributes']&&Object['hasOwnProperty']['call'](_0x32c699,'attributes')&&writer['uint32'](0x3a)['string'](_0x32c699['attributes']),null!=_0x32c699['commentThread']&&Object['hasOwnProperty']['call'](_0x32c699,'commentThread')&&$root['CommentsThreadDescriptor']['encode'](_0x32c699['commentThread'],writer['uint32'](0x42)['fork'](),_0x2f6186+0x1)['ldelim'](),writer;},CommentsV2AddCommentMessage['encodeDelimited']=function(_0x37e81f,writer){return this['encode'](_0x37e81f,writer)['ldelim']();},CommentsV2AddCommentMessage['decode']=function(_0x155c77,length,_0x309b9f,_0x203ce3){if(_0x155c77 instanceof _0x470ccf||(_0x155c77=_0x470ccf['create'](_0x155c77)),void 0x0===_0x203ce3&&(_0x203ce3=0x0),_0x203ce3>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5303bb=void 0x0===length?_0x155c77['len']:_0x155c77['pos']+length,_0x2f281a=new $root['CommentsV2AddCommentMessage']();_0x155c77['pos']<_0x5303bb;){var tag=_0x155c77['uint32']();if(tag===_0x309b9f)break;switch(tag>>>0x3){case 0x1:_0x2f281a['commentThreadId']=_0x155c77['string']();break;case 0x2:_0x2f281a['content']=_0x155c77['string']();break;case 0x3:_0x2f281a['documentId']=_0x155c77['string']();break;case 0x4:_0x2f281a['commentId']=_0x155c77['string']();break;case 0x5:_0x2f281a['createdAt']=_0x155c77['string']();break;case 0x6:_0x2f281a['userId']=_0x155c77['string']();break;case 0x7:_0x2f281a['attributes']=_0x155c77['string']();break;case 0x8:_0x2f281a['commentThread']=$root['CommentsThreadDescriptor']['decode'](_0x155c77,_0x155c77['uint32'](),void 0x0,_0x203ce3+0x1);break;default:_0x155c77['skipType'](0x7&tag,_0x203ce3);}}return _0x2f281a;},CommentsV2AddCommentMessage['decodeDelimited']=function(_0x5065b3){return _0x5065b3 instanceof _0x470ccf||(_0x5065b3=new _0x470ccf(_0x5065b3)),this['decode'](_0x5065b3,_0x5065b3['uint32']());},CommentsV2AddCommentMessage['verify']=function(_0x3e68e6,_0x376c53){if('object'!=typeof _0x3e68e6||null===_0x3e68e6)return'object\x20expected';if(void 0x0===_0x376c53&&(_0x376c53=0x0),_0x376c53>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3e68e6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3e68e6,'commentThreadId')&&!$util['isString'](_0x3e68e6['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3e68e6['content']&&Object['hasOwnProperty']['call'](_0x3e68e6,'content')&&!$util['isString'](_0x3e68e6['content']))return'content:\x20string\x20expected';if(null!=_0x3e68e6['documentId']&&Object['hasOwnProperty']['call'](_0x3e68e6,'documentId')&&!$util['isString'](_0x3e68e6['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3e68e6['commentId']&&Object['hasOwnProperty']['call'](_0x3e68e6,'commentId')&&!$util['isString'](_0x3e68e6['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3e68e6['createdAt']&&Object['hasOwnProperty']['call'](_0x3e68e6,'createdAt')&&!$util['isString'](_0x3e68e6['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3e68e6['userId']&&Object['hasOwnProperty']['call'](_0x3e68e6,'userId')&&!$util['isString'](_0x3e68e6['userId']))return'userId:\x20string\x20expected';if(null!=_0x3e68e6['attributes']&&Object['hasOwnProperty']['call'](_0x3e68e6,'attributes')&&!$util['isString'](_0x3e68e6['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3e68e6['commentThread']&&Object['hasOwnProperty']['call'](_0x3e68e6,'commentThread')){var _0x5a5206=$root['CommentsThreadDescriptor']['verify'](_0x3e68e6['commentThread'],_0x376c53+0x1);if(_0x5a5206)return'commentThread.'+_0x5a5206;}return null;},CommentsV2AddCommentMessage['fromObject']=function(object,_0x546dd5){if(object instanceof $root['CommentsV2AddCommentMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentMessage:\x20object\x20expected');if(void 0x0===_0x546dd5&&(_0x546dd5=0x0),_0x546dd5>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4669b8=new $root['CommentsV2AddCommentMessage']();if(null!=object['commentThreadId']&&(_0x4669b8['commentThreadId']=String(object['commentThreadId'])),null!=object['content']&&(_0x4669b8['content']=String(object['content'])),null!=object['documentId']&&(_0x4669b8['documentId']=String(object['documentId'])),null!=object['commentId']&&(_0x4669b8['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x4669b8['createdAt']=String(object['createdAt'])),null!=object['userId']&&(_0x4669b8['userId']=String(object['userId'])),null!=object['attributes']&&(_0x4669b8['attributes']=String(object['attributes'])),null!=object['commentThread']){if(!$util['isObject'](object['commentThread']))throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x4669b8['commentThread']=$root['CommentsThreadDescriptor']['fromObject'](object['commentThread'],_0x546dd5+0x1);}return _0x4669b8;},CommentsV2AddCommentMessage['toObject']=function(_0x5470a1,options,_0x1e4d09){if(options||(options={}),void 0x0===_0x1e4d09&&(_0x1e4d09=0x0),_0x1e4d09>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['content']='',object['documentId']='',object['commentId']='',object['createdAt']='',object['userId']='',object['attributes']='',object['commentThread']=null),null!=_0x5470a1['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5470a1,'commentThreadId')&&(object['commentThreadId']=_0x5470a1['commentThreadId']),null!=_0x5470a1['content']&&Object['hasOwnProperty']['call'](_0x5470a1,'content')&&(object['content']=_0x5470a1['content']),null!=_0x5470a1['documentId']&&Object['hasOwnProperty']['call'](_0x5470a1,'documentId')&&(object['documentId']=_0x5470a1['documentId']),null!=_0x5470a1['commentId']&&Object['hasOwnProperty']['call'](_0x5470a1,'commentId')&&(object['commentId']=_0x5470a1['commentId']),null!=_0x5470a1['createdAt']&&Object['hasOwnProperty']['call'](_0x5470a1,'createdAt')&&(object['createdAt']=_0x5470a1['createdAt']),null!=_0x5470a1['userId']&&Object['hasOwnProperty']['call'](_0x5470a1,'userId')&&(object['userId']=_0x5470a1['userId']),null!=_0x5470a1['attributes']&&Object['hasOwnProperty']['call'](_0x5470a1,'attributes')&&(object['attributes']=_0x5470a1['attributes']),null!=_0x5470a1['commentThread']&&Object['hasOwnProperty']['call'](_0x5470a1,'commentThread')&&(object['commentThread']=$root['CommentsThreadDescriptor']['toObject'](_0x5470a1['commentThread'],options,_0x1e4d09+0x1)),object;},CommentsV2AddCommentMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentMessage';},CommentsV2AddCommentMessage;}()),$root['CommentsV2UpdateCommentThreadMessage']=(function(){function CommentsV2UpdateCommentThreadMessage(properties){if(properties){for(var _0x337452=Object['keys'](properties),_0x1ba4a5=0x0;_0x1ba4a5<_0x337452['length'];++_0x1ba4a5)null!=properties[_0x337452[_0x1ba4a5]]&&'__proto__'!==_0x337452[_0x1ba4a5]&&(this[_0x337452[_0x1ba4a5]]=properties[_0x337452[_0x1ba4a5]]);}}return CommentsV2UpdateCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2UpdateCommentThreadMessage['prototype']['documentId']='',CommentsV2UpdateCommentThreadMessage['prototype']['context']='',CommentsV2UpdateCommentThreadMessage['prototype']['attributes']='',CommentsV2UpdateCommentThreadMessage['prototype']['unlinkedAt']='',CommentsV2UpdateCommentThreadMessage['create']=function(properties){return new CommentsV2UpdateCommentThreadMessage(properties);},CommentsV2UpdateCommentThreadMessage['encode']=function(_0x4f6479,writer,_0x4b5e80){if(writer||(writer=$Writer['create']()),void 0x0===_0x4b5e80&&(_0x4b5e80=0x0),_0x4b5e80>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4f6479['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4f6479,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x4f6479['commentThreadId']),null!=_0x4f6479['documentId']&&Object['hasOwnProperty']['call'](_0x4f6479,'documentId')&&writer['uint32'](0x12)['string'](_0x4f6479['documentId']),null!=_0x4f6479['context']&&Object['hasOwnProperty']['call'](_0x4f6479,'context')&&writer['uint32'](0x1a)['string'](_0x4f6479['context']),null!=_0x4f6479['attributes']&&Object['hasOwnProperty']['call'](_0x4f6479,'attributes')&&writer['uint32'](0x22)['string'](_0x4f6479['attributes']),null!=_0x4f6479['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x4f6479,'unlinkedAt')&&writer['uint32'](0x2a)['string'](_0x4f6479['unlinkedAt']),writer;},CommentsV2UpdateCommentThreadMessage['encodeDelimited']=function(_0x568071,writer){return this['encode'](_0x568071,writer)['ldelim']();},CommentsV2UpdateCommentThreadMessage['decode']=function(_0x488381,length,_0x17cb29,_0x4afe75){if(_0x488381 instanceof _0x470ccf||(_0x488381=_0x470ccf['create'](_0x488381)),void 0x0===_0x4afe75&&(_0x4afe75=0x0),_0x4afe75>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xd78a27=void 0x0===length?_0x488381['len']:_0x488381['pos']+length,_0x5f0ef7=new $root['CommentsV2UpdateCommentThreadMessage']();_0x488381['pos']<_0xd78a27;){var tag=_0x488381['uint32']();if(tag===_0x17cb29)break;switch(tag>>>0x3){case 0x1:_0x5f0ef7['commentThreadId']=_0x488381['string']();break;case 0x2:_0x5f0ef7['documentId']=_0x488381['string']();break;case 0x3:_0x5f0ef7['context']=_0x488381['string']();break;case 0x4:_0x5f0ef7['attributes']=_0x488381['string']();break;case 0x5:_0x5f0ef7['unlinkedAt']=_0x488381['string']();break;default:_0x488381['skipType'](0x7&tag,_0x4afe75);}}return _0x5f0ef7;},CommentsV2UpdateCommentThreadMessage['decodeDelimited']=function(_0x33af84){return _0x33af84 instanceof _0x470ccf||(_0x33af84=new _0x470ccf(_0x33af84)),this['decode'](_0x33af84,_0x33af84['uint32']());},CommentsV2UpdateCommentThreadMessage['verify']=function(_0x14b081,_0xf01a73){return'object'!=typeof _0x14b081||null===_0x14b081?'object\x20expected':(void 0x0===_0xf01a73&&(_0xf01a73=0x0),_0xf01a73>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x14b081['commentThreadId']&&Object['hasOwnProperty']['call'](_0x14b081,'commentThreadId')&&!$util['isString'](_0x14b081['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x14b081['documentId']&&Object['hasOwnProperty']['call'](_0x14b081,'documentId')&&!$util['isString'](_0x14b081['documentId'])?'documentId:\x20string\x20expected':null!=_0x14b081['context']&&Object['hasOwnProperty']['call'](_0x14b081,'context')&&!$util['isString'](_0x14b081['context'])?'context:\x20string\x20expected':null!=_0x14b081['attributes']&&Object['hasOwnProperty']['call'](_0x14b081,'attributes')&&!$util['isString'](_0x14b081['attributes'])?'attributes:\x20string\x20expected':null!=_0x14b081['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x14b081,'unlinkedAt')&&!$util['isString'](_0x14b081['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},CommentsV2UpdateCommentThreadMessage['fromObject']=function(object,_0x24e6b4){if(object instanceof $root['CommentsV2UpdateCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2UpdateCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x24e6b4&&(_0x24e6b4=0x0),_0x24e6b4>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xcd5da1=new $root['CommentsV2UpdateCommentThreadMessage']();return null!=object['commentThreadId']&&(_0xcd5da1['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0xcd5da1['documentId']=String(object['documentId'])),null!=object['context']&&(_0xcd5da1['context']=String(object['context'])),null!=object['attributes']&&(_0xcd5da1['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0xcd5da1['unlinkedAt']=String(object['unlinkedAt'])),_0xcd5da1;},CommentsV2UpdateCommentThreadMessage['toObject']=function(_0x1ff923,options,_0x8e0dfc){if(options||(options={}),void 0x0===_0x8e0dfc&&(_0x8e0dfc=0x0),_0x8e0dfc>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['context']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x1ff923['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1ff923,'commentThreadId')&&(object['commentThreadId']=_0x1ff923['commentThreadId']),null!=_0x1ff923['documentId']&&Object['hasOwnProperty']['call'](_0x1ff923,'documentId')&&(object['documentId']=_0x1ff923['documentId']),null!=_0x1ff923['context']&&Object['hasOwnProperty']['call'](_0x1ff923,'context')&&(object['context']=_0x1ff923['context']),null!=_0x1ff923['attributes']&&Object['hasOwnProperty']['call'](_0x1ff923,'attributes')&&(object['attributes']=_0x1ff923['attributes']),null!=_0x1ff923['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1ff923,'unlinkedAt')&&(object['unlinkedAt']=_0x1ff923['unlinkedAt']),object;},CommentsV2UpdateCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2UpdateCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2UpdateCommentThreadMessage';},CommentsV2UpdateCommentThreadMessage;}()),$root['CommentsV2ResolveCommentThreadMessage']=(function(){function CommentsV2ResolveCommentThreadMessage(properties){if(properties){for(var _0x46fca8=Object['keys'](properties),_0x2b8aac=0x0;_0x2b8aac<_0x46fca8['length'];++_0x2b8aac)null!=properties[_0x46fca8[_0x2b8aac]]&&'__proto__'!==_0x46fca8[_0x2b8aac]&&(this[_0x46fca8[_0x2b8aac]]=properties[_0x46fca8[_0x2b8aac]]);}}return CommentsV2ResolveCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2ResolveCommentThreadMessage['prototype']['documentId']='',CommentsV2ResolveCommentThreadMessage['prototype']['resolvedBy']='',CommentsV2ResolveCommentThreadMessage['prototype']['resolvedAt']='',CommentsV2ResolveCommentThreadMessage['create']=function(properties){return new CommentsV2ResolveCommentThreadMessage(properties);},CommentsV2ResolveCommentThreadMessage['encode']=function(_0x189cce,writer,_0x54a22e){if(writer||(writer=$Writer['create']()),void 0x0===_0x54a22e&&(_0x54a22e=0x0),_0x54a22e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x189cce['commentThreadId']&&Object['hasOwnProperty']['call'](_0x189cce,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x189cce['commentThreadId']),null!=_0x189cce['documentId']&&Object['hasOwnProperty']['call'](_0x189cce,'documentId')&&writer['uint32'](0x12)['string'](_0x189cce['documentId']),null!=_0x189cce['resolvedBy']&&Object['hasOwnProperty']['call'](_0x189cce,'resolvedBy')&&writer['uint32'](0x1a)['string'](_0x189cce['resolvedBy']),null!=_0x189cce['resolvedAt']&&Object['hasOwnProperty']['call'](_0x189cce,'resolvedAt')&&writer['uint32'](0x22)['string'](_0x189cce['resolvedAt']),writer;},CommentsV2ResolveCommentThreadMessage['encodeDelimited']=function(_0x1b01d2,writer){return this['encode'](_0x1b01d2,writer)['ldelim']();},CommentsV2ResolveCommentThreadMessage['decode']=function(_0x4fc572,length,_0x4c8d83,_0x5c8599){if(_0x4fc572 instanceof _0x470ccf||(_0x4fc572=_0x470ccf['create'](_0x4fc572)),void 0x0===_0x5c8599&&(_0x5c8599=0x0),_0x5c8599>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x55cbc7=void 0x0===length?_0x4fc572['len']:_0x4fc572['pos']+length,_0x4af1db=new $root['CommentsV2ResolveCommentThreadMessage']();_0x4fc572['pos']<_0x55cbc7;){var tag=_0x4fc572['uint32']();if(tag===_0x4c8d83)break;switch(tag>>>0x3){case 0x1:_0x4af1db['commentThreadId']=_0x4fc572['string']();break;case 0x2:_0x4af1db['documentId']=_0x4fc572['string']();break;case 0x3:_0x4af1db['resolvedBy']=_0x4fc572['string']();break;case 0x4:_0x4af1db['resolvedAt']=_0x4fc572['string']();break;default:_0x4fc572['skipType'](0x7&tag,_0x5c8599);}}return _0x4af1db;},CommentsV2ResolveCommentThreadMessage['decodeDelimited']=function(_0x164cd4){return _0x164cd4 instanceof _0x470ccf||(_0x164cd4=new _0x470ccf(_0x164cd4)),this['decode'](_0x164cd4,_0x164cd4['uint32']());},CommentsV2ResolveCommentThreadMessage['verify']=function(_0x31ef3b,_0x5cac27){return'object'!=typeof _0x31ef3b||null===_0x31ef3b?'object\x20expected':(void 0x0===_0x5cac27&&(_0x5cac27=0x0),_0x5cac27>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x31ef3b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x31ef3b,'commentThreadId')&&!$util['isString'](_0x31ef3b['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x31ef3b['documentId']&&Object['hasOwnProperty']['call'](_0x31ef3b,'documentId')&&!$util['isString'](_0x31ef3b['documentId'])?'documentId:\x20string\x20expected':null!=_0x31ef3b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x31ef3b,'resolvedBy')&&!$util['isString'](_0x31ef3b['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x31ef3b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x31ef3b,'resolvedAt')&&!$util['isString'](_0x31ef3b['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},CommentsV2ResolveCommentThreadMessage['fromObject']=function(object,_0x45e7fb){if(object instanceof $root['CommentsV2ResolveCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ResolveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x45e7fb&&(_0x45e7fb=0x0),_0x45e7fb>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x281ab3=new $root['CommentsV2ResolveCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x281ab3['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x281ab3['documentId']=String(object['documentId'])),null!=object['resolvedBy']&&(_0x281ab3['resolvedBy']=String(object['resolvedBy'])),null!=object['resolvedAt']&&(_0x281ab3['resolvedAt']=String(object['resolvedAt'])),_0x281ab3;},CommentsV2ResolveCommentThreadMessage['toObject']=function(_0x343677,options,_0x30555c){if(options||(options={}),void 0x0===_0x30555c&&(_0x30555c=0x0),_0x30555c>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']='',object['resolvedBy']='',object['resolvedAt']=''),null!=_0x343677['commentThreadId']&&Object['hasOwnProperty']['call'](_0x343677,'commentThreadId')&&(object['commentThreadId']=_0x343677['commentThreadId']),null!=_0x343677['documentId']&&Object['hasOwnProperty']['call'](_0x343677,'documentId')&&(object['documentId']=_0x343677['documentId']),null!=_0x343677['resolvedBy']&&Object['hasOwnProperty']['call'](_0x343677,'resolvedBy')&&(object['resolvedBy']=_0x343677['resolvedBy']),null!=_0x343677['resolvedAt']&&Object['hasOwnProperty']['call'](_0x343677,'resolvedAt')&&(object['resolvedAt']=_0x343677['resolvedAt']),object;},CommentsV2ResolveCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ResolveCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ResolveCommentThreadMessage';},CommentsV2ResolveCommentThreadMessage;}()),$root['CommentsV2ReopenCommentThreadMessage']=(function(){function CommentsV2ReopenCommentThreadMessage(properties){if(properties){for(var _0x491587=Object['keys'](properties),_0x5c2220=0x0;_0x5c2220<_0x491587['length'];++_0x5c2220)null!=properties[_0x491587[_0x5c2220]]&&'__proto__'!==_0x491587[_0x5c2220]&&(this[_0x491587[_0x5c2220]]=properties[_0x491587[_0x5c2220]]);}}return CommentsV2ReopenCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2ReopenCommentThreadMessage['prototype']['documentId']='',CommentsV2ReopenCommentThreadMessage['create']=function(properties){return new CommentsV2ReopenCommentThreadMessage(properties);},CommentsV2ReopenCommentThreadMessage['encode']=function(_0xf54293,writer,_0x900974){if(writer||(writer=$Writer['create']()),void 0x0===_0x900974&&(_0x900974=0x0),_0x900974>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xf54293['commentThreadId']&&Object['hasOwnProperty']['call'](_0xf54293,'commentThreadId')&&writer['uint32'](0xa)['string'](_0xf54293['commentThreadId']),null!=_0xf54293['documentId']&&Object['hasOwnProperty']['call'](_0xf54293,'documentId')&&writer['uint32'](0x12)['string'](_0xf54293['documentId']),writer;},CommentsV2ReopenCommentThreadMessage['encodeDelimited']=function(_0x5c2a92,writer){return this['encode'](_0x5c2a92,writer)['ldelim']();},CommentsV2ReopenCommentThreadMessage['decode']=function(_0x4ece3d,length,_0xa1628d,_0x537b72){if(_0x4ece3d instanceof _0x470ccf||(_0x4ece3d=_0x470ccf['create'](_0x4ece3d)),void 0x0===_0x537b72&&(_0x537b72=0x0),_0x537b72>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x16d096=void 0x0===length?_0x4ece3d['len']:_0x4ece3d['pos']+length,_0x5f1e6b=new $root['CommentsV2ReopenCommentThreadMessage']();_0x4ece3d['pos']<_0x16d096;){var tag=_0x4ece3d['uint32']();if(tag===_0xa1628d)break;switch(tag>>>0x3){case 0x1:_0x5f1e6b['commentThreadId']=_0x4ece3d['string']();break;case 0x2:_0x5f1e6b['documentId']=_0x4ece3d['string']();break;default:_0x4ece3d['skipType'](0x7&tag,_0x537b72);}}return _0x5f1e6b;},CommentsV2ReopenCommentThreadMessage['decodeDelimited']=function(_0x1c786e){return _0x1c786e instanceof _0x470ccf||(_0x1c786e=new _0x470ccf(_0x1c786e)),this['decode'](_0x1c786e,_0x1c786e['uint32']());},CommentsV2ReopenCommentThreadMessage['verify']=function(_0x3d4346,_0x29c5cb){return'object'!=typeof _0x3d4346||null===_0x3d4346?'object\x20expected':(void 0x0===_0x29c5cb&&(_0x29c5cb=0x0),_0x29c5cb>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3d4346['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3d4346,'commentThreadId')&&!$util['isString'](_0x3d4346['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3d4346['documentId']&&Object['hasOwnProperty']['call'](_0x3d4346,'documentId')&&!$util['isString'](_0x3d4346['documentId'])?'documentId:\x20string\x20expected':null);},CommentsV2ReopenCommentThreadMessage['fromObject']=function(object,_0x490d06){if(object instanceof $root['CommentsV2ReopenCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2ReopenCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x490d06&&(_0x490d06=0x0),_0x490d06>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3ab8bc=new $root['CommentsV2ReopenCommentThreadMessage']();return null!=object['commentThreadId']&&(_0x3ab8bc['commentThreadId']=String(object['commentThreadId'])),null!=object['documentId']&&(_0x3ab8bc['documentId']=String(object['documentId'])),_0x3ab8bc;},CommentsV2ReopenCommentThreadMessage['toObject']=function(_0x58ea51,options,_0x3276fb){if(options||(options={}),void 0x0===_0x3276fb&&(_0x3276fb=0x0),_0x3276fb>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentThreadId']='',object['documentId']=''),null!=_0x58ea51['commentThreadId']&&Object['hasOwnProperty']['call'](_0x58ea51,'commentThreadId')&&(object['commentThreadId']=_0x58ea51['commentThreadId']),null!=_0x58ea51['documentId']&&Object['hasOwnProperty']['call'](_0x58ea51,'documentId')&&(object['documentId']=_0x58ea51['documentId']),object;},CommentsV2ReopenCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2ReopenCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2ReopenCommentThreadMessage';},CommentsV2ReopenCommentThreadMessage;}()),$root['CommentsV2AddCommentThreadMessage']=(function(){function CommentsV2AddCommentThreadMessage(properties){if(this['comments']=[],properties){for(var _0x58f6a1=Object['keys'](properties),_0x1c3546=0x0;_0x1c3546<_0x58f6a1['length'];++_0x1c3546)null!=properties[_0x58f6a1[_0x1c3546]]&&'__proto__'!==_0x58f6a1[_0x1c3546]&&(this[_0x58f6a1[_0x1c3546]]=properties[_0x58f6a1[_0x1c3546]]);}}return CommentsV2AddCommentThreadMessage['prototype']['documentId']='',CommentsV2AddCommentThreadMessage['prototype']['commentThreadId']='',CommentsV2AddCommentThreadMessage['prototype']['context']='',CommentsV2AddCommentThreadMessage['prototype']['createdAt']='',CommentsV2AddCommentThreadMessage['prototype']['resolvedAt']='',CommentsV2AddCommentThreadMessage['prototype']['resolvedBy']='',CommentsV2AddCommentThreadMessage['prototype']['attributes']='',CommentsV2AddCommentThreadMessage['prototype']['deletedAt']='',CommentsV2AddCommentThreadMessage['prototype']['comments']=$util['emptyArray'],CommentsV2AddCommentThreadMessage['create']=function(properties){return new CommentsV2AddCommentThreadMessage(properties);},CommentsV2AddCommentThreadMessage['encode']=function(_0x271f6b,writer,_0x35cde5){if(writer||(writer=$Writer['create']()),void 0x0===_0x35cde5&&(_0x35cde5=0x0),_0x35cde5>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x271f6b['documentId']&&Object['hasOwnProperty']['call'](_0x271f6b,'documentId')&&writer['uint32'](0xa)['string'](_0x271f6b['documentId']),null!=_0x271f6b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x271f6b,'commentThreadId')&&writer['uint32'](0x12)['string'](_0x271f6b['commentThreadId']),null!=_0x271f6b['context']&&Object['hasOwnProperty']['call'](_0x271f6b,'context')&&writer['uint32'](0x1a)['string'](_0x271f6b['context']),null!=_0x271f6b['createdAt']&&Object['hasOwnProperty']['call'](_0x271f6b,'createdAt')&&writer['uint32'](0x22)['string'](_0x271f6b['createdAt']),null!=_0x271f6b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x271f6b,'resolvedAt')&&writer['uint32'](0x2a)['string'](_0x271f6b['resolvedAt']),null!=_0x271f6b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x271f6b,'resolvedBy')&&writer['uint32'](0x32)['string'](_0x271f6b['resolvedBy']),null!=_0x271f6b['attributes']&&Object['hasOwnProperty']['call'](_0x271f6b,'attributes')&&writer['uint32'](0x3a)['string'](_0x271f6b['attributes']),null!=_0x271f6b['deletedAt']&&Object['hasOwnProperty']['call'](_0x271f6b,'deletedAt')&&writer['uint32'](0x42)['string'](_0x271f6b['deletedAt']),null!=_0x271f6b['comments']&&_0x271f6b['comments']['length']){for(var _0x4f7253=0x0;_0x4f7253<_0x271f6b['comments']['length'];++_0x4f7253)$root['CommentDescriptor']['encode'](_0x271f6b['comments'][_0x4f7253],writer['uint32'](0x4a)['fork'](),_0x35cde5+0x1)['ldelim']();}return writer;},CommentsV2AddCommentThreadMessage['encodeDelimited']=function(_0x3e1bbe,writer){return this['encode'](_0x3e1bbe,writer)['ldelim']();},CommentsV2AddCommentThreadMessage['decode']=function(_0x2eaf22,length,_0x5b6432,_0x551c59){if(_0x2eaf22 instanceof _0x470ccf||(_0x2eaf22=_0x470ccf['create'](_0x2eaf22)),void 0x0===_0x551c59&&(_0x551c59=0x0),_0x551c59>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2a755c=void 0x0===length?_0x2eaf22['len']:_0x2eaf22['pos']+length,_0x587b58=new $root['CommentsV2AddCommentThreadMessage']();_0x2eaf22['pos']<_0x2a755c;){var tag=_0x2eaf22['uint32']();if(tag===_0x5b6432)break;switch(tag>>>0x3){case 0x1:_0x587b58['documentId']=_0x2eaf22['string']();break;case 0x2:_0x587b58['commentThreadId']=_0x2eaf22['string']();break;case 0x3:_0x587b58['context']=_0x2eaf22['string']();break;case 0x4:_0x587b58['createdAt']=_0x2eaf22['string']();break;case 0x5:_0x587b58['resolvedAt']=_0x2eaf22['string']();break;case 0x6:_0x587b58['resolvedBy']=_0x2eaf22['string']();break;case 0x7:_0x587b58['attributes']=_0x2eaf22['string']();break;case 0x8:_0x587b58['deletedAt']=_0x2eaf22['string']();break;case 0x9:_0x587b58['comments']&&_0x587b58['comments']['length']||(_0x587b58['comments']=[]),_0x587b58['comments']['push']($root['CommentDescriptor']['decode'](_0x2eaf22,_0x2eaf22['uint32'](),void 0x0,_0x551c59+0x1));break;default:_0x2eaf22['skipType'](0x7&tag,_0x551c59);}}return _0x587b58;},CommentsV2AddCommentThreadMessage['decodeDelimited']=function(_0x132f10){return _0x132f10 instanceof _0x470ccf||(_0x132f10=new _0x470ccf(_0x132f10)),this['decode'](_0x132f10,_0x132f10['uint32']());},CommentsV2AddCommentThreadMessage['verify']=function(_0x45727c,_0x294da7){if('object'!=typeof _0x45727c||null===_0x45727c)return'object\x20expected';if(void 0x0===_0x294da7&&(_0x294da7=0x0),_0x294da7>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x45727c['documentId']&&Object['hasOwnProperty']['call'](_0x45727c,'documentId')&&!$util['isString'](_0x45727c['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x45727c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x45727c,'commentThreadId')&&!$util['isString'](_0x45727c['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x45727c['context']&&Object['hasOwnProperty']['call'](_0x45727c,'context')&&!$util['isString'](_0x45727c['context']))return'context:\x20string\x20expected';if(null!=_0x45727c['createdAt']&&Object['hasOwnProperty']['call'](_0x45727c,'createdAt')&&!$util['isString'](_0x45727c['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x45727c['resolvedAt']&&Object['hasOwnProperty']['call'](_0x45727c,'resolvedAt')&&!$util['isString'](_0x45727c['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x45727c['resolvedBy']&&Object['hasOwnProperty']['call'](_0x45727c,'resolvedBy')&&!$util['isString'](_0x45727c['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x45727c['attributes']&&Object['hasOwnProperty']['call'](_0x45727c,'attributes')&&!$util['isString'](_0x45727c['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x45727c['deletedAt']&&Object['hasOwnProperty']['call'](_0x45727c,'deletedAt')&&!$util['isString'](_0x45727c['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x45727c['comments']&&Object['hasOwnProperty']['call'](_0x45727c,'comments')){if(!Array['isArray'](_0x45727c['comments']))return'comments:\x20array\x20expected';for(var _0xcb6f76=0x0;_0xcb6f76<_0x45727c['comments']['length'];++_0xcb6f76){var _0x1c2c92=$root['CommentDescriptor']['verify'](_0x45727c['comments'][_0xcb6f76],_0x294da7+0x1);if(_0x1c2c92)return'comments.'+_0x1c2c92;}}return null;},CommentsV2AddCommentThreadMessage['fromObject']=function(object,_0x45e2ab){if(object instanceof $root['CommentsV2AddCommentThreadMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsV2AddCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x45e2ab&&(_0x45e2ab=0x0),_0x45e2ab>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x337e35=new $root['CommentsV2AddCommentThreadMessage']();if(null!=object['documentId']&&(_0x337e35['documentId']=String(object['documentId'])),null!=object['commentThreadId']&&(_0x337e35['commentThreadId']=String(object['commentThreadId'])),null!=object['context']&&(_0x337e35['context']=String(object['context'])),null!=object['createdAt']&&(_0x337e35['createdAt']=String(object['createdAt'])),null!=object['resolvedAt']&&(_0x337e35['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x337e35['resolvedBy']=String(object['resolvedBy'])),null!=object['attributes']&&(_0x337e35['attributes']=String(object['attributes'])),null!=object['deletedAt']&&(_0x337e35['deletedAt']=String(object['deletedAt'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x337e35['comments']=[];for(var _0x2ba32d=0x0;_0x2ba32d<object['comments']['length'];++_0x2ba32d){if(!$util['isObject'](object['comments'][_0x2ba32d]))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x337e35['comments'][_0x2ba32d]=$root['CommentDescriptor']['fromObject'](object['comments'][_0x2ba32d],_0x45e2ab+0x1);}}return _0x337e35;},CommentsV2AddCommentThreadMessage['toObject']=function(_0x1216d5,options,_0x14b6f){if(options||(options={}),void 0x0===_0x14b6f&&(_0x14b6f=0x0),_0x14b6f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['documentId']='',object['commentThreadId']='',object['context']='',object['createdAt']='',object['resolvedAt']='',object['resolvedBy']='',object['attributes']='',object['deletedAt']=''),null!=_0x1216d5['documentId']&&Object['hasOwnProperty']['call'](_0x1216d5,'documentId')&&(object['documentId']=_0x1216d5['documentId']),null!=_0x1216d5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1216d5,'commentThreadId')&&(object['commentThreadId']=_0x1216d5['commentThreadId']),null!=_0x1216d5['context']&&Object['hasOwnProperty']['call'](_0x1216d5,'context')&&(object['context']=_0x1216d5['context']),null!=_0x1216d5['createdAt']&&Object['hasOwnProperty']['call'](_0x1216d5,'createdAt')&&(object['createdAt']=_0x1216d5['createdAt']),null!=_0x1216d5['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1216d5,'resolvedAt')&&(object['resolvedAt']=_0x1216d5['resolvedAt']),null!=_0x1216d5['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1216d5,'resolvedBy')&&(object['resolvedBy']=_0x1216d5['resolvedBy']),null!=_0x1216d5['attributes']&&Object['hasOwnProperty']['call'](_0x1216d5,'attributes')&&(object['attributes']=_0x1216d5['attributes']),null!=_0x1216d5['deletedAt']&&Object['hasOwnProperty']['call'](_0x1216d5,'deletedAt')&&(object['deletedAt']=_0x1216d5['deletedAt']),_0x1216d5['comments']&&_0x1216d5['comments']['length']){object['comments']=[];for(var _0xe00917=0x0;_0xe00917<_0x1216d5['comments']['length'];++_0xe00917)object['comments'][_0xe00917]=$root['CommentDescriptor']['toObject'](_0x1216d5['comments'][_0xe00917],options,_0x14b6f+0x1);}return object;},CommentsV2AddCommentThreadMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsV2AddCommentThreadMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsV2AddCommentThreadMessage';},CommentsV2AddCommentThreadMessage;}()),$root['CommentThreadAddedCommentDescriptor']=(function(){function CommentThreadAddedCommentDescriptor(properties){if(properties){for(var _0x13c108=Object['keys'](properties),_0x16aeec=0x0;_0x16aeec<_0x13c108['length'];++_0x16aeec)null!=properties[_0x13c108[_0x16aeec]]&&'__proto__'!==_0x13c108[_0x16aeec]&&(this[_0x13c108[_0x16aeec]]=properties[_0x13c108[_0x16aeec]]);}}return CommentThreadAddedCommentDescriptor['prototype']['commentId']='',CommentThreadAddedCommentDescriptor['prototype']['createdAt']='',CommentThreadAddedCommentDescriptor['create']=function(properties){return new CommentThreadAddedCommentDescriptor(properties);},CommentThreadAddedCommentDescriptor['encode']=function(_0x138def,writer,_0x26aa86){if(writer||(writer=$Writer['create']()),void 0x0===_0x26aa86&&(_0x26aa86=0x0),_0x26aa86>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x138def['commentId']&&Object['hasOwnProperty']['call'](_0x138def,'commentId')&&writer['uint32'](0xa)['string'](_0x138def['commentId']),null!=_0x138def['createdAt']&&Object['hasOwnProperty']['call'](_0x138def,'createdAt')&&writer['uint32'](0x12)['string'](_0x138def['createdAt']),writer;},CommentThreadAddedCommentDescriptor['encodeDelimited']=function(_0x484788,writer){return this['encode'](_0x484788,writer)['ldelim']();},CommentThreadAddedCommentDescriptor['decode']=function(_0x228e52,length,_0x324342,_0xace818){if(_0x228e52 instanceof _0x470ccf||(_0x228e52=_0x470ccf['create'](_0x228e52)),void 0x0===_0xace818&&(_0xace818=0x0),_0xace818>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x218368=void 0x0===length?_0x228e52['len']:_0x228e52['pos']+length,_0x1fde03=new $root['CommentThreadAddedCommentDescriptor']();_0x228e52['pos']<_0x218368;){var tag=_0x228e52['uint32']();if(tag===_0x324342)break;switch(tag>>>0x3){case 0x1:_0x1fde03['commentId']=_0x228e52['string']();break;case 0x2:_0x1fde03['createdAt']=_0x228e52['string']();break;default:_0x228e52['skipType'](0x7&tag,_0xace818);}}return _0x1fde03;},CommentThreadAddedCommentDescriptor['decodeDelimited']=function(_0x3f2af3){return _0x3f2af3 instanceof _0x470ccf||(_0x3f2af3=new _0x470ccf(_0x3f2af3)),this['decode'](_0x3f2af3,_0x3f2af3['uint32']());},CommentThreadAddedCommentDescriptor['verify']=function(_0x2aac42,_0x213d4b){return'object'!=typeof _0x2aac42||null===_0x2aac42?'object\x20expected':(void 0x0===_0x213d4b&&(_0x213d4b=0x0),_0x213d4b>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2aac42['commentId']&&Object['hasOwnProperty']['call'](_0x2aac42,'commentId')&&!$util['isString'](_0x2aac42['commentId'])?'commentId:\x20string\x20expected':null!=_0x2aac42['createdAt']&&Object['hasOwnProperty']['call'](_0x2aac42,'createdAt')&&!$util['isString'](_0x2aac42['createdAt'])?'createdAt:\x20string\x20expected':null);},CommentThreadAddedCommentDescriptor['fromObject']=function(object,_0x2006f4){if(object instanceof $root['CommentThreadAddedCommentDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.CommentThreadAddedCommentDescriptor:\x20object\x20expected');if(void 0x0===_0x2006f4&&(_0x2006f4=0x0),_0x2006f4>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5dbbf0=new $root['CommentThreadAddedCommentDescriptor']();return null!=object['commentId']&&(_0x5dbbf0['commentId']=String(object['commentId'])),null!=object['createdAt']&&(_0x5dbbf0['createdAt']=String(object['createdAt'])),_0x5dbbf0;},CommentThreadAddedCommentDescriptor['toObject']=function(_0x169ffa,options,_0x37b381){if(options||(options={}),void 0x0===_0x37b381&&(_0x37b381=0x0),_0x37b381>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentId']='',object['createdAt']=''),null!=_0x169ffa['commentId']&&Object['hasOwnProperty']['call'](_0x169ffa,'commentId')&&(object['commentId']=_0x169ffa['commentId']),null!=_0x169ffa['createdAt']&&Object['hasOwnProperty']['call'](_0x169ffa,'createdAt')&&(object['createdAt']=_0x169ffa['createdAt']),object;},CommentThreadAddedCommentDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentThreadAddedCommentDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentThreadAddedCommentDescriptor';},CommentThreadAddedCommentDescriptor;}()),$root['CommentsThreadDescriptor']=(function(){function CommentsThreadDescriptor(properties){if(this['comments']=[],properties){for(var _0x32c2d8=Object['keys'](properties),_0x35f5aa=0x0;_0x35f5aa<_0x32c2d8['length'];++_0x35f5aa)null!=properties[_0x32c2d8[_0x35f5aa]]&&'__proto__'!==_0x32c2d8[_0x35f5aa]&&(this[_0x32c2d8[_0x35f5aa]]=properties[_0x32c2d8[_0x35f5aa]]);}}return CommentsThreadDescriptor['prototype']['commentThreadId']='',CommentsThreadDescriptor['prototype']['comments']=$util['emptyArray'],CommentsThreadDescriptor['prototype']['resolvedAt']='',CommentsThreadDescriptor['prototype']['resolvedBy']='',CommentsThreadDescriptor['prototype']['context']='',CommentsThreadDescriptor['prototype']['createdAt']='',CommentsThreadDescriptor['prototype']['deletedAt']='',CommentsThreadDescriptor['prototype']['attributes']='',CommentsThreadDescriptor['prototype']['unlinkedAt']='',CommentsThreadDescriptor['create']=function(properties){return new CommentsThreadDescriptor(properties);},CommentsThreadDescriptor['encode']=function(_0x37283c,writer,_0x52a271){if(writer||(writer=$Writer['create']()),void 0x0===_0x52a271&&(_0x52a271=0x0),_0x52a271>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x37283c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x37283c,'commentThreadId')&&writer['uint32'](0xa)['string'](_0x37283c['commentThreadId']),null!=_0x37283c['comments']&&_0x37283c['comments']['length']){for(var _0x29a393=0x0;_0x29a393<_0x37283c['comments']['length'];++_0x29a393)$root['CommentDescriptor']['encode'](_0x37283c['comments'][_0x29a393],writer['uint32'](0x12)['fork'](),_0x52a271+0x1)['ldelim']();}return null!=_0x37283c['resolvedAt']&&Object['hasOwnProperty']['call'](_0x37283c,'resolvedAt')&&writer['uint32'](0x1a)['string'](_0x37283c['resolvedAt']),null!=_0x37283c['resolvedBy']&&Object['hasOwnProperty']['call'](_0x37283c,'resolvedBy')&&writer['uint32'](0x22)['string'](_0x37283c['resolvedBy']),null!=_0x37283c['context']&&Object['hasOwnProperty']['call'](_0x37283c,'context')&&writer['uint32'](0x2a)['string'](_0x37283c['context']),null!=_0x37283c['createdAt']&&Object['hasOwnProperty']['call'](_0x37283c,'createdAt')&&writer['uint32'](0x32)['string'](_0x37283c['createdAt']),null!=_0x37283c['deletedAt']&&Object['hasOwnProperty']['call'](_0x37283c,'deletedAt')&&writer['uint32'](0x3a)['string'](_0x37283c['deletedAt']),null!=_0x37283c['attributes']&&Object['hasOwnProperty']['call'](_0x37283c,'attributes')&&writer['uint32'](0x42)['string'](_0x37283c['attributes']),null!=_0x37283c['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x37283c,'unlinkedAt')&&writer['uint32'](0x4a)['string'](_0x37283c['unlinkedAt']),writer;},CommentsThreadDescriptor['encodeDelimited']=function(_0x3d0996,writer){return this['encode'](_0x3d0996,writer)['ldelim']();},CommentsThreadDescriptor['decode']=function(_0x1d761e,length,_0x1802c3,_0x5109d9){if(_0x1d761e instanceof _0x470ccf||(_0x1d761e=_0x470ccf['create'](_0x1d761e)),void 0x0===_0x5109d9&&(_0x5109d9=0x0),_0x5109d9>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e2f33=void 0x0===length?_0x1d761e['len']:_0x1d761e['pos']+length,_0x4f185d=new $root['CommentsThreadDescriptor']();_0x1d761e['pos']<_0x1e2f33;){var tag=_0x1d761e['uint32']();if(tag===_0x1802c3)break;switch(tag>>>0x3){case 0x1:_0x4f185d['commentThreadId']=_0x1d761e['string']();break;case 0x2:_0x4f185d['comments']&&_0x4f185d['comments']['length']||(_0x4f185d['comments']=[]),_0x4f185d['comments']['push']($root['CommentDescriptor']['decode'](_0x1d761e,_0x1d761e['uint32'](),void 0x0,_0x5109d9+0x1));break;case 0x3:_0x4f185d['resolvedAt']=_0x1d761e['string']();break;case 0x4:_0x4f185d['resolvedBy']=_0x1d761e['string']();break;case 0x5:_0x4f185d['context']=_0x1d761e['string']();break;case 0x6:_0x4f185d['createdAt']=_0x1d761e['string']();break;case 0x7:_0x4f185d['deletedAt']=_0x1d761e['string']();break;case 0x8:_0x4f185d['attributes']=_0x1d761e['string']();break;case 0x9:_0x4f185d['unlinkedAt']=_0x1d761e['string']();break;default:_0x1d761e['skipType'](0x7&tag,_0x5109d9);}}return _0x4f185d;},CommentsThreadDescriptor['decodeDelimited']=function(_0x59e705){return _0x59e705 instanceof _0x470ccf||(_0x59e705=new _0x470ccf(_0x59e705)),this['decode'](_0x59e705,_0x59e705['uint32']());},CommentsThreadDescriptor['verify']=function(_0x41e47,_0x51d576){if('object'!=typeof _0x41e47||null===_0x41e47)return'object\x20expected';if(void 0x0===_0x51d576&&(_0x51d576=0x0),_0x51d576>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x41e47['commentThreadId']&&Object['hasOwnProperty']['call'](_0x41e47,'commentThreadId')&&!$util['isString'](_0x41e47['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x41e47['comments']&&Object['hasOwnProperty']['call'](_0x41e47,'comments')){if(!Array['isArray'](_0x41e47['comments']))return'comments:\x20array\x20expected';for(var _0x4191b8=0x0;_0x4191b8<_0x41e47['comments']['length'];++_0x4191b8){var _0x1280a6=$root['CommentDescriptor']['verify'](_0x41e47['comments'][_0x4191b8],_0x51d576+0x1);if(_0x1280a6)return'comments.'+_0x1280a6;}}return null!=_0x41e47['resolvedAt']&&Object['hasOwnProperty']['call'](_0x41e47,'resolvedAt')&&!$util['isString'](_0x41e47['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x41e47['resolvedBy']&&Object['hasOwnProperty']['call'](_0x41e47,'resolvedBy')&&!$util['isString'](_0x41e47['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x41e47['context']&&Object['hasOwnProperty']['call'](_0x41e47,'context')&&!$util['isString'](_0x41e47['context'])?'context:\x20string\x20expected':null!=_0x41e47['createdAt']&&Object['hasOwnProperty']['call'](_0x41e47,'createdAt')&&!$util['isString'](_0x41e47['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x41e47['deletedAt']&&Object['hasOwnProperty']['call'](_0x41e47,'deletedAt')&&!$util['isString'](_0x41e47['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x41e47['attributes']&&Object['hasOwnProperty']['call'](_0x41e47,'attributes')&&!$util['isString'](_0x41e47['attributes'])?'attributes:\x20string\x20expected':null!=_0x41e47['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x41e47,'unlinkedAt')&&!$util['isString'](_0x41e47['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},CommentsThreadDescriptor['fromObject']=function(object,_0x4db15b){if(object instanceof $root['CommentsThreadDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.CommentsThreadDescriptor:\x20object\x20expected');if(void 0x0===_0x4db15b&&(_0x4db15b=0x0),_0x4db15b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3e6d61=new $root['CommentsThreadDescriptor']();if(null!=object['commentThreadId']&&(_0x3e6d61['commentThreadId']=String(object['commentThreadId'])),object['comments']){if(!Array['isArray'](object['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x3e6d61['comments']=[];for(var _0x4b9aa9=0x0;_0x4b9aa9<object['comments']['length'];++_0x4b9aa9){if(!$util['isObject'](object['comments'][_0x4b9aa9]))throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x3e6d61['comments'][_0x4b9aa9]=$root['CommentDescriptor']['fromObject'](object['comments'][_0x4b9aa9],_0x4db15b+0x1);}}return null!=object['resolvedAt']&&(_0x3e6d61['resolvedAt']=String(object['resolvedAt'])),null!=object['resolvedBy']&&(_0x3e6d61['resolvedBy']=String(object['resolvedBy'])),null!=object['context']&&(_0x3e6d61['context']=String(object['context'])),null!=object['createdAt']&&(_0x3e6d61['createdAt']=String(object['createdAt'])),null!=object['deletedAt']&&(_0x3e6d61['deletedAt']=String(object['deletedAt'])),null!=object['attributes']&&(_0x3e6d61['attributes']=String(object['attributes'])),null!=object['unlinkedAt']&&(_0x3e6d61['unlinkedAt']=String(object['unlinkedAt'])),_0x3e6d61;},CommentsThreadDescriptor['toObject']=function(_0x16bba4,options,_0x452eb0){if(options||(options={}),void 0x0===_0x452eb0&&(_0x452eb0=0x0),_0x452eb0>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['comments']=[]),options['defaults']&&(object['commentThreadId']='',object['resolvedAt']='',object['resolvedBy']='',object['context']='',object['createdAt']='',object['deletedAt']='',object['attributes']='',object['unlinkedAt']=''),null!=_0x16bba4['commentThreadId']&&Object['hasOwnProperty']['call'](_0x16bba4,'commentThreadId')&&(object['commentThreadId']=_0x16bba4['commentThreadId']),_0x16bba4['comments']&&_0x16bba4['comments']['length']){object['comments']=[];for(var _0x145e9b=0x0;_0x145e9b<_0x16bba4['comments']['length'];++_0x145e9b)object['comments'][_0x145e9b]=$root['CommentDescriptor']['toObject'](_0x16bba4['comments'][_0x145e9b],options,_0x452eb0+0x1);}return null!=_0x16bba4['resolvedAt']&&Object['hasOwnProperty']['call'](_0x16bba4,'resolvedAt')&&(object['resolvedAt']=_0x16bba4['resolvedAt']),null!=_0x16bba4['resolvedBy']&&Object['hasOwnProperty']['call'](_0x16bba4,'resolvedBy')&&(object['resolvedBy']=_0x16bba4['resolvedBy']),null!=_0x16bba4['context']&&Object['hasOwnProperty']['call'](_0x16bba4,'context')&&(object['context']=_0x16bba4['context']),null!=_0x16bba4['createdAt']&&Object['hasOwnProperty']['call'](_0x16bba4,'createdAt')&&(object['createdAt']=_0x16bba4['createdAt']),null!=_0x16bba4['deletedAt']&&Object['hasOwnProperty']['call'](_0x16bba4,'deletedAt')&&(object['deletedAt']=_0x16bba4['deletedAt']),null!=_0x16bba4['attributes']&&Object['hasOwnProperty']['call'](_0x16bba4,'attributes')&&(object['attributes']=_0x16bba4['attributes']),null!=_0x16bba4['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x16bba4,'unlinkedAt')&&(object['unlinkedAt']=_0x16bba4['unlinkedAt']),object;},CommentsThreadDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentsThreadDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentsThreadDescriptor';},CommentsThreadDescriptor;}()),$root['CommentDescriptor']=(function(){function CommentDescriptor(properties){if(properties){for(var _0x4d3c63=Object['keys'](properties),_0x4aaa0b=0x0;_0x4aaa0b<_0x4d3c63['length'];++_0x4aaa0b)null!=properties[_0x4d3c63[_0x4aaa0b]]&&'__proto__'!==_0x4d3c63[_0x4aaa0b]&&(this[_0x4d3c63[_0x4aaa0b]]=properties[_0x4d3c63[_0x4aaa0b]]);}}return CommentDescriptor['prototype']['commentId']='',CommentDescriptor['prototype']['commentThreadId']='',CommentDescriptor['prototype']['userId']='',CommentDescriptor['prototype']['content']='',CommentDescriptor['prototype']['documentId']='',CommentDescriptor['prototype']['createdAt']='',CommentDescriptor['prototype']['attributes']='',CommentDescriptor['create']=function(properties){return new CommentDescriptor(properties);},CommentDescriptor['encode']=function(_0x24ae3b,writer,_0x797b38){if(writer||(writer=$Writer['create']()),void 0x0===_0x797b38&&(_0x797b38=0x0),_0x797b38>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x24ae3b['commentId']&&Object['hasOwnProperty']['call'](_0x24ae3b,'commentId')&&writer['uint32'](0xa)['string'](_0x24ae3b['commentId']),null!=_0x24ae3b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x24ae3b,'commentThreadId')&&writer['uint32'](0x12)['string'](_0x24ae3b['commentThreadId']),null!=_0x24ae3b['userId']&&Object['hasOwnProperty']['call'](_0x24ae3b,'userId')&&writer['uint32'](0x1a)['string'](_0x24ae3b['userId']),null!=_0x24ae3b['content']&&Object['hasOwnProperty']['call'](_0x24ae3b,'content')&&writer['uint32'](0x22)['string'](_0x24ae3b['content']),null!=_0x24ae3b['documentId']&&Object['hasOwnProperty']['call'](_0x24ae3b,'documentId')&&writer['uint32'](0x2a)['string'](_0x24ae3b['documentId']),null!=_0x24ae3b['createdAt']&&Object['hasOwnProperty']['call'](_0x24ae3b,'createdAt')&&writer['uint32'](0x32)['string'](_0x24ae3b['createdAt']),null!=_0x24ae3b['attributes']&&Object['hasOwnProperty']['call'](_0x24ae3b,'attributes')&&writer['uint32'](0x3a)['string'](_0x24ae3b['attributes']),writer;},CommentDescriptor['encodeDelimited']=function(_0x121bb9,writer){return this['encode'](_0x121bb9,writer)['ldelim']();},CommentDescriptor['decode']=function(_0x739e12,length,_0x41ba50,_0x2c2e92){if(_0x739e12 instanceof _0x470ccf||(_0x739e12=_0x470ccf['create'](_0x739e12)),void 0x0===_0x2c2e92&&(_0x2c2e92=0x0),_0x2c2e92>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x202d81=void 0x0===length?_0x739e12['len']:_0x739e12['pos']+length,_0x438002=new $root['CommentDescriptor']();_0x739e12['pos']<_0x202d81;){var tag=_0x739e12['uint32']();if(tag===_0x41ba50)break;switch(tag>>>0x3){case 0x1:_0x438002['commentId']=_0x739e12['string']();break;case 0x2:_0x438002['commentThreadId']=_0x739e12['string']();break;case 0x3:_0x438002['userId']=_0x739e12['string']();break;case 0x4:_0x438002['content']=_0x739e12['string']();break;case 0x5:_0x438002['documentId']=_0x739e12['string']();break;case 0x6:_0x438002['createdAt']=_0x739e12['string']();break;case 0x7:_0x438002['attributes']=_0x739e12['string']();break;default:_0x739e12['skipType'](0x7&tag,_0x2c2e92);}}return _0x438002;},CommentDescriptor['decodeDelimited']=function(_0xa96a85){return _0xa96a85 instanceof _0x470ccf||(_0xa96a85=new _0x470ccf(_0xa96a85)),this['decode'](_0xa96a85,_0xa96a85['uint32']());},CommentDescriptor['verify']=function(_0x120907,_0x3846c9){return'object'!=typeof _0x120907||null===_0x120907?'object\x20expected':(void 0x0===_0x3846c9&&(_0x3846c9=0x0),_0x3846c9>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x120907['commentId']&&Object['hasOwnProperty']['call'](_0x120907,'commentId')&&!$util['isString'](_0x120907['commentId'])?'commentId:\x20string\x20expected':null!=_0x120907['commentThreadId']&&Object['hasOwnProperty']['call'](_0x120907,'commentThreadId')&&!$util['isString'](_0x120907['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x120907['userId']&&Object['hasOwnProperty']['call'](_0x120907,'userId')&&!$util['isString'](_0x120907['userId'])?'userId:\x20string\x20expected':null!=_0x120907['content']&&Object['hasOwnProperty']['call'](_0x120907,'content')&&!$util['isString'](_0x120907['content'])?'content:\x20string\x20expected':null!=_0x120907['documentId']&&Object['hasOwnProperty']['call'](_0x120907,'documentId')&&!$util['isString'](_0x120907['documentId'])?'documentId:\x20string\x20expected':null!=_0x120907['createdAt']&&Object['hasOwnProperty']['call'](_0x120907,'createdAt')&&!$util['isString'](_0x120907['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x120907['attributes']&&Object['hasOwnProperty']['call'](_0x120907,'attributes')&&!$util['isString'](_0x120907['attributes'])?'attributes:\x20string\x20expected':null);},CommentDescriptor['fromObject']=function(object,_0x475d95){if(object instanceof $root['CommentDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.CommentDescriptor:\x20object\x20expected');if(void 0x0===_0x475d95&&(_0x475d95=0x0),_0x475d95>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ed00e=new $root['CommentDescriptor']();return null!=object['commentId']&&(_0x4ed00e['commentId']=String(object['commentId'])),null!=object['commentThreadId']&&(_0x4ed00e['commentThreadId']=String(object['commentThreadId'])),null!=object['userId']&&(_0x4ed00e['userId']=String(object['userId'])),null!=object['content']&&(_0x4ed00e['content']=String(object['content'])),null!=object['documentId']&&(_0x4ed00e['documentId']=String(object['documentId'])),null!=object['createdAt']&&(_0x4ed00e['createdAt']=String(object['createdAt'])),null!=object['attributes']&&(_0x4ed00e['attributes']=String(object['attributes'])),_0x4ed00e;},CommentDescriptor['toObject']=function(_0x56358a,options,_0x24365f){if(options||(options={}),void 0x0===_0x24365f&&(_0x24365f=0x0),_0x24365f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['commentId']='',object['commentThreadId']='',object['userId']='',object['content']='',object['documentId']='',object['createdAt']='',object['attributes']=''),null!=_0x56358a['commentId']&&Object['hasOwnProperty']['call'](_0x56358a,'commentId')&&(object['commentId']=_0x56358a['commentId']),null!=_0x56358a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x56358a,'commentThreadId')&&(object['commentThreadId']=_0x56358a['commentThreadId']),null!=_0x56358a['userId']&&Object['hasOwnProperty']['call'](_0x56358a,'userId')&&(object['userId']=_0x56358a['userId']),null!=_0x56358a['content']&&Object['hasOwnProperty']['call'](_0x56358a,'content')&&(object['content']=_0x56358a['content']),null!=_0x56358a['documentId']&&Object['hasOwnProperty']['call'](_0x56358a,'documentId')&&(object['documentId']=_0x56358a['documentId']),null!=_0x56358a['createdAt']&&Object['hasOwnProperty']['call'](_0x56358a,'createdAt')&&(object['createdAt']=_0x56358a['createdAt']),null!=_0x56358a['attributes']&&Object['hasOwnProperty']['call'](_0x56358a,'attributes')&&(object['attributes']=_0x56358a['attributes']),object;},CommentDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CommentDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CommentDescriptor';},CommentDescriptor;}()),$root['GetDocumentDetailsResponse']=(function(){function GetDocumentDetailsResponse(properties){if(properties){for(var _0x4e3672=Object['keys'](properties),_0x4c57f0=0x0;_0x4c57f0<_0x4e3672['length'];++_0x4c57f0)null!=properties[_0x4e3672[_0x4c57f0]]&&'__proto__'!==_0x4e3672[_0x4c57f0]&&(this[_0x4e3672[_0x4c57f0]]=properties[_0x4e3672[_0x4c57f0]]);}}return GetDocumentDetailsResponse['prototype']['lastDocumentSessionId']='',GetDocumentDetailsResponse['prototype']['lastDocumentSessionOperationId']='',GetDocumentDetailsResponse['prototype']['currentDocumentSessionId']='',GetDocumentDetailsResponse['prototype']['currentDocumentSessionVersion']=0x0,GetDocumentDetailsResponse['prototype']['currentDocumentSessionOperationId']='',GetDocumentDetailsResponse['create']=function(properties){return new GetDocumentDetailsResponse(properties);},GetDocumentDetailsResponse['encode']=function(_0x48ce75,writer,_0x587d47){if(writer||(writer=$Writer['create']()),void 0x0===_0x587d47&&(_0x587d47=0x0),_0x587d47>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x48ce75['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x48ce75,'lastDocumentSessionId')&&writer['uint32'](0xa)['string'](_0x48ce75['lastDocumentSessionId']),null!=_0x48ce75['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x48ce75,'lastDocumentSessionOperationId')&&writer['uint32'](0x12)['string'](_0x48ce75['lastDocumentSessionOperationId']),null!=_0x48ce75['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x48ce75,'currentDocumentSessionId')&&writer['uint32'](0x1a)['string'](_0x48ce75['currentDocumentSessionId']),null!=_0x48ce75['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x48ce75,'currentDocumentSessionVersion')&&writer['uint32'](0x20)['uint32'](_0x48ce75['currentDocumentSessionVersion']),null!=_0x48ce75['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x48ce75,'currentDocumentSessionOperationId')&&writer['uint32'](0x2a)['string'](_0x48ce75['currentDocumentSessionOperationId']),writer;},GetDocumentDetailsResponse['encodeDelimited']=function(_0xc2da8d,writer){return this['encode'](_0xc2da8d,writer)['ldelim']();},GetDocumentDetailsResponse['decode']=function(_0x1c4d21,length,_0x5d6d8a,_0x3e2d6d){if(_0x1c4d21 instanceof _0x470ccf||(_0x1c4d21=_0x470ccf['create'](_0x1c4d21)),void 0x0===_0x3e2d6d&&(_0x3e2d6d=0x0),_0x3e2d6d>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3624e8=void 0x0===length?_0x1c4d21['len']:_0x1c4d21['pos']+length,_0x345c77=new $root['GetDocumentDetailsResponse']();_0x1c4d21['pos']<_0x3624e8;){var tag=_0x1c4d21['uint32']();if(tag===_0x5d6d8a)break;switch(tag>>>0x3){case 0x1:_0x345c77['lastDocumentSessionId']=_0x1c4d21['string']();break;case 0x2:_0x345c77['lastDocumentSessionOperationId']=_0x1c4d21['string']();break;case 0x3:_0x345c77['currentDocumentSessionId']=_0x1c4d21['string']();break;case 0x4:_0x345c77['currentDocumentSessionVersion']=_0x1c4d21['uint32']();break;case 0x5:_0x345c77['currentDocumentSessionOperationId']=_0x1c4d21['string']();break;default:_0x1c4d21['skipType'](0x7&tag,_0x3e2d6d);}}return _0x345c77;},GetDocumentDetailsResponse['decodeDelimited']=function(_0x51aac0){return _0x51aac0 instanceof _0x470ccf||(_0x51aac0=new _0x470ccf(_0x51aac0)),this['decode'](_0x51aac0,_0x51aac0['uint32']());},GetDocumentDetailsResponse['verify']=function(_0x1c34ae,_0x42d07f){return'object'!=typeof _0x1c34ae||null===_0x1c34ae?'object\x20expected':(void 0x0===_0x42d07f&&(_0x42d07f=0x0),_0x42d07f>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1c34ae['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x1c34ae,'lastDocumentSessionId')&&!$util['isString'](_0x1c34ae['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x1c34ae['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x1c34ae,'lastDocumentSessionOperationId')&&!$util['isString'](_0x1c34ae['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x1c34ae['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x1c34ae,'currentDocumentSessionId')&&!$util['isString'](_0x1c34ae['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x1c34ae['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x1c34ae,'currentDocumentSessionVersion')&&!$util['isInteger'](_0x1c34ae['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x1c34ae['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x1c34ae,'currentDocumentSessionOperationId')&&!$util['isString'](_0x1c34ae['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},GetDocumentDetailsResponse['fromObject']=function(object,_0xdda93e){if(object instanceof $root['GetDocumentDetailsResponse'])return object;if(!$util['isObject'](object))throw TypeError('.GetDocumentDetailsResponse:\x20object\x20expected');if(void 0x0===_0xdda93e&&(_0xdda93e=0x0),_0xdda93e>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x214984=new $root['GetDocumentDetailsResponse']();return null!=object['lastDocumentSessionId']&&(_0x214984['lastDocumentSessionId']=String(object['lastDocumentSessionId'])),null!=object['lastDocumentSessionOperationId']&&(_0x214984['lastDocumentSessionOperationId']=String(object['lastDocumentSessionOperationId'])),null!=object['currentDocumentSessionId']&&(_0x214984['currentDocumentSessionId']=String(object['currentDocumentSessionId'])),null!=object['currentDocumentSessionVersion']&&(_0x214984['currentDocumentSessionVersion']=object['currentDocumentSessionVersion']>>>0x0),null!=object['currentDocumentSessionOperationId']&&(_0x214984['currentDocumentSessionOperationId']=String(object['currentDocumentSessionOperationId'])),_0x214984;},GetDocumentDetailsResponse['toObject']=function(_0x3ec9e6,options,_0x10b5de){if(options||(options={}),void 0x0===_0x10b5de&&(_0x10b5de=0x0),_0x10b5de>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['lastDocumentSessionId']='',object['lastDocumentSessionOperationId']='',object['currentDocumentSessionId']='',object['currentDocumentSessionVersion']=0x0,object['currentDocumentSessionOperationId']=''),null!=_0x3ec9e6['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x3ec9e6,'lastDocumentSessionId')&&(object['lastDocumentSessionId']=_0x3ec9e6['lastDocumentSessionId']),null!=_0x3ec9e6['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x3ec9e6,'lastDocumentSessionOperationId')&&(object['lastDocumentSessionOperationId']=_0x3ec9e6['lastDocumentSessionOperationId']),null!=_0x3ec9e6['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x3ec9e6,'currentDocumentSessionId')&&(object['currentDocumentSessionId']=_0x3ec9e6['currentDocumentSessionId']),null!=_0x3ec9e6['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x3ec9e6,'currentDocumentSessionVersion')&&(object['currentDocumentSessionVersion']=_0x3ec9e6['currentDocumentSessionVersion']),null!=_0x3ec9e6['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x3ec9e6,'currentDocumentSessionOperationId')&&(object['currentDocumentSessionOperationId']=_0x3ec9e6['currentDocumentSessionOperationId']),object;},GetDocumentDetailsResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetDocumentDetailsResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetDocumentDetailsResponse';},GetDocumentDetailsResponse;}()),$root['CollaborativeEditingResponse']=(function(){function CollaborativeEditingResponse(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x318cd7=Object['keys'](properties),_0x3dfa4f=0x0;_0x3dfa4f<_0x318cd7['length'];++_0x3dfa4f)null!=properties[_0x318cd7[_0x3dfa4f]]&&'__proto__'!==_0x318cd7[_0x3dfa4f]&&(this[_0x318cd7[_0x3dfa4f]]=properties[_0x318cd7[_0x3dfa4f]]);}}return CollaborativeEditingResponse['prototype']['version']=0x0,CollaborativeEditingResponse['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['types']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingResponse['prototype']['lastOperationId']='',CollaborativeEditingResponse['prototype']['lastOperationAcceptedAt']='',CollaborativeEditingResponse['create']=function(properties){return new CollaborativeEditingResponse(properties);},CollaborativeEditingResponse['encode']=function(_0x1d3ae0,writer,_0x1e6130){if(writer||(writer=$Writer['create']()),void 0x0===_0x1e6130&&(_0x1e6130=0x0),_0x1e6130>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1d3ae0['version']&&Object['hasOwnProperty']['call'](_0x1d3ae0,'version')&&writer['uint32'](0x8)['uint32'](_0x1d3ae0['version']),null!=_0x1d3ae0['buffers']&&_0x1d3ae0['buffers']['length']){for(var _0x502e4c=0x0;_0x502e4c<_0x1d3ae0['buffers']['length'];++_0x502e4c)writer['uint32'](0x12)['bytes'](_0x1d3ae0['buffers'][_0x502e4c]);}if(null!=_0x1d3ae0['types']&&_0x1d3ae0['types']['length']){writer['uint32'](0x1a)['fork']();for(_0x502e4c=0x0;_0x502e4c<_0x1d3ae0['types']['length'];++_0x502e4c)writer['uint32'](_0x1d3ae0['types'][_0x502e4c]);writer['ldelim']();}if(null!=_0x1d3ae0['metadata']&&_0x1d3ae0['metadata']['length']){for(_0x502e4c=0x0;_0x502e4c<_0x1d3ae0['metadata']['length'];++_0x502e4c)$root['OperationMetadataDescriptor']['encode'](_0x1d3ae0['metadata'][_0x502e4c],writer['uint32'](0x2a)['fork'](),_0x1e6130+0x1)['ldelim']();}return null!=_0x1d3ae0['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1d3ae0,'lastOperationId')&&writer['uint32'](0x32)['string'](_0x1d3ae0['lastOperationId']),null!=_0x1d3ae0['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x1d3ae0,'lastOperationAcceptedAt')&&writer['uint32'](0x3a)['string'](_0x1d3ae0['lastOperationAcceptedAt']),writer;},CollaborativeEditingResponse['encodeDelimited']=function(_0x2b1bc4,writer){return this['encode'](_0x2b1bc4,writer)['ldelim']();},CollaborativeEditingResponse['decode']=function(_0x6b8238,length,_0x9776e,_0x142288){if(_0x6b8238 instanceof _0x470ccf||(_0x6b8238=_0x470ccf['create'](_0x6b8238)),void 0x0===_0x142288&&(_0x142288=0x0),_0x142288>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2791cd=void 0x0===length?_0x6b8238['len']:_0x6b8238['pos']+length,_0x1f613d=new $root['CollaborativeEditingResponse']();_0x6b8238['pos']<_0x2791cd;){var tag=_0x6b8238['uint32']();if(tag===_0x9776e)break;switch(tag>>>0x3){case 0x1:_0x1f613d['version']=_0x6b8238['uint32']();break;case 0x2:_0x1f613d['buffers']&&_0x1f613d['buffers']['length']||(_0x1f613d['buffers']=[]),_0x1f613d['buffers']['push'](_0x6b8238['bytes']());break;case 0x3:if(_0x1f613d['types']&&_0x1f613d['types']['length']||(_0x1f613d['types']=[]),0x2==(0x7&tag)){for(var _0x361181=_0x6b8238['uint32']()+_0x6b8238['pos'];_0x6b8238['pos']<_0x361181;)_0x1f613d['types']['push'](_0x6b8238['uint32']());}else _0x1f613d['types']['push'](_0x6b8238['uint32']());break;case 0x5:_0x1f613d['metadata']&&_0x1f613d['metadata']['length']||(_0x1f613d['metadata']=[]),_0x1f613d['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x6b8238,_0x6b8238['uint32'](),void 0x0,_0x142288+0x1));break;case 0x6:_0x1f613d['lastOperationId']=_0x6b8238['string']();break;case 0x7:_0x1f613d['lastOperationAcceptedAt']=_0x6b8238['string']();break;default:_0x6b8238['skipType'](0x7&tag,_0x142288);}}return _0x1f613d;},CollaborativeEditingResponse['decodeDelimited']=function(_0xfbbc33){return _0xfbbc33 instanceof _0x470ccf||(_0xfbbc33=new _0x470ccf(_0xfbbc33)),this['decode'](_0xfbbc33,_0xfbbc33['uint32']());},CollaborativeEditingResponse['verify']=function(_0xe4ed73,_0x1e976c){if('object'!=typeof _0xe4ed73||null===_0xe4ed73)return'object\x20expected';if(void 0x0===_0x1e976c&&(_0x1e976c=0x0),_0x1e976c>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xe4ed73['version']&&Object['hasOwnProperty']['call'](_0xe4ed73,'version')&&!$util['isInteger'](_0xe4ed73['version']))return'version:\x20integer\x20expected';if(null!=_0xe4ed73['buffers']&&Object['hasOwnProperty']['call'](_0xe4ed73,'buffers')){if(!Array['isArray'](_0xe4ed73['buffers']))return'buffers:\x20array\x20expected';for(var _0x3caafc=0x0;_0x3caafc<_0xe4ed73['buffers']['length'];++_0x3caafc)if(!(_0xe4ed73['buffers'][_0x3caafc]&&'number'==typeof _0xe4ed73['buffers'][_0x3caafc]['length']||$util['isString'](_0xe4ed73['buffers'][_0x3caafc])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0xe4ed73['types']&&Object['hasOwnProperty']['call'](_0xe4ed73,'types')){if(!Array['isArray'](_0xe4ed73['types']))return'types:\x20array\x20expected';for(_0x3caafc=0x0;_0x3caafc<_0xe4ed73['types']['length'];++_0x3caafc)if(!$util['isInteger'](_0xe4ed73['types'][_0x3caafc]))return'types:\x20integer[]\x20expected';}if(null!=_0xe4ed73['metadata']&&Object['hasOwnProperty']['call'](_0xe4ed73,'metadata')){if(!Array['isArray'](_0xe4ed73['metadata']))return'metadata:\x20array\x20expected';for(_0x3caafc=0x0;_0x3caafc<_0xe4ed73['metadata']['length'];++_0x3caafc){var _0x202c7d=$root['OperationMetadataDescriptor']['verify'](_0xe4ed73['metadata'][_0x3caafc],_0x1e976c+0x1);if(_0x202c7d)return'metadata.'+_0x202c7d;}}return null!=_0xe4ed73['lastOperationId']&&Object['hasOwnProperty']['call'](_0xe4ed73,'lastOperationId')&&!$util['isString'](_0xe4ed73['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0xe4ed73['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0xe4ed73,'lastOperationAcceptedAt')&&!$util['isString'](_0xe4ed73['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},CollaborativeEditingResponse['fromObject']=function(object,_0x4d2e5c){if(object instanceof $root['CollaborativeEditingResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingResponse:\x20object\x20expected');if(void 0x0===_0x4d2e5c&&(_0x4d2e5c=0x0),_0x4d2e5c>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x19c231=new $root['CollaborativeEditingResponse']();if(null!=object['version']&&(_0x19c231['version']=object['version']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x19c231['buffers']=[];for(var _0x48494b=0x0;_0x48494b<object['buffers']['length'];++_0x48494b)'string'==typeof object['buffers'][_0x48494b]?$util['base64']['decode'](object['buffers'][_0x48494b],_0x19c231['buffers'][_0x48494b]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x48494b])),0x0):object['buffers'][_0x48494b]['length']>=0x0&&(_0x19c231['buffers'][_0x48494b]=object['buffers'][_0x48494b]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');_0x19c231['types']=[];for(_0x48494b=0x0;_0x48494b<object['types']['length'];++_0x48494b)_0x19c231['types'][_0x48494b]=object['types'][_0x48494b]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');_0x19c231['metadata']=[];for(_0x48494b=0x0;_0x48494b<object['metadata']['length'];++_0x48494b){if(!$util['isObject'](object['metadata'][_0x48494b]))throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x19c231['metadata'][_0x48494b]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x48494b],_0x4d2e5c+0x1);}}return null!=object['lastOperationId']&&(_0x19c231['lastOperationId']=String(object['lastOperationId'])),null!=object['lastOperationAcceptedAt']&&(_0x19c231['lastOperationAcceptedAt']=String(object['lastOperationAcceptedAt'])),_0x19c231;},CollaborativeEditingResponse['toObject']=function(_0x278061,options,_0x167873){if(options||(options={}),void 0x0===_0x167873&&(_0x167873=0x0),_0x167873>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['version']=0x0,object['lastOperationId']='',object['lastOperationAcceptedAt']=''),null!=_0x278061['version']&&Object['hasOwnProperty']['call'](_0x278061,'version')&&(object['version']=_0x278061['version']),_0x278061['buffers']&&_0x278061['buffers']['length']){object['buffers']=[];for(var _0x289dab=0x0;_0x289dab<_0x278061['buffers']['length'];++_0x289dab)object['buffers'][_0x289dab]=options['bytes']===String?$util['base64']['encode'](_0x278061['buffers'][_0x289dab],0x0,_0x278061['buffers'][_0x289dab]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x278061['buffers'][_0x289dab]):_0x278061['buffers'][_0x289dab];}if(_0x278061['types']&&_0x278061['types']['length']){object['types']=[];for(_0x289dab=0x0;_0x289dab<_0x278061['types']['length'];++_0x289dab)object['types'][_0x289dab]=_0x278061['types'][_0x289dab];}if(_0x278061['metadata']&&_0x278061['metadata']['length']){object['metadata']=[];for(_0x289dab=0x0;_0x289dab<_0x278061['metadata']['length'];++_0x289dab)object['metadata'][_0x289dab]=$root['OperationMetadataDescriptor']['toObject'](_0x278061['metadata'][_0x289dab],options,_0x167873+0x1);}return null!=_0x278061['lastOperationId']&&Object['hasOwnProperty']['call'](_0x278061,'lastOperationId')&&(object['lastOperationId']=_0x278061['lastOperationId']),null!=_0x278061['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x278061,'lastOperationAcceptedAt')&&(object['lastOperationAcceptedAt']=_0x278061['lastOperationAcceptedAt']),object;},CollaborativeEditingResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingResponse';},CollaborativeEditingResponse;}()),$root['CollaborativeEditingConnectResponse']=(function(){function CollaborativeEditingConnectResponse(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x21f84d=Object['keys'](properties),_0x3740bf=0x0;_0x3740bf<_0x21f84d['length'];++_0x3740bf)null!=properties[_0x21f84d[_0x3740bf]]&&'__proto__'!==_0x21f84d[_0x3740bf]&&(this[_0x21f84d[_0x3740bf]]=properties[_0x21f84d[_0x3740bf]]);}}return CollaborativeEditingConnectResponse['prototype']['channel']='',CollaborativeEditingConnectResponse['prototype']['offset']=0x0,CollaborativeEditingConnectResponse['prototype']['version']=0x0,CollaborativeEditingConnectResponse['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['types']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingConnectResponse['prototype']['initData']='',CollaborativeEditingConnectResponse['prototype']['isInitialized']=!0x1,CollaborativeEditingConnectResponse['prototype']['sessionId']='',CollaborativeEditingConnectResponse['prototype']['lastOperationId']='',CollaborativeEditingConnectResponse['prototype']['sessionCreatedAt']='',CollaborativeEditingConnectResponse['create']=function(properties){return new CollaborativeEditingConnectResponse(properties);},CollaborativeEditingConnectResponse['encode']=function(_0x41c303,writer,_0x3ba606){if(writer||(writer=$Writer['create']()),void 0x0===_0x3ba606&&(_0x3ba606=0x0),_0x3ba606>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x41c303['channel']&&Object['hasOwnProperty']['call'](_0x41c303,'channel')&&writer['uint32'](0xa)['string'](_0x41c303['channel']),null!=_0x41c303['offset']&&Object['hasOwnProperty']['call'](_0x41c303,'offset')&&writer['uint32'](0x10)['uint32'](_0x41c303['offset']),null!=_0x41c303['version']&&Object['hasOwnProperty']['call'](_0x41c303,'version')&&writer['uint32'](0x18)['uint32'](_0x41c303['version']),null!=_0x41c303['buffers']&&_0x41c303['buffers']['length']){for(var _0x514755=0x0;_0x514755<_0x41c303['buffers']['length'];++_0x514755)writer['uint32'](0x22)['bytes'](_0x41c303['buffers'][_0x514755]);}if(null!=_0x41c303['types']&&_0x41c303['types']['length']){writer['uint32'](0x2a)['fork']();for(_0x514755=0x0;_0x514755<_0x41c303['types']['length'];++_0x514755)writer['uint32'](_0x41c303['types'][_0x514755]);writer['ldelim']();}if(null!=_0x41c303['metadata']&&_0x41c303['metadata']['length']){for(_0x514755=0x0;_0x514755<_0x41c303['metadata']['length'];++_0x514755)$root['OperationMetadataDescriptor']['encode'](_0x41c303['metadata'][_0x514755],writer['uint32'](0x3a)['fork'](),_0x3ba606+0x1)['ldelim']();}return null!=_0x41c303['initData']&&Object['hasOwnProperty']['call'](_0x41c303,'initData')&&writer['uint32'](0x42)['string'](_0x41c303['initData']),null!=_0x41c303['isInitialized']&&Object['hasOwnProperty']['call'](_0x41c303,'isInitialized')&&writer['uint32'](0x48)['bool'](_0x41c303['isInitialized']),null!=_0x41c303['sessionId']&&Object['hasOwnProperty']['call'](_0x41c303,'sessionId')&&writer['uint32'](0x52)['string'](_0x41c303['sessionId']),null!=_0x41c303['lastOperationId']&&Object['hasOwnProperty']['call'](_0x41c303,'lastOperationId')&&writer['uint32'](0x5a)['string'](_0x41c303['lastOperationId']),null!=_0x41c303['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x41c303,'sessionCreatedAt')&&writer['uint32'](0x62)['string'](_0x41c303['sessionCreatedAt']),writer;},CollaborativeEditingConnectResponse['encodeDelimited']=function(_0x28ab40,writer){return this['encode'](_0x28ab40,writer)['ldelim']();},CollaborativeEditingConnectResponse['decode']=function(_0x14d933,length,_0x23f2eb,_0x157266){if(_0x14d933 instanceof _0x470ccf||(_0x14d933=_0x470ccf['create'](_0x14d933)),void 0x0===_0x157266&&(_0x157266=0x0),_0x157266>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4e9efe=void 0x0===length?_0x14d933['len']:_0x14d933['pos']+length,_0x319edd=new $root['CollaborativeEditingConnectResponse']();_0x14d933['pos']<_0x4e9efe;){var tag=_0x14d933['uint32']();if(tag===_0x23f2eb)break;switch(tag>>>0x3){case 0x1:_0x319edd['channel']=_0x14d933['string']();break;case 0x2:_0x319edd['offset']=_0x14d933['uint32']();break;case 0x3:_0x319edd['version']=_0x14d933['uint32']();break;case 0x4:_0x319edd['buffers']&&_0x319edd['buffers']['length']||(_0x319edd['buffers']=[]),_0x319edd['buffers']['push'](_0x14d933['bytes']());break;case 0x5:if(_0x319edd['types']&&_0x319edd['types']['length']||(_0x319edd['types']=[]),0x2==(0x7&tag)){for(var _0x3114bd=_0x14d933['uint32']()+_0x14d933['pos'];_0x14d933['pos']<_0x3114bd;)_0x319edd['types']['push'](_0x14d933['uint32']());}else _0x319edd['types']['push'](_0x14d933['uint32']());break;case 0x7:_0x319edd['metadata']&&_0x319edd['metadata']['length']||(_0x319edd['metadata']=[]),_0x319edd['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x14d933,_0x14d933['uint32'](),void 0x0,_0x157266+0x1));break;case 0x8:_0x319edd['initData']=_0x14d933['string']();break;case 0x9:_0x319edd['isInitialized']=_0x14d933['bool']();break;case 0xa:_0x319edd['sessionId']=_0x14d933['string']();break;case 0xb:_0x319edd['lastOperationId']=_0x14d933['string']();break;case 0xc:_0x319edd['sessionCreatedAt']=_0x14d933['string']();break;default:_0x14d933['skipType'](0x7&tag,_0x157266);}}return _0x319edd;},CollaborativeEditingConnectResponse['decodeDelimited']=function(_0x28a35c){return _0x28a35c instanceof _0x470ccf||(_0x28a35c=new _0x470ccf(_0x28a35c)),this['decode'](_0x28a35c,_0x28a35c['uint32']());},CollaborativeEditingConnectResponse['verify']=function(_0x5cb33d,_0x68a4dc){if('object'!=typeof _0x5cb33d||null===_0x5cb33d)return'object\x20expected';if(void 0x0===_0x68a4dc&&(_0x68a4dc=0x0),_0x68a4dc>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5cb33d['channel']&&Object['hasOwnProperty']['call'](_0x5cb33d,'channel')&&!$util['isString'](_0x5cb33d['channel']))return'channel:\x20string\x20expected';if(null!=_0x5cb33d['offset']&&Object['hasOwnProperty']['call'](_0x5cb33d,'offset')&&!$util['isInteger'](_0x5cb33d['offset']))return'offset:\x20integer\x20expected';if(null!=_0x5cb33d['version']&&Object['hasOwnProperty']['call'](_0x5cb33d,'version')&&!$util['isInteger'](_0x5cb33d['version']))return'version:\x20integer\x20expected';if(null!=_0x5cb33d['buffers']&&Object['hasOwnProperty']['call'](_0x5cb33d,'buffers')){if(!Array['isArray'](_0x5cb33d['buffers']))return'buffers:\x20array\x20expected';for(var _0x55e4f6=0x0;_0x55e4f6<_0x5cb33d['buffers']['length'];++_0x55e4f6)if(!(_0x5cb33d['buffers'][_0x55e4f6]&&'number'==typeof _0x5cb33d['buffers'][_0x55e4f6]['length']||$util['isString'](_0x5cb33d['buffers'][_0x55e4f6])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5cb33d['types']&&Object['hasOwnProperty']['call'](_0x5cb33d,'types')){if(!Array['isArray'](_0x5cb33d['types']))return'types:\x20array\x20expected';for(_0x55e4f6=0x0;_0x55e4f6<_0x5cb33d['types']['length'];++_0x55e4f6)if(!$util['isInteger'](_0x5cb33d['types'][_0x55e4f6]))return'types:\x20integer[]\x20expected';}if(null!=_0x5cb33d['metadata']&&Object['hasOwnProperty']['call'](_0x5cb33d,'metadata')){if(!Array['isArray'](_0x5cb33d['metadata']))return'metadata:\x20array\x20expected';for(_0x55e4f6=0x0;_0x55e4f6<_0x5cb33d['metadata']['length'];++_0x55e4f6){var _0x4fb7e4=$root['OperationMetadataDescriptor']['verify'](_0x5cb33d['metadata'][_0x55e4f6],_0x68a4dc+0x1);if(_0x4fb7e4)return'metadata.'+_0x4fb7e4;}}return null!=_0x5cb33d['initData']&&Object['hasOwnProperty']['call'](_0x5cb33d,'initData')&&!$util['isString'](_0x5cb33d['initData'])?'initData:\x20string\x20expected':null!=_0x5cb33d['isInitialized']&&Object['hasOwnProperty']['call'](_0x5cb33d,'isInitialized')&&'boolean'!=typeof _0x5cb33d['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x5cb33d['sessionId']&&Object['hasOwnProperty']['call'](_0x5cb33d,'sessionId')&&!$util['isString'](_0x5cb33d['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x5cb33d['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5cb33d,'lastOperationId')&&!$util['isString'](_0x5cb33d['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x5cb33d['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x5cb33d,'sessionCreatedAt')&&!$util['isString'](_0x5cb33d['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},CollaborativeEditingConnectResponse['fromObject']=function(object,_0x1d326b){if(object instanceof $root['CollaborativeEditingConnectResponse'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingConnectResponse:\x20object\x20expected');if(void 0x0===_0x1d326b&&(_0x1d326b=0x0),_0x1d326b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x24378c=new $root['CollaborativeEditingConnectResponse']();if(null!=object['channel']&&(_0x24378c['channel']=String(object['channel'])),null!=object['offset']&&(_0x24378c['offset']=object['offset']>>>0x0),null!=object['version']&&(_0x24378c['version']=object['version']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x24378c['buffers']=[];for(var _0x3bd0a9=0x0;_0x3bd0a9<object['buffers']['length'];++_0x3bd0a9)'string'==typeof object['buffers'][_0x3bd0a9]?$util['base64']['decode'](object['buffers'][_0x3bd0a9],_0x24378c['buffers'][_0x3bd0a9]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x3bd0a9])),0x0):object['buffers'][_0x3bd0a9]['length']>=0x0&&(_0x24378c['buffers'][_0x3bd0a9]=object['buffers'][_0x3bd0a9]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');_0x24378c['types']=[];for(_0x3bd0a9=0x0;_0x3bd0a9<object['types']['length'];++_0x3bd0a9)_0x24378c['types'][_0x3bd0a9]=object['types'][_0x3bd0a9]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');_0x24378c['metadata']=[];for(_0x3bd0a9=0x0;_0x3bd0a9<object['metadata']['length'];++_0x3bd0a9){if(!$util['isObject'](object['metadata'][_0x3bd0a9]))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x24378c['metadata'][_0x3bd0a9]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0x3bd0a9],_0x1d326b+0x1);}}return null!=object['initData']&&(_0x24378c['initData']=String(object['initData'])),null!=object['isInitialized']&&(_0x24378c['isInitialized']=Boolean(object['isInitialized'])),null!=object['sessionId']&&(_0x24378c['sessionId']=String(object['sessionId'])),null!=object['lastOperationId']&&(_0x24378c['lastOperationId']=String(object['lastOperationId'])),null!=object['sessionCreatedAt']&&(_0x24378c['sessionCreatedAt']=String(object['sessionCreatedAt'])),_0x24378c;},CollaborativeEditingConnectResponse['toObject']=function(_0xb3bd09,options,_0x3537b7){if(options||(options={}),void 0x0===_0x3537b7&&(_0x3537b7=0x0),_0x3537b7>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['channel']='',object['offset']=0x0,object['version']=0x0,object['initData']='',object['isInitialized']=!0x1,object['sessionId']='',object['lastOperationId']='',object['sessionCreatedAt']=''),null!=_0xb3bd09['channel']&&Object['hasOwnProperty']['call'](_0xb3bd09,'channel')&&(object['channel']=_0xb3bd09['channel']),null!=_0xb3bd09['offset']&&Object['hasOwnProperty']['call'](_0xb3bd09,'offset')&&(object['offset']=_0xb3bd09['offset']),null!=_0xb3bd09['version']&&Object['hasOwnProperty']['call'](_0xb3bd09,'version')&&(object['version']=_0xb3bd09['version']),_0xb3bd09['buffers']&&_0xb3bd09['buffers']['length']){object['buffers']=[];for(var _0x4c08ee=0x0;_0x4c08ee<_0xb3bd09['buffers']['length'];++_0x4c08ee)object['buffers'][_0x4c08ee]=options['bytes']===String?$util['base64']['encode'](_0xb3bd09['buffers'][_0x4c08ee],0x0,_0xb3bd09['buffers'][_0x4c08ee]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0xb3bd09['buffers'][_0x4c08ee]):_0xb3bd09['buffers'][_0x4c08ee];}if(_0xb3bd09['types']&&_0xb3bd09['types']['length']){object['types']=[];for(_0x4c08ee=0x0;_0x4c08ee<_0xb3bd09['types']['length'];++_0x4c08ee)object['types'][_0x4c08ee]=_0xb3bd09['types'][_0x4c08ee];}if(_0xb3bd09['metadata']&&_0xb3bd09['metadata']['length']){object['metadata']=[];for(_0x4c08ee=0x0;_0x4c08ee<_0xb3bd09['metadata']['length'];++_0x4c08ee)object['metadata'][_0x4c08ee]=$root['OperationMetadataDescriptor']['toObject'](_0xb3bd09['metadata'][_0x4c08ee],options,_0x3537b7+0x1);}return null!=_0xb3bd09['initData']&&Object['hasOwnProperty']['call'](_0xb3bd09,'initData')&&(object['initData']=_0xb3bd09['initData']),null!=_0xb3bd09['isInitialized']&&Object['hasOwnProperty']['call'](_0xb3bd09,'isInitialized')&&(object['isInitialized']=_0xb3bd09['isInitialized']),null!=_0xb3bd09['sessionId']&&Object['hasOwnProperty']['call'](_0xb3bd09,'sessionId')&&(object['sessionId']=_0xb3bd09['sessionId']),null!=_0xb3bd09['lastOperationId']&&Object['hasOwnProperty']['call'](_0xb3bd09,'lastOperationId')&&(object['lastOperationId']=_0xb3bd09['lastOperationId']),null!=_0xb3bd09['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0xb3bd09,'sessionCreatedAt')&&(object['sessionCreatedAt']=_0xb3bd09['sessionCreatedAt']),object;},CollaborativeEditingConnectResponse['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingConnectResponse['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingConnectResponse';},CollaborativeEditingConnectResponse;}()),$root['GetDocumentDetailsMessage']=(function(){function GetDocumentDetailsMessage(properties){if(properties){for(var _0xc6e301=Object['keys'](properties),_0x5d43f5=0x0;_0x5d43f5<_0xc6e301['length'];++_0x5d43f5)null!=properties[_0xc6e301[_0x5d43f5]]&&'__proto__'!==_0xc6e301[_0x5d43f5]&&(this[_0xc6e301[_0x5d43f5]]=properties[_0xc6e301[_0x5d43f5]]);}}return GetDocumentDetailsMessage['prototype']['documentId']='',GetDocumentDetailsMessage['prototype']['environmentId']='',GetDocumentDetailsMessage['create']=function(properties){return new GetDocumentDetailsMessage(properties);},GetDocumentDetailsMessage['encode']=function(_0x4c5754,writer,_0x2f8a93){if(writer||(writer=$Writer['create']()),void 0x0===_0x2f8a93&&(_0x2f8a93=0x0),_0x2f8a93>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4c5754['documentId']&&Object['hasOwnProperty']['call'](_0x4c5754,'documentId')&&writer['uint32'](0xa)['string'](_0x4c5754['documentId']),null!=_0x4c5754['environmentId']&&Object['hasOwnProperty']['call'](_0x4c5754,'environmentId')&&writer['uint32'](0x12)['string'](_0x4c5754['environmentId']),writer;},GetDocumentDetailsMessage['encodeDelimited']=function(_0x120659,writer){return this['encode'](_0x120659,writer)['ldelim']();},GetDocumentDetailsMessage['decode']=function(_0x1960a0,length,_0x512e03,_0x16b805){if(_0x1960a0 instanceof _0x470ccf||(_0x1960a0=_0x470ccf['create'](_0x1960a0)),void 0x0===_0x16b805&&(_0x16b805=0x0),_0x16b805>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1a54ef=void 0x0===length?_0x1960a0['len']:_0x1960a0['pos']+length,_0x185a91=new $root['GetDocumentDetailsMessage']();_0x1960a0['pos']<_0x1a54ef;){var tag=_0x1960a0['uint32']();if(tag===_0x512e03)break;switch(tag>>>0x3){case 0x1:_0x185a91['documentId']=_0x1960a0['string']();break;case 0x2:_0x185a91['environmentId']=_0x1960a0['string']();break;default:_0x1960a0['skipType'](0x7&tag,_0x16b805);}}return _0x185a91;},GetDocumentDetailsMessage['decodeDelimited']=function(_0x1bbf32){return _0x1bbf32 instanceof _0x470ccf||(_0x1bbf32=new _0x470ccf(_0x1bbf32)),this['decode'](_0x1bbf32,_0x1bbf32['uint32']());},GetDocumentDetailsMessage['verify']=function(_0x38099d,_0x5a6ef6){return'object'!=typeof _0x38099d||null===_0x38099d?'object\x20expected':(void 0x0===_0x5a6ef6&&(_0x5a6ef6=0x0),_0x5a6ef6>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x38099d['documentId']&&Object['hasOwnProperty']['call'](_0x38099d,'documentId')&&!$util['isString'](_0x38099d['documentId'])?'documentId:\x20string\x20expected':null!=_0x38099d['environmentId']&&Object['hasOwnProperty']['call'](_0x38099d,'environmentId')&&!$util['isString'](_0x38099d['environmentId'])?'environmentId:\x20string\x20expected':null);},GetDocumentDetailsMessage['fromObject']=function(object,_0x15b755){if(object instanceof $root['GetDocumentDetailsMessage'])return object;if(!$util['isObject'](object))throw TypeError('.GetDocumentDetailsMessage:\x20object\x20expected');if(void 0x0===_0x15b755&&(_0x15b755=0x0),_0x15b755>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x174635=new $root['GetDocumentDetailsMessage']();return null!=object['documentId']&&(_0x174635['documentId']=String(object['documentId'])),null!=object['environmentId']&&(_0x174635['environmentId']=String(object['environmentId'])),_0x174635;},GetDocumentDetailsMessage['toObject']=function(_0x2dadbd,options,_0x36fa12){if(options||(options={}),void 0x0===_0x36fa12&&(_0x36fa12=0x0),_0x36fa12>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['documentId']='',object['environmentId']=''),null!=_0x2dadbd['documentId']&&Object['hasOwnProperty']['call'](_0x2dadbd,'documentId')&&(object['documentId']=_0x2dadbd['documentId']),null!=_0x2dadbd['environmentId']&&Object['hasOwnProperty']['call'](_0x2dadbd,'environmentId')&&(object['environmentId']=_0x2dadbd['environmentId']),object;},GetDocumentDetailsMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},GetDocumentDetailsMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/GetDocumentDetailsMessage';},GetDocumentDetailsMessage;}()),$root['CollaborativeEditingUpdateMessage']=(function(){function CollaborativeEditingUpdateMessage(properties){if(this['buffers']=[],this['types']=[],this['metadata']=[],properties){for(var _0x584a10=Object['keys'](properties),_0x2e9bf1=0x0;_0x2e9bf1<_0x584a10['length'];++_0x2e9bf1)null!=properties[_0x584a10[_0x2e9bf1]]&&'__proto__'!==_0x584a10[_0x2e9bf1]&&(this[_0x584a10[_0x2e9bf1]]=properties[_0x584a10[_0x2e9bf1]]);}}return CollaborativeEditingUpdateMessage['prototype']['id']='',CollaborativeEditingUpdateMessage['prototype']['baseVersion']=0x0,CollaborativeEditingUpdateMessage['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['types']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['metadata']=$util['emptyArray'],CollaborativeEditingUpdateMessage['prototype']['lastOperationId']='',CollaborativeEditingUpdateMessage['create']=function(properties){return new CollaborativeEditingUpdateMessage(properties);},CollaborativeEditingUpdateMessage['encode']=function(_0x1ceac6,writer,_0x31e467){if(writer||(writer=$Writer['create']()),void 0x0===_0x31e467&&(_0x31e467=0x0),_0x31e467>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1ceac6['id']&&Object['hasOwnProperty']['call'](_0x1ceac6,'id')&&writer['uint32'](0xa)['string'](_0x1ceac6['id']),null!=_0x1ceac6['baseVersion']&&Object['hasOwnProperty']['call'](_0x1ceac6,'baseVersion')&&writer['uint32'](0x10)['uint32'](_0x1ceac6['baseVersion']),null!=_0x1ceac6['buffers']&&_0x1ceac6['buffers']['length']){for(var _0x126709=0x0;_0x126709<_0x1ceac6['buffers']['length'];++_0x126709)writer['uint32'](0x1a)['bytes'](_0x1ceac6['buffers'][_0x126709]);}if(null!=_0x1ceac6['types']&&_0x1ceac6['types']['length']){writer['uint32'](0x22)['fork']();for(_0x126709=0x0;_0x126709<_0x1ceac6['types']['length'];++_0x126709)writer['uint32'](_0x1ceac6['types'][_0x126709]);writer['ldelim']();}if(null!=_0x1ceac6['metadata']&&_0x1ceac6['metadata']['length']){for(_0x126709=0x0;_0x126709<_0x1ceac6['metadata']['length'];++_0x126709)$root['OperationMetadataDescriptor']['encode'](_0x1ceac6['metadata'][_0x126709],writer['uint32'](0x32)['fork'](),_0x31e467+0x1)['ldelim']();}return null!=_0x1ceac6['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1ceac6,'lastOperationId')&&writer['uint32'](0x3a)['string'](_0x1ceac6['lastOperationId']),writer;},CollaborativeEditingUpdateMessage['encodeDelimited']=function(_0x3c9ce0,writer){return this['encode'](_0x3c9ce0,writer)['ldelim']();},CollaborativeEditingUpdateMessage['decode']=function(_0x383c43,length,_0x4b0434,_0x413c30){if(_0x383c43 instanceof _0x470ccf||(_0x383c43=_0x470ccf['create'](_0x383c43)),void 0x0===_0x413c30&&(_0x413c30=0x0),_0x413c30>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x48c9aa=void 0x0===length?_0x383c43['len']:_0x383c43['pos']+length,_0xc8b456=new $root['CollaborativeEditingUpdateMessage']();_0x383c43['pos']<_0x48c9aa;){var tag=_0x383c43['uint32']();if(tag===_0x4b0434)break;switch(tag>>>0x3){case 0x1:_0xc8b456['id']=_0x383c43['string']();break;case 0x2:_0xc8b456['baseVersion']=_0x383c43['uint32']();break;case 0x3:_0xc8b456['buffers']&&_0xc8b456['buffers']['length']||(_0xc8b456['buffers']=[]),_0xc8b456['buffers']['push'](_0x383c43['bytes']());break;case 0x4:if(_0xc8b456['types']&&_0xc8b456['types']['length']||(_0xc8b456['types']=[]),0x2==(0x7&tag)){for(var _0x13f6ef=_0x383c43['uint32']()+_0x383c43['pos'];_0x383c43['pos']<_0x13f6ef;)_0xc8b456['types']['push'](_0x383c43['uint32']());}else _0xc8b456['types']['push'](_0x383c43['uint32']());break;case 0x6:_0xc8b456['metadata']&&_0xc8b456['metadata']['length']||(_0xc8b456['metadata']=[]),_0xc8b456['metadata']['push']($root['OperationMetadataDescriptor']['decode'](_0x383c43,_0x383c43['uint32'](),void 0x0,_0x413c30+0x1));break;case 0x7:_0xc8b456['lastOperationId']=_0x383c43['string']();break;default:_0x383c43['skipType'](0x7&tag,_0x413c30);}}return _0xc8b456;},CollaborativeEditingUpdateMessage['decodeDelimited']=function(_0xf66272){return _0xf66272 instanceof _0x470ccf||(_0xf66272=new _0x470ccf(_0xf66272)),this['decode'](_0xf66272,_0xf66272['uint32']());},CollaborativeEditingUpdateMessage['verify']=function(_0x34cf40,_0xd678d5){if('object'!=typeof _0x34cf40||null===_0x34cf40)return'object\x20expected';if(void 0x0===_0xd678d5&&(_0xd678d5=0x0),_0xd678d5>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x34cf40['id']&&Object['hasOwnProperty']['call'](_0x34cf40,'id')&&!$util['isString'](_0x34cf40['id']))return'id:\x20string\x20expected';if(null!=_0x34cf40['baseVersion']&&Object['hasOwnProperty']['call'](_0x34cf40,'baseVersion')&&!$util['isInteger'](_0x34cf40['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x34cf40['buffers']&&Object['hasOwnProperty']['call'](_0x34cf40,'buffers')){if(!Array['isArray'](_0x34cf40['buffers']))return'buffers:\x20array\x20expected';for(var _0x377bcd=0x0;_0x377bcd<_0x34cf40['buffers']['length'];++_0x377bcd)if(!(_0x34cf40['buffers'][_0x377bcd]&&'number'==typeof _0x34cf40['buffers'][_0x377bcd]['length']||$util['isString'](_0x34cf40['buffers'][_0x377bcd])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x34cf40['types']&&Object['hasOwnProperty']['call'](_0x34cf40,'types')){if(!Array['isArray'](_0x34cf40['types']))return'types:\x20array\x20expected';for(_0x377bcd=0x0;_0x377bcd<_0x34cf40['types']['length'];++_0x377bcd)if(!$util['isInteger'](_0x34cf40['types'][_0x377bcd]))return'types:\x20integer[]\x20expected';}if(null!=_0x34cf40['metadata']&&Object['hasOwnProperty']['call'](_0x34cf40,'metadata')){if(!Array['isArray'](_0x34cf40['metadata']))return'metadata:\x20array\x20expected';for(_0x377bcd=0x0;_0x377bcd<_0x34cf40['metadata']['length'];++_0x377bcd){var _0x52e06b=$root['OperationMetadataDescriptor']['verify'](_0x34cf40['metadata'][_0x377bcd],_0xd678d5+0x1);if(_0x52e06b)return'metadata.'+_0x52e06b;}}return null!=_0x34cf40['lastOperationId']&&Object['hasOwnProperty']['call'](_0x34cf40,'lastOperationId')&&!$util['isString'](_0x34cf40['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},CollaborativeEditingUpdateMessage['fromObject']=function(object,_0x544a83){if(object instanceof $root['CollaborativeEditingUpdateMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingUpdateMessage:\x20object\x20expected');if(void 0x0===_0x544a83&&(_0x544a83=0x0),_0x544a83>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xcd6226=new $root['CollaborativeEditingUpdateMessage']();if(null!=object['id']&&(_0xcd6226['id']=String(object['id'])),null!=object['baseVersion']&&(_0xcd6226['baseVersion']=object['baseVersion']>>>0x0),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0xcd6226['buffers']=[];for(var _0xc15ae8=0x0;_0xc15ae8<object['buffers']['length'];++_0xc15ae8)'string'==typeof object['buffers'][_0xc15ae8]?$util['base64']['decode'](object['buffers'][_0xc15ae8],_0xcd6226['buffers'][_0xc15ae8]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0xc15ae8])),0x0):object['buffers'][_0xc15ae8]['length']>=0x0&&(_0xcd6226['buffers'][_0xc15ae8]=object['buffers'][_0xc15ae8]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');_0xcd6226['types']=[];for(_0xc15ae8=0x0;_0xc15ae8<object['types']['length'];++_0xc15ae8)_0xcd6226['types'][_0xc15ae8]=object['types'][_0xc15ae8]>>>0x0;}if(object['metadata']){if(!Array['isArray'](object['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');_0xcd6226['metadata']=[];for(_0xc15ae8=0x0;_0xc15ae8<object['metadata']['length'];++_0xc15ae8){if(!$util['isObject'](object['metadata'][_0xc15ae8]))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0xcd6226['metadata'][_0xc15ae8]=$root['OperationMetadataDescriptor']['fromObject'](object['metadata'][_0xc15ae8],_0x544a83+0x1);}}return null!=object['lastOperationId']&&(_0xcd6226['lastOperationId']=String(object['lastOperationId'])),_0xcd6226;},CollaborativeEditingUpdateMessage['toObject']=function(_0x1ed537,options,_0x53be8e){if(options||(options={}),void 0x0===_0x53be8e&&(_0x53be8e=0x0),_0x53be8e>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[],object['metadata']=[]),options['defaults']&&(object['id']='',object['baseVersion']=0x0,object['lastOperationId']=''),null!=_0x1ed537['id']&&Object['hasOwnProperty']['call'](_0x1ed537,'id')&&(object['id']=_0x1ed537['id']),null!=_0x1ed537['baseVersion']&&Object['hasOwnProperty']['call'](_0x1ed537,'baseVersion')&&(object['baseVersion']=_0x1ed537['baseVersion']),_0x1ed537['buffers']&&_0x1ed537['buffers']['length']){object['buffers']=[];for(var _0x3dd0c0=0x0;_0x3dd0c0<_0x1ed537['buffers']['length'];++_0x3dd0c0)object['buffers'][_0x3dd0c0]=options['bytes']===String?$util['base64']['encode'](_0x1ed537['buffers'][_0x3dd0c0],0x0,_0x1ed537['buffers'][_0x3dd0c0]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x1ed537['buffers'][_0x3dd0c0]):_0x1ed537['buffers'][_0x3dd0c0];}if(_0x1ed537['types']&&_0x1ed537['types']['length']){object['types']=[];for(_0x3dd0c0=0x0;_0x3dd0c0<_0x1ed537['types']['length'];++_0x3dd0c0)object['types'][_0x3dd0c0]=_0x1ed537['types'][_0x3dd0c0];}if(_0x1ed537['metadata']&&_0x1ed537['metadata']['length']){object['metadata']=[];for(_0x3dd0c0=0x0;_0x3dd0c0<_0x1ed537['metadata']['length'];++_0x3dd0c0)object['metadata'][_0x3dd0c0]=$root['OperationMetadataDescriptor']['toObject'](_0x1ed537['metadata'][_0x3dd0c0],options,_0x53be8e+0x1);}return null!=_0x1ed537['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1ed537,'lastOperationId')&&(object['lastOperationId']=_0x1ed537['lastOperationId']),object;},CollaborativeEditingUpdateMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingUpdateMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingUpdateMessage';},CollaborativeEditingUpdateMessage;}()),$root['CollaborativeEditingReconnectMessage']=(function(){function CollaborativeEditingReconnectMessage(properties){if(properties){for(var _0x3318d8=Object['keys'](properties),_0x1935ed=0x0;_0x1935ed<_0x3318d8['length'];++_0x1935ed)null!=properties[_0x3318d8[_0x1935ed]]&&'__proto__'!==_0x3318d8[_0x1935ed]&&(this[_0x3318d8[_0x1935ed]]=properties[_0x3318d8[_0x1935ed]]);}}return CollaborativeEditingReconnectMessage['prototype']['id']='',CollaborativeEditingReconnectMessage['prototype']['bundleVersion']='',CollaborativeEditingReconnectMessage['prototype']['lastKnowVersion']=0x0,CollaborativeEditingReconnectMessage['create']=function(properties){return new CollaborativeEditingReconnectMessage(properties);},CollaborativeEditingReconnectMessage['encode']=function(_0x2351ac,writer,_0x947e80){if(writer||(writer=$Writer['create']()),void 0x0===_0x947e80&&(_0x947e80=0x0),_0x947e80>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2351ac['id']&&Object['hasOwnProperty']['call'](_0x2351ac,'id')&&writer['uint32'](0xa)['string'](_0x2351ac['id']),null!=_0x2351ac['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2351ac,'bundleVersion')&&writer['uint32'](0x12)['string'](_0x2351ac['bundleVersion']),null!=_0x2351ac['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x2351ac,'lastKnowVersion')&&writer['uint32'](0x18)['uint32'](_0x2351ac['lastKnowVersion']),writer;},CollaborativeEditingReconnectMessage['encodeDelimited']=function(_0x3c68b5,writer){return this['encode'](_0x3c68b5,writer)['ldelim']();},CollaborativeEditingReconnectMessage['decode']=function(_0x2cabd0,length,_0x9a778d,_0x45e326){if(_0x2cabd0 instanceof _0x470ccf||(_0x2cabd0=_0x470ccf['create'](_0x2cabd0)),void 0x0===_0x45e326&&(_0x45e326=0x0),_0x45e326>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x249a23=void 0x0===length?_0x2cabd0['len']:_0x2cabd0['pos']+length,_0x4f47db=new $root['CollaborativeEditingReconnectMessage']();_0x2cabd0['pos']<_0x249a23;){var tag=_0x2cabd0['uint32']();if(tag===_0x9a778d)break;switch(tag>>>0x3){case 0x1:_0x4f47db['id']=_0x2cabd0['string']();break;case 0x2:_0x4f47db['bundleVersion']=_0x2cabd0['string']();break;case 0x3:_0x4f47db['lastKnowVersion']=_0x2cabd0['uint32']();break;default:_0x2cabd0['skipType'](0x7&tag,_0x45e326);}}return _0x4f47db;},CollaborativeEditingReconnectMessage['decodeDelimited']=function(_0xacb7b8){return _0xacb7b8 instanceof _0x470ccf||(_0xacb7b8=new _0x470ccf(_0xacb7b8)),this['decode'](_0xacb7b8,_0xacb7b8['uint32']());},CollaborativeEditingReconnectMessage['verify']=function(_0x335ec7,_0x16702c){return'object'!=typeof _0x335ec7||null===_0x335ec7?'object\x20expected':(void 0x0===_0x16702c&&(_0x16702c=0x0),_0x16702c>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x335ec7['id']&&Object['hasOwnProperty']['call'](_0x335ec7,'id')&&!$util['isString'](_0x335ec7['id'])?'id:\x20string\x20expected':null!=_0x335ec7['bundleVersion']&&Object['hasOwnProperty']['call'](_0x335ec7,'bundleVersion')&&!$util['isString'](_0x335ec7['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x335ec7['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x335ec7,'lastKnowVersion')&&!$util['isInteger'](_0x335ec7['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},CollaborativeEditingReconnectMessage['fromObject']=function(object,_0x198421){if(object instanceof $root['CollaborativeEditingReconnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingReconnectMessage:\x20object\x20expected');if(void 0x0===_0x198421&&(_0x198421=0x0),_0x198421>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x187249=new $root['CollaborativeEditingReconnectMessage']();return null!=object['id']&&(_0x187249['id']=String(object['id'])),null!=object['bundleVersion']&&(_0x187249['bundleVersion']=String(object['bundleVersion'])),null!=object['lastKnowVersion']&&(_0x187249['lastKnowVersion']=object['lastKnowVersion']>>>0x0),_0x187249;},CollaborativeEditingReconnectMessage['toObject']=function(_0x351a1d,options,_0xd822ed){if(options||(options={}),void 0x0===_0xd822ed&&(_0xd822ed=0x0),_0xd822ed>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['id']='',object['bundleVersion']='',object['lastKnowVersion']=0x0),null!=_0x351a1d['id']&&Object['hasOwnProperty']['call'](_0x351a1d,'id')&&(object['id']=_0x351a1d['id']),null!=_0x351a1d['bundleVersion']&&Object['hasOwnProperty']['call'](_0x351a1d,'bundleVersion')&&(object['bundleVersion']=_0x351a1d['bundleVersion']),null!=_0x351a1d['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x351a1d,'lastKnowVersion')&&(object['lastKnowVersion']=_0x351a1d['lastKnowVersion']),object;},CollaborativeEditingReconnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingReconnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingReconnectMessage';},CollaborativeEditingReconnectMessage;}()),$root['CollaborativeEditingConnectMessage']=(function(){function CollaborativeEditingConnectMessage(properties){if(this['buffers']=[],this['types']=[],properties){for(var _0x4d74ab=Object['keys'](properties),_0x1ae95d=0x0;_0x1ae95d<_0x4d74ab['length'];++_0x1ae95d)null!=properties[_0x4d74ab[_0x1ae95d]]&&'__proto__'!==_0x4d74ab[_0x1ae95d]&&(this[_0x4d74ab[_0x1ae95d]]=properties[_0x4d74ab[_0x1ae95d]]);}}return CollaborativeEditingConnectMessage['prototype']['id']='',CollaborativeEditingConnectMessage['prototype']['bundleVersion']='',CollaborativeEditingConnectMessage['prototype']['buffers']=$util['emptyArray'],CollaborativeEditingConnectMessage['prototype']['types']=$util['emptyArray'],CollaborativeEditingConnectMessage['prototype']['lastOperationId']='',CollaborativeEditingConnectMessage['create']=function(properties){return new CollaborativeEditingConnectMessage(properties);},CollaborativeEditingConnectMessage['encode']=function(_0x345ca8,writer,_0x1c777f){if(writer||(writer=$Writer['create']()),void 0x0===_0x1c777f&&(_0x1c777f=0x0),_0x1c777f>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x345ca8['id']&&Object['hasOwnProperty']['call'](_0x345ca8,'id')&&writer['uint32'](0xa)['string'](_0x345ca8['id']),null!=_0x345ca8['bundleVersion']&&Object['hasOwnProperty']['call'](_0x345ca8,'bundleVersion')&&writer['uint32'](0x12)['string'](_0x345ca8['bundleVersion']),null!=_0x345ca8['buffers']&&_0x345ca8['buffers']['length']){for(var _0x4a8dd4=0x0;_0x4a8dd4<_0x345ca8['buffers']['length'];++_0x4a8dd4)writer['uint32'](0x1a)['bytes'](_0x345ca8['buffers'][_0x4a8dd4]);}if(null!=_0x345ca8['types']&&_0x345ca8['types']['length']){writer['uint32'](0x22)['fork']();for(_0x4a8dd4=0x0;_0x4a8dd4<_0x345ca8['types']['length'];++_0x4a8dd4)writer['uint32'](_0x345ca8['types'][_0x4a8dd4]);writer['ldelim']();}return null!=_0x345ca8['lastOperationId']&&Object['hasOwnProperty']['call'](_0x345ca8,'lastOperationId')&&writer['uint32'](0x2a)['string'](_0x345ca8['lastOperationId']),writer;},CollaborativeEditingConnectMessage['encodeDelimited']=function(_0x2666ba,writer){return this['encode'](_0x2666ba,writer)['ldelim']();},CollaborativeEditingConnectMessage['decode']=function(_0x1d4789,length,_0x372041,_0x3b1f44){if(_0x1d4789 instanceof _0x470ccf||(_0x1d4789=_0x470ccf['create'](_0x1d4789)),void 0x0===_0x3b1f44&&(_0x3b1f44=0x0),_0x3b1f44>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xa9bfa0=void 0x0===length?_0x1d4789['len']:_0x1d4789['pos']+length,_0x56cbcb=new $root['CollaborativeEditingConnectMessage']();_0x1d4789['pos']<_0xa9bfa0;){var tag=_0x1d4789['uint32']();if(tag===_0x372041)break;switch(tag>>>0x3){case 0x1:_0x56cbcb['id']=_0x1d4789['string']();break;case 0x2:_0x56cbcb['bundleVersion']=_0x1d4789['string']();break;case 0x3:_0x56cbcb['buffers']&&_0x56cbcb['buffers']['length']||(_0x56cbcb['buffers']=[]),_0x56cbcb['buffers']['push'](_0x1d4789['bytes']());break;case 0x4:if(_0x56cbcb['types']&&_0x56cbcb['types']['length']||(_0x56cbcb['types']=[]),0x2==(0x7&tag)){for(var _0x54ae28=_0x1d4789['uint32']()+_0x1d4789['pos'];_0x1d4789['pos']<_0x54ae28;)_0x56cbcb['types']['push'](_0x1d4789['uint32']());}else _0x56cbcb['types']['push'](_0x1d4789['uint32']());break;case 0x5:_0x56cbcb['lastOperationId']=_0x1d4789['string']();break;default:_0x1d4789['skipType'](0x7&tag,_0x3b1f44);}}return _0x56cbcb;},CollaborativeEditingConnectMessage['decodeDelimited']=function(_0x115140){return _0x115140 instanceof _0x470ccf||(_0x115140=new _0x470ccf(_0x115140)),this['decode'](_0x115140,_0x115140['uint32']());},CollaborativeEditingConnectMessage['verify']=function(_0x213a31,_0x5a820a){if('object'!=typeof _0x213a31||null===_0x213a31)return'object\x20expected';if(void 0x0===_0x5a820a&&(_0x5a820a=0x0),_0x5a820a>$util['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x213a31['id']&&Object['hasOwnProperty']['call'](_0x213a31,'id')&&!$util['isString'](_0x213a31['id']))return'id:\x20string\x20expected';if(null!=_0x213a31['bundleVersion']&&Object['hasOwnProperty']['call'](_0x213a31,'bundleVersion')&&!$util['isString'](_0x213a31['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x213a31['buffers']&&Object['hasOwnProperty']['call'](_0x213a31,'buffers')){if(!Array['isArray'](_0x213a31['buffers']))return'buffers:\x20array\x20expected';for(var _0x280a8f=0x0;_0x280a8f<_0x213a31['buffers']['length'];++_0x280a8f)if(!(_0x213a31['buffers'][_0x280a8f]&&'number'==typeof _0x213a31['buffers'][_0x280a8f]['length']||$util['isString'](_0x213a31['buffers'][_0x280a8f])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x213a31['types']&&Object['hasOwnProperty']['call'](_0x213a31,'types')){if(!Array['isArray'](_0x213a31['types']))return'types:\x20array\x20expected';for(_0x280a8f=0x0;_0x280a8f<_0x213a31['types']['length'];++_0x280a8f)if(!$util['isInteger'](_0x213a31['types'][_0x280a8f]))return'types:\x20integer[]\x20expected';}return null!=_0x213a31['lastOperationId']&&Object['hasOwnProperty']['call'](_0x213a31,'lastOperationId')&&!$util['isString'](_0x213a31['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},CollaborativeEditingConnectMessage['fromObject']=function(object,_0x1d8b3b){if(object instanceof $root['CollaborativeEditingConnectMessage'])return object;if(!$util['isObject'](object))throw TypeError('.CollaborativeEditingConnectMessage:\x20object\x20expected');if(void 0x0===_0x1d8b3b&&(_0x1d8b3b=0x0),_0x1d8b3b>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x417666=new $root['CollaborativeEditingConnectMessage']();if(null!=object['id']&&(_0x417666['id']=String(object['id'])),null!=object['bundleVersion']&&(_0x417666['bundleVersion']=String(object['bundleVersion'])),object['buffers']){if(!Array['isArray'](object['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x417666['buffers']=[];for(var _0x89389=0x0;_0x89389<object['buffers']['length'];++_0x89389)'string'==typeof object['buffers'][_0x89389]?$util['base64']['decode'](object['buffers'][_0x89389],_0x417666['buffers'][_0x89389]=$util['newBuffer']($util['base64']['length'](object['buffers'][_0x89389])),0x0):object['buffers'][_0x89389]['length']>=0x0&&(_0x417666['buffers'][_0x89389]=object['buffers'][_0x89389]);}if(object['types']){if(!Array['isArray'](object['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');_0x417666['types']=[];for(_0x89389=0x0;_0x89389<object['types']['length'];++_0x89389)_0x417666['types'][_0x89389]=object['types'][_0x89389]>>>0x0;}return null!=object['lastOperationId']&&(_0x417666['lastOperationId']=String(object['lastOperationId'])),_0x417666;},CollaborativeEditingConnectMessage['toObject']=function(_0x9c0e3d,options,_0x5e2fa9){if(options||(options={}),void 0x0===_0x5e2fa9&&(_0x5e2fa9=0x0),_0x5e2fa9>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};if((options['arrays']||options['defaults'])&&(object['buffers']=[],object['types']=[]),options['defaults']&&(object['id']='',object['bundleVersion']='',object['lastOperationId']=''),null!=_0x9c0e3d['id']&&Object['hasOwnProperty']['call'](_0x9c0e3d,'id')&&(object['id']=_0x9c0e3d['id']),null!=_0x9c0e3d['bundleVersion']&&Object['hasOwnProperty']['call'](_0x9c0e3d,'bundleVersion')&&(object['bundleVersion']=_0x9c0e3d['bundleVersion']),_0x9c0e3d['buffers']&&_0x9c0e3d['buffers']['length']){object['buffers']=[];for(var _0x2c8077=0x0;_0x2c8077<_0x9c0e3d['buffers']['length'];++_0x2c8077)object['buffers'][_0x2c8077]=options['bytes']===String?$util['base64']['encode'](_0x9c0e3d['buffers'][_0x2c8077],0x0,_0x9c0e3d['buffers'][_0x2c8077]['length']):options['bytes']===Array?Array['prototype']['slice']['call'](_0x9c0e3d['buffers'][_0x2c8077]):_0x9c0e3d['buffers'][_0x2c8077];}if(_0x9c0e3d['types']&&_0x9c0e3d['types']['length']){object['types']=[];for(_0x2c8077=0x0;_0x2c8077<_0x9c0e3d['types']['length'];++_0x2c8077)object['types'][_0x2c8077]=_0x9c0e3d['types'][_0x2c8077];}return null!=_0x9c0e3d['lastOperationId']&&Object['hasOwnProperty']['call'](_0x9c0e3d,'lastOperationId')&&(object['lastOperationId']=_0x9c0e3d['lastOperationId']),object;},CollaborativeEditingConnectMessage['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},CollaborativeEditingConnectMessage['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/CollaborativeEditingConnectMessage';},CollaborativeEditingConnectMessage;}()),$root['OperationMetadataDescriptor']=(function(){function OperationMetadataDescriptor(properties){if(properties){for(var _0x3c44be=Object['keys'](properties),_0x1e946e=0x0;_0x1e946e<_0x3c44be['length'];++_0x1e946e)null!=properties[_0x3c44be[_0x1e946e]]&&'__proto__'!==_0x3c44be[_0x1e946e]&&(this[_0x3c44be[_0x1e946e]]=properties[_0x3c44be[_0x1e946e]]);}}return OperationMetadataDescriptor['prototype']['userId']='',OperationMetadataDescriptor['prototype']['type']='',OperationMetadataDescriptor['prototype']['createdAt']='',OperationMetadataDescriptor['create']=function(properties){return new OperationMetadataDescriptor(properties);},OperationMetadataDescriptor['encode']=function(_0x5b3ab5,writer,_0x255d7b){if(writer||(writer=$Writer['create']()),void 0x0===_0x255d7b&&(_0x255d7b=0x0),_0x255d7b>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5b3ab5['userId']&&Object['hasOwnProperty']['call'](_0x5b3ab5,'userId')&&writer['uint32'](0xa)['string'](_0x5b3ab5['userId']),null!=_0x5b3ab5['type']&&Object['hasOwnProperty']['call'](_0x5b3ab5,'type')&&writer['uint32'](0x12)['string'](_0x5b3ab5['type']),null!=_0x5b3ab5['createdAt']&&Object['hasOwnProperty']['call'](_0x5b3ab5,'createdAt')&&writer['uint32'](0x1a)['string'](_0x5b3ab5['createdAt']),writer;},OperationMetadataDescriptor['encodeDelimited']=function(_0x1e20f9,writer){return this['encode'](_0x1e20f9,writer)['ldelim']();},OperationMetadataDescriptor['decode']=function(_0x10634c,length,_0x2da2bd,_0x5ba54d){if(_0x10634c instanceof _0x470ccf||(_0x10634c=_0x470ccf['create'](_0x10634c)),void 0x0===_0x5ba54d&&(_0x5ba54d=0x0),_0x5ba54d>_0x470ccf['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5e87ec=void 0x0===length?_0x10634c['len']:_0x10634c['pos']+length,_0x22e9fe=new $root['OperationMetadataDescriptor']();_0x10634c['pos']<_0x5e87ec;){var tag=_0x10634c['uint32']();if(tag===_0x2da2bd)break;switch(tag>>>0x3){case 0x1:_0x22e9fe['userId']=_0x10634c['string']();break;case 0x2:_0x22e9fe['type']=_0x10634c['string']();break;case 0x3:_0x22e9fe['createdAt']=_0x10634c['string']();break;default:_0x10634c['skipType'](0x7&tag,_0x5ba54d);}}return _0x22e9fe;},OperationMetadataDescriptor['decodeDelimited']=function(_0xae39ef){return _0xae39ef instanceof _0x470ccf||(_0xae39ef=new _0x470ccf(_0xae39ef)),this['decode'](_0xae39ef,_0xae39ef['uint32']());},OperationMetadataDescriptor['verify']=function(_0x21c6eb,_0x476b1f){return'object'!=typeof _0x21c6eb||null===_0x21c6eb?'object\x20expected':(void 0x0===_0x476b1f&&(_0x476b1f=0x0),_0x476b1f>$util['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x21c6eb['userId']&&Object['hasOwnProperty']['call'](_0x21c6eb,'userId')&&!$util['isString'](_0x21c6eb['userId'])?'userId:\x20string\x20expected':null!=_0x21c6eb['type']&&Object['hasOwnProperty']['call'](_0x21c6eb,'type')&&!$util['isString'](_0x21c6eb['type'])?'type:\x20string\x20expected':null!=_0x21c6eb['createdAt']&&Object['hasOwnProperty']['call'](_0x21c6eb,'createdAt')&&!$util['isString'](_0x21c6eb['createdAt'])?'createdAt:\x20string\x20expected':null);},OperationMetadataDescriptor['fromObject']=function(object,_0x13854a){if(object instanceof $root['OperationMetadataDescriptor'])return object;if(!$util['isObject'](object))throw TypeError('.OperationMetadataDescriptor:\x20object\x20expected');if(void 0x0===_0x13854a&&(_0x13854a=0x0),_0x13854a>$util['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x99c18c=new $root['OperationMetadataDescriptor']();return null!=object['userId']&&(_0x99c18c['userId']=String(object['userId'])),null!=object['type']&&(_0x99c18c['type']=String(object['type'])),null!=object['createdAt']&&(_0x99c18c['createdAt']=String(object['createdAt'])),_0x99c18c;},OperationMetadataDescriptor['toObject']=function(_0x21098a,options,_0x42ef43){if(options||(options={}),void 0x0===_0x42ef43&&(_0x42ef43=0x0),_0x42ef43>$util['recursionLimit'])throw Error('max\x20depth\x20exceeded');var object={};return options['defaults']&&(object['userId']='',object['type']='',object['createdAt']=''),null!=_0x21098a['userId']&&Object['hasOwnProperty']['call'](_0x21098a,'userId')&&(object['userId']=_0x21098a['userId']),null!=_0x21098a['type']&&Object['hasOwnProperty']['call'](_0x21098a,'type')&&(object['type']=_0x21098a['type']),null!=_0x21098a['createdAt']&&Object['hasOwnProperty']['call'](_0x21098a,'createdAt')&&(object['createdAt']=_0x21098a['createdAt']),object;},OperationMetadataDescriptor['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$protobuf['util']['toJSONOptions']);},OperationMetadataDescriptor['getTypeUrl']=function(typeUrlPrefix){return void 0x0===typeUrlPrefix&&(typeUrlPrefix='type.googleapis.com'),typeUrlPrefix+'/OperationMetadataDescriptor';},OperationMetadataDescriptor;}()),$root;})());class MessagesCompressor{static['decode'](_0x26b60f,_0x5028d6){const data=_getType(_0x5028d6)['decode']('undefined'==typeof window?_0x26b60f:new Uint8Array(_0x26b60f));return _0x5028d6['fromJSON']({...data});}static['encode'](_0x3a92b5){const protobufMessage=_getType(_0x3a92b5['constructor']),data=_0x3a92b5['toJSON'](),_0x2a3db2=protobufMessage['verify'](data);if(_0x2a3db2)throw Error(_0x2a3db2);return protobufMessage['encode'](protobufMessage['create'](data))['finish']();}}function _getType(_0x15688f){return messages[_0x15688f['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends Message{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x17d480){super(),this['ids']=_0x17d480;}toJSON(){return{'ids':this['ids']};}static['fromJSON'](data){return new GetManyUsersMessage(data['ids']);}}class GetManyUsersResponse extends Message{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0xbc13e4){super(),this['users']=_0xbc13e4;}toJSON(){return{'users':this['users']['map'](_userToJson)};}static['fromJSON'](data){return new GetManyUsersResponse(data['users']['map'](_userFromJson));}}function _userToJson(_0x70bdf0){return{'attributes':Object['keys'](_0x70bdf0)['map'](_0x5d5053=>({'key':_0x5d5053,'value':JSON['stringify'](_0x70bdf0[_0x5d5053])}))};}function _userFromJson(data){return data['attributes']['reduce']((result,_0x7f7950)=>(result[_0x7f7950['key']]=_0x7f7950['value']?JSON['parse'](_0x7f7950['value']):null,result),{});}class User{static ['_SERVICE']=0x2;constructor(attributes={}){this['_attributes']=new Map();for(const _0x44073b of Object['keys'](attributes))'id'!==_0x44073b?(this['_attributes']['set'](_0x44073b,attributes[_0x44073b]),Object['defineProperty'](this,_0x44073b,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x44073b)})):this['id']=attributes['id'];}static fromData(data){return new User(data);}static async get(wsGateway,_0xa8f9d2){const _0x50cec0=new GetUserMessage(_0xa8f9d2);try{const _0x3a120e=await wsGateway['_sendRequest'](User['_SERVICE'],GetUserMessage['TYPE'],MessagesCompressor['encode'](_0x50cec0)),getUserResponse=MessagesCompressor['decode'](_0x3a120e,GetUserResponse);return new User(getUserResponse['attributes']);}catch{return new User({'id':_0xa8f9d2});}}static async getMany(wsGateway,_0x32e639){const _0x235f7c=new GetManyUsersMessage(_0x32e639);try{const _0x1a95a9=await wsGateway['_sendRequest'](User['_SERVICE'],GetManyUsersMessage['TYPE'],MessagesCompressor['encode'](_0x235f7c));return MessagesCompressor['decode'](_0x1a95a9,GetManyUsersResponse)['users']['map'](_0x2418d0=>new User(_0x2418d0));}catch{return _0x32e639['map'](_0x18dfc5=>new User({'id':_0x18dfc5}));}}}class ChannelMessage extends Message{type;socketId;data;static ['DESCRIPTOR_NAME']='ChannelMessage';static ['DESCRIPTOR']={'fields':{'type':{'type':'uint32','id':0x1},'socketId':{'type':'string','id':0x2},'data':{'type':'bytes','id':0x3}}};constructor(type,socketId,data){super(),this['type']=type,this['socketId']=socketId,this['data']=data;}toJSON(){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](data){return new ChannelMessage(data['type'],data['socketId'],data['data']);}}class Channel extends/* #__PURE__ -- @preserve */
25
+ EmitterMixin(){['_channelName'];_wsGateway;_socket;constructor(_0x133323,_wsGateway,_socket){super(),this['_channelName']=_0x133323,this['_wsGateway']=_wsGateway,this['_socket']=_socket,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}getEventName(eventName,_0x19f317=!0x1){let fullEventName='';return _0x19f317&&(fullEventName+='all:'),fullEventName+='event',eventName&&(fullEventName+=':'+eventName),fullEventName;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x3166f2=>{const _0x4a990c=MessagesCompressor['decode'](_0x3166f2,ChannelMessage);this['fire'](this['getEventName'](_0x4a990c['type'],!0x0),_0x4a990c['data'],_0x4a990c['socketId']),_0x4a990c['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x4a990c['type']),_0x4a990c['data'],_0x4a990c['socketId']);});}}class CKEditorCloudServicesError extends Error{context;['code'];data;constructor(_0x51094e,context,_0x7ef634=null,data={}){super('cloud-services-internal-error:\x20'+_0x51094e),this['context']=context,this['code']=_0x7ef634,this['data']=data,this['name']='CKEditorError';}static['fromPublicError'](_0x5bba56){return new CKEditorCloudServicesError(function(_0x1131f0){let _0x368ea7='cloud-services-error:\x20'+_0x1131f0['message'];return _0x1131f0['data']&&(_0x368ea7+='\x0aError\x20data:\x20'+JSON['stringify'](_0x1131f0['data'])),_0x1131f0['explanation']&&(_0x368ea7+='\x0aExplanation:\x20'+_0x1131f0['explanation']),_0x1131f0['action']&&(_0x368ea7+='\x0aAction:\x20'+_0x1131f0['action']),_0x1131f0['traceId']&&(_0x368ea7+='\x0aTraceId:\x20'+_0x1131f0['traceId']),_0x1131f0['code']&&(_0x368ea7+='\x0aCode:\x20'+_0x1131f0['code']),_0x368ea7;}(_0x5bba56),_0x5bba56);}}class CKEditorCloudServicesServerError extends Error{['code'];traceId;data;constructor(_0x557336,_0x560d01){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x557336,this['code']=_0x560d01['code'],this['traceId']=_0x560d01['traceId'],this['data']=_0x560d01['data'];}static['fromPublicError'](_0x923e2){return new CKEditorCloudServicesServerError(function(_0x1fa83e){let _0x39d88c='cloud-services-server-error:\x20'+_0x1fa83e['message'];return _0x1fa83e['explanation']&&(_0x39d88c+='\x0aExplanation:\x20'+_0x1fa83e['explanation']),_0x1fa83e['action']&&(_0x39d88c+='\x0aAction:\x20'+_0x1fa83e['action']),_0x1fa83e['traceId']&&(_0x39d88c+='\x0aTraceId:\x20'+_0x1fa83e['traceId']),_0x1fa83e['code']&&(_0x39d88c+='\x0aCode:\x20'+_0x1fa83e['code']),_0x39d88c;}(_0x923e2),_0x923e2);}}class PacketOptionsMessage extends Message{['flags'];['rooms'];except;static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
26
+ ((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x211a3a,_0x3ee91f=[],except=[]){super(),this['flags']=_0x211a3a,this['rooms']=_0x3ee91f,this['except']=except;}toJSON(){return{'flags':this['flags']?JSON['stringify'](this['flags']):void 0x0,'rooms':this['rooms']?.['length']?this['rooms']:void 0x0,'except':this['except']?.['length']?this['except']:void 0x0};}static['fromJSON'](data){return new PacketOptionsMessage(data['flags']&&JSON['parse'](data['flags']),data['rooms'],data['except']);}}const IS_NODE=/* #__PURE__ -- @preserve */
27
+ ((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static getPacketType(...types){let _0x27af8d=0x0;for(let _0x39359=0x0;_0x39359<types['length'];_0x39359++){_0x27af8d+=types[_0x39359]*Math['pow'](0xa,types['length']-_0x39359-0x1);}return _0x27af8d;}static getType(_0xbddcf9){if(ParserUtils['isBuffer'](_0xbddcf9))return MessageDataTypes_BUFFER;const type=typeof _0xbddcf9;return'string'===type?MessageDataTypes_STRING:'number'===type?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x4416db){return IS_NODE&&Buffer['isBuffer'](_0x4416db)||_0x4416db instanceof ArrayBuffer||_0x4416db instanceof Uint8Array||this['_isBufferView'](_0x4416db);}static['_isBufferView'](_0x52bc1e){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x52bc1e):_0x52bc1e['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends Message{data;data1;static create(data,data1){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
28
28
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
29
- ((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new NumberBytesPacketDataMessage(data['data'],data['data1']);}static['create'](data,data1){return new NumberBytesPacketDataMessage(data,data1);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
29
+ ((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new NumberBytesPacketDataMessage(data['data'],data['data1']);}static create(data,data1){return new NumberBytesPacketDataMessage(data,data1);}}class StringBytesPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
30
30
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
31
- ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new StringBytesPacketDataMessage(data['data'],data['data1']);}static['create'](data,data1){return new StringBytesPacketDataMessage(data,data1);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
31
+ ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new StringBytesPacketDataMessage(data['data'],data['data1']);}static create(data,data1){return new StringBytesPacketDataMessage(data,data1);}}class BytesBytesPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
32
32
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_BUFFER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
33
- ((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new BytesBytesPacketDataMessage(data['data'],data['data1']);}static['create'](data,data1){return new BytesBytesPacketDataMessage(data,data1);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
33
+ ((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new BytesBytesPacketDataMessage(data['data'],data['data1']);}static create(data,data1){return new BytesBytesPacketDataMessage(data,data1);}}class StringObjectPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
34
34
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
35
- ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](data){return new StringObjectPacketDataMessage(data['data'],data['data1']&&JSON['parse'](data['data1']));}static['create'](data,data1){return new StringObjectPacketDataMessage(data,data1);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
35
+ ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](data){return new StringObjectPacketDataMessage(data['data'],data['data1']&&JSON['parse'](data['data1']));}static create(data,data1){return new StringObjectPacketDataMessage(data,data1);}}class NumberObjectPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
36
36
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
37
- ((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](data){return new NumberObjectPacketDataMessage(data['data'],data['data1']&&JSON['parse'](data['data1']));}static['create'](data,data1){return new NumberObjectPacketDataMessage(data,data1);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
37
+ ((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](data){return new NumberObjectPacketDataMessage(data['data'],data['data1']&&JSON['parse'](data['data1']));}static create(data,data1){return new NumberObjectPacketDataMessage(data,data1);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
38
38
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
39
- ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](data){return new ObjectObjectPacketDataMessage(data['data']&&JSON['parse'](data['data']),data['data1']&&JSON['parse'](data['data1']));}static['create'](data,data1){return new ObjectObjectPacketDataMessage(data,data1);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
39
+ ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](data){return new ObjectObjectPacketDataMessage(data['data']&&JSON['parse'](data['data']),data['data1']&&JSON['parse'](data['data1']));}static create(data,data1){return new ObjectObjectPacketDataMessage(data,data1);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
40
40
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
41
- ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](data){return new ObjectBufferPacketDataMessage(data['data']&&JSON['parse'](data['data']),data['data1']);}static['create'](data,data1){return new ObjectBufferPacketDataMessage(data,data1);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
41
+ ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](data){return new ObjectBufferPacketDataMessage(data['data']&&JSON['parse'](data['data']),data['data1']);}static create(data,data1){return new ObjectBufferPacketDataMessage(data,data1);}}class StringStringPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
42
42
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
43
- ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new StringStringPacketDataMessage(data['data'],data['data1']);}static['create'](data,data1){return new StringStringPacketDataMessage(data,data1);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
43
+ ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new StringStringPacketDataMessage(data['data'],data['data1']);}static create(data,data1){return new StringStringPacketDataMessage(data,data1);}}class StringNumberPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
44
44
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
45
- ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new StringNumberPacketDataMessage(data['data'],data['data1']);}static['create'](data,data1){return new StringNumberPacketDataMessage(data,data1);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
46
- ((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new NumberNumberPacketDataMessage(data['data'],data['data1']);}static['create'](data,data1){return new NumberNumberPacketDataMessage(data,data1);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
45
+ ((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new StringNumberPacketDataMessage(data['data'],data['data1']);}static create(data,data1){return new StringNumberPacketDataMessage(data,data1);}}class NumberNumberPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
46
+ ((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new NumberNumberPacketDataMessage(data['data'],data['data1']);}static create(data,data1){return new NumberNumberPacketDataMessage(data,data1);}}class NumberStringPacketDataMessage extends PackageDataMessage{data;data1;static ['TYPE']=/* #__PURE__ -- @preserve */
47
47
  ((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
48
- ((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new NumberStringPacketDataMessage(data['data'],data['data1']);}static['create'](data,data1){return new NumberStringPacketDataMessage(data,data1);}}const PACKET_DATA_MESSAGES=/* #__PURE__ -- @preserve */
49
- ((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((result,PacketDataMessageConstructor)=>(result[PacketDataMessageConstructor['TYPE']]=PacketDataMessageConstructor,result),{}))());class PacketMessage extends Message{['type'];['data'];['id'];['nsp'];['options'];static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
50
- ((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(type,data,_0x1a08c4,_0x29e151='/',options){super(),this['type']=type,this['data']=data,this['id']=_0x1a08c4,this['nsp']=_0x29e151,this['options']=options??new PacketOptionsMessage();}get['packetData'](){return void 0x0===this['data']['data']&&void 0x0===this['data']['data1']?[]:this['data']['data']&&void 0x0===this['data']['data1']?[this['data']['data']]:[this['data']['data'],this['data']['data1']];}['toJSON'](){const options=MessagesCompressor['encode'](this['options']),data=MessagesCompressor['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':data,'options':options};}static['fromJSON'](data){const frameDataType=Math['floor'](data['type']/0xa);return new PacketMessage(data['type']-0xa*frameDataType,MessagesCompressor['decode'](data['data'],PACKET_DATA_MESSAGES[frameDataType]),data['id'],data['nsp'],data['options']?MessagesCompressor['decode'](data['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](packet,options={}){const frameDataType=ParserUtils['getPacketType'](ParserUtils['getType'](packet['data'][0x0]),ParserUtils['getType'](packet['data'][0x1]??packet['data'][0x0]));return new PacketMessage(packet['type'],PACKET_DATA_MESSAGES[frameDataType]['create'](packet['data'][0x0],packet['data'][0x1]),packet['id'],packet['nsp'],new PacketOptionsMessage(options['flags'],options['rooms'],options['except']));}}class PacketParser{['encode'](type,data,_0x4753e1,_0x3a4746='/',options={}){if(data['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const packet={'type':type,'data':data,'id':_0x4753e1,'nsp':_0x3a4746};return MessagesCompressor['encode'](PacketMessage['create'](packet,options));}['decode'](_0x4d1c9c){const packetMessage=MessagesCompressor['decode'](_0x4d1c9c,PacketMessage);return{'packet':{'id':packetMessage['id'],'type':packetMessage['type'],'data':packetMessage['packetData'],'nsp':packetMessage['nsp']},'options':{'flags':packetMessage['options']['flags'],'rooms':packetMessage['options']['rooms'],'except':packetMessage['options']['except']}};}}const ENCODED_TYPES=/* #__PURE__ -- @preserve */
51
- ((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class Encoder extends _0x471e78{['_packetParser'];constructor(packetParser){super(),this['_packetParser']=packetParser??new PacketParser();}['encode'](packet){if(ENCODED_TYPES['includes'](packet['type']))try{return[this['_packetParser']['encode'](packet['type'],packet['data'],packet['id'],packet['nsp'])];}catch(_0x4e7e80){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x4e7e80['message']}});}return super['encode'](packet);}}class Decoder extends _0x2deba6{['_packetParser'];constructor(packetParser){super(),this['_packetParser']=packetParser??new PacketParser();}['add'](_0x2bc2e4){if(!ParserUtils['isBuffer'](_0x2bc2e4))return super['add'](_0x2bc2e4);let packet;try{packet=this['_packetParser']['decode'](_0x2bc2e4)['packet'];}catch{return super['add'](_0x2bc2e4);}super['emitReserved']('decoded',packet);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
52
- _deferPromise();['timeout'];constructor(_context,timeoutMs){this['_context']=_context,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),timeoutMs);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x3860db){this['_deferredPromise']['resolve'](_0x3860db);}['error'](_0x5d2d29){this['_deferredPromise']['reject'](_0x5d2d29);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_context){this['_context']=_context;}async['send'](sendFunction,timeoutMs=0xafc8){const _0x1655de=this['_createRequest'](timeoutMs);try{return sendFunction(_0x1655de),await _0x1655de['promise'];}finally{this['_finishRequest'](_0x1655de);}}['errorAll'](_0x5d867a){for(const _0x24767b of this['_requests'])_0x24767b['error'](_0x5d867a);}['waitForAllRequests'](time=0xafc8){return this['_waitForRequests'](time);}['_createRequest'](timeoutMs){const _0x14dd7=new WebSocketRequest(this['_context'],timeoutMs);return this['_requests']['add'](_0x14dd7),_0x14dd7;}['_finishRequest'](_0x7aa64a){this['_requests']['delete'](_0x7aa64a),clearTimeout(_0x7aa64a['timeout']);}async['_waitForRequests'](time=0x1388,attempt=0x0){return!this['_requests']['size']||attempt>=time/0x1f4?Promise['resolve']():(await new Promise(_0x34b6e1=>{setTimeout(_0x34b6e1,0x1f4);}),this['_waitForRequests'](time,attempt++));}}function _deferPromise(){let _0xa22aac,reject;const _0x53f8ca=new Promise((_0x3151d3,promiseReject)=>{_0xa22aac=_0x3151d3,reject=promiseReject;});return{'resolve':_0xa22aac,'reject':reject,'promise':_0x53f8ca};}const WEB_SOCKET_GATEWAY_STATES={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};class WebSocketGateway extends/* #__PURE__ -- @preserve */
53
- ObservableMixin(){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
48
+ ((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(data,data1){super(),this['data']=data,this['data1']=data1;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](data){return new NumberStringPacketDataMessage(data['data'],data['data1']);}static create(data,data1){return new NumberStringPacketDataMessage(data,data1);}}const PACKET_DATA_MESSAGES=/* #__PURE__ -- @preserve */
49
+ ((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((result,PacketDataMessageConstructor)=>(result[PacketDataMessageConstructor['TYPE']]=PacketDataMessageConstructor,result),{}))());class PacketMessage extends Message{type;data;['id'];['nsp'];options;static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
50
+ ((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(type,data,_0x35c398,_0x412921='/',options){super(),this['type']=type,this['data']=data,this['id']=_0x35c398,this['nsp']=_0x412921,this['options']=options??new PacketOptionsMessage();}get packetData(){return void 0x0===this['data']['data']&&void 0x0===this['data']['data1']?[]:this['data']['data']&&void 0x0===this['data']['data1']?[this['data']['data']]:[this['data']['data'],this['data']['data1']];}toJSON(){const options=MessagesCompressor['encode'](this['options']),data=MessagesCompressor['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':data,'options':options};}static['fromJSON'](data){const frameDataType=Math['floor'](data['type']/0xa);return new PacketMessage(data['type']-0xa*frameDataType,MessagesCompressor['decode'](data['data'],PACKET_DATA_MESSAGES[frameDataType]),data['id'],data['nsp'],data['options']?MessagesCompressor['decode'](data['options'],PacketOptionsMessage):new PacketOptionsMessage());}static create(packet,options={}){const frameDataType=ParserUtils['getPacketType'](ParserUtils['getType'](packet['data'][0x0]),ParserUtils['getType'](packet['data'][0x1]??packet['data'][0x0]));return new PacketMessage(packet['type'],PACKET_DATA_MESSAGES[frameDataType]['create'](packet['data'][0x0],packet['data'][0x1]),packet['id'],packet['nsp'],new PacketOptionsMessage(options['flags'],options['rooms'],options['except']));}}class PacketParser{['encode'](type,data,_0xc90baf,_0x3f18b8='/',options={}){if(data['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const packet={'type':type,'data':data,'id':_0xc90baf,'nsp':_0x3f18b8};return MessagesCompressor['encode'](PacketMessage['create'](packet,options));}['decode'](_0x1ac462){const packetMessage=MessagesCompressor['decode'](_0x1ac462,PacketMessage);return{'packet':{'id':packetMessage['id'],'type':packetMessage['type'],'data':packetMessage['packetData'],'nsp':packetMessage['nsp']},'options':{'flags':packetMessage['options']['flags'],'rooms':packetMessage['options']['rooms'],'except':packetMessage['options']['except']}};}}const ENCODED_TYPES=/* #__PURE__ -- @preserve */
51
+ ((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class Encoder extends _0x33e544{_packetParser;constructor(packetParser){super(),this['_packetParser']=packetParser??new PacketParser();}['encode'](packet){if(ENCODED_TYPES['includes'](packet['type']))try{return[this['_packetParser']['encode'](packet['type'],packet['data'],packet['id'],packet['nsp'])];}catch(_0x4dd8b8){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x4dd8b8['message']}});}return super['encode'](packet);}}class Decoder extends _0x5eefe0{_packetParser;constructor(packetParser){super(),this['_packetParser']=packetParser??new PacketParser();}['add'](_0x5d5671){if(!ParserUtils['isBuffer'](_0x5d5671))return super['add'](_0x5d5671);let packet;try{packet=this['_packetParser']['decode'](_0x5d5671)['packet'];}catch{return super['add'](_0x5d5671);}super['emitReserved']('decoded',packet);}}class WebSocketRequest{_context;['_deferredPromise']=/* #__PURE__ -- @preserve */
52
+ _deferPromise();timeout;constructor(_context,timeoutMs){this['_context']=_context,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),timeoutMs);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x3c228a){this['_deferredPromise']['resolve'](_0x3c228a);}['error'](_0x4c937b){this['_deferredPromise']['reject'](_0x4c937b);}}class WebSocketGatewayRequestsManager{_context;_requests=new Set();constructor(_context){this['_context']=_context;}async['send'](sendFunction,timeoutMs=0xafc8){const _0x4f9e74=this['_createRequest'](timeoutMs);try{return sendFunction(_0x4f9e74),await _0x4f9e74['promise'];}finally{this['_finishRequest'](_0x4f9e74);}}['errorAll'](_0x438639){for(const _0x2b2b89 of this['_requests'])_0x2b2b89['error'](_0x438639);}waitForAllRequests(time=0xafc8){return this['_waitForRequests'](time);}_createRequest(timeoutMs){const _0x2dc452=new WebSocketRequest(this['_context'],timeoutMs);return this['_requests']['add'](_0x2dc452),_0x2dc452;}_finishRequest(_0x5d7429){this['_requests']['delete'](_0x5d7429),clearTimeout(_0x5d7429['timeout']);}async _waitForRequests(time=0x1388,attempt=0x0){return!this['_requests']['size']||attempt>=time/0x1f4?Promise['resolve']():(await new Promise(_0x249479=>{setTimeout(_0x249479,0x1f4);}),this['_waitForRequests'](time,attempt++));}}function _deferPromise(){let _0x50111f,reject;const _0x35f941=new Promise((_0x727853,promiseReject)=>{_0x50111f=_0x727853,reject=promiseReject;});return{'resolve':_0x50111f,'reject':reject,'promise':_0x35f941};}const WEB_SOCKET_GATEWAY_STATES={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};class WebSocketGateway extends/* #__PURE__ -- @preserve */
53
+ ObservableMixin(){_requestsManager;['_url'];_socket;_socketAuth;['_channels'];_connectionAttempt=0x0;_token;_options;_connectionProvider;_userFactory;static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
54
54
  ((()=>WEB_SOCKET_GATEWAY_STATES['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
55
55
  ((()=>WEB_SOCKET_GATEWAY_STATES['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
56
56
  ((()=>WEB_SOCKET_GATEWAY_STATES['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
57
- ((()=>priorities['get']('highest')+0xf423f)());constructor(_0x362382,token,options,connectionProvider,userFactory){if(super(),this['_token']=token,this['_options']=options??{},this['_connectionProvider']=connectionProvider??io,this['_userFactory']=userFactory??User['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x362382)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=_0x4c722b(_0x362382['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(event,_0xce53ad,_0x5abba4)=>{if(this['_debugEvent']('ws-gw:change:state',_0x5abba4),_0x5abba4!==WebSocketGateway['STATE_CONNECTED']){if(_0x5abba4===WebSocketGateway['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](User,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(event,_0x157ef2)=>{this['_options']['onError']?this['_options']['onError'](_0x157ef2):console['error'](_0x157ef2);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](time){return this['_requestsManager']['waitForAllRequests'](time);}['disconnect'](){this['state']!==WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']);}async['reconnect'](){this['_socket']||this['state']!==WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](token,_0x26396c='local.cs.dev:443/ws-v2',options={},_0x43e7b9=io,userFactory=User['get']){const webSocketGateway=new this(_0x26396c,token,options,_0x43e7b9,userFactory);return await webSocketGateway['_connect'](),webSocketGateway;}['_sendRequest'](_0x449ad4,method,_0x167d6b){if(!_0x449ad4)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x7fe0b=new ArrayBuffer(_0x167d6b['length']+0x2),_0x3afad4=new Uint8Array(_0x7fe0b);return _0x3afad4[0x0]=_0x449ad4,_0x3afad4[0x1]=parseInt(method),_0x3afad4['set'](_0x167d6b,0x2),this['_emit'](0x1,_0x3afad4);}['_getChannel'](_0x3f0088,_0x2ad57a){const _0x496b24=''+_0x3f0088+_0x2ad57a;return!this['_channels']['has'](_0x496b24)&&this['_socket']&&this['_channels']['set'](_0x496b24,new Channel(_0x496b24,this,this['_socket'])),this['_channels']['get'](_0x496b24);}['_connect'](){return new Promise((_0x1f0bf9,reject)=>{const socket=this['_setupSocket']();!this['socketId']&&socket['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](reject);}),socket['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x1f0bf9();}catch(_0x552519){reject(_0x552519);}}),socket['connect']();});}['_getPortByProtocol'](protocol){return['http:','ws:']['includes'](protocol)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const port=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x319cb1=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+port,pathPrefix=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',socket=this['_connectionProvider'](_0x319cb1,{'parser':{'Encoder':Encoder,'Decoder':Decoder},'path':pathPrefix+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'54.1.0'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTING'],socket['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=socket['id'];}),socket['on']('connect_error',_0x64545b=>{this['_debugEvent']('connect_error',_0x64545b);}),socket['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),socket['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),socket['io']['on']('reconnect_attempt',attempt=>{this['_debugEvent']('reconnect_attempt',attempt),this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTING'],this['_connectionAttempt']=attempt;}),socket['on']('unauthorized',data=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](data);}),socket['on']('authenticationRequest',async data=>{this['_debugEvent']('authenticationRequest',data['attempt']),await this['_onReconnect']();}),this['_socket']=socket,socket;}['_emit'](eventName,_0x653345){const socket=this['_socket'];return this['_requestsManager']['send'](_0x2593fc=>{socket['emit'](eventName,_0x653345,(_0x18d62b,_0x3da9e1)=>{if(_0x18d62b)return _0x2593fc['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x18d62b));_0x2593fc['response'](_0x3da9e1);});},this['_options']['requestTimeout']);}['_addAuthData'](environmentId,_0xe4a31a){this['_socketAuth']={'environmentId':environmentId,'userId':_0xe4a31a,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTED'];const _0x206942=async(event,_0x476d4a,_0x4ca9f9)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x4ca9f9);}catch{}};this['_token']['on']('change:value',_0x206942),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x206942);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=WEB_SOCKET_GATEWAY_STATES['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x42cdf1 of this['_channels']['values']())_0x42cdf1['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](eventName,eventData){if(!this['_isDebugModeEnabled']())return;const eventDataString=void 0x0!==eventData?',\x20data:\x20'+eventData:'';console['info'](new Date()['toLocaleString']()+'\x20'+eventName+eventDataString);}['_reconnectionAttemptError'](_0x4336c9){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x4336c9(CKEditorCloudServicesError['fromPublicError']({'message':'The\x20number\x20of\x20initial\x20connection\x20attempts\x20exceeded.','explanation':'Three\x20initial\x20connection\x20attempts\x20failed.\x20It\x20can\x20be\x20caused\x20by\x20a\x20slow,\x20unstable,\x20missing\x20or\x20blocked\x20Internet\x20connection.','action':'Please\x20verify\x20the\x20stability\x20of\x20your\x20Internet\x20connection\x20and\x20ensure\x20that\x20no\x20antivirus\x20or\x20firewall\x20software\x20blocks\x20the\x20Web\x20Socket\x20protocol\x20connections.'})));}['_onUnauthorized']({error:_0x5d9268}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x5d9268));}async['_authenticate'](token){try{this['_debugEvent']('authenticate:start');const _0x2763b8=await this['_emit'](0x2,{'token':token});this['_debugEvent']('authenticate:success','envId:\x20'+_0x2763b8['environmentId']+',\x20userId:\x20'+_0x2763b8['userId']),this['_addAuthData'](_0x2763b8['environmentId'],_0x2763b8['userId']);}catch(_0x2b3855){throw this['_debugEvent']('authenticate:error',_0x2b3855['message']),this['_removeAuthData'](),_0x2b3855;}}['_isDebugModeEnabled'](){if(!global['window']['localStorage'])return!0x1;return'true'===(global['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}}class IsEditorBundleUploadedMessage extends Message{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x4063b8){super(),this['bundleVersion']=_0x4063b8;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](object){return new IsEditorBundleUploadedMessage(object['bundleVersion']);}}class IsEditorBundleUploadedResponse extends Message{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x575872){super(),this['isUploaded']=_0x575872;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x293738){return new IsEditorBundleUploadedResponse(_0x293738['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
58
- EmitterMixin(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](wsGateway,_0xc109ad){const _0x259493=new IsEditorBundleUploadedMessage(_0xc109ad);if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const _0x3dcf6d=await wsGateway['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],MessagesCompressor['encode'](_0x259493));return MessagesCompressor['decode'](_0x3dcf6d,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends Message{['documentId'];['revisionId'];static ['TYPE']='123';static ['READABLE_TYPE_NAME']='getRevision';static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'revisionId':{'type':'string','id':0x2}}};constructor(documentId,_0xdfb114){super(),this['documentId']=documentId,this['revisionId']=_0xdfb114;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](object){return new RevisionHistoryGetRevisionMessage(object['documentId'],object['revisionId']);}}class RevisionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
59
- ((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static['create'](object){return{'revisionId':object['id'],'name':object['name'],'creatorId':object['creatorId'],'createdAt':object['createdAt'],'fromVersion':object['fromVersion'],'toVersion':object['toVersion'],'isEmptyCurrent':object['isEmptyCurrent'],'diffData':object['diffData']?JSON['stringify'](object['diffData']):void 0x0,'attributes':object['attributes'],'authorsIds':object['authorsIds']};}static['toJSON'](_0xb6b5cb){return{'revisionId':_0xb6b5cb['revisionId'],'name':_0xb6b5cb['name'],'creatorId':_0xb6b5cb['creatorId'],'authorsIds':_0xb6b5cb['authorsIds']?JSON['stringify'](_0xb6b5cb['authorsIds']):void 0x0,'diffData':_0xb6b5cb['diffData'],'createdAt':_0xb6b5cb['createdAt']?.['toISOString'](),'attributes':_0xb6b5cb['attributes']?JSON['stringify'](_0xb6b5cb['attributes']):void 0x0,'toVersion':_0xb6b5cb['toVersion'],'fromVersion':_0xb6b5cb['fromVersion'],'isEmptyCurrent':_0xb6b5cb['isEmptyCurrent']};}static['fromJSON'](_0x5b9495){return{'revisionId':(_0x5b9495={..._0x5b9495})['revisionId'],'name':_0x5b9495['name'],'creatorId':_0x5b9495['creatorId'],'authorsIds':_0x5b9495['authorsIds']?JSON['parse'](_0x5b9495['authorsIds']):void 0x0,'diffData':_0x5b9495['diffData'],'createdAt':_0x5b9495['createdAt']?new Date(_0x5b9495['createdAt']):void 0x0,'attributes':_0x5b9495['attributes']?JSON['parse'](_0x5b9495['attributes']):void 0x0,'toVersion':_0x5b9495['toVersion'],'fromVersion':_0x5b9495['fromVersion'],'isEmptyCurrent':_0x5b9495['isEmptyCurrent']};}static['toObject'](_0x34132e){return function(revisionObject){for(const [_0xec4790,_0x17a8d6]of Object['entries'](revisionObject))void 0x0===_0x17a8d6&&delete revisionObject[_0xec4790];return revisionObject;}({'id':_0x34132e['revisionId'],'name':_0x34132e['name'],'creatorId':_0x34132e['creatorId'],'createdAt':_0x34132e['createdAt'],'fromVersion':_0x34132e['fromVersion'],'toVersion':_0x34132e['toVersion'],'isEmptyCurrent':_0x34132e['isEmptyCurrent'],'diffData':_0x34132e['diffData']?JSON['parse'](_0x34132e['diffData']):void 0x0,'attributes':_0x34132e['attributes'],'authorsIds':_0x34132e['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends Message{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
60
- ((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x11327a,_0x84adc0,creatorId,authorsIds,createdAt,diffData,attributes,_0x1b3c54,toVersion,isEmptyCurrent){super(),this['revisionId']=_0x11327a,this['name']=_0x84adc0,this['creatorId']=creatorId,this['authorsIds']=authorsIds,this['createdAt']=createdAt,this['diffData']=diffData,this['attributes']=attributes,this['fromVersion']=_0x1b3c54,this['toVersion']=toVersion,this['isEmptyCurrent']=isEmptyCurrent;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x4fc8c5){return new RevisionHistoryGetRevisionResponse(_0x4fc8c5['revisionId'],_0x4fc8c5['name'],_0x4fc8c5['creatorId'],_0x4fc8c5['authorsIds'],_0x4fc8c5['createdAt'],_0x4fc8c5['diffData'],_0x4fc8c5['attributes'],_0x4fc8c5['fromVersion'],_0x4fc8c5['toVersion'],_0x4fc8c5['isEmptyCurrent']);}static['fromJSON'](_0x57571e){return new RevisionHistoryGetRevisionResponse(_0x57571e['revisionId'],_0x57571e['name'],_0x57571e['creatorId'],_0x57571e['authorsIds']?JSON['parse'](_0x57571e['authorsIds']):void 0x0,_0x57571e['createdAt']?new Date(_0x57571e['createdAt']):void 0x0,_0x57571e['diffData'],_0x57571e['attributes']?JSON['parse'](_0x57571e['attributes']):void 0x0,_0x57571e['fromVersion'],_0x57571e['toVersion'],_0x57571e['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends Message{['documentId'];['requestId'];['revisions'];static ['TYPE']='124';static ['READABLE_TYPE_NAME']='updateRevisions';static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}};constructor(documentId,requestId,_0x5188e2){super(),this['documentId']=documentId,this['requestId']=requestId,this['revisions']=_0x5188e2;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['create'](_0x24d67f){return new RevisionHistoryUpdateRevisionsMessage(_0x24d67f['documentId'],_0x24d67f['requestId'],_0x24d67f['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x112cef){return new RevisionHistoryUpdateRevisionsMessage(_0x112cef['documentId'],_0x112cef['requestId'],_0x112cef['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends Message{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(requestId){super(),this['requestId']=requestId;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0xc2947d){return new RevisionHistoryUpdateRevisionsResponse(_0xc2947d['requestId']);}}class RevisionHistoryConnectMessage extends Message{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](object){return new RevisionHistoryConnectMessage(object['documentId']);}}class RevisionHistoryConnectResponse extends Message{['channel'];['requestId'];['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
61
- ((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x399f36,requestId,_0x3112f6){super(),this['channel']=_0x399f36,this['requestId']=requestId,this['revisions']=_0x3112f6;}['toJSON'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['fromJSON'](_0x1ac6ee){return new RevisionHistoryConnectResponse(_0x1ac6ee['channel'],_0x1ac6ee['requestId'],_0x1ac6ee['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends Message{['documentId'];['requestId'];static ['TYPE']='122';static ['READABLE_TYPE_NAME']='reconnectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryReconnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2}}};constructor(documentId,requestId){super(),this['documentId']=documentId,this['requestId']=requestId;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](object){return new RevisionHistoryReconnectMessage(object['documentId'],object['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0xb68682,context){super(_0xb68682+'\x20Service\x20is\x20not\x20connected.',context);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
62
- EmitterMixin(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_documentId){super(),this['_documentId']=_documentId;}get['isConnected'](){return this['_isConnected'];}['connect'](wsGateway){return this['_isConnected']?Promise['resolve']():this['_connect'](wsGateway,new RevisionHistoryConnectMessage(this['_documentId']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}['reconnect'](wsGateway,lastRequestId){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',wsGateway);return this['_connect'](wsGateway,new RevisionHistoryReconnectMessage(this['_documentId'],lastRequestId));}async['updateRevisions'](_0x347ebf,lastRequestId){const _0x3b88e3=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':lastRequestId,'revisions':_0x347ebf}),_0x20f534=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x3b88e3),{requestId:requestId}=MessagesCompressor['decode'](_0x20f534,RevisionHistoryUpdateRevisionsResponse);return requestId;}async['getRevision'](_0x4c205d){const _0x3a3eb5=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x4c205d),_0x51788c=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x3a3eb5);return MessagesCompressor['decode'](_0x51788c,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](wsGateway,_0x8b8191){if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x3e290f=await wsGateway['_sendRequest'](0xc,_0x8b8191['constructor']['TYPE'],MessagesCompressor['encode'](_0x8b8191)),{channel:_0x172af8,requestId:requestId,revisions:_0x22b249}=MessagesCompressor['decode'](_0x3e290f,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](wsGateway,'change:state',(_0xc200d3,_0x21e19c,state)=>this['_onWsGatewayStateChange'](state),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,_0x172af8),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x22b249,'requestId':requestId};}['_connectToChannel'](wsGateway,_0x4ecadd){this['_channel']=wsGateway['_getChannel'](RevisionHistoryService['_SERVICE'],_0x4ecadd),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(event,data)=>{const {documentId:documentId,requestId:requestId,revisions:_0x4ba6ca}=MessagesCompressor['decode'](data,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':documentId,'requestId':requestId,'revisionsData':_0x4ba6ca});});}['_onWsGatewayStateChange'](_0x42bfad){_0x42bfad===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](method,_0x3b144e){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,method,MessagesCompressor['encode'](_0x3b144e));}}class AddSuggestionMessage extends Message{['id'];['documentId'];['type'];['data'];['originalSuggestionId'];['attributes'];static ['TYPE']='101';static ['READABLE_TYPE_NAME']='addSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'data':{'type':'string','id':0x4},'originalSuggestionId':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x4ce60c,documentId,type,data={},originalSuggestionId=null,attributes=null){super(),this['id']=_0x4ce60c,this['documentId']=documentId,this['type']=type,this['data']=data,this['originalSuggestionId']=originalSuggestionId,this['attributes']=attributes;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'type':this['type'],'data':JSON['stringify'](this['data']),'originalSuggestionId':this['originalSuggestionId'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](object){return new AddSuggestionMessage(object['id'],object['documentId'],object['type'],JSON['parse'](object['data']),object['originalSuggestionId']??null,object['attributes']?JSON['parse'](object['attributes']):null);}}class AddSuggestionResponse extends Message{['id'];['authorId'];['type'];['hasComments'];['state'];['data'];['attributes'];['createdAt'];static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x6cb74b,authorId,type,createdAt,hasComments,state,data={},attributes=null){super(),this['id']=_0x6cb74b,this['authorId']=authorId,this['type']=type,this['hasComments']=hasComments,this['state']=state,this['data']=data,this['attributes']=attributes,this['createdAt']=createdAt?new Date(createdAt):void 0x0;}['toJSON'](){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']?.['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](data){return new AddSuggestionResponse(data['id'],data['authorId'],data['type'],data['createdAt'],data['hasComments'],data['state'],JSON['parse'](data['data']),data['attributes']?JSON['parse'](data['attributes']):null);}}class GetSuggestionMessage extends Message{['id'];['documentId'];static ['TYPE']='103';static ['READABLE_TYPE_NAME']='getSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x567773,documentId){super(),this['id']=_0x567773,this['documentId']=documentId;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](object){return new GetSuggestionMessage(object['id'],object['documentId']);}}class GetSuggestionResponse extends Message{['id'];['authorId'];['type'];['hasComments'];['state'];['data'];['attributes'];['createdAt'];static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x5aa2b3,authorId,type,createdAt,hasComments,state,data={},attributes=null){super(),this['id']=_0x5aa2b3,this['authorId']=authorId,this['type']=type,this['hasComments']=hasComments,this['state']=state,this['data']=data,this['attributes']=attributes,this['createdAt']=new Date(createdAt);}['toJSON'](){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](data){return new GetSuggestionResponse(data['id'],data['authorId'],data['type'],data['createdAt'],data['hasComments'],data['state'],JSON['parse'](data['data']),data['attributes']?JSON['parse'](data['attributes']):null);}}class GetAllSuggestionsMessage extends Message{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](object){return new GetAllSuggestionsMessage(object['documentId']);}}class SuggestionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static['toJSON'](suggestion){return{...suggestion,'data':suggestion['data']?JSON['stringify'](suggestion['data']):suggestion['data'],'attributes':suggestion['attributes']?JSON['stringify'](suggestion['attributes']):suggestion['attributes'],'createdAt':suggestion['createdAt']?.['toISOString']()};}static['fromJSON'](suggestion){return{...suggestion,'data':suggestion['data']?JSON['parse'](suggestion['data']):suggestion['data'],'attributes':suggestion['attributes']?JSON['parse'](suggestion['attributes']):suggestion['attributes'],'createdAt':suggestion['createdAt']?new Date(suggestion['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends Message{['_suggestions'];['_suggestionsV2'];['suggestions'];static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionsResponse';static ['DESCRIPTOR']={'fields':{'suggestions':{'type':'string','rule':'repeated','id':0x1},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x2}}};constructor(_suggestions,_suggestionsV2){super(),this['_suggestions']=_suggestions,this['_suggestionsV2']=_suggestionsV2,this['suggestions']=_suggestionsV2?.['length']?_suggestionsV2:_suggestions;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](suggestion=>JSON['stringify'](suggestion)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](data){return new GetAllSuggestionResponse(data['suggestions']?.['map'](_suggestionFromString),data['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(suggestion){const parsedSuggestion=JSON['parse'](suggestion);return parsedSuggestion['createdAt']=parsedSuggestion['createdAt']?new Date(parsedSuggestion['createdAt']):void 0x0,parsedSuggestion;}class UpdateSuggestionMessage extends Message{['id'];['documentId'];['hasComments'];['isHasCommentsModified'];['state'];['attributes'];static ['TYPE']='104';static ['READABLE_TYPE_NAME']='updateSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesUpdateSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'hasComments':{'type':'bool','id':0x3},'isHasCommentsModified':{'type':'bool','id':0x4},'state':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x5d1ad2,documentId,hasComments,isHasCommentsModified,state,attributes=null){super(),this['id']=_0x5d1ad2,this['documentId']=documentId,this['hasComments']=hasComments,this['isHasCommentsModified']=isHasCommentsModified,this['state']=state,this['attributes']=attributes;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](object){return new UpdateSuggestionMessage(object['id'],object['documentId'],object['hasComments'],object['isHasCommentsModified'],object['state'],object['attributes']?JSON['parse'](object['attributes']):null);}}let ConnectMessage$1=class ConnectMessage extends Message{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](object){return new ConnectMessage(object['documentId']);}},ConnectResponse$1=class ConnectResponse extends Message{['channel'];['_suggestions'];['_suggestionsV2'];['suggestions'];static ['DESCRIPTOR_NAME']='TrackChangesConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'suggestions':{'type':'string','rule':'repeated','id':0x2},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x3}}};constructor(_0x45f5e8,_suggestions,_suggestionsV2){super(),this['channel']=_0x45f5e8,this['_suggestions']=_suggestions,this['_suggestionsV2']=_suggestionsV2,this['suggestions']=_suggestionsV2?.['length']?_suggestionsV2:_suggestions;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](suggestion=>JSON['stringify'](suggestion)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](object){return new ConnectResponse(object['channel'],object['suggestions']?.['map'](suggestion=>JSON['parse'](suggestion)),object['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends Message{['ids'];['documentId'];['state'];static ['TYPE']='106';static ['READABLE_TYPE_NAME']='batchUpdateSuggestionsState';static ['DESCRIPTOR_NAME']='TrackChangesBatchUpdateSuggestionsStateMessage';static ['DESCRIPTOR']={'fields':{'ids':{'type':'string','rule':'repeated','id':0x1},'documentId':{'type':'string','id':0x2},'state':{'type':'string','id':0x3}}};constructor(_0x44fe21,documentId,state){super(),this['ids']=_0x44fe21,this['documentId']=documentId,this['state']=state;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](object){return new BatchUpdateSuggestionsStateMessage(object['ids'],object['documentId'],object['state']);}}class TrackChangesService extends/* #__PURE__ -- @preserve */
63
- EmitterMixin(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_documentId){super(),this['_documentId']=_documentId;}get['isConnected'](){return this['_isConnected'];}async['connect'](wsGateway){if(this['_isConnected'])return;if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const connectMessage=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x5f4f9b=await wsGateway['_sendRequest'](0xa,ConnectMessage$1['TYPE'],MessagesCompressor['encode'](connectMessage)),connectResponse=MessagesCompressor['decode'](_0x5f4f9b,ConnectResponse$1);return this['listenTo'](wsGateway,'change:state',(_0x5ce73e,_0x451d49,_0xc2e9ce)=>this['_onWsGatewayStateChange'](_0xc2e9ce),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,connectResponse['channel']),this['_isConnected']=!0x0,this['fire']('connected'),connectResponse['suggestions'];}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['add'](_0x4141a4,type,data,originalSuggestionId=null,attributes){const _0x4c58f7=new AddSuggestionMessage(_0x4141a4,this['_documentId'],type,data,originalSuggestionId,attributes),_0x371774=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x4c58f7);return MessagesCompressor['decode'](_0x371774,AddSuggestionResponse);}async['get'](_0x5d6ced,attempt=0x1){const _0x1a7ad7=new GetSuggestionMessage(_0x5d6ced,this['_documentId']);try{const _0x20f008=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x1a7ad7);return MessagesCompressor['decode'](_0x20f008,GetSuggestionResponse);}catch(_0x5cf92f){if('CKEditorCloudServicesServerError'===_0x5cf92f['name']&&'404'===_0x5cf92f['code']&&attempt<0x5)return await(time=0x64*attempt,new Promise(_0x20c60b=>{setTimeout(_0x20c60b,time);})),this['get'](_0x5d6ced,attempt+0x1);if('CKEditorCloudServicesServerError'===_0x5cf92f['name'])throw _0x5cf92f;throw CKEditorCloudServicesServerError['fromPublicError'](_0x5cf92f);}var time;}async['getAll'](){const _0x456106=new GetAllSuggestionsMessage(this['_documentId']),_0x511713=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x456106),{suggestions:suggestions}=MessagesCompressor['decode'](_0x511713,GetAllSuggestionResponse);return suggestions;}async['update'](_0x1f1124,_0x4b1e61={}){const {hasComments:hasComments,state:state,attributes:attributes}=_0x4b1e61,isHasCommentsUpdated=void 0x0!==hasComments,_0x2fd711=new UpdateSuggestionMessage(_0x1f1124,this['_documentId'],hasComments,isHasCommentsUpdated,state,attributes);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x2fd711);}async['batchUpdateState'](_0x55839c){const _0x1230e6=new BatchUpdateSuggestionsStateMessage(_0x55839c['ids'],this['_documentId'],_0x55839c['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x1230e6);}['_connectToChannel'](wsGateway,_0x820fc6){this['_channel']=wsGateway['_getChannel'](TrackChangesService['_SERVICE'],_0x820fc6),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(event,data)=>{const updateSuggestionMessage=MessagesCompressor['decode'](data,UpdateSuggestionMessage);this['fire']('suggestionUpdated',updateSuggestionMessage);});}['_onWsGatewayStateChange'](_0xe1c1b9){_0xe1c1b9===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](method,_0x1f7a67){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,method,MessagesCompressor['encode'](_0x1f7a67));}}class SessionsConnectResponse extends Message{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x504d05,sockets=[]){super(),this['channel']=_0x504d05,this['sockets']=sockets;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](socket=>({'user':socket['userId'],'session':socket['id'],'role':socket['role'],'permissions':socket['permissions']}))};}static['fromJSON'](data){return new SessionsConnectResponse(data['channel'],data['sockets']['map'](socket=>({'id':socket['session'],'userId':socket['user'],'role':socket['role'],'permissions':socket['permissions']})));}}class SessionsConnectMessage extends Message{['id'];['sessionType'];static ['TYPE']='31';static ['READABLE_TYPE_NAME']='getConnectedSockets';static ['DESCRIPTOR_NAME']='SessionsConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'sessionType':{'type':'uint32','id':0x2}}};constructor(_0x97049f,_0x27e8d8){super(),this['id']=_0x97049f,this['sessionType']=_0x27e8d8;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](data){return new SessionsConnectMessage(data['id'],data['sessionType']);}}class SocketConnectMessage extends Message{['id'];['userId'];['role'];['permissions'];static ['TYPE']='32';static ['READABLE_TYPE_NAME']='connectSocket';static ['DESCRIPTOR_NAME']='SocketConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'userId':{'type':'string','id':0x2},'role':{'type':'string','id':0x3},'permissions':{'rule':'repeated','type':'string','id':0x4}}};constructor(_0x18bf44,_0x4e2fdb,_0x1c6608,_0x3260bc){super(),this['id']=_0x18bf44,this['userId']=_0x4e2fdb,this['role']=_0x1c6608,this['permissions']=_0x3260bc;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](data){return new SocketConnectMessage(data['id'],data['userId'],data['role'],data['permissions']);}}class SocketDisconnectMessage extends Message{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x378611){super(),this['id']=_0x378611;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](data){return new SocketDisconnectMessage(data['id']);}}class SessionCollection extends Collection{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x215ce9,_0x5bb36d){super({'idProperty':'id'}),this['_id']=_0x215ce9,this['_sessionType']=_0x5bb36d;}async['connect'](wsGateway){this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x518c16=new SessionsConnectMessage(this['_id'],this['_sessionType']);let sessionsConnectResponse;try{const _0x267b94=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],MessagesCompressor['encode'](_0x518c16));sessionsConnectResponse=MessagesCompressor['decode'](_0x267b94,SessionsConnectResponse);}catch{sessionsConnectResponse=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],sessionsConnectResponse['channel'],this['_sessionType']);const _0x345e7a=await async function(wsGateway,_0x5a75bd){const _0x10a973=_0x5a75bd['map'](socket=>socket['userId']),_0x25d6b4=_0x10a973['length']?await User['getMany'](wsGateway,_0x10a973):[];return _0x5a75bd['map'](socket=>{const item={'id':socket['id'],'role':socket['role'],'permissions':socket['permissions']};return item['user']=socket['userId']&&_0x25d6b4['find'](_0x137435=>_0x137435['id']===socket['userId'])||new User(),item;});}(this['_wsGateway'],sessionsConnectResponse['sockets']);for(const _0x53a134 of _0x345e7a)super['add'](_0x53a134);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x4d2639,_0x5810e8,_0x4a03dc)=>this['_onWsGatewayStateChange'](_0x4a03dc),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x3619f5=!0x0){if(this['_connected']){for(this['_connected']=!0x1,this['_eventsQueue']=[];this['length'];)super['remove'](0x0);this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_wsGateway']&&_0x3619f5&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x3619f5&&this['stopListening']();}}['add'](_0x395f0a,_0x245a4b){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x490385){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](wsGateway,_0x106919,_0x82a100){this['_channel']=wsGateway['_getChannel'](_0x82a100,_0x106919),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async data=>{const socketConnectMessage=MessagesCompressor['decode'](data,SocketConnectMessage);if(-0x1===this['getIndex'](socketConnectMessage['id'])){const socket={'id':socketConnectMessage['id'],'role':socketConnectMessage['role'],'permissions':socketConnectMessage['permissions']};socketConnectMessage['userId']&&(socket['user']=await User['get'](wsGateway,socketConnectMessage['userId'])),super['add'](socket);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],data=>{const socketDisconnectMessage=MessagesCompressor['decode'](data,SocketDisconnectMessage);-0x1!==this['getIndex'](socketDisconnectMessage['id'])&&super['remove'](socketDisconnectMessage['id']);}));}async['_onWsGatewayStateChange'](state){state===WebSocketGateway['STATE_DISCONNECTED']&&this['disconnect'](!0x1),state===WebSocketGateway['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let event;for(this['_isRunning']=!0x0;event=this['_eventsQueue']['shift']();){const _0x5ce9dd=this['_handlers']['get'](event['eventName']);_0x5ce9dd&&await _0x5ce9dd(event['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x1003e0,eventType,_0x202390){const eventName=_0x1003e0['getEventName'](eventType,!0x0);this['listenTo'](_0x1003e0,eventName,async(event,data)=>{const _0x1390a9=event['name'];this['_eventsQueue']['push']({'eventName':_0x1390a9,'data':data}),await this['_runQueue']();}),this['_handlers']['set'](eventName,_0x202390);}}class Sessions{static async['getConnectedSessions'](wsGateway,_0x356485,_0x366ffd){const sessionCollection=new SessionCollection(_0x356485,_0x366ffd);return await sessionCollection['connect'](wsGateway),sessionCollection;}}class CollaborativeEditingConnectMessage extends Message{['id'];['buffers'];['types'];['bundleVersion'];['lastOperationId'];static ['TYPE']='11';static ['READABLE_TYPE_NAME']='connectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'lastOperationId':{'type':'string','id':0x5}}};constructor(_0x394c86,_0x31555f,types,_0x5f1943,lastOperationId=''){super(),this['id']=_0x394c86,this['buffers']=_0x31555f,this['types']=types,this['bundleVersion']=_0x5f1943,this['lastOperationId']=lastOperationId;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](data){return new CollaborativeEditingConnectMessage(data['id'],data['buffers'],data['types'],data['bundleVersion'],data['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](types,metadata){if(!types?.['length']||!metadata?.['length'])return[];const result=[];let _0x36c5ce=0x0;for(const type of types)if(0x0!==type){if(!metadata[_0x36c5ce])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');result['push'](metadata[_0x36c5ce]),_0x36c5ce++;}else result['push'](result[result['length']-0x1]);return result;}static['removeUnnecessaryMetadata'](types,metadata){if(!types?.['length']||!metadata?.['length'])return[];const result=[];for(let _0x2e9dde=0x0;_0x2e9dde<types['length'];_0x2e9dde++)if(0x0!==types[_0x2e9dde]){if(!metadata[_0x2e9dde])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');result['push'](metadata[_0x2e9dde]);}return result;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
64
- ((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static['toJSON']({createdAt:createdAt,...metadata}){const parsedMetadata={...metadata};return createdAt?.['toISOString']&&(parsedMetadata['createdAt']=createdAt['toISOString']()),parsedMetadata;}static['fromJSON']({createdAt:createdAt,...metadata}){const parsedMetadata={...metadata};return createdAt&&(parsedMetadata['createdAt']=new Date(createdAt)),parsedMetadata;}}class CollaborativeEditingUpdateMessage extends Message{['id'];['buffers'];['types'];['baseVersion'];['metadata'];['lastOperationId'];static ['TYPE']='13';static ['READABLE_TYPE_NAME']='updateDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingUpdateMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'baseVersion':{'type':'uint32','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x6},'lastOperationId':{'type':'string','id':0x7}}};constructor(_0x59c273,_0x3e1172,types,_0x5c48e3,metadata=[],lastOperationId=''){super(),this['id']=_0x59c273,this['buffers']=_0x3e1172,this['types']=types,this['baseVersion']=_0x5c48e3,this['metadata']=metadata,this['lastOperationId']=lastOperationId;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'lastOperationId':this['lastOperationId']};}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](data){return new CollaborativeEditingUpdateMessage(data['id'],data['buffers'],data['types'],data['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](data['types'],data['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),data['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends Message{['id'];['lastKnowVersion'];['bundleVersion'];static ['TYPE']='12';static ['READABLE_TYPE_NAME']='reconnectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingReconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'lastKnowVersion':{'type':'uint32','id':0x3}}};constructor(_0x318546,lastKnowVersion,_0xf6673f){super(),this['id']=_0x318546,this['lastKnowVersion']=lastKnowVersion,this['bundleVersion']=_0xf6673f;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](data){return new CollaborativeEditingReconnectMessage(data['id'],data['lastKnowVersion'],data['bundleVersion']);}}class ChannelDisconnectedMessage extends Message{static ['TYPE']='15';static ['READABLE_TYPE_NAME']='channelDisconnected';static ['DESCRIPTOR_NAME']='ChannelDisconnectedMessage';static ['DESCRIPTOR']={'fields':{}};['toJSON'](){return{};}static['fromJSON'](){return new ChannelDisconnectedMessage();}}class CollaborativeEditingResponse extends Message{['version'];['buffers'];['types'];['metadata'];['lastOperationId'];['lastOperationAcceptedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingResponse';static ['DESCRIPTOR']={'fields':{'version':{'type':'uint32','id':0x1},'buffers':{'rule':'repeated','type':'bytes','id':0x2},'types':{'rule':'repeated','type':'uint32','id':0x3},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x5},'lastOperationId':{'type':'string','id':0x6},'lastOperationAcceptedAt':{'type':'string','id':0x7}}};constructor(_0x465d90,_0x2cdc44=[],types=[],metadata=[],lastOperationId='',lastOperationAcceptedAt=null){super(),this['version']=_0x465d90,this['buffers']=_0x2cdc44,this['types']=types,this['metadata']=metadata,this['lastOperationId']=lastOperationId,this['lastOperationAcceptedAt']=lastOperationAcceptedAt;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']};}get['wereChangesApplied'](){return!this['types']?.['length'];}['toJSON'](){return{'version':this['version'],'buffers':this['buffers'],'types':this['types'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](data){return new CollaborativeEditingResponse(data['version'],data['buffers'],data['types'],OperationMetadataHelpers['prepareMetadataForOperations'](data['types'],data['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),data['lastOperationId'],data['lastOperationAcceptedAt']?new Date(data['lastOperationAcceptedAt']):null);}static['create'](data){return new CollaborativeEditingResponse(data['version'],data['buffers'],data['types'],data['metadata'],data['lastOperationId'],data['lastOperationAcceptedAt']?new Date(data['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends Message{['channel'];['version'];['buffers'];['types'];['offset'];['metadata'];['initData'];['sessionId'];['lastOperationId'];['sessionCreatedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
65
- ((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':OperationMetadataDescriptor['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(_0x7e9965,_0x1fe772,_0x23cd4c=[],types=[],offset=0x0,metadata=[],initData=null,_0x5d08e2='',lastOperationId='',sessionCreatedAt=null){super(),this['channel']=_0x7e9965,this['version']=_0x1fe772,this['buffers']=_0x23cd4c,this['types']=types,this['offset']=offset,this['metadata']=metadata,this['initData']=initData,this['sessionId']=_0x5d08e2,this['lastOperationId']=lastOperationId,this['sessionCreatedAt']=sessionCreatedAt;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']};}get['wereChangesApplied'](){return!this['types']?.['length']&&null===this['initData'];}['toJSON'](){return{'channel':this['channel'],'version':this['version'],'sessionId':this['sessionId'],'buffers':this['buffers'],'types':this['types'],'offset':this['offset'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static['create'](_0x4e05f6){return new CollaborativeEditingConnectResponse(_0x4e05f6['channel'],_0x4e05f6['version'],_0x4e05f6['buffers'],_0x4e05f6['types'],_0x4e05f6['offset'],_0x4e05f6['metadata'],_0x4e05f6['initData'],_0x4e05f6['sessionId'],_0x4e05f6['lastOperationId'],_0x4e05f6['sessionCreatedAt']);}static['fromJSON'](data){let initData=null;return!0x0===data['isInitialized']?initData=data['initData']??'':'boolean'!=typeof data['isInitialized']&&data['initData']&&(initData=data['initData']),CollaborativeEditingConnectResponse['create']({'channel':data['channel'],'version':data['version'],'buffers':data['buffers'],'types':data['types'],'offset':data['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](data['types'],data['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':initData,'sessionId':data['sessionId'],'lastOperationId':data['lastOperationId'],'sessionCreatedAt':data['sessionCreatedAt']?new Date(data['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends Message{['lastDocumentSession'];['currentDocumentSession'];static ['DESCRIPTOR_NAME']='GetDocumentDetailsResponse';static ['DESCRIPTOR']={'fields':{'lastDocumentSessionId':{'type':'string','id':0x1},'lastDocumentSessionOperationId':{'type':'string','id':0x2},'currentDocumentSessionId':{'type':'string','id':0x3},'currentDocumentSessionVersion':{'type':'uint32','id':0x4},'currentDocumentSessionOperationId':{'type':'string','id':0x5}}};constructor(lastDocumentSession,currentDocumentSession){super(),this['lastDocumentSession']=lastDocumentSession,this['currentDocumentSession']=currentDocumentSession;}get['data'](){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}['toJSON'](){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}static['fromJSON'](data){const lastDocumentSession=data['lastDocumentSessionId']?{'id':data['lastDocumentSessionId'],'lastOperationId':data['lastDocumentSessionOperationId']}:void 0x0,currentDocumentSession=data['currentDocumentSessionId']?{'lastOperationId':data['currentDocumentSessionOperationId'],'version':data['currentDocumentSessionVersion'],'id':data['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(lastDocumentSession,currentDocumentSession);}}class GetDocumentDetailsMessage extends Message{['documentId'];static ['TYPE']='14';static ['READABLE_TYPE_NAME']='getDocumentDetails';static ['DESCRIPTOR_NAME']='GetDocumentDetailsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'environmentId':{'type':'string','id':0x2}}};constructor(documentId){super(),this['documentId']=documentId;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](data){return new GetDocumentDetailsMessage(data['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
66
- EmitterMixin(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x271603,_0xb88eff){if(super(),!_0x271603)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0xb88eff??v4(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x271603;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](wsGateway,data={'buffers':[],'types':[]},lastOperationId){const _0x4e8dc2=new CollaborativeEditingConnectMessage(this['getId'](),data['buffers'],data['types'],this['_bundleVersion'],lastOperationId);return this['_connect'](wsGateway,_0x4e8dc2);}['reconnect'](wsGateway,lastKnowVersion){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',wsGateway);return this['_connect'](wsGateway,new CollaborativeEditingReconnectMessage(this['getId'](),lastKnowVersion,this['_bundleVersion']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['getDocumentDetails'](){const _0x40b6b7=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x144b15=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],MessagesCompressor['encode'](_0x40b6b7));return MessagesCompressor['decode'](_0x144b15,GetDocumentDetailsResponse);}async['sendOperations'](data,_0x1f119e,lastOperationId){if(!data?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x4979c0='number'==typeof _0x1f119e?_0x1f119e:parseInt(_0x1f119e);if(!Number['isInteger'](_0x4979c0)||_0x4979c0<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x16d394=new CollaborativeEditingUpdateMessage(this['getId'](),data['buffers'],data['types'],_0x4979c0,[],lastOperationId);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x3c0838=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],MessagesCompressor['encode'](_0x16d394));return MessagesCompressor['decode'](_0x3c0838,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await Sessions['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static['getConnectedSessions'](wsGateway,_0x34e1a2){return Sessions['getConnectedSessions'](wsGateway,_0x34e1a2,0x1);}async['_connect'](wsGateway,_0x4656eb){if(this['isConnected']())return;if(wsGateway['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x3aa38a=await wsGateway['_sendRequest'](0x1,_0x4656eb['constructor']['TYPE'],MessagesCompressor['encode'](_0x4656eb)),collaborativeEditingConnectResponse=MessagesCompressor['decode'](_0x3aa38a,CollaborativeEditingConnectResponse);return this['listenTo'](wsGateway,'change:state',(_0x53c75e,_0x2bf841,_0x314884)=>this['_onWsGatewayStateChange'](_0x314884),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,collaborativeEditingConnectResponse['channel']),this['_isConnected']=!0x0,this['fire']('connected'),collaborativeEditingConnectResponse;}['_connectToChannel'](wsGateway,_0x308b53){this['_channel']=wsGateway['_getChannel'](0x1,_0x308b53),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(event,data)=>{const updateMessage=MessagesCompressor['decode'](data,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',updateMessage['baseVersion'],updateMessage['data'],updateMessage['metadata']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();});}['_onWsGatewayStateChange'](_0x41ff4e){_0x41ff4e===WebSocketGateway['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static['toJSON'](comment){return{...comment,'createdAt':comment['createdAt']?.['toISOString'](),'attributes':comment['attributes']?JSON['stringify'](comment['attributes']):null};}static['fromJSON'](comment){return{...comment,'createdAt':new Date(comment['createdAt']),'attributes':comment['attributes']?JSON['parse'](comment['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static['toJSON'](thread){return{...thread,'createdAt':thread['createdAt']?.['toISOString'](),'deletedAt':thread['deletedAt']?.['toISOString'](),'resolvedAt':thread['resolvedAt']?.['toISOString'](),'attributes':thread['attributes']?JSON['stringify'](thread['attributes']):null,'context':thread['context']?JSON['stringify'](thread['context']):thread['context'],'comments':thread['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':thread['unlinkedAt']?.['toISOString']()};}static['fromJSON'](thread){return{...thread,'createdAt':thread['createdAt']?new Date(thread['createdAt']):void 0x0,'deletedAt':thread['deletedAt']?new Date(thread['deletedAt']):void 0x0,'resolvedAt':thread['resolvedAt']?new Date(thread['resolvedAt']):void 0x0,'attributes':thread['attributes']?JSON['parse'](thread['attributes']):null,'context':thread['context']?JSON['parse'](thread['context']):void 0x0,'comments':thread['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':thread['unlinkedAt']?new Date(thread['unlinkedAt']):void 0x0};}}class AddCommentMessage extends Message{['documentId'];['commentThreadId'];['content'];['commentId'];['userId'];['attributes'];['commentThread'];['createdAt'];static ['TYPE']='91';static ['READABLE_TYPE_NAME']='addComment';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'content':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3},'commentId':{'type':'string','id':0x4},'createdAt':{'type':'string','id':0x5},'userId':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'commentThread':{'type':'CommentsThreadDescriptor','id':0x8}}};constructor(documentId,commentThreadId,content,commentId='',createdAt,_0x5cc985='',attributes=null,commentThread){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['content']=content,this['commentId']=commentId,this['userId']=_0x5cc985,this['attributes']=attributes,this['commentThread']=commentThread,this['createdAt']=createdAt?new Date(createdAt):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](object){return new AddCommentMessage(object['documentId'],object['commentThreadId'],object['content'],object['commentId']?object['commentId']:void 0x0,object['createdAt']?new Date(object['createdAt']):void 0x0,object['userId']?object['userId']:void 0x0,object['attributes']?JSON['parse'](object['attributes']):{},object['commentThread']?CommentsThreadDescriptor['fromJSON'](object['commentThread']):void 0x0);}}class AddCommentResponse extends Message{['commentThreadId'];['commentId'];['createdAt'];static ['DESCRIPTOR_NAME']='CommentsV2AddCommentResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}};constructor(commentThreadId,commentId,createdAt){super(),this['commentThreadId']=commentThreadId,this['commentId']=commentId,this['createdAt']=new Date(createdAt);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](data){return new AddCommentResponse(data['commentThreadId'],data['commentId'],data['createdAt']);}}class ConnectMessage extends Message{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](object){return new ConnectMessage(object['documentId']);}}class ConnectResponse extends Message{['channel'];['_threads'];['_threadsV2'];['threads'];static ['DESCRIPTOR_NAME']='CommentsV2ConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'threads':{'type':'string','rule':'repeated','id':0x2},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x3}}};constructor(_0x178803,_threads,_threadsV2){super(),this['channel']=_0x178803,this['_threads']=_threads,this['_threadsV2']=_threadsV2,this['threads']=_threadsV2?.['length']?_threadsV2:_threads;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](thread=>JSON['stringify'](thread)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](object){return new ConnectResponse(object['channel'],object['threads']?.['map'](thread=>JSON['parse'](thread)),object['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends Message{['documentId'];['commentThreadId'];['commentId'];static ['TYPE']='95';static ['READABLE_TYPE_NAME']='removeComment';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3}}};constructor(documentId,commentThreadId,commentId){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['commentId']=commentId;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](object){return new RemoveCommentMessage(object['documentId'],object['commentThreadId'],object['commentId']);}}class RemoveCommentThreadMessage extends Message{['documentId'];['commentThreadId'];static ['TYPE']='97';static ['READABLE_TYPE_NAME']='removeCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(documentId,commentThreadId){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](object){return new RemoveCommentThreadMessage(object['documentId'],object['commentThreadId']);}}class UpdateCommentMessage extends Message{['documentId'];['commentThreadId'];['commentId'];['content'];['attributes'];['isAttributesUpdated'];['commentThread'];static ['TYPE']='96';static ['READABLE_TYPE_NAME']='updateComment';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'content':{'type':'string','id':0x3},'documentId':{'type':'string','id':0x4},'attributes':{'type':'string','id':0x5},'isAttributesUpdated':{'type':'bool','id':0x6},'commentThread':{'type':'CommentsThreadDescriptor','id':0x7}}};constructor(documentId,commentThreadId,commentId,content,attributes=null,isAttributesUpdated=!0x1,commentThread){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['commentId']=commentId,this['content']=content,this['attributes']=attributes,this['isAttributesUpdated']=isAttributesUpdated,this['commentThread']=commentThread;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](object){return new UpdateCommentMessage(object['documentId'],object['commentThreadId'],object['commentId'],object['content'],object['attributes']?JSON['parse'](object['attributes']):null,object['isAttributesUpdated'],object['commentThread']?CommentsThreadDescriptor['fromJSON'](object['commentThread']):void 0x0);}}class GetCommentThreadMessage extends Message{['commentThreadId'];['documentId'];static ['TYPE']='93';static ['READABLE_TYPE_NAME']='getComment';static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(commentThreadId,documentId){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](object){return new GetCommentThreadMessage(object['commentThreadId'],object['documentId']);}}class GetCommentThreadResponse extends Message{['commentThreadId'];['_comments'];['_commentsV2'];['resolvedBy'];['comments'];['createdAt'];['deletedAt'];['resolvedAt'];['attributes'];['context'];['unlinkedAt'];static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'string','rule':'repeated','id':0x2},'commentsV2':{'type':'CommentDescriptor','rule':'repeated','id':0x3},'resolvedAt':{'type':'string','id':0x4},'resolvedBy':{'type':'string','id':0x5},'context':{'type':'string','id':0x6},'createdAt':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'attributes':{'type':'string','id':0x9},'unlinkedAt':{'type':'string','id':0xa}}};constructor(commentThreadId,_comments,_commentsV2,attributes,_0x38c472,context,createdAt,deletedAt,resolvedAt,unlinkedAt){super(),this['commentThreadId']=commentThreadId,this['_comments']=_comments,this['_commentsV2']=_commentsV2,this['resolvedBy']=_0x38c472,this['comments']=_commentsV2?.['length']?_commentsV2:_comments,this['createdAt']=createdAt?new Date(createdAt):void 0x0,this['deletedAt']='string'==typeof deletedAt?new Date(deletedAt):deletedAt,this['resolvedAt']='string'==typeof resolvedAt?new Date(resolvedAt):resolvedAt,this['unlinkedAt']='string'==typeof unlinkedAt?new Date(unlinkedAt):unlinkedAt,this['attributes']='string'==typeof attributes?JSON['parse'](attributes):attributes,this['context']='string'==typeof context?JSON['parse'](context):context;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](comment=>JSON['stringify'](comment)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](object){return new GetCommentThreadResponse(object['commentThreadId'],object['comments']?.['map'](comment=>function(commentString){const comment=JSON['parse'](commentString);return{...comment,'createdAt':new Date(comment['createdAt'])};}(comment)),object['commentsV2']?.['map'](CommentDescriptor['fromJSON']),object['attributes']?JSON['parse'](object['attributes']):object['attributes'],object['resolvedBy'],object['context']?JSON['parse'](object['context']):object['context'],object['createdAt'],object['deletedAt'],object['resolvedAt'],object['unlinkedAt']);}}class GetDocumentThreadsMessage extends Message{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](object){return new GetDocumentThreadsMessage(object['documentId']);}}class GetDocumentThreadsResponse extends Message{['_threads'];['_threadsV2'];['threads'];static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsResponse';static ['DESCRIPTOR']={'fields':{'threads':{'type':'string','rule':'repeated','id':0x1},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x2}}};constructor(_threads,_threadsV2){super(),this['_threads']=_threads,this['_threadsV2']=_threadsV2,this['threads']=_threadsV2?.['length']?_threadsV2:_threads;}['toJSON'](){return{'threads':this['_threads']?.['map'](thread=>JSON['stringify'](thread)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](object){return new GetDocumentThreadsResponse(object['threads']?.['map'](thread=>function(threadString){const threadRaw=JSON['parse'](threadString),thread={...threadRaw};return threadRaw['comments']&&(thread['comments']=threadRaw['comments']?.['map'](comment=>({...comment,'createdAt':new Date(comment['createdAt'])}))),thread;}(thread)),object['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static['toJSON'](comment){return{'commentId':comment['commentId'],'createdAt':comment['createdAt']?.['toISOString']()};}static['fromJSON'](comment){return{'commentId':comment['commentId'],'createdAt':new Date(comment['createdAt'])};}}class AddCommentThreadResponse extends Message{['commentThreadId'];['comments'];['createdAt'];static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'createdAt':{'type':'string','id':0x2},'comments':{'type':'CommentThreadAddedCommentDescriptor','rule':'repeated','id':0x3}}};constructor(commentThreadId,createdAt,comments=[]){super(),this['commentThreadId']=commentThreadId,this['comments']=comments,this['createdAt']=new Date(createdAt);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](comment=>CommentThreadAddedCommentDescriptor['toJSON'](comment))};}static['fromJSON'](data){return new AddCommentThreadResponse(data['commentThreadId'],data['createdAt'],data['comments']['map'](comment=>CommentThreadAddedCommentDescriptor['fromJSON'](comment)));}}class AddCommentThreadMessage extends Message{['documentId'];['commentThreadId'];['comments'];['context'];['resolvedBy'];['attributes'];['createdAt'];['resolvedAt'];['deletedAt'];static ['TYPE']='140';static ['READABLE_TYPE_NAME']='addCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'commentThreadId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'resolvedAt':{'type':'string','id':0x5},'resolvedBy':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x9}}};constructor(documentId,commentThreadId,comments=[],context,_0xcda895=null,createdAt=null,resolvedAt=null,deletedAt=null,attributes=null){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['comments']=comments,this['context']=context,this['resolvedBy']=_0xcda895,this['attributes']=attributes,this['createdAt']=createdAt?new Date(createdAt):'',this['resolvedAt']=resolvedAt?new Date(resolvedAt):'',this['deletedAt']=deletedAt?new Date(deletedAt):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']instanceof Date?this['resolvedAt']['toISOString']():this['resolvedAt'],'deletedAt':this['deletedAt']instanceof Date?this['deletedAt']['toISOString']():this['deletedAt'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'comments':this['comments']?.['map'](_0x347899=>CommentDescriptor['toJSON'](_0x347899))};}static['fromJSON'](object){return new AddCommentThreadMessage(object['documentId'],object['commentThreadId'],object['comments']?.['map'](_0x40d528=>CommentDescriptor['fromJSON']({..._0x40d528,'documentId':object['documentId'],'commentThreadId':object['commentThreadId']})),object['context']?JSON['parse'](object['context']):object['context'],object['resolvedBy'],object['createdAt']?new Date(object['createdAt']):void 0x0,object['resolvedAt']?new Date(object['resolvedAt']):void 0x0,object['deletedAt']?new Date(object['deletedAt']):void 0x0,object['attributes']?JSON['parse'](object['attributes']):object['attributes']);}}class ResolveCommentThreadMessage extends Message{['commentThreadId'];['documentId'];['resolvedBy'];['resolvedAt'];static ['TYPE']='142';static ['READABLE_TYPE_NAME']='resolveCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedBy':{'type':'string','id':0x3},'resolvedAt':{'type':'string','id':0x4}}};constructor(commentThreadId,documentId,_0x54e4b2,resolvedAt){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['resolvedBy']=_0x54e4b2,this['resolvedAt']=resolvedAt?new Date(resolvedAt):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](object){return new ResolveCommentThreadMessage(object['commentThreadId'],object['documentId'],object['resolvedBy'],object['resolvedAt']);}}class ReopenCommentThreadMessage extends Message{['commentThreadId'];['documentId'];static ['TYPE']='141';static ['READABLE_TYPE_NAME']='reopenCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ReopenCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(commentThreadId,documentId){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](object){return new ReopenCommentThreadMessage(object['commentThreadId'],object['documentId']);}}class UpdateCommentThreadMessage extends Message{['commentThreadId'];['documentId'];['context'];['attributes'];['unlinkedAt'];static ['TYPE']='143';static ['READABLE_TYPE_NAME']='updateCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'attributes':{'type':'string','id':0x4},'unlinkedAt':{'type':'string','id':0x5}}};constructor(commentThreadId,documentId,context,attributes=null,unlinkedAt=null){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['context']=context,this['attributes']=attributes,this['unlinkedAt']=unlinkedAt?new Date(unlinkedAt):'';}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'unlinkedAt':this['unlinkedAt']instanceof Date?this['unlinkedAt']['toISOString']():this['unlinkedAt']};}static['fromJSON'](object){return new UpdateCommentThreadMessage(object['commentThreadId'],object['documentId'],object['context']?JSON['parse'](object['context']):object['context'],object['attributes']?JSON['parse'](object['attributes']):null,object['unlinkedAt']?new Date(object['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends Message{['commentThreadId'];['documentId'];['resolvedBy'];['resolvedAt'];static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4}}};constructor(commentThreadId,documentId,_0xfe302d,resolvedAt){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['resolvedBy']=_0xfe302d,this['resolvedAt']=new Date(resolvedAt);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](data){return new ResolveCommentThreadResponse(data['commentThreadId'],data['documentId'],data['resolvedBy'],data['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
67
- EmitterMixin(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_documentId){super(),this['_documentId']=_documentId;}get['isConnected'](){return this['_isConnected'];}async['connect'](wsGateway){if(this['_isConnected'])return;if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const connectMessage=new ConnectMessage(this['_documentId']);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x8f2ec0=await wsGateway['_sendRequest'](0x9,ConnectMessage['TYPE'],MessagesCompressor['encode'](connectMessage)),{channel:_0x586754,threads:threads}=MessagesCompressor['decode'](_0x8f2ec0,ConnectResponse);return this['listenTo'](wsGateway,'change:state',(_0x4ef26b,_0x14331a,_0x93c64)=>this['_onWsGatewayStateChange'](_0x93c64),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,_0x586754),this['_isConnected']=!0x0,this['fire']('connected'),threads;}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['addComment'](commentThreadId,commentId,content,attributes){const _0x59448d=new AddCommentMessage(this['_documentId'],commentThreadId,content,commentId,void 0x0,void 0x0,attributes),_0x5b9f8b=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x59448d);return MessagesCompressor['decode'](_0x5b9f8b,AddCommentResponse);}async['updateComment'](commentThreadId,commentId,content,attributes){const isAttributesUpdated=void 0x0!==attributes,_0x3c56f5=new UpdateCommentMessage(this['_documentId'],commentThreadId,commentId,content,attributes,isAttributesUpdated);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x3c56f5);}async['removeComment'](commentThreadId,commentId){const _0x1ef67=new RemoveCommentMessage(this['_documentId'],commentThreadId,commentId);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x1ef67);}async['removeCommentThread'](commentThreadId){const _0x12a985=new RemoveCommentThreadMessage(this['_documentId'],commentThreadId);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x12a985);}async['addCommentThread'](addCommentThreadParams){const _0x11acca=new AddCommentThreadMessage(this['_documentId'],addCommentThreadParams['commentThreadId'],addCommentThreadParams['comments']?.['map'](comment=>({...comment,'documentId':this['_documentId'],'commentThreadId':addCommentThreadParams['commentThreadId']})),addCommentThreadParams['context'],addCommentThreadParams['resolvedBy'],addCommentThreadParams['createdAt'],addCommentThreadParams['resolvedAt'],addCommentThreadParams['deletedAt'],addCommentThreadParams['attributes']),_0x17d6d0=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x11acca);return MessagesCompressor['decode'](_0x17d6d0,AddCommentThreadResponse);}async['resolveCommentThread'](commentThreadId){const _0x20434c=new ResolveCommentThreadMessage(commentThreadId,this['_documentId']),_0x44d05e=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x20434c);return MessagesCompressor['decode'](_0x44d05e,ResolveCommentThreadResponse);}async['reopenCommentThread'](commentThreadId){const _0x44887d=new ReopenCommentThreadMessage(commentThreadId,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x44887d);}async['updateCommentThread'](_0x3fe95a){const _0x19ee11=new UpdateCommentThreadMessage(_0x3fe95a['commentThreadId'],this['_documentId'],_0x3fe95a['context'],_0x3fe95a['attributes'],_0x3fe95a['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x19ee11);}async['getCommentThread'](commentThreadId,attempt=0x1){const _0x542d73=new GetCommentThreadMessage(commentThreadId,this['_documentId']);try{const _0x3ce19e=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x542d73),commentThreadResponse=MessagesCompressor['decode'](_0x3ce19e,GetCommentThreadResponse);return{'commentThreadId':commentThreadResponse['commentThreadId'],'comments':commentThreadResponse['comments'],'attributes':commentThreadResponse['attributes'],'context':commentThreadResponse['context'],'resolvedAt':commentThreadResponse['resolvedAt'],'resolvedBy':commentThreadResponse['resolvedBy'],'deletedAt':commentThreadResponse['deletedAt'],'unlinkedAt':commentThreadResponse['unlinkedAt']};}catch(_0x20d915){if('CKEditorCloudServicesServerError'===_0x20d915['name']&&'404'===_0x20d915['code']&&attempt<0x5)return await(time=0x64*attempt,new Promise(_0x504250=>{setTimeout(_0x504250,time);})),this['getCommentThread'](commentThreadId,attempt+0x1);if('CKEditorCloudServicesServerError'===_0x20d915['name'])throw _0x20d915;throw CKEditorCloudServicesServerError['fromPublicError'](_0x20d915);}var time;}async['getDocumentThreads'](){const _0x3544cc=new GetDocumentThreadsMessage(this['_documentId']),_0x5e20ad=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x3544cc),{threads:threads}=MessagesCompressor['decode'](_0x5e20ad,GetDocumentThreadsResponse);return{'threads':threads};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']??=await Sessions['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}['_connectToChannel'](wsGateway,_0x3d1b19){this['_channel']=wsGateway['_getChannel'](CommentsService['_SERVICE'],_0x3d1b19),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(event,data)=>{const addCommentMessage=MessagesCompressor['decode'](data,AddCommentMessage);this['fire']('commentAdded',addCommentMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(event,data)=>{const removeCommentMessage=MessagesCompressor['decode'](data,RemoveCommentMessage);this['fire']('commentRemoved',removeCommentMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(event,data)=>{const updateCommentMessage=MessagesCompressor['decode'](data,UpdateCommentMessage);this['fire']('commentUpdated',updateCommentMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(event,data)=>{const removeCommentThreadMessage=MessagesCompressor['decode'](data,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',removeCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(event,data)=>{const addCommentThreadMessage=MessagesCompressor['decode'](data,AddCommentThreadMessage);this['fire']('commentThreadAdded',addCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(event,data)=>{const updateCommentThreadMessage=MessagesCompressor['decode'](data,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',updateCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(event,data)=>{const resolveCommentThreadMessage=MessagesCompressor['decode'](data,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',resolveCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(event,data)=>{const reopenCommentThreadMessage=MessagesCompressor['decode'](data,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',reopenCommentThreadMessage);}));}['_onWsGatewayStateChange'](_0x104058){_0x104058===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](method,_0x4b93f4){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,method,MessagesCompressor['encode'](_0x4b93f4));}}export{CKEditorCloudServicesError,CollaborativeEditingService,CommentsService,EditorService,RevisionHistoryService,TrackChangesService,User,WEB_SOCKET_GATEWAY_STATES,WebSocketGateway};
57
+ ((()=>priorities['get']('highest')+0xf423f)());constructor(_0x4ad70e,token,options,connectionProvider,userFactory){if(super(),this['_token']=token,this['_options']=options??{},this['_connectionProvider']=connectionProvider??io,this['_userFactory']=userFactory??User['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x4ad70e)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=_0x134184(_0x4ad70e['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(event,_0x111685,_0x5b3123)=>{if(this['_debugEvent']('ws-gw:change:state',_0x5b3123),_0x5b3123!==WebSocketGateway['STATE_CONNECTED']){if(_0x5b3123===WebSocketGateway['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](User,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(event,_0x28b185)=>{this['_options']['onError']?this['_options']['onError'](_0x28b185):console['error'](_0x28b185);});}get['sessionId'](){return this['socketId'];}waitForAllRequests(time){return this['_requestsManager']['waitForAllRequests'](time);}disconnect(){this['state']!==WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']);}async reconnect(){this['_socket']||this['state']!==WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async connect(token,_0x39af9c='local.cs.dev:443/ws-v2',options={},_0x4ca5b3=io,userFactory=User['get']){const webSocketGateway=new this(_0x39af9c,token,options,_0x4ca5b3,userFactory);return await webSocketGateway['_connect'](),webSocketGateway;}_sendRequest(_0x349c1c,method,_0x258669){if(!_0x349c1c)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x2a3676=new ArrayBuffer(_0x258669['length']+0x2),_0x3aa8e0=new Uint8Array(_0x2a3676);return _0x3aa8e0[0x0]=_0x349c1c,_0x3aa8e0[0x1]=parseInt(method),_0x3aa8e0['set'](_0x258669,0x2),this['_emit'](0x1,_0x3aa8e0);}_getChannel(_0x41a925,_0x414b34){const _0x52a99d=''+_0x41a925+_0x414b34;return!this['_channels']['has'](_0x52a99d)&&this['_socket']&&this['_channels']['set'](_0x52a99d,new Channel(_0x52a99d,this,this['_socket'])),this['_channels']['get'](_0x52a99d);}_connect(){return new Promise((_0x49510c,reject)=>{const socket=this['_setupSocket']();!this['socketId']&&socket['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](reject);}),socket['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x49510c();}catch(_0x33f65e){reject(_0x33f65e);}}),socket['connect']();});}_getPortByProtocol(protocol){return['http:','ws:']['includes'](protocol)?0x50:0x1bb;}_setupSocket(){if(this['_socket'])return this['_socket'];const port=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x29212d=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+port,pathPrefix=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',socket=this['_connectionProvider'](_0x29212d,{'parser':{'Encoder':Encoder,'Decoder':Decoder},'path':pathPrefix+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'54.2.6'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTING'],socket['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=socket['id'];}),socket['on']('connect_error',_0x32e77f=>{this['_debugEvent']('connect_error',_0x32e77f);}),socket['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),socket['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),socket['io']['on']('reconnect_attempt',attempt=>{this['_debugEvent']('reconnect_attempt',attempt),this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTING'],this['_connectionAttempt']=attempt;}),socket['on']('unauthorized',data=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](data);}),socket['on']('authenticationRequest',async data=>{this['_debugEvent']('authenticationRequest',data['attempt']),await this['_onReconnect']();}),this['_socket']=socket,socket;}_emit(eventName,_0x452e9a){const socket=this['_socket'];return this['_requestsManager']['send'](_0x1ddcac=>{socket['emit'](eventName,_0x452e9a,(_0x2e1728,_0x5e3f1a)=>{if(_0x2e1728)return _0x1ddcac['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x2e1728));_0x1ddcac['response'](_0x5e3f1a);});},this['_options']['requestTimeout']);}_addAuthData(environmentId,_0x59679f){this['_socketAuth']={'environmentId':environmentId,'userId':_0x59679f,'isAuthenticated':!0x0};}_removeAuthData(){this['_socketAuth']=void 0x0;}async _onConnect(){await this['_authenticate'](this['_token']['value']),this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTED'];const _0x2497c5=async(event,_0x5cc837,_0x4a68b3)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x4a68b3);}catch{}};this['_token']['on']('change:value',_0x2497c5),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x2497c5);});}async _onReconnect(){await this['_token']['refreshToken'](),await this['_onConnect']();}_onDisconnect(){this['state']=WEB_SOCKET_GATEWAY_STATES['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x4ac04f of this['_channels']['values']())_0x4ac04f['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}_debugEvent(eventName,eventData){if(!this['_isDebugModeEnabled']())return;const eventDataString=void 0x0!==eventData?',\x20data:\x20'+eventData:'';console['info'](new Date()['toLocaleString']()+'\x20'+eventName+eventDataString);}_reconnectionAttemptError(_0xf64d81){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0xf64d81(CKEditorCloudServicesError['fromPublicError']({'message':'The\x20number\x20of\x20initial\x20connection\x20attempts\x20exceeded.','explanation':'Three\x20initial\x20connection\x20attempts\x20failed.\x20It\x20can\x20be\x20caused\x20by\x20a\x20slow,\x20unstable,\x20missing\x20or\x20blocked\x20Internet\x20connection.','action':'Please\x20verify\x20the\x20stability\x20of\x20your\x20Internet\x20connection\x20and\x20ensure\x20that\x20no\x20antivirus\x20or\x20firewall\x20software\x20blocks\x20the\x20Web\x20Socket\x20protocol\x20connections.'})));}_onUnauthorized({error:_0x3fa2eb}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x3fa2eb));}async _authenticate(token){try{this['_debugEvent']('authenticate:start');const _0x3269e2=await this['_emit'](0x2,{'token':token});this['_debugEvent']('authenticate:success','envId:\x20'+_0x3269e2['environmentId']+',\x20userId:\x20'+_0x3269e2['userId']),this['_addAuthData'](_0x3269e2['environmentId'],_0x3269e2['userId']);}catch(_0x2493c4){throw this['_debugEvent']('authenticate:error',_0x2493c4['message']),this['_removeAuthData'](),_0x2493c4;}}['_isDebugModeEnabled'](){if(!global['window']['localStorage'])return!0x1;return'true'===(global['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}}class IsEditorBundleUploadedMessage extends Message{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x2f63de){super(),this['bundleVersion']=_0x2f63de;}toJSON(){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](object){return new IsEditorBundleUploadedMessage(object['bundleVersion']);}}class IsEditorBundleUploadedResponse extends Message{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x71bfd4){super(),this['isUploaded']=_0x71bfd4;}toJSON(){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x51988a){return new IsEditorBundleUploadedResponse(_0x51988a['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
58
+ EmitterMixin(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](wsGateway,_0x57741e){const _0x24fbbf=new IsEditorBundleUploadedMessage(_0x57741e);if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const _0x151725=await wsGateway['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],MessagesCompressor['encode'](_0x24fbbf));return MessagesCompressor['decode'](_0x151725,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends Message{documentId;['revisionId'];static ['TYPE']='123';static ['READABLE_TYPE_NAME']='getRevision';static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'revisionId':{'type':'string','id':0x2}}};constructor(documentId,_0xfb2e12){super(),this['documentId']=documentId,this['revisionId']=_0xfb2e12;}toJSON(){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](object){return new RevisionHistoryGetRevisionMessage(object['documentId'],object['revisionId']);}}class RevisionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
59
+ ((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static create(object){return{'revisionId':object['id'],'name':object['name'],'creatorId':object['creatorId'],'createdAt':object['createdAt'],'fromVersion':object['fromVersion'],'toVersion':object['toVersion'],'isEmptyCurrent':object['isEmptyCurrent'],'diffData':object['diffData']?JSON['stringify'](object['diffData']):void 0x0,'attributes':object['attributes'],'authorsIds':object['authorsIds']};}static toJSON(_0x5ec3b2){return{'revisionId':_0x5ec3b2['revisionId'],'name':_0x5ec3b2['name'],'creatorId':_0x5ec3b2['creatorId'],'authorsIds':_0x5ec3b2['authorsIds']?JSON['stringify'](_0x5ec3b2['authorsIds']):void 0x0,'diffData':_0x5ec3b2['diffData'],'createdAt':_0x5ec3b2['createdAt']?.['toISOString'](),'attributes':_0x5ec3b2['attributes']?JSON['stringify'](_0x5ec3b2['attributes']):void 0x0,'toVersion':_0x5ec3b2['toVersion'],'fromVersion':_0x5ec3b2['fromVersion'],'isEmptyCurrent':_0x5ec3b2['isEmptyCurrent']};}static['fromJSON'](_0x3120be){return{'revisionId':(_0x3120be={..._0x3120be})['revisionId'],'name':_0x3120be['name'],'creatorId':_0x3120be['creatorId'],'authorsIds':_0x3120be['authorsIds']?JSON['parse'](_0x3120be['authorsIds']):void 0x0,'diffData':_0x3120be['diffData'],'createdAt':_0x3120be['createdAt']?new Date(_0x3120be['createdAt']):void 0x0,'attributes':_0x3120be['attributes']?JSON['parse'](_0x3120be['attributes']):void 0x0,'toVersion':_0x3120be['toVersion'],'fromVersion':_0x3120be['fromVersion'],'isEmptyCurrent':_0x3120be['isEmptyCurrent']};}static toObject(_0x45ee9f){return function(revisionObject){for(const [_0x38a51d,_0x4bc404]of Object['entries'](revisionObject))void 0x0===_0x4bc404&&delete revisionObject[_0x38a51d];return revisionObject;}({'id':_0x45ee9f['revisionId'],'name':_0x45ee9f['name'],'creatorId':_0x45ee9f['creatorId'],'createdAt':_0x45ee9f['createdAt'],'fromVersion':_0x45ee9f['fromVersion'],'toVersion':_0x45ee9f['toVersion'],'isEmptyCurrent':_0x45ee9f['isEmptyCurrent'],'diffData':_0x45ee9f['diffData']?JSON['parse'](_0x45ee9f['diffData']):void 0x0,'attributes':_0x45ee9f['attributes'],'authorsIds':_0x45ee9f['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends Message{['revisionId'];['name'];creatorId;authorsIds;createdAt;diffData;attributes;['fromVersion'];toVersion;isEmptyCurrent;static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
60
+ ((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x435f64,_0x4087e2,creatorId,authorsIds,createdAt,diffData,attributes,_0x17b4d0,toVersion,isEmptyCurrent){super(),this['revisionId']=_0x435f64,this['name']=_0x4087e2,this['creatorId']=creatorId,this['authorsIds']=authorsIds,this['createdAt']=createdAt,this['diffData']=diffData,this['attributes']=attributes,this['fromVersion']=_0x17b4d0,this['toVersion']=toVersion,this['isEmptyCurrent']=isEmptyCurrent;}toJSON(){return RevisionDescriptor['toJSON'](this);}toObject(){return RevisionDescriptor['toObject'](this);}static create(_0x734dd4){return new RevisionHistoryGetRevisionResponse(_0x734dd4['revisionId'],_0x734dd4['name'],_0x734dd4['creatorId'],_0x734dd4['authorsIds'],_0x734dd4['createdAt'],_0x734dd4['diffData'],_0x734dd4['attributes'],_0x734dd4['fromVersion'],_0x734dd4['toVersion'],_0x734dd4['isEmptyCurrent']);}static['fromJSON'](_0xe987){return new RevisionHistoryGetRevisionResponse(_0xe987['revisionId'],_0xe987['name'],_0xe987['creatorId'],_0xe987['authorsIds']?JSON['parse'](_0xe987['authorsIds']):void 0x0,_0xe987['createdAt']?new Date(_0xe987['createdAt']):void 0x0,_0xe987['diffData'],_0xe987['attributes']?JSON['parse'](_0xe987['attributes']):void 0x0,_0xe987['fromVersion'],_0xe987['toVersion'],_0xe987['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends Message{documentId;requestId;['revisions'];static ['TYPE']='124';static ['READABLE_TYPE_NAME']='updateRevisions';static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}};constructor(documentId,requestId,_0x26a431){super(),this['documentId']=documentId,this['requestId']=requestId,this['revisions']=_0x26a431;}toJSON(){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}toObject(){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static create(_0x4c9563){return new RevisionHistoryUpdateRevisionsMessage(_0x4c9563['documentId'],_0x4c9563['requestId'],_0x4c9563['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x46b9b8){return new RevisionHistoryUpdateRevisionsMessage(_0x46b9b8['documentId'],_0x46b9b8['requestId'],_0x46b9b8['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends Message{requestId;static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(requestId){super(),this['requestId']=requestId;}toJSON(){return{'requestId':this['requestId']};}static['fromJSON'](_0x57ea25){return new RevisionHistoryUpdateRevisionsResponse(_0x57ea25['requestId']);}}class RevisionHistoryConnectMessage extends Message{documentId;static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new RevisionHistoryConnectMessage(object['documentId']);}}class RevisionHistoryConnectResponse extends Message{['channel'];requestId;['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
61
+ ((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x21f904,requestId,_0x2a20b8){super(),this['channel']=_0x21f904,this['requestId']=requestId,this['revisions']=_0x2a20b8;}toJSON(){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}toObject(){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['fromJSON'](_0x49b983){return new RevisionHistoryConnectResponse(_0x49b983['channel'],_0x49b983['requestId'],_0x49b983['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends Message{documentId;requestId;static ['TYPE']='122';static ['READABLE_TYPE_NAME']='reconnectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryReconnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2}}};constructor(documentId,requestId){super(),this['documentId']=documentId,this['requestId']=requestId;}toJSON(){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](object){return new RevisionHistoryReconnectMessage(object['documentId'],object['requestId']);}}class ChannelDisconnectedMessage extends Message{static ['TYPE']='15';static ['READABLE_TYPE_NAME']='channelDisconnected';static ['DESCRIPTOR_NAME']='ChannelDisconnectedMessage';static ['DESCRIPTOR']={'fields':{}};toJSON(){return{};}static['fromJSON'](){return new ChannelDisconnectedMessage();}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x3e9fe0,context){super(_0x3e9fe0+'\x20Service\x20is\x20not\x20connected.',context);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
62
+ EmitterMixin(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];static ['_SERVICE']=0xc;constructor(_documentId){super(),this['_documentId']=_documentId;}get isConnected(){return this['_isConnected'];}connect(wsGateway){return this['_isConnected']?Promise['resolve']():this['_connect'](wsGateway,new RevisionHistoryConnectMessage(this['_documentId']));}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}reconnect(wsGateway,lastRequestId){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',wsGateway);return this['_connect'](wsGateway,new RevisionHistoryReconnectMessage(this['_documentId'],lastRequestId));}async updateRevisions(_0x59ad20,lastRequestId){const _0x84e73c=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':lastRequestId,'revisions':_0x59ad20}),_0x39b3fa=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x84e73c),{requestId:requestId}=MessagesCompressor['decode'](_0x39b3fa,RevisionHistoryUpdateRevisionsResponse);return requestId;}async getRevision(_0x4080a5){const _0xdee594=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x4080a5),_0x279c7b=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0xdee594);return MessagesCompressor['decode'](_0x279c7b,RevisionHistoryGetRevisionResponse)['toObject']();}async _connect(wsGateway,_0x1868bc){if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x326dd2=await wsGateway['_sendRequest'](0xc,_0x1868bc['constructor']['TYPE'],MessagesCompressor['encode'](_0x1868bc)),{channel:_0x28cb22,requestId:requestId,revisions:_0x109a54}=MessagesCompressor['decode'](_0x326dd2,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](wsGateway,'change:state',(_0x1239fe,_0x23ec8f,state)=>this['_onWsGatewayStateChange'](state),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,_0x28cb22),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x109a54,'requestId':requestId};}_connectToChannel(wsGateway,_0x3680e5){this['_channel']=wsGateway['_getChannel'](RevisionHistoryService['_SERVICE'],_0x3680e5),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(event,data)=>{const {documentId:documentId,requestId:requestId,revisions:_0x168570}=MessagesCompressor['decode'](data,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':documentId,'requestId':requestId,'revisionsData':_0x168570});}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0x1f3c6b){_0x1f3c6b===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}_sendRequest(method,_0x3a448a){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,method,MessagesCompressor['encode'](_0x3a448a));}}class AddSuggestionMessage extends Message{['id'];documentId;type;data;originalSuggestionId;attributes;static ['TYPE']='101';static ['READABLE_TYPE_NAME']='addSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'data':{'type':'string','id':0x4},'originalSuggestionId':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x119571,documentId,type,data={},originalSuggestionId=null,attributes=null){super(),this['id']=_0x119571,this['documentId']=documentId,this['type']=type,this['data']=data,this['originalSuggestionId']=originalSuggestionId,this['attributes']=attributes;}toJSON(){return{'id':this['id'],'documentId':this['documentId'],'type':this['type'],'data':JSON['stringify'](this['data']),'originalSuggestionId':this['originalSuggestionId'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](object){return new AddSuggestionMessage(object['id'],object['documentId'],object['type'],JSON['parse'](object['data']),object['originalSuggestionId']??null,object['attributes']?JSON['parse'](object['attributes']):null);}}class AddSuggestionResponse extends Message{['id'];authorId;type;hasComments;state;data;attributes;createdAt;static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x5e39ef,authorId,type,createdAt,hasComments,state,data={},attributes=null){super(),this['id']=_0x5e39ef,this['authorId']=authorId,this['type']=type,this['hasComments']=hasComments,this['state']=state,this['data']=data,this['attributes']=attributes,this['createdAt']=createdAt?new Date(createdAt):void 0x0;}toJSON(){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']?.['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](data){return new AddSuggestionResponse(data['id'],data['authorId'],data['type'],data['createdAt'],data['hasComments'],data['state'],JSON['parse'](data['data']),data['attributes']?JSON['parse'](data['attributes']):null);}}class GetSuggestionMessage extends Message{['id'];documentId;static ['TYPE']='103';static ['READABLE_TYPE_NAME']='getSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x47629f,documentId){super(),this['id']=_0x47629f,this['documentId']=documentId;}toJSON(){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](object){return new GetSuggestionMessage(object['id'],object['documentId']);}}class GetSuggestionResponse extends Message{['id'];authorId;type;hasComments;state;data;attributes;createdAt;static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x8e6c29,authorId,type,createdAt,hasComments,state,data={},attributes=null){super(),this['id']=_0x8e6c29,this['authorId']=authorId,this['type']=type,this['hasComments']=hasComments,this['state']=state,this['data']=data,this['attributes']=attributes,this['createdAt']=new Date(createdAt);}toJSON(){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](data){return new GetSuggestionResponse(data['id'],data['authorId'],data['type'],data['createdAt'],data['hasComments'],data['state'],JSON['parse'](data['data']),data['attributes']?JSON['parse'](data['attributes']):null);}}class GetAllSuggestionsMessage extends Message{documentId;static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new GetAllSuggestionsMessage(object['documentId']);}}class SuggestionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static toJSON(suggestion){return{...suggestion,'data':suggestion['data']?JSON['stringify'](suggestion['data']):suggestion['data'],'attributes':suggestion['attributes']?JSON['stringify'](suggestion['attributes']):suggestion['attributes'],'createdAt':suggestion['createdAt']?.['toISOString']()};}static['fromJSON'](suggestion){return{...suggestion,'data':suggestion['data']?JSON['parse'](suggestion['data']):suggestion['data'],'attributes':suggestion['attributes']?JSON['parse'](suggestion['attributes']):suggestion['attributes'],'createdAt':suggestion['createdAt']?new Date(suggestion['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends Message{_suggestions;_suggestionsV2;suggestions;static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionsResponse';static ['DESCRIPTOR']={'fields':{'suggestions':{'type':'string','rule':'repeated','id':0x1},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x2}}};constructor(_suggestions,_suggestionsV2){super(),this['_suggestions']=_suggestions,this['_suggestionsV2']=_suggestionsV2,this['suggestions']=_suggestionsV2?.['length']?_suggestionsV2:_suggestions;}toJSON(){return{'suggestions':this['_suggestions']?.['map'](suggestion=>JSON['stringify'](suggestion)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](data){return new GetAllSuggestionResponse(data['suggestions']?.['map'](_suggestionFromString),data['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(suggestion){const parsedSuggestion=JSON['parse'](suggestion);return parsedSuggestion['createdAt']=parsedSuggestion['createdAt']?new Date(parsedSuggestion['createdAt']):void 0x0,parsedSuggestion;}class UpdateSuggestionMessage extends Message{['id'];documentId;hasComments;isHasCommentsModified;state;attributes;static ['TYPE']='104';static ['READABLE_TYPE_NAME']='updateSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesUpdateSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'hasComments':{'type':'bool','id':0x3},'isHasCommentsModified':{'type':'bool','id':0x4},'state':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x40ccd8,documentId,hasComments,isHasCommentsModified,state,attributes=null){super(),this['id']=_0x40ccd8,this['documentId']=documentId,this['hasComments']=hasComments,this['isHasCommentsModified']=isHasCommentsModified,this['state']=state,this['attributes']=attributes;}toJSON(){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](object){return new UpdateSuggestionMessage(object['id'],object['documentId'],object['hasComments'],object['isHasCommentsModified'],object['state'],object['attributes']?JSON['parse'](object['attributes']):null);}}let ConnectMessage$1=class ConnectMessage extends Message{documentId;static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new ConnectMessage(object['documentId']);}},ConnectResponse$1=class ConnectResponse extends Message{['channel'];_suggestions;_suggestionsV2;suggestions;static ['DESCRIPTOR_NAME']='TrackChangesConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'suggestions':{'type':'string','rule':'repeated','id':0x2},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x3}}};constructor(_0x4f6640,_suggestions,_suggestionsV2){super(),this['channel']=_0x4f6640,this['_suggestions']=_suggestions,this['_suggestionsV2']=_suggestionsV2,this['suggestions']=_suggestionsV2?.['length']?_suggestionsV2:_suggestions;}toJSON(){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](suggestion=>JSON['stringify'](suggestion)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](object){return new ConnectResponse(object['channel'],object['suggestions']?.['map'](suggestion=>JSON['parse'](suggestion)),object['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends Message{['ids'];documentId;state;static ['TYPE']='106';static ['READABLE_TYPE_NAME']='batchUpdateSuggestionsState';static ['DESCRIPTOR_NAME']='TrackChangesBatchUpdateSuggestionsStateMessage';static ['DESCRIPTOR']={'fields':{'ids':{'type':'string','rule':'repeated','id':0x1},'documentId':{'type':'string','id':0x2},'state':{'type':'string','id':0x3}}};constructor(_0x2045b8,documentId,state){super(),this['ids']=_0x2045b8,this['documentId']=documentId,this['state']=state;}toJSON(){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](object){return new BatchUpdateSuggestionsStateMessage(object['ids'],object['documentId'],object['state']);}}class TrackChangesService extends/* #__PURE__ -- @preserve */
63
+ EmitterMixin(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];static ['_SERVICE']=0xa;constructor(_documentId){super(),this['_documentId']=_documentId;}get isConnected(){return this['_isConnected'];}async connect(wsGateway){if(this['_isConnected'])return;if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const connectMessage=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x2451cd=await wsGateway['_sendRequest'](0xa,ConnectMessage$1['TYPE'],MessagesCompressor['encode'](connectMessage)),connectResponse=MessagesCompressor['decode'](_0x2451cd,ConnectResponse$1);return this['listenTo'](wsGateway,'change:state',(_0x961221,_0x3d7f98,_0xd6ea6)=>this['_onWsGatewayStateChange'](_0xd6ea6),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,connectResponse['channel']),this['_isConnected']=!0x0,this['fire']('connected'),connectResponse['suggestions'];}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['add'](_0x5e25b6,type,data,originalSuggestionId=null,attributes){const _0x3a4812=new AddSuggestionMessage(_0x5e25b6,this['_documentId'],type,data,originalSuggestionId,attributes),_0x2243dc=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x3a4812);return MessagesCompressor['decode'](_0x2243dc,AddSuggestionResponse);}async get(_0x55b0f9,attempt=0x1){const _0x1e58cd=new GetSuggestionMessage(_0x55b0f9,this['_documentId']);try{const _0x3429d8=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x1e58cd);return MessagesCompressor['decode'](_0x3429d8,GetSuggestionResponse);}catch(_0x3475e3){if('CKEditorCloudServicesServerError'===_0x3475e3['name']&&'404'===_0x3475e3['code']&&attempt<0x5)return await(time=0x64*attempt,new Promise(_0x1dceb9=>{setTimeout(_0x1dceb9,time);})),this['get'](_0x55b0f9,attempt+0x1);if('CKEditorCloudServicesServerError'===_0x3475e3['name'])throw _0x3475e3;throw CKEditorCloudServicesServerError['fromPublicError'](_0x3475e3);}var time;}async getAll(){const _0x1b019b=new GetAllSuggestionsMessage(this['_documentId']),_0x4a491c=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x1b019b),{suggestions:suggestions}=MessagesCompressor['decode'](_0x4a491c,GetAllSuggestionResponse);return suggestions;}async update(_0x212e05,_0xd98351={}){const {hasComments:hasComments,state:state,attributes:attributes}=_0xd98351,isHasCommentsUpdated=void 0x0!==hasComments,_0x16931e=new UpdateSuggestionMessage(_0x212e05,this['_documentId'],hasComments,isHasCommentsUpdated,state,attributes);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x16931e);}async batchUpdateState(_0x1e60d7){const _0x87660b=new BatchUpdateSuggestionsStateMessage(_0x1e60d7['ids'],this['_documentId'],_0x1e60d7['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x87660b);}_connectToChannel(wsGateway,_0x3298fd){this['_channel']=wsGateway['_getChannel'](TrackChangesService['_SERVICE'],_0x3298fd),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(event,data)=>{const updateSuggestionMessage=MessagesCompressor['decode'](data,UpdateSuggestionMessage);this['fire']('suggestionUpdated',updateSuggestionMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0x27b731){_0x27b731===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}_sendRequest(method,_0x4f1100){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,method,MessagesCompressor['encode'](_0x4f1100));}}class SessionsConnectResponse extends Message{['channel'];sockets;static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x27f44a,sockets=[]){super(),this['channel']=_0x27f44a,this['sockets']=sockets;}toJSON(){return{'channel':this['channel'],'sockets':this['sockets']['map'](socket=>({'user':socket['userId'],'session':socket['id'],'role':socket['role'],'permissions':socket['permissions']}))};}static['fromJSON'](data){return new SessionsConnectResponse(data['channel'],data['sockets']['map'](socket=>({'id':socket['session'],'userId':socket['user'],'role':socket['role'],'permissions':socket['permissions']})));}}class SessionsConnectMessage extends Message{['id'];['sessionType'];static ['TYPE']='31';static ['READABLE_TYPE_NAME']='getConnectedSockets';static ['DESCRIPTOR_NAME']='SessionsConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'sessionType':{'type':'uint32','id':0x2}}};constructor(_0x38c63c,_0x4a764b){super(),this['id']=_0x38c63c,this['sessionType']=_0x4a764b;}toJSON(){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](data){return new SessionsConnectMessage(data['id'],data['sessionType']);}}class SocketConnectMessage extends Message{['id'];['userId'];['role'];['permissions'];static ['TYPE']='32';static ['READABLE_TYPE_NAME']='connectSocket';static ['DESCRIPTOR_NAME']='SocketConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'userId':{'type':'string','id':0x2},'role':{'type':'string','id':0x3},'permissions':{'rule':'repeated','type':'string','id':0x4}}};constructor(_0x54800d,_0x25c4c9,_0x207ba1,_0x5ab2ab){super(),this['id']=_0x54800d,this['userId']=_0x25c4c9,this['role']=_0x207ba1,this['permissions']=_0x5ab2ab;}toJSON(){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](data){return new SocketConnectMessage(data['id'],data['userId'],data['role'],data['permissions']);}}class SocketDisconnectMessage extends Message{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x1d10bd){super(),this['id']=_0x1d10bd;}toJSON(){return{'id':this['id']};}static['fromJSON'](data){return new SocketDisconnectMessage(data['id']);}}class SessionCollection extends Collection{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];_wsGateway;_connected;_eventsQueue=[];['_isRunning']=!0x1;constructor(_0x50f6d0,_0xb4a177){super({'idProperty':'id'}),this['_id']=_0x50f6d0,this['_sessionType']=_0xb4a177;}async connect(wsGateway){this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x535ed5=new SessionsConnectMessage(this['_id'],this['_sessionType']);let sessionsConnectResponse;try{const _0xde797a=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],MessagesCompressor['encode'](_0x535ed5));sessionsConnectResponse=MessagesCompressor['decode'](_0xde797a,SessionsConnectResponse);}catch{sessionsConnectResponse=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],sessionsConnectResponse['channel'],this['_sessionType']);const _0x1576dc=await async function(wsGateway,_0x2db27e){const _0x5d4087=_0x2db27e['map'](socket=>socket['userId']),_0x5aac48=_0x5d4087['length']?await User['getMany'](wsGateway,_0x5d4087):[];return _0x2db27e['map'](socket=>{const item={'id':socket['id'],'role':socket['role'],'permissions':socket['permissions']};return item['user']=socket['userId']&&_0x5aac48['find'](_0x20cbbe=>_0x20cbbe['id']===socket['userId'])||new User(),item;});}(this['_wsGateway'],sessionsConnectResponse['sockets']);for(const _0x4996d2 of _0x1576dc)super['add'](_0x4996d2);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x424cbe,_0x24a079,_0x383e8f)=>this['_onWsGatewayStateChange'](_0x383e8f),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}disconnect(_0x4b607a=!0x0){if(this['_connected']){for(this['_connected']=!0x1,this['_eventsQueue']=[];this['length'];)super['remove'](0x0);this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_wsGateway']&&_0x4b607a&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x4b607a&&this['stopListening']();}}['add'](_0x58776c,_0x487fa6){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0xc0b463){throw new TypeError('The\x20collection\x20is\x20read-only.');}_connectToChannel(wsGateway,_0xd3ad32,_0x1bdbd1){this['_channel']=wsGateway['_getChannel'](_0x1bdbd1,_0xd3ad32),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async data=>{const socketConnectMessage=MessagesCompressor['decode'](data,SocketConnectMessage);if(-0x1===this['getIndex'](socketConnectMessage['id'])){const socket={'id':socketConnectMessage['id'],'role':socketConnectMessage['role'],'permissions':socketConnectMessage['permissions']};socketConnectMessage['userId']&&(socket['user']=await User['get'](wsGateway,socketConnectMessage['userId'])),super['add'](socket);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],data=>{const socketDisconnectMessage=MessagesCompressor['decode'](data,SocketDisconnectMessage);-0x1!==this['getIndex'](socketDisconnectMessage['id'])&&super['remove'](socketDisconnectMessage['id']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}async _onWsGatewayStateChange(state){state===WebSocketGateway['STATE_DISCONNECTED']&&this['disconnect'](!0x1),state===WebSocketGateway['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let event;for(this['_isRunning']=!0x0;event=this['_eventsQueue']['shift']();){const _0x7f7f96=this['_handlers']['get'](event['eventName']);_0x7f7f96&&await _0x7f7f96(event['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x57225d,eventType,_0x4c7da6){const eventName=_0x57225d['getEventName'](eventType,!0x0);this['listenTo'](_0x57225d,eventName,async(event,data)=>{const _0x1da473=event['name'];this['_eventsQueue']['push']({'eventName':_0x1da473,'data':data}),await this['_runQueue']();}),this['_handlers']['set'](eventName,_0x4c7da6);}}class Sessions{static async getConnectedSessions(wsGateway,_0x18567d,_0x590f25){const sessionCollection=new SessionCollection(_0x18567d,_0x590f25);return await sessionCollection['connect'](wsGateway),sessionCollection;}}class CollaborativeEditingConnectMessage extends Message{['id'];['buffers'];types;['bundleVersion'];lastOperationId;static ['TYPE']='11';static ['READABLE_TYPE_NAME']='connectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'lastOperationId':{'type':'string','id':0x5}}};constructor(_0x1af7ab,_0x32e1f5,types,_0x57a09c,lastOperationId=''){super(),this['id']=_0x1af7ab,this['buffers']=_0x32e1f5,this['types']=types,this['bundleVersion']=_0x57a09c,this['lastOperationId']=lastOperationId;}toJSON(){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](data){return new CollaborativeEditingConnectMessage(data['id'],data['buffers'],data['types'],data['bundleVersion'],data['lastOperationId']);}}class OperationMetadataHelpers{static prepareMetadataForOperations(types,metadata){if(!types?.['length']||!metadata?.['length'])return[];const result=[];let _0xc0ef65=0x0;for(const type of types)if(0x0!==type){if(!metadata[_0xc0ef65])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');result['push'](metadata[_0xc0ef65]),_0xc0ef65++;}else result['push'](result[result['length']-0x1]);return result;}static removeUnnecessaryMetadata(types,metadata){if(!types?.['length']||!metadata?.['length'])return[];const result=[];for(let _0x1bb9c1=0x0;_0x1bb9c1<types['length'];_0x1bb9c1++)if(0x0!==types[_0x1bb9c1]){if(!metadata[_0x1bb9c1])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');result['push'](metadata[_0x1bb9c1]);}return result;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
64
+ ((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static toJSON({createdAt:createdAt,...metadata}){const parsedMetadata={...metadata};return createdAt?.['toISOString']&&(parsedMetadata['createdAt']=createdAt['toISOString']()),parsedMetadata;}static['fromJSON']({createdAt:createdAt,...metadata}){const parsedMetadata={...metadata};return createdAt&&(parsedMetadata['createdAt']=new Date(createdAt)),parsedMetadata;}}class CollaborativeEditingUpdateMessage extends Message{['id'];['buffers'];types;['baseVersion'];metadata;lastOperationId;static ['TYPE']='13';static ['READABLE_TYPE_NAME']='updateDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingUpdateMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'baseVersion':{'type':'uint32','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x6},'lastOperationId':{'type':'string','id':0x7}}};constructor(_0x32535a,_0x1e82f1,types,_0x3392c2,metadata=[],lastOperationId=''){super(),this['id']=_0x32535a,this['buffers']=_0x1e82f1,this['types']=types,this['baseVersion']=_0x3392c2,this['metadata']=metadata,this['lastOperationId']=lastOperationId;}get data(){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'lastOperationId':this['lastOperationId']};}toJSON(){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](data){return new CollaborativeEditingUpdateMessage(data['id'],data['buffers'],data['types'],data['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](data['types'],data['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),data['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends Message{['id'];lastKnowVersion;['bundleVersion'];static ['TYPE']='12';static ['READABLE_TYPE_NAME']='reconnectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingReconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'lastKnowVersion':{'type':'uint32','id':0x3}}};constructor(_0x129664,lastKnowVersion,_0x57f5a3){super(),this['id']=_0x129664,this['lastKnowVersion']=lastKnowVersion,this['bundleVersion']=_0x57f5a3;}toJSON(){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](data){return new CollaborativeEditingReconnectMessage(data['id'],data['lastKnowVersion'],data['bundleVersion']);}}class CollaborativeEditingResponse extends Message{['version'];['buffers'];types;metadata;lastOperationId;lastOperationAcceptedAt;static ['DESCRIPTOR_NAME']='CollaborativeEditingResponse';static ['DESCRIPTOR']={'fields':{'version':{'type':'uint32','id':0x1},'buffers':{'rule':'repeated','type':'bytes','id':0x2},'types':{'rule':'repeated','type':'uint32','id':0x3},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x5},'lastOperationId':{'type':'string','id':0x6},'lastOperationAcceptedAt':{'type':'string','id':0x7}}};constructor(_0x2f7d67,_0xb35c47=[],types=[],metadata=[],lastOperationId='',lastOperationAcceptedAt=null){super(),this['version']=_0x2f7d67,this['buffers']=_0xb35c47,this['types']=types,this['metadata']=metadata,this['lastOperationId']=lastOperationId,this['lastOperationAcceptedAt']=lastOperationAcceptedAt;}get data(){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']};}get['wereChangesApplied'](){return!this['types']?.['length'];}toJSON(){return{'version':this['version'],'buffers':this['buffers'],'types':this['types'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](data){return new CollaborativeEditingResponse(data['version'],data['buffers'],data['types'],OperationMetadataHelpers['prepareMetadataForOperations'](data['types'],data['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),data['lastOperationId'],data['lastOperationAcceptedAt']?new Date(data['lastOperationAcceptedAt']):null);}static create(data){return new CollaborativeEditingResponse(data['version'],data['buffers'],data['types'],data['metadata'],data['lastOperationId'],data['lastOperationAcceptedAt']?new Date(data['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends Message{['channel'];['version'];['buffers'];types;offset;metadata;initData;['sessionId'];lastOperationId;sessionCreatedAt;static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
65
+ ((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':OperationMetadataDescriptor['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(_0x5620c1,_0x5d7e03,_0x2251ef=[],types=[],offset=0x0,metadata=[],initData=null,_0x24f1a9='',lastOperationId='',sessionCreatedAt=null){super(),this['channel']=_0x5620c1,this['version']=_0x5d7e03,this['buffers']=_0x2251ef,this['types']=types,this['offset']=offset,this['metadata']=metadata,this['initData']=initData,this['sessionId']=_0x24f1a9,this['lastOperationId']=lastOperationId,this['sessionCreatedAt']=sessionCreatedAt;}get data(){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']};}get['wereChangesApplied'](){return!this['types']?.['length']&&null===this['initData'];}toJSON(){return{'channel':this['channel'],'version':this['version'],'sessionId':this['sessionId'],'buffers':this['buffers'],'types':this['types'],'offset':this['offset'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static create(_0x30855d){return new CollaborativeEditingConnectResponse(_0x30855d['channel'],_0x30855d['version'],_0x30855d['buffers'],_0x30855d['types'],_0x30855d['offset'],_0x30855d['metadata'],_0x30855d['initData'],_0x30855d['sessionId'],_0x30855d['lastOperationId'],_0x30855d['sessionCreatedAt']);}static['fromJSON'](data){let initData=null;return!0x0===data['isInitialized']?initData=data['initData']??'':'boolean'!=typeof data['isInitialized']&&data['initData']&&(initData=data['initData']),CollaborativeEditingConnectResponse['create']({'channel':data['channel'],'version':data['version'],'buffers':data['buffers'],'types':data['types'],'offset':data['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](data['types'],data['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':initData,'sessionId':data['sessionId'],'lastOperationId':data['lastOperationId'],'sessionCreatedAt':data['sessionCreatedAt']?new Date(data['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends Message{lastDocumentSession;currentDocumentSession;static ['DESCRIPTOR_NAME']='GetDocumentDetailsResponse';static ['DESCRIPTOR']={'fields':{'lastDocumentSessionId':{'type':'string','id':0x1},'lastDocumentSessionOperationId':{'type':'string','id':0x2},'currentDocumentSessionId':{'type':'string','id':0x3},'currentDocumentSessionVersion':{'type':'uint32','id':0x4},'currentDocumentSessionOperationId':{'type':'string','id':0x5}}};constructor(lastDocumentSession,currentDocumentSession){super(),this['lastDocumentSession']=lastDocumentSession,this['currentDocumentSession']=currentDocumentSession;}get data(){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}toJSON(){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}static['fromJSON'](data){const lastDocumentSession=data['lastDocumentSessionId']?{'id':data['lastDocumentSessionId'],'lastOperationId':data['lastDocumentSessionOperationId']}:void 0x0,currentDocumentSession=data['currentDocumentSessionId']?{'lastOperationId':data['currentDocumentSessionOperationId'],'version':data['currentDocumentSessionVersion'],'id':data['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(lastDocumentSession,currentDocumentSession);}}class GetDocumentDetailsMessage extends Message{documentId;static ['TYPE']='14';static ['READABLE_TYPE_NAME']='getDocumentDetails';static ['DESCRIPTOR_NAME']='GetDocumentDetailsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'environmentId':{'type':'string','id':0x2}}};constructor(documentId){super(),this['documentId']=documentId;}get data(){return{'documentId':this['documentId']};}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](data){return new GetDocumentDetailsMessage(data['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
66
+ EmitterMixin(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];_isConnected;_wsGateway;['_channel'];_connectedSessions;constructor(_0x30fa4e,_0x577180){if(super(),!_0x30fa4e)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x577180??v4(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x30fa4e;}getId(){return this['_id'];}isConnected(){return this['_isConnected'];}connect(wsGateway,data={'buffers':[],'types':[]},lastOperationId){const _0x5d0f60=new CollaborativeEditingConnectMessage(this['getId'](),data['buffers'],data['types'],this['_bundleVersion'],lastOperationId);return this['_connect'](wsGateway,_0x5d0f60);}reconnect(wsGateway,lastKnowVersion){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',wsGateway);return this['_connect'](wsGateway,new CollaborativeEditingReconnectMessage(this['getId'](),lastKnowVersion,this['_bundleVersion']));}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async getDocumentDetails(){const _0x8a5fc9=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x384ddd=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],MessagesCompressor['encode'](_0x8a5fc9));return MessagesCompressor['decode'](_0x384ddd,GetDocumentDetailsResponse);}async sendOperations(data,_0x197afa,lastOperationId){if(!data?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x3313c9='number'==typeof _0x197afa?_0x197afa:parseInt(_0x197afa);if(!Number['isInteger'](_0x3313c9)||_0x3313c9<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x3c5193=new CollaborativeEditingUpdateMessage(this['getId'](),data['buffers'],data['types'],_0x3313c9,[],lastOperationId);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x14876b=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],MessagesCompressor['encode'](_0x3c5193));return MessagesCompressor['decode'](_0x14876b,CollaborativeEditingResponse);}async getConnectedSessions(){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await Sessions['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static getConnectedSessions(wsGateway,_0x42cc4b){return Sessions['getConnectedSessions'](wsGateway,_0x42cc4b,0x1);}async _connect(wsGateway,_0x39d0d6){if(this['isConnected']())return;if(wsGateway['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x419647=await wsGateway['_sendRequest'](0x1,_0x39d0d6['constructor']['TYPE'],MessagesCompressor['encode'](_0x39d0d6)),collaborativeEditingConnectResponse=MessagesCompressor['decode'](_0x419647,CollaborativeEditingConnectResponse);return this['listenTo'](wsGateway,'change:state',(_0x367f16,_0x212bba,_0x48f3ba)=>this['_onWsGatewayStateChange'](_0x48f3ba),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,collaborativeEditingConnectResponse['channel']),this['_isConnected']=!0x0,this['fire']('connected'),collaborativeEditingConnectResponse;}_connectToChannel(wsGateway,_0x372b12){this['_channel']=wsGateway['_getChannel'](0x1,_0x372b12),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(event,data)=>{const updateMessage=MessagesCompressor['decode'](data,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',updateMessage['baseVersion'],updateMessage['data'],updateMessage['metadata']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();});}_onWsGatewayStateChange(_0x26a839){_0x26a839===WebSocketGateway['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static toJSON(comment){return{...comment,'createdAt':comment['createdAt']?.['toISOString'](),'attributes':comment['attributes']?JSON['stringify'](comment['attributes']):null};}static['fromJSON'](comment){return{...comment,'createdAt':new Date(comment['createdAt']),'attributes':comment['attributes']?JSON['parse'](comment['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static toJSON(thread){return{...thread,'createdAt':thread['createdAt']?.['toISOString'](),'deletedAt':thread['deletedAt']?.['toISOString'](),'resolvedAt':thread['resolvedAt']?.['toISOString'](),'attributes':thread['attributes']?JSON['stringify'](thread['attributes']):null,'context':thread['context']?JSON['stringify'](thread['context']):thread['context'],'comments':thread['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':thread['unlinkedAt']?.['toISOString']()};}static['fromJSON'](thread){return{...thread,'createdAt':thread['createdAt']?new Date(thread['createdAt']):void 0x0,'deletedAt':thread['deletedAt']?new Date(thread['deletedAt']):void 0x0,'resolvedAt':thread['resolvedAt']?new Date(thread['resolvedAt']):void 0x0,'attributes':thread['attributes']?JSON['parse'](thread['attributes']):null,'context':thread['context']?JSON['parse'](thread['context']):void 0x0,'comments':thread['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':thread['unlinkedAt']?new Date(thread['unlinkedAt']):void 0x0};}}class AddCommentMessage extends Message{documentId;commentThreadId;content;commentId;['userId'];attributes;commentThread;createdAt;static ['TYPE']='91';static ['READABLE_TYPE_NAME']='addComment';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'content':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3},'commentId':{'type':'string','id':0x4},'createdAt':{'type':'string','id':0x5},'userId':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'commentThread':{'type':'CommentsThreadDescriptor','id':0x8}}};constructor(documentId,commentThreadId,content,commentId='',createdAt,_0x5147dd='',attributes=null,commentThread){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['content']=content,this['commentId']=commentId,this['userId']=_0x5147dd,this['attributes']=attributes,this['commentThread']=commentThread,this['createdAt']=createdAt?new Date(createdAt):'';}toJSON(){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](object){return new AddCommentMessage(object['documentId'],object['commentThreadId'],object['content'],object['commentId']?object['commentId']:void 0x0,object['createdAt']?new Date(object['createdAt']):void 0x0,object['userId']?object['userId']:void 0x0,object['attributes']?JSON['parse'](object['attributes']):{},object['commentThread']?CommentsThreadDescriptor['fromJSON'](object['commentThread']):void 0x0);}}class AddCommentResponse extends Message{commentThreadId;commentId;createdAt;static ['DESCRIPTOR_NAME']='CommentsV2AddCommentResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}};constructor(commentThreadId,commentId,createdAt){super(),this['commentThreadId']=commentThreadId,this['commentId']=commentId,this['createdAt']=new Date(createdAt);}toJSON(){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](data){return new AddCommentResponse(data['commentThreadId'],data['commentId'],data['createdAt']);}}class ConnectMessage extends Message{documentId;static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new ConnectMessage(object['documentId']);}}class ConnectResponse extends Message{['channel'];_threads;_threadsV2;threads;static ['DESCRIPTOR_NAME']='CommentsV2ConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'threads':{'type':'string','rule':'repeated','id':0x2},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x3}}};constructor(_0x2f15ed,_threads,_threadsV2){super(),this['channel']=_0x2f15ed,this['_threads']=_threads,this['_threadsV2']=_threadsV2,this['threads']=_threadsV2?.['length']?_threadsV2:_threads;}toJSON(){return{'channel':this['channel'],'threads':this['_threads']?.['map'](thread=>JSON['stringify'](thread)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](object){return new ConnectResponse(object['channel'],object['threads']?.['map'](thread=>JSON['parse'](thread)),object['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends Message{documentId;commentThreadId;commentId;static ['TYPE']='95';static ['READABLE_TYPE_NAME']='removeComment';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3}}};constructor(documentId,commentThreadId,commentId){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['commentId']=commentId;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](object){return new RemoveCommentMessage(object['documentId'],object['commentThreadId'],object['commentId']);}}class RemoveCommentThreadMessage extends Message{documentId;commentThreadId;static ['TYPE']='97';static ['READABLE_TYPE_NAME']='removeCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(documentId,commentThreadId){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](object){return new RemoveCommentThreadMessage(object['documentId'],object['commentThreadId']);}}class UpdateCommentMessage extends Message{documentId;commentThreadId;commentId;content;attributes;isAttributesUpdated;commentThread;static ['TYPE']='96';static ['READABLE_TYPE_NAME']='updateComment';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'content':{'type':'string','id':0x3},'documentId':{'type':'string','id':0x4},'attributes':{'type':'string','id':0x5},'isAttributesUpdated':{'type':'bool','id':0x6},'commentThread':{'type':'CommentsThreadDescriptor','id':0x7}}};constructor(documentId,commentThreadId,commentId,content,attributes=null,isAttributesUpdated=!0x1,commentThread){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['commentId']=commentId,this['content']=content,this['attributes']=attributes,this['isAttributesUpdated']=isAttributesUpdated,this['commentThread']=commentThread;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](object){return new UpdateCommentMessage(object['documentId'],object['commentThreadId'],object['commentId'],object['content'],object['attributes']?JSON['parse'](object['attributes']):null,object['isAttributesUpdated'],object['commentThread']?CommentsThreadDescriptor['fromJSON'](object['commentThread']):void 0x0);}}class GetCommentThreadMessage extends Message{commentThreadId;documentId;static ['TYPE']='93';static ['READABLE_TYPE_NAME']='getComment';static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(commentThreadId,documentId){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId;}toJSON(){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](object){return new GetCommentThreadMessage(object['commentThreadId'],object['documentId']);}}class GetCommentThreadResponse extends Message{commentThreadId;_comments;_commentsV2;['resolvedBy'];comments;createdAt;deletedAt;resolvedAt;attributes;context;unlinkedAt;static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'string','rule':'repeated','id':0x2},'commentsV2':{'type':'CommentDescriptor','rule':'repeated','id':0x3},'resolvedAt':{'type':'string','id':0x4},'resolvedBy':{'type':'string','id':0x5},'context':{'type':'string','id':0x6},'createdAt':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'attributes':{'type':'string','id':0x9},'unlinkedAt':{'type':'string','id':0xa}}};constructor(commentThreadId,_comments,_commentsV2,attributes,_0x43e85e,context,createdAt,deletedAt,resolvedAt,unlinkedAt){super(),this['commentThreadId']=commentThreadId,this['_comments']=_comments,this['_commentsV2']=_commentsV2,this['resolvedBy']=_0x43e85e,this['comments']=_commentsV2?.['length']?_commentsV2:_comments,this['createdAt']=createdAt?new Date(createdAt):void 0x0,this['deletedAt']='string'==typeof deletedAt?new Date(deletedAt):deletedAt,this['resolvedAt']='string'==typeof resolvedAt?new Date(resolvedAt):resolvedAt,this['unlinkedAt']='string'==typeof unlinkedAt?new Date(unlinkedAt):unlinkedAt,this['attributes']='string'==typeof attributes?JSON['parse'](attributes):attributes,this['context']='string'==typeof context?JSON['parse'](context):context;}toJSON(){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](comment=>JSON['stringify'](comment)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](object){return new GetCommentThreadResponse(object['commentThreadId'],object['comments']?.['map'](comment=>function(commentString){const comment=JSON['parse'](commentString);return{...comment,'createdAt':new Date(comment['createdAt'])};}(comment)),object['commentsV2']?.['map'](CommentDescriptor['fromJSON']),object['attributes']?JSON['parse'](object['attributes']):object['attributes'],object['resolvedBy'],object['context']?JSON['parse'](object['context']):object['context'],object['createdAt'],object['deletedAt'],object['resolvedAt'],object['unlinkedAt']);}}class GetDocumentThreadsMessage extends Message{documentId;static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(documentId){super(),this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](object){return new GetDocumentThreadsMessage(object['documentId']);}}class GetDocumentThreadsResponse extends Message{_threads;_threadsV2;threads;static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsResponse';static ['DESCRIPTOR']={'fields':{'threads':{'type':'string','rule':'repeated','id':0x1},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x2}}};constructor(_threads,_threadsV2){super(),this['_threads']=_threads,this['_threadsV2']=_threadsV2,this['threads']=_threadsV2?.['length']?_threadsV2:_threads;}toJSON(){return{'threads':this['_threads']?.['map'](thread=>JSON['stringify'](thread)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](object){return new GetDocumentThreadsResponse(object['threads']?.['map'](thread=>function(threadString){const threadRaw=JSON['parse'](threadString),thread={...threadRaw};return threadRaw['comments']&&(thread['comments']=threadRaw['comments']?.['map'](comment=>({...comment,'createdAt':new Date(comment['createdAt'])}))),thread;}(thread)),object['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static toJSON(comment){return{'commentId':comment['commentId'],'createdAt':comment['createdAt']?.['toISOString']()};}static['fromJSON'](comment){return{'commentId':comment['commentId'],'createdAt':new Date(comment['createdAt'])};}}class AddCommentThreadResponse extends Message{commentThreadId;comments;createdAt;static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'createdAt':{'type':'string','id':0x2},'comments':{'type':'CommentThreadAddedCommentDescriptor','rule':'repeated','id':0x3}}};constructor(commentThreadId,createdAt,comments=[]){super(),this['commentThreadId']=commentThreadId,this['comments']=comments,this['createdAt']=new Date(createdAt);}toJSON(){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](comment=>CommentThreadAddedCommentDescriptor['toJSON'](comment))};}static['fromJSON'](data){return new AddCommentThreadResponse(data['commentThreadId'],data['createdAt'],data['comments']['map'](comment=>CommentThreadAddedCommentDescriptor['fromJSON'](comment)));}}class AddCommentThreadMessage extends Message{documentId;commentThreadId;comments;context;['resolvedBy'];attributes;createdAt;resolvedAt;deletedAt;static ['TYPE']='140';static ['READABLE_TYPE_NAME']='addCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'commentThreadId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'resolvedAt':{'type':'string','id':0x5},'resolvedBy':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x9}}};constructor(documentId,commentThreadId,comments=[],context,_0x79a8e2=null,createdAt=null,resolvedAt=null,deletedAt=null,attributes=null){super(),this['documentId']=documentId,this['commentThreadId']=commentThreadId,this['comments']=comments,this['context']=context,this['resolvedBy']=_0x79a8e2,this['attributes']=attributes,this['createdAt']=createdAt?new Date(createdAt):'',this['resolvedAt']=resolvedAt?new Date(resolvedAt):'',this['deletedAt']=deletedAt?new Date(deletedAt):'';}toJSON(){return{'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']instanceof Date?this['resolvedAt']['toISOString']():this['resolvedAt'],'deletedAt':this['deletedAt']instanceof Date?this['deletedAt']['toISOString']():this['deletedAt'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'comments':this['comments']?.['map'](_0x5d5082=>CommentDescriptor['toJSON'](_0x5d5082))};}static['fromJSON'](object){return new AddCommentThreadMessage(object['documentId'],object['commentThreadId'],object['comments']?.['map'](_0x46dbd6=>CommentDescriptor['fromJSON']({..._0x46dbd6,'documentId':object['documentId'],'commentThreadId':object['commentThreadId']})),object['context']?JSON['parse'](object['context']):object['context'],object['resolvedBy'],object['createdAt']?new Date(object['createdAt']):void 0x0,object['resolvedAt']?new Date(object['resolvedAt']):void 0x0,object['deletedAt']?new Date(object['deletedAt']):void 0x0,object['attributes']?JSON['parse'](object['attributes']):object['attributes']);}}class ResolveCommentThreadMessage extends Message{commentThreadId;documentId;['resolvedBy'];resolvedAt;static ['TYPE']='142';static ['READABLE_TYPE_NAME']='resolveCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedBy':{'type':'string','id':0x3},'resolvedAt':{'type':'string','id':0x4}}};constructor(commentThreadId,documentId,_0x5e1665,resolvedAt){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['resolvedBy']=_0x5e1665,this['resolvedAt']=resolvedAt?new Date(resolvedAt):void 0x0;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](object){return new ResolveCommentThreadMessage(object['commentThreadId'],object['documentId'],object['resolvedBy'],object['resolvedAt']);}}class ReopenCommentThreadMessage extends Message{commentThreadId;documentId;static ['TYPE']='141';static ['READABLE_TYPE_NAME']='reopenCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ReopenCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(commentThreadId,documentId){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](object){return new ReopenCommentThreadMessage(object['commentThreadId'],object['documentId']);}}class UpdateCommentThreadMessage extends Message{commentThreadId;documentId;context;attributes;unlinkedAt;static ['TYPE']='143';static ['READABLE_TYPE_NAME']='updateCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'attributes':{'type':'string','id':0x4},'unlinkedAt':{'type':'string','id':0x5}}};constructor(commentThreadId,documentId,context,attributes=null,unlinkedAt=null){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['context']=context,this['attributes']=attributes,this['unlinkedAt']=unlinkedAt?new Date(unlinkedAt):'';}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'unlinkedAt':this['unlinkedAt']instanceof Date?this['unlinkedAt']['toISOString']():this['unlinkedAt']};}static['fromJSON'](object){return new UpdateCommentThreadMessage(object['commentThreadId'],object['documentId'],object['context']?JSON['parse'](object['context']):object['context'],object['attributes']?JSON['parse'](object['attributes']):null,object['unlinkedAt']?new Date(object['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends Message{commentThreadId;documentId;['resolvedBy'];resolvedAt;static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4}}};constructor(commentThreadId,documentId,_0x46e6e9,resolvedAt){super(),this['commentThreadId']=commentThreadId,this['documentId']=documentId,this['resolvedBy']=_0x46e6e9,this['resolvedAt']=new Date(resolvedAt);}toJSON(){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](data){return new ResolveCommentThreadResponse(data['commentThreadId'],data['documentId'],data['resolvedBy'],data['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
67
+ EmitterMixin(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];_connectedSessions;static ['_SERVICE']=0x9;constructor(_documentId){super(),this['_documentId']=_documentId;}get isConnected(){return this['_isConnected'];}async connect(wsGateway){if(this['_isConnected'])return;if(wsGateway['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',wsGateway);const connectMessage=new ConnectMessage(this['_documentId']);this['_wsGateway']=wsGateway,this['stopListening'](wsGateway,'change:state');const _0x4a1049=await wsGateway['_sendRequest'](0x9,ConnectMessage['TYPE'],MessagesCompressor['encode'](connectMessage)),{channel:_0x1694e2,threads:threads}=MessagesCompressor['decode'](_0x4a1049,ConnectResponse);return this['listenTo'](wsGateway,'change:state',(_0x55d398,_0x56c236,_0x3024f6)=>this['_onWsGatewayStateChange'](_0x3024f6),{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](wsGateway,_0x1694e2),this['_isConnected']=!0x0,this['fire']('connected'),threads;}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async addComment(commentThreadId,commentId,content,attributes){const _0x1edbac=new AddCommentMessage(this['_documentId'],commentThreadId,content,commentId,void 0x0,void 0x0,attributes),_0x3af44a=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x1edbac);return MessagesCompressor['decode'](_0x3af44a,AddCommentResponse);}async updateComment(commentThreadId,commentId,content,attributes){const isAttributesUpdated=void 0x0!==attributes,_0xf0d5dc=new UpdateCommentMessage(this['_documentId'],commentThreadId,commentId,content,attributes,isAttributesUpdated);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0xf0d5dc);}async removeComment(commentThreadId,commentId){const _0x3d838f=new RemoveCommentMessage(this['_documentId'],commentThreadId,commentId);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x3d838f);}async removeCommentThread(commentThreadId){const _0x54e4fa=new RemoveCommentThreadMessage(this['_documentId'],commentThreadId);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x54e4fa);}async addCommentThread(addCommentThreadParams){const _0x33b5ef=new AddCommentThreadMessage(this['_documentId'],addCommentThreadParams['commentThreadId'],addCommentThreadParams['comments']?.['map'](comment=>({...comment,'documentId':this['_documentId'],'commentThreadId':addCommentThreadParams['commentThreadId']})),addCommentThreadParams['context'],addCommentThreadParams['resolvedBy'],addCommentThreadParams['createdAt'],addCommentThreadParams['resolvedAt'],addCommentThreadParams['deletedAt'],addCommentThreadParams['attributes']),_0x5e04cf=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x33b5ef);return MessagesCompressor['decode'](_0x5e04cf,AddCommentThreadResponse);}async resolveCommentThread(commentThreadId){const _0x12dfb9=new ResolveCommentThreadMessage(commentThreadId,this['_documentId']),_0x412905=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x12dfb9);return MessagesCompressor['decode'](_0x412905,ResolveCommentThreadResponse);}async reopenCommentThread(commentThreadId){const _0x2e4e98=new ReopenCommentThreadMessage(commentThreadId,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x2e4e98);}async updateCommentThread(_0x115ad5){const _0x15e57c=new UpdateCommentThreadMessage(_0x115ad5['commentThreadId'],this['_documentId'],_0x115ad5['context'],_0x115ad5['attributes'],_0x115ad5['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x15e57c);}async getCommentThread(commentThreadId,attempt=0x1){const _0x1ea481=new GetCommentThreadMessage(commentThreadId,this['_documentId']);try{const _0x2ed7bc=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x1ea481),commentThreadResponse=MessagesCompressor['decode'](_0x2ed7bc,GetCommentThreadResponse);return{'commentThreadId':commentThreadResponse['commentThreadId'],'comments':commentThreadResponse['comments'],'attributes':commentThreadResponse['attributes'],'context':commentThreadResponse['context'],'resolvedAt':commentThreadResponse['resolvedAt'],'resolvedBy':commentThreadResponse['resolvedBy'],'deletedAt':commentThreadResponse['deletedAt'],'unlinkedAt':commentThreadResponse['unlinkedAt']};}catch(_0x4aac36){if('CKEditorCloudServicesServerError'===_0x4aac36['name']&&'404'===_0x4aac36['code']&&attempt<0x5)return await(time=0x64*attempt,new Promise(_0x201c2e=>{setTimeout(_0x201c2e,time);})),this['getCommentThread'](commentThreadId,attempt+0x1);if('CKEditorCloudServicesServerError'===_0x4aac36['name'])throw _0x4aac36;throw CKEditorCloudServicesServerError['fromPublicError'](_0x4aac36);}var time;}async getDocumentThreads(){const _0x54d064=new GetDocumentThreadsMessage(this['_documentId']),_0x11ddf6=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x54d064),{threads:threads}=MessagesCompressor['decode'](_0x11ddf6,GetDocumentThreadsResponse);return{'threads':threads};}async getConnectedSessions(){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']??=await Sessions['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}_connectToChannel(wsGateway,_0x56fdd2){this['_channel']=wsGateway['_getChannel'](CommentsService['_SERVICE'],_0x56fdd2),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(event,data)=>{const addCommentMessage=MessagesCompressor['decode'](data,AddCommentMessage);this['fire']('commentAdded',addCommentMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(event,data)=>{const removeCommentMessage=MessagesCompressor['decode'](data,RemoveCommentMessage);this['fire']('commentRemoved',removeCommentMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(event,data)=>{const updateCommentMessage=MessagesCompressor['decode'](data,UpdateCommentMessage);this['fire']('commentUpdated',updateCommentMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(event,data)=>{const removeCommentThreadMessage=MessagesCompressor['decode'](data,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',removeCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(event,data)=>{const addCommentThreadMessage=MessagesCompressor['decode'](data,AddCommentThreadMessage);this['fire']('commentThreadAdded',addCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(event,data)=>{const updateCommentThreadMessage=MessagesCompressor['decode'](data,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',updateCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(event,data)=>{const resolveCommentThreadMessage=MessagesCompressor['decode'](data,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',resolveCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(event,data)=>{const reopenCommentThreadMessage=MessagesCompressor['decode'](data,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',reopenCommentThreadMessage);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ChannelDisconnectedMessage['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0xe49880){_0xe49880===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}_sendRequest(method,_0x4158c6){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,method,MessagesCompressor['encode'](_0x4158c6));}}export{CKEditorCloudServicesError,CollaborativeEditingService,CommentsService,EditorService,RevisionHistoryService,TrackChangesService,User,WEB_SOCKET_GATEWAY_STATES,WebSocketGateway};