@ckeditor/ckeditor5-operations-compressor 47.0.0 → 47.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 _0x141257=_0x102e;(function(_0x4b922c,_0x360eb3){const _0x5e401a=_0x102e,_0x1e7627=_0x4b922c();while(!![]){try{const _0x521a19=parseInt(_0x5e401a(0xf9))/0x1+-parseInt(_0x5e401a(0xfc))/0x2*(-parseInt(_0x5e401a(0xed))/0x3)+-parseInt(_0x5e401a(0xf1))/0x4*(-parseInt(_0x5e401a(0xfb))/0x5)+-parseInt(_0x5e401a(0xf7))/0x6*(parseInt(_0x5e401a(0x101))/0x7)+-parseInt(_0x5e401a(0x103))/0x8+-parseInt(_0x5e401a(0xf0))/0x9*(parseInt(_0x5e401a(0xfe))/0xa)+-parseInt(_0x5e401a(0xeb))/0xb*(-parseInt(_0x5e401a(0xee))/0xc);if(_0x521a19===_0x360eb3)break;else _0x1e7627['push'](_0x1e7627['shift']());}catch(_0x1423ce){_0x1e7627['push'](_0x1e7627['shift']());}}}(_0x465e,0xd2742));function _0x102e(_0x40709c,_0x19a8e3){const _0x465e7d=_0x465e();return _0x102e=function(_0x102eac,_0x45174e){_0x102eac=_0x102eac-0xeb;let _0xabe337=_0x465e7d[_0x102eac];return _0xabe337;},_0x102e(_0x40709c,_0x19a8e3);}import{ActionCompressor as _0x175dca}from'./actioncompressor.js';import{arePositionsEqual as _0x2d31cc,getPositionShiftedBy as _0x39e1da}from'../utils.js';function _0x465e(){const _0xd15c38=['_decompressSingleOperation','targetPosition','_splitCurrent','_compressSingleOperation','6aujplb','wasUndone','349061onRYVG','decompress','2200355EhbOQC','2TTMRJL','_compareOperations','10CXxBVk','howMany','_combineNext','11009824XiZjAO','buffers','4933800WlvjdQ','$graveyard','_getCompressorByName','sourcePosition','_context','__className','compress','3487539vWcXlo','root','1897023LGsAXg','60boKRyU','_checkOperation','7517565yioQHJ','12ilmTbq','MoveOperation'];_0x465e=function(){return _0xd15c38;};return _0x465e();}import{cloneDeep as _0x1bccae}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x175dca{[_0x141257(0x100)](_0x30e5a5,_0x2f1185){const _0x4df9c0=_0x141257;return _0x2f1185[_0x4df9c0(0xff)]++,_0x2f1185[_0x4df9c0(0x106)]=_0x1bccae(_0x30e5a5[_0x4df9c0(0x106)]),_0x2f1185;}[_0x141257(0xf5)](_0x5038fd){const _0x55e0f4=_0x141257,_0x48bee6=_0x1bccae(_0x5038fd);return _0x5038fd[_0x55e0f4(0xff)]--,_0x48bee6[_0x55e0f4(0xff)]=0x1,_0x48bee6[_0x55e0f4(0x106)]=_0x39e1da(_0x48bee6[_0x55e0f4(0x106)],_0x5038fd[_0x55e0f4(0xff)]),_0x48bee6;}[_0x141257(0xfd)](_0x34d25d,_0x27e368){const _0x31eca5=_0x141257;return!(!this[_0x31eca5(0xef)](_0x34d25d)||!this[_0x31eca5(0xef)](_0x27e368))&&(_0x2d31cc(_0x39e1da(_0x34d25d[_0x31eca5(0x106)],-0x1),_0x27e368[_0x31eca5(0x106)])&&_0x2d31cc(_0x34d25d[_0x31eca5(0xf4)],_0x27e368[_0x31eca5(0xf4)]));}[_0x141257(0xf6)](_0x2f97f2){const _0x415157=_0x141257,_0x5c8d51={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x415157(0x107)][_0x415157(0x105)](_0x415157(0xf2))[_0x415157(0x109)](_0x5c8d51,[_0x2f97f2]),_0x5c8d51[_0x415157(0x102)][0x0];}[_0x141257(0xf3)](_0xfb0369){const _0x3e7d38=_0x141257,_0x289545=[];return this[_0x3e7d38(0x107)][_0x3e7d38(0x105)](_0x3e7d38(0xf2))[_0x3e7d38(0xfa)](_0x289545,_0xfb0369),_0x289545[0x0];}[_0x141257(0xef)](_0x3cc9b7){const _0x4a5dc1=_0x141257;return _0x4a5dc1(0xf2)==_0x3cc9b7[_0x4a5dc1(0x108)]&&_0x4a5dc1(0x104)==_0x3cc9b7[_0x4a5dc1(0xf4)][_0x4a5dc1(0xec)]&&0x1==_0x3cc9b7[_0x4a5dc1(0xff)]&&!_0x3cc9b7[_0x4a5dc1(0xf8)];}}
23
+ const _0x1c0717=_0x479d;(function(_0x375e01,_0xdeb93e){const _0x212f01=_0x479d,_0x4fa867=_0x375e01();while(!![]){try{const _0x275051=parseInt(_0x212f01(0x16d))/0x1+parseInt(_0x212f01(0x15e))/0x2*(parseInt(_0x212f01(0x169))/0x3)+-parseInt(_0x212f01(0x160))/0x4+-parseInt(_0x212f01(0x176))/0x5*(-parseInt(_0x212f01(0x16f))/0x6)+parseInt(_0x212f01(0x171))/0x7+-parseInt(_0x212f01(0x163))/0x8*(parseInt(_0x212f01(0x172))/0x9)+-parseInt(_0x212f01(0x15f))/0xa*(parseInt(_0x212f01(0x16c))/0xb);if(_0x275051===_0xdeb93e)break;else _0x4fa867['push'](_0x4fa867['shift']());}catch(_0x229d9){_0x4fa867['push'](_0x4fa867['shift']());}}}(_0x30a1,0x70554));import{ActionCompressor as _0x2594ed}from'./actioncompressor.js';import{arePositionsEqual as _0x5d3e37,getPositionShiftedBy as _0x47691c}from'../utils.js';import{cloneDeep as _0x4aef76}from'es-toolkit/compat';function _0x30a1(){const _0x5cf2b0=['1067871hnhADT','311238xxbruM','targetPosition','_decompressSingleOperation','wasUndone','30ScxSrF','_checkOperation','buffers','__className','howMany','$graveyard','3102CqtJFZ','1491790BXHAlH','1412512BobWWB','compress','_compressSingleOperation','160OatYEc','_getCompressorByName','_context','decompress','root','_compareOperations','1695CLxntO','_combineNext','sourcePosition','99ZJMzwl','919173dmHwPT','_splitCurrent','899454NzVoMG','MoveOperation'];_0x30a1=function(){return _0x5cf2b0;};return _0x30a1();}function _0x479d(_0x5d2daf,_0x2ce99c){const _0x30a1b5=_0x30a1();return _0x479d=function(_0x479dc9,_0x2db003){_0x479dc9=_0x479dc9-0x15d;let _0xee01d=_0x30a1b5[_0x479dc9];return _0xee01d;},_0x479d(_0x5d2daf,_0x2ce99c);}export class DeletingActionCompressor extends _0x2594ed{[_0x1c0717(0x16a)](_0xd284b,_0x525f36){const _0x5bd6a2=_0x1c0717;return _0x525f36[_0x5bd6a2(0x17a)]++,_0x525f36[_0x5bd6a2(0x16b)]=_0x4aef76(_0xd284b[_0x5bd6a2(0x16b)]),_0x525f36;}[_0x1c0717(0x16e)](_0x230e07){const _0x25df7f=_0x1c0717,_0x1d9748=_0x4aef76(_0x230e07);return _0x230e07[_0x25df7f(0x17a)]--,_0x1d9748[_0x25df7f(0x17a)]=0x1,_0x1d9748[_0x25df7f(0x16b)]=_0x47691c(_0x1d9748[_0x25df7f(0x16b)],_0x230e07[_0x25df7f(0x17a)]),_0x1d9748;}[_0x1c0717(0x168)](_0x1aa5b1,_0x32cdc5){const _0x54cb3e=_0x1c0717;return!(!this[_0x54cb3e(0x177)](_0x1aa5b1)||!this[_0x54cb3e(0x177)](_0x32cdc5))&&(_0x5d3e37(_0x47691c(_0x1aa5b1[_0x54cb3e(0x16b)],-0x1),_0x32cdc5[_0x54cb3e(0x16b)])&&_0x5d3e37(_0x1aa5b1[_0x54cb3e(0x173)],_0x32cdc5[_0x54cb3e(0x173)]));}[_0x1c0717(0x162)](_0x54508a){const _0x18e105=_0x1c0717,_0x48187b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x18e105(0x165)][_0x18e105(0x164)](_0x18e105(0x170))[_0x18e105(0x161)](_0x48187b,[_0x54508a]),_0x48187b[_0x18e105(0x178)][0x0];}[_0x1c0717(0x174)](_0x2e6ac5){const _0x3cefa4=_0x1c0717,_0x18194d=[];return this[_0x3cefa4(0x165)][_0x3cefa4(0x164)](_0x3cefa4(0x170))[_0x3cefa4(0x166)](_0x18194d,_0x2e6ac5),_0x18194d[0x0];}[_0x1c0717(0x177)](_0x4cba97){const _0x398950=_0x1c0717;return _0x398950(0x170)==_0x4cba97[_0x398950(0x179)]&&_0x398950(0x15d)==_0x4cba97[_0x398950(0x173)][_0x398950(0x167)]&&0x1==_0x4cba97[_0x398950(0x17a)]&&!_0x4cba97[_0x398950(0x175)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x280eaf=_0x1fc0;function _0x496d(){const _0x562880=['707055AqgWKW','$graveyard','1195216kGyCwr','_compareOperations','MoveOperation','_context','sourcePosition','870834FNAoTP','wasUndone','_decompressSingleOperation','_checkOperation','decompress','__className','8Odyxoi','61958JCGrbJ','2681694IdIGZS','_getCompressorByName','howMany','compress','_splitCurrent','targetPosition','_compressSingleOperation','_combineNext','14110mbHmkz','918LShiBb','205387SkZETB','root','buffers'];_0x496d=function(){return _0x562880;};return _0x496d();}(function(_0x4f74da,_0x429844){const _0x4632ba=_0x1fc0,_0x57363e=_0x4f74da();while(!![]){try{const _0xad2ebf=-parseInt(_0x4632ba(0x1fd))/0x1+parseInt(_0x4632ba(0x1e8))/0x2+-parseInt(_0x4632ba(0x1f6))/0x3*(-parseInt(_0x4632ba(0x1e7))/0x4)+-parseInt(_0x4632ba(0x1f1))/0x5*(-parseInt(_0x4632ba(0x1f2))/0x6)+-parseInt(_0x4632ba(0x1f3))/0x7+parseInt(_0x4632ba(0x1f8))/0x8+parseInt(_0x4632ba(0x1e9))/0x9;if(_0xad2ebf===_0x429844)break;else _0x57363e['push'](_0x57363e['shift']());}catch(_0x4c17e1){_0x57363e['push'](_0x57363e['shift']());}}}(_0x496d,0x7581c));import{ActionCompressor as _0x1d6fb6}from'./actioncompressor.js';import{arePositionsEqual as _0xd939b5}from'../utils.js';function _0x1fc0(_0x10b690,_0x5cca8d){const _0x496d79=_0x496d();return _0x1fc0=function(_0x1fc0b7,_0x3f5c7a){_0x1fc0b7=_0x1fc0b7-0x1e3;let _0x45b623=_0x496d79[_0x1fc0b7];return _0x45b623;},_0x1fc0(_0x10b690,_0x5cca8d);}import{cloneDeep as _0x1a2bdd}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x1d6fb6{[_0x280eaf(0x1f0)](_0x1f0d93,_0x193e2f){const _0x138b57=_0x280eaf;return _0x193e2f[_0x138b57(0x1eb)]++,_0x193e2f;}[_0x280eaf(0x1ed)](_0x4e99e7){const _0x33c021=_0x280eaf,_0x5a409c=_0x1a2bdd(_0x4e99e7);return _0x5a409c[_0x33c021(0x1eb)]=0x1,_0x4e99e7[_0x33c021(0x1eb)]--,_0x5a409c;}[_0x280eaf(0x1f9)](_0x56314f,_0x1bd9ec){const _0x18ebbc=_0x280eaf;return!(!this[_0x18ebbc(0x1e4)](_0x56314f)||!this[_0x18ebbc(0x1e4)](_0x1bd9ec))&&(_0xd939b5(_0x56314f[_0x18ebbc(0x1fc)],_0x1bd9ec[_0x18ebbc(0x1fc)])&&_0xd939b5(_0x56314f[_0x18ebbc(0x1ee)],_0x1bd9ec[_0x18ebbc(0x1ee)]));}[_0x280eaf(0x1ef)](_0xabc2b){const _0x4994c1=_0x280eaf,_0x4b8944={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4994c1(0x1fb)][_0x4994c1(0x1ea)](_0x4994c1(0x1fa))[_0x4994c1(0x1ec)](_0x4b8944,[_0xabc2b]),_0x4b8944[_0x4994c1(0x1f5)][0x0];}[_0x280eaf(0x1e3)](_0x51c98b){const _0xccbc3b=_0x280eaf,_0x373a6d=[];return this[_0xccbc3b(0x1fb)][_0xccbc3b(0x1ea)](_0xccbc3b(0x1fa))[_0xccbc3b(0x1e5)](_0x373a6d,_0x51c98b),_0x373a6d[0x0];}[_0x280eaf(0x1e4)](_0x4acf5b){const _0x3b6b08=_0x280eaf;return _0x3b6b08(0x1fa)==_0x4acf5b[_0x3b6b08(0x1e6)]&&_0x3b6b08(0x1f7)==_0x4acf5b[_0x3b6b08(0x1ee)][_0x3b6b08(0x1f4)]&&0x1==_0x4acf5b[_0x3b6b08(0x1eb)]&&!_0x4acf5b[_0x3b6b08(0x1fe)];}}
23
+ function _0xe626(_0x19ce9a,_0x2a5ea3){const _0x35e48c=_0x35e4();return _0xe626=function(_0xe626ab,_0x502d16){_0xe626ab=_0xe626ab-0x1c1;let _0x44edbe=_0x35e48c[_0xe626ab];return _0x44edbe;},_0xe626(_0x19ce9a,_0x2a5ea3);}const _0x2f41c1=_0xe626;(function(_0x3c63ae,_0x3e070d){const _0x173b2c=_0xe626,_0x3c594a=_0x3c63ae();while(!![]){try{const _0x42b9e9=-parseInt(_0x173b2c(0x1de))/0x1+parseInt(_0x173b2c(0x1db))/0x2*(parseInt(_0x173b2c(0x1d7))/0x3)+-parseInt(_0x173b2c(0x1c1))/0x4*(-parseInt(_0x173b2c(0x1cc))/0x5)+-parseInt(_0x173b2c(0x1d0))/0x6+parseInt(_0x173b2c(0x1d2))/0x7*(parseInt(_0x173b2c(0x1dc))/0x8)+-parseInt(_0x173b2c(0x1d8))/0x9*(-parseInt(_0x173b2c(0x1d4))/0xa)+-parseInt(_0x173b2c(0x1d5))/0xb;if(_0x42b9e9===_0x3e070d)break;else _0x3c594a['push'](_0x3c594a['shift']());}catch(_0x77bec4){_0x3c594a['push'](_0x3c594a['shift']());}}}(_0x35e4,0x91063));import{ActionCompressor as _0x22523f}from'./actioncompressor.js';function _0x35e4(){const _0x569a57=['howMany','110ubGcrg','5895175QMePUW','__className','546kKyaor','913347yGOhOF','MoveOperation','_checkOperation','1030zkBdzF','1361848KnmniS','_decompressSingleOperation','746121fYFPXg','3495988CNYyVa','_compressSingleOperation','$graveyard','_getCompressorByName','targetPosition','_compareOperations','_combineNext','buffers','compress','sourcePosition','wasUndone','5JEvkXZ','_context','_splitCurrent','root','6354780ZyYTek','decompress','35DZnood'];_0x35e4=function(){return _0x569a57;};return _0x35e4();}import{arePositionsEqual as _0x401e56}from'../utils.js';import{cloneDeep as _0x2a33a1}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x22523f{[_0x2f41c1(0x1c7)](_0x2a3288,_0x193aef){const _0x145212=_0x2f41c1;return _0x193aef[_0x145212(0x1d3)]++,_0x193aef;}[_0x2f41c1(0x1ce)](_0x4d340b){const _0x13ef63=_0x2f41c1,_0x2ba530=_0x2a33a1(_0x4d340b);return _0x2ba530[_0x13ef63(0x1d3)]=0x1,_0x4d340b[_0x13ef63(0x1d3)]--,_0x2ba530;}[_0x2f41c1(0x1c6)](_0x5b7fe4,_0x5a3b79){const _0x1bc370=_0x2f41c1;return!(!this[_0x1bc370(0x1da)](_0x5b7fe4)||!this[_0x1bc370(0x1da)](_0x5a3b79))&&(_0x401e56(_0x5b7fe4[_0x1bc370(0x1ca)],_0x5a3b79[_0x1bc370(0x1ca)])&&_0x401e56(_0x5b7fe4[_0x1bc370(0x1c5)],_0x5a3b79[_0x1bc370(0x1c5)]));}[_0x2f41c1(0x1c2)](_0x275986){const _0x3d4a3b=_0x2f41c1,_0x4d23e1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3d4a3b(0x1cd)][_0x3d4a3b(0x1c4)](_0x3d4a3b(0x1d9))[_0x3d4a3b(0x1c9)](_0x4d23e1,[_0x275986]),_0x4d23e1[_0x3d4a3b(0x1c8)][0x0];}[_0x2f41c1(0x1dd)](_0x37f01e){const _0x252b7c=_0x2f41c1,_0x4b1cc4=[];return this[_0x252b7c(0x1cd)][_0x252b7c(0x1c4)](_0x252b7c(0x1d9))[_0x252b7c(0x1d1)](_0x4b1cc4,_0x37f01e),_0x4b1cc4[0x0];}[_0x2f41c1(0x1da)](_0x515c56){const _0x33b5a6=_0x2f41c1;return _0x33b5a6(0x1d9)==_0x515c56[_0x33b5a6(0x1d6)]&&_0x33b5a6(0x1c3)==_0x515c56[_0x33b5a6(0x1c5)][_0x33b5a6(0x1cf)]&&0x1==_0x515c56[_0x33b5a6(0x1d3)]&&!_0x515c56[_0x33b5a6(0x1cb)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ca9f4=_0x631f;function _0x631f(_0x486b7f,_0x4a4fca){const _0x3e4ca5=_0x3e4c();return _0x631f=function(_0x631ff6,_0x37675d){_0x631ff6=_0x631ff6-0x19f;let _0x1c5ad9=_0x3e4ca5[_0x631ff6];return _0x1c5ad9;},_0x631f(_0x486b7f,_0x4a4fca);}(function(_0x36efb4,_0x5c8d9e){const _0x1fe97c=_0x631f,_0x4fa454=_0x36efb4();while(!![]){try{const _0x521e77=parseInt(_0x1fe97c(0x1b0))/0x1+parseInt(_0x1fe97c(0x1a7))/0x2+-parseInt(_0x1fe97c(0x1b7))/0x3+-parseInt(_0x1fe97c(0x1bb))/0x4+parseInt(_0x1fe97c(0x1b2))/0x5*(parseInt(_0x1fe97c(0x1a6))/0x6)+parseInt(_0x1fe97c(0x1a8))/0x7*(parseInt(_0x1fe97c(0x1a2))/0x8)+-parseInt(_0x1fe97c(0x19f))/0x9;if(_0x521e77===_0x5c8d9e)break;else _0x4fa454['push'](_0x4fa454['shift']());}catch(_0x441d1b){_0x4fa454['push'](_0x4fa454['shift']());}}}(_0x3e4c,0x81c4d));import{ActionCompressor as _0x1f85a1}from'./actioncompressor.js';import{arePositionsEqual as _0x15368e,getPositionShiftedBy as _0x4b3932}from'../utils.js';import{cloneDeep as _0x659295}from'es-toolkit/compat';function _0x3e4c(){const _0x2c02b1=['16429jgYeRH','from','length','_getCompressorByName','_compressSingleOperation','position','substr','_context','895711Nbplhr','_compareOperations','492095gJiuZk','every','value','_checkOperation','decompress','1124994aVuSRR','_splitCurrent','keys','__className','171720iDOZLr','iterator','attributes','InsertOperation','_decompressSingleOperation','buffers','next','wasUndone','17870913muFOKO','_compareAttributes','_combineNext','2984AAFJsI','compress','nodes','data','42hEOzpk','950086KWUizQ'];_0x3e4c=function(){return _0x2c02b1;};return _0x3e4c();}export class TypingActionCompressor extends _0x1f85a1{[_0x1ca9f4(0x1a1)](_0x3e077a,_0xc4e23a){const _0x2d7eee=_0x1ca9f4;return _0xc4e23a[_0x2d7eee(0x1a4)][0x0][_0x2d7eee(0x1a5)]+=_0x3e077a[_0x2d7eee(0x1a4)][0x0][_0x2d7eee(0x1a5)],_0xc4e23a;}[_0x1ca9f4(0x1b8)](_0x3b907e){const _0xfeb8ff=_0x1ca9f4,_0x6f6cc5=_0x659295(_0x3b907e),_0x4cb586=_0x6f6cc5[_0xfeb8ff(0x1a4)][0x0],_0x10e835=_0x3b907e[_0xfeb8ff(0x1a4)][0x0],_0x589f79=_0x10e835[_0xfeb8ff(0x1a5)][Symbol[_0xfeb8ff(0x1bc)]]()[_0xfeb8ff(0x1c1)]()[_0xfeb8ff(0x1b4)],_0x4aa64e=_0x589f79[_0xfeb8ff(0x1aa)];return _0x4cb586[_0xfeb8ff(0x1a5)]=_0x589f79,_0x10e835[_0xfeb8ff(0x1a5)]=_0x10e835[_0xfeb8ff(0x1a5)][_0xfeb8ff(0x1ae)](_0x4aa64e),_0x3b907e[_0xfeb8ff(0x1ad)]=_0x4b3932(_0x3b907e[_0xfeb8ff(0x1ad)],_0x4aa64e),_0x6f6cc5;}[_0x1ca9f4(0x1b1)](_0x3b328c,_0x4760d2){const _0x10c1f1=_0x1ca9f4;if(this[_0x10c1f1(0x1b5)](_0x3b328c)&&this[_0x10c1f1(0x1b5)](_0x4760d2)){const _0x565dd0=_0x3b328c[_0x10c1f1(0x1a4)][0x0][_0x10c1f1(0x1a5)][_0x10c1f1(0x1aa)],_0x49c5be=_0x15368e(_0x4b3932(_0x3b328c[_0x10c1f1(0x1ad)],_0x565dd0),_0x4760d2[_0x10c1f1(0x1ad)]),_0x1ccfe3=_0x3b328c[_0x10c1f1(0x1a4)][0x0],_0x52b21=_0x4760d2[_0x10c1f1(0x1a4)][0x0];return _0x49c5be&&this[_0x10c1f1(0x1a0)](_0x1ccfe3,_0x52b21);}return!0x1;}[_0x1ca9f4(0x1ac)](_0x202658){const _0x509cdf=_0x1ca9f4,_0x41ac76={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x509cdf(0x1af)][_0x509cdf(0x1ab)](_0x509cdf(0x1be))[_0x509cdf(0x1a3)](_0x41ac76,[_0x202658]),_0x41ac76[_0x509cdf(0x1c0)][0x0];}[_0x1ca9f4(0x1bf)](_0x52398c){const _0x14126=_0x1ca9f4,_0x2d3b41=[];return this[_0x14126(0x1af)][_0x14126(0x1ab)](_0x14126(0x1be))[_0x14126(0x1b6)](_0x2d3b41,_0x52398c),_0x2d3b41[0x0];}[_0x1ca9f4(0x1b5)](_0x2cc4a9){const _0x5a37f7=_0x1ca9f4;return _0x5a37f7(0x1be)==_0x2cc4a9[_0x5a37f7(0x1ba)]&&0x1==_0x2cc4a9[_0x5a37f7(0x1a4)][_0x5a37f7(0x1aa)]&&_0x2cc4a9[_0x5a37f7(0x1a4)][0x0][_0x5a37f7(0x1a5)]&&!_0x2cc4a9[_0x5a37f7(0x1c2)]&&0x1==Array[_0x5a37f7(0x1a9)](_0x2cc4a9[_0x5a37f7(0x1a4)][0x0][_0x5a37f7(0x1a5)])[_0x5a37f7(0x1aa)];}[_0x1ca9f4(0x1a0)](_0x362555,_0x18fad1){const _0x3f6438=_0x1ca9f4,_0x3d706f=Object[_0x3f6438(0x1b9)](_0x362555[_0x3f6438(0x1bd)]||{}),_0x289475=Object[_0x3f6438(0x1b9)](_0x18fad1[_0x3f6438(0x1bd)]||{});return _0x3d706f[_0x3f6438(0x1aa)]===_0x289475[_0x3f6438(0x1aa)]&&_0x3d706f[_0x3f6438(0x1b3)](_0x4a3504=>_0x18fad1[_0x3f6438(0x1bd)][_0x4a3504]&&_0x18fad1[_0x3f6438(0x1bd)][_0x4a3504]===_0x362555[_0x3f6438(0x1bd)][_0x4a3504]);}}
23
+ const _0x19714b=_0x2936;(function(_0x900a84,_0xb29e4f){const _0x4324fc=_0x2936,_0x55f496=_0x900a84();while(!![]){try{const _0x51b471=parseInt(_0x4324fc(0x194))/0x1*(parseInt(_0x4324fc(0x18e))/0x2)+-parseInt(_0x4324fc(0x193))/0x3+parseInt(_0x4324fc(0x18f))/0x4+parseInt(_0x4324fc(0x184))/0x5*(parseInt(_0x4324fc(0x18d))/0x6)+-parseInt(_0x4324fc(0x19d))/0x7+-parseInt(_0x4324fc(0x17c))/0x8+parseInt(_0x4324fc(0x187))/0x9*(parseInt(_0x4324fc(0x195))/0xa);if(_0x51b471===_0xb29e4f)break;else _0x55f496['push'](_0x55f496['shift']());}catch(_0x271414){_0x55f496['push'](_0x55f496['shift']());}}}(_0x1864,0xbad11));function _0x2936(_0x5a7b0c,_0x27df71){const _0x18649e=_0x1864();return _0x2936=function(_0x293606,_0x5a8a02){_0x293606=_0x293606-0x17c;let _0x2552be=_0x18649e[_0x293606];return _0x2552be;},_0x2936(_0x5a7b0c,_0x27df71);}import{ActionCompressor as _0x1d5fd2}from'./actioncompressor.js';import{arePositionsEqual as _0x4e2681,getPositionShiftedBy as _0x5bf382}from'../utils.js';import{cloneDeep as _0x58b751}from'es-toolkit/compat';function _0x1864(){const _0x40a306=['compress','99NLOnGi','length','_compareAttributes','_compareOperations','position','_getCompressorByName','256962iXJajW','9110ADwHoJ','3236568FXTnkj','from','data','every','546861BleHqm','43YzamBj','406390DIPBBh','next','nodes','_combineNext','_checkOperation','value','_splitCurrent','InsertOperation','2492546YppGlx','__className','attributes','buffers','7697464rQjvzY','wasUndone','_decompressSingleOperation','substr','decompress','keys','_context','iterator','95GAhnok','_compressSingleOperation'];_0x1864=function(){return _0x40a306;};return _0x1864();}export class TypingActionCompressor extends _0x1d5fd2{[_0x19714b(0x198)](_0x242099,_0x478364){const _0x5b9a8e=_0x19714b;return _0x478364[_0x5b9a8e(0x197)][0x0][_0x5b9a8e(0x191)]+=_0x242099[_0x5b9a8e(0x197)][0x0][_0x5b9a8e(0x191)],_0x478364;}[_0x19714b(0x19b)](_0x2f3af3){const _0x267dd9=_0x19714b,_0x58641d=_0x58b751(_0x2f3af3),_0x4d1e5a=_0x58641d[_0x267dd9(0x197)][0x0],_0x500705=_0x2f3af3[_0x267dd9(0x197)][0x0],_0x3a3bd0=_0x500705[_0x267dd9(0x191)][Symbol[_0x267dd9(0x183)]]()[_0x267dd9(0x196)]()[_0x267dd9(0x19a)],_0x55102c=_0x3a3bd0[_0x267dd9(0x188)];return _0x4d1e5a[_0x267dd9(0x191)]=_0x3a3bd0,_0x500705[_0x267dd9(0x191)]=_0x500705[_0x267dd9(0x191)][_0x267dd9(0x17f)](_0x55102c),_0x2f3af3[_0x267dd9(0x18b)]=_0x5bf382(_0x2f3af3[_0x267dd9(0x18b)],_0x55102c),_0x58641d;}[_0x19714b(0x18a)](_0x16a8fb,_0x16dc5b){const _0x379874=_0x19714b;if(this[_0x379874(0x199)](_0x16a8fb)&&this[_0x379874(0x199)](_0x16dc5b)){const _0x3f821b=_0x16a8fb[_0x379874(0x197)][0x0][_0x379874(0x191)][_0x379874(0x188)],_0x32a1e6=_0x4e2681(_0x5bf382(_0x16a8fb[_0x379874(0x18b)],_0x3f821b),_0x16dc5b[_0x379874(0x18b)]),_0x1a7281=_0x16a8fb[_0x379874(0x197)][0x0],_0x402698=_0x16dc5b[_0x379874(0x197)][0x0];return _0x32a1e6&&this[_0x379874(0x189)](_0x1a7281,_0x402698);}return!0x1;}[_0x19714b(0x185)](_0x294f69){const _0x1c882e=_0x19714b,_0x2862de={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1c882e(0x182)][_0x1c882e(0x18c)](_0x1c882e(0x19c))[_0x1c882e(0x186)](_0x2862de,[_0x294f69]),_0x2862de[_0x1c882e(0x1a0)][0x0];}[_0x19714b(0x17e)](_0x298597){const _0x3093f1=_0x19714b,_0x5a0509=[];return this[_0x3093f1(0x182)][_0x3093f1(0x18c)](_0x3093f1(0x19c))[_0x3093f1(0x180)](_0x5a0509,_0x298597),_0x5a0509[0x0];}[_0x19714b(0x199)](_0x175c7c){const _0x910fb6=_0x19714b;return _0x910fb6(0x19c)==_0x175c7c[_0x910fb6(0x19e)]&&0x1==_0x175c7c[_0x910fb6(0x197)][_0x910fb6(0x188)]&&_0x175c7c[_0x910fb6(0x197)][0x0][_0x910fb6(0x191)]&&!_0x175c7c[_0x910fb6(0x17d)]&&0x1==Array[_0x910fb6(0x190)](_0x175c7c[_0x910fb6(0x197)][0x0][_0x910fb6(0x191)])[_0x910fb6(0x188)];}[_0x19714b(0x189)](_0x56c8ad,_0x1ee329){const _0x5674b7=_0x19714b,_0x24d4e9=Object[_0x5674b7(0x181)](_0x56c8ad[_0x5674b7(0x19f)]||{}),_0x40b12f=Object[_0x5674b7(0x181)](_0x1ee329[_0x5674b7(0x19f)]||{});return _0x24d4e9[_0x5674b7(0x188)]===_0x40b12f[_0x5674b7(0x188)]&&_0x24d4e9[_0x5674b7(0x192)](_0x5b2575=>_0x1ee329[_0x5674b7(0x19f)][_0x5b2575]&&_0x1ee329[_0x5674b7(0x19f)][_0x5b2575]===_0x56c8ad[_0x5674b7(0x19f)][_0x5b2575]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4050(_0x1ab28a,_0x24f8a6){const _0xd007af=_0xd007();return _0x4050=function(_0x4050e7,_0x4bb09b){_0x4050e7=_0x4050e7-0x7c;let _0x2793d5=_0xd007af[_0x4050e7];return _0x2793d5;},_0x4050(_0x1ab28a,_0x24f8a6);}const _0x2f3b1c=_0x4050;(function(_0xb12c39,_0x47541d){const _0x15ae5d=_0x4050,_0x4d371b=_0xb12c39();while(!![]){try{const _0x51988f=-parseInt(_0x15ae5d(0x93))/0x1*(parseInt(_0x15ae5d(0x9b))/0x2)+-parseInt(_0x15ae5d(0x99))/0x3+-parseInt(_0x15ae5d(0x8f))/0x4+-parseInt(_0x15ae5d(0x9a))/0x5*(-parseInt(_0x15ae5d(0x9d))/0x6)+-parseInt(_0x15ae5d(0x8b))/0x7+parseInt(_0x15ae5d(0x81))/0x8*(parseInt(_0x15ae5d(0x89))/0x9)+parseInt(_0x15ae5d(0x91))/0xa*(parseInt(_0x15ae5d(0x97))/0xb);if(_0x51988f===_0x47541d)break;else _0x4d371b['push'](_0x4d371b['shift']());}catch(_0x4e370a){_0x4d371b['push'](_0x4d371b['shift']());}}}(_0xd007,0x1b81f));import{ActionCompressor as _0x25b1fe}from'./actioncompressor.js';import{arePositionsEqual as _0x3b0e75}from'../utils.js';import{cloneDeep as _0x142271}from'es-toolkit/compat';function _0xd007(){const _0x9bb3d0=['__className','newRange','_compressSingleOperation','push','shift','types','split','56rnymzF','name','user:position:','end','decompress','_decompressSingleOperation','_id','MarkerOperation','129951HHEkzg','start','436800VXkmEi','_context','_getCompressorByName','_compareOperations','28180KGIQaV','startsWith','5110tseNUT','buffers','3243WLgeFY','compress','oldRange','stickiness','6622CzccZV','toNone','510837JFHWKD','188735syGNkM','58NLcimP','user:','6nPGtjn'];_0xd007=function(){return _0x9bb3d0;};return _0xd007();}export class UserSelectionActionCompressor extends _0x25b1fe{[_0x2f3b1c(0x94)](_0x13ca1e,_0x3a5c04){const _0x3bdf8d=_0x2f3b1c;if(!this[_0x3bdf8d(0x8e)](_0x3a5c04[0x0],_0x3a5c04[0x1]))return!0x1;const _0x5176c0=_0x3a5c04[_0x3bdf8d(0x7e)]();return _0x5176c0[_0x3bdf8d(0x95)]=null,_0x5176c0[_0x3bdf8d(0x9f)]&&_0x3b0e75(_0x5176c0[_0x3bdf8d(0x9f)][_0x3bdf8d(0x8a)],_0x5176c0[_0x3bdf8d(0x9f)][_0x3bdf8d(0x84)])&&(_0x5176c0[_0x3bdf8d(0x9f)][_0x3bdf8d(0x84)]=null),_0x3a5c04[_0x3bdf8d(0x7e)](),_0x13ca1e[_0x3bdf8d(0x7f)][_0x3bdf8d(0x7d)](this[_0x3bdf8d(0x87)]),_0x13ca1e[_0x3bdf8d(0x7f)][_0x3bdf8d(0x7d)](0x0),_0x13ca1e[_0x3bdf8d(0x92)][_0x3bdf8d(0x7d)](this[_0x3bdf8d(0x7c)](_0x5176c0)),!0x0;}[_0x2f3b1c(0x85)](_0xb627bf,_0x2f340c){const _0x236985=_0x2f3b1c,_0x7eeb4d=this[_0x236985(0x86)](_0x2f340c);_0x7eeb4d[_0x236985(0x9f)]&&!_0x7eeb4d[_0x236985(0x9f)][_0x236985(0x84)]&&(_0x7eeb4d[_0x236985(0x9f)][_0x236985(0x84)]=_0x142271(_0x7eeb4d[_0x236985(0x9f)][_0x236985(0x8a)]));const _0x53f6f1=_0x142271(_0x7eeb4d);_0x53f6f1[_0x236985(0x9f)]&&(_0x53f6f1[_0x236985(0x9f)][_0x236985(0x8a)][_0x236985(0x96)]=_0x236985(0x98),_0x53f6f1[_0x236985(0x9f)][_0x236985(0x84)]=_0x142271(_0x53f6f1[_0x236985(0x9f)][_0x236985(0x8a)])),_0x53f6f1[_0x236985(0x82)]=_0x236985(0x83)+_0x53f6f1[_0x236985(0x82)][_0x236985(0x80)](':')[0x2],_0x2f340c[_0x236985(0x7f)][_0x236985(0x7e)](),_0xb627bf[_0x236985(0x7d)](_0x7eeb4d),_0xb627bf[_0x236985(0x7d)](_0x53f6f1);}[_0x2f3b1c(0x7c)](_0x36eed1){const _0x3135ca=_0x2f3b1c,_0x44e51d={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3135ca(0x8c)][_0x3135ca(0x8d)](_0x3135ca(0x88))[_0x3135ca(0x94)](_0x44e51d,[_0x36eed1]),_0x44e51d[_0x3135ca(0x92)][0x0];}[_0x2f3b1c(0x86)](_0x473ee0){const _0x13b4fb=_0x2f3b1c,_0x56ceec=[];return this[_0x13b4fb(0x8c)][_0x13b4fb(0x8d)](_0x13b4fb(0x88))[_0x13b4fb(0x85)](_0x56ceec,_0x473ee0),_0x56ceec[0x0];}[_0x2f3b1c(0x8e)](_0x571be4,_0x141403){const _0x27375f=_0x2f3b1c;return!(!_0x571be4||!_0x141403)&&(_0x27375f(0x88)==_0x571be4[_0x27375f(0x9e)]&&_0x27375f(0x88)==_0x141403[_0x27375f(0x9e)]&&!(!_0x571be4[_0x27375f(0x82)][_0x27375f(0x90)](_0x27375f(0x9c))||!_0x141403[_0x27375f(0x82)][_0x27375f(0x90)](_0x27375f(0x9c))||_0x571be4[_0x27375f(0x82)]==_0x141403[_0x27375f(0x82)]));}}
23
+ const _0x3722ab=_0xce67;(function(_0x28f7d0,_0x2317d5){const _0x47a1ed=_0xce67,_0x5e430f=_0x28f7d0();while(!![]){try{const _0x38116f=-parseInt(_0x47a1ed(0x1db))/0x1*(-parseInt(_0x47a1ed(0x1c6))/0x2)+parseInt(_0x47a1ed(0x1c2))/0x3*(parseInt(_0x47a1ed(0x1c3))/0x4)+-parseInt(_0x47a1ed(0x1cd))/0x5+parseInt(_0x47a1ed(0x1c8))/0x6*(-parseInt(_0x47a1ed(0x1d4))/0x7)+-parseInt(_0x47a1ed(0x1cf))/0x8+-parseInt(_0x47a1ed(0x1dc))/0x9*(parseInt(_0x47a1ed(0x1d6))/0xa)+parseInt(_0x47a1ed(0x1d8))/0xb;if(_0x38116f===_0x2317d5)break;else _0x5e430f['push'](_0x5e430f['shift']());}catch(_0x48fee1){_0x5e430f['push'](_0x5e430f['shift']());}}}(_0x5b5f,0x90c4f));import{ActionCompressor as _0x4a9a68}from'./actioncompressor.js';function _0x5b5f(){const _0x241ce4=['550PZgpHG','user:position:','26487758KHhTkp','startsWith','newRange','401314WLiMlk','163089ImJwpY','buffers','compress','stickiness','split','shift','_id','types','start','_context','75594VFmryD','40jSVHgA','_compareOperations','push','2arqSrF','MarkerOperation','39684zjvUPw','decompress','__className','oldRange','toNone','45055XUfFPl','user:','4452104HqqVpN','end','_getCompressorByName','_decompressSingleOperation','_compressSingleOperation','959wVMWdg','name'];_0x5b5f=function(){return _0x241ce4;};return _0x5b5f();}import{arePositionsEqual as _0x579d04}from'../utils.js';function _0xce67(_0x4b20f6,_0x1efa61){const _0x5b5fc4=_0x5b5f();return _0xce67=function(_0xce67ab,_0x26d247){_0xce67ab=_0xce67ab-0x1bb;let _0x42be13=_0x5b5fc4[_0xce67ab];return _0x42be13;},_0xce67(_0x4b20f6,_0x1efa61);}import{cloneDeep as _0x4787c9}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x4a9a68{[_0x3722ab(0x1de)](_0x145acd,_0x3f6261){const _0x33d706=_0x3722ab;if(!this[_0x33d706(0x1c4)](_0x3f6261[0x0],_0x3f6261[0x1]))return!0x1;const _0x5aa125=_0x3f6261[_0x33d706(0x1bd)]();return _0x5aa125[_0x33d706(0x1cb)]=null,_0x5aa125[_0x33d706(0x1da)]&&_0x579d04(_0x5aa125[_0x33d706(0x1da)][_0x33d706(0x1c0)],_0x5aa125[_0x33d706(0x1da)][_0x33d706(0x1d0)])&&(_0x5aa125[_0x33d706(0x1da)][_0x33d706(0x1d0)]=null),_0x3f6261[_0x33d706(0x1bd)](),_0x145acd[_0x33d706(0x1bf)][_0x33d706(0x1c5)](this[_0x33d706(0x1be)]),_0x145acd[_0x33d706(0x1bf)][_0x33d706(0x1c5)](0x0),_0x145acd[_0x33d706(0x1dd)][_0x33d706(0x1c5)](this[_0x33d706(0x1d3)](_0x5aa125)),!0x0;}[_0x3722ab(0x1c9)](_0x2a0eec,_0x444a05){const _0x2a4e5b=_0x3722ab,_0x261bf9=this[_0x2a4e5b(0x1d2)](_0x444a05);_0x261bf9[_0x2a4e5b(0x1da)]&&!_0x261bf9[_0x2a4e5b(0x1da)][_0x2a4e5b(0x1d0)]&&(_0x261bf9[_0x2a4e5b(0x1da)][_0x2a4e5b(0x1d0)]=_0x4787c9(_0x261bf9[_0x2a4e5b(0x1da)][_0x2a4e5b(0x1c0)]));const _0x39481d=_0x4787c9(_0x261bf9);_0x39481d[_0x2a4e5b(0x1da)]&&(_0x39481d[_0x2a4e5b(0x1da)][_0x2a4e5b(0x1c0)][_0x2a4e5b(0x1bb)]=_0x2a4e5b(0x1cc),_0x39481d[_0x2a4e5b(0x1da)][_0x2a4e5b(0x1d0)]=_0x4787c9(_0x39481d[_0x2a4e5b(0x1da)][_0x2a4e5b(0x1c0)])),_0x39481d[_0x2a4e5b(0x1d5)]=_0x2a4e5b(0x1d7)+_0x39481d[_0x2a4e5b(0x1d5)][_0x2a4e5b(0x1bc)](':')[0x2],_0x444a05[_0x2a4e5b(0x1bf)][_0x2a4e5b(0x1bd)](),_0x2a0eec[_0x2a4e5b(0x1c5)](_0x261bf9),_0x2a0eec[_0x2a4e5b(0x1c5)](_0x39481d);}[_0x3722ab(0x1d3)](_0x1948f8){const _0x49985e=_0x3722ab,_0x1d5f45={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x49985e(0x1c1)][_0x49985e(0x1d1)](_0x49985e(0x1c7))[_0x49985e(0x1de)](_0x1d5f45,[_0x1948f8]),_0x1d5f45[_0x49985e(0x1dd)][0x0];}[_0x3722ab(0x1d2)](_0x5a6646){const _0x24aaca=_0x3722ab,_0x54426c=[];return this[_0x24aaca(0x1c1)][_0x24aaca(0x1d1)](_0x24aaca(0x1c7))[_0x24aaca(0x1c9)](_0x54426c,_0x5a6646),_0x54426c[0x0];}[_0x3722ab(0x1c4)](_0x4a8f6b,_0x358a37){const _0x566260=_0x3722ab;return!(!_0x4a8f6b||!_0x358a37)&&(_0x566260(0x1c7)==_0x4a8f6b[_0x566260(0x1ca)]&&_0x566260(0x1c7)==_0x358a37[_0x566260(0x1ca)]&&!(!_0x4a8f6b[_0x566260(0x1d5)][_0x566260(0x1d9)](_0x566260(0x1ce))||!_0x358a37[_0x566260(0x1d5)][_0x566260(0x1d9)](_0x566260(0x1ce))||_0x4a8f6b[_0x566260(0x1d5)]==_0x358a37[_0x566260(0x1d5)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc7b86b=_0x2955;function _0x2955(_0x32a93b,_0x31dcbc){const _0x3c8559=_0x3c85();return _0x2955=function(_0x2955f7,_0x5242d7){_0x2955f7=_0x2955f7-0x103;let _0x1cc825=_0x3c8559[_0x2955f7];return _0x1cc825;},_0x2955(_0x32a93b,_0x31dcbc);}(function(_0x5b5d58,_0x5c307d){const _0x429fe4=_0x2955,_0x2ebd3c=_0x5b5d58();while(!![]){try{const _0x583d72=parseInt(_0x429fe4(0x106))/0x1+parseInt(_0x429fe4(0x122))/0x2+-parseInt(_0x429fe4(0x12a))/0x3*(-parseInt(_0x429fe4(0x111))/0x4)+parseInt(_0x429fe4(0x112))/0x5+-parseInt(_0x429fe4(0x118))/0x6+-parseInt(_0x429fe4(0x124))/0x7*(parseInt(_0x429fe4(0x10e))/0x8)+-parseInt(_0x429fe4(0x10f))/0x9;if(_0x583d72===_0x5c307d)break;else _0x2ebd3c['push'](_0x2ebd3c['shift']());}catch(_0x2bd58d){_0x2ebd3c['push'](_0x2ebd3c['shift']());}}}(_0x3c85,0x617e2));import{CKEditorError as _0xd8203a}from'ckeditor5/src/utils.js';function _0x3c85(){const _0x142443=['TypingAction','get','decompress-compressor-not-found','DeletingAction','_compressorById','_registerActionCompressor','ForwardDeletingAction','7512sCHfQR','1123146ewZrqZ','RenameOperation','8OxjVap','626255hrpsYU','UserSelectionAction','_protobufFactory','decompress','MarkerOperation','SplitOperation','1167636Qabmtb','suggestion','MergeOperation','RootAttributeOperation','compress','AttributeOperation','MoveOperation','types','length','set','727074RHjrmI','_getCompressorByName','1792RLhizs','forEach','RootOperation','baseVersion','getDescriptor','SuggestionMarkerOperation','188871heagwh','comment','_compressorByName','_registerCompressor','_registerOperationCompressor','CommentMarkerOperation','no-operations-provided','InsertOperation','__className','NoOperation','344412aRvzGo'];_0x3c85=function(){return _0x142443;};return _0x3c85();}import{ProtobufFactory as _0x47aad0}from'./protobuffactory.js';import{OperationCompressor as _0x4e3fdb}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x175b21}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x454276}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x1d34dc}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x15d3ed}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0xb55943}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x452afb}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x3d0f24}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x310e7a}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x415de6}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0xc7b86b(0x10b)];[_0xc7b86b(0x12c)];[_0xc7b86b(0x114)];constructor(){const _0x3a7421=_0xc7b86b;this[_0x3a7421(0x10b)]=new Map(),this[_0x3a7421(0x12c)]=new Map(),this[_0x3a7421(0x114)]=new _0x47aad0();const _0x289ae7=this[_0x3a7421(0x114)][_0x3a7421(0x128)](_0x3a7421(0x116));this[_0x3a7421(0x12d)](0x1,_0x3a7421(0x105),new _0x15d3ed(0x1,_0x3a7421(0x105),void 0x0)),this[_0x3a7421(0x12e)](0xa,_0x3a7421(0x11d),_0x175b21),this[_0x3a7421(0x12e)](0xb,_0x3a7421(0x103),_0x454276),this[_0x3a7421(0x12e)](0xc,_0x3a7421(0x116),_0x1d34dc),this[_0x3a7421(0x12e)](0xd,_0x3a7421(0x11a),_0x4e3fdb),this[_0x3a7421(0x12e)](0xe,_0x3a7421(0x11e),_0x4e3fdb),this[_0x3a7421(0x12e)](0xf,_0x3a7421(0x110),_0x4e3fdb),this[_0x3a7421(0x12e)](0x10,_0x3a7421(0x11b),_0x175b21),this[_0x3a7421(0x12e)](0x11,_0x3a7421(0x117),_0x4e3fdb),this[_0x3a7421(0x12d)](0x12,_0x3a7421(0x12f),new _0xb55943(0x12,_0x3a7421(0x116),_0x289ae7,_0x3a7421(0x12b))),this[_0x3a7421(0x12d)](0x13,_0x3a7421(0x129),new _0xb55943(0x13,_0x3a7421(0x116),_0x289ae7,_0x3a7421(0x119))),this[_0x3a7421(0x12e)](0x14,_0x3a7421(0x126),_0x4e3fdb),this[_0x3a7421(0x10c)](0x64,_0x3a7421(0x107),_0x452afb),this[_0x3a7421(0x10c)](0x65,_0x3a7421(0x10a),_0x3d0f24),this[_0x3a7421(0x10c)](0x66,_0x3a7421(0x10d),_0x310e7a),this[_0x3a7421(0x10c)](0x67,_0x3a7421(0x113),_0x415de6);}[_0xc7b86b(0x11c)](_0x576cec){const _0x214098=_0xc7b86b;if(!_0x576cec||!_0x576cec[0x0])throw new _0xd8203a(_0x214098(0x130),this);const _0x3d847d={'types':[],'buffers':[],'baseVersion':_0x576cec[0x0][_0x214098(0x127)]};for(;_0x576cec[_0x214098(0x120)];)this[_0x214098(0x123)](_0x214098(0x113))[_0x214098(0x11c)](_0x3d847d,_0x576cec)||this[_0x214098(0x123)](_0x214098(0x107))[_0x214098(0x11c)](_0x3d847d,_0x576cec)||this[_0x214098(0x123)](_0x214098(0x10a))[_0x214098(0x11c)](_0x3d847d,_0x576cec)||this[_0x214098(0x123)](_0x214098(0x10d))[_0x214098(0x11c)](_0x3d847d,_0x576cec)||this[_0x214098(0x123)](_0x214098(0x12f))[_0x214098(0x11c)](_0x3d847d,_0x576cec)||this[_0x214098(0x123)](_0x214098(0x129))[_0x214098(0x11c)](_0x3d847d,_0x576cec)||this[_0x214098(0x123)](_0x576cec[0x0][_0x214098(0x104)])[_0x214098(0x11c)](_0x3d847d,_0x576cec);return _0x3d847d;}[_0xc7b86b(0x115)](_0x1b9ef4){const _0x282a0f=_0xc7b86b,_0x28c656=[];for(;_0x1b9ef4[_0x282a0f(0x11f)][_0x282a0f(0x120)];){const _0x359e60=this[_0x282a0f(0x10b)][_0x282a0f(0x108)](_0x1b9ef4[_0x282a0f(0x11f)][0x0]);if(!_0x359e60)throw new _0xd8203a(_0x282a0f(0x109),this,{'type':_0x1b9ef4[_0x282a0f(0x11f)][0x0]});_0x359e60[_0x282a0f(0x115)](_0x28c656,_0x1b9ef4);}return _0x28c656[_0x282a0f(0x125)]((_0x4b21b6,_0x57e588)=>_0x4b21b6[_0x282a0f(0x127)]=_0x1b9ef4[_0x282a0f(0x127)]+_0x57e588),_0x28c656;}[_0xc7b86b(0x123)](_0x5bcb27){const _0x4bf096=_0xc7b86b;return this[_0x4bf096(0x12c)][_0x4bf096(0x108)](_0x5bcb27);}[_0xc7b86b(0x12e)](_0x384cd9,_0x53bff5,_0xffd58){const _0xb6b5ae=_0xc7b86b,_0x43eca0=new _0xffd58(_0x384cd9,_0x53bff5,this[_0xb6b5ae(0x114)][_0xb6b5ae(0x128)](_0x53bff5));this[_0xb6b5ae(0x12d)](_0x384cd9,_0x53bff5,_0x43eca0);}[_0xc7b86b(0x10c)](_0xa492e2,_0x5ae238,_0x273657){const _0x3caaca=_0xc7b86b,_0xae221d=new _0x273657(_0xa492e2,this);this[_0x3caaca(0x12d)](_0xa492e2,_0x5ae238,_0xae221d);}[_0xc7b86b(0x12d)](_0x175cb9,_0x142b36,_0x149237){const _0xe0b5ae=_0xc7b86b;this[_0xe0b5ae(0x10b)][_0xe0b5ae(0x121)](_0x175cb9,_0x149237),this[_0xe0b5ae(0x12c)][_0xe0b5ae(0x121)](_0x142b36,_0x149237);}}
23
+ const _0x33e6d5=_0x4a83;(function(_0x4c971c,_0x2f718d){const _0x1d3962=_0x4a83,_0xb621ad=_0x4c971c();while(!![]){try{const _0x55212e=parseInt(_0x1d3962(0x192))/0x1*(-parseInt(_0x1d3962(0x186))/0x2)+-parseInt(_0x1d3962(0x19c))/0x3*(-parseInt(_0x1d3962(0x1ae))/0x4)+-parseInt(_0x1d3962(0x18b))/0x5*(-parseInt(_0x1d3962(0x1a3))/0x6)+-parseInt(_0x1d3962(0x1a7))/0x7*(parseInt(_0x1d3962(0x1a4))/0x8)+-parseInt(_0x1d3962(0x18a))/0x9*(-parseInt(_0x1d3962(0x1a8))/0xa)+-parseInt(_0x1d3962(0x1a2))/0xb+parseInt(_0x1d3962(0x1a5))/0xc*(parseInt(_0x1d3962(0x197))/0xd);if(_0x55212e===_0x2f718d)break;else _0xb621ad['push'](_0xb621ad['shift']());}catch(_0x7949e7){_0xb621ad['push'](_0xb621ad['shift']());}}}(_0x4a07,0xaa350));import{CKEditorError as _0x31ea55}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x5bf010}from'./protobuffactory.js';import{OperationCompressor as _0x86b84e}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x6c8aa1}from'./operationcompressor/attributeoperationcompressor.js';function _0x4a07(){const _0x2ee912=['67910ldCBkl','RenameOperation','RootAttributeOperation','baseVersion','_getCompressorByName','_compressorByName','591460VpJOEB','_protobufFactory','_registerCompressor','_registerOperationCompressor','SuggestionMarkerOperation','set','MergeOperation','suggestion','RootOperation','MoveOperation','154822CBXnqG','SplitOperation','no-operations-provided','decompress-compressor-not-found','279ssuVRx','5MJtczY','comment','DeletingAction','types','_registerActionCompressor','TypingAction','ForwardDeletingAction','8egCIof','NoOperation','get','decompress','forEach','183131mIYZcu','UserSelectionAction','compress','length','CommentMarkerOperation','24GJjzJU','__className','InsertOperation','MarkerOperation','getDescriptor','AttributeOperation','8369240LiAYyL','2691294bKitDK','128eaPykT','456grFLCG','_compressorById','131250FEbXgO'];_0x4a07=function(){return _0x2ee912;};return _0x4a07();}import{InsertOperationCompressor as _0x3e0a58}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0xd45fe8}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x18dfe3}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x186a09}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x213127}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0xa94b3}from'./actioncompressor/deletingactioncompressor.js';function _0x4a83(_0x20cc88,_0x33f4c3){const _0x4a07f4=_0x4a07();return _0x4a83=function(_0x4a830d,_0x30144a){_0x4a830d=_0x4a830d-0x186;let _0x4c1f22=_0x4a07f4[_0x4a830d];return _0x4c1f22;},_0x4a83(_0x20cc88,_0x33f4c3);}import{ForwardDeletingActionCompressor as _0x10948d}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x1e6b82}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x33e6d5(0x1a6)];[_0x33e6d5(0x1ad)];[_0x33e6d5(0x1af)];constructor(){const _0x20e5be=_0x33e6d5;this[_0x20e5be(0x1a6)]=new Map(),this[_0x20e5be(0x1ad)]=new Map(),this[_0x20e5be(0x1af)]=new _0x5bf010();const _0x52b4fa=this[_0x20e5be(0x1af)][_0x20e5be(0x1a0)](_0x20e5be(0x19f));this[_0x20e5be(0x1b0)](0x1,_0x20e5be(0x193),new _0x18dfe3(0x1,_0x20e5be(0x193),void 0x0)),this[_0x20e5be(0x1b1)](0xa,_0x20e5be(0x1a1),_0x6c8aa1),this[_0x20e5be(0x1b1)](0xb,_0x20e5be(0x19e),_0x3e0a58),this[_0x20e5be(0x1b1)](0xc,_0x20e5be(0x19f),_0xd45fe8),this[_0x20e5be(0x1b1)](0xd,_0x20e5be(0x1b4),_0x86b84e),this[_0x20e5be(0x1b1)](0xe,_0x20e5be(0x1b7),_0x86b84e),this[_0x20e5be(0x1b1)](0xf,_0x20e5be(0x1a9),_0x86b84e),this[_0x20e5be(0x1b1)](0x10,_0x20e5be(0x1aa),_0x6c8aa1),this[_0x20e5be(0x1b1)](0x11,_0x20e5be(0x187),_0x86b84e),this[_0x20e5be(0x1b0)](0x12,_0x20e5be(0x19b),new _0x186a09(0x12,_0x20e5be(0x19f),_0x52b4fa,_0x20e5be(0x18c))),this[_0x20e5be(0x1b0)](0x13,_0x20e5be(0x1b2),new _0x186a09(0x13,_0x20e5be(0x19f),_0x52b4fa,_0x20e5be(0x1b5))),this[_0x20e5be(0x1b1)](0x14,_0x20e5be(0x1b6),_0x86b84e),this[_0x20e5be(0x18f)](0x64,_0x20e5be(0x190),_0x213127),this[_0x20e5be(0x18f)](0x65,_0x20e5be(0x18d),_0xa94b3),this[_0x20e5be(0x18f)](0x66,_0x20e5be(0x191),_0x10948d),this[_0x20e5be(0x18f)](0x67,_0x20e5be(0x198),_0x1e6b82);}[_0x33e6d5(0x199)](_0x15984a){const _0x294cea=_0x33e6d5;if(!_0x15984a||!_0x15984a[0x0])throw new _0x31ea55(_0x294cea(0x188),this);const _0x189d9b={'types':[],'buffers':[],'baseVersion':_0x15984a[0x0][_0x294cea(0x1ab)]};for(;_0x15984a[_0x294cea(0x19a)];)this[_0x294cea(0x1ac)](_0x294cea(0x198))[_0x294cea(0x199)](_0x189d9b,_0x15984a)||this[_0x294cea(0x1ac)](_0x294cea(0x190))[_0x294cea(0x199)](_0x189d9b,_0x15984a)||this[_0x294cea(0x1ac)](_0x294cea(0x18d))[_0x294cea(0x199)](_0x189d9b,_0x15984a)||this[_0x294cea(0x1ac)](_0x294cea(0x191))[_0x294cea(0x199)](_0x189d9b,_0x15984a)||this[_0x294cea(0x1ac)](_0x294cea(0x19b))[_0x294cea(0x199)](_0x189d9b,_0x15984a)||this[_0x294cea(0x1ac)](_0x294cea(0x1b2))[_0x294cea(0x199)](_0x189d9b,_0x15984a)||this[_0x294cea(0x1ac)](_0x15984a[0x0][_0x294cea(0x19d)])[_0x294cea(0x199)](_0x189d9b,_0x15984a);return _0x189d9b;}[_0x33e6d5(0x195)](_0x39da81){const _0x11b248=_0x33e6d5,_0x46c9fe=[];for(;_0x39da81[_0x11b248(0x18e)][_0x11b248(0x19a)];){const _0x1af77c=this[_0x11b248(0x1a6)][_0x11b248(0x194)](_0x39da81[_0x11b248(0x18e)][0x0]);if(!_0x1af77c)throw new _0x31ea55(_0x11b248(0x189),this,{'type':_0x39da81[_0x11b248(0x18e)][0x0]});_0x1af77c[_0x11b248(0x195)](_0x46c9fe,_0x39da81);}return _0x46c9fe[_0x11b248(0x196)]((_0x58adff,_0x5d6ecb)=>_0x58adff[_0x11b248(0x1ab)]=_0x39da81[_0x11b248(0x1ab)]+_0x5d6ecb),_0x46c9fe;}[_0x33e6d5(0x1ac)](_0x4cf8bc){const _0x192e75=_0x33e6d5;return this[_0x192e75(0x1ad)][_0x192e75(0x194)](_0x4cf8bc);}[_0x33e6d5(0x1b1)](_0x2e9452,_0x54d50b,_0x5ca4de){const _0x3eecaa=_0x33e6d5,_0x22c531=new _0x5ca4de(_0x2e9452,_0x54d50b,this[_0x3eecaa(0x1af)][_0x3eecaa(0x1a0)](_0x54d50b));this[_0x3eecaa(0x1b0)](_0x2e9452,_0x54d50b,_0x22c531);}[_0x33e6d5(0x18f)](_0x27fe44,_0x4d9552,_0xa0827b){const _0x56d70b=_0x33e6d5,_0x2acc1c=new _0xa0827b(_0x27fe44,this);this[_0x56d70b(0x1b0)](_0x27fe44,_0x4d9552,_0x2acc1c);}[_0x33e6d5(0x1b0)](_0x544d44,_0x5085cd,_0x2bbd53){const _0x586b0a=_0x33e6d5;this[_0x586b0a(0x1a6)][_0x586b0a(0x1b3)](_0x544d44,_0x2bbd53),this[_0x586b0a(0x1ad)][_0x586b0a(0x1b3)](_0x5085cd,_0x2bbd53);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5bddc9,_0x1e5fc2){var _0x2aee97=_0x2268,_0x5ef4d1=_0x5bddc9();while(!![]){try{var _0x493618=parseInt(_0x2aee97(0x1e8))/0x1*(parseInt(_0x2aee97(0x1e1))/0x2)+parseInt(_0x2aee97(0x1e7))/0x3*(parseInt(_0x2aee97(0x1e9))/0x4)+-parseInt(_0x2aee97(0x1ea))/0x5+parseInt(_0x2aee97(0x1e4))/0x6*(-parseInt(_0x2aee97(0x1e6))/0x7)+parseInt(_0x2aee97(0x1e5))/0x8+-parseInt(_0x2aee97(0x1e2))/0x9+parseInt(_0x2aee97(0x1e3))/0xa;if(_0x493618===_0x1e5fc2)break;else _0x5ef4d1['push'](_0x5ef4d1['shift']());}catch(_0x359db7){_0x5ef4d1['push'](_0x5ef4d1['shift']());}}}(_0x5b45,0x39579));function _0x2268(_0x32ad4a,_0x14cc2a){var _0x5b459f=_0x5b45();return _0x2268=function(_0x226891,_0x5f54c7){_0x226891=_0x226891-0x1e1;var _0x977ba2=_0x5b459f[_0x226891];return _0x977ba2;},_0x2268(_0x32ad4a,_0x14cc2a);}function _0x5b45(){var _0x20621f=['4964010oOdxRr','3948QVBgiq','107800njBeTx','2989kFfRCg','64257dXeGTb','1940bKdTqs','40BYCuqm','457210fviyOi','64UMokIQ','1609785HhwBLN'];_0x5b45=function(){return _0x20621f;};return _0x5b45();}export{Compressor}from'./compressor.js';
23
+ function _0x5267(){var _0x107293=['6866870KRsnOi','596892ntJRsM','891220iGCGXI','9TkibAd','29477892uXpEjk','11WZHfxx','13030BpiJFj','21WLhTEr','21SalCpP','5FdFObC','2698616vPlBPr','1326084UVcOyt'];_0x5267=function(){return _0x107293;};return _0x5267();}(function(_0x5bc968,_0x1d32bc){var _0x1db658=_0x811e,_0x47f8ee=_0x5bc968();while(!![]){try{var _0x368362=-parseInt(_0x1db658(0x19e))/0x1+-parseInt(_0x1db658(0x1a2))/0x2*(parseInt(_0x1db658(0x1a3))/0x3)+-parseInt(_0x1db658(0x19b))/0x4*(parseInt(_0x1db658(0x199))/0x5)+parseInt(_0x1db658(0x19d))/0x6*(parseInt(_0x1db658(0x198))/0x7)+-parseInt(_0x1db658(0x19a))/0x8+-parseInt(_0x1db658(0x19f))/0x9*(parseInt(_0x1db658(0x19c))/0xa)+-parseInt(_0x1db658(0x1a1))/0xb*(-parseInt(_0x1db658(0x1a0))/0xc);if(_0x368362===_0x1d32bc)break;else _0x47f8ee['push'](_0x47f8ee['shift']());}catch(_0x41c835){_0x47f8ee['push'](_0x47f8ee['shift']());}}}(_0x5267,0x70ef1));function _0x811e(_0x258bf2,_0x3bb09c){var _0x52672f=_0x5267();return _0x811e=function(_0x811e3b,_0x1d799b){_0x811e3b=_0x811e3b-0x198;var _0x3afdc1=_0x52672f[_0x811e3b];return _0x3afdc1;},_0x811e(_0x258bf2,_0x3bb09c);}export{Compressor}from'./compressor.js';