@ckeditor/ckeditor5-operations-compressor 46.0.0-alpha.6 → 46.0.0-alpha.8

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 _0x7ef3d5=_0x5210;function _0x1a0b(){const _0x475afc=['_compressSingleOperation','16cMpYYF','MoveOperation','_combineNext','targetPosition','_splitCurrent','root','117943GihhtP','11wVIlOb','168xaqwcJ','decompress','sourcePosition','howMany','131388loghgv','3172176JjzFig','1694920PbMUWb','_getCompressorByName','buffers','3ZSKAPK','504249Fxvlgc','_checkOperation','1286220BgyiMf','__className','compress','_decompressSingleOperation','45sGHOcF','78CpQthv','_compareOperations','_context','wasUndone','$graveyard','13252530roWjLF'];_0x1a0b=function(){return _0x475afc;};return _0x1a0b();}(function(_0x3151e7,_0x44ca66){const _0x42fcf8=_0x5210,_0x4a9226=_0x3151e7();while(!![]){try{const _0x198ec4=parseInt(_0x42fcf8(0x1a0))/0x1+-parseInt(_0x42fcf8(0x19b))/0x2*(parseInt(_0x42fcf8(0x19f))/0x3)+-parseInt(_0x42fcf8(0x1ae))/0x4*(parseInt(_0x42fcf8(0x1a2))/0x5)+-parseInt(_0x42fcf8(0x196))/0x6*(-parseInt(_0x42fcf8(0x194))/0x7)+parseInt(_0x42fcf8(0x19c))/0x8*(parseInt(_0x42fcf8(0x1a6))/0x9)+parseInt(_0x42fcf8(0x1ac))/0xa*(parseInt(_0x42fcf8(0x195))/0xb)+parseInt(_0x42fcf8(0x19a))/0xc*(parseInt(_0x42fcf8(0x1a7))/0xd);if(_0x198ec4===_0x44ca66)break;else _0x4a9226['push'](_0x4a9226['shift']());}catch(_0x129553){_0x4a9226['push'](_0x4a9226['shift']());}}}(_0x1a0b,0xc60dd));import{ActionCompressor as _0x11ce6e}from'./actioncompressor.js';function _0x5210(_0x3789bc,_0x424c33){const _0x1a0b43=_0x1a0b();return _0x5210=function(_0x521061,_0x44b462){_0x521061=_0x521061-0x193;let _0x341dca=_0x1a0b43[_0x521061];return _0x341dca;},_0x5210(_0x3789bc,_0x424c33);}import{arePositionsEqual as _0x1715dd,getPositionShiftedBy as _0x496222}from'../utils.js';import{cloneDeep as _0x4f95cd}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x11ce6e{[_0x7ef3d5(0x1b0)](_0x2c4330,_0x2162c3){const _0x17f9e3=_0x7ef3d5;return _0x2162c3[_0x17f9e3(0x199)]++,_0x2162c3[_0x17f9e3(0x198)]=_0x4f95cd(_0x2c4330[_0x17f9e3(0x198)]),_0x2162c3;}[_0x7ef3d5(0x1b2)](_0x3c8d89){const _0x137d4d=_0x7ef3d5,_0x585227=_0x4f95cd(_0x3c8d89);return _0x3c8d89[_0x137d4d(0x199)]--,_0x585227[_0x137d4d(0x199)]=0x1,_0x585227[_0x137d4d(0x198)]=_0x496222(_0x585227[_0x137d4d(0x198)],_0x3c8d89[_0x137d4d(0x199)]),_0x585227;}[_0x7ef3d5(0x1a8)](_0x145685,_0x5a63e7){const _0x4d665d=_0x7ef3d5;return!(!this[_0x4d665d(0x1a1)](_0x145685)||!this[_0x4d665d(0x1a1)](_0x5a63e7))&&(_0x1715dd(_0x496222(_0x145685[_0x4d665d(0x198)],-0x1),_0x5a63e7[_0x4d665d(0x198)])&&_0x1715dd(_0x145685[_0x4d665d(0x1b1)],_0x5a63e7[_0x4d665d(0x1b1)]));}[_0x7ef3d5(0x1ad)](_0x365759){const _0x35b5b1=_0x7ef3d5,_0x5d932e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x35b5b1(0x1a9)][_0x35b5b1(0x19d)](_0x35b5b1(0x1af))[_0x35b5b1(0x1a4)](_0x5d932e,[_0x365759]),_0x5d932e[_0x35b5b1(0x19e)][0x0];}[_0x7ef3d5(0x1a5)](_0x4500fe){const _0x12ee67=_0x7ef3d5,_0x15d75d=[];return this[_0x12ee67(0x1a9)][_0x12ee67(0x19d)](_0x12ee67(0x1af))[_0x12ee67(0x197)](_0x15d75d,_0x4500fe),_0x15d75d[0x0];}[_0x7ef3d5(0x1a1)](_0xbf98fb){const _0x17c5a0=_0x7ef3d5;return _0x17c5a0(0x1af)==_0xbf98fb[_0x17c5a0(0x1a3)]&&_0x17c5a0(0x1ab)==_0xbf98fb[_0x17c5a0(0x1b1)][_0x17c5a0(0x193)]&&0x1==_0xbf98fb[_0x17c5a0(0x199)]&&!_0xbf98fb[_0x17c5a0(0x1aa)];}}
23
+ function _0x1ebd(){const _0x4d6f4d=['_context','wasUndone','721273UidRLj','_getCompressorByName','_combineNext','4thLOXE','$graveyard','_checkOperation','_compareOperations','538FDibhe','targetPosition','218AsdMdA','buffers','root','96KFhbla','5552310nKuDPi','__className','_compressSingleOperation','howMany','7013400wCTOUw','7804980SsXZYL','sourcePosition','2979489uUChSP','decompress','_decompressSingleOperation','compress','MoveOperation','_splitCurrent','10604yHkCsg','2630oqOElv'];_0x1ebd=function(){return _0x4d6f4d;};return _0x1ebd();}const _0x293d28=_0x121f;(function(_0x33bb90,_0x231c38){const _0x11c145=_0x121f,_0x1bcb43=_0x33bb90();while(!![]){try{const _0x4dba61=-parseInt(_0x11c145(0x20b))/0x1*(parseInt(_0x11c145(0x209))/0x2)+-parseInt(_0x11c145(0x1f8))/0x3+parseInt(_0x11c145(0x205))/0x4*(-parseInt(_0x11c145(0x1f5))/0x5)+parseInt(_0x11c145(0x1f1))/0x6+parseInt(_0x11c145(0x202))/0x7*(parseInt(_0x11c145(0x1f0))/0x8)+parseInt(_0x11c145(0x1f6))/0x9+parseInt(_0x11c145(0x1ff))/0xa*(parseInt(_0x11c145(0x1fe))/0xb);if(_0x4dba61===_0x231c38)break;else _0x1bcb43['push'](_0x1bcb43['shift']());}catch(_0x3ae0b2){_0x1bcb43['push'](_0x1bcb43['shift']());}}}(_0x1ebd,0xca2d8));function _0x121f(_0x4f8316,_0xb325f6){const _0x1ebddf=_0x1ebd();return _0x121f=function(_0x121f78,_0x529f5e){_0x121f78=_0x121f78-0x1f0;let _0x571476=_0x1ebddf[_0x121f78];return _0x571476;},_0x121f(_0x4f8316,_0xb325f6);}import{ActionCompressor as _0x2d7d23}from'./actioncompressor.js';import{arePositionsEqual as _0x736480,getPositionShiftedBy as _0x66a8c9}from'../utils.js';import{cloneDeep as _0x4f4059}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x2d7d23{[_0x293d28(0x204)](_0x28b137,_0x11f8f5){const _0x5b1892=_0x293d28;return _0x11f8f5[_0x5b1892(0x1f4)]++,_0x11f8f5[_0x5b1892(0x1f7)]=_0x4f4059(_0x28b137[_0x5b1892(0x1f7)]),_0x11f8f5;}[_0x293d28(0x1fd)](_0x707527){const _0x364603=_0x293d28,_0x2ed060=_0x4f4059(_0x707527);return _0x707527[_0x364603(0x1f4)]--,_0x2ed060[_0x364603(0x1f4)]=0x1,_0x2ed060[_0x364603(0x1f7)]=_0x66a8c9(_0x2ed060[_0x364603(0x1f7)],_0x707527[_0x364603(0x1f4)]),_0x2ed060;}[_0x293d28(0x208)](_0x50fdb4,_0x5e7578){const _0x40d419=_0x293d28;return!(!this[_0x40d419(0x207)](_0x50fdb4)||!this[_0x40d419(0x207)](_0x5e7578))&&(_0x736480(_0x66a8c9(_0x50fdb4[_0x40d419(0x1f7)],-0x1),_0x5e7578[_0x40d419(0x1f7)])&&_0x736480(_0x50fdb4[_0x40d419(0x20a)],_0x5e7578[_0x40d419(0x20a)]));}[_0x293d28(0x1f3)](_0x1d5d24){const _0x470be1=_0x293d28,_0x5d8704={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x470be1(0x200)][_0x470be1(0x203)](_0x470be1(0x1fc))[_0x470be1(0x1fb)](_0x5d8704,[_0x1d5d24]),_0x5d8704[_0x470be1(0x20c)][0x0];}[_0x293d28(0x1fa)](_0x2d464b){const _0x54268b=_0x293d28,_0x4ec21f=[];return this[_0x54268b(0x200)][_0x54268b(0x203)](_0x54268b(0x1fc))[_0x54268b(0x1f9)](_0x4ec21f,_0x2d464b),_0x4ec21f[0x0];}[_0x293d28(0x207)](_0x154775){const _0x594c43=_0x293d28;return _0x594c43(0x1fc)==_0x154775[_0x594c43(0x1f2)]&&_0x594c43(0x206)==_0x154775[_0x594c43(0x20a)][_0x594c43(0x20d)]&&0x1==_0x154775[_0x594c43(0x1f4)]&&!_0x154775[_0x594c43(0x201)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2d54(){const _0x475e4c=['9630729wxMANl','buffers','298473JBiyau','_decompressSingleOperation','_context','sourcePosition','1282272LrkDer','_compressSingleOperation','135597RBgZpI','4276592IaJzQY','10btKwNM','_getCompressorByName','6VXgNXF','compress','_splitCurrent','3487340JfXzqW','_checkOperation','wasUndone','_compareOperations','_combineNext','decompress','__className','279558cxGRAC','2YcGKSI','targetPosition','MoveOperation','$graveyard','root','howMany'];_0x2d54=function(){return _0x475e4c;};return _0x2d54();}const _0x562a50=_0x8b0e;(function(_0x301925,_0x2dd943){const _0x9c15b6=_0x8b0e,_0x43104a=_0x301925();while(!![]){try{const _0x4b669d=parseInt(_0x9c15b6(0x93))/0x1*(-parseInt(_0x9c15b6(0x94))/0x2)+parseInt(_0x9c15b6(0xa2))/0x3+parseInt(_0x9c15b6(0xa3))/0x4+-parseInt(_0x9c15b6(0x8c))/0x5*(-parseInt(_0x9c15b6(0xa6))/0x6)+-parseInt(_0x9c15b6(0x9c))/0x7+parseInt(_0x9c15b6(0xa0))/0x8+parseInt(_0x9c15b6(0x9a))/0x9*(-parseInt(_0x9c15b6(0xa4))/0xa);if(_0x4b669d===_0x2dd943)break;else _0x43104a['push'](_0x43104a['shift']());}catch(_0x4caec7){_0x43104a['push'](_0x43104a['shift']());}}}(_0x2d54,0x8d8ed));function _0x8b0e(_0x5bb5c8,_0x1e28d3){const _0x2d542f=_0x2d54();return _0x8b0e=function(_0x8b0ee9,_0x3636c8){_0x8b0ee9=_0x8b0ee9-0x8b;let _0x5f1287=_0x2d542f[_0x8b0ee9];return _0x5f1287;},_0x8b0e(_0x5bb5c8,_0x1e28d3);}import{ActionCompressor as _0x43288b}from'./actioncompressor.js';import{arePositionsEqual as _0x5adaec}from'../utils.js';import{cloneDeep as _0x250d9c}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x43288b{[_0x562a50(0x90)](_0x54fc51,_0x4a8e6){const _0x3f5032=_0x562a50;return _0x4a8e6[_0x3f5032(0x99)]++,_0x4a8e6;}[_0x562a50(0x8b)](_0x3b0a35){const _0xb16927=_0x562a50,_0x2861cc=_0x250d9c(_0x3b0a35);return _0x2861cc[_0xb16927(0x99)]=0x1,_0x3b0a35[_0xb16927(0x99)]--,_0x2861cc;}[_0x562a50(0x8f)](_0x40e315,_0x5d9af4){const _0x4268cd=_0x562a50;return!(!this[_0x4268cd(0x8d)](_0x40e315)||!this[_0x4268cd(0x8d)](_0x5d9af4))&&(_0x5adaec(_0x40e315[_0x4268cd(0x9f)],_0x5d9af4[_0x4268cd(0x9f)])&&_0x5adaec(_0x40e315[_0x4268cd(0x95)],_0x5d9af4[_0x4268cd(0x95)]));}[_0x562a50(0xa1)](_0x106250){const _0x539dae=_0x562a50,_0x2c908a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x539dae(0x9e)][_0x539dae(0xa5)](_0x539dae(0x96))[_0x539dae(0xa7)](_0x2c908a,[_0x106250]),_0x2c908a[_0x539dae(0x9b)][0x0];}[_0x562a50(0x9d)](_0x512418){const _0x5e1ddf=_0x562a50,_0x5907f8=[];return this[_0x5e1ddf(0x9e)][_0x5e1ddf(0xa5)](_0x5e1ddf(0x96))[_0x5e1ddf(0x91)](_0x5907f8,_0x512418),_0x5907f8[0x0];}[_0x562a50(0x8d)](_0xd74797){const _0x322edd=_0x562a50;return _0x322edd(0x96)==_0xd74797[_0x322edd(0x92)]&&_0x322edd(0x97)==_0xd74797[_0x322edd(0x95)][_0x322edd(0x98)]&&0x1==_0xd74797[_0x322edd(0x99)]&&!_0xd74797[_0x322edd(0x8e)];}}
23
+ const _0x59c194=_0x43a9;(function(_0x2983d0,_0x1aaf6f){const _0x2eee51=_0x43a9,_0x2d691d=_0x2983d0();while(!![]){try{const _0x3ced28=-parseInt(_0x2eee51(0x1f9))/0x1+parseInt(_0x2eee51(0x1eb))/0x2+-parseInt(_0x2eee51(0x1f0))/0x3+parseInt(_0x2eee51(0x1f4))/0x4+parseInt(_0x2eee51(0x1f7))/0x5*(parseInt(_0x2eee51(0x1e9))/0x6)+parseInt(_0x2eee51(0x1f6))/0x7*(-parseInt(_0x2eee51(0x1f2))/0x8)+parseInt(_0x2eee51(0x1e7))/0x9;if(_0x3ced28===_0x1aaf6f)break;else _0x2d691d['push'](_0x2d691d['shift']());}catch(_0x249335){_0x2d691d['push'](_0x2d691d['shift']());}}}(_0x266c,0x95d1d));import{ActionCompressor as _0x8c3b47}from'./actioncompressor.js';import{arePositionsEqual as _0x265dd3}from'../utils.js';import{cloneDeep as _0x335d2d}from'es-toolkit/compat';function _0x266c(){const _0x4cda38=['buffers','_decompressSingleOperation','compress','$graveyard','sourcePosition','wasUndone','__className','10917657MDGIIT','root','2314698FxxxYN','_compareOperations','1158608NRRpxx','MoveOperation','targetPosition','_splitCurrent','_compressSingleOperation','3586824ebRxZt','decompress','231712cMWckM','_combineNext','1899540QOYNOC','_checkOperation','28NYxmAS','10QjBhGi','howMany','1113703WLafEw','_getCompressorByName','_context'];_0x266c=function(){return _0x4cda38;};return _0x266c();}function _0x43a9(_0x11b70f,_0x256067){const _0x266c29=_0x266c();return _0x43a9=function(_0x43a9ac,_0x2e526d){_0x43a9ac=_0x43a9ac-0x1e5;let _0x351913=_0x266c29[_0x43a9ac];return _0x351913;},_0x43a9(_0x11b70f,_0x256067);}export class ForwardDeletingActionCompressor extends _0x8c3b47{[_0x59c194(0x1f3)](_0x1d768c,_0x31e28e){const _0x3e94b3=_0x59c194;return _0x31e28e[_0x3e94b3(0x1f8)]++,_0x31e28e;}[_0x59c194(0x1ee)](_0x5ced9c){const _0x1978e1=_0x59c194,_0x3b6dad=_0x335d2d(_0x5ced9c);return _0x3b6dad[_0x1978e1(0x1f8)]=0x1,_0x5ced9c[_0x1978e1(0x1f8)]--,_0x3b6dad;}[_0x59c194(0x1ea)](_0x404252,_0x2cad7e){const _0x3ea534=_0x59c194;return!(!this[_0x3ea534(0x1f5)](_0x404252)||!this[_0x3ea534(0x1f5)](_0x2cad7e))&&(_0x265dd3(_0x404252[_0x3ea534(0x200)],_0x2cad7e[_0x3ea534(0x200)])&&_0x265dd3(_0x404252[_0x3ea534(0x1ed)],_0x2cad7e[_0x3ea534(0x1ed)]));}[_0x59c194(0x1ef)](_0x55c6a4){const _0x1bd1e8=_0x59c194,_0x29424b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1bd1e8(0x1fb)][_0x1bd1e8(0x1fa)](_0x1bd1e8(0x1ec))[_0x1bd1e8(0x1fe)](_0x29424b,[_0x55c6a4]),_0x29424b[_0x1bd1e8(0x1fc)][0x0];}[_0x59c194(0x1fd)](_0x16366){const _0x3531a0=_0x59c194,_0x2cad0f=[];return this[_0x3531a0(0x1fb)][_0x3531a0(0x1fa)](_0x3531a0(0x1ec))[_0x3531a0(0x1f1)](_0x2cad0f,_0x16366),_0x2cad0f[0x0];}[_0x59c194(0x1f5)](_0x18858e){const _0x461c2b=_0x59c194;return _0x461c2b(0x1ec)==_0x18858e[_0x461c2b(0x1e6)]&&_0x461c2b(0x1ff)==_0x18858e[_0x461c2b(0x1ed)][_0x461c2b(0x1e8)]&&0x1==_0x18858e[_0x461c2b(0x1f8)]&&!_0x18858e[_0x461c2b(0x1e5)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3052(){const _0x3b57e7=['813iAQcrP','6iARvUh','value','position','9LkXFcS','949740CCDvdF','_compareOperations','858vGTCQg','every','_splitCurrent','data','299HzJkVP','474znfBpp','_checkOperation','_decompressSingleOperation','InsertOperation','_compressSingleOperation','decompress','keys','length','compress','1820287GnfSZR','_combineNext','from','253392rcDKVZ','10hxqTFd','_getCompressorByName','next','3087512dGadaG','substr','attributes','_compareAttributes','iterator','_context','980KezneU','__className','6294519cdRioV','buffers','wasUndone','nodes'];_0x3052=function(){return _0x3b57e7;};return _0x3052();}const _0xa7b095=_0x11a0;(function(_0x113642,_0x5a48a0){const _0x44d45d=_0x11a0,_0x5bae9d=_0x113642();while(!![]){try{const _0x312d42=parseInt(_0x44d45d(0x146))/0x1*(parseInt(_0x44d45d(0x12a))/0x2)+parseInt(_0x44d45d(0x125))/0x3*(-parseInt(_0x44d45d(0x140))/0x4)+-parseInt(_0x44d45d(0x14b))/0x5+parseInt(_0x44d45d(0x147))/0x6*(-parseInt(_0x44d45d(0x133))/0x7)+parseInt(_0x44d45d(0x13a))/0x8*(-parseInt(_0x44d45d(0x14a))/0x9)+parseInt(_0x44d45d(0x137))/0xa*(parseInt(_0x44d45d(0x142))/0xb)+-parseInt(_0x44d45d(0x136))/0xc*(-parseInt(_0x44d45d(0x129))/0xd);if(_0x312d42===_0x5a48a0)break;else _0x5bae9d['push'](_0x5bae9d['shift']());}catch(_0x2e1b6e){_0x5bae9d['push'](_0x5bae9d['shift']());}}}(_0x3052,0x54204));import{ActionCompressor as _0x5ee201}from'./actioncompressor.js';function _0x11a0(_0x1ba883,_0x28135a){const _0x305237=_0x3052();return _0x11a0=function(_0x11a0c3,_0x1295a4){_0x11a0c3=_0x11a0c3-0x124;let _0x35478f=_0x305237[_0x11a0c3];return _0x35478f;},_0x11a0(_0x1ba883,_0x28135a);}import{arePositionsEqual as _0x4e584d,getPositionShiftedBy as _0xeab14e}from'../utils.js';import{cloneDeep as _0x4290b2}from'es-toolkit/compat';export class TypingActionCompressor extends _0x5ee201{[_0xa7b095(0x134)](_0x257154,_0x197427){const _0x57f9a3=_0xa7b095;return _0x197427[_0x57f9a3(0x145)][0x0][_0x57f9a3(0x128)]+=_0x257154[_0x57f9a3(0x145)][0x0][_0x57f9a3(0x128)],_0x197427;}[_0xa7b095(0x127)](_0x3ff502){const _0x3be9fc=_0xa7b095,_0xc62b27=_0x4290b2(_0x3ff502),_0x59b0ca=_0xc62b27[_0x3be9fc(0x145)][0x0],_0x54e99b=_0x3ff502[_0x3be9fc(0x145)][0x0],_0x489f58=_0x54e99b[_0x3be9fc(0x128)][Symbol[_0x3be9fc(0x13e)]]()[_0x3be9fc(0x139)]()[_0x3be9fc(0x148)],_0x32e277=_0x489f58[_0x3be9fc(0x131)];return _0x59b0ca[_0x3be9fc(0x128)]=_0x489f58,_0x54e99b[_0x3be9fc(0x128)]=_0x54e99b[_0x3be9fc(0x128)][_0x3be9fc(0x13b)](_0x32e277),_0x3ff502[_0x3be9fc(0x149)]=_0xeab14e(_0x3ff502[_0x3be9fc(0x149)],_0x32e277),_0xc62b27;}[_0xa7b095(0x124)](_0x16016d,_0x8b7f72){const _0x265b77=_0xa7b095;if(this[_0x265b77(0x12b)](_0x16016d)&&this[_0x265b77(0x12b)](_0x8b7f72)){const _0x1bed17=_0x16016d[_0x265b77(0x145)][0x0][_0x265b77(0x128)][_0x265b77(0x131)],_0x76d2f1=_0x4e584d(_0xeab14e(_0x16016d[_0x265b77(0x149)],_0x1bed17),_0x8b7f72[_0x265b77(0x149)]),_0x39a56e=_0x16016d[_0x265b77(0x145)][0x0],_0x34a03e=_0x8b7f72[_0x265b77(0x145)][0x0];return _0x76d2f1&&this[_0x265b77(0x13d)](_0x39a56e,_0x34a03e);}return!0x1;}[_0xa7b095(0x12e)](_0xeb217d){const _0x10de85=_0xa7b095,_0x1c0683={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x10de85(0x13f)][_0x10de85(0x138)](_0x10de85(0x12d))[_0x10de85(0x132)](_0x1c0683,[_0xeb217d]),_0x1c0683[_0x10de85(0x143)][0x0];}[_0xa7b095(0x12c)](_0x3b548c){const _0x56d80c=_0xa7b095,_0x28d5dd=[];return this[_0x56d80c(0x13f)][_0x56d80c(0x138)](_0x56d80c(0x12d))[_0x56d80c(0x12f)](_0x28d5dd,_0x3b548c),_0x28d5dd[0x0];}[_0xa7b095(0x12b)](_0x4b00ae){const _0x51c46c=_0xa7b095;return _0x51c46c(0x12d)==_0x4b00ae[_0x51c46c(0x141)]&&0x1==_0x4b00ae[_0x51c46c(0x145)][_0x51c46c(0x131)]&&_0x4b00ae[_0x51c46c(0x145)][0x0][_0x51c46c(0x128)]&&!_0x4b00ae[_0x51c46c(0x144)]&&0x1==Array[_0x51c46c(0x135)](_0x4b00ae[_0x51c46c(0x145)][0x0][_0x51c46c(0x128)])[_0x51c46c(0x131)];}[_0xa7b095(0x13d)](_0x7047e6,_0x3dcad6){const _0x40f03e=_0xa7b095,_0x364a8d=Object[_0x40f03e(0x130)](_0x7047e6[_0x40f03e(0x13c)]||{}),_0x2cd60e=Object[_0x40f03e(0x130)](_0x3dcad6[_0x40f03e(0x13c)]||{});return _0x364a8d[_0x40f03e(0x131)]===_0x2cd60e[_0x40f03e(0x131)]&&_0x364a8d[_0x40f03e(0x126)](_0x27d703=>_0x3dcad6[_0x40f03e(0x13c)][_0x27d703]&&_0x3dcad6[_0x40f03e(0x13c)][_0x27d703]===_0x7047e6[_0x40f03e(0x13c)][_0x27d703]);}}
23
+ const _0x12ba51=_0x3af4;(function(_0x21021d,_0x47a81c){const _0x291b4c=_0x3af4,_0x51c946=_0x21021d();while(!![]){try{const _0xea23bd=-parseInt(_0x291b4c(0x1c2))/0x1*(-parseInt(_0x291b4c(0x1e3))/0x2)+-parseInt(_0x291b4c(0x1cf))/0x3+-parseInt(_0x291b4c(0x1dc))/0x4*(parseInt(_0x291b4c(0x1de))/0x5)+-parseInt(_0x291b4c(0x1dd))/0x6*(-parseInt(_0x291b4c(0x1d3))/0x7)+parseInt(_0x291b4c(0x1c9))/0x8*(-parseInt(_0x291b4c(0x1bf))/0x9)+-parseInt(_0x291b4c(0x1d0))/0xa*(-parseInt(_0x291b4c(0x1c8))/0xb)+parseInt(_0x291b4c(0x1cd))/0xc;if(_0xea23bd===_0x47a81c)break;else _0x51c946['push'](_0x51c946['shift']());}catch(_0x1a833e){_0x51c946['push'](_0x51c946['shift']());}}}(_0x32bb,0x80de1));import{ActionCompressor as _0x5b35e5}from'./actioncompressor.js';function _0x3af4(_0x34bd21,_0x25852a){const _0x32bbdc=_0x32bb();return _0x3af4=function(_0x3af47e,_0x2a81eb){_0x3af47e=_0x3af47e-0x1bf;let _0x1997a2=_0x32bbdc[_0x3af47e];return _0x1997a2;},_0x3af4(_0x34bd21,_0x25852a);}import{arePositionsEqual as _0x32b782,getPositionShiftedBy as _0x2bdfcb}from'../utils.js';import{cloneDeep as _0x1a9846}from'es-toolkit/compat';export class TypingActionCompressor extends _0x5b35e5{[_0x12ba51(0x1c0)](_0x281431,_0x5c2034){const _0x55e0f2=_0x12ba51;return _0x5c2034[_0x55e0f2(0x1ce)][0x0][_0x55e0f2(0x1d6)]+=_0x281431[_0x55e0f2(0x1ce)][0x0][_0x55e0f2(0x1d6)],_0x5c2034;}[_0x12ba51(0x1c5)](_0x2fb485){const _0x2063b3=_0x12ba51,_0xd901ea=_0x1a9846(_0x2fb485),_0x1baf77=_0xd901ea[_0x2063b3(0x1ce)][0x0],_0x3fc7af=_0x2fb485[_0x2063b3(0x1ce)][0x0],_0x2b7b6b=_0x3fc7af[_0x2063b3(0x1d6)][Symbol[_0x2063b3(0x1d7)]]()[_0x2063b3(0x1db)]()[_0x2063b3(0x1d8)],_0x791a6d=_0x2b7b6b[_0x2063b3(0x1cb)];return _0x1baf77[_0x2063b3(0x1d6)]=_0x2b7b6b,_0x3fc7af[_0x2063b3(0x1d6)]=_0x3fc7af[_0x2063b3(0x1d6)][_0x2063b3(0x1d5)](_0x791a6d),_0x2fb485[_0x2063b3(0x1d4)]=_0x2bdfcb(_0x2fb485[_0x2063b3(0x1d4)],_0x791a6d),_0xd901ea;}[_0x12ba51(0x1e0)](_0x4d5a59,_0x2e7bca){const _0x36d103=_0x12ba51;if(this[_0x36d103(0x1cc)](_0x4d5a59)&&this[_0x36d103(0x1cc)](_0x2e7bca)){const _0x4f9d4e=_0x4d5a59[_0x36d103(0x1ce)][0x0][_0x36d103(0x1d6)][_0x36d103(0x1cb)],_0x386442=_0x32b782(_0x2bdfcb(_0x4d5a59[_0x36d103(0x1d4)],_0x4f9d4e),_0x2e7bca[_0x36d103(0x1d4)]),_0x1ea5a2=_0x4d5a59[_0x36d103(0x1ce)][0x0],_0x4cdefe=_0x2e7bca[_0x36d103(0x1ce)][0x0];return _0x386442&&this[_0x36d103(0x1c4)](_0x1ea5a2,_0x4cdefe);}return!0x1;}[_0x12ba51(0x1d9)](_0x1f227f){const _0x385f96=_0x12ba51,_0x1196fe={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x385f96(0x1c1)][_0x385f96(0x1e1)](_0x385f96(0x1c7))[_0x385f96(0x1d1)](_0x1196fe,[_0x1f227f]),_0x1196fe[_0x385f96(0x1df)][0x0];}[_0x12ba51(0x1e4)](_0x211b9d){const _0x5498f4=_0x12ba51,_0x5200c9=[];return this[_0x5498f4(0x1c1)][_0x5498f4(0x1e1)](_0x5498f4(0x1c7))[_0x5498f4(0x1da)](_0x5200c9,_0x211b9d),_0x5200c9[0x0];}[_0x12ba51(0x1cc)](_0x2cea40){const _0x55eda4=_0x12ba51;return _0x55eda4(0x1c7)==_0x2cea40[_0x55eda4(0x1e2)]&&0x1==_0x2cea40[_0x55eda4(0x1ce)][_0x55eda4(0x1cb)]&&_0x2cea40[_0x55eda4(0x1ce)][0x0][_0x55eda4(0x1d6)]&&!_0x2cea40[_0x55eda4(0x1c3)]&&0x1==Array[_0x55eda4(0x1e5)](_0x2cea40[_0x55eda4(0x1ce)][0x0][_0x55eda4(0x1d6)])[_0x55eda4(0x1cb)];}[_0x12ba51(0x1c4)](_0x4f12e7,_0x2a6f18){const _0x12f55f=_0x12ba51,_0x3fbf47=Object[_0x12f55f(0x1d2)](_0x4f12e7[_0x12f55f(0x1ca)]||{}),_0x49333d=Object[_0x12f55f(0x1d2)](_0x2a6f18[_0x12f55f(0x1ca)]||{});return _0x3fbf47[_0x12f55f(0x1cb)]===_0x49333d[_0x12f55f(0x1cb)]&&_0x3fbf47[_0x12f55f(0x1c6)](_0x2c9af4=>_0x2a6f18[_0x12f55f(0x1ca)][_0x2c9af4]&&_0x2a6f18[_0x12f55f(0x1ca)][_0x2c9af4]===_0x4f12e7[_0x12f55f(0x1ca)][_0x2c9af4]);}}function _0x32bb(){const _0x4c10c9=['__className','4ZHSIYM','_decompressSingleOperation','from','63ycceUI','_combineNext','_context','37186jvgSNE','wasUndone','_compareAttributes','_splitCurrent','every','InsertOperation','11aOdfjO','492344KzcCUG','attributes','length','_checkOperation','21208836ElZSkW','nodes','1895925Zlfanw','2060070vHHwPc','compress','keys','14098CwXgdU','position','substr','data','iterator','value','_compressSingleOperation','decompress','next','3431804KKawKb','1194inXlAy','5lAreRV','buffers','_compareOperations','_getCompressorByName'];_0x32bb=function(){return _0x4c10c9;};return _0x32bb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3998c0=_0x296b;function _0x296b(_0x536918,_0x20bf2b){const _0x40c277=_0x40c2();return _0x296b=function(_0x296b90,_0x4b8817){_0x296b90=_0x296b90-0xc3;let _0x2f00e2=_0x40c277[_0x296b90];return _0x2f00e2;},_0x296b(_0x536918,_0x20bf2b);}(function(_0xff5523,_0x24e1d4){const _0x5deaf1=_0x296b,_0x58c879=_0xff5523();while(!![]){try{const _0xf38f65=-parseInt(_0x5deaf1(0xc8))/0x1+parseInt(_0x5deaf1(0xce))/0x2+-parseInt(_0x5deaf1(0xc5))/0x3*(parseInt(_0x5deaf1(0xd5))/0x4)+-parseInt(_0x5deaf1(0xde))/0x5*(parseInt(_0x5deaf1(0xdd))/0x6)+-parseInt(_0x5deaf1(0xc7))/0x7*(parseInt(_0x5deaf1(0xca))/0x8)+-parseInt(_0x5deaf1(0xd1))/0x9+parseInt(_0x5deaf1(0xc4))/0xa*(parseInt(_0x5deaf1(0xe5))/0xb);if(_0xf38f65===_0x24e1d4)break;else _0x58c879['push'](_0x58c879['shift']());}catch(_0x208098){_0x58c879['push'](_0x58c879['shift']());}}}(_0x40c2,0xddcf0));import{ActionCompressor as _0x29f723}from'./actioncompressor.js';function _0x40c2(){const _0x4bafc6=['user:','user:position:','978588FMMsZi','_id','_compareOperations','_compressSingleOperation','4EbuqhZ','shift','split','newRange','MarkerOperation','start','stickiness','_getCompressorByName','424302xkikXI','85THxFrb','startsWith','_context','__className','name','buffers','end','2167mPVDft','oldRange','types','224860RbIKaq','974208ikuWqb','decompress','3938410zVLiAM','1587066lTjuPQ','compress','8hyLRMO','toNone','_decompressSingleOperation','push','528278ZyJFOO'];_0x40c2=function(){return _0x4bafc6;};return _0x40c2();}import{arePositionsEqual as _0x4ebb51}from'../utils.js';import{cloneDeep as _0x5de00d}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x29f723{[_0x3998c0(0xc9)](_0x346bad,_0xcd7f52){const _0x5cfc4e=_0x3998c0;if(!this[_0x5cfc4e(0xd3)](_0xcd7f52[0x0],_0xcd7f52[0x1]))return!0x1;const _0x66c2bd=_0xcd7f52[_0x5cfc4e(0xd6)]();return _0x66c2bd[_0x5cfc4e(0xe6)]=null,_0x66c2bd[_0x5cfc4e(0xd8)]&&_0x4ebb51(_0x66c2bd[_0x5cfc4e(0xd8)][_0x5cfc4e(0xda)],_0x66c2bd[_0x5cfc4e(0xd8)][_0x5cfc4e(0xe4)])&&(_0x66c2bd[_0x5cfc4e(0xd8)][_0x5cfc4e(0xe4)]=null),_0xcd7f52[_0x5cfc4e(0xd6)](),_0x346bad[_0x5cfc4e(0xc3)][_0x5cfc4e(0xcd)](this[_0x5cfc4e(0xd2)]),_0x346bad[_0x5cfc4e(0xc3)][_0x5cfc4e(0xcd)](0x0),_0x346bad[_0x5cfc4e(0xe3)][_0x5cfc4e(0xcd)](this[_0x5cfc4e(0xd4)](_0x66c2bd)),!0x0;}[_0x3998c0(0xc6)](_0x433ad8,_0x29235c){const _0x5b7b45=_0x3998c0,_0x31d939=this[_0x5b7b45(0xcc)](_0x29235c);_0x31d939[_0x5b7b45(0xd8)]&&!_0x31d939[_0x5b7b45(0xd8)][_0x5b7b45(0xe4)]&&(_0x31d939[_0x5b7b45(0xd8)][_0x5b7b45(0xe4)]=_0x5de00d(_0x31d939[_0x5b7b45(0xd8)][_0x5b7b45(0xda)]));const _0x7325ac=_0x5de00d(_0x31d939);_0x7325ac[_0x5b7b45(0xd8)]&&(_0x7325ac[_0x5b7b45(0xd8)][_0x5b7b45(0xda)][_0x5b7b45(0xdb)]=_0x5b7b45(0xcb),_0x7325ac[_0x5b7b45(0xd8)][_0x5b7b45(0xe4)]=_0x5de00d(_0x7325ac[_0x5b7b45(0xd8)][_0x5b7b45(0xda)])),_0x7325ac[_0x5b7b45(0xe2)]=_0x5b7b45(0xd0)+_0x7325ac[_0x5b7b45(0xe2)][_0x5b7b45(0xd7)](':')[0x2],_0x29235c[_0x5b7b45(0xc3)][_0x5b7b45(0xd6)](),_0x433ad8[_0x5b7b45(0xcd)](_0x31d939),_0x433ad8[_0x5b7b45(0xcd)](_0x7325ac);}[_0x3998c0(0xd4)](_0x17586b){const _0x24006a=_0x3998c0,_0x26f28f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x24006a(0xe0)][_0x24006a(0xdc)](_0x24006a(0xd9))[_0x24006a(0xc9)](_0x26f28f,[_0x17586b]),_0x26f28f[_0x24006a(0xe3)][0x0];}[_0x3998c0(0xcc)](_0x1012c9){const _0x2cd7ff=_0x3998c0,_0x2556c1=[];return this[_0x2cd7ff(0xe0)][_0x2cd7ff(0xdc)](_0x2cd7ff(0xd9))[_0x2cd7ff(0xc6)](_0x2556c1,_0x1012c9),_0x2556c1[0x0];}[_0x3998c0(0xd3)](_0x4285df,_0x13c13f){const _0x191d67=_0x3998c0;return!(!_0x4285df||!_0x13c13f)&&(_0x191d67(0xd9)==_0x4285df[_0x191d67(0xe1)]&&_0x191d67(0xd9)==_0x13c13f[_0x191d67(0xe1)]&&!(!_0x4285df[_0x191d67(0xe2)][_0x191d67(0xdf)](_0x191d67(0xcf))||!_0x13c13f[_0x191d67(0xe2)][_0x191d67(0xdf)](_0x191d67(0xcf))||_0x4285df[_0x191d67(0xe2)]==_0x13c13f[_0x191d67(0xe2)]));}}
23
+ const _0xbac9b8=_0x2781;function _0xfc46(){const _0x3897fe=['1246680CKnmUg','start','toNone','user:','_decompressSingleOperation','_compareOperations','237897eRVSQi','shift','buffers','__className','user:position:','640125AEjGen','oldRange','startsWith','newRange','decompress','name','550851FGPpqH','383272ccNcRd','MarkerOperation','stickiness','_getCompressorByName','_id','end','compress','3peWnSW','_context','6SxeMhG','57136vqxwCW','push','58004yvjxSW','_compressSingleOperation','split','types'];_0xfc46=function(){return _0x3897fe;};return _0xfc46();}(function(_0x22c65e,_0x405075){const _0x57f923=_0x2781,_0x39034a=_0x22c65e();while(!![]){try{const _0x35f6a9=-parseInt(_0x57f923(0x1a6))/0x1*(-parseInt(_0x57f923(0x1a9))/0x2)+-parseInt(_0x57f923(0x1b5))/0x3+parseInt(_0x57f923(0x1ab))/0x4+parseInt(_0x57f923(0x1ba))/0x5+-parseInt(_0x57f923(0x1a8))/0x6*(-parseInt(_0x57f923(0x1c0))/0x7)+parseInt(_0x57f923(0x1c1))/0x8+-parseInt(_0x57f923(0x1af))/0x9;if(_0x35f6a9===_0x405075)break;else _0x39034a['push'](_0x39034a['shift']());}catch(_0x1152e8){_0x39034a['push'](_0x39034a['shift']());}}}(_0xfc46,0x21735));function _0x2781(_0x584b0e,_0x1f2fb9){const _0xfc466b=_0xfc46();return _0x2781=function(_0x2781df,_0x49e4b4){_0x2781df=_0x2781df-0x1a6;let _0x2390d3=_0xfc466b[_0x2781df];return _0x2390d3;},_0x2781(_0x584b0e,_0x1f2fb9);}import{ActionCompressor as _0x42cf26}from'./actioncompressor.js';import{arePositionsEqual as _0x11d2e8}from'../utils.js';import{cloneDeep as _0x2debd8}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x42cf26{[_0xbac9b8(0x1c7)](_0x38c463,_0x31d2e0){const _0x62ff9f=_0xbac9b8;if(!this[_0x62ff9f(0x1b4)](_0x31d2e0[0x0],_0x31d2e0[0x1]))return!0x1;const _0x3c055c=_0x31d2e0[_0x62ff9f(0x1b6)]();return _0x3c055c[_0x62ff9f(0x1bb)]=null,_0x3c055c[_0x62ff9f(0x1bd)]&&_0x11d2e8(_0x3c055c[_0x62ff9f(0x1bd)][_0x62ff9f(0x1b0)],_0x3c055c[_0x62ff9f(0x1bd)][_0x62ff9f(0x1c6)])&&(_0x3c055c[_0x62ff9f(0x1bd)][_0x62ff9f(0x1c6)]=null),_0x31d2e0[_0x62ff9f(0x1b6)](),_0x38c463[_0x62ff9f(0x1ae)][_0x62ff9f(0x1aa)](this[_0x62ff9f(0x1c5)]),_0x38c463[_0x62ff9f(0x1ae)][_0x62ff9f(0x1aa)](0x0),_0x38c463[_0x62ff9f(0x1b7)][_0x62ff9f(0x1aa)](this[_0x62ff9f(0x1ac)](_0x3c055c)),!0x0;}[_0xbac9b8(0x1be)](_0x39fc5c,_0x70ba4c){const _0x580e05=_0xbac9b8,_0xdbf811=this[_0x580e05(0x1b3)](_0x70ba4c);_0xdbf811[_0x580e05(0x1bd)]&&!_0xdbf811[_0x580e05(0x1bd)][_0x580e05(0x1c6)]&&(_0xdbf811[_0x580e05(0x1bd)][_0x580e05(0x1c6)]=_0x2debd8(_0xdbf811[_0x580e05(0x1bd)][_0x580e05(0x1b0)]));const _0x59557a=_0x2debd8(_0xdbf811);_0x59557a[_0x580e05(0x1bd)]&&(_0x59557a[_0x580e05(0x1bd)][_0x580e05(0x1b0)][_0x580e05(0x1c3)]=_0x580e05(0x1b1),_0x59557a[_0x580e05(0x1bd)][_0x580e05(0x1c6)]=_0x2debd8(_0x59557a[_0x580e05(0x1bd)][_0x580e05(0x1b0)])),_0x59557a[_0x580e05(0x1bf)]=_0x580e05(0x1b9)+_0x59557a[_0x580e05(0x1bf)][_0x580e05(0x1ad)](':')[0x2],_0x70ba4c[_0x580e05(0x1ae)][_0x580e05(0x1b6)](),_0x39fc5c[_0x580e05(0x1aa)](_0xdbf811),_0x39fc5c[_0x580e05(0x1aa)](_0x59557a);}[_0xbac9b8(0x1ac)](_0x2933a5){const _0x429b9e=_0xbac9b8,_0x1d9c89={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x429b9e(0x1a7)][_0x429b9e(0x1c4)](_0x429b9e(0x1c2))[_0x429b9e(0x1c7)](_0x1d9c89,[_0x2933a5]),_0x1d9c89[_0x429b9e(0x1b7)][0x0];}[_0xbac9b8(0x1b3)](_0x452e57){const _0x52afff=_0xbac9b8,_0x2b513c=[];return this[_0x52afff(0x1a7)][_0x52afff(0x1c4)](_0x52afff(0x1c2))[_0x52afff(0x1be)](_0x2b513c,_0x452e57),_0x2b513c[0x0];}[_0xbac9b8(0x1b4)](_0x464912,_0x269171){const _0x492b35=_0xbac9b8;return!(!_0x464912||!_0x269171)&&(_0x492b35(0x1c2)==_0x464912[_0x492b35(0x1b8)]&&_0x492b35(0x1c2)==_0x269171[_0x492b35(0x1b8)]&&!(!_0x464912[_0x492b35(0x1bf)][_0x492b35(0x1bc)](_0x492b35(0x1b2))||!_0x269171[_0x492b35(0x1bf)][_0x492b35(0x1bc)](_0x492b35(0x1b2))||_0x464912[_0x492b35(0x1bf)]==_0x269171[_0x492b35(0x1bf)]));}}
package/src/compressor.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ef6f0=_0x1f8a;(function(_0x34ca52,_0x506d40){const _0x6b5f19=_0x1f8a,_0x3a90b8=_0x34ca52();while(!![]){try{const _0x4ee146=-parseInt(_0x6b5f19(0x115))/0x1+parseInt(_0x6b5f19(0x10f))/0x2+parseInt(_0x6b5f19(0x108))/0x3*(-parseInt(_0x6b5f19(0x119))/0x4)+-parseInt(_0x6b5f19(0x124))/0x5+-parseInt(_0x6b5f19(0x117))/0x6*(parseInt(_0x6b5f19(0x123))/0x7)+parseInt(_0x6b5f19(0x110))/0x8*(-parseInt(_0x6b5f19(0x103))/0x9)+parseInt(_0x6b5f19(0xfc))/0xa;if(_0x4ee146===_0x506d40)break;else _0x3a90b8['push'](_0x3a90b8['shift']());}catch(_0x561591){_0x3a90b8['push'](_0x3a90b8['shift']());}}}(_0x5480,0x88c77));import{CKEditorError as _0x40c5f5}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x288e32}from'./protobuffactory.js';import{OperationCompressor as _0x4b71b4}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x260a61}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0xb95bb1}from'./operationcompressor/insertoperationcompressor.js';function _0x5480(){const _0x3a3e04=['_registerActionCompressor','CommentMarkerOperation','_compressorByName','RenameOperation','__className','28975910DZcjMU','no-operations-provided','decompress','decompress-compressor-not-found','forEach','MoveOperation','compress','1693323qKmmei','_compressorById','baseVersion','SuggestionMarkerOperation','SplitOperation','1698VPfjzq','suggestion','DeletingAction','ForwardDeletingAction','RootAttributeOperation','_registerCompressor','UserSelectionAction','189410LTmgmC','24GKJAib','set','comment','_registerOperationCompressor','length','195805TzDJkl','_getCompressorByName','155094xhFkji','NoOperation','1340XhDTFP','MarkerOperation','getDescriptor','_protobufFactory','RootOperation','types','InsertOperation','MergeOperation','AttributeOperation','TypingAction','119uAvrLI','5213800NdrDom','get'];_0x5480=function(){return _0x3a3e04;};return _0x5480();}import{MarkerOperationCompressor as _0x403b47}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x1c3398}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x23b939}from'./operationcompressor/annotationmarkeroperationcompressor.js';function _0x1f8a(_0x11bffd,_0xf853d7){const _0x5480b2=_0x5480();return _0x1f8a=function(_0x1f8aa0,_0x9e078f){_0x1f8aa0=_0x1f8aa0-0xfa;let _0x5d2284=_0x5480b2[_0x1f8aa0];return _0x5d2284;},_0x1f8a(_0x11bffd,_0xf853d7);}import{TypingActionCompressor as _0x52af02}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x1ffb23}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x47bc3d}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x2980c0}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x4ef6f0(0x104)];[_0x4ef6f0(0x128)];[_0x4ef6f0(0x11c)];constructor(){const _0x2b14a6=_0x4ef6f0;this[_0x2b14a6(0x104)]=new Map(),this[_0x2b14a6(0x128)]=new Map(),this[_0x2b14a6(0x11c)]=new _0x288e32();const _0x723a02=this[_0x2b14a6(0x11c)][_0x2b14a6(0x11b)](_0x2b14a6(0x11a));this[_0x2b14a6(0x10d)](0x1,_0x2b14a6(0x118),new _0x1c3398(0x1,_0x2b14a6(0x118),void 0x0)),this[_0x2b14a6(0x113)](0xa,_0x2b14a6(0x121),_0x260a61),this[_0x2b14a6(0x113)](0xb,_0x2b14a6(0x11f),_0xb95bb1),this[_0x2b14a6(0x113)](0xc,_0x2b14a6(0x11a),_0x403b47),this[_0x2b14a6(0x113)](0xd,_0x2b14a6(0x120),_0x4b71b4),this[_0x2b14a6(0x113)](0xe,_0x2b14a6(0x101),_0x4b71b4),this[_0x2b14a6(0x113)](0xf,_0x2b14a6(0xfa),_0x4b71b4),this[_0x2b14a6(0x113)](0x10,_0x2b14a6(0x10c),_0x260a61),this[_0x2b14a6(0x113)](0x11,_0x2b14a6(0x107),_0x4b71b4),this[_0x2b14a6(0x10d)](0x12,_0x2b14a6(0x127),new _0x23b939(0x12,_0x2b14a6(0x11a),_0x723a02,_0x2b14a6(0x112))),this[_0x2b14a6(0x10d)](0x13,_0x2b14a6(0x106),new _0x23b939(0x13,_0x2b14a6(0x11a),_0x723a02,_0x2b14a6(0x109))),this[_0x2b14a6(0x113)](0x14,_0x2b14a6(0x11d),_0x4b71b4),this[_0x2b14a6(0x126)](0x64,_0x2b14a6(0x122),_0x52af02),this[_0x2b14a6(0x126)](0x65,_0x2b14a6(0x10a),_0x1ffb23),this[_0x2b14a6(0x126)](0x66,_0x2b14a6(0x10b),_0x47bc3d),this[_0x2b14a6(0x126)](0x67,_0x2b14a6(0x10e),_0x2980c0);}[_0x4ef6f0(0x102)](_0xba3516){const _0x1bc705=_0x4ef6f0;if(!_0xba3516||!_0xba3516[0x0])throw new _0x40c5f5(_0x1bc705(0xfd),this);const _0x564faf={'types':[],'buffers':[],'baseVersion':_0xba3516[0x0][_0x1bc705(0x105)]};for(;_0xba3516[_0x1bc705(0x114)];)this[_0x1bc705(0x116)](_0x1bc705(0x10e))[_0x1bc705(0x102)](_0x564faf,_0xba3516)||this[_0x1bc705(0x116)](_0x1bc705(0x122))[_0x1bc705(0x102)](_0x564faf,_0xba3516)||this[_0x1bc705(0x116)](_0x1bc705(0x10a))[_0x1bc705(0x102)](_0x564faf,_0xba3516)||this[_0x1bc705(0x116)](_0x1bc705(0x10b))[_0x1bc705(0x102)](_0x564faf,_0xba3516)||this[_0x1bc705(0x116)](_0x1bc705(0x127))[_0x1bc705(0x102)](_0x564faf,_0xba3516)||this[_0x1bc705(0x116)](_0x1bc705(0x106))[_0x1bc705(0x102)](_0x564faf,_0xba3516)||this[_0x1bc705(0x116)](_0xba3516[0x0][_0x1bc705(0xfb)])[_0x1bc705(0x102)](_0x564faf,_0xba3516);return _0x564faf;}[_0x4ef6f0(0xfe)](_0xad9450){const _0x428ca1=_0x4ef6f0,_0x37f164=[];for(;_0xad9450[_0x428ca1(0x11e)][_0x428ca1(0x114)];){const _0x347cb7=this[_0x428ca1(0x104)][_0x428ca1(0x125)](_0xad9450[_0x428ca1(0x11e)][0x0]);if(!_0x347cb7)throw new _0x40c5f5(_0x428ca1(0xff),this,{'type':_0xad9450[_0x428ca1(0x11e)][0x0]});_0x347cb7[_0x428ca1(0xfe)](_0x37f164,_0xad9450);}return _0x37f164[_0x428ca1(0x100)]((_0x2cefec,_0x4758e8)=>_0x2cefec[_0x428ca1(0x105)]=_0xad9450[_0x428ca1(0x105)]+_0x4758e8),_0x37f164;}[_0x4ef6f0(0x116)](_0x2d7fcf){const _0x5ddfdb=_0x4ef6f0;return this[_0x5ddfdb(0x128)][_0x5ddfdb(0x125)](_0x2d7fcf);}[_0x4ef6f0(0x113)](_0xa9f567,_0x278424,_0x1c6b82){const _0x3b89d3=_0x4ef6f0,_0x3c0921=new _0x1c6b82(_0xa9f567,_0x278424,this[_0x3b89d3(0x11c)][_0x3b89d3(0x11b)](_0x278424));this[_0x3b89d3(0x10d)](_0xa9f567,_0x278424,_0x3c0921);}[_0x4ef6f0(0x126)](_0x43e966,_0x1164f2,_0x4548d3){const _0xc30fce=_0x4ef6f0,_0x18ff03=new _0x4548d3(_0x43e966,this);this[_0xc30fce(0x10d)](_0x43e966,_0x1164f2,_0x18ff03);}[_0x4ef6f0(0x10d)](_0x466e4f,_0x30845d,_0x4b9a36){const _0x56121e=_0x4ef6f0;this[_0x56121e(0x104)][_0x56121e(0x111)](_0x466e4f,_0x4b9a36),this[_0x56121e(0x128)][_0x56121e(0x111)](_0x30845d,_0x4b9a36);}}
23
+ const _0x4c9dfe=_0x3db5;(function(_0x129cac,_0x102915){const _0x2aba05=_0x3db5,_0x34e9e3=_0x129cac();while(!![]){try{const _0x56e4ec=parseInt(_0x2aba05(0x164))/0x1*(parseInt(_0x2aba05(0x14a))/0x2)+-parseInt(_0x2aba05(0x166))/0x3+parseInt(_0x2aba05(0x168))/0x4+parseInt(_0x2aba05(0x169))/0x5+-parseInt(_0x2aba05(0x153))/0x6+-parseInt(_0x2aba05(0x143))/0x7*(parseInt(_0x2aba05(0x16d))/0x8)+-parseInt(_0x2aba05(0x154))/0x9*(-parseInt(_0x2aba05(0x159))/0xa);if(_0x56e4ec===_0x102915)break;else _0x34e9e3['push'](_0x34e9e3['shift']());}catch(_0x5a8fcf){_0x34e9e3['push'](_0x34e9e3['shift']());}}}(_0x37d1,0x9f4e9));import{CKEditorError as _0x21a6f7}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x3a2d29}from'./protobuffactory.js';function _0x3db5(_0x406709,_0x2530ba){const _0x37d190=_0x37d1();return _0x3db5=function(_0x3db523,_0x2bbaf7){_0x3db523=_0x3db523-0x141;let _0x16b966=_0x37d190[_0x3db523];return _0x16b966;},_0x3db5(_0x406709,_0x2530ba);}import{OperationCompressor as _0x17d8dc}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x550084}from'./operationcompressor/attributeoperationcompressor.js';function _0x37d1(){const _0x19f531=['types','MergeOperation','no-operations-provided','_registerCompressor','_registerActionCompressor','__className','94KmlpPQ','CommentMarkerOperation','ForwardDeletingAction','DeletingAction','_compressorById','forEach','MarkerOperation','_compressorByName','suggestion','2546154EjrWqW','5744790WDMJyN','AttributeOperation','_registerOperationCompressor','MoveOperation','_protobufFactory','20TFOLEr','decompress','_getCompressorByName','InsertOperation','RootOperation','UserSelectionAction','getDescriptor','NoOperation','TypingAction','SuggestionMarkerOperation','get','8287pcEIZB','RenameOperation','2588514MAqNgr','comment','1173116aJAVPA','2422360jyGMJK','SplitOperation','baseVersion','set','1328EWHLjA','decompress-compressor-not-found','length','compress','RootAttributeOperation','21259ipQxGO'];_0x37d1=function(){return _0x19f531;};return _0x37d1();}import{InsertOperationCompressor as _0x246ff3}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x157b20}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x3f92d5}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x4aba49}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x4c2805}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x460b62}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x42c1b1}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x49c306}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x4c9dfe(0x14e)];[_0x4c9dfe(0x151)];[_0x4c9dfe(0x158)];constructor(){const _0x4cd72e=_0x4c9dfe;this[_0x4cd72e(0x14e)]=new Map(),this[_0x4cd72e(0x151)]=new Map(),this[_0x4cd72e(0x158)]=new _0x3a2d29();const _0x97c029=this[_0x4cd72e(0x158)][_0x4cd72e(0x15f)](_0x4cd72e(0x150));this[_0x4cd72e(0x147)](0x1,_0x4cd72e(0x160),new _0x3f92d5(0x1,_0x4cd72e(0x160),void 0x0)),this[_0x4cd72e(0x156)](0xa,_0x4cd72e(0x155),_0x550084),this[_0x4cd72e(0x156)](0xb,_0x4cd72e(0x15c),_0x246ff3),this[_0x4cd72e(0x156)](0xc,_0x4cd72e(0x150),_0x157b20),this[_0x4cd72e(0x156)](0xd,_0x4cd72e(0x145),_0x17d8dc),this[_0x4cd72e(0x156)](0xe,_0x4cd72e(0x157),_0x17d8dc),this[_0x4cd72e(0x156)](0xf,_0x4cd72e(0x165),_0x17d8dc),this[_0x4cd72e(0x156)](0x10,_0x4cd72e(0x142),_0x550084),this[_0x4cd72e(0x156)](0x11,_0x4cd72e(0x16a),_0x17d8dc),this[_0x4cd72e(0x147)](0x12,_0x4cd72e(0x14b),new _0x4aba49(0x12,_0x4cd72e(0x150),_0x97c029,_0x4cd72e(0x167))),this[_0x4cd72e(0x147)](0x13,_0x4cd72e(0x162),new _0x4aba49(0x13,_0x4cd72e(0x150),_0x97c029,_0x4cd72e(0x152))),this[_0x4cd72e(0x156)](0x14,_0x4cd72e(0x15d),_0x17d8dc),this[_0x4cd72e(0x148)](0x64,_0x4cd72e(0x161),_0x4c2805),this[_0x4cd72e(0x148)](0x65,_0x4cd72e(0x14d),_0x460b62),this[_0x4cd72e(0x148)](0x66,_0x4cd72e(0x14c),_0x42c1b1),this[_0x4cd72e(0x148)](0x67,_0x4cd72e(0x15e),_0x49c306);}[_0x4c9dfe(0x141)](_0x3368d9){const _0x1740c6=_0x4c9dfe;if(!_0x3368d9||!_0x3368d9[0x0])throw new _0x21a6f7(_0x1740c6(0x146),this);const _0x3f4146={'types':[],'buffers':[],'baseVersion':_0x3368d9[0x0][_0x1740c6(0x16b)]};for(;_0x3368d9[_0x1740c6(0x16f)];)this[_0x1740c6(0x15b)](_0x1740c6(0x15e))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x161))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x14d))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x14c))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x14b))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x1740c6(0x162))[_0x1740c6(0x141)](_0x3f4146,_0x3368d9)||this[_0x1740c6(0x15b)](_0x3368d9[0x0][_0x1740c6(0x149)])[_0x1740c6(0x141)](_0x3f4146,_0x3368d9);return _0x3f4146;}[_0x4c9dfe(0x15a)](_0x5c445a){const _0x3cf1b1=_0x4c9dfe,_0x3bd560=[];for(;_0x5c445a[_0x3cf1b1(0x144)][_0x3cf1b1(0x16f)];){const _0x45fab3=this[_0x3cf1b1(0x14e)][_0x3cf1b1(0x163)](_0x5c445a[_0x3cf1b1(0x144)][0x0]);if(!_0x45fab3)throw new _0x21a6f7(_0x3cf1b1(0x16e),this,{'type':_0x5c445a[_0x3cf1b1(0x144)][0x0]});_0x45fab3[_0x3cf1b1(0x15a)](_0x3bd560,_0x5c445a);}return _0x3bd560[_0x3cf1b1(0x14f)]((_0x3193fe,_0x21169a)=>_0x3193fe[_0x3cf1b1(0x16b)]=_0x5c445a[_0x3cf1b1(0x16b)]+_0x21169a),_0x3bd560;}[_0x4c9dfe(0x15b)](_0x23d123){const _0x565aef=_0x4c9dfe;return this[_0x565aef(0x151)][_0x565aef(0x163)](_0x23d123);}[_0x4c9dfe(0x156)](_0x5eda97,_0x125655,_0x26f438){const _0x283191=_0x4c9dfe,_0x55f205=new _0x26f438(_0x5eda97,_0x125655,this[_0x283191(0x158)][_0x283191(0x15f)](_0x125655));this[_0x283191(0x147)](_0x5eda97,_0x125655,_0x55f205);}[_0x4c9dfe(0x148)](_0x470d50,_0x11a8f3,_0x12d8d7){const _0x2d906e=_0x4c9dfe,_0xa3c4ec=new _0x12d8d7(_0x470d50,this);this[_0x2d906e(0x147)](_0x470d50,_0x11a8f3,_0xa3c4ec);}[_0x4c9dfe(0x147)](_0x48504c,_0x204516,_0x3f72e6){const _0x1777a8=_0x4c9dfe;this[_0x1777a8(0x14e)][_0x1777a8(0x16c)](_0x48504c,_0x3f72e6),this[_0x1777a8(0x151)][_0x1777a8(0x16c)](_0x204516,_0x3f72e6);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4053(_0x4ceae5,_0x490d8){var _0x4ed58a=_0x4ed5();return _0x4053=function(_0x40537f,_0x53a912){_0x40537f=_0x40537f-0x10e;var _0x10c042=_0x4ed58a[_0x40537f];return _0x10c042;},_0x4053(_0x4ceae5,_0x490d8);}(function(_0x3ed33f,_0x46e0d7){var _0x4e20bf=_0x4053,_0x31e63a=_0x3ed33f();while(!![]){try{var _0x20d04f=-parseInt(_0x4e20bf(0x10e))/0x1*(-parseInt(_0x4e20bf(0x119))/0x2)+-parseInt(_0x4e20bf(0x10f))/0x3*(-parseInt(_0x4e20bf(0x113))/0x4)+parseInt(_0x4e20bf(0x111))/0x5+-parseInt(_0x4e20bf(0x112))/0x6*(parseInt(_0x4e20bf(0x117))/0x7)+-parseInt(_0x4e20bf(0x114))/0x8*(-parseInt(_0x4e20bf(0x118))/0x9)+parseInt(_0x4e20bf(0x110))/0xa*(parseInt(_0x4e20bf(0x115))/0xb)+-parseInt(_0x4e20bf(0x116))/0xc;if(_0x20d04f===_0x46e0d7)break;else _0x31e63a['push'](_0x31e63a['shift']());}catch(_0x4ea79a){_0x31e63a['push'](_0x31e63a['shift']());}}}(_0x4ed5,0x1ea84));function _0x4ed5(){var _0x2ea0f7=['2632gDLmTz','77pyErJM','4842456VfPjVH','147nMJGes','873YgDqEz','2MttwvG','194789pNEMTO','2463JIcLjv','219460szOWso','1107130wCbXYB','57582mKBbhf','628qjOihb'];_0x4ed5=function(){return _0x2ea0f7;};return _0x4ed5();}export{Compressor}from'./compressor.js';
23
+ (function(_0x53164c,_0x588da5){var _0x22e262=_0x2011,_0xb546c6=_0x53164c();while(!![]){try{var _0x477e24=parseInt(_0x22e262(0x190))/0x1*(parseInt(_0x22e262(0x18e))/0x2)+parseInt(_0x22e262(0x193))/0x3+parseInt(_0x22e262(0x194))/0x4*(-parseInt(_0x22e262(0x191))/0x5)+-parseInt(_0x22e262(0x18c))/0x6+-parseInt(_0x22e262(0x18f))/0x7+-parseInt(_0x22e262(0x18d))/0x8*(-parseInt(_0x22e262(0x192))/0x9)+parseInt(_0x22e262(0x195))/0xa*(parseInt(_0x22e262(0x196))/0xb);if(_0x477e24===_0x588da5)break;else _0xb546c6['push'](_0xb546c6['shift']());}catch(_0x2258aa){_0xb546c6['push'](_0xb546c6['shift']());}}}(_0x3555,0x913c9));export{Compressor}from'./compressor.js';function _0x2011(_0x4fed60,_0x422521){var _0x355584=_0x3555();return _0x2011=function(_0x20117c,_0x4113d5){_0x20117c=_0x20117c-0x18c;var _0x4ed0d7=_0x355584[_0x20117c];return _0x4ed0d7;},_0x2011(_0x4fed60,_0x422521);}function _0x3555(){var _0x5222b4=['23832mQFroe','52GlvAXI','6358898plNAYc','3678xhiowX','3860BQmqit','1233uszsyb','3529605xyLfGu','136aRcmSk','8660NMkbiz','10813rhdgWq','6012078mndUbr'];_0x3555=function(){return _0x5222b4;};return _0x3555();}