UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

24 lines • 86.5 kB
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * * * * * +---------------------------------------------------------------------------------+ * | | * | Hello stranger! | * | | * | | * | What you're currently looking at is the source code of a legally protected, | * | proprietary software. Any attempts to deobfuscate / disassemble this code | * | are forbidden and will result in legal consequences. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ import{CKEditorError as _0x1968b2}from'@ckeditor/ckeditor5-utils/dist/index.js';import _0xe1103a from'protobufjs/minimal.js';import{cloneDeep as _0x103d88,isEqual as _0x3f67b3,isObject as _0x552073}from'es-toolkit/compat';const u=/* #__PURE__ -- @preserve */ ((()=>{var _0x576ce5=_0xe1103a['Reader'],_0x3e38b3=_0xe1103a['Writer'],_0x954090=_0xe1103a['util'],_0x596528=_0xe1103a['roots']['default']||(_0xe1103a['roots']['default']={});return _0x596528['AttributeOperation']=(function(){function _0x429b88(_0x4af2e8){if(_0x4af2e8){for(var _0xc11ff9=Object['keys'](_0x4af2e8),_0x41851d=0x0;_0x41851d<_0xc11ff9['length'];++_0x41851d)null!=_0x4af2e8[_0xc11ff9[_0x41851d]]&&(this[_0xc11ff9[_0x41851d]]=_0x4af2e8[_0xc11ff9[_0x41851d]]);}}return _0x429b88['prototype']['range']=null,_0x429b88['prototype']['key']='',_0x429b88['prototype']['oldValueBoolean']=!0x1,_0x429b88['prototype']['oldValueJson']='',_0x429b88['prototype']['newValueBoolean']=!0x1,_0x429b88['prototype']['newValueJson']='',_0x429b88['prototype']['wasUndone']=!0x1,_0x429b88['create']=function(_0x451ae5){return new _0x429b88(_0x451ae5);},_0x429b88['encode']=function(_0x1fc9b7,_0x5d0777){return _0x5d0777||(_0x5d0777=_0x3e38b3['create']()),null!=_0x1fc9b7['range']&&Object['hasOwnProperty']['call'](_0x1fc9b7,'range')&&_0x596528['Range']['encode'](_0x1fc9b7['range'],_0x5d0777['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1fc9b7['key']&&Object['hasOwnProperty']['call'](_0x1fc9b7,'key')&&_0x5d0777['uint32'](0x12)['string'](_0x1fc9b7['key']),null!=_0x1fc9b7['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x1fc9b7,'oldValueBoolean')&&_0x5d0777['uint32'](0x18)['bool'](_0x1fc9b7['oldValueBoolean']),null!=_0x1fc9b7['oldValueJson']&&Object['hasOwnProperty']['call'](_0x1fc9b7,'oldValueJson')&&_0x5d0777['uint32'](0x22)['string'](_0x1fc9b7['oldValueJson']),null!=_0x1fc9b7['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x1fc9b7,'newValueBoolean')&&_0x5d0777['uint32'](0x28)['bool'](_0x1fc9b7['newValueBoolean']),null!=_0x1fc9b7['newValueJson']&&Object['hasOwnProperty']['call'](_0x1fc9b7,'newValueJson')&&_0x5d0777['uint32'](0x32)['string'](_0x1fc9b7['newValueJson']),null!=_0x1fc9b7['wasUndone']&&Object['hasOwnProperty']['call'](_0x1fc9b7,'wasUndone')&&_0x5d0777['uint32'](0x38)['bool'](_0x1fc9b7['wasUndone']),_0x5d0777;},_0x429b88['encodeDelimited']=function(_0x5573f3,_0x3919ce){return this['encode'](_0x5573f3,_0x3919ce)['ldelim']();},_0x429b88['decode']=function(_0x3da500,_0x29e7bd){_0x3da500 instanceof _0x576ce5||(_0x3da500=_0x576ce5['create'](_0x3da500));for(var _0x3ae469=void 0x0===_0x29e7bd?_0x3da500['len']:_0x3da500['pos']+_0x29e7bd,_0x3e90fe=new _0x596528['AttributeOperation']();_0x3da500['pos']<_0x3ae469;){var _0x4397f3=_0x3da500['uint32']();switch(_0x4397f3>>>0x3){case 0x1:_0x3e90fe['range']=_0x596528['Range']['decode'](_0x3da500,_0x3da500['uint32']());break;case 0x2:_0x3e90fe['key']=_0x3da500['string']();break;case 0x3:_0x3e90fe['oldValueBoolean']=_0x3da500['bool']();break;case 0x4:_0x3e90fe['oldValueJson']=_0x3da500['string']();break;case 0x5:_0x3e90fe['newValueBoolean']=_0x3da500['bool']();break;case 0x6:_0x3e90fe['newValueJson']=_0x3da500['string']();break;case 0x7:_0x3e90fe['wasUndone']=_0x3da500['bool']();break;default:_0x3da500['skipType'](0x7&_0x4397f3);}}return _0x3e90fe;},_0x429b88['decodeDelimited']=function(_0x1ca4d4){return _0x1ca4d4 instanceof _0x576ce5||(_0x1ca4d4=new _0x576ce5(_0x1ca4d4)),this['decode'](_0x1ca4d4,_0x1ca4d4['uint32']());},_0x429b88['verify']=function(_0x31320f){if('object'!=typeof _0x31320f||null===_0x31320f)return'object\x20expected';if(null!=_0x31320f['range']&&_0x31320f['hasOwnProperty']('range')){var _0x5be8be=_0x596528['Range']['verify'](_0x31320f['range']);if(_0x5be8be)return'range.'+_0x5be8be;}return null!=_0x31320f['key']&&_0x31320f['hasOwnProperty']('key')&&!_0x954090['isString'](_0x31320f['key'])?'key:\x20string\x20expected':null!=_0x31320f['oldValueBoolean']&&_0x31320f['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x31320f['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x31320f['oldValueJson']&&_0x31320f['hasOwnProperty']('oldValueJson')&&!_0x954090['isString'](_0x31320f['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x31320f['newValueBoolean']&&_0x31320f['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x31320f['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x31320f['newValueJson']&&_0x31320f['hasOwnProperty']('newValueJson')&&!_0x954090['isString'](_0x31320f['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x31320f['wasUndone']&&_0x31320f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x31320f['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x429b88['fromObject']=function(_0xb88666){if(_0xb88666 instanceof _0x596528['AttributeOperation'])return _0xb88666;var _0x2dfc8f=new _0x596528['AttributeOperation']();if(null!=_0xb88666['range']){if('object'!=typeof _0xb88666['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x2dfc8f['range']=_0x596528['Range']['fromObject'](_0xb88666['range']);}return null!=_0xb88666['key']&&(_0x2dfc8f['key']=String(_0xb88666['key'])),null!=_0xb88666['oldValueBoolean']&&(_0x2dfc8f['oldValueBoolean']=Boolean(_0xb88666['oldValueBoolean'])),null!=_0xb88666['oldValueJson']&&(_0x2dfc8f['oldValueJson']=String(_0xb88666['oldValueJson'])),null!=_0xb88666['newValueBoolean']&&(_0x2dfc8f['newValueBoolean']=Boolean(_0xb88666['newValueBoolean'])),null!=_0xb88666['newValueJson']&&(_0x2dfc8f['newValueJson']=String(_0xb88666['newValueJson'])),null!=_0xb88666['wasUndone']&&(_0x2dfc8f['wasUndone']=Boolean(_0xb88666['wasUndone'])),_0x2dfc8f;},_0x429b88['toObject']=function(_0x13ef55,_0x512edf){_0x512edf||(_0x512edf={});var _0x1457e5={};return _0x512edf['defaults']&&(_0x1457e5['range']=null,_0x1457e5['key']='',_0x1457e5['oldValueBoolean']=!0x1,_0x1457e5['oldValueJson']='',_0x1457e5['newValueBoolean']=!0x1,_0x1457e5['newValueJson']='',_0x1457e5['wasUndone']=!0x1),null!=_0x13ef55['range']&&_0x13ef55['hasOwnProperty']('range')&&(_0x1457e5['range']=_0x596528['Range']['toObject'](_0x13ef55['range'],_0x512edf)),null!=_0x13ef55['key']&&_0x13ef55['hasOwnProperty']('key')&&(_0x1457e5['key']=_0x13ef55['key']),null!=_0x13ef55['oldValueBoolean']&&_0x13ef55['hasOwnProperty']('oldValueBoolean')&&(_0x1457e5['oldValueBoolean']=_0x13ef55['oldValueBoolean']),null!=_0x13ef55['oldValueJson']&&_0x13ef55['hasOwnProperty']('oldValueJson')&&(_0x1457e5['oldValueJson']=_0x13ef55['oldValueJson']),null!=_0x13ef55['newValueBoolean']&&_0x13ef55['hasOwnProperty']('newValueBoolean')&&(_0x1457e5['newValueBoolean']=_0x13ef55['newValueBoolean']),null!=_0x13ef55['newValueJson']&&_0x13ef55['hasOwnProperty']('newValueJson')&&(_0x1457e5['newValueJson']=_0x13ef55['newValueJson']),null!=_0x13ef55['wasUndone']&&_0x13ef55['hasOwnProperty']('wasUndone')&&(_0x1457e5['wasUndone']=_0x13ef55['wasUndone']),_0x1457e5;},_0x429b88['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe1103a['util']['toJSONOptions']);},_0x429b88['getTypeUrl']=function(_0x764148){return void 0x0===_0x764148&&(_0x764148='type.googleapis.com'),_0x764148+'/AttributeOperation';},_0x429b88;}()),_0x596528['InsertOperation']=(function(){function _0x1554ba(_0x58c841){if(this['nodes']=[],_0x58c841){for(var _0x3d2077=Object['keys'](_0x58c841),_0x55fcd0=0x0;_0x55fcd0<_0x3d2077['length'];++_0x55fcd0)null!=_0x58c841[_0x3d2077[_0x55fcd0]]&&(this[_0x3d2077[_0x55fcd0]]=_0x58c841[_0x3d2077[_0x55fcd0]]);}}return _0x1554ba['prototype']['position']=null,_0x1554ba['prototype']['nodes']=_0x954090['emptyArray'],_0x1554ba['prototype']['shouldReceiveAttributes']=!0x1,_0x1554ba['prototype']['wasUndone']=!0x1,_0x1554ba['create']=function(_0x2bdc55){return new _0x1554ba(_0x2bdc55);},_0x1554ba['encode']=function(_0x389765,_0x1a0979){if(_0x1a0979||(_0x1a0979=_0x3e38b3['create']()),null!=_0x389765['position']&&Object['hasOwnProperty']['call'](_0x389765,'position')&&_0x596528['Position']['encode'](_0x389765['position'],_0x1a0979['uint32'](0xa)['fork']())['ldelim'](),null!=_0x389765['nodes']&&_0x389765['nodes']['length']){for(var _0x50b1b0=0x0;_0x50b1b0<_0x389765['nodes']['length'];++_0x50b1b0)_0x596528['Element']['encode'](_0x389765['nodes'][_0x50b1b0],_0x1a0979['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x389765['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x389765,'shouldReceiveAttributes')&&_0x1a0979['uint32'](0x18)['bool'](_0x389765['shouldReceiveAttributes']),null!=_0x389765['wasUndone']&&Object['hasOwnProperty']['call'](_0x389765,'wasUndone')&&_0x1a0979['uint32'](0x20)['bool'](_0x389765['wasUndone']),_0x1a0979;},_0x1554ba['encodeDelimited']=function(_0x10b8d7,_0x98db36){return this['encode'](_0x10b8d7,_0x98db36)['ldelim']();},_0x1554ba['decode']=function(_0x5c9a81,_0x1a635a){_0x5c9a81 instanceof _0x576ce5||(_0x5c9a81=_0x576ce5['create'](_0x5c9a81));for(var _0x192443=void 0x0===_0x1a635a?_0x5c9a81['len']:_0x5c9a81['pos']+_0x1a635a,_0x59a327=new _0x596528['InsertOperation']();_0x5c9a81['pos']<_0x192443;){var _0x4cf22f=_0x5c9a81['uint32']();switch(_0x4cf22f>>>0x3){case 0x1:_0x59a327['position']=_0x596528['Position']['decode'](_0x5c9a81,_0x5c9a81['uint32']());break;case 0x2:_0x59a327['nodes']&&_0x59a327['nodes']['length']||(_0x59a327['nodes']=[]),_0x59a327['nodes']['push'](_0x596528['Element']['decode'](_0x5c9a81,_0x5c9a81['uint32']()));break;case 0x3:_0x59a327['shouldReceiveAttributes']=_0x5c9a81['bool']();break;case 0x4:_0x59a327['wasUndone']=_0x5c9a81['bool']();break;default:_0x5c9a81['skipType'](0x7&_0x4cf22f);}}return _0x59a327;},_0x1554ba['decodeDelimited']=function(_0x15b7e9){return _0x15b7e9 instanceof _0x576ce5||(_0x15b7e9=new _0x576ce5(_0x15b7e9)),this['decode'](_0x15b7e9,_0x15b7e9['uint32']());},_0x1554ba['verify']=function(_0x262bce){if('object'!=typeof _0x262bce||null===_0x262bce)return'object\x20expected';if(null!=_0x262bce['position']&&_0x262bce['hasOwnProperty']('position')&&(_0x10dc9b=_0x596528['Position']['verify'](_0x262bce['position'])))return'position.'+_0x10dc9b;if(null!=_0x262bce['nodes']&&_0x262bce['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x262bce['nodes']))return'nodes:\x20array\x20expected';for(var _0x3856ca=0x0;_0x3856ca<_0x262bce['nodes']['length'];++_0x3856ca){var _0x10dc9b;if(_0x10dc9b=_0x596528['Element']['verify'](_0x262bce['nodes'][_0x3856ca]))return'nodes.'+_0x10dc9b;}}return null!=_0x262bce['shouldReceiveAttributes']&&_0x262bce['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x262bce['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x262bce['wasUndone']&&_0x262bce['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x262bce['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1554ba['fromObject']=function(_0x18da8c){if(_0x18da8c instanceof _0x596528['InsertOperation'])return _0x18da8c;var _0xe077f=new _0x596528['InsertOperation']();if(null!=_0x18da8c['position']){if('object'!=typeof _0x18da8c['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0xe077f['position']=_0x596528['Position']['fromObject'](_0x18da8c['position']);}if(_0x18da8c['nodes']){if(!Array['isArray'](_0x18da8c['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0xe077f['nodes']=[];for(var _0x243d47=0x0;_0x243d47<_0x18da8c['nodes']['length'];++_0x243d47){if('object'!=typeof _0x18da8c['nodes'][_0x243d47])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0xe077f['nodes'][_0x243d47]=_0x596528['Element']['fromObject'](_0x18da8c['nodes'][_0x243d47]);}}return null!=_0x18da8c['shouldReceiveAttributes']&&(_0xe077f['shouldReceiveAttributes']=Boolean(_0x18da8c['shouldReceiveAttributes'])),null!=_0x18da8c['wasUndone']&&(_0xe077f['wasUndone']=Boolean(_0x18da8c['wasUndone'])),_0xe077f;},_0x1554ba['toObject']=function(_0x246519,_0xda452f){_0xda452f||(_0xda452f={});var _0x3b0dc9={};if((_0xda452f['arrays']||_0xda452f['defaults'])&&(_0x3b0dc9['nodes']=[]),_0xda452f['defaults']&&(_0x3b0dc9['position']=null,_0x3b0dc9['shouldReceiveAttributes']=!0x1,_0x3b0dc9['wasUndone']=!0x1),null!=_0x246519['position']&&_0x246519['hasOwnProperty']('position')&&(_0x3b0dc9['position']=_0x596528['Position']['toObject'](_0x246519['position'],_0xda452f)),_0x246519['nodes']&&_0x246519['nodes']['length']){_0x3b0dc9['nodes']=[];for(var _0x61d203=0x0;_0x61d203<_0x246519['nodes']['length'];++_0x61d203)_0x3b0dc9['nodes'][_0x61d203]=_0x596528['Element']['toObject'](_0x246519['nodes'][_0x61d203],_0xda452f);}return null!=_0x246519['shouldReceiveAttributes']&&_0x246519['hasOwnProperty']('shouldReceiveAttributes')&&(_0x3b0dc9['shouldReceiveAttributes']=_0x246519['shouldReceiveAttributes']),null!=_0x246519['wasUndone']&&_0x246519['hasOwnProperty']('wasUndone')&&(_0x3b0dc9['wasUndone']=_0x246519['wasUndone']),_0x3b0dc9;},_0x1554ba['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe1103a['util']['toJSONOptions']);},_0x1554ba['getTypeUrl']=function(_0x4838c4){return void 0x0===_0x4838c4&&(_0x4838c4='type.googleapis.com'),_0x4838c4+'/InsertOperation';},_0x1554ba;}()),_0x596528['MarkerOperation']=(function(){function _0x135159(_0x2da2d5){if(_0x2da2d5){for(var _0x1185b6=Object['keys'](_0x2da2d5),_0x216be9=0x0;_0x216be9<_0x1185b6['length'];++_0x216be9)null!=_0x2da2d5[_0x1185b6[_0x216be9]]&&(this[_0x1185b6[_0x216be9]]=_0x2da2d5[_0x1185b6[_0x216be9]]);}}return _0x135159['prototype']['name']='',_0x135159['prototype']['oldRange']=null,_0x135159['prototype']['newRange']=null,_0x135159['prototype']['affectsData']=!0x1,_0x135159['prototype']['wasUndone']=!0x1,_0x135159['create']=function(_0x44c25b){return new _0x135159(_0x44c25b);},_0x135159['encode']=function(_0x2a6364,_0x2102c1){return _0x2102c1||(_0x2102c1=_0x3e38b3['create']()),null!=_0x2a6364['name']&&Object['hasOwnProperty']['call'](_0x2a6364,'name')&&_0x2102c1['uint32'](0xa)['string'](_0x2a6364['name']),null!=_0x2a6364['oldRange']&&Object['hasOwnProperty']['call'](_0x2a6364,'oldRange')&&_0x596528['Range']['encode'](_0x2a6364['oldRange'],_0x2102c1['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2a6364['newRange']&&Object['hasOwnProperty']['call'](_0x2a6364,'newRange')&&_0x596528['Range']['encode'](_0x2a6364['newRange'],_0x2102c1['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2a6364['affectsData']&&Object['hasOwnProperty']['call'](_0x2a6364,'affectsData')&&_0x2102c1['uint32'](0x20)['bool'](_0x2a6364['affectsData']),null!=_0x2a6364['wasUndone']&&Object['hasOwnProperty']['call'](_0x2a6364,'wasUndone')&&_0x2102c1['uint32'](0x28)['bool'](_0x2a6364['wasUndone']),_0x2102c1;},_0x135159['encodeDelimited']=function(_0xb755a,_0x41c2e0){return this['encode'](_0xb755a,_0x41c2e0)['ldelim']();},_0x135159['decode']=function(_0x111dd6,_0x21ddfe){_0x111dd6 instanceof _0x576ce5||(_0x111dd6=_0x576ce5['create'](_0x111dd6));for(var _0x159e78=void 0x0===_0x21ddfe?_0x111dd6['len']:_0x111dd6['pos']+_0x21ddfe,_0x307bf1=new _0x596528['MarkerOperation']();_0x111dd6['pos']<_0x159e78;){var _0x4d8af2=_0x111dd6['uint32']();switch(_0x4d8af2>>>0x3){case 0x1:_0x307bf1['name']=_0x111dd6['string']();break;case 0x2:_0x307bf1['oldRange']=_0x596528['Range']['decode'](_0x111dd6,_0x111dd6['uint32']());break;case 0x3:_0x307bf1['newRange']=_0x596528['Range']['decode'](_0x111dd6,_0x111dd6['uint32']());break;case 0x4:_0x307bf1['affectsData']=_0x111dd6['bool']();break;case 0x5:_0x307bf1['wasUndone']=_0x111dd6['bool']();break;default:_0x111dd6['skipType'](0x7&_0x4d8af2);}}return _0x307bf1;},_0x135159['decodeDelimited']=function(_0x35a6cf){return _0x35a6cf instanceof _0x576ce5||(_0x35a6cf=new _0x576ce5(_0x35a6cf)),this['decode'](_0x35a6cf,_0x35a6cf['uint32']());},_0x135159['verify']=function(_0xd30271){if('object'!=typeof _0xd30271||null===_0xd30271)return'object\x20expected';if(null!=_0xd30271['name']&&_0xd30271['hasOwnProperty']('name')&&!_0x954090['isString'](_0xd30271['name']))return'name:\x20string\x20expected';var _0x2f97de;if(null!=_0xd30271['oldRange']&&_0xd30271['hasOwnProperty']('oldRange')&&(_0x2f97de=_0x596528['Range']['verify'](_0xd30271['oldRange'])))return'oldRange.'+_0x2f97de;if(null!=_0xd30271['newRange']&&_0xd30271['hasOwnProperty']('newRange')&&(_0x2f97de=_0x596528['Range']['verify'](_0xd30271['newRange'])))return'newRange.'+_0x2f97de;return null!=_0xd30271['affectsData']&&_0xd30271['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0xd30271['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0xd30271['wasUndone']&&_0xd30271['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xd30271['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x135159['fromObject']=function(_0x5a2d6d){if(_0x5a2d6d instanceof _0x596528['MarkerOperation'])return _0x5a2d6d;var _0x1bdfd4=new _0x596528['MarkerOperation']();if(null!=_0x5a2d6d['name']&&(_0x1bdfd4['name']=String(_0x5a2d6d['name'])),null!=_0x5a2d6d['oldRange']){if('object'!=typeof _0x5a2d6d['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x1bdfd4['oldRange']=_0x596528['Range']['fromObject'](_0x5a2d6d['oldRange']);}if(null!=_0x5a2d6d['newRange']){if('object'!=typeof _0x5a2d6d['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x1bdfd4['newRange']=_0x596528['Range']['fromObject'](_0x5a2d6d['newRange']);}return null!=_0x5a2d6d['affectsData']&&(_0x1bdfd4['affectsData']=Boolean(_0x5a2d6d['affectsData'])),null!=_0x5a2d6d['wasUndone']&&(_0x1bdfd4['wasUndone']=Boolean(_0x5a2d6d['wasUndone'])),_0x1bdfd4;},_0x135159['toObject']=function(_0x3a6aac,_0x21027b){_0x21027b||(_0x21027b={});var _0x291179={};return _0x21027b['defaults']&&(_0x291179['name']='',_0x291179['oldRange']=null,_0x291179['newRange']=null,_0x291179['affectsData']=!0x1,_0x291179['wasUndone']=!0x1),null!=_0x3a6aac['name']&&_0x3a6aac['hasOwnProperty']('name')&&(_0x291179['name']=_0x3a6aac['name']),null!=_0x3a6aac['oldRange']&&_0x3a6aac['hasOwnProperty']('oldRange')&&(_0x291179['oldRange']=_0x596528['Range']['toObject'](_0x3a6aac['oldRange'],_0x21027b)),null!=_0x3a6aac['newRange']&&_0x3a6aac['hasOwnProperty']('newRange')&&(_0x291179['newRange']=_0x596528['Range']['toObject'](_0x3a6aac['newRange'],_0x21027b)),null!=_0x3a6aac['affectsData']&&_0x3a6aac['hasOwnProperty']('affectsData')&&(_0x291179['affectsData']=_0x3a6aac['affectsData']),null!=_0x3a6aac['wasUndone']&&_0x3a6aac['hasOwnProperty']('wasUndone')&&(_0x291179['wasUndone']=_0x3a6aac['wasUndone']),_0x291179;},_0x135159['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe1103a['util']['toJSONOptions']);},_0x135159['getTypeUrl']=function(_0x2e2337){return void 0x0===_0x2e2337&&(_0x2e2337='type.googleapis.com'),_0x2e2337+'/MarkerOperation';},_0x135159;}()),_0x596528['MergeOperation']=(function(){function _0x4360ae(_0x24e5c0){if(_0x24e5c0){for(var _0x408b51=Object['keys'](_0x24e5c0),_0x1fb688=0x0;_0x1fb688<_0x408b51['length'];++_0x1fb688)null!=_0x24e5c0[_0x408b51[_0x1fb688]]&&(this[_0x408b51[_0x1fb688]]=_0x24e5c0[_0x408b51[_0x1fb688]]);}}return _0x4360ae['prototype']['sourcePosition']=null,_0x4360ae['prototype']['targetPosition']=null,_0x4360ae['prototype']['graveyardPosition']=null,_0x4360ae['prototype']['howMany']=0x0,_0x4360ae['prototype']['wasUndone']=!0x1,_0x4360ae['create']=function(_0x59bf29){return new _0x4360ae(_0x59bf29);},_0x4360ae['encode']=function(_0x1d8d2f,_0x28a5db){return _0x28a5db||(_0x28a5db=_0x3e38b3['create']()),null!=_0x1d8d2f['sourcePosition']&&Object['hasOwnProperty']['call'](_0x1d8d2f,'sourcePosition')&&_0x596528['Position']['encode'](_0x1d8d2f['sourcePosition'],_0x28a5db['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1d8d2f['targetPosition']&&Object['hasOwnProperty']['call'](_0x1d8d2f,'targetPosition')&&_0x596528['Position']['encode'](_0x1d8d2f['targetPosition'],_0x28a5db['uint32'](0x12)['fork']())['ldelim'](),null!=_0x1d8d2f['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x1d8d2f,'graveyardPosition')&&_0x596528['Position']['encode'](_0x1d8d2f['graveyardPosition'],_0x28a5db['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x1d8d2f['howMany']&&Object['hasOwnProperty']['call'](_0x1d8d2f,'howMany')&&_0x28a5db['uint32'](0x20)['uint32'](_0x1d8d2f['howMany']),null!=_0x1d8d2f['wasUndone']&&Object['hasOwnProperty']['call'](_0x1d8d2f,'wasUndone')&&_0x28a5db['uint32'](0x28)['bool'](_0x1d8d2f['wasUndone']),_0x28a5db;},_0x4360ae['encodeDelimited']=function(_0x1f74ba,_0x4e1010){return this['encode'](_0x1f74ba,_0x4e1010)['ldelim']();},_0x4360ae['decode']=function(_0x4e4231,_0x14ad35){_0x4e4231 instanceof _0x576ce5||(_0x4e4231=_0x576ce5['create'](_0x4e4231));for(var _0x16c9d=void 0x0===_0x14ad35?_0x4e4231['len']:_0x4e4231['pos']+_0x14ad35,_0x49f0c5=new _0x596528['MergeOperation']();_0x4e4231['pos']<_0x16c9d;){var _0x36ec6c=_0x4e4231['uint32']();switch(_0x36ec6c>>>0x3){case 0x1:_0x49f0c5['sourcePosition']=_0x596528['Position']['decode'](_0x4e4231,_0x4e4231['uint32']());break;case 0x2:_0x49f0c5['targetPosition']=_0x596528['Position']['decode'](_0x4e4231,_0x4e4231['uint32']());break;case 0x3:_0x49f0c5['graveyardPosition']=_0x596528['Position']['decode'](_0x4e4231,_0x4e4231['uint32']());break;case 0x4:_0x49f0c5['howMany']=_0x4e4231['uint32']();break;case 0x5:_0x49f0c5['wasUndone']=_0x4e4231['bool']();break;default:_0x4e4231['skipType'](0x7&_0x36ec6c);}}return _0x49f0c5;},_0x4360ae['decodeDelimited']=function(_0xec07c1){return _0xec07c1 instanceof _0x576ce5||(_0xec07c1=new _0x576ce5(_0xec07c1)),this['decode'](_0xec07c1,_0xec07c1['uint32']());},_0x4360ae['verify']=function(_0x910486){if('object'!=typeof _0x910486||null===_0x910486)return'object\x20expected';var _0x487da5;if(null!=_0x910486['sourcePosition']&&_0x910486['hasOwnProperty']('sourcePosition')&&(_0x487da5=_0x596528['Position']['verify'](_0x910486['sourcePosition'])))return'sourcePosition.'+_0x487da5;if(null!=_0x910486['targetPosition']&&_0x910486['hasOwnProperty']('targetPosition')&&(_0x487da5=_0x596528['Position']['verify'](_0x910486['targetPosition'])))return'targetPosition.'+_0x487da5;if(null!=_0x910486['graveyardPosition']&&_0x910486['hasOwnProperty']('graveyardPosition')&&(_0x487da5=_0x596528['Position']['verify'](_0x910486['graveyardPosition'])))return'graveyardPosition.'+_0x487da5;return null!=_0x910486['howMany']&&_0x910486['hasOwnProperty']('howMany')&&!_0x954090['isInteger'](_0x910486['howMany'])?'howMany:\x20integer\x20expected':null!=_0x910486['wasUndone']&&_0x910486['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x910486['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4360ae['fromObject']=function(_0x11aa4b){if(_0x11aa4b instanceof _0x596528['MergeOperation'])return _0x11aa4b;var _0x21f16d=new _0x596528['MergeOperation']();if(null!=_0x11aa4b['sourcePosition']){if('object'!=typeof _0x11aa4b['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x21f16d['sourcePosition']=_0x596528['Position']['fromObject'](_0x11aa4b['sourcePosition']);}if(null!=_0x11aa4b['targetPosition']){if('object'!=typeof _0x11aa4b['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x21f16d['targetPosition']=_0x596528['Position']['fromObject'](_0x11aa4b['targetPosition']);}if(null!=_0x11aa4b['graveyardPosition']){if('object'!=typeof _0x11aa4b['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x21f16d['graveyardPosition']=_0x596528['Position']['fromObject'](_0x11aa4b['graveyardPosition']);}return null!=_0x11aa4b['howMany']&&(_0x21f16d['howMany']=_0x11aa4b['howMany']>>>0x0),null!=_0x11aa4b['wasUndone']&&(_0x21f16d['wasUndone']=Boolean(_0x11aa4b['wasUndone'])),_0x21f16d;},_0x4360ae['toObject']=function(_0x5ab3ca,_0x45a1c2){_0x45a1c2||(_0x45a1c2={});var _0x243b8e={};return _0x45a1c2['defaults']&&(_0x243b8e['sourcePosition']=null,_0x243b8e['targetPosition']=null,_0x243b8e['graveyardPosition']=null,_0x243b8e['howMany']=0x0,_0x243b8e['wasUndone']=!0x1),null!=_0x5ab3ca['sourcePosition']&&_0x5ab3ca['hasOwnProperty']('sourcePosition')&&(_0x243b8e['sourcePosition']=_0x596528['Position']['toObject'](_0x5ab3ca['sourcePosition'],_0x45a1c2)),null!=_0x5ab3ca['targetPosition']&&_0x5ab3ca['hasOwnProperty']('targetPosition')&&(_0x243b8e['targetPosition']=_0x596528['Position']['toObject'](_0x5ab3ca['targetPosition'],_0x45a1c2)),null!=_0x5ab3ca['graveyardPosition']&&_0x5ab3ca['hasOwnProperty']('graveyardPosition')&&(_0x243b8e['graveyardPosition']=_0x596528['Position']['toObject'](_0x5ab3ca['graveyardPosition'],_0x45a1c2)),null!=_0x5ab3ca['howMany']&&_0x5ab3ca['hasOwnProperty']('howMany')&&(_0x243b8e['howMany']=_0x5ab3ca['howMany']),null!=_0x5ab3ca['wasUndone']&&_0x5ab3ca['hasOwnProperty']('wasUndone')&&(_0x243b8e['wasUndone']=_0x5ab3ca['wasUndone']),_0x243b8e;},_0x4360ae['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe1103a['util']['toJSONOptions']);},_0x4360ae['getTypeUrl']=function(_0x2463bb){return void 0x0===_0x2463bb&&(_0x2463bb='type.googleapis.com'),_0x2463bb+'/MergeOperation';},_0x4360ae;}()),_0x596528['MoveOperation']=(function(){function _0x5282ea(_0x4e9de7){if(_0x4e9de7){for(var _0x88446e=Object['keys'](_0x4e9de7),_0x3f22c0=0x0;_0x3f22c0<_0x88446e['length'];++_0x3f22c0)null!=_0x4e9de7[_0x88446e[_0x3f22c0]]&&(this[_0x88446e[_0x3f22c0]]=_0x4e9de7[_0x88446e[_0x3f22c0]]);}}return _0x5282ea['prototype']['sourcePosition']=null,_0x5282ea['prototype']['howMany']=0x0,_0x5282ea['prototype']['targetPosition']=null,_0x5282ea['prototype']['wasUndone']=!0x1,_0x5282ea['create']=function(_0x381059){return new _0x5282ea(_0x381059);},_0x5282ea['encode']=function(_0x119775,_0x54ed29){return _0x54ed29||(_0x54ed29=_0x3e38b3['create']()),null!=_0x119775['sourcePosition']&&Object['hasOwnProperty']['call'](_0x119775,'sourcePosition')&&_0x596528['Position']['encode'](_0x119775['sourcePosition'],_0x54ed29['uint32'](0xa)['fork']())['ldelim'](),null!=_0x119775['howMany']&&Object['hasOwnProperty']['call'](_0x119775,'howMany')&&_0x54ed29['uint32'](0x10)['uint32'](_0x119775['howMany']),null!=_0x119775['targetPosition']&&Object['hasOwnProperty']['call'](_0x119775,'targetPosition')&&_0x596528['Position']['encode'](_0x119775['targetPosition'],_0x54ed29['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x119775['wasUndone']&&Object['hasOwnProperty']['call'](_0x119775,'wasUndone')&&_0x54ed29['uint32'](0x20)['bool'](_0x119775['wasUndone']),_0x54ed29;},_0x5282ea['encodeDelimited']=function(_0x252769,_0x450ec5){return this['encode'](_0x252769,_0x450ec5)['ldelim']();},_0x5282ea['decode']=function(_0x59ccd5,_0x30ef5d){_0x59ccd5 instanceof _0x576ce5||(_0x59ccd5=_0x576ce5['create'](_0x59ccd5));for(var _0x1ca6e8=void 0x0===_0x30ef5d?_0x59ccd5['len']:_0x59ccd5['pos']+_0x30ef5d,_0x32cace=new _0x596528['MoveOperation']();_0x59ccd5['pos']<_0x1ca6e8;){var _0x3fceb9=_0x59ccd5['uint32']();switch(_0x3fceb9>>>0x3){case 0x1:_0x32cace['sourcePosition']=_0x596528['Position']['decode'](_0x59ccd5,_0x59ccd5['uint32']());break;case 0x2:_0x32cace['howMany']=_0x59ccd5['uint32']();break;case 0x3:_0x32cace['targetPosition']=_0x596528['Position']['decode'](_0x59ccd5,_0x59ccd5['uint32']());break;case 0x4:_0x32cace['wasUndone']=_0x59ccd5['bool']();break;default:_0x59ccd5['skipType'](0x7&_0x3fceb9);}}return _0x32cace;},_0x5282ea['decodeDelimited']=function(_0x321381){return _0x321381 instanceof _0x576ce5||(_0x321381=new _0x576ce5(_0x321381)),this['decode'](_0x321381,_0x321381['uint32']());},_0x5282ea['verify']=function(_0x27ab69){if('object'!=typeof _0x27ab69||null===_0x27ab69)return'object\x20expected';var _0x560fd9;if(null!=_0x27ab69['sourcePosition']&&_0x27ab69['hasOwnProperty']('sourcePosition')&&(_0x560fd9=_0x596528['Position']['verify'](_0x27ab69['sourcePosition'])))return'sourcePosition.'+_0x560fd9;if(null!=_0x27ab69['howMany']&&_0x27ab69['hasOwnProperty']('howMany')&&!_0x954090['isInteger'](_0x27ab69['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x27ab69['targetPosition']&&_0x27ab69['hasOwnProperty']('targetPosition')&&(_0x560fd9=_0x596528['Position']['verify'](_0x27ab69['targetPosition'])))return'targetPosition.'+_0x560fd9;return null!=_0x27ab69['wasUndone']&&_0x27ab69['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x27ab69['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5282ea['fromObject']=function(_0x257696){if(_0x257696 instanceof _0x596528['MoveOperation'])return _0x257696;var _0xb3fbf5=new _0x596528['MoveOperation']();if(null!=_0x257696['sourcePosition']){if('object'!=typeof _0x257696['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0xb3fbf5['sourcePosition']=_0x596528['Position']['fromObject'](_0x257696['sourcePosition']);}if(null!=_0x257696['howMany']&&(_0xb3fbf5['howMany']=_0x257696['howMany']>>>0x0),null!=_0x257696['targetPosition']){if('object'!=typeof _0x257696['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0xb3fbf5['targetPosition']=_0x596528['Position']['fromObject'](_0x257696['targetPosition']);}return null!=_0x257696['wasUndone']&&(_0xb3fbf5['wasUndone']=Boolean(_0x257696['wasUndone'])),_0xb3fbf5;},_0x5282ea['toObject']=function(_0x421afb,_0x2af9ef){_0x2af9ef||(_0x2af9ef={});var _0x20a53e={};return _0x2af9ef['defaults']&&(_0x20a53e['sourcePosition']=null,_0x20a53e['howMany']=0x0,_0x20a53e['targetPosition']=null,_0x20a53e['wasUndone']=!0x1),null!=_0x421afb['sourcePosition']&&_0x421afb['hasOwnProperty']('sourcePosition')&&(_0x20a53e['sourcePosition']=_0x596528['Position']['toObject'](_0x421afb['sourcePosition'],_0x2af9ef)),null!=_0x421afb['howMany']&&_0x421afb['hasOwnProperty']('howMany')&&(_0x20a53e['howMany']=_0x421afb['howMany']),null!=_0x421afb['targetPosition']&&_0x421afb['hasOwnProperty']('targetPosition')&&(_0x20a53e['targetPosition']=_0x596528['Position']['toObject'](_0x421afb['targetPosition'],_0x2af9ef)),null!=_0x421afb['wasUndone']&&_0x421afb['hasOwnProperty']('wasUndone')&&(_0x20a53e['wasUndone']=_0x421afb['wasUndone']),_0x20a53e;},_0x5282ea['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe1103a['util']['toJSONOptions']);},_0x5282ea['getTypeUrl']=function(_0x374fb5){return void 0x0===_0x374fb5&&(_0x374fb5='type.googleapis.com'),_0x374fb5+'/MoveOperation';},_0x5282ea;}()),_0x596528['RenameOperation']=(function(){function _0x3441ae(_0x303e3e){if(_0x303e3e){for(var _0x45229a=Object['keys'](_0x303e3e),_0x3d6e7e=0x0;_0x3d6e7e<_0x45229a['length'];++_0x3d6e7e)null!=_0x303e3e[_0x45229a[_0x3d6e7e]]&&(this[_0x45229a[_0x3d6e7e]]=_0x303e3e[_0x45229a[_0x3d6e7e]]);}}return _0x3441ae['prototype']['position']=null,_0x3441ae['prototype']['oldName']='',_0x3441ae['prototype']['newName']='',_0x3441ae['prototype']['wasUndone']=!0x1,_0x3441ae['create']=function(_0x4b0c2f){return new _0x3441ae(_0x4b0c2f);},_0x3441ae['encode']=function(_0x18e887,_0x40b9f8){return _0x40b9f8||(_0x40b9f8=_0x3e38b3['create']()),null!=_0x18e887['position']&&Object['hasOwnProperty']['call'](_0x18e887,'position')&&_0x596528['Position']['encode'](_0x18e887['position'],_0x40b9f8['uint32'](0xa)['fork']())['ldelim'](),null!=_0x18e887['oldName']&&Object['hasOwnProperty']['call'](_0x18e887,'oldName')&&_0x40b9f8['uint32'](0x12)['string'](_0x18e887['oldName']),null!=_0x18e887['newName']&&Object['hasOwnProperty']['call'](_0x18e887,'newName')&&_0x40b9f8['uint32'](0x1a)['string'](_0x18e887['newName']),null!=_0x18e887['wasUndone']&&Object['hasOwnProperty']['call'](_0x18e887,'wasUndone')&&_0x40b9f8['uint32'](0x20)['bool'](_0x18e887['wasUndone']),_0x40b9f8;},_0x3441ae['encodeDelimited']=function(_0x2b23c2,_0x1709ab){return this['encode'](_0x2b23c2,_0x1709ab)['ldelim']();},_0x3441ae['decode']=function(_0x2b31f5,_0x343e05){_0x2b31f5 instanceof _0x576ce5||(_0x2b31f5=_0x576ce5['create'](_0x2b31f5));for(var _0x2eff98=void 0x0===_0x343e05?_0x2b31f5['len']:_0x2b31f5['pos']+_0x343e05,_0x2fed56=new _0x596528['RenameOperation']();_0x2b31f5['pos']<_0x2eff98;){var _0x310000=_0x2b31f5['uint32']();switch(_0x310000>>>0x3){case 0x1:_0x2fed56['position']=_0x596528['Position']['decode'](_0x2b31f5,_0x2b31f5['uint32']());break;case 0x2:_0x2fed56['oldName']=_0x2b31f5['string']();break;case 0x3:_0x2fed56['newName']=_0x2b31f5['string']();break;case 0x4:_0x2fed56['wasUndone']=_0x2b31f5['bool']();break;default:_0x2b31f5['skipType'](0x7&_0x310000);}}return _0x2fed56;},_0x3441ae['decodeDelimited']=function(_0x452cc5){return _0x452cc5 instanceof _0x576ce5||(_0x452cc5=new _0x576ce5(_0x452cc5)),this['decode'](_0x452cc5,_0x452cc5['uint32']());},_0x3441ae['verify']=function(_0x4fd1ac){if('object'!=typeof _0x4fd1ac||null===_0x4fd1ac)return'object\x20expected';if(null!=_0x4fd1ac['position']&&_0x4fd1ac['hasOwnProperty']('position')){var _0x4d42ed=_0x596528['Position']['verify'](_0x4fd1ac['position']);if(_0x4d42ed)return'position.'+_0x4d42ed;}return null!=_0x4fd1ac['oldName']&&_0x4fd1ac['hasOwnProperty']('oldName')&&!_0x954090['isString'](_0x4fd1ac['oldName'])?'oldName:\x20string\x20expected':null!=_0x4fd1ac['newName']&&_0x4fd1ac['hasOwnProperty']('newName')&&!_0x954090['isString'](_0x4fd1ac['newName'])?'newName:\x20string\x20expected':null!=_0x4fd1ac['wasUndone']&&_0x4fd1ac['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4fd1ac['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3441ae['fromObject']=function(_0x37b34e){if(_0x37b34e instanceof _0x596528['RenameOperation'])return _0x37b34e;var _0x49e86f=new _0x596528['RenameOperation']();if(null!=_0x37b34e['position']){if('object'!=typeof _0x37b34e['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x49e86f['position']=_0x596528['Position']['fromObject'](_0x37b34e['position']);}return null!=_0x37b34e['oldName']&&(_0x49e86f['oldName']=String(_0x37b34e['oldName'])),null!=_0x37b34e['newName']&&(_0x49e86f['newName']=String(_0x37b34e['newName'])),null!=_0x37b34e['wasUndone']&&(_0x49e86f['wasUndone']=Boolean(_0x37b34e['wasUndone'])),_0x49e86f;},_0x3441ae['toObject']=function(_0x669352,_0x32c1bf){_0x32c1bf||(_0x32c1bf={});var _0x145d4f={};return _0x32c1bf['defaults']&&(_0x145d4f['position']=null,_0x145d4f['oldName']='',_0x145d4f['newName']='',_0x145d4f['wasUndone']=!0x1),null!=_0x669352['position']&&_0x669352['hasOwnProperty']('position')&&(_0x145d4f['position']=_0x596528['Position']['toObject'](_0x669352['position'],_0x32c1bf)),null!=_0x669352['oldName']&&_0x669352['hasOwnProperty']('oldName')&&(_0x145d4f['oldName']=_0x669352['oldName']),null!=_0x669352['newName']&&_0x669352['hasOwnProperty']('newName')&&(_0x145d4f['newName']=_0x669352['newName']),null!=_0x669352['wasUndone']&&_0x669352['hasOwnProperty']('wasUndone')&&(_0x145d4f['wasUndone']=_0x669352['wasUndone']),_0x145d4f;},_0x3441ae['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe1103a['util']['toJSONOptions']);},_0x3441ae['getTypeUrl']=function(_0x1d3872){return void 0x0===_0x1d3872&&(_0x1d3872='type.googleapis.com'),_0x1d3872+'/RenameOperation';},_0x3441ae;}()),_0x596528['RootAttributeOperation']=(function(){function _0x1c3eb5(_0x260924){if(_0x260924){for(var _0x17cdfd=Object['keys'](_0x260924),_0x60f470=0x0;_0x60f470<_0x17cdfd['length'];++_0x60f470)null!=_0x260924[_0x17cdfd[_0x60f470]]&&(this[_0x17cdfd[_0x60f470]]=_0x260924[_0x17cdfd[_0x60f470]]);}}return _0x1c3eb5['prototype']['root']='',_0x1c3eb5['prototype']['key']='',_0x1c3eb5['prototype']['oldValueBoolean']=!0x1,_0x1c3eb5['prototype']['oldValueJson']='',_0x1c3eb5['prototype']['newValueBoolean']=!0x1,_0x1c3eb5['prototype']['newValueJson']='',_0x1c3eb5['prototype']['wasUndone']=!0x1,_0x1c3eb5['create']=function(_0x47241b){return new _0x1c3eb5(_0x47241b);},_0x1c3eb5['encode']=function(_0x18d42a,_0x590ec2){return _0x590ec2||(_0x590ec2=_0x3e38b3['create']()),null!=_0x18d42a['root']&&Object['hasOwnProperty']['call'](_0x18d42a,'root')&&_0x590ec2['uint32'](0xa)['string'](_0x18d42a['root']),null!=_0x18d42a['key']&&Object['hasOwnProperty']['call'](_0x18d42a,'key')&&_0x590ec2['uint32'](0x12)['string'](_0x18d42a['key']),null!=_0x18d42a['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x18d42a,'oldValueBoolean')&&_0x590ec2['uint32'](0x18)['bool'](_0x18d42a['oldValueBoolean']),null!=_0x18d42a['oldValueJson']&&Object['hasOwnProperty']['call'](_0x18d42a,'oldValueJson')&&_0x590ec2['uint32'](0x22)['string'](_0x18d42a['oldValueJson']),null!=_0x18d42a['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x18d42a,'newValueBoolean')&&_0x590ec2['uint32'](0x28)['bool'](_0x18d42a['newValueBoolean']),null!=_0x18d42a['newValueJson']&&Object['hasOwnProperty']['call'](_0x18d42a,'newValueJson')&&_0x590ec2['uint32'](0x32)['string'](_0x18d42a['newValueJson']),null!=_0x18d42a['wasUndone']&&Object['hasOwnProperty']['call'](_0x18d42a,'wasUndone')&&_0x590ec2['uint32'](0x38)['bool'](_0x18d42a['wasUndone']),_0x590ec2;},_0x1c3eb5['encodeDelimited']=function(_0x3793e5,_0x52cb05){return this['encode'](_0x3793e5,_0x52cb05)['ldelim']();},_0x1c3eb5['decode']=function(_0x30fd55,_0xe9f020){_0x30fd55 instanceof _0x576ce5||(_0x30fd55=_0x576ce5['create'](_0x30fd55));for(var _0x272084=void 0x0===_0xe9f020?_0x30fd55['len']:_0x30fd55['pos']+_0xe9f020,_0x483bf0=new _0x596528['RootAttributeOperation']();_0x30fd55['pos']<_0x272084;){var _0x22c406=_0x30fd55['uint32']();switch(_0x22c406>>>0x3){case 0x1:_0x483bf0['root']=_0x30fd55['string']();break;case 0x2:_0x483bf0['key']=_0x30fd55['string']();break;case 0x3:_0x483bf0['oldValueBoolean']=_0x30fd55['bool']();break;case 0x4:_0x483bf0['oldValueJson']=_0x30fd55['string']();break;case 0x5:_0x483bf0['newValueBoolean']=_0x30fd55['bool']();break;case 0x6:_0x483bf0['newValueJson']=_0x30fd55['string']();break;case 0x7:_0x483bf0['wasUndone']=_0x30fd55['bool']();break;default:_0x30fd55['skipType'](0x7&_0x22c406);}}return _0x483bf0;},_0x1c3eb5['decodeDelimited']=function(_0x58d94e){return _0x58d94e instanceof _0x576ce5||(_0x58d94e=new _0x576ce5(_0x58d94e)),this['decode'](_0x58d94e,_0x58d94e['uint32']());},_0x1c3eb5['verify']=function(_0x3e76b3){return'object'!=typeof _0x3e76b3||null===_0x3e76b3?'object\x20expected':null!=_0x3e76b3['root']&&_0x3e76b3['hasOwnProperty']('root')&&!_0x954090['isString'](_0x3e76b3['root'])?'root:\x20string\x20expected':null!=_0x3e76b3['key']&&_0x3e76b3['hasOwnProperty']('key')&&!_0x954090['isString'](_0x3e76b3['key'])?'key:\x20string\x20expected':null!=_0x3e76b3['oldValueBoolean']&&_0x3e76b3['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x3e76b3['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x3e76b3['oldValueJson']&&_0x3e76b3['hasOwnProperty']('oldValueJson')&&!_0x954090['isString'](_0x3e76b3['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x3e76b3['newValueBoolean']&&_0x3e76b3['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x3e76b3['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x3e76b3['newValueJson']&&_0x3e76b3['hasOwnProperty']('newValueJson')&&!_0x954090['isString'](_0x3e76b3['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x3e76b3['wasUndone']&&_0x3e76b3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3e76b3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1c3eb5['fromObject']=function(_0x169a56){if(_0x169a56 instanceof _0x596528['RootAttributeOperation'])return _0x169a56;var _0x4a83c2=new _0x596528['RootAttributeOperation']();return null!=_0x169a56['root']&&(_0x4a83c2['root']=String(_0x169a56['root'])),null!=_0x169a56['key']&&(_0x4a83c2['key']=String(_0x169a56['key'])),null!=_0x169a56['oldValueBoolean']&&(_0x4a83c2['oldValueBoolean']=Boolean(_0x169a56['oldValueBoolean'])),null!=_0x169a56['oldValueJson']&&(_0x4a83c2['oldValueJson']=String(_0x169a56['oldValueJson'])),null!=_0x169a56['newValueBoolean']&&(_0x4a83c2['newValueBoolean']=Boolean(_0x169a56['newValueBoolean'])),null!=_0x169a56['newValueJson']&&(_0x4a83c2['newValueJson']=String(_0x169a56['newValueJson'])),null!=_0x169a56['wasUndone']&&(_0x4a83c2['wasUndone']=Boolean(_0x169a56['wasUndone'])),_0x4a83c2;},_0x1c3eb5['toObject']=function(_0x337d9e,_0x21f779){_0x21f779||(_0x21f779={});var _0x4379e9={};return _0x21f779['defaults']&&(_0x4379e9['root']='',_0x4379e9['key']='',_0x4379e9['oldValueBoolean']=!0x1,_0x4379e9['oldValueJson']='',_0x4379e9['newValueBoolean']=!0x1,_0x4379e9['newValueJson']='',_0x4379e9['wasUndone']=!0x1),null!=_0x337d9e['root']&&_0x337d9e['hasOwnProperty']('root')&&(_0x4379e9['root']=_0x337d9e['root']),null!=_0x337d9e['key']&&_0x337d9e['hasOwnProperty']('key')&&(_0x4379e9['key']=_0x337d9e['key']),null!=_0x337d9e['oldValueBoolean']&&_0x337d9e['hasOwnProperty']('oldValueBoolean')&&(_0x4379e9['oldValueBoolean']=_0x337d9e['oldValueBoolean']),null!=_0x337d9e['oldValueJson']&&_0x337d9e['hasOwnProperty']('oldValueJson')&&(_0x4379e9['oldValueJson']=_0x337d9e['oldValueJson']),null!=_0x337d9e['newValueBoolean']&&_0x337d9e['hasOwnProperty']('newValueBoolean')&&(_0x4379e9['newValueBoolean']=_0x337d9e['newValueBoolean']),null!=_0x337d9e['newValueJson']&&_0x337d9e['hasOwnProperty']('newValueJson')&&(_0x4379e9['newValueJson']=_0x337d9e['newValueJson']),null!=_0x337d9e['wasUndone']&&_0x337d9e['hasOwnProperty']('wasUndone')&&(_0x4379e9['wasUndone']=_0x337d9e['wasUndone']),_0x4379e9;},_0x1c3eb5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe1103a['util']['toJSONOptions']);},_0x1c3eb5['getTypeUrl']=function(_0x53530e){return void 0x0===_0x53530e&&(_0x53530e='type.googleapis.com'),_0x53530e+'/RootAttributeOperation';},_0x1c3eb5;}()),_0x596528['RootOperation']=(function(){function _0x38b86f(_0xdaac0c){if(_0xdaac0c){for(var _0x42edbb=Object['keys'](_0xdaac0c),_0x5064f4=0x0;_0x5064f4<_0x42edbb['length'];++_0x5064f4)null!=_0xdaac0c[_0x42edbb[_0x5064f4]]&&(this[_0x42edbb[_0x5064f4]]=_0xdaac0c[_0x42edbb[_0x5064f4]]);}}return _0x38b86f['prototype']['rootName']='',_0x38b86f['prototype']['elementName']='',_0x38b86f['prototype']['isAdd']=!0x1,_0x38b86f['prototype']['wasUndone']=!0x1,_0x38b86f['create']=function(_0x266d73){return new _0x38b86f(_0x266d73);},_0x38b86f['encode']=function(_0x44b108,_0x3a09ca){return _0x3a09ca||(_0x3a09ca=_0x3e38b3['create']()),null!=_0x44b108['rootName']&&Object['hasOwnProperty']['call'](_0x44b108,'rootName')&&_0x3a09ca['uint32'](0xa)['string'](_0x44b108['rootName']),null!=_0x44b108['elementName']&&Object['hasOwnProperty']['call'](_0x44b108,'elementName')&&_0x3a09ca['uint32'](0x12)['string'](_0x44b108['elementName']),null!=_0x44b108['isAdd']&&Object['hasOwnProperty']['call'](_0x44b108,'isAdd')&&_0x3a09ca['uint32'](0x18)['bool'](_0x44b108['isAdd']),null!=_0x44b108['wasUndone']&&Object['hasOwnProperty']['call'](_0x44b108,'wasUndone')&&_0x3a09ca['uint32'](0x20)['bool'](_0x44b108['wasUndone']),_0x3a09ca;},_0x38b86f['encodeDelimited']=function(_0xa91533,_0x5cd36b){return this['encode'](_0xa91533,_0x5cd36b)['ldelim']();},_0x38b86f['decode']=function(_0x2998c3,_0x45cfef){_0x2998c3 instanceof _0x576ce5||(_0x2998c3=_0x576ce5['create'](_0x2998c3));for(var _0xdead=void 0x0===_0x45cfef?_0x2998c3['len']:_0x2998c3['pos']+_0x45cfef,_0x458d93=new _0x596528['RootOperation']();_0x2998c3['pos']<_0xdead;){var _0x31dede=_0x2998c3['uint32']();switch(_0x31dede>>>0x3){case 0x1:_0x458d93['rootName']=_0x2998c3['string']();break;case 0x2:_0x458d93['elementName']=_0x2998c3['string']();break;case 0x3:_0x458d93['isAdd']=_0x2998c3['bool']();break;case 0x4:_0x458d93['wasUndone']=_0x2998c3['bool']();break;default:_0x2998c3['skipType'](0x7&_0x31dede);}}return _0x458d93;},_0x38b86f['decodeDelimited']=function(_0x41567f){return _0x41567f instanceof _0x576ce5||(_0x41567f=new _0x576ce5(_0x41567f)),this['decode'](_0x41567f,_0x41567f['uint32']());},_0x38b86f['verify']=function(_0x18f9dc){return'object'!=typeof _0x18f9dc||null===_0x18f9dc?'object\x20expected':null!=_0x18f9dc['rootName']&&_0x18f9dc['hasOwnProperty']('rootName')&&!_0x954090['isString'](_0x18f9dc['rootName'])?'rootName:\x20string\x20expected':null!=_0x18f9dc['elementName']&&_0x18f9dc['hasOwnProperty']('elementName')&&!_0x954090['isString'](_0x18f9dc['elementName'])?'elementName:\x20string\x20expected':null!=_0x18f9dc['isAdd']&&_0x18f9dc['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x18f9dc['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x18f9dc['wasUndone']&&_0x18f9dc['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x18f9dc['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x38b86f['fromObject']=function(_0x32a710){if(_0x32a710 instanceof _0x596528['RootOperation'])return _0x32a710;var _0xcd6888=new _0x596528['RootOperation']();return null!=_0x32a710['rootName']&&(_0xcd6888['rootName']=String(_0x32a710['rootName'])),null!=_0x32a710['elementName']&&(_0xcd6888['elementName']=String(_0x32a710['elementName'])),null!=_0x32a710['isAdd']&&(_0xcd6888['isAdd']=Boolean(_0x32a710['isAdd'])),null!=_0x32a710['wasUndone']&&(_0xcd6888['wasUndone']=Boolean(_0x32a710['wasUndone'])),_0xcd6888;},_0x38b86f['toObject']=function(_0x2170e9,_0x543d24){_0x543d24||(_0x543d24={});var _0x2bd2cf={};return _0x543d24['defaults']&&(_0x2bd2cf['rootName']='',_0x2bd2cf['elementName']='',_0x2bd2cf['isAdd']=!0x1,_0x2bd2cf['wasUndone']=!0x1),null!=_0x2170e9['rootName']&&_0x2170e9['hasOwnProperty']('rootName')&&(_0x2bd2cf['rootName']=_0x2170e9['rootName']),null!=_0x2170e9['elementName']&&_0x2170e9['hasOwnProperty']('elementName')&&(_0x2bd2cf['elementName']=_0x2170e9['elementName']),null!=_0x2170e9['isAdd']&&_0x2170e9['hasOwnProperty']('isAdd')&&(_0x2bd2cf['isAdd']=_0x2170e9['isAdd']),null!=_0x2170e9['wasUndone']&&_0x2170e9['hasOwnProperty']('wasUndone')&&(_0x2bd2cf['wasUndone']=_0x2170e9['wasUndone']),_0x2bd2cf;},_0x38b86f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0xe1103a['util']['toJSONOptions']);},_0x38b86f['getTypeUrl']=function(_0x4fa00e){return void 0x0===_0x4fa00e&&(_0x4fa00e='type.googleapis.com'),_0x4fa00e+'/RootOperation';},_0x38b86f;}()),_0x596528['SplitOperation']=(function(){function _0x2a9dad(_0x4103fc){if(_0x4103fc){for(var _0x2fb20a=Object['keys'](_0x4103fc),_0x506329=0x0;_0x506329<_0x2fb20a['length'];++_0x506329)null!=_0x4103fc[_0x2fb20a[_0x506329]]&&(this[_0x2fb20a[_0x506329]]=_0x4103fc[_0x2fb20a[_0x506329]]);}}return _0x2a9dad['prototype']['splitPosition']=null,_0x2a9dad['prototype']['graveyardPosition']=null,_0x2a9dad['prototype']['howMany']=0x0,_0x2a9dad['prototype']['insertionPosition']=null,_0x2a9dad['prototype']['wasUndone']=!0x1,_0x2a9dad['create']=function(_0x56f1fd){return new _0x2a9dad(_0x56f1fd);},_0x2a9dad['encode']=function(_0x5937a7,_0x1009b1){return _0x1009b1||(_0x1009b1=_0x3e38b3['create']()),null!=_0x5937a7['splitPosition']&&Object['hasOwnProperty']['call'](_0x5937a7,'splitPosition')&&_0x596528['Position']['encode'](_0x5937a7['splitPosition'],_0x1009b1['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5937a7['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x5937a7,'graveyardPosition')&&_0x596528['Position']['encode'](_0x5937a7['graveyardPosition'],_0x1009b1['uint32'](0x12)['fork']())['ldelim'](),null!=_0x5937a7['howMany']&&Object['hasOwnProperty']['call'](_0x5937a7,'howMany')&&_0x1009b1['uint32'](0x18)['uint32'](_0x5937a7['howMany']),null!=_0x5937a7['insertionPosition']&&Object['hasOwnProperty']['call'](_0x5937a7,'insertionPosition')&&_0x596528['Position']['encode'](_0x5937a7['insertionPosition'],_0x1009b1['uint32'](0x22)['fork']())['ldelim'](),null!=_0x5937a7['wasUndone']&&Object['hasOwnProperty']['call'](_0x5937a7,'wasUndone')&&_0x1009b1['uint32'](0x28)['bool'](_0x5937a7['wasUndone']),_0x1009b1;},_0x2a9dad['encodeDelimited']=function(_0x3ca689,_0x5cc9c2){return this['encode'](_0x3ca689,_0x5cc9c2)['ldelim']();},_0x2a9dad['decode']=function(_0x10a345,_0x51c22d){_0x10a345 instanceof _0x576ce5||(_0x10a345=_0x576ce5['create'](_0x10a345));for(var _0x46eecb=void 0x0===_0x51c22d?_0x10a345['len']:_0x10a345['pos']+_0x51c22d,_0x135b8e=new _0x596528['SplitOperation']();_0x10a345['pos']<_0x46eecb;){var _0x1b0b71=_0x10a345['uint32']();switch(_0x1b0b71>>>0x3){case 0x1:_0x135b8e['splitPosition']=_0x596528['Position']['decode'](_0x10a345,_0x10a345['uint32']());break;case 0x2:_0x135b8e['graveyardPosition']=_0x596528['Position']['decode'](_0x10a345,_0x10a345['uint32']());break;case 0x3:_0x135b8e['howMany']=_0x10a345['uint32']();break;case 0x4:_0x135b8e['insertionPosition']=_0x596528['Position']['decode'](_0x10a345,_0x10a345['uint32']());break;case 0x5:_0x135b8e['wasUndone']=_0x10a345['bool']();break;default:_0x10a345['skipType'](0x7&_0x1b0b71);}}return _0x135b8e;},_0x2a9dad['decodeDelimited']=function(_0x1af54a){return _0x1af54a instanceof _0x576ce5||(_0x1af54a=new _0x576ce5(_0x1af54a)),this['decode'](_0x1af54a,_0x1af54a['uint32']());},_0x2a9dad['verify']=function(_0x5838e3){if('object'!=typeof _0x5838e3||null===_0x5838e3)return'object\x20expected';var _0x3f78fa;if(null!=_0x5838e3['splitPosition']&&_0x5838e3['hasOwnProperty']('splitPosition')&&(_0x3f78fa=_0x596528['Position']['verify'](_0x5838e3['splitPosition'])))return'splitPosition.'+_0x3f78fa;if(null!=_0x5838e3['graveyardPosition']&&_0x5838e3['hasOwnProperty']('graveyardPosition')&&(_0x3f78fa=_0x596528['Position']['verify'](_0x5838