@ckeditor/ckeditor5-operations-compressor 47.1.0 → 47.2.0-alpha.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c3d15=_0x1534;(function(_0x4650a1,_0x579611){const _0x3c3fe0=_0x1534,_0x2958a1=_0x4650a1();while(!![]){try{const _0x269864=-parseInt(_0x3c3fe0(0x15f))/0x1+parseInt(_0x3c3fe0(0x15c))/0x2*(-parseInt(_0x3c3fe0(0x173))/0x3)+-parseInt(_0x3c3fe0(0x158))/0x4*(parseInt(_0x3c3fe0(0x163))/0x5)+parseInt(_0x3c3fe0(0x15b))/0x6*(-parseInt(_0x3c3fe0(0x16d))/0x7)+parseInt(_0x3c3fe0(0x168))/0x8+-parseInt(_0x3c3fe0(0x171))/0x9+-parseInt(_0x3c3fe0(0x160))/0xa*(-parseInt(_0x3c3fe0(0x166))/0xb);if(_0x269864===_0x579611)break;else _0x2958a1['push'](_0x2958a1['shift']());}catch(_0x58e35a){_0x2958a1['push'](_0x2958a1['shift']());}}}(_0x5095,0xa559a));import{ActionCompressor as _0x534ea6}from'./actioncompressor.js';import{arePositionsEqual as _0x22ef28,getPositionShiftedBy as _0x36c2dc}from'../utils.js';import{cloneDeep as _0x1e5a10}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x534ea6{[_0x4c3d15(0x165)](_0x354901,_0x7d1dd3){const _0x3ce066=_0x4c3d15;return _0x7d1dd3[_0x3ce066(0x157)]++,_0x7d1dd3[_0x3ce066(0x16a)]=_0x1e5a10(_0x354901[_0x3ce066(0x16a)]),_0x7d1dd3;}[_0x4c3d15(0x172)](_0x4b524d){const _0x5d4228=_0x4c3d15,_0x1c6ac9=_0x1e5a10(_0x4b524d);return _0x4b524d[_0x5d4228(0x157)]--,_0x1c6ac9[_0x5d4228(0x157)]=0x1,_0x1c6ac9[_0x5d4228(0x16a)]=_0x36c2dc(_0x1c6ac9[_0x5d4228(0x16a)],_0x4b524d[_0x5d4228(0x157)]),_0x1c6ac9;}[_0x4c3d15(0x16c)](_0x307789,_0x322728){const _0x37d9e1=_0x4c3d15;return!(!this[_0x37d9e1(0x15a)](_0x307789)||!this[_0x37d9e1(0x15a)](_0x322728))&&(_0x22ef28(_0x36c2dc(_0x307789[_0x37d9e1(0x16a)],-0x1),_0x322728[_0x37d9e1(0x16a)])&&_0x22ef28(_0x307789[_0x37d9e1(0x16e)],_0x322728[_0x37d9e1(0x16e)]));}[_0x4c3d15(0x15e)](_0x192333){const _0x347b92=_0x4c3d15,_0x237172={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x347b92(0x167)][_0x347b92(0x15d)](_0x347b92(0x156))[_0x347b92(0x164)](_0x237172,[_0x192333]),_0x237172[_0x347b92(0x161)][0x0];}[_0x4c3d15(0x159)](_0x23e09f){const _0x5c3926=_0x4c3d15,_0x346a8c=[];return this[_0x5c3926(0x167)][_0x5c3926(0x15d)](_0x5c3926(0x156))[_0x5c3926(0x16b)](_0x346a8c,_0x23e09f),_0x346a8c[0x0];}[_0x4c3d15(0x15a)](_0x275790){const _0x1cbdd9=_0x4c3d15;return _0x1cbdd9(0x156)==_0x275790[_0x1cbdd9(0x169)]&&_0x1cbdd9(0x162)==_0x275790[_0x1cbdd9(0x16e)][_0x1cbdd9(0x170)]&&0x1==_0x275790[_0x1cbdd9(0x157)]&&!_0x275790[_0x1cbdd9(0x16f)];}}function _0x1534(_0xb67318,_0xa7d39a){const _0x5095b0=_0x5095();return _0x1534=function(_0x153471,_0x47c6ce){_0x153471=_0x153471-0x156;let _0x3906e9=_0x5095b0[_0x153471];return _0x3906e9;},_0x1534(_0xb67318,_0xa7d39a);}function _0x5095(){const _0x3ed36d=['root','5533731kvtGdJ','_splitCurrent','9735fPMRhD','MoveOperation','howMany','143932FlPIgD','_decompressSingleOperation','_checkOperation','14892xTOgpy','320errrHR','_getCompressorByName','_compressSingleOperation','418422JLQwMG','4673970FTpuvS','buffers','$graveyard','125ySHjzZ','compress','_combineNext','99lmHKAH','_context','277544zRXFTn','__className','sourcePosition','decompress','_compareOperations','3136UVDjWf','targetPosition','wasUndone'];_0x5095=function(){return _0x3ed36d;};return _0x5095();}
23
+ const _0x531563=_0x1fd2;(function(_0x536319,_0x1194b2){const _0x3faa90=_0x1fd2,_0x50beb4=_0x536319();while(!![]){try{const _0x29dcce=-parseInt(_0x3faa90(0xaf))/0x1*(-parseInt(_0x3faa90(0xa2))/0x2)+-parseInt(_0x3faa90(0xab))/0x3*(-parseInt(_0x3faa90(0xa7))/0x4)+parseInt(_0x3faa90(0xb8))/0x5+-parseInt(_0x3faa90(0xa9))/0x6*(-parseInt(_0x3faa90(0xb3))/0x7)+parseInt(_0x3faa90(0xa1))/0x8*(-parseInt(_0x3faa90(0xb5))/0x9)+-parseInt(_0x3faa90(0xb6))/0xa+parseInt(_0x3faa90(0xb0))/0xb*(-parseInt(_0x3faa90(0xbc))/0xc);if(_0x29dcce===_0x1194b2)break;else _0x50beb4['push'](_0x50beb4['shift']());}catch(_0x4f337b){_0x50beb4['push'](_0x50beb4['shift']());}}}(_0x3a01,0xa2fc9));import{ActionCompressor as _0x24cbb0}from'./actioncompressor.js';function _0x1fd2(_0x544df5,_0x594c5c){const _0x3a0171=_0x3a01();return _0x1fd2=function(_0x1fd20e,_0x276c73){_0x1fd20e=_0x1fd20e-0xa0;let _0x26f328=_0x3a0171[_0x1fd20e];return _0x26f328;},_0x1fd2(_0x544df5,_0x594c5c);}import{arePositionsEqual as _0x194267,getPositionShiftedBy as _0x3527e4}from'../utils.js';import{cloneDeep as _0x32ff09}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x24cbb0{[_0x531563(0xa4)](_0xd85d73,_0x1f8c3b){const _0x4fad6f=_0x531563;return _0x1f8c3b[_0x4fad6f(0xaa)]++,_0x1f8c3b[_0x4fad6f(0xba)]=_0x32ff09(_0xd85d73[_0x4fad6f(0xba)]),_0x1f8c3b;}[_0x531563(0xa6)](_0x2933d5){const _0xbc21ff=_0x531563,_0x1b874a=_0x32ff09(_0x2933d5);return _0x2933d5[_0xbc21ff(0xaa)]--,_0x1b874a[_0xbc21ff(0xaa)]=0x1,_0x1b874a[_0xbc21ff(0xba)]=_0x3527e4(_0x1b874a[_0xbc21ff(0xba)],_0x2933d5[_0xbc21ff(0xaa)]),_0x1b874a;}[_0x531563(0xa0)](_0x55c0ab,_0x3d99dc){const _0x8b931e=_0x531563;return!(!this[_0x8b931e(0xa5)](_0x55c0ab)||!this[_0x8b931e(0xa5)](_0x3d99dc))&&(_0x194267(_0x3527e4(_0x55c0ab[_0x8b931e(0xba)],-0x1),_0x3d99dc[_0x8b931e(0xba)])&&_0x194267(_0x55c0ab[_0x8b931e(0xbb)],_0x3d99dc[_0x8b931e(0xbb)]));}[_0x531563(0xb9)](_0x5d41bf){const _0x5253fc=_0x531563,_0x29c358={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5253fc(0xbe)][_0x5253fc(0xa3)](_0x5253fc(0xb7))[_0x5253fc(0xa8)](_0x29c358,[_0x5d41bf]),_0x29c358[_0x5253fc(0xb4)][0x0];}[_0x531563(0xad)](_0x232cd8){const _0x2cca00=_0x531563,_0x1c1aa5=[];return this[_0x2cca00(0xbe)][_0x2cca00(0xa3)](_0x2cca00(0xb7))[_0x2cca00(0xae)](_0x1c1aa5,_0x232cd8),_0x1c1aa5[0x0];}[_0x531563(0xa5)](_0x29ef34){const _0x46ecb5=_0x531563;return _0x46ecb5(0xb7)==_0x29ef34[_0x46ecb5(0xac)]&&_0x46ecb5(0xbd)==_0x29ef34[_0x46ecb5(0xbb)][_0x46ecb5(0xb1)]&&0x1==_0x29ef34[_0x46ecb5(0xaa)]&&!_0x29ef34[_0x46ecb5(0xb2)];}}function _0x3a01(){const _0x3235b1=['_compressSingleOperation','sourcePosition','targetPosition','24OMcNcS','$graveyard','_context','_compareOperations','1175912tJxBjR','16962XmvAbv','_getCompressorByName','_combineNext','_checkOperation','_splitCurrent','8YCTZwc','compress','791598TJcRcA','howMany','1820022IZWvzC','__className','_decompressSingleOperation','decompress','106oUiEkF','4371928fmkiah','root','wasUndone','49qWTMrB','buffers','81RTCpqx','2725150oANVkO','MoveOperation','110200ydjOfY'];_0x3a01=function(){return _0x3235b1;};return _0x3a01();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x488817=_0x32f0;(function(_0x10637f,_0x5e9d42){const _0x3a0f90=_0x32f0,_0x1a4905=_0x10637f();while(!![]){try{const _0x3eb603=parseInt(_0x3a0f90(0x11a))/0x1+parseInt(_0x3a0f90(0x10e))/0x2+parseInt(_0x3a0f90(0x110))/0x3+-parseInt(_0x3a0f90(0x115))/0x4+-parseInt(_0x3a0f90(0x100))/0x5+parseInt(_0x3a0f90(0x111))/0x6*(-parseInt(_0x3a0f90(0x103))/0x7)+parseInt(_0x3a0f90(0x117))/0x8*(parseInt(_0x3a0f90(0x108))/0x9);if(_0x3eb603===_0x5e9d42)break;else _0x1a4905['push'](_0x1a4905['shift']());}catch(_0x1fa2e4){_0x1a4905['push'](_0x1a4905['shift']());}}}(_0x11d3,0x32384));import{ActionCompressor as _0x587340}from'./actioncompressor.js';import{arePositionsEqual as _0xd5364f}from'../utils.js';import{cloneDeep as _0x5d740f}from'es-toolkit/compat';function _0x32f0(_0x604d36,_0x46a097){const _0x11d34d=_0x11d3();return _0x32f0=function(_0x32f042,_0x3609db){_0x32f042=_0x32f042-0x100;let _0x42b6b9=_0x11d34d[_0x32f042];return _0x42b6b9;},_0x32f0(_0x604d36,_0x46a097);}export class ForwardDeletingActionCompressor extends _0x587340{[_0x488817(0x119)](_0x420803,_0x2e7ff4){const _0x3915fa=_0x488817;return _0x2e7ff4[_0x3915fa(0x107)]++,_0x2e7ff4;}[_0x488817(0x109)](_0x56e3f3){const _0x5ab505=_0x488817,_0x263304=_0x5d740f(_0x56e3f3);return _0x263304[_0x5ab505(0x107)]=0x1,_0x56e3f3[_0x5ab505(0x107)]--,_0x263304;}[_0x488817(0x10b)](_0x248951,_0x20f8b4){const _0x40243a=_0x488817;return!(!this[_0x40243a(0x116)](_0x248951)||!this[_0x40243a(0x116)](_0x20f8b4))&&(_0xd5364f(_0x248951[_0x40243a(0x114)],_0x20f8b4[_0x40243a(0x114)])&&_0xd5364f(_0x248951[_0x40243a(0x10c)],_0x20f8b4[_0x40243a(0x10c)]));}[_0x488817(0x104)](_0x55ce54){const _0x40a287=_0x488817,_0x473f0d={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x40a287(0x101)][_0x40a287(0x112)](_0x40a287(0x10a))[_0x40a287(0x105)](_0x473f0d,[_0x55ce54]),_0x473f0d[_0x40a287(0x11b)][0x0];}[_0x488817(0x10d)](_0x37bec4){const _0x75c02=_0x488817,_0x3ca009=[];return this[_0x75c02(0x101)][_0x75c02(0x112)](_0x75c02(0x10a))[_0x75c02(0x106)](_0x3ca009,_0x37bec4),_0x3ca009[0x0];}[_0x488817(0x116)](_0x431f33){const _0x364309=_0x488817;return _0x364309(0x10a)==_0x431f33[_0x364309(0x10f)]&&_0x364309(0x118)==_0x431f33[_0x364309(0x10c)][_0x364309(0x102)]&&0x1==_0x431f33[_0x364309(0x107)]&&!_0x431f33[_0x364309(0x113)];}}function _0x11d3(){const _0x533c40=['89380exvKVE','_context','root','101899cKcyOt','_compressSingleOperation','compress','decompress','howMany','984969tpmMoQ','_splitCurrent','MoveOperation','_compareOperations','targetPosition','_decompressSingleOperation','238766IRvICk','__className','733215DlOemH','42EOYhMe','_getCompressorByName','wasUndone','sourcePosition','1479204jximns','_checkOperation','24tWmRQL','$graveyard','_combineNext','3165brxDwb','buffers'];_0x11d3=function(){return _0x533c40;};return _0x11d3();}
23
+ const _0x1be29d=_0x1a09;(function(_0x12a4eb,_0xedfe3e){const _0x2c158a=_0x1a09,_0x5065ba=_0x12a4eb();while(!![]){try{const _0x17ba8a=-parseInt(_0x2c158a(0x1a6))/0x1*(-parseInt(_0x2c158a(0x19d))/0x2)+parseInt(_0x2c158a(0x1a0))/0x3+-parseInt(_0x2c158a(0x1ac))/0x4*(parseInt(_0x2c158a(0x197))/0x5)+-parseInt(_0x2c158a(0x19a))/0x6+-parseInt(_0x2c158a(0x19e))/0x7*(parseInt(_0x2c158a(0x1ae))/0x8)+parseInt(_0x2c158a(0x199))/0x9*(parseInt(_0x2c158a(0x1b2))/0xa)+parseInt(_0x2c158a(0x1a7))/0xb;if(_0x17ba8a===_0xedfe3e)break;else _0x5065ba['push'](_0x5065ba['shift']());}catch(_0x5f582d){_0x5065ba['push'](_0x5065ba['shift']());}}}(_0x4aea,0xf3c52));import{ActionCompressor as _0x10000d}from'./actioncompressor.js';function _0x1a09(_0x23cb48,_0x5ab28f){const _0x4aeae1=_0x4aea();return _0x1a09=function(_0x1a0983,_0x3f0824){_0x1a0983=_0x1a0983-0x195;let _0x5df0a1=_0x4aeae1[_0x1a0983];return _0x5df0a1;},_0x1a09(_0x23cb48,_0x5ab28f);}import{arePositionsEqual as _0xfe622b}from'../utils.js';import{cloneDeep as _0x1bada8}from'es-toolkit/compat';function _0x4aea(){const _0x1561d7=['_getCompressorByName','howMany','39880jOoFRI','root','_checkOperation','10kOVVKz','decompress','198obFTEK','941568MDNKwu','wasUndone','MoveOperation','3014lXXngb','34230LfZoSc','__className','1372392DwETWs','buffers','_decompressSingleOperation','compress','_splitCurrent','_context','1mSbfvv','34404865yHuqgR','targetPosition','$graveyard','_compareOperations','sourcePosition','3170044LMCNQP','_combineNext','1528VfCpjm','_compressSingleOperation'];_0x4aea=function(){return _0x1561d7;};return _0x4aea();}export class ForwardDeletingActionCompressor extends _0x10000d{[_0x1be29d(0x1ad)](_0x96af45,_0x2860e9){const _0x535617=_0x1be29d;return _0x2860e9[_0x535617(0x1b1)]++,_0x2860e9;}[_0x1be29d(0x1a4)](_0x193e78){const _0x3f85fb=_0x1be29d,_0x4deb6f=_0x1bada8(_0x193e78);return _0x4deb6f[_0x3f85fb(0x1b1)]=0x1,_0x193e78[_0x3f85fb(0x1b1)]--,_0x4deb6f;}[_0x1be29d(0x1aa)](_0x3b6346,_0x565355){const _0x58edc7=_0x1be29d;return!(!this[_0x58edc7(0x196)](_0x3b6346)||!this[_0x58edc7(0x196)](_0x565355))&&(_0xfe622b(_0x3b6346[_0x58edc7(0x1ab)],_0x565355[_0x58edc7(0x1ab)])&&_0xfe622b(_0x3b6346[_0x58edc7(0x1a8)],_0x565355[_0x58edc7(0x1a8)]));}[_0x1be29d(0x1af)](_0x5d3c02){const _0x8cee65=_0x1be29d,_0xb21fa8={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x8cee65(0x1a5)][_0x8cee65(0x1b0)](_0x8cee65(0x19c))[_0x8cee65(0x1a3)](_0xb21fa8,[_0x5d3c02]),_0xb21fa8[_0x8cee65(0x1a1)][0x0];}[_0x1be29d(0x1a2)](_0x4dd0b9){const _0x14f5ed=_0x1be29d,_0x349d41=[];return this[_0x14f5ed(0x1a5)][_0x14f5ed(0x1b0)](_0x14f5ed(0x19c))[_0x14f5ed(0x198)](_0x349d41,_0x4dd0b9),_0x349d41[0x0];}[_0x1be29d(0x196)](_0x17d17b){const _0x18664d=_0x1be29d;return _0x18664d(0x19c)==_0x17d17b[_0x18664d(0x19f)]&&_0x18664d(0x1a9)==_0x17d17b[_0x18664d(0x1a8)][_0x18664d(0x195)]&&0x1==_0x17d17b[_0x18664d(0x1b1)]&&!_0x17d17b[_0x18664d(0x19b)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6998c8=_0x4880;(function(_0x1ed72c,_0x558bc4){const _0x2231af=_0x4880,_0x593523=_0x1ed72c();while(!![]){try{const _0x282830=parseInt(_0x2231af(0x18e))/0x1*(parseInt(_0x2231af(0x19d))/0x2)+parseInt(_0x2231af(0x1a0))/0x3+-parseInt(_0x2231af(0x18f))/0x4*(-parseInt(_0x2231af(0x1a4))/0x5)+parseInt(_0x2231af(0x19c))/0x6*(parseInt(_0x2231af(0x195))/0x7)+parseInt(_0x2231af(0x191))/0x8*(-parseInt(_0x2231af(0x186))/0x9)+parseInt(_0x2231af(0x187))/0xa*(-parseInt(_0x2231af(0x1a1))/0xb)+-parseInt(_0x2231af(0x188))/0xc;if(_0x282830===_0x558bc4)break;else _0x593523['push'](_0x593523['shift']());}catch(_0x5b2d64){_0x593523['push'](_0x593523['shift']());}}}(_0x2a41,0x575ad));import{ActionCompressor as _0x2ad5ec}from'./actioncompressor.js';import{arePositionsEqual as _0x54c591,getPositionShiftedBy as _0x324d8d}from'../utils.js';function _0x4880(_0x62cd52,_0x4d5b25){const _0x2a416e=_0x2a41();return _0x4880=function(_0x488083,_0x3d7ee0){_0x488083=_0x488083-0x17f;let _0x13dc3b=_0x2a416e[_0x488083];return _0x13dc3b;},_0x4880(_0x62cd52,_0x4d5b25);}import{cloneDeep as _0x1e9e33}from'es-toolkit/compat';export class TypingActionCompressor extends _0x2ad5ec{[_0x6998c8(0x18d)](_0x244896,_0x28f747){const _0x4c8e17=_0x6998c8;return _0x28f747[_0x4c8e17(0x18b)][0x0][_0x4c8e17(0x185)]+=_0x244896[_0x4c8e17(0x18b)][0x0][_0x4c8e17(0x185)],_0x28f747;}[_0x6998c8(0x184)](_0x252853){const _0x1b8f00=_0x6998c8,_0xc32e12=_0x1e9e33(_0x252853),_0x7f7b95=_0xc32e12[_0x1b8f00(0x18b)][0x0],_0x1652aa=_0x252853[_0x1b8f00(0x18b)][0x0],_0x4e9f8d=_0x1652aa[_0x1b8f00(0x185)][Symbol[_0x1b8f00(0x18a)]]()[_0x1b8f00(0x181)]()[_0x1b8f00(0x193)],_0x1eeba6=_0x4e9f8d[_0x1b8f00(0x19f)];return _0x7f7b95[_0x1b8f00(0x185)]=_0x4e9f8d,_0x1652aa[_0x1b8f00(0x185)]=_0x1652aa[_0x1b8f00(0x185)][_0x1b8f00(0x199)](_0x1eeba6),_0x252853[_0x1b8f00(0x189)]=_0x324d8d(_0x252853[_0x1b8f00(0x189)],_0x1eeba6),_0xc32e12;}[_0x6998c8(0x198)](_0x378290,_0x48eb0f){const _0x4af568=_0x6998c8;if(this[_0x4af568(0x196)](_0x378290)&&this[_0x4af568(0x196)](_0x48eb0f)){const _0x41c796=_0x378290[_0x4af568(0x18b)][0x0][_0x4af568(0x185)][_0x4af568(0x19f)],_0x51cf34=_0x54c591(_0x324d8d(_0x378290[_0x4af568(0x189)],_0x41c796),_0x48eb0f[_0x4af568(0x189)]),_0x496ffa=_0x378290[_0x4af568(0x18b)][0x0],_0x547572=_0x48eb0f[_0x4af568(0x18b)][0x0];return _0x51cf34&&this[_0x4af568(0x192)](_0x496ffa,_0x547572);}return!0x1;}[_0x6998c8(0x18c)](_0x170440){const _0x3c6910=_0x6998c8,_0xdf81f2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3c6910(0x183)][_0x3c6910(0x182)](_0x3c6910(0x1a5))[_0x3c6910(0x1a3)](_0xdf81f2,[_0x170440]),_0xdf81f2[_0x3c6910(0x1a2)][0x0];}[_0x6998c8(0x19e)](_0x2807a0){const _0x5cc4c2=_0x6998c8,_0x5bca2c=[];return this[_0x5cc4c2(0x183)][_0x5cc4c2(0x182)](_0x5cc4c2(0x1a5))[_0x5cc4c2(0x190)](_0x5bca2c,_0x2807a0),_0x5bca2c[0x0];}[_0x6998c8(0x196)](_0xdf2262){const _0x3b7cfb=_0x6998c8;return _0x3b7cfb(0x1a5)==_0xdf2262[_0x3b7cfb(0x17f)]&&0x1==_0xdf2262[_0x3b7cfb(0x18b)][_0x3b7cfb(0x19f)]&&_0xdf2262[_0x3b7cfb(0x18b)][0x0][_0x3b7cfb(0x185)]&&!_0xdf2262[_0x3b7cfb(0x194)]&&0x1==Array[_0x3b7cfb(0x19b)](_0xdf2262[_0x3b7cfb(0x18b)][0x0][_0x3b7cfb(0x185)])[_0x3b7cfb(0x19f)];}[_0x6998c8(0x192)](_0x26b4bb,_0x79af7d){const _0x5d9643=_0x6998c8,_0x294fdc=Object[_0x5d9643(0x197)](_0x26b4bb[_0x5d9643(0x180)]||{}),_0x1eb260=Object[_0x5d9643(0x197)](_0x79af7d[_0x5d9643(0x180)]||{});return _0x294fdc[_0x5d9643(0x19f)]===_0x1eb260[_0x5d9643(0x19f)]&&_0x294fdc[_0x5d9643(0x19a)](_0x569764=>_0x79af7d[_0x5d9643(0x180)][_0x569764]&&_0x79af7d[_0x5d9643(0x180)][_0x569764]===_0x26b4bb[_0x5d9643(0x180)][_0x569764]);}}function _0x2a41(){const _0x947b3b=['_compressSingleOperation','_combineNext','471315dmuAcU','4Yyktid','decompress','6744fXwKNd','_compareAttributes','value','wasUndone','569933vMLXfK','_checkOperation','keys','_compareOperations','substr','every','from','30dJgLhv','2OYvBbd','_decompressSingleOperation','length','912060mWhUXm','462935QkjPQh','buffers','compress','3428695gtyGfJ','InsertOperation','__className','attributes','next','_getCompressorByName','_context','_splitCurrent','data','5229VMmeQU','150MEryEq','4671672VJbGla','position','iterator','nodes'];_0x2a41=function(){return _0x947b3b;};return _0x2a41();}
23
+ const _0x2fb00b=_0x3007;(function(_0x117b6f,_0x4d2736){const _0x17d9a2=_0x3007,_0xae35f4=_0x117b6f();while(!![]){try{const _0x5adfdf=-parseInt(_0x17d9a2(0x128))/0x1+parseInt(_0x17d9a2(0x122))/0x2+parseInt(_0x17d9a2(0x10d))/0x3*(parseInt(_0x17d9a2(0x10e))/0x4)+parseInt(_0x17d9a2(0x10b))/0x5*(-parseInt(_0x17d9a2(0x114))/0x6)+parseInt(_0x17d9a2(0x11f))/0x7*(parseInt(_0x17d9a2(0x10a))/0x8)+-parseInt(_0x17d9a2(0x11e))/0x9*(-parseInt(_0x17d9a2(0x10f))/0xa)+-parseInt(_0x17d9a2(0x112))/0xb*(-parseInt(_0x17d9a2(0x11a))/0xc);if(_0x5adfdf===_0x4d2736)break;else _0xae35f4['push'](_0xae35f4['shift']());}catch(_0x3e5478){_0xae35f4['push'](_0xae35f4['shift']());}}}(_0x167e,0xafabb));function _0x3007(_0x4f1670,_0x10928c){const _0x167e04=_0x167e();return _0x3007=function(_0x3007be,_0x37bc77){_0x3007be=_0x3007be-0x102;let _0x426700=_0x167e04[_0x3007be];return _0x426700;},_0x3007(_0x4f1670,_0x10928c);}import{ActionCompressor as _0x19cbf3}from'./actioncompressor.js';import{arePositionsEqual as _0x39fd94,getPositionShiftedBy as _0x77b947}from'../utils.js';import{cloneDeep as _0x2e446c}from'es-toolkit/compat';function _0x167e(){const _0x5c8559=['nodes','_decompressSingleOperation','2101ThBBxs','_combineNext','750SKOPQK','InsertOperation','_compareOperations','from','_getCompressorByName','_splitCurrent','9084IaCEtR','every','attributes','compress','291285lLtTRr','91OaXFvh','keys','buffers','324818MpwNyA','_checkOperation','position','substr','data','_compressSingleOperation','872929DQHWHk','iterator','__className','value','_compareAttributes','decompress','length','wasUndone','_context','815336THMLVC','43310oJNYVC','next','590199QnqXvC','12KqXbpB','140FpAuBQ'];_0x167e=function(){return _0x5c8559;};return _0x167e();}export class TypingActionCompressor extends _0x19cbf3{[_0x2fb00b(0x113)](_0x9a3fda,_0x1378be){const _0x3a9d30=_0x2fb00b;return _0x1378be[_0x3a9d30(0x110)][0x0][_0x3a9d30(0x126)]+=_0x9a3fda[_0x3a9d30(0x110)][0x0][_0x3a9d30(0x126)],_0x1378be;}[_0x2fb00b(0x119)](_0x3e407e){const _0x1fed57=_0x2fb00b,_0x4a1d7a=_0x2e446c(_0x3e407e),_0x515c98=_0x4a1d7a[_0x1fed57(0x110)][0x0],_0x126fe8=_0x3e407e[_0x1fed57(0x110)][0x0],_0x3c6ce9=_0x126fe8[_0x1fed57(0x126)][Symbol[_0x1fed57(0x102)]]()[_0x1fed57(0x10c)]()[_0x1fed57(0x104)],_0x440dd9=_0x3c6ce9[_0x1fed57(0x107)];return _0x515c98[_0x1fed57(0x126)]=_0x3c6ce9,_0x126fe8[_0x1fed57(0x126)]=_0x126fe8[_0x1fed57(0x126)][_0x1fed57(0x125)](_0x440dd9),_0x3e407e[_0x1fed57(0x124)]=_0x77b947(_0x3e407e[_0x1fed57(0x124)],_0x440dd9),_0x4a1d7a;}[_0x2fb00b(0x116)](_0x4c4c3c,_0x1d4ce4){const _0x56f96d=_0x2fb00b;if(this[_0x56f96d(0x123)](_0x4c4c3c)&&this[_0x56f96d(0x123)](_0x1d4ce4)){const _0x34231d=_0x4c4c3c[_0x56f96d(0x110)][0x0][_0x56f96d(0x126)][_0x56f96d(0x107)],_0x5ea24d=_0x39fd94(_0x77b947(_0x4c4c3c[_0x56f96d(0x124)],_0x34231d),_0x1d4ce4[_0x56f96d(0x124)]),_0x4fbf22=_0x4c4c3c[_0x56f96d(0x110)][0x0],_0x514512=_0x1d4ce4[_0x56f96d(0x110)][0x0];return _0x5ea24d&&this[_0x56f96d(0x105)](_0x4fbf22,_0x514512);}return!0x1;}[_0x2fb00b(0x127)](_0x175e33){const _0x5d2135=_0x2fb00b,_0x1958af={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5d2135(0x109)][_0x5d2135(0x118)](_0x5d2135(0x115))[_0x5d2135(0x11d)](_0x1958af,[_0x175e33]),_0x1958af[_0x5d2135(0x121)][0x0];}[_0x2fb00b(0x111)](_0x3b9291){const _0x898b7f=_0x2fb00b,_0x2b8a34=[];return this[_0x898b7f(0x109)][_0x898b7f(0x118)](_0x898b7f(0x115))[_0x898b7f(0x106)](_0x2b8a34,_0x3b9291),_0x2b8a34[0x0];}[_0x2fb00b(0x123)](_0x4d500e){const _0xea8637=_0x2fb00b;return _0xea8637(0x115)==_0x4d500e[_0xea8637(0x103)]&&0x1==_0x4d500e[_0xea8637(0x110)][_0xea8637(0x107)]&&_0x4d500e[_0xea8637(0x110)][0x0][_0xea8637(0x126)]&&!_0x4d500e[_0xea8637(0x108)]&&0x1==Array[_0xea8637(0x117)](_0x4d500e[_0xea8637(0x110)][0x0][_0xea8637(0x126)])[_0xea8637(0x107)];}[_0x2fb00b(0x105)](_0x477352,_0x516e19){const _0x5d08c3=_0x2fb00b,_0x1adfb8=Object[_0x5d08c3(0x120)](_0x477352[_0x5d08c3(0x11c)]||{}),_0xc990a4=Object[_0x5d08c3(0x120)](_0x516e19[_0x5d08c3(0x11c)]||{});return _0x1adfb8[_0x5d08c3(0x107)]===_0xc990a4[_0x5d08c3(0x107)]&&_0x1adfb8[_0x5d08c3(0x11b)](_0x466027=>_0x516e19[_0x5d08c3(0x11c)][_0x466027]&&_0x516e19[_0x5d08c3(0x11c)][_0x466027]===_0x477352[_0x5d08c3(0x11c)][_0x466027]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x797be5=_0x1ad2;(function(_0x170245,_0x51e71b){const _0x4a7a93=_0x1ad2,_0x4f7988=_0x170245();while(!![]){try{const _0x16b9cc=parseInt(_0x4a7a93(0xb0))/0x1+-parseInt(_0x4a7a93(0xa6))/0x2*(parseInt(_0x4a7a93(0xa8))/0x3)+-parseInt(_0x4a7a93(0xa1))/0x4*(-parseInt(_0x4a7a93(0xb2))/0x5)+parseInt(_0x4a7a93(0xbb))/0x6+-parseInt(_0x4a7a93(0x9a))/0x7+-parseInt(_0x4a7a93(0xaf))/0x8*(parseInt(_0x4a7a93(0xad))/0x9)+parseInt(_0x4a7a93(0x98))/0xa*(-parseInt(_0x4a7a93(0xa3))/0xb);if(_0x16b9cc===_0x51e71b)break;else _0x4f7988['push'](_0x4f7988['shift']());}catch(_0x520f23){_0x4f7988['push'](_0x4f7988['shift']());}}}(_0x4f0a,0x3086f));function _0x4f0a(){const _0x50881c=['_compareOperations','1551rNBPCX','shift','_getCompressorByName','108PjZtwb','__className','11565WYiCHp','user:','oldRange','_context','start','1006542MFMleD','startsWith','8hJdDTc','60000YcosFf','end','5OfUDQh','user:position:','split','types','decompress','compress','stickiness','_compressSingleOperation','newRange','1871784msnkZi','9690QgLFdK','buffers','706174dyghyI','name','MarkerOperation','push','_decompressSingleOperation','toNone','_id','1537288unSHMr'];_0x4f0a=function(){return _0x50881c;};return _0x4f0a();}import{ActionCompressor as _0x57dea3}from'./actioncompressor.js';import{arePositionsEqual as _0x1bea30}from'../utils.js';function _0x1ad2(_0x5a075c,_0x102007){const _0x4f0a62=_0x4f0a();return _0x1ad2=function(_0x1ad2c3,_0x3ac95f){_0x1ad2c3=_0x1ad2c3-0x98;let _0x21934e=_0x4f0a62[_0x1ad2c3];return _0x21934e;},_0x1ad2(_0x5a075c,_0x102007);}import{cloneDeep as _0x432aa5}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x57dea3{[_0x797be5(0xb7)](_0x1c90a9,_0x4c3b22){const _0x47a619=_0x797be5;if(!this[_0x47a619(0xa2)](_0x4c3b22[0x0],_0x4c3b22[0x1]))return!0x1;const _0xc29e=_0x4c3b22[_0x47a619(0xa4)]();return _0xc29e[_0x47a619(0xaa)]=null,_0xc29e[_0x47a619(0xba)]&&_0x1bea30(_0xc29e[_0x47a619(0xba)][_0x47a619(0xac)],_0xc29e[_0x47a619(0xba)][_0x47a619(0xb1)])&&(_0xc29e[_0x47a619(0xba)][_0x47a619(0xb1)]=null),_0x4c3b22[_0x47a619(0xa4)](),_0x1c90a9[_0x47a619(0xb5)][_0x47a619(0x9d)](this[_0x47a619(0xa0)]),_0x1c90a9[_0x47a619(0xb5)][_0x47a619(0x9d)](0x0),_0x1c90a9[_0x47a619(0x99)][_0x47a619(0x9d)](this[_0x47a619(0xb9)](_0xc29e)),!0x0;}[_0x797be5(0xb6)](_0x30171c,_0x57d047){const _0x4963e7=_0x797be5,_0x39e2dd=this[_0x4963e7(0x9e)](_0x57d047);_0x39e2dd[_0x4963e7(0xba)]&&!_0x39e2dd[_0x4963e7(0xba)][_0x4963e7(0xb1)]&&(_0x39e2dd[_0x4963e7(0xba)][_0x4963e7(0xb1)]=_0x432aa5(_0x39e2dd[_0x4963e7(0xba)][_0x4963e7(0xac)]));const _0x27f416=_0x432aa5(_0x39e2dd);_0x27f416[_0x4963e7(0xba)]&&(_0x27f416[_0x4963e7(0xba)][_0x4963e7(0xac)][_0x4963e7(0xb8)]=_0x4963e7(0x9f),_0x27f416[_0x4963e7(0xba)][_0x4963e7(0xb1)]=_0x432aa5(_0x27f416[_0x4963e7(0xba)][_0x4963e7(0xac)])),_0x27f416[_0x4963e7(0x9b)]=_0x4963e7(0xb3)+_0x27f416[_0x4963e7(0x9b)][_0x4963e7(0xb4)](':')[0x2],_0x57d047[_0x4963e7(0xb5)][_0x4963e7(0xa4)](),_0x30171c[_0x4963e7(0x9d)](_0x39e2dd),_0x30171c[_0x4963e7(0x9d)](_0x27f416);}[_0x797be5(0xb9)](_0x296e5e){const _0x53274c=_0x797be5,_0xde40={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x53274c(0xab)][_0x53274c(0xa5)](_0x53274c(0x9c))[_0x53274c(0xb7)](_0xde40,[_0x296e5e]),_0xde40[_0x53274c(0x99)][0x0];}[_0x797be5(0x9e)](_0x404a13){const _0xf9a6d8=_0x797be5,_0x3a2dbc=[];return this[_0xf9a6d8(0xab)][_0xf9a6d8(0xa5)](_0xf9a6d8(0x9c))[_0xf9a6d8(0xb6)](_0x3a2dbc,_0x404a13),_0x3a2dbc[0x0];}[_0x797be5(0xa2)](_0x469d6a,_0x35c908){const _0x2e6c1b=_0x797be5;return!(!_0x469d6a||!_0x35c908)&&(_0x2e6c1b(0x9c)==_0x469d6a[_0x2e6c1b(0xa7)]&&_0x2e6c1b(0x9c)==_0x35c908[_0x2e6c1b(0xa7)]&&!(!_0x469d6a[_0x2e6c1b(0x9b)][_0x2e6c1b(0xae)](_0x2e6c1b(0xa9))||!_0x35c908[_0x2e6c1b(0x9b)][_0x2e6c1b(0xae)](_0x2e6c1b(0xa9))||_0x469d6a[_0x2e6c1b(0x9b)]==_0x35c908[_0x2e6c1b(0x9b)]));}}
23
+ const _0x54916c=_0x7a1c;(function(_0x2bca8b,_0x2f7527){const _0x1d2c56=_0x7a1c,_0x43f91c=_0x2bca8b();while(!![]){try{const _0x6ff271=-parseInt(_0x1d2c56(0x1dc))/0x1*(-parseInt(_0x1d2c56(0x1e3))/0x2)+parseInt(_0x1d2c56(0x1d3))/0x3*(parseInt(_0x1d2c56(0x1e9))/0x4)+-parseInt(_0x1d2c56(0x1ca))/0x5*(parseInt(_0x1d2c56(0x1cf))/0x6)+parseInt(_0x1d2c56(0x1d5))/0x7*(-parseInt(_0x1d2c56(0x1cc))/0x8)+parseInt(_0x1d2c56(0x1df))/0x9*(parseInt(_0x1d2c56(0x1e1))/0xa)+-parseInt(_0x1d2c56(0x1c4))/0xb+parseInt(_0x1d2c56(0x1db))/0xc*(-parseInt(_0x1d2c56(0x1de))/0xd);if(_0x6ff271===_0x2f7527)break;else _0x43f91c['push'](_0x43f91c['shift']());}catch(_0x4ac6e5){_0x43f91c['push'](_0x43f91c['shift']());}}}(_0x13ba,0x32ca9));import{ActionCompressor as _0x4ff4e6}from'./actioncompressor.js';import{arePositionsEqual as _0x28f140}from'../utils.js';function _0x13ba(){const _0xbc1a8c=['name','98331uokoUO','_getCompressorByName','189TFioLr','push','shift','_decompressSingleOperation','_context','stickiness','245436tkocdj','320783qEnZoq','_id','65oofVku','99DlckSD','compress','363190cFDxov','__className','2BQlVIt','newRange','end','user:','user:position:','MarkerOperation','28oRpoAg','2752959QWyFTe','_compressSingleOperation','start','split','decompress','startsWith','35caMYgn','oldRange','93032pAbLJa','buffers','_compareOperations','64434KTIAdA','types','toNone'];_0x13ba=function(){return _0xbc1a8c;};return _0x13ba();}import{cloneDeep as _0x3b6d45}from'es-toolkit/compat';function _0x7a1c(_0x327b21,_0x2275f4){const _0x13ba45=_0x13ba();return _0x7a1c=function(_0x7a1c39,_0x5b2043){_0x7a1c39=_0x7a1c39-0x1c4;let _0x24b8f8=_0x13ba45[_0x7a1c39];return _0x24b8f8;},_0x7a1c(_0x327b21,_0x2275f4);}export class UserSelectionActionCompressor extends _0x4ff4e6{[_0x54916c(0x1e0)](_0x406d4b,_0x27453c){const _0x3c8a6c=_0x54916c;if(!this[_0x3c8a6c(0x1ce)](_0x27453c[0x0],_0x27453c[0x1]))return!0x1;const _0x3107a2=_0x27453c[_0x3c8a6c(0x1d7)]();return _0x3107a2[_0x3c8a6c(0x1cb)]=null,_0x3107a2[_0x3c8a6c(0x1e4)]&&_0x28f140(_0x3107a2[_0x3c8a6c(0x1e4)][_0x3c8a6c(0x1c6)],_0x3107a2[_0x3c8a6c(0x1e4)][_0x3c8a6c(0x1e5)])&&(_0x3107a2[_0x3c8a6c(0x1e4)][_0x3c8a6c(0x1e5)]=null),_0x27453c[_0x3c8a6c(0x1d7)](),_0x406d4b[_0x3c8a6c(0x1d0)][_0x3c8a6c(0x1d6)](this[_0x3c8a6c(0x1dd)]),_0x406d4b[_0x3c8a6c(0x1d0)][_0x3c8a6c(0x1d6)](0x0),_0x406d4b[_0x3c8a6c(0x1cd)][_0x3c8a6c(0x1d6)](this[_0x3c8a6c(0x1c5)](_0x3107a2)),!0x0;}[_0x54916c(0x1c8)](_0x2ad8e8,_0x10e2a0){const _0x45be86=_0x54916c,_0x15ad87=this[_0x45be86(0x1d8)](_0x10e2a0);_0x15ad87[_0x45be86(0x1e4)]&&!_0x15ad87[_0x45be86(0x1e4)][_0x45be86(0x1e5)]&&(_0x15ad87[_0x45be86(0x1e4)][_0x45be86(0x1e5)]=_0x3b6d45(_0x15ad87[_0x45be86(0x1e4)][_0x45be86(0x1c6)]));const _0x4cacc9=_0x3b6d45(_0x15ad87);_0x4cacc9[_0x45be86(0x1e4)]&&(_0x4cacc9[_0x45be86(0x1e4)][_0x45be86(0x1c6)][_0x45be86(0x1da)]=_0x45be86(0x1d1),_0x4cacc9[_0x45be86(0x1e4)][_0x45be86(0x1e5)]=_0x3b6d45(_0x4cacc9[_0x45be86(0x1e4)][_0x45be86(0x1c6)])),_0x4cacc9[_0x45be86(0x1d2)]=_0x45be86(0x1e7)+_0x4cacc9[_0x45be86(0x1d2)][_0x45be86(0x1c7)](':')[0x2],_0x10e2a0[_0x45be86(0x1d0)][_0x45be86(0x1d7)](),_0x2ad8e8[_0x45be86(0x1d6)](_0x15ad87),_0x2ad8e8[_0x45be86(0x1d6)](_0x4cacc9);}[_0x54916c(0x1c5)](_0x1ca6ad){const _0x1774ea=_0x54916c,_0x98802a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1774ea(0x1d9)][_0x1774ea(0x1d4)](_0x1774ea(0x1e8))[_0x1774ea(0x1e0)](_0x98802a,[_0x1ca6ad]),_0x98802a[_0x1774ea(0x1cd)][0x0];}[_0x54916c(0x1d8)](_0x165130){const _0x260708=_0x54916c,_0x3b34d1=[];return this[_0x260708(0x1d9)][_0x260708(0x1d4)](_0x260708(0x1e8))[_0x260708(0x1c8)](_0x3b34d1,_0x165130),_0x3b34d1[0x0];}[_0x54916c(0x1ce)](_0x2e40e4,_0x55cfd2){const _0x256e19=_0x54916c;return!(!_0x2e40e4||!_0x55cfd2)&&(_0x256e19(0x1e8)==_0x2e40e4[_0x256e19(0x1e2)]&&_0x256e19(0x1e8)==_0x55cfd2[_0x256e19(0x1e2)]&&!(!_0x2e40e4[_0x256e19(0x1d2)][_0x256e19(0x1c9)](_0x256e19(0x1e6))||!_0x55cfd2[_0x256e19(0x1d2)][_0x256e19(0x1c9)](_0x256e19(0x1e6))||_0x2e40e4[_0x256e19(0x1d2)]==_0x55cfd2[_0x256e19(0x1d2)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ede45=_0x1c7e;function _0x7086(){const _0x587d99=['compress','suggestion','_registerActionCompressor','InsertOperation','1358430ncTFHd','MoveOperation','DeletingAction','baseVersion','10wXIQhk','set','comment','3818400AESYBm','NoOperation','TypingAction','_registerCompressor','no-operations-provided','CommentMarkerOperation','2YWUfjS','decompress','3551184mkGtJM','_registerOperationCompressor','MarkerOperation','__className','RootAttributeOperation','ForwardDeletingAction','4577027QFSJul','RenameOperation','_protobufFactory','674720bRFMWk','_compressorByName','UserSelectionAction','SplitOperation','getDescriptor','744753rYwdWK','AttributeOperation','_compressorById','types','forEach','49702mqRAdx','length','SuggestionMarkerOperation','_getCompressorByName','RootOperation','decompress-compressor-not-found','get','MergeOperation'];_0x7086=function(){return _0x587d99;};return _0x7086();}(function(_0x169559,_0x25f10e){const _0x4148bf=_0x1c7e,_0x47c2f4=_0x169559();while(!![]){try{const _0x23e252=-parseInt(_0x4148bf(0x164))/0x1*(parseInt(_0x4148bf(0x179))/0x2)+parseInt(_0x4148bf(0x174))/0x3+parseInt(_0x4148bf(0x15e))/0x4+-parseInt(_0x4148bf(0x15b))/0x5*(parseInt(_0x4148bf(0x157))/0x6)+-parseInt(_0x4148bf(0x16c))/0x7+parseInt(_0x4148bf(0x16f))/0x8+parseInt(_0x4148bf(0x166))/0x9;if(_0x23e252===_0x25f10e)break;else _0x47c2f4['push'](_0x47c2f4['shift']());}catch(_0x1344e7){_0x47c2f4['push'](_0x47c2f4['shift']());}}}(_0x7086,0x80452));import{CKEditorError as _0x902df5}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x167442}from'./protobuffactory.js';import{OperationCompressor as _0x3bd74f}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x4cbac9}from'./operationcompressor/attributeoperationcompressor.js';function _0x1c7e(_0x341a58,_0x395fc2){const _0x7086b9=_0x7086();return _0x1c7e=function(_0x1c7e31,_0x14fc5f){_0x1c7e31=_0x1c7e31-0x14f;let _0x52af1c=_0x7086b9[_0x1c7e31];return _0x52af1c;},_0x1c7e(_0x341a58,_0x395fc2);}import{InsertOperationCompressor as _0x1ef2a7}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x24e2aa}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x4325fd}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x4c0047}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x1b10ab}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x4bc7ab}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0xf2cf0b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x52d1e3}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x2ede45(0x176)];[_0x2ede45(0x170)];[_0x2ede45(0x16e)];constructor(){const _0x54a41d=_0x2ede45;this[_0x54a41d(0x176)]=new Map(),this[_0x54a41d(0x170)]=new Map(),this[_0x54a41d(0x16e)]=new _0x167442();const _0x281173=this[_0x54a41d(0x16e)][_0x54a41d(0x173)](_0x54a41d(0x168));this[_0x54a41d(0x161)](0x1,_0x54a41d(0x15f),new _0x4325fd(0x1,_0x54a41d(0x15f),void 0x0)),this[_0x54a41d(0x167)](0xa,_0x54a41d(0x175),_0x4cbac9),this[_0x54a41d(0x167)](0xb,_0x54a41d(0x156),_0x1ef2a7),this[_0x54a41d(0x167)](0xc,_0x54a41d(0x168),_0x24e2aa),this[_0x54a41d(0x167)](0xd,_0x54a41d(0x152),_0x3bd74f),this[_0x54a41d(0x167)](0xe,_0x54a41d(0x158),_0x3bd74f),this[_0x54a41d(0x167)](0xf,_0x54a41d(0x16d),_0x3bd74f),this[_0x54a41d(0x167)](0x10,_0x54a41d(0x16a),_0x4cbac9),this[_0x54a41d(0x167)](0x11,_0x54a41d(0x172),_0x3bd74f),this[_0x54a41d(0x161)](0x12,_0x54a41d(0x163),new _0x4c0047(0x12,_0x54a41d(0x168),_0x281173,_0x54a41d(0x15d))),this[_0x54a41d(0x161)](0x13,_0x54a41d(0x17b),new _0x4c0047(0x13,_0x54a41d(0x168),_0x281173,_0x54a41d(0x154))),this[_0x54a41d(0x167)](0x14,_0x54a41d(0x14f),_0x3bd74f),this[_0x54a41d(0x155)](0x64,_0x54a41d(0x160),_0x1b10ab),this[_0x54a41d(0x155)](0x65,_0x54a41d(0x159),_0x4bc7ab),this[_0x54a41d(0x155)](0x66,_0x54a41d(0x16b),_0xf2cf0b),this[_0x54a41d(0x155)](0x67,_0x54a41d(0x171),_0x52d1e3);}[_0x2ede45(0x153)](_0x12314d){const _0xa0458b=_0x2ede45;if(!_0x12314d||!_0x12314d[0x0])throw new _0x902df5(_0xa0458b(0x162),this);const _0x1b4506={'types':[],'buffers':[],'baseVersion':_0x12314d[0x0][_0xa0458b(0x15a)]};for(;_0x12314d[_0xa0458b(0x17a)];)this[_0xa0458b(0x17c)](_0xa0458b(0x171))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x160))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x159))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x16b))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x163))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0xa0458b(0x17b))[_0xa0458b(0x153)](_0x1b4506,_0x12314d)||this[_0xa0458b(0x17c)](_0x12314d[0x0][_0xa0458b(0x169)])[_0xa0458b(0x153)](_0x1b4506,_0x12314d);return _0x1b4506;}[_0x2ede45(0x165)](_0x403259){const _0x1cb303=_0x2ede45,_0x50be30=[];for(;_0x403259[_0x1cb303(0x177)][_0x1cb303(0x17a)];){const _0x4bb920=this[_0x1cb303(0x176)][_0x1cb303(0x151)](_0x403259[_0x1cb303(0x177)][0x0]);if(!_0x4bb920)throw new _0x902df5(_0x1cb303(0x150),this,{'type':_0x403259[_0x1cb303(0x177)][0x0]});_0x4bb920[_0x1cb303(0x165)](_0x50be30,_0x403259);}return _0x50be30[_0x1cb303(0x178)]((_0x41a284,_0xa83f55)=>_0x41a284[_0x1cb303(0x15a)]=_0x403259[_0x1cb303(0x15a)]+_0xa83f55),_0x50be30;}[_0x2ede45(0x17c)](_0x53533b){const _0x526a08=_0x2ede45;return this[_0x526a08(0x170)][_0x526a08(0x151)](_0x53533b);}[_0x2ede45(0x167)](_0x33b1de,_0x59f721,_0x4a1e19){const _0xe7fea6=_0x2ede45,_0x43d77b=new _0x4a1e19(_0x33b1de,_0x59f721,this[_0xe7fea6(0x16e)][_0xe7fea6(0x173)](_0x59f721));this[_0xe7fea6(0x161)](_0x33b1de,_0x59f721,_0x43d77b);}[_0x2ede45(0x155)](_0x355d0b,_0x20cff7,_0x3cacc9){const _0x2cb471=_0x2ede45,_0x1881f3=new _0x3cacc9(_0x355d0b,this);this[_0x2cb471(0x161)](_0x355d0b,_0x20cff7,_0x1881f3);}[_0x2ede45(0x161)](_0x4b5892,_0x50dd56,_0x582b35){const _0x2400cd=_0x2ede45;this[_0x2400cd(0x176)][_0x2400cd(0x15c)](_0x4b5892,_0x582b35),this[_0x2400cd(0x170)][_0x2400cd(0x15c)](_0x50dd56,_0x582b35);}}
23
+ const _0xd7825a=_0x5d70;function _0x2cca(){const _0x554e4b=['RenameOperation','comment','__className','_compressorByName','12159216yMcufR','1372288tIsBMd','67485TjASdI','SplitOperation','getDescriptor','CommentMarkerOperation','baseVersion','suggestion','40pWpedf','AttributeOperation','_getCompressorByName','_compressorById','RootAttributeOperation','no-operations-provided','decompress','_protobufFactory','_registerCompressor','decompress-compressor-not-found','MarkerOperation','types','TypingAction','50207eSQwCR','18wtijFY','5388516ayIScT','_registerActionCompressor','107820ANIREp','length','forEach','1791726PEbLFo','InsertOperation','ForwardDeletingAction','5efqpnG','1914XPUalE','MergeOperation','RootOperation','SuggestionMarkerOperation','DeletingAction','set','_registerOperationCompressor','UserSelectionAction','NoOperation','MoveOperation','get','compress'];_0x2cca=function(){return _0x554e4b;};return _0x2cca();}(function(_0xa216bb,_0x5d7299){const _0x53a57e=_0x5d70,_0x377d26=_0xa216bb();while(!![]){try{const _0x3db4b6=parseInt(_0x53a57e(0x1a4))/0x1*(-parseInt(_0x53a57e(0x1a5))/0x2)+parseInt(_0x53a57e(0x1c1))/0x3*(-parseInt(_0x53a57e(0x1c7))/0x4)+-parseInt(_0x53a57e(0x1ae))/0x5*(-parseInt(_0x53a57e(0x1ab))/0x6)+parseInt(_0x53a57e(0x1a6))/0x7+-parseInt(_0x53a57e(0x1c0))/0x8+-parseInt(_0x53a57e(0x1bf))/0x9+-parseInt(_0x53a57e(0x1a8))/0xa*(-parseInt(_0x53a57e(0x1af))/0xb);if(_0x3db4b6===_0x5d7299)break;else _0x377d26['push'](_0x377d26['shift']());}catch(_0x3abe82){_0x377d26['push'](_0x377d26['shift']());}}}(_0x2cca,0xb5e90));import{CKEditorError as _0xe2916}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x1035a0}from'./protobuffactory.js';import{OperationCompressor as _0x2880a5}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x3639a9}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x401162}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x2e20de}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x45d547}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x9abf71}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x5a7400}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x2a2c58}from'./actioncompressor/deletingactioncompressor.js';function _0x5d70(_0x1b939c,_0x1ec79b){const _0x2ccaa9=_0x2cca();return _0x5d70=function(_0x5d70de,_0x46d267){_0x5d70de=_0x5d70de-0x1a3;let _0x2e70be=_0x2ccaa9[_0x5d70de];return _0x2e70be;},_0x5d70(_0x1b939c,_0x1ec79b);}import{ForwardDeletingActionCompressor as _0x175c71}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x169e80}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0xd7825a(0x1ca)];[_0xd7825a(0x1be)];[_0xd7825a(0x1ce)];constructor(){const _0x304685=_0xd7825a;this[_0x304685(0x1ca)]=new Map(),this[_0x304685(0x1be)]=new Map(),this[_0x304685(0x1ce)]=new _0x1035a0();const _0x407336=this[_0x304685(0x1ce)][_0x304685(0x1c3)](_0x304685(0x1d1));this[_0x304685(0x1cf)](0x1,_0x304685(0x1b7),new _0x45d547(0x1,_0x304685(0x1b7),void 0x0)),this[_0x304685(0x1b5)](0xa,_0x304685(0x1c8),_0x3639a9),this[_0x304685(0x1b5)](0xb,_0x304685(0x1ac),_0x401162),this[_0x304685(0x1b5)](0xc,_0x304685(0x1d1),_0x2e20de),this[_0x304685(0x1b5)](0xd,_0x304685(0x1b0),_0x2880a5),this[_0x304685(0x1b5)](0xe,_0x304685(0x1b8),_0x2880a5),this[_0x304685(0x1b5)](0xf,_0x304685(0x1bb),_0x2880a5),this[_0x304685(0x1b5)](0x10,_0x304685(0x1cb),_0x3639a9),this[_0x304685(0x1b5)](0x11,_0x304685(0x1c2),_0x2880a5),this[_0x304685(0x1cf)](0x12,_0x304685(0x1c4),new _0x9abf71(0x12,_0x304685(0x1d1),_0x407336,_0x304685(0x1bc))),this[_0x304685(0x1cf)](0x13,_0x304685(0x1b2),new _0x9abf71(0x13,_0x304685(0x1d1),_0x407336,_0x304685(0x1c6))),this[_0x304685(0x1b5)](0x14,_0x304685(0x1b1),_0x2880a5),this[_0x304685(0x1a7)](0x64,_0x304685(0x1a3),_0x5a7400),this[_0x304685(0x1a7)](0x65,_0x304685(0x1b3),_0x2a2c58),this[_0x304685(0x1a7)](0x66,_0x304685(0x1ad),_0x175c71),this[_0x304685(0x1a7)](0x67,_0x304685(0x1b6),_0x169e80);}[_0xd7825a(0x1ba)](_0x3de836){const _0x17db05=_0xd7825a;if(!_0x3de836||!_0x3de836[0x0])throw new _0xe2916(_0x17db05(0x1cc),this);const _0x1b4068={'types':[],'buffers':[],'baseVersion':_0x3de836[0x0][_0x17db05(0x1c5)]};for(;_0x3de836[_0x17db05(0x1a9)];)this[_0x17db05(0x1c9)](_0x17db05(0x1b6))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1a3))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1b3))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1ad))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1c4))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x17db05(0x1b2))[_0x17db05(0x1ba)](_0x1b4068,_0x3de836)||this[_0x17db05(0x1c9)](_0x3de836[0x0][_0x17db05(0x1bd)])[_0x17db05(0x1ba)](_0x1b4068,_0x3de836);return _0x1b4068;}[_0xd7825a(0x1cd)](_0x6f5b5){const _0x10a1d6=_0xd7825a,_0x361ce2=[];for(;_0x6f5b5[_0x10a1d6(0x1d2)][_0x10a1d6(0x1a9)];){const _0x3f547f=this[_0x10a1d6(0x1ca)][_0x10a1d6(0x1b9)](_0x6f5b5[_0x10a1d6(0x1d2)][0x0]);if(!_0x3f547f)throw new _0xe2916(_0x10a1d6(0x1d0),this,{'type':_0x6f5b5[_0x10a1d6(0x1d2)][0x0]});_0x3f547f[_0x10a1d6(0x1cd)](_0x361ce2,_0x6f5b5);}return _0x361ce2[_0x10a1d6(0x1aa)]((_0x23e591,_0x2edbef)=>_0x23e591[_0x10a1d6(0x1c5)]=_0x6f5b5[_0x10a1d6(0x1c5)]+_0x2edbef),_0x361ce2;}[_0xd7825a(0x1c9)](_0x1d47de){const _0x380167=_0xd7825a;return this[_0x380167(0x1be)][_0x380167(0x1b9)](_0x1d47de);}[_0xd7825a(0x1b5)](_0x39d8a9,_0x2ce78f,_0x33a400){const _0xe90428=_0xd7825a,_0x279300=new _0x33a400(_0x39d8a9,_0x2ce78f,this[_0xe90428(0x1ce)][_0xe90428(0x1c3)](_0x2ce78f));this[_0xe90428(0x1cf)](_0x39d8a9,_0x2ce78f,_0x279300);}[_0xd7825a(0x1a7)](_0x4a4b32,_0x2e9430,_0x425b4c){const _0x3b6fdf=_0xd7825a,_0x5e17ad=new _0x425b4c(_0x4a4b32,this);this[_0x3b6fdf(0x1cf)](_0x4a4b32,_0x2e9430,_0x5e17ad);}[_0xd7825a(0x1cf)](_0x3aa4eb,_0x22da7b,_0x478901){const _0x230389=_0xd7825a;this[_0x230389(0x1ca)][_0x230389(0x1b4)](_0x3aa4eb,_0x478901),this[_0x230389(0x1be)][_0x230389(0x1b4)](_0x22da7b,_0x478901);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1a16(){var _0x26b33e=['9qrDTlf','8gaUOzX','5270984mdaqxS','59321KbyekB','1030448FocQjt','796820tFTcyf','258853RBpYUs','3067464cBDKQs','140049WzFHZG'];_0x1a16=function(){return _0x26b33e;};return _0x1a16();}(function(_0x2cf723,_0xb40284){var _0x28d72e=_0x4abf,_0x1d3e7f=_0x2cf723();while(!![]){try{var _0x3ca525=-parseInt(_0x28d72e(0x1dc))/0x1+parseInt(_0x28d72e(0x1dd))/0x2+-parseInt(_0x28d72e(0x1e1))/0x3+-parseInt(_0x28d72e(0x1da))/0x4*(parseInt(_0x28d72e(0x1de))/0x5)+-parseInt(_0x28d72e(0x1e0))/0x6+parseInt(_0x28d72e(0x1df))/0x7+parseInt(_0x28d72e(0x1db))/0x8*(parseInt(_0x28d72e(0x1d9))/0x9);if(_0x3ca525===_0xb40284)break;else _0x1d3e7f['push'](_0x1d3e7f['shift']());}catch(_0x302c3a){_0x1d3e7f['push'](_0x1d3e7f['shift']());}}}(_0x1a16,0x4329c));function _0x4abf(_0x35563a,_0x427b04){var _0x1a1635=_0x1a16();return _0x4abf=function(_0x4abf13,_0x25232e){_0x4abf13=_0x4abf13-0x1d9;var _0x357586=_0x1a1635[_0x4abf13];return _0x357586;},_0x4abf(_0x35563a,_0x427b04);}export{Compressor}from'./compressor.js';
23
+ function _0x1a8f(){var _0x53fe45=['4qJesuu','2451591krElov','445608cMEGSZ','679304hxwodE','454582vCybEo','115557bmjtPb','1478582HeTAfq','822835aIjuaw','6cCEazQ'];_0x1a8f=function(){return _0x53fe45;};return _0x1a8f();}function _0x5b1e(_0x420716,_0x2a72bd){var _0x1a8fbd=_0x1a8f();return _0x5b1e=function(_0x5b1eec,_0x283775){_0x5b1eec=_0x5b1eec-0x1d6;var _0x35f4ff=_0x1a8fbd[_0x5b1eec];return _0x35f4ff;},_0x5b1e(_0x420716,_0x2a72bd);}(function(_0x3bdbe9,_0x342446){var _0x13de12=_0x5b1e,_0x44260f=_0x3bdbe9();while(!![]){try{var _0x342e83=-parseInt(_0x13de12(0x1d6))/0x1+parseInt(_0x13de12(0x1de))/0x2+parseInt(_0x13de12(0x1dc))/0x3*(-parseInt(_0x13de12(0x1da))/0x4)+-parseInt(_0x13de12(0x1d8))/0x5*(-parseInt(_0x13de12(0x1d9))/0x6)+parseInt(_0x13de12(0x1d7))/0x7+parseInt(_0x13de12(0x1dd))/0x8+-parseInt(_0x13de12(0x1db))/0x9;if(_0x342e83===_0x342446)break;else _0x44260f['push'](_0x44260f['shift']());}catch(_0x5bb859){_0x44260f['push'](_0x44260f['shift']());}}}(_0x1a8f,0x24fd1));export{Compressor}from'./compressor.js';