@ckeditor/ckeditor5-operations-compressor 46.0.1 → 46.0.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2df180=_0x20f3;(function(_0x40d2d1,_0x4da70f){const _0x1cac34=_0x20f3,_0x389b86=_0x40d2d1();while(!![]){try{const _0x45c462=parseInt(_0x1cac34(0x162))/0x1+-parseInt(_0x1cac34(0x17b))/0x2*(-parseInt(_0x1cac34(0x164))/0x3)+-parseInt(_0x1cac34(0x173))/0x4*(-parseInt(_0x1cac34(0x16f))/0x5)+-parseInt(_0x1cac34(0x16c))/0x6*(-parseInt(_0x1cac34(0x17a))/0x7)+parseInt(_0x1cac34(0x16e))/0x8+-parseInt(_0x1cac34(0x169))/0x9*(-parseInt(_0x1cac34(0x167))/0xa)+-parseInt(_0x1cac34(0x177))/0xb;if(_0x45c462===_0x4da70f)break;else _0x389b86['push'](_0x389b86['shift']());}catch(_0x457a45){_0x389b86['push'](_0x389b86['shift']());}}}(_0x123b,0xb4d8e));import{ActionCompressor as _0x13c17e}from'./actioncompressor.js';function _0x123b(){const _0x589de8=['6kiovRl','decompress','howMany','_compressSingleOperation','_decompressSingleOperation','625267nQJrWD','buffers','1158447xgPOBK','_context','compress','6389260jnymls','_splitCurrent','18NBDgHn','targetPosition','_getCompressorByName','2425110zZDSVp','MoveOperation','11575536NDiQyw','461030TKxjrU','__className','wasUndone','root','44thRYSB','_checkOperation','_combineNext','$graveyard','57048299BYJJso','sourcePosition','_compareOperations','7yMdxZm'];_0x123b=function(){return _0x589de8;};return _0x123b();}import{arePositionsEqual as _0x338381,getPositionShiftedBy as _0x8b04d4}from'../utils.js';function _0x20f3(_0x3765d5,_0x2f1b61){const _0x123b7d=_0x123b();return _0x20f3=function(_0x20f322,_0x5ad0c5){_0x20f322=_0x20f322-0x15e;let _0x4f603b=_0x123b7d[_0x20f322];return _0x4f603b;},_0x20f3(_0x3765d5,_0x2f1b61);}import{cloneDeep as _0x2a3a04}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x13c17e{[_0x2df180(0x175)](_0x4df861,_0x56fca0){const _0x2bf6c4=_0x2df180;return _0x56fca0[_0x2bf6c4(0x15f)]++,_0x56fca0[_0x2bf6c4(0x178)]=_0x2a3a04(_0x4df861[_0x2bf6c4(0x178)]),_0x56fca0;}[_0x2df180(0x168)](_0x36719c){const _0x59ee7f=_0x2df180,_0x432dfe=_0x2a3a04(_0x36719c);return _0x36719c[_0x59ee7f(0x15f)]--,_0x432dfe[_0x59ee7f(0x15f)]=0x1,_0x432dfe[_0x59ee7f(0x178)]=_0x8b04d4(_0x432dfe[_0x59ee7f(0x178)],_0x36719c[_0x59ee7f(0x15f)]),_0x432dfe;}[_0x2df180(0x179)](_0x251b03,_0x4c6914){const _0x1182c4=_0x2df180;return!(!this[_0x1182c4(0x174)](_0x251b03)||!this[_0x1182c4(0x174)](_0x4c6914))&&(_0x338381(_0x8b04d4(_0x251b03[_0x1182c4(0x178)],-0x1),_0x4c6914[_0x1182c4(0x178)])&&_0x338381(_0x251b03[_0x1182c4(0x16a)],_0x4c6914[_0x1182c4(0x16a)]));}[_0x2df180(0x160)](_0x5bab17){const _0x338909=_0x2df180,_0x27c6f3={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x338909(0x165)][_0x338909(0x16b)](_0x338909(0x16d))[_0x338909(0x166)](_0x27c6f3,[_0x5bab17]),_0x27c6f3[_0x338909(0x163)][0x0];}[_0x2df180(0x161)](_0x11352b){const _0x76c34e=_0x2df180,_0x14a046=[];return this[_0x76c34e(0x165)][_0x76c34e(0x16b)](_0x76c34e(0x16d))[_0x76c34e(0x15e)](_0x14a046,_0x11352b),_0x14a046[0x0];}[_0x2df180(0x174)](_0x5000ff){const _0x2f6ded=_0x2df180;return _0x2f6ded(0x16d)==_0x5000ff[_0x2f6ded(0x170)]&&_0x2f6ded(0x176)==_0x5000ff[_0x2f6ded(0x16a)][_0x2f6ded(0x172)]&&0x1==_0x5000ff[_0x2f6ded(0x15f)]&&!_0x5000ff[_0x2f6ded(0x171)];}}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa6bb(_0x36057c,_0x5fec74){const _0x107e18=_0x107e();return _0xa6bb=function(_0xa6bbac,_0x4e4deb){_0xa6bbac=_0xa6bbac-0x1b3;let _0x292f65=_0x107e18[_0xa6bbac];return _0x292f65;},_0xa6bb(_0x36057c,_0x5fec74);}const _0x1ac65d=_0xa6bb;(function(_0x165201,_0x4034e5){const _0x445811=_0xa6bb,_0x1bce72=_0x165201();while(!![]){try{const _0x2915ea=parseInt(_0x445811(0x1bb))/0x1*(parseInt(_0x445811(0x1cc))/0x2)+-parseInt(_0x445811(0x1c3))/0x3+parseInt(_0x445811(0x1be))/0x4*(parseInt(_0x445811(0x1c2))/0x5)+-parseInt(_0x445811(0x1b8))/0x6+parseInt(_0x445811(0x1b9))/0x7+parseInt(_0x445811(0x1b5))/0x8+-parseInt(_0x445811(0x1bf))/0x9*(-parseInt(_0x445811(0x1b7))/0xa);if(_0x2915ea===_0x4034e5)break;else _0x1bce72['push'](_0x1bce72['shift']());}catch(_0xaddcc3){_0x1bce72['push'](_0x1bce72['shift']());}}}(_0x107e,0x58d68));import{ActionCompressor as _0x1ed449}from'./actioncompressor.js';import{arePositionsEqual as _0x2922f6}from'../utils.js';import{cloneDeep as _0x33ea94}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x1ed449{[_0x1ac65d(0x1b6)](_0x565ca6,_0x39b5cd){const _0x123992=_0x1ac65d;return _0x39b5cd[_0x123992(0x1c6)]++,_0x39b5cd;}[_0x1ac65d(0x1c0)](_0x1c77b5){const _0x2614bf=_0x1ac65d,_0x1a4210=_0x33ea94(_0x1c77b5);return _0x1a4210[_0x2614bf(0x1c6)]=0x1,_0x1c77b5[_0x2614bf(0x1c6)]--,_0x1a4210;}[_0x1ac65d(0x1cf)](_0x29464e,_0x2b2aba){const _0x32ac23=_0x1ac65d;return!(!this[_0x32ac23(0x1c7)](_0x29464e)||!this[_0x32ac23(0x1c7)](_0x2b2aba))&&(_0x2922f6(_0x29464e[_0x32ac23(0x1c9)],_0x2b2aba[_0x32ac23(0x1c9)])&&_0x2922f6(_0x29464e[_0x32ac23(0x1c8)],_0x2b2aba[_0x32ac23(0x1c8)]));}[_0x1ac65d(0x1cd)](_0x117364){const _0x5dc331=_0x1ac65d,_0x5bd3d4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5dc331(0x1c4)][_0x5dc331(0x1cb)](_0x5dc331(0x1bc))[_0x5dc331(0x1bd)](_0x5bd3d4,[_0x117364]),_0x5bd3d4[_0x5dc331(0x1ce)][0x0];}[_0x1ac65d(0x1c1)](_0x453406){const _0x187f6d=_0x1ac65d,_0x3564e8=[];return this[_0x187f6d(0x1c4)][_0x187f6d(0x1cb)](_0x187f6d(0x1bc))[_0x187f6d(0x1c5)](_0x3564e8,_0x453406),_0x3564e8[0x0];}[_0x1ac65d(0x1c7)](_0x4bbf56){const _0x2f502e=_0x1ac65d;return _0x2f502e(0x1bc)==_0x4bbf56[_0x2f502e(0x1b4)]&&_0x2f502e(0x1ba)==_0x4bbf56[_0x2f502e(0x1c8)][_0x2f502e(0x1ca)]&&0x1==_0x4bbf56[_0x2f502e(0x1c6)]&&!_0x4bbf56[_0x2f502e(0x1b3)];}}function _0x107e(){const _0x42e00c=['_decompressSingleOperation','5ezWrtn','2047047JynjfG','_context','decompress','howMany','_checkOperation','targetPosition','sourcePosition','root','_getCompressorByName','138YSrnim','_compressSingleOperation','buffers','_compareOperations','wasUndone','__className','1177432UWdaxe','_combineNext','20780OAsIey','2980350IJHFrg','4893742JQEfgb','$graveyard','6410xodFyw','MoveOperation','compress','709972ZfzFpJ','333XORgfj','_splitCurrent'];_0x107e=function(){return _0x42e00c;};return _0x107e();}
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)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5874(){const _0x4a415e=['50XHVIfD','_splitCurrent','value','data','910107HUbazR','keys','next','_decompressSingleOperation','95gstXOi','buffers','_combineNext','attributes','length','198150KNOICM','__className','436yocjtW','decompress','iterator','every','_compressSingleOperation','_checkOperation','from','InsertOperation','wasUndone','substr','_compareOperations','5218311hOBECQ','13483294QudzJx','position','82280awAYQG','_compareAttributes','compress','10653mghMWB','_context','2rQTJtu','_getCompressorByName','2623864zgnKPc','nodes'];_0x5874=function(){return _0x4a415e;};return _0x5874();}const _0x3c5ee0=_0x5b59;(function(_0x3997a8,_0x25ecf3){const _0x45e9e5=_0x5b59,_0x38b613=_0x3997a8();while(!![]){try{const _0x59fcb4=-parseInt(_0x45e9e5(0x11e))/0x1*(-parseInt(_0x45e9e5(0x119))/0x2)+-parseInt(_0x45e9e5(0x11c))/0x3*(parseInt(_0x45e9e5(0x131))/0x4)+parseInt(_0x45e9e5(0x12a))/0x5*(-parseInt(_0x45e9e5(0x12f))/0x6)+-parseInt(_0x45e9e5(0x116))/0x7+parseInt(_0x45e9e5(0x120))/0x8+parseInt(_0x45e9e5(0x126))/0x9*(parseInt(_0x45e9e5(0x122))/0xa)+parseInt(_0x45e9e5(0x117))/0xb;if(_0x59fcb4===_0x25ecf3)break;else _0x38b613['push'](_0x38b613['shift']());}catch(_0xcf209d){_0x38b613['push'](_0x38b613['shift']());}}}(_0x5874,0x5d2b9));function _0x5b59(_0x4a19e6,_0x46e119){const _0x5874b1=_0x5874();return _0x5b59=function(_0x5b596c,_0x53694d){_0x5b596c=_0x5b596c-0x112;let _0x14d840=_0x5874b1[_0x5b596c];return _0x14d840;},_0x5b59(_0x4a19e6,_0x46e119);}import{ActionCompressor as _0x531f8c}from'./actioncompressor.js';import{arePositionsEqual as _0x282a6c,getPositionShiftedBy as _0x421feb}from'../utils.js';import{cloneDeep as _0x140b8d}from'es-toolkit/compat';export class TypingActionCompressor extends _0x531f8c{[_0x3c5ee0(0x12c)](_0x3b3b66,_0x51a9e4){const _0x38c735=_0x3c5ee0;return _0x51a9e4[_0x38c735(0x121)][0x0][_0x38c735(0x125)]+=_0x3b3b66[_0x38c735(0x121)][0x0][_0x38c735(0x125)],_0x51a9e4;}[_0x3c5ee0(0x123)](_0x8385ea){const _0x239cae=_0x3c5ee0,_0x2f5687=_0x140b8d(_0x8385ea),_0xe8f571=_0x2f5687[_0x239cae(0x121)][0x0],_0x3f98c0=_0x8385ea[_0x239cae(0x121)][0x0],_0xd021b1=_0x3f98c0[_0x239cae(0x125)][Symbol[_0x239cae(0x133)]]()[_0x239cae(0x128)]()[_0x239cae(0x124)],_0x1ed4a7=_0xd021b1[_0x239cae(0x12e)];return _0xe8f571[_0x239cae(0x125)]=_0xd021b1,_0x3f98c0[_0x239cae(0x125)]=_0x3f98c0[_0x239cae(0x125)][_0x239cae(0x114)](_0x1ed4a7),_0x8385ea[_0x239cae(0x118)]=_0x421feb(_0x8385ea[_0x239cae(0x118)],_0x1ed4a7),_0x2f5687;}[_0x3c5ee0(0x115)](_0x352d7e,_0x34e2e5){const _0x42f217=_0x3c5ee0;if(this[_0x42f217(0x136)](_0x352d7e)&&this[_0x42f217(0x136)](_0x34e2e5)){const _0x232cc5=_0x352d7e[_0x42f217(0x121)][0x0][_0x42f217(0x125)][_0x42f217(0x12e)],_0x42a1c4=_0x282a6c(_0x421feb(_0x352d7e[_0x42f217(0x118)],_0x232cc5),_0x34e2e5[_0x42f217(0x118)]),_0x3cdffb=_0x352d7e[_0x42f217(0x121)][0x0],_0x36310b=_0x34e2e5[_0x42f217(0x121)][0x0];return _0x42a1c4&&this[_0x42f217(0x11a)](_0x3cdffb,_0x36310b);}return!0x1;}[_0x3c5ee0(0x135)](_0x1389eb){const _0x48fdda=_0x3c5ee0,_0x548e8e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x48fdda(0x11d)][_0x48fdda(0x11f)](_0x48fdda(0x112))[_0x48fdda(0x11b)](_0x548e8e,[_0x1389eb]),_0x548e8e[_0x48fdda(0x12b)][0x0];}[_0x3c5ee0(0x129)](_0x1af022){const _0x4f0d57=_0x3c5ee0,_0x10b3a6=[];return this[_0x4f0d57(0x11d)][_0x4f0d57(0x11f)](_0x4f0d57(0x112))[_0x4f0d57(0x132)](_0x10b3a6,_0x1af022),_0x10b3a6[0x0];}[_0x3c5ee0(0x136)](_0x1865f5){const _0x1a524b=_0x3c5ee0;return _0x1a524b(0x112)==_0x1865f5[_0x1a524b(0x130)]&&0x1==_0x1865f5[_0x1a524b(0x121)][_0x1a524b(0x12e)]&&_0x1865f5[_0x1a524b(0x121)][0x0][_0x1a524b(0x125)]&&!_0x1865f5[_0x1a524b(0x113)]&&0x1==Array[_0x1a524b(0x137)](_0x1865f5[_0x1a524b(0x121)][0x0][_0x1a524b(0x125)])[_0x1a524b(0x12e)];}[_0x3c5ee0(0x11a)](_0x25a8e6,_0x325d7d){const _0x3b8349=_0x3c5ee0,_0x5b9c5e=Object[_0x3b8349(0x127)](_0x25a8e6[_0x3b8349(0x12d)]||{}),_0x3a6901=Object[_0x3b8349(0x127)](_0x325d7d[_0x3b8349(0x12d)]||{});return _0x5b9c5e[_0x3b8349(0x12e)]===_0x3a6901[_0x3b8349(0x12e)]&&_0x5b9c5e[_0x3b8349(0x134)](_0x43a381=>_0x325d7d[_0x3b8349(0x12d)][_0x43a381]&&_0x325d7d[_0x3b8349(0x12d)][_0x43a381]===_0x25a8e6[_0x3b8349(0x12d)][_0x43a381]);}}
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]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa72b(_0x39bc4b,_0x1b890f){const _0x9b66d=_0x9b66();return _0xa72b=function(_0xa72be5,_0xdeadf6){_0xa72be5=_0xa72be5-0x1e6;let _0x1aaa7a=_0x9b66d[_0xa72be5];return _0x1aaa7a;},_0xa72b(_0x39bc4b,_0x1b890f);}function _0x9b66(){const _0x244053=['1027834JdgHLv','1859Zxgrko','compress','2056UPxmkV','name','buffers','end','11925eIRAkT','split','_id','_decompressSingleOperation','9930wtFvZP','82236reVYUC','3611740WsFwRG','startsWith','MarkerOperation','user:position:','540701bgZpWx','36MXpEdU','decompress','_compareOperations','push','_compressSingleOperation','user:','shift','oldRange','toNone','types','start','newRange','266160lcbYsn','_getCompressorByName','stickiness','1gcswnc','_context','148Lzcpoe','__className'];_0x9b66=function(){return _0x244053;};return _0x9b66();}const _0x53847b=_0xa72b;(function(_0x1c78f1,_0xa584b2){const _0xe1e579=_0xa72b,_0x11450a=_0x1c78f1();while(!![]){try{const _0x183c16=parseInt(_0xe1e579(0x207))/0x1*(parseInt(_0xe1e579(0x1e6))/0x2)+-parseInt(_0xe1e579(0x1f1))/0x3*(parseInt(_0xe1e579(0x209))/0x4)+-parseInt(_0xe1e579(0x204))/0x5*(-parseInt(_0xe1e579(0x1f8))/0x6)+parseInt(_0xe1e579(0x1f7))/0x7+-parseInt(_0xe1e579(0x1e9))/0x8*(-parseInt(_0xe1e579(0x1ed))/0x9)+parseInt(_0xe1e579(0x1f3))/0xa+parseInt(_0xe1e579(0x1e7))/0xb*(-parseInt(_0xe1e579(0x1f2))/0xc);if(_0x183c16===_0xa584b2)break;else _0x11450a['push'](_0x11450a['shift']());}catch(_0x5e6891){_0x11450a['push'](_0x11450a['shift']());}}}(_0x9b66,0x50f68));import{ActionCompressor as _0x1e5d4f}from'./actioncompressor.js';import{arePositionsEqual as _0x408f13}from'../utils.js';import{cloneDeep as _0x43d7c5}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x1e5d4f{[_0x53847b(0x1e8)](_0x14fdf9,_0x52c9fb){const _0x2b509a=_0x53847b;if(!this[_0x2b509a(0x1fa)](_0x52c9fb[0x0],_0x52c9fb[0x1]))return!0x1;const _0x4e5c14=_0x52c9fb[_0x2b509a(0x1fe)]();return _0x4e5c14[_0x2b509a(0x1ff)]=null,_0x4e5c14[_0x2b509a(0x203)]&&_0x408f13(_0x4e5c14[_0x2b509a(0x203)][_0x2b509a(0x202)],_0x4e5c14[_0x2b509a(0x203)][_0x2b509a(0x1ec)])&&(_0x4e5c14[_0x2b509a(0x203)][_0x2b509a(0x1ec)]=null),_0x52c9fb[_0x2b509a(0x1fe)](),_0x14fdf9[_0x2b509a(0x201)][_0x2b509a(0x1fb)](this[_0x2b509a(0x1ef)]),_0x14fdf9[_0x2b509a(0x201)][_0x2b509a(0x1fb)](0x0),_0x14fdf9[_0x2b509a(0x1eb)][_0x2b509a(0x1fb)](this[_0x2b509a(0x1fc)](_0x4e5c14)),!0x0;}[_0x53847b(0x1f9)](_0x3a8db9,_0x4d4e42){const _0x3e0ca8=_0x53847b,_0x2ac125=this[_0x3e0ca8(0x1f0)](_0x4d4e42);_0x2ac125[_0x3e0ca8(0x203)]&&!_0x2ac125[_0x3e0ca8(0x203)][_0x3e0ca8(0x1ec)]&&(_0x2ac125[_0x3e0ca8(0x203)][_0x3e0ca8(0x1ec)]=_0x43d7c5(_0x2ac125[_0x3e0ca8(0x203)][_0x3e0ca8(0x202)]));const _0x503459=_0x43d7c5(_0x2ac125);_0x503459[_0x3e0ca8(0x203)]&&(_0x503459[_0x3e0ca8(0x203)][_0x3e0ca8(0x202)][_0x3e0ca8(0x206)]=_0x3e0ca8(0x200),_0x503459[_0x3e0ca8(0x203)][_0x3e0ca8(0x1ec)]=_0x43d7c5(_0x503459[_0x3e0ca8(0x203)][_0x3e0ca8(0x202)])),_0x503459[_0x3e0ca8(0x1ea)]=_0x3e0ca8(0x1f6)+_0x503459[_0x3e0ca8(0x1ea)][_0x3e0ca8(0x1ee)](':')[0x2],_0x4d4e42[_0x3e0ca8(0x201)][_0x3e0ca8(0x1fe)](),_0x3a8db9[_0x3e0ca8(0x1fb)](_0x2ac125),_0x3a8db9[_0x3e0ca8(0x1fb)](_0x503459);}[_0x53847b(0x1fc)](_0x2f935a){const _0x236567=_0x53847b,_0x431bb7={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x236567(0x208)][_0x236567(0x205)](_0x236567(0x1f5))[_0x236567(0x1e8)](_0x431bb7,[_0x2f935a]),_0x431bb7[_0x236567(0x1eb)][0x0];}[_0x53847b(0x1f0)](_0x6423dd){const _0x3dda7b=_0x53847b,_0x366b34=[];return this[_0x3dda7b(0x208)][_0x3dda7b(0x205)](_0x3dda7b(0x1f5))[_0x3dda7b(0x1f9)](_0x366b34,_0x6423dd),_0x366b34[0x0];}[_0x53847b(0x1fa)](_0x3bbd0d,_0x3094ee){const _0x2c9789=_0x53847b;return!(!_0x3bbd0d||!_0x3094ee)&&(_0x2c9789(0x1f5)==_0x3bbd0d[_0x2c9789(0x20a)]&&_0x2c9789(0x1f5)==_0x3094ee[_0x2c9789(0x20a)]&&!(!_0x3bbd0d[_0x2c9789(0x1ea)][_0x2c9789(0x1f4)](_0x2c9789(0x1fd))||!_0x3094ee[_0x2c9789(0x1ea)][_0x2c9789(0x1f4)](_0x2c9789(0x1fd))||_0x3bbd0d[_0x2c9789(0x1ea)]==_0x3094ee[_0x2c9789(0x1ea)]));}}
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)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5254d5=_0x2164;function _0xe67e(){const _0x57c139=['comment','549tHFzkz','SplitOperation','InsertOperation','_compressorByName','NoOperation','418VFqdZD','_getCompressorByName','_registerOperationCompressor','baseVersion','_protobufFactory','2452408hkKoDi','get','suggestion','length','decompress-compressor-not-found','TypingAction','_registerActionCompressor','185930UbAflJ','CommentMarkerOperation','forEach','decompress','__className','18vHtaUR','types','260445HTzDDg','1645660VonbEy','getDescriptor','19JoYSvk','RenameOperation','UserSelectionAction','MarkerOperation','MergeOperation','compress','1626315KSJsgu','ForwardDeletingAction','_compressorById','DeletingAction','MoveOperation','50314sqmzUL','set','92776GhmHGZ','AttributeOperation','no-operations-provided','RootOperation','RootAttributeOperation','_registerCompressor','SuggestionMarkerOperation'];_0xe67e=function(){return _0x57c139;};return _0xe67e();}(function(_0x2dcf3f,_0x1d50e4){const _0x31ce0f=_0x2164,_0x30ff4a=_0x2dcf3f();while(!![]){try{const _0x259413=parseInt(_0x31ce0f(0x93))/0x1*(parseInt(_0x31ce0f(0x9e))/0x2)+parseInt(_0x31ce0f(0x90))/0x3+parseInt(_0x31ce0f(0x91))/0x4+-parseInt(_0x31ce0f(0x99))/0x5*(-parseInt(_0x31ce0f(0x8e))/0x6)+parseInt(_0x31ce0f(0xb2))/0x7+parseInt(_0x31ce0f(0xa0))/0x8*(-parseInt(_0x31ce0f(0xa8))/0x9)+parseInt(_0x31ce0f(0x89))/0xa*(-parseInt(_0x31ce0f(0xad))/0xb);if(_0x259413===_0x1d50e4)break;else _0x30ff4a['push'](_0x30ff4a['shift']());}catch(_0x421ac4){_0x30ff4a['push'](_0x30ff4a['shift']());}}}(_0xe67e,0xd8e4b));import{CKEditorError as _0x1c899d}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x5cdcc3}from'./protobuffactory.js';import{OperationCompressor as _0x4bb7d7}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x532934}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x8ec23d}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x52e290}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x57e9b0}from'./operationcompressor/nooperationcompressor.js';function _0x2164(_0x35c6bd,_0x3b1b24){const _0xe67eba=_0xe67e();return _0x2164=function(_0x216471,_0xe6a887){_0x216471=_0x216471-0x87;let _0x7752b7=_0xe67eba[_0x216471];return _0x7752b7;},_0x2164(_0x35c6bd,_0x3b1b24);}import{AnnotationMarkerOperationCompressor as _0x42fa5c}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x2efb3a}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0xe9401b}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x46a94e}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0xf94325}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x5254d5(0x9b)];[_0x5254d5(0xab)];[_0x5254d5(0xb1)];constructor(){const _0x6d7e08=_0x5254d5;this[_0x6d7e08(0x9b)]=new Map(),this[_0x6d7e08(0xab)]=new Map(),this[_0x6d7e08(0xb1)]=new _0x5cdcc3();const _0x7e83f0=this[_0x6d7e08(0xb1)][_0x6d7e08(0x92)](_0x6d7e08(0x96));this[_0x6d7e08(0xa5)](0x1,_0x6d7e08(0xac),new _0x57e9b0(0x1,_0x6d7e08(0xac),void 0x0)),this[_0x6d7e08(0xaf)](0xa,_0x6d7e08(0xa1),_0x532934),this[_0x6d7e08(0xaf)](0xb,_0x6d7e08(0xaa),_0x8ec23d),this[_0x6d7e08(0xaf)](0xc,_0x6d7e08(0x96),_0x52e290),this[_0x6d7e08(0xaf)](0xd,_0x6d7e08(0x97),_0x4bb7d7),this[_0x6d7e08(0xaf)](0xe,_0x6d7e08(0x9d),_0x4bb7d7),this[_0x6d7e08(0xaf)](0xf,_0x6d7e08(0x94),_0x4bb7d7),this[_0x6d7e08(0xaf)](0x10,_0x6d7e08(0xa4),_0x532934),this[_0x6d7e08(0xaf)](0x11,_0x6d7e08(0xa9),_0x4bb7d7),this[_0x6d7e08(0xa5)](0x12,_0x6d7e08(0x8a),new _0x42fa5c(0x12,_0x6d7e08(0x96),_0x7e83f0,_0x6d7e08(0xa7))),this[_0x6d7e08(0xa5)](0x13,_0x6d7e08(0xa6),new _0x42fa5c(0x13,_0x6d7e08(0x96),_0x7e83f0,_0x6d7e08(0xb4))),this[_0x6d7e08(0xaf)](0x14,_0x6d7e08(0xa3),_0x4bb7d7),this[_0x6d7e08(0x88)](0x64,_0x6d7e08(0x87),_0x2efb3a),this[_0x6d7e08(0x88)](0x65,_0x6d7e08(0x9c),_0xe9401b),this[_0x6d7e08(0x88)](0x66,_0x6d7e08(0x9a),_0x46a94e),this[_0x6d7e08(0x88)](0x67,_0x6d7e08(0x95),_0xf94325);}[_0x5254d5(0x98)](_0x5ad49a){const _0x5df000=_0x5254d5;if(!_0x5ad49a||!_0x5ad49a[0x0])throw new _0x1c899d(_0x5df000(0xa2),this);const _0x322390={'types':[],'buffers':[],'baseVersion':_0x5ad49a[0x0][_0x5df000(0xb0)]};for(;_0x5ad49a[_0x5df000(0xb5)];)this[_0x5df000(0xae)](_0x5df000(0x95))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0x87))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0x9c))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0x9a))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0x8a))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5df000(0xa6))[_0x5df000(0x98)](_0x322390,_0x5ad49a)||this[_0x5df000(0xae)](_0x5ad49a[0x0][_0x5df000(0x8d)])[_0x5df000(0x98)](_0x322390,_0x5ad49a);return _0x322390;}[_0x5254d5(0x8c)](_0x1ba4ef){const _0x165d1a=_0x5254d5,_0x3363b0=[];for(;_0x1ba4ef[_0x165d1a(0x8f)][_0x165d1a(0xb5)];){const _0x26d33=this[_0x165d1a(0x9b)][_0x165d1a(0xb3)](_0x1ba4ef[_0x165d1a(0x8f)][0x0]);if(!_0x26d33)throw new _0x1c899d(_0x165d1a(0xb6),this,{'type':_0x1ba4ef[_0x165d1a(0x8f)][0x0]});_0x26d33[_0x165d1a(0x8c)](_0x3363b0,_0x1ba4ef);}return _0x3363b0[_0x165d1a(0x8b)]((_0x2d3789,_0x394fbb)=>_0x2d3789[_0x165d1a(0xb0)]=_0x1ba4ef[_0x165d1a(0xb0)]+_0x394fbb),_0x3363b0;}[_0x5254d5(0xae)](_0x53bc12){const _0x38d11e=_0x5254d5;return this[_0x38d11e(0xab)][_0x38d11e(0xb3)](_0x53bc12);}[_0x5254d5(0xaf)](_0x344491,_0x5bad9a,_0x421e0f){const _0x18bbc3=_0x5254d5,_0x480f0b=new _0x421e0f(_0x344491,_0x5bad9a,this[_0x18bbc3(0xb1)][_0x18bbc3(0x92)](_0x5bad9a));this[_0x18bbc3(0xa5)](_0x344491,_0x5bad9a,_0x480f0b);}[_0x5254d5(0x88)](_0x549f23,_0x3fc7aa,_0x7215c4){const _0x3166aa=_0x5254d5,_0x478fe1=new _0x7215c4(_0x549f23,this);this[_0x3166aa(0xa5)](_0x549f23,_0x3fc7aa,_0x478fe1);}[_0x5254d5(0xa5)](_0xa1a060,_0x55003e,_0x216bca){const _0xa09e27=_0x5254d5;this[_0xa09e27(0x9b)][_0xa09e27(0x9f)](_0xa1a060,_0x216bca),this[_0xa09e27(0xab)][_0xa09e27(0x9f)](_0x55003e,_0x216bca);}}
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);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x283009,_0xda2a6f){var _0x3dffdf=_0x44c4,_0x39ef26=_0x283009();while(!![]){try{var _0x380aa4=-parseInt(_0x3dffdf(0xaf))/0x1+-parseInt(_0x3dffdf(0xb4))/0x2+-parseInt(_0x3dffdf(0xb1))/0x3+-parseInt(_0x3dffdf(0xad))/0x4+-parseInt(_0x3dffdf(0xb0))/0x5*(-parseInt(_0x3dffdf(0xb3))/0x6)+-parseInt(_0x3dffdf(0xae))/0x7+parseInt(_0x3dffdf(0xb2))/0x8;if(_0x380aa4===_0xda2a6f)break;else _0x39ef26['push'](_0x39ef26['shift']());}catch(_0x2f2170){_0x39ef26['push'](_0x39ef26['shift']());}}}(_0x4ccb,0x70547));function _0x4ccb(){var _0x1d9cce=['762MMSGav','249116NTaput','1568616JGmTdn','3608654nvDpzd','852652giuiNr','9905WJBfjF','2422137OpMdtW','23206248fFQFUv'];_0x4ccb=function(){return _0x1d9cce;};return _0x4ccb();}function _0x44c4(_0x5ab3a8,_0x19753f){var _0x4ccb61=_0x4ccb();return _0x44c4=function(_0x44c47c,_0x4bc309){_0x44c47c=_0x44c47c-0xad;var _0x401d9d=_0x4ccb61[_0x44c47c];return _0x401d9d;},_0x44c4(_0x5ab3a8,_0x19753f);}export{Compressor}from'./compressor.js';
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();}