@ckeditor/ckeditor5-operations-compressor 41.4.1 → 42.0.0-alpha.0
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/README.md +6 -0
- package/dist/index.js +2 -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.d.ts +1 -1435
- package/src/lib/compiledmessages.js +2 -1
- package/src/lib/protobufdescriptions.js +23 -0
- 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/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
- package/dist/types/protobufdescriptions.d.ts +0 -8
- package/src/protobufdescriptions.d.ts +0 -4
- package/src/protobufdescriptions.js +0 -23
package/README.md
CHANGED
|
@@ -10,6 +10,12 @@ For more information about real-time collaboration see the [CKEditor 5 real
|
|
|
10
10
|
|
|
11
11
|
Also, make sure you visit the [CKEditor 5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
|
|
12
12
|
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install ckeditor5-premium-features
|
|
17
|
+
```
|
|
18
|
+
|
|
13
19
|
## Getting support
|
|
14
20
|
|
|
15
21
|
CKEditor 5 operations compressor comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 Collaboration features with your application.
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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};
|
|
23
|
+
import{CKEditorError as _0x3a8a44}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0x48d0be from'protobufjs/minimal.js';import{cloneDeep as _0x5b4797,isEqual as _0x5e231c,isObject as _0x3a5d5d}from'lodash-es';const u=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>{var _0x14589a=_0x48d0be['Reader'],_0x1fa1d3=_0x48d0be['Writer'],_0x44a02f=_0x48d0be['util'],_0x3d5d02=_0x48d0be['roots']['default']||(_0x48d0be['roots']['default']={});return _0x3d5d02['AttributeOperation']=(function(){function _0x171ab0(_0x388b61){if(_0x388b61){for(var _0x10c195=Object['keys'](_0x388b61),_0x3a6fc5=0x0;_0x3a6fc5<_0x10c195['length'];++_0x3a6fc5)null!=_0x388b61[_0x10c195[_0x3a6fc5]]&&(this[_0x10c195[_0x3a6fc5]]=_0x388b61[_0x10c195[_0x3a6fc5]]);}}return _0x171ab0['prototype']['range']=null,_0x171ab0['prototype']['key']='',_0x171ab0['prototype']['oldValueBoolean']=!0x1,_0x171ab0['prototype']['oldValueJson']='',_0x171ab0['prototype']['newValueBoolean']=!0x1,_0x171ab0['prototype']['newValueJson']='',_0x171ab0['prototype']['wasUndone']=!0x1,_0x171ab0['create']=function(_0x1df2c3){return new _0x171ab0(_0x1df2c3);},_0x171ab0['encode']=function(_0x1d426c,_0x519d28){return _0x519d28||(_0x519d28=_0x1fa1d3['create']()),null!=_0x1d426c['range']&&Object['hasOwnProperty']['call'](_0x1d426c,'range')&&_0x3d5d02['Range']['encode'](_0x1d426c['range'],_0x519d28['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1d426c['key']&&Object['hasOwnProperty']['call'](_0x1d426c,'key')&&_0x519d28['uint32'](0x12)['string'](_0x1d426c['key']),null!=_0x1d426c['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x1d426c,'oldValueBoolean')&&_0x519d28['uint32'](0x18)['bool'](_0x1d426c['oldValueBoolean']),null!=_0x1d426c['oldValueJson']&&Object['hasOwnProperty']['call'](_0x1d426c,'oldValueJson')&&_0x519d28['uint32'](0x22)['string'](_0x1d426c['oldValueJson']),null!=_0x1d426c['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x1d426c,'newValueBoolean')&&_0x519d28['uint32'](0x28)['bool'](_0x1d426c['newValueBoolean']),null!=_0x1d426c['newValueJson']&&Object['hasOwnProperty']['call'](_0x1d426c,'newValueJson')&&_0x519d28['uint32'](0x32)['string'](_0x1d426c['newValueJson']),null!=_0x1d426c['wasUndone']&&Object['hasOwnProperty']['call'](_0x1d426c,'wasUndone')&&_0x519d28['uint32'](0x38)['bool'](_0x1d426c['wasUndone']),_0x519d28;},_0x171ab0['encodeDelimited']=function(_0x1872b4,_0x5613b6){return this['encode'](_0x1872b4,_0x5613b6)['ldelim']();},_0x171ab0['decode']=function(_0x2bcbd4,_0xc01319){_0x2bcbd4 instanceof _0x14589a||(_0x2bcbd4=_0x14589a['create'](_0x2bcbd4));for(var _0x5c4421=void 0x0===_0xc01319?_0x2bcbd4['len']:_0x2bcbd4['pos']+_0xc01319,_0x36e5d2=new _0x3d5d02['AttributeOperation']();_0x2bcbd4['pos']<_0x5c4421;){var _0x19d1f7=_0x2bcbd4['uint32']();switch(_0x19d1f7>>>0x3){case 0x1:_0x36e5d2['range']=_0x3d5d02['Range']['decode'](_0x2bcbd4,_0x2bcbd4['uint32']());break;case 0x2:_0x36e5d2['key']=_0x2bcbd4['string']();break;case 0x3:_0x36e5d2['oldValueBoolean']=_0x2bcbd4['bool']();break;case 0x4:_0x36e5d2['oldValueJson']=_0x2bcbd4['string']();break;case 0x5:_0x36e5d2['newValueBoolean']=_0x2bcbd4['bool']();break;case 0x6:_0x36e5d2['newValueJson']=_0x2bcbd4['string']();break;case 0x7:_0x36e5d2['wasUndone']=_0x2bcbd4['bool']();break;default:_0x2bcbd4['skipType'](0x7&_0x19d1f7);}}return _0x36e5d2;},_0x171ab0['decodeDelimited']=function(_0x4fc435){return _0x4fc435 instanceof _0x14589a||(_0x4fc435=new _0x14589a(_0x4fc435)),this['decode'](_0x4fc435,_0x4fc435['uint32']());},_0x171ab0['verify']=function(_0x161bef){if('object'!=typeof _0x161bef||null===_0x161bef)return'object\x20expected';if(null!=_0x161bef['range']&&_0x161bef['hasOwnProperty']('range')){var _0x4bc37e=_0x3d5d02['Range']['verify'](_0x161bef['range']);if(_0x4bc37e)return'range.'+_0x4bc37e;}return null!=_0x161bef['key']&&_0x161bef['hasOwnProperty']('key')&&!_0x44a02f['isString'](_0x161bef['key'])?'key:\x20string\x20expected':null!=_0x161bef['oldValueBoolean']&&_0x161bef['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x161bef['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x161bef['oldValueJson']&&_0x161bef['hasOwnProperty']('oldValueJson')&&!_0x44a02f['isString'](_0x161bef['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x161bef['newValueBoolean']&&_0x161bef['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x161bef['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x161bef['newValueJson']&&_0x161bef['hasOwnProperty']('newValueJson')&&!_0x44a02f['isString'](_0x161bef['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x161bef['wasUndone']&&_0x161bef['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x161bef['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x171ab0['fromObject']=function(_0x402900){if(_0x402900 instanceof _0x3d5d02['AttributeOperation'])return _0x402900;var _0x1b849c=new _0x3d5d02['AttributeOperation']();if(null!=_0x402900['range']){if('object'!=typeof _0x402900['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x1b849c['range']=_0x3d5d02['Range']['fromObject'](_0x402900['range']);}return null!=_0x402900['key']&&(_0x1b849c['key']=String(_0x402900['key'])),null!=_0x402900['oldValueBoolean']&&(_0x1b849c['oldValueBoolean']=Boolean(_0x402900['oldValueBoolean'])),null!=_0x402900['oldValueJson']&&(_0x1b849c['oldValueJson']=String(_0x402900['oldValueJson'])),null!=_0x402900['newValueBoolean']&&(_0x1b849c['newValueBoolean']=Boolean(_0x402900['newValueBoolean'])),null!=_0x402900['newValueJson']&&(_0x1b849c['newValueJson']=String(_0x402900['newValueJson'])),null!=_0x402900['wasUndone']&&(_0x1b849c['wasUndone']=Boolean(_0x402900['wasUndone'])),_0x1b849c;},_0x171ab0['toObject']=function(_0x347091,_0x984be6){_0x984be6||(_0x984be6={});var _0x4be433={};return _0x984be6['defaults']&&(_0x4be433['range']=null,_0x4be433['key']='',_0x4be433['oldValueBoolean']=!0x1,_0x4be433['oldValueJson']='',_0x4be433['newValueBoolean']=!0x1,_0x4be433['newValueJson']='',_0x4be433['wasUndone']=!0x1),null!=_0x347091['range']&&_0x347091['hasOwnProperty']('range')&&(_0x4be433['range']=_0x3d5d02['Range']['toObject'](_0x347091['range'],_0x984be6)),null!=_0x347091['key']&&_0x347091['hasOwnProperty']('key')&&(_0x4be433['key']=_0x347091['key']),null!=_0x347091['oldValueBoolean']&&_0x347091['hasOwnProperty']('oldValueBoolean')&&(_0x4be433['oldValueBoolean']=_0x347091['oldValueBoolean']),null!=_0x347091['oldValueJson']&&_0x347091['hasOwnProperty']('oldValueJson')&&(_0x4be433['oldValueJson']=_0x347091['oldValueJson']),null!=_0x347091['newValueBoolean']&&_0x347091['hasOwnProperty']('newValueBoolean')&&(_0x4be433['newValueBoolean']=_0x347091['newValueBoolean']),null!=_0x347091['newValueJson']&&_0x347091['hasOwnProperty']('newValueJson')&&(_0x4be433['newValueJson']=_0x347091['newValueJson']),null!=_0x347091['wasUndone']&&_0x347091['hasOwnProperty']('wasUndone')&&(_0x4be433['wasUndone']=_0x347091['wasUndone']),_0x4be433;},_0x171ab0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x171ab0['getTypeUrl']=function(_0x1405be){return void 0x0===_0x1405be&&(_0x1405be='type.googleapis.com'),_0x1405be+'/AttributeOperation';},_0x171ab0;}()),_0x3d5d02['InsertOperation']=(function(){function _0x3229e7(_0x18559b){if(this['nodes']=[],_0x18559b){for(var _0x50c83a=Object['keys'](_0x18559b),_0x5c2a7e=0x0;_0x5c2a7e<_0x50c83a['length'];++_0x5c2a7e)null!=_0x18559b[_0x50c83a[_0x5c2a7e]]&&(this[_0x50c83a[_0x5c2a7e]]=_0x18559b[_0x50c83a[_0x5c2a7e]]);}}return _0x3229e7['prototype']['position']=null,_0x3229e7['prototype']['nodes']=_0x44a02f['emptyArray'],_0x3229e7['prototype']['shouldReceiveAttributes']=!0x1,_0x3229e7['prototype']['wasUndone']=!0x1,_0x3229e7['create']=function(_0x4b43c9){return new _0x3229e7(_0x4b43c9);},_0x3229e7['encode']=function(_0x736400,_0x2cb0b9){if(_0x2cb0b9||(_0x2cb0b9=_0x1fa1d3['create']()),null!=_0x736400['position']&&Object['hasOwnProperty']['call'](_0x736400,'position')&&_0x3d5d02['Position']['encode'](_0x736400['position'],_0x2cb0b9['uint32'](0xa)['fork']())['ldelim'](),null!=_0x736400['nodes']&&_0x736400['nodes']['length']){for(var _0x44da3a=0x0;_0x44da3a<_0x736400['nodes']['length'];++_0x44da3a)_0x3d5d02['Element']['encode'](_0x736400['nodes'][_0x44da3a],_0x2cb0b9['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x736400['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x736400,'shouldReceiveAttributes')&&_0x2cb0b9['uint32'](0x18)['bool'](_0x736400['shouldReceiveAttributes']),null!=_0x736400['wasUndone']&&Object['hasOwnProperty']['call'](_0x736400,'wasUndone')&&_0x2cb0b9['uint32'](0x20)['bool'](_0x736400['wasUndone']),_0x2cb0b9;},_0x3229e7['encodeDelimited']=function(_0x3aa3e1,_0x3835a5){return this['encode'](_0x3aa3e1,_0x3835a5)['ldelim']();},_0x3229e7['decode']=function(_0x20b539,_0x54cece){_0x20b539 instanceof _0x14589a||(_0x20b539=_0x14589a['create'](_0x20b539));for(var _0x12df17=void 0x0===_0x54cece?_0x20b539['len']:_0x20b539['pos']+_0x54cece,_0x43221f=new _0x3d5d02['InsertOperation']();_0x20b539['pos']<_0x12df17;){var _0x4950db=_0x20b539['uint32']();switch(_0x4950db>>>0x3){case 0x1:_0x43221f['position']=_0x3d5d02['Position']['decode'](_0x20b539,_0x20b539['uint32']());break;case 0x2:_0x43221f['nodes']&&_0x43221f['nodes']['length']||(_0x43221f['nodes']=[]),_0x43221f['nodes']['push'](_0x3d5d02['Element']['decode'](_0x20b539,_0x20b539['uint32']()));break;case 0x3:_0x43221f['shouldReceiveAttributes']=_0x20b539['bool']();break;case 0x4:_0x43221f['wasUndone']=_0x20b539['bool']();break;default:_0x20b539['skipType'](0x7&_0x4950db);}}return _0x43221f;},_0x3229e7['decodeDelimited']=function(_0x38e504){return _0x38e504 instanceof _0x14589a||(_0x38e504=new _0x14589a(_0x38e504)),this['decode'](_0x38e504,_0x38e504['uint32']());},_0x3229e7['verify']=function(_0x5b3384){if('object'!=typeof _0x5b3384||null===_0x5b3384)return'object\x20expected';if(null!=_0x5b3384['position']&&_0x5b3384['hasOwnProperty']('position')&&(_0x4aee42=_0x3d5d02['Position']['verify'](_0x5b3384['position'])))return'position.'+_0x4aee42;if(null!=_0x5b3384['nodes']&&_0x5b3384['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x5b3384['nodes']))return'nodes:\x20array\x20expected';for(var _0x77d629=0x0;_0x77d629<_0x5b3384['nodes']['length'];++_0x77d629){var _0x4aee42;if(_0x4aee42=_0x3d5d02['Element']['verify'](_0x5b3384['nodes'][_0x77d629]))return'nodes.'+_0x4aee42;}}return null!=_0x5b3384['shouldReceiveAttributes']&&_0x5b3384['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x5b3384['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x5b3384['wasUndone']&&_0x5b3384['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5b3384['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3229e7['fromObject']=function(_0x1530d1){if(_0x1530d1 instanceof _0x3d5d02['InsertOperation'])return _0x1530d1;var _0x529520=new _0x3d5d02['InsertOperation']();if(null!=_0x1530d1['position']){if('object'!=typeof _0x1530d1['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x529520['position']=_0x3d5d02['Position']['fromObject'](_0x1530d1['position']);}if(_0x1530d1['nodes']){if(!Array['isArray'](_0x1530d1['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x529520['nodes']=[];for(var _0xd8b568=0x0;_0xd8b568<_0x1530d1['nodes']['length'];++_0xd8b568){if('object'!=typeof _0x1530d1['nodes'][_0xd8b568])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x529520['nodes'][_0xd8b568]=_0x3d5d02['Element']['fromObject'](_0x1530d1['nodes'][_0xd8b568]);}}return null!=_0x1530d1['shouldReceiveAttributes']&&(_0x529520['shouldReceiveAttributes']=Boolean(_0x1530d1['shouldReceiveAttributes'])),null!=_0x1530d1['wasUndone']&&(_0x529520['wasUndone']=Boolean(_0x1530d1['wasUndone'])),_0x529520;},_0x3229e7['toObject']=function(_0x1bcdf0,_0x53001f){_0x53001f||(_0x53001f={});var _0x3d8ff2={};if((_0x53001f['arrays']||_0x53001f['defaults'])&&(_0x3d8ff2['nodes']=[]),_0x53001f['defaults']&&(_0x3d8ff2['position']=null,_0x3d8ff2['shouldReceiveAttributes']=!0x1,_0x3d8ff2['wasUndone']=!0x1),null!=_0x1bcdf0['position']&&_0x1bcdf0['hasOwnProperty']('position')&&(_0x3d8ff2['position']=_0x3d5d02['Position']['toObject'](_0x1bcdf0['position'],_0x53001f)),_0x1bcdf0['nodes']&&_0x1bcdf0['nodes']['length']){_0x3d8ff2['nodes']=[];for(var _0x10ce57=0x0;_0x10ce57<_0x1bcdf0['nodes']['length'];++_0x10ce57)_0x3d8ff2['nodes'][_0x10ce57]=_0x3d5d02['Element']['toObject'](_0x1bcdf0['nodes'][_0x10ce57],_0x53001f);}return null!=_0x1bcdf0['shouldReceiveAttributes']&&_0x1bcdf0['hasOwnProperty']('shouldReceiveAttributes')&&(_0x3d8ff2['shouldReceiveAttributes']=_0x1bcdf0['shouldReceiveAttributes']),null!=_0x1bcdf0['wasUndone']&&_0x1bcdf0['hasOwnProperty']('wasUndone')&&(_0x3d8ff2['wasUndone']=_0x1bcdf0['wasUndone']),_0x3d8ff2;},_0x3229e7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x3229e7['getTypeUrl']=function(_0xc89680){return void 0x0===_0xc89680&&(_0xc89680='type.googleapis.com'),_0xc89680+'/InsertOperation';},_0x3229e7;}()),_0x3d5d02['MarkerOperation']=(function(){function _0x3e4a7e(_0x2f6aaa){if(_0x2f6aaa){for(var _0x44a90a=Object['keys'](_0x2f6aaa),_0x5830ba=0x0;_0x5830ba<_0x44a90a['length'];++_0x5830ba)null!=_0x2f6aaa[_0x44a90a[_0x5830ba]]&&(this[_0x44a90a[_0x5830ba]]=_0x2f6aaa[_0x44a90a[_0x5830ba]]);}}return _0x3e4a7e['prototype']['name']='',_0x3e4a7e['prototype']['oldRange']=null,_0x3e4a7e['prototype']['newRange']=null,_0x3e4a7e['prototype']['affectsData']=!0x1,_0x3e4a7e['prototype']['wasUndone']=!0x1,_0x3e4a7e['create']=function(_0x59451a){return new _0x3e4a7e(_0x59451a);},_0x3e4a7e['encode']=function(_0x2b2033,_0x219491){return _0x219491||(_0x219491=_0x1fa1d3['create']()),null!=_0x2b2033['name']&&Object['hasOwnProperty']['call'](_0x2b2033,'name')&&_0x219491['uint32'](0xa)['string'](_0x2b2033['name']),null!=_0x2b2033['oldRange']&&Object['hasOwnProperty']['call'](_0x2b2033,'oldRange')&&_0x3d5d02['Range']['encode'](_0x2b2033['oldRange'],_0x219491['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2b2033['newRange']&&Object['hasOwnProperty']['call'](_0x2b2033,'newRange')&&_0x3d5d02['Range']['encode'](_0x2b2033['newRange'],_0x219491['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2b2033['affectsData']&&Object['hasOwnProperty']['call'](_0x2b2033,'affectsData')&&_0x219491['uint32'](0x20)['bool'](_0x2b2033['affectsData']),null!=_0x2b2033['wasUndone']&&Object['hasOwnProperty']['call'](_0x2b2033,'wasUndone')&&_0x219491['uint32'](0x28)['bool'](_0x2b2033['wasUndone']),_0x219491;},_0x3e4a7e['encodeDelimited']=function(_0x29a241,_0x4c5776){return this['encode'](_0x29a241,_0x4c5776)['ldelim']();},_0x3e4a7e['decode']=function(_0xed3fdb,_0x3c2c26){_0xed3fdb instanceof _0x14589a||(_0xed3fdb=_0x14589a['create'](_0xed3fdb));for(var _0x20e27f=void 0x0===_0x3c2c26?_0xed3fdb['len']:_0xed3fdb['pos']+_0x3c2c26,_0x4a103b=new _0x3d5d02['MarkerOperation']();_0xed3fdb['pos']<_0x20e27f;){var _0x562617=_0xed3fdb['uint32']();switch(_0x562617>>>0x3){case 0x1:_0x4a103b['name']=_0xed3fdb['string']();break;case 0x2:_0x4a103b['oldRange']=_0x3d5d02['Range']['decode'](_0xed3fdb,_0xed3fdb['uint32']());break;case 0x3:_0x4a103b['newRange']=_0x3d5d02['Range']['decode'](_0xed3fdb,_0xed3fdb['uint32']());break;case 0x4:_0x4a103b['affectsData']=_0xed3fdb['bool']();break;case 0x5:_0x4a103b['wasUndone']=_0xed3fdb['bool']();break;default:_0xed3fdb['skipType'](0x7&_0x562617);}}return _0x4a103b;},_0x3e4a7e['decodeDelimited']=function(_0x335d70){return _0x335d70 instanceof _0x14589a||(_0x335d70=new _0x14589a(_0x335d70)),this['decode'](_0x335d70,_0x335d70['uint32']());},_0x3e4a7e['verify']=function(_0x5ac5f7){if('object'!=typeof _0x5ac5f7||null===_0x5ac5f7)return'object\x20expected';if(null!=_0x5ac5f7['name']&&_0x5ac5f7['hasOwnProperty']('name')&&!_0x44a02f['isString'](_0x5ac5f7['name']))return'name:\x20string\x20expected';var _0x36ac44;if(null!=_0x5ac5f7['oldRange']&&_0x5ac5f7['hasOwnProperty']('oldRange')&&(_0x36ac44=_0x3d5d02['Range']['verify'](_0x5ac5f7['oldRange'])))return'oldRange.'+_0x36ac44;if(null!=_0x5ac5f7['newRange']&&_0x5ac5f7['hasOwnProperty']('newRange')&&(_0x36ac44=_0x3d5d02['Range']['verify'](_0x5ac5f7['newRange'])))return'newRange.'+_0x36ac44;return null!=_0x5ac5f7['affectsData']&&_0x5ac5f7['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x5ac5f7['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x5ac5f7['wasUndone']&&_0x5ac5f7['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5ac5f7['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3e4a7e['fromObject']=function(_0x4d5b3d){if(_0x4d5b3d instanceof _0x3d5d02['MarkerOperation'])return _0x4d5b3d;var _0x295a72=new _0x3d5d02['MarkerOperation']();if(null!=_0x4d5b3d['name']&&(_0x295a72['name']=String(_0x4d5b3d['name'])),null!=_0x4d5b3d['oldRange']){if('object'!=typeof _0x4d5b3d['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x295a72['oldRange']=_0x3d5d02['Range']['fromObject'](_0x4d5b3d['oldRange']);}if(null!=_0x4d5b3d['newRange']){if('object'!=typeof _0x4d5b3d['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x295a72['newRange']=_0x3d5d02['Range']['fromObject'](_0x4d5b3d['newRange']);}return null!=_0x4d5b3d['affectsData']&&(_0x295a72['affectsData']=Boolean(_0x4d5b3d['affectsData'])),null!=_0x4d5b3d['wasUndone']&&(_0x295a72['wasUndone']=Boolean(_0x4d5b3d['wasUndone'])),_0x295a72;},_0x3e4a7e['toObject']=function(_0x5ba2de,_0x9da3fd){_0x9da3fd||(_0x9da3fd={});var _0x510a58={};return _0x9da3fd['defaults']&&(_0x510a58['name']='',_0x510a58['oldRange']=null,_0x510a58['newRange']=null,_0x510a58['affectsData']=!0x1,_0x510a58['wasUndone']=!0x1),null!=_0x5ba2de['name']&&_0x5ba2de['hasOwnProperty']('name')&&(_0x510a58['name']=_0x5ba2de['name']),null!=_0x5ba2de['oldRange']&&_0x5ba2de['hasOwnProperty']('oldRange')&&(_0x510a58['oldRange']=_0x3d5d02['Range']['toObject'](_0x5ba2de['oldRange'],_0x9da3fd)),null!=_0x5ba2de['newRange']&&_0x5ba2de['hasOwnProperty']('newRange')&&(_0x510a58['newRange']=_0x3d5d02['Range']['toObject'](_0x5ba2de['newRange'],_0x9da3fd)),null!=_0x5ba2de['affectsData']&&_0x5ba2de['hasOwnProperty']('affectsData')&&(_0x510a58['affectsData']=_0x5ba2de['affectsData']),null!=_0x5ba2de['wasUndone']&&_0x5ba2de['hasOwnProperty']('wasUndone')&&(_0x510a58['wasUndone']=_0x5ba2de['wasUndone']),_0x510a58;},_0x3e4a7e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x3e4a7e['getTypeUrl']=function(_0x5e2b63){return void 0x0===_0x5e2b63&&(_0x5e2b63='type.googleapis.com'),_0x5e2b63+'/MarkerOperation';},_0x3e4a7e;}()),_0x3d5d02['MergeOperation']=(function(){function _0x150261(_0x1b1ed3){if(_0x1b1ed3){for(var _0x45719f=Object['keys'](_0x1b1ed3),_0x169a24=0x0;_0x169a24<_0x45719f['length'];++_0x169a24)null!=_0x1b1ed3[_0x45719f[_0x169a24]]&&(this[_0x45719f[_0x169a24]]=_0x1b1ed3[_0x45719f[_0x169a24]]);}}return _0x150261['prototype']['sourcePosition']=null,_0x150261['prototype']['targetPosition']=null,_0x150261['prototype']['graveyardPosition']=null,_0x150261['prototype']['howMany']=0x0,_0x150261['prototype']['wasUndone']=!0x1,_0x150261['create']=function(_0x2f6ad7){return new _0x150261(_0x2f6ad7);},_0x150261['encode']=function(_0x1a7d3b,_0x13d214){return _0x13d214||(_0x13d214=_0x1fa1d3['create']()),null!=_0x1a7d3b['sourcePosition']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'sourcePosition')&&_0x3d5d02['Position']['encode'](_0x1a7d3b['sourcePosition'],_0x13d214['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1a7d3b['targetPosition']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'targetPosition')&&_0x3d5d02['Position']['encode'](_0x1a7d3b['targetPosition'],_0x13d214['uint32'](0x12)['fork']())['ldelim'](),null!=_0x1a7d3b['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'graveyardPosition')&&_0x3d5d02['Position']['encode'](_0x1a7d3b['graveyardPosition'],_0x13d214['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x1a7d3b['howMany']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'howMany')&&_0x13d214['uint32'](0x20)['uint32'](_0x1a7d3b['howMany']),null!=_0x1a7d3b['wasUndone']&&Object['hasOwnProperty']['call'](_0x1a7d3b,'wasUndone')&&_0x13d214['uint32'](0x28)['bool'](_0x1a7d3b['wasUndone']),_0x13d214;},_0x150261['encodeDelimited']=function(_0x550978,_0x53c468){return this['encode'](_0x550978,_0x53c468)['ldelim']();},_0x150261['decode']=function(_0x59267e,_0x56f02f){_0x59267e instanceof _0x14589a||(_0x59267e=_0x14589a['create'](_0x59267e));for(var _0x26008d=void 0x0===_0x56f02f?_0x59267e['len']:_0x59267e['pos']+_0x56f02f,_0x17aad1=new _0x3d5d02['MergeOperation']();_0x59267e['pos']<_0x26008d;){var _0x108121=_0x59267e['uint32']();switch(_0x108121>>>0x3){case 0x1:_0x17aad1['sourcePosition']=_0x3d5d02['Position']['decode'](_0x59267e,_0x59267e['uint32']());break;case 0x2:_0x17aad1['targetPosition']=_0x3d5d02['Position']['decode'](_0x59267e,_0x59267e['uint32']());break;case 0x3:_0x17aad1['graveyardPosition']=_0x3d5d02['Position']['decode'](_0x59267e,_0x59267e['uint32']());break;case 0x4:_0x17aad1['howMany']=_0x59267e['uint32']();break;case 0x5:_0x17aad1['wasUndone']=_0x59267e['bool']();break;default:_0x59267e['skipType'](0x7&_0x108121);}}return _0x17aad1;},_0x150261['decodeDelimited']=function(_0x559195){return _0x559195 instanceof _0x14589a||(_0x559195=new _0x14589a(_0x559195)),this['decode'](_0x559195,_0x559195['uint32']());},_0x150261['verify']=function(_0x5321bd){if('object'!=typeof _0x5321bd||null===_0x5321bd)return'object\x20expected';var _0xeab5e4;if(null!=_0x5321bd['sourcePosition']&&_0x5321bd['hasOwnProperty']('sourcePosition')&&(_0xeab5e4=_0x3d5d02['Position']['verify'](_0x5321bd['sourcePosition'])))return'sourcePosition.'+_0xeab5e4;if(null!=_0x5321bd['targetPosition']&&_0x5321bd['hasOwnProperty']('targetPosition')&&(_0xeab5e4=_0x3d5d02['Position']['verify'](_0x5321bd['targetPosition'])))return'targetPosition.'+_0xeab5e4;if(null!=_0x5321bd['graveyardPosition']&&_0x5321bd['hasOwnProperty']('graveyardPosition')&&(_0xeab5e4=_0x3d5d02['Position']['verify'](_0x5321bd['graveyardPosition'])))return'graveyardPosition.'+_0xeab5e4;return null!=_0x5321bd['howMany']&&_0x5321bd['hasOwnProperty']('howMany')&&!_0x44a02f['isInteger'](_0x5321bd['howMany'])?'howMany:\x20integer\x20expected':null!=_0x5321bd['wasUndone']&&_0x5321bd['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5321bd['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x150261['fromObject']=function(_0x46ce8a){if(_0x46ce8a instanceof _0x3d5d02['MergeOperation'])return _0x46ce8a;var _0x4929c4=new _0x3d5d02['MergeOperation']();if(null!=_0x46ce8a['sourcePosition']){if('object'!=typeof _0x46ce8a['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x4929c4['sourcePosition']=_0x3d5d02['Position']['fromObject'](_0x46ce8a['sourcePosition']);}if(null!=_0x46ce8a['targetPosition']){if('object'!=typeof _0x46ce8a['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x4929c4['targetPosition']=_0x3d5d02['Position']['fromObject'](_0x46ce8a['targetPosition']);}if(null!=_0x46ce8a['graveyardPosition']){if('object'!=typeof _0x46ce8a['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x4929c4['graveyardPosition']=_0x3d5d02['Position']['fromObject'](_0x46ce8a['graveyardPosition']);}return null!=_0x46ce8a['howMany']&&(_0x4929c4['howMany']=_0x46ce8a['howMany']>>>0x0),null!=_0x46ce8a['wasUndone']&&(_0x4929c4['wasUndone']=Boolean(_0x46ce8a['wasUndone'])),_0x4929c4;},_0x150261['toObject']=function(_0xdacf4a,_0x369ba0){_0x369ba0||(_0x369ba0={});var _0x1c53c0={};return _0x369ba0['defaults']&&(_0x1c53c0['sourcePosition']=null,_0x1c53c0['targetPosition']=null,_0x1c53c0['graveyardPosition']=null,_0x1c53c0['howMany']=0x0,_0x1c53c0['wasUndone']=!0x1),null!=_0xdacf4a['sourcePosition']&&_0xdacf4a['hasOwnProperty']('sourcePosition')&&(_0x1c53c0['sourcePosition']=_0x3d5d02['Position']['toObject'](_0xdacf4a['sourcePosition'],_0x369ba0)),null!=_0xdacf4a['targetPosition']&&_0xdacf4a['hasOwnProperty']('targetPosition')&&(_0x1c53c0['targetPosition']=_0x3d5d02['Position']['toObject'](_0xdacf4a['targetPosition'],_0x369ba0)),null!=_0xdacf4a['graveyardPosition']&&_0xdacf4a['hasOwnProperty']('graveyardPosition')&&(_0x1c53c0['graveyardPosition']=_0x3d5d02['Position']['toObject'](_0xdacf4a['graveyardPosition'],_0x369ba0)),null!=_0xdacf4a['howMany']&&_0xdacf4a['hasOwnProperty']('howMany')&&(_0x1c53c0['howMany']=_0xdacf4a['howMany']),null!=_0xdacf4a['wasUndone']&&_0xdacf4a['hasOwnProperty']('wasUndone')&&(_0x1c53c0['wasUndone']=_0xdacf4a['wasUndone']),_0x1c53c0;},_0x150261['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x150261['getTypeUrl']=function(_0x168171){return void 0x0===_0x168171&&(_0x168171='type.googleapis.com'),_0x168171+'/MergeOperation';},_0x150261;}()),_0x3d5d02['MoveOperation']=(function(){function _0x1cee77(_0x33742d){if(_0x33742d){for(var _0x1a1539=Object['keys'](_0x33742d),_0x10126a=0x0;_0x10126a<_0x1a1539['length'];++_0x10126a)null!=_0x33742d[_0x1a1539[_0x10126a]]&&(this[_0x1a1539[_0x10126a]]=_0x33742d[_0x1a1539[_0x10126a]]);}}return _0x1cee77['prototype']['sourcePosition']=null,_0x1cee77['prototype']['howMany']=0x0,_0x1cee77['prototype']['targetPosition']=null,_0x1cee77['prototype']['wasUndone']=!0x1,_0x1cee77['create']=function(_0x4dd381){return new _0x1cee77(_0x4dd381);},_0x1cee77['encode']=function(_0x37008b,_0x1b910d){return _0x1b910d||(_0x1b910d=_0x1fa1d3['create']()),null!=_0x37008b['sourcePosition']&&Object['hasOwnProperty']['call'](_0x37008b,'sourcePosition')&&_0x3d5d02['Position']['encode'](_0x37008b['sourcePosition'],_0x1b910d['uint32'](0xa)['fork']())['ldelim'](),null!=_0x37008b['howMany']&&Object['hasOwnProperty']['call'](_0x37008b,'howMany')&&_0x1b910d['uint32'](0x10)['uint32'](_0x37008b['howMany']),null!=_0x37008b['targetPosition']&&Object['hasOwnProperty']['call'](_0x37008b,'targetPosition')&&_0x3d5d02['Position']['encode'](_0x37008b['targetPosition'],_0x1b910d['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x37008b['wasUndone']&&Object['hasOwnProperty']['call'](_0x37008b,'wasUndone')&&_0x1b910d['uint32'](0x20)['bool'](_0x37008b['wasUndone']),_0x1b910d;},_0x1cee77['encodeDelimited']=function(_0x37cd96,_0x4486d2){return this['encode'](_0x37cd96,_0x4486d2)['ldelim']();},_0x1cee77['decode']=function(_0xa2ff6a,_0x5878e0){_0xa2ff6a instanceof _0x14589a||(_0xa2ff6a=_0x14589a['create'](_0xa2ff6a));for(var _0x1ec156=void 0x0===_0x5878e0?_0xa2ff6a['len']:_0xa2ff6a['pos']+_0x5878e0,_0x59fc0d=new _0x3d5d02['MoveOperation']();_0xa2ff6a['pos']<_0x1ec156;){var _0x5bc00c=_0xa2ff6a['uint32']();switch(_0x5bc00c>>>0x3){case 0x1:_0x59fc0d['sourcePosition']=_0x3d5d02['Position']['decode'](_0xa2ff6a,_0xa2ff6a['uint32']());break;case 0x2:_0x59fc0d['howMany']=_0xa2ff6a['uint32']();break;case 0x3:_0x59fc0d['targetPosition']=_0x3d5d02['Position']['decode'](_0xa2ff6a,_0xa2ff6a['uint32']());break;case 0x4:_0x59fc0d['wasUndone']=_0xa2ff6a['bool']();break;default:_0xa2ff6a['skipType'](0x7&_0x5bc00c);}}return _0x59fc0d;},_0x1cee77['decodeDelimited']=function(_0xb0bad9){return _0xb0bad9 instanceof _0x14589a||(_0xb0bad9=new _0x14589a(_0xb0bad9)),this['decode'](_0xb0bad9,_0xb0bad9['uint32']());},_0x1cee77['verify']=function(_0xf25eb4){if('object'!=typeof _0xf25eb4||null===_0xf25eb4)return'object\x20expected';var _0x280cc0;if(null!=_0xf25eb4['sourcePosition']&&_0xf25eb4['hasOwnProperty']('sourcePosition')&&(_0x280cc0=_0x3d5d02['Position']['verify'](_0xf25eb4['sourcePosition'])))return'sourcePosition.'+_0x280cc0;if(null!=_0xf25eb4['howMany']&&_0xf25eb4['hasOwnProperty']('howMany')&&!_0x44a02f['isInteger'](_0xf25eb4['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0xf25eb4['targetPosition']&&_0xf25eb4['hasOwnProperty']('targetPosition')&&(_0x280cc0=_0x3d5d02['Position']['verify'](_0xf25eb4['targetPosition'])))return'targetPosition.'+_0x280cc0;return null!=_0xf25eb4['wasUndone']&&_0xf25eb4['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xf25eb4['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1cee77['fromObject']=function(_0x130561){if(_0x130561 instanceof _0x3d5d02['MoveOperation'])return _0x130561;var _0xda8432=new _0x3d5d02['MoveOperation']();if(null!=_0x130561['sourcePosition']){if('object'!=typeof _0x130561['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0xda8432['sourcePosition']=_0x3d5d02['Position']['fromObject'](_0x130561['sourcePosition']);}if(null!=_0x130561['howMany']&&(_0xda8432['howMany']=_0x130561['howMany']>>>0x0),null!=_0x130561['targetPosition']){if('object'!=typeof _0x130561['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0xda8432['targetPosition']=_0x3d5d02['Position']['fromObject'](_0x130561['targetPosition']);}return null!=_0x130561['wasUndone']&&(_0xda8432['wasUndone']=Boolean(_0x130561['wasUndone'])),_0xda8432;},_0x1cee77['toObject']=function(_0x46a1ce,_0x576698){_0x576698||(_0x576698={});var _0x2e9536={};return _0x576698['defaults']&&(_0x2e9536['sourcePosition']=null,_0x2e9536['howMany']=0x0,_0x2e9536['targetPosition']=null,_0x2e9536['wasUndone']=!0x1),null!=_0x46a1ce['sourcePosition']&&_0x46a1ce['hasOwnProperty']('sourcePosition')&&(_0x2e9536['sourcePosition']=_0x3d5d02['Position']['toObject'](_0x46a1ce['sourcePosition'],_0x576698)),null!=_0x46a1ce['howMany']&&_0x46a1ce['hasOwnProperty']('howMany')&&(_0x2e9536['howMany']=_0x46a1ce['howMany']),null!=_0x46a1ce['targetPosition']&&_0x46a1ce['hasOwnProperty']('targetPosition')&&(_0x2e9536['targetPosition']=_0x3d5d02['Position']['toObject'](_0x46a1ce['targetPosition'],_0x576698)),null!=_0x46a1ce['wasUndone']&&_0x46a1ce['hasOwnProperty']('wasUndone')&&(_0x2e9536['wasUndone']=_0x46a1ce['wasUndone']),_0x2e9536;},_0x1cee77['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x1cee77['getTypeUrl']=function(_0xbd9b6){return void 0x0===_0xbd9b6&&(_0xbd9b6='type.googleapis.com'),_0xbd9b6+'/MoveOperation';},_0x1cee77;}()),_0x3d5d02['RenameOperation']=(function(){function _0x17bc9d(_0xcc1ea6){if(_0xcc1ea6){for(var _0x840fec=Object['keys'](_0xcc1ea6),_0x567b38=0x0;_0x567b38<_0x840fec['length'];++_0x567b38)null!=_0xcc1ea6[_0x840fec[_0x567b38]]&&(this[_0x840fec[_0x567b38]]=_0xcc1ea6[_0x840fec[_0x567b38]]);}}return _0x17bc9d['prototype']['position']=null,_0x17bc9d['prototype']['oldName']='',_0x17bc9d['prototype']['newName']='',_0x17bc9d['prototype']['wasUndone']=!0x1,_0x17bc9d['create']=function(_0x5d947e){return new _0x17bc9d(_0x5d947e);},_0x17bc9d['encode']=function(_0x4fca71,_0x4127c1){return _0x4127c1||(_0x4127c1=_0x1fa1d3['create']()),null!=_0x4fca71['position']&&Object['hasOwnProperty']['call'](_0x4fca71,'position')&&_0x3d5d02['Position']['encode'](_0x4fca71['position'],_0x4127c1['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4fca71['oldName']&&Object['hasOwnProperty']['call'](_0x4fca71,'oldName')&&_0x4127c1['uint32'](0x12)['string'](_0x4fca71['oldName']),null!=_0x4fca71['newName']&&Object['hasOwnProperty']['call'](_0x4fca71,'newName')&&_0x4127c1['uint32'](0x1a)['string'](_0x4fca71['newName']),null!=_0x4fca71['wasUndone']&&Object['hasOwnProperty']['call'](_0x4fca71,'wasUndone')&&_0x4127c1['uint32'](0x20)['bool'](_0x4fca71['wasUndone']),_0x4127c1;},_0x17bc9d['encodeDelimited']=function(_0x3326e4,_0x481f27){return this['encode'](_0x3326e4,_0x481f27)['ldelim']();},_0x17bc9d['decode']=function(_0x5992e7,_0x5e3ee3){_0x5992e7 instanceof _0x14589a||(_0x5992e7=_0x14589a['create'](_0x5992e7));for(var _0x2dbfbd=void 0x0===_0x5e3ee3?_0x5992e7['len']:_0x5992e7['pos']+_0x5e3ee3,_0x486118=new _0x3d5d02['RenameOperation']();_0x5992e7['pos']<_0x2dbfbd;){var _0x5c2ba2=_0x5992e7['uint32']();switch(_0x5c2ba2>>>0x3){case 0x1:_0x486118['position']=_0x3d5d02['Position']['decode'](_0x5992e7,_0x5992e7['uint32']());break;case 0x2:_0x486118['oldName']=_0x5992e7['string']();break;case 0x3:_0x486118['newName']=_0x5992e7['string']();break;case 0x4:_0x486118['wasUndone']=_0x5992e7['bool']();break;default:_0x5992e7['skipType'](0x7&_0x5c2ba2);}}return _0x486118;},_0x17bc9d['decodeDelimited']=function(_0x59cb67){return _0x59cb67 instanceof _0x14589a||(_0x59cb67=new _0x14589a(_0x59cb67)),this['decode'](_0x59cb67,_0x59cb67['uint32']());},_0x17bc9d['verify']=function(_0x44f5be){if('object'!=typeof _0x44f5be||null===_0x44f5be)return'object\x20expected';if(null!=_0x44f5be['position']&&_0x44f5be['hasOwnProperty']('position')){var _0x57ed8d=_0x3d5d02['Position']['verify'](_0x44f5be['position']);if(_0x57ed8d)return'position.'+_0x57ed8d;}return null!=_0x44f5be['oldName']&&_0x44f5be['hasOwnProperty']('oldName')&&!_0x44a02f['isString'](_0x44f5be['oldName'])?'oldName:\x20string\x20expected':null!=_0x44f5be['newName']&&_0x44f5be['hasOwnProperty']('newName')&&!_0x44a02f['isString'](_0x44f5be['newName'])?'newName:\x20string\x20expected':null!=_0x44f5be['wasUndone']&&_0x44f5be['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x44f5be['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x17bc9d['fromObject']=function(_0x3947f6){if(_0x3947f6 instanceof _0x3d5d02['RenameOperation'])return _0x3947f6;var _0x27d407=new _0x3d5d02['RenameOperation']();if(null!=_0x3947f6['position']){if('object'!=typeof _0x3947f6['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x27d407['position']=_0x3d5d02['Position']['fromObject'](_0x3947f6['position']);}return null!=_0x3947f6['oldName']&&(_0x27d407['oldName']=String(_0x3947f6['oldName'])),null!=_0x3947f6['newName']&&(_0x27d407['newName']=String(_0x3947f6['newName'])),null!=_0x3947f6['wasUndone']&&(_0x27d407['wasUndone']=Boolean(_0x3947f6['wasUndone'])),_0x27d407;},_0x17bc9d['toObject']=function(_0x11a148,_0x32da0a){_0x32da0a||(_0x32da0a={});var _0x5b10b6={};return _0x32da0a['defaults']&&(_0x5b10b6['position']=null,_0x5b10b6['oldName']='',_0x5b10b6['newName']='',_0x5b10b6['wasUndone']=!0x1),null!=_0x11a148['position']&&_0x11a148['hasOwnProperty']('position')&&(_0x5b10b6['position']=_0x3d5d02['Position']['toObject'](_0x11a148['position'],_0x32da0a)),null!=_0x11a148['oldName']&&_0x11a148['hasOwnProperty']('oldName')&&(_0x5b10b6['oldName']=_0x11a148['oldName']),null!=_0x11a148['newName']&&_0x11a148['hasOwnProperty']('newName')&&(_0x5b10b6['newName']=_0x11a148['newName']),null!=_0x11a148['wasUndone']&&_0x11a148['hasOwnProperty']('wasUndone')&&(_0x5b10b6['wasUndone']=_0x11a148['wasUndone']),_0x5b10b6;},_0x17bc9d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x17bc9d['getTypeUrl']=function(_0x5303e4){return void 0x0===_0x5303e4&&(_0x5303e4='type.googleapis.com'),_0x5303e4+'/RenameOperation';},_0x17bc9d;}()),_0x3d5d02['RootAttributeOperation']=(function(){function _0xa34aa5(_0x54fa71){if(_0x54fa71){for(var _0x3204c6=Object['keys'](_0x54fa71),_0x6dbf70=0x0;_0x6dbf70<_0x3204c6['length'];++_0x6dbf70)null!=_0x54fa71[_0x3204c6[_0x6dbf70]]&&(this[_0x3204c6[_0x6dbf70]]=_0x54fa71[_0x3204c6[_0x6dbf70]]);}}return _0xa34aa5['prototype']['root']='',_0xa34aa5['prototype']['key']='',_0xa34aa5['prototype']['oldValueBoolean']=!0x1,_0xa34aa5['prototype']['oldValueJson']='',_0xa34aa5['prototype']['newValueBoolean']=!0x1,_0xa34aa5['prototype']['newValueJson']='',_0xa34aa5['prototype']['wasUndone']=!0x1,_0xa34aa5['create']=function(_0x19fdc1){return new _0xa34aa5(_0x19fdc1);},_0xa34aa5['encode']=function(_0x28df75,_0xd57e00){return _0xd57e00||(_0xd57e00=_0x1fa1d3['create']()),null!=_0x28df75['root']&&Object['hasOwnProperty']['call'](_0x28df75,'root')&&_0xd57e00['uint32'](0xa)['string'](_0x28df75['root']),null!=_0x28df75['key']&&Object['hasOwnProperty']['call'](_0x28df75,'key')&&_0xd57e00['uint32'](0x12)['string'](_0x28df75['key']),null!=_0x28df75['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x28df75,'oldValueBoolean')&&_0xd57e00['uint32'](0x18)['bool'](_0x28df75['oldValueBoolean']),null!=_0x28df75['oldValueJson']&&Object['hasOwnProperty']['call'](_0x28df75,'oldValueJson')&&_0xd57e00['uint32'](0x22)['string'](_0x28df75['oldValueJson']),null!=_0x28df75['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x28df75,'newValueBoolean')&&_0xd57e00['uint32'](0x28)['bool'](_0x28df75['newValueBoolean']),null!=_0x28df75['newValueJson']&&Object['hasOwnProperty']['call'](_0x28df75,'newValueJson')&&_0xd57e00['uint32'](0x32)['string'](_0x28df75['newValueJson']),null!=_0x28df75['wasUndone']&&Object['hasOwnProperty']['call'](_0x28df75,'wasUndone')&&_0xd57e00['uint32'](0x38)['bool'](_0x28df75['wasUndone']),_0xd57e00;},_0xa34aa5['encodeDelimited']=function(_0x10ff7b,_0xd9763d){return this['encode'](_0x10ff7b,_0xd9763d)['ldelim']();},_0xa34aa5['decode']=function(_0x3fce60,_0x1d0f03){_0x3fce60 instanceof _0x14589a||(_0x3fce60=_0x14589a['create'](_0x3fce60));for(var _0x541cbb=void 0x0===_0x1d0f03?_0x3fce60['len']:_0x3fce60['pos']+_0x1d0f03,_0x28a3fa=new _0x3d5d02['RootAttributeOperation']();_0x3fce60['pos']<_0x541cbb;){var _0x2eaf47=_0x3fce60['uint32']();switch(_0x2eaf47>>>0x3){case 0x1:_0x28a3fa['root']=_0x3fce60['string']();break;case 0x2:_0x28a3fa['key']=_0x3fce60['string']();break;case 0x3:_0x28a3fa['oldValueBoolean']=_0x3fce60['bool']();break;case 0x4:_0x28a3fa['oldValueJson']=_0x3fce60['string']();break;case 0x5:_0x28a3fa['newValueBoolean']=_0x3fce60['bool']();break;case 0x6:_0x28a3fa['newValueJson']=_0x3fce60['string']();break;case 0x7:_0x28a3fa['wasUndone']=_0x3fce60['bool']();break;default:_0x3fce60['skipType'](0x7&_0x2eaf47);}}return _0x28a3fa;},_0xa34aa5['decodeDelimited']=function(_0x2695c1){return _0x2695c1 instanceof _0x14589a||(_0x2695c1=new _0x14589a(_0x2695c1)),this['decode'](_0x2695c1,_0x2695c1['uint32']());},_0xa34aa5['verify']=function(_0x39add1){return'object'!=typeof _0x39add1||null===_0x39add1?'object\x20expected':null!=_0x39add1['root']&&_0x39add1['hasOwnProperty']('root')&&!_0x44a02f['isString'](_0x39add1['root'])?'root:\x20string\x20expected':null!=_0x39add1['key']&&_0x39add1['hasOwnProperty']('key')&&!_0x44a02f['isString'](_0x39add1['key'])?'key:\x20string\x20expected':null!=_0x39add1['oldValueBoolean']&&_0x39add1['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x39add1['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x39add1['oldValueJson']&&_0x39add1['hasOwnProperty']('oldValueJson')&&!_0x44a02f['isString'](_0x39add1['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x39add1['newValueBoolean']&&_0x39add1['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x39add1['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x39add1['newValueJson']&&_0x39add1['hasOwnProperty']('newValueJson')&&!_0x44a02f['isString'](_0x39add1['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x39add1['wasUndone']&&_0x39add1['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x39add1['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xa34aa5['fromObject']=function(_0xdc5043){if(_0xdc5043 instanceof _0x3d5d02['RootAttributeOperation'])return _0xdc5043;var _0x48040f=new _0x3d5d02['RootAttributeOperation']();return null!=_0xdc5043['root']&&(_0x48040f['root']=String(_0xdc5043['root'])),null!=_0xdc5043['key']&&(_0x48040f['key']=String(_0xdc5043['key'])),null!=_0xdc5043['oldValueBoolean']&&(_0x48040f['oldValueBoolean']=Boolean(_0xdc5043['oldValueBoolean'])),null!=_0xdc5043['oldValueJson']&&(_0x48040f['oldValueJson']=String(_0xdc5043['oldValueJson'])),null!=_0xdc5043['newValueBoolean']&&(_0x48040f['newValueBoolean']=Boolean(_0xdc5043['newValueBoolean'])),null!=_0xdc5043['newValueJson']&&(_0x48040f['newValueJson']=String(_0xdc5043['newValueJson'])),null!=_0xdc5043['wasUndone']&&(_0x48040f['wasUndone']=Boolean(_0xdc5043['wasUndone'])),_0x48040f;},_0xa34aa5['toObject']=function(_0x97c87b,_0x5616df){_0x5616df||(_0x5616df={});var _0x5436f1={};return _0x5616df['defaults']&&(_0x5436f1['root']='',_0x5436f1['key']='',_0x5436f1['oldValueBoolean']=!0x1,_0x5436f1['oldValueJson']='',_0x5436f1['newValueBoolean']=!0x1,_0x5436f1['newValueJson']='',_0x5436f1['wasUndone']=!0x1),null!=_0x97c87b['root']&&_0x97c87b['hasOwnProperty']('root')&&(_0x5436f1['root']=_0x97c87b['root']),null!=_0x97c87b['key']&&_0x97c87b['hasOwnProperty']('key')&&(_0x5436f1['key']=_0x97c87b['key']),null!=_0x97c87b['oldValueBoolean']&&_0x97c87b['hasOwnProperty']('oldValueBoolean')&&(_0x5436f1['oldValueBoolean']=_0x97c87b['oldValueBoolean']),null!=_0x97c87b['oldValueJson']&&_0x97c87b['hasOwnProperty']('oldValueJson')&&(_0x5436f1['oldValueJson']=_0x97c87b['oldValueJson']),null!=_0x97c87b['newValueBoolean']&&_0x97c87b['hasOwnProperty']('newValueBoolean')&&(_0x5436f1['newValueBoolean']=_0x97c87b['newValueBoolean']),null!=_0x97c87b['newValueJson']&&_0x97c87b['hasOwnProperty']('newValueJson')&&(_0x5436f1['newValueJson']=_0x97c87b['newValueJson']),null!=_0x97c87b['wasUndone']&&_0x97c87b['hasOwnProperty']('wasUndone')&&(_0x5436f1['wasUndone']=_0x97c87b['wasUndone']),_0x5436f1;},_0xa34aa5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0xa34aa5['getTypeUrl']=function(_0x3be98e){return void 0x0===_0x3be98e&&(_0x3be98e='type.googleapis.com'),_0x3be98e+'/RootAttributeOperation';},_0xa34aa5;}()),_0x3d5d02['RootOperation']=(function(){function _0x299119(_0x5ec380){if(_0x5ec380){for(var _0x255e78=Object['keys'](_0x5ec380),_0x2bcd5c=0x0;_0x2bcd5c<_0x255e78['length'];++_0x2bcd5c)null!=_0x5ec380[_0x255e78[_0x2bcd5c]]&&(this[_0x255e78[_0x2bcd5c]]=_0x5ec380[_0x255e78[_0x2bcd5c]]);}}return _0x299119['prototype']['rootName']='',_0x299119['prototype']['elementName']='',_0x299119['prototype']['isAdd']=!0x1,_0x299119['prototype']['wasUndone']=!0x1,_0x299119['create']=function(_0x55c7fa){return new _0x299119(_0x55c7fa);},_0x299119['encode']=function(_0x2408db,_0xee212){return _0xee212||(_0xee212=_0x1fa1d3['create']()),null!=_0x2408db['rootName']&&Object['hasOwnProperty']['call'](_0x2408db,'rootName')&&_0xee212['uint32'](0xa)['string'](_0x2408db['rootName']),null!=_0x2408db['elementName']&&Object['hasOwnProperty']['call'](_0x2408db,'elementName')&&_0xee212['uint32'](0x12)['string'](_0x2408db['elementName']),null!=_0x2408db['isAdd']&&Object['hasOwnProperty']['call'](_0x2408db,'isAdd')&&_0xee212['uint32'](0x18)['bool'](_0x2408db['isAdd']),null!=_0x2408db['wasUndone']&&Object['hasOwnProperty']['call'](_0x2408db,'wasUndone')&&_0xee212['uint32'](0x20)['bool'](_0x2408db['wasUndone']),_0xee212;},_0x299119['encodeDelimited']=function(_0xac395e,_0x160fc1){return this['encode'](_0xac395e,_0x160fc1)['ldelim']();},_0x299119['decode']=function(_0x1a7d04,_0x8d9dc4){_0x1a7d04 instanceof _0x14589a||(_0x1a7d04=_0x14589a['create'](_0x1a7d04));for(var _0x546dbc=void 0x0===_0x8d9dc4?_0x1a7d04['len']:_0x1a7d04['pos']+_0x8d9dc4,_0x1907a7=new _0x3d5d02['RootOperation']();_0x1a7d04['pos']<_0x546dbc;){var _0x265d96=_0x1a7d04['uint32']();switch(_0x265d96>>>0x3){case 0x1:_0x1907a7['rootName']=_0x1a7d04['string']();break;case 0x2:_0x1907a7['elementName']=_0x1a7d04['string']();break;case 0x3:_0x1907a7['isAdd']=_0x1a7d04['bool']();break;case 0x4:_0x1907a7['wasUndone']=_0x1a7d04['bool']();break;default:_0x1a7d04['skipType'](0x7&_0x265d96);}}return _0x1907a7;},_0x299119['decodeDelimited']=function(_0x3c7aa){return _0x3c7aa instanceof _0x14589a||(_0x3c7aa=new _0x14589a(_0x3c7aa)),this['decode'](_0x3c7aa,_0x3c7aa['uint32']());},_0x299119['verify']=function(_0x50ba56){return'object'!=typeof _0x50ba56||null===_0x50ba56?'object\x20expected':null!=_0x50ba56['rootName']&&_0x50ba56['hasOwnProperty']('rootName')&&!_0x44a02f['isString'](_0x50ba56['rootName'])?'rootName:\x20string\x20expected':null!=_0x50ba56['elementName']&&_0x50ba56['hasOwnProperty']('elementName')&&!_0x44a02f['isString'](_0x50ba56['elementName'])?'elementName:\x20string\x20expected':null!=_0x50ba56['isAdd']&&_0x50ba56['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x50ba56['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x50ba56['wasUndone']&&_0x50ba56['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x50ba56['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x299119['fromObject']=function(_0x3ce1cc){if(_0x3ce1cc instanceof _0x3d5d02['RootOperation'])return _0x3ce1cc;var _0x28e428=new _0x3d5d02['RootOperation']();return null!=_0x3ce1cc['rootName']&&(_0x28e428['rootName']=String(_0x3ce1cc['rootName'])),null!=_0x3ce1cc['elementName']&&(_0x28e428['elementName']=String(_0x3ce1cc['elementName'])),null!=_0x3ce1cc['isAdd']&&(_0x28e428['isAdd']=Boolean(_0x3ce1cc['isAdd'])),null!=_0x3ce1cc['wasUndone']&&(_0x28e428['wasUndone']=Boolean(_0x3ce1cc['wasUndone'])),_0x28e428;},_0x299119['toObject']=function(_0xa394d8,_0x1b626c){_0x1b626c||(_0x1b626c={});var _0x2b0188={};return _0x1b626c['defaults']&&(_0x2b0188['rootName']='',_0x2b0188['elementName']='',_0x2b0188['isAdd']=!0x1,_0x2b0188['wasUndone']=!0x1),null!=_0xa394d8['rootName']&&_0xa394d8['hasOwnProperty']('rootName')&&(_0x2b0188['rootName']=_0xa394d8['rootName']),null!=_0xa394d8['elementName']&&_0xa394d8['hasOwnProperty']('elementName')&&(_0x2b0188['elementName']=_0xa394d8['elementName']),null!=_0xa394d8['isAdd']&&_0xa394d8['hasOwnProperty']('isAdd')&&(_0x2b0188['isAdd']=_0xa394d8['isAdd']),null!=_0xa394d8['wasUndone']&&_0xa394d8['hasOwnProperty']('wasUndone')&&(_0x2b0188['wasUndone']=_0xa394d8['wasUndone']),_0x2b0188;},_0x299119['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x299119['getTypeUrl']=function(_0x4eae9c){return void 0x0===_0x4eae9c&&(_0x4eae9c='type.googleapis.com'),_0x4eae9c+'/RootOperation';},_0x299119;}()),_0x3d5d02['SplitOperation']=(function(){function _0x1cc557(_0x484fa4){if(_0x484fa4){for(var _0x360135=Object['keys'](_0x484fa4),_0x5052e2=0x0;_0x5052e2<_0x360135['length'];++_0x5052e2)null!=_0x484fa4[_0x360135[_0x5052e2]]&&(this[_0x360135[_0x5052e2]]=_0x484fa4[_0x360135[_0x5052e2]]);}}return _0x1cc557['prototype']['splitPosition']=null,_0x1cc557['prototype']['graveyardPosition']=null,_0x1cc557['prototype']['howMany']=0x0,_0x1cc557['prototype']['insertionPosition']=null,_0x1cc557['prototype']['wasUndone']=!0x1,_0x1cc557['create']=function(_0x5651d4){return new _0x1cc557(_0x5651d4);},_0x1cc557['encode']=function(_0x4665ec,_0x2fd315){return _0x2fd315||(_0x2fd315=_0x1fa1d3['create']()),null!=_0x4665ec['splitPosition']&&Object['hasOwnProperty']['call'](_0x4665ec,'splitPosition')&&_0x3d5d02['Position']['encode'](_0x4665ec['splitPosition'],_0x2fd315['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4665ec['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x4665ec,'graveyardPosition')&&_0x3d5d02['Position']['encode'](_0x4665ec['graveyardPosition'],_0x2fd315['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4665ec['howMany']&&Object['hasOwnProperty']['call'](_0x4665ec,'howMany')&&_0x2fd315['uint32'](0x18)['uint32'](_0x4665ec['howMany']),null!=_0x4665ec['insertionPosition']&&Object['hasOwnProperty']['call'](_0x4665ec,'insertionPosition')&&_0x3d5d02['Position']['encode'](_0x4665ec['insertionPosition'],_0x2fd315['uint32'](0x22)['fork']())['ldelim'](),null!=_0x4665ec['wasUndone']&&Object['hasOwnProperty']['call'](_0x4665ec,'wasUndone')&&_0x2fd315['uint32'](0x28)['bool'](_0x4665ec['wasUndone']),_0x2fd315;},_0x1cc557['encodeDelimited']=function(_0x155f19,_0x28f3a4){return this['encode'](_0x155f19,_0x28f3a4)['ldelim']();},_0x1cc557['decode']=function(_0x522192,_0xb37e1b){_0x522192 instanceof _0x14589a||(_0x522192=_0x14589a['create'](_0x522192));for(var _0x54ee38=void 0x0===_0xb37e1b?_0x522192['len']:_0x522192['pos']+_0xb37e1b,_0x5afc05=new _0x3d5d02['SplitOperation']();_0x522192['pos']<_0x54ee38;){var _0x1344d4=_0x522192['uint32']();switch(_0x1344d4>>>0x3){case 0x1:_0x5afc05['splitPosition']=_0x3d5d02['Position']['decode'](_0x522192,_0x522192['uint32']());break;case 0x2:_0x5afc05['graveyardPosition']=_0x3d5d02['Position']['decode'](_0x522192,_0x522192['uint32']());break;case 0x3:_0x5afc05['howMany']=_0x522192['uint32']();break;case 0x4:_0x5afc05['insertionPosition']=_0x3d5d02['Position']['decode'](_0x522192,_0x522192['uint32']());break;case 0x5:_0x5afc05['wasUndone']=_0x522192['bool']();break;default:_0x522192['skipType'](0x7&_0x1344d4);}}return _0x5afc05;},_0x1cc557['decodeDelimited']=function(_0x4a6e1b){return _0x4a6e1b instanceof _0x14589a||(_0x4a6e1b=new _0x14589a(_0x4a6e1b)),this['decode'](_0x4a6e1b,_0x4a6e1b['uint32']());},_0x1cc557['verify']=function(_0x255a7d){if('object'!=typeof _0x255a7d||null===_0x255a7d)return'object\x20expected';var _0x21cf11;if(null!=_0x255a7d['splitPosition']&&_0x255a7d['hasOwnProperty']('splitPosition')&&(_0x21cf11=_0x3d5d02['Position']['verify'](_0x255a7d['splitPosition'])))return'splitPosition.'+_0x21cf11;if(null!=_0x255a7d['graveyardPosition']&&_0x255a7d['hasOwnProperty']('graveyardPosition')&&(_0x21cf11=_0x3d5d02['Position']['verify'](_0x255a7d['graveyardPosition'])))return'graveyardPosition.'+_0x21cf11;if(null!=_0x255a7d['howMany']&&_0x255a7d['hasOwnProperty']('howMany')&&!_0x44a02f['isInteger'](_0x255a7d['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x255a7d['insertionPosition']&&_0x255a7d['hasOwnProperty']('insertionPosition')&&(_0x21cf11=_0x3d5d02['Position']['verify'](_0x255a7d['insertionPosition'])))return'insertionPosition.'+_0x21cf11;return null!=_0x255a7d['wasUndone']&&_0x255a7d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x255a7d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1cc557['fromObject']=function(_0x198056){if(_0x198056 instanceof _0x3d5d02['SplitOperation'])return _0x198056;var _0x39a467=new _0x3d5d02['SplitOperation']();if(null!=_0x198056['splitPosition']){if('object'!=typeof _0x198056['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x39a467['splitPosition']=_0x3d5d02['Position']['fromObject'](_0x198056['splitPosition']);}if(null!=_0x198056['graveyardPosition']){if('object'!=typeof _0x198056['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x39a467['graveyardPosition']=_0x3d5d02['Position']['fromObject'](_0x198056['graveyardPosition']);}if(null!=_0x198056['howMany']&&(_0x39a467['howMany']=_0x198056['howMany']>>>0x0),null!=_0x198056['insertionPosition']){if('object'!=typeof _0x198056['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x39a467['insertionPosition']=_0x3d5d02['Position']['fromObject'](_0x198056['insertionPosition']);}return null!=_0x198056['wasUndone']&&(_0x39a467['wasUndone']=Boolean(_0x198056['wasUndone'])),_0x39a467;},_0x1cc557['toObject']=function(_0x74a2a0,_0x11166b){_0x11166b||(_0x11166b={});var _0xb88383={};return _0x11166b['defaults']&&(_0xb88383['splitPosition']=null,_0xb88383['graveyardPosition']=null,_0xb88383['howMany']=0x0,_0xb88383['insertionPosition']=null,_0xb88383['wasUndone']=!0x1),null!=_0x74a2a0['splitPosition']&&_0x74a2a0['hasOwnProperty']('splitPosition')&&(_0xb88383['splitPosition']=_0x3d5d02['Position']['toObject'](_0x74a2a0['splitPosition'],_0x11166b)),null!=_0x74a2a0['graveyardPosition']&&_0x74a2a0['hasOwnProperty']('graveyardPosition')&&(_0xb88383['graveyardPosition']=_0x3d5d02['Position']['toObject'](_0x74a2a0['graveyardPosition'],_0x11166b)),null!=_0x74a2a0['howMany']&&_0x74a2a0['hasOwnProperty']('howMany')&&(_0xb88383['howMany']=_0x74a2a0['howMany']),null!=_0x74a2a0['insertionPosition']&&_0x74a2a0['hasOwnProperty']('insertionPosition')&&(_0xb88383['insertionPosition']=_0x3d5d02['Position']['toObject'](_0x74a2a0['insertionPosition'],_0x11166b)),null!=_0x74a2a0['wasUndone']&&_0x74a2a0['hasOwnProperty']('wasUndone')&&(_0xb88383['wasUndone']=_0x74a2a0['wasUndone']),_0xb88383;},_0x1cc557['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x1cc557['getTypeUrl']=function(_0x7eccb6){return void 0x0===_0x7eccb6&&(_0x7eccb6='type.googleapis.com'),_0x7eccb6+'/SplitOperation';},_0x1cc557;}()),_0x3d5d02['Position']=(function(){function _0xfca999(_0x50d5f8){if(this['path']=[],_0x50d5f8){for(var _0x2cf35a=Object['keys'](_0x50d5f8),_0x3bc050=0x0;_0x3bc050<_0x2cf35a['length'];++_0x3bc050)null!=_0x50d5f8[_0x2cf35a[_0x3bc050]]&&(this[_0x2cf35a[_0x3bc050]]=_0x50d5f8[_0x2cf35a[_0x3bc050]]);}}return _0xfca999['prototype']['root']='',_0xfca999['prototype']['rootMain']=!0x1,_0xfca999['prototype']['rootGraveyard']=!0x1,_0xfca999['prototype']['path']=_0x44a02f['emptyArray'],_0xfca999['prototype']['stickiness']='',_0xfca999['create']=function(_0x508578){return new _0xfca999(_0x508578);},_0xfca999['encode']=function(_0x3b7b0b,_0x207047){if(_0x207047||(_0x207047=_0x1fa1d3['create']()),null!=_0x3b7b0b['root']&&Object['hasOwnProperty']['call'](_0x3b7b0b,'root')&&_0x207047['uint32'](0xa)['string'](_0x3b7b0b['root']),null!=_0x3b7b0b['rootMain']&&Object['hasOwnProperty']['call'](_0x3b7b0b,'rootMain')&&_0x207047['uint32'](0x10)['bool'](_0x3b7b0b['rootMain']),null!=_0x3b7b0b['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x3b7b0b,'rootGraveyard')&&_0x207047['uint32'](0x18)['bool'](_0x3b7b0b['rootGraveyard']),null!=_0x3b7b0b['path']&&_0x3b7b0b['path']['length']){_0x207047['uint32'](0x22)['fork']();for(var _0x2abb8d=0x0;_0x2abb8d<_0x3b7b0b['path']['length'];++_0x2abb8d)_0x207047['uint32'](_0x3b7b0b['path'][_0x2abb8d]);_0x207047['ldelim']();}return null!=_0x3b7b0b['stickiness']&&Object['hasOwnProperty']['call'](_0x3b7b0b,'stickiness')&&_0x207047['uint32'](0x2a)['string'](_0x3b7b0b['stickiness']),_0x207047;},_0xfca999['encodeDelimited']=function(_0x241cf1,_0x85647d){return this['encode'](_0x241cf1,_0x85647d)['ldelim']();},_0xfca999['decode']=function(_0x5f1a74,_0x4db85c){_0x5f1a74 instanceof _0x14589a||(_0x5f1a74=_0x14589a['create'](_0x5f1a74));for(var _0x3dfc22=void 0x0===_0x4db85c?_0x5f1a74['len']:_0x5f1a74['pos']+_0x4db85c,_0x495d26=new _0x3d5d02['Position']();_0x5f1a74['pos']<_0x3dfc22;){var _0x4799da=_0x5f1a74['uint32']();switch(_0x4799da>>>0x3){case 0x1:_0x495d26['root']=_0x5f1a74['string']();break;case 0x2:_0x495d26['rootMain']=_0x5f1a74['bool']();break;case 0x3:_0x495d26['rootGraveyard']=_0x5f1a74['bool']();break;case 0x4:if(_0x495d26['path']&&_0x495d26['path']['length']||(_0x495d26['path']=[]),0x2==(0x7&_0x4799da)){for(var _0x278cec=_0x5f1a74['uint32']()+_0x5f1a74['pos'];_0x5f1a74['pos']<_0x278cec;)_0x495d26['path']['push'](_0x5f1a74['uint32']());}else _0x495d26['path']['push'](_0x5f1a74['uint32']());break;case 0x5:_0x495d26['stickiness']=_0x5f1a74['string']();break;default:_0x5f1a74['skipType'](0x7&_0x4799da);}}return _0x495d26;},_0xfca999['decodeDelimited']=function(_0x437091){return _0x437091 instanceof _0x14589a||(_0x437091=new _0x14589a(_0x437091)),this['decode'](_0x437091,_0x437091['uint32']());},_0xfca999['verify']=function(_0x508215){if('object'!=typeof _0x508215||null===_0x508215)return'object\x20expected';if(null!=_0x508215['root']&&_0x508215['hasOwnProperty']('root')&&!_0x44a02f['isString'](_0x508215['root']))return'root:\x20string\x20expected';if(null!=_0x508215['rootMain']&&_0x508215['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x508215['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x508215['rootGraveyard']&&_0x508215['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x508215['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x508215['path']&&_0x508215['hasOwnProperty']('path')){if(!Array['isArray'](_0x508215['path']))return'path:\x20array\x20expected';for(var _0xffa020=0x0;_0xffa020<_0x508215['path']['length'];++_0xffa020)if(!_0x44a02f['isInteger'](_0x508215['path'][_0xffa020]))return'path:\x20integer[]\x20expected';}return null!=_0x508215['stickiness']&&_0x508215['hasOwnProperty']('stickiness')&&!_0x44a02f['isString'](_0x508215['stickiness'])?'stickiness:\x20string\x20expected':null;},_0xfca999['fromObject']=function(_0x5ccb53){if(_0x5ccb53 instanceof _0x3d5d02['Position'])return _0x5ccb53;var _0x597294=new _0x3d5d02['Position']();if(null!=_0x5ccb53['root']&&(_0x597294['root']=String(_0x5ccb53['root'])),null!=_0x5ccb53['rootMain']&&(_0x597294['rootMain']=Boolean(_0x5ccb53['rootMain'])),null!=_0x5ccb53['rootGraveyard']&&(_0x597294['rootGraveyard']=Boolean(_0x5ccb53['rootGraveyard'])),_0x5ccb53['path']){if(!Array['isArray'](_0x5ccb53['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x597294['path']=[];for(var _0x14c07d=0x0;_0x14c07d<_0x5ccb53['path']['length'];++_0x14c07d)_0x597294['path'][_0x14c07d]=_0x5ccb53['path'][_0x14c07d]>>>0x0;}return null!=_0x5ccb53['stickiness']&&(_0x597294['stickiness']=String(_0x5ccb53['stickiness'])),_0x597294;},_0xfca999['toObject']=function(_0x3aa178,_0x397668){_0x397668||(_0x397668={});var _0x7d3171={};if((_0x397668['arrays']||_0x397668['defaults'])&&(_0x7d3171['path']=[]),_0x397668['defaults']&&(_0x7d3171['root']='',_0x7d3171['rootMain']=!0x1,_0x7d3171['rootGraveyard']=!0x1,_0x7d3171['stickiness']=''),null!=_0x3aa178['root']&&_0x3aa178['hasOwnProperty']('root')&&(_0x7d3171['root']=_0x3aa178['root']),null!=_0x3aa178['rootMain']&&_0x3aa178['hasOwnProperty']('rootMain')&&(_0x7d3171['rootMain']=_0x3aa178['rootMain']),null!=_0x3aa178['rootGraveyard']&&_0x3aa178['hasOwnProperty']('rootGraveyard')&&(_0x7d3171['rootGraveyard']=_0x3aa178['rootGraveyard']),_0x3aa178['path']&&_0x3aa178['path']['length']){_0x7d3171['path']=[];for(var _0x4accda=0x0;_0x4accda<_0x3aa178['path']['length'];++_0x4accda)_0x7d3171['path'][_0x4accda]=_0x3aa178['path'][_0x4accda];}return null!=_0x3aa178['stickiness']&&_0x3aa178['hasOwnProperty']('stickiness')&&(_0x7d3171['stickiness']=_0x3aa178['stickiness']),_0x7d3171;},_0xfca999['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0xfca999['getTypeUrl']=function(_0x438634){return void 0x0===_0x438634&&(_0x438634='type.googleapis.com'),_0x438634+'/Position';},_0xfca999;}()),_0x3d5d02['Range']=(function(){function _0x1536de(_0x14866f){if(_0x14866f){for(var _0x34837f=Object['keys'](_0x14866f),_0x5cfd48=0x0;_0x5cfd48<_0x34837f['length'];++_0x5cfd48)null!=_0x14866f[_0x34837f[_0x5cfd48]]&&(this[_0x34837f[_0x5cfd48]]=_0x14866f[_0x34837f[_0x5cfd48]]);}}return _0x1536de['prototype']['start']=null,_0x1536de['prototype']['end']=null,_0x1536de['create']=function(_0x5c7e9f){return new _0x1536de(_0x5c7e9f);},_0x1536de['encode']=function(_0x1c8f7a,_0x542758){return _0x542758||(_0x542758=_0x1fa1d3['create']()),null!=_0x1c8f7a['start']&&Object['hasOwnProperty']['call'](_0x1c8f7a,'start')&&_0x3d5d02['Position']['encode'](_0x1c8f7a['start'],_0x542758['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1c8f7a['end']&&Object['hasOwnProperty']['call'](_0x1c8f7a,'end')&&_0x3d5d02['Position']['encode'](_0x1c8f7a['end'],_0x542758['uint32'](0x12)['fork']())['ldelim'](),_0x542758;},_0x1536de['encodeDelimited']=function(_0x411e90,_0x4892f5){return this['encode'](_0x411e90,_0x4892f5)['ldelim']();},_0x1536de['decode']=function(_0x1f0e13,_0x47107c){_0x1f0e13 instanceof _0x14589a||(_0x1f0e13=_0x14589a['create'](_0x1f0e13));for(var _0x5edcb9=void 0x0===_0x47107c?_0x1f0e13['len']:_0x1f0e13['pos']+_0x47107c,_0x47b028=new _0x3d5d02['Range']();_0x1f0e13['pos']<_0x5edcb9;){var _0x17c712=_0x1f0e13['uint32']();switch(_0x17c712>>>0x3){case 0x1:_0x47b028['start']=_0x3d5d02['Position']['decode'](_0x1f0e13,_0x1f0e13['uint32']());break;case 0x2:_0x47b028['end']=_0x3d5d02['Position']['decode'](_0x1f0e13,_0x1f0e13['uint32']());break;default:_0x1f0e13['skipType'](0x7&_0x17c712);}}return _0x47b028;},_0x1536de['decodeDelimited']=function(_0xdf541b){return _0xdf541b instanceof _0x14589a||(_0xdf541b=new _0x14589a(_0xdf541b)),this['decode'](_0xdf541b,_0xdf541b['uint32']());},_0x1536de['verify']=function(_0x39b5bc){if('object'!=typeof _0x39b5bc||null===_0x39b5bc)return'object\x20expected';var _0x474d23;if(null!=_0x39b5bc['start']&&_0x39b5bc['hasOwnProperty']('start')&&(_0x474d23=_0x3d5d02['Position']['verify'](_0x39b5bc['start'])))return'start.'+_0x474d23;if(null!=_0x39b5bc['end']&&_0x39b5bc['hasOwnProperty']('end')&&(_0x474d23=_0x3d5d02['Position']['verify'](_0x39b5bc['end'])))return'end.'+_0x474d23;return null;},_0x1536de['fromObject']=function(_0x2d72d9){if(_0x2d72d9 instanceof _0x3d5d02['Range'])return _0x2d72d9;var _0x28e5b7=new _0x3d5d02['Range']();if(null!=_0x2d72d9['start']){if('object'!=typeof _0x2d72d9['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x28e5b7['start']=_0x3d5d02['Position']['fromObject'](_0x2d72d9['start']);}if(null!=_0x2d72d9['end']){if('object'!=typeof _0x2d72d9['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x28e5b7['end']=_0x3d5d02['Position']['fromObject'](_0x2d72d9['end']);}return _0x28e5b7;},_0x1536de['toObject']=function(_0x388e8a,_0x77aef2){_0x77aef2||(_0x77aef2={});var _0x4493e4={};return _0x77aef2['defaults']&&(_0x4493e4['start']=null,_0x4493e4['end']=null),null!=_0x388e8a['start']&&_0x388e8a['hasOwnProperty']('start')&&(_0x4493e4['start']=_0x3d5d02['Position']['toObject'](_0x388e8a['start'],_0x77aef2)),null!=_0x388e8a['end']&&_0x388e8a['hasOwnProperty']('end')&&(_0x4493e4['end']=_0x3d5d02['Position']['toObject'](_0x388e8a['end'],_0x77aef2)),_0x4493e4;},_0x1536de['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x1536de['getTypeUrl']=function(_0x2e957c){return void 0x0===_0x2e957c&&(_0x2e957c='type.googleapis.com'),_0x2e957c+'/Range';},_0x1536de;}()),_0x3d5d02['Element']=(function(){function _0x324b5c(_0x38b9fe){if(this['children']=[],this['attributesBoolean']={},_0x38b9fe){for(var _0x47ddff=Object['keys'](_0x38b9fe),_0x4847a7=0x0;_0x4847a7<_0x47ddff['length'];++_0x4847a7)null!=_0x38b9fe[_0x47ddff[_0x4847a7]]&&(this[_0x47ddff[_0x4847a7]]=_0x38b9fe[_0x47ddff[_0x4847a7]]);}}return _0x324b5c['prototype']['name']='',_0x324b5c['prototype']['children']=_0x44a02f['emptyArray'],_0x324b5c['prototype']['data']='',_0x324b5c['prototype']['attributesBoolean']=_0x44a02f['emptyObject'],_0x324b5c['prototype']['attributesJson']='',_0x324b5c['create']=function(_0x22c49b){return new _0x324b5c(_0x22c49b);},_0x324b5c['encode']=function(_0x1f6420,_0x48c164){if(_0x48c164||(_0x48c164=_0x1fa1d3['create']()),null!=_0x1f6420['name']&&Object['hasOwnProperty']['call'](_0x1f6420,'name')&&_0x48c164['uint32'](0xa)['string'](_0x1f6420['name']),null!=_0x1f6420['children']&&_0x1f6420['children']['length']){for(var _0x4d6d41=0x0;_0x4d6d41<_0x1f6420['children']['length'];++_0x4d6d41)_0x3d5d02['Element']['encode'](_0x1f6420['children'][_0x4d6d41],_0x48c164['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x1f6420['data']&&Object['hasOwnProperty']['call'](_0x1f6420,'data')&&_0x48c164['uint32'](0x1a)['string'](_0x1f6420['data']),null!=_0x1f6420['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x1f6420,'attributesBoolean')){var _0x1628d4=Object['keys'](_0x1f6420['attributesBoolean']);for(_0x4d6d41=0x0;_0x4d6d41<_0x1628d4['length'];++_0x4d6d41)_0x48c164['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x1628d4[_0x4d6d41])['uint32'](0x10)['bool'](_0x1f6420['attributesBoolean'][_0x1628d4[_0x4d6d41]])['ldelim']();}return null!=_0x1f6420['attributesJson']&&Object['hasOwnProperty']['call'](_0x1f6420,'attributesJson')&&_0x48c164['uint32'](0x2a)['string'](_0x1f6420['attributesJson']),_0x48c164;},_0x324b5c['encodeDelimited']=function(_0x27a241,_0x8a40d4){return this['encode'](_0x27a241,_0x8a40d4)['ldelim']();},_0x324b5c['decode']=function(_0x250af5,_0x268364){_0x250af5 instanceof _0x14589a||(_0x250af5=_0x14589a['create'](_0x250af5));for(var _0xd726da,_0x40ef7b,_0x7c533f=void 0x0===_0x268364?_0x250af5['len']:_0x250af5['pos']+_0x268364,_0x536ab6=new _0x3d5d02['Element']();_0x250af5['pos']<_0x7c533f;){var _0x43f3ba=_0x250af5['uint32']();switch(_0x43f3ba>>>0x3){case 0x1:_0x536ab6['name']=_0x250af5['string']();break;case 0x2:_0x536ab6['children']&&_0x536ab6['children']['length']||(_0x536ab6['children']=[]),_0x536ab6['children']['push'](_0x3d5d02['Element']['decode'](_0x250af5,_0x250af5['uint32']()));break;case 0x3:_0x536ab6['data']=_0x250af5['string']();break;case 0x4:_0x536ab6['attributesBoolean']===_0x44a02f['emptyObject']&&(_0x536ab6['attributesBoolean']={});var _0x5392f1=_0x250af5['uint32']()+_0x250af5['pos'];for(_0xd726da='',_0x40ef7b=!0x1;_0x250af5['pos']<_0x5392f1;){var _0x719360=_0x250af5['uint32']();switch(_0x719360>>>0x3){case 0x1:_0xd726da=_0x250af5['string']();break;case 0x2:_0x40ef7b=_0x250af5['bool']();break;default:_0x250af5['skipType'](0x7&_0x719360);}}_0x536ab6['attributesBoolean'][_0xd726da]=_0x40ef7b;break;case 0x5:_0x536ab6['attributesJson']=_0x250af5['string']();break;default:_0x250af5['skipType'](0x7&_0x43f3ba);}}return _0x536ab6;},_0x324b5c['decodeDelimited']=function(_0x2b48c7){return _0x2b48c7 instanceof _0x14589a||(_0x2b48c7=new _0x14589a(_0x2b48c7)),this['decode'](_0x2b48c7,_0x2b48c7['uint32']());},_0x324b5c['verify']=function(_0x515692){if('object'!=typeof _0x515692||null===_0x515692)return'object\x20expected';if(null!=_0x515692['name']&&_0x515692['hasOwnProperty']('name')&&!_0x44a02f['isString'](_0x515692['name']))return'name:\x20string\x20expected';if(null!=_0x515692['children']&&_0x515692['hasOwnProperty']('children')){if(!Array['isArray'](_0x515692['children']))return'children:\x20array\x20expected';for(var _0x5922f5=0x0;_0x5922f5<_0x515692['children']['length'];++_0x5922f5){var _0x508bf9=_0x3d5d02['Element']['verify'](_0x515692['children'][_0x5922f5]);if(_0x508bf9)return'children.'+_0x508bf9;}}if(null!=_0x515692['data']&&_0x515692['hasOwnProperty']('data')&&!_0x44a02f['isString'](_0x515692['data']))return'data:\x20string\x20expected';if(null!=_0x515692['attributesBoolean']&&_0x515692['hasOwnProperty']('attributesBoolean')){if(!_0x44a02f['isObject'](_0x515692['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x38fc80=Object['keys'](_0x515692['attributesBoolean']);for(_0x5922f5=0x0;_0x5922f5<_0x38fc80['length'];++_0x5922f5)if('boolean'!=typeof _0x515692['attributesBoolean'][_0x38fc80[_0x5922f5]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x515692['attributesJson']&&_0x515692['hasOwnProperty']('attributesJson')&&!_0x44a02f['isString'](_0x515692['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x324b5c['fromObject']=function(_0x51760b){if(_0x51760b instanceof _0x3d5d02['Element'])return _0x51760b;var _0x2a027b=new _0x3d5d02['Element']();if(null!=_0x51760b['name']&&(_0x2a027b['name']=String(_0x51760b['name'])),_0x51760b['children']){if(!Array['isArray'](_0x51760b['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x2a027b['children']=[];for(var _0x4adc84=0x0;_0x4adc84<_0x51760b['children']['length'];++_0x4adc84){if('object'!=typeof _0x51760b['children'][_0x4adc84])throw TypeError('.Element.children:\x20object\x20expected');_0x2a027b['children'][_0x4adc84]=_0x3d5d02['Element']['fromObject'](_0x51760b['children'][_0x4adc84]);}}if(null!=_0x51760b['data']&&(_0x2a027b['data']=String(_0x51760b['data'])),_0x51760b['attributesBoolean']){if('object'!=typeof _0x51760b['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x2a027b['attributesBoolean']={};var _0x2d7821=Object['keys'](_0x51760b['attributesBoolean']);for(_0x4adc84=0x0;_0x4adc84<_0x2d7821['length'];++_0x4adc84)_0x2a027b['attributesBoolean'][_0x2d7821[_0x4adc84]]=Boolean(_0x51760b['attributesBoolean'][_0x2d7821[_0x4adc84]]);}return null!=_0x51760b['attributesJson']&&(_0x2a027b['attributesJson']=String(_0x51760b['attributesJson'])),_0x2a027b;},_0x324b5c['toObject']=function(_0x450329,_0x31e24b){_0x31e24b||(_0x31e24b={});var _0x272e3c,_0x21879c={};if((_0x31e24b['arrays']||_0x31e24b['defaults'])&&(_0x21879c['children']=[]),(_0x31e24b['objects']||_0x31e24b['defaults'])&&(_0x21879c['attributesBoolean']={}),_0x31e24b['defaults']&&(_0x21879c['name']='',_0x21879c['data']='',_0x21879c['attributesJson']=''),null!=_0x450329['name']&&_0x450329['hasOwnProperty']('name')&&(_0x21879c['name']=_0x450329['name']),_0x450329['children']&&_0x450329['children']['length']){_0x21879c['children']=[];for(var _0x2721ff=0x0;_0x2721ff<_0x450329['children']['length'];++_0x2721ff)_0x21879c['children'][_0x2721ff]=_0x3d5d02['Element']['toObject'](_0x450329['children'][_0x2721ff],_0x31e24b);}if(null!=_0x450329['data']&&_0x450329['hasOwnProperty']('data')&&(_0x21879c['data']=_0x450329['data']),_0x450329['attributesBoolean']&&(_0x272e3c=Object['keys'](_0x450329['attributesBoolean']))['length']){_0x21879c['attributesBoolean']={};for(_0x2721ff=0x0;_0x2721ff<_0x272e3c['length'];++_0x2721ff)_0x21879c['attributesBoolean'][_0x272e3c[_0x2721ff]]=_0x450329['attributesBoolean'][_0x272e3c[_0x2721ff]];}return null!=_0x450329['attributesJson']&&_0x450329['hasOwnProperty']('attributesJson')&&(_0x21879c['attributesJson']=_0x450329['attributesJson']),_0x21879c;},_0x324b5c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x48d0be['util']['toJSONOptions']);},_0x324b5c['getTypeUrl']=function(_0x4e5b64){return void 0x0===_0x4e5b64&&(_0x4e5b64='type.googleapis.com'),_0x4e5b64+'/Element';},_0x324b5c;}()),_0x3d5d02;})());class r{['_protobufRoot'];constructor(){this['_protobufRoot']=u;}['getDescriptor'](_0x1c75eb){return new y(this['_protobufRoot'][_0x1c75eb]);}}class y{['_protobuf'];constructor(_0x25c305){this['_protobuf']=_0x25c305;}['compress'](_0x4ba406){const _0x3d42d9=this['_protobuf']['verify'](_0x4ba406);if(_0x3d42d9)throw Error(_0x3d42d9);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x4ba406))['finish']();}['decompress'](_0x1c7c48){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x1c7c48),{'oneofs':!0x0});}}function _(_0x383f13,_0x3d6e5c){const _0x4ac12d=_0x5b4797(_0x383f13);return _0x4ac12d['path'][_0x4ac12d['path']['length']-0x1]+=_0x3d6e5c,_0x4ac12d;}function O(_0xd919d7,_0x1df228){return _0xd919d7['root']===_0x1df228['root']&&_0x5e231c(_0xd919d7['path'],_0x1df228['path']);}function $(_0x246da2){P(_0x246da2,_0x29b389=>('main'==_0x29b389['root']?(_0x29b389['rootMain']=!0x0,delete _0x29b389['root']):'$graveyard'==_0x29b389['root']&&(_0x29b389['rootGraveyard']=!0x0,delete _0x29b389['root']),_0x29b389));}function J(_0x44a64a){P(_0x44a64a,_0x314f3c=>(_0x314f3c['rootMain']?(_0x314f3c['root']='main',delete _0x314f3c['rootMain']):_0x314f3c['rootGraveyard']&&(_0x314f3c['root']='$graveyard',delete _0x314f3c['rootGraveyard']),_0x314f3c));}function P(_0x16289e,_0x168df5){for(const _0x1664ca in _0x16289e){const _0x287015=_0x16289e[_0x1664ca];'nodes'!==_0x1664ca&&_0x3a5d5d(_0x287015)&&(_0x287015['path']&&(_0x287015['root']||_0x287015['rootMain']||_0x287015['rootGraveyard'])?_0x16289e[_0x1664ca]=_0x168df5(_0x287015):P(_0x287015,_0x168df5));}return _0x16289e;}class e{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x12950c,_0x2ededd,_0x134ef9){this['_id']=_0x12950c,this['_operationName']=_0x2ededd,this['_protobufDescriptor']=_0x134ef9;}['compress'](_0xfceb2a,_0xce7512){const _0x55b4ac=_0xce7512['shift']();return $(_0x55b4ac),_0xfceb2a['buffers']['push'](this['_protobufDescriptor']['compress'](_0x55b4ac)),_0xfceb2a['types']['push'](this['_id']),!0x0;}['decompress'](_0x41a5f5,_0x54bc9f){_0x54bc9f['types']['shift']();const _0x550a80=this['_protobufDescriptor']['decompress'](_0x54bc9f['buffers']['shift']());J(_0x550a80),_0x550a80['__className']=this['_operationName'],_0x41a5f5['push'](_0x550a80);}}class s extends e{['compress'](_0x442eb5,_0x4d8431){const _0x787346=_0x4d8431['shift']();return this['_serializeOneOf']('oldValue',_0x787346),this['_serializeOneOf']('newValue',_0x787346),$(_0x787346),_0x442eb5['buffers']['push'](this['_protobufDescriptor']['compress'](_0x787346)),_0x442eb5['types']['push'](this['_id']),!0x0;}['decompress'](_0x1805de,_0x1f132d){const {types:_0x42f7f4,buffers:_0x1fe564}=_0x1f132d,_0x53e79b=this['_protobufDescriptor']['decompress'](_0x1fe564['shift']());_0x42f7f4['shift'](),this['_deserializeOneOf']('oldValue',_0x53e79b),this['_deserializeOneOf']('newValue',_0x53e79b),J(_0x53e79b),_0x53e79b['__className']=this['_operationName'],_0x1805de['push'](_0x53e79b);}['_serializeOneOf'](_0x19d456,_0x1c3eb8){const _0x1b0c4d=_0x1c3eb8[_0x19d456];'boolean'==typeof _0x1b0c4d?_0x1c3eb8[_0x19d456+'Boolean']=_0x1b0c4d:_0x1c3eb8[_0x19d456+'Json']=JSON['stringify'](_0x1b0c4d);}['_deserializeOneOf'](_0x3abf3e,_0x47efdb){const _0x12ac87=_0x3abf3e+'Json';_0x47efdb[_0x12ac87]?(_0x47efdb[_0x3abf3e]=JSON['parse'](_0x47efdb[_0x12ac87]),delete _0x47efdb[_0x12ac87]):(_0x47efdb[_0x3abf3e]=_0x47efdb[_0x3abf3e+'Boolean'],delete _0x47efdb[_0x3abf3e+'Boolean']);}}class i extends e{['compress'](_0x1862f1,_0x3fe7b3){const _0x49df59=_0x3fe7b3['shift']();return this['_serializeNodesAttributes'](_0x49df59['nodes']),$(_0x49df59),_0x1862f1['buffers']['push'](this['_protobufDescriptor']['compress'](_0x49df59)),_0x1862f1['types']['push'](this['_id']),!0x0;}['decompress'](_0x305620,_0x1cb03b){const {types:_0x1e3a1d,buffers:_0x3c597d}=_0x1cb03b,_0xb60aca=this['_protobufDescriptor']['decompress'](_0x3c597d['shift']());_0x1e3a1d['shift'](),_0xb60aca['nodes']||(_0xb60aca['nodes']=[]),this['_deserializeNodesAttributes'](_0xb60aca['nodes']),J(_0xb60aca),_0xb60aca['__className']=this['_operationName'],_0x305620['push'](_0xb60aca);}['_serializeNodesAttributes'](_0x1ec7d7){for(const _0x4fce08 of _0x1ec7d7){if(_0x4fce08['attributes']){const _0x5e888b=_0x4fce08['attributes'];this['_areValuesBoolean'](_0x5e888b)?_0x4fce08['attributesBoolean']=_0x5e888b:_0x4fce08['attributesJson']=JSON['stringify'](_0x5e888b);}_0x4fce08['children']&&this['_serializeNodesAttributes'](_0x4fce08['children']);}}['_deserializeNodesAttributes'](_0x46d6c7){for(const _0x4336c2 of _0x46d6c7)(_0x4336c2['attributesBoolean']||_0x4336c2['attributesJson'])&&(_0x4336c2['attributesBoolean']?(_0x4336c2['attributes']=_0x4336c2['attributesBoolean'],delete _0x4336c2['attributesBoolean']):(_0x4336c2['attributes']=JSON['parse'](_0x4336c2['attributesJson']),delete _0x4336c2['attributesJson'])),_0x4336c2['children']&&this['_deserializeNodesAttributes'](_0x4336c2['children']);}['_areValuesBoolean'](_0x8d141){return Object['keys'](_0x8d141)['every'](_0x4668e9=>'boolean'==typeof _0x8d141[_0x4668e9]);}}class n extends e{['decompress'](_0x2f714c,_0x3d28d3){super['decompress'](_0x2f714c,_0x3d28d3);const _0x5a8d48=_0x2f714c[_0x2f714c['length']-0x1];_0x5a8d48['oldRange']||(_0x5a8d48['oldRange']=null),_0x5a8d48['newRange']||(_0x5a8d48['newRange']=null);}}class p extends e{['compress'](_0x27c01f,_0x20b609){return _0x20b609['shift'](),_0x27c01f['types']['push'](this['_id']),!0x0;}['decompress'](_0x35bb68,_0x43524f){_0x43524f['types']['shift'](),_0x35bb68['push']({'__className':this['_operationName']});}}class a extends n{['_omittedNamespace'];constructor(_0x2fd630,_0x577bdd,_0x33a189,_0x1572ec){super(_0x2fd630,_0x577bdd,_0x33a189),this['_omittedNamespace']=_0x1572ec+':';}['compress'](_0x196773,_0x2bf794){return!('MarkerOperation'!=_0x2bf794[0x0]['__className']||!_0x2bf794[0x0]['name']['startsWith'](this['_omittedNamespace']))&&(_0x2bf794[0x0]['name']=_0x2bf794[0x0]['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x196773,_0x2bf794),!0x0);}['decompress'](_0x3c2457,_0x782e18){super['decompress'](_0x3c2457,_0x782e18);const _0x9ed2c9=_0x3c2457[_0x3c2457['length']-0x1];_0x9ed2c9['name']=this['_omittedNamespace']+_0x9ed2c9['name'];}}class b{['_id'];['_context'];constructor(_0x574370,_0x47a3cc){this['_id']=_0x574370,this['_context']=_0x47a3cc;}['compress'](_0x255f78,_0x5a60d4){let _0x5c6c88;for(;_0x5a60d4['length']>0x1&&this['_compareOperations'](_0x5a60d4[0x0],_0x5a60d4[0x1]);)_0x5c6c88?(_0x5c6c88=this['_combineNext'](_0x5a60d4['shift'](),_0x5c6c88),_0x255f78['types']['push'](0x0)):(_0x5c6c88=_0x5b4797(_0x5a60d4['shift']()),_0x255f78['types']['push'](this['_id']));return!!_0x5c6c88&&(_0x5c6c88=this['_combineNext'](_0x5a60d4['shift'](),_0x5c6c88),_0x255f78['types']['push'](0x0),_0x255f78['buffers']['push'](this['_compressSingleOperation'](_0x5c6c88)),!0x0);}['decompress'](_0x32b496,_0x142d38){const _0x916a71=this['_decompressSingleOperation'](_0x142d38);for(;0x0==_0x142d38['types'][0x0];)_0x142d38['types']['shift'](),_0x32b496['push'](this['_splitCurrent'](_0x916a71));_0x32b496['push'](_0x916a71);}}class m extends b{['_combineNext'](_0x1b303f,_0x12bfab){return _0x12bfab['nodes'][0x0]['data']+=_0x1b303f['nodes'][0x0]['data'],_0x12bfab;}['_splitCurrent'](_0x981b9){const _0x32f5d6=_0x5b4797(_0x981b9),_0xdbb5e5=_0x32f5d6['nodes'][0x0],_0x412982=_0x981b9['nodes'][0x0],_0x2eb2da=_0x412982['data'][Symbol['iterator']]()['next']()['value'],_0x3fbd6b=_0x2eb2da['length'];return _0xdbb5e5['data']=_0x2eb2da,_0x412982['data']=_0x412982['data']['substr'](_0x3fbd6b),_0x981b9['position']=_(_0x981b9['position'],_0x3fbd6b),_0x32f5d6;}['_compareOperations'](_0x29863b,_0x5e63b0){if(this['_checkOperation'](_0x29863b)&&this['_checkOperation'](_0x5e63b0)){const _0x2ae654=_0x29863b['nodes'][0x0]['data']['length'],_0x1ec673=O(_(_0x29863b['position'],_0x2ae654),_0x5e63b0['position']),_0x37aed7=_0x29863b['nodes'][0x0],_0x2ebbf9=_0x5e63b0['nodes'][0x0];return _0x1ec673&&this['_compareAttributes'](_0x37aed7,_0x2ebbf9);}return!0x1;}['_compressSingleOperation'](_0x43c03d){const _0x590d05={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x590d05,[_0x43c03d]),_0x590d05['buffers'][0x0];}['_decompressSingleOperation'](_0x40aa40){const _0x512385=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x512385,_0x40aa40),_0x512385[0x0];}['_checkOperation'](_0x75da0b){return'InsertOperation'==_0x75da0b['__className']&&0x1==_0x75da0b['nodes']['length']&&_0x75da0b['nodes'][0x0]['data']&&!_0x75da0b['wasUndone']&&0x1==Array['from'](_0x75da0b['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x3d5b3d,_0x5cfc48){const _0xdaf5fd=Object['keys'](_0x3d5b3d['attributes']||{}),_0x2afabe=Object['keys'](_0x5cfc48['attributes']||{});return _0xdaf5fd['length']===_0x2afabe['length']&&_0xdaf5fd['every'](_0xb93c68=>_0x5cfc48['attributes'][_0xb93c68]&&_0x5cfc48['attributes'][_0xb93c68]===_0x3d5b3d['attributes'][_0xb93c68]);}}class c extends b{['_combineNext'](_0x1a6e18,_0x3deea8){return _0x3deea8['howMany']++,_0x3deea8['sourcePosition']=_0x5b4797(_0x1a6e18['sourcePosition']),_0x3deea8;}['_splitCurrent'](_0x120858){const _0x578ae4=_0x5b4797(_0x120858);return _0x120858['howMany']--,_0x578ae4['howMany']=0x1,_0x578ae4['sourcePosition']=_(_0x578ae4['sourcePosition'],_0x120858['howMany']),_0x578ae4;}['_compareOperations'](_0x99fb02,_0x1d29fd){return!(!this['_checkOperation'](_0x99fb02)||!this['_checkOperation'](_0x1d29fd))&&(O(_(_0x99fb02['sourcePosition'],-0x1),_0x1d29fd['sourcePosition'])&&O(_0x99fb02['targetPosition'],_0x1d29fd['targetPosition']));}['_compressSingleOperation'](_0xb1a513){const _0x3fab7a={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x3fab7a,[_0xb1a513]),_0x3fab7a['buffers'][0x0];}['_decompressSingleOperation'](_0x2614d0){const _0x1f2334=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x1f2334,_0x2614d0),_0x1f2334[0x0];}['_checkOperation'](_0x173564){return'MoveOperation'==_0x173564['__className']&&'$graveyard'==_0x173564['targetPosition']['root']&&0x1==_0x173564['howMany']&&!_0x173564['wasUndone'];}}class h extends b{['_combineNext'](_0x1e0d4b,_0x5d190b){return _0x5d190b['howMany']++,_0x5d190b;}['_splitCurrent'](_0x3d79d6){const _0x1dcee6=_0x5b4797(_0x3d79d6);return _0x1dcee6['howMany']=0x1,_0x3d79d6['howMany']--,_0x1dcee6;}['_compareOperations'](_0x155b53,_0x21c04d){return!(!this['_checkOperation'](_0x155b53)||!this['_checkOperation'](_0x21c04d))&&(O(_0x155b53['sourcePosition'],_0x21c04d['sourcePosition'])&&O(_0x155b53['targetPosition'],_0x21c04d['targetPosition']));}['_compressSingleOperation'](_0x2b1d41){const _0x213b55={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x213b55,[_0x2b1d41]),_0x213b55['buffers'][0x0];}['_decompressSingleOperation'](_0x1e4bcd){const _0x492f61=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x492f61,_0x1e4bcd),_0x492f61[0x0];}['_checkOperation'](_0x38260c){return'MoveOperation'==_0x38260c['__className']&&'$graveyard'==_0x38260c['targetPosition']['root']&&0x1==_0x38260c['howMany']&&!_0x38260c['wasUndone'];}}class f extends b{['compress'](_0x4305f5,_0x4b988f){if(!this['_compareOperations'](_0x4b988f[0x0],_0x4b988f[0x1]))return!0x1;const _0x2bc424=_0x4b988f['shift']();return _0x2bc424['oldRange']=null,_0x2bc424['newRange']&&O(_0x2bc424['newRange']['start'],_0x2bc424['newRange']['end'])&&(_0x2bc424['newRange']['end']=null),_0x4b988f['shift'](),_0x4305f5['types']['push'](this['_id']),_0x4305f5['types']['push'](0x0),_0x4305f5['buffers']['push'](this['_compressSingleOperation'](_0x2bc424)),!0x0;}['decompress'](_0x545c89,_0x206c30){const _0x39e978=this['_decompressSingleOperation'](_0x206c30);_0x39e978['newRange']&&!_0x39e978['newRange']['end']&&(_0x39e978['newRange']['end']=_0x5b4797(_0x39e978['newRange']['start']));const _0x517d6b=_0x5b4797(_0x39e978);_0x517d6b['newRange']&&(_0x517d6b['newRange']['start']['stickiness']='toNone',_0x517d6b['newRange']['end']=_0x5b4797(_0x517d6b['newRange']['start'])),_0x517d6b['name']='user:position:'+_0x517d6b['name']['split'](':')[0x2],_0x206c30['types']['shift'](),_0x545c89['push'](_0x39e978),_0x545c89['push'](_0x517d6b);}['_compressSingleOperation'](_0x10f4b3){const _0x16fa53={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x16fa53,[_0x10f4b3]),_0x16fa53['buffers'][0x0];}['_decompressSingleOperation'](_0x3f0918){const _0x1bee30=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x1bee30,_0x3f0918),_0x1bee30[0x0];}['_compareOperations'](_0x40f552,_0x77c1cb){return!(!_0x40f552||!_0x77c1cb)&&('MarkerOperation'==_0x40f552['__className']&&'MarkerOperation'==_0x77c1cb['__className']&&!(!_0x40f552['name']['startsWith']('user:')||!_0x77c1cb['name']['startsWith']('user:')||_0x40f552['name']==_0x77c1cb['name']));}}class g{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new r();const _0x2b7430=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',_0x2b7430,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new a(0x13,'MarkerOperation',_0x2b7430,'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);}['compress'](_0x4b1f00){if(!_0x4b1f00||!_0x4b1f00[0x0])throw new _0x3a8a44('no-operations-provided',this);const _0x106035={'types':[],'buffers':[],'baseVersion':_0x4b1f00[0x0]['baseVersion']};for(;_0x4b1f00['length'];)this['_getCompressorByName']('UserSelectionAction')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('TypingAction')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('DeletingAction')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x106035,_0x4b1f00)||this['_getCompressorByName'](_0x4b1f00[0x0]['__className'])['compress'](_0x106035,_0x4b1f00);return _0x106035;}['decompress'](_0x18789c){const _0x5c881c=[];for(;_0x18789c['types']['length'];){this['_compressorById']['get'](_0x18789c['types'][0x0])['decompress'](_0x5c881c,_0x18789c);}return _0x5c881c['forEach']((_0x19c216,_0x8577c8)=>_0x19c216['baseVersion']=_0x18789c['baseVersion']+_0x8577c8),_0x5c881c;}['_getCompressorByName'](_0x214646){return this['_compressorByName']['get'](_0x214646);}['_registerOperationCompressor'](_0x1b8fb1,_0x36a6f8,_0x24631f){const _0x2c6f83=new _0x24631f(_0x1b8fb1,_0x36a6f8,this['_protobufFactory']['getDescriptor'](_0x36a6f8));this['_registerCompressor'](_0x1b8fb1,_0x36a6f8,_0x2c6f83);}['_registerActionCompressor'](_0x4e795b,_0x2df73a,_0x404a00){const _0x2bad6a=new _0x404a00(_0x4e795b,this);this['_registerCompressor'](_0x4e795b,_0x2df73a,_0x2bad6a);}['_registerCompressor'](_0x83e36b,_0x117359,_0xb318f6){this['_compressorById']['set'](_0x83e36b,_0xb318f6),this['_compressorByName']['set'](_0x117359,_0xb318f6);}}export{g as Compressor};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-operations-compressor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "42.0.0-alpha.0",
|
|
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": "
|
|
36
|
+
"ckeditor5": "42.0.0-alpha.0",
|
|
37
37
|
"lodash-es": "4.17.21",
|
|
38
38
|
"protobufjs": "7.2.5"
|
|
39
39
|
},
|