@ckeditor/ckeditor5-operations-compressor 36.0.0 → 36.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-operations-compressor",
3
- "version": "36.0.0",
3
+ "version": "36.0.1",
4
4
  "description": "CKEditor 5 operations compressor for real-time collaboration.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://ckeditor.com/collaboration/real-time/",
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "author": "CKSource (http://cksource.com/)",
29
29
  "dependencies": {
30
- "ckeditor5": "^36.0.0",
30
+ "ckeditor5": "^36.0.1",
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 _0x299b=['decompress','_combineNext','_decompressSingleOperation','_splitCurrent','_context','length','types','compress','push','_compressSingleOperation','_compareOperations','shift','buffers'];(function(_0x3a894c,_0x299bab){const _0x2a313d=function(_0x2db042){while(--_0x2db042){_0x3a894c['push'](_0x3a894c['shift']());}};_0x2a313d(++_0x299bab);}(_0x299b,0x15a));const _0x2a31=function(_0x3a894c,_0x299bab){_0x3a894c=_0x3a894c-0x0;let _0x2a313d=_0x299b[_0x3a894c];return _0x2a313d;};import{cloneDeep as _0x5c1935}from'lodash-es';export default class j{constructor(_0x35c0dd,_0x34c6b7){this['id']=_0x35c0dd,this[_0x2a31('0x9')]=_0x34c6b7;}[_0x2a31('0xc')](_0x1c3261,_0x29bed4){let _0x4c15f8;for(;_0x29bed4[_0x2a31('0xa')]>0x1&&this[_0x2a31('0x2')](_0x29bed4[0x0],_0x29bed4[0x1]);)_0x4c15f8?(_0x4c15f8=this[_0x2a31('0x6')](_0x29bed4[_0x2a31('0x3')](),_0x4c15f8),_0x1c3261[_0x2a31('0xb')][_0x2a31('0x0')](0x0)):(_0x4c15f8=_0x5c1935(_0x29bed4[_0x2a31('0x3')]()),_0x1c3261[_0x2a31('0xb')][_0x2a31('0x0')](this['id']));return!!_0x4c15f8&&(_0x4c15f8=this[_0x2a31('0x6')](_0x29bed4[_0x2a31('0x3')](),_0x4c15f8),_0x1c3261[_0x2a31('0xb')][_0x2a31('0x0')](0x0),_0x1c3261[_0x2a31('0x4')][_0x2a31('0x0')](this[_0x2a31('0x1')](_0x4c15f8)),!0x0);}[_0x2a31('0x5')](_0x1cfe20,_0x74aabd){const _0x17b0f8=this[_0x2a31('0x7')](_0x74aabd);for(;0x0==_0x74aabd['types'][0x0];)_0x74aabd['types'][_0x2a31('0x3')](),_0x1cfe20[_0x2a31('0x0')](this[_0x2a31('0x8')](_0x17b0f8));_0x1cfe20['push'](_0x17b0f8);}}
23
+ const _0x43a4=['compress','_splitCurrent','buffers','decompress','types','shift','_context','_decompressSingleOperation','push','_combineNext'];(function(_0x8ec5fc,_0x43a46b){const _0x8d228f=function(_0x60faf5){while(--_0x60faf5){_0x8ec5fc['push'](_0x8ec5fc['shift']());}};_0x8d228f(++_0x43a46b);}(_0x43a4,0x89));const _0x8d22=function(_0x8ec5fc,_0x43a46b){_0x8ec5fc=_0x8ec5fc-0x0;let _0x8d228f=_0x43a4[_0x8ec5fc];return _0x8d228f;};import{cloneDeep as _0x561270}from'lodash-es';export default class j{constructor(_0x1d0788,_0x59dfcb){this['id']=_0x1d0788,this[_0x8d22('0x9')]=_0x59dfcb;}[_0x8d22('0x3')](_0x1f1812,_0x52ff3b){let _0x2ec3d4;for(;_0x52ff3b['length']>0x1&&this['_compareOperations'](_0x52ff3b[0x0],_0x52ff3b[0x1]);)_0x2ec3d4?(_0x2ec3d4=this['_combineNext'](_0x52ff3b[_0x8d22('0x8')](),_0x2ec3d4),_0x1f1812[_0x8d22('0x7')]['push'](0x0)):(_0x2ec3d4=_0x561270(_0x52ff3b[_0x8d22('0x8')]()),_0x1f1812[_0x8d22('0x7')][_0x8d22('0x1')](this['id']));return!!_0x2ec3d4&&(_0x2ec3d4=this[_0x8d22('0x2')](_0x52ff3b[_0x8d22('0x8')](),_0x2ec3d4),_0x1f1812[_0x8d22('0x7')][_0x8d22('0x1')](0x0),_0x1f1812[_0x8d22('0x5')][_0x8d22('0x1')](this['_compressSingleOperation'](_0x2ec3d4)),!0x0);}[_0x8d22('0x6')](_0x25eb82,_0x4d227e){const _0x514ee0=this[_0x8d22('0x0')](_0x4d227e);for(;0x0==_0x4d227e[_0x8d22('0x7')][0x0];)_0x4d227e[_0x8d22('0x7')][_0x8d22('0x8')](),_0x25eb82[_0x8d22('0x1')](this[_0x8d22('0x4')](_0x514ee0));_0x25eb82['push'](_0x514ee0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ffe=['_decompressSingleOperation','buffers','_context','howMany','sourcePosition','decompress','_compressSingleOperation','MoveOperation','_splitCurrent','_compareOperations','compress','targetPosition','$graveyard','_getCompressorByName','root'];(function(_0x5c4f9a,_0x2ffecb){const _0x5e0c4b=function(_0x3c9b5e){while(--_0x3c9b5e){_0x5c4f9a['push'](_0x5c4f9a['shift']());}};_0x5e0c4b(++_0x2ffecb);}(_0x2ffe,0x1e8));const _0x5e0c=function(_0x5c4f9a,_0x2ffecb){_0x5c4f9a=_0x5c4f9a-0x0;let _0x5e0c4b=_0x2ffe[_0x5c4f9a];return _0x5e0c4b;};import _0x4577ba from'./actioncompressor';import{arePositionsEqual as _0x368bcd,getPositionShiftedBy as _0x112606}from'../utils';import{cloneDeep as _0x1b188f}from'lodash-es';export default class u extends _0x4577ba{['_combineNext'](_0x5802be,_0x39f52f){return _0x39f52f[_0x5e0c('0xa')]++,_0x39f52f['sourcePosition']=_0x1b188f(_0x5802be[_0x5e0c('0xb')]),_0x39f52f;}[_0x5e0c('0x0')](_0x4bf61f){const _0x14ad07=_0x1b188f(_0x4bf61f);return _0x4bf61f[_0x5e0c('0xa')]--,_0x14ad07[_0x5e0c('0xa')]=0x1,_0x14ad07[_0x5e0c('0xb')]=_0x112606(_0x14ad07[_0x5e0c('0xb')],_0x4bf61f[_0x5e0c('0xa')]),_0x14ad07;}[_0x5e0c('0x1')](_0xdbca8c,_0x436660){return!(!S(_0xdbca8c)||!S(_0x436660))&&(_0x368bcd(_0x112606(_0xdbca8c[_0x5e0c('0xb')],-0x1),_0x436660[_0x5e0c('0xb')])&&_0x368bcd(_0xdbca8c[_0x5e0c('0x3')],_0x436660[_0x5e0c('0x3')]));}[_0x5e0c('0xd')](_0x337750){const _0x5c8fc3={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5e0c('0x9')][_0x5e0c('0x5')]('MoveOperation')[_0x5e0c('0x2')](_0x5c8fc3,[_0x337750]),_0x5c8fc3[_0x5e0c('0x8')][0x0];}[_0x5e0c('0x7')](_0x534dc7){const _0x4f0bef=[];return this[_0x5e0c('0x9')][_0x5e0c('0x5')]('MoveOperation')[_0x5e0c('0xc')](_0x4f0bef,_0x534dc7),_0x4f0bef[0x0];}}function S(_0x52af66){return _0x5e0c('0xe')==_0x52af66['__className']&&_0x5e0c('0x4')==_0x52af66[_0x5e0c('0x3')][_0x5e0c('0x6')]&&0x1==_0x52af66[_0x5e0c('0xa')]&&!_0x52af66['wasUndone'];}
23
+ const _0x21fc=['$graveyard','MoveOperation','root','sourcePosition','compress','_compareOperations','_context','_splitCurrent','targetPosition','_compressSingleOperation','_getCompressorByName','howMany','__className','buffers'];(function(_0x251a79,_0x21fcaa){const _0x2d58ea=function(_0x39ebed){while(--_0x39ebed){_0x251a79['push'](_0x251a79['shift']());}};_0x2d58ea(++_0x21fcaa);}(_0x21fc,0xff));const _0x2d58=function(_0x251a79,_0x21fcaa){_0x251a79=_0x251a79-0x0;let _0x2d58ea=_0x21fc[_0x251a79];return _0x2d58ea;};import _0x2987c0 from'./actioncompressor';import{arePositionsEqual as _0x4424f4,getPositionShiftedBy as _0x19c4aa}from'../utils';import{cloneDeep as _0x150960}from'lodash-es';export default class u extends _0x2987c0{['_combineNext'](_0x540f7b,_0x34d574){return _0x34d574[_0x2d58('0x8')]++,_0x34d574[_0x2d58('0x0')]=_0x150960(_0x540f7b[_0x2d58('0x0')]),_0x34d574;}[_0x2d58('0x4')](_0x5dbb58){const _0x55fa21=_0x150960(_0x5dbb58);return _0x5dbb58[_0x2d58('0x8')]--,_0x55fa21[_0x2d58('0x8')]=0x1,_0x55fa21[_0x2d58('0x0')]=_0x19c4aa(_0x55fa21[_0x2d58('0x0')],_0x5dbb58[_0x2d58('0x8')]),_0x55fa21;}[_0x2d58('0x2')](_0x106053,_0x50baff){return!(!S(_0x106053)||!S(_0x50baff))&&(_0x4424f4(_0x19c4aa(_0x106053[_0x2d58('0x0')],-0x1),_0x50baff[_0x2d58('0x0')])&&_0x4424f4(_0x106053[_0x2d58('0x5')],_0x50baff[_0x2d58('0x5')]));}[_0x2d58('0x6')](_0x458004){const _0x57181c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2d58('0x3')][_0x2d58('0x7')](_0x2d58('0xc'))[_0x2d58('0x1')](_0x57181c,[_0x458004]),_0x57181c[_0x2d58('0xa')][0x0];}['_decompressSingleOperation'](_0x53f523){const _0x2e7e37=[];return this['_context'][_0x2d58('0x7')]('MoveOperation')['decompress'](_0x2e7e37,_0x53f523),_0x2e7e37[0x0];}}function S(_0x5c2150){return _0x2d58('0xc')==_0x5c2150[_0x2d58('0x9')]&&_0x2d58('0xb')==_0x5c2150['targetPosition'][_0x2d58('0xd')]&&0x1==_0x5c2150[_0x2d58('0x8')]&&!_0x5c2150['wasUndone'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2dff=['_getCompressorByName','decompress','_compressSingleOperation','MoveOperation','_splitCurrent','targetPosition','_context','root','__className','_decompressSingleOperation','buffers','sourcePosition','howMany','_combineNext','wasUndone'];(function(_0x2b22a4,_0x2dffda){const _0xae1e2b=function(_0x2c633d){while(--_0x2c633d){_0x2b22a4['push'](_0x2b22a4['shift']());}};_0xae1e2b(++_0x2dffda);}(_0x2dff,0x119));const _0xae1e=function(_0x2b22a4,_0x2dffda){_0x2b22a4=_0x2b22a4-0x0;let _0xae1e2b=_0x2dff[_0x2b22a4];return _0xae1e2b;};import _0x3f38c7 from'./actioncompressor';import{arePositionsEqual as _0x4ff2f2}from'../utils';import{cloneDeep as _0x2a409c}from'lodash-es';export default class l extends _0x3f38c7{[_0xae1e('0x2')](_0x54abfa,_0x285578){return _0x285578[_0xae1e('0x1')]++,_0x285578;}[_0xae1e('0x8')](_0x385147){const _0x526bac=_0x2a409c(_0x385147);return _0x526bac[_0xae1e('0x1')]=0x1,_0x385147[_0xae1e('0x1')]--,_0x526bac;}['_compareOperations'](_0x5f5ba2,_0x342271){return!(!S(_0x5f5ba2)||!S(_0x342271))&&(_0x4ff2f2(_0x5f5ba2[_0xae1e('0x0')],_0x342271[_0xae1e('0x0')])&&_0x4ff2f2(_0x5f5ba2[_0xae1e('0x9')],_0x342271[_0xae1e('0x9')]));}[_0xae1e('0x6')](_0x505f08){const _0x35633a={'types':[],'buffers':[],'baseVersion':0x0};return this['_context'][_0xae1e('0x4')](_0xae1e('0x7'))['compress'](_0x35633a,[_0x505f08]),_0x35633a[_0xae1e('0xe')][0x0];}[_0xae1e('0xd')](_0xe32b1b){const _0xaf2612=[];return this[_0xae1e('0xa')][_0xae1e('0x4')]('MoveOperation')[_0xae1e('0x5')](_0xaf2612,_0xe32b1b),_0xaf2612[0x0];}}function S(_0xef0c6e){return _0xae1e('0x7')==_0xef0c6e[_0xae1e('0xc')]&&'$graveyard'==_0xef0c6e['targetPosition'][_0xae1e('0xb')]&&0x1==_0xef0c6e[_0xae1e('0x1')]&&!_0xef0c6e[_0xae1e('0x3')];}
23
+ const _0x3e43=['_decompressSingleOperation','howMany','_combineNext','decompress','MoveOperation','sourcePosition','_splitCurrent','wasUndone','_compareOperations','_compressSingleOperation','_context','compress','root','buffers','targetPosition','$graveyard'];(function(_0x4d8a09,_0x3e431f){const _0x3e967a=function(_0x2c826b){while(--_0x2c826b){_0x4d8a09['push'](_0x4d8a09['shift']());}};_0x3e967a(++_0x3e431f);}(_0x3e43,0x1aa));const _0x3e96=function(_0x4d8a09,_0x3e431f){_0x4d8a09=_0x4d8a09-0x0;let _0x3e967a=_0x3e43[_0x4d8a09];return _0x3e967a;};import _0x2396a1 from'./actioncompressor';import{arePositionsEqual as _0x4dc739}from'../utils';import{cloneDeep as _0x3ca661}from'lodash-es';export default class l extends _0x2396a1{[_0x3e96('0x8')](_0x1c1678,_0x41633e){return _0x41633e[_0x3e96('0x7')]++,_0x41633e;}[_0x3e96('0xc')](_0x4d79eb){const _0x190660=_0x3ca661(_0x4d79eb);return _0x190660[_0x3e96('0x7')]=0x1,_0x4d79eb[_0x3e96('0x7')]--,_0x190660;}[_0x3e96('0xe')](_0x4c6dd2,_0x45f700){return!(!S(_0x4c6dd2)||!S(_0x45f700))&&(_0x4dc739(_0x4c6dd2[_0x3e96('0xb')],_0x45f700['sourcePosition'])&&_0x4dc739(_0x4c6dd2[_0x3e96('0x4')],_0x45f700[_0x3e96('0x4')]));}[_0x3e96('0xf')](_0x219ea7){const _0x1867a8={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3e96('0x0')]['_getCompressorByName'](_0x3e96('0xa'))[_0x3e96('0x1')](_0x1867a8,[_0x219ea7]),_0x1867a8[_0x3e96('0x3')][0x0];}[_0x3e96('0x6')](_0x2f6d38){const _0x1c6758=[];return this[_0x3e96('0x0')]['_getCompressorByName'](_0x3e96('0xa'))[_0x3e96('0x9')](_0x1c6758,_0x2f6d38),_0x1c6758[0x0];}}function S(_0x269900){return _0x3e96('0xa')==_0x269900['__className']&&_0x3e96('0x5')==_0x269900[_0x3e96('0x4')][_0x3e96('0x2')]&&0x1==_0x269900[_0x3e96('0x7')]&&!_0x269900[_0x3e96('0xd')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4254=['nodes','next','value','_compareOperations','wasUndone','iterator','_splitCurrent','data','__className','_decompressSingleOperation','_combineNext','InsertOperation','_getCompressorByName','keys','length','_context','decompress','position','from','attributes'];(function(_0x15a653,_0x425454){const _0x30dd84=function(_0x36d687){while(--_0x36d687){_0x15a653['push'](_0x15a653['shift']());}};_0x30dd84(++_0x425454);}(_0x4254,0xbf));const _0x30dd=function(_0x15a653,_0x425454){_0x15a653=_0x15a653-0x0;let _0x30dd84=_0x4254[_0x15a653];return _0x30dd84;};import _0xebc114 from'./actioncompressor';import{arePositionsEqual as _0x4725a9,getPositionShiftedBy as _0x559d10}from'../utils';import{cloneDeep as _0xb7658e}from'lodash-es';export default class g extends _0xebc114{[_0x30dd('0x13')](_0x3195fd,_0x471c32){return _0x471c32[_0x30dd('0x9')][0x0][_0x30dd('0x10')]+=_0x3195fd[_0x30dd('0x9')][0x0][_0x30dd('0x10')],_0x471c32;}[_0x30dd('0xf')](_0xca4b92){const _0x4dbcee=_0xb7658e(_0xca4b92),_0x490719=_0x4dbcee[_0x30dd('0x9')][0x0],_0x5ef229=_0xca4b92['nodes'][0x0],_0x593eab=_0x5ef229[_0x30dd('0x10')][Symbol[_0x30dd('0xe')]]()[_0x30dd('0xa')]()[_0x30dd('0xb')],_0x134d10=_0x593eab['length'];return _0x490719[_0x30dd('0x10')]=_0x593eab,_0x5ef229[_0x30dd('0x10')]=_0x5ef229[_0x30dd('0x10')]['substr'](_0x134d10),_0xca4b92[_0x30dd('0x6')]=_0x559d10(_0xca4b92[_0x30dd('0x6')],_0x134d10),_0x4dbcee;}[_0x30dd('0xc')](_0x4dd982,_0xd25b57){if(S(_0x4dd982)&&S(_0xd25b57)){const _0x5056a3=_0x4dd982[_0x30dd('0x9')][0x0]['data'][_0x30dd('0x3')],_0x4486c2=_0x4725a9(_0x559d10(_0x4dd982[_0x30dd('0x6')],_0x5056a3),_0xd25b57[_0x30dd('0x6')]),_0x39abb1=_0x4dd982[_0x30dd('0x9')][0x0],_0x1dab7c=_0xd25b57['nodes'][0x0];return _0x4486c2&&function(_0x446bf9,_0x28c784){const _0x31b185=Object['keys'](_0x446bf9[_0x30dd('0x8')]||{}),_0x18fac8=Object[_0x30dd('0x2')](_0x28c784[_0x30dd('0x8')]||{});if(_0x31b185[_0x30dd('0x3')]!==_0x18fac8[_0x30dd('0x3')])return!0x1;return _0x31b185['every'](_0x37df8a=>_0x28c784[_0x30dd('0x8')][_0x37df8a]&&_0x28c784[_0x30dd('0x8')][_0x37df8a]===_0x446bf9['attributes'][_0x37df8a]);}(_0x39abb1,_0x1dab7c);}return!0x1;}['_compressSingleOperation'](_0x4eec51){const _0x251b7d={'types':[],'buffers':[],'baseVersion':0x0};return this['_context'][_0x30dd('0x1')](_0x30dd('0x0'))['compress'](_0x251b7d,[_0x4eec51]),_0x251b7d['buffers'][0x0];}[_0x30dd('0x12')](_0x556ccf){const _0x4bfec4=[];return this[_0x30dd('0x4')][_0x30dd('0x1')](_0x30dd('0x0'))[_0x30dd('0x5')](_0x4bfec4,_0x556ccf),_0x4bfec4[0x0];}}function S(_0x40c478){return _0x30dd('0x0')==_0x40c478[_0x30dd('0x11')]&&0x1==_0x40c478[_0x30dd('0x9')][_0x30dd('0x3')]&&_0x40c478['nodes'][0x0][_0x30dd('0x10')]&&!_0x40c478[_0x30dd('0xd')]&&0x1==Array[_0x30dd('0x7')](_0x40c478[_0x30dd('0x9')][0x0][_0x30dd('0x10')])['length'];}
23
+ const _0x41b6=['data','next','_compressSingleOperation','attributes','decompress','wasUndone','length','_decompressSingleOperation','_getCompressorByName','nodes','value','buffers','_context','InsertOperation','every','_combineNext','position','_compareOperations','keys','substr'];(function(_0x3d1594,_0x41b678){const _0x35f9c2=function(_0x4113d7){while(--_0x4113d7){_0x3d1594['push'](_0x3d1594['shift']());}};_0x35f9c2(++_0x41b678);}(_0x41b6,0x164));const _0x35f9=function(_0x3d1594,_0x41b678){_0x3d1594=_0x3d1594-0x0;let _0x35f9c2=_0x41b6[_0x3d1594];return _0x35f9c2;};import _0x206378 from'./actioncompressor';import{arePositionsEqual as _0xcbe1c4,getPositionShiftedBy as _0x3e82f7}from'../utils';import{cloneDeep as _0x599f86}from'lodash-es';export default class g extends _0x206378{[_0x35f9('0x13')](_0x379fc9,_0x2897fc){return _0x2897fc[_0x35f9('0xd')][0x0][_0x35f9('0x4')]+=_0x379fc9[_0x35f9('0xd')][0x0][_0x35f9('0x4')],_0x2897fc;}['_splitCurrent'](_0x58dfe9){const _0x18696e=_0x599f86(_0x58dfe9),_0x36ceec=_0x18696e[_0x35f9('0xd')][0x0],_0x91430c=_0x58dfe9[_0x35f9('0xd')][0x0],_0xfc8549=_0x91430c['data'][Symbol['iterator']]()[_0x35f9('0x5')]()[_0x35f9('0xe')],_0x51dec6=_0xfc8549[_0x35f9('0xa')];return _0x36ceec[_0x35f9('0x4')]=_0xfc8549,_0x91430c[_0x35f9('0x4')]=_0x91430c[_0x35f9('0x4')][_0x35f9('0x3')](_0x51dec6),_0x58dfe9[_0x35f9('0x0')]=_0x3e82f7(_0x58dfe9[_0x35f9('0x0')],_0x51dec6),_0x18696e;}[_0x35f9('0x1')](_0x3a227d,_0x13c093){if(S(_0x3a227d)&&S(_0x13c093)){const _0x32918c=_0x3a227d['nodes'][0x0][_0x35f9('0x4')][_0x35f9('0xa')],_0xece04d=_0xcbe1c4(_0x3e82f7(_0x3a227d[_0x35f9('0x0')],_0x32918c),_0x13c093[_0x35f9('0x0')]),_0x28d933=_0x3a227d['nodes'][0x0],_0x27b1f5=_0x13c093[_0x35f9('0xd')][0x0];return _0xece04d&&function(_0x1be417,_0x46807a){const _0x40d97f=Object[_0x35f9('0x2')](_0x1be417[_0x35f9('0x7')]||{}),_0x46adef=Object['keys'](_0x46807a['attributes']||{});if(_0x40d97f[_0x35f9('0xa')]!==_0x46adef[_0x35f9('0xa')])return!0x1;return _0x40d97f[_0x35f9('0x12')](_0x4b8e42=>_0x46807a[_0x35f9('0x7')][_0x4b8e42]&&_0x46807a[_0x35f9('0x7')][_0x4b8e42]===_0x1be417[_0x35f9('0x7')][_0x4b8e42]);}(_0x28d933,_0x27b1f5);}return!0x1;}[_0x35f9('0x6')](_0x5682fc){const _0x3d5a11={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x35f9('0x10')][_0x35f9('0xc')]('InsertOperation')['compress'](_0x3d5a11,[_0x5682fc]),_0x3d5a11[_0x35f9('0xf')][0x0];}[_0x35f9('0xb')](_0x51b612){const _0x200e04=[];return this[_0x35f9('0x10')]['_getCompressorByName'](_0x35f9('0x11'))[_0x35f9('0x8')](_0x200e04,_0x51b612),_0x200e04[0x0];}}function S(_0x2bb77a){return _0x35f9('0x11')==_0x2bb77a['__className']&&0x1==_0x2bb77a[_0x35f9('0xd')]['length']&&_0x2bb77a[_0x35f9('0xd')][0x0]['data']&&!_0x2bb77a[_0x35f9('0x9')]&&0x1==Array['from'](_0x2bb77a[_0x35f9('0xd')][0x0][_0x35f9('0x4')])['length'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x419e=['startsWith','start','_compressSingleOperation','decompress','MarkerOperation','_decompressSingleOperation','end','_context','oldRange','push','types','__className','user:position:','newRange','split','name','_getCompressorByName','buffers','compress','shift','stickiness'];(function(_0x18500b,_0x419eba){const _0x470702=function(_0x11209e){while(--_0x11209e){_0x18500b['push'](_0x18500b['shift']());}};_0x470702(++_0x419eba);}(_0x419e,0xca));const _0x4707=function(_0x18500b,_0x419eba){_0x18500b=_0x18500b-0x0;let _0x470702=_0x419e[_0x18500b];return _0x470702;};import _0x1af251 from'./actioncompressor';import{arePositionsEqual as _0xe15bea}from'../utils';import{cloneDeep as _0x11ac23}from'lodash-es';export default class M extends _0x1af251{[_0x4707('0x5')](_0x553661,_0xfba7c3){if(!function(_0x2c6ab9,_0x212aa7){if(!_0x2c6ab9||!_0x212aa7)return!0x1;if(_0x4707('0xc')!=_0x2c6ab9[_0x4707('0x13')]||_0x4707('0xc')!=_0x212aa7[_0x4707('0x13')])return!0x1;if(_0x2c6ab9[_0x4707('0x2')]['startsWith']('user:')&&_0x212aa7[_0x4707('0x2')][_0x4707('0x8')]('user:')&&_0x2c6ab9['name']!=_0x212aa7[_0x4707('0x2')])return!0x0;return!0x1;}(_0xfba7c3[0x0],_0xfba7c3[0x1]))return!0x1;const _0x56cbeb=_0xfba7c3[_0x4707('0x6')]();return _0x56cbeb[_0x4707('0x10')]=null,_0x56cbeb[_0x4707('0x0')]&&_0xe15bea(_0x56cbeb[_0x4707('0x0')][_0x4707('0x9')],_0x56cbeb['newRange']['end'])&&(_0x56cbeb['newRange'][_0x4707('0xe')]=null),_0xfba7c3[_0x4707('0x6')](),_0x553661[_0x4707('0x12')][_0x4707('0x11')](this['id']),_0x553661[_0x4707('0x12')][_0x4707('0x11')](0x0),_0x553661['buffers']['push'](this[_0x4707('0xa')](_0x56cbeb)),!0x0;}[_0x4707('0xb')](_0x4fe34b,_0x46a778){const _0x56bd15=this[_0x4707('0xd')](_0x46a778);_0x56bd15[_0x4707('0x0')]&&!_0x56bd15[_0x4707('0x0')][_0x4707('0xe')]&&(_0x56bd15[_0x4707('0x0')][_0x4707('0xe')]=_0x11ac23(_0x56bd15[_0x4707('0x0')][_0x4707('0x9')]));const _0x33c745=_0x11ac23(_0x56bd15);_0x33c745[_0x4707('0x0')]&&(_0x33c745[_0x4707('0x0')][_0x4707('0x9')][_0x4707('0x7')]='toNone',_0x33c745['newRange'][_0x4707('0xe')]=_0x11ac23(_0x33c745[_0x4707('0x0')][_0x4707('0x9')])),_0x33c745[_0x4707('0x2')]=_0x4707('0x14')+_0x33c745[_0x4707('0x2')][_0x4707('0x1')](':')[0x2],_0x46a778['types']['shift'](),_0x4fe34b[_0x4707('0x11')](_0x56bd15),_0x4fe34b[_0x4707('0x11')](_0x33c745);}[_0x4707('0xa')](_0x303132){const _0x338302={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4707('0xf')][_0x4707('0x3')](_0x4707('0xc'))['compress'](_0x338302,[_0x303132]),_0x338302[_0x4707('0x4')][0x0];}[_0x4707('0xd')](_0x198d58){const _0x5e65fa=[];return this[_0x4707('0xf')][_0x4707('0x3')](_0x4707('0xc'))['decompress'](_0x5e65fa,_0x198d58),_0x5e65fa[0x0];}}
23
+ const _0x46fc=['buffers','_context','MarkerOperation','_compressSingleOperation','__className','toNone','push','decompress','types','end','oldRange','name','startsWith','stickiness','user:','shift','_decompressSingleOperation','start','newRange','compress','_getCompressorByName'];(function(_0x40c028,_0x46fc1f){const _0xe9125c=function(_0x46b2f7){while(--_0x46b2f7){_0x40c028['push'](_0x40c028['shift']());}};_0xe9125c(++_0x46fc1f);}(_0x46fc,0x174));const _0xe912=function(_0x40c028,_0x46fc1f){_0x40c028=_0x40c028-0x0;let _0xe9125c=_0x46fc[_0x40c028];return _0xe9125c;};import _0x5a6b6b from'./actioncompressor';import{arePositionsEqual as _0x5a130d}from'../utils';import{cloneDeep as _0x3eaed0}from'lodash-es';export default class M extends _0x5a6b6b{[_0xe912('0x4')](_0x5f4937,_0x213112){if(!function(_0x19e656,_0x4b753e){if(!_0x19e656||!_0x4b753e)return!0x1;if(_0xe912('0x8')!=_0x19e656[_0xe912('0xa')]||_0xe912('0x8')!=_0x4b753e[_0xe912('0xa')])return!0x1;if(_0x19e656[_0xe912('0x11')][_0xe912('0x12')]('user:')&&_0x4b753e[_0xe912('0x11')][_0xe912('0x12')](_0xe912('0x14'))&&_0x19e656[_0xe912('0x11')]!=_0x4b753e['name'])return!0x0;return!0x1;}(_0x213112[0x0],_0x213112[0x1]))return!0x1;const _0x2c2b43=_0x213112['shift']();return _0x2c2b43[_0xe912('0x10')]=null,_0x2c2b43['newRange']&&_0x5a130d(_0x2c2b43['newRange'][_0xe912('0x2')],_0x2c2b43[_0xe912('0x3')][_0xe912('0xf')])&&(_0x2c2b43[_0xe912('0x3')]['end']=null),_0x213112[_0xe912('0x0')](),_0x5f4937['types'][_0xe912('0xc')](this['id']),_0x5f4937[_0xe912('0xe')]['push'](0x0),_0x5f4937[_0xe912('0x6')][_0xe912('0xc')](this[_0xe912('0x9')](_0x2c2b43)),!0x0;}['decompress'](_0x2ecf8c,_0x3ed6d3){const _0x26b93b=this[_0xe912('0x1')](_0x3ed6d3);_0x26b93b[_0xe912('0x3')]&&!_0x26b93b[_0xe912('0x3')][_0xe912('0xf')]&&(_0x26b93b[_0xe912('0x3')][_0xe912('0xf')]=_0x3eaed0(_0x26b93b[_0xe912('0x3')][_0xe912('0x2')]));const _0x443ccf=_0x3eaed0(_0x26b93b);_0x443ccf[_0xe912('0x3')]&&(_0x443ccf[_0xe912('0x3')][_0xe912('0x2')][_0xe912('0x13')]=_0xe912('0xb'),_0x443ccf['newRange']['end']=_0x3eaed0(_0x443ccf['newRange'][_0xe912('0x2')])),_0x443ccf[_0xe912('0x11')]='user:position:'+_0x443ccf[_0xe912('0x11')]['split'](':')[0x2],_0x3ed6d3[_0xe912('0xe')][_0xe912('0x0')](),_0x2ecf8c[_0xe912('0xc')](_0x26b93b),_0x2ecf8c['push'](_0x443ccf);}[_0xe912('0x9')](_0x391fb4){const _0x1c3ddf={'types':[],'buffers':[],'baseVersion':0x0};return this['_context'][_0xe912('0x5')]('MarkerOperation')[_0xe912('0x4')](_0x1c3ddf,[_0x391fb4]),_0x1c3ddf[_0xe912('0x6')][0x0];}[_0xe912('0x1')](_0x343cdd){const _0x5b54cf=[];return this[_0xe912('0x7')][_0xe912('0x5')](_0xe912('0x8'))[_0xe912('0xd')](_0x5b54cf,_0x343cdd),_0x5b54cf[0x0];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5146=['bool','Element','Position','string','repeated','uint32'];(function(_0x416d13,_0x514624){var _0x3cb075=function(_0xfdddab){while(--_0xfdddab){_0x416d13['push'](_0x416d13['shift']());}};_0x3cb075(++_0x514624);}(_0x5146,0x177));var _0x3cb0=function(_0x416d13,_0x514624){_0x416d13=_0x416d13-0x0;var _0x3cb075=_0x5146[_0x416d13];return _0x3cb075;};export default{'Position':{'fields':{'root':{'type':_0x3cb0('0x0'),'id':0x1},'rootMain':{'type':_0x3cb0('0x3'),'id':0x2},'rootGraveyard':{'type':_0x3cb0('0x3'),'id':0x3},'path':{'rule':_0x3cb0('0x1'),'type':_0x3cb0('0x2'),'id':0x4},'stickiness':{'type':'string','id':0x5}}},'Range':{'fields':{'start':{'type':'Position','id':0x1},'end':{'type':_0x3cb0('0x5'),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x3cb0('0x0'),'id':0x1},'children':{'rule':_0x3cb0('0x1'),'type':_0x3cb0('0x4'),'id':0x2},'data':{'type':_0x3cb0('0x0'),'id':0x3},'attributesBoolean':{'keyType':_0x3cb0('0x0'),'type':_0x3cb0('0x3'),'id':0x4},'attributesJson':{'type':'string','id':0x5}}}};
23
+ var _0x4544=['repeated','Element','string','Position','bool'];(function(_0x58507b,_0x45441d){var _0x61d05e=function(_0x124ef5){while(--_0x124ef5){_0x58507b['push'](_0x58507b['shift']());}};_0x61d05e(++_0x45441d);}(_0x4544,0x1d7));var _0x61d0=function(_0x58507b,_0x45441d){_0x58507b=_0x58507b-0x0;var _0x61d05e=_0x4544[_0x58507b];return _0x61d05e;};export default{'Position':{'fields':{'root':{'type':'string','id':0x1},'rootMain':{'type':_0x61d0('0x3'),'id':0x2},'rootGraveyard':{'type':_0x61d0('0x3'),'id':0x3},'path':{'rule':_0x61d0('0x4'),'type':'uint32','id':0x4},'stickiness':{'type':'string','id':0x5}}},'Range':{'fields':{'start':{'type':_0x61d0('0x2'),'id':0x1},'end':{'type':_0x61d0('0x2'),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x61d0('0x1'),'id':0x1},'children':{'rule':_0x61d0('0x4'),'type':_0x61d0('0x0'),'id':0x2},'data':{'type':_0x61d0('0x1'),'id':0x3},'attributesBoolean':{'keyType':_0x61d0('0x1'),'type':'bool','id':0x4},'attributesJson':{'type':_0x61d0('0x1'),'id':0x5}}}};
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28f3=['__className','AttributeOperation','CommentMarkerOperation','comment','Position','NoOperation','DeletingAction','Range','description','MarkerOperation','forEach','TypingAction','Element','RenameOperation','MoveOperation','_registerCompressor','baseVersion','SplitOperation','types','RootAttributeOperation','MergeOperation','_compressorById','set','length','_registerActionCompressor','_compressorByName','registerDescriptor','decompress','get','_registerOperationCompressor','SuggestionMarkerOperation','ForwardDeletingAction','_getCompressorByName','no-operations-provided','compress','getDescriptor','build','UserSelectionAction','_protobufFactory'];(function(_0x38f0d0,_0x28f354){const _0x3c3b0c=function(_0x4acb84){while(--_0x4acb84){_0x38f0d0['push'](_0x38f0d0['shift']());}};_0x3c3b0c(++_0x28f354);}(_0x28f3,0x153));const _0x3c3b=function(_0x38f0d0,_0x28f354){_0x38f0d0=_0x38f0d0-0x0;let _0x3c3b0c=_0x28f3[_0x38f0d0];return _0x3c3b0c;};import{CKEditorError as _0x13ec08}from'ckeditor5/src/utils';import _0x2227bf from'./protobuffactory';import _0x2be7ed from'./commondescriptions';import _0x283d8d from'./operationcompressor/attributeoperationcompressor';import _0x4daf9b from'./operationcompressor/insertoperationcompressor';import _0x284750 from'./operationcompressor/markeroperationcompressor';import _0x4e9363 from'./operationcompressor/mergeoperationcompressor';import _0x3dc57c from'./operationcompressor/moveoperationcompressor';import _0x1c5815 from'./operationcompressor/renameoperationcompressor';import _0x339ddd from'./operationcompressor/rootattributeoperationcompressor';import _0x2a0b5f from'./operationcompressor/splitoperationcompressor';import _0x5b20b1 from'./operationcompressor/nooperationcompressor';import _0x27e724 from'./operationcompressor/annotationmarkeroperationcompressor';import _0x18c690 from'./actioncompressor/typingactioncompressor';import _0x3b386c from'./actioncompressor/deletingactioncompressor';import _0x547b75 from'./actioncompressor/forwarddeletingactioncompressor';import _0x4c5e89 from'./actioncompressor/userselectionactioncompressor';export default class w{constructor(){this[_0x3c3b('0x21')]=new Map(),this[_0x3c3b('0x25')]=new Map(),this[_0x3c3b('0xb')]=new _0x2227bf(),this[_0x3c3b('0xb')][_0x3c3b('0x26')](_0x3c3b('0x10'),_0x2be7ed['Position']),this[_0x3c3b('0xb')]['registerDescriptor'](_0x3c3b('0x13'),_0x2be7ed[_0x3c3b('0x13')]),this[_0x3c3b('0xb')][_0x3c3b('0x26')](_0x3c3b('0x18'),_0x2be7ed[_0x3c3b('0x18')]),this[_0x3c3b('0xb')][_0x3c3b('0x26')](_0x3c3b('0xd'),_0x283d8d['description']),this['_protobufFactory'][_0x3c3b('0x26')]('InsertOperation',_0x4daf9b[_0x3c3b('0x14')]),this[_0x3c3b('0xb')]['registerDescriptor'](_0x3c3b('0x15'),_0x284750['description']),this[_0x3c3b('0xb')]['registerDescriptor'](_0x3c3b('0x20'),_0x4e9363[_0x3c3b('0x14')]),this[_0x3c3b('0xb')]['registerDescriptor'](_0x3c3b('0x1a'),_0x3dc57c[_0x3c3b('0x14')]),this[_0x3c3b('0xb')][_0x3c3b('0x26')](_0x3c3b('0x19'),_0x1c5815['description']),this['_protobufFactory'][_0x3c3b('0x26')](_0x3c3b('0x1f'),_0x339ddd[_0x3c3b('0x14')]),this[_0x3c3b('0xb')][_0x3c3b('0x26')](_0x3c3b('0x1d'),_0x2a0b5f[_0x3c3b('0x14')]),this['_protobufFactory'][_0x3c3b('0x9')](),this[_0x3c3b('0x1b')](0x1,'NoOperation',new _0x5b20b1(0x1,_0x3c3b('0x11'))),this['_registerOperationCompressor'](0xa,_0x3c3b('0xd'),_0x283d8d),this[_0x3c3b('0x2')](0xb,'InsertOperation',_0x4daf9b),this[_0x3c3b('0x2')](0xc,_0x3c3b('0x15'),_0x284750),this[_0x3c3b('0x2')](0xd,_0x3c3b('0x20'),_0x4e9363),this['_registerOperationCompressor'](0xe,_0x3c3b('0x1a'),_0x3dc57c),this[_0x3c3b('0x2')](0xf,'RenameOperation',_0x1c5815),this[_0x3c3b('0x2')](0x10,_0x3c3b('0x1f'),_0x339ddd),this[_0x3c3b('0x2')](0x11,_0x3c3b('0x1d'),_0x2a0b5f);const _0x292709=this[_0x3c3b('0xb')][_0x3c3b('0x8')]('MarkerOperation');this[_0x3c3b('0x1b')](0x12,'CommentMarkerOperation',new _0x27e724(0x12,_0x3c3b('0x15'),_0x292709,_0x3c3b('0xf'))),this[_0x3c3b('0x1b')](0x13,_0x3c3b('0x3'),new _0x27e724(0x13,_0x3c3b('0x15'),_0x292709,'suggestion')),this['_registerActionCompressor'](0x64,_0x3c3b('0x17'),_0x18c690),this[_0x3c3b('0x24')](0x65,_0x3c3b('0x12'),_0x3b386c),this[_0x3c3b('0x24')](0x66,_0x3c3b('0x4'),_0x547b75),this[_0x3c3b('0x24')](0x67,_0x3c3b('0xa'),_0x4c5e89);}['_registerOperationCompressor'](_0x31f8e7,_0x55979e,_0x146f3e){const _0x30c815=new _0x146f3e(_0x31f8e7,_0x55979e,this['_protobufFactory'][_0x3c3b('0x8')](_0x55979e));this[_0x3c3b('0x1b')](_0x31f8e7,_0x55979e,_0x30c815);}[_0x3c3b('0x24')](_0x5f2322,_0x76af87,_0x40ebed){const _0x358618=new _0x40ebed(_0x5f2322,this);this['_registerCompressor'](_0x5f2322,_0x76af87,_0x358618);}[_0x3c3b('0x1b')](_0x5e8467,_0x54541b,_0x1d8cb2){this[_0x3c3b('0x21')]['set'](_0x5e8467,_0x1d8cb2),this[_0x3c3b('0x25')][_0x3c3b('0x22')](_0x54541b,_0x1d8cb2);}['_getCompressorByName'](_0x3f9e10){return this[_0x3c3b('0x25')][_0x3c3b('0x1')](_0x3f9e10);}[_0x3c3b('0x7')](_0x45b361){if(!_0x45b361||!_0x45b361[0x0])throw new _0x13ec08(_0x3c3b('0x6'),this);const _0x31340f={'types':[],'buffers':[],'baseVersion':_0x45b361[0x0][_0x3c3b('0x1c')]};for(;_0x45b361[_0x3c3b('0x23')];)this[_0x3c3b('0x5')]('UserSelectionAction')['compress'](_0x31340f,_0x45b361)||this[_0x3c3b('0x5')]('TypingAction')[_0x3c3b('0x7')](_0x31340f,_0x45b361)||this['_getCompressorByName'](_0x3c3b('0x12'))[_0x3c3b('0x7')](_0x31340f,_0x45b361)||this[_0x3c3b('0x5')](_0x3c3b('0x4'))[_0x3c3b('0x7')](_0x31340f,_0x45b361)||this[_0x3c3b('0x5')](_0x3c3b('0xe'))[_0x3c3b('0x7')](_0x31340f,_0x45b361)||this[_0x3c3b('0x5')]('SuggestionMarkerOperation')['compress'](_0x31340f,_0x45b361)||this[_0x3c3b('0x5')](_0x45b361[0x0][_0x3c3b('0xc')])[_0x3c3b('0x7')](_0x31340f,_0x45b361);return _0x31340f;}['decompress'](_0x5d2dbb){const _0x4f2e25=[];for(;_0x5d2dbb[_0x3c3b('0x1e')][_0x3c3b('0x23')];){this[_0x3c3b('0x21')]['get'](_0x5d2dbb[_0x3c3b('0x1e')][0x0])[_0x3c3b('0x0')](_0x4f2e25,_0x5d2dbb);}return _0x4f2e25[_0x3c3b('0x16')]((_0x1cbe31,_0x7b4d0f)=>_0x1cbe31[_0x3c3b('0x1c')]=_0x5d2dbb[_0x3c3b('0x1c')]+_0x7b4d0f),_0x4f2e25;}}
23
+ const _0x5301=['RootAttributeOperation','registerDescriptor','_compressorById','baseVersion','_registerActionCompressor','Position','SuggestionMarkerOperation','RenameOperation','_registerOperationCompressor','UserSelectionAction','MoveOperation','get','AttributeOperation','description','compress','__className','DeletingAction','length','TypingAction','_getCompressorByName','decompress','comment','build','types','suggestion','Element','_protobufFactory','SplitOperation','set','MarkerOperation','_registerCompressor','_compressorByName','no-operations-provided','InsertOperation','CommentMarkerOperation','forEach','ForwardDeletingAction'];(function(_0x3d63bc,_0x530159){const _0x3f54bd=function(_0x311ead){while(--_0x311ead){_0x3d63bc['push'](_0x3d63bc['shift']());}};_0x3f54bd(++_0x530159);}(_0x5301,0x166));const _0x3f54=function(_0x3d63bc,_0x530159){_0x3d63bc=_0x3d63bc-0x0;let _0x3f54bd=_0x5301[_0x3d63bc];return _0x3f54bd;};import{CKEditorError as _0x6bfd9}from'ckeditor5/src/utils';import _0x157700 from'./protobuffactory';import _0x4a5eac from'./commondescriptions';import _0x40c536 from'./operationcompressor/attributeoperationcompressor';import _0x3e961f from'./operationcompressor/insertoperationcompressor';import _0x55e58e from'./operationcompressor/markeroperationcompressor';import _0x29e900 from'./operationcompressor/mergeoperationcompressor';import _0x555d38 from'./operationcompressor/moveoperationcompressor';import _0x20e012 from'./operationcompressor/renameoperationcompressor';import _0x523068 from'./operationcompressor/rootattributeoperationcompressor';import _0x16d3e4 from'./operationcompressor/splitoperationcompressor';import _0x38c9d9 from'./operationcompressor/nooperationcompressor';import _0x50d6e9 from'./operationcompressor/annotationmarkeroperationcompressor';import _0x22b408 from'./actioncompressor/typingactioncompressor';import _0x258c0d from'./actioncompressor/deletingactioncompressor';import _0x4adc5f from'./actioncompressor/forwarddeletingactioncompressor';import _0x3229c0 from'./actioncompressor/userselectionactioncompressor';export default class w{constructor(){this['_compressorById']=new Map(),this[_0x3f54('0x6')]=new Map(),this['_protobufFactory']=new _0x157700(),this[_0x3f54('0x1')][_0x3f54('0xd')](_0x3f54('0x11'),_0x4a5eac[_0x3f54('0x11')]),this['_protobufFactory']['registerDescriptor']('Range',_0x4a5eac['Range']),this[_0x3f54('0x1')][_0x3f54('0xd')](_0x3f54('0x0'),_0x4a5eac[_0x3f54('0x0')]),this[_0x3f54('0x1')][_0x3f54('0xd')](_0x3f54('0x18'),_0x40c536[_0x3f54('0x19')]),this[_0x3f54('0x1')][_0x3f54('0xd')](_0x3f54('0x8'),_0x3e961f['description']),this['_protobufFactory'][_0x3f54('0xd')](_0x3f54('0x4'),_0x55e58e[_0x3f54('0x19')]),this[_0x3f54('0x1')]['registerDescriptor']('MergeOperation',_0x29e900[_0x3f54('0x19')]),this[_0x3f54('0x1')][_0x3f54('0xd')](_0x3f54('0x16'),_0x555d38['description']),this['_protobufFactory'][_0x3f54('0xd')](_0x3f54('0x13'),_0x20e012['description']),this[_0x3f54('0x1')][_0x3f54('0xd')](_0x3f54('0xc'),_0x523068[_0x3f54('0x19')]),this[_0x3f54('0x1')][_0x3f54('0xd')](_0x3f54('0x2'),_0x16d3e4[_0x3f54('0x19')]),this['_protobufFactory'][_0x3f54('0x22')](),this[_0x3f54('0x5')](0x1,'NoOperation',new _0x38c9d9(0x1,'NoOperation')),this[_0x3f54('0x14')](0xa,_0x3f54('0x18'),_0x40c536),this[_0x3f54('0x14')](0xb,_0x3f54('0x8'),_0x3e961f),this[_0x3f54('0x14')](0xc,_0x3f54('0x4'),_0x55e58e),this[_0x3f54('0x14')](0xd,'MergeOperation',_0x29e900),this[_0x3f54('0x14')](0xe,_0x3f54('0x16'),_0x555d38),this[_0x3f54('0x14')](0xf,'RenameOperation',_0x20e012),this[_0x3f54('0x14')](0x10,_0x3f54('0xc'),_0x523068),this['_registerOperationCompressor'](0x11,_0x3f54('0x2'),_0x16d3e4);const _0x89bb4c=this[_0x3f54('0x1')]['getDescriptor'](_0x3f54('0x4'));this[_0x3f54('0x5')](0x12,_0x3f54('0x9'),new _0x50d6e9(0x12,_0x3f54('0x4'),_0x89bb4c,_0x3f54('0x21'))),this[_0x3f54('0x5')](0x13,_0x3f54('0x12'),new _0x50d6e9(0x13,_0x3f54('0x4'),_0x89bb4c,_0x3f54('0x24'))),this[_0x3f54('0x10')](0x64,_0x3f54('0x1e'),_0x22b408),this[_0x3f54('0x10')](0x65,'DeletingAction',_0x258c0d),this[_0x3f54('0x10')](0x66,'ForwardDeletingAction',_0x4adc5f),this[_0x3f54('0x10')](0x67,'UserSelectionAction',_0x3229c0);}[_0x3f54('0x14')](_0x7edeb5,_0x2a5ab1,_0x2b71f0){const _0x2453e2=new _0x2b71f0(_0x7edeb5,_0x2a5ab1,this[_0x3f54('0x1')]['getDescriptor'](_0x2a5ab1));this[_0x3f54('0x5')](_0x7edeb5,_0x2a5ab1,_0x2453e2);}['_registerActionCompressor'](_0x8a02d6,_0x445d7a,_0x50eb10){const _0x59aec2=new _0x50eb10(_0x8a02d6,this);this['_registerCompressor'](_0x8a02d6,_0x445d7a,_0x59aec2);}[_0x3f54('0x5')](_0x432498,_0x24bbfb,_0x1f7712){this[_0x3f54('0xe')]['set'](_0x432498,_0x1f7712),this[_0x3f54('0x6')][_0x3f54('0x3')](_0x24bbfb,_0x1f7712);}[_0x3f54('0x1f')](_0x1ab307){return this[_0x3f54('0x6')]['get'](_0x1ab307);}['compress'](_0x5863b2){if(!_0x5863b2||!_0x5863b2[0x0])throw new _0x6bfd9(_0x3f54('0x7'),this);const _0x2beba9={'types':[],'buffers':[],'baseVersion':_0x5863b2[0x0][_0x3f54('0xf')]};for(;_0x5863b2[_0x3f54('0x1d')];)this['_getCompressorByName'](_0x3f54('0x15'))[_0x3f54('0x1a')](_0x2beba9,_0x5863b2)||this[_0x3f54('0x1f')]('TypingAction')[_0x3f54('0x1a')](_0x2beba9,_0x5863b2)||this[_0x3f54('0x1f')](_0x3f54('0x1c'))[_0x3f54('0x1a')](_0x2beba9,_0x5863b2)||this[_0x3f54('0x1f')](_0x3f54('0xb'))[_0x3f54('0x1a')](_0x2beba9,_0x5863b2)||this[_0x3f54('0x1f')](_0x3f54('0x9'))[_0x3f54('0x1a')](_0x2beba9,_0x5863b2)||this[_0x3f54('0x1f')](_0x3f54('0x12'))[_0x3f54('0x1a')](_0x2beba9,_0x5863b2)||this[_0x3f54('0x1f')](_0x5863b2[0x0][_0x3f54('0x1b')])[_0x3f54('0x1a')](_0x2beba9,_0x5863b2);return _0x2beba9;}[_0x3f54('0x20')](_0x5b1bd7){const _0x1e03e0=[];for(;_0x5b1bd7[_0x3f54('0x23')][_0x3f54('0x1d')];){this[_0x3f54('0xe')][_0x3f54('0x17')](_0x5b1bd7[_0x3f54('0x23')][0x0])[_0x3f54('0x20')](_0x1e03e0,_0x5b1bd7);}return _0x1e03e0[_0x3f54('0xa')]((_0x10a2cc,_0x24def8)=>_0x10a2cc[_0x3f54('0xf')]=_0x5b1bd7['baseVersion']+_0x24def8),_0x1e03e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3818=['decompress','_omittedNamespace','name','length','compress','replace','MarkerOperation'];(function(_0x209094,_0x3818b7){const _0x4abfcf=function(_0x16147f){while(--_0x16147f){_0x209094['push'](_0x209094['shift']());}};_0x4abfcf(++_0x3818b7);}(_0x3818,0xec));const _0x4abf=function(_0x209094,_0x3818b7){_0x209094=_0x209094-0x0;let _0x4abfcf=_0x3818[_0x209094];return _0x4abfcf;};import _0x2edd9e from'./markeroperationcompressor';export default class O extends _0x2edd9e{constructor(_0x5665b5,_0x14ebfd,_0x436567,_0x487f96){super(_0x5665b5,_0x14ebfd,_0x436567),this[_0x4abf('0x3')]=_0x487f96+':';}[_0x4abf('0x6')](_0x457a2d,_0xa95bd4){return!(_0x4abf('0x1')!=_0xa95bd4[0x0]['__className']||!_0xa95bd4[0x0]['name']['startsWith'](this[_0x4abf('0x3')]))&&(_0xa95bd4[0x0][_0x4abf('0x4')]=_0xa95bd4[0x0]['name'][_0x4abf('0x0')](new RegExp('^'+this[_0x4abf('0x3')]),''),super[_0x4abf('0x6')](_0x457a2d,_0xa95bd4),!0x0);}[_0x4abf('0x2')](_0x222bb3,_0xa97bd2){super[_0x4abf('0x2')](_0x222bb3,_0xa97bd2);const _0x3d9b70=_0x222bb3[_0x222bb3[_0x4abf('0x5')]-0x1];_0x3d9b70[_0x4abf('0x4')]=this[_0x4abf('0x3')]+_0x3d9b70[_0x4abf('0x4')];}}
23
+ const _0x417e=['startsWith','_omittedNamespace','name','compress','__className','decompress'];(function(_0x4983e4,_0x417e00){const _0xf18867=function(_0x1cc807){while(--_0x1cc807){_0x4983e4['push'](_0x4983e4['shift']());}};_0xf18867(++_0x417e00);}(_0x417e,0x199));const _0xf188=function(_0x4983e4,_0x417e00){_0x4983e4=_0x4983e4-0x0;let _0xf18867=_0x417e[_0x4983e4];return _0xf18867;};import _0x4b1764 from'./markeroperationcompressor';export default class O extends _0x4b1764{constructor(_0x48e47f,_0x51bbfb,_0x548593,_0x2d1153){super(_0x48e47f,_0x51bbfb,_0x548593),this[_0xf188('0x0')]=_0x2d1153+':';}[_0xf188('0x2')](_0x49ab26,_0x43fb7e){return!('MarkerOperation'!=_0x43fb7e[0x0][_0xf188('0x3')]||!_0x43fb7e[0x0]['name'][_0xf188('0x5')](this[_0xf188('0x0')]))&&(_0x43fb7e[0x0]['name']=_0x43fb7e[0x0][_0xf188('0x1')]['replace'](new RegExp('^'+this['_omittedNamespace']),''),super[_0xf188('0x2')](_0x49ab26,_0x43fb7e),!0x0);}[_0xf188('0x4')](_0x2ef988,_0x2db63f){super[_0xf188('0x4')](_0x2ef988,_0x2db63f);const _0x393d92=_0x2ef988[_0x2ef988['length']-0x1];_0x393d92[_0xf188('0x1')]=this[_0xf188('0x0')]+_0x393d92[_0xf188('0x1')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x511d=['decompress','oldValue','shift','string','_protobufDescriptor','compress','buffers','push','description','newValue','stringify','Range','Json','Boolean','types','parse','__className','bool','operationName'];(function(_0x46e9ed,_0x511d6e){const _0x26a96d=function(_0x1f5c2a){while(--_0x1f5c2a){_0x46e9ed['push'](_0x46e9ed['shift']());}};_0x26a96d(++_0x511d6e);}(_0x511d,0x18e));const _0x26a9=function(_0x46e9ed,_0x511d6e){_0x46e9ed=_0x46e9ed-0x0;let _0x26a96d=_0x511d[_0x46e9ed];return _0x26a96d;};import _0x234aad from'./operationcompressor';import{parsePositionBeforeCompression as _0x2f70c1,parsePositionAfterCompression as _0x1d3a45}from'../utils';export default class i extends _0x234aad{static get[_0x26a9('0x9')](){return{'fields':{'range':{'type':_0x26a9('0xc'),'id':0x1},'key':{'type':'string','id':0x2},'oldValueBoolean':{'type':_0x26a9('0x12'),'id':0x3},'oldValueJson':{'type':_0x26a9('0x4'),'id':0x4},'newValueBoolean':{'type':_0x26a9('0x12'),'id':0x5},'newValueJson':{'type':_0x26a9('0x4'),'id':0x6},'wasUndone':{'type':_0x26a9('0x12'),'id':0x7}}};}[_0x26a9('0x6')](_0x2df52d,_0x2c7cdb){const _0x2548e4=_0x2c7cdb[_0x26a9('0x3')]();$(_0x26a9('0x2'),_0x2548e4),$('newValue',_0x2548e4),_0x2f70c1(_0x2548e4),_0x2df52d[_0x26a9('0x7')][_0x26a9('0x8')](this[_0x26a9('0x5')][_0x26a9('0x6')](_0x2548e4)),_0x2df52d[_0x26a9('0xf')]['push'](this['id']);}[_0x26a9('0x1')](_0x4bb006,_0x51683b){const {types:_0x945c83,buffers:_0x345ee7}=_0x51683b,_0x4c5ab5=this[_0x26a9('0x5')][_0x26a9('0x1')](_0x345ee7[_0x26a9('0x3')]());_0x945c83['shift'](),N(_0x26a9('0x2'),_0x4c5ab5),N(_0x26a9('0xa'),_0x4c5ab5),_0x1d3a45(_0x4c5ab5),_0x4c5ab5[_0x26a9('0x11')]=this[_0x26a9('0x0')],_0x4bb006[_0x26a9('0x8')](_0x4c5ab5);}}function $(_0x21e311,_0x4de635){const _0x1ec2f0=_0x4de635[_0x21e311];'boolean'==typeof _0x1ec2f0?_0x4de635[_0x21e311+_0x26a9('0xe')]=_0x1ec2f0:_0x4de635[_0x21e311+'Json']=JSON[_0x26a9('0xb')](_0x1ec2f0);}function N(_0x23407e,_0x26cc2b){const _0xc11963=_0x23407e+_0x26a9('0xd');_0x26cc2b[_0xc11963]?(_0x26cc2b[_0x23407e]=JSON[_0x26a9('0x10')](_0x26cc2b[_0xc11963]),delete _0x26cc2b[_0xc11963]):(_0x26cc2b[_0x23407e]=_0x26cc2b[_0x23407e+_0x26a9('0xe')],delete _0x26cc2b[_0x23407e+'Boolean']);}
23
+ const _0x2bc2=['shift','Json','description','decompress','bool','push','newValue','__className','_protobufDescriptor','Boolean','parse','string','types','compress'];(function(_0x2bdc5c,_0x2bc21a){const _0x33f7f9=function(_0x18c1bb){while(--_0x18c1bb){_0x2bdc5c['push'](_0x2bdc5c['shift']());}};_0x33f7f9(++_0x2bc21a);}(_0x2bc2,0x11c));const _0x33f7=function(_0x2bdc5c,_0x2bc21a){_0x2bdc5c=_0x2bdc5c-0x0;let _0x33f7f9=_0x2bc2[_0x2bdc5c];return _0x33f7f9;};import _0x3c62dd from'./operationcompressor';import{parsePositionBeforeCompression as _0xbb7c37,parsePositionAfterCompression as _0xff1acd}from'../utils';export default class i extends _0x3c62dd{static get[_0x33f7('0xc')](){return{'fields':{'range':{'type':'Range','id':0x1},'key':{'type':'string','id':0x2},'oldValueBoolean':{'type':'bool','id':0x3},'oldValueJson':{'type':_0x33f7('0x7'),'id':0x4},'newValueBoolean':{'type':_0x33f7('0x0'),'id':0x5},'newValueJson':{'type':_0x33f7('0x7'),'id':0x6},'wasUndone':{'type':_0x33f7('0x0'),'id':0x7}}};}['compress'](_0x2f55f3,_0x300147){const _0x2e38fc=_0x300147[_0x33f7('0xa')]();$('oldValue',_0x2e38fc),$(_0x33f7('0x2'),_0x2e38fc),_0xbb7c37(_0x2e38fc),_0x2f55f3['buffers'][_0x33f7('0x1')](this[_0x33f7('0x4')][_0x33f7('0x9')](_0x2e38fc)),_0x2f55f3[_0x33f7('0x8')][_0x33f7('0x1')](this['id']);}[_0x33f7('0xd')](_0x3112fb,_0x5c1d05){const {types:_0x5e2933,buffers:_0xe0339f}=_0x5c1d05,_0x280c22=this['_protobufDescriptor'][_0x33f7('0xd')](_0xe0339f[_0x33f7('0xa')]());_0x5e2933[_0x33f7('0xa')](),N('oldValue',_0x280c22),N(_0x33f7('0x2'),_0x280c22),_0xff1acd(_0x280c22),_0x280c22[_0x33f7('0x3')]=this['operationName'],_0x3112fb[_0x33f7('0x1')](_0x280c22);}}function $(_0x11a18b,_0x2f4c95){const _0x52fd60=_0x2f4c95[_0x11a18b];'boolean'==typeof _0x52fd60?_0x2f4c95[_0x11a18b+_0x33f7('0x5')]=_0x52fd60:_0x2f4c95[_0x11a18b+'Json']=JSON['stringify'](_0x52fd60);}function N(_0x23f444,_0x58f18f){const _0x1ca00f=_0x23f444+_0x33f7('0xb');_0x58f18f[_0x1ca00f]?(_0x58f18f[_0x23f444]=JSON[_0x33f7('0x6')](_0x58f18f[_0x1ca00f]),delete _0x58f18f[_0x1ca00f]):(_0x58f18f[_0x23f444]=_0x58f18f[_0x23f444+_0x33f7('0x5')],delete _0x58f18f[_0x23f444+_0x33f7('0x5')]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x525b=['attributesBoolean','decompress','__className','shift','attributes','attributesJson','description','_protobufDescriptor','types','children','Position','push','buffers','repeated','bool','compress','every','nodes','stringify'];(function(_0x2eb1c4,_0x525b97){const _0x349d87=function(_0x33e222){while(--_0x33e222){_0x2eb1c4['push'](_0x2eb1c4['shift']());}};_0x349d87(++_0x525b97);}(_0x525b,0x128));const _0x349d=function(_0x2eb1c4,_0x525b97){_0x2eb1c4=_0x2eb1c4-0x0;let _0x349d87=_0x525b[_0x2eb1c4];return _0x349d87;};import _0x41f27f from'./operationcompressor';import{parsePositionBeforeCompression as _0x204733,parsePositionAfterCompression as _0x5f775}from'../utils';export default class s extends _0x41f27f{static get[_0x349d('0xe')](){return{'fields':{'position':{'type':_0x349d('0x12'),'id':0x1},'nodes':{'rule':_0x349d('0x2'),'type':'Element','id':0x2},'shouldReceiveAttributes':{'type':_0x349d('0x3'),'id':0x3},'wasUndone':{'type':_0x349d('0x3'),'id':0x4}}};}[_0x349d('0x4')](_0x17f425,_0x458f13){const _0x33b8b0=_0x458f13[_0x349d('0xb')]();A(_0x33b8b0[_0x349d('0x6')]),_0x204733(_0x33b8b0),_0x17f425[_0x349d('0x1')][_0x349d('0x0')](this['_protobufDescriptor'][_0x349d('0x4')](_0x33b8b0)),_0x17f425[_0x349d('0x10')][_0x349d('0x0')](this['id']);}['decompress'](_0x29b99b,_0xf48bb4){const {types:_0x1e1fd8,buffers:_0x2b60ab}=_0xf48bb4,_0x5e0561=this[_0x349d('0xf')][_0x349d('0x9')](_0x2b60ab['shift']());_0x1e1fd8[_0x349d('0xb')](),_0x5e0561[_0x349d('0x6')]||(_0x5e0561[_0x349d('0x6')]=[]),E(_0x5e0561[_0x349d('0x6')]),_0x5f775(_0x5e0561),_0x5e0561[_0x349d('0xa')]=this['operationName'],_0x29b99b[_0x349d('0x0')](_0x5e0561);}}function A(_0x737de8){for(const _0x5ccc8c of _0x737de8){if(_0x5ccc8c[_0x349d('0xc')]){const _0x3e9eeb=_0x5ccc8c[_0x349d('0xc')];R(_0x3e9eeb)?_0x5ccc8c[_0x349d('0x8')]=_0x3e9eeb:_0x5ccc8c['attributesJson']=JSON[_0x349d('0x7')](_0x3e9eeb);}_0x5ccc8c[_0x349d('0x11')]&&A(_0x5ccc8c[_0x349d('0x11')]);}}function E(_0x13a58f){for(const _0x6a2fc of _0x13a58f)(_0x6a2fc[_0x349d('0x8')]||_0x6a2fc[_0x349d('0xd')])&&(_0x6a2fc[_0x349d('0x8')]?(_0x6a2fc[_0x349d('0xc')]=_0x6a2fc[_0x349d('0x8')],delete _0x6a2fc[_0x349d('0x8')]):(_0x6a2fc[_0x349d('0xc')]=JSON['parse'](_0x6a2fc[_0x349d('0xd')]),delete _0x6a2fc[_0x349d('0xd')])),_0x6a2fc[_0x349d('0x11')]&&E(_0x6a2fc[_0x349d('0x11')]);}function R(_0x47d943){return Object['keys'](_0x47d943)[_0x349d('0x5')](_0x38f0d4=>'boolean'==typeof _0x47d943[_0x38f0d4]);}
23
+ const _0x4593=['keys','bool','_protobufDescriptor','every','nodes','boolean','shift','decompress','parse','attributesBoolean','buffers','compress','push','__className','attributes','children','repeated','stringify','attributesJson','Element'];(function(_0x165746,_0x45936a){const _0x4477ed=function(_0x5b490f){while(--_0x5b490f){_0x165746['push'](_0x165746['shift']());}};_0x4477ed(++_0x45936a);}(_0x4593,0xc1));const _0x4477=function(_0x165746,_0x45936a){_0x165746=_0x165746-0x0;let _0x4477ed=_0x4593[_0x165746];return _0x4477ed;};import _0x179682 from'./operationcompressor';import{parsePositionBeforeCompression as _0x5766f7,parsePositionAfterCompression as _0x5805ca}from'../utils';export default class s extends _0x179682{static get['description'](){return{'fields':{'position':{'type':'Position','id':0x1},'nodes':{'rule':_0x4477('0x3'),'type':_0x4477('0x6'),'id':0x2},'shouldReceiveAttributes':{'type':_0x4477('0x8'),'id':0x3},'wasUndone':{'type':_0x4477('0x8'),'id':0x4}}};}['compress'](_0x6cfcca,_0x2f7e1c){const _0x338feb=_0x2f7e1c[_0x4477('0xd')]();A(_0x338feb[_0x4477('0xb')]),_0x5766f7(_0x338feb),_0x6cfcca[_0x4477('0x11')][_0x4477('0x13')](this[_0x4477('0x9')][_0x4477('0x12')](_0x338feb)),_0x6cfcca['types'][_0x4477('0x13')](this['id']);}['decompress'](_0x52a1b8,_0x20198b){const {types:_0xb4fd62,buffers:_0x43e377}=_0x20198b,_0x2a922e=this[_0x4477('0x9')][_0x4477('0xe')](_0x43e377[_0x4477('0xd')]());_0xb4fd62['shift'](),_0x2a922e['nodes']||(_0x2a922e[_0x4477('0xb')]=[]),E(_0x2a922e['nodes']),_0x5805ca(_0x2a922e),_0x2a922e[_0x4477('0x0')]=this['operationName'],_0x52a1b8['push'](_0x2a922e);}}function A(_0x4026a9){for(const _0x1b3e4a of _0x4026a9){if(_0x1b3e4a[_0x4477('0x1')]){const _0x90efd4=_0x1b3e4a[_0x4477('0x1')];R(_0x90efd4)?_0x1b3e4a[_0x4477('0x10')]=_0x90efd4:_0x1b3e4a[_0x4477('0x5')]=JSON[_0x4477('0x4')](_0x90efd4);}_0x1b3e4a['children']&&A(_0x1b3e4a[_0x4477('0x2')]);}}function E(_0x4415bf){for(const _0x2d9b84 of _0x4415bf)(_0x2d9b84[_0x4477('0x10')]||_0x2d9b84[_0x4477('0x5')])&&(_0x2d9b84[_0x4477('0x10')]?(_0x2d9b84[_0x4477('0x1')]=_0x2d9b84[_0x4477('0x10')],delete _0x2d9b84[_0x4477('0x10')]):(_0x2d9b84[_0x4477('0x1')]=JSON[_0x4477('0xf')](_0x2d9b84['attributesJson']),delete _0x2d9b84[_0x4477('0x5')])),_0x2d9b84[_0x4477('0x2')]&&E(_0x2d9b84[_0x4477('0x2')]);}function R(_0x5abe38){return Object[_0x4477('0x7')](_0x5abe38)[_0x4477('0xa')](_0x4d5247=>_0x4477('0xc')==typeof _0x5abe38[_0x4d5247]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f7b=['Range','string','decompress','bool','newRange','description','oldRange'];(function(_0x3dc9c9,_0x4f7b1f){const _0x27ceee=function(_0x28dd4d){while(--_0x28dd4d){_0x3dc9c9['push'](_0x3dc9c9['shift']());}};_0x27ceee(++_0x4f7b1f);}(_0x4f7b,0x167));const _0x27ce=function(_0x3dc9c9,_0x4f7b1f){_0x3dc9c9=_0x3dc9c9-0x0;let _0x27ceee=_0x4f7b[_0x3dc9c9];return _0x27ceee;};import _0x253246 from'./operationcompressor';export default class n extends _0x253246{static get[_0x27ce('0x3')](){return{'fields':{'name':{'type':_0x27ce('0x6'),'id':0x1},'oldRange':{'type':_0x27ce('0x5'),'id':0x2},'newRange':{'type':_0x27ce('0x5'),'id':0x3},'affectsData':{'type':_0x27ce('0x1'),'id':0x4},'wasUndone':{'type':_0x27ce('0x1'),'id':0x5}}};}[_0x27ce('0x0')](_0x4bcda6,_0x1b43ec){super[_0x27ce('0x0')](_0x4bcda6,_0x1b43ec);const _0xc2adcd=_0x4bcda6[_0x4bcda6['length']-0x1];_0xc2adcd[_0x27ce('0x4')]||(_0xc2adcd[_0x27ce('0x4')]=null),_0xc2adcd[_0x27ce('0x2')]||(_0xc2adcd[_0x27ce('0x2')]=null);}}
23
+ const _0x4814=['Range','newRange','length','oldRange','string','decompress','bool'];(function(_0x33bcf9,_0x4814ea){const _0x4b9c65=function(_0x2c4803){while(--_0x2c4803){_0x33bcf9['push'](_0x33bcf9['shift']());}};_0x4b9c65(++_0x4814ea);}(_0x4814,0x13d));const _0x4b9c=function(_0x33bcf9,_0x4814ea){_0x33bcf9=_0x33bcf9-0x0;let _0x4b9c65=_0x4814[_0x33bcf9];return _0x4b9c65;};import _0x1866a2 from'./operationcompressor';export default class n extends _0x1866a2{static get['description'](){return{'fields':{'name':{'type':_0x4b9c('0x2'),'id':0x1},'oldRange':{'type':_0x4b9c('0x5'),'id':0x2},'newRange':{'type':_0x4b9c('0x5'),'id':0x3},'affectsData':{'type':_0x4b9c('0x4'),'id':0x4},'wasUndone':{'type':_0x4b9c('0x4'),'id':0x5}}};}[_0x4b9c('0x3')](_0x273061,_0x10f878){super[_0x4b9c('0x3')](_0x273061,_0x10f878);const _0xbb81e2=_0x273061[_0x273061[_0x4b9c('0x0')]-0x1];_0xbb81e2[_0x4b9c('0x1')]||(_0xbb81e2[_0x4b9c('0x1')]=null),_0xbb81e2['newRange']||(_0xbb81e2[_0x4b9c('0x6')]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2bbc=['bool','uint32','Position','description'];(function(_0x3c2eb7,_0x2bbc0f){var _0x4c088e=function(_0x50dc76){while(--_0x50dc76){_0x3c2eb7['push'](_0x3c2eb7['shift']());}};_0x4c088e(++_0x2bbc0f);}(_0x2bbc,0x161));var _0x4c08=function(_0x3c2eb7,_0x2bbc0f){_0x3c2eb7=_0x3c2eb7-0x0;var _0x4c088e=_0x2bbc[_0x3c2eb7];return _0x4c088e;};import _0x2b8a35 from'./operationcompressor';export default class p extends _0x2b8a35{static get[_0x4c08('0x2')](){return{'fields':{'sourcePosition':{'type':'Position','id':0x1},'targetPosition':{'type':_0x4c08('0x1'),'id':0x2},'graveyardPosition':{'type':_0x4c08('0x1'),'id':0x3},'howMany':{'type':_0x4c08('0x0'),'id':0x4},'wasUndone':{'type':_0x4c08('0x3'),'id':0x5}}};}}
23
+ var _0x93e2=['description','Position','uint32','bool'];(function(_0x5d588d,_0x93e27b){var _0x436016=function(_0x3e3ffc){while(--_0x3e3ffc){_0x5d588d['push'](_0x5d588d['shift']());}};_0x436016(++_0x93e27b);}(_0x93e2,0x1ec));var _0x4360=function(_0x5d588d,_0x93e27b){_0x5d588d=_0x5d588d-0x0;var _0x436016=_0x93e2[_0x5d588d];return _0x436016;};import _0x1e538e from'./operationcompressor';export default class p extends _0x1e538e{static get[_0x4360('0x0')](){return{'fields':{'sourcePosition':{'type':_0x4360('0x1'),'id':0x1},'targetPosition':{'type':_0x4360('0x1'),'id':0x2},'graveyardPosition':{'type':'Position','id':0x3},'howMany':{'type':_0x4360('0x2'),'id':0x4},'wasUndone':{'type':_0x4360('0x3'),'id':0x5}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1e0b=['bool','Position'];(function(_0x2872b6,_0x1e0b8a){var _0x398af5=function(_0x102b4f){while(--_0x102b4f){_0x2872b6['push'](_0x2872b6['shift']());}};_0x398af5(++_0x1e0b8a);}(_0x1e0b,0x10e));var _0x398a=function(_0x2872b6,_0x1e0b8a){_0x2872b6=_0x2872b6-0x0;var _0x398af5=_0x1e0b[_0x2872b6];return _0x398af5;};import _0x2c873c from'./operationcompressor';export default class m extends _0x2c873c{static get['description'](){return{'fields':{'sourcePosition':{'type':_0x398a('0x1'),'id':0x1},'howMany':{'type':'uint32','id':0x2},'targetPosition':{'type':_0x398a('0x1'),'id':0x3},'wasUndone':{'type':_0x398a('0x0'),'id':0x4}}};}}
23
+ var _0x3f58=['uint32','bool'];(function(_0xc657f3,_0x3f58e8){var _0xffc92c=function(_0x4a1e12){while(--_0x4a1e12){_0xc657f3['push'](_0xc657f3['shift']());}};_0xffc92c(++_0x3f58e8);}(_0x3f58,0x98));var _0xffc9=function(_0xc657f3,_0x3f58e8){_0xc657f3=_0xc657f3-0x0;var _0xffc92c=_0x3f58[_0xc657f3];return _0xffc92c;};import _0xb1c96c from'./operationcompressor';export default class m extends _0xb1c96c{static get['description'](){return{'fields':{'sourcePosition':{'type':'Position','id':0x1},'howMany':{'type':_0xffc9('0x0'),'id':0x2},'targetPosition':{'type':'Position','id':0x3},'wasUndone':{'type':_0xffc9('0x1'),'id':0x4}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x19ff=['shift','compress','decompress','push','types','operationName'];(function(_0x1f4ab3,_0x19ff25){var _0x498e79=function(_0x5c9475){while(--_0x5c9475){_0x1f4ab3['push'](_0x1f4ab3['shift']());}};_0x498e79(++_0x19ff25);}(_0x19ff,0x6c));var _0x498e=function(_0x1f4ab3,_0x19ff25){_0x1f4ab3=_0x1f4ab3-0x0;var _0x498e79=_0x19ff[_0x1f4ab3];return _0x498e79;};import _0x1f0926 from'./operationcompressor';export default class f extends _0x1f0926{[_0x498e('0x1')](_0x57d7f7,_0x394e6e){_0x394e6e['shift'](),_0x57d7f7[_0x498e('0x4')][_0x498e('0x3')](this['id']);}[_0x498e('0x2')](_0x58847c,_0x438325){_0x438325[_0x498e('0x4')][_0x498e('0x0')](),_0x58847c['push']({'__className':this[_0x498e('0x5')]});}}
23
+ var _0x4bde=['decompress','shift','push','operationName','types'];(function(_0x24c1b8,_0x4bde46){var _0x2b0266=function(_0x377f71){while(--_0x377f71){_0x24c1b8['push'](_0x24c1b8['shift']());}};_0x2b0266(++_0x4bde46);}(_0x4bde,0xfe));var _0x2b02=function(_0x24c1b8,_0x4bde46){_0x24c1b8=_0x24c1b8-0x0;var _0x2b0266=_0x4bde[_0x24c1b8];return _0x2b0266;};import _0x46d130 from'./operationcompressor';export default class f extends _0x46d130{['compress'](_0x55e059,_0x316374){_0x316374['shift'](),_0x55e059[_0x2b02('0x0')][_0x2b02('0x3')](this['id']);}[_0x2b02('0x1')](_0x5e1330,_0x1f5a75){_0x1f5a75['types'][_0x2b02('0x2')](),_0x5e1330[_0x2b02('0x3')]({'__className':this[_0x2b02('0x4')]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4581=['types','buffers','decompress','compress','push','shift','_protobufDescriptor','operationName'];(function(_0x5ba4f2,_0x4581e0){const _0x3b4387=function(_0x5ece80){while(--_0x5ece80){_0x5ba4f2['push'](_0x5ba4f2['shift']());}};_0x3b4387(++_0x4581e0);}(_0x4581,0x1e5));const _0x3b43=function(_0x5ba4f2,_0x4581e0){_0x5ba4f2=_0x5ba4f2-0x0;let _0x3b4387=_0x4581[_0x5ba4f2];return _0x3b4387;};import{parsePositionBeforeCompression as _0x22a681,parsePositionAfterCompression as _0x11f04d}from'../utils';export default class V{constructor(_0x167f26,_0x4dcfdc,_0x227d5a){this['id']=_0x167f26,this['operationName']=_0x4dcfdc,this['_protobufDescriptor']=_0x227d5a;}['compress'](_0x2ecdaf,_0x5ca38f){const _0x241d75=_0x5ca38f[_0x3b43('0x0')]();_0x22a681(_0x241d75),_0x2ecdaf[_0x3b43('0x4')]['push'](this[_0x3b43('0x1')][_0x3b43('0x6')](_0x241d75)),_0x2ecdaf[_0x3b43('0x3')][_0x3b43('0x7')](this['id']);}[_0x3b43('0x5')](_0x2d9228,_0x70871d){_0x70871d[_0x3b43('0x3')]['shift']();const _0x4be5ea=this[_0x3b43('0x1')]['decompress'](_0x70871d[_0x3b43('0x4')][_0x3b43('0x0')]());_0x11f04d(_0x4be5ea),_0x4be5ea['__className']=this[_0x3b43('0x2')],_0x2d9228[_0x3b43('0x7')](_0x4be5ea);}}
23
+ const _0x2424=['decompress','compress','types','push','buffers','shift','__className','_protobufDescriptor','operationName'];(function(_0x56d9fa,_0x2424b6){const _0x54ab7c=function(_0x10ab14){while(--_0x10ab14){_0x56d9fa['push'](_0x56d9fa['shift']());}};_0x54ab7c(++_0x2424b6);}(_0x2424,0x1d1));const _0x54ab=function(_0x56d9fa,_0x2424b6){_0x56d9fa=_0x56d9fa-0x0;let _0x54ab7c=_0x2424[_0x56d9fa];return _0x54ab7c;};import{parsePositionBeforeCompression as _0x6a181a,parsePositionAfterCompression as _0x4a745f}from'../utils';export default class V{constructor(_0x14780c,_0x25eba8,_0x4b3320){this['id']=_0x14780c,this['operationName']=_0x25eba8,this[_0x54ab('0x1')]=_0x4b3320;}[_0x54ab('0x4')](_0x49d154,_0x49f701){const _0x890c93=_0x49f701['shift']();_0x6a181a(_0x890c93),_0x49d154['buffers'][_0x54ab('0x6')](this[_0x54ab('0x1')][_0x54ab('0x4')](_0x890c93)),_0x49d154[_0x54ab('0x5')][_0x54ab('0x6')](this['id']);}[_0x54ab('0x3')](_0x4812af,_0x587f04){_0x587f04[_0x54ab('0x5')]['shift']();const _0x1d323a=this[_0x54ab('0x1')][_0x54ab('0x3')](_0x587f04[_0x54ab('0x7')][_0x54ab('0x8')]());_0x4a745f(_0x1d323a),_0x1d323a[_0x54ab('0x0')]=this[_0x54ab('0x2')],_0x4812af[_0x54ab('0x6')](_0x1d323a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1d3b=['description','string'];(function(_0x22e6bb,_0x1d3be8){var _0x55d361=function(_0x12eed3){while(--_0x12eed3){_0x22e6bb['push'](_0x22e6bb['shift']());}};_0x55d361(++_0x1d3be8);}(_0x1d3b,0x6d));var _0x55d3=function(_0x22e6bb,_0x1d3be8){_0x22e6bb=_0x22e6bb-0x0;var _0x55d361=_0x1d3b[_0x22e6bb];return _0x55d361;};import _0x496715 from'./operationcompressor';export default class a extends _0x496715{static get[_0x55d3('0x1')](){return{'fields':{'position':{'type':'Position','id':0x1},'oldName':{'type':_0x55d3('0x0'),'id':0x2},'newName':{'type':_0x55d3('0x0'),'id':0x3},'wasUndone':{'type':'bool','id':0x4}}};}}
23
+ var _0x2f3f=['description','Position','bool','string'];(function(_0x24e632,_0x2f3fd1){var _0x4828e5=function(_0x45948e){while(--_0x45948e){_0x24e632['push'](_0x24e632['shift']());}};_0x4828e5(++_0x2f3fd1);}(_0x2f3f,0xff));var _0x4828=function(_0x24e632,_0x2f3fd1){_0x24e632=_0x24e632-0x0;var _0x4828e5=_0x2f3f[_0x24e632];return _0x4828e5;};import _0x435b54 from'./operationcompressor';export default class a extends _0x435b54{static get[_0x4828('0x1')](){return{'fields':{'position':{'type':_0x4828('0x2'),'id':0x1},'oldName':{'type':_0x4828('0x0'),'id':0x2},'newName':{'type':_0x4828('0x0'),'id':0x3},'wasUndone':{'type':_0x4828('0x3'),'id':0x4}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10e8=['root','description','fields','range','string'];(function(_0x251190,_0x10e88c){const _0x3a23f6=function(_0x41c9de){while(--_0x41c9de){_0x251190['push'](_0x251190['shift']());}};_0x3a23f6(++_0x10e88c);}(_0x10e8,0xff));const _0x3a23=function(_0x251190,_0x10e88c){_0x251190=_0x251190-0x0;let _0x3a23f6=_0x10e8[_0x251190];return _0x3a23f6;};import _0x44f8a1 from'./attributeoperationcompressor';export default class c extends _0x44f8a1{static get[_0x3a23('0x1')](){const _0x9c3604=_0x44f8a1[_0x3a23('0x1')];return delete _0x9c3604[_0x3a23('0x2')][_0x3a23('0x3')],_0x9c3604['fields'][_0x3a23('0x0')]={'type':_0x3a23('0x4'),'id':0x1},_0x9c3604;}}
23
+ const _0x4784=['description','root','fields','range'];(function(_0x30042a,_0x47842a){const _0xe6700d=function(_0x30015c){while(--_0x30015c){_0x30042a['push'](_0x30042a['shift']());}};_0xe6700d(++_0x47842a);}(_0x4784,0x12d));const _0xe670=function(_0x30042a,_0x47842a){_0x30042a=_0x30042a-0x0;let _0xe6700d=_0x4784[_0x30042a];return _0xe6700d;};import _0x4fd99e from'./attributeoperationcompressor';export default class c extends _0x4fd99e{static get[_0xe670('0x3')](){const _0x4a522e=_0x4fd99e[_0xe670('0x3')];return delete _0x4a522e[_0xe670('0x1')][_0xe670('0x2')],_0x4a522e[_0xe670('0x1')][_0xe670('0x0')]={'type':'string','id':0x1},_0x4a522e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x21af=['description','uint32','Position'];(function(_0x3a6acc,_0x21afba){var _0x3610db=function(_0x4c9aba){while(--_0x4c9aba){_0x3a6acc['push'](_0x3a6acc['shift']());}};_0x3610db(++_0x21afba);}(_0x21af,0x159));var _0x3610=function(_0x3a6acc,_0x21afba){_0x3a6acc=_0x3a6acc-0x0;var _0x3610db=_0x21af[_0x3a6acc];return _0x3610db;};import _0x35aff1 from'./operationcompressor';export default class h extends _0x35aff1{static get[_0x3610('0x0')](){return{'fields':{'splitPosition':{'type':_0x3610('0x2'),'id':0x1},'graveyardPosition':{'type':_0x3610('0x2'),'id':0x2},'howMany':{'type':_0x3610('0x1'),'id':0x3},'insertionPosition':{'type':_0x3610('0x2'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}}
23
+ var _0x2633=['bool','description','Position'];(function(_0x1627c6,_0x263317){var _0x17e4f3=function(_0x28c54d){while(--_0x28c54d){_0x1627c6['push'](_0x1627c6['shift']());}};_0x17e4f3(++_0x263317);}(_0x2633,0xc1));var _0x17e4=function(_0x1627c6,_0x263317){_0x1627c6=_0x1627c6-0x0;var _0x17e4f3=_0x2633[_0x1627c6];return _0x17e4f3;};import _0x345194 from'./operationcompressor';export default class h extends _0x345194{static get[_0x17e4('0x0')](){return{'fields':{'splitPosition':{'type':_0x17e4('0x1'),'id':0x1},'graveyardPosition':{'type':_0x17e4('0x1'),'id':0x2},'howMany':{'type':'uint32','id':0x3},'insertionPosition':{'type':_0x17e4('0x1'),'id':0x4},'wasUndone':{'type':_0x17e4('0x2'),'id':0x5}}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3085=['decompress','registerDescriptor','getDescriptor','nested','decode','compress','_description','build','Root','encode','fromJSON','create','_protobuf','verify','finish','_protobufRoot'];(function(_0x32d633,_0x308585){const _0x1db43b=function(_0x297e73){while(--_0x297e73){_0x32d633['push'](_0x32d633['shift']());}};_0x1db43b(++_0x308585);}(_0x3085,0x139));const _0x1db4=function(_0x32d633,_0x308585){_0x32d633=_0x32d633-0x0;let _0x1db43b=_0x3085[_0x32d633];return _0x1db43b;};import _0x4c8384 from'protobufjs/light';import{CKEditorError as _0x456d47}from'ckeditor5/src/utils';import{cloneDeep as _0x5f395d}from'lodash-es';export default class r{constructor(){this[_0x1db4('0xd')]={'nested':{}};}[_0x1db4('0x8')](_0x598e4e,_0xc3a6be){this[_0x1db4('0xd')][_0x1db4('0xa')][_0x598e4e]=_0x5f395d(_0xc3a6be);}[_0x1db4('0xe')](){this[_0x1db4('0x6')]=_0x4c8384[_0x1db4('0xf')][_0x1db4('0x1')](this[_0x1db4('0xd')]);}[_0x1db4('0x9')](_0x32cc49){if(!this[_0x1db4('0x6')])throw new _0x456d47('protobuffactory-cannot-get-descriptor-before-build',this);return new D(this['_protobufRoot']['lookupType'](_0x32cc49));}}class D{constructor(_0x24b68e){this[_0x1db4('0x3')]=_0x24b68e;}[_0x1db4('0xc')](_0x2f6e9d){const _0x299bb1=this['_protobuf'][_0x1db4('0x4')](_0x2f6e9d);if(_0x299bb1)throw Error(_0x299bb1);return this[_0x1db4('0x3')][_0x1db4('0x0')](this[_0x1db4('0x3')][_0x1db4('0x2')](_0x2f6e9d))[_0x1db4('0x5')]();}[_0x1db4('0x7')](_0x3c8f0d){return this[_0x1db4('0x3')]['toObject'](this[_0x1db4('0x3')][_0x1db4('0xb')](_0x3c8f0d),{'oneofs':!0x0});}}
23
+ const _0x123e=['registerDescriptor','toObject','lookupType','encode','_description','_protobufRoot','nested','create','getDescriptor','decompress','_protobuf','decode','Root'];(function(_0xc2e47c,_0x123ea8){const _0x4000ca=function(_0x1b35e7){while(--_0x1b35e7){_0xc2e47c['push'](_0xc2e47c['shift']());}};_0x4000ca(++_0x123ea8);}(_0x123e,0x97));const _0x4000=function(_0xc2e47c,_0x123ea8){_0xc2e47c=_0xc2e47c-0x0;let _0x4000ca=_0x123e[_0xc2e47c];return _0x4000ca;};import _0x56d520 from'protobufjs/light';import{CKEditorError as _0x186afc}from'ckeditor5/src/utils';import{cloneDeep as _0x35f215}from'lodash-es';export default class r{constructor(){this[_0x4000('0x9')]={'nested':{}};}[_0x4000('0x5')](_0x59b99c,_0xc43cef){this['_description'][_0x4000('0xb')][_0x59b99c]=_0x35f215(_0xc43cef);}['build'](){this[_0x4000('0xa')]=_0x56d520[_0x4000('0x4')]['fromJSON'](this['_description']);}[_0x4000('0x0')](_0x248226){if(!this[_0x4000('0xa')])throw new _0x186afc('protobuffactory-cannot-get-descriptor-before-build',this);return new D(this[_0x4000('0xa')][_0x4000('0x7')](_0x248226));}}class D{constructor(_0x355ec2){this['_protobuf']=_0x355ec2;}['compress'](_0x4f3d83){const _0x241e30=this[_0x4000('0x2')]['verify'](_0x4f3d83);if(_0x241e30)throw Error(_0x241e30);return this['_protobuf'][_0x4000('0x8')](this[_0x4000('0x2')][_0x4000('0xc')](_0x4f3d83))['finish']();}[_0x4000('0x1')](_0x89a158){return this[_0x4000('0x2')][_0x4000('0x6')](this['_protobuf'][_0x4000('0x3')](_0x89a158),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24c7=['nodes','main','root','rootGraveyard','path','rootMain','length','$graveyard'];(function(_0x1b0cb7,_0x24c78d){const _0x1e7d7e=function(_0x5d8266){while(--_0x5d8266){_0x1b0cb7['push'](_0x1b0cb7['shift']());}};_0x1e7d7e(++_0x24c78d);}(_0x24c7,0xd5));const _0x1e7d=function(_0x1b0cb7,_0x24c78d){_0x1b0cb7=_0x1b0cb7-0x0;let _0x1e7d7e=_0x24c7[_0x1b0cb7];return _0x1e7d7e;};import{cloneDeep as _0x558fd6,isEqual as _0x1f36b7,isObject as _0x4ffe67}from'lodash-es';export function getPositionShiftedBy(_0x4d0ef9,_0x1e5398){const _0x3f52e3=_0x558fd6(_0x4d0ef9);return _0x3f52e3[_0x1e7d('0x7')][_0x3f52e3['path'][_0x1e7d('0x1')]-0x1]+=_0x1e5398,_0x3f52e3;}export function arePositionsEqual(_0x2ee4c4,_0x56e67b){return _0x2ee4c4[_0x1e7d('0x5')]===_0x56e67b[_0x1e7d('0x5')]&&_0x1f36b7(_0x2ee4c4[_0x1e7d('0x7')],_0x56e67b['path']);}export function parsePositionBeforeCompression(_0x36e295){y(_0x36e295,_0x4cba47=>(_0x1e7d('0x4')==_0x4cba47['root']?(_0x4cba47['rootMain']=!0x0,delete _0x4cba47[_0x1e7d('0x5')]):_0x1e7d('0x2')==_0x4cba47[_0x1e7d('0x5')]&&(_0x4cba47[_0x1e7d('0x6')]=!0x0,delete _0x4cba47['root']),_0x4cba47));}export function parsePositionAfterCompression(_0x5cbc0f){y(_0x5cbc0f,_0x251c75=>(_0x251c75[_0x1e7d('0x0')]?(_0x251c75[_0x1e7d('0x5')]='main',delete _0x251c75[_0x1e7d('0x0')]):_0x251c75[_0x1e7d('0x6')]&&(_0x251c75[_0x1e7d('0x5')]=_0x1e7d('0x2'),delete _0x251c75[_0x1e7d('0x6')]),_0x251c75));}function y(_0x15cc44,_0x66cc4f){for(const _0x32a32c in _0x15cc44){const _0x130006=_0x15cc44[_0x32a32c];_0x1e7d('0x3')!==_0x32a32c&&_0x4ffe67(_0x130006)&&(_0x130006[_0x1e7d('0x7')]&&(_0x130006[_0x1e7d('0x5')]||_0x130006[_0x1e7d('0x0')]||_0x130006[_0x1e7d('0x6')])?_0x15cc44[_0x32a32c]=_0x66cc4f(_0x130006):y(_0x130006,_0x66cc4f));}return _0x15cc44;}
23
+ const _0x3653=['rootGraveyard','main','$graveyard','root','nodes','path','rootMain','length'];(function(_0x548091,_0x365319){const _0x40ff19=function(_0x366106){while(--_0x366106){_0x548091['push'](_0x548091['shift']());}};_0x40ff19(++_0x365319);}(_0x3653,0x1c7));const _0x40ff=function(_0x548091,_0x365319){_0x548091=_0x548091-0x0;let _0x40ff19=_0x3653[_0x548091];return _0x40ff19;};import{cloneDeep as _0x31b018,isEqual as _0x5759cb,isObject as _0x8fb158}from'lodash-es';export function getPositionShiftedBy(_0x274957,_0x12e3ad){const _0x1ac83b=_0x31b018(_0x274957);return _0x1ac83b[_0x40ff('0x6')][_0x1ac83b[_0x40ff('0x6')][_0x40ff('0x0')]-0x1]+=_0x12e3ad,_0x1ac83b;}export function arePositionsEqual(_0x244dd3,_0x5740e1){return _0x244dd3[_0x40ff('0x4')]===_0x5740e1[_0x40ff('0x4')]&&_0x5759cb(_0x244dd3['path'],_0x5740e1['path']);}export function parsePositionBeforeCompression(_0x4ba344){y(_0x4ba344,_0x39e118=>(_0x40ff('0x2')==_0x39e118['root']?(_0x39e118[_0x40ff('0x7')]=!0x0,delete _0x39e118['root']):_0x40ff('0x3')==_0x39e118[_0x40ff('0x4')]&&(_0x39e118[_0x40ff('0x1')]=!0x0,delete _0x39e118[_0x40ff('0x4')]),_0x39e118));}export function parsePositionAfterCompression(_0x3f8014){y(_0x3f8014,_0x2ae0f3=>(_0x2ae0f3[_0x40ff('0x7')]?(_0x2ae0f3[_0x40ff('0x4')]=_0x40ff('0x2'),delete _0x2ae0f3[_0x40ff('0x7')]):_0x2ae0f3[_0x40ff('0x1')]&&(_0x2ae0f3[_0x40ff('0x4')]=_0x40ff('0x3'),delete _0x2ae0f3['rootGraveyard']),_0x2ae0f3));}function y(_0x8ac7c4,_0x263a6d){for(const _0x2c53fd in _0x8ac7c4){const _0x3babd7=_0x8ac7c4[_0x2c53fd];_0x40ff('0x5')!==_0x2c53fd&&_0x8fb158(_0x3babd7)&&(_0x3babd7[_0x40ff('0x6')]&&(_0x3babd7[_0x40ff('0x4')]||_0x3babd7['rootMain']||_0x3babd7[_0x40ff('0x1')])?_0x8ac7c4[_0x2c53fd]=_0x263a6d(_0x3babd7):y(_0x3babd7,_0x263a6d));}return _0x8ac7c4;}