@ckeditor/ckeditor5-operations-compressor 41.4.0-alpha.0 → 41.4.1
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/index.js +1 -1
- package/package.json +2 -2
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobufdescriptions.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{CKEditorError as _0x538892}from'@ckeditor/ckeditor5-utils/dist/index.js';import*as _0xa5d20 from'protobufjs/minimal.js';import{cloneDeep as _0x4a9e50,isEqual as _0x5df907,isObject as _0x244ab3}from'lodash-es';const j=_0xa5d20['Reader'],y=_0xa5d20['Writer'],k=_0xa5d20['util'],v=_0xa5d20['roots']['default']||(_0xa5d20['roots']['default']={}),M=v['AttributeOperation']=((()=>{function _0x1c37c2(_0x2e937e){if(_0x2e937e){for(let _0x3008df=Object['keys'](_0x2e937e),_0x6a0859=0x0;_0x6a0859<_0x3008df['length'];++_0x6a0859)null!=_0x2e937e[_0x3008df[_0x6a0859]]&&(this[_0x3008df[_0x6a0859]]=_0x2e937e[_0x3008df[_0x6a0859]]);}}return _0x1c37c2['prototype']['range']=null,_0x1c37c2['prototype']['key']='',_0x1c37c2['prototype']['oldValueBoolean']=!0x1,_0x1c37c2['prototype']['oldValueJson']='',_0x1c37c2['prototype']['newValueBoolean']=!0x1,_0x1c37c2['prototype']['newValueJson']='',_0x1c37c2['prototype']['wasUndone']=!0x1,_0x1c37c2['create']=function(_0x4376cb){return new _0x1c37c2(_0x4376cb);},_0x1c37c2['encode']=function(_0x1a47c3,_0x174304){return _0x174304||(_0x174304=y['create']()),null!=_0x1a47c3['range']&&Object['hasOwnProperty']['call'](_0x1a47c3,'range')&&v['Range']['encode'](_0x1a47c3['range'],_0x174304['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1a47c3['key']&&Object['hasOwnProperty']['call'](_0x1a47c3,'key')&&_0x174304['uint32'](0x12)['string'](_0x1a47c3['key']),null!=_0x1a47c3['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x1a47c3,'oldValueBoolean')&&_0x174304['uint32'](0x18)['bool'](_0x1a47c3['oldValueBoolean']),null!=_0x1a47c3['oldValueJson']&&Object['hasOwnProperty']['call'](_0x1a47c3,'oldValueJson')&&_0x174304['uint32'](0x22)['string'](_0x1a47c3['oldValueJson']),null!=_0x1a47c3['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x1a47c3,'newValueBoolean')&&_0x174304['uint32'](0x28)['bool'](_0x1a47c3['newValueBoolean']),null!=_0x1a47c3['newValueJson']&&Object['hasOwnProperty']['call'](_0x1a47c3,'newValueJson')&&_0x174304['uint32'](0x32)['string'](_0x1a47c3['newValueJson']),null!=_0x1a47c3['wasUndone']&&Object['hasOwnProperty']['call'](_0x1a47c3,'wasUndone')&&_0x174304['uint32'](0x38)['bool'](_0x1a47c3['wasUndone']),_0x174304;},_0x1c37c2['encodeDelimited']=function(_0x4250ab,_0x3e7824){return this['encode'](_0x4250ab,_0x3e7824)['ldelim']();},_0x1c37c2['decode']=function(_0x26dfde,_0x3848e6){_0x26dfde instanceof j||(_0x26dfde=j['create'](_0x26dfde));let _0x4792f4=void 0x0===_0x3848e6?_0x26dfde['len']:_0x26dfde['pos']+_0x3848e6,_0x2f6850=new v['AttributeOperation']();for(;_0x26dfde['pos']<_0x4792f4;){let _0x50dffd=_0x26dfde['uint32']();switch(_0x50dffd>>>0x3){case 0x1:_0x2f6850['range']=v['Range']['decode'](_0x26dfde,_0x26dfde['uint32']());break;case 0x2:_0x2f6850['key']=_0x26dfde['string']();break;case 0x3:_0x2f6850['oldValueBoolean']=_0x26dfde['bool']();break;case 0x4:_0x2f6850['oldValueJson']=_0x26dfde['string']();break;case 0x5:_0x2f6850['newValueBoolean']=_0x26dfde['bool']();break;case 0x6:_0x2f6850['newValueJson']=_0x26dfde['string']();break;case 0x7:_0x2f6850['wasUndone']=_0x26dfde['bool']();break;default:_0x26dfde['skipType'](0x7&_0x50dffd);}}return _0x2f6850;},_0x1c37c2['decodeDelimited']=function(_0x525512){return _0x525512 instanceof j||(_0x525512=new j(_0x525512)),this['decode'](_0x525512,_0x525512['uint32']());},_0x1c37c2['verify']=function(_0x42aca3){if('object'!=typeof _0x42aca3||null===_0x42aca3)return'object\x20expected';if(null!=_0x42aca3['range']&&_0x42aca3['hasOwnProperty']('range')){let _0x473730=v['Range']['verify'](_0x42aca3['range']);if(_0x473730)return'range.'+_0x473730;}return null!=_0x42aca3['key']&&_0x42aca3['hasOwnProperty']('key')&&!k['isString'](_0x42aca3['key'])?'key:\x20string\x20expected':null!=_0x42aca3['oldValueBoolean']&&_0x42aca3['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x42aca3['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x42aca3['oldValueJson']&&_0x42aca3['hasOwnProperty']('oldValueJson')&&!k['isString'](_0x42aca3['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x42aca3['newValueBoolean']&&_0x42aca3['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x42aca3['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x42aca3['newValueJson']&&_0x42aca3['hasOwnProperty']('newValueJson')&&!k['isString'](_0x42aca3['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x42aca3['wasUndone']&&_0x42aca3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x42aca3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1c37c2['fromObject']=function(_0x495762){if(_0x495762 instanceof v['AttributeOperation'])return _0x495762;let _0x589521=new v['AttributeOperation']();if(null!=_0x495762['range']){if('object'!=typeof _0x495762['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x589521['range']=v['Range']['fromObject'](_0x495762['range']);}return null!=_0x495762['key']&&(_0x589521['key']=String(_0x495762['key'])),null!=_0x495762['oldValueBoolean']&&(_0x589521['oldValueBoolean']=Boolean(_0x495762['oldValueBoolean'])),null!=_0x495762['oldValueJson']&&(_0x589521['oldValueJson']=String(_0x495762['oldValueJson'])),null!=_0x495762['newValueBoolean']&&(_0x589521['newValueBoolean']=Boolean(_0x495762['newValueBoolean'])),null!=_0x495762['newValueJson']&&(_0x589521['newValueJson']=String(_0x495762['newValueJson'])),null!=_0x495762['wasUndone']&&(_0x589521['wasUndone']=Boolean(_0x495762['wasUndone'])),_0x589521;},_0x1c37c2['toObject']=function(_0xe6b7f5,_0x21695e){_0x21695e||(_0x21695e={});let _0xdde25e={};return _0x21695e['defaults']&&(_0xdde25e['range']=null,_0xdde25e['key']='',_0xdde25e['oldValueBoolean']=!0x1,_0xdde25e['oldValueJson']='',_0xdde25e['newValueBoolean']=!0x1,_0xdde25e['newValueJson']='',_0xdde25e['wasUndone']=!0x1),null!=_0xe6b7f5['range']&&_0xe6b7f5['hasOwnProperty']('range')&&(_0xdde25e['range']=v['Range']['toObject'](_0xe6b7f5['range'],_0x21695e)),null!=_0xe6b7f5['key']&&_0xe6b7f5['hasOwnProperty']('key')&&(_0xdde25e['key']=_0xe6b7f5['key']),null!=_0xe6b7f5['oldValueBoolean']&&_0xe6b7f5['hasOwnProperty']('oldValueBoolean')&&(_0xdde25e['oldValueBoolean']=_0xe6b7f5['oldValueBoolean']),null!=_0xe6b7f5['oldValueJson']&&_0xe6b7f5['hasOwnProperty']('oldValueJson')&&(_0xdde25e['oldValueJson']=_0xe6b7f5['oldValueJson']),null!=_0xe6b7f5['newValueBoolean']&&_0xe6b7f5['hasOwnProperty']('newValueBoolean')&&(_0xdde25e['newValueBoolean']=_0xe6b7f5['newValueBoolean']),null!=_0xe6b7f5['newValueJson']&&_0xe6b7f5['hasOwnProperty']('newValueJson')&&(_0xdde25e['newValueJson']=_0xe6b7f5['newValueJson']),null!=_0xe6b7f5['wasUndone']&&_0xe6b7f5['hasOwnProperty']('wasUndone')&&(_0xdde25e['wasUndone']=_0xe6b7f5['wasUndone']),_0xdde25e;},_0x1c37c2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x1c37c2['getTypeUrl']=function(_0xf9678c){return void 0x0===_0xf9678c&&(_0xf9678c='type.googleapis.com'),_0xf9678c+'/AttributeOperation';},_0x1c37c2;})()),B=v['InsertOperation']=((()=>{function _0x3ed20b(_0x21bb21){if(this['nodes']=[],_0x21bb21){for(let _0x1c2ed3=Object['keys'](_0x21bb21),_0xb9c0d=0x0;_0xb9c0d<_0x1c2ed3['length'];++_0xb9c0d)null!=_0x21bb21[_0x1c2ed3[_0xb9c0d]]&&(this[_0x1c2ed3[_0xb9c0d]]=_0x21bb21[_0x1c2ed3[_0xb9c0d]]);}}return _0x3ed20b['prototype']['position']=null,_0x3ed20b['prototype']['nodes']=k['emptyArray'],_0x3ed20b['prototype']['shouldReceiveAttributes']=!0x1,_0x3ed20b['prototype']['wasUndone']=!0x1,_0x3ed20b['create']=function(_0x289528){return new _0x3ed20b(_0x289528);},_0x3ed20b['encode']=function(_0x48c730,_0x489c72){if(_0x489c72||(_0x489c72=y['create']()),null!=_0x48c730['position']&&Object['hasOwnProperty']['call'](_0x48c730,'position')&&v['Position']['encode'](_0x48c730['position'],_0x489c72['uint32'](0xa)['fork']())['ldelim'](),null!=_0x48c730['nodes']&&_0x48c730['nodes']['length']){for(let _0x2a87ff=0x0;_0x2a87ff<_0x48c730['nodes']['length'];++_0x2a87ff)v['Element']['encode'](_0x48c730['nodes'][_0x2a87ff],_0x489c72['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x48c730['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x48c730,'shouldReceiveAttributes')&&_0x489c72['uint32'](0x18)['bool'](_0x48c730['shouldReceiveAttributes']),null!=_0x48c730['wasUndone']&&Object['hasOwnProperty']['call'](_0x48c730,'wasUndone')&&_0x489c72['uint32'](0x20)['bool'](_0x48c730['wasUndone']),_0x489c72;},_0x3ed20b['encodeDelimited']=function(_0x38a44f,_0x5c2e04){return this['encode'](_0x38a44f,_0x5c2e04)['ldelim']();},_0x3ed20b['decode']=function(_0x7c5a6e,_0x52953b){_0x7c5a6e instanceof j||(_0x7c5a6e=j['create'](_0x7c5a6e));let _0x3278cb=void 0x0===_0x52953b?_0x7c5a6e['len']:_0x7c5a6e['pos']+_0x52953b,_0x122129=new v['InsertOperation']();for(;_0x7c5a6e['pos']<_0x3278cb;){let _0x156b87=_0x7c5a6e['uint32']();switch(_0x156b87>>>0x3){case 0x1:_0x122129['position']=v['Position']['decode'](_0x7c5a6e,_0x7c5a6e['uint32']());break;case 0x2:_0x122129['nodes']&&_0x122129['nodes']['length']||(_0x122129['nodes']=[]),_0x122129['nodes']['push'](v['Element']['decode'](_0x7c5a6e,_0x7c5a6e['uint32']()));break;case 0x3:_0x122129['shouldReceiveAttributes']=_0x7c5a6e['bool']();break;case 0x4:_0x122129['wasUndone']=_0x7c5a6e['bool']();break;default:_0x7c5a6e['skipType'](0x7&_0x156b87);}}return _0x122129;},_0x3ed20b['decodeDelimited']=function(_0x29a68b){return _0x29a68b instanceof j||(_0x29a68b=new j(_0x29a68b)),this['decode'](_0x29a68b,_0x29a68b['uint32']());},_0x3ed20b['verify']=function(_0x31e1ce){if('object'!=typeof _0x31e1ce||null===_0x31e1ce)return'object\x20expected';if(null!=_0x31e1ce['position']&&_0x31e1ce['hasOwnProperty']('position')){let _0x4974e6=v['Position']['verify'](_0x31e1ce['position']);if(_0x4974e6)return'position.'+_0x4974e6;}if(null!=_0x31e1ce['nodes']&&_0x31e1ce['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x31e1ce['nodes']))return'nodes:\x20array\x20expected';for(let _0x478dc6=0x0;_0x478dc6<_0x31e1ce['nodes']['length'];++_0x478dc6){let _0x500d12=v['Element']['verify'](_0x31e1ce['nodes'][_0x478dc6]);if(_0x500d12)return'nodes.'+_0x500d12;}}return null!=_0x31e1ce['shouldReceiveAttributes']&&_0x31e1ce['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x31e1ce['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x31e1ce['wasUndone']&&_0x31e1ce['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x31e1ce['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3ed20b['fromObject']=function(_0x393a10){if(_0x393a10 instanceof v['InsertOperation'])return _0x393a10;let _0x5b505e=new v['InsertOperation']();if(null!=_0x393a10['position']){if('object'!=typeof _0x393a10['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x5b505e['position']=v['Position']['fromObject'](_0x393a10['position']);}if(_0x393a10['nodes']){if(!Array['isArray'](_0x393a10['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x5b505e['nodes']=[];for(let _0x1eabdc=0x0;_0x1eabdc<_0x393a10['nodes']['length'];++_0x1eabdc){if('object'!=typeof _0x393a10['nodes'][_0x1eabdc])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x5b505e['nodes'][_0x1eabdc]=v['Element']['fromObject'](_0x393a10['nodes'][_0x1eabdc]);}}return null!=_0x393a10['shouldReceiveAttributes']&&(_0x5b505e['shouldReceiveAttributes']=Boolean(_0x393a10['shouldReceiveAttributes'])),null!=_0x393a10['wasUndone']&&(_0x5b505e['wasUndone']=Boolean(_0x393a10['wasUndone'])),_0x5b505e;},_0x3ed20b['toObject']=function(_0x14542f,_0x4761b7){_0x4761b7||(_0x4761b7={});let _0x352bcb={};if((_0x4761b7['arrays']||_0x4761b7['defaults'])&&(_0x352bcb['nodes']=[]),_0x4761b7['defaults']&&(_0x352bcb['position']=null,_0x352bcb['shouldReceiveAttributes']=!0x1,_0x352bcb['wasUndone']=!0x1),null!=_0x14542f['position']&&_0x14542f['hasOwnProperty']('position')&&(_0x352bcb['position']=v['Position']['toObject'](_0x14542f['position'],_0x4761b7)),_0x14542f['nodes']&&_0x14542f['nodes']['length']){_0x352bcb['nodes']=[];for(let _0x395513=0x0;_0x395513<_0x14542f['nodes']['length'];++_0x395513)_0x352bcb['nodes'][_0x395513]=v['Element']['toObject'](_0x14542f['nodes'][_0x395513],_0x4761b7);}return null!=_0x14542f['shouldReceiveAttributes']&&_0x14542f['hasOwnProperty']('shouldReceiveAttributes')&&(_0x352bcb['shouldReceiveAttributes']=_0x14542f['shouldReceiveAttributes']),null!=_0x14542f['wasUndone']&&_0x14542f['hasOwnProperty']('wasUndone')&&(_0x352bcb['wasUndone']=_0x14542f['wasUndone']),_0x352bcb;},_0x3ed20b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x3ed20b['getTypeUrl']=function(_0x351e55){return void 0x0===_0x351e55&&(_0x351e55='type.googleapis.com'),_0x351e55+'/InsertOperation';},_0x3ed20b;})()),V=v['MarkerOperation']=((()=>{function _0x32aeaf(_0x3cf155){if(_0x3cf155){for(let _0x5d37fb=Object['keys'](_0x3cf155),_0x47d0c2=0x0;_0x47d0c2<_0x5d37fb['length'];++_0x47d0c2)null!=_0x3cf155[_0x5d37fb[_0x47d0c2]]&&(this[_0x5d37fb[_0x47d0c2]]=_0x3cf155[_0x5d37fb[_0x47d0c2]]);}}return _0x32aeaf['prototype']['name']='',_0x32aeaf['prototype']['oldRange']=null,_0x32aeaf['prototype']['newRange']=null,_0x32aeaf['prototype']['affectsData']=!0x1,_0x32aeaf['prototype']['wasUndone']=!0x1,_0x32aeaf['create']=function(_0x1d105b){return new _0x32aeaf(_0x1d105b);},_0x32aeaf['encode']=function(_0x51f09c,_0x4c3850){return _0x4c3850||(_0x4c3850=y['create']()),null!=_0x51f09c['name']&&Object['hasOwnProperty']['call'](_0x51f09c,'name')&&_0x4c3850['uint32'](0xa)['string'](_0x51f09c['name']),null!=_0x51f09c['oldRange']&&Object['hasOwnProperty']['call'](_0x51f09c,'oldRange')&&v['Range']['encode'](_0x51f09c['oldRange'],_0x4c3850['uint32'](0x12)['fork']())['ldelim'](),null!=_0x51f09c['newRange']&&Object['hasOwnProperty']['call'](_0x51f09c,'newRange')&&v['Range']['encode'](_0x51f09c['newRange'],_0x4c3850['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x51f09c['affectsData']&&Object['hasOwnProperty']['call'](_0x51f09c,'affectsData')&&_0x4c3850['uint32'](0x20)['bool'](_0x51f09c['affectsData']),null!=_0x51f09c['wasUndone']&&Object['hasOwnProperty']['call'](_0x51f09c,'wasUndone')&&_0x4c3850['uint32'](0x28)['bool'](_0x51f09c['wasUndone']),_0x4c3850;},_0x32aeaf['encodeDelimited']=function(_0x38c1b6,_0x46cbda){return this['encode'](_0x38c1b6,_0x46cbda)['ldelim']();},_0x32aeaf['decode']=function(_0x1d494e,_0x345254){_0x1d494e instanceof j||(_0x1d494e=j['create'](_0x1d494e));let _0x665c91=void 0x0===_0x345254?_0x1d494e['len']:_0x1d494e['pos']+_0x345254,_0x254d9f=new v['MarkerOperation']();for(;_0x1d494e['pos']<_0x665c91;){let _0x4b83eb=_0x1d494e['uint32']();switch(_0x4b83eb>>>0x3){case 0x1:_0x254d9f['name']=_0x1d494e['string']();break;case 0x2:_0x254d9f['oldRange']=v['Range']['decode'](_0x1d494e,_0x1d494e['uint32']());break;case 0x3:_0x254d9f['newRange']=v['Range']['decode'](_0x1d494e,_0x1d494e['uint32']());break;case 0x4:_0x254d9f['affectsData']=_0x1d494e['bool']();break;case 0x5:_0x254d9f['wasUndone']=_0x1d494e['bool']();break;default:_0x1d494e['skipType'](0x7&_0x4b83eb);}}return _0x254d9f;},_0x32aeaf['decodeDelimited']=function(_0xc9f764){return _0xc9f764 instanceof j||(_0xc9f764=new j(_0xc9f764)),this['decode'](_0xc9f764,_0xc9f764['uint32']());},_0x32aeaf['verify']=function(_0x49498f){if('object'!=typeof _0x49498f||null===_0x49498f)return'object\x20expected';if(null!=_0x49498f['name']&&_0x49498f['hasOwnProperty']('name')&&!k['isString'](_0x49498f['name']))return'name:\x20string\x20expected';if(null!=_0x49498f['oldRange']&&_0x49498f['hasOwnProperty']('oldRange')){let _0x57f62c=v['Range']['verify'](_0x49498f['oldRange']);if(_0x57f62c)return'oldRange.'+_0x57f62c;}if(null!=_0x49498f['newRange']&&_0x49498f['hasOwnProperty']('newRange')){let _0x1e7505=v['Range']['verify'](_0x49498f['newRange']);if(_0x1e7505)return'newRange.'+_0x1e7505;}return null!=_0x49498f['affectsData']&&_0x49498f['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x49498f['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x49498f['wasUndone']&&_0x49498f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x49498f['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x32aeaf['fromObject']=function(_0x37a9d3){if(_0x37a9d3 instanceof v['MarkerOperation'])return _0x37a9d3;let _0x4503ed=new v['MarkerOperation']();if(null!=_0x37a9d3['name']&&(_0x4503ed['name']=String(_0x37a9d3['name'])),null!=_0x37a9d3['oldRange']){if('object'!=typeof _0x37a9d3['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x4503ed['oldRange']=v['Range']['fromObject'](_0x37a9d3['oldRange']);}if(null!=_0x37a9d3['newRange']){if('object'!=typeof _0x37a9d3['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x4503ed['newRange']=v['Range']['fromObject'](_0x37a9d3['newRange']);}return null!=_0x37a9d3['affectsData']&&(_0x4503ed['affectsData']=Boolean(_0x37a9d3['affectsData'])),null!=_0x37a9d3['wasUndone']&&(_0x4503ed['wasUndone']=Boolean(_0x37a9d3['wasUndone'])),_0x4503ed;},_0x32aeaf['toObject']=function(_0x39d289,_0x5681cb){_0x5681cb||(_0x5681cb={});let _0x3beef5={};return _0x5681cb['defaults']&&(_0x3beef5['name']='',_0x3beef5['oldRange']=null,_0x3beef5['newRange']=null,_0x3beef5['affectsData']=!0x1,_0x3beef5['wasUndone']=!0x1),null!=_0x39d289['name']&&_0x39d289['hasOwnProperty']('name')&&(_0x3beef5['name']=_0x39d289['name']),null!=_0x39d289['oldRange']&&_0x39d289['hasOwnProperty']('oldRange')&&(_0x3beef5['oldRange']=v['Range']['toObject'](_0x39d289['oldRange'],_0x5681cb)),null!=_0x39d289['newRange']&&_0x39d289['hasOwnProperty']('newRange')&&(_0x3beef5['newRange']=v['Range']['toObject'](_0x39d289['newRange'],_0x5681cb)),null!=_0x39d289['affectsData']&&_0x39d289['hasOwnProperty']('affectsData')&&(_0x3beef5['affectsData']=_0x39d289['affectsData']),null!=_0x39d289['wasUndone']&&_0x39d289['hasOwnProperty']('wasUndone')&&(_0x3beef5['wasUndone']=_0x39d289['wasUndone']),_0x3beef5;},_0x32aeaf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x32aeaf['getTypeUrl']=function(_0x5a5fc4){return void 0x0===_0x5a5fc4&&(_0x5a5fc4='type.googleapis.com'),_0x5a5fc4+'/MarkerOperation';},_0x32aeaf;})()),S=v['MergeOperation']=((()=>{function _0x4d8c31(_0x3d5d00){if(_0x3d5d00){for(let _0x1c1b39=Object['keys'](_0x3d5d00),_0x586bcd=0x0;_0x586bcd<_0x1c1b39['length'];++_0x586bcd)null!=_0x3d5d00[_0x1c1b39[_0x586bcd]]&&(this[_0x1c1b39[_0x586bcd]]=_0x3d5d00[_0x1c1b39[_0x586bcd]]);}}return _0x4d8c31['prototype']['sourcePosition']=null,_0x4d8c31['prototype']['targetPosition']=null,_0x4d8c31['prototype']['graveyardPosition']=null,_0x4d8c31['prototype']['howMany']=0x0,_0x4d8c31['prototype']['wasUndone']=!0x1,_0x4d8c31['create']=function(_0x128783){return new _0x4d8c31(_0x128783);},_0x4d8c31['encode']=function(_0x3b1055,_0x446482){return _0x446482||(_0x446482=y['create']()),null!=_0x3b1055['sourcePosition']&&Object['hasOwnProperty']['call'](_0x3b1055,'sourcePosition')&&v['Position']['encode'](_0x3b1055['sourcePosition'],_0x446482['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3b1055['targetPosition']&&Object['hasOwnProperty']['call'](_0x3b1055,'targetPosition')&&v['Position']['encode'](_0x3b1055['targetPosition'],_0x446482['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3b1055['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x3b1055,'graveyardPosition')&&v['Position']['encode'](_0x3b1055['graveyardPosition'],_0x446482['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3b1055['howMany']&&Object['hasOwnProperty']['call'](_0x3b1055,'howMany')&&_0x446482['uint32'](0x20)['uint32'](_0x3b1055['howMany']),null!=_0x3b1055['wasUndone']&&Object['hasOwnProperty']['call'](_0x3b1055,'wasUndone')&&_0x446482['uint32'](0x28)['bool'](_0x3b1055['wasUndone']),_0x446482;},_0x4d8c31['encodeDelimited']=function(_0x5ca2c0,_0x550082){return this['encode'](_0x5ca2c0,_0x550082)['ldelim']();},_0x4d8c31['decode']=function(_0xdc1ce7,_0xecc0ef){_0xdc1ce7 instanceof j||(_0xdc1ce7=j['create'](_0xdc1ce7));let _0x1b6f24=void 0x0===_0xecc0ef?_0xdc1ce7['len']:_0xdc1ce7['pos']+_0xecc0ef,_0x4e8f92=new v['MergeOperation']();for(;_0xdc1ce7['pos']<_0x1b6f24;){let _0x31af46=_0xdc1ce7['uint32']();switch(_0x31af46>>>0x3){case 0x1:_0x4e8f92['sourcePosition']=v['Position']['decode'](_0xdc1ce7,_0xdc1ce7['uint32']());break;case 0x2:_0x4e8f92['targetPosition']=v['Position']['decode'](_0xdc1ce7,_0xdc1ce7['uint32']());break;case 0x3:_0x4e8f92['graveyardPosition']=v['Position']['decode'](_0xdc1ce7,_0xdc1ce7['uint32']());break;case 0x4:_0x4e8f92['howMany']=_0xdc1ce7['uint32']();break;case 0x5:_0x4e8f92['wasUndone']=_0xdc1ce7['bool']();break;default:_0xdc1ce7['skipType'](0x7&_0x31af46);}}return _0x4e8f92;},_0x4d8c31['decodeDelimited']=function(_0x210e54){return _0x210e54 instanceof j||(_0x210e54=new j(_0x210e54)),this['decode'](_0x210e54,_0x210e54['uint32']());},_0x4d8c31['verify']=function(_0x487c82){if('object'!=typeof _0x487c82||null===_0x487c82)return'object\x20expected';if(null!=_0x487c82['sourcePosition']&&_0x487c82['hasOwnProperty']('sourcePosition')){let _0xef2f0d=v['Position']['verify'](_0x487c82['sourcePosition']);if(_0xef2f0d)return'sourcePosition.'+_0xef2f0d;}if(null!=_0x487c82['targetPosition']&&_0x487c82['hasOwnProperty']('targetPosition')){let _0x1fba28=v['Position']['verify'](_0x487c82['targetPosition']);if(_0x1fba28)return'targetPosition.'+_0x1fba28;}if(null!=_0x487c82['graveyardPosition']&&_0x487c82['hasOwnProperty']('graveyardPosition')){let _0x4344a4=v['Position']['verify'](_0x487c82['graveyardPosition']);if(_0x4344a4)return'graveyardPosition.'+_0x4344a4;}return null!=_0x487c82['howMany']&&_0x487c82['hasOwnProperty']('howMany')&&!k['isInteger'](_0x487c82['howMany'])?'howMany:\x20integer\x20expected':null!=_0x487c82['wasUndone']&&_0x487c82['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x487c82['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4d8c31['fromObject']=function(_0x2659c6){if(_0x2659c6 instanceof v['MergeOperation'])return _0x2659c6;let _0x4e56b2=new v['MergeOperation']();if(null!=_0x2659c6['sourcePosition']){if('object'!=typeof _0x2659c6['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x4e56b2['sourcePosition']=v['Position']['fromObject'](_0x2659c6['sourcePosition']);}if(null!=_0x2659c6['targetPosition']){if('object'!=typeof _0x2659c6['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x4e56b2['targetPosition']=v['Position']['fromObject'](_0x2659c6['targetPosition']);}if(null!=_0x2659c6['graveyardPosition']){if('object'!=typeof _0x2659c6['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x4e56b2['graveyardPosition']=v['Position']['fromObject'](_0x2659c6['graveyardPosition']);}return null!=_0x2659c6['howMany']&&(_0x4e56b2['howMany']=_0x2659c6['howMany']>>>0x0),null!=_0x2659c6['wasUndone']&&(_0x4e56b2['wasUndone']=Boolean(_0x2659c6['wasUndone'])),_0x4e56b2;},_0x4d8c31['toObject']=function(_0x4ed65d,_0x972d32){_0x972d32||(_0x972d32={});let _0x5e8301={};return _0x972d32['defaults']&&(_0x5e8301['sourcePosition']=null,_0x5e8301['targetPosition']=null,_0x5e8301['graveyardPosition']=null,_0x5e8301['howMany']=0x0,_0x5e8301['wasUndone']=!0x1),null!=_0x4ed65d['sourcePosition']&&_0x4ed65d['hasOwnProperty']('sourcePosition')&&(_0x5e8301['sourcePosition']=v['Position']['toObject'](_0x4ed65d['sourcePosition'],_0x972d32)),null!=_0x4ed65d['targetPosition']&&_0x4ed65d['hasOwnProperty']('targetPosition')&&(_0x5e8301['targetPosition']=v['Position']['toObject'](_0x4ed65d['targetPosition'],_0x972d32)),null!=_0x4ed65d['graveyardPosition']&&_0x4ed65d['hasOwnProperty']('graveyardPosition')&&(_0x5e8301['graveyardPosition']=v['Position']['toObject'](_0x4ed65d['graveyardPosition'],_0x972d32)),null!=_0x4ed65d['howMany']&&_0x4ed65d['hasOwnProperty']('howMany')&&(_0x5e8301['howMany']=_0x4ed65d['howMany']),null!=_0x4ed65d['wasUndone']&&_0x4ed65d['hasOwnProperty']('wasUndone')&&(_0x5e8301['wasUndone']=_0x4ed65d['wasUndone']),_0x5e8301;},_0x4d8c31['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x4d8c31['getTypeUrl']=function(_0x11a117){return void 0x0===_0x11a117&&(_0x11a117='type.googleapis.com'),_0x11a117+'/MergeOperation';},_0x4d8c31;})()),U=v['MoveOperation']=((()=>{function _0x3fc9c2(_0x4868f6){if(_0x4868f6){for(let _0x8e0af=Object['keys'](_0x4868f6),_0x5dd872=0x0;_0x5dd872<_0x8e0af['length'];++_0x5dd872)null!=_0x4868f6[_0x8e0af[_0x5dd872]]&&(this[_0x8e0af[_0x5dd872]]=_0x4868f6[_0x8e0af[_0x5dd872]]);}}return _0x3fc9c2['prototype']['sourcePosition']=null,_0x3fc9c2['prototype']['howMany']=0x0,_0x3fc9c2['prototype']['targetPosition']=null,_0x3fc9c2['prototype']['wasUndone']=!0x1,_0x3fc9c2['create']=function(_0x181c14){return new _0x3fc9c2(_0x181c14);},_0x3fc9c2['encode']=function(_0x3d839e,_0x59bafb){return _0x59bafb||(_0x59bafb=y['create']()),null!=_0x3d839e['sourcePosition']&&Object['hasOwnProperty']['call'](_0x3d839e,'sourcePosition')&&v['Position']['encode'](_0x3d839e['sourcePosition'],_0x59bafb['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3d839e['howMany']&&Object['hasOwnProperty']['call'](_0x3d839e,'howMany')&&_0x59bafb['uint32'](0x10)['uint32'](_0x3d839e['howMany']),null!=_0x3d839e['targetPosition']&&Object['hasOwnProperty']['call'](_0x3d839e,'targetPosition')&&v['Position']['encode'](_0x3d839e['targetPosition'],_0x59bafb['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3d839e['wasUndone']&&Object['hasOwnProperty']['call'](_0x3d839e,'wasUndone')&&_0x59bafb['uint32'](0x20)['bool'](_0x3d839e['wasUndone']),_0x59bafb;},_0x3fc9c2['encodeDelimited']=function(_0x20b717,_0x50c5e4){return this['encode'](_0x20b717,_0x50c5e4)['ldelim']();},_0x3fc9c2['decode']=function(_0x442585,_0x43077b){_0x442585 instanceof j||(_0x442585=j['create'](_0x442585));let _0x4e5005=void 0x0===_0x43077b?_0x442585['len']:_0x442585['pos']+_0x43077b,_0x19407f=new v['MoveOperation']();for(;_0x442585['pos']<_0x4e5005;){let _0x770818=_0x442585['uint32']();switch(_0x770818>>>0x3){case 0x1:_0x19407f['sourcePosition']=v['Position']['decode'](_0x442585,_0x442585['uint32']());break;case 0x2:_0x19407f['howMany']=_0x442585['uint32']();break;case 0x3:_0x19407f['targetPosition']=v['Position']['decode'](_0x442585,_0x442585['uint32']());break;case 0x4:_0x19407f['wasUndone']=_0x442585['bool']();break;default:_0x442585['skipType'](0x7&_0x770818);}}return _0x19407f;},_0x3fc9c2['decodeDelimited']=function(_0x3d18b4){return _0x3d18b4 instanceof j||(_0x3d18b4=new j(_0x3d18b4)),this['decode'](_0x3d18b4,_0x3d18b4['uint32']());},_0x3fc9c2['verify']=function(_0x571383){if('object'!=typeof _0x571383||null===_0x571383)return'object\x20expected';if(null!=_0x571383['sourcePosition']&&_0x571383['hasOwnProperty']('sourcePosition')){let _0x202b6f=v['Position']['verify'](_0x571383['sourcePosition']);if(_0x202b6f)return'sourcePosition.'+_0x202b6f;}if(null!=_0x571383['howMany']&&_0x571383['hasOwnProperty']('howMany')&&!k['isInteger'](_0x571383['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x571383['targetPosition']&&_0x571383['hasOwnProperty']('targetPosition')){let _0x3291c0=v['Position']['verify'](_0x571383['targetPosition']);if(_0x3291c0)return'targetPosition.'+_0x3291c0;}return null!=_0x571383['wasUndone']&&_0x571383['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x571383['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3fc9c2['fromObject']=function(_0x422230){if(_0x422230 instanceof v['MoveOperation'])return _0x422230;let _0x3694f1=new v['MoveOperation']();if(null!=_0x422230['sourcePosition']){if('object'!=typeof _0x422230['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x3694f1['sourcePosition']=v['Position']['fromObject'](_0x422230['sourcePosition']);}if(null!=_0x422230['howMany']&&(_0x3694f1['howMany']=_0x422230['howMany']>>>0x0),null!=_0x422230['targetPosition']){if('object'!=typeof _0x422230['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x3694f1['targetPosition']=v['Position']['fromObject'](_0x422230['targetPosition']);}return null!=_0x422230['wasUndone']&&(_0x3694f1['wasUndone']=Boolean(_0x422230['wasUndone'])),_0x3694f1;},_0x3fc9c2['toObject']=function(_0x12a239,_0x439a79){_0x439a79||(_0x439a79={});let _0x160ec4={};return _0x439a79['defaults']&&(_0x160ec4['sourcePosition']=null,_0x160ec4['howMany']=0x0,_0x160ec4['targetPosition']=null,_0x160ec4['wasUndone']=!0x1),null!=_0x12a239['sourcePosition']&&_0x12a239['hasOwnProperty']('sourcePosition')&&(_0x160ec4['sourcePosition']=v['Position']['toObject'](_0x12a239['sourcePosition'],_0x439a79)),null!=_0x12a239['howMany']&&_0x12a239['hasOwnProperty']('howMany')&&(_0x160ec4['howMany']=_0x12a239['howMany']),null!=_0x12a239['targetPosition']&&_0x12a239['hasOwnProperty']('targetPosition')&&(_0x160ec4['targetPosition']=v['Position']['toObject'](_0x12a239['targetPosition'],_0x439a79)),null!=_0x12a239['wasUndone']&&_0x12a239['hasOwnProperty']('wasUndone')&&(_0x160ec4['wasUndone']=_0x12a239['wasUndone']),_0x160ec4;},_0x3fc9c2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x3fc9c2['getTypeUrl']=function(_0x3326a6){return void 0x0===_0x3326a6&&(_0x3326a6='type.googleapis.com'),_0x3326a6+'/MoveOperation';},_0x3fc9c2;})()),A=v['RenameOperation']=((()=>{function _0x2d1559(_0x6d5f51){if(_0x6d5f51){for(let _0x113a6b=Object['keys'](_0x6d5f51),_0x383839=0x0;_0x383839<_0x113a6b['length'];++_0x383839)null!=_0x6d5f51[_0x113a6b[_0x383839]]&&(this[_0x113a6b[_0x383839]]=_0x6d5f51[_0x113a6b[_0x383839]]);}}return _0x2d1559['prototype']['position']=null,_0x2d1559['prototype']['oldName']='',_0x2d1559['prototype']['newName']='',_0x2d1559['prototype']['wasUndone']=!0x1,_0x2d1559['create']=function(_0x3bfd2d){return new _0x2d1559(_0x3bfd2d);},_0x2d1559['encode']=function(_0x10ef94,_0x5e1a28){return _0x5e1a28||(_0x5e1a28=y['create']()),null!=_0x10ef94['position']&&Object['hasOwnProperty']['call'](_0x10ef94,'position')&&v['Position']['encode'](_0x10ef94['position'],_0x5e1a28['uint32'](0xa)['fork']())['ldelim'](),null!=_0x10ef94['oldName']&&Object['hasOwnProperty']['call'](_0x10ef94,'oldName')&&_0x5e1a28['uint32'](0x12)['string'](_0x10ef94['oldName']),null!=_0x10ef94['newName']&&Object['hasOwnProperty']['call'](_0x10ef94,'newName')&&_0x5e1a28['uint32'](0x1a)['string'](_0x10ef94['newName']),null!=_0x10ef94['wasUndone']&&Object['hasOwnProperty']['call'](_0x10ef94,'wasUndone')&&_0x5e1a28['uint32'](0x20)['bool'](_0x10ef94['wasUndone']),_0x5e1a28;},_0x2d1559['encodeDelimited']=function(_0x193456,_0x31f335){return this['encode'](_0x193456,_0x31f335)['ldelim']();},_0x2d1559['decode']=function(_0x5407f6,_0x2236d2){_0x5407f6 instanceof j||(_0x5407f6=j['create'](_0x5407f6));let _0xb2de3e=void 0x0===_0x2236d2?_0x5407f6['len']:_0x5407f6['pos']+_0x2236d2,_0x491911=new v['RenameOperation']();for(;_0x5407f6['pos']<_0xb2de3e;){let _0x5200f1=_0x5407f6['uint32']();switch(_0x5200f1>>>0x3){case 0x1:_0x491911['position']=v['Position']['decode'](_0x5407f6,_0x5407f6['uint32']());break;case 0x2:_0x491911['oldName']=_0x5407f6['string']();break;case 0x3:_0x491911['newName']=_0x5407f6['string']();break;case 0x4:_0x491911['wasUndone']=_0x5407f6['bool']();break;default:_0x5407f6['skipType'](0x7&_0x5200f1);}}return _0x491911;},_0x2d1559['decodeDelimited']=function(_0x2da338){return _0x2da338 instanceof j||(_0x2da338=new j(_0x2da338)),this['decode'](_0x2da338,_0x2da338['uint32']());},_0x2d1559['verify']=function(_0x3803c3){if('object'!=typeof _0x3803c3||null===_0x3803c3)return'object\x20expected';if(null!=_0x3803c3['position']&&_0x3803c3['hasOwnProperty']('position')){let _0x1fdefe=v['Position']['verify'](_0x3803c3['position']);if(_0x1fdefe)return'position.'+_0x1fdefe;}return null!=_0x3803c3['oldName']&&_0x3803c3['hasOwnProperty']('oldName')&&!k['isString'](_0x3803c3['oldName'])?'oldName:\x20string\x20expected':null!=_0x3803c3['newName']&&_0x3803c3['hasOwnProperty']('newName')&&!k['isString'](_0x3803c3['newName'])?'newName:\x20string\x20expected':null!=_0x3803c3['wasUndone']&&_0x3803c3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3803c3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2d1559['fromObject']=function(_0x507a53){if(_0x507a53 instanceof v['RenameOperation'])return _0x507a53;let _0x468207=new v['RenameOperation']();if(null!=_0x507a53['position']){if('object'!=typeof _0x507a53['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x468207['position']=v['Position']['fromObject'](_0x507a53['position']);}return null!=_0x507a53['oldName']&&(_0x468207['oldName']=String(_0x507a53['oldName'])),null!=_0x507a53['newName']&&(_0x468207['newName']=String(_0x507a53['newName'])),null!=_0x507a53['wasUndone']&&(_0x468207['wasUndone']=Boolean(_0x507a53['wasUndone'])),_0x468207;},_0x2d1559['toObject']=function(_0x51b8f7,_0x577e4a){_0x577e4a||(_0x577e4a={});let _0x48bf60={};return _0x577e4a['defaults']&&(_0x48bf60['position']=null,_0x48bf60['oldName']='',_0x48bf60['newName']='',_0x48bf60['wasUndone']=!0x1),null!=_0x51b8f7['position']&&_0x51b8f7['hasOwnProperty']('position')&&(_0x48bf60['position']=v['Position']['toObject'](_0x51b8f7['position'],_0x577e4a)),null!=_0x51b8f7['oldName']&&_0x51b8f7['hasOwnProperty']('oldName')&&(_0x48bf60['oldName']=_0x51b8f7['oldName']),null!=_0x51b8f7['newName']&&_0x51b8f7['hasOwnProperty']('newName')&&(_0x48bf60['newName']=_0x51b8f7['newName']),null!=_0x51b8f7['wasUndone']&&_0x51b8f7['hasOwnProperty']('wasUndone')&&(_0x48bf60['wasUndone']=_0x51b8f7['wasUndone']),_0x48bf60;},_0x2d1559['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x2d1559['getTypeUrl']=function(_0x50f505){return void 0x0===_0x50f505&&(_0x50f505='type.googleapis.com'),_0x50f505+'/RenameOperation';},_0x2d1559;})()),N=v['RootAttributeOperation']=((()=>{function _0x88f8e8(_0x152425){if(_0x152425){for(let _0x885350=Object['keys'](_0x152425),_0x16ad51=0x0;_0x16ad51<_0x885350['length'];++_0x16ad51)null!=_0x152425[_0x885350[_0x16ad51]]&&(this[_0x885350[_0x16ad51]]=_0x152425[_0x885350[_0x16ad51]]);}}return _0x88f8e8['prototype']['root']='',_0x88f8e8['prototype']['key']='',_0x88f8e8['prototype']['oldValueBoolean']=!0x1,_0x88f8e8['prototype']['oldValueJson']='',_0x88f8e8['prototype']['newValueBoolean']=!0x1,_0x88f8e8['prototype']['newValueJson']='',_0x88f8e8['prototype']['wasUndone']=!0x1,_0x88f8e8['create']=function(_0x1876a4){return new _0x88f8e8(_0x1876a4);},_0x88f8e8['encode']=function(_0x55a342,_0x50dfcf){return _0x50dfcf||(_0x50dfcf=y['create']()),null!=_0x55a342['root']&&Object['hasOwnProperty']['call'](_0x55a342,'root')&&_0x50dfcf['uint32'](0xa)['string'](_0x55a342['root']),null!=_0x55a342['key']&&Object['hasOwnProperty']['call'](_0x55a342,'key')&&_0x50dfcf['uint32'](0x12)['string'](_0x55a342['key']),null!=_0x55a342['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x55a342,'oldValueBoolean')&&_0x50dfcf['uint32'](0x18)['bool'](_0x55a342['oldValueBoolean']),null!=_0x55a342['oldValueJson']&&Object['hasOwnProperty']['call'](_0x55a342,'oldValueJson')&&_0x50dfcf['uint32'](0x22)['string'](_0x55a342['oldValueJson']),null!=_0x55a342['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x55a342,'newValueBoolean')&&_0x50dfcf['uint32'](0x28)['bool'](_0x55a342['newValueBoolean']),null!=_0x55a342['newValueJson']&&Object['hasOwnProperty']['call'](_0x55a342,'newValueJson')&&_0x50dfcf['uint32'](0x32)['string'](_0x55a342['newValueJson']),null!=_0x55a342['wasUndone']&&Object['hasOwnProperty']['call'](_0x55a342,'wasUndone')&&_0x50dfcf['uint32'](0x38)['bool'](_0x55a342['wasUndone']),_0x50dfcf;},_0x88f8e8['encodeDelimited']=function(_0xdcea01,_0x4d677c){return this['encode'](_0xdcea01,_0x4d677c)['ldelim']();},_0x88f8e8['decode']=function(_0x408f2a,_0x2b39d3){_0x408f2a instanceof j||(_0x408f2a=j['create'](_0x408f2a));let _0x9a40ab=void 0x0===_0x2b39d3?_0x408f2a['len']:_0x408f2a['pos']+_0x2b39d3,_0x31b65c=new v['RootAttributeOperation']();for(;_0x408f2a['pos']<_0x9a40ab;){let _0x42c816=_0x408f2a['uint32']();switch(_0x42c816>>>0x3){case 0x1:_0x31b65c['root']=_0x408f2a['string']();break;case 0x2:_0x31b65c['key']=_0x408f2a['string']();break;case 0x3:_0x31b65c['oldValueBoolean']=_0x408f2a['bool']();break;case 0x4:_0x31b65c['oldValueJson']=_0x408f2a['string']();break;case 0x5:_0x31b65c['newValueBoolean']=_0x408f2a['bool']();break;case 0x6:_0x31b65c['newValueJson']=_0x408f2a['string']();break;case 0x7:_0x31b65c['wasUndone']=_0x408f2a['bool']();break;default:_0x408f2a['skipType'](0x7&_0x42c816);}}return _0x31b65c;},_0x88f8e8['decodeDelimited']=function(_0x3987aa){return _0x3987aa instanceof j||(_0x3987aa=new j(_0x3987aa)),this['decode'](_0x3987aa,_0x3987aa['uint32']());},_0x88f8e8['verify']=function(_0x445203){return'object'!=typeof _0x445203||null===_0x445203?'object\x20expected':null!=_0x445203['root']&&_0x445203['hasOwnProperty']('root')&&!k['isString'](_0x445203['root'])?'root:\x20string\x20expected':null!=_0x445203['key']&&_0x445203['hasOwnProperty']('key')&&!k['isString'](_0x445203['key'])?'key:\x20string\x20expected':null!=_0x445203['oldValueBoolean']&&_0x445203['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x445203['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x445203['oldValueJson']&&_0x445203['hasOwnProperty']('oldValueJson')&&!k['isString'](_0x445203['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x445203['newValueBoolean']&&_0x445203['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x445203['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x445203['newValueJson']&&_0x445203['hasOwnProperty']('newValueJson')&&!k['isString'](_0x445203['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x445203['wasUndone']&&_0x445203['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x445203['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x88f8e8['fromObject']=function(_0x16d75c){if(_0x16d75c instanceof v['RootAttributeOperation'])return _0x16d75c;let _0x367448=new v['RootAttributeOperation']();return null!=_0x16d75c['root']&&(_0x367448['root']=String(_0x16d75c['root'])),null!=_0x16d75c['key']&&(_0x367448['key']=String(_0x16d75c['key'])),null!=_0x16d75c['oldValueBoolean']&&(_0x367448['oldValueBoolean']=Boolean(_0x16d75c['oldValueBoolean'])),null!=_0x16d75c['oldValueJson']&&(_0x367448['oldValueJson']=String(_0x16d75c['oldValueJson'])),null!=_0x16d75c['newValueBoolean']&&(_0x367448['newValueBoolean']=Boolean(_0x16d75c['newValueBoolean'])),null!=_0x16d75c['newValueJson']&&(_0x367448['newValueJson']=String(_0x16d75c['newValueJson'])),null!=_0x16d75c['wasUndone']&&(_0x367448['wasUndone']=Boolean(_0x16d75c['wasUndone'])),_0x367448;},_0x88f8e8['toObject']=function(_0x55bb75,_0x264b2b){_0x264b2b||(_0x264b2b={});let _0x31d090={};return _0x264b2b['defaults']&&(_0x31d090['root']='',_0x31d090['key']='',_0x31d090['oldValueBoolean']=!0x1,_0x31d090['oldValueJson']='',_0x31d090['newValueBoolean']=!0x1,_0x31d090['newValueJson']='',_0x31d090['wasUndone']=!0x1),null!=_0x55bb75['root']&&_0x55bb75['hasOwnProperty']('root')&&(_0x31d090['root']=_0x55bb75['root']),null!=_0x55bb75['key']&&_0x55bb75['hasOwnProperty']('key')&&(_0x31d090['key']=_0x55bb75['key']),null!=_0x55bb75['oldValueBoolean']&&_0x55bb75['hasOwnProperty']('oldValueBoolean')&&(_0x31d090['oldValueBoolean']=_0x55bb75['oldValueBoolean']),null!=_0x55bb75['oldValueJson']&&_0x55bb75['hasOwnProperty']('oldValueJson')&&(_0x31d090['oldValueJson']=_0x55bb75['oldValueJson']),null!=_0x55bb75['newValueBoolean']&&_0x55bb75['hasOwnProperty']('newValueBoolean')&&(_0x31d090['newValueBoolean']=_0x55bb75['newValueBoolean']),null!=_0x55bb75['newValueJson']&&_0x55bb75['hasOwnProperty']('newValueJson')&&(_0x31d090['newValueJson']=_0x55bb75['newValueJson']),null!=_0x55bb75['wasUndone']&&_0x55bb75['hasOwnProperty']('wasUndone')&&(_0x31d090['wasUndone']=_0x55bb75['wasUndone']),_0x31d090;},_0x88f8e8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x88f8e8['getTypeUrl']=function(_0x12d73a){return void 0x0===_0x12d73a&&(_0x12d73a='type.googleapis.com'),_0x12d73a+'/RootAttributeOperation';},_0x88f8e8;})()),R=v['RootOperation']=((()=>{function _0x501943(_0x55b06e){if(_0x55b06e){for(let _0x576085=Object['keys'](_0x55b06e),_0x351398=0x0;_0x351398<_0x576085['length'];++_0x351398)null!=_0x55b06e[_0x576085[_0x351398]]&&(this[_0x576085[_0x351398]]=_0x55b06e[_0x576085[_0x351398]]);}}return _0x501943['prototype']['rootName']='',_0x501943['prototype']['elementName']='',_0x501943['prototype']['isAdd']=!0x1,_0x501943['prototype']['wasUndone']=!0x1,_0x501943['create']=function(_0x51d9a1){return new _0x501943(_0x51d9a1);},_0x501943['encode']=function(_0x30f636,_0x226a8e){return _0x226a8e||(_0x226a8e=y['create']()),null!=_0x30f636['rootName']&&Object['hasOwnProperty']['call'](_0x30f636,'rootName')&&_0x226a8e['uint32'](0xa)['string'](_0x30f636['rootName']),null!=_0x30f636['elementName']&&Object['hasOwnProperty']['call'](_0x30f636,'elementName')&&_0x226a8e['uint32'](0x12)['string'](_0x30f636['elementName']),null!=_0x30f636['isAdd']&&Object['hasOwnProperty']['call'](_0x30f636,'isAdd')&&_0x226a8e['uint32'](0x18)['bool'](_0x30f636['isAdd']),null!=_0x30f636['wasUndone']&&Object['hasOwnProperty']['call'](_0x30f636,'wasUndone')&&_0x226a8e['uint32'](0x20)['bool'](_0x30f636['wasUndone']),_0x226a8e;},_0x501943['encodeDelimited']=function(_0x4b3837,_0x17c364){return this['encode'](_0x4b3837,_0x17c364)['ldelim']();},_0x501943['decode']=function(_0x5dda7d,_0x267dfe){_0x5dda7d instanceof j||(_0x5dda7d=j['create'](_0x5dda7d));let _0x32e63a=void 0x0===_0x267dfe?_0x5dda7d['len']:_0x5dda7d['pos']+_0x267dfe,_0x310c8a=new v['RootOperation']();for(;_0x5dda7d['pos']<_0x32e63a;){let _0x49f743=_0x5dda7d['uint32']();switch(_0x49f743>>>0x3){case 0x1:_0x310c8a['rootName']=_0x5dda7d['string']();break;case 0x2:_0x310c8a['elementName']=_0x5dda7d['string']();break;case 0x3:_0x310c8a['isAdd']=_0x5dda7d['bool']();break;case 0x4:_0x310c8a['wasUndone']=_0x5dda7d['bool']();break;default:_0x5dda7d['skipType'](0x7&_0x49f743);}}return _0x310c8a;},_0x501943['decodeDelimited']=function(_0x2a34b0){return _0x2a34b0 instanceof j||(_0x2a34b0=new j(_0x2a34b0)),this['decode'](_0x2a34b0,_0x2a34b0['uint32']());},_0x501943['verify']=function(_0x4822c5){return'object'!=typeof _0x4822c5||null===_0x4822c5?'object\x20expected':null!=_0x4822c5['rootName']&&_0x4822c5['hasOwnProperty']('rootName')&&!k['isString'](_0x4822c5['rootName'])?'rootName:\x20string\x20expected':null!=_0x4822c5['elementName']&&_0x4822c5['hasOwnProperty']('elementName')&&!k['isString'](_0x4822c5['elementName'])?'elementName:\x20string\x20expected':null!=_0x4822c5['isAdd']&&_0x4822c5['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x4822c5['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x4822c5['wasUndone']&&_0x4822c5['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4822c5['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x501943['fromObject']=function(_0x4550e3){if(_0x4550e3 instanceof v['RootOperation'])return _0x4550e3;let _0x3521ed=new v['RootOperation']();return null!=_0x4550e3['rootName']&&(_0x3521ed['rootName']=String(_0x4550e3['rootName'])),null!=_0x4550e3['elementName']&&(_0x3521ed['elementName']=String(_0x4550e3['elementName'])),null!=_0x4550e3['isAdd']&&(_0x3521ed['isAdd']=Boolean(_0x4550e3['isAdd'])),null!=_0x4550e3['wasUndone']&&(_0x3521ed['wasUndone']=Boolean(_0x4550e3['wasUndone'])),_0x3521ed;},_0x501943['toObject']=function(_0x3e1ce7,_0x51e585){_0x51e585||(_0x51e585={});let _0x165098={};return _0x51e585['defaults']&&(_0x165098['rootName']='',_0x165098['elementName']='',_0x165098['isAdd']=!0x1,_0x165098['wasUndone']=!0x1),null!=_0x3e1ce7['rootName']&&_0x3e1ce7['hasOwnProperty']('rootName')&&(_0x165098['rootName']=_0x3e1ce7['rootName']),null!=_0x3e1ce7['elementName']&&_0x3e1ce7['hasOwnProperty']('elementName')&&(_0x165098['elementName']=_0x3e1ce7['elementName']),null!=_0x3e1ce7['isAdd']&&_0x3e1ce7['hasOwnProperty']('isAdd')&&(_0x165098['isAdd']=_0x3e1ce7['isAdd']),null!=_0x3e1ce7['wasUndone']&&_0x3e1ce7['hasOwnProperty']('wasUndone')&&(_0x165098['wasUndone']=_0x3e1ce7['wasUndone']),_0x165098;},_0x501943['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x501943['getTypeUrl']=function(_0x2a65c4){return void 0x0===_0x2a65c4&&(_0x2a65c4='type.googleapis.com'),_0x2a65c4+'/RootOperation';},_0x501943;})()),E=v['SplitOperation']=((()=>{function _0xb465a2(_0x4cbb5c){if(_0x4cbb5c){for(let _0x52d090=Object['keys'](_0x4cbb5c),_0x2743a2=0x0;_0x2743a2<_0x52d090['length'];++_0x2743a2)null!=_0x4cbb5c[_0x52d090[_0x2743a2]]&&(this[_0x52d090[_0x2743a2]]=_0x4cbb5c[_0x52d090[_0x2743a2]]);}}return _0xb465a2['prototype']['splitPosition']=null,_0xb465a2['prototype']['graveyardPosition']=null,_0xb465a2['prototype']['howMany']=0x0,_0xb465a2['prototype']['insertionPosition']=null,_0xb465a2['prototype']['wasUndone']=!0x1,_0xb465a2['create']=function(_0x19e86d){return new _0xb465a2(_0x19e86d);},_0xb465a2['encode']=function(_0x3f6a80,_0x28ae1b){return _0x28ae1b||(_0x28ae1b=y['create']()),null!=_0x3f6a80['splitPosition']&&Object['hasOwnProperty']['call'](_0x3f6a80,'splitPosition')&&v['Position']['encode'](_0x3f6a80['splitPosition'],_0x28ae1b['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3f6a80['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x3f6a80,'graveyardPosition')&&v['Position']['encode'](_0x3f6a80['graveyardPosition'],_0x28ae1b['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3f6a80['howMany']&&Object['hasOwnProperty']['call'](_0x3f6a80,'howMany')&&_0x28ae1b['uint32'](0x18)['uint32'](_0x3f6a80['howMany']),null!=_0x3f6a80['insertionPosition']&&Object['hasOwnProperty']['call'](_0x3f6a80,'insertionPosition')&&v['Position']['encode'](_0x3f6a80['insertionPosition'],_0x28ae1b['uint32'](0x22)['fork']())['ldelim'](),null!=_0x3f6a80['wasUndone']&&Object['hasOwnProperty']['call'](_0x3f6a80,'wasUndone')&&_0x28ae1b['uint32'](0x28)['bool'](_0x3f6a80['wasUndone']),_0x28ae1b;},_0xb465a2['encodeDelimited']=function(_0x5dc64e,_0x2b4bdc){return this['encode'](_0x5dc64e,_0x2b4bdc)['ldelim']();},_0xb465a2['decode']=function(_0x23d79a,_0x34f91a){_0x23d79a instanceof j||(_0x23d79a=j['create'](_0x23d79a));let _0xa06dd2=void 0x0===_0x34f91a?_0x23d79a['len']:_0x23d79a['pos']+_0x34f91a,_0x27a7cc=new v['SplitOperation']();for(;_0x23d79a['pos']<_0xa06dd2;){let _0x30db8c=_0x23d79a['uint32']();switch(_0x30db8c>>>0x3){case 0x1:_0x27a7cc['splitPosition']=v['Position']['decode'](_0x23d79a,_0x23d79a['uint32']());break;case 0x2:_0x27a7cc['graveyardPosition']=v['Position']['decode'](_0x23d79a,_0x23d79a['uint32']());break;case 0x3:_0x27a7cc['howMany']=_0x23d79a['uint32']();break;case 0x4:_0x27a7cc['insertionPosition']=v['Position']['decode'](_0x23d79a,_0x23d79a['uint32']());break;case 0x5:_0x27a7cc['wasUndone']=_0x23d79a['bool']();break;default:_0x23d79a['skipType'](0x7&_0x30db8c);}}return _0x27a7cc;},_0xb465a2['decodeDelimited']=function(_0x57cd36){return _0x57cd36 instanceof j||(_0x57cd36=new j(_0x57cd36)),this['decode'](_0x57cd36,_0x57cd36['uint32']());},_0xb465a2['verify']=function(_0x438030){if('object'!=typeof _0x438030||null===_0x438030)return'object\x20expected';if(null!=_0x438030['splitPosition']&&_0x438030['hasOwnProperty']('splitPosition')){let _0x5e6126=v['Position']['verify'](_0x438030['splitPosition']);if(_0x5e6126)return'splitPosition.'+_0x5e6126;}if(null!=_0x438030['graveyardPosition']&&_0x438030['hasOwnProperty']('graveyardPosition')){let _0x24967b=v['Position']['verify'](_0x438030['graveyardPosition']);if(_0x24967b)return'graveyardPosition.'+_0x24967b;}if(null!=_0x438030['howMany']&&_0x438030['hasOwnProperty']('howMany')&&!k['isInteger'](_0x438030['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x438030['insertionPosition']&&_0x438030['hasOwnProperty']('insertionPosition')){let _0x48010f=v['Position']['verify'](_0x438030['insertionPosition']);if(_0x48010f)return'insertionPosition.'+_0x48010f;}return null!=_0x438030['wasUndone']&&_0x438030['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x438030['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xb465a2['fromObject']=function(_0x3543b3){if(_0x3543b3 instanceof v['SplitOperation'])return _0x3543b3;let _0x49122f=new v['SplitOperation']();if(null!=_0x3543b3['splitPosition']){if('object'!=typeof _0x3543b3['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x49122f['splitPosition']=v['Position']['fromObject'](_0x3543b3['splitPosition']);}if(null!=_0x3543b3['graveyardPosition']){if('object'!=typeof _0x3543b3['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x49122f['graveyardPosition']=v['Position']['fromObject'](_0x3543b3['graveyardPosition']);}if(null!=_0x3543b3['howMany']&&(_0x49122f['howMany']=_0x3543b3['howMany']>>>0x0),null!=_0x3543b3['insertionPosition']){if('object'!=typeof _0x3543b3['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x49122f['insertionPosition']=v['Position']['fromObject'](_0x3543b3['insertionPosition']);}return null!=_0x3543b3['wasUndone']&&(_0x49122f['wasUndone']=Boolean(_0x3543b3['wasUndone'])),_0x49122f;},_0xb465a2['toObject']=function(_0x4fdbbc,_0x465323){_0x465323||(_0x465323={});let _0x31f29c={};return _0x465323['defaults']&&(_0x31f29c['splitPosition']=null,_0x31f29c['graveyardPosition']=null,_0x31f29c['howMany']=0x0,_0x31f29c['insertionPosition']=null,_0x31f29c['wasUndone']=!0x1),null!=_0x4fdbbc['splitPosition']&&_0x4fdbbc['hasOwnProperty']('splitPosition')&&(_0x31f29c['splitPosition']=v['Position']['toObject'](_0x4fdbbc['splitPosition'],_0x465323)),null!=_0x4fdbbc['graveyardPosition']&&_0x4fdbbc['hasOwnProperty']('graveyardPosition')&&(_0x31f29c['graveyardPosition']=v['Position']['toObject'](_0x4fdbbc['graveyardPosition'],_0x465323)),null!=_0x4fdbbc['howMany']&&_0x4fdbbc['hasOwnProperty']('howMany')&&(_0x31f29c['howMany']=_0x4fdbbc['howMany']),null!=_0x4fdbbc['insertionPosition']&&_0x4fdbbc['hasOwnProperty']('insertionPosition')&&(_0x31f29c['insertionPosition']=v['Position']['toObject'](_0x4fdbbc['insertionPosition'],_0x465323)),null!=_0x4fdbbc['wasUndone']&&_0x4fdbbc['hasOwnProperty']('wasUndone')&&(_0x31f29c['wasUndone']=_0x4fdbbc['wasUndone']),_0x31f29c;},_0xb465a2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0xb465a2['getTypeUrl']=function(_0x5a6eea){return void 0x0===_0x5a6eea&&(_0x5a6eea='type.googleapis.com'),_0x5a6eea+'/SplitOperation';},_0xb465a2;})()),T=v['Position']=((()=>{function _0xc54725(_0x16fc5c){if(this['path']=[],_0x16fc5c){for(let _0x32385f=Object['keys'](_0x16fc5c),_0x255e35=0x0;_0x255e35<_0x32385f['length'];++_0x255e35)null!=_0x16fc5c[_0x32385f[_0x255e35]]&&(this[_0x32385f[_0x255e35]]=_0x16fc5c[_0x32385f[_0x255e35]]);}}return _0xc54725['prototype']['root']='',_0xc54725['prototype']['rootMain']=!0x1,_0xc54725['prototype']['rootGraveyard']=!0x1,_0xc54725['prototype']['path']=k['emptyArray'],_0xc54725['prototype']['stickiness']='',_0xc54725['create']=function(_0x4fa81b){return new _0xc54725(_0x4fa81b);},_0xc54725['encode']=function(_0x141340,_0x2d8049){if(_0x2d8049||(_0x2d8049=y['create']()),null!=_0x141340['root']&&Object['hasOwnProperty']['call'](_0x141340,'root')&&_0x2d8049['uint32'](0xa)['string'](_0x141340['root']),null!=_0x141340['rootMain']&&Object['hasOwnProperty']['call'](_0x141340,'rootMain')&&_0x2d8049['uint32'](0x10)['bool'](_0x141340['rootMain']),null!=_0x141340['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x141340,'rootGraveyard')&&_0x2d8049['uint32'](0x18)['bool'](_0x141340['rootGraveyard']),null!=_0x141340['path']&&_0x141340['path']['length']){_0x2d8049['uint32'](0x22)['fork']();for(let _0x339472=0x0;_0x339472<_0x141340['path']['length'];++_0x339472)_0x2d8049['uint32'](_0x141340['path'][_0x339472]);_0x2d8049['ldelim']();}return null!=_0x141340['stickiness']&&Object['hasOwnProperty']['call'](_0x141340,'stickiness')&&_0x2d8049['uint32'](0x2a)['string'](_0x141340['stickiness']),_0x2d8049;},_0xc54725['encodeDelimited']=function(_0x2e137c,_0x366916){return this['encode'](_0x2e137c,_0x366916)['ldelim']();},_0xc54725['decode']=function(_0x28315b,_0x5f5b9c){_0x28315b instanceof j||(_0x28315b=j['create'](_0x28315b));let _0x33654b=void 0x0===_0x5f5b9c?_0x28315b['len']:_0x28315b['pos']+_0x5f5b9c,_0x36058e=new v['Position']();for(;_0x28315b['pos']<_0x33654b;){let _0x4ad2a3=_0x28315b['uint32']();switch(_0x4ad2a3>>>0x3){case 0x1:_0x36058e['root']=_0x28315b['string']();break;case 0x2:_0x36058e['rootMain']=_0x28315b['bool']();break;case 0x3:_0x36058e['rootGraveyard']=_0x28315b['bool']();break;case 0x4:if(_0x36058e['path']&&_0x36058e['path']['length']||(_0x36058e['path']=[]),0x2==(0x7&_0x4ad2a3)){let _0x15b274=_0x28315b['uint32']()+_0x28315b['pos'];for(;_0x28315b['pos']<_0x15b274;)_0x36058e['path']['push'](_0x28315b['uint32']());}else _0x36058e['path']['push'](_0x28315b['uint32']());break;case 0x5:_0x36058e['stickiness']=_0x28315b['string']();break;default:_0x28315b['skipType'](0x7&_0x4ad2a3);}}return _0x36058e;},_0xc54725['decodeDelimited']=function(_0x2b8088){return _0x2b8088 instanceof j||(_0x2b8088=new j(_0x2b8088)),this['decode'](_0x2b8088,_0x2b8088['uint32']());},_0xc54725['verify']=function(_0xf3e5f2){if('object'!=typeof _0xf3e5f2||null===_0xf3e5f2)return'object\x20expected';if(null!=_0xf3e5f2['root']&&_0xf3e5f2['hasOwnProperty']('root')&&!k['isString'](_0xf3e5f2['root']))return'root:\x20string\x20expected';if(null!=_0xf3e5f2['rootMain']&&_0xf3e5f2['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0xf3e5f2['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0xf3e5f2['rootGraveyard']&&_0xf3e5f2['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0xf3e5f2['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0xf3e5f2['path']&&_0xf3e5f2['hasOwnProperty']('path')){if(!Array['isArray'](_0xf3e5f2['path']))return'path:\x20array\x20expected';for(let _0x41818e=0x0;_0x41818e<_0xf3e5f2['path']['length'];++_0x41818e)if(!k['isInteger'](_0xf3e5f2['path'][_0x41818e]))return'path:\x20integer[]\x20expected';}return null!=_0xf3e5f2['stickiness']&&_0xf3e5f2['hasOwnProperty']('stickiness')&&!k['isString'](_0xf3e5f2['stickiness'])?'stickiness:\x20string\x20expected':null;},_0xc54725['fromObject']=function(_0x115d26){if(_0x115d26 instanceof v['Position'])return _0x115d26;let _0x1e2074=new v['Position']();if(null!=_0x115d26['root']&&(_0x1e2074['root']=String(_0x115d26['root'])),null!=_0x115d26['rootMain']&&(_0x1e2074['rootMain']=Boolean(_0x115d26['rootMain'])),null!=_0x115d26['rootGraveyard']&&(_0x1e2074['rootGraveyard']=Boolean(_0x115d26['rootGraveyard'])),_0x115d26['path']){if(!Array['isArray'](_0x115d26['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x1e2074['path']=[];for(let _0x4ce200=0x0;_0x4ce200<_0x115d26['path']['length'];++_0x4ce200)_0x1e2074['path'][_0x4ce200]=_0x115d26['path'][_0x4ce200]>>>0x0;}return null!=_0x115d26['stickiness']&&(_0x1e2074['stickiness']=String(_0x115d26['stickiness'])),_0x1e2074;},_0xc54725['toObject']=function(_0x94edd2,_0x585c63){_0x585c63||(_0x585c63={});let _0x3afd45={};if((_0x585c63['arrays']||_0x585c63['defaults'])&&(_0x3afd45['path']=[]),_0x585c63['defaults']&&(_0x3afd45['root']='',_0x3afd45['rootMain']=!0x1,_0x3afd45['rootGraveyard']=!0x1,_0x3afd45['stickiness']=''),null!=_0x94edd2['root']&&_0x94edd2['hasOwnProperty']('root')&&(_0x3afd45['root']=_0x94edd2['root']),null!=_0x94edd2['rootMain']&&_0x94edd2['hasOwnProperty']('rootMain')&&(_0x3afd45['rootMain']=_0x94edd2['rootMain']),null!=_0x94edd2['rootGraveyard']&&_0x94edd2['hasOwnProperty']('rootGraveyard')&&(_0x3afd45['rootGraveyard']=_0x94edd2['rootGraveyard']),_0x94edd2['path']&&_0x94edd2['path']['length']){_0x3afd45['path']=[];for(let _0x3ee1bf=0x0;_0x3ee1bf<_0x94edd2['path']['length'];++_0x3ee1bf)_0x3afd45['path'][_0x3ee1bf]=_0x94edd2['path'][_0x3ee1bf];}return null!=_0x94edd2['stickiness']&&_0x94edd2['hasOwnProperty']('stickiness')&&(_0x3afd45['stickiness']=_0x94edd2['stickiness']),_0x3afd45;},_0xc54725['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0xc54725['getTypeUrl']=function(_0x37eb17){return void 0x0===_0x37eb17&&(_0x37eb17='type.googleapis.com'),_0x37eb17+'/Position';},_0xc54725;})()),C=v['Range']=((()=>{function _0x3b2444(_0x51d782){if(_0x51d782){for(let _0xdbbd2d=Object['keys'](_0x51d782),_0x279fd1=0x0;_0x279fd1<_0xdbbd2d['length'];++_0x279fd1)null!=_0x51d782[_0xdbbd2d[_0x279fd1]]&&(this[_0xdbbd2d[_0x279fd1]]=_0x51d782[_0xdbbd2d[_0x279fd1]]);}}return _0x3b2444['prototype']['start']=null,_0x3b2444['prototype']['end']=null,_0x3b2444['create']=function(_0x30ce9c){return new _0x3b2444(_0x30ce9c);},_0x3b2444['encode']=function(_0x2b43a0,_0x3c2f1d){return _0x3c2f1d||(_0x3c2f1d=y['create']()),null!=_0x2b43a0['start']&&Object['hasOwnProperty']['call'](_0x2b43a0,'start')&&v['Position']['encode'](_0x2b43a0['start'],_0x3c2f1d['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2b43a0['end']&&Object['hasOwnProperty']['call'](_0x2b43a0,'end')&&v['Position']['encode'](_0x2b43a0['end'],_0x3c2f1d['uint32'](0x12)['fork']())['ldelim'](),_0x3c2f1d;},_0x3b2444['encodeDelimited']=function(_0x1115ea,_0x5afb51){return this['encode'](_0x1115ea,_0x5afb51)['ldelim']();},_0x3b2444['decode']=function(_0x43f225,_0x693372){_0x43f225 instanceof j||(_0x43f225=j['create'](_0x43f225));let _0xa17163=void 0x0===_0x693372?_0x43f225['len']:_0x43f225['pos']+_0x693372,_0xe62edd=new v['Range']();for(;_0x43f225['pos']<_0xa17163;){let _0x518819=_0x43f225['uint32']();switch(_0x518819>>>0x3){case 0x1:_0xe62edd['start']=v['Position']['decode'](_0x43f225,_0x43f225['uint32']());break;case 0x2:_0xe62edd['end']=v['Position']['decode'](_0x43f225,_0x43f225['uint32']());break;default:_0x43f225['skipType'](0x7&_0x518819);}}return _0xe62edd;},_0x3b2444['decodeDelimited']=function(_0x428729){return _0x428729 instanceof j||(_0x428729=new j(_0x428729)),this['decode'](_0x428729,_0x428729['uint32']());},_0x3b2444['verify']=function(_0x452169){if('object'!=typeof _0x452169||null===_0x452169)return'object\x20expected';if(null!=_0x452169['start']&&_0x452169['hasOwnProperty']('start')){let _0x56b3f6=v['Position']['verify'](_0x452169['start']);if(_0x56b3f6)return'start.'+_0x56b3f6;}if(null!=_0x452169['end']&&_0x452169['hasOwnProperty']('end')){let _0x2c198a=v['Position']['verify'](_0x452169['end']);if(_0x2c198a)return'end.'+_0x2c198a;}return null;},_0x3b2444['fromObject']=function(_0x41f216){if(_0x41f216 instanceof v['Range'])return _0x41f216;let _0x28aa50=new v['Range']();if(null!=_0x41f216['start']){if('object'!=typeof _0x41f216['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x28aa50['start']=v['Position']['fromObject'](_0x41f216['start']);}if(null!=_0x41f216['end']){if('object'!=typeof _0x41f216['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x28aa50['end']=v['Position']['fromObject'](_0x41f216['end']);}return _0x28aa50;},_0x3b2444['toObject']=function(_0x2faf14,_0x1709cf){_0x1709cf||(_0x1709cf={});let _0x254157={};return _0x1709cf['defaults']&&(_0x254157['start']=null,_0x254157['end']=null),null!=_0x2faf14['start']&&_0x2faf14['hasOwnProperty']('start')&&(_0x254157['start']=v['Position']['toObject'](_0x2faf14['start'],_0x1709cf)),null!=_0x2faf14['end']&&_0x2faf14['hasOwnProperty']('end')&&(_0x254157['end']=v['Position']['toObject'](_0x2faf14['end'],_0x1709cf)),_0x254157;},_0x3b2444['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x3b2444['getTypeUrl']=function(_0x2d0ca7){return void 0x0===_0x2d0ca7&&(_0x2d0ca7='type.googleapis.com'),_0x2d0ca7+'/Range';},_0x3b2444;})()),D=v['Element']=((()=>{function _0x32f796(_0x6f1f71){if(this['children']=[],this['attributesBoolean']={},_0x6f1f71){for(let _0x5d1677=Object['keys'](_0x6f1f71),_0x3c31bc=0x0;_0x3c31bc<_0x5d1677['length'];++_0x3c31bc)null!=_0x6f1f71[_0x5d1677[_0x3c31bc]]&&(this[_0x5d1677[_0x3c31bc]]=_0x6f1f71[_0x5d1677[_0x3c31bc]]);}}return _0x32f796['prototype']['name']='',_0x32f796['prototype']['children']=k['emptyArray'],_0x32f796['prototype']['data']='',_0x32f796['prototype']['attributesBoolean']=k['emptyObject'],_0x32f796['prototype']['attributesJson']='',_0x32f796['create']=function(_0x1feceb){return new _0x32f796(_0x1feceb);},_0x32f796['encode']=function(_0x22e3e3,_0x2ffa0b){if(_0x2ffa0b||(_0x2ffa0b=y['create']()),null!=_0x22e3e3['name']&&Object['hasOwnProperty']['call'](_0x22e3e3,'name')&&_0x2ffa0b['uint32'](0xa)['string'](_0x22e3e3['name']),null!=_0x22e3e3['children']&&_0x22e3e3['children']['length']){for(let _0x4d1bdf=0x0;_0x4d1bdf<_0x22e3e3['children']['length'];++_0x4d1bdf)v['Element']['encode'](_0x22e3e3['children'][_0x4d1bdf],_0x2ffa0b['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x22e3e3['data']&&Object['hasOwnProperty']['call'](_0x22e3e3,'data')&&_0x2ffa0b['uint32'](0x1a)['string'](_0x22e3e3['data']),null!=_0x22e3e3['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x22e3e3,'attributesBoolean')){for(let _0x496d47=Object['keys'](_0x22e3e3['attributesBoolean']),_0x201a50=0x0;_0x201a50<_0x496d47['length'];++_0x201a50)_0x2ffa0b['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x496d47[_0x201a50])['uint32'](0x10)['bool'](_0x22e3e3['attributesBoolean'][_0x496d47[_0x201a50]])['ldelim']();}return null!=_0x22e3e3['attributesJson']&&Object['hasOwnProperty']['call'](_0x22e3e3,'attributesJson')&&_0x2ffa0b['uint32'](0x2a)['string'](_0x22e3e3['attributesJson']),_0x2ffa0b;},_0x32f796['encodeDelimited']=function(_0x42dbaa,_0x29c8ab){return this['encode'](_0x42dbaa,_0x29c8ab)['ldelim']();},_0x32f796['decode']=function(_0x2a31bc,_0x1a1fee){_0x2a31bc instanceof j||(_0x2a31bc=j['create'](_0x2a31bc));let _0x4da83e,_0x112bab,_0x48e6e0=void 0x0===_0x1a1fee?_0x2a31bc['len']:_0x2a31bc['pos']+_0x1a1fee,_0x18e304=new v['Element']();for(;_0x2a31bc['pos']<_0x48e6e0;){let _0x3d35fe=_0x2a31bc['uint32']();switch(_0x3d35fe>>>0x3){case 0x1:_0x18e304['name']=_0x2a31bc['string']();break;case 0x2:_0x18e304['children']&&_0x18e304['children']['length']||(_0x18e304['children']=[]),_0x18e304['children']['push'](v['Element']['decode'](_0x2a31bc,_0x2a31bc['uint32']()));break;case 0x3:_0x18e304['data']=_0x2a31bc['string']();break;case 0x4:{_0x18e304['attributesBoolean']===k['emptyObject']&&(_0x18e304['attributesBoolean']={});let _0x32980e=_0x2a31bc['uint32']()+_0x2a31bc['pos'];for(_0x4da83e='',_0x112bab=!0x1;_0x2a31bc['pos']<_0x32980e;){let _0x516d25=_0x2a31bc['uint32']();switch(_0x516d25>>>0x3){case 0x1:_0x4da83e=_0x2a31bc['string']();break;case 0x2:_0x112bab=_0x2a31bc['bool']();break;default:_0x2a31bc['skipType'](0x7&_0x516d25);}}_0x18e304['attributesBoolean'][_0x4da83e]=_0x112bab;break;}case 0x5:_0x18e304['attributesJson']=_0x2a31bc['string']();break;default:_0x2a31bc['skipType'](0x7&_0x3d35fe);}}return _0x18e304;},_0x32f796['decodeDelimited']=function(_0x53700c){return _0x53700c instanceof j||(_0x53700c=new j(_0x53700c)),this['decode'](_0x53700c,_0x53700c['uint32']());},_0x32f796['verify']=function(_0x17bbde){if('object'!=typeof _0x17bbde||null===_0x17bbde)return'object\x20expected';if(null!=_0x17bbde['name']&&_0x17bbde['hasOwnProperty']('name')&&!k['isString'](_0x17bbde['name']))return'name:\x20string\x20expected';if(null!=_0x17bbde['children']&&_0x17bbde['hasOwnProperty']('children')){if(!Array['isArray'](_0x17bbde['children']))return'children:\x20array\x20expected';for(let _0x536393=0x0;_0x536393<_0x17bbde['children']['length'];++_0x536393){let _0x5f4a55=v['Element']['verify'](_0x17bbde['children'][_0x536393]);if(_0x5f4a55)return'children.'+_0x5f4a55;}}if(null!=_0x17bbde['data']&&_0x17bbde['hasOwnProperty']('data')&&!k['isString'](_0x17bbde['data']))return'data:\x20string\x20expected';if(null!=_0x17bbde['attributesBoolean']&&_0x17bbde['hasOwnProperty']('attributesBoolean')){if(!k['isObject'](_0x17bbde['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';let _0x17d733=Object['keys'](_0x17bbde['attributesBoolean']);for(let _0x32118f=0x0;_0x32118f<_0x17d733['length'];++_0x32118f)if('boolean'!=typeof _0x17bbde['attributesBoolean'][_0x17d733[_0x32118f]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x17bbde['attributesJson']&&_0x17bbde['hasOwnProperty']('attributesJson')&&!k['isString'](_0x17bbde['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x32f796['fromObject']=function(_0x55d9ee){if(_0x55d9ee instanceof v['Element'])return _0x55d9ee;let _0x762d53=new v['Element']();if(null!=_0x55d9ee['name']&&(_0x762d53['name']=String(_0x55d9ee['name'])),_0x55d9ee['children']){if(!Array['isArray'](_0x55d9ee['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x762d53['children']=[];for(let _0x4b1664=0x0;_0x4b1664<_0x55d9ee['children']['length'];++_0x4b1664){if('object'!=typeof _0x55d9ee['children'][_0x4b1664])throw TypeError('.Element.children:\x20object\x20expected');_0x762d53['children'][_0x4b1664]=v['Element']['fromObject'](_0x55d9ee['children'][_0x4b1664]);}}if(null!=_0x55d9ee['data']&&(_0x762d53['data']=String(_0x55d9ee['data'])),_0x55d9ee['attributesBoolean']){if('object'!=typeof _0x55d9ee['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x762d53['attributesBoolean']={};for(let _0x176724=Object['keys'](_0x55d9ee['attributesBoolean']),_0x23b444=0x0;_0x23b444<_0x176724['length'];++_0x23b444)_0x762d53['attributesBoolean'][_0x176724[_0x23b444]]=Boolean(_0x55d9ee['attributesBoolean'][_0x176724[_0x23b444]]);}return null!=_0x55d9ee['attributesJson']&&(_0x762d53['attributesJson']=String(_0x55d9ee['attributesJson'])),_0x762d53;},_0x32f796['toObject']=function(_0x4529d9,_0x32141c){_0x32141c||(_0x32141c={});let _0x3194b4,_0x541d68={};if((_0x32141c['arrays']||_0x32141c['defaults'])&&(_0x541d68['children']=[]),(_0x32141c['objects']||_0x32141c['defaults'])&&(_0x541d68['attributesBoolean']={}),_0x32141c['defaults']&&(_0x541d68['name']='',_0x541d68['data']='',_0x541d68['attributesJson']=''),null!=_0x4529d9['name']&&_0x4529d9['hasOwnProperty']('name')&&(_0x541d68['name']=_0x4529d9['name']),_0x4529d9['children']&&_0x4529d9['children']['length']){_0x541d68['children']=[];for(let _0x568a21=0x0;_0x568a21<_0x4529d9['children']['length'];++_0x568a21)_0x541d68['children'][_0x568a21]=v['Element']['toObject'](_0x4529d9['children'][_0x568a21],_0x32141c);}if(null!=_0x4529d9['data']&&_0x4529d9['hasOwnProperty']('data')&&(_0x541d68['data']=_0x4529d9['data']),_0x4529d9['attributesBoolean']&&(_0x3194b4=Object['keys'](_0x4529d9['attributesBoolean']))['length']){_0x541d68['attributesBoolean']={};for(let _0x5992f1=0x0;_0x5992f1<_0x3194b4['length'];++_0x5992f1)_0x541d68['attributesBoolean'][_0x3194b4[_0x5992f1]]=_0x4529d9['attributesBoolean'][_0x3194b4[_0x5992f1]];}return null!=_0x4529d9['attributesJson']&&_0x4529d9['hasOwnProperty']('attributesJson')&&(_0x541d68['attributesJson']=_0x4529d9['attributesJson']),_0x541d68;},_0x32f796['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xa5d20['util']['toJSONOptions']);},_0x32f796['getTypeUrl']=function(_0x576e36){return void 0x0===_0x576e36&&(_0x576e36='type.googleapis.com'),_0x576e36+'/Element';},_0x32f796;})());var u=Object['freeze']({'__proto__':null,'AttributeOperation':M,'Element':D,'InsertOperation':B,'MarkerOperation':V,'MergeOperation':S,'MoveOperation':U,'Position':T,'Range':C,'RenameOperation':A,'RootAttributeOperation':N,'RootOperation':R,'SplitOperation':E,'default':v});class r{['getDescriptor'](_0x3e0aee){return new I(this['_protobufRoot'][_0x3e0aee]);}constructor(){this['_protobufRoot']=u;}}class I{['compress'](_0x27b394){const _0x686a7f=this['_protobuf']['verify'](_0x27b394);if(_0x686a7f)throw Error(_0x686a7f);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x27b394))['finish']();}['decompress'](_0x38d7be){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x38d7be),{'oneofs':!0x0});}constructor(_0x3daba0){this['_protobuf']=_0x3daba0;}}function _(_0x373a05,_0x43eab1){const _0x4f5529=_0x4a9e50(_0x373a05);return _0x4f5529['path'][_0x4f5529['path']['length']-0x1]+=_0x43eab1,_0x4f5529;}function O(_0x3175ab,_0x3e5c0a){return _0x3175ab['root']===_0x3e5c0a['root']&&_0x5df907(_0x3175ab['path'],_0x3e5c0a['path']);}function $(_0x5a38ea){P(_0x5a38ea,_0x9284e9=>('main'==_0x9284e9['root']?(_0x9284e9['rootMain']=!0x0,delete _0x9284e9['root']):'$graveyard'==_0x9284e9['root']&&(_0x9284e9['rootGraveyard']=!0x0,delete _0x9284e9['root']),_0x9284e9));}function J(_0x52a58b){P(_0x52a58b,_0x3cf09b=>(_0x3cf09b['rootMain']?(_0x3cf09b['root']='main',delete _0x3cf09b['rootMain']):_0x3cf09b['rootGraveyard']&&(_0x3cf09b['root']='$graveyard',delete _0x3cf09b['rootGraveyard']),_0x3cf09b));}function P(_0x1e0c55,_0x56917d){for(const _0x2a02d6 in _0x1e0c55){const _0x4efe39=_0x1e0c55[_0x2a02d6];'nodes'!==_0x2a02d6&&_0x244ab3(_0x4efe39)&&(_0x4efe39['path']&&(_0x4efe39['root']||_0x4efe39['rootMain']||_0x4efe39['rootGraveyard'])?_0x1e0c55[_0x2a02d6]=_0x56917d(_0x4efe39):P(_0x4efe39,_0x56917d));}return _0x1e0c55;}class e{['compress'](_0x4377eb,_0x152981){const _0x6f1b4b=_0x152981['shift']();return $(_0x6f1b4b),_0x4377eb['buffers']['push'](this['_protobufDescriptor']['compress'](_0x6f1b4b)),_0x4377eb['types']['push'](this['_id']),!0x0;}['decompress'](_0x4d923e,_0x49daea){_0x49daea['types']['shift']();const _0xedba36=this['_protobufDescriptor']['decompress'](_0x49daea['buffers']['shift']());J(_0xedba36),_0xedba36['__className']=this['_operationName'],_0x4d923e['push'](_0xedba36);}constructor(_0x4702d6,_0x1f5a83,_0x108fcf){this['_id']=_0x4702d6,this['_operationName']=_0x1f5a83,this['_protobufDescriptor']=_0x108fcf;}}class s extends e{['compress'](_0x5508d3,_0x3178ec){const _0x1cc270=_0x3178ec['shift']();return this['_serializeOneOf']('oldValue',_0x1cc270),this['_serializeOneOf']('newValue',_0x1cc270),$(_0x1cc270),_0x5508d3['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1cc270)),_0x5508d3['types']['push'](this['_id']),!0x0;}['decompress'](_0x5593d1,_0xed0b32){const {types:_0x48b4d8,buffers:_0x331b81}=_0xed0b32,_0x2c615a=this['_protobufDescriptor']['decompress'](_0x331b81['shift']());_0x48b4d8['shift'](),this['_deserializeOneOf']('oldValue',_0x2c615a),this['_deserializeOneOf']('newValue',_0x2c615a),J(_0x2c615a),_0x2c615a['__className']=this['_operationName'],_0x5593d1['push'](_0x2c615a);}['_serializeOneOf'](_0x387cf0,_0x142581){const _0x1e11a2=_0x142581[_0x387cf0];'boolean'==typeof _0x1e11a2?_0x142581[_0x387cf0+'Boolean']=_0x1e11a2:_0x142581[_0x387cf0+'Json']=JSON['stringify'](_0x1e11a2);}['_deserializeOneOf'](_0x46db2f,_0x5f3f5c){const _0x221889=_0x46db2f+'Json';_0x5f3f5c[_0x221889]?(_0x5f3f5c[_0x46db2f]=JSON['parse'](_0x5f3f5c[_0x221889]),delete _0x5f3f5c[_0x221889]):(_0x5f3f5c[_0x46db2f]=_0x5f3f5c[_0x46db2f+'Boolean'],delete _0x5f3f5c[_0x46db2f+'Boolean']);}}class i extends e{['compress'](_0x3e381b,_0x104437){const _0x470795=_0x104437['shift']();return this['_serializeNodesAttributes'](_0x470795['nodes']),$(_0x470795),_0x3e381b['buffers']['push'](this['_protobufDescriptor']['compress'](_0x470795)),_0x3e381b['types']['push'](this['_id']),!0x0;}['decompress'](_0x407e86,_0x245e59){const {types:_0x7a7938,buffers:_0x5b76c9}=_0x245e59,_0x3c2fc7=this['_protobufDescriptor']['decompress'](_0x5b76c9['shift']());_0x7a7938['shift'](),_0x3c2fc7['nodes']||(_0x3c2fc7['nodes']=[]),this['_deserializeNodesAttributes'](_0x3c2fc7['nodes']),J(_0x3c2fc7),_0x3c2fc7['__className']=this['_operationName'],_0x407e86['push'](_0x3c2fc7);}['_serializeNodesAttributes'](_0x2e67be){for(const _0x3f1f18 of _0x2e67be){if(_0x3f1f18['attributes']){const _0x54d09b=_0x3f1f18['attributes'];this['_areValuesBoolean'](_0x54d09b)?_0x3f1f18['attributesBoolean']=_0x54d09b:_0x3f1f18['attributesJson']=JSON['stringify'](_0x54d09b);}_0x3f1f18['children']&&this['_serializeNodesAttributes'](_0x3f1f18['children']);}}['_deserializeNodesAttributes'](_0x30b5a1){for(const _0x2d81ee of _0x30b5a1)(_0x2d81ee['attributesBoolean']||_0x2d81ee['attributesJson'])&&(_0x2d81ee['attributesBoolean']?(_0x2d81ee['attributes']=_0x2d81ee['attributesBoolean'],delete _0x2d81ee['attributesBoolean']):(_0x2d81ee['attributes']=JSON['parse'](_0x2d81ee['attributesJson']),delete _0x2d81ee['attributesJson'])),_0x2d81ee['children']&&this['_deserializeNodesAttributes'](_0x2d81ee['children']);}['_areValuesBoolean'](_0x3af2d9){return Object['keys'](_0x3af2d9)['every'](_0x1f4040=>'boolean'==typeof _0x3af2d9[_0x1f4040]);}}class n extends e{['decompress'](_0x2b5aad,_0x389495){super['decompress'](_0x2b5aad,_0x389495);const _0x373a5f=_0x2b5aad[_0x2b5aad['length']-0x1];_0x373a5f['oldRange']||(_0x373a5f['oldRange']=null),_0x373a5f['newRange']||(_0x373a5f['newRange']=null);}}class p extends e{['compress'](_0x5ec01a,_0x1ee1d1){return _0x1ee1d1['shift'](),_0x5ec01a['types']['push'](this['_id']),!0x0;}['decompress'](_0x86982e,_0x1d626a){_0x1d626a['types']['shift'](),_0x86982e['push']({'__className':this['_operationName']});}}class a extends n{['compress'](_0x115541,_0x5ec639){return!('MarkerOperation'!=_0x5ec639[0x0]['__className']||!_0x5ec639[0x0]['name']['startsWith'](this['_omittedNamespace']))&&(_0x5ec639[0x0]['name']=_0x5ec639[0x0]['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x115541,_0x5ec639),!0x0);}['decompress'](_0x49a1de,_0x561db0){super['decompress'](_0x49a1de,_0x561db0);const _0x947330=_0x49a1de[_0x49a1de['length']-0x1];_0x947330['name']=this['_omittedNamespace']+_0x947330['name'];}constructor(_0x509647,_0x3e5686,_0x43c37b,_0x5977e5){super(_0x509647,_0x3e5686,_0x43c37b),this['_omittedNamespace']=_0x5977e5+':';}}class b{['compress'](_0x41f710,_0x328af1){let _0x5a9126;for(;_0x328af1['length']>0x1&&this['_compareOperations'](_0x328af1[0x0],_0x328af1[0x1]);)_0x5a9126?(_0x5a9126=this['_combineNext'](_0x328af1['shift'](),_0x5a9126),_0x41f710['types']['push'](0x0)):(_0x5a9126=_0x4a9e50(_0x328af1['shift']()),_0x41f710['types']['push'](this['_id']));return!!_0x5a9126&&(_0x5a9126=this['_combineNext'](_0x328af1['shift'](),_0x5a9126),_0x41f710['types']['push'](0x0),_0x41f710['buffers']['push'](this['_compressSingleOperation'](_0x5a9126)),!0x0);}['decompress'](_0x1571c7,_0x3f1d93){const _0x328c60=this['_decompressSingleOperation'](_0x3f1d93);for(;0x0==_0x3f1d93['types'][0x0];)_0x3f1d93['types']['shift'](),_0x1571c7['push'](this['_splitCurrent'](_0x328c60));_0x1571c7['push'](_0x328c60);}constructor(_0x220a7c,_0x415fc5){this['_id']=_0x220a7c,this['_context']=_0x415fc5;}}class m extends b{['_combineNext'](_0x50b278,_0x4e7066){return _0x4e7066['nodes'][0x0]['data']+=_0x50b278['nodes'][0x0]['data'],_0x4e7066;}['_splitCurrent'](_0x1e95ba){const _0x3c6d03=_0x4a9e50(_0x1e95ba),_0x1ab33a=_0x3c6d03['nodes'][0x0],_0x121988=_0x1e95ba['nodes'][0x0],_0x7a399=_0x121988['data'][Symbol['iterator']]()['next']()['value'],_0x140291=_0x7a399['length'];return _0x1ab33a['data']=_0x7a399,_0x121988['data']=_0x121988['data']['substr'](_0x140291),_0x1e95ba['position']=_(_0x1e95ba['position'],_0x140291),_0x3c6d03;}['_compareOperations'](_0x196e25,_0x304adb){if(this['_checkOperation'](_0x196e25)&&this['_checkOperation'](_0x304adb)){const _0x7b9ff7=_0x196e25['nodes'][0x0]['data']['length'],_0x286ffe=O(_(_0x196e25['position'],_0x7b9ff7),_0x304adb['position']),_0x29f7f7=_0x196e25['nodes'][0x0],_0x4fd1bd=_0x304adb['nodes'][0x0];return _0x286ffe&&this['_compareAttributes'](_0x29f7f7,_0x4fd1bd);}return!0x1;}['_compressSingleOperation'](_0x4c6480){const _0x51d8bb={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x51d8bb,[_0x4c6480]),_0x51d8bb['buffers'][0x0];}['_decompressSingleOperation'](_0x4ed627){const _0x1f4955=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x1f4955,_0x4ed627),_0x1f4955[0x0];}['_checkOperation'](_0x4b2636){return'InsertOperation'==_0x4b2636['__className']&&0x1==_0x4b2636['nodes']['length']&&_0x4b2636['nodes'][0x0]['data']&&!_0x4b2636['wasUndone']&&0x1==Array['from'](_0x4b2636['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x375744,_0x3960a6){const _0x4d9d94=Object['keys'](_0x375744['attributes']||{}),_0x3cd36b=Object['keys'](_0x3960a6['attributes']||{});return _0x4d9d94['length']===_0x3cd36b['length']&&_0x4d9d94['every'](_0x277091=>_0x3960a6['attributes'][_0x277091]&&_0x3960a6['attributes'][_0x277091]===_0x375744['attributes'][_0x277091]);}}class c extends b{['_combineNext'](_0x24139d,_0xd3c284){return _0xd3c284['howMany']++,_0xd3c284['sourcePosition']=_0x4a9e50(_0x24139d['sourcePosition']),_0xd3c284;}['_splitCurrent'](_0x34a81f){const _0x403734=_0x4a9e50(_0x34a81f);return _0x34a81f['howMany']--,_0x403734['howMany']=0x1,_0x403734['sourcePosition']=_(_0x403734['sourcePosition'],_0x34a81f['howMany']),_0x403734;}['_compareOperations'](_0x5a6914,_0x2b0142){return!(!this['_checkOperation'](_0x5a6914)||!this['_checkOperation'](_0x2b0142))&&(O(_(_0x5a6914['sourcePosition'],-0x1),_0x2b0142['sourcePosition'])&&O(_0x5a6914['targetPosition'],_0x2b0142['targetPosition']));}['_compressSingleOperation'](_0x1252dd){const _0x2f3e56={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x2f3e56,[_0x1252dd]),_0x2f3e56['buffers'][0x0];}['_decompressSingleOperation'](_0x1a97e9){const _0x54dc80=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x54dc80,_0x1a97e9),_0x54dc80[0x0];}['_checkOperation'](_0x266e8a){return'MoveOperation'==_0x266e8a['__className']&&'$graveyard'==_0x266e8a['targetPosition']['root']&&0x1==_0x266e8a['howMany']&&!_0x266e8a['wasUndone'];}}class h extends b{['_combineNext'](_0x3fab2e,_0x4ba438){return _0x4ba438['howMany']++,_0x4ba438;}['_splitCurrent'](_0x47bc46){const _0x5b9a14=_0x4a9e50(_0x47bc46);return _0x5b9a14['howMany']=0x1,_0x47bc46['howMany']--,_0x5b9a14;}['_compareOperations'](_0x2fa488,_0x111dc5){return!(!this['_checkOperation'](_0x2fa488)||!this['_checkOperation'](_0x111dc5))&&(O(_0x2fa488['sourcePosition'],_0x111dc5['sourcePosition'])&&O(_0x2fa488['targetPosition'],_0x111dc5['targetPosition']));}['_compressSingleOperation'](_0x1c4cd7){const _0x6c6110={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x6c6110,[_0x1c4cd7]),_0x6c6110['buffers'][0x0];}['_decompressSingleOperation'](_0x3c9350){const _0x2d8c7=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x2d8c7,_0x3c9350),_0x2d8c7[0x0];}['_checkOperation'](_0x2339e4){return'MoveOperation'==_0x2339e4['__className']&&'$graveyard'==_0x2339e4['targetPosition']['root']&&0x1==_0x2339e4['howMany']&&!_0x2339e4['wasUndone'];}}class f extends b{['compress'](_0x94bcdf,_0x154a61){if(!this['_compareOperations'](_0x154a61[0x0],_0x154a61[0x1]))return!0x1;const _0x4a7f7f=_0x154a61['shift']();return _0x4a7f7f['oldRange']=null,_0x4a7f7f['newRange']&&O(_0x4a7f7f['newRange']['start'],_0x4a7f7f['newRange']['end'])&&(_0x4a7f7f['newRange']['end']=null),_0x154a61['shift'](),_0x94bcdf['types']['push'](this['_id']),_0x94bcdf['types']['push'](0x0),_0x94bcdf['buffers']['push'](this['_compressSingleOperation'](_0x4a7f7f)),!0x0;}['decompress'](_0x4969b3,_0x2c5916){const _0xdac16e=this['_decompressSingleOperation'](_0x2c5916);_0xdac16e['newRange']&&!_0xdac16e['newRange']['end']&&(_0xdac16e['newRange']['end']=_0x4a9e50(_0xdac16e['newRange']['start']));const _0x2f5c8a=_0x4a9e50(_0xdac16e);_0x2f5c8a['newRange']&&(_0x2f5c8a['newRange']['start']['stickiness']='toNone',_0x2f5c8a['newRange']['end']=_0x4a9e50(_0x2f5c8a['newRange']['start'])),_0x2f5c8a['name']='user:position:'+_0x2f5c8a['name']['split'](':')[0x2],_0x2c5916['types']['shift'](),_0x4969b3['push'](_0xdac16e),_0x4969b3['push'](_0x2f5c8a);}['_compressSingleOperation'](_0x2519bb){const _0x295ad0={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x295ad0,[_0x2519bb]),_0x295ad0['buffers'][0x0];}['_decompressSingleOperation'](_0x5c33a1){const _0x5ca578=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x5ca578,_0x5c33a1),_0x5ca578[0x0];}['_compareOperations'](_0x3842bc,_0x4c07ea){return!(!_0x3842bc||!_0x4c07ea)&&('MarkerOperation'==_0x3842bc['__className']&&'MarkerOperation'==_0x4c07ea['__className']&&!(!_0x3842bc['name']['startsWith']('user:')||!_0x4c07ea['name']['startsWith']('user:')||_0x3842bc['name']==_0x4c07ea['name']));}}class g{['compress'](_0x3b6b5a){if(!_0x3b6b5a||!_0x3b6b5a[0x0])throw new _0x538892('no-operations-provided',this);const _0x1ac31b={'types':[],'buffers':[],'baseVersion':_0x3b6b5a[0x0]['baseVersion']};for(;_0x3b6b5a['length'];)this['_getCompressorByName']('UserSelectionAction')['compress'](_0x1ac31b,_0x3b6b5a)||this['_getCompressorByName']('TypingAction')['compress'](_0x1ac31b,_0x3b6b5a)||this['_getCompressorByName']('DeletingAction')['compress'](_0x1ac31b,_0x3b6b5a)||this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x1ac31b,_0x3b6b5a)||this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x1ac31b,_0x3b6b5a)||this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x1ac31b,_0x3b6b5a)||this['_getCompressorByName'](_0x3b6b5a[0x0]['__className'])['compress'](_0x1ac31b,_0x3b6b5a);return _0x1ac31b;}['decompress'](_0x4911c5){const _0x3a37b7=[];for(;_0x4911c5['types']['length'];){this['_compressorById']['get'](_0x4911c5['types'][0x0])['decompress'](_0x3a37b7,_0x4911c5);}return _0x3a37b7['forEach']((_0x412eb3,_0x55e564)=>_0x412eb3['baseVersion']=_0x4911c5['baseVersion']+_0x55e564),_0x3a37b7;}['_getCompressorByName'](_0x35a776){return this['_compressorByName']['get'](_0x35a776);}['_registerOperationCompressor'](_0x4bc3c4,_0x30105f,_0x4ddc8d){const _0x30b4e7=new _0x4ddc8d(_0x4bc3c4,_0x30105f,this['_protobufFactory']['getDescriptor'](_0x30105f));this['_registerCompressor'](_0x4bc3c4,_0x30105f,_0x30b4e7);}['_registerActionCompressor'](_0x217f77,_0x5ad5cd,_0x40b015){const _0x2446cb=new _0x40b015(_0x217f77,this);this['_registerCompressor'](_0x217f77,_0x5ad5cd,_0x2446cb);}['_registerCompressor'](_0x369747,_0x24c46f,_0x3e99ea){this['_compressorById']['set'](_0x369747,_0x3e99ea),this['_compressorByName']['set'](_0x24c46f,_0x3e99ea);}constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new r();const _0xa87211=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new p(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',s),this['_registerOperationCompressor'](0xb,'InsertOperation',i),this['_registerOperationCompressor'](0xc,'MarkerOperation',n),this['_registerOperationCompressor'](0xd,'MergeOperation',e),this['_registerOperationCompressor'](0xe,'MoveOperation',e),this['_registerOperationCompressor'](0xf,'RenameOperation',e),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',s),this['_registerOperationCompressor'](0x11,'SplitOperation',e),this['_registerCompressor'](0x12,'CommentMarkerOperation',new a(0x12,'MarkerOperation',_0xa87211,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new a(0x13,'MarkerOperation',_0xa87211,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',e),this['_registerActionCompressor'](0x64,'TypingAction',m),this['_registerActionCompressor'](0x65,'DeletingAction',c),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',h),this['_registerActionCompressor'](0x67,'UserSelectionAction',f);}}export{g as Compressor};
|
|
23
|
+
import{CKEditorError as _0x35acdd}from'@ckeditor/ckeditor5-utils/dist/index.js';import*as _0x47ac81 from'protobufjs/minimal.js';import{cloneDeep as _0x5bedae,isEqual as _0x382b2c,isObject as _0x4a6bfc}from'lodash-es';const j=_0x47ac81['Reader'],y=_0x47ac81['Writer'],k=_0x47ac81['util'],v=_0x47ac81['roots']['default']||(_0x47ac81['roots']['default']={}),M=v['AttributeOperation']=((()=>{function _0x43fc9d(_0x259888){if(_0x259888){for(let _0x3bee01=Object['keys'](_0x259888),_0x281669=0x0;_0x281669<_0x3bee01['length'];++_0x281669)null!=_0x259888[_0x3bee01[_0x281669]]&&(this[_0x3bee01[_0x281669]]=_0x259888[_0x3bee01[_0x281669]]);}}return _0x43fc9d['prototype']['range']=null,_0x43fc9d['prototype']['key']='',_0x43fc9d['prototype']['oldValueBoolean']=!0x1,_0x43fc9d['prototype']['oldValueJson']='',_0x43fc9d['prototype']['newValueBoolean']=!0x1,_0x43fc9d['prototype']['newValueJson']='',_0x43fc9d['prototype']['wasUndone']=!0x1,_0x43fc9d['create']=function(_0x4061fb){return new _0x43fc9d(_0x4061fb);},_0x43fc9d['encode']=function(_0x12cd95,_0x59c740){return _0x59c740||(_0x59c740=y['create']()),null!=_0x12cd95['range']&&Object['hasOwnProperty']['call'](_0x12cd95,'range')&&v['Range']['encode'](_0x12cd95['range'],_0x59c740['uint32'](0xa)['fork']())['ldelim'](),null!=_0x12cd95['key']&&Object['hasOwnProperty']['call'](_0x12cd95,'key')&&_0x59c740['uint32'](0x12)['string'](_0x12cd95['key']),null!=_0x12cd95['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x12cd95,'oldValueBoolean')&&_0x59c740['uint32'](0x18)['bool'](_0x12cd95['oldValueBoolean']),null!=_0x12cd95['oldValueJson']&&Object['hasOwnProperty']['call'](_0x12cd95,'oldValueJson')&&_0x59c740['uint32'](0x22)['string'](_0x12cd95['oldValueJson']),null!=_0x12cd95['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x12cd95,'newValueBoolean')&&_0x59c740['uint32'](0x28)['bool'](_0x12cd95['newValueBoolean']),null!=_0x12cd95['newValueJson']&&Object['hasOwnProperty']['call'](_0x12cd95,'newValueJson')&&_0x59c740['uint32'](0x32)['string'](_0x12cd95['newValueJson']),null!=_0x12cd95['wasUndone']&&Object['hasOwnProperty']['call'](_0x12cd95,'wasUndone')&&_0x59c740['uint32'](0x38)['bool'](_0x12cd95['wasUndone']),_0x59c740;},_0x43fc9d['encodeDelimited']=function(_0x2eb3d8,_0x1aa677){return this['encode'](_0x2eb3d8,_0x1aa677)['ldelim']();},_0x43fc9d['decode']=function(_0x5d4a1b,_0x3619c5){_0x5d4a1b instanceof j||(_0x5d4a1b=j['create'](_0x5d4a1b));let _0x3bcc2f=void 0x0===_0x3619c5?_0x5d4a1b['len']:_0x5d4a1b['pos']+_0x3619c5,_0x2520db=new v['AttributeOperation']();for(;_0x5d4a1b['pos']<_0x3bcc2f;){let _0x3e48fe=_0x5d4a1b['uint32']();switch(_0x3e48fe>>>0x3){case 0x1:_0x2520db['range']=v['Range']['decode'](_0x5d4a1b,_0x5d4a1b['uint32']());break;case 0x2:_0x2520db['key']=_0x5d4a1b['string']();break;case 0x3:_0x2520db['oldValueBoolean']=_0x5d4a1b['bool']();break;case 0x4:_0x2520db['oldValueJson']=_0x5d4a1b['string']();break;case 0x5:_0x2520db['newValueBoolean']=_0x5d4a1b['bool']();break;case 0x6:_0x2520db['newValueJson']=_0x5d4a1b['string']();break;case 0x7:_0x2520db['wasUndone']=_0x5d4a1b['bool']();break;default:_0x5d4a1b['skipType'](0x7&_0x3e48fe);}}return _0x2520db;},_0x43fc9d['decodeDelimited']=function(_0x2b5bc7){return _0x2b5bc7 instanceof j||(_0x2b5bc7=new j(_0x2b5bc7)),this['decode'](_0x2b5bc7,_0x2b5bc7['uint32']());},_0x43fc9d['verify']=function(_0x22df2e){if('object'!=typeof _0x22df2e||null===_0x22df2e)return'object\x20expected';if(null!=_0x22df2e['range']&&_0x22df2e['hasOwnProperty']('range')){let _0x476a14=v['Range']['verify'](_0x22df2e['range']);if(_0x476a14)return'range.'+_0x476a14;}return null!=_0x22df2e['key']&&_0x22df2e['hasOwnProperty']('key')&&!k['isString'](_0x22df2e['key'])?'key:\x20string\x20expected':null!=_0x22df2e['oldValueBoolean']&&_0x22df2e['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x22df2e['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x22df2e['oldValueJson']&&_0x22df2e['hasOwnProperty']('oldValueJson')&&!k['isString'](_0x22df2e['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x22df2e['newValueBoolean']&&_0x22df2e['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x22df2e['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x22df2e['newValueJson']&&_0x22df2e['hasOwnProperty']('newValueJson')&&!k['isString'](_0x22df2e['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x22df2e['wasUndone']&&_0x22df2e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x22df2e['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x43fc9d['fromObject']=function(_0x1b0fed){if(_0x1b0fed instanceof v['AttributeOperation'])return _0x1b0fed;let _0x321f62=new v['AttributeOperation']();if(null!=_0x1b0fed['range']){if('object'!=typeof _0x1b0fed['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x321f62['range']=v['Range']['fromObject'](_0x1b0fed['range']);}return null!=_0x1b0fed['key']&&(_0x321f62['key']=String(_0x1b0fed['key'])),null!=_0x1b0fed['oldValueBoolean']&&(_0x321f62['oldValueBoolean']=Boolean(_0x1b0fed['oldValueBoolean'])),null!=_0x1b0fed['oldValueJson']&&(_0x321f62['oldValueJson']=String(_0x1b0fed['oldValueJson'])),null!=_0x1b0fed['newValueBoolean']&&(_0x321f62['newValueBoolean']=Boolean(_0x1b0fed['newValueBoolean'])),null!=_0x1b0fed['newValueJson']&&(_0x321f62['newValueJson']=String(_0x1b0fed['newValueJson'])),null!=_0x1b0fed['wasUndone']&&(_0x321f62['wasUndone']=Boolean(_0x1b0fed['wasUndone'])),_0x321f62;},_0x43fc9d['toObject']=function(_0x18d1a6,_0x548bfc){_0x548bfc||(_0x548bfc={});let _0x183104={};return _0x548bfc['defaults']&&(_0x183104['range']=null,_0x183104['key']='',_0x183104['oldValueBoolean']=!0x1,_0x183104['oldValueJson']='',_0x183104['newValueBoolean']=!0x1,_0x183104['newValueJson']='',_0x183104['wasUndone']=!0x1),null!=_0x18d1a6['range']&&_0x18d1a6['hasOwnProperty']('range')&&(_0x183104['range']=v['Range']['toObject'](_0x18d1a6['range'],_0x548bfc)),null!=_0x18d1a6['key']&&_0x18d1a6['hasOwnProperty']('key')&&(_0x183104['key']=_0x18d1a6['key']),null!=_0x18d1a6['oldValueBoolean']&&_0x18d1a6['hasOwnProperty']('oldValueBoolean')&&(_0x183104['oldValueBoolean']=_0x18d1a6['oldValueBoolean']),null!=_0x18d1a6['oldValueJson']&&_0x18d1a6['hasOwnProperty']('oldValueJson')&&(_0x183104['oldValueJson']=_0x18d1a6['oldValueJson']),null!=_0x18d1a6['newValueBoolean']&&_0x18d1a6['hasOwnProperty']('newValueBoolean')&&(_0x183104['newValueBoolean']=_0x18d1a6['newValueBoolean']),null!=_0x18d1a6['newValueJson']&&_0x18d1a6['hasOwnProperty']('newValueJson')&&(_0x183104['newValueJson']=_0x18d1a6['newValueJson']),null!=_0x18d1a6['wasUndone']&&_0x18d1a6['hasOwnProperty']('wasUndone')&&(_0x183104['wasUndone']=_0x18d1a6['wasUndone']),_0x183104;},_0x43fc9d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x43fc9d['getTypeUrl']=function(_0x478bb5){return void 0x0===_0x478bb5&&(_0x478bb5='type.googleapis.com'),_0x478bb5+'/AttributeOperation';},_0x43fc9d;})()),B=v['InsertOperation']=((()=>{function _0x1aa98f(_0xb55167){if(this['nodes']=[],_0xb55167){for(let _0x1c526b=Object['keys'](_0xb55167),_0x2c8e04=0x0;_0x2c8e04<_0x1c526b['length'];++_0x2c8e04)null!=_0xb55167[_0x1c526b[_0x2c8e04]]&&(this[_0x1c526b[_0x2c8e04]]=_0xb55167[_0x1c526b[_0x2c8e04]]);}}return _0x1aa98f['prototype']['position']=null,_0x1aa98f['prototype']['nodes']=k['emptyArray'],_0x1aa98f['prototype']['shouldReceiveAttributes']=!0x1,_0x1aa98f['prototype']['wasUndone']=!0x1,_0x1aa98f['create']=function(_0x531671){return new _0x1aa98f(_0x531671);},_0x1aa98f['encode']=function(_0x44982a,_0x381d5d){if(_0x381d5d||(_0x381d5d=y['create']()),null!=_0x44982a['position']&&Object['hasOwnProperty']['call'](_0x44982a,'position')&&v['Position']['encode'](_0x44982a['position'],_0x381d5d['uint32'](0xa)['fork']())['ldelim'](),null!=_0x44982a['nodes']&&_0x44982a['nodes']['length']){for(let _0x5b2fbe=0x0;_0x5b2fbe<_0x44982a['nodes']['length'];++_0x5b2fbe)v['Element']['encode'](_0x44982a['nodes'][_0x5b2fbe],_0x381d5d['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x44982a['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x44982a,'shouldReceiveAttributes')&&_0x381d5d['uint32'](0x18)['bool'](_0x44982a['shouldReceiveAttributes']),null!=_0x44982a['wasUndone']&&Object['hasOwnProperty']['call'](_0x44982a,'wasUndone')&&_0x381d5d['uint32'](0x20)['bool'](_0x44982a['wasUndone']),_0x381d5d;},_0x1aa98f['encodeDelimited']=function(_0x1db91b,_0x199605){return this['encode'](_0x1db91b,_0x199605)['ldelim']();},_0x1aa98f['decode']=function(_0x3df9f1,_0x306069){_0x3df9f1 instanceof j||(_0x3df9f1=j['create'](_0x3df9f1));let _0x68fb8=void 0x0===_0x306069?_0x3df9f1['len']:_0x3df9f1['pos']+_0x306069,_0x5de372=new v['InsertOperation']();for(;_0x3df9f1['pos']<_0x68fb8;){let _0x3f9403=_0x3df9f1['uint32']();switch(_0x3f9403>>>0x3){case 0x1:_0x5de372['position']=v['Position']['decode'](_0x3df9f1,_0x3df9f1['uint32']());break;case 0x2:_0x5de372['nodes']&&_0x5de372['nodes']['length']||(_0x5de372['nodes']=[]),_0x5de372['nodes']['push'](v['Element']['decode'](_0x3df9f1,_0x3df9f1['uint32']()));break;case 0x3:_0x5de372['shouldReceiveAttributes']=_0x3df9f1['bool']();break;case 0x4:_0x5de372['wasUndone']=_0x3df9f1['bool']();break;default:_0x3df9f1['skipType'](0x7&_0x3f9403);}}return _0x5de372;},_0x1aa98f['decodeDelimited']=function(_0x162c27){return _0x162c27 instanceof j||(_0x162c27=new j(_0x162c27)),this['decode'](_0x162c27,_0x162c27['uint32']());},_0x1aa98f['verify']=function(_0x482486){if('object'!=typeof _0x482486||null===_0x482486)return'object\x20expected';if(null!=_0x482486['position']&&_0x482486['hasOwnProperty']('position')){let _0x4f8cfc=v['Position']['verify'](_0x482486['position']);if(_0x4f8cfc)return'position.'+_0x4f8cfc;}if(null!=_0x482486['nodes']&&_0x482486['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x482486['nodes']))return'nodes:\x20array\x20expected';for(let _0x4beb91=0x0;_0x4beb91<_0x482486['nodes']['length'];++_0x4beb91){let _0x27bf01=v['Element']['verify'](_0x482486['nodes'][_0x4beb91]);if(_0x27bf01)return'nodes.'+_0x27bf01;}}return null!=_0x482486['shouldReceiveAttributes']&&_0x482486['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x482486['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x482486['wasUndone']&&_0x482486['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x482486['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1aa98f['fromObject']=function(_0x31a403){if(_0x31a403 instanceof v['InsertOperation'])return _0x31a403;let _0x3e88cd=new v['InsertOperation']();if(null!=_0x31a403['position']){if('object'!=typeof _0x31a403['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x3e88cd['position']=v['Position']['fromObject'](_0x31a403['position']);}if(_0x31a403['nodes']){if(!Array['isArray'](_0x31a403['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x3e88cd['nodes']=[];for(let _0x5a1ebd=0x0;_0x5a1ebd<_0x31a403['nodes']['length'];++_0x5a1ebd){if('object'!=typeof _0x31a403['nodes'][_0x5a1ebd])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x3e88cd['nodes'][_0x5a1ebd]=v['Element']['fromObject'](_0x31a403['nodes'][_0x5a1ebd]);}}return null!=_0x31a403['shouldReceiveAttributes']&&(_0x3e88cd['shouldReceiveAttributes']=Boolean(_0x31a403['shouldReceiveAttributes'])),null!=_0x31a403['wasUndone']&&(_0x3e88cd['wasUndone']=Boolean(_0x31a403['wasUndone'])),_0x3e88cd;},_0x1aa98f['toObject']=function(_0x12494a,_0x3524f1){_0x3524f1||(_0x3524f1={});let _0x1f24d7={};if((_0x3524f1['arrays']||_0x3524f1['defaults'])&&(_0x1f24d7['nodes']=[]),_0x3524f1['defaults']&&(_0x1f24d7['position']=null,_0x1f24d7['shouldReceiveAttributes']=!0x1,_0x1f24d7['wasUndone']=!0x1),null!=_0x12494a['position']&&_0x12494a['hasOwnProperty']('position')&&(_0x1f24d7['position']=v['Position']['toObject'](_0x12494a['position'],_0x3524f1)),_0x12494a['nodes']&&_0x12494a['nodes']['length']){_0x1f24d7['nodes']=[];for(let _0x29adbf=0x0;_0x29adbf<_0x12494a['nodes']['length'];++_0x29adbf)_0x1f24d7['nodes'][_0x29adbf]=v['Element']['toObject'](_0x12494a['nodes'][_0x29adbf],_0x3524f1);}return null!=_0x12494a['shouldReceiveAttributes']&&_0x12494a['hasOwnProperty']('shouldReceiveAttributes')&&(_0x1f24d7['shouldReceiveAttributes']=_0x12494a['shouldReceiveAttributes']),null!=_0x12494a['wasUndone']&&_0x12494a['hasOwnProperty']('wasUndone')&&(_0x1f24d7['wasUndone']=_0x12494a['wasUndone']),_0x1f24d7;},_0x1aa98f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x1aa98f['getTypeUrl']=function(_0x352764){return void 0x0===_0x352764&&(_0x352764='type.googleapis.com'),_0x352764+'/InsertOperation';},_0x1aa98f;})()),V=v['MarkerOperation']=((()=>{function _0x2b85b6(_0x1e88f5){if(_0x1e88f5){for(let _0x463e6b=Object['keys'](_0x1e88f5),_0x4f15b1=0x0;_0x4f15b1<_0x463e6b['length'];++_0x4f15b1)null!=_0x1e88f5[_0x463e6b[_0x4f15b1]]&&(this[_0x463e6b[_0x4f15b1]]=_0x1e88f5[_0x463e6b[_0x4f15b1]]);}}return _0x2b85b6['prototype']['name']='',_0x2b85b6['prototype']['oldRange']=null,_0x2b85b6['prototype']['newRange']=null,_0x2b85b6['prototype']['affectsData']=!0x1,_0x2b85b6['prototype']['wasUndone']=!0x1,_0x2b85b6['create']=function(_0x11b56f){return new _0x2b85b6(_0x11b56f);},_0x2b85b6['encode']=function(_0x2ac24b,_0x351b63){return _0x351b63||(_0x351b63=y['create']()),null!=_0x2ac24b['name']&&Object['hasOwnProperty']['call'](_0x2ac24b,'name')&&_0x351b63['uint32'](0xa)['string'](_0x2ac24b['name']),null!=_0x2ac24b['oldRange']&&Object['hasOwnProperty']['call'](_0x2ac24b,'oldRange')&&v['Range']['encode'](_0x2ac24b['oldRange'],_0x351b63['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2ac24b['newRange']&&Object['hasOwnProperty']['call'](_0x2ac24b,'newRange')&&v['Range']['encode'](_0x2ac24b['newRange'],_0x351b63['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2ac24b['affectsData']&&Object['hasOwnProperty']['call'](_0x2ac24b,'affectsData')&&_0x351b63['uint32'](0x20)['bool'](_0x2ac24b['affectsData']),null!=_0x2ac24b['wasUndone']&&Object['hasOwnProperty']['call'](_0x2ac24b,'wasUndone')&&_0x351b63['uint32'](0x28)['bool'](_0x2ac24b['wasUndone']),_0x351b63;},_0x2b85b6['encodeDelimited']=function(_0x3afb6a,_0x536ea7){return this['encode'](_0x3afb6a,_0x536ea7)['ldelim']();},_0x2b85b6['decode']=function(_0x120ce8,_0x2d1abc){_0x120ce8 instanceof j||(_0x120ce8=j['create'](_0x120ce8));let _0x469fad=void 0x0===_0x2d1abc?_0x120ce8['len']:_0x120ce8['pos']+_0x2d1abc,_0x306e66=new v['MarkerOperation']();for(;_0x120ce8['pos']<_0x469fad;){let _0x50a754=_0x120ce8['uint32']();switch(_0x50a754>>>0x3){case 0x1:_0x306e66['name']=_0x120ce8['string']();break;case 0x2:_0x306e66['oldRange']=v['Range']['decode'](_0x120ce8,_0x120ce8['uint32']());break;case 0x3:_0x306e66['newRange']=v['Range']['decode'](_0x120ce8,_0x120ce8['uint32']());break;case 0x4:_0x306e66['affectsData']=_0x120ce8['bool']();break;case 0x5:_0x306e66['wasUndone']=_0x120ce8['bool']();break;default:_0x120ce8['skipType'](0x7&_0x50a754);}}return _0x306e66;},_0x2b85b6['decodeDelimited']=function(_0x261d0c){return _0x261d0c instanceof j||(_0x261d0c=new j(_0x261d0c)),this['decode'](_0x261d0c,_0x261d0c['uint32']());},_0x2b85b6['verify']=function(_0xf30bca){if('object'!=typeof _0xf30bca||null===_0xf30bca)return'object\x20expected';if(null!=_0xf30bca['name']&&_0xf30bca['hasOwnProperty']('name')&&!k['isString'](_0xf30bca['name']))return'name:\x20string\x20expected';if(null!=_0xf30bca['oldRange']&&_0xf30bca['hasOwnProperty']('oldRange')){let _0x5b717b=v['Range']['verify'](_0xf30bca['oldRange']);if(_0x5b717b)return'oldRange.'+_0x5b717b;}if(null!=_0xf30bca['newRange']&&_0xf30bca['hasOwnProperty']('newRange')){let _0x2e9ad9=v['Range']['verify'](_0xf30bca['newRange']);if(_0x2e9ad9)return'newRange.'+_0x2e9ad9;}return null!=_0xf30bca['affectsData']&&_0xf30bca['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0xf30bca['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0xf30bca['wasUndone']&&_0xf30bca['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xf30bca['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2b85b6['fromObject']=function(_0x3ae6bf){if(_0x3ae6bf instanceof v['MarkerOperation'])return _0x3ae6bf;let _0x113089=new v['MarkerOperation']();if(null!=_0x3ae6bf['name']&&(_0x113089['name']=String(_0x3ae6bf['name'])),null!=_0x3ae6bf['oldRange']){if('object'!=typeof _0x3ae6bf['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x113089['oldRange']=v['Range']['fromObject'](_0x3ae6bf['oldRange']);}if(null!=_0x3ae6bf['newRange']){if('object'!=typeof _0x3ae6bf['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x113089['newRange']=v['Range']['fromObject'](_0x3ae6bf['newRange']);}return null!=_0x3ae6bf['affectsData']&&(_0x113089['affectsData']=Boolean(_0x3ae6bf['affectsData'])),null!=_0x3ae6bf['wasUndone']&&(_0x113089['wasUndone']=Boolean(_0x3ae6bf['wasUndone'])),_0x113089;},_0x2b85b6['toObject']=function(_0x3a5ebe,_0x208b5a){_0x208b5a||(_0x208b5a={});let _0x63d3c3={};return _0x208b5a['defaults']&&(_0x63d3c3['name']='',_0x63d3c3['oldRange']=null,_0x63d3c3['newRange']=null,_0x63d3c3['affectsData']=!0x1,_0x63d3c3['wasUndone']=!0x1),null!=_0x3a5ebe['name']&&_0x3a5ebe['hasOwnProperty']('name')&&(_0x63d3c3['name']=_0x3a5ebe['name']),null!=_0x3a5ebe['oldRange']&&_0x3a5ebe['hasOwnProperty']('oldRange')&&(_0x63d3c3['oldRange']=v['Range']['toObject'](_0x3a5ebe['oldRange'],_0x208b5a)),null!=_0x3a5ebe['newRange']&&_0x3a5ebe['hasOwnProperty']('newRange')&&(_0x63d3c3['newRange']=v['Range']['toObject'](_0x3a5ebe['newRange'],_0x208b5a)),null!=_0x3a5ebe['affectsData']&&_0x3a5ebe['hasOwnProperty']('affectsData')&&(_0x63d3c3['affectsData']=_0x3a5ebe['affectsData']),null!=_0x3a5ebe['wasUndone']&&_0x3a5ebe['hasOwnProperty']('wasUndone')&&(_0x63d3c3['wasUndone']=_0x3a5ebe['wasUndone']),_0x63d3c3;},_0x2b85b6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x2b85b6['getTypeUrl']=function(_0x328223){return void 0x0===_0x328223&&(_0x328223='type.googleapis.com'),_0x328223+'/MarkerOperation';},_0x2b85b6;})()),S=v['MergeOperation']=((()=>{function _0x2db505(_0x276a0c){if(_0x276a0c){for(let _0x4c155d=Object['keys'](_0x276a0c),_0x228c08=0x0;_0x228c08<_0x4c155d['length'];++_0x228c08)null!=_0x276a0c[_0x4c155d[_0x228c08]]&&(this[_0x4c155d[_0x228c08]]=_0x276a0c[_0x4c155d[_0x228c08]]);}}return _0x2db505['prototype']['sourcePosition']=null,_0x2db505['prototype']['targetPosition']=null,_0x2db505['prototype']['graveyardPosition']=null,_0x2db505['prototype']['howMany']=0x0,_0x2db505['prototype']['wasUndone']=!0x1,_0x2db505['create']=function(_0x477065){return new _0x2db505(_0x477065);},_0x2db505['encode']=function(_0x2d2fb6,_0x12ef35){return _0x12ef35||(_0x12ef35=y['create']()),null!=_0x2d2fb6['sourcePosition']&&Object['hasOwnProperty']['call'](_0x2d2fb6,'sourcePosition')&&v['Position']['encode'](_0x2d2fb6['sourcePosition'],_0x12ef35['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2d2fb6['targetPosition']&&Object['hasOwnProperty']['call'](_0x2d2fb6,'targetPosition')&&v['Position']['encode'](_0x2d2fb6['targetPosition'],_0x12ef35['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2d2fb6['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x2d2fb6,'graveyardPosition')&&v['Position']['encode'](_0x2d2fb6['graveyardPosition'],_0x12ef35['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2d2fb6['howMany']&&Object['hasOwnProperty']['call'](_0x2d2fb6,'howMany')&&_0x12ef35['uint32'](0x20)['uint32'](_0x2d2fb6['howMany']),null!=_0x2d2fb6['wasUndone']&&Object['hasOwnProperty']['call'](_0x2d2fb6,'wasUndone')&&_0x12ef35['uint32'](0x28)['bool'](_0x2d2fb6['wasUndone']),_0x12ef35;},_0x2db505['encodeDelimited']=function(_0x1a20bf,_0x349f67){return this['encode'](_0x1a20bf,_0x349f67)['ldelim']();},_0x2db505['decode']=function(_0x431f0d,_0x46714a){_0x431f0d instanceof j||(_0x431f0d=j['create'](_0x431f0d));let _0x5cfcb7=void 0x0===_0x46714a?_0x431f0d['len']:_0x431f0d['pos']+_0x46714a,_0x58c829=new v['MergeOperation']();for(;_0x431f0d['pos']<_0x5cfcb7;){let _0x3f2c85=_0x431f0d['uint32']();switch(_0x3f2c85>>>0x3){case 0x1:_0x58c829['sourcePosition']=v['Position']['decode'](_0x431f0d,_0x431f0d['uint32']());break;case 0x2:_0x58c829['targetPosition']=v['Position']['decode'](_0x431f0d,_0x431f0d['uint32']());break;case 0x3:_0x58c829['graveyardPosition']=v['Position']['decode'](_0x431f0d,_0x431f0d['uint32']());break;case 0x4:_0x58c829['howMany']=_0x431f0d['uint32']();break;case 0x5:_0x58c829['wasUndone']=_0x431f0d['bool']();break;default:_0x431f0d['skipType'](0x7&_0x3f2c85);}}return _0x58c829;},_0x2db505['decodeDelimited']=function(_0xfb18c9){return _0xfb18c9 instanceof j||(_0xfb18c9=new j(_0xfb18c9)),this['decode'](_0xfb18c9,_0xfb18c9['uint32']());},_0x2db505['verify']=function(_0x30e8f3){if('object'!=typeof _0x30e8f3||null===_0x30e8f3)return'object\x20expected';if(null!=_0x30e8f3['sourcePosition']&&_0x30e8f3['hasOwnProperty']('sourcePosition')){let _0x3abd03=v['Position']['verify'](_0x30e8f3['sourcePosition']);if(_0x3abd03)return'sourcePosition.'+_0x3abd03;}if(null!=_0x30e8f3['targetPosition']&&_0x30e8f3['hasOwnProperty']('targetPosition')){let _0x27e97a=v['Position']['verify'](_0x30e8f3['targetPosition']);if(_0x27e97a)return'targetPosition.'+_0x27e97a;}if(null!=_0x30e8f3['graveyardPosition']&&_0x30e8f3['hasOwnProperty']('graveyardPosition')){let _0x19fef3=v['Position']['verify'](_0x30e8f3['graveyardPosition']);if(_0x19fef3)return'graveyardPosition.'+_0x19fef3;}return null!=_0x30e8f3['howMany']&&_0x30e8f3['hasOwnProperty']('howMany')&&!k['isInteger'](_0x30e8f3['howMany'])?'howMany:\x20integer\x20expected':null!=_0x30e8f3['wasUndone']&&_0x30e8f3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x30e8f3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2db505['fromObject']=function(_0x41c35e){if(_0x41c35e instanceof v['MergeOperation'])return _0x41c35e;let _0x451321=new v['MergeOperation']();if(null!=_0x41c35e['sourcePosition']){if('object'!=typeof _0x41c35e['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x451321['sourcePosition']=v['Position']['fromObject'](_0x41c35e['sourcePosition']);}if(null!=_0x41c35e['targetPosition']){if('object'!=typeof _0x41c35e['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x451321['targetPosition']=v['Position']['fromObject'](_0x41c35e['targetPosition']);}if(null!=_0x41c35e['graveyardPosition']){if('object'!=typeof _0x41c35e['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x451321['graveyardPosition']=v['Position']['fromObject'](_0x41c35e['graveyardPosition']);}return null!=_0x41c35e['howMany']&&(_0x451321['howMany']=_0x41c35e['howMany']>>>0x0),null!=_0x41c35e['wasUndone']&&(_0x451321['wasUndone']=Boolean(_0x41c35e['wasUndone'])),_0x451321;},_0x2db505['toObject']=function(_0x576da7,_0x42db14){_0x42db14||(_0x42db14={});let _0x57c6e6={};return _0x42db14['defaults']&&(_0x57c6e6['sourcePosition']=null,_0x57c6e6['targetPosition']=null,_0x57c6e6['graveyardPosition']=null,_0x57c6e6['howMany']=0x0,_0x57c6e6['wasUndone']=!0x1),null!=_0x576da7['sourcePosition']&&_0x576da7['hasOwnProperty']('sourcePosition')&&(_0x57c6e6['sourcePosition']=v['Position']['toObject'](_0x576da7['sourcePosition'],_0x42db14)),null!=_0x576da7['targetPosition']&&_0x576da7['hasOwnProperty']('targetPosition')&&(_0x57c6e6['targetPosition']=v['Position']['toObject'](_0x576da7['targetPosition'],_0x42db14)),null!=_0x576da7['graveyardPosition']&&_0x576da7['hasOwnProperty']('graveyardPosition')&&(_0x57c6e6['graveyardPosition']=v['Position']['toObject'](_0x576da7['graveyardPosition'],_0x42db14)),null!=_0x576da7['howMany']&&_0x576da7['hasOwnProperty']('howMany')&&(_0x57c6e6['howMany']=_0x576da7['howMany']),null!=_0x576da7['wasUndone']&&_0x576da7['hasOwnProperty']('wasUndone')&&(_0x57c6e6['wasUndone']=_0x576da7['wasUndone']),_0x57c6e6;},_0x2db505['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x2db505['getTypeUrl']=function(_0x139b4b){return void 0x0===_0x139b4b&&(_0x139b4b='type.googleapis.com'),_0x139b4b+'/MergeOperation';},_0x2db505;})()),U=v['MoveOperation']=((()=>{function _0x75d0e(_0x9d3eec){if(_0x9d3eec){for(let _0x5dd482=Object['keys'](_0x9d3eec),_0x6446d0=0x0;_0x6446d0<_0x5dd482['length'];++_0x6446d0)null!=_0x9d3eec[_0x5dd482[_0x6446d0]]&&(this[_0x5dd482[_0x6446d0]]=_0x9d3eec[_0x5dd482[_0x6446d0]]);}}return _0x75d0e['prototype']['sourcePosition']=null,_0x75d0e['prototype']['howMany']=0x0,_0x75d0e['prototype']['targetPosition']=null,_0x75d0e['prototype']['wasUndone']=!0x1,_0x75d0e['create']=function(_0x34ad2f){return new _0x75d0e(_0x34ad2f);},_0x75d0e['encode']=function(_0xe343e6,_0x47c53d){return _0x47c53d||(_0x47c53d=y['create']()),null!=_0xe343e6['sourcePosition']&&Object['hasOwnProperty']['call'](_0xe343e6,'sourcePosition')&&v['Position']['encode'](_0xe343e6['sourcePosition'],_0x47c53d['uint32'](0xa)['fork']())['ldelim'](),null!=_0xe343e6['howMany']&&Object['hasOwnProperty']['call'](_0xe343e6,'howMany')&&_0x47c53d['uint32'](0x10)['uint32'](_0xe343e6['howMany']),null!=_0xe343e6['targetPosition']&&Object['hasOwnProperty']['call'](_0xe343e6,'targetPosition')&&v['Position']['encode'](_0xe343e6['targetPosition'],_0x47c53d['uint32'](0x1a)['fork']())['ldelim'](),null!=_0xe343e6['wasUndone']&&Object['hasOwnProperty']['call'](_0xe343e6,'wasUndone')&&_0x47c53d['uint32'](0x20)['bool'](_0xe343e6['wasUndone']),_0x47c53d;},_0x75d0e['encodeDelimited']=function(_0x58a117,_0x2d4ec7){return this['encode'](_0x58a117,_0x2d4ec7)['ldelim']();},_0x75d0e['decode']=function(_0xe4c56e,_0x4d3fd){_0xe4c56e instanceof j||(_0xe4c56e=j['create'](_0xe4c56e));let _0x1ddb62=void 0x0===_0x4d3fd?_0xe4c56e['len']:_0xe4c56e['pos']+_0x4d3fd,_0x32b874=new v['MoveOperation']();for(;_0xe4c56e['pos']<_0x1ddb62;){let _0x35594e=_0xe4c56e['uint32']();switch(_0x35594e>>>0x3){case 0x1:_0x32b874['sourcePosition']=v['Position']['decode'](_0xe4c56e,_0xe4c56e['uint32']());break;case 0x2:_0x32b874['howMany']=_0xe4c56e['uint32']();break;case 0x3:_0x32b874['targetPosition']=v['Position']['decode'](_0xe4c56e,_0xe4c56e['uint32']());break;case 0x4:_0x32b874['wasUndone']=_0xe4c56e['bool']();break;default:_0xe4c56e['skipType'](0x7&_0x35594e);}}return _0x32b874;},_0x75d0e['decodeDelimited']=function(_0x4faf1d){return _0x4faf1d instanceof j||(_0x4faf1d=new j(_0x4faf1d)),this['decode'](_0x4faf1d,_0x4faf1d['uint32']());},_0x75d0e['verify']=function(_0x5f506b){if('object'!=typeof _0x5f506b||null===_0x5f506b)return'object\x20expected';if(null!=_0x5f506b['sourcePosition']&&_0x5f506b['hasOwnProperty']('sourcePosition')){let _0x3d11e1=v['Position']['verify'](_0x5f506b['sourcePosition']);if(_0x3d11e1)return'sourcePosition.'+_0x3d11e1;}if(null!=_0x5f506b['howMany']&&_0x5f506b['hasOwnProperty']('howMany')&&!k['isInteger'](_0x5f506b['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x5f506b['targetPosition']&&_0x5f506b['hasOwnProperty']('targetPosition')){let _0x49495c=v['Position']['verify'](_0x5f506b['targetPosition']);if(_0x49495c)return'targetPosition.'+_0x49495c;}return null!=_0x5f506b['wasUndone']&&_0x5f506b['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5f506b['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x75d0e['fromObject']=function(_0x1b506d){if(_0x1b506d instanceof v['MoveOperation'])return _0x1b506d;let _0x587497=new v['MoveOperation']();if(null!=_0x1b506d['sourcePosition']){if('object'!=typeof _0x1b506d['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x587497['sourcePosition']=v['Position']['fromObject'](_0x1b506d['sourcePosition']);}if(null!=_0x1b506d['howMany']&&(_0x587497['howMany']=_0x1b506d['howMany']>>>0x0),null!=_0x1b506d['targetPosition']){if('object'!=typeof _0x1b506d['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x587497['targetPosition']=v['Position']['fromObject'](_0x1b506d['targetPosition']);}return null!=_0x1b506d['wasUndone']&&(_0x587497['wasUndone']=Boolean(_0x1b506d['wasUndone'])),_0x587497;},_0x75d0e['toObject']=function(_0x41ace0,_0x550a55){_0x550a55||(_0x550a55={});let _0xa64f95={};return _0x550a55['defaults']&&(_0xa64f95['sourcePosition']=null,_0xa64f95['howMany']=0x0,_0xa64f95['targetPosition']=null,_0xa64f95['wasUndone']=!0x1),null!=_0x41ace0['sourcePosition']&&_0x41ace0['hasOwnProperty']('sourcePosition')&&(_0xa64f95['sourcePosition']=v['Position']['toObject'](_0x41ace0['sourcePosition'],_0x550a55)),null!=_0x41ace0['howMany']&&_0x41ace0['hasOwnProperty']('howMany')&&(_0xa64f95['howMany']=_0x41ace0['howMany']),null!=_0x41ace0['targetPosition']&&_0x41ace0['hasOwnProperty']('targetPosition')&&(_0xa64f95['targetPosition']=v['Position']['toObject'](_0x41ace0['targetPosition'],_0x550a55)),null!=_0x41ace0['wasUndone']&&_0x41ace0['hasOwnProperty']('wasUndone')&&(_0xa64f95['wasUndone']=_0x41ace0['wasUndone']),_0xa64f95;},_0x75d0e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x75d0e['getTypeUrl']=function(_0x2729ba){return void 0x0===_0x2729ba&&(_0x2729ba='type.googleapis.com'),_0x2729ba+'/MoveOperation';},_0x75d0e;})()),A=v['RenameOperation']=((()=>{function _0x2b6d75(_0x16f837){if(_0x16f837){for(let _0x54db14=Object['keys'](_0x16f837),_0x39189c=0x0;_0x39189c<_0x54db14['length'];++_0x39189c)null!=_0x16f837[_0x54db14[_0x39189c]]&&(this[_0x54db14[_0x39189c]]=_0x16f837[_0x54db14[_0x39189c]]);}}return _0x2b6d75['prototype']['position']=null,_0x2b6d75['prototype']['oldName']='',_0x2b6d75['prototype']['newName']='',_0x2b6d75['prototype']['wasUndone']=!0x1,_0x2b6d75['create']=function(_0x30ad40){return new _0x2b6d75(_0x30ad40);},_0x2b6d75['encode']=function(_0x3b4aa2,_0x411912){return _0x411912||(_0x411912=y['create']()),null!=_0x3b4aa2['position']&&Object['hasOwnProperty']['call'](_0x3b4aa2,'position')&&v['Position']['encode'](_0x3b4aa2['position'],_0x411912['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3b4aa2['oldName']&&Object['hasOwnProperty']['call'](_0x3b4aa2,'oldName')&&_0x411912['uint32'](0x12)['string'](_0x3b4aa2['oldName']),null!=_0x3b4aa2['newName']&&Object['hasOwnProperty']['call'](_0x3b4aa2,'newName')&&_0x411912['uint32'](0x1a)['string'](_0x3b4aa2['newName']),null!=_0x3b4aa2['wasUndone']&&Object['hasOwnProperty']['call'](_0x3b4aa2,'wasUndone')&&_0x411912['uint32'](0x20)['bool'](_0x3b4aa2['wasUndone']),_0x411912;},_0x2b6d75['encodeDelimited']=function(_0x4d5db3,_0x3cbf54){return this['encode'](_0x4d5db3,_0x3cbf54)['ldelim']();},_0x2b6d75['decode']=function(_0x14f9d2,_0x585cc2){_0x14f9d2 instanceof j||(_0x14f9d2=j['create'](_0x14f9d2));let _0x5b77c3=void 0x0===_0x585cc2?_0x14f9d2['len']:_0x14f9d2['pos']+_0x585cc2,_0x62c644=new v['RenameOperation']();for(;_0x14f9d2['pos']<_0x5b77c3;){let _0x125895=_0x14f9d2['uint32']();switch(_0x125895>>>0x3){case 0x1:_0x62c644['position']=v['Position']['decode'](_0x14f9d2,_0x14f9d2['uint32']());break;case 0x2:_0x62c644['oldName']=_0x14f9d2['string']();break;case 0x3:_0x62c644['newName']=_0x14f9d2['string']();break;case 0x4:_0x62c644['wasUndone']=_0x14f9d2['bool']();break;default:_0x14f9d2['skipType'](0x7&_0x125895);}}return _0x62c644;},_0x2b6d75['decodeDelimited']=function(_0x5a3c81){return _0x5a3c81 instanceof j||(_0x5a3c81=new j(_0x5a3c81)),this['decode'](_0x5a3c81,_0x5a3c81['uint32']());},_0x2b6d75['verify']=function(_0x47b631){if('object'!=typeof _0x47b631||null===_0x47b631)return'object\x20expected';if(null!=_0x47b631['position']&&_0x47b631['hasOwnProperty']('position')){let _0x547f20=v['Position']['verify'](_0x47b631['position']);if(_0x547f20)return'position.'+_0x547f20;}return null!=_0x47b631['oldName']&&_0x47b631['hasOwnProperty']('oldName')&&!k['isString'](_0x47b631['oldName'])?'oldName:\x20string\x20expected':null!=_0x47b631['newName']&&_0x47b631['hasOwnProperty']('newName')&&!k['isString'](_0x47b631['newName'])?'newName:\x20string\x20expected':null!=_0x47b631['wasUndone']&&_0x47b631['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x47b631['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2b6d75['fromObject']=function(_0x13f039){if(_0x13f039 instanceof v['RenameOperation'])return _0x13f039;let _0x19a195=new v['RenameOperation']();if(null!=_0x13f039['position']){if('object'!=typeof _0x13f039['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x19a195['position']=v['Position']['fromObject'](_0x13f039['position']);}return null!=_0x13f039['oldName']&&(_0x19a195['oldName']=String(_0x13f039['oldName'])),null!=_0x13f039['newName']&&(_0x19a195['newName']=String(_0x13f039['newName'])),null!=_0x13f039['wasUndone']&&(_0x19a195['wasUndone']=Boolean(_0x13f039['wasUndone'])),_0x19a195;},_0x2b6d75['toObject']=function(_0x4872da,_0x595823){_0x595823||(_0x595823={});let _0x1473a4={};return _0x595823['defaults']&&(_0x1473a4['position']=null,_0x1473a4['oldName']='',_0x1473a4['newName']='',_0x1473a4['wasUndone']=!0x1),null!=_0x4872da['position']&&_0x4872da['hasOwnProperty']('position')&&(_0x1473a4['position']=v['Position']['toObject'](_0x4872da['position'],_0x595823)),null!=_0x4872da['oldName']&&_0x4872da['hasOwnProperty']('oldName')&&(_0x1473a4['oldName']=_0x4872da['oldName']),null!=_0x4872da['newName']&&_0x4872da['hasOwnProperty']('newName')&&(_0x1473a4['newName']=_0x4872da['newName']),null!=_0x4872da['wasUndone']&&_0x4872da['hasOwnProperty']('wasUndone')&&(_0x1473a4['wasUndone']=_0x4872da['wasUndone']),_0x1473a4;},_0x2b6d75['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x2b6d75['getTypeUrl']=function(_0x346523){return void 0x0===_0x346523&&(_0x346523='type.googleapis.com'),_0x346523+'/RenameOperation';},_0x2b6d75;})()),N=v['RootAttributeOperation']=((()=>{function _0x54c06e(_0x914421){if(_0x914421){for(let _0x545061=Object['keys'](_0x914421),_0x48618a=0x0;_0x48618a<_0x545061['length'];++_0x48618a)null!=_0x914421[_0x545061[_0x48618a]]&&(this[_0x545061[_0x48618a]]=_0x914421[_0x545061[_0x48618a]]);}}return _0x54c06e['prototype']['root']='',_0x54c06e['prototype']['key']='',_0x54c06e['prototype']['oldValueBoolean']=!0x1,_0x54c06e['prototype']['oldValueJson']='',_0x54c06e['prototype']['newValueBoolean']=!0x1,_0x54c06e['prototype']['newValueJson']='',_0x54c06e['prototype']['wasUndone']=!0x1,_0x54c06e['create']=function(_0x3c6d52){return new _0x54c06e(_0x3c6d52);},_0x54c06e['encode']=function(_0x30010a,_0x405b04){return _0x405b04||(_0x405b04=y['create']()),null!=_0x30010a['root']&&Object['hasOwnProperty']['call'](_0x30010a,'root')&&_0x405b04['uint32'](0xa)['string'](_0x30010a['root']),null!=_0x30010a['key']&&Object['hasOwnProperty']['call'](_0x30010a,'key')&&_0x405b04['uint32'](0x12)['string'](_0x30010a['key']),null!=_0x30010a['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x30010a,'oldValueBoolean')&&_0x405b04['uint32'](0x18)['bool'](_0x30010a['oldValueBoolean']),null!=_0x30010a['oldValueJson']&&Object['hasOwnProperty']['call'](_0x30010a,'oldValueJson')&&_0x405b04['uint32'](0x22)['string'](_0x30010a['oldValueJson']),null!=_0x30010a['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x30010a,'newValueBoolean')&&_0x405b04['uint32'](0x28)['bool'](_0x30010a['newValueBoolean']),null!=_0x30010a['newValueJson']&&Object['hasOwnProperty']['call'](_0x30010a,'newValueJson')&&_0x405b04['uint32'](0x32)['string'](_0x30010a['newValueJson']),null!=_0x30010a['wasUndone']&&Object['hasOwnProperty']['call'](_0x30010a,'wasUndone')&&_0x405b04['uint32'](0x38)['bool'](_0x30010a['wasUndone']),_0x405b04;},_0x54c06e['encodeDelimited']=function(_0x37cf16,_0x14a9c7){return this['encode'](_0x37cf16,_0x14a9c7)['ldelim']();},_0x54c06e['decode']=function(_0x593232,_0x266c62){_0x593232 instanceof j||(_0x593232=j['create'](_0x593232));let _0xbc6a0e=void 0x0===_0x266c62?_0x593232['len']:_0x593232['pos']+_0x266c62,_0x4eb5c2=new v['RootAttributeOperation']();for(;_0x593232['pos']<_0xbc6a0e;){let _0x339c41=_0x593232['uint32']();switch(_0x339c41>>>0x3){case 0x1:_0x4eb5c2['root']=_0x593232['string']();break;case 0x2:_0x4eb5c2['key']=_0x593232['string']();break;case 0x3:_0x4eb5c2['oldValueBoolean']=_0x593232['bool']();break;case 0x4:_0x4eb5c2['oldValueJson']=_0x593232['string']();break;case 0x5:_0x4eb5c2['newValueBoolean']=_0x593232['bool']();break;case 0x6:_0x4eb5c2['newValueJson']=_0x593232['string']();break;case 0x7:_0x4eb5c2['wasUndone']=_0x593232['bool']();break;default:_0x593232['skipType'](0x7&_0x339c41);}}return _0x4eb5c2;},_0x54c06e['decodeDelimited']=function(_0x3238a7){return _0x3238a7 instanceof j||(_0x3238a7=new j(_0x3238a7)),this['decode'](_0x3238a7,_0x3238a7['uint32']());},_0x54c06e['verify']=function(_0x585322){return'object'!=typeof _0x585322||null===_0x585322?'object\x20expected':null!=_0x585322['root']&&_0x585322['hasOwnProperty']('root')&&!k['isString'](_0x585322['root'])?'root:\x20string\x20expected':null!=_0x585322['key']&&_0x585322['hasOwnProperty']('key')&&!k['isString'](_0x585322['key'])?'key:\x20string\x20expected':null!=_0x585322['oldValueBoolean']&&_0x585322['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x585322['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x585322['oldValueJson']&&_0x585322['hasOwnProperty']('oldValueJson')&&!k['isString'](_0x585322['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x585322['newValueBoolean']&&_0x585322['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x585322['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x585322['newValueJson']&&_0x585322['hasOwnProperty']('newValueJson')&&!k['isString'](_0x585322['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x585322['wasUndone']&&_0x585322['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x585322['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x54c06e['fromObject']=function(_0x48f151){if(_0x48f151 instanceof v['RootAttributeOperation'])return _0x48f151;let _0x4ee0ac=new v['RootAttributeOperation']();return null!=_0x48f151['root']&&(_0x4ee0ac['root']=String(_0x48f151['root'])),null!=_0x48f151['key']&&(_0x4ee0ac['key']=String(_0x48f151['key'])),null!=_0x48f151['oldValueBoolean']&&(_0x4ee0ac['oldValueBoolean']=Boolean(_0x48f151['oldValueBoolean'])),null!=_0x48f151['oldValueJson']&&(_0x4ee0ac['oldValueJson']=String(_0x48f151['oldValueJson'])),null!=_0x48f151['newValueBoolean']&&(_0x4ee0ac['newValueBoolean']=Boolean(_0x48f151['newValueBoolean'])),null!=_0x48f151['newValueJson']&&(_0x4ee0ac['newValueJson']=String(_0x48f151['newValueJson'])),null!=_0x48f151['wasUndone']&&(_0x4ee0ac['wasUndone']=Boolean(_0x48f151['wasUndone'])),_0x4ee0ac;},_0x54c06e['toObject']=function(_0x1f62dc,_0x3f2a74){_0x3f2a74||(_0x3f2a74={});let _0x5141fe={};return _0x3f2a74['defaults']&&(_0x5141fe['root']='',_0x5141fe['key']='',_0x5141fe['oldValueBoolean']=!0x1,_0x5141fe['oldValueJson']='',_0x5141fe['newValueBoolean']=!0x1,_0x5141fe['newValueJson']='',_0x5141fe['wasUndone']=!0x1),null!=_0x1f62dc['root']&&_0x1f62dc['hasOwnProperty']('root')&&(_0x5141fe['root']=_0x1f62dc['root']),null!=_0x1f62dc['key']&&_0x1f62dc['hasOwnProperty']('key')&&(_0x5141fe['key']=_0x1f62dc['key']),null!=_0x1f62dc['oldValueBoolean']&&_0x1f62dc['hasOwnProperty']('oldValueBoolean')&&(_0x5141fe['oldValueBoolean']=_0x1f62dc['oldValueBoolean']),null!=_0x1f62dc['oldValueJson']&&_0x1f62dc['hasOwnProperty']('oldValueJson')&&(_0x5141fe['oldValueJson']=_0x1f62dc['oldValueJson']),null!=_0x1f62dc['newValueBoolean']&&_0x1f62dc['hasOwnProperty']('newValueBoolean')&&(_0x5141fe['newValueBoolean']=_0x1f62dc['newValueBoolean']),null!=_0x1f62dc['newValueJson']&&_0x1f62dc['hasOwnProperty']('newValueJson')&&(_0x5141fe['newValueJson']=_0x1f62dc['newValueJson']),null!=_0x1f62dc['wasUndone']&&_0x1f62dc['hasOwnProperty']('wasUndone')&&(_0x5141fe['wasUndone']=_0x1f62dc['wasUndone']),_0x5141fe;},_0x54c06e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x54c06e['getTypeUrl']=function(_0x2f044a){return void 0x0===_0x2f044a&&(_0x2f044a='type.googleapis.com'),_0x2f044a+'/RootAttributeOperation';},_0x54c06e;})()),R=v['RootOperation']=((()=>{function _0x319eef(_0x258a46){if(_0x258a46){for(let _0x54a6df=Object['keys'](_0x258a46),_0x35cf10=0x0;_0x35cf10<_0x54a6df['length'];++_0x35cf10)null!=_0x258a46[_0x54a6df[_0x35cf10]]&&(this[_0x54a6df[_0x35cf10]]=_0x258a46[_0x54a6df[_0x35cf10]]);}}return _0x319eef['prototype']['rootName']='',_0x319eef['prototype']['elementName']='',_0x319eef['prototype']['isAdd']=!0x1,_0x319eef['prototype']['wasUndone']=!0x1,_0x319eef['create']=function(_0xb5aa02){return new _0x319eef(_0xb5aa02);},_0x319eef['encode']=function(_0x1b7ac8,_0x37b3f4){return _0x37b3f4||(_0x37b3f4=y['create']()),null!=_0x1b7ac8['rootName']&&Object['hasOwnProperty']['call'](_0x1b7ac8,'rootName')&&_0x37b3f4['uint32'](0xa)['string'](_0x1b7ac8['rootName']),null!=_0x1b7ac8['elementName']&&Object['hasOwnProperty']['call'](_0x1b7ac8,'elementName')&&_0x37b3f4['uint32'](0x12)['string'](_0x1b7ac8['elementName']),null!=_0x1b7ac8['isAdd']&&Object['hasOwnProperty']['call'](_0x1b7ac8,'isAdd')&&_0x37b3f4['uint32'](0x18)['bool'](_0x1b7ac8['isAdd']),null!=_0x1b7ac8['wasUndone']&&Object['hasOwnProperty']['call'](_0x1b7ac8,'wasUndone')&&_0x37b3f4['uint32'](0x20)['bool'](_0x1b7ac8['wasUndone']),_0x37b3f4;},_0x319eef['encodeDelimited']=function(_0x4b3a1c,_0x335791){return this['encode'](_0x4b3a1c,_0x335791)['ldelim']();},_0x319eef['decode']=function(_0x34a475,_0x28e6f9){_0x34a475 instanceof j||(_0x34a475=j['create'](_0x34a475));let _0x2018a9=void 0x0===_0x28e6f9?_0x34a475['len']:_0x34a475['pos']+_0x28e6f9,_0x4509bc=new v['RootOperation']();for(;_0x34a475['pos']<_0x2018a9;){let _0x1dc669=_0x34a475['uint32']();switch(_0x1dc669>>>0x3){case 0x1:_0x4509bc['rootName']=_0x34a475['string']();break;case 0x2:_0x4509bc['elementName']=_0x34a475['string']();break;case 0x3:_0x4509bc['isAdd']=_0x34a475['bool']();break;case 0x4:_0x4509bc['wasUndone']=_0x34a475['bool']();break;default:_0x34a475['skipType'](0x7&_0x1dc669);}}return _0x4509bc;},_0x319eef['decodeDelimited']=function(_0x9ce5f4){return _0x9ce5f4 instanceof j||(_0x9ce5f4=new j(_0x9ce5f4)),this['decode'](_0x9ce5f4,_0x9ce5f4['uint32']());},_0x319eef['verify']=function(_0x164bd3){return'object'!=typeof _0x164bd3||null===_0x164bd3?'object\x20expected':null!=_0x164bd3['rootName']&&_0x164bd3['hasOwnProperty']('rootName')&&!k['isString'](_0x164bd3['rootName'])?'rootName:\x20string\x20expected':null!=_0x164bd3['elementName']&&_0x164bd3['hasOwnProperty']('elementName')&&!k['isString'](_0x164bd3['elementName'])?'elementName:\x20string\x20expected':null!=_0x164bd3['isAdd']&&_0x164bd3['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x164bd3['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x164bd3['wasUndone']&&_0x164bd3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x164bd3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x319eef['fromObject']=function(_0x2bde70){if(_0x2bde70 instanceof v['RootOperation'])return _0x2bde70;let _0x842d01=new v['RootOperation']();return null!=_0x2bde70['rootName']&&(_0x842d01['rootName']=String(_0x2bde70['rootName'])),null!=_0x2bde70['elementName']&&(_0x842d01['elementName']=String(_0x2bde70['elementName'])),null!=_0x2bde70['isAdd']&&(_0x842d01['isAdd']=Boolean(_0x2bde70['isAdd'])),null!=_0x2bde70['wasUndone']&&(_0x842d01['wasUndone']=Boolean(_0x2bde70['wasUndone'])),_0x842d01;},_0x319eef['toObject']=function(_0x290da4,_0x1f2d1b){_0x1f2d1b||(_0x1f2d1b={});let _0x4b0bb6={};return _0x1f2d1b['defaults']&&(_0x4b0bb6['rootName']='',_0x4b0bb6['elementName']='',_0x4b0bb6['isAdd']=!0x1,_0x4b0bb6['wasUndone']=!0x1),null!=_0x290da4['rootName']&&_0x290da4['hasOwnProperty']('rootName')&&(_0x4b0bb6['rootName']=_0x290da4['rootName']),null!=_0x290da4['elementName']&&_0x290da4['hasOwnProperty']('elementName')&&(_0x4b0bb6['elementName']=_0x290da4['elementName']),null!=_0x290da4['isAdd']&&_0x290da4['hasOwnProperty']('isAdd')&&(_0x4b0bb6['isAdd']=_0x290da4['isAdd']),null!=_0x290da4['wasUndone']&&_0x290da4['hasOwnProperty']('wasUndone')&&(_0x4b0bb6['wasUndone']=_0x290da4['wasUndone']),_0x4b0bb6;},_0x319eef['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x319eef['getTypeUrl']=function(_0xbbad8b){return void 0x0===_0xbbad8b&&(_0xbbad8b='type.googleapis.com'),_0xbbad8b+'/RootOperation';},_0x319eef;})()),E=v['SplitOperation']=((()=>{function _0x406b49(_0x29d4e9){if(_0x29d4e9){for(let _0x3c7bd3=Object['keys'](_0x29d4e9),_0x1ef459=0x0;_0x1ef459<_0x3c7bd3['length'];++_0x1ef459)null!=_0x29d4e9[_0x3c7bd3[_0x1ef459]]&&(this[_0x3c7bd3[_0x1ef459]]=_0x29d4e9[_0x3c7bd3[_0x1ef459]]);}}return _0x406b49['prototype']['splitPosition']=null,_0x406b49['prototype']['graveyardPosition']=null,_0x406b49['prototype']['howMany']=0x0,_0x406b49['prototype']['insertionPosition']=null,_0x406b49['prototype']['wasUndone']=!0x1,_0x406b49['create']=function(_0x58f3f7){return new _0x406b49(_0x58f3f7);},_0x406b49['encode']=function(_0x500382,_0x573293){return _0x573293||(_0x573293=y['create']()),null!=_0x500382['splitPosition']&&Object['hasOwnProperty']['call'](_0x500382,'splitPosition')&&v['Position']['encode'](_0x500382['splitPosition'],_0x573293['uint32'](0xa)['fork']())['ldelim'](),null!=_0x500382['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x500382,'graveyardPosition')&&v['Position']['encode'](_0x500382['graveyardPosition'],_0x573293['uint32'](0x12)['fork']())['ldelim'](),null!=_0x500382['howMany']&&Object['hasOwnProperty']['call'](_0x500382,'howMany')&&_0x573293['uint32'](0x18)['uint32'](_0x500382['howMany']),null!=_0x500382['insertionPosition']&&Object['hasOwnProperty']['call'](_0x500382,'insertionPosition')&&v['Position']['encode'](_0x500382['insertionPosition'],_0x573293['uint32'](0x22)['fork']())['ldelim'](),null!=_0x500382['wasUndone']&&Object['hasOwnProperty']['call'](_0x500382,'wasUndone')&&_0x573293['uint32'](0x28)['bool'](_0x500382['wasUndone']),_0x573293;},_0x406b49['encodeDelimited']=function(_0x34ca0c,_0x4197d2){return this['encode'](_0x34ca0c,_0x4197d2)['ldelim']();},_0x406b49['decode']=function(_0x504b91,_0x4e754d){_0x504b91 instanceof j||(_0x504b91=j['create'](_0x504b91));let _0x27dab5=void 0x0===_0x4e754d?_0x504b91['len']:_0x504b91['pos']+_0x4e754d,_0x3933a4=new v['SplitOperation']();for(;_0x504b91['pos']<_0x27dab5;){let _0x38111b=_0x504b91['uint32']();switch(_0x38111b>>>0x3){case 0x1:_0x3933a4['splitPosition']=v['Position']['decode'](_0x504b91,_0x504b91['uint32']());break;case 0x2:_0x3933a4['graveyardPosition']=v['Position']['decode'](_0x504b91,_0x504b91['uint32']());break;case 0x3:_0x3933a4['howMany']=_0x504b91['uint32']();break;case 0x4:_0x3933a4['insertionPosition']=v['Position']['decode'](_0x504b91,_0x504b91['uint32']());break;case 0x5:_0x3933a4['wasUndone']=_0x504b91['bool']();break;default:_0x504b91['skipType'](0x7&_0x38111b);}}return _0x3933a4;},_0x406b49['decodeDelimited']=function(_0x201564){return _0x201564 instanceof j||(_0x201564=new j(_0x201564)),this['decode'](_0x201564,_0x201564['uint32']());},_0x406b49['verify']=function(_0x296537){if('object'!=typeof _0x296537||null===_0x296537)return'object\x20expected';if(null!=_0x296537['splitPosition']&&_0x296537['hasOwnProperty']('splitPosition')){let _0x2d9e04=v['Position']['verify'](_0x296537['splitPosition']);if(_0x2d9e04)return'splitPosition.'+_0x2d9e04;}if(null!=_0x296537['graveyardPosition']&&_0x296537['hasOwnProperty']('graveyardPosition')){let _0x4ef2b9=v['Position']['verify'](_0x296537['graveyardPosition']);if(_0x4ef2b9)return'graveyardPosition.'+_0x4ef2b9;}if(null!=_0x296537['howMany']&&_0x296537['hasOwnProperty']('howMany')&&!k['isInteger'](_0x296537['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x296537['insertionPosition']&&_0x296537['hasOwnProperty']('insertionPosition')){let _0x3a0d98=v['Position']['verify'](_0x296537['insertionPosition']);if(_0x3a0d98)return'insertionPosition.'+_0x3a0d98;}return null!=_0x296537['wasUndone']&&_0x296537['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x296537['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x406b49['fromObject']=function(_0x499dd5){if(_0x499dd5 instanceof v['SplitOperation'])return _0x499dd5;let _0x21b46f=new v['SplitOperation']();if(null!=_0x499dd5['splitPosition']){if('object'!=typeof _0x499dd5['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x21b46f['splitPosition']=v['Position']['fromObject'](_0x499dd5['splitPosition']);}if(null!=_0x499dd5['graveyardPosition']){if('object'!=typeof _0x499dd5['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x21b46f['graveyardPosition']=v['Position']['fromObject'](_0x499dd5['graveyardPosition']);}if(null!=_0x499dd5['howMany']&&(_0x21b46f['howMany']=_0x499dd5['howMany']>>>0x0),null!=_0x499dd5['insertionPosition']){if('object'!=typeof _0x499dd5['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x21b46f['insertionPosition']=v['Position']['fromObject'](_0x499dd5['insertionPosition']);}return null!=_0x499dd5['wasUndone']&&(_0x21b46f['wasUndone']=Boolean(_0x499dd5['wasUndone'])),_0x21b46f;},_0x406b49['toObject']=function(_0x5cbacb,_0x5b75ac){_0x5b75ac||(_0x5b75ac={});let _0x21f64f={};return _0x5b75ac['defaults']&&(_0x21f64f['splitPosition']=null,_0x21f64f['graveyardPosition']=null,_0x21f64f['howMany']=0x0,_0x21f64f['insertionPosition']=null,_0x21f64f['wasUndone']=!0x1),null!=_0x5cbacb['splitPosition']&&_0x5cbacb['hasOwnProperty']('splitPosition')&&(_0x21f64f['splitPosition']=v['Position']['toObject'](_0x5cbacb['splitPosition'],_0x5b75ac)),null!=_0x5cbacb['graveyardPosition']&&_0x5cbacb['hasOwnProperty']('graveyardPosition')&&(_0x21f64f['graveyardPosition']=v['Position']['toObject'](_0x5cbacb['graveyardPosition'],_0x5b75ac)),null!=_0x5cbacb['howMany']&&_0x5cbacb['hasOwnProperty']('howMany')&&(_0x21f64f['howMany']=_0x5cbacb['howMany']),null!=_0x5cbacb['insertionPosition']&&_0x5cbacb['hasOwnProperty']('insertionPosition')&&(_0x21f64f['insertionPosition']=v['Position']['toObject'](_0x5cbacb['insertionPosition'],_0x5b75ac)),null!=_0x5cbacb['wasUndone']&&_0x5cbacb['hasOwnProperty']('wasUndone')&&(_0x21f64f['wasUndone']=_0x5cbacb['wasUndone']),_0x21f64f;},_0x406b49['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x406b49['getTypeUrl']=function(_0x2fad4b){return void 0x0===_0x2fad4b&&(_0x2fad4b='type.googleapis.com'),_0x2fad4b+'/SplitOperation';},_0x406b49;})()),T=v['Position']=((()=>{function _0x48f41a(_0x4f9f6f){if(this['path']=[],_0x4f9f6f){for(let _0x38168b=Object['keys'](_0x4f9f6f),_0x191c1d=0x0;_0x191c1d<_0x38168b['length'];++_0x191c1d)null!=_0x4f9f6f[_0x38168b[_0x191c1d]]&&(this[_0x38168b[_0x191c1d]]=_0x4f9f6f[_0x38168b[_0x191c1d]]);}}return _0x48f41a['prototype']['root']='',_0x48f41a['prototype']['rootMain']=!0x1,_0x48f41a['prototype']['rootGraveyard']=!0x1,_0x48f41a['prototype']['path']=k['emptyArray'],_0x48f41a['prototype']['stickiness']='',_0x48f41a['create']=function(_0x2e24bc){return new _0x48f41a(_0x2e24bc);},_0x48f41a['encode']=function(_0x7951f0,_0x537b55){if(_0x537b55||(_0x537b55=y['create']()),null!=_0x7951f0['root']&&Object['hasOwnProperty']['call'](_0x7951f0,'root')&&_0x537b55['uint32'](0xa)['string'](_0x7951f0['root']),null!=_0x7951f0['rootMain']&&Object['hasOwnProperty']['call'](_0x7951f0,'rootMain')&&_0x537b55['uint32'](0x10)['bool'](_0x7951f0['rootMain']),null!=_0x7951f0['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x7951f0,'rootGraveyard')&&_0x537b55['uint32'](0x18)['bool'](_0x7951f0['rootGraveyard']),null!=_0x7951f0['path']&&_0x7951f0['path']['length']){_0x537b55['uint32'](0x22)['fork']();for(let _0x16a23b=0x0;_0x16a23b<_0x7951f0['path']['length'];++_0x16a23b)_0x537b55['uint32'](_0x7951f0['path'][_0x16a23b]);_0x537b55['ldelim']();}return null!=_0x7951f0['stickiness']&&Object['hasOwnProperty']['call'](_0x7951f0,'stickiness')&&_0x537b55['uint32'](0x2a)['string'](_0x7951f0['stickiness']),_0x537b55;},_0x48f41a['encodeDelimited']=function(_0x461eea,_0x4f4f43){return this['encode'](_0x461eea,_0x4f4f43)['ldelim']();},_0x48f41a['decode']=function(_0x1b8c1d,_0x2d64fe){_0x1b8c1d instanceof j||(_0x1b8c1d=j['create'](_0x1b8c1d));let _0x235c7d=void 0x0===_0x2d64fe?_0x1b8c1d['len']:_0x1b8c1d['pos']+_0x2d64fe,_0x1f9a44=new v['Position']();for(;_0x1b8c1d['pos']<_0x235c7d;){let _0x26f24a=_0x1b8c1d['uint32']();switch(_0x26f24a>>>0x3){case 0x1:_0x1f9a44['root']=_0x1b8c1d['string']();break;case 0x2:_0x1f9a44['rootMain']=_0x1b8c1d['bool']();break;case 0x3:_0x1f9a44['rootGraveyard']=_0x1b8c1d['bool']();break;case 0x4:if(_0x1f9a44['path']&&_0x1f9a44['path']['length']||(_0x1f9a44['path']=[]),0x2==(0x7&_0x26f24a)){let _0x40d7fd=_0x1b8c1d['uint32']()+_0x1b8c1d['pos'];for(;_0x1b8c1d['pos']<_0x40d7fd;)_0x1f9a44['path']['push'](_0x1b8c1d['uint32']());}else _0x1f9a44['path']['push'](_0x1b8c1d['uint32']());break;case 0x5:_0x1f9a44['stickiness']=_0x1b8c1d['string']();break;default:_0x1b8c1d['skipType'](0x7&_0x26f24a);}}return _0x1f9a44;},_0x48f41a['decodeDelimited']=function(_0xed6130){return _0xed6130 instanceof j||(_0xed6130=new j(_0xed6130)),this['decode'](_0xed6130,_0xed6130['uint32']());},_0x48f41a['verify']=function(_0x448fb0){if('object'!=typeof _0x448fb0||null===_0x448fb0)return'object\x20expected';if(null!=_0x448fb0['root']&&_0x448fb0['hasOwnProperty']('root')&&!k['isString'](_0x448fb0['root']))return'root:\x20string\x20expected';if(null!=_0x448fb0['rootMain']&&_0x448fb0['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x448fb0['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x448fb0['rootGraveyard']&&_0x448fb0['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x448fb0['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x448fb0['path']&&_0x448fb0['hasOwnProperty']('path')){if(!Array['isArray'](_0x448fb0['path']))return'path:\x20array\x20expected';for(let _0x218691=0x0;_0x218691<_0x448fb0['path']['length'];++_0x218691)if(!k['isInteger'](_0x448fb0['path'][_0x218691]))return'path:\x20integer[]\x20expected';}return null!=_0x448fb0['stickiness']&&_0x448fb0['hasOwnProperty']('stickiness')&&!k['isString'](_0x448fb0['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x48f41a['fromObject']=function(_0x5312b9){if(_0x5312b9 instanceof v['Position'])return _0x5312b9;let _0x3e1f97=new v['Position']();if(null!=_0x5312b9['root']&&(_0x3e1f97['root']=String(_0x5312b9['root'])),null!=_0x5312b9['rootMain']&&(_0x3e1f97['rootMain']=Boolean(_0x5312b9['rootMain'])),null!=_0x5312b9['rootGraveyard']&&(_0x3e1f97['rootGraveyard']=Boolean(_0x5312b9['rootGraveyard'])),_0x5312b9['path']){if(!Array['isArray'](_0x5312b9['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x3e1f97['path']=[];for(let _0x22d2de=0x0;_0x22d2de<_0x5312b9['path']['length'];++_0x22d2de)_0x3e1f97['path'][_0x22d2de]=_0x5312b9['path'][_0x22d2de]>>>0x0;}return null!=_0x5312b9['stickiness']&&(_0x3e1f97['stickiness']=String(_0x5312b9['stickiness'])),_0x3e1f97;},_0x48f41a['toObject']=function(_0x34a92f,_0x5ae43b){_0x5ae43b||(_0x5ae43b={});let _0x539035={};if((_0x5ae43b['arrays']||_0x5ae43b['defaults'])&&(_0x539035['path']=[]),_0x5ae43b['defaults']&&(_0x539035['root']='',_0x539035['rootMain']=!0x1,_0x539035['rootGraveyard']=!0x1,_0x539035['stickiness']=''),null!=_0x34a92f['root']&&_0x34a92f['hasOwnProperty']('root')&&(_0x539035['root']=_0x34a92f['root']),null!=_0x34a92f['rootMain']&&_0x34a92f['hasOwnProperty']('rootMain')&&(_0x539035['rootMain']=_0x34a92f['rootMain']),null!=_0x34a92f['rootGraveyard']&&_0x34a92f['hasOwnProperty']('rootGraveyard')&&(_0x539035['rootGraveyard']=_0x34a92f['rootGraveyard']),_0x34a92f['path']&&_0x34a92f['path']['length']){_0x539035['path']=[];for(let _0x2a03e6=0x0;_0x2a03e6<_0x34a92f['path']['length'];++_0x2a03e6)_0x539035['path'][_0x2a03e6]=_0x34a92f['path'][_0x2a03e6];}return null!=_0x34a92f['stickiness']&&_0x34a92f['hasOwnProperty']('stickiness')&&(_0x539035['stickiness']=_0x34a92f['stickiness']),_0x539035;},_0x48f41a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x48f41a['getTypeUrl']=function(_0x540ed5){return void 0x0===_0x540ed5&&(_0x540ed5='type.googleapis.com'),_0x540ed5+'/Position';},_0x48f41a;})()),C=v['Range']=((()=>{function _0x16b0d7(_0x18a7e3){if(_0x18a7e3){for(let _0x1ca7cb=Object['keys'](_0x18a7e3),_0x2af3e2=0x0;_0x2af3e2<_0x1ca7cb['length'];++_0x2af3e2)null!=_0x18a7e3[_0x1ca7cb[_0x2af3e2]]&&(this[_0x1ca7cb[_0x2af3e2]]=_0x18a7e3[_0x1ca7cb[_0x2af3e2]]);}}return _0x16b0d7['prototype']['start']=null,_0x16b0d7['prototype']['end']=null,_0x16b0d7['create']=function(_0x346d6d){return new _0x16b0d7(_0x346d6d);},_0x16b0d7['encode']=function(_0x56100e,_0x29c7c2){return _0x29c7c2||(_0x29c7c2=y['create']()),null!=_0x56100e['start']&&Object['hasOwnProperty']['call'](_0x56100e,'start')&&v['Position']['encode'](_0x56100e['start'],_0x29c7c2['uint32'](0xa)['fork']())['ldelim'](),null!=_0x56100e['end']&&Object['hasOwnProperty']['call'](_0x56100e,'end')&&v['Position']['encode'](_0x56100e['end'],_0x29c7c2['uint32'](0x12)['fork']())['ldelim'](),_0x29c7c2;},_0x16b0d7['encodeDelimited']=function(_0x41578a,_0x135194){return this['encode'](_0x41578a,_0x135194)['ldelim']();},_0x16b0d7['decode']=function(_0x2fefc5,_0x4244a1){_0x2fefc5 instanceof j||(_0x2fefc5=j['create'](_0x2fefc5));let _0x134c9b=void 0x0===_0x4244a1?_0x2fefc5['len']:_0x2fefc5['pos']+_0x4244a1,_0x2bcb4d=new v['Range']();for(;_0x2fefc5['pos']<_0x134c9b;){let _0x3c7f43=_0x2fefc5['uint32']();switch(_0x3c7f43>>>0x3){case 0x1:_0x2bcb4d['start']=v['Position']['decode'](_0x2fefc5,_0x2fefc5['uint32']());break;case 0x2:_0x2bcb4d['end']=v['Position']['decode'](_0x2fefc5,_0x2fefc5['uint32']());break;default:_0x2fefc5['skipType'](0x7&_0x3c7f43);}}return _0x2bcb4d;},_0x16b0d7['decodeDelimited']=function(_0x28055c){return _0x28055c instanceof j||(_0x28055c=new j(_0x28055c)),this['decode'](_0x28055c,_0x28055c['uint32']());},_0x16b0d7['verify']=function(_0x5ba789){if('object'!=typeof _0x5ba789||null===_0x5ba789)return'object\x20expected';if(null!=_0x5ba789['start']&&_0x5ba789['hasOwnProperty']('start')){let _0x42d754=v['Position']['verify'](_0x5ba789['start']);if(_0x42d754)return'start.'+_0x42d754;}if(null!=_0x5ba789['end']&&_0x5ba789['hasOwnProperty']('end')){let _0x3fd703=v['Position']['verify'](_0x5ba789['end']);if(_0x3fd703)return'end.'+_0x3fd703;}return null;},_0x16b0d7['fromObject']=function(_0x209c30){if(_0x209c30 instanceof v['Range'])return _0x209c30;let _0x18aaac=new v['Range']();if(null!=_0x209c30['start']){if('object'!=typeof _0x209c30['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x18aaac['start']=v['Position']['fromObject'](_0x209c30['start']);}if(null!=_0x209c30['end']){if('object'!=typeof _0x209c30['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x18aaac['end']=v['Position']['fromObject'](_0x209c30['end']);}return _0x18aaac;},_0x16b0d7['toObject']=function(_0x7fa0aa,_0x5740e4){_0x5740e4||(_0x5740e4={});let _0x5c55b5={};return _0x5740e4['defaults']&&(_0x5c55b5['start']=null,_0x5c55b5['end']=null),null!=_0x7fa0aa['start']&&_0x7fa0aa['hasOwnProperty']('start')&&(_0x5c55b5['start']=v['Position']['toObject'](_0x7fa0aa['start'],_0x5740e4)),null!=_0x7fa0aa['end']&&_0x7fa0aa['hasOwnProperty']('end')&&(_0x5c55b5['end']=v['Position']['toObject'](_0x7fa0aa['end'],_0x5740e4)),_0x5c55b5;},_0x16b0d7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x16b0d7['getTypeUrl']=function(_0x58bcc6){return void 0x0===_0x58bcc6&&(_0x58bcc6='type.googleapis.com'),_0x58bcc6+'/Range';},_0x16b0d7;})()),D=v['Element']=((()=>{function _0x352591(_0x309f7e){if(this['children']=[],this['attributesBoolean']={},_0x309f7e){for(let _0x5c8616=Object['keys'](_0x309f7e),_0x1373e8=0x0;_0x1373e8<_0x5c8616['length'];++_0x1373e8)null!=_0x309f7e[_0x5c8616[_0x1373e8]]&&(this[_0x5c8616[_0x1373e8]]=_0x309f7e[_0x5c8616[_0x1373e8]]);}}return _0x352591['prototype']['name']='',_0x352591['prototype']['children']=k['emptyArray'],_0x352591['prototype']['data']='',_0x352591['prototype']['attributesBoolean']=k['emptyObject'],_0x352591['prototype']['attributesJson']='',_0x352591['create']=function(_0x966b41){return new _0x352591(_0x966b41);},_0x352591['encode']=function(_0x15b224,_0x476fec){if(_0x476fec||(_0x476fec=y['create']()),null!=_0x15b224['name']&&Object['hasOwnProperty']['call'](_0x15b224,'name')&&_0x476fec['uint32'](0xa)['string'](_0x15b224['name']),null!=_0x15b224['children']&&_0x15b224['children']['length']){for(let _0x516e77=0x0;_0x516e77<_0x15b224['children']['length'];++_0x516e77)v['Element']['encode'](_0x15b224['children'][_0x516e77],_0x476fec['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x15b224['data']&&Object['hasOwnProperty']['call'](_0x15b224,'data')&&_0x476fec['uint32'](0x1a)['string'](_0x15b224['data']),null!=_0x15b224['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x15b224,'attributesBoolean')){for(let _0x1f82fa=Object['keys'](_0x15b224['attributesBoolean']),_0x4e665c=0x0;_0x4e665c<_0x1f82fa['length'];++_0x4e665c)_0x476fec['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x1f82fa[_0x4e665c])['uint32'](0x10)['bool'](_0x15b224['attributesBoolean'][_0x1f82fa[_0x4e665c]])['ldelim']();}return null!=_0x15b224['attributesJson']&&Object['hasOwnProperty']['call'](_0x15b224,'attributesJson')&&_0x476fec['uint32'](0x2a)['string'](_0x15b224['attributesJson']),_0x476fec;},_0x352591['encodeDelimited']=function(_0x36c42e,_0x2cea06){return this['encode'](_0x36c42e,_0x2cea06)['ldelim']();},_0x352591['decode']=function(_0x15d65f,_0x2a62c0){_0x15d65f instanceof j||(_0x15d65f=j['create'](_0x15d65f));let _0x588c45,_0x3982b5,_0x5d6572=void 0x0===_0x2a62c0?_0x15d65f['len']:_0x15d65f['pos']+_0x2a62c0,_0x3f6bd8=new v['Element']();for(;_0x15d65f['pos']<_0x5d6572;){let _0x29d53c=_0x15d65f['uint32']();switch(_0x29d53c>>>0x3){case 0x1:_0x3f6bd8['name']=_0x15d65f['string']();break;case 0x2:_0x3f6bd8['children']&&_0x3f6bd8['children']['length']||(_0x3f6bd8['children']=[]),_0x3f6bd8['children']['push'](v['Element']['decode'](_0x15d65f,_0x15d65f['uint32']()));break;case 0x3:_0x3f6bd8['data']=_0x15d65f['string']();break;case 0x4:{_0x3f6bd8['attributesBoolean']===k['emptyObject']&&(_0x3f6bd8['attributesBoolean']={});let _0x476638=_0x15d65f['uint32']()+_0x15d65f['pos'];for(_0x588c45='',_0x3982b5=!0x1;_0x15d65f['pos']<_0x476638;){let _0x4b969f=_0x15d65f['uint32']();switch(_0x4b969f>>>0x3){case 0x1:_0x588c45=_0x15d65f['string']();break;case 0x2:_0x3982b5=_0x15d65f['bool']();break;default:_0x15d65f['skipType'](0x7&_0x4b969f);}}_0x3f6bd8['attributesBoolean'][_0x588c45]=_0x3982b5;break;}case 0x5:_0x3f6bd8['attributesJson']=_0x15d65f['string']();break;default:_0x15d65f['skipType'](0x7&_0x29d53c);}}return _0x3f6bd8;},_0x352591['decodeDelimited']=function(_0x20cb27){return _0x20cb27 instanceof j||(_0x20cb27=new j(_0x20cb27)),this['decode'](_0x20cb27,_0x20cb27['uint32']());},_0x352591['verify']=function(_0x517aae){if('object'!=typeof _0x517aae||null===_0x517aae)return'object\x20expected';if(null!=_0x517aae['name']&&_0x517aae['hasOwnProperty']('name')&&!k['isString'](_0x517aae['name']))return'name:\x20string\x20expected';if(null!=_0x517aae['children']&&_0x517aae['hasOwnProperty']('children')){if(!Array['isArray'](_0x517aae['children']))return'children:\x20array\x20expected';for(let _0x153ab2=0x0;_0x153ab2<_0x517aae['children']['length'];++_0x153ab2){let _0xc0c245=v['Element']['verify'](_0x517aae['children'][_0x153ab2]);if(_0xc0c245)return'children.'+_0xc0c245;}}if(null!=_0x517aae['data']&&_0x517aae['hasOwnProperty']('data')&&!k['isString'](_0x517aae['data']))return'data:\x20string\x20expected';if(null!=_0x517aae['attributesBoolean']&&_0x517aae['hasOwnProperty']('attributesBoolean')){if(!k['isObject'](_0x517aae['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';let _0xa25aeb=Object['keys'](_0x517aae['attributesBoolean']);for(let _0x3585ec=0x0;_0x3585ec<_0xa25aeb['length'];++_0x3585ec)if('boolean'!=typeof _0x517aae['attributesBoolean'][_0xa25aeb[_0x3585ec]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x517aae['attributesJson']&&_0x517aae['hasOwnProperty']('attributesJson')&&!k['isString'](_0x517aae['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x352591['fromObject']=function(_0x40151b){if(_0x40151b instanceof v['Element'])return _0x40151b;let _0x2912ab=new v['Element']();if(null!=_0x40151b['name']&&(_0x2912ab['name']=String(_0x40151b['name'])),_0x40151b['children']){if(!Array['isArray'](_0x40151b['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x2912ab['children']=[];for(let _0x11fbd4=0x0;_0x11fbd4<_0x40151b['children']['length'];++_0x11fbd4){if('object'!=typeof _0x40151b['children'][_0x11fbd4])throw TypeError('.Element.children:\x20object\x20expected');_0x2912ab['children'][_0x11fbd4]=v['Element']['fromObject'](_0x40151b['children'][_0x11fbd4]);}}if(null!=_0x40151b['data']&&(_0x2912ab['data']=String(_0x40151b['data'])),_0x40151b['attributesBoolean']){if('object'!=typeof _0x40151b['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x2912ab['attributesBoolean']={};for(let _0x545016=Object['keys'](_0x40151b['attributesBoolean']),_0x407d19=0x0;_0x407d19<_0x545016['length'];++_0x407d19)_0x2912ab['attributesBoolean'][_0x545016[_0x407d19]]=Boolean(_0x40151b['attributesBoolean'][_0x545016[_0x407d19]]);}return null!=_0x40151b['attributesJson']&&(_0x2912ab['attributesJson']=String(_0x40151b['attributesJson'])),_0x2912ab;},_0x352591['toObject']=function(_0x4512c7,_0x1b799f){_0x1b799f||(_0x1b799f={});let _0xf3349b,_0x5aac60={};if((_0x1b799f['arrays']||_0x1b799f['defaults'])&&(_0x5aac60['children']=[]),(_0x1b799f['objects']||_0x1b799f['defaults'])&&(_0x5aac60['attributesBoolean']={}),_0x1b799f['defaults']&&(_0x5aac60['name']='',_0x5aac60['data']='',_0x5aac60['attributesJson']=''),null!=_0x4512c7['name']&&_0x4512c7['hasOwnProperty']('name')&&(_0x5aac60['name']=_0x4512c7['name']),_0x4512c7['children']&&_0x4512c7['children']['length']){_0x5aac60['children']=[];for(let _0x241386=0x0;_0x241386<_0x4512c7['children']['length'];++_0x241386)_0x5aac60['children'][_0x241386]=v['Element']['toObject'](_0x4512c7['children'][_0x241386],_0x1b799f);}if(null!=_0x4512c7['data']&&_0x4512c7['hasOwnProperty']('data')&&(_0x5aac60['data']=_0x4512c7['data']),_0x4512c7['attributesBoolean']&&(_0xf3349b=Object['keys'](_0x4512c7['attributesBoolean']))['length']){_0x5aac60['attributesBoolean']={};for(let _0xbcb53d=0x0;_0xbcb53d<_0xf3349b['length'];++_0xbcb53d)_0x5aac60['attributesBoolean'][_0xf3349b[_0xbcb53d]]=_0x4512c7['attributesBoolean'][_0xf3349b[_0xbcb53d]];}return null!=_0x4512c7['attributesJson']&&_0x4512c7['hasOwnProperty']('attributesJson')&&(_0x5aac60['attributesJson']=_0x4512c7['attributesJson']),_0x5aac60;},_0x352591['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x47ac81['util']['toJSONOptions']);},_0x352591['getTypeUrl']=function(_0x521742){return void 0x0===_0x521742&&(_0x521742='type.googleapis.com'),_0x521742+'/Element';},_0x352591;})());var u=Object['freeze']({'__proto__':null,'AttributeOperation':M,'Element':D,'InsertOperation':B,'MarkerOperation':V,'MergeOperation':S,'MoveOperation':U,'Position':T,'Range':C,'RenameOperation':A,'RootAttributeOperation':N,'RootOperation':R,'SplitOperation':E,'default':v});class r{['getDescriptor'](_0x340f16){return new I(this['_protobufRoot'][_0x340f16]);}constructor(){this['_protobufRoot']=u;}}class I{['compress'](_0x5963fc){const _0x4b5345=this['_protobuf']['verify'](_0x5963fc);if(_0x4b5345)throw Error(_0x4b5345);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x5963fc))['finish']();}['decompress'](_0x4f1d13){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x4f1d13),{'oneofs':!0x0});}constructor(_0x567534){this['_protobuf']=_0x567534;}}function _(_0x15ddd6,_0x56cbb2){const _0x408ca4=_0x5bedae(_0x15ddd6);return _0x408ca4['path'][_0x408ca4['path']['length']-0x1]+=_0x56cbb2,_0x408ca4;}function O(_0xde2e7c,_0x2b0e30){return _0xde2e7c['root']===_0x2b0e30['root']&&_0x382b2c(_0xde2e7c['path'],_0x2b0e30['path']);}function $(_0x3d5cd9){P(_0x3d5cd9,_0x364d7b=>('main'==_0x364d7b['root']?(_0x364d7b['rootMain']=!0x0,delete _0x364d7b['root']):'$graveyard'==_0x364d7b['root']&&(_0x364d7b['rootGraveyard']=!0x0,delete _0x364d7b['root']),_0x364d7b));}function J(_0x431179){P(_0x431179,_0x4c9ee4=>(_0x4c9ee4['rootMain']?(_0x4c9ee4['root']='main',delete _0x4c9ee4['rootMain']):_0x4c9ee4['rootGraveyard']&&(_0x4c9ee4['root']='$graveyard',delete _0x4c9ee4['rootGraveyard']),_0x4c9ee4));}function P(_0x243d8b,_0x4e6230){for(const _0xc32ecd in _0x243d8b){const _0x2c94a9=_0x243d8b[_0xc32ecd];'nodes'!==_0xc32ecd&&_0x4a6bfc(_0x2c94a9)&&(_0x2c94a9['path']&&(_0x2c94a9['root']||_0x2c94a9['rootMain']||_0x2c94a9['rootGraveyard'])?_0x243d8b[_0xc32ecd]=_0x4e6230(_0x2c94a9):P(_0x2c94a9,_0x4e6230));}return _0x243d8b;}class e{['compress'](_0x269e49,_0x13d47e){const _0x3b3bae=_0x13d47e['shift']();return $(_0x3b3bae),_0x269e49['buffers']['push'](this['_protobufDescriptor']['compress'](_0x3b3bae)),_0x269e49['types']['push'](this['_id']),!0x0;}['decompress'](_0x26bd97,_0x4154f8){_0x4154f8['types']['shift']();const _0x42b3e6=this['_protobufDescriptor']['decompress'](_0x4154f8['buffers']['shift']());J(_0x42b3e6),_0x42b3e6['__className']=this['_operationName'],_0x26bd97['push'](_0x42b3e6);}constructor(_0x5bfeb2,_0x45e94c,_0x56656c){this['_id']=_0x5bfeb2,this['_operationName']=_0x45e94c,this['_protobufDescriptor']=_0x56656c;}}class s extends e{['compress'](_0x15ba72,_0x10f264){const _0x229383=_0x10f264['shift']();return this['_serializeOneOf']('oldValue',_0x229383),this['_serializeOneOf']('newValue',_0x229383),$(_0x229383),_0x15ba72['buffers']['push'](this['_protobufDescriptor']['compress'](_0x229383)),_0x15ba72['types']['push'](this['_id']),!0x0;}['decompress'](_0x230284,_0x3e1990){const {types:_0x182a46,buffers:_0x3f0e2b}=_0x3e1990,_0xb7e93=this['_protobufDescriptor']['decompress'](_0x3f0e2b['shift']());_0x182a46['shift'](),this['_deserializeOneOf']('oldValue',_0xb7e93),this['_deserializeOneOf']('newValue',_0xb7e93),J(_0xb7e93),_0xb7e93['__className']=this['_operationName'],_0x230284['push'](_0xb7e93);}['_serializeOneOf'](_0x3667fe,_0x34b5c2){const _0x45349a=_0x34b5c2[_0x3667fe];'boolean'==typeof _0x45349a?_0x34b5c2[_0x3667fe+'Boolean']=_0x45349a:_0x34b5c2[_0x3667fe+'Json']=JSON['stringify'](_0x45349a);}['_deserializeOneOf'](_0x111a6e,_0x1e1113){const _0x4852c6=_0x111a6e+'Json';_0x1e1113[_0x4852c6]?(_0x1e1113[_0x111a6e]=JSON['parse'](_0x1e1113[_0x4852c6]),delete _0x1e1113[_0x4852c6]):(_0x1e1113[_0x111a6e]=_0x1e1113[_0x111a6e+'Boolean'],delete _0x1e1113[_0x111a6e+'Boolean']);}}class i extends e{['compress'](_0x245cf9,_0x14c1b8){const _0x32d224=_0x14c1b8['shift']();return this['_serializeNodesAttributes'](_0x32d224['nodes']),$(_0x32d224),_0x245cf9['buffers']['push'](this['_protobufDescriptor']['compress'](_0x32d224)),_0x245cf9['types']['push'](this['_id']),!0x0;}['decompress'](_0x126aeb,_0x59864e){const {types:_0x120eee,buffers:_0x2f6dd0}=_0x59864e,_0x259f94=this['_protobufDescriptor']['decompress'](_0x2f6dd0['shift']());_0x120eee['shift'](),_0x259f94['nodes']||(_0x259f94['nodes']=[]),this['_deserializeNodesAttributes'](_0x259f94['nodes']),J(_0x259f94),_0x259f94['__className']=this['_operationName'],_0x126aeb['push'](_0x259f94);}['_serializeNodesAttributes'](_0x4f4eb4){for(const _0x356697 of _0x4f4eb4){if(_0x356697['attributes']){const _0x5cc266=_0x356697['attributes'];this['_areValuesBoolean'](_0x5cc266)?_0x356697['attributesBoolean']=_0x5cc266:_0x356697['attributesJson']=JSON['stringify'](_0x5cc266);}_0x356697['children']&&this['_serializeNodesAttributes'](_0x356697['children']);}}['_deserializeNodesAttributes'](_0x5bc5ff){for(const _0x53c841 of _0x5bc5ff)(_0x53c841['attributesBoolean']||_0x53c841['attributesJson'])&&(_0x53c841['attributesBoolean']?(_0x53c841['attributes']=_0x53c841['attributesBoolean'],delete _0x53c841['attributesBoolean']):(_0x53c841['attributes']=JSON['parse'](_0x53c841['attributesJson']),delete _0x53c841['attributesJson'])),_0x53c841['children']&&this['_deserializeNodesAttributes'](_0x53c841['children']);}['_areValuesBoolean'](_0x51d537){return Object['keys'](_0x51d537)['every'](_0x3e9143=>'boolean'==typeof _0x51d537[_0x3e9143]);}}class n extends e{['decompress'](_0x2278bd,_0xfd7f60){super['decompress'](_0x2278bd,_0xfd7f60);const _0x6b9c00=_0x2278bd[_0x2278bd['length']-0x1];_0x6b9c00['oldRange']||(_0x6b9c00['oldRange']=null),_0x6b9c00['newRange']||(_0x6b9c00['newRange']=null);}}class p extends e{['compress'](_0x3d0c8a,_0x48b4b3){return _0x48b4b3['shift'](),_0x3d0c8a['types']['push'](this['_id']),!0x0;}['decompress'](_0x36bc47,_0x5b9c76){_0x5b9c76['types']['shift'](),_0x36bc47['push']({'__className':this['_operationName']});}}class a extends n{['compress'](_0x2173d3,_0x48eb0f){return!('MarkerOperation'!=_0x48eb0f[0x0]['__className']||!_0x48eb0f[0x0]['name']['startsWith'](this['_omittedNamespace']))&&(_0x48eb0f[0x0]['name']=_0x48eb0f[0x0]['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x2173d3,_0x48eb0f),!0x0);}['decompress'](_0x8e0118,_0x2eac9a){super['decompress'](_0x8e0118,_0x2eac9a);const _0x24d6a3=_0x8e0118[_0x8e0118['length']-0x1];_0x24d6a3['name']=this['_omittedNamespace']+_0x24d6a3['name'];}constructor(_0x4bddd3,_0x4b3467,_0x3ca0c7,_0x34807b){super(_0x4bddd3,_0x4b3467,_0x3ca0c7),this['_omittedNamespace']=_0x34807b+':';}}class b{['compress'](_0x53de05,_0x23e588){let _0x4c18d9;for(;_0x23e588['length']>0x1&&this['_compareOperations'](_0x23e588[0x0],_0x23e588[0x1]);)_0x4c18d9?(_0x4c18d9=this['_combineNext'](_0x23e588['shift'](),_0x4c18d9),_0x53de05['types']['push'](0x0)):(_0x4c18d9=_0x5bedae(_0x23e588['shift']()),_0x53de05['types']['push'](this['_id']));return!!_0x4c18d9&&(_0x4c18d9=this['_combineNext'](_0x23e588['shift'](),_0x4c18d9),_0x53de05['types']['push'](0x0),_0x53de05['buffers']['push'](this['_compressSingleOperation'](_0x4c18d9)),!0x0);}['decompress'](_0x22605f,_0x131d78){const _0x42c919=this['_decompressSingleOperation'](_0x131d78);for(;0x0==_0x131d78['types'][0x0];)_0x131d78['types']['shift'](),_0x22605f['push'](this['_splitCurrent'](_0x42c919));_0x22605f['push'](_0x42c919);}constructor(_0x3c5bdf,_0x58e349){this['_id']=_0x3c5bdf,this['_context']=_0x58e349;}}class m extends b{['_combineNext'](_0x5b6009,_0x338bd7){return _0x338bd7['nodes'][0x0]['data']+=_0x5b6009['nodes'][0x0]['data'],_0x338bd7;}['_splitCurrent'](_0x5df96b){const _0xe4c73a=_0x5bedae(_0x5df96b),_0x4f48a9=_0xe4c73a['nodes'][0x0],_0x3a1f07=_0x5df96b['nodes'][0x0],_0x294521=_0x3a1f07['data'][Symbol['iterator']]()['next']()['value'],_0x3b9a6b=_0x294521['length'];return _0x4f48a9['data']=_0x294521,_0x3a1f07['data']=_0x3a1f07['data']['substr'](_0x3b9a6b),_0x5df96b['position']=_(_0x5df96b['position'],_0x3b9a6b),_0xe4c73a;}['_compareOperations'](_0x1cd1a2,_0x1a2033){if(this['_checkOperation'](_0x1cd1a2)&&this['_checkOperation'](_0x1a2033)){const _0x3489af=_0x1cd1a2['nodes'][0x0]['data']['length'],_0x24816d=O(_(_0x1cd1a2['position'],_0x3489af),_0x1a2033['position']),_0x30199f=_0x1cd1a2['nodes'][0x0],_0x20cf0a=_0x1a2033['nodes'][0x0];return _0x24816d&&this['_compareAttributes'](_0x30199f,_0x20cf0a);}return!0x1;}['_compressSingleOperation'](_0x1af034){const _0xb61fa9={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0xb61fa9,[_0x1af034]),_0xb61fa9['buffers'][0x0];}['_decompressSingleOperation'](_0x3e909c){const _0x28ac5c=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x28ac5c,_0x3e909c),_0x28ac5c[0x0];}['_checkOperation'](_0x34ee70){return'InsertOperation'==_0x34ee70['__className']&&0x1==_0x34ee70['nodes']['length']&&_0x34ee70['nodes'][0x0]['data']&&!_0x34ee70['wasUndone']&&0x1==Array['from'](_0x34ee70['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x10b241,_0x97c6bd){const _0x4ae299=Object['keys'](_0x10b241['attributes']||{}),_0x4833e8=Object['keys'](_0x97c6bd['attributes']||{});return _0x4ae299['length']===_0x4833e8['length']&&_0x4ae299['every'](_0x29bc27=>_0x97c6bd['attributes'][_0x29bc27]&&_0x97c6bd['attributes'][_0x29bc27]===_0x10b241['attributes'][_0x29bc27]);}}class c extends b{['_combineNext'](_0x1c8131,_0x1df296){return _0x1df296['howMany']++,_0x1df296['sourcePosition']=_0x5bedae(_0x1c8131['sourcePosition']),_0x1df296;}['_splitCurrent'](_0x4817f7){const _0x36d1dc=_0x5bedae(_0x4817f7);return _0x4817f7['howMany']--,_0x36d1dc['howMany']=0x1,_0x36d1dc['sourcePosition']=_(_0x36d1dc['sourcePosition'],_0x4817f7['howMany']),_0x36d1dc;}['_compareOperations'](_0x5f52ef,_0x5d35ed){return!(!this['_checkOperation'](_0x5f52ef)||!this['_checkOperation'](_0x5d35ed))&&(O(_(_0x5f52ef['sourcePosition'],-0x1),_0x5d35ed['sourcePosition'])&&O(_0x5f52ef['targetPosition'],_0x5d35ed['targetPosition']));}['_compressSingleOperation'](_0x404acc){const _0x53a47b={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x53a47b,[_0x404acc]),_0x53a47b['buffers'][0x0];}['_decompressSingleOperation'](_0x30e41c){const _0x473898=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x473898,_0x30e41c),_0x473898[0x0];}['_checkOperation'](_0x119ef6){return'MoveOperation'==_0x119ef6['__className']&&'$graveyard'==_0x119ef6['targetPosition']['root']&&0x1==_0x119ef6['howMany']&&!_0x119ef6['wasUndone'];}}class h extends b{['_combineNext'](_0x4bee1d,_0x3775cb){return _0x3775cb['howMany']++,_0x3775cb;}['_splitCurrent'](_0x2d6e3c){const _0x1426c6=_0x5bedae(_0x2d6e3c);return _0x1426c6['howMany']=0x1,_0x2d6e3c['howMany']--,_0x1426c6;}['_compareOperations'](_0x289c25,_0x19681e){return!(!this['_checkOperation'](_0x289c25)||!this['_checkOperation'](_0x19681e))&&(O(_0x289c25['sourcePosition'],_0x19681e['sourcePosition'])&&O(_0x289c25['targetPosition'],_0x19681e['targetPosition']));}['_compressSingleOperation'](_0x2eb3d2){const _0x3fe750={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x3fe750,[_0x2eb3d2]),_0x3fe750['buffers'][0x0];}['_decompressSingleOperation'](_0x47ef95){const _0x3394cd=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x3394cd,_0x47ef95),_0x3394cd[0x0];}['_checkOperation'](_0x37b15c){return'MoveOperation'==_0x37b15c['__className']&&'$graveyard'==_0x37b15c['targetPosition']['root']&&0x1==_0x37b15c['howMany']&&!_0x37b15c['wasUndone'];}}class f extends b{['compress'](_0x4fbad7,_0x21bef7){if(!this['_compareOperations'](_0x21bef7[0x0],_0x21bef7[0x1]))return!0x1;const _0x457c30=_0x21bef7['shift']();return _0x457c30['oldRange']=null,_0x457c30['newRange']&&O(_0x457c30['newRange']['start'],_0x457c30['newRange']['end'])&&(_0x457c30['newRange']['end']=null),_0x21bef7['shift'](),_0x4fbad7['types']['push'](this['_id']),_0x4fbad7['types']['push'](0x0),_0x4fbad7['buffers']['push'](this['_compressSingleOperation'](_0x457c30)),!0x0;}['decompress'](_0x516b3d,_0x5b2801){const _0x4aecf8=this['_decompressSingleOperation'](_0x5b2801);_0x4aecf8['newRange']&&!_0x4aecf8['newRange']['end']&&(_0x4aecf8['newRange']['end']=_0x5bedae(_0x4aecf8['newRange']['start']));const _0x1d0f68=_0x5bedae(_0x4aecf8);_0x1d0f68['newRange']&&(_0x1d0f68['newRange']['start']['stickiness']='toNone',_0x1d0f68['newRange']['end']=_0x5bedae(_0x1d0f68['newRange']['start'])),_0x1d0f68['name']='user:position:'+_0x1d0f68['name']['split'](':')[0x2],_0x5b2801['types']['shift'](),_0x516b3d['push'](_0x4aecf8),_0x516b3d['push'](_0x1d0f68);}['_compressSingleOperation'](_0x38b2b5){const _0x542130={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x542130,[_0x38b2b5]),_0x542130['buffers'][0x0];}['_decompressSingleOperation'](_0x52b143){const _0x580348=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x580348,_0x52b143),_0x580348[0x0];}['_compareOperations'](_0xfe7e4a,_0x1714b8){return!(!_0xfe7e4a||!_0x1714b8)&&('MarkerOperation'==_0xfe7e4a['__className']&&'MarkerOperation'==_0x1714b8['__className']&&!(!_0xfe7e4a['name']['startsWith']('user:')||!_0x1714b8['name']['startsWith']('user:')||_0xfe7e4a['name']==_0x1714b8['name']));}}class g{['compress'](_0x3c8c79){if(!_0x3c8c79||!_0x3c8c79[0x0])throw new _0x35acdd('no-operations-provided',this);const _0x5b450d={'types':[],'buffers':[],'baseVersion':_0x3c8c79[0x0]['baseVersion']};for(;_0x3c8c79['length'];)this['_getCompressorByName']('UserSelectionAction')['compress'](_0x5b450d,_0x3c8c79)||this['_getCompressorByName']('TypingAction')['compress'](_0x5b450d,_0x3c8c79)||this['_getCompressorByName']('DeletingAction')['compress'](_0x5b450d,_0x3c8c79)||this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x5b450d,_0x3c8c79)||this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x5b450d,_0x3c8c79)||this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x5b450d,_0x3c8c79)||this['_getCompressorByName'](_0x3c8c79[0x0]['__className'])['compress'](_0x5b450d,_0x3c8c79);return _0x5b450d;}['decompress'](_0x38b6a1){const _0x551e41=[];for(;_0x38b6a1['types']['length'];){this['_compressorById']['get'](_0x38b6a1['types'][0x0])['decompress'](_0x551e41,_0x38b6a1);}return _0x551e41['forEach']((_0x587567,_0x3d69bb)=>_0x587567['baseVersion']=_0x38b6a1['baseVersion']+_0x3d69bb),_0x551e41;}['_getCompressorByName'](_0xf0a002){return this['_compressorByName']['get'](_0xf0a002);}['_registerOperationCompressor'](_0x1689a9,_0x4ef469,_0x4900f6){const _0x3558f7=new _0x4900f6(_0x1689a9,_0x4ef469,this['_protobufFactory']['getDescriptor'](_0x4ef469));this['_registerCompressor'](_0x1689a9,_0x4ef469,_0x3558f7);}['_registerActionCompressor'](_0x23ea2f,_0xae6ddd,_0x1b1a54){const _0x26a20c=new _0x1b1a54(_0x23ea2f,this);this['_registerCompressor'](_0x23ea2f,_0xae6ddd,_0x26a20c);}['_registerCompressor'](_0x36731b,_0x432978,_0x5ae5eb){this['_compressorById']['set'](_0x36731b,_0x5ae5eb),this['_compressorByName']['set'](_0x432978,_0x5ae5eb);}constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new r();const _0x1ced0e=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new p(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',s),this['_registerOperationCompressor'](0xb,'InsertOperation',i),this['_registerOperationCompressor'](0xc,'MarkerOperation',n),this['_registerOperationCompressor'](0xd,'MergeOperation',e),this['_registerOperationCompressor'](0xe,'MoveOperation',e),this['_registerOperationCompressor'](0xf,'RenameOperation',e),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',s),this['_registerOperationCompressor'](0x11,'SplitOperation',e),this['_registerCompressor'](0x12,'CommentMarkerOperation',new a(0x12,'MarkerOperation',_0x1ced0e,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new a(0x13,'MarkerOperation',_0x1ced0e,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',e),this['_registerActionCompressor'](0x64,'TypingAction',m),this['_registerActionCompressor'](0x65,'DeletingAction',c),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',h),this['_registerActionCompressor'](0x67,'UserSelectionAction',f);}}export{g as Compressor};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-operations-compressor",
|
|
3
|
-
"version": "41.4.
|
|
3
|
+
"version": "41.4.1",
|
|
4
4
|
"description": "CKEditor 5 operations compressor for real-time collaboration.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://ckeditor.com/collaboration/real-time/",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"main": "src/index.js",
|
|
34
34
|
"types": "src/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"ckeditor5": "41.4.
|
|
36
|
+
"ckeditor5": "41.4.1",
|
|
37
37
|
"lodash-es": "4.17.21",
|
|
38
38
|
"protobufjs": "7.2.5"
|
|
39
39
|
},
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x15137e=_0x3048;function _0x3048(_0x259ac7,_0x18f29e){const _0x41a076=_0x41a0();return _0x3048=function(_0x30486e,_0x1a7d0f){_0x30486e=_0x30486e-0x1a9;let _0x47cd81=_0x41a076[_0x30486e];return _0x47cd81;},_0x3048(_0x259ac7,_0x18f29e);}(function(_0x989914,_0x4d9f56){const _0x1b44bd=_0x3048,_0xf3a5ab=_0x989914();while(!![]){try{const _0x35ba31=-parseInt(_0x1b44bd(0x1b6))/0x1*(-parseInt(_0x1b44bd(0x1a9))/0x2)+parseInt(_0x1b44bd(0x1b0))/0x3*(-parseInt(_0x1b44bd(0x1b2))/0x4)+-parseInt(_0x1b44bd(0x1b9))/0x5*(-parseInt(_0x1b44bd(0x1c0))/0x6)+parseInt(_0x1b44bd(0x1ac))/0x7+-parseInt(_0x1b44bd(0x1bf))/0x8+-parseInt(_0x1b44bd(0x1ab))/0x9+parseInt(_0x1b44bd(0x1bc))/0xa;if(_0x35ba31===_0x4d9f56)break;else _0xf3a5ab['push'](_0xf3a5ab['shift']());}catch(_0x20a917){_0xf3a5ab['push'](_0xf3a5ab['shift']());}}}(_0x41a0,0x1fe1d));import{cloneDeep as _0x5c17f8}from'lodash-es';function _0x41a0(){const _0x3a3fb2=['decompress','types','1293OtCvKr','_compareOperations','1656jlEJPe','_context','push','length','22197FijfKH','buffers','_compressSingleOperation','5OiDPIf','_combineNext','_splitCurrent','2096100ZqWHYb','compress','_decompressSingleOperation','2027440DhzKcj','1420074MewGBT','6woQurj','_id','1170270mrNgTx','1257221EWvEBa','shift'];_0x41a0=function(){return _0x3a3fb2;};return _0x41a0();}export default class b{constructor(_0x48f635,_0x521934){const _0x10a68f=_0x3048;this[_0x10a68f(0x1aa)]=_0x48f635,this[_0x10a68f(0x1b3)]=_0x521934;}[_0x15137e(0x1bd)](_0x158741,_0x5dcde1){const _0x3aba65=_0x15137e;let _0x18c6bd;for(;_0x5dcde1[_0x3aba65(0x1b5)]>0x1&&this[_0x3aba65(0x1b1)](_0x5dcde1[0x0],_0x5dcde1[0x1]);)_0x18c6bd?(_0x18c6bd=this[_0x3aba65(0x1ba)](_0x5dcde1[_0x3aba65(0x1ad)](),_0x18c6bd),_0x158741[_0x3aba65(0x1af)][_0x3aba65(0x1b4)](0x0)):(_0x18c6bd=_0x5c17f8(_0x5dcde1[_0x3aba65(0x1ad)]()),_0x158741[_0x3aba65(0x1af)][_0x3aba65(0x1b4)](this[_0x3aba65(0x1aa)]));return!!_0x18c6bd&&(_0x18c6bd=this[_0x3aba65(0x1ba)](_0x5dcde1[_0x3aba65(0x1ad)](),_0x18c6bd),_0x158741[_0x3aba65(0x1af)][_0x3aba65(0x1b4)](0x0),_0x158741[_0x3aba65(0x1b7)][_0x3aba65(0x1b4)](this[_0x3aba65(0x1b8)](_0x18c6bd)),!0x0);}[_0x15137e(0x1ae)](_0x1bc640,_0x4a3036){const _0x309899=_0x15137e,_0x1c3553=this[_0x309899(0x1be)](_0x4a3036);for(;0x0==_0x4a3036[_0x309899(0x1af)][0x0];)_0x4a3036[_0x309899(0x1af)][_0x309899(0x1ad)](),_0x1bc640[_0x309899(0x1b4)](this[_0x309899(0x1bb)](_0x1c3553));_0x1bc640[_0x309899(0x1b4)](_0x1c3553);}}
|