@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.3 → 47.0.0-alpha.5

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 _0x529c8a=_0x3f8d;(function(_0x18a8a5,_0x153c1b){const _0x54ec8b=_0x3f8d,_0x1748b9=_0x18a8a5();while(!![]){try{const _0xb06ddd=parseInt(_0x54ec8b(0x185))/0x1*(parseInt(_0x54ec8b(0x17e))/0x2)+parseInt(_0x54ec8b(0x182))/0x3+parseInt(_0x54ec8b(0x17f))/0x4+-parseInt(_0x54ec8b(0x190))/0x5+-parseInt(_0x54ec8b(0x18b))/0x6*(parseInt(_0x54ec8b(0x175))/0x7)+parseInt(_0x54ec8b(0x180))/0x8*(-parseInt(_0x54ec8b(0x191))/0x9)+parseInt(_0x54ec8b(0x176))/0xa;if(_0xb06ddd===_0x153c1b)break;else _0x1748b9['push'](_0x1748b9['shift']());}catch(_0x22d1cd){_0x1748b9['push'](_0x1748b9['shift']());}}}(_0x3365,0x50b86));function _0x3365(){const _0x4f2fe4=['_checkOperation','buffers','wasUndone','_compareOperations','26NUsQlH','1900476TlFMfj','55832QzGPAf','_splitCurrent','510522Hbuafb','_compressSingleOperation','_decompressSingleOperation','26869hbMqoZ','_combineNext','root','_context','targetPosition','$graveyard','66tOmAxC','decompress','__className','_getCompressorByName','MoveOperation','1230870UxXSwn','711CSkMGW','136402hkCgHQ','3479010Kiguhu','compress','howMany','sourcePosition'];_0x3365=function(){return _0x4f2fe4;};return _0x3365();}import{ActionCompressor as _0x205540}from'./actioncompressor.js';import{arePositionsEqual as _0x17e7dc,getPositionShiftedBy as _0x450a57}from'../utils.js';function _0x3f8d(_0xe3f638,_0x11fa49){const _0x33654f=_0x3365();return _0x3f8d=function(_0x3f8d25,_0x5ec4c5){_0x3f8d25=_0x3f8d25-0x175;let _0x3c31ab=_0x33654f[_0x3f8d25];return _0x3c31ab;},_0x3f8d(_0xe3f638,_0x11fa49);}import{cloneDeep as _0x4664bd}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x205540{[_0x529c8a(0x186)](_0x1e158e,_0x212a7e){const _0x1cef77=_0x529c8a;return _0x212a7e[_0x1cef77(0x178)]++,_0x212a7e[_0x1cef77(0x179)]=_0x4664bd(_0x1e158e[_0x1cef77(0x179)]),_0x212a7e;}[_0x529c8a(0x181)](_0x5c5d87){const _0x4233ac=_0x529c8a,_0x3f687c=_0x4664bd(_0x5c5d87);return _0x5c5d87[_0x4233ac(0x178)]--,_0x3f687c[_0x4233ac(0x178)]=0x1,_0x3f687c[_0x4233ac(0x179)]=_0x450a57(_0x3f687c[_0x4233ac(0x179)],_0x5c5d87[_0x4233ac(0x178)]),_0x3f687c;}[_0x529c8a(0x17d)](_0x1a2b92,_0x4a2733){const _0xb6cda0=_0x529c8a;return!(!this[_0xb6cda0(0x17a)](_0x1a2b92)||!this[_0xb6cda0(0x17a)](_0x4a2733))&&(_0x17e7dc(_0x450a57(_0x1a2b92[_0xb6cda0(0x179)],-0x1),_0x4a2733[_0xb6cda0(0x179)])&&_0x17e7dc(_0x1a2b92[_0xb6cda0(0x189)],_0x4a2733[_0xb6cda0(0x189)]));}[_0x529c8a(0x183)](_0x9025d8){const _0x2e9e68=_0x529c8a,_0x5a8519={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2e9e68(0x188)][_0x2e9e68(0x18e)](_0x2e9e68(0x18f))[_0x2e9e68(0x177)](_0x5a8519,[_0x9025d8]),_0x5a8519[_0x2e9e68(0x17b)][0x0];}[_0x529c8a(0x184)](_0x2f6286){const _0x42ddd9=_0x529c8a,_0x13f579=[];return this[_0x42ddd9(0x188)][_0x42ddd9(0x18e)](_0x42ddd9(0x18f))[_0x42ddd9(0x18c)](_0x13f579,_0x2f6286),_0x13f579[0x0];}[_0x529c8a(0x17a)](_0x492f10){const _0x2469dc=_0x529c8a;return _0x2469dc(0x18f)==_0x492f10[_0x2469dc(0x18d)]&&_0x2469dc(0x18a)==_0x492f10[_0x2469dc(0x189)][_0x2469dc(0x187)]&&0x1==_0x492f10[_0x2469dc(0x178)]&&!_0x492f10[_0x2469dc(0x17c)];}}
23
+ function _0x7643(){const _0x4db18a=['_decompressSingleOperation','383365hxceZa','6uVVIki','howMany','14YNXJGj','_checkOperation','_compareOperations','_combineNext','_splitCurrent','13436478MXElGW','wasUndone','706449llsBIw','decompress','targetPosition','268708IOCFyK','compress','MoveOperation','__className','3509430mqzoFJ','1269184ZtoKyo','_compressSingleOperation','20CWbuNU','sourcePosition','buffers','root','_context','_getCompressorByName','$graveyard','5084940sSqOWb'];_0x7643=function(){return _0x4db18a;};return _0x7643();}const _0x5c51c9=_0xe1bb;(function(_0x347ad1,_0x1f3eb0){const _0x343ad4=_0xe1bb,_0x250aaf=_0x347ad1();while(!![]){try{const _0x5c5caf=-parseInt(_0x343ad4(0x1a4))/0x1+parseInt(_0x343ad4(0x198))/0x2*(-parseInt(_0x343ad4(0x1a1))/0x3)+parseInt(_0x343ad4(0x18e))/0x4*(-parseInt(_0x343ad4(0x197))/0x5)+parseInt(_0x343ad4(0x1a8))/0x6*(parseInt(_0x343ad4(0x19a))/0x7)+parseInt(_0x343ad4(0x18c))/0x8+parseInt(_0x343ad4(0x19f))/0x9+-parseInt(_0x343ad4(0x195))/0xa;if(_0x5c5caf===_0x1f3eb0)break;else _0x250aaf['push'](_0x250aaf['shift']());}catch(_0x5d3593){_0x250aaf['push'](_0x250aaf['shift']());}}}(_0x7643,0xe9010));import{ActionCompressor as _0x501822}from'./actioncompressor.js';function _0xe1bb(_0x5dfda8,_0xbcc3e7){const _0x764317=_0x7643();return _0xe1bb=function(_0xe1bbbb,_0x16e907){_0xe1bbbb=_0xe1bbbb-0x18c;let _0x3443d0=_0x764317[_0xe1bbbb];return _0x3443d0;},_0xe1bb(_0x5dfda8,_0xbcc3e7);}import{arePositionsEqual as _0x398bf1,getPositionShiftedBy as _0x58cd08}from'../utils.js';import{cloneDeep as _0x3cea1b}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x501822{[_0x5c51c9(0x19d)](_0x37c843,_0x202229){const _0x5f4c9f=_0x5c51c9;return _0x202229[_0x5f4c9f(0x199)]++,_0x202229[_0x5f4c9f(0x18f)]=_0x3cea1b(_0x37c843[_0x5f4c9f(0x18f)]),_0x202229;}[_0x5c51c9(0x19e)](_0x2dd50e){const _0x40ef7c=_0x5c51c9,_0x2ce544=_0x3cea1b(_0x2dd50e);return _0x2dd50e[_0x40ef7c(0x199)]--,_0x2ce544[_0x40ef7c(0x199)]=0x1,_0x2ce544[_0x40ef7c(0x18f)]=_0x58cd08(_0x2ce544[_0x40ef7c(0x18f)],_0x2dd50e[_0x40ef7c(0x199)]),_0x2ce544;}[_0x5c51c9(0x19c)](_0x1efd90,_0x3e6a81){const _0xe4ed17=_0x5c51c9;return!(!this[_0xe4ed17(0x19b)](_0x1efd90)||!this[_0xe4ed17(0x19b)](_0x3e6a81))&&(_0x398bf1(_0x58cd08(_0x1efd90[_0xe4ed17(0x18f)],-0x1),_0x3e6a81[_0xe4ed17(0x18f)])&&_0x398bf1(_0x1efd90[_0xe4ed17(0x1a3)],_0x3e6a81[_0xe4ed17(0x1a3)]));}[_0x5c51c9(0x18d)](_0x539bf2){const _0x246b0b=_0x5c51c9,_0x28597f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x246b0b(0x192)][_0x246b0b(0x193)](_0x246b0b(0x1a6))[_0x246b0b(0x1a5)](_0x28597f,[_0x539bf2]),_0x28597f[_0x246b0b(0x190)][0x0];}[_0x5c51c9(0x196)](_0x5d3767){const _0x5c5cda=_0x5c51c9,_0x6502bd=[];return this[_0x5c5cda(0x192)][_0x5c5cda(0x193)](_0x5c5cda(0x1a6))[_0x5c5cda(0x1a2)](_0x6502bd,_0x5d3767),_0x6502bd[0x0];}[_0x5c51c9(0x19b)](_0x3772e3){const _0x4e2c45=_0x5c51c9;return _0x4e2c45(0x1a6)==_0x3772e3[_0x4e2c45(0x1a7)]&&_0x4e2c45(0x194)==_0x3772e3[_0x4e2c45(0x1a3)][_0x4e2c45(0x191)]&&0x1==_0x3772e3[_0x4e2c45(0x199)]&&!_0x3772e3[_0x4e2c45(0x1a0)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59cd19=_0x9cb9;(function(_0x21baf1,_0x2b9a94){const _0x568a19=_0x9cb9,_0xbd7734=_0x21baf1();while(!![]){try{const _0x308b35=parseInt(_0x568a19(0x19a))/0x1*(parseInt(_0x568a19(0x19e))/0x2)+-parseInt(_0x568a19(0x194))/0x3+parseInt(_0x568a19(0x192))/0x4+parseInt(_0x568a19(0x19b))/0x5+parseInt(_0x568a19(0x19f))/0x6*(-parseInt(_0x568a19(0x19c))/0x7)+-parseInt(_0x568a19(0x197))/0x8+parseInt(_0x568a19(0x198))/0x9;if(_0x308b35===_0x2b9a94)break;else _0xbd7734['push'](_0xbd7734['shift']());}catch(_0x229c17){_0xbd7734['push'](_0xbd7734['shift']());}}}(_0x4ad8,0x66eae));function _0x9cb9(_0x1ace49,_0x25e920){const _0x4ad89b=_0x4ad8();return _0x9cb9=function(_0x9cb976,_0x508b38){_0x9cb976=_0x9cb976-0x188;let _0x3063c8=_0x4ad89b[_0x9cb976];return _0x3063c8;},_0x9cb9(_0x1ace49,_0x25e920);}function _0x4ad8(){const _0x4a8414=['14RGQcRe','30PBOJUl','wasUndone','targetPosition','$graveyard','_getCompressorByName','_checkOperation','howMany','_compareOperations','buffers','MoveOperation','_decompressSingleOperation','decompress','compress','root','_splitCurrent','993408KDqLyo','_context','1751592rfOKYg','_compressSingleOperation','_combineNext','4820968ksyzor','7546869ojcGZw','sourcePosition','73989jjUVoD','410470tyPkev','110425BYmwsh','__className'];_0x4ad8=function(){return _0x4a8414;};return _0x4ad8();}import{ActionCompressor as _0x11824e}from'./actioncompressor.js';import{arePositionsEqual as _0x547962}from'../utils.js';import{cloneDeep as _0xc8fab0}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x11824e{[_0x59cd19(0x196)](_0x22d553,_0x3acb75){const _0x572e87=_0x59cd19;return _0x3acb75[_0x572e87(0x189)]++,_0x3acb75;}[_0x59cd19(0x191)](_0x4c0de5){const _0x4dc5a6=_0x59cd19,_0x213601=_0xc8fab0(_0x4c0de5);return _0x213601[_0x4dc5a6(0x189)]=0x1,_0x4c0de5[_0x4dc5a6(0x189)]--,_0x213601;}[_0x59cd19(0x18a)](_0x142a1e,_0x29cf70){const _0x1acaae=_0x59cd19;return!(!this[_0x1acaae(0x188)](_0x142a1e)||!this[_0x1acaae(0x188)](_0x29cf70))&&(_0x547962(_0x142a1e[_0x1acaae(0x199)],_0x29cf70[_0x1acaae(0x199)])&&_0x547962(_0x142a1e[_0x1acaae(0x1a1)],_0x29cf70[_0x1acaae(0x1a1)]));}[_0x59cd19(0x195)](_0x2706c5){const _0xca6267=_0x59cd19,_0x4da92c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xca6267(0x193)][_0xca6267(0x1a3)](_0xca6267(0x18c))[_0xca6267(0x18f)](_0x4da92c,[_0x2706c5]),_0x4da92c[_0xca6267(0x18b)][0x0];}[_0x59cd19(0x18d)](_0x301d80){const _0x3eca35=_0x59cd19,_0x1e21b6=[];return this[_0x3eca35(0x193)][_0x3eca35(0x1a3)](_0x3eca35(0x18c))[_0x3eca35(0x18e)](_0x1e21b6,_0x301d80),_0x1e21b6[0x0];}[_0x59cd19(0x188)](_0x431dc9){const _0x525548=_0x59cd19;return _0x525548(0x18c)==_0x431dc9[_0x525548(0x19d)]&&_0x525548(0x1a2)==_0x431dc9[_0x525548(0x1a1)][_0x525548(0x190)]&&0x1==_0x431dc9[_0x525548(0x189)]&&!_0x431dc9[_0x525548(0x1a0)];}}
23
+ const _0x46840a=_0x22d7;(function(_0x2e0306,_0xe8a3ab){const _0x286475=_0x22d7,_0x32a0cd=_0x2e0306();while(!![]){try{const _0x40a115=parseInt(_0x286475(0xc5))/0x1+-parseInt(_0x286475(0xaf))/0x2*(parseInt(_0x286475(0xb5))/0x3)+-parseInt(_0x286475(0xb2))/0x4+parseInt(_0x286475(0xb4))/0x5+-parseInt(_0x286475(0xbc))/0x6+parseInt(_0x286475(0xc3))/0x7+parseInt(_0x286475(0xb3))/0x8;if(_0x40a115===_0xe8a3ab)break;else _0x32a0cd['push'](_0x32a0cd['shift']());}catch(_0x232a59){_0x32a0cd['push'](_0x32a0cd['shift']());}}}(_0x55ab,0x5e3dd));function _0x22d7(_0x2043bc,_0x410cae){const _0x55abb5=_0x55ab();return _0x22d7=function(_0x22d7d6,_0x4db440){_0x22d7d6=_0x22d7d6-0xaf;let _0x448041=_0x55abb5[_0x22d7d6];return _0x448041;},_0x22d7(_0x2043bc,_0x410cae);}import{ActionCompressor as _0x35b753}from'./actioncompressor.js';import{arePositionsEqual as _0x506d8d}from'../utils.js';import{cloneDeep as _0x10ef57}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x35b753{[_0x46840a(0xc0)](_0x145cc3,_0x22de2d){const _0x544b2e=_0x46840a;return _0x22de2d[_0x544b2e(0xc7)]++,_0x22de2d;}[_0x46840a(0xb8)](_0x3ae1d0){const _0x3231b4=_0x46840a,_0x88ef88=_0x10ef57(_0x3ae1d0);return _0x88ef88[_0x3231b4(0xc7)]=0x1,_0x3ae1d0[_0x3231b4(0xc7)]--,_0x88ef88;}[_0x46840a(0xbf)](_0xb2570a,_0x4ea0e6){const _0x1e8525=_0x46840a;return!(!this[_0x1e8525(0xbe)](_0xb2570a)||!this[_0x1e8525(0xbe)](_0x4ea0e6))&&(_0x506d8d(_0xb2570a[_0x1e8525(0xb1)],_0x4ea0e6[_0x1e8525(0xb1)])&&_0x506d8d(_0xb2570a[_0x1e8525(0xc1)],_0x4ea0e6[_0x1e8525(0xc1)]));}[_0x46840a(0xb9)](_0x473e35){const _0xbcefad=_0x46840a,_0x47d984={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xbcefad(0xbb)][_0xbcefad(0xb0)](_0xbcefad(0xc2))[_0xbcefad(0xbd)](_0x47d984,[_0x473e35]),_0x47d984[_0xbcefad(0xb7)][0x0];}[_0x46840a(0xb6)](_0x2ac5e3){const _0x16b19a=_0x46840a,_0x47e623=[];return this[_0x16b19a(0xbb)][_0x16b19a(0xb0)](_0x16b19a(0xc2))[_0x16b19a(0xc6)](_0x47e623,_0x2ac5e3),_0x47e623[0x0];}[_0x46840a(0xbe)](_0x31143f){const _0x10a2e1=_0x46840a;return _0x10a2e1(0xc2)==_0x31143f[_0x10a2e1(0xc9)]&&_0x10a2e1(0xba)==_0x31143f[_0x10a2e1(0xc1)][_0x10a2e1(0xc8)]&&0x1==_0x31143f[_0x10a2e1(0xc7)]&&!_0x31143f[_0x10a2e1(0xc4)];}}function _0x55ab(){const _0x36da1c=['_compareOperations','_combineNext','targetPosition','MoveOperation','13496zkHwTy','wasUndone','730217XXOaLa','decompress','howMany','root','__className','70632NfeSpS','_getCompressorByName','sourcePosition','489504ygaWCb','6655728ptrkqt','1213850DUpcgd','48ODPDan','_decompressSingleOperation','buffers','_splitCurrent','_compressSingleOperation','$graveyard','_context','4400616WtXlJn','compress','_checkOperation'];_0x55ab=function(){return _0x36da1c;};return _0x55ab();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1254(_0x372a04,_0x107900){const _0x3e8346=_0x3e83();return _0x1254=function(_0x125476,_0x498b48){_0x125476=_0x125476-0x1b5;let _0x54918d=_0x3e8346[_0x125476];return _0x54918d;},_0x1254(_0x372a04,_0x107900);}const _0x2c8ba0=_0x1254;(function(_0x20bf95,_0x5d1684){const _0x12efdb=_0x1254,_0x348d44=_0x20bf95();while(!![]){try{const _0x271b72=parseInt(_0x12efdb(0x1d9))/0x1+-parseInt(_0x12efdb(0x1bf))/0x2*(parseInt(_0x12efdb(0x1bc))/0x3)+parseInt(_0x12efdb(0x1d7))/0x4+parseInt(_0x12efdb(0x1ce))/0x5*(-parseInt(_0x12efdb(0x1d0))/0x6)+parseInt(_0x12efdb(0x1d5))/0x7+parseInt(_0x12efdb(0x1b6))/0x8+-parseInt(_0x12efdb(0x1c2))/0x9*(parseInt(_0x12efdb(0x1be))/0xa);if(_0x271b72===_0x5d1684)break;else _0x348d44['push'](_0x348d44['shift']());}catch(_0x175e3a){_0x348d44['push'](_0x348d44['shift']());}}}(_0x3e83,0x3fb2e));import{ActionCompressor as _0x2355be}from'./actioncompressor.js';import{arePositionsEqual as _0x502616,getPositionShiftedBy as _0x2e1da6}from'../utils.js';function _0x3e83(){const _0x2597b7=['_combineNext','354cqhErN','_checkOperation','iterator','next','keys','2784817XdUXXC','__className','1606560zPiSlI','from','509179TOEijk','buffers','539024uRaarA','InsertOperation','_splitCurrent','_compareOperations','position','decompress','975747xAgOWw','attributes','10nvXTsZ','2vxtEQI','_compareAttributes','data','6685614obLYZy','value','wasUndone','_context','substr','every','compress','_decompressSingleOperation','length','_compressSingleOperation','nodes','_getCompressorByName','3985YKCoVQ'];_0x3e83=function(){return _0x2597b7;};return _0x3e83();}import{cloneDeep as _0x1ade54}from'es-toolkit/compat';export class TypingActionCompressor extends _0x2355be{[_0x2c8ba0(0x1cf)](_0x3ebf68,_0x402e24){const _0x4439=_0x2c8ba0;return _0x402e24[_0x4439(0x1cc)][0x0][_0x4439(0x1c1)]+=_0x3ebf68[_0x4439(0x1cc)][0x0][_0x4439(0x1c1)],_0x402e24;}[_0x2c8ba0(0x1b8)](_0x213d95){const _0x364163=_0x2c8ba0,_0x2e2975=_0x1ade54(_0x213d95),_0x2a11ae=_0x2e2975[_0x364163(0x1cc)][0x0],_0x35201d=_0x213d95[_0x364163(0x1cc)][0x0],_0xdab6ba=_0x35201d[_0x364163(0x1c1)][Symbol[_0x364163(0x1d2)]]()[_0x364163(0x1d3)]()[_0x364163(0x1c3)],_0xb077f=_0xdab6ba[_0x364163(0x1ca)];return _0x2a11ae[_0x364163(0x1c1)]=_0xdab6ba,_0x35201d[_0x364163(0x1c1)]=_0x35201d[_0x364163(0x1c1)][_0x364163(0x1c6)](_0xb077f),_0x213d95[_0x364163(0x1ba)]=_0x2e1da6(_0x213d95[_0x364163(0x1ba)],_0xb077f),_0x2e2975;}[_0x2c8ba0(0x1b9)](_0x2b0496,_0x2e0654){const _0x10073d=_0x2c8ba0;if(this[_0x10073d(0x1d1)](_0x2b0496)&&this[_0x10073d(0x1d1)](_0x2e0654)){const _0x377d7b=_0x2b0496[_0x10073d(0x1cc)][0x0][_0x10073d(0x1c1)][_0x10073d(0x1ca)],_0x217258=_0x502616(_0x2e1da6(_0x2b0496[_0x10073d(0x1ba)],_0x377d7b),_0x2e0654[_0x10073d(0x1ba)]),_0x486681=_0x2b0496[_0x10073d(0x1cc)][0x0],_0x6c44ba=_0x2e0654[_0x10073d(0x1cc)][0x0];return _0x217258&&this[_0x10073d(0x1c0)](_0x486681,_0x6c44ba);}return!0x1;}[_0x2c8ba0(0x1cb)](_0x5f3d8c){const _0x3d3e68=_0x2c8ba0,_0x1cc4e9={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3d3e68(0x1c5)][_0x3d3e68(0x1cd)](_0x3d3e68(0x1b7))[_0x3d3e68(0x1c8)](_0x1cc4e9,[_0x5f3d8c]),_0x1cc4e9[_0x3d3e68(0x1b5)][0x0];}[_0x2c8ba0(0x1c9)](_0x4a67b6){const _0x5ceae8=_0x2c8ba0,_0x3c01bd=[];return this[_0x5ceae8(0x1c5)][_0x5ceae8(0x1cd)](_0x5ceae8(0x1b7))[_0x5ceae8(0x1bb)](_0x3c01bd,_0x4a67b6),_0x3c01bd[0x0];}[_0x2c8ba0(0x1d1)](_0xe49584){const _0x4ccef9=_0x2c8ba0;return _0x4ccef9(0x1b7)==_0xe49584[_0x4ccef9(0x1d6)]&&0x1==_0xe49584[_0x4ccef9(0x1cc)][_0x4ccef9(0x1ca)]&&_0xe49584[_0x4ccef9(0x1cc)][0x0][_0x4ccef9(0x1c1)]&&!_0xe49584[_0x4ccef9(0x1c4)]&&0x1==Array[_0x4ccef9(0x1d8)](_0xe49584[_0x4ccef9(0x1cc)][0x0][_0x4ccef9(0x1c1)])[_0x4ccef9(0x1ca)];}[_0x2c8ba0(0x1c0)](_0x1e3426,_0x2026eb){const _0x4db335=_0x2c8ba0,_0x27f9e9=Object[_0x4db335(0x1d4)](_0x1e3426[_0x4db335(0x1bd)]||{}),_0x3b8494=Object[_0x4db335(0x1d4)](_0x2026eb[_0x4db335(0x1bd)]||{});return _0x27f9e9[_0x4db335(0x1ca)]===_0x3b8494[_0x4db335(0x1ca)]&&_0x27f9e9[_0x4db335(0x1c7)](_0x44eae0=>_0x2026eb[_0x4db335(0x1bd)][_0x44eae0]&&_0x2026eb[_0x4db335(0x1bd)][_0x44eae0]===_0x1e3426[_0x4db335(0x1bd)][_0x44eae0]);}}
23
+ const _0x1e1825=_0x3acc;function _0x3acc(_0x4efd41,_0x1f969a){const _0x2fda4c=_0x2fda();return _0x3acc=function(_0x3accfb,_0x81fd68){_0x3accfb=_0x3accfb-0x133;let _0x1b4517=_0x2fda4c[_0x3accfb];return _0x1b4517;},_0x3acc(_0x4efd41,_0x1f969a);}(function(_0x1ee702,_0x16eae9){const _0x4e1ba1=_0x3acc,_0x197289=_0x1ee702();while(!![]){try{const _0x3ad964=-parseInt(_0x4e1ba1(0x156))/0x1*(-parseInt(_0x4e1ba1(0x138))/0x2)+parseInt(_0x4e1ba1(0x154))/0x3*(-parseInt(_0x4e1ba1(0x139))/0x4)+parseInt(_0x4e1ba1(0x13e))/0x5+parseInt(_0x4e1ba1(0x159))/0x6*(-parseInt(_0x4e1ba1(0x140))/0x7)+parseInt(_0x4e1ba1(0x13f))/0x8*(parseInt(_0x4e1ba1(0x149))/0x9)+-parseInt(_0x4e1ba1(0x13d))/0xa*(-parseInt(_0x4e1ba1(0x152))/0xb)+-parseInt(_0x4e1ba1(0x134))/0xc;if(_0x3ad964===_0x16eae9)break;else _0x197289['push'](_0x197289['shift']());}catch(_0x19c7f2){_0x197289['push'](_0x197289['shift']());}}}(_0x2fda,0x3ee8a));import{ActionCompressor as _0x3e5ec9}from'./actioncompressor.js';import{arePositionsEqual as _0x2df4b2,getPositionShiftedBy as _0x11ac53}from'../utils.js';function _0x2fda(){const _0x501d45=['nodes','_checkOperation','length','_combineNext','compress','data','iterator','__className','3177PNToXc','every','_compareAttributes','buffers','_splitCurrent','value','_getCompressorByName','position','wasUndone','22CsjYhr','_decompressSingleOperation','15uMfxCP','substr','2dOjQTf','next','decompress','6SwgEWp','from','2758356xLwAjO','InsertOperation','attributes','_context','329126yGPlFB','25588zuZPzC','_compressSingleOperation','keys','_compareOperations','1194100mCkAQK','33245GFBKqU','4264SAhFWE','1702554EwpXcT'];_0x2fda=function(){return _0x501d45;};return _0x2fda();}import{cloneDeep as _0x1b4cc6}from'es-toolkit/compat';export class TypingActionCompressor extends _0x3e5ec9{[_0x1e1825(0x144)](_0x16d325,_0x11ae5b){const _0x255226=_0x1e1825;return _0x11ae5b[_0x255226(0x141)][0x0][_0x255226(0x146)]+=_0x16d325[_0x255226(0x141)][0x0][_0x255226(0x146)],_0x11ae5b;}[_0x1e1825(0x14d)](_0x5970fc){const _0x43107e=_0x1e1825,_0x50bf11=_0x1b4cc6(_0x5970fc),_0x1be22e=_0x50bf11[_0x43107e(0x141)][0x0],_0x44b706=_0x5970fc[_0x43107e(0x141)][0x0],_0x98b495=_0x44b706[_0x43107e(0x146)][Symbol[_0x43107e(0x147)]]()[_0x43107e(0x157)]()[_0x43107e(0x14e)],_0x47a62c=_0x98b495[_0x43107e(0x143)];return _0x1be22e[_0x43107e(0x146)]=_0x98b495,_0x44b706[_0x43107e(0x146)]=_0x44b706[_0x43107e(0x146)][_0x43107e(0x155)](_0x47a62c),_0x5970fc[_0x43107e(0x150)]=_0x11ac53(_0x5970fc[_0x43107e(0x150)],_0x47a62c),_0x50bf11;}[_0x1e1825(0x13c)](_0x31c4e7,_0x5cd834){const _0x467184=_0x1e1825;if(this[_0x467184(0x142)](_0x31c4e7)&&this[_0x467184(0x142)](_0x5cd834)){const _0x1d7cd1=_0x31c4e7[_0x467184(0x141)][0x0][_0x467184(0x146)][_0x467184(0x143)],_0x9b660a=_0x2df4b2(_0x11ac53(_0x31c4e7[_0x467184(0x150)],_0x1d7cd1),_0x5cd834[_0x467184(0x150)]),_0x57f6f0=_0x31c4e7[_0x467184(0x141)][0x0],_0x10ac38=_0x5cd834[_0x467184(0x141)][0x0];return _0x9b660a&&this[_0x467184(0x14b)](_0x57f6f0,_0x10ac38);}return!0x1;}[_0x1e1825(0x13a)](_0x355f1f){const _0x3e5095=_0x1e1825,_0x23005c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3e5095(0x137)][_0x3e5095(0x14f)](_0x3e5095(0x135))[_0x3e5095(0x145)](_0x23005c,[_0x355f1f]),_0x23005c[_0x3e5095(0x14c)][0x0];}[_0x1e1825(0x153)](_0xf3b601){const _0x39b7c0=_0x1e1825,_0x57f463=[];return this[_0x39b7c0(0x137)][_0x39b7c0(0x14f)](_0x39b7c0(0x135))[_0x39b7c0(0x158)](_0x57f463,_0xf3b601),_0x57f463[0x0];}[_0x1e1825(0x142)](_0x5a2c24){const _0x2c9817=_0x1e1825;return _0x2c9817(0x135)==_0x5a2c24[_0x2c9817(0x148)]&&0x1==_0x5a2c24[_0x2c9817(0x141)][_0x2c9817(0x143)]&&_0x5a2c24[_0x2c9817(0x141)][0x0][_0x2c9817(0x146)]&&!_0x5a2c24[_0x2c9817(0x151)]&&0x1==Array[_0x2c9817(0x133)](_0x5a2c24[_0x2c9817(0x141)][0x0][_0x2c9817(0x146)])[_0x2c9817(0x143)];}[_0x1e1825(0x14b)](_0x334ffb,_0x3d3b81){const _0x5d6129=_0x1e1825,_0x61134d=Object[_0x5d6129(0x13b)](_0x334ffb[_0x5d6129(0x136)]||{}),_0x368991=Object[_0x5d6129(0x13b)](_0x3d3b81[_0x5d6129(0x136)]||{});return _0x61134d[_0x5d6129(0x143)]===_0x368991[_0x5d6129(0x143)]&&_0x61134d[_0x5d6129(0x14a)](_0x27da5f=>_0x3d3b81[_0x5d6129(0x136)][_0x27da5f]&&_0x3d3b81[_0x5d6129(0x136)][_0x27da5f]===_0x334ffb[_0x5d6129(0x136)][_0x27da5f]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27050c=_0x5535;(function(_0x16eca1,_0x321b3f){const _0x58ef98=_0x5535,_0x3af136=_0x16eca1();while(!![]){try{const _0x1d6d34=parseInt(_0x58ef98(0x96))/0x1+parseInt(_0x58ef98(0x8b))/0x2+parseInt(_0x58ef98(0x8c))/0x3+-parseInt(_0x58ef98(0x84))/0x4+parseInt(_0x58ef98(0x9b))/0x5+parseInt(_0x58ef98(0x89))/0x6+parseInt(_0x58ef98(0x85))/0x7*(-parseInt(_0x58ef98(0x97))/0x8);if(_0x1d6d34===_0x321b3f)break;else _0x3af136['push'](_0x3af136['shift']());}catch(_0xaa2e82){_0x3af136['push'](_0x3af136['shift']());}}}(_0x54ff,0xe5465));import{ActionCompressor as _0xf42859}from'./actioncompressor.js';import{arePositionsEqual as _0x20d7c5}from'../utils.js';import{cloneDeep as _0x369aec}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0xf42859{[_0x27050c(0x9c)](_0x2eb720,_0x2472de){const _0x121b2e=_0x27050c;if(!this[_0x121b2e(0x81)](_0x2472de[0x0],_0x2472de[0x1]))return!0x1;const _0x4be0ea=_0x2472de[_0x121b2e(0x8a)]();return _0x4be0ea[_0x121b2e(0x91)]=null,_0x4be0ea[_0x121b2e(0x7f)]&&_0x20d7c5(_0x4be0ea[_0x121b2e(0x7f)][_0x121b2e(0x8d)],_0x4be0ea[_0x121b2e(0x7f)][_0x121b2e(0x9a)])&&(_0x4be0ea[_0x121b2e(0x7f)][_0x121b2e(0x9a)]=null),_0x2472de[_0x121b2e(0x8a)](),_0x2eb720[_0x121b2e(0x98)][_0x121b2e(0x99)](this[_0x121b2e(0x8e)]),_0x2eb720[_0x121b2e(0x98)][_0x121b2e(0x99)](0x0),_0x2eb720[_0x121b2e(0x87)][_0x121b2e(0x99)](this[_0x121b2e(0x82)](_0x4be0ea)),!0x0;}[_0x27050c(0x92)](_0x3b425b,_0x5b732a){const _0x5964d9=_0x27050c,_0x13d3e6=this[_0x5964d9(0x7e)](_0x5b732a);_0x13d3e6[_0x5964d9(0x7f)]&&!_0x13d3e6[_0x5964d9(0x7f)][_0x5964d9(0x9a)]&&(_0x13d3e6[_0x5964d9(0x7f)][_0x5964d9(0x9a)]=_0x369aec(_0x13d3e6[_0x5964d9(0x7f)][_0x5964d9(0x8d)]));const _0x121175=_0x369aec(_0x13d3e6);_0x121175[_0x5964d9(0x7f)]&&(_0x121175[_0x5964d9(0x7f)][_0x5964d9(0x8d)][_0x5964d9(0x83)]=_0x5964d9(0x95),_0x121175[_0x5964d9(0x7f)][_0x5964d9(0x9a)]=_0x369aec(_0x121175[_0x5964d9(0x7f)][_0x5964d9(0x8d)])),_0x121175[_0x5964d9(0x93)]=_0x5964d9(0x9d)+_0x121175[_0x5964d9(0x93)][_0x5964d9(0x94)](':')[0x2],_0x5b732a[_0x5964d9(0x98)][_0x5964d9(0x8a)](),_0x3b425b[_0x5964d9(0x99)](_0x13d3e6),_0x3b425b[_0x5964d9(0x99)](_0x121175);}[_0x27050c(0x82)](_0x355d29){const _0x4b4715=_0x27050c,_0x37d209={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4b4715(0x88)][_0x4b4715(0x86)](_0x4b4715(0x90))[_0x4b4715(0x9c)](_0x37d209,[_0x355d29]),_0x37d209[_0x4b4715(0x87)][0x0];}[_0x27050c(0x7e)](_0x526cd5){const _0x58acf4=_0x27050c,_0x30500e=[];return this[_0x58acf4(0x88)][_0x58acf4(0x86)](_0x58acf4(0x90))[_0x58acf4(0x92)](_0x30500e,_0x526cd5),_0x30500e[0x0];}[_0x27050c(0x81)](_0xfa64fd,_0x2542c1){const _0x3a3cd8=_0x27050c;return!(!_0xfa64fd||!_0x2542c1)&&(_0x3a3cd8(0x90)==_0xfa64fd[_0x3a3cd8(0x80)]&&_0x3a3cd8(0x90)==_0x2542c1[_0x3a3cd8(0x80)]&&!(!_0xfa64fd[_0x3a3cd8(0x93)][_0x3a3cd8(0x8f)](_0x3a3cd8(0x7d))||!_0x2542c1[_0x3a3cd8(0x93)][_0x3a3cd8(0x8f)](_0x3a3cd8(0x7d))||_0xfa64fd[_0x3a3cd8(0x93)]==_0x2542c1[_0x3a3cd8(0x93)]));}}function _0x5535(_0x4c085e,_0x49f0bf){const _0x54ffc8=_0x54ff();return _0x5535=function(_0x553500,_0x4fea1b){_0x553500=_0x553500-0x7d;let _0x55ca74=_0x54ffc8[_0x553500];return _0x55ca74;},_0x5535(_0x4c085e,_0x49f0bf);}function _0x54ff(){const _0x1c1c34=['shift','1994096xyMsVH','2488908bVVtAS','start','_id','startsWith','MarkerOperation','oldRange','decompress','name','split','toNone','548168RHiCSn','1913864UMyywK','types','push','end','931460NZSQCs','compress','user:position:','user:','_decompressSingleOperation','newRange','__className','_compareOperations','_compressSingleOperation','stickiness','5464824NNXgVV','49XxwIgn','_getCompressorByName','buffers','_context','8512812CuodTw'];_0x54ff=function(){return _0x1c1c34;};return _0x54ff();}
23
+ const _0x2fe430=_0x555b;(function(_0x40fa47,_0x6e601a){const _0x1a8f9a=_0x555b,_0xe3233e=_0x40fa47();while(!![]){try{const _0x4f6168=parseInt(_0x1a8f9a(0x1e7))/0x1+-parseInt(_0x1a8f9a(0x1f3))/0x2*(parseInt(_0x1a8f9a(0x1f0))/0x3)+-parseInt(_0x1a8f9a(0x1ed))/0x4+parseInt(_0x1a8f9a(0x1e8))/0x5+parseInt(_0x1a8f9a(0x1eb))/0x6*(parseInt(_0x1a8f9a(0x1de))/0x7)+-parseInt(_0x1a8f9a(0x1dc))/0x8+parseInt(_0x1a8f9a(0x1e5))/0x9*(parseInt(_0x1a8f9a(0x1df))/0xa);if(_0x4f6168===_0x6e601a)break;else _0xe3233e['push'](_0xe3233e['shift']());}catch(_0x517077){_0xe3233e['push'](_0xe3233e['shift']());}}}(_0x19c9,0xd1d52));function _0x555b(_0x3b881b,_0x46bdb9){const _0x19c9e7=_0x19c9();return _0x555b=function(_0x555b32,_0x10f6b9){_0x555b32=_0x555b32-0x1d5;let _0x25283e=_0x19c9e7[_0x555b32];return _0x25283e;},_0x555b(_0x3b881b,_0x46bdb9);}import{ActionCompressor as _0xaa3334}from'./actioncompressor.js';import{arePositionsEqual as _0x4094db}from'../utils.js';import{cloneDeep as _0x58e85e}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0xaa3334{[_0x2fe430(0x1f2)](_0x10f069,_0x10bb20){const _0x3a1abf=_0x2fe430;if(!this[_0x3a1abf(0x1e0)](_0x10bb20[0x0],_0x10bb20[0x1]))return!0x1;const _0x460fee=_0x10bb20[_0x3a1abf(0x1ee)]();return _0x460fee[_0x3a1abf(0x1f4)]=null,_0x460fee[_0x3a1abf(0x1ea)]&&_0x4094db(_0x460fee[_0x3a1abf(0x1ea)][_0x3a1abf(0x1e2)],_0x460fee[_0x3a1abf(0x1ea)][_0x3a1abf(0x1e4)])&&(_0x460fee[_0x3a1abf(0x1ea)][_0x3a1abf(0x1e4)]=null),_0x10bb20[_0x3a1abf(0x1ee)](),_0x10f069[_0x3a1abf(0x1d5)][_0x3a1abf(0x1f5)](this[_0x3a1abf(0x1e9)]),_0x10f069[_0x3a1abf(0x1d5)][_0x3a1abf(0x1f5)](0x0),_0x10f069[_0x3a1abf(0x1ec)][_0x3a1abf(0x1f5)](this[_0x3a1abf(0x1f6)](_0x460fee)),!0x0;}[_0x2fe430(0x1db)](_0x4252ae,_0x47e3f8){const _0x5522ad=_0x2fe430,_0x211e10=this[_0x5522ad(0x1da)](_0x47e3f8);_0x211e10[_0x5522ad(0x1ea)]&&!_0x211e10[_0x5522ad(0x1ea)][_0x5522ad(0x1e4)]&&(_0x211e10[_0x5522ad(0x1ea)][_0x5522ad(0x1e4)]=_0x58e85e(_0x211e10[_0x5522ad(0x1ea)][_0x5522ad(0x1e2)]));const _0x3ad568=_0x58e85e(_0x211e10);_0x3ad568[_0x5522ad(0x1ea)]&&(_0x3ad568[_0x5522ad(0x1ea)][_0x5522ad(0x1e2)][_0x5522ad(0x1d8)]=_0x5522ad(0x1e1),_0x3ad568[_0x5522ad(0x1ea)][_0x5522ad(0x1e4)]=_0x58e85e(_0x3ad568[_0x5522ad(0x1ea)][_0x5522ad(0x1e2)])),_0x3ad568[_0x5522ad(0x1d7)]=_0x5522ad(0x1dd)+_0x3ad568[_0x5522ad(0x1d7)][_0x5522ad(0x1e3)](':')[0x2],_0x47e3f8[_0x5522ad(0x1d5)][_0x5522ad(0x1ee)](),_0x4252ae[_0x5522ad(0x1f5)](_0x211e10),_0x4252ae[_0x5522ad(0x1f5)](_0x3ad568);}[_0x2fe430(0x1f6)](_0x4dd654){const _0x48ac74=_0x2fe430,_0x46c2f1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x48ac74(0x1f1)][_0x48ac74(0x1ef)](_0x48ac74(0x1f7))[_0x48ac74(0x1f2)](_0x46c2f1,[_0x4dd654]),_0x46c2f1[_0x48ac74(0x1ec)][0x0];}[_0x2fe430(0x1da)](_0x33ec05){const _0x29a9dc=_0x2fe430,_0x958a5a=[];return this[_0x29a9dc(0x1f1)][_0x29a9dc(0x1ef)](_0x29a9dc(0x1f7))[_0x29a9dc(0x1db)](_0x958a5a,_0x33ec05),_0x958a5a[0x0];}[_0x2fe430(0x1e0)](_0x25e304,_0x4a1f7b){const _0x19a2ea=_0x2fe430;return!(!_0x25e304||!_0x4a1f7b)&&(_0x19a2ea(0x1f7)==_0x25e304[_0x19a2ea(0x1d9)]&&_0x19a2ea(0x1f7)==_0x4a1f7b[_0x19a2ea(0x1d9)]&&!(!_0x25e304[_0x19a2ea(0x1d7)][_0x19a2ea(0x1e6)](_0x19a2ea(0x1d6))||!_0x4a1f7b[_0x19a2ea(0x1d7)][_0x19a2ea(0x1e6)](_0x19a2ea(0x1d6))||_0x25e304[_0x19a2ea(0x1d7)]==_0x4a1f7b[_0x19a2ea(0x1d7)]));}}function _0x19c9(){const _0x56e205=['MarkerOperation','types','user:','name','stickiness','__className','_decompressSingleOperation','decompress','10802272Wgmmmt','user:position:','35GnHHpu','60toBaJH','_compareOperations','toNone','start','split','end','133191PWtOAq','startsWith','1344921ferWkX','7852380iOUgAH','_id','newRange','426366rkEHRO','buffers','4497564UjMhcr','shift','_getCompressorByName','10863ifOIct','_context','compress','14aRfMew','oldRange','push','_compressSingleOperation'];_0x19c9=function(){return _0x56e205;};return _0x19c9();}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x333750=_0x3697;(function(_0x40a197,_0x182de7){const _0x3add97=_0x3697,_0xedc4e6=_0x40a197();while(!![]){try{const _0x4050f5=-parseInt(_0x3add97(0xb1))/0x1*(-parseInt(_0x3add97(0x96))/0x2)+parseInt(_0x3add97(0x9c))/0x3*(parseInt(_0x3add97(0x94))/0x4)+parseInt(_0x3add97(0x95))/0x5+-parseInt(_0x3add97(0x9b))/0x6*(-parseInt(_0x3add97(0x8b))/0x7)+parseInt(_0x3add97(0xaf))/0x8*(parseInt(_0x3add97(0x84))/0x9)+-parseInt(_0x3add97(0xa1))/0xa*(parseInt(_0x3add97(0xa0))/0xb)+-parseInt(_0x3add97(0xad))/0xc;if(_0x4050f5===_0x182de7)break;else _0xedc4e6['push'](_0xedc4e6['shift']());}catch(_0x5d4319){_0xedc4e6['push'](_0xedc4e6['shift']());}}}(_0x5772,0xac793));import{CKEditorError as _0xa0ed8c}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x55f13a}from'./protobuffactory.js';import{OperationCompressor as _0x16c2f9}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x5a3567}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x44f7cf}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x1422cc}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x1a0e43}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0xd014ac}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x1ff6e8}from'./actioncompressor/typingactioncompressor.js';function _0x3697(_0x1d7807,_0x49bdfd){const _0x57723b=_0x5772();return _0x3697=function(_0x36976f,_0x2c59fc){_0x36976f=_0x36976f-0x82;let _0x5e0669=_0x57723b[_0x36976f];return _0x5e0669;},_0x3697(_0x1d7807,_0x49bdfd);}function _0x5772(){const _0x49b54f=['CommentMarkerOperation','DeletingAction','162WDJgpf','ForwardDeletingAction','comment','MoveOperation','baseVersion','forEach','_getCompressorByName','2107MIzeEO','_registerCompressor','RootOperation','SuggestionMarkerOperation','_registerActionCompressor','length','NoOperation','set','RenameOperation','328RBlkBH','5746755pONrnG','4elTdFc','UserSelectionAction','AttributeOperation','no-operations-provided','decompress-compressor-not-found','654SunGZY','44922FKovRW','SplitOperation','_compressorById','TypingAction','11eMoQVa','7144070jDsGcC','RootAttributeOperation','_registerOperationCompressor','MergeOperation','types','decompress','InsertOperation','getDescriptor','suggestion','get','_compressorByName','MarkerOperation','41666952VGVEgv','_protobufFactory','497264COZULA','compress','682116SLcvMX','__className'];_0x5772=function(){return _0x49b54f;};return _0x5772();}import{DeletingActionCompressor as _0x2e1fd2}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x431959}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x3bad2b}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x333750(0x9e)];[_0x333750(0xab)];[_0x333750(0xae)];constructor(){const _0x5030a8=_0x333750;this[_0x5030a8(0x9e)]=new Map(),this[_0x5030a8(0xab)]=new Map(),this[_0x5030a8(0xae)]=new _0x55f13a();const _0x5735ad=this[_0x5030a8(0xae)][_0x5030a8(0xa8)](_0x5030a8(0xac));this[_0x5030a8(0x8c)](0x1,_0x5030a8(0x91),new _0x1a0e43(0x1,_0x5030a8(0x91),void 0x0)),this[_0x5030a8(0xa3)](0xa,_0x5030a8(0x98),_0x5a3567),this[_0x5030a8(0xa3)](0xb,_0x5030a8(0xa7),_0x44f7cf),this[_0x5030a8(0xa3)](0xc,_0x5030a8(0xac),_0x1422cc),this[_0x5030a8(0xa3)](0xd,_0x5030a8(0xa4),_0x16c2f9),this[_0x5030a8(0xa3)](0xe,_0x5030a8(0x87),_0x16c2f9),this[_0x5030a8(0xa3)](0xf,_0x5030a8(0x93),_0x16c2f9),this[_0x5030a8(0xa3)](0x10,_0x5030a8(0xa2),_0x5a3567),this[_0x5030a8(0xa3)](0x11,_0x5030a8(0x9d),_0x16c2f9),this[_0x5030a8(0x8c)](0x12,_0x5030a8(0x82),new _0xd014ac(0x12,_0x5030a8(0xac),_0x5735ad,_0x5030a8(0x86))),this[_0x5030a8(0x8c)](0x13,_0x5030a8(0x8e),new _0xd014ac(0x13,_0x5030a8(0xac),_0x5735ad,_0x5030a8(0xa9))),this[_0x5030a8(0xa3)](0x14,_0x5030a8(0x8d),_0x16c2f9),this[_0x5030a8(0x8f)](0x64,_0x5030a8(0x9f),_0x1ff6e8),this[_0x5030a8(0x8f)](0x65,_0x5030a8(0x83),_0x2e1fd2),this[_0x5030a8(0x8f)](0x66,_0x5030a8(0x85),_0x431959),this[_0x5030a8(0x8f)](0x67,_0x5030a8(0x97),_0x3bad2b);}[_0x333750(0xb0)](_0x555447){const _0x473632=_0x333750;if(!_0x555447||!_0x555447[0x0])throw new _0xa0ed8c(_0x473632(0x99),this);const _0x18c213={'types':[],'buffers':[],'baseVersion':_0x555447[0x0][_0x473632(0x88)]};for(;_0x555447[_0x473632(0x90)];)this[_0x473632(0x8a)](_0x473632(0x97))[_0x473632(0xb0)](_0x18c213,_0x555447)||this[_0x473632(0x8a)](_0x473632(0x9f))[_0x473632(0xb0)](_0x18c213,_0x555447)||this[_0x473632(0x8a)](_0x473632(0x83))[_0x473632(0xb0)](_0x18c213,_0x555447)||this[_0x473632(0x8a)](_0x473632(0x85))[_0x473632(0xb0)](_0x18c213,_0x555447)||this[_0x473632(0x8a)](_0x473632(0x82))[_0x473632(0xb0)](_0x18c213,_0x555447)||this[_0x473632(0x8a)](_0x473632(0x8e))[_0x473632(0xb0)](_0x18c213,_0x555447)||this[_0x473632(0x8a)](_0x555447[0x0][_0x473632(0xb2)])[_0x473632(0xb0)](_0x18c213,_0x555447);return _0x18c213;}[_0x333750(0xa6)](_0x335b46){const _0xa52b9c=_0x333750,_0x1734cb=[];for(;_0x335b46[_0xa52b9c(0xa5)][_0xa52b9c(0x90)];){const _0x45178f=this[_0xa52b9c(0x9e)][_0xa52b9c(0xaa)](_0x335b46[_0xa52b9c(0xa5)][0x0]);if(!_0x45178f)throw new _0xa0ed8c(_0xa52b9c(0x9a),this,{'type':_0x335b46[_0xa52b9c(0xa5)][0x0]});_0x45178f[_0xa52b9c(0xa6)](_0x1734cb,_0x335b46);}return _0x1734cb[_0xa52b9c(0x89)]((_0x555633,_0x76260b)=>_0x555633[_0xa52b9c(0x88)]=_0x335b46[_0xa52b9c(0x88)]+_0x76260b),_0x1734cb;}[_0x333750(0x8a)](_0x1c1623){const _0x5d5b5e=_0x333750;return this[_0x5d5b5e(0xab)][_0x5d5b5e(0xaa)](_0x1c1623);}[_0x333750(0xa3)](_0xdf4d46,_0x2eb0dd,_0x47ecdc){const _0x9e50aa=_0x333750,_0x27e769=new _0x47ecdc(_0xdf4d46,_0x2eb0dd,this[_0x9e50aa(0xae)][_0x9e50aa(0xa8)](_0x2eb0dd));this[_0x9e50aa(0x8c)](_0xdf4d46,_0x2eb0dd,_0x27e769);}[_0x333750(0x8f)](_0x5675d3,_0x3ae2b6,_0x4620b6){const _0x26fb14=_0x333750,_0x46cf5d=new _0x4620b6(_0x5675d3,this);this[_0x26fb14(0x8c)](_0x5675d3,_0x3ae2b6,_0x46cf5d);}[_0x333750(0x8c)](_0xbca6b4,_0x11ebbc,_0x17ef9d){const _0x1655ba=_0x333750;this[_0x1655ba(0x9e)][_0x1655ba(0x92)](_0xbca6b4,_0x17ef9d),this[_0x1655ba(0xab)][_0x1655ba(0x92)](_0x11ebbc,_0x17ef9d);}}
23
+ function _0x4a68(){const _0x571c36=['SplitOperation','MoveOperation','ForwardDeletingAction','_registerCompressor','set','MarkerOperation','7997958jjqlFC','baseVersion','RootAttributeOperation','decompress-compressor-not-found','6273cBLuzP','UserSelectionAction','10218GqQmHo','getDescriptor','4486146WmdZnl','_protobufFactory','RootOperation','suggestion','AttributeOperation','NoOperation','_compressorById','1135974UVPJBR','length','no-operations-provided','forEach','_getCompressorByName','_registerActionCompressor','CommentMarkerOperation','types','RenameOperation','SuggestionMarkerOperation','695PIfCWe','InsertOperation','_registerOperationCompressor','__className','decompress','1518744vJNrCb','DeletingAction','MergeOperation','TypingAction','get','compress','3618008FBpsfg','_compressorByName','246AFqRjF','comment'];_0x4a68=function(){return _0x571c36;};return _0x4a68();}const _0x42cd51=_0x3a9a;(function(_0x1aabd0,_0x4764cc){const _0x5bc917=_0x3a9a,_0x8a2f04=_0x1aabd0();while(!![]){try{const _0x198f14=-parseInt(_0x5bc917(0xd3))/0x1*(parseInt(_0x5bc917(0xc7))/0x2)+parseInt(_0x5bc917(0xde))/0x3+parseInt(_0x5bc917(0xbf))/0x4+parseInt(_0x5bc917(0xba))/0x5*(-parseInt(_0x5bc917(0xd5))/0x6)+-parseInt(_0x5bc917(0xd7))/0x7+parseInt(_0x5bc917(0xc5))/0x8+parseInt(_0x5bc917(0xcf))/0x9;if(_0x198f14===_0x4764cc)break;else _0x8a2f04['push'](_0x8a2f04['shift']());}catch(_0x1e04fc){_0x8a2f04['push'](_0x8a2f04['shift']());}}}(_0x4a68,0x6de23));function _0x3a9a(_0x272b08,_0x26e361){const _0x4a685a=_0x4a68();return _0x3a9a=function(_0x3a9af1,_0x4a578a){_0x3a9af1=_0x3a9af1-0xb2;let _0x24d6e0=_0x4a685a[_0x3a9af1];return _0x24d6e0;},_0x3a9a(_0x272b08,_0x26e361);}import{CKEditorError as _0x210c3b}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4e7c69}from'./protobuffactory.js';import{OperationCompressor as _0x45392b}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0xeee69c}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x412144}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x412544}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x41b965}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x1a28a4}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x3a05e1}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x1a52a7}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x26778a}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0xc3d8c}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x42cd51(0xdd)];[_0x42cd51(0xc6)];[_0x42cd51(0xd8)];constructor(){const _0x3dcee7=_0x42cd51;this[_0x3dcee7(0xdd)]=new Map(),this[_0x3dcee7(0xc6)]=new Map(),this[_0x3dcee7(0xd8)]=new _0x4e7c69();const _0x139242=this[_0x3dcee7(0xd8)][_0x3dcee7(0xd6)](_0x3dcee7(0xce));this[_0x3dcee7(0xcc)](0x1,_0x3dcee7(0xdc),new _0x41b965(0x1,_0x3dcee7(0xdc),void 0x0)),this[_0x3dcee7(0xbc)](0xa,_0x3dcee7(0xdb),_0xeee69c),this[_0x3dcee7(0xbc)](0xb,_0x3dcee7(0xbb),_0x412144),this[_0x3dcee7(0xbc)](0xc,_0x3dcee7(0xce),_0x412544),this[_0x3dcee7(0xbc)](0xd,_0x3dcee7(0xc1),_0x45392b),this[_0x3dcee7(0xbc)](0xe,_0x3dcee7(0xca),_0x45392b),this[_0x3dcee7(0xbc)](0xf,_0x3dcee7(0xb8),_0x45392b),this[_0x3dcee7(0xbc)](0x10,_0x3dcee7(0xd1),_0xeee69c),this[_0x3dcee7(0xbc)](0x11,_0x3dcee7(0xc9),_0x45392b),this[_0x3dcee7(0xcc)](0x12,_0x3dcee7(0xb6),new _0x1a28a4(0x12,_0x3dcee7(0xce),_0x139242,_0x3dcee7(0xc8))),this[_0x3dcee7(0xcc)](0x13,_0x3dcee7(0xb9),new _0x1a28a4(0x13,_0x3dcee7(0xce),_0x139242,_0x3dcee7(0xda))),this[_0x3dcee7(0xbc)](0x14,_0x3dcee7(0xd9),_0x45392b),this[_0x3dcee7(0xb5)](0x64,_0x3dcee7(0xc2),_0x3a05e1),this[_0x3dcee7(0xb5)](0x65,_0x3dcee7(0xc0),_0x1a52a7),this[_0x3dcee7(0xb5)](0x66,_0x3dcee7(0xcb),_0x26778a),this[_0x3dcee7(0xb5)](0x67,_0x3dcee7(0xd4),_0xc3d8c);}[_0x42cd51(0xc4)](_0x4719e3){const _0x5e17d6=_0x42cd51;if(!_0x4719e3||!_0x4719e3[0x0])throw new _0x210c3b(_0x5e17d6(0xb2),this);const _0x16252e={'types':[],'buffers':[],'baseVersion':_0x4719e3[0x0][_0x5e17d6(0xd0)]};for(;_0x4719e3[_0x5e17d6(0xdf)];)this[_0x5e17d6(0xb4)](_0x5e17d6(0xd4))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xc2))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xc0))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xcb))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xb6))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x5e17d6(0xb9))[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3)||this[_0x5e17d6(0xb4)](_0x4719e3[0x0][_0x5e17d6(0xbd)])[_0x5e17d6(0xc4)](_0x16252e,_0x4719e3);return _0x16252e;}[_0x42cd51(0xbe)](_0x5e6d7b){const _0x55cd69=_0x42cd51,_0x19bbb8=[];for(;_0x5e6d7b[_0x55cd69(0xb7)][_0x55cd69(0xdf)];){const _0x1b05db=this[_0x55cd69(0xdd)][_0x55cd69(0xc3)](_0x5e6d7b[_0x55cd69(0xb7)][0x0]);if(!_0x1b05db)throw new _0x210c3b(_0x55cd69(0xd2),this,{'type':_0x5e6d7b[_0x55cd69(0xb7)][0x0]});_0x1b05db[_0x55cd69(0xbe)](_0x19bbb8,_0x5e6d7b);}return _0x19bbb8[_0x55cd69(0xb3)]((_0x2e9dc4,_0x2e32b7)=>_0x2e9dc4[_0x55cd69(0xd0)]=_0x5e6d7b[_0x55cd69(0xd0)]+_0x2e32b7),_0x19bbb8;}[_0x42cd51(0xb4)](_0x4b25bc){const _0x37fdb1=_0x42cd51;return this[_0x37fdb1(0xc6)][_0x37fdb1(0xc3)](_0x4b25bc);}[_0x42cd51(0xbc)](_0x16910a,_0x3b585b,_0x3cae10){const _0x69e1a4=_0x42cd51,_0x37ab7b=new _0x3cae10(_0x16910a,_0x3b585b,this[_0x69e1a4(0xd8)][_0x69e1a4(0xd6)](_0x3b585b));this[_0x69e1a4(0xcc)](_0x16910a,_0x3b585b,_0x37ab7b);}[_0x42cd51(0xb5)](_0x2ec112,_0x3e22aa,_0x2daab5){const _0x1b498b=_0x42cd51,_0x447d99=new _0x2daab5(_0x2ec112,this);this[_0x1b498b(0xcc)](_0x2ec112,_0x3e22aa,_0x447d99);}[_0x42cd51(0xcc)](_0x420778,_0x3ccc01,_0x1a5349){const _0x81c53b=_0x42cd51;this[_0x81c53b(0xdd)][_0x81c53b(0xcd)](_0x420778,_0x1a5349),this[_0x81c53b(0xc6)][_0x81c53b(0xcd)](_0x3ccc01,_0x1a5349);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xdfda(_0x5e76d9,_0x5bab9d){var _0x28ad7c=_0x28ad();return _0xdfda=function(_0xdfda29,_0x46be61){_0xdfda29=_0xdfda29-0x158;var _0x158f41=_0x28ad7c[_0xdfda29];return _0x158f41;},_0xdfda(_0x5e76d9,_0x5bab9d);}(function(_0x1c01ae,_0x1c1a79){var _0x4e1197=_0xdfda,_0x18ad09=_0x1c01ae();while(!![]){try{var _0x588215=-parseInt(_0x4e1197(0x15d))/0x1*(parseInt(_0x4e1197(0x15b))/0x2)+parseInt(_0x4e1197(0x15a))/0x3+parseInt(_0x4e1197(0x15e))/0x4+parseInt(_0x4e1197(0x159))/0x5+-parseInt(_0x4e1197(0x158))/0x6+-parseInt(_0x4e1197(0x15c))/0x7+parseInt(_0x4e1197(0x15f))/0x8;if(_0x588215===_0x1c1a79)break;else _0x18ad09['push'](_0x18ad09['shift']());}catch(_0x13efe3){_0x18ad09['push'](_0x18ad09['shift']());}}}(_0x28ad,0x7791a));function _0x28ad(){var _0x4b5698=['5744730oHEaqP','1503255irftpa','1742955dJzYOb','19248dVcbda','2459821qhajMg','88GzQfGP','1969176qQkzuk','10172752OinHgg'];_0x28ad=function(){return _0x4b5698;};return _0x28ad();}export{Compressor}from'./compressor.js';
23
+ function _0x1801(_0x241c7f,_0x1a1e92){var _0x515ed9=_0x515e();return _0x1801=function(_0x1801d5,_0x3a4ff8){_0x1801d5=_0x1801d5-0x1ba;var _0x54ce27=_0x515ed9[_0x1801d5];return _0x54ce27;},_0x1801(_0x241c7f,_0x1a1e92);}(function(_0x32fe2b,_0x9a2e3d){var _0xc83cc8=_0x1801,_0x451cfc=_0x32fe2b();while(!![]){try{var _0x29e143=parseInt(_0xc83cc8(0x1bf))/0x1*(-parseInt(_0xc83cc8(0x1be))/0x2)+parseInt(_0xc83cc8(0x1ba))/0x3*(-parseInt(_0xc83cc8(0x1bb))/0x4)+parseInt(_0xc83cc8(0x1bc))/0x5+-parseInt(_0xc83cc8(0x1c2))/0x6+parseInt(_0xc83cc8(0x1c3))/0x7+parseInt(_0xc83cc8(0x1bd))/0x8+-parseInt(_0xc83cc8(0x1c1))/0x9*(-parseInt(_0xc83cc8(0x1c0))/0xa);if(_0x29e143===_0x9a2e3d)break;else _0x451cfc['push'](_0x451cfc['shift']());}catch(_0x14e0e9){_0x451cfc['push'](_0x451cfc['shift']());}}}(_0x515e,0xd838f));export{Compressor}from'./compressor.js';function _0x515e(){var _0x537f65=['2167638sDJKIR','10050012uJowBC','12UZFOCB','1229596GiyCrv','6089250ZhfKcS','2507728MHndvG','641180efiwGu','5LjwdZi','2980dOduOS','33597wcsDNU'];_0x515e=function(){return _0x537f65;};return _0x515e();}