@ckeditor/ckeditor5-operations-compressor 29.0.0 → 31.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-operations-compressor",
3
- "version": "29.0.0",
3
+ "version": "31.0.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/",
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "author": "CKSource (http://cksource.com/)",
29
29
  "dependencies": {
30
- "ckeditor5": "^29.0.0",
30
+ "ckeditor5": "^31.0.0",
31
31
  "lodash-es": "^4.17.11",
32
32
  "protobufjs": "^6.8.8"
33
33
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1afe=['shift','types','_compressSingleOperation','_combineNext','_compareOperations','_decompressSingleOperation','_context','compress','buffers','push','decompress','_splitCurrent'];(function(_0x1094b0,_0x1afe91){const _0x347784=function(_0x2f0201){while(--_0x2f0201){_0x1094b0['push'](_0x1094b0['shift']());}};_0x347784(++_0x1afe91);}(_0x1afe,0xa9));const _0x3477=function(_0x1094b0,_0x1afe91){_0x1094b0=_0x1094b0-0x0;let _0x347784=_0x1afe[_0x1094b0];return _0x347784;};import{cloneDeep as _0x38628e}from'lodash-es';export default class j{constructor(_0x3dd77f,_0x194c7b){this['id']=_0x3dd77f,this[_0x3477('0x5')]=_0x194c7b;}[_0x3477('0x6')](_0x70e2fa,_0x1a066a){let _0x5b2096;for(;_0x1a066a['length']>0x1&&this[_0x3477('0x3')](_0x1a066a[0x0],_0x1a066a[0x1]);)_0x5b2096?(_0x5b2096=this[_0x3477('0x2')](_0x1a066a[_0x3477('0xb')](),_0x5b2096),_0x70e2fa[_0x3477('0x0')][_0x3477('0x8')](0x0)):(_0x5b2096=_0x38628e(_0x1a066a[_0x3477('0xb')]()),_0x70e2fa[_0x3477('0x0')][_0x3477('0x8')](this['id']));return!!_0x5b2096&&(_0x5b2096=this[_0x3477('0x2')](_0x1a066a[_0x3477('0xb')](),_0x5b2096),_0x70e2fa[_0x3477('0x0')][_0x3477('0x8')](0x0),_0x70e2fa[_0x3477('0x7')][_0x3477('0x8')](this[_0x3477('0x1')](_0x5b2096)),!0x0);}[_0x3477('0x9')](_0x465a7f,_0x409769){const _0x5a88af=this[_0x3477('0x4')](_0x409769);for(;0x0==_0x409769['types'][0x0];)_0x409769[_0x3477('0x0')]['shift'](),_0x465a7f[_0x3477('0x8')](this[_0x3477('0xa')](_0x5a88af));_0x465a7f[_0x3477('0x8')](_0x5a88af);}}
23
+ const _0x4abc=['_compareOperations','_combineNext','_context','decompress','buffers','compress','_splitCurrent','push','length','shift','types'];(function(_0x51f52c,_0x4abc1b){const _0x244112=function(_0x1bee1b){while(--_0x1bee1b){_0x51f52c['push'](_0x51f52c['shift']());}};_0x244112(++_0x4abc1b);}(_0x4abc,0x1bc));const _0x2441=function(_0x51f52c,_0x4abc1b){_0x51f52c=_0x51f52c-0x0;let _0x244112=_0x4abc[_0x51f52c];return _0x244112;};import{cloneDeep as _0xa2475e}from'lodash-es';export default class j{constructor(_0x38a760,_0x336179){this['id']=_0x38a760,this[_0x2441('0x9')]=_0x336179;}[_0x2441('0x1')](_0xc55ec3,_0x42f005){let _0x47b1a0;for(;_0x42f005[_0x2441('0x4')]>0x1&&this[_0x2441('0x7')](_0x42f005[0x0],_0x42f005[0x1]);)_0x47b1a0?(_0x47b1a0=this[_0x2441('0x8')](_0x42f005[_0x2441('0x5')](),_0x47b1a0),_0xc55ec3[_0x2441('0x6')][_0x2441('0x3')](0x0)):(_0x47b1a0=_0xa2475e(_0x42f005[_0x2441('0x5')]()),_0xc55ec3[_0x2441('0x6')][_0x2441('0x3')](this['id']));return!!_0x47b1a0&&(_0x47b1a0=this[_0x2441('0x8')](_0x42f005['shift'](),_0x47b1a0),_0xc55ec3['types'][_0x2441('0x3')](0x0),_0xc55ec3[_0x2441('0x0')]['push'](this['_compressSingleOperation'](_0x47b1a0)),!0x0);}[_0x2441('0xa')](_0x2f4bd5,_0x98a8df){const _0x6b7f59=this['_decompressSingleOperation'](_0x98a8df);for(;0x0==_0x98a8df[_0x2441('0x6')][0x0];)_0x98a8df[_0x2441('0x6')][_0x2441('0x5')](),_0x2f4bd5[_0x2441('0x3')](this[_0x2441('0x2')](_0x6b7f59));_0x2f4bd5[_0x2441('0x3')](_0x6b7f59);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d42=['targetPosition','compress','decompress','_decompressSingleOperation','_compareOperations','__className','buffers','$graveyard','_getCompressorByName','howMany','wasUndone','_context','MoveOperation','sourcePosition','_combineNext'];(function(_0x49211b,_0x5d4269){const _0x893c0a=function(_0x19eaa1){while(--_0x19eaa1){_0x49211b['push'](_0x49211b['shift']());}};_0x893c0a(++_0x5d4269);}(_0x5d42,0x197));const _0x893c=function(_0x49211b,_0x5d4269){_0x49211b=_0x49211b-0x0;let _0x893c0a=_0x5d42[_0x49211b];return _0x893c0a;};import _0x21541f from'./actioncompressor';import{arePositionsEqual as _0x208a84,getPositionShiftedBy as _0x434907}from'../utils';import{cloneDeep as _0x2de7bc}from'lodash-es';export default class u extends _0x21541f{[_0x893c('0xc')](_0x17a9ec,_0x157b8a){return _0x157b8a[_0x893c('0x7')]++,_0x157b8a['sourcePosition']=_0x2de7bc(_0x17a9ec[_0x893c('0xb')]),_0x157b8a;}['_splitCurrent'](_0x472d7e){const _0x3f5d59=_0x2de7bc(_0x472d7e);return _0x472d7e['howMany']--,_0x3f5d59['howMany']=0x1,_0x3f5d59[_0x893c('0xb')]=_0x434907(_0x3f5d59[_0x893c('0xb')],_0x472d7e[_0x893c('0x7')]),_0x3f5d59;}[_0x893c('0x2')](_0xd9a05d,_0x3a2546){return!(!S(_0xd9a05d)||!S(_0x3a2546))&&(_0x208a84(_0x434907(_0xd9a05d[_0x893c('0xb')],-0x1),_0x3a2546[_0x893c('0xb')])&&_0x208a84(_0xd9a05d[_0x893c('0xd')],_0x3a2546[_0x893c('0xd')]));}['_compressSingleOperation'](_0x7aed21){const _0x32a8a6={'types':[],'buffers':[],'baseVersion':0x0};return this['_context'][_0x893c('0x6')](_0x893c('0xa'))[_0x893c('0xe')](_0x32a8a6,[_0x7aed21]),_0x32a8a6[_0x893c('0x4')][0x0];}[_0x893c('0x1')](_0x51a549){const _0x4a46cb=[];return this[_0x893c('0x9')][_0x893c('0x6')](_0x893c('0xa'))[_0x893c('0x0')](_0x4a46cb,_0x51a549),_0x4a46cb[0x0];}}function S(_0x3e910a){return _0x893c('0xa')==_0x3e910a[_0x893c('0x3')]&&_0x893c('0x5')==_0x3e910a[_0x893c('0xd')]['root']&&0x1==_0x3e910a['howMany']&&!_0x3e910a[_0x893c('0x8')];}
23
+ const _0x3a52=['_combineNext','$graveyard','_context','decompress','wasUndone','buffers','__className','_getCompressorByName','root','targetPosition','_compareOperations','compress','_compressSingleOperation','sourcePosition','_decompressSingleOperation','MoveOperation','howMany','_splitCurrent'];(function(_0x312182,_0x3a52a5){const _0x5590b6=function(_0x11de41){while(--_0x11de41){_0x312182['push'](_0x312182['shift']());}};_0x5590b6(++_0x3a52a5);}(_0x3a52,0x132));const _0x5590=function(_0x312182,_0x3a52a5){_0x312182=_0x312182-0x0;let _0x5590b6=_0x3a52[_0x312182];return _0x5590b6;};import _0x1305f9 from'./actioncompressor';import{arePositionsEqual as _0x5962fc,getPositionShiftedBy as _0x1ac9e1}from'../utils';import{cloneDeep as _0x42937d}from'lodash-es';export default class u extends _0x1305f9{[_0x5590('0x0')](_0x5d25c6,_0x290206){return _0x290206['howMany']++,_0x290206[_0x5590('0xd')]=_0x42937d(_0x5d25c6[_0x5590('0xd')]),_0x290206;}[_0x5590('0x11')](_0x54cd6e){const _0x26f5d5=_0x42937d(_0x54cd6e);return _0x54cd6e['howMany']--,_0x26f5d5[_0x5590('0x10')]=0x1,_0x26f5d5[_0x5590('0xd')]=_0x1ac9e1(_0x26f5d5[_0x5590('0xd')],_0x54cd6e['howMany']),_0x26f5d5;}[_0x5590('0xa')](_0x5de8be,_0x269c63){return!(!S(_0x5de8be)||!S(_0x269c63))&&(_0x5962fc(_0x1ac9e1(_0x5de8be[_0x5590('0xd')],-0x1),_0x269c63[_0x5590('0xd')])&&_0x5962fc(_0x5de8be[_0x5590('0x9')],_0x269c63[_0x5590('0x9')]));}[_0x5590('0xc')](_0x372d74){const _0x4e6569={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5590('0x2')][_0x5590('0x7')]('MoveOperation')[_0x5590('0xb')](_0x4e6569,[_0x372d74]),_0x4e6569[_0x5590('0x5')][0x0];}[_0x5590('0xe')](_0x18f7d3){const _0x37886b=[];return this[_0x5590('0x2')][_0x5590('0x7')](_0x5590('0xf'))[_0x5590('0x3')](_0x37886b,_0x18f7d3),_0x37886b[0x0];}}function S(_0x3d84b0){return _0x5590('0xf')==_0x3d84b0[_0x5590('0x6')]&&_0x5590('0x1')==_0x3d84b0['targetPosition'][_0x5590('0x8')]&&0x1==_0x3d84b0[_0x5590('0x10')]&&!_0x3d84b0[_0x5590('0x4')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bfc=['MoveOperation','$graveyard','_combineNext','targetPosition','howMany','_splitCurrent','_getCompressorByName','wasUndone','sourcePosition','_decompressSingleOperation'];(function(_0x4a43d5,_0x2bfcd2){const _0x21bac2=function(_0x203774){while(--_0x203774){_0x4a43d5['push'](_0x4a43d5['shift']());}};_0x21bac2(++_0x2bfcd2);}(_0x2bfc,0x19c));const _0x21ba=function(_0x4a43d5,_0x2bfcd2){_0x4a43d5=_0x4a43d5-0x0;let _0x21bac2=_0x2bfc[_0x4a43d5];return _0x21bac2;};import _0x125385 from'./actioncompressor';import{arePositionsEqual as _0x25e37e}from'../utils';import{cloneDeep as _0x4fadf3}from'lodash-es';export default class l extends _0x125385{[_0x21ba('0x0')](_0x3751cb,_0x45c827){return _0x45c827[_0x21ba('0x2')]++,_0x45c827;}[_0x21ba('0x3')](_0x3b8e48){const _0x4f53f7=_0x4fadf3(_0x3b8e48);return _0x4f53f7[_0x21ba('0x2')]=0x1,_0x3b8e48[_0x21ba('0x2')]--,_0x4f53f7;}['_compareOperations'](_0x566d2a,_0x1e90f6){return!(!S(_0x566d2a)||!S(_0x1e90f6))&&(_0x25e37e(_0x566d2a['sourcePosition'],_0x1e90f6[_0x21ba('0x6')])&&_0x25e37e(_0x566d2a['targetPosition'],_0x1e90f6[_0x21ba('0x1')]));}['_compressSingleOperation'](_0x1cfb09){const _0x3148e8={'types':[],'buffers':[],'baseVersion':0x0};return this['_context'][_0x21ba('0x4')](_0x21ba('0x8'))['compress'](_0x3148e8,[_0x1cfb09]),_0x3148e8['buffers'][0x0];}[_0x21ba('0x7')](_0x35f350){const _0x568a63=[];return this['_context']['_getCompressorByName'](_0x21ba('0x8'))['decompress'](_0x568a63,_0x35f350),_0x568a63[0x0];}}function S(_0x169c83){return _0x21ba('0x8')==_0x169c83['__className']&&_0x21ba('0x9')==_0x169c83[_0x21ba('0x1')]['root']&&0x1==_0x169c83[_0x21ba('0x2')]&&!_0x169c83[_0x21ba('0x5')];}
23
+ const _0x1ec6=['_context','buffers','_decompressSingleOperation','root','MoveOperation','howMany','$graveyard','_compareOperations','wasUndone','_getCompressorByName','targetPosition','_compressSingleOperation','_splitCurrent','sourcePosition','_combineNext'];(function(_0x8e3371,_0x1ec60f){const _0x1c4b5b=function(_0x251d4a){while(--_0x251d4a){_0x8e3371['push'](_0x8e3371['shift']());}};_0x1c4b5b(++_0x1ec60f);}(_0x1ec6,0x89));const _0x1c4b=function(_0x8e3371,_0x1ec60f){_0x8e3371=_0x8e3371-0x0;let _0x1c4b5b=_0x1ec6[_0x8e3371];return _0x1c4b5b;};import _0x1a8253 from'./actioncompressor';import{arePositionsEqual as _0x521b94}from'../utils';import{cloneDeep as _0x4ca38}from'lodash-es';export default class l extends _0x1a8253{[_0x1c4b('0xc')](_0x330857,_0x54469c){return _0x54469c['howMany']++,_0x54469c;}[_0x1c4b('0xa')](_0x5854a9){const _0x16e334=_0x4ca38(_0x5854a9);return _0x16e334['howMany']=0x1,_0x5854a9[_0x1c4b('0x3')]--,_0x16e334;}[_0x1c4b('0x5')](_0xad07f9,_0x833506){return!(!S(_0xad07f9)||!S(_0x833506))&&(_0x521b94(_0xad07f9[_0x1c4b('0xb')],_0x833506[_0x1c4b('0xb')])&&_0x521b94(_0xad07f9[_0x1c4b('0x8')],_0x833506['targetPosition']));}[_0x1c4b('0x9')](_0x3d3e49){const _0x281ed2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1c4b('0xd')][_0x1c4b('0x7')]('MoveOperation')['compress'](_0x281ed2,[_0x3d3e49]),_0x281ed2[_0x1c4b('0xe')][0x0];}[_0x1c4b('0x0')](_0x673349){const _0x1576de=[];return this[_0x1c4b('0xd')][_0x1c4b('0x7')](_0x1c4b('0x2'))['decompress'](_0x1576de,_0x673349),_0x1576de[0x0];}}function S(_0x52eaf4){return _0x1c4b('0x2')==_0x52eaf4['__className']&&_0x1c4b('0x4')==_0x52eaf4[_0x1c4b('0x8')][_0x1c4b('0x1')]&&0x1==_0x52eaf4[_0x1c4b('0x3')]&&!_0x52eaf4[_0x1c4b('0x6')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1506=['attributes','nodes','buffers','_decompressSingleOperation','_context','keys','_getCompressorByName','substr','position','decompress','data','_combineNext','_compareOperations','_compressSingleOperation','from','every','wasUndone','compress','length','InsertOperation'];(function(_0x5aecc3,_0x150675){const _0x100347=function(_0x539720){while(--_0x539720){_0x5aecc3['push'](_0x5aecc3['shift']());}};_0x100347(++_0x150675);}(_0x1506,0x1e2));const _0x1003=function(_0x5aecc3,_0x150675){_0x5aecc3=_0x5aecc3-0x0;let _0x100347=_0x1506[_0x5aecc3];return _0x100347;};import _0x35d47d from'./actioncompressor';import{arePositionsEqual as _0x526458,getPositionShiftedBy as _0x57b516}from'../utils';import{cloneDeep as _0xb2e2a8}from'lodash-es';export default class g extends _0x35d47d{[_0x1003('0x9')](_0x229d7c,_0x2ed6a7){return _0x2ed6a7[_0x1003('0x13')][0x0]['data']+=_0x229d7c[_0x1003('0x13')][0x0][_0x1003('0x8')],_0x2ed6a7;}['_splitCurrent'](_0x5aa98d){const _0x31c1c1=_0xb2e2a8(_0x5aa98d),_0x724dcc=_0x31c1c1[_0x1003('0x13')][0x0],_0xd71a60=_0x5aa98d[_0x1003('0x13')][0x0],_0x5de97a=Array[_0x1003('0xc')](_0xd71a60[_0x1003('0x8')])[0x0],_0x2fb8af=_0x5de97a[_0x1003('0x10')];return _0x724dcc[_0x1003('0x8')]=_0x5de97a,_0xd71a60[_0x1003('0x8')]=_0xd71a60[_0x1003('0x8')][_0x1003('0x5')](_0x2fb8af),_0x5aa98d['position']=_0x57b516(_0x5aa98d[_0x1003('0x6')],_0x2fb8af),_0x31c1c1;}[_0x1003('0xa')](_0xb17a5b,_0x3c01a7){if(S(_0xb17a5b)&&S(_0x3c01a7)){const _0x2c567c=_0xb17a5b[_0x1003('0x13')][0x0]['data'][_0x1003('0x10')],_0x1f367d=_0x526458(_0x57b516(_0xb17a5b[_0x1003('0x6')],_0x2c567c),_0x3c01a7['position']),_0xfa839e=_0xb17a5b[_0x1003('0x13')][0x0],_0x2da5a1=_0x3c01a7[_0x1003('0x13')][0x0];return _0x1f367d&&function(_0x32035d,_0x98390e){const _0x144377=Object[_0x1003('0x3')](_0x32035d['attributes']||{}),_0xab7109=Object[_0x1003('0x3')](_0x98390e[_0x1003('0x12')]||{});if(_0x144377[_0x1003('0x10')]!==_0xab7109[_0x1003('0x10')])return!0x1;return _0x144377[_0x1003('0xd')](_0x5716cf=>_0x98390e[_0x1003('0x12')][_0x5716cf]&&_0x98390e['attributes'][_0x5716cf]===_0x32035d[_0x1003('0x12')][_0x5716cf]);}(_0xfa839e,_0x2da5a1);}return!0x1;}[_0x1003('0xb')](_0x5b2a0d){const _0x335681={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1003('0x2')][_0x1003('0x4')](_0x1003('0x11'))[_0x1003('0xf')](_0x335681,[_0x5b2a0d]),_0x335681[_0x1003('0x0')][0x0];}[_0x1003('0x1')](_0x3f00f8){const _0x37856a=[];return this[_0x1003('0x2')][_0x1003('0x4')](_0x1003('0x11'))[_0x1003('0x7')](_0x37856a,_0x3f00f8),_0x37856a[0x0];}}function S(_0x218abd){return'InsertOperation'==_0x218abd['__className']&&0x1==_0x218abd[_0x1003('0x13')][_0x1003('0x10')]&&_0x218abd['nodes'][0x0]['data']&&!_0x218abd[_0x1003('0xe')]&&0x1==Array[_0x1003('0xc')](_0x218abd[_0x1003('0x13')][0x0][_0x1003('0x8')])[_0x1003('0x10')];}
23
+ const _0x4a12=['data','nodes','position','length','_splitCurrent','attributes','InsertOperation','wasUndone','_getCompressorByName','keys','_compareOperations','_combineNext','_context','substr','compress','from'];(function(_0x639a85,_0x4a125a){const _0x51eacf=function(_0x16b7aa){while(--_0x16b7aa){_0x639a85['push'](_0x639a85['shift']());}};_0x51eacf(++_0x4a125a);}(_0x4a12,0x7e));const _0x51ea=function(_0x639a85,_0x4a125a){_0x639a85=_0x639a85-0x0;let _0x51eacf=_0x4a12[_0x639a85];return _0x51eacf;};import _0x530462 from'./actioncompressor';import{arePositionsEqual as _0x93949,getPositionShiftedBy as _0x5021dd}from'../utils';import{cloneDeep as _0x2b6b14}from'lodash-es';export default class g extends _0x530462{[_0x51ea('0xd')](_0x5b2a5a,_0x3b4b8d){return _0x3b4b8d[_0x51ea('0x3')][0x0][_0x51ea('0x2')]+=_0x5b2a5a[_0x51ea('0x3')][0x0][_0x51ea('0x2')],_0x3b4b8d;}[_0x51ea('0x6')](_0x5371a7){const _0x1e7332=_0x2b6b14(_0x5371a7),_0x134499=_0x1e7332[_0x51ea('0x3')][0x0],_0x272257=_0x5371a7[_0x51ea('0x3')][0x0],_0x770f85=Array[_0x51ea('0x1')](_0x272257[_0x51ea('0x2')])[0x0],_0x124528=_0x770f85[_0x51ea('0x5')];return _0x134499[_0x51ea('0x2')]=_0x770f85,_0x272257['data']=_0x272257['data'][_0x51ea('0xf')](_0x124528),_0x5371a7[_0x51ea('0x4')]=_0x5021dd(_0x5371a7[_0x51ea('0x4')],_0x124528),_0x1e7332;}[_0x51ea('0xc')](_0x5de4da,_0x126d06){if(S(_0x5de4da)&&S(_0x126d06)){const _0x3a94d1=_0x5de4da[_0x51ea('0x3')][0x0][_0x51ea('0x2')]['length'],_0x46278c=_0x93949(_0x5021dd(_0x5de4da[_0x51ea('0x4')],_0x3a94d1),_0x126d06[_0x51ea('0x4')]),_0x55009c=_0x5de4da[_0x51ea('0x3')][0x0],_0x5a9c79=_0x126d06[_0x51ea('0x3')][0x0];return _0x46278c&&function(_0x14e6cd,_0x1b1180){const _0x33ed33=Object[_0x51ea('0xb')](_0x14e6cd['attributes']||{}),_0x4c73b5=Object[_0x51ea('0xb')](_0x1b1180[_0x51ea('0x7')]||{});if(_0x33ed33['length']!==_0x4c73b5[_0x51ea('0x5')])return!0x1;return _0x33ed33['every'](_0x2fed85=>_0x1b1180['attributes'][_0x2fed85]&&_0x1b1180[_0x51ea('0x7')][_0x2fed85]===_0x14e6cd[_0x51ea('0x7')][_0x2fed85]);}(_0x55009c,_0x5a9c79);}return!0x1;}['_compressSingleOperation'](_0x580a15){const _0x22534d={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x51ea('0xe')][_0x51ea('0xa')](_0x51ea('0x8'))[_0x51ea('0x0')](_0x22534d,[_0x580a15]),_0x22534d['buffers'][0x0];}['_decompressSingleOperation'](_0x1e34ba){const _0x1c5403=[];return this[_0x51ea('0xe')][_0x51ea('0xa')](_0x51ea('0x8'))['decompress'](_0x1c5403,_0x1e34ba),_0x1c5403[0x0];}}function S(_0x1b3949){return _0x51ea('0x8')==_0x1b3949['__className']&&0x1==_0x1b3949[_0x51ea('0x3')][_0x51ea('0x5')]&&_0x1b3949['nodes'][0x0]['data']&&!_0x1b3949[_0x51ea('0x9')]&&0x1==Array[_0x51ea('0x1')](_0x1b3949[_0x51ea('0x3')][0x0]['data'])[_0x51ea('0x5')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b93=['newRange','toNone','start','user:position:','_compressSingleOperation','user:','buffers','name','push','_decompressSingleOperation','stickiness','compress','split','startsWith','_getCompressorByName','MarkerOperation','end','types','shift','__className','decompress'];(function(_0x502f8b,_0x4b93a5){const _0x13190f=function(_0x1995e0){while(--_0x1995e0){_0x502f8b['push'](_0x502f8b['shift']());}};_0x13190f(++_0x4b93a5);}(_0x4b93,0x1b5));const _0x1319=function(_0x502f8b,_0x4b93a5){_0x502f8b=_0x502f8b-0x0;let _0x13190f=_0x4b93[_0x502f8b];return _0x13190f;};import _0x473e34 from'./actioncompressor';import{arePositionsEqual as _0x932eaf}from'../utils';import{cloneDeep as _0x1f0014}from'lodash-es';export default class M extends _0x473e34{[_0x1319('0xf')](_0x25788e,_0x586f22){if(!function(_0x536d84,_0x24ddf3){if(!_0x536d84||!_0x24ddf3)return!0x1;if('MarkerOperation'!=_0x536d84[_0x1319('0x2')]||_0x1319('0x13')!=_0x24ddf3[_0x1319('0x2')])return!0x1;if(_0x536d84[_0x1319('0xb')][_0x1319('0x11')](_0x1319('0x9'))&&_0x24ddf3[_0x1319('0xb')][_0x1319('0x11')](_0x1319('0x9'))&&_0x536d84[_0x1319('0xb')]!=_0x24ddf3[_0x1319('0xb')])return!0x0;return!0x1;}(_0x586f22[0x0],_0x586f22[0x1]))return!0x1;const _0x42af6b=_0x586f22[_0x1319('0x1')]();return _0x42af6b['oldRange']=null,_0x42af6b[_0x1319('0x4')]&&_0x932eaf(_0x42af6b['newRange'][_0x1319('0x6')],_0x42af6b[_0x1319('0x4')][_0x1319('0x14')])&&(_0x42af6b['newRange']['end']=null),_0x586f22[_0x1319('0x1')](),_0x25788e['types'][_0x1319('0xc')](this['id']),_0x25788e[_0x1319('0x0')][_0x1319('0xc')](0x0),_0x25788e[_0x1319('0xa')][_0x1319('0xc')](this['_compressSingleOperation'](_0x42af6b)),!0x0;}[_0x1319('0x3')](_0x2424bb,_0x43e42c){const _0x451f55=this[_0x1319('0xd')](_0x43e42c);_0x451f55[_0x1319('0x4')]&&!_0x451f55[_0x1319('0x4')]['end']&&(_0x451f55['newRange']['end']=_0x1f0014(_0x451f55[_0x1319('0x4')]['start']));const _0x2f804a=_0x1f0014(_0x451f55);_0x2f804a[_0x1319('0x4')]&&(_0x2f804a[_0x1319('0x4')][_0x1319('0x6')][_0x1319('0xe')]=_0x1319('0x5'),_0x2f804a['newRange']['end']=_0x1f0014(_0x2f804a['newRange'][_0x1319('0x6')])),_0x2f804a['name']=_0x1319('0x7')+_0x2f804a[_0x1319('0xb')][_0x1319('0x10')](':')[0x2],_0x43e42c[_0x1319('0x0')][_0x1319('0x1')](),_0x2424bb[_0x1319('0xc')](_0x451f55),_0x2424bb[_0x1319('0xc')](_0x2f804a);}[_0x1319('0x8')](_0x5df21f){const _0x502893={'types':[],'buffers':[],'baseVersion':0x0};return this['_context'][_0x1319('0x12')](_0x1319('0x13'))[_0x1319('0xf')](_0x502893,[_0x5df21f]),_0x502893['buffers'][0x0];}[_0x1319('0xd')](_0x334b71){const _0x5206c=[];return this['_context'][_0x1319('0x12')](_0x1319('0x13'))[_0x1319('0x3')](_0x5206c,_0x334b71),_0x5206c[0x0];}}
23
+ const _0x4e6d=['_getCompressorByName','startsWith','_context','newRange','user:','__className','shift','user:position:','_compressSingleOperation','start','end','split','types','push','MarkerOperation','stickiness','compress','name','_decompressSingleOperation','buffers','toNone','decompress'];(function(_0x27f219,_0x4e6d2f){const _0x461580=function(_0x2b7ebc){while(--_0x2b7ebc){_0x27f219['push'](_0x27f219['shift']());}};_0x461580(++_0x4e6d2f);}(_0x4e6d,0x10b));const _0x4615=function(_0x27f219,_0x4e6d2f){_0x27f219=_0x27f219-0x0;let _0x461580=_0x4e6d[_0x27f219];return _0x461580;};import _0x471f7f from'./actioncompressor';import{arePositionsEqual as _0x4d58d5}from'../utils';import{cloneDeep as _0x1d3880}from'lodash-es';export default class M extends _0x471f7f{[_0x4615('0xd')](_0x676de5,_0x43acb5){if(!function(_0x3ded20,_0x1702c6){if(!_0x3ded20||!_0x1702c6)return!0x1;if(_0x4615('0xb')!=_0x3ded20[_0x4615('0x2')]||_0x4615('0xb')!=_0x1702c6[_0x4615('0x2')])return!0x1;if(_0x3ded20[_0x4615('0xe')][_0x4615('0x14')](_0x4615('0x1'))&&_0x1702c6[_0x4615('0xe')][_0x4615('0x14')](_0x4615('0x1'))&&_0x3ded20[_0x4615('0xe')]!=_0x1702c6[_0x4615('0xe')])return!0x0;return!0x1;}(_0x43acb5[0x0],_0x43acb5[0x1]))return!0x1;const _0x2f50f1=_0x43acb5[_0x4615('0x3')]();return _0x2f50f1['oldRange']=null,_0x2f50f1[_0x4615('0x0')]&&_0x4d58d5(_0x2f50f1[_0x4615('0x0')][_0x4615('0x6')],_0x2f50f1[_0x4615('0x0')]['end'])&&(_0x2f50f1['newRange']['end']=null),_0x43acb5[_0x4615('0x3')](),_0x676de5['types'][_0x4615('0xa')](this['id']),_0x676de5[_0x4615('0x9')][_0x4615('0xa')](0x0),_0x676de5['buffers']['push'](this[_0x4615('0x5')](_0x2f50f1)),!0x0;}['decompress'](_0x245376,_0x5a61ad){const _0x3124e7=this[_0x4615('0xf')](_0x5a61ad);_0x3124e7['newRange']&&!_0x3124e7[_0x4615('0x0')]['end']&&(_0x3124e7[_0x4615('0x0')][_0x4615('0x7')]=_0x1d3880(_0x3124e7['newRange']['start']));const _0x2ec9eb=_0x1d3880(_0x3124e7);_0x2ec9eb['newRange']&&(_0x2ec9eb['newRange'][_0x4615('0x6')][_0x4615('0xc')]=_0x4615('0x11'),_0x2ec9eb[_0x4615('0x0')][_0x4615('0x7')]=_0x1d3880(_0x2ec9eb[_0x4615('0x0')]['start'])),_0x2ec9eb[_0x4615('0xe')]=_0x4615('0x4')+_0x2ec9eb[_0x4615('0xe')][_0x4615('0x8')](':')[0x2],_0x5a61ad['types']['shift'](),_0x245376[_0x4615('0xa')](_0x3124e7),_0x245376['push'](_0x2ec9eb);}['_compressSingleOperation'](_0x24537f){const _0x337424={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4615('0x15')][_0x4615('0x13')](_0x4615('0xb'))['compress'](_0x337424,[_0x24537f]),_0x337424[_0x4615('0x10')][0x0];}[_0x4615('0xf')](_0x2251c7){const _0x4f79f7=[];return this[_0x4615('0x15')]['_getCompressorByName'](_0x4615('0xb'))[_0x4615('0x12')](_0x4f79f7,_0x2251c7),_0x4f79f7[0x0];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3a11=['repeated','bool','string','uint32','Position','Element'];(function(_0x14e742,_0x3a116b){var _0x418207=function(_0x5d1885){while(--_0x5d1885){_0x14e742['push'](_0x14e742['shift']());}};_0x418207(++_0x3a116b);}(_0x3a11,0xbb));var _0x4182=function(_0x14e742,_0x3a116b){_0x14e742=_0x14e742-0x0;var _0x418207=_0x3a11[_0x14e742];return _0x418207;};export default{'Position':{'fields':{'root':{'type':_0x4182('0x1'),'id':0x1},'rootMain':{'type':_0x4182('0x0'),'id':0x2},'rootGraveyard':{'type':_0x4182('0x0'),'id':0x3},'path':{'rule':_0x4182('0x5'),'type':_0x4182('0x2'),'id':0x4},'stickiness':{'type':_0x4182('0x1'),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x4182('0x3'),'id':0x1},'end':{'type':_0x4182('0x3'),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x4182('0x1'),'id':0x1},'children':{'rule':'repeated','type':_0x4182('0x4'),'id':0x2},'data':{'type':_0x4182('0x1'),'id':0x3},'attributesBoolean':{'keyType':_0x4182('0x1'),'type':_0x4182('0x0'),'id':0x4},'attributesJson':{'type':_0x4182('0x1'),'id':0x5}}}};
23
+ var _0x3dba=['uint32','bool','string','repeated','Element','Position'];(function(_0x4ce431,_0x3dba80){var _0x4168d2=function(_0x332ac6){while(--_0x332ac6){_0x4ce431['push'](_0x4ce431['shift']());}};_0x4168d2(++_0x3dba80);}(_0x3dba,0x1a7));var _0x4168=function(_0x4ce431,_0x3dba80){_0x4ce431=_0x4ce431-0x0;var _0x4168d2=_0x3dba[_0x4ce431];return _0x4168d2;};export default{'Position':{'fields':{'root':{'type':_0x4168('0x5'),'id':0x1},'rootMain':{'type':_0x4168('0x4'),'id':0x2},'rootGraveyard':{'type':'bool','id':0x3},'path':{'rule':_0x4168('0x0'),'type':_0x4168('0x3'),'id':0x4},'stickiness':{'type':'string','id':0x5}}},'Range':{'fields':{'start':{'type':_0x4168('0x2'),'id':0x1},'end':{'type':_0x4168('0x2'),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x4168('0x5'),'id':0x1},'children':{'rule':_0x4168('0x0'),'type':_0x4168('0x1'),'id':0x2},'data':{'type':_0x4168('0x5'),'id':0x3},'attributesBoolean':{'keyType':_0x4168('0x5'),'type':_0x4168('0x4'),'id':0x4},'attributesJson':{'type':_0x4168('0x5'),'id':0x5}}}};
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x389b=['MoveOperation','build','DeletingAction','_compressorById','MergeOperation','AttributeOperation','__className','UserSelectionAction','description','InsertOperation','ForwardDeletingAction','decompress','CommentMarkerOperation','set','getDescriptor','no-operations-provided','registerDescriptor','types','baseVersion','Range','SplitOperation','RootAttributeOperation','suggestion','Position','_registerOperationCompressor','compress','_getCompressorByName','MarkerOperation','TypingAction','comment','_compressorByName','_registerActionCompressor','length','_protobufFactory','NoOperation','Element','RenameOperation','_registerCompressor','SuggestionMarkerOperation','get'];(function(_0x310b36,_0x389be5){const _0x2545fa=function(_0x32420b){while(--_0x32420b){_0x310b36['push'](_0x310b36['shift']());}};_0x2545fa(++_0x389be5);}(_0x389b,0x70));const _0x2545=function(_0x310b36,_0x389be5){_0x310b36=_0x310b36-0x0;let _0x2545fa=_0x389b[_0x310b36];return _0x2545fa;};import{CKEditorError as _0x5197cc}from'ckeditor5/src/utils';import _0x5db036 from'./protobuffactory';import _0x1a0df0 from'./commondescriptions';import _0x57d74d from'./operationcompressor/attributeoperationcompressor';import _0x5a1801 from'./operationcompressor/insertoperationcompressor';import _0x3729c5 from'./operationcompressor/markeroperationcompressor';import _0x5955c4 from'./operationcompressor/mergeoperationcompressor';import _0x5697d3 from'./operationcompressor/moveoperationcompressor';import _0x96c229 from'./operationcompressor/renameoperationcompressor';import _0x598502 from'./operationcompressor/rootattributeoperationcompressor';import _0x3dafcd from'./operationcompressor/splitoperationcompressor';import _0xd528a6 from'./operationcompressor/nooperationcompressor';import _0x317eb4 from'./operationcompressor/annotationmarkeroperationcompressor';import _0x56ddce from'./actioncompressor/typingactioncompressor';import _0x2546ac from'./actioncompressor/deletingactioncompressor';import _0x39815b from'./actioncompressor/forwarddeletingactioncompressor';import _0xce4221 from'./actioncompressor/userselectionactioncompressor';export default class w{constructor(){this[_0x2545('0xb')]=new Map(),this['_compressorByName']=new Map(),this[_0x2545('0x1')]=new _0x5db036(),this[_0x2545('0x1')][_0x2545('0x18')](_0x2545('0x1f'),_0x1a0df0[_0x2545('0x1f')]),this[_0x2545('0x1')][_0x2545('0x18')](_0x2545('0x1b'),_0x1a0df0[_0x2545('0x1b')]),this['_protobufFactory'][_0x2545('0x18')]('Element',_0x1a0df0[_0x2545('0x3')]),this[_0x2545('0x1')]['registerDescriptor'](_0x2545('0xd'),_0x57d74d[_0x2545('0x10')]),this['_protobufFactory'][_0x2545('0x18')](_0x2545('0x11'),_0x5a1801['description']),this[_0x2545('0x1')][_0x2545('0x18')](_0x2545('0x23'),_0x3729c5[_0x2545('0x10')]),this[_0x2545('0x1')][_0x2545('0x18')](_0x2545('0xc'),_0x5955c4[_0x2545('0x10')]),this[_0x2545('0x1')]['registerDescriptor'](_0x2545('0x8'),_0x5697d3[_0x2545('0x10')]),this[_0x2545('0x1')]['registerDescriptor']('RenameOperation',_0x96c229[_0x2545('0x10')]),this['_protobufFactory']['registerDescriptor'](_0x2545('0x1d'),_0x598502[_0x2545('0x10')]),this[_0x2545('0x1')]['registerDescriptor'](_0x2545('0x1c'),_0x3dafcd[_0x2545('0x10')]),this[_0x2545('0x1')][_0x2545('0x9')](),this[_0x2545('0x5')](0x1,'NoOperation',new _0xd528a6(0x1,_0x2545('0x2'))),this[_0x2545('0x20')](0xa,_0x2545('0xd'),_0x57d74d),this[_0x2545('0x20')](0xb,_0x2545('0x11'),_0x5a1801),this[_0x2545('0x20')](0xc,_0x2545('0x23'),_0x3729c5),this[_0x2545('0x20')](0xd,'MergeOperation',_0x5955c4),this[_0x2545('0x20')](0xe,_0x2545('0x8'),_0x5697d3),this[_0x2545('0x20')](0xf,_0x2545('0x4'),_0x96c229),this[_0x2545('0x20')](0x10,_0x2545('0x1d'),_0x598502),this['_registerOperationCompressor'](0x11,'SplitOperation',_0x3dafcd);const _0x178e84=this[_0x2545('0x1')]['getDescriptor']('MarkerOperation');this[_0x2545('0x5')](0x12,_0x2545('0x14'),new _0x317eb4(0x12,'MarkerOperation',_0x178e84,_0x2545('0x25'))),this['_registerCompressor'](0x13,_0x2545('0x6'),new _0x317eb4(0x13,_0x2545('0x23'),_0x178e84,_0x2545('0x1e'))),this[_0x2545('0x27')](0x64,_0x2545('0x24'),_0x56ddce),this[_0x2545('0x27')](0x65,_0x2545('0xa'),_0x2546ac),this[_0x2545('0x27')](0x66,'ForwardDeletingAction',_0x39815b),this[_0x2545('0x27')](0x67,_0x2545('0xf'),_0xce4221);}[_0x2545('0x20')](_0x1a8d0a,_0x26e31a,_0x2dfcf0){const _0x2d6d46=new _0x2dfcf0(_0x1a8d0a,_0x26e31a,this[_0x2545('0x1')][_0x2545('0x16')](_0x26e31a));this['_registerCompressor'](_0x1a8d0a,_0x26e31a,_0x2d6d46);}[_0x2545('0x27')](_0x32f4d3,_0x46f3b0,_0x556966){const _0x40f13d=new _0x556966(_0x32f4d3,this);this[_0x2545('0x5')](_0x32f4d3,_0x46f3b0,_0x40f13d);}[_0x2545('0x5')](_0x12acc3,_0x24419d,_0x5a83f5){this[_0x2545('0xb')][_0x2545('0x15')](_0x12acc3,_0x5a83f5),this[_0x2545('0x26')]['set'](_0x24419d,_0x5a83f5);}[_0x2545('0x22')](_0x96d141){return this[_0x2545('0x26')][_0x2545('0x7')](_0x96d141);}[_0x2545('0x21')](_0x1b07f4){if(!_0x1b07f4||!_0x1b07f4[0x0])throw new _0x5197cc(_0x2545('0x17'),this);const _0x53f9d6={'types':[],'buffers':[],'baseVersion':_0x1b07f4[0x0][_0x2545('0x1a')]};for(;_0x1b07f4[_0x2545('0x0')];)this['_getCompressorByName'](_0x2545('0xf'))[_0x2545('0x21')](_0x53f9d6,_0x1b07f4)||this[_0x2545('0x22')]('TypingAction')[_0x2545('0x21')](_0x53f9d6,_0x1b07f4)||this[_0x2545('0x22')](_0x2545('0xa'))[_0x2545('0x21')](_0x53f9d6,_0x1b07f4)||this[_0x2545('0x22')](_0x2545('0x12'))['compress'](_0x53f9d6,_0x1b07f4)||this[_0x2545('0x22')](_0x2545('0x14'))[_0x2545('0x21')](_0x53f9d6,_0x1b07f4)||this['_getCompressorByName'](_0x2545('0x6'))[_0x2545('0x21')](_0x53f9d6,_0x1b07f4)||this[_0x2545('0x22')](_0x1b07f4[0x0][_0x2545('0xe')])[_0x2545('0x21')](_0x53f9d6,_0x1b07f4);return _0x53f9d6;}[_0x2545('0x13')](_0x495aad){const _0x216666=[];for(;_0x495aad[_0x2545('0x19')][_0x2545('0x0')];){this[_0x2545('0xb')][_0x2545('0x7')](_0x495aad[_0x2545('0x19')][0x0])[_0x2545('0x13')](_0x216666,_0x495aad);}return _0x216666['forEach']((_0x250a40,_0x2c6131)=>_0x250a40['baseVersion']=_0x495aad[_0x2545('0x1a')]+_0x2c6131),_0x216666;}}
23
+ const _0x34e4=['set','getDescriptor','length','compress','no-operations-provided','RenameOperation','baseVersion','MoveOperation','_registerOperationCompressor','TypingAction','forEach','_registerCompressor','registerDescriptor','ForwardDeletingAction','get','MergeOperation','Range','_protobufFactory','Element','_getCompressorByName','RootAttributeOperation','types','AttributeOperation','UserSelectionAction','description','CommentMarkerOperation','__className','SplitOperation','DeletingAction','_compressorById','NoOperation','SuggestionMarkerOperation','suggestion','_registerActionCompressor','MarkerOperation','_compressorByName','Position','InsertOperation','decompress'];(function(_0x5d2ef5,_0x34e4f5){const _0x3a4195=function(_0x5023d7){while(--_0x5023d7){_0x5d2ef5['push'](_0x5d2ef5['shift']());}};_0x3a4195(++_0x34e4f5);}(_0x34e4,0x1eb));const _0x3a41=function(_0x5d2ef5,_0x34e4f5){_0x5d2ef5=_0x5d2ef5-0x0;let _0x3a4195=_0x34e4[_0x5d2ef5];return _0x3a4195;};import{CKEditorError as _0x32b230}from'ckeditor5/src/utils';import _0x2ee905 from'./protobuffactory';import _0x13481d from'./commondescriptions';import _0x34452b from'./operationcompressor/attributeoperationcompressor';import _0x16e587 from'./operationcompressor/insertoperationcompressor';import _0x4368c5 from'./operationcompressor/markeroperationcompressor';import _0xb20a0a from'./operationcompressor/mergeoperationcompressor';import _0x174cf9 from'./operationcompressor/moveoperationcompressor';import _0x51675d from'./operationcompressor/renameoperationcompressor';import _0x7a4829 from'./operationcompressor/rootattributeoperationcompressor';import _0x164186 from'./operationcompressor/splitoperationcompressor';import _0x16f4aa from'./operationcompressor/nooperationcompressor';import _0x56f93c from'./operationcompressor/annotationmarkeroperationcompressor';import _0x176f10 from'./actioncompressor/typingactioncompressor';import _0x2d0f65 from'./actioncompressor/deletingactioncompressor';import _0x2ccafb from'./actioncompressor/forwarddeletingactioncompressor';import _0x599bc9 from'./actioncompressor/userselectionactioncompressor';export default class w{constructor(){this[_0x3a41('0x6')]=new Map(),this[_0x3a41('0xc')]=new Map(),this[_0x3a41('0x21')]=new _0x2ee905(),this[_0x3a41('0x21')][_0x3a41('0x1c')]('Position',_0x13481d[_0x3a41('0xd')]),this[_0x3a41('0x21')][_0x3a41('0x1c')](_0x3a41('0x20'),_0x13481d[_0x3a41('0x20')]),this['_protobufFactory'][_0x3a41('0x1c')]('Element',_0x13481d[_0x3a41('0x22')]),this[_0x3a41('0x21')]['registerDescriptor'](_0x3a41('0x26'),_0x34452b[_0x3a41('0x1')]),this[_0x3a41('0x21')][_0x3a41('0x1c')](_0x3a41('0xe'),_0x16e587[_0x3a41('0x1')]),this[_0x3a41('0x21')][_0x3a41('0x1c')](_0x3a41('0xb'),_0x4368c5[_0x3a41('0x1')]),this[_0x3a41('0x21')]['registerDescriptor'](_0x3a41('0x1f'),_0xb20a0a['description']),this[_0x3a41('0x21')]['registerDescriptor'](_0x3a41('0x17'),_0x174cf9['description']),this['_protobufFactory']['registerDescriptor'](_0x3a41('0x15'),_0x51675d[_0x3a41('0x1')]),this[_0x3a41('0x21')]['registerDescriptor'](_0x3a41('0x24'),_0x7a4829[_0x3a41('0x1')]),this[_0x3a41('0x21')]['registerDescriptor'](_0x3a41('0x4'),_0x164186[_0x3a41('0x1')]),this[_0x3a41('0x21')]['build'](),this['_registerCompressor'](0x1,_0x3a41('0x7'),new _0x16f4aa(0x1,_0x3a41('0x7'))),this['_registerOperationCompressor'](0xa,_0x3a41('0x26'),_0x34452b),this[_0x3a41('0x18')](0xb,_0x3a41('0xe'),_0x16e587),this[_0x3a41('0x18')](0xc,_0x3a41('0xb'),_0x4368c5),this[_0x3a41('0x18')](0xd,_0x3a41('0x1f'),_0xb20a0a),this[_0x3a41('0x18')](0xe,'MoveOperation',_0x174cf9),this[_0x3a41('0x18')](0xf,_0x3a41('0x15'),_0x51675d),this[_0x3a41('0x18')](0x10,_0x3a41('0x24'),_0x7a4829),this['_registerOperationCompressor'](0x11,'SplitOperation',_0x164186);const _0x40d732=this[_0x3a41('0x21')][_0x3a41('0x11')]('MarkerOperation');this[_0x3a41('0x1b')](0x12,'CommentMarkerOperation',new _0x56f93c(0x12,'MarkerOperation',_0x40d732,'comment')),this[_0x3a41('0x1b')](0x13,_0x3a41('0x8'),new _0x56f93c(0x13,_0x3a41('0xb'),_0x40d732,_0x3a41('0x9'))),this[_0x3a41('0xa')](0x64,_0x3a41('0x19'),_0x176f10),this['_registerActionCompressor'](0x65,_0x3a41('0x5'),_0x2d0f65),this[_0x3a41('0xa')](0x66,'ForwardDeletingAction',_0x2ccafb),this['_registerActionCompressor'](0x67,_0x3a41('0x0'),_0x599bc9);}[_0x3a41('0x18')](_0x3f0329,_0x51428c,_0x2e8fc8){const _0x112277=new _0x2e8fc8(_0x3f0329,_0x51428c,this[_0x3a41('0x21')][_0x3a41('0x11')](_0x51428c));this[_0x3a41('0x1b')](_0x3f0329,_0x51428c,_0x112277);}[_0x3a41('0xa')](_0x1773f2,_0x490d28,_0x3878db){const _0x201316=new _0x3878db(_0x1773f2,this);this[_0x3a41('0x1b')](_0x1773f2,_0x490d28,_0x201316);}[_0x3a41('0x1b')](_0x587407,_0x5ed912,_0x4730b2){this[_0x3a41('0x6')][_0x3a41('0x10')](_0x587407,_0x4730b2),this[_0x3a41('0xc')][_0x3a41('0x10')](_0x5ed912,_0x4730b2);}['_getCompressorByName'](_0x3ce0d2){return this[_0x3a41('0xc')][_0x3a41('0x1e')](_0x3ce0d2);}[_0x3a41('0x13')](_0x298eb6){if(!_0x298eb6||!_0x298eb6[0x0])throw new _0x32b230(_0x3a41('0x14'),this);const _0x164c5a={'types':[],'buffers':[],'baseVersion':_0x298eb6[0x0][_0x3a41('0x16')]};for(;_0x298eb6[_0x3a41('0x12')];)this['_getCompressorByName'](_0x3a41('0x0'))[_0x3a41('0x13')](_0x164c5a,_0x298eb6)||this[_0x3a41('0x23')](_0x3a41('0x19'))[_0x3a41('0x13')](_0x164c5a,_0x298eb6)||this[_0x3a41('0x23')](_0x3a41('0x5'))[_0x3a41('0x13')](_0x164c5a,_0x298eb6)||this[_0x3a41('0x23')](_0x3a41('0x1d'))[_0x3a41('0x13')](_0x164c5a,_0x298eb6)||this[_0x3a41('0x23')](_0x3a41('0x2'))['compress'](_0x164c5a,_0x298eb6)||this[_0x3a41('0x23')](_0x3a41('0x8'))['compress'](_0x164c5a,_0x298eb6)||this['_getCompressorByName'](_0x298eb6[0x0][_0x3a41('0x3')])[_0x3a41('0x13')](_0x164c5a,_0x298eb6);return _0x164c5a;}[_0x3a41('0xf')](_0x49235){const _0x347d9a=[];for(;_0x49235[_0x3a41('0x25')][_0x3a41('0x12')];){this[_0x3a41('0x6')][_0x3a41('0x1e')](_0x49235[_0x3a41('0x25')][0x0])[_0x3a41('0xf')](_0x347d9a,_0x49235);}return _0x347d9a[_0x3a41('0x1a')]((_0x562d56,_0x475abd)=>_0x562d56[_0x3a41('0x16')]=_0x49235['baseVersion']+_0x475abd),_0x347d9a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f98=['startsWith','decompress','__className','MarkerOperation','replace','name','length','compress','_omittedNamespace'];(function(_0x40b2f0,_0x3f98cf){const _0x259a9c=function(_0x100bae){while(--_0x100bae){_0x40b2f0['push'](_0x40b2f0['shift']());}};_0x259a9c(++_0x3f98cf);}(_0x3f98,0x74));const _0x259a=function(_0x40b2f0,_0x3f98cf){_0x40b2f0=_0x40b2f0-0x0;let _0x259a9c=_0x3f98[_0x40b2f0];return _0x259a9c;};import _0x485823 from'./markeroperationcompressor';export default class O extends _0x485823{constructor(_0x2727f0,_0x172263,_0x200eaa,_0x19859c){super(_0x2727f0,_0x172263,_0x200eaa),this[_0x259a('0x0')]=_0x19859c+':';}[_0x259a('0x8')](_0x154ab6,_0x7da2a0){return!(_0x259a('0x4')!=_0x7da2a0[0x0][_0x259a('0x3')]||!_0x7da2a0[0x0]['name'][_0x259a('0x1')](this[_0x259a('0x0')]))&&(_0x7da2a0[0x0]['name']=_0x7da2a0[0x0][_0x259a('0x6')][_0x259a('0x5')](new RegExp('^'+this[_0x259a('0x0')]),''),super[_0x259a('0x8')](_0x154ab6,_0x7da2a0),!0x0);}[_0x259a('0x2')](_0x11106f,_0x12d757){super[_0x259a('0x2')](_0x11106f,_0x12d757);const _0x50084d=_0x11106f[_0x11106f[_0x259a('0x7')]-0x1];_0x50084d[_0x259a('0x6')]=this[_0x259a('0x0')]+_0x50084d[_0x259a('0x6')];}}
23
+ const _0x3163=['name','length','decompress','replace','startsWith','__className','compress','_omittedNamespace'];(function(_0x17c63d,_0x31631f){const _0x4e48ff=function(_0x1d24ab){while(--_0x1d24ab){_0x17c63d['push'](_0x17c63d['shift']());}};_0x4e48ff(++_0x31631f);}(_0x3163,0xc7));const _0x4e48=function(_0x17c63d,_0x31631f){_0x17c63d=_0x17c63d-0x0;let _0x4e48ff=_0x3163[_0x17c63d];return _0x4e48ff;};import _0x54bff5 from'./markeroperationcompressor';export default class O extends _0x54bff5{constructor(_0x30b1c3,_0x2331af,_0xf8adc,_0x1af437){super(_0x30b1c3,_0x2331af,_0xf8adc),this[_0x4e48('0x0')]=_0x1af437+':';}[_0x4e48('0x7')](_0x27f990,_0x32b86f){return!('MarkerOperation'!=_0x32b86f[0x0][_0x4e48('0x6')]||!_0x32b86f[0x0][_0x4e48('0x1')][_0x4e48('0x5')](this[_0x4e48('0x0')]))&&(_0x32b86f[0x0][_0x4e48('0x1')]=_0x32b86f[0x0][_0x4e48('0x1')][_0x4e48('0x4')](new RegExp('^'+this[_0x4e48('0x0')]),''),super['compress'](_0x27f990,_0x32b86f),!0x0);}[_0x4e48('0x3')](_0x278c67,_0x3504b9){super[_0x4e48('0x3')](_0x278c67,_0x3504b9);const _0x201cf4=_0x278c67[_0x278c67[_0x4e48('0x2')]-0x1];_0x201cf4[_0x4e48('0x1')]=this[_0x4e48('0x0')]+_0x201cf4['name'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x88bf=['Range','Json','parse','shift','bool','compress','__className','operationName','oldValue','Boolean','push','_protobufDescriptor','decompress','newValue','string','stringify','description'];(function(_0x54a65e,_0x88bfb){const _0x40d4e5=function(_0x157b33){while(--_0x157b33){_0x54a65e['push'](_0x54a65e['shift']());}};_0x40d4e5(++_0x88bfb);}(_0x88bf,0x1c7));const _0x40d4=function(_0x54a65e,_0x88bfb){_0x54a65e=_0x54a65e-0x0;let _0x40d4e5=_0x88bf[_0x54a65e];return _0x40d4e5;};import _0xa9f870 from'./operationcompressor';import{parsePositionBeforeCompression as _0x239882,parsePositionAfterCompression as _0x335f37}from'../utils';export default class i extends _0xa9f870{static get[_0x40d4('0x3')](){return{'fields':{'range':{'type':_0x40d4('0x4'),'id':0x1},'key':{'type':_0x40d4('0x1'),'id':0x2},'oldValueBoolean':{'type':_0x40d4('0x8'),'id':0x3},'oldValueJson':{'type':_0x40d4('0x1'),'id':0x4},'newValueBoolean':{'type':_0x40d4('0x8'),'id':0x5},'newValueJson':{'type':'string','id':0x6},'wasUndone':{'type':_0x40d4('0x8'),'id':0x7}}};}[_0x40d4('0x9')](_0x476bd6,_0x1f3734){const _0x84e14d=_0x1f3734[_0x40d4('0x7')]();$(_0x40d4('0xc'),_0x84e14d),$(_0x40d4('0x0'),_0x84e14d),_0x239882(_0x84e14d),_0x476bd6['buffers'][_0x40d4('0xe')](this['_protobufDescriptor']['compress'](_0x84e14d)),_0x476bd6['types'][_0x40d4('0xe')](this['id']);}[_0x40d4('0x10')](_0x50207e,_0x9d9492){const {types:_0x1ddd38,buffers:_0x312083}=_0x9d9492,_0x400a72=this[_0x40d4('0xf')][_0x40d4('0x10')](_0x312083[_0x40d4('0x7')]());_0x1ddd38[_0x40d4('0x7')](),N(_0x40d4('0xc'),_0x400a72),N(_0x40d4('0x0'),_0x400a72),_0x335f37(_0x400a72),_0x400a72[_0x40d4('0xa')]=this[_0x40d4('0xb')],_0x50207e[_0x40d4('0xe')](_0x400a72);}}function $(_0x254f7c,_0x4a50cf){const _0x235fe2=_0x4a50cf[_0x254f7c];'boolean'==typeof _0x235fe2?_0x4a50cf[_0x254f7c+'Boolean']=_0x235fe2:_0x4a50cf[_0x254f7c+_0x40d4('0x5')]=JSON[_0x40d4('0x2')](_0x235fe2);}function N(_0x297217,_0x5b73ab){const _0x137c6b=_0x297217+_0x40d4('0x5');_0x5b73ab[_0x137c6b]?(_0x5b73ab[_0x297217]=JSON[_0x40d4('0x6')](_0x5b73ab[_0x137c6b]),delete _0x5b73ab[_0x137c6b]):(_0x5b73ab[_0x297217]=_0x5b73ab[_0x297217+_0x40d4('0xd')],delete _0x5b73ab[_0x297217+_0x40d4('0xd')]);}
23
+ const _0x391e=['buffers','_protobufDescriptor','bool','Range','oldValue','parse','newValue','push','string','compress','shift','operationName','__className','Boolean','description','stringify','Json','decompress'];(function(_0x13c5ec,_0x391e27){const _0x12f254=function(_0x4cc1b3){while(--_0x4cc1b3){_0x13c5ec['push'](_0x13c5ec['shift']());}};_0x12f254(++_0x391e27);}(_0x391e,0xb7));const _0x12f2=function(_0x13c5ec,_0x391e27){_0x13c5ec=_0x13c5ec-0x0;let _0x12f254=_0x391e[_0x13c5ec];return _0x12f254;};import _0x3972b0 from'./operationcompressor';import{parsePositionBeforeCompression as _0x36ccb7,parsePositionAfterCompression as _0x29b5db}from'../utils';export default class i extends _0x3972b0{static get[_0x12f2('0xb')](){return{'fields':{'range':{'type':_0x12f2('0x0'),'id':0x1},'key':{'type':_0x12f2('0x5'),'id':0x2},'oldValueBoolean':{'type':_0x12f2('0x11'),'id':0x3},'oldValueJson':{'type':_0x12f2('0x5'),'id':0x4},'newValueBoolean':{'type':_0x12f2('0x11'),'id':0x5},'newValueJson':{'type':'string','id':0x6},'wasUndone':{'type':_0x12f2('0x11'),'id':0x7}}};}[_0x12f2('0x6')](_0x4016d7,_0x19f356){const _0x491a15=_0x19f356['shift']();$('oldValue',_0x491a15),$(_0x12f2('0x3'),_0x491a15),_0x36ccb7(_0x491a15),_0x4016d7[_0x12f2('0xf')][_0x12f2('0x4')](this[_0x12f2('0x10')][_0x12f2('0x6')](_0x491a15)),_0x4016d7['types'][_0x12f2('0x4')](this['id']);}[_0x12f2('0xe')](_0x518f91,_0x3d30d3){const {types:_0x130f5e,buffers:_0xc40130}=_0x3d30d3,_0x6d70cf=this[_0x12f2('0x10')][_0x12f2('0xe')](_0xc40130['shift']());_0x130f5e[_0x12f2('0x7')](),N(_0x12f2('0x1'),_0x6d70cf),N(_0x12f2('0x3'),_0x6d70cf),_0x29b5db(_0x6d70cf),_0x6d70cf[_0x12f2('0x9')]=this[_0x12f2('0x8')],_0x518f91['push'](_0x6d70cf);}}function $(_0x13a3b1,_0x203e08){const _0xb53bb9=_0x203e08[_0x13a3b1];'boolean'==typeof _0xb53bb9?_0x203e08[_0x13a3b1+_0x12f2('0xa')]=_0xb53bb9:_0x203e08[_0x13a3b1+_0x12f2('0xd')]=JSON[_0x12f2('0xc')](_0xb53bb9);}function N(_0x22f0d9,_0x149c2b){const _0x139ea7=_0x22f0d9+_0x12f2('0xd');_0x149c2b[_0x139ea7]?(_0x149c2b[_0x22f0d9]=JSON[_0x12f2('0x2')](_0x149c2b[_0x139ea7]),delete _0x149c2b[_0x139ea7]):(_0x149c2b[_0x22f0d9]=_0x149c2b[_0x22f0d9+_0x12f2('0xa')],delete _0x149c2b[_0x22f0d9+_0x12f2('0xa')]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2afb=['bool','_protobufDescriptor','repeated','boolean','nodes','children','push','parse','Position','every','description','shift','compress','attributesBoolean','buffers','__className','attributes','keys','attributesJson','types'];(function(_0x1990cc,_0x2afb95){const _0x431ed5=function(_0x1dd5be){while(--_0x1dd5be){_0x1990cc['push'](_0x1990cc['shift']());}};_0x431ed5(++_0x2afb95);}(_0x2afb,0xcf));const _0x431e=function(_0x1990cc,_0x2afb95){_0x1990cc=_0x1990cc-0x0;let _0x431ed5=_0x2afb[_0x1990cc];return _0x431ed5;};import _0x2abb5c from'./operationcompressor';import{parsePositionBeforeCompression as _0x3026cc,parsePositionAfterCompression as _0x4c814f}from'../utils';export default class s extends _0x2abb5c{static get[_0x431e('0x3')](){return{'fields':{'position':{'type':_0x431e('0x1'),'id':0x1},'nodes':{'rule':_0x431e('0xf'),'type':'Element','id':0x2},'shouldReceiveAttributes':{'type':_0x431e('0xd'),'id':0x3},'wasUndone':{'type':_0x431e('0xd'),'id':0x4}}};}[_0x431e('0x5')](_0x185eb7,_0x37388f){const _0x4b7846=_0x37388f[_0x431e('0x4')]();A(_0x4b7846['nodes']),_0x3026cc(_0x4b7846),_0x185eb7[_0x431e('0x7')][_0x431e('0x13')](this['_protobufDescriptor'][_0x431e('0x5')](_0x4b7846)),_0x185eb7[_0x431e('0xc')][_0x431e('0x13')](this['id']);}['decompress'](_0x306b0e,_0x1cbe02){const {types:_0x31ba02,buffers:_0x924278}=_0x1cbe02,_0x4591b6=this[_0x431e('0xe')]['decompress'](_0x924278[_0x431e('0x4')]());_0x31ba02[_0x431e('0x4')](),_0x4591b6[_0x431e('0x11')]||(_0x4591b6['nodes']=[]),E(_0x4591b6[_0x431e('0x11')]),_0x4c814f(_0x4591b6),_0x4591b6[_0x431e('0x8')]=this['operationName'],_0x306b0e[_0x431e('0x13')](_0x4591b6);}}function A(_0x27ec82){for(const _0x7fd8e8 of _0x27ec82){if(_0x7fd8e8[_0x431e('0x9')]){const _0x1154e5=_0x7fd8e8[_0x431e('0x9')];R(_0x1154e5)?_0x7fd8e8[_0x431e('0x6')]=_0x1154e5:_0x7fd8e8[_0x431e('0xb')]=JSON['stringify'](_0x1154e5);}_0x7fd8e8[_0x431e('0x12')]&&A(_0x7fd8e8['children']);}}function E(_0x4b0363){for(const _0x381af5 of _0x4b0363)(_0x381af5['attributesBoolean']||_0x381af5[_0x431e('0xb')])&&(_0x381af5[_0x431e('0x6')]?(_0x381af5['attributes']=_0x381af5[_0x431e('0x6')],delete _0x381af5[_0x431e('0x6')]):(_0x381af5['attributes']=JSON[_0x431e('0x0')](_0x381af5[_0x431e('0xb')]),delete _0x381af5['attributesJson'])),_0x381af5[_0x431e('0x12')]&&E(_0x381af5[_0x431e('0x12')]);}function R(_0xb423d0){return Object[_0x431e('0xa')](_0xb423d0)[_0x431e('0x2')](_0x1fb1a3=>_0x431e('0x10')==typeof _0xb423d0[_0x1fb1a3]);}
23
+ const _0x4b3c=['_protobufDescriptor','attributes','boolean','repeated','compress','attributesBoolean','stringify','parse','nodes','children','types','Element','every','description','__className','buffers','bool','shift','attributesJson','decompress','Position','push','keys'];(function(_0x3f4a68,_0x4b3c3a){const _0x3d8e24=function(_0x2bdbfe){while(--_0x2bdbfe){_0x3f4a68['push'](_0x3f4a68['shift']());}};_0x3d8e24(++_0x4b3c3a);}(_0x4b3c,0x16e));const _0x3d8e=function(_0x3f4a68,_0x4b3c3a){_0x3f4a68=_0x3f4a68-0x0;let _0x3d8e24=_0x4b3c[_0x3f4a68];return _0x3d8e24;};import _0x17022e from'./operationcompressor';import{parsePositionBeforeCompression as _0x6c28a,parsePositionAfterCompression as _0x5be6f2}from'../utils';export default class s extends _0x17022e{static get[_0x3d8e('0xf')](){return{'fields':{'position':{'type':_0x3d8e('0x16'),'id':0x1},'nodes':{'rule':_0x3d8e('0x5'),'type':_0x3d8e('0xd'),'id':0x2},'shouldReceiveAttributes':{'type':_0x3d8e('0x12'),'id':0x3},'wasUndone':{'type':'bool','id':0x4}}};}[_0x3d8e('0x6')](_0x1a7039,_0x3bf991){const _0x3ccec2=_0x3bf991['shift']();A(_0x3ccec2['nodes']),_0x6c28a(_0x3ccec2),_0x1a7039[_0x3d8e('0x11')][_0x3d8e('0x0')](this['_protobufDescriptor']['compress'](_0x3ccec2)),_0x1a7039[_0x3d8e('0xc')][_0x3d8e('0x0')](this['id']);}[_0x3d8e('0x15')](_0x48dd72,_0x4e4abe){const {types:_0x59daf9,buffers:_0x44a209}=_0x4e4abe,_0x31a3b8=this[_0x3d8e('0x2')][_0x3d8e('0x15')](_0x44a209[_0x3d8e('0x13')]());_0x59daf9['shift'](),_0x31a3b8[_0x3d8e('0xa')]||(_0x31a3b8[_0x3d8e('0xa')]=[]),E(_0x31a3b8[_0x3d8e('0xa')]),_0x5be6f2(_0x31a3b8),_0x31a3b8[_0x3d8e('0x10')]=this['operationName'],_0x48dd72[_0x3d8e('0x0')](_0x31a3b8);}}function A(_0x435c48){for(const _0xfc2307 of _0x435c48){if(_0xfc2307['attributes']){const _0x24d1d0=_0xfc2307[_0x3d8e('0x3')];R(_0x24d1d0)?_0xfc2307[_0x3d8e('0x7')]=_0x24d1d0:_0xfc2307[_0x3d8e('0x14')]=JSON[_0x3d8e('0x8')](_0x24d1d0);}_0xfc2307[_0x3d8e('0xb')]&&A(_0xfc2307[_0x3d8e('0xb')]);}}function E(_0x1878ec){for(const _0x19e32f of _0x1878ec)(_0x19e32f['attributesBoolean']||_0x19e32f['attributesJson'])&&(_0x19e32f['attributesBoolean']?(_0x19e32f[_0x3d8e('0x3')]=_0x19e32f['attributesBoolean'],delete _0x19e32f['attributesBoolean']):(_0x19e32f[_0x3d8e('0x3')]=JSON[_0x3d8e('0x9')](_0x19e32f[_0x3d8e('0x14')]),delete _0x19e32f[_0x3d8e('0x14')])),_0x19e32f[_0x3d8e('0xb')]&&E(_0x19e32f[_0x3d8e('0xb')]);}function R(_0x150efe){return Object[_0x3d8e('0x1')](_0x150efe)[_0x3d8e('0xe')](_0x15c0f5=>_0x3d8e('0x4')==typeof _0x150efe[_0x15c0f5]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a97=['length','oldRange','bool','decompress','string','Range','newRange','description'];(function(_0x3fccf0,_0x3a979e){const _0x15aeec=function(_0x5f11fb){while(--_0x5f11fb){_0x3fccf0['push'](_0x3fccf0['shift']());}};_0x15aeec(++_0x3a979e);}(_0x3a97,0x74));const _0x15ae=function(_0x3fccf0,_0x3a979e){_0x3fccf0=_0x3fccf0-0x0;let _0x15aeec=_0x3a97[_0x3fccf0];return _0x15aeec;};import _0x1b566a from'./operationcompressor';export default class n extends _0x1b566a{static get[_0x15ae('0x3')](){return{'fields':{'name':{'type':_0x15ae('0x0'),'id':0x1},'oldRange':{'type':_0x15ae('0x1'),'id':0x2},'newRange':{'type':_0x15ae('0x1'),'id':0x3},'affectsData':{'type':_0x15ae('0x6'),'id':0x4},'wasUndone':{'type':_0x15ae('0x6'),'id':0x5}}};}[_0x15ae('0x7')](_0x41a358,_0x4267f6){super[_0x15ae('0x7')](_0x41a358,_0x4267f6);const _0x9728ae=_0x41a358[_0x41a358[_0x15ae('0x4')]-0x1];_0x9728ae[_0x15ae('0x5')]||(_0x9728ae['oldRange']=null),_0x9728ae[_0x15ae('0x2')]||(_0x9728ae[_0x15ae('0x2')]=null);}}
23
+ const _0x1aec=['decompress','bool','string','newRange','description','oldRange','Range'];(function(_0xac49a4,_0x1aec86){const _0xbeb1c4=function(_0xe47386){while(--_0xe47386){_0xac49a4['push'](_0xac49a4['shift']());}};_0xbeb1c4(++_0x1aec86);}(_0x1aec,0x91));const _0xbeb1=function(_0xac49a4,_0x1aec86){_0xac49a4=_0xac49a4-0x0;let _0xbeb1c4=_0x1aec[_0xac49a4];return _0xbeb1c4;};import _0xd3a346 from'./operationcompressor';export default class n extends _0xd3a346{static get[_0xbeb1('0x6')](){return{'fields':{'name':{'type':_0xbeb1('0x4'),'id':0x1},'oldRange':{'type':_0xbeb1('0x1'),'id':0x2},'newRange':{'type':_0xbeb1('0x1'),'id':0x3},'affectsData':{'type':_0xbeb1('0x3'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}[_0xbeb1('0x2')](_0x241ba9,_0xa821e4){super[_0xbeb1('0x2')](_0x241ba9,_0xa821e4);const _0x51e5d1=_0x241ba9[_0x241ba9['length']-0x1];_0x51e5d1['oldRange']||(_0x51e5d1[_0xbeb1('0x0')]=null),_0x51e5d1[_0xbeb1('0x5')]||(_0x51e5d1[_0xbeb1('0x5')]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x6b58=['Position','bool','description','uint32'];(function(_0x61f9b0,_0x6b586f){var _0x4cf2b6=function(_0x55ba0e){while(--_0x55ba0e){_0x61f9b0['push'](_0x61f9b0['shift']());}};_0x4cf2b6(++_0x6b586f);}(_0x6b58,0x7d));var _0x4cf2=function(_0x61f9b0,_0x6b586f){_0x61f9b0=_0x61f9b0-0x0;var _0x4cf2b6=_0x6b58[_0x61f9b0];return _0x4cf2b6;};import _0x127d1a from'./operationcompressor';export default class p extends _0x127d1a{static get[_0x4cf2('0x1')](){return{'fields':{'sourcePosition':{'type':_0x4cf2('0x3'),'id':0x1},'targetPosition':{'type':_0x4cf2('0x3'),'id':0x2},'graveyardPosition':{'type':_0x4cf2('0x3'),'id':0x3},'howMany':{'type':_0x4cf2('0x2'),'id':0x4},'wasUndone':{'type':_0x4cf2('0x0'),'id':0x5}}};}}
23
+ var _0x46b1=['description','uint32','Position'];(function(_0x1430aa,_0x46b1a7){var _0x50f62b=function(_0x1270f5){while(--_0x1270f5){_0x1430aa['push'](_0x1430aa['shift']());}};_0x50f62b(++_0x46b1a7);}(_0x46b1,0xb8));var _0x50f6=function(_0x1430aa,_0x46b1a7){_0x1430aa=_0x1430aa-0x0;var _0x50f62b=_0x46b1[_0x1430aa];return _0x50f62b;};import _0x1ac92e from'./operationcompressor';export default class p extends _0x1ac92e{static get[_0x50f6('0x2')](){return{'fields':{'sourcePosition':{'type':_0x50f6('0x1'),'id':0x1},'targetPosition':{'type':_0x50f6('0x1'),'id':0x2},'graveyardPosition':{'type':'Position','id':0x3},'howMany':{'type':_0x50f6('0x0'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf82d=['Position','bool'];(function(_0x58af3a,_0xf82df7){var _0x4804cf=function(_0xfe6948){while(--_0xfe6948){_0x58af3a['push'](_0x58af3a['shift']());}};_0x4804cf(++_0xf82df7);}(_0xf82d,0x1d8));var _0x4804=function(_0x58af3a,_0xf82df7){_0x58af3a=_0x58af3a-0x0;var _0x4804cf=_0xf82d[_0x58af3a];return _0x4804cf;};import _0xe7176f from'./operationcompressor';export default class m extends _0xe7176f{static get['description'](){return{'fields':{'sourcePosition':{'type':_0x4804('0x0'),'id':0x1},'howMany':{'type':'uint32','id':0x2},'targetPosition':{'type':'Position','id':0x3},'wasUndone':{'type':_0x4804('0x1'),'id':0x4}}};}}
23
+ var _0x127e=['bool','Position','uint32'];(function(_0x4261bb,_0x127e9a){var _0x3a043c=function(_0x309e4f){while(--_0x309e4f){_0x4261bb['push'](_0x4261bb['shift']());}};_0x3a043c(++_0x127e9a);}(_0x127e,0x17b));var _0x3a04=function(_0x4261bb,_0x127e9a){_0x4261bb=_0x4261bb-0x0;var _0x3a043c=_0x127e[_0x4261bb];return _0x3a043c;};import _0x2fe183 from'./operationcompressor';export default class m extends _0x2fe183{static get['description'](){return{'fields':{'sourcePosition':{'type':'Position','id':0x1},'howMany':{'type':_0x3a04('0x1'),'id':0x2},'targetPosition':{'type':_0x3a04('0x0'),'id':0x3},'wasUndone':{'type':_0x3a04('0x2'),'id':0x4}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4ca2=['push','shift','types','decompress','operationName','compress'];(function(_0xa7ca8e,_0x4ca2a0){var _0x3bdffb=function(_0x2bba9b){while(--_0x2bba9b){_0xa7ca8e['push'](_0xa7ca8e['shift']());}};_0x3bdffb(++_0x4ca2a0);}(_0x4ca2,0x90));var _0x3bdf=function(_0xa7ca8e,_0x4ca2a0){_0xa7ca8e=_0xa7ca8e-0x0;var _0x3bdffb=_0x4ca2[_0xa7ca8e];return _0x3bdffb;};import _0x3c74c6 from'./operationcompressor';export default class f extends _0x3c74c6{[_0x3bdf('0x5')](_0x1e2c84,_0x4ef296){_0x4ef296[_0x3bdf('0x1')](),_0x1e2c84[_0x3bdf('0x2')][_0x3bdf('0x0')](this['id']);}[_0x3bdf('0x3')](_0x2d7d0f,_0x54f3ec){_0x54f3ec[_0x3bdf('0x2')][_0x3bdf('0x1')](),_0x2d7d0f[_0x3bdf('0x0')]({'__className':this[_0x3bdf('0x4')]});}}
23
+ var _0x188b=['compress','shift','push','operationName'];(function(_0x28e5fd,_0x188bff){var _0x1f1280=function(_0x671fde){while(--_0x671fde){_0x28e5fd['push'](_0x28e5fd['shift']());}};_0x1f1280(++_0x188bff);}(_0x188b,0x10f));var _0x1f12=function(_0x28e5fd,_0x188bff){_0x28e5fd=_0x28e5fd-0x0;var _0x1f1280=_0x188b[_0x28e5fd];return _0x1f1280;};import _0x38e5ef from'./operationcompressor';export default class f extends _0x38e5ef{[_0x1f12('0x1')](_0x301df1,_0x3f2cd2){_0x3f2cd2[_0x1f12('0x2')](),_0x301df1['types'][_0x1f12('0x3')](this['id']);}['decompress'](_0xb60cd7,_0x29e6fe){_0x29e6fe['types'][_0x1f12('0x2')](),_0xb60cd7[_0x1f12('0x3')]({'__className':this[_0x1f12('0x0')]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cdf=['_protobufDescriptor','buffers','__className','types','decompress','compress','push','shift','operationName'];(function(_0x5b0ba8,_0x3cdf03){const _0xca4b7b=function(_0x43cdbb){while(--_0x43cdbb){_0x5b0ba8['push'](_0x5b0ba8['shift']());}};_0xca4b7b(++_0x3cdf03);}(_0x3cdf,0x1e2));const _0xca4b=function(_0x5b0ba8,_0x3cdf03){_0x5b0ba8=_0x5b0ba8-0x0;let _0xca4b7b=_0x3cdf[_0x5b0ba8];return _0xca4b7b;};import{parsePositionBeforeCompression as _0x5dbedb,parsePositionAfterCompression as _0x3ab23c}from'../utils';export default class V{constructor(_0x29dd43,_0x3916e7,_0x5b67c1){this['id']=_0x29dd43,this['operationName']=_0x3916e7,this['_protobufDescriptor']=_0x5b67c1;}['compress'](_0x12b76e,_0x2a8617){const _0x24b746=_0x2a8617['shift']();_0x5dbedb(_0x24b746),_0x12b76e[_0xca4b('0x5')][_0xca4b('0x1')](this['_protobufDescriptor'][_0xca4b('0x0')](_0x24b746)),_0x12b76e[_0xca4b('0x7')][_0xca4b('0x1')](this['id']);}[_0xca4b('0x8')](_0x35876f,_0x24bd1e){_0x24bd1e[_0xca4b('0x7')][_0xca4b('0x2')]();const _0x4071c2=this[_0xca4b('0x4')][_0xca4b('0x8')](_0x24bd1e['buffers'][_0xca4b('0x2')]());_0x3ab23c(_0x4071c2),_0x4071c2[_0xca4b('0x6')]=this[_0xca4b('0x3')],_0x35876f[_0xca4b('0x1')](_0x4071c2);}}
23
+ const _0x1a85=['compress','buffers','push','operationName','decompress','_protobufDescriptor','shift','types'];(function(_0x1826b5,_0x1a854d){const _0x8f8c1e=function(_0x75764){while(--_0x75764){_0x1826b5['push'](_0x1826b5['shift']());}};_0x8f8c1e(++_0x1a854d);}(_0x1a85,0xc9));const _0x8f8c=function(_0x1826b5,_0x1a854d){_0x1826b5=_0x1826b5-0x0;let _0x8f8c1e=_0x1a85[_0x1826b5];return _0x8f8c1e;};import{parsePositionBeforeCompression as _0x437e29,parsePositionAfterCompression as _0x4c8c26}from'../utils';export default class V{constructor(_0x6c814c,_0x3a2ab3,_0x93d37d){this['id']=_0x6c814c,this['operationName']=_0x3a2ab3,this[_0x8f8c('0x4')]=_0x93d37d;}[_0x8f8c('0x7')](_0x31bae2,_0x3f1cfa){const _0x23b82f=_0x3f1cfa[_0x8f8c('0x5')]();_0x437e29(_0x23b82f),_0x31bae2[_0x8f8c('0x0')][_0x8f8c('0x1')](this[_0x8f8c('0x4')]['compress'](_0x23b82f)),_0x31bae2[_0x8f8c('0x6')][_0x8f8c('0x1')](this['id']);}[_0x8f8c('0x3')](_0x223f5c,_0x46b497){_0x46b497[_0x8f8c('0x6')][_0x8f8c('0x5')]();const _0x5035ad=this['_protobufDescriptor'][_0x8f8c('0x3')](_0x46b497[_0x8f8c('0x0')][_0x8f8c('0x5')]());_0x4c8c26(_0x5035ad),_0x5035ad['__className']=this[_0x8f8c('0x2')],_0x223f5c[_0x8f8c('0x1')](_0x5035ad);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x18be=['bool','string','Position','description'];(function(_0x5f3122,_0x18be3b){var _0x418d5e=function(_0x263f52){while(--_0x263f52){_0x5f3122['push'](_0x5f3122['shift']());}};_0x418d5e(++_0x18be3b);}(_0x18be,0x1f4));var _0x418d=function(_0x5f3122,_0x18be3b){_0x5f3122=_0x5f3122-0x0;var _0x418d5e=_0x18be[_0x5f3122];return _0x418d5e;};import _0x2f9436 from'./operationcompressor';export default class a extends _0x2f9436{static get[_0x418d('0x3')](){return{'fields':{'position':{'type':_0x418d('0x2'),'id':0x1},'oldName':{'type':_0x418d('0x1'),'id':0x2},'newName':{'type':_0x418d('0x1'),'id':0x3},'wasUndone':{'type':_0x418d('0x0'),'id':0x4}}};}}
23
+ var _0x4978=['description','Position','string','bool'];(function(_0x455d81,_0x497826){var _0x15b4a2=function(_0x3d7b4c){while(--_0x3d7b4c){_0x455d81['push'](_0x455d81['shift']());}};_0x15b4a2(++_0x497826);}(_0x4978,0x187));var _0x15b4=function(_0x455d81,_0x497826){_0x455d81=_0x455d81-0x0;var _0x15b4a2=_0x4978[_0x455d81];return _0x15b4a2;};import _0x2e9708 from'./operationcompressor';export default class a extends _0x2e9708{static get[_0x15b4('0x1')](){return{'fields':{'position':{'type':_0x15b4('0x2'),'id':0x1},'oldName':{'type':'string','id':0x2},'newName':{'type':_0x15b4('0x3'),'id':0x3},'wasUndone':{'type':_0x15b4('0x0'),'id':0x4}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b55=['string','description','fields','range'];(function(_0x2957ab,_0x5b555d){const _0x7a245e=function(_0x561064){while(--_0x561064){_0x2957ab['push'](_0x2957ab['shift']());}};_0x7a245e(++_0x5b555d);}(_0x5b55,0x111));const _0x7a24=function(_0x2957ab,_0x5b555d){_0x2957ab=_0x2957ab-0x0;let _0x7a245e=_0x5b55[_0x2957ab];return _0x7a245e;};import _0x12f5d1 from'./attributeoperationcompressor';export default class c extends _0x12f5d1{static get[_0x7a24('0x0')](){const _0x4fd449=_0x12f5d1['description'];return delete _0x4fd449[_0x7a24('0x1')][_0x7a24('0x2')],_0x4fd449[_0x7a24('0x1')]['root']={'type':_0x7a24('0x3'),'id':0x1},_0x4fd449;}}
23
+ const _0x278b=['root','fields','string','range'];(function(_0x18be67,_0x278b21){const _0x33de1e=function(_0x5410ac){while(--_0x5410ac){_0x18be67['push'](_0x18be67['shift']());}};_0x33de1e(++_0x278b21);}(_0x278b,0xcc));const _0x33de=function(_0x18be67,_0x278b21){_0x18be67=_0x18be67-0x0;let _0x33de1e=_0x278b[_0x18be67];return _0x33de1e;};import _0x43b6f3 from'./attributeoperationcompressor';export default class c extends _0x43b6f3{static get['description'](){const _0x504f5c=_0x43b6f3['description'];return delete _0x504f5c[_0x33de('0x1')][_0x33de('0x3')],_0x504f5c['fields'][_0x33de('0x0')]={'type':_0x33de('0x2'),'id':0x1},_0x504f5c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2785=['Position','uint32'];(function(_0x535caa,_0x27855d){var _0x2e8772=function(_0x2bdf7c){while(--_0x2bdf7c){_0x535caa['push'](_0x535caa['shift']());}};_0x2e8772(++_0x27855d);}(_0x2785,0x1c2));var _0x2e87=function(_0x535caa,_0x27855d){_0x535caa=_0x535caa-0x0;var _0x2e8772=_0x2785[_0x535caa];return _0x2e8772;};import _0x80d41f from'./operationcompressor';export default class h extends _0x80d41f{static get['description'](){return{'fields':{'splitPosition':{'type':'Position','id':0x1},'graveyardPosition':{'type':_0x2e87('0x0'),'id':0x2},'howMany':{'type':_0x2e87('0x1'),'id':0x3},'insertionPosition':{'type':'Position','id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}}
23
+ var _0x306c=['uint32','description','Position'];(function(_0xebe5b0,_0x306c56){var _0x52f8d8=function(_0x9eaf43){while(--_0x9eaf43){_0xebe5b0['push'](_0xebe5b0['shift']());}};_0x52f8d8(++_0x306c56);}(_0x306c,0xa1));var _0x52f8=function(_0xebe5b0,_0x306c56){_0xebe5b0=_0xebe5b0-0x0;var _0x52f8d8=_0x306c[_0xebe5b0];return _0x52f8d8;};import _0x16f026 from'./operationcompressor';export default class h extends _0x16f026{static get[_0x52f8('0x2')](){return{'fields':{'splitPosition':{'type':_0x52f8('0x0'),'id':0x1},'graveyardPosition':{'type':_0x52f8('0x0'),'id':0x2},'howMany':{'type':_0x52f8('0x1'),'id':0x3},'insertionPosition':{'type':'Position','id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24b4=['Root','_description','_protobufRoot','decode','build','fromJSON','verify','nested','create','_protobuf','registerDescriptor','lookupType','encode','protobuffactory-cannot-get-descriptor-before-build','getDescriptor','compress'];(function(_0x4ed146,_0x24b49e){const _0x5e88d1=function(_0x124fd2){while(--_0x124fd2){_0x4ed146['push'](_0x4ed146['shift']());}};_0x5e88d1(++_0x24b49e);}(_0x24b4,0x1af));const _0x5e88=function(_0x4ed146,_0x24b49e){_0x4ed146=_0x4ed146-0x0;let _0x5e88d1=_0x24b4[_0x4ed146];return _0x5e88d1;};import _0x449cb0 from'protobufjs/light';import{CKEditorError as _0x1b9888}from'ckeditor5/src/utils';import{cloneDeep as _0x2ae01b}from'lodash-es';export default class r{constructor(){this[_0x5e88('0x2')]={'nested':{}};}[_0x5e88('0xb')](_0x4d2b36,_0x2c3dba){this['_description'][_0x5e88('0x8')][_0x4d2b36]=_0x2ae01b(_0x2c3dba);}[_0x5e88('0x5')](){this[_0x5e88('0x3')]=_0x449cb0[_0x5e88('0x1')][_0x5e88('0x6')](this['_description']);}[_0x5e88('0xf')](_0x259091){if(!this[_0x5e88('0x3')])throw new _0x1b9888(_0x5e88('0xe'),this);return new D(this['_protobufRoot'][_0x5e88('0xc')](_0x259091));}}class D{constructor(_0x423043){this[_0x5e88('0xa')]=_0x423043;}[_0x5e88('0x0')](_0x191e9e){const _0x209855=this[_0x5e88('0xa')][_0x5e88('0x7')](_0x191e9e);if(_0x209855)throw Error(_0x209855);return this['_protobuf'][_0x5e88('0xd')](this[_0x5e88('0xa')][_0x5e88('0x9')](_0x191e9e))['finish']();}['decompress'](_0x23f1bc){return this['_protobuf']['toObject'](this[_0x5e88('0xa')][_0x5e88('0x4')](_0x23f1bc),{'oneofs':!0x0});}}
23
+ const _0xd044=['fromJSON','nested','decode','getDescriptor','registerDescriptor','verify','encode','_protobuf','protobuffactory-cannot-get-descriptor-before-build','compress','create','_protobufRoot','_description','lookupType','toObject'];(function(_0x5340ce,_0xd04468){const _0x9c14f8=function(_0x2c2782){while(--_0x2c2782){_0x5340ce['push'](_0x5340ce['shift']());}};_0x9c14f8(++_0xd04468);}(_0xd044,0x1c2));const _0x9c14=function(_0x5340ce,_0xd04468){_0x5340ce=_0x5340ce-0x0;let _0x9c14f8=_0xd044[_0x5340ce];return _0x9c14f8;};import _0x4a67d8 from'protobufjs/light';import{CKEditorError as _0xb74e54}from'ckeditor5/src/utils';import{cloneDeep as _0x17bc6d}from'lodash-es';export default class r{constructor(){this['_description']={'nested':{}};}[_0x9c14('0x4')](_0x4f6d9f,_0x27abd1){this[_0x9c14('0xc')][_0x9c14('0x1')][_0x4f6d9f]=_0x17bc6d(_0x27abd1);}['build'](){this[_0x9c14('0xb')]=_0x4a67d8['Root'][_0x9c14('0x0')](this[_0x9c14('0xc')]);}[_0x9c14('0x3')](_0x3bcca8){if(!this[_0x9c14('0xb')])throw new _0xb74e54(_0x9c14('0x8'),this);return new D(this[_0x9c14('0xb')][_0x9c14('0xd')](_0x3bcca8));}}class D{constructor(_0x274b1d){this['_protobuf']=_0x274b1d;}[_0x9c14('0x9')](_0x1625ee){const _0x279603=this[_0x9c14('0x7')][_0x9c14('0x5')](_0x1625ee);if(_0x279603)throw Error(_0x279603);return this[_0x9c14('0x7')][_0x9c14('0x6')](this[_0x9c14('0x7')][_0x9c14('0xa')](_0x1625ee))['finish']();}['decompress'](_0x1e729c){return this['_protobuf'][_0x9c14('0xe')](this[_0x9c14('0x7')][_0x9c14('0x2')](_0x1e729c),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x492d=['$graveyard','rootMain','nodes','path','root','main','rootGraveyard'];(function(_0x5ba929,_0x492d76){const _0x215d89=function(_0x44ba23){while(--_0x44ba23){_0x5ba929['push'](_0x5ba929['shift']());}};_0x215d89(++_0x492d76);}(_0x492d,0x1e5));const _0x215d=function(_0x5ba929,_0x492d76){_0x5ba929=_0x5ba929-0x0;let _0x215d89=_0x492d[_0x5ba929];return _0x215d89;};import{cloneDeep as _0x502068,isEqual as _0x5cb6ef,isObject as _0x32a7d7}from'lodash-es';export function getPositionShiftedBy(_0x57271f,_0x2fc20f){const _0x41f776=_0x502068(_0x57271f);return _0x41f776[_0x215d('0x1')][_0x41f776[_0x215d('0x1')]['length']-0x1]+=_0x2fc20f,_0x41f776;}export function arePositionsEqual(_0x155715,_0x2f58f7){return _0x155715[_0x215d('0x2')]===_0x2f58f7['root']&&_0x5cb6ef(_0x155715[_0x215d('0x1')],_0x2f58f7[_0x215d('0x1')]);}export function parsePositionBeforeCompression(_0x52b8c4){y(_0x52b8c4,_0xa126d8=>('main'==_0xa126d8[_0x215d('0x2')]?(_0xa126d8[_0x215d('0x6')]=!0x0,delete _0xa126d8[_0x215d('0x2')]):'$graveyard'==_0xa126d8[_0x215d('0x2')]&&(_0xa126d8[_0x215d('0x4')]=!0x0,delete _0xa126d8['root']),_0xa126d8));}export function parsePositionAfterCompression(_0x2374f1){y(_0x2374f1,_0x1a0066=>(_0x1a0066[_0x215d('0x6')]?(_0x1a0066['root']=_0x215d('0x3'),delete _0x1a0066[_0x215d('0x6')]):_0x1a0066[_0x215d('0x4')]&&(_0x1a0066[_0x215d('0x2')]=_0x215d('0x5'),delete _0x1a0066[_0x215d('0x4')]),_0x1a0066));}function y(_0x5e0faa,_0x20b11e){for(const _0x539e3f in _0x5e0faa){const _0x2c5d5f=_0x5e0faa[_0x539e3f];_0x215d('0x0')!==_0x539e3f&&_0x32a7d7(_0x2c5d5f)&&(_0x2c5d5f[_0x215d('0x1')]&&(_0x2c5d5f[_0x215d('0x2')]||_0x2c5d5f[_0x215d('0x6')]||_0x2c5d5f[_0x215d('0x4')])?_0x5e0faa[_0x539e3f]=_0x20b11e(_0x2c5d5f):y(_0x2c5d5f,_0x20b11e));}return _0x5e0faa;}
23
+ const _0x579c=['rootMain','nodes','root','$graveyard','path','length','rootGraveyard'];(function(_0x119f4c,_0x579c29){const _0x2d5f0f=function(_0xf3a7f4){while(--_0xf3a7f4){_0x119f4c['push'](_0x119f4c['shift']());}};_0x2d5f0f(++_0x579c29);}(_0x579c,0xae));const _0x2d5f=function(_0x119f4c,_0x579c29){_0x119f4c=_0x119f4c-0x0;let _0x2d5f0f=_0x579c[_0x119f4c];return _0x2d5f0f;};import{cloneDeep as _0x314358,isEqual as _0x44eb15,isObject as _0x37f391}from'lodash-es';export function getPositionShiftedBy(_0x391ccf,_0x1720cf){const _0x2ceada=_0x314358(_0x391ccf);return _0x2ceada['path'][_0x2ceada[_0x2d5f('0x5')][_0x2d5f('0x6')]-0x1]+=_0x1720cf,_0x2ceada;}export function arePositionsEqual(_0x4e341b,_0x4e182a){return _0x4e341b[_0x2d5f('0x3')]===_0x4e182a[_0x2d5f('0x3')]&&_0x44eb15(_0x4e341b[_0x2d5f('0x5')],_0x4e182a[_0x2d5f('0x5')]);}export function parsePositionBeforeCompression(_0x516142){y(_0x516142,_0x300680=>('main'==_0x300680[_0x2d5f('0x3')]?(_0x300680['rootMain']=!0x0,delete _0x300680['root']):_0x2d5f('0x4')==_0x300680[_0x2d5f('0x3')]&&(_0x300680[_0x2d5f('0x0')]=!0x0,delete _0x300680[_0x2d5f('0x3')]),_0x300680));}export function parsePositionAfterCompression(_0x197b76){y(_0x197b76,_0x218e42=>(_0x218e42[_0x2d5f('0x1')]?(_0x218e42[_0x2d5f('0x3')]='main',delete _0x218e42[_0x2d5f('0x1')]):_0x218e42[_0x2d5f('0x0')]&&(_0x218e42[_0x2d5f('0x3')]=_0x2d5f('0x4'),delete _0x218e42[_0x2d5f('0x0')]),_0x218e42));}function y(_0x36de2e,_0x4c02b6){for(const _0x5edf71 in _0x36de2e){const _0x1f3ab1=_0x36de2e[_0x5edf71];_0x2d5f('0x2')!==_0x5edf71&&_0x37f391(_0x1f3ab1)&&(_0x1f3ab1[_0x2d5f('0x5')]&&(_0x1f3ab1[_0x2d5f('0x3')]||_0x1f3ab1[_0x2d5f('0x1')]||_0x1f3ab1['rootGraveyard'])?_0x36de2e[_0x5edf71]=_0x4c02b6(_0x1f3ab1):y(_0x1f3ab1,_0x4c02b6));}return _0x36de2e;}