@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.1 → 47.0.0-alpha.2

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
- function _0x7bca(_0x12a07b,_0x1e0073){const _0x13e59e=_0x13e5();return _0x7bca=function(_0x7bcad,_0xc950a6){_0x7bcad=_0x7bcad-0xbc;let _0x588f2b=_0x13e59e[_0x7bcad];return _0x588f2b;},_0x7bca(_0x12a07b,_0x1e0073);}const _0x16d306=_0x7bca;(function(_0x4c5127,_0x1b07f0){const _0x313edd=_0x7bca,_0x11d689=_0x4c5127();while(!![]){try{const _0x1ce198=parseInt(_0x313edd(0xcb))/0x1*(-parseInt(_0x313edd(0xd4))/0x2)+parseInt(_0x313edd(0xca))/0x3*(parseInt(_0x313edd(0xc7))/0x4)+-parseInt(_0x313edd(0xc3))/0x5+-parseInt(_0x313edd(0xd9))/0x6*(parseInt(_0x313edd(0xc2))/0x7)+parseInt(_0x313edd(0xd2))/0x8*(-parseInt(_0x313edd(0xc8))/0x9)+parseInt(_0x313edd(0xc5))/0xa*(parseInt(_0x313edd(0xce))/0xb)+parseInt(_0x313edd(0xbc))/0xc*(parseInt(_0x313edd(0xcf))/0xd);if(_0x1ce198===_0x1b07f0)break;else _0x11d689['push'](_0x11d689['shift']());}catch(_0x41b222){_0x11d689['push'](_0x11d689['shift']());}}}(_0x13e5,0xda57b));import{ActionCompressor as _0x1833e0}from'./actioncompressor.js';import{arePositionsEqual as _0x57056c,getPositionShiftedBy as _0x545412}from'../utils.js';import{cloneDeep as _0x427f81}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x1833e0{[_0x16d306(0xc1)](_0xb1cebb,_0x474674){const _0x5d5f07=_0x16d306;return _0x474674[_0x5d5f07(0xd1)]++,_0x474674[_0x5d5f07(0xbe)]=_0x427f81(_0xb1cebb[_0x5d5f07(0xbe)]),_0x474674;}[_0x16d306(0xcc)](_0x29f768){const _0x333376=_0x16d306,_0x6d86bf=_0x427f81(_0x29f768);return _0x29f768[_0x333376(0xd1)]--,_0x6d86bf[_0x333376(0xd1)]=0x1,_0x6d86bf[_0x333376(0xbe)]=_0x545412(_0x6d86bf[_0x333376(0xbe)],_0x29f768[_0x333376(0xd1)]),_0x6d86bf;}[_0x16d306(0xc9)](_0x586200,_0x1f9e0c){const _0x3117e4=_0x16d306;return!(!this[_0x3117e4(0xda)](_0x586200)||!this[_0x3117e4(0xda)](_0x1f9e0c))&&(_0x57056c(_0x545412(_0x586200[_0x3117e4(0xbe)],-0x1),_0x1f9e0c[_0x3117e4(0xbe)])&&_0x57056c(_0x586200[_0x3117e4(0xd0)],_0x1f9e0c[_0x3117e4(0xd0)]));}[_0x16d306(0xd7)](_0x1bc6f1){const _0x3483ab=_0x16d306,_0xe4e85b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3483ab(0xd3)][_0x3483ab(0xbf)](_0x3483ab(0xdb))[_0x3483ab(0xbd)](_0xe4e85b,[_0x1bc6f1]),_0xe4e85b[_0x3483ab(0xcd)][0x0];}[_0x16d306(0xc6)](_0x3c8368){const _0x3b1ce1=_0x16d306,_0x2ebc57=[];return this[_0x3b1ce1(0xd3)][_0x3b1ce1(0xbf)](_0x3b1ce1(0xdb))[_0x3b1ce1(0xd5)](_0x2ebc57,_0x3c8368),_0x2ebc57[0x0];}[_0x16d306(0xda)](_0x4b7702){const _0x55bb56=_0x16d306;return _0x55bb56(0xdb)==_0x4b7702[_0x55bb56(0xd8)]&&_0x55bb56(0xc0)==_0x4b7702[_0x55bb56(0xd0)][_0x55bb56(0xc4)]&&0x1==_0x4b7702[_0x55bb56(0xd1)]&&!_0x4b7702[_0x55bb56(0xd6)];}}function _0x13e5(){const _0x55327f=['2375mFJwnM','_splitCurrent','buffers','316833DfSQco','13FVuxJS','targetPosition','howMany','1507784rNQwru','_context','430zhmIye','decompress','wasUndone','_compressSingleOperation','__className','48WpVHrj','_checkOperation','MoveOperation','28687848sLWaIN','compress','sourcePosition','_getCompressorByName','$graveyard','_combineNext','734545JVYGeH','1839015xjdXCK','root','70AsruZs','_decompressSingleOperation','4dLWazB','72xWcBpg','_compareOperations','4583244vFxqKd'];_0x13e5=function(){return _0x55327f;};return _0x13e5();}
23
+ const _0x22ac2f=_0xe678;(function(_0xb2f7e0,_0xca6bad){const _0x3bfda5=_0xe678,_0x267819=_0xb2f7e0();while(!![]){try{const _0x5acafe=-parseInt(_0x3bfda5(0x155))/0x1+parseInt(_0x3bfda5(0x14a))/0x2*(-parseInt(_0x3bfda5(0x14e))/0x3)+-parseInt(_0x3bfda5(0x145))/0x4*(-parseInt(_0x3bfda5(0x153))/0x5)+-parseInt(_0x3bfda5(0x151))/0x6+-parseInt(_0x3bfda5(0x15f))/0x7+-parseInt(_0x3bfda5(0x148))/0x8*(-parseInt(_0x3bfda5(0x159))/0x9)+parseInt(_0x3bfda5(0x161))/0xa;if(_0x5acafe===_0xca6bad)break;else _0x267819['push'](_0x267819['shift']());}catch(_0x4b83f1){_0x267819['push'](_0x267819['shift']());}}}(_0x4d32,0x68599));import{ActionCompressor as _0x2f99e6}from'./actioncompressor.js';function _0xe678(_0x5306ce,_0x15bb63){const _0x4d3216=_0x4d32();return _0xe678=function(_0xe6784f,_0x38778c){_0xe6784f=_0xe6784f-0x145;let _0x1d0a0c=_0x4d3216[_0xe6784f];return _0x1d0a0c;},_0xe678(_0x5306ce,_0x15bb63);}function _0x4d32(){const _0x270cd1=['__className','targetPosition','4394040gfeWGf','MoveOperation','13266920WdJKkT','404zTgTBL','decompress','$graveyard','58144oQaDzv','_checkOperation','1428UbPFSH','_getCompressorByName','_compareOperations','buffers','1704YzbOTB','_compressSingleOperation','_splitCurrent','2992692Vzycyw','_decompressSingleOperation','28790tSyXrs','_context','297643VlGarM','wasUndone','root','_combineNext','432fbyver','howMany','sourcePosition','compress'];_0x4d32=function(){return _0x270cd1;};return _0x4d32();}import{arePositionsEqual as _0xa0724,getPositionShiftedBy as _0x1ff8ce}from'../utils.js';import{cloneDeep as _0x562f02}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x2f99e6{[_0x22ac2f(0x158)](_0xae97de,_0x42aa91){const _0x3561a2=_0x22ac2f;return _0x42aa91[_0x3561a2(0x15a)]++,_0x42aa91[_0x3561a2(0x15b)]=_0x562f02(_0xae97de[_0x3561a2(0x15b)]),_0x42aa91;}[_0x22ac2f(0x150)](_0x3dadd3){const _0x216ada=_0x22ac2f,_0x2adc9a=_0x562f02(_0x3dadd3);return _0x3dadd3[_0x216ada(0x15a)]--,_0x2adc9a[_0x216ada(0x15a)]=0x1,_0x2adc9a[_0x216ada(0x15b)]=_0x1ff8ce(_0x2adc9a[_0x216ada(0x15b)],_0x3dadd3[_0x216ada(0x15a)]),_0x2adc9a;}[_0x22ac2f(0x14c)](_0x3968fc,_0x372339){const _0x5cef58=_0x22ac2f;return!(!this[_0x5cef58(0x149)](_0x3968fc)||!this[_0x5cef58(0x149)](_0x372339))&&(_0xa0724(_0x1ff8ce(_0x3968fc[_0x5cef58(0x15b)],-0x1),_0x372339[_0x5cef58(0x15b)])&&_0xa0724(_0x3968fc[_0x5cef58(0x15e)],_0x372339[_0x5cef58(0x15e)]));}[_0x22ac2f(0x14f)](_0x54e784){const _0x2e6406=_0x22ac2f,_0x4f8808={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2e6406(0x154)][_0x2e6406(0x14b)](_0x2e6406(0x160))[_0x2e6406(0x15c)](_0x4f8808,[_0x54e784]),_0x4f8808[_0x2e6406(0x14d)][0x0];}[_0x22ac2f(0x152)](_0x41aa93){const _0x1b681d=_0x22ac2f,_0x45c51c=[];return this[_0x1b681d(0x154)][_0x1b681d(0x14b)](_0x1b681d(0x160))[_0x1b681d(0x146)](_0x45c51c,_0x41aa93),_0x45c51c[0x0];}[_0x22ac2f(0x149)](_0x4948a8){const _0x5dc762=_0x22ac2f;return _0x5dc762(0x160)==_0x4948a8[_0x5dc762(0x15d)]&&_0x5dc762(0x147)==_0x4948a8[_0x5dc762(0x15e)][_0x5dc762(0x157)]&&0x1==_0x4948a8[_0x5dc762(0x15a)]&&!_0x4948a8[_0x5dc762(0x156)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x155a27=_0x5df2;(function(_0x41cc48,_0x513ade){const _0x460c0a=_0x5df2,_0x4d6e27=_0x41cc48();while(!![]){try{const _0x49ad96=-parseInt(_0x460c0a(0xe0))/0x1+parseInt(_0x460c0a(0xee))/0x2*(parseInt(_0x460c0a(0xf7))/0x3)+-parseInt(_0x460c0a(0xe2))/0x4*(parseInt(_0x460c0a(0xeb))/0x5)+parseInt(_0x460c0a(0xe9))/0x6+parseInt(_0x460c0a(0xf2))/0x7+parseInt(_0x460c0a(0xf1))/0x8+-parseInt(_0x460c0a(0xec))/0x9;if(_0x49ad96===_0x513ade)break;else _0x4d6e27['push'](_0x4d6e27['shift']());}catch(_0x513026){_0x4d6e27['push'](_0x4d6e27['shift']());}}}(_0x58e2,0x28c26));import{ActionCompressor as _0xe15789}from'./actioncompressor.js';import{arePositionsEqual as _0x2d1d78}from'../utils.js';function _0x5df2(_0xf5769d,_0x5a1560){const _0x58e2c8=_0x58e2();return _0x5df2=function(_0x5df263,_0x230084){_0x5df263=_0x5df263-0xdd;let _0x11428e=_0x58e2c8[_0x5df263];return _0x11428e;},_0x5df2(_0xf5769d,_0x5a1560);}import{cloneDeep as _0x17a8b3}from'es-toolkit/compat';function _0x58e2(){const _0x580a81=['__className','18927VbfcOG','_compareOperations','924044LRWrub','buffers','_combineNext','howMany','$graveyard','_getCompressorByName','root','787902LwapSf','wasUndone','5lsFuIr','4133421sphvqd','_splitCurrent','663742rPcvee','_context','sourcePosition','1751144XNfBKm','1358532tJkQye','_checkOperation','MoveOperation','compress','targetPosition','3MRotPj','_compressSingleOperation','decompress','_decompressSingleOperation'];_0x58e2=function(){return _0x580a81;};return _0x58e2();}export class ForwardDeletingActionCompressor extends _0xe15789{[_0x155a27(0xe4)](_0x1ee167,_0x5b3e36){const _0x52a828=_0x155a27;return _0x5b3e36[_0x52a828(0xe5)]++,_0x5b3e36;}[_0x155a27(0xed)](_0x2a9d56){const _0x1c60a4=_0x155a27,_0x8d3b7f=_0x17a8b3(_0x2a9d56);return _0x8d3b7f[_0x1c60a4(0xe5)]=0x1,_0x2a9d56[_0x1c60a4(0xe5)]--,_0x8d3b7f;}[_0x155a27(0xe1)](_0x2df5bb,_0x46e469){const _0x45df2a=_0x155a27;return!(!this[_0x45df2a(0xf3)](_0x2df5bb)||!this[_0x45df2a(0xf3)](_0x46e469))&&(_0x2d1d78(_0x2df5bb[_0x45df2a(0xf0)],_0x46e469[_0x45df2a(0xf0)])&&_0x2d1d78(_0x2df5bb[_0x45df2a(0xf6)],_0x46e469[_0x45df2a(0xf6)]));}[_0x155a27(0xf8)](_0xa1442e){const _0x15d78d=_0x155a27,_0x20b09b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x15d78d(0xef)][_0x15d78d(0xe7)](_0x15d78d(0xf4))[_0x15d78d(0xf5)](_0x20b09b,[_0xa1442e]),_0x20b09b[_0x15d78d(0xe3)][0x0];}[_0x155a27(0xde)](_0x2b638b){const _0x1e0b4f=_0x155a27,_0x41c515=[];return this[_0x1e0b4f(0xef)][_0x1e0b4f(0xe7)](_0x1e0b4f(0xf4))[_0x1e0b4f(0xdd)](_0x41c515,_0x2b638b),_0x41c515[0x0];}[_0x155a27(0xf3)](_0x4525a5){const _0x3a42dc=_0x155a27;return _0x3a42dc(0xf4)==_0x4525a5[_0x3a42dc(0xdf)]&&_0x3a42dc(0xe6)==_0x4525a5[_0x3a42dc(0xf6)][_0x3a42dc(0xe8)]&&0x1==_0x4525a5[_0x3a42dc(0xe5)]&&!_0x4525a5[_0x3a42dc(0xea)];}}
23
+ function _0x15a2(_0x224ec4,_0x3e8080){const _0x5b5cf8=_0x5b5c();return _0x15a2=function(_0x15a2c0,_0x11b152){_0x15a2c0=_0x15a2c0-0x187;let _0x3a649f=_0x5b5cf8[_0x15a2c0];return _0x3a649f;},_0x15a2(_0x224ec4,_0x3e8080);}const _0x3ce14c=_0x15a2;(function(_0x5e4cb4,_0x19a60c){const _0x208559=_0x15a2,_0x19121f=_0x5e4cb4();while(!![]){try{const _0x1ea120=parseInt(_0x208559(0x19f))/0x1+parseInt(_0x208559(0x19a))/0x2+parseInt(_0x208559(0x192))/0x3+-parseInt(_0x208559(0x196))/0x4*(parseInt(_0x208559(0x1a0))/0x5)+parseInt(_0x208559(0x188))/0x6+parseInt(_0x208559(0x19c))/0x7*(-parseInt(_0x208559(0x19d))/0x8)+parseInt(_0x208559(0x189))/0x9*(-parseInt(_0x208559(0x191))/0xa);if(_0x1ea120===_0x19a60c)break;else _0x19121f['push'](_0x19121f['shift']());}catch(_0x89cca8){_0x19121f['push'](_0x19121f['shift']());}}}(_0x5b5c,0x2ec7e));import{ActionCompressor as _0x18c721}from'./actioncompressor.js';import{arePositionsEqual as _0x2f71da}from'../utils.js';function _0x5b5c(){const _0x13284a=['_compressSingleOperation','2266044dKUeLh','2471589RNaGAv','buffers','_context','sourcePosition','_splitCurrent','decompress','__className','_compareOperations','10cshXdz','100188xOlPnn','howMany','$graveyard','MoveOperation','60usPFYT','targetPosition','_decompressSingleOperation','root','403626mlrNBX','_getCompressorByName','1519049IyBvbu','8fXxGUG','_checkOperation','119124CeLsND','16255OhmVIW','wasUndone','_combineNext','compress'];_0x5b5c=function(){return _0x13284a;};return _0x5b5c();}import{cloneDeep as _0x4a95b7}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x18c721{[_0x3ce14c(0x1a2)](_0x30f2d0,_0x533e49){const _0x278f0e=_0x3ce14c;return _0x533e49[_0x278f0e(0x193)]++,_0x533e49;}[_0x3ce14c(0x18d)](_0x52d476){const _0x1fff16=_0x3ce14c,_0x599128=_0x4a95b7(_0x52d476);return _0x599128[_0x1fff16(0x193)]=0x1,_0x52d476[_0x1fff16(0x193)]--,_0x599128;}[_0x3ce14c(0x190)](_0x2ebabe,_0x5ec452){const _0x2b1cd4=_0x3ce14c;return!(!this[_0x2b1cd4(0x19e)](_0x2ebabe)||!this[_0x2b1cd4(0x19e)](_0x5ec452))&&(_0x2f71da(_0x2ebabe[_0x2b1cd4(0x18c)],_0x5ec452[_0x2b1cd4(0x18c)])&&_0x2f71da(_0x2ebabe[_0x2b1cd4(0x197)],_0x5ec452[_0x2b1cd4(0x197)]));}[_0x3ce14c(0x187)](_0x413499){const _0x3cc011=_0x3ce14c,_0x4fd44a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3cc011(0x18b)][_0x3cc011(0x19b)](_0x3cc011(0x195))[_0x3cc011(0x1a3)](_0x4fd44a,[_0x413499]),_0x4fd44a[_0x3cc011(0x18a)][0x0];}[_0x3ce14c(0x198)](_0x29effa){const _0x5a76a2=_0x3ce14c,_0x119fdc=[];return this[_0x5a76a2(0x18b)][_0x5a76a2(0x19b)](_0x5a76a2(0x195))[_0x5a76a2(0x18e)](_0x119fdc,_0x29effa),_0x119fdc[0x0];}[_0x3ce14c(0x19e)](_0x14c85c){const _0x478590=_0x3ce14c;return _0x478590(0x195)==_0x14c85c[_0x478590(0x18f)]&&_0x478590(0x194)==_0x14c85c[_0x478590(0x197)][_0x478590(0x199)]&&0x1==_0x14c85c[_0x478590(0x193)]&&!_0x14c85c[_0x478590(0x1a1)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x107d(_0x5af9e8,_0x17f92d){const _0x15965f=_0x1596();return _0x107d=function(_0x107da1,_0x5afc4f){_0x107da1=_0x107da1-0x1ba;let _0x291641=_0x15965f[_0x107da1];return _0x291641;},_0x107d(_0x5af9e8,_0x17f92d);}function _0x1596(){const _0xe648c1=['2912610VstyYe','458512EJDqGD','wasUndone','1767829XczEnS','next','substr','InsertOperation','16vPDalw','_compressSingleOperation','value','data','_checkOperation','_compareAttributes','nodes','buffers','30ToyMWV','position','from','9WfgLhe','decompress','_splitCurrent','37936prvIKt','4662960yHLNUo','_context','_decompressSingleOperation','_combineNext','_getCompressorByName','iterator','3891932LQspDD','every','length','6184005NseuOF','keys','__className','_compareOperations','compress','attributes'];_0x1596=function(){return _0xe648c1;};return _0x1596();}const _0x4b8182=_0x107d;(function(_0x6506d3,_0x42a267){const _0xb45a33=_0x107d,_0x431d92=_0x6506d3();while(!![]){try{const _0x4058c8=parseInt(_0xb45a33(0x1d4))/0x1*(parseInt(_0xb45a33(0x1c6))/0x2)+-parseInt(_0xb45a33(0x1bf))/0x3+parseInt(_0xb45a33(0x1db))/0x4+-parseInt(_0xb45a33(0x1de))/0x5+-parseInt(_0xb45a33(0x1ce))/0x6*(-parseInt(_0xb45a33(0x1c2))/0x7)+parseInt(_0xb45a33(0x1c0))/0x8*(-parseInt(_0xb45a33(0x1d1))/0x9)+parseInt(_0xb45a33(0x1d5))/0xa;if(_0x4058c8===_0x42a267)break;else _0x431d92['push'](_0x431d92['shift']());}catch(_0x219add){_0x431d92['push'](_0x431d92['shift']());}}}(_0x1596,0xb4ca5));import{ActionCompressor as _0x2a6299}from'./actioncompressor.js';import{arePositionsEqual as _0x40e62a,getPositionShiftedBy as _0x23d191}from'../utils.js';import{cloneDeep as _0x59ef4d}from'es-toolkit/compat';export class TypingActionCompressor extends _0x2a6299{[_0x4b8182(0x1d8)](_0x93bcf8,_0x40ab84){const _0x475c32=_0x4b8182;return _0x40ab84[_0x475c32(0x1cc)][0x0][_0x475c32(0x1c9)]+=_0x93bcf8[_0x475c32(0x1cc)][0x0][_0x475c32(0x1c9)],_0x40ab84;}[_0x4b8182(0x1d3)](_0x22edae){const _0xdb7e6b=_0x4b8182,_0x556052=_0x59ef4d(_0x22edae),_0x3801ea=_0x556052[_0xdb7e6b(0x1cc)][0x0],_0x5a0e5c=_0x22edae[_0xdb7e6b(0x1cc)][0x0],_0x38a3ff=_0x5a0e5c[_0xdb7e6b(0x1c9)][Symbol[_0xdb7e6b(0x1da)]]()[_0xdb7e6b(0x1c3)]()[_0xdb7e6b(0x1c8)],_0x4eb64f=_0x38a3ff[_0xdb7e6b(0x1dd)];return _0x3801ea[_0xdb7e6b(0x1c9)]=_0x38a3ff,_0x5a0e5c[_0xdb7e6b(0x1c9)]=_0x5a0e5c[_0xdb7e6b(0x1c9)][_0xdb7e6b(0x1c4)](_0x4eb64f),_0x22edae[_0xdb7e6b(0x1cf)]=_0x23d191(_0x22edae[_0xdb7e6b(0x1cf)],_0x4eb64f),_0x556052;}[_0x4b8182(0x1bc)](_0x359e42,_0x2039e9){const _0xd7d62e=_0x4b8182;if(this[_0xd7d62e(0x1ca)](_0x359e42)&&this[_0xd7d62e(0x1ca)](_0x2039e9)){const _0x57f6ed=_0x359e42[_0xd7d62e(0x1cc)][0x0][_0xd7d62e(0x1c9)][_0xd7d62e(0x1dd)],_0x44ac4f=_0x40e62a(_0x23d191(_0x359e42[_0xd7d62e(0x1cf)],_0x57f6ed),_0x2039e9[_0xd7d62e(0x1cf)]),_0x4abb7f=_0x359e42[_0xd7d62e(0x1cc)][0x0],_0x396f08=_0x2039e9[_0xd7d62e(0x1cc)][0x0];return _0x44ac4f&&this[_0xd7d62e(0x1cb)](_0x4abb7f,_0x396f08);}return!0x1;}[_0x4b8182(0x1c7)](_0x59559f){const _0x2d869c=_0x4b8182,_0x1221d3={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2d869c(0x1d6)][_0x2d869c(0x1d9)](_0x2d869c(0x1c5))[_0x2d869c(0x1bd)](_0x1221d3,[_0x59559f]),_0x1221d3[_0x2d869c(0x1cd)][0x0];}[_0x4b8182(0x1d7)](_0x453eec){const _0xc52486=_0x4b8182,_0x5829c3=[];return this[_0xc52486(0x1d6)][_0xc52486(0x1d9)](_0xc52486(0x1c5))[_0xc52486(0x1d2)](_0x5829c3,_0x453eec),_0x5829c3[0x0];}[_0x4b8182(0x1ca)](_0x1389af){const _0x23316c=_0x4b8182;return _0x23316c(0x1c5)==_0x1389af[_0x23316c(0x1bb)]&&0x1==_0x1389af[_0x23316c(0x1cc)][_0x23316c(0x1dd)]&&_0x1389af[_0x23316c(0x1cc)][0x0][_0x23316c(0x1c9)]&&!_0x1389af[_0x23316c(0x1c1)]&&0x1==Array[_0x23316c(0x1d0)](_0x1389af[_0x23316c(0x1cc)][0x0][_0x23316c(0x1c9)])[_0x23316c(0x1dd)];}[_0x4b8182(0x1cb)](_0x7919b6,_0x5e9d7a){const _0x5a9ffb=_0x4b8182,_0xd5e11=Object[_0x5a9ffb(0x1ba)](_0x7919b6[_0x5a9ffb(0x1be)]||{}),_0x35f1f6=Object[_0x5a9ffb(0x1ba)](_0x5e9d7a[_0x5a9ffb(0x1be)]||{});return _0xd5e11[_0x5a9ffb(0x1dd)]===_0x35f1f6[_0x5a9ffb(0x1dd)]&&_0xd5e11[_0x5a9ffb(0x1dc)](_0x50557b=>_0x5e9d7a[_0x5a9ffb(0x1be)][_0x50557b]&&_0x5e9d7a[_0x5a9ffb(0x1be)][_0x50557b]===_0x7919b6[_0x5a9ffb(0x1be)][_0x50557b]);}}
23
+ const _0x4bdad2=_0x26bb;function _0x43da(){const _0xa0f890=['keys','341091twgHcT','next','62227TWXCji','attributes','__className','_checkOperation','10iWtLRX','every','_decompressSingleOperation','buffers','iterator','length','_compressSingleOperation','_context','271632IRetii','8YpjpRy','wasUndone','48tVloQW','InsertOperation','substr','_combineNext','from','1102somAFA','position','decompress','_getCompressorByName','70400rmMDBr','13PQXeni','data','810qNdGnx','_splitCurrent','1324LufdUk','compress','nodes','value','5197759fVMOBy','_compareAttributes','_compareOperations','11658684pCvjHV'];_0x43da=function(){return _0xa0f890;};return _0x43da();}(function(_0x5afc07,_0x2b49b8){const _0x2aa749=_0x26bb,_0x13cb06=_0x5afc07();while(!![]){try{const _0x27414e=parseInt(_0x2aa749(0x128))/0x1*(parseInt(_0x2aa749(0x109))/0x2)+parseInt(_0x2aa749(0x123))/0x3*(-parseInt(_0x2aa749(0x12c))/0x4)+-parseInt(_0x2aa749(0x118))/0x5*(parseInt(_0x2aa749(0x120))/0x6)+-parseInt(_0x2aa749(0x10d))/0x7*(-parseInt(_0x2aa749(0x121))/0x8)+parseInt(_0x2aa749(0x112))/0x9+-parseInt(_0x2aa749(0x12f))/0xa*(-parseInt(_0x2aa749(0x114))/0xb)+parseInt(_0x2aa749(0x110))/0xc*(-parseInt(_0x2aa749(0x12d))/0xd);if(_0x27414e===_0x2b49b8)break;else _0x13cb06['push'](_0x13cb06['shift']());}catch(_0x4d1573){_0x13cb06['push'](_0x13cb06['shift']());}}}(_0x43da,0x9875c));function _0x26bb(_0x908063,_0x122739){const _0x43daa0=_0x43da();return _0x26bb=function(_0x26bb28,_0x21b4ba){_0x26bb28=_0x26bb28-0x109;let _0x2c6e9a=_0x43daa0[_0x26bb28];return _0x2c6e9a;},_0x26bb(_0x908063,_0x122739);}import{ActionCompressor as _0x2a036a}from'./actioncompressor.js';import{arePositionsEqual as _0x406a49,getPositionShiftedBy as _0x2e8348}from'../utils.js';import{cloneDeep as _0x2227ac}from'es-toolkit/compat';export class TypingActionCompressor extends _0x2a036a{[_0x4bdad2(0x126)](_0x8af7fc,_0x18af9a){const _0x45de4a=_0x4bdad2;return _0x18af9a[_0x45de4a(0x10b)][0x0][_0x45de4a(0x12e)]+=_0x8af7fc[_0x45de4a(0x10b)][0x0][_0x45de4a(0x12e)],_0x18af9a;}[_0x4bdad2(0x130)](_0x54fefd){const _0x1e9202=_0x4bdad2,_0x35975e=_0x2227ac(_0x54fefd),_0x15a1d9=_0x35975e[_0x1e9202(0x10b)][0x0],_0x5de78f=_0x54fefd[_0x1e9202(0x10b)][0x0],_0x5de9bb=_0x5de78f[_0x1e9202(0x12e)][Symbol[_0x1e9202(0x11c)]]()[_0x1e9202(0x113)]()[_0x1e9202(0x10c)],_0x403634=_0x5de9bb[_0x1e9202(0x11d)];return _0x15a1d9[_0x1e9202(0x12e)]=_0x5de9bb,_0x5de78f[_0x1e9202(0x12e)]=_0x5de78f[_0x1e9202(0x12e)][_0x1e9202(0x125)](_0x403634),_0x54fefd[_0x1e9202(0x129)]=_0x2e8348(_0x54fefd[_0x1e9202(0x129)],_0x403634),_0x35975e;}[_0x4bdad2(0x10f)](_0x8b41bc,_0x1e0b1e){const _0x206b15=_0x4bdad2;if(this[_0x206b15(0x117)](_0x8b41bc)&&this[_0x206b15(0x117)](_0x1e0b1e)){const _0xeb9bad=_0x8b41bc[_0x206b15(0x10b)][0x0][_0x206b15(0x12e)][_0x206b15(0x11d)],_0x57c47a=_0x406a49(_0x2e8348(_0x8b41bc[_0x206b15(0x129)],_0xeb9bad),_0x1e0b1e[_0x206b15(0x129)]),_0x35afd1=_0x8b41bc[_0x206b15(0x10b)][0x0],_0x206efa=_0x1e0b1e[_0x206b15(0x10b)][0x0];return _0x57c47a&&this[_0x206b15(0x10e)](_0x35afd1,_0x206efa);}return!0x1;}[_0x4bdad2(0x11e)](_0x305075){const _0x596ac4=_0x4bdad2,_0x47f216={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x596ac4(0x11f)][_0x596ac4(0x12b)](_0x596ac4(0x124))[_0x596ac4(0x10a)](_0x47f216,[_0x305075]),_0x47f216[_0x596ac4(0x11b)][0x0];}[_0x4bdad2(0x11a)](_0x54ed95){const _0x32257b=_0x4bdad2,_0x32ac9d=[];return this[_0x32257b(0x11f)][_0x32257b(0x12b)](_0x32257b(0x124))[_0x32257b(0x12a)](_0x32ac9d,_0x54ed95),_0x32ac9d[0x0];}[_0x4bdad2(0x117)](_0xe54c40){const _0x4401d4=_0x4bdad2;return _0x4401d4(0x124)==_0xe54c40[_0x4401d4(0x116)]&&0x1==_0xe54c40[_0x4401d4(0x10b)][_0x4401d4(0x11d)]&&_0xe54c40[_0x4401d4(0x10b)][0x0][_0x4401d4(0x12e)]&&!_0xe54c40[_0x4401d4(0x122)]&&0x1==Array[_0x4401d4(0x127)](_0xe54c40[_0x4401d4(0x10b)][0x0][_0x4401d4(0x12e)])[_0x4401d4(0x11d)];}[_0x4bdad2(0x10e)](_0x265a60,_0x4440eb){const _0x47b4e4=_0x4bdad2,_0x4e72e1=Object[_0x47b4e4(0x111)](_0x265a60[_0x47b4e4(0x115)]||{}),_0x36e775=Object[_0x47b4e4(0x111)](_0x4440eb[_0x47b4e4(0x115)]||{});return _0x4e72e1[_0x47b4e4(0x11d)]===_0x36e775[_0x47b4e4(0x11d)]&&_0x4e72e1[_0x47b4e4(0x119)](_0x27914a=>_0x4440eb[_0x47b4e4(0x115)][_0x27914a]&&_0x4440eb[_0x47b4e4(0x115)][_0x27914a]===_0x265a60[_0x47b4e4(0x115)][_0x27914a]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d63fd=_0x7336;(function(_0x5a74fd,_0x4ad59d){const _0xaa39d9=_0x7336,_0x5cf740=_0x5a74fd();while(!![]){try{const _0x527df9=parseInt(_0xaa39d9(0xa1))/0x1+parseInt(_0xaa39d9(0xac))/0x2+-parseInt(_0xaa39d9(0x92))/0x3+parseInt(_0xaa39d9(0x8d))/0x4+-parseInt(_0xaa39d9(0x8c))/0x5*(-parseInt(_0xaa39d9(0x9b))/0x6)+parseInt(_0xaa39d9(0xa4))/0x7*(parseInt(_0xaa39d9(0xaa))/0x8)+-parseInt(_0xaa39d9(0xa2))/0x9*(parseInt(_0xaa39d9(0xa6))/0xa);if(_0x527df9===_0x4ad59d)break;else _0x5cf740['push'](_0x5cf740['shift']());}catch(_0x8934bc){_0x5cf740['push'](_0x5cf740['shift']());}}}(_0x1338,0x75734));function _0x1338(){const _0x88eded=['compress','_compareOperations','start','newRange','startsWith','625281kXtrJh','6116832yJUJnl','split','12446wHJZjL','name','20LicRuz','_decompressSingleOperation','_context','user:','2696FibvHM','oldRange','1445704EwSehc','push','types','845xZPRSu','1119424KsRocN','shift','end','__className','_id','1784526xMcZnl','stickiness','MarkerOperation','buffers','user:position:','toNone','decompress','_compressSingleOperation','_getCompressorByName','7386cHTVAB'];_0x1338=function(){return _0x88eded;};return _0x1338();}import{ActionCompressor as _0x1b008d}from'./actioncompressor.js';import{arePositionsEqual as _0x3caf1b}from'../utils.js';import{cloneDeep as _0x3f8232}from'es-toolkit/compat';function _0x7336(_0x451e17,_0x808d71){const _0x1338df=_0x1338();return _0x7336=function(_0x7336ef,_0x48c0b0){_0x7336ef=_0x7336ef-0x8c;let _0x1402fe=_0x1338df[_0x7336ef];return _0x1402fe;},_0x7336(_0x451e17,_0x808d71);}export class UserSelectionActionCompressor extends _0x1b008d{[_0x3d63fd(0x9c)](_0x4e14d6,_0x4bd887){const _0x5d6339=_0x3d63fd;if(!this[_0x5d6339(0x9d)](_0x4bd887[0x0],_0x4bd887[0x1]))return!0x1;const _0x1128c9=_0x4bd887[_0x5d6339(0x8e)]();return _0x1128c9[_0x5d6339(0xab)]=null,_0x1128c9[_0x5d6339(0x9f)]&&_0x3caf1b(_0x1128c9[_0x5d6339(0x9f)][_0x5d6339(0x9e)],_0x1128c9[_0x5d6339(0x9f)][_0x5d6339(0x8f)])&&(_0x1128c9[_0x5d6339(0x9f)][_0x5d6339(0x8f)]=null),_0x4bd887[_0x5d6339(0x8e)](),_0x4e14d6[_0x5d6339(0xae)][_0x5d6339(0xad)](this[_0x5d6339(0x91)]),_0x4e14d6[_0x5d6339(0xae)][_0x5d6339(0xad)](0x0),_0x4e14d6[_0x5d6339(0x95)][_0x5d6339(0xad)](this[_0x5d6339(0x99)](_0x1128c9)),!0x0;}[_0x3d63fd(0x98)](_0x2d94d6,_0x20761e){const _0x36e88d=_0x3d63fd,_0x4ce4e8=this[_0x36e88d(0xa7)](_0x20761e);_0x4ce4e8[_0x36e88d(0x9f)]&&!_0x4ce4e8[_0x36e88d(0x9f)][_0x36e88d(0x8f)]&&(_0x4ce4e8[_0x36e88d(0x9f)][_0x36e88d(0x8f)]=_0x3f8232(_0x4ce4e8[_0x36e88d(0x9f)][_0x36e88d(0x9e)]));const _0x2384c0=_0x3f8232(_0x4ce4e8);_0x2384c0[_0x36e88d(0x9f)]&&(_0x2384c0[_0x36e88d(0x9f)][_0x36e88d(0x9e)][_0x36e88d(0x93)]=_0x36e88d(0x97),_0x2384c0[_0x36e88d(0x9f)][_0x36e88d(0x8f)]=_0x3f8232(_0x2384c0[_0x36e88d(0x9f)][_0x36e88d(0x9e)])),_0x2384c0[_0x36e88d(0xa5)]=_0x36e88d(0x96)+_0x2384c0[_0x36e88d(0xa5)][_0x36e88d(0xa3)](':')[0x2],_0x20761e[_0x36e88d(0xae)][_0x36e88d(0x8e)](),_0x2d94d6[_0x36e88d(0xad)](_0x4ce4e8),_0x2d94d6[_0x36e88d(0xad)](_0x2384c0);}[_0x3d63fd(0x99)](_0x8d087c){const _0x33ac73=_0x3d63fd,_0x2b726a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x33ac73(0xa8)][_0x33ac73(0x9a)](_0x33ac73(0x94))[_0x33ac73(0x9c)](_0x2b726a,[_0x8d087c]),_0x2b726a[_0x33ac73(0x95)][0x0];}[_0x3d63fd(0xa7)](_0x1540db){const _0x219e3b=_0x3d63fd,_0x106545=[];return this[_0x219e3b(0xa8)][_0x219e3b(0x9a)](_0x219e3b(0x94))[_0x219e3b(0x98)](_0x106545,_0x1540db),_0x106545[0x0];}[_0x3d63fd(0x9d)](_0xc414e2,_0x57d364){const _0x421142=_0x3d63fd;return!(!_0xc414e2||!_0x57d364)&&(_0x421142(0x94)==_0xc414e2[_0x421142(0x90)]&&_0x421142(0x94)==_0x57d364[_0x421142(0x90)]&&!(!_0xc414e2[_0x421142(0xa5)][_0x421142(0xa0)](_0x421142(0xa9))||!_0x57d364[_0x421142(0xa5)][_0x421142(0xa0)](_0x421142(0xa9))||_0xc414e2[_0x421142(0xa5)]==_0x57d364[_0x421142(0xa5)]));}}
23
+ const _0x58b824=_0x357c;(function(_0x2219d4,_0x326565){const _0x4dfada=_0x357c,_0x14cf24=_0x2219d4();while(!![]){try{const _0x550b8b=parseInt(_0x4dfada(0x14b))/0x1+parseInt(_0x4dfada(0x14e))/0x2*(-parseInt(_0x4dfada(0x14f))/0x3)+-parseInt(_0x4dfada(0x15e))/0x4+parseInt(_0x4dfada(0x150))/0x5+-parseInt(_0x4dfada(0x156))/0x6*(-parseInt(_0x4dfada(0x167))/0x7)+parseInt(_0x4dfada(0x147))/0x8+-parseInt(_0x4dfada(0x168))/0x9;if(_0x550b8b===_0x326565)break;else _0x14cf24['push'](_0x14cf24['shift']());}catch(_0x2193eb){_0x14cf24['push'](_0x14cf24['shift']());}}}(_0x4596,0xd21f7));import{ActionCompressor as _0x109148}from'./actioncompressor.js';function _0x357c(_0xe325c,_0x3b15e7){const _0x4596b3=_0x4596();return _0x357c=function(_0x357c6e,_0x199dad){_0x357c6e=_0x357c6e-0x147;let _0x43f258=_0x4596b3[_0x357c6e];return _0x43f258;},_0x357c(_0xe325c,_0x3b15e7);}function _0x4596(){const _0x235dba=['MarkerOperation','decompress','compress','start','push','startsWith','shift','newRange','1085oAlDjz','3307968TvOLSH','512504iNYjaM','buffers','_context','split','1605190LdImuY','name','__className','48346FVjXtU','168CYDhEX','2471895ygyXhR','_id','oldRange','toNone','_decompressSingleOperation','end','51162QrDPCf','stickiness','types','_compareOperations','_getCompressorByName','_compressSingleOperation','user:','user:position:','3613656MIAJwl'];_0x4596=function(){return _0x235dba;};return _0x4596();}import{arePositionsEqual as _0x577cc7}from'../utils.js';import{cloneDeep as _0x5a6889}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x109148{[_0x58b824(0x161)](_0x2386ae,_0x59bc88){const _0x2a649a=_0x58b824;if(!this[_0x2a649a(0x159)](_0x59bc88[0x0],_0x59bc88[0x1]))return!0x1;const _0x326364=_0x59bc88[_0x2a649a(0x165)]();return _0x326364[_0x2a649a(0x152)]=null,_0x326364[_0x2a649a(0x166)]&&_0x577cc7(_0x326364[_0x2a649a(0x166)][_0x2a649a(0x162)],_0x326364[_0x2a649a(0x166)][_0x2a649a(0x155)])&&(_0x326364[_0x2a649a(0x166)][_0x2a649a(0x155)]=null),_0x59bc88[_0x2a649a(0x165)](),_0x2386ae[_0x2a649a(0x158)][_0x2a649a(0x163)](this[_0x2a649a(0x151)]),_0x2386ae[_0x2a649a(0x158)][_0x2a649a(0x163)](0x0),_0x2386ae[_0x2a649a(0x148)][_0x2a649a(0x163)](this[_0x2a649a(0x15b)](_0x326364)),!0x0;}[_0x58b824(0x160)](_0x2e248c,_0x3012e8){const _0x323997=_0x58b824,_0x57e1a7=this[_0x323997(0x154)](_0x3012e8);_0x57e1a7[_0x323997(0x166)]&&!_0x57e1a7[_0x323997(0x166)][_0x323997(0x155)]&&(_0x57e1a7[_0x323997(0x166)][_0x323997(0x155)]=_0x5a6889(_0x57e1a7[_0x323997(0x166)][_0x323997(0x162)]));const _0x4e5b2b=_0x5a6889(_0x57e1a7);_0x4e5b2b[_0x323997(0x166)]&&(_0x4e5b2b[_0x323997(0x166)][_0x323997(0x162)][_0x323997(0x157)]=_0x323997(0x153),_0x4e5b2b[_0x323997(0x166)][_0x323997(0x155)]=_0x5a6889(_0x4e5b2b[_0x323997(0x166)][_0x323997(0x162)])),_0x4e5b2b[_0x323997(0x14c)]=_0x323997(0x15d)+_0x4e5b2b[_0x323997(0x14c)][_0x323997(0x14a)](':')[0x2],_0x3012e8[_0x323997(0x158)][_0x323997(0x165)](),_0x2e248c[_0x323997(0x163)](_0x57e1a7),_0x2e248c[_0x323997(0x163)](_0x4e5b2b);}[_0x58b824(0x15b)](_0x35aeb4){const _0x370741=_0x58b824,_0x423ebf={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x370741(0x149)][_0x370741(0x15a)](_0x370741(0x15f))[_0x370741(0x161)](_0x423ebf,[_0x35aeb4]),_0x423ebf[_0x370741(0x148)][0x0];}[_0x58b824(0x154)](_0x4f7c61){const _0x136198=_0x58b824,_0x4560d7=[];return this[_0x136198(0x149)][_0x136198(0x15a)](_0x136198(0x15f))[_0x136198(0x160)](_0x4560d7,_0x4f7c61),_0x4560d7[0x0];}[_0x58b824(0x159)](_0x309830,_0x294520){const _0x309ff7=_0x58b824;return!(!_0x309830||!_0x294520)&&(_0x309ff7(0x15f)==_0x309830[_0x309ff7(0x14d)]&&_0x309ff7(0x15f)==_0x294520[_0x309ff7(0x14d)]&&!(!_0x309830[_0x309ff7(0x14c)][_0x309ff7(0x164)](_0x309ff7(0x15c))||!_0x294520[_0x309ff7(0x14c)][_0x309ff7(0x164)](_0x309ff7(0x15c))||_0x309830[_0x309ff7(0x14c)]==_0x294520[_0x309ff7(0x14c)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x118098=_0x35f3;(function(_0x2e3356,_0x2d7caf){const _0x1ddb81=_0x35f3,_0x5e2189=_0x2e3356();while(!![]){try{const _0xf5aabf=parseInt(_0x1ddb81(0x1d4))/0x1*(parseInt(_0x1ddb81(0x1e1))/0x2)+-parseInt(_0x1ddb81(0x1e4))/0x3*(-parseInt(_0x1ddb81(0x1f3))/0x4)+parseInt(_0x1ddb81(0x1e3))/0x5*(-parseInt(_0x1ddb81(0x1d0))/0x6)+parseInt(_0x1ddb81(0x1fa))/0x7+parseInt(_0x1ddb81(0x1d7))/0x8*(parseInt(_0x1ddb81(0x1e5))/0x9)+-parseInt(_0x1ddb81(0x1f1))/0xa+-parseInt(_0x1ddb81(0x1de))/0xb*(parseInt(_0x1ddb81(0x1f8))/0xc);if(_0xf5aabf===_0x2d7caf)break;else _0x5e2189['push'](_0x5e2189['shift']());}catch(_0xbaef8f){_0x5e2189['push'](_0x5e2189['shift']());}}}(_0x23d8,0x44c3d));import{CKEditorError as _0x5451ab}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x3f3dfc}from'./protobuffactory.js';import{OperationCompressor as _0x215472}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0xeeea72}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0xc26e20}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x4d7842}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x516847}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x145795}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x1fb633}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x35885e}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x3ec9a0}from'./actioncompressor/forwarddeletingactioncompressor.js';function _0x35f3(_0x28ac65,_0x37ec5d){const _0x23d8b1=_0x23d8();return _0x35f3=function(_0x35f3ed,_0x4d1164){_0x35f3ed=_0x35f3ed-0x1ca;let _0x378fe4=_0x23d8b1[_0x35f3ed];return _0x378fe4;},_0x35f3(_0x28ac65,_0x37ec5d);}function _0x23d8(){const _0x59434a=['comment','CommentMarkerOperation','AttributeOperation','200635oEnbrM','decompress','RootAttributeOperation','125056dTSykL','ForwardDeletingAction','types','_compressorById','decompress-compressor-not-found','RootOperation','baseVersion','327657MixrNG','NoOperation','_registerActionCompressor','2JtTGJa','set','65KqaBug','32007VVHFRM','243RULVpJ','RenameOperation','__className','InsertOperation','SplitOperation','UserSelectionAction','getDescriptor','DeletingAction','MoveOperation','MergeOperation','get','_compressorByName','1686830GsapkH','_protobufFactory','156GETIXi','suggestion','_registerOperationCompressor','forEach','length','384rwKYAx','MarkerOperation','3239033oAeVqH','compress','SuggestionMarkerOperation','_getCompressorByName','no-operations-provided','TypingAction','_registerCompressor','45222TJUXTu'];_0x23d8=function(){return _0x59434a;};return _0x23d8();}import{UserSelectionActionCompressor as _0x3cb4f7}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x118098(0x1da)];[_0x118098(0x1f0)];[_0x118098(0x1f2)];constructor(){const _0x4c4f23=_0x118098;this[_0x4c4f23(0x1da)]=new Map(),this[_0x4c4f23(0x1f0)]=new Map(),this[_0x4c4f23(0x1f2)]=new _0x3f3dfc();const _0x1482d3=this[_0x4c4f23(0x1f2)][_0x4c4f23(0x1eb)](_0x4c4f23(0x1f9));this[_0x4c4f23(0x1cf)](0x1,_0x4c4f23(0x1df),new _0x516847(0x1,_0x4c4f23(0x1df),void 0x0)),this[_0x4c4f23(0x1f5)](0xa,_0x4c4f23(0x1d3),_0xeeea72),this[_0x4c4f23(0x1f5)](0xb,_0x4c4f23(0x1e8),_0xc26e20),this[_0x4c4f23(0x1f5)](0xc,_0x4c4f23(0x1f9),_0x4d7842),this[_0x4c4f23(0x1f5)](0xd,_0x4c4f23(0x1ee),_0x215472),this[_0x4c4f23(0x1f5)](0xe,_0x4c4f23(0x1ed),_0x215472),this[_0x4c4f23(0x1f5)](0xf,_0x4c4f23(0x1e6),_0x215472),this[_0x4c4f23(0x1f5)](0x10,_0x4c4f23(0x1d6),_0xeeea72),this[_0x4c4f23(0x1f5)](0x11,_0x4c4f23(0x1e9),_0x215472),this[_0x4c4f23(0x1cf)](0x12,_0x4c4f23(0x1d2),new _0x145795(0x12,_0x4c4f23(0x1f9),_0x1482d3,_0x4c4f23(0x1d1))),this[_0x4c4f23(0x1cf)](0x13,_0x4c4f23(0x1cb),new _0x145795(0x13,_0x4c4f23(0x1f9),_0x1482d3,_0x4c4f23(0x1f4))),this[_0x4c4f23(0x1f5)](0x14,_0x4c4f23(0x1dc),_0x215472),this[_0x4c4f23(0x1e0)](0x64,_0x4c4f23(0x1ce),_0x1fb633),this[_0x4c4f23(0x1e0)](0x65,_0x4c4f23(0x1ec),_0x35885e),this[_0x4c4f23(0x1e0)](0x66,_0x4c4f23(0x1d8),_0x3ec9a0),this[_0x4c4f23(0x1e0)](0x67,_0x4c4f23(0x1ea),_0x3cb4f7);}[_0x118098(0x1ca)](_0x4862d0){const _0x1f9ccb=_0x118098;if(!_0x4862d0||!_0x4862d0[0x0])throw new _0x5451ab(_0x1f9ccb(0x1cd),this);const _0x3a677d={'types':[],'buffers':[],'baseVersion':_0x4862d0[0x0][_0x1f9ccb(0x1dd)]};for(;_0x4862d0[_0x1f9ccb(0x1f7)];)this[_0x1f9ccb(0x1cc)](_0x1f9ccb(0x1ea))[_0x1f9ccb(0x1ca)](_0x3a677d,_0x4862d0)||this[_0x1f9ccb(0x1cc)](_0x1f9ccb(0x1ce))[_0x1f9ccb(0x1ca)](_0x3a677d,_0x4862d0)||this[_0x1f9ccb(0x1cc)](_0x1f9ccb(0x1ec))[_0x1f9ccb(0x1ca)](_0x3a677d,_0x4862d0)||this[_0x1f9ccb(0x1cc)](_0x1f9ccb(0x1d8))[_0x1f9ccb(0x1ca)](_0x3a677d,_0x4862d0)||this[_0x1f9ccb(0x1cc)](_0x1f9ccb(0x1d2))[_0x1f9ccb(0x1ca)](_0x3a677d,_0x4862d0)||this[_0x1f9ccb(0x1cc)](_0x1f9ccb(0x1cb))[_0x1f9ccb(0x1ca)](_0x3a677d,_0x4862d0)||this[_0x1f9ccb(0x1cc)](_0x4862d0[0x0][_0x1f9ccb(0x1e7)])[_0x1f9ccb(0x1ca)](_0x3a677d,_0x4862d0);return _0x3a677d;}[_0x118098(0x1d5)](_0x144b75){const _0x4900ef=_0x118098,_0x3782db=[];for(;_0x144b75[_0x4900ef(0x1d9)][_0x4900ef(0x1f7)];){const _0x372d87=this[_0x4900ef(0x1da)][_0x4900ef(0x1ef)](_0x144b75[_0x4900ef(0x1d9)][0x0]);if(!_0x372d87)throw new _0x5451ab(_0x4900ef(0x1db),this,{'type':_0x144b75[_0x4900ef(0x1d9)][0x0]});_0x372d87[_0x4900ef(0x1d5)](_0x3782db,_0x144b75);}return _0x3782db[_0x4900ef(0x1f6)]((_0x4cccf1,_0x1d37e5)=>_0x4cccf1[_0x4900ef(0x1dd)]=_0x144b75[_0x4900ef(0x1dd)]+_0x1d37e5),_0x3782db;}[_0x118098(0x1cc)](_0x524d65){const _0x590f73=_0x118098;return this[_0x590f73(0x1f0)][_0x590f73(0x1ef)](_0x524d65);}[_0x118098(0x1f5)](_0x38ac97,_0x18fe30,_0x10e830){const _0x141761=_0x118098,_0x47e067=new _0x10e830(_0x38ac97,_0x18fe30,this[_0x141761(0x1f2)][_0x141761(0x1eb)](_0x18fe30));this[_0x141761(0x1cf)](_0x38ac97,_0x18fe30,_0x47e067);}[_0x118098(0x1e0)](_0x40fc6a,_0x18caaa,_0x270a0c){const _0x23f608=_0x118098,_0x450a4d=new _0x270a0c(_0x40fc6a,this);this[_0x23f608(0x1cf)](_0x40fc6a,_0x18caaa,_0x450a4d);}[_0x118098(0x1cf)](_0x1f72a3,_0x3c0bd7,_0x55cc4a){const _0x3ea9ca=_0x118098;this[_0x3ea9ca(0x1da)][_0x3ea9ca(0x1e2)](_0x1f72a3,_0x55cc4a),this[_0x3ea9ca(0x1f0)][_0x3ea9ca(0x1e2)](_0x3c0bd7,_0x55cc4a);}}
23
+ const _0x4e557c=_0x4eaf;(function(_0x4fd171,_0x274b7b){const _0x4c7c2a=_0x4eaf,_0x768bb9=_0x4fd171();while(!![]){try{const _0x3272dc=-parseInt(_0x4c7c2a(0x138))/0x1+parseInt(_0x4c7c2a(0x140))/0x2*(parseInt(_0x4c7c2a(0x11f))/0x3)+parseInt(_0x4c7c2a(0x125))/0x4+parseInt(_0x4c7c2a(0x141))/0x5*(-parseInt(_0x4c7c2a(0x129))/0x6)+-parseInt(_0x4c7c2a(0x127))/0x7*(parseInt(_0x4c7c2a(0x130))/0x8)+-parseInt(_0x4c7c2a(0x12c))/0x9+-parseInt(_0x4c7c2a(0x142))/0xa*(-parseInt(_0x4c7c2a(0x13f))/0xb);if(_0x3272dc===_0x274b7b)break;else _0x768bb9['push'](_0x768bb9['shift']());}catch(_0x3e61bb){_0x768bb9['push'](_0x768bb9['shift']());}}}(_0xb110,0xce374));import{CKEditorError as _0x21fb64}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4d3bc8}from'./protobuffactory.js';import{OperationCompressor as _0x28d1b1}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x1f68c0}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x49848d}from'./operationcompressor/insertoperationcompressor.js';function _0x4eaf(_0x1e95c5,_0x48bfb2){const _0xb11031=_0xb110();return _0x4eaf=function(_0x4eafd3,_0x3c6aa6){_0x4eafd3=_0x4eafd3-0x113;let _0x2759b9=_0xb11031[_0x4eafd3];return _0x2759b9;},_0x4eaf(_0x1e95c5,_0x48bfb2);}function _0xb110(){const _0x44bf8e=['set','getDescriptor','88QAcUAD','_registerActionCompressor','_registerOperationCompressor','SplitOperation','suggestion','no-operations-provided','UserSelectionAction','_getCompressorByName','624506VsAHVk','AttributeOperation','CommentMarkerOperation','MoveOperation','decompress','_registerCompressor','ForwardDeletingAction','6061HnButj','10GqrwHC','5pqmgla','39470HyzGPf','comment','MergeOperation','forEach','DeletingAction','RootOperation','compress','length','NoOperation','_compressorByName','baseVersion','RootAttributeOperation','decompress-compressor-not-found','264567UDQLVo','SuggestionMarkerOperation','__className','types','InsertOperation','RenameOperation','5805492WRdHxY','_protobufFactory','317359WMaGUD','TypingAction','5740722CYHFhy','_compressorById','MarkerOperation','10282095uNnRdn','get'];_0xb110=function(){return _0x44bf8e;};return _0xb110();}import{MarkerOperationCompressor as _0x107699}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x15f154}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x598fa7}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x30de9b}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x39fa8c}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x33ad0b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x1985c7}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x4e557c(0x12a)];[_0x4e557c(0x11b)];[_0x4e557c(0x126)];constructor(){const _0x4112a7=_0x4e557c;this[_0x4112a7(0x12a)]=new Map(),this[_0x4112a7(0x11b)]=new Map(),this[_0x4112a7(0x126)]=new _0x4d3bc8();const _0x39f8fc=this[_0x4112a7(0x126)][_0x4112a7(0x12f)](_0x4112a7(0x12b));this[_0x4112a7(0x13d)](0x1,_0x4112a7(0x11a),new _0x15f154(0x1,_0x4112a7(0x11a),void 0x0)),this[_0x4112a7(0x132)](0xa,_0x4112a7(0x139),_0x1f68c0),this[_0x4112a7(0x132)](0xb,_0x4112a7(0x123),_0x49848d),this[_0x4112a7(0x132)](0xc,_0x4112a7(0x12b),_0x107699),this[_0x4112a7(0x132)](0xd,_0x4112a7(0x114),_0x28d1b1),this[_0x4112a7(0x132)](0xe,_0x4112a7(0x13b),_0x28d1b1),this[_0x4112a7(0x132)](0xf,_0x4112a7(0x124),_0x28d1b1),this[_0x4112a7(0x132)](0x10,_0x4112a7(0x11d),_0x1f68c0),this[_0x4112a7(0x132)](0x11,_0x4112a7(0x133),_0x28d1b1),this[_0x4112a7(0x13d)](0x12,_0x4112a7(0x13a),new _0x598fa7(0x12,_0x4112a7(0x12b),_0x39f8fc,_0x4112a7(0x113))),this[_0x4112a7(0x13d)](0x13,_0x4112a7(0x120),new _0x598fa7(0x13,_0x4112a7(0x12b),_0x39f8fc,_0x4112a7(0x134))),this[_0x4112a7(0x132)](0x14,_0x4112a7(0x117),_0x28d1b1),this[_0x4112a7(0x131)](0x64,_0x4112a7(0x128),_0x30de9b),this[_0x4112a7(0x131)](0x65,_0x4112a7(0x116),_0x39fa8c),this[_0x4112a7(0x131)](0x66,_0x4112a7(0x13e),_0x33ad0b),this[_0x4112a7(0x131)](0x67,_0x4112a7(0x136),_0x1985c7);}[_0x4e557c(0x118)](_0x54e491){const _0x1105f2=_0x4e557c;if(!_0x54e491||!_0x54e491[0x0])throw new _0x21fb64(_0x1105f2(0x135),this);const _0x469d38={'types':[],'buffers':[],'baseVersion':_0x54e491[0x0][_0x1105f2(0x11c)]};for(;_0x54e491[_0x1105f2(0x119)];)this[_0x1105f2(0x137)](_0x1105f2(0x136))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x128))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x116))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x13e))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x13a))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x1105f2(0x120))[_0x1105f2(0x118)](_0x469d38,_0x54e491)||this[_0x1105f2(0x137)](_0x54e491[0x0][_0x1105f2(0x121)])[_0x1105f2(0x118)](_0x469d38,_0x54e491);return _0x469d38;}[_0x4e557c(0x13c)](_0x1a1b28){const _0x5dc8ff=_0x4e557c,_0x1d4622=[];for(;_0x1a1b28[_0x5dc8ff(0x122)][_0x5dc8ff(0x119)];){const _0x39c3a2=this[_0x5dc8ff(0x12a)][_0x5dc8ff(0x12d)](_0x1a1b28[_0x5dc8ff(0x122)][0x0]);if(!_0x39c3a2)throw new _0x21fb64(_0x5dc8ff(0x11e),this,{'type':_0x1a1b28[_0x5dc8ff(0x122)][0x0]});_0x39c3a2[_0x5dc8ff(0x13c)](_0x1d4622,_0x1a1b28);}return _0x1d4622[_0x5dc8ff(0x115)]((_0x5ce076,_0x173b9a)=>_0x5ce076[_0x5dc8ff(0x11c)]=_0x1a1b28[_0x5dc8ff(0x11c)]+_0x173b9a),_0x1d4622;}[_0x4e557c(0x137)](_0xa770b2){const _0x186fbd=_0x4e557c;return this[_0x186fbd(0x11b)][_0x186fbd(0x12d)](_0xa770b2);}[_0x4e557c(0x132)](_0x262dfe,_0x45474d,_0x172cd8){const _0x4f6a26=_0x4e557c,_0x43c025=new _0x172cd8(_0x262dfe,_0x45474d,this[_0x4f6a26(0x126)][_0x4f6a26(0x12f)](_0x45474d));this[_0x4f6a26(0x13d)](_0x262dfe,_0x45474d,_0x43c025);}[_0x4e557c(0x131)](_0xc337b5,_0x9fc121,_0x56b3f7){const _0x17ca37=_0x4e557c,_0x5e300f=new _0x56b3f7(_0xc337b5,this);this[_0x17ca37(0x13d)](_0xc337b5,_0x9fc121,_0x5e300f);}[_0x4e557c(0x13d)](_0x495026,_0x1fec8c,_0xace1c3){const _0x54098b=_0x4e557c;this[_0x54098b(0x12a)][_0x54098b(0x12e)](_0x495026,_0xace1c3),this[_0x54098b(0x11b)][_0x54098b(0x12e)](_0x1fec8c,_0xace1c3);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x57e2cc,_0x2ab7e0){var _0x532209=_0x2c0f,_0x3d1b42=_0x57e2cc();while(!![]){try{var _0x57e691=parseInt(_0x532209(0xe0))/0x1+parseInt(_0x532209(0xe2))/0x2*(parseInt(_0x532209(0xe8))/0x3)+parseInt(_0x532209(0xe1))/0x4*(-parseInt(_0x532209(0xe6))/0x5)+parseInt(_0x532209(0xe9))/0x6*(-parseInt(_0x532209(0xe5))/0x7)+parseInt(_0x532209(0xea))/0x8*(parseInt(_0x532209(0xe4))/0x9)+parseInt(_0x532209(0xe7))/0xa+parseInt(_0x532209(0xe3))/0xb;if(_0x57e691===_0x2ab7e0)break;else _0x3d1b42['push'](_0x3d1b42['shift']());}catch(_0x2d6df){_0x3d1b42['push'](_0x3d1b42['shift']());}}}(_0xaab1,0x1ad2c));function _0xaab1(){var _0x107a5a=['955KNclCc','1371590Fqzpuc','11202BPWcKl','53022FKGVHs','416pHvsrE','87614giEeXK','3196YpxkYn','40BTSsFD','202587xuKhcN','10296PsBTmX','91bddQHM'];_0xaab1=function(){return _0x107a5a;};return _0xaab1();}function _0x2c0f(_0xb2d37e,_0x2846b2){var _0xaab1ea=_0xaab1();return _0x2c0f=function(_0x2c0fe5,_0x3418fc){_0x2c0fe5=_0x2c0fe5-0xe0;var _0x5c8118=_0xaab1ea[_0x2c0fe5];return _0x5c8118;},_0x2c0f(_0xb2d37e,_0x2846b2);}export{Compressor}from'./compressor.js';
23
+ (function(_0x900640,_0x1f895a){var _0xbb2b35=_0x117c,_0x458ac8=_0x900640();while(!![]){try{var _0x3c4491=-parseInt(_0xbb2b35(0x1a9))/0x1+parseInt(_0xbb2b35(0x1a4))/0x2+-parseInt(_0xbb2b35(0x1ab))/0x3*(parseInt(_0xbb2b35(0x1ac))/0x4)+-parseInt(_0xbb2b35(0x1a6))/0x5*(-parseInt(_0xbb2b35(0x1ad))/0x6)+parseInt(_0xbb2b35(0x1a7))/0x7+parseInt(_0xbb2b35(0x1a8))/0x8*(parseInt(_0xbb2b35(0x1a5))/0x9)+-parseInt(_0xbb2b35(0x1aa))/0xa;if(_0x3c4491===_0x1f895a)break;else _0x458ac8['push'](_0x458ac8['shift']());}catch(_0xb54511){_0x458ac8['push'](_0x458ac8['shift']());}}}(_0x5693,0xa1b48));export{Compressor}from'./compressor.js';function _0x117c(_0xe9a859,_0x40be83){var _0x56938b=_0x5693();return _0x117c=function(_0x117c87,_0x1c385e){_0x117c87=_0x117c87-0x1a4;var _0x1d0e0c=_0x56938b[_0x117c87];return _0x1d0e0c;},_0x117c(_0xe9a859,_0x40be83);}function _0x5693(){var _0xf2b032=['1225xCAjQw','2175712aELYvH','6949160RgLJBj','1138406QshTdv','1424430QpSbeD','9PjmtQs','338136FFqUOn','12030IAaFKb','1052218SSpRJF','9xjrYNG'];_0x5693=function(){return _0xf2b032;};return _0x5693();}