@ckeditor/ckeditor5-operations-compressor 47.2.0-alpha.5 → 47.2.0-alpha.6

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 _0x4f06be=_0x18ac;function _0x8d1b(){const _0x4ceb18=['487945AHXlBa','4450608qOcpUy','_decompressSingleOperation','10610kixFRp','_checkOperation','wasUndone','54lwysdN','_context','_splitCurrent','_compressSingleOperation','MoveOperation','sourcePosition','decompress','howMany','_compareOperations','__className','137444GYdpPU','18539610Lqauve','buffers','targetPosition','$graveyard','compress','_getCompressorByName','819294xfNSWn','4978392OXLpEO','7cMywVA','_combineNext','root','1194jTeaoZ'];_0x8d1b=function(){return _0x4ceb18;};return _0x8d1b();}(function(_0x22f6c7,_0x550778){const _0x2504fe=_0x18ac,_0x46ae36=_0x22f6c7();while(!![]){try{const _0x5385c6=parseInt(_0x2504fe(0xb8))/0x1+-parseInt(_0x2504fe(0xb2))/0x2+-parseInt(_0x2504fe(0xbe))/0x3*(-parseInt(_0x2504fe(0xab))/0x4)+-parseInt(_0x2504fe(0xbb))/0x5*(-parseInt(_0x2504fe(0xb7))/0x6)+parseInt(_0x2504fe(0xb4))/0x7*(parseInt(_0x2504fe(0xb3))/0x8)+parseInt(_0x2504fe(0xb9))/0x9+-parseInt(_0x2504fe(0xac))/0xa;if(_0x5385c6===_0x550778)break;else _0x46ae36['push'](_0x46ae36['shift']());}catch(_0x4ba4c2){_0x46ae36['push'](_0x46ae36['shift']());}}}(_0x8d1b,0x5d3e4));function _0x18ac(_0x4250fd,_0x4e3a60){const _0x8d1bba=_0x8d1b();return _0x18ac=function(_0x18ac25,_0x5760ba){_0x18ac25=_0x18ac25-0xa2;let _0x4add31=_0x8d1bba[_0x18ac25];return _0x4add31;},_0x18ac(_0x4250fd,_0x4e3a60);}import{ActionCompressor as _0x4e4b5a}from'./actioncompressor.js';import{arePositionsEqual as _0x12fff2,getPositionShiftedBy as _0x14ec48}from'../utils.js';import{cloneDeep as _0x4db315}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x4e4b5a{[_0x4f06be(0xb5)](_0x38f2af,_0x57e904){const _0x36a280=_0x4f06be;return _0x57e904[_0x36a280(0xa8)]++,_0x57e904[_0x36a280(0xa6)]=_0x4db315(_0x38f2af[_0x36a280(0xa6)]),_0x57e904;}[_0x4f06be(0xa3)](_0x393e8c){const _0x90e742=_0x4f06be,_0x1d6526=_0x4db315(_0x393e8c);return _0x393e8c[_0x90e742(0xa8)]--,_0x1d6526[_0x90e742(0xa8)]=0x1,_0x1d6526[_0x90e742(0xa6)]=_0x14ec48(_0x1d6526[_0x90e742(0xa6)],_0x393e8c[_0x90e742(0xa8)]),_0x1d6526;}[_0x4f06be(0xa9)](_0x5df776,_0x4e579f){const _0x490550=_0x4f06be;return!(!this[_0x490550(0xbc)](_0x5df776)||!this[_0x490550(0xbc)](_0x4e579f))&&(_0x12fff2(_0x14ec48(_0x5df776[_0x490550(0xa6)],-0x1),_0x4e579f[_0x490550(0xa6)])&&_0x12fff2(_0x5df776[_0x490550(0xae)],_0x4e579f[_0x490550(0xae)]));}[_0x4f06be(0xa4)](_0x3f95c8){const _0x48b06a=_0x4f06be,_0x5d2f9c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x48b06a(0xa2)][_0x48b06a(0xb1)](_0x48b06a(0xa5))[_0x48b06a(0xb0)](_0x5d2f9c,[_0x3f95c8]),_0x5d2f9c[_0x48b06a(0xad)][0x0];}[_0x4f06be(0xba)](_0x2a7815){const _0x25caf1=_0x4f06be,_0xefacf0=[];return this[_0x25caf1(0xa2)][_0x25caf1(0xb1)](_0x25caf1(0xa5))[_0x25caf1(0xa7)](_0xefacf0,_0x2a7815),_0xefacf0[0x0];}[_0x4f06be(0xbc)](_0x172fbc){const _0x1ef769=_0x4f06be;return _0x1ef769(0xa5)==_0x172fbc[_0x1ef769(0xaa)]&&_0x1ef769(0xaf)==_0x172fbc[_0x1ef769(0xae)][_0x1ef769(0xb6)]&&0x1==_0x172fbc[_0x1ef769(0xa8)]&&!_0x172fbc[_0x1ef769(0xbd)];}}
23
+ const _0x5a70cf=_0x441a;(function(_0x357101,_0x42238f){const _0x2fa905=_0x441a,_0xfdbe5f=_0x357101();while(!![]){try{const _0x4f8e16=parseInt(_0x2fa905(0x203))/0x1*(parseInt(_0x2fa905(0x1fb))/0x2)+parseInt(_0x2fa905(0x201))/0x3+parseInt(_0x2fa905(0x1e8))/0x4+-parseInt(_0x2fa905(0x1ed))/0x5*(parseInt(_0x2fa905(0x202))/0x6)+parseInt(_0x2fa905(0x1f3))/0x7*(parseInt(_0x2fa905(0x1f4))/0x8)+-parseInt(_0x2fa905(0x1f5))/0x9*(parseInt(_0x2fa905(0x1ea))/0xa)+parseInt(_0x2fa905(0x1f9))/0xb;if(_0x4f8e16===_0x42238f)break;else _0xfdbe5f['push'](_0xfdbe5f['shift']());}catch(_0x1be136){_0xfdbe5f['push'](_0xfdbe5f['shift']());}}}(_0x5245,0xd2a71));function _0x441a(_0x32564c,_0x39f3bb){const _0x524596=_0x5245();return _0x441a=function(_0x441aaa,_0x3fde2c){_0x441aaa=_0x441aaa-0x1e8;let _0x460a50=_0x524596[_0x441aaa];return _0x460a50;},_0x441a(_0x32564c,_0x39f3bb);}import{ActionCompressor as _0x5e34a3}from'./actioncompressor.js';import{arePositionsEqual as _0x4f2595,getPositionShiftedBy as _0x571efc}from'../utils.js';import{cloneDeep as _0x3fb6c0}from'es-toolkit/compat';function _0x5245(){const _0x1be035=['_splitCurrent','howMany','150695SPEnhs','$graveyard','buffers','decompress','MoveOperation','__className','33509RkdErX','216iKdMxW','9iXQGUx','wasUndone','_decompressSingleOperation','compress','27449169ymcDEO','_compareOperations','954502eCdZcn','sourcePosition','_compressSingleOperation','root','_combineNext','targetPosition','1195524nrHhxF','306DXUFVK','1JfWYOH','_getCompressorByName','_checkOperation','442424scKVKU','_context','12110710IzgCMy'];_0x5245=function(){return _0x1be035;};return _0x5245();}export class DeletingActionCompressor extends _0x5e34a3{[_0x5a70cf(0x1ff)](_0x3052c0,_0xafb49b){const _0x3d4f58=_0x5a70cf;return _0xafb49b[_0x3d4f58(0x1ec)]++,_0xafb49b[_0x3d4f58(0x1fc)]=_0x3fb6c0(_0x3052c0[_0x3d4f58(0x1fc)]),_0xafb49b;}[_0x5a70cf(0x1eb)](_0x106cd9){const _0x242535=_0x5a70cf,_0x514ef8=_0x3fb6c0(_0x106cd9);return _0x106cd9[_0x242535(0x1ec)]--,_0x514ef8[_0x242535(0x1ec)]=0x1,_0x514ef8[_0x242535(0x1fc)]=_0x571efc(_0x514ef8[_0x242535(0x1fc)],_0x106cd9[_0x242535(0x1ec)]),_0x514ef8;}[_0x5a70cf(0x1fa)](_0x3f0be8,_0x1cb5f3){const _0xb68074=_0x5a70cf;return!(!this[_0xb68074(0x205)](_0x3f0be8)||!this[_0xb68074(0x205)](_0x1cb5f3))&&(_0x4f2595(_0x571efc(_0x3f0be8[_0xb68074(0x1fc)],-0x1),_0x1cb5f3[_0xb68074(0x1fc)])&&_0x4f2595(_0x3f0be8[_0xb68074(0x200)],_0x1cb5f3[_0xb68074(0x200)]));}[_0x5a70cf(0x1fd)](_0x3c197f){const _0x30a088=_0x5a70cf,_0x2514fc={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x30a088(0x1e9)][_0x30a088(0x204)](_0x30a088(0x1f1))[_0x30a088(0x1f8)](_0x2514fc,[_0x3c197f]),_0x2514fc[_0x30a088(0x1ef)][0x0];}[_0x5a70cf(0x1f7)](_0x141cab){const _0x495fc4=_0x5a70cf,_0x5be283=[];return this[_0x495fc4(0x1e9)][_0x495fc4(0x204)](_0x495fc4(0x1f1))[_0x495fc4(0x1f0)](_0x5be283,_0x141cab),_0x5be283[0x0];}[_0x5a70cf(0x205)](_0x2790b0){const _0x1f92e0=_0x5a70cf;return _0x1f92e0(0x1f1)==_0x2790b0[_0x1f92e0(0x1f2)]&&_0x1f92e0(0x1ee)==_0x2790b0[_0x1f92e0(0x200)][_0x1f92e0(0x1fe)]&&0x1==_0x2790b0[_0x1f92e0(0x1ec)]&&!_0x2790b0[_0x1f92e0(0x1f6)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5668(_0x5f32db,_0xdc8c3e){const _0x5bc105=_0x5bc1();return _0x5668=function(_0x566884,_0x4f31d9){_0x566884=_0x566884-0x1bb;let _0x164926=_0x5bc105[_0x566884];return _0x164926;},_0x5668(_0x5f32db,_0xdc8c3e);}const _0x10e506=_0x5668;(function(_0x225643,_0x2b020f){const _0x52a291=_0x5668,_0x20cf38=_0x225643();while(!![]){try{const _0x57a3cb=-parseInt(_0x52a291(0x1cc))/0x1+parseInt(_0x52a291(0x1c7))/0x2+parseInt(_0x52a291(0x1bf))/0x3*(-parseInt(_0x52a291(0x1c9))/0x4)+-parseInt(_0x52a291(0x1d3))/0x5+-parseInt(_0x52a291(0x1d5))/0x6+-parseInt(_0x52a291(0x1cd))/0x7+-parseInt(_0x52a291(0x1c4))/0x8*(-parseInt(_0x52a291(0x1c5))/0x9);if(_0x57a3cb===_0x2b020f)break;else _0x20cf38['push'](_0x20cf38['shift']());}catch(_0xb42706){_0x20cf38['push'](_0x20cf38['shift']());}}}(_0x5bc1,0x574b1));function _0x5bc1(){const _0x55a5eb=['howMany','3223110XWOgGK','buffers','2300370dtDUfv','_getCompressorByName','_splitCurrent','_decompressSingleOperation','root','$graveyard','21djEMWU','compress','MoveOperation','sourcePosition','_combineNext','8bGlipx','20877669SHlbIC','__className','938254fUThld','_compareOperations','137044HPCSKp','_compressSingleOperation','_context','566063SFlNka','4181856wSTQfp','_checkOperation','decompress','wasUndone','targetPosition'];_0x5bc1=function(){return _0x55a5eb;};return _0x5bc1();}import{ActionCompressor as _0x33b891}from'./actioncompressor.js';import{arePositionsEqual as _0x29bb99}from'../utils.js';import{cloneDeep as _0x35db49}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x33b891{[_0x10e506(0x1c3)](_0x1f2045,_0x3a10d5){const _0x3f1381=_0x10e506;return _0x3a10d5[_0x3f1381(0x1d2)]++,_0x3a10d5;}[_0x10e506(0x1bb)](_0x12806f){const _0x2e2c7e=_0x10e506,_0x17b0f1=_0x35db49(_0x12806f);return _0x17b0f1[_0x2e2c7e(0x1d2)]=0x1,_0x12806f[_0x2e2c7e(0x1d2)]--,_0x17b0f1;}[_0x10e506(0x1c8)](_0xb01606,_0x5ab5d4){const _0x26db7d=_0x10e506;return!(!this[_0x26db7d(0x1ce)](_0xb01606)||!this[_0x26db7d(0x1ce)](_0x5ab5d4))&&(_0x29bb99(_0xb01606[_0x26db7d(0x1c2)],_0x5ab5d4[_0x26db7d(0x1c2)])&&_0x29bb99(_0xb01606[_0x26db7d(0x1d1)],_0x5ab5d4[_0x26db7d(0x1d1)]));}[_0x10e506(0x1ca)](_0xedd20b){const _0x2cf91e=_0x10e506,_0x26777b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2cf91e(0x1cb)][_0x2cf91e(0x1d6)](_0x2cf91e(0x1c1))[_0x2cf91e(0x1c0)](_0x26777b,[_0xedd20b]),_0x26777b[_0x2cf91e(0x1d4)][0x0];}[_0x10e506(0x1bc)](_0x552d77){const _0x192432=_0x10e506,_0x4c9508=[];return this[_0x192432(0x1cb)][_0x192432(0x1d6)](_0x192432(0x1c1))[_0x192432(0x1cf)](_0x4c9508,_0x552d77),_0x4c9508[0x0];}[_0x10e506(0x1ce)](_0x129b4c){const _0x71adc9=_0x10e506;return _0x71adc9(0x1c1)==_0x129b4c[_0x71adc9(0x1c6)]&&_0x71adc9(0x1be)==_0x129b4c[_0x71adc9(0x1d1)][_0x71adc9(0x1bd)]&&0x1==_0x129b4c[_0x71adc9(0x1d2)]&&!_0x129b4c[_0x71adc9(0x1d0)];}}
23
+ const _0x59aa03=_0x2d96;(function(_0x1465d8,_0x314800){const _0x42ccde=_0x2d96,_0x4b7c3f=_0x1465d8();while(!![]){try{const _0x127451=parseInt(_0x42ccde(0x11f))/0x1+-parseInt(_0x42ccde(0x11a))/0x2+parseInt(_0x42ccde(0x119))/0x3*(parseInt(_0x42ccde(0x128))/0x4)+parseInt(_0x42ccde(0x121))/0x5*(-parseInt(_0x42ccde(0x131))/0x6)+-parseInt(_0x42ccde(0x129))/0x7+-parseInt(_0x42ccde(0x133))/0x8*(-parseInt(_0x42ccde(0x130))/0x9)+-parseInt(_0x42ccde(0x132))/0xa;if(_0x127451===_0x314800)break;else _0x4b7c3f['push'](_0x4b7c3f['shift']());}catch(_0x13d0a){_0x4b7c3f['push'](_0x4b7c3f['shift']());}}}(_0x1705,0x91b46));function _0x2d96(_0x36a6b9,_0x468ebd){const _0x170558=_0x1705();return _0x2d96=function(_0x2d9647,_0x50e83d){_0x2d9647=_0x2d9647-0x118;let _0x1ab920=_0x170558[_0x2d9647];return _0x1ab920;},_0x2d96(_0x36a6b9,_0x468ebd);}import{ActionCompressor as _0x24e711}from'./actioncompressor.js';import{arePositionsEqual as _0x5da1ca}from'../utils.js';import{cloneDeep as _0x4db9fa}from'es-toolkit/compat';function _0x1705(){const _0x3e1fd9=['180117GrXrLZ','_checkOperation','decompress','_compressSingleOperation','root','sourcePosition','_context','9314559HnaXkW','42IGStaG','1890690lHJXxk','8HPiHGo','_getCompressorByName','howMany','6nojcEx','1302578VAERyI','$graveyard','_decompressSingleOperation','_compareOperations','compress','162625eVnVlm','__className','264445YFUcgK','MoveOperation','wasUndone','targetPosition','_splitCurrent','_combineNext','buffers','1271084Vdqwga'];_0x1705=function(){return _0x3e1fd9;};return _0x1705();}export class ForwardDeletingActionCompressor extends _0x24e711{[_0x59aa03(0x126)](_0x2d2f3d,_0x112be1){const _0x35282d=_0x59aa03;return _0x112be1[_0x35282d(0x118)]++,_0x112be1;}[_0x59aa03(0x125)](_0x4b4b48){const _0x27b388=_0x59aa03,_0x161458=_0x4db9fa(_0x4b4b48);return _0x161458[_0x27b388(0x118)]=0x1,_0x4b4b48[_0x27b388(0x118)]--,_0x161458;}[_0x59aa03(0x11d)](_0x3c04b9,_0x44bc6d){const _0x59f3f3=_0x59aa03;return!(!this[_0x59f3f3(0x12a)](_0x3c04b9)||!this[_0x59f3f3(0x12a)](_0x44bc6d))&&(_0x5da1ca(_0x3c04b9[_0x59f3f3(0x12e)],_0x44bc6d[_0x59f3f3(0x12e)])&&_0x5da1ca(_0x3c04b9[_0x59f3f3(0x124)],_0x44bc6d[_0x59f3f3(0x124)]));}[_0x59aa03(0x12c)](_0xc9a44c){const _0x2996b4=_0x59aa03,_0x546ab4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2996b4(0x12f)][_0x2996b4(0x134)](_0x2996b4(0x122))[_0x2996b4(0x11e)](_0x546ab4,[_0xc9a44c]),_0x546ab4[_0x2996b4(0x127)][0x0];}[_0x59aa03(0x11c)](_0x32e93c){const _0x29a91c=_0x59aa03,_0x387839=[];return this[_0x29a91c(0x12f)][_0x29a91c(0x134)](_0x29a91c(0x122))[_0x29a91c(0x12b)](_0x387839,_0x32e93c),_0x387839[0x0];}[_0x59aa03(0x12a)](_0x343958){const _0x26cf39=_0x59aa03;return _0x26cf39(0x122)==_0x343958[_0x26cf39(0x120)]&&_0x26cf39(0x11b)==_0x343958[_0x26cf39(0x124)][_0x26cf39(0x12d)]&&0x1==_0x343958[_0x26cf39(0x118)]&&!_0x343958[_0x26cf39(0x123)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x456969=_0xa385;(function(_0x63a1d6,_0x1f5d6a){const _0x488e6d=_0xa385,_0x13d4da=_0x63a1d6();while(!![]){try{const _0x36fd3b=parseInt(_0x488e6d(0x90))/0x1+parseInt(_0x488e6d(0xa6))/0x2+-parseInt(_0x488e6d(0x9a))/0x3*(-parseInt(_0x488e6d(0x9b))/0x4)+-parseInt(_0x488e6d(0xa3))/0x5+parseInt(_0x488e6d(0xa1))/0x6*(-parseInt(_0x488e6d(0xa4))/0x7)+parseInt(_0x488e6d(0x8e))/0x8+-parseInt(_0x488e6d(0x95))/0x9*(parseInt(_0x488e6d(0x8c))/0xa);if(_0x36fd3b===_0x1f5d6a)break;else _0x13d4da['push'](_0x13d4da['shift']());}catch(_0x5355c8){_0x13d4da['push'](_0x13d4da['shift']());}}}(_0x1ae3,0xc8738));import{ActionCompressor as _0x44fd08}from'./actioncompressor.js';function _0xa385(_0x52e7bf,_0x26efc4){const _0x1ae385=_0x1ae3();return _0xa385=function(_0xa38512,_0x2dc040){_0xa38512=_0xa38512-0x89;let _0x21eec8=_0x1ae385[_0xa38512];return _0x21eec8;},_0xa385(_0x52e7bf,_0x26efc4);}import{arePositionsEqual as _0x529da1,getPositionShiftedBy as _0x4c46f}from'../utils.js';import{cloneDeep as _0x27dcf2}from'es-toolkit/compat';function _0x1ae3(){const _0x495960=['length','position','iterator','next','10JdRqkG','value','12838824bSHyAB','InsertOperation','1233308iCqQXk','_decompressSingleOperation','nodes','__className','compress','14659893gMRXub','buffers','from','_combineNext','every','339LLbCHF','55068EnqGfn','_compressSingleOperation','keys','attributes','_splitCurrent','_context','222jIqGtM','_getCompressorByName','4189120NYysPX','241969RczJhI','_compareOperations','345792IGcEWK','_compareAttributes','decompress','data','substr','_checkOperation','wasUndone'];_0x1ae3=function(){return _0x495960;};return _0x1ae3();}export class TypingActionCompressor extends _0x44fd08{[_0x456969(0x98)](_0x46afd6,_0x249bcc){const _0x4ea055=_0x456969;return _0x249bcc[_0x4ea055(0x92)][0x0][_0x4ea055(0xa9)]+=_0x46afd6[_0x4ea055(0x92)][0x0][_0x4ea055(0xa9)],_0x249bcc;}[_0x456969(0x9f)](_0x3a483c){const _0x266927=_0x456969,_0x211590=_0x27dcf2(_0x3a483c),_0x19801b=_0x211590[_0x266927(0x92)][0x0],_0x5a471b=_0x3a483c[_0x266927(0x92)][0x0],_0x135ed4=_0x5a471b[_0x266927(0xa9)][Symbol[_0x266927(0x8a)]]()[_0x266927(0x8b)]()[_0x266927(0x8d)],_0x556d3c=_0x135ed4[_0x266927(0xad)];return _0x19801b[_0x266927(0xa9)]=_0x135ed4,_0x5a471b[_0x266927(0xa9)]=_0x5a471b[_0x266927(0xa9)][_0x266927(0xaa)](_0x556d3c),_0x3a483c[_0x266927(0x89)]=_0x4c46f(_0x3a483c[_0x266927(0x89)],_0x556d3c),_0x211590;}[_0x456969(0xa5)](_0xc782ce,_0x5912ea){const _0x191bf8=_0x456969;if(this[_0x191bf8(0xab)](_0xc782ce)&&this[_0x191bf8(0xab)](_0x5912ea)){const _0xdaea31=_0xc782ce[_0x191bf8(0x92)][0x0][_0x191bf8(0xa9)][_0x191bf8(0xad)],_0xc6d19=_0x529da1(_0x4c46f(_0xc782ce[_0x191bf8(0x89)],_0xdaea31),_0x5912ea[_0x191bf8(0x89)]),_0x289bf4=_0xc782ce[_0x191bf8(0x92)][0x0],_0x5545b7=_0x5912ea[_0x191bf8(0x92)][0x0];return _0xc6d19&&this[_0x191bf8(0xa7)](_0x289bf4,_0x5545b7);}return!0x1;}[_0x456969(0x9c)](_0x89d774){const _0x51c715=_0x456969,_0x3604d6={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x51c715(0xa0)][_0x51c715(0xa2)](_0x51c715(0x8f))[_0x51c715(0x94)](_0x3604d6,[_0x89d774]),_0x3604d6[_0x51c715(0x96)][0x0];}[_0x456969(0x91)](_0x514715){const _0x3d5e26=_0x456969,_0xa92997=[];return this[_0x3d5e26(0xa0)][_0x3d5e26(0xa2)](_0x3d5e26(0x8f))[_0x3d5e26(0xa8)](_0xa92997,_0x514715),_0xa92997[0x0];}[_0x456969(0xab)](_0x190dfd){const _0x58092c=_0x456969;return _0x58092c(0x8f)==_0x190dfd[_0x58092c(0x93)]&&0x1==_0x190dfd[_0x58092c(0x92)][_0x58092c(0xad)]&&_0x190dfd[_0x58092c(0x92)][0x0][_0x58092c(0xa9)]&&!_0x190dfd[_0x58092c(0xac)]&&0x1==Array[_0x58092c(0x97)](_0x190dfd[_0x58092c(0x92)][0x0][_0x58092c(0xa9)])[_0x58092c(0xad)];}[_0x456969(0xa7)](_0x2c9606,_0x32f0e3){const _0x3f6475=_0x456969,_0x55d872=Object[_0x3f6475(0x9d)](_0x2c9606[_0x3f6475(0x9e)]||{}),_0x21596b=Object[_0x3f6475(0x9d)](_0x32f0e3[_0x3f6475(0x9e)]||{});return _0x55d872[_0x3f6475(0xad)]===_0x21596b[_0x3f6475(0xad)]&&_0x55d872[_0x3f6475(0x99)](_0x5d01d3=>_0x32f0e3[_0x3f6475(0x9e)][_0x5d01d3]&&_0x32f0e3[_0x3f6475(0x9e)][_0x5d01d3]===_0x2c9606[_0x3f6475(0x9e)][_0x5d01d3]);}}
23
+ function _0xb215(_0x57266a,_0x4d497c){const _0x239c27=_0x239c();return _0xb215=function(_0xb215e7,_0x53896c){_0xb215e7=_0xb215e7-0xd2;let _0x3c9a1f=_0x239c27[_0xb215e7];return _0x3c9a1f;},_0xb215(_0x57266a,_0x4d497c);}const _0x3f886c=_0xb215;(function(_0x597b4a,_0x759dfe){const _0x54fee6=_0xb215,_0x29e4da=_0x597b4a();while(!![]){try{const _0x127b27=-parseInt(_0x54fee6(0xd6))/0x1*(parseInt(_0x54fee6(0xe5))/0x2)+parseInt(_0x54fee6(0xf4))/0x3+-parseInt(_0x54fee6(0xd9))/0x4+parseInt(_0x54fee6(0xe9))/0x5+parseInt(_0x54fee6(0xf2))/0x6*(parseInt(_0x54fee6(0xe2))/0x7)+parseInt(_0x54fee6(0xdf))/0x8+-parseInt(_0x54fee6(0xe4))/0x9*(parseInt(_0x54fee6(0xda))/0xa);if(_0x127b27===_0x759dfe)break;else _0x29e4da['push'](_0x29e4da['shift']());}catch(_0x78ebe6){_0x29e4da['push'](_0x29e4da['shift']());}}}(_0x239c,0xeefa5));function _0x239c(){const _0x4755bf=['every','keys','nodes','_compressSingleOperation','next','_checkOperation','1301304vAHCiS','length','decompress','7360452lHcRWm','680Ixfees','substr','data','_context','_compareAttributes','6395760AVmvWA','InsertOperation','attributes','8635158GXFYPg','compress','19377wUzpVj','2yFzZls','iterator','value','position','9015870ZMtdDr','_combineNext','__className','_compareOperations','buffers','_splitCurrent','_getCompressorByName','_decompressSingleOperation','from','6IyDfzW','wasUndone','1291308Jsibxd'];_0x239c=function(){return _0x4755bf;};return _0x239c();}import{ActionCompressor as _0x75528a}from'./actioncompressor.js';import{arePositionsEqual as _0x23dae6,getPositionShiftedBy as _0x386747}from'../utils.js';import{cloneDeep as _0x2d7dff}from'es-toolkit/compat';export class TypingActionCompressor extends _0x75528a{[_0x3f886c(0xea)](_0x379a5e,_0x36cd39){const _0x1db0a3=_0x3f886c;return _0x36cd39[_0x1db0a3(0xd2)][0x0][_0x1db0a3(0xdc)]+=_0x379a5e[_0x1db0a3(0xd2)][0x0][_0x1db0a3(0xdc)],_0x36cd39;}[_0x3f886c(0xee)](_0x1a5095){const _0x5654a3=_0x3f886c,_0x1a78c2=_0x2d7dff(_0x1a5095),_0x40edbc=_0x1a78c2[_0x5654a3(0xd2)][0x0],_0x21b661=_0x1a5095[_0x5654a3(0xd2)][0x0],_0x48cec1=_0x21b661[_0x5654a3(0xdc)][Symbol[_0x5654a3(0xe6)]]()[_0x5654a3(0xd4)]()[_0x5654a3(0xe7)],_0x4f8b51=_0x48cec1[_0x5654a3(0xd7)];return _0x40edbc[_0x5654a3(0xdc)]=_0x48cec1,_0x21b661[_0x5654a3(0xdc)]=_0x21b661[_0x5654a3(0xdc)][_0x5654a3(0xdb)](_0x4f8b51),_0x1a5095[_0x5654a3(0xe8)]=_0x386747(_0x1a5095[_0x5654a3(0xe8)],_0x4f8b51),_0x1a78c2;}[_0x3f886c(0xec)](_0x6658ae,_0xfb3e25){const _0x4ee2df=_0x3f886c;if(this[_0x4ee2df(0xd5)](_0x6658ae)&&this[_0x4ee2df(0xd5)](_0xfb3e25)){const _0x20e6b4=_0x6658ae[_0x4ee2df(0xd2)][0x0][_0x4ee2df(0xdc)][_0x4ee2df(0xd7)],_0x2b6cde=_0x23dae6(_0x386747(_0x6658ae[_0x4ee2df(0xe8)],_0x20e6b4),_0xfb3e25[_0x4ee2df(0xe8)]),_0x1d76b9=_0x6658ae[_0x4ee2df(0xd2)][0x0],_0xd38564=_0xfb3e25[_0x4ee2df(0xd2)][0x0];return _0x2b6cde&&this[_0x4ee2df(0xde)](_0x1d76b9,_0xd38564);}return!0x1;}[_0x3f886c(0xd3)](_0x1b3f6b){const _0x4e5868=_0x3f886c,_0x54fdd8={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4e5868(0xdd)][_0x4e5868(0xef)](_0x4e5868(0xe0))[_0x4e5868(0xe3)](_0x54fdd8,[_0x1b3f6b]),_0x54fdd8[_0x4e5868(0xed)][0x0];}[_0x3f886c(0xf0)](_0x491566){const _0x1f50a3=_0x3f886c,_0x4ff579=[];return this[_0x1f50a3(0xdd)][_0x1f50a3(0xef)](_0x1f50a3(0xe0))[_0x1f50a3(0xd8)](_0x4ff579,_0x491566),_0x4ff579[0x0];}[_0x3f886c(0xd5)](_0x20b113){const _0x7662bd=_0x3f886c;return _0x7662bd(0xe0)==_0x20b113[_0x7662bd(0xeb)]&&0x1==_0x20b113[_0x7662bd(0xd2)][_0x7662bd(0xd7)]&&_0x20b113[_0x7662bd(0xd2)][0x0][_0x7662bd(0xdc)]&&!_0x20b113[_0x7662bd(0xf3)]&&0x1==Array[_0x7662bd(0xf1)](_0x20b113[_0x7662bd(0xd2)][0x0][_0x7662bd(0xdc)])[_0x7662bd(0xd7)];}[_0x3f886c(0xde)](_0x3822b4,_0x529f2e){const _0x5ecb0c=_0x3f886c,_0x434ecd=Object[_0x5ecb0c(0xf6)](_0x3822b4[_0x5ecb0c(0xe1)]||{}),_0x1fc521=Object[_0x5ecb0c(0xf6)](_0x529f2e[_0x5ecb0c(0xe1)]||{});return _0x434ecd[_0x5ecb0c(0xd7)]===_0x1fc521[_0x5ecb0c(0xd7)]&&_0x434ecd[_0x5ecb0c(0xf5)](_0x47f6a5=>_0x529f2e[_0x5ecb0c(0xe1)][_0x47f6a5]&&_0x529f2e[_0x5ecb0c(0xe1)][_0x47f6a5]===_0x3822b4[_0x5ecb0c(0xe1)][_0x47f6a5]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33ecca=_0x37a3;(function(_0x2bebbf,_0x52f923){const _0x52426b=_0x37a3,_0x432642=_0x2bebbf();while(!![]){try{const _0x109f8c=-parseInt(_0x52426b(0xd3))/0x1*(parseInt(_0x52426b(0xcf))/0x2)+parseInt(_0x52426b(0xc7))/0x3*(-parseInt(_0x52426b(0xd4))/0x4)+-parseInt(_0x52426b(0xc5))/0x5+parseInt(_0x52426b(0xe0))/0x6+parseInt(_0x52426b(0xc9))/0x7+-parseInt(_0x52426b(0xe2))/0x8*(parseInt(_0x52426b(0xdd))/0x9)+parseInt(_0x52426b(0xda))/0xa;if(_0x109f8c===_0x52f923)break;else _0x432642['push'](_0x432642['shift']());}catch(_0x3cd516){_0x432642['push'](_0x432642['shift']());}}}(_0x51a9,0xac85c));import{ActionCompressor as _0x13ef4d}from'./actioncompressor.js';function _0x37a3(_0x28d197,_0x105853){const _0x51a9d3=_0x51a9();return _0x37a3=function(_0x37a317,_0x5c0b70){_0x37a317=_0x37a317-0xc3;let _0x3cfaac=_0x51a9d3[_0x37a317];return _0x3cfaac;},_0x37a3(_0x28d197,_0x105853);}function _0x51a9(){const _0x4620f8=['user:','3612492YcEgio','start','1472ZEjbvu','user:position:','buffers','decompress','toNone','newRange','4966835lakNAE','_context','239775kKXaeq','stickiness','5094054CnUSNW','MarkerOperation','_id','_compareOperations','_decompressSingleOperation','oldRange','673732dEyyFR','_compressSingleOperation','compress','end','4CvuDvN','8tblZCt','__className','split','shift','types','push','30017690FTYBDV','startsWith','_getCompressorByName','54990kNEUyK','name'];_0x51a9=function(){return _0x4620f8;};return _0x51a9();}import{arePositionsEqual as _0x5eaf51}from'../utils.js';import{cloneDeep as _0x4aea1d}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x13ef4d{[_0x33ecca(0xd1)](_0x271cb5,_0x50c17a){const _0x4e2847=_0x33ecca;if(!this[_0x4e2847(0xcc)](_0x50c17a[0x0],_0x50c17a[0x1]))return!0x1;const _0x151058=_0x50c17a[_0x4e2847(0xd7)]();return _0x151058[_0x4e2847(0xce)]=null,_0x151058[_0x4e2847(0xc4)]&&_0x5eaf51(_0x151058[_0x4e2847(0xc4)][_0x4e2847(0xe1)],_0x151058[_0x4e2847(0xc4)][_0x4e2847(0xd2)])&&(_0x151058[_0x4e2847(0xc4)][_0x4e2847(0xd2)]=null),_0x50c17a[_0x4e2847(0xd7)](),_0x271cb5[_0x4e2847(0xd8)][_0x4e2847(0xd9)](this[_0x4e2847(0xcb)]),_0x271cb5[_0x4e2847(0xd8)][_0x4e2847(0xd9)](0x0),_0x271cb5[_0x4e2847(0xe4)][_0x4e2847(0xd9)](this[_0x4e2847(0xd0)](_0x151058)),!0x0;}[_0x33ecca(0xe5)](_0x17855a,_0x2b2ecd){const _0x3eba73=_0x33ecca,_0x196af8=this[_0x3eba73(0xcd)](_0x2b2ecd);_0x196af8[_0x3eba73(0xc4)]&&!_0x196af8[_0x3eba73(0xc4)][_0x3eba73(0xd2)]&&(_0x196af8[_0x3eba73(0xc4)][_0x3eba73(0xd2)]=_0x4aea1d(_0x196af8[_0x3eba73(0xc4)][_0x3eba73(0xe1)]));const _0x222c95=_0x4aea1d(_0x196af8);_0x222c95[_0x3eba73(0xc4)]&&(_0x222c95[_0x3eba73(0xc4)][_0x3eba73(0xe1)][_0x3eba73(0xc8)]=_0x3eba73(0xc3),_0x222c95[_0x3eba73(0xc4)][_0x3eba73(0xd2)]=_0x4aea1d(_0x222c95[_0x3eba73(0xc4)][_0x3eba73(0xe1)])),_0x222c95[_0x3eba73(0xde)]=_0x3eba73(0xe3)+_0x222c95[_0x3eba73(0xde)][_0x3eba73(0xd6)](':')[0x2],_0x2b2ecd[_0x3eba73(0xd8)][_0x3eba73(0xd7)](),_0x17855a[_0x3eba73(0xd9)](_0x196af8),_0x17855a[_0x3eba73(0xd9)](_0x222c95);}[_0x33ecca(0xd0)](_0x1c8399){const _0x3aa1ac=_0x33ecca,_0x17a9b2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3aa1ac(0xc6)][_0x3aa1ac(0xdc)](_0x3aa1ac(0xca))[_0x3aa1ac(0xd1)](_0x17a9b2,[_0x1c8399]),_0x17a9b2[_0x3aa1ac(0xe4)][0x0];}[_0x33ecca(0xcd)](_0xcfe5c7){const _0x2ace12=_0x33ecca,_0x5e3726=[];return this[_0x2ace12(0xc6)][_0x2ace12(0xdc)](_0x2ace12(0xca))[_0x2ace12(0xe5)](_0x5e3726,_0xcfe5c7),_0x5e3726[0x0];}[_0x33ecca(0xcc)](_0x5eadf5,_0x47be8e){const _0x2e91c1=_0x33ecca;return!(!_0x5eadf5||!_0x47be8e)&&(_0x2e91c1(0xca)==_0x5eadf5[_0x2e91c1(0xd5)]&&_0x2e91c1(0xca)==_0x47be8e[_0x2e91c1(0xd5)]&&!(!_0x5eadf5[_0x2e91c1(0xde)][_0x2e91c1(0xdb)](_0x2e91c1(0xdf))||!_0x47be8e[_0x2e91c1(0xde)][_0x2e91c1(0xdb)](_0x2e91c1(0xdf))||_0x5eadf5[_0x2e91c1(0xde)]==_0x47be8e[_0x2e91c1(0xde)]));}}
23
+ function _0x5884(){const _0x513afc=['oldRange','user:','newRange','_compressSingleOperation','15ndKjCc','5056865YgIOOa','_id','1256AZEzHW','shift','5949FsCbpJ','10032nLgvVQ','_getCompressorByName','_compareOperations','buffers','_context','toNone','__className','startsWith','2855060adgsFM','name','start','_decompressSingleOperation','2512530nxGrRu','split','850801BmECOP','stickiness','decompress','635772uCZvxy','push','MarkerOperation','compress','user:position:','end','types'];_0x5884=function(){return _0x513afc;};return _0x5884();}function _0x14ed(_0x468540,_0x4b3915){const _0x5884eb=_0x5884();return _0x14ed=function(_0x14ed0a,_0x11a37a){_0x14ed0a=_0x14ed0a-0x1c1;let _0xd821a6=_0x5884eb[_0x14ed0a];return _0xd821a6;},_0x14ed(_0x468540,_0x4b3915);}const _0x526296=_0x14ed;(function(_0x300b9d,_0x46e5ec){const _0x41add0=_0x14ed,_0xde558b=_0x300b9d();while(!![]){try{const _0x170ad6=-parseInt(_0x41add0(0x1d8))/0x1+parseInt(_0x41add0(0x1e0))/0x2+-parseInt(_0x41add0(0x1d2))/0x3*(-parseInt(_0x41add0(0x1c7))/0x4)+-parseInt(_0x41add0(0x1d3))/0x5+-parseInt(_0x41add0(0x1c2))/0x6+parseInt(_0x41add0(0x1c4))/0x7+parseInt(_0x41add0(0x1d5))/0x8*(-parseInt(_0x41add0(0x1d7))/0x9);if(_0x170ad6===_0x46e5ec)break;else _0xde558b['push'](_0xde558b['shift']());}catch(_0x2a8ef2){_0xde558b['push'](_0xde558b['shift']());}}}(_0x5884,0xc346b));import{ActionCompressor as _0x22e66b}from'./actioncompressor.js';import{arePositionsEqual as _0x4d2c50}from'../utils.js';import{cloneDeep as _0x3fe6ea}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x22e66b{[_0x526296(0x1ca)](_0x1a8ea2,_0x4fc08c){const _0x14930b=_0x526296;if(!this[_0x14930b(0x1da)](_0x4fc08c[0x0],_0x4fc08c[0x1]))return!0x1;const _0x123f6e=_0x4fc08c[_0x14930b(0x1d6)]();return _0x123f6e[_0x14930b(0x1ce)]=null,_0x123f6e[_0x14930b(0x1d0)]&&_0x4d2c50(_0x123f6e[_0x14930b(0x1d0)][_0x14930b(0x1e2)],_0x123f6e[_0x14930b(0x1d0)][_0x14930b(0x1cc)])&&(_0x123f6e[_0x14930b(0x1d0)][_0x14930b(0x1cc)]=null),_0x4fc08c[_0x14930b(0x1d6)](),_0x1a8ea2[_0x14930b(0x1cd)][_0x14930b(0x1c8)](this[_0x14930b(0x1d4)]),_0x1a8ea2[_0x14930b(0x1cd)][_0x14930b(0x1c8)](0x0),_0x1a8ea2[_0x14930b(0x1db)][_0x14930b(0x1c8)](this[_0x14930b(0x1d1)](_0x123f6e)),!0x0;}[_0x526296(0x1c6)](_0x435d36,_0x4f1d15){const _0x4caa28=_0x526296,_0x52fb7b=this[_0x4caa28(0x1c1)](_0x4f1d15);_0x52fb7b[_0x4caa28(0x1d0)]&&!_0x52fb7b[_0x4caa28(0x1d0)][_0x4caa28(0x1cc)]&&(_0x52fb7b[_0x4caa28(0x1d0)][_0x4caa28(0x1cc)]=_0x3fe6ea(_0x52fb7b[_0x4caa28(0x1d0)][_0x4caa28(0x1e2)]));const _0x8a9bc6=_0x3fe6ea(_0x52fb7b);_0x8a9bc6[_0x4caa28(0x1d0)]&&(_0x8a9bc6[_0x4caa28(0x1d0)][_0x4caa28(0x1e2)][_0x4caa28(0x1c5)]=_0x4caa28(0x1dd),_0x8a9bc6[_0x4caa28(0x1d0)][_0x4caa28(0x1cc)]=_0x3fe6ea(_0x8a9bc6[_0x4caa28(0x1d0)][_0x4caa28(0x1e2)])),_0x8a9bc6[_0x4caa28(0x1e1)]=_0x4caa28(0x1cb)+_0x8a9bc6[_0x4caa28(0x1e1)][_0x4caa28(0x1c3)](':')[0x2],_0x4f1d15[_0x4caa28(0x1cd)][_0x4caa28(0x1d6)](),_0x435d36[_0x4caa28(0x1c8)](_0x52fb7b),_0x435d36[_0x4caa28(0x1c8)](_0x8a9bc6);}[_0x526296(0x1d1)](_0x331df8){const _0x397b61=_0x526296,_0x265ad4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x397b61(0x1dc)][_0x397b61(0x1d9)](_0x397b61(0x1c9))[_0x397b61(0x1ca)](_0x265ad4,[_0x331df8]),_0x265ad4[_0x397b61(0x1db)][0x0];}[_0x526296(0x1c1)](_0x4061c9){const _0x39293b=_0x526296,_0x576e34=[];return this[_0x39293b(0x1dc)][_0x39293b(0x1d9)](_0x39293b(0x1c9))[_0x39293b(0x1c6)](_0x576e34,_0x4061c9),_0x576e34[0x0];}[_0x526296(0x1da)](_0x496921,_0x4c0538){const _0x51718e=_0x526296;return!(!_0x496921||!_0x4c0538)&&(_0x51718e(0x1c9)==_0x496921[_0x51718e(0x1de)]&&_0x51718e(0x1c9)==_0x4c0538[_0x51718e(0x1de)]&&!(!_0x496921[_0x51718e(0x1e1)][_0x51718e(0x1df)](_0x51718e(0x1cf))||!_0x4c0538[_0x51718e(0x1e1)][_0x51718e(0x1df)](_0x51718e(0x1cf))||_0x496921[_0x51718e(0x1e1)]==_0x4c0538[_0x51718e(0x1e1)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4222b3=_0x35e6;(function(_0x2a38b9,_0x35b191){const _0x5fad80=_0x35e6,_0x5e2c43=_0x2a38b9();while(!![]){try{const _0x5acb54=parseInt(_0x5fad80(0x206))/0x1+-parseInt(_0x5fad80(0x1ec))/0x2*(parseInt(_0x5fad80(0x1f1))/0x3)+-parseInt(_0x5fad80(0x20f))/0x4+-parseInt(_0x5fad80(0x1ff))/0x5+parseInt(_0x5fad80(0x1f0))/0x6*(parseInt(_0x5fad80(0x210))/0x7)+parseInt(_0x5fad80(0x1f2))/0x8*(parseInt(_0x5fad80(0x1e8))/0x9)+parseInt(_0x5fad80(0x1ee))/0xa;if(_0x5acb54===_0x35b191)break;else _0x5e2c43['push'](_0x5e2c43['shift']());}catch(_0x443911){_0x5e2c43['push'](_0x5e2c43['shift']());}}}(_0x227c,0xb6e21));import{CKEditorError as _0x28f451}from'ckeditor5/src/utils.js';function _0x227c(){const _0x14a5df=['3904992uuYZpQ','230391OLEbCr','_compressorById','decompress','comment','no-operations-provided','decompress-compressor-not-found','MoveOperation','18XqsJQL','__className','NoOperation','_registerCompressor','85336VOeRjz','RenameOperation','26227960CRFMWR','_protobufFactory','24ADKoOg','81fnbaci','1534312etJmAq','_compressorByName','InsertOperation','forEach','getDescriptor','baseVersion','_getCompressorByName','SuggestionMarkerOperation','MarkerOperation','UserSelectionAction','ForwardDeletingAction','compress','RootAttributeOperation','7101600FJnsSa','MergeOperation','DeletingAction','_registerOperationCompressor','CommentMarkerOperation','types','RootOperation','1159667yTfSeh','length','_registerActionCompressor','AttributeOperation','suggestion','TypingAction','set','SplitOperation','get'];_0x227c=function(){return _0x14a5df;};return _0x227c();}import{ProtobufFactory as _0x504f08}from'./protobuffactory.js';import{OperationCompressor as _0x424697}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x44244e}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x25b905}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x4cbb58}from'./operationcompressor/markeroperationcompressor.js';function _0x35e6(_0x4d0810,_0xe8ab40){const _0x227c12=_0x227c();return _0x35e6=function(_0x35e636,_0x3196cb){_0x35e636=_0x35e636-0x1e8;let _0x28c999=_0x227c12[_0x35e636];return _0x28c999;},_0x35e6(_0x4d0810,_0xe8ab40);}import{NoOperationCompressor as _0x39a3ef}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0xb7dcd5}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x27d36e}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x3b39e1}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x2530eb}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x4ee290}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x4222b3(0x211)];[_0x4222b3(0x1f3)];[_0x4222b3(0x1ef)];constructor(){const _0x344635=_0x4222b3;this[_0x344635(0x211)]=new Map(),this[_0x344635(0x1f3)]=new Map(),this[_0x344635(0x1ef)]=new _0x504f08();const _0x44aad7=this[_0x344635(0x1ef)][_0x344635(0x1f6)](_0x344635(0x1fa));this[_0x344635(0x1eb)](0x1,_0x344635(0x1ea),new _0x39a3ef(0x1,_0x344635(0x1ea),void 0x0)),this[_0x344635(0x202)](0xa,_0x344635(0x209),_0x44244e),this[_0x344635(0x202)](0xb,_0x344635(0x1f4),_0x25b905),this[_0x344635(0x202)](0xc,_0x344635(0x1fa),_0x4cbb58),this[_0x344635(0x202)](0xd,_0x344635(0x200),_0x424697),this[_0x344635(0x202)](0xe,_0x344635(0x216),_0x424697),this[_0x344635(0x202)](0xf,_0x344635(0x1ed),_0x424697),this[_0x344635(0x202)](0x10,_0x344635(0x1fe),_0x44244e),this[_0x344635(0x202)](0x11,_0x344635(0x20d),_0x424697),this[_0x344635(0x1eb)](0x12,_0x344635(0x203),new _0xb7dcd5(0x12,_0x344635(0x1fa),_0x44aad7,_0x344635(0x213))),this[_0x344635(0x1eb)](0x13,_0x344635(0x1f9),new _0xb7dcd5(0x13,_0x344635(0x1fa),_0x44aad7,_0x344635(0x20a))),this[_0x344635(0x202)](0x14,_0x344635(0x205),_0x424697),this[_0x344635(0x208)](0x64,_0x344635(0x20b),_0x27d36e),this[_0x344635(0x208)](0x65,_0x344635(0x201),_0x3b39e1),this[_0x344635(0x208)](0x66,_0x344635(0x1fc),_0x2530eb),this[_0x344635(0x208)](0x67,_0x344635(0x1fb),_0x4ee290);}[_0x4222b3(0x1fd)](_0x55c67){const _0x17ad43=_0x4222b3;if(!_0x55c67||!_0x55c67[0x0])throw new _0x28f451(_0x17ad43(0x214),this);const _0x1c9fe8={'types':[],'buffers':[],'baseVersion':_0x55c67[0x0][_0x17ad43(0x1f7)]};for(;_0x55c67[_0x17ad43(0x207)];)this[_0x17ad43(0x1f8)](_0x17ad43(0x1fb))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x20b))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x201))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x1fc))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x203))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x17ad43(0x1f9))[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67)||this[_0x17ad43(0x1f8)](_0x55c67[0x0][_0x17ad43(0x1e9)])[_0x17ad43(0x1fd)](_0x1c9fe8,_0x55c67);return _0x1c9fe8;}[_0x4222b3(0x212)](_0x5753f9){const _0x1fd2e7=_0x4222b3,_0x395c87=[];for(;_0x5753f9[_0x1fd2e7(0x204)][_0x1fd2e7(0x207)];){const _0x305b2d=this[_0x1fd2e7(0x211)][_0x1fd2e7(0x20e)](_0x5753f9[_0x1fd2e7(0x204)][0x0]);if(!_0x305b2d)throw new _0x28f451(_0x1fd2e7(0x215),this,{'type':_0x5753f9[_0x1fd2e7(0x204)][0x0]});_0x305b2d[_0x1fd2e7(0x212)](_0x395c87,_0x5753f9);}return _0x395c87[_0x1fd2e7(0x1f5)]((_0x25322d,_0x1168ec)=>_0x25322d[_0x1fd2e7(0x1f7)]=_0x5753f9[_0x1fd2e7(0x1f7)]+_0x1168ec),_0x395c87;}[_0x4222b3(0x1f8)](_0x2e9263){const _0x1fc48a=_0x4222b3;return this[_0x1fc48a(0x1f3)][_0x1fc48a(0x20e)](_0x2e9263);}[_0x4222b3(0x202)](_0x2efe2c,_0x179b01,_0x17e7db){const _0x37b326=_0x4222b3,_0x1455b9=new _0x17e7db(_0x2efe2c,_0x179b01,this[_0x37b326(0x1ef)][_0x37b326(0x1f6)](_0x179b01));this[_0x37b326(0x1eb)](_0x2efe2c,_0x179b01,_0x1455b9);}[_0x4222b3(0x208)](_0x278e7b,_0x1b6ad5,_0x378e01){const _0x20fa5b=_0x4222b3,_0x403885=new _0x378e01(_0x278e7b,this);this[_0x20fa5b(0x1eb)](_0x278e7b,_0x1b6ad5,_0x403885);}[_0x4222b3(0x1eb)](_0x2ff2d1,_0x4f96eb,_0x4bc251){const _0x52ab08=_0x4222b3;this[_0x52ab08(0x211)][_0x52ab08(0x20c)](_0x2ff2d1,_0x4bc251),this[_0x52ab08(0x1f3)][_0x52ab08(0x20c)](_0x4f96eb,_0x4bc251);}}
23
+ const _0xf64510=_0x544e;(function(_0x4ec199,_0x5599f1){const _0x2d1cb7=_0x544e,_0x1661ba=_0x4ec199();while(!![]){try{const _0x237790=-parseInt(_0x2d1cb7(0x18f))/0x1*(-parseInt(_0x2d1cb7(0x197))/0x2)+parseInt(_0x2d1cb7(0x1b8))/0x3*(-parseInt(_0x2d1cb7(0x1b2))/0x4)+parseInt(_0x2d1cb7(0x1a4))/0x5*(-parseInt(_0x2d1cb7(0x18a))/0x6)+-parseInt(_0x2d1cb7(0x1b4))/0x7*(parseInt(_0x2d1cb7(0x1a8))/0x8)+-parseInt(_0x2d1cb7(0x1a9))/0x9*(parseInt(_0x2d1cb7(0x188))/0xa)+-parseInt(_0x2d1cb7(0x1af))/0xb+parseInt(_0x2d1cb7(0x193))/0xc;if(_0x237790===_0x5599f1)break;else _0x1661ba['push'](_0x1661ba['shift']());}catch(_0xe219b1){_0x1661ba['push'](_0x1661ba['shift']());}}}(_0x2b24,0x4946e));import{CKEditorError as _0x4d10e1}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4d2251}from'./protobuffactory.js';import{OperationCompressor as _0x2f4744}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x4ad1b3}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x59cf56}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x2102a4}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x3ec903}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0xca4b65}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x6b87ba}from'./actioncompressor/typingactioncompressor.js';function _0x2b24(){const _0x119bc0=['baseVersion','no-operations-provided','MarkerOperation','_getCompressorByName','125fxoynQ','MoveOperation','_compressorByName','compress','25880sfBKpP','18KrYXaJ','_registerActionCompressor','RenameOperation','getDescriptor','set','DeletingAction','5762570MCNpUx','InsertOperation','SplitOperation','1816292yLXbxc','length','350gvquIp','_protobufFactory','forEach','_registerCompressor','3eBdrzD','2461510AdtdgS','comment','16134CELMmz','_registerOperationCompressor','RootOperation','NoOperation','_compressorById','1871Qvlncr','TypingAction','CommentMarkerOperation','decompress-compressor-not-found','21230748heFdqA','get','decompress','__className','246MvXdfH','MergeOperation','UserSelectionAction','SuggestionMarkerOperation','AttributeOperation','suggestion','ForwardDeletingAction','RootAttributeOperation','types'];_0x2b24=function(){return _0x119bc0;};return _0x2b24();}function _0x544e(_0x198534,_0x15cda7){const _0x2b2433=_0x2b24();return _0x544e=function(_0x544e31,_0x37db2e){_0x544e31=_0x544e31-0x188;let _0x14a063=_0x2b2433[_0x544e31];return _0x14a063;},_0x544e(_0x198534,_0x15cda7);}import{DeletingActionCompressor as _0x260e73}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x49640f}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x4c7eaf}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0xf64510(0x18e)];[_0xf64510(0x1a6)];[_0xf64510(0x1b5)];constructor(){const _0x4dc2b5=_0xf64510;this[_0x4dc2b5(0x18e)]=new Map(),this[_0x4dc2b5(0x1a6)]=new Map(),this[_0x4dc2b5(0x1b5)]=new _0x4d2251();const _0x25e174=this[_0x4dc2b5(0x1b5)][_0x4dc2b5(0x1ac)](_0x4dc2b5(0x1a2));this[_0x4dc2b5(0x1b7)](0x1,_0x4dc2b5(0x18d),new _0x3ec903(0x1,_0x4dc2b5(0x18d),void 0x0)),this[_0x4dc2b5(0x18b)](0xa,_0x4dc2b5(0x19b),_0x4ad1b3),this[_0x4dc2b5(0x18b)](0xb,_0x4dc2b5(0x1b0),_0x59cf56),this[_0x4dc2b5(0x18b)](0xc,_0x4dc2b5(0x1a2),_0x2102a4),this[_0x4dc2b5(0x18b)](0xd,_0x4dc2b5(0x198),_0x2f4744),this[_0x4dc2b5(0x18b)](0xe,_0x4dc2b5(0x1a5),_0x2f4744),this[_0x4dc2b5(0x18b)](0xf,_0x4dc2b5(0x1ab),_0x2f4744),this[_0x4dc2b5(0x18b)](0x10,_0x4dc2b5(0x19e),_0x4ad1b3),this[_0x4dc2b5(0x18b)](0x11,_0x4dc2b5(0x1b1),_0x2f4744),this[_0x4dc2b5(0x1b7)](0x12,_0x4dc2b5(0x191),new _0xca4b65(0x12,_0x4dc2b5(0x1a2),_0x25e174,_0x4dc2b5(0x189))),this[_0x4dc2b5(0x1b7)](0x13,_0x4dc2b5(0x19a),new _0xca4b65(0x13,_0x4dc2b5(0x1a2),_0x25e174,_0x4dc2b5(0x19c))),this[_0x4dc2b5(0x18b)](0x14,_0x4dc2b5(0x18c),_0x2f4744),this[_0x4dc2b5(0x1aa)](0x64,_0x4dc2b5(0x190),_0x6b87ba),this[_0x4dc2b5(0x1aa)](0x65,_0x4dc2b5(0x1ae),_0x260e73),this[_0x4dc2b5(0x1aa)](0x66,_0x4dc2b5(0x19d),_0x49640f),this[_0x4dc2b5(0x1aa)](0x67,_0x4dc2b5(0x199),_0x4c7eaf);}[_0xf64510(0x1a7)](_0x195991){const _0x3d4f35=_0xf64510;if(!_0x195991||!_0x195991[0x0])throw new _0x4d10e1(_0x3d4f35(0x1a1),this);const _0x41b5b5={'types':[],'buffers':[],'baseVersion':_0x195991[0x0][_0x3d4f35(0x1a0)]};for(;_0x195991[_0x3d4f35(0x1b3)];)this[_0x3d4f35(0x1a3)](_0x3d4f35(0x199))[_0x3d4f35(0x1a7)](_0x41b5b5,_0x195991)||this[_0x3d4f35(0x1a3)](_0x3d4f35(0x190))[_0x3d4f35(0x1a7)](_0x41b5b5,_0x195991)||this[_0x3d4f35(0x1a3)](_0x3d4f35(0x1ae))[_0x3d4f35(0x1a7)](_0x41b5b5,_0x195991)||this[_0x3d4f35(0x1a3)](_0x3d4f35(0x19d))[_0x3d4f35(0x1a7)](_0x41b5b5,_0x195991)||this[_0x3d4f35(0x1a3)](_0x3d4f35(0x191))[_0x3d4f35(0x1a7)](_0x41b5b5,_0x195991)||this[_0x3d4f35(0x1a3)](_0x3d4f35(0x19a))[_0x3d4f35(0x1a7)](_0x41b5b5,_0x195991)||this[_0x3d4f35(0x1a3)](_0x195991[0x0][_0x3d4f35(0x196)])[_0x3d4f35(0x1a7)](_0x41b5b5,_0x195991);return _0x41b5b5;}[_0xf64510(0x195)](_0x286dbc){const _0x15a738=_0xf64510,_0x29db5e=[];for(;_0x286dbc[_0x15a738(0x19f)][_0x15a738(0x1b3)];){const _0x4c7583=this[_0x15a738(0x18e)][_0x15a738(0x194)](_0x286dbc[_0x15a738(0x19f)][0x0]);if(!_0x4c7583)throw new _0x4d10e1(_0x15a738(0x192),this,{'type':_0x286dbc[_0x15a738(0x19f)][0x0]});_0x4c7583[_0x15a738(0x195)](_0x29db5e,_0x286dbc);}return _0x29db5e[_0x15a738(0x1b6)]((_0x481136,_0x511b7f)=>_0x481136[_0x15a738(0x1a0)]=_0x286dbc[_0x15a738(0x1a0)]+_0x511b7f),_0x29db5e;}[_0xf64510(0x1a3)](_0x1c11ca){const _0x47f1ef=_0xf64510;return this[_0x47f1ef(0x1a6)][_0x47f1ef(0x194)](_0x1c11ca);}[_0xf64510(0x18b)](_0x317185,_0x203fb9,_0xf4d318){const _0x386b2a=_0xf64510,_0xf5319e=new _0xf4d318(_0x317185,_0x203fb9,this[_0x386b2a(0x1b5)][_0x386b2a(0x1ac)](_0x203fb9));this[_0x386b2a(0x1b7)](_0x317185,_0x203fb9,_0xf5319e);}[_0xf64510(0x1aa)](_0x19772e,_0xee8d7a,_0x182d68){const _0x44b5ca=_0xf64510,_0x1bcff6=new _0x182d68(_0x19772e,this);this[_0x44b5ca(0x1b7)](_0x19772e,_0xee8d7a,_0x1bcff6);}[_0xf64510(0x1b7)](_0x117b7e,_0x110c16,_0x215253){const _0x2ed709=_0xf64510;this[_0x2ed709(0x18e)][_0x2ed709(0x1ad)](_0x117b7e,_0x215253),this[_0x2ed709(0x1a6)][_0x2ed709(0x1ad)](_0x110c16,_0x215253);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x586b(){var _0xd0980c=['2445205znrZuE','629477WAWvZC','13878944PxOhgI','5360735PVUVYH','1243137AUPzOk','2784252lPqQON','150702SwFwgU','4hYWjBx'];_0x586b=function(){return _0xd0980c;};return _0x586b();}(function(_0xc57e06,_0x3174a5){var _0x1a0316=_0x3e72,_0x289cc0=_0xc57e06();while(!![]){try{var _0x3fca36=parseInt(_0x1a0316(0xda))/0x1+-parseInt(_0x1a0316(0xd7))/0x2+-parseInt(_0x1a0316(0xdd))/0x3*(parseInt(_0x1a0316(0xd8))/0x4)+-parseInt(_0x1a0316(0xdc))/0x5+-parseInt(_0x1a0316(0xd6))/0x6+parseInt(_0x1a0316(0xd9))/0x7+parseInt(_0x1a0316(0xdb))/0x8;if(_0x3fca36===_0x3174a5)break;else _0x289cc0['push'](_0x289cc0['shift']());}catch(_0x3a3d46){_0x289cc0['push'](_0x289cc0['shift']());}}}(_0x586b,0xa7e7d));function _0x3e72(_0x4eec4d,_0x1fdb95){var _0x586b1d=_0x586b();return _0x3e72=function(_0x3e72ec,_0x502026){_0x3e72ec=_0x3e72ec-0xd6;var _0x3880a6=_0x586b1d[_0x3e72ec];return _0x3880a6;},_0x3e72(_0x4eec4d,_0x1fdb95);}export{Compressor}from'./compressor.js';
23
+ (function(_0x52f2dc,_0x5683e3){var _0x4568fe=_0x3b0c,_0x5b4ccb=_0x52f2dc();while(!![]){try{var _0x18a418=-parseInt(_0x4568fe(0x1d8))/0x1+parseInt(_0x4568fe(0x1df))/0x2+parseInt(_0x4568fe(0x1d9))/0x3+parseInt(_0x4568fe(0x1d6))/0x4*(parseInt(_0x4568fe(0x1de))/0x5)+-parseInt(_0x4568fe(0x1dc))/0x6*(-parseInt(_0x4568fe(0x1d7))/0x7)+parseInt(_0x4568fe(0x1dd))/0x8+-parseInt(_0x4568fe(0x1db))/0x9*(parseInt(_0x4568fe(0x1da))/0xa);if(_0x18a418===_0x5683e3)break;else _0x5b4ccb['push'](_0x5b4ccb['shift']());}catch(_0x5c1036){_0x5b4ccb['push'](_0x5b4ccb['shift']());}}}(_0x55a6,0x75ae6));function _0x3b0c(_0x2a874b,_0x4a34f){var _0x55a633=_0x55a6();return _0x3b0c=function(_0x3b0c42,_0x530fc6){_0x3b0c42=_0x3b0c42-0x1d6;var _0xe9f2ef=_0x55a633[_0x3b0c42];return _0xe9f2ef;},_0x3b0c(_0x2a874b,_0x4a34f);}function _0x55a6(){var _0xd7b2f1=['507203AiNVrj','2886195fjzBJp','6177650ABFbTP','27jUboNS','6MJTNUB','5593720KeFVUa','3124145WTYqfw','958728jLVRvz','4fLVpZh','539329lTTMsf'];_0x55a6=function(){return _0xd7b2f1;};return _0x55a6();}export{Compressor}from'./compressor.js';