@ckeditor/ckeditor5-operations-compressor 46.0.2 → 46.1.0-alpha.0

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 _0x39841b=_0x24f5;function _0x24f5(_0x310cc9,_0x2ba953){const _0xe431e0=_0xe431();return _0x24f5=function(_0x24f572,_0x2fbcbc){_0x24f572=_0x24f572-0x6a;let _0x192faa=_0xe431e0[_0x24f572];return _0x192faa;},_0x24f5(_0x310cc9,_0x2ba953);}(function(_0x505703,_0x487cd6){const _0x232933=_0x24f5,_0x7f91ca=_0x505703();while(!![]){try{const _0x4dc76a=-parseInt(_0x232933(0x7e))/0x1+parseInt(_0x232933(0x72))/0x2+parseInt(_0x232933(0x7c))/0x3*(parseInt(_0x232933(0x7f))/0x4)+parseInt(_0x232933(0x79))/0x5+-parseInt(_0x232933(0x6d))/0x6+parseInt(_0x232933(0x74))/0x7+-parseInt(_0x232933(0x73))/0x8*(parseInt(_0x232933(0x7b))/0x9);if(_0x4dc76a===_0x487cd6)break;else _0x7f91ca['push'](_0x7f91ca['shift']());}catch(_0x30067e){_0x7f91ca['push'](_0x7f91ca['shift']());}}}(_0xe431,0x825ed));import{ActionCompressor as _0x1555a5}from'./actioncompressor.js';import{arePositionsEqual as _0x234a43,getPositionShiftedBy as _0x527eb9}from'../utils.js';import{cloneDeep as _0x5a902a}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x1555a5{[_0x39841b(0x77)](_0x2e312a,_0xf74e91){const _0x65518a=_0x39841b;return _0xf74e91[_0x65518a(0x6f)]++,_0xf74e91[_0x65518a(0x7a)]=_0x5a902a(_0x2e312a[_0x65518a(0x7a)]),_0xf74e91;}[_0x39841b(0x83)](_0x5e6b69){const _0x2551ab=_0x39841b,_0x3fa4f5=_0x5a902a(_0x5e6b69);return _0x5e6b69[_0x2551ab(0x6f)]--,_0x3fa4f5[_0x2551ab(0x6f)]=0x1,_0x3fa4f5[_0x2551ab(0x7a)]=_0x527eb9(_0x3fa4f5[_0x2551ab(0x7a)],_0x5e6b69[_0x2551ab(0x6f)]),_0x3fa4f5;}[_0x39841b(0x6b)](_0x1520cf,_0x3ccd4b){const _0x1cd4fc=_0x39841b;return!(!this[_0x1cd4fc(0x70)](_0x1520cf)||!this[_0x1cd4fc(0x70)](_0x3ccd4b))&&(_0x234a43(_0x527eb9(_0x1520cf[_0x1cd4fc(0x7a)],-0x1),_0x3ccd4b[_0x1cd4fc(0x7a)])&&_0x234a43(_0x1520cf[_0x1cd4fc(0x6c)],_0x3ccd4b[_0x1cd4fc(0x6c)]));}[_0x39841b(0x7d)](_0x99d45a){const _0x520f46=_0x39841b,_0x3f24f0={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x520f46(0x76)][_0x520f46(0x6a)](_0x520f46(0x82))[_0x520f46(0x81)](_0x3f24f0,[_0x99d45a]),_0x3f24f0[_0x520f46(0x84)][0x0];}[_0x39841b(0x6e)](_0x565188){const _0x2033c3=_0x39841b,_0x535192=[];return this[_0x2033c3(0x76)][_0x2033c3(0x6a)](_0x2033c3(0x82))[_0x2033c3(0x85)](_0x535192,_0x565188),_0x535192[0x0];}[_0x39841b(0x70)](_0x15167a){const _0x5581da=_0x39841b;return _0x5581da(0x82)==_0x15167a[_0x5581da(0x71)]&&_0x5581da(0x80)==_0x15167a[_0x5581da(0x6c)][_0x5581da(0x78)]&&0x1==_0x15167a[_0x5581da(0x6f)]&&!_0x15167a[_0x5581da(0x75)];}}function _0xe431(){const _0x50e131=['howMany','_checkOperation','__className','1052844xjgjvr','288VKYOUy','6240360zreRXm','wasUndone','_context','_combineNext','root','4394550GhXDUE','sourcePosition','215955SsmAnc','15bQgait','_compressSingleOperation','881266LsFtTl','554476zQqvdZ','$graveyard','compress','MoveOperation','_splitCurrent','buffers','decompress','_getCompressorByName','_compareOperations','targetPosition','4264944gGwJzT','_decompressSingleOperation'];_0xe431=function(){return _0x50e131;};return _0xe431();}
23
+ function _0x2ecc(){const _0x1d2da1=['howMany','$graveyard','_compareOperations','MoveOperation','sourcePosition','657696kRRQqT','_context','targetPosition','_splitCurrent','379093EfFhGI','2tmECXr','compress','root','6Bwwriv','_decompressSingleOperation','wasUndone','1556443NUSvfn','decompress','1286151AKinUw','_combineNext','427352PcjPgn','1336750pNWxWZ','2481445QLMFaO','_checkOperation','_getCompressorByName','buffers','_compressSingleOperation','__className','36WXVCdo'];_0x2ecc=function(){return _0x1d2da1;};return _0x2ecc();}const _0x49bff9=_0x94a6;function _0x94a6(_0x2ad263,_0x22d02b){const _0x2ecc5a=_0x2ecc();return _0x94a6=function(_0x94a6c6,_0x3d8068){_0x94a6c6=_0x94a6c6-0xe6;let _0x5039a0=_0x2ecc5a[_0x94a6c6];return _0x5039a0;},_0x94a6(_0x2ad263,_0x22d02b);}(function(_0x196113,_0x5512fd){const _0x27b01b=_0x94a6,_0x2c0b94=_0x196113();while(!![]){try{const _0x58a82c=parseInt(_0x27b01b(0xfa))/0x1+-parseInt(_0x27b01b(0xfb))/0x2*(parseInt(_0x27b01b(0xe6))/0x3)+parseInt(_0x27b01b(0xf6))/0x4+-parseInt(_0x27b01b(0xea))/0x5*(-parseInt(_0x27b01b(0xfe))/0x6)+-parseInt(_0x27b01b(0x101))/0x7+-parseInt(_0x27b01b(0xe8))/0x8*(parseInt(_0x27b01b(0xf0))/0x9)+parseInt(_0x27b01b(0xe9))/0xa;if(_0x58a82c===_0x5512fd)break;else _0x2c0b94['push'](_0x2c0b94['shift']());}catch(_0x1c90c1){_0x2c0b94['push'](_0x2c0b94['shift']());}}}(_0x2ecc,0x4b603));import{ActionCompressor as _0x1c0e48}from'./actioncompressor.js';import{arePositionsEqual as _0x4ab2f4,getPositionShiftedBy as _0x4e60d3}from'../utils.js';import{cloneDeep as _0x59929a}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x1c0e48{[_0x49bff9(0xe7)](_0x5297e0,_0x69e1f2){const _0xf4bd36=_0x49bff9;return _0x69e1f2[_0xf4bd36(0xf1)]++,_0x69e1f2[_0xf4bd36(0xf5)]=_0x59929a(_0x5297e0[_0xf4bd36(0xf5)]),_0x69e1f2;}[_0x49bff9(0xf9)](_0x235310){const _0x5bb179=_0x49bff9,_0x4b5f65=_0x59929a(_0x235310);return _0x235310[_0x5bb179(0xf1)]--,_0x4b5f65[_0x5bb179(0xf1)]=0x1,_0x4b5f65[_0x5bb179(0xf5)]=_0x4e60d3(_0x4b5f65[_0x5bb179(0xf5)],_0x235310[_0x5bb179(0xf1)]),_0x4b5f65;}[_0x49bff9(0xf3)](_0x1bbc4e,_0x9ae5fc){const _0x5f0b31=_0x49bff9;return!(!this[_0x5f0b31(0xeb)](_0x1bbc4e)||!this[_0x5f0b31(0xeb)](_0x9ae5fc))&&(_0x4ab2f4(_0x4e60d3(_0x1bbc4e[_0x5f0b31(0xf5)],-0x1),_0x9ae5fc[_0x5f0b31(0xf5)])&&_0x4ab2f4(_0x1bbc4e[_0x5f0b31(0xf8)],_0x9ae5fc[_0x5f0b31(0xf8)]));}[_0x49bff9(0xee)](_0x482074){const _0x3d1824=_0x49bff9,_0x7993cf={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3d1824(0xf7)][_0x3d1824(0xec)](_0x3d1824(0xf4))[_0x3d1824(0xfc)](_0x7993cf,[_0x482074]),_0x7993cf[_0x3d1824(0xed)][0x0];}[_0x49bff9(0xff)](_0x56e599){const _0x16957d=_0x49bff9,_0x28fe08=[];return this[_0x16957d(0xf7)][_0x16957d(0xec)](_0x16957d(0xf4))[_0x16957d(0x102)](_0x28fe08,_0x56e599),_0x28fe08[0x0];}[_0x49bff9(0xeb)](_0x1ab3d8){const _0x496344=_0x49bff9;return _0x496344(0xf4)==_0x1ab3d8[_0x496344(0xef)]&&_0x496344(0xf2)==_0x1ab3d8[_0x496344(0xf8)][_0x496344(0xfd)]&&0x1==_0x1ab3d8[_0x496344(0xf1)]&&!_0x1ab3d8[_0x496344(0x100)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8f16c9=_0x4ea7;function _0x4ea7(_0x33c508,_0x51b136){const _0x528071=_0x5280();return _0x4ea7=function(_0x4ea756,_0x40dead){_0x4ea756=_0x4ea756-0xad;let _0x395c6b=_0x528071[_0x4ea756];return _0x395c6b;},_0x4ea7(_0x33c508,_0x51b136);}(function(_0x5b1a40,_0xbb2471){const _0x130148=_0x4ea7,_0x4c5b8a=_0x5b1a40();while(!![]){try{const _0x251d11=parseInt(_0x130148(0xca))/0x1+-parseInt(_0x130148(0xbd))/0x2*(parseInt(_0x130148(0xb6))/0x3)+parseInt(_0x130148(0xc6))/0x4+-parseInt(_0x130148(0xb3))/0x5*(parseInt(_0x130148(0xad))/0x6)+-parseInt(_0x130148(0xc2))/0x7*(parseInt(_0x130148(0xbb))/0x8)+parseInt(_0x130148(0xc8))/0x9*(-parseInt(_0x130148(0xc3))/0xa)+parseInt(_0x130148(0xaf))/0xb;if(_0x251d11===_0xbb2471)break;else _0x4c5b8a['push'](_0x4c5b8a['shift']());}catch(_0x2b08d1){_0x4c5b8a['push'](_0x4c5b8a['shift']());}}}(_0x5280,0xd3146));function _0x5280(){const _0x45cd5e=['_combineNext','_checkOperation','_decompressSingleOperation','1549090XWUUQr','_splitCurrent','MoveOperation','111897mofMoY','_context','sourcePosition','_compareOperations','root','24nFiWKL','compress','56lIGHnk','__className','_compressSingleOperation','targetPosition','_getCompressorByName','409234fbHfZS','2500jvMXlT','wasUndone','$graveyard','1898396hAoNUX','buffers','21195zyNhhU','howMany','380824rQjotw','24lzkHGv','decompress','33626329ApEVUs'];_0x5280=function(){return _0x45cd5e;};return _0x5280();}import{ActionCompressor as _0x2e8527}from'./actioncompressor.js';import{arePositionsEqual as _0x47e674}from'../utils.js';import{cloneDeep as _0x43556d}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x2e8527{[_0x8f16c9(0xb0)](_0xf9c8f4,_0x30e4f0){const _0x26d9b6=_0x8f16c9;return _0x30e4f0[_0x26d9b6(0xc9)]++,_0x30e4f0;}[_0x8f16c9(0xb4)](_0x1e945f){const _0x3bbbf8=_0x8f16c9,_0x6667ab=_0x43556d(_0x1e945f);return _0x6667ab[_0x3bbbf8(0xc9)]=0x1,_0x1e945f[_0x3bbbf8(0xc9)]--,_0x6667ab;}[_0x8f16c9(0xb9)](_0x1257a3,_0x1c9e1f){const _0x4165af=_0x8f16c9;return!(!this[_0x4165af(0xb1)](_0x1257a3)||!this[_0x4165af(0xb1)](_0x1c9e1f))&&(_0x47e674(_0x1257a3[_0x4165af(0xb8)],_0x1c9e1f[_0x4165af(0xb8)])&&_0x47e674(_0x1257a3[_0x4165af(0xc0)],_0x1c9e1f[_0x4165af(0xc0)]));}[_0x8f16c9(0xbf)](_0x481a01){const _0x303a7f=_0x8f16c9,_0xb94547={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x303a7f(0xb7)][_0x303a7f(0xc1)](_0x303a7f(0xb5))[_0x303a7f(0xbc)](_0xb94547,[_0x481a01]),_0xb94547[_0x303a7f(0xc7)][0x0];}[_0x8f16c9(0xb2)](_0xd0616f){const _0x2984ae=_0x8f16c9,_0x380707=[];return this[_0x2984ae(0xb7)][_0x2984ae(0xc1)](_0x2984ae(0xb5))[_0x2984ae(0xae)](_0x380707,_0xd0616f),_0x380707[0x0];}[_0x8f16c9(0xb1)](_0x7dff5f){const _0x350fb3=_0x8f16c9;return _0x350fb3(0xb5)==_0x7dff5f[_0x350fb3(0xbe)]&&_0x350fb3(0xc5)==_0x7dff5f[_0x350fb3(0xc0)][_0x350fb3(0xba)]&&0x1==_0x7dff5f[_0x350fb3(0xc9)]&&!_0x7dff5f[_0x350fb3(0xc4)];}}
23
+ function _0x3ab1(){const _0x225338=['561218aSExnL','MoveOperation','_compressSingleOperation','3121668nNAsrW','_combineNext','1235924EwtmzG','8539764RokdLq','369sWZvBD','buffers','_decompressSingleOperation','$graveyard','_compareOperations','sourcePosition','_checkOperation','_splitCurrent','_getCompressorByName','3947696PTfGkn','howMany','2261475wCmzXW','targetPosition','5KDSlyI','compress','wasUndone','_context','decompress','root','__className','40bsEMGN','1048810PLUifV'];_0x3ab1=function(){return _0x225338;};return _0x3ab1();}const _0x9d9d88=_0x93fb;(function(_0x238384,_0xd76fe4){const _0x625be1=_0x93fb,_0x4df55c=_0x238384();while(!![]){try{const _0x15918d=-parseInt(_0x625be1(0x104))/0x1+-parseInt(_0x625be1(0x102))/0x2+-parseInt(_0x625be1(0xf4))/0x3+parseInt(_0x625be1(0xf2))/0x4*(-parseInt(_0x625be1(0xf6))/0x5)+parseInt(_0x625be1(0x105))/0x6+parseInt(_0x625be1(0xff))/0x7*(-parseInt(_0x625be1(0xfd))/0x8)+parseInt(_0x625be1(0xe9))/0x9*(parseInt(_0x625be1(0xfe))/0xa);if(_0x15918d===_0xd76fe4)break;else _0x4df55c['push'](_0x4df55c['shift']());}catch(_0x21e8f1){_0x4df55c['push'](_0x4df55c['shift']());}}}(_0x3ab1,0xbfa8e));function _0x93fb(_0x41ebe1,_0x434681){const _0x3ab16b=_0x3ab1();return _0x93fb=function(_0x93fb19,_0x4b5e9c){_0x93fb19=_0x93fb19-0xe9;let _0x330f09=_0x3ab16b[_0x93fb19];return _0x330f09;},_0x93fb(_0x41ebe1,_0x434681);}import{ActionCompressor as _0x4be207}from'./actioncompressor.js';import{arePositionsEqual as _0x2a048f}from'../utils.js';import{cloneDeep as _0x3f3ba6}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x4be207{[_0x9d9d88(0x103)](_0xc0f219,_0x2b5052){const _0x560fb9=_0x9d9d88;return _0x2b5052[_0x560fb9(0xf3)]++,_0x2b5052;}[_0x9d9d88(0xf0)](_0x5c8e1c){const _0xb67264=_0x9d9d88,_0x409874=_0x3f3ba6(_0x5c8e1c);return _0x409874[_0xb67264(0xf3)]=0x1,_0x5c8e1c[_0xb67264(0xf3)]--,_0x409874;}[_0x9d9d88(0xed)](_0x3048db,_0x41f3c1){const _0x51d3c3=_0x9d9d88;return!(!this[_0x51d3c3(0xef)](_0x3048db)||!this[_0x51d3c3(0xef)](_0x41f3c1))&&(_0x2a048f(_0x3048db[_0x51d3c3(0xee)],_0x41f3c1[_0x51d3c3(0xee)])&&_0x2a048f(_0x3048db[_0x51d3c3(0xf5)],_0x41f3c1[_0x51d3c3(0xf5)]));}[_0x9d9d88(0x101)](_0x7c5c72){const _0x2d843f=_0x9d9d88,_0x242efd={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2d843f(0xf9)][_0x2d843f(0xf1)](_0x2d843f(0x100))[_0x2d843f(0xf7)](_0x242efd,[_0x7c5c72]),_0x242efd[_0x2d843f(0xea)][0x0];}[_0x9d9d88(0xeb)](_0x438e8d){const _0x4322e=_0x9d9d88,_0x48e562=[];return this[_0x4322e(0xf9)][_0x4322e(0xf1)](_0x4322e(0x100))[_0x4322e(0xfa)](_0x48e562,_0x438e8d),_0x48e562[0x0];}[_0x9d9d88(0xef)](_0x2db500){const _0x56a947=_0x9d9d88;return _0x56a947(0x100)==_0x2db500[_0x56a947(0xfc)]&&_0x56a947(0xec)==_0x2db500[_0x56a947(0xf5)][_0x56a947(0xfb)]&&0x1==_0x2db500[_0x56a947(0xf3)]&&!_0x2db500[_0x56a947(0xf8)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48556f=_0x480b;(function(_0x246db4,_0x5e3ad5){const _0x3e37b9=_0x480b,_0x585507=_0x246db4();while(!![]){try{const _0x28ddf1=-parseInt(_0x3e37b9(0x1e6))/0x1+parseInt(_0x3e37b9(0x1f6))/0x2*(parseInt(_0x3e37b9(0x1e8))/0x3)+-parseInt(_0x3e37b9(0x1e4))/0x4*(-parseInt(_0x3e37b9(0x1db))/0x5)+-parseInt(_0x3e37b9(0x1e0))/0x6+-parseInt(_0x3e37b9(0x1d7))/0x7+-parseInt(_0x3e37b9(0x1eb))/0x8+parseInt(_0x3e37b9(0x1d6))/0x9;if(_0x28ddf1===_0x5e3ad5)break;else _0x585507['push'](_0x585507['shift']());}catch(_0x16b5ec){_0x585507['push'](_0x585507['shift']());}}}(_0x4bf8,0x4094a));function _0x4bf8(){const _0x15680e=['substr','__className','_splitCurrent','25NLsTRF','_decompressSingleOperation','nodes','_getCompressorByName','keys','1085508AApTFp','attributes','next','_combineNext','402756bczNLE','wasUndone','97470KvsVhZ','InsertOperation','18075YYMpcH','_checkOperation','buffers','3422672jYixWL','data','decompress','_context','position','length','_compareOperations','compress','_compressSingleOperation','iterator','from','114ZBgTjM','_compareAttributes','value','every','4361778tDiaMx','2525376CycYrq'];_0x4bf8=function(){return _0x15680e;};return _0x4bf8();}function _0x480b(_0x3618ff,_0x483a47){const _0x4bf8a1=_0x4bf8();return _0x480b=function(_0x480bee,_0x36cac0){_0x480bee=_0x480bee-0x1d5;let _0x20bdd7=_0x4bf8a1[_0x480bee];return _0x20bdd7;},_0x480b(_0x3618ff,_0x483a47);}import{ActionCompressor as _0x239191}from'./actioncompressor.js';import{arePositionsEqual as _0x131ea2,getPositionShiftedBy as _0x5ac265}from'../utils.js';import{cloneDeep as _0x4d5fb2}from'es-toolkit/compat';export class TypingActionCompressor extends _0x239191{[_0x48556f(0x1e3)](_0x21aa9a,_0x38a65d){const _0x53941f=_0x48556f;return _0x38a65d[_0x53941f(0x1dd)][0x0][_0x53941f(0x1ec)]+=_0x21aa9a[_0x53941f(0x1dd)][0x0][_0x53941f(0x1ec)],_0x38a65d;}[_0x48556f(0x1da)](_0x4e3ff2){const _0x181186=_0x48556f,_0x3e7be9=_0x4d5fb2(_0x4e3ff2),_0x2b5523=_0x3e7be9[_0x181186(0x1dd)][0x0],_0xc59855=_0x4e3ff2[_0x181186(0x1dd)][0x0],_0x19ce45=_0xc59855[_0x181186(0x1ec)][Symbol[_0x181186(0x1f4)]]()[_0x181186(0x1e2)]()[_0x181186(0x1f8)],_0x587d01=_0x19ce45[_0x181186(0x1f0)];return _0x2b5523[_0x181186(0x1ec)]=_0x19ce45,_0xc59855[_0x181186(0x1ec)]=_0xc59855[_0x181186(0x1ec)][_0x181186(0x1d8)](_0x587d01),_0x4e3ff2[_0x181186(0x1ef)]=_0x5ac265(_0x4e3ff2[_0x181186(0x1ef)],_0x587d01),_0x3e7be9;}[_0x48556f(0x1f1)](_0x45b76f,_0x4f9ea4){const _0x105e47=_0x48556f;if(this[_0x105e47(0x1e9)](_0x45b76f)&&this[_0x105e47(0x1e9)](_0x4f9ea4)){const _0x2cecbf=_0x45b76f[_0x105e47(0x1dd)][0x0][_0x105e47(0x1ec)][_0x105e47(0x1f0)],_0x41fdf2=_0x131ea2(_0x5ac265(_0x45b76f[_0x105e47(0x1ef)],_0x2cecbf),_0x4f9ea4[_0x105e47(0x1ef)]),_0x304191=_0x45b76f[_0x105e47(0x1dd)][0x0],_0x46490b=_0x4f9ea4[_0x105e47(0x1dd)][0x0];return _0x41fdf2&&this[_0x105e47(0x1f7)](_0x304191,_0x46490b);}return!0x1;}[_0x48556f(0x1f3)](_0x57a6fb){const _0x21ee89=_0x48556f,_0x56f657={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x21ee89(0x1ee)][_0x21ee89(0x1de)](_0x21ee89(0x1e7))[_0x21ee89(0x1f2)](_0x56f657,[_0x57a6fb]),_0x56f657[_0x21ee89(0x1ea)][0x0];}[_0x48556f(0x1dc)](_0x28d58b){const _0x3d0a0c=_0x48556f,_0x12c579=[];return this[_0x3d0a0c(0x1ee)][_0x3d0a0c(0x1de)](_0x3d0a0c(0x1e7))[_0x3d0a0c(0x1ed)](_0x12c579,_0x28d58b),_0x12c579[0x0];}[_0x48556f(0x1e9)](_0x1946b8){const _0x1c026b=_0x48556f;return _0x1c026b(0x1e7)==_0x1946b8[_0x1c026b(0x1d9)]&&0x1==_0x1946b8[_0x1c026b(0x1dd)][_0x1c026b(0x1f0)]&&_0x1946b8[_0x1c026b(0x1dd)][0x0][_0x1c026b(0x1ec)]&&!_0x1946b8[_0x1c026b(0x1e5)]&&0x1==Array[_0x1c026b(0x1f5)](_0x1946b8[_0x1c026b(0x1dd)][0x0][_0x1c026b(0x1ec)])[_0x1c026b(0x1f0)];}[_0x48556f(0x1f7)](_0x60c68e,_0x5e5704){const _0x3d9086=_0x48556f,_0x363b1d=Object[_0x3d9086(0x1df)](_0x60c68e[_0x3d9086(0x1e1)]||{}),_0x4472bd=Object[_0x3d9086(0x1df)](_0x5e5704[_0x3d9086(0x1e1)]||{});return _0x363b1d[_0x3d9086(0x1f0)]===_0x4472bd[_0x3d9086(0x1f0)]&&_0x363b1d[_0x3d9086(0x1d5)](_0x429d06=>_0x5e5704[_0x3d9086(0x1e1)][_0x429d06]&&_0x5e5704[_0x3d9086(0x1e1)][_0x429d06]===_0x60c68e[_0x3d9086(0x1e1)][_0x429d06]);}}
23
+ function _0xfda4(_0x2d98d7,_0x21f338){const _0x10b0a1=_0x10b0();return _0xfda4=function(_0xfda479,_0x1b4744){_0xfda479=_0xfda479-0x1d2;let _0x42fc3f=_0x10b0a1[_0xfda479];return _0x42fc3f;},_0xfda4(_0x2d98d7,_0x21f338);}const _0x270d0e=_0xfda4;(function(_0x701be9,_0x71ecb7){const _0x43d9db=_0xfda4,_0x37c509=_0x701be9();while(!![]){try{const _0x4e899b=-parseInt(_0x43d9db(0x1e5))/0x1+parseInt(_0x43d9db(0x1de))/0x2+-parseInt(_0x43d9db(0x1dd))/0x3*(parseInt(_0x43d9db(0x1ee))/0x4)+parseInt(_0x43d9db(0x1ec))/0x5+parseInt(_0x43d9db(0x1db))/0x6*(parseInt(_0x43d9db(0x1e0))/0x7)+parseInt(_0x43d9db(0x1d5))/0x8*(-parseInt(_0x43d9db(0x1d3))/0x9)+parseInt(_0x43d9db(0x1e3))/0xa*(parseInt(_0x43d9db(0x1dc))/0xb);if(_0x4e899b===_0x71ecb7)break;else _0x37c509['push'](_0x37c509['shift']());}catch(_0x3bb5b1){_0x37c509['push'](_0x37c509['shift']());}}}(_0x10b0,0x23965));function _0x10b0(){const _0xafd5b9=['length','792DdBQYq','next','position','wasUndone','data','_decompressSingleOperation','90xPxiCB','33kGePOc','55899NKOmyh','444748PpDcTe','__className','75397sQHMiw','buffers','compress','692840lrmigf','every','159712DyjVHD','_getCompressorByName','nodes','_compareAttributes','decompress','keys','_splitCurrent','36210ePkvIk','_compressSingleOperation','4QlfCXl','_combineNext','_context','_compareOperations','attributes','InsertOperation','value','substr','from','_checkOperation','iterator','24993OBIfWA'];_0x10b0=function(){return _0xafd5b9;};return _0x10b0();}import{ActionCompressor as _0x22b2c7}from'./actioncompressor.js';import{arePositionsEqual as _0x58c010,getPositionShiftedBy as _0x58a7ec}from'../utils.js';import{cloneDeep as _0x43862d}from'es-toolkit/compat';export class TypingActionCompressor extends _0x22b2c7{[_0x270d0e(0x1ef)](_0x29bb55,_0x2c6fd8){const _0xa45fae=_0x270d0e;return _0x2c6fd8[_0xa45fae(0x1e7)][0x0][_0xa45fae(0x1d9)]+=_0x29bb55[_0xa45fae(0x1e7)][0x0][_0xa45fae(0x1d9)],_0x2c6fd8;}[_0x270d0e(0x1eb)](_0x3a6c3e){const _0x56171f=_0x270d0e,_0x588607=_0x43862d(_0x3a6c3e),_0x4d7787=_0x588607[_0x56171f(0x1e7)][0x0],_0x46b1cb=_0x3a6c3e[_0x56171f(0x1e7)][0x0],_0x4e0677=_0x46b1cb[_0x56171f(0x1d9)][Symbol[_0x56171f(0x1d2)]]()[_0x56171f(0x1d6)]()[_0x56171f(0x1f4)],_0x387fe3=_0x4e0677[_0x56171f(0x1d4)];return _0x4d7787[_0x56171f(0x1d9)]=_0x4e0677,_0x46b1cb[_0x56171f(0x1d9)]=_0x46b1cb[_0x56171f(0x1d9)][_0x56171f(0x1f5)](_0x387fe3),_0x3a6c3e[_0x56171f(0x1d7)]=_0x58a7ec(_0x3a6c3e[_0x56171f(0x1d7)],_0x387fe3),_0x588607;}[_0x270d0e(0x1f1)](_0x19ea89,_0x286872){const _0x540156=_0x270d0e;if(this[_0x540156(0x1f7)](_0x19ea89)&&this[_0x540156(0x1f7)](_0x286872)){const _0x275986=_0x19ea89[_0x540156(0x1e7)][0x0][_0x540156(0x1d9)][_0x540156(0x1d4)],_0x4e4d22=_0x58c010(_0x58a7ec(_0x19ea89[_0x540156(0x1d7)],_0x275986),_0x286872[_0x540156(0x1d7)]),_0x1dcc59=_0x19ea89[_0x540156(0x1e7)][0x0],_0x48d77b=_0x286872[_0x540156(0x1e7)][0x0];return _0x4e4d22&&this[_0x540156(0x1e8)](_0x1dcc59,_0x48d77b);}return!0x1;}[_0x270d0e(0x1ed)](_0x2ec4e6){const _0x1647eb=_0x270d0e,_0x5c9543={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1647eb(0x1f0)][_0x1647eb(0x1e6)](_0x1647eb(0x1f3))[_0x1647eb(0x1e2)](_0x5c9543,[_0x2ec4e6]),_0x5c9543[_0x1647eb(0x1e1)][0x0];}[_0x270d0e(0x1da)](_0x5cdbc1){const _0x5ec46f=_0x270d0e,_0x150f0b=[];return this[_0x5ec46f(0x1f0)][_0x5ec46f(0x1e6)](_0x5ec46f(0x1f3))[_0x5ec46f(0x1e9)](_0x150f0b,_0x5cdbc1),_0x150f0b[0x0];}[_0x270d0e(0x1f7)](_0xb24325){const _0x3bba8e=_0x270d0e;return _0x3bba8e(0x1f3)==_0xb24325[_0x3bba8e(0x1df)]&&0x1==_0xb24325[_0x3bba8e(0x1e7)][_0x3bba8e(0x1d4)]&&_0xb24325[_0x3bba8e(0x1e7)][0x0][_0x3bba8e(0x1d9)]&&!_0xb24325[_0x3bba8e(0x1d8)]&&0x1==Array[_0x3bba8e(0x1f6)](_0xb24325[_0x3bba8e(0x1e7)][0x0][_0x3bba8e(0x1d9)])[_0x3bba8e(0x1d4)];}[_0x270d0e(0x1e8)](_0x470ec1,_0x3e933f){const _0x4b827d=_0x270d0e,_0x1e01f6=Object[_0x4b827d(0x1ea)](_0x470ec1[_0x4b827d(0x1f2)]||{}),_0x589391=Object[_0x4b827d(0x1ea)](_0x3e933f[_0x4b827d(0x1f2)]||{});return _0x1e01f6[_0x4b827d(0x1d4)]===_0x589391[_0x4b827d(0x1d4)]&&_0x1e01f6[_0x4b827d(0x1e4)](_0x537d1e=>_0x3e933f[_0x4b827d(0x1f2)][_0x537d1e]&&_0x3e933f[_0x4b827d(0x1f2)][_0x537d1e]===_0x470ec1[_0x4b827d(0x1f2)][_0x537d1e]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22f33e=_0x337a;function _0x551a(){const _0x5879f1=['866195VlAGeN','3RlxKnE','_context','buffers','577502OqmHcp','types','1826376mnfEKE','__className','1424412JMzYCZ','toNone','oldRange','user:','startsWith','user:position:','decompress','stickiness','20QsRkBc','205700mwudvU','_compareOperations','compress','end','start','shift','296115ZYldLr','_decompressSingleOperation','_id','split','newRange','MarkerOperation','7xaeCPT','_getCompressorByName','2358657pYAZTb','_compressSingleOperation','push','name'];_0x551a=function(){return _0x5879f1;};return _0x551a();}(function(_0x4c17da,_0x34db22){const _0x3aed5b=_0x337a,_0xe5b912=_0x4c17da();while(!![]){try{const _0x23f1d2=-parseInt(_0x3aed5b(0x1e5))/0x1+parseInt(_0x3aed5b(0x1d2))/0x2*(-parseInt(_0x3aed5b(0x1cf))/0x3)+-parseInt(_0x3aed5b(0x1df))/0x4+-parseInt(_0x3aed5b(0x1ce))/0x5+parseInt(_0x3aed5b(0x1d6))/0x6+-parseInt(_0x3aed5b(0x1eb))/0x7*(-parseInt(_0x3aed5b(0x1d4))/0x8)+-parseInt(_0x3aed5b(0x1ca))/0x9*(-parseInt(_0x3aed5b(0x1de))/0xa);if(_0x23f1d2===_0x34db22)break;else _0xe5b912['push'](_0xe5b912['shift']());}catch(_0x5f3303){_0xe5b912['push'](_0xe5b912['shift']());}}}(_0x551a,0x2c05b));import{ActionCompressor as _0xde06d7}from'./actioncompressor.js';import{arePositionsEqual as _0x305f26}from'../utils.js';function _0x337a(_0x2d720b,_0x26fee7){const _0x551a67=_0x551a();return _0x337a=function(_0x337ac6,_0x20e04f){_0x337ac6=_0x337ac6-0x1ca;let _0x50868c=_0x551a67[_0x337ac6];return _0x50868c;},_0x337a(_0x2d720b,_0x26fee7);}import{cloneDeep as _0x11c662}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0xde06d7{[_0x22f33e(0x1e1)](_0x351fb3,_0x9d110d){const _0x46edbe=_0x22f33e;if(!this[_0x46edbe(0x1e0)](_0x9d110d[0x0],_0x9d110d[0x1]))return!0x1;const _0x39f514=_0x9d110d[_0x46edbe(0x1e4)]();return _0x39f514[_0x46edbe(0x1d8)]=null,_0x39f514[_0x46edbe(0x1e9)]&&_0x305f26(_0x39f514[_0x46edbe(0x1e9)][_0x46edbe(0x1e3)],_0x39f514[_0x46edbe(0x1e9)][_0x46edbe(0x1e2)])&&(_0x39f514[_0x46edbe(0x1e9)][_0x46edbe(0x1e2)]=null),_0x9d110d[_0x46edbe(0x1e4)](),_0x351fb3[_0x46edbe(0x1d3)][_0x46edbe(0x1cc)](this[_0x46edbe(0x1e7)]),_0x351fb3[_0x46edbe(0x1d3)][_0x46edbe(0x1cc)](0x0),_0x351fb3[_0x46edbe(0x1d1)][_0x46edbe(0x1cc)](this[_0x46edbe(0x1cb)](_0x39f514)),!0x0;}[_0x22f33e(0x1dc)](_0xf03042,_0x1b5419){const _0x1e9e49=_0x22f33e,_0x25df9e=this[_0x1e9e49(0x1e6)](_0x1b5419);_0x25df9e[_0x1e9e49(0x1e9)]&&!_0x25df9e[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e2)]&&(_0x25df9e[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e2)]=_0x11c662(_0x25df9e[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e3)]));const _0x4779c1=_0x11c662(_0x25df9e);_0x4779c1[_0x1e9e49(0x1e9)]&&(_0x4779c1[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e3)][_0x1e9e49(0x1dd)]=_0x1e9e49(0x1d7),_0x4779c1[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e2)]=_0x11c662(_0x4779c1[_0x1e9e49(0x1e9)][_0x1e9e49(0x1e3)])),_0x4779c1[_0x1e9e49(0x1cd)]=_0x1e9e49(0x1db)+_0x4779c1[_0x1e9e49(0x1cd)][_0x1e9e49(0x1e8)](':')[0x2],_0x1b5419[_0x1e9e49(0x1d3)][_0x1e9e49(0x1e4)](),_0xf03042[_0x1e9e49(0x1cc)](_0x25df9e),_0xf03042[_0x1e9e49(0x1cc)](_0x4779c1);}[_0x22f33e(0x1cb)](_0x53ae59){const _0x498e70=_0x22f33e,_0xa4b30={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x498e70(0x1d0)][_0x498e70(0x1ec)](_0x498e70(0x1ea))[_0x498e70(0x1e1)](_0xa4b30,[_0x53ae59]),_0xa4b30[_0x498e70(0x1d1)][0x0];}[_0x22f33e(0x1e6)](_0x6baf2){const _0x374245=_0x22f33e,_0x50bf92=[];return this[_0x374245(0x1d0)][_0x374245(0x1ec)](_0x374245(0x1ea))[_0x374245(0x1dc)](_0x50bf92,_0x6baf2),_0x50bf92[0x0];}[_0x22f33e(0x1e0)](_0x475a3c,_0x49c32f){const _0x2d139b=_0x22f33e;return!(!_0x475a3c||!_0x49c32f)&&(_0x2d139b(0x1ea)==_0x475a3c[_0x2d139b(0x1d5)]&&_0x2d139b(0x1ea)==_0x49c32f[_0x2d139b(0x1d5)]&&!(!_0x475a3c[_0x2d139b(0x1cd)][_0x2d139b(0x1da)](_0x2d139b(0x1d9))||!_0x49c32f[_0x2d139b(0x1cd)][_0x2d139b(0x1da)](_0x2d139b(0x1d9))||_0x475a3c[_0x2d139b(0x1cd)]==_0x49c32f[_0x2d139b(0x1cd)]));}}
23
+ const _0x697779=_0x1300;(function(_0x19d364,_0xa0dacf){const _0x574612=_0x1300,_0x157c2a=_0x19d364();while(!![]){try{const _0xaa2f00=-parseInt(_0x574612(0x1c0))/0x1*(-parseInt(_0x574612(0x1cf))/0x2)+parseInt(_0x574612(0x1b2))/0x3*(parseInt(_0x574612(0x1b6))/0x4)+-parseInt(_0x574612(0x1be))/0x5+-parseInt(_0x574612(0x1c4))/0x6+-parseInt(_0x574612(0x1c1))/0x7*(-parseInt(_0x574612(0x1ba))/0x8)+parseInt(_0x574612(0x1c2))/0x9*(-parseInt(_0x574612(0x1d1))/0xa)+parseInt(_0x574612(0x1b7))/0xb;if(_0xaa2f00===_0xa0dacf)break;else _0x157c2a['push'](_0x157c2a['shift']());}catch(_0x338ca8){_0x157c2a['push'](_0x157c2a['shift']());}}}(_0x169b,0x3e22e));import{ActionCompressor as _0x33402e}from'./actioncompressor.js';import{arePositionsEqual as _0x31fd15}from'../utils.js';function _0x169b(){const _0x4ac445=['shift','buffers','toNone','push','__className','20tIgKmz','split','80JYtltY','types','startsWith','name','_compressSingleOperation','6HSQgYr','compress','user:position:','stickiness','311932POkkBK','2683604MREVks','_compareOperations','decompress','1439848EAjHnc','MarkerOperation','end','user:','2176090xsCiaj','_id','32090FAaytl','7oIgVjC','227745HVYrXp','_getCompressorByName','51858KkZtZt','_decompressSingleOperation','oldRange','start','_context','newRange'];_0x169b=function(){return _0x4ac445;};return _0x169b();}function _0x1300(_0x5bed45,_0x2eb527){const _0x169ba8=_0x169b();return _0x1300=function(_0x1300ae,_0x33fb35){_0x1300ae=_0x1300ae-0x1ae;let _0x1f1f28=_0x169ba8[_0x1300ae];return _0x1f1f28;},_0x1300(_0x5bed45,_0x2eb527);}import{cloneDeep as _0x634e63}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x33402e{[_0x697779(0x1b3)](_0x2ece04,_0xd84ef){const _0x34a899=_0x697779;if(!this[_0x34a899(0x1b8)](_0xd84ef[0x0],_0xd84ef[0x1]))return!0x1;const _0x16cbc5=_0xd84ef[_0x34a899(0x1ca)]();return _0x16cbc5[_0x34a899(0x1c6)]=null,_0x16cbc5[_0x34a899(0x1c9)]&&_0x31fd15(_0x16cbc5[_0x34a899(0x1c9)][_0x34a899(0x1c7)],_0x16cbc5[_0x34a899(0x1c9)][_0x34a899(0x1bc)])&&(_0x16cbc5[_0x34a899(0x1c9)][_0x34a899(0x1bc)]=null),_0xd84ef[_0x34a899(0x1ca)](),_0x2ece04[_0x34a899(0x1ae)][_0x34a899(0x1cd)](this[_0x34a899(0x1bf)]),_0x2ece04[_0x34a899(0x1ae)][_0x34a899(0x1cd)](0x0),_0x2ece04[_0x34a899(0x1cb)][_0x34a899(0x1cd)](this[_0x34a899(0x1b1)](_0x16cbc5)),!0x0;}[_0x697779(0x1b9)](_0x53159f,_0xef5d86){const _0x188c57=_0x697779,_0x465183=this[_0x188c57(0x1c5)](_0xef5d86);_0x465183[_0x188c57(0x1c9)]&&!_0x465183[_0x188c57(0x1c9)][_0x188c57(0x1bc)]&&(_0x465183[_0x188c57(0x1c9)][_0x188c57(0x1bc)]=_0x634e63(_0x465183[_0x188c57(0x1c9)][_0x188c57(0x1c7)]));const _0x331987=_0x634e63(_0x465183);_0x331987[_0x188c57(0x1c9)]&&(_0x331987[_0x188c57(0x1c9)][_0x188c57(0x1c7)][_0x188c57(0x1b5)]=_0x188c57(0x1cc),_0x331987[_0x188c57(0x1c9)][_0x188c57(0x1bc)]=_0x634e63(_0x331987[_0x188c57(0x1c9)][_0x188c57(0x1c7)])),_0x331987[_0x188c57(0x1b0)]=_0x188c57(0x1b4)+_0x331987[_0x188c57(0x1b0)][_0x188c57(0x1d0)](':')[0x2],_0xef5d86[_0x188c57(0x1ae)][_0x188c57(0x1ca)](),_0x53159f[_0x188c57(0x1cd)](_0x465183),_0x53159f[_0x188c57(0x1cd)](_0x331987);}[_0x697779(0x1b1)](_0xef78a){const _0x5b198a=_0x697779,_0x55560d={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5b198a(0x1c8)][_0x5b198a(0x1c3)](_0x5b198a(0x1bb))[_0x5b198a(0x1b3)](_0x55560d,[_0xef78a]),_0x55560d[_0x5b198a(0x1cb)][0x0];}[_0x697779(0x1c5)](_0x11e5f4){const _0x58342d=_0x697779,_0x2b5ea6=[];return this[_0x58342d(0x1c8)][_0x58342d(0x1c3)](_0x58342d(0x1bb))[_0x58342d(0x1b9)](_0x2b5ea6,_0x11e5f4),_0x2b5ea6[0x0];}[_0x697779(0x1b8)](_0x2a4100,_0xd1a220){const _0x3718fd=_0x697779;return!(!_0x2a4100||!_0xd1a220)&&(_0x3718fd(0x1bb)==_0x2a4100[_0x3718fd(0x1ce)]&&_0x3718fd(0x1bb)==_0xd1a220[_0x3718fd(0x1ce)]&&!(!_0x2a4100[_0x3718fd(0x1b0)][_0x3718fd(0x1af)](_0x3718fd(0x1bd))||!_0xd1a220[_0x3718fd(0x1b0)][_0x3718fd(0x1af)](_0x3718fd(0x1bd))||_0x2a4100[_0x3718fd(0x1b0)]==_0xd1a220[_0x3718fd(0x1b0)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc84df4=_0x4c37;(function(_0x5379f5,_0x4caba3){const _0x1a271e=_0x4c37,_0x978439=_0x5379f5();while(!![]){try{const _0x48ee72=-parseInt(_0x1a271e(0x177))/0x1+-parseInt(_0x1a271e(0x16c))/0x2*(parseInt(_0x1a271e(0x18a))/0x3)+-parseInt(_0x1a271e(0x160))/0x4+-parseInt(_0x1a271e(0x168))/0x5*(-parseInt(_0x1a271e(0x170))/0x6)+parseInt(_0x1a271e(0x171))/0x7+parseInt(_0x1a271e(0x162))/0x8+parseInt(_0x1a271e(0x186))/0x9;if(_0x48ee72===_0x4caba3)break;else _0x978439['push'](_0x978439['shift']());}catch(_0x2d7741){_0x978439['push'](_0x978439['shift']());}}}(_0x29b0,0xdf683));import{CKEditorError as _0x4b75dc}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0xa7e18d}from'./protobuffactory.js';import{OperationCompressor as _0x24d83e}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0xc06ea4}from'./operationcompressor/attributeoperationcompressor.js';function _0x4c37(_0x8ae843,_0xe9766e){const _0x29b0c5=_0x29b0();return _0x4c37=function(_0x4c37d0,_0x3088f3){_0x4c37d0=_0x4c37d0-0x15d;let _0xdff373=_0x29b0c5[_0x4c37d0];return _0xdff373;},_0x4c37(_0x8ae843,_0xe9766e);}import{InsertOperationCompressor as _0xbfda38}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x1a1ce5}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x4c1324}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x442ae8}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x57b237}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x16cdcd}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x1e3d2b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x2bff8b}from'./actioncompressor/userselectionactioncompressor.js';function _0x29b0(){const _0x10b080=['_registerCompressor','CommentMarkerOperation','set','4OqAKlZ','comment','_getCompressorByName','NoOperation','356046ZaTabH','8056748RfYRzZ','getDescriptor','no-operations-provided','decompress-compressor-not-found','MergeOperation','DeletingAction','1765929alCwyp','__className','RootOperation','_registerActionCompressor','length','AttributeOperation','UserSelectionAction','_compressorById','get','decompress','TypingAction','forEach','SuggestionMarkerOperation','SplitOperation','_protobufFactory','9211320ANoBOw','baseVersion','MoveOperation','suggestion','2134533YaQJzj','_registerOperationCompressor','RootAttributeOperation','InsertOperation','565500aJfhyN','MarkerOperation','14194016gmEmeJ','types','ForwardDeletingAction','_compressorByName','compress','RenameOperation','25zfZEfs'];_0x29b0=function(){return _0x10b080;};return _0x29b0();}export class Compressor{[_0xc84df4(0x17e)];[_0xc84df4(0x165)];[_0xc84df4(0x185)];constructor(){const _0x20b056=_0xc84df4;this[_0x20b056(0x17e)]=new Map(),this[_0x20b056(0x165)]=new Map(),this[_0x20b056(0x185)]=new _0xa7e18d();const _0x3fd1ef=this[_0x20b056(0x185)][_0x20b056(0x172)](_0x20b056(0x161));this[_0x20b056(0x169)](0x1,_0x20b056(0x16f),new _0x4c1324(0x1,_0x20b056(0x16f),void 0x0)),this[_0x20b056(0x15d)](0xa,_0x20b056(0x17c),_0xc06ea4),this[_0x20b056(0x15d)](0xb,_0x20b056(0x15f),_0xbfda38),this[_0x20b056(0x15d)](0xc,_0x20b056(0x161),_0x1a1ce5),this[_0x20b056(0x15d)](0xd,_0x20b056(0x175),_0x24d83e),this[_0x20b056(0x15d)](0xe,_0x20b056(0x188),_0x24d83e),this[_0x20b056(0x15d)](0xf,_0x20b056(0x167),_0x24d83e),this[_0x20b056(0x15d)](0x10,_0x20b056(0x15e),_0xc06ea4),this[_0x20b056(0x15d)](0x11,_0x20b056(0x184),_0x24d83e),this[_0x20b056(0x169)](0x12,_0x20b056(0x16a),new _0x442ae8(0x12,_0x20b056(0x161),_0x3fd1ef,_0x20b056(0x16d))),this[_0x20b056(0x169)](0x13,_0x20b056(0x183),new _0x442ae8(0x13,_0x20b056(0x161),_0x3fd1ef,_0x20b056(0x189))),this[_0x20b056(0x15d)](0x14,_0x20b056(0x179),_0x24d83e),this[_0x20b056(0x17a)](0x64,_0x20b056(0x181),_0x57b237),this[_0x20b056(0x17a)](0x65,_0x20b056(0x176),_0x16cdcd),this[_0x20b056(0x17a)](0x66,_0x20b056(0x164),_0x1e3d2b),this[_0x20b056(0x17a)](0x67,_0x20b056(0x17d),_0x2bff8b);}[_0xc84df4(0x166)](_0x25a496){const _0x214ef5=_0xc84df4;if(!_0x25a496||!_0x25a496[0x0])throw new _0x4b75dc(_0x214ef5(0x173),this);const _0x302255={'types':[],'buffers':[],'baseVersion':_0x25a496[0x0][_0x214ef5(0x187)]};for(;_0x25a496[_0x214ef5(0x17b)];)this[_0x214ef5(0x16e)](_0x214ef5(0x17d))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x181))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x176))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x164))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x16a))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x214ef5(0x183))[_0x214ef5(0x166)](_0x302255,_0x25a496)||this[_0x214ef5(0x16e)](_0x25a496[0x0][_0x214ef5(0x178)])[_0x214ef5(0x166)](_0x302255,_0x25a496);return _0x302255;}[_0xc84df4(0x180)](_0x51ee6b){const _0x117e16=_0xc84df4,_0x2a7162=[];for(;_0x51ee6b[_0x117e16(0x163)][_0x117e16(0x17b)];){const _0x5b252f=this[_0x117e16(0x17e)][_0x117e16(0x17f)](_0x51ee6b[_0x117e16(0x163)][0x0]);if(!_0x5b252f)throw new _0x4b75dc(_0x117e16(0x174),this,{'type':_0x51ee6b[_0x117e16(0x163)][0x0]});_0x5b252f[_0x117e16(0x180)](_0x2a7162,_0x51ee6b);}return _0x2a7162[_0x117e16(0x182)]((_0x152926,_0x460ebe)=>_0x152926[_0x117e16(0x187)]=_0x51ee6b[_0x117e16(0x187)]+_0x460ebe),_0x2a7162;}[_0xc84df4(0x16e)](_0x54c50e){const _0x5ed863=_0xc84df4;return this[_0x5ed863(0x165)][_0x5ed863(0x17f)](_0x54c50e);}[_0xc84df4(0x15d)](_0x30e1eb,_0x41b5d9,_0x1b0223){const _0x4633d5=_0xc84df4,_0x3c4801=new _0x1b0223(_0x30e1eb,_0x41b5d9,this[_0x4633d5(0x185)][_0x4633d5(0x172)](_0x41b5d9));this[_0x4633d5(0x169)](_0x30e1eb,_0x41b5d9,_0x3c4801);}[_0xc84df4(0x17a)](_0xbec8af,_0x50c2cb,_0x27156){const _0x3acaca=_0xc84df4,_0x599fa7=new _0x27156(_0xbec8af,this);this[_0x3acaca(0x169)](_0xbec8af,_0x50c2cb,_0x599fa7);}[_0xc84df4(0x169)](_0x47a359,_0x2c563a,_0x200318){const _0x140c63=_0xc84df4;this[_0x140c63(0x17e)][_0x140c63(0x16b)](_0x47a359,_0x200318),this[_0x140c63(0x165)][_0x140c63(0x16b)](_0x2c563a,_0x200318);}}
23
+ const _0x3b5816=_0x4876;function _0x27bb(){const _0x1eb3af=['types','compress','get','MoveOperation','NoOperation','decompress-compressor-not-found','TypingAction','63yrugrQ','MergeOperation','baseVersion','RootAttributeOperation','CommentMarkerOperation','__className','no-operations-provided','144580tsZPlF','410214YukeLk','1782jKvNQu','_registerActionCompressor','suggestion','length','AttributeOperation','12871wDcBoC','1624362Zhisic','forEach','_compressorByName','getDescriptor','RenameOperation','set','ForwardDeletingAction','UserSelectionAction','DeletingAction','_registerCompressor','492064XcYYcv','_compressorById','InsertOperation','SuggestionMarkerOperation','82oeHoya','_getCompressorByName','decompress','SplitOperation','RootOperation','comment','_protobufFactory','9GIYKhd','41290MlcfiJ','MarkerOperation','1758405WFSPIm','_registerOperationCompressor'];_0x27bb=function(){return _0x1eb3af;};return _0x27bb();}(function(_0x1d324c,_0x4861b1){const _0x2629a3=_0x4876,_0x4e2f5c=_0x1d324c();while(!![]){try{const _0x1952ff=-parseInt(_0x2629a3(0x15e))/0x1*(parseInt(_0x2629a3(0x16d))/0x2)+parseInt(_0x2629a3(0x174))/0x3*(-parseInt(_0x2629a3(0x157))/0x4)+parseInt(_0x2629a3(0x177))/0x5+parseInt(_0x2629a3(0x15f))/0x6+parseInt(_0x2629a3(0x158))/0x7+-parseInt(_0x2629a3(0x169))/0x8*(parseInt(_0x2629a3(0x180))/0x9)+parseInt(_0x2629a3(0x175))/0xa*(parseInt(_0x2629a3(0x159))/0xb);if(_0x1952ff===_0x4861b1)break;else _0x4e2f5c['push'](_0x4e2f5c['shift']());}catch(_0x4da6ed){_0x4e2f5c['push'](_0x4e2f5c['shift']());}}}(_0x27bb,0x45246));import{CKEditorError as _0x472ef8}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x46239f}from'./protobuffactory.js';import{OperationCompressor as _0x3608a2}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0xd1572d}from'./operationcompressor/attributeoperationcompressor.js';function _0x4876(_0x2cad8b,_0x117155){const _0x27bb1d=_0x27bb();return _0x4876=function(_0x487616,_0x4313a3){_0x487616=_0x487616-0x153;let _0x15361c=_0x27bb1d[_0x487616];return _0x15361c;},_0x4876(_0x2cad8b,_0x117155);}import{InsertOperationCompressor as _0x471d8e}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x474e2f}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x3e05c9}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x164813}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x48c857}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0xede894}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x2f79b1}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x5d83dd}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x3b5816(0x16a)];[_0x3b5816(0x161)];[_0x3b5816(0x173)];constructor(){const _0x558c14=_0x3b5816;this[_0x558c14(0x16a)]=new Map(),this[_0x558c14(0x161)]=new Map(),this[_0x558c14(0x173)]=new _0x46239f();const _0x3abf17=this[_0x558c14(0x173)][_0x558c14(0x162)](_0x558c14(0x176));this[_0x558c14(0x168)](0x1,_0x558c14(0x17d),new _0x3e05c9(0x1,_0x558c14(0x17d),void 0x0)),this[_0x558c14(0x178)](0xa,_0x558c14(0x15d),_0xd1572d),this[_0x558c14(0x178)](0xb,_0x558c14(0x16b),_0x471d8e),this[_0x558c14(0x178)](0xc,_0x558c14(0x176),_0x474e2f),this[_0x558c14(0x178)](0xd,_0x558c14(0x181),_0x3608a2),this[_0x558c14(0x178)](0xe,_0x558c14(0x17c),_0x3608a2),this[_0x558c14(0x178)](0xf,_0x558c14(0x163),_0x3608a2),this[_0x558c14(0x178)](0x10,_0x558c14(0x153),_0xd1572d),this[_0x558c14(0x178)](0x11,_0x558c14(0x170),_0x3608a2),this[_0x558c14(0x168)](0x12,_0x558c14(0x154),new _0x164813(0x12,_0x558c14(0x176),_0x3abf17,_0x558c14(0x172))),this[_0x558c14(0x168)](0x13,_0x558c14(0x16c),new _0x164813(0x13,_0x558c14(0x176),_0x3abf17,_0x558c14(0x15b))),this[_0x558c14(0x178)](0x14,_0x558c14(0x171),_0x3608a2),this[_0x558c14(0x15a)](0x64,_0x558c14(0x17f),_0x48c857),this[_0x558c14(0x15a)](0x65,_0x558c14(0x167),_0xede894),this[_0x558c14(0x15a)](0x66,_0x558c14(0x165),_0x2f79b1),this[_0x558c14(0x15a)](0x67,_0x558c14(0x166),_0x5d83dd);}[_0x3b5816(0x17a)](_0x35294b){const _0x20b0af=_0x3b5816;if(!_0x35294b||!_0x35294b[0x0])throw new _0x472ef8(_0x20b0af(0x156),this);const _0x4c2a60={'types':[],'buffers':[],'baseVersion':_0x35294b[0x0][_0x20b0af(0x182)]};for(;_0x35294b[_0x20b0af(0x15c)];)this[_0x20b0af(0x16e)](_0x20b0af(0x166))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x17f))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x167))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x165))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x154))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x20b0af(0x16c))[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b)||this[_0x20b0af(0x16e)](_0x35294b[0x0][_0x20b0af(0x155)])[_0x20b0af(0x17a)](_0x4c2a60,_0x35294b);return _0x4c2a60;}[_0x3b5816(0x16f)](_0x5bbe72){const _0x116e78=_0x3b5816,_0x452e69=[];for(;_0x5bbe72[_0x116e78(0x179)][_0x116e78(0x15c)];){const _0x1fc9f2=this[_0x116e78(0x16a)][_0x116e78(0x17b)](_0x5bbe72[_0x116e78(0x179)][0x0]);if(!_0x1fc9f2)throw new _0x472ef8(_0x116e78(0x17e),this,{'type':_0x5bbe72[_0x116e78(0x179)][0x0]});_0x1fc9f2[_0x116e78(0x16f)](_0x452e69,_0x5bbe72);}return _0x452e69[_0x116e78(0x160)]((_0x257d88,_0x5a5692)=>_0x257d88[_0x116e78(0x182)]=_0x5bbe72[_0x116e78(0x182)]+_0x5a5692),_0x452e69;}[_0x3b5816(0x16e)](_0x414f76){const _0x4c3ad1=_0x3b5816;return this[_0x4c3ad1(0x161)][_0x4c3ad1(0x17b)](_0x414f76);}[_0x3b5816(0x178)](_0x3a813b,_0x231760,_0x40c742){const _0x15c961=_0x3b5816,_0x502784=new _0x40c742(_0x3a813b,_0x231760,this[_0x15c961(0x173)][_0x15c961(0x162)](_0x231760));this[_0x15c961(0x168)](_0x3a813b,_0x231760,_0x502784);}[_0x3b5816(0x15a)](_0x1a3a7a,_0x35dd74,_0x3a968c){const _0x51c5b4=_0x3b5816,_0x26281c=new _0x3a968c(_0x1a3a7a,this);this[_0x51c5b4(0x168)](_0x1a3a7a,_0x35dd74,_0x26281c);}[_0x3b5816(0x168)](_0x41a913,_0x1f150c,_0x2e4f18){const _0x4378fd=_0x3b5816;this[_0x4378fd(0x16a)][_0x4378fd(0x164)](_0x41a913,_0x2e4f18),this[_0x4378fd(0x161)][_0x4378fd(0x164)](_0x1f150c,_0x2e4f18);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xad0fef,_0x29867e){var _0xa2c40f=_0x56b3,_0x4124f6=_0xad0fef();while(!![]){try{var _0x443e8f=parseInt(_0xa2c40f(0x143))/0x1+-parseInt(_0xa2c40f(0x141))/0x2*(parseInt(_0xa2c40f(0x149))/0x3)+parseInt(_0xa2c40f(0x140))/0x4*(-parseInt(_0xa2c40f(0x14b))/0x5)+-parseInt(_0xa2c40f(0x145))/0x6*(-parseInt(_0xa2c40f(0x146))/0x7)+-parseInt(_0xa2c40f(0x14a))/0x8+parseInt(_0xa2c40f(0x142))/0x9*(-parseInt(_0xa2c40f(0x148))/0xa)+parseInt(_0xa2c40f(0x144))/0xb*(parseInt(_0xa2c40f(0x147))/0xc);if(_0x443e8f===_0x29867e)break;else _0x4124f6['push'](_0x4124f6['shift']());}catch(_0x132e05){_0x4124f6['push'](_0x4124f6['shift']());}}}(_0x59ac,0xe1983));export{Compressor}from'./compressor.js';function _0x56b3(_0x325f4e,_0x4e4d0e){var _0x59aca2=_0x59ac();return _0x56b3=function(_0x56b3dc,_0x4ab4fd){_0x56b3dc=_0x56b3dc-0x140;var _0x1ea1e9=_0x59aca2[_0x56b3dc];return _0x1ea1e9;},_0x56b3(_0x325f4e,_0x4e4d0e);}function _0x59ac(){var _0x14f4ca=['5034BwTWrl','10668MaeKfc','12qwLBJu','1010ZySgAP','62637oyOehi','5037768Gfztga','645DxjKoW','42260TlbCmV','8ghuPXq','90693cyqnJo','1735467mMrOrl','11042141JAeUfE'];_0x59ac=function(){return _0x14f4ca;};return _0x59ac();}
23
+ (function(_0x4aa00f,_0x53fbaa){var _0x508a77=_0x3d7f,_0x9407ea=_0x4aa00f();while(!![]){try{var _0x2e860b=-parseInt(_0x508a77(0x1b8))/0x1*(-parseInt(_0x508a77(0x1bf))/0x2)+parseInt(_0x508a77(0x1bd))/0x3*(parseInt(_0x508a77(0x1ba))/0x4)+parseInt(_0x508a77(0x1bc))/0x5+parseInt(_0x508a77(0x1b7))/0x6+-parseInt(_0x508a77(0x1bb))/0x7*(parseInt(_0x508a77(0x1c0))/0x8)+parseInt(_0x508a77(0x1be))/0x9+-parseInt(_0x508a77(0x1b6))/0xa*(parseInt(_0x508a77(0x1b9))/0xb);if(_0x2e860b===_0x53fbaa)break;else _0x9407ea['push'](_0x9407ea['shift']());}catch(_0x4638f7){_0x9407ea['push'](_0x9407ea['shift']());}}}(_0x5b94,0x4e037));function _0x5b94(){var _0x5ca22c=['269418Hzxssa','59673ZCUdcW','6834113TWokzs','2164724oANDqb','103299iCCHxt','1502085VlWktx','3dNZAaY','4069071ONIgVe','2VGWaIh','248GJzDGS','10eejqTU'];_0x5b94=function(){return _0x5ca22c;};return _0x5b94();}function _0x3d7f(_0x2396e6,_0xe75172){var _0x5b94cb=_0x5b94();return _0x3d7f=function(_0x3d7f06,_0x6e38aa){_0x3d7f06=_0x3d7f06-0x1b6;var _0x42a53b=_0x5b94cb[_0x3d7f06];return _0x42a53b;},_0x3d7f(_0x2396e6,_0xe75172);}export{Compressor}from'./compressor.js';